diff --git a/examples/ebook/bin/.build b/examples/ebook/bin/.build deleted file mode 100644 index f11c82a..0000000 --- a/examples/ebook/bin/.build +++ /dev/null @@ -1 +0,0 @@ -9 \ No newline at end of file diff --git a/examples/ebook/bin/flash/bin/GloryDemo.swf b/examples/ebook/bin/flash/bin/GloryDemo.swf deleted file mode 100644 index 7dfac90..0000000 Binary files a/examples/ebook/bin/flash/bin/GloryDemo.swf and /dev/null differ diff --git a/examples/ebook/bin/flash/haxe/ApplicationMain.hx b/examples/ebook/bin/flash/haxe/ApplicationMain.hx deleted file mode 100644 index 2087f71..0000000 --- a/examples/ebook/bin/flash/haxe/ApplicationMain.hx +++ /dev/null @@ -1,378 +0,0 @@ -#if !macro - - -@:access(lime.Assets) - - -class ApplicationMain { - - - public static var config:lime.app.Config; - public static var preloader:openfl.display.Preloader; - - - public static function create ():Void { - - var app = new lime.app.Application (); - app.create (config); - openfl.Lib.application = app; - - #if !flash - var stage = new openfl.display.Stage (app.window.width, app.window.height, config.background); - stage.addChild (openfl.Lib.current); - app.addModule (stage); - #end - - var display = new NMEPreloader (); - - preloader = new openfl.display.Preloader (display); - preloader.onComplete = init; - preloader.create (config); - - #if (js && html5) - var urls = []; - var types = []; - - - urls.push ("assets/closeX.svg"); - types.push (lime.Assets.AssetType.TEXT); - - - urls.push ("assets/config.xml"); - types.push (lime.Assets.AssetType.TEXT); - - - urls.push ("assets/duck.svg"); - types.push (lime.Assets.AssetType.TEXT); - - - urls.push ("assets/easyXML.jpg"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/heres-the-deal.jpg"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/nav/bHome.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/nav/bLeft.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/nav/bOptions.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/nav/bRight.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/nav/close.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/nav/panLeft.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/nav/panRight.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/nme.svg"); - types.push (lime.Assets.AssetType.TEXT); - - - urls.push ("assets/options/actor_0000_background.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/options/actor_0001_duck.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/options/actor_0002_home.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/options/actor_0003_cow.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/options/actor_0004_easyXML.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/options/actor_0005_limerick.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/options/choose.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/limerickPCM.wav"); - types.push (lime.Assets.AssetType.SOUND); - - - urls.push ("assets/p1/pageObject_0000_bg.jpg"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0001_skin.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0002_hose.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0003_pants.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0004_flameshoe.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0005_shoe.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0006_shirt.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0007_truck.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0008_firemen.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0009_can.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0010_bw.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0011_text.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/speaker.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/title/star.svg"); - types.push (lime.Assets.AssetType.TEXT); - - - urls.push ("assets/title/title.jpg"); - types.push (lime.Assets.AssetType.IMAGE); - - - - if (config.assetsPrefix != null) { - - for (i in 0...urls.length) { - - if (types[i] != lime.Assets.AssetType.FONT) { - - urls[i] = config.assetsPrefix + urls[i]; - - } - - } - - } - - preloader.load (urls, types); - #end - - var result = app.exec (); - - #if (sys && !nodejs && !emscripten) - Sys.exit (result); - #end - - } - - - public static function init ():Void { - - var loaded = 0; - var total = 0; - var library_onLoad = function (__) { - - loaded++; - - if (loaded == total) { - - start (); - - } - - } - - preloader = null; - - - - if (loaded == total) { - - start (); - - } - - } - - - public static function main () { - - config = { - - antialiasing: Std.int (0), - background: Std.int (16774882), - borderless: false, - company: "Confidant Communications", - depthBuffer: false, - file: "GloryDemo", - fps: Std.int (30), - fullscreen: false, - hardware: true, - height: Std.int (640), - orientation: "landscape", - packageName: "ca.confidant.gloryDemo", - resizable: true, - stencilBuffer: true, - title: "Glory Framework Demo", - version: "1.0.0", - vsync: false, - width: Std.int (960), - - } - - #if (js && html5) - #if (munit || utest) - openfl.Lib.embed (null, 960, 640, "FFF6E2"); - #end - #else - create (); - #end - - } - - - public static function start ():Void { - - var hasMain = false; - var entryPoint = Type.resolveClass ("Main"); - - for (methodName in Type.getClassFields (entryPoint)) { - - if (methodName == "main") { - - hasMain = true; - break; - - } - - } - - lime.Assets.initialize (); - - if (hasMain) { - - Reflect.callMethod (entryPoint, Reflect.field (entryPoint, "main"), []); - - } else { - - var instance:DocumentClass = Type.createInstance (DocumentClass, []); - - /*if (Std.is (instance, openfl.display.DisplayObject)) { - - openfl.Lib.current.addChild (cast instance); - - }*/ - - } - - openfl.Lib.current.stage.dispatchEvent (new openfl.events.Event (openfl.events.Event.RESIZE, false, false)); - - } - - - #if neko - @:noCompletion public static function __init__ () { - - var loader = new neko.vm.Loader (untyped $loader); - loader.addPath (haxe.io.Path.directory (Sys.executablePath ())); - loader.addPath ("./"); - loader.addPath ("@executable_path/"); - - } - #end - - -} - - -@:build(DocumentClass.build()) -@:keep class DocumentClass extends Main {} - - -#else - - -import haxe.macro.Context; -import haxe.macro.Expr; - - -class DocumentClass { - - - macro public static function build ():Array { - - var classType = Context.getLocalClass ().get (); - var searchTypes = classType; - - while (searchTypes.superClass != null) { - - if (searchTypes.pack.length == 2 && searchTypes.pack[1] == "display" && searchTypes.name == "DisplayObject") { - - var fields = Context.getBuildFields (); - - var method = macro { - - openfl.Lib.current.addChild (this); - super (); - dispatchEvent (new openfl.events.Event (openfl.events.Event.ADDED_TO_STAGE, false, false)); - - } - - fields.push ({ name: "new", access: [ APublic ], kind: FFun({ args: [], expr: method, params: [], ret: macro :Void }), pos: Context.currentPos () }); - - return fields; - - } - - searchTypes = searchTypes.superClass.t.get (); - - } - - return null; - - } - - -} - - -#end diff --git a/examples/ebook/bin/flash/haxe/DefaultAssetLibrary.hx b/examples/ebook/bin/flash/haxe/DefaultAssetLibrary.hx deleted file mode 100644 index 73b540a..0000000 --- a/examples/ebook/bin/flash/haxe/DefaultAssetLibrary.hx +++ /dev/null @@ -1,1165 +0,0 @@ -package; - - -import haxe.Timer; -import haxe.Unserializer; -import lime.app.Preloader; -import lime.audio.AudioSource; -import lime.audio.openal.AL; -import lime.audio.AudioBuffer; -import lime.graphics.Image; -import lime.text.Font; -import lime.utils.ByteArray; -import lime.utils.UInt8Array; -import lime.Assets; - -#if sys -import sys.FileSystem; -#end - -#if flash -import flash.display.Bitmap; -import flash.display.BitmapData; -import flash.display.Loader; -import flash.events.Event; -import flash.media.Sound; -import flash.net.URLLoader; -import flash.net.URLRequest; -#end - - -class DefaultAssetLibrary extends AssetLibrary { - - - public var className (default, null) = new Map (); - public var path (default, null) = new Map (); - public var type (default, null) = new Map (); - - private var lastModified:Float; - private var timer:Timer; - - - public function new () { - - super (); - - #if flash - - className.set ("assets/closeX.svg", __ASSET__assets_closex_svg); - type.set ("assets/closeX.svg", AssetType.TEXT); - className.set ("assets/config.xml", __ASSET__assets_config_xml); - type.set ("assets/config.xml", AssetType.TEXT); - className.set ("assets/duck.svg", __ASSET__assets_duck_svg); - type.set ("assets/duck.svg", AssetType.TEXT); - className.set ("assets/easyXML.jpg", __ASSET__assets_easyxml_jpg); - type.set ("assets/easyXML.jpg", AssetType.IMAGE); - className.set ("assets/heres-the-deal.jpg", __ASSET__assets_heres_the_deal_jpg); - type.set ("assets/heres-the-deal.jpg", AssetType.IMAGE); - className.set ("assets/nav/bHome.png", __ASSET__assets_nav_bhome_png); - type.set ("assets/nav/bHome.png", AssetType.IMAGE); - className.set ("assets/nav/bLeft.png", __ASSET__assets_nav_bleft_png); - type.set ("assets/nav/bLeft.png", AssetType.IMAGE); - className.set ("assets/nav/bOptions.png", __ASSET__assets_nav_boptions_png); - type.set ("assets/nav/bOptions.png", AssetType.IMAGE); - className.set ("assets/nav/bRight.png", __ASSET__assets_nav_bright_png); - type.set ("assets/nav/bRight.png", AssetType.IMAGE); - className.set ("assets/nav/close.png", __ASSET__assets_nav_close_png); - type.set ("assets/nav/close.png", AssetType.IMAGE); - className.set ("assets/nav/panLeft.png", __ASSET__assets_nav_panleft_png); - type.set ("assets/nav/panLeft.png", AssetType.IMAGE); - className.set ("assets/nav/panRight.png", __ASSET__assets_nav_panright_png); - type.set ("assets/nav/panRight.png", AssetType.IMAGE); - className.set ("assets/nme.svg", __ASSET__assets_nme_svg); - type.set ("assets/nme.svg", AssetType.TEXT); - className.set ("assets/options/actor_0000_background.png", __ASSET__assets_options_actor_0000_background_png); - type.set ("assets/options/actor_0000_background.png", AssetType.IMAGE); - className.set ("assets/options/actor_0001_duck.png", __ASSET__assets_options_actor_0001_duck_png); - type.set ("assets/options/actor_0001_duck.png", AssetType.IMAGE); - className.set ("assets/options/actor_0002_home.png", __ASSET__assets_options_actor_0002_home_png); - type.set ("assets/options/actor_0002_home.png", AssetType.IMAGE); - className.set ("assets/options/actor_0003_cow.png", __ASSET__assets_options_actor_0003_cow_png); - type.set ("assets/options/actor_0003_cow.png", AssetType.IMAGE); - className.set ("assets/options/actor_0004_easyXML.png", __ASSET__assets_options_actor_0004_easyxml_png); - type.set ("assets/options/actor_0004_easyXML.png", AssetType.IMAGE); - className.set ("assets/options/actor_0005_limerick.png", __ASSET__assets_options_actor_0005_limerick_png); - type.set ("assets/options/actor_0005_limerick.png", AssetType.IMAGE); - className.set ("assets/options/choose.png", __ASSET__assets_options_choose_png); - type.set ("assets/options/choose.png", AssetType.IMAGE); - className.set ("assets/p1/limerickPCM.wav", __ASSET__assets_p1_limerickpcm_wav); - type.set ("assets/p1/limerickPCM.wav", AssetType.SOUND); - className.set ("assets/p1/pageObject_0000_bg.jpg", __ASSET__assets_p1_pageobject_0000_bg_jpg); - type.set ("assets/p1/pageObject_0000_bg.jpg", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0001_skin.png", __ASSET__assets_p1_pageobject_0001_skin_png); - type.set ("assets/p1/pageObject_0001_skin.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0002_hose.png", __ASSET__assets_p1_pageobject_0002_hose_png); - type.set ("assets/p1/pageObject_0002_hose.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0003_pants.png", __ASSET__assets_p1_pageobject_0003_pants_png); - type.set ("assets/p1/pageObject_0003_pants.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0004_flameshoe.png", __ASSET__assets_p1_pageobject_0004_flameshoe_png); - type.set ("assets/p1/pageObject_0004_flameshoe.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0005_shoe.png", __ASSET__assets_p1_pageobject_0005_shoe_png); - type.set ("assets/p1/pageObject_0005_shoe.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0006_shirt.png", __ASSET__assets_p1_pageobject_0006_shirt_png); - type.set ("assets/p1/pageObject_0006_shirt.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0007_truck.png", __ASSET__assets_p1_pageobject_0007_truck_png); - type.set ("assets/p1/pageObject_0007_truck.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0008_firemen.png", __ASSET__assets_p1_pageobject_0008_firemen_png); - type.set ("assets/p1/pageObject_0008_firemen.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0009_can.png", __ASSET__assets_p1_pageobject_0009_can_png); - type.set ("assets/p1/pageObject_0009_can.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0010_bw.png", __ASSET__assets_p1_pageobject_0010_bw_png); - type.set ("assets/p1/pageObject_0010_bw.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0011_text.png", __ASSET__assets_p1_pageobject_0011_text_png); - type.set ("assets/p1/pageObject_0011_text.png", AssetType.IMAGE); - className.set ("assets/speaker.png", __ASSET__assets_speaker_png); - type.set ("assets/speaker.png", AssetType.IMAGE); - className.set ("assets/title/star.svg", __ASSET__assets_title_star_svg); - type.set ("assets/title/star.svg", AssetType.TEXT); - className.set ("assets/title/title.jpg", __ASSET__assets_title_title_jpg); - type.set ("assets/title/title.jpg", AssetType.IMAGE); - - - #elseif html5 - - var id; - id = "assets/closeX.svg"; - path.set (id, id); - - type.set (id, AssetType.TEXT); - id = "assets/config.xml"; - path.set (id, id); - - type.set (id, AssetType.TEXT); - id = "assets/duck.svg"; - path.set (id, id); - - type.set (id, AssetType.TEXT); - id = "assets/easyXML.jpg"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/heres-the-deal.jpg"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/nav/bHome.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/nav/bLeft.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/nav/bOptions.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/nav/bRight.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/nav/close.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/nav/panLeft.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/nav/panRight.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/nme.svg"; - path.set (id, id); - - type.set (id, AssetType.TEXT); - id = "assets/options/actor_0000_background.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/options/actor_0001_duck.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/options/actor_0002_home.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/options/actor_0003_cow.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/options/actor_0004_easyXML.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/options/actor_0005_limerick.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/options/choose.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/limerickPCM.wav"; - path.set (id, id); - - type.set (id, AssetType.SOUND); - id = "assets/p1/pageObject_0000_bg.jpg"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0001_skin.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0002_hose.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0003_pants.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0004_flameshoe.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0005_shoe.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0006_shirt.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0007_truck.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0008_firemen.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0009_can.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0010_bw.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0011_text.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/speaker.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/title/star.svg"; - path.set (id, id); - - type.set (id, AssetType.TEXT); - id = "assets/title/title.jpg"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - - - var assetsPrefix = ApplicationMain.config.assetsPrefix; - if (assetsPrefix != null) { - for (k in path.keys()) { - path.set(k, assetsPrefix + path[k]); - } - } - - #else - - #if openfl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #end - - #if (windows || mac || linux) - - var useManifest = false; - - className.set ("assets/closeX.svg", __ASSET__assets_closex_svg); - type.set ("assets/closeX.svg", AssetType.TEXT); - - className.set ("assets/config.xml", __ASSET__assets_config_xml); - type.set ("assets/config.xml", AssetType.TEXT); - - className.set ("assets/duck.svg", __ASSET__assets_duck_svg); - type.set ("assets/duck.svg", AssetType.TEXT); - - className.set ("assets/easyXML.jpg", __ASSET__assets_easyxml_jpg); - type.set ("assets/easyXML.jpg", AssetType.IMAGE); - - className.set ("assets/heres-the-deal.jpg", __ASSET__assets_heres_the_deal_jpg); - type.set ("assets/heres-the-deal.jpg", AssetType.IMAGE); - - className.set ("assets/nav/bHome.png", __ASSET__assets_nav_bhome_png); - type.set ("assets/nav/bHome.png", AssetType.IMAGE); - - className.set ("assets/nav/bLeft.png", __ASSET__assets_nav_bleft_png); - type.set ("assets/nav/bLeft.png", AssetType.IMAGE); - - className.set ("assets/nav/bOptions.png", __ASSET__assets_nav_boptions_png); - type.set ("assets/nav/bOptions.png", AssetType.IMAGE); - - className.set ("assets/nav/bRight.png", __ASSET__assets_nav_bright_png); - type.set ("assets/nav/bRight.png", AssetType.IMAGE); - - className.set ("assets/nav/close.png", __ASSET__assets_nav_close_png); - type.set ("assets/nav/close.png", AssetType.IMAGE); - - className.set ("assets/nav/panLeft.png", __ASSET__assets_nav_panleft_png); - type.set ("assets/nav/panLeft.png", AssetType.IMAGE); - - className.set ("assets/nav/panRight.png", __ASSET__assets_nav_panright_png); - type.set ("assets/nav/panRight.png", AssetType.IMAGE); - - className.set ("assets/nme.svg", __ASSET__assets_nme_svg); - type.set ("assets/nme.svg", AssetType.TEXT); - - className.set ("assets/options/actor_0000_background.png", __ASSET__assets_options_actor_0000_background_png); - type.set ("assets/options/actor_0000_background.png", AssetType.IMAGE); - - className.set ("assets/options/actor_0001_duck.png", __ASSET__assets_options_actor_0001_duck_png); - type.set ("assets/options/actor_0001_duck.png", AssetType.IMAGE); - - className.set ("assets/options/actor_0002_home.png", __ASSET__assets_options_actor_0002_home_png); - type.set ("assets/options/actor_0002_home.png", AssetType.IMAGE); - - className.set ("assets/options/actor_0003_cow.png", __ASSET__assets_options_actor_0003_cow_png); - type.set ("assets/options/actor_0003_cow.png", AssetType.IMAGE); - - className.set ("assets/options/actor_0004_easyXML.png", __ASSET__assets_options_actor_0004_easyxml_png); - type.set ("assets/options/actor_0004_easyXML.png", AssetType.IMAGE); - - className.set ("assets/options/actor_0005_limerick.png", __ASSET__assets_options_actor_0005_limerick_png); - type.set ("assets/options/actor_0005_limerick.png", AssetType.IMAGE); - - className.set ("assets/options/choose.png", __ASSET__assets_options_choose_png); - type.set ("assets/options/choose.png", AssetType.IMAGE); - - className.set ("assets/p1/limerickPCM.wav", __ASSET__assets_p1_limerickpcm_wav); - type.set ("assets/p1/limerickPCM.wav", AssetType.SOUND); - - className.set ("assets/p1/pageObject_0000_bg.jpg", __ASSET__assets_p1_pageobject_0000_bg_jpg); - type.set ("assets/p1/pageObject_0000_bg.jpg", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0001_skin.png", __ASSET__assets_p1_pageobject_0001_skin_png); - type.set ("assets/p1/pageObject_0001_skin.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0002_hose.png", __ASSET__assets_p1_pageobject_0002_hose_png); - type.set ("assets/p1/pageObject_0002_hose.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0003_pants.png", __ASSET__assets_p1_pageobject_0003_pants_png); - type.set ("assets/p1/pageObject_0003_pants.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0004_flameshoe.png", __ASSET__assets_p1_pageobject_0004_flameshoe_png); - type.set ("assets/p1/pageObject_0004_flameshoe.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0005_shoe.png", __ASSET__assets_p1_pageobject_0005_shoe_png); - type.set ("assets/p1/pageObject_0005_shoe.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0006_shirt.png", __ASSET__assets_p1_pageobject_0006_shirt_png); - type.set ("assets/p1/pageObject_0006_shirt.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0007_truck.png", __ASSET__assets_p1_pageobject_0007_truck_png); - type.set ("assets/p1/pageObject_0007_truck.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0008_firemen.png", __ASSET__assets_p1_pageobject_0008_firemen_png); - type.set ("assets/p1/pageObject_0008_firemen.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0009_can.png", __ASSET__assets_p1_pageobject_0009_can_png); - type.set ("assets/p1/pageObject_0009_can.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0010_bw.png", __ASSET__assets_p1_pageobject_0010_bw_png); - type.set ("assets/p1/pageObject_0010_bw.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0011_text.png", __ASSET__assets_p1_pageobject_0011_text_png); - type.set ("assets/p1/pageObject_0011_text.png", AssetType.IMAGE); - - className.set ("assets/speaker.png", __ASSET__assets_speaker_png); - type.set ("assets/speaker.png", AssetType.IMAGE); - - className.set ("assets/title/star.svg", __ASSET__assets_title_star_svg); - type.set ("assets/title/star.svg", AssetType.TEXT); - - className.set ("assets/title/title.jpg", __ASSET__assets_title_title_jpg); - type.set ("assets/title/title.jpg", AssetType.IMAGE); - - - if (useManifest) { - - loadManifest (); - - if (Sys.args ().indexOf ("-livereload") > -1) { - - var path = FileSystem.fullPath ("manifest"); - lastModified = FileSystem.stat (path).mtime.getTime (); - - timer = new Timer (2000); - timer.run = function () { - - var modified = FileSystem.stat (path).mtime.getTime (); - - if (modified > lastModified) { - - lastModified = modified; - loadManifest (); - - if (eventCallback != null) { - - eventCallback (this, "change"); - - } - - } - - } - - } - - } - - #else - - loadManifest (); - - #end - #end - - } - - - public override function exists (id:String, type:String):Bool { - - var requestedType = type != null ? cast (type, AssetType) : null; - var assetType = this.type.get (id); - - if (assetType != null) { - - if (assetType == requestedType || ((requestedType == SOUND || requestedType == MUSIC) && (assetType == MUSIC || assetType == SOUND))) { - - return true; - - } - - #if flash - - if (requestedType == BINARY && (assetType == BINARY || assetType == TEXT || assetType == IMAGE)) { - - return true; - - } else if (requestedType == null || path.exists (id)) { - - return true; - - } - - #else - - if (requestedType == BINARY || requestedType == null || (assetType == BINARY && requestedType == TEXT)) { - - return true; - - } - - #end - - } - - return false; - - } - - - public override function getAudioBuffer (id:String):AudioBuffer { - - #if flash - - var buffer = new AudioBuffer (); - buffer.src = cast (Type.createInstance (className.get (id), []), Sound); - return buffer; - - #elseif html5 - - return null; - //return new Sound (new URLRequest (path.get (id))); - - #else - - if (className.exists(id)) return AudioBuffer.fromBytes (cast (Type.createInstance (className.get (id), []), ByteArray)); - else return AudioBuffer.fromFile (path.get (id)); - - #end - - } - - - public override function getBytes (id:String):ByteArray { - - #if flash - - switch (type.get (id)) { - - case TEXT, BINARY: - - return cast (Type.createInstance (className.get (id), []), ByteArray); - - case IMAGE: - - var bitmapData = cast (Type.createInstance (className.get (id), []), BitmapData); - return bitmapData.getPixels (bitmapData.rect); - - default: - - return null; - - } - - return cast (Type.createInstance (className.get (id), []), ByteArray); - - #elseif html5 - - var bytes:ByteArray = null; - var data = Preloader.loaders.get (path.get (id)).data; - - if (Std.is (data, String)) { - - bytes = new ByteArray (); - bytes.writeUTFBytes (data); - - } else if (Std.is (data, ByteArray)) { - - bytes = cast data; - - } else { - - bytes = null; - - } - - if (bytes != null) { - - bytes.position = 0; - return bytes; - - } else { - - return null; - } - - #else - - if (className.exists(id)) return cast (Type.createInstance (className.get (id), []), ByteArray); - else return ByteArray.readFile (path.get (id)); - - #end - - } - - - public override function getFont (id:String):Font { - - #if flash - - var src = Type.createInstance (className.get (id), []); - - var font = new Font (src.fontName); - font.src = src; - return font; - - #elseif html5 - - return cast (Type.createInstance (className.get (id), []), Font); - - #else - - if (className.exists (id)) { - - var fontClass = className.get (id); - return cast (Type.createInstance (fontClass, []), Font); - - } else { - - return Font.fromFile (path.get (id)); - - } - - #end - - } - - - public override function getImage (id:String):Image { - - #if flash - - return Image.fromBitmapData (cast (Type.createInstance (className.get (id), []), BitmapData)); - - #elseif html5 - - return Image.fromImageElement (Preloader.images.get (path.get (id))); - - #else - - if (className.exists (id)) { - - var fontClass = className.get (id); - return cast (Type.createInstance (fontClass, []), Image); - - } else { - - return Image.fromFile (path.get (id)); - - } - - #end - - } - - - /*public override function getMusic (id:String):Dynamic { - - #if flash - - return cast (Type.createInstance (className.get (id), []), Sound); - - #elseif openfl_html5 - - //var sound = new Sound (); - //sound.__buffer = true; - //sound.load (new URLRequest (path.get (id))); - //return sound; - return null; - - #elseif html5 - - return null; - //return new Sound (new URLRequest (path.get (id))); - - #else - - return null; - //if (className.exists(id)) return cast (Type.createInstance (className.get (id), []), Sound); - //else return new Sound (new URLRequest (path.get (id)), null, true); - - #end - - }*/ - - - public override function getPath (id:String):String { - - //#if ios - - //return SystemPath.applicationDirectory + "/assets/" + path.get (id); - - //#else - - return path.get (id); - - //#end - - } - - - public override function getText (id:String):String { - - #if html5 - - var bytes:ByteArray = null; - var data = Preloader.loaders.get (path.get (id)).data; - - if (Std.is (data, String)) { - - return cast data; - - } else if (Std.is (data, ByteArray)) { - - bytes = cast data; - - } else { - - bytes = null; - - } - - if (bytes != null) { - - bytes.position = 0; - return bytes.readUTFBytes (bytes.length); - - } else { - - return null; - } - - #else - - var bytes = getBytes (id); - - if (bytes == null) { - - return null; - - } else { - - return bytes.readUTFBytes (bytes.length); - - } - - #end - - } - - - public override function isLocal (id:String, type:String):Bool { - - var requestedType = type != null ? cast (type, AssetType) : null; - - #if flash - - //if (requestedType != AssetType.MUSIC && requestedType != AssetType.SOUND) { - - return className.exists (id); - - //} - - #end - - return true; - - } - - - public override function list (type:String):Array { - - var requestedType = type != null ? cast (type, AssetType) : null; - var items = []; - - for (id in this.type.keys ()) { - - if (requestedType == null || exists (id, type)) { - - items.push (id); - - } - - } - - return items; - - } - - - public override function loadAudioBuffer (id:String, handler:AudioBuffer -> Void):Void { - - #if (flash) - if (path.exists (id)) { - - var soundLoader = new Sound (); - soundLoader.addEventListener (Event.COMPLETE, function (event) { - - var audioBuffer:AudioBuffer = new AudioBuffer(); - audioBuffer.src = event.currentTarget; - handler (audioBuffer); - - }); - soundLoader.load (new URLRequest (path.get (id))); - - } else { - handler (getAudioBuffer (id)); - - } - #else - handler (getAudioBuffer (id)); - - #end - - } - - - public override function loadBytes (id:String, handler:ByteArray -> Void):Void { - - #if flash - - if (path.exists (id)) { - - var loader = new URLLoader (); - loader.addEventListener (Event.COMPLETE, function (event:Event) { - - var bytes = new ByteArray (); - bytes.writeUTFBytes (event.currentTarget.data); - bytes.position = 0; - - handler (bytes); - - }); - loader.load (new URLRequest (path.get (id))); - - } else { - - handler (getBytes (id)); - - } - - #else - - handler (getBytes (id)); - - #end - - } - - - public override function loadImage (id:String, handler:Image -> Void):Void { - - #if flash - - if (path.exists (id)) { - - var loader = new Loader (); - loader.contentLoaderInfo.addEventListener (Event.COMPLETE, function (event:Event) { - - var bitmapData = cast (event.currentTarget.content, Bitmap).bitmapData; - handler (Image.fromBitmapData (bitmapData)); - - }); - loader.load (new URLRequest (path.get (id))); - - } else { - - handler (getImage (id)); - - } - - #else - - handler (getImage (id)); - - #end - - } - - - #if (!flash && !html5) - private function loadManifest ():Void { - - try { - - #if blackberry - var bytes = ByteArray.readFile ("app/native/manifest"); - #elseif tizen - var bytes = ByteArray.readFile ("../res/manifest"); - #elseif emscripten - var bytes = ByteArray.readFile ("assets/manifest"); - #elseif (mac && java) - var bytes = ByteArray.readFile ("../Resources/manifest"); - #elseif ios - var bytes = ByteArray.readFile ("assets/manifest"); - #else - var bytes = ByteArray.readFile ("manifest"); - #end - - if (bytes != null) { - - bytes.position = 0; - - if (bytes.length > 0) { - - var data = bytes.readUTFBytes (bytes.length); - - if (data != null && data.length > 0) { - - var manifest:Array = Unserializer.run (data); - - for (asset in manifest) { - - if (!className.exists (asset.id)) { - - #if ios - path.set (asset.id, "assets/" + asset.path); - #else - path.set (asset.id, asset.path); - #end - type.set (asset.id, cast (asset.type, AssetType)); - - } - - } - - } - - } - - } else { - - trace ("Warning: Could not load asset manifest (bytes was null)"); - - } - - } catch (e:Dynamic) { - - trace ('Warning: Could not load asset manifest (${e})'); - - } - - } - #end - - - /*public override function loadMusic (id:String, handler:Dynamic -> Void):Void { - - #if (flash || html5) - - //if (path.exists (id)) { - - // var loader = new Loader (); - // loader.contentLoaderInfo.addEventListener (Event.COMPLETE, function (event) { - - // handler (cast (event.currentTarget.content, Bitmap).bitmapData); - - // }); - // loader.load (new URLRequest (path.get (id))); - - //} else { - - handler (getMusic (id)); - - //} - - #else - - handler (getMusic (id)); - - #end - - }*/ - - - public override function loadText (id:String, handler:String -> Void):Void { - - //#if html5 - - /*if (path.exists (id)) { - - var loader = new URLLoader (); - loader.addEventListener (Event.COMPLETE, function (event:Event) { - - handler (event.currentTarget.data); - - }); - loader.load (new URLRequest (path.get (id))); - - } else { - - handler (getText (id)); - - }*/ - - //#else - - var callback = function (bytes:ByteArray):Void { - - if (bytes == null) { - - handler (null); - - } else { - - handler (bytes.readUTFBytes (bytes.length)); - - } - - } - - loadBytes (id, callback); - - //#end - - } - - -} - - -#if !display -#if flash - -@:keep @:bind #if display private #end class __ASSET__assets_closex_svg extends flash.utils.ByteArray { } -@:keep @:bind #if display private #end class __ASSET__assets_config_xml extends flash.utils.ByteArray { } -@:keep @:bind #if display private #end class __ASSET__assets_duck_svg extends flash.utils.ByteArray { } -@:keep @:bind #if display private #end class __ASSET__assets_easyxml_jpg extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_heres_the_deal_jpg extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_nav_bhome_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_nav_bleft_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_nav_boptions_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_nav_bright_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_nav_close_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_nav_panleft_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_nav_panright_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_nme_svg extends flash.utils.ByteArray { } -@:keep @:bind #if display private #end class __ASSET__assets_options_actor_0000_background_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_options_actor_0001_duck_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_options_actor_0002_home_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_options_actor_0003_cow_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_options_actor_0004_easyxml_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_options_actor_0005_limerick_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_options_choose_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_limerickpcm_wav extends flash.media.Sound { } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0000_bg_jpg extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0001_skin_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0002_hose_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0003_pants_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0004_flameshoe_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0005_shoe_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0006_shirt_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0007_truck_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0008_firemen_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0009_can_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0010_bw_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0011_text_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_speaker_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_title_star_svg extends flash.utils.ByteArray { } -@:keep @:bind #if display private #end class __ASSET__assets_title_title_jpg extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } - - -#elseif html5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -#else - - - -#if (windows || mac || linux) - - -@:file("assets/closeX.svg") #if display private #end class __ASSET__assets_closex_svg extends lime.utils.ByteArray {} -@:file("assets/config.xml") #if display private #end class __ASSET__assets_config_xml extends lime.utils.ByteArray {} -@:file("assets/duck.svg") #if display private #end class __ASSET__assets_duck_svg extends lime.utils.ByteArray {} -@:image("assets/easyXML.jpg") #if display private #end class __ASSET__assets_easyxml_jpg extends lime.graphics.Image {} -@:image("assets/heres-the-deal.jpg") #if display private #end class __ASSET__assets_heres_the_deal_jpg extends lime.graphics.Image {} -@:image("assets/nav/bHome.png") #if display private #end class __ASSET__assets_nav_bhome_png extends lime.graphics.Image {} -@:image("assets/nav/bLeft.png") #if display private #end class __ASSET__assets_nav_bleft_png extends lime.graphics.Image {} -@:image("assets/nav/bOptions.png") #if display private #end class __ASSET__assets_nav_boptions_png extends lime.graphics.Image {} -@:image("assets/nav/bRight.png") #if display private #end class __ASSET__assets_nav_bright_png extends lime.graphics.Image {} -@:image("assets/nav/close.png") #if display private #end class __ASSET__assets_nav_close_png extends lime.graphics.Image {} -@:image("assets/nav/panLeft.png") #if display private #end class __ASSET__assets_nav_panleft_png extends lime.graphics.Image {} -@:image("assets/nav/panRight.png") #if display private #end class __ASSET__assets_nav_panright_png extends lime.graphics.Image {} -@:file("assets/nme.svg") #if display private #end class __ASSET__assets_nme_svg extends lime.utils.ByteArray {} -@:image("assets/options/actor_0000_background.png") #if display private #end class __ASSET__assets_options_actor_0000_background_png extends lime.graphics.Image {} -@:image("assets/options/actor_0001_duck.png") #if display private #end class __ASSET__assets_options_actor_0001_duck_png extends lime.graphics.Image {} -@:image("assets/options/actor_0002_home.png") #if display private #end class __ASSET__assets_options_actor_0002_home_png extends lime.graphics.Image {} -@:image("assets/options/actor_0003_cow.png") #if display private #end class __ASSET__assets_options_actor_0003_cow_png extends lime.graphics.Image {} -@:image("assets/options/actor_0004_easyXML.png") #if display private #end class __ASSET__assets_options_actor_0004_easyxml_png extends lime.graphics.Image {} -@:image("assets/options/actor_0005_limerick.png") #if display private #end class __ASSET__assets_options_actor_0005_limerick_png extends lime.graphics.Image {} -@:image("assets/options/choose.png") #if display private #end class __ASSET__assets_options_choose_png extends lime.graphics.Image {} -@:file("assets/p1/limerickPCM.wav") #if display private #end class __ASSET__assets_p1_limerickpcm_wav extends lime.utils.ByteArray {} -@:image("assets/p1/pageObject_0000_bg.jpg") #if display private #end class __ASSET__assets_p1_pageobject_0000_bg_jpg extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0001_skin.png") #if display private #end class __ASSET__assets_p1_pageobject_0001_skin_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0002_hose.png") #if display private #end class __ASSET__assets_p1_pageobject_0002_hose_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0003_pants.png") #if display private #end class __ASSET__assets_p1_pageobject_0003_pants_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0004_flameshoe.png") #if display private #end class __ASSET__assets_p1_pageobject_0004_flameshoe_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0005_shoe.png") #if display private #end class __ASSET__assets_p1_pageobject_0005_shoe_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0006_shirt.png") #if display private #end class __ASSET__assets_p1_pageobject_0006_shirt_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0007_truck.png") #if display private #end class __ASSET__assets_p1_pageobject_0007_truck_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0008_firemen.png") #if display private #end class __ASSET__assets_p1_pageobject_0008_firemen_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0009_can.png") #if display private #end class __ASSET__assets_p1_pageobject_0009_can_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0010_bw.png") #if display private #end class __ASSET__assets_p1_pageobject_0010_bw_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0011_text.png") #if display private #end class __ASSET__assets_p1_pageobject_0011_text_png extends lime.graphics.Image {} -@:image("assets/speaker.png") #if display private #end class __ASSET__assets_speaker_png extends lime.graphics.Image {} -@:file("assets/title/star.svg") #if display private #end class __ASSET__assets_title_star_svg extends lime.utils.ByteArray {} -@:image("assets/title/title.jpg") #if display private #end class __ASSET__assets_title_title_jpg extends lime.graphics.Image {} - - - -#end - -#if openfl - -#end - -#end -#end - diff --git a/examples/ebook/bin/flash/haxe/NMEPreloader.hx b/examples/ebook/bin/flash/haxe/NMEPreloader.hx deleted file mode 100644 index 28aa3a7..0000000 --- a/examples/ebook/bin/flash/haxe/NMEPreloader.hx +++ /dev/null @@ -1,127 +0,0 @@ -package; - - -import openfl.display.Sprite; -import openfl.events.Event; - - -class NMEPreloader extends Sprite { - - - private var outline:Sprite; - private var progress:Sprite; - - - public function new () { - - super (); - - var backgroundColor = getBackgroundColor (); - var r = backgroundColor >> 16 & 0xFF; - var g = backgroundColor >> 8 & 0xFF; - var b = backgroundColor & 0xFF; - var perceivedLuminosity = (0.299 * r + 0.587 * g + 0.114 * b); - var color = 0x000000; - - if (perceivedLuminosity < 70) { - - color = 0xFFFFFF; - - } - - var x = 30; - var height = 7; - var y = getHeight () / 2 - height / 2; - var width = getWidth () - x * 2; - - var padding = 2; - - outline = new Sprite (); - outline.graphics.beginFill (color, 0.07); - outline.graphics.drawRect (0, 0, width, height); - outline.x = x; - outline.y = y; - addChild (outline); - - progress = new Sprite (); - progress.graphics.beginFill (color, 0.35); - progress.graphics.drawRect (0, 0, width - padding * 2, height - padding * 2); - progress.x = x + padding; - progress.y = y + padding; - progress.scaleX = 0; - addChild (progress); - - } - - - public function getBackgroundColor ():Int { - - return 16774882; - - } - - - public function getHeight ():Float { - - var height = 640; - - if (height > 0) { - - return height; - - } else { - - return flash.Lib.current.stage.stageHeight; - - } - - } - - - public function getWidth ():Float { - - var width = 960; - - if (width > 0) { - - return width; - - } else { - - return flash.Lib.current.stage.stageWidth; - - } - - } - - - public function onInit () { - - - - } - - - public function onLoaded () { - - dispatchEvent (new Event (Event.COMPLETE)); - - } - - - public function onUpdate (bytesLoaded:Int, bytesTotal:Int):Void { - - var percentLoaded = bytesLoaded / bytesTotal; - - if (percentLoaded > 1) { - - percentLoaded = 1; - - } - - progress.scaleX = percentLoaded; - - } - - -} \ No newline at end of file diff --git a/examples/ebook/bin/flash/haxe/debug.hxml b/examples/ebook/bin/flash/haxe/debug.hxml deleted file mode 100644 index 86db9c9..0000000 --- a/examples/ebook/bin/flash/haxe/debug.hxml +++ /dev/null @@ -1,25 +0,0 @@ --main ApplicationMain --cp /usr/lib/haxe/lib/lime/2,4,4 --D lime=2.4.4 --cp /usr/lib/haxe/lib/glory/git/src --D glory --cp /usr/lib/haxe/lib/actuate/1,8,6 --D actuate=1.8.6 --cp /usr/lib/haxe/lib/svg/1,0,8 --D svg=1.0.8 --cp /usr/lib/haxe/lib/openfl/3,1,0 --D openfl=3.1.0 --cp src --D native-trace --D openfl-next --D tools=2.4.4 --D flash-use-stage --D no-compilation --D openfl-flash --D web --swf-lib bin/flash/obj/assets.swf --swf-version 11.2 --swf bin/flash/bin/GloryDemo.swf --swf-header 960:640:30:FFF6E2 --cp bin/flash/haxe --debug \ No newline at end of file diff --git a/examples/ebook/bin/flash/haxe/final.hxml b/examples/ebook/bin/flash/haxe/final.hxml deleted file mode 100644 index 388bd58..0000000 --- a/examples/ebook/bin/flash/haxe/final.hxml +++ /dev/null @@ -1,25 +0,0 @@ --main ApplicationMain --cp /usr/lib/haxe/lib/lime/2,4,4 --D lime=2.4.4 --cp /usr/lib/haxe/lib/glory/git/src --D glory --cp /usr/lib/haxe/lib/actuate/1,8,6 --D actuate=1.8.6 --cp /usr/lib/haxe/lib/svg/1,0,8 --D svg=1.0.8 --cp /usr/lib/haxe/lib/openfl/3,1,0 --D openfl=3.1.0 --cp src --D native-trace --D openfl-next --D tools=2.4.4 --D flash-use-stage --D no-compilation --D openfl-flash --D web --swf-lib bin/flash/obj/assets.swf --swf-version 11.2 --swf bin/flash/bin/GloryDemo.swf --swf-header 960:640:30:FFF6E2 --cp bin/flash/haxe --D final \ No newline at end of file diff --git a/examples/ebook/bin/flash/haxe/nme/installer/Assets.hx b/examples/ebook/bin/flash/haxe/nme/installer/Assets.hx deleted file mode 100644 index 347772d..0000000 --- a/examples/ebook/bin/flash/haxe/nme/installer/Assets.hx +++ /dev/null @@ -1,351 +0,0 @@ -package nme.installer; - - -import format.display.MovieClip; -import haxe.Unserializer; -import nme.display.BitmapData; -import nme.media.Sound; -import nme.net.URLRequest; -import nme.text.Font; -import nme.utils.ByteArray; -import ApplicationMain; - -#if swf -import format.SWF; -#end - -#if xfl -import format.XFL; -#end - - -/** - * ... - * @author Joshua Granick - */ - -class Assets { - - - public static var cachedBitmapData:Hash = new Hash(); - #if swf private static var cachedSWFLibraries:Hash = new Hash (); #end - #if xfl private static var cachedXFLLibraries:Hash = new Hash (); #end - - private static var initialized:Bool = false; - private static var libraryTypes:Hash = new Hash (); - private static var resourceClasses:Hash = new Hash (); - private static var resourceTypes:Hash = new Hash (); - - - private static function initialize ():Void { - - if (!initialized) { - - resourceClasses.set ("assets/closeX.svg", NME_assets_closex_svg); - resourceTypes.set ("assets/closeX.svg", "text"); - resourceClasses.set ("assets/config.xml", NME_assets_config_xml); - resourceTypes.set ("assets/config.xml", "text"); - resourceClasses.set ("assets/duck.svg", NME_assets_duck_svg); - resourceTypes.set ("assets/duck.svg", "text"); - resourceClasses.set ("assets/easyXML.jpg", NME_assets_easyxml_jpg); - resourceTypes.set ("assets/easyXML.jpg", "image"); - resourceClasses.set ("assets/heres-the-deal.jpg", NME_assets_heres_the_deal_jpg); - resourceTypes.set ("assets/heres-the-deal.jpg", "image"); - resourceClasses.set ("assets/nav/bHome.png", NME_assets_nav_bhome_png); - resourceTypes.set ("assets/nav/bHome.png", "image"); - resourceClasses.set ("assets/nav/bLeft.png", NME_assets_nav_bleft_png); - resourceTypes.set ("assets/nav/bLeft.png", "image"); - resourceClasses.set ("assets/nav/bOptions.png", NME_assets_nav_boptions_png); - resourceTypes.set ("assets/nav/bOptions.png", "image"); - resourceClasses.set ("assets/nav/bRight.png", NME_assets_nav_bright_png); - resourceTypes.set ("assets/nav/bRight.png", "image"); - resourceClasses.set ("assets/nav/close.png", NME_assets_nav_close_png); - resourceTypes.set ("assets/nav/close.png", "image"); - resourceClasses.set ("assets/nav/panLeft.png", NME_assets_nav_panleft_png); - resourceTypes.set ("assets/nav/panLeft.png", "image"); - resourceClasses.set ("assets/nav/panRight.png", NME_assets_nav_panright_png); - resourceTypes.set ("assets/nav/panRight.png", "image"); - resourceClasses.set ("assets/nme.svg", NME_assets_nme_svg); - resourceTypes.set ("assets/nme.svg", "text"); - resourceClasses.set ("assets/options/actor_0000_background.png", NME_assets_options_actor_0000_background_png); - resourceTypes.set ("assets/options/actor_0000_background.png", "image"); - resourceClasses.set ("assets/options/actor_0001_duck.png", NME_assets_options_actor_0001_duck_png); - resourceTypes.set ("assets/options/actor_0001_duck.png", "image"); - resourceClasses.set ("assets/options/actor_0002_home.png", NME_assets_options_actor_0002_home_png); - resourceTypes.set ("assets/options/actor_0002_home.png", "image"); - resourceClasses.set ("assets/options/actor_0003_cow.png", NME_assets_options_actor_0003_cow_png); - resourceTypes.set ("assets/options/actor_0003_cow.png", "image"); - resourceClasses.set ("assets/options/actor_0004_easyXML.png", NME_assets_options_actor_0004_easyxml_png); - resourceTypes.set ("assets/options/actor_0004_easyXML.png", "image"); - resourceClasses.set ("assets/options/actor_0005_limerick.png", NME_assets_options_actor_0005_limerick_png); - resourceTypes.set ("assets/options/actor_0005_limerick.png", "image"); - resourceClasses.set ("assets/options/choose.png", NME_assets_options_choose_png); - resourceTypes.set ("assets/options/choose.png", "image"); - resourceClasses.set ("assets/p1/limerickPCM.wav", NME_assets_p1_limerickpcm_wav); - resourceTypes.set ("assets/p1/limerickPCM.wav", "sound"); - resourceClasses.set ("assets/p1/pageObject_0000_bg.jpg", NME_assets_p1_pageobject_0000_bg_jpg); - resourceTypes.set ("assets/p1/pageObject_0000_bg.jpg", "image"); - resourceClasses.set ("assets/p1/pageObject_0001_skin.png", NME_assets_p1_pageobject_0001_skin_png); - resourceTypes.set ("assets/p1/pageObject_0001_skin.png", "image"); - resourceClasses.set ("assets/p1/pageObject_0002_hose.png", NME_assets_p1_pageobject_0002_hose_png); - resourceTypes.set ("assets/p1/pageObject_0002_hose.png", "image"); - resourceClasses.set ("assets/p1/pageObject_0003_pants.png", NME_assets_p1_pageobject_0003_pants_png); - resourceTypes.set ("assets/p1/pageObject_0003_pants.png", "image"); - resourceClasses.set ("assets/p1/pageObject_0004_flameshoe.png", NME_assets_p1_pageobject_0004_flameshoe_png); - resourceTypes.set ("assets/p1/pageObject_0004_flameshoe.png", "image"); - resourceClasses.set ("assets/p1/pageObject_0005_shoe.png", NME_assets_p1_pageobject_0005_shoe_png); - resourceTypes.set ("assets/p1/pageObject_0005_shoe.png", "image"); - resourceClasses.set ("assets/p1/pageObject_0006_shirt.png", NME_assets_p1_pageobject_0006_shirt_png); - resourceTypes.set ("assets/p1/pageObject_0006_shirt.png", "image"); - resourceClasses.set ("assets/p1/pageObject_0007_truck.png", NME_assets_p1_pageobject_0007_truck_png); - resourceTypes.set ("assets/p1/pageObject_0007_truck.png", "image"); - resourceClasses.set ("assets/p1/pageObject_0008_firemen.png", NME_assets_p1_pageobject_0008_firemen_png); - resourceTypes.set ("assets/p1/pageObject_0008_firemen.png", "image"); - resourceClasses.set ("assets/p1/pageObject_0009_can.png", NME_assets_p1_pageobject_0009_can_png); - resourceTypes.set ("assets/p1/pageObject_0009_can.png", "image"); - resourceClasses.set ("assets/p1/pageObject_0010_bw.png", NME_assets_p1_pageobject_0010_bw_png); - resourceTypes.set ("assets/p1/pageObject_0010_bw.png", "image"); - resourceClasses.set ("assets/p1/pageObject_0011_text.png", NME_assets_p1_pageobject_0011_text_png); - resourceTypes.set ("assets/p1/pageObject_0011_text.png", "image"); - resourceClasses.set ("assets/speaker.png", NME_assets_speaker_png); - resourceTypes.set ("assets/speaker.png", "image"); - resourceClasses.set ("assets/title/star.svg", NME_assets_title_star_svg); - resourceTypes.set ("assets/title/star.svg", "text"); - resourceClasses.set ("assets/title/title.jpg", NME_assets_title_title_jpg); - resourceTypes.set ("assets/title/title.jpg", "image"); - - - initialized = true; - - } - - } - - - public static function getBitmapData (id:String, useCache:Bool = true):BitmapData { - - initialize (); - - if (resourceTypes.exists (id) && resourceTypes.get (id).toLowerCase () == "image") { - - if (useCache && cachedBitmapData.exists (id)) { - - return cachedBitmapData.get (id); - - } else { - - var data = cast (Type.createInstance (resourceClasses.get (id), []), BitmapData); - - if (useCache) { - - cachedBitmapData.set (id, data); - - } - - return data; - - } - - } else if (id.indexOf (":") > -1) { - - var libraryName = id.substr (0, id.indexOf (":")); - var symbolName = id.substr (id.indexOf (":") + 1); - - if (libraryTypes.exists (libraryName)) { - - #if swf - - if (libraryTypes.get (libraryName) == "swf") { - - if (!cachedSWFLibraries.exists (libraryName)) { - - cachedSWFLibraries.set (libraryName, new SWF (getBytes ("libraries/" + libraryName + ".swf"))); - - } - - return cachedSWFLibraries.get (libraryName).getBitmapData (symbolName); - - } - - #end - - #if xfl - - if (libraryTypes.get (libraryName) == "xfl") { - - if (!cachedXFLLibraries.exists (libraryName)) { - - cachedXFLLibraries.set (libraryName, Unserializer.run (getText ("libraries/" + libraryName + "/" + libraryName + ".dat"))); - - } - - return cachedXFLLibraries.get (libraryName).getBitmapData (symbolName); - - } - - #end - - } else { - - trace ("[nme.Assets] There is no asset library named \"" + libraryName + "\""); - - } - - } else { - - trace ("[nme.Assets] There is no BitmapData asset with an ID of \"" + id + "\""); - - } - - return null; - - } - - - public static function getBytes (id:String):ByteArray { - - initialize (); - - if (resourceClasses.exists (id)) { - - return Type.createInstance (resourceClasses.get (id), []); - - } else { - - trace ("[nme.Assets] There is no ByteArray asset with an ID of \"" + id + "\""); - - return null; - - } - - } - - - public static function getFont (id:String):Font { - - initialize (); - - if (resourceTypes.exists (id) && resourceTypes.get (id).toLowerCase () == "font") { - - return cast (Type.createInstance (resourceClasses.get (id), []), Font); - - } else { - - trace ("[nme.Assets] There is no Font asset with an ID of \"" + id + "\""); - - return null; - - } - - } - - - public static function getMovieClip (id:String):MovieClip { - - initialize (); - - var libraryName = id.substr (0, id.indexOf (":")); - var symbolName = id.substr (id.indexOf (":") + 1); - - if (libraryTypes.exists (libraryName)) { - - #if swf - - if (libraryTypes.get (libraryName) == "swf") { - - if (!cachedSWFLibraries.exists (libraryName)) { - - cachedSWFLibraries.set (libraryName, new SWF (getBytes ("libraries/" + libraryName + ".swf"))); - - } - - return cachedSWFLibraries.get (libraryName).createMovieClip (symbolName); - - } - - #end - - #if xfl - - if (libraryTypes.get (libraryName) == "xfl") { - - if (!cachedXFLLibraries.exists (libraryName)) { - - cachedXFLLibraries.set (libraryName, Unserializer.run (getText ("libraries/" + libraryName + "/" + libraryName + ".dat"))); - - } - - return cachedXFLLibraries.get (libraryName).createMovieClip (symbolName); - - } - - #end - - } else { - - trace ("[nme.Assets] There is no asset library named \"" + libraryName + "\""); - - } - - return null; - - } - - - public static function getSound (id:String):Sound { - - initialize (); - - if (resourceTypes.exists (id)) { - - if (resourceTypes.get (id).toLowerCase () == "sound" || resourceTypes.get (id).toLowerCase () == "music") { - - return cast (Type.createInstance (resourceClasses.get (id), []), Sound); - - } - - } - - trace ("[nme.Assets] There is no Sound asset with an ID of \"" + id + "\""); - - return null; - - } - - - public static function getText (id:String):String { - - var bytes = getBytes (id); - - if (bytes == null) { - - return null; - - } else { - - return bytes.readUTFBytes (bytes.length); - - } - - } - - - //public static function loadBitmapData(id:String, handler:BitmapData -> Void, useCache:Bool = true):BitmapData - //{ - //return null; - //} - // - // - //public static function loadBytes(id:String, handler:ByteArray -> Void):ByteArray - //{ - //return null; - //} - // - // - //public static function loadText(id:String, handler:String -> Void):String - //{ - //return null; - //} - - -} \ No newline at end of file diff --git a/examples/ebook/bin/flash/haxe/release.hxml b/examples/ebook/bin/flash/haxe/release.hxml deleted file mode 100644 index 593d126..0000000 --- a/examples/ebook/bin/flash/haxe/release.hxml +++ /dev/null @@ -1,24 +0,0 @@ --main ApplicationMain --cp /usr/lib/haxe/lib/lime/2,4,4 --D lime=2.4.4 --cp /usr/lib/haxe/lib/glory/git/src --D glory --cp /usr/lib/haxe/lib/actuate/1,8,6 --D actuate=1.8.6 --cp /usr/lib/haxe/lib/svg/1,0,8 --D svg=1.0.8 --cp /usr/lib/haxe/lib/openfl/3,1,0 --D openfl=3.1.0 --cp src --D native-trace --D openfl-next --D tools=2.4.4 --D flash-use-stage --D no-compilation --D openfl-flash --D web --swf-lib bin/flash/obj/assets.swf --swf-version 11.2 --swf bin/flash/bin/GloryDemo.swf --swf-header 960:640:30:FFF6E2 --cp bin/flash/haxe \ No newline at end of file diff --git a/examples/ebook/bin/flash/obj/assets.swf b/examples/ebook/bin/flash/obj/assets.swf deleted file mode 100644 index a54c32a..0000000 Binary files a/examples/ebook/bin/flash/obj/assets.swf and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/GloryDemo.js b/examples/ebook/bin/html5/bin/GloryDemo.js deleted file mode 100644 index 19af23f..0000000 --- a/examples/ebook/bin/html5/bin/GloryDemo.js +++ /dev/null @@ -1,33083 +0,0 @@ -(function ($hx_exports) { "use strict"; -$hx_exports.openfl = $hx_exports.openfl || {}; -$hx_exports.lime = $hx_exports.lime || {}; -var $hxClasses = {},$estr = function() { return js.Boot.__string_rec(this,''); }; -function $extend(from, fields) { - function Inherit() {} Inherit.prototype = from; var proto = new Inherit(); - for (var name in fields) proto[name] = fields[name]; - if( fields.toString !== Object.prototype.toString ) proto.toString = fields.toString; - return proto; -} -var ApplicationMain = function() { }; -$hxClasses["ApplicationMain"] = ApplicationMain; -ApplicationMain.__name__ = ["ApplicationMain"]; -ApplicationMain.config = null; -ApplicationMain.preloader = null; -ApplicationMain.create = function() { - var app = new lime.app.Application(); - app.create(ApplicationMain.config); - openfl.Lib.application = app; - var stage = new openfl.display.Stage(app.windows[0].__width,app.windows[0].__height,ApplicationMain.config.background); - stage.addChild(openfl.Lib.current); - app.addModule(stage); - var display = new NMEPreloader(); - ApplicationMain.preloader = new openfl.display.Preloader(display); - ApplicationMain.preloader.onComplete = ApplicationMain.init; - ApplicationMain.preloader.create(ApplicationMain.config); - var urls = []; - var types = []; - urls.push("assets/closeX.svg"); - types.push("TEXT"); - urls.push("assets/config.xml"); - types.push("TEXT"); - urls.push("assets/duck.svg"); - types.push("TEXT"); - urls.push("assets/easyXML.jpg"); - types.push("IMAGE"); - urls.push("assets/heres-the-deal.jpg"); - types.push("IMAGE"); - urls.push("assets/nav/bHome.png"); - types.push("IMAGE"); - urls.push("assets/nav/bLeft.png"); - types.push("IMAGE"); - urls.push("assets/nav/bOptions.png"); - types.push("IMAGE"); - urls.push("assets/nav/bRight.png"); - types.push("IMAGE"); - urls.push("assets/nav/close.png"); - types.push("IMAGE"); - urls.push("assets/nav/panLeft.png"); - types.push("IMAGE"); - urls.push("assets/nav/panRight.png"); - types.push("IMAGE"); - urls.push("assets/nme.svg"); - types.push("TEXT"); - urls.push("assets/options/actor_0000_background.png"); - types.push("IMAGE"); - urls.push("assets/options/actor_0001_duck.png"); - types.push("IMAGE"); - urls.push("assets/options/actor_0002_home.png"); - types.push("IMAGE"); - urls.push("assets/options/actor_0003_cow.png"); - types.push("IMAGE"); - urls.push("assets/options/actor_0004_easyXML.png"); - types.push("IMAGE"); - urls.push("assets/options/actor_0005_limerick.png"); - types.push("IMAGE"); - urls.push("assets/options/choose.png"); - types.push("IMAGE"); - urls.push("assets/p1/limerickPCM.wav"); - types.push("SOUND"); - urls.push("assets/p1/pageObject_0000_bg.jpg"); - types.push("IMAGE"); - urls.push("assets/p1/pageObject_0001_skin.png"); - types.push("IMAGE"); - urls.push("assets/p1/pageObject_0002_hose.png"); - types.push("IMAGE"); - urls.push("assets/p1/pageObject_0003_pants.png"); - types.push("IMAGE"); - urls.push("assets/p1/pageObject_0004_flameshoe.png"); - types.push("IMAGE"); - urls.push("assets/p1/pageObject_0005_shoe.png"); - types.push("IMAGE"); - urls.push("assets/p1/pageObject_0006_shirt.png"); - types.push("IMAGE"); - urls.push("assets/p1/pageObject_0007_truck.png"); - types.push("IMAGE"); - urls.push("assets/p1/pageObject_0008_firemen.png"); - types.push("IMAGE"); - urls.push("assets/p1/pageObject_0009_can.png"); - types.push("IMAGE"); - urls.push("assets/p1/pageObject_0010_bw.png"); - types.push("IMAGE"); - urls.push("assets/p1/pageObject_0011_text.png"); - types.push("IMAGE"); - urls.push("assets/speaker.png"); - types.push("IMAGE"); - urls.push("assets/title/star.svg"); - types.push("TEXT"); - urls.push("assets/title/title.jpg"); - types.push("IMAGE"); - if(ApplicationMain.config.assetsPrefix != null) { - var _g1 = 0; - var _g = urls.length; - while(_g1 < _g) { - var i = _g1++; - if(types[i] != "FONT") urls[i] = ApplicationMain.config.assetsPrefix + urls[i]; - } - } - ApplicationMain.preloader.load(urls,types); - var result = app.exec(); -}; -ApplicationMain.init = function() { - var loaded = 0; - var total = 0; - var library_onLoad = function(__) { - loaded++; - if(loaded == total) ApplicationMain.start(); - }; - ApplicationMain.preloader = null; - if(loaded == total) ApplicationMain.start(); -}; -ApplicationMain.main = function() { - ApplicationMain.config = { antialiasing : 0, background : 16774882, borderless : false, company : "Confidant Communications", depthBuffer : false, file : "GloryDemo", fps : 30, fullscreen : false, hardware : true, height : 640, orientation : "landscape", packageName : "ca.confidant.gloryDemo", resizable : true, stencilBuffer : true, title : "Glory Framework Demo", version : "1.0.0", vsync : false, width : 960}; -}; -ApplicationMain.start = function() { - var hasMain = false; - var entryPoint = Type.resolveClass("Main"); - var _g = 0; - var _g1 = Type.getClassFields(entryPoint); - while(_g < _g1.length) { - var methodName = _g1[_g]; - ++_g; - if(methodName == "main") { - hasMain = true; - break; - } - } - lime.Assets.initialize(); - if(hasMain) Reflect.callMethod(entryPoint,Reflect.field(entryPoint,"main"),[]); else { - var instance = Type.createInstance(DocumentClass,[]); - } - openfl.Lib.current.stage.dispatchEvent(new openfl.events.Event(openfl.events.Event.RESIZE,false,false)); -}; -var openfl = {}; -openfl.events = {}; -openfl.events.IEventDispatcher = function() { }; -$hxClasses["openfl.events.IEventDispatcher"] = openfl.events.IEventDispatcher; -openfl.events.IEventDispatcher.__name__ = ["openfl","events","IEventDispatcher"]; -openfl.events.IEventDispatcher.prototype = { - __class__: openfl.events.IEventDispatcher -}; -openfl.events.EventDispatcher = function(target) { - if(target != null) this.__targetDispatcher = target; -}; -$hxClasses["openfl.events.EventDispatcher"] = openfl.events.EventDispatcher; -openfl.events.EventDispatcher.__name__ = ["openfl","events","EventDispatcher"]; -openfl.events.EventDispatcher.__interfaces__ = [openfl.events.IEventDispatcher]; -openfl.events.EventDispatcher.__sortByPriority = function(l1,l2) { - if(l1.priority == l2.priority) return 0; else if(l1.priority > l2.priority) return -1; else return 1; -}; -openfl.events.EventDispatcher.prototype = { - addEventListener: function(type,listener,useCapture,priority,useWeakReference) { - if(useWeakReference == null) useWeakReference = false; - if(priority == null) priority = 0; - if(useCapture == null) useCapture = false; - if(this.__eventMap == null) { - this.__dispatching = new haxe.ds.StringMap(); - this.__eventMap = new haxe.ds.StringMap(); - this.__newEventMap = new haxe.ds.StringMap(); - } - if(!this.__eventMap.exists(type)) { - var list = new Array(); - list.push(new openfl.events._EventDispatcher.Listener(listener,useCapture,priority)); - this.__eventMap.set(type,list); - } else { - var list1; - if(this.__dispatching.get(type) == true) { - if(!this.__newEventMap.exists(type)) { - var _this = this.__eventMap.get(type); - list1 = _this.slice(); - this.__newEventMap.set(type,list1); - } else list1 = this.__newEventMap.get(type); - } else list1 = this.__eventMap.get(type); - var _g1 = 0; - var _g = list1.length; - while(_g1 < _g) { - var i = _g1++; - if(Reflect.compareMethods(list1[i].callback,listener)) return; - } - list1.push(new openfl.events._EventDispatcher.Listener(listener,useCapture,priority)); - list1.sort(openfl.events.EventDispatcher.__sortByPriority); - } - } - ,dispatchEvent: function(event) { - if(this.__eventMap == null || event == null) return false; - var type = event.type; - var list = this.__eventMap.get(type); - if(list == null) return false; - this.__dispatching.set(type,true); - if(event.target == null) { - if(this.__targetDispatcher != null) event.target = this.__targetDispatcher; else event.target = this; - } - event.currentTarget = this; - var capture = event.eventPhase == openfl.events.EventPhase.CAPTURING_PHASE; - var index = 0; - var listener; - while(index < list.length) { - listener = list[index]; - if(listener.useCapture == capture) { - listener.callback(event); - if(event.__isCancelledNow) break; - } - if(listener == list[index]) index++; - } - if(this.__newEventMap != null && this.__newEventMap.exists(type)) { - var list1 = this.__newEventMap.get(type); - if(list1.length > 0) this.__eventMap.set(type,list1); else this.__eventMap.remove(type); - if(!this.__eventMap.iterator().hasNext()) { - this.__eventMap = null; - this.__newEventMap = null; - } - this.__newEventMap.remove(type); - } - this.__dispatching.set(event.type,false); - return true; - } - ,hasEventListener: function(type) { - if(this.__eventMap == null) return false; - return this.__eventMap.exists(type); - } - ,removeEventListener: function(type,listener,capture) { - if(capture == null) capture = false; - if(this.__eventMap == null) return; - var list = this.__eventMap.get(type); - if(list == null) return; - if(this.__dispatching.get(type) == true) { - if(!this.__newEventMap.exists(type)) { - var _this = this.__eventMap.get(type); - list = _this.slice(); - this.__newEventMap.set(type,list); - } else list = this.__newEventMap.get(type); - } - var _g1 = 0; - var _g = list.length; - while(_g1 < _g) { - var i = _g1++; - if(list[i].match(listener,capture)) { - list.splice(i,1); - break; - } - } - if(list.length == 0) this.__eventMap.remove(type); - if(!this.__eventMap.iterator().hasNext()) { - this.__eventMap = null; - this.__newEventMap = null; - } - } - ,toString: function() { - var full = Type.getClassName(Type.getClass(this)); - var $short = full.split(".").pop(); - return "[object " + $short + "]"; - } - ,willTrigger: function(type) { - return this.hasEventListener(type); - } - ,__class__: openfl.events.EventDispatcher -}; -openfl.display = {}; -openfl.display.IBitmapDrawable = function() { }; -$hxClasses["openfl.display.IBitmapDrawable"] = openfl.display.IBitmapDrawable; -openfl.display.IBitmapDrawable.__name__ = ["openfl","display","IBitmapDrawable"]; -openfl.display.IBitmapDrawable.prototype = { - __class__: openfl.display.IBitmapDrawable -}; -openfl.display.DisplayObject = function() { - this.__cacheAsBitmap = false; - this.__maskCached = false; - openfl.events.EventDispatcher.call(this); - this.__alpha = 1; - this.__rotation = 0; - this.__scaleX = 1; - this.__scaleY = 1; - this.__visible = true; - this.__x = 0; - this.__y = 0; - this.__worldAlpha = 1; - this.__worldTransform = new openfl.geom.Matrix(); - this.__rotationCache = 0; - this.__rotationSine = 0; - this.__rotationCosine = 1; - this.__worldColorTransform = new openfl.geom.ColorTransform(); - this.set_name("instance" + ++openfl.display.DisplayObject.__instanceCount); -}; -$hxClasses["openfl.display.DisplayObject"] = openfl.display.DisplayObject; -openfl.display.DisplayObject.__name__ = ["openfl","display","DisplayObject"]; -openfl.display.DisplayObject.__interfaces__ = [openfl.display.IBitmapDrawable]; -openfl.display.DisplayObject.__super__ = openfl.events.EventDispatcher; -openfl.display.DisplayObject.prototype = $extend(openfl.events.EventDispatcher.prototype,{ - dispatchEvent: function(event) { - var result = openfl.events.EventDispatcher.prototype.dispatchEvent.call(this,event); - if(event.__isCancelled) return true; - if(event.bubbles && this.parent != null && this.parent != this) { - event.eventPhase = openfl.events.EventPhase.BUBBLING_PHASE; - if(event.target == null) event.target = this; - this.parent.dispatchEvent(event); - } - return result; - } - ,getBounds: function(targetCoordinateSpace) { - var matrix = this.__getTransform(); - if(targetCoordinateSpace != null) { - matrix = new openfl.geom.Matrix(matrix.a,matrix.b,matrix.c,matrix.d,matrix.tx,matrix.ty); - matrix.concat(targetCoordinateSpace.__worldTransform.clone().invert()); - } - var bounds = new openfl.geom.Rectangle(); - this.__getBounds(bounds,matrix); - return bounds; - } - ,getRect: function(targetCoordinateSpace) { - return this.getBounds(targetCoordinateSpace); - } - ,globalToLocal: function(pos) { - return this.__getTransform().clone().invert().transformPoint(pos); - } - ,hitTestObject: function(obj) { - if(obj != null && obj.parent != null && this.parent != null) { - var currentBounds = this.getBounds(this); - var targetBounds = obj.getBounds(this); - return currentBounds.intersects(targetBounds); - } - return false; - } - ,hitTestPoint: function(x,y,shapeFlag) { - if(shapeFlag == null) shapeFlag = false; - if(this.parent != null) { - var bounds = new openfl.geom.Rectangle(); - this.__getBounds(bounds,this.__getTransform()); - return bounds.containsPoint(new openfl.geom.Point(x,y)); - } - return false; - } - ,localToGlobal: function(point) { - return this.__getTransform().transformPoint(point); - } - ,__broadcast: function(event,notifyChilden) { - if(this.__eventMap != null && this.hasEventListener(event.type)) { - var result = openfl.events.EventDispatcher.prototype.dispatchEvent.call(this,event); - if(event.__isCancelled) return true; - return result; - } - return false; - } - ,__getBounds: function(rect,matrix) { - if(this.__graphics != null) this.__graphics.__getBounds(rect,matrix); - } - ,__getCursor: function() { - return null; - } - ,__getInteractive: function(stack) { - return false; - } - ,__getLocalBounds: function(rect) { - this.__getTransform(); - this.__getBounds(rect,new openfl.geom.Matrix()); - } - ,__getTransform: function() { - if(this.__transformDirty || openfl.display.DisplayObject.__worldTransformDirty > 0) { - var list = []; - var current = this; - var transformDirty = this.__transformDirty; - if(this.parent == null) { - if(transformDirty) this.__update(true,false); - } else while(current.parent != null) { - list.push(current); - current = current.parent; - if(current.__transformDirty) transformDirty = true; - } - if(transformDirty) { - var i = list.length; - while(--i >= 0) list[i].__update(true,false); - } - } - return this.__worldTransform; - } - ,__hitTest: function(x,y,shapeFlag,stack,interactiveOnly) { - if(this.__graphics != null) { - if(this.get_visible() && this.__graphics.__hitTest(x,y,shapeFlag,this.__getTransform())) { - if(!interactiveOnly) stack.push(this); - return true; - } - } - return false; - } - ,__renderCairo: function(renderSession) { - if(this.__graphics != null) openfl._internal.renderer.cairo.CairoShape.render(this,renderSession); - } - ,__renderCairoMask: function(renderSession) { - if(this.__graphics != null) openfl._internal.renderer.cairo.CairoGraphics.renderMask(this.__graphics,renderSession); - } - ,__renderCanvas: function(renderSession) { - if(this.__graphics != null) openfl._internal.renderer.canvas.CanvasShape.render(this,renderSession); - } - ,__renderCanvasMask: function(renderSession) { - if(this.__graphics != null) openfl._internal.renderer.canvas.CanvasGraphics.renderMask(this.__graphics,renderSession); - } - ,__renderDOM: function(renderSession) { - if(this.__graphics != null) openfl._internal.renderer.dom.DOMShape.render(this,renderSession); - } - ,__renderGL: function(renderSession) { - if(!this.__renderable || this.__worldAlpha <= 0) return; - if(this.__graphics != null) { - if(this.__graphics.__hardware) openfl._internal.renderer.opengl.utils.GraphicsRenderer.render(this,renderSession); else { - openfl._internal.renderer.canvas.CanvasGraphics.render(this.__graphics,renderSession); - openfl._internal.renderer.opengl.GLRenderer.renderBitmap(this,renderSession); - } - } - } - ,__setStageReference: function(stage) { - if(this.stage != stage) { - if(this.stage != null) this.dispatchEvent(new openfl.events.Event(openfl.events.Event.REMOVED_FROM_STAGE,false,false)); - this.stage = stage; - if(stage != null) this.dispatchEvent(new openfl.events.Event(openfl.events.Event.ADDED_TO_STAGE,false,false)); - } - } - ,__setRenderDirty: function() { - if(!this.__renderDirty) { - this.__renderDirty = true; - openfl.display.DisplayObject.__worldRenderDirty++; - } - } - ,__setTransformDirty: function() { - if(!this.__transformDirty) { - this.__transformDirty = true; - openfl.display.DisplayObject.__worldTransformDirty++; - } - } - ,__update: function(transformOnly,updateChildren,maskGraphics) { - this.__renderable = this.get_visible() && this.get_scaleX() != 0 && this.get_scaleY() != 0 && !this.__isMask; - if(this.get_rotation() != this.__rotationCache) { - this.__rotationCache = this.get_rotation(); - var radians = this.get_rotation() * (Math.PI / 180); - this.__rotationSine = Math.sin(radians); - this.__rotationCosine = Math.cos(radians); - } - var sr = this.get_scrollRect(); - if(this.parent != null) { - var parentTransform = this.parent.__worldTransform; - var a00 = this.__rotationCosine * this.get_scaleX(); - var a01 = this.__rotationSine * this.get_scaleX(); - var a10 = -this.__rotationSine * this.get_scaleY(); - var a11 = this.__rotationCosine * this.get_scaleY(); - var b00 = parentTransform.a; - var b01 = parentTransform.b; - var b10 = parentTransform.c; - var b11 = parentTransform.d; - if(this.__worldTransform == null) this.__worldTransform = new openfl.geom.Matrix(); - this.__worldTransform.a = a00 * b00 + a01 * b10; - this.__worldTransform.b = a00 * b01 + a01 * b11; - this.__worldTransform.c = a10 * b00 + a11 * b10; - this.__worldTransform.d = a10 * b01 + a11 * b11; - this.__worldTransform.tx = this.get_x() * b00 + this.get_y() * b10 + parentTransform.tx; - this.__worldTransform.ty = this.get_x() * b01 + this.get_y() * b11 + parentTransform.ty; - if(sr != null) { - if(this.__worldTransform.a != 1 || this.__worldTransform.b != 0 || this.__worldTransform.c != 0 || this.__worldTransform.d != 1) sr = sr.transform(this.__worldTransform); - this.__worldTransform.tx = (this.get_x() - sr.x) * b00 + (this.get_y() - sr.y) * b10 + parentTransform.tx; - this.__worldTransform.ty = (this.get_x() - sr.x) * b01 + (this.get_y() - sr.y) * b11 + parentTransform.ty; - } - if(this.__isMask) this.__maskCached = false; - } else { - this.__worldTransform.a = this.__rotationCosine * this.get_scaleX(); - this.__worldTransform.c = -this.__rotationSine * this.get_scaleY(); - this.__worldTransform.b = this.__rotationSine * this.get_scaleX(); - this.__worldTransform.d = this.__rotationCosine * this.get_scaleY(); - this.__worldTransform.tx = this.get_x(); - this.__worldTransform.ty = this.get_y(); - if(sr != null) { - if(this.__worldTransform.a != 1 || this.__worldTransform.b != 0 || this.__worldTransform.c != 0 || this.__worldTransform.d != 1) sr = sr.transform(this.__worldTransform); - this.__worldTransform.tx = this.get_x() - this.get_scrollRect().x; - this.__worldTransform.ty = this.get_y() - this.get_scrollRect().y; - } - } - if(updateChildren && this.__transformDirty) { - this.__transformDirty = false; - openfl.display.DisplayObject.__worldTransformDirty--; - } - if(!transformOnly && this.__mask != null && !this.__mask.__maskCached) { - if(this.__maskGraphics == null) this.__maskGraphics = new openfl.display.Graphics(); - this.__maskGraphics.clear(); - this.__mask.__update(true,true,this.__maskGraphics); - this.__mask.__maskCached = true; - } - if(maskGraphics != null) this.__updateMask(maskGraphics); - if(!transformOnly) { - if(!this.__worldColorTransform.__equals(this.get_transform().get_colorTransform())) this.__worldColorTransform = this.get_transform().get_colorTransform().__clone(); - if(this.parent != null) { - this.__worldAlpha = this.get_alpha() * this.parent.__worldAlpha; - this.__worldColorTransform.__combine(this.parent.__worldColorTransform); - if(this.blendMode == null || this.blendMode == openfl.display.BlendMode.NORMAL) this.__blendMode = this.parent.__blendMode; - } else this.__worldAlpha = this.get_alpha(); - if(updateChildren && this.__renderDirty) this.__renderDirty = false; - } - } - ,__updateChildren: function(transformOnly) { - this.__renderable = this.get_visible() && this.get_scaleX() != 0 && this.get_scaleY() != 0 && !this.__isMask; - if(!this.__renderable && !this.__isMask) return; - this.__worldAlpha = this.get_alpha(); - if(this.__transformDirty) { - this.__transformDirty = false; - openfl.display.DisplayObject.__worldTransformDirty--; - } - } - ,__updateMask: function(maskGraphics) { - if(this.__graphics != null) { - maskGraphics.__commands.push(openfl.display.DrawCommand.OverrideMatrix(this.__worldTransform)); - maskGraphics.__commands = maskGraphics.__commands.concat(this.__graphics.__commands); - maskGraphics.set___dirty(true); - maskGraphics.__visible = true; - if(maskGraphics.__bounds == null) maskGraphics.__bounds = new openfl.geom.Rectangle(); - this.__graphics.__getBounds(maskGraphics.__bounds,openfl.geom.Matrix.__identity); - } - } - ,get_alpha: function() { - return this.__alpha; - } - ,set_alpha: function(value) { - if(value != this.__alpha) { - if(!this.__renderDirty) { - this.__renderDirty = true; - openfl.display.DisplayObject.__worldRenderDirty++; - } - } - return this.__alpha = value; - } - ,set_blendMode: function(value) { - this.__blendMode = value; - return this.blendMode = value; - } - ,get_filters: function() { - if(this.__filters == null) return new Array(); else return this.__filters.slice(); - } - ,set_filters: function(value) { - return value; - } - ,get_height: function() { - var bounds = new openfl.geom.Rectangle(); - this.__getTransform(); - this.__getBounds(bounds,new openfl.geom.Matrix()); - return bounds.height * this.get_scaleY(); - } - ,set_height: function(value) { - var bounds = new openfl.geom.Rectangle(); - this.__getTransform(); - this.__getBounds(bounds,new openfl.geom.Matrix()); - if(value != bounds.height) this.set_scaleY(value / bounds.height); else this.set_scaleY(1); - return value; - } - ,get_mask: function() { - return this.__mask; - } - ,set_mask: function(value) { - if(value != this.__mask) { - if(!this.__transformDirty) { - this.__transformDirty = true; - openfl.display.DisplayObject.__worldTransformDirty++; - } - if(!this.__renderDirty) { - this.__renderDirty = true; - openfl.display.DisplayObject.__worldRenderDirty++; - } - } - if(this.__mask != null) { - this.__mask.__isMask = false; - this.__mask.__maskCached = false; - this.__mask.__setTransformDirty(); - this.__mask.__setRenderDirty(); - this.__maskGraphics = null; - } - if(value != null) value.__isMask = true; - return this.__mask = value; - } - ,get_mouseX: function() { - if(this.stage != null) return this.globalToLocal(new openfl.geom.Point(this.stage.__mouseX,0)).x; - return 0; - } - ,get_mouseY: function() { - if(this.stage != null) return this.globalToLocal(new openfl.geom.Point(0,this.stage.__mouseY)).y; - return 0; - } - ,get_name: function() { - return this.__name; - } - ,set_name: function(value) { - return this.__name = value; - } - ,get_root: function() { - if(this.stage != null) return openfl.Lib.current; - return null; - } - ,get_rotation: function() { - return this.__rotation; - } - ,set_rotation: function(value) { - if(value != this.__rotation) { - if(!this.__transformDirty) { - this.__transformDirty = true; - openfl.display.DisplayObject.__worldTransformDirty++; - } - } - return this.__rotation = value; - } - ,get_scaleX: function() { - return this.__scaleX; - } - ,set_scaleX: function(value) { - if(value != this.__scaleX) { - if(!this.__transformDirty) { - this.__transformDirty = true; - openfl.display.DisplayObject.__worldTransformDirty++; - } - } - return this.__scaleX = value; - } - ,get_scaleY: function() { - return this.__scaleY; - } - ,set_scaleY: function(value) { - if(this.__scaleY != value) { - if(!this.__transformDirty) { - this.__transformDirty = true; - openfl.display.DisplayObject.__worldTransformDirty++; - } - } - return this.__scaleY = value; - } - ,get_scrollRect: function() { - if(this.__scrollRect == null) return null; - return this.__scrollRect.clone(); - } - ,set_scrollRect: function(value) { - if(value != this.__scrollRect) { - if(!this.__transformDirty) { - this.__transformDirty = true; - openfl.display.DisplayObject.__worldTransformDirty++; - } - } - return this.__scrollRect = value; - } - ,get_transform: function() { - if(this.__transform == null) this.__transform = new openfl.geom.Transform(this); - return this.__transform; - } - ,set_transform: function(value) { - if(value == null) throw new openfl.errors.TypeError("Parameter transform must be non-null."); - if(this.__transform == null) this.__transform = new openfl.geom.Transform(this); - if(!this.__transformDirty) { - this.__transformDirty = true; - openfl.display.DisplayObject.__worldTransformDirty++; - } - this.__transform.set_matrix(value.get_matrix().clone()); - this.__transform.set_colorTransform(value.get_colorTransform().__clone()); - return this.__transform; - } - ,get_visible: function() { - return this.__visible; - } - ,set_visible: function(value) { - if(value != this.__visible) { - if(!this.__renderDirty) { - this.__renderDirty = true; - openfl.display.DisplayObject.__worldRenderDirty++; - } - } - return this.__visible = value; - } - ,get_width: function() { - var bounds = new openfl.geom.Rectangle(); - this.__getTransform(); - this.__getBounds(bounds,new openfl.geom.Matrix()); - return bounds.width * this.get_scaleX(); - } - ,set_width: function(value) { - var bounds = new openfl.geom.Rectangle(); - this.__getTransform(); - this.__getBounds(bounds,new openfl.geom.Matrix()); - if(value != bounds.width) this.set_scaleX(value / bounds.width); else this.set_scaleX(1); - return value; - } - ,get_x: function() { - return this.__x; - } - ,set_x: function(value) { - if(value != this.__x) { - if(!this.__transformDirty) { - this.__transformDirty = true; - openfl.display.DisplayObject.__worldTransformDirty++; - } - } - return this.__x = value; - } - ,get_y: function() { - return this.__y; - } - ,set_y: function(value) { - if(value != this.__y) { - if(!this.__transformDirty) { - this.__transformDirty = true; - openfl.display.DisplayObject.__worldTransformDirty++; - } - } - return this.__y = value; - } - ,__class__: openfl.display.DisplayObject - ,__properties__: {set_y:"set_y",get_y:"get_y",set_x:"set_x",get_x:"get_x",set_width:"set_width",get_width:"get_width",set_visible:"set_visible",get_visible:"get_visible",set_transform:"set_transform",get_transform:"get_transform",set_scrollRect:"set_scrollRect",get_scrollRect:"get_scrollRect",set_scaleY:"set_scaleY",get_scaleY:"get_scaleY",set_scaleX:"set_scaleX",get_scaleX:"get_scaleX",set_rotation:"set_rotation",get_rotation:"get_rotation",get_root:"get_root",set_name:"set_name",get_name:"get_name",get_mouseY:"get_mouseY",get_mouseX:"get_mouseX",set_mask:"set_mask",get_mask:"get_mask",set_height:"set_height",get_height:"get_height",set_filters:"set_filters",get_filters:"get_filters",set_blendMode:"set_blendMode",set_alpha:"set_alpha",get_alpha:"get_alpha"} -}); -openfl.display.InteractiveObject = function() { - openfl.display.DisplayObject.call(this); - this.doubleClickEnabled = false; - this.mouseEnabled = true; - this.needsSoftKeyboard = false; - this.tabEnabled = true; - this.tabIndex = -1; -}; -$hxClasses["openfl.display.InteractiveObject"] = openfl.display.InteractiveObject; -openfl.display.InteractiveObject.__name__ = ["openfl","display","InteractiveObject"]; -openfl.display.InteractiveObject.__super__ = openfl.display.DisplayObject; -openfl.display.InteractiveObject.prototype = $extend(openfl.display.DisplayObject.prototype,{ - requestSoftKeyboard: function() { - openfl.Lib.notImplemented("InteractiveObject.requestSoftKeyboard"); - return false; - } - ,__getInteractive: function(stack) { - if(stack != null) { - stack.push(this); - if(this.parent != null) this.parent.__getInteractive(stack); - } - return true; - } - ,__class__: openfl.display.InteractiveObject -}); -openfl.display.DisplayObjectContainer = function() { - openfl.display.InteractiveObject.call(this); - this.mouseChildren = true; - this.__children = new Array(); - this.__removedChildren = new Array(); -}; -$hxClasses["openfl.display.DisplayObjectContainer"] = openfl.display.DisplayObjectContainer; -openfl.display.DisplayObjectContainer.__name__ = ["openfl","display","DisplayObjectContainer"]; -openfl.display.DisplayObjectContainer.__super__ = openfl.display.InteractiveObject; -openfl.display.DisplayObjectContainer.prototype = $extend(openfl.display.InteractiveObject.prototype,{ - addChild: function(child) { - if(child != null) { - if(child.parent != null) child.parent.removeChild(child); - this.__children.push(child); - child.parent = this; - if(this.stage != null) child.__setStageReference(this.stage); - if(!child.__transformDirty) { - child.__transformDirty = true; - openfl.display.DisplayObject.__worldTransformDirty++; - } - if(!child.__renderDirty) { - child.__renderDirty = true; - openfl.display.DisplayObject.__worldRenderDirty++; - } - var event = new openfl.events.Event(openfl.events.Event.ADDED,true); - event.target = child; - child.dispatchEvent(event); - } - return child; - } - ,addChildAt: function(child,index) { - if(index > this.__children.length || index < 0) throw "Invalid index position " + index; - if(child.parent == this) HxOverrides.remove(this.__children,child); else { - if(child.parent != null) child.parent.removeChild(child); - child.parent = this; - if(this.stage != null) child.__setStageReference(this.stage); - if(!child.__transformDirty) { - child.__transformDirty = true; - openfl.display.DisplayObject.__worldTransformDirty++; - } - if(!child.__renderDirty) { - child.__renderDirty = true; - openfl.display.DisplayObject.__worldRenderDirty++; - } - var event = new openfl.events.Event(openfl.events.Event.ADDED,true); - event.target = child; - child.dispatchEvent(event); - } - this.__children.splice(index,0,child); - return child; - } - ,areInaccessibleObjectsUnderPoint: function(point) { - return false; - } - ,contains: function(child) { - while(child != this && child != null) child = child.parent; - return child == this; - } - ,getChildAt: function(index) { - if(index >= 0 && index < this.__children.length) return this.__children[index]; - return null; - } - ,getChildByName: function(name) { - var _g = 0; - var _g1 = this.__children; - while(_g < _g1.length) { - var child = _g1[_g]; - ++_g; - if(child.get_name() == name) return child; - } - return null; - } - ,getChildIndex: function(child) { - var _g1 = 0; - var _g = this.__children.length; - while(_g1 < _g) { - var i = _g1++; - if(this.__children[i] == child) return i; - } - return -1; - } - ,getObjectsUnderPoint: function(point) { - point = this.localToGlobal(point); - var stack = new Array(); - this.__hitTest(point.x,point.y,false,stack,false); - stack.reverse(); - return stack; - } - ,removeChild: function(child) { - if(child != null && child.parent == this) { - if(this.stage != null) child.__setStageReference(null); - child.parent = null; - HxOverrides.remove(this.__children,child); - this.__removedChildren.push(child); - if(!child.__transformDirty) { - child.__transformDirty = true; - openfl.display.DisplayObject.__worldTransformDirty++; - } - if(!child.__renderDirty) { - child.__renderDirty = true; - openfl.display.DisplayObject.__worldRenderDirty++; - } - child.dispatchEvent(new openfl.events.Event(openfl.events.Event.REMOVED,true)); - } - return child; - } - ,removeChildAt: function(index) { - if(index >= 0 && index < this.__children.length) return this.removeChild(this.__children[index]); - return null; - } - ,removeChildren: function(beginIndex,endIndex) { - if(endIndex == null) endIndex = 2147483647; - if(beginIndex == null) beginIndex = 0; - if(endIndex == 2147483647) { - endIndex = this.__children.length - 1; - if(endIndex < 0) return; - } - if(beginIndex > this.__children.length - 1) return; else if(endIndex < beginIndex || beginIndex < 0 || endIndex > this.__children.length) throw new openfl.errors.RangeError("The supplied index is out of bounds."); - var numRemovals = endIndex - beginIndex; - while(numRemovals >= 0) { - this.removeChildAt(beginIndex); - numRemovals--; - } - } - ,setChildIndex: function(child,index) { - if(index >= 0 && index <= this.__children.length && child.parent == this) { - HxOverrides.remove(this.__children,child); - this.__children.splice(index,0,child); - } - } - ,swapChildren: function(child1,child2) { - if(child1.parent == this && child2.parent == this) { - var index1 = HxOverrides.indexOf(this.__children,child1,0); - var index2 = HxOverrides.indexOf(this.__children,child2,0); - this.__children[index1] = child2; - this.__children[index2] = child1; - } - } - ,swapChildrenAt: function(child1,child2) { - var swap = this.__children[child1]; - this.__children[child1] = this.__children[child2]; - this.__children[child2] = swap; - swap = null; - } - ,__broadcast: function(event,notifyChilden) { - if(event.target == null) event.target = this; - var result = openfl.display.InteractiveObject.prototype.__broadcast.call(this,event,notifyChilden); - if(!event.__isCancelled && notifyChilden) { - var _g = 0; - var _g1 = this.__children; - while(_g < _g1.length) { - var child = _g1[_g]; - ++_g; - child.__broadcast(event,true); - if(event.__isCancelled) return true; - } - } - return result; - } - ,__getBounds: function(rect,matrix) { - openfl.display.InteractiveObject.prototype.__getBounds.call(this,rect,matrix); - if(this.__children.length == 0) return; - var matrixCache = null; - if(matrix != null) { - matrixCache = this.__worldTransform; - this.__worldTransform = matrix; - this.__updateChildren(true); - } - var _g = 0; - var _g1 = this.__children; - while(_g < _g1.length) { - var child = _g1[_g]; - ++_g; - if(!child.__renderable) continue; - child.__getBounds(rect,child.__worldTransform); - } - if(matrix != null) { - this.__worldTransform = matrixCache; - this.__updateChildren(true); - } - } - ,__hitTest: function(x,y,shapeFlag,stack,interactiveOnly) { - if(!this.get_visible() || interactiveOnly && !this.mouseEnabled) return false; - if(this.get_scrollRect() != null && !this.get_scrollRect().containsPoint(this.globalToLocal(new openfl.geom.Point(x,y)))) return false; - var i = this.__children.length; - if(interactiveOnly) { - if(stack == null || !this.mouseChildren) { - while(--i >= 0) if(this.__children[i].__hitTest(x,y,shapeFlag,null,true)) { - if(stack != null) stack.push(this); - return true; - } - } else if(stack != null) { - var length = stack.length; - var interactive = false; - var hitTest = false; - while(--i >= 0) { - interactive = this.__children[i].__getInteractive(null); - if(interactive || !hitTest) { - if(this.__children[i].__hitTest(x,y,shapeFlag,stack,true)) { - hitTest = true; - if(interactive) break; - } - } - } - if(hitTest) { - stack.splice(length,0,this); - return true; - } - } - } else while(--i >= 0) this.__children[i].__hitTest(x,y,shapeFlag,stack,false); - return false; - } - ,__renderCairo: function(renderSession) { - if(!this.__renderable || this.__worldAlpha <= 0) return; - openfl.display.InteractiveObject.prototype.__renderCairo.call(this,renderSession); - if(this.get_scrollRect() != null) renderSession.maskManager.pushRect(this.get_scrollRect(),this.__worldTransform); - if(this.__mask != null) renderSession.maskManager.pushMask(this.__mask); - var _g = 0; - var _g1 = this.__children; - while(_g < _g1.length) { - var child = _g1[_g]; - ++_g; - child.__renderCairo(renderSession); - } - this.__removedChildren = []; - if(this.__mask != null) renderSession.maskManager.popMask(); - if(this.get_scrollRect() != null) renderSession.maskManager.popMask(); - } - ,__renderCairoMask: function(renderSession) { - if(this.__graphics != null) openfl._internal.renderer.cairo.CairoGraphics.renderMask(this.__graphics,renderSession); - var _g = 0; - var _g1 = this.__children; - while(_g < _g1.length) { - var child = _g1[_g]; - ++_g; - child.__renderCairoMask(renderSession); - } - } - ,__renderCanvas: function(renderSession) { - if(!this.__renderable || this.__worldAlpha <= 0) return; - openfl.display.InteractiveObject.prototype.__renderCanvas.call(this,renderSession); - if(this.get_scrollRect() != null) renderSession.maskManager.pushRect(this.get_scrollRect(),this.__worldTransform); - if(this.__mask != null) renderSession.maskManager.pushMask(this.__mask); - var _g = 0; - var _g1 = this.__children; - while(_g < _g1.length) { - var child = _g1[_g]; - ++_g; - child.__renderCanvas(renderSession); - } - this.__removedChildren = []; - if(this.__mask != null) renderSession.maskManager.popMask(); - if(this.get_scrollRect() != null) renderSession.maskManager.popMask(); - } - ,__renderCanvasMask: function(renderSession) { - if(this.__graphics != null) openfl._internal.renderer.canvas.CanvasGraphics.renderMask(this.__graphics,renderSession); - var bounds = new openfl.geom.Rectangle(); - this.__getTransform(); - this.__getBounds(bounds,new openfl.geom.Matrix()); - renderSession.context.rect(0,0,bounds.width,bounds.height); - } - ,__renderDOM: function(renderSession) { - openfl.display.InteractiveObject.prototype.__renderDOM.call(this,renderSession); - if(this.__mask != null) renderSession.maskManager.pushMask(this.__mask); - var _g = 0; - var _g1 = this.__children; - while(_g < _g1.length) { - var child = _g1[_g]; - ++_g; - child.__renderDOM(renderSession); - } - var _g2 = 0; - var _g11 = this.__removedChildren; - while(_g2 < _g11.length) { - var orphan = _g11[_g2]; - ++_g2; - if(orphan.stage == null) orphan.__renderDOM(renderSession); - } - this.__removedChildren = []; - if(this.__mask != null) renderSession.maskManager.popMask(); - } - ,__renderGL: function(renderSession) { - if(!this.__renderable || this.__worldAlpha <= 0) return; - if(this.get_scrollRect() != null) { - renderSession.spriteBatch.stop(); - var m = this.__worldTransform.clone(); - var clip = this.get_scrollRect().transform(m); - clip.y = renderSession.renderer.height - clip.y - clip.height; - renderSession.spriteBatch.start(clip); - } - var masked = this.__mask != null && this.__maskGraphics != null && this.__maskGraphics.__commands.length > 0; - if(masked) { - renderSession.spriteBatch.stop(); - renderSession.maskManager.pushMask(this); - renderSession.spriteBatch.start(); - } - openfl.display.InteractiveObject.prototype.__renderGL.call(this,renderSession); - var _g = 0; - var _g1 = this.__children; - while(_g < _g1.length) { - var child = _g1[_g]; - ++_g; - child.__renderGL(renderSession); - } - if(masked) { - renderSession.spriteBatch.stop(); - renderSession.maskManager.popMask(); - renderSession.spriteBatch.start(); - } - if(this.get_scrollRect() != null) { - renderSession.spriteBatch.stop(); - renderSession.spriteBatch.start(); - } - this.__removedChildren = []; - } - ,__setStageReference: function(stage) { - if(this.stage != stage) { - if(this.stage != null) this.dispatchEvent(new openfl.events.Event(openfl.events.Event.REMOVED_FROM_STAGE,false,false)); - this.stage = stage; - if(stage != null) this.dispatchEvent(new openfl.events.Event(openfl.events.Event.ADDED_TO_STAGE,false,false)); - if(this.__children != null) { - var _g = 0; - var _g1 = this.__children; - while(_g < _g1.length) { - var child = _g1[_g]; - ++_g; - child.__setStageReference(stage); - } - } - } - } - ,__update: function(transformOnly,updateChildren,maskGraphics) { - openfl.display.InteractiveObject.prototype.__update.call(this,transformOnly,updateChildren,maskGraphics); - if(!this.__renderable && !this.__isMask) return; - if(updateChildren) { - var _g = 0; - var _g1 = this.__children; - while(_g < _g1.length) { - var child = _g1[_g]; - ++_g; - child.__update(transformOnly,true,maskGraphics); - } - } - } - ,__updateChildren: function(transformOnly) { - openfl.display.InteractiveObject.prototype.__updateChildren.call(this,transformOnly); - var _g = 0; - var _g1 = this.__children; - while(_g < _g1.length) { - var child = _g1[_g]; - ++_g; - child.__update(transformOnly,true); - } - } - ,get_numChildren: function() { - return this.__children.length; - } - ,__class__: openfl.display.DisplayObjectContainer - ,__properties__: $extend(openfl.display.InteractiveObject.prototype.__properties__,{get_numChildren:"get_numChildren"}) -}); -openfl.display.Sprite = function() { - openfl.display.DisplayObjectContainer.call(this); - this.buttonMode = false; - this.useHandCursor = true; - this.loaderInfo = openfl.display.LoaderInfo.create(null); -}; -$hxClasses["openfl.display.Sprite"] = openfl.display.Sprite; -openfl.display.Sprite.__name__ = ["openfl","display","Sprite"]; -openfl.display.Sprite.__super__ = openfl.display.DisplayObjectContainer; -openfl.display.Sprite.prototype = $extend(openfl.display.DisplayObjectContainer.prototype,{ - startDrag: function(lockCenter,bounds) { - if(lockCenter == null) lockCenter = false; - if(this.stage != null) this.stage.__startDrag(this,lockCenter,bounds); - } - ,stopDrag: function() { - if(this.stage != null) this.stage.__stopDrag(this); - } - ,__getCursor: function() { - if(this.buttonMode && this.useHandCursor) return lime.ui.MouseCursor.POINTER; else return null; - } - ,__hitTest: function(x,y,shapeFlag,stack,interactiveOnly) { - if(!this.get_visible() || interactiveOnly && !this.mouseEnabled) return false; - var length = 0; - if(stack != null) length = stack.length; - if(openfl.display.DisplayObjectContainer.prototype.__hitTest.call(this,x,y,shapeFlag,stack,interactiveOnly)) return interactiveOnly; else if(this.__graphics != null && this.__graphics.__hitTest(x,y,shapeFlag,this.__getTransform())) { - if(stack != null) stack.push(this); - return true; - } - return false; - } - ,get_graphics: function() { - if(this.__graphics == null) { - this.__graphics = new openfl.display.Graphics(); - this.__graphics.__owner = this; - } - return this.__graphics; - } - ,__class__: openfl.display.Sprite - ,__properties__: $extend(openfl.display.DisplayObjectContainer.prototype.__properties__,{get_graphics:"get_graphics"}) -}); -var ca = {}; -ca.confidant = {}; -ca.confidant.glory = {}; -ca.confidant.glory.GloryFrameworkApp = function() { - openfl.display.Sprite.call(this); - var facade = ca.confidant.glory.ApplicationFacade.getInstance(); - facade.sendNotification("startup",this); -}; -$hxClasses["ca.confidant.glory.GloryFrameworkApp"] = ca.confidant.glory.GloryFrameworkApp; -ca.confidant.glory.GloryFrameworkApp.__name__ = ["ca","confidant","glory","GloryFrameworkApp"]; -ca.confidant.glory.GloryFrameworkApp.main = function() { - var app = new ca.confidant.glory.GloryFrameworkApp(); - openfl.Lib.current.addChild(app); -}; -ca.confidant.glory.GloryFrameworkApp.__super__ = openfl.display.Sprite; -ca.confidant.glory.GloryFrameworkApp.prototype = $extend(openfl.display.Sprite.prototype,{ - displayMessage: function(m) { - } - ,__class__: ca.confidant.glory.GloryFrameworkApp -}); -var Main = function() { - ca.confidant.glory.GloryFrameworkApp.call(this); -}; -$hxClasses["Main"] = Main; -Main.__name__ = ["Main"]; -Main.main = function() { - var app = new ca.confidant.glory.GloryFrameworkApp(); - openfl.Lib.current.addChild(app); -}; -Main.myTrace = function(v,inf) { -}; -Main.__super__ = ca.confidant.glory.GloryFrameworkApp; -Main.prototype = $extend(ca.confidant.glory.GloryFrameworkApp.prototype,{ - __class__: Main -}); -var DocumentClass = function() { - openfl.Lib.current.addChild(this); - Main.call(this); - this.dispatchEvent(new openfl.events.Event(openfl.events.Event.ADDED_TO_STAGE,false,false)); -}; -$hxClasses["DocumentClass"] = DocumentClass; -DocumentClass.__name__ = ["DocumentClass"]; -DocumentClass.__super__ = Main; -DocumentClass.prototype = $extend(Main.prototype,{ - __class__: DocumentClass -}); -var lime = {}; -lime.AssetLibrary = function() { -}; -$hxClasses["lime.AssetLibrary"] = lime.AssetLibrary; -lime.AssetLibrary.__name__ = ["lime","AssetLibrary"]; -lime.AssetLibrary.prototype = { - exists: function(id,type) { - return false; - } - ,getAudioBuffer: function(id) { - return null; - } - ,getBytes: function(id) { - return null; - } - ,getFont: function(id) { - return null; - } - ,getImage: function(id) { - return null; - } - ,getPath: function(id) { - return null; - } - ,getText: function(id) { - var bytes = this.getBytes(id); - if(bytes == null) return null; else return bytes.readUTFBytes(bytes.length); - } - ,isLocal: function(id,type) { - return true; - } - ,list: function(type) { - return null; - } - ,load: function(handler) { - handler(this); - } - ,loadAudioBuffer: function(id,handler) { - handler(this.getAudioBuffer(id)); - } - ,loadBytes: function(id,handler) { - handler(this.getBytes(id)); - } - ,loadFont: function(id,handler) { - handler(this.getFont(id)); - } - ,loadImage: function(id,handler) { - handler(this.getImage(id)); - } - ,loadText: function(id,handler) { - var callback = function(bytes) { - if(bytes == null) handler(null); else handler(bytes.readUTFBytes(bytes.length)); - }; - this.loadBytes(id,callback); - } - ,__class__: lime.AssetLibrary -}; -var DefaultAssetLibrary = function() { - this.type = new haxe.ds.StringMap(); - this.path = new haxe.ds.StringMap(); - this.className = new haxe.ds.StringMap(); - lime.AssetLibrary.call(this); - var id; - id = "assets/closeX.svg"; - this.path.set(id,id); - this.type.set(id,"TEXT"); - id = "assets/config.xml"; - this.path.set(id,id); - this.type.set(id,"TEXT"); - id = "assets/duck.svg"; - this.path.set(id,id); - this.type.set(id,"TEXT"); - id = "assets/easyXML.jpg"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/heres-the-deal.jpg"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/nav/bHome.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/nav/bLeft.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/nav/bOptions.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/nav/bRight.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/nav/close.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/nav/panLeft.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/nav/panRight.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/nme.svg"; - this.path.set(id,id); - this.type.set(id,"TEXT"); - id = "assets/options/actor_0000_background.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/options/actor_0001_duck.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/options/actor_0002_home.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/options/actor_0003_cow.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/options/actor_0004_easyXML.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/options/actor_0005_limerick.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/options/choose.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/p1/limerickPCM.wav"; - this.path.set(id,id); - this.type.set(id,"SOUND"); - id = "assets/p1/pageObject_0000_bg.jpg"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/p1/pageObject_0001_skin.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/p1/pageObject_0002_hose.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/p1/pageObject_0003_pants.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/p1/pageObject_0004_flameshoe.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/p1/pageObject_0005_shoe.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/p1/pageObject_0006_shirt.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/p1/pageObject_0007_truck.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/p1/pageObject_0008_firemen.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/p1/pageObject_0009_can.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/p1/pageObject_0010_bw.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/p1/pageObject_0011_text.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/speaker.png"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - id = "assets/title/star.svg"; - this.path.set(id,id); - this.type.set(id,"TEXT"); - id = "assets/title/title.jpg"; - this.path.set(id,id); - this.type.set(id,"IMAGE"); - var assetsPrefix = ApplicationMain.config.assetsPrefix; - if(assetsPrefix != null) { - var $it0 = this.path.keys(); - while( $it0.hasNext() ) { - var k = $it0.next(); - var value = assetsPrefix + this.path.get(k); - this.path.set(k,value); - } - } -}; -$hxClasses["DefaultAssetLibrary"] = DefaultAssetLibrary; -DefaultAssetLibrary.__name__ = ["DefaultAssetLibrary"]; -DefaultAssetLibrary.__super__ = lime.AssetLibrary; -DefaultAssetLibrary.prototype = $extend(lime.AssetLibrary.prototype,{ - exists: function(id,type) { - var requestedType; - if(type != null) requestedType = js.Boot.__cast(type , String); else requestedType = null; - var assetType = this.type.get(id); - if(assetType != null) { - if(assetType == requestedType || (requestedType == "SOUND" || requestedType == "MUSIC") && (assetType == "MUSIC" || assetType == "SOUND")) return true; - if(requestedType == "BINARY" || requestedType == null || assetType == "BINARY" && requestedType == "TEXT") return true; - } - return false; - } - ,getAudioBuffer: function(id) { - return null; - } - ,getBytes: function(id) { - var bytes = null; - var data = ((function($this) { - var $r; - var key = $this.path.get(id); - $r = lime.app.Preloader.loaders.get(key); - return $r; - }(this))).data; - if(typeof(data) == "string") { - bytes = new lime.utils.ByteArray(); - bytes.writeUTFBytes(data); - } else if(js.Boot.__instanceof(data,lime.utils.ByteArray)) bytes = data; else bytes = null; - if(bytes != null) { - bytes.position = 0; - return bytes; - } else return null; - } - ,getFont: function(id) { - return js.Boot.__cast(Type.createInstance(this.className.get(id),[]) , lime.text.Font); - } - ,getImage: function(id) { - return lime.graphics.Image.fromImageElement((function($this) { - var $r; - var key = $this.path.get(id); - $r = lime.app.Preloader.images.get(key); - return $r; - }(this))); - } - ,getPath: function(id) { - return this.path.get(id); - } - ,getText: function(id) { - var bytes = null; - var data = ((function($this) { - var $r; - var key = $this.path.get(id); - $r = lime.app.Preloader.loaders.get(key); - return $r; - }(this))).data; - if(typeof(data) == "string") return data; else if(js.Boot.__instanceof(data,lime.utils.ByteArray)) bytes = data; else bytes = null; - if(bytes != null) { - bytes.position = 0; - return bytes.readUTFBytes(bytes.length); - } else return null; - } - ,isLocal: function(id,type) { - var requestedType; - if(type != null) requestedType = js.Boot.__cast(type , String); else requestedType = null; - return true; - } - ,list: function(type) { - var requestedType; - if(type != null) requestedType = js.Boot.__cast(type , String); else requestedType = null; - var items = []; - var $it0 = this.type.keys(); - while( $it0.hasNext() ) { - var id = $it0.next(); - if(requestedType == null || this.exists(id,type)) items.push(id); - } - return items; - } - ,loadAudioBuffer: function(id,handler) { - handler(this.getAudioBuffer(id)); - } - ,loadBytes: function(id,handler) { - handler(this.getBytes(id)); - } - ,loadImage: function(id,handler) { - handler(this.getImage(id)); - } - ,loadText: function(id,handler) { - var callback = function(bytes) { - if(bytes == null) handler(null); else handler(bytes.readUTFBytes(bytes.length)); - }; - this.loadBytes(id,callback); - } - ,__class__: DefaultAssetLibrary -}); -var EReg = function(r,opt) { - opt = opt.split("u").join(""); - this.r = new RegExp(r,opt); -}; -$hxClasses["EReg"] = EReg; -EReg.__name__ = ["EReg"]; -EReg.prototype = { - match: function(s) { - if(this.r.global) this.r.lastIndex = 0; - this.r.m = this.r.exec(s); - this.r.s = s; - return this.r.m != null; - } - ,matched: function(n) { - if(this.r.m != null && n >= 0 && n < this.r.m.length) return this.r.m[n]; else throw "EReg::matched"; - } - ,split: function(s) { - var d = "#__delim__#"; - return s.replace(this.r,d).split(d); - } - ,replace: function(s,by) { - return s.replace(this.r,by); - } - ,__class__: EReg -}; -var HxOverrides = function() { }; -$hxClasses["HxOverrides"] = HxOverrides; -HxOverrides.__name__ = ["HxOverrides"]; -HxOverrides.cca = function(s,index) { - var x = s.charCodeAt(index); - if(x != x) return undefined; - return x; -}; -HxOverrides.substr = function(s,pos,len) { - if(pos != null && pos != 0 && len != null && len < 0) return ""; - if(len == null) len = s.length; - if(pos < 0) { - pos = s.length + pos; - if(pos < 0) pos = 0; - } else if(len < 0) len = s.length + len - pos; - return s.substr(pos,len); -}; -HxOverrides.indexOf = function(a,obj,i) { - var len = a.length; - if(i < 0) { - i += len; - if(i < 0) i = 0; - } - while(i < len) { - if(a[i] === obj) return i; - i++; - } - return -1; -}; -HxOverrides.remove = function(a,obj) { - var i = HxOverrides.indexOf(a,obj,0); - if(i == -1) return false; - a.splice(i,1); - return true; -}; -HxOverrides.iter = function(a) { - return { cur : 0, arr : a, hasNext : function() { - return this.cur < this.arr.length; - }, next : function() { - return this.arr[this.cur++]; - }}; -}; -var Lambda = function() { }; -$hxClasses["Lambda"] = Lambda; -Lambda.__name__ = ["Lambda"]; -Lambda.has = function(it,elt) { - var $it0 = $iterator(it)(); - while( $it0.hasNext() ) { - var x = $it0.next(); - if(x == elt) return true; - } - return false; -}; -Lambda.count = function(it,pred) { - var n = 0; - if(pred == null) { - var $it0 = $iterator(it)(); - while( $it0.hasNext() ) { - var _ = $it0.next(); - n++; - } - } else { - var $it1 = $iterator(it)(); - while( $it1.hasNext() ) { - var x = $it1.next(); - if(pred(x)) n++; - } - } - return n; -}; -var List = function() { - this.length = 0; -}; -$hxClasses["List"] = List; -List.__name__ = ["List"]; -List.prototype = { - add: function(item) { - var x = [item]; - if(this.h == null) this.h = x; else this.q[1] = x; - this.q = x; - this.length++; - } - ,pop: function() { - if(this.h == null) return null; - var x = this.h[0]; - this.h = this.h[1]; - if(this.h == null) this.q = null; - this.length--; - return x; - } - ,isEmpty: function() { - return this.h == null; - } - ,remove: function(v) { - var prev = null; - var l = this.h; - while(l != null) { - if(l[0] == v) { - if(prev == null) this.h = l[1]; else prev[1] = l[1]; - if(this.q == l) this.q = prev; - this.length--; - return true; - } - prev = l; - l = l[1]; - } - return false; - } - ,iterator: function() { - return { h : this.h, hasNext : function() { - return this.h != null; - }, next : function() { - if(this.h == null) return null; - var x = this.h[0]; - this.h = this.h[1]; - return x; - }}; - } - ,__class__: List -}; -var IMap = function() { }; -$hxClasses["IMap"] = IMap; -IMap.__name__ = ["IMap"]; -IMap.prototype = { - __class__: IMap -}; -Math.__name__ = ["Math"]; -var NMEPreloader = function() { - openfl.display.Sprite.call(this); - var backgroundColor = this.getBackgroundColor(); - var r = backgroundColor >> 16 & 255; - var g = backgroundColor >> 8 & 255; - var b = backgroundColor & 255; - var perceivedLuminosity = 0.299 * r + 0.587 * g + 0.114 * b; - var color = 0; - if(perceivedLuminosity < 70) color = 16777215; - var x = 30; - var height = 7; - var y = this.getHeight() / 2 - height / 2; - var width = this.getWidth() - x * 2; - var padding = 2; - this.outline = new openfl.display.Sprite(); - this.outline.get_graphics().beginFill(color,0.07); - this.outline.get_graphics().drawRect(0,0,width,height); - this.outline.set_x(x); - this.outline.set_y(y); - this.addChild(this.outline); - this.progress = new openfl.display.Sprite(); - this.progress.get_graphics().beginFill(color,0.35); - this.progress.get_graphics().drawRect(0,0,width - padding * 2,height - padding * 2); - this.progress.set_x(x + padding); - this.progress.set_y(y + padding); - this.progress.set_scaleX(0); - this.addChild(this.progress); -}; -$hxClasses["NMEPreloader"] = NMEPreloader; -NMEPreloader.__name__ = ["NMEPreloader"]; -NMEPreloader.__super__ = openfl.display.Sprite; -NMEPreloader.prototype = $extend(openfl.display.Sprite.prototype,{ - getBackgroundColor: function() { - return 16774882; - } - ,getHeight: function() { - var height = 640; - if(height > 0) return height; else return openfl.Lib.current.stage.stageHeight; - } - ,getWidth: function() { - var width = 960; - if(width > 0) return width; else return openfl.Lib.current.stage.stageWidth; - } - ,onInit: function() { - } - ,onLoaded: function() { - this.dispatchEvent(new openfl.events.Event(openfl.events.Event.COMPLETE)); - } - ,onUpdate: function(bytesLoaded,bytesTotal) { - var percentLoaded = bytesLoaded / bytesTotal; - if(percentLoaded > 1) percentLoaded = 1; - this.progress.set_scaleX(percentLoaded); - } - ,__class__: NMEPreloader -}); -var Reflect = function() { }; -$hxClasses["Reflect"] = Reflect; -Reflect.__name__ = ["Reflect"]; -Reflect.hasField = function(o,field) { - return Object.prototype.hasOwnProperty.call(o,field); -}; -Reflect.field = function(o,field) { - try { - return o[field]; - } catch( e ) { - return null; - } -}; -Reflect.setField = function(o,field,value) { - o[field] = value; -}; -Reflect.getProperty = function(o,field) { - var tmp; - if(o == null) return null; else if(o.__properties__ && (tmp = o.__properties__["get_" + field])) return o[tmp](); else return o[field]; -}; -Reflect.setProperty = function(o,field,value) { - var tmp; - if(o.__properties__ && (tmp = o.__properties__["set_" + field])) o[tmp](value); else o[field] = value; -}; -Reflect.callMethod = function(o,func,args) { - return func.apply(o,args); -}; -Reflect.fields = function(o) { - var a = []; - if(o != null) { - var hasOwnProperty = Object.prototype.hasOwnProperty; - for( var f in o ) { - if(f != "__id__" && f != "hx__closures__" && hasOwnProperty.call(o,f)) a.push(f); - } - } - return a; -}; -Reflect.isFunction = function(f) { - return typeof(f) == "function" && !(f.__name__ || f.__ename__); -}; -Reflect.compare = function(a,b) { - if(a == b) return 0; else if(a > b) return 1; else return -1; -}; -Reflect.compareMethods = function(f1,f2) { - if(f1 == f2) return true; - if(!Reflect.isFunction(f1) || !Reflect.isFunction(f2)) return false; - return f1.scope == f2.scope && f1.method == f2.method && f1.method != null; -}; -Reflect.isEnumValue = function(v) { - return v != null && v.__enum__ != null; -}; -Reflect.deleteField = function(o,field) { - if(!Object.prototype.hasOwnProperty.call(o,field)) return false; - delete(o[field]); - return true; -}; -Reflect.makeVarArgs = function(f) { - return function() { - var a = Array.prototype.slice.call(arguments); - return f(a); - }; -}; -var Std = function() { }; -$hxClasses["Std"] = Std; -Std.__name__ = ["Std"]; -Std.string = function(s) { - return js.Boot.__string_rec(s,""); -}; -Std["int"] = function(x) { - return x | 0; -}; -Std.parseInt = function(x) { - var v = parseInt(x,10); - if(v == 0 && (HxOverrides.cca(x,1) == 120 || HxOverrides.cca(x,1) == 88)) v = parseInt(x); - if(isNaN(v)) return null; - return v; -}; -Std.parseFloat = function(x) { - return parseFloat(x); -}; -var StringBuf = function() { - this.b = ""; -}; -$hxClasses["StringBuf"] = StringBuf; -StringBuf.__name__ = ["StringBuf"]; -StringBuf.prototype = { - add: function(x) { - this.b += Std.string(x); - } - ,addSub: function(s,pos,len) { - if(len == null) this.b += HxOverrides.substr(s,pos,null); else this.b += HxOverrides.substr(s,pos,len); - } - ,__class__: StringBuf -}; -var StringTools = function() { }; -$hxClasses["StringTools"] = StringTools; -StringTools.__name__ = ["StringTools"]; -StringTools.urlEncode = function(s) { - return encodeURIComponent(s); -}; -StringTools.urlDecode = function(s) { - return decodeURIComponent(s.split("+").join(" ")); -}; -StringTools.htmlEscape = function(s,quotes) { - s = s.split("&").join("&").split("<").join("<").split(">").join(">"); - if(quotes) return s.split("\"").join(""").split("'").join("'"); else return s; -}; -StringTools.startsWith = function(s,start) { - return s.length >= start.length && HxOverrides.substr(s,0,start.length) == start; -}; -StringTools.isSpace = function(s,pos) { - var c = HxOverrides.cca(s,pos); - return c > 8 && c < 14 || c == 32; -}; -StringTools.ltrim = function(s) { - var l = s.length; - var r = 0; - while(r < l && StringTools.isSpace(s,r)) r++; - if(r > 0) return HxOverrides.substr(s,r,l - r); else return s; -}; -StringTools.rtrim = function(s) { - var l = s.length; - var r = 0; - while(r < l && StringTools.isSpace(s,l - r - 1)) r++; - if(r > 0) return HxOverrides.substr(s,0,l - r); else return s; -}; -StringTools.trim = function(s) { - return StringTools.ltrim(StringTools.rtrim(s)); -}; -StringTools.replace = function(s,sub,by) { - return s.split(sub).join(by); -}; -StringTools.hex = function(n,digits) { - var s = ""; - var hexChars = "0123456789ABCDEF"; - do { - s = hexChars.charAt(n & 15) + s; - n >>>= 4; - } while(n > 0); - if(digits != null) while(s.length < digits) s = "0" + s; - return s; -}; -StringTools.fastCodeAt = function(s,index) { - return s.charCodeAt(index); -}; -var Type = function() { }; -$hxClasses["Type"] = Type; -Type.__name__ = ["Type"]; -Type.getClass = function(o) { - if(o == null) return null; - return js.Boot.getClass(o); -}; -Type.getClassName = function(c) { - var a = c.__name__; - return a.join("."); -}; -Type.resolveClass = function(name) { - var cl = $hxClasses[name]; - if(cl == null || !cl.__name__) return null; - return cl; -}; -Type.resolveEnum = function(name) { - var e = $hxClasses[name]; - if(e == null || !e.__ename__) return null; - return e; -}; -Type.createInstance = function(cl,args) { - var _g = args.length; - switch(_g) { - case 0: - return new cl(); - case 1: - return new cl(args[0]); - case 2: - return new cl(args[0],args[1]); - case 3: - return new cl(args[0],args[1],args[2]); - case 4: - return new cl(args[0],args[1],args[2],args[3]); - case 5: - return new cl(args[0],args[1],args[2],args[3],args[4]); - case 6: - return new cl(args[0],args[1],args[2],args[3],args[4],args[5]); - case 7: - return new cl(args[0],args[1],args[2],args[3],args[4],args[5],args[6]); - case 8: - return new cl(args[0],args[1],args[2],args[3],args[4],args[5],args[6],args[7]); - default: - throw "Too many arguments"; - } - return null; -}; -Type.createEnum = function(e,constr,params) { - var f = Reflect.field(e,constr); - if(f == null) throw "No such constructor " + constr; - if(Reflect.isFunction(f)) { - if(params == null) throw "Constructor " + constr + " need parameters"; - return f.apply(e,params); - } - if(params != null && params.length != 0) throw "Constructor " + constr + " does not need parameters"; - return f; -}; -Type.createEnumIndex = function(e,index,params) { - var c = e.__constructs__[index]; - if(c == null) throw index + " is not a valid enum constructor index"; - return Type.createEnum(e,c,params); -}; -Type.getClassFields = function(c) { - var a = Reflect.fields(c); - HxOverrides.remove(a,"__name__"); - HxOverrides.remove(a,"__interfaces__"); - HxOverrides.remove(a,"__properties__"); - HxOverrides.remove(a,"__super__"); - HxOverrides.remove(a,"prototype"); - return a; -}; -Type.enumEq = function(a,b) { - if(a == b) return true; - try { - if(a[0] != b[0]) return false; - var _g1 = 2; - var _g = a.length; - while(_g1 < _g) { - var i = _g1++; - if(!Type.enumEq(a[i],b[i])) return false; - } - var e = a.__enum__; - if(e != b.__enum__ || e == null) return false; - } catch( e1 ) { - return false; - } - return true; -}; -var XmlType = $hxClasses["XmlType"] = { __ename__ : true, __constructs__ : [] }; -var Xml = function() { -}; -$hxClasses["Xml"] = Xml; -Xml.__name__ = ["Xml"]; -Xml.Element = null; -Xml.PCData = null; -Xml.CData = null; -Xml.Comment = null; -Xml.DocType = null; -Xml.ProcessingInstruction = null; -Xml.Document = null; -Xml.parse = function(str) { - return haxe.xml.Parser.parse(str); -}; -Xml.createElement = function(name) { - var r = new Xml(); - r.nodeType = Xml.Element; - r._children = new Array(); - r._attributes = new haxe.ds.StringMap(); - r.set_nodeName(name); - return r; -}; -Xml.createPCData = function(data) { - var r = new Xml(); - r.nodeType = Xml.PCData; - r.set_nodeValue(data); - return r; -}; -Xml.createCData = function(data) { - var r = new Xml(); - r.nodeType = Xml.CData; - r.set_nodeValue(data); - return r; -}; -Xml.createComment = function(data) { - var r = new Xml(); - r.nodeType = Xml.Comment; - r.set_nodeValue(data); - return r; -}; -Xml.createDocType = function(data) { - var r = new Xml(); - r.nodeType = Xml.DocType; - r.set_nodeValue(data); - return r; -}; -Xml.createProcessingInstruction = function(data) { - var r = new Xml(); - r.nodeType = Xml.ProcessingInstruction; - r.set_nodeValue(data); - return r; -}; -Xml.createDocument = function() { - var r = new Xml(); - r.nodeType = Xml.Document; - r._children = new Array(); - return r; -}; -Xml.prototype = { - get_nodeName: function() { - if(this.nodeType != Xml.Element) throw "bad nodeType"; - return this._nodeName; - } - ,set_nodeName: function(n) { - if(this.nodeType != Xml.Element) throw "bad nodeType"; - return this._nodeName = n; - } - ,set_nodeValue: function(v) { - if(this.nodeType == Xml.Element || this.nodeType == Xml.Document) throw "bad nodeType"; - return this._nodeValue = v; - } - ,get: function(att) { - if(this.nodeType != Xml.Element) throw "bad nodeType"; - return this._attributes.get(att); - } - ,set: function(att,value) { - if(this.nodeType != Xml.Element) throw "bad nodeType"; - this._attributes.set(att,value); - } - ,exists: function(att) { - if(this.nodeType != Xml.Element) throw "bad nodeType"; - return this._attributes.exists(att); - } - ,iterator: function() { - if(this._children == null) throw "bad nodetype"; - return { cur : 0, x : this._children, hasNext : function() { - return this.cur < this.x.length; - }, next : function() { - return this.x[this.cur++]; - }}; - } - ,elements: function() { - if(this._children == null) throw "bad nodetype"; - return { cur : 0, x : this._children, hasNext : function() { - var k = this.cur; - var l = this.x.length; - while(k < l) { - if(this.x[k].nodeType == Xml.Element) break; - k += 1; - } - this.cur = k; - return k < l; - }, next : function() { - var k1 = this.cur; - var l1 = this.x.length; - while(k1 < l1) { - var n = this.x[k1]; - k1 += 1; - if(n.nodeType == Xml.Element) { - this.cur = k1; - return n; - } - } - return null; - }}; - } - ,elementsNamed: function(name) { - if(this._children == null) throw "bad nodetype"; - return { cur : 0, x : this._children, hasNext : function() { - var k = this.cur; - var l = this.x.length; - while(k < l) { - var n = this.x[k]; - if(n.nodeType == Xml.Element && n._nodeName == name) break; - k++; - } - this.cur = k; - return k < l; - }, next : function() { - var k1 = this.cur; - var l1 = this.x.length; - while(k1 < l1) { - var n1 = this.x[k1]; - k1++; - if(n1.nodeType == Xml.Element && n1._nodeName == name) { - this.cur = k1; - return n1; - } - } - return null; - }}; - } - ,firstElement: function() { - if(this._children == null) throw "bad nodetype"; - var cur = 0; - var l = this._children.length; - while(cur < l) { - var n = this._children[cur]; - if(n.nodeType == Xml.Element) return n; - cur++; - } - return null; - } - ,addChild: function(x) { - if(this._children == null) throw "bad nodetype"; - if(x._parent != null) HxOverrides.remove(x._parent._children,x); - x._parent = this; - this._children.push(x); - } - ,toString: function() { - if(this.nodeType == Xml.PCData) return StringTools.htmlEscape(this._nodeValue); - if(this.nodeType == Xml.CData) return ""; - if(this.nodeType == Xml.Comment) return ""; - if(this.nodeType == Xml.DocType) return ""; - if(this.nodeType == Xml.ProcessingInstruction) return ""; - var s = new StringBuf(); - if(this.nodeType == Xml.Element) { - s.b += "<"; - s.b += Std.string(this._nodeName); - var $it0 = this._attributes.keys(); - while( $it0.hasNext() ) { - var k = $it0.next(); - s.b += " "; - if(k == null) s.b += "null"; else s.b += "" + k; - s.b += "=\""; - s.add(this._attributes.get(k)); - s.b += "\""; - } - if(this._children.length == 0) { - s.b += "/>"; - return s.b; - } - s.b += ">"; - } - var $it1 = this.iterator(); - while( $it1.hasNext() ) { - var x = $it1.next(); - s.add(x.toString()); - } - if(this.nodeType == Xml.Element) { - s.b += ""; - } - return s.b; - } - ,__class__: Xml - ,__properties__: {set_nodeValue:"set_nodeValue",set_nodeName:"set_nodeName",get_nodeName:"get_nodeName"} -}; -var org = {}; -org.puremvc = {}; -org.puremvc.haxe = {}; -org.puremvc.haxe.interfaces = {}; -org.puremvc.haxe.interfaces.IFacade = function() { }; -$hxClasses["org.puremvc.haxe.interfaces.IFacade"] = org.puremvc.haxe.interfaces.IFacade; -org.puremvc.haxe.interfaces.IFacade.__name__ = ["org","puremvc","haxe","interfaces","IFacade"]; -org.puremvc.haxe.interfaces.IFacade.prototype = { - __class__: org.puremvc.haxe.interfaces.IFacade -}; -org.puremvc.haxe.patterns = {}; -org.puremvc.haxe.patterns.facade = {}; -org.puremvc.haxe.patterns.facade.Facade = function() { - org.puremvc.haxe.patterns.facade.Facade.instance = this; - this.initializeFacade(); -}; -$hxClasses["org.puremvc.haxe.patterns.facade.Facade"] = org.puremvc.haxe.patterns.facade.Facade; -org.puremvc.haxe.patterns.facade.Facade.__name__ = ["org","puremvc","haxe","patterns","facade","Facade"]; -org.puremvc.haxe.patterns.facade.Facade.__interfaces__ = [org.puremvc.haxe.interfaces.IFacade]; -org.puremvc.haxe.patterns.facade.Facade.getInstance = function() { - if(org.puremvc.haxe.patterns.facade.Facade.instance == null) org.puremvc.haxe.patterns.facade.Facade.instance = new org.puremvc.haxe.patterns.facade.Facade(); - return org.puremvc.haxe.patterns.facade.Facade.instance; -}; -org.puremvc.haxe.patterns.facade.Facade.instance = null; -org.puremvc.haxe.patterns.facade.Facade.prototype = { - initializeFacade: function() { - this.initializeModel(); - this.initializeController(); - this.initializeView(); - } - ,initializeController: function() { - if(this.controller != null) return; - this.controller = org.puremvc.haxe.core.Controller.getInstance(); - } - ,initializeModel: function() { - if(this.model != null) return; - this.model = org.puremvc.haxe.core.Model.getInstance(); - } - ,initializeView: function() { - if(this.view != null) return; - this.view = org.puremvc.haxe.core.View.getInstance(); - } - ,registerCommand: function(notificationName,commandClassRef) { - this.controller.registerCommand(notificationName,commandClassRef); - } - ,removeCommand: function(notificationName) { - this.controller.removeCommand(notificationName); - } - ,hasCommand: function(notificationName) { - return this.controller.hasCommand(notificationName); - } - ,registerProxy: function(proxy) { - this.model.registerProxy(proxy); - } - ,retrieveProxy: function(proxyName) { - return this.model.retrieveProxy(proxyName); - } - ,removeProxy: function(proxyName) { - var proxy = null; - if(this.model != null) proxy = this.model.removeProxy(proxyName); - return proxy; - } - ,hasProxy: function(proxyName) { - return this.model.hasProxy(proxyName); - } - ,registerMediator: function(mediator) { - if(this.view != null) this.view.registerMediator(mediator); - } - ,retrieveMediator: function(mediatorName) { - return this.view.retrieveMediator(mediatorName); - } - ,removeMediator: function(mediatorName) { - var mediator = null; - if(this.view != null) mediator = this.view.removeMediator(mediatorName); - return mediator; - } - ,hasMediator: function(mediatorName) { - return this.view.hasMediator(mediatorName); - } - ,sendNotification: function(notificationName,body,type) { - this.notifyObservers(new org.puremvc.haxe.patterns.observer.Notification(notificationName,body,type)); - } - ,notifyObservers: function(notification) { - if(this.view != null) this.view.notifyObservers(notification); - } - ,__class__: org.puremvc.haxe.patterns.facade.Facade -}; -ca.confidant.glory.ApplicationFacade = function() { - org.puremvc.haxe.patterns.facade.Facade.call(this); -}; -$hxClasses["ca.confidant.glory.ApplicationFacade"] = ca.confidant.glory.ApplicationFacade; -ca.confidant.glory.ApplicationFacade.__name__ = ["ca","confidant","glory","ApplicationFacade"]; -ca.confidant.glory.ApplicationFacade.instance = null; -ca.confidant.glory.ApplicationFacade.getInstance = function() { - if(ca.confidant.glory.ApplicationFacade.instance == null) ca.confidant.glory.ApplicationFacade.instance = new ca.confidant.glory.ApplicationFacade(); - return ca.confidant.glory.ApplicationFacade.instance; -}; -ca.confidant.glory.ApplicationFacade.__super__ = org.puremvc.haxe.patterns.facade.Facade; -ca.confidant.glory.ApplicationFacade.prototype = $extend(org.puremvc.haxe.patterns.facade.Facade.prototype,{ - initializeController: function() { - org.puremvc.haxe.patterns.facade.Facade.prototype.initializeController.call(this); - this.registerCommand("startup",ca.confidant.glory.controller.StartupCommand); - } - ,startup: function(app) { - this.sendNotification("startup",app); - } - ,__class__: ca.confidant.glory.ApplicationFacade -}); -ca.confidant.glory.Tracer = function() { }; -$hxClasses["ca.confidant.glory.Tracer"] = ca.confidant.glory.Tracer; -ca.confidant.glory.Tracer.__name__ = ["ca","confidant","glory","Tracer"]; -ca.confidant.glory.Tracer.setRedirection = function() { - haxe.Log.trace = ca.confidant.glory.Tracer.customTrace; -}; -ca.confidant.glory.Tracer.customTrace = function(v,inf) { -}; -org.puremvc.haxe.interfaces.INotifier = function() { }; -$hxClasses["org.puremvc.haxe.interfaces.INotifier"] = org.puremvc.haxe.interfaces.INotifier; -org.puremvc.haxe.interfaces.INotifier.__name__ = ["org","puremvc","haxe","interfaces","INotifier"]; -org.puremvc.haxe.interfaces.INotifier.prototype = { - __class__: org.puremvc.haxe.interfaces.INotifier -}; -org.puremvc.haxe.patterns.observer = {}; -org.puremvc.haxe.patterns.observer.Notifier = function() { - this.facade = org.puremvc.haxe.patterns.facade.Facade.getInstance(); -}; -$hxClasses["org.puremvc.haxe.patterns.observer.Notifier"] = org.puremvc.haxe.patterns.observer.Notifier; -org.puremvc.haxe.patterns.observer.Notifier.__name__ = ["org","puremvc","haxe","patterns","observer","Notifier"]; -org.puremvc.haxe.patterns.observer.Notifier.__interfaces__ = [org.puremvc.haxe.interfaces.INotifier]; -org.puremvc.haxe.patterns.observer.Notifier.prototype = { - sendNotification: function(notificationName,body,type) { - this.facade.sendNotification(notificationName,body,type); - } - ,__class__: org.puremvc.haxe.patterns.observer.Notifier -}; -org.puremvc.haxe.interfaces.ICommand = function() { }; -$hxClasses["org.puremvc.haxe.interfaces.ICommand"] = org.puremvc.haxe.interfaces.ICommand; -org.puremvc.haxe.interfaces.ICommand.__name__ = ["org","puremvc","haxe","interfaces","ICommand"]; -org.puremvc.haxe.interfaces.ICommand.prototype = { - __class__: org.puremvc.haxe.interfaces.ICommand -}; -org.puremvc.haxe.patterns.command = {}; -org.puremvc.haxe.patterns.command.SimpleCommand = function() { - org.puremvc.haxe.patterns.observer.Notifier.call(this); -}; -$hxClasses["org.puremvc.haxe.patterns.command.SimpleCommand"] = org.puremvc.haxe.patterns.command.SimpleCommand; -org.puremvc.haxe.patterns.command.SimpleCommand.__name__ = ["org","puremvc","haxe","patterns","command","SimpleCommand"]; -org.puremvc.haxe.patterns.command.SimpleCommand.__interfaces__ = [org.puremvc.haxe.interfaces.ICommand]; -org.puremvc.haxe.patterns.command.SimpleCommand.__super__ = org.puremvc.haxe.patterns.observer.Notifier; -org.puremvc.haxe.patterns.command.SimpleCommand.prototype = $extend(org.puremvc.haxe.patterns.observer.Notifier.prototype,{ - execute: function(notification) { - } - ,__class__: org.puremvc.haxe.patterns.command.SimpleCommand -}); -ca.confidant.glory.controller = {}; -ca.confidant.glory.controller.BuildControlsCommand = function() { - org.puremvc.haxe.patterns.command.SimpleCommand.call(this); -}; -$hxClasses["ca.confidant.glory.controller.BuildControlsCommand"] = ca.confidant.glory.controller.BuildControlsCommand; -ca.confidant.glory.controller.BuildControlsCommand.__name__ = ["ca","confidant","glory","controller","BuildControlsCommand"]; -ca.confidant.glory.controller.BuildControlsCommand.__super__ = org.puremvc.haxe.patterns.command.SimpleCommand; -ca.confidant.glory.controller.BuildControlsCommand.prototype = $extend(org.puremvc.haxe.patterns.command.SimpleCommand.prototype,{ - execute: function(note) { - haxe.Log.trace("BuildControlsCommand",{ fileName : "BuildControlsCommand.hx", lineNumber : 34, className : "ca.confidant.glory.controller.BuildControlsCommand", methodName : "execute"}); - this.pcp = js.Boot.__cast(this.facade.retrieveProxy("pagesConfigProxy") , ca.confidant.glory.model.PagesConfigProxy); - this.csp = js.Boot.__cast(this.facade.retrieveProxy(ca.confidant.glory.model.ControlsRegistryProxy.NAME) , ca.confidant.glory.model.ControlsRegistryProxy); - this.lp = js.Boot.__cast(this.facade.retrieveProxy(ca.confidant.glory.model.LoaderProxy.NAME) , ca.confidant.glory.model.LoaderProxy); - this.appMediator = js.Boot.__cast(this.facade.retrieveMediator("ApplicationMediator") , ca.confidant.glory.view.ApplicationMediator); - var controlsList = this.pcp.getAppControls(); - var $it0 = controlsList.iterator(); - while( $it0.hasNext() ) { - var thisControl = $it0.next(); - this.makeControl(thisControl); - } - } - ,makeControl: function(actor) { - try { - var ext; - var _this; - _this = js.Boot.__cast(actor.att.resolve("src") , String); - ext = HxOverrides.substr(_this,-3,null); - var a = new ca.confidant.glory.view.components.ControlComponent(Std.string(actor.att.resolve("action"))); - if(ext == "svg") { - var theText = this.lp.getText("assets/" + actor.att.resolve("src")); - a.addSVG(theText); - } else { - var imageData = this.lp.getBitmapData("assets/" + actor.att.resolve("src"),true); - var b = new openfl.display.Bitmap(imageData); - a.addBitmap(b); - } - var acm = new ca.confidant.glory.view.ControlComponentMediator(actor.att.resolve("id"),a); - this.facade.registerMediator(acm); - this.appMediator.addDisplayObject(a); - this.csp.registerControl(a); - a.set_x(Std.parseInt(actor.att.resolve("x"))); - a.set_y(Std.parseInt(actor.att.resolve("y"))); - a.set_width(Std.parseInt(actor.att.resolve("width"))); - a.set_height(Std.parseInt(actor.att.resolve("height"))); - a.mouseEnabled = true; - a.useHandCursor = true; - a.buttonMode = true; - } catch( e ) { - haxe.Log.trace(Std.string(e),{ fileName : "BuildControlsCommand.hx", lineNumber : 76, className : "ca.confidant.glory.controller.BuildControlsCommand", methodName : "makeControl"}); - } - } - ,__class__: ca.confidant.glory.controller.BuildControlsCommand -}); -ca.confidant.glory.controller.BuildPageCommand = function() { - org.puremvc.haxe.patterns.command.SimpleCommand.call(this); -}; -$hxClasses["ca.confidant.glory.controller.BuildPageCommand"] = ca.confidant.glory.controller.BuildPageCommand; -ca.confidant.glory.controller.BuildPageCommand.__name__ = ["ca","confidant","glory","controller","BuildPageCommand"]; -ca.confidant.glory.controller.BuildPageCommand.__super__ = org.puremvc.haxe.patterns.command.SimpleCommand; -ca.confidant.glory.controller.BuildPageCommand.prototype = $extend(org.puremvc.haxe.patterns.command.SimpleCommand.prototype,{ - execute: function(note) { - haxe.Log.trace("BuildPageCommand",{ fileName : "BuildPageCommand.hx", lineNumber : 43, className : "ca.confidant.glory.controller.BuildPageCommand", methodName : "execute"}); - this.pcp = js.Boot.__cast(this.facade.retrieveProxy("pagesConfigProxy") , ca.confidant.glory.model.PagesConfigProxy); - this.lp = js.Boot.__cast(this.facade.retrieveProxy(ca.confidant.glory.model.LoaderProxy.NAME) , ca.confidant.glory.model.LoaderProxy); - this.appMediator = js.Boot.__cast(this.facade.retrieveMediator("ApplicationMediator") , ca.confidant.glory.view.ApplicationMediator); - var pageId; - pageId = js.Boot.__cast(note.getBody() , String); - var class_name = "pages.P" + pageId; - var a_class = Type.resolveClass(class_name); - var s; - if(a_class != null) s = Type.createInstance(a_class,[]); else s = new ca.confidant.glory.view.components.PageComponent(); - s.set_name(pageId); - if((function($this) { - var $r; - var this1 = $this.pcp.getPageById(pageId); - $r = this1.get("type"); - return $r; - }(this)) == "overlay") this.appMediator.addDisplayObject(s,-1); else this.appMediator.addDisplayObject(s,0); - var pm = new ca.confidant.glory.view.PageMediator(pageId,s); - this.facade.registerMediator(pm); - s.transitionIn(); - var actorsList = this.pcp.getPageActors(pageId); - if(actorsList.length > 0) { - var $it0 = actorsList.iterator(); - while( $it0.hasNext() ) { - var thisActor = $it0.next(); - s.addActor(thisActor.att.resolve("id"),this.makeActor(thisActor)); - } - } - var crp; - crp = js.Boot.__cast(this.facade.retrieveProxy(ca.confidant.glory.model.ControlsRegistryProxy.NAME) , ca.confidant.glory.model.ControlsRegistryProxy); - var controls = crp.getControls(); - var _g = 0; - while(_g < controls.length) { - var thisControl = controls[_g]; - ++_g; - this.appMediator.getApp().removeChild(thisControl); - this.appMediator.getApp().addChild(thisControl); - } - s.init(); - } - ,makeActor: function(actor) { - var ext; - var _this; - _this = js.Boot.__cast(actor.att.resolve("src") , String); - ext = HxOverrides.substr(_this,-3,null); - var a = new ca.confidant.glory.view.components.ActorComponent(); - if(ext == "svg") { - var theText = this.lp.getText("assets/" + actor.att.resolve("src")); - a.addSVG(theText); - } else { - var imageData = this.lp.getBitmapData("assets/" + actor.att.resolve("src"),true); - var b = new openfl.display.Bitmap(imageData); - a.addBitmap(b); - } - var action; - if(actor.has.resolve("action")) action = Std.string(actor.att.resolve("action")); else action = ""; - var accp = new ca.confidant.glory.model.ActorComponentConfigProxy(actor.att.resolve("id"),Std.string(actor.att.resolve("type")),action); - this.facade.registerProxy(accp); - var acm = new ca.confidant.glory.view.ActorComponentMediator(actor.att.resolve("id"),a,accp); - this.facade.registerMediator(acm); - a.set_x(Std.parseInt(actor.att.resolve("x"))); - a.set_y(Std.parseInt(actor.att.resolve("y"))); - a.set_width(Std.parseInt(actor.att.resolve("width"))); - a.set_height(Std.parseInt(actor.att.resolve("height"))); - a.type = actor.att.resolve("type"); - a.set_name(actor.att.resolve("id")); - if(a.type == "control") { - a.mouseEnabled = true; - a.useHandCursor = true; - a.buttonMode = true; - } - return a; - } - ,__class__: ca.confidant.glory.controller.BuildPageCommand -}); -ca.confidant.glory.controller.ChangePageCommand = function() { - org.puremvc.haxe.patterns.command.SimpleCommand.call(this); -}; -$hxClasses["ca.confidant.glory.controller.ChangePageCommand"] = ca.confidant.glory.controller.ChangePageCommand; -ca.confidant.glory.controller.ChangePageCommand.__name__ = ["ca","confidant","glory","controller","ChangePageCommand"]; -ca.confidant.glory.controller.ChangePageCommand.__super__ = org.puremvc.haxe.patterns.command.SimpleCommand; -ca.confidant.glory.controller.ChangePageCommand.prototype = $extend(org.puremvc.haxe.patterns.command.SimpleCommand.prototype,{ - doTransition: function(id,type) { - var t = new haxe.ds.StringMap(); - t.set("id",id); - t.set("transitionType",type); - this.sendNotification("doTransition",t); - } - ,execute: function(note) { - var _g = this; - haxe.Log.trace("-------------------------" + Std.string(note.getBody()),{ fileName : "ChangePageCommand.hx", lineNumber : 44, className : "ca.confidant.glory.controller.ChangePageCommand", methodName : "execute"}); - this.sp = js.Boot.__cast(this.facade.retrieveProxy(ca.confidant.glory.model.StateProxy.NAME) , ca.confidant.glory.model.StateProxy); - if(this.sp.getState() == ca.confidant.glory.model.GloryState.TRANSITIONING) return; - this.pcp = js.Boot.__cast(this.facade.retrieveProxy("pagesConfigProxy") , ca.confidant.glory.model.PagesConfigProxy); - this.appMediator = js.Boot.__cast(this.facade.retrieveMediator("ApplicationMediator") , ca.confidant.glory.view.ApplicationMediator); - var action; - action = js.Boot.__cast(note.getBody() , String); - var waitTimerOut; - var outPageId; - var this1 = this.pcp.getCurrentPage(); - outPageId = this1.get("id"); - this.sp.setState(ca.confidant.glory.model.GloryState.TRANSITIONING); - switch(action) { - case "pageForward": - var nextPage = this.pcp.getNextPage(); - if(nextPage != null) { - this.doTransition(outPageId,"out"); - waitTimerOut = new haxe.Timer(this.pcp.getPageTransitionOutTime(outPageId) * 1000); - haxe.Log.trace("out time:" + this.pcp.getPageTransitionOutTime(outPageId),{ fileName : "ChangePageCommand.hx", lineNumber : 62, className : "ca.confidant.glory.controller.ChangePageCommand", methodName : "execute"}); - waitTimerOut.run = function() { - waitTimerOut.stop(); - _g.sendNotification("removePage",outPageId); - _g.sendNotification("destroyPageSounds",outPageId); - _g.sendNotification("initPageSounds",nextPage.get("id")); - _g.sendNotification("buildPage",nextPage.get("id")); - _g.pcp.setCurrentPageById(nextPage.get("id")); - _g.sp.setState(ca.confidant.glory.model.GloryState.READY); - }; - } - break; - case "pageBackward": - var prevPage = this.pcp.getPreviousPage(); - if(prevPage != null) { - this.doTransition(outPageId,"out"); - waitTimerOut = new haxe.Timer(this.pcp.getPageTransitionOutTime(outPageId) * 1000); - haxe.Log.trace("out time:" + this.pcp.getPageTransitionOutTime(outPageId),{ fileName : "ChangePageCommand.hx", lineNumber : 81, className : "ca.confidant.glory.controller.ChangePageCommand", methodName : "execute"}); - waitTimerOut.run = function() { - waitTimerOut.stop(); - _g.sendNotification("removePage",outPageId); - _g.sendNotification("destroyPageSounds",outPageId); - _g.sendNotification("initPageSounds",prevPage.get("id")); - _g.sendNotification("buildPage",prevPage.get("id")); - _g.pcp.setCurrentPageById(prevPage.get("id")); - _g.sp.setState(ca.confidant.glory.model.GloryState.READY); - }; - } - break; - default: - var p = this.pcp.getPageById(action); - var overlay = p.get("type") == "overlay"; - if(p != null) { - if(!overlay) { - this.doTransition(outPageId,"out"); - waitTimerOut = new haxe.Timer(this.pcp.getPageTransitionOutTime(outPageId) * 1000); - haxe.Log.trace("out time:" + this.pcp.getPageTransitionOutTime(outPageId),{ fileName : "ChangePageCommand.hx", lineNumber : 105, className : "ca.confidant.glory.controller.ChangePageCommand", methodName : "execute"}); - waitTimerOut.run = function() { - waitTimerOut.stop(); - _g.sendNotification("removePage",outPageId); - _g.sendNotification("destroyPageSounds",outPageId); - _g.sendNotification("initPageSounds",p.get("id")); - _g.sendNotification("buildPage",p.get("id")); - _g.pcp.setCurrentPageById(p.get("id")); - _g.sp.setState(ca.confidant.glory.model.GloryState.READY); - }; - } else { - this.sendNotification("initPageSounds",p.get("id")); - this.sendNotification("buildPage",p.get("id")); - this.sp.setState(ca.confidant.glory.model.GloryState.READY); - } - } - } - } - ,__class__: ca.confidant.glory.controller.ChangePageCommand -}); -ca.confidant.glory.controller.DestroyPageSoundsCommand = function() { - org.puremvc.haxe.patterns.command.SimpleCommand.call(this); -}; -$hxClasses["ca.confidant.glory.controller.DestroyPageSoundsCommand"] = ca.confidant.glory.controller.DestroyPageSoundsCommand; -ca.confidant.glory.controller.DestroyPageSoundsCommand.__name__ = ["ca","confidant","glory","controller","DestroyPageSoundsCommand"]; -ca.confidant.glory.controller.DestroyPageSoundsCommand.__super__ = org.puremvc.haxe.patterns.command.SimpleCommand; -ca.confidant.glory.controller.DestroyPageSoundsCommand.prototype = $extend(org.puremvc.haxe.patterns.command.SimpleCommand.prototype,{ - execute: function(note) { - haxe.Log.trace("DestroyPageSoundsCommand",{ fileName : "DestroyPageSoundsCommand.hx", lineNumber : 21, className : "ca.confidant.glory.controller.DestroyPageSoundsCommand", methodName : "execute"}); - var pcp; - pcp = js.Boot.__cast(this.facade.retrieveProxy("pagesConfigProxy") , ca.confidant.glory.model.PagesConfigProxy); - var pageId; - pageId = js.Boot.__cast(note.getBody() , String); - var sounds = pcp.getPageSounds(pageId); - if(sounds.length > 0) { - var $it0 = sounds.iterator(); - while( $it0.hasNext() ) { - var thisSound = $it0.next(); - haxe.Log.trace("Removed sound:" + thisSound.att.resolve("id"),{ fileName : "DestroyPageSoundsCommand.hx", lineNumber : 29, className : "ca.confidant.glory.controller.DestroyPageSoundsCommand", methodName : "execute"}); - this.facade.removeMediator(thisSound.att.resolve("id")); - } - } - } - ,__class__: ca.confidant.glory.controller.DestroyPageSoundsCommand -}); -ca.confidant.glory.controller.GotoIntroCommand = function() { - org.puremvc.haxe.patterns.command.SimpleCommand.call(this); -}; -$hxClasses["ca.confidant.glory.controller.GotoIntroCommand"] = ca.confidant.glory.controller.GotoIntroCommand; -ca.confidant.glory.controller.GotoIntroCommand.__name__ = ["ca","confidant","glory","controller","GotoIntroCommand"]; -ca.confidant.glory.controller.GotoIntroCommand.__super__ = org.puremvc.haxe.patterns.command.SimpleCommand; -ca.confidant.glory.controller.GotoIntroCommand.prototype = $extend(org.puremvc.haxe.patterns.command.SimpleCommand.prototype,{ - execute: function(note) { - haxe.Log.trace("GotoIntroCommand",{ fileName : "GotoIntroCommand.hx", lineNumber : 25, className : "ca.confidant.glory.controller.GotoIntroCommand", methodName : "execute"}); - this.sendNotification("buildControls"); - this.sendNotification("buildPage","title"); - this.sendNotification("initPageSounds","title"); - } - ,__class__: ca.confidant.glory.controller.GotoIntroCommand -}); -ca.confidant.glory.controller.HandleAssetsLoadedCommand = function() { - org.puremvc.haxe.patterns.command.SimpleCommand.call(this); -}; -$hxClasses["ca.confidant.glory.controller.HandleAssetsLoadedCommand"] = ca.confidant.glory.controller.HandleAssetsLoadedCommand; -ca.confidant.glory.controller.HandleAssetsLoadedCommand.__name__ = ["ca","confidant","glory","controller","HandleAssetsLoadedCommand"]; -ca.confidant.glory.controller.HandleAssetsLoadedCommand.__super__ = org.puremvc.haxe.patterns.command.SimpleCommand; -ca.confidant.glory.controller.HandleAssetsLoadedCommand.prototype = $extend(org.puremvc.haxe.patterns.command.SimpleCommand.prototype,{ - execute: function(note) { - haxe.Log.trace("HandleAssetsLoadedCommand",{ fileName : "HandleAssetsLoadedCommand.hx", lineNumber : 30, className : "ca.confidant.glory.controller.HandleAssetsLoadedCommand", methodName : "execute"}); - var lp; - lp = js.Boot.__cast(this.facade.retrieveProxy(ca.confidant.glory.model.LoaderProxy.NAME) , ca.confidant.glory.model.LoaderProxy); - var assetID; - assetID = js.Boot.__cast(note.getBody() , String); - if(assetID == "xml") { - var pcp; - pcp = js.Boot.__cast(this.facade.retrieveProxy("pagesConfigProxy") , ca.confidant.glory.model.PagesConfigProxy); - pcp.loadXML(lp.retrieveLoadedAsset(assetID)); - } - } - ,__class__: ca.confidant.glory.controller.HandleAssetsLoadedCommand -}); -ca.confidant.glory.controller.InitPageSoundsCommand = function() { - org.puremvc.haxe.patterns.command.SimpleCommand.call(this); -}; -$hxClasses["ca.confidant.glory.controller.InitPageSoundsCommand"] = ca.confidant.glory.controller.InitPageSoundsCommand; -ca.confidant.glory.controller.InitPageSoundsCommand.__name__ = ["ca","confidant","glory","controller","InitPageSoundsCommand"]; -ca.confidant.glory.controller.InitPageSoundsCommand.__super__ = org.puremvc.haxe.patterns.command.SimpleCommand; -ca.confidant.glory.controller.InitPageSoundsCommand.prototype = $extend(org.puremvc.haxe.patterns.command.SimpleCommand.prototype,{ - execute: function(note) { - haxe.Log.trace("InitPageSoundsCommand",{ fileName : "InitPageSoundsCommand.hx", lineNumber : 21, className : "ca.confidant.glory.controller.InitPageSoundsCommand", methodName : "execute"}); - var pcp; - pcp = js.Boot.__cast(this.facade.retrieveProxy("pagesConfigProxy") , ca.confidant.glory.model.PagesConfigProxy); - var pageId; - pageId = js.Boot.__cast(note.getBody() , String); - var sounds = pcp.getPageSounds(pageId); - if(sounds.length > 0) { - var $it0 = sounds.iterator(); - while( $it0.hasNext() ) { - var thisSound = $it0.next(); - haxe.Log.trace("adding sound:" + thisSound.att.resolve("src") + ":" + thisSound.att.resolve("id"),{ fileName : "InitPageSoundsCommand.hx", lineNumber : 28, className : "ca.confidant.glory.controller.InitPageSoundsCommand", methodName : "execute"}); - var s = openfl.Assets.getSound("assets/" + thisSound.att.resolve("src")); - this.facade.registerMediator(new ca.confidant.glory.view.SoundMediator(thisSound.att.resolve("id"),s)); - if(thisSound.att.resolve("autoPlay") == "true") this.sendNotification("playSound",thisSound.att.resolve("id")); - } - } - } - ,__class__: ca.confidant.glory.controller.InitPageSoundsCommand -}); -ca.confidant.glory.controller.RemovePageCommand = function() { - org.puremvc.haxe.patterns.command.SimpleCommand.call(this); -}; -$hxClasses["ca.confidant.glory.controller.RemovePageCommand"] = ca.confidant.glory.controller.RemovePageCommand; -ca.confidant.glory.controller.RemovePageCommand.__name__ = ["ca","confidant","glory","controller","RemovePageCommand"]; -ca.confidant.glory.controller.RemovePageCommand.__super__ = org.puremvc.haxe.patterns.command.SimpleCommand; -ca.confidant.glory.controller.RemovePageCommand.prototype = $extend(org.puremvc.haxe.patterns.command.SimpleCommand.prototype,{ - execute: function(note) { - var pageId; - pageId = js.Boot.__cast(note.getBody() , String); - this.pcp = js.Boot.__cast(this.facade.retrieveProxy("pagesConfigProxy") , ca.confidant.glory.model.PagesConfigProxy); - this.appMediator = js.Boot.__cast(this.facade.retrieveMediator("ApplicationMediator") , ca.confidant.glory.view.ApplicationMediator); - this.crp = js.Boot.__cast(this.facade.retrieveProxy(ca.confidant.glory.model.ControlsRegistryProxy.NAME) , ca.confidant.glory.model.ControlsRegistryProxy); - var pageMediator; - pageMediator = js.Boot.__cast(this.facade.retrieveMediator(pageId) , ca.confidant.glory.view.PageMediator); - var s; - s = js.Boot.__cast(pageMediator.getViewComponent() , openfl.display.Sprite); - while(s.get_numChildren() > 0) { - var child = s.getChildAt(0); - if(this.facade.hasMediator(child.get_name())) this.facade.removeMediator(child.get_name()); - if(this.facade.hasProxy(child.get_name())) this.facade.removeProxy(child.get_name()); - s.removeChild(child); - child = null; - } - pageMediator = null; - this.facade.removeMediator(pageId); - this.appMediator.removeDisplayObject(s); - s = null; - } - ,__class__: ca.confidant.glory.controller.RemovePageCommand -}); -ca.confidant.glory.controller.Startup0_RegCommands_Command = function() { - org.puremvc.haxe.patterns.command.SimpleCommand.call(this); -}; -$hxClasses["ca.confidant.glory.controller.Startup0_RegCommands_Command"] = ca.confidant.glory.controller.Startup0_RegCommands_Command; -ca.confidant.glory.controller.Startup0_RegCommands_Command.__name__ = ["ca","confidant","glory","controller","Startup0_RegCommands_Command"]; -ca.confidant.glory.controller.Startup0_RegCommands_Command.__super__ = org.puremvc.haxe.patterns.command.SimpleCommand; -ca.confidant.glory.controller.Startup0_RegCommands_Command.prototype = $extend(org.puremvc.haxe.patterns.command.SimpleCommand.prototype,{ - execute: function(note) { - this.facade.registerCommand("assetsLoaded",ca.confidant.glory.controller.HandleAssetsLoadedCommand); - this.facade.registerCommand("pagesConfigReady",ca.confidant.glory.controller.GotoIntroCommand); - this.facade.registerCommand("buildControls",ca.confidant.glory.controller.BuildControlsCommand); - this.facade.registerCommand("buildPage",ca.confidant.glory.controller.BuildPageCommand); - this.facade.registerCommand("removePage",ca.confidant.glory.controller.RemovePageCommand); - this.facade.registerCommand("changePage",ca.confidant.glory.controller.ChangePageCommand); - this.facade.registerCommand("timerEnable",ca.confidant.glory.controller.TimerEnableCommand); - this.facade.registerCommand("timerDisable",ca.confidant.glory.controller.TimerDisableCommand); - this.facade.registerCommand("initPageSounds",ca.confidant.glory.controller.InitPageSoundsCommand); - this.facade.registerCommand("destroyPageSounds",ca.confidant.glory.controller.DestroyPageSoundsCommand); - } - ,__class__: ca.confidant.glory.controller.Startup0_RegCommands_Command -}); -ca.confidant.glory.controller.Startup1_App_Command = function() { - org.puremvc.haxe.patterns.command.SimpleCommand.call(this); -}; -$hxClasses["ca.confidant.glory.controller.Startup1_App_Command"] = ca.confidant.glory.controller.Startup1_App_Command; -ca.confidant.glory.controller.Startup1_App_Command.__name__ = ["ca","confidant","glory","controller","Startup1_App_Command"]; -ca.confidant.glory.controller.Startup1_App_Command.__super__ = org.puremvc.haxe.patterns.command.SimpleCommand; -ca.confidant.glory.controller.Startup1_App_Command.prototype = $extend(org.puremvc.haxe.patterns.command.SimpleCommand.prototype,{ - execute: function(note) { - var app; - app = js.Boot.__cast(note.getBody() , ca.confidant.glory.GloryFrameworkApp); - var appMediator = new ca.confidant.glory.view.ApplicationMediator(app); - this.facade.registerMediator(appMediator); - } - ,__class__: ca.confidant.glory.controller.Startup1_App_Command -}); -ca.confidant.glory.controller.Startup2_Proxies_Command = function() { - org.puremvc.haxe.patterns.command.SimpleCommand.call(this); -}; -$hxClasses["ca.confidant.glory.controller.Startup2_Proxies_Command"] = ca.confidant.glory.controller.Startup2_Proxies_Command; -ca.confidant.glory.controller.Startup2_Proxies_Command.__name__ = ["ca","confidant","glory","controller","Startup2_Proxies_Command"]; -ca.confidant.glory.controller.Startup2_Proxies_Command.__super__ = org.puremvc.haxe.patterns.command.SimpleCommand; -ca.confidant.glory.controller.Startup2_Proxies_Command.prototype = $extend(org.puremvc.haxe.patterns.command.SimpleCommand.prototype,{ - execute: function(note) { - this.facade.registerProxy(new ca.confidant.glory.model.PagesConfigProxy()); - this.facade.registerProxy(new ca.confidant.glory.model.ControlsRegistryProxy()); - this.facade.registerProxy(new ca.confidant.glory.model.StateProxy()); - var lp = new ca.confidant.glory.model.LoaderProxy(); - this.facade.registerProxy(lp); - lp.loadXML("assets/config.xml"); - } - ,__class__: ca.confidant.glory.controller.Startup2_Proxies_Command -}); -org.puremvc.haxe.patterns.command.MacroCommand = function() { - org.puremvc.haxe.patterns.observer.Notifier.call(this); - this.subCommands = new List(); - this.initializeMacroCommand(); -}; -$hxClasses["org.puremvc.haxe.patterns.command.MacroCommand"] = org.puremvc.haxe.patterns.command.MacroCommand; -org.puremvc.haxe.patterns.command.MacroCommand.__name__ = ["org","puremvc","haxe","patterns","command","MacroCommand"]; -org.puremvc.haxe.patterns.command.MacroCommand.__interfaces__ = [org.puremvc.haxe.interfaces.ICommand]; -org.puremvc.haxe.patterns.command.MacroCommand.__super__ = org.puremvc.haxe.patterns.observer.Notifier; -org.puremvc.haxe.patterns.command.MacroCommand.prototype = $extend(org.puremvc.haxe.patterns.observer.Notifier.prototype,{ - initializeMacroCommand: function() { - } - ,addSubCommand: function(commandClassRef) { - this.subCommands.add(commandClassRef); - } - ,execute: function(notification) { - while(!this.subCommands.isEmpty()) { - var commandClassRef = this.subCommands.pop(); - var commandInstance = Type.createInstance(commandClassRef,[]); - commandInstance.execute(notification); - } - } - ,__class__: org.puremvc.haxe.patterns.command.MacroCommand -}); -ca.confidant.glory.controller.StartupCommand = function() { - org.puremvc.haxe.patterns.command.MacroCommand.call(this); -}; -$hxClasses["ca.confidant.glory.controller.StartupCommand"] = ca.confidant.glory.controller.StartupCommand; -ca.confidant.glory.controller.StartupCommand.__name__ = ["ca","confidant","glory","controller","StartupCommand"]; -ca.confidant.glory.controller.StartupCommand.__super__ = org.puremvc.haxe.patterns.command.MacroCommand; -ca.confidant.glory.controller.StartupCommand.prototype = $extend(org.puremvc.haxe.patterns.command.MacroCommand.prototype,{ - initializeMacroCommand: function() { - this.addSubCommand(ca.confidant.glory.controller.Startup0_RegCommands_Command); - this.addSubCommand(ca.confidant.glory.controller.Startup1_App_Command); - this.addSubCommand(ca.confidant.glory.controller.Startup2_Proxies_Command); - } - ,__class__: ca.confidant.glory.controller.StartupCommand -}); -ca.confidant.glory.controller.TimerDisableCommand = function() { - org.puremvc.haxe.patterns.command.SimpleCommand.call(this); -}; -$hxClasses["ca.confidant.glory.controller.TimerDisableCommand"] = ca.confidant.glory.controller.TimerDisableCommand; -ca.confidant.glory.controller.TimerDisableCommand.__name__ = ["ca","confidant","glory","controller","TimerDisableCommand"]; -ca.confidant.glory.controller.TimerDisableCommand.__super__ = org.puremvc.haxe.patterns.command.SimpleCommand; -ca.confidant.glory.controller.TimerDisableCommand.prototype = $extend(org.puremvc.haxe.patterns.command.SimpleCommand.prototype,{ - execute: function(note) { - haxe.Log.trace("TimerDisableCommand",{ fileName : "TimerDisableCommand.hx", lineNumber : 22, className : "ca.confidant.glory.controller.TimerDisableCommand", methodName : "execute"}); - if(this.facade.hasProxy(ca.confidant.glory.model.TickerProxy.NAME)) { - var p; - p = js.Boot.__cast(this.facade.retrieveProxy(ca.confidant.glory.model.TickerProxy.NAME) , ca.confidant.glory.model.TickerProxy); - p.stopTimer(); - } - } - ,__class__: ca.confidant.glory.controller.TimerDisableCommand -}); -ca.confidant.glory.controller.TimerEnableCommand = function() { - org.puremvc.haxe.patterns.command.SimpleCommand.call(this); -}; -$hxClasses["ca.confidant.glory.controller.TimerEnableCommand"] = ca.confidant.glory.controller.TimerEnableCommand; -ca.confidant.glory.controller.TimerEnableCommand.__name__ = ["ca","confidant","glory","controller","TimerEnableCommand"]; -ca.confidant.glory.controller.TimerEnableCommand.__super__ = org.puremvc.haxe.patterns.command.SimpleCommand; -ca.confidant.glory.controller.TimerEnableCommand.prototype = $extend(org.puremvc.haxe.patterns.command.SimpleCommand.prototype,{ - execute: function(note) { - var p; - if(!this.facade.hasProxy(ca.confidant.glory.model.TickerProxy.NAME)) { - p = new ca.confidant.glory.model.TickerProxy(); - this.facade.registerProxy(p); - } else p = js.Boot.__cast(this.facade.retrieveProxy(ca.confidant.glory.model.TickerProxy.NAME) , ca.confidant.glory.model.TickerProxy); - var interval; - interval = js.Boot.__cast(note.getBody() , Int); - p.startTimer(interval); - } - ,__class__: ca.confidant.glory.controller.TimerEnableCommand -}); -org.puremvc.haxe.interfaces.IProxy = function() { }; -$hxClasses["org.puremvc.haxe.interfaces.IProxy"] = org.puremvc.haxe.interfaces.IProxy; -org.puremvc.haxe.interfaces.IProxy.__name__ = ["org","puremvc","haxe","interfaces","IProxy"]; -org.puremvc.haxe.interfaces.IProxy.prototype = { - __class__: org.puremvc.haxe.interfaces.IProxy -}; -org.puremvc.haxe.patterns.proxy = {}; -org.puremvc.haxe.patterns.proxy.Proxy = function(proxyName,data) { - org.puremvc.haxe.patterns.observer.Notifier.call(this); - if(proxyName != null) this.proxyName = proxyName; else this.proxyName = org.puremvc.haxe.patterns.proxy.Proxy.NAME; - if(data != null) this.setData(data); -}; -$hxClasses["org.puremvc.haxe.patterns.proxy.Proxy"] = org.puremvc.haxe.patterns.proxy.Proxy; -org.puremvc.haxe.patterns.proxy.Proxy.__name__ = ["org","puremvc","haxe","patterns","proxy","Proxy"]; -org.puremvc.haxe.patterns.proxy.Proxy.__interfaces__ = [org.puremvc.haxe.interfaces.IProxy]; -org.puremvc.haxe.patterns.proxy.Proxy.__super__ = org.puremvc.haxe.patterns.observer.Notifier; -org.puremvc.haxe.patterns.proxy.Proxy.prototype = $extend(org.puremvc.haxe.patterns.observer.Notifier.prototype,{ - getProxyName: function() { - return this.proxyName; - } - ,setData: function(data) { - this.data = data; - } - ,getData: function() { - return this.data; - } - ,onRegister: function() { - } - ,onRemove: function() { - } - ,__class__: org.puremvc.haxe.patterns.proxy.Proxy -}); -ca.confidant.glory.model = {}; -ca.confidant.glory.model.ActorComponentConfigProxy = function(id,theType,theAction) { - if(theAction == null) theAction = ""; - org.puremvc.haxe.patterns.proxy.Proxy.call(this,id); - this.type = theType; - this.action = theAction; -}; -$hxClasses["ca.confidant.glory.model.ActorComponentConfigProxy"] = ca.confidant.glory.model.ActorComponentConfigProxy; -ca.confidant.glory.model.ActorComponentConfigProxy.__name__ = ["ca","confidant","glory","model","ActorComponentConfigProxy"]; -ca.confidant.glory.model.ActorComponentConfigProxy.__super__ = org.puremvc.haxe.patterns.proxy.Proxy; -ca.confidant.glory.model.ActorComponentConfigProxy.prototype = $extend(org.puremvc.haxe.patterns.proxy.Proxy.prototype,{ - __class__: ca.confidant.glory.model.ActorComponentConfigProxy -}); -ca.confidant.glory.model.ControlsRegistryProxy = function() { - org.puremvc.haxe.patterns.proxy.Proxy.call(this,ca.confidant.glory.model.ControlsRegistryProxy.NAME); - this.controls = new Array(); -}; -$hxClasses["ca.confidant.glory.model.ControlsRegistryProxy"] = ca.confidant.glory.model.ControlsRegistryProxy; -ca.confidant.glory.model.ControlsRegistryProxy.__name__ = ["ca","confidant","glory","model","ControlsRegistryProxy"]; -ca.confidant.glory.model.ControlsRegistryProxy.__super__ = org.puremvc.haxe.patterns.proxy.Proxy; -ca.confidant.glory.model.ControlsRegistryProxy.prototype = $extend(org.puremvc.haxe.patterns.proxy.Proxy.prototype,{ - getControls: function() { - return this.controls; - } - ,registerControl: function(d) { - this.controls.push(d); - } - ,__class__: ca.confidant.glory.model.ControlsRegistryProxy -}); -ca.confidant.glory.model.LoaderProxy = function() { - org.puremvc.haxe.patterns.proxy.Proxy.call(this,ca.confidant.glory.model.LoaderProxy.NAME); - this.loadedItems = new haxe.ds.StringMap(); -}; -$hxClasses["ca.confidant.glory.model.LoaderProxy"] = ca.confidant.glory.model.LoaderProxy; -ca.confidant.glory.model.LoaderProxy.__name__ = ["ca","confidant","glory","model","LoaderProxy"]; -ca.confidant.glory.model.LoaderProxy.__super__ = org.puremvc.haxe.patterns.proxy.Proxy; -ca.confidant.glory.model.LoaderProxy.prototype = $extend(org.puremvc.haxe.patterns.proxy.Proxy.prototype,{ - loadXML: function(src) { - var x = openfl.Assets.getText(src); - this.loadedItems.set("xml",x); - this.sendNotification("assetsLoaded","xml"); - } - ,retrieveLoadedAsset: function(key) { - var r = this.loadedItems.get(key); - this.loadedItems.remove(key); - return r; - } - ,getText: function(id) { - var theText = openfl.Assets.getText(id); - return theText; - } - ,getBitmapData: function(id,b) { - if(b == null) b = true; - var imageData = openfl.Assets.getBitmapData(id,b); - return imageData; - } - ,loadAllAssets: function() { - this.sendNotification("assetsLoaded"); - } - ,__class__: ca.confidant.glory.model.LoaderProxy -}); -ca.confidant.glory.model.PagesConfigProxy = function() { - org.puremvc.haxe.patterns.proxy.Proxy.call(this,"pagesConfigProxy"); -}; -$hxClasses["ca.confidant.glory.model.PagesConfigProxy"] = ca.confidant.glory.model.PagesConfigProxy; -ca.confidant.glory.model.PagesConfigProxy.__name__ = ["ca","confidant","glory","model","PagesConfigProxy"]; -ca.confidant.glory.model.PagesConfigProxy.__super__ = org.puremvc.haxe.patterns.proxy.Proxy; -ca.confidant.glory.model.PagesConfigProxy.prototype = $extend(org.puremvc.haxe.patterns.proxy.Proxy.prototype,{ - loadXML: function(rawXML) { - this.randomPicks = new Array(); - this.positions = new Array(); - this.randomPositions = new Array(); - this.currentPage = 0; - this._pagesXML = Xml.parse(rawXML); - this.fast = new haxe.xml.Fast(this._pagesXML.firstElement()); - this.parseXML(); - } - ,getCurrentPage: function() { - return this.allPages[this.currentPage]; - } - ,setPageOutTime: function(id,t) { - var _g1 = 0; - var _g = this.allPages.length; - while(_g1 < _g) { - var i = _g1++; - if(this.allPages[i].get("id") == id) { - } - } - } - ,setCurrentPageById: function(id) { - var _g1 = 0; - var _g = this.allPages.length; - while(_g1 < _g) { - var i = _g1++; - if(this.allPages[i].get("id") == id) this.currentPage = i; - } - } - ,getPageById: function(id) { - var _g1 = 0; - var _g = this.allPages.length; - while(_g1 < _g) { - var i = _g1++; - if(this.allPages[i].get("id") == id) return this.allPages[i]; - } - return null; - } - ,getNextPage: function() { - var j = 1; - while(this.currentPage + j < this.allPages.length) if(this.allPages[this.currentPage + j].get("type") == "normal") return this.allPages[this.currentPage + j]; else j++; - return null; - } - ,getPreviousPage: function() { - var j = 1; - while(this.currentPage - j >= 0) if(this.allPages[this.currentPage - j].get("type") == "normal") return this.allPages[this.currentPage - j]; else j++; - return null; - } - ,getPageTransitionOutTime: function(pageId) { - var p = this.getPage(pageId); - if(p != null && p.get("transitionOutTime") != null) return p.get("transitionOutTime"); else return 1; - } - ,getPageActors: function(pageId) { - var p = this.getPage(pageId); - if(p != null && p.get("actors") != null) return p.get("actors"); else return new List(); - } - ,getPageSounds: function(pageId) { - var p = this.getPage(pageId); - if(p != null && p.get("sounds") != null) return p.get("sounds"); else return new List(); - } - ,getAppControls: function() { - if(this.fast.node.resolve("controls").hasNode.resolve("button")) return this.fast.node.resolve("controls").nodes.resolve("button"); - return new List(); - } - ,getControlHref: function(controlId) { - if(this.fast.node.resolve("controls").hasNode.resolve("button")) { - var $it0 = this.fast.node.resolve("controls").nodes.resolve("button").iterator(); - while( $it0.hasNext() ) { - var node = $it0.next(); - if(node.att.resolve("id") == controlId) return node.att.resolve("href"); - } - } - return "#"; - } - ,getActorHref: function(controlId) { - if(this.fast.node.resolve("page").hasNode.resolve("actor")) { - var $it0 = this.fast.node.resolve("page").nodes.resolve("actor").iterator(); - while( $it0.hasNext() ) { - var node = $it0.next(); - if(node.att.resolve("id") == controlId) return node.att.resolve("href"); - } - } - return "#"; - } - ,getPage: function(pageId) { - var _g = 0; - var _g1 = this.allPages; - while(_g < _g1.length) { - var thispage = _g1[_g]; - ++_g; - if(thispage.get("id") == pageId) return thispage; - } - return null; - } - ,getPosition: function(i) { - return this.randomPositions[i]; - } - ,numpages: function() { - return this.allPages.length; - } - ,parseXML: function() { - this.allPages = new Array(); - this.imageItems = new Array(); - var $it0 = this.fast.nodes.resolve("page").iterator(); - while( $it0.hasNext() ) { - var thispage = $it0.next(); - var h = new haxe.ds.StringMap(); - if(thispage.has.resolve("id")) { - var value = thispage.att.resolve("id"); - h.set("id",value); - } - if(thispage.has.resolve("src")) { - var value1 = thispage.att.resolve("src"); - h.set("src",value1); - } - if(thispage.has.resolve("type")) { - var value2 = thispage.att.resolve("type"); - h.set("type",value2); - } - if(thispage.has.resolve("transitionOutTime")) { - var value3 = thispage.att.resolve("transitionOutTime"); - h.set("transitionOutTime",value3); - } - if(thispage.has.resolve("transitionInTime")) { - var value4 = thispage.att.resolve("transitionInTime"); - h.set("transitionInTime",value4); - } - if(thispage.hasNode.resolve("actor")) { - var value5 = thispage.nodes.resolve("actor"); - h.set("actors",value5); - } - if(thispage.hasNode.resolve("sound")) { - var value6 = thispage.nodes.resolve("sound"); - h.set("sounds",value6); - } - this.allPages.push(h); - } - this.sendNotification("pagesConfigReady"); - } - ,getConfigXML: function(i) { - return this.randomPicks[i].config; - } - ,pagesXML: function() { - return this._pagesXML; - } - ,__class__: ca.confidant.glory.model.PagesConfigProxy -}); -ca.confidant.glory.model.GloryState = $hxClasses["ca.confidant.glory.model.GloryState"] = { __ename__ : true, __constructs__ : ["TRANSITIONING","READY"] }; -ca.confidant.glory.model.GloryState.TRANSITIONING = ["TRANSITIONING",0]; -ca.confidant.glory.model.GloryState.TRANSITIONING.toString = $estr; -ca.confidant.glory.model.GloryState.TRANSITIONING.__enum__ = ca.confidant.glory.model.GloryState; -ca.confidant.glory.model.GloryState.READY = ["READY",1]; -ca.confidant.glory.model.GloryState.READY.toString = $estr; -ca.confidant.glory.model.GloryState.READY.__enum__ = ca.confidant.glory.model.GloryState; -ca.confidant.glory.model.StateProxy = function() { - org.puremvc.haxe.patterns.proxy.Proxy.call(this,ca.confidant.glory.model.StateProxy.NAME); - this.currentState = ca.confidant.glory.model.GloryState.READY; -}; -$hxClasses["ca.confidant.glory.model.StateProxy"] = ca.confidant.glory.model.StateProxy; -ca.confidant.glory.model.StateProxy.__name__ = ["ca","confidant","glory","model","StateProxy"]; -ca.confidant.glory.model.StateProxy.__super__ = org.puremvc.haxe.patterns.proxy.Proxy; -ca.confidant.glory.model.StateProxy.prototype = $extend(org.puremvc.haxe.patterns.proxy.Proxy.prototype,{ - setState: function(s) { - this.currentState = s; - } - ,getState: function() { - return this.currentState; - } - ,__class__: ca.confidant.glory.model.StateProxy -}); -ca.confidant.glory.model.TickerProxy = function() { - org.puremvc.haxe.patterns.proxy.Proxy.call(this,ca.confidant.glory.model.TickerProxy.NAME); -}; -$hxClasses["ca.confidant.glory.model.TickerProxy"] = ca.confidant.glory.model.TickerProxy; -ca.confidant.glory.model.TickerProxy.__name__ = ["ca","confidant","glory","model","TickerProxy"]; -ca.confidant.glory.model.TickerProxy.__super__ = org.puremvc.haxe.patterns.proxy.Proxy; -ca.confidant.glory.model.TickerProxy.prototype = $extend(org.puremvc.haxe.patterns.proxy.Proxy.prototype,{ - startTimer: function(i) { - if(i == null) i = 0; - this.myTimer = new haxe.Timer(this.interval); - this.myTimer.run = $bind(this,this.onTimerTick); - } - ,stopTimer: function() { - this.myTimer.stop(); - } - ,onTimerTick: function() { - this.sendNotification("timerTick"); - } - ,setInterval: function(i) { - this.interval = i; - } - ,__class__: ca.confidant.glory.model.TickerProxy -}); -org.puremvc.haxe.interfaces.IMediator = function() { }; -$hxClasses["org.puremvc.haxe.interfaces.IMediator"] = org.puremvc.haxe.interfaces.IMediator; -org.puremvc.haxe.interfaces.IMediator.__name__ = ["org","puremvc","haxe","interfaces","IMediator"]; -org.puremvc.haxe.interfaces.IMediator.prototype = { - __class__: org.puremvc.haxe.interfaces.IMediator -}; -org.puremvc.haxe.patterns.mediator = {}; -org.puremvc.haxe.patterns.mediator.Mediator = function(mediatorName,viewComponent) { - org.puremvc.haxe.patterns.observer.Notifier.call(this); - if(mediatorName != null) this.mediatorName = mediatorName; else this.mediatorName = org.puremvc.haxe.patterns.mediator.Mediator.NAME; - if(viewComponent != null) this.viewComponent = viewComponent; -}; -$hxClasses["org.puremvc.haxe.patterns.mediator.Mediator"] = org.puremvc.haxe.patterns.mediator.Mediator; -org.puremvc.haxe.patterns.mediator.Mediator.__name__ = ["org","puremvc","haxe","patterns","mediator","Mediator"]; -org.puremvc.haxe.patterns.mediator.Mediator.__interfaces__ = [org.puremvc.haxe.interfaces.IMediator]; -org.puremvc.haxe.patterns.mediator.Mediator.__super__ = org.puremvc.haxe.patterns.observer.Notifier; -org.puremvc.haxe.patterns.mediator.Mediator.prototype = $extend(org.puremvc.haxe.patterns.observer.Notifier.prototype,{ - getMediatorName: function() { - return this.mediatorName; - } - ,setViewComponent: function(viewComponent) { - this.viewComponent = viewComponent; - } - ,getViewComponent: function() { - return this.viewComponent; - } - ,listNotificationInterests: function() { - return []; - } - ,handleNotification: function(notification) { - } - ,onRegister: function() { - } - ,onRemove: function() { - } - ,__class__: org.puremvc.haxe.patterns.mediator.Mediator -}); -ca.confidant.glory.view = {}; -ca.confidant.glory.view.ActorComponentMediator = function(id,viewComponent,accp) { - org.puremvc.haxe.patterns.mediator.Mediator.call(this,id,viewComponent); - this.config = accp; - this.addListeners(); -}; -$hxClasses["ca.confidant.glory.view.ActorComponentMediator"] = ca.confidant.glory.view.ActorComponentMediator; -ca.confidant.glory.view.ActorComponentMediator.__name__ = ["ca","confidant","glory","view","ActorComponentMediator"]; -ca.confidant.glory.view.ActorComponentMediator.__super__ = org.puremvc.haxe.patterns.mediator.Mediator; -ca.confidant.glory.view.ActorComponentMediator.prototype = $extend(org.puremvc.haxe.patterns.mediator.Mediator.prototype,{ - addListeners: function() { - this.actor().addEventListener(openfl.events.MouseEvent.CLICK,$bind(this,this.onActorClicked)); - this.actor().mouseEnabled = true; - if(this.type == "getURL") { - this.actor().useHandCursor = true; - this.actor().buttonMode = true; - } - } - ,onActorClicked: function(e) { - var a = e.currentTarget; - haxe.Log.trace(a.name,{ fileName : "ActorComponentMediator.hx", lineNumber : 48, className : "ca.confidant.glory.view.ActorComponentMediator", methodName : "onActorClicked"}); - var _g = this.config.type; - switch(_g) { - case "control": - var pcp; - pcp = js.Boot.__cast(this.facade.retrieveProxy("pagesConfigProxy") , ca.confidant.glory.model.PagesConfigProxy); - var actionsArray = this.config.action.split(","); - var _g1 = 0; - while(_g1 < actionsArray.length) { - var thisAction = actionsArray[_g1]; - ++_g1; - var actionArray = thisAction.split(":"); - var _g2 = actionArray[0]; - switch(_g2) { - case "transitionOut": - this.sendNotification("removePage",actionArray[1]); - break; - case "pageSkipTo": - this.sendNotification("changePage",actionArray[1]); - break; - case "pageForward": - this.sendNotification("changePage","pageForward"); - break; - case "pageBackward": - this.sendNotification("changePage","pageBackward"); - break; - case "playSound": - this.sendNotification("playSound",actionArray[1]); - break; - } - } - break; - } - } - ,listNotificationInterests: function() { - return ["timerTick","panLeft","panRight","panStop"]; - } - ,handleNotification: function(note) { - var _g = note.getName(); - switch(_g) { - case "timerTick": - break; - case "panLeft": - this.actor().addEventListener(openfl.events.Event.ENTER_FRAME,$bind(this,this.onPanLeft)); - break; - case "panRight": - this.actor().addEventListener(openfl.events.Event.ENTER_FRAME,$bind(this,this.onPanRight)); - break; - case "panStop": - this.actor().removeEventListener(openfl.events.Event.ENTER_FRAME,$bind(this,this.onPanRight)); - this.actor().removeEventListener(openfl.events.Event.ENTER_FRAME,$bind(this,this.onPanLeft)); - break; - } - } - ,onPanLeft: function(e) { - this.actor().set_x(this.actor().get_x() + 4); - } - ,onPanRight: function(e) { - this.actor().set_x(this.actor().get_x() - 4); - } - ,actor: function() { - return this.viewComponent; - } - ,__class__: ca.confidant.glory.view.ActorComponentMediator -}); -ca.confidant.glory.view.ApplicationMediator = function(viewComponent) { - org.puremvc.haxe.patterns.mediator.Mediator.call(this,"ApplicationMediator",viewComponent); -}; -$hxClasses["ca.confidant.glory.view.ApplicationMediator"] = ca.confidant.glory.view.ApplicationMediator; -ca.confidant.glory.view.ApplicationMediator.__name__ = ["ca","confidant","glory","view","ApplicationMediator"]; -ca.confidant.glory.view.ApplicationMediator.__super__ = org.puremvc.haxe.patterns.mediator.Mediator; -ca.confidant.glory.view.ApplicationMediator.prototype = $extend(org.puremvc.haxe.patterns.mediator.Mediator.prototype,{ - listNotificationInterests: function() { - return ["message"]; - } - ,addDisplayObject: function(d,level) { - if(level == null) level = -1; - if(level == -1) this.getApp().addChild(d); else this.getApp().addChildAt(d,level); - } - ,removeDisplayObject: function(d) { - this.getApp().removeChild(d); - } - ,reportLayers: function() { - var _g1 = 0; - var _g = this.getApp().get_numChildren(); - while(_g1 < _g) { - var i = _g1++; - } - } - ,getIndex: function(d) { - return this.getApp().getChildIndex(d); - } - ,handleNotification: function(note) { - var _g = note.getName(); - switch(_g) { - case "message": - this.getApp().displayMessage(js.Boot.__cast(note.getBody() , String)); - break; - } - } - ,getApp: function() { - return js.Boot.__cast(this.viewComponent , ca.confidant.glory.GloryFrameworkApp); - } - ,__class__: ca.confidant.glory.view.ApplicationMediator -}); -ca.confidant.glory.view.ControlComponentMediator = function(id,viewComponent) { - org.puremvc.haxe.patterns.mediator.Mediator.call(this,id,viewComponent); - this.addListeners(); -}; -$hxClasses["ca.confidant.glory.view.ControlComponentMediator"] = ca.confidant.glory.view.ControlComponentMediator; -ca.confidant.glory.view.ControlComponentMediator.__name__ = ["ca","confidant","glory","view","ControlComponentMediator"]; -ca.confidant.glory.view.ControlComponentMediator.__super__ = org.puremvc.haxe.patterns.mediator.Mediator; -ca.confidant.glory.view.ControlComponentMediator.prototype = $extend(org.puremvc.haxe.patterns.mediator.Mediator.prototype,{ - addListeners: function() { - this.control().addEventListener(openfl.events.MouseEvent.CLICK,$bind(this,this.onControlClicked)); - this.control().addEventListener(openfl.events.MouseEvent.MOUSE_DOWN,$bind(this,this.onMouseDown)); - this.control().addEventListener(openfl.events.MouseEvent.MOUSE_UP,$bind(this,this.onMouseUp)); - this.control().addEventListener(openfl.events.MouseEvent.MOUSE_OUT,$bind(this,this.onMouseUp)); - } - ,onMouseDown: function(e) { - var a = e.currentTarget; - var _g = a.action; - switch(_g) { - case "panRight": - this.sendNotification("panRight"); - break; - case "panLeft": - this.sendNotification("panLeft"); - break; - } - } - ,onMouseUp: function(e) { - var a = e.currentTarget; - var _g = a.action; - switch(_g) { - case "panRight": - this.sendNotification("panStop"); - break; - case "panLeft": - this.sendNotification("panStop"); - break; - } - } - ,onControlClicked: function(e) { - var a = e.currentTarget; - var actionsArray = a.action.split(","); - var _g = 0; - while(_g < actionsArray.length) { - var thisAction = actionsArray[_g]; - ++_g; - var actionArray = thisAction.split(":"); - var _g1 = actionArray[0]; - switch(_g1) { - case "transitionOut": - this.sendNotification("removePage",actionArray[1]); - break; - case "pageSkipTo": - this.sendNotification("changePage",actionArray[1]); - break; - case "pageForward": - this.sendNotification("changePage","pageForward"); - break; - case "pageBackward": - this.sendNotification("changePage","pageBackward"); - break; - } - } - } - ,control: function() { - return this.viewComponent; - } - ,__class__: ca.confidant.glory.view.ControlComponentMediator -}); -ca.confidant.glory.view.PageMediator = function(id,viewComponent) { - org.puremvc.haxe.patterns.mediator.Mediator.call(this,id,viewComponent); -}; -$hxClasses["ca.confidant.glory.view.PageMediator"] = ca.confidant.glory.view.PageMediator; -ca.confidant.glory.view.PageMediator.__name__ = ["ca","confidant","glory","view","PageMediator"]; -ca.confidant.glory.view.PageMediator.__super__ = org.puremvc.haxe.patterns.mediator.Mediator; -ca.confidant.glory.view.PageMediator.prototype = $extend(org.puremvc.haxe.patterns.mediator.Mediator.prototype,{ - listNotificationInterests: function() { - return ["doTransition"]; - } - ,handleNotification: function(note) { - var _g = note.getName(); - switch(_g) { - case "doTransition": - var go = note.getBody(); - if(go.get("id") == this.mediatorName && go.get("transitionType") == "in") this.page().transitionIn(); else if(go.get("id") == this.mediatorName && go.get("transitionType") == "out") this.page().transitionOut(); - break; - } - } - ,page: function() { - return this.viewComponent; - } - ,__class__: ca.confidant.glory.view.PageMediator -}); -ca.confidant.glory.view.SoundMediator = function(id,theSound) { - org.puremvc.haxe.patterns.mediator.Mediator.call(this,id,theSound); - this.mySound = theSound; -}; -$hxClasses["ca.confidant.glory.view.SoundMediator"] = ca.confidant.glory.view.SoundMediator; -ca.confidant.glory.view.SoundMediator.__name__ = ["ca","confidant","glory","view","SoundMediator"]; -ca.confidant.glory.view.SoundMediator.__super__ = org.puremvc.haxe.patterns.mediator.Mediator; -ca.confidant.glory.view.SoundMediator.prototype = $extend(org.puremvc.haxe.patterns.mediator.Mediator.prototype,{ - addListeners: function() { - } - ,listNotificationInterests: function() { - return ["playSound"]; - } - ,handleNotification: function(note) { - var _g = note.getName(); - switch(_g) { - case "playSound": - if(this.mediatorName == note.getBody()) { - if(this.sc != null) { - this.sc.stop(); - this.sc = null; - } else this.sc = this.mySound.play(); - } - break; - } - } - ,sound: function() { - return this.mySound; - } - ,__class__: ca.confidant.glory.view.SoundMediator -}); -ca.confidant.glory.view.components = {}; -ca.confidant.glory.view.components.ActorComponent = function() { - openfl.display.Sprite.call(this); - this.mouseEnabled = false; -}; -$hxClasses["ca.confidant.glory.view.components.ActorComponent"] = ca.confidant.glory.view.components.ActorComponent; -ca.confidant.glory.view.components.ActorComponent.__name__ = ["ca","confidant","glory","view","components","ActorComponent"]; -ca.confidant.glory.view.components.ActorComponent.__super__ = openfl.display.Sprite; -ca.confidant.glory.view.components.ActorComponent.prototype = $extend(openfl.display.Sprite.prototype,{ - addBitmap: function(bMap) { - this.defaultBitmap = bMap; - this.addChild(bMap); - } - ,addSVG: function(t) { - var svg = new format.SVG(t); - svg.render(this.get_graphics()); - } - ,__class__: ca.confidant.glory.view.components.ActorComponent -}); -ca.confidant.glory.view.components.ControlComponent = function(action) { - openfl.display.Sprite.call(this); - this.action = action; -}; -$hxClasses["ca.confidant.glory.view.components.ControlComponent"] = ca.confidant.glory.view.components.ControlComponent; -ca.confidant.glory.view.components.ControlComponent.__name__ = ["ca","confidant","glory","view","components","ControlComponent"]; -ca.confidant.glory.view.components.ControlComponent.__super__ = openfl.display.Sprite; -ca.confidant.glory.view.components.ControlComponent.prototype = $extend(openfl.display.Sprite.prototype,{ - addBitmap: function(bMap) { - this.defaultBitmap = bMap; - this.addChild(bMap); - } - ,addSVG: function(t) { - var svg = new format.SVG(t); - svg.render(this.get_graphics()); - } - ,__class__: ca.confidant.glory.view.components.ControlComponent -}); -ca.confidant.glory.view.components.PageComponent = function() { - openfl.display.Sprite.call(this); - this.myActors = new haxe.ds.StringMap(); - haxe.Log.trace("new Page!",{ fileName : "PageComponent.hx", lineNumber : 18, className : "ca.confidant.glory.view.components.PageComponent", methodName : "new"}); - this.set_alpha(0); -}; -$hxClasses["ca.confidant.glory.view.components.PageComponent"] = ca.confidant.glory.view.components.PageComponent; -ca.confidant.glory.view.components.PageComponent.__name__ = ["ca","confidant","glory","view","components","PageComponent"]; -ca.confidant.glory.view.components.PageComponent.__super__ = openfl.display.Sprite; -ca.confidant.glory.view.components.PageComponent.prototype = $extend(openfl.display.Sprite.prototype,{ - addActor: function(key,spr) { - this.addChild(spr); - this.myActors.set(key,spr); - } - ,init: function() { - } - ,transitionIn: function() { - haxe.Log.trace(this.get_name() + " in!",{ fileName : "PageComponent.hx", lineNumber : 37, className : "ca.confidant.glory.view.components.PageComponent", methodName : "transitionIn"}); - motion.Actuate.tween(this,1,{ alpha : 1},false).ease(motion.easing.Quad.get_easeIn()); - } - ,transitionOut: function() { - haxe.Log.trace(this.get_name() + " out!",{ fileName : "PageComponent.hx", lineNumber : 45, className : "ca.confidant.glory.view.components.PageComponent", methodName : "transitionOut"}); - motion.Actuate.tween(this,1,{ alpha : 0},false).ease(motion.easing.Quad.get_easeOut()); - } - ,__class__: ca.confidant.glory.view.components.PageComponent -}); -ca.confidant.glory.view.constants = {}; -ca.confidant.glory.view.constants.ControlConstants = function() { -}; -$hxClasses["ca.confidant.glory.view.constants.ControlConstants"] = ca.confidant.glory.view.constants.ControlConstants; -ca.confidant.glory.view.constants.ControlConstants.__name__ = ["ca","confidant","glory","view","constants","ControlConstants"]; -ca.confidant.glory.view.constants.ControlConstants.prototype = { - __class__: ca.confidant.glory.view.constants.ControlConstants -}; -var format = {}; -format.SVG = function(content) { - this.data = new format.svg.SVGData(Xml.parse(content)); -}; -$hxClasses["format.SVG"] = format.SVG; -format.SVG.__name__ = ["format","SVG"]; -format.SVG.prototype = { - render: function(graphics,x,y,width,height) { - if(height == null) height = -1; - if(width == null) width = -1; - if(y == null) y = 0; - if(x == null) x = 0; - var matrix = new openfl.geom.Matrix(); - matrix.identity(); - matrix.translate(x,y); - if(width > -1 && height > -1) matrix.scale(width / this.data.width,height / this.data.height); - var renderer = new format.svg.SVGRenderer(this.data); - renderer.render(graphics,matrix); - } - ,__class__: format.SVG -}; -format.gfx = {}; -format.gfx.Gfx = function() { -}; -$hxClasses["format.gfx.Gfx"] = format.gfx.Gfx; -format.gfx.Gfx.__name__ = ["format","gfx","Gfx"]; -format.gfx.Gfx.prototype = { - geometryOnly: function() { - return false; - } - ,size: function(inWidth,inHeight) { - } - ,beginGradientFill: function(grad) { - } - ,beginFill: function(color,alpha) { - } - ,endFill: function() { - } - ,lineStyle: function(style) { - } - ,endLineStyle: function() { - } - ,moveTo: function(inX,inY) { - } - ,lineTo: function(inX,inY) { - } - ,curveTo: function(inCX,inCY,inX,inY) { - } - ,renderText: function(text) { - } - ,eof: function() { - } - ,__class__: format.gfx.Gfx -}; -format.gfx.Gfx2Haxe = function() { - format.gfx.Gfx.call(this); - this.commands = []; -}; -$hxClasses["format.gfx.Gfx2Haxe"] = format.gfx.Gfx2Haxe; -format.gfx.Gfx2Haxe.__name__ = ["format","gfx","Gfx2Haxe"]; -format.gfx.Gfx2Haxe.__super__ = format.gfx.Gfx; -format.gfx.Gfx2Haxe.prototype = $extend(format.gfx.Gfx.prototype,{ - f2a: function(f) { - if(Math.abs(f) < 0.000001) return "0"; - if(Math.abs(1 - f) < 0.000001) return "1"; - return f + ""; - } - ,newMatrix: function(m) { - return "new Matrix(" + this.f2a(m.a) + "," + this.f2a(m.b) + "," + this.f2a(m.c) + "," + this.f2a(m.d) + "," + this.f2a(m.tx) + "," + this.f2a(m.ty) + ")"; - } - ,beginGradientFill: function(grad) { - this.commands.push("g.beginGradientFill(" + Std.string(grad.type) + "," + Std.string(grad.colors) + "," + Std.string(grad.alphas) + "," + Std.string(grad.ratios) + "," + this.newMatrix(grad.matrix) + "," + Std.string(grad.spread) + "," + Std.string(grad.interp) + "," + grad.focus + ");"); - } - ,beginFill: function(color,alpha) { - this.commands.push("g.beginFill(" + color + "," + this.f2a(alpha) + ");"); - } - ,endFill: function() { - this.commands.push("g.endFill();"); - } - ,lineStyle: function(style) { - this.commands.push("g.lineStyle(" + this.f2a(style.thickness) + "," + style.color + "," + this.f2a(style.alpha) + "," + (style.pixelHinting == null?"null":"" + style.pixelHinting) + "," + Std.string(style.scaleMode) + "," + Std.string(style.capsStyle) + "," + Std.string(style.jointStyle) + "," + this.f2a(style.miterLimit)); - } - ,endLineStyle: function() { - this.commands.push("g.lineStyle();"); - } - ,moveTo: function(inX,inY) { - this.commands.push("g.moveTo(" + inX + "," + inY + ");"); - } - ,lineTo: function(inX,inY) { - this.commands.push("g.lineTo(" + inX + "," + inY + ");"); - } - ,curveTo: function(inCX,inCY,inX,inY) { - this.commands.push("g.curveTo(" + inCX + "," + inCY + "," + inX + "," + inY + ");"); - } - ,__class__: format.gfx.Gfx2Haxe -}); -openfl.display.CapsStyle = $hxClasses["openfl.display.CapsStyle"] = { __ename__ : true, __constructs__ : ["NONE","ROUND","SQUARE"] }; -openfl.display.CapsStyle.NONE = ["NONE",0]; -openfl.display.CapsStyle.NONE.toString = $estr; -openfl.display.CapsStyle.NONE.__enum__ = openfl.display.CapsStyle; -openfl.display.CapsStyle.ROUND = ["ROUND",1]; -openfl.display.CapsStyle.ROUND.toString = $estr; -openfl.display.CapsStyle.ROUND.__enum__ = openfl.display.CapsStyle; -openfl.display.CapsStyle.SQUARE = ["SQUARE",2]; -openfl.display.CapsStyle.SQUARE.toString = $estr; -openfl.display.CapsStyle.SQUARE.__enum__ = openfl.display.CapsStyle; -openfl.display.InterpolationMethod = $hxClasses["openfl.display.InterpolationMethod"] = { __ename__ : true, __constructs__ : ["RGB","LINEAR_RGB"] }; -openfl.display.InterpolationMethod.RGB = ["RGB",0]; -openfl.display.InterpolationMethod.RGB.toString = $estr; -openfl.display.InterpolationMethod.RGB.__enum__ = openfl.display.InterpolationMethod; -openfl.display.InterpolationMethod.LINEAR_RGB = ["LINEAR_RGB",1]; -openfl.display.InterpolationMethod.LINEAR_RGB.toString = $estr; -openfl.display.InterpolationMethod.LINEAR_RGB.__enum__ = openfl.display.InterpolationMethod; -openfl.display.JointStyle = $hxClasses["openfl.display.JointStyle"] = { __ename__ : true, __constructs__ : ["MITER","ROUND","BEVEL"] }; -openfl.display.JointStyle.MITER = ["MITER",0]; -openfl.display.JointStyle.MITER.toString = $estr; -openfl.display.JointStyle.MITER.__enum__ = openfl.display.JointStyle; -openfl.display.JointStyle.ROUND = ["ROUND",1]; -openfl.display.JointStyle.ROUND.toString = $estr; -openfl.display.JointStyle.ROUND.__enum__ = openfl.display.JointStyle; -openfl.display.JointStyle.BEVEL = ["BEVEL",2]; -openfl.display.JointStyle.BEVEL.toString = $estr; -openfl.display.JointStyle.BEVEL.__enum__ = openfl.display.JointStyle; -openfl.display.LineScaleMode = $hxClasses["openfl.display.LineScaleMode"] = { __ename__ : true, __constructs__ : ["HORIZONTAL","NONE","NORMAL","VERTICAL"] }; -openfl.display.LineScaleMode.HORIZONTAL = ["HORIZONTAL",0]; -openfl.display.LineScaleMode.HORIZONTAL.toString = $estr; -openfl.display.LineScaleMode.HORIZONTAL.__enum__ = openfl.display.LineScaleMode; -openfl.display.LineScaleMode.NONE = ["NONE",1]; -openfl.display.LineScaleMode.NONE.toString = $estr; -openfl.display.LineScaleMode.NONE.__enum__ = openfl.display.LineScaleMode; -openfl.display.LineScaleMode.NORMAL = ["NORMAL",2]; -openfl.display.LineScaleMode.NORMAL.toString = $estr; -openfl.display.LineScaleMode.NORMAL.__enum__ = openfl.display.LineScaleMode; -openfl.display.LineScaleMode.VERTICAL = ["VERTICAL",3]; -openfl.display.LineScaleMode.VERTICAL.toString = $estr; -openfl.display.LineScaleMode.VERTICAL.__enum__ = openfl.display.LineScaleMode; -openfl.display.SpreadMethod = $hxClasses["openfl.display.SpreadMethod"] = { __ename__ : true, __constructs__ : ["REPEAT","REFLECT","PAD"] }; -openfl.display.SpreadMethod.REPEAT = ["REPEAT",0]; -openfl.display.SpreadMethod.REPEAT.toString = $estr; -openfl.display.SpreadMethod.REPEAT.__enum__ = openfl.display.SpreadMethod; -openfl.display.SpreadMethod.REFLECT = ["REFLECT",1]; -openfl.display.SpreadMethod.REFLECT.toString = $estr; -openfl.display.SpreadMethod.REFLECT.__enum__ = openfl.display.SpreadMethod; -openfl.display.SpreadMethod.PAD = ["PAD",2]; -openfl.display.SpreadMethod.PAD.toString = $estr; -openfl.display.SpreadMethod.PAD.__enum__ = openfl.display.SpreadMethod; -format.gfx.GfxBytes = function(inBuffer,inFlags) { - if(inFlags == null) inFlags = 0; - format.gfx.Gfx.call(this); - if(inBuffer == null) this.buffer = new lime.utils.ByteArray(); else this.buffer = inBuffer; -}; -$hxClasses["format.gfx.GfxBytes"] = format.gfx.GfxBytes; -format.gfx.GfxBytes.__name__ = ["format","gfx","GfxBytes"]; -format.gfx.GfxBytes.baseCoder = null; -format.gfx.GfxBytes.fromString = function(inString) { - if(format.gfx.GfxBytes.baseCoder == null) format.gfx.GfxBytes.baseCoder = new haxe.crypto.BaseCode(haxe.io.Bytes.ofString(format.gfx.GfxBytes.base64)); - var bytes = new lime.utils.ByteArray(); - bytes.writeUTF(inString); - return new format.gfx.GfxBytes(bytes); -}; -format.gfx.GfxBytes.__super__ = format.gfx.Gfx; -format.gfx.GfxBytes.prototype = $extend(format.gfx.Gfx.prototype,{ - toString: function() { - return ""; - } - ,eof: function() { - this.buffer.writeByte(0); - } - ,iterate: function(inGfx) { - this.buffer.position = 0; - while(true) { - var _g = this.buffer.readByte(); - switch(_g) { - case 0: - return; - case 1: - var w = this.buffer.readFloat(); - var h = this.buffer.readFloat(); - inGfx.size(w,h); - break; - case 10: - var col = this.readRGB(); - var alpha = this.buffer.readFloat(); - inGfx.beginFill(col,alpha); - break; - case 11: - var grad = new format.gfx.Gradient(); - grad.type = Type.createEnumIndex(openfl.display.GradientType,this.buffer.readByte()); - var len = this.buffer.readByte(); - var _g1 = 0; - while(_g1 < len) { - var i = _g1++; - grad.colors.push(this.readRGB()); - grad.alphas.push(this.buffer.readByte() / 255.0); - grad.ratios.push(this.buffer.readByte()); - } - grad.matrix.a = this.buffer.readFloat(); - grad.matrix.b = this.buffer.readFloat(); - grad.matrix.c = this.buffer.readFloat(); - grad.matrix.d = this.buffer.readFloat(); - grad.matrix.tx = this.buffer.readFloat(); - grad.matrix.ty = this.buffer.readFloat(); - grad.spread = format.gfx.GfxBytes.spreadMethods[this.buffer.readByte()]; - grad.interp = format.gfx.GfxBytes.interpolationMethods[this.buffer.readByte()]; - grad.focus = this.buffer.readFloat(); - inGfx.beginGradientFill(grad); - break; - case 12: - inGfx.endFill(); - break; - case 20: - var style = new format.gfx.LineStyle(); - style.thickness = this.buffer.readFloat(); - style.color = this.readRGB(); - style.alpha = this.buffer.readFloat(); - style.pixelHinting = this.buffer.readByte() > 0; - style.scaleMode = format.gfx.GfxBytes.scaleModes[this.buffer.readByte()]; - style.capsStyle = format.gfx.GfxBytes.capsStyles[this.buffer.readByte()]; - style.jointStyle = format.gfx.GfxBytes.jointStyles[this.buffer.readByte()]; - style.miterLimit = this.buffer.readFloat(); - inGfx.lineStyle(style); - break; - case 21: - inGfx.endLineStyle(); - break; - case 30: - var x = this.buffer.readFloat(); - var y = this.buffer.readFloat(); - inGfx.moveTo(x,y); - break; - case 31: - var x1 = this.buffer.readFloat(); - var y1 = this.buffer.readFloat(); - inGfx.lineTo(x1,y1); - break; - case 32: - var cx = this.buffer.readFloat(); - var cy = this.buffer.readFloat(); - var x2 = this.buffer.readFloat(); - var y2 = this.buffer.readFloat(); - inGfx.curveTo(cx,cy,x2,y2); - break; - default: - throw "Unknown gfx buffer format."; - } - } - } - ,size: function(inWidth,inHeight) { - this.buffer.writeByte(1); - this.buffer.writeFloat(inWidth); - this.buffer.writeFloat(inHeight); - } - ,pushClipped: function(inVal) { - this.buffer.writeByte(inVal < 0?0:inVal > 255.0?255:inVal | 0); - } - ,writeRGB: function(inVal) { - this.buffer.writeByte(inVal >> 16 & 255); - this.buffer.writeByte(inVal >> 8 & 255); - this.buffer.writeByte(inVal & 255); - } - ,readRGB: function() { - var r = this.buffer.readByte(); - var g = this.buffer.readByte(); - var b = this.buffer.readByte(); - return r << 16 | g << 8 | b; - } - ,beginGradientFill: function(grad) { - this.buffer.writeByte(11); - this.buffer.writeByte(grad.type[1]); - this.buffer.writeByte(grad.colors.length); - var _g1 = 0; - var _g = grad.colors.length; - while(_g1 < _g) { - var i = _g1++; - this.writeRGB((function($this) { - var $r; - var $int = grad.colors[i]; - $r = $int < 0?4294967296.0 + $int:$int + 0.0; - return $r; - }(this)) | 0); - this.pushClipped(grad.alphas[i] * 255.0); - this.pushClipped(grad.ratios[i]); - } - this.buffer.writeFloat(grad.matrix.a); - this.buffer.writeFloat(grad.matrix.b); - this.buffer.writeFloat(grad.matrix.c); - this.buffer.writeFloat(grad.matrix.d); - this.buffer.writeFloat(grad.matrix.tx); - this.buffer.writeFloat(grad.matrix.ty); - this.buffer.writeByte(grad.spread[1]); - this.buffer.writeByte(grad.interp[1]); - this.buffer.writeFloat(grad.focus); - } - ,beginFill: function(color,alpha) { - this.buffer.writeByte(10); - this.writeRGB(color); - this.buffer.writeFloat(alpha); - } - ,endFill: function() { - this.buffer.writeByte(12); - } - ,lineStyle: function(style) { - this.buffer.writeByte(20); - this.buffer.writeFloat(style.thickness); - this.writeRGB(style.color); - this.buffer.writeFloat(style.alpha); - this.buffer.writeByte(style.pixelHinting?1:0); - this.buffer.writeByte(style.scaleMode[1]); - this.buffer.writeByte(style.capsStyle[1]); - this.buffer.writeByte(style.jointStyle[1]); - this.buffer.writeFloat(style.miterLimit); - } - ,endLineStyle: function() { - this.buffer.writeByte(21); - } - ,moveTo: function(inX,inY) { - this.buffer.writeByte(30); - this.buffer.writeFloat(inX); - this.buffer.writeFloat(inY); - } - ,lineTo: function(inX,inY) { - this.buffer.writeByte(31); - this.buffer.writeFloat(inX); - this.buffer.writeFloat(inY); - } - ,curveTo: function(inCX,inCY,inX,inY) { - this.buffer.writeByte(32); - this.buffer.writeFloat(inCX); - this.buffer.writeFloat(inCY); - this.buffer.writeFloat(inX); - this.buffer.writeFloat(inY); - } - ,__class__: format.gfx.GfxBytes -}); -format.gfx.GfxExtent = function() { - format.gfx.Gfx.call(this); - this.extent = null; -}; -$hxClasses["format.gfx.GfxExtent"] = format.gfx.GfxExtent; -format.gfx.GfxExtent.__name__ = ["format","gfx","GfxExtent"]; -format.gfx.GfxExtent.__super__ = format.gfx.Gfx; -format.gfx.GfxExtent.prototype = $extend(format.gfx.Gfx.prototype,{ - addExtent: function(inX,inY) { - if(this.extent == null) { - this.extent = new openfl.geom.Rectangle(inX,inY,0,0); - return; - } - if(inX < this.extent.get_left()) this.extent.set_left(inX); - if(inX > this.extent.get_right()) this.extent.set_right(inX); - if(inY < this.extent.get_top()) this.extent.set_top(inY); - if(inY > this.extent.get_bottom()) this.extent.set_bottom(inY); - } - ,geometryOnly: function() { - return true; - } - ,moveTo: function(inX,inY) { - this.addExtent(inX,inY); - } - ,lineTo: function(inX,inY) { - this.addExtent(inX,inY); - } - ,curveTo: function(inCX,inCY,inX,inY) { - this.addExtent(inCX,inCY); - this.addExtent(inX,inY); - } - ,__class__: format.gfx.GfxExtent -}); -format.gfx.GfxGraphics = function(inGraphics) { - format.gfx.Gfx.call(this); - this.graphics = inGraphics; -}; -$hxClasses["format.gfx.GfxGraphics"] = format.gfx.GfxGraphics; -format.gfx.GfxGraphics.__name__ = ["format","gfx","GfxGraphics"]; -format.gfx.GfxGraphics.__super__ = format.gfx.Gfx; -format.gfx.GfxGraphics.prototype = $extend(format.gfx.Gfx.prototype,{ - beginGradientFill: function(grad) { - this.graphics.beginGradientFill(grad.type,grad.colors,grad.alphas,grad.ratios,grad.matrix,grad.spread,grad.interp,grad.focus); - } - ,beginFill: function(color,alpha) { - this.graphics.beginFill(color,alpha); - } - ,endFill: function() { - this.graphics.endFill(); - } - ,lineStyle: function(style) { - this.graphics.lineStyle(style.thickness,style.color,style.alpha,style.pixelHinting,style.scaleMode,style.capsStyle,style.jointStyle,style.miterLimit); - } - ,endLineStyle: function() { - this.graphics.lineStyle(); - } - ,moveTo: function(inX,inY) { - this.graphics.moveTo(inX,inY); - } - ,lineTo: function(inX,inY) { - this.graphics.lineTo(inX,inY); - } - ,curveTo: function(inCX,inCY,inX,inY) { - this.graphics.curveTo(inCX,inCY,inX,inY); - } - ,__class__: format.gfx.GfxGraphics -}); -format.gfx.GfxTextFinder = function() { - format.gfx.Gfx.call(this); -}; -$hxClasses["format.gfx.GfxTextFinder"] = format.gfx.GfxTextFinder; -format.gfx.GfxTextFinder.__name__ = ["format","gfx","GfxTextFinder"]; -format.gfx.GfxTextFinder.__super__ = format.gfx.Gfx; -format.gfx.GfxTextFinder.prototype = $extend(format.gfx.Gfx.prototype,{ - geometryOnly: function() { - return true; - } - ,renderText: function(inText) { - if(this.text == null) this.text = inText; - } - ,__class__: format.gfx.GfxTextFinder -}); -format.gfx.Gradient = function() { - this.type = openfl.display.GradientType.LINEAR; - this.colors = []; - this.alphas = []; - this.ratios = []; - this.matrix = new openfl.geom.Matrix(); - this.spread = openfl.display.SpreadMethod.PAD; - this.interp = openfl.display.InterpolationMethod.RGB; - this.focus = 0.0; -}; -$hxClasses["format.gfx.Gradient"] = format.gfx.Gradient; -format.gfx.Gradient.__name__ = ["format","gfx","Gradient"]; -format.gfx.Gradient.prototype = { - __class__: format.gfx.Gradient -}; -format.gfx.LineStyle = function() { - this.thickness = 1.0; - this.color = 0; - this.alpha = 1.0; - this.pixelHinting = false; - this.scaleMode = openfl.display.LineScaleMode.NORMAL; - this.capsStyle = openfl.display.CapsStyle.ROUND; - this.jointStyle = openfl.display.JointStyle.ROUND; - this.miterLimit = 3.0; -}; -$hxClasses["format.gfx.LineStyle"] = format.gfx.LineStyle; -format.gfx.LineStyle.__name__ = ["format","gfx","LineStyle"]; -format.gfx.LineStyle.prototype = { - __class__: format.gfx.LineStyle -}; -format.svg = {}; -format.svg.FillType = $hxClasses["format.svg.FillType"] = { __ename__ : true, __constructs__ : ["FillGrad","FillSolid","FillNone"] }; -format.svg.FillType.FillGrad = function(grad) { var $x = ["FillGrad",0,grad]; $x.__enum__ = format.svg.FillType; $x.toString = $estr; return $x; }; -format.svg.FillType.FillSolid = function(colour) { var $x = ["FillSolid",1,colour]; $x.__enum__ = format.svg.FillType; $x.toString = $estr; return $x; }; -format.svg.FillType.FillNone = ["FillNone",2]; -format.svg.FillType.FillNone.toString = $estr; -format.svg.FillType.FillNone.__enum__ = format.svg.FillType; -format.svg.Grad = function(inType) { - format.gfx.Gradient.call(this); - this.type = inType; - this.radius = 0.0; - this.gradMatrix = new openfl.geom.Matrix(); - this.x1 = 0.0; - this.y1 = 0.0; - this.x2 = 0.0; - this.y2 = 0.0; -}; -$hxClasses["format.svg.Grad"] = format.svg.Grad; -format.svg.Grad.__name__ = ["format","svg","Grad"]; -format.svg.Grad.__super__ = format.gfx.Gradient; -format.svg.Grad.prototype = $extend(format.gfx.Gradient.prototype,{ - updateMatrix: function(inMatrix) { - var dx = this.x2 - this.x1; - var dy = this.y2 - this.y1; - var theta = Math.atan2(dy,dx); - var len = Math.sqrt(dx * dx + dy * dy); - var mtx = new openfl.geom.Matrix(); - if(this.type == openfl.display.GradientType.LINEAR) { - mtx.createGradientBox(1.0,1.0); - mtx.scale(len,len); - } else { - if(this.radius != 0.0) this.focus = len / this.radius; - mtx.createGradientBox(1.0,1.0); - mtx.translate(-0.5,-0.5); - mtx.scale(this.radius * 2,this.radius * 2); - } - mtx.rotate(theta); - mtx.translate(this.x1,this.y1); - mtx.concat(this.gradMatrix); - mtx.concat(inMatrix); - this.matrix = mtx; - } - ,__class__: format.svg.Grad -}); -format.svg.Group = function() { - this.name = ""; - this.children = []; -}; -$hxClasses["format.svg.Group"] = format.svg.Group; -format.svg.Group.__name__ = ["format","svg","Group"]; -format.svg.Group.prototype = { - hasGroup: function(inName) { - return this.findGroup(inName) != null; - } - ,findGroup: function(inName) { - var _g = 0; - var _g1 = this.children; - while(_g < _g1.length) { - var child = _g1[_g]; - ++_g; - switch(child[1]) { - case 1: - var group = child[2]; - if(group.name == inName) return group; - break; - default: - } - } - return null; - } - ,__class__: format.svg.Group -}; -format.svg.DisplayElement = $hxClasses["format.svg.DisplayElement"] = { __ename__ : true, __constructs__ : ["DisplayPath","DisplayGroup","DisplayText"] }; -format.svg.DisplayElement.DisplayPath = function(path) { var $x = ["DisplayPath",0,path]; $x.__enum__ = format.svg.DisplayElement; $x.toString = $estr; return $x; }; -format.svg.DisplayElement.DisplayGroup = function(group) { var $x = ["DisplayGroup",1,group]; $x.__enum__ = format.svg.DisplayElement; $x.toString = $estr; return $x; }; -format.svg.DisplayElement.DisplayText = function(text) { var $x = ["DisplayText",2,text]; $x.__enum__ = format.svg.DisplayElement; $x.toString = $estr; return $x; }; -format.svg.Path = function() { -}; -$hxClasses["format.svg.Path"] = format.svg.Path; -format.svg.Path.__name__ = ["format","svg","Path"]; -format.svg.Path.prototype = { - __class__: format.svg.Path -}; -format.svg.PathParser = function() { - if(format.svg.PathParser.sCommandArgs == null) { - format.svg.PathParser.sCommandArgs = []; - var _g = 0; - while(_g < 128) { - var i = _g++; - format.svg.PathParser.sCommandArgs[i] = this.commandArgs(i); - } - } -}; -$hxClasses["format.svg.PathParser"] = format.svg.PathParser; -format.svg.PathParser.__name__ = ["format","svg","PathParser"]; -format.svg.PathParser.sCommandArgs = null; -format.svg.PathParser.prototype = { - parse: function(pathToParse,inConvertCubics) { - this.lastMoveX = this.lastMoveY = 0; - var pos = 0; - var args = new Array(); - var segments = new Array(); - var current_command_pos = 0; - var current_command = -1; - var current_args = -1; - this.prev = null; - var len = pathToParse.length; - var finished = false; - while(pos <= len) { - var code; - if(pos == len) code = 32; else code = HxOverrides.cca(pathToParse,pos); - var command; - if(code > 0 && code < 128) command = format.svg.PathParser.sCommandArgs[code]; else command = format.svg.PathParser.UNKNOWN; - if(command == format.svg.PathParser.UNKNOWN) throw "failed parsing path near '" + HxOverrides.substr(pathToParse,pos,null) + "'"; - if(command == format.svg.PathParser.SEPARATOR) pos++; else if(command <= format.svg.PathParser.FLOAT) { - var end = pos + 1; - var e_pos = -1; - var seen_dot = command == format.svg.PathParser.FLOAT_DOT; - if(command == format.svg.PathParser.FLOAT_EXP) { - e_pos = 0; - seen_dot = true; - } - while(end < pathToParse.length) { - var ch = HxOverrides.cca(pathToParse,end); - var code1; - if(ch < 0 || ch > 127) code1 = format.svg.PathParser.UNKNOWN; else code1 = format.svg.PathParser.sCommandArgs[ch]; - if(code1 > format.svg.PathParser.FLOAT) break; - if(code1 == format.svg.PathParser.FLOAT_DOT && seen_dot) break; - if(e_pos >= 0) { - if(code1 == format.svg.PathParser.FLOAT_SIGN) { - if(e_pos != 0) break; - } else if(code1 != format.svg.PathParser.FLOAT) break; - e_pos++; - } else if(code1 == format.svg.PathParser.FLOAT_EXP) { - if(e_pos >= 0) break; - e_pos = 0; - seen_dot = true; - } else if(code1 == format.svg.PathParser.FLOAT_SIGN) break; - end++; - } - if(current_command < 0) { - } else { - var f = Std.parseFloat(HxOverrides.substr(pathToParse,pos,end - pos)); - args.push(f); - } - pos = end; - } else { - current_command = code; - current_args = command; - finished = false; - current_command_pos = pos; - args = []; - pos++; - } - var px = 0.0; - var py = 0.0; - if(current_command >= 0) { - if(current_args == args.length) { - if(inConvertCubics && this.prev != null) { - px = this.prev.prevX(); - py = this.prev.prevY(); - } - this.prev = this.createCommand(current_command,args); - if(this.prev == null) throw "Unknown command " + String.fromCharCode(current_command) + " near '" + HxOverrides.substr(pathToParse,current_command_pos,null) + "'"; - if(inConvertCubics && this.prev.getType() == 4) { - var cubic = this.prev; - var quads = cubic.toQuadratics(px,py); - var _g = 0; - while(_g < quads.length) { - var q = quads[_g]; - ++_g; - segments.push(q); - } - } else segments.push(this.prev); - finished = true; - if(current_args == 0) { - current_args = -1; - current_command = -1; - } else if(current_command == 77) current_command = 76; else if(current_command == 109) current_command = 108; - current_command_pos = pos; - args = []; - } - } - } - if(current_command >= 0 && !finished) throw "Unfinished command (" + args.length + "/" + current_args + ") near '" + HxOverrides.substr(pathToParse,current_command_pos,null) + "'"; - return segments; - } - ,commandArgs: function(inCode) { - if(inCode == 10) return format.svg.PathParser.SEPARATOR; - var str = String.fromCharCode(inCode).toUpperCase(); - if(str >= "0" && str <= "9") return format.svg.PathParser.FLOAT; - switch(str) { - case "Z": - return 0; - case "H":case "V": - return 1; - case "M":case "L":case "T": - return 2; - case "S":case "Q": - return 4; - case "C": - return 6; - case "A": - return 7; - case "\t":case "\n":case " ":case "\r":case ",": - return format.svg.PathParser.SEPARATOR; - case "-": - return format.svg.PathParser.FLOAT_SIGN; - case "+": - return format.svg.PathParser.FLOAT_SIGN; - case "E":case "e": - return format.svg.PathParser.FLOAT_EXP; - case ".": - return format.svg.PathParser.FLOAT_DOT; - } - return format.svg.PathParser.UNKNOWN; - } - ,prevX: function() { - if(this.prev != null) return this.prev.prevX(); else return 0; - } - ,prevY: function() { - if(this.prev != null) return this.prev.prevY(); else return 0; - } - ,prevCX: function() { - if(this.prev != null) return this.prev.prevCX(); else return 0; - } - ,prevCY: function() { - if(this.prev != null) return this.prev.prevCY(); else return 0; - } - ,createCommand: function(code,a) { - switch(code) { - case 77: - this.lastMoveX = a[0]; - this.lastMoveY = a[1]; - return new format.svg.MoveSegment(this.lastMoveX,this.lastMoveY); - case 109: - this.lastMoveX = a[0] + this.prevX(); - this.lastMoveY = a[1] + this.prevY(); - return new format.svg.MoveSegment(this.lastMoveX,this.lastMoveY); - case 76: - return new format.svg.DrawSegment(a[0],a[1]); - case 108: - return new format.svg.DrawSegment(a[0] + this.prevX(),a[1] + this.prevY()); - case 72: - return new format.svg.DrawSegment(a[0],this.prevY()); - case 104: - return new format.svg.DrawSegment(a[0] + this.prevX(),this.prevY()); - case 86: - return new format.svg.DrawSegment(this.prevX(),a[0]); - case 118: - return new format.svg.DrawSegment(this.prevX(),a[0] + this.prevY()); - case 67: - return new format.svg.CubicSegment(a[0],a[1],a[2],a[3],a[4],a[5]); - case 99: - var rx = this.prevX(); - var ry = this.prevY(); - return new format.svg.CubicSegment(a[0] + rx,a[1] + ry,a[2] + rx,a[3] + ry,a[4] + rx,a[5] + ry); - case 83: - var rx1 = this.prevX(); - var ry1 = this.prevY(); - return new format.svg.CubicSegment(rx1 * 2 - this.prevCX(),ry1 * 2 - this.prevCY(),a[0],a[1],a[2],a[3]); - case 115: - var rx2 = this.prevX(); - var ry2 = this.prevY(); - return new format.svg.CubicSegment(rx2 * 2 - this.prevCX(),ry2 * 2 - this.prevCY(),a[0] + rx2,a[1] + ry2,a[2] + rx2,a[3] + ry2); - case 81: - return new format.svg.QuadraticSegment(a[0],a[1],a[2],a[3]); - case 113: - var rx3 = this.prevX(); - var ry3 = this.prevY(); - return new format.svg.QuadraticSegment(a[0] + rx3,a[1] + ry3,a[2] + rx3,a[3] + ry3); - case 84: - var rx4 = this.prevX(); - var ry4 = this.prevY(); - return new format.svg.QuadraticSegment(rx4 * 2 - this.prevCX(),rx4 * 2 - this.prevCY(),a[2],a[3]); - case 116: - var rx5 = this.prevX(); - var ry5 = this.prevY(); - return new format.svg.QuadraticSegment(rx5 * 2 - this.prevCX(),ry5 * 2 - this.prevCY(),a[0] + rx5,a[1] + ry5); - case 65: - return new format.svg.ArcSegment(this.prevX(),this.prevY(),a[0],a[1],a[2],a[3] != 0.,a[4] != 0.,a[5],a[6]); - case 97: - var rx6 = this.prevX(); - var ry6 = this.prevY(); - return new format.svg.ArcSegment(rx6,ry6,a[0],a[1],a[2],a[3] != 0.,a[4] != 0.,a[5] + rx6,a[6] + ry6); - case 90: - return new format.svg.DrawSegment(this.lastMoveX,this.lastMoveY); - case 122: - return new format.svg.DrawSegment(this.lastMoveX,this.lastMoveY); - } - return null; - } - ,__class__: format.svg.PathParser -}; -format.svg.PathSegment = function(inX,inY) { - this.x = inX; - this.y = inY; -}; -$hxClasses["format.svg.PathSegment"] = format.svg.PathSegment; -format.svg.PathSegment.__name__ = ["format","svg","PathSegment"]; -format.svg.PathSegment.prototype = { - getType: function() { - return 0; - } - ,prevX: function() { - return this.x; - } - ,prevY: function() { - return this.y; - } - ,prevCX: function() { - return this.x; - } - ,prevCY: function() { - return this.y; - } - ,toGfx: function(inGfx,ioContext) { - ioContext.setLast(this.x,this.y); - ioContext.firstX = ioContext.lastX; - ioContext.firstY = ioContext.lastY; - inGfx.moveTo(ioContext.lastX,ioContext.lastY); - } - ,__class__: format.svg.PathSegment -}; -format.svg.MoveSegment = function(inX,inY) { - format.svg.PathSegment.call(this,inX,inY); -}; -$hxClasses["format.svg.MoveSegment"] = format.svg.MoveSegment; -format.svg.MoveSegment.__name__ = ["format","svg","MoveSegment"]; -format.svg.MoveSegment.__super__ = format.svg.PathSegment; -format.svg.MoveSegment.prototype = $extend(format.svg.PathSegment.prototype,{ - getType: function() { - return 1; - } - ,__class__: format.svg.MoveSegment -}); -format.svg.DrawSegment = function(inX,inY) { - format.svg.PathSegment.call(this,inX,inY); -}; -$hxClasses["format.svg.DrawSegment"] = format.svg.DrawSegment; -format.svg.DrawSegment.__name__ = ["format","svg","DrawSegment"]; -format.svg.DrawSegment.__super__ = format.svg.PathSegment; -format.svg.DrawSegment.prototype = $extend(format.svg.PathSegment.prototype,{ - toGfx: function(inGfx,ioContext) { - ioContext.setLast(this.x,this.y); - inGfx.lineTo(ioContext.lastX,ioContext.lastY); - } - ,getType: function() { - return 2; - } - ,__class__: format.svg.DrawSegment -}); -format.svg.QuadraticSegment = function(inCX,inCY,inX,inY) { - format.svg.PathSegment.call(this,inX,inY); - this.cx = inCX; - this.cy = inCY; -}; -$hxClasses["format.svg.QuadraticSegment"] = format.svg.QuadraticSegment; -format.svg.QuadraticSegment.__name__ = ["format","svg","QuadraticSegment"]; -format.svg.QuadraticSegment.__super__ = format.svg.PathSegment; -format.svg.QuadraticSegment.prototype = $extend(format.svg.PathSegment.prototype,{ - prevCX: function() { - return this.cx; - } - ,prevCY: function() { - return this.cy; - } - ,toGfx: function(inGfx,ioContext) { - ioContext.setLast(this.x,this.y); - inGfx.curveTo(ioContext.transX(this.cx,this.cy),ioContext.transY(this.cx,this.cy),ioContext.lastX,ioContext.lastY); - } - ,getType: function() { - return 3; - } - ,__class__: format.svg.QuadraticSegment -}); -format.svg.CubicSegment = function(inCX1,inCY1,inCX2,inCY2,inX,inY) { - format.svg.PathSegment.call(this,inX,inY); - this.cx1 = inCX1; - this.cy1 = inCY1; - this.cx2 = inCX2; - this.cy2 = inCY2; -}; -$hxClasses["format.svg.CubicSegment"] = format.svg.CubicSegment; -format.svg.CubicSegment.__name__ = ["format","svg","CubicSegment"]; -format.svg.CubicSegment.__super__ = format.svg.PathSegment; -format.svg.CubicSegment.prototype = $extend(format.svg.PathSegment.prototype,{ - prevCX: function() { - return this.cx2; - } - ,prevCY: function() { - return this.cy2; - } - ,Interp: function(a,b,frac) { - return a + (b - a) * frac; - } - ,toGfx: function(inGfx,ioContext) { - var tx0 = ioContext.lastX; - var ty0 = ioContext.lastY; - var tx1 = ioContext.transX(this.cx1,this.cy1); - var ty1 = ioContext.transY(this.cx1,this.cy1); - var tx2 = ioContext.transX(this.cx2,this.cy2); - var ty2 = ioContext.transY(this.cx2,this.cy2); - ioContext.setLast(this.x,this.y); - var tx3 = ioContext.lastX; - var ty3 = ioContext.lastY; - var pa_x = this.Interp(tx0,tx1,0.75); - var pa_y = this.Interp(ty0,ty1,0.75); - var pb_x = this.Interp(tx3,tx2,0.75); - var pb_y = this.Interp(ty3,ty2,0.75); - var dx = (tx3 - tx0) / 16; - var dy = (ty3 - ty0) / 16; - var pcx_1 = this.Interp(tx0,tx1,0.375); - var pcy_1 = this.Interp(ty0,ty1,0.375); - var pcx_2 = this.Interp(pa_x,pb_x,0.375) - dx; - var pcy_2 = this.Interp(pa_y,pb_y,0.375) - dy; - var pcx_3 = this.Interp(pb_x,pa_x,0.375) + dx; - var pcy_3 = this.Interp(pb_y,pa_y,0.375) + dy; - var pcx_4 = this.Interp(tx3,tx2,0.375); - var pcy_4 = this.Interp(ty3,ty2,0.375); - var pax_1 = (pcx_1 + pcx_2) * 0.5; - var pay_1 = (pcy_1 + pcy_2) * 0.5; - var pax_2 = (pa_x + pb_x) * 0.5; - var pay_2 = (pa_y + pb_y) * 0.5; - var pax_3 = (pcx_3 + pcx_4) * 0.5; - var pay_3 = (pcy_3 + pcy_4) * 0.5; - inGfx.curveTo(pcx_1,pcy_1,pax_1,pay_1); - inGfx.curveTo(pcx_2,pcy_2,pax_2,pay_2); - inGfx.curveTo(pcx_3,pcy_3,pax_3,pay_3); - inGfx.curveTo(pcx_4,pcy_4,tx3,ty3); - } - ,toQuadratics: function(tx0,ty0) { - var result = new Array(); - var pa_x = this.Interp(tx0,this.cx1,0.75); - var pa_y = this.Interp(ty0,this.cy1,0.75); - var pb_x = this.Interp(this.x,this.cx2,0.75); - var pb_y = this.Interp(this.y,this.cy2,0.75); - var dx = (this.x - tx0) / 16; - var dy = (this.y - ty0) / 16; - var pcx_1 = this.Interp(tx0,this.cx1,0.375); - var pcy_1 = this.Interp(ty0,this.cy1,0.375); - var pcx_2 = this.Interp(pa_x,pb_x,0.375) - dx; - var pcy_2 = this.Interp(pa_y,pb_y,0.375) - dy; - var pcx_3 = this.Interp(pb_x,pa_x,0.375) + dx; - var pcy_3 = this.Interp(pb_y,pa_y,0.375) + dy; - var pcx_4 = this.Interp(this.x,this.cx2,0.375); - var pcy_4 = this.Interp(this.y,this.cy2,0.375); - var pax_1 = (pcx_1 + pcx_2) * 0.5; - var pay_1 = (pcy_1 + pcy_2) * 0.5; - var pax_2 = (pa_x + pb_x) * 0.5; - var pay_2 = (pa_y + pb_y) * 0.5; - var pax_3 = (pcx_3 + pcx_4) * 0.5; - var pay_3 = (pcy_3 + pcy_4) * 0.5; - result.push(new format.svg.QuadraticSegment(pcx_1,pcy_1,pax_1,pay_1)); - result.push(new format.svg.QuadraticSegment(pcx_2,pcy_2,pax_2,pay_2)); - result.push(new format.svg.QuadraticSegment(pcx_3,pcy_3,pax_3,pay_3)); - result.push(new format.svg.QuadraticSegment(pcx_4,pcy_4,this.x,this.y)); - return result; - } - ,getType: function() { - return 4; - } - ,__class__: format.svg.CubicSegment -}); -format.svg.ArcSegment = function(inX1,inY1,inRX,inRY,inRotation,inLargeArc,inSweep,x,y) { - this.x1 = inX1; - this.y1 = inY1; - format.svg.PathSegment.call(this,x,y); - this.rx = inRX; - this.ry = inRY; - this.phi = inRotation; - this.fA = inLargeArc; - this.fS = inSweep; -}; -$hxClasses["format.svg.ArcSegment"] = format.svg.ArcSegment; -format.svg.ArcSegment.__name__ = ["format","svg","ArcSegment"]; -format.svg.ArcSegment.__super__ = format.svg.PathSegment; -format.svg.ArcSegment.prototype = $extend(format.svg.PathSegment.prototype,{ - toGfx: function(inGfx,ioContext) { - if(this.x1 == this.x && this.y1 == this.y) return; - ioContext.setLast(this.x,this.y); - if(this.rx == 0 || this.ry == 0) { - inGfx.lineTo(ioContext.lastX,ioContext.lastY); - return; - } - if(this.rx < 0) this.rx = -this.rx; - if(this.ry < 0) this.ry = -this.ry; - var p = this.phi * Math.PI / 180.0; - var cos = Math.cos(p); - var sin = Math.sin(p); - var dx = (this.x1 - this.x) * 0.5; - var dy = (this.y1 - this.y) * 0.5; - var x1_ = cos * dx + sin * dy; - var y1_ = -sin * dx + cos * dy; - var rx2 = this.rx * this.rx; - var ry2 = this.ry * this.ry; - var x1_2 = x1_ * x1_; - var y1_2 = y1_ * y1_; - var s = (rx2 * ry2 - rx2 * y1_2 - ry2 * x1_2) / (rx2 * y1_2 + ry2 * x1_2); - if(s < 0) s = 0; else if(this.fA == this.fS) s = -Math.sqrt(s); else s = Math.sqrt(s); - var cx_ = s * this.rx * y1_ / this.ry; - var cy_ = -s * this.ry * x1_ / this.rx; - var xm = (this.x1 + this.x) * 0.5; - var ym = (this.y1 + this.y) * 0.5; - var cx = cos * cx_ - sin * cy_ + xm; - var cy = sin * cx_ + cos * cy_ + ym; - var theta = Math.atan2((y1_ - cy_) / this.ry,(x1_ - cx_) / this.rx); - var dtheta = Math.atan2((-y1_ - cy_) / this.ry,(-x1_ - cx_) / this.rx) - theta; - if(this.fS && dtheta < 0) dtheta += 2.0 * Math.PI; else if(!this.fS && dtheta > 0) dtheta -= 2.0 * Math.PI; - var m = ioContext.matrix; - var Txc; - var Txs; - var Tx0; - var Tyc; - var Tys; - var Ty0; - if(m != null) { - Txc = m.a * this.rx; - Txs = m.c * this.ry; - Tx0 = m.a * cx + m.c * cy + m.tx; - Tyc = m.b * this.rx; - Tys = m.d * this.ry; - Ty0 = m.b * cx + m.d * cy + m.ty; - } else { - Txc = this.rx; - Txs = 0; - Tx0 = cx + m.tx; - Tyc = 0; - Tys = this.ry; - Ty0 = cy + m.ty; - } - var len = Math.abs(dtheta) * Math.sqrt(Txc * Txc + Txs * Txs + Tyc * Tyc + Tys * Tys); - len *= 5; - var steps = Math.round(len); - if(steps > 1) { - dtheta /= steps; - var _g1 = 1; - var _g = steps - 1; - while(_g1 < _g) { - var i = _g1++; - var c = Math.cos(theta); - var s1 = Math.sin(theta); - theta += dtheta; - inGfx.lineTo(Txc * c + Txs * s1 + Tx0,Tyc * c + Tys * s1 + Ty0); - } - } - inGfx.lineTo(ioContext.lastX,ioContext.lastY); - } - ,getType: function() { - return 5; - } - ,__class__: format.svg.ArcSegment -}); -format.svg.RenderContext = function(inMatrix,inRect,inW,inH) { - this.matrix = inMatrix; - this.rect = inRect; - if(inW != null) this.rectW = inW; else if(inRect != null) this.rectW = inRect.width; else this.rectW = 1; - if(inH != null) this.rectH = inH; else if(inRect != null) this.rectH = inRect.height; else this.rectH = 1; - this.firstX = 0; - this.firstY = 0; - this.lastX = 0; - this.lastY = 0; -}; -$hxClasses["format.svg.RenderContext"] = format.svg.RenderContext; -format.svg.RenderContext.__name__ = ["format","svg","RenderContext"]; -format.svg.RenderContext.prototype = { - transX: function(inX,inY) { - if(this.rect != null && inX > this.rect.x) { - if(inX > this.rect.get_right()) inX += this.rectW - this.rect.width; else inX = this.rect.x + this.rectW * (inX - this.rect.x) / this.rect.width; - } - return inX * this.matrix.a + inY * this.matrix.c + this.matrix.tx; - } - ,transY: function(inX,inY) { - if(this.rect != null && inY > this.rect.y) { - if(inY > this.rect.get_right()) inY += this.rectH - this.rect.height; else inY = this.rect.y + this.rectH * (inY - this.rect.y) / this.rect.height; - } - return inX * this.matrix.b + inY * this.matrix.d + this.matrix.ty; - } - ,setLast: function(inX,inY) { - this.lastX = this.transX(inX,inY); - this.lastY = this.transY(inX,inY); - } - ,__class__: format.svg.RenderContext -}; -format.svg.SVGData = function(inXML,inConvertCubics) { - if(inConvertCubics == null) inConvertCubics = false; - format.svg.Group.call(this); - var svg = inXML.firstElement(); - if(svg == null || svg.get_nodeName() != "svg" && svg.get_nodeName() != "svg:svg") throw "Not an SVG file (" + (svg == null?"null":svg.get_nodeName()) + ")"; - this.mGrads = new haxe.ds.StringMap(); - this.mPathParser = new format.svg.PathParser(); - this.mConvertCubics = inConvertCubics; - this.width = this.getFloatStyle("width",svg,null,0.0); - this.height = this.getFloatStyle("height",svg,null,0.0); - if(this.width == 0 && this.height == 0) this.width = this.height = 400; else if(this.width == 0) this.width = this.height; else if(this.height == 0) this.height = this.width; - this.loadGroup(this,svg,new openfl.geom.Matrix(),null); -}; -$hxClasses["format.svg.SVGData"] = format.svg.SVGData; -format.svg.SVGData.__name__ = ["format","svg","SVGData"]; -format.svg.SVGData.__super__ = format.svg.Group; -format.svg.SVGData.prototype = $extend(format.svg.Group.prototype,{ - applyTransform: function(ioMatrix,inTrans) { - var scale = 1.0; - if(format.svg.SVGData.mTranslateMatch.match(inTrans)) ioMatrix.translate(Std.parseFloat(format.svg.SVGData.mTranslateMatch.matched(1)),Std.parseFloat(format.svg.SVGData.mTranslateMatch.matched(2))); else if(format.svg.SVGData.mScaleMatch.match(inTrans)) { - var s = Std.parseFloat(format.svg.SVGData.mScaleMatch.matched(1)); - ioMatrix.scale(s,s); - scale = s; - } else if(format.svg.SVGData.mMatrixMatch.match(inTrans)) { - var m = new openfl.geom.Matrix(Std.parseFloat(format.svg.SVGData.mMatrixMatch.matched(1)),Std.parseFloat(format.svg.SVGData.mMatrixMatch.matched(2)),Std.parseFloat(format.svg.SVGData.mMatrixMatch.matched(3)),Std.parseFloat(format.svg.SVGData.mMatrixMatch.matched(4)),Std.parseFloat(format.svg.SVGData.mMatrixMatch.matched(5)),Std.parseFloat(format.svg.SVGData.mMatrixMatch.matched(6))); - m.concat(ioMatrix); - ioMatrix.a = m.a; - ioMatrix.b = m.b; - ioMatrix.c = m.c; - ioMatrix.d = m.d; - ioMatrix.tx = m.tx; - ioMatrix.ty = m.ty; - scale = Math.sqrt(ioMatrix.a * ioMatrix.a + ioMatrix.c * ioMatrix.c); - } else haxe.Log.trace("Warning, unknown transform:" + inTrans,{ fileName : "SVGData.hx", lineNumber : 117, className : "format.svg.SVGData", methodName : "applyTransform"}); - return scale; - } - ,dumpGroup: function(g,indent) { - haxe.Log.trace(indent + "Group:" + g.name,{ fileName : "SVGData.hx", lineNumber : 128, className : "format.svg.SVGData", methodName : "dumpGroup"}); - indent += " "; - var _g = 0; - var _g1 = g.children; - while(_g < _g1.length) { - var e = _g1[_g]; - ++_g; - switch(e[1]) { - case 0: - var path = e[2]; - haxe.Log.trace(indent + "Path" + " " + Std.string(path.matrix),{ fileName : "SVGData.hx", lineNumber : 135, className : "format.svg.SVGData", methodName : "dumpGroup"}); - break; - case 1: - var group = e[2]; - this.dumpGroup(group,indent + " "); - break; - case 2: - var text = e[2]; - haxe.Log.trace(indent + "Text " + text.text,{ fileName : "SVGData.hx", lineNumber : 137, className : "format.svg.SVGData", methodName : "dumpGroup"}); - break; - } - } - } - ,getColorStyle: function(inKey,inNode,inStyles,inDefault) { - var s = this.getStyle(inKey,inNode,inStyles,""); - if(s == "") return inDefault; - if(s.charAt(0) == "#") return Std.parseInt("0x" + HxOverrides.substr(s,1,null)); - return Std.parseInt(s); - } - ,getFillStyle: function(inKey,inNode,inStyles) { - var s = this.getStyle(inKey,inNode,inStyles,""); - if(s == "") return format.svg.SVGData.defaultFill; - if(s.charAt(0) == "#") return format.svg.FillType.FillSolid(Std.parseInt("0x" + HxOverrides.substr(s,1,null))); - if(s == "none") return format.svg.FillType.FillNone; - if(format.svg.SVGData.mURLMatch.match(s)) { - var url = format.svg.SVGData.mURLMatch.matched(1); - if(this.mGrads.exists(url)) return format.svg.FillType.FillGrad(this.mGrads.get(url)); - throw "Unknown url:" + url; - } - throw "Unknown fill string:" + s; - return format.svg.FillType.FillNone; - } - ,getFloat: function(inXML,inName,inDef) { - if(inDef == null) inDef = 0.0; - if(inXML.exists(inName)) return Std.parseFloat(inXML.get(inName)); - return inDef; - } - ,getFloatStyle: function(inKey,inNode,inStyles,inDefault) { - var s = this.getStyle(inKey,inNode,inStyles,""); - if(s == "") return inDefault; - return Std.parseFloat(s); - } - ,getStrokeStyle: function(inKey,inNode,inStyles,inDefault) { - var s = this.getStyle(inKey,inNode,inStyles,""); - if(s == "") return inDefault; - if(s == "none") return null; - if(s.charAt(0) == "#") return Std.parseInt("0x" + HxOverrides.substr(s,1,null)); - return Std.parseInt(s); - } - ,getStyle: function(inKey,inNode,inStyles,inDefault) { - if(inNode != null && inNode.exists(inKey)) return inNode.get(inKey); - if(inStyles != null && inStyles.exists(inKey)) return inStyles.get(inKey); - return inDefault; - } - ,getStyles: function(inNode,inPrevStyles) { - if(!inNode.exists("style")) return inPrevStyles; - var styles = new haxe.ds.StringMap(); - if(inPrevStyles != null) { - var $it0 = inPrevStyles.keys(); - while( $it0.hasNext() ) { - var s = $it0.next(); - styles.set(s,inPrevStyles.get(s)); - } - } - var style = inNode.get("style"); - var strings = format.svg.SVGData.mStyleSplit.split(style); - var _g = 0; - while(_g < strings.length) { - var s1 = strings[_g]; - ++_g; - if(format.svg.SVGData.mStyleValue.match(s1)) styles.set(format.svg.SVGData.mStyleValue.matched(1),format.svg.SVGData.mStyleValue.matched(2)); - } - return styles; - } - ,loadDefs: function(inXML) { - var _g = 0; - while(_g < 2) { - var pass = _g++; - var $it0 = inXML.elements(); - while( $it0.hasNext() ) { - var def = $it0.next(); - var name = def.get_nodeName(); - if(HxOverrides.substr(name,0,4) == "svg:") name = HxOverrides.substr(name,4,null); - if(name == "linearGradient") this.loadGradient(def,openfl.display.GradientType.LINEAR,pass == 1); else if(name == "radialGradient") this.loadGradient(def,openfl.display.GradientType.RADIAL,pass == 1); - } - } - } - ,loadGradient: function(inGrad,inType,inCrossLink) { - var name = inGrad.get("id"); - var grad = new format.svg.Grad(inType); - if(inCrossLink && inGrad.exists("xlink:href")) { - var xlink = inGrad.get("xlink:href"); - if(xlink.charAt(0) != "#") throw "xlink - unkown syntax : " + xlink; - var base = this.mGrads.get(HxOverrides.substr(xlink,1,null)); - if(base != null) { - grad.colors = base.colors; - grad.alphas = base.alphas; - grad.ratios = base.ratios; - grad.gradMatrix = base.gradMatrix.clone(); - grad.spread = base.spread; - grad.interp = base.interp; - grad.radius = base.radius; - } else throw "Unknown xlink : " + xlink; - } - if(inGrad.exists("x1")) { - grad.x1 = this.getFloat(inGrad,"x1"); - grad.y1 = this.getFloat(inGrad,"y1"); - grad.x2 = this.getFloat(inGrad,"x2"); - grad.y2 = this.getFloat(inGrad,"y2"); - } else { - grad.x1 = this.getFloat(inGrad,"cx"); - grad.y1 = this.getFloat(inGrad,"cy"); - grad.x2 = this.getFloat(inGrad,"fx",grad.x1); - grad.y2 = this.getFloat(inGrad,"fy",grad.y1); - } - grad.radius = this.getFloat(inGrad,"r"); - if(inGrad.exists("gradientTransform")) this.applyTransform(grad.gradMatrix,inGrad.get("gradientTransform")); - var $it0 = inGrad.elements(); - while( $it0.hasNext() ) { - var stop = $it0.next(); - var styles = this.getStyles(stop,null); - grad.colors.push(this.getColorStyle("stop-color",stop,styles,0)); - grad.alphas.push(this.getFloatStyle("stop-opacity",stop,styles,1.0)); - grad.ratios.push(Std["int"](Std.parseFloat(stop.get("offset")) * 255.0)); - } - this.mGrads.set(name,grad); - } - ,loadGroup: function(g,inG,matrix,inStyles) { - if(inG.exists("transform")) { - matrix = new openfl.geom.Matrix(matrix.a,matrix.b,matrix.c,matrix.d,matrix.tx,matrix.ty); - this.applyTransform(matrix,inG.get("transform")); - } - if(inG.exists("inkscape:label")) g.name = inG.get("inkscape:label"); else if(inG.exists("id")) g.name = inG.get("id"); - var styles = this.getStyles(inG,inStyles); - var $it0 = inG.elements(); - while( $it0.hasNext() ) { - var el = $it0.next(); - var name = el.get_nodeName(); - if(HxOverrides.substr(name,0,4) == "svg:") name = HxOverrides.substr(name,4,null); - if(name == "defs") this.loadDefs(el); else if(name == "g") { - if(!(el.exists("display") && el.get("display") == "none")) g.children.push(format.svg.DisplayElement.DisplayGroup(this.loadGroup(new format.svg.Group(),el,matrix,styles))); - } else if(name == "path" || name == "line" || name == "polyline") g.children.push(format.svg.DisplayElement.DisplayPath(this.loadPath(el,matrix,styles,false,false))); else if(name == "rect") g.children.push(format.svg.DisplayElement.DisplayPath(this.loadPath(el,matrix,styles,true,false))); else if(name == "polygon") g.children.push(format.svg.DisplayElement.DisplayPath(this.loadPath(el,matrix,styles,false,false))); else if(name == "ellipse") g.children.push(format.svg.DisplayElement.DisplayPath(this.loadPath(el,matrix,styles,false,true))); else if(name == "circle") g.children.push(format.svg.DisplayElement.DisplayPath(this.loadPath(el,matrix,styles,false,true,true))); else if(name == "text") g.children.push(format.svg.DisplayElement.DisplayText(this.loadText(el,matrix,styles))); else if(name == "linearGradient") this.loadGradient(el,openfl.display.GradientType.LINEAR,true); else if(name == "radialGradient") this.loadGradient(el,openfl.display.GradientType.RADIAL,true); else { - } - } - return g; - } - ,loadPath: function(inPath,matrix,inStyles,inIsRect,inIsEllipse,inIsCircle) { - if(inIsCircle == null) inIsCircle = false; - if(inPath.exists("transform")) { - matrix = new openfl.geom.Matrix(matrix.a,matrix.b,matrix.c,matrix.d,matrix.tx,matrix.ty); - this.applyTransform(matrix,inPath.get("transform")); - } - var styles = this.getStyles(inPath,inStyles); - var name; - if(inPath.exists("id")) name = inPath.get("id"); else name = ""; - var path = new format.svg.Path(); - path.fill = this.getFillStyle("fill",inPath,styles); - path.alpha = this.getFloatStyle("opacity",inPath,styles,1.0); - path.fill_alpha = this.getFloatStyle("fill-opacity",inPath,styles,1.0); - path.stroke_alpha = this.getFloatStyle("stroke-opacity",inPath,styles,1.0); - path.stroke_colour = this.getStrokeStyle("stroke",inPath,styles,null); - path.stroke_width = this.getFloatStyle("stroke-width",inPath,styles,1.0); - path.stroke_caps = openfl.display.CapsStyle.ROUND; - path.joint_style = openfl.display.JointStyle.ROUND; - path.miter_limit = this.getFloatStyle("stroke-miterlimit",inPath,styles,3.0); - path.segments = []; - path.matrix = matrix; - path.name = name; - if(inIsRect) { - var x; - if(inPath.exists("x")) x = Std.parseFloat(inPath.get("x")); else x = 0; - var y; - if(inPath.exists("y")) y = Std.parseFloat(inPath.get("y")); else y = 0; - var w = Std.parseFloat(inPath.get("width")); - var h = Std.parseFloat(inPath.get("height")); - var rx; - if(inPath.exists("rx")) rx = Std.parseFloat(inPath.get("rx")); else rx = 0.0; - var ry; - if(inPath.exists("ry")) ry = Std.parseFloat(inPath.get("ry")); else ry = 0.0; - if(rx == 0 || ry == 0) { - path.segments.push(new format.svg.MoveSegment(x,y)); - path.segments.push(new format.svg.DrawSegment(x + w,y)); - path.segments.push(new format.svg.DrawSegment(x + w,y + h)); - path.segments.push(new format.svg.DrawSegment(x,y + h)); - path.segments.push(new format.svg.DrawSegment(x,y)); - } else { - path.segments.push(new format.svg.MoveSegment(x,y + ry)); - path.segments.push(new format.svg.QuadraticSegment(x,y,x + rx,y)); - path.segments.push(new format.svg.DrawSegment(x + w - rx,y)); - path.segments.push(new format.svg.QuadraticSegment(x + w,y,x + w,y + rx)); - path.segments.push(new format.svg.DrawSegment(x + w,y + h - ry)); - path.segments.push(new format.svg.QuadraticSegment(x + w,y + h,x + w - rx,y + h)); - path.segments.push(new format.svg.DrawSegment(x + rx,y + h)); - path.segments.push(new format.svg.QuadraticSegment(x,y + h,x,y + h - ry)); - path.segments.push(new format.svg.DrawSegment(x,y + ry)); - } - } else if(inIsEllipse) { - var x1; - if(inPath.exists("cx")) x1 = Std.parseFloat(inPath.get("cx")); else x1 = 0; - var y1; - if(inPath.exists("cy")) y1 = Std.parseFloat(inPath.get("cy")); else y1 = 0; - var r; - if(inIsCircle && inPath.exists("r")) r = Std.parseFloat(inPath.get("r")); else r = 0.0; - var w1; - if(inIsCircle) w1 = r; else if(inPath.exists("rx")) w1 = Std.parseFloat(inPath.get("rx")); else w1 = 0.0; - var w_ = w1 * format.svg.SVGData.SIN45; - var cw_ = w1 * format.svg.SVGData.TAN22; - var h1; - if(inIsCircle) h1 = r; else if(inPath.exists("ry")) h1 = Std.parseFloat(inPath.get("ry")); else h1 = 0.0; - var h_ = h1 * format.svg.SVGData.SIN45; - var ch_ = h1 * format.svg.SVGData.TAN22; - path.segments.push(new format.svg.MoveSegment(x1 + w1,y1)); - path.segments.push(new format.svg.QuadraticSegment(x1 + w1,y1 + ch_,x1 + w_,y1 + h_)); - path.segments.push(new format.svg.QuadraticSegment(x1 + cw_,y1 + h1,x1,y1 + h1)); - path.segments.push(new format.svg.QuadraticSegment(x1 - cw_,y1 + h1,x1 - w_,y1 + h_)); - path.segments.push(new format.svg.QuadraticSegment(x1 - w1,y1 + ch_,x1 - w1,y1)); - path.segments.push(new format.svg.QuadraticSegment(x1 - w1,y1 - ch_,x1 - w_,y1 - h_)); - path.segments.push(new format.svg.QuadraticSegment(x1 - cw_,y1 - h1,x1,y1 - h1)); - path.segments.push(new format.svg.QuadraticSegment(x1 + cw_,y1 - h1,x1 + w_,y1 - h_)); - path.segments.push(new format.svg.QuadraticSegment(x1 + w1,y1 - ch_,x1 + w1,y1)); - } else { - var d; - if(inPath.exists("points")) d = "M" + inPath.get("points") + "z"; else if(inPath.exists("x1")) d = "M" + inPath.get("x1") + "," + inPath.get("y1") + " " + inPath.get("x2") + "," + inPath.get("y2") + "z"; else d = inPath.get("d"); - var _g = 0; - var _g1 = this.mPathParser.parse(d,this.mConvertCubics); - while(_g < _g1.length) { - var segment = _g1[_g]; - ++_g; - path.segments.push(segment); - } - } - return path; - } - ,loadText: function(inText,matrix,inStyles) { - if(inText.exists("transform")) { - matrix = new openfl.geom.Matrix(matrix.a,matrix.b,matrix.c,matrix.d,matrix.tx,matrix.ty); - this.applyTransform(matrix,inText.get("transform")); - } - var styles = this.getStyles(inText,inStyles); - var text = new format.svg.Text(); - text.matrix = matrix; - if(inText.exists("id")) text.name = inText.get("id"); else text.name = ""; - text.x = this.getFloat(inText,"x",0.0); - text.y = this.getFloat(inText,"y",0.0); - text.fill = this.getFillStyle("fill",inText,styles); - text.fill_alpha = this.getFloatStyle("fill-opacity",inText,styles,1.0); - text.stroke_alpha = this.getFloatStyle("stroke-opacity",inText,styles,1.0); - text.stroke_colour = this.getStrokeStyle("stroke",inText,styles,null); - text.stroke_width = this.getFloatStyle("stroke-width",inText,styles,1.0); - text.font_family = this.getStyle("font-family",inText,styles,""); - text.font_size = this.getFloatStyle("font-size",inText,styles,12); - text.letter_spacing = this.getFloatStyle("letter-spacing",inText,styles,0); - text.kerning = this.getFloatStyle("kerning",inText,styles,0); - var string = ""; - var $it0 = inText.elements(); - while( $it0.hasNext() ) { - var el = $it0.next(); - string += el.toString(); - } - text.text = string; - return text; - } - ,__class__: format.svg.SVGData -}); -format.svg.SVGRenderer = function(inSvg,inLayer) { - this.mSvg = inSvg; - this.width = this.mSvg.width; - this.height = this.mSvg.height; - this.mRoot = this.mSvg; - if(inLayer != null) { - this.mRoot = this.mSvg.findGroup(inLayer); - if(this.mRoot == null) throw "Could not find SVG group: " + inLayer; - } -}; -$hxClasses["format.svg.SVGRenderer"] = format.svg.SVGRenderer; -format.svg.SVGRenderer.__name__ = ["format","svg","SVGRenderer"]; -format.svg.SVGRenderer.toHaxe = function(inXML,inFilter) { - return new format.svg.SVGRenderer(new format.svg.SVGData(inXML,true)).iterate(new format.gfx.Gfx2Haxe(),inFilter).commands; -}; -format.svg.SVGRenderer.toBytes = function(inXML,inFilter) { - return new format.svg.SVGRenderer(new format.svg.SVGData(inXML,true)).iterate(new format.gfx.GfxBytes(),inFilter); -}; -format.svg.SVGRenderer.prototype = { - iterate: function(inGfx,inFilter) { - this.mGfx = inGfx; - this.mMatrix = new openfl.geom.Matrix(); - this.mFilter = inFilter; - this.mGroupPath = []; - this.mGfx.size(this.width,this.height); - this.iterateGroup(this.mRoot,true); - this.mGfx.eof(); - return inGfx; - } - ,hasGroup: function(inName) { - return this.mRoot.hasGroup(inName); - } - ,iterateText: function(inText) { - if(this.mFilter != null && !this.mFilter(inText.name,this.mGroupPath)) return; - this.mGfx.renderText(inText); - } - ,iteratePath: function(inPath) { - if(this.mFilter != null && !this.mFilter(inPath.name,this.mGroupPath)) return; - if(inPath.segments.length == 0 || this.mGfx == null) return; - var px = 0.0; - var py = 0.0; - var m = inPath.matrix.clone(); - m.concat(this.mMatrix); - var context = new format.svg.RenderContext(m,this.mScaleRect,this.mScaleW,this.mScaleH); - var geomOnly = this.mGfx.geometryOnly(); - if(!geomOnly) { - inPath.segments[0].toGfx(this.mGfx,context); - { - var _g = inPath.fill; - switch(_g[1]) { - case 0: - var grad = _g[2]; - grad.updateMatrix(m); - this.mGfx.beginGradientFill(grad); - break; - case 1: - var colour = _g[2]; - this.mGfx.beginFill(colour,inPath.fill_alpha * inPath.alpha); - break; - case 2: - break; - } - } - if(inPath.stroke_colour == null) { - } else { - var style = new format.gfx.LineStyle(); - var scale = Math.sqrt(m.a * m.a + m.c * m.c); - style.thickness = inPath.stroke_width * scale; - style.alpha = inPath.stroke_alpha * inPath.alpha; - style.color = inPath.stroke_colour; - style.capsStyle = inPath.stroke_caps; - style.jointStyle = inPath.joint_style; - style.miterLimit = inPath.miter_limit; - this.mGfx.lineStyle(style); - } - } - var _g1 = 0; - var _g11 = inPath.segments; - while(_g1 < _g11.length) { - var segment = _g11[_g1]; - ++_g1; - segment.toGfx(this.mGfx,context); - } - this.mGfx.endFill(); - this.mGfx.endLineStyle(); - } - ,iterateGroup: function(inGroup,inIgnoreDot) { - if(inIgnoreDot && inGroup.name != null && HxOverrides.substr(inGroup.name,0,1) == ".") return; - this.mGroupPath.push(inGroup.name); - var _g = 0; - var _g1 = inGroup.children; - while(_g < _g1.length) { - var child = _g1[_g]; - ++_g; - switch(child[1]) { - case 1: - var group = child[2]; - this.iterateGroup(group,inIgnoreDot); - break; - case 0: - var path = child[2]; - this.iteratePath(path); - break; - case 2: - var text = child[2]; - this.iterateText(text); - break; - } - } - this.mGroupPath.pop(); - } - ,render: function(inGfx,inMatrix,inFilter,inScaleRect,inScaleW,inScaleH) { - this.mGfx = new format.gfx.GfxGraphics(inGfx); - if(inMatrix == null) this.mMatrix = new openfl.geom.Matrix(); else this.mMatrix = new openfl.geom.Matrix(inMatrix.a,inMatrix.b,inMatrix.c,inMatrix.d,inMatrix.tx,inMatrix.ty); - this.mScaleRect = inScaleRect; - this.mScaleW = inScaleW; - this.mScaleH = inScaleH; - this.mFilter = inFilter; - this.mGroupPath = []; - this.iterateGroup(this.mRoot,inFilter == null); - } - ,renderRect: function(inGfx,inFilter,scaleRect,inBounds,inRect) { - var matrix = new openfl.geom.Matrix(); - matrix.tx = inRect.x - inBounds.x; - matrix.ty = inRect.y - inBounds.y; - if(scaleRect != null) { - var extraX = inRect.width - (inBounds.width - scaleRect.width); - var extraY = inRect.height - (inBounds.height - scaleRect.height); - this.render(inGfx,matrix,inFilter,scaleRect,extraX,extraY); - } else this.render(inGfx,matrix,inFilter); - } - ,renderRect0: function(inGfx,inFilter,scaleRect,inBounds,inRect) { - var matrix = new openfl.geom.Matrix(); - matrix.tx = -inBounds.x; - matrix.ty = -inBounds.y; - if(scaleRect != null) { - var extraX = inRect.width - (inBounds.width - scaleRect.width); - var extraY = inRect.height - (inBounds.height - scaleRect.height); - this.render(inGfx,matrix,inFilter,scaleRect,extraX,extraY); - } else this.render(inGfx,matrix,inFilter); - } - ,getExtent: function(inMatrix,inFilter,inIgnoreDot) { - if(inIgnoreDot == null) inIgnoreDot = inFilter == null; - var gfx = new format.gfx.GfxExtent(); - this.mGfx = gfx; - if(inMatrix == null) this.mMatrix = new openfl.geom.Matrix(); else this.mMatrix = new openfl.geom.Matrix(inMatrix.a,inMatrix.b,inMatrix.c,inMatrix.d,inMatrix.tx,inMatrix.ty); - this.mFilter = inFilter; - this.mGroupPath = []; - this.iterateGroup(this.mRoot,inIgnoreDot); - return gfx.extent; - } - ,findText: function(inFilter) { - this.mFilter = inFilter; - this.mGroupPath = []; - var finder = new format.gfx.GfxTextFinder(); - this.mGfx = finder; - this.iterateGroup(this.mRoot,false); - return finder.text; - } - ,getMatchingRect: function(inMatch) { - return this.getExtent(null,function(_,groups) { - return groups[1] != null && inMatch.match(groups[1]); - },false); - } - ,renderObject: function(inObj,inGfx,inMatrix,inFilter,inScale9) { - this.render(inGfx,inMatrix,inFilter,inScale9); - var rect = this.getExtent(inMatrix,function(_,groups) { - return groups[1] == ".scale9"; - }); - } - ,renderSprite: function(inObj,inMatrix,inFilter,inScale9) { - this.renderObject(inObj,inObj.get_graphics(),inMatrix,inFilter,inScale9); - } - ,createShape: function(inMatrix,inFilter,inScale9) { - var shape = new openfl.display.Shape(); - this.renderObject(shape,shape.get_graphics(),inMatrix,inFilter,inScale9); - return shape; - } - ,namedShape: function(inName) { - return this.createShape(null,function(name,_) { - return name == inName; - }); - } - ,renderBitmap: function(inRect,inScale) { - if(inScale == null) inScale = 1.0; - this.mMatrix = new openfl.geom.Matrix(inScale,0,0,inScale,-inRect.x * inScale,-inRect.y * inScale); - var w = Std["int"](Math.ceil(inRect == null?this.width:inRect.width * inScale)); - var h = Std["int"](Math.ceil(inRect == null?this.width:inRect.height * inScale)); - var bmp = new openfl.display.BitmapData(w,h,true,0); - var shape = new openfl.display.Shape(); - this.mGfx = new format.gfx.GfxGraphics(shape.get_graphics()); - this.mGroupPath = []; - this.iterateGroup(this.mRoot,true); - bmp.draw(shape); - this.mGfx = null; - return bmp; - } - ,__class__: format.svg.SVGRenderer -}; -format.svg.Text = function() { -}; -$hxClasses["format.svg.Text"] = format.svg.Text; -format.svg.Text.__name__ = ["format","svg","Text"]; -format.svg.Text.prototype = { - __class__: format.svg.Text -}; -var haxe = {}; -haxe.StackItem = $hxClasses["haxe.StackItem"] = { __ename__ : true, __constructs__ : ["CFunction","Module","FilePos","Method","LocalFunction"] }; -haxe.StackItem.CFunction = ["CFunction",0]; -haxe.StackItem.CFunction.toString = $estr; -haxe.StackItem.CFunction.__enum__ = haxe.StackItem; -haxe.StackItem.Module = function(m) { var $x = ["Module",1,m]; $x.__enum__ = haxe.StackItem; $x.toString = $estr; return $x; }; -haxe.StackItem.FilePos = function(s,file,line) { var $x = ["FilePos",2,s,file,line]; $x.__enum__ = haxe.StackItem; $x.toString = $estr; return $x; }; -haxe.StackItem.Method = function(classname,method) { var $x = ["Method",3,classname,method]; $x.__enum__ = haxe.StackItem; $x.toString = $estr; return $x; }; -haxe.StackItem.LocalFunction = function(v) { var $x = ["LocalFunction",4,v]; $x.__enum__ = haxe.StackItem; $x.toString = $estr; return $x; }; -haxe.CallStack = function() { }; -$hxClasses["haxe.CallStack"] = haxe.CallStack; -haxe.CallStack.__name__ = ["haxe","CallStack"]; -haxe.CallStack.lastException = null; -haxe.CallStack.getStack = function(e) { - if(e == null) return []; - var oldValue = Error.prepareStackTrace; - Error.prepareStackTrace = function(error,callsites) { - var stack = []; - var _g = 0; - while(_g < callsites.length) { - var site = callsites[_g]; - ++_g; - if(haxe.CallStack.wrapCallSite != null) site = haxe.CallStack.wrapCallSite(site); - var method = null; - var fullName = site.getFunctionName(); - if(fullName != null) { - var idx = fullName.lastIndexOf("."); - if(idx >= 0) { - var className = HxOverrides.substr(fullName,0,idx); - var methodName = HxOverrides.substr(fullName,idx + 1,null); - method = haxe.StackItem.Method(className,methodName); - } - } - stack.push(haxe.StackItem.FilePos(method,site.getFileName(),site.getLineNumber())); - } - return stack; - }; - var a = haxe.CallStack.makeStack(e.stack); - Error.prepareStackTrace = oldValue; - return a; -}; -haxe.CallStack.wrapCallSite = null; -haxe.CallStack.callStack = function() { - try { - throw new Error(); - } catch( e ) { - var a = haxe.CallStack.getStack(e); - a.shift(); - return a; - } -}; -haxe.CallStack.exceptionStack = function() { - return haxe.CallStack.getStack(haxe.CallStack.lastException); -}; -haxe.CallStack.toString = function(stack) { - var b = new StringBuf(); - var _g = 0; - while(_g < stack.length) { - var s = stack[_g]; - ++_g; - b.b += "\nCalled from "; - haxe.CallStack.itemToString(b,s); - } - return b.b; -}; -haxe.CallStack.itemToString = function(b,s) { - switch(s[1]) { - case 0: - b.b += "a C function"; - break; - case 1: - var m = s[2]; - b.b += "module "; - if(m == null) b.b += "null"; else b.b += "" + m; - break; - case 2: - var line = s[4]; - var file = s[3]; - var s1 = s[2]; - if(s1 != null) { - haxe.CallStack.itemToString(b,s1); - b.b += " ("; - } - if(file == null) b.b += "null"; else b.b += "" + file; - b.b += " line "; - if(line == null) b.b += "null"; else b.b += "" + line; - if(s1 != null) b.b += ")"; - break; - case 3: - var meth = s[3]; - var cname = s[2]; - if(cname == null) b.b += "null"; else b.b += "" + cname; - b.b += "."; - if(meth == null) b.b += "null"; else b.b += "" + meth; - break; - case 4: - var n = s[2]; - b.b += "local function #"; - if(n == null) b.b += "null"; else b.b += "" + n; - break; - } -}; -haxe.CallStack.makeStack = function(s) { - if(s == null) return []; else if(typeof(s) == "string") { - var stack = s.split("\n"); - if(stack[0] == "Error") stack.shift(); - var m = []; - var rie10 = new EReg("^ at ([A-Za-z0-9_. ]+) \\(([^)]+):([0-9]+):([0-9]+)\\)$",""); - var _g = 0; - while(_g < stack.length) { - var line = stack[_g]; - ++_g; - if(rie10.match(line)) { - var path = rie10.matched(1).split("."); - var meth = path.pop(); - var file = rie10.matched(2); - var line1 = Std.parseInt(rie10.matched(3)); - m.push(haxe.StackItem.FilePos(meth == "Anonymous function"?haxe.StackItem.LocalFunction():meth == "Global code"?null:haxe.StackItem.Method(path.join("."),meth),file,line1)); - } else m.push(haxe.StackItem.Module(StringTools.trim(line))); - } - return m; - } else return s; -}; -haxe.Log = function() { }; -$hxClasses["haxe.Log"] = haxe.Log; -haxe.Log.__name__ = ["haxe","Log"]; -haxe.Log.trace = function(v,infos) { - js.Boot.__trace(v,infos); -}; -haxe.Timer = function(time_ms) { - var me = this; - this.id = setInterval(function() { - me.run(); - },time_ms); -}; -$hxClasses["haxe.Timer"] = haxe.Timer; -haxe.Timer.__name__ = ["haxe","Timer"]; -haxe.Timer.delay = function(f,time_ms) { - var t = new haxe.Timer(time_ms); - t.run = function() { - t.stop(); - f(); - }; - return t; -}; -haxe.Timer.measure = function(f,pos) { - var t0 = haxe.Timer.stamp(); - var r = f(); - haxe.Log.trace(haxe.Timer.stamp() - t0 + "s",pos); - return r; -}; -haxe.Timer.stamp = function() { - return new Date().getTime() / 1000; -}; -haxe.Timer.prototype = { - stop: function() { - if(this.id == null) return; - clearInterval(this.id); - this.id = null; - } - ,run: function() { - } - ,__class__: haxe.Timer -}; -haxe.Utf8 = function() { }; -$hxClasses["haxe.Utf8"] = haxe.Utf8; -haxe.Utf8.__name__ = ["haxe","Utf8"]; -haxe.Utf8.charCodeAt = function(s,index) { - return HxOverrides.cca(s,index); -}; -haxe.crypto = {}; -haxe.crypto.BaseCode = function(base) { - var len = base.length; - var nbits = 1; - while(len > 1 << nbits) nbits++; - if(nbits > 8 || len != 1 << nbits) throw "BaseCode : base length must be a power of two."; - this.base = base; - this.nbits = nbits; -}; -$hxClasses["haxe.crypto.BaseCode"] = haxe.crypto.BaseCode; -haxe.crypto.BaseCode.__name__ = ["haxe","crypto","BaseCode"]; -haxe.crypto.BaseCode.prototype = { - encodeBytes: function(b) { - var nbits = this.nbits; - var base = this.base; - var size = b.length * 8 / nbits | 0; - var out = haxe.io.Bytes.alloc(size + (b.length * 8 % nbits == 0?0:1)); - var buf = 0; - var curbits = 0; - var mask = (1 << nbits) - 1; - var pin = 0; - var pout = 0; - while(pout < size) { - while(curbits < nbits) { - curbits += 8; - buf <<= 8; - buf |= b.get(pin++); - } - curbits -= nbits; - out.set(pout++,base.b[buf >> curbits & mask]); - } - if(curbits > 0) out.set(pout++,base.b[buf << nbits - curbits & mask]); - return out; - } - ,__class__: haxe.crypto.BaseCode -}; -haxe.ds = {}; -haxe.ds.BalancedTree = function() { -}; -$hxClasses["haxe.ds.BalancedTree"] = haxe.ds.BalancedTree; -haxe.ds.BalancedTree.__name__ = ["haxe","ds","BalancedTree"]; -haxe.ds.BalancedTree.prototype = { - set: function(key,value) { - this.root = this.setLoop(key,value,this.root); - } - ,get: function(key) { - var node = this.root; - while(node != null) { - var c = this.compare(key,node.key); - if(c == 0) return node.value; - if(c < 0) node = node.left; else node = node.right; - } - return null; - } - ,setLoop: function(k,v,node) { - if(node == null) return new haxe.ds.TreeNode(null,k,v,null); - var c = this.compare(k,node.key); - if(c == 0) return new haxe.ds.TreeNode(node.left,k,v,node.right,node == null?0:node._height); else if(c < 0) { - var nl = this.setLoop(k,v,node.left); - return this.balance(nl,node.key,node.value,node.right); - } else { - var nr = this.setLoop(k,v,node.right); - return this.balance(node.left,node.key,node.value,nr); - } - } - ,balance: function(l,k,v,r) { - var hl; - if(l == null) hl = 0; else hl = l._height; - var hr; - if(r == null) hr = 0; else hr = r._height; - if(hl > hr + 2) { - if((function($this) { - var $r; - var _this = l.left; - $r = _this == null?0:_this._height; - return $r; - }(this)) >= (function($this) { - var $r; - var _this1 = l.right; - $r = _this1 == null?0:_this1._height; - return $r; - }(this))) return new haxe.ds.TreeNode(l.left,l.key,l.value,new haxe.ds.TreeNode(l.right,k,v,r)); else return new haxe.ds.TreeNode(new haxe.ds.TreeNode(l.left,l.key,l.value,l.right.left),l.right.key,l.right.value,new haxe.ds.TreeNode(l.right.right,k,v,r)); - } else if(hr > hl + 2) { - if((function($this) { - var $r; - var _this2 = r.right; - $r = _this2 == null?0:_this2._height; - return $r; - }(this)) > (function($this) { - var $r; - var _this3 = r.left; - $r = _this3 == null?0:_this3._height; - return $r; - }(this))) return new haxe.ds.TreeNode(new haxe.ds.TreeNode(l,k,v,r.left),r.key,r.value,r.right); else return new haxe.ds.TreeNode(new haxe.ds.TreeNode(l,k,v,r.left.left),r.left.key,r.left.value,new haxe.ds.TreeNode(r.left.right,r.key,r.value,r.right)); - } else return new haxe.ds.TreeNode(l,k,v,r,(hl > hr?hl:hr) + 1); - } - ,compare: function(k1,k2) { - return Reflect.compare(k1,k2); - } - ,__class__: haxe.ds.BalancedTree -}; -haxe.ds.TreeNode = function(l,k,v,r,h) { - if(h == null) h = -1; - this.left = l; - this.key = k; - this.value = v; - this.right = r; - if(h == -1) this._height = ((function($this) { - var $r; - var _this = $this.left; - $r = _this == null?0:_this._height; - return $r; - }(this)) > (function($this) { - var $r; - var _this1 = $this.right; - $r = _this1 == null?0:_this1._height; - return $r; - }(this))?(function($this) { - var $r; - var _this2 = $this.left; - $r = _this2 == null?0:_this2._height; - return $r; - }(this)):(function($this) { - var $r; - var _this3 = $this.right; - $r = _this3 == null?0:_this3._height; - return $r; - }(this))) + 1; else this._height = h; -}; -$hxClasses["haxe.ds.TreeNode"] = haxe.ds.TreeNode; -haxe.ds.TreeNode.__name__ = ["haxe","ds","TreeNode"]; -haxe.ds.TreeNode.prototype = { - __class__: haxe.ds.TreeNode -}; -haxe.ds.EnumValueMap = function() { - haxe.ds.BalancedTree.call(this); -}; -$hxClasses["haxe.ds.EnumValueMap"] = haxe.ds.EnumValueMap; -haxe.ds.EnumValueMap.__name__ = ["haxe","ds","EnumValueMap"]; -haxe.ds.EnumValueMap.__interfaces__ = [IMap]; -haxe.ds.EnumValueMap.__super__ = haxe.ds.BalancedTree; -haxe.ds.EnumValueMap.prototype = $extend(haxe.ds.BalancedTree.prototype,{ - compare: function(k1,k2) { - var d = k1[1] - k2[1]; - if(d != 0) return d; - var p1 = k1.slice(2); - var p2 = k2.slice(2); - if(p1.length == 0 && p2.length == 0) return 0; - return this.compareArgs(p1,p2); - } - ,compareArgs: function(a1,a2) { - var ld = a1.length - a2.length; - if(ld != 0) return ld; - var _g1 = 0; - var _g = a1.length; - while(_g1 < _g) { - var i = _g1++; - var d = this.compareArg(a1[i],a2[i]); - if(d != 0) return d; - } - return 0; - } - ,compareArg: function(v1,v2) { - if(Reflect.isEnumValue(v1) && Reflect.isEnumValue(v2)) return this.compare(v1,v2); else if((v1 instanceof Array) && v1.__enum__ == null && ((v2 instanceof Array) && v2.__enum__ == null)) return this.compareArgs(v1,v2); else return Reflect.compare(v1,v2); - } - ,__class__: haxe.ds.EnumValueMap -}); -haxe.ds.IntMap = function() { - this.h = { }; -}; -$hxClasses["haxe.ds.IntMap"] = haxe.ds.IntMap; -haxe.ds.IntMap.__name__ = ["haxe","ds","IntMap"]; -haxe.ds.IntMap.__interfaces__ = [IMap]; -haxe.ds.IntMap.prototype = { - set: function(key,value) { - this.h[key] = value; - } - ,get: function(key) { - return this.h[key]; - } - ,exists: function(key) { - return this.h.hasOwnProperty(key); - } - ,keys: function() { - var a = []; - for( var key in this.h ) { - if(this.h.hasOwnProperty(key)) a.push(key | 0); - } - return HxOverrides.iter(a); - } - ,iterator: function() { - return { ref : this.h, it : this.keys(), hasNext : function() { - return this.it.hasNext(); - }, next : function() { - var i = this.it.next(); - return this.ref[i]; - }}; - } - ,__class__: haxe.ds.IntMap -}; -haxe.ds.ObjectMap = function() { - this.h = { }; - this.h.__keys__ = { }; -}; -$hxClasses["haxe.ds.ObjectMap"] = haxe.ds.ObjectMap; -haxe.ds.ObjectMap.__name__ = ["haxe","ds","ObjectMap"]; -haxe.ds.ObjectMap.__interfaces__ = [IMap]; -haxe.ds.ObjectMap.prototype = { - set: function(key,value) { - var id = key.__id__ || (key.__id__ = ++haxe.ds.ObjectMap.count); - this.h[id] = value; - this.h.__keys__[id] = key; - } - ,get: function(key) { - return this.h[key.__id__]; - } - ,remove: function(key) { - var id = key.__id__; - if(this.h.__keys__[id] == null) return false; - delete(this.h[id]); - delete(this.h.__keys__[id]); - return true; - } - ,keys: function() { - var a = []; - for( var key in this.h.__keys__ ) { - if(this.h.hasOwnProperty(key)) a.push(this.h.__keys__[key]); - } - return HxOverrides.iter(a); - } - ,iterator: function() { - return { ref : this.h, it : this.keys(), hasNext : function() { - return this.it.hasNext(); - }, next : function() { - var i = this.it.next(); - return this.ref[i.__id__]; - }}; - } - ,__class__: haxe.ds.ObjectMap -}; -haxe.ds.StringMap = function() { - this.h = { }; -}; -$hxClasses["haxe.ds.StringMap"] = haxe.ds.StringMap; -haxe.ds.StringMap.__name__ = ["haxe","ds","StringMap"]; -haxe.ds.StringMap.__interfaces__ = [IMap]; -haxe.ds.StringMap.prototype = { - set: function(key,value) { - this.h["$" + key] = value; - } - ,get: function(key) { - return this.h["$" + key]; - } - ,exists: function(key) { - return this.h.hasOwnProperty("$" + key); - } - ,remove: function(key) { - key = "$" + key; - if(!this.h.hasOwnProperty(key)) return false; - delete(this.h[key]); - return true; - } - ,keys: function() { - var a = []; - for( var key in this.h ) { - if(this.h.hasOwnProperty(key)) a.push(key.substr(1)); - } - return HxOverrides.iter(a); - } - ,iterator: function() { - return { ref : this.h, it : this.keys(), hasNext : function() { - return this.it.hasNext(); - }, next : function() { - var i = this.it.next(); - return this.ref["$" + i]; - }}; - } - ,__class__: haxe.ds.StringMap -}; -haxe.ds._Vector = {}; -haxe.ds._Vector.Vector_Impl_ = function() { }; -$hxClasses["haxe.ds._Vector.Vector_Impl_"] = haxe.ds._Vector.Vector_Impl_; -haxe.ds._Vector.Vector_Impl_.__name__ = ["haxe","ds","_Vector","Vector_Impl_"]; -haxe.ds._Vector.Vector_Impl_.blit = function(src,srcPos,dest,destPos,len) { - var _g = 0; - while(_g < len) { - var i = _g++; - dest[destPos + i] = src[srcPos + i]; - } -}; -haxe.ds._Vector.Vector_Impl_.toArray = function(this1) { - var a = new Array(); - var len = this1.length; - var _g = 0; - while(_g < len) { - var i = _g++; - a[i] = this1[i]; - } - return a; -}; -haxe.io = {}; -haxe.io.Bytes = function(length,b) { - this.length = length; - this.b = b; -}; -$hxClasses["haxe.io.Bytes"] = haxe.io.Bytes; -haxe.io.Bytes.__name__ = ["haxe","io","Bytes"]; -haxe.io.Bytes.alloc = function(length) { - var a = new Array(); - var _g = 0; - while(_g < length) { - var i = _g++; - a.push(0); - } - return new haxe.io.Bytes(length,a); -}; -haxe.io.Bytes.ofString = function(s) { - var a = new Array(); - var i = 0; - while(i < s.length) { - var c = StringTools.fastCodeAt(s,i++); - if(55296 <= c && c <= 56319) c = c - 55232 << 10 | StringTools.fastCodeAt(s,i++) & 1023; - if(c <= 127) a.push(c); else if(c <= 2047) { - a.push(192 | c >> 6); - a.push(128 | c & 63); - } else if(c <= 65535) { - a.push(224 | c >> 12); - a.push(128 | c >> 6 & 63); - a.push(128 | c & 63); - } else { - a.push(240 | c >> 18); - a.push(128 | c >> 12 & 63); - a.push(128 | c >> 6 & 63); - a.push(128 | c & 63); - } - } - return new haxe.io.Bytes(a.length,a); -}; -haxe.io.Bytes.ofData = function(b) { - return new haxe.io.Bytes(b.length,b); -}; -haxe.io.Bytes.prototype = { - get: function(pos) { - return this.b[pos]; - } - ,set: function(pos,v) { - this.b[pos] = v & 255; - } - ,getString: function(pos,len) { - if(pos < 0 || len < 0 || pos + len > this.length) throw haxe.io.Error.OutsideBounds; - var s = ""; - var b = this.b; - var fcc = String.fromCharCode; - var i = pos; - var max = pos + len; - while(i < max) { - var c = b[i++]; - if(c < 128) { - if(c == 0) break; - s += fcc(c); - } else if(c < 224) s += fcc((c & 63) << 6 | b[i++] & 127); else if(c < 240) { - var c2 = b[i++]; - s += fcc((c & 31) << 12 | (c2 & 127) << 6 | b[i++] & 127); - } else { - var c21 = b[i++]; - var c3 = b[i++]; - var u = (c & 15) << 18 | (c21 & 127) << 12 | (c3 & 127) << 6 | b[i++] & 127; - s += fcc((u >> 10) + 55232); - s += fcc(u & 1023 | 56320); - } - } - return s; - } - ,toString: function() { - return this.getString(0,this.length); - } - ,__class__: haxe.io.Bytes -}; -haxe.io.Eof = function() { }; -$hxClasses["haxe.io.Eof"] = haxe.io.Eof; -haxe.io.Eof.__name__ = ["haxe","io","Eof"]; -haxe.io.Eof.prototype = { - toString: function() { - return "Eof"; - } - ,__class__: haxe.io.Eof -}; -haxe.io.Error = $hxClasses["haxe.io.Error"] = { __ename__ : true, __constructs__ : ["Blocked","Overflow","OutsideBounds","Custom"] }; -haxe.io.Error.Blocked = ["Blocked",0]; -haxe.io.Error.Blocked.toString = $estr; -haxe.io.Error.Blocked.__enum__ = haxe.io.Error; -haxe.io.Error.Overflow = ["Overflow",1]; -haxe.io.Error.Overflow.toString = $estr; -haxe.io.Error.Overflow.__enum__ = haxe.io.Error; -haxe.io.Error.OutsideBounds = ["OutsideBounds",2]; -haxe.io.Error.OutsideBounds.toString = $estr; -haxe.io.Error.OutsideBounds.__enum__ = haxe.io.Error; -haxe.io.Error.Custom = function(e) { var $x = ["Custom",3,e]; $x.__enum__ = haxe.io.Error; $x.toString = $estr; return $x; }; -haxe.io.Path = function(path) { - var c1 = path.lastIndexOf("/"); - var c2 = path.lastIndexOf("\\"); - if(c1 < c2) { - this.dir = HxOverrides.substr(path,0,c2); - path = HxOverrides.substr(path,c2 + 1,null); - this.backslash = true; - } else if(c2 < c1) { - this.dir = HxOverrides.substr(path,0,c1); - path = HxOverrides.substr(path,c1 + 1,null); - } else this.dir = null; - var cp = path.lastIndexOf("."); - if(cp != -1) { - this.ext = HxOverrides.substr(path,cp + 1,null); - this.file = HxOverrides.substr(path,0,cp); - } else { - this.ext = null; - this.file = path; - } -}; -$hxClasses["haxe.io.Path"] = haxe.io.Path; -haxe.io.Path.__name__ = ["haxe","io","Path"]; -haxe.io.Path.withoutExtension = function(path) { - var s = new haxe.io.Path(path); - s.ext = null; - return s.toString(); -}; -haxe.io.Path.prototype = { - toString: function() { - return (this.dir == null?"":this.dir + (this.backslash?"\\":"/")) + this.file + (this.ext == null?"":"." + this.ext); - } - ,__class__: haxe.io.Path -}; -haxe.xml = {}; -haxe.xml._Fast = {}; -haxe.xml._Fast.NodeAccess = function(x) { - this.__x = x; -}; -$hxClasses["haxe.xml._Fast.NodeAccess"] = haxe.xml._Fast.NodeAccess; -haxe.xml._Fast.NodeAccess.__name__ = ["haxe","xml","_Fast","NodeAccess"]; -haxe.xml._Fast.NodeAccess.prototype = { - resolve: function(name) { - var x = this.__x.elementsNamed(name).next(); - if(x == null) { - var xname; - if(this.__x.nodeType == Xml.Document) xname = "Document"; else xname = this.__x.get_nodeName(); - throw xname + " is missing element " + name; - } - return new haxe.xml.Fast(x); - } - ,__class__: haxe.xml._Fast.NodeAccess -}; -haxe.xml._Fast.AttribAccess = function(x) { - this.__x = x; -}; -$hxClasses["haxe.xml._Fast.AttribAccess"] = haxe.xml._Fast.AttribAccess; -haxe.xml._Fast.AttribAccess.__name__ = ["haxe","xml","_Fast","AttribAccess"]; -haxe.xml._Fast.AttribAccess.prototype = { - resolve: function(name) { - if(this.__x.nodeType == Xml.Document) throw "Cannot access document attribute " + name; - var v = this.__x.get(name); - if(v == null) throw this.__x.get_nodeName() + " is missing attribute " + name; - return v; - } - ,__class__: haxe.xml._Fast.AttribAccess -}; -haxe.xml._Fast.HasAttribAccess = function(x) { - this.__x = x; -}; -$hxClasses["haxe.xml._Fast.HasAttribAccess"] = haxe.xml._Fast.HasAttribAccess; -haxe.xml._Fast.HasAttribAccess.__name__ = ["haxe","xml","_Fast","HasAttribAccess"]; -haxe.xml._Fast.HasAttribAccess.prototype = { - resolve: function(name) { - if(this.__x.nodeType == Xml.Document) throw "Cannot access document attribute " + name; - return this.__x.exists(name); - } - ,__class__: haxe.xml._Fast.HasAttribAccess -}; -haxe.xml._Fast.HasNodeAccess = function(x) { - this.__x = x; -}; -$hxClasses["haxe.xml._Fast.HasNodeAccess"] = haxe.xml._Fast.HasNodeAccess; -haxe.xml._Fast.HasNodeAccess.__name__ = ["haxe","xml","_Fast","HasNodeAccess"]; -haxe.xml._Fast.HasNodeAccess.prototype = { - resolve: function(name) { - return this.__x.elementsNamed(name).hasNext(); - } - ,__class__: haxe.xml._Fast.HasNodeAccess -}; -haxe.xml._Fast.NodeListAccess = function(x) { - this.__x = x; -}; -$hxClasses["haxe.xml._Fast.NodeListAccess"] = haxe.xml._Fast.NodeListAccess; -haxe.xml._Fast.NodeListAccess.__name__ = ["haxe","xml","_Fast","NodeListAccess"]; -haxe.xml._Fast.NodeListAccess.prototype = { - resolve: function(name) { - var l = new List(); - var $it0 = this.__x.elementsNamed(name); - while( $it0.hasNext() ) { - var x = $it0.next(); - l.add(new haxe.xml.Fast(x)); - } - return l; - } - ,__class__: haxe.xml._Fast.NodeListAccess -}; -haxe.xml.Fast = function(x) { - if(x.nodeType != Xml.Document && x.nodeType != Xml.Element) throw "Invalid nodeType " + Std.string(x.nodeType); - this.x = x; - this.node = new haxe.xml._Fast.NodeAccess(x); - this.nodes = new haxe.xml._Fast.NodeListAccess(x); - this.att = new haxe.xml._Fast.AttribAccess(x); - this.has = new haxe.xml._Fast.HasAttribAccess(x); - this.hasNode = new haxe.xml._Fast.HasNodeAccess(x); -}; -$hxClasses["haxe.xml.Fast"] = haxe.xml.Fast; -haxe.xml.Fast.__name__ = ["haxe","xml","Fast"]; -haxe.xml.Fast.prototype = { - __class__: haxe.xml.Fast -}; -haxe.xml.Parser = function() { }; -$hxClasses["haxe.xml.Parser"] = haxe.xml.Parser; -haxe.xml.Parser.__name__ = ["haxe","xml","Parser"]; -haxe.xml.Parser.parse = function(str) { - var doc = Xml.createDocument(); - haxe.xml.Parser.doParse(str,0,doc); - return doc; -}; -haxe.xml.Parser.doParse = function(str,p,parent) { - if(p == null) p = 0; - var xml = null; - var state = 1; - var next = 1; - var aname = null; - var start = 0; - var nsubs = 0; - var nbrackets = 0; - var c = str.charCodeAt(p); - var buf = new StringBuf(); - while(!(c != c)) { - switch(state) { - case 0: - switch(c) { - case 10:case 13:case 9:case 32: - break; - default: - state = next; - continue; - } - break; - case 1: - switch(c) { - case 60: - state = 0; - next = 2; - break; - default: - start = p; - state = 13; - continue; - } - break; - case 13: - if(c == 60) { - var child = Xml.createPCData(buf.b + HxOverrides.substr(str,start,p - start)); - buf = new StringBuf(); - parent.addChild(child); - nsubs++; - state = 0; - next = 2; - } else if(c == 38) { - buf.addSub(str,start,p - start); - state = 18; - next = 13; - start = p + 1; - } - break; - case 17: - if(c == 93 && str.charCodeAt(p + 1) == 93 && str.charCodeAt(p + 2) == 62) { - var child1 = Xml.createCData(HxOverrides.substr(str,start,p - start)); - parent.addChild(child1); - nsubs++; - p += 2; - state = 1; - } - break; - case 2: - switch(c) { - case 33: - if(str.charCodeAt(p + 1) == 91) { - p += 2; - if(HxOverrides.substr(str,p,6).toUpperCase() != "CDATA[") throw "Expected = 97 && c <= 122 || c >= 65 && c <= 90 || c >= 48 && c <= 57 || c == 58 || c == 46 || c == 95 || c == 45)) { - if(p == start) throw "Expected node name"; - xml = Xml.createElement(HxOverrides.substr(str,start,p - start)); - parent.addChild(xml); - state = 0; - next = 4; - continue; - } - break; - case 4: - switch(c) { - case 47: - state = 11; - nsubs++; - break; - case 62: - state = 9; - nsubs++; - break; - default: - state = 5; - start = p; - continue; - } - break; - case 5: - if(!(c >= 97 && c <= 122 || c >= 65 && c <= 90 || c >= 48 && c <= 57 || c == 58 || c == 46 || c == 95 || c == 45)) { - var tmp; - if(start == p) throw "Expected attribute name"; - tmp = HxOverrides.substr(str,start,p - start); - aname = tmp; - if(xml.exists(aname)) throw "Duplicate attribute"; - state = 0; - next = 6; - continue; - } - break; - case 6: - switch(c) { - case 61: - state = 0; - next = 7; - break; - default: - throw "Expected ="; - } - break; - case 7: - switch(c) { - case 34:case 39: - state = 8; - start = p; - break; - default: - throw "Expected \""; - } - break; - case 8: - if(c == str.charCodeAt(start)) { - var val = HxOverrides.substr(str,start + 1,p - start - 1); - xml.set(aname,val); - state = 0; - next = 4; - } - break; - case 9: - p = haxe.xml.Parser.doParse(str,p,xml); - start = p; - state = 1; - break; - case 11: - switch(c) { - case 62: - state = 1; - break; - default: - throw "Expected >"; - } - break; - case 12: - switch(c) { - case 62: - if(nsubs == 0) parent.addChild(Xml.createPCData("")); - return p; - default: - throw "Expected >"; - } - break; - case 10: - if(!(c >= 97 && c <= 122 || c >= 65 && c <= 90 || c >= 48 && c <= 57 || c == 58 || c == 46 || c == 95 || c == 45)) { - if(start == p) throw "Expected node name"; - var v = HxOverrides.substr(str,start,p - start); - if(v != parent.get_nodeName()) throw "Expected "; - state = 0; - next = 12; - continue; - } - break; - case 15: - if(c == 45 && str.charCodeAt(p + 1) == 45 && str.charCodeAt(p + 2) == 62) { - parent.addChild(Xml.createComment(HxOverrides.substr(str,start,p - start))); - p += 2; - state = 1; - } - break; - case 16: - if(c == 91) nbrackets++; else if(c == 93) nbrackets--; else if(c == 62 && nbrackets == 0) { - parent.addChild(Xml.createDocType(HxOverrides.substr(str,start,p - start))); - state = 1; - } - break; - case 14: - if(c == 63 && str.charCodeAt(p + 1) == 62) { - p++; - var str1 = HxOverrides.substr(str,start + 1,p - start - 2); - parent.addChild(Xml.createProcessingInstruction(str1)); - state = 1; - } - break; - case 18: - if(c == 59) { - var s = HxOverrides.substr(str,start,p - start); - if(s.charCodeAt(0) == 35) { - var i; - if(s.charCodeAt(1) == 120) i = Std.parseInt("0" + HxOverrides.substr(s,1,s.length - 1)); else i = Std.parseInt(HxOverrides.substr(s,1,s.length - 1)); - buf.add(String.fromCharCode(i)); - } else if(!haxe.xml.Parser.escapes.exists(s)) buf.b += Std.string("&" + s + ";"); else buf.add(haxe.xml.Parser.escapes.get(s)); - start = p + 1; - state = next; - } - break; - } - c = StringTools.fastCodeAt(str,++p); - } - if(state == 1) { - start = p; - state = 13; - } - if(state == 13) { - if(p != start || nsubs == 0) parent.addChild(Xml.createPCData(buf.b + HxOverrides.substr(str,start,p - start))); - return p; - } - throw "Unexpected end"; -}; -var js = {}; -js._Boot = {}; -js._Boot.HaxeError = function(val) { - Error.call(this); - this.val = val; - if(Object.prototype.hasOwnProperty.call(val,"name")) this.name = Reflect.field(val,"name"); else this.name = "Error"; - if(Object.prototype.hasOwnProperty.call(val,"message")) this.message = Reflect.field(val,"message"); else this.message = Std.string(val); - if(Error.captureStackTrace) Error.captureStackTrace(this,js._Boot.HaxeError); -}; -$hxClasses["js._Boot.HaxeError"] = js._Boot.HaxeError; -js._Boot.HaxeError.__name__ = ["js","_Boot","HaxeError"]; -js._Boot.HaxeError.__super__ = Error; -js._Boot.HaxeError.prototype = $extend(Error.prototype,{ - __class__: js._Boot.HaxeError -}); -js.Boot = function() { }; -$hxClasses["js.Boot"] = js.Boot; -js.Boot.__name__ = ["js","Boot"]; -js.Boot.__unhtml = function(s) { - return s.split("&").join("&").split("<").join("<").split(">").join(">"); -}; -js.Boot.__trace = function(v,i) { - var msg; - if(i != null) msg = i.fileName + ":" + i.lineNumber + ": "; else msg = ""; - msg += js.Boot.__string_rec(v,""); - if(i != null && i.customParams != null) { - var _g = 0; - var _g1 = i.customParams; - while(_g < _g1.length) { - var v1 = _g1[_g]; - ++_g; - msg += "," + js.Boot.__string_rec(v1,""); - } - } - var d; - if(typeof(document) != "undefined" && (d = document.getElementById("haxe:trace")) != null) d.innerHTML += js.Boot.__unhtml(msg) + "
"; else if(typeof console != "undefined" && console.log != null) console.log(msg); -}; -js.Boot.__clear_trace = function() { - var d = document.getElementById("haxe:trace"); - if(d != null) d.innerHTML = ""; -}; -js.Boot.isClass = function(o) { - return o.__name__; -}; -js.Boot.isEnum = function(e) { - return e.__ename__; -}; -js.Boot.getClass = function(o) { - if((o instanceof Array) && o.__enum__ == null) return Array; else { - var cl = o.__class__; - if(cl != null) return cl; - var name = js.Boot.__nativeClassName(o); - if(name != null) return js.Boot.__resolveNativeClass(name); - return null; - } -}; -js.Boot.__string_rec = function(o,s) { - if(o == null) return "null"; - if(s.length >= 5) return "<...>"; - var t = typeof(o); - if(t == "function" && (o.__name__ || o.__ename__)) t = "object"; - switch(t) { - case "object": - if(o instanceof Array) { - if(o.__enum__) { - if(o.length == 2) return o[0]; - var str = o[0] + "("; - s += "\t"; - var _g1 = 2; - var _g = o.length; - while(_g1 < _g) { - var i = _g1++; - if(i != 2) str += "," + js.Boot.__string_rec(o[i],s); else str += js.Boot.__string_rec(o[i],s); - } - return str + ")"; - } - var l = o.length; - var i1; - var str1 = "["; - s += "\t"; - var _g2 = 0; - while(_g2 < l) { - var i2 = _g2++; - str1 += (i2 > 0?",":"") + js.Boot.__string_rec(o[i2],s); - } - str1 += "]"; - return str1; - } - var tostr; - try { - tostr = o.toString; - } catch( e ) { - return "???"; - } - if(tostr != null && tostr != Object.toString && typeof(tostr) == "function") { - var s2 = o.toString(); - if(s2 != "[object Object]") return s2; - } - var k = null; - var str2 = "{\n"; - s += "\t"; - var hasp = o.hasOwnProperty != null; - for( var k in o ) { - if(hasp && !o.hasOwnProperty(k)) { - continue; - } - if(k == "prototype" || k == "__class__" || k == "__super__" || k == "__interfaces__" || k == "__properties__") { - continue; - } - if(str2.length != 2) str2 += ", \n"; - str2 += s + k + " : " + js.Boot.__string_rec(o[k],s); - } - s = s.substring(1); - str2 += "\n" + s + "}"; - return str2; - case "function": - return ""; - case "string": - return o; - default: - return String(o); - } -}; -js.Boot.__interfLoop = function(cc,cl) { - if(cc == null) return false; - if(cc == cl) return true; - var intf = cc.__interfaces__; - if(intf != null) { - var _g1 = 0; - var _g = intf.length; - while(_g1 < _g) { - var i = _g1++; - var i1 = intf[i]; - if(i1 == cl || js.Boot.__interfLoop(i1,cl)) return true; - } - } - return js.Boot.__interfLoop(cc.__super__,cl); -}; -js.Boot.__instanceof = function(o,cl) { - if(cl == null) return false; - switch(cl) { - case Int: - return (o|0) === o; - case Float: - return typeof(o) == "number"; - case Bool: - return typeof(o) == "boolean"; - case String: - return typeof(o) == "string"; - case Array: - return (o instanceof Array) && o.__enum__ == null; - case Dynamic: - return true; - default: - if(o != null) { - if(typeof(cl) == "function") { - if(o instanceof cl) return true; - if(js.Boot.__interfLoop(js.Boot.getClass(o),cl)) return true; - } else if(typeof(cl) == "object" && js.Boot.__isNativeObj(cl)) { - if(o instanceof cl) return true; - } - } else return false; - if(cl == Class && o.__name__ != null) return true; - if(cl == Enum && o.__ename__ != null) return true; - return o.__enum__ == cl; - } -}; -js.Boot.__cast = function(o,t) { - if(js.Boot.__instanceof(o,t)) return o; else throw "Cannot cast " + Std.string(o) + " to " + Std.string(t); -}; -js.Boot.__nativeClassName = function(o) { - var name = js.Boot.__toStr.call(o).slice(8,-1); - if(name == "Object" || name == "Function" || name == "Math" || name == "JSON") return null; - return name; -}; -js.Boot.__isNativeObj = function(o) { - return js.Boot.__nativeClassName(o) != null; -}; -js.Boot.__resolveNativeClass = function(name) { - return (Function("return typeof " + name + " != \"undefined\" ? " + name + " : null"))(); -}; -lime.AssetCache = function() { - this.enabled = true; - this.audio = new haxe.ds.StringMap(); - this.font = new haxe.ds.StringMap(); - this.image = new haxe.ds.StringMap(); -}; -$hxClasses["lime.AssetCache"] = lime.AssetCache; -lime.AssetCache.__name__ = ["lime","AssetCache"]; -lime.AssetCache.prototype = { - clear: function(prefix) { - if(prefix == null) { - this.audio = new haxe.ds.StringMap(); - this.font = new haxe.ds.StringMap(); - this.image = new haxe.ds.StringMap(); - } else { - var keys = this.audio.keys(); - while( keys.hasNext() ) { - var key = keys.next(); - if(StringTools.startsWith(key,prefix)) this.audio.remove(key); - } - var keys1 = this.font.keys(); - while( keys1.hasNext() ) { - var key1 = keys1.next(); - if(StringTools.startsWith(key1,prefix)) this.font.remove(key1); - } - var keys2 = this.image.keys(); - while( keys2.hasNext() ) { - var key2 = keys2.next(); - if(StringTools.startsWith(key2,prefix)) this.image.remove(key2); - } - } - } - ,__class__: lime.AssetCache -}; -lime.Assets = function() { }; -$hxClasses["lime.Assets"] = lime.Assets; -lime.Assets.__name__ = ["lime","Assets"]; -lime.Assets.exists = function(id,type) { - lime.Assets.initialize(); - if(type == null) type = "BINARY"; - var libraryName = id.substring(0,id.indexOf(":")); - var symbolName; - var pos = id.indexOf(":") + 1; - symbolName = HxOverrides.substr(id,pos,null); - var library = lime.Assets.getLibrary(libraryName); - if(library != null) return library.exists(symbolName,type); - return false; -}; -lime.Assets.getAudioBuffer = function(id,useCache) { - if(useCache == null) useCache = true; - lime.Assets.initialize(); - if(useCache && lime.Assets.cache.enabled && lime.Assets.cache.audio.exists(id)) { - var audio = lime.Assets.cache.audio.get(id); - if(lime.Assets.isValidAudio(audio)) return audio; - } - var libraryName = id.substring(0,id.indexOf(":")); - var symbolName; - var pos = id.indexOf(":") + 1; - symbolName = HxOverrides.substr(id,pos,null); - var library = lime.Assets.getLibrary(libraryName); - if(library != null) { - if(library.exists(symbolName,"SOUND")) { - if(library.isLocal(symbolName,"SOUND")) { - var audio1 = library.getAudioBuffer(symbolName); - if(useCache && lime.Assets.cache.enabled) lime.Assets.cache.audio.set(id,audio1); - return audio1; - } else haxe.Log.trace("[Assets] Audio asset \"" + id + "\" exists, but only asynchronously",{ fileName : "Assets.hx", lineNumber : 115, className : "lime.Assets", methodName : "getAudioBuffer"}); - } else haxe.Log.trace("[Assets] There is no audio asset with an ID of \"" + id + "\"",{ fileName : "Assets.hx", lineNumber : 121, className : "lime.Assets", methodName : "getAudioBuffer"}); - } else haxe.Log.trace("[Assets] There is no asset library named \"" + libraryName + "\"",{ fileName : "Assets.hx", lineNumber : 127, className : "lime.Assets", methodName : "getAudioBuffer"}); - return null; -}; -lime.Assets.getBytes = function(id) { - lime.Assets.initialize(); - var libraryName = id.substring(0,id.indexOf(":")); - var symbolName; - var pos = id.indexOf(":") + 1; - symbolName = HxOverrides.substr(id,pos,null); - var library = lime.Assets.getLibrary(libraryName); - if(library != null) { - if(library.exists(symbolName,"BINARY")) { - if(library.isLocal(symbolName,"BINARY")) return library.getBytes(symbolName); else haxe.Log.trace("[Assets] String or ByteArray asset \"" + id + "\" exists, but only asynchronously",{ fileName : "Assets.hx", lineNumber : 164, className : "lime.Assets", methodName : "getBytes"}); - } else haxe.Log.trace("[Assets] There is no String or ByteArray asset with an ID of \"" + id + "\"",{ fileName : "Assets.hx", lineNumber : 170, className : "lime.Assets", methodName : "getBytes"}); - } else haxe.Log.trace("[Assets] There is no asset library named \"" + libraryName + "\"",{ fileName : "Assets.hx", lineNumber : 176, className : "lime.Assets", methodName : "getBytes"}); - return null; -}; -lime.Assets.getFont = function(id,useCache) { - if(useCache == null) useCache = true; - lime.Assets.initialize(); - if(useCache && lime.Assets.cache.enabled && lime.Assets.cache.font.exists(id)) return lime.Assets.cache.font.get(id); - var libraryName = id.substring(0,id.indexOf(":")); - var symbolName; - var pos = id.indexOf(":") + 1; - symbolName = HxOverrides.substr(id,pos,null); - var library = lime.Assets.getLibrary(libraryName); - if(library != null) { - if(library.exists(symbolName,"FONT")) { - if(library.isLocal(symbolName,"FONT")) { - var font = library.getFont(symbolName); - if(useCache && lime.Assets.cache.enabled) lime.Assets.cache.font.set(id,font); - return font; - } else haxe.Log.trace("[Assets] Font asset \"" + id + "\" exists, but only asynchronously",{ fileName : "Assets.hx", lineNumber : 227, className : "lime.Assets", methodName : "getFont"}); - } else haxe.Log.trace("[Assets] There is no Font asset with an ID of \"" + id + "\"",{ fileName : "Assets.hx", lineNumber : 233, className : "lime.Assets", methodName : "getFont"}); - } else haxe.Log.trace("[Assets] There is no asset library named \"" + libraryName + "\"",{ fileName : "Assets.hx", lineNumber : 239, className : "lime.Assets", methodName : "getFont"}); - return null; -}; -lime.Assets.getImage = function(id,useCache) { - if(useCache == null) useCache = true; - lime.Assets.initialize(); - if(useCache && lime.Assets.cache.enabled && lime.Assets.cache.image.exists(id)) { - var image = lime.Assets.cache.image.get(id); - if(lime.Assets.isValidImage(image)) return image; - } - var libraryName = id.substring(0,id.indexOf(":")); - var symbolName; - var pos = id.indexOf(":") + 1; - symbolName = HxOverrides.substr(id,pos,null); - var library = lime.Assets.getLibrary(libraryName); - if(library != null) { - if(library.exists(symbolName,"IMAGE")) { - if(library.isLocal(symbolName,"IMAGE")) { - var image1 = library.getImage(symbolName); - if(useCache && lime.Assets.cache.enabled) lime.Assets.cache.image.set(id,image1); - return image1; - } else haxe.Log.trace("[Assets] Image asset \"" + id + "\" exists, but only asynchronously",{ fileName : "Assets.hx", lineNumber : 297, className : "lime.Assets", methodName : "getImage"}); - } else haxe.Log.trace("[Assets] There is no Image asset with an ID of \"" + id + "\"",{ fileName : "Assets.hx", lineNumber : 303, className : "lime.Assets", methodName : "getImage"}); - } else haxe.Log.trace("[Assets] There is no asset library named \"" + libraryName + "\"",{ fileName : "Assets.hx", lineNumber : 309, className : "lime.Assets", methodName : "getImage"}); - return null; -}; -lime.Assets.getLibrary = function(name) { - if(name == null || name == "") name = "default"; - return lime.Assets.libraries.get(name); -}; -lime.Assets.getPath = function(id) { - lime.Assets.initialize(); - var libraryName = id.substring(0,id.indexOf(":")); - var symbolName; - var pos = id.indexOf(":") + 1; - symbolName = HxOverrides.substr(id,pos,null); - var library = lime.Assets.getLibrary(libraryName); - if(library != null) { - if(library.exists(symbolName,null)) return library.getPath(symbolName); else haxe.Log.trace("[Assets] There is no asset with an ID of \"" + id + "\"",{ fileName : "Assets.hx", lineNumber : 426, className : "lime.Assets", methodName : "getPath"}); - } else haxe.Log.trace("[Assets] There is no asset library named \"" + libraryName + "\"",{ fileName : "Assets.hx", lineNumber : 432, className : "lime.Assets", methodName : "getPath"}); - return null; -}; -lime.Assets.getText = function(id) { - lime.Assets.initialize(); - var libraryName = id.substring(0,id.indexOf(":")); - var symbolName; - var pos = id.indexOf(":") + 1; - symbolName = HxOverrides.substr(id,pos,null); - var library = lime.Assets.getLibrary(libraryName); - if(library != null) { - if(library.exists(symbolName,"TEXT")) { - if(library.isLocal(symbolName,"TEXT")) return library.getText(symbolName); else haxe.Log.trace("[Assets] String asset \"" + id + "\" exists, but only asynchronously",{ fileName : "Assets.hx", lineNumber : 469, className : "lime.Assets", methodName : "getText"}); - } else haxe.Log.trace("[Assets] There is no String asset with an ID of \"" + id + "\"",{ fileName : "Assets.hx", lineNumber : 475, className : "lime.Assets", methodName : "getText"}); - } else haxe.Log.trace("[Assets] There is no asset library named \"" + libraryName + "\"",{ fileName : "Assets.hx", lineNumber : 481, className : "lime.Assets", methodName : "getText"}); - return null; -}; -lime.Assets.initialize = function() { - if(!lime.Assets.initialized) { - lime.Assets.registerLibrary("default",new DefaultAssetLibrary()); - lime.Assets.initialized = true; - } -}; -lime.Assets.isLocal = function(id,type,useCache) { - if(useCache == null) useCache = true; - lime.Assets.initialize(); - if(useCache && lime.Assets.cache.enabled) { - if(type == "IMAGE" || type == null) { - if(lime.Assets.cache.image.exists(id)) return true; - } - if(type == "FONT" || type == null) { - if(lime.Assets.cache.font.exists(id)) return true; - } - if(type == "SOUND" || type == "MUSIC" || type == null) { - if(lime.Assets.cache.audio.exists(id)) return true; - } - } - var libraryName = id.substring(0,id.indexOf(":")); - var symbolName; - var pos = id.indexOf(":") + 1; - symbolName = HxOverrides.substr(id,pos,null); - var library = lime.Assets.getLibrary(libraryName); - if(library != null) return library.isLocal(symbolName,type); - return false; -}; -lime.Assets.isValidAudio = function(buffer) { - return buffer != null; - return true; -}; -lime.Assets.isValidImage = function(buffer) { - return true; -}; -lime.Assets.list = function(type) { - lime.Assets.initialize(); - var items = []; - var $it0 = lime.Assets.libraries.iterator(); - while( $it0.hasNext() ) { - var library = $it0.next(); - var libraryItems = library.list(type); - if(libraryItems != null) items = items.concat(libraryItems); - } - return items; -}; -lime.Assets.loadAudioBuffer = function(id,handler,useCache) { - if(useCache == null) useCache = true; - lime.Assets.initialize(); - if(useCache && lime.Assets.cache.enabled && lime.Assets.cache.audio.exists(id)) { - var audio = lime.Assets.cache.audio.get(id); - if(lime.Assets.isValidAudio(audio)) { - handler(audio); - return; - } - } - var libraryName = id.substring(0,id.indexOf(":")); - var symbolName; - var pos = id.indexOf(":") + 1; - symbolName = HxOverrides.substr(id,pos,null); - var library = lime.Assets.getLibrary(libraryName); - if(library != null) { - if(library.exists(symbolName,"SOUND")) { - if(useCache && lime.Assets.cache.enabled) library.loadAudioBuffer(symbolName,function(audio1) { - var value = audio1; - lime.Assets.cache.audio.set(id,value); - handler(audio1); - }); else library.loadAudioBuffer(symbolName,handler); - return; - } else haxe.Log.trace("[Assets] There is no audio asset with an ID of \"" + id + "\"",{ fileName : "Assets.hx", lineNumber : 666, className : "lime.Assets", methodName : "loadAudioBuffer"}); - } else haxe.Log.trace("[Assets] There is no asset library named \"" + libraryName + "\"",{ fileName : "Assets.hx", lineNumber : 672, className : "lime.Assets", methodName : "loadAudioBuffer"}); - handler(null); -}; -lime.Assets.loadBytes = function(id,handler) { - lime.Assets.initialize(); - var libraryName = id.substring(0,id.indexOf(":")); - var symbolName; - var pos = id.indexOf(":") + 1; - symbolName = HxOverrides.substr(id,pos,null); - var library = lime.Assets.getLibrary(libraryName); - if(library != null) { - if(library.exists(symbolName,"BINARY")) { - library.loadBytes(symbolName,handler); - return; - } else haxe.Log.trace("[Assets] There is no String or ByteArray asset with an ID of \"" + id + "\"",{ fileName : "Assets.hx", lineNumber : 702, className : "lime.Assets", methodName : "loadBytes"}); - } else haxe.Log.trace("[Assets] There is no asset library named \"" + libraryName + "\"",{ fileName : "Assets.hx", lineNumber : 708, className : "lime.Assets", methodName : "loadBytes"}); - handler(null); -}; -lime.Assets.loadImage = function(id,handler,useCache) { - if(useCache == null) useCache = true; - lime.Assets.initialize(); - if(useCache && lime.Assets.cache.enabled && lime.Assets.cache.image.exists(id)) { - var image = lime.Assets.cache.image.get(id); - if(lime.Assets.isValidImage(image)) { - handler(image); - return; - } - } - var libraryName = id.substring(0,id.indexOf(":")); - var symbolName; - var pos = id.indexOf(":") + 1; - symbolName = HxOverrides.substr(id,pos,null); - var library = lime.Assets.getLibrary(libraryName); - if(library != null) { - if(library.exists(symbolName,"IMAGE")) { - if(useCache && lime.Assets.cache.enabled) library.loadImage(symbolName,function(image1) { - lime.Assets.cache.image.set(id,image1); - handler(image1); - }); else library.loadImage(symbolName,handler); - return; - } else haxe.Log.trace("[Assets] There is no Image asset with an ID of \"" + id + "\"",{ fileName : "Assets.hx", lineNumber : 765, className : "lime.Assets", methodName : "loadImage"}); - } else haxe.Log.trace("[Assets] There is no asset library named \"" + libraryName + "\"",{ fileName : "Assets.hx", lineNumber : 771, className : "lime.Assets", methodName : "loadImage"}); - handler(null); -}; -lime.Assets.loadLibrary = function(name,handler) { - lime.Assets.initialize(); - var data = lime.Assets.getText("libraries/" + name + ".json"); - if(data != null && data != "") { - var info = JSON.parse(data); - var library = Type.createInstance(Type.resolveClass(info.type),info.args); - lime.Assets.libraries.set(name,library); - library.eventCallback = lime.Assets.library_onEvent; - library.load(handler); - } else haxe.Log.trace("[Assets] There is no asset library named \"" + name + "\"",{ fileName : "Assets.hx", lineNumber : 800, className : "lime.Assets", methodName : "loadLibrary"}); -}; -lime.Assets.loadText = function(id,handler) { - lime.Assets.initialize(); - var libraryName = id.substring(0,id.indexOf(":")); - var symbolName; - var pos = id.indexOf(":") + 1; - symbolName = HxOverrides.substr(id,pos,null); - var library = lime.Assets.getLibrary(libraryName); - if(library != null) { - if(library.exists(symbolName,"TEXT")) { - library.loadText(symbolName,handler); - return; - } else haxe.Log.trace("[Assets] There is no String asset with an ID of \"" + id + "\"",{ fileName : "Assets.hx", lineNumber : 891, className : "lime.Assets", methodName : "loadText"}); - } else haxe.Log.trace("[Assets] There is no asset library named \"" + libraryName + "\"",{ fileName : "Assets.hx", lineNumber : 897, className : "lime.Assets", methodName : "loadText"}); - handler(null); -}; -lime.Assets.registerLibrary = function(name,library) { - if(lime.Assets.libraries.exists(name)) lime.Assets.unloadLibrary(name); - if(library != null) library.eventCallback = lime.Assets.library_onEvent; - lime.Assets.libraries.set(name,library); -}; -lime.Assets.unloadLibrary = function(name) { - lime.Assets.initialize(); - var library = lime.Assets.libraries.get(name); - if(library != null) { - lime.Assets.cache.clear(name + ":"); - library.eventCallback = null; - } - lime.Assets.libraries.remove(name); -}; -lime.Assets.library_onEvent = function(library,type) { - if(type == "change") lime.Assets.cache.clear(); -}; -lime._Assets = {}; -lime._Assets.AssetType_Impl_ = function() { }; -$hxClasses["lime._Assets.AssetType_Impl_"] = lime._Assets.AssetType_Impl_; -lime._Assets.AssetType_Impl_.__name__ = ["lime","_Assets","AssetType_Impl_"]; -lime._backend = {}; -lime._backend.html5 = {}; -lime._backend.html5.HTML5Application = function(parent) { - this.parent = parent; - this.currentUpdate = 0; - this.lastUpdate = 0; - this.nextUpdate = 0; - this.framePeriod = -1; - lime.audio.AudioManager.init(); -}; -$hxClasses["lime._backend.html5.HTML5Application"] = lime._backend.html5.HTML5Application; -lime._backend.html5.HTML5Application.__name__ = ["lime","_backend","html5","HTML5Application"]; -lime._backend.html5.HTML5Application.prototype = { - convertKeyCode: function(keyCode) { - if(keyCode >= 65 && keyCode <= 90) return keyCode + 32; - switch(keyCode) { - case 16: - return 1073742049; - case 17: - return 1073742048; - case 18: - return 1073742050; - case 20: - return 1073741881; - case 144: - return 1073741907; - case 37: - return 1073741904; - case 38: - return 1073741906; - case 39: - return 1073741903; - case 40: - return 1073741905; - case 45: - return 1073741897; - case 46: - return 127; - case 36: - return 1073741898; - case 35: - return 1073741901; - case 33: - return 1073741899; - case 34: - return 1073741902; - case 112: - return 1073741882; - case 113: - return 1073741883; - case 114: - return 1073741884; - case 115: - return 1073741885; - case 116: - return 1073741886; - case 117: - return 1073741887; - case 118: - return 1073741888; - case 119: - return 1073741889; - case 120: - return 1073741890; - case 121: - return 1073741891; - case 122: - return 1073741892; - case 123: - return 1073741893; - } - return keyCode; - } - ,create: function(config) { - this.parent.config = config; - if(config != null) { - var $window = new lime.ui.Window(config); - var renderer = new lime.graphics.Renderer($window); - this.parent.addWindow($window); - this.parent.addRenderer(renderer); - this.parent.init(renderer.context); - } - } - ,exec: function() { - window.addEventListener("keydown",$bind(this,this.handleKeyEvent),false); - window.addEventListener("keyup",$bind(this,this.handleKeyEvent),false); - window.addEventListener("focus",$bind(this,this.handleWindowEvent),false); - window.addEventListener("blur",$bind(this,this.handleWindowEvent),false); - window.addEventListener("resize",$bind(this,this.handleWindowEvent),false); - window.addEventListener("beforeunload",$bind(this,this.handleWindowEvent),false); - - var lastTime = 0; - var vendors = ['ms', 'moz', 'webkit', 'o']; - for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { - window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame']; - window.cancelAnimationFrame = window[vendors[x]+'CancelAnimationFrame'] - || window[vendors[x]+'CancelRequestAnimationFrame']; - } - - if (!window.requestAnimationFrame) - window.requestAnimationFrame = function(callback, element) { - var currTime = new Date().getTime(); - var timeToCall = Math.max(0, 16 - (currTime - lastTime)); - var id = window.setTimeout(function() { callback(currTime + timeToCall); }, - timeToCall); - lastTime = currTime + timeToCall; - return id; - }; - - if (!window.cancelAnimationFrame) - window.cancelAnimationFrame = function(id) { - clearTimeout(id); - }; - - window.requestAnimFrame = window.requestAnimationFrame; - ; - this.lastUpdate = new Date().getTime(); - this.handleUpdateEvent(); - return 0; - } - ,getFrameRate: function() { - if(this.framePeriod < 0) return 60; else if(this.framePeriod == 1000) return 0; else return 1000 / this.framePeriod; - } - ,handleKeyEvent: function(event) { - if(this.parent.windows[0] != null) { - var keyCode = this.convertKeyCode(event.keyCode != null?event.keyCode:event.which); - var modifier; - modifier = (event.shiftKey?3:0) | (event.ctrlKey?192:0) | (event.altKey?768:0) | (event.metaKey?3072:0); - if(event.type == "keydown") { - var listeners = this.parent.windows[0].onKeyDown.listeners; - var repeat = this.parent.windows[0].onKeyDown.repeat; - var length = listeners.length; - var i = 0; - while(i < length) { - listeners[i](keyCode,modifier); - if(!repeat[i]) { - this.parent.windows[0].onKeyDown.remove(listeners[i]); - length--; - } else i++; - } - if(this.parent.windows[0].backend.getEnableTextEvents()) { - var listeners1 = this.parent.windows[0].onTextInput.listeners; - var repeat1 = this.parent.windows[0].onTextInput.repeat; - var length1 = listeners1.length; - var i1 = 0; - while(i1 < length1) { - listeners1[i1](String.fromCharCode(event.keyCode)); - if(!repeat1[i1]) { - this.parent.windows[0].onTextInput.remove(listeners1[i1]); - length1--; - } else i1++; - } - } - } else { - var listeners2 = this.parent.windows[0].onKeyUp.listeners; - var repeat2 = this.parent.windows[0].onKeyUp.repeat; - var length2 = listeners2.length; - var i2 = 0; - while(i2 < length2) { - listeners2[i2](keyCode,modifier); - if(!repeat2[i2]) { - this.parent.windows[0].onKeyUp.remove(listeners2[i2]); - length2--; - } else i2++; - } - } - } - } - ,handleUpdateEvent: function(__) { - this.currentUpdate = new Date().getTime(); - if(this.currentUpdate >= this.nextUpdate) { - this.deltaTime = this.currentUpdate - this.lastUpdate; - var listeners = this.parent.onUpdate.listeners; - var repeat = this.parent.onUpdate.repeat; - var length = listeners.length; - var i = 0; - while(i < length) { - listeners[i](this.deltaTime | 0); - if(!repeat[i]) { - this.parent.onUpdate.remove(listeners[i]); - length--; - } else i++; - } - if(this.parent.renderers[0] != null) { - var listeners1 = this.parent.renderers[0].onRender.listeners; - var repeat1 = this.parent.renderers[0].onRender.repeat; - var length1 = listeners1.length; - var i1 = 0; - while(i1 < length1) { - listeners1[i1](this.parent.renderers[0].context); - if(!repeat1[i1]) { - this.parent.renderers[0].onRender.remove(listeners1[i1]); - length1--; - } else i1++; - } - this.parent.renderers[0].flip(); - } - if(this.framePeriod < 0) { - this.nextUpdate = this.currentUpdate; - this.nextUpdate = this.currentUpdate; - } else this.nextUpdate = this.currentUpdate + this.framePeriod; - this.lastUpdate = this.currentUpdate; - } - window.requestAnimationFrame($bind(this,this.handleUpdateEvent)); - } - ,handleWindowEvent: function(event) { - if(this.parent.windows[0] != null) { - var _g = event.type; - switch(_g) { - case "focus": - var listeners = this.parent.windows[0].onWindowFocusIn.listeners; - var repeat = this.parent.windows[0].onWindowFocusIn.repeat; - var length = listeners.length; - var i = 0; - while(i < length) { - listeners[i](); - if(!repeat[i]) { - this.parent.windows[0].onWindowFocusIn.remove(listeners[i]); - length--; - } else i++; - } - var listeners1 = this.parent.windows[0].onWindowActivate.listeners; - var repeat1 = this.parent.windows[0].onWindowActivate.repeat; - var length1 = listeners1.length; - var i1 = 0; - while(i1 < length1) { - listeners1[i1](); - if(!repeat1[i1]) { - this.parent.windows[0].onWindowActivate.remove(listeners1[i1]); - length1--; - } else i1++; - } - break; - case "blur": - var listeners2 = this.parent.windows[0].onWindowFocusOut.listeners; - var repeat2 = this.parent.windows[0].onWindowFocusOut.repeat; - var length2 = listeners2.length; - var i2 = 0; - while(i2 < length2) { - listeners2[i2](); - if(!repeat2[i2]) { - this.parent.windows[0].onWindowFocusOut.remove(listeners2[i2]); - length2--; - } else i2++; - } - var listeners3 = this.parent.windows[0].onWindowDeactivate.listeners; - var repeat3 = this.parent.windows[0].onWindowDeactivate.repeat; - var length3 = listeners3.length; - var i3 = 0; - while(i3 < length3) { - listeners3[i3](); - if(!repeat3[i3]) { - this.parent.windows[0].onWindowDeactivate.remove(listeners3[i3]); - length3--; - } else i3++; - } - break; - case "resize": - var cacheWidth = this.parent.windows[0].__width; - var cacheHeight = this.parent.windows[0].__height; - this.parent.windows[0].backend.handleResize(); - if(this.parent.windows[0].__width != cacheWidth || this.parent.windows[0].__height != cacheHeight) { - var listeners4 = this.parent.windows[0].onWindowResize.listeners; - var repeat4 = this.parent.windows[0].onWindowResize.repeat; - var length4 = listeners4.length; - var i4 = 0; - while(i4 < length4) { - listeners4[i4](this.parent.windows[0].__width,this.parent.windows[0].__height); - if(!repeat4[i4]) { - this.parent.windows[0].onWindowResize.remove(listeners4[i4]); - length4--; - } else i4++; - } - } - break; - case "beforeunload": - var listeners5 = this.parent.windows[0].onWindowClose.listeners; - var repeat5 = this.parent.windows[0].onWindowClose.repeat; - var length5 = listeners5.length; - var i5 = 0; - while(i5 < length5) { - listeners5[i5](); - if(!repeat5[i5]) { - this.parent.windows[0].onWindowClose.remove(listeners5[i5]); - length5--; - } else i5++; - } - break; - } - } - } - ,setFrameRate: function(value) { - if(value >= 60) this.framePeriod = -1; else if(value > 0) this.framePeriod = 1000 / value; else this.framePeriod = 1000; - return value; - } - ,__class__: lime._backend.html5.HTML5Application -}; -lime._backend.html5.HTML5Mouse = function() { }; -$hxClasses["lime._backend.html5.HTML5Mouse"] = lime._backend.html5.HTML5Mouse; -lime._backend.html5.HTML5Mouse.__name__ = ["lime","_backend","html5","HTML5Mouse"]; -lime._backend.html5.HTML5Mouse.__cursor = null; -lime._backend.html5.HTML5Mouse.__hidden = null; -lime._backend.html5.HTML5Mouse.hide = function() { - if(!lime._backend.html5.HTML5Mouse.__hidden) { - lime._backend.html5.HTML5Mouse.__hidden = true; - var _g = 0; - var _g1 = lime.app.Application.current.windows; - while(_g < _g1.length) { - var $window = _g1[_g]; - ++_g; - $window.backend.element.style.cursor = "none"; - } - } -}; -lime._backend.html5.HTML5Mouse.show = function() { - if(lime._backend.html5.HTML5Mouse.__hidden) { - lime._backend.html5.HTML5Mouse.__hidden = false; - var cacheValue = lime._backend.html5.HTML5Mouse.__cursor; - lime._backend.html5.HTML5Mouse.__cursor = null; - lime._backend.html5.HTML5Mouse.set_cursor(cacheValue); - } -}; -lime._backend.html5.HTML5Mouse.warp = function(x,y,window) { -}; -lime._backend.html5.HTML5Mouse.get_cursor = function() { - if(lime._backend.html5.HTML5Mouse.__cursor == null) return lime.ui.MouseCursor.DEFAULT; - return lime._backend.html5.HTML5Mouse.__cursor; -}; -lime._backend.html5.HTML5Mouse.set_cursor = function(value) { - if(lime._backend.html5.HTML5Mouse.__cursor != value) { - if(!lime._backend.html5.HTML5Mouse.__hidden) { - var _g = 0; - var _g1 = lime.app.Application.current.windows; - while(_g < _g1.length) { - var $window = _g1[_g]; - ++_g; - switch(value[1]) { - case 0: - $window.backend.element.style.cursor = "default"; - break; - case 1: - $window.backend.element.style.cursor = "crosshair"; - break; - case 3: - $window.backend.element.style.cursor = "move"; - break; - case 4: - $window.backend.element.style.cursor = "pointer"; - break; - case 5: - $window.backend.element.style.cursor = "nesw-resize"; - break; - case 6: - $window.backend.element.style.cursor = "ns-resize"; - break; - case 7: - $window.backend.element.style.cursor = "nwse-resize"; - break; - case 8: - $window.backend.element.style.cursor = "ew-resize"; - break; - case 9: - $window.backend.element.style.cursor = "text"; - break; - case 10: - $window.backend.element.style.cursor = "wait"; - break; - case 11: - $window.backend.element.style.cursor = "wait"; - break; - default: - $window.backend.element.style.cursor = "auto"; - } - } - } - lime._backend.html5.HTML5Mouse.__cursor = value; - } - return lime._backend.html5.HTML5Mouse.__cursor; -}; -lime._backend.html5.HTML5Mouse.get_lock = function() { - return false; -}; -lime._backend.html5.HTML5Mouse.set_lock = function(value) { - return value; -}; -lime._backend.html5.HTML5Renderer = function(parent) { - this.parent = parent; -}; -$hxClasses["lime._backend.html5.HTML5Renderer"] = lime._backend.html5.HTML5Renderer; -lime._backend.html5.HTML5Renderer.__name__ = ["lime","_backend","html5","HTML5Renderer"]; -lime._backend.html5.HTML5Renderer.prototype = { - create: function() { - this.createContext(); - { - var _g = this.parent.context; - switch(_g[1]) { - case 0: - this.parent.window.backend.canvas.addEventListener("webglcontextlost",$bind(this,this.handleEvent),false); - this.parent.window.backend.canvas.addEventListener("webglcontextrestored",$bind(this,this.handleEvent),false); - break; - default: - } - } - } - ,createContext: function() { - if(this.parent.window.backend.div != null) this.parent.context = lime.graphics.RenderContext.DOM(this.parent.window.backend.div); else if(this.parent.window.backend.canvas != null) { - var webgl = null; - if(webgl == null) this.parent.context = lime.graphics.RenderContext.CANVAS(this.parent.window.backend.canvas.getContext("2d")); else { - webgl = WebGLDebugUtils.makeDebugContext(webgl); - lime.graphics.opengl.GL.context = webgl; - this.parent.context = lime.graphics.RenderContext.OPENGL(lime.graphics.opengl.GL.context); - } - } - } - ,flip: function() { - } - ,handleEvent: function(event) { - var _g = event.type; - switch(_g) { - case "webglcontextlost": - event.preventDefault(); - this.parent.context = null; - var listeners = this.parent.onRenderContextLost.listeners; - var repeat = this.parent.onRenderContextLost.repeat; - var length = listeners.length; - var i = 0; - while(i < length) { - listeners[i](); - if(!repeat[i]) { - this.parent.onRenderContextLost.remove(listeners[i]); - length--; - } else i++; - } - break; - case "webglcontextrestored": - this.createContext(); - var listeners1 = this.parent.onRenderContextRestored.listeners; - var repeat1 = this.parent.onRenderContextRestored.repeat; - var length1 = listeners1.length; - var i1 = 0; - while(i1 < length1) { - listeners1[i1](this.parent.context); - if(!repeat1[i1]) { - this.parent.onRenderContextRestored.remove(listeners1[i1]); - length1--; - } else i1++; - } - break; - default: - } - } - ,render: function() { - } - ,__class__: lime._backend.html5.HTML5Renderer -}; -lime._backend.html5.HTML5Window = function(parent) { - this.parent = parent; - if(parent.config != null && Object.prototype.hasOwnProperty.call(parent.config,"element")) this.element = parent.config.element; -}; -$hxClasses["lime._backend.html5.HTML5Window"] = lime._backend.html5.HTML5Window; -lime._backend.html5.HTML5Window.__name__ = ["lime","_backend","html5","HTML5Window"]; -lime._backend.html5.HTML5Window.prototype = { - close: function() { - } - ,create: function(application) { - this.setWidth = this.parent.__width; - this.setHeight = this.parent.__height; - if(js.Boot.__instanceof(this.element,HTMLCanvasElement)) this.canvas = this.element; else this.canvas = window.document.createElement("canvas"); - if(this.canvas != null) { - var style = this.canvas.style; - style.setProperty("-webkit-transform","translateZ(0)",null); - style.setProperty("transform","translateZ(0)",null); - } else if(this.div != null) { - var style1 = this.div.style; - style1.setProperty("-webkit-transform","translate3D(0,0,0)",null); - style1.setProperty("transform","translate3D(0,0,0)",null); - style1.position = "relative"; - style1.overflow = "hidden"; - style1.setProperty("-webkit-user-select","none",null); - style1.setProperty("-moz-user-select","none",null); - style1.setProperty("-ms-user-select","none",null); - style1.setProperty("-o-user-select","none",null); - } - if(this.parent.__width == 0 && this.parent.__height == 0) { - if(this.element != null) { - this.parent.set_width(this.element.clientWidth); - this.parent.set_height(this.element.clientHeight); - } else { - this.parent.set_width(window.innerWidth); - this.parent.set_height(window.innerHeight); - } - this.parent.set_fullscreen(true); - } - if(this.canvas != null) { - this.canvas.width = this.parent.__width; - this.canvas.height = this.parent.__height; - } else { - this.div.style.width = this.parent.__width + "px"; - this.div.style.height = this.parent.__height + "px"; - } - this.handleResize(); - if(this.element != null) { - if(this.canvas != null) { - if(this.element != this.canvas) this.element.appendChild(this.canvas); - } else this.element.appendChild(this.div); - var events = ["mousedown","mouseenter","mouseleave","mousemove","mouseup","wheel"]; - var _g = 0; - while(_g < events.length) { - var event = events[_g]; - ++_g; - this.element.addEventListener(event,$bind(this,this.handleMouseEvent),true); - } - window.document.addEventListener("dragstart",function(e) { - if(e.target.nodeName.toLowerCase() == "img") { - e.preventDefault(); - return false; - } - return true; - },false); - this.element.addEventListener("touchstart",$bind(this,this.handleTouchEvent),true); - this.element.addEventListener("touchmove",$bind(this,this.handleTouchEvent),true); - this.element.addEventListener("touchend",$bind(this,this.handleTouchEvent),true); - } - } - ,getEnableTextEvents: function() { - return this.enableTextEvents; - } - ,handleMouseEvent: function(event) { - var x = 0.0; - var y = 0.0; - if(event.type != "wheel") { - if(this.element != null) { - if(this.canvas != null) { - var rect = this.canvas.getBoundingClientRect(); - x = (event.clientX - rect.left) * (this.parent.__width / rect.width); - y = (event.clientY - rect.top) * (this.parent.__height / rect.height); - } else if(this.div != null) { - var rect1 = this.div.getBoundingClientRect(); - x = event.clientX - rect1.left; - y = event.clientY - rect1.top; - } else { - var rect2 = this.element.getBoundingClientRect(); - x = (event.clientX - rect2.left) * (this.parent.__width / rect2.width); - y = (event.clientY - rect2.top) * (this.parent.__height / rect2.height); - } - } else { - x = event.clientX; - y = event.clientY; - } - var _g = event.type; - switch(_g) { - case "mousedown": - var listeners = this.parent.onMouseDown.listeners; - var repeat = this.parent.onMouseDown.repeat; - var length = listeners.length; - var i = 0; - while(i < length) { - listeners[i](x,y,event.button); - if(!repeat[i]) { - this.parent.onMouseDown.remove(listeners[i]); - length--; - } else i++; - } - break; - case "mouseenter": - var listeners1 = this.parent.onWindowEnter.listeners; - var repeat1 = this.parent.onWindowEnter.repeat; - var length1 = listeners1.length; - var i1 = 0; - while(i1 < length1) { - listeners1[i1](); - if(!repeat1[i1]) { - this.parent.onWindowEnter.remove(listeners1[i1]); - length1--; - } else i1++; - } - break; - case "mouseleave": - var listeners2 = this.parent.onWindowLeave.listeners; - var repeat2 = this.parent.onWindowLeave.repeat; - var length2 = listeners2.length; - var i2 = 0; - while(i2 < length2) { - listeners2[i2](); - if(!repeat2[i2]) { - this.parent.onWindowLeave.remove(listeners2[i2]); - length2--; - } else i2++; - } - break; - case "mouseup": - var listeners3 = this.parent.onMouseUp.listeners; - var repeat3 = this.parent.onMouseUp.repeat; - var length3 = listeners3.length; - var i3 = 0; - while(i3 < length3) { - listeners3[i3](x,y,event.button); - if(!repeat3[i3]) { - this.parent.onMouseUp.remove(listeners3[i3]); - length3--; - } else i3++; - } - break; - case "mousemove": - var listeners4 = this.parent.onMouseMove.listeners; - var repeat4 = this.parent.onMouseMove.repeat; - var length4 = listeners4.length; - var i4 = 0; - while(i4 < length4) { - listeners4[i4](x,y); - if(!repeat4[i4]) { - this.parent.onMouseMove.remove(listeners4[i4]); - length4--; - } else i4++; - } - break; - default: - } - } else { - var listeners5 = this.parent.onMouseWheel.listeners; - var repeat5 = this.parent.onMouseWheel.repeat; - var length5 = listeners5.length; - var i5 = 0; - while(i5 < length5) { - listeners5[i5](event.deltaX,-event.deltaY); - if(!repeat5[i5]) { - this.parent.onMouseWheel.remove(listeners5[i5]); - length5--; - } else i5++; - } - } - } - ,handleResize: function() { - var stretch = this.parent.__fullscreen || this.setWidth == 0 && this.setHeight == 0; - if(this.element != null && (this.div == null || this.div != null && stretch)) { - if(stretch) { - if(this.parent.__width != this.element.clientWidth || this.parent.__height != this.element.clientHeight) { - this.parent.set_width(this.element.clientWidth); - this.parent.set_height(this.element.clientHeight); - if(this.canvas != null) { - if(this.element != this.canvas) { - this.canvas.width = this.element.clientWidth; - this.canvas.height = this.element.clientHeight; - } - } else { - this.div.style.width = this.element.clientWidth + "px"; - this.div.style.height = this.element.clientHeight + "px"; - } - } - } else { - var scaleX = this.element.clientWidth / this.setWidth; - var scaleY = this.element.clientHeight / this.setHeight; - var currentRatio = scaleX / scaleY; - var targetRatio = Math.min(scaleX,scaleY); - if(this.canvas != null) { - if(this.element != this.canvas) { - this.canvas.style.width = this.setWidth * targetRatio + "px"; - this.canvas.style.height = this.setHeight * targetRatio + "px"; - this.canvas.style.marginLeft = (this.element.clientWidth - this.setWidth * targetRatio) / 2 + "px"; - this.canvas.style.marginTop = (this.element.clientHeight - this.setHeight * targetRatio) / 2 + "px"; - } - } else { - this.div.style.width = this.setWidth * targetRatio + "px"; - this.div.style.height = this.setHeight * targetRatio + "px"; - this.div.style.marginLeft = (this.element.clientWidth - this.setWidth * targetRatio) / 2 + "px"; - this.div.style.marginTop = (this.element.clientHeight - this.setHeight * targetRatio) / 2 + "px"; - } - } - } - } - ,handleTouchEvent: function(event) { - event.preventDefault(); - var touch = event.changedTouches[0]; - var id = touch.identifier; - var x = 0.0; - var y = 0.0; - if(this.element != null) { - if(this.canvas != null) { - var rect = this.canvas.getBoundingClientRect(); - x = (touch.clientX - rect.left) * (this.parent.__width / rect.width); - y = (touch.clientY - rect.top) * (this.parent.__height / rect.height); - } else if(this.div != null) { - var rect1 = this.div.getBoundingClientRect(); - x = touch.clientX - rect1.left; - y = touch.clientY - rect1.top; - } else { - var rect2 = this.element.getBoundingClientRect(); - x = (touch.clientX - rect2.left) * (this.parent.__width / rect2.width); - y = (touch.clientY - rect2.top) * (this.parent.__height / rect2.height); - } - } else { - x = touch.clientX; - y = touch.clientY; - } - var _g = event.type; - switch(_g) { - case "touchstart": - var listeners = this.parent.onTouchStart.listeners; - var repeat = this.parent.onTouchStart.repeat; - var length = listeners.length; - var i = 0; - while(i < length) { - listeners[i](x,y,id); - if(!repeat[i]) { - this.parent.onTouchStart.remove(listeners[i]); - length--; - } else i++; - } - break; - case "touchmove": - var listeners1 = this.parent.onTouchMove.listeners; - var repeat1 = this.parent.onTouchMove.repeat; - var length1 = listeners1.length; - var i1 = 0; - while(i1 < length1) { - listeners1[i1](x,y,id); - if(!repeat1[i1]) { - this.parent.onTouchMove.remove(listeners1[i1]); - length1--; - } else i1++; - } - break; - case "touchend": - var listeners2 = this.parent.onTouchEnd.listeners; - var repeat2 = this.parent.onTouchEnd.repeat; - var length2 = listeners2.length; - var i2 = 0; - while(i2 < length2) { - listeners2[i2](x,y,id); - if(!repeat2[i2]) { - this.parent.onTouchEnd.remove(listeners2[i2]); - length2--; - } else i2++; - } - break; - default: - } - } - ,move: function(x,y) { - } - ,resize: function(width,height) { - } - ,setEnableTextEvents: function(value) { - return this.enableTextEvents = value; - } - ,setFullscreen: function(value) { - return false; - } - ,setIcon: function(image) { - } - ,setMinimized: function(value) { - return false; - } - ,__class__: lime._backend.html5.HTML5Window -}; -lime.app = {}; -lime.app.IModule = function() { }; -$hxClasses["lime.app.IModule"] = lime.app.IModule; -lime.app.IModule.__name__ = ["lime","app","IModule"]; -lime.app.IModule.prototype = { - __class__: lime.app.IModule -}; -lime.app.Module = function() { -}; -$hxClasses["lime.app.Module"] = lime.app.Module; -lime.app.Module.__name__ = ["lime","app","Module"]; -lime.app.Module.__interfaces__ = [lime.app.IModule]; -lime.app.Module.prototype = { - init: function(context) { - } - ,onGamepadAxisMove: function(gamepad,axis,value) { - } - ,onGamepadButtonDown: function(gamepad,button) { - } - ,onGamepadButtonUp: function(gamepad,button) { - } - ,onGamepadConnect: function(gamepad) { - } - ,onGamepadDisconnect: function(gamepad) { - } - ,onKeyDown: function(keyCode,modifier) { - } - ,onKeyUp: function(keyCode,modifier) { - } - ,onMouseDown: function(x,y,button) { - } - ,onMouseMove: function(x,y) { - } - ,onMouseMoveRelative: function(x,y) { - } - ,onMouseUp: function(x,y,button) { - } - ,onMouseWheel: function(deltaX,deltaY) { - } - ,onRenderContextLost: function() { - } - ,onRenderContextRestored: function(context) { - } - ,onTextEdit: function(text,start,length) { - } - ,onTextInput: function(text) { - } - ,onTouchEnd: function(x,y,id) { - } - ,onTouchMove: function(x,y,id) { - } - ,onTouchStart: function(x,y,id) { - } - ,onWindowActivate: function() { - } - ,onWindowClose: function() { - } - ,onWindowDeactivate: function() { - } - ,onWindowEnter: function() { - } - ,onWindowFocusIn: function() { - } - ,onWindowFocusOut: function() { - } - ,onWindowFullscreen: function() { - } - ,onWindowLeave: function() { - } - ,onWindowMinimize: function() { - } - ,onWindowMove: function(x,y) { - } - ,onWindowResize: function(width,height) { - } - ,onWindowRestore: function() { - } - ,render: function(context) { - } - ,update: function(deltaTime) { - } - ,__class__: lime.app.Module -}; -lime.app.Application = function() { - this.onUpdate = new lime.app.Event(); - lime.app.Module.call(this); - if(lime.app.Application.current == null) lime.app.Application.current = this; - this.modules = new Array(); - this.renderers = new Array(); - this.windows = new Array(); - this.backend = new lime._backend.html5.HTML5Application(this); - this.onUpdate.add($bind(this,this.update)); -}; -$hxClasses["lime.app.Application"] = lime.app.Application; -lime.app.Application.__name__ = ["lime","app","Application"]; -lime.app.Application.current = null; -lime.app.Application.__super__ = lime.app.Module; -lime.app.Application.prototype = $extend(lime.app.Module.prototype,{ - addModule: function(module) { - this.modules.push(module); - if(this.initialized && this.renderers[0] != null) module.init(this.renderers[0].context); - } - ,addRenderer: function(renderer) { - renderer.onRender.add($bind(this,this.render)); - renderer.onRenderContextLost.add($bind(this,this.onRenderContextLost)); - renderer.onRenderContextRestored.add($bind(this,this.onRenderContextRestored)); - this.renderers.push(renderer); - } - ,addWindow: function(window) { - this.windows.push(window); - window.onGamepadAxisMove.add($bind(this,this.onGamepadAxisMove)); - window.onGamepadButtonDown.add($bind(this,this.onGamepadButtonDown)); - window.onGamepadButtonUp.add($bind(this,this.onGamepadButtonUp)); - window.onGamepadConnect.add($bind(this,this.onGamepadConnect)); - window.onGamepadDisconnect.add($bind(this,this.onGamepadDisconnect)); - window.onKeyDown.add($bind(this,this.onKeyDown)); - window.onKeyUp.add($bind(this,this.onKeyUp)); - window.onMouseDown.add($bind(this,this.onMouseDown)); - window.onMouseMove.add($bind(this,this.onMouseMove)); - window.onMouseMoveRelative.add($bind(this,this.onMouseMoveRelative)); - window.onMouseUp.add($bind(this,this.onMouseUp)); - window.onMouseWheel.add($bind(this,this.onMouseWheel)); - window.onTextEdit.add($bind(this,this.onTextEdit)); - window.onTextInput.add($bind(this,this.onTextInput)); - window.onTouchStart.add($bind(this,this.onTouchStart)); - window.onTouchMove.add($bind(this,this.onTouchMove)); - window.onTouchEnd.add($bind(this,this.onTouchEnd)); - window.onWindowActivate.add($bind(this,this.onWindowActivate)); - window.onWindowClose.add($bind(this,this.onWindowClose)); - window.onWindowDeactivate.add($bind(this,this.onWindowDeactivate)); - window.onWindowEnter.add($bind(this,this.onWindowEnter)); - window.onWindowFocusIn.add($bind(this,this.onWindowFocusIn)); - window.onWindowFocusOut.add($bind(this,this.onWindowFocusOut)); - window.onWindowFullscreen.add($bind(this,this.onWindowFullscreen)); - window.onWindowLeave.add($bind(this,this.onWindowLeave)); - window.onWindowMinimize.add($bind(this,this.onWindowMinimize)); - window.onWindowMove.add($bind(this,this.onWindowMove)); - window.onWindowResize.add($bind(this,this.onWindowResize)); - window.onWindowRestore.add($bind(this,this.onWindowRestore)); - window.create(this); - } - ,create: function(config) { - this.backend.create(config); - } - ,exec: function() { - lime.app.Application.current = this; - return this.backend.exec(); - } - ,init: function(context) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.init(context); - } - this.initialized = true; - } - ,onGamepadAxisMove: function(gamepad,axis,value) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onGamepadAxisMove(gamepad,axis,value); - } - } - ,onGamepadButtonDown: function(gamepad,button) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onGamepadButtonDown(gamepad,button); - } - } - ,onGamepadButtonUp: function(gamepad,button) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onGamepadButtonUp(gamepad,button); - } - } - ,onGamepadConnect: function(gamepad) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onGamepadConnect(gamepad); - } - } - ,onGamepadDisconnect: function(gamepad) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onGamepadDisconnect(gamepad); - } - } - ,onKeyDown: function(keyCode,modifier) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onKeyDown(keyCode,modifier); - } - } - ,onKeyUp: function(keyCode,modifier) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onKeyUp(keyCode,modifier); - } - } - ,onMouseDown: function(x,y,button) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onMouseDown(x,y,button); - } - } - ,onMouseMove: function(x,y) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onMouseMove(x,y); - } - } - ,onMouseMoveRelative: function(x,y) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onMouseMoveRelative(x,y); - } - } - ,onMouseUp: function(x,y,button) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onMouseUp(x,y,button); - } - } - ,onMouseWheel: function(deltaX,deltaY) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onMouseWheel(deltaX,deltaY); - } - } - ,onRenderContextLost: function() { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onRenderContextLost(); - } - } - ,onRenderContextRestored: function(context) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onRenderContextRestored(context); - } - } - ,onTextEdit: function(text,start,length) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onTextEdit(text,start,length); - } - } - ,onTextInput: function(text) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onTextInput(text); - } - } - ,onTouchEnd: function(x,y,id) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onTouchEnd(x,y,id); - } - } - ,onTouchMove: function(x,y,id) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onTouchMove(x,y,id); - } - } - ,onTouchStart: function(x,y,id) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onTouchStart(x,y,id); - } - } - ,onWindowActivate: function() { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onWindowActivate(); - } - } - ,onWindowClose: function() { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onWindowClose(); - } - } - ,onWindowDeactivate: function() { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onWindowDeactivate(); - } - } - ,onWindowEnter: function() { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onWindowEnter(); - } - } - ,onWindowFocusIn: function() { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onWindowFocusIn(); - } - } - ,onWindowFocusOut: function() { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onWindowFocusOut(); - } - } - ,onWindowFullscreen: function() { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onWindowFullscreen(); - } - } - ,onWindowLeave: function() { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onWindowLeave(); - } - } - ,onWindowMinimize: function() { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onWindowMinimize(); - } - } - ,onWindowMove: function(x,y) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onWindowMove(x,y); - } - } - ,onWindowResize: function(width,height) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onWindowResize(width,height); - } - } - ,onWindowRestore: function() { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.onWindowRestore(); - } - } - ,removeModule: function(module) { - HxOverrides.remove(this.modules,module); - } - ,removeRenderer: function(renderer) { - if(renderer != null && HxOverrides.indexOf(this.renderers,renderer,0) > -1) HxOverrides.remove(this.renderers,renderer); - } - ,removeWindow: function(window) { - if(window != null && HxOverrides.indexOf(this.windows,window,0) > -1) { - window.close(); - HxOverrides.remove(this.windows,window); - } - } - ,render: function(context) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.render(context); - } - } - ,update: function(deltaTime) { - var _g = 0; - var _g1 = this.modules; - while(_g < _g1.length) { - var module = _g1[_g]; - ++_g; - module.update(deltaTime); - } - } - ,get_frameRate: function() { - return this.backend.getFrameRate(); - } - ,set_frameRate: function(value) { - return this.backend.setFrameRate(value); - } - ,get_renderer: function() { - return this.renderers[0]; - } - ,get_window: function() { - return this.windows[0]; - } - ,__class__: lime.app.Application - ,__properties__: {get_window:"get_window",get_renderer:"get_renderer",set_frameRate:"set_frameRate",get_frameRate:"get_frameRate"} -}); -lime.app.Event = function() { - this.listeners = new Array(); - this.priorities = new Array(); - this.repeat = new Array(); -}; -$hxClasses["lime.app.Event"] = lime.app.Event; -lime.app.Event.__name__ = ["lime","app","Event"]; -lime.app.Event.prototype = { - add: function(listener,once,priority) { - if(priority == null) priority = 0; - if(once == null) once = false; - var _g1 = 0; - var _g = this.priorities.length; - while(_g1 < _g) { - var i = _g1++; - if(priority > this.priorities[i]) { - this.listeners.splice(i,0,listener); - this.priorities.splice(i,0,priority); - this.repeat.splice(i,0,!once); - return; - } - } - this.listeners.push(listener); - this.priorities.push(priority); - this.repeat.push(!once); - } - ,remove: function(listener) { - var index = HxOverrides.indexOf(this.listeners,listener,0); - if(index > -1) { - this.listeners.splice(index,1); - this.priorities.splice(index,1); - this.repeat.splice(index,1); - } - } - ,__class__: lime.app.Event -}; -lime.app.Preloader = function() { - this.total = 0; - this.loaded = 0; -}; -$hxClasses["lime.app.Preloader"] = lime.app.Preloader; -lime.app.Preloader.__name__ = ["lime","app","Preloader"]; -lime.app.Preloader.prototype = { - create: function(config) { - } - ,load: function(urls,types) { - var url = null; - var _g1 = 0; - var _g = urls.length; - while(_g1 < _g) { - var i = _g1++; - url = urls[i]; - var _g2 = types[i]; - switch(_g2) { - case "IMAGE": - var image = new Image(); - lime.app.Preloader.images.set(url,image); - image.onload = $bind(this,this.image_onLoad); - image.src = url; - this.total++; - break; - case "BINARY": - var loader = new lime.net.URLLoader(); - loader.set_dataFormat(lime.net.URLLoaderDataFormat.BINARY); - lime.app.Preloader.loaders.set(url,loader); - this.total++; - break; - case "TEXT": - var loader1 = new lime.net.URLLoader(); - lime.app.Preloader.loaders.set(url,loader1); - this.total++; - break; - case "FONT": - this.total++; - this.loadFont(url); - break; - default: - } - } - var $it0 = lime.app.Preloader.loaders.keys(); - while( $it0.hasNext() ) { - var url1 = $it0.next(); - var loader2 = lime.app.Preloader.loaders.get(url1); - loader2.onComplete.add($bind(this,this.loader_onComplete)); - loader2.load(new lime.net.URLRequest(url1)); - } - if(this.total == 0) this.start(); - } - ,loadFont: function(font) { - var _g = this; - if(window.document.fonts && window.document.fonts.load) window.document.fonts.load("1em '" + font + "'").then(function(_) { - _g.loaded++; - _g.update(_g.loaded,_g.total); - if(_g.loaded == _g.total) _g.start(); - }); else { - var node = window.document.createElement("span"); - node.innerHTML = "giItT1WQy@!-/#"; - var style = node.style; - style.position = "absolute"; - style.left = "-10000px"; - style.top = "-10000px"; - style.fontSize = "300px"; - style.fontFamily = "sans-serif"; - style.fontVariant = "normal"; - style.fontStyle = "normal"; - style.fontWeight = "normal"; - style.letterSpacing = "0"; - window.document.body.appendChild(node); - var width = node.offsetWidth; - style.fontFamily = "'" + font + "', sans-serif"; - var interval = null; - var found = false; - var checkFont = function() { - if(node.offsetWidth != width) { - if(!found) { - found = true; - return false; - } - _g.loaded++; - if(interval != null) window.clearInterval(interval); - node.parentNode.removeChild(node); - node = null; - _g.update(_g.loaded,_g.total); - if(_g.loaded == _g.total) _g.start(); - return true; - } - return false; - }; - if(!checkFont()) interval = window.setInterval(checkFont,50); - } - } - ,start: function() { - if(this.onComplete != null) this.onComplete(); - } - ,update: function(loaded,total) { - } - ,image_onLoad: function(_) { - this.loaded++; - this.update(this.loaded,this.total); - if(this.loaded == this.total) this.start(); - } - ,loader_onComplete: function(loader) { - this.loaded++; - this.update(this.loaded,this.total); - if(this.loaded == this.total) this.start(); - } - ,__class__: lime.app.Preloader -}; -lime.audio = {}; -lime.audio.ALAudioContext = function() { - this.EXPONENT_DISTANCE_CLAMPED = 53254; - this.EXPONENT_DISTANCE = 53253; - this.LINEAR_DISTANCE_CLAMPED = 53252; - this.LINEAR_DISTANCE = 53251; - this.INVERSE_DISTANCE_CLAMPED = 53250; - this.INVERSE_DISTANCE = 53249; - this.DISTANCE_MODEL = 53248; - this.DOPPLER_VELOCITY = 49153; - this.SPEED_OF_SOUND = 49155; - this.DOPPLER_FACTOR = 49152; - this.EXTENSIONS = 45060; - this.RENDERER = 45059; - this.VERSION = 45058; - this.VENDOR = 45057; - this.OUT_OF_MEMORY = 40965; - this.INVALID_OPERATION = 40964; - this.INVALID_VALUE = 40963; - this.INVALID_ENUM = 40962; - this.INVALID_NAME = 40961; - this.NO_ERROR = 0; - this.SIZE = 8196; - this.CHANNELS = 8195; - this.BITS = 8194; - this.FREQUENCY = 8193; - this.FORMAT_STEREO16 = 4355; - this.FORMAT_STEREO8 = 4354; - this.FORMAT_MONO16 = 4353; - this.FORMAT_MONO8 = 4352; - this.UNDETERMINED = 4144; - this.STREAMING = 4137; - this.STATIC = 4136; - this.SOURCE_TYPE = 4135; - this.BYTE_OFFSET = 4134; - this.SAMPLE_OFFSET = 4133; - this.SEC_OFFSET = 4132; - this.MAX_DISTANCE = 4131; - this.CONE_OUTER_GAIN = 4130; - this.ROLLOFF_FACTOR = 4129; - this.REFERENCE_DISTANCE = 4128; - this.BUFFERS_PROCESSED = 4118; - this.BUFFERS_QUEUED = 4117; - this.STOPPED = 4116; - this.PAUSED = 4115; - this.PLAYING = 4114; - this.INITIAL = 4113; - this.SOURCE_STATE = 4112; - this.ORIENTATION = 4111; - this.MAX_GAIN = 4110; - this.MIN_GAIN = 4109; - this.GAIN = 4106; - this.BUFFER = 4105; - this.LOOPING = 4103; - this.VELOCITY = 4102; - this.DIRECTION = 4101; - this.POSITION = 4100; - this.PITCH = 4099; - this.CONE_OUTER_ANGLE = 4098; - this.CONE_INNER_ANGLE = 4097; - this.SOURCE_RELATIVE = 514; - this.TRUE = 1; - this.FALSE = 0; - this.NONE = 0; -}; -$hxClasses["lime.audio.ALAudioContext"] = lime.audio.ALAudioContext; -lime.audio.ALAudioContext.__name__ = ["lime","audio","ALAudioContext"]; -lime.audio.ALAudioContext.prototype = { - bufferData: function(buffer,format,data,size,freq) { - lime.audio.openal.AL.bufferData(buffer,format,data,size,freq); - } - ,buffer3f: function(buffer,param,value1,value2,value3) { - lime.audio.openal.AL.buffer3f(buffer,param,value1,value2,value3); - } - ,buffer3i: function(buffer,param,value1,value2,value3) { - lime.audio.openal.AL.buffer3i(buffer,param,value1,value2,value3); - } - ,bufferf: function(buffer,param,value) { - lime.audio.openal.AL.bufferf(buffer,param,value); - } - ,bufferfv: function(buffer,param,values) { - lime.audio.openal.AL.bufferfv(buffer,param,values); - } - ,bufferi: function(buffer,param,value) { - lime.audio.openal.AL.bufferi(buffer,param,value); - } - ,bufferiv: function(buffer,param,values) { - lime.audio.openal.AL.bufferiv(buffer,param,values); - } - ,deleteBuffer: function(buffer) { - lime.audio.openal.AL.deleteBuffer(buffer); - } - ,deleteBuffers: function(buffers) { - lime.audio.openal.AL.deleteBuffers(buffers); - } - ,deleteSource: function(source) { - lime.audio.openal.AL.deleteSource(source); - } - ,deleteSources: function(sources) { - lime.audio.openal.AL.deleteSources(sources); - } - ,disable: function(capability) { - lime.audio.openal.AL.disable(capability); - } - ,distanceModel: function(distanceModel) { - lime.audio.openal.AL.distanceModel(distanceModel); - } - ,dopplerFactor: function(value) { - lime.audio.openal.AL.dopplerFactor(value); - } - ,dopplerVelocity: function(value) { - lime.audio.openal.AL.dopplerVelocity(value); - } - ,enable: function(capability) { - lime.audio.openal.AL.enable(capability); - } - ,genSource: function() { - return lime.audio.openal.AL.genSource(); - } - ,genSources: function(n) { - return lime.audio.openal.AL.genSources(n); - } - ,genBuffer: function() { - return lime.audio.openal.AL.genBuffer(); - } - ,genBuffers: function(n) { - return lime.audio.openal.AL.genBuffers(n); - } - ,getBoolean: function(param) { - return lime.audio.openal.AL.getBoolean(param); - } - ,getBooleanv: function(param,count) { - if(count == null) count = 1; - return lime.audio.openal.AL.getBooleanv(param,count); - } - ,getBuffer3f: function(buffer,param) { - return lime.audio.openal.AL.getBuffer3f(buffer,param); - } - ,getBuffer3i: function(buffer,param) { - return lime.audio.openal.AL.getBuffer3i(buffer,param); - } - ,getBufferf: function(buffer,param) { - return lime.audio.openal.AL.getBufferf(buffer,param); - } - ,getBufferfv: function(buffer,param,count) { - if(count == null) count = 1; - return lime.audio.openal.AL.getBufferfv(buffer,param,count); - } - ,getBufferi: function(buffer,param) { - return lime.audio.openal.AL.getBufferi(buffer,param); - } - ,getBufferiv: function(buffer,param,count) { - if(count == null) count = 1; - return lime.audio.openal.AL.getBufferiv(buffer,param,count); - } - ,getDouble: function(param) { - return lime.audio.openal.AL.getDouble(param); - } - ,getDoublev: function(param,count) { - if(count == null) count = 1; - return lime.audio.openal.AL.getDoublev(param,count); - } - ,getEnumValue: function(ename) { - return lime.audio.openal.AL.getEnumValue(ename); - } - ,getError: function() { - return lime.audio.openal.AL.getError(); - } - ,getErrorString: function() { - return lime.audio.openal.AL.getErrorString(); - } - ,getFloat: function(param) { - return lime.audio.openal.AL.getFloat(param); - } - ,getFloatv: function(param,count) { - if(count == null) count = 1; - return lime.audio.openal.AL.getFloatv(param,count); - } - ,getInteger: function(param) { - return lime.audio.openal.AL.getInteger(param); - } - ,getIntegerv: function(param,count) { - if(count == null) count = 1; - return lime.audio.openal.AL.getIntegerv(param,count); - } - ,getListener3f: function(param) { - return lime.audio.openal.AL.getListener3f(param); - } - ,getListener3i: function(param) { - return lime.audio.openal.AL.getListener3i(param); - } - ,getListenerf: function(param) { - return lime.audio.openal.AL.getListenerf(param); - } - ,getListenerfv: function(param,count) { - if(count == null) count = 1; - return lime.audio.openal.AL.getListenerfv(param,count); - } - ,getListeneri: function(param) { - return lime.audio.openal.AL.getListeneri(param); - } - ,getListeneriv: function(param,count) { - if(count == null) count = 1; - return lime.audio.openal.AL.getListeneriv(param,count); - } - ,getProcAddress: function(fname) { - return lime.audio.openal.AL.getProcAddress(fname); - } - ,getSource3f: function(source,param) { - return lime.audio.openal.AL.getSource3f(source,param); - } - ,getSourcef: function(source,param) { - return lime.audio.openal.AL.getSourcef(source,param); - } - ,getSource3i: function(source,param) { - return lime.audio.openal.AL.getSource3i(source,param); - } - ,getSourcefv: function(source,param) { - return lime.audio.openal.AL.getSourcefv(source,param); - } - ,getSourcei: function(source,param) { - return lime.audio.openal.AL.getSourcei(source,param); - } - ,getSourceiv: function(source,param,count) { - if(count == null) count = 1; - return lime.audio.openal.AL.getSourceiv(source,param,count); - } - ,getString: function(param) { - return lime.audio.openal.AL.getString(param); - } - ,isBuffer: function(buffer) { - return lime.audio.openal.AL.isBuffer(buffer); - } - ,isEnabled: function(capability) { - return lime.audio.openal.AL.isEnabled(capability); - } - ,isExtensionPresent: function(extname) { - return lime.audio.openal.AL.isExtensionPresent(extname); - } - ,isSource: function(source) { - return lime.audio.openal.AL.isSource(source); - } - ,listener3f: function(param,value1,value2,value3) { - lime.audio.openal.AL.listener3f(param,value1,value2,value3); - } - ,listener3i: function(param,value1,value2,value3) { - lime.audio.openal.AL.listener3i(param,value1,value2,value3); - } - ,listenerf: function(param,value) { - lime.audio.openal.AL.listenerf(param,value); - } - ,listenerfv: function(param,values) { - lime.audio.openal.AL.listenerfv(param,values); - } - ,listeneri: function(param,value) { - lime.audio.openal.AL.listeneri(param,value); - } - ,listeneriv: function(param,values) { - lime.audio.openal.AL.listeneriv(param,values); - } - ,source3f: function(source,param,value1,value2,value3) { - lime.audio.openal.AL.source3f(source,param,value1,value2,value3); - } - ,source3i: function(source,param,value1,value2,value3) { - lime.audio.openal.AL.source3i(source,param,value1,value2,value3); - } - ,sourcef: function(source,param,value) { - lime.audio.openal.AL.sourcef(source,param,value); - } - ,sourcefv: function(source,param,values) { - lime.audio.openal.AL.sourcefv(source,param,values); - } - ,sourcei: function(source,param,value) { - lime.audio.openal.AL.sourcei(source,param,value); - } - ,sourceiv: function(source,param,values) { - lime.audio.openal.AL.sourceiv(source,param,values); - } - ,sourcePlay: function(source) { - lime.audio.openal.AL.sourcePlay(source); - } - ,sourcePlayv: function(sources) { - lime.audio.openal.AL.sourcePlayv(sources); - } - ,sourceStop: function(source) { - lime.audio.openal.AL.sourceStop(source); - } - ,sourceStopv: function(sources) { - lime.audio.openal.AL.sourceStopv(sources); - } - ,sourceRewind: function(source) { - lime.audio.openal.AL.sourceRewind(source); - } - ,sourceRewindv: function(sources) { - lime.audio.openal.AL.sourceRewindv(sources); - } - ,sourcePause: function(source) { - lime.audio.openal.AL.sourcePause(source); - } - ,sourcePausev: function(sources) { - lime.audio.openal.AL.sourcePausev(sources); - } - ,sourceQueueBuffer: function(source,buffer) { - lime.audio.openal.AL.sourceQueueBuffer(source,buffer); - } - ,sourceQueueBuffers: function(source,nb,buffers) { - lime.audio.openal.AL.sourceQueueBuffers(source,nb,buffers); - } - ,sourceUnqueueBuffer: function(source) { - return lime.audio.openal.AL.sourceUnqueueBuffer(source); - } - ,sourceUnqueueBuffers: function(source,nb) { - return lime.audio.openal.AL.sourceUnqueueBuffers(source,nb); - } - ,speedOfSound: function(value) { - lime.audio.openal.AL.speedOfSound(value); - } - ,__class__: lime.audio.ALAudioContext -}; -lime.audio.ALCAudioContext = function() { - this.ALL_DEVICES_SPECIFIER = 4115; - this.DEFAULT_ALL_DEVICES_SPECIFIER = 4114; - this.ENUMERATE_ALL_EXT = 1; - this.EXTENSIONS = 4102; - this.DEVICE_SPECIFIER = 4101; - this.DEFAULT_DEVICE_SPECIFIER = 4100; - this.ALL_ATTRIBUTES = 4099; - this.ATTRIBUTES_SIZE = 4098; - this.OUT_OF_MEMORY = 40965; - this.INVALID_VALUE = 40964; - this.INVALID_ENUM = 40963; - this.INVALID_CONTEXT = 40962; - this.INVALID_DEVICE = 40961; - this.NO_ERROR = 0; - this.STEREO_SOURCES = 4113; - this.MONO_SOURCES = 4112; - this.SYNC = 4105; - this.REFRESH = 4104; - this.FREQUENCY = 4103; - this.TRUE = 1; - this.FALSE = 0; -}; -$hxClasses["lime.audio.ALCAudioContext"] = lime.audio.ALCAudioContext; -lime.audio.ALCAudioContext.__name__ = ["lime","audio","ALCAudioContext"]; -lime.audio.ALCAudioContext.prototype = { - closeDevice: function(device) { - return lime.audio.openal.ALC.closeDevice(device); - } - ,createContext: function(device,attrlist) { - return lime.audio.openal.ALC.createContext(device,attrlist); - } - ,destroyContext: function(context) { - lime.audio.openal.ALC.destroyContext(context); - } - ,getContextsDevice: function(context) { - return lime.audio.openal.ALC.getContextsDevice(context); - } - ,getCurrentContext: function() { - return lime.audio.openal.ALC.getCurrentContext(); - } - ,getError: function(device) { - return lime.audio.openal.ALC.getError(device); - } - ,getErrorString: function(device) { - return lime.audio.openal.ALC.getErrorString(device); - } - ,getIntegerv: function(device,param,count) { - if(count == null) count = 1; - return lime.audio.openal.ALC.getIntegerv(device,param,count); - } - ,getString: function(device,param) { - return lime.audio.openal.ALC.getString(device,param); - } - ,makeContextCurrent: function(context) { - return lime.audio.openal.ALC.makeContextCurrent(context); - } - ,openDevice: function(deviceName) { - return lime.audio.openal.ALC.openDevice(deviceName); - } - ,processContext: function(context) { - lime.audio.openal.ALC.processContext(context); - } - ,suspendContext: function(context) { - lime.audio.openal.ALC.suspendContext(context); - } - ,__class__: lime.audio.ALCAudioContext -}; -lime.audio.AudioBuffer = function() { - this.id = 0; -}; -$hxClasses["lime.audio.AudioBuffer"] = lime.audio.AudioBuffer; -lime.audio.AudioBuffer.__name__ = ["lime","audio","AudioBuffer"]; -lime.audio.AudioBuffer.fromBytes = function(bytes) { - return null; -}; -lime.audio.AudioBuffer.fromFile = function(path) { - return null; -}; -lime.audio.AudioBuffer.fromURL = function(url,handler) { -}; -lime.audio.AudioBuffer.prototype = { - dispose: function() { - } - ,__class__: lime.audio.AudioBuffer -}; -lime.audio.AudioContext = $hxClasses["lime.audio.AudioContext"] = { __ename__ : true, __constructs__ : ["OPENAL","HTML5","WEB","FLASH","CUSTOM"] }; -lime.audio.AudioContext.OPENAL = function(alc,al) { var $x = ["OPENAL",0,alc,al]; $x.__enum__ = lime.audio.AudioContext; $x.toString = $estr; return $x; }; -lime.audio.AudioContext.HTML5 = function(context) { var $x = ["HTML5",1,context]; $x.__enum__ = lime.audio.AudioContext; $x.toString = $estr; return $x; }; -lime.audio.AudioContext.WEB = function(context) { var $x = ["WEB",2,context]; $x.__enum__ = lime.audio.AudioContext; $x.toString = $estr; return $x; }; -lime.audio.AudioContext.FLASH = function(context) { var $x = ["FLASH",3,context]; $x.__enum__ = lime.audio.AudioContext; $x.toString = $estr; return $x; }; -lime.audio.AudioContext.CUSTOM = function(data) { var $x = ["CUSTOM",4,data]; $x.__enum__ = lime.audio.AudioContext; $x.toString = $estr; return $x; }; -lime.audio.AudioManager = function() { }; -$hxClasses["lime.audio.AudioManager"] = lime.audio.AudioManager; -lime.audio.AudioManager.__name__ = ["lime","audio","AudioManager"]; -lime.audio.AudioManager.context = null; -lime.audio.AudioManager.init = function(context) { - if(lime.audio.AudioManager.context == null) { - if(context == null) try { - window.AudioContext = window.AudioContext || window.webkitAudioContext;; - lime.audio.AudioManager.context = lime.audio.AudioContext.WEB(new AudioContext ()); - } catch( e ) { - lime.audio.AudioManager.context = lime.audio.AudioContext.HTML5(new lime.audio.HTML5AudioContext()); - } else lime.audio.AudioManager.context = context; - } -}; -lime.audio.AudioManager.resume = function() { - if(lime.audio.AudioManager.context != null) { - var _g = lime.audio.AudioManager.context; - switch(_g[1]) { - case 0: - var al = _g[3]; - var alc = _g[2]; - alc.processContext(alc.getCurrentContext()); - break; - default: - } - } -}; -lime.audio.AudioManager.shutdown = function() { - if(lime.audio.AudioManager.context != null) { - var _g = lime.audio.AudioManager.context; - switch(_g[1]) { - case 0: - var al = _g[3]; - var alc = _g[2]; - var currentContext = alc.getCurrentContext(); - if(currentContext != null) { - var device = alc.getContextsDevice(currentContext); - alc.makeContextCurrent(null); - alc.destroyContext(currentContext); - alc.closeDevice(device); - } - break; - default: - } - } -}; -lime.audio.AudioManager.suspend = function() { - if(lime.audio.AudioManager.context != null) { - var _g = lime.audio.AudioManager.context; - switch(_g[1]) { - case 0: - var al = _g[3]; - var alc = _g[2]; - alc.suspendContext(alc.getCurrentContext()); - break; - default: - } - } -}; -lime.audio.AudioSource = function(buffer,offset,length,loops) { - if(loops == null) loops = 0; - if(offset == null) offset = 0; - this.onComplete = new lime.app.Event(); - this.buffer = buffer; - this.offset = offset; - if(length != null && length != 0) this.set_length(length); - this.loops = loops; - this.id = 0; - if(buffer != null) this.init(); -}; -$hxClasses["lime.audio.AudioSource"] = lime.audio.AudioSource; -lime.audio.AudioSource.__name__ = ["lime","audio","AudioSource"]; -lime.audio.AudioSource.prototype = { - dispose: function() { - { - var _g = lime.audio.AudioManager.context; - switch(_g[1]) { - case 0: - var al = _g[3]; - var alc = _g[2]; - if((function($this) { - var $r; - var $int = $this.id; - $r = $int < 0?4294967296.0 + $int:$int + 0.0; - return $r; - }(this)) != 0) al.deleteSource(this.id); - break; - default: - } - } - } - ,init: function() { - { - var _g = lime.audio.AudioManager.context; - switch(_g[1]) { - case 0: - var al = _g[3]; - var alc = _g[2]; - if((function($this) { - var $r; - var $int = $this.buffer.id; - $r = $int < 0?4294967296.0 + $int:$int + 0.0; - return $r; - }(this)) == 0) { - this.buffer.id = al.genBuffer(); - var format = 0; - if(this.buffer.channels == 1) { - if(this.buffer.bitsPerSample == 8) format = al.FORMAT_MONO8; else if(this.buffer.bitsPerSample == 16) format = al.FORMAT_MONO16; - } else if(this.buffer.channels == 2) { - if(this.buffer.bitsPerSample == 8) format = al.FORMAT_STEREO8; else if(this.buffer.bitsPerSample == 16) format = al.FORMAT_STEREO16; - } - al.bufferData(this.buffer.id,format,this.buffer.data,this.buffer.data.length,this.buffer.sampleRate); - } - this.id = al.genSource(); - al.sourcei(this.id,al.BUFFER,this.buffer.id); - break; - default: - } - } - } - ,play: function() { - } - ,pause: function() { - } - ,stop: function() { - } - ,timer_onRun: function() { - } - ,get_currentTime: function() { - return 0; - } - ,set_currentTime: function(value) { - return this.pauseTime = value; - } - ,get_gain: function() { - return 1; - } - ,set_gain: function(value) { - return 1; - } - ,get_length: function() { - if(this.__length != null) return this.__length; - return 0; - } - ,set_length: function(value) { - return this.__length = value; - } - ,__class__: lime.audio.AudioSource - ,__properties__: {set_length:"set_length",get_length:"get_length",set_gain:"set_gain",get_gain:"get_gain",set_currentTime:"set_currentTime",get_currentTime:"get_currentTime"} -}; -lime.audio.FlashAudioContext = function() { -}; -$hxClasses["lime.audio.FlashAudioContext"] = lime.audio.FlashAudioContext; -lime.audio.FlashAudioContext.__name__ = ["lime","audio","FlashAudioContext"]; -lime.audio.FlashAudioContext.prototype = { - createBuffer: function(stream,context) { - return null; - } - ,getBytesLoaded: function(buffer) { - return 0; - } - ,getBytesTotal: function(buffer) { - return 0; - } - ,getID3: function(buffer) { - return null; - } - ,getIsBuffering: function(buffer) { - return false; - } - ,getIsURLInaccessible: function(buffer) { - return false; - } - ,getLength: function(buffer) { - return 0; - } - ,getURL: function(buffer) { - return null; - } - ,close: function(buffer) { - } - ,extract: function(buffer,target,length,startPosition) { - if(startPosition == null) startPosition = -1; - return 0; - } - ,load: function(buffer,stream,context) { - } - ,loadCompressedDataFromByteArray: function(buffer,bytes,bytesLength) { - } - ,loadPCMFromByteArray: function(buffer,bytes,samples,format,stereo,sampleRate) { - if(sampleRate == null) sampleRate = 44100; - if(stereo == null) stereo = true; - } - ,play: function(buffer,startTime,loops,sndTransform) { - if(loops == null) loops = 0; - if(startTime == null) startTime = 0; - return null; - } - ,__class__: lime.audio.FlashAudioContext -}; -lime.audio.HTML5AudioContext = function() { - this.NETWORK_NO_SOURCE = 3; - this.NETWORK_LOADING = 2; - this.NETWORK_IDLE = 1; - this.NETWORK_EMPTY = 0; - this.HAVE_NOTHING = 0; - this.HAVE_METADATA = 1; - this.HAVE_FUTURE_DATA = 3; - this.HAVE_ENOUGH_DATA = 4; - this.HAVE_CURRENT_DATA = 2; -}; -$hxClasses["lime.audio.HTML5AudioContext"] = lime.audio.HTML5AudioContext; -lime.audio.HTML5AudioContext.__name__ = ["lime","audio","HTML5AudioContext"]; -lime.audio.HTML5AudioContext.prototype = { - canPlayType: function(buffer,type) { - if(buffer.src != null) return buffer.src.canPlayType(type); - return null; - } - ,createBuffer: function(urlString) { - var buffer = new lime.audio.AudioBuffer(); - buffer.src = new Audio(); - buffer.src.src = urlString; - return buffer; - } - ,getAudioDecodedByteCount: function(buffer) { - if(buffer.src != null) return buffer.src.audioDecodedByteCount; - return 0; - } - ,getAutoplay: function(buffer) { - if(buffer.src != null) return buffer.src.autoplay; - return false; - } - ,getBuffered: function(buffer) { - if(buffer.src != null) return buffer.src.buffered; - return null; - } - ,getController: function(buffer) { - if(buffer.src != null) return buffer.src.controller; - return null; - } - ,getCurrentSrc: function(buffer) { - if(buffer.src != null) return buffer.src.currentSrc; - return null; - } - ,getCurrentTime: function(buffer) { - if(buffer.src != null) return buffer.src.currentTime; - return 0; - } - ,getDefaultPlaybackRate: function(buffer) { - if(buffer.src != null) return buffer.src.defaultPlaybackRate; - return 1; - } - ,getDuration: function(buffer) { - if(buffer.src != null) return buffer.src.duration; - return 0; - } - ,getEnded: function(buffer) { - if(buffer.src != null) return buffer.src.ended; - return false; - } - ,getError: function(buffer) { - if(buffer.src != null) return buffer.src.error; - return null; - } - ,getInitialTime: function(buffer) { - if(buffer.src != null) return buffer.src.initialTime; - return 0; - } - ,getLoop: function(buffer) { - if(buffer.src != null) return buffer.src.loop; - return false; - } - ,getMediaGroup: function(buffer) { - if(buffer.src != null) return buffer.src.mediaGroup; - return null; - } - ,getMuted: function(buffer) { - if(buffer.src != null) return buffer.src.muted; - return false; - } - ,getNetworkState: function(buffer) { - if(buffer.src != null) return buffer.src.networkState; - return 0; - } - ,getPaused: function(buffer) { - if(buffer.src != null) return buffer.src.paused; - return false; - } - ,getPlaybackRate: function(buffer) { - if(buffer.src != null) return buffer.src.playbackRate; - return 1; - } - ,getPlayed: function(buffer) { - if(buffer.src != null) return buffer.src.played; - return null; - } - ,getPreload: function(buffer) { - if(buffer.src != null) return buffer.src.preload; - return null; - } - ,getReadyState: function(buffer) { - if(buffer.src != null) return buffer.src.readyState; - return 0; - } - ,getSeekable: function(buffer) { - if(buffer.src != null) return buffer.src.seekable; - return null; - } - ,getSeeking: function(buffer) { - if(buffer.src != null) return buffer.src.seeking; - return false; - } - ,getSrc: function(buffer) { - if(buffer.src != null) return buffer.src.src; - return null; - } - ,getStartTime: function(buffer) { - if(buffer.src != null) return buffer.src.playbackRate; - return 0; - } - ,getVolume: function(buffer) { - if(buffer.src != null) return buffer.src.volume; - return 1; - } - ,load: function(buffer) { - if(buffer.src != null) return buffer.src.load(); - } - ,pause: function(buffer) { - if(buffer.src != null) return buffer.src.pause(); - } - ,play: function(buffer) { - if(buffer.src != null) return buffer.src.play(); - } - ,setAutoplay: function(buffer,value) { - if(buffer.src != null) buffer.src.autoplay = value; - } - ,setController: function(buffer,value) { - if(buffer.src != null) buffer.src.controller = value; - } - ,setCurrentTime: function(buffer,value) { - if(buffer.src != null) buffer.src.currentTime = value; - } - ,setDefaultPlaybackRate: function(buffer,value) { - if(buffer.src != null) buffer.src.defaultPlaybackRate = value; - } - ,setLoop: function(buffer,value) { - if(buffer.src != null) buffer.src.loop = value; - } - ,setMediaGroup: function(buffer,value) { - if(buffer.src != null) buffer.src.mediaGroup = value; - } - ,setMuted: function(buffer,value) { - if(buffer.src != null) buffer.src.muted = value; - } - ,setPlaybackRate: function(buffer,value) { - if(buffer.src != null) buffer.src.playbackRate = value; - } - ,setPreload: function(buffer,value) { - if(buffer.src != null) buffer.src.preload = value; - } - ,setSrc: function(buffer,value) { - if(buffer.src != null) buffer.src.src = value; - } - ,setVolume: function(buffer,value) { - if(buffer.src != null) buffer.src.volume = value; - } - ,__class__: lime.audio.HTML5AudioContext -}; -lime.audio.openal = {}; -lime.audio.openal.AL = function() { }; -$hxClasses["lime.audio.openal.AL"] = lime.audio.openal.AL; -lime.audio.openal.AL.__name__ = ["lime","audio","openal","AL"]; -lime.audio.openal.AL.bufferData = function(buffer,format,data,size,freq) { -}; -lime.audio.openal.AL.buffer3f = function(buffer,param,value1,value2,value3) { -}; -lime.audio.openal.AL.buffer3i = function(buffer,param,value1,value2,value3) { -}; -lime.audio.openal.AL.bufferf = function(buffer,param,value) { -}; -lime.audio.openal.AL.bufferfv = function(buffer,param,values) { -}; -lime.audio.openal.AL.bufferi = function(buffer,param,value) { -}; -lime.audio.openal.AL.bufferiv = function(buffer,param,values) { -}; -lime.audio.openal.AL.deleteBuffer = function(buffer) { -}; -lime.audio.openal.AL.deleteBuffers = function(buffers) { -}; -lime.audio.openal.AL.deleteSource = function(source) { -}; -lime.audio.openal.AL.deleteSources = function(sources) { -}; -lime.audio.openal.AL.disable = function(capability) { -}; -lime.audio.openal.AL.distanceModel = function(distanceModel) { -}; -lime.audio.openal.AL.dopplerFactor = function(value) { -}; -lime.audio.openal.AL.dopplerVelocity = function(value) { -}; -lime.audio.openal.AL.enable = function(capability) { -}; -lime.audio.openal.AL.genSource = function() { - return 0; -}; -lime.audio.openal.AL.genSources = function(n) { - return null; -}; -lime.audio.openal.AL.genBuffer = function() { - return 0; -}; -lime.audio.openal.AL.genBuffers = function(n) { - return null; -}; -lime.audio.openal.AL.getBoolean = function(param) { - return false; -}; -lime.audio.openal.AL.getBooleanv = function(param,count) { - if(count == null) count = 1; - return null; -}; -lime.audio.openal.AL.getBuffer3f = function(buffer,param) { - return null; -}; -lime.audio.openal.AL.getBuffer3i = function(buffer,param) { - return null; -}; -lime.audio.openal.AL.getBufferf = function(buffer,param) { - return 0; -}; -lime.audio.openal.AL.getBufferfv = function(buffer,param,count) { - if(count == null) count = 1; - return null; -}; -lime.audio.openal.AL.getBufferi = function(buffer,param) { - return 0; -}; -lime.audio.openal.AL.getBufferiv = function(buffer,param,count) { - if(count == null) count = 1; - return null; -}; -lime.audio.openal.AL.getDouble = function(param) { - return 0; -}; -lime.audio.openal.AL.getDoublev = function(param,count) { - if(count == null) count = 1; - return null; -}; -lime.audio.openal.AL.getEnumValue = function(ename) { - return 0; -}; -lime.audio.openal.AL.getError = function() { - return 0; -}; -lime.audio.openal.AL.getErrorString = function() { - var _g = lime.audio.openal.AL.getError(); - switch(_g) { - case 40961: - return "INVALID_NAME: Invalid parameter name"; - case 40962: - return "INVALID_ENUM: Invalid enum value"; - case 40963: - return "INVALID_VALUE: Invalid parameter value"; - case 40964: - return "INVALID_OPERATION: Illegal operation or call"; - case 40965: - return "OUT_OF_MEMORY: OpenAL has run out of memory"; - default: - return ""; - } -}; -lime.audio.openal.AL.getFloat = function(param) { - return 0; -}; -lime.audio.openal.AL.getFloatv = function(param,count) { - if(count == null) count = 1; - return null; -}; -lime.audio.openal.AL.getInteger = function(param) { - return 0; -}; -lime.audio.openal.AL.getIntegerv = function(param,count) { - if(count == null) count = 1; - return null; -}; -lime.audio.openal.AL.getListener3f = function(param) { - return null; -}; -lime.audio.openal.AL.getListener3i = function(param) { - return null; -}; -lime.audio.openal.AL.getListenerf = function(param) { - return 0; -}; -lime.audio.openal.AL.getListenerfv = function(param,count) { - if(count == null) count = 1; - return null; -}; -lime.audio.openal.AL.getListeneri = function(param) { - return 0; -}; -lime.audio.openal.AL.getListeneriv = function(param,count) { - if(count == null) count = 1; - return null; -}; -lime.audio.openal.AL.getProcAddress = function(fname) { - return null; -}; -lime.audio.openal.AL.getSource3f = function(source,param) { - return null; -}; -lime.audio.openal.AL.getSourcef = function(source,param) { - return 0; -}; -lime.audio.openal.AL.getSource3i = function(source,param) { - return null; -}; -lime.audio.openal.AL.getSourcefv = function(source,param) { - return null; -}; -lime.audio.openal.AL.getSourcei = function(source,param) { - return 0; -}; -lime.audio.openal.AL.getSourceiv = function(source,param,count) { - if(count == null) count = 1; - return null; -}; -lime.audio.openal.AL.getString = function(param) { - return null; -}; -lime.audio.openal.AL.isBuffer = function(buffer) { - return false; -}; -lime.audio.openal.AL.isEnabled = function(capability) { - return false; -}; -lime.audio.openal.AL.isExtensionPresent = function(extname) { - return false; -}; -lime.audio.openal.AL.isSource = function(source) { - return false; -}; -lime.audio.openal.AL.listener3f = function(param,value1,value2,value3) { -}; -lime.audio.openal.AL.listener3i = function(param,value1,value2,value3) { -}; -lime.audio.openal.AL.listenerf = function(param,value) { -}; -lime.audio.openal.AL.listenerfv = function(param,values) { -}; -lime.audio.openal.AL.listeneri = function(param,value) { -}; -lime.audio.openal.AL.listeneriv = function(param,values) { -}; -lime.audio.openal.AL.source3f = function(source,param,value1,value2,value3) { -}; -lime.audio.openal.AL.source3i = function(source,param,value1,value2,value3) { -}; -lime.audio.openal.AL.sourcef = function(source,param,value) { -}; -lime.audio.openal.AL.sourcefv = function(source,param,values) { -}; -lime.audio.openal.AL.sourcei = function(source,param,value) { -}; -lime.audio.openal.AL.sourceiv = function(source,param,values) { -}; -lime.audio.openal.AL.sourcePlay = function(source) { -}; -lime.audio.openal.AL.sourcePlayv = function(sources) { -}; -lime.audio.openal.AL.sourceStop = function(source) { -}; -lime.audio.openal.AL.sourceStopv = function(sources) { -}; -lime.audio.openal.AL.sourceRewind = function(source) { -}; -lime.audio.openal.AL.sourceRewindv = function(sources) { -}; -lime.audio.openal.AL.sourcePause = function(source) { -}; -lime.audio.openal.AL.sourcePausev = function(sources) { -}; -lime.audio.openal.AL.sourceQueueBuffer = function(source,buffer) { -}; -lime.audio.openal.AL.sourceQueueBuffers = function(source,nb,buffers) { -}; -lime.audio.openal.AL.sourceUnqueueBuffer = function(source) { - return 0; -}; -lime.audio.openal.AL.sourceUnqueueBuffers = function(source,nb) { - return null; -}; -lime.audio.openal.AL.speedOfSound = function(value) { -}; -lime.audio.openal.ALC = function() { }; -$hxClasses["lime.audio.openal.ALC"] = lime.audio.openal.ALC; -lime.audio.openal.ALC.__name__ = ["lime","audio","openal","ALC"]; -lime.audio.openal.ALC.closeDevice = function(device) { - return false; -}; -lime.audio.openal.ALC.createContext = function(device,attrlist) { - return null; -}; -lime.audio.openal.ALC.destroyContext = function(context) { -}; -lime.audio.openal.ALC.getContextsDevice = function(context) { - return null; -}; -lime.audio.openal.ALC.getCurrentContext = function() { - return null; -}; -lime.audio.openal.ALC.getError = function(device) { - return 0; -}; -lime.audio.openal.ALC.getErrorString = function(device) { - var _g = lime.audio.openal.ALC.getError(device); - switch(_g) { - case 40961: - return "INVALID_DEVICE: Invalid device (or no device?)"; - case 40962: - return "INVALID_CONTEXT: Invalid context (or no context?)"; - case 40963: - return "INVALID_ENUM: Invalid enum value"; - case 40964: - return "INVALID_VALUE: Invalid param value"; - case 40965: - return "OUT_OF_MEMORY: OpenAL has run out of memory"; - default: - return ""; - } -}; -lime.audio.openal.ALC.getIntegerv = function(device,param,size) { - return null; -}; -lime.audio.openal.ALC.getString = function(device,param) { - return null; -}; -lime.audio.openal.ALC.makeContextCurrent = function(context) { - return false; -}; -lime.audio.openal.ALC.openDevice = function(deviceName) { - return null; -}; -lime.audio.openal.ALC.processContext = function(context) { -}; -lime.audio.openal.ALC.suspendContext = function(context) { -}; -lime.audio.openal._ALContext = {}; -lime.audio.openal._ALContext.ALContext_Impl_ = function() { }; -$hxClasses["lime.audio.openal._ALContext.ALContext_Impl_"] = lime.audio.openal._ALContext.ALContext_Impl_; -lime.audio.openal._ALContext.ALContext_Impl_.__name__ = ["lime","audio","openal","_ALContext","ALContext_Impl_"]; -lime.audio.openal._ALContext.ALContext_Impl_._new = function(handle) { - return handle; -}; -lime.audio.openal._ALDevice = {}; -lime.audio.openal._ALDevice.ALDevice_Impl_ = function() { }; -$hxClasses["lime.audio.openal._ALDevice.ALDevice_Impl_"] = lime.audio.openal._ALDevice.ALDevice_Impl_; -lime.audio.openal._ALDevice.ALDevice_Impl_.__name__ = ["lime","audio","openal","_ALDevice","ALDevice_Impl_"]; -lime.audio.openal._ALDevice.ALDevice_Impl_._new = function(handle) { - return handle; -}; -lime.graphics = {}; -lime.graphics.ConsoleRenderContext = function() { -}; -$hxClasses["lime.graphics.ConsoleRenderContext"] = lime.graphics.ConsoleRenderContext; -lime.graphics.ConsoleRenderContext.__name__ = ["lime","graphics","ConsoleRenderContext"]; -lime.graphics.ConsoleRenderContext.prototype = { - clear: function() { - } - ,clearColor: function(r,g,b,a) { - } - ,clearDepth: function(depth) { - } - ,clearStencil: function(stencil) { - } - ,__class__: lime.graphics.ConsoleRenderContext -}; -lime.graphics.FlashRenderContext = function() { -}; -$hxClasses["lime.graphics.FlashRenderContext"] = lime.graphics.FlashRenderContext; -lime.graphics.FlashRenderContext.__name__ = ["lime","graphics","FlashRenderContext"]; -lime.graphics.FlashRenderContext.prototype = { - addChild: function(child) { - return null; - } - ,addChildAt: function(child,index) { - return null; - } - ,addEventListener: function(type,listener,useCapture,priority,useWeakReference) { - if(useWeakReference == null) useWeakReference = false; - if(priority == null) priority = 0; - if(useCapture == null) useCapture = false; - } - ,areInaccessibleObjectsUnderPoint: function(point) { - return false; - } - ,contains: function(child) { - return false; - } - ,dispatchEvent: function(event) { - return false; - } - ,getBounds: function(targetCoordinateSpace) { - return null; - } - ,getChildAt: function(index) { - return null; - } - ,getChildByName: function(name) { - return null; - } - ,getChildIndex: function(child) { - return 0; - } - ,getObjectsUnderPoint: function(point) { - return null; - } - ,getRect: function(targetCoordinateSpace) { - return null; - } - ,globalToLocal: function(point) { - return null; - } - ,globalToLocal3D: function(point) { - return null; - } - ,hasEventListener: function(type) { - return false; - } - ,hitTestObject: function(obj) { - return false; - } - ,hitTestPoint: function(x,y,shapeFlag) { - if(shapeFlag == null) shapeFlag = false; - return false; - } - ,local3DToGlobal: function(point3d) { - return null; - } - ,localToGlobal: function(point) { - return null; - } - ,removeChild: function(child) { - return null; - } - ,removeChildAt: function(index) { - return null; - } - ,removeChildren: function(beginIndex,endIndex) { - if(endIndex == null) endIndex = 2147483647; - if(beginIndex == null) beginIndex = 0; - } - ,removeEventListener: function(type,listener,useCapture) { - if(useCapture == null) useCapture = false; - } - ,requestSoftKeyboard: function() { - return false; - } - ,setChildIndex: function(child,index) { - } - ,startDrag: function(lockCenter,bounds) { - if(lockCenter == null) lockCenter = false; - } - ,startTouchDrag: function(touchPointID,lockCenter,bounds) { - if(lockCenter == null) lockCenter = false; - } - ,stopAllMovieClips: function() { - } - ,stopDrag: function() { - } - ,stopTouchDrag: function(touchPointID) { - } - ,swapChildren: function(child1,child2) { - } - ,swapChildrenAt: function(index1,index2) { - } - ,toString: function() { - return null; - } - ,willTrigger: function(type) { - return false; - } - ,__class__: lime.graphics.FlashRenderContext -}; -lime.graphics.Image = function(buffer,offsetX,offsetY,width,height,color,type) { - if(height == null) height = -1; - if(width == null) width = -1; - if(offsetY == null) offsetY = 0; - if(offsetX == null) offsetX = 0; - this.offsetX = offsetX; - this.offsetY = offsetY; - this.width = width; - this.height = height; - if(type == null) { - if(lime.app.Application.current != null && lime.app.Application.current.renderers[0] != null) { - var _g = lime.app.Application.current.renderers[0].context; - switch(_g[1]) { - case 2:case 1: - this.type = lime.graphics.ImageType.CANVAS; - break; - case 3: - this.type = lime.graphics.ImageType.FLASH; - break; - default: - this.type = lime.graphics.ImageType.DATA; - } - } else this.type = lime.graphics.ImageType.DATA; - } else this.type = type; - if(buffer == null) { - if(width > 0 && height > 0) { - var _g1 = this.type; - switch(_g1[1]) { - case 0: - this.buffer = new lime.graphics.ImageBuffer(null,width,height); - lime.graphics.utils.ImageCanvasUtil.createCanvas(this,width,height); - if(color != null) this.fillRect(new lime.math.Rectangle(0,0,width,height),color); - break; - case 1: - this.buffer = new lime.graphics.ImageBuffer(new Uint8Array(width * height * 4),width,height); - if(color != null) this.fillRect(new lime.math.Rectangle(0,0,width,height),color); - break; - case 2: - break; - default: - } - } - } else this.__fromImageBuffer(buffer); -}; -$hxClasses["lime.graphics.Image"] = lime.graphics.Image; -lime.graphics.Image.__name__ = ["lime","graphics","Image"]; -lime.graphics.Image.__base64Encoder = null; -lime.graphics.Image.fromBase64 = function(base64,type,onload) { - if(base64 == null) return null; - var image = new lime.graphics.Image(); - image.__fromBase64(base64,type,onload); - return image; -}; -lime.graphics.Image.fromBitmapData = function(bitmapData) { - if(bitmapData == null) return null; - var buffer = new lime.graphics.ImageBuffer(null,bitmapData.width,bitmapData.height); - buffer.__srcBitmapData = bitmapData; - return new lime.graphics.Image(buffer); -}; -lime.graphics.Image.fromBytes = function(bytes,onload) { - if(bytes == null) return null; - var image = new lime.graphics.Image(); - image.__fromBytes(bytes,onload); - return image; -}; -lime.graphics.Image.fromCanvas = function(canvas) { - if(canvas == null) return null; - var buffer = new lime.graphics.ImageBuffer(null,canvas.width,canvas.height); - buffer.set_src(canvas); - return new lime.graphics.Image(buffer); -}; -lime.graphics.Image.fromFile = function(path,onload,onerror) { - var image = new lime.graphics.Image(); - image.__fromFile(path,onload,onerror); - return image; -}; -lime.graphics.Image.fromImageElement = function(image) { - if(image == null) return null; - var buffer = new lime.graphics.ImageBuffer(null,image.width,image.height); - buffer.set_src(image); - return new lime.graphics.Image(buffer); -}; -lime.graphics.Image.__base64Encode = function(bytes) { - var extension; - var _g = bytes.length % 3; - switch(_g) { - case 1: - extension = "=="; - break; - case 2: - extension = "="; - break; - default: - extension = ""; - } - if(lime.graphics.Image.__base64Encoder == null) lime.graphics.Image.__base64Encoder = new haxe.crypto.BaseCode(haxe.io.Bytes.ofString(lime.graphics.Image.__base64Chars)); - return lime.graphics.Image.__base64Encoder.encodeBytes(haxe.io.Bytes.ofData(bytes.byteView)).toString() + extension; -}; -lime.graphics.Image.__isJPG = function(bytes) { - bytes.position = 0; - return bytes.readUnsignedByte() == 255 && bytes.readUnsignedByte() == 216; -}; -lime.graphics.Image.__isPNG = function(bytes) { - bytes.position = 0; - return bytes.readUnsignedByte() == 137 && bytes.readUnsignedByte() == 80 && bytes.readUnsignedByte() == 78 && bytes.readUnsignedByte() == 71 && bytes.readUnsignedByte() == 13 && bytes.readUnsignedByte() == 10 && bytes.readUnsignedByte() == 26 && bytes.readUnsignedByte() == 10; -}; -lime.graphics.Image.__isGIF = function(bytes) { - bytes.position = 0; - if(bytes.readUnsignedByte() == 71 && bytes.readUnsignedByte() == 73 && bytes.readUnsignedByte() == 70 && bytes.readUnsignedByte() == 56) { - var b = bytes.readUnsignedByte(); - return (b == 55 || b == 57) && bytes.readUnsignedByte() == 97; - } - return false; -}; -lime.graphics.Image.prototype = { - clone: function() { - var image = new lime.graphics.Image(this.buffer.clone(),this.offsetX,this.offsetY,this.width,this.height,null,this.type); - return image; - } - ,colorTransform: function(rect,colorMatrix) { - rect = this.__clipRect(rect); - if(this.buffer == null || rect == null) return; - var _g = this.type; - switch(_g[1]) { - case 0: - lime.graphics.utils.ImageCanvasUtil.colorTransform(this,rect,colorMatrix); - break; - case 1: - lime.graphics.utils.ImageCanvasUtil.convertToData(this); - lime.graphics.utils.ImageDataUtil.colorTransform(this,rect,colorMatrix); - break; - case 2: - rect.offset(this.offsetX,this.offsetY); - this.buffer.__srcBitmapData.colorTransform(rect.__toFlashRectangle(),lime.math._ColorMatrix.ColorMatrix_Impl_.__toFlashColorTransform(colorMatrix)); - break; - default: - } - } - ,copyChannel: function(sourceImage,sourceRect,destPoint,sourceChannel,destChannel) { - sourceRect = this.__clipRect(sourceRect); - if(this.buffer == null || sourceRect == null) return; - if(destChannel == lime.graphics.ImageChannel.ALPHA && !this.get_transparent()) return; - if(sourceRect.width <= 0 || sourceRect.height <= 0) return; - if(sourceRect.x + sourceRect.width > sourceImage.width) sourceRect.width = sourceImage.width - sourceRect.x; - if(sourceRect.y + sourceRect.height > sourceImage.height) sourceRect.height = sourceImage.height - sourceRect.y; - var _g = this.type; - switch(_g[1]) { - case 0: - lime.graphics.utils.ImageCanvasUtil.copyChannel(this,sourceImage,sourceRect,destPoint,sourceChannel,destChannel); - break; - case 1: - lime.graphics.utils.ImageCanvasUtil.convertToData(this); - lime.graphics.utils.ImageDataUtil.copyChannel(this,sourceImage,sourceRect,destPoint,sourceChannel,destChannel); - break; - case 2: - var srcChannel; - switch(sourceChannel[1]) { - case 0: - srcChannel = 1; - break; - case 1: - srcChannel = 2; - break; - case 2: - srcChannel = 4; - break; - case 3: - srcChannel = 8; - break; - } - var dstChannel; - switch(destChannel[1]) { - case 0: - dstChannel = 1; - break; - case 1: - dstChannel = 2; - break; - case 2: - dstChannel = 4; - break; - case 3: - dstChannel = 8; - break; - } - sourceRect.offset(sourceImage.offsetX,sourceImage.offsetY); - destPoint.offset(this.offsetX,this.offsetY); - this.buffer.__srcBitmapData.copyChannel(sourceImage.buffer.get_src(),sourceRect.__toFlashRectangle(),destPoint.__toFlashPoint(),srcChannel,dstChannel); - break; - default: - } - } - ,copyPixels: function(sourceImage,sourceRect,destPoint,alphaImage,alphaPoint,mergeAlpha) { - if(mergeAlpha == null) mergeAlpha = false; - if(this.buffer == null || sourceImage == null) return; - if(sourceRect.width <= 0 || sourceRect.height <= 0) return; - if(this.width <= 0 || this.height <= 0) return; - if(sourceRect.x + sourceRect.width > sourceImage.width) sourceRect.width = sourceImage.width - sourceRect.x; - if(sourceRect.y + sourceRect.height > sourceImage.height) sourceRect.height = sourceImage.height - sourceRect.y; - if(sourceRect.x < 0) { - sourceRect.width += sourceRect.x; - sourceRect.x = 0; - } - if(sourceRect.y < 0) { - sourceRect.height += sourceRect.y; - sourceRect.y = 0; - } - if(destPoint.x + sourceRect.width > this.width) sourceRect.width = this.width - destPoint.x; - if(destPoint.y + sourceRect.height > this.height) sourceRect.height = this.height - destPoint.y; - if(destPoint.x < 0) { - sourceRect.width += destPoint.x; - sourceRect.x = -destPoint.x; - destPoint.x = 0; - } - if(destPoint.y < 0) { - sourceRect.height += destPoint.y; - sourceRect.y = -destPoint.y; - destPoint.y = 0; - } - var _g = this.type; - switch(_g[1]) { - case 0: - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(this); - lime.graphics.utils.ImageCanvasUtil.copyPixels(this,sourceImage,sourceRect,destPoint,alphaImage,alphaPoint,mergeAlpha); - break; - case 1: - lime.graphics.utils.ImageCanvasUtil.convertToData(this); - lime.graphics.utils.ImageCanvasUtil.convertToData(sourceImage); - lime.graphics.utils.ImageDataUtil.copyPixels(this,sourceImage,sourceRect,destPoint,alphaImage,alphaPoint,mergeAlpha); - break; - case 2: - sourceRect.offset(sourceImage.offsetX,sourceImage.offsetY); - destPoint.offset(this.offsetX,this.offsetY); - if(alphaImage != null && alphaPoint != null) alphaPoint.offset(alphaImage.offsetX,alphaImage.offsetY); - this.buffer.__srcBitmapData.copyPixels(sourceImage.buffer.__srcBitmapData,sourceRect.__toFlashRectangle(),destPoint.__toFlashPoint(),alphaImage != null?alphaImage.buffer.get_src():null,alphaPoint != null?alphaPoint.__toFlashPoint():null,mergeAlpha); - break; - default: - } - } - ,encode: function(format,quality) { - if(quality == null) quality = 90; - if(format == null) format = "png"; - return null; - } - ,fillRect: function(rect,color,format) { - rect = this.__clipRect(rect); - if(this.buffer == null || rect == null) return; - var _g = this.type; - switch(_g[1]) { - case 0: - lime.graphics.utils.ImageCanvasUtil.fillRect(this,rect,color,format); - break; - case 1: - lime.graphics.utils.ImageCanvasUtil.convertToData(this); - lime.graphics.utils.ImageDataUtil.fillRect(this,rect,color,format); - break; - case 2: - rect.offset(this.offsetX,this.offsetY); - if(format == null || format == 0) color = (color & 255) << 24 | color >> 8; - this.buffer.__srcBitmapData.fillRect(rect.__toFlashRectangle(),color); - break; - default: - } - } - ,floodFill: function(x,y,color,format) { - if(this.buffer == null) return; - var _g = this.type; - switch(_g[1]) { - case 0: - lime.graphics.utils.ImageCanvasUtil.floodFill(this,x,y,color,format); - break; - case 1: - lime.graphics.utils.ImageCanvasUtil.convertToData(this); - lime.graphics.utils.ImageDataUtil.floodFill(this,x,y,color,format); - break; - case 2: - if(format == null || format == 0) color = (color & 255) << 24 | color >> 8; - this.buffer.__srcBitmapData.floodFill(x + this.offsetX,y + this.offsetY,color); - break; - default: - } - } - ,getColorBoundsRect: function(mask,color,findColor,format) { - if(findColor == null) findColor = true; - if(this.buffer == null) return null; - var _g = this.type; - switch(_g[1]) { - case 0: - lime.graphics.utils.ImageCanvasUtil.convertToData(this); - return lime.graphics.utils.ImageDataUtil.getColorBoundsRect(this,mask,color,findColor,format); - case 1: - return lime.graphics.utils.ImageDataUtil.getColorBoundsRect(this,mask,color,findColor,format); - case 2: - var rect = this.buffer.__srcBitmapData.getColorBoundsRect(mask,color,findColor); - return new lime.math.Rectangle(rect.x,rect.y,rect.width,rect.height); - default: - return null; - } - } - ,getPixel: function(x,y,format) { - if(this.buffer == null || x < 0 || y < 0 || x >= this.width || y >= this.height) return 0; - var _g = this.type; - switch(_g[1]) { - case 0: - return lime.graphics.utils.ImageCanvasUtil.getPixel(this,x,y,format); - case 1: - lime.graphics.utils.ImageCanvasUtil.convertToData(this); - return lime.graphics.utils.ImageDataUtil.getPixel(this,x,y,format); - case 2: - var color = this.buffer.__srcBitmapData.getPixel(x + this.offsetX,y + this.offsetY); - if(format == null || format == 0) return (color & 255) << 24 | color >> 8; else return color; - break; - default: - return 0; - } - } - ,getPixel32: function(x,y,format) { - if(this.buffer == null || x < 0 || y < 0 || x >= this.width || y >= this.height) return 0; - var _g = this.type; - switch(_g[1]) { - case 0: - return lime.graphics.utils.ImageCanvasUtil.getPixel32(this,x,y,format); - case 1: - lime.graphics.utils.ImageCanvasUtil.convertToData(this); - return lime.graphics.utils.ImageDataUtil.getPixel32(this,x,y,format); - case 2: - var color = this.buffer.__srcBitmapData.getPixel32(x + this.offsetX,y + this.offsetY); - if(format == null || format == 0) return (color & 255) << 24 | color >> 8; else return color; - break; - default: - return 0; - } - } - ,getPixels: function(rect,format) { - if(this.buffer == null) return null; - var _g = this.type; - switch(_g[1]) { - case 0: - return lime.graphics.utils.ImageCanvasUtil.getPixels(this,rect,format); - case 1: - lime.graphics.utils.ImageCanvasUtil.convertToData(this); - return lime.graphics.utils.ImageDataUtil.getPixels(this,rect,format); - case 2: - rect.offset(this.offsetX,this.offsetY); - var byteArray = this.buffer.__srcBitmapData.getPixels(rect.__toFlashRectangle()); - if(format == null || format == 0) { - var color; - var length = byteArray.length / 4 | 0; - var _g1 = 0; - while(_g1 < length) { - var i = _g1++; - color = byteArray.readUnsignedInt(); - byteArray.position -= 4; - byteArray.writeUnsignedInt((color & 255) << 24 | color >> 8); - } - byteArray.position = 0; - } - return byteArray; - default: - return null; - } - } - ,merge: function(sourceImage,sourceRect,destPoint,redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier) { - if(this.buffer == null || sourceImage == null) return; - var _g = this.type; - switch(_g[1]) { - case 0: - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(this); - lime.graphics.utils.ImageCanvasUtil.merge(this,sourceImage,sourceRect,destPoint,redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier); - break; - case 1: - lime.graphics.utils.ImageCanvasUtil.convertToData(this); - lime.graphics.utils.ImageCanvasUtil.convertToData(sourceImage); - lime.graphics.utils.ImageDataUtil.merge(this,sourceImage,sourceRect,destPoint,redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier); - break; - case 2: - sourceRect.offset(this.offsetX,this.offsetY); - this.buffer.__srcBitmapData.merge(sourceImage.buffer.__srcBitmapData,sourceRect.__toFlashRectangle(),destPoint.__toFlashPoint(),redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier); - break; - default: - return null; - } - } - ,resize: function(newWidth,newHeight) { - var _g = this.type; - switch(_g[1]) { - case 0: - lime.graphics.utils.ImageCanvasUtil.resize(this,newWidth,newHeight); - break; - case 1: - lime.graphics.utils.ImageDataUtil.resize(this,newWidth,newHeight); - break; - case 2: - break; - default: - } - this.buffer.width = newWidth; - this.buffer.height = newHeight; - this.offsetX = 0; - this.offsetY = 0; - this.width = newWidth; - this.height = newHeight; - } - ,setPixel: function(x,y,color,format) { - if(this.buffer == null || x < 0 || y < 0 || x >= this.width || y >= this.height) return; - var _g = this.type; - switch(_g[1]) { - case 0: - lime.graphics.utils.ImageCanvasUtil.setPixel(this,x,y,color,format); - break; - case 1: - lime.graphics.utils.ImageCanvasUtil.convertToData(this); - lime.graphics.utils.ImageDataUtil.setPixel(this,x,y,color,format); - break; - case 2: - if(format == null || format == 0) color = (color & 255) << 24 | color >> 8; - this.buffer.__srcBitmapData.setPixel(x + this.offsetX,y + this.offsetX,color); - break; - default: - } - } - ,setPixel32: function(x,y,color,format) { - if(this.buffer == null || x < 0 || y < 0 || x >= this.width || y >= this.height) return; - var _g = this.type; - switch(_g[1]) { - case 0: - lime.graphics.utils.ImageCanvasUtil.setPixel32(this,x,y,color,format); - break; - case 1: - lime.graphics.utils.ImageCanvasUtil.convertToData(this); - lime.graphics.utils.ImageDataUtil.setPixel32(this,x,y,color,format); - break; - case 2: - if(format == null || format == 0) color = (color & 255) << 24 | color >> 8; - this.buffer.__srcBitmapData.setPixel32(x + this.offsetX,y + this.offsetY,color); - break; - default: - } - } - ,setPixels: function(rect,byteArray,format) { - rect = this.__clipRect(rect); - if(this.buffer == null || rect == null) return; - var _g = this.type; - switch(_g[1]) { - case 0: - lime.graphics.utils.ImageCanvasUtil.setPixels(this,rect,byteArray,format); - break; - case 1: - lime.graphics.utils.ImageCanvasUtil.convertToData(this); - lime.graphics.utils.ImageDataUtil.setPixels(this,rect,byteArray,format); - break; - case 2: - rect.offset(this.offsetX,this.offsetY); - if(format == null || format == 0) { - var srcData = byteArray; - byteArray = new lime.utils.ByteArray(); - var color; - var length = byteArray.length / 4 | 0; - var _g1 = 0; - while(_g1 < length) { - var i = _g1++; - color = srcData.readUnsignedInt(); - byteArray.writeUnsignedInt((color & 255) << 24 | color >> 8); - } - srcData.position = 0; - byteArray.position = 0; - } - this.buffer.__srcBitmapData.setPixels(rect.__toFlashRectangle(),byteArray); - break; - default: - } - } - ,__clipRect: function(r) { - if(r == null) return null; - if(r.x < 0) { - r.width -= -r.x; - r.x = 0; - if(r.x + r.width <= 0) return null; - } - if(r.y < 0) { - r.height -= -r.y; - r.y = 0; - if(r.y + r.height <= 0) return null; - } - if(r.x + r.width >= this.width) { - r.width -= r.x + r.width - this.width; - if(r.width <= 0) return null; - } - if(r.y + r.height >= this.height) { - r.height -= r.y + r.height - this.height; - if(r.height <= 0) return null; - } - return r; - } - ,__fromBase64: function(base64,type,onload) { - var _g = this; - var image = new Image(); - var image_onLoaded = function(event) { - _g.buffer = new lime.graphics.ImageBuffer(null,image.width,image.height); - _g.buffer.__srcImage = image; - _g.offsetX = 0; - _g.offsetY = 0; - _g.width = _g.buffer.width; - _g.height = _g.buffer.height; - if(onload != null) onload(_g); - }; - image.addEventListener("load",image_onLoaded,false); - image.src = "data:" + type + ";base64," + base64; - } - ,__fromBytes: function(bytes,onload) { - var type = ""; - if(lime.graphics.Image.__isPNG(bytes)) type = "image/png"; else if(lime.graphics.Image.__isJPG(bytes)) type = "image/jpeg"; else if(lime.graphics.Image.__isGIF(bytes)) type = "image/gif"; else throw "Image tried to read a PNG/JPG ByteArray, but found an invalid header."; - this.__fromBase64(lime.graphics.Image.__base64Encode(bytes),type,onload); - } - ,__fromFile: function(path,onload,onerror) { - var _g = this; - var image = new Image(); - image.onload = function(_) { - _g.buffer = new lime.graphics.ImageBuffer(null,image.width,image.height); - _g.buffer.__srcImage = image; - _g.width = image.width; - _g.height = image.height; - if(onload != null) onload(_g); - }; - image.onerror = function(_1) { - if(onerror != null) onerror(); - }; - image.src = path; - if(image.complete) { - } - } - ,__fromImageBuffer: function(buffer) { - this.buffer = buffer; - if(buffer != null) { - if(this.width == -1) this.width = buffer.width; - if(this.height == -1) this.height = buffer.height; - } - } - ,get_data: function() { - if(this.buffer.data == null && this.buffer.width > 0 && this.buffer.height > 0) { - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(this); - lime.graphics.utils.ImageCanvasUtil.sync(this); - lime.graphics.utils.ImageCanvasUtil.createImageData(this); - } - return this.buffer.data; - } - ,set_data: function(value) { - return this.buffer.data = value; - } - ,get_format: function() { - return this.buffer.format; - } - ,set_format: function(value) { - if(this.buffer.format != value) { - var _g = this.type; - switch(_g[1]) { - case 1: - lime.graphics.utils.ImageDataUtil.setFormat(this,value); - break; - default: - } - } - return this.buffer.format = value; - } - ,get_powerOfTwo: function() { - return this.buffer.width != 0 && (this.buffer.width & ~this.buffer.width + 1) == this.buffer.width && (this.buffer.height != 0 && (this.buffer.height & ~this.buffer.height + 1) == this.buffer.height); - } - ,set_powerOfTwo: function(value) { - if(value != this.get_powerOfTwo()) { - var newWidth = 1; - var newHeight = 1; - while(newWidth < this.buffer.width) newWidth <<= 1; - while(newHeight < this.buffer.height) newHeight <<= 1; - var _g = this.type; - switch(_g[1]) { - case 0: - break; - case 1: - lime.graphics.utils.ImageDataUtil.resizeBuffer(this,newWidth,newHeight); - break; - case 2: - break; - default: - } - } - return value; - } - ,get_premultiplied: function() { - return this.buffer.premultiplied; - } - ,set_premultiplied: function(value) { - if(value && !this.buffer.premultiplied) { - var _g = this.type; - switch(_g[1]) { - case 1: - lime.graphics.utils.ImageCanvasUtil.convertToData(this); - lime.graphics.utils.ImageDataUtil.multiplyAlpha(this); - break; - default: - } - } else if(!value && this.buffer.premultiplied) { - var _g1 = this.type; - switch(_g1[1]) { - case 1: - lime.graphics.utils.ImageCanvasUtil.convertToData(this); - lime.graphics.utils.ImageDataUtil.unmultiplyAlpha(this); - break; - default: - } - } - return value; - } - ,get_rect: function() { - return new lime.math.Rectangle(0,0,this.width,this.height); - } - ,get_src: function() { - return this.buffer.get_src(); - } - ,set_src: function(value) { - return this.buffer.set_src(value); - } - ,get_transparent: function() { - if(this.buffer == null) return false; - return this.buffer.transparent; - } - ,set_transparent: function(value) { - if(this.buffer == null) return false; - return this.buffer.transparent = value; - } - ,__class__: lime.graphics.Image - ,__properties__: {set_transparent:"set_transparent",get_transparent:"get_transparent",set_src:"set_src",get_src:"get_src",get_rect:"get_rect",set_premultiplied:"set_premultiplied",get_premultiplied:"get_premultiplied",set_powerOfTwo:"set_powerOfTwo",get_powerOfTwo:"get_powerOfTwo",set_format:"set_format",get_format:"get_format",set_data:"set_data",get_data:"get_data"} -}; -lime.graphics.ImageBuffer = function(data,width,height,bitsPerPixel,format) { - if(bitsPerPixel == null) bitsPerPixel = 4; - if(height == null) height = 0; - if(width == null) width = 0; - this.data = data; - this.width = width; - this.height = height; - this.bitsPerPixel = bitsPerPixel; - if(format == null) this.format = 0; else this.format = format; - this.transparent = true; -}; -$hxClasses["lime.graphics.ImageBuffer"] = lime.graphics.ImageBuffer; -lime.graphics.ImageBuffer.__name__ = ["lime","graphics","ImageBuffer"]; -lime.graphics.ImageBuffer.prototype = { - clone: function() { - var buffer = new lime.graphics.ImageBuffer(this.data,this.width,this.height,this.bitsPerPixel); - if(this.data != null) { - buffer.data = new Uint8Array(this.data.byteLength); - var copy = new Uint8Array(this.data); - buffer.data.set(copy); - } else if(this.__srcImageData != null) { - buffer.__srcCanvas = window.document.createElement("canvas"); - buffer.__srcContext = buffer.__srcCanvas.getContext("2d"); - buffer.__srcCanvas.width = this.__srcImageData.width; - buffer.__srcCanvas.height = this.__srcImageData.height; - buffer.__srcImageData = buffer.__srcContext.createImageData(this.__srcImageData.width,this.__srcImageData.height); - var copy1 = new Uint8ClampedArray(this.__srcImageData.data); - buffer.__srcImageData.data.set(copy1); - } else if(this.__srcCanvas != null) { - buffer.__srcCanvas = window.document.createElement("canvas"); - buffer.__srcContext = buffer.__srcCanvas.getContext("2d"); - buffer.__srcCanvas.width = this.__srcCanvas.width; - buffer.__srcCanvas.height = this.__srcCanvas.height; - buffer.__srcContext.drawImage(this.__srcCanvas,0,0); - } else buffer.__srcImage = this.__srcImage; - buffer.premultiplied = this.premultiplied; - buffer.transparent = this.transparent; - return buffer; - } - ,get_src: function() { - if(this.__srcImage != null) return this.__srcImage; - return this.__srcCanvas; - } - ,set_src: function(value) { - if(js.Boot.__instanceof(value,Image)) this.__srcImage = value; else if(js.Boot.__instanceof(value,HTMLCanvasElement)) { - this.__srcCanvas = value; - this.__srcContext = this.__srcCanvas.getContext("2d"); - } - return value; - } - ,get_stride: function() { - return this.width * 4; - } - ,__class__: lime.graphics.ImageBuffer - ,__properties__: {get_stride:"get_stride",set_src:"set_src",get_src:"get_src"} -}; -lime.graphics.ImageChannel = $hxClasses["lime.graphics.ImageChannel"] = { __ename__ : true, __constructs__ : ["RED","GREEN","BLUE","ALPHA"] }; -lime.graphics.ImageChannel.RED = ["RED",0]; -lime.graphics.ImageChannel.RED.toString = $estr; -lime.graphics.ImageChannel.RED.__enum__ = lime.graphics.ImageChannel; -lime.graphics.ImageChannel.GREEN = ["GREEN",1]; -lime.graphics.ImageChannel.GREEN.toString = $estr; -lime.graphics.ImageChannel.GREEN.__enum__ = lime.graphics.ImageChannel; -lime.graphics.ImageChannel.BLUE = ["BLUE",2]; -lime.graphics.ImageChannel.BLUE.toString = $estr; -lime.graphics.ImageChannel.BLUE.__enum__ = lime.graphics.ImageChannel; -lime.graphics.ImageChannel.ALPHA = ["ALPHA",3]; -lime.graphics.ImageChannel.ALPHA.toString = $estr; -lime.graphics.ImageChannel.ALPHA.__enum__ = lime.graphics.ImageChannel; -lime.graphics.ImageType = $hxClasses["lime.graphics.ImageType"] = { __ename__ : true, __constructs__ : ["CANVAS","DATA","FLASH","CUSTOM"] }; -lime.graphics.ImageType.CANVAS = ["CANVAS",0]; -lime.graphics.ImageType.CANVAS.toString = $estr; -lime.graphics.ImageType.CANVAS.__enum__ = lime.graphics.ImageType; -lime.graphics.ImageType.DATA = ["DATA",1]; -lime.graphics.ImageType.DATA.toString = $estr; -lime.graphics.ImageType.DATA.__enum__ = lime.graphics.ImageType; -lime.graphics.ImageType.FLASH = ["FLASH",2]; -lime.graphics.ImageType.FLASH.toString = $estr; -lime.graphics.ImageType.FLASH.__enum__ = lime.graphics.ImageType; -lime.graphics.ImageType.CUSTOM = ["CUSTOM",3]; -lime.graphics.ImageType.CUSTOM.toString = $estr; -lime.graphics.ImageType.CUSTOM.__enum__ = lime.graphics.ImageType; -lime.graphics._PixelFormat = {}; -lime.graphics._PixelFormat.PixelFormat_Impl_ = function() { }; -$hxClasses["lime.graphics._PixelFormat.PixelFormat_Impl_"] = lime.graphics._PixelFormat.PixelFormat_Impl_; -lime.graphics._PixelFormat.PixelFormat_Impl_.__name__ = ["lime","graphics","_PixelFormat","PixelFormat_Impl_"]; -lime.graphics.RenderContext = $hxClasses["lime.graphics.RenderContext"] = { __ename__ : true, __constructs__ : ["OPENGL","CANVAS","DOM","FLASH","CAIRO","CONSOLE","CUSTOM","NONE"] }; -lime.graphics.RenderContext.OPENGL = function(gl) { var $x = ["OPENGL",0,gl]; $x.__enum__ = lime.graphics.RenderContext; $x.toString = $estr; return $x; }; -lime.graphics.RenderContext.CANVAS = function(context) { var $x = ["CANVAS",1,context]; $x.__enum__ = lime.graphics.RenderContext; $x.toString = $estr; return $x; }; -lime.graphics.RenderContext.DOM = function(element) { var $x = ["DOM",2,element]; $x.__enum__ = lime.graphics.RenderContext; $x.toString = $estr; return $x; }; -lime.graphics.RenderContext.FLASH = function(stage) { var $x = ["FLASH",3,stage]; $x.__enum__ = lime.graphics.RenderContext; $x.toString = $estr; return $x; }; -lime.graphics.RenderContext.CAIRO = function(cairo) { var $x = ["CAIRO",4,cairo]; $x.__enum__ = lime.graphics.RenderContext; $x.toString = $estr; return $x; }; -lime.graphics.RenderContext.CONSOLE = function(context) { var $x = ["CONSOLE",5,context]; $x.__enum__ = lime.graphics.RenderContext; $x.toString = $estr; return $x; }; -lime.graphics.RenderContext.CUSTOM = function(data) { var $x = ["CUSTOM",6,data]; $x.__enum__ = lime.graphics.RenderContext; $x.toString = $estr; return $x; }; -lime.graphics.RenderContext.NONE = ["NONE",7]; -lime.graphics.RenderContext.NONE.toString = $estr; -lime.graphics.RenderContext.NONE.__enum__ = lime.graphics.RenderContext; -lime.graphics.Renderer = function(window) { - this.onRender = new lime.app.Event(); - this.onRenderContextRestored = new lime.app.Event(); - this.onRenderContextLost = new lime.app.Event(); - this.window = window; - this.backend = new lime._backend.html5.HTML5Renderer(this); - this.window.currentRenderer = this; -}; -$hxClasses["lime.graphics.Renderer"] = lime.graphics.Renderer; -lime.graphics.Renderer.__name__ = ["lime","graphics","Renderer"]; -lime.graphics.Renderer.prototype = { - create: function() { - this.backend.create(); - } - ,flip: function() { - this.backend.flip(); - } - ,render: function() { - this.backend.render(); - } - ,__class__: lime.graphics.Renderer -}; -lime.graphics.cairo = {}; -lime.graphics.cairo.Cairo = function(surface) { - if(surface != null) { - } -}; -$hxClasses["lime.graphics.cairo.Cairo"] = lime.graphics.cairo.Cairo; -lime.graphics.cairo.Cairo.__name__ = ["lime","graphics","cairo","Cairo"]; -lime.graphics.cairo.Cairo.__properties__ = {get_versionString:"get_versionString",get_version:"get_version"} -lime.graphics.cairo.Cairo.version = null; -lime.graphics.cairo.Cairo.versionString = null; -lime.graphics.cairo.Cairo.get_version = function() { - return 0; -}; -lime.graphics.cairo.Cairo.get_versionString = function() { - return ""; -}; -lime.graphics.cairo.Cairo.prototype = { - recreate: function(surface) { - } - ,arc: function(xc,yc,radius,angle1,angle2) { - } - ,arcNegative: function(xc,yc,radius,angle1,angle2) { - } - ,clip: function() { - } - ,clipExtents: function(x1,y1,x2,y2) { - } - ,clipPreserve: function() { - } - ,closePath: function() { - } - ,copyPage: function() { - } - ,curveTo: function(x1,y1,x2,y2,x3,y3) { - } - ,destroy: function() { - } - ,fill: function() { - } - ,fillExtents: function(x1,y1,x2,y2) { - } - ,fillPreserve: function() { - } - ,identityMatrix: function() { - } - ,inClip: function(x,y) { - return false; - } - ,inFill: function(x,y) { - return false; - } - ,inStroke: function(x,y) { - return false; - } - ,lineTo: function(x,y) { - } - ,moveTo: function(x,y) { - } - ,mask: function(pattern) { - } - ,maskSurface: function(surface,x,y) { - } - ,newPath: function() { - } - ,paint: function() { - } - ,paintWithAlpha: function(alpha) { - } - ,popGroup: function() { - return null; - } - ,popGroupToSource: function() { - } - ,pushGroup: function() { - } - ,pushGroupWithContent: function(content) { - } - ,rectangle: function(x,y,width,height) { - } - ,reference: function() { - } - ,relCurveTo: function(dx1,dy1,dx2,dy2,dx3,dy3) { - } - ,relLineTo: function(dx,dy) { - } - ,relMoveTo: function(dx,dy) { - } - ,resetClip: function() { - } - ,restore: function() { - } - ,save: function() { - } - ,setFontFace: function(face) { - } - ,setFontSize: function(size) { - } - ,getFontOptions: function() { - return 0; - } - ,setFontOptions: function(value) { - return value; - } - ,setSourceRGB: function(r,g,b) { - } - ,setSourceRGBA: function(r,g,b,a) { - } - ,setSourceSurface: function(surface,x,y) { - } - ,showPage: function() { - } - ,showText: function(utf8) { - } - ,status: function() { - return 0; - } - ,stroke: function() { - } - ,strokeExtents: function(x1,y1,x2,y2) { - } - ,strokePreserve: function() { - } - ,transform: function(matrix) { - } - ,rotate: function(amount) { - } - ,scale: function(x,y) { - } - ,translate: function(x,y) { - } - ,get_antialias: function() { - return 0; - } - ,set_antialias: function(value) { - return value; - } - ,get_currentPoint: function() { - return null; - } - ,get_dash: function() { - return []; - } - ,set_dash: function(value) { - return value; - } - ,get_dashCount: function() { - return 0; - } - ,get_fillRule: function() { - return 0; - } - ,set_fillRule: function(value) { - return value; - } - ,get_groupTarget: function() { - return 0; - } - ,get_hasCurrentPoint: function() { - return false; - } - ,get_lineCap: function() { - return 0; - } - ,set_lineCap: function(value) { - return value; - } - ,get_lineJoin: function() { - return 0; - } - ,set_lineJoin: function(value) { - return value; - } - ,get_lineWidth: function() { - return 0; - } - ,set_lineWidth: function(value) { - return value; - } - ,get_matrix: function() { - return null; - } - ,set_matrix: function(value) { - return value; - } - ,get_miterLimit: function() { - return 0; - } - ,set_miterLimit: function(value) { - return value; - } - ,get_operator: function() { - return 0; - } - ,set_operator: function(value) { - return value; - } - ,get_referenceCount: function() { - return 0; - } - ,get_source: function() { - return 0; - } - ,set_source: function(value) { - return value; - } - ,get_target: function() { - return 0; - } - ,get_tolerance: function() { - return 0; - } - ,set_tolerance: function(value) { - return value; - } - ,__class__: lime.graphics.cairo.Cairo - ,__properties__: {set_tolerance:"set_tolerance",get_tolerance:"get_tolerance",get_target:"get_target",set_source:"set_source",get_source:"get_source",get_referenceCount:"get_referenceCount",set_operator:"set_operator",get_operator:"get_operator",set_miterLimit:"set_miterLimit",get_miterLimit:"get_miterLimit",set_matrix:"set_matrix",get_matrix:"get_matrix",set_lineWidth:"set_lineWidth",get_lineWidth:"get_lineWidth",set_lineJoin:"set_lineJoin",get_lineJoin:"get_lineJoin",set_lineCap:"set_lineCap",get_lineCap:"get_lineCap",get_hasCurrentPoint:"get_hasCurrentPoint",get_groupTarget:"get_groupTarget",set_fillRule:"set_fillRule",get_fillRule:"get_fillRule",get_dashCount:"get_dashCount",set_dash:"set_dash",get_dash:"get_dash",get_currentPoint:"get_currentPoint",set_antialias:"set_antialias",get_antialias:"get_antialias"} -}; -lime.graphics.cairo._CairoAntialias = {}; -lime.graphics.cairo._CairoAntialias.CairoAntialias_Impl_ = function() { }; -$hxClasses["lime.graphics.cairo._CairoAntialias.CairoAntialias_Impl_"] = lime.graphics.cairo._CairoAntialias.CairoAntialias_Impl_; -lime.graphics.cairo._CairoAntialias.CairoAntialias_Impl_.__name__ = ["lime","graphics","cairo","_CairoAntialias","CairoAntialias_Impl_"]; -lime.graphics.cairo._CairoContent = {}; -lime.graphics.cairo._CairoContent.CairoContent_Impl_ = function() { }; -$hxClasses["lime.graphics.cairo._CairoContent.CairoContent_Impl_"] = lime.graphics.cairo._CairoContent.CairoContent_Impl_; -lime.graphics.cairo._CairoContent.CairoContent_Impl_.__name__ = ["lime","graphics","cairo","_CairoContent","CairoContent_Impl_"]; -lime.graphics.cairo._CairoExtend = {}; -lime.graphics.cairo._CairoExtend.CairoExtend_Impl_ = function() { }; -$hxClasses["lime.graphics.cairo._CairoExtend.CairoExtend_Impl_"] = lime.graphics.cairo._CairoExtend.CairoExtend_Impl_; -lime.graphics.cairo._CairoExtend.CairoExtend_Impl_.__name__ = ["lime","graphics","cairo","_CairoExtend","CairoExtend_Impl_"]; -lime.graphics.cairo._CairoFillRule = {}; -lime.graphics.cairo._CairoFillRule.CairoFillRule_Impl_ = function() { }; -$hxClasses["lime.graphics.cairo._CairoFillRule.CairoFillRule_Impl_"] = lime.graphics.cairo._CairoFillRule.CairoFillRule_Impl_; -lime.graphics.cairo._CairoFillRule.CairoFillRule_Impl_.__name__ = ["lime","graphics","cairo","_CairoFillRule","CairoFillRule_Impl_"]; -lime.graphics.cairo._CairoFilter = {}; -lime.graphics.cairo._CairoFilter.CairoFilter_Impl_ = function() { }; -$hxClasses["lime.graphics.cairo._CairoFilter.CairoFilter_Impl_"] = lime.graphics.cairo._CairoFilter.CairoFilter_Impl_; -lime.graphics.cairo._CairoFilter.CairoFilter_Impl_.__name__ = ["lime","graphics","cairo","_CairoFilter","CairoFilter_Impl_"]; -lime.graphics.cairo.CairoFont = function(font) { -}; -$hxClasses["lime.graphics.cairo.CairoFont"] = lime.graphics.cairo.CairoFont; -lime.graphics.cairo.CairoFont.__name__ = ["lime","graphics","cairo","CairoFont"]; -lime.graphics.cairo.CairoFont.prototype = { - destroy: function() { - } - ,__class__: lime.graphics.cairo.CairoFont -}; -lime.graphics.cairo.CairoFontOptions = function(handle) { - this.handle = handle; -}; -$hxClasses["lime.graphics.cairo.CairoFontOptions"] = lime.graphics.cairo.CairoFontOptions; -lime.graphics.cairo.CairoFontOptions.__name__ = ["lime","graphics","cairo","CairoFontOptions"]; -lime.graphics.cairo.CairoFontOptions.prototype = { - get_antialias: function() { - return 0; - } - ,set_antialias: function(value) { - return value; - } - ,get_subpixelOrder: function() { - return 0; - } - ,set_subpixelOrder: function(value) { - return value; - } - ,get_hintStyle: function() { - return 0; - } - ,set_hintStyle: function(value) { - return value; - } - ,get_hintMetrics: function() { - return 0; - } - ,set_hintMetrics: function(value) { - return value; - } - ,__class__: lime.graphics.cairo.CairoFontOptions - ,__properties__: {set_hintMetrics:"set_hintMetrics",get_hintMetrics:"get_hintMetrics",set_hintStyle:"set_hintStyle",get_hintStyle:"get_hintStyle",set_subpixelOrder:"set_subpixelOrder",get_subpixelOrder:"get_subpixelOrder",set_antialias:"set_antialias",get_antialias:"get_antialias"} -}; -lime.graphics.cairo._CairoFormat = {}; -lime.graphics.cairo._CairoFormat.CairoFormat_Impl_ = function() { }; -$hxClasses["lime.graphics.cairo._CairoFormat.CairoFormat_Impl_"] = lime.graphics.cairo._CairoFormat.CairoFormat_Impl_; -lime.graphics.cairo._CairoFormat.CairoFormat_Impl_.__name__ = ["lime","graphics","cairo","_CairoFormat","CairoFormat_Impl_"]; -lime.graphics.cairo._CairoHintMetrics = {}; -lime.graphics.cairo._CairoHintMetrics.CairoHintMetrics_Impl_ = function() { }; -$hxClasses["lime.graphics.cairo._CairoHintMetrics.CairoHintMetrics_Impl_"] = lime.graphics.cairo._CairoHintMetrics.CairoHintMetrics_Impl_; -lime.graphics.cairo._CairoHintMetrics.CairoHintMetrics_Impl_.__name__ = ["lime","graphics","cairo","_CairoHintMetrics","CairoHintMetrics_Impl_"]; -lime.graphics.cairo._CairoHintStyle = {}; -lime.graphics.cairo._CairoHintStyle.CairoHintStyle_Impl_ = function() { }; -$hxClasses["lime.graphics.cairo._CairoHintStyle.CairoHintStyle_Impl_"] = lime.graphics.cairo._CairoHintStyle.CairoHintStyle_Impl_; -lime.graphics.cairo._CairoHintStyle.CairoHintStyle_Impl_.__name__ = ["lime","graphics","cairo","_CairoHintStyle","CairoHintStyle_Impl_"]; -lime.graphics.cairo._CairoLineCap = {}; -lime.graphics.cairo._CairoLineCap.CairoLineCap_Impl_ = function() { }; -$hxClasses["lime.graphics.cairo._CairoLineCap.CairoLineCap_Impl_"] = lime.graphics.cairo._CairoLineCap.CairoLineCap_Impl_; -lime.graphics.cairo._CairoLineCap.CairoLineCap_Impl_.__name__ = ["lime","graphics","cairo","_CairoLineCap","CairoLineCap_Impl_"]; -lime.graphics.cairo._CairoLineJoin = {}; -lime.graphics.cairo._CairoLineJoin.CairoLineJoin_Impl_ = function() { }; -$hxClasses["lime.graphics.cairo._CairoLineJoin.CairoLineJoin_Impl_"] = lime.graphics.cairo._CairoLineJoin.CairoLineJoin_Impl_; -lime.graphics.cairo._CairoLineJoin.CairoLineJoin_Impl_.__name__ = ["lime","graphics","cairo","_CairoLineJoin","CairoLineJoin_Impl_"]; -lime.graphics.cairo._CairoOperator = {}; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_ = function() { }; -$hxClasses["lime.graphics.cairo._CairoOperator.CairoOperator_Impl_"] = lime.graphics.cairo._CairoOperator.CairoOperator_Impl_; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.__name__ = ["lime","graphics","cairo","_CairoOperator","CairoOperator_Impl_"]; -lime.graphics.cairo._CairoPattern = {}; -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_ = function() { }; -$hxClasses["lime.graphics.cairo._CairoPattern.CairoPattern_Impl_"] = lime.graphics.cairo._CairoPattern.CairoPattern_Impl_; -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.__name__ = ["lime","graphics","cairo","_CairoPattern","CairoPattern_Impl_"]; -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.__properties__ = {set_matrix:"set_matrix",get_matrix:"get_matrix",set_filter:"set_filter",get_filter:"get_filter",set_extend:"set_extend",get_extend:"get_extend",get_colorStopCount:"get_colorStopCount"} -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_._new = function(handle) { - return handle; -}; -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.addColorStopRGB = function(this1,offset,r,g,b) { -}; -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.addColorStopRGBA = function(this1,offset,r,g,b,a) { -}; -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.createForSurface = function(surface) { - return 0; -}; -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.createLinear = function(x0,y0,x1,y1) { - return 0; -}; -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.createRadial = function(cx0,cy0,radius0,cx1,cy1,radius1) { - return 0; -}; -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.createRGB = function(r,g,b) { - return 0; -}; -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.createRGBA = function(r,g,b,a) { - return 0; -}; -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.destroy = function(this1) { -}; -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.get_colorStopCount = function(this1) { - return 0; -}; -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.get_extend = function(this1) { - return 0; -}; -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.set_extend = function(this1,value) { - return value; -}; -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.get_filter = function(this1) { - return 0; -}; -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.set_filter = function(this1,value) { - return value; -}; -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.get_matrix = function(this1) { - return null; -}; -lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.set_matrix = function(this1,value) { - return value; -}; -lime.graphics.cairo._CairoStatus = {}; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_ = function() { }; -$hxClasses["lime.graphics.cairo._CairoStatus.CairoStatus_Impl_"] = lime.graphics.cairo._CairoStatus.CairoStatus_Impl_; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.__name__ = ["lime","graphics","cairo","_CairoStatus","CairoStatus_Impl_"]; -lime.graphics.cairo._CairoSubpixelOrder = {}; -lime.graphics.cairo._CairoSubpixelOrder.CairoSubpixelOrder_Impl_ = function() { }; -$hxClasses["lime.graphics.cairo._CairoSubpixelOrder.CairoSubpixelOrder_Impl_"] = lime.graphics.cairo._CairoSubpixelOrder.CairoSubpixelOrder_Impl_; -lime.graphics.cairo._CairoSubpixelOrder.CairoSubpixelOrder_Impl_.__name__ = ["lime","graphics","cairo","_CairoSubpixelOrder","CairoSubpixelOrder_Impl_"]; -lime.graphics.cairo._CairoSurface = {}; -lime.graphics.cairo._CairoSurface.CairoSurface_Impl_ = function() { }; -$hxClasses["lime.graphics.cairo._CairoSurface.CairoSurface_Impl_"] = lime.graphics.cairo._CairoSurface.CairoSurface_Impl_; -lime.graphics.cairo._CairoSurface.CairoSurface_Impl_.__name__ = ["lime","graphics","cairo","_CairoSurface","CairoSurface_Impl_"]; -lime.graphics.cairo._CairoSurface.CairoSurface_Impl_.__properties__ = {get_width:"get_width",get_height:"get_height"} -lime.graphics.cairo._CairoSurface.CairoSurface_Impl_._new = function(format,width,height) { - return 0; -}; -lime.graphics.cairo._CairoSurface.CairoSurface_Impl_.createForData = function(data,format,width,height,stride) { - return 0; -}; -lime.graphics.cairo._CairoSurface.CairoSurface_Impl_.destroy = function(this1) { -}; -lime.graphics.cairo._CairoSurface.CairoSurface_Impl_.flush = function(this1) { -}; -lime.graphics.cairo._CairoSurface.CairoSurface_Impl_.fromImage = function(image) { - return null; -}; -lime.graphics.cairo._CairoSurface.CairoSurface_Impl_.get_height = function(this1) { - return 0; -}; -lime.graphics.cairo._CairoSurface.CairoSurface_Impl_.get_width = function(this1) { - return 0; -}; -lime.graphics.format = {}; -lime.graphics.format.BMP = function() { }; -$hxClasses["lime.graphics.format.BMP"] = lime.graphics.format.BMP; -lime.graphics.format.BMP.__name__ = ["lime","graphics","format","BMP"]; -lime.graphics.format.BMP.encode = function(image,type) { - if(type == null) type = lime.graphics.format.BMPType.RGB; - var fileHeaderLength = 14; - var infoHeaderLength = 40; - var pixelValuesLength = image.width * image.height * 4; - switch(type[1]) { - case 1: - infoHeaderLength = 108; - break; - case 2: - fileHeaderLength = 0; - pixelValuesLength += image.width * image.height; - break; - case 0: - pixelValuesLength = image.width * 3 + image.width * 3 % 4 + image.height * 3 + image.height * 3; - break; - } - var data = new lime.utils.ByteArray(fileHeaderLength + infoHeaderLength + pixelValuesLength); - if(fileHeaderLength > 0) { - data.writeByte(66); - data.writeByte(77); - data.writeInt(data.length); - data.writeShort(0); - data.writeShort(0); - data.writeInt(fileHeaderLength + infoHeaderLength); - } - data.writeInt(infoHeaderLength); - data.writeInt(image.width); - data.writeInt(type == lime.graphics.format.BMPType.ICO?image.height * 2:image.height); - data.writeShort(1); - data.writeShort(type == lime.graphics.format.BMPType.RGB?24:32); - data.writeInt(type == lime.graphics.format.BMPType.BITFIELD?3:0); - data.writeInt(pixelValuesLength); - data.writeInt(11824); - data.writeInt(11824); - data.writeInt(0); - data.writeInt(0); - if(type == lime.graphics.format.BMPType.BITFIELD) { - data.writeInt(16711680); - data.writeInt(65280); - data.writeInt(255); - data.writeInt(-16777216); - data.writeByte(32); - data.writeByte(110); - data.writeByte(105); - data.writeByte(87); - var _g = 0; - while(_g < 48) { - var i = _g++; - data.writeByte(0); - } - } - var pixels = image.getPixels(new lime.math.Rectangle(0,0,image.width,image.height),1); - var a; - var r; - var g; - var b; - switch(type[1]) { - case 1: - var _g1 = 0; - var _g2 = image.height; - while(_g1 < _g2) { - var y = _g1++; - pixels.position = (image.height - 1 - y) * 4 * image.width; - var _g3 = 0; - var _g21 = image.width; - while(_g3 < _g21) { - var x = _g3++; - a = pixels.readByte(); - r = pixels.readByte(); - g = pixels.readByte(); - b = pixels.readByte(); - data.writeByte(b); - data.writeByte(g); - data.writeByte(r); - data.writeByte(a); - } - } - break; - case 2: - var andMask = new lime.utils.ByteArray(image.width * image.height); - var _g11 = 0; - var _g4 = image.height; - while(_g11 < _g4) { - var y1 = _g11++; - pixels.position = (image.height - 1 - y1) * 4 * image.width; - var _g31 = 0; - var _g22 = image.width; - while(_g31 < _g22) { - var x1 = _g31++; - a = pixels.readByte(); - r = pixels.readByte(); - g = pixels.readByte(); - b = pixels.readByte(); - data.writeByte(b); - data.writeByte(g); - data.writeByte(r); - data.writeByte(a); - andMask.writeByte(0); - } - } - data.writeBytes(andMask); - break; - case 0: - var _g12 = 0; - var _g5 = image.height; - while(_g12 < _g5) { - var y2 = _g12++; - pixels.position = (image.height - 1 - y2) * 4 * image.width; - var _g32 = 0; - var _g23 = image.width; - while(_g32 < _g23) { - var x2 = _g32++; - a = pixels.readByte(); - r = pixels.readByte(); - g = pixels.readByte(); - b = pixels.readByte(); - data.writeByte(b); - data.writeByte(g); - data.writeByte(r); - } - var _g33 = 0; - var _g24 = image.width * 3 % 4; - while(_g33 < _g24) { - var i1 = _g33++; - data.writeByte(0); - } - } - break; - } - return data; -}; -lime.graphics.format.BMPType = $hxClasses["lime.graphics.format.BMPType"] = { __ename__ : true, __constructs__ : ["RGB","BITFIELD","ICO"] }; -lime.graphics.format.BMPType.RGB = ["RGB",0]; -lime.graphics.format.BMPType.RGB.toString = $estr; -lime.graphics.format.BMPType.RGB.__enum__ = lime.graphics.format.BMPType; -lime.graphics.format.BMPType.BITFIELD = ["BITFIELD",1]; -lime.graphics.format.BMPType.BITFIELD.toString = $estr; -lime.graphics.format.BMPType.BITFIELD.__enum__ = lime.graphics.format.BMPType; -lime.graphics.format.BMPType.ICO = ["ICO",2]; -lime.graphics.format.BMPType.ICO.toString = $estr; -lime.graphics.format.BMPType.ICO.__enum__ = lime.graphics.format.BMPType; -lime.graphics.format.JPEG = function() { }; -$hxClasses["lime.graphics.format.JPEG"] = lime.graphics.format.JPEG; -lime.graphics.format.JPEG.__name__ = ["lime","graphics","format","JPEG"]; -lime.graphics.format.JPEG.encode = function(image,quality) { - return null; -}; -lime.graphics.format.PNG = function() { }; -$hxClasses["lime.graphics.format.PNG"] = lime.graphics.format.PNG; -lime.graphics.format.PNG.__name__ = ["lime","graphics","format","PNG"]; -lime.graphics.format.PNG.encode = function(image) { - return null; -}; -lime.graphics.opengl = {}; -lime.graphics.opengl.GL = function() { }; -$hxClasses["lime.graphics.opengl.GL"] = lime.graphics.opengl.GL; -lime.graphics.opengl.GL.__name__ = ["lime","graphics","opengl","GL"]; -lime.graphics.opengl.GL.__properties__ = {get_version:"get_version"} -lime.graphics.opengl.GL.version = null; -lime.graphics.opengl.GL.context = null; -lime.graphics.opengl.GL.activeTexture = function(texture) { - lime.graphics.opengl.GL.context.activeTexture(texture); -}; -lime.graphics.opengl.GL.attachShader = function(program,shader) { - lime.graphics.opengl.GL.context.attachShader(program,shader); -}; -lime.graphics.opengl.GL.bindAttribLocation = function(program,index,name) { - lime.graphics.opengl.GL.context.bindAttribLocation(program,index,name); -}; -lime.graphics.opengl.GL.bindBuffer = function(target,buffer) { - lime.graphics.opengl.GL.context.bindBuffer(target,buffer); -}; -lime.graphics.opengl.GL.bindFramebuffer = function(target,framebuffer) { - lime.graphics.opengl.GL.context.bindFramebuffer(target,framebuffer); -}; -lime.graphics.opengl.GL.bindRenderbuffer = function(target,renderbuffer) { - lime.graphics.opengl.GL.context.bindRenderbuffer(target,renderbuffer); -}; -lime.graphics.opengl.GL.bindTexture = function(target,texture) { - lime.graphics.opengl.GL.context.bindTexture(target,texture); -}; -lime.graphics.opengl.GL.blendColor = function(red,green,blue,alpha) { - lime.graphics.opengl.GL.context.blendColor(red,green,blue,alpha); -}; -lime.graphics.opengl.GL.blendEquation = function(mode) { - lime.graphics.opengl.GL.context.blendEquation(mode); -}; -lime.graphics.opengl.GL.blendEquationSeparate = function(modeRGB,modeAlpha) { - lime.graphics.opengl.GL.context.blendEquationSeparate(modeRGB,modeAlpha); -}; -lime.graphics.opengl.GL.blendFunc = function(sfactor,dfactor) { - lime.graphics.opengl.GL.context.blendFunc(sfactor,dfactor); -}; -lime.graphics.opengl.GL.blendFuncSeparate = function(srcRGB,dstRGB,srcAlpha,dstAlpha) { - lime.graphics.opengl.GL.context.blendFuncSeparate(srcRGB,dstRGB,srcAlpha,dstAlpha); -}; -lime.graphics.opengl.GL.bufferData = function(target,data,usage) { - lime.graphics.opengl.GL.context.bufferData(target,data,usage); -}; -lime.graphics.opengl.GL.bufferSubData = function(target,offset,data) { - lime.graphics.opengl.GL.context.bufferSubData(target,offset,data); -}; -lime.graphics.opengl.GL.checkFramebufferStatus = function(target) { - return lime.graphics.opengl.GL.context.checkFramebufferStatus(target); -}; -lime.graphics.opengl.GL.clear = function(mask) { - lime.graphics.opengl.GL.context.clear(mask); -}; -lime.graphics.opengl.GL.clearColor = function(red,green,blue,alpha) { - lime.graphics.opengl.GL.context.clearColor(red,green,blue,alpha); -}; -lime.graphics.opengl.GL.clearDepth = function(depth) { - lime.graphics.opengl.GL.context.clearDepth(depth); -}; -lime.graphics.opengl.GL.clearStencil = function(s) { - lime.graphics.opengl.GL.context.clearStencil(s); -}; -lime.graphics.opengl.GL.colorMask = function(red,green,blue,alpha) { - lime.graphics.opengl.GL.context.colorMask(red,green,blue,alpha); -}; -lime.graphics.opengl.GL.compileShader = function(shader) { - lime.graphics.opengl.GL.context.compileShader(shader); -}; -lime.graphics.opengl.GL.compressedTexImage2D = function(target,level,internalformat,width,height,border,data) { - lime.graphics.opengl.GL.context.compressedTexImage2D(target,level,internalformat,width,height,border,data); -}; -lime.graphics.opengl.GL.compressedTexSubImage2D = function(target,level,xoffset,yoffset,width,height,format,data) { - lime.graphics.opengl.GL.context.compressedTexSubImage2D(target,level,xoffset,yoffset,width,height,format,data); -}; -lime.graphics.opengl.GL.copyTexImage2D = function(target,level,internalformat,x,y,width,height,border) { - lime.graphics.opengl.GL.context.copyTexImage2D(target,level,internalformat,x,y,width,height,border); -}; -lime.graphics.opengl.GL.copyTexSubImage2D = function(target,level,xoffset,yoffset,x,y,width,height) { - lime.graphics.opengl.GL.context.copyTexSubImage2D(target,level,xoffset,yoffset,x,y,width,height); -}; -lime.graphics.opengl.GL.createBuffer = function() { - return lime.graphics.opengl.GL.context.createBuffer(); -}; -lime.graphics.opengl.GL.createFramebuffer = function() { - return lime.graphics.opengl.GL.context.createFramebuffer(); -}; -lime.graphics.opengl.GL.createProgram = function() { - return lime.graphics.opengl.GL.context.createProgram(); -}; -lime.graphics.opengl.GL.createRenderbuffer = function() { - return lime.graphics.opengl.GL.context.createRenderbuffer(); -}; -lime.graphics.opengl.GL.createShader = function(type) { - return lime.graphics.opengl.GL.context.createShader(type); -}; -lime.graphics.opengl.GL.createTexture = function() { - return lime.graphics.opengl.GL.context.createTexture(); -}; -lime.graphics.opengl.GL.cullFace = function(mode) { - lime.graphics.opengl.GL.context.cullFace(mode); -}; -lime.graphics.opengl.GL.deleteBuffer = function(buffer) { - lime.graphics.opengl.GL.context.deleteBuffer(buffer); -}; -lime.graphics.opengl.GL.deleteFramebuffer = function(framebuffer) { - lime.graphics.opengl.GL.context.deleteFramebuffer(framebuffer); -}; -lime.graphics.opengl.GL.deleteProgram = function(program) { - lime.graphics.opengl.GL.context.deleteProgram(program); -}; -lime.graphics.opengl.GL.deleteRenderbuffer = function(renderbuffer) { - lime.graphics.opengl.GL.context.deleteRenderbuffer(renderbuffer); -}; -lime.graphics.opengl.GL.deleteShader = function(shader) { - lime.graphics.opengl.GL.context.deleteShader(shader); -}; -lime.graphics.opengl.GL.deleteTexture = function(texture) { - lime.graphics.opengl.GL.context.deleteTexture(texture); -}; -lime.graphics.opengl.GL.depthFunc = function(func) { - lime.graphics.opengl.GL.context.depthFunc(func); -}; -lime.graphics.opengl.GL.depthMask = function(flag) { - lime.graphics.opengl.GL.context.depthMask(flag); -}; -lime.graphics.opengl.GL.depthRange = function(zNear,zFar) { - lime.graphics.opengl.GL.context.depthRange(zNear,zFar); -}; -lime.graphics.opengl.GL.detachShader = function(program,shader) { - lime.graphics.opengl.GL.context.detachShader(program,shader); -}; -lime.graphics.opengl.GL.disable = function(cap) { - lime.graphics.opengl.GL.context.disable(cap); -}; -lime.graphics.opengl.GL.disableVertexAttribArray = function(index) { - lime.graphics.opengl.GL.context.disableVertexAttribArray(index); -}; -lime.graphics.opengl.GL.drawArrays = function(mode,first,count) { - lime.graphics.opengl.GL.context.drawArrays(mode,first,count); -}; -lime.graphics.opengl.GL.drawElements = function(mode,count,type,offset) { - lime.graphics.opengl.GL.context.drawElements(mode,count,type,offset); -}; -lime.graphics.opengl.GL.enable = function(cap) { - lime.graphics.opengl.GL.context.enable(cap); -}; -lime.graphics.opengl.GL.enableVertexAttribArray = function(index) { - lime.graphics.opengl.GL.context.enableVertexAttribArray(index); -}; -lime.graphics.opengl.GL.finish = function() { - lime.graphics.opengl.GL.context.finish(); -}; -lime.graphics.opengl.GL.flush = function() { - lime.graphics.opengl.GL.context.flush(); -}; -lime.graphics.opengl.GL.framebufferRenderbuffer = function(target,attachment,renderbuffertarget,renderbuffer) { - lime.graphics.opengl.GL.context.framebufferRenderbuffer(target,attachment,renderbuffertarget,renderbuffer); -}; -lime.graphics.opengl.GL.framebufferTexture2D = function(target,attachment,textarget,texture,level) { - lime.graphics.opengl.GL.context.framebufferTexture2D(target,attachment,textarget,texture,level); -}; -lime.graphics.opengl.GL.frontFace = function(mode) { - lime.graphics.opengl.GL.context.frontFace(mode); -}; -lime.graphics.opengl.GL.generateMipmap = function(target) { - lime.graphics.opengl.GL.context.generateMipmap(target); -}; -lime.graphics.opengl.GL.getActiveAttrib = function(program,index) { - return lime.graphics.opengl.GL.context.getActiveAttrib(program,index); -}; -lime.graphics.opengl.GL.getActiveUniform = function(program,index) { - return lime.graphics.opengl.GL.context.getActiveUniform(program,index); -}; -lime.graphics.opengl.GL.getAttachedShaders = function(program) { - return lime.graphics.opengl.GL.context.getAttachedShaders(program); -}; -lime.graphics.opengl.GL.getAttribLocation = function(program,name) { - return lime.graphics.opengl.GL.context.getAttribLocation(program,name); -}; -lime.graphics.opengl.GL.getBufferParameter = function(target,pname) { - return lime.graphics.opengl.GL.context.getBufferParameter(target,pname); -}; -lime.graphics.opengl.GL.getContextAttributes = function() { - return lime.graphics.opengl.GL.context.getContextAttributes(); -}; -lime.graphics.opengl.GL.getError = function() { - return lime.graphics.opengl.GL.context.getError(); -}; -lime.graphics.opengl.GL.getExtension = function(name) { - return lime.graphics.opengl.GL.context.getExtension(name); -}; -lime.graphics.opengl.GL.getFramebufferAttachmentParameter = function(target,attachment,pname) { - return lime.graphics.opengl.GL.context.getFramebufferAttachmentParameter(target,attachment,pname); -}; -lime.graphics.opengl.GL.getParameter = function(pname) { - return lime.graphics.opengl.GL.context.getParameter(pname); -}; -lime.graphics.opengl.GL.getProgramInfoLog = function(program) { - return lime.graphics.opengl.GL.context.getProgramInfoLog(program); -}; -lime.graphics.opengl.GL.getProgramParameter = function(program,pname) { - return lime.graphics.opengl.GL.context.getProgramParameter(program,pname); -}; -lime.graphics.opengl.GL.getRenderbufferParameter = function(target,pname) { - return lime.graphics.opengl.GL.context.getRenderbufferParameter(target,pname); -}; -lime.graphics.opengl.GL.getShaderInfoLog = function(shader) { - return lime.graphics.opengl.GL.context.getShaderInfoLog(shader); -}; -lime.graphics.opengl.GL.getShaderParameter = function(shader,pname) { - return lime.graphics.opengl.GL.context.getShaderParameter(shader,pname); -}; -lime.graphics.opengl.GL.getShaderPrecisionFormat = function(shadertype,precisiontype) { - return lime.graphics.opengl.GL.context.getShaderPrecisionFormat(shadertype,precisiontype); -}; -lime.graphics.opengl.GL.getShaderSource = function(shader) { - return lime.graphics.opengl.GL.context.getShaderSource(shader); -}; -lime.graphics.opengl.GL.getSupportedExtensions = function() { - return lime.graphics.opengl.GL.context.getSupportedExtensions(); -}; -lime.graphics.opengl.GL.getTexParameter = function(target,pname) { - return lime.graphics.opengl.GL.context.getTexParameter(target,pname); -}; -lime.graphics.opengl.GL.getUniform = function(program,location) { - return lime.graphics.opengl.GL.context.getUniform(program,location); -}; -lime.graphics.opengl.GL.getUniformLocation = function(program,name) { - return lime.graphics.opengl.GL.context.getUniformLocation(program,name); -}; -lime.graphics.opengl.GL.getVertexAttrib = function(index,pname) { - return lime.graphics.opengl.GL.context.getVertexAttrib(index,pname); -}; -lime.graphics.opengl.GL.getVertexAttribOffset = function(index,pname) { - return lime.graphics.opengl.GL.context.getVertexAttribOffset(index,pname); -}; -lime.graphics.opengl.GL.hint = function(target,mode) { - lime.graphics.opengl.GL.context.hint(target,mode); -}; -lime.graphics.opengl.GL.isBuffer = function(buffer) { - return lime.graphics.opengl.GL.context.isBuffer(buffer); -}; -lime.graphics.opengl.GL.isContextLost = function() { - return lime.graphics.opengl.GL.context.isContextLost(); -}; -lime.graphics.opengl.GL.isEnabled = function(cap) { - return lime.graphics.opengl.GL.context.isEnabled(cap); -}; -lime.graphics.opengl.GL.isFramebuffer = function(framebuffer) { - return lime.graphics.opengl.GL.context.isFramebuffer(framebuffer); -}; -lime.graphics.opengl.GL.isProgram = function(program) { - return lime.graphics.opengl.GL.context.isProgram(program); -}; -lime.graphics.opengl.GL.isRenderbuffer = function(renderbuffer) { - return lime.graphics.opengl.GL.context.isRenderbuffer(renderbuffer); -}; -lime.graphics.opengl.GL.isShader = function(shader) { - return lime.graphics.opengl.GL.context.isShader(shader); -}; -lime.graphics.opengl.GL.isTexture = function(texture) { - return lime.graphics.opengl.GL.context.isTexture(texture); -}; -lime.graphics.opengl.GL.lineWidth = function(width) { - lime.graphics.opengl.GL.context.lineWidth(width); -}; -lime.graphics.opengl.GL.linkProgram = function(program) { - lime.graphics.opengl.GL.context.linkProgram(program); -}; -lime.graphics.opengl.GL.pixelStorei = function(pname,param) { - lime.graphics.opengl.GL.context.pixelStorei(pname,param); -}; -lime.graphics.opengl.GL.polygonOffset = function(factor,units) { - lime.graphics.opengl.GL.context.polygonOffset(factor,units); -}; -lime.graphics.opengl.GL.readPixels = function(x,y,width,height,format,type,pixels) { - lime.graphics.opengl.GL.context.readPixels(x,y,width,height,format,type,pixels); -}; -lime.graphics.opengl.GL.renderbufferStorage = function(target,internalformat,width,height) { - lime.graphics.opengl.GL.context.renderbufferStorage(target,internalformat,width,height); -}; -lime.graphics.opengl.GL.sampleCoverage = function(value,invert) { - lime.graphics.opengl.GL.context.sampleCoverage(value,invert); -}; -lime.graphics.opengl.GL.scissor = function(x,y,width,height) { - lime.graphics.opengl.GL.context.scissor(x,y,width,height); -}; -lime.graphics.opengl.GL.shaderSource = function(shader,source) { - lime.graphics.opengl.GL.context.shaderSource(shader,source); -}; -lime.graphics.opengl.GL.stencilFunc = function(func,ref,mask) { - lime.graphics.opengl.GL.context.stencilFunc(func,ref,mask); -}; -lime.graphics.opengl.GL.stencilFuncSeparate = function(face,func,ref,mask) { - lime.graphics.opengl.GL.context.stencilFuncSeparate(face,func,ref,mask); -}; -lime.graphics.opengl.GL.stencilMask = function(mask) { - lime.graphics.opengl.GL.context.stencilMask(mask); -}; -lime.graphics.opengl.GL.stencilMaskSeparate = function(face,mask) { - lime.graphics.opengl.GL.context.stencilMaskSeparate(face,mask); -}; -lime.graphics.opengl.GL.stencilOp = function(fail,zfail,zpass) { - lime.graphics.opengl.GL.context.stencilOp(fail,zfail,zpass); -}; -lime.graphics.opengl.GL.stencilOpSeparate = function(face,fail,zfail,zpass) { - lime.graphics.opengl.GL.context.stencilOpSeparate(face,fail,zfail,zpass); -}; -lime.graphics.opengl.GL.texImage2D = function(target,level,internalformat,width,height,border,format,type,pixels) { - lime.graphics.opengl.GL.context.texImage2D(target,level,internalformat,width,height,border,format,type,pixels); -}; -lime.graphics.opengl.GL.texParameterf = function(target,pname,param) { - lime.graphics.opengl.GL.context.texParameterf(target,pname,param); -}; -lime.graphics.opengl.GL.texParameteri = function(target,pname,param) { - lime.graphics.opengl.GL.context.texParameteri(target,pname,param); -}; -lime.graphics.opengl.GL.texSubImage2D = function(target,level,xoffset,yoffset,width,height,format,type,pixels) { - lime.graphics.opengl.GL.context.texSubImage2D(target,level,xoffset,yoffset,width,height,format,type,pixels); -}; -lime.graphics.opengl.GL.uniform1f = function(location,x) { - lime.graphics.opengl.GL.context.uniform1f(location,x); -}; -lime.graphics.opengl.GL.uniform1fv = function(location,x) { - lime.graphics.opengl.GL.context.uniform1fv(location,x); -}; -lime.graphics.opengl.GL.uniform1i = function(location,x) { - lime.graphics.opengl.GL.context.uniform1i(location,x); -}; -lime.graphics.opengl.GL.uniform1iv = function(location,v) { - lime.graphics.opengl.GL.context.uniform1iv(location,v); -}; -lime.graphics.opengl.GL.uniform2f = function(location,x,y) { - lime.graphics.opengl.GL.context.uniform2f(location,x,y); -}; -lime.graphics.opengl.GL.uniform2fv = function(location,v) { - lime.graphics.opengl.GL.context.uniform2fv(location,v); -}; -lime.graphics.opengl.GL.uniform2i = function(location,x,y) { - lime.graphics.opengl.GL.context.uniform2i(location,x,y); -}; -lime.graphics.opengl.GL.uniform2iv = function(location,v) { - lime.graphics.opengl.GL.context.uniform2iv(location,v); -}; -lime.graphics.opengl.GL.uniform3f = function(location,x,y,z) { - lime.graphics.opengl.GL.context.uniform3f(location,x,y,z); -}; -lime.graphics.opengl.GL.uniform3fv = function(location,v) { - lime.graphics.opengl.GL.context.uniform3fv(location,v); -}; -lime.graphics.opengl.GL.uniform3i = function(location,x,y,z) { - lime.graphics.opengl.GL.context.uniform3i(location,x,y,z); -}; -lime.graphics.opengl.GL.uniform3iv = function(location,v) { - lime.graphics.opengl.GL.context.uniform3iv(location,v); -}; -lime.graphics.opengl.GL.uniform4f = function(location,x,y,z,w) { - lime.graphics.opengl.GL.context.uniform4f(location,x,y,z,w); -}; -lime.graphics.opengl.GL.uniform4fv = function(location,v) { - lime.graphics.opengl.GL.context.uniform4fv(location,v); -}; -lime.graphics.opengl.GL.uniform4i = function(location,x,y,z,w) { - lime.graphics.opengl.GL.context.uniform4i(location,x,y,z,w); -}; -lime.graphics.opengl.GL.uniform4iv = function(location,v) { - lime.graphics.opengl.GL.context.uniform4iv(location,v); -}; -lime.graphics.opengl.GL.uniformMatrix2fv = function(location,transpose,v) { - lime.graphics.opengl.GL.context.uniformMatrix2fv(location,transpose,v); -}; -lime.graphics.opengl.GL.uniformMatrix3fv = function(location,transpose,v) { - lime.graphics.opengl.GL.context.uniformMatrix3fv(location,transpose,v); -}; -lime.graphics.opengl.GL.uniformMatrix4fv = function(location,transpose,v) { - lime.graphics.opengl.GL.context.uniformMatrix4fv(location,transpose,v); -}; -lime.graphics.opengl.GL.useProgram = function(program) { - lime.graphics.opengl.GL.context.useProgram(program); -}; -lime.graphics.opengl.GL.validateProgram = function(program) { - lime.graphics.opengl.GL.context.validateProgram(program); -}; -lime.graphics.opengl.GL.vertexAttrib1f = function(indx,x) { - lime.graphics.opengl.GL.context.vertexAttrib1f(indx,x); -}; -lime.graphics.opengl.GL.vertexAttrib1fv = function(indx,values) { - lime.graphics.opengl.GL.context.vertexAttrib1fv(indx,values); -}; -lime.graphics.opengl.GL.vertexAttrib2f = function(indx,x,y) { - lime.graphics.opengl.GL.context.vertexAttrib2f(indx,x,y); -}; -lime.graphics.opengl.GL.vertexAttrib2fv = function(indx,values) { - lime.graphics.opengl.GL.context.vertexAttrib2fv(indx,values); -}; -lime.graphics.opengl.GL.vertexAttrib3f = function(indx,x,y,z) { - lime.graphics.opengl.GL.context.vertexAttrib3f(indx,x,y,z); -}; -lime.graphics.opengl.GL.vertexAttrib3fv = function(indx,values) { - lime.graphics.opengl.GL.context.vertexAttrib3fv(indx,values); -}; -lime.graphics.opengl.GL.vertexAttrib4f = function(indx,x,y,z,w) { - lime.graphics.opengl.GL.context.vertexAttrib4f(indx,x,y,z,w); -}; -lime.graphics.opengl.GL.vertexAttrib4fv = function(indx,values) { - lime.graphics.opengl.GL.context.vertexAttrib4fv(indx,values); -}; -lime.graphics.opengl.GL.vertexAttribPointer = function(indx,size,type,normalized,stride,offset) { - lime.graphics.opengl.GL.context.vertexAttribPointer(indx,size,type,normalized,stride,offset); -}; -lime.graphics.opengl.GL.viewport = function(x,y,width,height) { - lime.graphics.opengl.GL.context.viewport(x,y,width,height); -}; -lime.graphics.opengl.GL.get_version = function() { - return 2; -}; -lime.graphics.utils = {}; -lime.graphics.utils.ImageCanvasUtil = function() { }; -$hxClasses["lime.graphics.utils.ImageCanvasUtil"] = lime.graphics.utils.ImageCanvasUtil; -lime.graphics.utils.ImageCanvasUtil.__name__ = ["lime","graphics","utils","ImageCanvasUtil"]; -lime.graphics.utils.ImageCanvasUtil.colorTransform = function(image,rect,colorMatrix) { - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(image); - lime.graphics.utils.ImageCanvasUtil.createImageData(image); - lime.graphics.utils.ImageDataUtil.colorTransform(image,rect,colorMatrix); -}; -lime.graphics.utils.ImageCanvasUtil.convertToCanvas = function(image) { - var buffer = image.buffer; - if(buffer.__srcImage != null) { - if(buffer.__srcCanvas == null) { - lime.graphics.utils.ImageCanvasUtil.createCanvas(image,buffer.__srcImage.width,buffer.__srcImage.height); - buffer.__srcContext.drawImage(buffer.__srcImage,0,0); - } - buffer.__srcImage = null; - } -}; -lime.graphics.utils.ImageCanvasUtil.convertToData = function(image) { - if(image.buffer.data == null) { - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(image); - lime.graphics.utils.ImageCanvasUtil.sync(image); - lime.graphics.utils.ImageCanvasUtil.createImageData(image); - image.buffer.__srcCanvas = null; - image.buffer.__srcContext = null; - } -}; -lime.graphics.utils.ImageCanvasUtil.copyChannel = function(image,sourceImage,sourceRect,destPoint,sourceChannel,destChannel) { - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(sourceImage); - lime.graphics.utils.ImageCanvasUtil.createImageData(sourceImage); - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(image); - lime.graphics.utils.ImageCanvasUtil.createImageData(image); - lime.graphics.utils.ImageDataUtil.copyChannel(image,sourceImage,sourceRect,destPoint,sourceChannel,destChannel); -}; -lime.graphics.utils.ImageCanvasUtil.copyPixels = function(image,sourceImage,sourceRect,destPoint,alphaImage,alphaPoint,mergeAlpha) { - if(mergeAlpha == null) mergeAlpha = false; - if(alphaImage != null && alphaImage.get_transparent()) { - if(alphaPoint == null) alphaPoint = new lime.math.Vector2(); - var tempData = image.clone(); - tempData.copyChannel(alphaImage,new lime.math.Rectangle(alphaPoint.x,alphaPoint.y,sourceRect.width,sourceRect.height),new lime.math.Vector2(sourceRect.x,sourceRect.y),lime.graphics.ImageChannel.ALPHA,lime.graphics.ImageChannel.ALPHA); - sourceImage = tempData; - } - lime.graphics.utils.ImageCanvasUtil.sync(image); - if(!mergeAlpha) { - if(image.get_transparent() && sourceImage.get_transparent()) image.buffer.__srcContext.clearRect(destPoint.x + image.offsetX,destPoint.y + image.offsetY,sourceRect.width + image.offsetX,sourceRect.height + image.offsetY); - } - lime.graphics.utils.ImageCanvasUtil.sync(sourceImage); - if(sourceImage.buffer.get_src() != null) image.buffer.__srcContext.drawImage(sourceImage.buffer.get_src(),sourceRect.x + sourceImage.offsetX | 0,sourceRect.y + sourceImage.offsetY | 0,sourceRect.width | 0,sourceRect.height | 0,destPoint.x + image.offsetX | 0,destPoint.y + image.offsetY | 0,sourceRect.width | 0,sourceRect.height | 0); -}; -lime.graphics.utils.ImageCanvasUtil.createCanvas = function(image,width,height) { - var buffer = image.buffer; - if(buffer.__srcCanvas == null) { - buffer.__srcCanvas = window.document.createElement("canvas"); - buffer.__srcCanvas.width = width; - buffer.__srcCanvas.height = height; - if(!image.get_transparent()) { - if(!image.get_transparent()) buffer.__srcCanvas.setAttribute("moz-opaque","true"); - buffer.__srcContext = buffer.__srcCanvas.getContext ("2d", { alpha: false }); - } else buffer.__srcContext = buffer.__srcCanvas.getContext("2d"); - buffer.__srcContext.mozImageSmoothingEnabled = false; - buffer.__srcContext.webkitImageSmoothingEnabled = false; - buffer.__srcContext.imageSmoothingEnabled = false; - } -}; -lime.graphics.utils.ImageCanvasUtil.createImageData = function(image) { - var buffer = image.buffer; - if(buffer.data == null) { - buffer.__srcImageData = buffer.__srcContext.getImageData(0,0,buffer.width,buffer.height); - buffer.data = new Uint8Array(buffer.__srcImageData.data.buffer); - } -}; -lime.graphics.utils.ImageCanvasUtil.fillRect = function(image,rect,color,format) { - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(image); - lime.graphics.utils.ImageCanvasUtil.sync(image); - if(rect.x == 0 && rect.y == 0 && rect.width == image.width && rect.height == image.height) { - if(image.get_transparent() && (color & 255) == 0) { - image.buffer.__srcCanvas.width = image.buffer.width; - return; - } - } - var r; - var g; - var b; - var a; - if(format == 1) { - r = color >> 16 & 255; - g = color >> 8 & 255; - b = color & 255; - if(image.get_transparent()) a = color >> 24 & 255; else a = 255; - } else { - r = color >> 24 & 255; - g = color >> 16 & 255; - b = color >> 8 & 255; - if(image.get_transparent()) a = color & 255; else a = 255; - } - image.buffer.__srcContext.fillStyle = "rgba(" + r + ", " + g + ", " + b + ", " + a / 255 + ")"; - image.buffer.__srcContext.fillRect(rect.x + image.offsetX,rect.y + image.offsetY,rect.width + image.offsetX,rect.height + image.offsetY); -}; -lime.graphics.utils.ImageCanvasUtil.floodFill = function(image,x,y,color,format) { - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(image); - lime.graphics.utils.ImageCanvasUtil.createImageData(image); - lime.graphics.utils.ImageDataUtil.floodFill(image,x,y,color,format); -}; -lime.graphics.utils.ImageCanvasUtil.getPixel = function(image,x,y,format) { - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(image); - lime.graphics.utils.ImageCanvasUtil.createImageData(image); - return lime.graphics.utils.ImageDataUtil.getPixel(image,x,y,format); -}; -lime.graphics.utils.ImageCanvasUtil.getPixel32 = function(image,x,y,format) { - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(image); - lime.graphics.utils.ImageCanvasUtil.createImageData(image); - return lime.graphics.utils.ImageDataUtil.getPixel32(image,x,y,format); -}; -lime.graphics.utils.ImageCanvasUtil.getPixels = function(image,rect,format) { - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(image); - lime.graphics.utils.ImageCanvasUtil.createImageData(image); - return lime.graphics.utils.ImageDataUtil.getPixels(image,rect,format); -}; -lime.graphics.utils.ImageCanvasUtil.merge = function(image,sourceImage,sourceRect,destPoint,redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier) { - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(sourceImage); - lime.graphics.utils.ImageCanvasUtil.createImageData(sourceImage); - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(image); - lime.graphics.utils.ImageCanvasUtil.createImageData(image); - lime.graphics.utils.ImageDataUtil.merge(image,sourceImage,sourceRect,destPoint,redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier); -}; -lime.graphics.utils.ImageCanvasUtil.resize = function(image,newWidth,newHeight) { - var buffer = image.buffer; - if(buffer.__srcCanvas == null) { - lime.graphics.utils.ImageCanvasUtil.createCanvas(image,newWidth,newHeight); - buffer.__srcContext.drawImage(buffer.get_src(),0,0,newWidth,newHeight); - } else { - lime.graphics.utils.ImageCanvasUtil.sync(image); - var sourceCanvas = buffer.__srcCanvas; - buffer.__srcCanvas = null; - lime.graphics.utils.ImageCanvasUtil.createCanvas(image,newWidth,newHeight); - buffer.__srcContext.drawImage(sourceCanvas,0,0,newWidth,newHeight); - } -}; -lime.graphics.utils.ImageCanvasUtil.setPixel = function(image,x,y,color,format) { - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(image); - lime.graphics.utils.ImageCanvasUtil.createImageData(image); - lime.graphics.utils.ImageDataUtil.setPixel(image,x,y,color,format); -}; -lime.graphics.utils.ImageCanvasUtil.setPixel32 = function(image,x,y,color,format) { - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(image); - lime.graphics.utils.ImageCanvasUtil.createImageData(image); - lime.graphics.utils.ImageDataUtil.setPixel32(image,x,y,color,format); -}; -lime.graphics.utils.ImageCanvasUtil.setPixels = function(image,rect,byteArray,format) { - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(image); - lime.graphics.utils.ImageCanvasUtil.createImageData(image); - lime.graphics.utils.ImageDataUtil.setPixels(image,rect,byteArray,format); -}; -lime.graphics.utils.ImageCanvasUtil.sync = function(image) { - if(image.dirty && image.type != lime.graphics.ImageType.DATA) { - image.buffer.__srcContext.putImageData(image.buffer.__srcImageData,0,0); - image.buffer.data = null; - image.dirty = false; - } -}; -lime.graphics.utils.ImageDataUtil = function() { }; -$hxClasses["lime.graphics.utils.ImageDataUtil"] = lime.graphics.utils.ImageDataUtil; -lime.graphics.utils.ImageDataUtil.__name__ = ["lime","graphics","utils","ImageDataUtil"]; -lime.graphics.utils.ImageDataUtil.__alpha16 = null; -lime.graphics.utils.ImageDataUtil.__clamp = null; -lime.graphics.utils.ImageDataUtil.colorTransform = function(image,rect,colorMatrix) { - var data = image.buffer.data; - if(data == null) return; - var stride = image.buffer.width * 4; - var offset; - var rowStart = Std["int"](rect.get_top() + image.offsetY); - var rowEnd = Std["int"](rect.get_bottom() + image.offsetY); - var columnStart = Std["int"](rect.get_left() + image.offsetX); - var columnEnd = Std["int"](rect.get_right() + image.offsetX); - var r; - var g; - var b; - var a; - var ex = 0; - var _g = rowStart; - while(_g < rowEnd) { - var row = _g++; - var _g1 = columnStart; - while(_g1 < columnEnd) { - var column = _g1++; - offset = row * stride + column * 4; - a = data[offset + 3] * colorMatrix[18] + colorMatrix[19] * 255 | 0; - if(a > 255) ex = a - 255; else ex = 0; - b = data[offset + 2] * colorMatrix[12] + colorMatrix[14] * 255 + ex | 0; - if(b > 255) ex = b - 255; else ex = 0; - g = data[offset + 1] * colorMatrix[6] + colorMatrix[9] * 255 + ex | 0; - if(g > 255) ex = g - 255; else ex = 0; - r = data[offset] * colorMatrix[0] + colorMatrix[4] * 255 + ex | 0; - if(r > 255) data[offset] = 255; else data[offset] = r; - if(g > 255) data[offset + 1] = 255; else data[offset + 1] = g; - if(b > 255) data[offset + 2] = 255; else data[offset + 2] = b; - if(a > 255) data[offset + 3] = 255; else data[offset + 3] = a; - } - } - image.dirty = true; -}; -lime.graphics.utils.ImageDataUtil.copyChannel = function(image,sourceImage,sourceRect,destPoint,sourceChannel,destChannel) { - var destIdx; - switch(destChannel[1]) { - case 0: - destIdx = 0; - break; - case 1: - destIdx = 1; - break; - case 2: - destIdx = 2; - break; - case 3: - destIdx = 3; - break; - } - var srcIdx; - switch(sourceChannel[1]) { - case 0: - srcIdx = 0; - break; - case 1: - srcIdx = 1; - break; - case 2: - srcIdx = 2; - break; - case 3: - srcIdx = 3; - break; - } - var srcData = sourceImage.buffer.data; - var destData = image.buffer.data; - if(srcData == null || destData == null) return; - var srcStride = sourceImage.buffer.width * 4 | 0; - var srcPosition = (sourceRect.x + sourceImage.offsetX) * 4 + srcStride * (sourceRect.y + sourceImage.offsetY) + srcIdx | 0; - var srcRowOffset = srcStride - (4 * (sourceRect.width + sourceImage.offsetX) | 0); - var srcRowEnd = 4 * (sourceRect.x + sourceImage.offsetX + sourceRect.width) | 0; - var srcData1 = sourceImage.buffer.data; - var destStride = image.buffer.width * 4 | 0; - var destPosition = (destPoint.x + image.offsetX) * 4 + destStride * (destPoint.y + image.offsetY) + destIdx | 0; - var destRowOffset = destStride - (4 * (sourceRect.width + image.offsetX) | 0); - var destRowEnd = 4 * (destPoint.x + image.offsetX + sourceRect.width) | 0; - var destData1 = image.buffer.data; - var length = sourceRect.width * sourceRect.height | 0; - var _g = 0; - while(_g < length) { - var i = _g++; - destData1[destPosition] = srcData1[srcPosition]; - srcPosition += 4; - destPosition += 4; - if(srcPosition % srcStride > srcRowEnd) srcPosition += srcRowOffset; - if(destPosition % destStride > destRowEnd) destPosition += destRowOffset; - } - image.dirty = true; -}; -lime.graphics.utils.ImageDataUtil.copyPixels = function(image,sourceImage,sourceRect,destPoint,alphaImage,alphaPoint,mergeAlpha) { - if(mergeAlpha == null) mergeAlpha = false; - if(alphaImage != null && alphaImage.get_transparent()) { - if(alphaPoint == null) alphaPoint = new lime.math.Vector2(); - var tempData = image.clone(); - tempData.copyChannel(alphaImage,new lime.math.Rectangle(alphaPoint.x,alphaPoint.y,sourceRect.width,sourceRect.height),new lime.math.Vector2(sourceRect.x,sourceRect.y),lime.graphics.ImageChannel.ALPHA,lime.graphics.ImageChannel.ALPHA); - sourceImage = tempData; - } - var rowOffset = destPoint.y + image.offsetY - sourceRect.y - sourceImage.offsetY | 0; - var columnOffset = destPoint.x + image.offsetX - sourceRect.x - sourceImage.offsetY | 0; - var sourceData = sourceImage.buffer.data; - var sourceStride = sourceImage.buffer.width * 4; - var sourceOffset = 0; - var data = image.buffer.data; - var stride = image.buffer.width * 4; - var offset = 0; - if(!mergeAlpha || !sourceImage.get_transparent()) { - var _g1 = Std["int"](sourceRect.get_top() + sourceImage.offsetY); - var _g = Std["int"](sourceRect.get_bottom() + sourceImage.offsetY); - while(_g1 < _g) { - var row = _g1++; - var _g3 = Std["int"](sourceRect.get_left() + sourceImage.offsetX); - var _g2 = Std["int"](sourceRect.get_right() + sourceImage.offsetX); - while(_g3 < _g2) { - var column = _g3++; - sourceOffset = row * sourceStride + column * 4; - offset = (row + rowOffset) * stride + (column + columnOffset) * 4; - data[offset] = sourceData[sourceOffset]; - data[offset + 1] = sourceData[sourceOffset + 1]; - data[offset + 2] = sourceData[sourceOffset + 2]; - data[offset + 3] = sourceData[sourceOffset + 3]; - } - } - } else { - var sourceAlpha; - var destAlpha; - var outA; - var oneMinusSourceAlpha; - var _g11 = Std["int"](sourceRect.get_top() + sourceImage.offsetY); - var _g4 = Std["int"](sourceRect.get_bottom() + sourceImage.offsetY); - while(_g11 < _g4) { - var row1 = _g11++; - var _g31 = Std["int"](sourceRect.get_left() + sourceImage.offsetX); - var _g21 = Std["int"](sourceRect.get_right() + sourceImage.offsetX); - while(_g31 < _g21) { - var column1 = _g31++; - sourceOffset = row1 * sourceStride + column1 * 4; - offset = (row1 + rowOffset) * stride + (column1 + columnOffset) * 4; - sourceAlpha = sourceData[sourceOffset + 3] / 255.0; - destAlpha = data[offset + 3] / 255.0; - oneMinusSourceAlpha = 1 - sourceAlpha; - outA = sourceAlpha + destAlpha * oneMinusSourceAlpha; - var index = Math.round((sourceData[sourceOffset] * sourceAlpha + data[offset] * destAlpha * oneMinusSourceAlpha) / outA); - data[offset] = lime.graphics.utils.ImageDataUtil.__clamp[index]; - var index1 = Math.round((sourceData[sourceOffset + 1] * sourceAlpha + data[offset + 1] * destAlpha * oneMinusSourceAlpha) / outA); - data[offset + 1] = lime.graphics.utils.ImageDataUtil.__clamp[index1]; - var index2 = Math.round((sourceData[sourceOffset + 2] * sourceAlpha + data[offset + 2] * destAlpha * oneMinusSourceAlpha) / outA); - data[offset + 2] = lime.graphics.utils.ImageDataUtil.__clamp[index2]; - var index3 = Math.round(outA * 255.0); - data[offset + 3] = lime.graphics.utils.ImageDataUtil.__clamp[index3]; - } - } - } - image.dirty = true; -}; -lime.graphics.utils.ImageDataUtil.fillRect = function(image,rect,color,format) { - var r; - var g; - var b; - var a; - if(format == 1) { - if(image.get_transparent()) a = color >> 24 & 255; else a = 255; - r = color >> 16 & 255; - g = color >> 8 & 255; - b = color & 255; - } else { - r = color >> 24 & 255; - g = color >> 16 & 255; - b = color >> 8 & 255; - if(image.get_transparent()) a = color & 255; else a = 255; - } - var rgba = r | g << 8 | b << 16 | a << 24; - var data = image.buffer.data; - if(data == null) return; - if(rect.width == image.buffer.width && rect.height == image.buffer.height && rect.x == 0 && rect.y == 0 && image.offsetX == 0 && image.offsetY == 0) { - var length = image.buffer.width * image.buffer.height; - var j = 0; - var _g = 0; - while(_g < length) { - var i = _g++; - j = i * 4; - data[j] = r; - data[j + 1] = g; - data[j + 2] = b; - data[j + 3] = a; - } - } else { - var stride = image.buffer.width * 4; - var offset; - var rowStart = rect.y + image.offsetY | 0; - var rowEnd = Std["int"](rect.get_bottom() + image.offsetY); - var columnStart = rect.x + image.offsetX | 0; - var columnEnd = Std["int"](rect.get_right() + image.offsetX); - var _g1 = rowStart; - while(_g1 < rowEnd) { - var row = _g1++; - var _g11 = columnStart; - while(_g11 < columnEnd) { - var column = _g11++; - offset = row * stride + column * 4; - data[offset] = r; - data[offset + 1] = g; - data[offset + 2] = b; - data[offset + 3] = a; - } - } - } - image.dirty = true; -}; -lime.graphics.utils.ImageDataUtil.floodFill = function(image,x,y,color,format) { - var data = image.buffer.data; - if(data == null) return; - if(format == 1) color = (color & 16777215) << 8 | color >> 24 & 255; - var offset = (y + image.offsetY) * (image.buffer.width * 4) + (x + image.offsetX) * 4; - var hitColorR = data[offset]; - var hitColorG = data[offset + 1]; - var hitColorB = data[offset + 2]; - var hitColorA; - if(image.get_transparent()) hitColorA = data[offset + 3]; else hitColorA = 255; - var r = color >> 24 & 255; - var g = color >> 16 & 255; - var b = color >> 8 & 255; - var a; - if(image.get_transparent()) a = color & 255; else a = 255; - if(hitColorR == r && hitColorG == g && hitColorB == b && hitColorA == a) return; - var dx = [0,-1,1,0]; - var dy = [-1,0,0,1]; - var minX = -image.offsetX; - var minY = -image.offsetY; - var maxX = minX + image.width; - var maxY = minY + image.height; - var queue = new Array(); - queue.push(x); - queue.push(y); - while(queue.length > 0) { - var curPointY = queue.pop(); - var curPointX = queue.pop(); - var _g = 0; - while(_g < 4) { - var i = _g++; - var nextPointX = curPointX + dx[i]; - var nextPointY = curPointY + dy[i]; - if(nextPointX < minX || nextPointY < minY || nextPointX >= maxX || nextPointY >= maxY) continue; - var nextPointOffset = (nextPointY * image.width + nextPointX) * 4; - if(data[nextPointOffset] == hitColorR && data[nextPointOffset + 1] == hitColorG && data[nextPointOffset + 2] == hitColorB && data[nextPointOffset + 3] == hitColorA) { - data[nextPointOffset] = r; - data[nextPointOffset + 1] = g; - data[nextPointOffset + 2] = b; - data[nextPointOffset + 3] = a; - queue.push(nextPointX); - queue.push(nextPointY); - } - } - } - image.dirty = true; -}; -lime.graphics.utils.ImageDataUtil.getColorBoundsRect = function(image,mask,color,findColor,format) { - if(findColor == null) findColor = true; - var left = image.width + 1; - var right = 0; - var top = image.height + 1; - var bottom = 0; - var r; - var g; - var b; - var a; - var mr; - var mg; - var mb; - var ma; - if(format == 1) { - if(image.get_transparent()) a = color >> 24 & 255; else a = 255; - r = color >> 16 & 255; - g = color >> 8 & 255; - b = color & 255; - if(image.get_transparent()) ma = mask >> 24 & 255; else ma = 255; - mr = mask >> 16 & 255; - mg = mask >> 8 & 255; - mb = mask & 255; - } else { - r = color >> 24 & 255; - g = color >> 16 & 255; - b = color >> 8 & 255; - if(image.get_transparent()) a = color & 255; else a = 255; - mr = mask >> 24 & 255; - mg = mask >> 16 & 255; - mb = mask >> 8 & 255; - if(image.get_transparent()) ma = mask & 255; else ma = 255; - } - color = r | g << 8 | b << 16 | a << 24; - mask = mr | mg << 8 | mb << 16 | mask << 24; - var pix; - var _g1 = 0; - var _g = image.width; - while(_g1 < _g) { - var ix = _g1++; - var hit = false; - var _g3 = 0; - var _g2 = image.height; - while(_g3 < _g2) { - var iy = _g3++; - pix = image.getPixel32(ix,iy); - if(findColor) hit = (pix & mask) == color; else hit = (pix & mask) != color; - if(hit) { - if(ix < left) left = ix; - break; - } - } - if(hit) break; - } - var _g11 = 0; - var _g4 = image.width; - while(_g11 < _g4) { - var _ix = _g11++; - var ix1 = image.width - 1 - _ix; - var hit1 = false; - var _g31 = 0; - var _g21 = image.height; - while(_g31 < _g21) { - var iy1 = _g31++; - pix = image.getPixel32(ix1,iy1); - if(findColor) hit1 = (pix & mask) == color; else hit1 = (pix & mask) != color; - if(hit1) { - if(ix1 > right) right = ix1; - break; - } - } - if(hit1) break; - } - var _g12 = 0; - var _g5 = image.height; - while(_g12 < _g5) { - var iy2 = _g12++; - var hit2 = false; - var _g32 = 0; - var _g22 = image.width; - while(_g32 < _g22) { - var ix2 = _g32++; - pix = image.getPixel32(ix2,iy2); - if(findColor) hit2 = (pix & mask) == color; else hit2 = (pix & mask) != color; - if(hit2) { - if(iy2 < top) top = iy2; - break; - } - } - if(hit2) break; - } - var _g13 = 0; - var _g6 = image.height; - while(_g13 < _g6) { - var _iy = _g13++; - var iy3 = image.height - 1 - _iy; - var hit3 = false; - var _g33 = 0; - var _g23 = image.width; - while(_g33 < _g23) { - var ix3 = _g33++; - pix = image.getPixel32(ix3,iy3); - if(findColor) hit3 = (pix & mask) == color; else hit3 = (pix & mask) != color; - if(hit3) { - if(iy3 > bottom) bottom = iy3; - break; - } - } - if(hit3) break; - } - var w = right - left; - var h = bottom - top; - if(w > 0) w++; - if(h > 0) h++; - if(w < 0) w = 0; - if(h < 0) h = 0; - if(left == right) w = 1; - if(top == bottom) h = 1; - if(left > image.width) left = 0; - if(top > image.height) top = 0; - return new lime.math.Rectangle(left,top,w,h); -}; -lime.graphics.utils.ImageDataUtil.getPixel = function(image,x,y,format) { - var data = image.buffer.data; - var offset = 4 * (y + image.offsetY) * image.buffer.width + (x + image.offsetX) * 4; - var pixel; - if(image.get_premultiplied()) { - var unmultiply = 255.0 / data[offset + 3]; - pixel = lime.graphics.utils.ImageDataUtil.__clamp[data[offset] * unmultiply | 0] << 24 | lime.graphics.utils.ImageDataUtil.__clamp[data[offset + 1] * unmultiply | 0] << 16 | lime.graphics.utils.ImageDataUtil.__clamp[data[offset + 2] * unmultiply | 0] << 8; - } else pixel = data[offset] << 24 | data[offset + 1] << 16 | data[offset + 2] << 8; - if(format == 1) return pixel >> 8 & 16777215; else return pixel; -}; -lime.graphics.utils.ImageDataUtil.getPixel32 = function(image,x,y,format) { - var data = image.buffer.data; - var offset = 4 * (y + image.offsetY) * image.buffer.width + (x + image.offsetX) * 4; - var a; - if(image.get_transparent()) a = data[offset + 3]; else a = 255; - var r; - var g; - var b; - if(image.get_premultiplied() && a != 0) { - var unmultiply = 255.0 / a; - var index = Math.round(data[offset] * unmultiply); - r = lime.graphics.utils.ImageDataUtil.__clamp[index]; - var index1 = Math.round(data[offset + 1] * unmultiply); - g = lime.graphics.utils.ImageDataUtil.__clamp[index1]; - var index2 = Math.round(data[offset + 2] * unmultiply); - b = lime.graphics.utils.ImageDataUtil.__clamp[index2]; - } else { - r = data[offset]; - g = data[offset + 1]; - b = data[offset + 2]; - } - if(format == 1) return a << 24 | r << 16 | g << 8 | b; else return r << 24 | g << 16 | b << 8 | a; -}; -lime.graphics.utils.ImageDataUtil.getPixels = function(image,rect,format) { - if(image.buffer.data == null) return null; - var length = rect.width * rect.height | 0; - var byteArray = new lime.utils.ByteArray(length * 4); - byteArray.position = 0; - var srcData = image.buffer.data; - var srcStride = image.buffer.width * 4 | 0; - var srcPosition = rect.x * 4 + srcStride * rect.y | 0; - var srcRowOffset = srcStride - (4 * rect.width | 0); - var srcRowEnd = 4 * (rect.x + rect.width) | 0; - byteArray.set_length(length * 4); - if(format == 1) { - var _g = 0; - while(_g < length) { - var i = _g++; - byteArray.__set(i * 4 + 1,srcData[srcPosition++]); - byteArray.__set(i * 4 + 2,srcData[srcPosition++]); - byteArray.__set(i * 4 + 3,srcData[srcPosition++]); - byteArray.__set(i * 4,srcData[srcPosition++]); - if(srcPosition % srcStride > srcRowEnd) srcPosition += srcRowOffset; - } - } else { - var _g1 = 0; - while(_g1 < length) { - var i1 = _g1++; - byteArray.__set(i1 * 4,srcData[srcPosition++]); - byteArray.__set(i1 * 4 + 1,srcData[srcPosition++]); - byteArray.__set(i1 * 4 + 2,srcData[srcPosition++]); - byteArray.__set(i1 * 4 + 3,srcData[srcPosition++]); - if(srcPosition % srcStride > srcRowEnd) srcPosition += srcRowOffset; - } - } - byteArray.position = 0; - return byteArray; -}; -lime.graphics.utils.ImageDataUtil.merge = function(image,sourceImage,sourceRect,destPoint,redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier) { - if(image.buffer.data == null || sourceImage.buffer.data == null) return; - var rowOffset = destPoint.y + image.offsetY - sourceRect.y - sourceImage.offsetY | 0; - var columnOffset = destPoint.x + image.offsetX - sourceRect.x - sourceImage.offsetY | 0; - var sourceData = sourceImage.buffer.data; - var sourceStride = sourceImage.buffer.width * 4; - var sourceOffset = 0; - var data = image.buffer.data; - var stride = image.buffer.width * 4; - var offset = 0; - var _g1 = Std["int"](sourceRect.get_top() + sourceImage.offsetY); - var _g = Std["int"](sourceRect.get_bottom() + sourceImage.offsetY); - while(_g1 < _g) { - var row = _g1++; - var _g3 = Std["int"](sourceRect.get_left() + sourceImage.offsetX); - var _g2 = Std["int"](sourceRect.get_right() + sourceImage.offsetX); - while(_g3 < _g2) { - var column = _g3++; - sourceOffset = row * sourceStride + column * 4; - offset = (row + rowOffset) * stride + (column + columnOffset) * 4; - data[offset] = (sourceData[offset] * redMultiplier + data[offset] * (256 - redMultiplier)) / 256 | 0; - data[offset + 1] = (sourceData[offset + 1] * greenMultiplier + data[offset + 1] * (256 - greenMultiplier)) / 256 | 0; - data[offset + 2] = (sourceData[offset + 2] * blueMultiplier + data[offset + 2] * (256 - blueMultiplier)) / 256 | 0; - data[offset + 3] = (sourceData[offset + 3] * alphaMultiplier + data[offset + 3] * (256 - alphaMultiplier)) / 256 | 0; - } - } - image.dirty = true; -}; -lime.graphics.utils.ImageDataUtil.multiplyAlpha = function(image) { - var data = image.buffer.data; - if(data == null || !image.buffer.transparent) return; - var index; - var a16; - var length = data.length / 4 | 0; - var _g = 0; - while(_g < length) { - var i = _g++; - index = i * 4; - a16 = lime.graphics.utils.ImageDataUtil.__alpha16[data[index + 3]]; - data[index] = data[index] * a16 >> 16; - data[index + 1] = data[index + 1] * a16 >> 16; - data[index + 2] = data[index + 2] * a16 >> 16; - } - image.buffer.premultiplied = true; - image.dirty = true; -}; -lime.graphics.utils.ImageDataUtil.resize = function(image,newWidth,newHeight) { - var buffer = image.buffer; - if(buffer.width == newWidth && buffer.height == newHeight) return; - var newBuffer = new lime.graphics.ImageBuffer(new Uint8Array(newWidth * newHeight * 4),newWidth,newHeight); - var imageWidth = image.width; - var imageHeight = image.height; - var data = image.get_data(); - var newData = newBuffer.data; - var sourceIndex; - var sourceIndexX; - var sourceIndexY; - var sourceIndexXY; - var index; - var sourceX; - var sourceY; - var u; - var v; - var uRatio; - var vRatio; - var uOpposite; - var vOpposite; - var _g = 0; - while(_g < newHeight) { - var y = _g++; - var _g1 = 0; - while(_g1 < newWidth) { - var x = _g1++; - u = (x + 0.5) / newWidth * imageWidth - 0.5; - v = (y + 0.5) / newHeight * imageHeight - 0.5; - sourceX = u | 0; - sourceY = v | 0; - sourceIndex = (sourceY * imageWidth + sourceX) * 4; - if(sourceX < imageWidth - 1) sourceIndexX = sourceIndex + 4; else sourceIndexX = sourceIndex; - if(sourceY < imageHeight - 1) sourceIndexY = sourceIndex + imageWidth * 4; else sourceIndexY = sourceIndex; - if(sourceIndexX != sourceIndex) sourceIndexXY = sourceIndexY + 4; else sourceIndexXY = sourceIndexY; - index = (y * newWidth + x) * 4; - uRatio = u - sourceX; - vRatio = v - sourceY; - uOpposite = 1 - uRatio; - vOpposite = 1 - vRatio; - newData[index] = (data[sourceIndex] * uOpposite + data[sourceIndexX] * uRatio) * vOpposite + (data[sourceIndexY] * uOpposite + data[sourceIndexXY] * uRatio) * vRatio | 0; - newData[index + 1] = (data[sourceIndex + 1] * uOpposite + data[sourceIndexX + 1] * uRatio) * vOpposite + (data[sourceIndexY + 1] * uOpposite + data[sourceIndexXY + 1] * uRatio) * vRatio | 0; - newData[index + 2] = (data[sourceIndex + 2] * uOpposite + data[sourceIndexX + 2] * uRatio) * vOpposite + (data[sourceIndexY + 2] * uOpposite + data[sourceIndexXY + 2] * uRatio) * vRatio | 0; - if(data[sourceIndexX + 3] == 0 || data[sourceIndexY + 3] == 0 || data[sourceIndexXY + 3] == 0) newData[index + 3] = 0; else newData[index + 3] = data[sourceIndex + 3]; - } - } - buffer.data = newBuffer.data; - buffer.width = newWidth; - buffer.height = newHeight; -}; -lime.graphics.utils.ImageDataUtil.resizeBuffer = function(image,newWidth,newHeight) { - var buffer = image.buffer; - var data = image.get_data(); - var newData = new Uint8Array(newWidth * newHeight * 4); - var sourceIndex; - var index; - var _g1 = 0; - var _g = buffer.height; - while(_g1 < _g) { - var y = _g1++; - var _g3 = 0; - var _g2 = buffer.width; - while(_g3 < _g2) { - var x = _g3++; - sourceIndex = (y * buffer.width + x) * 4; - index = (y * newWidth + x) * 4; - newData[index] = data[sourceIndex]; - newData[index + 1] = data[sourceIndex + 1]; - newData[index + 2] = data[sourceIndex + 2]; - newData[index + 3] = data[sourceIndex + 3]; - } - } - buffer.data = newData; - buffer.width = newWidth; - buffer.height = newHeight; -}; -lime.graphics.utils.ImageDataUtil.setFormat = function(image,format) { - var data = image.buffer.data; - if(data == null) return; - var index; - var a16; - var length = data.length / 4 | 0; - var r1; - var g1; - var b1; - var a1; - var r2; - var g2; - var b2; - var a2; - var r; - var g; - var b; - var a; - var _g = image.get_format(); - switch(_g) { - case 0: - r1 = 0; - g1 = 1; - b1 = 2; - a1 = 3; - break; - case 1: - r1 = 1; - g1 = 2; - b1 = 3; - a1 = 0; - break; - case 2: - r1 = 2; - g1 = 1; - b1 = 0; - a1 = 3; - break; - } - switch(format) { - case 0: - r2 = 0; - g2 = 1; - b2 = 2; - a2 = 3; - break; - case 1: - r2 = 1; - g2 = 2; - b2 = 3; - a2 = 0; - break; - case 2: - r2 = 2; - g2 = 1; - b2 = 0; - a2 = 3; - break; - } - var _g1 = 0; - while(_g1 < length) { - var i = _g1++; - index = i * 4; - r = data[index + r1]; - g = data[index + g1]; - b = data[index + b1]; - a = data[index + a1]; - data[index + r2] = r; - data[index + g2] = g; - data[index + b2] = b; - data[index + a2] = a; - } - image.buffer.format = format; - image.dirty = true; -}; -lime.graphics.utils.ImageDataUtil.setPixel = function(image,x,y,color,format) { - var data = image.buffer.data; - var offset = 4 * (y + image.offsetY) * image.buffer.width + (x + image.offsetX) * 4; - if(format == 0) color = color >> 8; - data[offset] = (color & 16711680) >>> 16; - data[offset + 1] = (color & 65280) >>> 8; - data[offset + 2] = color & 255; - if(image.get_transparent()) data[offset + 3] = 255; - image.dirty = true; -}; -lime.graphics.utils.ImageDataUtil.setPixel32 = function(image,x,y,color,format) { - var data = image.buffer.data; - var offset = 4 * (y + image.offsetY) * image.buffer.width + (x + image.offsetX) * 4; - var a; - var r; - var g; - var b; - if(format == 1) { - if(image.get_transparent()) a = color >> 24 & 255; else a = 255; - r = color >> 16 & 255; - g = color >> 8 & 255; - b = color & 255; - } else { - r = color >> 24 & 255; - g = color >> 16 & 255; - b = color >> 8 & 255; - if(image.get_transparent()) a = color & 255; else a = 255; - } - if(image.get_transparent() && image.get_premultiplied()) { - var a16 = lime.graphics.utils.ImageDataUtil.__alpha16[a]; - data[offset] = r * a16 >> 16; - data[offset + 1] = g * a16 >> 16; - data[offset + 2] = b * a16 >> 16; - data[offset + 3] = a; - } else { - data[offset] = r; - data[offset + 1] = g; - data[offset + 2] = b; - data[offset + 3] = a; - } - image.dirty = true; -}; -lime.graphics.utils.ImageDataUtil.setPixels = function(image,rect,byteArray,format) { - if(image.buffer.data == null) return; - var len = Math.round(rect.width * rect.height); - var data = image.buffer.data; - var offset = Math.round(image.buffer.width * (rect.y + image.offsetX) + (rect.x + image.offsetY)); - var pos = offset * 4; - var boundR = Math.round(rect.x + rect.width + image.offsetX); - var width = image.buffer.width; - var color; - if(format == 1) { - var _g = 0; - while(_g < len) { - var i = _g++; - if(pos % (width * 4) >= boundR * 4) pos += (width - boundR) * 4; - color = byteArray.readUnsignedInt(); - data[pos++] = (color & 16711680) >>> 16; - data[pos++] = (color & 65280) >>> 8; - data[pos++] = color & 255; - data[pos++] = (color & -16777216) >>> 24; - } - } else { - var _g1 = 0; - while(_g1 < len) { - var i1 = _g1++; - if(pos % (width * 4) >= boundR * 4) pos += (width - boundR) * 4; - color = byteArray.readUnsignedInt(); - data[pos++] = (color & -16777216) >>> 24; - data[pos++] = (color & 16711680) >>> 16; - data[pos++] = (color & 65280) >>> 8; - data[pos++] = color & 255; - } - } - image.dirty = true; -}; -lime.graphics.utils.ImageDataUtil.unmultiplyAlpha = function(image) { - var data = image.buffer.data; - if(data == null) return; - var index; - var a; - var unmultiply; - var length = data.length / 4 | 0; - var _g = 0; - while(_g < length) { - var i = _g++; - index = i * 4; - a = data[index + 3]; - if(a != 0) { - unmultiply = 255.0 / a; - data[index] = lime.graphics.utils.ImageDataUtil.__clamp[data[index] * unmultiply | 0]; - data[index + 1] = lime.graphics.utils.ImageDataUtil.__clamp[data[index + 1] * unmultiply | 0]; - data[index + 2] = lime.graphics.utils.ImageDataUtil.__clamp[data[index + 2] * unmultiply | 0]; - } - } - image.buffer.premultiplied = false; - image.dirty = true; -}; -lime.math = {}; -lime.math._ColorMatrix = {}; -lime.math._ColorMatrix.ColorMatrix_Impl_ = function() { }; -$hxClasses["lime.math._ColorMatrix.ColorMatrix_Impl_"] = lime.math._ColorMatrix.ColorMatrix_Impl_; -lime.math._ColorMatrix.ColorMatrix_Impl_.__name__ = ["lime","math","_ColorMatrix","ColorMatrix_Impl_"]; -lime.math._ColorMatrix.ColorMatrix_Impl_.__properties__ = {set_redOffset:"set_redOffset",get_redOffset:"get_redOffset",set_redMultiplier:"set_redMultiplier",get_redMultiplier:"get_redMultiplier",set_greenOffset:"set_greenOffset",get_greenOffset:"get_greenOffset",set_greenMultiplier:"set_greenMultiplier",get_greenMultiplier:"get_greenMultiplier",set_color:"set_color",get_color:"get_color",set_blueOffset:"set_blueOffset",get_blueOffset:"get_blueOffset",set_blueMultiplier:"set_blueMultiplier",get_blueMultiplier:"get_blueMultiplier",set_alphaOffset:"set_alphaOffset",get_alphaOffset:"get_alphaOffset",set_alphaMultiplier:"set_alphaMultiplier",get_alphaMultiplier:"get_alphaMultiplier"} -lime.math._ColorMatrix.ColorMatrix_Impl_._new = function(data) { - var this1; - if(data != null && data.length == 20) this1 = data; else this1 = new Float32Array(lime.math._ColorMatrix.ColorMatrix_Impl_.__identity); - return this1; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.clone = function(this1) { - return lime.math._ColorMatrix.ColorMatrix_Impl_._new(new Float32Array(this1)); -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.concat = function(this1,second) { - var _g = this1; - var value = _g[0] + second[0]; - _g[0] = value; - value; - var _g1 = this1; - var value1 = _g1[6] + second[6]; - _g1[6] = value1; - value1; - var _g2 = this1; - var value2 = _g2[12] + second[12]; - _g2[12] = value2; - value2; - var _g3 = this1; - var value3 = _g3[18] + second[18]; - _g3[18] = value3; - value3; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.copyFrom = function(this1,other) { - this1.set(other); -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.identity = function(this1) { - this1[0] = 1; - this1[1] = 0; - this1[2] = 0; - this1[3] = 0; - this1[4] = 0; - this1[5] = 0; - this1[6] = 1; - this1[7] = 0; - this1[8] = 0; - this1[9] = 0; - this1[10] = 0; - this1[11] = 0; - this1[12] = 1; - this1[13] = 0; - this1[14] = 0; - this1[15] = 0; - this1[16] = 0; - this1[17] = 0; - this1[18] = 1; - this1[19] = 0; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.__toFlashColorTransform = function(this1) { - return null; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.get_alphaMultiplier = function(this1) { - return this1[18]; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.set_alphaMultiplier = function(this1,value) { - this1[18] = value; - return value; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.get_alphaOffset = function(this1) { - return this1[19] * 255; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.set_alphaOffset = function(this1,value) { - this1[19] = value / 255; - return value; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.get_blueMultiplier = function(this1) { - return this1[12]; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.set_blueMultiplier = function(this1,value) { - this1[12] = value; - return value; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.get_blueOffset = function(this1) { - return this1[14] * 255; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.set_blueOffset = function(this1,value) { - this1[14] = value / 255; - return value; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.get_color = function(this1) { - return (this1[4] * 255 | 0) << 16 | (this1[9] * 255 | 0) << 8 | (this1[14] * 255 | 0); -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.set_color = function(this1,value) { - var value1 = value >> 16 & 255; - this1[4] = value1 / 255; - value1; - var value2 = value >> 8 & 255; - this1[9] = value2 / 255; - value2; - var value3 = value & 255; - this1[14] = value3 / 255; - value3; - this1[0] = 0; - 0; - this1[6] = 0; - 0; - this1[12] = 0; - 0; - return lime.math._ColorMatrix.ColorMatrix_Impl_.get_color(this1); -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.get_greenMultiplier = function(this1) { - return this1[6]; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.set_greenMultiplier = function(this1,value) { - this1[6] = value; - return value; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.get_greenOffset = function(this1) { - return this1[9] * 255; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.set_greenOffset = function(this1,value) { - this1[9] = value / 255; - return value; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.get_redMultiplier = function(this1) { - return this1[0]; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.set_redMultiplier = function(this1,value) { - this1[0] = value; - return value; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.get_redOffset = function(this1) { - return this1[4] * 255; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.set_redOffset = function(this1,value) { - this1[4] = value / 255; - return value; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.get = function(this1,index) { - return this1[index]; -}; -lime.math._ColorMatrix.ColorMatrix_Impl_.set = function(this1,index,value) { - this1[index] = value; - return value; -}; -lime.math.Matrix3 = function(a,b,c,d,tx,ty) { - if(ty == null) ty = 0; - if(tx == null) tx = 0; - if(d == null) d = 1; - if(c == null) c = 0; - if(b == null) b = 0; - if(a == null) a = 1; - this.a = a; - this.b = b; - this.c = c; - this.d = d; - this.tx = tx; - this.ty = ty; -}; -$hxClasses["lime.math.Matrix3"] = lime.math.Matrix3; -lime.math.Matrix3.__name__ = ["lime","math","Matrix3"]; -lime.math.Matrix3.prototype = { - clone: function() { - return new lime.math.Matrix3(this.a,this.b,this.c,this.d,this.tx,this.ty); - } - ,concat: function(m) { - var a1 = this.a * m.a + this.b * m.c; - this.b = this.a * m.b + this.b * m.d; - this.a = a1; - var c1 = this.c * m.a + this.d * m.c; - this.d = this.c * m.b + this.d * m.d; - this.c = c1; - var tx1 = this.tx * m.a + this.ty * m.c + m.tx; - this.ty = this.tx * m.b + this.ty * m.d + m.ty; - this.tx = tx1; - } - ,copyColumnFrom: function(column,vector4) { - if(column > 2) throw "Column " + column + " out of bounds (2)"; else if(column == 0) { - this.a = vector4.x; - this.c = vector4.y; - } else if(column == 1) { - this.b = vector4.x; - this.d = vector4.y; - } else { - this.tx = vector4.x; - this.ty = vector4.y; - } - } - ,copyColumnTo: function(column,vector4) { - if(column > 2) throw "Column " + column + " out of bounds (2)"; else if(column == 0) { - vector4.x = this.a; - vector4.y = this.c; - vector4.z = 0; - } else if(column == 1) { - vector4.x = this.b; - vector4.y = this.d; - vector4.z = 0; - } else { - vector4.x = this.tx; - vector4.y = this.ty; - vector4.z = 1; - } - } - ,copyFrom: function(sourceMatrix3) { - this.a = sourceMatrix3.a; - this.b = sourceMatrix3.b; - this.c = sourceMatrix3.c; - this.d = sourceMatrix3.d; - this.tx = sourceMatrix3.tx; - this.ty = sourceMatrix3.ty; - } - ,copyRowFrom: function(row,vector4) { - if(row > 2) throw "Row " + row + " out of bounds (2)"; else if(row == 0) { - this.a = vector4.x; - this.c = vector4.y; - } else if(row == 1) { - this.b = vector4.x; - this.d = vector4.y; - } else { - this.tx = vector4.x; - this.ty = vector4.y; - } - } - ,copyRowTo: function(row,vector4) { - if(row > 2) throw "Row " + row + " out of bounds (2)"; else if(row == 0) { - vector4.x = this.a; - vector4.y = this.b; - vector4.z = this.tx; - } else if(row == 1) { - vector4.x = this.c; - vector4.y = this.d; - vector4.z = this.ty; - } else { - vector4.x = 0; - vector4.y = 0; - vector4.z = 1; - } - } - ,createBox: function(scaleX,scaleY,rotation,tx,ty) { - if(ty == null) ty = 0; - if(tx == null) tx = 0; - if(rotation == null) rotation = 0; - this.a = scaleX; - this.d = scaleY; - this.b = rotation; - this.tx = tx; - this.ty = ty; - } - ,createGradientBox: function(width,height,rotation,tx,ty) { - if(ty == null) ty = 0; - if(tx == null) tx = 0; - if(rotation == null) rotation = 0; - this.a = width / 1638.4; - this.d = height / 1638.4; - if(rotation != 0) { - var cos = Math.cos(rotation); - var sin = Math.sin(rotation); - this.b = sin * this.d; - this.c = -sin * this.a; - this.a *= cos; - this.d *= cos; - } else { - this.b = 0; - this.c = 0; - } - this.tx = tx + width / 2; - this.ty = ty + height / 2; - } - ,equals: function(Matrix3) { - return Matrix3 != null && this.tx == Matrix3.tx && this.ty == Matrix3.ty && this.a == Matrix3.a && this.b == Matrix3.b && this.c == Matrix3.c && this.d == Matrix3.d; - } - ,deltaTransformVector2: function(Vector2) { - return new lime.math.Vector2(Vector2.x * this.a + Vector2.y * this.c,Vector2.x * this.b + Vector2.y * this.d); - } - ,identity: function() { - this.a = 1; - this.b = 0; - this.c = 0; - this.d = 1; - this.tx = 0; - this.ty = 0; - } - ,invert: function() { - var norm = this.a * this.d - this.b * this.c; - if(norm == 0) { - this.a = this.b = this.c = this.d = 0; - this.tx = -this.tx; - this.ty = -this.ty; - } else { - norm = 1.0 / norm; - var a1 = this.d * norm; - this.d = this.a * norm; - this.a = a1; - this.b *= -norm; - this.c *= -norm; - var tx1 = -this.a * this.tx - this.c * this.ty; - this.ty = -this.b * this.tx - this.d * this.ty; - this.tx = tx1; - } - return this; - } - ,mult: function(m) { - var result = new lime.math.Matrix3(this.a,this.b,this.c,this.d,this.tx,this.ty); - result.concat(m); - return result; - } - ,rotate: function(theta) { - var cos = Math.cos(theta); - var sin = Math.sin(theta); - var a1 = this.a * cos - this.b * sin; - this.b = this.a * sin + this.b * cos; - this.a = a1; - var c1 = this.c * cos - this.d * sin; - this.d = this.c * sin + this.d * cos; - this.c = c1; - var tx1 = this.tx * cos - this.ty * sin; - this.ty = this.tx * sin + this.ty * cos; - this.tx = tx1; - } - ,scale: function(sx,sy) { - this.a *= sx; - this.b *= sy; - this.c *= sx; - this.d *= sy; - this.tx *= sx; - this.ty *= sy; - } - ,setRotation: function(theta,scale) { - if(scale == null) scale = 1; - this.a = Math.cos(theta) * scale; - this.c = Math.sin(theta) * scale; - this.b = -this.c; - this.d = this.a; - } - ,setTo: function(a,b,c,d,tx,ty) { - this.a = a; - this.b = b; - this.c = c; - this.d = d; - this.tx = tx; - this.ty = ty; - } - ,to3DString: function(roundPixels) { - if(roundPixels == null) roundPixels = false; - if(roundPixels) return "Matrix33d(" + this.a + ", " + this.b + ", " + "0, 0, " + this.c + ", " + this.d + ", " + "0, 0, 0, 0, 1, 0, " + (this.tx | 0) + ", " + (this.ty | 0) + ", 0, 1)"; else return "Matrix33d(" + this.a + ", " + this.b + ", " + "0, 0, " + this.c + ", " + this.d + ", " + "0, 0, 0, 0, 1, 0, " + this.tx + ", " + this.ty + ", 0, 1)"; - } - ,toMozString: function() { - return "Matrix3(" + this.a + ", " + this.b + ", " + this.c + ", " + this.d + ", " + this.tx + "px, " + this.ty + "px)"; - } - ,toString: function() { - return "Matrix3(" + this.a + ", " + this.b + ", " + this.c + ", " + this.d + ", " + this.tx + ", " + this.ty + ")"; - } - ,transformVector2: function(pos) { - return new lime.math.Vector2(pos.x * this.a + pos.y * this.c + this.tx,pos.x * this.b + pos.y * this.d + this.ty); - } - ,translate: function(dx,dy) { - this.tx += dx; - this.ty += dy; - } - ,__cleanValues: function() { - this.a = Math.round(this.a * 1000) / 1000; - this.b = Math.round(this.b * 1000) / 1000; - this.c = Math.round(this.c * 1000) / 1000; - this.d = Math.round(this.d * 1000) / 1000; - this.tx = Math.round(this.tx * 10) / 10; - this.ty = Math.round(this.ty * 10) / 10; - } - ,__transformX: function(pos) { - return pos.x * this.a + pos.y * this.c + this.tx; - } - ,__transformY: function(pos) { - return pos.x * this.b + pos.y * this.d + this.ty; - } - ,__translateTransformed: function(pos) { - this.tx = pos.x * this.a + pos.y * this.c + this.tx; - this.ty = pos.x * this.b + pos.y * this.d + this.ty; - } - ,__class__: lime.math.Matrix3 -}; -lime.math._Matrix4 = {}; -lime.math._Matrix4.Matrix4_Impl_ = function() { }; -$hxClasses["lime.math._Matrix4.Matrix4_Impl_"] = lime.math._Matrix4.Matrix4_Impl_; -lime.math._Matrix4.Matrix4_Impl_.__name__ = ["lime","math","_Matrix4","Matrix4_Impl_"]; -lime.math._Matrix4.Matrix4_Impl_.__properties__ = {set_position:"set_position",get_position:"get_position",get_determinant:"get_determinant"} -lime.math._Matrix4.Matrix4_Impl_._new = function(data) { - var this1; - if(data != null && data.length == 16) this1 = data; else this1 = new Float32Array(lime.math._Matrix4.Matrix4_Impl_.__identity); - return this1; -}; -lime.math._Matrix4.Matrix4_Impl_.append = function(this1,lhs) { - var m111 = this1[0]; - var m121 = this1[4]; - var m131 = this1[8]; - var m141 = this1[12]; - var m112 = this1[1]; - var m122 = this1[5]; - var m132 = this1[9]; - var m142 = this1[13]; - var m113 = this1[2]; - var m123 = this1[6]; - var m133 = this1[10]; - var m143 = this1[14]; - var m114 = this1[3]; - var m124 = this1[7]; - var m134 = this1[11]; - var m144 = this1[15]; - var m211 = lime.math._Matrix4.Matrix4_Impl_.get(lhs,0); - var m221 = lime.math._Matrix4.Matrix4_Impl_.get(lhs,4); - var m231 = lime.math._Matrix4.Matrix4_Impl_.get(lhs,8); - var m241 = lime.math._Matrix4.Matrix4_Impl_.get(lhs,12); - var m212 = lime.math._Matrix4.Matrix4_Impl_.get(lhs,1); - var m222 = lime.math._Matrix4.Matrix4_Impl_.get(lhs,5); - var m232 = lime.math._Matrix4.Matrix4_Impl_.get(lhs,9); - var m242 = lime.math._Matrix4.Matrix4_Impl_.get(lhs,13); - var m213 = lime.math._Matrix4.Matrix4_Impl_.get(lhs,2); - var m223 = lime.math._Matrix4.Matrix4_Impl_.get(lhs,6); - var m233 = lime.math._Matrix4.Matrix4_Impl_.get(lhs,10); - var m243 = lime.math._Matrix4.Matrix4_Impl_.get(lhs,14); - var m214 = lime.math._Matrix4.Matrix4_Impl_.get(lhs,3); - var m224 = lime.math._Matrix4.Matrix4_Impl_.get(lhs,7); - var m234 = lime.math._Matrix4.Matrix4_Impl_.get(lhs,11); - var m244 = lime.math._Matrix4.Matrix4_Impl_.get(lhs,15); - this1[0] = m111 * m211 + m112 * m221 + m113 * m231 + m114 * m241; - this1[1] = m111 * m212 + m112 * m222 + m113 * m232 + m114 * m242; - this1[2] = m111 * m213 + m112 * m223 + m113 * m233 + m114 * m243; - this1[3] = m111 * m214 + m112 * m224 + m113 * m234 + m114 * m244; - this1[4] = m121 * m211 + m122 * m221 + m123 * m231 + m124 * m241; - this1[5] = m121 * m212 + m122 * m222 + m123 * m232 + m124 * m242; - this1[6] = m121 * m213 + m122 * m223 + m123 * m233 + m124 * m243; - this1[7] = m121 * m214 + m122 * m224 + m123 * m234 + m124 * m244; - this1[8] = m131 * m211 + m132 * m221 + m133 * m231 + m134 * m241; - this1[9] = m131 * m212 + m132 * m222 + m133 * m232 + m134 * m242; - this1[10] = m131 * m213 + m132 * m223 + m133 * m233 + m134 * m243; - this1[11] = m131 * m214 + m132 * m224 + m133 * m234 + m134 * m244; - this1[12] = m141 * m211 + m142 * m221 + m143 * m231 + m144 * m241; - this1[13] = m141 * m212 + m142 * m222 + m143 * m232 + m144 * m242; - this1[14] = m141 * m213 + m142 * m223 + m143 * m233 + m144 * m243; - this1[15] = m141 * m214 + m142 * m224 + m143 * m234 + m144 * m244; -}; -lime.math._Matrix4.Matrix4_Impl_.appendRotation = function(this1,degrees,axis,pivotPoint) { - var m = lime.math._Matrix4.Matrix4_Impl_.getAxisRotation(axis.x,axis.y,axis.z,degrees); - if(pivotPoint != null) { - var p = pivotPoint; - lime.math._Matrix4.Matrix4_Impl_.appendTranslation(m,p.x,p.y,p.z); - } - lime.math._Matrix4.Matrix4_Impl_.append(this1,m); -}; -lime.math._Matrix4.Matrix4_Impl_.appendScale = function(this1,xScale,yScale,zScale) { - lime.math._Matrix4.Matrix4_Impl_.append(this1,lime.math._Matrix4.Matrix4_Impl_._new(new Float32Array([xScale,0.0,0.0,0.0,0.0,yScale,0.0,0.0,0.0,0.0,zScale,0.0,0.0,0.0,0.0,1.0]))); -}; -lime.math._Matrix4.Matrix4_Impl_.appendTranslation = function(this1,x,y,z) { - this1[12] = this1[12] + x; - this1[13] = this1[13] + y; - this1[14] = this1[14] + z; -}; -lime.math._Matrix4.Matrix4_Impl_.clone = function(this1) { - return lime.math._Matrix4.Matrix4_Impl_._new(new Float32Array(this1)); -}; -lime.math._Matrix4.Matrix4_Impl_.copyColumnFrom = function(this1,column,vector) { - switch(column) { - case 0: - this1[0] = vector.x; - this1[1] = vector.y; - this1[2] = vector.z; - this1[3] = vector.w; - break; - case 1: - this1[4] = vector.x; - this1[5] = vector.y; - this1[6] = vector.z; - this1[7] = vector.w; - break; - case 2: - this1[8] = vector.x; - this1[9] = vector.y; - this1[10] = vector.z; - this1[11] = vector.w; - break; - case 3: - this1[12] = vector.x; - this1[13] = vector.y; - this1[14] = vector.z; - this1[15] = vector.w; - break; - default: - throw "Error, Column " + column + " out of bounds [0, ..., 3]"; - } -}; -lime.math._Matrix4.Matrix4_Impl_.copyColumnTo = function(this1,column,vector) { - switch(column) { - case 0: - vector.x = this1[0]; - vector.y = this1[1]; - vector.z = this1[2]; - vector.w = this1[3]; - break; - case 1: - vector.x = this1[4]; - vector.y = this1[5]; - vector.z = this1[6]; - vector.w = this1[7]; - break; - case 2: - vector.x = this1[8]; - vector.y = this1[9]; - vector.z = this1[10]; - vector.w = this1[11]; - break; - case 3: - vector.x = this1[12]; - vector.y = this1[13]; - vector.z = this1[14]; - vector.w = this1[15]; - break; - default: - throw "Error, Column " + column + " out of bounds [0, ..., 3]"; - } -}; -lime.math._Matrix4.Matrix4_Impl_.copyFrom = function(this1,other) { - this1.set(other); -}; -lime.math._Matrix4.Matrix4_Impl_.copythisFrom = function(this1,array,index,transposeValues) { - if(transposeValues == null) transposeValues = false; - if(index == null) index = 0; - if(transposeValues) lime.math._Matrix4.Matrix4_Impl_.transpose(this1); - var l = array.length - index; - var _g = 0; - while(_g < l) { - var c = _g++; - this1[c] = array[c + index]; - } - if(transposeValues) lime.math._Matrix4.Matrix4_Impl_.transpose(this1); -}; -lime.math._Matrix4.Matrix4_Impl_.copythisTo = function(this1,array,index,transposeValues) { - if(transposeValues == null) transposeValues = false; - if(index == null) index = 0; - if(transposeValues) lime.math._Matrix4.Matrix4_Impl_.transpose(this1); - var l = this1.length; - var _g = 0; - while(_g < l) { - var c = _g++; - array[c + index] = this1[c]; - } - if(transposeValues) lime.math._Matrix4.Matrix4_Impl_.transpose(this1); -}; -lime.math._Matrix4.Matrix4_Impl_.copyRowFrom = function(this1,row,vector) { - switch(row) { - case 0: - this1[0] = vector.x; - this1[4] = vector.y; - this1[8] = vector.z; - this1[12] = vector.w; - break; - case 1: - this1[1] = vector.x; - this1[5] = vector.y; - this1[9] = vector.z; - this1[13] = vector.w; - break; - case 2: - this1[2] = vector.x; - this1[6] = vector.y; - this1[10] = vector.z; - this1[14] = vector.w; - break; - case 3: - this1[3] = vector.x; - this1[7] = vector.y; - this1[11] = vector.z; - this1[15] = vector.w; - break; - default: - throw "Error, Row " + Std.string((function($this) { - var $r; - var $int = row; - $r = $int < 0?4294967296.0 + $int:$int + 0.0; - return $r; - }(this))) + " out of bounds [0, ..., 3]"; - } -}; -lime.math._Matrix4.Matrix4_Impl_.create2D = function(x,y,scale,rotation) { - if(rotation == null) rotation = 0; - if(scale == null) scale = 1; - var theta = rotation * Math.PI / 180.0; - var c = Math.cos(theta); - var s = Math.sin(theta); - return lime.math._Matrix4.Matrix4_Impl_._new(new Float32Array([c * scale,-s * scale,0,0,s * scale,c * scale,0,0,0,0,1,0,x,y,0,1])); -}; -lime.math._Matrix4.Matrix4_Impl_.createABCD = function(a,b,c,d,tx,ty) { - return lime.math._Matrix4.Matrix4_Impl_._new(new Float32Array([a,b,0,0,c,d,0,0,0,0,1,0,tx,ty,0,1])); -}; -lime.math._Matrix4.Matrix4_Impl_.createOrtho = function(x0,x1,y0,y1,zNear,zFar) { - var sx = 1.0 / (x1 - x0); - var sy = 1.0 / (y1 - y0); - var sz = 1.0 / (zFar - zNear); - return lime.math._Matrix4.Matrix4_Impl_._new(new Float32Array([2.0 * sx,0,0,0,0,2.0 * sy,0,0,0,0,-2. * sz,0,-(x0 + x1) * sx,-(y0 + y1) * sy,-(zNear + zFar) * sz,1])); -}; -lime.math._Matrix4.Matrix4_Impl_.copyRowTo = function(this1,row,vector) { - switch(row) { - case 0: - vector.x = this1[0]; - vector.y = this1[4]; - vector.z = this1[8]; - vector.w = this1[12]; - break; - case 1: - vector.x = this1[1]; - vector.y = this1[5]; - vector.z = this1[9]; - vector.w = this1[13]; - break; - case 2: - vector.x = this1[2]; - vector.y = this1[6]; - vector.z = this1[10]; - vector.w = this1[14]; - break; - case 3: - vector.x = this1[3]; - vector.y = this1[7]; - vector.z = this1[11]; - vector.w = this1[15]; - break; - default: - throw "Error, Row " + row + " out of bounds [0, ..., 3]"; - } -}; -lime.math._Matrix4.Matrix4_Impl_.copyToMatrix4 = function(this1,other) { - (js.Boot.__cast(other , Float32Array)).set(this1); -}; -lime.math._Matrix4.Matrix4_Impl_.deltaTransformVector = function(this1,v) { - var x = v.x; - var y = v.y; - var z = v.z; - return new lime.math.Vector4(x * this1[0] + y * this1[4] + z * this1[8] + this1[3],x * this1[1] + y * this1[5] + z * this1[9] + this1[7],x * this1[2] + y * this1[6] + z * this1[10] + this1[11],0); -}; -lime.math._Matrix4.Matrix4_Impl_.identity = function(this1) { - this1[0] = 1; - this1[1] = 0; - this1[2] = 0; - this1[3] = 0; - this1[4] = 0; - this1[5] = 1; - this1[6] = 0; - this1[7] = 0; - this1[8] = 0; - this1[9] = 0; - this1[10] = 1; - this1[11] = 0; - this1[12] = 0; - this1[13] = 0; - this1[14] = 0; - this1[15] = 1; -}; -lime.math._Matrix4.Matrix4_Impl_.interpolate = function(thisMat,toMat,percent) { - var m = lime.math._Matrix4.Matrix4_Impl_._new(); - var _g = 0; - while(_g < 16) { - var i = _g++; - lime.math._Matrix4.Matrix4_Impl_.set(m,i,lime.math._Matrix4.Matrix4_Impl_.get(thisMat,i) + (lime.math._Matrix4.Matrix4_Impl_.get(toMat,i) - lime.math._Matrix4.Matrix4_Impl_.get(thisMat,i)) * percent); - } - return m; -}; -lime.math._Matrix4.Matrix4_Impl_.interpolateTo = function(this1,toMat,percent) { - var _g = 0; - while(_g < 16) { - var i = _g++; - this1[i] = this1[i] + (lime.math._Matrix4.Matrix4_Impl_.get(toMat,i) - this1[i]) * percent; - } -}; -lime.math._Matrix4.Matrix4_Impl_.invert = function(this1) { - var d = lime.math._Matrix4.Matrix4_Impl_.get_determinant(this1); - var invertable = Math.abs(d) > 0.00000000001; - if(invertable) { - d = 1 / d; - var m11 = this1[0]; - var m21 = this1[4]; - var m31 = this1[8]; - var m41 = this1[12]; - var m12 = this1[1]; - var m22 = this1[5]; - var m32 = this1[9]; - var m42 = this1[13]; - var m13 = this1[2]; - var m23 = this1[6]; - var m33 = this1[10]; - var m43 = this1[14]; - var m14 = this1[3]; - var m24 = this1[7]; - var m34 = this1[11]; - var m44 = this1[15]; - this1[0] = d * (m22 * (m33 * m44 - m43 * m34) - m32 * (m23 * m44 - m43 * m24) + m42 * (m23 * m34 - m33 * m24)); - this1[1] = -d * (m12 * (m33 * m44 - m43 * m34) - m32 * (m13 * m44 - m43 * m14) + m42 * (m13 * m34 - m33 * m14)); - this1[2] = d * (m12 * (m23 * m44 - m43 * m24) - m22 * (m13 * m44 - m43 * m14) + m42 * (m13 * m24 - m23 * m14)); - this1[3] = -d * (m12 * (m23 * m34 - m33 * m24) - m22 * (m13 * m34 - m33 * m14) + m32 * (m13 * m24 - m23 * m14)); - this1[4] = -d * (m21 * (m33 * m44 - m43 * m34) - m31 * (m23 * m44 - m43 * m24) + m41 * (m23 * m34 - m33 * m24)); - this1[5] = d * (m11 * (m33 * m44 - m43 * m34) - m31 * (m13 * m44 - m43 * m14) + m41 * (m13 * m34 - m33 * m14)); - this1[6] = -d * (m11 * (m23 * m44 - m43 * m24) - m21 * (m13 * m44 - m43 * m14) + m41 * (m13 * m24 - m23 * m14)); - this1[7] = d * (m11 * (m23 * m34 - m33 * m24) - m21 * (m13 * m34 - m33 * m14) + m31 * (m13 * m24 - m23 * m14)); - this1[8] = d * (m21 * (m32 * m44 - m42 * m34) - m31 * (m22 * m44 - m42 * m24) + m41 * (m22 * m34 - m32 * m24)); - this1[9] = -d * (m11 * (m32 * m44 - m42 * m34) - m31 * (m12 * m44 - m42 * m14) + m41 * (m12 * m34 - m32 * m14)); - this1[10] = d * (m11 * (m22 * m44 - m42 * m24) - m21 * (m12 * m44 - m42 * m14) + m41 * (m12 * m24 - m22 * m14)); - this1[11] = -d * (m11 * (m22 * m34 - m32 * m24) - m21 * (m12 * m34 - m32 * m14) + m31 * (m12 * m24 - m22 * m14)); - this1[12] = -d * (m21 * (m32 * m43 - m42 * m33) - m31 * (m22 * m43 - m42 * m23) + m41 * (m22 * m33 - m32 * m23)); - this1[13] = d * (m11 * (m32 * m43 - m42 * m33) - m31 * (m12 * m43 - m42 * m13) + m41 * (m12 * m33 - m32 * m13)); - this1[14] = -d * (m11 * (m22 * m43 - m42 * m23) - m21 * (m12 * m43 - m42 * m13) + m41 * (m12 * m23 - m22 * m13)); - this1[15] = d * (m11 * (m22 * m33 - m32 * m23) - m21 * (m12 * m33 - m32 * m13) + m31 * (m12 * m23 - m22 * m13)); - } - return invertable; -}; -lime.math._Matrix4.Matrix4_Impl_.pointAt = function(this1,pos,at,up) { - if(at == null) at = new lime.math.Vector4(0,0,-1); - if(up == null) up = new lime.math.Vector4(0,-1,0); - var dir = new lime.math.Vector4(at.x - pos.x,at.y - pos.y,at.z - pos.z); - var vup = new lime.math.Vector4(up.x,up.y,up.z,up.w); - var right; - dir.normalize(); - vup.normalize(); - var dir2 = new lime.math.Vector4(dir.x,dir.y,dir.z,dir.w); - dir2.scaleBy(vup.x * dir.x + vup.y * dir.y + vup.z * dir.z); - vup = new lime.math.Vector4(vup.x - dir2.x,vup.y - dir2.y,vup.z - dir2.z); - if(Math.sqrt(vup.x * vup.x + vup.y * vup.y + vup.z * vup.z) > 0) vup.normalize(); else if(dir.x != 0) vup = new lime.math.Vector4(-dir.y,dir.x,0); else vup = new lime.math.Vector4(1,0,0); - right = new lime.math.Vector4(vup.y * dir.z - vup.z * dir.y,vup.z * dir.x - vup.x * dir.z,vup.x * dir.y - vup.y * dir.x,1); - right.normalize(); - this1[0] = right.x; - this1[4] = right.y; - this1[8] = right.z; - this1[12] = 0.0; - this1[1] = vup.x; - this1[5] = vup.y; - this1[9] = vup.z; - this1[13] = 0.0; - this1[2] = dir.x; - this1[6] = dir.y; - this1[10] = dir.z; - this1[14] = 0.0; - this1[3] = pos.x; - this1[7] = pos.y; - this1[11] = pos.z; - this1[15] = 1.0; -}; -lime.math._Matrix4.Matrix4_Impl_.prepend = function(this1,rhs) { - var m111 = lime.math._Matrix4.Matrix4_Impl_.get(rhs,0); - var m121 = lime.math._Matrix4.Matrix4_Impl_.get(rhs,4); - var m131 = lime.math._Matrix4.Matrix4_Impl_.get(rhs,8); - var m141 = lime.math._Matrix4.Matrix4_Impl_.get(rhs,12); - var m112 = lime.math._Matrix4.Matrix4_Impl_.get(rhs,1); - var m122 = lime.math._Matrix4.Matrix4_Impl_.get(rhs,5); - var m132 = lime.math._Matrix4.Matrix4_Impl_.get(rhs,9); - var m142 = lime.math._Matrix4.Matrix4_Impl_.get(rhs,13); - var m113 = lime.math._Matrix4.Matrix4_Impl_.get(rhs,2); - var m123 = lime.math._Matrix4.Matrix4_Impl_.get(rhs,6); - var m133 = lime.math._Matrix4.Matrix4_Impl_.get(rhs,10); - var m143 = lime.math._Matrix4.Matrix4_Impl_.get(rhs,14); - var m114 = lime.math._Matrix4.Matrix4_Impl_.get(rhs,3); - var m124 = lime.math._Matrix4.Matrix4_Impl_.get(rhs,7); - var m134 = lime.math._Matrix4.Matrix4_Impl_.get(rhs,11); - var m144 = lime.math._Matrix4.Matrix4_Impl_.get(rhs,15); - var m211 = this1[0]; - var m221 = this1[4]; - var m231 = this1[8]; - var m241 = this1[12]; - var m212 = this1[1]; - var m222 = this1[5]; - var m232 = this1[9]; - var m242 = this1[13]; - var m213 = this1[2]; - var m223 = this1[6]; - var m233 = this1[10]; - var m243 = this1[14]; - var m214 = this1[3]; - var m224 = this1[7]; - var m234 = this1[11]; - var m244 = this1[15]; - this1[0] = m111 * m211 + m112 * m221 + m113 * m231 + m114 * m241; - this1[1] = m111 * m212 + m112 * m222 + m113 * m232 + m114 * m242; - this1[2] = m111 * m213 + m112 * m223 + m113 * m233 + m114 * m243; - this1[3] = m111 * m214 + m112 * m224 + m113 * m234 + m114 * m244; - this1[4] = m121 * m211 + m122 * m221 + m123 * m231 + m124 * m241; - this1[5] = m121 * m212 + m122 * m222 + m123 * m232 + m124 * m242; - this1[6] = m121 * m213 + m122 * m223 + m123 * m233 + m124 * m243; - this1[7] = m121 * m214 + m122 * m224 + m123 * m234 + m124 * m244; - this1[8] = m131 * m211 + m132 * m221 + m133 * m231 + m134 * m241; - this1[9] = m131 * m212 + m132 * m222 + m133 * m232 + m134 * m242; - this1[10] = m131 * m213 + m132 * m223 + m133 * m233 + m134 * m243; - this1[11] = m131 * m214 + m132 * m224 + m133 * m234 + m134 * m244; - this1[12] = m141 * m211 + m142 * m221 + m143 * m231 + m144 * m241; - this1[13] = m141 * m212 + m142 * m222 + m143 * m232 + m144 * m242; - this1[14] = m141 * m213 + m142 * m223 + m143 * m233 + m144 * m243; - this1[15] = m141 * m214 + m142 * m224 + m143 * m234 + m144 * m244; -}; -lime.math._Matrix4.Matrix4_Impl_.prependRotation = function(this1,degrees,axis,pivotPoint) { - var m = lime.math._Matrix4.Matrix4_Impl_.getAxisRotation(axis.x,axis.y,axis.z,degrees); - if(pivotPoint != null) { - var p = pivotPoint; - lime.math._Matrix4.Matrix4_Impl_.appendTranslation(m,p.x,p.y,p.z); - } - lime.math._Matrix4.Matrix4_Impl_.prepend(this1,m); -}; -lime.math._Matrix4.Matrix4_Impl_.prependScale = function(this1,xScale,yScale,zScale) { - lime.math._Matrix4.Matrix4_Impl_.prepend(this1,lime.math._Matrix4.Matrix4_Impl_._new(new Float32Array([xScale,0.0,0.0,0.0,0.0,yScale,0.0,0.0,0.0,0.0,zScale,0.0,0.0,0.0,0.0,1.0]))); -}; -lime.math._Matrix4.Matrix4_Impl_.prependTranslation = function(this1,x,y,z) { - var m = lime.math._Matrix4.Matrix4_Impl_._new(); - lime.math._Matrix4.Matrix4_Impl_.set_position(m,new lime.math.Vector4(x,y,z)); - lime.math._Matrix4.Matrix4_Impl_.prepend(this1,m); -}; -lime.math._Matrix4.Matrix4_Impl_.transformVector = function(this1,v) { - var x = v.x; - var y = v.y; - var z = v.z; - return new lime.math.Vector4(x * this1[0] + y * this1[4] + z * this1[8] + this1[12],x * this1[1] + y * this1[5] + z * this1[9] + this1[13],x * this1[2] + y * this1[6] + z * this1[10] + this1[14],x * this1[3] + y * this1[7] + z * this1[11] + this1[15]); -}; -lime.math._Matrix4.Matrix4_Impl_.transformVectors = function(this1,ain,aout) { - var i = 0; - while(i + 3 <= ain.length) { - var x = ain[i]; - var y = ain[i + 1]; - var z = ain[i + 2]; - aout[i] = x * this1[0] + y * this1[4] + z * this1[8] + this1[12]; - aout[i + 1] = x * this1[1] + y * this1[5] + z * this1[9] + this1[13]; - aout[i + 2] = x * this1[2] + y * this1[6] + z * this1[10] + this1[14]; - i += 3; - } -}; -lime.math._Matrix4.Matrix4_Impl_.transpose = function(this1) { - var othis = new Float32Array(this1); - this1[1] = othis[4]; - this1[2] = othis[8]; - this1[3] = othis[12]; - this1[4] = othis[1]; - this1[6] = othis[9]; - this1[7] = othis[13]; - this1[8] = othis[2]; - this1[9] = othis[6]; - this1[11] = othis[14]; - this1[12] = othis[3]; - this1[13] = othis[7]; - this1[14] = othis[11]; -}; -lime.math._Matrix4.Matrix4_Impl_.getAxisRotation = function(x,y,z,degrees) { - var m = lime.math._Matrix4.Matrix4_Impl_._new(); - var a1 = new lime.math.Vector4(x,y,z); - var rad = -degrees * (Math.PI / 180); - var c = Math.cos(rad); - var s = Math.sin(rad); - var t = 1.0 - c; - lime.math._Matrix4.Matrix4_Impl_.set(m,0,c + a1.x * a1.x * t); - lime.math._Matrix4.Matrix4_Impl_.set(m,5,c + a1.y * a1.y * t); - lime.math._Matrix4.Matrix4_Impl_.set(m,10,c + a1.z * a1.z * t); - var tmp1 = a1.x * a1.y * t; - var tmp2 = a1.z * s; - lime.math._Matrix4.Matrix4_Impl_.set(m,4,tmp1 + tmp2); - lime.math._Matrix4.Matrix4_Impl_.set(m,1,tmp1 - tmp2); - tmp1 = a1.x * a1.z * t; - tmp2 = a1.y * s; - lime.math._Matrix4.Matrix4_Impl_.set(m,8,tmp1 - tmp2); - lime.math._Matrix4.Matrix4_Impl_.set(m,2,tmp1 + tmp2); - tmp1 = a1.y * a1.z * t; - tmp2 = a1.x * s; - lime.math._Matrix4.Matrix4_Impl_.set(m,9,tmp1 + tmp2); - lime.math._Matrix4.Matrix4_Impl_.set(m,6,tmp1 - tmp2); - return m; -}; -lime.math._Matrix4.Matrix4_Impl_.get_determinant = function(this1) { - return (this1[0] * this1[5] - this1[4] * this1[1]) * (this1[10] * this1[15] - this1[14] * this1[11]) - (this1[0] * this1[9] - this1[8] * this1[1]) * (this1[6] * this1[15] - this1[14] * this1[7]) + (this1[0] * this1[13] - this1[12] * this1[1]) * (this1[6] * this1[11] - this1[10] * this1[7]) + (this1[4] * this1[9] - this1[8] * this1[5]) * (this1[2] * this1[15] - this1[14] * this1[3]) - (this1[4] * this1[13] - this1[12] * this1[5]) * (this1[2] * this1[11] - this1[10] * this1[3]) + (this1[8] * this1[13] - this1[12] * this1[9]) * (this1[2] * this1[7] - this1[6] * this1[3]); -}; -lime.math._Matrix4.Matrix4_Impl_.get_position = function(this1) { - return new lime.math.Vector4(this1[12],this1[13],this1[14]); -}; -lime.math._Matrix4.Matrix4_Impl_.set_position = function(this1,val) { - this1[12] = val.x; - this1[13] = val.y; - this1[14] = val.z; - return val; -}; -lime.math._Matrix4.Matrix4_Impl_.get = function(this1,index) { - return this1[index]; -}; -lime.math._Matrix4.Matrix4_Impl_.set = function(this1,index,value) { - this1[index] = value; - return value; -}; -lime.math.Rectangle = function(x,y,width,height) { - if(height == null) height = 0; - if(width == null) width = 0; - if(y == null) y = 0; - if(x == null) x = 0; - this.x = x; - this.y = y; - this.width = width; - this.height = height; -}; -$hxClasses["lime.math.Rectangle"] = lime.math.Rectangle; -lime.math.Rectangle.__name__ = ["lime","math","Rectangle"]; -lime.math.Rectangle.prototype = { - clone: function() { - return new lime.math.Rectangle(this.x,this.y,this.width,this.height); - } - ,contains: function(x,y) { - return x >= this.x && y >= this.y && x < this.get_right() && y < this.get_bottom(); - } - ,containsPoint: function(point) { - return this.contains(point.x,point.y); - } - ,containsRect: function(rect) { - if(rect.width <= 0 || rect.height <= 0) return rect.x > this.x && rect.y > this.y && rect.get_right() < this.get_right() && rect.get_bottom() < this.get_bottom(); else return rect.x >= this.x && rect.y >= this.y && rect.get_right() <= this.get_right() && rect.get_bottom() <= this.get_bottom(); - } - ,copyFrom: function(sourceRect) { - this.x = sourceRect.x; - this.y = sourceRect.y; - this.width = sourceRect.width; - this.height = sourceRect.height; - } - ,equals: function(toCompare) { - return toCompare != null && this.x == toCompare.x && this.y == toCompare.y && this.width == toCompare.width && this.height == toCompare.height; - } - ,inflate: function(dx,dy) { - this.x -= dx; - this.width += dx * 2; - this.y -= dy; - this.height += dy * 2; - } - ,inflatePoint: function(point) { - this.inflate(point.x,point.y); - } - ,intersection: function(toIntersect) { - var x0; - if(this.x < toIntersect.x) x0 = toIntersect.x; else x0 = this.x; - var x1; - if(this.get_right() > toIntersect.get_right()) x1 = toIntersect.get_right(); else x1 = this.get_right(); - if(x1 <= x0) return new lime.math.Rectangle(); - var y0; - if(this.y < toIntersect.y) y0 = toIntersect.y; else y0 = this.y; - var y1; - if(this.get_bottom() > toIntersect.get_bottom()) y1 = toIntersect.get_bottom(); else y1 = this.get_bottom(); - if(y1 <= y0) return new lime.math.Rectangle(); - return new lime.math.Rectangle(x0,y0,x1 - x0,y1 - y0); - } - ,intersects: function(toIntersect) { - var x0; - if(this.x < toIntersect.x) x0 = toIntersect.x; else x0 = this.x; - var x1; - if(this.get_right() > toIntersect.get_right()) x1 = toIntersect.get_right(); else x1 = this.get_right(); - if(x1 <= x0) return false; - var y0; - if(this.y < toIntersect.y) y0 = toIntersect.y; else y0 = this.y; - var y1; - if(this.get_bottom() > toIntersect.get_bottom()) y1 = toIntersect.get_bottom(); else y1 = this.get_bottom(); - return y1 > y0; - } - ,isEmpty: function() { - return this.width <= 0 || this.height <= 0; - } - ,offset: function(dx,dy) { - this.x += dx; - this.y += dy; - } - ,offsetPoint: function(point) { - this.x += point.x; - this.y += point.y; - } - ,setEmpty: function() { - this.x = this.y = this.width = this.height = 0; - } - ,setTo: function(xa,ya,widtha,heighta) { - this.x = xa; - this.y = ya; - this.width = widtha; - this.height = heighta; - } - ,transform: function(m) { - var tx0 = m.a * this.x + m.c * this.y; - var tx1 = tx0; - var ty0 = m.b * this.x + m.d * this.y; - var ty1 = ty0; - var tx = m.a * (this.x + this.width) + m.c * this.y; - var ty = m.b * (this.x + this.width) + m.d * this.y; - if(tx < tx0) tx0 = tx; - if(ty < ty0) ty0 = ty; - if(tx > tx1) tx1 = tx; - if(ty > ty1) ty1 = ty; - tx = m.a * (this.x + this.width) + m.c * (this.y + this.height); - ty = m.b * (this.x + this.width) + m.d * (this.y + this.height); - if(tx < tx0) tx0 = tx; - if(ty < ty0) ty0 = ty; - if(tx > tx1) tx1 = tx; - if(ty > ty1) ty1 = ty; - tx = m.a * this.x + m.c * (this.y + this.height); - ty = m.b * this.x + m.d * (this.y + this.height); - if(tx < tx0) tx0 = tx; - if(ty < ty0) ty0 = ty; - if(tx > tx1) tx1 = tx; - if(ty > ty1) ty1 = ty; - return new lime.math.Rectangle(tx0 + m.tx,ty0 + m.ty,tx1 - tx0,ty1 - ty0); - } - ,union: function(toUnion) { - if(this.width == 0 || this.height == 0) return toUnion.clone(); else if(toUnion.width == 0 || toUnion.height == 0) return this.clone(); - var x0; - if(this.x > toUnion.x) x0 = toUnion.x; else x0 = this.x; - var x1; - if(this.get_right() < toUnion.get_right()) x1 = toUnion.get_right(); else x1 = this.get_right(); - var y0; - if(this.y > toUnion.y) y0 = toUnion.y; else y0 = this.y; - var y1; - if(this.get_bottom() < toUnion.get_bottom()) y1 = toUnion.get_bottom(); else y1 = this.get_bottom(); - return new lime.math.Rectangle(x0,y0,x1 - x0,y1 - y0); - } - ,__contract: function(x,y,width,height) { - if(this.width == 0 && this.height == 0) return; - var cacheRight = this.get_right(); - var cacheBottom = this.get_bottom(); - if(this.x < x) this.x = x; - if(this.y < y) this.y = y; - if(this.get_right() > x + width) this.width = x + width - this.x; - if(this.get_bottom() > y + height) this.height = y + height - this.y; - } - ,__expand: function(x,y,width,height) { - if(this.width == 0 && this.height == 0) { - this.x = x; - this.y = y; - this.width = width; - this.height = height; - return; - } - var cacheRight = this.get_right(); - var cacheBottom = this.get_bottom(); - if(this.x > x) this.x = x; - if(this.y > y) this.y = y; - if(cacheRight < x + width) this.width = x + width - this.x; - if(cacheBottom < y + height) this.height = y + height - this.y; - } - ,__toFlashRectangle: function() { - return null; - } - ,get_bottom: function() { - return this.y + this.height; - } - ,set_bottom: function(b) { - this.height = b - this.y; - return b; - } - ,get_bottomRight: function() { - return new lime.math.Vector2(this.x + this.width,this.y + this.height); - } - ,set_bottomRight: function(p) { - this.width = p.x - this.x; - this.height = p.y - this.y; - return p.clone(); - } - ,get_left: function() { - return this.x; - } - ,set_left: function(l) { - this.width -= l - this.x; - this.x = l; - return l; - } - ,get_right: function() { - return this.x + this.width; - } - ,set_right: function(r) { - this.width = r - this.x; - return r; - } - ,get_size: function() { - return new lime.math.Vector2(this.width,this.height); - } - ,set_size: function(p) { - this.width = p.x; - this.height = p.y; - return p.clone(); - } - ,get_top: function() { - return this.y; - } - ,set_top: function(t) { - this.height -= t - this.y; - this.y = t; - return t; - } - ,get_topLeft: function() { - return new lime.math.Vector2(this.x,this.y); - } - ,set_topLeft: function(p) { - this.x = p.x; - this.y = p.y; - return p.clone(); - } - ,__class__: lime.math.Rectangle - ,__properties__: {set_topLeft:"set_topLeft",get_topLeft:"get_topLeft",set_top:"set_top",get_top:"get_top",set_size:"set_size",get_size:"get_size",set_right:"set_right",get_right:"get_right",set_left:"set_left",get_left:"get_left",set_bottomRight:"set_bottomRight",get_bottomRight:"get_bottomRight",set_bottom:"set_bottom",get_bottom:"get_bottom"} -}; -lime.math.Vector2 = function(x,y) { - if(y == null) y = 0; - if(x == null) x = 0; - this.x = x; - this.y = y; -}; -$hxClasses["lime.math.Vector2"] = lime.math.Vector2; -lime.math.Vector2.__name__ = ["lime","math","Vector2"]; -lime.math.Vector2.distance = function(pt1,pt2) { - var dx = pt1.x - pt2.x; - var dy = pt1.y - pt2.y; - return Math.sqrt(dx * dx + dy * dy); -}; -lime.math.Vector2.interpolate = function(pt1,pt2,f) { - return new lime.math.Vector2(pt2.x + f * (pt1.x - pt2.x),pt2.y + f * (pt1.y - pt2.y)); -}; -lime.math.Vector2.polar = function(len,angle) { - return new lime.math.Vector2(len * Math.cos(angle),len * Math.sin(angle)); -}; -lime.math.Vector2.prototype = { - add: function(v) { - return new lime.math.Vector2(v.x + this.x,v.y + this.y); - } - ,clone: function() { - return new lime.math.Vector2(this.x,this.y); - } - ,equals: function(toCompare) { - return toCompare != null && toCompare.x == this.x && toCompare.y == this.y; - } - ,normalize: function(thickness) { - if(this.x == 0 && this.y == 0) return; else { - var norm = thickness / Math.sqrt(this.x * this.x + this.y * this.y); - this.x *= norm; - this.y *= norm; - } - } - ,offset: function(dx,dy) { - this.x += dx; - this.y += dy; - } - ,setTo: function(xa,ya) { - this.x = xa; - this.y = ya; - } - ,subtract: function(v) { - return new lime.math.Vector2(this.x - v.x,this.y - v.y); - } - ,__toFlashPoint: function() { - return null; - } - ,get_length: function() { - return Math.sqrt(this.x * this.x + this.y * this.y); - } - ,__class__: lime.math.Vector2 - ,__properties__: {get_length:"get_length"} -}; -lime.math.Vector4 = function(x,y,z,w) { - if(w == null) w = 0.; - if(z == null) z = 0.; - if(y == null) y = 0.; - if(x == null) x = 0.; - this.w = w; - this.x = x; - this.y = y; - this.z = z; -}; -$hxClasses["lime.math.Vector4"] = lime.math.Vector4; -lime.math.Vector4.__name__ = ["lime","math","Vector4"]; -lime.math.Vector4.__properties__ = {get_Z_AXIS:"get_Z_AXIS",get_Y_AXIS:"get_Y_AXIS",get_X_AXIS:"get_X_AXIS"} -lime.math.Vector4.X_AXIS = null; -lime.math.Vector4.Y_AXIS = null; -lime.math.Vector4.Z_AXIS = null; -lime.math.Vector4.angleBetween = function(a,b) { - var a0 = new lime.math.Vector4(a.x,a.y,a.z,a.w); - a0.normalize(); - var b0 = new lime.math.Vector4(b.x,b.y,b.z,b.w); - b0.normalize(); - return Math.acos(a0.x * b0.x + a0.y * b0.y + a0.z * b0.z); -}; -lime.math.Vector4.distance = function(pt1,pt2) { - var x = pt2.x - pt1.x; - var y = pt2.y - pt1.y; - var z = pt2.z - pt1.z; - return Math.sqrt(x * x + y * y + z * z); -}; -lime.math.Vector4.get_X_AXIS = function() { - return new lime.math.Vector4(1,0,0); -}; -lime.math.Vector4.get_Y_AXIS = function() { - return new lime.math.Vector4(0,1,0); -}; -lime.math.Vector4.get_Z_AXIS = function() { - return new lime.math.Vector4(0,0,1); -}; -lime.math.Vector4.prototype = { - add: function(a) { - return new lime.math.Vector4(this.x + a.x,this.y + a.y,this.z + a.z); - } - ,clone: function() { - return new lime.math.Vector4(this.x,this.y,this.z,this.w); - } - ,copyFrom: function(sourceVector4) { - this.x = sourceVector4.x; - this.y = sourceVector4.y; - this.z = sourceVector4.z; - } - ,crossProduct: function(a) { - return new lime.math.Vector4(this.y * a.z - this.z * a.y,this.z * a.x - this.x * a.z,this.x * a.y - this.y * a.x,1); - } - ,decrementBy: function(a) { - this.x -= a.x; - this.y -= a.y; - this.z -= a.z; - } - ,dotProduct: function(a) { - return this.x * a.x + this.y * a.y + this.z * a.z; - } - ,equals: function(toCompare,allFour) { - if(allFour == null) allFour = false; - return this.x == toCompare.x && this.y == toCompare.y && this.z == toCompare.z && (!allFour || this.w == toCompare.w); - } - ,incrementBy: function(a) { - this.x += a.x; - this.y += a.y; - this.z += a.z; - } - ,nearEquals: function(toCompare,tolerance,allFour) { - if(allFour == null) allFour = false; - return Math.abs(this.x - toCompare.x) < tolerance && Math.abs(this.y - toCompare.y) < tolerance && Math.abs(this.z - toCompare.z) < tolerance && (!allFour || Math.abs(this.w - toCompare.w) < tolerance); - } - ,negate: function() { - this.x *= -1; - this.y *= -1; - this.z *= -1; - } - ,normalize: function() { - var l = Math.sqrt(this.x * this.x + this.y * this.y + this.z * this.z); - if(l != 0) { - this.x /= l; - this.y /= l; - this.z /= l; - } - return l; - } - ,project: function() { - this.x /= this.w; - this.y /= this.w; - this.z /= this.w; - } - ,scaleBy: function(s) { - this.x *= s; - this.y *= s; - this.z *= s; - } - ,setTo: function(xa,ya,za) { - this.x = xa; - this.y = ya; - this.z = za; - } - ,subtract: function(a) { - return new lime.math.Vector4(this.x - a.x,this.y - a.y,this.z - a.z); - } - ,toString: function() { - return "Vector4(" + this.x + ", " + this.y + ", " + this.z + ")"; - } - ,get_length: function() { - return Math.sqrt(this.x * this.x + this.y * this.y + this.z * this.z); - } - ,get_lengthSquared: function() { - return this.x * this.x + this.y * this.y + this.z * this.z; - } - ,__class__: lime.math.Vector4 - ,__properties__: {get_lengthSquared:"get_lengthSquared",get_length:"get_length"} -}; -lime.net = {}; -lime.net.URLLoader = function(request) { - this.onSecurityError = new lime.app.Event(); - this.onProgress = new lime.app.Event(); - this.onOpen = new lime.app.Event(); - this.onIOError = new lime.app.Event(); - this.onHTTPStatus = new lime.app.Event(); - this.onComplete = new lime.app.Event(); - this.bytesLoaded = 0; - this.bytesTotal = 0; - this.set_dataFormat(lime.net.URLLoaderDataFormat.TEXT); - if(request != null) this.load(request); -}; -$hxClasses["lime.net.URLLoader"] = lime.net.URLLoader; -lime.net.URLLoader.__name__ = ["lime","net","URLLoader"]; -lime.net.URLLoader.prototype = { - close: function() { - } - ,getData: function() { - return null; - } - ,load: function(request) { - this.requestUrl(request.url,request.method,request.data,request.formatRequestHeaders()); - } - ,registerEvents: function(subject) { - var _g = this; - var self = this; - if(typeof XMLHttpRequestProgressEvent != "undefined") subject.addEventListener("progress",$bind(this,this.__onProgress),false); - subject.onreadystatechange = function() { - if(subject.readyState != 4) return; - var s; - try { - s = subject.status; - } catch( e ) { - s = null; - } - if(s == undefined) s = null; - if(s != null) { - var listeners = self.onHTTPStatus.listeners; - var repeat = self.onHTTPStatus.repeat; - var length = listeners.length; - var i = 0; - while(i < length) { - listeners[i](_g,s); - if(!repeat[i]) { - self.onHTTPStatus.remove(listeners[i]); - length--; - } else i++; - } - } - if(s != null && s >= 200 && s < 400) self.__onData(subject.response); else if(s == null) { - var listeners1 = self.onIOError.listeners; - var repeat1 = self.onIOError.repeat; - var length1 = listeners1.length; - var i1 = 0; - while(i1 < length1) { - listeners1[i1](_g,"Failed to connect or resolve host"); - if(!repeat1[i1]) { - self.onIOError.remove(listeners1[i1]); - length1--; - } else i1++; - } - } else if(s == 12029) { - var listeners2 = self.onIOError.listeners; - var repeat2 = self.onIOError.repeat; - var length2 = listeners2.length; - var i2 = 0; - while(i2 < length2) { - listeners2[i2](_g,"Failed to connect to host"); - if(!repeat2[i2]) { - self.onIOError.remove(listeners2[i2]); - length2--; - } else i2++; - } - } else if(s == 12007) { - var listeners3 = self.onIOError.listeners; - var repeat3 = self.onIOError.repeat; - var length3 = listeners3.length; - var i3 = 0; - while(i3 < length3) { - listeners3[i3](_g,"Unknown host"); - if(!repeat3[i3]) { - self.onIOError.remove(listeners3[i3]); - length3--; - } else i3++; - } - } else if(s == 0) { - var listeners4 = self.onIOError.listeners; - var repeat4 = self.onIOError.repeat; - var length4 = listeners4.length; - var i4 = 0; - while(i4 < length4) { - listeners4[i4](_g,"Unable to make request (may be blocked due to cross-domain permissions)"); - if(!repeat4[i4]) { - self.onIOError.remove(listeners4[i4]); - length4--; - } else i4++; - } - var listeners5 = self.onSecurityError.listeners; - var repeat5 = self.onSecurityError.repeat; - var length5 = listeners5.length; - var i5 = 0; - while(i5 < length5) { - listeners5[i5](_g,"Unable to make request (may be blocked due to cross-domain permissions)"); - if(!repeat5[i5]) { - self.onSecurityError.remove(listeners5[i5]); - length5--; - } else i5++; - } - } else { - var listeners6 = self.onIOError.listeners; - var repeat6 = self.onIOError.repeat; - var length6 = listeners6.length; - var i6 = 0; - while(i6 < length6) { - listeners6[i6](_g,"Http Error #" + subject.status); - if(!repeat6[i6]) { - self.onIOError.remove(listeners6[i6]); - length6--; - } else i6++; - } - } - }; - } - ,requestUrl: function(url,method,data,requestHeaders) { - var xmlHttpRequest = new XMLHttpRequest(); - this.registerEvents(xmlHttpRequest); - var uri = ""; - if(js.Boot.__instanceof(data,lime.utils.ByteArray)) { - var data1 = data; - var _g = this.dataFormat; - switch(_g[1]) { - case 0: - uri = data1.data.buffer; - break; - default: - uri = data1.readUTFBytes(data1.length); - } - } else if(js.Boot.__instanceof(data,lime.net.URLVariables)) { - var data2 = data; - var _g1 = 0; - var _g11 = Reflect.fields(data2); - while(_g1 < _g11.length) { - var p = _g11[_g1]; - ++_g1; - if(uri.length != 0) uri += "&"; - uri += encodeURIComponent(p) + "=" + StringTools.urlEncode(Reflect.field(data2,p)); - } - } else if(data != null) uri = data.toString(); - try { - if(method == "GET" && uri != null && uri != "") { - var question = url.split("?").length <= 1; - xmlHttpRequest.open("GET",url + (question?"?":"&") + Std.string(uri),true); - uri = ""; - } else xmlHttpRequest.open(js.Boot.__cast(method , String),url,true); - } catch( e ) { - var listeners = this.onIOError.listeners; - var repeat = this.onIOError.repeat; - var length = listeners.length; - var i = 0; - while(i < length) { - listeners[i](this,e.toString()); - if(!repeat[i]) { - this.onIOError.remove(listeners[i]); - length--; - } else i++; - } - return; - } - var _g2 = this.dataFormat; - switch(_g2[1]) { - case 0: - xmlHttpRequest.responseType = "arraybuffer"; - break; - default: - } - var _g3 = 0; - while(_g3 < requestHeaders.length) { - var header = requestHeaders[_g3]; - ++_g3; - xmlHttpRequest.setRequestHeader(header.name,header.value); - } - xmlHttpRequest.send(uri); - var listeners1 = this.onOpen.listeners; - var repeat1 = this.onOpen.repeat; - var length1 = listeners1.length; - var i1 = 0; - while(i1 < length1) { - listeners1[i1](this); - if(!repeat1[i1]) { - this.onOpen.remove(listeners1[i1]); - length1--; - } else i1++; - } - this.getData = function() { - if(xmlHttpRequest.response != null) return xmlHttpRequest.response; else return xmlHttpRequest.responseText; - }; - } - ,__onData: function(_) { - var content = this.getData(); - var _g = this.dataFormat; - switch(_g[1]) { - case 0: - this.data = lime.utils.ByteArray.__ofBuffer(content); - break; - default: - this.data = Std.string(content); - } - var listeners = this.onComplete.listeners; - var repeat = this.onComplete.repeat; - var length = listeners.length; - var i = 0; - while(i < length) { - listeners[i](this); - if(!repeat[i]) { - this.onComplete.remove(listeners[i]); - length--; - } else i++; - } - } - ,__onProgress: function(event) { - this.bytesLoaded = event.loaded; - this.bytesTotal = event.total; - var listeners = this.onProgress.listeners; - var repeat = this.onProgress.repeat; - var length = listeners.length; - var i = 0; - while(i < length) { - listeners[i](this,this.bytesLoaded,this.bytesTotal); - if(!repeat[i]) { - this.onProgress.remove(listeners[i]); - length--; - } else i++; - } - } - ,set_dataFormat: function(inputVal) { - if(inputVal == lime.net.URLLoaderDataFormat.BINARY && !Reflect.hasField(window,"ArrayBuffer")) this.dataFormat = lime.net.URLLoaderDataFormat.TEXT; else this.dataFormat = inputVal; - return this.dataFormat; - } - ,__class__: lime.net.URLLoader - ,__properties__: {set_dataFormat:"set_dataFormat"} -}; -lime.net.URLLoaderDataFormat = $hxClasses["lime.net.URLLoaderDataFormat"] = { __ename__ : true, __constructs__ : ["BINARY","TEXT","VARIABLES"] }; -lime.net.URLLoaderDataFormat.BINARY = ["BINARY",0]; -lime.net.URLLoaderDataFormat.BINARY.toString = $estr; -lime.net.URLLoaderDataFormat.BINARY.__enum__ = lime.net.URLLoaderDataFormat; -lime.net.URLLoaderDataFormat.TEXT = ["TEXT",1]; -lime.net.URLLoaderDataFormat.TEXT.toString = $estr; -lime.net.URLLoaderDataFormat.TEXT.__enum__ = lime.net.URLLoaderDataFormat; -lime.net.URLLoaderDataFormat.VARIABLES = ["VARIABLES",2]; -lime.net.URLLoaderDataFormat.VARIABLES.toString = $estr; -lime.net.URLLoaderDataFormat.VARIABLES.__enum__ = lime.net.URLLoaderDataFormat; -lime.net.URLRequest = function(inURL) { - if(inURL != null) this.url = inURL; - this.requestHeaders = []; - this.method = "GET"; - this.contentType = null; -}; -$hxClasses["lime.net.URLRequest"] = lime.net.URLRequest; -lime.net.URLRequest.__name__ = ["lime","net","URLRequest"]; -lime.net.URLRequest.prototype = { - formatRequestHeaders: function() { - var res = this.requestHeaders; - if(res == null) res = []; - if(this.method == "GET" || this.data == null) return res; - if(typeof(this.data) == "string" || js.Boot.__instanceof(this.data,lime.utils.ByteArray)) { - res = res.slice(); - res.push(new lime.net.URLRequestHeader("Content-Type",this.contentType != null?this.contentType:"application/x-www-form-urlencoded")); - } - return res; - } - ,__class__: lime.net.URLRequest -}; -lime.net.URLRequestHeader = function(name,value) { - if(value == null) value = ""; - if(name == null) name = ""; - this.name = name; - this.value = value; -}; -$hxClasses["lime.net.URLRequestHeader"] = lime.net.URLRequestHeader; -lime.net.URLRequestHeader.__name__ = ["lime","net","URLRequestHeader"]; -lime.net.URLRequestHeader.prototype = { - __class__: lime.net.URLRequestHeader -}; -lime.net._URLRequestMethod = {}; -lime.net._URLRequestMethod.URLRequestMethod_Impl_ = function() { }; -$hxClasses["lime.net._URLRequestMethod.URLRequestMethod_Impl_"] = lime.net._URLRequestMethod.URLRequestMethod_Impl_; -lime.net._URLRequestMethod.URLRequestMethod_Impl_.__name__ = ["lime","net","_URLRequestMethod","URLRequestMethod_Impl_"]; -lime.net.URLVariables = function(inEncoded) { - if(inEncoded != null) this.decode(inEncoded); -}; -$hxClasses["lime.net.URLVariables"] = lime.net.URLVariables; -lime.net.URLVariables.__name__ = ["lime","net","URLVariables"]; -lime.net.URLVariables.prototype = { - decode: function(inVars) { - var fields = Reflect.fields(this); - var _g = 0; - while(_g < fields.length) { - var f = fields[_g]; - ++_g; - Reflect.deleteField(this,f); - } - var fields1 = inVars.split(";").join("&").split("&"); - var _g1 = 0; - while(_g1 < fields1.length) { - var f1 = fields1[_g1]; - ++_g1; - var eq = f1.indexOf("="); - if(eq > 0) Reflect.setField(this,StringTools.urlDecode(HxOverrides.substr(f1,0,eq)),StringTools.urlDecode(HxOverrides.substr(f1,eq + 1,null))); else if(eq != 0) Reflect.setField(this,decodeURIComponent(f1.split("+").join(" ")),""); - } - } - ,toString: function() { - var result = new Array(); - var fields = Reflect.fields(this); - var _g = 0; - while(_g < fields.length) { - var f = fields[_g]; - ++_g; - result.push(encodeURIComponent(f) + "=" + StringTools.urlEncode(Reflect.field(this,f))); - } - return result.join("&"); - } - ,__class__: lime.net.URLVariables -}; -lime.system = {}; -lime.system.System = function() { }; -$hxClasses["lime.system.System"] = lime.system.System; -lime.system.System.__name__ = ["lime","system","System"]; -lime.system.System.__properties__ = {get_userDirectory:"get_userDirectory",get_fontsDirectory:"get_fontsDirectory",get_documentsDirectory:"get_documentsDirectory",get_desktopDirectory:"get_desktopDirectory",get_applicationStorageDirectory:"get_applicationStorageDirectory",get_applicationDirectory:"get_applicationDirectory"} -lime.system.System.applicationDirectory = null; -lime.system.System.applicationStorageDirectory = null; -lime.system.System.desktopDirectory = null; -lime.system.System.disableCFFI = null; -lime.system.System.documentsDirectory = null; -lime.system.System.fontsDirectory = null; -lime.system.System.userDirectory = null; -lime.system.System.embed = $hx_exports.lime.embed = function(element,width,height,background,assetsPrefix) { - var htmlElement = null; - if(typeof(element) == "string") htmlElement = window.document.getElementById(js.Boot.__cast(element , String)); else if(element == null) htmlElement = window.document.createElement("div"); else htmlElement = element; - var color = null; - if(background != null) { - background = StringTools.replace(background,"#",""); - if(background.indexOf("0x") > -1) color = Std.parseInt(background); else color = Std.parseInt("0x" + background); - } - if(width == null) width = 0; - if(height == null) height = 0; - ApplicationMain.config.background = color; - ApplicationMain.config.element = htmlElement; - ApplicationMain.config.width = width; - ApplicationMain.config.height = height; - ApplicationMain.config.assetsPrefix = assetsPrefix; - ApplicationMain.create(); -}; -lime.system.System.exit = function(code) { -}; -lime.system.System.findHaxeLib = function(library) { - return ""; -}; -lime.system.System.getTimer = function() { - return new Date().getTime(); -}; -lime.system.System.load = function(library,method,args,lazy) { - if(lazy == null) lazy = false; - if(args == null) args = 0; - if(lime.system.System.disableCFFI) return Reflect.makeVarArgs(function(__) { - return { }; - }); - var result = null; - return result; -}; -lime.system.System.sysName = function() { - return null; -}; -lime.system.System.tryLoad = function(name,library,func,args) { - return null; -}; -lime.system.System.loaderTrace = function(message) { -}; -lime.system.System.get_applicationDirectory = function() { - return null; -}; -lime.system.System.get_applicationStorageDirectory = function() { - var company = "MyCompany"; - var file = "MyApplication"; - if(lime.app.Application.current != null && lime.app.Application.current.config != null) { - if(lime.app.Application.current.config.company != null) company = lime.app.Application.current.config.company; - if(lime.app.Application.current.config.file != null) file = lime.app.Application.current.config.file; - } - return null; -}; -lime.system.System.get_desktopDirectory = function() { - return null; -}; -lime.system.System.get_documentsDirectory = function() { - return null; -}; -lime.system.System.get_fontsDirectory = function() { - return null; -}; -lime.system.System.get_userDirectory = function() { - return null; -}; -lime.system._System = {}; -lime.system._System.SystemDirectory_Impl_ = function() { }; -$hxClasses["lime.system._System.SystemDirectory_Impl_"] = lime.system._System.SystemDirectory_Impl_; -lime.system._System.SystemDirectory_Impl_.__name__ = ["lime","system","_System","SystemDirectory_Impl_"]; -lime.text = {}; -lime.text.Font = function(name) { - if(name != null) this.name = name; - if(this.__fontPath != null) this.__fromFile(this.__fontPath); -}; -$hxClasses["lime.text.Font"] = lime.text.Font; -lime.text.Font.__name__ = ["lime","text","Font"]; -lime.text.Font.fromBytes = function(bytes) { - var font = new lime.text.Font(); - font.__fromBytes(bytes); - return font; -}; -lime.text.Font.fromFile = function(path) { - var font = new lime.text.Font(); - font.__fromFile(path); - return font; -}; -lime.text.Font.prototype = { - decompose: function() { - return null; - } - ,getGlyph: function(character) { - return -1; - } - ,getGlyphs: function(characters) { - if(characters == null) characters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^`'\"/\\&*()[]{}<>|:;_-+=?,. "; - return null; - } - ,getGlyphMetrics: function(glyph) { - return null; - } - ,renderGlyph: function(glyph,fontSize) { - return null; - } - ,renderGlyphs: function(glyphs,fontSize) { - return null; - } - ,__fromBytes: function(bytes) { - this.__fontPath = null; - } - ,__fromFile: function(path) { - this.__fontPath = path; - } - ,get_ascender: function() { - return 0; - } - ,get_descender: function() { - return 0; - } - ,get_height: function() { - return 0; - } - ,get_numGlyphs: function() { - return 0; - } - ,get_underlinePosition: function() { - return 0; - } - ,get_underlineThickness: function() { - return 0; - } - ,get_unitsPerEM: function() { - return 0; - } - ,__class__: lime.text.Font - ,__properties__: {get_unitsPerEM:"get_unitsPerEM",get_underlineThickness:"get_underlineThickness",get_underlinePosition:"get_underlinePosition",get_numGlyphs:"get_numGlyphs",get_height:"get_height",get_descender:"get_descender",get_ascender:"get_ascender"} -}; -lime.text._Glyph = {}; -lime.text._Glyph.Glyph_Impl_ = function() { }; -$hxClasses["lime.text._Glyph.Glyph_Impl_"] = lime.text._Glyph.Glyph_Impl_; -lime.text._Glyph.Glyph_Impl_.__name__ = ["lime","text","_Glyph","Glyph_Impl_"]; -lime.text._Glyph.Glyph_Impl_._new = function(i) { - return i; -}; -lime.text.GlyphMetrics = function() { -}; -$hxClasses["lime.text.GlyphMetrics"] = lime.text.GlyphMetrics; -lime.text.GlyphMetrics.__name__ = ["lime","text","GlyphMetrics"]; -lime.text.GlyphMetrics.prototype = { - __class__: lime.text.GlyphMetrics -}; -lime.text.GlyphPosition = function(glyph,advance,offset) { - this.glyph = glyph; - this.advance = advance; - if(offset != null) this.offset = offset; else this.offset = new lime.math.Vector2(); -}; -$hxClasses["lime.text.GlyphPosition"] = lime.text.GlyphPosition; -lime.text.GlyphPosition.__name__ = ["lime","text","GlyphPosition"]; -lime.text.GlyphPosition.prototype = { - __class__: lime.text.GlyphPosition -}; -lime.text._TextDirection = {}; -lime.text._TextDirection.TextDirection_Impl_ = function() { }; -$hxClasses["lime.text._TextDirection.TextDirection_Impl_"] = lime.text._TextDirection.TextDirection_Impl_; -lime.text._TextDirection.TextDirection_Impl_.__name__ = ["lime","text","_TextDirection","TextDirection_Impl_"]; -lime.text._TextDirection.TextDirection_Impl_.__properties__ = {get_vertical:"get_vertical",get_horizontal:"get_horizontal",get_forward:"get_forward",get_backward:"get_backward"} -lime.text._TextDirection.TextDirection_Impl_.reverse = function(this1) { - this1 = this1 ^ 1; -}; -lime.text._TextDirection.TextDirection_Impl_.toString = function(this1) { - switch(this1) { - case 4: - return "leftToRight"; - case 5: - return "rightToLeft"; - case 6: - return "topToBottom"; - case 7: - return "bottomToTop"; - default: - return ""; - } -}; -lime.text._TextDirection.TextDirection_Impl_.get_backward = function(this1) { - return (this1 & -3) == 5; -}; -lime.text._TextDirection.TextDirection_Impl_.get_forward = function(this1) { - return (this1 & -3) == 4; -}; -lime.text._TextDirection.TextDirection_Impl_.get_horizontal = function(this1) { - return (this1 & -2) == 4; -}; -lime.text._TextDirection.TextDirection_Impl_.get_vertical = function(this1) { - return (this1 & -2) == 6; -}; -lime.text.TextLayout = function(text,font,size,direction,script,language) { - if(language == null) language = "en"; - if(script == null) script = "Zyyy"; - if(direction == null) direction = 4; - if(size == null) size = 12; - if(text == null) text = ""; - this.set_text(text); - this.set_font(font); - this.set_size(size); - this.__direction = direction; - this.__script = script; - this.__language = language; - this.positions = []; - this.__dirty = true; -}; -$hxClasses["lime.text.TextLayout"] = lime.text.TextLayout; -lime.text.TextLayout.__name__ = ["lime","text","TextLayout"]; -lime.text.TextLayout.prototype = { - __position: function() { - this.positions = []; - } - ,get_positions: function() { - if(this.__dirty) { - this.__dirty = false; - this.__position(); - } - return this.positions; - } - ,get_direction: function() { - return this.__direction; - } - ,set_direction: function(value) { - if(value == this.__direction) return value; - this.__direction = value; - this.__dirty = true; - return value; - } - ,set_font: function(value) { - if(value == this.font) return value; - this.font = value; - this.__dirty = true; - return value; - } - ,get_glyphs: function() { - var glyphs = []; - var _g = 0; - var _g1 = this.get_positions(); - while(_g < _g1.length) { - var position = _g1[_g]; - ++_g; - glyphs.push(position.glyph); - } - return glyphs; - } - ,get_language: function() { - return this.__language; - } - ,set_language: function(value) { - if(value == this.__language) return value; - this.__language = value; - this.__dirty = true; - return value; - } - ,get_script: function() { - return this.__script; - } - ,set_script: function(value) { - if(value == this.__script) return value; - this.__script = value; - this.__dirty = true; - return value; - } - ,set_size: function(value) { - if(value == this.size) return value; - this.size = value; - this.__dirty = true; - return value; - } - ,set_text: function(value) { - if(value == this.text) return value; - this.text = value; - this.__dirty = true; - return value; - } - ,__class__: lime.text.TextLayout - ,__properties__: {set_text:"set_text",set_size:"set_size",set_script:"set_script",get_script:"get_script",get_positions:"get_positions",set_language:"set_language",get_language:"get_language",get_glyphs:"get_glyphs",set_font:"set_font",set_direction:"set_direction",get_direction:"get_direction"} -}; -lime.text._TextScript = {}; -lime.text._TextScript.TextScript_Impl_ = function() { }; -$hxClasses["lime.text._TextScript.TextScript_Impl_"] = lime.text._TextScript.TextScript_Impl_; -lime.text._TextScript.TextScript_Impl_.__name__ = ["lime","text","_TextScript","TextScript_Impl_"]; -lime.text._TextScript.TextScript_Impl_.__properties__ = {get_rightToLeft:"get_rightToLeft"} -lime.text._TextScript.TextScript_Impl_.get_rightToLeft = function(this1) { - switch(this1) { - case "Hebr":case "Arab":case "Syrc":case "Thaa":case "Nkoo":case "Samr":case "Mand":case "Armi":case "Phnx":case "Lydi":case "Cprt":case "Khar":case "Sarb":case "Avst":case "Phli":case "Phlp":case "Orkh": - return true; - default: - return false; - } -}; -lime.ui = {}; -lime.ui.Gamepad = function(id) { - this.id = id; - this.connected = true; -}; -$hxClasses["lime.ui.Gamepad"] = lime.ui.Gamepad; -lime.ui.Gamepad.__name__ = ["lime","ui","Gamepad"]; -lime.ui.Gamepad.prototype = { - get_guid: function() { - return null; - } - ,get_name: function() { - return null; - } - ,__class__: lime.ui.Gamepad - ,__properties__: {get_name:"get_name",get_guid:"get_guid"} -}; -lime.ui._GamepadAxis = {}; -lime.ui._GamepadAxis.GamepadAxis_Impl_ = function() { }; -$hxClasses["lime.ui._GamepadAxis.GamepadAxis_Impl_"] = lime.ui._GamepadAxis.GamepadAxis_Impl_; -lime.ui._GamepadAxis.GamepadAxis_Impl_.__name__ = ["lime","ui","_GamepadAxis","GamepadAxis_Impl_"]; -lime.ui._GamepadAxis.GamepadAxis_Impl_.toString = function(this1) { - switch(this1) { - case 0: - return "LEFT_X"; - case 1: - return "LEFT_Y"; - case 2: - return "RIGHT_X"; - case 3: - return "RIGHT_Y"; - case 4: - return "TRIGGER_LEFT"; - case 5: - return "TRIGGER_RIGHT"; - default: - return "UNKNOWN (" + this1 + ")"; - } -}; -lime.ui._GamepadButton = {}; -lime.ui._GamepadButton.GamepadButton_Impl_ = function() { }; -$hxClasses["lime.ui._GamepadButton.GamepadButton_Impl_"] = lime.ui._GamepadButton.GamepadButton_Impl_; -lime.ui._GamepadButton.GamepadButton_Impl_.__name__ = ["lime","ui","_GamepadButton","GamepadButton_Impl_"]; -lime.ui._GamepadButton.GamepadButton_Impl_.toString = function(this1) { - switch(this1) { - case 0: - return "A"; - case 1: - return "B"; - case 2: - return "X"; - case 3: - return "Y"; - case 4: - return "BACK"; - case 5: - return "GUIDE"; - case 6: - return "START"; - case 7: - return "LEFT_STICK"; - case 8: - return "RIGHT_STICK"; - case 9: - return "LEFT_SHOULDER"; - case 10: - return "RIGHT_SHOULDER"; - case 11: - return "DPAD_UP"; - case 12: - return "DPAD_DOWN"; - case 13: - return "DPAD_LEFT"; - case 14: - return "DPAD_RIGHT"; - default: - return "UNKNOWN (" + this1 + ")"; - } -}; -lime.ui._KeyCode = {}; -lime.ui._KeyCode.KeyCode_Impl_ = function() { }; -$hxClasses["lime.ui._KeyCode.KeyCode_Impl_"] = lime.ui._KeyCode.KeyCode_Impl_; -lime.ui._KeyCode.KeyCode_Impl_.__name__ = ["lime","ui","_KeyCode","KeyCode_Impl_"]; -lime.ui._KeyModifier = {}; -lime.ui._KeyModifier.KeyModifier_Impl_ = function() { }; -$hxClasses["lime.ui._KeyModifier.KeyModifier_Impl_"] = lime.ui._KeyModifier.KeyModifier_Impl_; -lime.ui._KeyModifier.KeyModifier_Impl_.__name__ = ["lime","ui","_KeyModifier","KeyModifier_Impl_"]; -lime.ui._KeyModifier.KeyModifier_Impl_.__properties__ = {set_shiftKey:"set_shiftKey",get_shiftKey:"get_shiftKey",set_numLock:"set_numLock",get_numLock:"get_numLock",set_metaKey:"set_metaKey",get_metaKey:"get_metaKey",set_ctrlKey:"set_ctrlKey",get_ctrlKey:"get_ctrlKey",set_capsLock:"set_capsLock",get_capsLock:"get_capsLock",set_altKey:"set_altKey",get_altKey:"get_altKey"} -lime.ui._KeyModifier.KeyModifier_Impl_.get_altKey = function(this1) { - return (this1 & 256) > 0 || (this1 & 512) > 0; -}; -lime.ui._KeyModifier.KeyModifier_Impl_.set_altKey = function(this1,value) { - if(value) this1 |= 768; else this1 &= 268435455 - 768; - return value; -}; -lime.ui._KeyModifier.KeyModifier_Impl_.get_capsLock = function(this1) { - return (this1 & 8192) > 0 || (this1 & 8192) > 0; -}; -lime.ui._KeyModifier.KeyModifier_Impl_.set_capsLock = function(this1,value) { - if(value) this1 |= 8192; else this1 &= 268435455 - 8192; - return value; -}; -lime.ui._KeyModifier.KeyModifier_Impl_.get_ctrlKey = function(this1) { - return (this1 & 64) > 0 || (this1 & 128) > 0; -}; -lime.ui._KeyModifier.KeyModifier_Impl_.set_ctrlKey = function(this1,value) { - if(value) this1 |= 192; else this1 &= 268435455 - 192; - return value; -}; -lime.ui._KeyModifier.KeyModifier_Impl_.get_metaKey = function(this1) { - return (this1 & 1024) > 0 || (this1 & 2048) > 0; -}; -lime.ui._KeyModifier.KeyModifier_Impl_.set_metaKey = function(this1,value) { - if(value) this1 |= 3072; else this1 &= 268435455 - 3072; - return value; -}; -lime.ui._KeyModifier.KeyModifier_Impl_.get_numLock = function(this1) { - return (this1 & 4096) > 0 || (this1 & 4096) > 0; -}; -lime.ui._KeyModifier.KeyModifier_Impl_.set_numLock = function(this1,value) { - if(value) this1 |= 4096; else this1 &= 268435455 - 4096; - return value; -}; -lime.ui._KeyModifier.KeyModifier_Impl_.get_shiftKey = function(this1) { - return (this1 & 1) > 0 || (this1 & 2) > 0; -}; -lime.ui._KeyModifier.KeyModifier_Impl_.set_shiftKey = function(this1,value) { - if(value) this1 |= 3; else this1 &= 268435455 - 3; - return value; -}; -lime.ui.Mouse = function() { }; -$hxClasses["lime.ui.Mouse"] = lime.ui.Mouse; -lime.ui.Mouse.__name__ = ["lime","ui","Mouse"]; -lime.ui.Mouse.__properties__ = {set_lock:"set_lock",get_lock:"get_lock",set_cursor:"set_cursor",get_cursor:"get_cursor"} -lime.ui.Mouse.hide = function() { - lime._backend.html5.HTML5Mouse.hide(); -}; -lime.ui.Mouse.show = function() { - lime._backend.html5.HTML5Mouse.show(); -}; -lime.ui.Mouse.warp = function(x,y,window) { - lime._backend.html5.HTML5Mouse.warp(x,y,window); -}; -lime.ui.Mouse.get_cursor = function() { - return lime._backend.html5.HTML5Mouse.get_cursor(); -}; -lime.ui.Mouse.set_cursor = function(value) { - return lime._backend.html5.HTML5Mouse.set_cursor(value); -}; -lime.ui.Mouse.get_lock = function() { - return lime._backend.html5.HTML5Mouse.get_lock(); -}; -lime.ui.Mouse.set_lock = function(value) { - return lime._backend.html5.HTML5Mouse.set_lock(value); -}; -lime.ui.MouseCursor = $hxClasses["lime.ui.MouseCursor"] = { __ename__ : true, __constructs__ : ["ARROW","CROSSHAIR","DEFAULT","MOVE","POINTER","RESIZE_NESW","RESIZE_NS","RESIZE_NWSE","RESIZE_WE","TEXT","WAIT","WAIT_ARROW","CUSTOM"] }; -lime.ui.MouseCursor.ARROW = ["ARROW",0]; -lime.ui.MouseCursor.ARROW.toString = $estr; -lime.ui.MouseCursor.ARROW.__enum__ = lime.ui.MouseCursor; -lime.ui.MouseCursor.CROSSHAIR = ["CROSSHAIR",1]; -lime.ui.MouseCursor.CROSSHAIR.toString = $estr; -lime.ui.MouseCursor.CROSSHAIR.__enum__ = lime.ui.MouseCursor; -lime.ui.MouseCursor.DEFAULT = ["DEFAULT",2]; -lime.ui.MouseCursor.DEFAULT.toString = $estr; -lime.ui.MouseCursor.DEFAULT.__enum__ = lime.ui.MouseCursor; -lime.ui.MouseCursor.MOVE = ["MOVE",3]; -lime.ui.MouseCursor.MOVE.toString = $estr; -lime.ui.MouseCursor.MOVE.__enum__ = lime.ui.MouseCursor; -lime.ui.MouseCursor.POINTER = ["POINTER",4]; -lime.ui.MouseCursor.POINTER.toString = $estr; -lime.ui.MouseCursor.POINTER.__enum__ = lime.ui.MouseCursor; -lime.ui.MouseCursor.RESIZE_NESW = ["RESIZE_NESW",5]; -lime.ui.MouseCursor.RESIZE_NESW.toString = $estr; -lime.ui.MouseCursor.RESIZE_NESW.__enum__ = lime.ui.MouseCursor; -lime.ui.MouseCursor.RESIZE_NS = ["RESIZE_NS",6]; -lime.ui.MouseCursor.RESIZE_NS.toString = $estr; -lime.ui.MouseCursor.RESIZE_NS.__enum__ = lime.ui.MouseCursor; -lime.ui.MouseCursor.RESIZE_NWSE = ["RESIZE_NWSE",7]; -lime.ui.MouseCursor.RESIZE_NWSE.toString = $estr; -lime.ui.MouseCursor.RESIZE_NWSE.__enum__ = lime.ui.MouseCursor; -lime.ui.MouseCursor.RESIZE_WE = ["RESIZE_WE",8]; -lime.ui.MouseCursor.RESIZE_WE.toString = $estr; -lime.ui.MouseCursor.RESIZE_WE.__enum__ = lime.ui.MouseCursor; -lime.ui.MouseCursor.TEXT = ["TEXT",9]; -lime.ui.MouseCursor.TEXT.toString = $estr; -lime.ui.MouseCursor.TEXT.__enum__ = lime.ui.MouseCursor; -lime.ui.MouseCursor.WAIT = ["WAIT",10]; -lime.ui.MouseCursor.WAIT.toString = $estr; -lime.ui.MouseCursor.WAIT.__enum__ = lime.ui.MouseCursor; -lime.ui.MouseCursor.WAIT_ARROW = ["WAIT_ARROW",11]; -lime.ui.MouseCursor.WAIT_ARROW.toString = $estr; -lime.ui.MouseCursor.WAIT_ARROW.__enum__ = lime.ui.MouseCursor; -lime.ui.MouseCursor.CUSTOM = ["CUSTOM",12]; -lime.ui.MouseCursor.CUSTOM.toString = $estr; -lime.ui.MouseCursor.CUSTOM.__enum__ = lime.ui.MouseCursor; -lime.ui.Window = function(config) { - this.onWindowRestore = new lime.app.Event(); - this.onWindowResize = new lime.app.Event(); - this.onWindowMove = new lime.app.Event(); - this.onWindowMinimize = new lime.app.Event(); - this.onWindowLeave = new lime.app.Event(); - this.onWindowFullscreen = new lime.app.Event(); - this.onWindowFocusOut = new lime.app.Event(); - this.onWindowFocusIn = new lime.app.Event(); - this.onWindowEnter = new lime.app.Event(); - this.onWindowDeactivate = new lime.app.Event(); - this.onWindowClose = new lime.app.Event(); - this.onWindowActivate = new lime.app.Event(); - this.onTouchStart = new lime.app.Event(); - this.onTouchMove = new lime.app.Event(); - this.onTouchEnd = new lime.app.Event(); - this.onTextInput = new lime.app.Event(); - this.onTextEdit = new lime.app.Event(); - this.onMouseWheel = new lime.app.Event(); - this.onMouseUp = new lime.app.Event(); - this.onMouseMoveRelative = new lime.app.Event(); - this.onMouseMove = new lime.app.Event(); - this.onMouseDown = new lime.app.Event(); - this.onKeyUp = new lime.app.Event(); - this.onKeyDown = new lime.app.Event(); - this.onGamepadDisconnect = new lime.app.Event(); - this.onGamepadConnect = new lime.app.Event(); - this.onGamepadButtonUp = new lime.app.Event(); - this.onGamepadButtonDown = new lime.app.Event(); - this.onGamepadAxisMove = new lime.app.Event(); - this.config = config; - this.__width = 0; - this.__height = 0; - this.__fullscreen = false; - this.__x = 0; - this.__y = 0; - if(config != null) { - if(Object.prototype.hasOwnProperty.call(config,"width")) this.__width = config.width; - if(Object.prototype.hasOwnProperty.call(config,"height")) this.__height = config.height; - if(Object.prototype.hasOwnProperty.call(config,"fullscreen")) this.__fullscreen = config.fullscreen; - } - this.backend = new lime._backend.html5.HTML5Window(this); -}; -$hxClasses["lime.ui.Window"] = lime.ui.Window; -lime.ui.Window.__name__ = ["lime","ui","Window"]; -lime.ui.Window.prototype = { - close: function() { - this.backend.close(); - } - ,create: function(application) { - this.backend.create(application); - if(this.currentRenderer != null) this.currentRenderer.create(); - } - ,move: function(x,y) { - this.backend.move(x,y); - this.__x = x; - this.__y = y; - } - ,resize: function(width,height) { - this.backend.resize(width,height); - this.__width = width; - this.__height = height; - } - ,setIcon: function(image) { - if(image == null) return; - this.backend.setIcon(image); - } - ,get_enableTextEvents: function() { - return this.backend.getEnableTextEvents(); - } - ,set_enableTextEvents: function(value) { - return this.backend.setEnableTextEvents(value); - } - ,get_fullscreen: function() { - return this.__fullscreen; - } - ,set_fullscreen: function(value) { - return this.__fullscreen = this.backend.setFullscreen(value); - } - ,get_height: function() { - return this.__height; - } - ,set_height: function(value) { - this.resize(this.__width,value); - return this.__height; - } - ,get_minimized: function() { - return this.__minimized; - } - ,set_minimized: function(value) { - return this.__minimized = this.backend.setMinimized(value); - } - ,get_width: function() { - return this.__width; - } - ,set_width: function(value) { - this.resize(value,this.__height); - return this.__width; - } - ,get_x: function() { - return this.__x; - } - ,set_x: function(value) { - this.move(value,this.__y); - return this.__x; - } - ,get_y: function() { - return this.__y; - } - ,set_y: function(value) { - this.move(this.__x,value); - return this.__y; - } - ,__class__: lime.ui.Window - ,__properties__: {set_y:"set_y",get_y:"get_y",set_x:"set_x",get_x:"get_x",set_width:"set_width",get_width:"get_width",set_minimized:"set_minimized",get_minimized:"get_minimized",set_height:"set_height",get_height:"get_height",set_fullscreen:"set_fullscreen",get_fullscreen:"get_fullscreen",set_enableTextEvents:"set_enableTextEvents",get_enableTextEvents:"get_enableTextEvents"} -}; -lime.utils = {}; -lime.utils.ByteArray = function(size) { - if(size == null) size = 0; - this.littleEndian = false; - this.allocated = 0; - this.position = 0; - this.length = 0; - if(size > 0) this.allocated = size; - this.___resizeBuffer(this.allocated); - this.set_length(this.allocated); -}; -$hxClasses["lime.utils.ByteArray"] = lime.utils.ByteArray; -lime.utils.ByteArray.__name__ = ["lime","utils","ByteArray"]; -lime.utils.ByteArray.fromBytes = function(bytes) { - var result = new lime.utils.ByteArray(); - result.byteView = new Uint8Array(bytes.b); - result.set_length(result.byteView.length); - result.allocated = result.length; - return result; -}; -lime.utils.ByteArray.readFile = function(path) { - return null; -}; -lime.utils.ByteArray.__ofBuffer = function(buffer) { - var bytes = new lime.utils.ByteArray(); - bytes.set_length(bytes.allocated = buffer.byteLength); - bytes.data = new DataView(buffer); - bytes.byteView = new Uint8Array(buffer); - return bytes; -}; -lime.utils.ByteArray.prototype = { - clear: function() { - if(this.allocated < 0) this.___resizeBuffer(this.allocated = Std["int"](Math.max(0,this.allocated * 2))); else if(this.allocated > 0) this.___resizeBuffer(this.allocated = 0); - this.length = 0; - 0; - this.position = 0; - } - ,compress: function(algorithm) { - } - ,deflate: function() { - this.compress(lime.utils.CompressionAlgorithm.DEFLATE); - } - ,inflate: function() { - this.uncompress(lime.utils.CompressionAlgorithm.DEFLATE); - } - ,readBoolean: function() { - return this.readByte() != 0; - } - ,readByte: function() { - var data = this.data; - return data.getInt8(this.position++); - } - ,readBytes: function(bytes,offset,length) { - if(length == null) length = 0; - if(offset == null) offset = 0; - if(offset < 0 || length < 0) throw "Read error - Out of bounds"; - if(length == 0) length = this.length - this.position; - var lengthToEnsure = offset + length; - if(bytes.length < lengthToEnsure) { - if(bytes.allocated < lengthToEnsure) bytes.___resizeBuffer(bytes.allocated = Std["int"](Math.max(lengthToEnsure,bytes.allocated * 2))); else if(bytes.allocated > lengthToEnsure * 2) bytes.___resizeBuffer(bytes.allocated = lengthToEnsure); - bytes.length = lengthToEnsure; - lengthToEnsure; - } - bytes.byteView.set(this.byteView.subarray(this.position,this.position + length),offset); - bytes.position = offset; - this.position += length; - if(bytes.position + length > bytes.length) bytes.set_length(bytes.position + length); - } - ,readDouble: function() { - var $double = this.data.getFloat64(this.position,this.littleEndian); - this.position += 8; - return $double; - } - ,readFloat: function() { - var $float = this.data.getFloat32(this.position,this.littleEndian); - this.position += 4; - return $float; - } - ,readInt: function() { - var $int = this.data.getInt32(this.position,this.littleEndian); - this.position += 4; - return $int; - } - ,readMultiByte: function(length,charSet) { - return this.readUTFBytes(length); - } - ,readShort: function() { - var $short = this.data.getInt16(this.position,this.littleEndian); - this.position += 2; - return $short; - } - ,readUnsignedByte: function() { - var data = this.data; - return data.getUint8(this.position++); - } - ,readUnsignedInt: function() { - var uInt = this.data.getUint32(this.position,this.littleEndian); - this.position += 4; - return uInt; - } - ,readUnsignedShort: function() { - var uShort = this.data.getUint16(this.position,this.littleEndian); - this.position += 2; - return uShort; - } - ,readUTF: function() { - var bytesCount = this.readUnsignedShort(); - return this.readUTFBytes(bytesCount); - } - ,readUTFBytes: function(len) { - var value = ""; - var max = this.position + len; - while(this.position < max) { - var data = this.data; - var c = data.getUint8(this.position++); - if(c < 128) { - if(c == 0) break; - value += String.fromCharCode(c); - } else if(c < 224) value += String.fromCharCode((c & 63) << 6 | data.getUint8(this.position++) & 127); else if(c < 240) { - var c2 = data.getUint8(this.position++); - value += String.fromCharCode((c & 31) << 12 | (c2 & 127) << 6 | data.getUint8(this.position++) & 127); - } else { - var c21 = data.getUint8(this.position++); - var c3 = data.getUint8(this.position++); - value += String.fromCharCode((c & 15) << 18 | (c21 & 127) << 12 | c3 << 6 & 127 | data.getUint8(this.position++) & 127); - } - } - return value; - } - ,toString: function() { - var cachePosition = this.position; - this.position = 0; - var value = this.readUTFBytes(this.length); - this.position = cachePosition; - return value; - } - ,uncompress: function(algorithm) { - haxe.Log.trace("Warning: ByteArray.uncompress on JS target requires the 'format' haxelib",{ fileName : "ByteArray.hx", lineNumber : 667, className : "lime.utils.ByteArray", methodName : "uncompress"}); - } - ,write_uncheck: function($byte) { - } - ,writeBoolean: function(value) { - this.writeByte(value?1:0); - } - ,writeByte: function(value) { - var lengthToEnsure = this.position + 1; - if(this.length < lengthToEnsure) { - if(this.allocated < lengthToEnsure) this.___resizeBuffer(this.allocated = Std["int"](Math.max(lengthToEnsure,this.allocated * 2))); else if(this.allocated > lengthToEnsure * 2) this.___resizeBuffer(this.allocated = lengthToEnsure); - this.length = lengthToEnsure; - lengthToEnsure; - } - var data = this.data; - data.setInt8(this.position,value); - this.position += 1; - } - ,writeBytes: function(bytes,offset,length) { - if(length == null) length = 0; - if(offset == null) offset = 0; - if(bytes.length == 0) return; - if((function($this) { - var $r; - var aNeg = 0 < 0; - var bNeg = offset < 0; - $r = aNeg != bNeg?aNeg:0 > offset; - return $r; - }(this)) || (function($this) { - var $r; - var aNeg1 = 0 < 0; - var bNeg1 = length < 0; - $r = aNeg1 != bNeg1?aNeg1:0 > length; - return $r; - }(this))) throw "Write error - Out of bounds"; - if((function($this) { - var $r; - var $int = length; - $r = $int < 0?4294967296.0 + $int:$int + 0.0; - return $r; - }(this)) == 0) length = bytes.length; - var lengthToEnsure = this.position + length; - if(this.length < lengthToEnsure) { - if(this.allocated < lengthToEnsure) this.___resizeBuffer(this.allocated = Std["int"](Math.max(lengthToEnsure,this.allocated * 2))); else if(this.allocated > lengthToEnsure * 2) this.___resizeBuffer(this.allocated = lengthToEnsure); - this.length = lengthToEnsure; - lengthToEnsure; - } - this.byteView.set(bytes.byteView.subarray(offset,offset + length),this.position); - this.position = this.position + length; - } - ,writeDouble: function(x) { - var lengthToEnsure = this.position + 8; - if(this.length < lengthToEnsure) { - if(this.allocated < lengthToEnsure) this.___resizeBuffer(this.allocated = Std["int"](Math.max(lengthToEnsure,this.allocated * 2))); else if(this.allocated > lengthToEnsure * 2) this.___resizeBuffer(this.allocated = lengthToEnsure); - this.length = lengthToEnsure; - lengthToEnsure; - } - this.data.setFloat64(this.position,x,this.littleEndian); - this.position += 8; - } - ,writeFile: function(path) { - } - ,writeFloat: function(x) { - var lengthToEnsure = this.position + 4; - if(this.length < lengthToEnsure) { - if(this.allocated < lengthToEnsure) this.___resizeBuffer(this.allocated = Std["int"](Math.max(lengthToEnsure,this.allocated * 2))); else if(this.allocated > lengthToEnsure * 2) this.___resizeBuffer(this.allocated = lengthToEnsure); - this.length = lengthToEnsure; - lengthToEnsure; - } - this.data.setFloat32(this.position,x,this.littleEndian); - this.position += 4; - } - ,writeInt: function(value) { - var lengthToEnsure = this.position + 4; - if(this.length < lengthToEnsure) { - if(this.allocated < lengthToEnsure) this.___resizeBuffer(this.allocated = Std["int"](Math.max(lengthToEnsure,this.allocated * 2))); else if(this.allocated > lengthToEnsure * 2) this.___resizeBuffer(this.allocated = lengthToEnsure); - this.length = lengthToEnsure; - lengthToEnsure; - } - this.data.setInt32(this.position,value,this.littleEndian); - this.position += 4; - } - ,writeShort: function(value) { - var lengthToEnsure = this.position + 2; - if(this.length < lengthToEnsure) { - if(this.allocated < lengthToEnsure) this.___resizeBuffer(this.allocated = Std["int"](Math.max(lengthToEnsure,this.allocated * 2))); else if(this.allocated > lengthToEnsure * 2) this.___resizeBuffer(this.allocated = lengthToEnsure); - this.length = lengthToEnsure; - lengthToEnsure; - } - this.data.setInt16(this.position,value,this.littleEndian); - this.position += 2; - } - ,writeUnsignedInt: function(value) { - var lengthToEnsure = this.position + 4; - if(this.length < lengthToEnsure) { - if(this.allocated < lengthToEnsure) this.___resizeBuffer(this.allocated = Std["int"](Math.max(lengthToEnsure,this.allocated * 2))); else if(this.allocated > lengthToEnsure * 2) this.___resizeBuffer(this.allocated = lengthToEnsure); - this.length = lengthToEnsure; - lengthToEnsure; - } - this.data.setUint32(this.position,value,this.littleEndian); - this.position += 4; - } - ,writeUnsignedShort: function(value) { - var lengthToEnsure = this.position + 2; - if(this.length < lengthToEnsure) { - if(this.allocated < lengthToEnsure) this.___resizeBuffer(this.allocated = Std["int"](Math.max(lengthToEnsure,this.allocated * 2))); else if(this.allocated > lengthToEnsure * 2) this.___resizeBuffer(this.allocated = lengthToEnsure); - this.length = lengthToEnsure; - lengthToEnsure; - } - this.data.setUint16(this.position,value,this.littleEndian); - this.position += 2; - } - ,writeUTF: function(value) { - this.writeUnsignedShort(this.__getUTFBytesCount(value)); - this.writeUTFBytes(value); - } - ,writeUTFBytes: function(value) { - var _g1 = 0; - var _g = value.length; - while(_g1 < _g) { - var i = _g1++; - var c = value.charCodeAt(i); - if(c <= 127) this.writeByte(c); else if(c <= 2047) { - this.writeByte(192 | c >> 6); - this.writeByte(128 | c & 63); - } else if(c <= 65535) { - this.writeByte(224 | c >> 12); - this.writeByte(128 | c >> 6 & 63); - this.writeByte(128 | c & 63); - } else { - this.writeByte(240 | c >> 18); - this.writeByte(128 | c >> 12 & 63); - this.writeByte(128 | c >> 6 & 63); - this.writeByte(128 | c & 63); - } - } - } - ,__fromBytes: function(bytes) { - this.byteView = new Uint8Array(bytes.b); - this.set_length(this.byteView.length); - this.allocated = this.length; - } - ,__get: function(pos) { - return this.data.getInt8(pos); - } - ,__getBuffer: function() { - return this.data.buffer; - } - ,__getUTFBytesCount: function(value) { - var count = 0; - var _g1 = 0; - var _g = value.length; - while(_g1 < _g) { - var i = _g1++; - var c = value.charCodeAt(i); - if(c <= 127) count += 1; else if(c <= 2047) count += 2; else if(c <= 65535) count += 3; else count += 4; - } - return count; - } - ,___resizeBuffer: function(len) { - var oldByteView = this.byteView; - var newByteView = new Uint8Array(len); - if(oldByteView != null) { - if(oldByteView.length <= len) newByteView.set(oldByteView); else newByteView.set(oldByteView.subarray(0,len)); - } - this.byteView = newByteView; - this.data = new DataView(newByteView.buffer); - } - ,__set: function(pos,v) { - this.data.setUint8(pos,v); - } - ,get_bytesAvailable: function() { - return this.length - this.position; - } - ,get_endian: function() { - if(this.littleEndian) return "littleEndian"; else return "bigEndian"; - } - ,set_endian: function(endian) { - this.littleEndian = endian == "littleEndian"; - return endian; - } - ,set_length: function(value) { - if(this.allocated < value) this.___resizeBuffer(this.allocated = Std["int"](Math.max(value,this.allocated * 2))); else if(this.allocated > value * 2) this.___resizeBuffer(this.allocated = value); - this.length = value; - return value; - } - ,__class__: lime.utils.ByteArray - ,__properties__: {set_length:"set_length",set_endian:"set_endian",get_endian:"get_endian",get_bytesAvailable:"get_bytesAvailable"} -}; -lime.utils.CompressionAlgorithm = $hxClasses["lime.utils.CompressionAlgorithm"] = { __ename__ : true, __constructs__ : ["DEFLATE","ZLIB","LZMA","GZIP"] }; -lime.utils.CompressionAlgorithm.DEFLATE = ["DEFLATE",0]; -lime.utils.CompressionAlgorithm.DEFLATE.toString = $estr; -lime.utils.CompressionAlgorithm.DEFLATE.__enum__ = lime.utils.CompressionAlgorithm; -lime.utils.CompressionAlgorithm.ZLIB = ["ZLIB",1]; -lime.utils.CompressionAlgorithm.ZLIB.toString = $estr; -lime.utils.CompressionAlgorithm.ZLIB.__enum__ = lime.utils.CompressionAlgorithm; -lime.utils.CompressionAlgorithm.LZMA = ["LZMA",2]; -lime.utils.CompressionAlgorithm.LZMA.toString = $estr; -lime.utils.CompressionAlgorithm.LZMA.__enum__ = lime.utils.CompressionAlgorithm; -lime.utils.CompressionAlgorithm.GZIP = ["GZIP",3]; -lime.utils.CompressionAlgorithm.GZIP.toString = $estr; -lime.utils.CompressionAlgorithm.GZIP.__enum__ = lime.utils.CompressionAlgorithm; -lime.utils.GLUtils = function() { }; -$hxClasses["lime.utils.GLUtils"] = lime.utils.GLUtils; -lime.utils.GLUtils.__name__ = ["lime","utils","GLUtils"]; -lime.utils.GLUtils.compileShader = function(source,type) { - var shader = lime.graphics.opengl.GL.context.createShader(type); - lime.graphics.opengl.GL.context.shaderSource(shader,source); - lime.graphics.opengl.GL.context.compileShader(shader); - if(lime.graphics.opengl.GL.context.getShaderParameter(shader,35713) == 0) switch(type) { - case 35633: - throw "Error compiling vertex shader"; - break; - case 35632: - throw "Error compiling fragment shader"; - break; - default: - throw "Error compiling unknown shader type"; - } - return shader; -}; -lime.utils.GLUtils.createProgram = function(vertexSource,fragmentSource) { - var vertexShader = lime.utils.GLUtils.compileShader(vertexSource,35633); - var fragmentShader = lime.utils.GLUtils.compileShader(fragmentSource,35632); - var program = lime.graphics.opengl.GL.context.createProgram(); - lime.graphics.opengl.GL.context.attachShader(program,vertexShader); - lime.graphics.opengl.GL.context.attachShader(program,fragmentShader); - lime.graphics.opengl.GL.context.linkProgram(program); - if(lime.graphics.opengl.GL.context.getProgramParameter(program,35714) == 0) throw "Unable to initialize the shader program."; - return program; -}; -lime.utils.IDataInput = function() { }; -$hxClasses["lime.utils.IDataInput"] = lime.utils.IDataInput; -lime.utils.IDataInput.__name__ = ["lime","utils","IDataInput"]; -lime.utils.IDataInput.prototype = { - __class__: lime.utils.IDataInput - ,__properties__: {set_endian:"set_endian",get_endian:"get_endian",get_bytesAvailable:"get_bytesAvailable"} -}; -lime.utils.IMemoryRange = function() { }; -$hxClasses["lime.utils.IMemoryRange"] = lime.utils.IMemoryRange; -lime.utils.IMemoryRange.__name__ = ["lime","utils","IMemoryRange"]; -lime.utils.IMemoryRange.prototype = { - __class__: lime.utils.IMemoryRange -}; -var motion = {}; -motion.actuators = {}; -motion.actuators.IGenericActuator = function() { }; -$hxClasses["motion.actuators.IGenericActuator"] = motion.actuators.IGenericActuator; -motion.actuators.IGenericActuator.__name__ = ["motion","actuators","IGenericActuator"]; -motion.actuators.IGenericActuator.prototype = { - __class__: motion.actuators.IGenericActuator -}; -motion.actuators.GenericActuator = function(target,duration,properties) { - this._autoVisible = true; - this._delay = 0; - this._reflect = false; - this._repeat = 0; - this._reverse = false; - this._smartRotation = false; - this._snapping = false; - this.special = false; - this.target = target; - this.properties = properties; - this.duration = duration; - this._ease = motion.Actuate.defaultEase; -}; -$hxClasses["motion.actuators.GenericActuator"] = motion.actuators.GenericActuator; -motion.actuators.GenericActuator.__name__ = ["motion","actuators","GenericActuator"]; -motion.actuators.GenericActuator.__interfaces__ = [motion.actuators.IGenericActuator]; -motion.actuators.GenericActuator.prototype = { - apply: function() { - var _g = 0; - var _g1 = Reflect.fields(this.properties); - while(_g < _g1.length) { - var i = _g1[_g]; - ++_g; - if(Object.prototype.hasOwnProperty.call(this.target,i)) Reflect.setField(this.target,i,Reflect.field(this.properties,i)); else Reflect.setProperty(this.target,i,Reflect.field(this.properties,i)); - } - } - ,autoVisible: function(value) { - if(value == null) value = true; - this._autoVisible = value; - return this; - } - ,callMethod: function(method,params) { - if(params == null) params = []; - return method.apply(method,params); - } - ,change: function() { - if(this._onUpdate != null) this.callMethod(this._onUpdate,this._onUpdateParams); - } - ,complete: function(sendEvent) { - if(sendEvent == null) sendEvent = true; - if(sendEvent) { - this.change(); - if(this._onComplete != null) this.callMethod(this._onComplete,this._onCompleteParams); - } - motion.Actuate.unload(this); - } - ,delay: function(duration) { - this._delay = duration; - return this; - } - ,ease: function(easing) { - this._ease = easing; - return this; - } - ,move: function() { - } - ,onComplete: function(handler,parameters) { - this._onComplete = handler; - if(parameters == null) this._onCompleteParams = []; else this._onCompleteParams = parameters; - if(this.duration == 0) this.complete(); - return this; - } - ,onRepeat: function(handler,parameters) { - this._onRepeat = handler; - if(parameters == null) this._onRepeatParams = []; else this._onRepeatParams = parameters; - return this; - } - ,onUpdate: function(handler,parameters) { - this._onUpdate = handler; - if(parameters == null) this._onUpdateParams = []; else this._onUpdateParams = parameters; - return this; - } - ,onPause: function(handler,parameters) { - this._onPause = handler; - if(parameters == null) this._onPauseParams = []; else this._onPauseParams = parameters; - return this; - } - ,onResume: function(handler,parameters) { - this._onResume = handler; - if(parameters == null) this._onResumeParams = []; else this._onResumeParams = parameters; - return this; - } - ,pause: function() { - if(this._onPause != null) this.callMethod(this._onPause,this._onPauseParams); - } - ,reflect: function(value) { - if(value == null) value = true; - this._reflect = value; - this.special = true; - return this; - } - ,repeat: function(times) { - if(times == null) times = -1; - this._repeat = times; - return this; - } - ,resume: function() { - if(this._onResume != null) this.callMethod(this._onResume,this._onResumeParams); - } - ,reverse: function(value) { - if(value == null) value = true; - this._reverse = value; - this.special = true; - return this; - } - ,smartRotation: function(value) { - if(value == null) value = true; - this._smartRotation = value; - this.special = true; - return this; - } - ,snapping: function(value) { - if(value == null) value = true; - this._snapping = value; - this.special = true; - return this; - } - ,stop: function(properties,complete,sendEvent) { - } - ,__class__: motion.actuators.GenericActuator -}; -motion.actuators.SimpleActuator = function(target,duration,properties) { - this.active = true; - this.propertyDetails = new Array(); - this.sendChange = false; - this.paused = false; - this.cacheVisible = false; - this.initialized = false; - this.setVisible = false; - this.toggleVisible = false; - this.startTime = openfl.Lib.getTimer() / 1000; - motion.actuators.GenericActuator.call(this,target,duration,properties); - if(!motion.actuators.SimpleActuator.addedEvent) { - motion.actuators.SimpleActuator.addedEvent = true; - openfl.Lib.current.stage.addEventListener(openfl.events.Event.ENTER_FRAME,motion.actuators.SimpleActuator.stage_onEnterFrame); - } -}; -$hxClasses["motion.actuators.SimpleActuator"] = motion.actuators.SimpleActuator; -motion.actuators.SimpleActuator.__name__ = ["motion","actuators","SimpleActuator"]; -motion.actuators.SimpleActuator.stage_onEnterFrame = function(event) { - var currentTime = openfl.Lib.getTimer() / 1000; - var actuator; - var j = 0; - var cleanup = false; - var _g1 = 0; - var _g = motion.actuators.SimpleActuator.actuatorsLength; - while(_g1 < _g) { - var i = _g1++; - actuator = motion.actuators.SimpleActuator.actuators[j]; - if(actuator != null && actuator.active) { - if(currentTime >= actuator.timeOffset) actuator.update(currentTime); - j++; - } else { - motion.actuators.SimpleActuator.actuators.splice(j,1); - --motion.actuators.SimpleActuator.actuatorsLength; - } - } -}; -motion.actuators.SimpleActuator.__super__ = motion.actuators.GenericActuator; -motion.actuators.SimpleActuator.prototype = $extend(motion.actuators.GenericActuator.prototype,{ - setField_motion_actuators_SimpleActuator_T: function(target,propertyName,value) { - if(Object.prototype.hasOwnProperty.call(target,propertyName)) target[propertyName] = value; else Reflect.setProperty(target,propertyName,value); - } - ,autoVisible: function(value) { - if(value == null) value = true; - this._autoVisible = value; - if(!value) { - this.toggleVisible = false; - if(this.setVisible) this.setField_motion_actuators_SimpleActuator_T(this.target,"visible",this.cacheVisible); - } - return this; - } - ,delay: function(duration) { - this._delay = duration; - this.timeOffset = this.startTime + duration; - return this; - } - ,getField: function(target,propertyName) { - var value = null; - if(Object.prototype.hasOwnProperty.call(target,propertyName)) value = Reflect.field(target,propertyName); else value = Reflect.getProperty(target,propertyName); - return value; - } - ,initialize: function() { - var details; - var start; - var _g = 0; - var _g1 = Reflect.fields(this.properties); - while(_g < _g1.length) { - var i = _g1[_g]; - ++_g; - var isField = true; - if(Object.prototype.hasOwnProperty.call(this.target,i) && !(this.target.__properties__ && this.target.__properties__["set_" + i])) start = Reflect.field(this.target,i); else { - isField = false; - start = Reflect.getProperty(this.target,i); - } - if(typeof(start) == "number") { - var value = this.getField(this.properties,i); - if(start == null) start = 0; - if(value == null) value = 0; - details = new motion.actuators.PropertyDetails(this.target,i,start,value - start,isField); - this.propertyDetails.push(details); - } - } - this.detailsLength = this.propertyDetails.length; - this.initialized = true; - } - ,move: function() { - this.toggleVisible = Object.prototype.hasOwnProperty.call(this.properties,"alpha") && js.Boot.__instanceof(this.target,openfl.display.DisplayObject); - if(this.toggleVisible && this.properties.alpha != 0 && !this.getField(this.target,"visible")) { - this.setVisible = true; - this.cacheVisible = this.getField(this.target,"visible"); - this.setField_motion_actuators_SimpleActuator_T(this.target,"visible",true); - } - this.timeOffset = this.startTime; - motion.actuators.SimpleActuator.actuators.push(this); - ++motion.actuators.SimpleActuator.actuatorsLength; - } - ,onUpdate: function(handler,parameters) { - this._onUpdate = handler; - if(parameters == null) this._onUpdateParams = []; else this._onUpdateParams = parameters; - this.sendChange = true; - return this; - } - ,pause: function() { - if(!this.paused) { - this.paused = true; - motion.actuators.GenericActuator.prototype.pause.call(this); - this.pauseTime = openfl.Lib.getTimer(); - } - } - ,resume: function() { - if(this.paused) { - this.paused = false; - this.timeOffset += (openfl.Lib.getTimer() - this.pauseTime) / 1000; - motion.actuators.GenericActuator.prototype.resume.call(this); - } - } - ,setProperty: function(details,value) { - if(details.isField) details.target[details.propertyName] = value; else Reflect.setProperty(details.target,details.propertyName,value); - } - ,stop: function(properties,complete,sendEvent) { - if(this.active) { - if(properties == null) { - this.active = false; - if(complete) this.apply(); - this.complete(sendEvent); - return; - } - var _g = 0; - var _g1 = Reflect.fields(properties); - while(_g < _g1.length) { - var i = _g1[_g]; - ++_g; - if(Object.prototype.hasOwnProperty.call(this.properties,i)) { - this.active = false; - if(complete) this.apply(); - this.complete(sendEvent); - return; - } - } - } - } - ,update: function(currentTime) { - if(!this.paused) { - var details; - var easing; - var i; - var tweenPosition = (currentTime - this.timeOffset) / this.duration; - if(tweenPosition > 1) tweenPosition = 1; - if(!this.initialized) this.initialize(); - if(!this.special) { - easing = this._ease.calculate(tweenPosition); - var _g1 = 0; - var _g = this.detailsLength; - while(_g1 < _g) { - var i1 = _g1++; - details = this.propertyDetails[i1]; - this.setProperty(details,details.start + details.change * easing); - } - } else { - if(!this._reverse) easing = this._ease.calculate(tweenPosition); else easing = this._ease.calculate(1 - tweenPosition); - var endValue; - var _g11 = 0; - var _g2 = this.detailsLength; - while(_g11 < _g2) { - var i2 = _g11++; - details = this.propertyDetails[i2]; - if(this._smartRotation && (details.propertyName == "rotation" || details.propertyName == "rotationX" || details.propertyName == "rotationY" || details.propertyName == "rotationZ")) { - var rotation = details.change % 360; - if(rotation > 180) rotation -= 360; else if(rotation < -180) rotation += 360; - endValue = details.start + rotation * easing; - } else endValue = details.start + details.change * easing; - if(!this._snapping) { - if(details.isField) details.target[details.propertyName] = endValue; else Reflect.setProperty(details.target,details.propertyName,endValue); - } else this.setProperty(details,Math.round(endValue)); - } - } - if(tweenPosition == 1) { - if(this._repeat == 0) { - this.active = false; - if(this.toggleVisible && this.getField(this.target,"alpha") == 0) this.setField_motion_actuators_SimpleActuator_T(this.target,"visible",false); - this.complete(true); - return; - } else { - if(this._onRepeat != null) this.callMethod(this._onRepeat,this._onRepeatParams); - if(this._reflect) this._reverse = !this._reverse; - this.startTime = currentTime; - this.timeOffset = this.startTime + this._delay; - if(this._repeat > 0) this._repeat--; - } - } - if(this.sendChange) this.change(); - } - } - ,__class__: motion.actuators.SimpleActuator -}); -motion.easing = {}; -motion.easing.Expo = function() { }; -$hxClasses["motion.easing.Expo"] = motion.easing.Expo; -motion.easing.Expo.__name__ = ["motion","easing","Expo"]; -motion.easing.Expo.__properties__ = {get_easeOut:"get_easeOut",get_easeInOut:"get_easeInOut",get_easeIn:"get_easeIn"} -motion.easing.Expo.get_easeIn = function() { - return new motion.easing.ExpoEaseIn(); -}; -motion.easing.Expo.get_easeInOut = function() { - return new motion.easing.ExpoEaseInOut(); -}; -motion.easing.Expo.get_easeOut = function() { - return new motion.easing.ExpoEaseOut(); -}; -motion.easing.IEasing = function() { }; -$hxClasses["motion.easing.IEasing"] = motion.easing.IEasing; -motion.easing.IEasing.__name__ = ["motion","easing","IEasing"]; -motion.easing.IEasing.prototype = { - __class__: motion.easing.IEasing -}; -motion.easing.ExpoEaseOut = function() { -}; -$hxClasses["motion.easing.ExpoEaseOut"] = motion.easing.ExpoEaseOut; -motion.easing.ExpoEaseOut.__name__ = ["motion","easing","ExpoEaseOut"]; -motion.easing.ExpoEaseOut.__interfaces__ = [motion.easing.IEasing]; -motion.easing.ExpoEaseOut.prototype = { - calculate: function(k) { - if(k == 1) return 1; else return 1 - Math.pow(2,-10 * k); - } - ,ease: function(t,b,c,d) { - if(t == d) return b + c; else return c * (1 - Math.pow(2,-10 * t / d)) + b; - } - ,__class__: motion.easing.ExpoEaseOut -}; -motion.Actuate = function() { }; -$hxClasses["motion.Actuate"] = motion.Actuate; -motion.Actuate.__name__ = ["motion","Actuate"]; -motion.Actuate.apply = function(target,properties,customActuator) { - motion.Actuate.stop(target,properties); - if(customActuator == null) customActuator = motion.Actuate.defaultActuator; - var actuator = Type.createInstance(customActuator,[target,0,properties]); - actuator.apply(); - return actuator; -}; -motion.Actuate.effects = function(target,duration,overwrite) { - if(overwrite == null) overwrite = true; - return new motion._Actuate.EffectsOptions(target,duration,overwrite); -}; -motion.Actuate.getLibrary = function(target,allowCreation) { - if(allowCreation == null) allowCreation = true; - if(!(motion.Actuate.targetLibraries.h.__keys__[target.__id__] != null) && allowCreation) motion.Actuate.targetLibraries.set(target,new Array()); - return motion.Actuate.targetLibraries.h[target.__id__]; -}; -motion.Actuate.isActive = function() { - var result = false; - var $it0 = motion.Actuate.targetLibraries.iterator(); - while( $it0.hasNext() ) { - var library = $it0.next(); - result = true; - break; - } - return result; -}; -motion.Actuate.motionPath = function(target,duration,properties,overwrite) { - if(overwrite == null) overwrite = true; - return motion.Actuate.tween(target,duration,properties,overwrite,motion.actuators.MotionPathActuator); -}; -motion.Actuate.pause = function(target) { - if(js.Boot.__instanceof(target,motion.actuators.IGenericActuator)) { - var actuator = target; - actuator.pause(); - } else { - var library = motion.Actuate.getLibrary(target,false); - if(library != null) { - var _g = 0; - while(_g < library.length) { - var actuator1 = library[_g]; - ++_g; - actuator1.pause(); - } - } - } -}; -motion.Actuate.pauseAll = function() { - var $it0 = motion.Actuate.targetLibraries.iterator(); - while( $it0.hasNext() ) { - var library = $it0.next(); - var _g = 0; - while(_g < library.length) { - var actuator = library[_g]; - ++_g; - actuator.pause(); - } - } -}; -motion.Actuate.reset = function() { - var $it0 = motion.Actuate.targetLibraries.iterator(); - while( $it0.hasNext() ) { - var library = $it0.next(); - var i = library.length - 1; - while(i >= 0) { - library[i].stop(null,false,false); - i--; - } - } - motion.Actuate.targetLibraries = new haxe.ds.ObjectMap(); -}; -motion.Actuate.resume = function(target) { - if(js.Boot.__instanceof(target,motion.actuators.IGenericActuator)) { - var actuator = target; - actuator.resume(); - } else { - var library = motion.Actuate.getLibrary(target,false); - if(library != null) { - var _g = 0; - while(_g < library.length) { - var actuator1 = library[_g]; - ++_g; - actuator1.resume(); - } - } - } -}; -motion.Actuate.resumeAll = function() { - var $it0 = motion.Actuate.targetLibraries.iterator(); - while( $it0.hasNext() ) { - var library = $it0.next(); - var _g = 0; - while(_g < library.length) { - var actuator = library[_g]; - ++_g; - actuator.resume(); - } - } -}; -motion.Actuate.stop = function(target,properties,complete,sendEvent) { - if(sendEvent == null) sendEvent = true; - if(complete == null) complete = false; - if(target != null) { - if(js.Boot.__instanceof(target,motion.actuators.IGenericActuator)) { - var actuator = target; - actuator.stop(null,complete,sendEvent); - } else { - var library = motion.Actuate.getLibrary(target,false); - if(library != null) { - if(typeof(properties) == "string") { - var temp = { }; - Reflect.setField(temp,properties,null); - properties = temp; - } else if((properties instanceof Array) && properties.__enum__ == null) { - var temp1 = { }; - var _g = 0; - var _g1; - _g1 = js.Boot.__cast(properties , Array); - while(_g < _g1.length) { - var property = _g1[_g]; - ++_g; - Reflect.setField(temp1,property,null); - } - properties = temp1; - } - var i = library.length - 1; - while(i >= 0) { - library[i].stop(properties,complete,sendEvent); - i--; - } - } - } - } -}; -motion.Actuate.timer = function(duration,customActuator) { - return motion.Actuate.tween(new motion._Actuate.TweenTimer(0),duration,new motion._Actuate.TweenTimer(1),false,customActuator); -}; -motion.Actuate.transform = function(target,duration,overwrite) { - if(overwrite == null) overwrite = true; - if(duration == null) duration = 0; - return new motion._Actuate.TransformOptions(target,duration,overwrite); -}; -motion.Actuate.tween = function(target,duration,properties,overwrite,customActuator) { - if(overwrite == null) overwrite = true; - if(target != null) { - if(duration > 0) { - if(customActuator == null) customActuator = motion.Actuate.defaultActuator; - var actuator = Type.createInstance(customActuator,[target,duration,properties]); - var library = motion.Actuate.getLibrary(actuator.target); - if(overwrite) { - var i = library.length - 1; - while(i >= 0) { - library[i].stop(actuator.properties,false,false); - i--; - } - library = motion.Actuate.getLibrary(actuator.target); - } - library.push(actuator); - actuator.move(); - return actuator; - } else return motion.Actuate.apply(target,properties,customActuator); - } - return null; -}; -motion.Actuate.unload = function(actuator) { - var target = actuator.target; - if(motion.Actuate.targetLibraries.h.__keys__[target.__id__] != null) { - HxOverrides.remove(motion.Actuate.targetLibraries.h[target.__id__],actuator); - if(motion.Actuate.targetLibraries.h[target.__id__].length == 0) motion.Actuate.targetLibraries.remove(target); - } -}; -motion.Actuate.update = function(target,duration,start,end,overwrite) { - if(overwrite == null) overwrite = true; - var properties = { start : start, end : end}; - return motion.Actuate.tween(target,duration,properties,overwrite,motion.actuators.MethodActuator); -}; -motion._Actuate = {}; -motion._Actuate.EffectsOptions = function(target,duration,overwrite) { - this.target = target; - this.duration = duration; - this.overwrite = overwrite; -}; -$hxClasses["motion._Actuate.EffectsOptions"] = motion._Actuate.EffectsOptions; -motion._Actuate.EffectsOptions.__name__ = ["motion","_Actuate","EffectsOptions"]; -motion._Actuate.EffectsOptions.prototype = { - filter: function(reference,properties) { - properties.filter = reference; - return motion.Actuate.tween(this.target,this.duration,properties,this.overwrite,motion.actuators.FilterActuator); - } - ,__class__: motion._Actuate.EffectsOptions -}; -motion._Actuate.TransformOptions = function(target,duration,overwrite) { - this.target = target; - this.duration = duration; - this.overwrite = overwrite; -}; -$hxClasses["motion._Actuate.TransformOptions"] = motion._Actuate.TransformOptions; -motion._Actuate.TransformOptions.__name__ = ["motion","_Actuate","TransformOptions"]; -motion._Actuate.TransformOptions.prototype = { - color: function(value,strength,alpha) { - if(strength == null) strength = 1; - if(value == null) value = 0; - var properties = { colorValue : value, colorStrength : strength}; - if(alpha != null) properties.colorAlpha = alpha; - return motion.Actuate.tween(this.target,this.duration,properties,this.overwrite,motion.actuators.TransformActuator); - } - ,sound: function(volume,pan) { - var properties = { }; - if(volume != null) properties.soundVolume = volume; - if(pan != null) properties.soundPan = pan; - return motion.Actuate.tween(this.target,this.duration,properties,this.overwrite,motion.actuators.TransformActuator); - } - ,__class__: motion._Actuate.TransformOptions -}; -motion._Actuate.TweenTimer = function(progress) { - this.progress = progress; -}; -$hxClasses["motion._Actuate.TweenTimer"] = motion._Actuate.TweenTimer; -motion._Actuate.TweenTimer.__name__ = ["motion","_Actuate","TweenTimer"]; -motion._Actuate.TweenTimer.prototype = { - __class__: motion._Actuate.TweenTimer -}; -motion.MotionPath = function() { - this._x = new motion.ComponentPath(); - this._y = new motion.ComponentPath(); - this._rotation = null; -}; -$hxClasses["motion.MotionPath"] = motion.MotionPath; -motion.MotionPath.__name__ = ["motion","MotionPath"]; -motion.MotionPath.prototype = { - bezier: function(x,y,controlX,controlY,strength) { - if(strength == null) strength = 1; - this._x.addPath(new motion.BezierPath(x,controlX,strength)); - this._y.addPath(new motion.BezierPath(y,controlY,strength)); - return this; - } - ,line: function(x,y,strength) { - if(strength == null) strength = 1; - this._x.addPath(new motion.LinearPath(x,strength)); - this._y.addPath(new motion.LinearPath(y,strength)); - return this; - } - ,get_rotation: function() { - if(this._rotation == null) this._rotation = new motion.RotationPath(this._x,this._y); - return this._rotation; - } - ,get_x: function() { - return this._x; - } - ,get_y: function() { - return this._y; - } - ,__class__: motion.MotionPath - ,__properties__: {get_y:"get_y",get_x:"get_x",get_rotation:"get_rotation"} -}; -motion.IComponentPath = function() { }; -$hxClasses["motion.IComponentPath"] = motion.IComponentPath; -motion.IComponentPath.__name__ = ["motion","IComponentPath"]; -motion.IComponentPath.prototype = { - __class__: motion.IComponentPath -}; -motion.ComponentPath = function() { - this.paths = new Array(); - this.start = 0; - this.totalStrength = 0; -}; -$hxClasses["motion.ComponentPath"] = motion.ComponentPath; -motion.ComponentPath.__name__ = ["motion","ComponentPath"]; -motion.ComponentPath.__interfaces__ = [motion.IComponentPath]; -motion.ComponentPath.prototype = { - addPath: function(path) { - this.paths.push(path); - this.totalStrength += path.strength; - } - ,calculate: function(k) { - if(this.paths.length == 1) return this.paths[0].calculate(this.start,k); else { - var ratio = k * this.totalStrength; - var lastEnd = this.start; - var _g = 0; - var _g1 = this.paths; - while(_g < _g1.length) { - var path = _g1[_g]; - ++_g; - if(ratio > path.strength) { - ratio -= path.strength; - lastEnd = path.end; - } else return path.calculate(lastEnd,ratio / path.strength); - } - } - return 0; - } - ,get_end: function() { - if(this.paths.length > 0) { - var path = this.paths[this.paths.length - 1]; - return path.end; - } else return this.start; - } - ,__class__: motion.ComponentPath - ,__properties__: {get_end:"get_end"} -}; -motion.BezierPath = function(end,control,strength) { - this.end = end; - this.control = control; - this.strength = strength; -}; -$hxClasses["motion.BezierPath"] = motion.BezierPath; -motion.BezierPath.__name__ = ["motion","BezierPath"]; -motion.BezierPath.prototype = { - calculate: function(start,k) { - return (1 - k) * (1 - k) * start + 2 * (1 - k) * k * this.control + k * k * this.end; - } - ,__class__: motion.BezierPath -}; -motion.LinearPath = function(end,strength) { - motion.BezierPath.call(this,end,0,strength); -}; -$hxClasses["motion.LinearPath"] = motion.LinearPath; -motion.LinearPath.__name__ = ["motion","LinearPath"]; -motion.LinearPath.__super__ = motion.BezierPath; -motion.LinearPath.prototype = $extend(motion.BezierPath.prototype,{ - calculate: function(start,k) { - return start + k * (this.end - start); - } - ,__class__: motion.LinearPath -}); -motion.RotationPath = function(x,y) { - this.step = 0.01; - this._x = x; - this._y = y; - this.offset = 0; - this.start = this.calculate(0.0); -}; -$hxClasses["motion.RotationPath"] = motion.RotationPath; -motion.RotationPath.__name__ = ["motion","RotationPath"]; -motion.RotationPath.__interfaces__ = [motion.IComponentPath]; -motion.RotationPath.prototype = { - calculate: function(k) { - var dX = this._x.calculate(k) - this._x.calculate(k + this.step); - var dY = this._y.calculate(k) - this._y.calculate(k + this.step); - var angle = Math.atan2(dY,dX) * (180 / Math.PI); - angle = (angle + this.offset) % 360; - return angle; - } - ,get_end: function() { - return this.calculate(1.0); - } - ,__class__: motion.RotationPath - ,__properties__: {get_end:"get_end"} -}; -motion.actuators.FilterActuator = function(target,duration,properties) { - this.filterIndex = -1; - motion.actuators.SimpleActuator.call(this,target,duration,properties); - if(js.Boot.__instanceof(properties.filter,Class)) { - this.filterClass = properties.filter; - if(target.get_filters().length == 0) target.set_filters([Type.createInstance(this.filterClass,[])]); - var _g = 0; - var _g1 = target.get_filters(); - while(_g < _g1.length) { - var filter = _g1[_g]; - ++_g; - if(js.Boot.__instanceof(filter,this.filterClass)) this.filter = filter; - } - } else { - this.filterIndex = properties.filter; - this.filter = target.get_filters()[this.filterIndex]; - } -}; -$hxClasses["motion.actuators.FilterActuator"] = motion.actuators.FilterActuator; -motion.actuators.FilterActuator.__name__ = ["motion","actuators","FilterActuator"]; -motion.actuators.FilterActuator.__super__ = motion.actuators.SimpleActuator; -motion.actuators.FilterActuator.prototype = $extend(motion.actuators.SimpleActuator.prototype,{ - setField_openfl_display_DisplayObject: function(target,propertyName,value) { - if(Object.prototype.hasOwnProperty.call(target,propertyName)) target[propertyName] = value; else Reflect.setProperty(target,propertyName,value); - } - ,apply: function() { - var _g = 0; - var _g1 = Reflect.fields(this.properties); - while(_g < _g1.length) { - var propertyName = _g1[_g]; - ++_g; - if(propertyName != "filter") Reflect.setField(this.filter,propertyName,Reflect.field(this.properties,propertyName)); - } - var filters = this.getField(this.target,"filters"); - Reflect.setField(filters,this.properties.filter,this.filter); - this.setField_openfl_display_DisplayObject(this.target,"filters",filters); - } - ,initialize: function() { - var details; - var start; - var _g = 0; - var _g1 = Reflect.fields(this.properties); - while(_g < _g1.length) { - var propertyName = _g1[_g]; - ++_g; - if(propertyName != "filter") { - start = this.getField(this.filter,propertyName); - details = new motion.actuators.PropertyDetails(this.filter,propertyName,start,Reflect.field(this.properties,propertyName) - start); - this.propertyDetails.push(details); - } - } - this.detailsLength = this.propertyDetails.length; - this.initialized = true; - } - ,update: function(currentTime) { - motion.actuators.SimpleActuator.prototype.update.call(this,currentTime); - var filters = this.target.get_filters(); - if(this.filterIndex > -1) Reflect.setField(filters,this.properties.filter,this.filter); else { - var _g1 = 0; - var _g = filters.length; - while(_g1 < _g) { - var i = _g1++; - if(js.Boot.__instanceof(filters[i],this.filterClass)) filters[i] = this.filter; - } - } - this.setField_openfl_display_DisplayObject(this.target,"filters",filters); - } - ,__class__: motion.actuators.FilterActuator -}); -motion.actuators.MethodActuator = function(target,duration,properties) { - this.currentParameters = new Array(); - this.tweenProperties = { }; - motion.actuators.SimpleActuator.call(this,target,duration,properties); - if(!Object.prototype.hasOwnProperty.call(properties,"start")) this.properties.start = new Array(); - if(!Object.prototype.hasOwnProperty.call(properties,"end")) this.properties.end = this.properties.start; - var _g1 = 0; - var _g = this.properties.start.length; - while(_g1 < _g) { - var i = _g1++; - this.currentParameters.push(this.properties.start[i]); - } -}; -$hxClasses["motion.actuators.MethodActuator"] = motion.actuators.MethodActuator; -motion.actuators.MethodActuator.__name__ = ["motion","actuators","MethodActuator"]; -motion.actuators.MethodActuator.__super__ = motion.actuators.SimpleActuator; -motion.actuators.MethodActuator.prototype = $extend(motion.actuators.SimpleActuator.prototype,{ - apply: function() { - this.callMethod(this.target,this.properties.end); - } - ,complete: function(sendEvent) { - if(sendEvent == null) sendEvent = true; - var _g1 = 0; - var _g = this.properties.start.length; - while(_g1 < _g) { - var i = _g1++; - this.currentParameters[i] = Reflect.field(this.tweenProperties,"param" + i); - } - this.callMethod(this.target,this.currentParameters); - motion.actuators.SimpleActuator.prototype.complete.call(this,sendEvent); - } - ,initialize: function() { - var details; - var propertyName; - var start; - var _g1 = 0; - var _g = this.properties.start.length; - while(_g1 < _g) { - var i = _g1++; - propertyName = "param" + i; - start = this.properties.start[i]; - this.tweenProperties[propertyName] = start; - if(typeof(start) == "number" || ((start | 0) === start)) { - details = new motion.actuators.PropertyDetails(this.tweenProperties,propertyName,start,this.properties.end[i] - start); - this.propertyDetails.push(details); - } - } - this.detailsLength = this.propertyDetails.length; - this.initialized = true; - } - ,update: function(currentTime) { - motion.actuators.SimpleActuator.prototype.update.call(this,currentTime); - if(this.active && !this.paused) { - var _g1 = 0; - var _g = this.properties.start.length; - while(_g1 < _g) { - var i = _g1++; - this.currentParameters[i] = Reflect.field(this.tweenProperties,"param" + i); - } - this.callMethod(this.target,this.currentParameters); - } - } - ,__class__: motion.actuators.MethodActuator -}); -motion.actuators.MotionPathActuator = function(target,duration,properties) { - motion.actuators.SimpleActuator.call(this,target,duration,properties); -}; -$hxClasses["motion.actuators.MotionPathActuator"] = motion.actuators.MotionPathActuator; -motion.actuators.MotionPathActuator.__name__ = ["motion","actuators","MotionPathActuator"]; -motion.actuators.MotionPathActuator.__super__ = motion.actuators.SimpleActuator; -motion.actuators.MotionPathActuator.prototype = $extend(motion.actuators.SimpleActuator.prototype,{ - setField_motion_actuators_MotionPathActuator_T: function(target,propertyName,value) { - if(Object.prototype.hasOwnProperty.call(target,propertyName)) target[propertyName] = value; else Reflect.setProperty(target,propertyName,value); - } - ,apply: function() { - var _g = 0; - var _g1 = Reflect.fields(this.properties); - while(_g < _g1.length) { - var propertyName = _g1[_g]; - ++_g; - if(Object.prototype.hasOwnProperty.call(this.target,propertyName)) Reflect.setField(this.target,propertyName,(js.Boot.__cast(Reflect.field(this.properties,propertyName) , motion.IComponentPath)).get_end()); else Reflect.setProperty(this.target,propertyName,(js.Boot.__cast(Reflect.field(this.properties,propertyName) , motion.IComponentPath)).get_end()); - } - } - ,initialize: function() { - var details; - var path; - var _g = 0; - var _g1 = Reflect.fields(this.properties); - while(_g < _g1.length) { - var propertyName = _g1[_g]; - ++_g; - path = js.Boot.__cast(Reflect.field(this.properties,propertyName) , motion.IComponentPath); - if(path != null) { - var isField = true; - if(Object.prototype.hasOwnProperty.call(this.target,propertyName)) path.start = Reflect.field(this.target,propertyName); else { - isField = false; - path.start = Reflect.getProperty(this.target,propertyName); - } - details = new motion.actuators.PropertyPathDetails(this.target,propertyName,path,isField); - this.propertyDetails.push(details); - } - } - this.detailsLength = this.propertyDetails.length; - this.initialized = true; - } - ,update: function(currentTime) { - if(!this.paused) { - var details; - var easing; - var tweenPosition = (currentTime - this.timeOffset) / this.duration; - if(tweenPosition > 1) tweenPosition = 1; - if(!this.initialized) this.initialize(); - if(!this.special) { - easing = this._ease.calculate(tweenPosition); - var _g = 0; - var _g1 = this.propertyDetails; - while(_g < _g1.length) { - var details1 = _g1[_g]; - ++_g; - if(details1.isField) Reflect.setField(details1.target,details1.propertyName,(js.Boot.__cast(details1 , motion.actuators.PropertyPathDetails)).path.calculate(easing)); else Reflect.setProperty(details1.target,details1.propertyName,(js.Boot.__cast(details1 , motion.actuators.PropertyPathDetails)).path.calculate(easing)); - } - } else { - if(!this._reverse) easing = this._ease.calculate(tweenPosition); else easing = this._ease.calculate(1 - tweenPosition); - var endValue; - var _g2 = 0; - var _g11 = this.propertyDetails; - while(_g2 < _g11.length) { - var details2 = _g11[_g2]; - ++_g2; - if(!this._snapping) { - if(details2.isField) Reflect.setField(details2.target,details2.propertyName,(js.Boot.__cast(details2 , motion.actuators.PropertyPathDetails)).path.calculate(easing)); else Reflect.setProperty(details2.target,details2.propertyName,(js.Boot.__cast(details2 , motion.actuators.PropertyPathDetails)).path.calculate(easing)); - } else if(details2.isField) Reflect.setField(details2.target,details2.propertyName,Math.round((js.Boot.__cast(details2 , motion.actuators.PropertyPathDetails)).path.calculate(easing))); else Reflect.setProperty(details2.target,details2.propertyName,Math.round((js.Boot.__cast(details2 , motion.actuators.PropertyPathDetails)).path.calculate(easing))); - } - } - if(tweenPosition == 1) { - if(this._repeat == 0) { - this.active = false; - if(this.toggleVisible && this.getField(this.target,"alpha") == 0) this.setField_motion_actuators_MotionPathActuator_T(this.target,"visible",false); - this.complete(true); - return; - } else { - if(this._onRepeat != null) this.callMethod(this._onRepeat,this._onRepeatParams); - if(this._reflect) this._reverse = !this._reverse; - this.startTime = currentTime; - this.timeOffset = this.startTime + this._delay; - if(this._repeat > 0) this._repeat--; - } - } - if(this.sendChange) this.change(); - } - } - ,__class__: motion.actuators.MotionPathActuator -}); -motion.actuators.PropertyDetails = function(target,propertyName,start,change,isField) { - if(isField == null) isField = true; - this.target = target; - this.propertyName = propertyName; - this.start = start; - this.change = change; - this.isField = isField; -}; -$hxClasses["motion.actuators.PropertyDetails"] = motion.actuators.PropertyDetails; -motion.actuators.PropertyDetails.__name__ = ["motion","actuators","PropertyDetails"]; -motion.actuators.PropertyDetails.prototype = { - __class__: motion.actuators.PropertyDetails -}; -motion.actuators.PropertyPathDetails = function(target,propertyName,path,isField) { - if(isField == null) isField = true; - motion.actuators.PropertyDetails.call(this,target,propertyName,0,0,isField); - this.path = path; -}; -$hxClasses["motion.actuators.PropertyPathDetails"] = motion.actuators.PropertyPathDetails; -motion.actuators.PropertyPathDetails.__name__ = ["motion","actuators","PropertyPathDetails"]; -motion.actuators.PropertyPathDetails.__super__ = motion.actuators.PropertyDetails; -motion.actuators.PropertyPathDetails.prototype = $extend(motion.actuators.PropertyDetails.prototype,{ - __class__: motion.actuators.PropertyPathDetails -}); -motion.actuators.TransformActuator = function(target,duration,properties) { - motion.actuators.SimpleActuator.call(this,target,duration,properties); -}; -$hxClasses["motion.actuators.TransformActuator"] = motion.actuators.TransformActuator; -motion.actuators.TransformActuator.__name__ = ["motion","actuators","TransformActuator"]; -motion.actuators.TransformActuator.__super__ = motion.actuators.SimpleActuator; -motion.actuators.TransformActuator.prototype = $extend(motion.actuators.SimpleActuator.prototype,{ - setField_openfl_geom_Transform: function(target,propertyName,value) { - if(Object.prototype.hasOwnProperty.call(target,propertyName)) target[propertyName] = value; else Reflect.setProperty(target,propertyName,value); - } - ,setField_motion_actuators_TransformActuator_T: function(target,propertyName,value) { - if(Object.prototype.hasOwnProperty.call(target,propertyName)) target[propertyName] = value; else Reflect.setProperty(target,propertyName,value); - } - ,apply: function() { - this.initialize(); - if(this.endColorTransform != null) { - var transform = this.getField(this.target,"transform"); - this.setField_openfl_geom_Transform(transform,"colorTransform",this.endColorTransform); - } - if(this.endSoundTransform != null) this.setField_motion_actuators_TransformActuator_T(this.target,"soundTransform",this.endSoundTransform); - } - ,initialize: function() { - if(Object.prototype.hasOwnProperty.call(this.properties,"colorValue") && js.Boot.__instanceof(this.target,openfl.display.DisplayObject)) this.initializeColor(); - if(Object.prototype.hasOwnProperty.call(this.properties,"soundVolume") || Object.prototype.hasOwnProperty.call(this.properties,"soundPan")) this.initializeSound(); - this.detailsLength = this.propertyDetails.length; - this.initialized = true; - } - ,initializeColor: function() { - this.endColorTransform = new openfl.geom.ColorTransform(); - var color = this.properties.colorValue; - var strength = this.properties.colorStrength; - if(strength < 1) { - var multiplier; - var offset; - if(strength < 0.5) { - multiplier = 1; - offset = strength * 2; - } else { - multiplier = 1 - (strength - 0.5) * 2; - offset = 1; - } - this.endColorTransform.redMultiplier = multiplier; - this.endColorTransform.greenMultiplier = multiplier; - this.endColorTransform.blueMultiplier = multiplier; - this.endColorTransform.redOffset = offset * (color >> 16 & 255); - this.endColorTransform.greenOffset = offset * (color >> 8 & 255); - this.endColorTransform.blueOffset = offset * (color & 255); - } else { - this.endColorTransform.redMultiplier = 0; - this.endColorTransform.greenMultiplier = 0; - this.endColorTransform.blueMultiplier = 0; - this.endColorTransform.redOffset = color >> 16 & 255; - this.endColorTransform.greenOffset = color >> 8 & 255; - this.endColorTransform.blueOffset = color & 255; - } - var propertyNames = ["redMultiplier","greenMultiplier","blueMultiplier","redOffset","greenOffset","blueOffset"]; - if(Object.prototype.hasOwnProperty.call(this.properties,"colorAlpha")) { - this.endColorTransform.alphaMultiplier = this.properties.colorAlpha; - propertyNames.push("alphaMultiplier"); - } else this.endColorTransform.alphaMultiplier = this.getField(this.target,"alpha"); - var transform = this.getField(this.target,"transform"); - var begin = this.getField(transform,"colorTransform"); - this.tweenColorTransform = new openfl.geom.ColorTransform(); - var details; - var start; - var _g = 0; - while(_g < propertyNames.length) { - var propertyName = propertyNames[_g]; - ++_g; - start = this.getField(begin,propertyName); - details = new motion.actuators.PropertyDetails(this.tweenColorTransform,propertyName,start,this.getField(this.endColorTransform,propertyName) - start); - this.propertyDetails.push(details); - } - } - ,initializeSound: function() { - if(this.getField(this.target,"soundTransform") == null) this.setField_motion_actuators_TransformActuator_T(this.target,"soundTransform",new openfl.media.SoundTransform()); - var start = this.getField(this.target,"soundTransform"); - this.endSoundTransform = this.getField(this.target,"soundTransform"); - this.tweenSoundTransform = new openfl.media.SoundTransform(); - if(Object.prototype.hasOwnProperty.call(this.properties,"soundVolume")) { - this.endSoundTransform.volume = this.properties.soundVolume; - this.propertyDetails.push(new motion.actuators.PropertyDetails(this.tweenSoundTransform,"volume",start.volume,this.endSoundTransform.volume - start.volume)); - } - if(Object.prototype.hasOwnProperty.call(this.properties,"soundPan")) { - this.endSoundTransform.pan = this.properties.soundPan; - this.propertyDetails.push(new motion.actuators.PropertyDetails(this.tweenSoundTransform,"pan",start.pan,this.endSoundTransform.pan - start.pan)); - } - } - ,update: function(currentTime) { - motion.actuators.SimpleActuator.prototype.update.call(this,currentTime); - if(this.endColorTransform != null) { - var transform = this.getField(this.target,"transform"); - this.setField_openfl_geom_Transform(transform,"colorTransform",this.tweenColorTransform); - } - if(this.endSoundTransform != null) this.setField_motion_actuators_TransformActuator_T(this.target,"soundTransform",this.tweenSoundTransform); - } - ,__class__: motion.actuators.TransformActuator -}); -motion.easing.ExpoEaseIn = function() { -}; -$hxClasses["motion.easing.ExpoEaseIn"] = motion.easing.ExpoEaseIn; -motion.easing.ExpoEaseIn.__name__ = ["motion","easing","ExpoEaseIn"]; -motion.easing.ExpoEaseIn.__interfaces__ = [motion.easing.IEasing]; -motion.easing.ExpoEaseIn.prototype = { - calculate: function(k) { - if(k == 0) return 0; else return Math.pow(2,10 * (k - 1)); - } - ,ease: function(t,b,c,d) { - if(t == 0) return b; else return c * Math.pow(2,10 * (t / d - 1)) + b; - } - ,__class__: motion.easing.ExpoEaseIn -}; -motion.easing.ExpoEaseInOut = function() { -}; -$hxClasses["motion.easing.ExpoEaseInOut"] = motion.easing.ExpoEaseInOut; -motion.easing.ExpoEaseInOut.__name__ = ["motion","easing","ExpoEaseInOut"]; -motion.easing.ExpoEaseInOut.__interfaces__ = [motion.easing.IEasing]; -motion.easing.ExpoEaseInOut.prototype = { - calculate: function(k) { - if(k == 0) return 0; - if(k == 1) return 1; - if((k /= 0.5) < 1.0) return 0.5 * Math.pow(2,10 * (k - 1)); - return 0.5 * (2 - Math.pow(2,-10 * --k)); - } - ,ease: function(t,b,c,d) { - if(t == 0) return b; - if(t == d) return b + c; - if((t /= d / 2.0) < 1.0) return c / 2 * Math.pow(2,10 * (t - 1)) + b; - return c / 2 * (2 - Math.pow(2,-10 * --t)) + b; - } - ,__class__: motion.easing.ExpoEaseInOut -}; -motion.easing.Quad = function() { }; -$hxClasses["motion.easing.Quad"] = motion.easing.Quad; -motion.easing.Quad.__name__ = ["motion","easing","Quad"]; -motion.easing.Quad.__properties__ = {get_easeOut:"get_easeOut",get_easeInOut:"get_easeInOut",get_easeIn:"get_easeIn"} -motion.easing.Quad.get_easeIn = function() { - return new motion.easing.QuadEaseIn(); -}; -motion.easing.Quad.get_easeInOut = function() { - return new motion.easing.QuadEaseInOut(); -}; -motion.easing.Quad.get_easeOut = function() { - return new motion.easing.QuadEaseOut(); -}; -motion.easing.QuadEaseIn = function() { -}; -$hxClasses["motion.easing.QuadEaseIn"] = motion.easing.QuadEaseIn; -motion.easing.QuadEaseIn.__name__ = ["motion","easing","QuadEaseIn"]; -motion.easing.QuadEaseIn.__interfaces__ = [motion.easing.IEasing]; -motion.easing.QuadEaseIn.prototype = { - calculate: function(k) { - return k * k; - } - ,ease: function(t,b,c,d) { - return c * (t /= d) * t + b; - } - ,__class__: motion.easing.QuadEaseIn -}; -motion.easing.QuadEaseInOut = function() { -}; -$hxClasses["motion.easing.QuadEaseInOut"] = motion.easing.QuadEaseInOut; -motion.easing.QuadEaseInOut.__name__ = ["motion","easing","QuadEaseInOut"]; -motion.easing.QuadEaseInOut.__interfaces__ = [motion.easing.IEasing]; -motion.easing.QuadEaseInOut.prototype = { - calculate: function(k) { - if((k *= 2) < 1) return 0.5 * k * k; - return -0.5 * ((k - 1) * (k - 3) - 1); - } - ,ease: function(t,b,c,d) { - if((t /= d / 2) < 1) return c / 2 * t * t + b; - return -c / 2 * ((t - 1) * (t - 3) - 1) + b; - } - ,__class__: motion.easing.QuadEaseInOut -}; -motion.easing.QuadEaseOut = function() { -}; -$hxClasses["motion.easing.QuadEaseOut"] = motion.easing.QuadEaseOut; -motion.easing.QuadEaseOut.__name__ = ["motion","easing","QuadEaseOut"]; -motion.easing.QuadEaseOut.__interfaces__ = [motion.easing.IEasing]; -motion.easing.QuadEaseOut.prototype = { - calculate: function(k) { - return -k * (k - 2); - } - ,ease: function(t,b,c,d) { - return -c * (t /= d) * (t - 2) + b; - } - ,__class__: motion.easing.QuadEaseOut -}; -openfl.IAssetCache = function() { }; -$hxClasses["openfl.IAssetCache"] = openfl.IAssetCache; -openfl.IAssetCache.__name__ = ["openfl","IAssetCache"]; -openfl.IAssetCache.prototype = { - __class__: openfl.IAssetCache -}; -openfl.AssetCache = function() { - this.__enabled = true; - this.bitmapData = new haxe.ds.StringMap(); - this.font = new haxe.ds.StringMap(); - this.sound = new haxe.ds.StringMap(); -}; -$hxClasses["openfl.AssetCache"] = openfl.AssetCache; -openfl.AssetCache.__name__ = ["openfl","AssetCache"]; -openfl.AssetCache.__interfaces__ = [openfl.IAssetCache]; -openfl.AssetCache.prototype = { - clear: function(prefix) { - if(prefix == null) { - this.bitmapData = new haxe.ds.StringMap(); - this.font = new haxe.ds.StringMap(); - this.sound = new haxe.ds.StringMap(); - } else { - var keys = this.bitmapData.keys(); - while( keys.hasNext() ) { - var key = keys.next(); - if(StringTools.startsWith(key,prefix)) this.bitmapData.remove(key); - } - var keys1 = this.font.keys(); - while( keys1.hasNext() ) { - var key1 = keys1.next(); - if(StringTools.startsWith(key1,prefix)) this.font.remove(key1); - } - var keys2 = this.sound.keys(); - while( keys2.hasNext() ) { - var key2 = keys2.next(); - if(StringTools.startsWith(key2,prefix)) this.sound.remove(key2); - } - } - } - ,getBitmapData: function(id) { - return this.bitmapData.get(id); - } - ,getFont: function(id) { - return this.font.get(id); - } - ,getSound: function(id) { - return this.sound.get(id); - } - ,hasBitmapData: function(id) { - return this.bitmapData.exists(id); - } - ,hasFont: function(id) { - return this.font.exists(id); - } - ,hasSound: function(id) { - return this.sound.exists(id); - } - ,removeBitmapData: function(id) { - return this.bitmapData.remove(id); - } - ,removeFont: function(id) { - return this.font.remove(id); - } - ,removeSound: function(id) { - return this.sound.remove(id); - } - ,setBitmapData: function(id,bitmapData) { - this.bitmapData.set(id,bitmapData); - } - ,setFont: function(id,font) { - this.font.set(id,font); - } - ,setSound: function(id,sound) { - this.sound.set(id,sound); - } - ,get_enabled: function() { - return this.__enabled; - } - ,set_enabled: function(value) { - return this.__enabled = value; - } - ,__class__: openfl.AssetCache - ,__properties__: {set_enabled:"set_enabled",get_enabled:"get_enabled"} -}; -openfl.Assets = function() { }; -$hxClasses["openfl.Assets"] = openfl.Assets; -openfl.Assets.__name__ = ["openfl","Assets"]; -openfl.Assets.addEventListener = function(type,listener,useCapture,priority,useWeakReference) { - if(useWeakReference == null) useWeakReference = false; - if(priority == null) priority = 0; - if(useCapture == null) useCapture = false; - openfl.Assets.dispatcher.addEventListener(type,listener,useCapture,priority,useWeakReference); -}; -openfl.Assets.dispatchEvent = function(event) { - return openfl.Assets.dispatcher.dispatchEvent(event); -}; -openfl.Assets.exists = function(id,type) { - return lime.Assets.exists(id,type); -}; -openfl.Assets.getBitmapData = function(id,useCache) { - if(useCache == null) useCache = true; - if(useCache && openfl.Assets.cache.get_enabled() && openfl.Assets.cache.hasBitmapData(id)) { - var bitmapData = openfl.Assets.cache.getBitmapData(id); - if(openfl.Assets.isValidBitmapData(bitmapData)) return bitmapData; - } - var image = lime.Assets.getImage(id,false); - if(image != null) { - var bitmapData1 = openfl.display.BitmapData.fromImage(image); - if(useCache && openfl.Assets.cache.get_enabled()) openfl.Assets.cache.setBitmapData(id,bitmapData1); - return bitmapData1; - } - return null; -}; -openfl.Assets.getBytes = function(id) { - return lime.Assets.getBytes(id); -}; -openfl.Assets.getFont = function(id,useCache) { - if(useCache == null) useCache = true; - if(useCache && openfl.Assets.cache.get_enabled() && openfl.Assets.cache.hasFont(id)) return openfl.Assets.cache.getFont(id); - var limeFont = lime.Assets.getFont(id,false); - if(limeFont != null) { - var font = openfl.text.Font.__fromLimeFont(limeFont); - if(useCache && openfl.Assets.cache.get_enabled()) openfl.Assets.cache.setFont(id,font); - return font; - } - return new openfl.text.Font(); -}; -openfl.Assets.getLibrary = function(name) { - if(name == null || name == "") name = "default"; - return lime.Assets.libraries.get(name); -}; -openfl.Assets.getMovieClip = function(id) { - var libraryName = id.substring(0,id.indexOf(":")); - var symbolName; - var pos = id.indexOf(":") + 1; - symbolName = HxOverrides.substr(id,pos,null); - var library = openfl.Assets.getLibrary(libraryName); - if(library != null) { - if(library.exists(symbolName,"MOVIE_CLIP")) { - if(library.isLocal(symbolName,"MOVIE_CLIP")) return library.getMovieClip(symbolName); else haxe.Log.trace("[openfl.Assets] MovieClip asset \"" + id + "\" exists, but only asynchronously",{ fileName : "Assets.hx", lineNumber : 221, className : "openfl.Assets", methodName : "getMovieClip"}); - } else haxe.Log.trace("[openfl.Assets] There is no MovieClip asset with an ID of \"" + id + "\"",{ fileName : "Assets.hx", lineNumber : 227, className : "openfl.Assets", methodName : "getMovieClip"}); - } else haxe.Log.trace("[openfl.Assets] There is no asset library named \"" + libraryName + "\"",{ fileName : "Assets.hx", lineNumber : 233, className : "openfl.Assets", methodName : "getMovieClip"}); - return null; -}; -openfl.Assets.getMusic = function(id,useCache) { - if(useCache == null) useCache = true; - var path = lime.Assets.getPath(id); - if(path != null) return new openfl.media.Sound(new openfl.net.URLRequest(path)); - return null; -}; -openfl.Assets.getPath = function(id) { - return lime.Assets.getPath(id); -}; -openfl.Assets.getSound = function(id,useCache) { - if(useCache == null) useCache = true; - if(useCache && openfl.Assets.cache.get_enabled() && openfl.Assets.cache.hasSound(id)) { - var sound = openfl.Assets.cache.getSound(id); - if(openfl.Assets.isValidSound(sound)) return sound; - } - var path = lime.Assets.getPath(id); - if(path != null) return new openfl.media.Sound(new openfl.net.URLRequest(path)); - return null; -}; -openfl.Assets.getText = function(id) { - return lime.Assets.getText(id); -}; -openfl.Assets.hasEventListener = function(type) { - return openfl.Assets.dispatcher.hasEventListener(type); -}; -openfl.Assets.isLocal = function(id,type,useCache) { - if(useCache == null) useCache = true; - if(useCache && openfl.Assets.cache.get_enabled()) { - if(type == "IMAGE" || type == null) { - if(openfl.Assets.cache.hasBitmapData(id)) return true; - } - if(type == "FONT" || type == null) { - if(openfl.Assets.cache.hasFont(id)) return true; - } - if(type == "SOUND" || type == "MUSIC" || type == null) { - if(openfl.Assets.cache.hasSound(id)) return true; - } - } - var libraryName = id.substring(0,id.indexOf(":")); - var symbolName; - var pos = id.indexOf(":") + 1; - symbolName = HxOverrides.substr(id,pos,null); - var library = openfl.Assets.getLibrary(libraryName); - if(library != null) return library.isLocal(symbolName,type); - return false; -}; -openfl.Assets.isValidBitmapData = function(bitmapData) { - return bitmapData != null && bitmapData.__image != null; - return true; -}; -openfl.Assets.isValidSound = function(sound) { - return true; -}; -openfl.Assets.list = function(type) { - return lime.Assets.list(type); -}; -openfl.Assets.loadBitmapData = function(id,handler,useCache) { - if(useCache == null) useCache = true; - if(useCache && openfl.Assets.cache.get_enabled() && openfl.Assets.cache.hasBitmapData(id)) { - var bitmapData = openfl.Assets.cache.getBitmapData(id); - if(openfl.Assets.isValidBitmapData(bitmapData)) { - handler(bitmapData); - return; - } - } - lime.Assets.loadImage(id,function(image) { - if(image != null) { - var bitmapData1 = openfl.display.BitmapData.fromImage(image); - if(useCache && openfl.Assets.cache.get_enabled()) openfl.Assets.cache.setBitmapData(id,bitmapData1); - handler(bitmapData1); - } - },false); -}; -openfl.Assets.loadBytes = function(id,handler) { - var libraryName = id.substring(0,id.indexOf(":")); - var symbolName; - var pos = id.indexOf(":") + 1; - symbolName = HxOverrides.substr(id,pos,null); - var library = openfl.Assets.getLibrary(libraryName); - if(library != null) { - if(library.exists(symbolName,"BINARY")) { - library.loadBytes(symbolName,handler); - return; - } else haxe.Log.trace("[openfl.Assets] There is no String or ByteArray asset with an ID of \"" + id + "\"",{ fileName : "Assets.hx", lineNumber : 546, className : "openfl.Assets", methodName : "loadBytes"}); - } else haxe.Log.trace("[openfl.Assets] There is no asset library named \"" + libraryName + "\"",{ fileName : "Assets.hx", lineNumber : 552, className : "openfl.Assets", methodName : "loadBytes"}); - handler(null); -}; -openfl.Assets.loadFont = function(id,handler,useCache) { - if(useCache == null) useCache = true; - if(useCache && openfl.Assets.cache.get_enabled() && openfl.Assets.cache.hasFont(id)) { - handler(openfl.Assets.cache.getFont(id)); - return; - } - var libraryName = id.substring(0,id.indexOf(":")); - var symbolName; - var pos = id.indexOf(":") + 1; - symbolName = HxOverrides.substr(id,pos,null); - var library = openfl.Assets.getLibrary(libraryName); - if(library != null) { - if(library.exists(symbolName,"FONT")) { - library.loadFont(symbolName,function(limeFont) { - var font = openfl.text.Font.__fromLimeFont(limeFont); - if(useCache && openfl.Assets.cache.get_enabled()) openfl.Assets.cache.setFont(id,font); - handler(font); - }); - return; - } else haxe.Log.trace("[openfl.Assets] There is no Font asset with an ID of \"" + id + "\"",{ fileName : "Assets.hx", lineNumber : 611, className : "openfl.Assets", methodName : "loadFont"}); - } else haxe.Log.trace("[openfl.Assets] There is no asset library named \"" + libraryName + "\"",{ fileName : "Assets.hx", lineNumber : 617, className : "openfl.Assets", methodName : "loadFont"}); - handler(null); -}; -openfl.Assets.loadLibrary = function(name,handler) { - lime.Assets.loadLibrary(name,handler); -}; -openfl.Assets.loadMusic = function(id,handler,useCache) { - if(useCache == null) useCache = true; - handler(openfl.Assets.getMusic(id,useCache)); -}; -openfl.Assets.loadMovieClip = function(id,handler) { - var libraryName = id.substring(0,id.indexOf(":")); - var symbolName; - var pos = id.indexOf(":") + 1; - symbolName = HxOverrides.substr(id,pos,null); - var library = openfl.Assets.getLibrary(libraryName); - if(library != null) { - if(library.exists(symbolName,"MOVIE_CLIP")) { - library.loadMovieClip(symbolName,handler); - return; - } else haxe.Log.trace("[openfl.Assets] There is no MovieClip asset with an ID of \"" + id + "\"",{ fileName : "Assets.hx", lineNumber : 695, className : "openfl.Assets", methodName : "loadMovieClip"}); - } else haxe.Log.trace("[openfl.Assets] There is no asset library named \"" + libraryName + "\"",{ fileName : "Assets.hx", lineNumber : 701, className : "openfl.Assets", methodName : "loadMovieClip"}); - handler(null); -}; -openfl.Assets.loadSound = function(id,handler,useCache) { - if(useCache == null) useCache = true; - handler(openfl.Assets.getSound(id,useCache)); -}; -openfl.Assets.loadText = function(id,handler) { - lime.Assets.loadText(id,handler); -}; -openfl.Assets.registerLibrary = function(name,library) { - lime.Assets.registerLibrary(name,library); -}; -openfl.Assets.removeEventListener = function(type,listener,capture) { - if(capture == null) capture = false; - openfl.Assets.dispatcher.removeEventListener(type,listener,capture); -}; -openfl.Assets.resolveClass = function(name) { - return Type.resolveClass(name); -}; -openfl.Assets.resolveEnum = function(name) { - var value = Type.resolveEnum(name); - return value; -}; -openfl.Assets.unloadLibrary = function(name) { - lime.Assets.unloadLibrary(name); -}; -openfl.Assets.library_onEvent = function(library,type) { - if(type == "change") { - openfl.Assets.cache.clear(); - openfl.Assets.dispatchEvent(new openfl.events.Event(openfl.events.Event.CHANGE)); - } -}; -openfl.AssetLibrary = function() { - lime.AssetLibrary.call(this); -}; -$hxClasses["openfl.AssetLibrary"] = openfl.AssetLibrary; -openfl.AssetLibrary.__name__ = ["openfl","AssetLibrary"]; -openfl.AssetLibrary.__super__ = lime.AssetLibrary; -openfl.AssetLibrary.prototype = $extend(lime.AssetLibrary.prototype,{ - getMovieClip: function(id) { - return null; - } - ,getMusic: function(id) { - return this.getSound(id); - } - ,getSound: function(id) { - return null; - } - ,loadMovieClip: function(id,handler) { - handler(this.getMovieClip(id)); - } - ,loadMusic: function(id,handler) { - handler(this.getMusic(id)); - } - ,loadSound: function(id,handler) { - handler(this.getSound(id)); - } - ,__class__: openfl.AssetLibrary -}); -openfl._Assets = {}; -openfl._Assets.AssetType_Impl_ = function() { }; -$hxClasses["openfl._Assets.AssetType_Impl_"] = openfl._Assets.AssetType_Impl_; -openfl._Assets.AssetType_Impl_.__name__ = ["openfl","_Assets","AssetType_Impl_"]; -openfl.display.MovieClip = function() { - openfl.display.Sprite.call(this); - this.__currentFrame = 0; - this.__currentLabels = []; - this.__totalFrames = 0; - this.enabled = true; -}; -$hxClasses["openfl.display.MovieClip"] = openfl.display.MovieClip; -openfl.display.MovieClip.__name__ = ["openfl","display","MovieClip"]; -openfl.display.MovieClip.__super__ = openfl.display.Sprite; -openfl.display.MovieClip.prototype = $extend(openfl.display.Sprite.prototype,{ - gotoAndPlay: function(frame,scene) { - } - ,gotoAndStop: function(frame,scene) { - } - ,nextFrame: function() { - } - ,play: function() { - } - ,prevFrame: function() { - } - ,stop: function() { - } - ,get_currentFrame: function() { - return this.__currentFrame; - } - ,get_currentFrameLabel: function() { - return this.__currentFrameLabel; - } - ,get_currentLabel: function() { - return this.__currentLabel; - } - ,get_currentLabels: function() { - return this.__currentLabels; - } - ,get_framesLoaded: function() { - return this.__totalFrames; - } - ,get_totalFrames: function() { - return this.__totalFrames; - } - ,__class__: openfl.display.MovieClip - ,__properties__: $extend(openfl.display.Sprite.prototype.__properties__,{get_totalFrames:"get_totalFrames",get_framesLoaded:"get_framesLoaded",get_currentLabels:"get_currentLabels",get_currentLabel:"get_currentLabel",get_currentFrameLabel:"get_currentFrameLabel",get_currentFrame:"get_currentFrame"}) -}); -openfl.display.LoaderInfo = function() { - openfl.events.EventDispatcher.call(this); - this.applicationDomain = openfl.system.ApplicationDomain.currentDomain; - this.bytesLoaded = 0; - this.bytesTotal = 0; - this.childAllowsParent = true; - this.parameters = { }; -}; -$hxClasses["openfl.display.LoaderInfo"] = openfl.display.LoaderInfo; -openfl.display.LoaderInfo.__name__ = ["openfl","display","LoaderInfo"]; -openfl.display.LoaderInfo.create = function(loader) { - var loaderInfo = new openfl.display.LoaderInfo(); - loaderInfo.uncaughtErrorEvents = new openfl.events.UncaughtErrorEvents(); - if(loader != null) loaderInfo.loader = loader; else loaderInfo.url = openfl.display.LoaderInfo.__rootURL; - return loaderInfo; -}; -openfl.display.LoaderInfo.__super__ = openfl.events.EventDispatcher; -openfl.display.LoaderInfo.prototype = $extend(openfl.events.EventDispatcher.prototype,{ - __class__: openfl.display.LoaderInfo -}); -openfl.system = {}; -openfl.system.ApplicationDomain = function(parentDomain) { - if(parentDomain != null) this.parentDomain = parentDomain; else this.parentDomain = openfl.system.ApplicationDomain.currentDomain; -}; -$hxClasses["openfl.system.ApplicationDomain"] = openfl.system.ApplicationDomain; -openfl.system.ApplicationDomain.__name__ = ["openfl","system","ApplicationDomain"]; -openfl.system.ApplicationDomain.prototype = { - getDefinition: function(name) { - return Type.resolveClass(name); - } - ,hasDefinition: function(name) { - return Type.resolveClass(name) != null; - } - ,__class__: openfl.system.ApplicationDomain -}; -openfl.events.UncaughtErrorEvents = function(target) { - openfl.events.EventDispatcher.call(this,target); -}; -$hxClasses["openfl.events.UncaughtErrorEvents"] = openfl.events.UncaughtErrorEvents; -openfl.events.UncaughtErrorEvents.__name__ = ["openfl","events","UncaughtErrorEvents"]; -openfl.events.UncaughtErrorEvents.__super__ = openfl.events.EventDispatcher; -openfl.events.UncaughtErrorEvents.prototype = $extend(openfl.events.EventDispatcher.prototype,{ - __class__: openfl.events.UncaughtErrorEvents -}); -openfl.geom = {}; -openfl.geom.Matrix = function(a,b,c,d,tx,ty) { - if(ty == null) ty = 0; - if(tx == null) tx = 0; - if(d == null) d = 1; - if(c == null) c = 0; - if(b == null) b = 0; - if(a == null) a = 1; - this.a = a; - this.b = b; - this.c = c; - this.d = d; - this.tx = tx; - this.ty = ty; - this.__array = new Float32Array([a,b,c,d,tx,ty,0,0,1]); -}; -$hxClasses["openfl.geom.Matrix"] = openfl.geom.Matrix; -openfl.geom.Matrix.__name__ = ["openfl","geom","Matrix"]; -openfl.geom.Matrix.prototype = { - clone: function() { - return new openfl.geom.Matrix(this.a,this.b,this.c,this.d,this.tx,this.ty); - } - ,concat: function(m) { - var a1 = this.a * m.a + this.b * m.c; - this.b = this.a * m.b + this.b * m.d; - this.a = a1; - var c1 = this.c * m.a + this.d * m.c; - this.d = this.c * m.b + this.d * m.d; - this.c = c1; - var tx1 = this.tx * m.a + this.ty * m.c + m.tx; - this.ty = this.tx * m.b + this.ty * m.d + m.ty; - this.tx = tx1; - } - ,copyColumnFrom: function(column,vector3D) { - if(column > 2) throw "Column " + column + " out of bounds (2)"; else if(column == 0) { - this.a = vector3D.x; - this.c = vector3D.y; - } else if(column == 1) { - this.b = vector3D.x; - this.d = vector3D.y; - } else { - this.tx = vector3D.x; - this.ty = vector3D.y; - } - } - ,copyColumnTo: function(column,vector3D) { - if(column > 2) throw "Column " + column + " out of bounds (2)"; else if(column == 0) { - vector3D.x = this.a; - vector3D.y = this.c; - vector3D.z = 0; - } else if(column == 1) { - vector3D.x = this.b; - vector3D.y = this.d; - vector3D.z = 0; - } else { - vector3D.x = this.tx; - vector3D.y = this.ty; - vector3D.z = 1; - } - } - ,copyFrom: function(sourceMatrix) { - this.a = sourceMatrix.a; - this.b = sourceMatrix.b; - this.c = sourceMatrix.c; - this.d = sourceMatrix.d; - this.tx = sourceMatrix.tx; - this.ty = sourceMatrix.ty; - } - ,copyRowFrom: function(row,vector3D) { - if(row > 2) throw "Row " + row + " out of bounds (2)"; else if(row == 0) { - this.a = vector3D.x; - this.c = vector3D.y; - } else if(row == 1) { - this.b = vector3D.x; - this.d = vector3D.y; - } else { - this.tx = vector3D.x; - this.ty = vector3D.y; - } - } - ,copyRowTo: function(row,vector3D) { - if(row > 2) throw "Row " + row + " out of bounds (2)"; else if(row == 0) { - vector3D.x = this.a; - vector3D.y = this.b; - vector3D.z = this.tx; - } else if(row == 1) { - vector3D.x = this.c; - vector3D.y = this.d; - vector3D.z = this.ty; - } else { - vector3D.x = 0; - vector3D.y = 0; - vector3D.z = 1; - } - } - ,createBox: function(scaleX,scaleY,rotation,tx,ty) { - if(ty == null) ty = 0; - if(tx == null) tx = 0; - if(rotation == null) rotation = 0; - if(rotation != 0) { - var cos = Math.cos(rotation); - var sin = Math.sin(rotation); - this.a = cos * scaleX; - this.b = sin * scaleY; - this.c = -sin * scaleX; - this.d = cos * scaleY; - } else { - this.a = scaleX; - this.b = 0; - this.c = 0; - this.d = scaleY; - } - this.tx = tx; - this.ty = ty; - } - ,createGradientBox: function(width,height,rotation,tx,ty) { - if(ty == null) ty = 0; - if(tx == null) tx = 0; - if(rotation == null) rotation = 0; - this.a = width / 1638.4; - this.d = height / 1638.4; - if(rotation != 0) { - var cos = Math.cos(rotation); - var sin = Math.sin(rotation); - this.b = sin * this.d; - this.c = -sin * this.a; - this.a *= cos; - this.d *= cos; - } else { - this.b = 0; - this.c = 0; - } - this.tx = tx + width / 2; - this.ty = ty + height / 2; - } - ,deltaTransformPoint: function(point) { - return new openfl.geom.Point(point.x * this.a + point.y * this.c,point.x * this.b + point.y * this.d); - } - ,equals: function(matrix) { - return matrix != null && this.tx == matrix.tx && this.ty == matrix.ty && this.a == matrix.a && this.b == matrix.b && this.c == matrix.c && this.d == matrix.d; - } - ,identity: function() { - this.a = 1; - this.b = 0; - this.c = 0; - this.d = 1; - this.tx = 0; - this.ty = 0; - } - ,invert: function() { - var norm = this.a * this.d - this.b * this.c; - if(norm == 0) { - this.a = this.b = this.c = this.d = 0; - this.tx = -this.tx; - this.ty = -this.ty; - } else { - norm = 1.0 / norm; - var a1 = this.d * norm; - this.d = this.a * norm; - this.a = a1; - this.b *= -norm; - this.c *= -norm; - var tx1 = -this.a * this.tx - this.c * this.ty; - this.ty = -this.b * this.tx - this.d * this.ty; - this.tx = tx1; - } - return this; - } - ,mult: function(m) { - var result = new openfl.geom.Matrix(); - result.a = this.a * m.a + this.b * m.c; - result.b = this.a * m.b + this.b * m.d; - result.c = this.c * m.a + this.d * m.c; - result.d = this.c * m.b + this.d * m.d; - result.tx = this.tx * m.a + this.ty * m.c + m.tx; - result.ty = this.tx * m.b + this.ty * m.d + m.ty; - return result; - } - ,rotate: function(theta) { - var cos = Math.cos(theta); - var sin = Math.sin(theta); - var a1 = this.a * cos - this.b * sin; - this.b = this.a * sin + this.b * cos; - this.a = a1; - var c1 = this.c * cos - this.d * sin; - this.d = this.c * sin + this.d * cos; - this.c = c1; - var tx1 = this.tx * cos - this.ty * sin; - this.ty = this.tx * sin + this.ty * cos; - this.tx = tx1; - } - ,scale: function(sx,sy) { - this.a *= sx; - this.b *= sy; - this.c *= sx; - this.d *= sy; - this.tx *= sx; - this.ty *= sy; - } - ,setRotation: function(theta,scale) { - if(scale == null) scale = 1; - this.a = Math.cos(theta) * scale; - this.c = Math.sin(theta) * scale; - this.b = -this.c; - this.d = this.a; - } - ,setTo: function(a,b,c,d,tx,ty) { - this.a = a; - this.b = b; - this.c = c; - this.d = d; - this.tx = tx; - this.ty = ty; - } - ,to3DString: function(roundPixels) { - if(roundPixels == null) roundPixels = false; - if(roundPixels) return "matrix3d(" + this.a + ", " + this.b + ", " + "0, 0, " + this.c + ", " + this.d + ", " + "0, 0, 0, 0, 1, 0, " + (this.tx | 0) + ", " + (this.ty | 0) + ", 0, 1)"; else return "matrix3d(" + this.a + ", " + this.b + ", " + "0, 0, " + this.c + ", " + this.d + ", " + "0, 0, 0, 0, 1, 0, " + this.tx + ", " + this.ty + ", 0, 1)"; - } - ,toMozString: function() { - return "matrix(" + this.a + ", " + this.b + ", " + this.c + ", " + this.d + ", " + this.tx + "px, " + this.ty + "px)"; - } - ,toString: function() { - return "matrix(" + this.a + ", " + this.b + ", " + this.c + ", " + this.d + ", " + this.tx + ", " + this.ty + ")"; - } - ,transformPoint: function(pos) { - return new openfl.geom.Point(pos.x * this.a + pos.y * this.c + this.tx,pos.x * this.b + pos.y * this.d + this.ty); - } - ,translate: function(dx,dy) { - var m = new openfl.geom.Matrix(); - m.tx = dx; - m.ty = dy; - this.concat(m); - } - ,toArray: function(transpose) { - if(transpose == null) transpose = false; - if(transpose) { - this.__array[0] = this.a; - this.__array[1] = this.b; - this.__array[2] = 0; - this.__array[3] = this.c; - this.__array[4] = this.d; - this.__array[5] = 0; - this.__array[6] = this.tx; - this.__array[7] = this.ty; - this.__array[8] = 1; - } else { - this.__array[0] = this.a; - this.__array[1] = this.c; - this.__array[2] = this.tx; - this.__array[3] = this.b; - this.__array[4] = this.d; - this.__array[5] = this.ty; - this.__array[6] = 0; - this.__array[7] = 0; - this.__array[8] = 1; - } - return this.__array; - } - ,__cleanValues: function() { - this.a = Math.round(this.a * 1000) / 1000; - this.b = Math.round(this.b * 1000) / 1000; - this.c = Math.round(this.c * 1000) / 1000; - this.d = Math.round(this.d * 1000) / 1000; - this.tx = Math.round(this.tx * 10) / 10; - this.ty = Math.round(this.ty * 10) / 10; - } - ,__toMatrix3: function() { - return new lime.math.Matrix3(this.a,this.b,this.c,this.d,this.tx,this.ty); - } - ,__transformX: function(pos) { - return pos.x * this.a + pos.y * this.c + this.tx; - } - ,__transformY: function(pos) { - return pos.x * this.b + pos.y * this.d + this.ty; - } - ,__translateTransformed: function(pos) { - this.tx = pos.x * this.a + pos.y * this.c + this.tx; - this.ty = pos.x * this.b + pos.y * this.d + this.ty; - } - ,__class__: openfl.geom.Matrix -}; -openfl.geom.ColorTransform = function(redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier,redOffset,greenOffset,blueOffset,alphaOffset) { - if(alphaOffset == null) alphaOffset = 0; - if(blueOffset == null) blueOffset = 0; - if(greenOffset == null) greenOffset = 0; - if(redOffset == null) redOffset = 0; - if(alphaMultiplier == null) alphaMultiplier = 1; - if(blueMultiplier == null) blueMultiplier = 1; - if(greenMultiplier == null) greenMultiplier = 1; - if(redMultiplier == null) redMultiplier = 1; - this.redMultiplier = redMultiplier; - this.greenMultiplier = greenMultiplier; - this.blueMultiplier = blueMultiplier; - this.alphaMultiplier = alphaMultiplier; - this.redOffset = redOffset; - this.greenOffset = greenOffset; - this.blueOffset = blueOffset; - this.alphaOffset = alphaOffset; -}; -$hxClasses["openfl.geom.ColorTransform"] = openfl.geom.ColorTransform; -openfl.geom.ColorTransform.__name__ = ["openfl","geom","ColorTransform"]; -openfl.geom.ColorTransform.prototype = { - concat: function(second) { - this.redMultiplier += second.redMultiplier; - this.greenMultiplier += second.greenMultiplier; - this.blueMultiplier += second.blueMultiplier; - this.alphaMultiplier += second.alphaMultiplier; - } - ,__combine: function(ct) { - this.redMultiplier *= ct.redMultiplier; - this.greenMultiplier *= ct.greenMultiplier; - this.blueMultiplier *= ct.blueMultiplier; - this.alphaMultiplier *= ct.alphaMultiplier; - this.redOffset += ct.redOffset; - this.greenOffset += ct.greenOffset; - this.blueOffset += ct.blueOffset; - this.alphaOffset += ct.alphaOffset; - } - ,__equals: function(ct,skipAlphaMultiplier) { - if(skipAlphaMultiplier == null) skipAlphaMultiplier = false; - return ct != null && this.redMultiplier == ct.redMultiplier && this.greenMultiplier == ct.greenMultiplier && this.blueMultiplier == ct.blueMultiplier && (skipAlphaMultiplier || this.alphaMultiplier == ct.alphaMultiplier) && this.redOffset == ct.redOffset && this.greenOffset == ct.greenOffset && this.blueOffset == ct.blueOffset && this.alphaOffset == ct.alphaOffset; - } - ,__clone: function() { - return new openfl.geom.ColorTransform(this.redMultiplier,this.greenMultiplier,this.blueMultiplier,this.alphaMultiplier,this.redOffset,this.greenOffset,this.blueOffset,this.alphaOffset); - } - ,get_color: function() { - return (this.redOffset | 0) << 16 | (this.greenOffset | 0) << 8 | (this.blueOffset | 0); - } - ,set_color: function(value) { - this.redOffset = value >> 16 & 255; - this.greenOffset = value >> 8 & 255; - this.blueOffset = value & 255; - this.redMultiplier = 0; - this.greenMultiplier = 0; - this.blueMultiplier = 0; - return this.get_color(); - } - ,__toLimeColorMatrix: function() { - return new Float32Array([this.redMultiplier,0,0,0,this.redOffset / 255,0,this.greenMultiplier,0,0,this.greenOffset / 255,0,0,this.blueMultiplier,0,this.blueOffset / 255,0,0,0,this.alphaMultiplier,this.alphaOffset / 255]); - } - ,__class__: openfl.geom.ColorTransform - ,__properties__: {set_color:"set_color",get_color:"get_color"} -}; -openfl.Lib = function() { }; -$hxClasses["openfl.Lib"] = openfl.Lib; -openfl.Lib.__name__ = ["openfl","Lib"]; -openfl.Lib.application = null; -openfl.Lib["as"] = function(v,c) { - if(js.Boot.__instanceof(v,c)) return v; else return null; -}; -openfl.Lib.attach = function(name) { - return new openfl.display.MovieClip(); -}; -openfl.Lib.embed = $hx_exports.openfl.embed = function(elementName,width,height,background,assetsPrefix) { - lime.system.System.embed(elementName,width,height,background,assetsPrefix); -}; -openfl.Lib.getTimer = function() { - return lime.system.System.getTimer(); -}; -openfl.Lib.getURL = function(request,target) { - if(target == null) target = "_blank"; - window.open(request.url,target); -}; -openfl.Lib.notImplemented = function(api) { - if(!openfl.Lib.__sentWarnings.exists(api)) { - openfl.Lib.__sentWarnings.set(api,true); - haxe.Log.trace("Warning: " + api + " is not implemented",{ fileName : "Lib.hx", lineNumber : 114, className : "openfl.Lib", methodName : "notImplemented"}); - } -}; -openfl.Lib.preventDefaultTouchMove = function() { - window.document.addEventListener("touchmove",function(evt) { - evt.preventDefault(); - },false); -}; -openfl.Lib.trace = function(arg) { - haxe.Log.trace(arg,{ fileName : "Lib.hx", lineNumber : 145, className : "openfl.Lib", methodName : "trace"}); -}; -openfl.Memory = function() { }; -$hxClasses["openfl.Memory"] = openfl.Memory; -openfl.Memory.__name__ = ["openfl","Memory"]; -openfl.Memory.gcRef = null; -openfl.Memory.len = null; -openfl.Memory._setPositionTemporarily = function(position,action) { - var oldPosition = openfl.Memory.gcRef.position; - openfl.Memory.gcRef.position = position; - var value = action(); - openfl.Memory.gcRef.position = oldPosition; - return value; -}; -openfl.Memory.getByte = function(addr) { - if(addr < 0 || addr + 1 > openfl.Memory.len) throw "Bad address"; - return openfl.Memory.gcRef.data.getInt8(addr); -}; -openfl.Memory.getDouble = function(addr) { - if(addr < 0 || addr + 8 > openfl.Memory.len) throw "Bad address"; - return openfl.Memory._setPositionTemporarily(addr,function() { - return openfl.Memory.gcRef.readDouble(); - }); -}; -openfl.Memory.getFloat = function(addr) { - if(addr < 0 || addr + 4 > openfl.Memory.len) throw "Bad address"; - return openfl.Memory._setPositionTemporarily(addr,function() { - return openfl.Memory.gcRef.readFloat(); - }); -}; -openfl.Memory.getI32 = function(addr) { - if(addr < 0 || addr + 4 > openfl.Memory.len) throw "Bad address"; - return openfl.Memory._setPositionTemporarily(addr,function() { - return openfl.Memory.gcRef.readInt(); - }); -}; -openfl.Memory.getUI16 = function(addr) { - if(addr < 0 || addr + 2 > openfl.Memory.len) throw "Bad address"; - return openfl.Memory._setPositionTemporarily(addr,function() { - return openfl.Memory.gcRef.readUnsignedShort(); - }); -}; -openfl.Memory.select = function(inBytes) { - openfl.Memory.gcRef = inBytes; - if(inBytes != null) openfl.Memory.len = inBytes.length; else openfl.Memory.len = 0; -}; -openfl.Memory.setByte = function(addr,v) { - if(addr < 0 || addr + 1 > openfl.Memory.len) throw "Bad address"; - openfl.Memory.gcRef.data.setUint8(addr,v); -}; -openfl.Memory.setDouble = function(addr,v) { - if(addr < 0 || addr + 8 > openfl.Memory.len) throw "Bad address"; - openfl.Memory._setPositionTemporarily(addr,function() { - openfl.Memory.gcRef.writeDouble(v); - }); -}; -openfl.Memory.setFloat = function(addr,v) { - if(addr < 0 || addr + 4 > openfl.Memory.len) throw "Bad address"; - openfl.Memory._setPositionTemporarily(addr,function() { - openfl.Memory.gcRef.writeFloat(v); - }); -}; -openfl.Memory.setI16 = function(addr,v) { - if(addr < 0 || addr + 2 > openfl.Memory.len) throw "Bad address"; - openfl.Memory._setPositionTemporarily(addr,function() { - openfl.Memory.gcRef.writeUnsignedShort(v); - }); -}; -openfl.Memory.setI32 = function(addr,v) { - if(addr < 0 || addr + 4 > openfl.Memory.len) throw "Bad address"; - openfl.Memory._setPositionTemporarily(addr,function() { - openfl.Memory.gcRef.writeInt(v); - }); -}; -openfl._Vector = {}; -openfl._Vector.Vector_Impl_ = function() { }; -$hxClasses["openfl._Vector.Vector_Impl_"] = openfl._Vector.Vector_Impl_; -openfl._Vector.Vector_Impl_.__name__ = ["openfl","_Vector","Vector_Impl_"]; -openfl._Vector.Vector_Impl_.__properties__ = {set_fixed:"set_fixed",get_fixed:"get_fixed",set_length:"set_length",get_length:"get_length"} -openfl._Vector.Vector_Impl_._new = function(length,fixed) { - if(fixed == null) fixed = false; - if(length == null) length = 0; - var this1; - this1 = new openfl.VectorData(); - var this2; - this2 = new Array(length); - this1.data = this2; - this1.length = length; - this1.fixed = fixed; - return this1; -}; -openfl._Vector.Vector_Impl_.concat = function(this1,a) { - var vectorData = new openfl.VectorData(); - if(a != null) vectorData.length = this1.length + a.length; else vectorData.length = this1.length; - vectorData.fixed = false; - var this2; - this2 = new Array(vectorData.length); - vectorData.data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,vectorData.data,0,this1.length); - if(a != null) haxe.ds._Vector.Vector_Impl_.blit(a.data,0,vectorData.data,this1.length,a.length); - return vectorData; -}; -openfl._Vector.Vector_Impl_.copy = function(this1) { - var vectorData = new openfl.VectorData(); - vectorData.length = this1.length; - vectorData.fixed = this1.fixed; - var this2; - this2 = new Array(this1.length); - vectorData.data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,vectorData.data,0,this1.length); - return vectorData; -}; -openfl._Vector.Vector_Impl_.iterator = function(this1) { - return new openfl.VectorDataIterator(this1); -}; -openfl._Vector.Vector_Impl_.join = function(this1,sep) { - var output = ""; - var _g1 = 0; - var _g = this1.length; - while(_g1 < _g) { - var i = _g1++; - if(i > 0) output += sep; - output += Std.string(this1.data[i]); - } - return output; -}; -openfl._Vector.Vector_Impl_.pop = function(this1) { - var value = null; - if(!this1.fixed) { - if(this1.length > 0) { - this1.length--; - value = this1.data[this1.length]; - } - } - return value; -}; -openfl._Vector.Vector_Impl_.push = function(this1,x) { - if(!this1.fixed) { - this1.length++; - if(this1.data.length < this1.length) { - var data; - var this2; - this2 = new Array(this1.data.length + 10); - data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,data,0,this1.data.length); - this1.data = data; - } - this1.data[this1.length - 1] = x; - } - return this1.length; -}; -openfl._Vector.Vector_Impl_.reverse = function(this1) { - var data; - var this2; - this2 = new Array(this1.length); - data = this2; - var _g1 = 0; - var _g = this1.length; - while(_g1 < _g) { - var i = _g1++; - data[this1.length - 1 - i] = this1.data[i]; - } - this1.data = data; -}; -openfl._Vector.Vector_Impl_.shift = function(this1) { - if(!this1.fixed && this1.length > 0) { - this1.length--; - var value = this1.data[0]; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,1,this1.data,0,this1.length); - return value; - } - return null; -}; -openfl._Vector.Vector_Impl_.unshift = function(this1,x) { - if(!this1.fixed) { - this1.length++; - if(this1.data.length < this1.length) { - var data; - var this2; - this2 = new Array(this1.length + 10); - data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,data,1,this1.data.length); - this1.data = data; - } else haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,this1.data,1,this1.length - 1); - this1.data[0] = x; - } -}; -openfl._Vector.Vector_Impl_.slice = function(this1,pos,end) { - if(end == null) end = 0; - if(pos == null) pos = 0; - if(pos < 0) pos += this1.length; - if(end <= 0) end += this1.length; - if(end > this1.length) end = this1.length; - var length = end - pos; - if(length <= 0 || length > this1.length) length = this1.length; - var vectorData = new openfl.VectorData(); - vectorData.length = end - pos; - vectorData.fixed = true; - var this2; - this2 = new Array(length); - vectorData.data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,pos,vectorData.data,0,length); - return vectorData; -}; -openfl._Vector.Vector_Impl_.sort = function(this1,f) { - var array = haxe.ds._Vector.Vector_Impl_.toArray(this1.data); - array.sort(f); - var vec; - var this2; - this2 = new Array(array.length); - vec = this2; - var _g1 = 0; - var _g = array.length; - while(_g1 < _g) { - var i = _g1++; - vec[i] = array[i]; - } - this1.data = vec; -}; -openfl._Vector.Vector_Impl_.splice = function(this1,pos,len) { - if(pos < 0) pos += this1.length; - if(pos + len > this1.length) len = this1.length - pos; - if(len < 0) len = 0; - var vectorData = new openfl.VectorData(); - vectorData.length = len; - vectorData.fixed = false; - var this2; - this2 = new Array(len); - vectorData.data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,pos,vectorData.data,0,len); - if(len > 0) { - this1.length -= len; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,pos + len,this1.data,pos,this1.length - pos); - } - return vectorData; -}; -openfl._Vector.Vector_Impl_.toString = function(this1) { - return haxe.ds._Vector.Vector_Impl_.toArray(this1.data).toString(); -}; -openfl._Vector.Vector_Impl_.indexOf = function(this1,x,from) { - if(from == null) from = 0; - var value = -1; - var _g1 = from; - var _g = this1.length; - while(_g1 < _g) { - var i = _g1++; - if(this1.data[i] == x) { - value = i; - break; - } - } - return value; -}; -openfl._Vector.Vector_Impl_.lastIndexOf = function(this1,x,from) { - if(from == null) from = 0; - var value = -1; - var i = this1.length - 1; - while(i >= from) { - if(this1.data[i] == x) { - value = i; - break; - } - i--; - } - return value; -}; -openfl._Vector.Vector_Impl_.ofArray = function(a) { - var vectorData = new openfl.VectorData(); - vectorData.length = a.length; - vectorData.fixed = true; - var vec; - var this1; - this1 = new Array(a.length); - vec = this1; - var _g1 = 0; - var _g = a.length; - while(_g1 < _g) { - var i = _g1++; - vec[i] = a[i]; - } - vectorData.data = vec; - return vectorData; -}; -openfl._Vector.Vector_Impl_.convert = function(v) { - return v; -}; -openfl._Vector.Vector_Impl_.get = function(this1,index) { - return this1.data[index]; -}; -openfl._Vector.Vector_Impl_.set = function(this1,key,value) { - if(!this1.fixed) { - if(key >= this1.length) this1.length = key + 1; - if(this1.data.length < this1.length) { - var data; - var this2; - this2 = new Array(this1.data.length + 10); - data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,data,0,this1.data.length); - this1.data = data; - } - } - return this1.data[key] = value; -}; -openfl._Vector.Vector_Impl_.fromArray = function(value) { - var vectorData = new openfl.VectorData(); - vectorData.length = value.length; - vectorData.fixed = true; - var vec; - var this1; - this1 = new Array(value.length); - vec = this1; - var _g1 = 0; - var _g = value.length; - while(_g1 < _g) { - var i = _g1++; - vec[i] = value[i]; - } - vectorData.data = vec; - return vectorData; -}; -openfl._Vector.Vector_Impl_.toArray = function(this1) { - var value = new Array(); - var _g1 = 0; - var _g = this1.data.length; - while(_g1 < _g) { - var i = _g1++; - value.push(this1.data[i]); - } - return value; -}; -openfl._Vector.Vector_Impl_.fromHaxeVector = function(value) { - var vectorData = new openfl.VectorData(); - vectorData.length = value.length; - vectorData.fixed = true; - vectorData.data = value; - return vectorData; -}; -openfl._Vector.Vector_Impl_.toHaxeVector = function(this1) { - return this1.data; -}; -openfl._Vector.Vector_Impl_.fromVectorData = function(value) { - return value; -}; -openfl._Vector.Vector_Impl_.toVectorData = function(this1) { - return this1; -}; -openfl._Vector.Vector_Impl_.get_length = function(this1) { - return this1.length; -}; -openfl._Vector.Vector_Impl_.set_length = function(this1,value) { - if(!this1.fixed) { - if(value > this1.length) { - var data; - var this2; - this2 = new Array(value); - data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,data,0,Std["int"](Math.min(this1.data.length,value))); - this1.data = data; - } - this1.length = value; - } - return value; -}; -openfl._Vector.Vector_Impl_.get_fixed = function(this1) { - return this1.fixed; -}; -openfl._Vector.Vector_Impl_.set_fixed = function(this1,value) { - return this1.fixed = value; -}; -openfl.VectorData = function() { - this.length = 0; -}; -$hxClasses["openfl.VectorData"] = openfl.VectorData; -openfl.VectorData.__name__ = ["openfl","VectorData"]; -openfl.VectorData.prototype = { - __class__: openfl.VectorData -}; -openfl.VectorDataIterator = function(data) { - this.index = 0; - this.vectorData = data; -}; -$hxClasses["openfl.VectorDataIterator"] = openfl.VectorDataIterator; -openfl.VectorDataIterator.__name__ = ["openfl","VectorDataIterator"]; -openfl.VectorDataIterator.prototype = { - hasNext: function() { - return this.index < this.vectorData.length; - } - ,next: function() { - var index = this.index++; - return this.vectorData.data[index]; - } - ,__class__: openfl.VectorDataIterator -}; -openfl._internal = {}; -openfl._internal.renderer = {}; -openfl._internal.renderer.AbstractMaskManager = function(renderSession) { - this.renderSession = renderSession; -}; -$hxClasses["openfl._internal.renderer.AbstractMaskManager"] = openfl._internal.renderer.AbstractMaskManager; -openfl._internal.renderer.AbstractMaskManager.__name__ = ["openfl","_internal","renderer","AbstractMaskManager"]; -openfl._internal.renderer.AbstractMaskManager.prototype = { - pushMask: function(mask) { - } - ,pushRect: function(rect,transform) { - } - ,popMask: function() { - } - ,__class__: openfl._internal.renderer.AbstractMaskManager -}; -openfl._internal.renderer.AbstractRenderer = function(width,height) { - this.width = width; - this.height = height; -}; -$hxClasses["openfl._internal.renderer.AbstractRenderer"] = openfl._internal.renderer.AbstractRenderer; -openfl._internal.renderer.AbstractRenderer.__name__ = ["openfl","_internal","renderer","AbstractRenderer"]; -openfl._internal.renderer.AbstractRenderer.prototype = { - render: function(stage) { - } - ,renderShape: function(shape) { - } - ,setViewport: function(x,y,width,height) { - } - ,resize: function(width,height) { - } - ,__class__: openfl._internal.renderer.AbstractRenderer -}; -openfl._internal.renderer.RenderSession = function() { -}; -$hxClasses["openfl._internal.renderer.RenderSession"] = openfl._internal.renderer.RenderSession; -openfl._internal.renderer.RenderSession.__name__ = ["openfl","_internal","renderer","RenderSession"]; -openfl._internal.renderer.RenderSession.prototype = { - __class__: openfl._internal.renderer.RenderSession -}; -openfl._internal.renderer.TextFieldGraphics = function() { }; -$hxClasses["openfl._internal.renderer.TextFieldGraphics"] = openfl._internal.renderer.TextFieldGraphics; -openfl._internal.renderer.TextFieldGraphics.__name__ = ["openfl","_internal","renderer","TextFieldGraphics"]; -openfl._internal.renderer.TextFieldGraphics.render = function(textField) { - var bounds = textField.getBounds(null); - openfl._internal.renderer.TextFieldGraphics.update(textField,bounds); - if(textField.__graphics == null) textField.__graphics = new openfl.display.Graphics(); - var graphics = textField.__graphics; - graphics.clear(); - if(textField.border || textField.background) { - if(textField.border) graphics.lineStyle(1,textField.borderColor); - if(textField.background) graphics.beginFill(textField.backgroundColor); - graphics.drawRect(bounds.x + 0.5,bounds.y + 0.5,bounds.width - 1,bounds.height - 1); - } - if(textField.__tileData != null) { - var $it0 = textField.__tilesheets.keys(); - while( $it0.hasNext() ) { - var tilesheet = $it0.next(); - graphics.drawTiles(tilesheet,textField.__tileData.h[tilesheet.__id__],true,4,textField.__tileDataLength.h[tilesheet.__id__]); - } - } -}; -openfl._internal.renderer.TextFieldGraphics.renderText = function(textField,text,format,offsetX,bounds) { - var font = openfl._internal.renderer.cairo.CairoTextField.getFontInstance(format); - if(font != null && format.size != null) { - if(!(openfl._internal.renderer.TextFieldGraphics.glyphs.h.__keys__[font.__id__] != null)) { - var value = new haxe.ds.IntMap(); - openfl._internal.renderer.TextFieldGraphics.glyphs.set(font,value); - } - var size = format.size | 0; - var fontGlyphs = openfl._internal.renderer.TextFieldGraphics.glyphs.h[font.__id__]; - if(!fontGlyphs.exists(size)) { - var value1 = font.renderGlyphs(font.getGlyphs(),size); - fontGlyphs.set(size,value1); - } - var images = fontGlyphs.get(size); - if(!(openfl._internal.renderer.TextFieldGraphics.bitmapData.h.__keys__[font.__id__] != null)) { - var value2 = new haxe.ds.IntMap(); - openfl._internal.renderer.TextFieldGraphics.bitmapData.set(font,value2); - } - var fontBitmapData = openfl._internal.renderer.TextFieldGraphics.bitmapData.h[font.__id__]; - if(!fontBitmapData.exists(size)) { - var width; - var height; - var data; - var $it0 = images.iterator(); - while( $it0.hasNext() ) { - var image = $it0.next(); - width = image.buffer.width; - height = image.buffer.height; - data = image.get_data(); - break; - } - var bitmapData = new openfl.display.BitmapData(width,height); - var _g = 0; - while(_g < width) { - var x = _g++; - var _g1 = 0; - while(_g1 < height) { - var y = _g1++; - var alpha = data[y * width + x]; - var color = alpha << 24 | 16711680 | 65280 | 255; - bitmapData.setPixel32(x,y,color); - } - } - fontBitmapData.set(size,bitmapData); - } - var bitmapData1 = fontBitmapData.get(size); - if(!(openfl._internal.renderer.TextFieldGraphics.tilesheets.h.__keys__[bitmapData1.__id__] != null)) { - var tilesheet = new openfl.display.Tilesheet(bitmapData1); - var tileID = new haxe.ds.IntMap(); - var image1; - var index; - var $it1 = images.keys(); - while( $it1.hasNext() ) { - var key = $it1.next(); - image1 = images.get(key); - index = tilesheet.addTileRect(new openfl.geom.Rectangle(image1.offsetX,image1.offsetY,image1.width,image1.height)); - tileID.set(key,index); - } - openfl._internal.renderer.TextFieldGraphics.tileIDs.set(bitmapData1,tileID); - openfl._internal.renderer.TextFieldGraphics.tilesheets.set(bitmapData1,tilesheet); - } - var tilesheet1 = openfl._internal.renderer.TextFieldGraphics.tilesheets.h[bitmapData1.__id__]; - var tileID1 = openfl._internal.renderer.TextFieldGraphics.tileIDs.h[bitmapData1.__id__]; - var r = (format.color >> 16 & 255) / 255; - var g = (format.color >> 8 & 255) / 255; - var b = (format.color & 255) / 255; - var tlm = textField.getLineMetrics(0); - var image2; - var x1 = offsetX; - var y1 = 2 + tlm.ascent; - var tileData; - textField.__tilesheets.set(tilesheet1,true); - if(!(textField.__tileData.h.__keys__[tilesheet1.__id__] != null)) { - tileData = new Array(); - textField.__tileData.set(tilesheet1,tileData); - textField.__tileDataLength.set(tilesheet1,0); - } - tileData = textField.__tileData.h[tilesheet1.__id__]; - var offsetY = 0; - var lines = text.split("\n"); - if(textField.__textLayout == null) textField.__textLayout = new lime.text.TextLayout(); - var textLayout = textField.__textLayout; - var length = 0; - var line_i = 0; - var oldX = x1; - var _g2 = 0; - while(_g2 < lines.length) { - var line = lines[_g2]; - ++_g2; - tlm = textField.getLineMetrics(line_i); - x1 = oldX; - var _g11 = format.align; - switch(_g11[1]) { - case 0:case 2: - x1 += 0; - break; - case 3: - x1 += (textField.__width - 4 - tlm.width) / 2; - break; - case 1: - x1 += textField.__width - 4 - tlm.width; - break; - } - textLayout.set_text(null); - textLayout.set_font(font); - textLayout.set_size(size); - textLayout.set_text(line); - var _g12 = 0; - var _g21 = textLayout.get_positions(); - while(_g12 < _g21.length) { - var position = _g21[_g12]; - ++_g12; - image2 = images.get(position.glyph); - if(image2 != null) { - if(length >= tileData.length) { - tileData.push(x1 + position.offset.x + image2.x); - tileData.push(y1 + position.offset.y - image2.y); - tileData.push(tileID1.get(position.glyph)); - tileData.push(r); - tileData.push(g); - tileData.push(b); - } else { - tileData[length] = x1 + position.offset.x + image2.x; - tileData[length + 1] = y1 + position.offset.y - image2.y; - tileData[length + 2] = tileID1.get(position.glyph); - tileData[length + 3] = r; - tileData[length + 4] = g; - tileData[length + 5] = b; - } - length += 6; - } - x1 += position.advance.x; - y1 -= position.advance.y; - } - y1 += tlm.height; - line_i++; - } - textField.__tileDataLength.set(tilesheet1,length); - } -}; -openfl._internal.renderer.TextFieldGraphics.update = function(textField,bounds) { - if(textField.__dirty) { - if((textField.__text == null || textField.__text == "") && !textField.background && !textField.border || (textField.get_width() <= 0 || textField.get_height() <= 0) && textField.autoSize != openfl.text.TextFieldAutoSize.LEFT) { - textField.__tilesheets = null; - textField.__tileData = null; - textField.__tileDataLength = null; - textField.__dirty = false; - } else { - textField.__tilesheets = new haxe.ds.ObjectMap(); - if(textField.__tileData == null) { - textField.__tileData = new haxe.ds.ObjectMap(); - textField.__tileDataLength = new haxe.ds.ObjectMap(); - } - if(textField.__text != null && textField.__text != "") { - var text = textField.get_text(); - if(textField.displayAsPassword) { - var length = text.length; - var mask = ""; - var _g = 0; - while(_g < length) { - var i = _g++; - mask += "*"; - } - text = mask; - } - var measurements = openfl._internal.renderer.cairo.CairoTextField.measureText(textField); - if(textField.__ranges == null) openfl._internal.renderer.TextFieldGraphics.renderText(textField,text,textField.__textFormat,2,bounds); else { - var currentIndex = 0; - var range; - var offsetX = 2.0; - var _g1 = 0; - var _g2 = textField.__ranges.length; - while(_g1 < _g2) { - var i1 = _g1++; - range = textField.__ranges[i1]; - openfl._internal.renderer.TextFieldGraphics.renderText(textField,text.substring(range.start,range.end),range.format,offsetX,bounds); - offsetX += measurements[i1]; - } - } - } - var $it0 = textField.__tileData.keys(); - while( $it0.hasNext() ) { - var key = $it0.next(); - if(!(textField.__tilesheets.h.__keys__[key.__id__] != null)) { - textField.__tileData.remove(key); - textField.__tileDataLength.remove(key); - } - } - textField.__dirty = false; - return true; - } - } - return false; -}; -openfl._internal.renderer.cairo = {}; -openfl._internal.renderer.cairo.CairoBitmap = function() { }; -$hxClasses["openfl._internal.renderer.cairo.CairoBitmap"] = openfl._internal.renderer.cairo.CairoBitmap; -openfl._internal.renderer.cairo.CairoBitmap.__name__ = ["openfl","_internal","renderer","cairo","CairoBitmap"]; -openfl._internal.renderer.cairo.CairoBitmap.render = function(bitmap,renderSession) { - if(!bitmap.__renderable || bitmap.__worldAlpha <= 0) return; - var cairo = renderSession.cairo; - if(bitmap.bitmapData != null && bitmap.bitmapData.__isValid) { - if(bitmap.__mask != null) renderSession.maskManager.pushMask(bitmap.__mask); - var transform = bitmap.__worldTransform; - var scrollRect = bitmap.get_scrollRect(); - if(renderSession.roundPixels) { - var matrix = transform.__toMatrix3(); - matrix.tx = Math.round(matrix.tx); - matrix.ty = Math.round(matrix.ty); - cairo.set_matrix(matrix); - } else cairo.set_matrix(transform.__toMatrix3()); - var surface = bitmap.bitmapData.getSurface(); - if(surface != null) { - cairo.setSourceSurface(surface,0,0); - if(scrollRect != null) { - cairo.pushGroup(); - cairo.setSourceSurface(surface,0,0); - cairo.newPath(); - cairo.rectangle(scrollRect.x,scrollRect.y,scrollRect.width,scrollRect.height); - cairo.fill(); - cairo.popGroupToSource(); - } - if(bitmap.__worldAlpha == 1) cairo.paint(); else cairo.paintWithAlpha(bitmap.__worldAlpha); - } - if(bitmap.__mask != null) renderSession.maskManager.popMask(); - } -}; -openfl._internal.renderer.cairo.CairoGraphics = function() { }; -$hxClasses["openfl._internal.renderer.cairo.CairoGraphics"] = openfl._internal.renderer.cairo.CairoGraphics; -openfl._internal.renderer.cairo.CairoGraphics.__name__ = ["openfl","_internal","renderer","cairo","CairoGraphics"]; -openfl._internal.renderer.cairo.CairoGraphics.bounds = null; -openfl._internal.renderer.cairo.CairoGraphics.cairo = null; -openfl._internal.renderer.cairo.CairoGraphics.fillCommands = null; -openfl._internal.renderer.cairo.CairoGraphics.fillPattern = null; -openfl._internal.renderer.cairo.CairoGraphics.fillPatternMatrix = null; -openfl._internal.renderer.cairo.CairoGraphics.graphics = null; -openfl._internal.renderer.cairo.CairoGraphics.hasFill = null; -openfl._internal.renderer.cairo.CairoGraphics.hasStroke = null; -openfl._internal.renderer.cairo.CairoGraphics.inversePendingMatrix = null; -openfl._internal.renderer.cairo.CairoGraphics.pendingMatrix = null; -openfl._internal.renderer.cairo.CairoGraphics.strokeCommands = null; -openfl._internal.renderer.cairo.CairoGraphics.strokePattern = null; -openfl._internal.renderer.cairo.CairoGraphics.bitmapFill = null; -openfl._internal.renderer.cairo.CairoGraphics.bitmapRepeat = null; -openfl._internal.renderer.cairo.CairoGraphics.endFill = function() { - openfl._internal.renderer.cairo.CairoGraphics.cairo.newPath(); - openfl._internal.renderer.cairo.CairoGraphics.playCommands(openfl._internal.renderer.cairo.CairoGraphics.fillCommands,false); - openfl._internal.renderer.cairo.CairoGraphics.fillCommands = []; -}; -openfl._internal.renderer.cairo.CairoGraphics.endStroke = function() { - openfl._internal.renderer.cairo.CairoGraphics.cairo.newPath(); - openfl._internal.renderer.cairo.CairoGraphics.playCommands(openfl._internal.renderer.cairo.CairoGraphics.strokeCommands,true); - openfl._internal.renderer.cairo.CairoGraphics.cairo.closePath(); - openfl._internal.renderer.cairo.CairoGraphics.strokeCommands = []; -}; -openfl._internal.renderer.cairo.CairoGraphics.drawRoundRect = function(x,y,width,height,rx,ry) { - if(ry == -1) ry = rx; - rx *= 0.5; - ry *= 0.5; - if(rx > width / 2) rx = width / 2; - if(ry > height / 2) ry = height / 2; - var xe = x + width; - var ye = y + height; - var cx1 = -rx + rx * openfl._internal.renderer.cairo.CairoGraphics.SIN45; - var cx2 = -rx + rx * openfl._internal.renderer.cairo.CairoGraphics.TAN22; - var cy1 = -ry + ry * openfl._internal.renderer.cairo.CairoGraphics.SIN45; - var cy2 = -ry + ry * openfl._internal.renderer.cairo.CairoGraphics.TAN22; - openfl._internal.renderer.cairo.CairoGraphics.cairo.moveTo(xe,ye - ry); - openfl._internal.renderer.cairo.CairoGraphics.quadraticCurveTo(xe,ye + cy2,xe + cx1,ye + cy1); - openfl._internal.renderer.cairo.CairoGraphics.quadraticCurveTo(xe + cx2,ye,xe - rx,ye); - openfl._internal.renderer.cairo.CairoGraphics.cairo.lineTo(x + rx,ye); - openfl._internal.renderer.cairo.CairoGraphics.quadraticCurveTo(x - cx2,ye,x - cx1,ye + cy1); - openfl._internal.renderer.cairo.CairoGraphics.quadraticCurveTo(x,ye + cy2,x,ye - ry); - openfl._internal.renderer.cairo.CairoGraphics.cairo.lineTo(x,y + ry); - openfl._internal.renderer.cairo.CairoGraphics.quadraticCurveTo(x,y - cy2,x - cx1,y - cy1); - openfl._internal.renderer.cairo.CairoGraphics.quadraticCurveTo(x - cx2,y,x + rx,y); - openfl._internal.renderer.cairo.CairoGraphics.cairo.lineTo(xe - rx,y); - openfl._internal.renderer.cairo.CairoGraphics.quadraticCurveTo(xe + cx2,y,xe + cx1,y - cy1); - openfl._internal.renderer.cairo.CairoGraphics.quadraticCurveTo(xe,y - cy2,xe,y + ry); - openfl._internal.renderer.cairo.CairoGraphics.cairo.lineTo(xe,ye - ry); -}; -openfl._internal.renderer.cairo.CairoGraphics.isCCW = function(x1,y1,x2,y2,x3,y3) { - return (x2 - x1) * (y3 - y1) - (y2 - y1) * (x3 - x1) < 0; -}; -openfl._internal.renderer.cairo.CairoGraphics.normalizeUVT = function(uvt,skipT) { - if(skipT == null) skipT = false; - var max = Math.NEGATIVE_INFINITY; - var tmp = Math.NEGATIVE_INFINITY; - var len = uvt.length; - var _g1 = 1; - var _g = len + 1; - while(_g1 < _g) { - var t = _g1++; - if(skipT && t % 3 == 0) continue; - tmp = uvt.data[t - 1]; - if(max < tmp) max = tmp; - } - var result; - var this1; - this1 = new openfl.VectorData(); - var this2; - this2 = new Array(0); - this1.data = this2; - this1.length = 0; - this1.fixed = false; - result = this1; - var _g11 = 1; - var _g2 = len + 1; - while(_g11 < _g2) { - var t1 = _g11++; - if(skipT && t1 % 3 == 0) continue; - if(!result.fixed) { - result.length++; - if(result.data.length < result.length) { - var data; - var this3; - this3 = new Array(result.data.length + 10); - data = this3; - haxe.ds._Vector.Vector_Impl_.blit(result.data,0,data,0,result.data.length); - result.data = data; - } - result.data[result.length - 1] = uvt.data[t1 - 1] / max; - } - result.length; - } - return { max : max, uvt : result}; -}; -openfl._internal.renderer.cairo.CairoGraphics.createGradientPattern = function(type,colors,alphas,ratios,matrix,spreadMethod,interpolationMethod,focalPointRatio) { - var pattern = null; - switch(type[1]) { - case 0: - if(matrix == null) matrix = new openfl.geom.Matrix(); - var point = matrix.transformPoint(new openfl.geom.Point(1638.4,0)); - var x = matrix.tx + openfl._internal.renderer.cairo.CairoGraphics.graphics.__bounds.x; - var y = matrix.ty + openfl._internal.renderer.cairo.CairoGraphics.graphics.__bounds.y; - pattern = lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.createRadial(x,y,0,x,y,(point.x - matrix.tx) / 2); - break; - case 1: - if(matrix == null) matrix = new openfl.geom.Matrix(); - var point1 = matrix.transformPoint(new openfl.geom.Point(-819.2,0)); - var point2 = matrix.transformPoint(new openfl.geom.Point(819.2,0)); - point1.x += openfl._internal.renderer.cairo.CairoGraphics.graphics.__bounds.x; - point2.x += openfl._internal.renderer.cairo.CairoGraphics.graphics.__bounds.x; - point1.y += openfl._internal.renderer.cairo.CairoGraphics.graphics.__bounds.y; - point2.y += openfl._internal.renderer.cairo.CairoGraphics.graphics.__bounds.y; - pattern = lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.createLinear(point1.x,point1.y,point2.x,point2.y); - break; - } - var _g1 = 0; - var _g = colors.length; - while(_g1 < _g) { - var i = _g1++; - var rgb = colors[i]; - var alpha = alphas[i]; - var r = ((rgb & 16711680) >>> 16) / 255; - var g = ((rgb & 65280) >>> 8) / 255; - var b = (rgb & 255) / 255; - var ratio = ratios[i] / 255; - if(ratio < 0) ratio = 0; - if(ratio > 1) ratio = 1; - lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.addColorStopRGBA(pattern,ratio,r,g,b,alpha); - } - var mat = lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.get_matrix(pattern); - mat.tx = openfl._internal.renderer.cairo.CairoGraphics.bounds.x; - mat.ty = openfl._internal.renderer.cairo.CairoGraphics.bounds.y; - lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.set_matrix(pattern,mat); - return pattern; -}; -openfl._internal.renderer.cairo.CairoGraphics.createImagePattern = function(bitmapFill,matrix,bitmapRepeat) { - var pattern = lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.createForSurface(bitmapFill.getSurface()); - if(bitmapRepeat) lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.set_extend(pattern,1); - openfl._internal.renderer.cairo.CairoGraphics.fillPatternMatrix = matrix; - return pattern; -}; -openfl._internal.renderer.cairo.CairoGraphics.closePath = function() { - if(openfl._internal.renderer.cairo.CairoGraphics.strokePattern == null) return; - openfl._internal.renderer.cairo.CairoGraphics.cairo.closePath(); - openfl._internal.renderer.cairo.CairoGraphics.cairo.set_source(openfl._internal.renderer.cairo.CairoGraphics.strokePattern); - openfl._internal.renderer.cairo.CairoGraphics.cairo.strokePreserve(); - openfl._internal.renderer.cairo.CairoGraphics.cairo.newPath(); -}; -openfl._internal.renderer.cairo.CairoGraphics.playCommands = function(commands,stroke) { - if(stroke == null) stroke = false; - openfl._internal.renderer.cairo.CairoGraphics.bounds = openfl._internal.renderer.cairo.CairoGraphics.graphics.__bounds; - var offsetX = openfl._internal.renderer.cairo.CairoGraphics.bounds.x; - var offsetY = openfl._internal.renderer.cairo.CairoGraphics.bounds.y; - var positionX = 0.0; - var positionY = 0.0; - var closeGap = false; - var startX = 0.0; - var startY = 0.0; - openfl._internal.renderer.cairo.CairoGraphics.cairo.set_fillRule(1); - openfl._internal.renderer.cairo.CairoGraphics.cairo.set_antialias(3); - var hasPath = false; - var _g = 0; - try { - while(_g < commands.length) { - var command = commands[_g]; - ++_g; - switch(command[1]) { - case 3: - var y = command[7]; - var x = command[6]; - var cy2 = command[5]; - var cx2 = command[4]; - var cy1 = command[3]; - var cx1 = command[2]; - hasPath = true; - openfl._internal.renderer.cairo.CairoGraphics.cairo.curveTo(cx1 - offsetX,cy1 - offsetY,cx2 - offsetX,cy2 - offsetY,x - offsetX,y - offsetY); - break; - case 4: - var y1 = command[5]; - var x1 = command[4]; - var cy = command[3]; - var cx = command[2]; - hasPath = true; - openfl._internal.renderer.cairo.CairoGraphics.quadraticCurveTo(cx - offsetX,cy - offsetY,x1 - offsetX,y1 - offsetY); - break; - case 5: - var radius = command[4]; - var y2 = command[3]; - var x2 = command[2]; - hasPath = true; - openfl._internal.renderer.cairo.CairoGraphics.cairo.moveTo(x2 - offsetX + radius,y2 - offsetY); - openfl._internal.renderer.cairo.CairoGraphics.cairo.arc(x2 - offsetX,y2 - offsetY,radius,0,Math.PI * 2); - break; - case 7: - var height = command[5]; - var width = command[4]; - var y3 = command[3]; - var x3 = command[2]; - hasPath = true; - openfl._internal.renderer.cairo.CairoGraphics.cairo.rectangle(x3 - offsetX,y3 - offsetY,width,height); - break; - case 6: - var height1 = command[5]; - var width1 = command[4]; - var y4 = command[3]; - var x4 = command[2]; - hasPath = true; - x4 -= offsetX; - y4 -= offsetY; - var kappa = .5522848; - var ox = width1 / 2 * kappa; - var oy = height1 / 2 * kappa; - var xe = x4 + width1; - var ye = y4 + height1; - var xm = x4 + width1 / 2; - var ym = y4 + height1 / 2; - openfl._internal.renderer.cairo.CairoGraphics.cairo.moveTo(x4,ym); - openfl._internal.renderer.cairo.CairoGraphics.cairo.curveTo(x4,ym - oy,xm - ox,y4,xm,y4); - openfl._internal.renderer.cairo.CairoGraphics.cairo.curveTo(xm + ox,y4,xe,ym - oy,xe,ym); - openfl._internal.renderer.cairo.CairoGraphics.cairo.curveTo(xe,ym + oy,xm + ox,ye,xm,ye); - openfl._internal.renderer.cairo.CairoGraphics.cairo.curveTo(xm - ox,ye,x4,ym + oy,x4,ym); - break; - case 8: - var ry = command[7]; - var rx = command[6]; - var height2 = command[5]; - var width2 = command[4]; - var y5 = command[3]; - var x5 = command[2]; - hasPath = true; - openfl._internal.renderer.cairo.CairoGraphics.drawRoundRect(x5 - offsetX,y5 - offsetY,width2,height2,rx,ry); - break; - case 15: - var y6 = command[3]; - var x6 = command[2]; - hasPath = true; - openfl._internal.renderer.cairo.CairoGraphics.cairo.lineTo(x6 - offsetX,y6 - offsetY); - positionX = x6; - positionY = y6; - break; - case 16: - var y7 = command[3]; - var x7 = command[2]; - openfl._internal.renderer.cairo.CairoGraphics.cairo.moveTo(x7 - offsetX,y7 - offsetY); - positionX = x7; - positionY = y7; - closeGap = true; - startX = x7; - startY = y7; - break; - case 12: - var miterLimit = command[9]; - var joints = command[8]; - var caps = command[7]; - var scaleMode = command[6]; - var pixelHinting = command[5]; - var alpha = command[4]; - var color = command[3]; - var thickness = command[2]; - if(stroke && openfl._internal.renderer.cairo.CairoGraphics.hasStroke) openfl._internal.renderer.cairo.CairoGraphics.closePath(); - openfl._internal.renderer.cairo.CairoGraphics.cairo.moveTo(positionX - offsetX,positionY - offsetY); - if(thickness == null) openfl._internal.renderer.cairo.CairoGraphics.hasStroke = false; else { - openfl._internal.renderer.cairo.CairoGraphics.hasStroke = true; - openfl._internal.renderer.cairo.CairoGraphics.cairo.set_lineWidth(thickness); - if(joints == null) openfl._internal.renderer.cairo.CairoGraphics.cairo.set_lineJoin(1); else openfl._internal.renderer.cairo.CairoGraphics.cairo.set_lineJoin((function($this) { - var $r; - switch(joints[1]) { - case 0: - $r = 0; - break; - case 2: - $r = 2; - break; - default: - $r = 1; - } - return $r; - }(this))); - if(caps == null) openfl._internal.renderer.cairo.CairoGraphics.cairo.set_lineCap(1); else openfl._internal.renderer.cairo.CairoGraphics.cairo.set_lineCap((function($this) { - var $r; - switch(caps[1]) { - case 0: - $r = 0; - break; - case 2: - $r = 2; - break; - default: - $r = 1; - } - return $r; - }(this))); - openfl._internal.renderer.cairo.CairoGraphics.cairo.set_miterLimit(miterLimit == null?3:miterLimit); - if(color != null) { - var r = ((color & 16711680) >>> 16) / 255; - var g = ((color & 65280) >>> 8) / 255; - var b = (color & 255) / 255; - if(openfl._internal.renderer.cairo.CairoGraphics.strokePattern != null) lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.destroy(openfl._internal.renderer.cairo.CairoGraphics.strokePattern); - if(alpha == 1 || alpha == null) openfl._internal.renderer.cairo.CairoGraphics.strokePattern = lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.createRGB(r,g,b); else openfl._internal.renderer.cairo.CairoGraphics.strokePattern = lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.createRGBA(r,g,b,alpha); - } - } - break; - case 14: - var focalPointRatio = command[9]; - var interpolationMethod = command[8]; - var spreadMethod = command[7]; - var matrix = command[6]; - var ratios = command[5]; - var alphas = command[4]; - var colors = command[3]; - var type = command[2]; - if(stroke && openfl._internal.renderer.cairo.CairoGraphics.hasStroke) openfl._internal.renderer.cairo.CairoGraphics.closePath(); - if(openfl._internal.renderer.cairo.CairoGraphics.strokePattern != null) lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.destroy(openfl._internal.renderer.cairo.CairoGraphics.strokePattern); - openfl._internal.renderer.cairo.CairoGraphics.cairo.moveTo(positionX - offsetX,positionY - offsetY); - openfl._internal.renderer.cairo.CairoGraphics.strokePattern = openfl._internal.renderer.cairo.CairoGraphics.createGradientPattern(type,colors,alphas,ratios,matrix,spreadMethod,interpolationMethod,focalPointRatio); - openfl._internal.renderer.cairo.CairoGraphics.hasStroke = true; - break; - case 13: - var smooth = command[5]; - var repeat = command[4]; - var matrix1 = command[3]; - var bitmap = command[2]; - if(stroke && openfl._internal.renderer.cairo.CairoGraphics.hasStroke) openfl._internal.renderer.cairo.CairoGraphics.closePath(); - if(openfl._internal.renderer.cairo.CairoGraphics.strokePattern != null) lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.destroy(openfl._internal.renderer.cairo.CairoGraphics.strokePattern); - openfl._internal.renderer.cairo.CairoGraphics.cairo.moveTo(positionX - offsetX,positionY - offsetY); - openfl._internal.renderer.cairo.CairoGraphics.strokePattern = openfl._internal.renderer.cairo.CairoGraphics.createImagePattern(bitmap,matrix1,repeat); - openfl._internal.renderer.cairo.CairoGraphics.hasStroke = true; - break; - case 0: - var smooth1 = command[5]; - var repeat1 = command[4]; - var matrix2 = command[3]; - var bitmap1 = command[2]; - if(openfl._internal.renderer.cairo.CairoGraphics.fillPattern != null) lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.destroy(openfl._internal.renderer.cairo.CairoGraphics.fillPattern); - openfl._internal.renderer.cairo.CairoGraphics.fillPattern = openfl._internal.renderer.cairo.CairoGraphics.createImagePattern(bitmap1,matrix2,repeat1); - openfl._internal.renderer.cairo.CairoGraphics.bitmapFill = bitmap1; - openfl._internal.renderer.cairo.CairoGraphics.bitmapRepeat = repeat1; - openfl._internal.renderer.cairo.CairoGraphics.hasFill = true; - break; - case 1: - var alpha1 = command[3]; - var rgb = command[2]; - if(alpha1 < 0.005) openfl._internal.renderer.cairo.CairoGraphics.hasFill = false; else { - if(openfl._internal.renderer.cairo.CairoGraphics.fillPattern != null) { - lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.destroy(openfl._internal.renderer.cairo.CairoGraphics.fillPattern); - openfl._internal.renderer.cairo.CairoGraphics.fillPatternMatrix = null; - } - openfl._internal.renderer.cairo.CairoGraphics.fillPattern = lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.createRGBA(((rgb & 16711680) >>> 16) / 255,((rgb & 65280) >>> 8) / 255,(rgb & 255) / 255,alpha1); - openfl._internal.renderer.cairo.CairoGraphics.hasFill = true; - } - openfl._internal.renderer.cairo.CairoGraphics.bitmapFill = null; - break; - case 2: - var focalPointRatio1 = command[9]; - var interpolationMethod1 = command[8]; - var spreadMethod1 = command[7]; - var matrix3 = command[6]; - var ratios1 = command[5]; - var alphas1 = command[4]; - var colors1 = command[3]; - var type1 = command[2]; - if(openfl._internal.renderer.cairo.CairoGraphics.fillPattern != null) { - lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.destroy(openfl._internal.renderer.cairo.CairoGraphics.fillPattern); - openfl._internal.renderer.cairo.CairoGraphics.fillPatternMatrix = null; - } - openfl._internal.renderer.cairo.CairoGraphics.fillPattern = openfl._internal.renderer.cairo.CairoGraphics.createGradientPattern(type1,colors1,alphas1,ratios1,matrix3,spreadMethod1,interpolationMethod1,focalPointRatio1); - openfl._internal.renderer.cairo.CairoGraphics.hasFill = true; - openfl._internal.renderer.cairo.CairoGraphics.bitmapFill = null; - break; - case 10: - var culling = command[5]; - var uvtData = command[4]; - var indices = command[3]; - var vertices = command[2]; - var v = vertices; - var ind = indices; - var uvt = uvtData; - var colorFill = openfl._internal.renderer.cairo.CairoGraphics.bitmapFill == null; - if(colorFill && uvt != null) throw "__break__"; - var width3 = 0; - var height3 = 0; - if(!colorFill) { - if(uvtData == null) { - var this1; - this1 = new openfl.VectorData(); - var this2; - this2 = new Array(0); - this1.data = this2; - this1.length = 0; - this1.fixed = false; - uvtData = this1; - var _g2 = 0; - var _g1 = v.length / 2 | 0; - while(_g2 < _g1) { - var i = _g2++; - if(!uvtData.fixed) { - uvtData.length++; - if(uvtData.data.length < uvtData.length) { - var data; - var this3; - this3 = new Array(uvtData.data.length + 10); - data = this3; - haxe.ds._Vector.Vector_Impl_.blit(uvtData.data,0,data,0,uvtData.data.length); - uvtData.data = data; - } - uvtData.data[uvtData.length - 1] = v.data[i * 2] / openfl._internal.renderer.cairo.CairoGraphics.bitmapFill.width; - } - uvtData.length; - if(!uvtData.fixed) { - uvtData.length++; - if(uvtData.data.length < uvtData.length) { - var data1; - var this4; - this4 = new Array(uvtData.data.length + 10); - data1 = this4; - haxe.ds._Vector.Vector_Impl_.blit(uvtData.data,0,data1,0,uvtData.data.length); - uvtData.data = data1; - } - uvtData.data[uvtData.length - 1] = v.data[i * 2 + 1] / openfl._internal.renderer.cairo.CairoGraphics.bitmapFill.height; - } - uvtData.length; - } - } - var skipT = uvtData.length != v.length; - var normalizedUVT = openfl._internal.renderer.cairo.CairoGraphics.normalizeUVT(uvtData,skipT); - var maxUVT = normalizedUVT.max; - uvt = normalizedUVT.uvt; - if(maxUVT > 1) { - width3 = openfl._internal.renderer.cairo.CairoGraphics.bounds.width | 0; - height3 = openfl._internal.renderer.cairo.CairoGraphics.bounds.height | 0; - } else { - width3 = openfl._internal.renderer.cairo.CairoGraphics.bitmapFill.width; - height3 = openfl._internal.renderer.cairo.CairoGraphics.bitmapFill.height; - } - } - var i1 = 0; - var l = ind.length; - var a; - var b1; - var c; - var iax; - var iay; - var ibx; - var iby; - var icx; - var icy; - var x11; - var y11; - var x21; - var y21; - var x31; - var y31; - var uvx1; - var uvy1; - var uvx2; - var uvy2; - var uvx3; - var uvy3; - var denom; - var t1; - var t2; - var t3; - var t4; - var dx; - var dy; - openfl._internal.renderer.cairo.CairoGraphics.cairo.set_antialias(1); - while(i1 < l) { - a = i1; - b1 = i1 + 1; - c = i1 + 2; - iax = ind.data[a] * 2; - iay = ind.data[a] * 2 + 1; - ibx = ind.data[b1] * 2; - iby = ind.data[b1] * 2 + 1; - icx = ind.data[c] * 2; - icy = ind.data[c] * 2 + 1; - x11 = v.data[iax]; - y11 = v.data[iay]; - x21 = v.data[ibx]; - y21 = v.data[iby]; - x31 = v.data[icx]; - y31 = v.data[icy]; - switch(culling[1]) { - case 2: - if(!((x21 - x11) * (y31 - y11) - (y21 - y11) * (x31 - x11) < 0)) { - i1 += 3; - continue; - } - break; - case 0: - if((x21 - x11) * (y31 - y11) - (y21 - y11) * (x31 - x11) < 0) { - i1 += 3; - continue; - } - break; - default: - } - if(colorFill) { - openfl._internal.renderer.cairo.CairoGraphics.cairo.newPath(); - openfl._internal.renderer.cairo.CairoGraphics.cairo.moveTo(x11,y11); - openfl._internal.renderer.cairo.CairoGraphics.cairo.lineTo(x21,y21); - openfl._internal.renderer.cairo.CairoGraphics.cairo.lineTo(x31,y31); - openfl._internal.renderer.cairo.CairoGraphics.cairo.closePath(); - openfl._internal.renderer.cairo.CairoGraphics.cairo.fillPreserve(); - i1 += 3; - continue; - } - openfl._internal.renderer.cairo.CairoGraphics.cairo.identityMatrix(); - openfl._internal.renderer.cairo.CairoGraphics.cairo.newPath(); - openfl._internal.renderer.cairo.CairoGraphics.cairo.moveTo(x11,y11); - openfl._internal.renderer.cairo.CairoGraphics.cairo.lineTo(x21,y21); - openfl._internal.renderer.cairo.CairoGraphics.cairo.lineTo(x31,y31); - openfl._internal.renderer.cairo.CairoGraphics.cairo.closePath(); - uvx1 = uvt.data[iax] * width3; - uvx2 = uvt.data[ibx] * width3; - uvx3 = uvt.data[icx] * width3; - uvy1 = uvt.data[iay] * height3; - uvy2 = uvt.data[iby] * height3; - uvy3 = uvt.data[icy] * height3; - denom = uvx1 * (uvy3 - uvy2) - uvx2 * uvy3 + uvx3 * uvy2 + (uvx2 - uvx3) * uvy1; - if(denom == 0) { - i1 += 3; - continue; - } - t1 = -(uvy1 * (x31 - x21) - uvy2 * x31 + uvy3 * x21 + (uvy2 - uvy3) * x11) / denom; - t2 = (uvy2 * y31 + uvy1 * (y21 - y31) - uvy3 * y21 + (uvy3 - uvy2) * y11) / denom; - t3 = (uvx1 * (x31 - x21) - uvx2 * x31 + uvx3 * x21 + (uvx2 - uvx3) * x11) / denom; - t4 = -(uvx2 * y31 + uvx1 * (y21 - y31) - uvx3 * y21 + (uvx3 - uvx2) * y11) / denom; - dx = (uvx1 * (uvy3 * x21 - uvy2 * x31) + uvy1 * (uvx2 * x31 - uvx3 * x21) + (uvx3 * uvy2 - uvx2 * uvy3) * x11) / denom; - dy = (uvx1 * (uvy3 * y21 - uvy2 * y31) + uvy1 * (uvx2 * y31 - uvx3 * y21) + (uvx3 * uvy2 - uvx2 * uvy3) * y11) / denom; - var matrix4 = new lime.math.Matrix3(t1,t2,t3,t4,dx,dy); - openfl._internal.renderer.cairo.CairoGraphics.cairo.set_matrix(matrix4); - openfl._internal.renderer.cairo.CairoGraphics.cairo.set_source(openfl._internal.renderer.cairo.CairoGraphics.fillPattern); - openfl._internal.renderer.cairo.CairoGraphics.cairo.fill(); - i1 += 3; - } - break; - case 9: - var count = command[6]; - var flags = command[5]; - var smooth2 = command[4]; - var tileData = command[3]; - var sheet = command[2]; - var useScale = (flags & 1) > 0; - var useRotation = (flags & 2) > 0; - var useTransform = (flags & 16) > 0; - var useRGB = (flags & 4) > 0; - var useAlpha = (flags & 8) > 0; - var useRect = (flags & 32) > 0; - var useOrigin = (flags & 64) > 0; - var useBlendAdd = (flags & 65536) > 0; - if(useTransform) { - useScale = false; - useRotation = false; - } - var scaleIndex = 0; - var rotationIndex = 0; - var rgbIndex = 0; - var alphaIndex = 0; - var transformIndex = 0; - var numValues = 3; - if(useRect) if(useOrigin) numValues = 8; else numValues = 6; - if(useScale) { - scaleIndex = numValues; - numValues++; - } - if(useRotation) { - rotationIndex = numValues; - numValues++; - } - if(useTransform) { - transformIndex = numValues; - numValues += 4; - } - if(useRGB) { - rgbIndex = numValues; - numValues += 3; - } - if(useAlpha) { - alphaIndex = numValues; - numValues++; - } - var totalCount = tileData.length; - if(count >= 0 && totalCount > count) totalCount = count; - var itemCount = totalCount / numValues | 0; - var index = 0; - var rect = null; - var center = null; - var previousTileID = -1; - var surface; - sheet.__bitmap.__sync(); - surface = sheet.__bitmap.getSurface(); - if(useBlendAdd) openfl._internal.renderer.cairo.CairoGraphics.cairo.set_operator(12); - while(index < totalCount) { - var i2 = tileData[index + 2] | 0; - var tileID; - if(!useRect) tileID = i2; else tileID = -1; - if(!useRect && tileID != previousTileID) { - rect = sheet.__tileRects[tileID]; - center = sheet.__centerPoints[tileID]; - previousTileID = tileID; - } else if(useRect) { - rect = sheet.__rectTile; - rect.setTo(tileData[index + 2],tileData[index + 3],tileData[index + 4],tileData[index + 5]); - center = sheet.__point; - if(useOrigin) { - center.x = tileData[index + 6]; - center.y = tileData[index + 7]; - } else { - center.x = 0; - center.y = 0; - } - } - if(rect != null && rect.width > 0 && rect.height > 0 && center != null) { - openfl._internal.renderer.cairo.CairoGraphics.cairo.identityMatrix(); - if(useTransform) { - var matrix5 = new lime.math.Matrix3(tileData[index + transformIndex],tileData[index + transformIndex + 1],tileData[index + transformIndex + 2],tileData[index + transformIndex + 3],0,0); - openfl._internal.renderer.cairo.CairoGraphics.cairo.set_matrix(matrix5); - } - openfl._internal.renderer.cairo.CairoGraphics.cairo.translate(tileData[index],tileData[index + 1]); - if(useRotation) openfl._internal.renderer.cairo.CairoGraphics.cairo.rotate(tileData[index + rotationIndex]); - if(useScale) { - var scale = tileData[index + scaleIndex]; - openfl._internal.renderer.cairo.CairoGraphics.cairo.scale(scale,scale); - } - openfl._internal.renderer.cairo.CairoGraphics.cairo.setSourceSurface(surface,0,0); - if(useAlpha) openfl._internal.renderer.cairo.CairoGraphics.cairo.paintWithAlpha(tileData[index + alphaIndex]); else openfl._internal.renderer.cairo.CairoGraphics.cairo.paint(); - } - index += numValues; - } - if(useBlendAdd) openfl._internal.renderer.cairo.CairoGraphics.cairo.set_operator(2); - break; - default: - } - } - } catch( e ) { if( e != "__break__" ) throw e; } - if(hasPath) { - if(stroke && openfl._internal.renderer.cairo.CairoGraphics.hasStroke) { - if(openfl._internal.renderer.cairo.CairoGraphics.hasFill && closeGap) openfl._internal.renderer.cairo.CairoGraphics.cairo.lineTo(startX - offsetX,startY - offsetY); - openfl._internal.renderer.cairo.CairoGraphics.cairo.set_source(openfl._internal.renderer.cairo.CairoGraphics.strokePattern); - openfl._internal.renderer.cairo.CairoGraphics.cairo.strokePreserve(); - } - if(!stroke && openfl._internal.renderer.cairo.CairoGraphics.hasFill) { - openfl._internal.renderer.cairo.CairoGraphics.cairo.translate(-openfl._internal.renderer.cairo.CairoGraphics.bounds.x,-openfl._internal.renderer.cairo.CairoGraphics.bounds.y); - if(openfl._internal.renderer.cairo.CairoGraphics.fillPatternMatrix != null) { - var matrix6 = openfl._internal.renderer.cairo.CairoGraphics.fillPatternMatrix.clone(); - matrix6.invert(); - if(openfl._internal.renderer.cairo.CairoGraphics.pendingMatrix != null) matrix6.concat(openfl._internal.renderer.cairo.CairoGraphics.pendingMatrix); - lime.graphics.cairo._CairoPattern.CairoPattern_Impl_.set_matrix(openfl._internal.renderer.cairo.CairoGraphics.fillPattern,matrix6.__toMatrix3()); - } - openfl._internal.renderer.cairo.CairoGraphics.cairo.set_source(openfl._internal.renderer.cairo.CairoGraphics.fillPattern); - if(openfl._internal.renderer.cairo.CairoGraphics.pendingMatrix != null) { - openfl._internal.renderer.cairo.CairoGraphics.cairo.transform(openfl._internal.renderer.cairo.CairoGraphics.pendingMatrix.__toMatrix3()); - openfl._internal.renderer.cairo.CairoGraphics.cairo.fillPreserve(); - openfl._internal.renderer.cairo.CairoGraphics.cairo.transform(openfl._internal.renderer.cairo.CairoGraphics.inversePendingMatrix.__toMatrix3()); - } else openfl._internal.renderer.cairo.CairoGraphics.cairo.fillPreserve(); - openfl._internal.renderer.cairo.CairoGraphics.cairo.translate(openfl._internal.renderer.cairo.CairoGraphics.bounds.x,openfl._internal.renderer.cairo.CairoGraphics.bounds.y); - openfl._internal.renderer.cairo.CairoGraphics.cairo.closePath(); - } - } -}; -openfl._internal.renderer.cairo.CairoGraphics.quadraticCurveTo = function(cx,cy,x,y) { - var current = null; - if(!openfl._internal.renderer.cairo.CairoGraphics.cairo.get_hasCurrentPoint()) { - openfl._internal.renderer.cairo.CairoGraphics.cairo.moveTo(cx,cy); - current = new lime.math.Vector2(cx,cy); - } else current = openfl._internal.renderer.cairo.CairoGraphics.cairo.get_currentPoint(); - var cx1 = current.x + 0.66666666666666663 * (cx - current.x); - var cy1 = current.y + 0.66666666666666663 * (cy - current.y); - var cx2 = x + 0.66666666666666663 * (cx - x); - var cy2 = y + 0.66666666666666663 * (cy - y); - openfl._internal.renderer.cairo.CairoGraphics.cairo.curveTo(cx1,cy1,cx2,cy2,x,y); -}; -openfl._internal.renderer.cairo.CairoGraphics.render = function(graphics,renderSession) { -}; -openfl._internal.renderer.cairo.CairoGraphics.renderMask = function(graphics,renderSession) { - if(graphics.__commands.length != 0) { - var cairo = renderSession.cairo; - var positionX = 0.0; - var positionY = 0.0; - var offsetX = 0; - var offsetY = 0; - var _g = 0; - var _g1 = graphics.__commands; - while(_g < _g1.length) { - var command = _g1[_g]; - ++_g; - switch(command[1]) { - case 3: - var y = command[7]; - var x = command[6]; - var cy2 = command[5]; - var cy1 = command[4]; - var cx2 = command[3]; - var cx1 = command[2]; - cairo.curveTo(cx1 - offsetX,cy1 - offsetY,cx2 - offsetX,cy2 - offsetY,x - offsetX,y - offsetY); - positionX = x; - positionY = y; - break; - case 4: - var y1 = command[5]; - var x1 = command[4]; - var cy = command[3]; - var cx = command[2]; - openfl._internal.renderer.cairo.CairoGraphics.quadraticCurveTo(cx - offsetX,cy - offsetY,x1 - offsetX,y1 - offsetY); - positionX = x1; - positionY = y1; - break; - case 5: - var radius = command[4]; - var y2 = command[3]; - var x2 = command[2]; - cairo.arc(x2 - offsetX,y2 - offsetY,radius,0,Math.PI * 2); - break; - case 6: - var height = command[5]; - var width = command[4]; - var y3 = command[3]; - var x3 = command[2]; - x3 -= offsetX; - y3 -= offsetY; - var kappa = .5522848; - var ox = width / 2 * kappa; - var oy = height / 2 * kappa; - var xe = x3 + width; - var ye = y3 + height; - var xm = x3 + width / 2; - var ym = y3 + height / 2; - cairo.moveTo(x3,ym); - cairo.curveTo(x3,ym - oy,xm - ox,y3,xm,y3); - cairo.curveTo(xm + ox,y3,xe,ym - oy,xe,ym); - cairo.curveTo(xe,ym + oy,xm + ox,ye,xm,ye); - cairo.curveTo(xm - ox,ye,x3,ym + oy,x3,ym); - break; - case 7: - var height1 = command[5]; - var width1 = command[4]; - var y4 = command[3]; - var x4 = command[2]; - cairo.rectangle(x4 - offsetX,y4 - offsetY,width1,height1); - break; - case 8: - var ry = command[7]; - var rx = command[6]; - var height2 = command[5]; - var width2 = command[4]; - var y5 = command[3]; - var x5 = command[2]; - openfl._internal.renderer.cairo.CairoGraphics.drawRoundRect(x5 - offsetX,y5 - offsetY,width2,height2,rx,ry); - break; - case 15: - var y6 = command[3]; - var x6 = command[2]; - cairo.lineTo(x6 - offsetX,y6 - offsetY); - positionX = x6; - positionY = y6; - break; - case 16: - var y7 = command[3]; - var x7 = command[2]; - cairo.moveTo(x7 - offsetX,y7 - offsetY); - positionX = x7; - positionY = y7; - break; - default: - } - } - } -}; -openfl._internal.renderer.cairo.CairoMaskManager = function(renderSession) { - openfl._internal.renderer.AbstractMaskManager.call(this,renderSession); -}; -$hxClasses["openfl._internal.renderer.cairo.CairoMaskManager"] = openfl._internal.renderer.cairo.CairoMaskManager; -openfl._internal.renderer.cairo.CairoMaskManager.__name__ = ["openfl","_internal","renderer","cairo","CairoMaskManager"]; -openfl._internal.renderer.cairo.CairoMaskManager.__super__ = openfl._internal.renderer.AbstractMaskManager; -openfl._internal.renderer.cairo.CairoMaskManager.prototype = $extend(openfl._internal.renderer.AbstractMaskManager.prototype,{ - pushMask: function(mask) { - var cairo = this.renderSession.cairo; - cairo.save(); - var transform = mask.__getTransform(); - cairo.set_matrix(transform.__toMatrix3()); - cairo.newPath(); - mask.__renderCairoMask(this.renderSession); - cairo.clip(); - } - ,pushRect: function(rect,transform) { - var cairo = this.renderSession.cairo; - cairo.save(); - cairo.set_matrix(new lime.math.Matrix3(transform.a,transform.c,transform.b,transform.d,transform.tx,transform.ty)); - cairo.newPath(); - cairo.rectangle(rect.x,rect.y,rect.width,rect.height); - cairo.clip(); - } - ,popMask: function() { - this.renderSession.cairo.restore(); - } - ,__class__: openfl._internal.renderer.cairo.CairoMaskManager -}); -openfl._internal.renderer.cairo.CairoRenderer = function(width,height,cairo) { - openfl._internal.renderer.AbstractRenderer.call(this,width,height); - this.cairo = cairo; - this.renderSession = new openfl._internal.renderer.RenderSession(); - this.renderSession.cairo = cairo; - this.renderSession.roundPixels = true; - this.renderSession.renderer = this; - this.renderSession.maskManager = new openfl._internal.renderer.cairo.CairoMaskManager(this.renderSession); -}; -$hxClasses["openfl._internal.renderer.cairo.CairoRenderer"] = openfl._internal.renderer.cairo.CairoRenderer; -openfl._internal.renderer.cairo.CairoRenderer.__name__ = ["openfl","_internal","renderer","cairo","CairoRenderer"]; -openfl._internal.renderer.cairo.CairoRenderer.__super__ = openfl._internal.renderer.AbstractRenderer; -openfl._internal.renderer.cairo.CairoRenderer.prototype = $extend(openfl._internal.renderer.AbstractRenderer.prototype,{ - render: function(stage) { - this.cairo.identityMatrix(); - if(stage.__clearBeforeRender) { - this.cairo.setSourceRGB(stage.__colorSplit[0],stage.__colorSplit[1],stage.__colorSplit[2]); - this.cairo.paint(); - } - stage.__renderCairo(this.renderSession); - } - ,__class__: openfl._internal.renderer.cairo.CairoRenderer -}); -openfl._internal.renderer.cairo.CairoShape = function() { }; -$hxClasses["openfl._internal.renderer.cairo.CairoShape"] = openfl._internal.renderer.cairo.CairoShape; -openfl._internal.renderer.cairo.CairoShape.__name__ = ["openfl","_internal","renderer","cairo","CairoShape"]; -openfl._internal.renderer.cairo.CairoShape.render = function(shape,renderSession) { -}; -openfl._internal.renderer.cairo.CairoTextField = function() { }; -$hxClasses["openfl._internal.renderer.cairo.CairoTextField"] = openfl._internal.renderer.cairo.CairoTextField; -openfl._internal.renderer.cairo.CairoTextField.__name__ = ["openfl","_internal","renderer","cairo","CairoTextField"]; -openfl._internal.renderer.cairo.CairoTextField.findFont = function(name) { - return null; -}; -openfl._internal.renderer.cairo.CairoTextField.getFontInstance = function(format) { - return null; -}; -openfl._internal.renderer.cairo.CairoTextField.getLineBreaks = function(textField) { - var lines = 0; - var _g1 = 0; - var _g; - var s = textField.get_text(); - _g = s.length; - while(_g1 < _g) { - var i = _g1++; - var $char = haxe.Utf8.charCodeAt(textField.get_text(),i); - if($char == openfl._internal.renderer.cairo.CairoTextField.__utf8_endline_code) lines++; - } - return lines; -}; -openfl._internal.renderer.cairo.CairoTextField.getLineBreakIndices = function(textField) { - var breaks = []; - var _g1 = 0; - var _g; - var s = textField.get_text(); - _g = s.length; - while(_g1 < _g) { - var i = _g1++; - var $char = haxe.Utf8.charCodeAt(textField.get_text(),i); - if($char == openfl._internal.renderer.cairo.CairoTextField.__utf8_endline_code) breaks.push(i); - } - return breaks; -}; -openfl._internal.renderer.cairo.CairoTextField.getLineBreaksInRange = function(textField,i) { - var lines = 0; - if(textField.__ranges.length > i && i >= 0) { - var range = textField.__ranges[i]; - if(range.start > 0 && range.end < textField.get_text().length) { - var _g1 = range.start; - var _g = range.end + 1; - while(_g1 < _g) { - var j = _g1++; - var $char = haxe.Utf8.charCodeAt(textField.get_text(),i); - if($char == openfl._internal.renderer.cairo.CairoTextField.__utf8_endline_code) lines++; - } - } - } - return lines; -}; -openfl._internal.renderer.cairo.CairoTextField.getLineIndices = function(textField,line) { - var breaks = openfl._internal.renderer.cairo.CairoTextField.getLineBreakIndices(textField); - var i = 0; - var first_char = 0; - var last_char = textField.get_text().length - 1; - var _g = 0; - while(_g < breaks.length) { - var br = breaks[_g]; - ++_g; - if(i == line) { - first_char = br + 1; - if(i != breaks.length - 1) last_char = breaks[i + 1] - 1; - } - i++; - } - return [first_char,last_char]; -}; -openfl._internal.renderer.cairo.CairoTextField.getLineMetric = function(textField,line,metric) { - if(textField.__ranges == null) return openfl._internal.renderer.cairo.CairoTextField.getLineMetricSubRangesNull(textField,true,metric); else return openfl._internal.renderer.cairo.CairoTextField.getLineMetricSubRangesNotNull(textField,line,metric); -}; -openfl._internal.renderer.cairo.CairoTextField.getLineMetricSubRangesNotNull = function(textField,specificLine,metric) { - var lineChars = openfl._internal.renderer.cairo.CairoTextField.getLineIndices(textField,specificLine); - var m = 0.0; - var best_m = 0.0; - var _g = 0; - var _g1 = textField.__ranges; - while(_g < _g1.length) { - var range = _g1[_g]; - ++_g; - if(range.start >= lineChars[0]) { - var font = openfl._internal.renderer.cairo.CairoTextField.getFontInstance(range.format); - if(font != null) switch(metric) { - case 2: - m = openfl._internal.renderer.cairo.CairoTextField.getLineMetricSubRangesNotNull(textField,specificLine,0) + openfl._internal.renderer.cairo.CairoTextField.getLineMetricSubRangesNotNull(textField,specificLine,1) + openfl._internal.renderer.cairo.CairoTextField.getLineMetricSubRangesNotNull(textField,specificLine,3); - break; - case 0: - m = font.get_ascender() / font.get_unitsPerEM() * textField.__textFormat.size; - break; - case 1: - m = Math.abs(font.get_descender() / font.get_unitsPerEM() * textField.__textFormat.size); - break; - case 3: - m = textField.__textFormat.leading; - break; - } - } - if(m > best_m) best_m = m; - m = 0; - } - return best_m; -}; -openfl._internal.renderer.cairo.CairoTextField.getLineMetricSubRangesNull = function(textField,singleLine,metric) { - if(singleLine == null) singleLine = false; - var font = openfl._internal.renderer.cairo.CairoTextField.getFontInstance(textField.__textFormat); - if(font != null) switch(metric) { - case 2: - return openfl._internal.renderer.cairo.CairoTextField.getLineMetricSubRangesNull(textField,singleLine,0) + openfl._internal.renderer.cairo.CairoTextField.getLineMetricSubRangesNull(textField,singleLine,1) + openfl._internal.renderer.cairo.CairoTextField.getLineMetricSubRangesNull(textField,singleLine,3); - case 0: - return font.get_ascender() / font.get_unitsPerEM() * textField.__textFormat.size; - case 1: - return Math.abs(font.get_descender() / font.get_unitsPerEM() * textField.__textFormat.size); - case 3: - return textField.__textFormat.leading; - } - return 0; -}; -openfl._internal.renderer.cairo.CairoTextField.getLineWidth = function(textField,line) { - return 0; -}; -openfl._internal.renderer.cairo.CairoTextField.getTextHeight = function(textField) { - var th = 0.0; - var _g1 = 0; - var _g = textField.get_numLines(); - while(_g1 < _g) { - var i = _g1++; - th += openfl._internal.renderer.cairo.CairoTextField.getLineMetric(textField,i,0) + openfl._internal.renderer.cairo.CairoTextField.getLineMetric(textField,i,1); - if(i != textField.get_numLines() - 1) th += openfl._internal.renderer.cairo.CairoTextField.getLineMetric(textField,i,3); - } - return th; -}; -openfl._internal.renderer.cairo.CairoTextField.getTextWidth = function(textField,text) { - return 0; -}; -openfl._internal.renderer.cairo.CairoTextField.measureText = function(textField,condense) { - if(condense == null) condense = true; - return openfl._internal.renderer.cairo.CairoTextField.measureTextSub(textField,condense); -}; -openfl._internal.renderer.cairo.CairoTextField.measureTextSub = function(textField,condense) { - if(textField.__textLayout == null) textField.__textLayout = new lime.text.TextLayout(); - if(textField.__ranges == null) return openfl._internal.renderer.cairo.CairoTextField.measureTextSubRangesNull(textField,condense); else return openfl._internal.renderer.cairo.CairoTextField.measureTextSubRangesNotNull(textField,condense); - return null; -}; -openfl._internal.renderer.cairo.CairoTextField.measureTextSubRangesNotNull = function(textField,condense) { - var measurements = []; - var textLayout = textField.__textLayout; - var _g = 0; - var _g1 = textField.__ranges; - while(_g < _g1.length) { - var range = _g1[_g]; - ++_g; - var font = openfl._internal.renderer.cairo.CairoTextField.getFontInstance(range.format); - var width = 0.0; - if(font != null && range.format.size != null) { - textLayout.set_text(null); - textLayout.set_font(font); - textLayout.set_size(range.format.size | 0); - textLayout.set_text(textField.get_text().substring(range.start,range.end)); - var _g2 = 0; - var _g3 = textLayout.get_positions(); - while(_g2 < _g3.length) { - var position = _g3[_g2]; - ++_g2; - if(condense) width += position.advance.x; else measurements.push(position.advance.x); - } - } - if(condense) measurements.push(width); - } - return measurements; -}; -openfl._internal.renderer.cairo.CairoTextField.measureTextSubRangesNull = function(textField,condense) { - var font = openfl._internal.renderer.cairo.CairoTextField.getFontInstance(textField.__textFormat); - var width = 0.0; - var widths = []; - var textLayout = textField.__textLayout; - if(font != null && textField.__textFormat.size != null) { - textLayout.set_text(null); - textLayout.set_font(font); - textLayout.set_size(textField.__textFormat.size | 0); - textLayout.set_text(textField.__text); - var _g = 0; - var _g1 = textLayout.get_positions(); - while(_g < _g1.length) { - var position = _g1[_g]; - ++_g; - if(condense) width += position.advance.x; else widths.push(position.advance.x); - } - } - if(condense) widths.push(width); - return widths; -}; -openfl._internal.renderer.cairo.CairoTextField.render = function(textField,renderSession) { -}; -openfl._internal.renderer.cairo.CairoTextField.renderText = function(textField,text,format,offsetX,bounds) { -}; -openfl._internal.renderer.canvas = {}; -openfl._internal.renderer.canvas.CanvasBitmap = function() { }; -$hxClasses["openfl._internal.renderer.canvas.CanvasBitmap"] = openfl._internal.renderer.canvas.CanvasBitmap; -openfl._internal.renderer.canvas.CanvasBitmap.__name__ = ["openfl","_internal","renderer","canvas","CanvasBitmap"]; -openfl._internal.renderer.canvas.CanvasBitmap.render = function(bitmap,renderSession) { - if(!bitmap.__renderable || bitmap.__worldAlpha <= 0) return; - var context = renderSession.context; - if(bitmap.bitmapData != null && bitmap.bitmapData.__isValid) { - if(bitmap.__mask != null) renderSession.maskManager.pushMask(bitmap.__mask); - bitmap.bitmapData.__sync(); - context.globalAlpha = bitmap.__worldAlpha; - var transform = bitmap.__worldTransform; - var scrollRect = bitmap.get_scrollRect(); - if(renderSession.roundPixels) context.setTransform(transform.a,transform.b,transform.c,transform.d,transform.tx | 0,transform.ty | 0); else context.setTransform(transform.a,transform.b,transform.c,transform.d,transform.tx,transform.ty); - if(!bitmap.smoothing) { - context.mozImageSmoothingEnabled = false; - context.webkitImageSmoothingEnabled = false; - context.imageSmoothingEnabled = false; - } - if(scrollRect == null) context.drawImage(bitmap.bitmapData.__image.get_src(),0,0); else context.drawImage(bitmap.bitmapData.__image.get_src(),scrollRect.x,scrollRect.y,scrollRect.width,scrollRect.height,scrollRect.x,scrollRect.y,scrollRect.width,scrollRect.height); - if(!bitmap.smoothing) { - context.mozImageSmoothingEnabled = true; - context.webkitImageSmoothingEnabled = true; - context.imageSmoothingEnabled = true; - } - if(bitmap.__mask != null) renderSession.maskManager.popMask(); - } -}; -openfl._internal.renderer.canvas.CanvasGraphics = function() { }; -$hxClasses["openfl._internal.renderer.canvas.CanvasGraphics"] = openfl._internal.renderer.canvas.CanvasGraphics; -openfl._internal.renderer.canvas.CanvasGraphics.__name__ = ["openfl","_internal","renderer","canvas","CanvasGraphics"]; -openfl._internal.renderer.canvas.CanvasGraphics.bitmapFill = null; -openfl._internal.renderer.canvas.CanvasGraphics.bitmapStroke = null; -openfl._internal.renderer.canvas.CanvasGraphics.bitmapRepeat = null; -openfl._internal.renderer.canvas.CanvasGraphics.bounds = null; -openfl._internal.renderer.canvas.CanvasGraphics.fillCommands = null; -openfl._internal.renderer.canvas.CanvasGraphics.graphics = null; -openfl._internal.renderer.canvas.CanvasGraphics.hasFill = null; -openfl._internal.renderer.canvas.CanvasGraphics.hasStroke = null; -openfl._internal.renderer.canvas.CanvasGraphics.inversePendingMatrix = null; -openfl._internal.renderer.canvas.CanvasGraphics.pendingMatrix = null; -openfl._internal.renderer.canvas.CanvasGraphics.strokeCommands = null; -openfl._internal.renderer.canvas.CanvasGraphics.context = null; -openfl._internal.renderer.canvas.CanvasGraphics.createBitmapFill = function(bitmap,bitmapRepeat) { - bitmap.__sync(); - return openfl._internal.renderer.canvas.CanvasGraphics.context.createPattern(bitmap.__image.get_src(),bitmapRepeat?"repeat":"no-repeat"); - return null; -}; -openfl._internal.renderer.canvas.CanvasGraphics.createTempPatternCanvas = function(bitmap,repeat,width,height) { - var canvas = window.document.createElement("canvas"); - var context = canvas.getContext("2d"); - canvas.width = width; - canvas.height = height; - context.fillStyle = context.createPattern(bitmap.__image.get_src(),repeat?"repeat":"no-repeat"); - context.beginPath(); - context.moveTo(0,0); - context.lineTo(0,height); - context.lineTo(width,height); - context.lineTo(width,0); - context.lineTo(0,0); - context.closePath(); - context.fill(); - return canvas; -}; -openfl._internal.renderer.canvas.CanvasGraphics.endFill = function() { - openfl._internal.renderer.canvas.CanvasGraphics.context.beginPath(); - openfl._internal.renderer.canvas.CanvasGraphics.playCommands(openfl._internal.renderer.canvas.CanvasGraphics.fillCommands,false); - openfl._internal.renderer.canvas.CanvasGraphics.fillCommands = []; -}; -openfl._internal.renderer.canvas.CanvasGraphics.endStroke = function() { - openfl._internal.renderer.canvas.CanvasGraphics.context.beginPath(); - openfl._internal.renderer.canvas.CanvasGraphics.playCommands(openfl._internal.renderer.canvas.CanvasGraphics.strokeCommands,true); - openfl._internal.renderer.canvas.CanvasGraphics.context.closePath(); - openfl._internal.renderer.canvas.CanvasGraphics.strokeCommands = []; -}; -openfl._internal.renderer.canvas.CanvasGraphics.closePath = function() { - if(openfl._internal.renderer.canvas.CanvasGraphics.context.strokeStyle == null) return; - openfl._internal.renderer.canvas.CanvasGraphics.context.closePath(); - openfl._internal.renderer.canvas.CanvasGraphics.context.stroke(); - openfl._internal.renderer.canvas.CanvasGraphics.context.beginPath(); -}; -openfl._internal.renderer.canvas.CanvasGraphics.drawRoundRect = function(x,y,width,height,rx,ry) { - if(ry == -1) ry = rx; - rx *= 0.5; - ry *= 0.5; - if(rx > width / 2) rx = width / 2; - if(ry > height / 2) ry = height / 2; - var xe = x + width; - var ye = y + height; - var cx1 = -rx + rx * openfl._internal.renderer.canvas.CanvasGraphics.SIN45; - var cx2 = -rx + rx * openfl._internal.renderer.canvas.CanvasGraphics.TAN22; - var cy1 = -ry + ry * openfl._internal.renderer.canvas.CanvasGraphics.SIN45; - var cy2 = -ry + ry * openfl._internal.renderer.canvas.CanvasGraphics.TAN22; - openfl._internal.renderer.canvas.CanvasGraphics.context.moveTo(xe,ye - ry); - openfl._internal.renderer.canvas.CanvasGraphics.context.quadraticCurveTo(xe,ye + cy2,xe + cx1,ye + cy1); - openfl._internal.renderer.canvas.CanvasGraphics.context.quadraticCurveTo(xe + cx2,ye,xe - rx,ye); - openfl._internal.renderer.canvas.CanvasGraphics.context.lineTo(x + rx,ye); - openfl._internal.renderer.canvas.CanvasGraphics.context.quadraticCurveTo(x - cx2,ye,x - cx1,ye + cy1); - openfl._internal.renderer.canvas.CanvasGraphics.context.quadraticCurveTo(x,ye + cy2,x,ye - ry); - openfl._internal.renderer.canvas.CanvasGraphics.context.lineTo(x,y + ry); - openfl._internal.renderer.canvas.CanvasGraphics.context.quadraticCurveTo(x,y - cy2,x - cx1,y - cy1); - openfl._internal.renderer.canvas.CanvasGraphics.context.quadraticCurveTo(x - cx2,y,x + rx,y); - openfl._internal.renderer.canvas.CanvasGraphics.context.lineTo(xe - rx,y); - openfl._internal.renderer.canvas.CanvasGraphics.context.quadraticCurveTo(xe + cx2,y,xe + cx1,y - cy1); - openfl._internal.renderer.canvas.CanvasGraphics.context.quadraticCurveTo(xe,y - cy2,xe,y + ry); - openfl._internal.renderer.canvas.CanvasGraphics.context.lineTo(xe,ye - ry); -}; -openfl._internal.renderer.canvas.CanvasGraphics.isCCW = function(x1,y1,x2,y2,x3,y3) { - return (x2 - x1) * (y3 - y1) - (y2 - y1) * (x3 - x1) < 0; -}; -openfl._internal.renderer.canvas.CanvasGraphics.normalizeUVT = function(uvt,skipT) { - if(skipT == null) skipT = false; - var max = Math.NEGATIVE_INFINITY; - var tmp = Math.NEGATIVE_INFINITY; - var len = uvt.length; - var _g1 = 1; - var _g = len + 1; - while(_g1 < _g) { - var t = _g1++; - if(skipT && t % 3 == 0) continue; - tmp = uvt.data[t - 1]; - if(max < tmp) max = tmp; - } - var result; - var this1; - this1 = new openfl.VectorData(); - var this2; - this2 = new Array(0); - this1.data = this2; - this1.length = 0; - this1.fixed = false; - result = this1; - var _g11 = 1; - var _g2 = len + 1; - while(_g11 < _g2) { - var t1 = _g11++; - if(skipT && t1 % 3 == 0) continue; - if(!result.fixed) { - result.length++; - if(result.data.length < result.length) { - var data; - var this3; - this3 = new Array(result.data.length + 10); - data = this3; - haxe.ds._Vector.Vector_Impl_.blit(result.data,0,data,0,result.data.length); - result.data = data; - } - result.data[result.length - 1] = uvt.data[t1 - 1] / max; - } - result.length; - } - return { max : max, uvt : result}; -}; -openfl._internal.renderer.canvas.CanvasGraphics.playCommands = function(commands,stroke) { - if(stroke == null) stroke = false; - openfl._internal.renderer.canvas.CanvasGraphics.bounds = openfl._internal.renderer.canvas.CanvasGraphics.graphics.__bounds; - var offsetX = openfl._internal.renderer.canvas.CanvasGraphics.bounds.x; - var offsetY = openfl._internal.renderer.canvas.CanvasGraphics.bounds.y; - var positionX = 0.0; - var positionY = 0.0; - var closeGap = false; - var startX = 0.0; - var startY = 0.0; - var _g = 0; - while(_g < commands.length) { - var command = commands[_g]; - ++_g; - switch(command[1]) { - case 3: - var y = command[7]; - var x = command[6]; - var cy2 = command[5]; - var cx2 = command[4]; - var cy1 = command[3]; - var cx1 = command[2]; - openfl._internal.renderer.canvas.CanvasGraphics.context.bezierCurveTo(cx1 - offsetX,cy1 - offsetY,cx2 - offsetX,cy2 - offsetY,x - offsetX,y - offsetY); - break; - case 4: - var y1 = command[5]; - var x1 = command[4]; - var cy = command[3]; - var cx = command[2]; - openfl._internal.renderer.canvas.CanvasGraphics.context.quadraticCurveTo(cx - offsetX,cy - offsetY,x1 - offsetX,y1 - offsetY); - break; - case 5: - var radius = command[4]; - var y2 = command[3]; - var x2 = command[2]; - openfl._internal.renderer.canvas.CanvasGraphics.context.moveTo(x2 - offsetX + radius,y2 - offsetY); - openfl._internal.renderer.canvas.CanvasGraphics.context.arc(x2 - offsetX,y2 - offsetY,radius,0,Math.PI * 2,true); - break; - case 6: - var height = command[5]; - var width = command[4]; - var y3 = command[3]; - var x3 = command[2]; - x3 -= offsetX; - y3 -= offsetY; - var kappa = .5522848; - var ox = width / 2 * kappa; - var oy = height / 2 * kappa; - var xe = x3 + width; - var ye = y3 + height; - var xm = x3 + width / 2; - var ym = y3 + height / 2; - openfl._internal.renderer.canvas.CanvasGraphics.context.moveTo(x3,ym); - openfl._internal.renderer.canvas.CanvasGraphics.context.bezierCurveTo(x3,ym - oy,xm - ox,y3,xm,y3); - openfl._internal.renderer.canvas.CanvasGraphics.context.bezierCurveTo(xm + ox,y3,xe,ym - oy,xe,ym); - openfl._internal.renderer.canvas.CanvasGraphics.context.bezierCurveTo(xe,ym + oy,xm + ox,ye,xm,ye); - openfl._internal.renderer.canvas.CanvasGraphics.context.bezierCurveTo(xm - ox,ye,x3,ym + oy,x3,ym); - break; - case 8: - var ry = command[7]; - var rx = command[6]; - var height1 = command[5]; - var width1 = command[4]; - var y4 = command[3]; - var x4 = command[2]; - openfl._internal.renderer.canvas.CanvasGraphics.drawRoundRect(x4 - offsetX,y4 - offsetY,width1,height1,rx,ry); - break; - case 15: - var y5 = command[3]; - var x5 = command[2]; - openfl._internal.renderer.canvas.CanvasGraphics.context.lineTo(x5 - offsetX,y5 - offsetY); - positionX = x5; - positionY = y5; - break; - case 16: - var y6 = command[3]; - var x6 = command[2]; - openfl._internal.renderer.canvas.CanvasGraphics.context.moveTo(x6 - offsetX,y6 - offsetY); - positionX = x6; - positionY = y6; - closeGap = true; - startX = x6; - startY = y6; - break; - case 12: - var miterLimit = command[9]; - var joints = command[8]; - var caps = command[7]; - var scaleMode = command[6]; - var pixelHinting = command[5]; - var alpha = command[4]; - var color = command[3]; - var thickness = command[2]; - if(stroke && openfl._internal.renderer.canvas.CanvasGraphics.hasStroke) { - openfl._internal.renderer.canvas.CanvasGraphics.context.closePath(); - openfl._internal.renderer.canvas.CanvasGraphics.context.stroke(); - openfl._internal.renderer.canvas.CanvasGraphics.context.beginPath(); - } - openfl._internal.renderer.canvas.CanvasGraphics.context.moveTo(positionX - offsetX,positionY - offsetY); - if(thickness == null) openfl._internal.renderer.canvas.CanvasGraphics.hasStroke = false; else { - openfl._internal.renderer.canvas.CanvasGraphics.context.lineWidth = thickness; - if(joints == null) openfl._internal.renderer.canvas.CanvasGraphics.context.lineJoin = "round"; else openfl._internal.renderer.canvas.CanvasGraphics.context.lineJoin = Std.string(joints).toLowerCase(); - if(caps == null) openfl._internal.renderer.canvas.CanvasGraphics.context.lineCap = "round"; else switch(caps[1]) { - case 0: - openfl._internal.renderer.canvas.CanvasGraphics.context.lineCap = "butt"; - break; - default: - openfl._internal.renderer.canvas.CanvasGraphics.context.lineCap = Std.string(caps).toLowerCase(); - } - if(miterLimit == null) openfl._internal.renderer.canvas.CanvasGraphics.context.miterLimit = 3; else openfl._internal.renderer.canvas.CanvasGraphics.context.miterLimit = miterLimit; - if(alpha == 1 || alpha == null) if(color == null) openfl._internal.renderer.canvas.CanvasGraphics.context.strokeStyle = "#000000"; else openfl._internal.renderer.canvas.CanvasGraphics.context.strokeStyle = "#" + StringTools.hex(color & 16777215,6); else { - var r = (color & 16711680) >>> 16; - var g = (color & 65280) >>> 8; - var b = color & 255; - if(color == null) openfl._internal.renderer.canvas.CanvasGraphics.context.strokeStyle = "#000000"; else openfl._internal.renderer.canvas.CanvasGraphics.context.strokeStyle = "rgba(" + r + ", " + g + ", " + b + ", " + alpha + ")"; - } - openfl._internal.renderer.canvas.CanvasGraphics.hasStroke = true; - } - break; - case 14: - var focalPointRatio = command[9]; - var interpolationMethod = command[8]; - var spreadMethod = command[7]; - var matrix = command[6]; - var ratios = command[5]; - var alphas = command[4]; - var colors = command[3]; - var type = command[2]; - if(stroke && openfl._internal.renderer.canvas.CanvasGraphics.hasStroke) openfl._internal.renderer.canvas.CanvasGraphics.closePath(); - openfl._internal.renderer.canvas.CanvasGraphics.context.moveTo(positionX - offsetX,positionY - offsetY); - openfl._internal.renderer.canvas.CanvasGraphics.context.strokeStyle = openfl._internal.renderer.canvas.CanvasGraphics.createGradientPattern(type,colors,alphas,ratios,matrix,spreadMethod,interpolationMethod,focalPointRatio); - openfl._internal.renderer.canvas.CanvasGraphics.hasStroke = true; - break; - case 13: - var smooth = command[5]; - var repeat = command[4]; - var matrix1 = command[3]; - var bitmap = command[2]; - if(stroke && openfl._internal.renderer.canvas.CanvasGraphics.hasStroke) openfl._internal.renderer.canvas.CanvasGraphics.closePath(); - openfl._internal.renderer.canvas.CanvasGraphics.context.moveTo(positionX - offsetX,positionY - offsetY); - openfl._internal.renderer.canvas.CanvasGraphics.context.strokeStyle = openfl._internal.renderer.canvas.CanvasGraphics.createBitmapFill(bitmap,repeat); - openfl._internal.renderer.canvas.CanvasGraphics.hasStroke = true; - break; - case 0: - var smooth1 = command[5]; - var repeat1 = command[4]; - var matrix2 = command[3]; - var bitmap1 = command[2]; - openfl._internal.renderer.canvas.CanvasGraphics.context.fillStyle = openfl._internal.renderer.canvas.CanvasGraphics.createBitmapFill(bitmap1,true); - openfl._internal.renderer.canvas.CanvasGraphics.hasFill = true; - if(matrix2 != null) { - openfl._internal.renderer.canvas.CanvasGraphics.pendingMatrix = matrix2; - openfl._internal.renderer.canvas.CanvasGraphics.inversePendingMatrix = new openfl.geom.Matrix(matrix2.a,matrix2.b,matrix2.c,matrix2.d,matrix2.tx,matrix2.ty); - openfl._internal.renderer.canvas.CanvasGraphics.inversePendingMatrix.invert(); - } else { - openfl._internal.renderer.canvas.CanvasGraphics.pendingMatrix = null; - openfl._internal.renderer.canvas.CanvasGraphics.inversePendingMatrix = null; - } - break; - case 1: - var alpha1 = command[3]; - var rgb = command[2]; - if(alpha1 < 0.005) openfl._internal.renderer.canvas.CanvasGraphics.hasFill = false; else { - if(alpha1 == 1) openfl._internal.renderer.canvas.CanvasGraphics.context.fillStyle = "#" + StringTools.hex(rgb,6); else { - var r1 = (rgb & 16711680) >>> 16; - var g1 = (rgb & 65280) >>> 8; - var b1 = rgb & 255; - openfl._internal.renderer.canvas.CanvasGraphics.context.fillStyle = "rgba(" + r1 + ", " + g1 + ", " + b1 + ", " + alpha1 + ")"; - } - openfl._internal.renderer.canvas.CanvasGraphics.bitmapFill = null; - openfl._internal.renderer.canvas.CanvasGraphics.hasFill = true; - } - break; - case 2: - var focalPointRatio1 = command[9]; - var interpolationMethod1 = command[8]; - var spreadMethod1 = command[7]; - var matrix3 = command[6]; - var ratios1 = command[5]; - var alphas1 = command[4]; - var colors1 = command[3]; - var type1 = command[2]; - openfl._internal.renderer.canvas.CanvasGraphics.context.fillStyle = openfl._internal.renderer.canvas.CanvasGraphics.createGradientPattern(type1,colors1,alphas1,ratios1,matrix3,spreadMethod1,interpolationMethod1,focalPointRatio1); - openfl._internal.renderer.canvas.CanvasGraphics.bitmapFill = null; - openfl._internal.renderer.canvas.CanvasGraphics.hasFill = true; - break; - case 7: - var height2 = command[5]; - var width2 = command[4]; - var y7 = command[3]; - var x7 = command[2]; - var optimizationUsed = false; - if(openfl._internal.renderer.canvas.CanvasGraphics.bitmapFill != null) { - var st = 0; - var sr = 0; - var sb = 0; - var sl = 0; - var canOptimizeMatrix = true; - if(openfl._internal.renderer.canvas.CanvasGraphics.pendingMatrix != null) { - if(openfl._internal.renderer.canvas.CanvasGraphics.pendingMatrix.b != 0 || openfl._internal.renderer.canvas.CanvasGraphics.pendingMatrix.c != 0) canOptimizeMatrix = false; else { - var stl = openfl._internal.renderer.canvas.CanvasGraphics.inversePendingMatrix.transformPoint(new openfl.geom.Point(x7,y7)); - var sbr = openfl._internal.renderer.canvas.CanvasGraphics.inversePendingMatrix.transformPoint(new openfl.geom.Point(x7 + width2,y7 + height2)); - st = stl.y; - sl = stl.x; - sb = sbr.y; - sr = sbr.x; - } - } else { - st = y7; - sl = x7; - sb = y7 + height2; - sr = x7 + width2; - } - if(canOptimizeMatrix && st >= 0 && sl >= 0 && sr <= openfl._internal.renderer.canvas.CanvasGraphics.bitmapFill.width && sb <= openfl._internal.renderer.canvas.CanvasGraphics.bitmapFill.height) { - optimizationUsed = true; - openfl._internal.renderer.canvas.CanvasGraphics.context.drawImage(openfl._internal.renderer.canvas.CanvasGraphics.bitmapFill.__image.get_src(),sl,st,sr - sl,sb - st,x7 - offsetX,y7 - offsetY,width2,height2); - } - } - if(!optimizationUsed) openfl._internal.renderer.canvas.CanvasGraphics.context.rect(x7 - offsetX,y7 - offsetY,width2,height2); - break; - default: - } - } - if(stroke && openfl._internal.renderer.canvas.CanvasGraphics.hasStroke) { - if(openfl._internal.renderer.canvas.CanvasGraphics.hasFill && closeGap) openfl._internal.renderer.canvas.CanvasGraphics.context.lineTo(startX - offsetX,startY - offsetY); - openfl._internal.renderer.canvas.CanvasGraphics.context.stroke(); - } - if(!stroke) { - if(openfl._internal.renderer.canvas.CanvasGraphics.hasFill || openfl._internal.renderer.canvas.CanvasGraphics.bitmapFill != null) { - openfl._internal.renderer.canvas.CanvasGraphics.context.translate(-openfl._internal.renderer.canvas.CanvasGraphics.bounds.x,-openfl._internal.renderer.canvas.CanvasGraphics.bounds.y); - if(openfl._internal.renderer.canvas.CanvasGraphics.pendingMatrix != null) { - openfl._internal.renderer.canvas.CanvasGraphics.context.transform(openfl._internal.renderer.canvas.CanvasGraphics.pendingMatrix.a,openfl._internal.renderer.canvas.CanvasGraphics.pendingMatrix.b,openfl._internal.renderer.canvas.CanvasGraphics.pendingMatrix.c,openfl._internal.renderer.canvas.CanvasGraphics.pendingMatrix.d,openfl._internal.renderer.canvas.CanvasGraphics.pendingMatrix.tx,openfl._internal.renderer.canvas.CanvasGraphics.pendingMatrix.ty); - openfl._internal.renderer.canvas.CanvasGraphics.context.fill(); - openfl._internal.renderer.canvas.CanvasGraphics.context.transform(openfl._internal.renderer.canvas.CanvasGraphics.inversePendingMatrix.a,openfl._internal.renderer.canvas.CanvasGraphics.inversePendingMatrix.b,openfl._internal.renderer.canvas.CanvasGraphics.inversePendingMatrix.c,openfl._internal.renderer.canvas.CanvasGraphics.inversePendingMatrix.d,openfl._internal.renderer.canvas.CanvasGraphics.inversePendingMatrix.tx,openfl._internal.renderer.canvas.CanvasGraphics.inversePendingMatrix.ty); - } else openfl._internal.renderer.canvas.CanvasGraphics.context.fill(); - openfl._internal.renderer.canvas.CanvasGraphics.context.translate(openfl._internal.renderer.canvas.CanvasGraphics.bounds.x,openfl._internal.renderer.canvas.CanvasGraphics.bounds.y); - openfl._internal.renderer.canvas.CanvasGraphics.context.closePath(); - } - } -}; -openfl._internal.renderer.canvas.CanvasGraphics.createGradientPattern = function(type,colors,alphas,ratios,matrix,spreadMethod,interpolationMethod,focalPointRatio) { - var gradientFill = null; - switch(type[1]) { - case 0: - if(matrix == null) matrix = new openfl.geom.Matrix(); - var point = matrix.transformPoint(new openfl.geom.Point(1638.4,0)); - gradientFill = openfl._internal.renderer.canvas.CanvasGraphics.context.createRadialGradient(matrix.tx,matrix.ty,0,matrix.tx,matrix.ty,(point.x - matrix.tx) / 2); - break; - case 1: - var matrix1; - if(matrix != null) matrix1 = new openfl.geom.Matrix(matrix.a,matrix.b,matrix.c,matrix.d,matrix.tx,matrix.ty); else matrix1 = new openfl.geom.Matrix(); - var point1 = matrix1.transformPoint(new openfl.geom.Point(-819.2,0)); - var point2 = matrix1.transformPoint(new openfl.geom.Point(819.2,0)); - gradientFill = openfl._internal.renderer.canvas.CanvasGraphics.context.createLinearGradient(point1.x,point1.y,point2.x,point2.y); - break; - } - var _g1 = 0; - var _g = colors.length; - while(_g1 < _g) { - var i = _g1++; - var rgb = colors[i]; - var alpha = alphas[i]; - var r = (rgb & 16711680) >>> 16; - var g = (rgb & 65280) >>> 8; - var b = rgb & 255; - var ratio = ratios[i] / 255; - if(ratio < 0) ratio = 0; - if(ratio > 1) ratio = 1; - gradientFill.addColorStop(ratio,"rgba(" + r + ", " + g + ", " + b + ", " + alpha + ")"); - } - return gradientFill; -}; -openfl._internal.renderer.canvas.CanvasGraphics.render = function(graphics,renderSession) { - if(graphics.__dirty) { - openfl._internal.renderer.canvas.CanvasGraphics.graphics = graphics; - openfl._internal.renderer.canvas.CanvasGraphics.bounds = graphics.__bounds; - if(!graphics.__visible || graphics.__commands.length == 0 || openfl._internal.renderer.canvas.CanvasGraphics.bounds == null || openfl._internal.renderer.canvas.CanvasGraphics.bounds.width == 0 || openfl._internal.renderer.canvas.CanvasGraphics.bounds.height == 0) { - graphics.__canvas = null; - graphics.__context = null; - graphics.__bitmap = null; - } else { - if(graphics.__canvas == null) { - graphics.__canvas = window.document.createElement("canvas"); - graphics.__context = graphics.__canvas.getContext("2d"); - } - openfl._internal.renderer.canvas.CanvasGraphics.context = graphics.__context; - graphics.__canvas.width = Math.ceil(openfl._internal.renderer.canvas.CanvasGraphics.bounds.width); - graphics.__canvas.height = Math.ceil(openfl._internal.renderer.canvas.CanvasGraphics.bounds.height); - var offsetX = openfl._internal.renderer.canvas.CanvasGraphics.bounds.x; - var offsetY = openfl._internal.renderer.canvas.CanvasGraphics.bounds.y; - openfl._internal.renderer.canvas.CanvasGraphics.fillCommands = new Array(); - openfl._internal.renderer.canvas.CanvasGraphics.strokeCommands = new Array(); - openfl._internal.renderer.canvas.CanvasGraphics.hasFill = false; - openfl._internal.renderer.canvas.CanvasGraphics.hasStroke = false; - openfl._internal.renderer.canvas.CanvasGraphics.bitmapFill = null; - openfl._internal.renderer.canvas.CanvasGraphics.bitmapRepeat = false; - var _g = 0; - var _g1 = graphics.__commands; - try { - while(_g < _g1.length) { - var command = _g1[_g]; - ++_g; - switch(command[1]) { - case 3:case 4:case 15:case 16: - openfl._internal.renderer.canvas.CanvasGraphics.fillCommands.push(command); - openfl._internal.renderer.canvas.CanvasGraphics.strokeCommands.push(command); - break; - case 11: - openfl._internal.renderer.canvas.CanvasGraphics.endFill(); - openfl._internal.renderer.canvas.CanvasGraphics.endStroke(); - openfl._internal.renderer.canvas.CanvasGraphics.hasFill = false; - openfl._internal.renderer.canvas.CanvasGraphics.bitmapFill = null; - break; - case 12:case 14:case 13: - openfl._internal.renderer.canvas.CanvasGraphics.strokeCommands.push(command); - break; - case 0:case 1:case 2: - openfl._internal.renderer.canvas.CanvasGraphics.endFill(); - openfl._internal.renderer.canvas.CanvasGraphics.endStroke(); - openfl._internal.renderer.canvas.CanvasGraphics.fillCommands.push(command); - openfl._internal.renderer.canvas.CanvasGraphics.strokeCommands.push(command); - break; - case 5:case 6:case 7:case 8: - openfl._internal.renderer.canvas.CanvasGraphics.fillCommands.push(command); - openfl._internal.renderer.canvas.CanvasGraphics.strokeCommands.push(command); - break; - case 10: - var culling = command[5]; - var uvtData = command[4]; - var indices = command[3]; - var vertices = command[2]; - openfl._internal.renderer.canvas.CanvasGraphics.endFill(); - openfl._internal.renderer.canvas.CanvasGraphics.endStroke(); - var v = vertices; - var ind = indices; - var uvt = uvtData; - var pattern = null; - var colorFill = openfl._internal.renderer.canvas.CanvasGraphics.bitmapFill == null; - if(colorFill && uvt != null) throw "__break__"; - if(!colorFill) { - if(uvtData == null) { - var this1; - this1 = new openfl.VectorData(); - var this2; - this2 = new Array(0); - this1.data = this2; - this1.length = 0; - this1.fixed = false; - uvtData = this1; - var _g3 = 0; - var _g2 = v.length / 2 | 0; - while(_g3 < _g2) { - var i = _g3++; - if(!uvtData.fixed) { - uvtData.length++; - if(uvtData.data.length < uvtData.length) { - var data; - var this3; - this3 = new Array(uvtData.data.length + 10); - data = this3; - haxe.ds._Vector.Vector_Impl_.blit(uvtData.data,0,data,0,uvtData.data.length); - uvtData.data = data; - } - uvtData.data[uvtData.length - 1] = v.data[i * 2] / openfl._internal.renderer.canvas.CanvasGraphics.bitmapFill.width; - } - uvtData.length; - if(!uvtData.fixed) { - uvtData.length++; - if(uvtData.data.length < uvtData.length) { - var data1; - var this4; - this4 = new Array(uvtData.data.length + 10); - data1 = this4; - haxe.ds._Vector.Vector_Impl_.blit(uvtData.data,0,data1,0,uvtData.data.length); - uvtData.data = data1; - } - uvtData.data[uvtData.length - 1] = v.data[i * 2 + 1] / openfl._internal.renderer.canvas.CanvasGraphics.bitmapFill.height; - } - uvtData.length; - } - } - var skipT = uvtData.length != v.length; - var normalizedUVT = openfl._internal.renderer.canvas.CanvasGraphics.normalizeUVT(uvtData,skipT); - var maxUVT = normalizedUVT.max; - uvt = normalizedUVT.uvt; - if(maxUVT > 1) pattern = openfl._internal.renderer.canvas.CanvasGraphics.createTempPatternCanvas(openfl._internal.renderer.canvas.CanvasGraphics.bitmapFill,openfl._internal.renderer.canvas.CanvasGraphics.bitmapRepeat,openfl._internal.renderer.canvas.CanvasGraphics.bounds.width | 0,openfl._internal.renderer.canvas.CanvasGraphics.bounds.height | 0); else pattern = openfl._internal.renderer.canvas.CanvasGraphics.createTempPatternCanvas(openfl._internal.renderer.canvas.CanvasGraphics.bitmapFill,openfl._internal.renderer.canvas.CanvasGraphics.bitmapRepeat,openfl._internal.renderer.canvas.CanvasGraphics.bitmapFill.width,openfl._internal.renderer.canvas.CanvasGraphics.bitmapFill.height); - } - var i1 = 0; - var l = ind.length; - var a; - var b; - var c; - var iax; - var iay; - var ibx; - var iby; - var icx; - var icy; - var x1; - var y1; - var x2; - var y2; - var x3; - var y3; - var uvx1; - var uvy1; - var uvx2; - var uvy2; - var uvx3; - var uvy3; - var denom; - var t1; - var t2; - var t3; - var t4; - var dx; - var dy; - while(i1 < l) { - a = i1; - b = i1 + 1; - c = i1 + 2; - iax = ind.data[a] * 2; - iay = ind.data[a] * 2 + 1; - ibx = ind.data[b] * 2; - iby = ind.data[b] * 2 + 1; - icx = ind.data[c] * 2; - icy = ind.data[c] * 2 + 1; - x1 = v.data[iax]; - y1 = v.data[iay]; - x2 = v.data[ibx]; - y2 = v.data[iby]; - x3 = v.data[icx]; - y3 = v.data[icy]; - switch(culling[1]) { - case 2: - if(!((x2 - x1) * (y3 - y1) - (y2 - y1) * (x3 - x1) < 0)) { - i1 += 3; - continue; - } - break; - case 0: - if((x2 - x1) * (y3 - y1) - (y2 - y1) * (x3 - x1) < 0) { - i1 += 3; - continue; - } - break; - default: - } - if(colorFill) { - openfl._internal.renderer.canvas.CanvasGraphics.context.beginPath(); - openfl._internal.renderer.canvas.CanvasGraphics.context.moveTo(x1,y1); - openfl._internal.renderer.canvas.CanvasGraphics.context.lineTo(x2,y2); - openfl._internal.renderer.canvas.CanvasGraphics.context.lineTo(x3,y3); - openfl._internal.renderer.canvas.CanvasGraphics.context.closePath(); - openfl._internal.renderer.canvas.CanvasGraphics.context.fill(); - i1 += 3; - continue; - } - openfl._internal.renderer.canvas.CanvasGraphics.context.save(); - openfl._internal.renderer.canvas.CanvasGraphics.context.beginPath(); - openfl._internal.renderer.canvas.CanvasGraphics.context.moveTo(x1,y1); - openfl._internal.renderer.canvas.CanvasGraphics.context.lineTo(x2,y2); - openfl._internal.renderer.canvas.CanvasGraphics.context.lineTo(x3,y3); - openfl._internal.renderer.canvas.CanvasGraphics.context.closePath(); - openfl._internal.renderer.canvas.CanvasGraphics.context.clip(); - uvx1 = uvt.data[iax] * pattern.width; - uvx2 = uvt.data[ibx] * pattern.width; - uvx3 = uvt.data[icx] * pattern.width; - uvy1 = uvt.data[iay] * pattern.height; - uvy2 = uvt.data[iby] * pattern.height; - uvy3 = uvt.data[icy] * pattern.height; - denom = uvx1 * (uvy3 - uvy2) - uvx2 * uvy3 + uvx3 * uvy2 + (uvx2 - uvx3) * uvy1; - if(denom == 0) { - i1 += 3; - continue; - } - t1 = -(uvy1 * (x3 - x2) - uvy2 * x3 + uvy3 * x2 + (uvy2 - uvy3) * x1) / denom; - t2 = (uvy2 * y3 + uvy1 * (y2 - y3) - uvy3 * y2 + (uvy3 - uvy2) * y1) / denom; - t3 = (uvx1 * (x3 - x2) - uvx2 * x3 + uvx3 * x2 + (uvx2 - uvx3) * x1) / denom; - t4 = -(uvx2 * y3 + uvx1 * (y2 - y3) - uvx3 * y2 + (uvx3 - uvx2) * y1) / denom; - dx = (uvx1 * (uvy3 * x2 - uvy2 * x3) + uvy1 * (uvx2 * x3 - uvx3 * x2) + (uvx3 * uvy2 - uvx2 * uvy3) * x1) / denom; - dy = (uvx1 * (uvy3 * y2 - uvy2 * y3) + uvy1 * (uvx2 * y3 - uvx3 * y2) + (uvx3 * uvy2 - uvx2 * uvy3) * y1) / denom; - openfl._internal.renderer.canvas.CanvasGraphics.context.transform(t1,t2,t3,t4,dx,dy); - openfl._internal.renderer.canvas.CanvasGraphics.context.drawImage(pattern,0,0); - openfl._internal.renderer.canvas.CanvasGraphics.context.restore(); - i1 += 3; - } - break; - case 9: - var count = command[6]; - var flags = command[5]; - var smooth = command[4]; - var tileData = command[3]; - var sheet = command[2]; - var useScale = (flags & 1) > 0; - var useRotation = (flags & 2) > 0; - var useTransform = (flags & 16) > 0; - var useRGB = (flags & 4) > 0; - var useAlpha = (flags & 8) > 0; - var useRect = (flags & 32) > 0; - var useOrigin = (flags & 64) > 0; - var useBlendAdd = (flags & 65536) > 0; - if(useTransform) { - useScale = false; - useRotation = false; - } - var scaleIndex = 0; - var rotationIndex = 0; - var rgbIndex = 0; - var alphaIndex = 0; - var transformIndex = 0; - var numValues = 3; - if(useRect) if(useOrigin) numValues = 8; else numValues = 6; - if(useScale) { - scaleIndex = numValues; - numValues++; - } - if(useRotation) { - rotationIndex = numValues; - numValues++; - } - if(useTransform) { - transformIndex = numValues; - numValues += 4; - } - if(useRGB) { - rgbIndex = numValues; - numValues += 3; - } - if(useAlpha) { - alphaIndex = numValues; - numValues++; - } - var totalCount = tileData.length; - if(count >= 0 && totalCount > count) totalCount = count; - var itemCount = totalCount / numValues | 0; - var index = 0; - var rect = null; - var center = null; - var previousTileID = -1; - var surface; - sheet.__bitmap.__sync(); - surface = sheet.__bitmap.__image.get_src(); - if(useBlendAdd) openfl._internal.renderer.canvas.CanvasGraphics.context.globalCompositeOperation = "lighter"; - while(index < totalCount) { - var tileID; - if(!useRect) tileID = tileData[index + 2] | 0; else tileID = -1; - if(!useRect && tileID != previousTileID) { - rect = sheet.__tileRects[tileID]; - center = sheet.__centerPoints[tileID]; - previousTileID = tileID; - } else if(useRect) { - rect = sheet.__rectTile; - rect.setTo(tileData[index + 2],tileData[index + 3],tileData[index + 4],tileData[index + 5]); - center = sheet.__point; - if(useOrigin) { - center.x = tileData[index + 6]; - center.y = tileData[index + 7]; - } else { - center.x = 0; - center.y = 0; - } - } - if(rect != null && rect.width > 0 && rect.height > 0 && center != null) { - openfl._internal.renderer.canvas.CanvasGraphics.context.save(); - openfl._internal.renderer.canvas.CanvasGraphics.context.translate(tileData[index],tileData[index + 1]); - if(useRotation) openfl._internal.renderer.canvas.CanvasGraphics.context.rotate(tileData[index + rotationIndex]); - var scale = 1.0; - if(useScale) scale = tileData[index + scaleIndex]; - if(useTransform) openfl._internal.renderer.canvas.CanvasGraphics.context.transform(tileData[index + transformIndex],tileData[index + transformIndex + 1],tileData[index + transformIndex + 2],tileData[index + transformIndex + 3],0,0); - if(useAlpha) openfl._internal.renderer.canvas.CanvasGraphics.context.globalAlpha = tileData[index + alphaIndex]; - openfl._internal.renderer.canvas.CanvasGraphics.context.drawImage(surface,rect.x,rect.y,rect.width,rect.height,-center.x * scale,-center.y * scale,rect.width * scale,rect.height * scale); - openfl._internal.renderer.canvas.CanvasGraphics.context.restore(); - } - index += numValues; - } - if(useBlendAdd) openfl._internal.renderer.canvas.CanvasGraphics.context.globalCompositeOperation = "source-over"; - break; - default: - openfl.Lib.notImplemented("CanvasGraphics"); - } - } - } catch( e ) { if( e != "__break__" ) throw e; } - if(openfl._internal.renderer.canvas.CanvasGraphics.fillCommands.length > 0) openfl._internal.renderer.canvas.CanvasGraphics.endFill(); - if(openfl._internal.renderer.canvas.CanvasGraphics.strokeCommands.length > 0) openfl._internal.renderer.canvas.CanvasGraphics.endStroke(); - graphics.__bitmap = openfl.display.BitmapData.fromCanvas(graphics.__canvas); - } - graphics.set___dirty(false); - } -}; -openfl._internal.renderer.canvas.CanvasGraphics.renderMask = function(graphics,renderSession) { - if(graphics.__commands.length != 0) { - var context = renderSession.context; - var positionX = 0.0; - var positionY = 0.0; - var offsetX = 0; - var offsetY = 0; - var _g = 0; - var _g1 = graphics.__commands; - while(_g < _g1.length) { - var command = _g1[_g]; - ++_g; - switch(command[1]) { - case 3: - var y = command[7]; - var x = command[6]; - var cy2 = command[5]; - var cy1 = command[4]; - var cx2 = command[3]; - var cx1 = command[2]; - context.bezierCurveTo(cx1 - offsetX,cy1 - offsetY,cx2 - offsetX,cy2 - offsetY,x - offsetX,y - offsetY); - positionX = x; - positionY = y; - break; - case 4: - var y1 = command[5]; - var x1 = command[4]; - var cy = command[3]; - var cx = command[2]; - context.quadraticCurveTo(cx - offsetX,cy - offsetY,x1 - offsetX,y1 - offsetY); - positionX = x1; - positionY = y1; - break; - case 5: - var radius = command[4]; - var y2 = command[3]; - var x2 = command[2]; - context.arc(x2 - offsetX,y2 - offsetY,radius,0,Math.PI * 2,true); - break; - case 6: - var height = command[5]; - var width = command[4]; - var y3 = command[3]; - var x3 = command[2]; - x3 -= offsetX; - y3 -= offsetY; - var kappa = .5522848; - var ox = width / 2 * kappa; - var oy = height / 2 * kappa; - var xe = x3 + width; - var ye = y3 + height; - var xm = x3 + width / 2; - var ym = y3 + height / 2; - context.moveTo(x3,ym); - context.bezierCurveTo(x3,ym - oy,xm - ox,y3,xm,y3); - context.bezierCurveTo(xm + ox,y3,xe,ym - oy,xe,ym); - context.bezierCurveTo(xe,ym + oy,xm + ox,ye,xm,ye); - context.bezierCurveTo(xm - ox,ye,x3,ym + oy,x3,ym); - break; - case 7: - var height1 = command[5]; - var width1 = command[4]; - var y4 = command[3]; - var x4 = command[2]; - context.rect(x4 - offsetX,y4 - offsetY,width1,height1); - break; - case 8: - var ry = command[7]; - var rx = command[6]; - var height2 = command[5]; - var width2 = command[4]; - var y5 = command[3]; - var x5 = command[2]; - openfl._internal.renderer.canvas.CanvasGraphics.drawRoundRect(x5 - offsetX,y5 - offsetY,width2,height2,rx,ry); - break; - case 15: - var y6 = command[3]; - var x6 = command[2]; - context.lineTo(x6 - offsetX,y6 - offsetY); - positionX = x6; - positionY = y6; - break; - case 16: - var y7 = command[3]; - var x7 = command[2]; - context.moveTo(x7 - offsetX,y7 - offsetY); - positionX = x7; - positionY = y7; - break; - default: - } - } - } -}; -openfl._internal.renderer.canvas.CanvasMaskManager = function(renderSession) { - openfl._internal.renderer.AbstractMaskManager.call(this,renderSession); -}; -$hxClasses["openfl._internal.renderer.canvas.CanvasMaskManager"] = openfl._internal.renderer.canvas.CanvasMaskManager; -openfl._internal.renderer.canvas.CanvasMaskManager.__name__ = ["openfl","_internal","renderer","canvas","CanvasMaskManager"]; -openfl._internal.renderer.canvas.CanvasMaskManager.__super__ = openfl._internal.renderer.AbstractMaskManager; -openfl._internal.renderer.canvas.CanvasMaskManager.prototype = $extend(openfl._internal.renderer.AbstractMaskManager.prototype,{ - pushMask: function(mask) { - var context = this.renderSession.context; - context.save(); - var transform = mask.__getTransform(); - context.setTransform(transform.a,transform.c,transform.b,transform.d,transform.tx,transform.ty); - context.beginPath(); - mask.__renderCanvasMask(this.renderSession); - context.clip(); - } - ,pushRect: function(rect,transform) { - var context = this.renderSession.context; - context.save(); - context.setTransform(transform.a,transform.c,transform.b,transform.d,transform.tx,transform.ty); - context.beginPath(); - context.rect(rect.x,rect.y,rect.width,rect.height); - context.clip(); - } - ,popMask: function() { - this.renderSession.context.restore(); - } - ,__class__: openfl._internal.renderer.canvas.CanvasMaskManager -}); -openfl._internal.renderer.canvas.CanvasRenderer = function(width,height,context) { - openfl._internal.renderer.AbstractRenderer.call(this,width,height); - this.context = context; - this.renderSession = new openfl._internal.renderer.RenderSession(); - this.renderSession.context = context; - this.renderSession.roundPixels = true; - this.renderSession.renderer = this; - this.renderSession.maskManager = new openfl._internal.renderer.canvas.CanvasMaskManager(this.renderSession); -}; -$hxClasses["openfl._internal.renderer.canvas.CanvasRenderer"] = openfl._internal.renderer.canvas.CanvasRenderer; -openfl._internal.renderer.canvas.CanvasRenderer.__name__ = ["openfl","_internal","renderer","canvas","CanvasRenderer"]; -openfl._internal.renderer.canvas.CanvasRenderer.__super__ = openfl._internal.renderer.AbstractRenderer; -openfl._internal.renderer.canvas.CanvasRenderer.prototype = $extend(openfl._internal.renderer.AbstractRenderer.prototype,{ - render: function(stage) { - this.context.setTransform(1,0,0,1,0,0); - this.context.globalAlpha = 1; - if(!stage.__transparent && stage.__clearBeforeRender) { - this.context.fillStyle = stage.__colorString; - this.context.fillRect(0,0,stage.stageWidth,stage.stageHeight); - } else if(stage.__transparent && stage.__clearBeforeRender) this.context.clearRect(0,0,stage.stageWidth,stage.stageHeight); - stage.__renderCanvas(this.renderSession); - } - ,__class__: openfl._internal.renderer.canvas.CanvasRenderer -}); -openfl._internal.renderer.canvas.CanvasShape = function() { }; -$hxClasses["openfl._internal.renderer.canvas.CanvasShape"] = openfl._internal.renderer.canvas.CanvasShape; -openfl._internal.renderer.canvas.CanvasShape.__name__ = ["openfl","_internal","renderer","canvas","CanvasShape"]; -openfl._internal.renderer.canvas.CanvasShape.render = function(shape,renderSession) { - if(!shape.__renderable || shape.__worldAlpha <= 0) return; - var graphics = shape.__graphics; - if(graphics != null) { - openfl._internal.renderer.canvas.CanvasGraphics.render(graphics,renderSession); - if(graphics.__canvas != null) { - if(shape.__mask != null) renderSession.maskManager.pushMask(shape.__mask); - var context = renderSession.context; - var scrollRect = shape.get_scrollRect(); - context.globalAlpha = shape.__worldAlpha; - var transform = shape.__worldTransform; - if(renderSession.roundPixels) context.setTransform(transform.a,transform.b,transform.c,transform.d,transform.tx | 0,transform.ty | 0); else context.setTransform(transform.a,transform.b,transform.c,transform.d,transform.tx,transform.ty); - if(scrollRect == null) context.drawImage(graphics.__canvas,graphics.__bounds.x,graphics.__bounds.y); else context.drawImage(graphics.__canvas,Math.ceil(graphics.__bounds.x + scrollRect.x),Math.ceil(graphics.__bounds.y + scrollRect.y),scrollRect.width,scrollRect.height,Math.ceil(graphics.__bounds.x + scrollRect.x),Math.ceil(graphics.__bounds.y + scrollRect.y),scrollRect.width,scrollRect.height); - if(shape.__mask != null) renderSession.maskManager.popMask(); - } - } -}; -openfl._internal.renderer.canvas.CanvasTextField = function() { }; -$hxClasses["openfl._internal.renderer.canvas.CanvasTextField"] = openfl._internal.renderer.canvas.CanvasTextField; -openfl._internal.renderer.canvas.CanvasTextField.__name__ = ["openfl","_internal","renderer","canvas","CanvasTextField"]; -openfl._internal.renderer.canvas.CanvasTextField.context = null; -openfl._internal.renderer.canvas.CanvasTextField.clipText = function(textField,value) { - var textWidth = openfl._internal.renderer.canvas.CanvasTextField.getTextWidth(textField,value); - var fillPer = textWidth / textField.__width; - textField.set_text(fillPer > 1?(function($this) { - var $r; - var _this = textField.get_text(); - var pos = -1 * Math.floor(textField.get_text().length / fillPer); - $r = HxOverrides.substr(_this,pos,null); - return $r; - }(this)):textField.get_text()); - return textField.get_text() + ""; -}; -openfl._internal.renderer.canvas.CanvasTextField.disableInputMode = function(textField) { - textField.this_onRemovedFromStage(null); -}; -openfl._internal.renderer.canvas.CanvasTextField.enableInputMode = function(textField) { - textField.__cursorPosition = -1; - if(textField.__hiddenInput == null) { - textField.__hiddenInput = window.document.createElement("input"); - var hiddenInput = textField.__hiddenInput; - hiddenInput.type = "text"; - hiddenInput.style.position = "absolute"; - hiddenInput.style.opacity = "0"; - hiddenInput.style.color = "transparent"; - hiddenInput.style.left = "0px"; - hiddenInput.style.top = "50%"; - if(new EReg("(iPad|iPhone|iPod).*OS 8_","gi").match(window.navigator.userAgent)) { - hiddenInput.style.fontSize = "0px"; - hiddenInput.style.width = "0px"; - hiddenInput.style.height = "0px"; - } else { - hiddenInput.style.width = "1px"; - hiddenInput.style.height = "1px"; - } - hiddenInput.style.pointerEvents = "none"; - hiddenInput.style.zIndex = "-10000000"; - if(textField.maxChars > 0) hiddenInput.maxLength = textField.maxChars; - window.document.body.appendChild(hiddenInput); - hiddenInput.value = textField.__text; - } - if(textField.stage != null) textField.this_onAddedToStage(null); else { - textField.addEventListener(openfl.events.Event.ADDED_TO_STAGE,$bind(textField,textField.this_onAddedToStage)); - textField.addEventListener(openfl.events.Event.REMOVED_FROM_STAGE,$bind(textField,textField.this_onRemovedFromStage)); - } -}; -openfl._internal.renderer.canvas.CanvasTextField.getLineBreakIndices = function(textField) { - var breaks = []; - var _g1 = 0; - var _g; - var s = textField.get_text(); - _g = s.length; - while(_g1 < _g) { - var i = _g1++; - var $char = haxe.Utf8.charCodeAt(textField.get_text(),i); - if($char == openfl._internal.renderer.canvas.CanvasTextField.__utf8_endline_code) breaks.push(i); - } - return breaks; -}; -openfl._internal.renderer.canvas.CanvasTextField.getLineWidth = function(textField,line) { - if(textField.__context == null) { - textField.__canvas = window.document.createElement("canvas"); - textField.__context = textField.__canvas.getContext("2d"); - } - var linebreaks = openfl._internal.renderer.canvas.CanvasTextField.getLineBreakIndices(textField); - var context = textField.__context; - context.font = openfl._internal.renderer.dom.DOMTextField.getFont(textField.__textFormat); - if(line == -1) { - var longest = 0.0; - var _g1 = 0; - var _g = linebreaks.length; - while(_g1 < _g) { - var i = _g1++; - longest = Math.max(longest,context.measureText(textField.__text.substring(i == 0?0:linebreaks[i - 1] + 1,linebreaks[i])).width); - } - longest = Math.max(longest,context.measureText(textField.__text.substring(linebreaks.length == 0?0:linebreaks[linebreaks.length - 1] + 1)).width); - return longest; - } else return context.measureText(textField.__text.substring(line == 0?0:linebreaks[line - 1] + 1)).width; -}; -openfl._internal.renderer.canvas.CanvasTextField.getTextWidth = function(textField,text) { - if(textField.__context == null) { - textField.__canvas = window.document.createElement("canvas"); - textField.__context = textField.__canvas.getContext("2d"); - } - textField.__context.font = openfl._internal.renderer.dom.DOMTextField.getFont(textField.__textFormat); - textField.__context.textAlign = "left"; - return textField.__context.measureText(text).width; -}; -openfl._internal.renderer.canvas.CanvasTextField.measureText = function(textField,condense) { - if(condense == null) condense = true; - if(textField.__context == null) { - textField.__canvas = window.document.createElement("canvas"); - textField.__context = textField.__canvas.getContext("2d"); - } - if(textField.__ranges == null) { - textField.__context.font = openfl._internal.renderer.dom.DOMTextField.getFont(textField.__textFormat); - return [textField.__context.measureText(textField.__text).width]; - } else { - var measurements = []; - var _g = 0; - var _g1 = textField.__ranges; - while(_g < _g1.length) { - var range = _g1[_g]; - ++_g; - textField.__context.font = openfl._internal.renderer.dom.DOMTextField.getFont(range.format); - measurements.push(textField.__context.measureText(textField.get_text().substring(range.start,range.end)).width); - } - return measurements; - } -}; -openfl._internal.renderer.canvas.CanvasTextField.render = function(textField,renderSession) { - var bounds = textField.getBounds(null); - if(textField.__dirty) { - if((textField.__text == null || textField.__text == "") && !textField.background && !textField.border && !textField.__hasFocus || (textField.get_width() <= 0 || textField.get_height() <= 0) && textField.autoSize != openfl.text.TextFieldAutoSize.NONE) { - textField.__graphics.__canvas = null; - textField.__graphics.__context = null; - textField.__graphics.set___dirty(false); - textField.__dirty = false; - } else { - if(textField.__graphics == null || textField.__graphics.__canvas == null) { - if(textField.__graphics == null) textField.__graphics = new openfl.display.Graphics(); - textField.__graphics.__canvas = window.document.createElement("canvas"); - textField.__graphics.__context = textField.__graphics.__canvas.getContext("2d"); - textField.__graphics.__bounds = new openfl.geom.Rectangle(0,0,bounds.width,bounds.height); - } - var graphics = textField.__graphics; - openfl._internal.renderer.canvas.CanvasTextField.context = graphics.__context; - if(textField.__text != null && textField.__text != "" || textField.__hasFocus) { - var text = textField.get_text(); - if(textField.displayAsPassword) { - var length = text.length; - var mask = ""; - var _g = 0; - while(_g < length) { - var i = _g++; - mask += "*"; - } - text = mask; - } - var measurements = openfl._internal.renderer.canvas.CanvasTextField.measureText(textField); - graphics.__canvas.width = Math.ceil(textField.__width); - graphics.__canvas.height = Math.ceil(textField.__height); - if(textField.border || textField.background) { - openfl._internal.renderer.canvas.CanvasTextField.context.rect(0.5,0.5,textField.get_width() - 1,textField.get_height() - 1); - if(textField.background) { - openfl._internal.renderer.canvas.CanvasTextField.context.fillStyle = "#" + StringTools.hex(textField.backgroundColor,6); - openfl._internal.renderer.canvas.CanvasTextField.context.fill(); - } - if(textField.border) { - openfl._internal.renderer.canvas.CanvasTextField.context.lineWidth = 1; - openfl._internal.renderer.canvas.CanvasTextField.context.strokeStyle = "#" + StringTools.hex(textField.borderColor,6); - openfl._internal.renderer.canvas.CanvasTextField.context.stroke(); - } - } - if(textField.__hasFocus && textField.__selectionStart == textField.__cursorPosition && textField.__showCursor) { - var cursorOffset = openfl._internal.renderer.canvas.CanvasTextField.getTextWidth(textField,text.substring(0,textField.__cursorPosition)) + 3; - openfl._internal.renderer.canvas.CanvasTextField.context.fillStyle = "#" + StringTools.hex(textField.__textFormat.color,6); - openfl._internal.renderer.canvas.CanvasTextField.context.fillRect(cursorOffset,5,1,textField.__textFormat.size * 1.185 - 4); - } else if(textField.__hasFocus && Math.abs(textField.__selectionStart - textField.__cursorPosition) > 0) { - var lowPos = Std["int"](Math.min(textField.__selectionStart,textField.__cursorPosition)); - var highPos = Std["int"](Math.max(textField.__selectionStart,textField.__cursorPosition)); - var xPos = openfl._internal.renderer.canvas.CanvasTextField.getTextWidth(textField,text.substring(0,lowPos)) + 2; - var widthPos = openfl._internal.renderer.canvas.CanvasTextField.getTextWidth(textField,text.substring(lowPos,highPos)); - openfl._internal.renderer.canvas.CanvasTextField.context.fillStyle = "#000000"; - openfl._internal.renderer.canvas.CanvasTextField.context.fillRect(xPos,5,widthPos,textField.__textFormat.size * 1.185 - 4); - } - if(textField.__ranges == null) openfl._internal.renderer.canvas.CanvasTextField.renderText(textField,text,textField.__textFormat,0,bounds); else { - var currentIndex = 0; - var range; - var offsetX = 0.0; - var _g1 = 0; - var _g2 = textField.__ranges.length; - while(_g1 < _g2) { - var i1 = _g1++; - range = textField.__ranges[i1]; - openfl._internal.renderer.canvas.CanvasTextField.renderText(textField,text.substring(range.start,range.end),range.format,offsetX,bounds); - offsetX += measurements[i1]; - } - } - } else { - graphics.__canvas.width = Math.ceil(textField.__width); - graphics.__canvas.height = Math.ceil(textField.__height); - if(textField.border || textField.background) { - if(textField.border) openfl._internal.renderer.canvas.CanvasTextField.context.rect(0.5,0.5,textField.get_width() - 1,textField.get_height() - 1); else openfl._internal.renderer.canvas.CanvasTextField.context.rect(0,0,textField.get_width(),textField.get_height()); - if(textField.background) { - openfl._internal.renderer.canvas.CanvasTextField.context.fillStyle = "#" + StringTools.hex(textField.backgroundColor,6); - openfl._internal.renderer.canvas.CanvasTextField.context.fill(); - } - if(textField.border) { - openfl._internal.renderer.canvas.CanvasTextField.context.lineWidth = 1; - openfl._internal.renderer.canvas.CanvasTextField.context.lineCap = "square"; - openfl._internal.renderer.canvas.CanvasTextField.context.strokeStyle = "#" + StringTools.hex(textField.borderColor,6); - openfl._internal.renderer.canvas.CanvasTextField.context.stroke(); - } - } - } - graphics.__bitmap = openfl.display.BitmapData.fromCanvas(graphics.__canvas); - textField.__dirty = false; - graphics.set___dirty(false); - } - } -}; -openfl._internal.renderer.canvas.CanvasTextField.renderText = function(textField,text,format,offsetX,bounds) { - openfl._internal.renderer.canvas.CanvasTextField.context.font = openfl._internal.renderer.dom.DOMTextField.getFont(format); - openfl._internal.renderer.canvas.CanvasTextField.context.fillStyle = "#" + StringTools.hex(format.color,6); - openfl._internal.renderer.canvas.CanvasTextField.context.textBaseline = "top"; - var yOffset = 0.0; - if(new EReg("(iPad|iPhone|iPod|Firefox)","g").match(window.navigator.userAgent)) yOffset = format.size * 0.185; - var lines = []; - if(textField.get_wordWrap()) { - var words = text.split(" "); - var line = ""; - var word; - var newLineIndex; - var test; - var _g1 = 0; - var _g = words.length; - while(_g1 < _g) { - var i = _g1++; - word = words[i]; - newLineIndex = word.indexOf("\n"); - if(newLineIndex > -1) { - while(newLineIndex > -1) { - test = line + word.substring(0,newLineIndex) + " "; - if(openfl._internal.renderer.canvas.CanvasTextField.context.measureText(test).width > textField.__width - 4 && i > 0) { - lines.push(line); - lines.push(word.substring(0,newLineIndex)); - } else lines.push(line + word.substring(0,newLineIndex)); - word = HxOverrides.substr(word,newLineIndex + 1,null); - newLineIndex = word.indexOf("\n"); - line = ""; - } - if(word != "") line = word + " "; - } else { - test = line + words[i] + " "; - if(openfl._internal.renderer.canvas.CanvasTextField.context.measureText(test).width > textField.__width - 4 && i > 0) { - lines.push(line); - line = words[i] + " "; - } else line = test; - } - } - if(line != "") lines.push(line); - } else lines = text.split("\n"); - var _g2 = 0; - while(_g2 < lines.length) { - var line1 = lines[_g2]; - ++_g2; - var _g11 = format.align; - switch(_g11[1]) { - case 3: - openfl._internal.renderer.canvas.CanvasTextField.context.textAlign = "center"; - openfl._internal.renderer.canvas.CanvasTextField.context.fillText(line1,offsetX + textField.get_width() / 2,2 + yOffset,textField.get_textWidth()); - break; - case 1: - openfl._internal.renderer.canvas.CanvasTextField.context.textAlign = "end"; - openfl._internal.renderer.canvas.CanvasTextField.context.fillText(line1,offsetX + textField.get_width() - 2,2 + yOffset,textField.get_textWidth()); - break; - default: - openfl._internal.renderer.canvas.CanvasTextField.context.textAlign = "start"; - openfl._internal.renderer.canvas.CanvasTextField.context.fillText(line1,2 + offsetX,2 + yOffset,textField.get_textWidth()); - } - yOffset += format.size * 1.185 + format.leading; - offsetX = 0; - } -}; -openfl._internal.renderer.dom = {}; -openfl._internal.renderer.dom.DOMBitmap = function() { }; -$hxClasses["openfl._internal.renderer.dom.DOMBitmap"] = openfl._internal.renderer.dom.DOMBitmap; -openfl._internal.renderer.dom.DOMBitmap.__name__ = ["openfl","_internal","renderer","dom","DOMBitmap"]; -openfl._internal.renderer.dom.DOMBitmap.render = function(bitmap,renderSession) { - if(bitmap.stage != null && bitmap.__worldVisible && bitmap.__renderable && bitmap.bitmapData != null && bitmap.bitmapData.__isValid) { - if(bitmap.bitmapData.__image.buffer.__srcImage != null) openfl._internal.renderer.dom.DOMBitmap.renderImage(bitmap,renderSession); else openfl._internal.renderer.dom.DOMBitmap.renderCanvas(bitmap,renderSession); - } else { - if(bitmap.__image != null) { - renderSession.element.removeChild(bitmap.__image); - bitmap.__image = null; - bitmap.__style = null; - } - if(bitmap.__canvas != null) { - renderSession.element.removeChild(bitmap.__canvas); - bitmap.__canvas = null; - bitmap.__style = null; - } - } -}; -openfl._internal.renderer.dom.DOMBitmap.renderCanvas = function(bitmap,renderSession) { - if(bitmap.__image != null) { - renderSession.element.removeChild(bitmap.__image); - bitmap.__image = null; - } - if(bitmap.__canvas == null) { - bitmap.__canvas = window.document.createElement("canvas"); - bitmap.__context = bitmap.__canvas.getContext("2d"); - if(!bitmap.smoothing) { - bitmap.__context.mozImageSmoothingEnabled = false; - bitmap.__context.webkitImageSmoothingEnabled = false; - bitmap.__context.imageSmoothingEnabled = false; - } - openfl._internal.renderer.dom.DOMRenderer.initializeElement(bitmap,bitmap.__canvas,renderSession); - } - bitmap.bitmapData.__sync(); - bitmap.__canvas.width = bitmap.bitmapData.width; - bitmap.__canvas.height = bitmap.bitmapData.height; - bitmap.__context.globalAlpha = bitmap.__worldAlpha; - bitmap.__context.drawImage(bitmap.bitmapData.__image.buffer.__srcCanvas,0,0); - openfl._internal.renderer.dom.DOMRenderer.applyStyle(bitmap,renderSession,true,false,true); -}; -openfl._internal.renderer.dom.DOMBitmap.renderImage = function(bitmap,renderSession) { - if(bitmap.__canvas != null) { - renderSession.element.removeChild(bitmap.__canvas); - bitmap.__canvas = null; - } - if(bitmap.__image == null) { - bitmap.__image = window.document.createElement("img"); - bitmap.__image.src = bitmap.bitmapData.__image.buffer.__srcImage.src; - openfl._internal.renderer.dom.DOMRenderer.initializeElement(bitmap,bitmap.__image,renderSession); - } - openfl._internal.renderer.dom.DOMRenderer.applyStyle(bitmap,renderSession,true,true,true); -}; -openfl._internal.renderer.dom.DOMMaskManager = function(renderSession) { - openfl._internal.renderer.AbstractMaskManager.call(this,renderSession); -}; -$hxClasses["openfl._internal.renderer.dom.DOMMaskManager"] = openfl._internal.renderer.dom.DOMMaskManager; -openfl._internal.renderer.dom.DOMMaskManager.__name__ = ["openfl","_internal","renderer","dom","DOMMaskManager"]; -openfl._internal.renderer.dom.DOMMaskManager.__super__ = openfl._internal.renderer.AbstractMaskManager; -openfl._internal.renderer.dom.DOMMaskManager.prototype = $extend(openfl._internal.renderer.AbstractMaskManager.prototype,{ - pushMask: function(mask) { - } - ,pushRect: function(rect,transform) { - } - ,popMask: function() { - } - ,__class__: openfl._internal.renderer.dom.DOMMaskManager -}); -openfl._internal.renderer.dom.DOMRenderer = function(width,height,element) { - openfl._internal.renderer.AbstractRenderer.call(this,width,height); - this.element = element; - this.renderSession = new openfl._internal.renderer.RenderSession(); - this.renderSession.element = element; - this.renderSession.roundPixels = true; - var prefix = (function () { - var styles = window.getComputedStyle(document.documentElement, ''), - pre = (Array.prototype.slice - .call(styles) - .join('') - .match(/-(moz|webkit|ms)-/) || (styles.OLink === '' && ['', 'o']) - )[1], - dom = ('WebKit|Moz|MS|O').match(new RegExp('(' + pre + ')', 'i'))[1]; - return { - dom: dom, - lowercase: pre, - css: '-' + pre + '-', - js: pre[0].toUpperCase() + pre.substr(1) - }; - })(); - this.renderSession.vendorPrefix = prefix.lowercase; - if(prefix.lowercase == "webkit") this.renderSession.transformProperty = "-webkit-transform"; else this.renderSession.transformProperty = "transform"; - if(prefix.lowercase == "webkit") this.renderSession.transformOriginProperty = "-webkit-transform-origin"; else this.renderSession.transformOriginProperty = "transform-origin"; - this.renderSession.maskManager = new openfl._internal.renderer.dom.DOMMaskManager(this.renderSession); - this.renderSession.renderer = this; -}; -$hxClasses["openfl._internal.renderer.dom.DOMRenderer"] = openfl._internal.renderer.dom.DOMRenderer; -openfl._internal.renderer.dom.DOMRenderer.__name__ = ["openfl","_internal","renderer","dom","DOMRenderer"]; -openfl._internal.renderer.dom.DOMRenderer.applyStyle = function(displayObject,renderSession,setTransform,setAlpha,setClip) { - var style = displayObject.__style; - if(setTransform && displayObject.__worldTransformChanged) style.setProperty(renderSession.transformProperty,displayObject.__worldTransform.to3DString(renderSession.roundPixels),null); - if(displayObject.__worldZ != ++renderSession.z) { - displayObject.__worldZ = renderSession.z; - style.setProperty("z-index",displayObject.__worldZ == null?"null":"" + displayObject.__worldZ,null); - } - if(setAlpha && displayObject.__worldAlphaChanged) { - if(displayObject.__worldAlpha < 1) style.setProperty("opacity",displayObject.__worldAlpha == null?"null":"" + displayObject.__worldAlpha,null); else style.removeProperty("opacity"); - } - if(setClip && displayObject.__worldClipChanged) { - if(displayObject.__worldClip == null) style.removeProperty("clip"); else { - var clip = displayObject.__worldClip.transform(displayObject.__worldTransform.clone().invert()); - style.setProperty("clip","rect(" + clip.y + "px, " + clip.get_right() + "px, " + clip.get_bottom() + "px, " + clip.x + "px)",null); - } - } -}; -openfl._internal.renderer.dom.DOMRenderer.initializeElement = function(displayObject,element,renderSession) { - var style = displayObject.__style = element.style; - style.setProperty("position","absolute",null); - style.setProperty("top","0",null); - style.setProperty("left","0",null); - style.setProperty(renderSession.transformOriginProperty,"0 0 0",null); - renderSession.element.appendChild(element); - displayObject.__worldAlphaChanged = true; - displayObject.__worldClipChanged = true; - displayObject.__worldTransformChanged = true; - displayObject.__worldVisibleChanged = true; - displayObject.__worldZ = -1; -}; -openfl._internal.renderer.dom.DOMRenderer.__super__ = openfl._internal.renderer.AbstractRenderer; -openfl._internal.renderer.dom.DOMRenderer.prototype = $extend(openfl._internal.renderer.AbstractRenderer.prototype,{ - render: function(stage) { - this.element.style.background = stage.__colorString; - this.renderSession.z = 1; - stage.__renderDOM(this.renderSession); - } - ,__class__: openfl._internal.renderer.dom.DOMRenderer -}); -openfl._internal.renderer.dom.DOMShape = function() { }; -$hxClasses["openfl._internal.renderer.dom.DOMShape"] = openfl._internal.renderer.dom.DOMShape; -openfl._internal.renderer.dom.DOMShape.__name__ = ["openfl","_internal","renderer","dom","DOMShape"]; -openfl._internal.renderer.dom.DOMShape.render = function(shape,renderSession) { - var graphics = shape.__graphics; - if(shape.stage != null && shape.__worldVisible && shape.__renderable && graphics != null) { - if(graphics.__dirty || shape.__worldAlphaChanged || shape.__canvas == null && graphics.__canvas != null) { - openfl._internal.renderer.canvas.CanvasGraphics.render(graphics,renderSession); - if(graphics.__canvas != null) { - if(shape.__canvas == null) { - shape.__canvas = window.document.createElement("canvas"); - shape.__context = shape.__canvas.getContext("2d"); - openfl._internal.renderer.dom.DOMRenderer.initializeElement(shape,shape.__canvas,renderSession); - } - shape.__canvas.width = graphics.__canvas.width; - shape.__canvas.height = graphics.__canvas.height; - shape.__context.globalAlpha = shape.__worldAlpha; - shape.__context.drawImage(graphics.__canvas,0,0); - } else if(shape.__canvas != null) { - renderSession.element.removeChild(shape.__canvas); - shape.__canvas = null; - shape.__style = null; - } - } - if(shape.__canvas != null) { - if(shape.__worldTransformChanged || graphics.__transformDirty) { - graphics.__transformDirty = false; - var transform = new openfl.geom.Matrix(); - transform.translate(graphics.__bounds.x,graphics.__bounds.y); - transform = transform.mult(shape.__worldTransform); - shape.__style.setProperty(renderSession.transformProperty,renderSession.roundPixels?"matrix3d(" + transform.a + ", " + transform.b + ", " + "0, 0, " + transform.c + ", " + transform.d + ", " + "0, 0, 0, 0, 1, 0, " + (transform.tx | 0) + ", " + (transform.ty | 0) + ", 0, 1)":"matrix3d(" + transform.a + ", " + transform.b + ", " + "0, 0, " + transform.c + ", " + transform.d + ", " + "0, 0, 0, 0, 1, 0, " + transform.tx + ", " + transform.ty + ", 0, 1)",null); - } - openfl._internal.renderer.dom.DOMRenderer.applyStyle(shape,renderSession,false,false,true); - } - } else if(shape.__canvas != null) { - renderSession.element.removeChild(shape.__canvas); - shape.__canvas = null; - shape.__style = null; - } -}; -openfl._internal.renderer.dom.DOMTextField = function() { }; -$hxClasses["openfl._internal.renderer.dom.DOMTextField"] = openfl._internal.renderer.dom.DOMTextField; -openfl._internal.renderer.dom.DOMTextField.__name__ = ["openfl","_internal","renderer","dom","DOMTextField"]; -openfl._internal.renderer.dom.DOMTextField.getFont = function(format) { - var font; - if(format.italic) font = "italic "; else font = "normal "; - font += "normal "; - if(format.bold) font += "bold "; else font += "normal "; - font += format.size + "px"; - font += "/" + (format.size + format.leading) + "px "; - font += "" + (function($this) { - var $r; - var _g = format.font; - $r = (function($this) { - var $r; - switch(_g) { - case "_sans": - $r = "sans-serif"; - break; - case "_serif": - $r = "serif"; - break; - case "_typewriter": - $r = "monospace"; - break; - default: - $r = "'" + format.font + "'"; - } - return $r; - }($this)); - return $r; - }(this)); - return font; -}; -openfl._internal.renderer.dom.DOMTextField.measureText = function(textField) { - var div = textField.__div; - if(div == null) { - div = window.document.createElement("div"); - div.innerHTML = new EReg("\n","g").replace(textField.__text,"
"); - div.style.setProperty("font",openfl._internal.renderer.dom.DOMTextField.getFont(textField.__textFormat),null); - div.style.setProperty("pointer-events","none",null); - div.style.position = "absolute"; - div.style.top = "110%"; - window.document.body.appendChild(div); - } - textField.__measuredWidth = div.clientWidth; - if(textField.__div == null) div.style.width = Std.string(textField.__width - 4) + "px"; - textField.__measuredHeight = div.clientHeight; - if(textField.__div == null) window.document.body.removeChild(div); -}; -openfl._internal.renderer.dom.DOMTextField.render = function(textField,renderSession) { - if(textField.stage != null && textField.__worldVisible && textField.__renderable) { - if(textField.__dirty || textField.__div == null) { - if(textField.__text != "" || textField.background || textField.border) { - if(textField.__div == null) { - textField.__div = window.document.createElement("div"); - openfl._internal.renderer.dom.DOMRenderer.initializeElement(textField,textField.__div,renderSession); - textField.__style.setProperty("cursor","inherit",null); - } - var style = textField.__style; - textField.__div.innerHTML = textField.__text; - if(textField.background) style.setProperty("background-color","#" + StringTools.hex(textField.backgroundColor,6),null); else style.removeProperty("background-color"); - if(textField.border) style.setProperty("border","solid 1px #" + StringTools.hex(textField.borderColor,6),null); else style.removeProperty("border"); - style.setProperty("font",openfl._internal.renderer.dom.DOMTextField.getFont(textField.__textFormat),null); - style.setProperty("color","#" + StringTools.hex(textField.__textFormat.color,6),null); - if(textField.autoSize != openfl.text.TextFieldAutoSize.NONE) style.setProperty("width","auto",null); else style.setProperty("width",textField.__width + "px",null); - style.setProperty("height",textField.__height + "px",null); - var _g = textField.__textFormat.align; - switch(_g[1]) { - case 3: - style.setProperty("text-align","center",null); - break; - case 1: - style.setProperty("text-align","right",null); - break; - default: - style.setProperty("text-align","left",null); - } - textField.__dirty = false; - } else if(textField.__div != null) { - renderSession.element.removeChild(textField.__div); - textField.__div = null; - } - } - if(textField.__div != null) openfl._internal.renderer.dom.DOMRenderer.applyStyle(textField,renderSession,true,true,false); - } else if(textField.__div != null) { - renderSession.element.removeChild(textField.__div); - textField.__div = null; - textField.__style = null; - } -}; -openfl._internal.renderer.opengl = {}; -openfl._internal.renderer.opengl.GLBitmap = function() { }; -$hxClasses["openfl._internal.renderer.opengl.GLBitmap"] = openfl._internal.renderer.opengl.GLBitmap; -openfl._internal.renderer.opengl.GLBitmap.__name__ = ["openfl","_internal","renderer","opengl","GLBitmap"]; -openfl._internal.renderer.opengl.GLBitmap.render = function(bitmap,renderSession) { - if(!bitmap.__renderable || bitmap.__worldAlpha <= 0 || bitmap.bitmapData == null || !bitmap.bitmapData.__isValid) return; - renderSession.spriteBatch.renderBitmapData(bitmap.bitmapData,bitmap.smoothing,bitmap.__worldTransform,bitmap.__worldColorTransform,bitmap.__worldAlpha,bitmap.__blendMode,bitmap.pixelSnapping); -}; -openfl._internal.renderer.opengl.GLRenderer = function(width,height,gl,transparent,antialias,preserveDrawingBuffer) { - if(preserveDrawingBuffer == null) preserveDrawingBuffer = false; - if(antialias == null) antialias = false; - if(transparent == null) transparent = false; - if(height == null) height = 600; - if(width == null) width = 800; - this.vpHeight = 0; - this.vpWidth = 0; - this.vpY = 0; - this.vpX = 0; - openfl._internal.renderer.AbstractRenderer.call(this,width,height); - this.transparent = transparent; - this.preserveDrawingBuffer = preserveDrawingBuffer; - this.width = width; - this.height = height; - this.options = { alpha : transparent, antialias : antialias, premultipliedAlpha : transparent, stencil : true, preserveDrawingBuffer : preserveDrawingBuffer}; - this._glContextId = openfl._internal.renderer.opengl.GLRenderer.glContextId++; - this.gl = gl; - this.defaultFramebuffer = null; - openfl._internal.renderer.opengl.GLRenderer.glContexts[this._glContextId] = gl; - this.projectionMatrix = new openfl.geom.Matrix(); - this.projection = new openfl.geom.Point(); - this.projection.x = this.width / 2; - this.projection.y = -this.height / 2; - this.offset = new openfl.geom.Point(0,0); - this.resize(this.width,this.height); - this.contextLost = false; - this.shaderManager = new openfl._internal.renderer.opengl.utils.ShaderManager(gl); - this.spriteBatch = new openfl._internal.renderer.opengl.utils.SpriteBatch(gl); - this.filterManager = new openfl._internal.renderer.opengl.utils.FilterManager(gl,this.transparent); - this.stencilManager = new openfl._internal.renderer.opengl.utils.StencilManager(gl); - this.blendModeManager = new openfl._internal.renderer.opengl.utils.BlendModeManager(gl); - this.renderSession = new openfl._internal.renderer.RenderSession(); - this.renderSession.gl = this.gl; - this.renderSession.drawCount = 0; - this.renderSession.shaderManager = this.shaderManager; - this.renderSession.maskManager = this.maskManager; - this.renderSession.filterManager = this.filterManager; - this.renderSession.blendModeManager = this.blendModeManager; - this.renderSession.spriteBatch = this.spriteBatch; - this.renderSession.stencilManager = this.stencilManager; - this.renderSession.renderer = this; - this.renderSession.defaultFramebuffer = this.defaultFramebuffer; - this.renderSession.projectionMatrix = this.projectionMatrix; - this.maskManager = new openfl._internal.renderer.opengl.utils.GLMaskManager(this.renderSession); - this.renderSession.maskManager = this.maskManager; - this.shaderManager.setShader(this.shaderManager.defaultShader); - gl.disable(gl.DEPTH_TEST); - gl.disable(gl.CULL_FACE); - gl.enable(gl.BLEND); - gl.colorMask(true,true,true,this.transparent); -}; -$hxClasses["openfl._internal.renderer.opengl.GLRenderer"] = openfl._internal.renderer.opengl.GLRenderer; -openfl._internal.renderer.opengl.GLRenderer.__name__ = ["openfl","_internal","renderer","opengl","GLRenderer"]; -openfl._internal.renderer.opengl.GLRenderer.renderBitmap = function(shape,renderSession) { - if(!shape.__renderable || shape.__worldAlpha <= 0) return; - if(shape.__graphics == null || shape.__graphics.__bitmap == null) return; - var bounds = shape.getBounds(null); - var bitmap = shape.__graphics.__bitmap; - var local = new openfl.geom.Matrix(); - local.translate(shape.__graphics.__bounds.x,shape.__graphics.__bounds.y); - local = local.mult(shape.__worldTransform); - renderSession.spriteBatch.renderBitmapData(bitmap,true,local,shape.__worldColorTransform,shape.__worldAlpha,shape.__blendMode,openfl.display.PixelSnapping.ALWAYS); -}; -openfl._internal.renderer.opengl.GLRenderer.__super__ = openfl._internal.renderer.AbstractRenderer; -openfl._internal.renderer.opengl.GLRenderer.prototype = $extend(openfl._internal.renderer.AbstractRenderer.prototype,{ - destroy: function() { - openfl._internal.renderer.opengl.GLRenderer.glContexts[this._glContextId] = null; - this.projection = null; - this.offset = null; - this.shaderManager.destroy(); - this.spriteBatch.destroy(); - this.maskManager.destroy(); - this.filterManager.destroy(); - this.shaderManager = null; - this.spriteBatch = null; - this.maskManager = null; - this.filterManager = null; - this.gl = null; - this.renderSession = null; - } - ,setViewport: function(x,y,width,height) { - if(!(this.vpX == x && this.vpY == y && this.vpWidth == width && this.vpHeight == height)) { - this.vpX = x; - this.vpY = y; - this.vpWidth = width; - this.vpHeight = height; - this.gl.viewport(x,y,width,height); - this.setOrtho(x,y,width,height); - } - } - ,setOrtho: function(x,y,width,height) { - var o = this.projectionMatrix; - o.identity(); - o.a = 1 / width * 2; - o.d = -1 / height * 2; - o.tx = -1 - x * o.a; - o.ty = 1 - y * o.d; - } - ,handleContextLost: function(event) { - event.preventDefault(); - this.contextLost = true; - } - ,handleContextRestored: function() { - var gl = this.gl; - openfl._internal.renderer.opengl.GLRenderer.glContextId++; - this.shaderManager.setContext(gl); - this.spriteBatch.setContext(gl); - this.maskManager.setContext(gl); - this.filterManager.setContext(gl); - this.renderSession.gl = gl; - this.defaultFramebuffer = null; - gl.disable(gl.DEPTH_TEST); - gl.disable(gl.CULL_FACE); - gl.enable(gl.BLEND); - gl.colorMask(true,true,true,this.transparent); - this.setViewport(0,0,this.width,this.height); - this.contextLost = false; - } - ,render: function(stage) { - if(this.contextLost) return; - var gl = this.gl; - this.setViewport(0,0,this.width,this.height); - gl.bindFramebuffer(gl.FRAMEBUFFER,this.defaultFramebuffer); - if(this.transparent) gl.clearColor(0,0,0,0); else gl.clearColor(stage.__colorSplit[0],stage.__colorSplit[1],stage.__colorSplit[2],1); - gl.clear(gl.COLOR_BUFFER_BIT); - this.renderDisplayObject(stage,this.projection); - } - ,renderDisplayObject: function(displayObject,projection,buffer) { - this.renderSession.blendModeManager.setBlendMode(openfl.display.BlendMode.NORMAL); - this.renderSession.drawCount = 0; - this.renderSession.currentBlendMode = null; - this.spriteBatch.begin(this.renderSession); - this.filterManager.begin(this.renderSession,buffer); - displayObject.__renderGL(this.renderSession); - this.spriteBatch.finish(); - } - ,resize: function(width,height) { - this.width = width; - this.height = height; - openfl._internal.renderer.AbstractRenderer.prototype.resize.call(this,width,height); - this.setViewport(0,0,width,height); - this.projection.x = width / 2; - this.projection.y = -height / 2; - } - ,__class__: openfl._internal.renderer.opengl.GLRenderer -}); -openfl._internal.renderer.opengl.GLTextField = function() { }; -$hxClasses["openfl._internal.renderer.opengl.GLTextField"] = openfl._internal.renderer.opengl.GLTextField; -openfl._internal.renderer.opengl.GLTextField.__name__ = ["openfl","_internal","renderer","opengl","GLTextField"]; -openfl._internal.renderer.opengl.GLTextField.render = function(textField,renderSession) { - if(!textField.__renderable || textField.__worldAlpha <= 0) return; - openfl._internal.renderer.TextFieldGraphics.render(textField); - openfl._internal.renderer.opengl.utils.GraphicsRenderer.render(textField,renderSession); -}; -openfl._internal.renderer.opengl.shaders2 = {}; -openfl._internal.renderer.opengl.shaders2.Shader = function(gl) { - this.uniforms = new haxe.ds.StringMap(); - this.attributes = new haxe.ds.StringMap(); - this.ID = openfl._internal.renderer.opengl.shaders2.Shader.UID++; - this.gl = gl; - this.program = null; -}; -$hxClasses["openfl._internal.renderer.opengl.shaders2.Shader"] = openfl._internal.renderer.opengl.shaders2.Shader; -openfl._internal.renderer.opengl.shaders2.Shader.__name__ = ["openfl","_internal","renderer","opengl","shaders2","Shader"]; -openfl._internal.renderer.opengl.shaders2.Shader.compileProgram = function(gl,vertexSrc,fragmentSrc) { - var vertexShader = openfl._internal.renderer.opengl.shaders2.Shader.compileShader(gl,vertexSrc,gl.VERTEX_SHADER); - var fragmentShader = openfl._internal.renderer.opengl.shaders2.Shader.compileShader(gl,fragmentSrc,gl.FRAGMENT_SHADER); - var program = gl.createProgram(); - if(vertexShader != null && fragmentShader != null) { - gl.attachShader(program,vertexShader); - gl.attachShader(program,fragmentShader); - gl.linkProgram(program); - if(gl.getProgramParameter(program,gl.LINK_STATUS) == 0) haxe.Log.trace("Could not initialize shaders",{ fileName : "Shader.hx", lineNumber : 127, className : "openfl._internal.renderer.opengl.shaders2.Shader", methodName : "compileProgram"}); - } - return program; -}; -openfl._internal.renderer.opengl.shaders2.Shader.compileShader = function(gl,shaderSrc,type) { - var src = shaderSrc.join("\n"); - var shader = gl.createShader(type); - gl.shaderSource(shader,src); - gl.compileShader(shader); - if(gl.getShaderParameter(shader,gl.COMPILE_STATUS) == 0) { - haxe.Log.trace(gl.getShaderInfoLog(shader),{ fileName : "Shader.hx", lineNumber : 141, className : "openfl._internal.renderer.opengl.shaders2.Shader", methodName : "compileShader"}); - return null; - } - return shader; -}; -openfl._internal.renderer.opengl.shaders2.Shader.prototype = { - init: function() { - this.program = openfl._internal.renderer.opengl.shaders2.Shader.compileProgram(this.gl,this.vertexSrc,this.fragmentSrc); - this.gl.useProgram(this.program); - } - ,destroy: function() { - if(this.program != null) this.gl.deleteProgram(this.program); - this.attributes = null; - } - ,getAttribLocation: function(attribute) { - if(this.program == null) throw "Shader isn't initialized"; - if(this.attributes.exists(attribute)) return this.attributes.get(attribute); else { - var location = this.gl.getAttribLocation(this.program,attribute); - this.attributes.set(attribute,location); - return location; - } - } - ,getUniformLocation: function(uniform) { - if(this.program == null) throw "Shader isn't initialized"; - if(this.uniforms.exists(uniform)) return this.uniforms.get(uniform); else { - var location = this.gl.getUniformLocation(this.program,uniform); - this.uniforms.set(uniform,location); - return location; - } - } - ,enableVertexAttribute: function(attribute,stride,offset) { - var location = this.getAttribLocation(attribute.name); - this.gl.enableVertexAttribArray(location); - this.gl.vertexAttribPointer(location,attribute.components,attribute.type,attribute.normalized,stride,offset * 4); - } - ,disableVertexAttribute: function(attribute,setDefault) { - if(setDefault == null) setDefault = true; - var location = this.getAttribLocation(attribute.name); - this.gl.disableVertexAttribArray(location); - if(setDefault) { - var _g = attribute.components; - switch(_g) { - case 1: - this.gl.vertexAttrib1fv(location,attribute.defaultValue.subarray(0,1)); - break; - case 2: - this.gl.vertexAttrib2fv(location,attribute.defaultValue.subarray(0,2)); - break; - case 3: - this.gl.vertexAttrib3fv(location,attribute.defaultValue.subarray(0,3)); - break; - default: - this.gl.vertexAttrib4fv(location,attribute.defaultValue.subarray(0,4)); - } - } - } - ,bindVertexArray: function(va) { - var offset = 0; - var stride = va.get_stride(); - var _g = 0; - var _g1 = va.attributes; - while(_g < _g1.length) { - var attribute = _g1[_g]; - ++_g; - if(attribute.enabled) { - this.enableVertexAttribute(attribute,stride,offset); - offset += Math.floor(attribute.components * attribute.getElementsBytes() / 4); - } else this.disableVertexAttribute(attribute,true); - } - } - ,unbindVertexArray: function(va) { - var _g = 0; - var _g1 = va.attributes; - while(_g < _g1.length) { - var attribute = _g1[_g]; - ++_g; - this.disableVertexAttribute(attribute,false); - } - } - ,__class__: openfl._internal.renderer.opengl.shaders2.Shader -}; -openfl._internal.renderer.opengl.shaders2.DefaultShader = function(gl) { - openfl._internal.renderer.opengl.shaders2.Shader.call(this,gl); - this.vertexSrc = ["attribute vec2 " + Std.string("aPosition") + ";","attribute vec2 " + Std.string("aTexCoord0") + ";","attribute vec4 " + Std.string("aColor") + ";","uniform mat3 " + Std.string("uProjectionMatrix") + ";","varying vec2 vTexCoord;","varying vec4 vColor;","void main(void) {"," gl_Position = vec4((" + Std.string("uProjectionMatrix") + " * vec3(" + Std.string("aPosition") + ", 1.0)).xy, 0.0, 1.0);"," vTexCoord = " + Std.string("aTexCoord0") + ";"," vColor = " + Std.string("aColor") + ";","}"]; - this.fragmentSrc = ["#ifdef GL_ES","precision lowp float;","#endif","uniform sampler2D " + Std.string("uSampler0") + ";","uniform vec4 " + Std.string("uColorMultiplier") + ";","uniform vec4 " + Std.string("uColorOffset") + ";","varying vec2 vTexCoord;","varying vec4 vColor;","vec4 colorTransform(const vec4 color, const vec4 tint, const vec4 multiplier, const vec4 offset) {"," vec4 unmultiply = vec4(color.rgb / color.a, color.a);"," vec4 result = unmultiply * tint * multiplier;"," result = result + offset;"," result = clamp(result, 0., 1.);"," result = vec4(result.rgb * result.a, result.a);"," return result;","}","void main(void) {"," vec4 tc = texture2D(" + Std.string("uSampler0") + ", vTexCoord);"," gl_FragColor = colorTransform(tc, vColor, " + Std.string("uColorMultiplier") + ", " + Std.string("uColorOffset") + ");","}"]; - this.init(); -}; -$hxClasses["openfl._internal.renderer.opengl.shaders2.DefaultShader"] = openfl._internal.renderer.opengl.shaders2.DefaultShader; -openfl._internal.renderer.opengl.shaders2.DefaultShader.__name__ = ["openfl","_internal","renderer","opengl","shaders2","DefaultShader"]; -openfl._internal.renderer.opengl.shaders2.DefaultShader.__super__ = openfl._internal.renderer.opengl.shaders2.Shader; -openfl._internal.renderer.opengl.shaders2.DefaultShader.prototype = $extend(openfl._internal.renderer.opengl.shaders2.Shader.prototype,{ - init: function() { - openfl._internal.renderer.opengl.shaders2.Shader.prototype.init.call(this); - this.getAttribLocation("aPosition"); - this.getAttribLocation("aTexCoord0"); - this.getAttribLocation("aColor"); - this.getUniformLocation("uProjectionMatrix"); - this.getUniformLocation("uSampler0"); - this.getUniformLocation("uColorMultiplier"); - this.getUniformLocation("uColorOffset"); - } - ,__class__: openfl._internal.renderer.opengl.shaders2.DefaultShader -}); -openfl._internal.renderer.opengl.shaders2._DefaultShader = {}; -openfl._internal.renderer.opengl.shaders2._DefaultShader.Attrib_Impl_ = function() { }; -$hxClasses["openfl._internal.renderer.opengl.shaders2._DefaultShader.Attrib_Impl_"] = openfl._internal.renderer.opengl.shaders2._DefaultShader.Attrib_Impl_; -openfl._internal.renderer.opengl.shaders2._DefaultShader.Attrib_Impl_.__name__ = ["openfl","_internal","renderer","opengl","shaders2","_DefaultShader","Attrib_Impl_"]; -openfl._internal.renderer.opengl.shaders2._DefaultShader.Uniform_Impl_ = function() { }; -$hxClasses["openfl._internal.renderer.opengl.shaders2._DefaultShader.Uniform_Impl_"] = openfl._internal.renderer.opengl.shaders2._DefaultShader.Uniform_Impl_; -openfl._internal.renderer.opengl.shaders2._DefaultShader.Uniform_Impl_.__name__ = ["openfl","_internal","renderer","opengl","shaders2","_DefaultShader","Uniform_Impl_"]; -openfl._internal.renderer.opengl.shaders2.DrawTrianglesShader = function(gl) { - openfl._internal.renderer.opengl.shaders2.Shader.call(this,gl); - this.vertexSrc = ["attribute vec2 " + Std.string("aPosition") + ";","attribute vec2 " + Std.string("aTexCoord0") + ";","attribute vec4 " + Std.string("aColor") + ";","uniform mat3 " + Std.string("uProjectionMatrix") + ";","varying vec2 vTexCoord;","varying vec4 vColor;","void main(void) {"," gl_Position = vec4((" + Std.string("uProjectionMatrix") + " * vec3(" + Std.string("aPosition") + ", 1.0)).xy, 0.0, 1.0);"," vTexCoord = " + Std.string("aTexCoord0") + ";"," vColor = " + Std.string("aColor") + ".bgra;","}"]; - this.fragmentSrc = ["#ifdef GL_ES","precision lowp float;","#endif","uniform sampler2D " + Std.string("uSampler0") + ";","uniform vec3 " + Std.string("uColor") + ";","uniform bool " + Std.string("uUseTexture") + ";","uniform float " + Std.string("uAlpha") + ";","uniform vec4 " + Std.string("uColorMultiplier") + ";","uniform vec4 " + Std.string("uColorOffset") + ";","varying vec2 vTexCoord;","varying vec4 vColor;","vec4 tmp;","vec4 colorTransform(const vec4 color, const vec4 tint, const vec4 multiplier, const vec4 offset) {"," vec4 unmultiply = vec4(color.rgb / color.a, color.a);"," vec4 result = unmultiply * tint * multiplier;"," result = result + offset;"," result = clamp(result, 0., 1.);"," result = vec4(result.rgb * result.a, result.a);"," return result;","}","void main(void) {"," if(" + Std.string("uUseTexture") + ") {"," tmp = texture2D(" + Std.string("uSampler0") + ", vTexCoord);"," } else {"," tmp = vec4(" + Std.string("uColor") + ", 1.);"," }"," gl_FragColor = colorTransform(tmp, vColor, " + Std.string("uColorMultiplier") + ", " + Std.string("uColorOffset") + ");","}"]; - this.init(); -}; -$hxClasses["openfl._internal.renderer.opengl.shaders2.DrawTrianglesShader"] = openfl._internal.renderer.opengl.shaders2.DrawTrianglesShader; -openfl._internal.renderer.opengl.shaders2.DrawTrianglesShader.__name__ = ["openfl","_internal","renderer","opengl","shaders2","DrawTrianglesShader"]; -openfl._internal.renderer.opengl.shaders2.DrawTrianglesShader.__super__ = openfl._internal.renderer.opengl.shaders2.Shader; -openfl._internal.renderer.opengl.shaders2.DrawTrianglesShader.prototype = $extend(openfl._internal.renderer.opengl.shaders2.Shader.prototype,{ - init: function() { - openfl._internal.renderer.opengl.shaders2.Shader.prototype.init.call(this); - this.getAttribLocation("aPosition"); - this.getAttribLocation("aTexCoord0"); - this.getAttribLocation("aColor"); - this.getUniformLocation("uSampler0"); - this.getUniformLocation("uProjectionMatrix"); - this.getUniformLocation("uColor"); - this.getUniformLocation("uAlpha"); - this.getUniformLocation("uUseTexture"); - this.getUniformLocation("uColorMultiplier"); - this.getUniformLocation("uColorOffset"); - } - ,__class__: openfl._internal.renderer.opengl.shaders2.DrawTrianglesShader -}); -openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader = {}; -openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader.Attrib_Impl_ = function() { }; -$hxClasses["openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader.Attrib_Impl_"] = openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader.Attrib_Impl_; -openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader.Attrib_Impl_.__name__ = ["openfl","_internal","renderer","opengl","shaders2","_DrawTrianglesShader","Attrib_Impl_"]; -openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader.Uniform_Impl_ = function() { }; -$hxClasses["openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader.Uniform_Impl_"] = openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader.Uniform_Impl_; -openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader.Uniform_Impl_.__name__ = ["openfl","_internal","renderer","opengl","shaders2","_DrawTrianglesShader","Uniform_Impl_"]; -openfl._internal.renderer.opengl.shaders2.FillShader = function(gl) { - openfl._internal.renderer.opengl.shaders2.Shader.call(this,gl); - this.vertexSrc = ["attribute vec2 " + Std.string("aPosition") + ";","uniform mat3 " + Std.string("uTranslationMatrix") + ";","uniform mat3 " + Std.string("uProjectionMatrix") + ";","uniform vec4 " + Std.string("uColor") + ";","uniform float " + Std.string("uAlpha") + ";","uniform vec4 " + Std.string("uColorMultiplier") + ";","uniform vec4 " + Std.string("uColorOffset") + ";","varying vec4 vColor;","vec4 colorTransform(const vec4 color, const float alpha, const vec4 multiplier, const vec4 offset) {"," vec4 result = color * multiplier;"," result.a *= alpha;"," result = result + offset;"," result = clamp(result, 0., 1.);"," result = vec4(result.rgb * result.a, result.a);"," return result;","}","void main(void) {"," gl_Position = vec4((" + Std.string("uProjectionMatrix") + " * " + Std.string("uTranslationMatrix") + " * vec3(" + Std.string("aPosition") + ", 1.0)).xy, 0.0, 1.0);"," vColor = colorTransform(" + Std.string("uColor") + ", " + Std.string("uAlpha") + ", " + Std.string("uColorMultiplier") + ", " + Std.string("uColorOffset") + ");","}"]; - this.fragmentSrc = ["#ifdef GL_ES","precision lowp float;","#endif","varying vec4 vColor;","void main(void) {"," gl_FragColor = vColor;","}"]; - this.init(); -}; -$hxClasses["openfl._internal.renderer.opengl.shaders2.FillShader"] = openfl._internal.renderer.opengl.shaders2.FillShader; -openfl._internal.renderer.opengl.shaders2.FillShader.__name__ = ["openfl","_internal","renderer","opengl","shaders2","FillShader"]; -openfl._internal.renderer.opengl.shaders2.FillShader.__super__ = openfl._internal.renderer.opengl.shaders2.Shader; -openfl._internal.renderer.opengl.shaders2.FillShader.prototype = $extend(openfl._internal.renderer.opengl.shaders2.Shader.prototype,{ - init: function() { - openfl._internal.renderer.opengl.shaders2.Shader.prototype.init.call(this); - this.getAttribLocation("aPosition"); - this.getUniformLocation("uTranslationMatrix"); - this.getUniformLocation("uProjectionMatrix"); - this.getUniformLocation("uColor"); - this.getUniformLocation("uColorMultiplier"); - this.getUniformLocation("uColorOffset"); - } - ,__class__: openfl._internal.renderer.opengl.shaders2.FillShader -}); -openfl._internal.renderer.opengl.shaders2._FillShader = {}; -openfl._internal.renderer.opengl.shaders2._FillShader.Attrib_Impl_ = function() { }; -$hxClasses["openfl._internal.renderer.opengl.shaders2._FillShader.Attrib_Impl_"] = openfl._internal.renderer.opengl.shaders2._FillShader.Attrib_Impl_; -openfl._internal.renderer.opengl.shaders2._FillShader.Attrib_Impl_.__name__ = ["openfl","_internal","renderer","opengl","shaders2","_FillShader","Attrib_Impl_"]; -openfl._internal.renderer.opengl.shaders2._FillShader.Uniform_Impl_ = function() { }; -$hxClasses["openfl._internal.renderer.opengl.shaders2._FillShader.Uniform_Impl_"] = openfl._internal.renderer.opengl.shaders2._FillShader.Uniform_Impl_; -openfl._internal.renderer.opengl.shaders2._FillShader.Uniform_Impl_.__name__ = ["openfl","_internal","renderer","opengl","shaders2","_FillShader","Uniform_Impl_"]; -openfl._internal.renderer.opengl.shaders2.PatternFillShader = function(gl) { - openfl._internal.renderer.opengl.shaders2.Shader.call(this,gl); - this.vertexSrc = ["attribute vec2 " + Std.string("aPosition") + ";","uniform mat3 " + Std.string("uTranslationMatrix") + ";","uniform mat3 " + Std.string("uProjectionMatrix") + ";","uniform mat3 " + Std.string("uPatternMatrix") + ";","varying vec2 vPosition;","void main(void) {"," gl_Position = vec4((" + Std.string("uProjectionMatrix") + " * " + Std.string("uTranslationMatrix") + " * vec3(" + Std.string("aPosition") + ", 1.0)).xy, 0.0, 1.0);"," vPosition = (" + Std.string("uPatternMatrix") + " * vec3(" + Std.string("aPosition") + ", 1)).xy;","}"]; - this.fragmentSrc = ["#ifdef GL_ES","precision lowp float;","#endif","uniform float " + Std.string("uAlpha") + ";","uniform vec2 " + Std.string("uPatternTL") + ";","uniform vec2 " + Std.string("uPatternBR") + ";","uniform sampler2D " + Std.string("uSampler0") + ";","uniform vec4 " + Std.string("uColorMultiplier") + ";","uniform vec4 " + Std.string("uColorOffset") + ";","varying vec2 vPosition;","vec4 colorTransform(const vec4 color, const float alpha, const vec4 multiplier, const vec4 offset) {"," vec4 unmultiply = vec4(color.rgb / color.a, color.a);"," vec4 result = unmultiply * multiplier;"," result.a *= alpha;"," result = result + offset;"," result = clamp(result, 0., 1.);"," result = vec4(result.rgb * result.a, result.a);"," return result;","}","void main(void) {"," vec2 pos = mix(" + Std.string("uPatternTL") + ", " + Std.string("uPatternBR") + ", vPosition);"," vec4 tcol = texture2D(" + Std.string("uSampler0") + ", pos);"," gl_FragColor = colorTransform(tcol, " + Std.string("uAlpha") + ", " + Std.string("uColorMultiplier") + ", " + Std.string("uColorOffset") + ");","}"]; - this.init(); -}; -$hxClasses["openfl._internal.renderer.opengl.shaders2.PatternFillShader"] = openfl._internal.renderer.opengl.shaders2.PatternFillShader; -openfl._internal.renderer.opengl.shaders2.PatternFillShader.__name__ = ["openfl","_internal","renderer","opengl","shaders2","PatternFillShader"]; -openfl._internal.renderer.opengl.shaders2.PatternFillShader.__super__ = openfl._internal.renderer.opengl.shaders2.Shader; -openfl._internal.renderer.opengl.shaders2.PatternFillShader.prototype = $extend(openfl._internal.renderer.opengl.shaders2.Shader.prototype,{ - init: function() { - openfl._internal.renderer.opengl.shaders2.Shader.prototype.init.call(this); - this.getAttribLocation("aPosition"); - this.getUniformLocation("uTranslationMatrix"); - this.getUniformLocation("uPatternMatrix"); - this.getUniformLocation("uProjectionMatrix"); - this.getUniformLocation("uSampler0"); - this.getUniformLocation("uPatternTL"); - this.getUniformLocation("uPatternBR"); - this.getUniformLocation("uAlpha"); - this.getUniformLocation("uColorMultiplier"); - this.getUniformLocation("uColorOffset"); - } - ,__class__: openfl._internal.renderer.opengl.shaders2.PatternFillShader -}); -openfl._internal.renderer.opengl.shaders2._PatternFillShader = {}; -openfl._internal.renderer.opengl.shaders2._PatternFillShader.Attrib_Impl_ = function() { }; -$hxClasses["openfl._internal.renderer.opengl.shaders2._PatternFillShader.Attrib_Impl_"] = openfl._internal.renderer.opengl.shaders2._PatternFillShader.Attrib_Impl_; -openfl._internal.renderer.opengl.shaders2._PatternFillShader.Attrib_Impl_.__name__ = ["openfl","_internal","renderer","opengl","shaders2","_PatternFillShader","Attrib_Impl_"]; -openfl._internal.renderer.opengl.shaders2._PatternFillShader.Uniform_Impl_ = function() { }; -$hxClasses["openfl._internal.renderer.opengl.shaders2._PatternFillShader.Uniform_Impl_"] = openfl._internal.renderer.opengl.shaders2._PatternFillShader.Uniform_Impl_; -openfl._internal.renderer.opengl.shaders2._PatternFillShader.Uniform_Impl_.__name__ = ["openfl","_internal","renderer","opengl","shaders2","_PatternFillShader","Uniform_Impl_"]; -openfl._internal.renderer.opengl.shaders2.PrimitiveShader = function(gl) { - openfl._internal.renderer.opengl.shaders2.Shader.call(this,gl); - this.vertexSrc = ["attribute vec2 " + Std.string("aPosition") + ";","attribute vec4 " + Std.string("aColor") + ";","uniform mat3 " + Std.string("uTranslationMatrix") + ";","uniform mat3 " + Std.string("uProjectionMatrix") + ";","uniform vec4 " + Std.string("uColorMultiplier") + ";","uniform vec4 " + Std.string("uColorOffset") + ";","uniform float " + Std.string("uAlpha") + ";","varying vec4 vColor;","vec4 colorTransform(const vec4 color, const float alpha, const vec4 multiplier, const vec4 offset) {"," vec4 result = color * multiplier;"," result.a *= alpha;"," result = result + offset;"," result = clamp(result, 0., 1.);"," result = vec4(result.rgb * result.a, result.a);"," return result;","}","void main(void) {"," gl_Position = vec4((" + Std.string("uProjectionMatrix") + " * " + Std.string("uTranslationMatrix") + " * vec3(" + Std.string("aPosition") + ", 1.0)).xy, 0.0, 1.0);"," vColor = colorTransform(" + Std.string("aColor") + ", " + Std.string("uAlpha") + ", " + Std.string("uColorMultiplier") + ", " + Std.string("uColorOffset") + ");","}"]; - this.fragmentSrc = ["#ifdef GL_ES","precision lowp float;","#endif","varying vec4 vColor;","void main(void) {"," gl_FragColor = vColor;","}"]; - this.init(); -}; -$hxClasses["openfl._internal.renderer.opengl.shaders2.PrimitiveShader"] = openfl._internal.renderer.opengl.shaders2.PrimitiveShader; -openfl._internal.renderer.opengl.shaders2.PrimitiveShader.__name__ = ["openfl","_internal","renderer","opengl","shaders2","PrimitiveShader"]; -openfl._internal.renderer.opengl.shaders2.PrimitiveShader.__super__ = openfl._internal.renderer.opengl.shaders2.Shader; -openfl._internal.renderer.opengl.shaders2.PrimitiveShader.prototype = $extend(openfl._internal.renderer.opengl.shaders2.Shader.prototype,{ - init: function() { - openfl._internal.renderer.opengl.shaders2.Shader.prototype.init.call(this); - this.getAttribLocation("aPosition"); - this.getAttribLocation("aColor"); - this.getUniformLocation("uTranslationMatrix"); - this.getUniformLocation("uProjectionMatrix"); - this.getUniformLocation("uAlpha"); - this.getUniformLocation("uColorMultiplier"); - this.getUniformLocation("uColorOffset"); - } - ,__class__: openfl._internal.renderer.opengl.shaders2.PrimitiveShader -}); -openfl._internal.renderer.opengl.shaders2._PrimitiveShader = {}; -openfl._internal.renderer.opengl.shaders2._PrimitiveShader.Attrib_Impl_ = function() { }; -$hxClasses["openfl._internal.renderer.opengl.shaders2._PrimitiveShader.Attrib_Impl_"] = openfl._internal.renderer.opengl.shaders2._PrimitiveShader.Attrib_Impl_; -openfl._internal.renderer.opengl.shaders2._PrimitiveShader.Attrib_Impl_.__name__ = ["openfl","_internal","renderer","opengl","shaders2","_PrimitiveShader","Attrib_Impl_"]; -openfl._internal.renderer.opengl.shaders2._PrimitiveShader.Uniform_Impl_ = function() { }; -$hxClasses["openfl._internal.renderer.opengl.shaders2._PrimitiveShader.Uniform_Impl_"] = openfl._internal.renderer.opengl.shaders2._PrimitiveShader.Uniform_Impl_; -openfl._internal.renderer.opengl.shaders2._PrimitiveShader.Uniform_Impl_.__name__ = ["openfl","_internal","renderer","opengl","shaders2","_PrimitiveShader","Uniform_Impl_"]; -openfl._internal.renderer.opengl.utils = {}; -openfl._internal.renderer.opengl.utils.BlendModeManager = function(gl) { - this.gl = gl; - this.currentBlendMode = null; - if(openfl._internal.renderer.opengl.utils.BlendModeManager.glBlendModes == null) { - openfl._internal.renderer.opengl.utils.BlendModeManager.glBlendModes = new haxe.ds.EnumValueMap(); - openfl._internal.renderer.opengl.utils.BlendModeManager.glBlendModes.set(openfl.display.BlendMode.NORMAL,{ src : 1, dest : 771, func : 32774}); - openfl._internal.renderer.opengl.utils.BlendModeManager.glBlendModes.set(openfl.display.BlendMode.ADD,{ src : 1, dest : 1, func : 32774}); - openfl._internal.renderer.opengl.utils.BlendModeManager.glBlendModes.set(openfl.display.BlendMode.MULTIPLY,{ src : 774, dest : 771, func : 32774}); - openfl._internal.renderer.opengl.utils.BlendModeManager.glBlendModes.set(openfl.display.BlendMode.SCREEN,{ src : 1, dest : 769, func : 32774}); - openfl._internal.renderer.opengl.utils.BlendModeManager.glBlendModes.set(openfl.display.BlendMode.SUBTRACT,{ src : 1, dest : 1, func : 32779}); - openfl._internal.renderer.opengl.utils.BlendModeManager.glBlendModes.set(openfl.display.BlendMode.LAYER,{ src : 1, dest : 771, func : 32774}); - openfl._internal.renderer.opengl.utils.BlendModeManager.glBlendModes.set(openfl.display.BlendMode.DARKEN,{ src : 1, dest : 771, func : 32774}); - openfl._internal.renderer.opengl.utils.BlendModeManager.glBlendModes.set(openfl.display.BlendMode.LIGHTEN,{ src : 1, dest : 771, func : 32774}); - openfl._internal.renderer.opengl.utils.BlendModeManager.glBlendModes.set(openfl.display.BlendMode.ERASE,{ src : 1, dest : 771, func : 32774}); - openfl._internal.renderer.opengl.utils.BlendModeManager.glBlendModes.set(openfl.display.BlendMode.ALPHA,{ src : 1, dest : 771, func : 32774}); - openfl._internal.renderer.opengl.utils.BlendModeManager.glBlendModes.set(openfl.display.BlendMode.INVERT,{ src : 1, dest : 771, func : 32774}); - openfl._internal.renderer.opengl.utils.BlendModeManager.glBlendModes.set(openfl.display.BlendMode.DIFFERENCE,{ src : 1, dest : 771, func : 32774}); - openfl._internal.renderer.opengl.utils.BlendModeManager.glBlendModes.set(openfl.display.BlendMode.HARDLIGHT,{ src : 1, dest : 771, func : 32774}); - openfl._internal.renderer.opengl.utils.BlendModeManager.glBlendModes.set(openfl.display.BlendMode.OVERLAY,{ src : 1, dest : 771, func : 32774}); - } -}; -$hxClasses["openfl._internal.renderer.opengl.utils.BlendModeManager"] = openfl._internal.renderer.opengl.utils.BlendModeManager; -openfl._internal.renderer.opengl.utils.BlendModeManager.__name__ = ["openfl","_internal","renderer","opengl","utils","BlendModeManager"]; -openfl._internal.renderer.opengl.utils.BlendModeManager.prototype = { - destroy: function() { - this.gl = null; - } - ,setBlendMode: function(blendMode,force) { - if(force == null) force = false; - if(blendMode == null) { - blendMode = openfl.display.BlendMode.NORMAL; - force = true; - } - if(!force && this.currentBlendMode == blendMode) return false; - this.currentBlendMode = blendMode; - var glBlend = openfl._internal.renderer.opengl.utils.BlendModeManager.glBlendModes.get(this.currentBlendMode); - this.gl.blendEquation(glBlend.func); - this.gl.blendFunc(glBlend.src,glBlend.dest); - return true; - } - ,__class__: openfl._internal.renderer.opengl.utils.BlendModeManager -}; -openfl._internal.renderer.opengl.utils._BlendModeManager = {}; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendEquation_Impl_ = function() { }; -$hxClasses["openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendEquation_Impl_"] = openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendEquation_Impl_; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendEquation_Impl_.__name__ = ["openfl","_internal","renderer","opengl","utils","_BlendModeManager","GLBlendEquation_Impl_"]; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_ = function() { }; -$hxClasses["openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_"] = openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_.__name__ = ["openfl","_internal","renderer","opengl","utils","_BlendModeManager","GLBlendFunction_Impl_"]; -openfl._internal.renderer.opengl.utils.DrawPath = function() { - this.type = openfl._internal.renderer.opengl.utils.GraphicType.Polygon; - this.points = []; - this.winding = 0; - this.isRemovable = true; - this.fillIndex = 0; - this.line = new openfl._internal.renderer.opengl.utils.LineStyle(); - this.fill = openfl._internal.renderer.opengl.utils.FillType.None; -}; -$hxClasses["openfl._internal.renderer.opengl.utils.DrawPath"] = openfl._internal.renderer.opengl.utils.DrawPath; -openfl._internal.renderer.opengl.utils.DrawPath.__name__ = ["openfl","_internal","renderer","opengl","utils","DrawPath"]; -openfl._internal.renderer.opengl.utils.DrawPath.getStack = function(graphics,gl) { - return openfl._internal.renderer.opengl.utils.PathBuiler.build(graphics,gl); -}; -openfl._internal.renderer.opengl.utils.DrawPath.prototype = { - update: function(line,fill,fillIndex,winding) { - this.updateLine(line); - this.fill = fill; - this.fillIndex = fillIndex; - this.winding = winding; - } - ,updateLine: function(line) { - this.line.width = line.width; - this.line.color = line.color; - if(line.alpha == null) this.line.alpha = 1; else this.line.alpha = line.alpha; - if(line.scaleMode == null) this.line.scaleMode = openfl.display.LineScaleMode.NORMAL; else this.line.scaleMode = line.scaleMode; - if(line.caps == null) this.line.caps = openfl.display.CapsStyle.ROUND; else this.line.caps = line.caps; - if(line.joints == null) this.line.joints = openfl.display.JointStyle.ROUND; else this.line.joints = line.joints; - this.line.miterLimit = line.miterLimit; - } - ,__class__: openfl._internal.renderer.opengl.utils.DrawPath -}; -openfl._internal.renderer.opengl.utils.PathBuiler = function() { }; -$hxClasses["openfl._internal.renderer.opengl.utils.PathBuiler"] = openfl._internal.renderer.opengl.utils.PathBuiler; -openfl._internal.renderer.opengl.utils.PathBuiler.__name__ = ["openfl","_internal","renderer","opengl","utils","PathBuiler"]; -openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath = null; -openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths = null; -openfl._internal.renderer.opengl.utils.PathBuiler.__line = null; -openfl._internal.renderer.opengl.utils.PathBuiler.__fill = null; -openfl._internal.renderer.opengl.utils.PathBuiler.closePath = function() { - var l = openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length; - if(l <= 0) return; - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.type == openfl._internal.renderer.opengl.utils.GraphicType.Polygon && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.fill != openfl._internal.renderer.opengl.utils.FillType.None) { - var sx = openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points[0]; - var sy = openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points[1]; - var ex = openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points[l - 2]; - var ey = openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points[l - 1]; - if(!(sx == ex && sy == ey)) openfl._internal.renderer.opengl.utils.PathBuiler.lineTo(sx,sy); - } -}; -openfl._internal.renderer.opengl.utils.PathBuiler.endFill = function() { - openfl._internal.renderer.opengl.utils.PathBuiler.__fill = openfl._internal.renderer.opengl.utils.FillType.None; - openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex++; -}; -openfl._internal.renderer.opengl.utils.PathBuiler.moveTo = function(x,y) { - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.pop(); else openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath = new openfl._internal.renderer.opengl.utils.DrawPath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.update(openfl._internal.renderer.opengl.utils.PathBuiler.__line,openfl._internal.renderer.opengl.utils.PathBuiler.__fill,openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex,openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.type = openfl._internal.renderer.opengl.utils.GraphicType.Polygon; - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.push(x); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.push(y); - openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.push(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath); -}; -openfl._internal.renderer.opengl.utils.PathBuiler.lineTo = function(x,y) { - var points = openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points; - var push_point = true; - if(points.length > 1) { - var lastX = points[points.length - 2]; - var lastY = points[points.length - 1]; - if(lastX == x && lastY == y) push_point = false; - } - if(push_point == true) { - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.push(x); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.push(y); - } -}; -openfl._internal.renderer.opengl.utils.PathBuiler.curveTo = function(cx,cy,x,y) { - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) { - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.pop(); else openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath = new openfl._internal.renderer.opengl.utils.DrawPath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.update(openfl._internal.renderer.opengl.utils.PathBuiler.__line,openfl._internal.renderer.opengl.utils.PathBuiler.__fill,openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex,openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.type = openfl._internal.renderer.opengl.utils.GraphicType.Polygon; - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.push(0); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.push(0); - openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.push(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath); - } - var xa = 0; - var ya = 0; - var n = 20; - var points = openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points; - var fromX = points[points.length - 2]; - var fromY = points[points.length - 1]; - var px = 0; - var py = 0; - var tmp = 0; - var _g1 = 1; - var _g = n + 1; - while(_g1 < _g) { - var i = _g1++; - tmp = i / n; - xa = fromX + (cx - fromX) * tmp; - ya = fromY + (cy - fromY) * tmp; - px = xa + (cx + (x - cx) * tmp - xa) * tmp; - py = ya + (cy + (y - cy) * tmp - ya) * tmp; - points.push(px); - points.push(py); - } -}; -openfl._internal.renderer.opengl.utils.PathBuiler.cubicCurveTo = function(cx,cy,cx2,cy2,x,y) { - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) { - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.pop(); else openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath = new openfl._internal.renderer.opengl.utils.DrawPath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.update(openfl._internal.renderer.opengl.utils.PathBuiler.__line,openfl._internal.renderer.opengl.utils.PathBuiler.__fill,openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex,openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.type = openfl._internal.renderer.opengl.utils.GraphicType.Polygon; - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.push(0); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.push(0); - openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.push(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath); - } - var n = 20; - var dt = 0; - var dt2 = 0; - var dt3 = 0; - var t2 = 0; - var t3 = 0; - var points = openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points; - var fromX = points[points.length - 2]; - var fromY = points[points.length - 1]; - var px = 0; - var py = 0; - var tmp = 0; - var _g1 = 1; - var _g = n + 1; - while(_g1 < _g) { - var i = _g1++; - tmp = i / n; - dt = 1 - tmp; - dt2 = dt * dt; - dt3 = dt2 * dt; - t2 = tmp * tmp; - t3 = t2 * tmp; - px = dt3 * fromX + 3 * dt2 * tmp * cx + 3 * dt * t2 * cx2 + t3 * x; - py = dt3 * fromY + 3 * dt2 * tmp * cy + 3 * dt * t2 * cy2 + t3 * y; - points.push(px); - points.push(py); - } -}; -openfl._internal.renderer.opengl.utils.PathBuiler.graphicDataPop = function() { - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.pop(); else openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); -}; -openfl._internal.renderer.opengl.utils.PathBuiler.build = function(graphics,gl) { - var glStack = null; - var bounds = graphics.__bounds; - openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths = new Array(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath = new openfl._internal.renderer.opengl.utils.DrawPath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__line = new openfl._internal.renderer.opengl.utils.LineStyle(); - openfl._internal.renderer.opengl.utils.PathBuiler.__fill = openfl._internal.renderer.opengl.utils.FillType.None; - openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex = 0; - glStack = graphics.__glStack[openfl._internal.renderer.opengl.GLRenderer.glContextId]; - if(glStack == null) glStack = graphics.__glStack[openfl._internal.renderer.opengl.GLRenderer.glContextId] = new openfl._internal.renderer.opengl.utils.GLStack(gl); - if(!graphics.__visible || graphics.__commands.length == 0 || bounds == null || bounds.width == 0 || bounds.height == 0) { - } else { - var _g = 0; - var _g1 = graphics.__commands; - while(_g < _g1.length) { - var command = _g1[_g]; - ++_g; - switch(command[1]) { - case 0: - var smooth = command[5]; - var repeat = command[4]; - var matrix = command[3]; - var bitmap = command[2]; - openfl._internal.renderer.opengl.utils.PathBuiler.endFill(); - if(bitmap != null) openfl._internal.renderer.opengl.utils.PathBuiler.__fill = openfl._internal.renderer.opengl.utils.FillType.Texture(bitmap,matrix,repeat,smooth); else openfl._internal.renderer.opengl.utils.PathBuiler.__fill = openfl._internal.renderer.opengl.utils.FillType.None; - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) { - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.pop(); else openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath = new openfl._internal.renderer.opengl.utils.DrawPath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.update(openfl._internal.renderer.opengl.utils.PathBuiler.__line,openfl._internal.renderer.opengl.utils.PathBuiler.__fill,openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex,openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points = []; - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.type = openfl._internal.renderer.opengl.utils.GraphicType.Polygon; - openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.push(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath); - } - break; - case 1: - var alpha = command[3]; - var rgb = command[2]; - openfl._internal.renderer.opengl.utils.PathBuiler.endFill(); - if(alpha > 0) openfl._internal.renderer.opengl.utils.PathBuiler.__fill = openfl._internal.renderer.opengl.utils.FillType.Color(rgb & 16777215,alpha); else openfl._internal.renderer.opengl.utils.PathBuiler.__fill = openfl._internal.renderer.opengl.utils.FillType.None; - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) { - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.pop(); else openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath = new openfl._internal.renderer.opengl.utils.DrawPath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.update(openfl._internal.renderer.opengl.utils.PathBuiler.__line,openfl._internal.renderer.opengl.utils.PathBuiler.__fill,openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex,openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points = []; - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.type = openfl._internal.renderer.opengl.utils.GraphicType.Polygon; - openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.push(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath); - } - break; - case 3: - var y = command[7]; - var x = command[6]; - var cy2 = command[5]; - var cx2 = command[4]; - var cy = command[3]; - var cx = command[2]; - openfl._internal.renderer.opengl.utils.PathBuiler.cubicCurveTo(cx,cy,cx2,cy2,x,y); - break; - case 4: - var y1 = command[5]; - var x1 = command[4]; - var cy1 = command[3]; - var cx1 = command[2]; - openfl._internal.renderer.opengl.utils.PathBuiler.curveTo(cx1,cy1,x1,y1); - break; - case 5: - var radius = command[4]; - var y2 = command[3]; - var x2 = command[2]; - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.pop(); else openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath = new openfl._internal.renderer.opengl.utils.DrawPath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.update(openfl._internal.renderer.opengl.utils.PathBuiler.__line,openfl._internal.renderer.opengl.utils.PathBuiler.__fill,openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex,openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.type = openfl._internal.renderer.opengl.utils.GraphicType.Circle; - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points = [x2,y2,radius]; - openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.push(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath); - break; - case 6: - var height = command[5]; - var width = command[4]; - var y3 = command[3]; - var x3 = command[2]; - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.pop(); else openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath = new openfl._internal.renderer.opengl.utils.DrawPath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.update(openfl._internal.renderer.opengl.utils.PathBuiler.__line,openfl._internal.renderer.opengl.utils.PathBuiler.__fill,openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex,openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.type = openfl._internal.renderer.opengl.utils.GraphicType.Ellipse; - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points = [x3,y3,width,height]; - openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.push(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath); - break; - case 7: - var height1 = command[5]; - var width1 = command[4]; - var y4 = command[3]; - var x4 = command[2]; - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.pop(); else openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath = new openfl._internal.renderer.opengl.utils.DrawPath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.update(openfl._internal.renderer.opengl.utils.PathBuiler.__line,openfl._internal.renderer.opengl.utils.PathBuiler.__fill,openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex,openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.type = openfl._internal.renderer.opengl.utils.GraphicType.Rectangle(false); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points = [x4,y4,width1,height1]; - openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.push(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath); - break; - case 8: - var ry = command[7]; - var rx = command[6]; - var height2 = command[5]; - var width2 = command[4]; - var y5 = command[3]; - var x5 = command[2]; - if(ry == -1) ry = rx; - rx *= 0.5; - ry *= 0.5; - if(rx > width2 / 2) rx = width2 / 2; - if(ry > height2 / 2) ry = height2 / 2; - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.pop(); else openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath = new openfl._internal.renderer.opengl.utils.DrawPath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.update(openfl._internal.renderer.opengl.utils.PathBuiler.__line,openfl._internal.renderer.opengl.utils.PathBuiler.__fill,openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex,openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.type = openfl._internal.renderer.opengl.utils.GraphicType.Rectangle(true); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points = [x5,y5,width2,height2,rx,ry]; - openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.push(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath); - break; - case 11: - openfl._internal.renderer.opengl.utils.PathBuiler.endFill(); - break; - case 12: - var miterLimit = command[9]; - var joints = command[8]; - var caps = command[7]; - var scaleMode = command[6]; - var pixelHinting = command[5]; - var alpha1 = command[4]; - var color = command[3]; - var thickness = command[2]; - openfl._internal.renderer.opengl.utils.PathBuiler.__line = new openfl._internal.renderer.opengl.utils.LineStyle(); - if(thickness == null || Math.isNaN(thickness) || thickness < 0) openfl._internal.renderer.opengl.utils.PathBuiler.__line.width = 0; else if(thickness == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__line.width = 1; else openfl._internal.renderer.opengl.utils.PathBuiler.__line.width = thickness; - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.pop(); else openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); - if(color == null) openfl._internal.renderer.opengl.utils.PathBuiler.__line.color = 0; else openfl._internal.renderer.opengl.utils.PathBuiler.__line.color = color; - if(alpha1 == null) openfl._internal.renderer.opengl.utils.PathBuiler.__line.alpha = 1; else openfl._internal.renderer.opengl.utils.PathBuiler.__line.alpha = alpha1; - openfl._internal.renderer.opengl.utils.PathBuiler.__line.scaleMode = scaleMode; - openfl._internal.renderer.opengl.utils.PathBuiler.__line.caps = caps; - openfl._internal.renderer.opengl.utils.PathBuiler.__line.joints = joints; - openfl._internal.renderer.opengl.utils.PathBuiler.__line.miterLimit = miterLimit; - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath = new openfl._internal.renderer.opengl.utils.DrawPath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.update(openfl._internal.renderer.opengl.utils.PathBuiler.__line,openfl._internal.renderer.opengl.utils.PathBuiler.__fill,openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex,openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points = []; - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.type = openfl._internal.renderer.opengl.utils.GraphicType.Polygon; - openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.push(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath); - break; - case 15: - var y6 = command[3]; - var x6 = command[2]; - openfl._internal.renderer.opengl.utils.PathBuiler.lineTo(x6,y6); - break; - case 16: - var y7 = command[3]; - var x7 = command[2]; - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.pop(); else openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath = new openfl._internal.renderer.opengl.utils.DrawPath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.update(openfl._internal.renderer.opengl.utils.PathBuiler.__line,openfl._internal.renderer.opengl.utils.PathBuiler.__fill,openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex,openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.type = openfl._internal.renderer.opengl.utils.GraphicType.Polygon; - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.push(x7); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.push(y7); - openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.push(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath); - break; - case 10: - var blendMode = command[7]; - var colors = command[6]; - var culling = command[5]; - var uvtData = command[4]; - var indices = command[3]; - var vertices = command[2]; - var isColor; - { - var _g2 = openfl._internal.renderer.opengl.utils.PathBuiler.__fill; - switch(_g2[1]) { - case 1: - isColor = true; - break; - default: - isColor = false; - } - } - if(isColor && uvtData != null) continue; - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.pop(); else openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath = new openfl._internal.renderer.opengl.utils.DrawPath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.update(openfl._internal.renderer.opengl.utils.PathBuiler.__line,openfl._internal.renderer.opengl.utils.PathBuiler.__fill,openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex,openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding); - if(uvtData == null) { - var this1; - this1 = new openfl.VectorData(); - var this2; - this2 = new Array(0); - this1.data = this2; - this1.length = 0; - this1.fixed = false; - uvtData = this1; - { - var _g21 = openfl._internal.renderer.opengl.utils.PathBuiler.__fill; - switch(_g21[1]) { - case 2: - var b = _g21[2]; - var _g4 = 0; - var _g3 = vertices.length / 2 | 0; - while(_g4 < _g3) { - var i = _g4++; - if(!uvtData.fixed) { - uvtData.length++; - if(uvtData.data.length < uvtData.length) { - var data; - var this3; - this3 = new Array(uvtData.data.length + 10); - data = this3; - haxe.ds._Vector.Vector_Impl_.blit(uvtData.data,0,data,0,uvtData.data.length); - uvtData.data = data; - } - uvtData.data[uvtData.length - 1] = vertices.data[i * 2] / b.width; - } - uvtData.length; - if(!uvtData.fixed) { - uvtData.length++; - if(uvtData.data.length < uvtData.length) { - var data1; - var this4; - this4 = new Array(uvtData.data.length + 10); - data1 = this4; - haxe.ds._Vector.Vector_Impl_.blit(uvtData.data,0,data1,0,uvtData.data.length); - uvtData.data = data1; - } - uvtData.data[uvtData.length - 1] = vertices.data[i * 2 + 1] / b.height; - } - uvtData.length; - } - break; - default: - } - } - } - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.type = openfl._internal.renderer.opengl.utils.GraphicType.DrawTriangles(vertices,indices,uvtData,culling,colors,blendMode); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable = false; - openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.push(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath); - break; - case 9: - var count = command[6]; - var flags = command[5]; - var smooth1 = command[4]; - var tileData = command[3]; - var sheet = command[2]; - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.pop(); else openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex++; - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath = new openfl._internal.renderer.opengl.utils.DrawPath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.update(openfl._internal.renderer.opengl.utils.PathBuiler.__line,openfl._internal.renderer.opengl.utils.PathBuiler.__fill,openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex,openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.type = openfl._internal.renderer.opengl.utils.GraphicType.DrawTiles(sheet,tileData,smooth1,flags,count); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable = false; - openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.push(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath); - break; - case 17: - var winding = command[4]; - var data2 = command[3]; - var commands = command[2]; - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.pop(); else openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); - switch(winding) { - case openfl.display.GraphicsPathWinding.EVEN_ODD: - openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding = 0; - break; - case openfl.display.GraphicsPathWinding.NON_ZERO: - openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding = 1; - break; - default: - openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding = 0; - } - var command1; - var cx3; - var cy3; - var cx21; - var cy21; - var ax; - var ay; - var idx = 0; - var _g31 = 0; - var _g22 = commands.length; - while(_g31 < _g22) { - var i1 = _g31++; - command1 = commands.data[i1]; - switch(command1) { - case 1: - ax = data2.data[idx]; - ay = data2.data[idx + 1]; - idx += 2; - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.pop(); else openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath = new openfl._internal.renderer.opengl.utils.DrawPath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.update(openfl._internal.renderer.opengl.utils.PathBuiler.__line,openfl._internal.renderer.opengl.utils.PathBuiler.__fill,openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex,openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.type = openfl._internal.renderer.opengl.utils.GraphicType.Polygon; - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.push(ax); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.push(ay); - openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.push(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath); - break; - case 4: - ax = data2.data[idx + 2]; - ay = data2.data[idx + 3]; - idx += 4; - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.pop(); else openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath = new openfl._internal.renderer.opengl.utils.DrawPath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.update(openfl._internal.renderer.opengl.utils.PathBuiler.__line,openfl._internal.renderer.opengl.utils.PathBuiler.__fill,openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex,openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.type = openfl._internal.renderer.opengl.utils.GraphicType.Polygon; - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.push(ax); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.push(ay); - openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.push(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath); - break; - case 2: - ax = data2.data[idx]; - ay = data2.data[idx + 1]; - idx += 2; - openfl._internal.renderer.opengl.utils.PathBuiler.lineTo(ax,ay); - break; - case 5: - ax = data2.data[idx + 2]; - ay = data2.data[idx + 3]; - idx += 4; - openfl._internal.renderer.opengl.utils.PathBuiler.lineTo(ax,ay); - break; - case 3: - cx3 = data2.data[idx]; - cy3 = data2.data[idx + 1]; - ax = data2.data[idx + 2]; - ay = data2.data[idx + 3]; - idx += 4; - openfl._internal.renderer.opengl.utils.PathBuiler.curveTo(cx3,cy3,ax,ay); - break; - case 6: - cx3 = data2.data[idx]; - cy3 = data2.data[idx + 1]; - cx21 = data2.data[idx + 2]; - cy21 = data2.data[idx + 3]; - ax = data2.data[idx + 4]; - ay = data2.data[idx + 5]; - idx += 6; - openfl._internal.renderer.opengl.utils.PathBuiler.cubicCurveTo(cx3,cy3,cx21,cy21,ax,ay); - break; - default: - } - } - openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding = 0; - break; - case 18: - var m = command[2]; - if(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable && openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.points.length == 0) openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.pop(); else openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath = new openfl._internal.renderer.opengl.utils.DrawPath(); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.update(openfl._internal.renderer.opengl.utils.PathBuiler.__line,openfl._internal.renderer.opengl.utils.PathBuiler.__fill,openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex,openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.type = openfl._internal.renderer.opengl.utils.GraphicType.OverrideMatrix(m); - openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath.isRemovable = false; - openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths.push(openfl._internal.renderer.opengl.utils.PathBuiler.__currentPath); - break; - default: - } - } - openfl._internal.renderer.opengl.utils.PathBuiler.closePath(); - } - graphics.__drawPaths = openfl._internal.renderer.opengl.utils.PathBuiler.__drawPaths; - return glStack; -}; -openfl._internal.renderer.opengl.utils.LineStyle = function() { - this.width = 0; - this.color = 0; - this.alpha = 1; - this.scaleMode = openfl.display.LineScaleMode.NORMAL; - this.caps = openfl.display.CapsStyle.ROUND; - this.joints = openfl.display.JointStyle.ROUND; - this.miterLimit = 3; -}; -$hxClasses["openfl._internal.renderer.opengl.utils.LineStyle"] = openfl._internal.renderer.opengl.utils.LineStyle; -openfl._internal.renderer.opengl.utils.LineStyle.__name__ = ["openfl","_internal","renderer","opengl","utils","LineStyle"]; -openfl._internal.renderer.opengl.utils.LineStyle.prototype = { - __class__: openfl._internal.renderer.opengl.utils.LineStyle -}; -openfl._internal.renderer.opengl.utils._DrawPath = {}; -openfl._internal.renderer.opengl.utils._DrawPath.WindingRule_Impl_ = function() { }; -$hxClasses["openfl._internal.renderer.opengl.utils._DrawPath.WindingRule_Impl_"] = openfl._internal.renderer.opengl.utils._DrawPath.WindingRule_Impl_; -openfl._internal.renderer.opengl.utils._DrawPath.WindingRule_Impl_.__name__ = ["openfl","_internal","renderer","opengl","utils","_DrawPath","WindingRule_Impl_"]; -openfl._internal.renderer.opengl.utils.FillType = $hxClasses["openfl._internal.renderer.opengl.utils.FillType"] = { __ename__ : true, __constructs__ : ["None","Color","Texture","Gradient"] }; -openfl._internal.renderer.opengl.utils.FillType.None = ["None",0]; -openfl._internal.renderer.opengl.utils.FillType.None.toString = $estr; -openfl._internal.renderer.opengl.utils.FillType.None.__enum__ = openfl._internal.renderer.opengl.utils.FillType; -openfl._internal.renderer.opengl.utils.FillType.Color = function(color,alpha) { var $x = ["Color",1,color,alpha]; $x.__enum__ = openfl._internal.renderer.opengl.utils.FillType; $x.toString = $estr; return $x; }; -openfl._internal.renderer.opengl.utils.FillType.Texture = function(bitmap,matrix,repeat,smooth) { var $x = ["Texture",2,bitmap,matrix,repeat,smooth]; $x.__enum__ = openfl._internal.renderer.opengl.utils.FillType; $x.toString = $estr; return $x; }; -openfl._internal.renderer.opengl.utils.FillType.Gradient = ["Gradient",3]; -openfl._internal.renderer.opengl.utils.FillType.Gradient.toString = $estr; -openfl._internal.renderer.opengl.utils.FillType.Gradient.__enum__ = openfl._internal.renderer.opengl.utils.FillType; -openfl._internal.renderer.opengl.utils.FilterManager = function(gl,transparent) { - this.transparent = transparent; - this.filterStack = []; - this.offsetX = 0; - this.offsetY = 0; - this.setContext(gl); -}; -$hxClasses["openfl._internal.renderer.opengl.utils.FilterManager"] = openfl._internal.renderer.opengl.utils.FilterManager; -openfl._internal.renderer.opengl.utils.FilterManager.__name__ = ["openfl","_internal","renderer","opengl","utils","FilterManager"]; -openfl._internal.renderer.opengl.utils.FilterManager.prototype = { - applyFilterPass: function(filter,filterArea,width,height) { - } - ,begin: function(renderSession,buffer) { - this.renderSession = renderSession; - this.defaultShader = renderSession.shaderManager.defaultShader; - this.width = 0; - this.height = 0; - this.buffer = buffer; - } - ,destroy: function() { - var gl = this.gl; - this.filterStack = null; - this.offsetX = 0; - this.offsetY = 0; - var _g = 0; - var _g1 = this.texturePool; - while(_g < _g1.length) { - var texture = _g1[_g]; - ++_g; - texture.destroy(); - } - this.texturePool = null; - gl.deleteBuffer(this.vertexBuffer); - gl.deleteBuffer(this.uvBuffer); - gl.deleteBuffer(this.colorBuffer); - gl.deleteBuffer(this.indexBuffer); - } - ,initShaderBuffers: function() { - var gl = this.gl; - this.vertexBuffer = gl.createBuffer(); - this.uvBuffer = gl.createBuffer(); - this.colorBuffer = gl.createBuffer(); - this.indexBuffer = gl.createBuffer(); - this.vertexArray = new Float32Array([0.0,0.0,1.0,0.0,0.0,1.0,1.0,1.0]); - gl.bindBuffer(gl.ARRAY_BUFFER,this.vertexBuffer); - gl.bufferData(gl.ARRAY_BUFFER,this.vertexArray,gl.STATIC_DRAW); - this.uvArray = new Float32Array([0.0,0.0,1.0,0.0,0.0,1.0,1.0,1.0]); - gl.bindBuffer(gl.ARRAY_BUFFER,this.uvBuffer); - gl.bufferData(gl.ARRAY_BUFFER,this.uvArray,gl.STATIC_DRAW); - this.colorArray = new Float32Array([1.0,16777215,1.0,16777215,1.0,16777215,1.0,16777215]); - gl.bindBuffer(gl.ARRAY_BUFFER,this.colorBuffer); - gl.bufferData(gl.ARRAY_BUFFER,this.colorArray,gl.STATIC_DRAW); - gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER,this.indexBuffer); - gl.bufferData(gl.ELEMENT_ARRAY_BUFFER,new Uint16Array([0,1,2,1,3,2]),gl.STATIC_DRAW); - } - ,popFilter: function() { - } - ,pushFilter: function(filterBlock) { - } - ,setContext: function(gl) { - this.gl = gl; - this.texturePool = []; - this.initShaderBuffers(); - } - ,__class__: openfl._internal.renderer.opengl.utils.FilterManager -}; -openfl._internal.renderer.opengl.utils.FilterTexture = function(gl,width,height,smoothing) { - if(smoothing == null) smoothing = true; - this.gl = gl; - this.frameBuffer = gl.createFramebuffer(); - this.texture = gl.createTexture(); - gl.bindTexture(gl.TEXTURE_2D,this.texture); - gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MAG_FILTER,smoothing?gl.LINEAR:gl.NEAREST); - gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MIN_FILTER,smoothing?gl.LINEAR:gl.NEAREST); - gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_S,gl.CLAMP_TO_EDGE); - gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_T,gl.CLAMP_TO_EDGE); - gl.bindFramebuffer(gl.FRAMEBUFFER,this.frameBuffer); - gl.framebufferTexture2D(gl.FRAMEBUFFER,gl.COLOR_ATTACHMENT0,gl.TEXTURE_2D,this.texture,0); - this.renderBuffer = gl.createRenderbuffer(); - gl.bindRenderbuffer(gl.RENDERBUFFER,this.renderBuffer); - gl.framebufferRenderbuffer(gl.FRAMEBUFFER,gl.DEPTH_STENCIL_ATTACHMENT,gl.RENDERBUFFER,this.renderBuffer); - this.resize(width,height); -}; -$hxClasses["openfl._internal.renderer.opengl.utils.FilterTexture"] = openfl._internal.renderer.opengl.utils.FilterTexture; -openfl._internal.renderer.opengl.utils.FilterTexture.__name__ = ["openfl","_internal","renderer","opengl","utils","FilterTexture"]; -openfl._internal.renderer.opengl.utils.FilterTexture.prototype = { - clear: function() { - this.gl.clearColor(0,0,0,0); - this.gl.clear(this.gl.COLOR_BUFFER_BIT); - } - ,destroy: function() { - this.gl.deleteFramebuffer(this.frameBuffer); - this.gl.deleteTexture(this.texture); - this.frameBuffer = null; - this.texture = null; - } - ,resize: function(width,height) { - if(this.width == width && this.height == height) return; - this.width = width; - this.height = height; - this.gl.bindTexture(this.gl.TEXTURE_2D,this.texture); - this.gl.texImage2D(this.gl.TEXTURE_2D,0,this.gl.RGBA,width,height,0,this.gl.RGBA,this.gl.UNSIGNED_BYTE,null); - this.gl.bindRenderbuffer(this.gl.RENDERBUFFER,this.renderBuffer); - this.gl.renderbufferStorage(this.gl.RENDERBUFFER,this.gl.DEPTH_STENCIL,width,height); - } - ,__class__: openfl._internal.renderer.opengl.utils.FilterTexture -}; -openfl._internal.renderer.opengl.utils.GLMaskManager = function(renderSession) { - openfl._internal.renderer.AbstractMaskManager.call(this,renderSession); - this.setContext(renderSession.gl); -}; -$hxClasses["openfl._internal.renderer.opengl.utils.GLMaskManager"] = openfl._internal.renderer.opengl.utils.GLMaskManager; -openfl._internal.renderer.opengl.utils.GLMaskManager.__name__ = ["openfl","_internal","renderer","opengl","utils","GLMaskManager"]; -openfl._internal.renderer.opengl.utils.GLMaskManager.__super__ = openfl._internal.renderer.AbstractMaskManager; -openfl._internal.renderer.opengl.utils.GLMaskManager.prototype = $extend(openfl._internal.renderer.AbstractMaskManager.prototype,{ - destroy: function() { - this.gl = null; - } - ,pushMask: function(mask) { - this.renderSession.stencilManager.pushMask(mask,this.renderSession); - } - ,popMask: function() { - this.renderSession.stencilManager.popMask(null,this.renderSession); - } - ,setContext: function(gl) { - if(this.renderSession != null) this.renderSession.gl = gl; - this.gl = gl; - } - ,__class__: openfl._internal.renderer.opengl.utils.GLMaskManager -}); -openfl._internal.renderer.opengl.utils.VertexAttribute = function(components,type,normalized,name,defaultValue) { - if(normalized == null) normalized = false; - this.enabled = true; - this.normalized = false; - this.components = components; - this.type = type; - this.normalized = normalized; - this.name = name; - if(defaultValue == null) this.defaultValue = new Float32Array(components); else this.defaultValue = defaultValue; -}; -$hxClasses["openfl._internal.renderer.opengl.utils.VertexAttribute"] = openfl._internal.renderer.opengl.utils.VertexAttribute; -openfl._internal.renderer.opengl.utils.VertexAttribute.__name__ = ["openfl","_internal","renderer","opengl","utils","VertexAttribute"]; -openfl._internal.renderer.opengl.utils.VertexAttribute.prototype = { - copy: function() { - return new openfl._internal.renderer.opengl.utils.VertexAttribute(this.components,this.type,this.normalized,this.name,this.defaultValue); - } - ,getElementsBytes: function() { - var _g = this.type; - switch(_g) { - case 5120:case 5121: - return 1; - case 5122:case 5123: - return 2; - default: - return 4; - } - } - ,get_elements: function() { - return Math.floor(this.components * this.getElementsBytes() / 4); - } - ,__class__: openfl._internal.renderer.opengl.utils.VertexAttribute - ,__properties__: {get_elements:"get_elements"} -}; -openfl.geom.Rectangle = function(x,y,width,height) { - if(height == null) height = 0; - if(width == null) width = 0; - if(y == null) y = 0; - if(x == null) x = 0; - this.x = x; - this.y = y; - this.width = width; - this.height = height; -}; -$hxClasses["openfl.geom.Rectangle"] = openfl.geom.Rectangle; -openfl.geom.Rectangle.__name__ = ["openfl","geom","Rectangle"]; -openfl.geom.Rectangle.prototype = { - clone: function() { - return new openfl.geom.Rectangle(this.x,this.y,this.width,this.height); - } - ,contains: function(x,y) { - return x >= this.x && y >= this.y && x < this.get_right() && y < this.get_bottom(); - } - ,containsPoint: function(point) { - return this.contains(point.x,point.y); - } - ,containsRect: function(rect) { - if(rect.width <= 0 || rect.height <= 0) return rect.x > this.x && rect.y > this.y && rect.get_right() < this.get_right() && rect.get_bottom() < this.get_bottom(); else return rect.x >= this.x && rect.y >= this.y && rect.get_right() <= this.get_right() && rect.get_bottom() <= this.get_bottom(); - } - ,copyFrom: function(sourceRect) { - this.x = sourceRect.x; - this.y = sourceRect.y; - this.width = sourceRect.width; - this.height = sourceRect.height; - } - ,equals: function(toCompare) { - return toCompare != null && this.x == toCompare.x && this.y == toCompare.y && this.width == toCompare.width && this.height == toCompare.height; - } - ,inflate: function(dx,dy) { - this.x -= dx; - this.width += dx * 2; - this.y -= dy; - this.height += dy * 2; - } - ,inflatePoint: function(point) { - this.inflate(point.x,point.y); - } - ,intersection: function(toIntersect) { - var x0; - if(this.x < toIntersect.x) x0 = toIntersect.x; else x0 = this.x; - var x1; - if(this.get_right() > toIntersect.get_right()) x1 = toIntersect.get_right(); else x1 = this.get_right(); - if(x1 <= x0) return new openfl.geom.Rectangle(); - var y0; - if(this.y < toIntersect.y) y0 = toIntersect.y; else y0 = this.y; - var y1; - if(this.get_bottom() > toIntersect.get_bottom()) y1 = toIntersect.get_bottom(); else y1 = this.get_bottom(); - if(y1 <= y0) return new openfl.geom.Rectangle(); - return new openfl.geom.Rectangle(x0,y0,x1 - x0,y1 - y0); - } - ,intersects: function(toIntersect) { - var x0; - if(this.x < toIntersect.x) x0 = toIntersect.x; else x0 = this.x; - var x1; - if(this.get_right() > toIntersect.get_right()) x1 = toIntersect.get_right(); else x1 = this.get_right(); - if(x1 <= x0) return false; - var y0; - if(this.y < toIntersect.y) y0 = toIntersect.y; else y0 = this.y; - var y1; - if(this.get_bottom() > toIntersect.get_bottom()) y1 = toIntersect.get_bottom(); else y1 = this.get_bottom(); - return y1 > y0; - } - ,isEmpty: function() { - return this.width <= 0 || this.height <= 0; - } - ,offset: function(dx,dy) { - this.x += dx; - this.y += dy; - } - ,offsetPoint: function(point) { - this.x += point.x; - this.y += point.y; - } - ,setEmpty: function() { - this.x = this.y = this.width = this.height = 0; - } - ,setTo: function(xa,ya,widtha,heighta) { - this.x = xa; - this.y = ya; - this.width = widtha; - this.height = heighta; - } - ,transform: function(m) { - var tx0 = m.a * this.x + m.c * this.y; - var tx1 = tx0; - var ty0 = m.b * this.x + m.d * this.y; - var ty1 = ty0; - var tx = m.a * (this.x + this.width) + m.c * this.y; - var ty = m.b * (this.x + this.width) + m.d * this.y; - if(tx < tx0) tx0 = tx; - if(ty < ty0) ty0 = ty; - if(tx > tx1) tx1 = tx; - if(ty > ty1) ty1 = ty; - tx = m.a * (this.x + this.width) + m.c * (this.y + this.height); - ty = m.b * (this.x + this.width) + m.d * (this.y + this.height); - if(tx < tx0) tx0 = tx; - if(ty < ty0) ty0 = ty; - if(tx > tx1) tx1 = tx; - if(ty > ty1) ty1 = ty; - tx = m.a * this.x + m.c * (this.y + this.height); - ty = m.b * this.x + m.d * (this.y + this.height); - if(tx < tx0) tx0 = tx; - if(ty < ty0) ty0 = ty; - if(tx > tx1) tx1 = tx; - if(ty > ty1) ty1 = ty; - return new openfl.geom.Rectangle(tx0 + m.tx,ty0 + m.ty,tx1 - tx0,ty1 - ty0); - } - ,union: function(toUnion) { - if(this.width == 0 || this.height == 0) return toUnion.clone(); else if(toUnion.width == 0 || toUnion.height == 0) return this.clone(); - var x0; - if(this.x > toUnion.x) x0 = toUnion.x; else x0 = this.x; - var x1; - if(this.get_right() < toUnion.get_right()) x1 = toUnion.get_right(); else x1 = this.get_right(); - var y0; - if(this.y > toUnion.y) y0 = toUnion.y; else y0 = this.y; - var y1; - if(this.get_bottom() < toUnion.get_bottom()) y1 = toUnion.get_bottom(); else y1 = this.get_bottom(); - return new openfl.geom.Rectangle(x0,y0,x1 - x0,y1 - y0); - } - ,__contract: function(x,y,width,height) { - if(this.width == 0 && this.height == 0) return; - var cacheRight = this.get_right(); - var cacheBottom = this.get_bottom(); - if(this.x < x) this.x = x; - if(this.y < y) this.y = y; - if(this.get_right() > x + width) this.width = x + width - this.x; - if(this.get_bottom() > y + height) this.height = y + height - this.y; - } - ,__expand: function(x,y,width,height) { - if(this.width == 0 && this.height == 0) { - this.x = x; - this.y = y; - this.width = width; - this.height = height; - return; - } - var cacheRight = this.get_right(); - var cacheBottom = this.get_bottom(); - if(this.x > x) { - this.x = x; - this.width = cacheRight - x; - } - if(this.y > y) { - this.y = y; - this.height = cacheBottom - y; - } - if(cacheRight < x + width) this.width = x + width - this.x; - if(cacheBottom < y + height) this.height = y + height - this.y; - } - ,__toLimeRectangle: function() { - return new lime.math.Rectangle(this.x,this.y,this.width,this.height); - } - ,get_bottom: function() { - return this.y + this.height; - } - ,set_bottom: function(b) { - this.height = b - this.y; - return b; - } - ,get_bottomRight: function() { - return new openfl.geom.Point(this.x + this.width,this.y + this.height); - } - ,set_bottomRight: function(p) { - this.width = p.x - this.x; - this.height = p.y - this.y; - return p.clone(); - } - ,get_left: function() { - return this.x; - } - ,set_left: function(l) { - this.width -= l - this.x; - this.x = l; - return l; - } - ,get_right: function() { - return this.x + this.width; - } - ,set_right: function(r) { - this.width = r - this.x; - return r; - } - ,get_size: function() { - return new openfl.geom.Point(this.width,this.height); - } - ,set_size: function(p) { - this.width = p.x; - this.height = p.y; - return p.clone(); - } - ,get_top: function() { - return this.y; - } - ,set_top: function(t) { - this.height -= t - this.y; - this.y = t; - return t; - } - ,get_topLeft: function() { - return new openfl.geom.Point(this.x,this.y); - } - ,set_topLeft: function(p) { - this.x = p.x; - this.y = p.y; - return p.clone(); - } - ,__class__: openfl.geom.Rectangle - ,__properties__: {set_topLeft:"set_topLeft",get_topLeft:"get_topLeft",set_top:"set_top",get_top:"get_top",set_size:"set_size",get_size:"get_size",set_right:"set_right",get_right:"get_right",set_left:"set_left",get_left:"get_left",set_bottomRight:"set_bottomRight",get_bottomRight:"get_bottomRight",set_bottom:"set_bottom",get_bottom:"get_bottom"} -}; -openfl.geom.Point = function(x,y) { - if(y == null) y = 0; - if(x == null) x = 0; - this.x = x; - this.y = y; -}; -$hxClasses["openfl.geom.Point"] = openfl.geom.Point; -openfl.geom.Point.__name__ = ["openfl","geom","Point"]; -openfl.geom.Point.distance = function(pt1,pt2) { - var dx = pt1.x - pt2.x; - var dy = pt1.y - pt2.y; - return Math.sqrt(dx * dx + dy * dy); -}; -openfl.geom.Point.interpolate = function(pt1,pt2,f) { - return new openfl.geom.Point(pt2.x + f * (pt1.x - pt2.x),pt2.y + f * (pt1.y - pt2.y)); -}; -openfl.geom.Point.polar = function(len,angle) { - return new openfl.geom.Point(len * Math.cos(angle),len * Math.sin(angle)); -}; -openfl.geom.Point.prototype = { - add: function(v) { - return new openfl.geom.Point(v.x + this.x,v.y + this.y); - } - ,clone: function() { - return new openfl.geom.Point(this.x,this.y); - } - ,copyFrom: function(sourcePoint) { - this.x = sourcePoint.x; - this.y = sourcePoint.y; - } - ,equals: function(toCompare) { - return toCompare != null && toCompare.x == this.x && toCompare.y == this.y; - } - ,normalize: function(thickness) { - if(this.x == 0 && this.y == 0) return; else { - var norm = thickness / Math.sqrt(this.x * this.x + this.y * this.y); - this.x *= norm; - this.y *= norm; - } - } - ,offset: function(dx,dy) { - this.x += dx; - this.y += dy; - } - ,setTo: function(xa,ya) { - this.x = xa; - this.y = ya; - } - ,subtract: function(v) { - return new openfl.geom.Point(this.x - v.x,this.y - v.y); - } - ,toString: function() { - return "(x=" + this.x + ", y=" + this.y + ")"; - } - ,__toLimeVector2: function() { - return new lime.math.Vector2(this.x,this.y); - } - ,get_length: function() { - return Math.sqrt(this.x * this.x + this.y * this.y); - } - ,__class__: openfl.geom.Point - ,__properties__: {get_length:"get_length"} -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer = function() { }; -$hxClasses["openfl._internal.renderer.opengl.utils.GraphicsRenderer"] = openfl._internal.renderer.opengl.utils.GraphicsRenderer; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.__name__ = ["openfl","_internal","renderer","opengl","utils","GraphicsRenderer"]; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.lastVertsBuffer = null; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.lastBucketMode = null; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.lastTexture = null; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.lastTextureRepeat = null; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.lastTextureSmooth = null; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.overrideMatrix = null; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.buildCircle = function(path,glStack,localCoords) { - if(localCoords == null) localCoords = false; - var rectData = path.points; - var x = rectData[0]; - var y = rectData[1]; - var width = rectData[2]; - var height; - if(rectData.length == 3) height = width; else height = rectData[3]; - if(path.type == openfl._internal.renderer.opengl.utils.GraphicType.Ellipse) { - width /= 2; - height /= 2; - x += width; - y += height; - } - if(localCoords) { - x -= openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.x; - y -= openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.y; - } - var totalSegs = 40; - var seg = Math.PI * 2 / totalSegs; - var bucket = openfl._internal.renderer.opengl.utils.GraphicsRenderer.prepareBucket(path,glStack); - var fill = bucket.getData(openfl._internal.renderer.opengl.utils.BucketDataType.Fill); - if(fill != null) { - var verts = fill.verts; - var indices = fill.indices; - var vertPos = verts.length / 2 | 0; - indices.push(vertPos); - var _g1 = 0; - var _g = totalSegs + 1; - while(_g1 < _g) { - var i = _g1++; - verts.push(x); - verts.push(y); - verts.push(x + Math.sin(seg * i) * width); - verts.push(y + Math.cos(seg * i) * height); - indices.push(vertPos++); - indices.push(vertPos++); - } - indices.push(vertPos - 1); - } - if(path.line.width > 0) { - var tempPoints = path.points; - path.points = []; - var _g11 = 0; - var _g2 = totalSegs + 1; - while(_g11 < _g2) { - var i1 = _g11++; - path.points.push(x + Math.sin(seg * i1) * width); - path.points.push(y + Math.cos(seg * i1) * height); - } - openfl._internal.renderer.opengl.utils.GraphicsRenderer.buildLine(path,bucket); - path.points = tempPoints; - } -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.buildComplexPoly = function(path,glStack,localCoords) { - if(localCoords == null) localCoords = false; - var bucket = null; - if(path.points.length >= 6) { - var points = path.points.slice(); - if(localCoords) { - var _g1 = 0; - var _g = points.length / 2 | 0; - while(_g1 < _g) { - var i = _g1++; - points[i * 2] -= openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.x; - points[i * 2 + 1] -= openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.y; - } - } - bucket = openfl._internal.renderer.opengl.utils.GraphicsRenderer.prepareBucket(path,glStack); - var fill = bucket.getData(openfl._internal.renderer.opengl.utils.BucketDataType.Fill); - fill.drawMode = glStack.gl.TRIANGLE_FAN; - fill.verts = points; - var indices = fill.indices; - var length = points.length / 2 | 0; - var _g2 = 0; - while(_g2 < length) { - var i1 = _g2++; - indices.push(i1); - } - } - if(path.line.width > 0) { - if(bucket == null) bucket = openfl._internal.renderer.opengl.utils.GraphicsRenderer.prepareBucket(path,glStack); - openfl._internal.renderer.opengl.utils.GraphicsRenderer.buildLine(path,bucket,localCoords); - } -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.buildLine = function(path,bucket,localCoords) { - if(localCoords == null) localCoords = false; - var points = path.points; - if(points.length == 0) return; - var line = bucket.getData(openfl._internal.renderer.opengl.utils.BucketDataType.Line); - if(localCoords) { - var _g1 = 0; - var _g = points.length / 2 | 0; - while(_g1 < _g) { - var i = _g1++; - points[i * 2] -= openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.x; - points[i * 2 + 1] -= openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.y; - } - } - var firstPoint = new openfl.geom.Point(points[0],points[1]); - var lastPoint = new openfl.geom.Point(points[points.length - 2 | 0],points[points.length - 1 | 0]); - if(firstPoint.x == lastPoint.x && firstPoint.y == lastPoint.y) { - points = points.slice(); - points.pop(); - points.pop(); - lastPoint = new openfl.geom.Point(points[points.length - 2 | 0],points[points.length - 1 | 0]); - var midPointX = lastPoint.x + (firstPoint.x - lastPoint.x) * 0.5; - var midPointY = lastPoint.y + (firstPoint.y - lastPoint.y) * 0.5; - points.unshift(midPointY); - points.unshift(midPointX); - points.push(midPointX); - points.push(midPointY); - } - var verts = line.verts; - var indices = line.indices; - var length = points.length / 2 | 0; - var indexCount = points.length; - var indexStart = verts.length / 6 | 0; - var width = path.line.width / 2; - var color = openfl._internal.renderer.opengl.utils.GraphicsRenderer.hex2rgb(path.line.color); - var alpha = path.line.alpha; - var r = color[0]; - var g = color[1]; - var b = color[2]; - var px; - var py; - var p1x; - var p1y; - var p2x; - var p2y; - var p3x; - var p3y; - var perpx; - var perpy; - var perp2x; - var perp2y; - var perp3x; - var perp3y; - var a1; - var b1; - var c1; - var a2; - var b2; - var c2; - var denom; - var pdist; - var dist; - p1x = points[0]; - p1y = points[1]; - p2x = points[2]; - p2y = points[3]; - perpx = -(p1y - p2y); - perpy = p1x - p2x; - dist = Math.sqrt(Math.abs(perpx * perpx + perpy * perpy)); - perpx = perpx / dist; - perpy = perpy / dist; - perpx = perpx * width; - perpy = perpy * width; - verts.push(p1x - perpx); - verts.push(p1y - perpy); - verts.push(r); - verts.push(g); - verts.push(b); - verts.push(alpha); - verts.push(p1x + perpx); - verts.push(p1y + perpy); - verts.push(r); - verts.push(g); - verts.push(b); - verts.push(alpha); - var _g11 = 1; - var _g2 = length - 1; - while(_g11 < _g2) { - var i1 = _g11++; - p1x = points[(i1 - 1) * 2]; - p1y = points[(i1 - 1) * 2 + 1]; - p2x = points[i1 * 2]; - p2y = points[i1 * 2 + 1]; - p3x = points[(i1 + 1) * 2]; - p3y = points[(i1 + 1) * 2 + 1]; - perpx = -(p1y - p2y); - perpy = p1x - p2x; - dist = Math.sqrt(Math.abs(perpx * perpx + perpy * perpy)); - perpx = perpx / dist; - perpy = perpy / dist; - perpx = perpx * width; - perpy = perpy * width; - perp2x = -(p2y - p3y); - perp2y = p2x - p3x; - dist = Math.sqrt(Math.abs(perp2x * perp2x + perp2y * perp2y)); - perp2x = perp2x / dist; - perp2y = perp2y / dist; - perp2x = perp2x * width; - perp2y = perp2y * width; - a1 = -perpy + p1y - (-perpy + p2y); - b1 = -perpx + p2x - (-perpx + p1x); - c1 = (-perpx + p1x) * (-perpy + p2y) - (-perpx + p2x) * (-perpy + p1y); - a2 = -perp2y + p3y - (-perp2y + p2y); - b2 = -perp2x + p2x - (-perp2x + p3x); - c2 = (-perp2x + p3x) * (-perp2y + p2y) - (-perp2x + p2x) * (-perp2y + p3y); - denom = a1 * b2 - a2 * b1; - if(Math.abs(denom) < 0.1) { - denom += 10.1; - verts.push(p2x - perpx); - verts.push(p2y - perpy); - verts.push(r); - verts.push(g); - verts.push(b); - verts.push(alpha); - verts.push(p2x + perpx); - verts.push(p2y + perpy); - verts.push(r); - verts.push(g); - verts.push(b); - verts.push(alpha); - continue; - } - px = (b1 * c2 - b2 * c1) / denom; - py = (a2 * c1 - a1 * c2) / denom; - pdist = (px - p2x) * (px - p2x) + (py - p2y) + (py - p2y); - if(pdist > 19600) { - perp3x = perpx - perp2x; - perp3y = perpy - perp2y; - dist = Math.sqrt(Math.abs(perp3x * perp3x + perp3y * perp3y)); - perp3x = perp3x / dist; - perp3y = perp3y / dist; - perp3x = perp3x * width; - perp3y = perp3y * width; - verts.push(p2x - perp3x); - verts.push(p2y - perp3y); - verts.push(r); - verts.push(g); - verts.push(b); - verts.push(alpha); - verts.push(p2x + perp3x); - verts.push(p2y + perp3y); - verts.push(r); - verts.push(g); - verts.push(b); - verts.push(alpha); - verts.push(p2x - perp3x); - verts.push(p2y - perp3y); - verts.push(r); - verts.push(g); - verts.push(b); - verts.push(alpha); - indexCount++; - } else { - verts.push(px); - verts.push(py); - verts.push(r); - verts.push(g); - verts.push(b); - verts.push(alpha); - verts.push(p2x - (px - p2x)); - verts.push(p2y - (py - p2y)); - verts.push(r); - verts.push(g); - verts.push(b); - verts.push(alpha); - } - } - p1x = points[(length - 2) * 2]; - p1y = points[(length - 2) * 2 + 1]; - p2x = points[(length - 1) * 2]; - p2y = points[(length - 1) * 2 + 1]; - perpx = -(p1y - p2y); - perpy = p1x - p2x; - dist = Math.sqrt(Math.abs(perpx * perpx + perpy * perpy)); - if(!Math.isFinite(dist)) haxe.Log.trace(perpx * perpx + perpy * perpy,{ fileName : "GraphicsRenderer.hx", lineNumber : 411, className : "openfl._internal.renderer.opengl.utils.GraphicsRenderer", methodName : "buildLine"}); - perpx = perpx / dist; - perpy = perpy / dist; - perpx = perpx * width; - perpy = perpy * width; - verts.push(p2x - perpx); - verts.push(p2y - perpy); - verts.push(r); - verts.push(g); - verts.push(b); - verts.push(alpha); - verts.push(p2x + perpx); - verts.push(p2y + perpy); - verts.push(r); - verts.push(g); - verts.push(b); - verts.push(alpha); - indices.push(indexStart); - var _g3 = 0; - while(_g3 < indexCount) { - var i2 = _g3++; - indices.push(indexStart++); - } - indices.push(indexStart - 1); -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.buildPoly = function(path,glStack) { - if(path.points.length < 6) return; - var points = path.points; - var l = points.length; - var sx = points[0]; - var sy = points[1]; - var ex = points[l - 2]; - var ey = points[l - 1]; - if(sx != ex || sy != ey) { - points.push(sx); - points.push(sy); - } - var length = points.length / 2 | 0; - var bucket = openfl._internal.renderer.opengl.utils.GraphicsRenderer.prepareBucket(path,glStack); - var fill = bucket.getData(openfl._internal.renderer.opengl.utils.BucketDataType.Fill); - var verts = fill.verts; - var indices = fill.indices; - if(fill != null) { - var triangles = openfl._internal.renderer.opengl.utils.PolyK.triangulate(points); - var vertPos = verts.length / 2; - var i = 0; - while(i < triangles.length) { - indices.push(triangles[i] + vertPos | 0); - indices.push(triangles[i] + vertPos | 0); - indices.push(triangles[i + 1] + vertPos | 0); - indices.push(triangles[i + 2] + vertPos | 0); - indices.push(triangles[i + 2] + vertPos | 0); - i += 3; - } - var _g = 0; - while(_g < length) { - var i1 = _g++; - verts.push(points[i1 * 2]); - verts.push(points[i1 * 2 + 1]); - } - } - if(path.line.width > 0) openfl._internal.renderer.opengl.utils.GraphicsRenderer.buildLine(path,bucket); -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.buildRectangle = function(path,glStack,localCoords) { - if(localCoords == null) localCoords = false; - var rectData = path.points; - var x = rectData[0]; - var y = rectData[1]; - var width = rectData[2]; - var height = rectData[3]; - if(localCoords) { - x -= openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.x; - y -= openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.y; - } - var bucket = openfl._internal.renderer.opengl.utils.GraphicsRenderer.prepareBucket(path,glStack); - var fill = bucket.getData(openfl._internal.renderer.opengl.utils.BucketDataType.Fill); - if(fill != null) { - var verts = fill.verts; - var indices = fill.indices; - var vertPos = verts.length / 2 | 0; - verts.push(x); - verts.push(y); - verts.push(x + width); - verts.push(y); - verts.push(x); - verts.push(y + height); - verts.push(x + width); - verts.push(y + height); - indices.push(vertPos); - indices.push(vertPos); - indices.push(vertPos + 1); - indices.push(vertPos + 2); - indices.push(vertPos + 3); - indices.push(vertPos + 3); - } - if(path.line.width > 0) { - var tempPoints = path.points; - path.points = [x,y,x + width,y,x + width,y + height,x,y + height,x,y]; - openfl._internal.renderer.opengl.utils.GraphicsRenderer.buildLine(path,bucket); - path.points = tempPoints; - } -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.buildRoundedRectangle = function(path,glStack,localCoords) { - if(localCoords == null) localCoords = false; - var points = path.points.slice(); - var x = points[0]; - var y = points[1]; - var width = points[2]; - var height = points[3]; - var rx = points[4]; - var ry = points[5]; - if(localCoords) { - x -= openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.x; - y -= openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.y; - } - var xe = x + width; - var ye = y + height; - var cx1 = -rx + rx * openfl._internal.renderer.opengl.utils.GraphicsRenderer.SIN45; - var cx2 = -rx + rx * openfl._internal.renderer.opengl.utils.GraphicsRenderer.TAN22; - var cy1 = -ry + ry * openfl._internal.renderer.opengl.utils.GraphicsRenderer.SIN45; - var cy2 = -ry + ry * openfl._internal.renderer.opengl.utils.GraphicsRenderer.TAN22; - var recPoints = []; - recPoints.push(xe); - recPoints.push(ye - ry); - openfl._internal.renderer.opengl.utils.GraphicsRenderer.curveTo(recPoints,xe,ye + cy2,xe + cx1,ye + cy1); - openfl._internal.renderer.opengl.utils.GraphicsRenderer.curveTo(recPoints,xe + cx2,ye,xe - rx,ye); - recPoints.push(x + rx); - recPoints.push(ye); - openfl._internal.renderer.opengl.utils.GraphicsRenderer.curveTo(recPoints,x - cx2,ye,x - cx1,ye + cy1); - openfl._internal.renderer.opengl.utils.GraphicsRenderer.curveTo(recPoints,x,ye + cy2,x,ye - ry); - recPoints.push(x); - recPoints.push(y + ry); - openfl._internal.renderer.opengl.utils.GraphicsRenderer.curveTo(recPoints,x,y - cy2,x - cx1,y - cy1); - openfl._internal.renderer.opengl.utils.GraphicsRenderer.curveTo(recPoints,x - cx2,y,x + rx,y); - recPoints.push(xe - rx); - recPoints.push(y); - openfl._internal.renderer.opengl.utils.GraphicsRenderer.curveTo(recPoints,xe + cx2,y,xe + cx1,y - cy1); - openfl._internal.renderer.opengl.utils.GraphicsRenderer.curveTo(recPoints,xe,y - cy2,xe,y + ry); - recPoints.push(xe); - recPoints.push(ye - ry); - var bucket = openfl._internal.renderer.opengl.utils.GraphicsRenderer.prepareBucket(path,glStack); - var fill = bucket.getData(openfl._internal.renderer.opengl.utils.BucketDataType.Fill); - if(fill != null) { - var verts = fill.verts; - var indices = fill.indices; - var vecPos = verts.length / 2; - var triangles = openfl._internal.renderer.opengl.utils.PolyK.triangulate(recPoints); - var i = 0; - while(i < triangles.length) { - indices.push(triangles[i] + vecPos | 0); - indices.push(triangles[i] + vecPos | 0); - indices.push(triangles[i + 1] + vecPos | 0); - indices.push(triangles[i + 2] + vecPos | 0); - indices.push(triangles[i + 2] + vecPos | 0); - i += 3; - } - i = 0; - while(i < recPoints.length) { - verts.push(recPoints[i]); - verts.push(recPoints[++i]); - i++; - } - } - if(path.line.width > 0) { - var tempPoints = path.points; - path.points = recPoints; - openfl._internal.renderer.opengl.utils.GraphicsRenderer.buildLine(path,bucket); - path.points = tempPoints; - } -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.buildDrawTriangles = function(path,object,glStack,localCoords) { - if(localCoords == null) localCoords = false; - var args = path.type.slice(2); - var vertices = args[0]; - var indices = args[1]; - var uvtData = args[2]; - var culling = args[3]; - var colors = args[4]; - var blendMode = args[5]; - var a; - var b; - var c; - var d; - var tx; - var ty; - if(localCoords) { - a = 1.0; - b = 0.0; - c = 0.0; - d = 1.0; - tx = 0.0; - ty = 0.0; - } else { - a = object.__worldTransform.a; - b = object.__worldTransform.b; - c = object.__worldTransform.c; - d = object.__worldTransform.d; - tx = object.__worldTransform.tx; - ty = object.__worldTransform.ty; - } - var hasColors = colors != null && colors.length > 0; - var bucket = openfl._internal.renderer.opengl.utils.GraphicsRenderer.prepareBucket(path,glStack); - var fill = bucket.getData(openfl._internal.renderer.opengl.utils.BucketDataType.Fill); - var colorAttrib = fill.vertexArray.attributes[2]; - colorAttrib.enabled = hasColors; - colorAttrib.defaultValue = new Float32Array([1,1,1,1]); - fill.rawVerts = true; - fill.glLength = indices.length; - fill.stride = Std["int"](fill.vertexArray.get_stride() / 4); - var vertsLength = fill.glLength * fill.stride; - var verts; - if(fill.glVerts == null || fill.glVerts.length < vertsLength) { - verts = new Float32Array(vertsLength); - fill.glVerts = verts; - } else verts = fill.glVerts; - var glColors = new Uint32Array(verts.buffer); - var v0 = 0; - var v1 = 0; - var v2 = 0; - var i0 = 0; - var i1 = 0; - var i2 = 0; - var x0 = 0.0; - var y0 = 0.0; - var x1 = 0.0; - var y1 = 0.0; - var x2 = 0.0; - var y2 = 0.0; - var idx = 0; - var _g1 = 0; - var _g = indices.length / 3 | 0; - while(_g1 < _g) { - var i = _g1++; - i0 = indices.data[i * 3]; - i1 = indices.data[i * 3 + 1]; - i2 = indices.data[i * 3 + 2]; - v0 = i0 * 2; - v1 = i1 * 2; - v2 = i2 * 2; - x0 = vertices.data[v0]; - y0 = vertices.data[v0 + 1]; - x1 = vertices.data[v1]; - y1 = vertices.data[v1 + 1]; - x2 = vertices.data[v2]; - y2 = vertices.data[v2 + 1]; - if(localCoords) { - x0 -= openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.x; - y0 -= openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.y; - x1 -= openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.x; - y1 -= openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.y; - x2 -= openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.x; - y2 -= openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.y; - } - switch(culling[1]) { - case 2: - if(!((x1 - x0) * (y2 - y0) - (y1 - y0) * (x2 - x0) < 0)) continue; - break; - case 0: - if((x1 - x0) * (y2 - y0) - (y1 - y0) * (x2 - x0) < 0) continue; - break; - default: - } - verts[idx++] = a * x0 + c * y0 + tx; - verts[idx++] = b * x0 + d * y0 + ty; - verts[idx++] = uvtData.data[v0]; - verts[idx++] = uvtData.data[v0 + 1]; - if(hasColors) glColors[idx++] = colors.data[i0]; - verts[idx++] = a * x1 + c * y1 + tx; - verts[idx++] = b * x1 + d * y1 + ty; - verts[idx++] = uvtData.data[v1]; - verts[idx++] = uvtData.data[v1 + 1]; - if(hasColors) glColors[idx++] = colors.data[i1]; - verts[idx++] = a * x2 + c * y2 + tx; - verts[idx++] = b * x2 + d * y2 + ty; - verts[idx++] = uvtData.data[v2]; - verts[idx++] = uvtData.data[v2 + 1]; - if(hasColors) glColors[idx++] = colors.data[i2]; - } -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.buildDrawTiles = function(path,glStack) { - openfl._internal.renderer.opengl.utils.GraphicsRenderer.prepareBucket(path,glStack); -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.curveTo = function(points,cx,cy,x,y) { - var xa = 0; - var ya = 0; - var n = 20; - var fromX = points[points.length - 2]; - var fromY = points[points.length - 1]; - var px = 0; - var py = 0; - var tmp = 0; - var _g1 = 1; - var _g = n + 1; - while(_g1 < _g) { - var i = _g1++; - tmp = i / n; - xa = fromX + (cx - fromX) * tmp; - ya = fromY + (cy - fromY) * tmp; - px = xa + (cx + (x - cx) * tmp - xa) * tmp; - py = ya + (cy + (y - cy) * tmp - ya) * tmp; - points.push(px); - points.push(py); - } -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.quadraticBezierCurve = function(fromX,fromY,cpX,cpY,toX,toY) { - var xa; - var ya; - var xb; - var yb; - var x; - var y; - var n = 20; - var points = []; - var getPt = function(n1,n2,perc) { - var diff = n2 - n1; - return n1 + diff * perc; - }; - var j = 0.0; - var _g1 = 0; - var _g = n + 1; - while(_g1 < _g) { - var i = _g1++; - j = i / n; - xa = getPt(fromX,cpX,j); - ya = getPt(fromY,cpY,j); - xb = getPt(cpX,toX,j); - yb = getPt(cpY,toY,j); - x = getPt(xa,xb,j); - y = getPt(ya,yb,j); - points.push(x); - points.push(y); - } - return points; -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.render = function(object,renderSession) { - var graphics = object.__graphics; - var spritebatch = renderSession.spriteBatch; - var dirty = graphics.__dirty; - if(graphics.__commands.length <= 0) return; - if(dirty) openfl._internal.renderer.opengl.utils.GraphicsRenderer.updateGraphics(object,object.__graphics,renderSession.gl,object.cacheAsBitmap); - openfl._internal.renderer.opengl.utils.GraphicsRenderer.renderGraphics(object,renderSession,false); -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.renderGraphics = function(object,renderSession,localCoords) { - if(localCoords == null) localCoords = false; - var graphics = object.__graphics; - var gl = renderSession.gl; - var glStack = graphics.__glStack[openfl._internal.renderer.opengl.GLRenderer.glContextId]; - var bucket; - var translationMatrix; - if(localCoords) translationMatrix = openfl.geom.Matrix.__identity; else translationMatrix = object.__worldTransform; - var clipRect = renderSession.spriteBatch.clipRect; - var batchDrawing = renderSession.spriteBatch.drawing; - batchDrawing = renderSession.spriteBatch.drawing; - var _g1 = 0; - var _g = glStack.buckets.length; - while(_g1 < _g) { - var i = _g1++; - batchDrawing = renderSession.spriteBatch.drawing; - if(batchDrawing && !localCoords) renderSession.spriteBatch.finish(); - renderSession.blendModeManager.setBlendMode(object.__blendMode); - if(clipRect != null) { - gl.enable(gl.SCISSOR_TEST); - gl.scissor(Math.floor(clipRect.x),Math.floor(clipRect.y),Math.floor(clipRect.width),Math.floor(clipRect.height)); - } - bucket = glStack.buckets[i]; - var _g2 = bucket.mode; - switch(_g2[1]) { - case 1:case 2: - renderSession.stencilManager.pushBucket(bucket,renderSession,translationMatrix.toArray(true)); - var shader = openfl._internal.renderer.opengl.utils.GraphicsRenderer.prepareShader(bucket,renderSession,object,translationMatrix.toArray(true)); - openfl._internal.renderer.opengl.utils.GraphicsRenderer.renderFill(bucket,shader,renderSession); - renderSession.stencilManager.popBucket(object,bucket,renderSession); - break; - case 5: - var shader1 = openfl._internal.renderer.opengl.utils.GraphicsRenderer.prepareShader(bucket,renderSession,object,null); - openfl._internal.renderer.opengl.utils.GraphicsRenderer.renderDrawTriangles(bucket,shader1,renderSession); - break; - case 6: - if(!batchDrawing) renderSession.spriteBatch.begin(renderSession,clipRect); - var args = bucket.graphicType.slice(2); - renderSession.spriteBatch.renderTiles(object,args[0],args[1],args[2],args[3],args[4]); - renderSession.spriteBatch.finish(); - break; - default: - } - var ct = object.__worldColorTransform; - var _g21 = 0; - var _g3 = bucket.lines; - while(_g21 < _g3.length) { - var line = _g3[_g21]; - ++_g21; - if(line != null && line.verts.length > 0) { - var shader2 = renderSession.shaderManager.primitiveShader; - renderSession.shaderManager.setShader(shader2); - gl.uniformMatrix3fv(shader2.getUniformLocation("uTranslationMatrix"),false,translationMatrix.toArray(true)); - gl.uniformMatrix3fv(shader2.getUniformLocation("uProjectionMatrix"),false,renderSession.projectionMatrix.toArray(true)); - gl.uniform1f(shader2.getUniformLocation("uAlpha"),1); - gl.uniform4f(shader2.getUniformLocation("uColorMultiplier"),ct.redMultiplier,ct.greenMultiplier,ct.blueMultiplier,ct.alphaMultiplier); - gl.uniform4f(shader2.getUniformLocation("uColorOffset"),ct.redOffset / 255,ct.greenOffset / 255,ct.blueOffset / 255,ct.alphaOffset / 255); - line.vertexArray.bind(); - shader2.bindVertexArray(line.vertexArray); - gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER,line.indexBuffer); - gl.drawElements(gl.TRIANGLE_STRIP,line.indices.length,gl.UNSIGNED_SHORT,0); - } - } - if(clipRect != null) gl.disable(gl.SCISSOR_TEST); - batchDrawing = renderSession.spriteBatch.drawing; - if(!batchDrawing && !localCoords) renderSession.spriteBatch.begin(renderSession,clipRect); - } -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.updateGraphics = function(object,graphics,gl,localCoords) { - if(localCoords == null) localCoords = false; - openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectPosition.setTo(object.get_x(),object.get_y()); - if(graphics.__bounds == null) openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds = new openfl.geom.Rectangle(); else openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.copyFrom(graphics.__bounds); - var glStack = null; - if(graphics.__dirty) glStack = openfl._internal.renderer.opengl.utils.DrawPath.getStack(graphics,gl); - graphics.set___dirty(false); - var _g = 0; - var _g1 = glStack.buckets; - while(_g < _g1.length) { - var data = _g1[_g]; - ++_g; - data.reset(); - openfl._internal.renderer.opengl.utils.GraphicsRenderer.bucketPool.push(data); - } - glStack.reset(); - var _g11 = glStack.lastIndex; - var _g2 = graphics.__drawPaths.length; - while(_g11 < _g2) { - var i = _g11++; - var path = graphics.__drawPaths[i]; - { - var _g21 = path.type; - switch(_g21[1]) { - case 0: - openfl._internal.renderer.opengl.utils.GraphicsRenderer.buildComplexPoly(path,glStack,localCoords); - break; - case 1: - var rounded = _g21[2]; - if(rounded) openfl._internal.renderer.opengl.utils.GraphicsRenderer.buildRoundedRectangle(path,glStack,localCoords); else openfl._internal.renderer.opengl.utils.GraphicsRenderer.buildRectangle(path,glStack,localCoords); - break; - case 2:case 3: - openfl._internal.renderer.opengl.utils.GraphicsRenderer.buildCircle(path,glStack,localCoords); - break; - case 4: - openfl._internal.renderer.opengl.utils.GraphicsRenderer.buildDrawTriangles(path,object,glStack,localCoords); - break; - case 5: - openfl._internal.renderer.opengl.utils.GraphicsRenderer.prepareBucket(path,glStack); - break; - case 6: - var m = _g21[2]; - openfl._internal.renderer.opengl.utils.GraphicsRenderer.overrideMatrix = m; - break; - } - } - glStack.lastIndex++; - } - var _g3 = 0; - var _g12 = glStack.buckets; - while(_g3 < _g12.length) { - var bucket = _g12[_g3]; - ++_g3; - if(bucket.uploadTileBuffer) bucket.uploadTile(Math.ceil(openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.get_left()),Math.ceil(openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.get_top()),Math.floor(openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.get_right()),Math.floor(openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds.get_bottom())); - bucket.optimize(); - } - glStack.upload(); -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.prepareBucket = function(path,glStack) { - var bucket = null; - { - var _g = path.fill; - switch(_g[1]) { - case 1: - var a = _g[3]; - var c = _g[2]; - bucket = openfl._internal.renderer.opengl.utils.GraphicsRenderer.switchBucket(path.fillIndex,glStack,openfl._internal.renderer.opengl.utils.BucketMode.Fill); - if(c == null) bucket.color = [1,1,1]; else bucket.color = [(c >> 16 & 255) / 255,(c >> 8 & 255) / 255,(c & 255) / 255]; - bucket.color[3] = a; - bucket.uploadTileBuffer = true; - break; - case 2: - var s = _g[5]; - var r = _g[4]; - var m = _g[3]; - var b = _g[2]; - bucket = openfl._internal.renderer.opengl.utils.GraphicsRenderer.switchBucket(path.fillIndex,glStack,openfl._internal.renderer.opengl.utils.BucketMode.PatternFill); - bucket.bitmap = b; - bucket.textureRepeat = r; - bucket.textureSmooth = s; - bucket.texture = b.getTexture(glStack.gl); - bucket.uploadTileBuffer = true; - var pMatrix; - if(m == null) pMatrix = new openfl.geom.Matrix(); else pMatrix = new openfl.geom.Matrix(m.a,m.b,m.c,m.d,m.tx,m.ty); - pMatrix.invert(); - pMatrix.scale(1 / b.width,1 / b.height); - var tx = pMatrix.tx; - var ty = pMatrix.ty; - pMatrix.tx = 0; - pMatrix.ty = 0; - bucket.textureTL.x = tx; - bucket.textureTL.y = ty; - bucket.textureBR.x = tx + 1; - bucket.textureBR.y = ty + 1; - bucket.textureMatrix = pMatrix; - break; - default: - bucket = openfl._internal.renderer.opengl.utils.GraphicsRenderer.switchBucket(path.fillIndex,glStack,openfl._internal.renderer.opengl.utils.BucketMode.Line); - bucket.uploadTileBuffer = false; - } - } - { - var _g1 = path.type; - switch(_g1[1]) { - case 4: - bucket.mode = openfl._internal.renderer.opengl.utils.BucketMode.DrawTriangles; - bucket.uploadTileBuffer = false; - break; - case 5: - bucket.mode = openfl._internal.renderer.opengl.utils.BucketMode.DrawTiles; - bucket.uploadTileBuffer = false; - break; - default: - } - } - bucket.graphicType = path.type; - bucket.overrideMatrix = openfl._internal.renderer.opengl.utils.GraphicsRenderer.overrideMatrix; - return bucket; -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.getBucket = function(glStack,mode) { - var b = openfl._internal.renderer.opengl.utils.GraphicsRenderer.bucketPool.pop(); - if(b == null) b = new openfl._internal.renderer.opengl.utils.GLBucket(glStack.gl); - b.mode = mode; - glStack.buckets.push(b); - return b; -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.switchBucket = function(fillIndex,glStack,mode) { - var bucket = null; - var _g = 0; - var _g1 = glStack.buckets; - while(_g < _g1.length) { - var b = _g1[_g]; - ++_g; - if(b.fillIndex == fillIndex) { - bucket = b; - break; - } - } - if(bucket == null) bucket = openfl._internal.renderer.opengl.utils.GraphicsRenderer.getBucket(glStack,mode); - bucket.dirty = true; - bucket.fillIndex = fillIndex; - return bucket; -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.prepareShader = function(bucket,renderSession,object,translationMatrix) { - var gl = renderSession.gl; - var shader = null; - var _g = bucket.mode; - switch(_g[1]) { - case 1: - shader = renderSession.shaderManager.fillShader; - break; - case 2: - shader = renderSession.shaderManager.patternFillShader; - break; - case 5: - shader = renderSession.shaderManager.drawTrianglesShader; - break; - default: - shader = null; - } - if(shader == null) return null; - var newShader = renderSession.shaderManager.setShader(shader); - gl.uniform1f(shader.getUniformLocation("uAlpha"),object.__worldAlpha); - gl.uniformMatrix3fv(shader.getUniformLocation("uProjectionMatrix"),false,renderSession.projectionMatrix.toArray(true)); - var ct = object.__worldColorTransform; - gl.uniform4f(shader.getUniformLocation("uColorMultiplier"),ct.redMultiplier,ct.greenMultiplier,ct.blueMultiplier,ct.alphaMultiplier); - gl.uniform4f(shader.getUniformLocation("uColorOffset"),ct.redOffset / 255,ct.greenOffset / 255,ct.blueOffset / 255,ct.alphaOffset / 255); - var _g1 = bucket.mode; - switch(_g1[1]) { - case 1: - gl.uniformMatrix3fv(shader.getUniformLocation("uTranslationMatrix"),false,translationMatrix); - gl.uniform4fv(shader.getUniformLocation("uColor"),new Float32Array(bucket.color)); - break; - case 2: - gl.uniformMatrix3fv(shader.getUniformLocation("uTranslationMatrix"),false,translationMatrix); - gl.uniform2f(shader.getUniformLocation("uPatternTL"),bucket.textureTL.x,bucket.textureTL.y); - gl.uniform2f(shader.getUniformLocation("uPatternBR"),bucket.textureBR.x,bucket.textureBR.y); - gl.uniformMatrix3fv(shader.getUniformLocation("uPatternMatrix"),false,bucket.textureMatrix.toArray(true)); - break; - case 5: - if(bucket.texture != null) gl.uniform1i(shader.getUniformLocation("uUseTexture"),1); else { - gl.uniform1i(shader.getUniformLocation("uUseTexture"),0); - gl.uniform4fv(shader.getUniformLocation("uColor"),new Float32Array(bucket.color)); - } - break; - default: - } - return shader; -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.renderFill = function(bucket,shader,renderSession) { - var gl = renderSession.gl; - if(bucket.mode == openfl._internal.renderer.opengl.utils.BucketMode.PatternFill && bucket.texture != null) openfl._internal.renderer.opengl.utils.GraphicsRenderer.bindTexture(gl,bucket); - gl.bindBuffer(gl.ARRAY_BUFFER,bucket.tileBuffer); - gl.vertexAttribPointer(shader.getAttribLocation("aPosition"),4,gl.SHORT,false,0,0); - gl.drawArrays(gl.TRIANGLE_STRIP,0,4); -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.renderDrawTriangles = function(bucket,shader,renderSession) { - var gl = renderSession.gl; - var _g = 0; - var _g1 = bucket.fills; - while(_g < _g1.length) { - var fill = _g1[_g]; - ++_g; - if(fill.available) continue; - openfl._internal.renderer.opengl.utils.GraphicsRenderer.bindTexture(gl,bucket); - fill.vertexArray.bind(); - shader.bindVertexArray(fill.vertexArray); - gl.drawArrays(gl.TRIANGLES,fill.glStart,fill.glLength); - } -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.bindTexture = function(gl,bucket) { - gl.bindTexture(gl.TEXTURE_2D,bucket.texture); - if(bucket.textureRepeat && bucket.bitmap.__image.get_powerOfTwo()) { - gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_S,gl.REPEAT); - gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_T,gl.REPEAT); - } else { - gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_S,gl.CLAMP_TO_EDGE); - gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_T,gl.CLAMP_TO_EDGE); - } - if(bucket.textureSmooth) { - gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MAG_FILTER,gl.LINEAR); - gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MIN_FILTER,gl.LINEAR); - } else { - gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MAG_FILTER,gl.NEAREST); - gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MIN_FILTER,gl.NEAREST); - } -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.isCCW = function(x1,y1,x2,y2,x3,y3) { - return (x2 - x1) * (y3 - y1) - (y2 - y1) * (x3 - x1) < 0; -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.hex2rgb = function(hex) { - if(hex == null) return [1,1,1]; else return [(hex >> 16 & 255) / 255,(hex >> 8 & 255) / 255,(hex & 255) / 255]; -}; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.hex2rgba = function(hex) { - if(hex == null) return [1,1,1,1]; else return [(hex >> 16 & 255) / 255,(hex >> 8 & 255) / 255,(hex & 255) / 255,(hex >> 24 & 255) / 255]; -}; -openfl._internal.renderer.opengl.utils.GLStack = function(gl) { - this.lastIndex = 0; - this.gl = gl; - this.buckets = []; - this.lastIndex = 0; -}; -$hxClasses["openfl._internal.renderer.opengl.utils.GLStack"] = openfl._internal.renderer.opengl.utils.GLStack; -openfl._internal.renderer.opengl.utils.GLStack.__name__ = ["openfl","_internal","renderer","opengl","utils","GLStack"]; -openfl._internal.renderer.opengl.utils.GLStack.prototype = { - reset: function() { - this.buckets = []; - this.lastIndex = 0; - } - ,upload: function() { - var _g = 0; - var _g1 = this.buckets; - while(_g < _g1.length) { - var bucket = _g1[_g]; - ++_g; - if(bucket.dirty) bucket.upload(); - } - } - ,__class__: openfl._internal.renderer.opengl.utils.GLStack -}; -openfl._internal.renderer.opengl.utils.GLBucket = function(gl) { - this.uploadTileBuffer = true; - this.textureSmooth = true; - this.textureRepeat = false; - this.lines = []; - this.fills = []; - this.fillIndex = -1; - this.gl = gl; - this.color = [0,0,0]; - this.lastIndex = 0; - this.alpha = 1; - this.dirty = true; - this.mode = openfl._internal.renderer.opengl.utils.BucketMode.Fill; - this.textureMatrix = new openfl.geom.Matrix(); - this.textureTL = new openfl.geom.Point(); - this.textureBR = new openfl.geom.Point(1,1); -}; -$hxClasses["openfl._internal.renderer.opengl.utils.GLBucket"] = openfl._internal.renderer.opengl.utils.GLBucket; -openfl._internal.renderer.opengl.utils.GLBucket.__name__ = ["openfl","_internal","renderer","opengl","utils","GLBucket"]; -openfl._internal.renderer.opengl.utils.GLBucket.prototype = { - getData: function(type) { - var data; - switch(type[1]) { - case 1: - data = this.fills; - break; - default: - data = this.lines; - } - var result = null; - var remove = false; - var _g = 0; - while(_g < data.length) { - var d = data[_g]; - ++_g; - if(d.available) { - result = d; - remove = true; - break; - } - } - if(result == null) result = new openfl._internal.renderer.opengl.utils.GLBucketData(this.gl); - result.available = false; - result.parent = this; - result.type = type; - if(remove) HxOverrides.remove(data,result); - data.push(result); - switch(type[1]) { - case 1: - var _g1 = this.mode; - switch(_g1[1]) { - case 1:case 2: - result.vertexArray.attributes = openfl._internal.renderer.opengl.utils.GraphicsRenderer.fillVertexAttributes; - break; - case 5: - result.vertexArray.attributes = openfl._internal.renderer.opengl.utils.GraphicsRenderer.drawTrianglesVertexAttributes.slice(); - result.vertexArray.attributes[2] = result.vertexArray.attributes[2].copy(); - break; - default: - } - break; - case 0: - result.vertexArray.attributes = openfl._internal.renderer.opengl.utils.GraphicsRenderer.primitiveVertexAttributes; - break; - } - return result; - } - ,optimize: function() { - var _g = this; - var data = this.lines; - if(data.length > 1) { - var result = []; - var tmp = null; - var last = null; - var idx = 0; - var vi = 0; - var ii = 0; - var before = data.length; - var _g1 = 0; - while(_g1 < data.length) { - var d = data[_g1]; - ++_g1; - if(d.available || d.rawVerts || d.rawIndices) { - if(tmp != null) { - result.push(tmp); - tmp = null; - } - result.push(d); - last = d; - continue; - } - if(last == null || last.drawMode == d.drawMode) { - if(tmp == null) tmp = d; else { - vi = tmp.verts.length; - ii = tmp.indices.length; - var _g2 = 0; - var _g11 = d.verts.length; - while(_g2 < _g11) { - var j = _g2++; - tmp.verts[j + vi] = d.verts[j]; - } - var _g21 = 0; - var _g12 = d.indices.length; - while(_g21 < _g12) { - var j1 = _g21++; - tmp.indices[j1 + ii] = d.indices[j1] + idx; - } - } - idx = tmp.indices[tmp.indices.length - 1] + 1; - last = d; - } else { - if(tmp != null) { - result.push(tmp); - tmp = null; - } - result.push(d); - last = d; - continue; - } - } - if(result.length == 0 && tmp != null) result.push(tmp); - if(result.length > 0) switch(openfl._internal.renderer.opengl.utils.BucketDataType.Line[1]) { - case 1: - _g.fills = result; - break; - default: - _g.lines = result; - } - } - } - ,reset: function() { - var _g = 0; - var _g1 = this.fills; - while(_g < _g1.length) { - var fill = _g1[_g]; - ++_g; - fill.reset(); - } - var _g2 = 0; - var _g11 = this.lines; - while(_g2 < _g11.length) { - var line = _g11[_g2]; - ++_g2; - line.reset(); - } - this.fillIndex = -1; - this.uploadTileBuffer = true; - this.graphicType = openfl._internal.renderer.opengl.utils.GraphicType.Polygon; - } - ,uploadTile: function(x,y,w,h) { - if(this.tileBuffer == null) this.tileBuffer = this.gl.createBuffer(); - this.tile = [x,y,0,0,w,y,1,0,x,h,0,1,w,h,1,1]; - this.glTile = new Int16Array(this.tile); - this.gl.bindBuffer(this.gl.ARRAY_BUFFER,this.tileBuffer); - this.gl.bufferData(this.gl.ARRAY_BUFFER,this.glTile,this.gl.STATIC_DRAW); - } - ,upload: function() { - if(this.mode != openfl._internal.renderer.opengl.utils.BucketMode.Line) { - var _g = 0; - var _g1 = this.fills; - while(_g < _g1.length) { - var fill = _g1[_g]; - ++_g; - if(!fill.available) fill.upload(); - } - } - var _g2 = 0; - var _g11 = this.lines; - while(_g2 < _g11.length) { - var line = _g11[_g2]; - ++_g2; - if(!line.available) line.upload(); - } - this.dirty = false; - } - ,__class__: openfl._internal.renderer.opengl.utils.GLBucket -}; -openfl._internal.renderer.opengl.utils.GLBucketData = function(gl) { - this.available = false; - this.rawIndices = false; - this.stride = 0; - this.rawVerts = false; - this.lastVertsSize = 0; - this.glStart = 0; - this.glLength = 0; - this.gl = gl; - this.drawMode = gl.TRIANGLE_STRIP; - this.verts = []; - this.indices = []; - this.vertexArray = new openfl._internal.renderer.opengl.utils.VertexArray([]); -}; -$hxClasses["openfl._internal.renderer.opengl.utils.GLBucketData"] = openfl._internal.renderer.opengl.utils.GLBucketData; -openfl._internal.renderer.opengl.utils.GLBucketData.__name__ = ["openfl","_internal","renderer","opengl","utils","GLBucketData"]; -openfl._internal.renderer.opengl.utils.GLBucketData.prototype = { - reset: function() { - this.available = true; - this.verts = []; - this.indices = []; - this.glLength = 0; - this.glStart = 0; - this.stride = 0; - this.rawVerts = false; - this.rawIndices = false; - this.drawMode = this.gl.TRIANGLE_STRIP; - } - ,upload: function() { - if(this.rawVerts && this.glVerts != null && this.glVerts.length > 0 || this.verts.length > 0) { - if(!this.rawVerts) this.glVerts = new Float32Array(this.verts); - this.vertexArray.buffer = this.glVerts.buffer; - if(this.glVerts.length <= this.lastVertsSize) { - this.vertexArray.bind(); - var end = this.glLength * 4 * this.stride; - if(this.glLength > 0 && this.lastVertsSize > end) { - var view = this.glVerts.subarray(0,end); - this.vertexArray.upload(view); - } else this.vertexArray.upload(this.glVerts); - } else { - this.vertexArray.setContext(this.gl,this.glVerts); - this.lastVertsSize = this.glVerts.length; - } - } - if(this.glLength == 0 && (this.rawIndices && this.glIndices != null && this.glIndices.length > 0 || this.indices.length > 0)) { - if(this.indexBuffer == null) this.indexBuffer = this.gl.createBuffer(); - if(!this.rawIndices) this.glIndices = new Uint16Array(this.indices); - this.gl.bindBuffer(this.gl.ELEMENT_ARRAY_BUFFER,this.indexBuffer); - this.gl.bufferData(this.gl.ELEMENT_ARRAY_BUFFER,this.glIndices,this.gl.STREAM_DRAW); - } - } - ,__class__: openfl._internal.renderer.opengl.utils.GLBucketData -}; -openfl._internal.renderer.opengl.utils.BucketMode = $hxClasses["openfl._internal.renderer.opengl.utils.BucketMode"] = { __ename__ : true, __constructs__ : ["None","Fill","PatternFill","Line","PatternLine","DrawTriangles","DrawTiles"] }; -openfl._internal.renderer.opengl.utils.BucketMode.None = ["None",0]; -openfl._internal.renderer.opengl.utils.BucketMode.None.toString = $estr; -openfl._internal.renderer.opengl.utils.BucketMode.None.__enum__ = openfl._internal.renderer.opengl.utils.BucketMode; -openfl._internal.renderer.opengl.utils.BucketMode.Fill = ["Fill",1]; -openfl._internal.renderer.opengl.utils.BucketMode.Fill.toString = $estr; -openfl._internal.renderer.opengl.utils.BucketMode.Fill.__enum__ = openfl._internal.renderer.opengl.utils.BucketMode; -openfl._internal.renderer.opengl.utils.BucketMode.PatternFill = ["PatternFill",2]; -openfl._internal.renderer.opengl.utils.BucketMode.PatternFill.toString = $estr; -openfl._internal.renderer.opengl.utils.BucketMode.PatternFill.__enum__ = openfl._internal.renderer.opengl.utils.BucketMode; -openfl._internal.renderer.opengl.utils.BucketMode.Line = ["Line",3]; -openfl._internal.renderer.opengl.utils.BucketMode.Line.toString = $estr; -openfl._internal.renderer.opengl.utils.BucketMode.Line.__enum__ = openfl._internal.renderer.opengl.utils.BucketMode; -openfl._internal.renderer.opengl.utils.BucketMode.PatternLine = ["PatternLine",4]; -openfl._internal.renderer.opengl.utils.BucketMode.PatternLine.toString = $estr; -openfl._internal.renderer.opengl.utils.BucketMode.PatternLine.__enum__ = openfl._internal.renderer.opengl.utils.BucketMode; -openfl._internal.renderer.opengl.utils.BucketMode.DrawTriangles = ["DrawTriangles",5]; -openfl._internal.renderer.opengl.utils.BucketMode.DrawTriangles.toString = $estr; -openfl._internal.renderer.opengl.utils.BucketMode.DrawTriangles.__enum__ = openfl._internal.renderer.opengl.utils.BucketMode; -openfl._internal.renderer.opengl.utils.BucketMode.DrawTiles = ["DrawTiles",6]; -openfl._internal.renderer.opengl.utils.BucketMode.DrawTiles.toString = $estr; -openfl._internal.renderer.opengl.utils.BucketMode.DrawTiles.__enum__ = openfl._internal.renderer.opengl.utils.BucketMode; -openfl._internal.renderer.opengl.utils.BucketDataType = $hxClasses["openfl._internal.renderer.opengl.utils.BucketDataType"] = { __ename__ : true, __constructs__ : ["Line","Fill"] }; -openfl._internal.renderer.opengl.utils.BucketDataType.Line = ["Line",0]; -openfl._internal.renderer.opengl.utils.BucketDataType.Line.toString = $estr; -openfl._internal.renderer.opengl.utils.BucketDataType.Line.__enum__ = openfl._internal.renderer.opengl.utils.BucketDataType; -openfl._internal.renderer.opengl.utils.BucketDataType.Fill = ["Fill",1]; -openfl._internal.renderer.opengl.utils.BucketDataType.Fill.toString = $estr; -openfl._internal.renderer.opengl.utils.BucketDataType.Fill.__enum__ = openfl._internal.renderer.opengl.utils.BucketDataType; -openfl._internal.renderer.opengl.utils.GLGraphicsData = function(gl) { - this.indices = []; - this.data = []; - this.lastIndex = 0; - this.mode = 0; - this.dirty = true; - this.alpha = 1.0; - this.tint = [1.0,1.0,1.0]; - this.gl = gl; - this.dataBuffer = gl.createBuffer(); - this.indexBuffer = gl.createBuffer(); -}; -$hxClasses["openfl._internal.renderer.opengl.utils.GLGraphicsData"] = openfl._internal.renderer.opengl.utils.GLGraphicsData; -openfl._internal.renderer.opengl.utils.GLGraphicsData.__name__ = ["openfl","_internal","renderer","opengl","utils","GLGraphicsData"]; -openfl._internal.renderer.opengl.utils.GLGraphicsData.prototype = { - reset: function() { - this.data = []; - this.indices = []; - this.lastIndex = 0; - } - ,upload: function() { - this.glData = new Float32Array(this.data); - this.gl.bindBuffer(this.gl.ARRAY_BUFFER,this.dataBuffer); - this.gl.bufferData(this.gl.ARRAY_BUFFER,this.glData,this.gl.STATIC_DRAW); - this.glIndices = new Uint16Array(this.indices); - this.gl.bindBuffer(this.gl.ELEMENT_ARRAY_BUFFER,this.indexBuffer); - this.gl.bufferData(this.gl.ELEMENT_ARRAY_BUFFER,this.glIndices,this.gl.STATIC_DRAW); - this.dirty = false; - } - ,__class__: openfl._internal.renderer.opengl.utils.GLGraphicsData -}; -openfl._internal.renderer.opengl.utils.PolyK = function() { }; -$hxClasses["openfl._internal.renderer.opengl.utils.PolyK"] = openfl._internal.renderer.opengl.utils.PolyK; -openfl._internal.renderer.opengl.utils.PolyK.__name__ = ["openfl","_internal","renderer","opengl","utils","PolyK"]; -openfl._internal.renderer.opengl.utils.PolyK.triangulate = function(p) { - var sign = true; - var n = p.length >> 1; - if(n < 3) return []; - var tgs = []; - var avl; - var _g = []; - var _g1 = 0; - while(_g1 < n) { - var i = _g1++; - _g.push(i); - } - avl = _g; - var i1 = 0; - var al = n; - var earFound = false; - while(al > 3) { - var i0 = avl[i1 % al]; - var i11 = avl[(i1 + 1) % al]; - var i2 = avl[(i1 + 2) % al]; - var ax = p[2 * i0]; - var ay = p[2 * i0 + 1]; - var bx = p[2 * i11]; - var by = p[2 * i11 + 1]; - var cx = p[2 * i2]; - var cy = p[2 * i2 + 1]; - earFound = false; - if(openfl._internal.renderer.opengl.utils.PolyK._convex(ax,ay,bx,by,cx,cy,sign)) { - earFound = true; - var _g11 = 0; - while(_g11 < al) { - var j = _g11++; - var vi = avl[j]; - if(vi == i0 || vi == i11 || vi == i2) continue; - if(openfl._internal.renderer.opengl.utils.PolyK._PointInTriangle(p[2 * vi],p[2 * vi + 1],ax,ay,bx,by,cx,cy)) { - earFound = false; - break; - } - } - } - if(earFound) { - tgs.push(i0); - tgs.push(i11); - tgs.push(i2); - avl.splice((i1 + 1) % al,1); - al--; - i1 = 0; - } else if(i1++ > 3 * al) { - if(sign) { - tgs = []; - var _g12 = []; - var _g2 = 0; - while(_g2 < n) { - var k = _g2++; - _g12.push(k); - } - avl = _g12; - i1 = 0; - al = n; - sign = false; - } else { - haxe.Log.trace("Warning: shape too complex to fill",{ fileName : "GraphicsRenderer.hx", lineNumber : 1718, className : "openfl._internal.renderer.opengl.utils.PolyK", methodName : "triangulate"}); - return []; - } - } - } - tgs.push(avl[0]); - tgs.push(avl[1]); - tgs.push(avl[2]); - return tgs; -}; -openfl._internal.renderer.opengl.utils.PolyK._PointInTriangle = function(px,py,ax,ay,bx,by,cx,cy) { - var v0x = cx - ax | 0; - var v0y = cy - ay | 0; - var v1x = bx - ax | 0; - var v1y = by - ay | 0; - var v2x = px - ax | 0; - var v2y = py - ay | 0; - var dot00 = v0x * v0x + v0y * v0y; - var dot01 = v0x * v1x + v0y * v1y; - var dot02 = v0x * v2x + v0y * v2y; - var dot11 = v1x * v1x + v1y * v1y; - var dot12 = v1x * v2x + v1y * v2y; - var invDenom = 1 / (dot00 * dot11 - dot01 * dot01); - var u = (dot11 * dot02 - dot01 * dot12) * invDenom; - var v = (dot00 * dot12 - dot01 * dot02) * invDenom; - return u >= 0 && v >= 0 && u + v < 1; -}; -openfl._internal.renderer.opengl.utils.PolyK._convex = function(ax,ay,bx,by,cx,cy,sign) { - return (ay - by) * (cx - bx) + (bx - ax) * (cy - by) >= 0 == sign; -}; -openfl._internal.renderer.opengl.utils.GraphicType = $hxClasses["openfl._internal.renderer.opengl.utils.GraphicType"] = { __ename__ : true, __constructs__ : ["Polygon","Rectangle","Circle","Ellipse","DrawTriangles","DrawTiles","OverrideMatrix"] }; -openfl._internal.renderer.opengl.utils.GraphicType.Polygon = ["Polygon",0]; -openfl._internal.renderer.opengl.utils.GraphicType.Polygon.toString = $estr; -openfl._internal.renderer.opengl.utils.GraphicType.Polygon.__enum__ = openfl._internal.renderer.opengl.utils.GraphicType; -openfl._internal.renderer.opengl.utils.GraphicType.Rectangle = function(rounded) { var $x = ["Rectangle",1,rounded]; $x.__enum__ = openfl._internal.renderer.opengl.utils.GraphicType; $x.toString = $estr; return $x; }; -openfl._internal.renderer.opengl.utils.GraphicType.Circle = ["Circle",2]; -openfl._internal.renderer.opengl.utils.GraphicType.Circle.toString = $estr; -openfl._internal.renderer.opengl.utils.GraphicType.Circle.__enum__ = openfl._internal.renderer.opengl.utils.GraphicType; -openfl._internal.renderer.opengl.utils.GraphicType.Ellipse = ["Ellipse",3]; -openfl._internal.renderer.opengl.utils.GraphicType.Ellipse.toString = $estr; -openfl._internal.renderer.opengl.utils.GraphicType.Ellipse.__enum__ = openfl._internal.renderer.opengl.utils.GraphicType; -openfl._internal.renderer.opengl.utils.GraphicType.DrawTriangles = function(vertices,indices,uvtData,culling,colors,blendMode) { var $x = ["DrawTriangles",4,vertices,indices,uvtData,culling,colors,blendMode]; $x.__enum__ = openfl._internal.renderer.opengl.utils.GraphicType; $x.toString = $estr; return $x; }; -openfl._internal.renderer.opengl.utils.GraphicType.DrawTiles = function(sheet,tileData,smooth,flags,count) { var $x = ["DrawTiles",5,sheet,tileData,smooth,flags,count]; $x.__enum__ = openfl._internal.renderer.opengl.utils.GraphicType; $x.toString = $estr; return $x; }; -openfl._internal.renderer.opengl.utils.GraphicType.OverrideMatrix = function(matrix) { var $x = ["OverrideMatrix",6,matrix]; $x.__enum__ = openfl._internal.renderer.opengl.utils.GraphicType; $x.toString = $estr; return $x; }; -openfl._internal.renderer.opengl.utils._GraphicsRenderer = {}; -openfl._internal.renderer.opengl.utils._GraphicsRenderer.RenderMode_Impl_ = function() { }; -$hxClasses["openfl._internal.renderer.opengl.utils._GraphicsRenderer.RenderMode_Impl_"] = openfl._internal.renderer.opengl.utils._GraphicsRenderer.RenderMode_Impl_; -openfl._internal.renderer.opengl.utils._GraphicsRenderer.RenderMode_Impl_.__name__ = ["openfl","_internal","renderer","opengl","utils","_GraphicsRenderer","RenderMode_Impl_"]; -openfl._internal.renderer.opengl.utils.ShaderManager = function(gl) { - this.setContext(gl); -}; -$hxClasses["openfl._internal.renderer.opengl.utils.ShaderManager"] = openfl._internal.renderer.opengl.utils.ShaderManager; -openfl._internal.renderer.opengl.utils.ShaderManager.__name__ = ["openfl","_internal","renderer","opengl","utils","ShaderManager"]; -openfl._internal.renderer.opengl.utils.ShaderManager.prototype = { - setContext: function(gl) { - this.gl = gl; - this.defaultShader = new openfl._internal.renderer.opengl.shaders2.DefaultShader(gl); - this.fillShader = new openfl._internal.renderer.opengl.shaders2.FillShader(gl); - this.patternFillShader = new openfl._internal.renderer.opengl.shaders2.PatternFillShader(gl); - this.drawTrianglesShader = new openfl._internal.renderer.opengl.shaders2.DrawTrianglesShader(gl); - this.primitiveShader = new openfl._internal.renderer.opengl.shaders2.PrimitiveShader(gl); - this.setShader(this.defaultShader,true); - } - ,destroy: function() { - this.defaultShader.destroy(); - this.fillShader.destroy(); - this.patternFillShader.destroy(); - this.drawTrianglesShader.destroy(); - this.primitiveShader.destroy(); - this.gl = null; - } - ,setShader: function(shader,force) { - if(force == null) force = false; - if(shader == null) { - this.currentShader = null; - this.gl.useProgram(null); - return true; - } - if(this.currentShader != null && !force && this.currentShader.ID == shader.ID) return false; - this.currentShader = shader; - this.gl.useProgram(shader.program); - return true; - } - ,__class__: openfl._internal.renderer.opengl.utils.ShaderManager -}; -openfl._internal.renderer.opengl.utils.SpriteBatch = function(gl,maxSprites) { - if(maxSprites == null) maxSprites = 2000; - this.lastEnableColor = true; - this.enableColor = true; - this.attributes = []; - this.writtenVertexBytes = 0; - this.drawing = false; - this.dirty = true; - this.states = []; - this.maxSprites = maxSprites; - this.attributes.push(new openfl._internal.renderer.opengl.utils.VertexAttribute(2,5126,false,"aPosition")); - this.attributes.push(new openfl._internal.renderer.opengl.utils.VertexAttribute(2,5126,false,"aTexCoord0")); - this.attributes.push(new openfl._internal.renderer.opengl.utils.VertexAttribute(4,5121,true,"aColor")); - this.attributes[2].defaultValue = new Float32Array([1,1,1,1]); - this.maxElementsPerVertex = 0; - var _g = 0; - var _g1 = this.attributes; - while(_g < _g1.length) { - var a = _g1[_g]; - ++_g; - this.maxElementsPerVertex += Math.floor(a.components * a.getElementsBytes() / 4); - } - this.vertexArraySize = maxSprites * this.maxElementsPerVertex * 4 * 4; - this.indexArraySize = maxSprites * 6; - this.vertexArray = new openfl._internal.renderer.opengl.utils.VertexArray(this.attributes,this.vertexArraySize,false); - this.positions = new Float32Array(this.vertexArray.buffer); - this.colors = new Uint32Array(this.vertexArray.buffer); - this.indices = new Uint16Array(this.indexArraySize); - var i = 0; - var j = 0; - while(i < this.indexArraySize) { - this.indices[i] = j; - this.indices[i + 1] = j + 1; - this.indices[i + 2] = j + 2; - this.indices[i + 3] = j; - this.indices[i + 4] = j + 2; - this.indices[i + 5] = j + 3; - i += 6; - j += 4; - } - this.currentState = new openfl._internal.renderer.opengl.utils._SpriteBatch.State(); - this.dirty = true; - this.drawing = false; - this.batchedSprites = 0; - this.setContext(gl); -}; -$hxClasses["openfl._internal.renderer.opengl.utils.SpriteBatch"] = openfl._internal.renderer.opengl.utils.SpriteBatch; -openfl._internal.renderer.opengl.utils.SpriteBatch.__name__ = ["openfl","_internal","renderer","opengl","utils","SpriteBatch"]; -openfl._internal.renderer.opengl.utils.SpriteBatch.prototype = { - destroy: function() { - this.vertexArray.destroy(); - this.vertexArray = null; - this.indices = null; - this.gl.deleteBuffer(this.indexBuffer); - this.currentState.destroy(); - var _g = 0; - var _g1 = this.states; - while(_g < _g1.length) { - var state = _g1[_g]; - ++_g; - state.destroy(); - } - this.gl = null; - } - ,begin: function(renderSession,clipRect) { - this.renderSession = renderSession; - this.shader = renderSession.shaderManager.defaultShader; - this.drawing = true; - this.start(clipRect); - } - ,finish: function() { - this.stop(); - this.clipRect = null; - this.drawing = false; - } - ,start: function(clipRect) { - if(!this.drawing) throw "Call Spritebatch.begin() before start()"; - this.dirty = true; - this.clipRect = clipRect; - } - ,stop: function() { - this.flush(); - } - ,renderBitmapData: function(bitmapData,smoothing,matrix,ct,alpha,blendMode,pixelSnapping,bgra) { - if(bgra == null) bgra = false; - if(alpha == null) alpha = 1; - if(bitmapData == null) return; - var texture = bitmapData.getTexture(this.gl); - if(this.batchedSprites >= this.maxSprites) this.flush(); - var uvs = bitmapData.__uvData; - if(uvs == null) return; - var color = ((alpha * 255 | 0) & 255) << 24 | 16777215; - this.enableColor = true; - if(this.enableColor != this.lastEnableColor) { - this.flush(); - this.lastEnableColor = this.enableColor; - } - this.attributes[2].enabled = this.lastEnableColor; - this.elementsPerVertex = this.getElementsPerVertex(); - var index = this.batchedSprites * 4 * this.elementsPerVertex; - this.fillVertices(index,bitmapData.width,bitmapData.height,matrix,uvs,null,color,pixelSnapping); - this.setState(this.batchedSprites,texture,smoothing,blendMode,ct,true); - this.batchedSprites++; - } - ,renderTiles: function(object,sheet,tileData,smooth,flags,count) { - if(count == null) count = -1; - if(flags == null) flags = 0; - if(smooth == null) smooth = false; - var texture = sheet.__bitmap.getTexture(this.gl); - if(texture == null) return; - var useScale = (flags & 1) > 0; - var useRotation = (flags & 2) > 0; - var useTransform = (flags & 16) > 0; - var useRGB = (flags & 4) > 0; - var useAlpha = (flags & 8) > 0; - var useRect = (flags & 32) > 0; - var useOrigin = (flags & 64) > 0; - var blendMode; - var _g = flags & 983040; - switch(_g) { - case 65536: - blendMode = openfl.display.BlendMode.ADD; - break; - case 131072: - blendMode = openfl.display.BlendMode.MULTIPLY; - break; - case 262144: - blendMode = openfl.display.BlendMode.SCREEN; - break; - case 524288: - blendMode = openfl.display.BlendMode.SUBTRACT; - break; - default: - blendMode = openfl.display.BlendMode.NORMAL; - } - if(useTransform) { - useScale = false; - useRotation = false; - } - var scaleIndex = 0; - var rotationIndex = 0; - var rgbIndex = 0; - var alphaIndex = 0; - var transformIndex = 0; - var numValues = 3; - if(useRect) if(useOrigin) numValues = 8; else numValues = 6; - if(useScale) { - scaleIndex = numValues; - numValues++; - } - if(useRotation) { - rotationIndex = numValues; - numValues++; - } - if(useTransform) { - transformIndex = numValues; - numValues += 4; - } - if(useRGB) { - rgbIndex = numValues; - numValues += 3; - } - if(useAlpha) { - alphaIndex = numValues; - numValues++; - } - var totalCount = tileData.length; - if(count >= 0 && totalCount > count) totalCount = count; - var itemCount = totalCount / numValues | 0; - var iIndex = 0; - var tileID = -1; - var rect = sheet.__rectTile; - var tileUV = sheet.__rectUV; - var center = sheet.__point; - var x = 0.0; - var y = 0.0; - var alpha = 1.0; - var tint = 16777215; - var color = -1; - var scale = 1.0; - var rotation = 0.0; - var cosTheta = 1.0; - var sinTheta = 0.0; - var a = 0.0; - var b = 0.0; - var c = 0.0; - var d = 0.0; - var tx = 0.0; - var ty = 0.0; - var ox = 0.0; - var oy = 0.0; - var matrix = new openfl.geom.Matrix(); - var oMatrix = object.__worldTransform; - var uvs = new openfl.display.TextureUvs(); - var bIndex = 0; - this.enableColor = true; - if(this.enableColor != this.lastEnableColor) { - this.flush(); - this.lastEnableColor = this.enableColor; - } - this.attributes[2].enabled = this.lastEnableColor; - this.elementsPerVertex = this.getElementsPerVertex(); - while(iIndex < totalCount) { - if(this.batchedSprites >= this.maxSprites) this.flush(); - x = tileData[iIndex]; - y = tileData[iIndex + 1]; - if(useRect) { - tileID = -1; - rect.x = tileData[iIndex + 2]; - rect.y = tileData[iIndex + 3]; - rect.width = tileData[iIndex + 4]; - rect.height = tileData[iIndex + 5]; - if(useOrigin) { - center.x = tileData[iIndex + 6]; - center.y = tileData[iIndex + 7]; - } else { - center.x = 0; - center.y = 0; - } - tileUV.setTo(rect.get_left() / sheet.__bitmap.width,rect.get_top() / sheet.__bitmap.height,rect.get_right() / sheet.__bitmap.width,rect.get_bottom() / sheet.__bitmap.height); - } else { - tileID = (tileData[iIndex + 2] == null?0:tileData[iIndex + 2]) | 0; - rect = sheet.__tileRects[tileID]; - center = sheet.__centerPoints[tileID]; - tileUV = sheet.__tileUVs[tileID]; - } - if(rect != null && rect.width > 0 && rect.height > 0 && center != null) { - alpha = 1; - tint = 16777215; - a = 1; - b = 0; - c = 0; - d = 1; - tx = 0; - ty = 0; - scale = 1.0; - rotation = 0.0; - cosTheta = 1.0; - sinTheta = 0.0; - matrix.identity(); - if(useAlpha) alpha = tileData[iIndex + alphaIndex] * object.__worldAlpha; else alpha = object.__worldAlpha; - if(useRGB) tint = (tileData[iIndex + rgbIndex] * 255 | 0) << 16 | (tileData[iIndex + rgbIndex + 1] * 255 | 0) << 8 | (tileData[iIndex + rgbIndex + 2] * 255 | 0); - if(useScale) scale = tileData[iIndex + scaleIndex]; - if(useRotation) { - rotation = tileData[iIndex + rotationIndex]; - cosTheta = Math.cos(rotation); - sinTheta = Math.sin(rotation); - } - if(useTransform) { - a = tileData[iIndex + transformIndex]; - b = tileData[iIndex + transformIndex + 1]; - c = tileData[iIndex + transformIndex + 2]; - d = tileData[iIndex + transformIndex + 3]; - } else { - a = scale * cosTheta; - b = scale * sinTheta; - c = -b; - d = a; - } - ox = center.x * a + center.y * c; - oy = center.x * b + center.y * d; - tx = x - ox; - ty = y - oy; - matrix.a = a * oMatrix.a + b * oMatrix.c; - matrix.b = a * oMatrix.b + b * oMatrix.d; - matrix.c = c * oMatrix.a + d * oMatrix.c; - matrix.d = c * oMatrix.b + d * oMatrix.d; - matrix.tx = tx * oMatrix.a + ty * oMatrix.c + oMatrix.tx; - matrix.ty = tx * oMatrix.b + ty * oMatrix.d + oMatrix.ty; - uvs.x0 = tileUV.x; - uvs.y0 = tileUV.y; - uvs.x1 = tileUV.width; - uvs.y1 = tileUV.y; - uvs.x2 = tileUV.width; - uvs.y2 = tileUV.height; - uvs.x3 = tileUV.x; - uvs.y3 = tileUV.height; - bIndex = this.batchedSprites * 4 * this.elementsPerVertex; - color = ((alpha * 255 | 0) & 255) << 24 | (tint & 255) << 16 | (tint >> 8 & 255) << 8 | tint >> 16 & 255; - this.fillVertices(bIndex,rect.width,rect.height,matrix,uvs,null,color,openfl.display.PixelSnapping.NEVER); - this.setState(this.batchedSprites,texture,smooth,blendMode,object.__worldColorTransform,false); - this.batchedSprites++; - } - iIndex += numValues; - } - } - ,renderCachedGraphics: function(object) { - var cachedTexture = object.__graphics.__cachedTexture; - if(cachedTexture == null) return; - if(this.batchedSprites >= this.maxSprites) this.flush(); - var alpha = object.__worldAlpha; - var color = ((alpha * 255 | 0) & 255) << 24 | 16777215; - var uvs = new openfl.display.TextureUvs(); - uvs.x0 = 0; - uvs.y0 = 1; - uvs.x1 = 1; - uvs.y1 = 1; - uvs.x2 = 1; - uvs.y2 = 0; - uvs.x3 = 0; - uvs.y3 = 0; - var worldTransform = object.__worldTransform.clone(); - worldTransform.__translateTransformed(new openfl.geom.Point(object.__graphics.__bounds.x,object.__graphics.__bounds.y)); - this.enableColor = color != -1; - if(this.enableColor != this.lastEnableColor) { - this.flush(); - this.lastEnableColor = this.enableColor; - } - this.attributes[2].enabled = this.lastEnableColor; - this.elementsPerVertex = this.getElementsPerVertex(); - var index = this.batchedSprites * 4 * this.elementsPerVertex; - this.fillVertices(index,cachedTexture.width,cachedTexture.height,worldTransform,uvs,null,color,null); - this.setState(this.batchedSprites,cachedTexture.texture,null,object.blendMode,object.__worldColorTransform); - this.batchedSprites++; - } - ,fillVertices: function(index,width,height,matrix,uvs,pivot,color,pixelSnapping) { - if(color == null) color = -1; - var w0; - var w1; - var h0; - var h1; - if(pivot == null) { - w0 = width; - w1 = 0; - h0 = height; - h1 = 0; - } else { - w0 = width * (1 - pivot.x); - w1 = width * -pivot.x; - h0 = height * (1 - pivot.y); - h1 = height * -pivot.y; - } - if(pixelSnapping == null) pixelSnapping = openfl.display.PixelSnapping.NEVER; - var snap = pixelSnapping != openfl.display.PixelSnapping.NEVER; - var a = matrix.a; - var b = matrix.b; - var c = matrix.c; - var d = matrix.d; - var tx = matrix.tx; - var ty = matrix.ty; - var cOffsetIndex = 0; - if(!snap) { - this.positions[index++] = a * w1 + c * h1 + tx; - this.positions[index++] = d * h1 + b * w1 + ty; - } else { - this.positions[index++] = Math.round(a * w1 + c * h1 + tx); - this.positions[index++] = Math.round(d * h1 + b * w1 + ty); - } - this.positions[index++] = uvs.x0; - this.positions[index++] = uvs.y0; - if(this.enableColor) this.colors[index++] = color; - if(!snap) { - this.positions[index++] = a * w0 + c * h1 + tx; - this.positions[index++] = d * h1 + b * w0 + ty; - } else { - this.positions[index++] = Math.round(a * w0 + c * h1 + tx); - this.positions[index++] = Math.round(d * h1 + b * w0 + ty); - } - this.positions[index++] = uvs.x1; - this.positions[index++] = uvs.y1; - if(this.enableColor) this.colors[index++] = color; - if(!snap) { - this.positions[index++] = a * w0 + c * h0 + tx; - this.positions[index++] = d * h0 + b * w0 + ty; - } else { - this.positions[index++] = Math.round(a * w0 + c * h0 + tx); - this.positions[index++] = Math.round(d * h0 + b * w0 + ty); - } - this.positions[index++] = uvs.x2; - this.positions[index++] = uvs.y2; - if(this.enableColor) this.colors[index++] = color; - if(!snap) { - this.positions[index++] = a * w1 + c * h0 + tx; - this.positions[index++] = d * h0 + b * w1 + ty; - } else { - this.positions[index++] = Math.round(a * w1 + c * h0 + tx); - this.positions[index++] = Math.round(d * h0 + b * w1 + ty); - } - this.positions[index++] = uvs.x3; - this.positions[index++] = uvs.y3; - if(this.enableColor) this.colors[index++] = color; - this.writtenVertexBytes = index; - } - ,enableAttributes: function(color) { - if(color == null) color = -1; - this.enableColor = color != -1; - if(this.enableColor != this.lastEnableColor) { - this.flush(); - this.lastEnableColor = this.enableColor; - } - this.attributes[2].enabled = this.lastEnableColor; - this.elementsPerVertex = this.getElementsPerVertex(); - } - ,flush: function() { - if(this.batchedSprites == 0) return; - if(this.clipRect != null) { - this.gl.enable(this.gl.SCISSOR_TEST); - this.gl.scissor(Math.floor(this.clipRect.x),Math.floor(this.clipRect.y),Math.floor(this.clipRect.width),Math.floor(this.clipRect.height)); - } - if(this.dirty) { - this.dirty = false; - this.gl.activeTexture(this.gl.TEXTURE0); - this.vertexArray.bind(); - this.gl.bindBuffer(this.gl.ELEMENT_ARRAY_BUFFER,this.indexBuffer); - } - if(this.writtenVertexBytes > this.vertexArraySize * 0.5) this.vertexArray.upload(this.positions); else { - var view = this.positions.subarray(0,this.writtenVertexBytes); - this.vertexArray.upload(view); - } - var nextState; - var batchSize = 0; - var start = 0; - this.currentState.shader = this.renderSession.shaderManager.defaultShader; - this.currentState.texture = null; - this.currentState.textureSmooth = false; - this.currentState.blendMode = this.renderSession.blendModeManager.currentBlendMode; - this.currentState.colorTransform = null; - this.currentState.skipColorTransformAlpha = false; - var _g1 = 0; - var _g = this.batchedSprites; - while(_g1 < _g) { - var i = _g1++; - nextState = this.states[i]; - this.currentState.skipColorTransformAlpha = nextState.skipColorTransformAlpha; - if(!nextState.equals(this.currentState)) { - this.renderBatch(this.currentState,batchSize,start); - start = i; - batchSize = 0; - this.currentState.shader = nextState.shader; - this.currentState.texture = nextState.texture; - this.currentState.textureSmooth = nextState.textureSmooth; - this.currentState.blendMode = nextState.blendMode; - this.currentState.colorTransform = nextState.colorTransform; - } - batchSize++; - } - this.renderBatch(this.currentState,batchSize,start); - this.batchedSprites = 0; - this.writtenVertexBytes = 0; - if(this.clipRect != null) this.gl.disable(this.gl.SCISSOR_TEST); - } - ,renderBatch: function(state,size,start) { - if(size == 0 || state.texture == null) return; - var shader; - if(state.shader == null) shader = this.renderSession.shaderManager.defaultShader; else shader = state.shader; - this.renderSession.shaderManager.setShader(shader); - shader.bindVertexArray(this.vertexArray); - this.gl.uniformMatrix3fv(shader.getUniformLocation("uProjectionMatrix"),false,this.renderSession.projectionMatrix.toArray(true)); - if(state.colorTransform != null) { - var ct = state.colorTransform; - this.gl.uniform4f(shader.getUniformLocation("uColorMultiplier"),ct.redMultiplier,ct.greenMultiplier,ct.blueMultiplier,state.skipColorTransformAlpha?1:ct.alphaMultiplier); - this.gl.uniform4f(shader.getUniformLocation("uColorOffset"),ct.redOffset / 255.,ct.greenOffset / 255.,ct.blueOffset / 255.,ct.alphaOffset / 255.); - } else { - this.gl.uniform4f(shader.getUniformLocation("uColorMultiplier"),1,1,1,1); - this.gl.uniform4f(shader.getUniformLocation("uColorOffset"),0,0,0,0); - } - this.renderSession.blendModeManager.setBlendMode(state.blendMode); - this.gl.bindTexture(this.gl.TEXTURE_2D,state.texture); - if(state.textureSmooth) { - this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_MAG_FILTER,this.gl.LINEAR); - this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_MIN_FILTER,this.gl.LINEAR); - } else { - this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_MAG_FILTER,this.gl.NEAREST); - this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_MIN_FILTER,this.gl.NEAREST); - } - this.gl.drawElements(this.gl.TRIANGLES,size * 6,this.gl.UNSIGNED_SHORT,start * 6 * 2); - this.renderSession.drawCount++; - } - ,setState: function(index,texture,smooth,blendMode,colorTransform,skipAlpha) { - if(skipAlpha == null) skipAlpha = false; - if(smooth == null) smooth = false; - var state = this.states[index]; - if(state == null) state = this.states[index] = new openfl._internal.renderer.opengl.utils._SpriteBatch.State(); - state.texture = texture; - state.textureSmooth = smooth; - state.blendMode = blendMode; - state.colorTransform = colorTransform; - state.skipColorTransformAlpha = skipAlpha; - } - ,setContext: function(gl) { - this.gl = gl; - this.vertexArray.setContext(gl,this.positions); - this.indexBuffer = gl.createBuffer(); - gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER,this.indexBuffer); - gl.bufferData(gl.ELEMENT_ARRAY_BUFFER,this.indices,gl.STATIC_DRAW); - } - ,getElementsPerVertex: function() { - var r = 0; - var _g = 0; - var _g1 = this.attributes; - while(_g < _g1.length) { - var a = _g1[_g]; - ++_g; - if(a.enabled) r += Math.floor(a.components * a.getElementsBytes() / 4); - } - return r; - } - ,__class__: openfl._internal.renderer.opengl.utils.SpriteBatch -}; -openfl._internal.renderer.opengl.utils._SpriteBatch = {}; -openfl._internal.renderer.opengl.utils._SpriteBatch.State = function() { - this.skipColorTransformAlpha = false; - this.textureSmooth = true; -}; -$hxClasses["openfl._internal.renderer.opengl.utils._SpriteBatch.State"] = openfl._internal.renderer.opengl.utils._SpriteBatch.State; -openfl._internal.renderer.opengl.utils._SpriteBatch.State.__name__ = ["openfl","_internal","renderer","opengl","utils","_SpriteBatch","State"]; -openfl._internal.renderer.opengl.utils._SpriteBatch.State.prototype = { - equals: function(other) { - return (this.shader == null || other.shader == null || this.shader.ID == other.shader.ID) && this.texture == other.texture && this.textureSmooth == other.textureSmooth && this.blendMode == other.blendMode && (this.colorTransform != null && this.colorTransform.__equals(other.colorTransform,this.skipColorTransformAlpha)); - } - ,destroy: function() { - this.texture = null; - this.colorTransform = null; - } - ,__class__: openfl._internal.renderer.opengl.utils._SpriteBatch.State -}; -openfl._internal.renderer.opengl.utils.StencilManager = function(gl) { - this.stencilMask = 0; - this.stencilStack = []; - this.setContext(gl); - this.reverse = true; - this.count = 0; -}; -$hxClasses["openfl._internal.renderer.opengl.utils.StencilManager"] = openfl._internal.renderer.opengl.utils.StencilManager; -openfl._internal.renderer.opengl.utils.StencilManager.__name__ = ["openfl","_internal","renderer","opengl","utils","StencilManager"]; -openfl._internal.renderer.opengl.utils.StencilManager.prototype = { - prepareGraphics: function(fill,renderSession,translationMatrix) { - var shader = renderSession.shaderManager.fillShader; - renderSession.shaderManager.setShader(shader); - this.gl.uniformMatrix3fv(shader.getUniformLocation("uTranslationMatrix"),false,translationMatrix); - this.gl.uniformMatrix3fv(shader.getUniformLocation("uProjectionMatrix"),false,renderSession.projectionMatrix.toArray(true)); - fill.vertexArray.bind(); - shader.bindVertexArray(fill.vertexArray); - this.gl.bindBuffer(this.gl.ELEMENT_ARRAY_BUFFER,fill.indexBuffer); - } - ,pushBucket: function(bucket,renderSession,translationMatrix,isMask) { - if(isMask == null) isMask = false; - if(!isMask) { - this.gl.enable(this.gl.STENCIL_TEST); - this.gl.clear(this.gl.STENCIL_BUFFER_BIT); - this.gl.stencilMask(255); - this.gl.colorMask(false,false,false,false); - this.gl.stencilFunc(this.gl.NEVER,1,255); - this.gl.stencilOp(this.gl.INVERT,this.gl.KEEP,this.gl.KEEP); - this.gl.clear(this.gl.STENCIL_BUFFER_BIT); - } - var _g = 0; - var _g1 = bucket.fills; - while(_g < _g1.length) { - var fill = _g1[_g]; - ++_g; - if(fill.available) continue; - this.prepareGraphics(fill,renderSession,translationMatrix); - this.gl.drawElements(fill.drawMode,fill.glIndices.length,this.gl.UNSIGNED_SHORT,0); - } - if(!isMask) { - this.gl.colorMask(true,true,true,renderSession.renderer.transparent); - this.gl.stencilOp(this.gl.KEEP,this.gl.KEEP,this.gl.KEEP); - this.gl.stencilFunc(this.gl.EQUAL,255,255); - } - } - ,popBucket: function(object,bucket,renderSession) { - this.gl.disable(this.gl.STENCIL_TEST); - } - ,pushMask: function(object,renderSession) { - var maskGraphics = object.__maskGraphics; - if(maskGraphics == null || maskGraphics.__commands.length <= 0) return; - if(this.stencilMask == 0) { - this.gl.enable(this.gl.STENCIL_TEST); - this.gl.clear(this.gl.STENCIL_BUFFER_BIT); - } - this.stencilMask++; - if(maskGraphics.__dirty) openfl._internal.renderer.opengl.utils.GraphicsRenderer.updateGraphics(object,maskGraphics,renderSession.gl); - var func; - if(this.stencilMask == 1) func = this.gl.NEVER; else func = this.gl.EQUAL; - var ref = this.stencilMask; - var mask = 255 - this.stencilMask; - this.gl.stencilMask(255); - this.gl.colorMask(false,false,false,false); - this.gl.stencilFunc(func,ref,mask); - this.gl.stencilOp(this.gl.REPLACE,this.gl.KEEP,this.gl.KEEP); - var glStack = maskGraphics.__glStack[openfl._internal.renderer.opengl.GLRenderer.glContextId]; - var bucket; - var translationMatrix = object.__worldTransform; - var _g1 = 0; - var _g = glStack.buckets.length; - while(_g1 < _g) { - var i = _g1++; - bucket = glStack.buckets[i]; - if(bucket.overrideMatrix != null) translationMatrix = bucket.overrideMatrix; else translationMatrix = object.__worldTransform; - var _g2 = bucket.mode; - switch(_g2[1]) { - case 1:case 2: - this.pushBucket(bucket,renderSession,translationMatrix.toArray(true),true); - break; - default: - } - } - this.gl.colorMask(true,true,true,renderSession.renderer.transparent); - this.gl.stencilOp(this.gl.KEEP,this.gl.KEEP,this.gl.KEEP); - this.gl.stencilFunc(this.gl.EQUAL,this.stencilMask,255); - } - ,popMask: function(object,renderSession) { - this.stencilMask--; - if(this.stencilMask <= 0) { - this.gl.disable(this.gl.STENCIL_TEST); - this.stencilMask = 0; - } - } - ,bindGraphics: function(object,glData,renderSession) { - } - ,destroy: function() { - this.stencilStack = null; - this.gl = null; - } - ,popStencil: function(object,glData,renderSession) { - this.stencilStack.pop(); - this.count--; - if(this.stencilStack.length == 0) this.gl.disable(this.gl.STENCIL_TEST); else { - var level = this.count; - this.bindGraphics(object,glData,renderSession); - this.gl.colorMask(false,false,false,false); - if(glData.mode == 1) { - this.reverse = !this.reverse; - if(this.reverse) { - this.gl.stencilFunc(this.gl.EQUAL,255 - (level + 1),255); - this.gl.stencilOp(this.gl.KEEP,this.gl.KEEP,this.gl.INCR); - } else { - this.gl.stencilFunc(this.gl.EQUAL,level + 1,255); - this.gl.stencilOp(this.gl.KEEP,this.gl.KEEP,this.gl.DECR); - } - this.gl.drawElements(this.gl.TRIANGLE_FAN,4,this.gl.UNSIGNED_SHORT,(glData.indices.length - 4) * 2); - this.gl.stencilFunc(this.gl.ALWAYS,0,255); - this.gl.stencilOp(this.gl.KEEP,this.gl.KEEP,this.gl.INVERT); - this.gl.drawElements(this.gl.TRIANGLE_FAN,glData.indices.length - 4,this.gl.UNSIGNED_SHORT,0); - if(!this.reverse) this.gl.stencilFunc(this.gl.EQUAL,255 - level,255); else this.gl.stencilFunc(this.gl.EQUAL,level,255); - } else { - if(!this.reverse) { - this.gl.stencilFunc(this.gl.EQUAL,255 - (level + 1),255); - this.gl.stencilOp(this.gl.KEEP,this.gl.KEEP,this.gl.INCR); - } else { - this.gl.stencilFunc(this.gl.EQUAL,level + 1,255); - this.gl.stencilOp(this.gl.KEEP,this.gl.KEEP,this.gl.DECR); - } - this.gl.drawElements(this.gl.TRIANGLE_STRIP,glData.indices.length,this.gl.UNSIGNED_SHORT,0); - if(!this.reverse) this.gl.stencilFunc(this.gl.EQUAL,255 - level,255); else this.gl.stencilFunc(this.gl.EQUAL,level,255); - } - this.gl.colorMask(true,true,true,true); - this.gl.stencilOp(this.gl.KEEP,this.gl.KEEP,this.gl.KEEP); - } - } - ,pushStencil: function(object,glData,renderSession) { - this.bindGraphics(object,glData,renderSession); - if(this.stencilStack.length == 0) { - this.gl.enable(this.gl.STENCIL_TEST); - this.gl.clear(this.gl.STENCIL_BUFFER_BIT); - this.reverse = true; - this.count = 0; - } - this.stencilStack.push(glData); - var level = this.count; - this.gl.colorMask(false,false,false,false); - this.gl.stencilFunc(this.gl.ALWAYS,0,255); - this.gl.stencilOp(this.gl.KEEP,this.gl.KEEP,this.gl.INVERT); - if(glData.mode == 1) { - this.gl.drawElements(this.gl.TRIANGLE_FAN,glData.indices.length - 4,this.gl.UNSIGNED_SHORT,0); - if(this.reverse) { - this.gl.stencilFunc(this.gl.EQUAL,255 - level,255); - this.gl.stencilOp(this.gl.KEEP,this.gl.KEEP,this.gl.DECR); - } else { - this.gl.stencilFunc(this.gl.EQUAL,level,255); - this.gl.stencilOp(this.gl.KEEP,this.gl.KEEP,this.gl.INCR); - } - this.gl.drawElements(this.gl.TRIANGLE_FAN,4,this.gl.UNSIGNED_SHORT,(glData.indices.length - 4) * 2); - if(this.reverse) this.gl.stencilFunc(this.gl.EQUAL,255 - (level + 1),255); else this.gl.stencilFunc(this.gl.EQUAL,level + 1,255); - this.reverse = !this.reverse; - } else { - if(!this.reverse) { - this.gl.stencilFunc(this.gl.EQUAL,255 - level,255); - this.gl.stencilOp(this.gl.KEEP,this.gl.KEEP,this.gl.DECR); - } else { - this.gl.stencilFunc(this.gl.EQUAL,level,255); - this.gl.stencilOp(this.gl.KEEP,this.gl.KEEP,this.gl.INCR); - } - this.gl.drawElements(this.gl.TRIANGLE_STRIP,glData.indices.length,this.gl.UNSIGNED_SHORT,0); - if(!this.reverse) this.gl.stencilFunc(this.gl.EQUAL,255 - (level + 1),255); else this.gl.stencilFunc(this.gl.EQUAL,level + 1,255); - } - this.gl.colorMask(true,true,true,true); - this.gl.stencilOp(this.gl.KEEP,this.gl.KEEP,this.gl.KEEP); - this.count++; - } - ,setContext: function(gl) { - this.gl = gl; - } - ,__class__: openfl._internal.renderer.opengl.utils.StencilManager -}; -openfl._internal.renderer.opengl.utils.VertexArray = function(attributes,size,isStatic) { - if(isStatic == null) isStatic = false; - if(size == null) size = 0; - this.isStatic = false; - this.size = 0; - this.attributes = []; - this.size = size; - this.attributes = attributes; - if(size > 0) this.buffer = new ArrayBuffer(size); - this.isStatic = isStatic; -}; -$hxClasses["openfl._internal.renderer.opengl.utils.VertexArray"] = openfl._internal.renderer.opengl.utils.VertexArray; -openfl._internal.renderer.opengl.utils.VertexArray.__name__ = ["openfl","_internal","renderer","opengl","utils","VertexArray"]; -openfl._internal.renderer.opengl.utils.VertexArray.prototype = { - bind: function() { - this.gl.bindBuffer(this.gl.ARRAY_BUFFER,this.glBuffer); - } - ,unbind: function() { - this.gl.bindBuffer(this.gl.ARRAY_BUFFER,null); - } - ,upload: function(view) { - this.gl.bufferSubData(this.gl.ARRAY_BUFFER,0,view); - } - ,destroy: function() { - this.gl.deleteBuffer(this.glBuffer); - this.buffer = null; - } - ,setContext: function(gl,view) { - this.gl = gl; - this.glBuffer = gl.createBuffer(); - gl.bindBuffer(gl.ARRAY_BUFFER,this.glBuffer); - gl.bufferData(gl.ARRAY_BUFFER,view,this.isStatic?gl.STATIC_DRAW:gl.DYNAMIC_DRAW); - } - ,get_stride: function() { - var s = 0; - var _g = 0; - var _g1 = this.attributes; - while(_g < _g1.length) { - var a = _g1[_g]; - ++_g; - if(a.enabled) s += Math.floor(a.components * a.getElementsBytes() / 4) * 4; - } - return s; - } - ,__class__: openfl._internal.renderer.opengl.utils.VertexArray - ,__properties__: {get_stride:"get_stride"} -}; -openfl._internal.renderer.opengl.utils._VertexAttribute = {}; -openfl._internal.renderer.opengl.utils._VertexAttribute.ElementType_Impl_ = function() { }; -$hxClasses["openfl._internal.renderer.opengl.utils._VertexAttribute.ElementType_Impl_"] = openfl._internal.renderer.opengl.utils._VertexAttribute.ElementType_Impl_; -openfl._internal.renderer.opengl.utils._VertexAttribute.ElementType_Impl_.__name__ = ["openfl","_internal","renderer","opengl","utils","_VertexAttribute","ElementType_Impl_"]; -openfl.display.Bitmap = function(bitmapData,pixelSnapping,smoothing) { - if(smoothing == null) smoothing = false; - openfl.display.DisplayObjectContainer.call(this); - this.bitmapData = bitmapData; - this.pixelSnapping = pixelSnapping; - this.smoothing = smoothing; - if(pixelSnapping == null) this.pixelSnapping = openfl.display.PixelSnapping.AUTO; -}; -$hxClasses["openfl.display.Bitmap"] = openfl.display.Bitmap; -openfl.display.Bitmap.__name__ = ["openfl","display","Bitmap"]; -openfl.display.Bitmap.__super__ = openfl.display.DisplayObjectContainer; -openfl.display.Bitmap.prototype = $extend(openfl.display.DisplayObjectContainer.prototype,{ - __getBounds: function(rect,matrix) { - if(this.bitmapData != null) { - var bounds = new openfl.geom.Rectangle(0,0,this.bitmapData.width,this.bitmapData.height); - bounds = bounds.transform(matrix); - rect.__expand(bounds.x,bounds.y,bounds.width,bounds.height); - } - } - ,__hitTest: function(x,y,shapeFlag,stack,interactiveOnly) { - if(!this.get_visible() || this.bitmapData == null) return false; - var point = this.globalToLocal(new openfl.geom.Point(x,y)); - if(point.x > 0 && point.y > 0 && point.x <= this.bitmapData.width && point.y <= this.bitmapData.height) { - if(stack != null && !interactiveOnly) stack.push(this); - return true; - } - return false; - } - ,__renderCairo: function(renderSession) { - openfl._internal.renderer.cairo.CairoBitmap.render(this,renderSession); - } - ,__renderCairoMask: function(renderSession) { - renderSession.cairo.rectangle(0,0,this.get_width(),this.get_height()); - } - ,__renderCanvas: function(renderSession) { - openfl._internal.renderer.canvas.CanvasBitmap.render(this,renderSession); - } - ,__renderCanvasMask: function(renderSession) { - renderSession.context.rect(0,0,this.get_width(),this.get_height()); - } - ,__renderDOM: function(renderSession) { - if(this.stage != null && this.__worldVisible && this.__renderable && this.bitmapData != null && this.bitmapData.__isValid) { - if(this.bitmapData.__image.buffer.__srcImage != null) openfl._internal.renderer.dom.DOMBitmap.renderImage(this,renderSession); else openfl._internal.renderer.dom.DOMBitmap.renderCanvas(this,renderSession); - } else { - if(this.__image != null) { - renderSession.element.removeChild(this.__image); - this.__image = null; - this.__style = null; - } - if(this.__canvas != null) { - renderSession.element.removeChild(this.__canvas); - this.__canvas = null; - this.__style = null; - } - } - } - ,__renderGL: function(renderSession) { - if(!this.__renderable || this.__worldAlpha <= 0 || this.bitmapData == null || !this.bitmapData.__isValid) null; else renderSession.spriteBatch.renderBitmapData(this.bitmapData,this.smoothing,this.__worldTransform,this.__worldColorTransform,this.__worldAlpha,this.__blendMode,this.pixelSnapping); - } - ,__updateMask: function(maskGraphics) { - maskGraphics.__commands.push(openfl.display.DrawCommand.OverrideMatrix(this.__worldTransform)); - maskGraphics.beginFill(0); - maskGraphics.drawRect(0,0,this.bitmapData.width,this.bitmapData.height); - if(maskGraphics.__bounds == null) maskGraphics.__bounds = new openfl.geom.Rectangle(); - this.__getBounds(maskGraphics.__bounds,openfl.geom.Matrix.__identity); - openfl.display.DisplayObjectContainer.prototype.__updateMask.call(this,maskGraphics); - } - ,get_height: function() { - if(this.bitmapData != null) return this.bitmapData.height * this.get_scaleY(); - return 0; - } - ,set_height: function(value) { - if(this.bitmapData != null) { - if(value != this.bitmapData.height) { - if(!this.__transformDirty) { - this.__transformDirty = true; - openfl.display.DisplayObject.__worldTransformDirty++; - } - this.set_scaleY(value / this.bitmapData.height); - } - return value; - } - return 0; - } - ,get_width: function() { - if(this.bitmapData != null) return this.bitmapData.width * this.get_scaleX(); - return 0; - } - ,set_width: function(value) { - if(this.bitmapData != null) { - if(value != this.bitmapData.width) { - if(!this.__transformDirty) { - this.__transformDirty = true; - openfl.display.DisplayObject.__worldTransformDirty++; - } - this.set_scaleX(value / this.bitmapData.width); - } - return value; - } - return 0; - } - ,__class__: openfl.display.Bitmap -}); -openfl.display.BitmapData = function(width,height,transparent,fillColor) { - if(fillColor == null) fillColor = -1; - if(transparent == null) transparent = true; - this.__usingFramebuffer = false; - this.transparent = transparent; - if(width == null) width = 0; else width = width; - if(height == null) height = 0; else height = height; - if(width < 0) width = 0; else width = width; - if(height < 0) height = 0; else height = height; - this.width = width; - this.height = height; - this.rect = new openfl.geom.Rectangle(0,0,width,height); - if(width > 0 && height > 0) { - if(transparent) { - if((function($this) { - var $r; - var $int = fillColor & -16777216; - $r = $int < 0?4294967296.0 + $int:$int + 0.0; - return $r; - }(this)) == 0) fillColor = 0; - } else fillColor = -16777216 | fillColor & 16777215; - fillColor = fillColor << 8 | fillColor >> 24 & 255; - this.__image = new lime.graphics.Image(null,0,0,width,height,fillColor); - this.__image.set_transparent(transparent); - this.__isValid = true; - } - this.__createUVs(); - this.__worldTransform = new openfl.geom.Matrix(); - this.__worldColorTransform = new openfl.geom.ColorTransform(); -}; -$hxClasses["openfl.display.BitmapData"] = openfl.display.BitmapData; -openfl.display.BitmapData.__name__ = ["openfl","display","BitmapData"]; -openfl.display.BitmapData.__interfaces__ = [openfl.display.IBitmapDrawable]; -openfl.display.BitmapData.__supportsBGRA = null; -openfl.display.BitmapData.fromBase64 = function(base64,type,onload) { - var bitmapData = new openfl.display.BitmapData(0,0,true); - bitmapData.__fromBase64(base64,type,onload); - return bitmapData; -}; -openfl.display.BitmapData.fromBytes = function(bytes,rawAlpha,onload) { - var bitmapData = new openfl.display.BitmapData(0,0,true); - bitmapData.__fromBytes(bytes,rawAlpha,onload); - return bitmapData; -}; -openfl.display.BitmapData.fromCanvas = function(canvas,transparent) { - if(transparent == null) transparent = true; - var bitmapData = new openfl.display.BitmapData(0,0,transparent); - bitmapData.__fromImage(lime.graphics.Image.fromCanvas(canvas)); - bitmapData.__image.set_transparent(transparent); - return bitmapData; -}; -openfl.display.BitmapData.fromFile = function(path,onload,onerror) { - var bitmapData = new openfl.display.BitmapData(0,0,true); - bitmapData.__fromFile(path,onload,onerror); - return bitmapData; -}; -openfl.display.BitmapData.fromImage = function(image,transparent) { - if(transparent == null) transparent = true; - var bitmapData = new openfl.display.BitmapData(0,0,transparent); - bitmapData.__fromImage(image); - bitmapData.__image.set_transparent(transparent); - return bitmapData; -}; -openfl.display.BitmapData.__flipPixel = function(pixel) { - return (pixel & 255) << 24 | (pixel >> 8 & 255) << 16 | (pixel >> 16 & 255) << 8 | pixel >> 24 & 255; -}; -openfl.display.BitmapData.__ucompare = function(n1,n2) { - var tmp1; - var tmp2; - tmp1 = n1 >> 24 & 255; - tmp2 = n2 >> 24 & 255; - if(tmp1 != tmp2) if(tmp1 > tmp2) return 1; else return -1; else { - tmp1 = n1 >> 16 & 255; - tmp2 = n2 >> 16 & 255; - if(tmp1 != tmp2) if(tmp1 > tmp2) return 1; else return -1; else { - tmp1 = n1 >> 8 & 255; - tmp2 = n2 >> 8 & 255; - if(tmp1 != tmp2) if(tmp1 > tmp2) return 1; else return -1; else { - tmp1 = n1 & 255; - tmp2 = n2 & 255; - if(tmp1 != tmp2) if(tmp1 > tmp2) return 1; else return -1; else return 0; - } - } - } -}; -openfl.display.BitmapData.prototype = { - applyFilter: function(sourceBitmapData,sourceRect,destPoint,filter) { - if(!this.__isValid || sourceBitmapData == null || !sourceBitmapData.__isValid) return; - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(this.__image); - lime.graphics.utils.ImageCanvasUtil.createImageData(this.__image); - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(sourceBitmapData.__image); - lime.graphics.utils.ImageCanvasUtil.createImageData(sourceBitmapData.__image); - filter.__applyFilter(this.__image.buffer.__srcImageData,sourceBitmapData.__image.buffer.__srcImageData,sourceRect,destPoint); - this.__image.dirty = true; - } - ,clone: function() { - if(!this.__isValid) return new openfl.display.BitmapData(this.width,this.height,this.transparent); else return openfl.display.BitmapData.fromImage(this.__image.clone(),this.transparent); - } - ,colorTransform: function(rect,colorTransform) { - if(!this.__isValid) return; - this.__image.colorTransform(rect.__toLimeRectangle(),colorTransform.__toLimeColorMatrix()); - this.__usingFramebuffer = false; - } - ,copyChannel: function(sourceBitmapData,sourceRect,destPoint,sourceChannel,destChannel) { - if(!this.__isValid) return; - var sourceChannel1; - switch(sourceChannel) { - case 1: - sourceChannel1 = lime.graphics.ImageChannel.RED; - break; - case 2: - sourceChannel1 = lime.graphics.ImageChannel.GREEN; - break; - case 4: - sourceChannel1 = lime.graphics.ImageChannel.BLUE; - break; - case 8: - sourceChannel1 = lime.graphics.ImageChannel.ALPHA; - break; - default: - return; - } - var destChannel1; - switch(destChannel) { - case 1: - destChannel1 = lime.graphics.ImageChannel.RED; - break; - case 2: - destChannel1 = lime.graphics.ImageChannel.GREEN; - break; - case 4: - destChannel1 = lime.graphics.ImageChannel.BLUE; - break; - case 8: - destChannel1 = lime.graphics.ImageChannel.ALPHA; - break; - default: - return; - } - this.__image.copyChannel(sourceBitmapData.__image,sourceRect.__toLimeRectangle(),destPoint.__toLimeVector2(),sourceChannel1,destChannel1); - this.__usingFramebuffer = false; - } - ,copyPixels: function(sourceBitmapData,sourceRect,destPoint,alphaBitmapData,alphaPoint,mergeAlpha) { - if(mergeAlpha == null) mergeAlpha = false; - if(!this.__isValid || sourceBitmapData == null) return; - this.__image.copyPixels(sourceBitmapData.__image,sourceRect.__toLimeRectangle(),destPoint.__toLimeVector2(),alphaBitmapData != null?alphaBitmapData.__image:null,alphaPoint != null?alphaPoint.__toLimeVector2():null,mergeAlpha); - this.__usingFramebuffer = false; - } - ,dispose: function() { - this.__image = null; - this.width = 0; - this.height = 0; - this.rect = null; - this.__isValid = false; - if(this.__texture != null) { - var renderer = openfl.Lib.current.stage.__renderer; - if(renderer != null) { - var renderSession = renderer.renderSession; - var gl = renderSession.gl; - if(gl != null) gl.deleteTexture(this.__texture); - } - } - if(this.__framebuffer != null) this.__framebuffer.destroy(); - } - ,draw: function(source,matrix,colorTransform,blendMode,clipRect,smoothing) { - if(smoothing == null) smoothing = false; - if(!this.__isValid) return; - var _g = this.__image.type; - switch(_g[1]) { - case 0: - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(this.__image); - lime.graphics.utils.ImageCanvasUtil.sync(this.__image); - var buffer = this.__image.buffer; - var renderSession = new openfl._internal.renderer.RenderSession(); - renderSession.context = buffer.__srcContext; - renderSession.roundPixels = true; - if(!smoothing) { - buffer.__srcContext.mozImageSmoothingEnabled = false; - buffer.__srcContext.webkitImageSmoothingEnabled = false; - buffer.__srcContext.imageSmoothingEnabled = false; - } - var matrixCache = source.__worldTransform; - if(matrix != null) source.__worldTransform = matrix; else source.__worldTransform = new openfl.geom.Matrix(); - source.__updateChildren(false); - source.__renderCanvas(renderSession); - source.__worldTransform = matrixCache; - source.__updateChildren(true); - if(!smoothing) { - buffer.__srcContext.mozImageSmoothingEnabled = true; - buffer.__srcContext.webkitImageSmoothingEnabled = true; - buffer.__srcContext.imageSmoothingEnabled = true; - } - buffer.__srcContext.setTransform(1,0,0,1,0,0); - break; - case 1: - var renderSession1 = openfl.Lib.current.stage.__renderer.renderSession; - this.__drawGL(renderSession1,this.width,this.height,source,matrix,colorTransform,blendMode,clipRect,smoothing,!this.__usingFramebuffer,false,true); - break; - default: - } - } - ,encode: function(rect,compressor,byteArray) { - if(!this.__isValid || rect == null) return byteArray = null; - if(js.Boot.__instanceof(compressor,openfl.display.PNGEncoderOptions)) return byteArray = this.__image.encode("png"); else if(js.Boot.__instanceof(compressor,openfl.display.JPEGEncoderOptions)) return byteArray = this.__image.encode("jpg",(js.Boot.__cast(compressor , openfl.display.JPEGEncoderOptions)).quality); - return byteArray = null; - } - ,fillRect: function(rect,color) { - if(!this.__isValid || rect == null) return; - this.__image.fillRect(rect.__toLimeRectangle(),color,1); - this.__usingFramebuffer = false; - } - ,floodFill: function(x,y,color) { - if(!this.__isValid) return; - this.__image.floodFill(x,y,color,1); - this.__usingFramebuffer = false; - } - ,generateFilterRect: function(sourceRect,filter) { - return sourceRect.clone(); - } - ,getBuffer: function(gl) { - if(this.__buffer == null) { - var data = [this.width,this.height,0,1,1,0,this.height,0,0,1,this.width,0,0,1,0,0,0,0,0,0]; - this.__buffer = gl.createBuffer(); - gl.bindBuffer(gl.ARRAY_BUFFER,this.__buffer); - gl.bufferData(gl.ARRAY_BUFFER,new Float32Array(data),gl.STATIC_DRAW); - gl.bindBuffer(gl.ARRAY_BUFFER,null); - } - return this.__buffer; - } - ,getColorBoundsRect: function(mask,color,findColor) { - if(findColor == null) findColor = true; - if(!this.__isValid) return new openfl.geom.Rectangle(0,0,this.width,this.height); - var rect = this.__image.getColorBoundsRect(mask,color,findColor); - return new openfl.geom.Rectangle(rect.x,rect.y,rect.width,rect.height); - } - ,getPixel: function(x,y) { - if(!this.__isValid) return 0; - return this.__image.getPixel(x,y,1); - } - ,getPixel32: function(x,y) { - if(!this.__isValid) return 0; - return this.__image.getPixel32(x,y,1); - } - ,getPixels: function(rect) { - if(!this.__isValid) return null; - if(rect == null) rect = this.rect; - return this.__image.getPixels(rect.__toLimeRectangle(),1); - } - ,getSurface: function(clone) { - if(clone == null) clone = true; - if(!this.__isValid) return null; - if(this.__surface == null) this.__image.dirty = true; - if(this.__image != null && this.__image.dirty) { - if(this.__surface != null) lime.graphics.cairo._CairoSurface.CairoSurface_Impl_.destroy(this.__surface); - if(clone) this.__surfaceImage = this.__image.clone(); else this.__surfaceImage = this.__image; - this.__surfaceImage.set_format(2); - this.__surfaceImage.set_premultiplied(true); - this.__surface = lime.graphics.cairo._CairoSurface.CairoSurface_Impl_.fromImage(this.__surfaceImage); - this.__image.dirty = false; - } - return this.__surface; - } - ,getTexture: function(gl) { - if(!this.__isValid) return null; - if(this.__usingFramebuffer && this.__framebuffer != null) return this.__framebuffer.texture; - if(this.__texture == null) { - this.__texture = gl.createTexture(); - gl.bindTexture(gl.TEXTURE_2D,this.__texture); - gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_S,gl.CLAMP_TO_EDGE); - gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_WRAP_T,gl.CLAMP_TO_EDGE); - gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MAG_FILTER,gl.NEAREST); - gl.texParameteri(gl.TEXTURE_2D,gl.TEXTURE_MIN_FILTER,gl.NEAREST); - this.__image.dirty = true; - } - if(this.__image != null && this.__image.dirty) { - var internalFormat; - if(this.__image.buffer.bitsPerPixel == 1) internalFormat = gl.ALPHA; else internalFormat = gl.RGBA; - var format = internalFormat; - gl.bindTexture(gl.TEXTURE_2D,this.__texture); - var textureImage = this.__image; - if(this.__bgra) { - if(openfl.display.BitmapData.__supportsBGRA == null) openfl.display.BitmapData.__supportsBGRA = Lambda.has(gl.getSupportedExtensions(),"GL_EXT_bgra"); - textureImage = new lime.graphics.Image(null,0,0,this.__image.width,this.__image.height); - var rect = new lime.math.Rectangle(0,0,this.__image.width,this.__image.height); - var point = new lime.math.Vector2(0,0); - textureImage.copyChannel(this.__image,rect,point,lime.graphics.ImageChannel.RED,lime.graphics.ImageChannel.BLUE); - textureImage.copyChannel(this.__image,rect,point,lime.graphics.ImageChannel.GREEN,lime.graphics.ImageChannel.GREEN); - textureImage.copyChannel(this.__image,rect,point,lime.graphics.ImageChannel.BLUE,lime.graphics.ImageChannel.RED); - textureImage.copyChannel(this.__image,rect,point,lime.graphics.ImageChannel.ALPHA,lime.graphics.ImageChannel.ALPHA); - } - if(!textureImage.get_premultiplied() && textureImage.get_transparent()) { - textureImage = textureImage.clone(); - textureImage.set_premultiplied(true); - } - gl.texImage2D(gl.TEXTURE_2D,0,internalFormat,this.width,this.height,0,format,gl.UNSIGNED_BYTE,textureImage.get_data()); - gl.bindTexture(gl.TEXTURE_2D,null); - this.__image.dirty = false; - } - return this.__texture; - } - ,getVector: function(rect) { - var pixels = this.getPixels(rect); - var length = pixels.length / 4 | 0; - var result; - var this1; - this1 = new openfl.VectorData(); - var this2; - this2 = new Array(length); - this1.data = this2; - this1.length = length; - this1.fixed = true; - result = this1; - var _g = 0; - while(_g < length) { - var i = _g++; - var value = pixels.readUnsignedInt(); - if(!result.fixed) { - if(i >= result.length) result.length = i + 1; - if(result.data.length < result.length) { - var data; - var this3; - this3 = new Array(result.data.length + 10); - data = this3; - haxe.ds._Vector.Vector_Impl_.blit(result.data,0,data,0,result.data.length); - result.data = data; - } - } - result.data[i] = value; - } - return result; - } - ,histogram: function(hRect) { - var rect; - if(hRect != null) rect = hRect; else rect = new openfl.geom.Rectangle(0,0,this.width,this.height); - var pixels = this.getPixels(rect); - var result; - var _g = []; - var _g1 = 0; - while(_g1 < 4) { - var i = _g1++; - _g.push((function($this) { - var $r; - var _g2 = []; - { - var _g3 = 0; - while(_g3 < 256) { - var j = _g3++; - _g2.push(0); - } - } - $r = _g2; - return $r; - }(this))); - } - result = _g; - var _g21 = 0; - var _g11 = pixels.length; - while(_g21 < _g11) { - var i1 = _g21++; - ++result[i1 % 4][pixels.readUnsignedByte()]; - } - return result; - } - ,hitTest: function(firstPoint,firstAlphaThreshold,secondObject,secondBitmapDataPoint,secondAlphaThreshold) { - if(secondAlphaThreshold == null) secondAlphaThreshold = 1; - if(!this.__isValid) return false; - openfl.Lib.notImplemented("BitmapData.hitTest"); - return false; - } - ,lock: function() { - } - ,merge: function(sourceBitmapData,sourceRect,destPoint,redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier) { - if(!this.__isValid || sourceBitmapData == null || !sourceBitmapData.__isValid || sourceRect == null || destPoint == null) return; - this.__image.merge(sourceBitmapData.__image,sourceRect.__toLimeRectangle(),destPoint.__toLimeVector2(),redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier); - this.__usingFramebuffer = false; - } - ,noise: function(randomSeed,low,high,channelOptions,grayScale) { - if(grayScale == null) grayScale = false; - if(channelOptions == null) channelOptions = 7; - if(high == null) high = 255; - if(low == null) low = 0; - if(!this.__isValid) return; - openfl.Lib.notImplemented("BitmapData.noise"); - } - ,paletteMap: function(sourceBitmapData,sourceRect,destPoint,redArray,greenArray,blueArray,alphaArray) { - var sw = sourceRect.width | 0; - var sh = sourceRect.height | 0; - var pixels = this.getPixels(sourceRect); - pixels.position = 0; - var pixelValue; - var r; - var g; - var b; - var a; - var color; - var c1; - var c2; - var c3; - var c4; - var _g1 = 0; - var _g = sh * sw; - while(_g1 < _g) { - var i = _g1++; - pixelValue = pixels.readUnsignedInt(); - if(alphaArray == null) c1 = pixelValue & -16777216; else c1 = alphaArray[pixelValue >> 24 & 255]; - if(redArray == null) c2 = pixelValue & 16711680; else c2 = redArray[pixelValue >> 16 & 255]; - if(greenArray == null) c3 = pixelValue & 65280; else c3 = greenArray[pixelValue >> 8 & 255]; - if(blueArray == null) c4 = pixelValue & 255; else c4 = blueArray[pixelValue & 255]; - a = (c1 >> 24 & 255) + (c2 >> 24 & 255) + (c3 >> 24 & 255) + (c4 >> 24 & 255); - if(a > 255) a == 255; - r = (c1 >> 16 & 255) + (c2 >> 16 & 255) + (c3 >> 16 & 255) + (c4 >> 16 & 255); - if(r > 255) r == 255; - g = (c1 >> 8 & 255) + (c2 >> 8 & 255) + (c3 >> 8 & 255) + (c4 >> 8 & 255); - if(g > 255) g == 255; - b = (c1 & 255) + (c2 & 255) + (c3 & 255) + (c4 & 255); - if(b > 255) b == 255; - color = a << 24 | r << 16 | g << 8 | b; - pixels.position = i * 4; - pixels.writeUnsignedInt(color); - } - pixels.position = 0; - var destRect = new openfl.geom.Rectangle(destPoint.x,destPoint.y,sw,sh); - this.setPixels(destRect,pixels); - } - ,perlinNoise: function(baseX,baseY,numOctaves,randomSeed,stitch,fractalNoise,channelOptions,grayScale,offsets) { - if(grayScale == null) grayScale = false; - if(channelOptions == null) channelOptions = 7; - openfl.Lib.notImplemented("BitmapData.perlinNoise"); - } - ,scroll: function(x,y) { - openfl.Lib.notImplemented("BitmapData.scroll"); - } - ,setPixel: function(x,y,color) { - if(!this.__isValid) return; - this.__image.setPixel(x,y,color,1); - this.__usingFramebuffer = false; - } - ,setPixel32: function(x,y,color) { - if(!this.__isValid) return; - this.__image.setPixel32(x,y,color,1); - this.__usingFramebuffer = false; - } - ,setPixels: function(rect,byteArray) { - if(!this.__isValid || rect == null) return; - this.__image.setPixels(rect.__toLimeRectangle(),byteArray,1); - this.__usingFramebuffer = false; - } - ,setVector: function(rect,inputVector) { - var byteArray = new lime.utils.ByteArray(); - byteArray.set_length(inputVector.length * 4); - var _g = 0; - while(_g < inputVector.length) { - var color = inputVector.data[_g]; - ++_g; - byteArray.writeUnsignedInt(color); - } - byteArray.position = 0; - this.setPixels(rect,byteArray); - } - ,threshold: function(sourceBitmapData,sourceRect,destPoint,operation,threshold,color,mask,copySource) { - if(copySource == null) copySource = false; - if(mask == null) mask = -1; - if(color == null) color = 0; - if(sourceBitmapData == this && sourceRect.equals(this.rect) && destPoint.x == 0 && destPoint.y == 0) { - var hits = 0; - threshold = (threshold & 255) << 24 | (threshold >> 8 & 255) << 16 | (threshold >> 16 & 255) << 8 | threshold >> 24 & 255; - color = (color & 255) << 24 | (color >> 8 & 255) << 16 | (color >> 16 & 255) << 8 | color >> 24 & 255; - var memory = new lime.utils.ByteArray(); - memory.set_length(this.width * this.height * 4); - memory = this.getPixels(this.rect); - memory.position = 0; - openfl.Memory.select(memory); - var thresholdMask = threshold & mask; - var width_yy; - var position; - var pixelMask; - var pixelValue; - var i; - var test; - var _g1 = 0; - var _g = this.height; - while(_g1 < _g) { - var yy = _g1++; - width_yy = this.width * yy; - var _g3 = 0; - var _g2 = this.width; - while(_g3 < _g2) { - var xx = _g3++; - position = (width_yy + xx) * 4; - pixelValue = openfl.Memory.getI32(position); - pixelMask = pixelValue & mask; - i = openfl.display.BitmapData.__ucompare(pixelMask,thresholdMask); - test = false; - if(operation == "==") test = i == 0; else if(operation == "<") test = i == -1; else if(operation == ">") test = i == 1; else if(operation == "!=") test = i != 0; else if(operation == "<=") test = i == 0 || i == -1; else if(operation == ">=") test = i == 0 || i == 1; - if(test) { - openfl.Memory.setI32(position,color); - hits++; - } - } - } - memory.position = 0; - this.setPixels(this.rect,memory); - openfl.Memory.select(null); - return hits; - } else { - var sx = sourceRect.x | 0; - var sy = sourceRect.y | 0; - var sw = sourceBitmapData.width | 0; - var sh = sourceBitmapData.height | 0; - var dx = destPoint.x | 0; - var dy = destPoint.y | 0; - var bw = this.width - sw - dx; - var bh = this.height - sh - dy; - var dw; - if(bw < 0) dw = sw + (this.width - sw - dx); else dw = sw; - var dh; - if(bw < 0) dh = sh + (this.height - sh - dy); else dh = sh; - var hits1 = 0; - threshold = (threshold & 255) << 24 | (threshold >> 8 & 255) << 16 | (threshold >> 16 & 255) << 8 | threshold >> 24 & 255; - color = (color & 255) << 24 | (color >> 8 & 255) << 16 | (color >> 16 & 255) << 8 | color >> 24 & 255; - var canvasMemory = sw * sh * 4; - var sourceMemory = 0; - if(copySource) sourceMemory = sw * sh * 4; - var totalMemory = canvasMemory + sourceMemory; - var memory1 = new lime.utils.ByteArray(); - if(memory1.allocated < totalMemory) memory1.___resizeBuffer(memory1.allocated = Std["int"](Math.max(totalMemory,memory1.allocated * 2))); else if(memory1.allocated > totalMemory * 2) memory1.___resizeBuffer(memory1.allocated = totalMemory); - memory1.length = totalMemory; - totalMemory; - memory1.position = 0; - var bitmapData = sourceBitmapData.clone(); - var pixels = bitmapData.getPixels(sourceRect); - memory1.writeBytes(pixels); - memory1.position = canvasMemory; - if(copySource) memory1.writeBytes(pixels); - memory1.position = 0; - openfl.Memory.select(memory1); - var thresholdMask1 = threshold & mask; - var position1; - var pixelMask1; - var pixelValue1; - var i1; - var test1; - var _g4 = 0; - while(_g4 < dh) { - var yy1 = _g4++; - var _g11 = 0; - while(_g11 < dw) { - var xx1 = _g11++; - position1 = (xx1 + sx + (yy1 + sy) * sw) * 4; - pixelValue1 = openfl.Memory.getI32(position1); - pixelMask1 = pixelValue1 & mask; - i1 = openfl.display.BitmapData.__ucompare(pixelMask1,thresholdMask1); - test1 = false; - if(operation == "==") test1 = i1 == 0; else if(operation == "<") test1 = i1 == -1; else if(operation == ">") test1 = i1 == 1; else if(operation == "!=") test1 = i1 != 0; else if(operation == "<=") test1 = i1 == 0 || i1 == -1; else if(operation == ">=") test1 = i1 == 0 || i1 == 1; - if(test1) { - openfl.Memory.setI32(position1,color); - hits1++; - } else if(copySource) openfl.Memory.setI32(position1,openfl.Memory.getI32(canvasMemory + position1)); - } - } - memory1.position = 0; - bitmapData.setPixels(sourceRect,memory1); - this.copyPixels(bitmapData,bitmapData.rect,destPoint); - openfl.Memory.select(null); - return hits1; - } - } - ,unlock: function(changeRect) { - } - ,__createUVs: function() { - if(this.__uvData == null) this.__uvData = new openfl.display.TextureUvs(); - this.__uvData.x0 = 0; - this.__uvData.y0 = 0; - this.__uvData.x1 = 1; - this.__uvData.y1 = 0; - this.__uvData.x2 = 1; - this.__uvData.y2 = 1; - this.__uvData.x3 = 0; - this.__uvData.y3 = 1; - } - ,__drawGL: function(renderSession,width,height,source,matrix,colorTransform,blendMode,clipRect,smoothing,drawSelf,clearBuffer,readPixels) { - if(readPixels == null) readPixels = false; - if(clearBuffer == null) clearBuffer = false; - if(drawSelf == null) drawSelf = false; - if(smoothing == null) smoothing = false; - var renderer = openfl.Lib.current.stage.__renderer; - if(renderer == null) return; - var renderSession1 = renderer.renderSession; - var gl = renderSession1.gl; - if(gl == null) return; - var spritebatch = renderSession1.spriteBatch; - var renderTransparent = renderSession1.renderer.transparent; - var tmpRect; - if(clipRect == null) tmpRect = new openfl.geom.Rectangle(0,0,width,height); else tmpRect = clipRect.clone(); - renderSession1.renderer.transparent = this.transparent; - if(this.__framebuffer == null) this.__framebuffer = new openfl._internal.renderer.opengl.utils.FilterTexture(gl,width,height,smoothing); - this.__framebuffer.resize(width,height); - gl.bindFramebuffer(gl.FRAMEBUFFER,this.__framebuffer.frameBuffer); - renderer.setViewport(0,0,width,height); - spritebatch.begin(renderSession1,drawSelf?null:tmpRect); - gl.colorMask(true,true,true,true); - renderSession1.blendModeManager.setBlendMode(openfl.display.BlendMode.NORMAL); - renderSession1.shaderManager.setShader(renderSession1.shaderManager.defaultShader,true); - if(clearBuffer || drawSelf) this.__framebuffer.clear(); - if(drawSelf) { - this.__worldTransform.identity(); - this.__flipMatrix(this.__worldTransform); - this.__renderGL(renderSession1); - spritebatch.stop(); - gl.deleteTexture(this.__texture); - spritebatch.start(tmpRect); - } - var ctCache = source.__worldColorTransform; - var matrixCache = source.__worldTransform; - var blendModeCache = source.__blendMode; - var cached = source.__cacheAsBitmap; - var m; - if(matrix != null) m = new openfl.geom.Matrix(matrix.a,matrix.b,matrix.c,matrix.d,matrix.tx,matrix.ty); else m = new openfl.geom.Matrix(); - this.__flipMatrix(m); - source.__worldTransform = m; - if(colorTransform != null) source.__worldColorTransform = colorTransform; else source.__worldColorTransform = new openfl.geom.ColorTransform(); - source.__blendMode = blendMode; - source.__cacheAsBitmap = false; - source.__updateChildren(false); - source.__renderGL(renderSession1); - source.__worldColorTransform = ctCache; - source.__worldTransform = matrixCache; - source.__blendMode = blendModeCache; - source.__cacheAsBitmap = cached; - source.__updateChildren(true); - spritebatch.finish(); - if(readPixels) { - if(this.__image.width != width || this.__image.height != height) this.__image.resize(width,height); - gl.readPixels(0,0,width,height,gl.RGBA,gl.UNSIGNED_BYTE,this.__image.buffer.data); - } - gl.bindFramebuffer(gl.FRAMEBUFFER,renderSession1.defaultFramebuffer); - renderer.setViewport(0,0,renderSession1.renderer.width,renderSession1.renderer.height); - renderSession1.renderer.transparent = renderTransparent; - gl.colorMask(true,true,true,renderSession1.renderer.transparent); - this.__usingFramebuffer = true; - if(this.__image != null) { - this.__image.dirty = false; - this.__image.set_premultiplied(true); - } - this.__createUVs(); - this.__isValid = true; - } - ,__flipMatrix: function(m) { - var tx = m.tx; - var ty = m.ty; - m.tx = 0; - m.ty = 0; - m.scale(1,-1); - m.translate(0,this.height); - m.tx += tx; - m.ty -= ty; - } - ,__fromBase64: function(base64,type,onload) { - var _g = this; - lime.graphics.Image.fromBase64(base64,type,function(image) { - _g.__fromImage(image); - if(onload != null) onload(_g); - }); - } - ,__fromBytes: function(bytes,rawAlpha,onload) { - var _g = this; - lime.graphics.Image.fromBytes(bytes,function(image) { - _g.__fromImage(image); - if(rawAlpha != null) { - lime.graphics.utils.ImageCanvasUtil.convertToCanvas(_g.__image); - lime.graphics.utils.ImageCanvasUtil.createImageData(_g.__image); - var data = _g.__image.buffer.data; - var _g2 = 0; - var _g1 = rawAlpha.length; - while(_g2 < _g1) { - var i = _g2++; - data[i * 4 + 3] = rawAlpha.readUnsignedByte(); - } - _g.__image.dirty = true; - } - if(onload != null) onload(_g); - }); - } - ,__fromFile: function(path,onload,onerror) { - var _g = this; - lime.graphics.Image.fromFile(path,function(image) { - _g.__fromImage(image); - if(onload != null) onload(_g); - },onerror); - } - ,__fromImage: function(image) { - this.__image = image; - this.width = image.width; - this.height = image.height; - this.rect = new openfl.geom.Rectangle(0,0,image.width,image.height); - this.__isValid = true; - } - ,__renderCairo: function(renderSession) { - if(!this.__isValid) return; - var cairo = renderSession.cairo; - if(this.__worldTransform == null) this.__worldTransform = new openfl.geom.Matrix(); - var transform = this.__worldTransform; - if(renderSession.roundPixels) { - var matrix = transform.__toMatrix3(); - matrix.tx = Math.round(matrix.tx); - matrix.ty = Math.round(matrix.ty); - cairo.set_matrix(matrix); - } else cairo.set_matrix(transform.__toMatrix3()); - var surface = this.getSurface(); - if(surface != null) { - cairo.setSourceSurface(surface,0,0); - cairo.paint(); - } - } - ,__renderCairoMask: function(renderSession) { - } - ,__renderCanvas: function(renderSession) { - if(!this.__isValid) return; - lime.graphics.utils.ImageCanvasUtil.sync(this.__image); - var context = renderSession.context; - if(this.__worldTransform == null) this.__worldTransform = new openfl.geom.Matrix(); - context.globalAlpha = 1; - var transform = this.__worldTransform; - if(renderSession.roundPixels) context.setTransform(transform.a,transform.b,transform.c,transform.d,transform.tx | 0,transform.ty | 0); else context.setTransform(transform.a,transform.b,transform.c,transform.d,transform.tx,transform.ty); - context.drawImage(this.__image.buffer.get_src(),0,0); - } - ,__renderCanvasMask: function(renderSession) { - } - ,__renderGL: function(renderSession) { - renderSession.spriteBatch.renderBitmapData(this,false,this.__worldTransform,this.__worldColorTransform,this.__worldColorTransform.alphaMultiplier,this.__blendMode); - } - ,__sync: function() { - lime.graphics.utils.ImageCanvasUtil.sync(this.__image); - } - ,__updateChildren: function(transformOnly) { - } - ,__updateMask: function(maskGraphics) { - } - ,__class__: openfl.display.BitmapData -}; -openfl.display.TextureUvs = function() { - this.y3 = 0; - this.y2 = 0; - this.y1 = 0; - this.y0 = 0; - this.x3 = 0; - this.x2 = 0; - this.x1 = 0; - this.x0 = 0; -}; -$hxClasses["openfl.display.TextureUvs"] = openfl.display.TextureUvs; -openfl.display.TextureUvs.__name__ = ["openfl","display","TextureUvs"]; -openfl.display.TextureUvs.prototype = { - __class__: openfl.display.TextureUvs -}; -openfl.display.BitmapDataChannel = function() { }; -$hxClasses["openfl.display.BitmapDataChannel"] = openfl.display.BitmapDataChannel; -openfl.display.BitmapDataChannel.__name__ = ["openfl","display","BitmapDataChannel"]; -openfl.display.BlendMode = $hxClasses["openfl.display.BlendMode"] = { __ename__ : true, __constructs__ : ["ADD","ALPHA","DARKEN","DIFFERENCE","ERASE","HARDLIGHT","INVERT","LAYER","LIGHTEN","MULTIPLY","NORMAL","OVERLAY","SCREEN","SUBTRACT"] }; -openfl.display.BlendMode.ADD = ["ADD",0]; -openfl.display.BlendMode.ADD.toString = $estr; -openfl.display.BlendMode.ADD.__enum__ = openfl.display.BlendMode; -openfl.display.BlendMode.ALPHA = ["ALPHA",1]; -openfl.display.BlendMode.ALPHA.toString = $estr; -openfl.display.BlendMode.ALPHA.__enum__ = openfl.display.BlendMode; -openfl.display.BlendMode.DARKEN = ["DARKEN",2]; -openfl.display.BlendMode.DARKEN.toString = $estr; -openfl.display.BlendMode.DARKEN.__enum__ = openfl.display.BlendMode; -openfl.display.BlendMode.DIFFERENCE = ["DIFFERENCE",3]; -openfl.display.BlendMode.DIFFERENCE.toString = $estr; -openfl.display.BlendMode.DIFFERENCE.__enum__ = openfl.display.BlendMode; -openfl.display.BlendMode.ERASE = ["ERASE",4]; -openfl.display.BlendMode.ERASE.toString = $estr; -openfl.display.BlendMode.ERASE.__enum__ = openfl.display.BlendMode; -openfl.display.BlendMode.HARDLIGHT = ["HARDLIGHT",5]; -openfl.display.BlendMode.HARDLIGHT.toString = $estr; -openfl.display.BlendMode.HARDLIGHT.__enum__ = openfl.display.BlendMode; -openfl.display.BlendMode.INVERT = ["INVERT",6]; -openfl.display.BlendMode.INVERT.toString = $estr; -openfl.display.BlendMode.INVERT.__enum__ = openfl.display.BlendMode; -openfl.display.BlendMode.LAYER = ["LAYER",7]; -openfl.display.BlendMode.LAYER.toString = $estr; -openfl.display.BlendMode.LAYER.__enum__ = openfl.display.BlendMode; -openfl.display.BlendMode.LIGHTEN = ["LIGHTEN",8]; -openfl.display.BlendMode.LIGHTEN.toString = $estr; -openfl.display.BlendMode.LIGHTEN.__enum__ = openfl.display.BlendMode; -openfl.display.BlendMode.MULTIPLY = ["MULTIPLY",9]; -openfl.display.BlendMode.MULTIPLY.toString = $estr; -openfl.display.BlendMode.MULTIPLY.__enum__ = openfl.display.BlendMode; -openfl.display.BlendMode.NORMAL = ["NORMAL",10]; -openfl.display.BlendMode.NORMAL.toString = $estr; -openfl.display.BlendMode.NORMAL.__enum__ = openfl.display.BlendMode; -openfl.display.BlendMode.OVERLAY = ["OVERLAY",11]; -openfl.display.BlendMode.OVERLAY.toString = $estr; -openfl.display.BlendMode.OVERLAY.__enum__ = openfl.display.BlendMode; -openfl.display.BlendMode.SCREEN = ["SCREEN",12]; -openfl.display.BlendMode.SCREEN.toString = $estr; -openfl.display.BlendMode.SCREEN.__enum__ = openfl.display.BlendMode; -openfl.display.BlendMode.SUBTRACT = ["SUBTRACT",13]; -openfl.display.BlendMode.SUBTRACT.toString = $estr; -openfl.display.BlendMode.SUBTRACT.__enum__ = openfl.display.BlendMode; -openfl.display.DirectRenderer = function(type) { - if(type == null) type = "DirectRenderer"; - openfl.display.DisplayObject.call(this); -}; -$hxClasses["openfl.display.DirectRenderer"] = openfl.display.DirectRenderer; -openfl.display.DirectRenderer.__name__ = ["openfl","display","DirectRenderer"]; -openfl.display.DirectRenderer.__super__ = openfl.display.DisplayObject; -openfl.display.DirectRenderer.prototype = $extend(openfl.display.DisplayObject.prototype,{ - get_render: function() { - return this.__render; - } - ,set_render: function(value) { - return this.__render = value; - } - ,__class__: openfl.display.DirectRenderer - ,__properties__: $extend(openfl.display.DisplayObject.prototype.__properties__,{set_render:"set_render",get_render:"get_render"}) -}); -openfl.display.FrameLabel = function(name,frame) { - openfl.events.EventDispatcher.call(this); - this.__name = name; - this.__frame = frame; -}; -$hxClasses["openfl.display.FrameLabel"] = openfl.display.FrameLabel; -openfl.display.FrameLabel.__name__ = ["openfl","display","FrameLabel"]; -openfl.display.FrameLabel.__super__ = openfl.events.EventDispatcher; -openfl.display.FrameLabel.prototype = $extend(openfl.events.EventDispatcher.prototype,{ - get_frame: function() { - return this.__frame; - } - ,get_name: function() { - return this.__name; - } - ,__class__: openfl.display.FrameLabel - ,__properties__: {get_name:"get_name",get_frame:"get_frame"} -}); -openfl.display.GradientType = $hxClasses["openfl.display.GradientType"] = { __ename__ : true, __constructs__ : ["RADIAL","LINEAR"] }; -openfl.display.GradientType.RADIAL = ["RADIAL",0]; -openfl.display.GradientType.RADIAL.toString = $estr; -openfl.display.GradientType.RADIAL.__enum__ = openfl.display.GradientType; -openfl.display.GradientType.LINEAR = ["LINEAR",1]; -openfl.display.GradientType.LINEAR.toString = $estr; -openfl.display.GradientType.LINEAR.__enum__ = openfl.display.GradientType; -openfl.display.Graphics = function() { - this.__visible = true; - this.__glStack = []; - this.__dirty = true; - this.__commands = []; - this.__commands = new Array(); - this.__halfStrokeWidth = 0; - this.__positionX = 0; - this.__positionY = 0; - this.__hardware = true; - this.moveTo(0,0); -}; -$hxClasses["openfl.display.Graphics"] = openfl.display.Graphics; -openfl.display.Graphics.__name__ = ["openfl","display","Graphics"]; -openfl.display.Graphics.prototype = { - beginBitmapFill: function(bitmap,matrix,repeat,smooth) { - if(smooth == null) smooth = false; - if(repeat == null) repeat = true; - this.__commands.push(openfl.display.DrawCommand.BeginBitmapFill(bitmap,matrix != null?new openfl.geom.Matrix(matrix.a,matrix.b,matrix.c,matrix.d,matrix.tx,matrix.ty):null,repeat,smooth)); - this.__visible = true; - } - ,beginFill: function(color,alpha) { - if(alpha == null) alpha = 1; - if(color == null) color = 0; - this.__commands.push(openfl.display.DrawCommand.BeginFill(color & 16777215,alpha)); - if(alpha > 0) this.__visible = true; - } - ,beginGradientFill: function(type,colors,alphas,ratios,matrix,spreadMethod,interpolationMethod,focalPointRatio) { - this.__commands.push(openfl.display.DrawCommand.BeginGradientFill(type,colors,alphas,ratios,matrix,spreadMethod,interpolationMethod,focalPointRatio)); - this.__hardware = false; - var _g = 0; - while(_g < alphas.length) { - var alpha = alphas[_g]; - ++_g; - if(alpha > 0) { - this.__visible = true; - break; - } - } - } - ,clear: function() { - this.__commands = new Array(); - this.__halfStrokeWidth = 0; - if(this.__bounds != null) { - this.set___dirty(true); - this.__transformDirty = true; - this.__bounds = null; - } - this.__visible = false; - this.__hardware = true; - this.moveTo(0,0); - } - ,copyFrom: function(sourceGraphics) { - this.__bounds = sourceGraphics.__bounds.clone(); - this.__commands = sourceGraphics.__commands.slice(); - this.set___dirty(true); - this.__halfStrokeWidth = sourceGraphics.__halfStrokeWidth; - this.__positionX = sourceGraphics.__positionX; - this.__positionY = sourceGraphics.__positionY; - this.__transformDirty = true; - this.__visible = sourceGraphics.__visible; - } - ,cubicCurveTo: function(controlX1,controlY1,controlX2,controlY2,anchorX,anchorY) { - this.__inflateBounds(this.__positionX - this.__halfStrokeWidth,this.__positionY - this.__halfStrokeWidth); - this.__inflateBounds(this.__positionX + this.__halfStrokeWidth,this.__positionY + this.__halfStrokeWidth); - var ix1; - var iy1; - var ix2; - var iy2; - ix1 = anchorX; - ix2 = anchorX; - if(!((controlX1 < anchorX && controlX1 > this.__positionX || controlX1 > anchorX && controlX1 < this.__positionX) && (controlX2 < anchorX && controlX2 > this.__positionX || controlX2 > anchorX && controlX2 < this.__positionX))) { - var u = 2 * this.__positionX - 4 * controlX1 + 2 * controlX2; - var v = controlX1 - this.__positionX; - var w = -this.__positionX + 3 * controlX1 + anchorX - 3 * controlX2; - var t1 = (-u + Math.sqrt(u * u - 4 * v * w)) / (2 * w); - var t2 = (-u - Math.sqrt(u * u - 4 * v * w)) / (2 * w); - if(t1 > 0 && t1 < 1) ix1 = this.__calculateBezierCubicPoint(t1,this.__positionX,controlX1,controlX2,anchorX); - if(t2 > 0 && t2 < 1) ix2 = this.__calculateBezierCubicPoint(t2,this.__positionX,controlX1,controlX2,anchorX); - } - iy1 = anchorY; - iy2 = anchorY; - if(!((controlY1 < anchorY && controlY1 > this.__positionX || controlY1 > anchorY && controlY1 < this.__positionX) && (controlY2 < anchorY && controlY2 > this.__positionX || controlY2 > anchorY && controlY2 < this.__positionX))) { - var u1 = 2 * this.__positionX - 4 * controlY1 + 2 * controlY2; - var v1 = controlY1 - this.__positionX; - var w1 = -this.__positionX + 3 * controlY1 + anchorY - 3 * controlY2; - var t11 = (-u1 + Math.sqrt(u1 * u1 - 4 * v1 * w1)) / (2 * w1); - var t21 = (-u1 - Math.sqrt(u1 * u1 - 4 * v1 * w1)) / (2 * w1); - if(t11 > 0 && t11 < 1) iy1 = this.__calculateBezierCubicPoint(t11,this.__positionX,controlY1,controlY2,anchorY); - if(t21 > 0 && t21 < 1) iy2 = this.__calculateBezierCubicPoint(t21,this.__positionX,controlY1,controlY2,anchorY); - } - this.__inflateBounds(ix1 - this.__halfStrokeWidth,iy1 - this.__halfStrokeWidth); - this.__inflateBounds(ix1 + this.__halfStrokeWidth,iy1 + this.__halfStrokeWidth); - this.__inflateBounds(ix2 - this.__halfStrokeWidth,iy2 - this.__halfStrokeWidth); - this.__inflateBounds(ix2 + this.__halfStrokeWidth,iy2 + this.__halfStrokeWidth); - this.__positionX = anchorX; - this.__positionY = anchorY; - this.__commands.push(openfl.display.DrawCommand.CubicCurveTo(controlX1,controlY1,controlX2,controlY2,anchorX,anchorY)); - this.__hardware = false; - this.set___dirty(true); - } - ,curveTo: function(controlX,controlY,anchorX,anchorY) { - this.__inflateBounds(this.__positionX - this.__halfStrokeWidth,this.__positionY - this.__halfStrokeWidth); - this.__inflateBounds(this.__positionX + this.__halfStrokeWidth,this.__positionY + this.__halfStrokeWidth); - var ix; - var iy; - if(controlX < anchorX && controlX > this.__positionX || controlX > anchorX && controlX < this.__positionX) ix = anchorX; else { - var tx = (this.__positionX - controlX) / (this.__positionX - 2 * controlX + anchorX); - ix = this.__calculateBezierQuadPoint(tx,this.__positionX,controlX,anchorX); - } - if(controlY < anchorY && controlY > this.__positionY || controlY > anchorY && controlY < this.__positionY) iy = anchorY; else { - var ty = (this.__positionY - controlY) / (this.__positionY - 2 * controlY + anchorY); - iy = this.__calculateBezierQuadPoint(ty,this.__positionY,controlY,anchorY); - } - this.__inflateBounds(ix - this.__halfStrokeWidth,iy - this.__halfStrokeWidth); - this.__inflateBounds(ix + this.__halfStrokeWidth,iy + this.__halfStrokeWidth); - this.__positionX = anchorX; - this.__positionY = anchorY; - this.__commands.push(openfl.display.DrawCommand.CurveTo(controlX,controlY,anchorX,anchorY)); - this.__hardware = false; - this.set___dirty(true); - } - ,drawCircle: function(x,y,radius) { - if(radius <= 0) return; - this.__inflateBounds(x - radius - this.__halfStrokeWidth,y - radius - this.__halfStrokeWidth); - this.__inflateBounds(x + radius + this.__halfStrokeWidth,y + radius + this.__halfStrokeWidth); - this.__commands.push(openfl.display.DrawCommand.DrawCircle(x,y,radius)); - this.__hardware = false; - this.set___dirty(true); - } - ,drawEllipse: function(x,y,width,height) { - if(width <= 0 || height <= 0) return; - this.__inflateBounds(x - this.__halfStrokeWidth,y - this.__halfStrokeWidth); - this.__inflateBounds(x + width + this.__halfStrokeWidth,y + height + this.__halfStrokeWidth); - this.__commands.push(openfl.display.DrawCommand.DrawEllipse(x,y,width,height)); - this.__hardware = false; - this.set___dirty(true); - } - ,drawGraphicsData: function(graphicsData) { - openfl.Lib.notImplemented("Graphics.drawGraphicsData"); - } - ,drawPath: function(commands,data,winding) { - var dataIndex = 0; - var _g = 0; - while(_g < commands.length) { - var command = commands.data[_g]; - ++_g; - switch(command) { - case 1: - this.moveTo(data.data[dataIndex],data.data[dataIndex + 1]); - dataIndex += 2; - break; - case 2: - this.lineTo(data.data[dataIndex],data.data[dataIndex + 1]); - dataIndex += 2; - break; - case 3: - this.curveTo(data.data[dataIndex],data.data[dataIndex + 1],data.data[dataIndex + 2],data.data[dataIndex + 3]); - dataIndex += 4; - break; - case 6: - this.cubicCurveTo(data.data[dataIndex],data.data[dataIndex + 1],data.data[dataIndex + 2],data.data[dataIndex + 3],data.data[dataIndex + 4],data.data[dataIndex + 5]); - dataIndex += 6; - break; - default: - } - } - } - ,drawRect: function(x,y,width,height) { - if(width <= 0 || height <= 0) return; - this.__inflateBounds(x - this.__halfStrokeWidth,y - this.__halfStrokeWidth); - this.__inflateBounds(x + width + this.__halfStrokeWidth,y + height + this.__halfStrokeWidth); - this.__commands.push(openfl.display.DrawCommand.DrawRect(x,y,width,height)); - this.set___dirty(true); - } - ,drawRoundRect: function(x,y,width,height,rx,ry) { - if(ry == null) ry = -1; - if(width <= 0 || height <= 0) return; - this.__inflateBounds(x - this.__halfStrokeWidth,y - this.__halfStrokeWidth); - this.__inflateBounds(x + width + this.__halfStrokeWidth,y + height + this.__halfStrokeWidth); - this.__commands.push(openfl.display.DrawCommand.DrawRoundRect(x,y,width,height,rx,ry)); - this.__hardware = false; - this.set___dirty(true); - } - ,drawRoundRectComplex: function(x,y,width,height,topLeftRadius,topRightRadius,bottomLeftRadius,bottomRightRadius) { - openfl.Lib.notImplemented("Graphics.drawRoundRectComplex"); - } - ,drawTiles: function(sheet,tileData,smooth,flags,count) { - if(count == null) count = -1; - if(flags == null) flags = 0; - if(smooth == null) smooth = false; - this.__inflateBounds(0,0); - this.__inflateBounds(openfl.Lib.current.stage.stageWidth,openfl.Lib.current.stage.stageHeight); - this.__commands.push(openfl.display.DrawCommand.DrawTiles(sheet,tileData,smooth,flags,count)); - this.set___dirty(true); - this.__visible = true; - } - ,drawTriangles: function(vertices,indices,uvtData,culling,colors,blendMode) { - if(blendMode == null) blendMode = 0; - var vlen = vertices.length / 2 | 0; - if(culling == null) culling = openfl.display.TriangleCulling.NONE; - if(indices == null) { - if(vlen % 3 != 0) throw new openfl.errors.ArgumentError("Not enough vertices to close a triangle."); - var this1; - this1 = new openfl.VectorData(); - var this2; - this2 = new Array(0); - this1.data = this2; - this1.length = 0; - this1.fixed = false; - indices = this1; - var _g = 0; - while(_g < vlen) { - var i = _g++; - if(!indices.fixed) { - indices.length++; - if(indices.data.length < indices.length) { - var data; - var this3; - this3 = new Array(indices.data.length + 10); - data = this3; - haxe.ds._Vector.Vector_Impl_.blit(indices.data,0,data,0,indices.data.length); - indices.data = data; - } - indices.data[indices.length - 1] = i; - } - indices.length; - } - } - this.__inflateBounds(0,0); - var tmpx = Math.NEGATIVE_INFINITY; - var tmpy = Math.NEGATIVE_INFINITY; - var maxX = Math.NEGATIVE_INFINITY; - var maxY = Math.NEGATIVE_INFINITY; - var _g1 = 0; - while(_g1 < vlen) { - var i1 = _g1++; - tmpx = vertices.data[i1 * 2]; - tmpy = vertices.data[i1 * 2 + 1]; - if(maxX < tmpx) maxX = tmpx; - if(maxY < tmpy) maxY = tmpy; - } - this.__inflateBounds(maxX,maxY); - this.__commands.push(openfl.display.DrawCommand.DrawTriangles(vertices,indices,uvtData,culling,colors,blendMode)); - this.set___dirty(true); - this.__visible = true; - } - ,endFill: function() { - this.__commands.push(openfl.display.DrawCommand.EndFill); - } - ,lineBitmapStyle: function(bitmap,matrix,repeat,smooth) { - if(smooth == null) smooth = false; - if(repeat == null) repeat = true; - this.__commands.push(openfl.display.DrawCommand.LineBitmapStyle(bitmap,matrix != null?new openfl.geom.Matrix(matrix.a,matrix.b,matrix.c,matrix.d,matrix.tx,matrix.ty):null,repeat,smooth)); - } - ,lineGradientStyle: function(type,colors,alphas,ratios,matrix,spreadMethod,interpolationMethod,focalPointRatio) { - this.__commands.push(openfl.display.DrawCommand.LineGradientStyle(type,colors,alphas,ratios,matrix,spreadMethod,interpolationMethod,focalPointRatio)); - } - ,lineStyle: function(thickness,color,alpha,pixelHinting,scaleMode,caps,joints,miterLimit) { - if(thickness > this.__halfStrokeWidth) this.__halfStrokeWidth = thickness / 2; else this.__halfStrokeWidth = this.__halfStrokeWidth; - this.__commands.push(openfl.display.DrawCommand.LineStyle(thickness,color,alpha,pixelHinting,scaleMode,caps,joints,miterLimit)); - if(thickness != null) this.__visible = true; - } - ,lineTo: function(x,y) { - this.__inflateBounds(this.__positionX - this.__halfStrokeWidth,this.__positionY - this.__halfStrokeWidth); - this.__inflateBounds(this.__positionX + this.__halfStrokeWidth,this.__positionY + this.__halfStrokeWidth); - this.__positionX = x; - this.__positionY = y; - this.__inflateBounds(this.__positionX - this.__halfStrokeWidth,this.__positionY - this.__halfStrokeWidth); - this.__inflateBounds(this.__positionX + this.__halfStrokeWidth,this.__positionY + this.__halfStrokeWidth); - this.__commands.push(openfl.display.DrawCommand.LineTo(x,y)); - this.__hardware = false; - this.set___dirty(true); - } - ,moveTo: function(x,y) { - this.__positionX = x; - this.__positionY = y; - this.__commands.push(openfl.display.DrawCommand.MoveTo(x,y)); - } - ,__calculateBezierQuadPoint: function(t,p1,p2,p3) { - var iT = 1 - t; - return iT * iT * p1 + 2 * iT * t * p2 + t * t * p3; - } - ,__calculateBezierCubicPoint: function(t,p1,p2,p3,p4) { - var iT = 1 - t; - return p1 * (iT * iT * iT) + 3 * p2 * t * (iT * iT) + 3 * p3 * iT * (t * t) + p4 * (t * t * t); - } - ,__getBounds: function(rect,matrix) { - if(this.__bounds == null) return; - var bounds = this.__bounds.transform(matrix); - rect.__expand(bounds.x,bounds.y,bounds.width,bounds.height); - } - ,__hitTest: function(x,y,shapeFlag,matrix) { - if(this.__bounds == null) return false; - var bounds = this.__bounds.transform(matrix); - return x > bounds.x && y > bounds.y && x <= bounds.get_right() && y <= bounds.get_bottom(); - } - ,__inflateBounds: function(x,y) { - if(this.__bounds == null) { - this.__bounds = new openfl.geom.Rectangle(x,y,0,0); - this.__transformDirty = true; - return; - } - if(x < this.__bounds.x) { - this.__bounds.width += this.__bounds.x - x; - this.__bounds.x = x; - this.__transformDirty = true; - } - if(y < this.__bounds.y) { - this.__bounds.height += this.__bounds.y - y; - this.__bounds.y = y; - this.__transformDirty = true; - } - if(x > this.__bounds.x + this.__bounds.width) this.__bounds.width = x - this.__bounds.x; - if(y > this.__bounds.y + this.__bounds.height) this.__bounds.height = y - this.__bounds.y; - } - ,set___dirty: function(value) { - if(value && this.__owner != null) this.__owner.__setRenderDirty(); - return this.__dirty = value; - } - ,__class__: openfl.display.Graphics - ,__properties__: {set___dirty:"set___dirty"} -}; -openfl.display.DrawCommand = $hxClasses["openfl.display.DrawCommand"] = { __ename__ : true, __constructs__ : ["BeginBitmapFill","BeginFill","BeginGradientFill","CubicCurveTo","CurveTo","DrawCircle","DrawEllipse","DrawRect","DrawRoundRect","DrawTiles","DrawTriangles","EndFill","LineStyle","LineBitmapStyle","LineGradientStyle","LineTo","MoveTo","DrawPathC","OverrideMatrix"] }; -openfl.display.DrawCommand.BeginBitmapFill = function(bitmap,matrix,repeat,smooth) { var $x = ["BeginBitmapFill",0,bitmap,matrix,repeat,smooth]; $x.__enum__ = openfl.display.DrawCommand; $x.toString = $estr; return $x; }; -openfl.display.DrawCommand.BeginFill = function(color,alpha) { var $x = ["BeginFill",1,color,alpha]; $x.__enum__ = openfl.display.DrawCommand; $x.toString = $estr; return $x; }; -openfl.display.DrawCommand.BeginGradientFill = function(type,colors,alphas,ratios,matrix,spreadMethod,interpolationMethod,focalPointRatio) { var $x = ["BeginGradientFill",2,type,colors,alphas,ratios,matrix,spreadMethod,interpolationMethod,focalPointRatio]; $x.__enum__ = openfl.display.DrawCommand; $x.toString = $estr; return $x; }; -openfl.display.DrawCommand.CubicCurveTo = function(controlX1,controlY1,controlX2,controlY2,anchorX,anchorY) { var $x = ["CubicCurveTo",3,controlX1,controlY1,controlX2,controlY2,anchorX,anchorY]; $x.__enum__ = openfl.display.DrawCommand; $x.toString = $estr; return $x; }; -openfl.display.DrawCommand.CurveTo = function(controlX,controlY,anchorX,anchorY) { var $x = ["CurveTo",4,controlX,controlY,anchorX,anchorY]; $x.__enum__ = openfl.display.DrawCommand; $x.toString = $estr; return $x; }; -openfl.display.DrawCommand.DrawCircle = function(x,y,radius) { var $x = ["DrawCircle",5,x,y,radius]; $x.__enum__ = openfl.display.DrawCommand; $x.toString = $estr; return $x; }; -openfl.display.DrawCommand.DrawEllipse = function(x,y,width,height) { var $x = ["DrawEllipse",6,x,y,width,height]; $x.__enum__ = openfl.display.DrawCommand; $x.toString = $estr; return $x; }; -openfl.display.DrawCommand.DrawRect = function(x,y,width,height) { var $x = ["DrawRect",7,x,y,width,height]; $x.__enum__ = openfl.display.DrawCommand; $x.toString = $estr; return $x; }; -openfl.display.DrawCommand.DrawRoundRect = function(x,y,width,height,rx,ry) { var $x = ["DrawRoundRect",8,x,y,width,height,rx,ry]; $x.__enum__ = openfl.display.DrawCommand; $x.toString = $estr; return $x; }; -openfl.display.DrawCommand.DrawTiles = function(sheet,tileData,smooth,flags,count) { var $x = ["DrawTiles",9,sheet,tileData,smooth,flags,count]; $x.__enum__ = openfl.display.DrawCommand; $x.toString = $estr; return $x; }; -openfl.display.DrawCommand.DrawTriangles = function(vertices,indices,uvtData,culling,colors,blendMode) { var $x = ["DrawTriangles",10,vertices,indices,uvtData,culling,colors,blendMode]; $x.__enum__ = openfl.display.DrawCommand; $x.toString = $estr; return $x; }; -openfl.display.DrawCommand.EndFill = ["EndFill",11]; -openfl.display.DrawCommand.EndFill.toString = $estr; -openfl.display.DrawCommand.EndFill.__enum__ = openfl.display.DrawCommand; -openfl.display.DrawCommand.LineStyle = function(thickness,color,alpha,pixelHinting,scaleMode,caps,joints,miterLimit) { var $x = ["LineStyle",12,thickness,color,alpha,pixelHinting,scaleMode,caps,joints,miterLimit]; $x.__enum__ = openfl.display.DrawCommand; $x.toString = $estr; return $x; }; -openfl.display.DrawCommand.LineBitmapStyle = function(bitmap,matrix,repeat,smooth) { var $x = ["LineBitmapStyle",13,bitmap,matrix,repeat,smooth]; $x.__enum__ = openfl.display.DrawCommand; $x.toString = $estr; return $x; }; -openfl.display.DrawCommand.LineGradientStyle = function(type,colors,alphas,ratios,matrix,spreadMethod,interpolationMethod,focalPointRatio) { var $x = ["LineGradientStyle",14,type,colors,alphas,ratios,matrix,spreadMethod,interpolationMethod,focalPointRatio]; $x.__enum__ = openfl.display.DrawCommand; $x.toString = $estr; return $x; }; -openfl.display.DrawCommand.LineTo = function(x,y) { var $x = ["LineTo",15,x,y]; $x.__enum__ = openfl.display.DrawCommand; $x.toString = $estr; return $x; }; -openfl.display.DrawCommand.MoveTo = function(x,y) { var $x = ["MoveTo",16,x,y]; $x.__enum__ = openfl.display.DrawCommand; $x.toString = $estr; return $x; }; -openfl.display.DrawCommand.DrawPathC = function(commands,data,winding) { var $x = ["DrawPathC",17,commands,data,winding]; $x.__enum__ = openfl.display.DrawCommand; $x.toString = $estr; return $x; }; -openfl.display.DrawCommand.OverrideMatrix = function(matrix) { var $x = ["OverrideMatrix",18,matrix]; $x.__enum__ = openfl.display.DrawCommand; $x.toString = $estr; return $x; }; -openfl.display.GraphicsPathCommand = function() { }; -$hxClasses["openfl.display.GraphicsPathCommand"] = openfl.display.GraphicsPathCommand; -openfl.display.GraphicsPathCommand.__name__ = ["openfl","display","GraphicsPathCommand"]; -openfl.display.GraphicsPathWinding = $hxClasses["openfl.display.GraphicsPathWinding"] = { __ename__ : true, __constructs__ : ["EVEN_ODD","NON_ZERO"] }; -openfl.display.GraphicsPathWinding.EVEN_ODD = ["EVEN_ODD",0]; -openfl.display.GraphicsPathWinding.EVEN_ODD.toString = $estr; -openfl.display.GraphicsPathWinding.EVEN_ODD.__enum__ = openfl.display.GraphicsPathWinding; -openfl.display.GraphicsPathWinding.NON_ZERO = ["NON_ZERO",1]; -openfl.display.GraphicsPathWinding.NON_ZERO.toString = $estr; -openfl.display.GraphicsPathWinding.NON_ZERO.__enum__ = openfl.display.GraphicsPathWinding; -openfl.display.IGraphicsData = function() { }; -$hxClasses["openfl.display.IGraphicsData"] = openfl.display.IGraphicsData; -openfl.display.IGraphicsData.__name__ = ["openfl","display","IGraphicsData"]; -openfl.display.IGraphicsData.prototype = { - __class__: openfl.display.IGraphicsData -}; -openfl.display.GraphicsDataType = $hxClasses["openfl.display.GraphicsDataType"] = { __ename__ : true, __constructs__ : ["STROKE","SOLID","GRADIENT","PATH","BITMAP","END"] }; -openfl.display.GraphicsDataType.STROKE = ["STROKE",0]; -openfl.display.GraphicsDataType.STROKE.toString = $estr; -openfl.display.GraphicsDataType.STROKE.__enum__ = openfl.display.GraphicsDataType; -openfl.display.GraphicsDataType.SOLID = ["SOLID",1]; -openfl.display.GraphicsDataType.SOLID.toString = $estr; -openfl.display.GraphicsDataType.SOLID.__enum__ = openfl.display.GraphicsDataType; -openfl.display.GraphicsDataType.GRADIENT = ["GRADIENT",2]; -openfl.display.GraphicsDataType.GRADIENT.toString = $estr; -openfl.display.GraphicsDataType.GRADIENT.__enum__ = openfl.display.GraphicsDataType; -openfl.display.GraphicsDataType.PATH = ["PATH",3]; -openfl.display.GraphicsDataType.PATH.toString = $estr; -openfl.display.GraphicsDataType.PATH.__enum__ = openfl.display.GraphicsDataType; -openfl.display.GraphicsDataType.BITMAP = ["BITMAP",4]; -openfl.display.GraphicsDataType.BITMAP.toString = $estr; -openfl.display.GraphicsDataType.BITMAP.__enum__ = openfl.display.GraphicsDataType; -openfl.display.GraphicsDataType.END = ["END",5]; -openfl.display.GraphicsDataType.END.toString = $estr; -openfl.display.GraphicsDataType.END.__enum__ = openfl.display.GraphicsDataType; -openfl.display.JPEGEncoderOptions = function(quality) { - if(quality == null) quality = 80; - this.quality = quality; -}; -$hxClasses["openfl.display.JPEGEncoderOptions"] = openfl.display.JPEGEncoderOptions; -openfl.display.JPEGEncoderOptions.__name__ = ["openfl","display","JPEGEncoderOptions"]; -openfl.display.JPEGEncoderOptions.prototype = { - __class__: openfl.display.JPEGEncoderOptions -}; -openfl.display.Loader = function() { - openfl.display.Sprite.call(this); - this.contentLoaderInfo = openfl.display.LoaderInfo.create(this); -}; -$hxClasses["openfl.display.Loader"] = openfl.display.Loader; -openfl.display.Loader.__name__ = ["openfl","display","Loader"]; -openfl.display.Loader.__super__ = openfl.display.Sprite; -openfl.display.Loader.prototype = $extend(openfl.display.Sprite.prototype,{ - close: function() { - openfl.Lib.notImplemented("Loader.close"); - } - ,load: function(request,context) { - var extension = ""; - var parts = request.url.split("."); - if(parts.length > 0) extension = parts[parts.length - 1].toLowerCase(); - if(extension.indexOf("?") != -1) extension = extension.split("?")[0]; - var transparent = true; - this.contentLoaderInfo.url = request.url; - if(request.contentType == null && request.contentType != "") switch(extension) { - case "swf": - this.contentLoaderInfo.contentType = "application/x-shockwave-flash"; - break; - case "jpg":case "jpeg": - transparent = false; - this.contentLoaderInfo.contentType = "image/jpeg"; - break; - case "png": - this.contentLoaderInfo.contentType = "image/png"; - break; - case "gif": - this.contentLoaderInfo.contentType = "image/gif"; - break; - default: - this.contentLoaderInfo.contentType = "application/x-www-form-urlencoded"; - } else this.contentLoaderInfo.contentType = request.contentType; - openfl.display.BitmapData.fromFile(request.url,$bind(this,this.BitmapData_onLoad),$bind(this,this.BitmapData_onError)); - } - ,loadBytes: function(buffer) { - openfl.display.BitmapData.fromBytes(buffer,null,$bind(this,this.BitmapData_onLoad)); - } - ,unload: function() { - if(this.get_numChildren() > 0) { - while(this.get_numChildren() > 0) this.removeChildAt(0); - this.content = null; - this.contentLoaderInfo.url = null; - this.contentLoaderInfo.contentType = null; - this.contentLoaderInfo.content = null; - this.contentLoaderInfo.bytesLoaded = 0; - this.contentLoaderInfo.bytesTotal = 0; - this.contentLoaderInfo.width = 0; - this.contentLoaderInfo.height = 0; - var event = new openfl.events.Event(openfl.events.Event.UNLOAD); - event.currentTarget = this; - this.dispatchEvent(event); - } - } - ,unloadAndStop: function(gc) { - if(gc == null) gc = true; - openfl.Lib.notImplemented("Loader.unloadAndStop"); - } - ,BitmapData_onLoad: function(bitmapData) { - this.contentLoaderInfo.content = new openfl.display.Bitmap(bitmapData); - this.content = this.contentLoaderInfo.content; - this.addChild(this.contentLoaderInfo.content); - var event = new openfl.events.Event(openfl.events.Event.COMPLETE); - event.target = this.contentLoaderInfo; - event.currentTarget = this.contentLoaderInfo; - this.contentLoaderInfo.dispatchEvent(event); - } - ,BitmapData_onError: function() { - var event = new openfl.events.IOErrorEvent(openfl.events.IOErrorEvent.IO_ERROR); - event.target = this.contentLoaderInfo; - event.currentTarget = this.contentLoaderInfo; - this.contentLoaderInfo.dispatchEvent(event); - } - ,__class__: openfl.display.Loader -}); -openfl.display.OpenGLView = function() { - openfl.display.DirectRenderer.call(this,"OpenGLView"); - if(!this.__added) { - this.__added = true; - haxe.Log.trace("Warning: OpenGLView is not available in HTML5 canvas rendering mode",{ fileName : "OpenGLView.hx", lineNumber : 66, className : "openfl.display.OpenGLView", methodName : "new"}); - haxe.Log.trace("Please compile your project using -Ddom or -Dwebgl (beta) to enable",{ fileName : "OpenGLView.hx", lineNumber : 67, className : "openfl.display.OpenGLView", methodName : "new"}); - } -}; -$hxClasses["openfl.display.OpenGLView"] = openfl.display.OpenGLView; -openfl.display.OpenGLView.__name__ = ["openfl","display","OpenGLView"]; -openfl.display.OpenGLView.__properties__ = {get_isSupported:"get_isSupported"} -openfl.display.OpenGLView.isSupported = null; -openfl.display.OpenGLView.get_isSupported = function() { - if(!window.WebGLRenderingContext) return false; - if(lime.graphics.opengl.GL.context != null) return true; else { - var canvas = window.document.createElement("canvas"); - var context = canvas.getContext("webgl"); - if(context == null) context = canvas.getContext("experimental-webgl"); - return context != null; - } - return true; -}; -openfl.display.OpenGLView.__super__ = openfl.display.DirectRenderer; -openfl.display.OpenGLView.prototype = $extend(openfl.display.DirectRenderer.prototype,{ - __renderCanvas: function(renderSession) { - } - ,__renderDOM: function(renderSession) { - if(this.stage != null && this.__worldVisible && this.__renderable) { - if(!this.__added) { - renderSession.element.appendChild(this.__canvas); - this.__added = true; - openfl._internal.renderer.dom.DOMRenderer.initializeElement(this,this.__canvas,renderSession); - } - if(this.__context != null) { - var rect = null; - if(this.get_scrollRect() == null) rect = new openfl.geom.Rectangle(0,0,this.stage.stageWidth,this.stage.stageHeight); else rect = new openfl.geom.Rectangle(this.get_x() + this.get_scrollRect().x,this.get_y() + this.get_scrollRect().y,this.get_scrollRect().width,this.get_scrollRect().height); - if(this.__render != null) this.__render(rect); - } - } else if(this.__added) { - renderSession.element.removeChild(this.__canvas); - this.__added = false; - } - } - ,__renderGL: function(renderSession) { - if(this.stage != null && this.__renderable) { - var rect = null; - if(this.get_scrollRect() == null) rect = new openfl.geom.Rectangle(0,0,this.stage.stageWidth,this.stage.stageHeight); else rect = new openfl.geom.Rectangle(this.get_x() + this.get_scrollRect().x,this.get_y() + this.get_scrollRect().y,this.get_scrollRect().width,this.get_scrollRect().height); - if(this.__render != null) this.__render(rect); - renderSession.shaderManager.setShader(null); - renderSession.blendModeManager.setBlendMode(null); - } - } - ,__class__: openfl.display.OpenGLView -}); -openfl.display.PNGEncoderOptions = function(fastCompression) { - if(fastCompression == null) fastCompression = false; - this.fastCompression = fastCompression; -}; -$hxClasses["openfl.display.PNGEncoderOptions"] = openfl.display.PNGEncoderOptions; -openfl.display.PNGEncoderOptions.__name__ = ["openfl","display","PNGEncoderOptions"]; -openfl.display.PNGEncoderOptions.prototype = { - __class__: openfl.display.PNGEncoderOptions -}; -openfl.display.PixelSnapping = $hxClasses["openfl.display.PixelSnapping"] = { __ename__ : true, __constructs__ : ["NEVER","AUTO","ALWAYS"] }; -openfl.display.PixelSnapping.NEVER = ["NEVER",0]; -openfl.display.PixelSnapping.NEVER.toString = $estr; -openfl.display.PixelSnapping.NEVER.__enum__ = openfl.display.PixelSnapping; -openfl.display.PixelSnapping.AUTO = ["AUTO",1]; -openfl.display.PixelSnapping.AUTO.toString = $estr; -openfl.display.PixelSnapping.AUTO.__enum__ = openfl.display.PixelSnapping; -openfl.display.PixelSnapping.ALWAYS = ["ALWAYS",2]; -openfl.display.PixelSnapping.ALWAYS.toString = $estr; -openfl.display.PixelSnapping.ALWAYS.__enum__ = openfl.display.PixelSnapping; -openfl.display.Preloader = function(display) { - lime.app.Preloader.call(this); - if(display != null) { - this.display = display; - openfl.Lib.current.addChild(display); - if(js.Boot.__instanceof(display,NMEPreloader)) (js.Boot.__cast(display , NMEPreloader)).onInit(); - } -}; -$hxClasses["openfl.display.Preloader"] = openfl.display.Preloader; -openfl.display.Preloader.__name__ = ["openfl","display","Preloader"]; -openfl.display.Preloader.__super__ = lime.app.Preloader; -openfl.display.Preloader.prototype = $extend(lime.app.Preloader.prototype,{ - load: function(urls,types) { - var sounds = []; - var url = null; - var _g1 = 0; - var _g = urls.length; - while(_g1 < _g) { - var i = _g1++; - url = urls[i]; - var _g2 = types[i]; - switch(_g2) { - case "MUSIC":case "SOUND": - var sound = haxe.io.Path.withoutExtension(url); - if(!HxOverrides.remove(sounds,sound)) this.total++; - sounds.push(sound); - break; - default: - } - } - var _g3 = 0; - while(_g3 < sounds.length) { - var soundName = sounds[_g3]; - ++_g3; - var sound1 = new openfl.media.Sound(); - sound1.addEventListener(openfl.events.Event.COMPLETE,$bind(this,this.sound_onComplete)); - sound1.addEventListener(openfl.events.IOErrorEvent.IO_ERROR,$bind(this,this.sound_onIOError)); - sound1.load(new openfl.net.URLRequest(soundName + ".ogg")); - } - lime.app.Preloader.prototype.load.call(this,urls,types); - } - ,start: function() { - if(this.display != null && js.Boot.__instanceof(this.display,NMEPreloader)) { - this.display.addEventListener(openfl.events.Event.COMPLETE,$bind(this,this.display_onComplete)); - (js.Boot.__cast(this.display , NMEPreloader)).onLoaded(); - } else lime.app.Preloader.prototype.start.call(this); - } - ,update: function(loaded,total) { - if(this.display != null && js.Boot.__instanceof(this.display,NMEPreloader)) (js.Boot.__cast(this.display , NMEPreloader)).onUpdate(loaded,total); - } - ,display_onComplete: function(event) { - this.display.removeEventListener(openfl.events.Event.COMPLETE,$bind(this,this.display_onComplete)); - openfl.Lib.current.removeChild(this.display); - openfl.Lib.current.stage.set_focus(null); - this.display = null; - lime.app.Preloader.prototype.start.call(this); - } - ,sound_onComplete: function(event) { - this.loaded++; - this.update(this.loaded,this.total); - if(this.loaded == this.total) this.start(); - } - ,sound_onIOError: function(event) { - this.loaded++; - this.update(this.loaded,this.total); - if(this.loaded == this.total) this.start(); - } - ,__class__: openfl.display.Preloader -}); -openfl.display.Shape = function() { - openfl.display.DisplayObject.call(this); -}; -$hxClasses["openfl.display.Shape"] = openfl.display.Shape; -openfl.display.Shape.__name__ = ["openfl","display","Shape"]; -openfl.display.Shape.__super__ = openfl.display.DisplayObject; -openfl.display.Shape.prototype = $extend(openfl.display.DisplayObject.prototype,{ - get_graphics: function() { - if(this.__graphics == null) { - this.__graphics = new openfl.display.Graphics(); - this.__graphics.__owner = this; - } - return this.__graphics; - } - ,__class__: openfl.display.Shape - ,__properties__: $extend(openfl.display.DisplayObject.prototype.__properties__,{get_graphics:"get_graphics"}) -}); -openfl.display.Stage = function(width,height,color) { - openfl.display.DisplayObjectContainer.call(this); - if(color == null) { - this.__transparent = true; - this.set_color(0); - } else this.set_color(color); - this.set_name(null); - this.__displayState = openfl.display.StageDisplayState.NORMAL; - this.__mouseX = 0; - this.__mouseY = 0; - this.__lastClickTime = 0; - this.stageWidth = width; - this.stageHeight = height; - this.stage = this; - this.align = openfl.display.StageAlign.TOP_LEFT; - this.allowsFullScreen = false; - this.quality = openfl.display.StageQuality.HIGH; - this.scaleMode = openfl.display.StageScaleMode.NO_SCALE; - this.stageFocusRect = true; - this.__clearBeforeRender = true; - this.__stack = []; - this.__mouseOutStack = []; - var this1; - this1 = new openfl.VectorData(); - var this2; - this2 = new Array(0); - this1.data = this2; - this1.length = 0; - this1.fixed = false; - this.stage3Ds = this1; - var this3 = this.stage3Ds; - var x = new openfl.display.Stage3D(); - if(!this3.fixed) { - this3.length++; - if(this3.data.length < this3.length) { - var data; - var this4; - this4 = new Array(this3.data.length + 10); - data = this4; - haxe.ds._Vector.Vector_Impl_.blit(this3.data,0,data,0,this3.data.length); - this3.data = data; - } - this3.data[this3.length - 1] = x; - } - this3.length; -}; -$hxClasses["openfl.display.Stage"] = openfl.display.Stage; -openfl.display.Stage.__name__ = ["openfl","display","Stage"]; -openfl.display.Stage.__interfaces__ = [lime.app.IModule]; -openfl.display.Stage.__super__ = openfl.display.DisplayObjectContainer; -openfl.display.Stage.prototype = $extend(openfl.display.DisplayObjectContainer.prototype,{ - globalToLocal: function(pos) { - return pos; - } - ,init: function(context) { - switch(context[1]) { - case 0: - var gl = context[2]; - this.__renderer = new openfl._internal.renderer.opengl.GLRenderer(this.stageWidth,this.stageHeight,gl); - break; - case 1: - var context1 = context[2]; - this.__renderer = new openfl._internal.renderer.canvas.CanvasRenderer(this.stageWidth,this.stageHeight,context1); - break; - case 2: - var element = context[2]; - this.__renderer = new openfl._internal.renderer.dom.DOMRenderer(this.stageWidth,this.stageHeight,element); - break; - case 4: - var cairo = context[2]; - this.__renderer = new openfl._internal.renderer.cairo.CairoRenderer(this.stageWidth,this.stageHeight,cairo); - break; - default: - } - } - ,invalidate: function() { - this.__invalidated = true; - } - ,localToGlobal: function(pos) { - return pos; - } - ,onGamepadAxisMove: function(gamepad,axis,value) { - openfl.ui.GameInput.__onGamepadAxisMove(gamepad,axis,value); - } - ,onGamepadButtonDown: function(gamepad,button) { - openfl.ui.GameInput.__onGamepadButtonDown(gamepad,button); - } - ,onGamepadButtonUp: function(gamepad,button) { - openfl.ui.GameInput.__onGamepadButtonUp(gamepad,button); - } - ,onGamepadConnect: function(gamepad) { - openfl.ui.GameInput.__onGamepadConnect(gamepad); - } - ,onGamepadDisconnect: function(gamepad) { - openfl.ui.GameInput.__onGamepadDisconnect(gamepad); - } - ,onKeyDown: function(keyCode,modifier) { - this.__onKey(openfl.events.KeyboardEvent.KEY_DOWN,keyCode,modifier); - } - ,onKeyUp: function(keyCode,modifier) { - this.__onKey(openfl.events.KeyboardEvent.KEY_UP,keyCode,modifier); - } - ,onMouseDown: function(x,y,button) { - var type; - switch(button) { - case 1: - type = openfl.events.MouseEvent.MIDDLE_MOUSE_DOWN; - break; - case 2: - type = openfl.events.MouseEvent.RIGHT_MOUSE_DOWN; - break; - default: - type = openfl.events.MouseEvent.MOUSE_DOWN; - } - this.__onMouse(type,x,y,button); - } - ,onMouseMove: function(x,y) { - this.__onMouse(openfl.events.MouseEvent.MOUSE_MOVE,x,y,0); - } - ,onMouseMoveRelative: function(x,y) { - } - ,onMouseUp: function(x,y,button) { - var type; - switch(button) { - case 1: - type = openfl.events.MouseEvent.MIDDLE_MOUSE_UP; - break; - case 2: - type = openfl.events.MouseEvent.RIGHT_MOUSE_UP; - break; - default: - type = openfl.events.MouseEvent.MOUSE_UP; - } - this.__onMouse(type,x,y,button); - } - ,onMouseWheel: function(deltaX,deltaY) { - this.__onMouseWheel(deltaX,deltaY); - } - ,onRenderContextLost: function() { - } - ,onRenderContextRestored: function(context) { - } - ,onTextEdit: function(text,start,length) { - } - ,onTextInput: function(text) { - var stack = new Array(); - if(this.__focus == null) this.__getInteractive(stack); else this.__focus.__getInteractive(stack); - var event = new openfl.events.TextEvent(openfl.events.TextEvent.TEXT_INPUT,true,false,text); - if(stack.length > 0) { - stack.reverse(); - this.__fireEvent(event,stack); - } else this.__broadcast(event,true); - } - ,onTouchMove: function(x,y,id) { - this.__onTouch("touchMove",x,y,id); - } - ,onTouchEnd: function(x,y,id) { - this.__onTouch("touchEnd",x,y,id); - } - ,onTouchStart: function(x,y,id) { - this.__onTouch("touchBegin",x,y,id); - } - ,onWindowActivate: function() { - var event = new openfl.events.Event(openfl.events.Event.ACTIVATE); - this.__broadcast(event,true); - } - ,onWindowClose: function() { - } - ,onWindowDeactivate: function() { - var event = new openfl.events.Event(openfl.events.Event.DEACTIVATE); - this.__broadcast(event,true); - } - ,onWindowEnter: function() { - } - ,onWindowFocusIn: function() { - var event = new openfl.events.FocusEvent(openfl.events.FocusEvent.FOCUS_IN,true,false,null,false,0); - this.__broadcast(event,true); - } - ,onWindowFocusOut: function() { - var event = new openfl.events.FocusEvent(openfl.events.FocusEvent.FOCUS_OUT,true,false,null,false,0); - this.__broadcast(event,true); - } - ,onWindowFullscreen: function() { - } - ,onWindowLeave: function() { - this.dispatchEvent(new openfl.events.Event(openfl.events.Event.MOUSE_LEAVE)); - } - ,onWindowMinimize: function() { - } - ,onWindowMove: function(x,y) { - } - ,onWindowResize: function(width,height) { - this.stageWidth = width; - this.stageHeight = height; - if(this.__renderer != null) this.__renderer.resize(width,height); - var event = new openfl.events.Event(openfl.events.Event.RESIZE); - this.__broadcast(event,false); - } - ,onWindowRestore: function() { - } - ,render: function(context) { - if(this.__rendering) return; - this.__rendering = true; - this.__broadcast(new openfl.events.Event(openfl.events.Event.ENTER_FRAME),true); - if(this.__invalidated) { - this.__invalidated = false; - this.__broadcast(new openfl.events.Event(openfl.events.Event.RENDER),true); - } - this.__renderable = true; - this.__update(false,true); - if(this.__renderer != null) { - switch(context[1]) { - case 4: - var cairo = context[2]; - (js.Boot.__cast(this.__renderer , openfl._internal.renderer.cairo.CairoRenderer)).cairo = cairo; - this.__renderer.renderSession.cairo = cairo; - break; - default: - } - this.__renderer.render(this); - } - this.__rendering = false; - } - ,update: function(deltaTime) { - } - ,__drag: function(mouse) { - var parent = this.__dragObject.parent; - if(parent != null) mouse = parent.globalToLocal(mouse); - var x = mouse.x + this.__dragOffsetX; - var y = mouse.y + this.__dragOffsetY; - if(this.__dragBounds != null) { - if(x < this.__dragBounds.x) x = this.__dragBounds.x; else if(x > this.__dragBounds.get_right()) x = this.__dragBounds.get_right(); - if(y < this.__dragBounds.y) y = this.__dragBounds.y; else if(y > this.__dragBounds.get_bottom()) y = this.__dragBounds.get_bottom(); - } - this.__dragObject.set_x(x); - this.__dragObject.set_y(y); - } - ,__fireEvent: function(event,stack) { - var length = stack.length; - if(length == 0) { - event.eventPhase = openfl.events.EventPhase.AT_TARGET; - event.target.__broadcast(event,false); - } else { - event.eventPhase = openfl.events.EventPhase.CAPTURING_PHASE; - event.target = stack[stack.length - 1]; - var _g1 = 0; - var _g = length - 1; - while(_g1 < _g) { - var i = _g1++; - stack[i].__broadcast(event,false); - if(event.__isCancelled) return; - } - event.eventPhase = openfl.events.EventPhase.AT_TARGET; - event.target.__broadcast(event,false); - if(event.__isCancelled) return; - if(event.bubbles) { - event.eventPhase = openfl.events.EventPhase.BUBBLING_PHASE; - var i1 = length - 2; - while(i1 >= 0) { - stack[i1].__broadcast(event,false); - if(event.__isCancelled) return; - i1--; - } - } - } - } - ,__getInteractive: function(stack) { - if(stack != null) stack.push(this); - return true; - } - ,__onKey: function(type,keyCode,modifier) { - openfl.events.MouseEvent.__altKey = lime.ui._KeyModifier.KeyModifier_Impl_.get_altKey(modifier); - openfl.events.MouseEvent.__commandKey = lime.ui._KeyModifier.KeyModifier_Impl_.get_metaKey(modifier); - openfl.events.MouseEvent.__ctrlKey = lime.ui._KeyModifier.KeyModifier_Impl_.get_ctrlKey(modifier); - openfl.events.MouseEvent.__shiftKey = lime.ui._KeyModifier.KeyModifier_Impl_.get_shiftKey(modifier); - var stack = new Array(); - if(this.__focus == null) this.__getInteractive(stack); else this.__focus.__getInteractive(stack); - if(stack.length > 0) { - var keyCode1 = openfl.ui.Keyboard.convertKeyCode(keyCode); - var charCode = openfl.ui.Keyboard.__getCharCode(keyCode1,lime.ui._KeyModifier.KeyModifier_Impl_.get_shiftKey(modifier)); - var event = new openfl.events.KeyboardEvent(type,true,false,charCode,keyCode1,null,lime.ui._KeyModifier.KeyModifier_Impl_.get_ctrlKey(modifier),lime.ui._KeyModifier.KeyModifier_Impl_.get_altKey(modifier),lime.ui._KeyModifier.KeyModifier_Impl_.get_shiftKey(modifier),lime.ui._KeyModifier.KeyModifier_Impl_.get_metaKey(modifier)); - stack.reverse(); - this.__fireEvent(event,stack); - } - } - ,__onMouse: function(type,x,y,button) { - if(button > 2) return; - this.__mouseX = x; - this.__mouseY = y; - var stack = []; - var target = null; - var targetPoint = new openfl.geom.Point(x,y); - if(this.__hitTest(x,y,false,stack,true)) target = stack[stack.length - 1]; else { - target = this; - stack = [this]; - } - if(type == openfl.events.MouseEvent.MOUSE_DOWN) this.set_focus(target); - this.__fireEvent(openfl.events.MouseEvent.__create(type,button,this.__mouseX,this.__mouseY,target == this?targetPoint:target.globalToLocal(targetPoint),target),stack); - var clickType; - switch(type) { - case openfl.events.MouseEvent.MOUSE_UP: - clickType = openfl.events.MouseEvent.CLICK; - break; - case openfl.events.MouseEvent.MIDDLE_MOUSE_UP: - clickType = openfl.events.MouseEvent.MIDDLE_CLICK; - break; - case openfl.events.MouseEvent.RIGHT_MOUSE_UP: - clickType = openfl.events.MouseEvent.RIGHT_CLICK; - break; - default: - clickType = null; - } - if(clickType != null) { - this.__fireEvent(openfl.events.MouseEvent.__create(clickType,button,this.__mouseX,this.__mouseY,target == this?targetPoint:target.globalToLocal(targetPoint),target),stack); - if(type == openfl.events.MouseEvent.MOUSE_UP && (js.Boot.__cast(target , openfl.display.InteractiveObject)).doubleClickEnabled) { - var currentTime = openfl.Lib.getTimer(); - if(currentTime - this.__lastClickTime < 500) { - this.__fireEvent(openfl.events.MouseEvent.__create(openfl.events.MouseEvent.DOUBLE_CLICK,button,this.__mouseX,this.__mouseY,target == this?targetPoint:target.globalToLocal(targetPoint),target),stack); - this.__lastClickTime = 0; - } else this.__lastClickTime = currentTime; - } - } - var cursor = null; - var _g = 0; - while(_g < stack.length) { - var target1 = stack[_g]; - ++_g; - cursor = target1.__getCursor(); - if(cursor != null) { - lime.ui.Mouse.set_cursor(cursor); - break; - } - } - if(cursor == null) lime.ui.Mouse.set_cursor(lime.ui.MouseCursor.ARROW); - var _g1 = 0; - var _g11 = this.__mouseOutStack; - while(_g1 < _g11.length) { - var target2 = _g11[_g1]; - ++_g1; - if(HxOverrides.indexOf(stack,target2,0) == -1) { - HxOverrides.remove(this.__mouseOutStack,target2); - var localPoint = target2.globalToLocal(targetPoint); - target2.dispatchEvent(new openfl.events.MouseEvent(openfl.events.MouseEvent.MOUSE_OUT,false,false,localPoint.x,localPoint.y,target2)); - } - } - var _g2 = 0; - while(_g2 < stack.length) { - var target3 = stack[_g2]; - ++_g2; - if(HxOverrides.indexOf(this.__mouseOutStack,target3,0) == -1) { - if(target3.hasEventListener(openfl.events.MouseEvent.MOUSE_OVER)) { - var localPoint1 = target3.globalToLocal(targetPoint); - target3.dispatchEvent(new openfl.events.MouseEvent(openfl.events.MouseEvent.MOUSE_OVER,false,false,localPoint1.x,localPoint1.y,target3)); - } - if(target3.hasEventListener(openfl.events.MouseEvent.MOUSE_OUT)) this.__mouseOutStack.push(target3); - } - } - if(this.__dragObject != null) this.__drag(targetPoint); - } - ,__onMouseWheel: function(deltaX,deltaY) { - var x = this.__mouseX; - var y = this.__mouseY; - var stack = []; - if(!this.__hitTest(x,y,false,stack,true)) stack = [this]; - var target = stack[stack.length - 1]; - var targetPoint = new openfl.geom.Point(x,y); - var delta = deltaY | 0; - this.__fireEvent(openfl.events.MouseEvent.__create(openfl.events.MouseEvent.MOUSE_WHEEL,0,this.__mouseX,this.__mouseY,target == this?targetPoint:target.globalToLocal(targetPoint),target,delta),stack); - } - ,__onTouch: function(type,x,y,id) { - var point = new openfl.geom.Point(x,y); - this.__mouseX = point.x; - this.__mouseY = point.y; - var __stack = []; - var mouseType; - switch(type) { - case "touchBegin": - mouseType = openfl.events.MouseEvent.MOUSE_DOWN; - break; - case "touchMove": - mouseType = openfl.events.MouseEvent.MOUSE_MOVE; - break; - case "touchEnd": - mouseType = openfl.events.MouseEvent.MOUSE_UP; - break; - default: - mouseType = null; - } - if(this.__hitTest(x,y,false,__stack,true)) { - var target = __stack[__stack.length - 1]; - var localPoint = target.globalToLocal(point); - var touchEvent = openfl.events.TouchEvent.__create(type,null,this.__mouseX,this.__mouseY,localPoint,target); - touchEvent.touchPointID = id; - touchEvent.isPrimaryTouchPoint = true; - var mouseEvent = openfl.events.MouseEvent.__create(mouseType,0,this.__mouseX,this.__mouseY,localPoint,target); - mouseEvent.buttonDown = type != "touchEnd"; - this.__fireEvent(touchEvent,__stack); - this.__fireEvent(mouseEvent,__stack); - } else { - var touchEvent1 = openfl.events.TouchEvent.__create(type,null,this.__mouseX,this.__mouseY,point,this); - touchEvent1.touchPointID = id; - touchEvent1.isPrimaryTouchPoint = true; - var mouseEvent1 = openfl.events.MouseEvent.__create(mouseType,0,this.__mouseX,this.__mouseY,point,this); - mouseEvent1.buttonDown = type != "touchEnd"; - this.__fireEvent(touchEvent1,[this.stage]); - this.__fireEvent(mouseEvent1,[this.stage]); - } - if(type == "touchMove" && this.__dragObject != null) this.__drag(point); - } - ,__resize: function() { - } - ,__startDrag: function(sprite,lockCenter,bounds) { - if(bounds == null) this.__dragBounds = null; else this.__dragBounds = bounds.clone(); - this.__dragObject = sprite; - if(this.__dragObject != null) { - if(lockCenter) { - this.__dragOffsetX = -this.__dragObject.get_width() / 2; - this.__dragOffsetY = -this.__dragObject.get_height() / 2; - } else { - var mouse = new openfl.geom.Point(this.get_mouseX(),this.get_mouseY()); - var parent = this.__dragObject.parent; - if(parent != null) mouse = parent.globalToLocal(mouse); - this.__dragOffsetX = this.__dragObject.get_x() - mouse.x; - this.__dragOffsetY = this.__dragObject.get_y() - mouse.y; - } - } - } - ,__stopDrag: function(sprite) { - this.__dragBounds = null; - this.__dragObject = null; - } - ,__update: function(transformOnly,updateChildren,maskGrahpics) { - if(transformOnly) { - if(openfl.display.DisplayObject.__worldTransformDirty > 0) { - openfl.display.DisplayObjectContainer.prototype.__update.call(this,true,updateChildren,maskGrahpics); - if(updateChildren) { - openfl.display.DisplayObject.__worldTransformDirty = 0; - this.__dirty = true; - } - } - } else if(openfl.display.DisplayObject.__worldTransformDirty > 0 || this.__dirty || openfl.display.DisplayObject.__worldRenderDirty > 0) { - openfl.display.DisplayObjectContainer.prototype.__update.call(this,false,updateChildren,maskGrahpics); - if(updateChildren) { - openfl.display.DisplayObject.__worldTransformDirty = 0; - openfl.display.DisplayObject.__worldRenderDirty = 0; - this.__dirty = false; - } - } - } - ,get_mouseX: function() { - return this.__mouseX; - } - ,get_mouseY: function() { - return this.__mouseY; - } - ,canvas_onContextLost: function(event) { - } - ,canvas_onContextRestored: function(event) { - } - ,get_color: function() { - return this.__color; - } - ,set_color: function(value) { - var r = (value & 16711680) >>> 16; - var g = (value & 65280) >>> 8; - var b = value & 255; - this.__colorSplit = [r / 255,g / 255,b / 255]; - this.__colorString = "#" + StringTools.hex(value,6); - return this.__color = value; - } - ,get_displayState: function() { - return this.__displayState; - } - ,set_displayState: function(value) { - switch(value[1]) { - case 0: - openfl.Lib.application.windows[0].set_fullscreen(false); - break; - default: - openfl.Lib.application.windows[0].set_fullscreen(true); - } - return this.__displayState = value; - } - ,get_focus: function() { - return this.__focus; - } - ,set_focus: function(value) { - if(value != this.__focus) { - if(this.__focus != null) { - var event = new openfl.events.FocusEvent(openfl.events.FocusEvent.FOCUS_OUT,true,false,value,false,0); - this.__stack = []; - this.__focus.__getInteractive(this.__stack); - this.__stack.reverse(); - this.__fireEvent(event,this.__stack); - } - if(value != null) { - var event1 = new openfl.events.FocusEvent(openfl.events.FocusEvent.FOCUS_IN,true,false,this.__focus,false,0); - this.__stack = []; - value.__getInteractive(this.__stack); - this.__stack.reverse(); - this.__fireEvent(event1,this.__stack); - } - this.__focus = value; - } - return this.__focus; - } - ,get_frameRate: function() { - return openfl.Lib.application.backend.getFrameRate(); - } - ,set_frameRate: function(value) { - return openfl.Lib.application.backend.setFrameRate(value); - } - ,__class__: openfl.display.Stage - ,__properties__: $extend(openfl.display.DisplayObjectContainer.prototype.__properties__,{set_frameRate:"set_frameRate",get_frameRate:"get_frameRate",set_focus:"set_focus",get_focus:"get_focus",set_displayState:"set_displayState",get_displayState:"get_displayState",set_color:"set_color",get_color:"get_color"}) -}); -openfl.display.Stage3D = function() { - openfl.events.EventDispatcher.call(this); -}; -$hxClasses["openfl.display.Stage3D"] = openfl.display.Stage3D; -openfl.display.Stage3D.__name__ = ["openfl","display","Stage3D"]; -openfl.display.Stage3D.__super__ = openfl.events.EventDispatcher; -openfl.display.Stage3D.prototype = $extend(openfl.events.EventDispatcher.prototype,{ - requestContext3D: function(context3DRenderMode) { - if(context3DRenderMode == null) context3DRenderMode = ""; - if(openfl.display.OpenGLView.get_isSupported()) { - this.context3D = new openfl.display3D.Context3D(); - this.dispatchEvent(new openfl.events.Event(openfl.events.Event.CONTEXT3D_CREATE)); - } else this.dispatchEvent(new openfl.events.ErrorEvent(openfl.events.ErrorEvent.ERROR)); - } - ,__class__: openfl.display.Stage3D -}); -openfl.display.StageAlign = $hxClasses["openfl.display.StageAlign"] = { __ename__ : true, __constructs__ : ["TOP_RIGHT","TOP_LEFT","TOP","RIGHT","LEFT","BOTTOM_RIGHT","BOTTOM_LEFT","BOTTOM"] }; -openfl.display.StageAlign.TOP_RIGHT = ["TOP_RIGHT",0]; -openfl.display.StageAlign.TOP_RIGHT.toString = $estr; -openfl.display.StageAlign.TOP_RIGHT.__enum__ = openfl.display.StageAlign; -openfl.display.StageAlign.TOP_LEFT = ["TOP_LEFT",1]; -openfl.display.StageAlign.TOP_LEFT.toString = $estr; -openfl.display.StageAlign.TOP_LEFT.__enum__ = openfl.display.StageAlign; -openfl.display.StageAlign.TOP = ["TOP",2]; -openfl.display.StageAlign.TOP.toString = $estr; -openfl.display.StageAlign.TOP.__enum__ = openfl.display.StageAlign; -openfl.display.StageAlign.RIGHT = ["RIGHT",3]; -openfl.display.StageAlign.RIGHT.toString = $estr; -openfl.display.StageAlign.RIGHT.__enum__ = openfl.display.StageAlign; -openfl.display.StageAlign.LEFT = ["LEFT",4]; -openfl.display.StageAlign.LEFT.toString = $estr; -openfl.display.StageAlign.LEFT.__enum__ = openfl.display.StageAlign; -openfl.display.StageAlign.BOTTOM_RIGHT = ["BOTTOM_RIGHT",5]; -openfl.display.StageAlign.BOTTOM_RIGHT.toString = $estr; -openfl.display.StageAlign.BOTTOM_RIGHT.__enum__ = openfl.display.StageAlign; -openfl.display.StageAlign.BOTTOM_LEFT = ["BOTTOM_LEFT",6]; -openfl.display.StageAlign.BOTTOM_LEFT.toString = $estr; -openfl.display.StageAlign.BOTTOM_LEFT.__enum__ = openfl.display.StageAlign; -openfl.display.StageAlign.BOTTOM = ["BOTTOM",7]; -openfl.display.StageAlign.BOTTOM.toString = $estr; -openfl.display.StageAlign.BOTTOM.__enum__ = openfl.display.StageAlign; -openfl.display.StageDisplayState = $hxClasses["openfl.display.StageDisplayState"] = { __ename__ : true, __constructs__ : ["NORMAL","FULL_SCREEN","FULL_SCREEN_INTERACTIVE"] }; -openfl.display.StageDisplayState.NORMAL = ["NORMAL",0]; -openfl.display.StageDisplayState.NORMAL.toString = $estr; -openfl.display.StageDisplayState.NORMAL.__enum__ = openfl.display.StageDisplayState; -openfl.display.StageDisplayState.FULL_SCREEN = ["FULL_SCREEN",1]; -openfl.display.StageDisplayState.FULL_SCREEN.toString = $estr; -openfl.display.StageDisplayState.FULL_SCREEN.__enum__ = openfl.display.StageDisplayState; -openfl.display.StageDisplayState.FULL_SCREEN_INTERACTIVE = ["FULL_SCREEN_INTERACTIVE",2]; -openfl.display.StageDisplayState.FULL_SCREEN_INTERACTIVE.toString = $estr; -openfl.display.StageDisplayState.FULL_SCREEN_INTERACTIVE.__enum__ = openfl.display.StageDisplayState; -openfl.display.StageQuality = $hxClasses["openfl.display.StageQuality"] = { __ename__ : true, __constructs__ : ["BEST","HIGH","MEDIUM","LOW"] }; -openfl.display.StageQuality.BEST = ["BEST",0]; -openfl.display.StageQuality.BEST.toString = $estr; -openfl.display.StageQuality.BEST.__enum__ = openfl.display.StageQuality; -openfl.display.StageQuality.HIGH = ["HIGH",1]; -openfl.display.StageQuality.HIGH.toString = $estr; -openfl.display.StageQuality.HIGH.__enum__ = openfl.display.StageQuality; -openfl.display.StageQuality.MEDIUM = ["MEDIUM",2]; -openfl.display.StageQuality.MEDIUM.toString = $estr; -openfl.display.StageQuality.MEDIUM.__enum__ = openfl.display.StageQuality; -openfl.display.StageQuality.LOW = ["LOW",3]; -openfl.display.StageQuality.LOW.toString = $estr; -openfl.display.StageQuality.LOW.__enum__ = openfl.display.StageQuality; -openfl.display.StageScaleMode = $hxClasses["openfl.display.StageScaleMode"] = { __ename__ : true, __constructs__ : ["SHOW_ALL","NO_SCALE","NO_BORDER","EXACT_FIT"] }; -openfl.display.StageScaleMode.SHOW_ALL = ["SHOW_ALL",0]; -openfl.display.StageScaleMode.SHOW_ALL.toString = $estr; -openfl.display.StageScaleMode.SHOW_ALL.__enum__ = openfl.display.StageScaleMode; -openfl.display.StageScaleMode.NO_SCALE = ["NO_SCALE",1]; -openfl.display.StageScaleMode.NO_SCALE.toString = $estr; -openfl.display.StageScaleMode.NO_SCALE.__enum__ = openfl.display.StageScaleMode; -openfl.display.StageScaleMode.NO_BORDER = ["NO_BORDER",2]; -openfl.display.StageScaleMode.NO_BORDER.toString = $estr; -openfl.display.StageScaleMode.NO_BORDER.__enum__ = openfl.display.StageScaleMode; -openfl.display.StageScaleMode.EXACT_FIT = ["EXACT_FIT",3]; -openfl.display.StageScaleMode.EXACT_FIT.toString = $estr; -openfl.display.StageScaleMode.EXACT_FIT.__enum__ = openfl.display.StageScaleMode; -openfl.display.Tilesheet = function(image) { - this.__bitmap = image; - this.__centerPoints = new Array(); - this.__tileRects = new Array(); - this.__tileUVs = new Array(); - this.__rectTile = new openfl.geom.Rectangle(); - this.__rectUV = new openfl.geom.Rectangle(); - this.__point = new openfl.geom.Point(); -}; -$hxClasses["openfl.display.Tilesheet"] = openfl.display.Tilesheet; -openfl.display.Tilesheet.__name__ = ["openfl","display","Tilesheet"]; -openfl.display.Tilesheet.prototype = { - addTileRect: function(rectangle,centerPoint) { - this.__tileRects.push(rectangle); - if(centerPoint == null) centerPoint = openfl.display.Tilesheet.__defaultPoint; - this.__centerPoints.push(centerPoint); - this.__tileUVs.push(new openfl.geom.Rectangle(rectangle.get_left() / this.__bitmap.width,rectangle.get_top() / this.__bitmap.height,rectangle.get_right() / this.__bitmap.width,rectangle.get_bottom() / this.__bitmap.height)); - return this.__tileRects.length - 1; - } - ,drawTiles: function(graphics,tileData,smooth,flags,count) { - if(count == null) count = -1; - if(flags == null) flags = 0; - if(smooth == null) smooth = false; - graphics.drawTiles(this,tileData,smooth,flags,count); - } - ,getTileCenter: function(index) { - return this.__centerPoints[index]; - } - ,getTileRect: function(index) { - return this.__tileRects[index]; - } - ,getTileUVs: function(index) { - return this.__tileUVs[index]; - } - ,__class__: openfl.display.Tilesheet -}; -openfl.display.TriangleCulling = $hxClasses["openfl.display.TriangleCulling"] = { __ename__ : true, __constructs__ : ["NEGATIVE","NONE","POSITIVE"] }; -openfl.display.TriangleCulling.NEGATIVE = ["NEGATIVE",0]; -openfl.display.TriangleCulling.NEGATIVE.toString = $estr; -openfl.display.TriangleCulling.NEGATIVE.__enum__ = openfl.display.TriangleCulling; -openfl.display.TriangleCulling.NONE = ["NONE",1]; -openfl.display.TriangleCulling.NONE.toString = $estr; -openfl.display.TriangleCulling.NONE.__enum__ = openfl.display.TriangleCulling; -openfl.display.TriangleCulling.POSITIVE = ["POSITIVE",2]; -openfl.display.TriangleCulling.POSITIVE.toString = $estr; -openfl.display.TriangleCulling.POSITIVE.__enum__ = openfl.display.TriangleCulling; -openfl.display3D = {}; -openfl.display3D.Context3D = function() { - this.disposed = false; - this._yFlip = 1; - this.vertexBuffersCreated = new Array(); - this.indexBuffersCreated = new Array(); - this.programsCreated = new Array(); - this.texturesCreated = new Array(); - this.samplerParameters = new Array(); - var _g1 = 0; - var _g = openfl.display3D.Context3D.MAX_SAMPLERS; - while(_g1 < _g) { - var i = _g1++; - this.samplerParameters[i] = new openfl.display3D._Context3D.SamplerState(); - this.samplerParameters[i].wrap = openfl.display3D.Context3DWrapMode.CLAMP; - this.samplerParameters[i].filter = openfl.display3D.Context3DTextureFilter.LINEAR; - this.samplerParameters[i].mipfilter = openfl.display3D.Context3DMipFilter.MIPNONE; - } - var stage = openfl.Lib.current.stage; - this.ogl = new openfl.display.OpenGLView(); - this.ogl.set_scrollRect(new openfl.geom.Rectangle(0,0,stage.stageWidth,stage.stageHeight)); - this.scrollRect = this.ogl.get_scrollRect().clone(); - this.ogl.set_width(stage.stageWidth); - this.ogl.set_height(stage.stageHeight); - stage.addChildAt(this.ogl,0); -}; -$hxClasses["openfl.display3D.Context3D"] = openfl.display3D.Context3D; -openfl.display3D.Context3D.__name__ = ["openfl","display3D","Context3D"]; -openfl.display3D.Context3D.prototype = { - clear: function(red,green,blue,alpha,depth,stencil,mask) { - if(mask == null) mask = 17664; - if(stencil == null) stencil = 0; - if(depth == null) depth = 1; - if(alpha == null) alpha = 1; - if(blue == null) blue = 0; - if(green == null) green = 0; - if(red == null) red = 0; - if(!this.drawing) { - this.__updateBlendStatus(); - this.drawing = true; - } - lime.graphics.opengl.GL.context.clearColor(red,green,blue,alpha); - lime.graphics.opengl.GL.context.clearDepth(depth); - lime.graphics.opengl.GL.context.clearStencil(stencil); - lime.graphics.opengl.GL.context.clear(mask); - } - ,configureBackBuffer: function(width,height,antiAlias,enableDepthAndStencil) { - if(enableDepthAndStencil == null) enableDepthAndStencil = true; - if(enableDepthAndStencil) { - lime.graphics.opengl.GL.context.enable(2929); - lime.graphics.opengl.GL.context.enable(2960); - } - this.ogl.set_scrollRect(new openfl.geom.Rectangle(0,0,width,height)); - this.ogl.set_width(width); - this.ogl.set_height(height); - this.scrollRect = this.ogl.get_scrollRect().clone(); - lime.graphics.opengl.GL.context.viewport(this.scrollRect.x | 0,this.scrollRect.y | 0,this.scrollRect.width | 0,this.scrollRect.height | 0); - } - ,createCubeTexture: function(size,format,optimizeForRenderToTexture,streamingLevels) { - if(streamingLevels == null) streamingLevels = 0; - var texture = new openfl.display3D.textures.CubeTexture(lime.graphics.opengl.GL.context.createTexture(),size); - this.texturesCreated.push(texture); - return texture; - } - ,createIndexBuffer: function(numIndices) { - var indexBuffer = new openfl.display3D.IndexBuffer3D(lime.graphics.opengl.GL.context.createBuffer(),numIndices); - this.indexBuffersCreated.push(indexBuffer); - return indexBuffer; - } - ,createProgram: function() { - var program = new openfl.display3D.Program3D(lime.graphics.opengl.GL.context.createProgram()); - this.programsCreated.push(program); - return program; - } - ,createRectangleTexture: function(width,height,format,optimizeForRenderToTexture) { - var texture = new openfl.display3D.textures.RectangleTexture(lime.graphics.opengl.GL.context.createTexture(),optimizeForRenderToTexture,width,height); - this.texturesCreated.push(texture); - return texture; - } - ,createTexture: function(width,height,format,optimizeForRenderToTexture,streamingLevels) { - if(streamingLevels == null) streamingLevels = 0; - var texture = new openfl.display3D.textures.Texture(lime.graphics.opengl.GL.context.createTexture(),optimizeForRenderToTexture,width,height); - this.texturesCreated.push(texture); - return texture; - } - ,createVertexBuffer: function(numVertices,data32PerVertex) { - var vertexBuffer = new openfl.display3D.VertexBuffer3D(lime.graphics.opengl.GL.context.createBuffer(),numVertices,data32PerVertex); - this.vertexBuffersCreated.push(vertexBuffer); - return vertexBuffer; - } - ,dispose: function() { - var _g = 0; - var _g1 = this.vertexBuffersCreated; - while(_g < _g1.length) { - var vertexBuffer = _g1[_g]; - ++_g; - vertexBuffer.dispose(); - } - this.vertexBuffersCreated = null; - var _g2 = 0; - var _g11 = this.indexBuffersCreated; - while(_g2 < _g11.length) { - var indexBuffer = _g11[_g2]; - ++_g2; - indexBuffer.dispose(); - } - this.indexBuffersCreated = null; - var _g3 = 0; - var _g12 = this.programsCreated; - while(_g3 < _g12.length) { - var program = _g12[_g3]; - ++_g3; - program.dispose(); - } - this.programsCreated = null; - this.samplerParameters = null; - var _g4 = 0; - var _g13 = this.texturesCreated; - while(_g4 < _g13.length) { - var texture = _g13[_g4]; - ++_g4; - texture.dispose(); - } - this.texturesCreated = null; - if(this.framebuffer != null) { - lime.graphics.opengl.GL.context.deleteFramebuffer(this.framebuffer); - this.framebuffer = null; - } - if(this.renderbuffer != null) { - lime.graphics.opengl.GL.context.deleteRenderbuffer(this.renderbuffer); - this.renderbuffer = null; - } - this.disposed = true; - } - ,drawToBitmapData: function(destination) { - } - ,drawTriangles: function(indexBuffer,firstIndex,numTriangles) { - if(numTriangles == null) numTriangles = -1; - if(firstIndex == null) firstIndex = 0; - var location = lime.graphics.opengl.GL.context.getUniformLocation(this.currentProgram.glProgram,"yflip"); - lime.graphics.opengl.GL.context.uniform1f(location,this._yFlip); - if(!this.drawing) throw new openfl.errors.Error("Need to clear before drawing if the buffer has not been cleared since the last present() call."); - var numIndices; - if(numTriangles == -1) numIndices = indexBuffer.numIndices; else numIndices = numTriangles * 3; - var byteOffset = firstIndex * 2; - lime.graphics.opengl.GL.context.bindBuffer(34963,indexBuffer.glBuffer); - lime.graphics.opengl.GL.context.drawElements(4,numIndices,5123,byteOffset); - } - ,present: function() { - this.drawing = false; - lime.graphics.opengl.GL.context.useProgram(null); - lime.graphics.opengl.GL.context.bindBuffer(34962,null); - lime.graphics.opengl.GL.context.disable(2884); - if(this.framebuffer != null) lime.graphics.opengl.GL.context.bindFramebuffer(36160,null); - if(this.renderbuffer != null) lime.graphics.opengl.GL.context.bindRenderbuffer(36161,null); - } - ,removeRenderMethod: function(func) { - this.ogl.set_render(null); - } - ,setBlendFactors: function(sourceFactor,destinationFactor) { - this.blendEnabled = true; - this.blendSourceFactor = sourceFactor; - this.blendDestinationFactor = destinationFactor; - this.__updateBlendStatus(); - } - ,setColorMask: function(red,green,blue,alpha) { - lime.graphics.opengl.GL.context.colorMask(red,green,blue,alpha); - } - ,setCulling: function(triangleFaceToCull) { - if(triangleFaceToCull == 0) lime.graphics.opengl.GL.context.disable(2884); else { - lime.graphics.opengl.GL.context.enable(2884); - switch(triangleFaceToCull) { - case 1029: - lime.graphics.opengl.GL.context.cullFace(1029); - break; - case 1028: - lime.graphics.opengl.GL.context.cullFace(1028); - break; - case 1032: - lime.graphics.opengl.GL.context.cullFace(1032); - break; - default: - throw "Unknown Context3DTriangleFace type."; - } - } - switch(triangleFaceToCull) { - case 1029: - this._yFlip = -1; - break; - case 1028: - this._yFlip = 1; - break; - case 1032: - this._yFlip = 1; - break; - case 0: - this._yFlip = 1; - break; - default: - throw "Unknown culling mode " + triangleFaceToCull + "."; - } - } - ,setDepthTest: function(depthMask,passCompareMode) { - lime.graphics.opengl.GL.context.depthFunc(passCompareMode); - lime.graphics.opengl.GL.context.depthMask(depthMask); - } - ,setGLSLProgramConstantsFromByteArray: function(locationName,data,byteArrayOffset) { - if(byteArrayOffset == null) byteArrayOffset = 0; - data.position = byteArrayOffset; - var location = lime.graphics.opengl.GL.context.getUniformLocation(this.currentProgram.glProgram,locationName); - lime.graphics.opengl.GL.uniform4f(location,data.readFloat(),data.readFloat(),data.readFloat(),data.readFloat()); - } - ,setGLSLProgramConstantsFromMatrix: function(locationName,matrix,transposedMatrix) { - if(transposedMatrix == null) transposedMatrix = false; - var location = lime.graphics.opengl.GL.context.getUniformLocation(this.currentProgram.glProgram,locationName); - lime.graphics.opengl.GL.uniformMatrix4fv(location,!transposedMatrix,new Float32Array((function($this) { - var $r; - var this1 = matrix.rawData; - var value = new Array(); - { - var _g1 = 0; - var _g = this1.data.length; - while(_g1 < _g) { - var i = _g1++; - value.push(this1.data[i]); - } - } - $r = value; - return $r; - }(this)))); - } - ,setGLSLProgramConstantsFromVector4: function(locationName,data,startIndex) { - if(startIndex == null) startIndex = 0; - var location = lime.graphics.opengl.GL.context.getUniformLocation(this.currentProgram.glProgram,locationName); - lime.graphics.opengl.GL.context.uniform4f(location,data[startIndex],data[startIndex + 1],data[startIndex + 2],data[startIndex + 3]); - } - ,setGLSLTextureAt: function(locationName,texture,textureIndex) { - switch(textureIndex) { - case 0: - lime.graphics.opengl.GL.context.activeTexture(33984); - break; - case 1: - lime.graphics.opengl.GL.context.activeTexture(33985); - break; - case 2: - lime.graphics.opengl.GL.context.activeTexture(33986); - break; - case 3: - lime.graphics.opengl.GL.context.activeTexture(33987); - break; - case 4: - lime.graphics.opengl.GL.context.activeTexture(33988); - break; - case 5: - lime.graphics.opengl.GL.context.activeTexture(33989); - break; - case 6: - lime.graphics.opengl.GL.context.activeTexture(33990); - break; - case 7: - lime.graphics.opengl.GL.context.activeTexture(33991); - break; - default: - throw "Does not support texture8 or more"; - } - if(texture == null) { - lime.graphics.opengl.GL.context.bindTexture(3553,null); - lime.graphics.opengl.GL.context.bindTexture(34067,null); - return; - } - var location = lime.graphics.opengl.GL.context.getUniformLocation(this.currentProgram.glProgram,locationName); - if(js.Boot.__instanceof(texture,openfl.display3D.textures.Texture)) { - lime.graphics.opengl.GL.context.bindTexture(3553,(js.Boot.__cast(texture , openfl.display3D.textures.Texture)).glTexture); - lime.graphics.opengl.GL.context.uniform1i(location,textureIndex); - } else if(js.Boot.__instanceof(texture,openfl.display3D.textures.RectangleTexture)) { - lime.graphics.opengl.GL.context.bindTexture(3553,(js.Boot.__cast(texture , openfl.display3D.textures.RectangleTexture)).glTexture); - lime.graphics.opengl.GL.context.uniform1i(location,textureIndex); - } else if(js.Boot.__instanceof(texture,openfl.display3D.textures.CubeTexture)) { - lime.graphics.opengl.GL.context.bindTexture(34067,(js.Boot.__cast(texture , openfl.display3D.textures.CubeTexture)).glTexture); - lime.graphics.opengl.GL.context.uniform1i(location,textureIndex); - } else throw "Texture of type " + Type.getClassName(Type.getClass(texture)) + " not supported yet"; - var parameters = this.samplerParameters[textureIndex]; - if(parameters != null) this.setTextureParameters(texture,parameters.wrap,parameters.filter,parameters.mipfilter); else this.setTextureParameters(texture,openfl.display3D.Context3DWrapMode.CLAMP,openfl.display3D.Context3DTextureFilter.NEAREST,openfl.display3D.Context3DMipFilter.MIPNONE); - } - ,setGLSLVertexBufferAt: function(locationName,buffer,bufferOffset,format) { - if(bufferOffset == null) bufferOffset = 0; - var location; - if(this.currentProgram != null && this.currentProgram.glProgram != null) location = lime.graphics.opengl.GL.context.getAttribLocation(this.currentProgram.glProgram,locationName); else location = -1; - if(buffer == null) { - if(location > -1) lime.graphics.opengl.GL.context.disableVertexAttribArray(location); - return; - } - lime.graphics.opengl.GL.context.bindBuffer(34962,buffer.glBuffer); - var dimension = 4; - var type = 5126; - var numBytes = 4; - if(format == openfl.display3D.Context3DVertexBufferFormat.BYTES_4) { - dimension = 4; - type = 5126; - numBytes = 4; - } else if(format == openfl.display3D.Context3DVertexBufferFormat.FLOAT_1) { - dimension = 1; - type = 5126; - numBytes = 4; - } else if(format == openfl.display3D.Context3DVertexBufferFormat.FLOAT_2) { - dimension = 2; - type = 5126; - numBytes = 4; - } else if(format == openfl.display3D.Context3DVertexBufferFormat.FLOAT_3) { - dimension = 3; - type = 5126; - numBytes = 4; - } else if(format == openfl.display3D.Context3DVertexBufferFormat.FLOAT_4) { - dimension = 4; - type = 5126; - numBytes = 4; - } else throw "Buffer format " + Std.string(format) + " is not supported"; - lime.graphics.opengl.GL.context.enableVertexAttribArray(location); - lime.graphics.opengl.GL.context.vertexAttribPointer(location,dimension,type,false,buffer.data32PerVertex * numBytes,bufferOffset * numBytes); - } - ,setProgram: function(program3D) { - var glProgram = null; - if(program3D != null) glProgram = program3D.glProgram; - lime.graphics.opengl.GL.context.useProgram(glProgram); - this.currentProgram = program3D; - } - ,setProgramConstantsFromByteArray: function(programType,firstRegister,numRegisters,data,byteArrayOffset) { - data.position = byteArrayOffset; - var _g = 0; - while(_g < numRegisters) { - var i = _g++; - var locationName = this.__getUniformLocationNameFromAgalRegisterIndex(programType,firstRegister + i); - this.setGLSLProgramConstantsFromByteArray(locationName,data); - } - } - ,setProgramConstantsFromMatrix: function(programType,firstRegister,matrix,transposedMatrix) { - if(transposedMatrix == null) transposedMatrix = false; - var d = matrix.rawData; - if(transposedMatrix) { - this.setProgramConstantsFromVector(programType,firstRegister,[d.data[0],d.data[4],d.data[8],d.data[12]],1); - this.setProgramConstantsFromVector(programType,firstRegister + 1,[d.data[1],d.data[5],d.data[9],d.data[13]],1); - this.setProgramConstantsFromVector(programType,firstRegister + 2,[d.data[2],d.data[6],d.data[10],d.data[14]],1); - this.setProgramConstantsFromVector(programType,firstRegister + 3,[d.data[3],d.data[7],d.data[11],d.data[15]],1); - } else { - this.setProgramConstantsFromVector(programType,firstRegister,[d.data[0],d.data[1],d.data[2],d.data[3]],1); - this.setProgramConstantsFromVector(programType,firstRegister + 1,[d.data[4],d.data[5],d.data[6],d.data[7]],1); - this.setProgramConstantsFromVector(programType,firstRegister + 2,[d.data[8],d.data[9],d.data[10],d.data[11]],1); - this.setProgramConstantsFromVector(programType,firstRegister + 3,[d.data[12],d.data[13],d.data[14],d.data[15]],1); - } - } - ,setProgramConstantsFromVector: function(programType,firstRegister,data,numRegisters) { - if(numRegisters == null) numRegisters = 1; - var _g = 0; - while(_g < numRegisters) { - var i = _g++; - var currentIndex = i * 4; - var locationName = this.__getUniformLocationNameFromAgalRegisterIndex(programType,firstRegister + i); - this.setGLSLProgramConstantsFromVector4(locationName,data,currentIndex); - } - } - ,setRenderMethod: function(func) { - this.ogl.set_render(function(rect) { - func(null); - }); - } - ,setRenderToBackBuffer: function() { - lime.graphics.opengl.GL.context.disable(2929); - lime.graphics.opengl.GL.context.disable(2960); - lime.graphics.opengl.GL.context.disable(3089); - if(this.framebuffer != null) lime.graphics.opengl.GL.context.bindFramebuffer(36160,null); - if(this.renderbuffer != null) lime.graphics.opengl.GL.context.bindRenderbuffer(36161,null); - lime.graphics.opengl.GL.context.viewport(this.scrollRect.x | 0,this.scrollRect.y | 0,this.scrollRect.width | 0,this.scrollRect.height | 0); - } - ,setRenderToTexture: function(texture,enableDepthAndStencil,antiAlias,surfaceSelector) { - if(surfaceSelector == null) surfaceSelector = 0; - if(antiAlias == null) antiAlias = 0; - if(enableDepthAndStencil == null) enableDepthAndStencil = false; - if(this.framebuffer == null) this.framebuffer = lime.graphics.opengl.GL.context.createFramebuffer(); - lime.graphics.opengl.GL.context.bindFramebuffer(36160,this.framebuffer); - if(this.renderbuffer == null) this.renderbuffer = lime.graphics.opengl.GL.context.createRenderbuffer(); - lime.graphics.opengl.GL.context.bindRenderbuffer(36161,this.renderbuffer); - lime.graphics.opengl.GL.context.renderbufferStorage(36161,6408,texture.width,texture.height); - lime.graphics.opengl.GL.context.framebufferTexture2D(36160,36064,3553,texture.glTexture,0); - lime.graphics.opengl.GL.context.renderbufferStorage(36161,34041,texture.width,texture.height); - lime.graphics.opengl.GL.context.framebufferRenderbuffer(36160,33306,36161,this.renderbuffer); - if(enableDepthAndStencil) { - lime.graphics.opengl.GL.context.enable(2929); - lime.graphics.opengl.GL.context.enable(2960); - } - lime.graphics.opengl.GL.context.bindTexture(3553,texture.glTexture); - lime.graphics.opengl.GL.context.texImage2D(3553,0,6408,texture.width,texture.height,0,6408,5121,null); - lime.graphics.opengl.GL.context.texParameteri(3553,10240,9729); - lime.graphics.opengl.GL.context.texParameteri(3553,10241,9985); - lime.graphics.opengl.GL.context.viewport(0,0,texture.width,texture.height); - } - ,setSamplerStateAt: function(sampler,wrap,filter,mipfilter) { - if(0 <= sampler && sampler < openfl.display3D.Context3D.MAX_SAMPLERS) { - this.samplerParameters[sampler].wrap = wrap; - this.samplerParameters[sampler].filter = filter; - this.samplerParameters[sampler].mipfilter = mipfilter; - } else throw "Sampler is out of bounds."; - } - ,setScissorRectangle: function(rectangle) { - if(rectangle == null) { - lime.graphics.opengl.GL.context.disable(3089); - return; - } - lime.graphics.opengl.GL.context.enable(3089); - lime.graphics.opengl.GL.context.scissor(rectangle.x | 0,rectangle.y | 0,rectangle.width | 0,rectangle.height | 0); - } - ,setStencilActions: function(triangleFace,compareMode,actionOnBothPass,actionOnDepthFail,actionOnDepthPassStencilFail) { - this.stencilCompareMode = compareMode; - lime.graphics.opengl.GL.context.stencilOp(actionOnBothPass,actionOnDepthFail,actionOnDepthPassStencilFail); - lime.graphics.opengl.GL.context.stencilFunc(this.stencilCompareMode,this.stencilRef,this.stencilReadMask); - } - ,setStencilReferenceValue: function(referenceValue,readMask,writeMask) { - if(writeMask == null) writeMask = 255; - if(readMask == null) readMask = 255; - this.stencilReadMask = readMask; - this.stencilRef = referenceValue; - lime.graphics.opengl.GL.context.stencilFunc(this.stencilCompareMode,this.stencilRef,this.stencilReadMask); - lime.graphics.opengl.GL.context.stencilMask(writeMask); - } - ,setTextureAt: function(sampler,texture) { - var locationName = "fs" + sampler; - this.setGLSLTextureAt(locationName,texture,sampler); - } - ,setTextureParameters: function(texture,wrap,filter,mipfilter) { - if(!openfl.display3D.Context3D.anisotropySupportTested) { - var ext = lime.graphics.opengl.GL.context.getExtension("EXT_texture_filter_anisotropic"); - if(ext == null) ext = lime.graphics.opengl.GL.context.getExtension("MOZ_EXT_texture_filter_anisotropic"); - if(ext == null) ext = lime.graphics.opengl.GL.context.getExtension("WEBKIT_EXT_texture_filter_anisotropic"); - openfl.display3D.Context3D.supportsAnisotropy = ext != null; - openfl.display3D.Context3D.anisotropySupportTested = true; - lime.graphics.opengl.GL.context.texParameterf(3553,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,(function($this) { - var $r; - var $int = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = $int < 0?4294967296.0 + $int:$int + 0.0; - return $r; - }(this))); - openfl.display3D.Context3D.maxSupportedAnisotropy = lime.graphics.opengl.GL.context.getTexParameter(3553,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT); - } - if(js.Boot.__instanceof(texture,openfl.display3D.textures.Texture)) { - switch(wrap[1]) { - case 0: - lime.graphics.opengl.GL.context.texParameteri(3553,10242,33071); - lime.graphics.opengl.GL.context.texParameteri(3553,10243,33071); - break; - case 1: - lime.graphics.opengl.GL.context.texParameteri(3553,10242,10497); - lime.graphics.opengl.GL.context.texParameteri(3553,10243,10497); - break; - } - switch(filter[1]) { - case 4: - lime.graphics.opengl.GL.context.texParameteri(3553,10240,9729); - if(openfl.display3D.Context3D.supportsAnisotropy) lime.graphics.opengl.GL.context.texParameterf(3553,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,1); - break; - case 5: - lime.graphics.opengl.GL.context.texParameteri(3553,10240,9728); - if(openfl.display3D.Context3D.supportsAnisotropy) lime.graphics.opengl.GL.context.texParameterf(3553,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,1); - break; - case 0: - if(openfl.display3D.Context3D.supportsAnisotropy) lime.graphics.opengl.GL.context.texParameterf(3553,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,(function($this) { - var $r; - var a = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = (function($this) { - var $r; - var aNeg = 2 < 0; - var bNeg = a < 0; - $r = aNeg != bNeg?aNeg:2 > a; - return $r; - }($this)); - return $r; - }(this))?(function($this) { - var $r; - var int1 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = int1 < 0?4294967296.0 + int1:int1 + 0.0; - return $r; - }(this)):2); - break; - case 1: - if(openfl.display3D.Context3D.supportsAnisotropy) lime.graphics.opengl.GL.context.texParameterf(3553,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,(function($this) { - var $r; - var a1 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = (function($this) { - var $r; - var aNeg1 = 4 < 0; - var bNeg1 = a1 < 0; - $r = aNeg1 != bNeg1?aNeg1:4 > a1; - return $r; - }($this)); - return $r; - }(this))?(function($this) { - var $r; - var int2 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = int2 < 0?4294967296.0 + int2:int2 + 0.0; - return $r; - }(this)):4); - break; - case 2: - if(openfl.display3D.Context3D.supportsAnisotropy) lime.graphics.opengl.GL.context.texParameterf(3553,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,(function($this) { - var $r; - var a2 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = (function($this) { - var $r; - var aNeg2 = 8 < 0; - var bNeg2 = a2 < 0; - $r = aNeg2 != bNeg2?aNeg2:8 > a2; - return $r; - }($this)); - return $r; - }(this))?(function($this) { - var $r; - var int3 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = int3 < 0?4294967296.0 + int3:int3 + 0.0; - return $r; - }(this)):8); - break; - case 3: - if(openfl.display3D.Context3D.supportsAnisotropy) lime.graphics.opengl.GL.context.texParameterf(3553,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,(function($this) { - var $r; - var a3 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = (function($this) { - var $r; - var aNeg3 = 16 < 0; - var bNeg3 = a3 < 0; - $r = aNeg3 != bNeg3?aNeg3:16 > a3; - return $r; - }($this)); - return $r; - }(this))?(function($this) { - var $r; - var int4 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = int4 < 0?4294967296.0 + int4:int4 + 0.0; - return $r; - }(this)):16); - break; - } - switch(mipfilter[1]) { - case 0: - lime.graphics.opengl.GL.context.generateMipmap(3553); - lime.graphics.opengl.GL.context.texParameteri(3553,10241,9987); - break; - case 1: - lime.graphics.opengl.GL.context.generateMipmap(3553); - lime.graphics.opengl.GL.context.texParameteri(3553,10241,9984); - break; - case 2: - lime.graphics.opengl.GL.context.texParameteri(3553,10241,9729); - break; - } - } else if(js.Boot.__instanceof(texture,openfl.display3D.textures.RectangleTexture)) { - lime.graphics.opengl.GL.context.texParameteri(3553,10242,33071); - lime.graphics.opengl.GL.context.texParameteri(3553,10243,33071); - switch(filter[1]) { - case 4: - lime.graphics.opengl.GL.context.texParameteri(3553,10240,9729); - if(openfl.display3D.Context3D.supportsAnisotropy) lime.graphics.opengl.GL.context.texParameterf(3553,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,1); - break; - case 5: - lime.graphics.opengl.GL.context.texParameteri(3553,10240,9728); - if(openfl.display3D.Context3D.supportsAnisotropy) lime.graphics.opengl.GL.context.texParameterf(3553,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,1); - break; - case 0: - if(openfl.display3D.Context3D.supportsAnisotropy) lime.graphics.opengl.GL.context.texParameterf(3553,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,(function($this) { - var $r; - var a4 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = (function($this) { - var $r; - var aNeg4 = 2 < 0; - var bNeg4 = a4 < 0; - $r = aNeg4 != bNeg4?aNeg4:2 > a4; - return $r; - }($this)); - return $r; - }(this))?(function($this) { - var $r; - var int5 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = int5 < 0?4294967296.0 + int5:int5 + 0.0; - return $r; - }(this)):2); - break; - case 1: - if(openfl.display3D.Context3D.supportsAnisotropy) lime.graphics.opengl.GL.context.texParameterf(3553,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,(function($this) { - var $r; - var a5 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = (function($this) { - var $r; - var aNeg5 = 4 < 0; - var bNeg5 = a5 < 0; - $r = aNeg5 != bNeg5?aNeg5:4 > a5; - return $r; - }($this)); - return $r; - }(this))?(function($this) { - var $r; - var int6 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = int6 < 0?4294967296.0 + int6:int6 + 0.0; - return $r; - }(this)):4); - break; - case 2: - if(openfl.display3D.Context3D.supportsAnisotropy) lime.graphics.opengl.GL.context.texParameterf(3553,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,(function($this) { - var $r; - var a6 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = (function($this) { - var $r; - var aNeg6 = 8 < 0; - var bNeg6 = a6 < 0; - $r = aNeg6 != bNeg6?aNeg6:8 > a6; - return $r; - }($this)); - return $r; - }(this))?(function($this) { - var $r; - var int7 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = int7 < 0?4294967296.0 + int7:int7 + 0.0; - return $r; - }(this)):8); - break; - case 3: - if(openfl.display3D.Context3D.supportsAnisotropy) lime.graphics.opengl.GL.context.texParameterf(3553,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,(function($this) { - var $r; - var a7 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = (function($this) { - var $r; - var aNeg7 = 16 < 0; - var bNeg7 = a7 < 0; - $r = aNeg7 != bNeg7?aNeg7:16 > a7; - return $r; - }($this)); - return $r; - }(this))?(function($this) { - var $r; - var int8 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = int8 < 0?4294967296.0 + int8:int8 + 0.0; - return $r; - }(this)):16); - break; - } - lime.graphics.opengl.GL.context.texParameteri(3553,10241,9729); - } else if(js.Boot.__instanceof(texture,openfl.display3D.textures.CubeTexture)) { - switch(wrap[1]) { - case 0: - lime.graphics.opengl.GL.context.texParameteri(34067,10242,33071); - lime.graphics.opengl.GL.context.texParameteri(34067,10243,33071); - break; - case 1: - lime.graphics.opengl.GL.context.texParameteri(34067,10242,10497); - lime.graphics.opengl.GL.context.texParameteri(34067,10243,10497); - break; - } - switch(filter[1]) { - case 4: - lime.graphics.opengl.GL.context.texParameteri(34067,10240,9729); - if(openfl.display3D.Context3D.supportsAnisotropy) lime.graphics.opengl.GL.context.texParameterf(34067,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,1); - break; - case 5: - lime.graphics.opengl.GL.context.texParameteri(34067,10240,9728); - if(openfl.display3D.Context3D.supportsAnisotropy) lime.graphics.opengl.GL.context.texParameterf(34067,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,1); - break; - case 0: - if(openfl.display3D.Context3D.supportsAnisotropy) lime.graphics.opengl.GL.context.texParameterf(34067,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,(function($this) { - var $r; - var a8 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = (function($this) { - var $r; - var aNeg8 = 2 < 0; - var bNeg8 = a8 < 0; - $r = aNeg8 != bNeg8?aNeg8:2 > a8; - return $r; - }($this)); - return $r; - }(this))?(function($this) { - var $r; - var int9 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = int9 < 0?4294967296.0 + int9:int9 + 0.0; - return $r; - }(this)):2); - break; - case 1: - if(openfl.display3D.Context3D.supportsAnisotropy) lime.graphics.opengl.GL.context.texParameterf(34067,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,(function($this) { - var $r; - var a9 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = (function($this) { - var $r; - var aNeg9 = 4 < 0; - var bNeg9 = a9 < 0; - $r = aNeg9 != bNeg9?aNeg9:4 > a9; - return $r; - }($this)); - return $r; - }(this))?(function($this) { - var $r; - var int10 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = int10 < 0?4294967296.0 + int10:int10 + 0.0; - return $r; - }(this)):4); - break; - case 2: - if(openfl.display3D.Context3D.supportsAnisotropy) lime.graphics.opengl.GL.context.texParameterf(34067,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,(function($this) { - var $r; - var a10 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = (function($this) { - var $r; - var aNeg10 = 8 < 0; - var bNeg10 = a10 < 0; - $r = aNeg10 != bNeg10?aNeg10:8 > a10; - return $r; - }($this)); - return $r; - }(this))?(function($this) { - var $r; - var int11 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = int11 < 0?4294967296.0 + int11:int11 + 0.0; - return $r; - }(this)):8); - break; - case 3: - if(openfl.display3D.Context3D.supportsAnisotropy) lime.graphics.opengl.GL.context.texParameterf(34067,openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT,(function($this) { - var $r; - var a11 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = (function($this) { - var $r; - var aNeg11 = 16 < 0; - var bNeg11 = a11 < 0; - $r = aNeg11 != bNeg11?aNeg11:16 > a11; - return $r; - }($this)); - return $r; - }(this))?(function($this) { - var $r; - var int12 = openfl.display3D.Context3D.maxSupportedAnisotropy; - $r = int12 < 0?4294967296.0 + int12:int12 + 0.0; - return $r; - }(this)):16); - break; - } - switch(mipfilter[1]) { - case 0: - lime.graphics.opengl.GL.context.texParameteri(34067,10241,9987); - break; - case 1: - lime.graphics.opengl.GL.context.texParameteri(34067,10241,9984); - break; - case 2: - lime.graphics.opengl.GL.context.texParameteri(34067,10241,9729); - break; - } - } else throw "Texture of type " + Type.getClassName(Type.getClass(texture)) + " not supported yet"; - } - ,setVertexBufferAt: function(index,buffer,bufferOffset,format) { - if(bufferOffset == null) bufferOffset = 0; - var locationName = "va" + index; - this.setGLSLVertexBufferAt(locationName,buffer,bufferOffset,format); - } - ,__getUniformLocationNameFromAgalRegisterIndex: function(programType,firstRegister) { - if(programType == openfl.display3D.Context3DProgramType.VERTEX) return "vc" + firstRegister; else if(programType == openfl.display3D.Context3DProgramType.FRAGMENT) return "fc" + firstRegister; - throw "Program Type " + Std.string(programType) + " not supported"; - } - ,__updateBlendStatus: function() { - if(this.blendEnabled) { - lime.graphics.opengl.GL.context.enable(3042); - lime.graphics.opengl.GL.context.blendEquation(32774); - lime.graphics.opengl.GL.context.blendFunc(this.blendSourceFactor,this.blendDestinationFactor); - } else lime.graphics.opengl.GL.context.disable(3042); - } - ,__class__: openfl.display3D.Context3D -}; -openfl.display3D._Context3D = {}; -openfl.display3D._Context3D.SamplerState = function() { -}; -$hxClasses["openfl.display3D._Context3D.SamplerState"] = openfl.display3D._Context3D.SamplerState; -openfl.display3D._Context3D.SamplerState.__name__ = ["openfl","display3D","_Context3D","SamplerState"]; -openfl.display3D._Context3D.SamplerState.prototype = { - __class__: openfl.display3D._Context3D.SamplerState -}; -openfl.display3D.Context3DClearMask = function() { }; -$hxClasses["openfl.display3D.Context3DClearMask"] = openfl.display3D.Context3DClearMask; -openfl.display3D.Context3DClearMask.__name__ = ["openfl","display3D","Context3DClearMask"]; -openfl.display3D.Context3DMipFilter = $hxClasses["openfl.display3D.Context3DMipFilter"] = { __ename__ : true, __constructs__ : ["MIPLINEAR","MIPNEAREST","MIPNONE"] }; -openfl.display3D.Context3DMipFilter.MIPLINEAR = ["MIPLINEAR",0]; -openfl.display3D.Context3DMipFilter.MIPLINEAR.toString = $estr; -openfl.display3D.Context3DMipFilter.MIPLINEAR.__enum__ = openfl.display3D.Context3DMipFilter; -openfl.display3D.Context3DMipFilter.MIPNEAREST = ["MIPNEAREST",1]; -openfl.display3D.Context3DMipFilter.MIPNEAREST.toString = $estr; -openfl.display3D.Context3DMipFilter.MIPNEAREST.__enum__ = openfl.display3D.Context3DMipFilter; -openfl.display3D.Context3DMipFilter.MIPNONE = ["MIPNONE",2]; -openfl.display3D.Context3DMipFilter.MIPNONE.toString = $estr; -openfl.display3D.Context3DMipFilter.MIPNONE.__enum__ = openfl.display3D.Context3DMipFilter; -openfl.display3D.Context3DProgramType = $hxClasses["openfl.display3D.Context3DProgramType"] = { __ename__ : true, __constructs__ : ["VERTEX","FRAGMENT"] }; -openfl.display3D.Context3DProgramType.VERTEX = ["VERTEX",0]; -openfl.display3D.Context3DProgramType.VERTEX.toString = $estr; -openfl.display3D.Context3DProgramType.VERTEX.__enum__ = openfl.display3D.Context3DProgramType; -openfl.display3D.Context3DProgramType.FRAGMENT = ["FRAGMENT",1]; -openfl.display3D.Context3DProgramType.FRAGMENT.toString = $estr; -openfl.display3D.Context3DProgramType.FRAGMENT.__enum__ = openfl.display3D.Context3DProgramType; -openfl.display3D.Context3DTextureFilter = $hxClasses["openfl.display3D.Context3DTextureFilter"] = { __ename__ : true, __constructs__ : ["ANISOTROPIC2X","ANISOTROPIC4X","ANISOTROPIC8X","ANISOTROPIC16X","LINEAR","NEAREST"] }; -openfl.display3D.Context3DTextureFilter.ANISOTROPIC2X = ["ANISOTROPIC2X",0]; -openfl.display3D.Context3DTextureFilter.ANISOTROPIC2X.toString = $estr; -openfl.display3D.Context3DTextureFilter.ANISOTROPIC2X.__enum__ = openfl.display3D.Context3DTextureFilter; -openfl.display3D.Context3DTextureFilter.ANISOTROPIC4X = ["ANISOTROPIC4X",1]; -openfl.display3D.Context3DTextureFilter.ANISOTROPIC4X.toString = $estr; -openfl.display3D.Context3DTextureFilter.ANISOTROPIC4X.__enum__ = openfl.display3D.Context3DTextureFilter; -openfl.display3D.Context3DTextureFilter.ANISOTROPIC8X = ["ANISOTROPIC8X",2]; -openfl.display3D.Context3DTextureFilter.ANISOTROPIC8X.toString = $estr; -openfl.display3D.Context3DTextureFilter.ANISOTROPIC8X.__enum__ = openfl.display3D.Context3DTextureFilter; -openfl.display3D.Context3DTextureFilter.ANISOTROPIC16X = ["ANISOTROPIC16X",3]; -openfl.display3D.Context3DTextureFilter.ANISOTROPIC16X.toString = $estr; -openfl.display3D.Context3DTextureFilter.ANISOTROPIC16X.__enum__ = openfl.display3D.Context3DTextureFilter; -openfl.display3D.Context3DTextureFilter.LINEAR = ["LINEAR",4]; -openfl.display3D.Context3DTextureFilter.LINEAR.toString = $estr; -openfl.display3D.Context3DTextureFilter.LINEAR.__enum__ = openfl.display3D.Context3DTextureFilter; -openfl.display3D.Context3DTextureFilter.NEAREST = ["NEAREST",5]; -openfl.display3D.Context3DTextureFilter.NEAREST.toString = $estr; -openfl.display3D.Context3DTextureFilter.NEAREST.__enum__ = openfl.display3D.Context3DTextureFilter; -openfl.display3D.Context3DTextureFormat = $hxClasses["openfl.display3D.Context3DTextureFormat"] = { __ename__ : true, __constructs__ : ["BGRA","COMPRESSED","COMPRESSED_ALPHA"] }; -openfl.display3D.Context3DTextureFormat.BGRA = ["BGRA",0]; -openfl.display3D.Context3DTextureFormat.BGRA.toString = $estr; -openfl.display3D.Context3DTextureFormat.BGRA.__enum__ = openfl.display3D.Context3DTextureFormat; -openfl.display3D.Context3DTextureFormat.COMPRESSED = ["COMPRESSED",1]; -openfl.display3D.Context3DTextureFormat.COMPRESSED.toString = $estr; -openfl.display3D.Context3DTextureFormat.COMPRESSED.__enum__ = openfl.display3D.Context3DTextureFormat; -openfl.display3D.Context3DTextureFormat.COMPRESSED_ALPHA = ["COMPRESSED_ALPHA",2]; -openfl.display3D.Context3DTextureFormat.COMPRESSED_ALPHA.toString = $estr; -openfl.display3D.Context3DTextureFormat.COMPRESSED_ALPHA.__enum__ = openfl.display3D.Context3DTextureFormat; -openfl.display3D._Context3DTriangleFace = {}; -openfl.display3D._Context3DTriangleFace.Context3DTriangleFace_Impl_ = function() { }; -$hxClasses["openfl.display3D._Context3DTriangleFace.Context3DTriangleFace_Impl_"] = openfl.display3D._Context3DTriangleFace.Context3DTriangleFace_Impl_; -openfl.display3D._Context3DTriangleFace.Context3DTriangleFace_Impl_.__name__ = ["openfl","display3D","_Context3DTriangleFace","Context3DTriangleFace_Impl_"]; -openfl.display3D._Context3DTriangleFace.Context3DTriangleFace_Impl_._new = function(a) { - return a; -}; -openfl.display3D._Context3DTriangleFace.Context3DTriangleFace_Impl_.fromInt = function(s) { - return s; -}; -openfl.display3D._Context3DTriangleFace.Context3DTriangleFace_Impl_.toInt = function(this1) { - return this1; -}; -openfl.display3D.Context3DVertexBufferFormat = $hxClasses["openfl.display3D.Context3DVertexBufferFormat"] = { __ename__ : true, __constructs__ : ["BYTES_4","FLOAT_1","FLOAT_2","FLOAT_3","FLOAT_4"] }; -openfl.display3D.Context3DVertexBufferFormat.BYTES_4 = ["BYTES_4",0]; -openfl.display3D.Context3DVertexBufferFormat.BYTES_4.toString = $estr; -openfl.display3D.Context3DVertexBufferFormat.BYTES_4.__enum__ = openfl.display3D.Context3DVertexBufferFormat; -openfl.display3D.Context3DVertexBufferFormat.FLOAT_1 = ["FLOAT_1",1]; -openfl.display3D.Context3DVertexBufferFormat.FLOAT_1.toString = $estr; -openfl.display3D.Context3DVertexBufferFormat.FLOAT_1.__enum__ = openfl.display3D.Context3DVertexBufferFormat; -openfl.display3D.Context3DVertexBufferFormat.FLOAT_2 = ["FLOAT_2",2]; -openfl.display3D.Context3DVertexBufferFormat.FLOAT_2.toString = $estr; -openfl.display3D.Context3DVertexBufferFormat.FLOAT_2.__enum__ = openfl.display3D.Context3DVertexBufferFormat; -openfl.display3D.Context3DVertexBufferFormat.FLOAT_3 = ["FLOAT_3",3]; -openfl.display3D.Context3DVertexBufferFormat.FLOAT_3.toString = $estr; -openfl.display3D.Context3DVertexBufferFormat.FLOAT_3.__enum__ = openfl.display3D.Context3DVertexBufferFormat; -openfl.display3D.Context3DVertexBufferFormat.FLOAT_4 = ["FLOAT_4",4]; -openfl.display3D.Context3DVertexBufferFormat.FLOAT_4.toString = $estr; -openfl.display3D.Context3DVertexBufferFormat.FLOAT_4.__enum__ = openfl.display3D.Context3DVertexBufferFormat; -openfl.display3D.Context3DWrapMode = $hxClasses["openfl.display3D.Context3DWrapMode"] = { __ename__ : true, __constructs__ : ["CLAMP","REPEAT"] }; -openfl.display3D.Context3DWrapMode.CLAMP = ["CLAMP",0]; -openfl.display3D.Context3DWrapMode.CLAMP.toString = $estr; -openfl.display3D.Context3DWrapMode.CLAMP.__enum__ = openfl.display3D.Context3DWrapMode; -openfl.display3D.Context3DWrapMode.REPEAT = ["REPEAT",1]; -openfl.display3D.Context3DWrapMode.REPEAT.toString = $estr; -openfl.display3D.Context3DWrapMode.REPEAT.__enum__ = openfl.display3D.Context3DWrapMode; -openfl.display3D.IndexBuffer3D = function(glBuffer,numIndices) { - this.glBuffer = glBuffer; - this.numIndices = numIndices; -}; -$hxClasses["openfl.display3D.IndexBuffer3D"] = openfl.display3D.IndexBuffer3D; -openfl.display3D.IndexBuffer3D.__name__ = ["openfl","display3D","IndexBuffer3D"]; -openfl.display3D.IndexBuffer3D.prototype = { - dispose: function() { - lime.graphics.opengl.GL.context.deleteBuffer(this.glBuffer); - } - ,uploadFromByteArray: function(byteArray,byteArrayOffset,startOffset,count) { - var bytesPerIndex = 2; - lime.graphics.opengl.GL.context.bindBuffer(34963,this.glBuffer); - var length = count * bytesPerIndex; - var offset = byteArrayOffset + startOffset * bytesPerIndex; - var indices; - indices = new Int16Array(length); - byteArray.position = offset; - var i = 0; - while(byteArray.position < length + offset) { - indices[i] = byteArray.readUnsignedByte(); - i++; - } - lime.graphics.opengl.GL.context.bufferData(34963,indices,35044); - } - ,uploadFromVector: function(data,startOffset,count) { - lime.graphics.opengl.GL.context.bindBuffer(34963,this.glBuffer); - var indices; - indices = new Int16Array(count); - var _g1 = startOffset; - var _g = startOffset + count; - while(_g1 < _g) { - var i = _g1++; - indices[i] = data.data[i]; - } - lime.graphics.opengl.GL.context.bufferData(34963,indices,35044); - } - ,__class__: openfl.display3D.IndexBuffer3D -}; -openfl.display3D.Program3D = function(program) { - this.glProgram = program; -}; -$hxClasses["openfl.display3D.Program3D"] = openfl.display3D.Program3D; -openfl.display3D.Program3D.__name__ = ["openfl","display3D","Program3D"]; -openfl.display3D.Program3D.prototype = { - dispose: function() { - lime.graphics.opengl.GL.context.deleteProgram(this.glProgram); - } - ,upload: function(vertexShader,fragmentShader) { - lime.graphics.opengl.GL.context.attachShader(this.glProgram,vertexShader); - lime.graphics.opengl.GL.context.attachShader(this.glProgram,fragmentShader); - lime.graphics.opengl.GL.context.linkProgram(this.glProgram); - if(lime.graphics.opengl.GL.context.getProgramParameter(this.glProgram,35714) == 0) { - var result = lime.graphics.opengl.GL.context.getProgramInfoLog(this.glProgram); - if(result != "") throw result; - } - } - ,__class__: openfl.display3D.Program3D -}; -openfl.display3D.VertexBuffer3D = function(glBuffer,numVertices,data32PerVertex) { - this.glBuffer = glBuffer; - this.numVertices = numVertices; - this.data32PerVertex = data32PerVertex; -}; -$hxClasses["openfl.display3D.VertexBuffer3D"] = openfl.display3D.VertexBuffer3D; -openfl.display3D.VertexBuffer3D.__name__ = ["openfl","display3D","VertexBuffer3D"]; -openfl.display3D.VertexBuffer3D.prototype = { - dispose: function() { - lime.graphics.opengl.GL.context.deleteBuffer(this.glBuffer); - } - ,uploadFromByteArray: function(byteArray,byteArrayOffset,startOffset,count) { - var bytesPerVertex = this.data32PerVertex * 4; - lime.graphics.opengl.GL.context.bindBuffer(34962,this.glBuffer); - var length = count * bytesPerVertex; - var offset = byteArrayOffset + startOffset * bytesPerVertex; - var float32Array; - float32Array = new Float32Array(length); - byteArray.position = offset; - var i = 0; - while(byteArray.position < length + offset) { - float32Array[i] = byteArray.readUnsignedByte(); - i++; - } - lime.graphics.opengl.GL.context.bufferData(34962,float32Array,35044); - } - ,uploadFromFloat32Array: function(data,startVertex,numVertices) { - lime.graphics.opengl.GL.context.bindBuffer(34962,this.glBuffer); - lime.graphics.opengl.GL.context.bufferData(34962,data,35044); - } - ,uploadFromVector: function(data,startVertex,numVertices) { - var bytesPerVertex = this.data32PerVertex * 4; - lime.graphics.opengl.GL.context.bindBuffer(34962,this.glBuffer); - var length = numVertices * this.data32PerVertex; - var offset = startVertex; - var float32Array; - float32Array = new Float32Array(length); - var _g1 = startVertex; - var _g = startVertex + length; - while(_g1 < _g) { - var i = _g1++; - float32Array[i] = data.data[i]; - } - lime.graphics.opengl.GL.context.bufferData(34962,float32Array,35044); - float32Array = null; - } - ,__class__: openfl.display3D.VertexBuffer3D -}; -openfl.display3D.textures = {}; -openfl.display3D.textures.TextureBase = function(glTexture,width,height) { - if(height == null) height = 0; - if(width == null) width = 0; - openfl.events.EventDispatcher.call(this); - this.width = width; - this.height = height; - this.glTexture = glTexture; -}; -$hxClasses["openfl.display3D.textures.TextureBase"] = openfl.display3D.textures.TextureBase; -openfl.display3D.textures.TextureBase.__name__ = ["openfl","display3D","textures","TextureBase"]; -openfl.display3D.textures.TextureBase.__super__ = openfl.events.EventDispatcher; -openfl.display3D.textures.TextureBase.prototype = $extend(openfl.events.EventDispatcher.prototype,{ - dispose: function() { - lime.graphics.opengl.GL.context.deleteTexture(this.glTexture); - } - ,__class__: openfl.display3D.textures.TextureBase -}); -openfl.display3D.textures.CubeTexture = function(glTexture,size) { - openfl.display3D.textures.TextureBase.call(this,glTexture,size,size); - this.size = size; - this._textures = []; - var _g = 0; - while(_g < 6) { - var i = _g++; - this._textures[i] = lime.graphics.opengl.GL.context.createTexture(); - } -}; -$hxClasses["openfl.display3D.textures.CubeTexture"] = openfl.display3D.textures.CubeTexture; -openfl.display3D.textures.CubeTexture.__name__ = ["openfl","display3D","textures","CubeTexture"]; -openfl.display3D.textures.CubeTexture.__super__ = openfl.display3D.textures.TextureBase; -openfl.display3D.textures.CubeTexture.prototype = $extend(openfl.display3D.textures.TextureBase.prototype,{ - glTextureAt: function(index) { - return this._textures[index]; - } - ,uploadCompressedTextureFromByteArray: function(data,byteArrayOffset,async) { - if(async == null) async = false; - } - ,uploadFromBitmapData: function(bitmapData,side,miplevel) { - if(miplevel == null) miplevel = 0; - var source = bitmapData.__image.get_data(); - lime.graphics.opengl.GL.context.bindTexture(34067,this.glTexture); - switch(side) { - case 0: - lime.graphics.opengl.GL.context.texImage2D(34069,miplevel,6408,bitmapData.width,bitmapData.height,0,6408,5121,source); - break; - case 1: - lime.graphics.opengl.GL.context.texImage2D(34070,miplevel,6408,bitmapData.width,bitmapData.height,0,6408,5121,source); - break; - case 2: - lime.graphics.opengl.GL.context.texImage2D(34071,miplevel,6408,bitmapData.width,bitmapData.height,0,6408,5121,source); - break; - case 3: - lime.graphics.opengl.GL.context.texImage2D(34072,miplevel,6408,bitmapData.width,bitmapData.height,0,6408,5121,source); - break; - case 4: - lime.graphics.opengl.GL.context.texImage2D(34073,miplevel,6408,bitmapData.width,bitmapData.height,0,6408,5121,source); - break; - case 5: - lime.graphics.opengl.GL.context.texImage2D(34074,miplevel,6408,bitmapData.width,bitmapData.height,0,6408,5121,source); - break; - default: - throw "unknown side type"; - } - lime.graphics.opengl.GL.context.bindTexture(34067,null); - } - ,uploadFromByteArray: function(data,byteArrayOffset,side,miplevel) { - if(miplevel == null) miplevel = 0; - } - ,__class__: openfl.display3D.textures.CubeTexture -}); -openfl.display3D.textures.RectangleTexture = function(glTexture,optimize,width,height) { - this.optimizeForRenderToTexture = optimize; - if(this.optimizeForRenderToTexture == null) this.optimizeForRenderToTexture = false; - openfl.display3D.textures.TextureBase.call(this,glTexture,width,height); -}; -$hxClasses["openfl.display3D.textures.RectangleTexture"] = openfl.display3D.textures.RectangleTexture; -openfl.display3D.textures.RectangleTexture.__name__ = ["openfl","display3D","textures","RectangleTexture"]; -openfl.display3D.textures.RectangleTexture.__super__ = openfl.display3D.textures.TextureBase; -openfl.display3D.textures.RectangleTexture.prototype = $extend(openfl.display3D.textures.TextureBase.prototype,{ - uploadFromBitmapData: function(bitmapData,miplevel) { - if(miplevel == null) miplevel = 0; - var p = lime.utils.ByteArray.__ofBuffer(bitmapData.__image.get_data().buffer); - this.width = bitmapData.width; - this.height = bitmapData.height; - this.uploadFromByteArray(p,0); - } - ,uploadFromByteArray: function(data,byteArrayOffset) { - lime.graphics.opengl.GL.context.bindTexture(3553,this.glTexture); - if(this.optimizeForRenderToTexture) lime.graphics.opengl.GL.context.pixelStorei(37440,1); - lime.graphics.opengl.GL.context.texParameteri(3553,10240,9728); - lime.graphics.opengl.GL.context.texParameteri(3553,10241,9728); - lime.graphics.opengl.GL.context.texParameteri(3553,10242,33071); - lime.graphics.opengl.GL.context.texParameteri(3553,10243,33071); - var source = new Uint8Array(data.length); - data.position = byteArrayOffset; - var i = 0; - while(data.position < data.length) { - source[i] = data.readUnsignedByte(); - i++; - } - lime.graphics.opengl.GL.context.texImage2D(3553,0,6408,this.width,this.height,0,6408,5121,source); - lime.graphics.opengl.GL.context.bindTexture(3553,null); - } - ,__class__: openfl.display3D.textures.RectangleTexture -}); -openfl.display3D.textures.Texture = function(glTexture,optimize,width,height) { - this.optimizeForRenderToTexture = optimize; - if(this.optimizeForRenderToTexture == null) this.optimizeForRenderToTexture = false; - openfl.display3D.textures.TextureBase.call(this,glTexture,width,height); -}; -$hxClasses["openfl.display3D.textures.Texture"] = openfl.display3D.textures.Texture; -openfl.display3D.textures.Texture.__name__ = ["openfl","display3D","textures","Texture"]; -openfl.display3D.textures.Texture.__super__ = openfl.display3D.textures.TextureBase; -openfl.display3D.textures.Texture.prototype = $extend(openfl.display3D.textures.TextureBase.prototype,{ - uploadCompressedTextureFromByteArray: function(data,byteArrayOffset,async) { - if(async == null) async = false; - } - ,uploadFromBitmapData: function(bitmapData,miplevel) { - if(miplevel == null) miplevel = 0; - var image = bitmapData.__image; - if(!image.get_premultiplied() && image.get_transparent()) { - image = image.clone(); - image.set_premultiplied(true); - } - this.width = image.width; - this.height = image.height; - this.uploadFromUInt8Array(image.get_data(),miplevel); - } - ,uploadFromByteArray: function(data,byteArrayOffset,miplevel) { - if(miplevel == null) miplevel = 0; - var source = new Uint8Array(data.length); - data.position = byteArrayOffset; - var i = 0; - while(data.position < data.length) { - source[i] = data.readUnsignedByte(); - i++; - } - this.uploadFromUInt8Array(source,miplevel); - } - ,uploadFromUInt8Array: function(data,miplevel) { - if(miplevel == null) miplevel = 0; - lime.graphics.opengl.GL.context.bindTexture(3553,this.glTexture); - if(this.optimizeForRenderToTexture) { - lime.graphics.opengl.GL.context.pixelStorei(37440,1); - lime.graphics.opengl.GL.context.texParameteri(3553,10240,9728); - lime.graphics.opengl.GL.context.texParameteri(3553,10241,9728); - lime.graphics.opengl.GL.context.texParameteri(3553,10242,33071); - lime.graphics.opengl.GL.context.texParameteri(3553,10243,33071); - } - lime.graphics.opengl.GL.context.texImage2D(3553,miplevel,6408,this.width,this.height,0,6408,5121,data); - lime.graphics.opengl.GL.context.bindTexture(3553,null); - } - ,__class__: openfl.display3D.textures.Texture -}); -openfl.errors = {}; -openfl.errors.Error = function(message,id) { - if(id == null) id = 0; - if(message == null) message = ""; - this.message = message; - this.errorID = id; - this.name = "Error"; -}; -$hxClasses["openfl.errors.Error"] = openfl.errors.Error; -openfl.errors.Error.__name__ = ["openfl","errors","Error"]; -openfl.errors.Error.prototype = { - getStackTrace: function() { - return haxe.CallStack.toString(haxe.CallStack.exceptionStack()); - } - ,toString: function() { - if(this.message != null) return this.message; else return "Error"; - } - ,__class__: openfl.errors.Error -}; -openfl.errors.ArgumentError = function(message) { - if(message == null) message = ""; - openfl.errors.Error.call(this,message); - this.name = "ArgumentError"; -}; -$hxClasses["openfl.errors.ArgumentError"] = openfl.errors.ArgumentError; -openfl.errors.ArgumentError.__name__ = ["openfl","errors","ArgumentError"]; -openfl.errors.ArgumentError.__super__ = openfl.errors.Error; -openfl.errors.ArgumentError.prototype = $extend(openfl.errors.Error.prototype,{ - __class__: openfl.errors.ArgumentError -}); -openfl.errors.IOError = function(message) { - if(message == null) message = ""; - openfl.errors.Error.call(this,message); - this.name = "IOError"; -}; -$hxClasses["openfl.errors.IOError"] = openfl.errors.IOError; -openfl.errors.IOError.__name__ = ["openfl","errors","IOError"]; -openfl.errors.IOError.__super__ = openfl.errors.Error; -openfl.errors.IOError.prototype = $extend(openfl.errors.Error.prototype,{ - __class__: openfl.errors.IOError -}); -openfl.errors.RangeError = function(message) { - if(message == null) message = ""; - openfl.errors.Error.call(this,message,0); - this.name = "RangeError"; -}; -$hxClasses["openfl.errors.RangeError"] = openfl.errors.RangeError; -openfl.errors.RangeError.__name__ = ["openfl","errors","RangeError"]; -openfl.errors.RangeError.__super__ = openfl.errors.Error; -openfl.errors.RangeError.prototype = $extend(openfl.errors.Error.prototype,{ - __class__: openfl.errors.RangeError -}); -openfl.errors.TypeError = function(message) { - if(message == null) message = ""; - openfl.errors.Error.call(this,message,0); - this.name = "TypeError"; -}; -$hxClasses["openfl.errors.TypeError"] = openfl.errors.TypeError; -openfl.errors.TypeError.__name__ = ["openfl","errors","TypeError"]; -openfl.errors.TypeError.__super__ = openfl.errors.Error; -openfl.errors.TypeError.prototype = $extend(openfl.errors.Error.prototype,{ - __class__: openfl.errors.TypeError -}); -openfl.events.Event = function(type,bubbles,cancelable) { - if(cancelable == null) cancelable = false; - if(bubbles == null) bubbles = false; - this.type = type; - this.bubbles = bubbles; - this.cancelable = cancelable; - this.eventPhase = openfl.events.EventPhase.AT_TARGET; -}; -$hxClasses["openfl.events.Event"] = openfl.events.Event; -openfl.events.Event.__name__ = ["openfl","events","Event"]; -openfl.events.Event.prototype = { - clone: function() { - var event = new openfl.events.Event(this.type,this.bubbles,this.cancelable); - event.eventPhase = this.eventPhase; - event.target = this.target; - event.currentTarget = this.currentTarget; - return event; - } - ,isDefaultPrevented: function() { - return this.__preventDefault; - } - ,preventDefault: function() { - if(this.cancelable) this.__preventDefault = true; - } - ,stopImmediatePropagation: function() { - this.__isCancelled = true; - this.__isCancelledNow = true; - } - ,stopPropagation: function() { - this.__isCancelled = true; - } - ,toString: function() { - return "[Event type=" + this.type + " bubbles=" + Std.string(this.bubbles) + " cancelable=" + Std.string(this.cancelable) + "]"; - } - ,__class__: openfl.events.Event -}; -openfl.events.TextEvent = function(type,bubbles,cancelable,text) { - if(text == null) text = ""; - if(cancelable == null) cancelable = false; - if(bubbles == null) bubbles = false; - openfl.events.Event.call(this,type,bubbles,cancelable); - this.text = text; -}; -$hxClasses["openfl.events.TextEvent"] = openfl.events.TextEvent; -openfl.events.TextEvent.__name__ = ["openfl","events","TextEvent"]; -openfl.events.TextEvent.__super__ = openfl.events.Event; -openfl.events.TextEvent.prototype = $extend(openfl.events.Event.prototype,{ - clone: function() { - return new openfl.events.TextEvent(this.type,this.bubbles,this.cancelable,this.text); - } - ,toString: function() { - return "[TextEvent type=" + this.type + " bubbles=" + Std.string(this.bubbles) + " cancelable=" + Std.string(this.cancelable) + " text=" + this.text + "]"; - } - ,__class__: openfl.events.TextEvent -}); -openfl.events.ErrorEvent = function(type,bubbles,cancelable,text,id) { - if(id == null) id = 0; - if(text == null) text = ""; - if(cancelable == null) cancelable = false; - if(bubbles == null) bubbles = false; - openfl.events.TextEvent.call(this,type,bubbles,cancelable,text); - this.errorID = id; -}; -$hxClasses["openfl.events.ErrorEvent"] = openfl.events.ErrorEvent; -openfl.events.ErrorEvent.__name__ = ["openfl","events","ErrorEvent"]; -openfl.events.ErrorEvent.__super__ = openfl.events.TextEvent; -openfl.events.ErrorEvent.prototype = $extend(openfl.events.TextEvent.prototype,{ - clone: function() { - return new openfl.events.ErrorEvent(this.type,this.bubbles,this.cancelable,this.text,this.errorID); - } - ,toString: function() { - return "[ErrorEvent type=" + this.type + " bubbles=" + Std.string(this.bubbles) + " cancelable=" + Std.string(this.cancelable) + " text=" + this.text + " errorID=" + this.errorID + "]"; - } - ,__class__: openfl.events.ErrorEvent -}); -openfl.events._EventDispatcher = {}; -openfl.events._EventDispatcher.Listener = function(callback,useCapture,priority) { - this.callback = callback; - this.useCapture = useCapture; - this.priority = priority; -}; -$hxClasses["openfl.events._EventDispatcher.Listener"] = openfl.events._EventDispatcher.Listener; -openfl.events._EventDispatcher.Listener.__name__ = ["openfl","events","_EventDispatcher","Listener"]; -openfl.events._EventDispatcher.Listener.prototype = { - match: function(callback,useCapture) { - return Reflect.compareMethods(this.callback,callback) && this.useCapture == useCapture; - } - ,__class__: openfl.events._EventDispatcher.Listener -}; -openfl.events.EventPhase = $hxClasses["openfl.events.EventPhase"] = { __ename__ : true, __constructs__ : ["CAPTURING_PHASE","AT_TARGET","BUBBLING_PHASE"] }; -openfl.events.EventPhase.CAPTURING_PHASE = ["CAPTURING_PHASE",0]; -openfl.events.EventPhase.CAPTURING_PHASE.toString = $estr; -openfl.events.EventPhase.CAPTURING_PHASE.__enum__ = openfl.events.EventPhase; -openfl.events.EventPhase.AT_TARGET = ["AT_TARGET",1]; -openfl.events.EventPhase.AT_TARGET.toString = $estr; -openfl.events.EventPhase.AT_TARGET.__enum__ = openfl.events.EventPhase; -openfl.events.EventPhase.BUBBLING_PHASE = ["BUBBLING_PHASE",2]; -openfl.events.EventPhase.BUBBLING_PHASE.toString = $estr; -openfl.events.EventPhase.BUBBLING_PHASE.__enum__ = openfl.events.EventPhase; -openfl.events.FocusEvent = function(type,bubbles,cancelable,relatedObject,shiftKey,keyCode) { - if(keyCode == null) keyCode = 0; - if(shiftKey == null) shiftKey = false; - if(cancelable == null) cancelable = false; - if(bubbles == null) bubbles = false; - openfl.events.Event.call(this,type,bubbles,cancelable); - this.keyCode = keyCode; - this.shiftKey = shiftKey; - this.relatedObject = relatedObject; -}; -$hxClasses["openfl.events.FocusEvent"] = openfl.events.FocusEvent; -openfl.events.FocusEvent.__name__ = ["openfl","events","FocusEvent"]; -openfl.events.FocusEvent.__super__ = openfl.events.Event; -openfl.events.FocusEvent.prototype = $extend(openfl.events.Event.prototype,{ - clone: function() { - var event = new openfl.events.FocusEvent(this.type,this.bubbles,this.cancelable,this.relatedObject,this.shiftKey,this.keyCode); - event.target = this.target; - event.currentTarget = this.currentTarget; - event.eventPhase = this.eventPhase; - return event; - } - ,toString: function() { - return "[FocusEvent type=" + this.type + " bubbles=" + Std.string(this.bubbles) + " cancelable=" + Std.string(this.cancelable) + " relatedObject=" + Std.string(this.relatedObject) + " shiftKey=" + Std.string(this.shiftKey) + " keyCode=" + this.keyCode + "]"; - } - ,__class__: openfl.events.FocusEvent -}); -openfl.events.GameInputEvent = function(type,bubbles,cancelable,device) { - if(cancelable == null) cancelable = false; - if(bubbles == null) bubbles = true; - openfl.events.Event.call(this,type,bubbles,cancelable); - this.device = device; -}; -$hxClasses["openfl.events.GameInputEvent"] = openfl.events.GameInputEvent; -openfl.events.GameInputEvent.__name__ = ["openfl","events","GameInputEvent"]; -openfl.events.GameInputEvent.__super__ = openfl.events.Event; -openfl.events.GameInputEvent.prototype = $extend(openfl.events.Event.prototype,{ - clone: function() { - return new openfl.events.GameInputEvent(this.type,this.bubbles,this.cancelable,this.device); - } - ,toString: function() { - return "[GameInputEvent type=" + this.type + " bubbles=" + Std.string(this.bubbles) + " cancelable=" + Std.string(this.cancelable) + " device=" + Std.string(this.device) + "]"; - } - ,__class__: openfl.events.GameInputEvent -}); -openfl.events.IOErrorEvent = function(type,bubbles,cancelable,text,id) { - if(id == null) id = 0; - if(text == null) text = ""; - if(cancelable == null) cancelable = false; - if(bubbles == null) bubbles = true; - openfl.events.ErrorEvent.call(this,type,bubbles,cancelable,text,id); -}; -$hxClasses["openfl.events.IOErrorEvent"] = openfl.events.IOErrorEvent; -openfl.events.IOErrorEvent.__name__ = ["openfl","events","IOErrorEvent"]; -openfl.events.IOErrorEvent.__super__ = openfl.events.ErrorEvent; -openfl.events.IOErrorEvent.prototype = $extend(openfl.events.ErrorEvent.prototype,{ - clone: function() { - return new openfl.events.IOErrorEvent(this.type,this.bubbles,this.cancelable,this.text,this.errorID); - } - ,toString: function() { - return "[IOErrorEvent type=" + this.type + " bubbles=" + Std.string(this.bubbles) + " cancelable=" + Std.string(this.cancelable) + " text=" + this.text + " errorID=" + this.errorID + "]"; - } - ,__class__: openfl.events.IOErrorEvent -}); -openfl.events.KeyboardEvent = function(type,bubbles,cancelable,charCodeValue,keyCodeValue,keyLocationValue,ctrlKeyValue,altKeyValue,shiftKeyValue,controlKeyValue,commandKeyValue) { - if(commandKeyValue == null) commandKeyValue = false; - if(controlKeyValue == null) controlKeyValue = false; - if(shiftKeyValue == null) shiftKeyValue = false; - if(altKeyValue == null) altKeyValue = false; - if(ctrlKeyValue == null) ctrlKeyValue = false; - if(keyCodeValue == null) keyCodeValue = 0; - if(charCodeValue == null) charCodeValue = 0; - if(cancelable == null) cancelable = false; - if(bubbles == null) bubbles = false; - openfl.events.Event.call(this,type,bubbles,cancelable); - this.charCode = charCodeValue; - this.keyCode = keyCodeValue; - if(keyLocationValue != null) this.keyLocation = keyLocationValue; else this.keyLocation = 0; - this.ctrlKey = ctrlKeyValue; - this.altKey = altKeyValue; - this.shiftKey = shiftKeyValue; - this.controlKey = controlKeyValue; - this.commandKey = commandKeyValue; -}; -$hxClasses["openfl.events.KeyboardEvent"] = openfl.events.KeyboardEvent; -openfl.events.KeyboardEvent.__name__ = ["openfl","events","KeyboardEvent"]; -openfl.events.KeyboardEvent.__super__ = openfl.events.Event; -openfl.events.KeyboardEvent.prototype = $extend(openfl.events.Event.prototype,{ - clone: function() { - return new openfl.events.KeyboardEvent(this.type,this.bubbles,this.cancelable,this.charCode,this.keyCode,this.keyLocation,this.ctrlKey,this.altKey,this.shiftKey,this.controlKey,this.commandKey); - } - ,toString: function() { - return "[KeyboardEvent type=" + this.type + " bubbles=" + Std.string(this.bubbles) + " cancelable=" + Std.string(this.cancelable) + " charCode=" + this.charCode + " keyCode=" + this.keyCode + " keyLocation=" + Std.string(this.keyLocation) + " ctrlKey=" + Std.string(this.ctrlKey) + " altKey=" + Std.string(this.altKey) + " shiftKey=" + Std.string(this.shiftKey) + "]"; - } - ,__class__: openfl.events.KeyboardEvent -}); -openfl.events.MouseEvent = function(type,bubbles,cancelable,localX,localY,relatedObject,ctrlKey,altKey,shiftKey,buttonDown,delta,commandKey,clickCount) { - if(clickCount == null) clickCount = 0; - if(commandKey == null) commandKey = false; - if(delta == null) delta = 0; - if(buttonDown == null) buttonDown = false; - if(shiftKey == null) shiftKey = false; - if(altKey == null) altKey = false; - if(ctrlKey == null) ctrlKey = false; - if(localY == null) localY = 0; - if(localX == null) localX = 0; - if(cancelable == null) cancelable = false; - if(bubbles == null) bubbles = true; - openfl.events.Event.call(this,type,bubbles,cancelable); - this.shiftKey = shiftKey; - this.altKey = altKey; - this.ctrlKey = ctrlKey; - this.bubbles = bubbles; - this.relatedObject = relatedObject; - this.delta = delta; - this.localX = localX; - this.localY = localY; - this.buttonDown = buttonDown; - this.commandKey = commandKey; - this.clickCount = clickCount; -}; -$hxClasses["openfl.events.MouseEvent"] = openfl.events.MouseEvent; -openfl.events.MouseEvent.__name__ = ["openfl","events","MouseEvent"]; -openfl.events.MouseEvent.__altKey = null; -openfl.events.MouseEvent.__buttonDown = null; -openfl.events.MouseEvent.__commandKey = null; -openfl.events.MouseEvent.__ctrlKey = null; -openfl.events.MouseEvent.__shiftKey = null; -openfl.events.MouseEvent.__create = function(type,button,stageX,stageY,local,target,delta) { - if(delta == null) delta = 0; - switch(type) { - case openfl.events.MouseEvent.MOUSE_DOWN: - openfl.events.MouseEvent.__buttonDown = true; - break; - case openfl.events.MouseEvent.MOUSE_UP: - openfl.events.MouseEvent.__buttonDown = false; - break; - default: - } - var event = new openfl.events.MouseEvent(type,true,false,local.x,local.y,null,openfl.events.MouseEvent.__ctrlKey,openfl.events.MouseEvent.__altKey,openfl.events.MouseEvent.__shiftKey,openfl.events.MouseEvent.__buttonDown,delta,openfl.events.MouseEvent.__commandKey); - event.stageX = stageX; - event.stageY = stageY; - event.target = target; - return event; -}; -openfl.events.MouseEvent.__super__ = openfl.events.Event; -openfl.events.MouseEvent.prototype = $extend(openfl.events.Event.prototype,{ - clone: function() { - return new openfl.events.MouseEvent(this.type,this.bubbles,this.cancelable,this.localX,this.localY,this.relatedObject,this.ctrlKey,this.altKey,this.shiftKey,this.buttonDown,this.delta,this.commandKey,this.clickCount); - } - ,toString: function() { - return "[MouseEvent type=" + this.type + " bubbles=" + Std.string(this.bubbles) + " cancelable=" + Std.string(this.cancelable) + " localX=" + this.localX + " localY=" + this.localY + " relatedObject=" + Std.string(this.relatedObject) + " ctrlKey=" + Std.string(this.ctrlKey) + " altKey=" + Std.string(this.altKey) + " shiftKey=" + Std.string(this.shiftKey) + " buttonDown=" + Std.string(this.buttonDown) + " delta=" + this.delta + "]"; - } - ,updateAfterEvent: function() { - } - ,__class__: openfl.events.MouseEvent -}); -openfl.events.TouchEvent = function(type,bubbles,cancelable,localX,localY,sizeX,sizeY,relatedObject,ctrlKey,altKey,shiftKey,buttonDown,delta,commandKey,clickCount) { - if(clickCount == null) clickCount = 0; - if(commandKey == null) commandKey = false; - if(delta == null) delta = 0; - if(buttonDown == null) buttonDown = false; - if(shiftKey == null) shiftKey = false; - if(altKey == null) altKey = false; - if(ctrlKey == null) ctrlKey = false; - if(sizeY == null) sizeY = 1; - if(sizeX == null) sizeX = 1; - if(localY == null) localY = 0; - if(localX == null) localX = 0; - if(cancelable == null) cancelable = false; - if(bubbles == null) bubbles = true; - openfl.events.Event.call(this,type,bubbles,cancelable); - this.shiftKey = shiftKey; - this.altKey = altKey; - this.ctrlKey = ctrlKey; - this.bubbles = bubbles; - this.relatedObject = relatedObject; - this.delta = delta; - this.localX = localX; - this.localY = localY; - this.sizeX = sizeX; - this.sizeY = sizeY; - this.buttonDown = buttonDown; - this.commandKey = commandKey; - this.pressure = 1; - this.touchPointID = 0; - this.isPrimaryTouchPoint = true; -}; -$hxClasses["openfl.events.TouchEvent"] = openfl.events.TouchEvent; -openfl.events.TouchEvent.__name__ = ["openfl","events","TouchEvent"]; -openfl.events.TouchEvent.__create = function(type,touch,stageX,stageY,local,target) { - var evt = new openfl.events.TouchEvent(type,true,false,local.x,local.y,null,null,null,false,false,false,false,0,null,0); - evt.stageX = stageX; - evt.stageY = stageY; - evt.target = target; - return evt; -}; -openfl.events.TouchEvent.__super__ = openfl.events.Event; -openfl.events.TouchEvent.prototype = $extend(openfl.events.Event.prototype,{ - updateAfterEvent: function() { - } - ,__class__: openfl.events.TouchEvent -}); -openfl.filters = {}; -openfl.filters.BitmapFilter = function() { -}; -$hxClasses["openfl.filters.BitmapFilter"] = openfl.filters.BitmapFilter; -openfl.filters.BitmapFilter.__name__ = ["openfl","filters","BitmapFilter"]; -openfl.filters.BitmapFilter.prototype = { - clone: function() { - return new openfl.filters.BitmapFilter(); - } - ,__applyFilter: function(sourceData,targetData,sourceRect,destPoint) { - } - ,__class__: openfl.filters.BitmapFilter -}; -openfl.geom.Matrix3D = function(v) { - if(v != null && v.length == 16) this.rawData = v; else { - var value = [1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0]; - var vectorData = new openfl.VectorData(); - vectorData.length = value.length; - vectorData.fixed = true; - var vec; - var this1; - this1 = new Array(value.length); - vec = this1; - var _g1 = 0; - var _g = value.length; - while(_g1 < _g) { - var i = _g1++; - vec[i] = value[i]; - } - vectorData.data = vec; - this.rawData = vectorData; - } -}; -$hxClasses["openfl.geom.Matrix3D"] = openfl.geom.Matrix3D; -openfl.geom.Matrix3D.__name__ = ["openfl","geom","Matrix3D"]; -openfl.geom.Matrix3D.create2D = function(x,y,scale,rotation) { - if(rotation == null) rotation = 0; - if(scale == null) scale = 1; - var theta = rotation * Math.PI / 180.0; - var c = Math.cos(theta); - var s = Math.sin(theta); - return new openfl.geom.Matrix3D((function($this) { - var $r; - var value = [c * scale,-s * scale,0,0,s * scale,c * scale,0,0,0,0,1,0,x,y,0,1]; - var vectorData = new openfl.VectorData(); - vectorData.length = value.length; - vectorData.fixed = true; - { - var vec; - var this1; - this1 = new Array(value.length); - vec = this1; - var _g1 = 0; - var _g = value.length; - while(_g1 < _g) { - var i = _g1++; - vec[i] = value[i]; - } - vectorData.data = vec; - } - $r = vectorData; - return $r; - }(this))); -}; -openfl.geom.Matrix3D.createABCD = function(a,b,c,d,tx,ty) { - return new openfl.geom.Matrix3D((function($this) { - var $r; - var value = [a,b,0,0,c,d,0,0,0,0,1,0,tx,ty,0,1]; - var vectorData = new openfl.VectorData(); - vectorData.length = value.length; - vectorData.fixed = true; - { - var vec; - var this1; - this1 = new Array(value.length); - vec = this1; - var _g1 = 0; - var _g = value.length; - while(_g1 < _g) { - var i = _g1++; - vec[i] = value[i]; - } - vectorData.data = vec; - } - $r = vectorData; - return $r; - }(this))); -}; -openfl.geom.Matrix3D.createOrtho = function(x0,x1,y0,y1,zNear,zFar) { - var sx = 1.0 / (x1 - x0); - var sy = 1.0 / (y1 - y0); - var sz = 1.0 / (zFar - zNear); - return new openfl.geom.Matrix3D((function($this) { - var $r; - var value = [2.0 * sx,0,0,0,0,2.0 * sy,0,0,0,0,-2. * sz,0,-(x0 + x1) * sx,-(y0 + y1) * sy,-(zNear + zFar) * sz,1]; - var vectorData = new openfl.VectorData(); - vectorData.length = value.length; - vectorData.fixed = true; - { - var vec; - var this1; - this1 = new Array(value.length); - vec = this1; - var _g1 = 0; - var _g = value.length; - while(_g1 < _g) { - var i = _g1++; - vec[i] = value[i]; - } - vectorData.data = vec; - } - $r = vectorData; - return $r; - }(this))); -}; -openfl.geom.Matrix3D.interpolate = function(thisMat,toMat,percent) { - var m = new openfl.geom.Matrix3D(); - var _g = 0; - while(_g < 16) { - var i = _g++; - var this1 = m.rawData; - if(!this1.fixed) { - if(i >= this1.length) this1.length = i + 1; - if(this1.data.length < this1.length) { - var data; - var this2; - this2 = new Array(this1.data.length + 10); - data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,data,0,this1.data.length); - this1.data = data; - } - } - this1.data[i] = thisMat.rawData.data[i] + (toMat.rawData.data[i] - thisMat.rawData.data[i]) * percent; - } - return m; -}; -openfl.geom.Matrix3D.getAxisRotation = function(x,y,z,degrees) { - var m = new openfl.geom.Matrix3D(); - var a1 = new openfl.geom.Vector3D(x,y,z); - var rad = -degrees * (Math.PI / 180); - var c = Math.cos(rad); - var s = Math.sin(rad); - var t = 1.0 - c; - var this1 = m.rawData; - if(!this1.fixed) { - if(0 >= this1.length) this1.length = 1; - if(this1.data.length < this1.length) { - var data; - var this2; - this2 = new Array(this1.data.length + 10); - data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,data,0,this1.data.length); - this1.data = data; - } - } - this1.data[0] = c + a1.x * a1.x * t; - var this3 = m.rawData; - if(!this3.fixed) { - if(5 >= this3.length) this3.length = 6; - if(this3.data.length < this3.length) { - var data1; - var this4; - this4 = new Array(this3.data.length + 10); - data1 = this4; - haxe.ds._Vector.Vector_Impl_.blit(this3.data,0,data1,0,this3.data.length); - this3.data = data1; - } - } - this3.data[5] = c + a1.y * a1.y * t; - var this5 = m.rawData; - if(!this5.fixed) { - if(10 >= this5.length) this5.length = 11; - if(this5.data.length < this5.length) { - var data2; - var this6; - this6 = new Array(this5.data.length + 10); - data2 = this6; - haxe.ds._Vector.Vector_Impl_.blit(this5.data,0,data2,0,this5.data.length); - this5.data = data2; - } - } - this5.data[10] = c + a1.z * a1.z * t; - var tmp1 = a1.x * a1.y * t; - var tmp2 = a1.z * s; - var this7 = m.rawData; - if(!this7.fixed) { - if(4 >= this7.length) this7.length = 5; - if(this7.data.length < this7.length) { - var data3; - var this8; - this8 = new Array(this7.data.length + 10); - data3 = this8; - haxe.ds._Vector.Vector_Impl_.blit(this7.data,0,data3,0,this7.data.length); - this7.data = data3; - } - } - this7.data[4] = tmp1 + tmp2; - var this9 = m.rawData; - if(!this9.fixed) { - if(1 >= this9.length) this9.length = 2; - if(this9.data.length < this9.length) { - var data4; - var this10; - this10 = new Array(this9.data.length + 10); - data4 = this10; - haxe.ds._Vector.Vector_Impl_.blit(this9.data,0,data4,0,this9.data.length); - this9.data = data4; - } - } - this9.data[1] = tmp1 - tmp2; - tmp1 = a1.x * a1.z * t; - tmp2 = a1.y * s; - var this11 = m.rawData; - if(!this11.fixed) { - if(8 >= this11.length) this11.length = 9; - if(this11.data.length < this11.length) { - var data5; - var this12; - this12 = new Array(this11.data.length + 10); - data5 = this12; - haxe.ds._Vector.Vector_Impl_.blit(this11.data,0,data5,0,this11.data.length); - this11.data = data5; - } - } - this11.data[8] = tmp1 - tmp2; - var this13 = m.rawData; - if(!this13.fixed) { - if(2 >= this13.length) this13.length = 3; - if(this13.data.length < this13.length) { - var data6; - var this14; - this14 = new Array(this13.data.length + 10); - data6 = this14; - haxe.ds._Vector.Vector_Impl_.blit(this13.data,0,data6,0,this13.data.length); - this13.data = data6; - } - } - this13.data[2] = tmp1 + tmp2; - tmp1 = a1.y * a1.z * t; - tmp2 = a1.x * s; - var this15 = m.rawData; - if(!this15.fixed) { - if(9 >= this15.length) this15.length = 10; - if(this15.data.length < this15.length) { - var data7; - var this16; - this16 = new Array(this15.data.length + 10); - data7 = this16; - haxe.ds._Vector.Vector_Impl_.blit(this15.data,0,data7,0,this15.data.length); - this15.data = data7; - } - } - this15.data[9] = tmp1 + tmp2; - var this17 = m.rawData; - if(!this17.fixed) { - if(6 >= this17.length) this17.length = 7; - if(this17.data.length < this17.length) { - var data8; - var this18; - this18 = new Array(this17.data.length + 10); - data8 = this18; - haxe.ds._Vector.Vector_Impl_.blit(this17.data,0,data8,0,this17.data.length); - this17.data = data8; - } - } - this17.data[6] = tmp1 - tmp2; - return m; -}; -openfl.geom.Matrix3D.prototype = { - append: function(lhs) { - var m111 = this.rawData.data[0]; - var m121 = this.rawData.data[4]; - var m131 = this.rawData.data[8]; - var m141 = this.rawData.data[12]; - var m112 = this.rawData.data[1]; - var m122 = this.rawData.data[5]; - var m132 = this.rawData.data[9]; - var m142 = this.rawData.data[13]; - var m113 = this.rawData.data[2]; - var m123 = this.rawData.data[6]; - var m133 = this.rawData.data[10]; - var m143 = this.rawData.data[14]; - var m114 = this.rawData.data[3]; - var m124 = this.rawData.data[7]; - var m134 = this.rawData.data[11]; - var m144 = this.rawData.data[15]; - var m211 = lhs.rawData.data[0]; - var m221 = lhs.rawData.data[4]; - var m231 = lhs.rawData.data[8]; - var m241 = lhs.rawData.data[12]; - var m212 = lhs.rawData.data[1]; - var m222 = lhs.rawData.data[5]; - var m232 = lhs.rawData.data[9]; - var m242 = lhs.rawData.data[13]; - var m213 = lhs.rawData.data[2]; - var m223 = lhs.rawData.data[6]; - var m233 = lhs.rawData.data[10]; - var m243 = lhs.rawData.data[14]; - var m214 = lhs.rawData.data[3]; - var m224 = lhs.rawData.data[7]; - var m234 = lhs.rawData.data[11]; - var m244 = lhs.rawData.data[15]; - var this1 = this.rawData; - if(!this1.fixed) { - if(0 >= this1.length) this1.length = 1; - if(this1.data.length < this1.length) { - var data; - var this2; - this2 = new Array(this1.data.length + 10); - data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,data,0,this1.data.length); - this1.data = data; - } - } - this1.data[0] = m111 * m211 + m112 * m221 + m113 * m231 + m114 * m241; - var this3 = this.rawData; - if(!this3.fixed) { - if(1 >= this3.length) this3.length = 2; - if(this3.data.length < this3.length) { - var data1; - var this4; - this4 = new Array(this3.data.length + 10); - data1 = this4; - haxe.ds._Vector.Vector_Impl_.blit(this3.data,0,data1,0,this3.data.length); - this3.data = data1; - } - } - this3.data[1] = m111 * m212 + m112 * m222 + m113 * m232 + m114 * m242; - var this5 = this.rawData; - if(!this5.fixed) { - if(2 >= this5.length) this5.length = 3; - if(this5.data.length < this5.length) { - var data2; - var this6; - this6 = new Array(this5.data.length + 10); - data2 = this6; - haxe.ds._Vector.Vector_Impl_.blit(this5.data,0,data2,0,this5.data.length); - this5.data = data2; - } - } - this5.data[2] = m111 * m213 + m112 * m223 + m113 * m233 + m114 * m243; - var this7 = this.rawData; - if(!this7.fixed) { - if(3 >= this7.length) this7.length = 4; - if(this7.data.length < this7.length) { - var data3; - var this8; - this8 = new Array(this7.data.length + 10); - data3 = this8; - haxe.ds._Vector.Vector_Impl_.blit(this7.data,0,data3,0,this7.data.length); - this7.data = data3; - } - } - this7.data[3] = m111 * m214 + m112 * m224 + m113 * m234 + m114 * m244; - var this9 = this.rawData; - if(!this9.fixed) { - if(4 >= this9.length) this9.length = 5; - if(this9.data.length < this9.length) { - var data4; - var this10; - this10 = new Array(this9.data.length + 10); - data4 = this10; - haxe.ds._Vector.Vector_Impl_.blit(this9.data,0,data4,0,this9.data.length); - this9.data = data4; - } - } - this9.data[4] = m121 * m211 + m122 * m221 + m123 * m231 + m124 * m241; - var this11 = this.rawData; - if(!this11.fixed) { - if(5 >= this11.length) this11.length = 6; - if(this11.data.length < this11.length) { - var data5; - var this12; - this12 = new Array(this11.data.length + 10); - data5 = this12; - haxe.ds._Vector.Vector_Impl_.blit(this11.data,0,data5,0,this11.data.length); - this11.data = data5; - } - } - this11.data[5] = m121 * m212 + m122 * m222 + m123 * m232 + m124 * m242; - var this13 = this.rawData; - if(!this13.fixed) { - if(6 >= this13.length) this13.length = 7; - if(this13.data.length < this13.length) { - var data6; - var this14; - this14 = new Array(this13.data.length + 10); - data6 = this14; - haxe.ds._Vector.Vector_Impl_.blit(this13.data,0,data6,0,this13.data.length); - this13.data = data6; - } - } - this13.data[6] = m121 * m213 + m122 * m223 + m123 * m233 + m124 * m243; - var this15 = this.rawData; - if(!this15.fixed) { - if(7 >= this15.length) this15.length = 8; - if(this15.data.length < this15.length) { - var data7; - var this16; - this16 = new Array(this15.data.length + 10); - data7 = this16; - haxe.ds._Vector.Vector_Impl_.blit(this15.data,0,data7,0,this15.data.length); - this15.data = data7; - } - } - this15.data[7] = m121 * m214 + m122 * m224 + m123 * m234 + m124 * m244; - var this17 = this.rawData; - if(!this17.fixed) { - if(8 >= this17.length) this17.length = 9; - if(this17.data.length < this17.length) { - var data8; - var this18; - this18 = new Array(this17.data.length + 10); - data8 = this18; - haxe.ds._Vector.Vector_Impl_.blit(this17.data,0,data8,0,this17.data.length); - this17.data = data8; - } - } - this17.data[8] = m131 * m211 + m132 * m221 + m133 * m231 + m134 * m241; - var this19 = this.rawData; - if(!this19.fixed) { - if(9 >= this19.length) this19.length = 10; - if(this19.data.length < this19.length) { - var data9; - var this20; - this20 = new Array(this19.data.length + 10); - data9 = this20; - haxe.ds._Vector.Vector_Impl_.blit(this19.data,0,data9,0,this19.data.length); - this19.data = data9; - } - } - this19.data[9] = m131 * m212 + m132 * m222 + m133 * m232 + m134 * m242; - var this21 = this.rawData; - if(!this21.fixed) { - if(10 >= this21.length) this21.length = 11; - if(this21.data.length < this21.length) { - var data10; - var this22; - this22 = new Array(this21.data.length + 10); - data10 = this22; - haxe.ds._Vector.Vector_Impl_.blit(this21.data,0,data10,0,this21.data.length); - this21.data = data10; - } - } - this21.data[10] = m131 * m213 + m132 * m223 + m133 * m233 + m134 * m243; - var this23 = this.rawData; - if(!this23.fixed) { - if(11 >= this23.length) this23.length = 12; - if(this23.data.length < this23.length) { - var data11; - var this24; - this24 = new Array(this23.data.length + 10); - data11 = this24; - haxe.ds._Vector.Vector_Impl_.blit(this23.data,0,data11,0,this23.data.length); - this23.data = data11; - } - } - this23.data[11] = m131 * m214 + m132 * m224 + m133 * m234 + m134 * m244; - var this25 = this.rawData; - if(!this25.fixed) { - if(12 >= this25.length) this25.length = 13; - if(this25.data.length < this25.length) { - var data12; - var this26; - this26 = new Array(this25.data.length + 10); - data12 = this26; - haxe.ds._Vector.Vector_Impl_.blit(this25.data,0,data12,0,this25.data.length); - this25.data = data12; - } - } - this25.data[12] = m141 * m211 + m142 * m221 + m143 * m231 + m144 * m241; - var this27 = this.rawData; - if(!this27.fixed) { - if(13 >= this27.length) this27.length = 14; - if(this27.data.length < this27.length) { - var data13; - var this28; - this28 = new Array(this27.data.length + 10); - data13 = this28; - haxe.ds._Vector.Vector_Impl_.blit(this27.data,0,data13,0,this27.data.length); - this27.data = data13; - } - } - this27.data[13] = m141 * m212 + m142 * m222 + m143 * m232 + m144 * m242; - var this29 = this.rawData; - if(!this29.fixed) { - if(14 >= this29.length) this29.length = 15; - if(this29.data.length < this29.length) { - var data14; - var this30; - this30 = new Array(this29.data.length + 10); - data14 = this30; - haxe.ds._Vector.Vector_Impl_.blit(this29.data,0,data14,0,this29.data.length); - this29.data = data14; - } - } - this29.data[14] = m141 * m213 + m142 * m223 + m143 * m233 + m144 * m243; - var this31 = this.rawData; - if(!this31.fixed) { - if(15 >= this31.length) this31.length = 16; - if(this31.data.length < this31.length) { - var data15; - var this32; - this32 = new Array(this31.data.length + 10); - data15 = this32; - haxe.ds._Vector.Vector_Impl_.blit(this31.data,0,data15,0,this31.data.length); - this31.data = data15; - } - } - this31.data[15] = m141 * m214 + m142 * m224 + m143 * m234 + m144 * m244; - } - ,appendRotation: function(degrees,axis,pivotPoint) { - var m = openfl.geom.Matrix3D.getAxisRotation(axis.x,axis.y,axis.z,degrees); - if(pivotPoint != null) { - var p = pivotPoint; - m.appendTranslation(p.x,p.y,p.z); - } - this.append(m); - } - ,appendScale: function(xScale,yScale,zScale) { - this.append(new openfl.geom.Matrix3D((function($this) { - var $r; - var value = [xScale,0.0,0.0,0.0,0.0,yScale,0.0,0.0,0.0,0.0,zScale,0.0,0.0,0.0,0.0,1.0]; - var vectorData = new openfl.VectorData(); - vectorData.length = value.length; - vectorData.fixed = true; - { - var vec; - var this1; - this1 = new Array(value.length); - vec = this1; - var _g1 = 0; - var _g = value.length; - while(_g1 < _g) { - var i = _g1++; - vec[i] = value[i]; - } - vectorData.data = vec; - } - $r = vectorData; - return $r; - }(this)))); - } - ,appendTranslation: function(x,y,z) { - var this1 = this.rawData; - if(!this1.fixed) { - if(12 >= this1.length) this1.length = 13; - if(this1.data.length < this1.length) { - var data; - var this2; - this2 = new Array(this1.data.length + 10); - data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,data,0,this1.data.length); - this1.data = data; - } - } - this1.data[12] = this.rawData.data[12] + x; - var this3 = this.rawData; - if(!this3.fixed) { - if(13 >= this3.length) this3.length = 14; - if(this3.data.length < this3.length) { - var data1; - var this4; - this4 = new Array(this3.data.length + 10); - data1 = this4; - haxe.ds._Vector.Vector_Impl_.blit(this3.data,0,data1,0,this3.data.length); - this3.data = data1; - } - } - this3.data[13] = this.rawData.data[13] + y; - var this5 = this.rawData; - if(!this5.fixed) { - if(14 >= this5.length) this5.length = 15; - if(this5.data.length < this5.length) { - var data2; - var this6; - this6 = new Array(this5.data.length + 10); - data2 = this6; - haxe.ds._Vector.Vector_Impl_.blit(this5.data,0,data2,0,this5.data.length); - this5.data = data2; - } - } - this5.data[14] = this.rawData.data[14] + z; - } - ,clone: function() { - return new openfl.geom.Matrix3D((function($this) { - var $r; - var this1 = $this.rawData; - var vectorData = new openfl.VectorData(); - vectorData.length = this1.length; - vectorData.fixed = this1.fixed; - { - var this2; - this2 = new Array(this1.length); - vectorData.data = this2; - } - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,vectorData.data,0,this1.length); - $r = vectorData; - return $r; - }(this))); - } - ,copyColumnFrom: function(column,vector3D) { - switch(column) { - case 0: - var this1 = this.rawData; - if(!this1.fixed) { - if(0 >= this1.length) this1.length = 1; - if(this1.data.length < this1.length) { - var data; - var this2; - this2 = new Array(this1.data.length + 10); - data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,data,0,this1.data.length); - this1.data = data; - } - } - this1.data[0] = vector3D.x; - var this3 = this.rawData; - if(!this3.fixed) { - if(1 >= this3.length) this3.length = 2; - if(this3.data.length < this3.length) { - var data1; - var this4; - this4 = new Array(this3.data.length + 10); - data1 = this4; - haxe.ds._Vector.Vector_Impl_.blit(this3.data,0,data1,0,this3.data.length); - this3.data = data1; - } - } - this3.data[1] = vector3D.y; - var this5 = this.rawData; - if(!this5.fixed) { - if(2 >= this5.length) this5.length = 3; - if(this5.data.length < this5.length) { - var data2; - var this6; - this6 = new Array(this5.data.length + 10); - data2 = this6; - haxe.ds._Vector.Vector_Impl_.blit(this5.data,0,data2,0,this5.data.length); - this5.data = data2; - } - } - this5.data[2] = vector3D.z; - var this7 = this.rawData; - if(!this7.fixed) { - if(3 >= this7.length) this7.length = 4; - if(this7.data.length < this7.length) { - var data3; - var this8; - this8 = new Array(this7.data.length + 10); - data3 = this8; - haxe.ds._Vector.Vector_Impl_.blit(this7.data,0,data3,0,this7.data.length); - this7.data = data3; - } - } - this7.data[3] = vector3D.w; - break; - case 1: - var this9 = this.rawData; - if(!this9.fixed) { - if(4 >= this9.length) this9.length = 5; - if(this9.data.length < this9.length) { - var data4; - var this10; - this10 = new Array(this9.data.length + 10); - data4 = this10; - haxe.ds._Vector.Vector_Impl_.blit(this9.data,0,data4,0,this9.data.length); - this9.data = data4; - } - } - this9.data[4] = vector3D.x; - var this11 = this.rawData; - if(!this11.fixed) { - if(5 >= this11.length) this11.length = 6; - if(this11.data.length < this11.length) { - var data5; - var this12; - this12 = new Array(this11.data.length + 10); - data5 = this12; - haxe.ds._Vector.Vector_Impl_.blit(this11.data,0,data5,0,this11.data.length); - this11.data = data5; - } - } - this11.data[5] = vector3D.y; - var this13 = this.rawData; - if(!this13.fixed) { - if(6 >= this13.length) this13.length = 7; - if(this13.data.length < this13.length) { - var data6; - var this14; - this14 = new Array(this13.data.length + 10); - data6 = this14; - haxe.ds._Vector.Vector_Impl_.blit(this13.data,0,data6,0,this13.data.length); - this13.data = data6; - } - } - this13.data[6] = vector3D.z; - var this15 = this.rawData; - if(!this15.fixed) { - if(7 >= this15.length) this15.length = 8; - if(this15.data.length < this15.length) { - var data7; - var this16; - this16 = new Array(this15.data.length + 10); - data7 = this16; - haxe.ds._Vector.Vector_Impl_.blit(this15.data,0,data7,0,this15.data.length); - this15.data = data7; - } - } - this15.data[7] = vector3D.w; - break; - case 2: - var this17 = this.rawData; - if(!this17.fixed) { - if(8 >= this17.length) this17.length = 9; - if(this17.data.length < this17.length) { - var data8; - var this18; - this18 = new Array(this17.data.length + 10); - data8 = this18; - haxe.ds._Vector.Vector_Impl_.blit(this17.data,0,data8,0,this17.data.length); - this17.data = data8; - } - } - this17.data[8] = vector3D.x; - var this19 = this.rawData; - if(!this19.fixed) { - if(9 >= this19.length) this19.length = 10; - if(this19.data.length < this19.length) { - var data9; - var this20; - this20 = new Array(this19.data.length + 10); - data9 = this20; - haxe.ds._Vector.Vector_Impl_.blit(this19.data,0,data9,0,this19.data.length); - this19.data = data9; - } - } - this19.data[9] = vector3D.y; - var this21 = this.rawData; - if(!this21.fixed) { - if(10 >= this21.length) this21.length = 11; - if(this21.data.length < this21.length) { - var data10; - var this22; - this22 = new Array(this21.data.length + 10); - data10 = this22; - haxe.ds._Vector.Vector_Impl_.blit(this21.data,0,data10,0,this21.data.length); - this21.data = data10; - } - } - this21.data[10] = vector3D.z; - var this23 = this.rawData; - if(!this23.fixed) { - if(11 >= this23.length) this23.length = 12; - if(this23.data.length < this23.length) { - var data11; - var this24; - this24 = new Array(this23.data.length + 10); - data11 = this24; - haxe.ds._Vector.Vector_Impl_.blit(this23.data,0,data11,0,this23.data.length); - this23.data = data11; - } - } - this23.data[11] = vector3D.w; - break; - case 3: - var this25 = this.rawData; - if(!this25.fixed) { - if(12 >= this25.length) this25.length = 13; - if(this25.data.length < this25.length) { - var data12; - var this26; - this26 = new Array(this25.data.length + 10); - data12 = this26; - haxe.ds._Vector.Vector_Impl_.blit(this25.data,0,data12,0,this25.data.length); - this25.data = data12; - } - } - this25.data[12] = vector3D.x; - var this27 = this.rawData; - if(!this27.fixed) { - if(13 >= this27.length) this27.length = 14; - if(this27.data.length < this27.length) { - var data13; - var this28; - this28 = new Array(this27.data.length + 10); - data13 = this28; - haxe.ds._Vector.Vector_Impl_.blit(this27.data,0,data13,0,this27.data.length); - this27.data = data13; - } - } - this27.data[13] = vector3D.y; - var this29 = this.rawData; - if(!this29.fixed) { - if(14 >= this29.length) this29.length = 15; - if(this29.data.length < this29.length) { - var data14; - var this30; - this30 = new Array(this29.data.length + 10); - data14 = this30; - haxe.ds._Vector.Vector_Impl_.blit(this29.data,0,data14,0,this29.data.length); - this29.data = data14; - } - } - this29.data[14] = vector3D.z; - var this31 = this.rawData; - if(!this31.fixed) { - if(15 >= this31.length) this31.length = 16; - if(this31.data.length < this31.length) { - var data15; - var this32; - this32 = new Array(this31.data.length + 10); - data15 = this32; - haxe.ds._Vector.Vector_Impl_.blit(this31.data,0,data15,0,this31.data.length); - this31.data = data15; - } - } - this31.data[15] = vector3D.w; - break; - default: - throw new openfl.errors.Error("Error, Column " + column + " out of bounds [0, ..., 3]"); - } - } - ,copyColumnTo: function(column,vector3D) { - switch(column) { - case 0: - vector3D.x = this.rawData.data[0]; - vector3D.y = this.rawData.data[1]; - vector3D.z = this.rawData.data[2]; - vector3D.w = this.rawData.data[3]; - break; - case 1: - vector3D.x = this.rawData.data[4]; - vector3D.y = this.rawData.data[5]; - vector3D.z = this.rawData.data[6]; - vector3D.w = this.rawData.data[7]; - break; - case 2: - vector3D.x = this.rawData.data[8]; - vector3D.y = this.rawData.data[9]; - vector3D.z = this.rawData.data[10]; - vector3D.w = this.rawData.data[11]; - break; - case 3: - vector3D.x = this.rawData.data[12]; - vector3D.y = this.rawData.data[13]; - vector3D.z = this.rawData.data[14]; - vector3D.w = this.rawData.data[15]; - break; - default: - throw new openfl.errors.Error("Error, Column " + column + " out of bounds [0, ..., 3]"); - } - } - ,copyFrom: function(other) { - var this1 = other.rawData; - var vectorData = new openfl.VectorData(); - vectorData.length = this1.length; - vectorData.fixed = this1.fixed; - var this2; - this2 = new Array(this1.length); - vectorData.data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,vectorData.data,0,this1.length); - this.rawData = vectorData; - } - ,copyRawDataFrom: function(vector,index,transpose) { - if(transpose == null) transpose = false; - if(index == null) index = 0; - if(transpose) this.transpose(); - var l = vector.length - index; - var _g = 0; - while(_g < l) { - var c = _g++; - var this1 = this.rawData; - if(!this1.fixed) { - if(c >= this1.length) this1.length = c + 1; - if(this1.data.length < this1.length) { - var data; - var this2; - this2 = new Array(this1.data.length + 10); - data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,data,0,this1.data.length); - this1.data = data; - } - } - this1.data[c] = vector.data[c + index]; - } - if(transpose) this.transpose(); - } - ,copyRawDataTo: function(vector,index,transpose) { - if(transpose == null) transpose = false; - if(index == null) index = 0; - if(transpose) this.transpose(); - var l = this.rawData.length; - var _g = 0; - while(_g < l) { - var c = _g++; - var key = c + index; - if(!vector.fixed) { - if(key >= vector.length) vector.length = key + 1; - if(vector.data.length < vector.length) { - var data; - var this1; - this1 = new Array(vector.data.length + 10); - data = this1; - haxe.ds._Vector.Vector_Impl_.blit(vector.data,0,data,0,vector.data.length); - vector.data = data; - } - } - vector.data[key] = this.rawData.data[c]; - } - if(transpose) this.transpose(); - } - ,copyRowFrom: function(row,vector3D) { - switch(row) { - case 0: - var this1 = this.rawData; - if(!this1.fixed) { - if(0 >= this1.length) this1.length = 1; - if(this1.data.length < this1.length) { - var data; - var this2; - this2 = new Array(this1.data.length + 10); - data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,data,0,this1.data.length); - this1.data = data; - } - } - this1.data[0] = vector3D.x; - var this3 = this.rawData; - if(!this3.fixed) { - if(4 >= this3.length) this3.length = 5; - if(this3.data.length < this3.length) { - var data1; - var this4; - this4 = new Array(this3.data.length + 10); - data1 = this4; - haxe.ds._Vector.Vector_Impl_.blit(this3.data,0,data1,0,this3.data.length); - this3.data = data1; - } - } - this3.data[4] = vector3D.y; - var this5 = this.rawData; - if(!this5.fixed) { - if(8 >= this5.length) this5.length = 9; - if(this5.data.length < this5.length) { - var data2; - var this6; - this6 = new Array(this5.data.length + 10); - data2 = this6; - haxe.ds._Vector.Vector_Impl_.blit(this5.data,0,data2,0,this5.data.length); - this5.data = data2; - } - } - this5.data[8] = vector3D.z; - var this7 = this.rawData; - if(!this7.fixed) { - if(12 >= this7.length) this7.length = 13; - if(this7.data.length < this7.length) { - var data3; - var this8; - this8 = new Array(this7.data.length + 10); - data3 = this8; - haxe.ds._Vector.Vector_Impl_.blit(this7.data,0,data3,0,this7.data.length); - this7.data = data3; - } - } - this7.data[12] = vector3D.w; - break; - case 1: - var this9 = this.rawData; - if(!this9.fixed) { - if(1 >= this9.length) this9.length = 2; - if(this9.data.length < this9.length) { - var data4; - var this10; - this10 = new Array(this9.data.length + 10); - data4 = this10; - haxe.ds._Vector.Vector_Impl_.blit(this9.data,0,data4,0,this9.data.length); - this9.data = data4; - } - } - this9.data[1] = vector3D.x; - var this11 = this.rawData; - if(!this11.fixed) { - if(5 >= this11.length) this11.length = 6; - if(this11.data.length < this11.length) { - var data5; - var this12; - this12 = new Array(this11.data.length + 10); - data5 = this12; - haxe.ds._Vector.Vector_Impl_.blit(this11.data,0,data5,0,this11.data.length); - this11.data = data5; - } - } - this11.data[5] = vector3D.y; - var this13 = this.rawData; - if(!this13.fixed) { - if(9 >= this13.length) this13.length = 10; - if(this13.data.length < this13.length) { - var data6; - var this14; - this14 = new Array(this13.data.length + 10); - data6 = this14; - haxe.ds._Vector.Vector_Impl_.blit(this13.data,0,data6,0,this13.data.length); - this13.data = data6; - } - } - this13.data[9] = vector3D.z; - var this15 = this.rawData; - if(!this15.fixed) { - if(13 >= this15.length) this15.length = 14; - if(this15.data.length < this15.length) { - var data7; - var this16; - this16 = new Array(this15.data.length + 10); - data7 = this16; - haxe.ds._Vector.Vector_Impl_.blit(this15.data,0,data7,0,this15.data.length); - this15.data = data7; - } - } - this15.data[13] = vector3D.w; - break; - case 2: - var this17 = this.rawData; - if(!this17.fixed) { - if(2 >= this17.length) this17.length = 3; - if(this17.data.length < this17.length) { - var data8; - var this18; - this18 = new Array(this17.data.length + 10); - data8 = this18; - haxe.ds._Vector.Vector_Impl_.blit(this17.data,0,data8,0,this17.data.length); - this17.data = data8; - } - } - this17.data[2] = vector3D.x; - var this19 = this.rawData; - if(!this19.fixed) { - if(6 >= this19.length) this19.length = 7; - if(this19.data.length < this19.length) { - var data9; - var this20; - this20 = new Array(this19.data.length + 10); - data9 = this20; - haxe.ds._Vector.Vector_Impl_.blit(this19.data,0,data9,0,this19.data.length); - this19.data = data9; - } - } - this19.data[6] = vector3D.y; - var this21 = this.rawData; - if(!this21.fixed) { - if(10 >= this21.length) this21.length = 11; - if(this21.data.length < this21.length) { - var data10; - var this22; - this22 = new Array(this21.data.length + 10); - data10 = this22; - haxe.ds._Vector.Vector_Impl_.blit(this21.data,0,data10,0,this21.data.length); - this21.data = data10; - } - } - this21.data[10] = vector3D.z; - var this23 = this.rawData; - if(!this23.fixed) { - if(14 >= this23.length) this23.length = 15; - if(this23.data.length < this23.length) { - var data11; - var this24; - this24 = new Array(this23.data.length + 10); - data11 = this24; - haxe.ds._Vector.Vector_Impl_.blit(this23.data,0,data11,0,this23.data.length); - this23.data = data11; - } - } - this23.data[14] = vector3D.w; - break; - case 3: - var this25 = this.rawData; - if(!this25.fixed) { - if(3 >= this25.length) this25.length = 4; - if(this25.data.length < this25.length) { - var data12; - var this26; - this26 = new Array(this25.data.length + 10); - data12 = this26; - haxe.ds._Vector.Vector_Impl_.blit(this25.data,0,data12,0,this25.data.length); - this25.data = data12; - } - } - this25.data[3] = vector3D.x; - var this27 = this.rawData; - if(!this27.fixed) { - if(7 >= this27.length) this27.length = 8; - if(this27.data.length < this27.length) { - var data13; - var this28; - this28 = new Array(this27.data.length + 10); - data13 = this28; - haxe.ds._Vector.Vector_Impl_.blit(this27.data,0,data13,0,this27.data.length); - this27.data = data13; - } - } - this27.data[7] = vector3D.y; - var this29 = this.rawData; - if(!this29.fixed) { - if(11 >= this29.length) this29.length = 12; - if(this29.data.length < this29.length) { - var data14; - var this30; - this30 = new Array(this29.data.length + 10); - data14 = this30; - haxe.ds._Vector.Vector_Impl_.blit(this29.data,0,data14,0,this29.data.length); - this29.data = data14; - } - } - this29.data[11] = vector3D.z; - var this31 = this.rawData; - if(!this31.fixed) { - if(15 >= this31.length) this31.length = 16; - if(this31.data.length < this31.length) { - var data15; - var this32; - this32 = new Array(this31.data.length + 10); - data15 = this32; - haxe.ds._Vector.Vector_Impl_.blit(this31.data,0,data15,0,this31.data.length); - this31.data = data15; - } - } - this31.data[15] = vector3D.w; - break; - default: - throw new openfl.errors.Error("Error, Row " + Std.string((function($this) { - var $r; - var $int = row; - $r = $int < 0?4294967296.0 + $int:$int + 0.0; - return $r; - }(this))) + " out of bounds [0, ..., 3]"); - } - } - ,copyRowTo: function(row,vector3D) { - switch(row) { - case 0: - vector3D.x = this.rawData.data[0]; - vector3D.y = this.rawData.data[4]; - vector3D.z = this.rawData.data[8]; - vector3D.w = this.rawData.data[12]; - break; - case 1: - vector3D.x = this.rawData.data[1]; - vector3D.y = this.rawData.data[5]; - vector3D.z = this.rawData.data[9]; - vector3D.w = this.rawData.data[13]; - break; - case 2: - vector3D.x = this.rawData.data[2]; - vector3D.y = this.rawData.data[6]; - vector3D.z = this.rawData.data[10]; - vector3D.w = this.rawData.data[14]; - break; - case 3: - vector3D.x = this.rawData.data[3]; - vector3D.y = this.rawData.data[7]; - vector3D.z = this.rawData.data[11]; - vector3D.w = this.rawData.data[15]; - break; - default: - throw new openfl.errors.Error("Error, Row " + row + " out of bounds [0, ..., 3]"); - } - } - ,copyToMatrix3D: function(other) { - var this1 = this.rawData; - var vectorData = new openfl.VectorData(); - vectorData.length = this1.length; - vectorData.fixed = this1.fixed; - var this2; - this2 = new Array(this1.length); - vectorData.data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,vectorData.data,0,this1.length); - other.rawData = vectorData; - } - ,decompose: function(orientationStyle) { - if(orientationStyle == null) orientationStyle = openfl.geom.Orientation3D.EULER_ANGLES; - var vec; - var this1; - this1 = new openfl.VectorData(); - var this2; - this2 = new Array(0); - this1.data = this2; - this1.length = 0; - this1.fixed = false; - vec = this1; - var m = this.clone(); - var mr; - var this3 = m.rawData; - var vectorData = new openfl.VectorData(); - vectorData.length = this3.length; - vectorData.fixed = this3.fixed; - var this4; - this4 = new Array(this3.length); - vectorData.data = this4; - haxe.ds._Vector.Vector_Impl_.blit(this3.data,0,vectorData.data,0,this3.length); - mr = vectorData; - var pos = new openfl.geom.Vector3D(mr.data[12],mr.data[13],mr.data[14]); - if(!mr.fixed) { - if(12 >= mr.length) mr.length = 13; - if(mr.data.length < mr.length) { - var data; - var this5; - this5 = new Array(mr.data.length + 10); - data = this5; - haxe.ds._Vector.Vector_Impl_.blit(mr.data,0,data,0,mr.data.length); - mr.data = data; - } - } - mr.data[12] = 0; - if(!mr.fixed) { - if(13 >= mr.length) mr.length = 14; - if(mr.data.length < mr.length) { - var data1; - var this6; - this6 = new Array(mr.data.length + 10); - data1 = this6; - haxe.ds._Vector.Vector_Impl_.blit(mr.data,0,data1,0,mr.data.length); - mr.data = data1; - } - } - mr.data[13] = 0; - if(!mr.fixed) { - if(14 >= mr.length) mr.length = 15; - if(mr.data.length < mr.length) { - var data2; - var this7; - this7 = new Array(mr.data.length + 10); - data2 = this7; - haxe.ds._Vector.Vector_Impl_.blit(mr.data,0,data2,0,mr.data.length); - mr.data = data2; - } - } - mr.data[14] = 0; - var scale = new openfl.geom.Vector3D(); - scale.x = Math.sqrt(mr.data[0] * mr.data[0] + mr.data[1] * mr.data[1] + mr.data[2] * mr.data[2]); - scale.y = Math.sqrt(mr.data[4] * mr.data[4] + mr.data[5] * mr.data[5] + mr.data[6] * mr.data[6]); - scale.z = Math.sqrt(mr.data[8] * mr.data[8] + mr.data[9] * mr.data[9] + mr.data[10] * mr.data[10]); - if(mr.data[0] * (mr.data[5] * mr.data[10] - mr.data[6] * mr.data[9]) - mr.data[1] * (mr.data[4] * mr.data[10] - mr.data[6] * mr.data[8]) + mr.data[2] * (mr.data[4] * mr.data[9] - mr.data[5] * mr.data[8]) < 0) scale.z = -scale.z; - if(!mr.fixed) { - if(0 >= mr.length) mr.length = 1; - if(mr.data.length < mr.length) { - var data3; - var this8; - this8 = new Array(mr.data.length + 10); - data3 = this8; - haxe.ds._Vector.Vector_Impl_.blit(mr.data,0,data3,0,mr.data.length); - mr.data = data3; - } - } - mr.data[0] = mr.data[0] / scale.x; - if(!mr.fixed) { - if(1 >= mr.length) mr.length = 2; - if(mr.data.length < mr.length) { - var data4; - var this9; - this9 = new Array(mr.data.length + 10); - data4 = this9; - haxe.ds._Vector.Vector_Impl_.blit(mr.data,0,data4,0,mr.data.length); - mr.data = data4; - } - } - mr.data[1] = mr.data[1] / scale.x; - if(!mr.fixed) { - if(2 >= mr.length) mr.length = 3; - if(mr.data.length < mr.length) { - var data5; - var this10; - this10 = new Array(mr.data.length + 10); - data5 = this10; - haxe.ds._Vector.Vector_Impl_.blit(mr.data,0,data5,0,mr.data.length); - mr.data = data5; - } - } - mr.data[2] = mr.data[2] / scale.x; - if(!mr.fixed) { - if(4 >= mr.length) mr.length = 5; - if(mr.data.length < mr.length) { - var data6; - var this11; - this11 = new Array(mr.data.length + 10); - data6 = this11; - haxe.ds._Vector.Vector_Impl_.blit(mr.data,0,data6,0,mr.data.length); - mr.data = data6; - } - } - mr.data[4] = mr.data[4] / scale.y; - if(!mr.fixed) { - if(5 >= mr.length) mr.length = 6; - if(mr.data.length < mr.length) { - var data7; - var this12; - this12 = new Array(mr.data.length + 10); - data7 = this12; - haxe.ds._Vector.Vector_Impl_.blit(mr.data,0,data7,0,mr.data.length); - mr.data = data7; - } - } - mr.data[5] = mr.data[5] / scale.y; - if(!mr.fixed) { - if(6 >= mr.length) mr.length = 7; - if(mr.data.length < mr.length) { - var data8; - var this13; - this13 = new Array(mr.data.length + 10); - data8 = this13; - haxe.ds._Vector.Vector_Impl_.blit(mr.data,0,data8,0,mr.data.length); - mr.data = data8; - } - } - mr.data[6] = mr.data[6] / scale.y; - if(!mr.fixed) { - if(8 >= mr.length) mr.length = 9; - if(mr.data.length < mr.length) { - var data9; - var this14; - this14 = new Array(mr.data.length + 10); - data9 = this14; - haxe.ds._Vector.Vector_Impl_.blit(mr.data,0,data9,0,mr.data.length); - mr.data = data9; - } - } - mr.data[8] = mr.data[8] / scale.z; - if(!mr.fixed) { - if(9 >= mr.length) mr.length = 10; - if(mr.data.length < mr.length) { - var data10; - var this15; - this15 = new Array(mr.data.length + 10); - data10 = this15; - haxe.ds._Vector.Vector_Impl_.blit(mr.data,0,data10,0,mr.data.length); - mr.data = data10; - } - } - mr.data[9] = mr.data[9] / scale.z; - if(!mr.fixed) { - if(10 >= mr.length) mr.length = 11; - if(mr.data.length < mr.length) { - var data11; - var this16; - this16 = new Array(mr.data.length + 10); - data11 = this16; - haxe.ds._Vector.Vector_Impl_.blit(mr.data,0,data11,0,mr.data.length); - mr.data = data11; - } - } - mr.data[10] = mr.data[10] / scale.z; - var rot = new openfl.geom.Vector3D(); - switch(orientationStyle[1]) { - case 0: - rot.w = Math.acos((mr.data[0] + mr.data[5] + mr.data[10] - 1) / 2); - var len = Math.sqrt((mr.data[6] - mr.data[9]) * (mr.data[6] - mr.data[9]) + (mr.data[8] - mr.data[2]) * (mr.data[8] - mr.data[2]) + (mr.data[1] - mr.data[4]) * (mr.data[1] - mr.data[4])); - if(len != 0) { - rot.x = (mr.data[6] - mr.data[9]) / len; - rot.y = (mr.data[8] - mr.data[2]) / len; - rot.z = (mr.data[1] - mr.data[4]) / len; - } else rot.x = rot.y = rot.z = 0; - break; - case 2: - var tr = mr.data[0] + mr.data[5] + mr.data[10]; - if(tr > 0) { - rot.w = Math.sqrt(1 + tr) / 2; - rot.x = (mr.data[6] - mr.data[9]) / (4 * rot.w); - rot.y = (mr.data[8] - mr.data[2]) / (4 * rot.w); - rot.z = (mr.data[1] - mr.data[4]) / (4 * rot.w); - } else if(mr.data[0] > mr.data[5] && mr.data[0] > mr.data[10]) { - rot.x = Math.sqrt(1 + mr.data[0] - mr.data[5] - mr.data[10]) / 2; - rot.w = (mr.data[6] - mr.data[9]) / (4 * rot.x); - rot.y = (mr.data[1] + mr.data[4]) / (4 * rot.x); - rot.z = (mr.data[8] + mr.data[2]) / (4 * rot.x); - } else if(mr.data[5] > mr.data[10]) { - rot.y = Math.sqrt(1 + mr.data[5] - mr.data[0] - mr.data[10]) / 2; - rot.x = (mr.data[1] + mr.data[4]) / (4 * rot.y); - rot.w = (mr.data[8] - mr.data[2]) / (4 * rot.y); - rot.z = (mr.data[6] + mr.data[9]) / (4 * rot.y); - } else { - rot.z = Math.sqrt(1 + mr.data[10] - mr.data[0] - mr.data[5]) / 2; - rot.x = (mr.data[8] + mr.data[2]) / (4 * rot.z); - rot.y = (mr.data[6] + mr.data[9]) / (4 * rot.z); - rot.w = (mr.data[1] - mr.data[4]) / (4 * rot.z); - } - break; - case 1: - rot.y = Math.asin(-mr.data[2]); - if(mr.data[2] != 1 && mr.data[2] != -1) { - rot.x = Math.atan2(mr.data[6],mr.data[10]); - rot.z = Math.atan2(mr.data[1],mr.data[0]); - } else { - rot.z = 0; - rot.x = Math.atan2(mr.data[4],mr.data[5]); - } - break; - } - if(!vec.fixed) { - vec.length++; - if(vec.data.length < vec.length) { - var data12; - var this17; - this17 = new Array(vec.data.length + 10); - data12 = this17; - haxe.ds._Vector.Vector_Impl_.blit(vec.data,0,data12,0,vec.data.length); - vec.data = data12; - } - vec.data[vec.length - 1] = pos; - } - vec.length; - if(!vec.fixed) { - vec.length++; - if(vec.data.length < vec.length) { - var data13; - var this18; - this18 = new Array(vec.data.length + 10); - data13 = this18; - haxe.ds._Vector.Vector_Impl_.blit(vec.data,0,data13,0,vec.data.length); - vec.data = data13; - } - vec.data[vec.length - 1] = rot; - } - vec.length; - if(!vec.fixed) { - vec.length++; - if(vec.data.length < vec.length) { - var data14; - var this19; - this19 = new Array(vec.data.length + 10); - data14 = this19; - haxe.ds._Vector.Vector_Impl_.blit(vec.data,0,data14,0,vec.data.length); - vec.data = data14; - } - vec.data[vec.length - 1] = scale; - } - vec.length; - return vec; - } - ,deltaTransformVector: function(v) { - var x = v.x; - var y = v.y; - var z = v.z; - return new openfl.geom.Vector3D(x * this.rawData.data[0] + y * this.rawData.data[4] + z * this.rawData.data[8] + this.rawData.data[3],x * this.rawData.data[1] + y * this.rawData.data[5] + z * this.rawData.data[9] + this.rawData.data[7],x * this.rawData.data[2] + y * this.rawData.data[6] + z * this.rawData.data[10] + this.rawData.data[11],0); - } - ,identity: function() { - var value = [1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0]; - var vectorData = new openfl.VectorData(); - vectorData.length = value.length; - vectorData.fixed = true; - var vec; - var this1; - this1 = new Array(value.length); - vec = this1; - var _g1 = 0; - var _g = value.length; - while(_g1 < _g) { - var i = _g1++; - vec[i] = value[i]; - } - vectorData.data = vec; - this.rawData = vectorData; - } - ,interpolateTo: function(toMat,percent) { - var _g = 0; - while(_g < 16) { - var i = _g++; - var this1 = this.rawData; - if(!this1.fixed) { - if(i >= this1.length) this1.length = i + 1; - if(this1.data.length < this1.length) { - var data; - var this2; - this2 = new Array(this1.data.length + 10); - data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,data,0,this1.data.length); - this1.data = data; - } - } - this1.data[i] = this.rawData.data[i] + (toMat.rawData.data[i] - this.rawData.data[i]) * percent; - } - } - ,invert: function() { - var d = (this.rawData.data[0] * this.rawData.data[5] - this.rawData.data[4] * this.rawData.data[1]) * (this.rawData.data[10] * this.rawData.data[15] - this.rawData.data[14] * this.rawData.data[11]) - (this.rawData.data[0] * this.rawData.data[9] - this.rawData.data[8] * this.rawData.data[1]) * (this.rawData.data[6] * this.rawData.data[15] - this.rawData.data[14] * this.rawData.data[7]) + (this.rawData.data[0] * this.rawData.data[13] - this.rawData.data[12] * this.rawData.data[1]) * (this.rawData.data[6] * this.rawData.data[11] - this.rawData.data[10] * this.rawData.data[7]) + (this.rawData.data[4] * this.rawData.data[9] - this.rawData.data[8] * this.rawData.data[5]) * (this.rawData.data[2] * this.rawData.data[15] - this.rawData.data[14] * this.rawData.data[3]) - (this.rawData.data[4] * this.rawData.data[13] - this.rawData.data[12] * this.rawData.data[5]) * (this.rawData.data[2] * this.rawData.data[11] - this.rawData.data[10] * this.rawData.data[3]) + (this.rawData.data[8] * this.rawData.data[13] - this.rawData.data[12] * this.rawData.data[9]) * (this.rawData.data[2] * this.rawData.data[7] - this.rawData.data[6] * this.rawData.data[3]); - var invertable = Math.abs(d) > 0.00000000001; - if(invertable) { - d = 1 / d; - var m11 = this.rawData.data[0]; - var m21 = this.rawData.data[4]; - var m31 = this.rawData.data[8]; - var m41 = this.rawData.data[12]; - var m12 = this.rawData.data[1]; - var m22 = this.rawData.data[5]; - var m32 = this.rawData.data[9]; - var m42 = this.rawData.data[13]; - var m13 = this.rawData.data[2]; - var m23 = this.rawData.data[6]; - var m33 = this.rawData.data[10]; - var m43 = this.rawData.data[14]; - var m14 = this.rawData.data[3]; - var m24 = this.rawData.data[7]; - var m34 = this.rawData.data[11]; - var m44 = this.rawData.data[15]; - var this1 = this.rawData; - if(!this1.fixed) { - if(0 >= this1.length) this1.length = 1; - if(this1.data.length < this1.length) { - var data; - var this2; - this2 = new Array(this1.data.length + 10); - data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,data,0,this1.data.length); - this1.data = data; - } - } - this1.data[0] = d * (m22 * (m33 * m44 - m43 * m34) - m32 * (m23 * m44 - m43 * m24) + m42 * (m23 * m34 - m33 * m24)); - var this3 = this.rawData; - if(!this3.fixed) { - if(1 >= this3.length) this3.length = 2; - if(this3.data.length < this3.length) { - var data1; - var this4; - this4 = new Array(this3.data.length + 10); - data1 = this4; - haxe.ds._Vector.Vector_Impl_.blit(this3.data,0,data1,0,this3.data.length); - this3.data = data1; - } - } - this3.data[1] = -d * (m12 * (m33 * m44 - m43 * m34) - m32 * (m13 * m44 - m43 * m14) + m42 * (m13 * m34 - m33 * m14)); - var this5 = this.rawData; - if(!this5.fixed) { - if(2 >= this5.length) this5.length = 3; - if(this5.data.length < this5.length) { - var data2; - var this6; - this6 = new Array(this5.data.length + 10); - data2 = this6; - haxe.ds._Vector.Vector_Impl_.blit(this5.data,0,data2,0,this5.data.length); - this5.data = data2; - } - } - this5.data[2] = d * (m12 * (m23 * m44 - m43 * m24) - m22 * (m13 * m44 - m43 * m14) + m42 * (m13 * m24 - m23 * m14)); - var this7 = this.rawData; - if(!this7.fixed) { - if(3 >= this7.length) this7.length = 4; - if(this7.data.length < this7.length) { - var data3; - var this8; - this8 = new Array(this7.data.length + 10); - data3 = this8; - haxe.ds._Vector.Vector_Impl_.blit(this7.data,0,data3,0,this7.data.length); - this7.data = data3; - } - } - this7.data[3] = -d * (m12 * (m23 * m34 - m33 * m24) - m22 * (m13 * m34 - m33 * m14) + m32 * (m13 * m24 - m23 * m14)); - var this9 = this.rawData; - if(!this9.fixed) { - if(4 >= this9.length) this9.length = 5; - if(this9.data.length < this9.length) { - var data4; - var this10; - this10 = new Array(this9.data.length + 10); - data4 = this10; - haxe.ds._Vector.Vector_Impl_.blit(this9.data,0,data4,0,this9.data.length); - this9.data = data4; - } - } - this9.data[4] = -d * (m21 * (m33 * m44 - m43 * m34) - m31 * (m23 * m44 - m43 * m24) + m41 * (m23 * m34 - m33 * m24)); - var this11 = this.rawData; - if(!this11.fixed) { - if(5 >= this11.length) this11.length = 6; - if(this11.data.length < this11.length) { - var data5; - var this12; - this12 = new Array(this11.data.length + 10); - data5 = this12; - haxe.ds._Vector.Vector_Impl_.blit(this11.data,0,data5,0,this11.data.length); - this11.data = data5; - } - } - this11.data[5] = d * (m11 * (m33 * m44 - m43 * m34) - m31 * (m13 * m44 - m43 * m14) + m41 * (m13 * m34 - m33 * m14)); - var this13 = this.rawData; - if(!this13.fixed) { - if(6 >= this13.length) this13.length = 7; - if(this13.data.length < this13.length) { - var data6; - var this14; - this14 = new Array(this13.data.length + 10); - data6 = this14; - haxe.ds._Vector.Vector_Impl_.blit(this13.data,0,data6,0,this13.data.length); - this13.data = data6; - } - } - this13.data[6] = -d * (m11 * (m23 * m44 - m43 * m24) - m21 * (m13 * m44 - m43 * m14) + m41 * (m13 * m24 - m23 * m14)); - var this15 = this.rawData; - if(!this15.fixed) { - if(7 >= this15.length) this15.length = 8; - if(this15.data.length < this15.length) { - var data7; - var this16; - this16 = new Array(this15.data.length + 10); - data7 = this16; - haxe.ds._Vector.Vector_Impl_.blit(this15.data,0,data7,0,this15.data.length); - this15.data = data7; - } - } - this15.data[7] = d * (m11 * (m23 * m34 - m33 * m24) - m21 * (m13 * m34 - m33 * m14) + m31 * (m13 * m24 - m23 * m14)); - var this17 = this.rawData; - if(!this17.fixed) { - if(8 >= this17.length) this17.length = 9; - if(this17.data.length < this17.length) { - var data8; - var this18; - this18 = new Array(this17.data.length + 10); - data8 = this18; - haxe.ds._Vector.Vector_Impl_.blit(this17.data,0,data8,0,this17.data.length); - this17.data = data8; - } - } - this17.data[8] = d * (m21 * (m32 * m44 - m42 * m34) - m31 * (m22 * m44 - m42 * m24) + m41 * (m22 * m34 - m32 * m24)); - var this19 = this.rawData; - if(!this19.fixed) { - if(9 >= this19.length) this19.length = 10; - if(this19.data.length < this19.length) { - var data9; - var this20; - this20 = new Array(this19.data.length + 10); - data9 = this20; - haxe.ds._Vector.Vector_Impl_.blit(this19.data,0,data9,0,this19.data.length); - this19.data = data9; - } - } - this19.data[9] = -d * (m11 * (m32 * m44 - m42 * m34) - m31 * (m12 * m44 - m42 * m14) + m41 * (m12 * m34 - m32 * m14)); - var this21 = this.rawData; - if(!this21.fixed) { - if(10 >= this21.length) this21.length = 11; - if(this21.data.length < this21.length) { - var data10; - var this22; - this22 = new Array(this21.data.length + 10); - data10 = this22; - haxe.ds._Vector.Vector_Impl_.blit(this21.data,0,data10,0,this21.data.length); - this21.data = data10; - } - } - this21.data[10] = d * (m11 * (m22 * m44 - m42 * m24) - m21 * (m12 * m44 - m42 * m14) + m41 * (m12 * m24 - m22 * m14)); - var this23 = this.rawData; - if(!this23.fixed) { - if(11 >= this23.length) this23.length = 12; - if(this23.data.length < this23.length) { - var data11; - var this24; - this24 = new Array(this23.data.length + 10); - data11 = this24; - haxe.ds._Vector.Vector_Impl_.blit(this23.data,0,data11,0,this23.data.length); - this23.data = data11; - } - } - this23.data[11] = -d * (m11 * (m22 * m34 - m32 * m24) - m21 * (m12 * m34 - m32 * m14) + m31 * (m12 * m24 - m22 * m14)); - var this25 = this.rawData; - if(!this25.fixed) { - if(12 >= this25.length) this25.length = 13; - if(this25.data.length < this25.length) { - var data12; - var this26; - this26 = new Array(this25.data.length + 10); - data12 = this26; - haxe.ds._Vector.Vector_Impl_.blit(this25.data,0,data12,0,this25.data.length); - this25.data = data12; - } - } - this25.data[12] = -d * (m21 * (m32 * m43 - m42 * m33) - m31 * (m22 * m43 - m42 * m23) + m41 * (m22 * m33 - m32 * m23)); - var this27 = this.rawData; - if(!this27.fixed) { - if(13 >= this27.length) this27.length = 14; - if(this27.data.length < this27.length) { - var data13; - var this28; - this28 = new Array(this27.data.length + 10); - data13 = this28; - haxe.ds._Vector.Vector_Impl_.blit(this27.data,0,data13,0,this27.data.length); - this27.data = data13; - } - } - this27.data[13] = d * (m11 * (m32 * m43 - m42 * m33) - m31 * (m12 * m43 - m42 * m13) + m41 * (m12 * m33 - m32 * m13)); - var this29 = this.rawData; - if(!this29.fixed) { - if(14 >= this29.length) this29.length = 15; - if(this29.data.length < this29.length) { - var data14; - var this30; - this30 = new Array(this29.data.length + 10); - data14 = this30; - haxe.ds._Vector.Vector_Impl_.blit(this29.data,0,data14,0,this29.data.length); - this29.data = data14; - } - } - this29.data[14] = -d * (m11 * (m22 * m43 - m42 * m23) - m21 * (m12 * m43 - m42 * m13) + m41 * (m12 * m23 - m22 * m13)); - var this31 = this.rawData; - if(!this31.fixed) { - if(15 >= this31.length) this31.length = 16; - if(this31.data.length < this31.length) { - var data15; - var this32; - this32 = new Array(this31.data.length + 10); - data15 = this32; - haxe.ds._Vector.Vector_Impl_.blit(this31.data,0,data15,0,this31.data.length); - this31.data = data15; - } - } - this31.data[15] = d * (m11 * (m22 * m33 - m32 * m23) - m21 * (m12 * m33 - m32 * m13) + m31 * (m12 * m23 - m22 * m13)); - } - return invertable; - } - ,pointAt: function(pos,at,up) { - if(at == null) at = new openfl.geom.Vector3D(0,0,-1); - if(up == null) up = new openfl.geom.Vector3D(0,-1,0); - var dir = new openfl.geom.Vector3D(at.x - pos.x,at.y - pos.y,at.z - pos.z); - var vup = new openfl.geom.Vector3D(up.x,up.y,up.z,up.w); - var right; - dir.normalize(); - vup.normalize(); - var dir2 = new openfl.geom.Vector3D(dir.x,dir.y,dir.z,dir.w); - dir2.scaleBy(vup.x * dir.x + vup.y * dir.y + vup.z * dir.z); - vup = new openfl.geom.Vector3D(vup.x - dir2.x,vup.y - dir2.y,vup.z - dir2.z); - if(Math.sqrt(vup.x * vup.x + vup.y * vup.y + vup.z * vup.z) > 0) vup.normalize(); else if(dir.x != 0) vup = new openfl.geom.Vector3D(-dir.y,dir.x,0); else vup = new openfl.geom.Vector3D(1,0,0); - right = new openfl.geom.Vector3D(vup.y * dir.z - vup.z * dir.y,vup.z * dir.x - vup.x * dir.z,vup.x * dir.y - vup.y * dir.x,1); - right.normalize(); - var this1 = this.rawData; - if(!this1.fixed) { - if(0 >= this1.length) this1.length = 1; - if(this1.data.length < this1.length) { - var data; - var this2; - this2 = new Array(this1.data.length + 10); - data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,data,0,this1.data.length); - this1.data = data; - } - } - this1.data[0] = right.x; - var this3 = this.rawData; - if(!this3.fixed) { - if(4 >= this3.length) this3.length = 5; - if(this3.data.length < this3.length) { - var data1; - var this4; - this4 = new Array(this3.data.length + 10); - data1 = this4; - haxe.ds._Vector.Vector_Impl_.blit(this3.data,0,data1,0,this3.data.length); - this3.data = data1; - } - } - this3.data[4] = right.y; - var this5 = this.rawData; - if(!this5.fixed) { - if(8 >= this5.length) this5.length = 9; - if(this5.data.length < this5.length) { - var data2; - var this6; - this6 = new Array(this5.data.length + 10); - data2 = this6; - haxe.ds._Vector.Vector_Impl_.blit(this5.data,0,data2,0,this5.data.length); - this5.data = data2; - } - } - this5.data[8] = right.z; - var this7 = this.rawData; - if(!this7.fixed) { - if(12 >= this7.length) this7.length = 13; - if(this7.data.length < this7.length) { - var data3; - var this8; - this8 = new Array(this7.data.length + 10); - data3 = this8; - haxe.ds._Vector.Vector_Impl_.blit(this7.data,0,data3,0,this7.data.length); - this7.data = data3; - } - } - this7.data[12] = 0.0; - var this9 = this.rawData; - if(!this9.fixed) { - if(1 >= this9.length) this9.length = 2; - if(this9.data.length < this9.length) { - var data4; - var this10; - this10 = new Array(this9.data.length + 10); - data4 = this10; - haxe.ds._Vector.Vector_Impl_.blit(this9.data,0,data4,0,this9.data.length); - this9.data = data4; - } - } - this9.data[1] = vup.x; - var this11 = this.rawData; - if(!this11.fixed) { - if(5 >= this11.length) this11.length = 6; - if(this11.data.length < this11.length) { - var data5; - var this12; - this12 = new Array(this11.data.length + 10); - data5 = this12; - haxe.ds._Vector.Vector_Impl_.blit(this11.data,0,data5,0,this11.data.length); - this11.data = data5; - } - } - this11.data[5] = vup.y; - var this13 = this.rawData; - if(!this13.fixed) { - if(9 >= this13.length) this13.length = 10; - if(this13.data.length < this13.length) { - var data6; - var this14; - this14 = new Array(this13.data.length + 10); - data6 = this14; - haxe.ds._Vector.Vector_Impl_.blit(this13.data,0,data6,0,this13.data.length); - this13.data = data6; - } - } - this13.data[9] = vup.z; - var this15 = this.rawData; - if(!this15.fixed) { - if(13 >= this15.length) this15.length = 14; - if(this15.data.length < this15.length) { - var data7; - var this16; - this16 = new Array(this15.data.length + 10); - data7 = this16; - haxe.ds._Vector.Vector_Impl_.blit(this15.data,0,data7,0,this15.data.length); - this15.data = data7; - } - } - this15.data[13] = 0.0; - var this17 = this.rawData; - if(!this17.fixed) { - if(2 >= this17.length) this17.length = 3; - if(this17.data.length < this17.length) { - var data8; - var this18; - this18 = new Array(this17.data.length + 10); - data8 = this18; - haxe.ds._Vector.Vector_Impl_.blit(this17.data,0,data8,0,this17.data.length); - this17.data = data8; - } - } - this17.data[2] = dir.x; - var this19 = this.rawData; - if(!this19.fixed) { - if(6 >= this19.length) this19.length = 7; - if(this19.data.length < this19.length) { - var data9; - var this20; - this20 = new Array(this19.data.length + 10); - data9 = this20; - haxe.ds._Vector.Vector_Impl_.blit(this19.data,0,data9,0,this19.data.length); - this19.data = data9; - } - } - this19.data[6] = dir.y; - var this21 = this.rawData; - if(!this21.fixed) { - if(10 >= this21.length) this21.length = 11; - if(this21.data.length < this21.length) { - var data10; - var this22; - this22 = new Array(this21.data.length + 10); - data10 = this22; - haxe.ds._Vector.Vector_Impl_.blit(this21.data,0,data10,0,this21.data.length); - this21.data = data10; - } - } - this21.data[10] = dir.z; - var this23 = this.rawData; - if(!this23.fixed) { - if(14 >= this23.length) this23.length = 15; - if(this23.data.length < this23.length) { - var data11; - var this24; - this24 = new Array(this23.data.length + 10); - data11 = this24; - haxe.ds._Vector.Vector_Impl_.blit(this23.data,0,data11,0,this23.data.length); - this23.data = data11; - } - } - this23.data[14] = 0.0; - var this25 = this.rawData; - if(!this25.fixed) { - if(3 >= this25.length) this25.length = 4; - if(this25.data.length < this25.length) { - var data12; - var this26; - this26 = new Array(this25.data.length + 10); - data12 = this26; - haxe.ds._Vector.Vector_Impl_.blit(this25.data,0,data12,0,this25.data.length); - this25.data = data12; - } - } - this25.data[3] = pos.x; - var this27 = this.rawData; - if(!this27.fixed) { - if(7 >= this27.length) this27.length = 8; - if(this27.data.length < this27.length) { - var data13; - var this28; - this28 = new Array(this27.data.length + 10); - data13 = this28; - haxe.ds._Vector.Vector_Impl_.blit(this27.data,0,data13,0,this27.data.length); - this27.data = data13; - } - } - this27.data[7] = pos.y; - var this29 = this.rawData; - if(!this29.fixed) { - if(11 >= this29.length) this29.length = 12; - if(this29.data.length < this29.length) { - var data14; - var this30; - this30 = new Array(this29.data.length + 10); - data14 = this30; - haxe.ds._Vector.Vector_Impl_.blit(this29.data,0,data14,0,this29.data.length); - this29.data = data14; - } - } - this29.data[11] = pos.z; - var this31 = this.rawData; - if(!this31.fixed) { - if(15 >= this31.length) this31.length = 16; - if(this31.data.length < this31.length) { - var data15; - var this32; - this32 = new Array(this31.data.length + 10); - data15 = this32; - haxe.ds._Vector.Vector_Impl_.blit(this31.data,0,data15,0,this31.data.length); - this31.data = data15; - } - } - this31.data[15] = 1.0; - } - ,prepend: function(rhs) { - var m111 = rhs.rawData.data[0]; - var m121 = rhs.rawData.data[4]; - var m131 = rhs.rawData.data[8]; - var m141 = rhs.rawData.data[12]; - var m112 = rhs.rawData.data[1]; - var m122 = rhs.rawData.data[5]; - var m132 = rhs.rawData.data[9]; - var m142 = rhs.rawData.data[13]; - var m113 = rhs.rawData.data[2]; - var m123 = rhs.rawData.data[6]; - var m133 = rhs.rawData.data[10]; - var m143 = rhs.rawData.data[14]; - var m114 = rhs.rawData.data[3]; - var m124 = rhs.rawData.data[7]; - var m134 = rhs.rawData.data[11]; - var m144 = rhs.rawData.data[15]; - var m211 = this.rawData.data[0]; - var m221 = this.rawData.data[4]; - var m231 = this.rawData.data[8]; - var m241 = this.rawData.data[12]; - var m212 = this.rawData.data[1]; - var m222 = this.rawData.data[5]; - var m232 = this.rawData.data[9]; - var m242 = this.rawData.data[13]; - var m213 = this.rawData.data[2]; - var m223 = this.rawData.data[6]; - var m233 = this.rawData.data[10]; - var m243 = this.rawData.data[14]; - var m214 = this.rawData.data[3]; - var m224 = this.rawData.data[7]; - var m234 = this.rawData.data[11]; - var m244 = this.rawData.data[15]; - var this1 = this.rawData; - if(!this1.fixed) { - if(0 >= this1.length) this1.length = 1; - if(this1.data.length < this1.length) { - var data; - var this2; - this2 = new Array(this1.data.length + 10); - data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,data,0,this1.data.length); - this1.data = data; - } - } - this1.data[0] = m111 * m211 + m112 * m221 + m113 * m231 + m114 * m241; - var this3 = this.rawData; - if(!this3.fixed) { - if(1 >= this3.length) this3.length = 2; - if(this3.data.length < this3.length) { - var data1; - var this4; - this4 = new Array(this3.data.length + 10); - data1 = this4; - haxe.ds._Vector.Vector_Impl_.blit(this3.data,0,data1,0,this3.data.length); - this3.data = data1; - } - } - this3.data[1] = m111 * m212 + m112 * m222 + m113 * m232 + m114 * m242; - var this5 = this.rawData; - if(!this5.fixed) { - if(2 >= this5.length) this5.length = 3; - if(this5.data.length < this5.length) { - var data2; - var this6; - this6 = new Array(this5.data.length + 10); - data2 = this6; - haxe.ds._Vector.Vector_Impl_.blit(this5.data,0,data2,0,this5.data.length); - this5.data = data2; - } - } - this5.data[2] = m111 * m213 + m112 * m223 + m113 * m233 + m114 * m243; - var this7 = this.rawData; - if(!this7.fixed) { - if(3 >= this7.length) this7.length = 4; - if(this7.data.length < this7.length) { - var data3; - var this8; - this8 = new Array(this7.data.length + 10); - data3 = this8; - haxe.ds._Vector.Vector_Impl_.blit(this7.data,0,data3,0,this7.data.length); - this7.data = data3; - } - } - this7.data[3] = m111 * m214 + m112 * m224 + m113 * m234 + m114 * m244; - var this9 = this.rawData; - if(!this9.fixed) { - if(4 >= this9.length) this9.length = 5; - if(this9.data.length < this9.length) { - var data4; - var this10; - this10 = new Array(this9.data.length + 10); - data4 = this10; - haxe.ds._Vector.Vector_Impl_.blit(this9.data,0,data4,0,this9.data.length); - this9.data = data4; - } - } - this9.data[4] = m121 * m211 + m122 * m221 + m123 * m231 + m124 * m241; - var this11 = this.rawData; - if(!this11.fixed) { - if(5 >= this11.length) this11.length = 6; - if(this11.data.length < this11.length) { - var data5; - var this12; - this12 = new Array(this11.data.length + 10); - data5 = this12; - haxe.ds._Vector.Vector_Impl_.blit(this11.data,0,data5,0,this11.data.length); - this11.data = data5; - } - } - this11.data[5] = m121 * m212 + m122 * m222 + m123 * m232 + m124 * m242; - var this13 = this.rawData; - if(!this13.fixed) { - if(6 >= this13.length) this13.length = 7; - if(this13.data.length < this13.length) { - var data6; - var this14; - this14 = new Array(this13.data.length + 10); - data6 = this14; - haxe.ds._Vector.Vector_Impl_.blit(this13.data,0,data6,0,this13.data.length); - this13.data = data6; - } - } - this13.data[6] = m121 * m213 + m122 * m223 + m123 * m233 + m124 * m243; - var this15 = this.rawData; - if(!this15.fixed) { - if(7 >= this15.length) this15.length = 8; - if(this15.data.length < this15.length) { - var data7; - var this16; - this16 = new Array(this15.data.length + 10); - data7 = this16; - haxe.ds._Vector.Vector_Impl_.blit(this15.data,0,data7,0,this15.data.length); - this15.data = data7; - } - } - this15.data[7] = m121 * m214 + m122 * m224 + m123 * m234 + m124 * m244; - var this17 = this.rawData; - if(!this17.fixed) { - if(8 >= this17.length) this17.length = 9; - if(this17.data.length < this17.length) { - var data8; - var this18; - this18 = new Array(this17.data.length + 10); - data8 = this18; - haxe.ds._Vector.Vector_Impl_.blit(this17.data,0,data8,0,this17.data.length); - this17.data = data8; - } - } - this17.data[8] = m131 * m211 + m132 * m221 + m133 * m231 + m134 * m241; - var this19 = this.rawData; - if(!this19.fixed) { - if(9 >= this19.length) this19.length = 10; - if(this19.data.length < this19.length) { - var data9; - var this20; - this20 = new Array(this19.data.length + 10); - data9 = this20; - haxe.ds._Vector.Vector_Impl_.blit(this19.data,0,data9,0,this19.data.length); - this19.data = data9; - } - } - this19.data[9] = m131 * m212 + m132 * m222 + m133 * m232 + m134 * m242; - var this21 = this.rawData; - if(!this21.fixed) { - if(10 >= this21.length) this21.length = 11; - if(this21.data.length < this21.length) { - var data10; - var this22; - this22 = new Array(this21.data.length + 10); - data10 = this22; - haxe.ds._Vector.Vector_Impl_.blit(this21.data,0,data10,0,this21.data.length); - this21.data = data10; - } - } - this21.data[10] = m131 * m213 + m132 * m223 + m133 * m233 + m134 * m243; - var this23 = this.rawData; - if(!this23.fixed) { - if(11 >= this23.length) this23.length = 12; - if(this23.data.length < this23.length) { - var data11; - var this24; - this24 = new Array(this23.data.length + 10); - data11 = this24; - haxe.ds._Vector.Vector_Impl_.blit(this23.data,0,data11,0,this23.data.length); - this23.data = data11; - } - } - this23.data[11] = m131 * m214 + m132 * m224 + m133 * m234 + m134 * m244; - var this25 = this.rawData; - if(!this25.fixed) { - if(12 >= this25.length) this25.length = 13; - if(this25.data.length < this25.length) { - var data12; - var this26; - this26 = new Array(this25.data.length + 10); - data12 = this26; - haxe.ds._Vector.Vector_Impl_.blit(this25.data,0,data12,0,this25.data.length); - this25.data = data12; - } - } - this25.data[12] = m141 * m211 + m142 * m221 + m143 * m231 + m144 * m241; - var this27 = this.rawData; - if(!this27.fixed) { - if(13 >= this27.length) this27.length = 14; - if(this27.data.length < this27.length) { - var data13; - var this28; - this28 = new Array(this27.data.length + 10); - data13 = this28; - haxe.ds._Vector.Vector_Impl_.blit(this27.data,0,data13,0,this27.data.length); - this27.data = data13; - } - } - this27.data[13] = m141 * m212 + m142 * m222 + m143 * m232 + m144 * m242; - var this29 = this.rawData; - if(!this29.fixed) { - if(14 >= this29.length) this29.length = 15; - if(this29.data.length < this29.length) { - var data14; - var this30; - this30 = new Array(this29.data.length + 10); - data14 = this30; - haxe.ds._Vector.Vector_Impl_.blit(this29.data,0,data14,0,this29.data.length); - this29.data = data14; - } - } - this29.data[14] = m141 * m213 + m142 * m223 + m143 * m233 + m144 * m243; - var this31 = this.rawData; - if(!this31.fixed) { - if(15 >= this31.length) this31.length = 16; - if(this31.data.length < this31.length) { - var data15; - var this32; - this32 = new Array(this31.data.length + 10); - data15 = this32; - haxe.ds._Vector.Vector_Impl_.blit(this31.data,0,data15,0,this31.data.length); - this31.data = data15; - } - } - this31.data[15] = m141 * m214 + m142 * m224 + m143 * m234 + m144 * m244; - } - ,prependRotation: function(degrees,axis,pivotPoint) { - var m = openfl.geom.Matrix3D.getAxisRotation(axis.x,axis.y,axis.z,degrees); - if(pivotPoint != null) { - var p = pivotPoint; - m.appendTranslation(p.x,p.y,p.z); - } - this.prepend(m); - } - ,prependScale: function(xScale,yScale,zScale) { - this.prepend(new openfl.geom.Matrix3D((function($this) { - var $r; - var value = [xScale,0.0,0.0,0.0,0.0,yScale,0.0,0.0,0.0,0.0,zScale,0.0,0.0,0.0,0.0,1.0]; - var vectorData = new openfl.VectorData(); - vectorData.length = value.length; - vectorData.fixed = true; - { - var vec; - var this1; - this1 = new Array(value.length); - vec = this1; - var _g1 = 0; - var _g = value.length; - while(_g1 < _g) { - var i = _g1++; - vec[i] = value[i]; - } - vectorData.data = vec; - } - $r = vectorData; - return $r; - }(this)))); - } - ,prependTranslation: function(x,y,z) { - var m = new openfl.geom.Matrix3D(); - m.set_position(new openfl.geom.Vector3D(x,y,z)); - this.prepend(m); - } - ,recompose: function(components,orientationStyle) { - if(components.length < 3 || components.data[2].x == 0 || components.data[2].y == 0 || components.data[2].z == 0) return false; - if(orientationStyle == null) orientationStyle = openfl.geom.Orientation3D.EULER_ANGLES; - this.identity(); - var scale = []; - scale[0] = scale[1] = scale[2] = components.data[2].x; - scale[4] = scale[5] = scale[6] = components.data[2].y; - scale[8] = scale[9] = scale[10] = components.data[2].z; - switch(orientationStyle[1]) { - case 1: - var cx = Math.cos(components.data[1].x); - var cy = Math.cos(components.data[1].y); - var cz = Math.cos(components.data[1].z); - var sx = Math.sin(components.data[1].x); - var sy = Math.sin(components.data[1].y); - var sz = Math.sin(components.data[1].z); - var this1 = this.rawData; - if(!this1.fixed) { - if(0 >= this1.length) this1.length = 1; - if(this1.data.length < this1.length) { - var data; - var this2; - this2 = new Array(this1.data.length + 10); - data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,data,0,this1.data.length); - this1.data = data; - } - } - this1.data[0] = cy * cz * scale[0]; - var this3 = this.rawData; - if(!this3.fixed) { - if(1 >= this3.length) this3.length = 2; - if(this3.data.length < this3.length) { - var data1; - var this4; - this4 = new Array(this3.data.length + 10); - data1 = this4; - haxe.ds._Vector.Vector_Impl_.blit(this3.data,0,data1,0,this3.data.length); - this3.data = data1; - } - } - this3.data[1] = cy * sz * scale[1]; - var this5 = this.rawData; - if(!this5.fixed) { - if(2 >= this5.length) this5.length = 3; - if(this5.data.length < this5.length) { - var data2; - var this6; - this6 = new Array(this5.data.length + 10); - data2 = this6; - haxe.ds._Vector.Vector_Impl_.blit(this5.data,0,data2,0,this5.data.length); - this5.data = data2; - } - } - this5.data[2] = -sy * scale[2]; - var this7 = this.rawData; - if(!this7.fixed) { - if(3 >= this7.length) this7.length = 4; - if(this7.data.length < this7.length) { - var data3; - var this8; - this8 = new Array(this7.data.length + 10); - data3 = this8; - haxe.ds._Vector.Vector_Impl_.blit(this7.data,0,data3,0,this7.data.length); - this7.data = data3; - } - } - this7.data[3] = 0; - var this9 = this.rawData; - if(!this9.fixed) { - if(4 >= this9.length) this9.length = 5; - if(this9.data.length < this9.length) { - var data4; - var this10; - this10 = new Array(this9.data.length + 10); - data4 = this10; - haxe.ds._Vector.Vector_Impl_.blit(this9.data,0,data4,0,this9.data.length); - this9.data = data4; - } - } - this9.data[4] = (sx * sy * cz - cx * sz) * scale[4]; - var this11 = this.rawData; - if(!this11.fixed) { - if(5 >= this11.length) this11.length = 6; - if(this11.data.length < this11.length) { - var data5; - var this12; - this12 = new Array(this11.data.length + 10); - data5 = this12; - haxe.ds._Vector.Vector_Impl_.blit(this11.data,0,data5,0,this11.data.length); - this11.data = data5; - } - } - this11.data[5] = (sx * sy * sz + cx * cz) * scale[5]; - var this13 = this.rawData; - if(!this13.fixed) { - if(6 >= this13.length) this13.length = 7; - if(this13.data.length < this13.length) { - var data6; - var this14; - this14 = new Array(this13.data.length + 10); - data6 = this14; - haxe.ds._Vector.Vector_Impl_.blit(this13.data,0,data6,0,this13.data.length); - this13.data = data6; - } - } - this13.data[6] = sx * cy * scale[6]; - var this15 = this.rawData; - if(!this15.fixed) { - if(7 >= this15.length) this15.length = 8; - if(this15.data.length < this15.length) { - var data7; - var this16; - this16 = new Array(this15.data.length + 10); - data7 = this16; - haxe.ds._Vector.Vector_Impl_.blit(this15.data,0,data7,0,this15.data.length); - this15.data = data7; - } - } - this15.data[7] = 0; - var this17 = this.rawData; - if(!this17.fixed) { - if(8 >= this17.length) this17.length = 9; - if(this17.data.length < this17.length) { - var data8; - var this18; - this18 = new Array(this17.data.length + 10); - data8 = this18; - haxe.ds._Vector.Vector_Impl_.blit(this17.data,0,data8,0,this17.data.length); - this17.data = data8; - } - } - this17.data[8] = (cx * sy * cz + sx * sz) * scale[8]; - var this19 = this.rawData; - if(!this19.fixed) { - if(9 >= this19.length) this19.length = 10; - if(this19.data.length < this19.length) { - var data9; - var this20; - this20 = new Array(this19.data.length + 10); - data9 = this20; - haxe.ds._Vector.Vector_Impl_.blit(this19.data,0,data9,0,this19.data.length); - this19.data = data9; - } - } - this19.data[9] = (cx * sy * sz - sx * cz) * scale[9]; - var this21 = this.rawData; - if(!this21.fixed) { - if(10 >= this21.length) this21.length = 11; - if(this21.data.length < this21.length) { - var data10; - var this22; - this22 = new Array(this21.data.length + 10); - data10 = this22; - haxe.ds._Vector.Vector_Impl_.blit(this21.data,0,data10,0,this21.data.length); - this21.data = data10; - } - } - this21.data[10] = cx * cy * scale[10]; - var this23 = this.rawData; - if(!this23.fixed) { - if(11 >= this23.length) this23.length = 12; - if(this23.data.length < this23.length) { - var data11; - var this24; - this24 = new Array(this23.data.length + 10); - data11 = this24; - haxe.ds._Vector.Vector_Impl_.blit(this23.data,0,data11,0,this23.data.length); - this23.data = data11; - } - } - this23.data[11] = 0; - var this25 = this.rawData; - if(!this25.fixed) { - if(12 >= this25.length) this25.length = 13; - if(this25.data.length < this25.length) { - var data12; - var this26; - this26 = new Array(this25.data.length + 10); - data12 = this26; - haxe.ds._Vector.Vector_Impl_.blit(this25.data,0,data12,0,this25.data.length); - this25.data = data12; - } - } - this25.data[12] = components.data[0].x; - var this27 = this.rawData; - if(!this27.fixed) { - if(13 >= this27.length) this27.length = 14; - if(this27.data.length < this27.length) { - var data13; - var this28; - this28 = new Array(this27.data.length + 10); - data13 = this28; - haxe.ds._Vector.Vector_Impl_.blit(this27.data,0,data13,0,this27.data.length); - this27.data = data13; - } - } - this27.data[13] = components.data[0].y; - var this29 = this.rawData; - if(!this29.fixed) { - if(14 >= this29.length) this29.length = 15; - if(this29.data.length < this29.length) { - var data14; - var this30; - this30 = new Array(this29.data.length + 10); - data14 = this30; - haxe.ds._Vector.Vector_Impl_.blit(this29.data,0,data14,0,this29.data.length); - this29.data = data14; - } - } - this29.data[14] = components.data[0].z; - var this31 = this.rawData; - if(!this31.fixed) { - if(15 >= this31.length) this31.length = 16; - if(this31.data.length < this31.length) { - var data15; - var this32; - this32 = new Array(this31.data.length + 10); - data15 = this32; - haxe.ds._Vector.Vector_Impl_.blit(this31.data,0,data15,0,this31.data.length); - this31.data = data15; - } - } - this31.data[15] = 1; - break; - default: - var x = components.data[1].x; - var y = components.data[1].y; - var z = components.data[1].z; - var w = components.data[1].w; - if(Type.enumEq(orientationStyle,openfl.geom.Orientation3D.AXIS_ANGLE)) { - x *= Math.sin(w / 2); - y *= Math.sin(w / 2); - z *= Math.sin(w / 2); - w = Math.cos(w / 2); - } - var this33 = this.rawData; - if(!this33.fixed) { - if(0 >= this33.length) this33.length = 1; - if(this33.data.length < this33.length) { - var data16; - var this34; - this34 = new Array(this33.data.length + 10); - data16 = this34; - haxe.ds._Vector.Vector_Impl_.blit(this33.data,0,data16,0,this33.data.length); - this33.data = data16; - } - } - this33.data[0] = (1 - 2 * y * y - 2 * z * z) * scale[0]; - var this35 = this.rawData; - if(!this35.fixed) { - if(1 >= this35.length) this35.length = 2; - if(this35.data.length < this35.length) { - var data17; - var this36; - this36 = new Array(this35.data.length + 10); - data17 = this36; - haxe.ds._Vector.Vector_Impl_.blit(this35.data,0,data17,0,this35.data.length); - this35.data = data17; - } - } - this35.data[1] = (2 * x * y + 2 * w * z) * scale[1]; - var this37 = this.rawData; - if(!this37.fixed) { - if(2 >= this37.length) this37.length = 3; - if(this37.data.length < this37.length) { - var data18; - var this38; - this38 = new Array(this37.data.length + 10); - data18 = this38; - haxe.ds._Vector.Vector_Impl_.blit(this37.data,0,data18,0,this37.data.length); - this37.data = data18; - } - } - this37.data[2] = (2 * x * z - 2 * w * y) * scale[2]; - var this39 = this.rawData; - if(!this39.fixed) { - if(3 >= this39.length) this39.length = 4; - if(this39.data.length < this39.length) { - var data19; - var this40; - this40 = new Array(this39.data.length + 10); - data19 = this40; - haxe.ds._Vector.Vector_Impl_.blit(this39.data,0,data19,0,this39.data.length); - this39.data = data19; - } - } - this39.data[3] = 0; - var this41 = this.rawData; - if(!this41.fixed) { - if(4 >= this41.length) this41.length = 5; - if(this41.data.length < this41.length) { - var data20; - var this42; - this42 = new Array(this41.data.length + 10); - data20 = this42; - haxe.ds._Vector.Vector_Impl_.blit(this41.data,0,data20,0,this41.data.length); - this41.data = data20; - } - } - this41.data[4] = (2 * x * y - 2 * w * z) * scale[4]; - var this43 = this.rawData; - if(!this43.fixed) { - if(5 >= this43.length) this43.length = 6; - if(this43.data.length < this43.length) { - var data21; - var this44; - this44 = new Array(this43.data.length + 10); - data21 = this44; - haxe.ds._Vector.Vector_Impl_.blit(this43.data,0,data21,0,this43.data.length); - this43.data = data21; - } - } - this43.data[5] = (1 - 2 * x * x - 2 * z * z) * scale[5]; - var this45 = this.rawData; - if(!this45.fixed) { - if(6 >= this45.length) this45.length = 7; - if(this45.data.length < this45.length) { - var data22; - var this46; - this46 = new Array(this45.data.length + 10); - data22 = this46; - haxe.ds._Vector.Vector_Impl_.blit(this45.data,0,data22,0,this45.data.length); - this45.data = data22; - } - } - this45.data[6] = (2 * y * z + 2 * w * x) * scale[6]; - var this47 = this.rawData; - if(!this47.fixed) { - if(7 >= this47.length) this47.length = 8; - if(this47.data.length < this47.length) { - var data23; - var this48; - this48 = new Array(this47.data.length + 10); - data23 = this48; - haxe.ds._Vector.Vector_Impl_.blit(this47.data,0,data23,0,this47.data.length); - this47.data = data23; - } - } - this47.data[7] = 0; - var this49 = this.rawData; - if(!this49.fixed) { - if(8 >= this49.length) this49.length = 9; - if(this49.data.length < this49.length) { - var data24; - var this50; - this50 = new Array(this49.data.length + 10); - data24 = this50; - haxe.ds._Vector.Vector_Impl_.blit(this49.data,0,data24,0,this49.data.length); - this49.data = data24; - } - } - this49.data[8] = (2 * x * z + 2 * w * y) * scale[8]; - var this51 = this.rawData; - if(!this51.fixed) { - if(9 >= this51.length) this51.length = 10; - if(this51.data.length < this51.length) { - var data25; - var this52; - this52 = new Array(this51.data.length + 10); - data25 = this52; - haxe.ds._Vector.Vector_Impl_.blit(this51.data,0,data25,0,this51.data.length); - this51.data = data25; - } - } - this51.data[9] = (2 * y * z - 2 * w * x) * scale[9]; - var this53 = this.rawData; - if(!this53.fixed) { - if(10 >= this53.length) this53.length = 11; - if(this53.data.length < this53.length) { - var data26; - var this54; - this54 = new Array(this53.data.length + 10); - data26 = this54; - haxe.ds._Vector.Vector_Impl_.blit(this53.data,0,data26,0,this53.data.length); - this53.data = data26; - } - } - this53.data[10] = (1 - 2 * x * x - 2 * y * y) * scale[10]; - var this55 = this.rawData; - if(!this55.fixed) { - if(11 >= this55.length) this55.length = 12; - if(this55.data.length < this55.length) { - var data27; - var this56; - this56 = new Array(this55.data.length + 10); - data27 = this56; - haxe.ds._Vector.Vector_Impl_.blit(this55.data,0,data27,0,this55.data.length); - this55.data = data27; - } - } - this55.data[11] = 0; - var this57 = this.rawData; - if(!this57.fixed) { - if(12 >= this57.length) this57.length = 13; - if(this57.data.length < this57.length) { - var data28; - var this58; - this58 = new Array(this57.data.length + 10); - data28 = this58; - haxe.ds._Vector.Vector_Impl_.blit(this57.data,0,data28,0,this57.data.length); - this57.data = data28; - } - } - this57.data[12] = components.data[0].x; - var this59 = this.rawData; - if(!this59.fixed) { - if(13 >= this59.length) this59.length = 14; - if(this59.data.length < this59.length) { - var data29; - var this60; - this60 = new Array(this59.data.length + 10); - data29 = this60; - haxe.ds._Vector.Vector_Impl_.blit(this59.data,0,data29,0,this59.data.length); - this59.data = data29; - } - } - this59.data[13] = components.data[0].y; - var this61 = this.rawData; - if(!this61.fixed) { - if(14 >= this61.length) this61.length = 15; - if(this61.data.length < this61.length) { - var data30; - var this62; - this62 = new Array(this61.data.length + 10); - data30 = this62; - haxe.ds._Vector.Vector_Impl_.blit(this61.data,0,data30,0,this61.data.length); - this61.data = data30; - } - } - this61.data[14] = components.data[0].z; - var this63 = this.rawData; - if(!this63.fixed) { - if(15 >= this63.length) this63.length = 16; - if(this63.data.length < this63.length) { - var data31; - var this64; - this64 = new Array(this63.data.length + 10); - data31 = this64; - haxe.ds._Vector.Vector_Impl_.blit(this63.data,0,data31,0,this63.data.length); - this63.data = data31; - } - } - this63.data[15] = 1; - } - if(components.data[2].x == 0) { - var this65 = this.rawData; - if(!this65.fixed) { - if(0 >= this65.length) this65.length = 1; - if(this65.data.length < this65.length) { - var data32; - var this66; - this66 = new Array(this65.data.length + 10); - data32 = this66; - haxe.ds._Vector.Vector_Impl_.blit(this65.data,0,data32,0,this65.data.length); - this65.data = data32; - } - } - this65.data[0] = 1e-15; - } - if(components.data[2].y == 0) { - var this67 = this.rawData; - if(!this67.fixed) { - if(5 >= this67.length) this67.length = 6; - if(this67.data.length < this67.length) { - var data33; - var this68; - this68 = new Array(this67.data.length + 10); - data33 = this68; - haxe.ds._Vector.Vector_Impl_.blit(this67.data,0,data33,0,this67.data.length); - this67.data = data33; - } - } - this67.data[5] = 1e-15; - } - if(components.data[2].z == 0) { - var this69 = this.rawData; - if(!this69.fixed) { - if(10 >= this69.length) this69.length = 11; - if(this69.data.length < this69.length) { - var data34; - var this70; - this70 = new Array(this69.data.length + 10); - data34 = this70; - haxe.ds._Vector.Vector_Impl_.blit(this69.data,0,data34,0,this69.data.length); - this69.data = data34; - } - } - this69.data[10] = 1e-15; - } - return !(components.data[2].x == 0 || components.data[2].y == 0 || components.data[2].y == 0); - } - ,transformVector: function(v) { - var x = v.x; - var y = v.y; - var z = v.z; - return new openfl.geom.Vector3D(x * this.rawData.data[0] + y * this.rawData.data[4] + z * this.rawData.data[8] + this.rawData.data[12],x * this.rawData.data[1] + y * this.rawData.data[5] + z * this.rawData.data[9] + this.rawData.data[13],x * this.rawData.data[2] + y * this.rawData.data[6] + z * this.rawData.data[10] + this.rawData.data[14],x * this.rawData.data[3] + y * this.rawData.data[7] + z * this.rawData.data[11] + this.rawData.data[15]); - } - ,transformVectors: function(vin,vout) { - var i = 0; - while(i + 3 <= vin.length) { - var x = vin.data[i]; - var y = vin.data[i + 1]; - var z = vin.data[i + 2]; - if(!vout.fixed) { - if(i >= vout.length) vout.length = i + 1; - if(vout.data.length < vout.length) { - var data; - var this1; - this1 = new Array(vout.data.length + 10); - data = this1; - haxe.ds._Vector.Vector_Impl_.blit(vout.data,0,data,0,vout.data.length); - vout.data = data; - } - } - vout.data[i] = x * this.rawData.data[0] + y * this.rawData.data[4] + z * this.rawData.data[8] + this.rawData.data[12]; - var key = i + 1; - if(!vout.fixed) { - if(key >= vout.length) vout.length = key + 1; - if(vout.data.length < vout.length) { - var data1; - var this2; - this2 = new Array(vout.data.length + 10); - data1 = this2; - haxe.ds._Vector.Vector_Impl_.blit(vout.data,0,data1,0,vout.data.length); - vout.data = data1; - } - } - vout.data[key] = x * this.rawData.data[1] + y * this.rawData.data[5] + z * this.rawData.data[9] + this.rawData.data[13]; - var key1 = i + 2; - if(!vout.fixed) { - if(key1 >= vout.length) vout.length = key1 + 1; - if(vout.data.length < vout.length) { - var data2; - var this3; - this3 = new Array(vout.data.length + 10); - data2 = this3; - haxe.ds._Vector.Vector_Impl_.blit(vout.data,0,data2,0,vout.data.length); - vout.data = data2; - } - } - vout.data[key1] = x * this.rawData.data[2] + y * this.rawData.data[6] + z * this.rawData.data[10] + this.rawData.data[14]; - i += 3; - } - } - ,transpose: function() { - var oRawData; - var this1 = this.rawData; - var vectorData = new openfl.VectorData(); - vectorData.length = this1.length; - vectorData.fixed = this1.fixed; - var this2; - this2 = new Array(this1.length); - vectorData.data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,vectorData.data,0,this1.length); - oRawData = vectorData; - var this3 = this.rawData; - if(!this3.fixed) { - if(1 >= this3.length) this3.length = 2; - if(this3.data.length < this3.length) { - var data; - var this4; - this4 = new Array(this3.data.length + 10); - data = this4; - haxe.ds._Vector.Vector_Impl_.blit(this3.data,0,data,0,this3.data.length); - this3.data = data; - } - } - this3.data[1] = oRawData.data[4]; - var this5 = this.rawData; - if(!this5.fixed) { - if(2 >= this5.length) this5.length = 3; - if(this5.data.length < this5.length) { - var data1; - var this6; - this6 = new Array(this5.data.length + 10); - data1 = this6; - haxe.ds._Vector.Vector_Impl_.blit(this5.data,0,data1,0,this5.data.length); - this5.data = data1; - } - } - this5.data[2] = oRawData.data[8]; - var this7 = this.rawData; - if(!this7.fixed) { - if(3 >= this7.length) this7.length = 4; - if(this7.data.length < this7.length) { - var data2; - var this8; - this8 = new Array(this7.data.length + 10); - data2 = this8; - haxe.ds._Vector.Vector_Impl_.blit(this7.data,0,data2,0,this7.data.length); - this7.data = data2; - } - } - this7.data[3] = oRawData.data[12]; - var this9 = this.rawData; - if(!this9.fixed) { - if(4 >= this9.length) this9.length = 5; - if(this9.data.length < this9.length) { - var data3; - var this10; - this10 = new Array(this9.data.length + 10); - data3 = this10; - haxe.ds._Vector.Vector_Impl_.blit(this9.data,0,data3,0,this9.data.length); - this9.data = data3; - } - } - this9.data[4] = oRawData.data[1]; - var this11 = this.rawData; - if(!this11.fixed) { - if(6 >= this11.length) this11.length = 7; - if(this11.data.length < this11.length) { - var data4; - var this12; - this12 = new Array(this11.data.length + 10); - data4 = this12; - haxe.ds._Vector.Vector_Impl_.blit(this11.data,0,data4,0,this11.data.length); - this11.data = data4; - } - } - this11.data[6] = oRawData.data[9]; - var this13 = this.rawData; - if(!this13.fixed) { - if(7 >= this13.length) this13.length = 8; - if(this13.data.length < this13.length) { - var data5; - var this14; - this14 = new Array(this13.data.length + 10); - data5 = this14; - haxe.ds._Vector.Vector_Impl_.blit(this13.data,0,data5,0,this13.data.length); - this13.data = data5; - } - } - this13.data[7] = oRawData.data[13]; - var this15 = this.rawData; - if(!this15.fixed) { - if(8 >= this15.length) this15.length = 9; - if(this15.data.length < this15.length) { - var data6; - var this16; - this16 = new Array(this15.data.length + 10); - data6 = this16; - haxe.ds._Vector.Vector_Impl_.blit(this15.data,0,data6,0,this15.data.length); - this15.data = data6; - } - } - this15.data[8] = oRawData.data[2]; - var this17 = this.rawData; - if(!this17.fixed) { - if(9 >= this17.length) this17.length = 10; - if(this17.data.length < this17.length) { - var data7; - var this18; - this18 = new Array(this17.data.length + 10); - data7 = this18; - haxe.ds._Vector.Vector_Impl_.blit(this17.data,0,data7,0,this17.data.length); - this17.data = data7; - } - } - this17.data[9] = oRawData.data[6]; - var this19 = this.rawData; - if(!this19.fixed) { - if(11 >= this19.length) this19.length = 12; - if(this19.data.length < this19.length) { - var data8; - var this20; - this20 = new Array(this19.data.length + 10); - data8 = this20; - haxe.ds._Vector.Vector_Impl_.blit(this19.data,0,data8,0,this19.data.length); - this19.data = data8; - } - } - this19.data[11] = oRawData.data[14]; - var this21 = this.rawData; - if(!this21.fixed) { - if(12 >= this21.length) this21.length = 13; - if(this21.data.length < this21.length) { - var data9; - var this22; - this22 = new Array(this21.data.length + 10); - data9 = this22; - haxe.ds._Vector.Vector_Impl_.blit(this21.data,0,data9,0,this21.data.length); - this21.data = data9; - } - } - this21.data[12] = oRawData.data[3]; - var this23 = this.rawData; - if(!this23.fixed) { - if(13 >= this23.length) this23.length = 14; - if(this23.data.length < this23.length) { - var data10; - var this24; - this24 = new Array(this23.data.length + 10); - data10 = this24; - haxe.ds._Vector.Vector_Impl_.blit(this23.data,0,data10,0,this23.data.length); - this23.data = data10; - } - } - this23.data[13] = oRawData.data[7]; - var this25 = this.rawData; - if(!this25.fixed) { - if(14 >= this25.length) this25.length = 15; - if(this25.data.length < this25.length) { - var data11; - var this26; - this26 = new Array(this25.data.length + 10); - data11 = this26; - haxe.ds._Vector.Vector_Impl_.blit(this25.data,0,data11,0,this25.data.length); - this25.data = data11; - } - } - this25.data[14] = oRawData.data[11]; - } - ,get_determinant: function() { - return (this.rawData.data[0] * this.rawData.data[5] - this.rawData.data[4] * this.rawData.data[1]) * (this.rawData.data[10] * this.rawData.data[15] - this.rawData.data[14] * this.rawData.data[11]) - (this.rawData.data[0] * this.rawData.data[9] - this.rawData.data[8] * this.rawData.data[1]) * (this.rawData.data[6] * this.rawData.data[15] - this.rawData.data[14] * this.rawData.data[7]) + (this.rawData.data[0] * this.rawData.data[13] - this.rawData.data[12] * this.rawData.data[1]) * (this.rawData.data[6] * this.rawData.data[11] - this.rawData.data[10] * this.rawData.data[7]) + (this.rawData.data[4] * this.rawData.data[9] - this.rawData.data[8] * this.rawData.data[5]) * (this.rawData.data[2] * this.rawData.data[15] - this.rawData.data[14] * this.rawData.data[3]) - (this.rawData.data[4] * this.rawData.data[13] - this.rawData.data[12] * this.rawData.data[5]) * (this.rawData.data[2] * this.rawData.data[11] - this.rawData.data[10] * this.rawData.data[3]) + (this.rawData.data[8] * this.rawData.data[13] - this.rawData.data[12] * this.rawData.data[9]) * (this.rawData.data[2] * this.rawData.data[7] - this.rawData.data[6] * this.rawData.data[3]); - } - ,get_position: function() { - return new openfl.geom.Vector3D(this.rawData.data[12],this.rawData.data[13],this.rawData.data[14]); - } - ,set_position: function(val) { - var this1 = this.rawData; - if(!this1.fixed) { - if(12 >= this1.length) this1.length = 13; - if(this1.data.length < this1.length) { - var data; - var this2; - this2 = new Array(this1.data.length + 10); - data = this2; - haxe.ds._Vector.Vector_Impl_.blit(this1.data,0,data,0,this1.data.length); - this1.data = data; - } - } - this1.data[12] = val.x; - var this3 = this.rawData; - if(!this3.fixed) { - if(13 >= this3.length) this3.length = 14; - if(this3.data.length < this3.length) { - var data1; - var this4; - this4 = new Array(this3.data.length + 10); - data1 = this4; - haxe.ds._Vector.Vector_Impl_.blit(this3.data,0,data1,0,this3.data.length); - this3.data = data1; - } - } - this3.data[13] = val.y; - var this5 = this.rawData; - if(!this5.fixed) { - if(14 >= this5.length) this5.length = 15; - if(this5.data.length < this5.length) { - var data2; - var this6; - this6 = new Array(this5.data.length + 10); - data2 = this6; - haxe.ds._Vector.Vector_Impl_.blit(this5.data,0,data2,0,this5.data.length); - this5.data = data2; - } - } - this5.data[14] = val.z; - return val; - } - ,__class__: openfl.geom.Matrix3D - ,__properties__: {set_position:"set_position",get_position:"get_position",get_determinant:"get_determinant"} -}; -openfl.geom.Orientation3D = $hxClasses["openfl.geom.Orientation3D"] = { __ename__ : true, __constructs__ : ["AXIS_ANGLE","EULER_ANGLES","QUATERNION"] }; -openfl.geom.Orientation3D.AXIS_ANGLE = ["AXIS_ANGLE",0]; -openfl.geom.Orientation3D.AXIS_ANGLE.toString = $estr; -openfl.geom.Orientation3D.AXIS_ANGLE.__enum__ = openfl.geom.Orientation3D; -openfl.geom.Orientation3D.EULER_ANGLES = ["EULER_ANGLES",1]; -openfl.geom.Orientation3D.EULER_ANGLES.toString = $estr; -openfl.geom.Orientation3D.EULER_ANGLES.__enum__ = openfl.geom.Orientation3D; -openfl.geom.Orientation3D.QUATERNION = ["QUATERNION",2]; -openfl.geom.Orientation3D.QUATERNION.toString = $estr; -openfl.geom.Orientation3D.QUATERNION.__enum__ = openfl.geom.Orientation3D; -openfl.geom.Transform = function(displayObject) { - this.__colorTransform = new openfl.geom.ColorTransform(); - this.concatenatedColorTransform = new openfl.geom.ColorTransform(); - this.concatenatedMatrix = new openfl.geom.Matrix(); - this.pixelBounds = new openfl.geom.Rectangle(); - this.__displayObject = displayObject; - this.__hasMatrix = true; -}; -$hxClasses["openfl.geom.Transform"] = openfl.geom.Transform; -openfl.geom.Transform.__name__ = ["openfl","geom","Transform"]; -openfl.geom.Transform.prototype = { - get_colorTransform: function() { - return this.__colorTransform; - } - ,set_colorTransform: function(value) { - this.__colorTransform = value; - if(value != null) this.__displayObject.set_alpha(value.alphaMultiplier); - return this.__colorTransform; - } - ,get_matrix: function() { - if(this.__hasMatrix) { - var matrix = new openfl.geom.Matrix(); - matrix.scale(this.__displayObject.get_scaleX(),this.__displayObject.get_scaleY()); - matrix.rotate(this.__displayObject.get_rotation() * (Math.PI / 180)); - matrix.translate(this.__displayObject.get_x(),this.__displayObject.get_y()); - return matrix; - } - return null; - } - ,set_matrix: function(value) { - if(value == null) { - this.__hasMatrix = false; - return null; - } - this.__hasMatrix = true; - this.__hasMatrix3D = false; - if(this.__displayObject != null) { - this.__displayObject.set_x(value.tx); - this.__displayObject.set_y(value.ty); - this.__displayObject.set_scaleX(Math.sqrt(value.a * value.a + value.b * value.b)); - this.__displayObject.set_scaleY(Math.sqrt(value.c * value.c + value.d * value.d)); - this.__displayObject.set_rotation(Math.atan2(value.b,value.a) * (180 / Math.PI)); - } - return value; - } - ,get_matrix3D: function() { - if(this.__hasMatrix3D) { - var matrix = new openfl.geom.Matrix(); - matrix.scale(this.__displayObject.get_scaleX(),this.__displayObject.get_scaleY()); - matrix.rotate(this.__displayObject.get_rotation() * (Math.PI / 180)); - matrix.translate(this.__displayObject.get_x(),this.__displayObject.get_y()); - return new openfl.geom.Matrix3D((function($this) { - var $r; - var value = [matrix.a,matrix.b,0.0,0.0,matrix.c,matrix.d,0.0,0.0,0.0,0.0,1.0,0.0,matrix.tx,matrix.ty,0.0,1.0]; - var vectorData = new openfl.VectorData(); - vectorData.length = value.length; - vectorData.fixed = true; - { - var vec; - var this1; - this1 = new Array(value.length); - vec = this1; - var _g1 = 0; - var _g = value.length; - while(_g1 < _g) { - var i = _g1++; - vec[i] = value[i]; - } - vectorData.data = vec; - } - $r = vectorData; - return $r; - }(this))); - } - return null; - } - ,set_matrix3D: function(value) { - if(value == null) { - this.__hasMatrix3D = false; - return null; - } - this.__hasMatrix = false; - this.__hasMatrix3D = true; - if(this.__displayObject != null) { - this.__displayObject.set_x(value.rawData.data[12]); - this.__displayObject.set_y(value.rawData.data[13]); - this.__displayObject.set_scaleX(Math.sqrt(value.rawData.data[0] * value.rawData.data[0] + value.rawData.data[1] * value.rawData.data[1])); - this.__displayObject.set_scaleY(Math.sqrt(value.rawData.data[4] * value.rawData.data[4] + value.rawData.data[5] * value.rawData.data[5])); - this.__displayObject.set_rotation(Math.atan2(value.rawData.data[1],value.rawData.data[0]) * (180 / Math.PI)); - } - return value; - } - ,__class__: openfl.geom.Transform - ,__properties__: {set_matrix3D:"set_matrix3D",get_matrix3D:"get_matrix3D",set_matrix:"set_matrix",get_matrix:"get_matrix",set_colorTransform:"set_colorTransform",get_colorTransform:"get_colorTransform"} -}; -openfl.geom.Vector3D = function(x,y,z,w) { - if(w == null) w = 0; - if(z == null) z = 0; - if(y == null) y = 0; - if(x == null) x = 0; - this.w = w; - this.x = x; - this.y = y; - this.z = z; -}; -$hxClasses["openfl.geom.Vector3D"] = openfl.geom.Vector3D; -openfl.geom.Vector3D.__name__ = ["openfl","geom","Vector3D"]; -openfl.geom.Vector3D.__properties__ = {get_Z_AXIS:"get_Z_AXIS",get_Y_AXIS:"get_Y_AXIS",get_X_AXIS:"get_X_AXIS"} -openfl.geom.Vector3D.X_AXIS = null; -openfl.geom.Vector3D.Y_AXIS = null; -openfl.geom.Vector3D.Z_AXIS = null; -openfl.geom.Vector3D.angleBetween = function(a,b) { - var a0 = new openfl.geom.Vector3D(a.x,a.y,a.z,a.w); - a0.normalize(); - var b0 = new openfl.geom.Vector3D(b.x,b.y,b.z,b.w); - b0.normalize(); - return Math.acos(a0.x * b0.x + a0.y * b0.y + a0.z * b0.z); -}; -openfl.geom.Vector3D.distance = function(pt1,pt2) { - var x = pt2.x - pt1.x; - var y = pt2.y - pt1.y; - var z = pt2.z - pt1.z; - return Math.sqrt(x * x + y * y + z * z); -}; -openfl.geom.Vector3D.get_X_AXIS = function() { - return new openfl.geom.Vector3D(1,0,0); -}; -openfl.geom.Vector3D.get_Y_AXIS = function() { - return new openfl.geom.Vector3D(0,1,0); -}; -openfl.geom.Vector3D.get_Z_AXIS = function() { - return new openfl.geom.Vector3D(0,0,1); -}; -openfl.geom.Vector3D.prototype = { - add: function(a) { - return new openfl.geom.Vector3D(this.x + a.x,this.y + a.y,this.z + a.z); - } - ,clone: function() { - return new openfl.geom.Vector3D(this.x,this.y,this.z,this.w); - } - ,copyFrom: function(sourceVector3D) { - this.x = sourceVector3D.x; - this.y = sourceVector3D.y; - this.z = sourceVector3D.z; - } - ,crossProduct: function(a) { - return new openfl.geom.Vector3D(this.y * a.z - this.z * a.y,this.z * a.x - this.x * a.z,this.x * a.y - this.y * a.x,1); - } - ,decrementBy: function(a) { - this.x -= a.x; - this.y -= a.y; - this.z -= a.z; - } - ,dotProduct: function(a) { - return this.x * a.x + this.y * a.y + this.z * a.z; - } - ,equals: function(toCompare,allFour) { - if(allFour == null) allFour = false; - return this.x == toCompare.x && this.y == toCompare.y && this.z == toCompare.z && (!allFour || this.w == toCompare.w); - } - ,incrementBy: function(a) { - this.x += a.x; - this.y += a.y; - this.z += a.z; - } - ,nearEquals: function(toCompare,tolerance,allFour) { - if(allFour == null) allFour = false; - return Math.abs(this.x - toCompare.x) < tolerance && Math.abs(this.y - toCompare.y) < tolerance && Math.abs(this.z - toCompare.z) < tolerance && (!allFour || Math.abs(this.w - toCompare.w) < tolerance); - } - ,negate: function() { - this.x *= -1; - this.y *= -1; - this.z *= -1; - } - ,normalize: function() { - var l = Math.sqrt(this.x * this.x + this.y * this.y + this.z * this.z); - if(l != 0) { - this.x /= l; - this.y /= l; - this.z /= l; - } - return l; - } - ,project: function() { - this.x /= this.w; - this.y /= this.w; - this.z /= this.w; - } - ,scaleBy: function(s) { - this.x *= s; - this.y *= s; - this.z *= s; - } - ,setTo: function(xa,ya,za) { - this.x = xa; - this.y = ya; - this.z = za; - } - ,subtract: function(a) { - return new openfl.geom.Vector3D(this.x - a.x,this.y - a.y,this.z - a.z); - } - ,toString: function() { - return "Vector3D(" + this.x + ", " + this.y + ", " + this.z + ")"; - } - ,get_length: function() { - return Math.sqrt(this.x * this.x + this.y * this.y + this.z * this.z); - } - ,get_lengthSquared: function() { - return this.x * this.x + this.y * this.y + this.z * this.z; - } - ,__class__: openfl.geom.Vector3D - ,__properties__: {get_lengthSquared:"get_lengthSquared",get_length:"get_length"} -}; -openfl.media = {}; -openfl.media.ID3Info = function() { -}; -$hxClasses["openfl.media.ID3Info"] = openfl.media.ID3Info; -openfl.media.ID3Info.__name__ = ["openfl","media","ID3Info"]; -openfl.media.ID3Info.prototype = { - __class__: openfl.media.ID3Info -}; -openfl.media.Sound = function(stream,context) { - openfl.events.EventDispatcher.call(this,this); - this.bytesLoaded = 0; - this.bytesTotal = 0; - this.id3 = null; - this.isBuffering = false; - this.length = 0; - this.url = null; - if(stream != null) this.load(stream,context); -}; -$hxClasses["openfl.media.Sound"] = openfl.media.Sound; -openfl.media.Sound.__name__ = ["openfl","media","Sound"]; -openfl.media.Sound.fromAudioBuffer = function(buffer) { - var sound = new openfl.media.Sound(); - sound.__buffer = buffer; - return sound; -}; -openfl.media.Sound.fromFile = function(path) { - return openfl.media.Sound.fromAudioBuffer(lime.audio.AudioBuffer.fromFile(path)); -}; -openfl.media.Sound.__super__ = openfl.events.EventDispatcher; -openfl.media.Sound.prototype = $extend(openfl.events.EventDispatcher.prototype,{ - close: function() { - if(openfl.media.Sound.__registeredSounds.exists(this.__soundID)) createjs.Sound.removeSound(this.__soundID); - } - ,load: function(stream,context) { - this.url = stream.url; - this.__soundID = haxe.io.Path.withoutExtension(stream.url); - if(!openfl.media.Sound.__registeredSounds.exists(this.__soundID)) { - openfl.media.Sound.__registeredSounds.set(this.__soundID,true); - createjs.Sound.addEventListener("fileload",$bind(this,this.SoundJS_onFileLoad)); - createjs.Sound.addEventListener("fileerror",$bind(this,this.SoundJS_onFileError)); - createjs.Sound.registerSound(this.url,this.__soundID); - } else this.dispatchEvent(new openfl.events.Event(openfl.events.Event.COMPLETE)); - } - ,loadCompressedDataFromByteArray: function(bytes,bytesLength,forcePlayAsMusic) { - if(forcePlayAsMusic == null) forcePlayAsMusic = false; - openfl.Lib.notImplemented("Sound.loadCompressedDataFromByteArray"); - } - ,loadPCMFromByteArray: function(bytes,samples,format,stereo,sampleRate) { - if(sampleRate == null) sampleRate = 44100; - if(stereo == null) stereo = true; - openfl.Lib.notImplemented("Sound.loadPCMFromByteArray"); - } - ,play: function(startTime,loops,sndTransform) { - if(loops == null) loops = 0; - if(startTime == null) startTime = 0.0; - if(sndTransform == null) sndTransform = new openfl.media.SoundTransform(1,0); - var instance; - if(loops > 1) instance = createjs.Sound.play(this.__soundID,"any",0,startTime | 0,loops - 1,sndTransform.volume,sndTransform.pan); else instance = createjs.Sound.play(this.__soundID,"any",0,startTime | 0,0,sndTransform.volume,sndTransform.pan); - return new openfl.media.SoundChannel(instance); - } - ,get_id3: function() { - return new openfl.media.ID3Info(); - } - ,AudioBuffer_onURLLoad: function(buffer) { - this.__buffer = buffer; - this.dispatchEvent(new openfl.events.Event(openfl.events.Event.COMPLETE)); - } - ,SoundJS_onFileLoad: function(event) { - if(event.id == this.__soundID) { - createjs.Sound.removeEventListener("fileload",$bind(this,this.SoundJS_onFileLoad)); - createjs.Sound.removeEventListener("fileerror",$bind(this,this.SoundJS_onFileError)); - this.dispatchEvent(new openfl.events.Event(openfl.events.Event.COMPLETE)); - } - } - ,SoundJS_onFileError: function(event) { - if(event.id == this.__soundID) { - createjs.Sound.removeEventListener("fileload",$bind(this,this.SoundJS_onFileLoad)); - createjs.Sound.removeEventListener("fileerror",$bind(this,this.SoundJS_onFileError)); - this.dispatchEvent(new openfl.events.IOErrorEvent(openfl.events.IOErrorEvent.IO_ERROR)); - } - } - ,__class__: openfl.media.Sound - ,__properties__: {get_id3:"get_id3"} -}); -openfl.media.SoundChannel = function(soundInstance) { - openfl.events.EventDispatcher.call(this,this); - this.leftPeak = 1; - this.rightPeak = 1; - if(soundInstance != null) { - this.__soundInstance = soundInstance; - this.__soundInstance.addEventListener("complete",$bind(this,this.source_onComplete)); - this.__isValid = true; - } -}; -$hxClasses["openfl.media.SoundChannel"] = openfl.media.SoundChannel; -openfl.media.SoundChannel.__name__ = ["openfl","media","SoundChannel"]; -openfl.media.SoundChannel.__super__ = openfl.events.EventDispatcher; -openfl.media.SoundChannel.prototype = $extend(openfl.events.EventDispatcher.prototype,{ - stop: function() { - if(!this.__isValid) return; - this.__soundInstance.stop(); - } - ,__dispose: function() { - if(!this.__isValid) return; - this.__soundInstance.stop(); - this.__soundInstance = null; - this.__isValid = false; - } - ,get_position: function() { - if(!this.__isValid) return 0; - return this.__soundInstance.getPosition(); - } - ,set_position: function(value) { - if(!this.__isValid) return 0; - this.__soundInstance.setPosition(value | 0); - return this.__soundInstance.getPosition(); - } - ,get_soundTransform: function() { - if(!this.__isValid) return new openfl.media.SoundTransform(); - return new openfl.media.SoundTransform(this.__soundInstance.getVolume(),this.__soundInstance.getPan()); - } - ,set_soundTransform: function(value) { - if(!this.__isValid) return value; - this.__soundInstance.setVolume(value.volume); - this.__soundInstance.setPan(value.pan); - return value; - } - ,soundInstance_onComplete: function(_) { - this.dispatchEvent(new openfl.events.Event(openfl.events.Event.SOUND_COMPLETE)); - } - ,source_onComplete: function() { - this.__dispose(); - this.dispatchEvent(new openfl.events.Event(openfl.events.Event.SOUND_COMPLETE)); - } - ,__class__: openfl.media.SoundChannel - ,__properties__: {set_soundTransform:"set_soundTransform",get_soundTransform:"get_soundTransform",set_position:"set_position",get_position:"get_position"} -}); -openfl.media.SoundLoaderContext = function(bufferTime,checkPolicyFile) { - if(checkPolicyFile == null) checkPolicyFile = false; - if(bufferTime == null) bufferTime = 0; - this.bufferTime = bufferTime; - this.checkPolicyFile = checkPolicyFile; -}; -$hxClasses["openfl.media.SoundLoaderContext"] = openfl.media.SoundLoaderContext; -openfl.media.SoundLoaderContext.__name__ = ["openfl","media","SoundLoaderContext"]; -openfl.media.SoundLoaderContext.prototype = { - __class__: openfl.media.SoundLoaderContext -}; -openfl.media.SoundTransform = function(vol,panning) { - if(panning == null) panning = 0; - if(vol == null) vol = 1; - this.volume = vol; - this.pan = panning; - this.leftToLeft = 0; - this.leftToRight = 0; - this.rightToLeft = 0; - this.rightToRight = 0; -}; -$hxClasses["openfl.media.SoundTransform"] = openfl.media.SoundTransform; -openfl.media.SoundTransform.__name__ = ["openfl","media","SoundTransform"]; -openfl.media.SoundTransform.prototype = { - clone: function() { - return new openfl.media.SoundTransform(this.volume,this.pan); - } - ,__class__: openfl.media.SoundTransform -}; -openfl.net = {}; -openfl.net.URLRequest = function(inURL) { - if(inURL != null) this.url = inURL; - this.requestHeaders = []; - this.method = "GET"; - this.contentType = null; -}; -$hxClasses["openfl.net.URLRequest"] = openfl.net.URLRequest; -openfl.net.URLRequest.__name__ = ["openfl","net","URLRequest"]; -openfl.net.URLRequest.prototype = { - formatRequestHeaders: function() { - var res = this.requestHeaders; - if(res == null) res = []; - if(this.method == "GET" || this.data == null) return res; - if(typeof(this.data) == "string" || js.Boot.__instanceof(this.data,lime.utils.ByteArray)) { - res = res.slice(); - res.push(new openfl.net.URLRequestHeader("Content-Type",this.contentType != null?this.contentType:"application/x-www-form-urlencoded")); - } - return res; - } - ,__class__: openfl.net.URLRequest -}; -openfl.net.URLRequestHeader = function(name,value) { - if(value == null) value = ""; - if(name == null) name = ""; - this.name = name; - this.value = value; -}; -$hxClasses["openfl.net.URLRequestHeader"] = openfl.net.URLRequestHeader; -openfl.net.URLRequestHeader.__name__ = ["openfl","net","URLRequestHeader"]; -openfl.net.URLRequestHeader.prototype = { - __class__: openfl.net.URLRequestHeader -}; -openfl.net._URLRequestMethod = {}; -openfl.net._URLRequestMethod.URLRequestMethod_Impl_ = function() { }; -$hxClasses["openfl.net._URLRequestMethod.URLRequestMethod_Impl_"] = openfl.net._URLRequestMethod.URLRequestMethod_Impl_; -openfl.net._URLRequestMethod.URLRequestMethod_Impl_.__name__ = ["openfl","net","_URLRequestMethod","URLRequestMethod_Impl_"]; -openfl.system.LoaderContext = function(checkPolicyFile,applicationDomain,securityDomain) { - if(checkPolicyFile == null) checkPolicyFile = false; - this.checkPolicyFile = checkPolicyFile; - this.securityDomain = securityDomain; - this.applicationDomain = applicationDomain; - this.allowCodeImport = true; - this.allowLoadBytesCodeExecution = true; -}; -$hxClasses["openfl.system.LoaderContext"] = openfl.system.LoaderContext; -openfl.system.LoaderContext.__name__ = ["openfl","system","LoaderContext"]; -openfl.system.LoaderContext.prototype = { - __class__: openfl.system.LoaderContext -}; -openfl.system.SecurityDomain = function() { -}; -$hxClasses["openfl.system.SecurityDomain"] = openfl.system.SecurityDomain; -openfl.system.SecurityDomain.__name__ = ["openfl","system","SecurityDomain"]; -openfl.system.SecurityDomain.prototype = { - __class__: openfl.system.SecurityDomain -}; -openfl.text = {}; -openfl.text.AntiAliasType = $hxClasses["openfl.text.AntiAliasType"] = { __ename__ : true, __constructs__ : ["ADVANCED","NORMAL"] }; -openfl.text.AntiAliasType.ADVANCED = ["ADVANCED",0]; -openfl.text.AntiAliasType.ADVANCED.toString = $estr; -openfl.text.AntiAliasType.ADVANCED.__enum__ = openfl.text.AntiAliasType; -openfl.text.AntiAliasType.NORMAL = ["NORMAL",1]; -openfl.text.AntiAliasType.NORMAL.toString = $estr; -openfl.text.AntiAliasType.NORMAL.__enum__ = openfl.text.AntiAliasType; -openfl.text.Font = function(name) { - lime.text.Font.call(this,name); -}; -$hxClasses["openfl.text.Font"] = openfl.text.Font; -openfl.text.Font.__name__ = ["openfl","text","Font"]; -openfl.text.Font.enumerateFonts = function(enumerateDeviceFonts) { - if(enumerateDeviceFonts == null) enumerateDeviceFonts = false; - return []; -}; -openfl.text.Font.fromBytes = function(bytes) { - var font = new openfl.text.Font(); - font.__fromBytes(bytes); - return font; -}; -openfl.text.Font.fromFile = function(path) { - var font = new openfl.text.Font(); - font.__fromFile(path); - return font; -}; -openfl.text.Font.registerFont = function(font) { - var instance; - instance = js.Boot.__cast(Type.createInstance(font,[]) , openfl.text.Font); - if(instance != null) openfl.text.Font.__registeredFonts.push(instance); -}; -openfl.text.Font.__fromLimeFont = function(value) { - var font = new openfl.text.Font(); - font.name = value.name; - font.src = value.src; - return font; -}; -openfl.text.Font.__super__ = lime.text.Font; -openfl.text.Font.prototype = $extend(lime.text.Font.prototype,{ - get_fontName: function() { - return this.name; - } - ,set_fontName: function(value) { - return this.name = value; - } - ,__class__: openfl.text.Font - ,__properties__: $extend(lime.text.Font.prototype.__properties__,{set_fontName:"set_fontName",get_fontName:"get_fontName"}) -}); -openfl.text.FontStyle = $hxClasses["openfl.text.FontStyle"] = { __ename__ : true, __constructs__ : ["REGULAR","ITALIC","BOLD_ITALIC","BOLD"] }; -openfl.text.FontStyle.REGULAR = ["REGULAR",0]; -openfl.text.FontStyle.REGULAR.toString = $estr; -openfl.text.FontStyle.REGULAR.__enum__ = openfl.text.FontStyle; -openfl.text.FontStyle.ITALIC = ["ITALIC",1]; -openfl.text.FontStyle.ITALIC.toString = $estr; -openfl.text.FontStyle.ITALIC.__enum__ = openfl.text.FontStyle; -openfl.text.FontStyle.BOLD_ITALIC = ["BOLD_ITALIC",2]; -openfl.text.FontStyle.BOLD_ITALIC.toString = $estr; -openfl.text.FontStyle.BOLD_ITALIC.__enum__ = openfl.text.FontStyle; -openfl.text.FontStyle.BOLD = ["BOLD",3]; -openfl.text.FontStyle.BOLD.toString = $estr; -openfl.text.FontStyle.BOLD.__enum__ = openfl.text.FontStyle; -openfl.text.FontType = $hxClasses["openfl.text.FontType"] = { __ename__ : true, __constructs__ : ["DEVICE","EMBEDDED","EMBEDDED_CFF"] }; -openfl.text.FontType.DEVICE = ["DEVICE",0]; -openfl.text.FontType.DEVICE.toString = $estr; -openfl.text.FontType.DEVICE.__enum__ = openfl.text.FontType; -openfl.text.FontType.EMBEDDED = ["EMBEDDED",1]; -openfl.text.FontType.EMBEDDED.toString = $estr; -openfl.text.FontType.EMBEDDED.__enum__ = openfl.text.FontType; -openfl.text.FontType.EMBEDDED_CFF = ["EMBEDDED_CFF",2]; -openfl.text.FontType.EMBEDDED_CFF.toString = $estr; -openfl.text.FontType.EMBEDDED_CFF.__enum__ = openfl.text.FontType; -openfl.text.GridFitType = $hxClasses["openfl.text.GridFitType"] = { __ename__ : true, __constructs__ : ["NONE","PIXEL","SUBPIXEL"] }; -openfl.text.GridFitType.NONE = ["NONE",0]; -openfl.text.GridFitType.NONE.toString = $estr; -openfl.text.GridFitType.NONE.__enum__ = openfl.text.GridFitType; -openfl.text.GridFitType.PIXEL = ["PIXEL",1]; -openfl.text.GridFitType.PIXEL.toString = $estr; -openfl.text.GridFitType.PIXEL.__enum__ = openfl.text.GridFitType; -openfl.text.GridFitType.SUBPIXEL = ["SUBPIXEL",2]; -openfl.text.GridFitType.SUBPIXEL.toString = $estr; -openfl.text.GridFitType.SUBPIXEL.__enum__ = openfl.text.GridFitType; -openfl.text.TextField = function() { - openfl.display.InteractiveObject.call(this); - this.__width = 100; - this.__height = 100; - this.__text = ""; - this.__dirtyBounds = true; - this.__bounds = new openfl.geom.Rectangle(0,0,0,0); - this.__graphics = new openfl.display.Graphics(); - this.set_type(openfl.text.TextFieldType.DYNAMIC); - this.set_autoSize(openfl.text.TextFieldAutoSize.NONE); - this.displayAsPassword = false; - this.embedFonts = false; - this.set_selectable(true); - this.set_borderColor(0); - this.set_border(false); - this.set_backgroundColor(16777215); - this.set_background(false); - this.gridFitType = openfl.text.GridFitType.PIXEL; - this.maxChars = 0; - this.multiline = false; - this.sharpness = 0; - this.scrollH = 0; - this.scrollV = 1; - this.set_wordWrap(false); - if(openfl.text.TextField.__defaultTextFormat == null) { - openfl.text.TextField.__defaultTextFormat = new openfl.text.TextFormat("Times New Roman",12,0,false,false,false,"","",openfl.text.TextFormatAlign.LEFT,0,0,0,0); - openfl.text.TextField.__defaultTextFormat.blockIndent = 0; - openfl.text.TextField.__defaultTextFormat.bullet = false; - openfl.text.TextField.__defaultTextFormat.letterSpacing = 0; - openfl.text.TextField.__defaultTextFormat.kerning = false; - } - this.__textFormat = openfl.text.TextField.__defaultTextFormat.clone(); -}; -$hxClasses["openfl.text.TextField"] = openfl.text.TextField; -openfl.text.TextField.__name__ = ["openfl","text","TextField"]; -openfl.text.TextField.__defaultTextFormat = null; -openfl.text.TextField.__super__ = openfl.display.InteractiveObject; -openfl.text.TextField.prototype = $extend(openfl.display.InteractiveObject.prototype,{ - appendText: function(text) { - var _g = this; - _g.set_text(_g.get_text() + text); - } - ,getCharBoundaries: function(a) { - openfl.Lib.notImplemented("TextField.getCharBoundaries"); - return null; - } - ,getCharIndexAtPoint: function(x,y) { - openfl.Lib.notImplemented("TextField.getCharIndexAtPoint"); - return 0; - } - ,getLineIndexAtPoint: function(x,y) { - openfl.Lib.notImplemented("TextField.getLineIndexAtPoint"); - return 0; - } - ,getLineMetrics: function(lineIndex) { - var lineWidth = openfl._internal.renderer.canvas.CanvasTextField.getLineWidth(this,lineIndex); - var lineHeight = this.get_textHeight(); - var ascender = lineHeight * 0.8; - var descender = lineHeight * 0.2; - var leading = 0; - var margin; - var _g = this.__textFormat.align; - switch(_g[1]) { - case 0:case 2: - margin = 2; - break; - case 1: - margin = this.get_width() - lineWidth - 2; - break; - case 3: - margin = (this.get_width() - lineWidth) / 2; - break; - } - return new openfl.text.TextLineMetrics(margin,lineWidth,lineHeight,ascender,descender,leading); - } - ,getLineOffset: function(lineIndex) { - openfl.Lib.notImplemented("TextField.getLineOffset"); - return 0; - } - ,getLineText: function(lineIndex) { - openfl.Lib.notImplemented("TextField.getLineText"); - return ""; - } - ,getTextFormat: function(beginIndex,endIndex) { - if(endIndex == null) endIndex = 0; - if(beginIndex == null) beginIndex = 0; - return this.__textFormat.clone(); - } - ,setSelection: function(beginIndex,endIndex) { - openfl.Lib.notImplemented("TextField.setSelection"); - } - ,setTextFormat: function(format,beginIndex,endIndex) { - if(endIndex == null) endIndex = 0; - if(beginIndex == null) beginIndex = 0; - if(format.font != null) this.__textFormat.font = format.font; - if(format.size != null) this.__textFormat.size = format.size; - if(format.color != null) this.__textFormat.color = format.color; - if(format.bold != null) this.__textFormat.bold = format.bold; - if(format.italic != null) this.__textFormat.italic = format.italic; - if(format.underline != null) this.__textFormat.underline = format.underline; - if(format.url != null) this.__textFormat.url = format.url; - if(format.target != null) this.__textFormat.target = format.target; - if(format.align != null) this.__textFormat.align = format.align; - if(format.leftMargin != null) this.__textFormat.leftMargin = format.leftMargin; - if(format.rightMargin != null) this.__textFormat.rightMargin = format.rightMargin; - if(format.indent != null) this.__textFormat.indent = format.indent; - if(format.leading != null) this.__textFormat.leading = format.leading; - if(format.blockIndent != null) this.__textFormat.blockIndent = format.blockIndent; - if(format.bullet != null) this.__textFormat.bullet = format.bullet; - if(format.kerning != null) this.__textFormat.kerning = format.kerning; - if(format.letterSpacing != null) this.__textFormat.letterSpacing = format.letterSpacing; - if(format.tabStops != null) this.__textFormat.tabStops = format.tabStops; - this.__dirty = true; - this.__dirtyBounds = true; - } - ,__getBounds: function(rect,matrix) { - var bounds = this.get_bounds().transform(matrix); - rect.__expand(bounds.x,bounds.y,bounds.width,bounds.height); - } - ,__getCursor: function() { - if(this.type == openfl.text.TextFieldType.INPUT && this.selectable) return lime.ui.MouseCursor.TEXT; else return null; - } - ,__getPosition: function(x,y) { - if(x <= 2) return 0; - var value = this.get_text(); - var text = value; - var totalW = 2; - var pos = text.length; - if(x < openfl._internal.renderer.canvas.CanvasTextField.getTextWidth(this,text) + 2) { - var _g1 = 0; - var _g = text.length; - while(_g1 < _g) { - var i = _g1++; - totalW += openfl._internal.renderer.canvas.CanvasTextField.getTextWidth(this,text.charAt(i)); - if(totalW >= x) { - pos = i; - break; - } - } - } - return pos; - } - ,__hitTest: function(x,y,shapeFlag,stack,interactiveOnly) { - if(!this.get_visible() || interactiveOnly && !this.mouseEnabled) return false; - var point = this.globalToLocal(new openfl.geom.Point(x,y)); - if(this.get_bounds().containsPoint(point)) { - if(stack != null) stack.push(this); - return true; - } - return false; - } - ,__renderCairo: function(renderSession) { - openfl._internal.renderer.cairo.CairoTextField.render(this,renderSession); - openfl.display.InteractiveObject.prototype.__renderCairo.call(this,renderSession); - } - ,__renderCanvas: function(renderSession) { - openfl._internal.renderer.canvas.CanvasTextField.render(this,renderSession); - openfl.display.InteractiveObject.prototype.__renderCanvas.call(this,renderSession); - } - ,__renderDOM: function(renderSession) { - openfl._internal.renderer.dom.DOMTextField.render(this,renderSession); - } - ,__renderGL: function(renderSession) { - openfl._internal.renderer.canvas.CanvasTextField.render(this,renderSession); - openfl._internal.renderer.opengl.GLRenderer.renderBitmap(this,renderSession); - } - ,__startCursorTimer: function() { - this.__cursorTimer = haxe.Timer.delay($bind(this,this.__startCursorTimer),500); - this.__showCursor = !this.__showCursor; - this.__dirty = true; - } - ,__stopCursorTimer: function() { - if(this.__cursorTimer != null) this.__cursorTimer.stop(); - } - ,input_onKeyUp: function(event) { - this.__isKeyDown = false; - if(event == null) event == window.event; - this.__text = this.__hiddenInput.value; - this.__ranges = null; - this.__isHTML = false; - if(this.__hiddenInput.selectionDirection == "backward") { - this.__cursorPosition = this.__hiddenInput.selectionStart; - this.__selectionStart = this.__hiddenInput.selectionEnd; - } else { - this.__cursorPosition = this.__hiddenInput.selectionEnd; - this.__selectionStart = this.__hiddenInput.selectionStart; - } - this.__dirty = true; - this.dispatchEvent(new openfl.events.Event(openfl.events.Event.CHANGE,true)); - } - ,input_onKeyDown: function(event) { - this.__isKeyDown = true; - if(event == null) event == window.event; - var keyCode = event.which; - var isShift = event.shiftKey; - this.__text = this.__hiddenInput.value; - this.__ranges = null; - this.__isHTML = false; - if(this.__hiddenInput.selectionDirection == "backward") { - this.__cursorPosition = this.__hiddenInput.selectionStart; - this.__selectionStart = this.__hiddenInput.selectionEnd; - } else { - this.__cursorPosition = this.__hiddenInput.selectionEnd; - this.__selectionStart = this.__hiddenInput.selectionStart; - } - this.__dirty = true; - } - ,stage_onMouseMove: function(event) { - if(this.__hasFocus && this.__selectionStart >= 0) { - var localPoint = this.globalToLocal(new openfl.geom.Point(event.stageX,event.stageY)); - this.__cursorPosition = this.__getPosition(localPoint.x,localPoint.y); - this.__dirty = true; - } - } - ,stage_onMouseUp: function(event) { - this.stage.removeEventListener(openfl.events.MouseEvent.MOUSE_MOVE,$bind(this,this.stage_onMouseMove)); - this.stage.removeEventListener(openfl.events.MouseEvent.MOUSE_UP,$bind(this,this.stage_onMouseUp)); - if(this.stage.get_focus() == this) { - var localPoint = this.globalToLocal(new openfl.geom.Point(event.stageX,event.stageY)); - var upPos = this.__getPosition(localPoint.x,localPoint.y); - var leftPos; - var rightPos; - leftPos = Std["int"](Math.min(this.__selectionStart,upPos)); - rightPos = Std["int"](Math.max(this.__selectionStart,upPos)); - this.__selectionStart = leftPos; - this.__cursorPosition = rightPos; - this.this_onFocusIn(null); - } - } - ,this_onAddedToStage: function(event) { - this.addEventListener(openfl.events.FocusEvent.FOCUS_IN,$bind(this,this.this_onFocusIn)); - this.addEventListener(openfl.events.FocusEvent.FOCUS_OUT,$bind(this,this.this_onFocusOut)); - this.__hiddenInput.addEventListener("keydown",$bind(this,this.input_onKeyDown),true); - this.__hiddenInput.addEventListener("keyup",$bind(this,this.input_onKeyUp),true); - this.__hiddenInput.addEventListener("input",$bind(this,this.input_onKeyUp),true); - this.addEventListener(openfl.events.MouseEvent.MOUSE_DOWN,$bind(this,this.this_onMouseDown)); - if(this.stage.get_focus() == this) this.this_onFocusIn(null); - } - ,this_onFocusIn: function(event) { - if(this.__cursorPosition < 0) { - this.__cursorPosition = this.__text.length; - this.__selectionStart = this.__cursorPosition; - } - this.__hiddenInput.focus(); - this.__hiddenInput.selectionStart = this.__selectionStart; - this.__hiddenInput.selectionEnd = this.__cursorPosition; - this.__stopCursorTimer(); - this.__startCursorTimer(); - this.__hasFocus = true; - this.__dirty = true; - this.stage.addEventListener(openfl.events.MouseEvent.MOUSE_UP,$bind(this,this.stage_onMouseUp)); - } - ,this_onFocusOut: function(event) { - this.__cursorPosition = -1; - this.__hasFocus = false; - this.__stopCursorTimer(); - if(this.__hiddenInput != null) this.__hiddenInput.blur(); - this.__dirty = true; - } - ,this_onMouseDown: function(event) { - if(!this.selectable) return; - var localPoint = this.globalToLocal(new openfl.geom.Point(event.stageX,event.stageY)); - this.__selectionStart = this.__getPosition(localPoint.x,localPoint.y); - this.__cursorPosition = this.__selectionStart; - this.stage.addEventListener(openfl.events.MouseEvent.MOUSE_MOVE,$bind(this,this.stage_onMouseMove)); - this.stage.addEventListener(openfl.events.MouseEvent.MOUSE_UP,$bind(this,this.stage_onMouseUp)); - } - ,this_onRemovedFromStage: function(event) { - this.removeEventListener(openfl.events.FocusEvent.FOCUS_IN,$bind(this,this.this_onFocusIn)); - this.removeEventListener(openfl.events.FocusEvent.FOCUS_OUT,$bind(this,this.this_onFocusOut)); - this.this_onFocusOut(null); - if(this.__hiddenInput != null) this.__hiddenInput.removeEventListener("keydown",$bind(this,this.input_onKeyDown),true); - if(this.__hiddenInput != null) this.__hiddenInput.removeEventListener("keyup",$bind(this,this.input_onKeyUp),true); - if(this.__hiddenInput != null) this.__hiddenInput.removeEventListener("input",$bind(this,this.input_onKeyUp),true); - this.removeEventListener(openfl.events.MouseEvent.MOUSE_DOWN,$bind(this,this.this_onMouseDown)); - if(this.stage != null) this.stage.removeEventListener(openfl.events.MouseEvent.MOUSE_MOVE,$bind(this,this.stage_onMouseMove)); - if(this.stage != null) this.stage.removeEventListener(openfl.events.MouseEvent.MOUSE_UP,$bind(this,this.stage_onMouseUp)); - } - ,set_autoSize: function(value) { - if(value != this.autoSize) { - this.__dirty = true; - this.__dirtyBounds = true; - } - return this.autoSize = value; - } - ,set_background: function(value) { - if(value != this.background) this.__dirty = true; - return this.background = value; - } - ,set_backgroundColor: function(value) { - if(value != this.backgroundColor) this.__dirty = true; - return this.backgroundColor = value; - } - ,set_border: function(value) { - if(value != this.border) { - this.__dirty = true; - this.__dirtyBounds = true; - } - return this.border = value; - } - ,set_borderColor: function(value) { - if(value != this.borderColor) this.__dirty = true; - return this.borderColor = value; - } - ,get_bottomScrollV: function() { - return this.get_numLines(); - } - ,get_bounds: function() { - if(!this.__dirtyBounds) return this.__bounds; - if(this.autoSize != openfl.text.TextFieldAutoSize.NONE) { - this.__bounds.width = this.get_textWidth() + 4 + (this.border?1:0); - this.__bounds.height = this.get_textHeight() + 4 + (this.border?1:0); - } else { - this.__bounds.width = this.__width; - this.__bounds.height = this.__height; - } - this.__dirtyBounds = false; - return this.__bounds; - } - ,get_caretPos: function() { - return 0; - } - ,get_defaultTextFormat: function() { - return this.__textFormat.clone(); - } - ,set_defaultTextFormat: function(value) { - this.__textFormat.__merge(value); - return value; - } - ,get_height: function() { - return this.get_bounds().height; - } - ,set_height: function(value) { - if(this.get_scaleY() != 1 || value != this.__height) { - if(!this.__transformDirty) { - this.__transformDirty = true; - openfl.display.DisplayObject.__worldTransformDirty++; - } - this.__dirty = true; - this.__dirtyBounds = true; - } - this.set_scaleY(1); - return this.__height = value; - } - ,get_htmlText: function() { - return this.__text; - } - ,set_htmlText: function(value) { - if(!this.__isHTML || this.__text != value) { - this.__dirty = true; - this.__dirtyBounds = true; - } - this.__ranges = null; - this.__isHTML = true; - if(this.__div == null) { - value = new EReg("
","g").replace(value,"\n"); - value = new EReg("
","g").replace(value,"\n"); - var segments = value.split("","g").replace(value,""); - if(this.__text != value && this.__hiddenInput != null) { - var selectionStart = this.__hiddenInput.selectionStart; - var selectionEnd = this.__hiddenInput.selectionEnd; - this.__hiddenInput.value = value; - this.__hiddenInput.selectionStart = selectionStart; - this.__hiddenInput.selectionEnd = selectionEnd; - } - return this.__text = value; - } else { - value = ""; - this.__ranges = []; - var _g = 0; - while(_g < segments.length) { - var segment = segments[_g]; - ++_g; - if(segment == "") continue; - var closeFontIndex = segment.indexOf(""); - if(closeFontIndex > -1) { - var start = segment.indexOf(">") + 1; - var end = closeFontIndex; - var format = this.__textFormat.clone(); - var faceIndex = segment.indexOf("face="); - var colorIndex = segment.indexOf("color="); - var sizeIndex = segment.indexOf("size="); - if(faceIndex > -1 && faceIndex < start) { - var len = segment.indexOf("\"",faceIndex); - format.font = HxOverrides.substr(segment,faceIndex + 6,len); - } - if(colorIndex > -1 && colorIndex < start) format.color = Std.parseInt("0x" + HxOverrides.substr(segment,colorIndex + 8,6)); - if(sizeIndex > -1 && sizeIndex < start) format.size = Std.parseInt((function($this) { - var $r; - var len1 = segment.indexOf("\"",sizeIndex); - $r = HxOverrides.substr(segment,sizeIndex + 6,len1); - return $r; - }(this))); - var sub = segment.substring(start,end); - sub = new EReg("<.*?>","g").replace(sub,""); - this.__ranges.push(new openfl.text.TextFormatRange(format,value.length,value.length + sub.length)); - value += sub; - if(closeFontIndex + 7 < segment.length) { - sub = HxOverrides.substr(segment,closeFontIndex + 7,null); - this.__ranges.push(new openfl.text.TextFormatRange(this.__textFormat,value.length,value.length + sub.length)); - value += sub; - } - } else { - this.__ranges.push(new openfl.text.TextFormatRange(this.__textFormat,value.length,value.length + segment.length)); - value += segment; - } - } - } - } - if(this.__text != value && this.__hiddenInput != null) { - var selectionStart1 = this.__hiddenInput.selectionStart; - var selectionEnd1 = this.__hiddenInput.selectionEnd; - this.__hiddenInput.value = value; - this.__hiddenInput.selectionStart = selectionStart1; - this.__hiddenInput.selectionEnd = selectionEnd1; - } - return this.__text = value; - } - ,get_maxScrollH: function() { - return 0; - } - ,get_maxScrollV: function() { - return 1; - } - ,get_numLines: function() { - if(this.get_text() != "" && this.get_text() != null) { - var count = this.get_text().split("\n").length; - if(this.__isHTML) count += this.get_text().split("
").length - 1; - return count; - } - return 1; - } - ,set_selectable: function(value) { - if(!value && this.selectable && this.type == openfl.text.TextFieldType.INPUT) this.this_onRemovedFromStage(null); - return this.selectable = value; - } - ,get_text: function() { - if(this.__isHTML) { - } - return this.__text; - } - ,set_text: function(value) { - if(this.__text != value && this.__hiddenInput != null) { - var selectionStart = this.__hiddenInput.selectionStart; - var selectionEnd = this.__hiddenInput.selectionEnd; - this.__hiddenInput.value = value; - this.__hiddenInput.selectionStart = selectionStart; - this.__hiddenInput.selectionEnd = selectionEnd; - } - if(this.__isHTML || this.__text != value) { - this.__dirty = true; - this.__dirtyBounds = true; - } - this.__ranges = null; - this.__isHTML = false; - return this.__text = value; - } - ,get_textColor: function() { - return this.__textFormat.color; - } - ,set_textColor: function(value) { - if(value != this.__textFormat.color) this.__dirty = true; - if(this.__ranges != null) { - var _g = 0; - var _g1 = this.__ranges; - while(_g < _g1.length) { - var range = _g1[_g]; - ++_g; - range.format.color = value; - } - } - return this.__textFormat.color = value; - } - ,get_textWidth: function() { - return openfl._internal.renderer.canvas.CanvasTextField.getLineWidth(this,-1); - } - ,get_textHeight: function() { - if(this.__canvas != null) return this.__textFormat.size * 1.185 * this.get_numLines() + (this.__textFormat.leading == null?0:this.__textFormat.leading) * this.get_numLines(); else if(this.__div != null) return this.__div.clientHeight; else { - openfl._internal.renderer.dom.DOMTextField.measureText(this); - return this.__measuredHeight + this.__textFormat.size * 0.185; - } - } - ,set_type: function(value) { - if(value != this.type) { - if(value == openfl.text.TextFieldType.INPUT) openfl._internal.renderer.canvas.CanvasTextField.enableInputMode(this); else openfl._internal.renderer.canvas.CanvasTextField.disableInputMode(this); - this.__dirty = true; - } - return this.type = value; - } - ,get_width: function() { - return this.get_bounds().width; - } - ,set_width: function(value) { - if(this.get_scaleX() != 1 || this.__width != value) { - if(!this.__transformDirty) { - this.__transformDirty = true; - openfl.display.DisplayObject.__worldTransformDirty++; - } - this.__dirty = true; - this.__dirtyBounds = true; - } - this.set_scaleX(1); - return this.__width = value; - } - ,get_wordWrap: function() { - return this.wordWrap; - } - ,set_wordWrap: function(value) { - return this.wordWrap = value; - } - ,__class__: openfl.text.TextField - ,__properties__: $extend(openfl.display.InteractiveObject.prototype.__properties__,{get_bounds:"get_bounds",set_wordWrap:"set_wordWrap",get_wordWrap:"get_wordWrap",set_type:"set_type",get_textWidth:"get_textWidth",get_textHeight:"get_textHeight",set_textColor:"set_textColor",get_textColor:"get_textColor",set_text:"set_text",get_text:"get_text",set_selectable:"set_selectable",get_numLines:"get_numLines",get_maxScrollV:"get_maxScrollV",get_maxScrollH:"get_maxScrollH",set_htmlText:"set_htmlText",get_htmlText:"get_htmlText",set_defaultTextFormat:"set_defaultTextFormat",get_defaultTextFormat:"get_defaultTextFormat",get_caretPos:"get_caretPos",get_bottomScrollV:"get_bottomScrollV",set_borderColor:"set_borderColor",set_border:"set_border",set_backgroundColor:"set_backgroundColor",set_background:"set_background",set_autoSize:"set_autoSize"}) -}); -openfl.text.TextFormatRange = function(format,start,end) { - this.format = format; - this.start = start; - this.end = end; -}; -$hxClasses["openfl.text.TextFormatRange"] = openfl.text.TextFormatRange; -openfl.text.TextFormatRange.__name__ = ["openfl","text","TextFormatRange"]; -openfl.text.TextFormatRange.prototype = { - __class__: openfl.text.TextFormatRange -}; -openfl.text._TextField = {}; -openfl.text._TextField.TextFieldLineMetric_Impl_ = function() { }; -$hxClasses["openfl.text._TextField.TextFieldLineMetric_Impl_"] = openfl.text._TextField.TextFieldLineMetric_Impl_; -openfl.text._TextField.TextFieldLineMetric_Impl_.__name__ = ["openfl","text","_TextField","TextFieldLineMetric_Impl_"]; -openfl.text.TextFieldAutoSize = $hxClasses["openfl.text.TextFieldAutoSize"] = { __ename__ : true, __constructs__ : ["CENTER","LEFT","NONE","RIGHT"] }; -openfl.text.TextFieldAutoSize.CENTER = ["CENTER",0]; -openfl.text.TextFieldAutoSize.CENTER.toString = $estr; -openfl.text.TextFieldAutoSize.CENTER.__enum__ = openfl.text.TextFieldAutoSize; -openfl.text.TextFieldAutoSize.LEFT = ["LEFT",1]; -openfl.text.TextFieldAutoSize.LEFT.toString = $estr; -openfl.text.TextFieldAutoSize.LEFT.__enum__ = openfl.text.TextFieldAutoSize; -openfl.text.TextFieldAutoSize.NONE = ["NONE",2]; -openfl.text.TextFieldAutoSize.NONE.toString = $estr; -openfl.text.TextFieldAutoSize.NONE.__enum__ = openfl.text.TextFieldAutoSize; -openfl.text.TextFieldAutoSize.RIGHT = ["RIGHT",3]; -openfl.text.TextFieldAutoSize.RIGHT.toString = $estr; -openfl.text.TextFieldAutoSize.RIGHT.__enum__ = openfl.text.TextFieldAutoSize; -openfl.text.TextFieldType = $hxClasses["openfl.text.TextFieldType"] = { __ename__ : true, __constructs__ : ["DYNAMIC","INPUT"] }; -openfl.text.TextFieldType.DYNAMIC = ["DYNAMIC",0]; -openfl.text.TextFieldType.DYNAMIC.toString = $estr; -openfl.text.TextFieldType.DYNAMIC.__enum__ = openfl.text.TextFieldType; -openfl.text.TextFieldType.INPUT = ["INPUT",1]; -openfl.text.TextFieldType.INPUT.toString = $estr; -openfl.text.TextFieldType.INPUT.__enum__ = openfl.text.TextFieldType; -openfl.text.TextFormat = function(font,size,color,bold,italic,underline,url,target,align,leftMargin,rightMargin,indent,leading) { - this.font = font; - this.size = size; - this.color = color; - this.bold = bold; - this.italic = italic; - this.underline = underline; - this.url = url; - this.target = target; - this.align = align; - this.leftMargin = leftMargin; - this.rightMargin = rightMargin; - this.indent = indent; - this.leading = leading; -}; -$hxClasses["openfl.text.TextFormat"] = openfl.text.TextFormat; -openfl.text.TextFormat.__name__ = ["openfl","text","TextFormat"]; -openfl.text.TextFormat.prototype = { - clone: function() { - var newFormat = new openfl.text.TextFormat(this.font,this.size,this.color,this.bold,this.italic,this.underline,this.url,this.target); - newFormat.align = this.align; - newFormat.leftMargin = this.leftMargin; - newFormat.rightMargin = this.rightMargin; - newFormat.indent = this.indent; - newFormat.leading = this.leading; - newFormat.blockIndent = this.blockIndent; - newFormat.bullet = this.bullet; - newFormat.kerning = this.kerning; - newFormat.letterSpacing = this.letterSpacing; - newFormat.tabStops = this.tabStops; - return newFormat; - } - ,__merge: function(format) { - if(format.font != null) this.font = format.font; - if(format.size != null) this.size = format.size; - if(format.color != null) this.color = format.color; - if(format.bold != null) this.bold = format.bold; - if(format.italic != null) this.italic = format.italic; - if(format.underline != null) this.underline = format.underline; - if(format.url != null) this.url = format.url; - if(format.target != null) this.target = format.target; - if(format.align != null) this.align = format.align; - if(format.leftMargin != null) this.leftMargin = format.leftMargin; - if(format.rightMargin != null) this.rightMargin = format.rightMargin; - if(format.indent != null) this.indent = format.indent; - if(format.leading != null) this.leading = format.leading; - if(format.blockIndent != null) this.blockIndent = format.blockIndent; - if(format.bullet != null) this.bullet = format.bullet; - if(format.kerning != null) this.kerning = format.kerning; - if(format.letterSpacing != null) this.letterSpacing = format.letterSpacing; - if(format.tabStops != null) this.tabStops = format.tabStops; - } - ,__class__: openfl.text.TextFormat -}; -openfl.text.TextFormatAlign = $hxClasses["openfl.text.TextFormatAlign"] = { __ename__ : true, __constructs__ : ["LEFT","RIGHT","JUSTIFY","CENTER"] }; -openfl.text.TextFormatAlign.LEFT = ["LEFT",0]; -openfl.text.TextFormatAlign.LEFT.toString = $estr; -openfl.text.TextFormatAlign.LEFT.__enum__ = openfl.text.TextFormatAlign; -openfl.text.TextFormatAlign.RIGHT = ["RIGHT",1]; -openfl.text.TextFormatAlign.RIGHT.toString = $estr; -openfl.text.TextFormatAlign.RIGHT.__enum__ = openfl.text.TextFormatAlign; -openfl.text.TextFormatAlign.JUSTIFY = ["JUSTIFY",2]; -openfl.text.TextFormatAlign.JUSTIFY.toString = $estr; -openfl.text.TextFormatAlign.JUSTIFY.__enum__ = openfl.text.TextFormatAlign; -openfl.text.TextFormatAlign.CENTER = ["CENTER",3]; -openfl.text.TextFormatAlign.CENTER.toString = $estr; -openfl.text.TextFormatAlign.CENTER.__enum__ = openfl.text.TextFormatAlign; -openfl.text.TextLineMetrics = function(x,width,height,ascent,descent,leading) { - this.x = x; - this.width = width; - this.height = height; - this.ascent = ascent; - this.descent = descent; - this.leading = leading; -}; -$hxClasses["openfl.text.TextLineMetrics"] = openfl.text.TextLineMetrics; -openfl.text.TextLineMetrics.__name__ = ["openfl","text","TextLineMetrics"]; -openfl.text.TextLineMetrics.prototype = { - __class__: openfl.text.TextLineMetrics -}; -openfl.ui = {}; -openfl.ui.GameInput = function() { - openfl.events.EventDispatcher.call(this); - openfl.ui.GameInput.__instances.push(this); -}; -$hxClasses["openfl.ui.GameInput"] = openfl.ui.GameInput; -openfl.ui.GameInput.__name__ = ["openfl","ui","GameInput"]; -openfl.ui.GameInput.getDeviceAt = function(index) { - if(lime.ui.Gamepad.devices.exists(index)) { - var key = lime.ui.Gamepad.devices.get(index); - return openfl.ui.GameInput.__devices.h[key.__id__]; - } - return null; -}; -openfl.ui.GameInput.__onGamepadAxisMove = function(gamepad,axis,value) { - var device = openfl.ui.GameInput.__devices.h[gamepad.__id__]; - if(device.enabled) { - if(!device.__axis.exists(axis)) { - var control = new openfl.ui.GameInputControl(device,"AXIS_" + (function($this) { - var $r; - switch(axis) { - case 0: - $r = "LEFT_X"; - break; - case 1: - $r = "LEFT_Y"; - break; - case 2: - $r = "RIGHT_X"; - break; - case 3: - $r = "RIGHT_Y"; - break; - case 4: - $r = "TRIGGER_LEFT"; - break; - case 5: - $r = "TRIGGER_RIGHT"; - break; - default: - $r = "UNKNOWN (" + axis + ")"; - } - return $r; - }(this)),-1,1); - device.__axis.set(axis,control); - device.__controls.push(control); - } - var control1 = device.__axis.get(axis); - control1.value = value; - control1.dispatchEvent(new openfl.events.Event(openfl.events.Event.CHANGE)); - } -}; -openfl.ui.GameInput.__onGamepadButtonDown = function(gamepad,button) { - var device = openfl.ui.GameInput.__devices.h[gamepad.__id__]; - if(device.enabled) { - if(!device.__button.exists(button)) { - var control = new openfl.ui.GameInputControl(device,"BUTTON_" + (function($this) { - var $r; - switch(button) { - case 0: - $r = "A"; - break; - case 1: - $r = "B"; - break; - case 2: - $r = "X"; - break; - case 3: - $r = "Y"; - break; - case 4: - $r = "BACK"; - break; - case 5: - $r = "GUIDE"; - break; - case 6: - $r = "START"; - break; - case 7: - $r = "LEFT_STICK"; - break; - case 8: - $r = "RIGHT_STICK"; - break; - case 9: - $r = "LEFT_SHOULDER"; - break; - case 10: - $r = "RIGHT_SHOULDER"; - break; - case 11: - $r = "DPAD_UP"; - break; - case 12: - $r = "DPAD_DOWN"; - break; - case 13: - $r = "DPAD_LEFT"; - break; - case 14: - $r = "DPAD_RIGHT"; - break; - default: - $r = "UNKNOWN (" + button + ")"; - } - return $r; - }(this)),0,1); - device.__button.set(button,control); - device.__controls.push(control); - } - var control1 = device.__button.get(button); - control1.value = 1; - control1.dispatchEvent(new openfl.events.Event(openfl.events.Event.CHANGE)); - } -}; -openfl.ui.GameInput.__onGamepadButtonUp = function(gamepad,button) { - var device = openfl.ui.GameInput.__devices.h[gamepad.__id__]; - if(device.enabled) { - if(!device.__button.exists(button)) { - var control = new openfl.ui.GameInputControl(device,"BUTTON_" + (function($this) { - var $r; - switch(button) { - case 0: - $r = "A"; - break; - case 1: - $r = "B"; - break; - case 2: - $r = "X"; - break; - case 3: - $r = "Y"; - break; - case 4: - $r = "BACK"; - break; - case 5: - $r = "GUIDE"; - break; - case 6: - $r = "START"; - break; - case 7: - $r = "LEFT_STICK"; - break; - case 8: - $r = "RIGHT_STICK"; - break; - case 9: - $r = "LEFT_SHOULDER"; - break; - case 10: - $r = "RIGHT_SHOULDER"; - break; - case 11: - $r = "DPAD_UP"; - break; - case 12: - $r = "DPAD_DOWN"; - break; - case 13: - $r = "DPAD_LEFT"; - break; - case 14: - $r = "DPAD_RIGHT"; - break; - default: - $r = "UNKNOWN (" + button + ")"; - } - return $r; - }(this)),0,1); - device.__button.set(button,control); - device.__controls.push(control); - } - var control1 = device.__button.get(button); - control1.value = 0; - control1.dispatchEvent(new openfl.events.Event(openfl.events.Event.CHANGE)); - } -}; -openfl.ui.GameInput.__onGamepadConnect = function(gamepad) { - var device = new openfl.ui.GameInputDevice(null,null); - openfl.ui.GameInput.__devices.set(gamepad,device); - openfl.ui.GameInput.numDevices = Lambda.count(openfl.ui.GameInput.__devices); - var _g = 0; - var _g1 = openfl.ui.GameInput.__instances; - while(_g < _g1.length) { - var instance = _g1[_g]; - ++_g; - instance.dispatchEvent(new openfl.events.GameInputEvent(openfl.events.GameInputEvent.DEVICE_ADDED,null,null,device)); - } -}; -openfl.ui.GameInput.__onGamepadDisconnect = function(gamepad) { - var device = openfl.ui.GameInput.__devices.h[gamepad.__id__]; - if(device != null) { - openfl.ui.GameInput.__devices.remove(gamepad); - openfl.ui.GameInput.numDevices = Lambda.count(openfl.ui.GameInput.__devices); - var _g = 0; - var _g1 = openfl.ui.GameInput.__instances; - while(_g < _g1.length) { - var instance = _g1[_g]; - ++_g; - instance.dispatchEvent(new openfl.events.GameInputEvent(openfl.events.GameInputEvent.DEVICE_REMOVED,null,null,device)); - } - } -}; -openfl.ui.GameInput.__super__ = openfl.events.EventDispatcher; -openfl.ui.GameInput.prototype = $extend(openfl.events.EventDispatcher.prototype,{ - __class__: openfl.ui.GameInput -}); -openfl.ui.GameInputControl = function(device,id,minValue,maxValue,value) { - if(value == null) value = 0; - openfl.events.EventDispatcher.call(this); - this.device = device; - this.id = id; - this.minValue = minValue; - this.maxValue = maxValue; - this.value = value; -}; -$hxClasses["openfl.ui.GameInputControl"] = openfl.ui.GameInputControl; -openfl.ui.GameInputControl.__name__ = ["openfl","ui","GameInputControl"]; -openfl.ui.GameInputControl.__super__ = openfl.events.EventDispatcher; -openfl.ui.GameInputControl.prototype = $extend(openfl.events.EventDispatcher.prototype,{ - __class__: openfl.ui.GameInputControl -}); -openfl.ui.GameInputDevice = function(id,name) { - this.__controls = new Array(); - this.__button = new haxe.ds.IntMap(); - this.__axis = new haxe.ds.IntMap(); - this.id = id; - this.name = name; - var control; - var _g = 0; - while(_g < 6) { - var i = _g++; - control = new openfl.ui.GameInputControl(this,"AXIS_" + i,-1,1); - this.__axis.set(i,control); - this.__controls.push(control); - } - var _g1 = 0; - while(_g1 < 15) { - var i1 = _g1++; - control = new openfl.ui.GameInputControl(this,"BUTTON_" + i1,0,1); - this.__button.set(i1,control); - this.__controls.push(control); - } -}; -$hxClasses["openfl.ui.GameInputDevice"] = openfl.ui.GameInputDevice; -openfl.ui.GameInputDevice.__name__ = ["openfl","ui","GameInputDevice"]; -openfl.ui.GameInputDevice.prototype = { - getCachedSamples: function(data,append) { - if(append == null) append = false; - return 0; - } - ,getControlAt: function(i) { - if(i >= 0 && i < this.__controls.length) return this.__controls[i]; - return null; - } - ,startCachingSamples: function(numSamples,controls) { - } - ,stopCachingSamples: function() { - } - ,get_numControls: function() { - return this.__controls.length; - } - ,__class__: openfl.ui.GameInputDevice - ,__properties__: {get_numControls:"get_numControls"} -}; -openfl.ui._KeyLocation = {}; -openfl.ui._KeyLocation.KeyLocation_Impl_ = function() { }; -$hxClasses["openfl.ui._KeyLocation.KeyLocation_Impl_"] = openfl.ui._KeyLocation.KeyLocation_Impl_; -openfl.ui._KeyLocation.KeyLocation_Impl_.__name__ = ["openfl","ui","_KeyLocation","KeyLocation_Impl_"]; -openfl.ui.Keyboard = function() { }; -$hxClasses["openfl.ui.Keyboard"] = openfl.ui.Keyboard; -openfl.ui.Keyboard.__name__ = ["openfl","ui","Keyboard"]; -openfl.ui.Keyboard.capsLock = null; -openfl.ui.Keyboard.numLock = null; -openfl.ui.Keyboard.convertKeyCode = function(key) { - switch(key) { - case 8: - return 8; - case 9: - return 9; - case 13: - return 13; - case 27: - return 27; - case 32: - return 32; - case 33: - return 49; - case 34: - return 222; - case 35: - return 51; - case 36: - return 52; - case 37: - return 53; - case 38: - return 55; - case 39: - return 222; - case 40: - return 57; - case 41: - return 48; - case 42: - return 56; - case 44: - return 188; - case 45: - return 189; - case 46: - return 190; - case 47: - return 191; - case 48: - return 48; - case 49: - return 49; - case 50: - return 50; - case 51: - return 51; - case 52: - return 52; - case 53: - return 53; - case 54: - return 54; - case 55: - return 55; - case 56: - return 56; - case 57: - return 57; - case 58: - return 186; - case 59: - return 186; - case 60: - return 60; - case 61: - return 187; - case 62: - return 190; - case 63: - return 191; - case 64: - return 50; - case 91: - return 219; - case 92: - return 220; - case 93: - return 221; - case 94: - return 54; - case 95: - return 189; - case 96: - return 192; - case 97: - return 65; - case 98: - return 66; - case 99: - return 67; - case 100: - return 68; - case 101: - return 69; - case 102: - return 70; - case 103: - return 71; - case 104: - return 72; - case 105: - return 73; - case 106: - return 74; - case 107: - return 75; - case 108: - return 76; - case 109: - return 77; - case 110: - return 78; - case 111: - return 79; - case 112: - return 80; - case 113: - return 81; - case 114: - return 82; - case 115: - return 83; - case 116: - return 84; - case 117: - return 85; - case 118: - return 86; - case 119: - return 87; - case 120: - return 88; - case 121: - return 89; - case 122: - return 90; - case 127: - return 46; - case 1073741881: - return 20; - case 1073741882: - return 112; - case 1073741883: - return 113; - case 1073741884: - return 114; - case 1073741885: - return 115; - case 1073741886: - return 116; - case 1073741887: - return 117; - case 1073741888: - return 118; - case 1073741889: - return 119; - case 1073741890: - return 120; - case 1073741891: - return 121; - case 1073741892: - return 122; - case 1073741893: - return 123; - case 1073741894: - return 301; - case 1073741895: - return 145; - case 1073741896: - return 19; - case 1073741897: - return 45; - case 1073741898: - return 36; - case 1073741899: - return 33; - case 1073741901: - return 35; - case 1073741902: - return 34; - case 1073741903: - return 39; - case 1073741904: - return 37; - case 1073741905: - return 40; - case 1073741906: - return 38; - case 1073741907: - return 144; - case 1073741908: - return 111; - case 1073741909: - return 106; - case 1073741910: - return 109; - case 1073741911: - return 107; - case 1073741912: - return 108; - case 1073741913: - return 97; - case 1073741914: - return 98; - case 1073741915: - return 99; - case 1073741916: - return 100; - case 1073741917: - return 101; - case 1073741918: - return 102; - case 1073741919: - return 103; - case 1073741920: - return 104; - case 1073741921: - return 105; - case 1073741922: - return 96; - case 1073741923: - return 110; - case 1073741925: - return 302; - case 1073741928: - return 124; - case 1073741929: - return 125; - case 1073741930: - return 126; - case 1073741982: - return 13; - case 1073742044: - return 110; - case 1073742048: - return 17; - case 1073742049: - return 16; - case 1073742050: - return 18; - case 1073742051: - return 15; - case 1073742052: - return 17; - case 1073742053: - return 16; - case 1073742054: - return 18; - case 1073742055: - return 15; - default: - return key; - } -}; -openfl.ui.Keyboard.isAccessible = function() { - return false; -}; -openfl.ui.Keyboard.__getCharCode = function(key,shift) { - if(shift == null) shift = false; - if(!shift) { - switch(key) { - case 8: - return 8; - case 9: - return 9; - case 13: - return 13; - case 27: - return 27; - case 32: - return 32; - case 186: - return 59; - case 187: - return 61; - case 188: - return 44; - case 189: - return 45; - case 190: - return 46; - case 191: - return 47; - case 192: - return 96; - case 219: - return 91; - case 220: - return 92; - case 221: - return 93; - case 222: - return 39; - } - if(key >= 48 && key <= 57) return key - 48 + 48; - if(key >= 65 && key <= 90) return key - 65 + 97; - } else { - switch(key) { - case 48: - return 41; - case 49: - return 33; - case 50: - return 64; - case 51: - return 35; - case 52: - return 36; - case 53: - return 37; - case 54: - return 94; - case 55: - return 38; - case 56: - return 42; - case 57: - return 40; - case 186: - return 58; - case 187: - return 43; - case 188: - return 60; - case 189: - return 95; - case 190: - return 62; - case 191: - return 63; - case 192: - return 126; - case 219: - return 123; - case 220: - return 124; - case 221: - return 125; - case 222: - return 34; - } - if(key >= 65 && key <= 90) return key - 65 + 65; - } - if(key >= 96 && key <= 105) return key - 96 + 48; - switch(key) { - case 106: - return 42; - case 107: - return 43; - case 108: - return 44; - case 110: - return 45; - case 111: - return 46; - case 46: - return 127; - case 13: - return 13; - case 8: - return 8; - } - return 0; -}; -org.puremvc.haxe.interfaces.IController = function() { }; -$hxClasses["org.puremvc.haxe.interfaces.IController"] = org.puremvc.haxe.interfaces.IController; -org.puremvc.haxe.interfaces.IController.__name__ = ["org","puremvc","haxe","interfaces","IController"]; -org.puremvc.haxe.interfaces.IController.prototype = { - __class__: org.puremvc.haxe.interfaces.IController -}; -org.puremvc.haxe.core = {}; -org.puremvc.haxe.core.Controller = function() { - org.puremvc.haxe.core.Controller.instance = this; - this.commandMap = new haxe.ds.StringMap(); - this.initializeController(); -}; -$hxClasses["org.puremvc.haxe.core.Controller"] = org.puremvc.haxe.core.Controller; -org.puremvc.haxe.core.Controller.__name__ = ["org","puremvc","haxe","core","Controller"]; -org.puremvc.haxe.core.Controller.__interfaces__ = [org.puremvc.haxe.interfaces.IController]; -org.puremvc.haxe.core.Controller.getInstance = function() { - if(org.puremvc.haxe.core.Controller.instance == null) org.puremvc.haxe.core.Controller.instance = new org.puremvc.haxe.core.Controller(); - return org.puremvc.haxe.core.Controller.instance; -}; -org.puremvc.haxe.core.Controller.instance = null; -org.puremvc.haxe.core.Controller.prototype = { - initializeController: function() { - this.view = org.puremvc.haxe.core.View.getInstance(); - } - ,executeCommand: function(note) { - var commandClassRef; - var key = note.getName(); - commandClassRef = this.commandMap.get(key); - if(commandClassRef == null) return; - var commandInstance = Type.createInstance(commandClassRef,[]); - commandInstance.execute(note); - } - ,registerCommand: function(notificationName,commandClassRef) { - if(!this.commandMap.exists(notificationName)) this.view.registerObserver(notificationName,new org.puremvc.haxe.patterns.observer.Observer($bind(this,this.executeCommand),this)); - this.commandMap.set(notificationName,commandClassRef); - } - ,hasCommand: function(notificationName) { - return this.commandMap.exists(notificationName); - } - ,removeCommand: function(notificationName) { - if(this.hasCommand(notificationName)) { - this.view.removeObserver(notificationName,this); - this.commandMap.remove(notificationName); - } - } - ,__class__: org.puremvc.haxe.core.Controller -}; -org.puremvc.haxe.interfaces.IModel = function() { }; -$hxClasses["org.puremvc.haxe.interfaces.IModel"] = org.puremvc.haxe.interfaces.IModel; -org.puremvc.haxe.interfaces.IModel.__name__ = ["org","puremvc","haxe","interfaces","IModel"]; -org.puremvc.haxe.interfaces.IModel.prototype = { - __class__: org.puremvc.haxe.interfaces.IModel -}; -org.puremvc.haxe.core.Model = function() { - org.puremvc.haxe.core.Model.instance = this; - this.proxyMap = new haxe.ds.StringMap(); - this.initializeModel(); -}; -$hxClasses["org.puremvc.haxe.core.Model"] = org.puremvc.haxe.core.Model; -org.puremvc.haxe.core.Model.__name__ = ["org","puremvc","haxe","core","Model"]; -org.puremvc.haxe.core.Model.__interfaces__ = [org.puremvc.haxe.interfaces.IModel]; -org.puremvc.haxe.core.Model.instance = null; -org.puremvc.haxe.core.Model.getInstance = function() { - if(org.puremvc.haxe.core.Model.instance == null) org.puremvc.haxe.core.Model.instance = new org.puremvc.haxe.core.Model(); - return org.puremvc.haxe.core.Model.instance; -}; -org.puremvc.haxe.core.Model.prototype = { - initializeModel: function() { - } - ,registerProxy: function(proxy) { - var key = proxy.getProxyName(); - this.proxyMap.set(key,proxy); - proxy.onRegister(); - } - ,retrieveProxy: function(proxyName) { - return this.proxyMap.get(proxyName); - } - ,hasProxy: function(proxyName) { - return this.proxyMap.exists(proxyName); - } - ,removeProxy: function(proxyName) { - var proxy = this.proxyMap.get(proxyName); - if(proxy != null) { - this.proxyMap.remove(proxyName); - proxy.onRemove(); - } - return proxy; - } - ,__class__: org.puremvc.haxe.core.Model -}; -org.puremvc.haxe.interfaces.IView = function() { }; -$hxClasses["org.puremvc.haxe.interfaces.IView"] = org.puremvc.haxe.interfaces.IView; -org.puremvc.haxe.interfaces.IView.__name__ = ["org","puremvc","haxe","interfaces","IView"]; -org.puremvc.haxe.interfaces.IView.prototype = { - __class__: org.puremvc.haxe.interfaces.IView -}; -org.puremvc.haxe.core.View = function() { - org.puremvc.haxe.core.View.instance = this; - this.mediatorMap = new haxe.ds.StringMap(); - this.observerMap = new haxe.ds.StringMap(); - this.initializeView(); -}; -$hxClasses["org.puremvc.haxe.core.View"] = org.puremvc.haxe.core.View; -org.puremvc.haxe.core.View.__name__ = ["org","puremvc","haxe","core","View"]; -org.puremvc.haxe.core.View.__interfaces__ = [org.puremvc.haxe.interfaces.IView]; -org.puremvc.haxe.core.View.instance = null; -org.puremvc.haxe.core.View.getInstance = function() { - if(org.puremvc.haxe.core.View.instance == null) org.puremvc.haxe.core.View.instance = new org.puremvc.haxe.core.View(); - return org.puremvc.haxe.core.View.instance; -}; -org.puremvc.haxe.core.View.prototype = { - initializeView: function() { - } - ,registerObserver: function(notificationName,observer) { - if(!this.observerMap.exists(notificationName)) { - var value = new List(); - this.observerMap.set(notificationName,value); - } - this.observerMap.get(notificationName).add(observer); - } - ,notifyObservers: function(notification) { - if((function($this) { - var $r; - var key = notification.getName(); - $r = $this.observerMap.exists(key); - return $r; - }(this))) { - var observers_ref; - var key1 = notification.getName(); - observers_ref = this.observerMap.get(key1); - var observers = new List(); - var iterator_ref = observers_ref.iterator(); - while( iterator_ref.hasNext() ) { - var observer = iterator_ref.next(); - observers.add(observer); - } - var iterator = observers.iterator(); - while( iterator.hasNext() ) { - var observer1 = iterator.next(); - observer1.notifyObserver(notification); - } - } - } - ,removeObserver: function(notificationName,notifyContext) { - var observers = this.observerMap.get(notificationName); - var $it0 = observers.iterator(); - while( $it0.hasNext() ) { - var observer = $it0.next(); - if(observer.compareNotifyContext(notifyContext) == true) { - observers.remove(observer); - break; - } - } - if(observers.isEmpty()) this.observerMap.remove(notificationName); - } - ,registerMediator: function(mediator) { - if((function($this) { - var $r; - var key = mediator.getMediatorName(); - $r = $this.mediatorMap.exists(key); - return $r; - }(this))) return; - var key1 = mediator.getMediatorName(); - this.mediatorMap.set(key1,mediator); - var interests = mediator.listNotificationInterests(); - if(interests.length > 0) { - var observer = new org.puremvc.haxe.patterns.observer.Observer($bind(mediator,mediator.handleNotification),mediator); - var _g1 = 0; - var _g = interests.length; - while(_g1 < _g) { - var i = _g1++; - this.registerObserver(interests[i],observer); - } - } - mediator.onRegister(); - } - ,retrieveMediator: function(mediatorName) { - return this.mediatorMap.get(mediatorName); - } - ,removeMediator: function(mediatorName) { - var mediator = this.mediatorMap.get(mediatorName); - if(mediator != null) { - var interests = mediator.listNotificationInterests(); - var _g1 = 0; - var _g = interests.length; - while(_g1 < _g) { - var i = _g1++; - this.removeObserver(interests[i],mediator); - } - this.mediatorMap.remove(mediatorName); - mediator.onRemove(); - } - return mediator; - } - ,hasMediator: function(mediatorName) { - return this.mediatorMap.exists(mediatorName); - } - ,__class__: org.puremvc.haxe.core.View -}; -org.puremvc.haxe.interfaces.INotification = function() { }; -$hxClasses["org.puremvc.haxe.interfaces.INotification"] = org.puremvc.haxe.interfaces.INotification; -org.puremvc.haxe.interfaces.INotification.__name__ = ["org","puremvc","haxe","interfaces","INotification"]; -org.puremvc.haxe.interfaces.INotification.prototype = { - __class__: org.puremvc.haxe.interfaces.INotification -}; -org.puremvc.haxe.interfaces.IObserver = function() { }; -$hxClasses["org.puremvc.haxe.interfaces.IObserver"] = org.puremvc.haxe.interfaces.IObserver; -org.puremvc.haxe.interfaces.IObserver.__name__ = ["org","puremvc","haxe","interfaces","IObserver"]; -org.puremvc.haxe.interfaces.IObserver.prototype = { - __class__: org.puremvc.haxe.interfaces.IObserver -}; -org.puremvc.haxe.patterns.observer.Notification = function(name,body,type) { - this.name = name; - if(body != null) this.body = body; - if(type != null) this.type = type; -}; -$hxClasses["org.puremvc.haxe.patterns.observer.Notification"] = org.puremvc.haxe.patterns.observer.Notification; -org.puremvc.haxe.patterns.observer.Notification.__name__ = ["org","puremvc","haxe","patterns","observer","Notification"]; -org.puremvc.haxe.patterns.observer.Notification.__interfaces__ = [org.puremvc.haxe.interfaces.INotification]; -org.puremvc.haxe.patterns.observer.Notification.prototype = { - getName: function() { - return this.name; - } - ,setBody: function(body) { - this.body = body; - } - ,getBody: function() { - return this.body; - } - ,setType: function(type) { - this.type = type; - } - ,getType: function() { - return this.type; - } - ,toString: function() { - var msg = "Notification Name: " + this.getName(); - msg += "\nBody:" + (this.body == null?"null":this.body.toString()); - msg += "\nType:" + (this.type == null?"null":this.type); - return msg; - } - ,__class__: org.puremvc.haxe.patterns.observer.Notification -}; -org.puremvc.haxe.patterns.observer.Observer = function(notifyMethod,notifyContext) { - this.setNotifyMethod(notifyMethod); - this.setNotifyContext(notifyContext); -}; -$hxClasses["org.puremvc.haxe.patterns.observer.Observer"] = org.puremvc.haxe.patterns.observer.Observer; -org.puremvc.haxe.patterns.observer.Observer.__name__ = ["org","puremvc","haxe","patterns","observer","Observer"]; -org.puremvc.haxe.patterns.observer.Observer.__interfaces__ = [org.puremvc.haxe.interfaces.IObserver]; -org.puremvc.haxe.patterns.observer.Observer.prototype = { - setNotifyMethod: function(notifyMethod) { - this.notify = notifyMethod; - } - ,setNotifyContext: function(notifyContext) { - this.context = notifyContext; - } - ,getNotifyMethod: function() { - return this.notify; - } - ,getNotifyContext: function() { - return this.context; - } - ,notifyObserver: function(notification) { - (this.getNotifyMethod())(notification); - } - ,compareNotifyContext: function(object) { - return object == this.context; - } - ,__class__: org.puremvc.haxe.patterns.observer.Observer -}; -var pages = {}; -pages.Psvg = function() { - ca.confidant.glory.view.components.PageComponent.call(this); - this.set_alpha(1); - this.set_x(-960); -}; -$hxClasses["pages.Psvg"] = pages.Psvg; -pages.Psvg.__name__ = ["pages","Psvg"]; -pages.Psvg.__super__ = ca.confidant.glory.view.components.PageComponent; -pages.Psvg.prototype = $extend(ca.confidant.glory.view.components.PageComponent.prototype,{ - init: function() { - this.star = this.myActors.get("star1"); - this.startTimer(); - } - ,startTimer: function(i) { - if(i == null) i = 50; - this.myTimer = new haxe.Timer(i); - this.myTimer.run = $bind(this,this.onTimerTick); - } - ,onTimerTick: function() { - var _g = this.star; - _g.set_rotation(_g.get_rotation() + 20); - } - ,transitionIn: function() { - haxe.Log.trace(this.get_name() + " in!",{ fileName : "Psvg.hx", lineNumber : 31, className : "pages.Psvg", methodName : "transitionIn"}); - motion.Actuate.tween(this,1,{ x : 0},false).ease(motion.easing.Quad.get_easeIn()); - } - ,transitionOut: function() { - motion.Actuate.tween(this,1,{ alpha : 0},false).ease(motion.easing.Quad.get_easeOut()); - } - ,__class__: pages.Psvg -}); -function $iterator(o) { if( o instanceof Array ) return function() { return HxOverrides.iter(o); }; return typeof(o.iterator) == 'function' ? $bind(o,o.iterator) : o.iterator; } -var $_, $fid = 0; -function $bind(o,m) { if( m == null ) return null; if( m.__id__ == null ) m.__id__ = $fid++; var f; if( o.hx__closures__ == null ) o.hx__closures__ = {}; else f = o.hx__closures__[m.__id__]; if( f == null ) { f = function(){ return f.method.apply(f.scope, arguments); }; f.scope = o; f.method = m; o.hx__closures__[m.__id__] = f; } return f; } -if(Array.prototype.indexOf) HxOverrides.indexOf = function(a,o,i) { - return Array.prototype.indexOf.call(a,o,i); -}; -Math.NaN = Number.NaN; -Math.NEGATIVE_INFINITY = Number.NEGATIVE_INFINITY; -Math.POSITIVE_INFINITY = Number.POSITIVE_INFINITY; -$hxClasses.Math = Math; -Math.isFinite = function(i) { - return isFinite(i); -}; -Math.isNaN = function(i1) { - return isNaN(i1); -}; -String.prototype.__class__ = $hxClasses.String = String; -String.__name__ = ["String"]; -$hxClasses.Array = Array; -Array.__name__ = ["Array"]; -Date.prototype.__class__ = $hxClasses.Date = Date; -Date.__name__ = ["Date"]; -var Int = $hxClasses.Int = { __name__ : ["Int"]}; -var Dynamic = $hxClasses.Dynamic = { __name__ : ["Dynamic"]}; -var Float = $hxClasses.Float = Number; -Float.__name__ = ["Float"]; -var Bool = $hxClasses.Bool = Boolean; -Bool.__ename__ = ["Bool"]; -var Class = $hxClasses.Class = { __name__ : ["Class"]}; -var Enum = { }; -Xml.Element = "element"; -Xml.PCData = "pcdata"; -Xml.CData = "cdata"; -Xml.Comment = "comment"; -Xml.DocType = "doctype"; -Xml.ProcessingInstruction = "processingInstruction"; -Xml.Document = "document"; -var this1; -this1 = new Array(256); -lime.graphics.utils.ImageDataUtil.__alpha16 = this1; -var _g = 0; -while(_g < 256) { - var i = _g++; - lime.graphics.utils.ImageDataUtil.__alpha16[i] = i * 65536 / 255 | 0; -} -var this2; -this2 = new Array(510); -lime.graphics.utils.ImageDataUtil.__clamp = this2; -var _g1 = 0; -while(_g1 < 255) { - var i1 = _g1++; - lime.graphics.utils.ImageDataUtil.__clamp[i1] = i1; -} -var _g11 = 255; -var _g2 = 511; -while(_g11 < _g2) { - var i2 = _g11++; - lime.graphics.utils.ImageDataUtil.__clamp[i2] = 255; -} -if(window.createjs != null) createjs.Sound.alternateExtensions = ["ogg","mp3","wav"]; -openfl.display.DisplayObject.__instanceCount = 0; -openfl.display.DisplayObject.__worldRenderDirty = 0; -openfl.display.DisplayObject.__worldTransformDirty = 0; -ca.confidant.glory.ApplicationFacade.STARTUP = "startup"; -ca.confidant.glory.ApplicationFacade.MESSAGE = "message"; -ca.confidant.glory.ApplicationFacade.INIT_XML_LOAD = "initXMLLoad"; -ca.confidant.glory.ApplicationFacade.ASSETS_LOADED = "assetsLoaded"; -ca.confidant.glory.ApplicationFacade.PAGES_CONFIG_READY = "pagesConfigReady"; -ca.confidant.glory.ApplicationFacade.CALL_EXTERNAL_FUNCTION = "callExternalFunction"; -ca.confidant.glory.ApplicationFacade.CONSOLE_LOG = "consoleLog"; -ca.confidant.glory.ApplicationFacade.STAGE_RESIZE = "stageResize"; -ca.confidant.glory.ApplicationFacade.SET_ACTIVE_WIDGET = "setActiveWidget"; -ca.confidant.glory.ApplicationFacade.SET_CONTENT = "setContent"; -ca.confidant.glory.ApplicationFacade.BUILD_PAGE = "buildPage"; -ca.confidant.glory.ApplicationFacade.REMOVE_PAGE = "removePage"; -ca.confidant.glory.ApplicationFacade.BUILD_CONTROLS = "buildControls"; -ca.confidant.glory.ApplicationFacade.CHANGE_PAGE = "changePage"; -ca.confidant.glory.ApplicationFacade.HTTP_LINK = "httpLink"; -ca.confidant.glory.ApplicationFacade.TIMER_TICK = "timerTick"; -ca.confidant.glory.ApplicationFacade.TIMER_ENABLE = "timerEnable"; -ca.confidant.glory.ApplicationFacade.TIMER_DISABLE = "timerDisable"; -ca.confidant.glory.ApplicationFacade.PAN_LEFT = "panLeft"; -ca.confidant.glory.ApplicationFacade.PAN_RIGHT = "panRight"; -ca.confidant.glory.ApplicationFacade.PAN_STOP = "panStop"; -ca.confidant.glory.ApplicationFacade.TOGGLE_OPTIONS = "toggleOptions"; -ca.confidant.glory.ApplicationFacade.PLAY_SOUND = "playSound"; -ca.confidant.glory.ApplicationFacade.INIT_PAGE_SOUNDS = "initPageSounds"; -ca.confidant.glory.ApplicationFacade.DESTROY_PAGE_SOUNDS = "destroyPageSounds"; -ca.confidant.glory.ApplicationFacade.DO_TRANSITION = "doTransition"; -org.puremvc.haxe.patterns.proxy.Proxy.NAME = "Proxy"; -ca.confidant.glory.model.ControlsRegistryProxy.NAME = "ControlsRegistryProxy"; -ca.confidant.glory.model.LoaderProxy.NAME = "LoaderProxy"; -ca.confidant.glory.model.PagesConfigProxy.NAME = "pagesConfigProxy"; -ca.confidant.glory.model.StateProxy.NAME = "StateProxy"; -ca.confidant.glory.model.TickerProxy.NAME = "TickerProxy"; -org.puremvc.haxe.patterns.mediator.Mediator.NAME = "Mediator"; -ca.confidant.glory.view.ApplicationMediator.NAME = "ApplicationMediator"; -ca.confidant.glory.view.PageMediator.TRANSITION_IN = "in"; -ca.confidant.glory.view.PageMediator.TRANSITION_OUT = "out"; -ca.confidant.glory.view.constants.ControlConstants.PAGE_FORWARD = "pageForward"; -ca.confidant.glory.view.constants.ControlConstants.PAGE_BACKWARD = "pageBackward"; -ca.confidant.glory.view.constants.ControlConstants.PAGE_SKIP_TO = "pageSkipTo"; -ca.confidant.glory.view.constants.ControlConstants.TOGGLE_MENU = "toggleMenu"; -ca.confidant.glory.view.constants.ControlConstants.GET_URL = "getURL"; -ca.confidant.glory.view.constants.ControlConstants.PAN_RIGHT_CONTROL = "panRight"; -ca.confidant.glory.view.constants.ControlConstants.PAN_LEFT_CONTROL = "panLeft"; -ca.confidant.glory.view.constants.ControlConstants.TRANSITION_OUT = "transitionOut"; -ca.confidant.glory.view.constants.ControlConstants.TRANSITION_IN = "transitionIn"; -ca.confidant.glory.view.constants.ControlConstants.CONTROL = "control"; -format.gfx.GfxBytes.EOF = 0; -format.gfx.GfxBytes.SIZE = 1; -format.gfx.GfxBytes.BEGIN_FILL = 10; -format.gfx.GfxBytes.GRADIENT_FILL = 11; -format.gfx.GfxBytes.END_FILL = 12; -format.gfx.GfxBytes.LINE_STYLE = 20; -format.gfx.GfxBytes.END_LINE_STYLE = 21; -format.gfx.GfxBytes.MOVE = 30; -format.gfx.GfxBytes.LINE = 31; -format.gfx.GfxBytes.CURVE = 32; -format.gfx.GfxBytes.base64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; -format.gfx.GfxBytes.scaleModes = [openfl.display.LineScaleMode.NORMAL,openfl.display.LineScaleMode.NONE,openfl.display.LineScaleMode.VERTICAL,openfl.display.LineScaleMode.HORIZONTAL]; -format.gfx.GfxBytes.capsStyles = [openfl.display.CapsStyle.ROUND,openfl.display.CapsStyle.NONE,openfl.display.CapsStyle.SQUARE]; -format.gfx.GfxBytes.jointStyles = [openfl.display.JointStyle.ROUND,openfl.display.JointStyle.MITER,openfl.display.JointStyle.BEVEL]; -format.gfx.GfxBytes.spreadMethods = [openfl.display.SpreadMethod.PAD,openfl.display.SpreadMethod.REPEAT,openfl.display.SpreadMethod.REFLECT]; -format.gfx.GfxBytes.interpolationMethods = [openfl.display.InterpolationMethod.RGB,openfl.display.InterpolationMethod.LINEAR_RGB]; -format.svg.PathParser.MOVE = 77; -format.svg.PathParser.MOVER = 109; -format.svg.PathParser.LINE = 76; -format.svg.PathParser.LINER = 108; -format.svg.PathParser.HLINE = 72; -format.svg.PathParser.HLINER = 104; -format.svg.PathParser.VLINE = 86; -format.svg.PathParser.VLINER = 118; -format.svg.PathParser.CUBIC = 67; -format.svg.PathParser.CUBICR = 99; -format.svg.PathParser.SCUBIC = 83; -format.svg.PathParser.SCUBICR = 115; -format.svg.PathParser.QUAD = 81; -format.svg.PathParser.QUADR = 113; -format.svg.PathParser.SQUAD = 84; -format.svg.PathParser.SQUADR = 116; -format.svg.PathParser.ARC = 65; -format.svg.PathParser.ARCR = 97; -format.svg.PathParser.CLOSE = 90; -format.svg.PathParser.CLOSER = 122; -format.svg.PathParser.UNKNOWN = -1; -format.svg.PathParser.SEPARATOR = -2; -format.svg.PathParser.FLOAT = -3; -format.svg.PathParser.FLOAT_SIGN = -4; -format.svg.PathParser.FLOAT_DOT = -5; -format.svg.PathParser.FLOAT_EXP = -6; -format.svg.PathSegment.MOVE = 1; -format.svg.PathSegment.DRAW = 2; -format.svg.PathSegment.CURVE = 3; -format.svg.PathSegment.CUBIC = 4; -format.svg.PathSegment.ARC = 5; -format.svg.SVGData.SIN45 = 0.70710678118654752440084436210485; -format.svg.SVGData.TAN22 = 0.4142135623730950488016887242097; -format.svg.SVGData.mStyleSplit = new EReg(";","g"); -format.svg.SVGData.mStyleValue = new EReg("\\s*(.*)\\s*:\\s*(.*)\\s*",""); -format.svg.SVGData.mTranslateMatch = new EReg("translate\\((.*)[, ](.*)\\)",""); -format.svg.SVGData.mScaleMatch = new EReg("scale\\((.*)\\)",""); -format.svg.SVGData.mMatrixMatch = new EReg("matrix\\((.*)[, ](.*)[, ](.*)[, ](.*)[, ](.*)[, ](.*)\\)",""); -format.svg.SVGData.mURLMatch = new EReg("url\\(#(.*)\\)",""); -format.svg.SVGData.defaultFill = format.svg.FillType.FillSolid(0); -haxe.ds.ObjectMap.count = 0; -haxe.xml.Parser.escapes = (function($this) { - var $r; - var h = new haxe.ds.StringMap(); - h.set("lt","<"); - h.set("gt",">"); - h.set("amp","&"); - h.set("quot","\""); - h.set("apos","'"); - h.set("nbsp",String.fromCharCode(160)); - $r = h; - return $r; -}(this)); -js.Boot.__toStr = {}.toString; -lime.Assets.cache = new lime.AssetCache(); -lime.Assets.libraries = new haxe.ds.StringMap(); -lime.Assets.initialized = false; -lime._Assets.AssetType_Impl_.BINARY = "BINARY"; -lime._Assets.AssetType_Impl_.FONT = "FONT"; -lime._Assets.AssetType_Impl_.IMAGE = "IMAGE"; -lime._Assets.AssetType_Impl_.MUSIC = "MUSIC"; -lime._Assets.AssetType_Impl_.SOUND = "SOUND"; -lime._Assets.AssetType_Impl_.TEMPLATE = "TEMPLATE"; -lime._Assets.AssetType_Impl_.TEXT = "TEXT"; -lime.app.Preloader.images = new haxe.ds.StringMap(); -lime.app.Preloader.loaders = new haxe.ds.StringMap(); -lime.audio.openal.AL.NONE = 0; -lime.audio.openal.AL.FALSE = 0; -lime.audio.openal.AL.TRUE = 1; -lime.audio.openal.AL.SOURCE_RELATIVE = 514; -lime.audio.openal.AL.CONE_INNER_ANGLE = 4097; -lime.audio.openal.AL.CONE_OUTER_ANGLE = 4098; -lime.audio.openal.AL.PITCH = 4099; -lime.audio.openal.AL.POSITION = 4100; -lime.audio.openal.AL.DIRECTION = 4101; -lime.audio.openal.AL.VELOCITY = 4102; -lime.audio.openal.AL.LOOPING = 4103; -lime.audio.openal.AL.BUFFER = 4105; -lime.audio.openal.AL.GAIN = 4106; -lime.audio.openal.AL.MIN_GAIN = 4109; -lime.audio.openal.AL.MAX_GAIN = 4110; -lime.audio.openal.AL.ORIENTATION = 4111; -lime.audio.openal.AL.SOURCE_STATE = 4112; -lime.audio.openal.AL.INITIAL = 4113; -lime.audio.openal.AL.PLAYING = 4114; -lime.audio.openal.AL.PAUSED = 4115; -lime.audio.openal.AL.STOPPED = 4116; -lime.audio.openal.AL.BUFFERS_QUEUED = 4117; -lime.audio.openal.AL.BUFFERS_PROCESSED = 4118; -lime.audio.openal.AL.REFERENCE_DISTANCE = 4128; -lime.audio.openal.AL.ROLLOFF_FACTOR = 4129; -lime.audio.openal.AL.CONE_OUTER_GAIN = 4130; -lime.audio.openal.AL.MAX_DISTANCE = 4131; -lime.audio.openal.AL.SEC_OFFSET = 4132; -lime.audio.openal.AL.SAMPLE_OFFSET = 4133; -lime.audio.openal.AL.BYTE_OFFSET = 4134; -lime.audio.openal.AL.SOURCE_TYPE = 4135; -lime.audio.openal.AL.STATIC = 4136; -lime.audio.openal.AL.STREAMING = 4137; -lime.audio.openal.AL.UNDETERMINED = 4144; -lime.audio.openal.AL.FORMAT_MONO8 = 4352; -lime.audio.openal.AL.FORMAT_MONO16 = 4353; -lime.audio.openal.AL.FORMAT_STEREO8 = 4354; -lime.audio.openal.AL.FORMAT_STEREO16 = 4355; -lime.audio.openal.AL.FREQUENCY = 8193; -lime.audio.openal.AL.BITS = 8194; -lime.audio.openal.AL.CHANNELS = 8195; -lime.audio.openal.AL.SIZE = 8196; -lime.audio.openal.AL.NO_ERROR = 0; -lime.audio.openal.AL.INVALID_NAME = 40961; -lime.audio.openal.AL.INVALID_ENUM = 40962; -lime.audio.openal.AL.INVALID_VALUE = 40963; -lime.audio.openal.AL.INVALID_OPERATION = 40964; -lime.audio.openal.AL.OUT_OF_MEMORY = 40965; -lime.audio.openal.AL.VENDOR = 45057; -lime.audio.openal.AL.VERSION = 45058; -lime.audio.openal.AL.RENDERER = 45059; -lime.audio.openal.AL.EXTENSIONS = 45060; -lime.audio.openal.AL.DOPPLER_FACTOR = 49152; -lime.audio.openal.AL.SPEED_OF_SOUND = 49155; -lime.audio.openal.AL.DOPPLER_VELOCITY = 49153; -lime.audio.openal.AL.DISTANCE_MODEL = 53248; -lime.audio.openal.AL.INVERSE_DISTANCE = 53249; -lime.audio.openal.AL.INVERSE_DISTANCE_CLAMPED = 53250; -lime.audio.openal.AL.LINEAR_DISTANCE = 53251; -lime.audio.openal.AL.LINEAR_DISTANCE_CLAMPED = 53252; -lime.audio.openal.AL.EXPONENT_DISTANCE = 53253; -lime.audio.openal.AL.EXPONENT_DISTANCE_CLAMPED = 53254; -lime.audio.openal.ALC.FALSE = 0; -lime.audio.openal.ALC.TRUE = 1; -lime.audio.openal.ALC.FREQUENCY = 4103; -lime.audio.openal.ALC.REFRESH = 4104; -lime.audio.openal.ALC.SYNC = 4105; -lime.audio.openal.ALC.MONO_SOURCES = 4112; -lime.audio.openal.ALC.STEREO_SOURCES = 4113; -lime.audio.openal.ALC.NO_ERROR = 0; -lime.audio.openal.ALC.INVALID_DEVICE = 40961; -lime.audio.openal.ALC.INVALID_CONTEXT = 40962; -lime.audio.openal.ALC.INVALID_ENUM = 40963; -lime.audio.openal.ALC.INVALID_VALUE = 40964; -lime.audio.openal.ALC.OUT_OF_MEMORY = 40965; -lime.audio.openal.ALC.ATTRIBUTES_SIZE = 4098; -lime.audio.openal.ALC.ALL_ATTRIBUTES = 4099; -lime.audio.openal.ALC.DEFAULT_DEVICE_SPECIFIER = 4100; -lime.audio.openal.ALC.DEVICE_SPECIFIER = 4101; -lime.audio.openal.ALC.EXTENSIONS = 4102; -lime.audio.openal.ALC.ENUMERATE_ALL_EXT = 1; -lime.audio.openal.ALC.DEFAULT_ALL_DEVICES_SPECIFIER = 4114; -lime.audio.openal.ALC.ALL_DEVICES_SPECIFIER = 4115; -lime.graphics.Image.__base64Chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; -lime.graphics._PixelFormat.PixelFormat_Impl_.RGBA = 0; -lime.graphics._PixelFormat.PixelFormat_Impl_.ARGB = 1; -lime.graphics._PixelFormat.PixelFormat_Impl_.BGRA = 2; -lime.graphics.cairo._CairoAntialias.CairoAntialias_Impl_.DEFAULT = 0; -lime.graphics.cairo._CairoAntialias.CairoAntialias_Impl_.NONE = 1; -lime.graphics.cairo._CairoAntialias.CairoAntialias_Impl_.GRAY = 2; -lime.graphics.cairo._CairoAntialias.CairoAntialias_Impl_.SUBPIXEL = 3; -lime.graphics.cairo._CairoAntialias.CairoAntialias_Impl_.FAST = 4; -lime.graphics.cairo._CairoAntialias.CairoAntialias_Impl_.GOOD = 5; -lime.graphics.cairo._CairoAntialias.CairoAntialias_Impl_.BEST = 6; -lime.graphics.cairo._CairoContent.CairoContent_Impl_.COLOR = 4096; -lime.graphics.cairo._CairoContent.CairoContent_Impl_.ALPHA = 8192; -lime.graphics.cairo._CairoContent.CairoContent_Impl_.COLOR_ALPHA = 12288; -lime.graphics.cairo._CairoExtend.CairoExtend_Impl_.NONE = 0; -lime.graphics.cairo._CairoExtend.CairoExtend_Impl_.REPEAT = 1; -lime.graphics.cairo._CairoExtend.CairoExtend_Impl_.REFLECT = 2; -lime.graphics.cairo._CairoExtend.CairoExtend_Impl_.PAD = 3; -lime.graphics.cairo._CairoFillRule.CairoFillRule_Impl_.WINDING = 0; -lime.graphics.cairo._CairoFillRule.CairoFillRule_Impl_.EVEN_ODD = 1; -lime.graphics.cairo._CairoFilter.CairoFilter_Impl_.FAST = 0; -lime.graphics.cairo._CairoFilter.CairoFilter_Impl_.GOOD = 1; -lime.graphics.cairo._CairoFilter.CairoFilter_Impl_.BEST = 2; -lime.graphics.cairo._CairoFilter.CairoFilter_Impl_.NEAREST = 3; -lime.graphics.cairo._CairoFilter.CairoFilter_Impl_.BILINEAR = 4; -lime.graphics.cairo._CairoFilter.CairoFilter_Impl_.GAUSSIAN = 5; -lime.graphics.cairo._CairoFormat.CairoFormat_Impl_.INVALID = -1; -lime.graphics.cairo._CairoFormat.CairoFormat_Impl_.ARGB32 = 0; -lime.graphics.cairo._CairoFormat.CairoFormat_Impl_.RGB24 = 1; -lime.graphics.cairo._CairoFormat.CairoFormat_Impl_.A8 = 2; -lime.graphics.cairo._CairoFormat.CairoFormat_Impl_.A1 = 3; -lime.graphics.cairo._CairoFormat.CairoFormat_Impl_.RGB16_565 = 4; -lime.graphics.cairo._CairoFormat.CairoFormat_Impl_.RGB30 = 5; -lime.graphics.cairo._CairoHintMetrics.CairoHintMetrics_Impl_.DEFAULT = 0; -lime.graphics.cairo._CairoHintMetrics.CairoHintMetrics_Impl_.OFF = 1; -lime.graphics.cairo._CairoHintMetrics.CairoHintMetrics_Impl_.ON = 2; -lime.graphics.cairo._CairoHintStyle.CairoHintStyle_Impl_.DEFAULT = 0; -lime.graphics.cairo._CairoHintStyle.CairoHintStyle_Impl_.NONE = 1; -lime.graphics.cairo._CairoHintStyle.CairoHintStyle_Impl_.SLIGHT = 2; -lime.graphics.cairo._CairoHintStyle.CairoHintStyle_Impl_.MEDIUM = 3; -lime.graphics.cairo._CairoHintStyle.CairoHintStyle_Impl_.FULL = 4; -lime.graphics.cairo._CairoLineCap.CairoLineCap_Impl_.BUTT = 0; -lime.graphics.cairo._CairoLineCap.CairoLineCap_Impl_.ROUND = 1; -lime.graphics.cairo._CairoLineCap.CairoLineCap_Impl_.SQUARE = 2; -lime.graphics.cairo._CairoLineJoin.CairoLineJoin_Impl_.MITER = 0; -lime.graphics.cairo._CairoLineJoin.CairoLineJoin_Impl_.ROUND = 1; -lime.graphics.cairo._CairoLineJoin.CairoLineJoin_Impl_.BEVEL = 2; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.CLEAR = 0; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.SOURCE = 1; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.OVER = 2; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.IN = 3; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.OUT = 4; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.ATOP = 5; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.DEST = 6; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.DEST_OVER = 7; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.DEST_IN = 8; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.DEST_OUT = 9; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.DEST_ATOP = 10; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.XOR = 11; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.ADD = 12; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.SATURATE = 13; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.MULTIPLY = 14; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.SCREEN = 15; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.OVERLAY = 16; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.DARKEN = 17; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.LIGHTEN = 18; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.COLOR_DODGE = 19; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.COLOR_BURN = 20; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.HARD_LIGHT = 21; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.SOFT_LIGHT = 22; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.DIFFERENCE = 23; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.EXCLUSION = 24; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.HSL_HUE = 25; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.HSL_SATURATION = 26; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.HSL_COLOR = 27; -lime.graphics.cairo._CairoOperator.CairoOperator_Impl_.HSL_LUMINOSITY = 28; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.SUCCESS = 0; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.NO_MEMORY = 1; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.INVALID_RESTORE = 2; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.INVALID_POP_GROUP = 3; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.NO_CURRENT_POINT = 4; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.INVALID_MATRIX = 5; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.INVALID_STATUS = 6; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.NULL_POINTER = 7; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.INVALID_STRING = 8; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.INVALID_PATH_DATA = 9; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.READ_ERROR = 10; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.WRITE_ERROR = 11; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.SURFACE_FINISHED = 12; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.SURFACE_TYPE_MISMATCH = 13; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.PATTERN_TYPE_MISMATCH = 14; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.INVALID_CONTENT = 15; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.INVALID_FORMAT = 16; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.INVALID_VISUAL = 17; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.FILE_NOT_FOUND = 18; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.INVALID_DASH = 19; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.INVALID_DSC_COMMENT = 20; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.INVALID_INDEX = 21; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.CLIP_NOT_REPRESENTABLE = 22; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.TEMP_FILE_ERROR = 23; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.INVALID_STRIDE = 24; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.FONT_TYPE_MISMATCH = 25; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.USER_FONT_IMMUTABLE = 26; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.USER_FONT_ERROR = 27; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.NEGATIVE_COUNT = 28; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.INVALID_CLUSTERS = 29; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.INVALID_SLANT = 30; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.INVALID_WEIGHT = 31; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.INVALID_SIZE = 32; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.USER_FONT_NOT_IMPLEMENTED = 33; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.DEVICE_TYPE_MISMATCH = 34; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.DEVICE_ERROR = 35; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.INVALID_MESH_CONSTRUCTION = 36; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.DEVICE_FINISHED = 37; -lime.graphics.cairo._CairoStatus.CairoStatus_Impl_.JBIG2_GLOBAL_MISSING = 38; -lime.graphics.cairo._CairoSubpixelOrder.CairoSubpixelOrder_Impl_.DEFAULT = 0; -lime.graphics.cairo._CairoSubpixelOrder.CairoSubpixelOrder_Impl_.RGB = 1; -lime.graphics.cairo._CairoSubpixelOrder.CairoSubpixelOrder_Impl_.BGR = 2; -lime.graphics.cairo._CairoSubpixelOrder.CairoSubpixelOrder_Impl_.VRGB = 3; -lime.graphics.cairo._CairoSubpixelOrder.CairoSubpixelOrder_Impl_.VBGR = 4; -lime.graphics.opengl.GL.DEPTH_BUFFER_BIT = 256; -lime.graphics.opengl.GL.STENCIL_BUFFER_BIT = 1024; -lime.graphics.opengl.GL.COLOR_BUFFER_BIT = 16384; -lime.graphics.opengl.GL.POINTS = 0; -lime.graphics.opengl.GL.LINES = 1; -lime.graphics.opengl.GL.LINE_LOOP = 2; -lime.graphics.opengl.GL.LINE_STRIP = 3; -lime.graphics.opengl.GL.TRIANGLES = 4; -lime.graphics.opengl.GL.TRIANGLE_STRIP = 5; -lime.graphics.opengl.GL.TRIANGLE_FAN = 6; -lime.graphics.opengl.GL.ZERO = 0; -lime.graphics.opengl.GL.ONE = 1; -lime.graphics.opengl.GL.SRC_COLOR = 768; -lime.graphics.opengl.GL.ONE_MINUS_SRC_COLOR = 769; -lime.graphics.opengl.GL.SRC_ALPHA = 770; -lime.graphics.opengl.GL.ONE_MINUS_SRC_ALPHA = 771; -lime.graphics.opengl.GL.DST_ALPHA = 772; -lime.graphics.opengl.GL.ONE_MINUS_DST_ALPHA = 773; -lime.graphics.opengl.GL.DST_COLOR = 774; -lime.graphics.opengl.GL.ONE_MINUS_DST_COLOR = 775; -lime.graphics.opengl.GL.SRC_ALPHA_SATURATE = 776; -lime.graphics.opengl.GL.FUNC_ADD = 32774; -lime.graphics.opengl.GL.BLEND_EQUATION = 32777; -lime.graphics.opengl.GL.BLEND_EQUATION_RGB = 32777; -lime.graphics.opengl.GL.BLEND_EQUATION_ALPHA = 34877; -lime.graphics.opengl.GL.FUNC_SUBTRACT = 32778; -lime.graphics.opengl.GL.FUNC_REVERSE_SUBTRACT = 32779; -lime.graphics.opengl.GL.BLEND_DST_RGB = 32968; -lime.graphics.opengl.GL.BLEND_SRC_RGB = 32969; -lime.graphics.opengl.GL.BLEND_DST_ALPHA = 32970; -lime.graphics.opengl.GL.BLEND_SRC_ALPHA = 32971; -lime.graphics.opengl.GL.CONSTANT_COLOR = 32769; -lime.graphics.opengl.GL.ONE_MINUS_CONSTANT_COLOR = 32770; -lime.graphics.opengl.GL.CONSTANT_ALPHA = 32771; -lime.graphics.opengl.GL.ONE_MINUS_CONSTANT_ALPHA = 32772; -lime.graphics.opengl.GL.BLEND_COLOR = 32773; -lime.graphics.opengl.GL.ARRAY_BUFFER = 34962; -lime.graphics.opengl.GL.ELEMENT_ARRAY_BUFFER = 34963; -lime.graphics.opengl.GL.ARRAY_BUFFER_BINDING = 34964; -lime.graphics.opengl.GL.ELEMENT_ARRAY_BUFFER_BINDING = 34965; -lime.graphics.opengl.GL.STREAM_DRAW = 35040; -lime.graphics.opengl.GL.STATIC_DRAW = 35044; -lime.graphics.opengl.GL.DYNAMIC_DRAW = 35048; -lime.graphics.opengl.GL.BUFFER_SIZE = 34660; -lime.graphics.opengl.GL.BUFFER_USAGE = 34661; -lime.graphics.opengl.GL.CURRENT_VERTEX_ATTRIB = 34342; -lime.graphics.opengl.GL.FRONT = 1028; -lime.graphics.opengl.GL.BACK = 1029; -lime.graphics.opengl.GL.FRONT_AND_BACK = 1032; -lime.graphics.opengl.GL.CULL_FACE = 2884; -lime.graphics.opengl.GL.BLEND = 3042; -lime.graphics.opengl.GL.DITHER = 3024; -lime.graphics.opengl.GL.STENCIL_TEST = 2960; -lime.graphics.opengl.GL.DEPTH_TEST = 2929; -lime.graphics.opengl.GL.SCISSOR_TEST = 3089; -lime.graphics.opengl.GL.POLYGON_OFFSET_FILL = 32823; -lime.graphics.opengl.GL.SAMPLE_ALPHA_TO_COVERAGE = 32926; -lime.graphics.opengl.GL.SAMPLE_COVERAGE = 32928; -lime.graphics.opengl.GL.NO_ERROR = 0; -lime.graphics.opengl.GL.INVALID_ENUM = 1280; -lime.graphics.opengl.GL.INVALID_VALUE = 1281; -lime.graphics.opengl.GL.INVALID_OPERATION = 1282; -lime.graphics.opengl.GL.OUT_OF_MEMORY = 1285; -lime.graphics.opengl.GL.CW = 2304; -lime.graphics.opengl.GL.CCW = 2305; -lime.graphics.opengl.GL.LINE_WIDTH = 2849; -lime.graphics.opengl.GL.ALIASED_POINT_SIZE_RANGE = 33901; -lime.graphics.opengl.GL.ALIASED_LINE_WIDTH_RANGE = 33902; -lime.graphics.opengl.GL.CULL_FACE_MODE = 2885; -lime.graphics.opengl.GL.FRONT_FACE = 2886; -lime.graphics.opengl.GL.DEPTH_RANGE = 2928; -lime.graphics.opengl.GL.DEPTH_WRITEMASK = 2930; -lime.graphics.opengl.GL.DEPTH_CLEAR_VALUE = 2931; -lime.graphics.opengl.GL.DEPTH_FUNC = 2932; -lime.graphics.opengl.GL.STENCIL_CLEAR_VALUE = 2961; -lime.graphics.opengl.GL.STENCIL_FUNC = 2962; -lime.graphics.opengl.GL.STENCIL_FAIL = 2964; -lime.graphics.opengl.GL.STENCIL_PASS_DEPTH_FAIL = 2965; -lime.graphics.opengl.GL.STENCIL_PASS_DEPTH_PASS = 2966; -lime.graphics.opengl.GL.STENCIL_REF = 2967; -lime.graphics.opengl.GL.STENCIL_VALUE_MASK = 2963; -lime.graphics.opengl.GL.STENCIL_WRITEMASK = 2968; -lime.graphics.opengl.GL.STENCIL_BACK_FUNC = 34816; -lime.graphics.opengl.GL.STENCIL_BACK_FAIL = 34817; -lime.graphics.opengl.GL.STENCIL_BACK_PASS_DEPTH_FAIL = 34818; -lime.graphics.opengl.GL.STENCIL_BACK_PASS_DEPTH_PASS = 34819; -lime.graphics.opengl.GL.STENCIL_BACK_REF = 36003; -lime.graphics.opengl.GL.STENCIL_BACK_VALUE_MASK = 36004; -lime.graphics.opengl.GL.STENCIL_BACK_WRITEMASK = 36005; -lime.graphics.opengl.GL.VIEWPORT = 2978; -lime.graphics.opengl.GL.SCISSOR_BOX = 3088; -lime.graphics.opengl.GL.COLOR_CLEAR_VALUE = 3106; -lime.graphics.opengl.GL.COLOR_WRITEMASK = 3107; -lime.graphics.opengl.GL.UNPACK_ALIGNMENT = 3317; -lime.graphics.opengl.GL.PACK_ALIGNMENT = 3333; -lime.graphics.opengl.GL.MAX_TEXTURE_SIZE = 3379; -lime.graphics.opengl.GL.MAX_VIEWPORT_DIMS = 3386; -lime.graphics.opengl.GL.SUBPIXEL_BITS = 3408; -lime.graphics.opengl.GL.RED_BITS = 3410; -lime.graphics.opengl.GL.GREEN_BITS = 3411; -lime.graphics.opengl.GL.BLUE_BITS = 3412; -lime.graphics.opengl.GL.ALPHA_BITS = 3413; -lime.graphics.opengl.GL.DEPTH_BITS = 3414; -lime.graphics.opengl.GL.STENCIL_BITS = 3415; -lime.graphics.opengl.GL.POLYGON_OFFSET_UNITS = 10752; -lime.graphics.opengl.GL.POLYGON_OFFSET_FACTOR = 32824; -lime.graphics.opengl.GL.TEXTURE_BINDING_2D = 32873; -lime.graphics.opengl.GL.SAMPLE_BUFFERS = 32936; -lime.graphics.opengl.GL.SAMPLES = 32937; -lime.graphics.opengl.GL.SAMPLE_COVERAGE_VALUE = 32938; -lime.graphics.opengl.GL.SAMPLE_COVERAGE_INVERT = 32939; -lime.graphics.opengl.GL.COMPRESSED_TEXTURE_FORMATS = 34467; -lime.graphics.opengl.GL.DONT_CARE = 4352; -lime.graphics.opengl.GL.FASTEST = 4353; -lime.graphics.opengl.GL.NICEST = 4354; -lime.graphics.opengl.GL.GENERATE_MIPMAP_HINT = 33170; -lime.graphics.opengl.GL.BYTE = 5120; -lime.graphics.opengl.GL.UNSIGNED_BYTE = 5121; -lime.graphics.opengl.GL.SHORT = 5122; -lime.graphics.opengl.GL.UNSIGNED_SHORT = 5123; -lime.graphics.opengl.GL.INT = 5124; -lime.graphics.opengl.GL.UNSIGNED_INT = 5125; -lime.graphics.opengl.GL.FLOAT = 5126; -lime.graphics.opengl.GL.DEPTH_COMPONENT = 6402; -lime.graphics.opengl.GL.ALPHA = 6406; -lime.graphics.opengl.GL.RGB = 6407; -lime.graphics.opengl.GL.RGBA = 6408; -lime.graphics.opengl.GL.LUMINANCE = 6409; -lime.graphics.opengl.GL.LUMINANCE_ALPHA = 6410; -lime.graphics.opengl.GL.UNSIGNED_SHORT_4_4_4_4 = 32819; -lime.graphics.opengl.GL.UNSIGNED_SHORT_5_5_5_1 = 32820; -lime.graphics.opengl.GL.UNSIGNED_SHORT_5_6_5 = 33635; -lime.graphics.opengl.GL.FRAGMENT_SHADER = 35632; -lime.graphics.opengl.GL.VERTEX_SHADER = 35633; -lime.graphics.opengl.GL.MAX_VERTEX_ATTRIBS = 34921; -lime.graphics.opengl.GL.MAX_VERTEX_UNIFORM_VECTORS = 36347; -lime.graphics.opengl.GL.MAX_VARYING_VECTORS = 36348; -lime.graphics.opengl.GL.MAX_COMBINED_TEXTURE_IMAGE_UNITS = 35661; -lime.graphics.opengl.GL.MAX_VERTEX_TEXTURE_IMAGE_UNITS = 35660; -lime.graphics.opengl.GL.MAX_TEXTURE_IMAGE_UNITS = 34930; -lime.graphics.opengl.GL.MAX_FRAGMENT_UNIFORM_VECTORS = 36349; -lime.graphics.opengl.GL.SHADER_TYPE = 35663; -lime.graphics.opengl.GL.DELETE_STATUS = 35712; -lime.graphics.opengl.GL.LINK_STATUS = 35714; -lime.graphics.opengl.GL.VALIDATE_STATUS = 35715; -lime.graphics.opengl.GL.ATTACHED_SHADERS = 35717; -lime.graphics.opengl.GL.ACTIVE_UNIFORMS = 35718; -lime.graphics.opengl.GL.ACTIVE_ATTRIBUTES = 35721; -lime.graphics.opengl.GL.SHADING_LANGUAGE_VERSION = 35724; -lime.graphics.opengl.GL.CURRENT_PROGRAM = 35725; -lime.graphics.opengl.GL.NEVER = 512; -lime.graphics.opengl.GL.LESS = 513; -lime.graphics.opengl.GL.EQUAL = 514; -lime.graphics.opengl.GL.LEQUAL = 515; -lime.graphics.opengl.GL.GREATER = 516; -lime.graphics.opengl.GL.NOTEQUAL = 517; -lime.graphics.opengl.GL.GEQUAL = 518; -lime.graphics.opengl.GL.ALWAYS = 519; -lime.graphics.opengl.GL.KEEP = 7680; -lime.graphics.opengl.GL.REPLACE = 7681; -lime.graphics.opengl.GL.INCR = 7682; -lime.graphics.opengl.GL.DECR = 7683; -lime.graphics.opengl.GL.INVERT = 5386; -lime.graphics.opengl.GL.INCR_WRAP = 34055; -lime.graphics.opengl.GL.DECR_WRAP = 34056; -lime.graphics.opengl.GL.VENDOR = 7936; -lime.graphics.opengl.GL.RENDERER = 7937; -lime.graphics.opengl.GL.VERSION = 7938; -lime.graphics.opengl.GL.NEAREST = 9728; -lime.graphics.opengl.GL.LINEAR = 9729; -lime.graphics.opengl.GL.NEAREST_MIPMAP_NEAREST = 9984; -lime.graphics.opengl.GL.LINEAR_MIPMAP_NEAREST = 9985; -lime.graphics.opengl.GL.NEAREST_MIPMAP_LINEAR = 9986; -lime.graphics.opengl.GL.LINEAR_MIPMAP_LINEAR = 9987; -lime.graphics.opengl.GL.TEXTURE_MAG_FILTER = 10240; -lime.graphics.opengl.GL.TEXTURE_MIN_FILTER = 10241; -lime.graphics.opengl.GL.TEXTURE_WRAP_S = 10242; -lime.graphics.opengl.GL.TEXTURE_WRAP_T = 10243; -lime.graphics.opengl.GL.TEXTURE_2D = 3553; -lime.graphics.opengl.GL.TEXTURE = 5890; -lime.graphics.opengl.GL.TEXTURE_CUBE_MAP = 34067; -lime.graphics.opengl.GL.TEXTURE_BINDING_CUBE_MAP = 34068; -lime.graphics.opengl.GL.TEXTURE_CUBE_MAP_POSITIVE_X = 34069; -lime.graphics.opengl.GL.TEXTURE_CUBE_MAP_NEGATIVE_X = 34070; -lime.graphics.opengl.GL.TEXTURE_CUBE_MAP_POSITIVE_Y = 34071; -lime.graphics.opengl.GL.TEXTURE_CUBE_MAP_NEGATIVE_Y = 34072; -lime.graphics.opengl.GL.TEXTURE_CUBE_MAP_POSITIVE_Z = 34073; -lime.graphics.opengl.GL.TEXTURE_CUBE_MAP_NEGATIVE_Z = 34074; -lime.graphics.opengl.GL.MAX_CUBE_MAP_TEXTURE_SIZE = 34076; -lime.graphics.opengl.GL.TEXTURE0 = 33984; -lime.graphics.opengl.GL.TEXTURE1 = 33985; -lime.graphics.opengl.GL.TEXTURE2 = 33986; -lime.graphics.opengl.GL.TEXTURE3 = 33987; -lime.graphics.opengl.GL.TEXTURE4 = 33988; -lime.graphics.opengl.GL.TEXTURE5 = 33989; -lime.graphics.opengl.GL.TEXTURE6 = 33990; -lime.graphics.opengl.GL.TEXTURE7 = 33991; -lime.graphics.opengl.GL.TEXTURE8 = 33992; -lime.graphics.opengl.GL.TEXTURE9 = 33993; -lime.graphics.opengl.GL.TEXTURE10 = 33994; -lime.graphics.opengl.GL.TEXTURE11 = 33995; -lime.graphics.opengl.GL.TEXTURE12 = 33996; -lime.graphics.opengl.GL.TEXTURE13 = 33997; -lime.graphics.opengl.GL.TEXTURE14 = 33998; -lime.graphics.opengl.GL.TEXTURE15 = 33999; -lime.graphics.opengl.GL.TEXTURE16 = 34000; -lime.graphics.opengl.GL.TEXTURE17 = 34001; -lime.graphics.opengl.GL.TEXTURE18 = 34002; -lime.graphics.opengl.GL.TEXTURE19 = 34003; -lime.graphics.opengl.GL.TEXTURE20 = 34004; -lime.graphics.opengl.GL.TEXTURE21 = 34005; -lime.graphics.opengl.GL.TEXTURE22 = 34006; -lime.graphics.opengl.GL.TEXTURE23 = 34007; -lime.graphics.opengl.GL.TEXTURE24 = 34008; -lime.graphics.opengl.GL.TEXTURE25 = 34009; -lime.graphics.opengl.GL.TEXTURE26 = 34010; -lime.graphics.opengl.GL.TEXTURE27 = 34011; -lime.graphics.opengl.GL.TEXTURE28 = 34012; -lime.graphics.opengl.GL.TEXTURE29 = 34013; -lime.graphics.opengl.GL.TEXTURE30 = 34014; -lime.graphics.opengl.GL.TEXTURE31 = 34015; -lime.graphics.opengl.GL.ACTIVE_TEXTURE = 34016; -lime.graphics.opengl.GL.REPEAT = 10497; -lime.graphics.opengl.GL.CLAMP_TO_EDGE = 33071; -lime.graphics.opengl.GL.MIRRORED_REPEAT = 33648; -lime.graphics.opengl.GL.FLOAT_VEC2 = 35664; -lime.graphics.opengl.GL.FLOAT_VEC3 = 35665; -lime.graphics.opengl.GL.FLOAT_VEC4 = 35666; -lime.graphics.opengl.GL.INT_VEC2 = 35667; -lime.graphics.opengl.GL.INT_VEC3 = 35668; -lime.graphics.opengl.GL.INT_VEC4 = 35669; -lime.graphics.opengl.GL.BOOL = 35670; -lime.graphics.opengl.GL.BOOL_VEC2 = 35671; -lime.graphics.opengl.GL.BOOL_VEC3 = 35672; -lime.graphics.opengl.GL.BOOL_VEC4 = 35673; -lime.graphics.opengl.GL.FLOAT_MAT2 = 35674; -lime.graphics.opengl.GL.FLOAT_MAT3 = 35675; -lime.graphics.opengl.GL.FLOAT_MAT4 = 35676; -lime.graphics.opengl.GL.SAMPLER_2D = 35678; -lime.graphics.opengl.GL.SAMPLER_CUBE = 35680; -lime.graphics.opengl.GL.VERTEX_ATTRIB_ARRAY_ENABLED = 34338; -lime.graphics.opengl.GL.VERTEX_ATTRIB_ARRAY_SIZE = 34339; -lime.graphics.opengl.GL.VERTEX_ATTRIB_ARRAY_STRIDE = 34340; -lime.graphics.opengl.GL.VERTEX_ATTRIB_ARRAY_TYPE = 34341; -lime.graphics.opengl.GL.VERTEX_ATTRIB_ARRAY_NORMALIZED = 34922; -lime.graphics.opengl.GL.VERTEX_ATTRIB_ARRAY_POINTER = 34373; -lime.graphics.opengl.GL.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 34975; -lime.graphics.opengl.GL.VERTEX_PROGRAM_POINT_SIZE = 34370; -lime.graphics.opengl.GL.POINT_SPRITE = 34913; -lime.graphics.opengl.GL.COMPILE_STATUS = 35713; -lime.graphics.opengl.GL.LOW_FLOAT = 36336; -lime.graphics.opengl.GL.MEDIUM_FLOAT = 36337; -lime.graphics.opengl.GL.HIGH_FLOAT = 36338; -lime.graphics.opengl.GL.LOW_INT = 36339; -lime.graphics.opengl.GL.MEDIUM_INT = 36340; -lime.graphics.opengl.GL.HIGH_INT = 36341; -lime.graphics.opengl.GL.FRAMEBUFFER = 36160; -lime.graphics.opengl.GL.RENDERBUFFER = 36161; -lime.graphics.opengl.GL.RGBA4 = 32854; -lime.graphics.opengl.GL.RGB5_A1 = 32855; -lime.graphics.opengl.GL.RGB565 = 36194; -lime.graphics.opengl.GL.DEPTH_COMPONENT16 = 33189; -lime.graphics.opengl.GL.STENCIL_INDEX = 6401; -lime.graphics.opengl.GL.STENCIL_INDEX8 = 36168; -lime.graphics.opengl.GL.DEPTH_STENCIL = 34041; -lime.graphics.opengl.GL.RENDERBUFFER_WIDTH = 36162; -lime.graphics.opengl.GL.RENDERBUFFER_HEIGHT = 36163; -lime.graphics.opengl.GL.RENDERBUFFER_INTERNAL_FORMAT = 36164; -lime.graphics.opengl.GL.RENDERBUFFER_RED_SIZE = 36176; -lime.graphics.opengl.GL.RENDERBUFFER_GREEN_SIZE = 36177; -lime.graphics.opengl.GL.RENDERBUFFER_BLUE_SIZE = 36178; -lime.graphics.opengl.GL.RENDERBUFFER_ALPHA_SIZE = 36179; -lime.graphics.opengl.GL.RENDERBUFFER_DEPTH_SIZE = 36180; -lime.graphics.opengl.GL.RENDERBUFFER_STENCIL_SIZE = 36181; -lime.graphics.opengl.GL.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 36048; -lime.graphics.opengl.GL.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 36049; -lime.graphics.opengl.GL.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 36050; -lime.graphics.opengl.GL.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 36051; -lime.graphics.opengl.GL.COLOR_ATTACHMENT0 = 36064; -lime.graphics.opengl.GL.DEPTH_ATTACHMENT = 36096; -lime.graphics.opengl.GL.STENCIL_ATTACHMENT = 36128; -lime.graphics.opengl.GL.DEPTH_STENCIL_ATTACHMENT = 33306; -lime.graphics.opengl.GL.NONE = 0; -lime.graphics.opengl.GL.FRAMEBUFFER_COMPLETE = 36053; -lime.graphics.opengl.GL.FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 36054; -lime.graphics.opengl.GL.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 36055; -lime.graphics.opengl.GL.FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 36057; -lime.graphics.opengl.GL.FRAMEBUFFER_UNSUPPORTED = 36061; -lime.graphics.opengl.GL.FRAMEBUFFER_BINDING = 36006; -lime.graphics.opengl.GL.RENDERBUFFER_BINDING = 36007; -lime.graphics.opengl.GL.MAX_RENDERBUFFER_SIZE = 34024; -lime.graphics.opengl.GL.INVALID_FRAMEBUFFER_OPERATION = 1286; -lime.graphics.opengl.GL.UNPACK_FLIP_Y_WEBGL = 37440; -lime.graphics.opengl.GL.UNPACK_PREMULTIPLY_ALPHA_WEBGL = 37441; -lime.graphics.opengl.GL.CONTEXT_LOST_WEBGL = 37442; -lime.graphics.opengl.GL.UNPACK_COLORSPACE_CONVERSION_WEBGL = 37443; -lime.graphics.opengl.GL.BROWSER_DEFAULT_WEBGL = 37444; -lime.math._ColorMatrix.ColorMatrix_Impl_.__identity = [1.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0]; -lime.math.Matrix3.__identity = new lime.math.Matrix3(); -lime.math._Matrix4.Matrix4_Impl_.__identity = [1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0]; -lime.net._URLRequestMethod.URLRequestMethod_Impl_.DELETE = "DELETE"; -lime.net._URLRequestMethod.URLRequestMethod_Impl_.GET = "GET"; -lime.net._URLRequestMethod.URLRequestMethod_Impl_.HEAD = "HEAD"; -lime.net._URLRequestMethod.URLRequestMethod_Impl_.OPTIONS = "OPTIONS"; -lime.net._URLRequestMethod.URLRequestMethod_Impl_.POST = "POST"; -lime.net._URLRequestMethod.URLRequestMethod_Impl_.PUT = "PUT"; -lime.system.System.__moduleNames = null; -lime.system._System.SystemDirectory_Impl_.APPLICATION = 0; -lime.system._System.SystemDirectory_Impl_.APPLICATION_STORAGE = 1; -lime.system._System.SystemDirectory_Impl_.DESKTOP = 2; -lime.system._System.SystemDirectory_Impl_.DOCUMENTS = 3; -lime.system._System.SystemDirectory_Impl_.FONTS = 4; -lime.system._System.SystemDirectory_Impl_.USER = 5; -lime.text._TextDirection.TextDirection_Impl_.INVALID = 0; -lime.text._TextDirection.TextDirection_Impl_.LEFT_TO_RIGHT = 4; -lime.text._TextDirection.TextDirection_Impl_.RIGHT_TO_LEFT = 5; -lime.text._TextDirection.TextDirection_Impl_.TOP_TO_BOTTOM = 6; -lime.text._TextDirection.TextDirection_Impl_.BOTTOM_TO_TOP = 7; -lime.text._TextScript.TextScript_Impl_.COMMON = "Zyyy"; -lime.text._TextScript.TextScript_Impl_.INHERITED = "Zinh"; -lime.text._TextScript.TextScript_Impl_.UNKNOWN = "Zzzz"; -lime.text._TextScript.TextScript_Impl_.ARABIC = "Arab"; -lime.text._TextScript.TextScript_Impl_.ARMENIAN = "Armn"; -lime.text._TextScript.TextScript_Impl_.BENGALI = "Beng"; -lime.text._TextScript.TextScript_Impl_.CYRILLIC = "Cyrl"; -lime.text._TextScript.TextScript_Impl_.DEVANAGARI = "Deva"; -lime.text._TextScript.TextScript_Impl_.GEORGIAN = "Geor"; -lime.text._TextScript.TextScript_Impl_.GREEK = "Grek"; -lime.text._TextScript.TextScript_Impl_.GUJARATI = "Gujr"; -lime.text._TextScript.TextScript_Impl_.GURMUKHI = "Guru"; -lime.text._TextScript.TextScript_Impl_.HANGUL = "Hang"; -lime.text._TextScript.TextScript_Impl_.HAN = "Hani"; -lime.text._TextScript.TextScript_Impl_.HEBREW = "Hebr"; -lime.text._TextScript.TextScript_Impl_.HIRAGANA = "Hira"; -lime.text._TextScript.TextScript_Impl_.KANNADA = "Knda"; -lime.text._TextScript.TextScript_Impl_.KATAKANA = "Kana"; -lime.text._TextScript.TextScript_Impl_.LAO = "Laoo"; -lime.text._TextScript.TextScript_Impl_.LATIN = "Latn"; -lime.text._TextScript.TextScript_Impl_.MALAYALAM = "Mlym"; -lime.text._TextScript.TextScript_Impl_.ORIYA = "Orya"; -lime.text._TextScript.TextScript_Impl_.TAMIL = "Taml"; -lime.text._TextScript.TextScript_Impl_.TELUGA = "Telu"; -lime.text._TextScript.TextScript_Impl_.THAI = "Thai"; -lime.text._TextScript.TextScript_Impl_.TIBETAN = "Tibt"; -lime.text._TextScript.TextScript_Impl_.BOPOMOFO = "Bopo"; -lime.text._TextScript.TextScript_Impl_.BRAILLE = "Brai"; -lime.text._TextScript.TextScript_Impl_.CANADIAN_SYLLABICS = "Cans"; -lime.text._TextScript.TextScript_Impl_.CHEROKEE = "Cher"; -lime.text._TextScript.TextScript_Impl_.ETHIOPIC = "Ethi"; -lime.text._TextScript.TextScript_Impl_.KHMER = "Khmr"; -lime.text._TextScript.TextScript_Impl_.MONGOLIAN = "Mong"; -lime.text._TextScript.TextScript_Impl_.MYANMAR = "Mymr"; -lime.text._TextScript.TextScript_Impl_.OGHAM = "Ogam"; -lime.text._TextScript.TextScript_Impl_.RUNIC = "Runr"; -lime.text._TextScript.TextScript_Impl_.SINHALA = "Sinh"; -lime.text._TextScript.TextScript_Impl_.SYRIAC = "Syrc"; -lime.text._TextScript.TextScript_Impl_.THAANA = "Thaa"; -lime.text._TextScript.TextScript_Impl_.YI = "Yiii"; -lime.text._TextScript.TextScript_Impl_.DESERET = "Dsrt"; -lime.text._TextScript.TextScript_Impl_.GOTHIC = "Goth"; -lime.text._TextScript.TextScript_Impl_.OLD_ITALIC = "Ital"; -lime.text._TextScript.TextScript_Impl_.BUHID = "Buhd"; -lime.text._TextScript.TextScript_Impl_.HANUNOO = "Hano"; -lime.text._TextScript.TextScript_Impl_.TAGALOG = "Tglg"; -lime.text._TextScript.TextScript_Impl_.TAGBANWA = "Tagb"; -lime.text._TextScript.TextScript_Impl_.CYPRIOT = "Cprt"; -lime.text._TextScript.TextScript_Impl_.LIMBU = "Limb"; -lime.text._TextScript.TextScript_Impl_.LINEAR_B = "Linb"; -lime.text._TextScript.TextScript_Impl_.OSMANYA = "Osma"; -lime.text._TextScript.TextScript_Impl_.SHAVIAN = "Shaw"; -lime.text._TextScript.TextScript_Impl_.TAI_LE = "Tale"; -lime.text._TextScript.TextScript_Impl_.UGARITIC = "Ugar"; -lime.text._TextScript.TextScript_Impl_.BUGINESE = "Bugi"; -lime.text._TextScript.TextScript_Impl_.COPTIC = "Copt"; -lime.text._TextScript.TextScript_Impl_.GLAGOLITIC = "Glag"; -lime.text._TextScript.TextScript_Impl_.KHAROSHTHI = "Khar"; -lime.text._TextScript.TextScript_Impl_.NEW_TAI_LUE = "Talu"; -lime.text._TextScript.TextScript_Impl_.OLD_PERSIAN = "Xpeo"; -lime.text._TextScript.TextScript_Impl_.SYLOTI_NAGRI = "Sylo"; -lime.text._TextScript.TextScript_Impl_.TIFINAGH = "Tfng"; -lime.text._TextScript.TextScript_Impl_.BALINESE = "Bali"; -lime.text._TextScript.TextScript_Impl_.CUNEIFORM = "Xsux"; -lime.text._TextScript.TextScript_Impl_.NKO = "Nkoo"; -lime.text._TextScript.TextScript_Impl_.PHAGS_PA = "Phag"; -lime.text._TextScript.TextScript_Impl_.PHOENICIAN = "Phnx"; -lime.text._TextScript.TextScript_Impl_.CARIAN = "Cari"; -lime.text._TextScript.TextScript_Impl_.CHAM = "Cham"; -lime.text._TextScript.TextScript_Impl_.KAYAH_LI = "Kali"; -lime.text._TextScript.TextScript_Impl_.LEPCHA = "Lepc"; -lime.text._TextScript.TextScript_Impl_.LYCIAN = "Lyci"; -lime.text._TextScript.TextScript_Impl_.LYDIAN = "Lydi"; -lime.text._TextScript.TextScript_Impl_.OL_CHIKI = "Olck"; -lime.text._TextScript.TextScript_Impl_.REJANG = "Rjng"; -lime.text._TextScript.TextScript_Impl_.SAURASHTRA = "Saur"; -lime.text._TextScript.TextScript_Impl_.SUNDANESE = "Sund"; -lime.text._TextScript.TextScript_Impl_.VAI = "Vaii"; -lime.text._TextScript.TextScript_Impl_.AVESTAN = "Avst"; -lime.text._TextScript.TextScript_Impl_.BAMUM = "Bamu"; -lime.text._TextScript.TextScript_Impl_.EGYPTIAN_HIEROGLYPHS = "Egyp"; -lime.text._TextScript.TextScript_Impl_.IMPERIAL_ARAMAIC = "Armi"; -lime.text._TextScript.TextScript_Impl_.INSCRIPTIONAL_PAHLAVI = "Phli"; -lime.text._TextScript.TextScript_Impl_.INSCRIPTIONAL_PARTHIAN = "Prti"; -lime.text._TextScript.TextScript_Impl_.JAVANESE = "Java"; -lime.text._TextScript.TextScript_Impl_.KAITHI = "Kthi"; -lime.text._TextScript.TextScript_Impl_.LISU = "Lisu"; -lime.text._TextScript.TextScript_Impl_.MEETEI_MAYEK = "Mtei"; -lime.text._TextScript.TextScript_Impl_.OLD_SOUTH_ARABIAN = "Sarb"; -lime.text._TextScript.TextScript_Impl_.OLD_TURKIC = "Orkh"; -lime.text._TextScript.TextScript_Impl_.SAMARITAN = "Samr"; -lime.text._TextScript.TextScript_Impl_.TAI_THAM = "Lana"; -lime.text._TextScript.TextScript_Impl_.TAI_VIET = "Tavt"; -lime.text._TextScript.TextScript_Impl_.BATAK = "Batk"; -lime.text._TextScript.TextScript_Impl_.BRAHMI = "Brah"; -lime.text._TextScript.TextScript_Impl_.MANDAIC = "Mand"; -lime.text._TextScript.TextScript_Impl_.CHAKMA = "Cakm"; -lime.text._TextScript.TextScript_Impl_.MEROITIC_CURSIVE = "Merc"; -lime.text._TextScript.TextScript_Impl_.MEROITIC_HIEROGLYPHS = "Mero"; -lime.text._TextScript.TextScript_Impl_.MIAO = "Plrd"; -lime.text._TextScript.TextScript_Impl_.SHARADA = "Shrd"; -lime.text._TextScript.TextScript_Impl_.SORA_SOMPENG = "Sora"; -lime.text._TextScript.TextScript_Impl_.TAKRI = "Takr"; -lime.text._TextScript.TextScript_Impl_.BASSA_VAH = "Bass"; -lime.text._TextScript.TextScript_Impl_.CAUCASIAN_ALBANIAN = "Aghb"; -lime.text._TextScript.TextScript_Impl_.DUPLOYAN = "Dupl"; -lime.text._TextScript.TextScript_Impl_.ELBASAN = "Elba"; -lime.text._TextScript.TextScript_Impl_.GRANTHA = "Gran"; -lime.text._TextScript.TextScript_Impl_.KHOJKI = "Khoj"; -lime.text._TextScript.TextScript_Impl_.KHUDAWADI = "Sind"; -lime.text._TextScript.TextScript_Impl_.LINEAR_A = "Lina"; -lime.text._TextScript.TextScript_Impl_.MAHAJANI = "Mahj"; -lime.text._TextScript.TextScript_Impl_.MANICHAEAN = "Mani"; -lime.text._TextScript.TextScript_Impl_.MENDE_KIKAKUI = "Mend"; -lime.text._TextScript.TextScript_Impl_.MODI = "Modi"; -lime.text._TextScript.TextScript_Impl_.MRO = "Mroo"; -lime.text._TextScript.TextScript_Impl_.NABATAEAN = "Nbat"; -lime.text._TextScript.TextScript_Impl_.OLD_NORTH_ARABIAN = "Narb"; -lime.text._TextScript.TextScript_Impl_.OLD_PERMIC = "Perm"; -lime.text._TextScript.TextScript_Impl_.PAHAWH_HMONG = "Hmng"; -lime.text._TextScript.TextScript_Impl_.PALMYRENE = "Palm"; -lime.text._TextScript.TextScript_Impl_.PAU_CIN_HAU = "Pauc"; -lime.text._TextScript.TextScript_Impl_.PSALTER_PAHLAVI = "Phlp"; -lime.text._TextScript.TextScript_Impl_.SIDDHAM = "Sidd"; -lime.text._TextScript.TextScript_Impl_.TIRHUTA = "Tirh"; -lime.text._TextScript.TextScript_Impl_.WARANG_CITI = "Wara"; -lime.ui.Gamepad.devices = new haxe.ds.IntMap(); -lime.ui._GamepadAxis.GamepadAxis_Impl_.LEFT_X = 0; -lime.ui._GamepadAxis.GamepadAxis_Impl_.LEFT_Y = 1; -lime.ui._GamepadAxis.GamepadAxis_Impl_.RIGHT_X = 2; -lime.ui._GamepadAxis.GamepadAxis_Impl_.RIGHT_Y = 3; -lime.ui._GamepadAxis.GamepadAxis_Impl_.TRIGGER_LEFT = 4; -lime.ui._GamepadAxis.GamepadAxis_Impl_.TRIGGER_RIGHT = 5; -lime.ui._GamepadButton.GamepadButton_Impl_.A = 0; -lime.ui._GamepadButton.GamepadButton_Impl_.B = 1; -lime.ui._GamepadButton.GamepadButton_Impl_.X = 2; -lime.ui._GamepadButton.GamepadButton_Impl_.Y = 3; -lime.ui._GamepadButton.GamepadButton_Impl_.BACK = 4; -lime.ui._GamepadButton.GamepadButton_Impl_.GUIDE = 5; -lime.ui._GamepadButton.GamepadButton_Impl_.START = 6; -lime.ui._GamepadButton.GamepadButton_Impl_.LEFT_STICK = 7; -lime.ui._GamepadButton.GamepadButton_Impl_.RIGHT_STICK = 8; -lime.ui._GamepadButton.GamepadButton_Impl_.LEFT_SHOULDER = 9; -lime.ui._GamepadButton.GamepadButton_Impl_.RIGHT_SHOULDER = 10; -lime.ui._GamepadButton.GamepadButton_Impl_.DPAD_UP = 11; -lime.ui._GamepadButton.GamepadButton_Impl_.DPAD_DOWN = 12; -lime.ui._GamepadButton.GamepadButton_Impl_.DPAD_LEFT = 13; -lime.ui._GamepadButton.GamepadButton_Impl_.DPAD_RIGHT = 14; -lime.ui._KeyCode.KeyCode_Impl_.UNKNOWN = 0; -lime.ui._KeyCode.KeyCode_Impl_.BACKSPACE = 8; -lime.ui._KeyCode.KeyCode_Impl_.TAB = 9; -lime.ui._KeyCode.KeyCode_Impl_.RETURN = 13; -lime.ui._KeyCode.KeyCode_Impl_.ESCAPE = 27; -lime.ui._KeyCode.KeyCode_Impl_.SPACE = 32; -lime.ui._KeyCode.KeyCode_Impl_.EXCLAMATION = 33; -lime.ui._KeyCode.KeyCode_Impl_.QUOTE = 34; -lime.ui._KeyCode.KeyCode_Impl_.HASH = 35; -lime.ui._KeyCode.KeyCode_Impl_.DOLLAR = 36; -lime.ui._KeyCode.KeyCode_Impl_.PERCENT = 37; -lime.ui._KeyCode.KeyCode_Impl_.AMPERSAND = 38; -lime.ui._KeyCode.KeyCode_Impl_.SINGLE_QUOTE = 39; -lime.ui._KeyCode.KeyCode_Impl_.LEFT_PARENTHESIS = 40; -lime.ui._KeyCode.KeyCode_Impl_.RIGHT_PARENTHESIS = 41; -lime.ui._KeyCode.KeyCode_Impl_.ASTERISK = 42; -lime.ui._KeyCode.KeyCode_Impl_.PLUS = 43; -lime.ui._KeyCode.KeyCode_Impl_.COMMA = 44; -lime.ui._KeyCode.KeyCode_Impl_.MINUS = 45; -lime.ui._KeyCode.KeyCode_Impl_.PERIOD = 46; -lime.ui._KeyCode.KeyCode_Impl_.SLASH = 47; -lime.ui._KeyCode.KeyCode_Impl_.NUMBER_0 = 48; -lime.ui._KeyCode.KeyCode_Impl_.NUMBER_1 = 49; -lime.ui._KeyCode.KeyCode_Impl_.NUMBER_2 = 50; -lime.ui._KeyCode.KeyCode_Impl_.NUMBER_3 = 51; -lime.ui._KeyCode.KeyCode_Impl_.NUMBER_4 = 52; -lime.ui._KeyCode.KeyCode_Impl_.NUMBER_5 = 53; -lime.ui._KeyCode.KeyCode_Impl_.NUMBER_6 = 54; -lime.ui._KeyCode.KeyCode_Impl_.NUMBER_7 = 55; -lime.ui._KeyCode.KeyCode_Impl_.NUMBER_8 = 56; -lime.ui._KeyCode.KeyCode_Impl_.NUMBER_9 = 57; -lime.ui._KeyCode.KeyCode_Impl_.COLON = 58; -lime.ui._KeyCode.KeyCode_Impl_.SEMICOLON = 59; -lime.ui._KeyCode.KeyCode_Impl_.LESS_THAN = 60; -lime.ui._KeyCode.KeyCode_Impl_.EQUALS = 61; -lime.ui._KeyCode.KeyCode_Impl_.GREATER_THAN = 62; -lime.ui._KeyCode.KeyCode_Impl_.QUESTION = 63; -lime.ui._KeyCode.KeyCode_Impl_.AT = 64; -lime.ui._KeyCode.KeyCode_Impl_.LEFT_BRACKET = 91; -lime.ui._KeyCode.KeyCode_Impl_.BACKSLASH = 92; -lime.ui._KeyCode.KeyCode_Impl_.RIGHT_BRACKET = 93; -lime.ui._KeyCode.KeyCode_Impl_.CARET = 94; -lime.ui._KeyCode.KeyCode_Impl_.UNDERSCORE = 95; -lime.ui._KeyCode.KeyCode_Impl_.GRAVE = 96; -lime.ui._KeyCode.KeyCode_Impl_.A = 97; -lime.ui._KeyCode.KeyCode_Impl_.B = 98; -lime.ui._KeyCode.KeyCode_Impl_.C = 99; -lime.ui._KeyCode.KeyCode_Impl_.D = 100; -lime.ui._KeyCode.KeyCode_Impl_.E = 101; -lime.ui._KeyCode.KeyCode_Impl_.F = 102; -lime.ui._KeyCode.KeyCode_Impl_.G = 103; -lime.ui._KeyCode.KeyCode_Impl_.H = 104; -lime.ui._KeyCode.KeyCode_Impl_.I = 105; -lime.ui._KeyCode.KeyCode_Impl_.J = 106; -lime.ui._KeyCode.KeyCode_Impl_.K = 107; -lime.ui._KeyCode.KeyCode_Impl_.L = 108; -lime.ui._KeyCode.KeyCode_Impl_.M = 109; -lime.ui._KeyCode.KeyCode_Impl_.N = 110; -lime.ui._KeyCode.KeyCode_Impl_.O = 111; -lime.ui._KeyCode.KeyCode_Impl_.P = 112; -lime.ui._KeyCode.KeyCode_Impl_.Q = 113; -lime.ui._KeyCode.KeyCode_Impl_.R = 114; -lime.ui._KeyCode.KeyCode_Impl_.S = 115; -lime.ui._KeyCode.KeyCode_Impl_.T = 116; -lime.ui._KeyCode.KeyCode_Impl_.U = 117; -lime.ui._KeyCode.KeyCode_Impl_.V = 118; -lime.ui._KeyCode.KeyCode_Impl_.W = 119; -lime.ui._KeyCode.KeyCode_Impl_.X = 120; -lime.ui._KeyCode.KeyCode_Impl_.Y = 121; -lime.ui._KeyCode.KeyCode_Impl_.Z = 122; -lime.ui._KeyCode.KeyCode_Impl_.DELETE = 127; -lime.ui._KeyCode.KeyCode_Impl_.CAPS_LOCK = 1073741881; -lime.ui._KeyCode.KeyCode_Impl_.F1 = 1073741882; -lime.ui._KeyCode.KeyCode_Impl_.F2 = 1073741883; -lime.ui._KeyCode.KeyCode_Impl_.F3 = 1073741884; -lime.ui._KeyCode.KeyCode_Impl_.F4 = 1073741885; -lime.ui._KeyCode.KeyCode_Impl_.F5 = 1073741886; -lime.ui._KeyCode.KeyCode_Impl_.F6 = 1073741887; -lime.ui._KeyCode.KeyCode_Impl_.F7 = 1073741888; -lime.ui._KeyCode.KeyCode_Impl_.F8 = 1073741889; -lime.ui._KeyCode.KeyCode_Impl_.F9 = 1073741890; -lime.ui._KeyCode.KeyCode_Impl_.F10 = 1073741891; -lime.ui._KeyCode.KeyCode_Impl_.F11 = 1073741892; -lime.ui._KeyCode.KeyCode_Impl_.F12 = 1073741893; -lime.ui._KeyCode.KeyCode_Impl_.PRINT_SCREEN = 1073741894; -lime.ui._KeyCode.KeyCode_Impl_.SCROLL_LOCK = 1073741895; -lime.ui._KeyCode.KeyCode_Impl_.PAUSE = 1073741896; -lime.ui._KeyCode.KeyCode_Impl_.INSERT = 1073741897; -lime.ui._KeyCode.KeyCode_Impl_.HOME = 1073741898; -lime.ui._KeyCode.KeyCode_Impl_.PAGE_UP = 1073741899; -lime.ui._KeyCode.KeyCode_Impl_.END = 1073741901; -lime.ui._KeyCode.KeyCode_Impl_.PAGE_DOWN = 1073741902; -lime.ui._KeyCode.KeyCode_Impl_.RIGHT = 1073741903; -lime.ui._KeyCode.KeyCode_Impl_.LEFT = 1073741904; -lime.ui._KeyCode.KeyCode_Impl_.DOWN = 1073741905; -lime.ui._KeyCode.KeyCode_Impl_.UP = 1073741906; -lime.ui._KeyCode.KeyCode_Impl_.NUM_LOCK = 1073741907; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_DIVIDE = 1073741908; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_MULTIPLY = 1073741909; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_MINUS = 1073741910; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_PLUS = 1073741911; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_ENTER = 1073741912; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_1 = 1073741913; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_2 = 1073741914; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_3 = 1073741915; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_4 = 1073741916; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_5 = 1073741917; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_6 = 1073741918; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_7 = 1073741919; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_8 = 1073741920; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_9 = 1073741921; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_0 = 1073741922; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_PERIOD = 1073741923; -lime.ui._KeyCode.KeyCode_Impl_.APPLICATION = 1073741925; -lime.ui._KeyCode.KeyCode_Impl_.POWER = 1073741926; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_EQUALS = 1073741927; -lime.ui._KeyCode.KeyCode_Impl_.F13 = 1073741928; -lime.ui._KeyCode.KeyCode_Impl_.F14 = 1073741929; -lime.ui._KeyCode.KeyCode_Impl_.F15 = 1073741930; -lime.ui._KeyCode.KeyCode_Impl_.F16 = 1073741931; -lime.ui._KeyCode.KeyCode_Impl_.F17 = 1073741932; -lime.ui._KeyCode.KeyCode_Impl_.F18 = 1073741933; -lime.ui._KeyCode.KeyCode_Impl_.F19 = 1073741934; -lime.ui._KeyCode.KeyCode_Impl_.F20 = 1073741935; -lime.ui._KeyCode.KeyCode_Impl_.F21 = 1073741936; -lime.ui._KeyCode.KeyCode_Impl_.F22 = 1073741937; -lime.ui._KeyCode.KeyCode_Impl_.F23 = 1073741938; -lime.ui._KeyCode.KeyCode_Impl_.F24 = 1073741939; -lime.ui._KeyCode.KeyCode_Impl_.EXECUTE = 1073741940; -lime.ui._KeyCode.KeyCode_Impl_.HELP = 1073741941; -lime.ui._KeyCode.KeyCode_Impl_.MENU = 1073741942; -lime.ui._KeyCode.KeyCode_Impl_.SELECT = 1073741943; -lime.ui._KeyCode.KeyCode_Impl_.STOP = 1073741944; -lime.ui._KeyCode.KeyCode_Impl_.AGAIN = 1073741945; -lime.ui._KeyCode.KeyCode_Impl_.UNDO = 1073741946; -lime.ui._KeyCode.KeyCode_Impl_.CUT = 1073741947; -lime.ui._KeyCode.KeyCode_Impl_.COPY = 1073741948; -lime.ui._KeyCode.KeyCode_Impl_.PASTE = 1073741949; -lime.ui._KeyCode.KeyCode_Impl_.FIND = 1073741950; -lime.ui._KeyCode.KeyCode_Impl_.MUTE = 1073741951; -lime.ui._KeyCode.KeyCode_Impl_.VOLUME_UP = 1073741952; -lime.ui._KeyCode.KeyCode_Impl_.VOLUME_DOWN = 1073741953; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_COMMA = 1073741957; -lime.ui._KeyCode.KeyCode_Impl_.ALT_ERASE = 1073741977; -lime.ui._KeyCode.KeyCode_Impl_.SYSTEM_REQUEST = 1073741978; -lime.ui._KeyCode.KeyCode_Impl_.CANCEL = 1073741979; -lime.ui._KeyCode.KeyCode_Impl_.CLEAR = 1073741980; -lime.ui._KeyCode.KeyCode_Impl_.PRIOR = 1073741981; -lime.ui._KeyCode.KeyCode_Impl_.RETURN2 = 1073741982; -lime.ui._KeyCode.KeyCode_Impl_.SEPARATOR = 1073741983; -lime.ui._KeyCode.KeyCode_Impl_.OUT = 1073741984; -lime.ui._KeyCode.KeyCode_Impl_.OPER = 1073741985; -lime.ui._KeyCode.KeyCode_Impl_.CLEAR_AGAIN = 1073741986; -lime.ui._KeyCode.KeyCode_Impl_.CRSEL = 1073741987; -lime.ui._KeyCode.KeyCode_Impl_.EXSEL = 1073741988; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_00 = 1073742000; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_000 = 1073742001; -lime.ui._KeyCode.KeyCode_Impl_.THOUSAND_SEPARATOR = 1073742002; -lime.ui._KeyCode.KeyCode_Impl_.DECIMAL_SEPARATOR = 1073742003; -lime.ui._KeyCode.KeyCode_Impl_.CURRENCY_UNIT = 1073742004; -lime.ui._KeyCode.KeyCode_Impl_.CURRENCY_SUBUNIT = 1073742005; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_LEFT_PARENTHESIS = 1073742006; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_RIGHT_PARENTHESIS = 1073742007; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_LEFT_BRACE = 1073742008; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_RIGHT_BRACE = 1073742009; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_TAB = 1073742010; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_BACKSPACE = 1073742011; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_A = 1073742012; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_B = 1073742013; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_C = 1073742014; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_D = 1073742015; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_E = 1073742016; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_F = 1073742017; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_XOR = 1073742018; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_POWER = 1073742019; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_PERCENT = 1073742020; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_LESS_THAN = 1073742021; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_GREATER_THAN = 1073742022; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_AMPERSAND = 1073742023; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_DOUBLE_AMPERSAND = 1073742024; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_VERTICAL_BAR = 1073742025; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_DOUBLE_VERTICAL_BAR = 1073742026; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_COLON = 1073742027; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_HASH = 1073742028; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_SPACE = 1073742029; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_AT = 1073742030; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_EXCLAMATION = 1073742031; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_MEM_STORE = 1073742032; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_MEM_RECALL = 1073742033; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_MEM_CLEAR = 1073742034; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_MEM_ADD = 1073742035; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_MEM_SUBTRACT = 1073742036; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_MEM_MULTIPLY = 1073742037; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_MEM_DIVIDE = 1073742038; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_PLUS_MINUS = 1073742039; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_CLEAR = 1073742040; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_CLEAR_ENTRY = 1073742041; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_BINARY = 1073742042; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_OCTAL = 1073742043; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_DECIMAL = 1073742044; -lime.ui._KeyCode.KeyCode_Impl_.NUMPAD_HEXADECIMAL = 1073742045; -lime.ui._KeyCode.KeyCode_Impl_.LEFT_CTRL = 1073742048; -lime.ui._KeyCode.KeyCode_Impl_.LEFT_SHIFT = 1073742049; -lime.ui._KeyCode.KeyCode_Impl_.LEFT_ALT = 1073742050; -lime.ui._KeyCode.KeyCode_Impl_.LEFT_META = 1073742051; -lime.ui._KeyCode.KeyCode_Impl_.RIGHT_CTRL = 1073742052; -lime.ui._KeyCode.KeyCode_Impl_.RIGHT_SHIFT = 1073742053; -lime.ui._KeyCode.KeyCode_Impl_.RIGHT_ALT = 1073742054; -lime.ui._KeyCode.KeyCode_Impl_.RIGHT_META = 1073742055; -lime.ui._KeyCode.KeyCode_Impl_.MODE = 1073742081; -lime.ui._KeyCode.KeyCode_Impl_.AUDIO_NEXT = 1073742082; -lime.ui._KeyCode.KeyCode_Impl_.AUDIO_PREVIOUS = 1073742083; -lime.ui._KeyCode.KeyCode_Impl_.AUDIO_STOP = 1073742084; -lime.ui._KeyCode.KeyCode_Impl_.AUDIO_PLAY = 1073742085; -lime.ui._KeyCode.KeyCode_Impl_.AUDIO_MUTE = 1073742086; -lime.ui._KeyCode.KeyCode_Impl_.MEDIA_SELECT = 1073742087; -lime.ui._KeyCode.KeyCode_Impl_.WWW = 1073742088; -lime.ui._KeyCode.KeyCode_Impl_.MAIL = 1073742089; -lime.ui._KeyCode.KeyCode_Impl_.CALCULATOR = 1073742090; -lime.ui._KeyCode.KeyCode_Impl_.COMPUTER = 1073742091; -lime.ui._KeyCode.KeyCode_Impl_.APP_CONTROL_SEARCH = 1073742092; -lime.ui._KeyCode.KeyCode_Impl_.APP_CONTROL_HOME = 1073742093; -lime.ui._KeyCode.KeyCode_Impl_.APP_CONTROL_BACK = 1073742094; -lime.ui._KeyCode.KeyCode_Impl_.APP_CONTROL_FORWARD = 1073742095; -lime.ui._KeyCode.KeyCode_Impl_.APP_CONTROL_STOP = 1073742096; -lime.ui._KeyCode.KeyCode_Impl_.APP_CONTROL_REFRESH = 1073742097; -lime.ui._KeyCode.KeyCode_Impl_.APP_CONTROL_BOOKMARKS = 1073742098; -lime.ui._KeyCode.KeyCode_Impl_.BRIGHTNESS_DOWN = 1073742099; -lime.ui._KeyCode.KeyCode_Impl_.BRIGHTNESS_UP = 1073742100; -lime.ui._KeyCode.KeyCode_Impl_.DISPLAY_SWITCH = 1073742101; -lime.ui._KeyCode.KeyCode_Impl_.BACKLIGHT_TOGGLE = 1073742102; -lime.ui._KeyCode.KeyCode_Impl_.BACKLIGHT_DOWN = 1073742103; -lime.ui._KeyCode.KeyCode_Impl_.BACKLIGHT_UP = 1073742104; -lime.ui._KeyCode.KeyCode_Impl_.EJECT = 1073742105; -lime.ui._KeyCode.KeyCode_Impl_.SLEEP = 1073742106; -lime.ui._KeyModifier.KeyModifier_Impl_.NONE = 0; -lime.ui._KeyModifier.KeyModifier_Impl_.LEFT_SHIFT = 1; -lime.ui._KeyModifier.KeyModifier_Impl_.RIGHT_SHIFT = 2; -lime.ui._KeyModifier.KeyModifier_Impl_.LEFT_CTRL = 64; -lime.ui._KeyModifier.KeyModifier_Impl_.RIGHT_CTRL = 128; -lime.ui._KeyModifier.KeyModifier_Impl_.LEFT_ALT = 256; -lime.ui._KeyModifier.KeyModifier_Impl_.RIGHT_ALT = 512; -lime.ui._KeyModifier.KeyModifier_Impl_.LEFT_META = 1024; -lime.ui._KeyModifier.KeyModifier_Impl_.RIGHT_META = 2048; -lime.ui._KeyModifier.KeyModifier_Impl_.NUM_LOCK = 4096; -lime.ui._KeyModifier.KeyModifier_Impl_.CAPS_LOCK = 8192; -lime.ui._KeyModifier.KeyModifier_Impl_.MODE = 16384; -lime.ui._KeyModifier.KeyModifier_Impl_.CTRL = 192; -lime.ui._KeyModifier.KeyModifier_Impl_.SHIFT = 3; -lime.ui._KeyModifier.KeyModifier_Impl_.ALT = 768; -lime.ui._KeyModifier.KeyModifier_Impl_.META = 3072; -lime.utils.ByteArray.lime_byte_array_get_native_pointer = lime.system.System.load("lime","lime_byte_array_get_native_pointer",1); -lime.utils.ByteArray.lime_byte_array_overwrite_file = lime.system.System.load("lime","lime_byte_array_overwrite_file",2); -lime.utils.ByteArray.lime_byte_array_read_file = lime.system.System.load("lime","lime_byte_array_read_file",1); -lime.utils.ByteArray.lime_lzma_decode = lime.system.System.load("lime","lime_lzma_decode",1); -lime.utils.ByteArray.lime_lzma_encode = lime.system.System.load("lime","lime_lzma_encode",1); -motion.actuators.SimpleActuator.actuators = new Array(); -motion.actuators.SimpleActuator.actuatorsLength = 0; -motion.actuators.SimpleActuator.addedEvent = false; -motion.Actuate.defaultActuator = motion.actuators.SimpleActuator; -motion.Actuate.defaultEase = motion.easing.Expo.get_easeOut(); -motion.Actuate.targetLibraries = new haxe.ds.ObjectMap(); -openfl.Assets.cache = new openfl.AssetCache(); -openfl.Assets.dispatcher = new openfl.events.EventDispatcher(); -openfl._Assets.AssetType_Impl_.BINARY = "BINARY"; -openfl._Assets.AssetType_Impl_.FONT = "FONT"; -openfl._Assets.AssetType_Impl_.IMAGE = "IMAGE"; -openfl._Assets.AssetType_Impl_.MOVIE_CLIP = "MOVIE_CLIP"; -openfl._Assets.AssetType_Impl_.MUSIC = "MUSIC"; -openfl._Assets.AssetType_Impl_.SOUND = "SOUND"; -openfl._Assets.AssetType_Impl_.TEMPLATE = "TEMPLATE"; -openfl._Assets.AssetType_Impl_.TEXT = "TEXT"; -openfl.display.LoaderInfo.__rootURL = window.document.URL; -openfl.system.ApplicationDomain.currentDomain = new openfl.system.ApplicationDomain(null); -openfl.geom.Matrix.__identity = new openfl.geom.Matrix(); -openfl.Lib.current = new openfl.display.MovieClip(); -openfl.Lib.__sentWarnings = new haxe.ds.StringMap(); -openfl._internal.renderer.TextFieldGraphics.bitmapData = new haxe.ds.ObjectMap(); -openfl._internal.renderer.TextFieldGraphics.glyphs = new haxe.ds.ObjectMap(); -openfl._internal.renderer.TextFieldGraphics.tilesheets = new haxe.ds.ObjectMap(); -openfl._internal.renderer.TextFieldGraphics.tileIDs = new haxe.ds.ObjectMap(); -openfl._internal.renderer.cairo.CairoGraphics.SIN45 = 0.70710678118654752440084436210485; -openfl._internal.renderer.cairo.CairoGraphics.TAN22 = 0.4142135623730950488016887242097; -openfl._internal.renderer.cairo.CairoTextField.__utf8_endline_code = 10; -openfl._internal.renderer.canvas.CanvasGraphics.SIN45 = 0.70710678118654752440084436210485; -openfl._internal.renderer.canvas.CanvasGraphics.TAN22 = 0.4142135623730950488016887242097; -openfl._internal.renderer.canvas.CanvasTextField.__utf8_endline_code = 10; -openfl._internal.renderer.opengl.GLRenderer.glContextId = 0; -openfl._internal.renderer.opengl.GLRenderer.glContexts = []; -openfl._internal.renderer.opengl.shaders2.Shader.UID = 0; -openfl._internal.renderer.opengl.shaders2._DefaultShader.Attrib_Impl_.Position = "aPosition"; -openfl._internal.renderer.opengl.shaders2._DefaultShader.Attrib_Impl_.TexCoord = "aTexCoord0"; -openfl._internal.renderer.opengl.shaders2._DefaultShader.Attrib_Impl_.Color = "aColor"; -openfl._internal.renderer.opengl.shaders2._DefaultShader.Uniform_Impl_.Sampler = "uSampler0"; -openfl._internal.renderer.opengl.shaders2._DefaultShader.Uniform_Impl_.ProjectionMatrix = "uProjectionMatrix"; -openfl._internal.renderer.opengl.shaders2._DefaultShader.Uniform_Impl_.Color = "uColor"; -openfl._internal.renderer.opengl.shaders2._DefaultShader.Uniform_Impl_.Alpha = "uAlpha"; -openfl._internal.renderer.opengl.shaders2._DefaultShader.Uniform_Impl_.ColorMultiplier = "uColorMultiplier"; -openfl._internal.renderer.opengl.shaders2._DefaultShader.Uniform_Impl_.ColorOffset = "uColorOffset"; -openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader.Attrib_Impl_.Position = "aPosition"; -openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader.Attrib_Impl_.TexCoord = "aTexCoord0"; -openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader.Attrib_Impl_.Color = "aColor"; -openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader.Uniform_Impl_.UseTexture = "uUseTexture"; -openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader.Uniform_Impl_.Sampler = "uSampler0"; -openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader.Uniform_Impl_.ProjectionMatrix = "uProjectionMatrix"; -openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader.Uniform_Impl_.Color = "uColor"; -openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader.Uniform_Impl_.Alpha = "uAlpha"; -openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader.Uniform_Impl_.ColorMultiplier = "uColorMultiplier"; -openfl._internal.renderer.opengl.shaders2._DrawTrianglesShader.Uniform_Impl_.ColorOffset = "uColorOffset"; -openfl._internal.renderer.opengl.shaders2._FillShader.Attrib_Impl_.Position = "aPosition"; -openfl._internal.renderer.opengl.shaders2._FillShader.Uniform_Impl_.TranslationMatrix = "uTranslationMatrix"; -openfl._internal.renderer.opengl.shaders2._FillShader.Uniform_Impl_.ProjectionMatrix = "uProjectionMatrix"; -openfl._internal.renderer.opengl.shaders2._FillShader.Uniform_Impl_.Color = "uColor"; -openfl._internal.renderer.opengl.shaders2._FillShader.Uniform_Impl_.Alpha = "uAlpha"; -openfl._internal.renderer.opengl.shaders2._FillShader.Uniform_Impl_.ColorMultiplier = "uColorMultiplier"; -openfl._internal.renderer.opengl.shaders2._FillShader.Uniform_Impl_.ColorOffset = "uColorOffset"; -openfl._internal.renderer.opengl.shaders2._PatternFillShader.Attrib_Impl_.Position = "aPosition"; -openfl._internal.renderer.opengl.shaders2._PatternFillShader.Uniform_Impl_.TranslationMatrix = "uTranslationMatrix"; -openfl._internal.renderer.opengl.shaders2._PatternFillShader.Uniform_Impl_.PatternMatrix = "uPatternMatrix"; -openfl._internal.renderer.opengl.shaders2._PatternFillShader.Uniform_Impl_.PatternTL = "uPatternTL"; -openfl._internal.renderer.opengl.shaders2._PatternFillShader.Uniform_Impl_.PatternBR = "uPatternBR"; -openfl._internal.renderer.opengl.shaders2._PatternFillShader.Uniform_Impl_.Sampler = "uSampler0"; -openfl._internal.renderer.opengl.shaders2._PatternFillShader.Uniform_Impl_.ProjectionMatrix = "uProjectionMatrix"; -openfl._internal.renderer.opengl.shaders2._PatternFillShader.Uniform_Impl_.Color = "uColor"; -openfl._internal.renderer.opengl.shaders2._PatternFillShader.Uniform_Impl_.Alpha = "uAlpha"; -openfl._internal.renderer.opengl.shaders2._PatternFillShader.Uniform_Impl_.ColorMultiplier = "uColorMultiplier"; -openfl._internal.renderer.opengl.shaders2._PatternFillShader.Uniform_Impl_.ColorOffset = "uColorOffset"; -openfl._internal.renderer.opengl.shaders2._PrimitiveShader.Attrib_Impl_.Position = "aPosition"; -openfl._internal.renderer.opengl.shaders2._PrimitiveShader.Attrib_Impl_.Color = "aColor"; -openfl._internal.renderer.opengl.shaders2._PrimitiveShader.Uniform_Impl_.TranslationMatrix = "uTranslationMatrix"; -openfl._internal.renderer.opengl.shaders2._PrimitiveShader.Uniform_Impl_.ProjectionMatrix = "uProjectionMatrix"; -openfl._internal.renderer.opengl.shaders2._PrimitiveShader.Uniform_Impl_.Alpha = "uAlpha"; -openfl._internal.renderer.opengl.shaders2._PrimitiveShader.Uniform_Impl_.ColorMultiplier = "uColorMultiplier"; -openfl._internal.renderer.opengl.shaders2._PrimitiveShader.Uniform_Impl_.ColorOffset = "uColorOffset"; -openfl._internal.renderer.opengl.utils.BlendModeManager.glBlendModes = null; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendEquation_Impl_.ADD = 32774; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendEquation_Impl_.SUBTRACT = 32778; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendEquation_Impl_.REVERSE_SUBTRACT = 32779; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_.ZERO = 0; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_.ONE = 1; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_.SRC_COLOR = 768; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_.DST_COLOR = 774; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_.ONE_MINUS_SRC_COLOR = 769; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_.ONE_MINUS_DST_COLOR = 775; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_.CONSTANT_COLOR = 32769; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_.ONE_MINUS_CONSTANT_COLOR = 32770; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_.SRC_ALPHA = 770; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_.DST_ALPHA = 772; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_.ONE_MINUS_SRC_ALPHA = 771; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_.ONE_MINUS_DST_ALPHA = 773; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_.CONSTANT_ALPHA = 32771; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_.ONE_MINUS_CONSTANT_ALPHA = 32772; -openfl._internal.renderer.opengl.utils._BlendModeManager.GLBlendFunction_Impl_.SRC_ALPHA_SATURATE = 776; -openfl._internal.renderer.opengl.utils.PathBuiler.__currentWinding = 0; -openfl._internal.renderer.opengl.utils.PathBuiler.__fillIndex = 0; -openfl._internal.renderer.opengl.utils._DrawPath.WindingRule_Impl_.EVEN_ODD = 0; -openfl._internal.renderer.opengl.utils._DrawPath.WindingRule_Impl_.NON_ZERO = 1; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.fillVertexAttributes = [new openfl._internal.renderer.opengl.utils.VertexAttribute(2,5126,false,"aPosition")]; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.drawTrianglesVertexAttributes = [new openfl._internal.renderer.opengl.utils.VertexAttribute(2,5126,false,"aPosition"),new openfl._internal.renderer.opengl.utils.VertexAttribute(2,5126,false,"aTexCoord0"),new openfl._internal.renderer.opengl.utils.VertexAttribute(4,5121,true,"aColor")]; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.primitiveVertexAttributes = [new openfl._internal.renderer.opengl.utils.VertexAttribute(2,5126,false,"aPosition"),new openfl._internal.renderer.opengl.utils.VertexAttribute(4,5126,false,"aColor")]; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.graphicsDataPool = []; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.bucketPool = []; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.SIN45 = 0.70710678118654752440084436210485; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.TAN22 = 0.4142135623730950488016887242097; -openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectPosition = new openfl.geom.Point(); -openfl._internal.renderer.opengl.utils.GraphicsRenderer.objectBounds = new openfl.geom.Rectangle(); -openfl._internal.renderer.opengl.utils._GraphicsRenderer.RenderMode_Impl_.DEFAULT = 0; -openfl._internal.renderer.opengl.utils._GraphicsRenderer.RenderMode_Impl_.STENCIL = 1; -openfl._internal.renderer.opengl.utils.SpriteBatch.VERTS_PER_SPRITE = 4; -openfl._internal.renderer.opengl.utils._VertexAttribute.ElementType_Impl_.BYTE = 5120; -openfl._internal.renderer.opengl.utils._VertexAttribute.ElementType_Impl_.UNSIGNED_BYTE = 5121; -openfl._internal.renderer.opengl.utils._VertexAttribute.ElementType_Impl_.SHORT = 5122; -openfl._internal.renderer.opengl.utils._VertexAttribute.ElementType_Impl_.UNSIGNED_SHORT = 5123; -openfl._internal.renderer.opengl.utils._VertexAttribute.ElementType_Impl_.FLOAT = 5126; -openfl.display.BitmapDataChannel.ALPHA = 8; -openfl.display.BitmapDataChannel.BLUE = 4; -openfl.display.BitmapDataChannel.GREEN = 2; -openfl.display.BitmapDataChannel.RED = 1; -openfl.display.Graphics.TILE_SCALE = 1; -openfl.display.Graphics.TILE_ROTATION = 2; -openfl.display.Graphics.TILE_RGB = 4; -openfl.display.Graphics.TILE_ALPHA = 8; -openfl.display.Graphics.TILE_TRANS_2x2 = 16; -openfl.display.Graphics.TILE_RECT = 32; -openfl.display.Graphics.TILE_ORIGIN = 64; -openfl.display.Graphics.TILE_BLEND_NORMAL = 0; -openfl.display.Graphics.TILE_BLEND_ADD = 65536; -openfl.display.GraphicsPathCommand.LINE_TO = 2; -openfl.display.GraphicsPathCommand.MOVE_TO = 1; -openfl.display.GraphicsPathCommand.CURVE_TO = 3; -openfl.display.GraphicsPathCommand.WIDE_LINE_TO = 5; -openfl.display.GraphicsPathCommand.WIDE_MOVE_TO = 4; -openfl.display.GraphicsPathCommand.NO_OP = 0; -openfl.display.GraphicsPathCommand.CUBIC_CURVE_TO = 6; -openfl.display.OpenGLView.CONTEXT_LOST = "glcontextlost"; -openfl.display.OpenGLView.CONTEXT_RESTORED = "glcontextrestored"; -openfl.display.Tilesheet.TILE_SCALE = 1; -openfl.display.Tilesheet.TILE_ROTATION = 2; -openfl.display.Tilesheet.TILE_RGB = 4; -openfl.display.Tilesheet.TILE_ALPHA = 8; -openfl.display.Tilesheet.TILE_TRANS_2x2 = 16; -openfl.display.Tilesheet.TILE_RECT = 32; -openfl.display.Tilesheet.TILE_ORIGIN = 64; -openfl.display.Tilesheet.TILE_BLEND_NORMAL = 0; -openfl.display.Tilesheet.TILE_BLEND_ADD = 65536; -openfl.display.Tilesheet.TILE_BLEND_MULTIPLY = 131072; -openfl.display.Tilesheet.TILE_BLEND_SCREEN = 262144; -openfl.display.Tilesheet.TILE_BLEND_SUBTRACT = 524288; -openfl.display.Tilesheet.__defaultPoint = new openfl.geom.Point(0,0); -openfl.display3D.Context3D.TEXTURE_MAX_ANISOTROPY_EXT = 34046; -openfl.display3D.Context3D.MAX_SAMPLERS = 8; -openfl.display3D.Context3D.MAX_TEXTURE_MAX_ANISOTROPY_EXT = 34047; -openfl.display3D.Context3D.anisotropySupportTested = false; -openfl.display3D.Context3D.supportsAnisotropy = false; -openfl.display3D.Context3D.maxSupportedAnisotropy = 256; -openfl.display3D.Context3DClearMask.ALL = 17664; -openfl.display3D.Context3DClearMask.COLOR = 16384; -openfl.display3D.Context3DClearMask.DEPTH = 256; -openfl.display3D.Context3DClearMask.STENCIL = 1024; -openfl.display3D._Context3DTriangleFace.Context3DTriangleFace_Impl_.BACK = 1028; -openfl.display3D._Context3DTriangleFace.Context3DTriangleFace_Impl_.FRONT = 1029; -openfl.display3D._Context3DTriangleFace.Context3DTriangleFace_Impl_.FRONT_AND_BACK = 1032; -openfl.display3D._Context3DTriangleFace.Context3DTriangleFace_Impl_.NONE = 0; -openfl.errors.Error.DEFAULT_TO_STRING = "Error"; -openfl.events.Event.ACTIVATE = "activate"; -openfl.events.Event.ADDED = "added"; -openfl.events.Event.ADDED_TO_STAGE = "addedToStage"; -openfl.events.Event.CANCEL = "cancel"; -openfl.events.Event.CHANGE = "change"; -openfl.events.Event.CLOSE = "close"; -openfl.events.Event.COMPLETE = "complete"; -openfl.events.Event.CONNECT = "connect"; -openfl.events.Event.CONTEXT3D_CREATE = "context3DCreate"; -openfl.events.Event.DEACTIVATE = "deactivate"; -openfl.events.Event.ENTER_FRAME = "enterFrame"; -openfl.events.Event.ID3 = "id3"; -openfl.events.Event.INIT = "init"; -openfl.events.Event.MOUSE_LEAVE = "mouseLeave"; -openfl.events.Event.OPEN = "open"; -openfl.events.Event.REMOVED = "removed"; -openfl.events.Event.REMOVED_FROM_STAGE = "removedFromStage"; -openfl.events.Event.RENDER = "render"; -openfl.events.Event.RESIZE = "resize"; -openfl.events.Event.SCROLL = "scroll"; -openfl.events.Event.SELECT = "select"; -openfl.events.Event.SOUND_COMPLETE = "soundComplete"; -openfl.events.Event.TAB_CHILDREN_CHANGE = "tabChildrenChange"; -openfl.events.Event.TAB_ENABLED_CHANGE = "tabEnabledChange"; -openfl.events.Event.TAB_INDEX_CHANGE = "tabIndexChange"; -openfl.events.Event.UNLOAD = "unload"; -openfl.events.TextEvent.LINK = "link"; -openfl.events.TextEvent.TEXT_INPUT = "textInput"; -openfl.events.ErrorEvent.ERROR = "error"; -openfl.events.FocusEvent.FOCUS_IN = "focusIn"; -openfl.events.FocusEvent.FOCUS_OUT = "focusOut"; -openfl.events.FocusEvent.KEY_FOCUS_CHANGE = "keyFocusChange"; -openfl.events.FocusEvent.MOUSE_FOCUS_CHANGE = "mouseFocusChange"; -openfl.events.GameInputEvent.DEVICE_ADDED = "deviceAdded"; -openfl.events.GameInputEvent.DEVICE_REMOVED = "deviceRemoved"; -openfl.events.GameInputEvent.DEVICE_UNUSABLE = "deviceUnusable"; -openfl.events.IOErrorEvent.IO_ERROR = "ioError"; -openfl.events.KeyboardEvent.KEY_DOWN = "keyDown"; -openfl.events.KeyboardEvent.KEY_UP = "keyUp"; -openfl.events.MouseEvent.CLICK = "click"; -openfl.events.MouseEvent.DOUBLE_CLICK = "doubleClick"; -openfl.events.MouseEvent.MIDDLE_CLICK = "middleClick"; -openfl.events.MouseEvent.MIDDLE_MOUSE_DOWN = "middleMouseDown"; -openfl.events.MouseEvent.MIDDLE_MOUSE_UP = "middleMouseUp"; -openfl.events.MouseEvent.MOUSE_DOWN = "mouseDown"; -openfl.events.MouseEvent.MOUSE_MOVE = "mouseMove"; -openfl.events.MouseEvent.MOUSE_OUT = "mouseOut"; -openfl.events.MouseEvent.MOUSE_OVER = "mouseOver"; -openfl.events.MouseEvent.MOUSE_UP = "mouseUp"; -openfl.events.MouseEvent.MOUSE_WHEEL = "mouseWheel"; -openfl.events.MouseEvent.RIGHT_CLICK = "rightClick"; -openfl.events.MouseEvent.RIGHT_MOUSE_DOWN = "rightMouseDown"; -openfl.events.MouseEvent.RIGHT_MOUSE_UP = "rightMouseUp"; -openfl.events.MouseEvent.ROLL_OUT = "rollOut"; -openfl.events.MouseEvent.ROLL_OVER = "rollOver"; -openfl.events.TouchEvent.TOUCH_BEGIN = "touchBegin"; -openfl.events.TouchEvent.TOUCH_END = "touchEnd"; -openfl.events.TouchEvent.TOUCH_MOVE = "touchMove"; -openfl.events.TouchEvent.TOUCH_OUT = "touchOut"; -openfl.events.TouchEvent.TOUCH_OVER = "touchOver"; -openfl.events.TouchEvent.TOUCH_ROLL_OUT = "touchRollOut"; -openfl.events.TouchEvent.TOUCH_ROLL_OVER = "touchRollOver"; -openfl.events.TouchEvent.TOUCH_TAP = "touchTap"; -openfl.media.Sound.__registeredSounds = new haxe.ds.StringMap(); -openfl.net._URLRequestMethod.URLRequestMethod_Impl_.DELETE = "DELETE"; -openfl.net._URLRequestMethod.URLRequestMethod_Impl_.GET = "GET"; -openfl.net._URLRequestMethod.URLRequestMethod_Impl_.HEAD = "HEAD"; -openfl.net._URLRequestMethod.URLRequestMethod_Impl_.OPTIONS = "OPTIONS"; -openfl.net._URLRequestMethod.URLRequestMethod_Impl_.POST = "POST"; -openfl.net._URLRequestMethod.URLRequestMethod_Impl_.PUT = "PUT"; -openfl.system.SecurityDomain.currentDomain = new openfl.system.SecurityDomain(); -openfl.text.Font.__registeredFonts = new Array(); -openfl.text._TextField.TextFieldLineMetric_Impl_.ASCENDER = 0; -openfl.text._TextField.TextFieldLineMetric_Impl_.DESCENDER = 1; -openfl.text._TextField.TextFieldLineMetric_Impl_.LINE_HEIGHT = 2; -openfl.text._TextField.TextFieldLineMetric_Impl_.LEADING = 3; -openfl.ui.GameInput.isAvailable = true; -openfl.ui.GameInput.numDevices = 0; -openfl.ui.GameInput.__devices = new haxe.ds.ObjectMap(); -openfl.ui.GameInput.__instances = []; -openfl.ui.GameInputDevice.MAX_BUFFER_SIZE = 32000; -openfl.ui._KeyLocation.KeyLocation_Impl_.STANDARD = 0; -openfl.ui._KeyLocation.KeyLocation_Impl_.LEFT = 1; -openfl.ui._KeyLocation.KeyLocation_Impl_.RIGHT = 2; -openfl.ui._KeyLocation.KeyLocation_Impl_.NUM_PAD = 3; -openfl.ui.Keyboard.NUMBER_0 = 48; -openfl.ui.Keyboard.NUMBER_1 = 49; -openfl.ui.Keyboard.NUMBER_2 = 50; -openfl.ui.Keyboard.NUMBER_3 = 51; -openfl.ui.Keyboard.NUMBER_4 = 52; -openfl.ui.Keyboard.NUMBER_5 = 53; -openfl.ui.Keyboard.NUMBER_6 = 54; -openfl.ui.Keyboard.NUMBER_7 = 55; -openfl.ui.Keyboard.NUMBER_8 = 56; -openfl.ui.Keyboard.NUMBER_9 = 57; -openfl.ui.Keyboard.A = 65; -openfl.ui.Keyboard.B = 66; -openfl.ui.Keyboard.C = 67; -openfl.ui.Keyboard.D = 68; -openfl.ui.Keyboard.E = 69; -openfl.ui.Keyboard.F = 70; -openfl.ui.Keyboard.G = 71; -openfl.ui.Keyboard.H = 72; -openfl.ui.Keyboard.I = 73; -openfl.ui.Keyboard.J = 74; -openfl.ui.Keyboard.K = 75; -openfl.ui.Keyboard.L = 76; -openfl.ui.Keyboard.M = 77; -openfl.ui.Keyboard.N = 78; -openfl.ui.Keyboard.O = 79; -openfl.ui.Keyboard.P = 80; -openfl.ui.Keyboard.Q = 81; -openfl.ui.Keyboard.R = 82; -openfl.ui.Keyboard.S = 83; -openfl.ui.Keyboard.T = 84; -openfl.ui.Keyboard.U = 85; -openfl.ui.Keyboard.V = 86; -openfl.ui.Keyboard.W = 87; -openfl.ui.Keyboard.X = 88; -openfl.ui.Keyboard.Y = 89; -openfl.ui.Keyboard.Z = 90; -openfl.ui.Keyboard.NUMPAD_0 = 96; -openfl.ui.Keyboard.NUMPAD_1 = 97; -openfl.ui.Keyboard.NUMPAD_2 = 98; -openfl.ui.Keyboard.NUMPAD_3 = 99; -openfl.ui.Keyboard.NUMPAD_4 = 100; -openfl.ui.Keyboard.NUMPAD_5 = 101; -openfl.ui.Keyboard.NUMPAD_6 = 102; -openfl.ui.Keyboard.NUMPAD_7 = 103; -openfl.ui.Keyboard.NUMPAD_8 = 104; -openfl.ui.Keyboard.NUMPAD_9 = 105; -openfl.ui.Keyboard.NUMPAD_MULTIPLY = 106; -openfl.ui.Keyboard.NUMPAD_ADD = 107; -openfl.ui.Keyboard.NUMPAD_ENTER = 108; -openfl.ui.Keyboard.NUMPAD_SUBTRACT = 109; -openfl.ui.Keyboard.NUMPAD_DECIMAL = 110; -openfl.ui.Keyboard.NUMPAD_DIVIDE = 111; -openfl.ui.Keyboard.F1 = 112; -openfl.ui.Keyboard.F2 = 113; -openfl.ui.Keyboard.F3 = 114; -openfl.ui.Keyboard.F4 = 115; -openfl.ui.Keyboard.F5 = 116; -openfl.ui.Keyboard.F6 = 117; -openfl.ui.Keyboard.F7 = 118; -openfl.ui.Keyboard.F8 = 119; -openfl.ui.Keyboard.F9 = 120; -openfl.ui.Keyboard.F10 = 121; -openfl.ui.Keyboard.F11 = 122; -openfl.ui.Keyboard.F12 = 123; -openfl.ui.Keyboard.F13 = 124; -openfl.ui.Keyboard.F14 = 125; -openfl.ui.Keyboard.F15 = 126; -openfl.ui.Keyboard.BACKSPACE = 8; -openfl.ui.Keyboard.TAB = 9; -openfl.ui.Keyboard.ALTERNATE = 18; -openfl.ui.Keyboard.ENTER = 13; -openfl.ui.Keyboard.COMMAND = 15; -openfl.ui.Keyboard.SHIFT = 16; -openfl.ui.Keyboard.CONTROL = 17; -openfl.ui.Keyboard.BREAK = 19; -openfl.ui.Keyboard.CAPS_LOCK = 20; -openfl.ui.Keyboard.NUMPAD = 21; -openfl.ui.Keyboard.ESCAPE = 27; -openfl.ui.Keyboard.SPACE = 32; -openfl.ui.Keyboard.PAGE_UP = 33; -openfl.ui.Keyboard.PAGE_DOWN = 34; -openfl.ui.Keyboard.END = 35; -openfl.ui.Keyboard.HOME = 36; -openfl.ui.Keyboard.LEFT = 37; -openfl.ui.Keyboard.RIGHT = 39; -openfl.ui.Keyboard.UP = 38; -openfl.ui.Keyboard.DOWN = 40; -openfl.ui.Keyboard.INSERT = 45; -openfl.ui.Keyboard.DELETE = 46; -openfl.ui.Keyboard.NUMLOCK = 144; -openfl.ui.Keyboard.SEMICOLON = 186; -openfl.ui.Keyboard.EQUAL = 187; -openfl.ui.Keyboard.COMMA = 188; -openfl.ui.Keyboard.MINUS = 189; -openfl.ui.Keyboard.PERIOD = 190; -openfl.ui.Keyboard.SLASH = 191; -openfl.ui.Keyboard.BACKQUOTE = 192; -openfl.ui.Keyboard.LEFTBRACKET = 219; -openfl.ui.Keyboard.BACKSLASH = 220; -openfl.ui.Keyboard.RIGHTBRACKET = 221; -openfl.ui.Keyboard.QUOTE = 222; -ApplicationMain.main(); -})(typeof window != "undefined" ? window : exports); - -//# sourceMappingURL=GloryDemo.js.map \ No newline at end of file diff --git a/examples/ebook/bin/html5/bin/GloryDemo.js.map b/examples/ebook/bin/html5/bin/GloryDemo.js.map deleted file mode 100644 index 9395c72..0000000 --- a/examples/ebook/bin/html5/bin/GloryDemo.js.map +++ /dev/null @@ -1,8 +0,0 @@ -{ -"version":3, -"file":"GloryDemo.js", -"sourceRoot":"file://", -"sources":["/usr/lib/haxe/lib/glory/git/examples/ebook/bin/html5/haxe/ApplicationMain.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/events/EventDispatcher.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/DisplayObject.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/InteractiveObject.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/DisplayObjectContainer.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/Sprite.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/GloryFrameworkApp.hx","/usr/lib/haxe/lib/glory/git/examples/ebook/src/Main.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/Assets.hx","/usr/lib/haxe/lib/glory/git/examples/ebook/bin/html5/haxe/DefaultAssetLibrary.hx","/usr/lib/haxe/std/js/_std/EReg.hx","/usr/lib/haxe/std/js/_std/HxOverrides.hx","/usr/lib/haxe/std/Lambda.hx","/usr/lib/haxe/std/List.hx","/usr/lib/haxe/lib/glory/git/examples/ebook/bin/html5/haxe/NMEPreloader.hx","/usr/lib/haxe/std/js/_std/Reflect.hx","/usr/lib/haxe/std/js/_std/Std.hx","/usr/lib/haxe/std/StringBuf.hx","/usr/lib/haxe/std/StringTools.hx","/usr/lib/haxe/std/js/_std/Type.hx","/usr/lib/haxe/std/js/_std/Xml.hx","/usr/lib/haxe/lib/glory/git/src/org/puremvc/haxe/patterns/facade/Facade.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/ApplicationFacade.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/Tracer.hx","/usr/lib/haxe/lib/glory/git/src/org/puremvc/haxe/patterns/observer/Notifier.hx","/usr/lib/haxe/lib/glory/git/src/org/puremvc/haxe/patterns/command/SimpleCommand.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/controller/BuildControlsCommand.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/controller/BuildPageCommand.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/controller/ChangePageCommand.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/controller/DestroyPageSoundsCommand.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/controller/GotoIntroCommand.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/controller/InitPageSoundsCommand.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/controller/RemovePageCommand.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/controller/Startup1_App_Command.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/controller/Startup2_Proxies_Command.hx","/usr/lib/haxe/lib/glory/git/src/org/puremvc/haxe/patterns/command/MacroCommand.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/controller/StartupCommand.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/controller/TimerDisableCommand.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/controller/TimerEnableCommand.hx","/usr/lib/haxe/lib/glory/git/src/org/puremvc/haxe/patterns/proxy/Proxy.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/model/ActorComponentConfigProxy.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/model/ControlsRegistryProxy.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/model/LoaderProxy.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/model/PagesConfigProxy.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/model/StateProxy.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/model/TickerProxy.hx","/usr/lib/haxe/lib/glory/git/src/org/puremvc/haxe/patterns/mediator/Mediator.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/view/ActorComponentMediator.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/view/ApplicationMediator.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/view/ControlComponentMediator.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/view/PageMediator.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/view/SoundMediator.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/view/components/ActorComponent.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/view/components/ControlComponent.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/view/components/PageComponent.hx","/usr/lib/haxe/lib/glory/git/src/ca/confidant/glory/view/constants/ControlConstants.hx","/usr/lib/haxe/lib/svg/1,0,8/format/SVG.hx","/usr/lib/haxe/lib/svg/1,0,8/format/gfx/Gfx.hx","/usr/lib/haxe/lib/svg/1,0,8/format/gfx/Gfx2Haxe.hx","/usr/lib/haxe/lib/svg/1,0,8/format/gfx/GfxBytes.hx","/usr/lib/haxe/lib/svg/1,0,8/format/gfx/GfxExtent.hx","/usr/lib/haxe/lib/svg/1,0,8/format/gfx/GfxGraphics.hx","/usr/lib/haxe/lib/svg/1,0,8/format/gfx/GfxTextFinder.hx","/usr/lib/haxe/lib/svg/1,0,8/format/gfx/Gradient.hx","/usr/lib/haxe/lib/svg/1,0,8/format/gfx/LineStyle.hx","/usr/lib/haxe/lib/svg/1,0,8/format/svg/Grad.hx","/usr/lib/haxe/lib/svg/1,0,8/format/svg/Group.hx","/usr/lib/haxe/lib/svg/1,0,8/format/svg/Path.hx","/usr/lib/haxe/lib/svg/1,0,8/format/svg/PathParser.hx","/usr/lib/haxe/lib/svg/1,0,8/format/svg/PathSegment.hx","/usr/lib/haxe/lib/svg/1,0,8/format/svg/RenderContext.hx","/usr/lib/haxe/lib/svg/1,0,8/format/svg/SVGData.hx","/usr/lib/haxe/lib/svg/1,0,8/format/svg/SVGRenderer.hx","/usr/lib/haxe/lib/svg/1,0,8/format/svg/Text.hx","/usr/lib/haxe/lib/lime/2,4,4/haxe/CallStack.hx","/usr/lib/haxe/std/haxe/Log.hx","/usr/lib/haxe/lib/openfl/3,1,0/haxe/Timer.hx","/usr/lib/haxe/std/haxe/Utf8.hx","/usr/lib/haxe/std/haxe/crypto/BaseCode.hx","/usr/lib/haxe/std/haxe/ds/BalancedTree.hx","/usr/lib/haxe/std/haxe/ds/EnumValueMap.hx","/usr/lib/haxe/std/js/_std/haxe/ds/IntMap.hx","/usr/lib/haxe/std/js/_std/haxe/ds/ObjectMap.hx","/usr/lib/haxe/std/js/_std/haxe/ds/StringMap.hx","/usr/lib/haxe/std/haxe/ds/Vector.hx","/usr/lib/haxe/std/haxe/io/Bytes.hx","/usr/lib/haxe/std/haxe/io/Eof.hx","/usr/lib/haxe/std/haxe/io/Path.hx","/usr/lib/haxe/std/haxe/xml/Fast.hx","/usr/lib/haxe/std/haxe/xml/Parser.hx","/usr/lib/haxe/lib/lime/2,4,4/js/Boot.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/_backend/html5/HTML5Application.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/app/Event.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/_backend/html5/HTML5Mouse.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/_backend/html5/HTML5Renderer.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/_backend/html5/HTML5Window.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/app/Module.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/app/Application.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/app/Preloader.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/audio/ALAudioContext.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/audio/ALCAudioContext.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/audio/AudioBuffer.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/audio/AudioManager.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/audio/AudioSource.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/audio/FlashAudioContext.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/audio/HTML5AudioContext.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/audio/openal/AL.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/audio/openal/ALC.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/audio/openal/ALContext.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/audio/openal/ALDevice.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/ConsoleRenderContext.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/FlashRenderContext.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/Image.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/ImageBuffer.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/Renderer.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/cairo/Cairo.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/cairo/CairoFont.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/cairo/CairoFontOptions.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/cairo/CairoPattern.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/cairo/CairoSurface.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/format/BMP.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/format/JPEG.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/format/PNG.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/opengl/GL.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/utils/ImageCanvasUtil.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/utils/ImageDataUtil.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/math/ColorMatrix.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/math/Matrix3.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/math/Matrix4.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/math/Rectangle.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/math/Vector2.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/math/Vector4.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/net/URLLoader.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/net/URLRequest.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/net/URLRequestHeader.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/net/URLVariables.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/system/System.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/text/Font.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/text/Glyph.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/text/GlyphMetrics.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/text/GlyphPosition.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/text/TextDirection.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/text/TextLayout.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/text/TextScript.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/ui/Gamepad.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/ui/GamepadAxis.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/ui/GamepadButton.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/ui/KeyModifier.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/ui/Mouse.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/ui/Window.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/utils/ByteArray.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/utils/GLUtils.hx","/usr/lib/haxe/lib/actuate/1,8,6/motion/actuators/GenericActuator.hx","/usr/lib/haxe/lib/actuate/1,8,6/motion/actuators/SimpleActuator.hx","/usr/lib/haxe/lib/actuate/1,8,6/motion/easing/Expo.hx","/usr/lib/haxe/lib/actuate/1,8,6/motion/Actuate.hx","/usr/lib/haxe/lib/actuate/1,8,6/motion/MotionPath.hx","/usr/lib/haxe/lib/actuate/1,8,6/motion/actuators/FilterActuator.hx","/usr/lib/haxe/lib/actuate/1,8,6/motion/actuators/MethodActuator.hx","/usr/lib/haxe/lib/actuate/1,8,6/motion/actuators/MotionPathActuator.hx","/usr/lib/haxe/lib/actuate/1,8,6/motion/actuators/PropertyDetails.hx","/usr/lib/haxe/lib/actuate/1,8,6/motion/actuators/TransformActuator.hx","/usr/lib/haxe/lib/actuate/1,8,6/motion/easing/Quad.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/Assets.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/MovieClip.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/LoaderInfo.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/system/ApplicationDomain.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/events/UncaughtErrorEvents.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/geom/Matrix.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/geom/ColorTransform.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/Lib.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/Memory.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/Vector.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/AbstractMaskManager.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/AbstractRenderer.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/RenderSession.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/TextFieldGraphics.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/cairo/CairoBitmap.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/cairo/CairoGraphics.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/cairo/CairoMaskManager.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/cairo/CairoRenderer.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/cairo/CairoShape.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/cairo/CairoTextField.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/canvas/CanvasBitmap.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/canvas/CanvasGraphics.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/canvas/CanvasMaskManager.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/canvas/CanvasRenderer.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/canvas/CanvasShape.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/canvas/CanvasTextField.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/dom/DOMBitmap.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/dom/DOMMaskManager.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/dom/DOMRenderer.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/dom/DOMShape.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/dom/DOMTextField.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/GLBitmap.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/GLRenderer.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/GLTextField.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/shaders2/Shader.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/shaders2/DefaultShader.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/shaders2/DrawTrianglesShader.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/shaders2/FillShader.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/shaders2/PatternFillShader.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/shaders2/PrimitiveShader.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/utils/BlendModeManager.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/utils/DrawPath.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/utils/FilterManager.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/utils/FilterTexture.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/utils/GLMaskManager.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/utils/VertexAttribute.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/geom/Rectangle.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/geom/Point.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/utils/GraphicsRenderer.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/utils/ShaderManager.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/utils/SpriteBatch.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/utils/StencilManager.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/_internal/renderer/opengl/utils/VertexArray.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/Bitmap.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/BitmapData.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/DirectRenderer.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/FrameLabel.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/Graphics.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/JPEGEncoderOptions.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/Loader.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/OpenGLView.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/PNGEncoderOptions.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/Preloader.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/Shape.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/Stage.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/Stage3D.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/Tilesheet.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display3D/Context3D.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display3D/Context3DTriangleFace.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display3D/IndexBuffer3D.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display3D/Program3D.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display3D/VertexBuffer3D.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display3D/textures/TextureBase.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display3D/textures/CubeTexture.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display3D/textures/RectangleTexture.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display3D/textures/Texture.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/errors/Error.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/errors/ArgumentError.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/errors/IOError.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/errors/RangeError.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/errors/TypeError.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/events/Event.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/events/TextEvent.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/events/ErrorEvent.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/events/FocusEvent.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/events/GameInputEvent.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/events/IOErrorEvent.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/events/KeyboardEvent.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/events/MouseEvent.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/events/TouchEvent.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/filters/BitmapFilter.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/geom/Matrix3D.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/geom/Transform.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/geom/Vector3D.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/media/ID3Info.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/media/Sound.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/media/SoundChannel.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/media/SoundLoaderContext.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/media/SoundTransform.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/net/URLRequest.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/net/URLRequestHeader.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/system/LoaderContext.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/system/SecurityDomain.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/text/Font.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/text/TextField.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/text/TextFormat.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/text/TextLineMetrics.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/ui/GameInput.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/ui/GameInputControl.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/ui/GameInputDevice.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/ui/Keyboard.hx","/usr/lib/haxe/lib/glory/git/src/org/puremvc/haxe/core/Controller.hx","/usr/lib/haxe/lib/glory/git/src/org/puremvc/haxe/core/Model.hx","/usr/lib/haxe/lib/glory/git/src/org/puremvc/haxe/core/View.hx","/usr/lib/haxe/lib/glory/git/src/org/puremvc/haxe/patterns/observer/Notification.hx","/usr/lib/haxe/lib/glory/git/src/org/puremvc/haxe/patterns/observer/Observer.hx","/usr/lib/haxe/lib/glory/git/examples/ebook/src/pages/Psvg.hx","/usr/lib/haxe/std/Math.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/PixelFormat.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/cairo/CairoAntialias.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/cairo/CairoContent.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/cairo/CairoExtend.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/cairo/CairoFillRule.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/cairo/CairoFilter.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/cairo/CairoFormat.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/cairo/CairoHintMetrics.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/cairo/CairoHintStyle.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/cairo/CairoLineCap.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/cairo/CairoLineJoin.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/cairo/CairoOperator.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/cairo/CairoStatus.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/graphics/cairo/CairoSubpixelOrder.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/net/URLRequestMethod.hx","/usr/lib/haxe/lib/lime/2,4,4/lime/ui/KeyCode.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/BitmapDataChannel.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display/GraphicsPathCommand.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/display3D/Context3DClearMask.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/net/URLRequestMethod.hx","/usr/lib/haxe/lib/openfl/3,1,0/openfl/ui/KeyLocation.hx"], -"names":[], -"mappings":";;;;;;;;;;;;;;;yBAac,dAAwB;CAE3B;CACV,AAAY;CACZ,EAAyB;CAGb,wBAA0B,xBAAkB,AAAmB;CAC3E,AAAgB;CAChB,AAAe;CAGD;CAEd,EAAY,0BAA8B;CAC1C,EAAuB;CACvB,AAAkB;CAGP;CACC;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAGZ,AAAW;CACX,AAAY;CAIZ,CAAI,EAAuB,HAE1B;EAAU;EAAI;EAAd,DAA2B;GAA3B;GAEC,DAAI,DAAM,GAAM,HAEf,AAAK,EAAK,AAAsB,FAAK;;;CAQxC,AAAgB,AAAM;CAGT;;uBASA,ZAAsB;CAEtB;CACD;CACS,YAAc;EAElC;EAEA,AAAI,EAAU,HAEb;;CAMF,EAAY;CAIZ,CAAI,EAAU,HAEb;;uBAOY,ZAEb;GAAS,YAEM,FACF,AACA,HACH,IACI,PACP,DACD,OACO,FACF,FACF,KACK,AACA,FACF,IACI,RACR,EACE,FACF,AACA;;wBAeK,bAAuB;CAEtB;CACG,AAAmB;CAEpC;CAAmB,AAAqB;CAAxC,EAAmB,FAAkC;EAArD,CAAmB,FAAnB;;EAEC,AAAI,EAAc,HAAQ;GAEzB,AAAU;GACV;;;CAMF;CAEA,CAAI,DAEH,AAAoB,AAAY,AAAe,AAAY,AAAS,KAIvC;CAAqB,AAAe;;CAUlE,AAAwC,uBAAyB,vBAA4B,AAAO;;;;;;;;;;gCCjO9F,fAEN;EAAI,EAAU,HAEb,EAAqB;;;;;iDAiYO,jCAE7B;CAAO,GAAe,HAAc,KAAI,JAAC,CAAc,FAAc,KAAK;;;kBA/RpE;;;;EAEN,AAAI,EAAc,HAAM;GAEvB,AAAgB;GAChB,AAAa;GACb,AAAgB;;EAIjB,AAAI,DAAC,AAAmB,AAAO;GAEnB;GACX,FAAW,2CAAc,3CAAU,AAAY;GAC/C,FAAgB,AAAM;MAEhB;GAEN;GAEA,DAAI,DAAmB,GAAS,HAE/B;EAAI,DAAC,AAAsB,AAAO;KAE1B,JAAgB;KAAvB,FAAO;KACP,JAAmB,AAAM;MAIzB,HAAO,FAAmB;MAM3B,HAAO,FAAgB;GAId;GAAI;GAAd,FAA2B;IAA3B;IAEC,FAAI,DAAwB,AAAK,AAAa,AAAW;;GAI1D,FAAW,2CAAc,3CAAU,AAAY;GAC/C,FAAW;;;eAsBN,CAA0C;EAEhD,AAAI,EAAc,AAAQ,AAAS,HAAa;EAErC;EAEA,DAAgB;EAC3B,AAAI,EAAQ,HAAa;EAEzB,DAAmB,AAAM;EAEzB,AAAI,EAAgB,HAEnB;EAAI,EAAsB,HAEzB,EAAe,GAIf,HAAe;;EAMjB,CAAsB;EAER,CAAC,CAAoB;EACvB;EACZ;EAEA,GAAO,FAAQ,FAAa;GAE3B,AAAW,FAAK;GAEhB,DAAI,EAAuB,HAAS;IAGnC,HAAmB;IAEnB,FAAI,DAEH;;GAMF,DAAI,EAAY,HAAK,AAEpB;;EAMF,AAAI,EAAiB,AAAQ,HAAsB,AAAO;GAE9C,FAAmB;GAE9B,DAAI,CAAc,FAEjB,AAAgB,AAAM,KAItB,LAAmB;GAIpB,DAAI,DAAC,AAAmC;IAEvC,DAAa;IACb,DAAgB;;GAIjB,FAAsB;;EAIvB,DAAmB,AAAY;EAExB;;kBAyBD,HAA6C;EAEnD,AAAI,EAAc,HAAa;EACxB,DAAmB;;qBAoBpB;;EAEN,AAAI,EAAc,HAAM;EAEb,DAAgB;EAC3B,AAAI,EAAQ,HAAM;EAElB,AAAI,DAAmB,GAAS,HAE/B;EAAI,DAAC,AAAsB,AAAO;IAE1B,HAAgB;IAAvB,DAAO;IACP,HAAmB,AAAM;MAIzB,HAAO,FAAmB;;EAMlB;EAAI;EAAd,DAA2B;GAA3B;GAEC,DAAI,DAAK,AAAU,AAAU,AAAU;IAEtC,HAAa,AAAG;IAChB;;;EAMF,AAAI,EAAe,HAElB,AAAmB;EAIpB,AAAI,DAAC,AAAmC;GAEvC,AAAa;GACb,AAAgB;;;UAOX,CAA4B;EAEvB,DAAmB,AAAe;EACjC,DAAY;EAET,CAAa,AAAQ;;aAyB9B,EAEN;EAAO,DAAkB;;;;;;;;;;;+BCqSlB,pBA5kBT;CAkkBmD,AAlkBnD,EAkkBmD;CAzBH,AAziBhD,EAyiBgD;CAqC9C;CAEA,EAAU;CACV,EAAa;CACb,EAAW;CACX,EAAW;CACX,EAAY;CACZ,EAAM;CACN,EAAM;CAEN,EAAe;CACf,EAAmB;CACnB,EAAkB;CAClB,EAAiB;CACjB,EAAmB;CAEnB,EAAwB;CAMxB,AAAO,EAAa,DAAG;;;;;;;eAKR,CAA0C;EAE5C,DAAqB;EAElC,AAAI,DAEI;EAIR,AAAI,EAAiB,AAAU,AAAQ,AAAU,HAAM;GAEtD,AAAmB;GAEnB,DAAI,EAAgB,HAEnB,EAAe;GAIhB,FAAsB;;EAIhB;;WA6BD,qBAAmE;EAE5D;EAEb,AAAI,EAAyB,HAAM;GAElC,AAAS;GACT,FAAe;;EAIH;EACb,DAAa,AAAQ;EAEd;;SAuBD,uBAGN;EAAO,DAAW;;eAsBZ,DAEN;EAAO,DAAqD;;eAatD,DAAgD;EAEtD,AAAI,EAAO,AAAQ,AAAc,AAAQ,AAAU,HAAM;GAEpC,FAAW;GACZ,FAAe;GAE3B,FAA0B;;EAI3B;;cAqBD;;EAEN,AAAI,EAAU,HAAM;GAEN;GACb,FAAa,AAAQ;GAEd,FAAsB,qBAAW,rBAAG;;EAIrC;;eA4BD,CAEN;EAAO,DAAkC;;aAKnB,iBAA4D;EAElF,AAAI,EAAc,AAAQ,HAAkB,AAAa;GAE3C,FAAqB;GAElC,DAAI,DAEI;GAID;;EAID;;aAKe,SAEtB;EAAI,EAAc,HAEjB,AAAwB,AAAM;;aAOT,FAEtB;EAAO;;kBAKe,FAEtB;EAAO;;kBAKsB,HAAgD;EAE7E;EACA,DAAa,AAAM;;gBAKG,LAAkC;EAExD,AAAI,EAAoB,DAAwB,FAAG;GAEvC;GACG;GACO;GAErB,DAAI,EAAU,HAEb;EAAI,DAAgB,AAAU,AAAM;MAIpC,DAAO,DAAkB,HAAM;IAE9B,HAAW;IACX,DAAU;IAEV,FAAI,DAEH,EAAiB;;GAQpB,DAAI,DAAgB;IAEX;IACR,CAAO,HAAE,EAAK,HAEb,AAAK,AAAa,AAAM;;;EAQpB;;WAKe,mCAA6G;EAEnI,AAAI,EAAc,HAEjB;EAAI,EAAW,HAAsB,AAAG,AAAG,AAAW,AAAoB;IAEzE,FAAI,DAAC,AAEJ,AAAY;IAIN;;;EAMF;;eAK0B,SAEjC;EAAI,EAAc,HAEjB,AAAmB,AAAM;;mBAOO,KAEjC;EAAI,EAAc,HAEjB,AAA0B,AAAY;;gBAON,QAEjC;EAAI,EAAc,HAEjB,AAAoB,AAAM;;oBAOM,IAEjC;EAAI,EAAc,HAEjB,AAA2B,AAAY;;aAOP,WAEjC;EAAI,EAAc,HAEjB,AAAiB,AAAM;;YAOS,YAAuD;EAExF,AAAI,DAAC,GAAgB,AAAgB,HAAG;EAExC,AAAI,EAAc,HAEjB;EAAgC,DAE/B,AAAyB,AAAM,KAEzB;IAGN,HAAuB,AAAY;IAKnC,HAAyB,AAAM;;;;qBASX,LAEtB;EAAI,EAAc,HAAO;GAExB,DAAI,EAAc,HAEjB,AAAe,uBAAW,vBAA0B,AAAO;GAI5D,AAAa;GAEb,DAAI,EAAS,HAEZ,AAAe,uBAAW,vBAAsB,AAAO;;;kBAS5B,PAE7B;EAAI,DAAC,AAAe;GAEnB,AAAgB;GAChB;;;qBAO4B,VAE7B;EAAI,DAAC,AAAkB;GAEtB,AAAmB;GACnB;;;UAOgC,0CAAgG;EAEjI,CAAe,AAAC,CAAW,AAAU,AAAK,AAAU,AAAK,HAAC;EAG1D,AAAI,EAAY,HAAiB;GAEhC,AAAkB;GACJ,AAAW,FAAC,EAAU;GACpC,AAAiB,FAAU;GAC3B,AAAmB,FAAU;;EAIrB;EAET,AAAI,EAAU,HAAM;GAEG;GAEZ,AAAmB;GACnB,AAAiB;GACjB,FAAC,EAAiB;GAClB,AAAmB;GACnB;GACA;GACA;GACA;GAEV,DAAI,EAAoB,HAAM,EAAmB;GAEjD,AAAqB,AAAM,AAAM,AAAM;GACvC,AAAqB,AAAM,AAAM,AAAM;GACvC,AAAqB,AAAM,AAAM,AAAM;GACvC,AAAqB,AAAM,AAAM,AAAM;GACvC,AAAsB,AAAI,AAAM,AAAI,AAAM;GAC1C,AAAsB,AAAI,AAAM,AAAI,AAAM;GAE1C,DAAI,EAAM,HAAM;IACf,FAAG,EAAsB,AAAK,AAAsB,AAAK,AAAsB,AAAK,AAAsB,HACzG,EAAK,FAAa;IAEnB,DAAsB,FAAC,EAAI,AAAQ,AAAM,FAAC,EAAI,AAAQ,AAAM;IAC5D,DAAsB,FAAC,EAAI,AAAQ,AAAM,FAAC,EAAI,AAAQ,AAAM;;GAG7D,DAAG,DAAU,EAAe;MAEtB;GAEN,AAAqB,AAAmB;GACxC,AAAqB,FAAC,EAAiB;GACvC,AAAqB,AAAiB;GACtC,AAAqB,AAAmB;GACxC,AAAsB;GACtB,AAAsB;GAEtB,DAAI,EAAM,HAAM;IACf,FAAG,EAAsB,AAAK,AAAsB,AAAK,AAAsB,AAAK,AAAsB,HACzG,EAAK,FAAa;IAEnB,DAAsB,AAAI;IAC1B,DAAsB,AAAI;;;EAK5B,AAAI,EAAkB,HAAkB;GAEvC,AAAmB;GACnB;;EAID,AAAI,DAAC,GAAiB,AAAU,AAAQ,HAAC,AAAqB;GAE7D,DAAI,EAAkB,HACrB,EAAiB;GAGlB;GAEA,FAAgB,AAAM,AAAM;GAC5B,AAAsB;;EAIvB,AAAI,EAAgB,HAEnB,AAAa;EAKd,AAAI,DAAC,AAAe;GASnB,DAAG,DAAC,AAA+B,AAClC,EAAwB;GAGzB,DAAI,EAAU,HAAM;IAInB,DAAe,AAAQ;IACvB,HAAgC;IAEhC,FAAI,DAAC,GAAa,AAAQ,AAAa,HAEtC,EAAc;MAsCf,HAAe;GAwBhB,DAAI,EAAkB,HAErB,EAAgB;;;kBASe,MAAoD;EAErF,CAAe,AAAC,CAAW,AAAU,AAAK,AAAU,AAAK,HAAC;EAC1D,AAAI,DAAC,GAAgB,HAAC,AAAU;EAChC,CAAe;EAEf,AAAI,DAAkB;GAErB,AAAmB;GACnB;;;cAOgC,SAEjC;EAAI,EAAc,HAAM;GAEvB,FAA8B,AAAgB;GAC9C,AAA0B,FAAgC;GAC1D,FAAuB;GACvB,AAAyB;GAEzB,DAAI,EAAyB,HAE5B,EAAwB;GAIzB,FAAwB,AAAuC;;;WAc1C,AAEtB;EAAO;;WAKe,KAAuC;EAE7D,AAAI,EAAS,HAAS;;;;;;EACf,CAAU;;eAKK,CAAmD;EAEzE,CAAc;EACP,CAAY;;aAKG,FAEtB;EAAI,EAAa,HAET,KAIA;;aAOc,GAItB;EAAO;;YAKe,DAA6B;EAEtC;EACb;CAAkB,AAAlB;EAEO,CAAgB;;YAKD,IAAwC;EAEjD;EACb;CAAkB,AAAlB;EAEA,AAAI,EAAS,HAEZ,AAAS,EAAQ,GAIjB,LAAS;EAIH;;UAKe,CAEtB;EAAO;;UAKe,MAAsD;EAE5E,AAAI,EAAS,HAAQ;GACpB;;;;GACA;;;;;EAED,AAAI,EAAU,HAAM;GACnB,AAAkB;GAClB,AAAsB;GACtB;GACA;GACA,AAAiB;;EAElB,AAAI,EAAS,HAAM,EAAiB;EAC7B,CAAS;;YAKM,DAA6B;EAEnD,AAAI,EAAS,HAEL,AAAe,qBAAW,rBAAgB;EAI3C;;YAKe,DAA6B;EAEnD,AAAI,EAAS,HAEL,AAAe,qBAAW,rBAAG;EAI9B;;UAKe,CAEtB;EAAO;;UAKe,MAEtB;EAAO,CAAS;;UAKM,CAAmC;EAEzD,AAAI,EAAS,HAEL;EAID;;cAKe,HAEtB;EAAO;;cAKe,EAA0C;EAEhE,AAAI,EAAS,HAAY;;;;;;EAClB,CAAa;;YAKE,DAEtB;EAAO;;YAKe,IAAwC;EAE9D,AAAI,EAAS,HAAU;;;;;;EAChB,CAAW;;YAKI,DAEtB;EAAO;;YAKe,IAAwC;EAE9D,AAAI,EAAY,HAAO;;;;;;EAChB,CAAW;;gBAKI,LAAqC;EAE3D,AAAK,EAAgB,HAAc;EAE5B;;gBAKe,AAAoD;EAE1E,AAAI,EAAS,HAEZ;;;;;;EAKM,CAAe;;eAKA,JAAoC;EAE1D,AAAI,EAAe,HAElB,EAAc,uBAAe;EAIvB;;eAKe,CAAmD;EAEzE,AAAI,EAAS,HAEZ,KAAM,sBAAe;EAItB,AAAI,EAAe,HAElB,EAAc,uBAAe;EAI9B;;;;EACA,DAAqB;EACrB,DAA6B;EAEtB;;aAKe,FAEtB;EAAO;;aAKe,GAAuC;EAE7D,AAAI,EAAS,HAAW;;;;;;EACjB,CAAY;;WAKG,AAA4B;EAErC;EACb;CAAkB,AAAlB;EAEO,CAAe;;WAKA,KAAuC;EAEhD;EACb;CAAkB,AAAlB;EAEA,AAAI,EAAS,HAEZ,AAAS,EAAQ,GAIjB,LAAS;EAIH;;OAKe,IAEtB;EAAO;;OAKe,SAAmC;EAEzD,AAAI,EAAS,HAAK;;;;;;EACX,CAAM;;OAKS,IAEtB;EAAO;;OAKe,SAAmC;EAEzD,AAAI,EAAS,HAAK;;;;;;EACX,CAAM;;;;;mCC/qBP,xBAAgB;CAEtB;CAEA,EAAqB;CACrB,EAAe;CACf,EAAoB;CACpB,EAAa;CACb,EAAW;;;;;;qBAqBL,VAAqC;EAE3C,DAA2B;EAEpB;;kBAKwB,FAA4D;EAE3F,AAAI,EAAS,HAAM;GAElB,FAAY;GAEZ,DAAI,EAAU,HAEb,AAAyB;;EAMpB;;;;wCCpjCD,7BAAgB;CAEtB;CAEA,EAAgB;CAEhB,EAAa;CACb,EAAoB;;;;;;UAmCd,MAAsD;EAE5D,AAAI,EAAS,HAAM;GAElB,DAAI,EAAgB,HAEnB,AAA0B;GAI3B,FAAiB;GACjB,AAAe;GAEf,DAAI,EAAS,HAEZ,AAA2B;GAI5B;;;;GACA;;;;GAEY,qBAAW,vBAAa;GACpC,AAAe;GACf,FAAqB;;EAIf;;YAkCD,UAAmE;EAEzE,AAAI,CAAQ,CAAqB,DAAQ,FAExC,KAAM,HAA4B;EAInC,AAAI,EAAgB,HAEnB,AAAmB,KAEb;GAEN,DAAI,EAAgB,HAEnB,AAA0B;GAI3B,AAAe;GAEf,DAAI,EAAS,HAEZ,AAA2B;GAI5B;;;;GACA;;;;GAEY,qBAAW,vBAAa;GACpC,AAAe;GACf,FAAqB;;EAItB,DAAmB,AAAnB,AAA0B;EAEnB;;kCA0BD,lBAEN;EAAO;;UAiBD,MAA6C;EAEnD,GAAO,DAAS,AAAQ,AAAS,HAEhC,EAAQ;EAIF,EAAS;;YAkBV,IAA8C;EAEpD,AAAI,EAAS,AAAK,DAAQ,FAElB,AAAW;EAIZ;;gBAuBD,DAAoD;EAE1D;EAAc;EAAd,CAAc,FAAY;GAA1B,AAAc,FAAd;;GAEC,DAAI,EAAc,HAAa;;EAIzB;;eAaD,CAAiD;EAE7C;EAAI;EAAd,DAAiC;GAAjC;GAEC,DAAI,DAAW,GAAM,HAAc;;EAI7B;;sBAwBD,NAAiE;EAEvE,CAAQ,FAAe;EACX;EACZ,DAAW,AAAS,AAAS,AAAO,AAAO;EAC3C;EACO;;aAwBD,GAAyD;EAE/D,AAAI,EAAS,AAAQ,AAAgB,HAAM;GAE1C,DAAI,EAAS,HAEZ,AAA2B;GAI5B,AAAe;GACf,FAAmB;GACnB,FAAwB;GACxB;;;;GACA;;;;GACA,FAAqB,uBAAW,vBAAe;;EAIzC;;eA2BD,CAAiD;EAEvD,AAAI,EAAS,AAAK,DAAQ,FAElB,AAAa,AAAW;EAIzB;;gBAKD;;;EAEN,AAAI,EAAY,HAAY;GAE3B,AAAW,AAAoB;GAE/B,DAAI,CAAW,FAEd;;EAMF,AAAI,CAAa,AAAoB,FAEpC,KAEM,JAAI,CAAW,CAAc,DAAa,CAAK,DAAW,FAEhE,KAAM,uBAAgB;EAIL,CAAW;EAC7B,GAAO,DAAe,HAAG;GAExB,FAAe;GACf;;;eAmCK,OAEN;EAAI,EAAS,AAAK,AAAS,AAAqB,AAAgB,HAAM;GAErE,FAAmB;GACnB,FAAmB,AAAnB,AAA0B;;;cAiBrB,UAEN;EAAI,EAAiB,AAAQ,AAAiB,HAAM;GAItC,FAAoB,AAApB;GACA,FAAoB,AAApB;GAuBb,FAAW,EAAU;GACrB,FAAW,EAAU;;;gBAgBhB,QAAsD;EAEnC,DAAW;EACpC,DAAW,EAAU,FAAW;EAChC,DAAW,EAAU;EACrB,CAAO;;aAKwB,iBAA4D;EAE3F,AAAI,EAAgB,HAEnB,EAAe;EAIH,DAAmB,AAAO;EAEvC,AAAI,DAAC,GAAuB,HAE3B;;GAAc;GAAd,AAAc,FAAY;IAA1B,DAAc,FAAd;;IAEC,HAAmB,AAAO;IAE1B,FAAI,DAEI;;;EAQH;;aAKwB,SAA0D;EAEzF,DAAmB,AAAM;EAEzB,AAAI,EAAqB,HAAG;EAEV;EAElB,AAAI,EAAU,HAAM;GAEnB,AAAc;GACd,AAAmB;GACnB,FAAkB;;EAInB;EAAc;EAAd,CAAc,FAAY;GAA1B,AAAc,FAAd;;GAEC,DAAI,DAAC,AAAoB;GACzB,FAAmB,AAAM;;EAI1B,AAAI,EAAU,HAAM;GAEnB,AAAmB;GACnB,FAAkB;;;WAOY,mCAA6G;EAE5I,AAAI,DAAC,GAAW,AAAC,AAAmB,HAAC,AAAsB;EAE3D,AAAI,EAAc,AAAQ,HAAC,AAAyB,AAAc,qBAAU,rBAAG,AAAa;EAEpF;EACR,AAAI,DAEH;EAAI,EAAS,AAAQ,HAAC,AAErB;KAAO,HAAE,EAAK,HAEb,CAAI,DAAW,AAAc,AAAG,AAAG,AAAW,AAAM,AAAO;KAE1D,HAAI,EAAS,HAEZ,AAAY;KAIN;;MAMH,JAAI,EAAS,HAAM;IAEZ;IAEK;IACJ;IAEd,CAAO,HAAE,EAAK,HAAG;KAEhB,FAAc,FAAW,AAAqB;KAE9C,HAAI,EAAe,HAAC,AAEnB;EAAI,DAAW,AAAc,AAAG,AAAG,AAAW,AAAO,AAAO;OAE3D,JAAU;OAEV,LAAI,DAEH;;;;IAUJ,FAAI,DAAS;KAEZ,JAAc,AAAd,AAAsB;KACf;;;MAQT,DAAO,HAAE,EAAK,HAEb,AAAW,AAAc,AAAG,AAAG,AAAW,AAAO;EAO5C;;eAKmC,SAA0D;EAEpG,AAAI,DAAC,GAAgB,AAAgB,HAAG;EAExC,DAAqB;EAErB,AAAI,EAAc,HAEjB,AAAoC,AAAY;EAIjD,AAAI,EAAU,HAEb,AAAoC;EAIrC;EAAc;EAAd,CAAc,FAAY;GAA1B,AAAc,FAAd;;GAEC,FAAqB;;EAItB,CAAoB;EAEpB,AAAI,EAAU,HAEb;EAID,AAAI,EAAc,HAEjB;;mBAOyC,KAA8D;EAExG,AAAI,EAAc,HAEjB,AAA0B,AAAY;EASvC;EAAc;EAAd,CAAc,FAAY;GAA1B,AAAc,FAAd;;GAEC,FAAyB;;;gBAOgB,QAA2D;EAErG,AAAI,DAAC,GAAgB,AAAgB,HAAG;EAIxC,DAAsB;EAEtB,AAAI,EAAc,HAEjB,AAAoC,AAAY;EAIjD,AAAI,EAAU,HAEb,AAAoC;EAIrC;EAAc;EAAd,CAAc,FAAY;GAA1B,AAAc,FAAd;;GAEC,FAAsB;;EAIvB,CAAoB;EAEpB,AAAI,EAAU,HAEb;EAID,AAAI,EAAc,HAEjB;;oBASyC,IAA+D;EAEzG,AAAI,EAAc,HAEjB,AAA2B,AAAY;EAI3B;EACb;CAAkB,AAAlB;EAEA,DAA4B,AAAG,AAAG,AAAc;;aAWN,WAAwD;EAMlG,DAAmB;EAEnB,AAAI,EAAU,HAEb,AAAoC;EAMrC;EAAc;EAAd,CAAc,FAAY;GAA1B,AAAc,FAAd;;GAEC,FAAmB;;EAIpB;EAAe;EAAf,CAAe,FAAmB;GAAlC,AAAe,FAAf;;GAEC,DAAI,EAAgB,HAEnB,AAAoB;;EAMtB,CAAoB;EAEpB,AAAI,EAAU,HAEb;;YASyC,YAAuD;EAEjG,AAAI,DAAC,GAAgB,AAAgB,HAAG;EAExC,AAAI,EAAc,HAAM;GACvB;GACQ;GACG,FAAqB;GAChC,AAAS,AAAgC,AAAS;GAElD,FAAgC;;EAIpB,EAAU,AAAQ,AAAkB,AAAQ,DAAmC;EAE5F,AAAI,DAAQ;GAEX;GACA,FAAoC;GACpC;;EAID,DAAkB;EAElB;EAAc;EAAd,CAAc,FAAY;GAA1B,AAAc,FAAd;;GAEC,FAAkB;;EAInB,AAAI,DAAQ;GAEX;GAEA;GACA;;EAID,AAAI,EAAc,HAAM;GACvB;GACA;;EAGD,CAAoB;;qBAKW,LAE/B;EAAI,EAAc,HAAO;GAExB,DAAI,EAAc,HAEjB,AAAe,uBAAW,vBAA0B,AAAO;GAI5D,AAAa;GAEb,DAAI,EAAS,HAEZ,AAAe,uBAAW,vBAAsB,AAAO;GAIxD,DAAI,EAAc,HAEjB;;IAAc;IAAd,DAAc,FAAY;KAA1B,FAAc,FAAd;;KAEC,JAA2B;;;;;UAWY,0CAAgG;EAE1I,DAAgB,AAAe,AAAgB;EAG/C,AAAI,DAAC,GAAgB,HAAC,AAErB;EAMD,AAAI,DAEH;;GAAc;GAAd,AAAc,FAAY;IAA1B,DAAc,FAAd;;IAEC,HAAgB,AAAe,AAAM;;;;kBASG,MAAoD;EAE9F,DAAwB;EAExB;EAAc;EAAd,CAAc,FAAY;GAA1B,AAAc,FAAd;;GAEC,FAAgB,AAAe;;;iBAcV,NAEtB;EAAO;;;;;wBCp9BD,bAAgB;CAEtB;CAEA,EAAa;CACb,EAAgB;CAChB,EAAa,FAAmB;;;;;;WAyB1B;;EAEN,AAAI,EAAS,HAEZ,AAAmB,AAAM,AAAY;;UAchC,CAEN;EAAI,EAAS,HAEZ,AAAkB;;aAOY,FAE/B;EAAO,DAAC,GAAc,HAAiB,KAAU;;WAKlB,mCAA6G;EAE5I,AAAI,DAAC,GAAW,AAAC,AAAmB,HAAC,AAAsB;EAE9C;EAEb,AAAI,EAAS,HAEZ,EAAS;EAIV,AAAI,DAAiB,AAAG,AAAG,AAAW,AAAO,AAErC,KAED,JAAI,EAAc,AAAQ,HAAsB,AAAG,AAAG,AAAW,AAAoB;GAE3F,DAAI,EAAS,HAEZ,AAAY;GAIN;;EAID;;cAYe,HAAkC;EAExD,AAAI,EAAc,HAAM;GAEvB,AAAa;GACX,AAAc,AAAqB;;EAI/B;;;;;;;;uCC9MR,5BACA;CACC;CACa;CACb,AAAyB,AAA2B;;;;4CAKvC,jCAAgB;CACH;CAC1B,AAAsB;;;;gBAEhB,JAAuC;;;;OCdvC,IACN;;;;;YAGa,DAAgB;CAGH;CAC1B,AAAsB;;eAIL,CAAsD;;;;;;gBP+SvE,LAyBqB;CAElB,AAA6B;CAC7B;CACA,AAAe,uBAAyB,vBAAoC,AAAO;;;;;;;;;oBQ6mBhF,TAAgB;;;;;QAOhB,UAEN;EAAO;;gBAKD,HAEN;EAAO;;UAKD,GAEN;EAAO;;SAKD,IAEN;EAAO;;UAKD,GAEN;EAAO;;SAYD,IAEN;EAAO;;SAKD,IAAoC;EAI9B,DAAU;EAEtB,AAAI,EAAS,HAEL,KAIA,LAAoB;;SAatB,SAEN;EAAO;;MAKD,SAEN;EAAO;;MAKA,YAEP;CAAS;;iBAKH,IAEN;CAAS,AAAgB;;WAKnB,UAEN;CAAS,AAAU;;UAKb,WAEN;CAAS,AAAS;;WAKZ,UAEN;CAAS,AAAU;;UAYb,WAA2D;EAIlD,cAEd;EAAI,EAAS,HAEZ,AAAS,KAIT,LAAS,AAAoB;;EAM/B,DAAW,AAAI;;;;sBClkCT,XAXR;CAKmC,AALnC,EAKmC;CADA,AAJnC,EAImC;CADK,AAHxC,EAGwC;CAUtC;CAgFA;CACA,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CACd,EAAK;CACL,AAAU,AAAI;CAEd,AAAU,AAAI;CAGK;CACnB,CAAI,EAAgB,HACnB;WAAU;;;GACG,AAAe,FAAK;GAAhC,FAAS,AAAT;;;;;;;;QA2Ma,UAA8C;EAEzC;IAAQ,HAAO,cAAM,TAAmB;EAC5C,DAAe;EAE/B,AAAI,EAAa,HAAM;GAEtB,DAAI,EAAa,AAAiB,AAAC,HAAC,GAAiB,AAAS,AAAiB,AAAU,HAAC,GAAa,AAAS,AAAa,HAErH;GAkBR,DAAI,EAAiB,AAAU,AAAiB,AAAQ,AAAC,AAAa,AAAU,AAAiB,HAEzF;;EAQF;;gBAKQ,HAUf;EAAO;;UAaQ,GAAwC;EAyBjC;EACX;;GAAuB,FAAU;GAAjC;;;EAEX,AAAI,KAAQ,HAAR,HAAuB;GAE1B,AAAQ;GACR,FAAqB;MAEf,JAAI,DAAQ,AAAM,AAExB,EAAa,GAIb,HAAQ;EAIT,AAAI,EAAS,HAAM;GAElB,AAAiB;GACV;MAIA;;SAaO,IAYf;EAAO,aAAM,dAAqB,AAAe,AAAK;;UAoBvC,GAQf;EAAO,DAAwB;;GAAsB,FAAU;GAAhC;;;;SAkDhB,IAQf;EAAO,DAAU;;SAOF,IAAoC;EAI7B;EACX;;GAAuB,FAAU;GAAjC;;;EAEX,AAAI,KAAQ,HAAR,HAES,KAEN,JAAI,DAAQ,AAAM,AAExB,EAAa,GAIb,HAAQ;EAIT,AAAI,EAAS,HAAM;GAElB,AAAiB;GACV,FAAoB;MAIpB;;SAsBO,SAA+C;EAE1C;IAAQ,HAAO,cAAM,TAAmB;EAYrD;;MAKQ,SAA0C;EAErC;IAAQ,HAAO,cAAM,TAAmB;EAChD;EAEZ,SAAW;;;GAEV,DAAI,EAAiB,AAAQ,HAAQ,AAAI,AAExC,AAAY;;EAMP;;iBAKQ,IAoBf;CAAS,AAAgB;;WAOV,UA0Bf;CAAS,AAAU;;WAOJ,UAuBf;CAAS,AAAU;;UAsGJ,WAA2D;EAsB3D,cAEd;EAAI,EAAS,HAEZ,AAAS,KAIT,LAAS,AAAoB;;EAM/B,DAAW,AAAI;;;;OCl+BT,SAAgD;CACtD,EAAM,FAAU,AAAU;CAC1B,EAAiB,QAAiB,VAAE;;;;;OAG9B,KAAoC;EAC1C,AAAI,DAAW,EAAc;EAC7B,CAAM,FAAO;EACb,CAAM;EACC,KAAC,HAAO;;SAGT,GACN;EAAO,AAAI,EAAO,AAAQ,AAAK,AAAK,DAAI,FAAa,AAAI,KAAQ,AAAM;;OAuCjE,KAA6C;EAE3C;EACO,DAAU,AAAE,AAAS;;SAG9B,MACN;EAAe,DAAU,AAAE;;;;;;;kBCvBrB,AAAoD;CAIlD,EAAM,FAAc;CAE5B,CAAI,EAAK,HACO;CACT;;qBAGD,DAA8D;CACpE,CAAI,EAAO,AAAQ,AAAO,AAAK,AAAO,AAAQ,DAAM,FAAW;CAC/D,CAAI,EAAO,HAAO,EAAM;CACxB,CAAI,CAAM,FAAG;EACZ,CAAM,AAAW;EACjB,AAAI,CAAM,FAAI,EAAM;MACf,JAAI,CAAM,FACf,EAAM,AAAW,AAAM;CAGjB,AAAmB,AAAK;;sBAGzB,JAAqD;CACjD;CACV,CAAI,CAAI,FAAG;EACV,EAAK;EACL,AAAI,CAAI,FAAG,EAAI;;CAEhB,IAAO,FAAI,FACX;EACC,AAAY,DACJ;EACR;;CAEM;;qBAkBD,LAA4C;CAC1C,AAAU,AAAV;CACR,CAAI,EAAK,HAAY;CACrB,AAAS,AAAE;CACJ;;mBAGD,PACN;CAAO,KACA,AACA,IACI,CACT;EAAO,CAAe;OAEhB,IACN;EAAO,DAAa;;;;;;aCjCT,IAAoD;CACjE,UAAU;;;EACT,AAAI,EAAK,HACD;;CACF;;eAyFM,GAAyD;CAC9D;CACR,CAAI,EAAQ,HACX;WAAU;;;GACT;;MAED;WAAU;;;GACT,DAAI,DAAK,AACR;;;CACI;;OChKD,IACN;GAAS;;;;;KAQH,UAAyB;EAC0C,DAAC;EAC1E,AAAI,EAAK,HACR,EAAI,GAEJ,LAAE,EAAK;EACR,CAAI;EACJ;;KA4CM,MAAyB;EAC/B,AAAI,EAAK,HACD;EACA,DAAE;EACV,CAAI,FAAE;EACN,AAAI,EAAK,HACR,EAAI;EACL;EACO;;SAMD,EACN;EAAO,KAAC,HAAK;;QAuBP,IAAgC;EAC3B;EACH;EACR,GAAO,DAAK,HAAO;GAClB,DAAI,DAAE,GAAM,HAAI;IACf,FAAI,EAAQ,HACX,EAAI,FAAE,KAEN,LAAK,EAAK,FAAE;IACb,FAAI,EAAK,HACR,EAAI;IACL;IACO;;GAER,AAAO;GACP,AAAI,FAAE;;EAEA;;UAMD,CAkBN;EAAY,EACP,MACM,CACT;GAAe,IAAC,HAAc;OAExB,IACE;GACP,DAAI,EAAc,HACV;GACA,FAAW;GACnB,AAAa,FAAW;GACjB;;;;;;;;;;;;eC/KJ,JAAgB;CAEtB;CAEsB;CACd,GAAmB,DAAK;CACxB,GAAmB,DAAK;CACxB,EAAkB;CACA,EAAC,AAAQ,AAAI,AAAQ,AAAI,AAAQ;CAC/C;CAEZ,CAAI,CAAsB,FAEzB,EAAQ;CAID;CACK;CACL,EAAe,AAAI,AAAS;CACxB,EAAc,AAAI;CAEhB;CAEd,EAAU;CACV,AAA4B,AAAO;CACnC,AAA2B,AAAG,AAAG,AAAO;CACxC,AAAY;CACZ,AAAY;CACZ,AAAU;CAEV,EAAW;CACX,AAA6B,AAAO;CACpC,AAA4B,AAAG,AAAG,EAAQ,AAAU,FAAG,EAAS,AAAU;CAC1E,AAAa,EAAI;CACjB,AAAa,EAAI;CACjB,AAAkB;CAClB,AAAU;;;;;;oBAKJ,TAEN;EAAO;;WAKD,AAA4B;EAErB;EAEb,AAAI,CAAS,FAEL,KAIA;;UAOF,CAA2B;EAErB;EAEZ,AAAI,CAAQ,FAEJ,KAIA;;QAOF,GAAmB;;UAOnB,CAEN;CAAe,uBAAW;;UAKpB,uBAAyD;EAE3C,CAAc;EAElC,AAAI,CAAgB,FAEnB,EAAgB;EAIjB,DAAkB;;;;;;;mBClGE,DACpB;CAAe,AAA+C,AAAG;;gBAGpD,EACb;CAAO,GAAI;CAAE;;EAA4B;;;mBAGrB,KACpB;CAAE,EAAS;;sBAGS,JAAsE;CAC1F;CACO,CAAI,EAAK,HAAO,MAAyC,DAAW,JAAI,EAAoB,HAAC,EAAI,FAAiB,EAAO,FAAU,AAAE,KAAY,LAAE;;sBAGtI,EAAoF;CACxG;CACA,CAAI,EAAoB,HAAC,EAAI,FAAiB,EAAO,FAAU,AAAE,AAAK,KAAY,LAAE,EAAS,AAAyC;;qBAGlH,CACpB;CAAO,AAAW,AAAE;;iBAGP,LAA+C;CACpD;CACR,CAAI,EAAK,HAAc;EACD;EACrB;EACA,AAAI,EAAK,AAAY,AAAK,AAAoB,HAAoB,AAAG,AAAK,AAAO;EACjF;;CAEM;;qBAGM,TACb;CAAO,GAAuB,AAAc,HAAC,AAAC,AAAgB,GAAM,AAAe;;kBAGtE,JACb;CAAO,AAAE,GAAK,HAAM,KAAI,JAAC,DAAC,AAAM,EAAK,AAAM,FAAM,KAAI;;yBAGxC,TAA6D;CAC1E,CAAI,EAAM,HACF;CACR,CAAI,DAAC,AAAW,GAAO,HAAC,AAAW,AAC3B;CACD,GAAY,AAAY,AAAa,AAAa,AAAa;;sBAUzD,VACb;CAAO,GAAK,AAAQ,AAAc;;sBAGrB,JAAmE;CAChF,CAAI,DAAC,AAAS,AAAE,AAAgB;CAChC,AAAiB,AAAE;CACZ;;sBAWM,VACb;CAAO,UAAW;EACD,DAA2B;EACpC,DAAE;;;;;;aCtEG,DACb;CAAe,AAAqB,AAAE;;aAGlB,DACpB;CAAO,MAAK,JAAK;;eAGJ,HAA4C;CACzC,AAAmB,AAAG;CAEtC,CAAI,EAAK,AAAK,HAAC,AAAa,GAAM,AAAY,HAAa,GAAM,HAChE,EAAY,FAAmB;CAChC,CAAY,DAAgB,AACpB;CACI;;iBAGC,LACb;CAAe,AAAqB;;YCP9B,DAdR;CAEgB,AAFhB,EAEgB;;;;;KA2BD,OACb;IAAK;;QAyBQ,YACb;EAAK,AAAC,EAAO,HAAb,GAAoB,HAAS,AAAT,KAApB,FAAoC,HAAS,AAAK;;;;;;;wBCrDL,ZAQ5C;CAAO,AAAmB;;wBAiBkB,ZAQ5C;CAAO,AAAmB,AAAQ,AAAU;;yBA4BhC,NAA2D;CACxE,EAAI,FAAQ,AAAU,AAAe,AAAU,AAAc,AAAU;CAChE,AAAS,AAAS,AAAS,AAAgB,AAAU,KAAY;;yBA4B9B,PAM1C;CAAM,MAAE,HAAY,AAAgB,HAAS,AAAG,GAAiB;;sBAgCpD,NAAiD;CACtD,AAAc;CACf,MAAC,JAAI,CAAK,DAAI,CAAO,AAAK;;oBAYD,RAAsC;CAI9D;CACA;CACR,IAAO,FAAI,CAAK,HAAQ,AAAE,AACzB;CAED,CAAI,CAAI,FACA,AAAS,AAAG,EAAE,GAEd;;oBAawB,RAAsC;CAI9D;CACA;CACR,IAAO,FAAI,CAAK,HAAQ,AAAE,EAAE,AAAE,FAC7B;CAED,CAAI,CAAI,FACA,AAAS,AAAG,EAAE,GAEd;;mBAUkC,PAM1C;CAAO,AAAM,AAAM;;sBA2DN,HAYb;CAAO,AAAQ,AAAU;;kBAUZ,CAAuC;CAM3C;CACO;CACf,EAAG;EACF,CAAI,FAAgB,EAAE,AAAM;EAC5B,IAAO;MACC,HAAI;CAEd,CAAI,EAAU,HACb,IAAO,FAAW,FACjB,EAAI,AAAI;CACH;;yBAaa,PAiBpB;CAAO,AAAuB;;;;;gBCnUjB,JAAiD;CAC9D,CAAI,EAAK,HACD;CACD,AAAiB;;oBAcX,RAAqD;CAClC;CACzB,AAAO;;oBAQD,LAAgE;CACnD,AAAW;CAErC,CAAI,EAAM,AAAQ,HAAC,AAAgB,AAC3B;CACD;;mBAGM,JAA8D;CACzD,AAAW;CAE7B,CAAI,EAAK,AAAQ,HAAC,AAAe,AACzB;CACD;;sBAGM,JAA+E;CACpF;CAAR,KAAQ;KACH;EACG,EAAQ;KACX;EACG,EAAQ,HAAG,AAAK;KACnB;EACG,EAAQ,HAAG,AAAK,AAAG,AAAK;KAC3B;EACG,EAAQ,HAAG,AAAK,AAAG,AAAK,AAAG,AAAK;KACnC;EACG,EAAQ,HAAG,AAAK,AAAG,AAAK,AAAG,AAAK,AAAG,AAAK;KAC3C;EACG,EAAQ,HAAG,AAAK,AAAG,AAAK,AAAG,AAAK,AAAG,AAAK,AAAG,AAAK;KACnD;EACG,EAAQ,HAAG,AAAK,AAAG,AAAK,AAAG,AAAK,AAAG,AAAK,AAAG,AAAK,AAAG,AAAK;KAC3D;EACG,EAAQ,HAAG,AAAK,AAAG,AAAK,AAAG,AAAK,AAAG,AAAK,AAAG,AAAK,AAAG,AAAK,AAAG,AAAK;KACnE;EACG,EAAQ,HAAG,AAAK,AAAG,AAAK,AAAG,AAAK,AAAG,AAAK,AAAG,AAAK,AAAG,AAAK,AAAG,AAAK,AAAG,AAAK;;EAE/E,IAAM;;CAEA;;kBAQM,QAAqF;CAC1F,AAAc,AAAE;CACxB,CAAI,EAAK,HAAO,KAAM,HAAuB;CAC7C,CAAI,DAAmB,AAAK;EAC3B,AAAI,EAAU,HAAO,KAAM,HAAe,AAAO;EAC1C,KAAqB,NAAF,AAAI;;CAE/B,CAAI,EAAU,AAAQ,AAAiB,HACtC,KAAM,HAAe,AAAO;CACtB;;uBAGM,EAAsF;CAClF,EAAS,FAAkB;CAC5C,CAAI,EAAK,HAAO,KAAM,HAAM;CACrB,AAAW,AAAE,AAAE;;sBAWT,VAA8D;CACnE,AAAe;CACvB,AAAS;CACT,AAAS;CACT,AAAS;CACT,AAAS;CACT,AAAS;CACF;;cAsCM,AAAkD;CAC/D,CAAI,EAAK,HACD;CACR,GAAI;EACH,AAAI,DAAE,GAAM,HAAE,AACN;EACE;EAAI;EAAd;;GACC,DAAI,DAAC,AAAO,AAAE,AAAG,AAAE,AACX;;EACD;EACR,AAAI,EAAK,AAAc,AAAK,HACpB;;EAED;;CAED;;;MClJA,KAAsB;;;;;;;;;;;YAJhB,EACb;CAAO,AAAsB;;oBAMhB,LAA8C;CACnD;CACR,EAAa;CACb,EAAc;CACd,EAAgB;CAChB,AAAgB;CACT;;mBAGM,JAA6C;CAClD;CACR,EAAa;CACb,AAAiB;CACV;;kBAGM,HAA4C;CACjD;CACR,EAAa;CACb,AAAiB;CACV;;oBAGM,LAA8C;CACnD;CACR,EAAa;CACb,AAAiB;CACV;;oBAGM,LAA8C;CACnD;CACR,EAAa;CACb,AAAiB;CACV;;kCAGM,nBAA4D;CACjE;CACR,EAAa;CACb,AAAiB;CACV;;qBAGM,VAAgC;CACrC;CACR,EAAa;CACb,EAAc;CACP;;;cAGA,HAAiC;EACxC,AAAI,EAAY,HACf,KAAM;EACA;;cAGA,FAA6C;EACpD,AAAI,EAAY,HACf,KAAM;EACA,CAAY;;eASZ,HAA8C;EACrD,AAAI,EAAY,AAAe,AAAY,HAC1C,KAAM;EACA,CAAa;;KAOd,SAAsC;EAC5C,AAAI,EAAY,HACf,KAAM;EACA,DAAiB;;KAGlB,eAAoD;EAC1D,AAAI,EAAY,HACf,KAAM;EACP,DAAiB,AAAK;;QAShB,MAAuC;EAC7C,AAAI,EAAY,HACf,KAAM;EACA,DAAoB;;UASrB,CAAoC;EAC1C,AAAI,EAAa,HAAO,KAAM;EACf,IACT,FACF,MACO,CACT;GAAO,AAAe;OAEhB,IACN;GAAO,FAAW;;;UAKd,CAAoC;EAC1C,AAAI,EAAa,HAAO,KAAM;EACf,IACT,FACF,MACO,CAAW;GACZ;GACA;GACR,EAAO,FAAI,FAAI;IACd,FAAI,DAAW,GAAe,HAC7B;IACD,AAAK;;GAEN,AAAe;GACR,AAAI;OAEL,IAAW;GACT;GACA;GACR,EAAO,FAAI,FAAI;IACN,HAAW;IACnB,AAAK;IACL,FAAI,EAAc,HAAc;KAC/B,FAAe;KACR;;;GAGF;;;eAKH,AAAwD;EAC9D,AAAI,EAAa,HAAO,KAAM;EACf,IACT,FACF,MACO,CAAW;GACZ;GACA;GACR,EAAO,FAAI,FAAI;IACN,HAAW;IACnB,FAAI,EAAc,AAAe,AAAe,HAC/C;IACD;;GAED,AAAe;GACR,AAAI;OAEL,IAAW;GACT;GACA;GACR,EAAO,FAAI,FAAI;IACN,HAAW;IACnB;IACA,FAAI,EAAc,AAAe,AAAe,HAAO;KACtD,FAAe;KACR;;;GAGF;;;cAUH,HAA8B;EACpC,AAAI,EAAa,HAAO,KAAM;EACpB;EACF;EACR,GAAO,FAAM,FAAI;GACR,FAAU;GAClB,DAAI,EAAc,HACV;GACR;;EAEM;;UAGD,EAAoC;EAC1C,AAAI,EAAa,HAAO,KAAM;EAC9B,AAAI,EAAa,HAAO,AAA2B;EACnD,CAAY;EACZ,DAAgB;;UAkBV,CAA6B;EACnC,AAAI,EAAY,HACR,AAAuB;EAC/B,AAAI,EAAY,HACR,EAAY,AAAW;EAC/B,AAAI,EAAY,HACR,EAAO,AAAW;EAC1B,AAAI,EAAY,HACR,EAAa,AAAW;EAChC,AAAI,EAAY,HACR,EAAK,AAAW;EAChB;EAER,AAAI,EAAY,HAAc;GAC7B;GACA,FAAM;GACN,QAAU;;;IACT;IACM,HAAN,GAAM,EAAN,FAAM;IACN;IACA,HAAM,AAAgB;IACtB;;GAED,DAAI,EAAoB,HAAI;IAC3B;IACO;;GAER;;EAGD,SAAU;;;GACT,FAAM;;EAEP,AAAI,EAAY,HAAc;GAC7B;GACA,FAAM;GACN;;EAEM;;;;;;;;;;;;;;;;;0CCtRA,/BACR;CACC,EAAW;CACX;;;;;sDAoBa,3CACd;CACC,CAAK,EAAY,HAAO,EAAW;CAC5B;;;;kBAbA,PACR;EACC;EACA;EACA;;sBAyBO,XACR;EACC,AAAK,EAAc,HAAO;EAC1B,CAAa;;iBAwBN,NACR;EACC,AAAK,EAAS,HAAO;EACrB,CAAQ;;gBAqBD,LACR;EACC,AAAK,EAAQ,HAAO;EACpB,CAAO;;iBAMD,0BAEN;CAA4B,AAAkB;;eAMxC,YAEN;CAA0B;;YAMpB,eAEN;EAAO,DAAuB;;eAMxB,CAEN;CAAsB;;eAMhB,KAEN;EAAO,DAAqB;;aAMtB,OACP;EACqB;EACpB,AAAK,EAAS,HAAO,EAAQ,FAAmB;EACzC;;UAMD,UAEN;EAAO,DAAgB;;kBAMjB,CAEN;EAAK,EAAQ,HAAO,AAAuB;;kBAMrC,KAEN;EAAO,DAAuB;;gBAMxB,OACP;EAC2B;EAC1B,AAAK,EAAQ,HAAO,EAAW,FAAqB;EAC7C;;aAMD,UAEN;EAAO,DAAkB;;kBASnB,mBAEN;CAAiB,mDAAkB,nDAAkB,AAAM;;iBAMrD,MAEN;EAAK,EAAQ,HAAO,AAAsB;;;;uCCzOxC;;;;;;mDAkCkB,xCAA2C;CACrD,CAAK,EAAY,HACf,EAAW;CACN;;;;sBAIM,XACjB;EACI;EACA,DAAiB,AAAS;;SAIvB,KAEN;CAAkB,AAAS;;;;;;;2CCvDlB,hCACV;GAAiB;;wCAGN,xBAA0D;;;;;;;;;8CCkBrE,nCAEN;GAAS;;;;;;kBASH,mBAEN;CAAyB,AAAkB,AAAM;;;;;;;;;;;kDC1BnD;;;;;;;;SASQ,cACP;;;;;qDCHG;;;;;;;SAMoB,MAChB;EACL,KAAM,NAAN;EACA,CAAI,YAAK,dAAqB;EAC9B,CAAI,YAAK,dAAqB;EAC9B,CAAG,YAAK,dAAqB;EAC7B,CAAc,YAAK,dAAwB;EAEf;EAC5B,SAAoB;;;GACnB,FAAY;;;aAMN,GACP;IAAG;GACa;;eAAK;GAAL,FAAkC,AAAlC;GACQ,qDAAqB,vDAAW;GAEvD,DAAG,EAAK,HAAM;IACD,HAAW,EAAU;IACjC,HAAS;MACH;IACqB,HAAiB,EAAU,FAAc;IAC9D,sBAAY;IAClB,HAAY;;GAGH,kDAA6B,pDAAa;GACpD,FAAwB;GACxB,FAA6B;GAC7B,FAAoB;GACpB,FAAI,AAAa;GACjB,FAAI,AAAa;GACjB,FAAQ,AAAa;GACrB,FAAS,AAAa;GACtB,AAAe;GACf,AAAgB;GAChB,AAAa;;GAIb,IAAM,NAAW,AAAjB;;;;;iDCvCK,tCACN;;;;;;;SAGqB,MAChB;EACL,KAAO,NAAP;EAEA,CAAI,YAAK,dAAqB;EAC9B,CAAG,YAAK,dAAqB;EAC7B,CAAc,YAAK,dAAwB;EAChC;eAAK;EAKQ,CAAU;EACpB,DAAmB;EACzB;CAAE,GAAW,HAAS,AAAqB,AAAQ,KAAO;EAElE,DAAO;EAEP,AAAG;;CAAgB;GAAhB,FAA4B;;IAAS,HAEvC,AAA6B,AAAE,KAG/B,LAA6B,AAAE;EAIvB,uCAAiB,xCAAO;EACjC,DAAwB;EACxB;EAEe,DAAkB;EAEjC,AAAI,CAAkB,FACrB;WAAkB;;;IAEjB,HAAW,AAAkB,AAAU;;;EAIjC;eAAK,dAAqB;EACrB;EACb;GAAmB,FAAS;GAA5B,AAAmB,FAAnB;;GACC,FAAiC;GACjC,FAA8B;;EAU/B;;WAEO,KAA6C;EAEpC;;eAAK;EAAL,DAAkC,AAAlC;EAOT;EAIN,AAAG,EAAK,HAAM;GACD,FAAW,EAAU;GACjC,FAAS;MACH;GACqB,FAAiB,EAAU,FAAc;GAC9D,uBAAY;GAClB,FAAY;;EAEb;EACA,AAAG,DACF,EAAO,FAAW,KAElB,HAAQ;EAE0B,qDAA8B,tDAAa,AAAW,AAAiB;EAC1G,DAAqB;EACX,iDAA2B,lDAAa,AAAE;EACpD,DAAwB;EAExB,DAAI,AAAa;EACjB,DAAI,AAAa;EACjB,DAAQ,AAAa;EACrB,DAAS,AAAa;EACtB,CAAO;EACP,DAAO;EACP,AAAG,EAAQ,HAAU;GAEpB,AAAe;GACf,AAAgB;GAChB,AAAa;;EAEP;;;;kDChHP;;;;;;;cAMM,IAAiD;EAE/B;EACzB,DAAM,AAAK;EACX,DAAM,AAAiB;EACvB,DAAiB,AAAiC;;SAE7B,MAChB;EADgB;EAErB,KAAM,AAAC,JAA2B,FAAlC;EACA,CAAG,YAAK,dAAqB;EAE7B,AAAG,EAAe,HAA0B;EAE5C,CAAI,YAAK,dAAqB;EAC9B,CAAc,YAAK,dAAwB;EAChC;eAAK;EAChB;EACqB;;CAAyB;EAC9C,DAAY;EACZ,IAAO;KACD;GAES;GACb,DAAI,EAAY,HAAK;IACpB,HAAa,AAAW;IACxB,DAAa,YAAU,dAA6B,EAAW;IAC/D,GAAM,JAAY,FAA6B,AAA/C;IACA,DAAmB,QAAe;KACjC;KACA,JAAiB,AAA+B;KAChD,JAAiB,AAAuC;KACxD,JAAiB,AAAoC,AAAa;KAClE,JAAiB,AAA8B,AAAa;KAE5D,JAAuB,AAAa;KACpC,JAAY;;;;KAIV;GAES;GACb,DAAI,EAAY,HAAK;IACpB,HAAa,AAAW;IACxB,DAAa,YAAU,dAA6B,EAAW;IAC/D,GAAM,JAAY,FAA6B,AAA/C;IACA,DAAmB,QAAe;KACjC;KACA,JAAiB,AAA+B;KAChD,JAAiB,AAAuC;KACxD,JAAiB,AAAoC,AAAa;KAClE,JAAiB,AAA8B,AAAa;KAE5D,JAAuB,AAAa;KACpC,JAAY;;;;;GAMR,FAAgB;GACL,FAAM,GAAS;GAGhC,DAAG,EAAK,HAEP;EAAG,DAAC,AAAQ;KACX,JAAa,AAAW;KACxB,FAAa,YAAU,dAA6B,EAAW;KAC/D,EAAM,JAAY,FAA6B,AAA/C;KACA,FAAmB,QAAe;MACjC;MACA,LAAiB,AAA+B;MAChD,LAAiB,AAAuC;MACxD,LAAiB,AAAoC,AAAM;MAC3D,LAAiB,AAA8B,AAAM;MAErD,LAAuB,AAAM;MAC7B,LAAY;;MAEP;KAEN,JAAiB,AAAoC,AAAM;KAC3D,JAAiB,AAA8B,AAAM;KACrD,JAAY;;;;;;;yDCzGf;;;;;;;SAIoB,MAChB;EACL,KAAO,NAAP;EACQ;eAAK,dAAqB;EACvB;eAAK;EACL,DAAkB;EAG7B,AAAI,CAAc,FACjB;WAAkB;;;IACjB,GAAM,JAAiB,FAAvB;IACA,HAAsB;;;;;;iDCVvB;;;;;;;SAGoB,MAChB;EACL,KAAO,NAAP;EACA,DAAiB;EACjB,DAAiB,AAA6B;EAC9C,DAAiB,AAAoC;;;;0DCJpD;;;;;;;SAIoB,MAChB;EACL,KAAO,NAAP;EACmB;eAAK,dAAqB;EAEjC;eAAK;EAEjB,AAAG,EAAS,HAAM;GACQ;eAAK,dAAqB;GACnD,FAAY,AAAuB;;;;;sDCtBnC;;;;;;;SAIoB,MAChB;EACL,KAAO,NAAP;EACQ;eAAK,dAAqB;EACvB;eAAK;EACL,DAAkB;EAE7B,AAAI,CAAc,FACjB;WAAkB;;;IACjB,GAAM,JAAgB,AAAkB,AAAI,FAA5C;IACQ,HAAiB,EAAU;IACnC,HAAwB,yCAAkB,zCAAiB;IAC3D,FAAG,EAAwB,HAC1B,AAAiB,AAA8B;;;;;;kDCPjD;;;;;;;SAKoB,MAChB;EACM;eAAK;EAEhB,CAAI,YAAK,dAAqB;EAC9B,CAAc,YAAK,dAAwB;EAC3C,CAAI,YAAK,dAAqB;EAKb;eAAK,dAAwB;EACjC;eAAK;EAIlB,GAAM,FAAc,FAAE;GACV,FAAa;GACxB,DAAG,DAAmB,AACrB,AAAsB;GAEvB,DAAG,DAAgB,AAClB,AAAmB;GAEpB,FAAc;GACd,AAAM;;EAIP,CAAa;EACb,DAAsB;EAGtB,DAAgC;EAChC,CAAE;;;;6DCxCD;;;;;;;SAGa,MACT;EAEL,DAAuB,AAAgC;EACvD,DAAuB,AAAqC;EAC5D,DAAuB,AAAiC;EACxD,DAAuB,AAA6B;EACpD,DAAuB,AAA8B;EACrD,DAAuB,AAA8B;EAErD,DAAuB,AAA+B;EACtD,DAAuB,AAAgC;EAEvD,DAAuB,AAAmC;EAC1D,DAAuB,AAAsC;;;;qDC3B5D;;;;;;;SAGa,MACT;EAEqB;eAAM;EACM,8CAAwB;EAC9D,DAAwB;;;;yDCHvB;;;;;;;SAIoB,MAChB;EAEL,DAAqB;EACrB,DAAqB;EACrB,DAAqB;EAEd;EACP,DAAqB;EAErB,DAAW;;;;iDCcN,tCACP;CACC;CACA,EAAc;CACd;;;;;;;wBAaO,bACR;;eASQ,WAEP;CAAiB;;SASX,cAEN;KAAQ,JAAC,AACT;GACwC;GACP,FAAqB,AAAiB;GACtE,FAAyB;;;;;+CC5ExB;;;;;;;wBAIqB,bACjB;EAEL,DAAc;EACd,DAAc;EACd,DAAc;;;;oDCPb;;;;;;;SAGoB,MAChB;EACL,KAAO,NAAP;EACA,AAAG,DAAgB,AAAkB;GAEpC;GACA,AAAE,YAAK,dAAqB;GAC5B;;;;;mDCdA;;;;;;;SAOoB,MAChB;EAEL;EACA,AAAG,DAAC,AAAgB,AAAkB;GAErC,AAAE;GACF,FAAqB;MAGrB,HAAE,YAAK,dAAqB;EAEhB;eAAK;EAClB,DAAa;;;;;;;;;;;wCCGR,fACP;CACC;CACiB,CAAI,EAAa,HAAlC,EAAyC,GAAzC,HAAwD;CACxD,CAAK,EAAQ,HAAO,AAAS;;;;;;;cAMvB,HAEN;EAAO;;SAMD,MAEN;GAAY;;SAMN,EAEN;EAAO;;YAMD,DACP;;UAOO,CACP;;;;;qDC3DQ;;CAEC,AAAO;CACb,EAAU;CACV,EAAY;;;;;;;;iDCHP,tCACP;CACQ,AAAQ;CAEd,EAAS;;;;;;aAGJ,FAEN;EAAO;;iBAED,LACN;CAAc;;;;uCCNR,5BACP;CACQ,AAAQ;CACd,EAAY;;;;;;SAOP,KAAiC;EAM/B,DAAgB;EACxB,DAAgB,AAAM;EAEtB,DAAsB,AAAgC;;qBAEhD,PAAgD;EAGhD,DAAgB;EACtB,DAAmB;EACZ;;SAED,IAAkC;EAC5B,DAAe;EACpB;;eAGD;;EACqB,DAAqB,AAAG;EAC5C;;eAOD,JAIN;CAAsB;;;;4CCxChB,jCAEN;CAAQ;;;;;;SAIF,QAA+B;EACpC,CAAY;EACZ,CAAU;EACX,CAAgB;EAChB,CAAY;EACZ,CAAU,FAAU;EACpB,CAAO,eAAkB;EAEzB;;gBAEM,LACN;EAAO,DAAS;;gBAIV,DACN;EAAS;EAAI;EAAb,DAA6B;GAA7B;GACC,DAAG,DAAS,AAAO,GAAO,HAAG;;;;oBAMxB,PACN;EAAS;EAAI;EAAb,DAA6B;GAA7B;GACC,DAAG,DAAS,AAAO,GAAO,HACzB,EAAY;;;aAIR,AAAmD;EAChD;EAAI;EAAb,DAA6B;GAA7B;GACC,DAAG,DAAS,AAAO,GAAO,HAClB,AAAS;;EAIX;;aAED,FAA0C;EAEtC;EAEV,GAAM,JAAC,EAAY,AAAG,FAErB,CAAG,DAAS,EAAY,FAAO,GAAS,HAEhC,AAAS,EAAY,GAG5B;EAIK;;iBAID,NAA8C;EAE1C;EAEV,GAAM,JAAC,EAAY,CAAI,HAEtB,CAAG,DAAS,EAAY,FAAO,GAAS,HAEhC,AAAS,EAAY,GAG5B;EAIK;;0BAGD,TAAoD;EAEpD,DAAQ;EAGd,AAAG,DAAC,GAAG,AAAO,AAAC,HAAM,GAAsB,HACnC,AAAM,KAEN;;eAGF,EAAgD;EAChD,DAAQ;EACd,AAAI,DAAC,GAAG,AAAO,AAAC,HAAM,GAAW,HAEzB,AAAM,KAIN;;eAGF,EAAgD;EAChD,DAAQ;EACd,AAAI,DAAC,GAAG,AAAO,AAAC,HAAM,GAAW,HAEzB,AAAM,KAGN;;gBAGF,LAAoC;EAE1C,AAAI,DACI;EAED;;gBAED,IAAgD;EACtD,AAAI,DACH;WAAY;;;IAEX,FAAG,EAAa,HACR;;;EAKH;;cAED,MAA8C;EACpD,AAAI,DACH;WAAY;;;IAEX,FAAG,EAAa,HACR;;;EAKH;;SAEA,QAAmD;EAC1D;EAAgB;EAAhB,CAAgB,FAAS;GAAzB,AAAgB,FAAhB;;GACC,DAAG,DAAa,GAAO,HACf;;EAGF;;aAED,DACN;EAAO,DAAgB;;UAEjB,CACN;EAAO;;UAGA,CAAwB;EAC/B,CAAS;EAET,CAAW;EAIX,SAAgB;;;GACa;GAC5B,DAAG,DAAiB;IAAW;IAAX,HAAM,AAAN;;GAGpB,DAAG,DAAkB;IAAY;IAAZ,HAAM,AAAN;;GACrB,DAAG,DAAmB;IAAa;IAAb,HAAM,AAAN;;GACtB,DAAG,DAAgC;IAA0B;IAA1B,HAAM,AAAN;;GACnC,DAAG,DAA+B;IAAyB;IAAzB,HAAM,AAAN;;GAClC,DAAG,DAGF;IAAe;IAAf,HAAM,AAAN;;GAED,DAAG,DAEF;IAAe;IAAf,HAAM,AAAN;;GAKD,FAAc;;EAKf,DAAiB;;cAIX,FACN;EAAO,DAAY;;UAIb,CAEN;EAAO;;;;;;;;;;;sCChND,3BACP;CACO,AAAQ;CACd,EAAa;;;;;;UAEP,EAEN;GAAa;;UAEP,CACN;EAAO;;;;uCChBD,5BAEC;CAAQ;;;;;;YAGT;;EAEN,CAAQ,YAAU;EAClB,CAAc;;WAER,AACN;;;aAEO,FAEP;CAAiB;;aAEX,DACN;GAAS;;;;;;;;;;;8CCVJ,TACP;CACC;CACoB,CAAI,EAAgB,HAAxC,EAA+C,GAA/C,HAAiE;CACjE,CAAI,EAAiB,HACpB,EAAqB;;;;;;;iBAOhB,NAEN;EAAO;;kBAMD,MAEN;GAAqB;;kBAMf,PAEN;EAAO;;2BAOD,hBAEN;EAAO;;oBAUD,GACP;;YAOO,DACP;;UAMO,CACP;;;;;iDCtEQ,jBAAuF;CAC7F,AAAO,AAAI;CACX,EAAY;CACZ;;;;;;cAIO,HAA4B;EAGlC,DAAyB,AAAiB;EAE1C,CAAqB;EACrB,AAAG,EAAM,HAAS;GAEjB,AAAsB;GACtB,AAAmB;;;gBAId,JAA0C;EAC3C;EACN,KAAM,NAAN;EAGO;EAAP,IAAO;KAQD;GACI;eAAK,dAAqB;GAEH,FAAoB;GAEnD;GAAkB,FAAa;IAA/B,DAAkB,FAAlB;;IAE+B,HAAiB;IAExC,HAAY;IAAnB,EAAO;KACD;KACJ,JAAiB,AAA+B,AAAY;;KACxD;KACJ,JAAiB,AAA+B,AAAY;;KACxD;KACJ,JAAiB,AAA+B;;KAC5C;KACJ,JAAiB,AAA+B;;KAC5C;KACJ,JAAiB,AAA8B,AAAY;;;;;;;2BAcjD,hBAEN;EAAO,DACd,AACA,AACA,AACA;;oBAImB,LAEZ;EAAS;EAAT,IAAS;KAEH;;KAET;GACJ,FAAyB,AAAkB;;KACvC;GACJ,FAAyB,AAAkB;;KACvC;GACJ,FAA4B,AAAkB;GAC9C,FAA4B,AAAkB;;;;WAMzC,CAGL;CAAU,EAAU;;YAGf,AAGL;CAAU,EAAU;;OAEf,IAGP;EAAO;;;;8CC9GD,tBACN;CAAO,AAAM;;;;;;2BAKE,hBACf;EAAO,DACP;;kBAQM;;EACN,AAAG,EAAO,HACT,AAAkB,KAGlB,LAAoB,AAAE;;qBAgBjB,TACN;CAAqB;;cAEf,HACN;EAAU;EAAI;EAAd;;;;UAIM,EACN;EAAO,DAAuB;;oBAGf,LACf;EAAS;EAAT,IAAS;KAEH;GAEJ,FAAwB,cAAK;;;;QASzB,GACN;EAAO,aAAK;;;;mDCtEN,xBAA0D;CAChE,AAAO,AAAI;CACX;;;;;;cAGO,HAA4B;EACnC,DAA2B,AAAiB;EAC5C,DAA2B,AAAsB;EACjD,DAA2B,AAAoB;EAC/C,DAA2B,AAAqB;;aAEzC,DAAuC;EACxC;EACC;EAAP,IAAO;KACD;GAGJ,FAAiB;;KACb;GAEJ,FAAiB;;;;WAIZ,CAAqC;EACtC;EACC;EAAP,IAAO;KACD;GAEJ,FAAiB;;KACb;GACJ,FAAiB;;;;kBAGZ,NAA4C;EAC7C;EAGyB,DAAe;EAK9C;GAAkB,FAAa;GAA/B,AAAkB,FAAlB;;GAE+B,FAAiB;GAExC,FAAY;GAAnB,GAAO;KACD;IACJ,HAAiB,AAA+B,AAAY;;KACxD;IACJ,HAAiB,AAA+B,AAAY;;KACxD;IACJ,HAAiB,AAA+B;;KAC5C;IACJ,HAAiB,AAA+B;;;;;SAc5C,EAGP;EAAO;;;;uCCxED,ZACN;CAAO,AAAI;;;;;;2BAKI,hBACd;EAAO,DACN;;oBAGa,LACf;EAAS;EAAT,IAAS;KAEM;GACa;GAC1B,DAAG,DAAC,AAAO,GAAO,AAAe,AAAC,HAAO,GAAmB,HAC3D,KACM,JAAI,DAAC,AAAO,GAAO,AAAe,AAAC,HAAO,GAAmB,HACnE;;;;MAMI,KAGP;EAAO;;;;wCC5BD,lBAA2C;CACjD,AAAO,AAAI;CACX,EAAQ;;;;;;cAKD,HAA4B;;2BAKpB,hBAEN;EAAO,DACd;;oBAImB,LAEZ;EAAS;EAAT,IAAS;KAEH;GAEb,DAAI,EAAmB,HACtB;EAAG,EAAI,HAAK;KACX;KACA,FAAG;MAEH,HAAG;;;;;OAQA,IAGP;EAAO;;;;;oDCvCF,zCAAgB;CACtB;CAEA,EAAa;;;;;;WAGP,IAA+B;EACrC,CAAmB;EACnB,DAAS;;QAEH,IAA+B;EAC3B,aAAS;EACnB,DAAW;;;;sDCfL,rCAA6B;CACnC;CAEA,EAAY;;;;;;WAGN,IAA+B;EACrC,CAAmB;EACnB,DAAS;;QAEH,IAA+B;EAC3B,aAAS;EACnB,DAAW;;;;mDCfL,xCAAgB;CACtB;CACA,EAAS;CAET,MAAM,NAAN;CACA,AAAW;;;;;;UAGL,QAAgD;EACtD,DAAc;EACd,DAAa,AAAI;;MAMX,KAAoB;;cAMpB,HAA4B;EAClC,KAAM,JAAU,FAAhB;EACA,DAAe,AAAM,AAAG,OAAS,PAAK,AAAa;;eAM7C,JAA6B;EACnC,KAAM,JAAU,FAAhB;EACA,DAAe,AAAM,AAAG,OAAS,PAAK,AAAa;;;;;qDC5B9C,1CAAc;;;;;;;;aCDb,KAEN;GAAO,oBAAa,tBAAW;;;;;QAKzB;;;;;EAEO;EACb;EACA,DAAkB,AAAG;EAErB,AAAI,CAAQ,CAAM,DAAS,FAE1B,AAAc,EAAQ,FAAY,EAAS;EAI7B,yBAAiB;EAChC,DAAiB,AAAU;;;;;iBCtBnB,NAAe;;;;;cACf,HAA0B;EAAO;;MACjC,qBAA4C;;mBAC5C,JAA0C;;WAE5C,WAA2C;;SACzC,EAAmB;;WAEnB,KAAoC;;cACpC,HAAwB;;QAExB,UAAsC;;QACtC,UAAsC;;SACtC,mBAA6D;;YAE7D,GAA+B;;KAE/B,MAAe;;;;sBChBd,XACP;CACG;CACA,EAAW;;;;;;KAGd,OACA;EACG,AAAI,DAAS,EAAG,FAAiB;EACjC,AAAI,DAAS,EAAE,AAAG,FAAiB;EAC5B,CAAE;;WAIZ,CAEG;EAAO,CAAgB,FAAI,EAAO,AAAM,FAAI,EAAO,AAAM,FAAI,EAAO,AAAM,FAAI,EAAO,AAAM,FAAI,EAAQ,AAAM,FAAI,EAAQ;;mBAI7G,JAEb;CAAc,EAAyB,AAAY,AAAM,AAAc,AAAO,AAAc,AAC3E,AAAc,AAAO,FAAU,EAAe,AAAO,AAAc,AACnE,AAAa,AAAO,AAAc;;WAGxC,WAEX;CAAc,EAAiB,AAAQ,AAAM,FAAI,EAAU;;SAE9C,EAAqB;CAAc;;WAGnC,KAEb;CAAc,EAAe,FAAI,EAAiB,AAAI,AAAY,AAAI,FAAI,EAAa,AAAM,AAAqB,AAC3F,AAAkB,AAAM,AAAkB,AAAM,AAAmB,AAAM,FAAI;;cAIvF,HAA0B;CAAc;;QAExC,UACX;CAAc,EAAc,AAAM,AAAM,AAAM;;QACnC,UACX;CAAc,EAAc,AAAM,AAAM,AAAM;;SACnC,mBACX;CAAc,EAAe,AAAO,AAAM,AAAO,AAAM,AAAM,AAAM,AAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBCpBvE;;CAEH;CACS,GAAU,HAAnB,EAA0B,GAA1B,HAA4C;;;;;iCA0BlC,dACd;CACG,CAAI,EAAW,HACZ,EAAY,sBAAa,xBAAuB;CAI7B;CACtB,AAAgB;CAOT,uBAAa;;;;UAtChB,CAGN;EAAO;;KAsCQ,MAAiB;CAAiB;;SAQ3C,OACP;EACG,CAAkB;EAClB,GAAM,JAEH;GAAO;GAAP,GAAO;KAEC;IACF;KAEE;IACM;IACA;IACR,HAAW,AAAE;;KAEX;IACQ;IACE;IACZ,HAAgB,AAAI;;KAElB;IACQ;IACX,DAAY,FAAqB,AAAa;IACpC;IACD;IAAT,DAAa,FACb;KADA;KAEG,JAAiB;KACjB,JAAiB,EAAkB;KACnC,JAAiB;;IAEpB,DAAgB;IAChB,DAAgB;IAChB,DAAgB;IAChB,DAAgB;IAChB,DAAiB;IACjB,DAAiB;IACjB,DAAc,FAAc;IAC5B,DAAc,FAAqB;IACnC,DAAa;IACb,HAAwB;;KAErB;IACH;;KAEG;IACS;IACZ,DAAkB;IAClB,DAAc;IACd,DAAc;IACd,DAAqB,AAAoB;IACzC,DAAkB,FAAW;IAC7B,DAAkB,FAAW;IAC7B,DAAmB,FAAY;IAC/B,DAAmB;IACnB,HAAgB;;KAEb;IACH;;KAEG;IACK;IACA;IACR,HAAa,AAAE;;KAEZ;IACK;IACA;IACR,HAAa,AAAE;;KAEZ;IACM;IACA;IACD;IACA;IACR,HAAc,AAAG,AAAG,AAAE;;;IAEtB,EAAM;;;;MAMD,qBAChB;EACG,DAAiB;EACjB,DAAkB;EAClB,DAAkB;;aAGd,GAEH;CAAiB,EAAM,FAAI,AAAI,EAAM,FAAQ,AAAM,AAAQ,EAAR;;UAEvD,MACA;EACG,DAAiB,AAAC,GAAO,DAAM;EAC/B,DAAiB,AAAC,GAAO,DAAK;EAC9B,DAAiB,EAAU;;SAE9B,EACA;EACW;EACA;EACA;EACD,KAAC,HAAG,DAAM,AAAC,CAAG,DAAK;;mBAKb,JAChB;EACG,DAAiB;EACjB,DAAiB,AAAe,AAAf;EACjB,DAAiB;EACR;EAAI;EAAb,DACA;GADA;GAEI,FAAkD;;GAAQ,FAAY;IAApB;;;GAClD,FAAY,AAAY,EAAG;GAC3B,FAAY,AAAY;;EAE5B,DAAkB;EAClB,DAAkB;EAClB,DAAkB;EAClB,DAAkB;EAClB,DAAkB;EAClB,DAAkB;EAClB,DAAiB,AAAe,AAAf;EACjB,DAAiB,AAAe,AAAf;EACjB,DAAkB;;WAGP,WACd;EACG,DAAiB;EACjB,DAAS;EACT,DAAkB;;SAEL,EAEb;CAAiB;;WAGJ,KAChB;EACG,DAAiB;EACjB,DAAkB;EAClB,DAAS;EACT,DAAkB;EAClB,DAAiB,AAAmB,AAAE;EACtC,DAAiB,AAAe,AAAf;EACjB,DAAiB,AAAe,AAAf;EACjB,DAAiB,AAAe,AAAf;EACjB,DAAkB;;cAGL,HAEb;CAAiB;;QAGJ,UAChB;EACG,DAAiB;EACjB,DAAkB;EAClB,DAAkB;;QAGL,UAChB;EACG,DAAiB;EACjB,DAAkB;EAClB,DAAkB;;SAGL,mBAChB;EACG,DAAiB;EACjB,DAAkB;EAClB,DAAkB;EAClB,DAAkB;EAClB,DAAkB;;;;uBC7Qd,ZACP;CACE;CACA,EAAS;;;;;;WAGX,OACA;EACG,AAAI,EAAQ,HACZ;GACG,AAAS,uBAAc,zBAAI,AAAI,AAAE;GACjC;;EAEH,AAAI,CAAI,FAAa,AAAc;EACnC,AAAI,CAAI,FAAc,AAAe;EACrC,AAAI,CAAI,FAAY,AAAa;EACjC,AAAI,CAAI,FAAe,AAAgB;;cAI1B,HAA0B;EAAO;;QACjC,UAEb;CAAU,AAAI;;QAED,UAEb;CAAU,AAAI;;SAED,mBAChB;EACG,DAAU,AAAK;EACf,DAAU,AAAI;;;;yBCzBV,JACP;CACE;CACA,EAAW;;;;;;mBAGG,JAEb;CAA2B,AAAU,AAAY,AAAY,AAAY,AAAY,AAAY,AAAY;;WAGlG,WAA6C;CAAmB,AAAM;;SACpE,EAAqB;;;WAErB,KAEb;CAAmB,AAAgB,AAAY,AAAY,AAAmB,AAAgB,AAAgB,AAAiB;;cAElH,HAA0B;;;QAE1B,UAAwC;CAAgB,AAAI;;QAC5D,UAAwC;CAAgB,AAAI;;SAC5D,mBACZ;CAAiB,AAAK,AAAK,AAAI;;;;2BC/B5B,hBAAiB;;;;;;;cAER,HAA0B;EAAO;;YACjC,KAAmC;EAAI,EAAM,HAAM,EAAO;;;;sBCCnE,XACP;CACG,EAAO;CACP,EAAS;CACT,EAAS;CACT,EAAS;CACT,EAAS;CACT,EAAS;CACT,EAAS;CACT,EAAQ;;;;;;;uBCJJ,ZACP;CACG,EAAY;CACZ,EAAQ;CACR,EAAQ;CACR,EAAe;CACf,EAAY;CACZ,EAAY;CACZ,EAAa;CACb,EAAa;;;;;;;;;;;;;;kBCLT,DACP;CACG;CACA,EAAO;CACP,EAAS;CACT,EAAa;CACb,EAAK;CACL,EAAK;CACL,EAAK;CACL,EAAK;;;;;;cAGD,KACP;EACY,CAAK;EACL,CAAK;EACF,DAAW,AAAG;EAChB,DAAU,EAAG,AAAG,AAAG;EAEnB;EAEV,AAAI,EAAM,HACV;GACG,FAAsB,AAAI;GAC1B,FAAU,AAAI;MAGjB;GACG,DAAI,EAAQ,HACT,EAAQ,AAAI;GAEf,FAAsB,AAAI;GAC1B,FAAc,AAAK;GACnB,FAAU,EAAO,FAAE,EAAO;;EAG7B,DAAW;EACX,DAAc,AAAG;EACjB,DAAW;EACX,DAAW;EACX,CAAS;;;;mBCxDL,RACP;CACG,EAAO;CACP,EAAW;;;;;UAGP,OAAmC;EAAO,DAAU,GAAS;;WAC7D,MACP;EACG;EAAa;EAAb,CAAa,FAAb;GAAa,FAAb;;GACG,GAAO;KAEC;IAFD;IAGD,FAAI,EAAY,HACN;;;;;EAGZ;;;;;;;;kBCRH,PAAe;;;;;;;wBCiCd,bACH;EAAI,EAAc,HAClB;EACG,CAAe;EACN;EAAT,CAAa,FAAb;;GACG,FAAa,EAAK,FAAY;;;;;;;;OAIjC,+BAA+E;EAClF,CAAY,AAAY;EAChB;EACG;EACI;EACW;EACJ;EACH;EAEnB,CAAO;EAEG;EACK;EACf,GAAO,DAAK,HACZ;GACe;IAAK,HAAM,KAAK,LAAuB;GACpC;CAAC,EAAK,CAAK,DAAK,FAAO,AAAa,KAAQ;GAE1D,DAAI,EAAS,HACV,KAAK,AAAC,HAA6B,FAAmB,AAAnB,EAAwB;GAE9D,DAAI,EAAS,HAEV,KAEE,JAAI,EAAS,HAClB;IACa,DAAI;IACF;IACG,AAAW;IAC1B,FAAI,EAAS,HACb;KACG,FAAQ;KACR,FAAW;;IAEd,CAAM,FAAI,FACV;KACY,JAAuB;KACpB;GAAG,CAAK,DAAG,FAAM,KAAS,LAAa;KACnD,HAAI,CAAK,FACN;KACH,HAAI,EAAM,AAAa,HACpB;KACH,HAAI,EAAO,HACX;MACG,JAAI,EAAM,HAEP;EAAI,EAAO,HACR;MAED,JAAI,EAAM,HACZ;MACH;MAEE,JAAI,EAAM,HACf;MACG,JAAI,EAAO,HACR;MACH,HAAQ;MACR,HAAW;MAET,JAAI,EAAM,HACb;KACF;;IAEH,FAAI,CAAgB,FACpB;MAKA;KACW,JAAe,AAAmB,AAAI,EAAI;KAClD,JAAU;;IAEb,DAAM;MAGT;IACG,DAAkB;IAClB,DAAe;IACf,DAAW;IACX,DAAsB;IACtB,DAAO;IACP;;GAGY;GACA;GACf,DAAI,EAAiB,HAElB;EAAI,EAAc,HAClB;KACG,HAAI,EAAmB,AAAM,HAC7B;MACG,HAAK;MACL,HAAK;;KAER,FAAO,FAAe,AAAiB;KACvC,HAAI,EAAM,HACP,KAAM,HAAqB,FAAoB,EAC5C,AAAY,FAAmB,AAAnB,EAA0C;KAC5D,HAAI,EAAmB,AAAgB,HACvC;MAC4B,HAAK;MAClB,LAAmB,AAAG;MAClC;GAAS,FAAT;GAAS,FAAT;;OACG,NAAc;;MAGjB,LAAc;KAEjB,FAAW;KACX,HAAI,EAAc,HAClB;MACG,HAAe;MACf,HAAkB;MAEhB,JAAI,EAAiB,HACvB,EAAkB,GAChB,JAAI,EAAiB,HACvB,EAAkB;KAErB,FAAsB;KACtB,FAAO;;;;EAKjB,AAAI,EAAiB,AAAK,HAAC,AAEvB,KAAM,HAAyB,AAAc,AAAM,AAC/C,AAAa,FAAmB,AAAnB,EAA0C;EAGxD;;aAGX,IACA;EACG,AAAI,EAAQ,HAAW;EAEb,DAAoB;EAC9B,AAAI,EAAK,AAAO,AAAK,HACX;EAEV,IAAO;KAEE;GAAY;KACZ,AAAI;GAAY;KAChB,AAAI,AAAI;GAAY;KACpB,AAAI;GAAY;KAChB;GAAY;KACZ;GAAY;KACZ,AAAK,AAAK,AAAI,AAAK;GAAa;KAChC;GAAa;KACb;GAAa;KACb,AAAI;GAAa;KACjB;GAAa;;EAGf;;OAGV,IAAyB;EAAO,DAAC,GAAM,HAAQ,KAAe;;OAC9D,IAAyB;EAAO,DAAC,GAAM,HAAQ,KAAe;;QAC9D,GAA0B;EAAO,DAAC,GAAM,HAAQ,KAAgB;;QAChE,GAA0B;EAAO,DAAC,GAAM,HAAQ,KAAgB;;eAEhE,EACA;EACI,IAAO;KAEM;GACD,AAAY,FAAE;GACd,AAAY,FAAE;GACP,wBAAiB,1BAAW;KAClC;GACD,AAAY,FAAE,EAAG;GACjB,AAAY,FAAE,EAAG;GACV,wBAAgB,1BAAW;KACjC;GAAc,wBAAiB,1BAAE,AAAI,AAAE;KACvC;GAAc,wBAAiB,1BAAE,EAAG,FAAS,AAAE,EAAG;KAClD;GAAe,wBAAiB,1BAAE,AAAI;KACtC;GAAe,wBAAiB,1BAAE,EAAG,FAAS;KAC9C;GAAe,wBAAiB,1BAAS,AAAE;KAC3C;GAAe,wBAAiB,1BAAS,AAAE,EAAG;KAC9C;GACM,yBAAkB,3BAAE,AAAI,AAAE,AAAI,AAAE,AAAI,AAAE,AAAI,AAAE,AAAI,AAAE;KACxD;GACQ;GACA;GACF,yBAAkB,3BAAE,EAAG,FAAI,AAAE,EAAG,FAAI,AAAE,EAAG,FAAI,AAAE,EAAG,FAAI,AAAE,EAAG,FAAI,AAAE,EAAG;KAC1E;GACQ;GACA;GACF,yBAAkB,zBAAG,AAAE,FAAU,EAAG,AAAE,FAAS,AAAE,AAAI,AAAE,AAAI,AAAE,AAAI,AAAE;KACzE;GACQ;GACA;GACF,yBAAkB,zBAAG,AAAE,FAAU,EAAG,AAAE,FAAS,AAAE,EAAG,FAAI,AAAE,EAAG,FAAI,AAAE,EAAG,FAAI,AAAE,EAAG;KACrF;GAAa,6BAAsB,/BAAE,AAAI,AAAE,AAAI,AAAE,AAAI,AAAE;KACvD;GACQ;GACA;GACF,6BAAsB,/BAAE,EAAG,FAAI,AAAE,EAAG,FAAI,AAAE,EAAG,FAAI,AAAE,EAAG;KAC5D;GACQ;GACA;GACF,6BAAsB,7BAAG,AAAE,FAAU,EAAG,AAAE,FAAS,AAAE,AAAI,AAAE;KACjE;GACQ;GACA;GACF,6BAAsB,7BAAG,AAAE,FAAU,EAAG,AAAE,FAAS,AAAE,EAAG,FAAI,AAAE,EAAG;KACvE;GACM,uBAAe,zBAAS,AAAS,AAAE,AAAI,AAAE,AAAI,AAAE,AAAI,AAAE,GAAI,HAAI,AAAE,GAAI,HAAI,AAAE,AAAI,AAAE;KACrF;GACQ;GACA;GACF,uBAAgB,zBAAG,AAAI,AAAE,AAAI,AAAE,AAAI,AAAE,AAAI,AAAE,GAAI,HAAI,AAAE,GAAI,HAAI,AAAE,EAAG,FAAI,AAAE,EAAG;KACjF;GACM,wBAAgB,1BAAW;KAEjC;GACM,wBAAgB,1BAAW;;EAGvC;;;;yBCzQL,PACP;CACG,EAAI;CACJ,EAAI;;;;;SAEA,EAA2B;EAAO;;OAElC,IAAmB;EAAO;;OAC1B,IAAmB;EAAO;;QAC1B,GAAoB;EAAO;;QAC3B,GAAoB;EAAO;;OAE3B,mBACP;EACG,DAAkB,AAAE;EACpB,CAAmB;EACnB,CAAmB;EACnB,DAAa,AAAiB;;;;yBAO1B,PAAoC;CAAM,AAAI;;;;;;SACrC,EAA2B;EAAO;;;;yBAM3C,PAAqC;CAAM,AAAI;;;;;;OACtC,mBAChB;EACG,DAAkB,AAAE;EACpB,DAAa,AAAgB;;SAGhB,EAA2B;EAAO;;;;8BAQ3C,FACP;CACG,AAAM,AAAI;CACV,EAAK;CACL,EAAK;;;;;;QAGQ,GAAoB;EAAO;;QAC3B,GAAoB;EAAO;;OAE3B,mBAChB;EACG,DAAkB,AAAE;EACpB,DAAc,AAAiB,AAAG,AAAM,AAAiB,AAAG,AAC9C,AAAkB;;SAGnB,EAA2B;EAAO;;;;0BAU3C,gBACP;CACG,AAAM,AAAI;CACV,EAAM;CACN,EAAM;CACN,EAAM;CACN,EAAM;;;;;;QAGO,GAAoB;EAAO;;QAC3B,GAAoB;EAAO;;QAE3C,WAEG;EAAO,CAAI,FAAC,EAAE,AAAG;;OAGJ,mBAChB;EAEa;EACA;EAEA,DAAiB,AAAI;EACrB,DAAiB,AAAI;EACrB,DAAiB,AAAI;EACrB,DAAiB,AAAI;EAE/B,DAAkB,AAAE;EACV;EACA;EAIC,DAAO,AAAI,AAAI;EACf,DAAO,AAAI,AAAI;EACf,DAAO,AAAI,AAAI;EACf,DAAO,AAAI,AAAI;EAGnB,DAAC,EAAM,AAAK;EACZ,DAAC,EAAM,AAAK;EAGT,DAAO,AAAK,AAAK;EACjB,DAAO,AAAK,AAAK;EAGjB,DAAO,AAAM,AAAM,EAAO;EAC1B,DAAO,AAAM,AAAM,EAAO;EAG1B,DAAO,AAAM,AAAM,EAAO;EAC1B,DAAO,AAAM,AAAM,EAAO;EAG1B,DAAO,AAAK,AAAK;EACjB,DAAO,AAAK,AAAK;EAGjB,DAAC,EAAM,AAAS;EAChB,DAAC,EAAM,AAAS;EAEhB,DAAC,EAAK,AAAQ;EACd,DAAC,EAAK,AAAQ;EAEd,DAAC,EAAM,AAAS;EAChB,DAAC,EAAM,AAAS;EAG5B,DAAc,AAAO,AAAO,AAAO;EACnC,DAAc,AAAO,AAAO,AAAO;EACnC,DAAc,AAAO,AAAO,AAAO;EACnC,DAAc,AAAO,AAAO,AAAK;;cAI3B,IACP;EACgB;EAGF,DAAO,AAAI,AAAI;EACf,DAAO,AAAI,AAAI;EACf,DAAO,AAAE,AAAI;EACb,DAAO,AAAE,AAAI;EAGjB,DAAC,EAAI,AAAK;EACV,DAAC,EAAI,AAAK;EAGP,DAAO,AAAK,AAAK;EACjB,DAAO,AAAK,AAAK;EAGjB,DAAO,AAAM,AAAM,EAAO;EAC1B,DAAO,AAAM,AAAM,EAAO;EAG1B,DAAO,AAAM,AAAM,EAAO;EAC1B,DAAO,AAAM,AAAM,EAAO;EAG1B,DAAO,AAAG,AAAK;EACf,DAAO,AAAG,AAAK;EAGf,DAAC,EAAM,AAAS;EAChB,DAAC,EAAM,AAAS;EAEhB,DAAC,EAAK,AAAQ;EACd,DAAC,EAAK,AAAQ;EAEd,DAAC,EAAM,AAAS;EAChB,DAAC,EAAM,AAAS;EAG5B,DAAY,+BAAqB,/BAAO,AAAO,AAAO;EACtD,DAAY,+BAAqB,/BAAO,AAAO,AAAO;EACtD,DAAY,+BAAqB,/BAAO,AAAO,AAAO;EACtD,DAAY,+BAAqB,/BAAO,AAAO,AAAG;EACzC;;SAIM,EAA2B;EAAO;;;;wBAa3C,wCAEP;CACG,EAAK;CACL,EAAK;CACL,AAAM,AAAE;CACR,EAAK;CACL,EAAK;CACL,EAAM;CACN,EAAK;CACL,EAAK;;;;;;OAGQ,mBAChB;EACI,AAAI,EAAI,AAAK,AAAI,HACd;EACH,DAAkB,AAAE;EACpB,AAAI,EAAI,AAAK,AAAI,HACjB;GACG,FAAa,AAAiB;GAC9B;;EAEH,AAAI,CAAG,FAAG,EAAK,FAAC;EAChB,AAAI,CAAG,FAAG,EAAK,FAAC;EAGR,CAAI,AAAQ;EACV,DAAS;EACT,DAAS;EAGV,DAAC,EAAG,AAAG;EACP,DAAC,EAAG,AAAG;EACN,CAAI,AAAK,AAAI;EACb,DAAC,EAAI,AAAK,AAAI;EAGd,CAAG;EACH,CAAG;EACF,CAAI;EACJ,CAAI;EACP,DAAC,EAAI,AAAM,AAAI,AAAO,AAAI,AACxB,FAAC,EAAI,AAAO,AAAI;EAC1B,AAAI,CAAE,FACH,EAAE,GACA,JAAI,EAAI,HACV,EAAI,FAAC,AAAU,KAEf,HAAI,FAAU;EAEP,CAAE,AAAG,AAAI;EACT,DAAC,EAAE,AAAG,AAAI;EAKX,DAAC,EAAG,AAAG;EACP,DAAC,EAAG,AAAG;EAEP,CAAI,AAAM,AAAI,AAAM;EACpB,CAAI,AAAM,AAAI,AAAM;EAEjB,DAAY,AAAC,EAAI,AAAK,FAAI,AAAC,EAAI,AAAK;EACnC,DAAY,AAAC,AAAC,EAAI,AAAK,FAAI,AAAC,AAAC,EAAI,AAAK,AAAO;EAE1D,AAAI,EAAM,DAAO,FACd,GAAQ,DAAI,GACV,JAAI,DAAC,GAAM,DAAO,FACpB,GAAQ,DAAI;EAGP;EAaR;EACA;EACA;EACA;EACA;EACA;EACA,AAAI,EAAG,HACP;GACG,AAAM,AAAI;GACV,AAAM,AAAI;GACV,AAAM,AAAI,AAAK,AAAI,AAAK;GACxB,AAAM,AAAI;GACV,AAAM,AAAI;GACV,AAAM,AAAI,AAAK,AAAI,AAAK;MAG3B;GACG,AAAM;GACN,AAAM;GACN,AAAM,AAAG;GACT,AAAM;GACN,AAAM;GACN,AAAM,AAAG;;EAGF,DAAS,EAAQ,FAAU,EAAI,AAAM,AAAI,AAAM,AAAI,AAAM,AAAI;EAEvE,EAAO;EACK,DAAW;EAGvB,AAAI,CAAM,FACV;GACG,CAAU;GACD;GAAI,AAAM;GAAnB,FACA;IADA;IAEW,HAAS;IACT,HAAS;IACjB,AAAO;IACP,HAAa,EAAI,AAAI,AAAI,AAAI,FAAO,EAAI,AAAI,AAAI,AAAI;;;EAG1D,DAAa,AAAiB;;SAElB,EAA2B;EAAO;;;;2BChW3C,OACP;CACG,EAAS;CACT,EAAO;CACC,GAAK,HAAb,EAAoB,GAAM,FAAQ,HAAlC,EAAwC,GAAxC,HAAuD;CAC/C,GAAK,HAAb,EAAoB,GAAM,FAAQ,HAAlC,EAAwC,GAAxC,HAAwD;CACxD,EAAS;CACT,EAAS;CACT,EAAQ;CACR,EAAQ;;;;;QAEJ,UACP;EACG,AAAI,EAAM,AAAQ,DAAI,FAEnB;EAAI,CAAI,FACL,GAAO,DAAQ,GAEf,HAAM,AAAS,AAAQ,FAAC,EAAI,AAAQ;;EAEnC,CAAI,AAAW,AAAI,AAAW;;QAEjC,UACP;EACG,AAAI,EAAM,AAAQ,DAAI,FAEnB;EAAI,CAAI,FACL,GAAO,DAAQ,GAEf,HAAM,AAAS,AAAQ,FAAC,EAAI,AAAQ;;EAEnC,CAAI,AAAW,AAAI,AAAW;;SAIjC,SACP;EACG,CAAQ,FAAO,AAAI;EACnB,CAAQ,FAAO,AAAI;;;;qBCEjB;;CAEN;CAEU;CAEV,CAAI,EAAO,AAAQ,AAAC,AAAgB,AAAS,AAAgB,HAC5D,KAAM,HAAsB,FAAC,GAAK,HAAO,AAAS,EAAgB;CAEnE,EAAS;CACT,EAAc;CACd,EAAiB;CAEjB,EAAQ,FAAe,AAAS,AAAK,AAAM;CAC3C,EAAS,FAAe,AAAU,AAAK,AAAM;CAE7C,CAAI,EAAS,AAAK,AAAU,HAC3B,EAAQ,AAAS,GACb,JAAI,EAAS,HACjB,EAAQ,GACJ,JAAI,EAAU,HAClB,EAAS;CAEV,AAAU,AAAM,AAAK,AAAe;;;;;;gBAK7B,WAAgE;EAE3D;EAEZ,AAAI,DAAsB,AAIzB,AAAoB,AAAgB,AAAyB,AAAK,AAAgB,AAAyB,KAErG,JAAI,DAAmB,AAAU;GAG/B,FAAgB,AAAqB;GAC7C,FAAgB,AAAG;GACnB,AAAQ;MAEF,JAAI,DAAoB,AAAU;GAEhC,oBACP,tBAAgB,AAAsB,AACtC,AAAgB,AAAsB,AACtC,AAAgB,AAAsB,AACtC,AAAgB,AAAsB,AACtC,AAAgB,AAAsB,AACtC,AAAgB,AAAsB;GAGvC,FAAU;GAEV,AAAa;GACb,AAAa;GACb,AAAa;GACb,AAAa;GACb,AAAc;GACd,AAAc;GAEd,AAAQ,FAAW,EAAa,AAAa,AAAa;MAI1D,CAAM,JAAgC,FAAtC;EAIM;;WAKA,QAA4C;EAEnD,KAAO,JAAS,AAAW,FAA3B;EACA,EAAU;EAEV;EAAU;EAAV,CAAU,FAAY;GAAtB,AAAU,FAAV;;GAEC,GAAQ;KAEF;IAFE;IAEkB,GAAO,JAAS,AAAS,AAAO,FAAhC;;KACpB;IAHE;IAGoB,HAAW,AAAO,EAAO;;KAC/C;IAJE;IAIkB,GAAO,JAAS,AAAU,FAA1B;;;;;eASpB,2BAA8F;EAE7F,DAAU,AAAO,AAAQ,AAAU;EAE3C,AAAI,EAAK,HAED;EAIR,AAAI,DAAU,GAAO,HAEb,AAAc,EAAO,FAAU,AAAV;EAItB,DAAc;;cAKd,kBAA6E;EAE5E,DAAU,AAAO,AAAQ,AAAU;EAE3C,AAAI,EAAK,HAED;EAIR,AAAI,DAAU,GAAO,HAEb,AAAW,AAAc,EAAO,FAAU,AAAV;EAIxC,AAAI,EAAK,HAED;EAIR,AAAI,DAAiB,AAAI;GAEd,FAAmB;GAE7B,DAAI,DAAe,AAEX,AAAS,AAAW;GAI5B,GAAM,AAAC,HAAiB;;EAIzB,IAAM,AAAC,HAAyB;EAEzB;;UAKA;;EAEP,AAAI,DAAc,AACV,AAAgB,AAAW;EAE5B;;eAKA,2BAA+F;EAE9F,DAAU,AAAO,AAAQ,AAAU;EAE3C,AAAI,EAAK,HAED;EAID,DAAgB;;gBAKhB,0BAAqG;EAEpG,DAAU,AAAO,AAAQ,AAAU;EAE3C,AAAI,EAAK,HAED;EAIR,AAAI,EAAK,HAED;EAIR,AAAI,DAAU,GAAO,HAEb,AAAc,EAAO,FAAU,AAAV;EAItB,DAAc;;UAKd,gCAA4F;EAEnG,AAAI,EAAU,AAAQ,HAAe,AAE7B,AAAY;EAIpB,AAAI,EAAY,AAAQ,HAAiB,AAEjC,AAAc;EAIf;;WAKA,mBAAmF;EAE1F,AAAI,DAAC,AAAe,AACZ;EAEK;EAEb,AAAI,EAAgB,HAEnB;WAAU;;;IAET,HAAY,AAAG,AAAkB;;;EAMvB,DAAY;EACV,DAAmB;EAEjC;GAAU,FAAS;GAAnB,AAAU,FAAV;;GAEC,DAAI,DAAmB,AAEtB,AAAY,AAAqB,AAAI,AAAqB;;EAMrD;;UAKA,MAIP;EAAa;EAAb,CAAiB,FAAG;GAApB;GAEC,QAAY;;;IAEA;IAEX,FAAI,DAAa,AAAG,GAAM,HAEzB,EAAO,FAAa,AAAb;IAIR,FAAI,EAAQ,HAEX,AAAc,AAAK,AAAqB,GAAQ,EAE1C,JAAI,EAAQ,HAElB,AAAc,AAAK,AAAqB,GAAQ;;;;cAW5C,sBAA0E;EAEtE,DAAY;EACZ,kBAAU;EAErB,AAAI,EAAe,HAAc,AAAe;GAEnC,FAAY;GAExB,DAAI,DAAa,GAAM,HACtB,KAAM,AAAC,HAA6B;GAE1B,FAAY,AAAc,AAAd;GAEvB,DAAI,EAAQ,HAAM;IAEjB,DAAc;IACd,DAAc;IACd,DAAc;IACd,DAAkB;IAClB,DAAc;IACd,DAAc;IACd,DAAc;MAId,AAAM,AAAC,HAAqB;;EAM9B,AAAI,DAAe,AAAO;GAEzB,AAAU,FAAU,AAAQ;GAC5B,AAAU,FAAU,AAAQ;GAC5B,AAAU,FAAU,AAAQ;GAC5B,AAAU,FAAU,AAAQ;MAEtB;GAEN,AAAU,FAAU,AAAQ;GAC5B,AAAU,FAAU,AAAQ;GAC5B,AAAU,FAAU,AAAQ,AAAM;GAClC,AAAU,FAAU,AAAQ,AAAM;;EAInC,CAAc,FAAU,AAAQ;EAEhC,AAAI,DAAe,AAElB,AAAgB,AAAiB,AAAY;EAM9C,SAAa;;;GAEC,FAAW,AAAM;GAE9B,FAAkB,AAAe,AAAc,AAAM,AAAQ;GAC7D,FAAkB,AAAe,AAAgB,AAAM,AAAQ;GAC/D,FAAkB,AAAS,AAAgB,AAAU,EAAa;;EAInE,DAAY,AAAM;;WAKZ,qBAAwF;EAE9F,AAAI,DAAY,AAAc;GAE7B,AAAS;GACT,FAAgB,AAAQ,AAAS;;EAIlC,AAAI,DAAY,AAEf,EAAS,FAAS,KAEZ,JAAI,DAAY,AAEtB,EAAS,FAAS;EAIN,DAAW,AAAK;EAE7B,SAAW;;;GAEC;GAEX,DAAI,DAAa,AAAG,GAAM,HAEzB,EAAO,FAAY,AAAZ;GAIR,DAAI,EAAQ,HAEX,AAAU,KAEJ,JAAI,EAAQ,HAElB;EAAI,DAAC,AAAC,AAAU,GAAc,HAAO,GAAc,HAElD,AAAiB,AAAc,AAAW,AAAc,AAAI,AAAQ;MAI/D,JAAI,EAAQ,AAAU,AAAQ,AAAU,AAAQ,HAEtD,AAAiB,AAAa,AAAU,AAAI,AAAQ,AAAQ,AAAO,KAE7D,JAAI,EAAQ,HAElB,AAAiB,AAAa,AAAU,AAAI,AAAQ,AAAQ,AAAM,KAE5D,JAAI,EAAQ,HAElB,AAAiB,AAAa,AAAU,AAAI,AAAQ,AAAQ,AAAO,KAE7D,JAAI,EAAQ,HAElB,AAAiB,AAAa,AAAU,AAAI,AAAQ,AAAQ,AAAO,KAE7D,JAAI,EAAQ,HAElB,AAAiB,AAAa,AAAU,AAAI,AAAQ,AAAQ,AAAO,AAAM,KAEnE,JAAI,EAAQ,HAElB,AAAiB,AAAa,AAAU,AAAI,AAAQ,KAE9C,JAAI,EAAQ,HAElB,AAAc,AAAI,AAAqB,KAEjC,JAAI,EAAQ,HAElB,AAAc,AAAI,AAAqB,KAEjC;;;EAQD;;UAKD;;EAEN,AAAI,DAAe,AAAc;GAEhC,AAAS;GACT,FAAgB,AAAQ,AAAY;;EAIxB,DAAW,AAAQ;EACrB;CAAe,AAAQ,AAAY,KAAQ;EAC3C;EAEX,CAAY,FAAc,AAAQ,AAAQ;EAC1C,CAAa,FAAe,AAAW,AAAQ,AAAQ;EACvD,CAAkB,FAAe,AAAgB,AAAQ,AAAQ;EACjE,CAAoB,FAAe,AAAkB,AAAQ,AAAQ;EACrE,CAAqB,FAAgB,AAAU,AAAQ,AAAQ;EAC/D,CAAoB,FAAe,AAAgB,AAAQ,AAAQ;EACnE,CAAmB;EACnB,CAAmB;EACnB,CAAmB,FAAe,AAAqB,AAAQ,AAAQ;EACvE,CAAgB;EAChB,CAAc;EACd,CAAY;EAEZ,AAAI,DAAU;GAEL;CAAe,AAAO,AAAgB,AAAY,KAAQ;GAC1D;CAAe,AAAO,AAAgB,AAAY,KAAQ;GAC1D,FAAgB,AAAY;GAC5B,FAAgB,AAAY;GAC3B;CAAe,AAAQ,AAAgB,AAAY,KAAS;GAC5D;CAAe,AAAQ,AAAgB,AAAY,KAAS;GAErE,DAAI,EAAM,AAAK,AAAM,HAAG;IAEvB,HAAoB,0BAAiB,1BAAI;IACzC,HAAoB,0BAAiB,xBAAI,FAAG;IAC5C,HAAoB,0BAAiB,xBAAI,FAAG,EAAI;IAChD,HAAoB,0BAAiB,1BAAG,EAAI;IAC5C,HAAoB,0BAAiB,1BAAG;MAElC;IAEN,HAAoB,0BAAiB,1BAAG,EAAI;IAG5C,HAAoB,+BAAsB,/BAAG,AAAG,EAAI,FAAI;IACxD,HAAoB,0BAAiB,xBAAI,AAAI,FAAI;IAGjD,HAAoB,+BAAsB,7BAAI,FAAG,AAAG,EAAI,FAAG,EAAI;IAC/D,HAAoB,0BAAiB,xBAAI,FAAG,EAAI,AAAI;IAGpD,HAAoB,+BAAsB,7BAAI,FAAG,EAAI,FAAG,EAAI,AAAI,FAAI,EAAI;IACxE,HAAoB,0BAAiB,xBAAI,FAAI,EAAI;IAGjD,HAAoB,+BAAsB,/BAAG,EAAI,FAAG,AAAG,EAAI,AAAI;IAC/D,HAAoB,0BAAiB,1BAAG,EAAI;;MAIvC,JAAI,DAAa;GAEf;CAAe,AAAQ,AAAgB,AAAY,KAAS;GAC5D;CAAe,AAAQ,AAAgB,AAAY,KAAS;GAC5D;IAAc,HAAe,AAAO,AAAgB,AAAY,KAAQ;GACxE;CAAa,KAAI,LAAe,AAAQ,AAAgB,AAAY,KAAS;GAC5E,AAAI;GACH,AAAI;GACN;CAAa,KAAI,LAAe,AAAQ,AAAgB,AAAY,KAAS;GAC5E,AAAI;GACH,AAAI;GAEd,FAAoB,0BAAiB,xBAAI,FAAG;GAC5C,FAAoB,+BAAsB,7BAAI,FAAG,EAAI,FAAK,EAAI,FAAI,EAAI;GACtE,FAAoB,+BAAsB,7BAAI,FAAK,EAAI,FAAG,AAAG,EAAI;GACjE,FAAoB,+BAAsB,7BAAI,FAAK,EAAI,FAAG,EAAI,FAAI,EAAI;GACtE,FAAoB,+BAAsB,7BAAI,FAAG,EAAI,FAAK,EAAI,FAAG;GACjE,FAAoB,+BAAsB,7BAAI,FAAG,EAAI,FAAK,EAAI,FAAI,EAAI;GACtE,FAAoB,+BAAsB,7BAAI,FAAK,EAAI,FAAG,AAAG,EAAI;GACjE,FAAoB,+BAAsB,7BAAI,FAAK,EAAI,FAAG,EAAI,FAAI,EAAI;GACtE,FAAoB,+BAAsB,7BAAI,FAAG,EAAI,FAAK,EAAI,FAAG;MAE3D;GAEE;CAAe,AAAY,EAAC,AAAM,FAAY,EAAY,GAChE,LAAe,AAAQ,EAAC,AAAM,FAAY,EAAQ,AAAM,FAAY,EAAQ,AAAM,FAAY,EAAQ,AAAM,FAAY,EAAQ,GAChI,LAAY;GAEd;GAAgB,FAAmB,AAAG;GAAtC,AAAgB,FAAuC;IAAvD,DAAgB,FAAhB;;IAEC,HAAoB;;;EAMf;;UAKD,uBAAgF;EAEtF,AAAI,DAAe,AAAc;GAEhC,AAAS;GACT,FAAgB,AAAQ,AAAY;;EAIxB,DAAW,AAAQ;EACrB;EAEX,CAAc;EACF,DAAe,AAA3B,EAAmC,FAAY,KAA/C,HAAuD;EACvD,CAAS,FAAU,AAAQ,AAAK;EAChC,CAAS,FAAU,AAAQ,AAAK;EAChC,CAAY,FAAc,AAAQ,AAAQ;EAC1C,CAAkB,FAAe,AAAgB,AAAQ,AAAQ;EACjE,CAAoB,FAAe,AAAkB,AAAQ,AAAQ;EACrE,CAAqB,FAAgB,AAAU,AAAQ,AAAQ;EAC/D,CAAoB,FAAe,AAAgB,AAAQ,AAAQ;EACnE,CAAmB,FAAU,AAAe,AAAQ,AAAQ;EAC5D,CAAiB,FAAe,AAAa,AAAQ,AAAQ;EAC7D,CAAsB,FAAe,AAAkB,AAAQ,AAAQ;EACvE,CAAe,FAAe,AAAW,AAAQ,AAAQ;EAE5C;EAEb,SAAW;;;GAEV,CAAU;;EAKX,CAAY;EACL;;;;yBC/lBE,DACP;CACG,EAAO;CAEP,EAAQ;CACR,EAAS;CACT,EAAQ;CACR,CAAI,EAAS,HACb;EACG,CAAQ,FAAe;EACvB,AAAI,EAAO,HACR,KAAM,HAA+B;;;;;gCAIhC,PAEX;CAAO,0BAAgB,JAAY,tBAAM,AAAe,AAA0B;;iCAGvE,RAEX;CAAO,0BAAgB,JAAY,tBAAM,AAAe,AAA0B;;;SAI9E,gBACP;EACG,CAAY;EACZ,CAAU;EACV,CAAU;EACV,CAAa;EACb,DAAU,AAAM;EAChB,DAAa,AAAM;EACnB;EACO;;UAEH,OAEH;EAAO,DAAe;;aAGnB,IACP;EACG,AAAI,EAAS,AAAQ,HAAC,AAAQ,AAAY,AACvC;EACH,DAAgB;;aAGZ,IACP;EACG,AAAI,EAAS,AAAQ,HAAC,AAAQ,AAAY,AACvC;EAEH,AAAI,EAAwB,AAAK,AAAM,HACnC;EACK;EACA;EAEO;EAChB,DAAS;EACK,2BAAkB,5BAAE,AAAW,AAAQ;EAEtC;EACf,AAAI,DAAC,AACL;GAMG,FAAgB,AAAS,AAAM;GAE/B;IAAO;IAAP,EAAO;KAEC;KAFD;KAGD,JAAkB;KAClB,JAAuB;;KACrB;KALD;KAMD,JAAe,AAAO,EAAkB;;KACtC;;;;GAKR,DAAI,EAAsB,HAC1B;MAIA;IACe;IACA,HAAU,EAAI,AAAM,AAAI;IACpC,DAAkB,AAAoB;IACtC,DAAc,AAAoB;IAClC,DAAc;IACd,DAAkB;IAClB,DAAmB;IACnB,DAAmB;IACnB,HAAe;;;EAKrB;EAAe;EAAf,CAAe,FAAf;GAAe,FAAf;;GACG,FAAc,AAAM;;EAEvB;EACA;;cAKI,gBACP;EAEG,AAAI,EAAe,AAAc,AAAQ,HAAoB,AAAE,GAAI,HAChE;EAEH,DAAgB;EAIhB;EAAa;EAAb,CAAa,FACb;GADA,AAAa,FAAb;;GAEG,GAAO;KAEC;IAFD;IAGD,HAAa,AAAM;;KACjB;IAJD;IAKD,HAAY;;KACV;IAND;IAOD,HAAY;;;;EAIrB;;QAOI,wDACP;EAEG,CAAO,wBAA2B;EAClC,AAAI,EAAU,HACX,EAAU,GAEV,HAAU;EAEb,CAAa;EACb,CAAU;EACV,CAAU;EACV,CAAU;EACV,CAAa;EAEb,DAAa,AAAM,GAAU;;YAEzB,uCACP;EACgB;EACb,CAAY,AAAS,AAAC;EACtB,CAAY,AAAS,AAAC;EACtB,AAAI,EAAW,HACf;GACgB,AAAa,FAAC,EAAe;GAC7B,AAAc,FAAC,EAAgB;GAC5C,FAAO,AAAM,AAAO,AAAS,AAAW,AAAQ;MAGjD,LAAO,AAAM,AAAO;;aAGlB,sCACP;EACgB;EACb,CAAY,FAAC,AAAC;EACd,CAAY,FAAC,AAAC;EACd,AAAI,EAAW,HACf;GACgB,AAAa,FAAC,EAAe;GAC7B,AAAc,FAAC,EAAgB;GAC5C,FAAO,AAAM,AAAO,AAAS,AAAW,AAAQ;MAGjD,LAAO,AAAM,AAAO;;WAMlB,6BAEP;EACG,AAAI,EAAa,HACd,EAAc,CAAU;EACjB;EACV,CAAO;EACP,AAAI,EAAU,HACX,EAAU,GAEV,HAAU;EAEb,CAAU;EACV,CAAa;EAEb,DAAa,AAAM;EAEZ;;UAGH,SACP;EACG,CAAU;EACV,CAAa;EACA;EACb,CAAO;EACP,DAAa,AAAM;EACZ;;iBAGH,CAEJ;EAAO,DAAU,AAAM,kBACpB;GAAO,FAAO,GAAI,AAAQ,HAAc,AAAO;CAC/C;;cAGC,mCAEP;EACG,DAAO,AAAM,AAAS,AAAS;EACpB,DAAU,AAAU,kBAAqB;GAAO,FAAO,GAAI;;;cAWlE,6BAEJ;CAAa,AAAM,AAAe,AAAS,AAAS;;aAGhD,wBACP;EACe;EACZ,DAAa,AAAM,AAAe,AAAS,AAAS;EAC7C;;YAGH,KAEJ;EAAO,DAAY,AAAM,gBAAmB;GAAO,CAAM;;;cAIrD;;EAEJ,CAAU,oBAAW,tBAAQ,AAAE,AAAE,AAAS,AAAC,EAAS,FAAS,AAAC,EAAS;EAE/D,DAAQ,AAAW,GAAQ,HAAO,AAAQ,EAAa;EACvD,DAAQ,AAAW,GAAQ,HAAO,AAAQ,EAAc;EAEtD,4BAA6B,7BAAE,AAAE,AAA2D;EAE1F;EACZ,CAAO,wBAA2B;EAElC,CAAa;EACb,DAAa,AAAM;EAEnB,DAAS;EACT,CAAO;EAEA;;;;kBC9TJ,PAAe;;;;;;;;;;;;;;;;;;;;0BCkCjB,dAA+C;CACrD,CAAI,EAAK,HAAa;CAEP;CACf,EAAoC,uBAA4C;EACnE;EACZ;GAAa,FAAW;GAAxB,AAAa,FAAb;;GACC,DAAI,EAAgB,HAAM,EAAO,FAAa;GACjC;GACU;GACvB,DAAI,EAAY,HAAM;IACX,HAAqB;IAC/B,FAAI,EAAO,HAAG;KACG,JAAgB,AAAG;KAClB,JAAgB,EAAI,FAApB;KACjB,FAAS,FAAO,AAAW;;;GAG7B,FAAW,AAAQ,AAAQ,AAAoB;;EAEzC;;CAEA,AAAU;CAClB,EAAoC;CAC7B;;;2BAWM,hBAeZ;IACC;MAAM;;EAEE,DAAS;EACjB;EACO;;;gCA2CI,rBAyDZ;CAAe,MAAoD,NAAS;;0BAShE,VAA8C;CACnD;CAKR;GAAU,FAAQ;EAAlB,CAAU,FAAV;;EACC;EACA,DAAa,AAAE;;CAET;;8BAGO,hBACd;MAAQ;KACH;EACJ;;KACI;EAHG;EAIP;EACM,DAAN,GAAM,EAAN,FAAM;;KACF;EANG;;;EAOP,AAAI,EAAK,HAAO;GACf,FAAa,AAAE;GACf;;EAEK,DAAN,GAAM,EAAN,FAAM;EACN;EACM,DAAN,GAAM,EAAN,FAAM;EACN,AAAI,EAAK,HAAO;;KACZ;EAfG;;EAgBD,DAAN,GAAM,EAAN,FAAM;EACN;EACM,DAAN,GAAM,EAAN,FAAM;;KACF;EAnBG;EAoBP;EACM,DAAN,GAAM,EAAN,FAAM;;;;2BAKO,fA4Db;EAAI,EAAK,HACD,KACD,JAAI,DAA2B,GAAM,HAAU;EAEzB,DAAQ;EACpC,AAAI,DAAM,GAAM,HAAU;EAClB;EACI;EACZ;GAAa,FAAQ;GAArB,AAAa,FAAb;;GACC,DAAI,DAAY,AAAQ;IACZ,HAAc,AAAS;IACvB;IACA,HAAc;IACd,HAAa,AAAc;IACtC,HAAO,AAAS,GAAQ,HAAuB,AAAkB,GAAQ,HAAgB,AAAO,AAAO,AAAU,AAAK,AAAO,AAAM;MAEnI,LAAO,AAAO,AAAiB;;EAE1B;MAEK;;;;;iBCzRO,CAiBZ;CAAgB,AAAE;;aCErB,KAA6B;CAKzB;CACT,EAAa,FAAY,UAAW;;CAAS;;;;mBAwDjC,CAAkD;CACvD,cAAe;CACvB,EAAQ,QAAW;EAClB;EACA;;CAEM;;qBAgBM,LAA0D;CAC9D;CACD;CACR,AAAU,AAAC,EAAU,AAAM,FAAK;CACzB;;mBASM,RAMZ;CAAO,EAAuB;;;MAlFzB,KAAgB;EAErB,AAAI,EAAM,HACT;EAIQ,DAAc;EAEvB,CAAK;;KAmBQ,MAAe;;;;;;;uBChCT,LACpB;CAAO,AAAa;;;uBCjDd,RAAqC;CACjC;CACE;CACZ,IAAO,FAAM,CAAK,HACjB;CACD,CAAI,CAAQ,CAAK,AAAO,AAAK,HAC5B,KAAM;CACP,EAAY;CACZ,EAAa;;;;;aAGP,DAA0D;EAIpD;EACD;EACA,CAAQ,AAAW,AAAI,AAAvB;EACD,DAAoB,EAAO,FAAC,AAAC,AAAC,EAAW,AAAK,CAAS,HAAK,AAAI;EAChE;EACI;EACH,DAAC,GAAK,DAAS;EAChB;EACC;EACX,GAAO,FAAO,FAAO;GACpB,EAAO,FAAU,FAAQ;IACxB,AAAW;IACX,CAAQ;IACR,AAAO,HAAM;;GAEd,CAAW;GACX,FAAQ,AAAO,AAAS,AAAC,GAAO,DAAW;;EAE5C,AAAI,CAAU,FACb,AAAQ,AAAO,AAAS,AAAC,GAAO,AAAC,DAAQ,AAAY;EAC/C;;;;;uBC3BD,ZAAe;;;;;KASf,eACN;GAAO,FAAQ,AAAK,AAAO;;KAUrB,SAA4B;EACvB;EACX,GAAO,DAAQ,HAAM;GACZ,FAAQ,AAAK;GACrB,DAAI,EAAK,HAAU;GACnB,DAAI,CAAI,FAAG,EAAO,GACb,HAAO;;EAEN;;SA+DR,UAA+C;EAC9C,AAAI,EAAQ,HAAa,oBAAkB,pBAAM,AAAG,AAAG;EAC/C,DAAQ,AAAG;EACZ,AAAI,EAAK,HAAG,oBAAkB,pBAAW,AAAG,AAAG,AAAY,KAC7D,JAAI,CAAI,FAAG;GACN,FAAQ,AAAG,AAAG;GACvB,FAAQ,AAAI,AAAU,AAAY;MAC5B;GACG,FAAQ,AAAG,AAAG;GACvB,FAAQ,AAAW,AAAU,AAAY;;;SA8C3C,SAA2E;EACjE;;EACA;;EACF,AAAI,CAAK,AAAK,FACpB;EAAI;;;;;IAAuB;;;;;CAAsB,oBAAkB,pBAAQ,AAAO,AAAS,oBAAkB,pBAAS,AAAG,AAAG,KACvH,eAAkB,AAAkB,pBAAO,AAAO,AAAS,AAAe,AAAa,AAAe,oBAAkB,pBAAe,AAAG,AAAG;MAC5I,JAAI,CAAK,AAAK,FACpB;EAAI;;;;;GAAuB;;;;;CAAqB,oBAAkB,AAAkB,pBAAG,AAAG,AAAG,AAAS,AAAO,AAAS,KACjH,eAAkB,AAAkB,pBAAG,AAAG,AAAG,AAAc,AAAY,AAAc,oBAAkB,pBAAc,AAAO,AAAS;MAE1I,eAAkB,pBAAG,AAAG,AAAG,AAAG,AAAC,EAAK,FAAK,AAAK,EAAM;;SAItD,OACC;EAAO,DAAgB,AAAI;;;;mBAkBrB;;CACN,EAAO;CACP,EAAM;CACN,EAAQ;CACR,EAAQ;CACR,CAAI,EAAK,HACR,EAAU,FAAC;;;;;GAAoB;;;;;CAAqB;;;;;CAAoB;;;;;GAAsB,GAE9F,HAAU;;;;;;;uBCrMb;;;;;;;;SAEU,OAAiD;EACjD,CAAgB;EACxB,AAAI,EAAK,HAAU;EACV;EACA;EACT,AAAI,EAAa,AAAK,AAAa,HAAU;EACtC,DAAY,AAAI;;aAGxB,GAA+D;EACrD,CAAY;EACrB,AAAI,EAAM,HAAU;EACV;EAAI;EAAd,DAAyB;GAAzB;GACS,FAAW,AAAG,AAAI,AAAG;GAC7B,DAAI,EAAK,HAAU;;EAEb;;YAGR,IACC;EAAO,AAAI,DAAoB,GAAO,HAAoB,AACzD,AAAQ,AAAI,KACN,JAAI,DAAO,WAAI,RAAX,AAAO,AAAP,AAAqB,HAAO,WAAI,RAAX,AAAO,AAAP,HAC/B,AAAY,AAAI,KAEhB,LAAgB,AAAI;;;;iBC9Bf,NACN;GAAI;;;;;;KAGE,eACE;CAAE,EAAO;;KAGX,SACN;EAAe,DAAE;;QAGX,MACN;EAAe,DAAiB;;MAS1B,KAAgC;EAC9B;EAEP;EACC,AAAI,DAAiB,AACpB,AAAO,EAAI;EACb;EAEM;;UAGD,CACN;EAAe,IACR,DACD,KACK,CAAa;GAAO;OACvB,IAAW;GAAU;GAA2B,FAAa;;;;;oBC1B/D,TAAsB;CAC5B,EAAI;CACI,EAAa;;;;;;KAGf,eAA0C;EACzB,EAAc,HAAS,EAAT;EACrC,DAAE,EAAM;EACR,DAAW,EAAM;;KAGJ,SACb;EAAe,DAAE,AAAM;;QAOjB,MAAkC;EAC/B,CAAM;EACf,AAAa,DAAW,GAAO,HAAc;EACpC,DAAiB,AAAE;EACnB,DAAiB,AAAW;EAC9B;;MAGD,KAA8B;EAC5B;EAEP;EACC,AAAI,DAAiB,AACpB,AAAO,AAAW;EACpB;EAEM;;UAGD,CACN;EAAe,IACR,DACD,KACK,CAAa;GAAO;OACvB,IAAW;GAAU;GAA2B,FAAa,AAAM;;;;;oBCvDrE,TACN;GAAI;;;;;;KAGE,eACE;CAAE,EAAI,AAAO;;KAGf,SACN;EAAe,DAAE,EAAI;;QAGf,MACN;EAAe,DAAiB,EAAI;;QAG9B,MAAuC;EAC7C,CAAM,AAAI;EACV,AAAY,DAAC,AAAiB,AAAc;EACpC,DAAiB,AAAE;EACpB;;MAGD,KAAmC;EACjC;EAEP;EACC,AAAI,DAAiB,AACpB,AAAO,AAAW;EACpB;EAEM;;UAGD,CACN;EAAe,IACR,DACD,KACK,CAAa;GAAO;OACvB,IAAW;GAAU;GAA2B,FAAa,EAAI;;;;;;;;;oCC4DhB,EAWxD;CAAU;CAAV,EAAc,FACd;EADA;EAEC,DAAK,EAAU,AAAK,FAAI,EAAS;;;uCAQE,vBAA4B;CAIxD;CACE;CAKA;CAAV,EAAc,FAAd;;EACC,DAAE,EAAK,FAAI;;CACL;;;gBC/HT,GAAuB;CACtB,EAAc;CACd,EAAS;;;;sBAkUI,LAAuC;CAkB5C;CACE;CAAV,EAAc,FAAd;;EACC,DAAO;;CACD,iBAAU,jBAAO;;yBAIX,bAAwC;CAyB7C;CAEA;CACR,IAAO,FAAI,FAAW;EACP,DAAuB,AAAE;EAEvC,AAAI,EAAU,AAAK,AAAK,HACjB,EAAI,AAAC,AAAI,CAAU,DAAM,AAAC,FAAuB,AAAE,EAAO;EACjE,AAAI,EAAK,HACR,AAAO,KACH,JAAI,EAAK,HAAQ;GACrB,FAAQ,EAAO,AAAC,CAAK;GACrB,FAAQ,EAAO,AAAC,AAAI;MACd,JAAI,EAAK,HAAS;GACxB,FAAQ,EAAO,AAAC,CAAK;GACrB,FAAQ,EAAO,AAAC,AAAC,CAAK,DAAK;GAC3B,FAAQ,EAAO,AAAC,AAAI;MACd;GACN,FAAQ,EAAO,AAAC,CAAK;GACrB,FAAQ,EAAO,AAAC,AAAC,CAAK,DAAM;GAC5B,FAAQ,EAAO,AAAC,AAAC,CAAK,DAAK;GAC3B,FAAQ,EAAO,AAAC,AAAI;;;CAGf,iBAAU,jBAAS;;uBAIb,XAUb;CAAO,iBAAU,jBAAS;;;KApZb,SAYb;EAAO,DAAE;;KAII,WAcb;CAAE,EAAO,AAAI;;WA8LP,OAAoD;EAE1D,AAAI,CAAM,CAAK,DAAM,CAAK,DAAM,AAAM,FAAS,KAAM;EAoB7C;EACA;EACE;EACF;EACE,CAAI;EAEd,GAAO,FAAI,FAAM;GACR,FAAE;GACV,DAAI,CAAI,FAAO;IACd,FAAI,EAAK,HAAI;IACb,AAAK,HAAI;MACH,JAAI,CAAI,FACd,GAAK,HAAK,AAAC,AAAC,EAAI,CAAS,DAAK,AAAC,FAAE,EAAO,GACpC,JAAI,CAAI,FAAO;IACV,HAAE;IACX,AAAK,HAAK,AAAC,AAAC,EAAI,CAAS,DAAM,AAAC,FAAC,EAAK,CAAS,DAAK,AAAC,FAAE,EAAO;MACxD;IACG,HAAE;IACF,HAAE;IACH,DAAC,FAAC,EAAI,CAAS,DAAM,AAAC,FAAC,EAAK,CAAS,DAAM,AAAC,FAAC,EAAK,CAAS,DAAK,AAAC,FAAE,EAAO;IAElF,AAAK,HAAK,AAAC,GAAK,DAAM;IACtB,AAAK,HAAK,AAAC,EAAI,AAAS;;;EAGnB;;UAUD,CAiBN;EAAO,DAAU,AAAE;;;;;;;;UCjTb,CACN;EAAO;;;;;;;;;;;;;;;eC6CD,AAA8B;CAC3B,AAAiB;CACjB,AAAiB;CAC1B,CAAI,CAAK,FAAK;EACb,CAAM,FAAY,AAAE;EACpB,CAAO,FAAY,EAAG,FAAf;EACP,CAAY;MACN,JAAI,CAAK,FAAK;EACpB,CAAM,FAAY,AAAE;EACpB,CAAO,FAAY,EAAG,FAAf;MAEP,HAAM;CACE,AAAiB;CAC1B,CAAI,EAAM,HAAK;EACd,CAAM,FAAY,EAAG,FAAf;EACN,CAAO,FAAY,AAAE;MACf;EACN,CAAM;EACN,CAAO;;;;;gCAuBK,jBAA2C;CAChD,gBAAS;CACjB,EAAQ;CACD;;;UAZD,CACN;EAAO,DAAK,GAAO,HAAO,AAAQ,EAAM,FAAI,AAAY,AAAU,EAAO,AAAO,FAAK,GAAO,HAAO,AAAQ,EAAM;;;;;;4BCjF3G,hBACN;GAAM;;;;;SAGA,MAAyC;EACvC,DAAkB;EAC1B,AAAI,EAAK,HAAO;GACH;EAAI,EAAgB,HAAe,KAAgB;GAC/D,GAAM,HAAM,AAAuB;;EAE7B,gBAAS;;;;8BASV,lBACN;GAAM;;;;;SAGA,MAA2C;EACjD,AAAI,EAAgB,HACnB,KAAM,HAAoC;EACnC,DAAQ;EAChB,AAAI,EAAK,HACR,KAAM,HAAa,AAAyB;EACtC;;;;iCASD,rBACN;GAAM;;;;;SAGA,MAAyC;EAC/C,AAAI,EAAgB,HACnB,KAAM,HAAoC;EACpC,DAAW;;;;+BASZ,nBACN;GAAM;;;;;SAGA,MACN;EAAO,DAAkB;;;;gCASnB,pBACN;GAAM;;;;;SAGA,MAA+C;EAC7C;EACR,SAAU,VAAkB;;;GAC3B,FAAM,iBAAS;;EACT;;;;gBAkBD,JAAwB;CAC9B,CAAI,EAAc,AAAgB,AAAc,HAC/C,KAAM,HAAoB;CAC3B,EAAS;CACT,EAAO,2BAAe;CACtB,EAAQ,+BAAmB;CAC3B,EAAM,6BAAiB;CACvB,EAAM,gCAAoB;CAC1B,EAAU,8BAAkB;;;;;;;;;;wBCpEf,VACd;CACW;CACV,AAAQ,AAAK,AAAG;CACT;;0BAGD;;CAEQ;CACF;CACD;CACC;CACA;CACA;CACI;CACR,AAAe;CACb;CACV,IAAO,JAAC,AAAkB,AAC1B;EACC,IAAO;KAED;GACJ,GAAO;KAGL,AACA,AACA,AACA;;;IAEA,DAAQ;IACR;;;KAEE;GACJ,GAAO;KAED;IACJ,DAAQ;IACR,DAAO;;;IAEP,DAAQ;IACR,DAAQ;IACR;;;KAEE;GACJ,DAAI,EAAK,HACT;IAIa,HAAiB,EAAiB,FAAW,AAAO,EAAI;IAEpE,DAAM;IACN,HAAgB;IAChB;IACA,DAAQ;IACR,DAAO;MAGH,JAAI,EAAK,HAAU;IACvB,HAAW,AAAK,AAAO,EAAI;IAC3B,DAAQ;IACR,DAAO;IACP,DAAQ,AAAI;;;KAGT;GACJ,DAAI,EAAK,AAAY,HAAe,EAAI,CAAM,AAAY,HAAe,EAAI,CAAM,HACnF;IACa,HAAgB,AAAW,AAAO,EAAI;IAClD,HAAgB;IAChB;IACA,AAAK;IACL,DAAQ;;;KAEL;GACJ,GAAO;KAED;IACJ,FAAI,DAAe,EAAI,CAAM,HAC7B;KACC,DAAK;KACL,HAAI,DAAW,AAAG,GAAoB,HACrC,KAAK;KACN,DAAK;KACL,FAAQ;KACR,FAAQ,AAAI;MAER,JAAI,DAAe,EAAI,CAAM,AAAY,HAAe,EAAI,CAAM,HACvE;KACC,HAAG,DAAW,EAAI,FAAG,GAAoB,HACxC,KAAK;KACN,DAAK;KACL,FAAQ;KACR,FAAQ,AAAI;MAER,JAAI,DAAe,EAAI,CAAM,AAAY,HAAe,EAAI,CAAM,HACtE,KAAK,AAEN;KACC,DAAK;KACL,FAAQ;KACR,FAAQ,AAAI;;;KAET;IACJ,DAAQ;IACR,DAAQ;;KACJ;IACJ,FAAI,EAAU,HACb,KAAK;IACN,DAAQ,AAAI;IACZ,DAAQ;IACR,DAAO;;;IAEP,DAAQ;IACR,DAAQ;IACR;;;KAEE;GACJ,DAAI,DAAC,AAAY,GAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,HACL;IACC,FAAI,EAAK,HACR,KAAK;IACN,DAAM,FAAkB,AAAW,AAAO,EAAI;IAC9C,HAAgB;IAChB,DAAQ;IACR,DAAO;IACP;;;KAEG;GACJ,GAAO;KAED;IACJ,DAAQ;IACR;;KACI;IACJ,DAAQ;IACR;;;IAEA,DAAQ;IACR,DAAQ;IACR;;;KAEE;GACJ,DAAI,DAAC,AAAY,GAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,HACL;IACC;IACA,FAAI,EAAS,HACZ,KAAK;IACN,DAAM,FAAW,AAAM,EAAE;IACzB,DAAQ;IACR,FAAI,DAAW,AACd,KAAK;IACN,DAAQ;IACR,DAAO;IACP;;;KAEG;GACJ,GAAO;KAED;IACJ,DAAQ;IACR,DAAO;;;IAEP,EAAK;;;KAEH;GACJ,GAAO;KAED,AAAU;IACd,DAAQ;IACR,DAAQ;;;IAER,EAAK;;;KAEH;GACJ,DAAI,EAAK,HAAe,AACxB;IACW,HAAW,EAAM,FAAE,EAAE,AAAM;IACrC,HAAQ,AAAO;IACf,DAAQ;IACR,DAAO;;;KAEJ;GACJ,AAAI,FAAQ,AAAK,AAAG;GACpB,AAAQ;GACR,AAAQ;;KACJ;GACJ,GAAO;KAED;IACJ,DAAQ;;;IAER,EAAK;;;KAEH;GACJ,GAAO;KAED;IACJ,FAAI,EAAS,HACZ,AAAgB,AAAiB;IAC3B;;IAEP,EAAK;;;KAEH;GACJ,DAAI,DAAC,AAAY,GAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,AAAY,AAAZ,HACL;IACC,FAAI,EAAS,HACZ,KAAK;IAEE,HAAW,AAAM,EAAI;IAC7B,FAAI,EAAK,HACR,KAAM,HAAe,AAAkB;IAExC,DAAQ;IACR,DAAO;IACP;;;KAEG;GACJ,DAAI,EAAK,AAAY,HAAe,EAAG,CAAM,AAAY,HAAe,EAAI,CAAM,HAClF;IACC,HAAgB,AAAkB,AAAW,AAAO,EAAI;IACxD,AAAK;IACL,DAAQ;;;KAEL;GACJ,DAAG,EAAK,HACP,KACI,JAAG,EAAK,HACZ,KACI,JAAI,EAAK,AAAY,AAAa,HACvC;IACC,HAAgB,AAAkB,AAAW,AAAO,EAAI;IACxD,DAAQ;;;KAEL;GACJ,DAAI,EAAK,AAAY,HAAe,EAAI,CAAM,HAC9C;IACC;IACU,HAAW,EAAQ,FAAG,EAAI,AAAQ;IAC5C,HAAgB,AAAgC;IAChD,DAAQ;;;KAEL;GACJ,DAAI,EAAK,HACT;IACS,HAAW,AAAO,EAAI;IAC9B,FAAI,DAAa,GAAM,HAAU;KACxB;CAAa,GAAM,HACxB,AAAa,EAAK,FAAS,AAAG,EAAW,GACzC,LAAa,AAAS,AAAG,EAAW;KACvC,JAAQ,AAAoB;MACtB,JAAI,DAAC,AAAe,AAC1B,AAAS,EAAE,AAAC,GAEZ,LAAQ,AAAY;IACrB,DAAQ,AAAI;IACZ,DAAQ;;;;EAGX,CAAI,FAAe,CAAE;;CAGtB,CAAI,EAAS,HACb;EACC,CAAQ;EACR,CAAQ;;CAGT,CAAI,EAAS,HACb;EACC,AAAI,EAAK,AAAS,AAAS,HAC1B,AAAgB,AAAiB,EAAiB,FAAW,AAAO,EAAI;EAClE;;CAGR,KAAM;;;;qBCxTA,PAAkC;CACxC;CACA,EAAmB,AAAwC;CAE3D,CAAI,DAAkB,AAAK,AAE1B,EAAY,FAAe,AAAK,KAIhC,HAAY;CAIb,CAAI,DAAkB,AAAK,AAE1B,EAAe,FAAe,AAAK,KAInC,HAAe,FAAY;CAIpB,CAAI,DAA4B,AAA2B,AAAM;;;;;;;;;;;mBAO3D,PACd;CAAO,AAAQ,AAAU,AAAe,AAAU,AAAc,AAAU;;kBAG5D,JACN;CACG;EAAI,EAAK,HAAO,EAAW,AAAI,AAAa,GAAU;CAKhE,GAAO,HAAa,AAAG;CACvB,CAAI,EAAK,AAAQ,AAAkB,HAClC;;EAAU;EAAV,CAAU,FAAV;GAAU,FAAV;;GACC,CAAO,DAAM,FAAa,AAAG;;;CAC/B;CACA,CAAI,DAAiB,GAAa,AAAe,HAAC,EAAI,FAAwB,GAAkB,HAC/F,GAAe,HAAS,EAAK,GACzB,JAAI,EAA4B,AAAe,AAAyB,HAC5E,AAAsB;;wBAKV,bACN;CAIC,AAAwB;CAChC,CAAI,EAAK,HACR,EAAc;;kBAKH,NACb;CAAe,MAAsC;;iBAGxC,LACb;CAAe,MAAqC;;mBAG9C,PACN;EAAI,DAAO,WAAG,RAAV,AAAO,AAAP,HACI,KACH;EACa,CAAuC;EACxD,AAAI,EAAM,HACF;EACG,DAAkB;EAC7B,AAAI,EAAQ,HACJ,AAAqB;EACtB;;;uBASM,TACN;CACP,CAAI,EAAK,HACE;CACX,CAAI,EAAY,HACR;CACA;CACR,CAAI,EAAK,AAAc,HAAC,AAAQ,GAAM,AAAO,HAC5C,EAAI;CACL,KAAQ;KACH;EACJ,AAAI,DAA+B;GAClC,DAAI,DAAa;IAChB,FAAI,EAAY,HACR,AAAE;IACA,HAAE,EAAG;IACf,AAAK;IACK;IAAI;IAAd,HAAyB;KAAzB;KACC,HAAI,EAAK,HACR,GAAO,DAAM,FAAa,AAAE,AAAG,KAE/B,FAAO,HAAa,AAAE,AAAG;;IAEpB,DAAM;;GAEN;GACR;GACU;GACV,CAAK;GACK;GAAV,AAAc,FAAd;;IACC,AAAO,HAAK,EAAI,FAAG,AAAS,EAAI,FAAa,AAAE,AAAG;;GACnD,CAAO;GACA;;EAER;EACA,EACC;GAAgB;;GAGT;;EAER,AAAI,EAAS,AAAQ,AAAS,AAA6B,GAAW,HAAU,HAAa;GACnF;GACT,DAAI,EAAM,HACF;;EAEQ;EACP;EACV,EAAK;EACM,CAAC,CAAoB;EAChC;EACC,AAAI,EAAQ,HAAC,AAAiB,AAC7B;;;EACD,AAAI,EAAK,AAAe,AAAK,AAAe,AAAK,AAAe,AAAK,AAAoB,AAAK,HAC7F;;;EACD,AAAI,EAAc,HACjB,GAAO;EACR,EAAO,DAAI,AAAI,AAAM,FAAa,AAAE,AAAG;EACxC;EACA,CAAI,FAAY;EAChB,EAAO,DAAO,AAAI;EACX;KACH;EACG;KACH;EACG;;EAEA,DAAO;;;uBAKF,PAAiD;CAC/D,CAAI,EAAM,HACF;CACR,CAAI,EAAM,HACF;CACa;CACrB,CAAI,EAAQ,HACX;EAAU;EAAI;EAAd,DAA4B;GAA5B;GACmB,FAAK;GACvB,DAAI,EAAK,AAAM,HAAa,AAAE,AACtB;;;CAEH,AAAa,AAAa;;uBAGQ,RAAgD;CACzF,CAAI,EAAM,HACF;CACR,KAAQ;KACH;EACG;KACH;EACG,DAA2B,GAAM;KACpC;EACG,DAA2B,GAAM;KACpC;EACG,DAA2B,GAAM;KACpC;EACG,EAA4C,AAAc;KAC7D;EACG;;EAEP,AAAI,EAAK,HAER;EAAI,DAA2B,GAAO,HAAa;IAClD,FAAY,DACJ;IACR,FAAI,DAAa,AAAS,AAAG,AACrB;MAEJ,JAAK,DAA2B,GAAO,AAAY,HAAc,AACrE;EAAY,DACJ;;MAGF;EAGsB,AAAI,EAAM,AAAS,AAAc,HAAc;EAChD,AAAI,EAAM,AAAQ,AAAe,HAAc;EACrE,EAAc;;;iBAIkB,HACxC;EAAI,DAAa,AAAG,AAAW,KAC1B,AAAM,HAAgB,FAAW,EAAK,AAAQ,FAAW;;4BAKxD,hBAA6C;CAChC,AAAa,AAAS,AAAG;CAG5C,CAAI,EAAQ,AAAY,AAAQ,AAAc,AAAQ,AAAU,AAAQ,HAChE;CACD;;wBAID,ZACN;CAAO,AAAkB,GAAM;;+BAIzB,hBACN;CAAe,AAAU,EAAe,AAAI,AAAmB,AAAI;;kBpFo3B7D,PATR;CAI2B,AAJ3B,EAI2B;CAOzB,EAAQ;CACR,EAAO;CACP,EAAQ;;;;;OAKF,UAEN;EAAI,EAAU,HAAM;GAEnB,AAAQ;GACR,AAAO;GACP,AAAQ;MAEF;GAEK;GAEX;;IAEC,FAAI,DAAwB,AAAK,AAEhC,AAAc;;GAML;GAEX;;IAEC,FAAI,DAAwB,AAAK,AAEhC,AAAa;;GAMJ;GAEX;;IAEC,FAAI,DAAwB,AAAK,AAEhC,AAAc;;;;;;;;;qBA5oCJ,HAAwD;CAErE;CAIA,CAAI,EAAQ,HAEX,EAAO;CAIU,AAAc,AAAG,AAAY;CAC9B;CAAW,AAAY,EAAO;CAA9B;CACH,AAAY;CAE1B,CAAI,EAAW,HAEP,AAAgB,AAAY,AAAK;CAMlC;;6BAWM;;CAEb;CAIA,CAAI,EAAY,AAAiB,HAAoB,AAAK;EAE7C,DAAiB;EAE7B,AAAI,DAAc,AAEV;;CAMS,AAAc,AAAG,AAAY;CAC9B;CAAW,AAAY,EAAO;CAA9B;CACH,AAAY;CAE1B,CAAI,EAAW,HAEd;EAAI,DAAgB,AAAY,AAAK,AAEpC;EAAI,DAAiB,AAAY,AAAK,AAAkB;IAE3C,HAAwB;IAEpC,FAAI,EAAY,HAEf,AAAiB,AAAI;IAIf;MAIP,CAAO,JAA4B,AAAK,FAAxC;MAMD,CAAO,JAAsD,AAAK,FAAlE;MAMD,CAAO,JAAgD,AAAc,FAArE;CAMM;;uBAWM,VAAwC;CAErD;CAIkB,AAAc,AAAG,AAAW;CAC7B;CAAW,AAAW,EAAO;CAA7B;CACH,AAAY;CAE1B,CAAI,EAAW,HAEd;EAAI,DAAgB,AAAY,AAAK,AAEpC;EAAI,DAAiB,AAAY,AAAK,AAE9B,AAAkB,KAIzB,CAAO,JAA0C,AAAK,FAAtD;MAMD,CAAO,JAAoE,AAAK,FAAhF;MAMD,CAAO,JAAgD,AAAc,FAArE;CAMM;;sBAWM;;CAEb;CAIA,CAAI,EAAY,AAAiB,HAAmB,AAE5C,AAAgB;CAIN,AAAc,AAAG,AAAY;CAC9B;CAAW,AAAY,EAAO;CAA9B;CACH,AAAY;CAE1B,CAAI,EAAW,HAEd;EAAI,DAAgB,AAAY,AAAK,AAEpC;EAAI,DAAiB,AAAY,AAAK,AAAiB;IAE3C,HAAiB;IAE5B,FAAI,EAAY,HAEf,AAAgB,AAAI;IAId;MAIP,CAAO,JAA2B,AAAK,FAAvC;MAMD,CAAO,JAAqD,AAAK,FAAjE;MAMD,CAAO,JAAgD,AAAc,FAArE;CAMM;;uBAYM;;CAEb;CAIA,CAAI,EAAY,AAAiB,HAAoB,AAAK;EAE7C,DAAiB;EAE7B,AAAI,DAAc,AAEV;;CAMS,AAAc,AAAG,AAAY;CAC9B;CAAW,AAAY,EAAO;CAA9B;CACH,AAAY;CAE1B,CAAI,EAAW,HAEd;EAAI,DAAgB,AAAY,AAAK,AAEpC;EAAI,DAAiB,AAAY,AAAK,AAAkB;IAE3C,HAAkB;IAE9B,FAAI,EAAY,HAEf,AAAiB,AAAI;IAIf;MAIP,CAAO,JAA4B,AAAK,FAAxC;MAMD,CAAO,JAAsD,AAAK,FAAlE;MAMD,CAAO,JAAgD,AAAc,FAArE;CAMM;;yBAKO,VAA+C;CAE7D,CAAI,EAAQ,AAAQ,AAAQ,HAE3B,EAAO;CAID,AAAe;;sBAgFT,TAAoC;CAEjD;CAIkB,AAAc,AAAG,AAAY;CAC9B;CAAW,AAAY,EAAO;CAA9B;CACH,AAAY;CAE1B,CAAI,EAAW,HAEd;EAAI,DAAgB,AAAY,AAExB,AAAiB,KAIxB,CAAO,JAAgD,AAAK,FAA5D;MAMD,CAAO,JAAgD,AAAc,FAArE;CAMM;;sBAWM,TAAoC;CAEjD;CAIkB,AAAc,AAAG,AAAW;CAC7B;CAAW,AAAW,EAAO;CAA7B;CACH,AAAY;CAE1B,CAAI,EAAW,HAEd;EAAI,DAAgB,AAAY,AAAK,AAEpC;EAAI,DAAiB,AAAY,AAAK,AAE9B,AAAiB,KAIxB,CAAO,JAA6B,AAAK,FAAzC;MAMD,CAAO,JAAuD,AAAK,FAAnE;MAMD,CAAO,JAAgD,AAAc,FAArE;CAMM;;yBAKO,dAEd;EAAI,DAAC,AAAa;EAIjB,DAAiB,AAAW;EAI5B,CAAc;;;sBAOF;;CAEb;CAIA,CAAI,EAAY,HAAe;EAE9B,AAAI,EAAQ,AAAmB,AAAQ,HAEtC;EAAI,DAAoB,AAAY;;EAIrC,AAAI,EAAQ,AAAkB,AAAQ,HAErC;EAAI,DAAmB,AAAY;;EAIpC,AAAI,EAAQ,AAAmB,AAAQ,AAAmB,AAAQ,HAEjE;EAAI,DAAoB,AAAY;;;CAMpB,AAAc,AAAG,AAAY;CAC9B;CAAW,AAAY,EAAO;CAA9B;CACH,AAAY;CAE1B,CAAI,EAAW,HAEP,AAAiB,AAAY,AAAK;CAMnC;;2BAKO,VAAgD;CAIvD,MAAC,HAAU;CAKX;;2BAKO,VAwBd;CAAO;;mBAKM,JAAoD;CAEjE;CAEY;CAEZ,UAAgB;;;EAEI,DAAc,AAAK;EAEtC,AAAI,EAAgB,HAEnB,EAAQ,FAAc;;CAMjB;;8BAKM;;CAEb;CAIA,CAAI,EAAY,AAAiB,HAAoB,AAAK;EAE7C,DAAiB;EAE7B,AAAI,DAAc,AAAQ;GAEzB,FAAS;GACT;;;CAMgB,AAAc,AAAG,AAAY;CAC9B;CAAW,AAAY,EAAO;CAA9B;CACH,AAAY;CAE1B,CAAI,EAAW,HAEd;EAAI,DAAgB,AAAY,AAAK,AAAkB;GAEtD,DAAI,EAAY,HAEf,AAAyB,AAAY,gBAA8B;IAE7C;IAArB,HAAiB,AAAjB;IACA,HAAS;MAMV,LAAyB,AAAY;GAItC;MAIA,CAAO,JAAsD,AAAK,FAAlE;MAMD,CAAO,JAAgD,AAAc,FAArE;CAMD,AAAS;;wBAKI,HAA+D;CAE5E;CAIkB,AAAc,AAAG,AAAY;CAC9B;CAAW,AAAY,EAAO;CAA9B;CACH,AAAY;CAE1B,CAAI,EAAW,HAEd;EAAI,DAAgB,AAAY,AAAK,AAAmB;GAEvD,FAAmB,AAAY;GAC/B;MAIA,CAAO,JAAoE,AAAK,FAAhF;MAMD,CAAO,JAAgD,AAAc,FAArE;CAMD,AAAS;;wBAKI;;CAEb;CAIA,CAAI,EAAY,AAAiB,HAAoB,AAAK;EAE7C,DAAiB;EAE7B,AAAI,DAAc,AAAQ;GAEzB,FAAS;GACT;;;CAMgB,AAAc,AAAG,AAAY;CAC9B;CAAW,AAAY,EAAO;CAA9B;CACH,AAAY;CAE1B,CAAI,EAAW,HAEd;EAAI,DAAgB,AAAY,AAAK,AAAkB;GAEtD,DAAI,EAAY,HAEf,AAAmB,AAAY,gBAA4B;IAE1D,HAAiB,AAAI;IACrB,HAAS;MAMV,LAAmB,AAAY;GAIhC;MAIA,CAAO,JAAsD,AAAK,FAAlE;MAMD,CAAO,JAAgD,AAAc,FAArE;CAMD,AAAS;;0BAKI,HAAsE;CAEnF;CAIW,AAAS,EAAe,AAAO;CAE1C,CAAI,EAAQ,AAAQ,AAAQ,HAAI;EAEpB,DAAY;EACT,DAAqB,AAAmB,AAAY;EAClE,DAAe,AAAM;EACrB,CAAwB;EACxB,DAAc;MAId,CAAO,JAAgD,AAAO,FAA9D;;uBAwEY,FAA2D;CAExE;CAIkB,AAAc,AAAG,AAAY;CAC9B;CAAW,AAAY,EAAO;CAA9B;CACH,AAAY;CAE1B,CAAI,EAAW,HAEd;EAAI,DAAgB,AAAY,AAAK,AAAiB;GAErD,FAAkB,AAAY;GAC9B;MAIA,CAAO,JAAuD,AAAK,FAAnE;MAMD,CAAO,JAAgD,AAAc,FAArE;CAMD,AAAS;;8BAKI,PAAkE;CAE/E,CAAI,DAAkB,AAErB,AAAe;CAIhB,CAAI,EAAW,HAEd,EAAwB;CAIzB,AAAe,AAAM;;4BAKR,bAA0C;CAEvD;CAIc,AAAe;CAE7B,CAAI,EAAW,HAAM;EAEpB,DAAa,EAAO;EACpB,CAAwB;;CAIzB,AAAkB;;8BAcJ,PAEd;EAAI,EAAQ,HAEX;;;;;;;;uCqF95BY,tBAAkC;CAE/C,EAAc;CAEd,EAAgB;CAChB,EAAa;CACb,EAAa;CACb,EAAc;CAEd;;;;;gBAKO,EAA8C;EAErD,AAAI,EAAW,AAAM,AAAW,HAExB,EAAU;EAIlB,IAAQ;KAEF;GAAW;KACX;GAAW;KACX;GAAW;KACX;GAAW;KACX;GAAY;KACZ;GAAW;KACX;GAAW;KACX;GAAW;KACX;GAAW;KACX;GAAW;KACX;GAAW;KACX;GAAW;KACX;GAAW;KACX;GAAW;KACX;GAAW;KACX;GAAY;KACZ;GAAY;KACZ;GAAY;KACZ;GAAY;KACZ;GAAY;KACZ;GAAY;KACZ;GAAY;KACZ;GAAY;KACZ;GAAY;KACZ;GAAY;KACZ;GAAY;KACZ;GAAY;;EAIX;;QAKD,SAAqC;EAE3C,CAAgB;EAEhB,AAAI,EAAU,HAAM;GAEN,gBAAY;GACV,wBAAc;GAC7B,FAAkB;GAClB,FAAoB;GACpB,FAAa;;;MAOR,KAAqB;EAE3B,DAAiC,AAAW,AAAgB;EAC5D,DAAiC,AAAS,AAAgB;EAC1D,DAAiC,AAAS,AAAmB;EAC7D,DAAiC,AAAQ,AAAmB;EAC5D,DAAiC,AAAU,AAAmB;EAC9D,DAAiC,AAAgB,AAAmB;EAS5D;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BR,CAAa;EAEb;EAEO;;cAKD,HAEN;EAAI,CAAc,FAEV,KAED,JAAI,EAAe,HAElB,KAIA,HAAO;;gBAOR,AAEP;EAAI,EAAiB,HAAM;GAUZ,AAAK,FAAgB,GAAiB,HAAO,AAAgB;GAC5D;CAAC,AAAiB,AAAC,AAAqB,EAAK,FAAC,AAAgB,AAAC,AAAoB,EAAK,FAAC,AAAe,AAAC,AAAmB,EAAK,FAAC,AAAgB,AAAC,AAAoB;GAEtL,DAAI,EAAc,HAAW;IChJb,DDkJf;ICjJY,DDiJZ;IChJY;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU,AD2IwB,AAAS;KCzI3C,HAAI,DAAC,AAAO,AAAI;MAEf,ADuID,LCvIgB,AAAU;MACzB;MAIA;;IDoID,FAAI,DCtJO;KAEI,FDsJd;KCrJW,FDqJX;KCpJW;KACL;KAER,AAAO,FAAI,FAAQ;MAElB,LAAU,AD+I2B,AAAqB;MC7I1D,JAAI,DAAC,AAAO,AAAI;OAEf,AD2IA,NC3Ie,AAAU;OACzB;MAIA;;;MAlBU;IAEI,DD4Jf;IC3JY,DD2JZ;IC1JY;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU,ADqJsB,AAAS;KCnJzC,HAAI,DAAC,AAAO,AAAI;MAEf,ADiJD,LCjJgB,AAAU;MACzB;MAIA;;;;;mBDsJI,NAAsC;EAE7C,CAAgB;EAEhB,AAAI,EAAiB,HAAY;GAMhC,AAAY,AAAgB;GChLZ,ADkLhB;GCjLa,ADiLb;GChLa;GACL;GAER,EAAO,FAAI,FAAQ;IAElB,HAAU,AD2Ke,AAAS,EAAT;ICzKzB,FAAI,DAAC,AAAO,AAAI;KAEf,ADuKF,JCvKiB,AAAU;KACzB;MAIA;;GDoKF,DAAI,EAAmB,HAAM;ICpLb,DDsLf;ICrLY,DDqLZ;ICpLY;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU,AD+KyB;KC7KnC,HAAI,DAAC,AAAO,AAAI;MAEf,AD2KD,LC3KgB,AAAU;MACzB;MAIA;;IDuKD;;GAQD,DAAI,CAAc,FAAG;IAEpB,DAAa;IACb,DAAa;MAIb,HAAa,AAAgB;GAW9B,AAAa;;EAId,DAAsC,AAAK;;mBAKpC,HAEP;EAAI,EAAiB,HAEpB;GAAQ;GAAR,GAAQ;KAEF;IChOU,DDkOd;ICjOW,DDiOX;IChOW;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU;KAEV,HAAI,DAAC,AAAO,AAAI;MAEf,ADuNA,LCvNe,AAAU;MACzB;MAIA;;IAhBc,DDmOd;IClOW,DDkOX;ICjOW;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU;KAEV,HAAI,DAAC,AAAO,AAAI;MAEf,ADwNA,LCxNe,AAAU;MACzB;MAIA;;;KDqNI;ICrOU,DDuOd;ICtOW,DDsOX;ICrOW;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU;KAEV,HAAI,DAAC,AAAO,AAAI;MAEf,AD4NA,LC5Ne,AAAU;MACzB;MAIA;;IAhBc,DDwOd;ICvOW,DDuOX;ICtOW;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU;KAEV,HAAI,DAAC,AAAO,AAAI;MAEf,AD6NA,LC7Ne,AAAU;MACzB;MAIA;;;KD0NI;IAEa;IACC;IAElB;IAEA,FAAI,EAAuB,AAAc,AAAwB,HCnPvD;KAEI,FDmPb;KClPU,FDkPV;KCjPU;KACL;KAER,AAAO,FAAI,FAAQ;MAElB,LAAU,AD4O+B,AAAqB;MC1O9D,JAAI,DAAC,AAAO,AAAI;OAEf,ADwOC,NCxOc,AAAU;OACzB;MAIA;;;;KDuOI;ICvPU,DDyPd;ICxPW,DDwPX;ICvPW;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU;KAEV,HAAI,DAAC,AAAO,AAAI;MAEf,AD8OA,LC9Oe,AAAU;MACzB;MAIA;;;;;;cDkPG,EAA0C;EAEhD,AAAI,EAAS,HAEZ,EAAc,GAER,JAAI,CAAQ,FAElB,EAAc,AAAO,GAIrB,HAAc;EAIR;;;;;;;;;sCEnTM,3BAEb;EAAI,DAAC,AAAU;EAEd,CAAW;EAEX;EAAe;EAAf,CAAe,FAA6B;GAA5C,AAAe,FAAf;;GAEC,AAAsC;;;;sCAS3B,3BAEb;EAAI,DAAU;EAEb,CAAW;EAEM;EACjB,CAAW;EACX,DAAY;;;sCAOA,jBAAiD;;4CAcjD,jCAAmC;CAEhD,CAAI,EAAY,HAAa;CACtB;;4CAKM,5BAAoD;CAEjE,CAAI,EAAY,HAAO;EAEtB,AAAI,DAAC,AAEJ;;GAAe;GAAf,AAAe,FAA6B;IAA5C,DAAe,FAAf;;IAEuC,EAAQ;KAExC;KAFN,FAEa;;KACP;KAHN,FAGiB;;KACX;KAJN,FAIY;;KACN;KALN,FAKe;;KACT;KANN,FAMmB;;KACb;KAPN,FAOiB;;KACX;KARN,FAQmB;;KACb;KATN,FASiB;;KACX;KAVN,FAUY;;KACN;KAXN,FAWY;;KACN;KAZN,FAYkB;;;KAZlB,FAaU;;;;EAQZ,CAAW;;CAIL;;0CAKM,/BAEb;CAAO;;0CAKM,1BAEb;CAAO;;oCClGD,nBAEN;GAAc;;;;;QAKR,GAAwB;EAE9B;EAEA;GAAQ;GAAR,GAAQ;KAEF;IAEJ,HAA+C,AAAoB,AAAa;IAChF,HAA+C,AAAwB,AAAa;;;;;;eAS/E,JAEP;EAAI,EAA6B,HAEhC,EAAiB,FAAK,AAAK,KAErB,JAAI,EAAgC,HAAM;GAIpC;GAiBZ,DAAI,EAAS,HAEZ,EAAiB,FAAQ,AAAK,AAAyC,KAEjE;IAGN,DAAgB,FAAkC;IAGlD,DAAa;IAEb,DAAiB,FAAQ,AAAK;;;;MAY1B,KAAsB;;aAOrB,GAEP;EAAQ;EAAR,IAAQ;KAEF;GAEJ;GACA,AAAiB;GF5DF,AE8Df;GF7DY,AE6DZ;GF5DY;GACL;GAER,EAAO,FAAI,FAAQ;IAElB,HAAU;IAEV,FAAI,DAAC,AAAO,AAAI;KAEf,AEmDD,JFnDgB,AAAU;KACzB;MAIA;;;KEgDG;GAEJ;GFlEe,AEoEf;GFnEY,AEmEZ;GFlEY;GACL;GAER,EAAO,FAAI,FAAQ;IAElB,HAAU,AE6D+B;IF3DzC,FAAI,DAAC,AAAO,AAAI;KAEf,AEyDD,JFzDgB,AAAU;KACzB;MAIA;;;;;;QE6DG,GAAwB;;;;kCC9FxB,jBAA6B;CAEnC,EAAc;CAEd,CAAI,EAAiB,AAAQ,HAAkB,AAAe,AAE7D,EAAU;;;;;OAOL,IAAuB;;QAOvB,cAA+C;EAErD,CAAW;EACX,CAAY;EAEZ,AAAI,DAAQ,AAAS,AAEpB,EAAc,GAOd,HAAc,FAAgC;EAK/C,AAAI,EAAU,HAAM;GAEP;GACZ,FAAmB,AAAqB,AAAiB;GACzD,FAAmB,AAAa,AAAiB;MAE3C,JAAI,EAAO,HAAM;GAEX;GACZ,FAAmB,AAAqB,AAAsB;GAC9D,FAAmB,AAAa,AAAsB;GAGtD,AAAiB;GACjB,AAAiB;GACjB,FAAmB,AAAuB,AAAQ;GAClD,FAAmB,AAAoB,AAAQ;GAC/C,FAAmB,AAAmB,AAAQ;GAC9C,FAAmB,AAAkB,AAAQ;;EAI9C,AAAI,EAAgB,AAAK,AAAiB,HAAG;GAE5C,DAAI,EAAW,HAAM;IAEpB,HAAe;IACf,HAAgB;MAEV;IAEN,HAAe;IACf,HAAgB;;GAIjB,FAAoB;;EAIrB,AAAI,EAAU,HAAM;GAEnB,AAAe;GACf,AAAgB;MAEV;GAEN,AAAkB,AAAe;GACjC,AAAmB,AAAgB;;EAIpC;EAEA,AAAI,EAAW,HAAM;GAEpB,DAAI,EAAU,HAEb;EAAI,EAAW,AAAK,HAEnB,AAAqB;MAMtB,LAAqB;GAIT,FAAE,AAAa,AAAc,AAAc,AAAa,AAAW;GAEhF;GAAc,FAAQ;IAAtB,DAAc,FAAd;;IAEC,HAA0B,AAAO,AAAkB;;GAKpD,FAAmC,AAAa,WAAa;IAC5D,FAAI,EAAoC,HAAO;KAC9C;KACO;;IAED;CACL;GAEH,FAA0B,AAAc,AAAkB;GAC1D,FAA0B,AAAa,AAAkB;GACzD,FAA0B,AAAY,AAAkB;;;qBAOnD,VAEN;EAAO;;kBAKA,FAAkD;EAEjD;EACA;EAER,AAAI,EAAc,HAAS;GAE1B,DAAI,EAAW,HAEd;EAAI,EAAU,HAAM;KAER;KACX,FAAI,FAAC,EAAgB,AAAa,FAAC,EAAe;KAClD,FAAI,FAAC,EAAgB,AAAY,FAAC,EAAgB;MAE5C,JAAI,EAAO,HAAM;KAEZ;KAEX,FAAI,AAAC,AAAgB;KAErB,FAAI,AAAC,AAAgB;MAEf;KAEK;KACX,FAAI,FAAC,EAAgB,AAAa,FAAC,EAAe;KAClD,FAAI,FAAC,EAAgB,AAAY,FAAC,EAAgB;;MAI7C;IAEN,DAAI;IACJ,DAAI;;GAIG;GAAR,GAAQ;KAEF;IHrKU,DGuKd;IHtKW,DGsKX;IHrKW;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU,AGgKoB,AAAG,AAAG;KH9JpC,HAAI,DAAC,AAAO,AAAI;MAEf,AG4JA,LH5Je,AAAU;MACzB;MAIA;;;KGyJI;IHzKU,DG2Kd;IH1KW,DG0KX;IHzKW;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU;KAEV,HAAI,DAAC,AAAO,AAAI;MAEf,AGgKA,LHhKe,AAAU;MACzB;MAIA;;;KG6JI;IH7KU,DG+Kd;IH9KW,DG8KX;IH7KW;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU;KAEV,HAAI,DAAC,AAAO,AAAI;MAEf,AGoKA,LHpKe,AAAU;MACzB;MAIA;;;KGiKI;IHjLU,DGmLd;IHlLW,DGkLX;IHjLW;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU,AG4KkB,AAAG,AAAG;KH1KlC,HAAI,DAAC,AAAO,AAAI;MAEf,AGwKA,LHxKe,AAAU;MACzB;MAIA;;;KGqKI;IHrLU,DGuLd;IHtLW,DGsLX;IHrLW;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU,AGgLoB,AAAG;KH9KjC,HAAI,DAAC,AAAO,AAAI;MAEf,AG4KA,LH5Ke,AAAU;MACzB;MAIA;;;;;MAlBU;GAEI,AG+LhB;GH9La,AG8Lb;GH7La;GACL;GAER,EAAO,FAAI,FAAQ;IAElB,HAAU,AGwL2B,AAAc,AAAU;IHtL7D,FAAI,DAAC,AAAO,AAAI;KAEf,AGoLF,JHpLiB,AAAU;KACzB;MAIA;;;;cGsLI,HAA8B;EAEvB,EAAqB,AAAC,AAAY,AAAK,AAAa;EAElE,AAAI,EAAW,AAAQ,HAAC,GAAO,AAAQ,AAAC,AAAO,AAAQ,HAEtD;EAAI,DAEH;EAAI,EAAgB,AAAuB,AAAiB,HAAsB;KAEjF,JAAe;KACf,JAAgB;KAEhB,HAAI,EAAU,HAEb;EAAI,EAAW,AAAK,HAAQ;OAE3B,JAAe;OACf,JAAgB;;MAIX;MAEN,HAAkB,AAAsB;MACxC,HAAmB,AAAuB;;;MAMtC;IAEO,DAAsB;IACtB,DAAuB;IAEjB,DAAS;IACV,HAAU,AAAQ;IAEpC,FAAI,EAAU,HAEb;EAAI,EAAW,AAAK,HAAQ;MAE3B,HAAqB,AAAW,AAAc;MAC9C,HAAsB,AAAY,AAAc;MAChD,HAA0B,AAAC,FAAC,EAAsB,AAAC,AAAW,AAAgB,AAAK;MACnF,HAAyB,AAAC,FAAC,EAAuB,AAAC,AAAY,AAAgB,AAAK;;MAI/E;KAEN,FAAkB,AAAW,AAAc;KAC3C,FAAmB,AAAY,AAAc;KAC7C,FAAuB,AAAC,FAAC,EAAsB,AAAC,AAAW,AAAgB,AAAK;KAChF,FAAsB,AAAC,FAAC,EAAuB,AAAC,AAAY,AAAgB,AAAK;;;;;kBAW7E,FAAkD;EAEzD;EAEY,DAAqB;EACxB;EACD;EACA;EAER,AAAI,EAAW,HAEd;EAAI,EAAU,HAAM;IAER;IACX,DAAI,FAAC,EAAgB,AAAa,FAAC,EAAe;IAClD,DAAI,FAAC,EAAgB,AAAY,FAAC,EAAgB;MAE5C,JAAI,EAAO,HAAM;IAEZ;IAEX,DAAI,AAAC,AAAgB;IAErB,DAAI,AAAC,AAAgB;MAEf;IAEK;IACX,DAAI,FAAC,EAAgB,AAAa,FAAC,EAAe;IAClD,DAAI,FAAC,EAAgB,AAAY,FAAC,EAAgB;;MAI7C;GAEN,AAAI;GACJ,AAAI;;EAIG;EAAR,IAAQ;KAEF;GHlTW,AGoTf;GHnTY,AGmTZ;GHlTY;GACL;GAER,EAAO,FAAI,FAAQ;IAElB,HAAU,AG6SoB,AAAG,AAAG;IH3SpC,FAAI,DAAC,AAAO,AAAI;KAEf,AGySD,JHzSgB,AAAU;KACzB;MAIA;;;KGsSG;GHtTW,AGwTf;GHvTY,AGuTZ;GHtTY;GACL;GAER,EAAO,FAAI,FAAQ;IAElB,HAAU,AGiTmB,AAAG,AAAG;IH/SnC,FAAI,DAAC,AAAO,AAAI;KAEf,AG6SD,JH7SgB,AAAU;KACzB;MAIA;;;KG0SG;GH1TW,AG4Tf;GH3TY,AG2TZ;GH1TY;GACL;GAER,EAAO,FAAI,FAAQ;IAElB,HAAU,AGqTkB,AAAG,AAAG;IHnTlC,FAAI,DAAC,AAAO,AAAI;KAEf,AGiTD,JHjTgB,AAAU;KACzB;MAIA;;;;;;MGqTG,QAAkC;;QAOlC,eAA6C;;qBAO7C,LAEN;EAAO,CAAmB;;eAKpB,CAEN;EAAO;;SAKD,OAAoC;;cAOpC,EAEN;EAAO;;;;;;;;;;;kBC/YD,PAAgB;;;;;;MAahB,YAA2C;;mBAG3C,UAAiF;;qBACjF,IAA0E;;mBAC1E,MAAwE;;kBACxE,AAAiD;;qBACjD,HAAoD;;WAQpD,gBAAgE;;SAQhE,kBAA8D;;aAS9D,QAAyD;;aASzD,CAA6C;;qBAS7C,PAAqD;;WASrD,UAAuD;;cAQvD,UAAwD;;qBAMxD,VAAqC;;yBAOrC,PAA8D;;YAS9D,gBAA8D;;aAO9D,EAAwC;;YASxC,KAAoD;;aASpD,IAAqD;;cASrD,GAAsD;;kBAMtD,PAAkC;;eAMlC,JAA+B;;oBAM/B,TAAoC;;eAMpC,JAA+B;;iBAM/B,NAAiC;;kBAMjC,PAAkC;;oBAMlC,TAAoC;;eAMpC,JAA+B;;kBAM/B,PAAkC;;cAQlC,AAA8C;;gBAQ9C,OAAqD;;iBAGrD,NAAiC;;QAOjC,UAA6C;;QAO7C,YAAqC;;;;uBCnMrC,ZAvBR;CAYuB,AAZvB,EAYuB;CAarB;CAEA,CAAI,EAAuB,HAE1B,EAAsB;CAIvB,EAAU;CACV,EAAY;CACZ,EAAU;CACV,EAAU,sCAAwB;CAElC,AAAc;;;;;;;WASR,MAAyC;EAE/C,DAAc;EAEd,AAAI,EAAe,AAAY,HAE9B,AAAa;;aAYR,MAA8C;EAEpD,DAAuB;EACvB,DAAkC;EAClC,DAAsC;EAEtC,DAAgB;;WAUV,MAAwC;EAE9C,DAAc;EAEd,DAA8B;EAC9B,DAAgC;EAChC,DAA8B;EAC9B,DAA6B;EAC7B,DAAgC;EAChC,DAAsB;EACtB,DAAoB;EACpB,DAAwB;EACxB,DAAwB;EACxB,DAAgC;EAChC,DAAsB;EACtB,DAAyB;EACzB,DAAuB;EACvB,DAAwB;EACxB,DAAyB;EACzB,DAAwB;EACxB,DAAuB;EACvB,DAA6B;EAC7B,DAA0B;EAC1B,DAA+B;EAC/B,DAA0B;EAC1B,DAA4B;EAC5B,DAA6B;EAC7B,DAA+B;EAC/B,DAA0B;EAC1B,DAA6B;EAC7B,DAAyB;EACzB,DAA2B;EAC3B,DAA4B;EAE5B,DAAe;;QAWT,SAEN;CAAgB;;MAWV,KAAqB;EAE3B,CAAsB;EAEf;;MAKQ,YAA2C;EAE1D;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAAa;;EAId,CAAc;;mBAKC,UAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAA0B,AAAS,AAAM;;;qBAO3B,IAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAA4B,AAAS;;;mBAOvB,MAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAA0B,AAAS;;;kBAOrB,AAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAAyB;;;qBAOX,HAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAA4B;;;WAOd,gBAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAAkB,AAAS;;;SAOb,kBAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAAgB,AAAS;;;aAOX,QAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAAoB,AAAG,AAAG;;;aAOZ,CAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAAoB,AAAG;;;qBAOT,PAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAA4B,AAAG;;;WAOjB,UAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAAkB,AAAG,AAAG;;;cAOV,UAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAAqB,AAAQ;;;qBAOf,VAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC;;;yBAOc,PAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAAgC;;;YAOlB,gBAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAAmB,AAAM,AAAO;;;aAOlB,EAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAAoB;;;YAON,KAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAAmB,AAAG,AAAG;;;aAOX,IAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAAoB,AAAG,AAAG;;;cAOZ,GAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAAqB,AAAG,AAAG;;;kBAOb,PAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC;;;eAOc,JAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC;;;oBAOc,TAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC;;;eAOc,JAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC;;;iBAOc,NAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC;;;kBAOc,PAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC;;;oBAOc,TAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC;;;eAOc,JAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC;;;kBAOc,PAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC;;;cAOc,AAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAAqB,AAAG;;;gBAOV,OAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAAuB,AAAO;;;iBAOhB,NAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC;;;cAWK,GAEN;CAAgB;;gBASV,GAEN;EAAI,EAAY,AAAQ,HAAmB,AAAnB,EAA+B,FAEtD,AAAkB;;cAWb,GAEN;EAAI,EAAU,AAAQ,HAAiB,AAAjB,EAA2B,FAAI;GAEpD;GACA,FAAgB;;;QAOF,UAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAAe;;;QAOD,YAEf;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,FAAe;;;eAca,JAE7B;EAAO;;eAKsB,CAE7B;EAAO,DAAsB;;cAKA,HAE7B;EAAO,DAAU;;YAKY,DAE7B;EAAO,DAAQ;;;;;iBLvlBT,NAAgB;CAEtB,EAAY;CACZ,EAAa;CACb,EAAS;;;;;KAKH;;;EAEI;EAAI;EAAd,DAAiC;GAAjC;GAEC,DAAI,CAAW,FAAW,AAAI;IAE7B,HAAkB,AAAlB,AAAqB;IACrB,HAAmB,AAAnB,AAAsB;IACtB,HAAe,AAAf,AAAkB,AAAC;IACnB;;;EAMF,DAAgB;EAChB,DAAiB;EACjB,DAAa,AAAC;;QAoCR,WAAkC;EAE5B,DAAmB,AAAnB;EAEZ,AAAI,CAAQ,FAAI;GAEf,FAAkB,AAAO;GACzB,FAAmB,AAAO;GAC1B,FAAe,AAAO;;;;;qBMpDjB,VAdR;CAUqB,AAVrB,EAUqB;CADC,AATtB,EASsB;;;;;QAgBd,SAAqC;;MAsBrC,eAAgE;EAI3D;EAEA;EAAI;EAAd,DAA2B;GAA3B;GAEC,AAAM,FAAK;GAEH,FAAM;GAAd,GAAQ;KAEF;IAEQ;IACZ,HAAY,AAAK;IACjB,DAAe;IACf,DAAY;IACZ;;KAEI;IAES;IACb,HAAoB;IACpB,HAAa,AAAK;IAClB;;KAEI;IAES;IACb,HAAa,AAAK;IAClB;;KAEI;IAEJ;IACA,HAAU;;;;;EAQb,SAAY;;;GAEE,FAAa;GAC1B,FAAuB;GACvB,FAAa,uBAAgB;;EAI9B,AAAI,EAAS,HAEZ;;UAUK,KAAqC;EAArC;EAEP,AAAY,DAAC,GAAmC,AAAC,HAExC,AAAC,AAA8B,EAAU,AAAO,FAAW,WAAa;GAE/E;GACA,FAAQ,AAAQ;GAEhB,DAAI,EAAU,HAEb;MAMI;GAEiB,AAAK,FAAgC;GAC5D,AAAiB;GACL;GACZ,AAAiB;GACjB,AAAa;GACb,AAAY;GACZ,AAAiB;GACjB,AAAmB;GACnB,AAAoB;GACpB,AAAkB;GAClB,AAAmB;GACnB,AAAsB;GACtB,FAAmC;GAEvB;GACZ,AAAmB,AAAM,AAAO;GAEP;GACb;GAEI,QAAY;IAE3B,FAAI,EAAoB,HAAO;KAG9B,HAAI,DAAC,AAAO;MAEX,HAAQ;MACD;;KAIR;KAEA,HAAI,EAAY,HAEf,AAA8B;KAI/B,JAA6B;KAC7B,FAAO;KAEP,JAAQ,AAAQ;KAEhB,HAAI,EAAU,HAEb;KAIM;;IAID;;GAIR,DAAI,DAAC,AAEJ,EAAW,FAA4B,AAAW;;;OAU7C,IAUP;EAAI,EAAc,HAEjB;;QAOM,eAA6C;;cAe7C,FAA+B;EAEtC;EAEA,DAAQ,AAAQ;EAEhB,AAAI,EAAU,HAEb;;mBAOM,FAAmD;EAE1D;EAEA,DAAQ,AAAQ;EAEhB,AAAI,EAAU,HAEb;;;;;4BC5MK,jBAnER;CAgE4C,AAhE5C,EAgE4C;CADR,AA/DpC,EA+DoC;CADM,AA9D1C,EA8D0C;CADR,AA7DlC,EA6DkC;CADS,AA5D3C,EA4D2C;CADR,AA3DnC,EA2DmC;CADF,AA1DjC,EA0DiC;CADE,AAzDnC,EAyDmC;CADF,AAxDjC,EAwDiC;CADA,AAvDjC,EAuDiC;CADJ,AAtD7B,EAsD6B;CADF,AArD3B,EAqD2B;CADD,AApD1B,EAoD0B;CADD,AAnDzB,EAmDyB;CADO,AAlDhC,EAkDgC;CADI,AAjDpC,EAiDoC;CADJ,AAhDhC,EAgDgC;CADD,AA/C/B,EA+C+B;CADA,AA9C/B,EA8C+B;CADJ,AA7C3B,EA6C2B;CADJ,AA5CvB,EA4CuB;CADI,AA3C3B,EA2C2B;CADJ,AA1CvB,EA0CuB;CADK,AAzC5B,EAyC4B;CADM,AAxClC,EAwCkC;CADD,AAvCjC,EAuCiC;CADD,AAtChC,EAsCgC;CADD,AArC/B,EAqC+B;CADA,AApC/B,EAoC+B;CADH,AAnC5B,EAmC4B;CADH,AAlCzB,EAkCyB;CADK,AAjC9B,EAiC8B;CADA,AAhC9B,EAgC8B;CADE,AA/BhC,EA+BgC;CADH,AA9B7B,EA8B6B;CADE,AA7B/B,EA6B+B;CADG,AA5BlC,EA4BkC;CADD,AA3BjC,EA2BiC;CADI,AA1BrC,EA0BqC;CADD,AAzBpC,EAyBoC;CADH,AAxBjC,EAwBiC;CADP,AAvB1B,EAuB0B;CADD,AAtBzB,EAsByB;CADC,AArB1B,EAqB0B;CADA,AApB1B,EAoB0B;CADK,AAnB/B,EAmB+B;CADD,AAlB9B,EAkB8B;CADH,AAjB3B,EAiB2B;CADA,AAhB3B,EAgB2B;CADJ,AAfvB,EAeuB;CADE,AAdzB,EAcyB;CADC,AAb1B,EAa0B;CADC,AAZ3B,EAY2B;CADC,AAX5B,EAW4B;CADD,AAV3B,EAU2B;CADH,AATxB,EASwB;CADW,AARnC,EAQmC;CADA,AAPnC,EAOmC;CADD,AANlC,EAMkC;CADX,AALvB,EAKuB;CADC,AAJxB,EAIwB;CADD,AAHvB,EAGuB;;;;;YAuEf,2BAEN;CAAe,AAAQ,AAAQ,AAAM,AAAM;;UAKrC,kCAEN;CAAa,AAAQ,AAAO,AAAQ,AAAQ;;UAKtC,kCAEN;CAAa,AAAQ,AAAO,AAAQ,AAAQ;;SAKtC,oBAEN;CAAY,AAAQ,AAAO;;UAKrB,oBAEN;CAAa,AAAQ,AAAO;;SAKtB,oBAEN;CAAY,AAAQ,AAAO;;UAKrB,oBAEN;CAAa,AAAQ,AAAO;;cAKtB,GAEN;CAAiB;;eAKX,GAEN;CAAkB;;cAKZ,GAEN;CAAiB;;eAKX,GAEN;CAAkB;;SAKZ,YAEN;CAAY;;eAKN,SAEN;CAAkB;;eAKZ,CAEN;CAAkB;;iBAKZ,DAEN;CAAoB;;QAKd,aAEN;CAAW;;WAKL,AAEN;EAAO;;YAKD,AAEN;EAAO,DAAe;;WAKhB,AAEN;EAAO;;YAKD,AAEN;EAAO,DAAe;;YAKhB,IAEN;EAAO,DAAe;;aAKhB;;EAEC,DAAgB,AAAO;;aAKxB,UAEN;EAAO,DAAgB,AAAQ;;aAKzB,UAEN;EAAO,DAAgB,AAAQ;;YAKzB,WAEN;EAAO,DAAe,AAAQ;;aAKxB;;EAEC,DAAgB,AAAQ,AAAO;;YAKhC,WAEN;EAAO,DAAe,AAAQ;;aAKxB;;EAEC,DAAgB,AAAQ,AAAO;;WAKhC,KAEN;EAAO,DAAc;;YAKf;;EAEC,DAAe,AAAO;;cAKvB,EAEN;EAAO,DAAiB;;UAKlB,CAEN;EAAO;;gBAKD,LAEN;EAAO;;UAKD,MAEN;EAAO,DAAa;;WAKd;;EAEC,DAAc,AAAO;;YAKtB,IAEN;EAAO,DAAe;;aAKhB;;EAEC,DAAgB,AAAO;;eAKxB,CAEN;EAAO,DAAkB;;eAKnB,CAEN;EAAO,DAAkB;;cAKnB,EAEN;EAAO,DAAiB;;eAKlB;;EAEC,DAAkB,AAAO;;cAK1B,EAEN;EAAO,DAAiB;;eAKlB;;EAEC,DAAkB,AAAO;;gBAK1B,AAEN;EAAO,DAAmB;;aAKpB,UAEN;EAAO,DAAgB,AAAQ;;YAKzB,WAEN;EAAO,DAAe,AAAQ;;aAKxB,UAEN;EAAO,DAAgB,AAAQ;;aAKzB,UAEN;EAAO,DAAgB,AAAQ;;YAKzB,WAEN;EAAO,DAAe,AAAQ;;aAKxB;;EAEC,DAAgB,AAAQ,AAAO;;WAKhC,KAEN;EAAO,DAAc;;UAKf,OAEN;EAAO,DAAa;;WAKd,UAEN;EAAO,DAAc;;oBAKf,FAEN;EAAO,DAAuB;;UAKxB,OAEN;EAAO,DAAa;;YAKd,yBAEN;CAAe,AAAO,AAAQ,AAAQ;;YAKhC,yBAEN;CAAe,AAAO,AAAQ,AAAQ;;WAKhC,WAEN;CAAc,AAAO;;YAKf,WAEN;CAAe,AAAO;;WAKhB,WAEN;CAAc,AAAO;;YAKf,WAEN;CAAe,AAAO;;UAKhB,kCAEN;CAAa,AAAQ,AAAO,AAAQ,AAAQ;;UAKtC,kCAEN;CAAa,AAAQ,AAAO,AAAQ,AAAQ;;SAKtC,oBAEN;CAAY,AAAQ,AAAO;;UAKrB,oBAEN;CAAa,AAAQ,AAAO;;SAKtB,oBAEN;CAAY,AAAQ,AAAO;;UAKrB,oBAEN;CAAa,AAAQ,AAAO;;YAKtB,KAEN;CAAe;;aAKT,KAEN;CAAgB;;YAKV,KAEN;CAAe;;aAKT,KAEN;CAAgB;;cAKV,GAEN;CAAiB;;eAKX,GAEN;CAAkB;;aAKZ,IAEN;CAAgB;;cAKV,IAEN;CAAiB;;mBAKX,KAEN;CAAsB,AAAQ;;oBAKxB,QAEN;CAAuB,AAAQ,AAAI;;qBAK7B,JAEN;EAAO,DAAwB;;sBAKzB,FAEN;EAAO,DAAyB,AAAQ;;cAKlC,EAEN;CAAiB;;;;6BC1lBX,lBA1BR;CAuBwC,AAvBxC,EAuBwC;CADQ,AAtBhD,EAsBgD;CADZ,AArBpC,EAqBoC;CADP,AApB7B,EAoB6B;CADM,AAnBnC,EAmBmC;CADQ,AAlB3C,EAkB2C;CADV,AAjBjC,EAiBiC;CADC,AAhBlC,EAgBkC;CADF,AAfhC,EAegC;CADA,AAdhC,EAcgC;CADD,AAb/B,EAa+B;CADG,AAZlC,EAYkC;CADD,AAXjC,EAWiC;CADN,AAV3B,EAU2B;CADM,AATjC,EASiC;CADF,AAR/B,EAQ+B;CADR,AAPvB,EAOuB;CADG,AAN1B,EAM0B;CADE,AAL5B,EAK4B;CADL,AAJvB,EAIuB;CADC,AAHxB,EAGwB;;;;;aA8BhB,IAEN;EAAO,DAAiB;;eAKlB,WAEN;EAAO,DAAmB,AAAQ;;gBAK5B,EAEN;CAAoB;;mBAKd,DAEN;EAAO,DAAuB;;mBAKxB,RAEN;EAAO;;UAKD,OAEN;EAAO,DAAc;;gBAKf,CAEN;EAAO,DAAoB;;aAKrB;;EAEC,DAAiB,AAAQ,AAAO;;WAKjC,YAEN;EAAO,DAAe,AAAQ;;oBAKxB,FAEN;EAAO,DAAwB;;YAKzB,SAEN;EAAO,DAAgB;;gBAKjB,EAEN;CAAoB;;gBAKd,EAEN;CAAoB;;;;yBC9Fd,dAEN;GAAK;;;;mCAYQ,nBAmBb;CAAO;;kCAKM,nBAmBb;CAAO;;iCAKM,XAA8D;;;SAvDrE,EAAyB;;;;;;;;;;;;;;+BCrBlB,bAEb;EAAI,EAAwB,HAE3B;EAAI,EAAW,HAIb,GAAI;GAEK;GACR,AAAuB,FAAK,AAAa;;GAIzC,AAAuB,FAAO;MAqBhC,HAAuB;;;iCASZ,tBAEb;EAAI,EAAW,HAEd;EAAQ;EAAR,IAAQ;KAEF;GAFE;;GAIN,FAAoB;;;;;;mCAWV,xBAEb;EAAI,EAAW,HAEd;EAAQ;EAAR,IAAQ;KAEF;GAFE;;GAIe;GAErB,DAAI,EAAkB,HAAM;IAEd,HAAuB;IACpC,HAAwB;IACxB,HAAoB;IACpB,HAAiB;;;;;;;kCAaR,vBAEb;EAAI,EAAW,HAEd;EAAQ;EAAR,IAAQ;KAEF;GAFE;;GAIN,FAAoB;;;;;;yBCjFjB,YA1BR;CA0BQ;;CAvBiB,AAHzB,EAGyB;CAyBvB,EAAc;CACd,EAAc;CAEd,CAAI,EAAU,AAAQ,AAAU,HAE/B,AAAc;CAIf,EAAa;CACb,EAAK;CAEL,CAAI,EAAU,HAEb;;;;;SAOK,EAEN;;GAAQ;GAAR,GAAQ;KAEF;IAFE;;IAIN,FAAI;;;;;IAAM,HAET,AAAiB;;;;;;MAWb,KAEP;;GAAQ;GAAR,GAAQ;KAEF;IAFE;;IAIN,FAAI;;;;;IAAa,HAAG;KAEnB,FAAY;KAEC;KAEb,HAAI,EAAmB,HAEtB;EAAI,EAAwB,HAE3B,EAAS,GAEH,JAAI,EAAwB,HAElC,EAAS;MAIJ,JAAI,EAAmB,HAE7B;EAAI,EAAwB,HAE3B,EAAS,GAEH,JAAI,EAAwB,HAElC,EAAS;;KAMX,JAAe,AAAW,AAAQ,AAAa,AAAoB;;IAIpE,DAAK;IACL,HAAY,AAAI,AAAW;;;;;;MASvB,KAAsB;;OAsCtB,IAAuB;;MA4BvB,KAAsB;;aA+BrB,FAAwB;;iBAkCxB,NAIN;EAAO;;iBAiBD,DAIN;EAAO,CAAY;;UAyBb,CAIN;EAAO;;UAeD,MAIN;EAAO;;YAmBD,DAA2B;EAElC,AAAI,EAAY,HAER;EAMA;;YAgBD,IAEP;EAAO,CAAW;;;;;+BCpXZ,pBAAgB;;;;;cAOhB,WAON;EAAO;;gBAMD,CAUN;EAAO;;eAKD,EAUN;EAAO;;QAKD,SAUN;EAAO;;gBAKD,CAUN;EAAO;;sBAKD,LAUN;EAAO;;WAKD,MAUN;EAAO;;QAKD,SAUN;EAAO;;OAKD,UAAyC;;SAazC;;EAUC;;MAKD,0BAAgI;;iCAahI,EAA8H;;sBAa9H;;;;MAaA;;;EAUC;;;;+BC/LD,pBAdR;CAWoC,AAXpC,EAWoC;CADF,AAVlC,EAUkC;CADH,AAT/B,EAS+B;CADC,AARhC,EAQgC;CADD,AAP/B,EAO+B;CADC,AANhC,EAMgC;CADG,AALnC,EAKmC;CADA,AAJnC,EAImC;CADC,AAHpC,EAGoC;;;;;aAkB5B,SAA8D;EAGpE,AAAI,EAAc,HAEV,AAAwB;EAKzB;;cAKD,MAA4D;EAGrD;EACb,CAAa;EACb,CAAiB;EACV;;0BASD,TAA2D;EAGjE,AAAI,EAAc,HAEV;EAKD;;aAMD,IAA+C;EAGrD,AAAI,EAAc,HAEV;EAKD;;aAKD,IAAiE;EAGvE,AAAI,EAAc,HAEV;EAKD;;eAMD,EAAwE;EAG9E,AAAI,EAAc,HAEV;EAKD;;eAMD,EAAmD;EAGzD,AAAI,EAAc,HAEV;EAKD;;gBAKD,CAAmD;EAGzD,AAAI,EAAc,HAEV;EAKD;;wBAKD,PAA2D;EAGjE,AAAI,EAAc,HAEV;EAKD;;aAKD,IAAgD;EAGtD,AAAI,EAAc,HAEV;EAKD;;UAKD,OAA4C;EAGlD,AAAI,EAAc,HAEV;EAKD;;UAKD,OAA8D;EAGpE,AAAI,EAAc,HAEV;EAKD;;gBAMD,CAAmD;EAGzD,AAAI,EAAc,HAEV;EAKD;;SAMD,QAA2C;EAGjD,AAAI,EAAc,HAEV;EAKD;;eAMD,EAAmD;EAGzD,AAAI,EAAc,HAEV;EAKD;;UAMD,OAA4C;EAGlD,AAAI,EAAc,HAEV;EAKD;;iBAKD,AAAkD;EAGxD,AAAI,EAAc,HAEV;EAKD;;WAKD,MAA6C;EAGnD,AAAI,EAAc,HAEV;EAKD;;iBAKD,AAAoD;EAG1D,AAAI,EAAc,HAEV;EAKD;;WAKD,MAA+D;EAGrE,AAAI,EAAc,HAEV;EAKD;;YAKD,KAAgD;EAGtD,AAAI,EAAc,HAEV;EAKD;;eAKD,EAAgD;EAGtD,AAAI,EAAc,HAEV;EAKD;;aAKD,IAAiE;EAGvE,AAAI,EAAc,HAEV;EAKD;;YAKD,KAA8C;EAGpD,AAAI,EAAc,HAEV;EAKD;;QAKD,SAA4C;EAGlD,AAAI,EAAc,HAEV;EAKD;;cAKD,GAAiD;EAGvD,AAAI,EAAc,HAEV;EAKD;;WAKD,MAA8C;EAGpD,AAAI,EAAc,HAEV;EAKD;;MAKD,WAGN;EAAI,EAAc,HAEV;;OAQF,UAGN;EAAI,EAAc,HAEV;;MAQF,WAGN;EAAI,EAAc,HAEV;;aAQF,UAGN;EAAI,EAAc,HAEjB,EAAsB;;eASjB,QAGN;EAAI,EAAc,HAEjB,EAAwB;;gBASnB,OAGN;EAAI,EAAc,HAEjB,EAAyB;;wBAQpB,DAGN;EAAI,EAAc,HAEjB,EAAiC;;SAQ5B,cAGN;EAAI,EAAc,HAEjB,EAAkB;;eASb,QAGN;EAAI,EAAc,HAEjB,EAAwB;;UASnB,aAGN;EAAI,EAAc,HAEjB,EAAmB;;iBAQd,MAGN;EAAI,EAAc,HAEjB,EAA0B;;YAQrB,WAGN;EAAI,EAAc,HAEjB,EAAqB;;QAQhB,eAGN;EAAI,EAAc,HAEjB,EAAiB;;WAQZ,YAGN;EAAI,EAAc,HAEjB,EAAoB;;;;;;;;kCCjiBR,KAAsF;;gCAWtF,YAAyF;;gCASzF,YAAmF;;+BASnF,FAA2D;;gCAS3D,FAAoE;;+BASpE,FAAyD;;gCASzD,FAAkE;;oCASlE,nBAAwC;;qCASxC,nBAAiD;;oCASjD,nBAAwC;;qCASxC,nBAAiD;;+BASjD,VAAuC;;qCASvC,bAAgD;;qCAShD,rBAA0C;;uCAS1C,vBAA4C;;8BAS5C,TAAsC;;iCAStC,tBAKb;CAAO;;kCAMM,tBAKb;CAAO;;iCAMM,tBAKb;CAAO;;kCAMM,tBAKb;CAAO;;kCAMM,lBAKb;CAAO;;mCAMM;;CAKN;;mCAMM,ZAKb;CAAO;;mCAMM,ZAKb;CAAO;;kCAMM,XAKb;CAAO;;mCAMM;;CAKN;;kCAMM,XAKb;CAAO;;mCAMM;;CAKN;;iCAMM,jBAKb;CAAO;;kCAMM;;CAKN;;oCAMM,pBAKb;CAAO;;gCAMM,rBAKb;CAAO;;sCAMM,3BAEb;CAAe;CAAR,KAAQ;KAET;EAAc;KACd;EAAc;KACd;EAAe;KACf;EAAmB;KACnB;EAAe;;EACX;;;gCAOG,hBAKb;CAAO;;iCAMM;;CAKN;;kCAMM,lBAKb;CAAO;;mCAMM;;CAKN;;qCAMM,rBAKb;CAAO;;qCAMM,rBAKb;CAAO;;oCAMM,pBAKb;CAAO;;qCAMM;;CAKN;;oCAMM,pBAKb;CAAO;;qCAMM;;CAKN;;sCAMM,tBAEb;CAAO;;mCAKM,ZAKb;CAAO;;kCAMM,XAKb;CAAO;;mCAMM,ZAKb;CAAO;;mCAMM,ZAKb;CAAO;;kCAMM,XAKb;CAAO;;mCAMM;;CAKN;;iCAMM,jBAKb;CAAO;;gCAMM,fAKb;CAAO;;iCAMM,ZAKb;CAAO;;0CAMM,xBAKb;CAAO;;gCAMM,fAKb;CAAO;;kCAMM,GAA+E;;kCAS/E,GAAyE;;iCASzE,XAAiD;;kCASjD,XAA0D;;iCAS1D,XAA+C;;kCAS/C,XAAwD;;gCASxD,YAAyF;;gCASzF,YAAmF;;+BASnF,FAA2D;;gCAS3D,FAAoE;;+BASpE,FAAyD;;gCASzD,FAAkE;;kCASlE,jBAAsC;;mCAStC,jBAA+C;;kCAS/C,jBAAsC;;mCAStC,jBAA+C;;oCAS/C,nBAAwC;;qCASxC,nBAAiD;;mCASjD,lBAAuC;;oCASvC,lBAAgD;;yCAShD,jBAAyD;;0CASzD,dAA0E;;2CAS1E,1BAMb;CAAO;;4CAMM,xBAKb;CAAO;;oCAMM,pBAAyC;;;;;oCCv0BzC,nBAKb;CAAO;;sCAMM,ZAYb;CAAO;;uCAKM,rBAAiD;;0CASjD,xBAYb;CAAO;;0CAKM,/BAYb;CAAO;;iCAKM,hBAKb;CAAO;;uCAMM,tBAEb;CAAe,AAAU;CAAlB,KAAQ;KAET;EAAgB;KAChB;EAAiB;KACjB;EAAc;KACd;EAAe;KACf;EAAe;;EACX;;;oCAOG,RAKb;CAAO;;kCAMM,XAKb;CAAO;;2CAMM,zBAKb;CAAO;;mCAMM,dAYb;CAAO;;uCAKM,rBAAiD;;uCASjD,rBAAiD;;;;;;oDCnLvD,nCAEA;;;;;;;kDCFA,jCAEA;;;;qCC6DD,1BAAgB;;;;;OAOhB,IAAuB;;YACvB,MAA8D;;YAC9D,IAAuC;;cACvC,IAAyC;;;;mCCtBzC,xBAAgB;;;;;UAOhB,MAAgF;EAAO;;YACvF,UAA6F;EAAO;;kBACpG;;;;;kCACA,lBAAsF;EAAO;;UAC7F,MAA2D;EAAO;;eAClE,CAAwD;EAAO;;WAC/D,qBAAwG;EAAO;;YAC/G,IAA4D;EAAO;;gBACnE,DAAkE;EAAO;;eACzE,CAA+D;EAAO;;sBACtE,NAAsG;EAAO;;SAC7G,uBAAsG;EAAO;;eAC7G,CAA2F;EAAO;;iBAClG,DAAgG;EAAO;;kBACvG,HAA+C;EAAO;;eACtD,DAA8D;EAAO;;cACrE;;EAA+E;;iBAC/E,CAAkG;EAAO;;eACzG,CAA2F;EAAO;;aAClG,GAAmF;EAAO;;eAC1F,CAA+D;EAAO;;gBACtE;;;;qBACA;;;qBACA,VAAuC;EAAO;;eAC9C,OAAyE;;WACzE;;;gBACA;;;mBACA,RAAmC;;UACnC,CAA0B;;eAC1B,QAA+C;;cAC/C,UAAgG;;gBAChG,QAAsD;;UACtD,CAA8B;EAAO;;aACrC,EAA0C;EAAO;;;;sBC1BjD;;;;;CAEN,EAAe;CACf,EAAe;CACf,EAAa;CACb,EAAc;CAEd,CAAI,EAAQ,HAEX;EAAI,EAAuB,AAAQ,AAAgC,HAEtD;GAAQ;GAAR,GAAQ;KAEd,AAAS;IAFf,DAE2B;;KACrB;IAHN,DAGiB;;;IAHjB,DAIU;;MAMV,HAAY;MAMb,HAAY;CAIb,CAAI,EAAU,HAEb;EAAI,CAAQ,CAAK,DAAS,FAEzB;GAAQ;GAAR,GAAQ;KAEF;IAEJ,DAAc,2BAAiB,7BAAM,AAAO;IAC5C,HAA8B,AAAM,AAAO;IAE3C,FAAI,EAAS,HAEZ,AAAU,uBAAe,vBAAG,AAAG,AAAO,AAAS;;KAI5C;IAEJ,DAAc,2BAAiB,fAAgB,ZAAQ,AAAS,FAAI,AAAO;IAE3E,FAAI,EAAS,HAEZ,AAAU,uBAAe,vBAAG,AAAG,AAAO,AAAS;;KAI5C;;;;;MAeP,LAAmB;;;;;iCAsQP,JAA6E;CAE1F,CAAI,EAAU,HAAa;CACf;CACZ,AAAoB,AAAQ,AAAM;CAC3B;;qCAKM,hBAAmF;CAEhG,CAAI,EAAc,HAAa;CAClB,6BAAiB,7BAAM,AAAkB;CACtD,EAAyB;CAClB,uBAAW;;gCAKL,TAAwE;CAErF,CAAI,EAAS,HAAa;CACd;CACZ,AAAmB,AAAO;CACnB;;iCAKM,hBAAsF;CAEnG,CAAI,EAAU,HAAa;CACd,6BAAiB,7BAAM,AAAc;CAClD,AAAa;CACN,uBAAW;;+BAKL,DAAgG;CAEjG;CACZ,AAAkB,AAAM,AAAQ;CACzB;;uCAKM,vBAA0F;CAEvG,CAAI,EAAS,HAAa;CACb,6BAAiB,7BAAM,AAAa;CACjD,AAAa;CACN,uBAAW;;qCA8VJ,rBAAiD;CAI9C;CAAQ,EAAe;CAAvB,KAAQ;KAElB;EAAG;;KACH;EAAG;;;EACC;;CAIV,CAAI,EAAmB,HAEtB,EAAkB,sBAAc,xBAAgB;CAI1C,AAA6B,AAAc,AAAK,EAA+B;;8BAkRzE,dAAmC;CAEjD,EAAiB;CACV,GAA6B,AAAQ,AAA6B;;8BAK3D,dAAmC;CAEjD,EAAiB;CACV,MAAC,HAA6B,AAAQ,AAA6B,AAAQ,AAA6B,AAAQ,AAA6B,AAAQ,AAA6B,AAAQ,AAA6B,AAAQ,AAA6B,AAAQ,AAA6B;;8BAI1R,dAAmC;CAEjD,EAAiB;CAEjB,CAAI,EAA6B,AAAQ,AAA6B,AAAQ,AAA6B,AAAQ,AAA6B,HAAM;EAE7I;EACD,KAAC,NAAC,GAAK,AAAQ,AAAK,AAAS,AAA6B;;CAI3D;;;OAj9BD,IAAwB;EAElB,sBAAW,vBAAiB,AAAS,AAAS,AAAO,AAAQ,AAAM;EACxE;;gBAKD,WAAuE;EAE7E,CAAO,FAAY;EACnB,AAAI,EAAU,AAAQ,AAAQ,HAAM;EAE5B;EAAR,IAAQ;KAEF;GAEJ,FAAgC,AAAM,AAAM;;KAExC;GAGJ,FAA+B;GAG/B,FAA8B,AAAM,AAAM;;KAEtC;GAEJ,FAAa,AAAS;GACtB,FAAuC,AAA4B;;;;;aAS/D,wDAA6I;EAEnJ,CAAa,FAAY;EACzB,AAAI,EAAU,AAAQ,AAAc,HAAM;EAE1C,AAAI,EAAe,AAAS,HAAC,AAAa;EAC1C,AAAI,EAAoB,AAAK,AAAqB,HAAG;EACrD,AAAI,CAAe,AAAmB,FAAmB,EAAmB,AAAoB;EAChG,AAAI,CAAe,AAAoB,FAAoB,EAAoB,AAAqB;EAE5F;EAAR,IAAQ;KAEF;GAEJ,FAA6B,AAAM,AAAa,AAAY,AAAW,AAAe;;KAElF;GAGJ,FAA+B;GAG/B,FAA2B,AAAM,AAAa,AAAY,AAAW,AAAe;;KAEhF;GAEa;MAAQ;KACnB;IAAK;;KACL;IAAO;;KACP;IAAM;;KACN;IAAO;;;GAGI;MAAQ;KACnB;IAAK;;KACL;IAAO;;KACP;IAAM;;KACN;IAAO;;;GAGb,FAAmB,AAAqB;GACxC,FAAkB,AAAS;GAE3B,FAAoC,AAAwB,AAAkC,AAA6B,AAAY;;;;;YASnI;;EAGN,AAAI,EAAU,AAAQ,AAAe,HAAM;EAC3C,AAAI,EAAoB,AAAK,AAAqB,HAAG;EACrD,AAAI,EAAS,AAAK,AAAU,HAAG;EAG/B,AAAI,CAAe,AAAmB,FAAmB,EAAmB,AAAoB;EAChG,AAAI,CAAe,AAAoB,FAAoB,EAAoB,AAAqB;EAGpG,AAAI,CAAe,FAAG;GACrB,CAAoB;GACpB,AAAe;;EAEhB,AAAI,CAAe,FAAG;GACrB,CAAqB;GACrB,AAAe;;EAIhB,AAAI,CAAc,AAAmB,FAAO,EAAmB,AAAQ;EACvE,AAAI,CAAc,AAAoB,FAAQ,EAAoB,AAAS;EAG3E,AAAI,CAAc,FAAG;GACpB,CAAoB;GACpB,AAAe,FAAC;GAChB,AAAc;;EAEf,AAAI,CAAc,FAAG;GACpB,CAAqB;GACrB,AAAe,FAAC;GAChB,AAAc;;EAGP;EAAR,IAAQ;KAEF;GAEJ,FAAiC;GACjC,FAA4B,AAAM,AAAa,AAAY,AAAW,AAAY,AAAY;;KAE1F;GAGJ,FAA+B;GAC/B,FAA+B;GAG/B,FAA0B,AAAM,AAAa,AAAY,AAAW,AAAY,AAAY;;KAExF;GAEJ,FAAmB,AAAqB;GACxC,FAAkB,AAAS;GAE3B,DAAI,EAAc,AAAQ,AAAc,HAEvC,AAAmB,AAAoB;GAIxC,FAAmC,AAAoC,AAAkC,AAA6B,GAAc,HAAO,AAAwB,AAAM,GAAc,HAAO,AAA+B,AAAM;;;;;QAS/O;;;EAwBC;;UAKD,kBAA8E;EAEpF,CAAO,FAAY;EACnB,AAAI,EAAU,AAAQ,AAAQ,HAAM;EAE5B;EAAR,IAAQ;KAEF;GAEJ,FAA0B,AAAM,AAAM,AAAO;;KAEzC;GAGJ,FAA+B;GAG/B,FAAwB,AAAM,AAAM,AAAO;;KAEvC;GAEJ,FAAa,AAAS;GACtB,DAAI,EAAU,AAAQ,AAAU,HAAM,EAAQ,AAAC,FAAC,EAAQ,CAAS,DAAM,AAAC,CAAS;GACjF,FAAiC,AAA4B;;;;;WASzD,gBAA6E;EAEnF,AAAI,EAAU,HAAM;EAEZ;EAAR,IAAQ;KAEF;GAEJ,FAA2B,AAAM,AAAG,AAAG,AAAO;;KAE1C;GAGJ,FAA+B;GAG/B,FAAyB,AAAM,AAAG,AAAG,AAAO;;KAExC;GAEJ,DAAI,EAAU,AAAQ,AAAU,HAAM,EAAQ,AAAC,FAAC,EAAQ,CAAS,DAAM,AAAC,CAAS;GACjF,FAAkC,EAAI,FAAS,EAAI,FAAS;;;;;oBAmExD;;EAEN,AAAI,EAAU,HAAa;EAEnB;EAAR,IAAQ;KAEF;GAGJ,FAA+B;GAGxB,FAAkC,AAAM,AAAM,AAAO,AAAW;KAEnE;GAEG,FAAkC,AAAM,AAAM,AAAO,AAAW;KAEnE;GAEO,FAA2C,AAAM,AAAO;GAC5D,qBAAe,vBAAQ,AAAQ,AAAY;;GAI3C;;;UAKH,WAAgE;EAEtE,AAAI,EAAU,AAAQ,DAAI,CAAK,DAAI,CAAK,AAAK,AAAS,AAAK,HAAe;EAElE;EAAR,IAAQ;KAEF;GAEG,FAA0B,AAAM,AAAG,AAAG;KAEzC;GAGJ,FAA+B;GAGxB,FAAwB,AAAM,AAAG,AAAG;KAEvC;GAEQ,FAAiC,EAAI,FAAS,EAAI;GAE9D,DAAI,EAAU,AAAQ,AAAU,HAExB,MAAC,NAAC,EAAQ,CAAS,DAAM,AAAC,CAAS,EAInC;;;GAMD;;;YAOH,SAAkE;EAExE,AAAI,EAAU,AAAQ,DAAI,CAAK,DAAI,CAAK,AAAK,AAAS,AAAK,HAAe;EAElE;EAAR,IAAQ;KAEF;GAEG,FAA4B,AAAM,AAAG,AAAG;KAE3C;GAGJ,FAA+B;GAGxB,FAA0B,AAAM,AAAG,AAAG;KAEzC;GAEQ,FAAmC,EAAI,FAAS,EAAI;GAEhE,DAAI,EAAU,AAAQ,AAAU,HAExB,MAAC,NAAC,EAAQ,CAAS,DAAM,AAAC,CAAS,EAInC;;;GAMD;;;WAOH,WAAyE;EAE/E,AAAI,EAAU,HAAa;EAEnB;EAAR,IAAQ;KAEF;GAEG,FAA2B,AAAM,AAAM;KAE1C;GAGJ,FAA+B;GAGxB,FAAyB,AAAM,AAAM;KAExC;GAEJ,FAAa,AAAS;GACN,FAAkC;GAElD,DAAI,EAAU,AAAQ,AAAU,HAAM;IAErC;IACa,DAAS,AAAmB,AAA5B;IAEH;IAAV,DAAc,FAAQ;KAAtB;KAEC,FAAQ;KACR,DAAsB;KACtB,JAA4B,AAAC,AAAC,EAAQ,CAAS,DAAM,AAAC,CAAS;;IAIhE,DAAqB;;GAIV;;GAIL;;;OAOH,iGAAkK;EAExK,AAAI,EAAU,AAAQ,AAAe,HAAM;EAEnC;EAAR,IAAQ;KAEF;GAEJ,FAAiC;GACjC,FAAuB,AAAM,AAAa,AAAY,AAAW,AAAe,AAAiB,AAAgB;;KAE7G;GAGJ,FAA+B;GAC/B,FAA+B;GAG/B,FAAqB,AAAM,AAAa,AAAY,AAAW,AAAe,AAAiB,AAAgB;;KAE3G;GAEJ,FAAmB,AAAS;GAC5B,FAA8B,AAAoC,AAAkC,AAA6B,AAAe,AAAiB,AAAgB;;;GAI1K;;;QAOH,qBAAmD;EAEjD;EAAR,IAAQ;KAEF;GAEJ,FAAwB,AAAM,AAAU;;KAEpC;GAEJ,FAAsB,AAAM,AAAU;;KAElC;;;;EAcN,CAAe;EACf,CAAgB;EAEhB,CAAU;EACV,CAAU;EACV,CAAQ;EACR,CAAS;;UAKH,iBAA4E;EAElF,AAAI,EAAU,AAAQ,DAAI,CAAK,DAAI,CAAK,AAAK,AAAS,AAAK,HAAQ;EAE3D;EAAR,IAAQ;KAEF;GAEJ,FAA0B,AAAM,AAAG,AAAG,AAAO;;KAEzC;GAGJ,FAA+B;GAG/B,FAAwB,AAAM,AAAG,AAAG,AAAO;;KAEvC;GAEJ,DAAI,EAAU,AAAQ,AAAU,HAAM,EAAQ,AAAC,FAAC,EAAQ,CAAS,DAAM,AAAC,CAAS;GACjF,FAAiC,EAAI,FAAS,EAAI,FAAS;;;;;YASvD,eAA8E;EAEpF,AAAI,EAAU,AAAQ,DAAI,CAAK,DAAI,CAAK,AAAK,AAAS,AAAK,HAAQ;EAE3D;EAAR,IAAQ;KAEF;GAEJ,FAA4B,AAAM,AAAG,AAAG,AAAO;;KAE3C;GAGJ,FAA+B;GAG/B,FAA0B,AAAM,AAAG,AAAG,AAAO;;KAEzC;GAEJ,DAAI,EAAU,AAAQ,AAAU,HAAM,EAAQ,AAAC,FAAC,EAAQ,CAAS,DAAM,AAAC,CAAS;GACjF,FAAmC,EAAI,FAAS,EAAI,FAAS;;;;;WASzD,qBAAyF;EAE/F,CAAO,FAAY;EACnB,AAAI,EAAU,AAAQ,AAAQ,HAAM;EAE5B;EAAR,IAAQ;KAEF;GAEJ,FAA2B,AAAM,AAAM,AAAW;;KAE9C;GAGJ,FAA+B;GAG/B,FAAyB,AAAM,AAAM,AAAW;;KAE5C;GAEJ,FAAa,AAAS;GACtB,DAAI,EAAU,AAAQ,AAAU,HAAM;IAEvB;IACd,DAAY;IAKZ;IACa,DAAS,AAAmB,AAA5B;IAEH;IAAV,DAAc,FAAQ;KAAtB;KAEC,FAAQ;KACR,JAA4B,AAAC,AAAC,EAAQ,CAAS,DAAM,AAAC,CAAS;;IAIhE,DAAmB;IACnB,DAAqB;;GAEtB,FAAkC,AAA4B;;;;;YAsCzD,AAA4C;EAEnD,AAAI,EAAK,HAAa;EAEtB,AAAI,CAAM,FAAG;GAEZ,CAAW,HAAC;GACZ,AAAM;GAEN,DAAI,CAAM,CAAW,HAAU;;EAIhC,AAAI,CAAM,FAAG;GAEZ,CAAY,HAAC;GACb,AAAM;GAEN,DAAI,CAAM,CAAY,HAAU;;EAIjC,AAAI,CAAM,CAAW,HAAO;GAE3B,CAAW,DAAM,AAAU;GAE3B,DAAI,EAAW,HAAU;;EAI1B,AAAI,CAAM,CAAY,HAAQ;GAE7B,CAAY,DAAM,AAAW;GAE7B,DAAI,EAAY,HAAU;;EAIpB;;cAKA,eAAqF;EAArF;EAGK;EAES,cAAiB;GAErC,AAAS,2BAAiB,7BAAM,AAAa;GAC7C,AAAyB;GAEzB,AAAU;GACV,AAAU;GACV,AAAQ;GACR,AAAS;GAET,DAAI,EAAU,HAEb,AAAQ;;EAMV,DAAwB,AAAQ,AAAgB;EAChD,CAAY,AAAU,AAAO,AAAa;;aAMnC,UAAkE;EAI7D;EAEX,AAAI,DAAS,AAEZ,EAAO,GAED,JAAI,DAAS,AAEnB,EAAO,GAED,JAAI,DAAS,AAEnB,EAAO,GAIP,AAAM;EAIP,DAAc,AAAgB,AAAQ,AAAM;;YA2BtC,kBAAmF;EAAnF;EAIM;EAEZ,CAAe,SAAa;GAE3B,AAAS,2BAAiB,7BAAM,AAAa;GAC7C,AAAyB;GAEzB,AAAQ;GACR,AAAS;GAET,DAAI,EAAU,HAEb,AAAQ;;EAMV,CAAgB,UAEf;EAAI,EAAW,HAEd;;EAMF,CAAY;EAIZ,AAAI,DAAgB;;;mBAgFd,FAAqD;EAE5D,CAAc;EAEd,AAAI,EAAU,HAAM;GAEnB,DAAI,EAAS,HAEZ,EAAa;GAId,DAAI,EAAU,HAEb,EAAc;;;UA+CT,CAAgC;EAEvC,AAAI,EAAe,AAAQ,DAAe,CAAK,DAAgB,FAAG;GAIhE,FAAiC;GACjC,FAAsB;GACtB,FAAiC;;EAW5B;;UAKA,MAEP;EAAO,CAAc;;YAKd,DAEP;EAAO;;YAKA,IAAoD;EAE3D,AAAI,EAAiB,HAEpB;GAAQ;GAAR,GAAQ;KAEF;IAEJ,HAAyB,AAAM;;;;;EAQ3B,CAAgB;;gBAKhB,LAEP;EAAO,KAAC,AAAC,HAAgB,AAAM,AAAC,HAAC,EAAe,AAAC,FAAC,EAAe,CAAO,AAAkB,HAAC,AAAC,GAAiB,AAAM,AAAC,HAAC,EAAgB,AAAC,FAAC,EAAgB,CAAO;;gBAKvJ,AAA0C;EAEjD,AAAI,EAAS,HAAY;GAET;GACC;GAEhB,EAAO,FAAW,FAEjB,IAAa;GAId,EAAO,FAAY,FAElB,IAAc;GAIP;GAAR,GAAQ;KAEF;;KAIA;IAEJ,HAA4B,AAAM,AAAU;;KAExC;;;;;EAgBA;;mBAKA,RAEP;EAAO;;mBAKA,HAA6C;EAEpD,AAAI,EAAS,HAAC,AAEb;GAAQ;GAAR,GAAQ;KAEF;IAGJ,HAA+B;IAG/B,HAA6B;;;;MAQzB,JAAI,DAAC,GAAS,HAEpB;GAAQ;GAAR,GAAQ;KAEF;IAGJ,HAA+B;IAG/B,HAA+B;;;;;EAU3B;;UAKA,CAEP;EAAO,sBAAe,vBAAG,AAAG,AAAO;;SAK5B,EAEP;EAAO;;SAKA,OAEP;EAAO,DAAa;;iBAKb,NAAiC;EAExC,AAAI,EAAU,HAAa;EACpB;;iBAKA,DAA2C;EAGlD,AAAI,EAAU,HAAa;EACpB,CAAqB;;;;;4BCtxCtB;;;;CAEN,EAAY;CACZ,EAAa;CACb,EAAc;CACd,EAAoB;CACN,CAAC,EAAU,HAAzB,EAAgC,GAAhC,HAAuC;CACvC,EAAc;;;;;OAKR,IAA8B;EAEvB,4BAAiB,7BAAM,AAAO,AAAQ;EAKnD,AAAI,EAAQ,HAAM;GAEjB,AAAc,YAAgB;GACnB,YAAgB;GAC3B,FAAiB;MAEX,JAAI,EAAkB,HAAM;GAElC,AAA0B,FAAgC;GAC1D,AAA2B,FAA+B;GAC1D,AAA2B;GAC3B,AAA4B;GAC5B,AAAwB,FAAqC,AAAsB;GACxE,mBAAuB;GAClC,FAAgC;MAE1B,JAAI,EAAe,HAAM;GAE/B,AAA0B,FAAgC;GAC1D,AAA2B,FAA+B;GAC1D,AAA2B;GAC3B,AAA4B;GAC5B,FAA+B,AAAa,AAAG;MAI/C,HAAoB;EAuBrB,CAAuB;EACvB,CAAqB;EACd;;SAYA,EAA4B;EAIlC,AAAI,EAAc,HAAa;EACxB;;SAeD,OAAyC;EAI/C,AAAI,DAAQ,AAAO,AAElB,EAAkB,GAEZ,JAAI,DAAQ,AAAO,AAAgB;GAEzC,AAAmB;GACnB,AAAoB,FAAwB;;EAcvC;;YAKA,DAEP;EAAO,CAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBC9JT,RAZR;CAMuB,AANvB,EAMuB;CADe,AALtC,EAKsC;CADJ,AAJlC,EAIkC;CAUhC,EAAc;CAEd,EAAU,mCAAqB;CAE/B,EAA8B;;;;;QAKxB,GAEN;;;MAKM,KAEN;;;QAKO,GAEP;;;;;;4BCVM,VAEN;EAAI,EAAW,HAAM;;;;;;;;wCA4yBP,7BAKd;CAAO;;8CAMO,nCAKd;CAAO;;;UAlzBD,QAAgD;;KAShD,gCAAiF;;aASjF,wBAAyF;;MASzF,KAAsB;;aAStB,SAAmE;;cASnE,HAA8B;;WAS9B,AAA2B;;UAS3B,CAA0B;;SAS1B,mBAAmF;;SASnF,EAAyB;;MASzB,KAAsB;;aAStB,SAAmE;;cASnE,HAA8B;;gBAS9B,LAAgC;;QAShC,MAKN;EAAO;;QAMD,MAKN;EAAO;;UAMD,IAKN;EAAO;;QAMD,MAAwC;;QASxC,MAAwC;;MASxC,YAA0C;;aAS1C,SAAmE;;SASnE,EAAyB;;OASzB,IAAuB;;gBASvB,AAA2C;;UAS3C,CAKN;EAAO;;kBAMD,PAAkC;;WASlC,AAA2B;;sBAS3B,JAA0D;;WAS1D,gBAAsE;;WAStE,AAA2B;;YAS3B,sBAA4F;;WAS5F,KAA6C;;WAS7C,KAA6C;;WAS7C,AAA2B;;SAS3B,EAAyB;;MASzB,KAAsB;;aAQtB,EAAuC;;aAOvC,EAAmC;;gBAOnC,LAMN;EAAY;;gBAKN,AAMN;EAAO;;cAKD,EAAuD;;eASvD,GAAiE;;kBASjE,IAAwE;;UASxE,CAA0B;;UAQ1B,KAAkC;;QASlC,GAKN;EAAY;;QAMN,GAAwB;;eASxB,OAAqE;;gBASrE,LAAgC;;WAShC,MAAyC;;QAQzC,SAAoC;;OAQpC,OAAuC;;WASvC,GAA2C;;eAkB3B,JAMtB;EAAY;;eAKU,CAMtB;EAAO;;kBAKe,PAOtB;EAAO;;UAKe,CAMtB;EAAO;;UAKe,MAMtB;EAAO;;eAKe,JAMtB;EAAO;;cAKe,HAMtB;EAAY;;cAKU,EAMtB;EAAO;;iBAKe,NAKtB;EAAY;;qBAMU,VAMtB;EAAO;;aAKe,FAMtB;EAAO;;aAKe,GAMtB;EAAO;;cAKe,HAMtB;EAAO;;cAKe,EAMtB;EAAO;;eAKe,JAMtB;EAAO;;eAKe,CAMtB;EAAO;;YAKe,DAOtB;EAAO;;YAKe,IAMtB;EAAO;;gBAKe,LAMtB;EAAO;;gBAKe,AAMtB;EAAO;;cAKe,HAMtB;EAAY;;cAKU,EAMtB;EAAO;;oBAKe,TAKtB;EAAO;;YAMe,DAMtB;EAAY;;YAKU,IAMtB;EAAO;;YAKe,DAKtB;EAAY;;eAMU,JAKtB;EAAO;;eAMe,CAMtB;EAAO;;;;;;;;;;;;;;;;;;;;;;;;;gCCn0BD,jBAA4B;;;;;SAQ5B,EAAmB;;;;uCCFnB,tBAON;GAAc;;;;;eAGQ,JAMtB;EAAY;;eAKU,CAMtB;EAAO;;mBAIe,RAMtB;EAAY;;mBAKU,HAMtB;EAAO;;eAIe,JAMtB;EAAY;;eAIU,CAMtB;EAAO;;iBAGe,NAMtB;EAAY;;iBAGU,DAMtB;EAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4DCtFD,3CAEC;;;uEAKD,1CAAwE;;wEASxE,zCAAkF;;wEAS3E,tDAKb;CAAY;;oEAMC,9CAKb;CAAY;;oEAMC,1BAKb;CAAY;;iEAMC,jDAKb;CAAY;;kEAMC,hDAKb;CAAY;;+DAMN,/CAAyB;;0EAgBT,1DAKtB;CAAO;;kEAMe,lDAKtB;CAAO;;kEAMe,5CAMtB;CAAO;;kEAKe,lDAKtB;CAAO;;kEAMe,5CAMtB;CAAO;;kEAKe,lDAMtB;CAAO;;kEAMe,5CAMtB;CAAO;;;;;;;;;;;;;;;4DCzKD,9BAKC;;;qEAMM,3BAKb;CAAY;;+DAMN,/CAAyB;;6DASzB,7CAAuB;;iEAShB,jDAKb;CAAO;;kEAae,lDAKtB;CAAO;;iEAMe,jDAKtB;CAAO;;;;;;kCC/EM,bAA6D;CAE1E,CAAI,EAAQ,HAEX,EAAO;CAIe;CACA;CACC,EAAC,AAAc,AAAe;CAEtD,KAAQ;KAEF;EAEJ,CAAmB;;KAEf;EAEJ,CAAmB;EACnB,EAAqB,DAAc;;KAE/B;EAEJ,CAAoB,AAAC,AAAc,AAAK,AAAC,AAAC,AAAc,AAAK,AAAK,AAAC,AAAe,AAAK,AAAC,AAAe;;;CAO9F,wBAAe,tBAAmB,AAAmB;CAUhE,CAAI,CAAmB,FAAG;EAEzB,DAAgB;EAChB,DAAgB;EAChB,DAAe;EACf,DAAiB;EACjB,DAAiB;EACjB,DAAe,EAAmB;;CAInC,AAAe;CACf,AAAe;CACf,AAAe,GAAQ,HAAM,EAAe,FAAI;CAChD,AAAiB;CACjB,AAAiB,GAAQ,HAAM,AAAK;CACpC,AAAe,GAAQ,HAAW,AAAI;CACtC,AAAe;CACf,AAAe;CACf,AAAe;CACf,AAAe;CACf,AAAe;CAEf,CAAI,EAAQ,HAAU;EAErB,DAAe;EACf,DAAe;EACf,DAAe;EACf,DAAe;EAEf,DAAgB;EAChB,DAAgB;EAChB,DAAgB;EAChB,DAAgB;EAEN;EAAV,CAAc,FAAI;GAAlB;GAEC,FAAgB;;;CAML,AAAiB,uBAAe,vBAAG,AAAG,AAAa,AAAe;CAC/E;;;;CAEA,KAAQ;KAEF;EAEM;EAAI;EAAd,DAA4B;GAA5B;GAEC,AAAkB,FAAC,EAAe,AAAI,AAAK,AAAI;GAErC;GAAI;GAAd,FAA2B;IAA3B;IAEC,DAAI;IACJ,DAAI;IACJ,DAAI;IACJ,DAAI;IAEJ,HAAgB;IAChB,HAAgB;IAChB,HAAgB;IAChB,HAAgB;;;;KAMd;EAGU,uBAAe,tBAAc;EAMjC;EAAI;EAAd,DAA4B;GAA5B;GAEC,AAAkB,FAAC,EAAe,AAAI,AAAK,AAAI;GAErC;GAAI;GAAd,FAA2B;IAA3B;IAEC,DAAI;IACJ,DAAI;IACJ,DAAI;IACJ,DAAI;IAEJ,HAAgB;IAChB,HAAgB;IAChB,HAAgB;IAChB,HAAgB;IAQf,HAAmB;;;EAQtB,DAAiB;;KAEb;EAEM;EAAI;EAAd,DAA4B;GAA5B;GAEC,AAAkB,FAAC,EAAe,AAAI,AAAK,AAAI;GAErC;GAAI;GAAd,FAA2B;IAA3B;IAEC,DAAI;IACJ,DAAI;IACJ,DAAI;IACJ,DAAI;IAEJ,HAAgB;IAChB,HAAgB;IAChB,HAAgB;;GAIP;GAAI,AAAC,AAAC,AAAc,AAAK;GAAnC,FAAuC;IAAvC;IAEC,HAAgB;;;;;CAUb;;;;;;;;;;;;;;;mCCxLM,XAUb;CAAO;;;;;kCCFM,lBA4Db;CAAO;;;;;;;;;wCC+Sa,tBAGpB;CAAuB;;uCAUH,dAGpB;CAAsB,AAAS;;6CAYX,hBAGpB;CAA4B,AAAS,AAAO;;qCAUxB,bAGpB;CAAoB,AAAQ;;0CAUR,bAGpB;CAAyB,AAAQ;;2CAUb,bAGpB;CAA0B,AAAQ;;sCAUd,bAGpB;CAAqB,AAAQ;;qCAUT,NAGpB;CAAoB,AAAK,AAAO,AAAM;;wCAUlB,zBAGpB;CAAuB;;gDAUH,pBAGpB;CAA+B,AAAS;;oCAUpB,VAGpB;CAAmB,AAAS;;4CAUR,FAGpB;CAA2B,AAAQ,AAAQ,AAAU;;qCAUjC,TAGpB;CAAoB,AAAQ,AAAM;;wCAYd,XAGpB;CAAuB,AAAQ,AAAQ;;iDAYnB,hCAGpB;CAAO,AAAgC;;gCAYnB,jBAGpB;CAAe;;qCAUK,NAGpB;CAAoB,AAAK,AAAO,AAAM;;qCAUlB,rBAGpB;CAAoB;;uCAUA,3BAGpB;CAAsB;;oCAUF,LAGpB;CAAmB,AAAK,AAAO,AAAM;;wCAUjB,vBAGpB;CAAuB;;+CAUH,gBAGpB;CAA8B,AAAQ,AAAO,AAAgB,AAAO,AAAQ,AAAQ;;kDAYhE,cAGpB;CAAiC,AAAQ,AAAO,AAAS,AAAS,AAAO,AAAQ,AAAQ;;yCAYrE,qBAGpB;CAAwB,AAAQ,AAAO,AAAgB,AAAG,AAAG,AAAO,AAAQ;;4CAUxD,YAGpB;CAA2B,AAAQ,AAAO,AAAS,AAAS,AAAG,AAAG,AAAO;;uCAUrD,5BAGpB;CAAO;;4CAaa,jCAGpB;CAAO;;wCAaa,7BAGpB;CAAO;;6CAYa,lCAGpB;CAAO;;uCAaa,xBAGpB;CAAO,AAAsB;;wCAYT,7BAGpB;CAAO;;mCAaa,pBAGpB;CAAkB;;uCAUE,tBAGpB;CAAsB;;4CAYF,tBAGpB;CAA2B;;wCAYP,tBAGpB;CAAuB;;6CAYH,tBAGpB;CAA4B;;uCAYR,tBAGpB;CAAsB;;wCAYF,tBAGpB;CAAuB;;oCAYH,rBAGpB;CAAmB;;oCAUC,rBAGpB;CAAmB;;qCAUC,hBAGpB;CAAoB,AAAO;;uCAUP,dAGpB;CAAsB,AAAS;;kCAUX,pBAGpB;CAAiB;;mDAUG,nCAGpB;CAAkC;;qCAUd,VAGpB;CAAoB,AAAM,AAAO;;uCAUb,NAGpB;CAAsB,AAAM,AAAO,AAAM;;iCAUrB,nBAGpB;CAAgB;;kDAUI,lCAGpB;CAAiC;;iCAUb,tBAGpB;;;gCAUoB,rBAGpB;;;kDAUoB,UAGpB;CAAiC,AAAQ,AAAY,AAAoB;;+CAUrD,KAGpB;CAA8B,AAAQ,AAAY,AAAW,AAAS;;oCAUlD,rBAGpB;CAAmB;;yCAUC,xBAGpB;CAAwB;;0CAUJ,lBAGpB;CAAO,AAAyB,AAAS;;2CAarB,nBAGpB;CAAO,AAA0B,AAAS;;6CAatB,3BAGpB;CAAO,AAA4B;;4CAYf,rBAGpB;CAAO,AAA2B,AAAS;;6CAYvB,tBAGpB;CAAO,AAA4B,AAAQ;;+CAavB,pCAGpB;CAAO;;mCAmBa,xBAGpB;CAAO;;uCAYa,xBAGpB;CAAO,AAAsB;;4DAYT,1BAGpB;CAAO,AAA2C,AAAQ,AAAY;;uCAalD,vBAGpB;CAAO,AAAsB;;4CAYT,1BAGpB;CAAO,AAA2B;;8CAYd,tBAGpB;CAAO,AAA6B,AAAS;;mDAazB,5BAGpB;CAAO,AAAkC,AAAQ;;2CAa7B,1BAGpB;CAAO,AAA0B;;6CAYb,tBAGpB;CAAO,AAA4B,AAAQ;;mDAavB,hBAGpB;CAAO,AAAkC,AAAY;;0CAajC,zBAGpB;CAAO,AAAyB;;iDAYZ,tCAGpB;CAAO;;0CAca,nBAGpB;CAAO,AAAyB,AAAQ;;qCAapB,VAGpB;CAAO,AAAoB,AAAS;;6CAahB,tBAGpB;CAAO,AAA4B,AAAS;;0CAYxB,pBAGpB;CAAO,AAAyB,AAAO;;gDAYnB,1BAGpB;CAAO,AAA+B,AAAO;;+BAYzB,TAGpB;CAAc,AAAQ;;mCAQF,lBAGpB;CAAO,AAAkB;;wCAUL,7BAGpB;CAAO;;oCAQa,tBAGpB;CAAO,AAAmB;;wCAUN,lBAGpB;CAAO,AAAuB;;oCAUV,lBAGpB;CAAO,AAAmB;;yCAUN,lBAGpB;CAAO,AAAwB;;mCAUX,lBAGpB;CAAO,AAAkB;;oCAUL,lBAGpB;CAAO,AAAmB;;oCAUN,pBAGpB;CAAmB;;sCAQC,pBAGpB;CAAqB;;sCAQD,hBAGpB;CAAqB,AAAO;;wCAQR,jBAGpB;CAAuB,AAAQ;;qCAQX,SAGpB;CAAoB,AAAG,AAAG,AAAO,AAAQ,AAAQ,AAAM;;8CAUnC,DAGpB;CAA6B,AAAQ,AAAgB,AAAO;;yCAQxC,lBAGpB;CAAwB,AAAO;;kCAQX,PAGpB;CAAiB,AAAG,AAAG,AAAO;;uCAQV,fAGpB;CAAsB,AAAQ;;sCAQV,dAGpB;CAAqB,AAAM,AAAK;;8CAQZ,jBAGpB;CAA6B,AAAM,AAAM,AAAK;;sCAQ1B,vBAGpB;CAAqB;;8CAQD,1BAGpB;CAA6B,AAAM;;oCAQf,TAGpB;CAAmB,AAAM,AAAO;;4CAQZ,ZAGpB;CAA2B,AAAM,AAAM,AAAO;;qCAQ1B,wCAGpB;CAAoB,AAAQ,AAAO,AAAgB,AAAO,AAAQ,AAAQ,AAAQ,AAAM;;wCAUpE,XAGpB;CAAuB,AAAQ,AAAO;;wCAQlB,XAGpB;CAAuB,AAAQ,AAAO;;wCAQlB,+BAGpB;CAAuB,AAAQ,AAAO,AAAS,AAAS,AAAO,AAAQ,AAAQ,AAAM;;oCAUjE,fAGpB;CAAmB,AAAU;;qCAQT,hBAGpB;CAAoB,AAAU;;oCAUV,fAGpB;CAAmB,AAAU;;qCAQT,hBAGpB;CAAoB,AAAU;;oCAUV,bAGpB;CAAmB,AAAU,AAAG;;qCAQZ,hBAGpB;CAAoB,AAAU;;oCAUV,bAGpB;CAAmB,AAAU,AAAG;;qCAQZ,hBAGpB;CAAoB,AAAU;;oCAUV,XAGpB;CAAmB,AAAU,AAAG,AAAG;;qCAQf,hBAGpB;CAAoB,AAAU;;oCAUV,XAGpB;CAAmB,AAAU,AAAG,AAAG;;qCAQf,hBAGpB;CAAoB,AAAU;;oCAUV,TAGpB;CAAmB,AAAU,AAAG,AAAG,AAAG;;qCAQlB,hBAGpB;CAAoB,AAAU;;oCAUV,TAGpB;CAAmB,AAAU,AAAG,AAAG,AAAG;;qCAQlB,hBAGpB;CAAoB,AAAU;;2CAUV,ZAGpB;CAA0B,AAAU,AAAW;;2CAU3B,ZAGpB;CAA0B,AAAU,AAAW;;2CAU3B,ZAGpB;CAA0B,AAAU,AAAW;;qCAiB3B,nBAGpB;CAAoB;;0CAQA,xBAGpB;CAAyB;;yCAQL,xBAGpB;CAAwB,AAAM;;0CAQV,pBAGpB;CAAyB,AAAM;;yCAUX,tBAGpB;CAAwB,AAAM,AAAG;;0CAQb,pBAGpB;CAAyB,AAAM;;yCAUX,pBAGpB;CAAwB,AAAM,AAAG,AAAG;;0CAQhB,pBAGpB;CAAyB,AAAM;;yCAUX,lBAGpB;CAAwB,AAAM,AAAG,AAAG,AAAG;;0CAQnB,pBAGpB;CAAyB,AAAM;;8CAUX,IAGpB;CAA6B,AAAM,AAAM,AAAM,AAAY,AAAQ;;mCAQ/C,RAGpB;CAAkB,AAAG,AAAG,AAAO;;sCAQjB,3BAA8B;CAAO;;;;;;qDC3nEtC,pBAAoF;CAEjG,AAAiB;CACjB,AAAiB;CAEjB,AAA8B,AAAO,AAAM;;sDAK9B,tCAA4C;CAE5C;CAEb,CAAI,EAAqB,HAAM;EAE9B,AAAI,EAAsB,HAAM;GAE/B,FAAc,AAAO,AAAyB;GAC9C,FAA+B,AAAmB,AAAG;;EAItD,CAAoB;;;oDAOR,pCAGb;EAAI,EAAqB,HAAM;EAE9B,DAAiB;EACjB,DAAM;EACN,DAAiB;EAEjB,CAA2B;EAC3B,CAA4B;;;kDAQhB,yBAA0J;CAEvK,AAAiB;CACjB,AAAiB;CACjB,AAAiB;CACjB,AAAiB;CAEjB,AAA2B,AAAO,AAAa,AAAY,AAAW,AAAe;;iDAKxE;;CAEb,CAAI,EAAc,AAAQ,HAAwB;EAEjD,AAAI,EAAc,HAAM,EAAa;EAItB;EACf,DAAsB,AAAY,uBAAe,vBAAc,AAAc,AAAkB,AAAoB,qBAAa,rBAAc,AAAe,AAAoB;EACjL,CAAc;;CAIf,AAAM;CAEN,CAAI,DAAC,AAEJ;EAAI,EAAqB,HAExB,AAAqC,EAAc,FAAe,EAAc,FAAe,EAAmB,FAAe,EAAoB;;CAMvJ,AAAM;CAEN,CAAI,EAA0B,HAE7B,AAAqC,AAAwB,AAAS,EAAe,AAAxB,FAA8C,AAAS,EAAe,AAAxB,FAA8C,AAAS,EAAT,FAA4B,AAAS,EAAT,FAA6B,AAAS,EAAc,AAAvB,FAAuC,AAAS,EAAc,AAAvB,FAAuC,AAAS,EAAT,FAA4B,AAAS,EAAT;;mDAOhT,tBAAgE;CAGhE;CAEb,CAAI,EAAsB,HAAM;EAE/B,CAA0B,FAAgC;EAC1D,CAA2B;EAC3B,CAA4B;EAE5B,AAAI,DAAC,AAAmB;GAEvB,DAAI,DAAC,AAAmB,AAAiC,AAAc;GACvE,AAA8B;MAI9B,HAAsB,FAA+B;EAI9C,AAAC,CAAgD;EACjD,AAAC,CAAmD;EACpD,AAAC,CAA6C;;;sDAQ1C,tCAA4C;CAE5C;CAEb,CAAI,EAAe,HAAM;EAExB,CAAwB,FAAkC,AAAG,AAAG,AAAc;EAC9E,CAAc,YAAgB;;;+CAOlB,bAAoF;CAEjG,AAAiB;CACjB,AAAM;CAEN,CAAI,EAAU,AAAK,AAAU,AAAK,AAAc,AAAe,AAAe,HAE7E;EAAI,EAAqB,AAAC,HAAC,EAAQ,CAAS,HAAI;GAE/C,AAAiC;GACjC;;;CAMF;;;;CAEA,CAAI,EAAU,HAAM;EAEnB,CAAI,AAAC,CAAS,DAAM;EACpB,CAAI,AAAC,CAAS,DAAK;EACnB,CAAI,AAAQ;EACR,DAAC,AAAL,EAA0B,AAAC,CAAS,DAAM,GAA1C,HAAiD;MAE3C;EAEN,CAAI,AAAC,CAAS,DAAM;EACpB,CAAI,AAAC,CAAS,DAAM;EACpB,CAAI,AAAC,CAAS,DAAK;EACf,DAAC,AAAL,EAA0B,AAAQ,GAAlC,HAAyC;;CAI1C,EAAsC,AAAC,AAAS,AAAK,AAAM,AAAK,AAAM,AAAK,AAAM,AAAC,AAAI,AAAQ;CAC9F,AAAoC,EAAS,FAAe,EAAS,FAAe,EAAa,FAAe,EAAc;;gDAKjH,fAAmF;CAEhG,AAAiB;CACjB,AAAiB;CAEjB,AAAyB,AAAO,AAAG,AAAG,AAAO;;+CAKhC,pBAAsE;CAEnF,AAAiB;CACjB,AAAiB;CAEV,AAAwB,AAAO,AAAG,AAAG;;iDAK/B,tBAAwE;CAErF,AAAiB;CACjB,AAAiB;CAEV,AAA0B,AAAO,AAAG,AAAG;;gDAKjC,pBAA+E;CAE5F,AAAiB;CACjB,AAAiB;CAEV,AAAyB,AAAO,AAAM;;4CAKhC,kEAA+K;CAE5L,AAAiB;CACjB,AAAiB;CACjB,AAAiB;CACjB,AAAiB;CAEjB,AAAqB,AAAO,AAAa,AAAY,AAAW,AAAe,AAAiB,AAAgB;;6CAKnG,VAAgE;CAEhE;CAEb,CAAI,EAAsB,HAAM;EAE/B,DAAc,AAAO,AAAU;EAC/B,DAA+B,AAAY,AAAG,AAAG,AAAU;MAErD;EAEN,DAAM;EACa;EACnB,CAAqB;EACrB,DAAc,AAAO,AAAU;EAC/B,DAA+B,AAAc,AAAG,AAAG,AAAU;;;+CAOjD,dAAkF;CAE/F,AAAiB;CACjB,AAAiB;CAEjB,AAAwB,AAAO,AAAG,AAAG,AAAO;;iDAK/B,hBAAoF;CAEjG,AAAiB;CACjB,AAAiB;CAEjB,AAA0B,AAAO,AAAG,AAAG,AAAO;;gDAKjC,VAA+F;CAE5G,AAAiB;CACjB,AAAiB;CAEjB,AAAyB,AAAO,AAAM,AAAW;;2CAKpC,3BAGb;EAAI,EAAe,AAAc,HAAM;EAEtC,DAAwC,AAA6B,AAAG;EACxE,CAAoB;EACpB,CAAc;;;;;;;;mDC5QF,lBAAoF;CAEtF;CACX,CAAI,EAAQ,HAAM;CAOJ,EAAqB;CAClC;CAEe,AAAS,EAAW;CACtB,AAAS,EAAc;CAClB,AAAS,EAAY;CACvB,AAAS,EAAa;CAEtC;;;;CAAqB;CAET;CAAZ,EAAuB,FAAQ;EAA/B;EAEgB;EAAf,CAA6B,FAAW;GAAxC;GAEC,AAAS,AAAC,AAAM,AAAU,AAAC,AAAS;GAEpC,AAAI,AAAS,AAAC,FAAK,EAAS,AAAK,AAA+B,AAA5D;GACC,AAAI,FAAT,EAAgB,AAAI,GAApB,HAA2B;GAC3B,AAAI,AAAS,AAAC,FAAK,EAAS,AAAK,AAA8B,AAAyB,AAApF;GACC,AAAI,FAAT,EAAgB,AAAI,GAApB,HAA2B;GAC3B,AAAI,AAAS,AAAC,FAAK,EAAS,AAAK,AAA+B,AAA0B,AAAtF;GACC,AAAI,FAAT,EAAgB,AAAI,GAApB,HAA2B;GAC3B,AAAI,AAAS,AAAC,FAAK,EAAU,AAA6B,AAAwB,AAA9E;GAEW,AAAI,FAAnB,AAAK,EAAqB,GAA1B,LAAK,EAA4B;GACd,AAAI,FAAvB,AAAK,EAAS,AAAgB,GAA9B,LAAK,EAAS,AAAuB;GAClB,AAAI,FAAvB,AAAK,EAAS,AAAgB,GAA9B,LAAK,EAAS,AAAuB;GAClB,AAAI,FAAvB,AAAK,EAAS,AAAgB,GAA9B,LAAK,EAAS,AAAuB;;;CAQxC,EAAc;;gDAKD,2BAA0J;CAEzJ;MAAQ;KAEhB;EAAK;;KACL;EAAO;;KACP;EAAM;;KACN;EAAO;;;CAIA;MAAQ;KAEf;EAAK;;KACL;EAAO;;KACP;EAAM;;KACN;EAAO;;;CAIC;CACC;CAEf,CAAI,EAAW,AAAQ,AAAY,HAAM;CAOxB,EAAS,AAA2B,AAApC;CACE,EAAS,AAAC,FAAC,EAAe,AAAuB,AAAK,AAAC,AAAY,FAAC,EAAe,AAAwB,AAA3G;CACC,EAAY,FAAS,EAAI,FAAC,EAAmB,AAAjC;CACf,EAAS,AAAI,FAAC,EAAe,AAAsB,AAAnD;CACF;CAEG,EAAS,AAAqB,AAA9B;CACE,EAAS,AAAC,FAAC,EAAc,AAAiB,AAAK,AAAC,AAAa,FAAC,EAAc,AAAkB,AAA9F;CACC,EAAa,FAAS,EAAI,FAAC,EAAmB,AAAjC;CAChB,EAAS,AAAI,FAAC,EAAc,AAAgB,AAA5C;CACF;CAEF,EAAS,AAAmB,AAA5B;CAEH;CAAV,EAAc,FAAQ;EAAtB;EAEC,DAAS,EAAgB,FAAQ;EAEjC,EAAe;EACf,EAAgB;EAEhB,AAAI,DAAC,EAAc,AAAa,FAE/B,GAAe;EAIhB,AAAI,DAAC,EAAe,AAAc,FAEjC,GAAgB;;CAQnB,EAAc;;+CAKD;;CAEb,CAAI,EAAc,AAAQ,HAAwB;EAEjD,AAAI,EAAc,HAAM,EAAa;EAItB;EACf,DAAsB,AAAY,uBAAe,vBAAc,AAAc,AAAkB,AAAoB,qBAAa,rBAAc,AAAe,AAAoB;EACjL,CAAc;;CASE,EAAS,AAAc,AAAgB,AAAe,AAAtD;CACG,EAAS,AAAc,AAAgB,AAAe,AAAtD;CAEF;CACE,EAA2B;CACvB;CAEZ;CACE,EAAqB;CACjB;CAEjB,CAAI,DAAC,GAAc,HAAC,AAWnB;EAAY,DAAS,EAAiB;EAAuB,DAAS,EAAoB;EAA1F,DAAgH;GAAhH;GAEgB,FAAS,EAAkB;GAAuB,FAAS,EAAmB;GAA7F,FAAmH;IAAnH;IAEC,DAAe,AAAC,AAAM,AAAgB,AAAC,AAAS;IAChD,DAAS,AAAC,FAAC,EAAM,AAAa,AAAU,AAAC,FAAC,EAAS,AAAgB;IAEnE,HAAK,EAAU,FAAW;IAC1B,HAAK,EAAS,AAAK,FAAW,EAAe;IAC7C,HAAK,EAAS,AAAK,FAAW,EAAe;IAC7C,HAAK,EAAS,AAAK,FAAW,EAAe;;;MAMzC;EAEN;EACA;EACA;EACA;EAEY,DAAS,EAAiB;EAAuB,DAAS,EAAoB;EAA1F,DAAgH;GAAhH;GAEgB,FAAS,EAAkB;GAAuB,FAAS,EAAmB;GAA7F,FAAmH;IAAnH;IAEC,DAAe,AAAC,AAAM,AAAgB,AAAC,AAAS;IAChD,DAAS,AAAC,FAAC,EAAM,AAAa,AAAU,AAAC,FAAC,EAAS,AAAgB;IAEnE,DAAc,FAAW,EAAe,AAAK;IAC7C,DAAY,FAAK,EAAS,AAAK;IAC/B,DAAsB,AAAC,AAAI;IAE3B,DAAO,AAAc,AAAY;IACN,HAAY,AAAC,AAAW,EAAoB,AAAc,FAAK,EAAc,AAAY,AAAuB;IAA3I,HAAK,EAAc;IACQ,HAAY,AAAC,AAAW,EAAe,AAAK,AAAc,FAAK,EAAS,AAAK,AAAY,AAAuB;IAA3I,HAAK,EAAS,AAAK;IACQ,HAAY,AAAC,AAAW,EAAe,AAAK,AAAc,FAAK,EAAS,AAAK,AAAY,AAAuB;IAA3I,HAAK,EAAS,AAAK;IACQ,HAAY,EAAO;IAA9C,HAAK,EAAS,AAAK;;;;CAWvB,EAAc;;6CAKD,XAAoF;CAEjG;;;;CAEA,CAAI,EAAU,HAAM;EAEf,DAAC,AAAL,EAA0B,AAAC,CAAS,DAAM,GAA1C,HAAiD;EACjD,CAAI,AAAC,CAAS,DAAM;EACpB,CAAI,AAAC,CAAS,DAAK;EACnB,CAAI,AAAQ;MAEN;EAEN,CAAI,AAAC,CAAS,DAAM;EACpB,CAAI,AAAC,CAAS,DAAM;EACpB,CAAI,AAAC,CAAS,DAAK;EACf,DAAC,AAAL,EAA0B,AAAQ,GAAlC,HAAyC;;CAI/B,EAAC,AAAI,AAAC,CAAK,DAAK,AAAC,CAAK,DAAM,AAAC,CAAK;CAElC;CACX,CAAI,EAAQ,HAAM;CAOjB,CAAI,EAAc,AAAsB,AAAe,AAAuB,AAAU,AAAK,AAAU,AAAK,AAAiB,AAAK,AAAiB,HAAG;EAExI,CAAqB;EAE1B;EACE;EAAV,CAAc,FAAQ;GAAtB;GAEC,AAAI,AAAI;GAGR,FAAK,EAAS;GACd,FAAK,EAAI,AAAK;GACd,FAAK,EAAI,AAAK;GACd,FAAK,EAAI,AAAK;;MAOT;EAEO,CAAqB;EAClC;EAEe,CAAS,AAAS,AAAlB;EACF,DAAS,EAAc;EAClB,CAAS,AAAS,AAAlB;EACF,DAAS,EAAa;EAE1B;EAAZ,CAAuB,FAAQ;GAA/B;GAEgB;GAAf,AAA6B,FAAW;IAAxC;IAEC,DAAS,AAAC,AAAM,AAAU,AAAC,AAAS;IAGpC,HAAK,EAAU;IACf,HAAK,EAAS,AAAK;IACnB,HAAK,EAAS,AAAK;IACnB,HAAK,EAAS,AAAK;;;;CAavB,EAAc;;8CAKD,bAAmF;CAErF;CACX,CAAI,EAAQ,HAAM;CAElB,CAAI,EAAU,HAAM,EAAQ,AAAC,FAAC,EAAQ,CAAa,DAAK,AAAC,AAAC,CAAS,DAAM;CAO3D,EAAC,AAAC,FAAC,EAAI,AAAiB,FAAC,EAAqB,AAAM,AAAC,FAAC,EAAI,AAAiB;CACxE,AAAK;CACL,AAAK,EAAS;CACd,AAAK,EAAS;CACd;CAAoB,AAAK,EAAS,GAAK;CAE/C,EAAC,CAAS,DAAM;CAChB,EAAC,CAAS,DAAM;CAChB,EAAC,CAAS,DAAK;CACf;CAAoB,EAAQ,GAAO;CAE3C,CAAI,EAAa,AAAK,AAAa,AAAK,AAAa,AAAK,AAAa,HAAG;CAEjE,AAAE,AAAG,AAAI,AAAG;CACZ,AAAE,AAAI,AAAG,AAAG;CAEV,AAAC;CACD,AAAC;CACD,EAAO;CACP,EAAO;CAEN;CACZ,AAAY;CACZ,AAAY;CAEZ,IAAO,FAAe,FAAG;EAER;EACA;EAEN;EAAV,CAAc,FAAG;GAAjB;GAEkB,AAAY,FAAG;GACf,AAAY,FAAG;GAEhC,DAAI,CAAa,CAAQ,DAAa,CAAQ,AAAc,AAAQ,AAAc,HAEjF;GAIqB,FAAC,EAAa,AAAc,AAAc;GAEhE,DAAI,DAAK,GAAwB,AAAa,HAAK,EAAkB,CAAM,AAAa,HAAK,EAAkB,CAAM,AAAa,HAAK,EAAkB,CAAM,HAAW;IAEzK,HAAK,EAAuB;IAC5B,HAAK,EAAkB,AAAK;IAC5B,HAAK,EAAkB,AAAK;IAC5B,HAAK,EAAkB,AAAK;IAE5B,HAAY;IACZ,HAAY;;;;CAUhB,EAAc;;uDAKD;;CAEE,EAAc;CACb;CACF,EAAe;CACZ;CAEjB;;;;CACA;;;;CAEA,CAAI,EAAU,HAAM;EAEf,DAAC,AAAL,EAA0B,AAAC,CAAS,DAAM,GAA1C,HAAiD;EACjD,CAAI,AAAC,CAAS,DAAM;EACpB,CAAI,AAAC,CAAS,DAAK;EACnB,CAAI,AAAQ;EAEP,DAAC,AAAN,EAA2B,AAAC,CAAQ,DAAM,GAA1C,HAAiD;EACjD,CAAK,AAAC,CAAQ,DAAM;EACpB,CAAK,AAAC,CAAQ,DAAK;EACnB,CAAK,AAAO;MAEN;EAEN,CAAI,AAAC,CAAS,DAAM;EACpB,CAAI,AAAC,CAAS,DAAM;EACpB,CAAI,AAAC,CAAS,DAAK;EACf,DAAC,AAAL,EAA0B,AAAQ,GAAlC,HAAyC;EAEzC,CAAK,AAAC,CAAQ,DAAM;EACpB,CAAK,AAAC,CAAQ,DAAM;EACpB,CAAK,AAAC,CAAQ,DAAK;EACd,DAAC,AAAN,EAA2B,AAAO,GAAlC,HAAyC;;CAI1C,EAAQ,AAAC,AAAI,AAAC,CAAK,DAAK,AAAC,CAAK,DAAM,AAAC,CAAK;CAC1C,EAAO,AAAC,AAAK,AAAC,CAAM,DAAK,AAAC,CAAM,DAAM,AAAC,CAAQ;CAE/C;CAEW;CAAI;CAAf,AAA4B;EAA5B;EAEW;EAEC;EAAI;EAAf,DAA6B;GAA7B;GAEC,AAAM,FAAkB,AAAI;GACtB,FAAN,EAAkB,FAAC,EAAM,CAAS,EAAlC,HAA0C,FAAC,EAAM,CAAS;GAE1D,DAAI,DAAK;IAER,FAAI,CAAK,FAAM,EAAO;IACtB;;;EAMF,AAAI,DAEH;;CAMU;CAAI;CAAhB,AAA6B;EAA7B;EAEU,CAAC,AAAc,AAAK;EACnB;EAEC;EAAI;EAAf,DAA6B;GAA7B;GAEC,AAAM,FAAkB,AAAI;GACtB,FAAN,EAAkB,FAAC,EAAM,CAAS,EAAlC,HAA0C,FAAC,EAAM,CAAS;GAE1D,DAAI,DAAK;IAER,FAAI,CAAK,FAAO,EAAQ;IACxB;;;EAMF,AAAI,DAEH;;CAMS;CAAI;CAAf,AAA6B;EAA7B;EAEW;EAEC;EAAI;EAAf,DAA4B;GAA5B;GAEC,AAAM,FAAkB,AAAI;GACtB,FAAN,EAAkB,FAAC,EAAM,CAAS,EAAlC,HAA0C,FAAC,EAAM,CAAS;GAE1D,DAAI,DAAK;IAER,FAAI,CAAK,FAAK,EAAM;IACpB;;;EAMF,AAAI,DAEH;;CAMU;CAAI;CAAhB,AAA8B;EAA9B;EAEU,CAAC,AAAe,AAAK;EACpB;EAEC;EAAI;EAAf,DAA4B;GAA5B;GAEC,AAAM,FAAkB,AAAI;GACtB,FAAN,EAAkB,FAAC,EAAM,CAAS,EAAlC,HAA0C,FAAC,EAAM,CAAS;GAE1D,DAAI,DAAK;IAER,FAAI,CAAK,FAAQ,EAAS;IAC1B;;;EAMF,AAAI,DAEH;;CAMM,EAAQ;CACR,EAAS;CAEjB,CAAI,CAAI,FAAG;CACX,CAAI,CAAI,FAAG;CAEX,CAAI,CAAI,FAAG,EAAI;CACf,CAAI,CAAI,FAAG,EAAI;CAEf,CAAI,EAAQ,HAAO,EAAI;CACvB,CAAI,EAAO,HAAQ,EAAI;CAEvB,CAAI,CAAO,FAAa,EAAO;CAC/B,CAAI,CAAM,FAAc,EAAM;CAEvB,uBAAe,vBAAM,AAAK,AAAG;;6CAKvB,lBAAsE;CAExE;CACE,EAAC,AAAI,FAAC,EAAI,AAAiB,AAAqB,FAAC,EAAI,AAAiB;CACnF;CAEA,CAAI,DAAqB;EAEP,CAAQ,FAAK,EAAS;EACvC,CAAQ,FAAQ,AAAS,AAAK,EAAU,AAAxB,CAAwC,DAAK,FAAQ,AAAS,AAAK,EAAS,AAAK,AAA5B,CAA4C,DAAK,FAAQ,AAAS,AAAK,EAAS,AAAK,AAA5B,CAA4C;MAI1K,HAAQ,AAAC,FAAK,GAAW,DAAM,AAAC,FAAK,EAAS,CAAM,DAAM,AAAC,FAAK,EAAS,CAAM;CAIhF,CAAI,EAAU,HAEN,GAAS,DAAI,GAIb;;+CAOK,pBAAwE;CAE1E;CACE,EAAC,AAAI,FAAC,EAAI,AAAiB,AAAqB,FAAC,EAAI,AAAiB;CAC3E;EAAC,DAAoB,AAAK,EAAS,GAAK;CAChD;;;CAEA,CAAI,EAAuB,AAAK,HAAG;EAEjB,CAAQ;EACb,DAAY,AAAK,EAAU;EAAvC,CAAI;EACQ,DAAY,AAAK,EAAS,AAAK;EAA3C,CAAI;EACQ,DAAY,AAAK,EAAS,AAAK;EAA3C,CAAI;MAEE;EAEN,CAAI,FAAK;EACT,CAAI,FAAK,EAAS;EAClB,CAAI,FAAK,EAAS;;CAInB,CAAI,EAAU,HAEN,GAAK,DAAK,CAAK,DAAK,CAAK,DAAI,GAI7B,FAAK,DAAK,CAAK,DAAK,CAAK,DAAI;;8CAOxB,lBAA+E;CAE5F,CAAI,EAAqB,HAAa;CAEzB,EAAS,AAAa,AAAtB;CAKG,wBAAe,tBAAS;CACxC,EAAqB;CAmBN;CACE,EAAS,AAAqB,AAA9B;CACE,EAAS,AAAC,AAAS,AAAK,AAAC,AAAY,AAArC;CACC,EAAY,FAAS,EAAI,AAAb;CACf,EAAS,AAAI,FAAC,EAAS,AAAvB;CAGhB,AAAmB,EAAS;CAG5B,CAAI,EAAU,HAEb;EAAU;EAAV,CAAc,FAAQ;GAAtB;GAQC,FAAiB,EAAI,AAAI,FAAG,AAAQ;GACpC,FAAiB,EAAI,AAAI,FAAG,AAAQ;GACpC,FAAiB,EAAI,AAAI,FAAG,AAAQ;GACpC,FAAiB,EAAI,FAAG,AAAQ;GAGhC,DAAI,DAAC,EAAc,AAAa,FAE/B,GAAe;;MAQjB;EAAU;EAAV,CAAc,FAAQ;GAAtB;GASC,FAAiB,EAAI,FAAG,AAAQ;GAChC,FAAiB,EAAI,AAAI,FAAG,AAAQ;GACpC,FAAiB,EAAI,AAAI,FAAG,AAAQ;GACpC,FAAiB,EAAI,AAAI,FAAG,AAAQ;GAGpC,DAAI,DAAC,EAAc,AAAa,FAE/B,GAAe;;;CAUnB,EAAqB;CACd;;0CAKM,oEAA+K;CAE5L,CAAI,EAAqB,AAAQ,AAA2B,HAAM;CAOjD,EAAS,AAAc,AAAgB,AAAe,AAAtD;CACG,EAAS,AAAc,AAAgB,AAAe,AAAtD;CAEF;CACE,EAA2B;CACvB;CAEZ;CACE,EAAqB;CACjB;CAEL,AAAS,EAAiB;CAAuB,AAAS,EAAoB;CAA1F,AAAgH;EAAhH;EAEgB,DAAS,EAAkB;EAAuB,DAAS,EAAmB;EAA7F,DAAmH;GAAnH;GAEC,AAAe,AAAC,AAAM,AAAgB,AAAC,AAAS;GAChD,AAAS,AAAC,FAAC,EAAM,AAAa,AAAU,AAAC,FAAC,EAAS,AAAgB;GAEnE,FAAK,EAAU,AAAS,FAAC,AAAC,AAAW,EAAU,AAAiB,AAAC,FAAK,EAAU,FAAC,EAAM,AAAmB,AAA3F;GACf,FAAK,EAAS,AAAK,AAAS,FAAC,AAAC,AAAW,EAAS,AAAK,AAAmB,AAAC,FAAK,EAAS,AAAK,FAAC,EAAM,AAAqB,AAAvG;GACnB,FAAK,EAAS,AAAK,AAAS,FAAC,AAAC,AAAW,EAAS,AAAK,AAAkB,AAAC,FAAK,EAAS,AAAK,FAAC,EAAM,AAAoB,AAArG;GACnB,FAAK,EAAS,AAAK,AAAS,FAAC,AAAC,AAAW,EAAS,AAAK,AAAmB,AAAC,FAAK,EAAS,AAAK,FAAC,EAAM,AAAqB,AAAvG;;;CAQtB,EAAc;;kDAKD,lCAA0C;CAE5C;CACX,CAAI,EAAQ,AAAQ,HAAC,AAA0B;CAO9C;;CACa,EAAS,AAAc,AAAvB;CAEH;CAAV,EAAc,FAAQ;EAAtB;EAEC,CAAQ,AAAI;EAEZ,CAAM,FAAU,AAAK,EAAQ;EAC7B,DAAK,EAAS,AAAC,FAAK,EAAS,CAAQ;EACrC,DAAK,EAAQ,AAAK,AAAC,FAAK,EAAQ,AAAK,CAAQ;EAC7C,DAAK,EAAQ,AAAK,AAAC,FAAK,EAAQ,AAAK,CAAQ;;CAM/C,EAA6B;CAC7B,EAAc;;2CAKD,RAAgE;CAEhE;CACb,CAAI,EAAgB,AAAY,AAAiB,HAAW;CAC5C,6BAAiB,fAAgB,ZAAW,AAAY,FAAI,AAAU;CAOpE;CACC;CAEP;CACG;CACd;;;;;CACA;;CACA;;;;;;CAEU;CAAV,EAAc,FAAW;EAAzB;EAEW;EAAV,CAAc,FAAU;GAAxB;GAEC,AAAI,AAAC,FAAC,EAAI,AAAO,AAAY,AAAa;GAC1C,AAAI,AAAC,FAAC,EAAI,AAAO,AAAa,AAAc;GAE5C,AAAU,AAAS,AAAT;GACV,AAAU,AAAS,AAAT;GAEV,AAAc,FAAC,EAAU,AAAa,AAAW;GAClC,FAAC,EAAU,AAAa,FAAvC,EAA4C,AAAc,GAA1D,HAA8D;GAC/C,FAAC,EAAU,AAAc,FAAxC,EAA6C,AAAc,AAAC,AAAa,GAAzE,HAA8E;GAC9D,FAAC,GAAgB,HAAjC,EAAgD,AAAe,GAA/D,HAAmE;GAEnE,AAAQ,FAAC,EAAI,AAAW,AAAK;GAE7B,AAAS,AAAI;GACb,AAAS,AAAI;GACb,AAAY,AAAI;GAChB,AAAY,AAAI;GAEhB,FAAQ,EAAS,AAAS,FAAC,AAAK,EAAe,AAAY,FAAK,EAAgB,AAAU,AAAY,FAAC,AAAK,EAAgB,AAAY,FAAK,EAAiB,AAAU,AAAvJ;GACjB,FAAQ,EAAQ,AAAK,AAAS,FAAC,AAAK,EAAc,AAAK,AAAY,FAAK,EAAe,AAAK,AAAU,AAAY,FAAC,AAAK,EAAe,AAAK,AAAY,FAAK,EAAgB,AAAK,AAAU,AAAvK;GACrB,FAAQ,EAAQ,AAAK,AAAS,FAAC,AAAK,EAAc,AAAK,AAAY,FAAK,EAAe,AAAK,AAAU,AAAY,FAAC,AAAK,EAAe,AAAK,AAAY,FAAK,EAAgB,AAAK,AAAU,AAAvK;GAIrB,DAAI,DAAK,EAAe,CAAM,AAAK,HAAK,EAAe,CAAM,AAAK,HAAK,EAAgB,CAAM,HAE5F,AAAQ,EAAQ,AAAK,GAIrB,LAAQ,EAAQ,AAAK,FAAK,EAAc;;;CAU5C,EAAc;CACd,EAAe;CACf,EAAgB;;iDAKH,dAAsE;CAEtE;CACF;CACG,cAAgB,ZAAW,AAAY;CACrD;;CAEU;CAAI;CAAd,AAA6B;EAA7B;EAEW;EAAI;EAAd,DAA4B;GAA5B;GAEC,AAAc,FAAC,EAAI,AAAe,AAAK;GACvC,AAAQ,FAAC,EAAI,AAAW,AAAK;GAE7B,FAAQ,EAAS,FAAK;GACtB,FAAQ,EAAQ,AAAK,FAAK,EAAc;GACxC,FAAQ,EAAQ,AAAK,FAAK,EAAc;GACxC,FAAQ,EAAQ,AAAK,FAAK,EAAc;;;CAM1C,EAAc;CACd,EAAe;CACf,EAAgB;;8CAKH,vBAA0D;CAE5D;CACX,CAAI,EAAQ,HAAM;CAOjB;;CACa,EAAS,AAAc,AAAvB;CACb;;;;;;;;CACA;;;;CAEQ;CAAR,KAAQ;KAEF;EAEJ,CAAK;EACL,CAAK;EACL,CAAK;EACL,CAAK;;KAED;EAEJ,CAAK;EACL,CAAK;EACL,CAAK;EACL,CAAK;;KAED;EAEJ,CAAK;EACL,CAAK;EACL,CAAK;EACL,CAAK;;;CAIP,KAAQ;KAEF;EAEJ,CAAK;EACL,CAAK;EACL,CAAK;EACL,CAAK;;KAED;EAEJ,CAAK;EACL,CAAK;EACL,CAAK;EACL,CAAK;;KAED;EAEJ,CAAK;EACL,CAAK;EACL,CAAK;EACL,CAAK;;;CAIG;CAAV,EAAc,FAAQ;EAAtB;EAEC,CAAQ,AAAI;EAEZ,CAAI,FAAK,EAAQ;EACjB,CAAI,FAAK,EAAQ;EACjB,CAAI,FAAK,EAAQ;EACjB,CAAI,FAAK,EAAQ;EAEjB,DAAK,EAAQ,AAAM;EACnB,DAAK,EAAQ,AAAM;EACnB,DAAK,EAAQ,AAAM;EACnB,DAAK,EAAQ,AAAM;;CAMrB,EAAsB;CACtB,EAAc;;6CAKD,ZAAkF;CAEpF;CACE,EAAC,AAAI,FAAC,EAAI,AAAiB,AAAqB,FAAC,EAAI,AAAiB;CACnF,CAAI,EAAU,HAAM,EAAQ,CAAS;CAErC,AAAK,EAAU,FAAC,EAAQ,EAAc;CACtC,AAAK,EAAS,AAAK,FAAC,EAAQ,EAAc;CAC1C,AAAK,EAAS,AAAK,AAAC,AAAQ;CAC5B,CAAI,DAAmB,AAAK,EAAS,AAAK;CAE1C,EAAc;;+CAKD,dAAoF;CAEtF;CACE,EAAC,AAAI,FAAC,EAAI,AAAiB,AAAqB,FAAC,EAAI,AAAiB;CACnF;;;;CAEA,CAAI,EAAU,HAAM;EAEf,DAAJ,EAAwB,AAAC,CAAS,DAAM,GAAxC,HAA+C;EAC/C,CAAI,AAAC,CAAS,DAAM;EACpB,CAAI,AAAC,CAAS,DAAK;EACnB,CAAI,AAAQ;MAEN;EAEN,CAAI,AAAC,CAAS,DAAM;EACpB,CAAI,AAAC,CAAS,DAAM;EACpB,CAAI,AAAC,CAAS,DAAK;EACf,DAAJ,EAAwB,AAAQ,GAAhC,HAAuC;;CAIxC,CAAI,EAAqB,HAAqB;EAEnC,DAAU;EACpB,DAAK,EAAU,AAAC,AAAI,CAAQ;EAC5B,DAAK,EAAS,AAAK,AAAC,AAAI,CAAQ;EAChC,DAAK,EAAS,AAAK,AAAC,AAAI,CAAQ;EAChC,DAAK,EAAS,AAAK;MAEb;EAEN,DAAK,EAAU;EACf,DAAK,EAAS,AAAK;EACnB,DAAK,EAAS,AAAK;EACnB,DAAK,EAAS,AAAK;;CAIpB,EAAc;;8CAKD,RAA+F;CAE5G,CAAI,EAAqB,HAAM;CAOpB,AAAY,EAAa;CAaxB;CACE,AAAY,EAAqB,FAAC,EAAS,AAAiB,FAAC,EAAS;CACzE,EAAS;CACN,AAAY,AAAC,EAAS,AAAa;CACpC;CACZ;CAEA,CAAI,EAAU,HAEb;EAAU;EAAV,CAAc,FAAK;GAAnB;GAEC,DAAI,DAAC,EAAQ,FAAC,EAAQ,CAAO,DAAS,FAErC,GAAO,HAAC,EAAQ,AAAU;GAI3B,AAAQ;GAER,FAAK,EAAS,FAAC,EAAQ,EAAc;GACrC,FAAK,EAAS,FAAC,EAAQ,EAAgB;GACvC,FAAK,EAAS,AAAC,AAAQ;GACvB,FAAK,EAAS,FAAC,EAAQ,EAAgB;;MAMxC;EAAU;EAAV,CAAc,FAAK;GAAnB;GAEC,DAAI,DAAC,EAAQ,FAAC,EAAQ,CAAO,DAAS,FAErC,GAAO,HAAC,EAAQ,AAAU;GAI3B,AAAQ;GAER,FAAK,EAAS,FAAC,EAAQ,EAAgB;GACvC,FAAK,EAAS,FAAC,EAAQ,EAAc;GACrC,FAAK,EAAS,FAAC,EAAQ,EAAgB;GACvC,FAAK,EAAS,AAAC,AAAQ;;;CAQ1B,EAAc;;oDAKD,pCAA4C;CAE9C;CACX,CAAI,EAAQ,HAAM;CAOjB;;;CACa,EAAS,AAAc,AAAvB;CAEH;CAAV,EAAc,FAAQ;EAAtB;EAEC,CAAQ,AAAI;EAEZ,CAAI,FAAK,EAAQ;EAEjB,AAAI,EAAK,HAAG;GAEX,AAAa,AAAQ;GAErB,FAAK,EAAS,FAAQ,AAAS,AAAK,EAAS,AAAvB;GACtB,FAAK,EAAQ,AAAK,FAAQ,AAAS,AAAK,EAAQ,AAAK,AAA3B;GAC1B,FAAK,EAAQ,AAAK,FAAQ,AAAS,AAAK,EAAQ,AAAK,AAA3B;;;CAQ7B,EAA6B;CAC7B,EAAc;;;;;;;;gDCnpCR,jCAAwC;;CAE9C,CAAI,EAAQ,AAAQ,AAAe,HAElC,EAAO,GAIP,HAAO,cAAkB;CARoB;;iDAexC,jCAEN;CAAO,AAAiB,gBAAkB;;kDAKpC,3BAA0C;CAEhD;GAAiB;CAAjB;;CACA;GAAmB;CAAnB;;CACA;GAAkB;CAAlB;;CACA;GAAmB;CAAnB;;;oDAKM,9BAEN;CAAU;;oDAKJ,pCAAqB;CAE3B,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAM;CACX,AAAK,EAAM;CACX,AAAK,EAAM;CACX,AAAK,EAAM;CACX,AAAK,EAAM;CACX,AAAK,EAAM;CACX,AAAK,EAAM;CACX,AAAK,EAAM;CACX,AAAK,EAAM;CACX,AAAK,EAAM;;mEAKJ,nDAKP;CAAO;;+DAaO,/CAEd;CAAO,AAAK;;+DAKE,zCAAiD;CAE/D,AAAK,EAAM;CACJ;;2DAKO,3CAEd;CAAO,AAAK,EAAM;;2DAKJ,rCAA6C;CAE3D,AAAK,EAAM,AAAQ;CACZ;;8DAKO,9CAEd;CAAO,AAAK;;8DAKE,xCAAgD;CAE9D,AAAK,EAAM;CACJ;;0DAKO,1CAEd;CAAO,AAAK,EAAM;;0DAKJ,pCAA4C;CAE1D,AAAK,EAAM,AAAQ;CACZ;;qDAKA,rCAEP;CAAO,MAAC,AAAC,NAAS,EAAT,CAAuB,DAAM,AAAC,FAAS,EAAT,CAAyB,DAAK,FAAS,EAAT;;qDAK9D,/BAAmC;CAE9B,EAAC,CAAS,DAAM;CAA5B;;CACc,EAAC,CAAS,DAAK;CAA7B;;CACa,EAAQ;CAArB;;CAEA,EAAgB;;CAChB,EAAkB;;CAClB,EAAiB;;CAEV;;+DAKO,/CAEd;CAAO,AAAK;;+DAKE,zCAAiD;CAE/D,AAAK,EAAK;CACH;;2DAKO,3CAEd;CAAO,AAAK,EAAK;;2DAKH,rCAA6C;CAE3D,AAAK,EAAK,AAAQ;CACX;;6DAKO,7CAEd;CAAO,AAAK;;6DAKE,vCAA+C;CAE7D,AAAK,EAAK;CACH;;yDAKO,zCAEd;CAAO,AAAK,EAAK;;yDAKH,nCAA2C;CAEzD,AAAK,EAAK,AAAQ;CACX;;+CAKa,zBAEpB;CAAO,AAAK;;+CAKQ,nBAA4C;CAEhE,AAAK,EAAS;CACP;;oBCrPD;;;;;;;CAEN,EAAS;CACT,EAAS;CACT,EAAS;CACT,EAAS;CACT,EAAU;CACV,EAAU;;;;;OAKG,IAEb;EAAO,oBAAa,rBAAG,AAAG,AAAG,AAAG,AAAI;;QAK9B,IAAiC;EAE9B,CAAI,AAAM,AAAI;EACvB,CAAI,AAAI,AAAM,AAAI;EAClB,CAAI;EAEK,CAAI,AAAM,AAAI;EACvB,CAAI,AAAI,AAAM,AAAI;EAClB,CAAI;EAEM,CAAK,AAAM,AAAK,AAAM;EAChC,CAAK,AAAK,AAAM,AAAK,AAAM;EAC3B,CAAK;;gBAOC,SAEN;EAAI,CAAS,FAEZ,KAAM,HAAY,AAAS,GAErB,JAAI,EAAU,HAAG;GAEvB,AAAI;GACJ,AAAI;MAEC,JAAI,EAAU,HAAG;GAEtB,AAAI;GACJ,AAAI;MAEC;GAEL,AAAK;GACL,AAAK;;;cAOA,WAEN;EAAI,CAAS,FAEZ,KAAM,HAAY,AAAS,GAErB,JAAI,EAAU,HAAG;GAEvB,AAAY;GACZ,AAAY;GACZ,AAAY;MAEN,JAAI,EAAU,HAAG;GAEvB,AAAY;GACZ,AAAY;GACZ,AAAY;MAEN;GAEN,AAAY;GACZ,AAAY;GACZ,AAAY;;;UAOP,cAA+C;EAErD,CAAI;EACJ,CAAI;EACJ,CAAI;EACJ,CAAI;EACJ,CAAK;EACL,CAAK;;aAKC,SAEN;EAAI,CAAM,FAET,KAAM,HAAS,AAAM,GAEf,JAAI,EAAO,HAAG;GAEpB,AAAI;GACJ,AAAI;MAEE,JAAI,EAAO,HAAG;GAEpB,AAAI;GACJ,AAAI;MAEE;GAEN,AAAK;GACL,AAAK;;;WAOA,WAEN;EAAI,CAAM,FAET,KAAM,HAAS,AAAM,GAEf,JAAI,EAAO,HAAG;GAEpB,AAAY;GACZ,AAAY;GACZ,AAAY;MAEN,JAAI,EAAO,HAAG;GAEpB,AAAY;GACZ,AAAY;GACZ,AAAY;MAIZ;GAAe;GAAf,AAAkB;GAAlB,AAAqB;;;WAOhB;;;;EAEN,CAAI;EACJ,CAAI;EACJ,CAAI;EACJ,CAAU;EACV,CAAU;;mBAKJ;;;;EAEN,CAAI,AAAQ;EACZ,CAAI,AAAS;EAGb,AAAI,EAAY,HAAG;GAER,FAAU;GACV,FAAU;GAEpB,AAAI,AAAM;GACV,AAAI,FAAC,EAAM;GACX,CAAK;GACL,CAAK;MAEC;GAEN,AAAI;GACJ,AAAI;;EAIL,CAAU,AAAK,AAAQ;EACvB,CAAU,AAAK,AAAS;;QAKlB,UAEN;EAAO,KAAC,HAAW,AAAQ,AAAM,AAAc,AAAM,AAAc,AAAK,AAAa,AAAK,AAAa,AAAK,AAAa,AAAK;;uBAKxH,LAEN;EAAO,oBAAa,nBAAY,AAAI,AAAY,FAAG,EAAY,AAAI,AAAY;;UAKzE,CAA0B;EAEhC,CAAI;EACJ,CAAI;EACJ,CAAI;EACJ,CAAI;EACJ,CAAK;EACL,CAAK;;QAKC,GAA2B;EAEtB,CAAI,AAAI,AAAI;EAEvB,AAAI,EAAQ,HAAG;GAEd,AAAI,AAAI,AAAI,AAAI;GAChB,AAAK,FAAC;GACN,AAAK,FAAC;MAEA;GAEN,AAAO,AAAM;GACJ,AAAI;GACb,AAAI,AAAI;GACR,AAAI;GACJ,CAAK,HAAC;GACN,CAAK,HAAC;GAEI,FAAE,EAAI,AAAK,AAAI;GACzB,AAAK,FAAE,EAAI,AAAK,AAAI;GACpB,AAAK;;EAMC;;MAKM,MAA0B;EAE1B;EACb,DAAe;EACR;;QAKD,QAAmC;EAgB/B,DAAU;EACV,DAAU;EAEX,CAAI,AAAM,AAAI;EACvB,CAAI,AAAI,AAAM,AAAI;EAClB,CAAI;EAEK,CAAI,AAAM,AAAI;EACvB,CAAI,AAAI,AAAM,AAAI;EAClB,CAAI;EAEM,CAAK,AAAM,AAAK;EAC1B,CAAK,AAAK,AAAM,AAAK;EACrB,CAAK;;OAOC,SAAoC;EAW1C,EAAK;EACL,EAAK;EACL,EAAK;EACL,EAAK;EACL,EAAM;EACN,EAAM;;aAOQ;;EAEd,CAAI,FAAU,EAAS;EACvB,CAAI,FAAU,EAAS;EACvB,CAAI,FAAC;EACL,CAAI;;OAOE,iBAA6E;EAEnF,CAAS;EACT,CAAS;EACT,CAAS;EACT,CAAS;EACT,CAAU;EACV,CAAU;;YAKG;;EAUb,AAAI,DAEI,EAAe,AAAI,AAAO,AAAI,AAAO,AAAW,AAAI,AAAO,AAAI,AAAO,AAAuB,FAAS,EAAT,AAAe,AAAO,FAAS,EAAT,AAAe,GAIlI,HAAe,AAAI,AAAO,AAAI,AAAO,AAAW,AAAI,AAAO,AAAI,AAAO,AAAuB,AAAK,AAAO,AAAK;;aAOzG,FAEb;EAAO,CAAa,AAAI,AAAO,AAAI,AAAO,AAAI,AAAO,AAAI,AAAO,AAAK,AAAS,AAAK;;UAKtE,CAEb;EAAO,CAAa,AAAI,AAAO,AAAI,AAAO,AAAI,AAAO,AAAI,AAAO,AAAK,AAAO,AAAK;;kBAK3E,JAEN;EAAO,oBAAa,AAAc,nBAAd,AAAc,AAAd,FAAoB,AAAc,EAAd,AAAc,AAAd;;WAK3B,KAAwC;EAErD,EAAM;EACN,EAAM;;eAKQ,JAA+B;EAE7C,CAAI,FAAY,EAAI,AAAQ;EAC5B,CAAI,FAAY,EAAI,AAAQ;EAC5B,CAAI,FAAY,EAAI,AAAQ;EAC5B,CAAI,FAAY,EAAI,AAAQ;EAC5B,CAAK,FAAY,EAAK,AAAM;EAC5B,CAAK,FAAY,EAAK,AAAM;;cAKf,AAEb;EAAO,CAAQ,AAAI,AAAQ,AAAI;;cAKlB,AAEb;EAAO,CAAQ,AAAI,AAAQ,AAAI;;wBAKlB,VAAmD;EAEhE,CAAK,AAAc,AAAd,AAAc,AAAd;EACL,CAAK,AAAc,AAAd,AAAc,AAAd;;;;;;;;;wCC9aC,zBAAwC;;CAE9C,CAAI,EAAQ,AAAQ,AAAe,HAElC,EAAO,GAIP,HAAO,cAAkB;CARoB;;0CAexC,tBAAmC;CAExB,AAAK;CAAiB,AAAK;CAAiB,AAAK;CAAiB,AAAK;CAC1E,AAAK;CAAiB,AAAK;CAAiB,AAAK;CAAiB,AAAK;CACvE,AAAK;CAAiB,AAAK;CAAiB,AAAK;CAAkB,AAAK;CACxE,AAAK;CAAiB,AAAK;CAAiB,AAAK;CAAkB,AAAK;CACxE,AAAI;CAAiB,AAAI;CAAiB,AAAI;CAAiB,AAAI;CACnE,AAAI;CAAiB,AAAI;CAAiB,AAAI;CAAiB,AAAI;CACnE,AAAI;CAAiB,AAAI;CAAiB,AAAI;CAAkB,AAAI;CACpE,AAAI;CAAiB,AAAI;CAAiB,AAAI;CAAkB,AAAI;CAElF,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC3D,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC3D,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC3D,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAE3D,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC3D,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC3D,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC3D,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAE3D,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC3D,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC3D,AAAK,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC5D,AAAK,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAE5D,AAAK,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC5D,AAAK,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC5D,AAAK,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC5D,AAAK,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;;kDAKtD,VAAsF;CAEpF,AAAiB,AAAQ,AAAQ,AAAQ;CAEjD,CAAI,EAAc,HAAM;EAEf;EACR,DAAqB,AAAK,AAAK;;CAIhC,AAAQ;;+CAKF,VAEN;CAAQ,AAAa,gBAAkB,hBAAE,AAAQ,AAAK,AAAK,AAAK,AAAK,AAAQ,AAAK,AAAK,AAAK,AAAK,AAAQ,AAAK,AAAK,AAAK,AAAK;;qDAKvH,/BAA4D;CAElE,AAAK,EAAM,FAAK,EAAM;CACtB,AAAK,EAAM,FAAK,EAAM;CACtB,AAAK,EAAM,FAAK,EAAM;;yCAKhB,zBAEN;CAAO,AAAa,gBAAkB;;kDAKhC,pBAEN;MAAQ;KAEF;EACJ,DAAM,EAAM;EACZ,DAAM,EAAM;EACZ,DAAM,EAAM;EACZ,DAAM,EAAM;;KACR;EACJ,DAAM,EAAM;EACZ,DAAM,EAAM;EACZ,DAAM,EAAM;EACZ,DAAM,EAAM;;KACR;EACJ,DAAM,EAAM;EACZ,DAAM,EAAM;EACZ,DAAM,EAAO;EACb,DAAM,EAAO;;KACT;EACJ,DAAM,EAAO;EACb,DAAM,EAAO;EACb,DAAM,EAAO;EACb,DAAM,EAAO;;;EAEb,IAAM,HAAmB,AAAS;;;gDAO9B,lBAEN;MAAQ;KAEF;EACJ,CAAW,FAAM;EACjB,CAAW,FAAM;EACjB,CAAW,FAAM;EACjB,CAAW,FAAM;;KACb;EACJ,CAAW,FAAM;EACjB,CAAW,FAAM;EACjB,CAAW,FAAM;EACjB,CAAW,FAAM;;KACb;EACJ,CAAW,FAAM;EACjB,CAAW,FAAM;EACjB,CAAW,FAAM;EACjB,CAAW,FAAM;;KACb;EACJ,CAAW,FAAM;EACjB,CAAW,FAAM;EACjB,CAAW,FAAM;EACjB,CAAW,FAAM;;;EAEjB,IAAM,HAAmB,AAAS;;;4CAO9B,tBAEN;CAAU;;gDAIJ;;;CAEN,CAAK,DACJ;CAEc,EAAe;CACnB;CAAX,EAAe,FAAf;;EACC,DAAK,EAAK,FAAM,EAAE;;CAEnB,CAAK,DACJ;;8CAKK;;;CAEN,CAAK,DACF;CAEY;CACJ;CAAX,EAAe,FAAf;;EACC,DAAM,EAAI,AAAU,FAAK;;CAE1B,CAAK,DACJ;;+CAKK,pBAEN;MAAQ;KAEF;EACJ,DAAM,EAAM;EACZ,DAAM,EAAM;EACZ,DAAM,EAAM;EACZ,DAAM,EAAO;;KAET;EACJ,DAAM,EAAM;EACZ,DAAM,EAAM;EACZ,DAAM,EAAM;EACZ,DAAM,EAAO;;KAET;EACJ,DAAM,EAAM;EACZ,DAAM,EAAM;EACZ,DAAM,EAAO;EACb,DAAM,EAAO;;KAET;EACJ,DAAM,EAAM;EACZ,DAAM,EAAM;EACZ,DAAM,EAAO;EACb,DAAM,EAAO;;;EAGb,IAAM,HAAgB;;;;;GAAM;;;4CAOjB;;;CAED,EAAW,AAAU;CACzB,AAAU;CACV,AAAU;CAEX,AAAa,gBAAkB,hBACrC,EAAE,FAAQ,AAAC,EAAE,FAAO,AAAI,AACxB,EAAE,FAAQ,EAAE,FAAO,AAAI,AACvB,AAAU,AAAU,AAAI,AACxB,AAAU,AAAU,AAAI;;8CAMZ,tBAEb;CAAO,AAAa,gBAAkB,hBACrC,AAAG,AAAG,AAAG,AACT,AAAG,AAAG,AAAG,AACT,AAAG,AAAG,AAAG,AACT,AAAG,AAAG,AAAG;;+CAMG,dAAwF;CAE5F,EAAM,FAAC,EAAK;CACZ,EAAM,FAAC,EAAK;CACZ,EAAM,FAAC,EAAO;CAEhB,AAAa,gBAAkB,hBACrC,EAAM,FAAQ,AAAY,AAAmB,AAC7C,AAAc,EAAM,FAAM,AAAmB,AAC7C,AAAc,AAAY,EAAO,FAAY,AAC7C,AAAE,AAAC,EAAK,AAAM,FAAI,AAAE,AAAC,EAAK,AAAM,FAAI,AAAE,AAAC,EAAQ,AAAQ,FAAK;;6CAMvD,lBAEN;MAAQ;KAEF;EACJ,CAAW,FAAM;EACjB,CAAW,FAAM;EACjB,CAAW,FAAM;EACjB,CAAW,FAAM;;KAEb;EACJ,CAAW,FAAM;EACjB,CAAW,FAAM;EACjB,CAAW,FAAM;EACjB,CAAW,FAAM;;KAEb;EACJ,CAAW,FAAM;EACjB,CAAW,FAAM;EACjB,CAAW,FAAM;EACjB,CAAW,FAAM;;KAEb;EACJ,CAAW,FAAM;EACjB,CAAW,FAAM;EACjB,CAAW,FAAM;EACjB,CAAW,FAAM;;;EAGjB,IAAM,HAAgB,AAAM;;;iDAOxB,3BAEN;eAAM,dAA0B;;wDAwG1B,tCAAmD;CAE3C;CAAe;CAAe;CAErC,qBACN,AAAC,nBAAI,FAAK,EAAK,AAAI,FAAK,EAAK,AAAI,FAAK,EAAK,FAAK,AAChD,AAAC,EAAI,FAAK,EAAK,AAAI,FAAK,EAAK,AAAI,FAAK,EAAK,FAAK,AAChD,AAAC,EAAI,FAAK,EAAK,AAAI,FAAK,EAAK,AAAI,FAAK,EAAM,FAAK,AACjD;;4CAKK,5BAAqB;CAE3B,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAM;CACX,AAAK,EAAM;CACX,AAAK,EAAM;CACX,AAAK,EAAM;CACX,AAAK,EAAM;CACX,AAAK,EAAM;;+CAKE,fAA6E;CAElF;CAEE;CAAV,EAAc,FAAI;EAAlB;EAEC,DAAE,AAAK,AAAQ,EAAK,FAAC,AAAM,EAAK,FAAQ,EAAM;;CAIxC;;iDAKD,nBAEN;CAAU;CAAV,EAAc,FAAI;EAAlB;EAEC,DAAK,EAAK,FAAK,EAAK,FAAC,AAAM,EAAK,FAAK,EAAM;;;0CAOtC,1BAAwB;CAEtB;CACS,AAAU,EAAK;CAEhC,CAAI,DAAY;EAEf,CAAI,AAAI;EAEQ,DAAK;EAAoB,DAAK;EAAoB,DAAK;EAAoB,DAAK;EAChF,DAAK;EAAoB,DAAK;EAAoB,DAAK;EAAoB,DAAK;EAChF,DAAK;EAAoB,DAAK;EAAoB,DAAK;EAAqB,DAAK;EACjF,DAAK;EAAoB,DAAK;EAAoB,DAAK;EAAqB,DAAK;EAEjG,DAAK,EAAK,AAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;EACxG,DAAK,EAAK,FAAC,EAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;EACzG,DAAK,EAAK,AAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;EACxG,DAAK,EAAK,FAAC,EAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;EACzG,DAAK,EAAK,FAAC,EAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;EACzG,DAAK,EAAK,AAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;EACxG,DAAK,EAAK,FAAC,EAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;EACzG,DAAK,EAAK,AAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;EACxG,DAAK,EAAK,AAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;EACxG,DAAK,EAAK,FAAC,EAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;EACzG,DAAK,EAAM,AAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;EACzG,DAAK,EAAM,FAAC,EAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;EAC1G,DAAK,EAAM,FAAC,EAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;EAC1G,DAAK,EAAM,AAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;EACzG,DAAK,EAAM,FAAC,EAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;EAC1G,DAAK,EAAM,AAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;;CAInG;;2CAKD,jBAA0E;CAEhF,CAAI,EAAM,HAET,EAAK,mBAAa,rBAAG,AAAG;CAIzB,CAAI,EAAM,HAET,EAAK,mBAAa,rBAAG,AAAI;CAIhB,EAAY,FAAZ,EAAY,FAAZ,EAAY;CACZ;CACV;CAEA;CACA;CAEW;CACX,AAAc,EAAgB,AAAhB,AAAgB,AAAhB,AAAgB;CAE9B,EAAM,AAAc,FAAd,EAAc,FAAd,EAAc;CAEpB,CAAI,CAAa,FAEhB,KAIA,JAAI,EAAS,HAEZ,EAAM,mBAAa,rBAAC,AAAO,AAAO,KAIlC,HAAM,mBAAa,rBAAG,AAAG;CAM3B,EAAQ,AAAkB,AAAlB,AAAkB,FAAlB,EAAkB,AAAlB,AAAkB,FAAlB,EAAkB,AAAlB,AAAkB,FAAlB;CACR;CAEA,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAM;CACX,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAM;CACX,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAM;CACX,AAAK,EAAM;CACX,AAAK,EAAK;CACV,AAAK,EAAK;CACV,AAAK,EAAM;CACX,AAAK,EAAM;;2CAKL,vBAAoC;CAEzB,AAAI;CAAiB,AAAI;CAAiB,AAAI;CAAiB,AAAI;CACtE,AAAI;CAAiB,AAAI;CAAiB,AAAI;CAAiB,AAAI;CACnE,AAAI;CAAiB,AAAI;CAAiB,AAAI;CAAkB,AAAI;CACpE,AAAI;CAAiB,AAAI;CAAiB,AAAI;CAAkB,AAAI;CACpE,AAAK;CAAiB,AAAK;CAAiB,AAAK;CAAiB,AAAK;CACvE,AAAK;CAAiB,AAAK;CAAiB,AAAK;CAAiB,AAAK;CACvE,AAAK;CAAiB,AAAK;CAAiB,AAAK;CAAkB,AAAK;CACxE,AAAK;CAAiB,AAAK;CAAiB,AAAK;CAAkB,AAAK;CAEtF,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC3D,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC3D,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC3D,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAE3D,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC3D,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC3D,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC3D,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAE3D,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC3D,AAAK,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC3D,AAAK,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC5D,AAAK,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAE5D,AAAK,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC5D,AAAK,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC5D,AAAK,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;CAC5D,AAAK,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;;mDAKtD,XAAuF;CAErF,AAAiB,AAAQ,AAAQ,AAAQ;CAEjD,CAAI,EAAc,HAAM;EAEf;EACR,DAAqB,AAAK,AAAK;;CAIhC,AAAS;;gDAKH,XAEN;CAAS,AAAa,gBAAkB,hBAAC,AAAQ,AAAK,AAAK,AAAK,AAAK,AAAQ,AAAK,AAAK,AAAK,AAAK,AAAQ,AAAK,AAAK,AAAK,AAAK;;sDAKvH,hCAA6D;CAE3D;CACR,AAAa,qBAAa,rBAAG,AAAG;CAChC,AAAS;;mDAyFH,jCAA6C;CAErC;CAAe;CAAe;CAErC,qBACN,AAAC,nBAAI,FAAK,EAAK,AAAI,FAAK,EAAK,AAAI,FAAK,EAAK,FAAK,AAChD,AAAC,EAAI,FAAK,EAAK,AAAI,FAAK,EAAK,AAAI,FAAK,EAAK,FAAK,AAChD,AAAC,EAAI,FAAK,EAAK,AAAI,FAAK,EAAK,AAAI,FAAK,EAAM,FAAK,AACjD,AAAC,EAAI,FAAK,EAAK,AAAI,FAAK,EAAK,AAAI,FAAK,EAAM,FAAK;;oDAK5C,3BAAqE;CAEnE;CAER,IAAO,FAAI,CAAK,HAAY;EAEb,DAAI;EAAc,DAAI,EAAI;EAAc,DAAI,EAAI;EAE9D,DAAK,EAAK,AAAI,FAAK,EAAK,AAAI,FAAK,EAAK,AAAI,FAAK,EAAK,FAAK;EACzD,DAAK,EAAI,AAAK,AAAI,FAAK,EAAK,AAAI,FAAK,EAAK,AAAI,FAAK,EAAK,FAAK;EAC7D,DAAK,EAAI,AAAK,AAAI,FAAK,EAAK,AAAI,FAAK,EAAK,AAAI,FAAK,EAAM,FAAK;EAE9D,EAAK;;;6CAOA,7BAA2B;CAErB,gBAAkB;CAC9B,AAAK,EAAK,FAAM;CAChB,AAAK,EAAK,FAAM;CAChB,AAAK,EAAK,FAAM;CAChB,AAAK,EAAK,FAAM;CAChB,AAAK,EAAK,FAAM;CAChB,AAAK,EAAK,FAAM;CAChB,AAAK,EAAK,FAAM;CAChB,AAAK,EAAK,FAAM;CAChB,AAAK,EAAM,FAAM;CACjB,AAAK,EAAM,FAAM;CACjB,AAAK,EAAM,FAAM;CACjB,AAAK,EAAM,FAAM;;mDAIH,3BAA6E;CAEnF;CAEC,qBAAY,rBAAG,AAAG;CACjB,AAAC,EAAU,FAAC,EAAU;CACxB,AAAS;CACT,AAAS;CACT,EAAM;CAEd,AAAE,AAAK,EAAI,AAAO,AAAO;CACzB,AAAE,AAAK,EAAI,AAAO,AAAO;CACzB,AAAE,AAAM,EAAI,AAAO,AAAO;CAEf,EAAO,AAAO;CACd,EAAO;CAClB,AAAE,AAAK,EAAO;CACd,AAAE,AAAK,EAAO;CACd,EAAO,AAAO,AAAO;CACrB,EAAO,AAAO;CACd,AAAE,AAAK,EAAO;CACd,AAAE,AAAK,EAAO;CACd,EAAO,AAAO,AAAO;CACrB,EAAO,AAAK;CACZ,AAAE,AAAK,EAAO;CACd,AAAE,AAAK,EAAO;CAEP;;mDAYA,nCAEP;CAAW,MAAC,NAAC,AAAK,EAAK,FAAK,EAAK,FAAK,EAAK,FAAK,EAAM,FAAC,AAAK,EAAM,FAAK,EAAM,FAAK,EAAM,FAAK,EAC1F,FAAC,AAAK,EAAK,FAAK,EAAK,FAAK,EAAK,FAAK,EAAM,FAAC,AAAK,EAAK,FAAK,EAAM,FAAK,EAAM,FAAK,EAChF,FAAC,AAAK,EAAK,FAAK,EAAM,FAAK,EAAM,FAAK,EAAM,FAAC,AAAK,EAAK,FAAK,EAAM,FAAK,EAAM,FAAK,EAClF,FAAC,AAAK,EAAK,FAAK,EAAK,FAAK,EAAK,FAAK,EAAM,FAAC,AAAK,EAAK,FAAK,EAAM,FAAK,EAAM,FAAK,EAChF,FAAC,AAAK,EAAK,FAAK,EAAM,FAAK,EAAM,FAAK,EAAM,FAAC,AAAK,EAAK,FAAK,EAAM,FAAK,EAAM,FAAK,EAClF,FAAC,AAAK,EAAK,FAAK,EAAM,FAAK,EAAM,FAAK,EAAM,FAAC,AAAK,EAAK,FAAK,EAAK,FAAK,EAAK,FAAK;;gDAK5E,hCAEP;CAAO,qBAAa,rBAAK,AAAK,AAAK,AAAK,AAAK;;gDAKtC,5BAA4C;CAEnD,AAAK,EAAM;CACX,AAAK,EAAM;CACX,AAAK,EAAM;CACJ;;uCAKa,jBAEpB;CAAO,AAAK;;uCAKQ,XAA4C;CAEhE,AAAK,EAAS;CACP;;sBC70BD;;;;;CAEN,EAAS;CACT,EAAS;CACT,EAAa;CACb,EAAc;;;;;OAKR,IAEN;EAAO,sBAAe,vBAAG,AAAG,AAAO;;UAK7B,IAEN;EAAO,EAAK,AAAU,AAAK,AAAU,DAAI,CAAS,DAAI;;eAKhD,CAEN;EAAO,DAAU,AAAS;;cAKpB,CAEN;EAAI,EAAc,AAAK,AAAe,HAE9B,EAAS,CAAK,DAAS,CAAK,DAAa,CAAS,DAAc,GAIhE,FAAU,AAAK,AAAU,AAAK,AAAc,AAAS,AAAe;;UAOtE,WAA8C;EAEpD,CAAI;EACJ,CAAI;EACJ,CAAQ;EACR,CAAS;;QAKH,YAEN;EAAO,EAAa,AAAQ,AAAK,AAAe,AAAK,AAAe,AAAS,AAAmB,AAAU;;SAKpG,OAA2C;EAEjD,EAAK;EAAI,EAAS,DAAK;EACvB,EAAK;EAAI,EAAU,DAAK;;cAKlB,EAEN;CAAS,AAAS;;cAKZ,QAAwD;EAErD;GAAI,FAAgB,KAAgB;EACpC;GAAQ,FAAoB,KAAoB;EAEzD,AAAI,EAAM,HAEF;EAIC;GAAI,FAAgB,KAAgB;EACpC;GAAS,FAAqB,KAAqB;EAE5D,AAAI,EAAM,HAEF;EAID,sBAAe,vBAAI,AAAI,EAAK,FAAI,EAAK;;YAKtC,UAAiD;EAE9C;GAAI,FAAgB,KAAgB;EACpC;GAAQ,FAAoB,KAAoB;EAEzD,AAAI,EAAM,HAEF;EAIC;GAAI,FAAgB,KAAgB;EACpC;GAAS,FAAqB,KAAqB;EAErD,CAAK;;SAKN,EAEN;EAAO,KAAC,HAAS,AAAK,AAAU;;QAK1B,QAA0C;EAEhD,EAAK;EACL,EAAK;;aAKC,GAA0C;EAEhD,EAAK;EACL,EAAK;;UAKC,CAEN;GAAI,AAAI,AAAQ,AAAS;;OAKnB,wBAAsE;EAE5E,CAAI;EACJ,CAAI;EACJ,CAAQ;EACR,CAAS;;WAKH,CAAyC;EAErC,CAAM,AAAI,AAAM;EAChB;EACA,CAAM,AAAI,AAAM;EAChB;EAED,CAAM,FAAC,EAAI,AAAS,AAAM;EAC1B,CAAM,FAAC,EAAI,AAAS,AAAM;EAEnC,AAAI,CAAK,FAAK,EAAM;EACpB,AAAI,CAAK,FAAK,EAAM;EACpB,AAAI,CAAK,FAAK,EAAM;EACpB,AAAI,CAAK,FAAK,EAAM;EAEpB,CAAK,AAAM,FAAC,EAAI,AAAS,AAAM,FAAC,EAAI;EACpC,CAAK,AAAM,FAAC,EAAI,AAAS,AAAM,FAAC,EAAI;EAEpC,AAAI,CAAK,FAAK,EAAM;EACpB,AAAI,CAAK,FAAK,EAAM;EACpB,AAAI,CAAK,FAAK,EAAM;EACpB,AAAI,CAAK,FAAK,EAAM;EAEpB,CAAK,AAAM,AAAI,AAAM,FAAC,EAAI;EAC1B,CAAK,AAAM,AAAI,AAAM,FAAC,EAAI;EAE1B,AAAI,CAAK,FAAK,EAAM;EACpB,AAAI,CAAK,FAAK,EAAM;EACpB,AAAI,CAAK,FAAK,EAAM;EACpB,AAAI,CAAK,FAAK,EAAM;EAEb,sBAAe,rBAAM,FAAM,EAAM,FAAM,EAAM,FAAK,EAAM;;OAKzD,WAA6C;EAEnD,AAAI,EAAS,AAAK,AAAU,HAEpB,KAED,JAAI,EAAiB,AAAK,AAAkB,HAE3C;EAIC;GAAI,FAAY,KAAY;EAC5B;GAAQ,FAAgB,KAAgB;EACxC;GAAI,FAAY,KAAY;EAC5B;GAAS,FAAiB,KAAiB;EAE7C,sBAAe,vBAAI,AAAI,EAAK,FAAI,EAAK;;YAKtC,eAAuE;EAE7E,AAAI,EAAc,AAAK,AAAe,HAErC;EAIgB;EACC;EAElB,AAAI,CAAS,FAAG,EAAS;EACzB,AAAI,CAAS,FAAG,EAAS;EACzB,AAAI,CAAa,AAAI,FAAO,EAAa,AAAI,AAAQ;EACrD,AAAI,CAAc,AAAI,FAAQ,EAAc,AAAI,AAAS;;UAKnD,iBAAqE;EAE3E,AAAI,EAAc,AAAK,AAAe,HAAG;GAExC,AAAS;GACT,AAAS;GACT,AAAa;GACb,AAAc;GACd;;EAIgB;EACC;EAElB,AAAI,CAAS,FAAG,EAAS;EACzB,AAAI,CAAS,FAAG,EAAS;EACzB,AAAI,CAAa,AAAI,FAAO,EAAa,AAAI,AAAQ;EACrD,AAAI,CAAc,AAAI,FAAQ,EAAc,AAAI,AAAS;;oBAKlD,TAKP;EAAO;;YAaA,DAA+B;EAAO,CAAI;;YAC1C,AAAoC;EAAE,CAAS,AAAI;EAAU;;iBAC7D,NAAsC;EAAO,oBAAa,nBAAI,FAAO,EAAI;;iBACzE,LAA6C;EAAE,CAAQ,AAAM;EAAG,CAAS,AAAM;EAAU;;UACzF,CAA6B;EAAO;;UACpC,EAAkC;EAAE,EAAS,DAAI;EAAG,CAAI;EAAU;;WAClE,AAA8B;EAAO,CAAI;;WACzC,CAAmC;EAAE,CAAQ,AAAI;EAAU;;UAC3D,CAA+B;EAAO,oBAAa,rBAAO;;UAC1D,EAAsC;EAAE,CAAQ;EAAK,CAAS;EAAY;;SAC1E,EAA4B;EAAO;;SACnC,GAAiC;EAAE,EAAU,DAAI;EAAG,CAAI;EAAU;;aAClE,FAAkC;EAAO,oBAAa,rBAAG;;aACzD,DAAyC;EAAE,CAAI;EAAK,CAAI;EAAY;;;;;oBC7SrE;;;CAEN,EAAS;CACT,EAAS;;;;6BAmBI,XAAmD;CAEvD,EAAQ;CACR,EAAQ;CACV,AAAW,EAAK,AAAK,AAAK;;gCAYpB,ZAEb;CAAO,qBAAa,nBAAQ,AAAI,FAAC,EAAQ,FAAQ,EAAQ,AAAI,FAAC,EAAQ;;0BA8BzD,NAEb;CAAO,qBAAa,nBAAM,FAAU,AAAQ,EAAM,FAAU;;;KAhEtD,OAEN;EAAO,oBAAa,nBAAM,FAAG,EAAM;;OAK7B,IAEN;EAAO,oBAAa,rBAAG;;QAcjB,YAEN;EAAO,EAAa,AAAQ,AAAe,AAAK,AAAe;;WAYzD,SAEN;EAAI,EAAK,AAAK,AAAK,HAElB,KAEM;GAEK,AAAY,FAAW,EAAI,AAAI,AAAI;GAC9C,CAAK;GACL,CAAK;;;QAOA,QAA0C;EAEhD,EAAK;EACL,EAAK;;OAYQ,SAAyC;EAEtD,CAAI;EACJ,CAAI;;UAIE,EAEN;EAAO,oBAAa,nBAAI,FAAK,EAAI;;gBAK1B,LAKP;EAAO;;YAaA,DAEP;EAAO,DAAW,EAAI,AAAI,AAAI;;;;;oBC7GxB;;;;;CAEN,EAAS;CACT,EAAS;CACT,EAAS;CACT,EAAS;;;;;;;;iCAYW,nBAAmD;CAE9D;CACT;CACS;CACT;CAEO,AAAW,EAAe,AAAf,AAAe,AAAf,AAAe;;6BAqCb,XAAmD;CAEzD,EAAQ;CACR,EAAQ;CACR,EAAQ;CAEf,AAAW,EAAI,AAAI,AAAI,AAAI,AAAI;;+BA2HjB,pBAErB;CAAO,qBAAa,rBAAG,AAAG;;+BAKL,pBAErB;CAAO,qBAAa,rBAAG,AAAG;;+BAKL,pBAErB;CAAO,qBAAa,rBAAG,AAAG;;;KApMb,OAEb;EAAO,oBAAa,nBAAS,FAAK,EAAS,FAAK,EAAS;;OAiB5C,IAEb;EAAO,oBAAa,rBAAG,AAAG,AAAG;;UAKhB,cAA+C;EAE5D,CAAI;EACJ,CAAI;EACJ,CAAI;;cAKS,FAEb;EAAO,oBAAa,nBAAI,AAAM,AAAI,FAAK,EAAI,AAAM,AAAI,FAAK,EAAI,AAAM,AAAI,FAAK;;aAKhE,DAAsC;EAEnD,EAAK;EACL,EAAK;EACL,EAAK;;YAgBQ,AAEb;EAAO,CAAI,AAAM,AAAI,AAAM,AAAI;;QAKlB;;EAEN,EAAK,AAAe,AAAK,AAAe,AAAK,AAAe,HAAC,AAAC,GAAW,AAAK;;aAKxE,DAAsC;EAEnD,EAAK;EACL,EAAK;EACL,EAAK;;YAKQ;;EAEN,DAAU,EAAI,AAAe,CAAa,HAAU,EAAI,AAAe,CAAa,HAAU,EAAI,AAAe,CAAa,HAAC,AAAC,GAAW,HAAU,EAAI,AAAe;;QAKlK,GAAwB;EAErC,EAAK;EACL,EAAK;EACL,EAAK;;WAKQ,AAA4B;EAEjC;EAER,AAAI,EAAK,HAAG;GAEX,CAAK;GACL,CAAK;GACL,CAAK;;EAIC;;SAKM,EAAyB;EAEtC,EAAK;EACL,EAAK;EACL,EAAK;;SAKQ,GAAgC;EAE7C,EAAK;EACL,EAAK;EACL,EAAK;;OAKQ,YAAmD;EAEhE,CAAI;EACJ,CAAI;EACJ,CAAI;;UAKS,EAEb;EAAO,oBAAa,nBAAI,FAAK,EAAI,FAAK,EAAI;;UAK7B,CAEb;EAAO,CAAa,AAAI,AAAO,AAAI,AAAO,AAAI;;YAYhC,DAEd;EAAO,DAAW,EAAI,AAAI,AAAI,AAAI,AAAI;;mBAKxB,RAEd;EAAO,CAAI,AAAI,AAAI,AAAI,AAAI;;;;;;qBClKrB,HAnBR;CAY8B,AAZ9B,EAY8B;CADL,AAXzB,EAWyB;CADJ,AAVrB,EAUqB;CADG,AATxB,EASwB;CADG,AAR3B,EAQ2B;CADF,AAPzB,EAOyB;CAcvB,EAAc;CACd,EAAa;CACb,AAAa;CAOb,CAAI,EAAW,HAEd,AAAM;;;;;OAOD,IAAuB;;SASd,EAEf;EAAO;;MAKD,YAGN;CAAY,AAAa,AAAgB,AAAc;;gBAShD,EAAmD;EAAnD;EAEI;EACX,AAAY,EAAgD,HAE3D,AAA0B,AAAY,AAAc;EAI7C,CAA6B,QAAY;GAEhD,DAAI,EAAsB,HAAG;GAErB;IAAI;;;IAAiC;;GAE7C,DAAI,EAAa,HAEhB,EAAI;GAIL,DAAI,EAAK,HxC7DG;IAEI,DwC6Df;IxC5DY,DwC4DZ;IxC3DY;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU,AwCsDkB,AAAM;KxCpDlC,HAAI,DAAC,AAAO,AAAI;MAEf,AwCkDD,LxClDgB,AAAU;MACzB;MAIA;;;GwCmDF,DAAI,EAAK,AAAQ,AAAK,AAAO,DAAI,FAEhC,AAAe,KAIf,JAAI,EAAK,HxC3EE;IAEI,DwC2Ed;IxC1EW,DwC0EX;IxCzEW;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU,AwCoEgB,AAAM;KxClEhC,HAAI,DAAC,AAAO,AAAI;MAEf,AwCgEA,LxChEe,AAAU;MACzB;MAIA;;MwC6DM,JAAI,EAAK,HxC/EL;IAEI,DwC+Ed;IxC9EW,DwC8EX;IxC7EW;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU,AwCwEgB,AAAM;KxCtEhC,HAAI,DAAC,AAAO,AAAI;MAEf,AwCoEA,LxCpEe,AAAU;MACzB;MAIA;;MwCiEM,JAAI,EAAK,HxCnFL;IAEI,DwCmFd;IxClFW,DwCkFX;IxCjFW;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU,AwC4EgB,AAAM;KxC1EhC,HAAI,DAAC,AAAO,AAAI;MAEf,AwCwEA,LxCxEe,AAAU;MACzB;MAIA;;MwCqEM,JAAI,EAAK,HAAG;IxCrFJ,DwCuFd;IxCtFW,DwCsFX;IxCrFW;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU,AwCgFgB,AAAM;KxC9EhC,HAAI,DAAC,AAAO,AAAI;MAEf,AwC4EA,LxC5Ee,AAAU;MACzB;MAIA;;IAhBc,DwCwFd;IxCvFW,DwCuFX;IxCtFW;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU,AwCiFsB,AAAM;KxC/EtC,HAAI,DAAC,AAAO,AAAI;MAEf,AwC6EA,LxC7Ee,AAAU;MACzB;MAIA;;MAlBU;IAEI,DwC4Fd;IxC3FW,DwC2FX;IxC1FW;IACL;IAER,CAAO,FAAI,FAAQ;KAElB,JAAU,AwCqFgB,AAAM,EAAiB;KxCnFjD,HAAI,DAAC,AAAO,AAAI;MAEf,AwCiFA,LxCjFe,AAAU;MACzB;MAIA;;;;;YwCuFI,6BAAqH;EAEhF;EAC5C,DAAgB,AAAK;EACH;EAElB,AAAI,DAAQ,AAAM,AAAY;GAER,AAAK;GAElB;GAAR,GAAQ;KAEF;IAAQ,DAAM;;;IACV,DAAM,FAAmB;;MAI7B,JAAI,DAAQ,AAAM,AAAe;GAEf,AAAK;GAE7B;GAAU,FAAgB;GAA1B,AAAU,FAAuB;IAAjC,DAAU,FAAV;;IAEC,FAAI,EAAc,HAAG,GAAO;IAC5B,AAAO,HAAuB,EAAK,AAAM,FAAuB,AAAe,AAAM;;MAMtF,JAAI,EAAQ,HAEX,EAAM;EAMR,EAEC;EAAI,EAAU,AAAO,AAAO,AAAQ,AAAO,HAAI;IAE/B,HAAW,GAAe;IACzC,HAAqB,AAAO,EAAM,FAAK,AAAU,AAAS,EAAO,FAAK;IACtE,DAAM;MAKN,LAAqB,cAAM,dAAiB,AAAK;;GxCxJlC,AwC8JhB;GxC7Ja,AwC6Jb;GxC5Ja;GACL;GAER,EAAO,FAAI,FAAQ;IAElB,HAAU,AwCuJS,AAAM;IxCrJzB,FAAI,DAAC,AAAO,AAAI;KAEf,AwCmJF,JxCnJiB,AAAU;KACzB;MAIA;;GwC+IF;;EAMO;EAAR,IAAQ;KAEF;GAAgB,AAA+B;;;;EAKrD;GAAe,FAAgB;GAA/B,AAAe,FAAf;;GAGC,FAAiC,AAAa;;EAM/C,DAAqB;ExCrLJ,CwCsLjB;ExCrLc,CwCqLd;ExCpLc;EACL;EAER,GAAO,FAAI,FAAQ;GAElB,FAAU,AwC+KK;GxC7Kf,DAAI,DAAC,AAAO,AAAI;IAEf,AwC2KH,HxC3KkB,AAAU;IACzB;MAIA;;EwCwKH,CAAU,QAET;EAAI,EAA2B,HAEvB,KAIA;;;UA8JF,EAA2B;EAGZ;EAEd;EAAR,IAAQ;KAEF;GAAQ,AAAY,FAAsB;;;GACtC,AAAY,FAAY;;ExCtWjB,CwC2WjB;ExC1Wc,CwC0Wd;ExCzWc;EACL;EAER,GAAO,FAAI,FAAQ;GAElB,FAAU,AwCoWS;GxClWnB,DAAI,DAAC,AAAO,AAAI;IAEf,AwCgWH,HxChWkB,AAAU;IACzB;MAIA;;;cwCgWI,EAA+D;EAEtE,CAAc;EACd,CAAa;ExCnXI,CwCqXjB;ExCpXc,CwCoXd;ExCnXc;EACL;EAER,GAAO,FAAI,FAAQ;GAElB,FAAU,AwC8WS,AAAM,AAAa;GxC5WtC,DAAI,DAAC,AAAO,AAAI;IAEf,AwC0WH,HxC1WkB,AAAU;IACzB;MAIA;;;gBwCkXI,GAA2E;EAMlF,AAAI,EAAY,AAA8B,HAAC,AAAkB,AAAgB,AAEhF,EAAa,GAIb,HAAa;EAIP;;;;;;;;;;;;;;;sBCpbD,NAAmC;CAEzC,CAAI,EAAS,HAEZ,EAAM;CAIP,EAAiB;CACjB,EAAS;CACT,EAAc;;;;;sBAKR,XAAyD;EAErD;EACV,AAAI,EAAO,HAAM,EAAM;EAEvB,AAAI,EAAU,AAAwB,AAAQ,HAAa;EAE3D,AAAI,KAAQ,HAAR,AAAyB,HAAQ,AAAM,AAAY;GAEtD,AAAM;GACN,FAAU,6BAAsB,7BAAgB,GAAe,HAAO,AAAc;;EAI9E;;;;4BCpCD;;;CAEN,EAAY;CACZ,EAAa;;;;;;;;;;;wBCPP,JAEN;EAAI,EAAa,HAEhB,AAAQ;;;;;QAOH,SAAqC;EAE9B,DAAgB;EAE7B;GAAU,FAAQ;GAAlB,AAAU,FAAV;;GAEC,FAAqB,AAAM;;EAIf,DAAc,AAAW,AAAY;EAElD;GAAU,FAAQ;GAAlB,AAAU,FAAV;;GAEU,FAAW;GAEpB,DAAI,CAAK,FAER,AAAkB,AAAM,AAAuB,AAAS,AAAG,AAAM,AAAuB,AAAS,EAAK,FAAd,KAElF,JAAI,EAAM,HAEhB,AAAkB,AAAM,AAAuB,AAAvB,AAA2B;;;UAS/C,CAA4B;EAErB;EACA,DAAgB;EAE7B;GAAU,FAAQ;GAAlB,AAAU,FAAV;;GAEC,FAAa,AAAuB,EAAK,AAAM,FAAuB,AAAe,AAAM;;EAIrF,DAAa;;;;;;;;;;;;;;;;yBCXP,8BAAwI;CAE5E;CAEzE,CAAI,KAAQ,HAAR,HAEH,EAAmB,FAAiC,cAAM,TAEpD,JAAI,EAAW,HAErB,EAAmB,FAAgC,KAInD,HAAmB;CAIR;CAEZ,CAAI,EAAc,HAAM;EAEvB,CAAa,FAAqB,AAAY,AAAK;EAEnD,AAAI,DAAoB,EAAQ,FAE/B,EAAQ,FAAc,KAItB,HAAQ,FAAc,EAAO;;CAM/B,CAAI,EAAS,HAEZ,EAAQ;CAIT,CAAI,EAAU,HAEb,EAAS;CAKV,EAAoC;CACpC,EAAiC;CACjC,EAA+B;CAC/B,EAAgC;CAChC,EAAsC;CACtC;;0BAOa,XAA8B;;iCAU7B,fAwCd;CAAO;;8BAKM,nBAKb;CAAY;;0BAcC;;;CAUb,CAAI,DAEI,AAAqB,YAAc;EAAO;;CAI7B;CAoHd;;6BAKO,lBAiBb;CAAO;;6BAOM,IAgCd;CAAO;;iCAKO,fAAsC;;8CA4EtC,nCAKd;CAAO;;qDAMO,1CAAmD;CAEnD;CACH;CAGX,CAAI,EAAuB,AAAQ,AAA8B,HAAM;EAEtE,AAAI,EAAsC,HAEzC,EAAU;EAIX,AAAI,EAAmC,HAEtC,EAAO;;CAUF;;0CAMO,/BAKd;CAAO;;4CAMO,jCAKd;CAAO;;wCAMO,7BAKd;CAAO;;uCAMO,5BAKd;CAAO;;;;;;;iBCpfD,FAAkC;CAExC,CAAI,EAAQ,HAEX,EAAY;CAIb,CAAI,EAAc,HAEjB,AAAY;;;;2BAuBA,XAA0C;CAE5C;CACX,AAAkB;CAKX;;0BAMM,XAAqC;CAEvC;CACX,AAAiB;CAKV;;;WAtCD,AASN;EAAO;;UAmCD,UAKN;EAAO;;WAMD;;EAKC;;iBAMD,DAaN;EAAO;;aAMD,YAqCN;EAAO;;cAKD,YAgKN;EAAO;;aAIe,GAEtB;GAAa;;YAiBS,GAEtB;GAAa;;cAwBN,HAKP;EAAO;;eAMA,JAKP;EAAO;;YAMA,DAKP;EAAO;;eAMA,JAKP;EAAO;;uBAMA,ZAKP;EAAO;;wBAMA,bAKP;EAAO;;gBAMA,LAKP;EAAO;;;;;;;;;oCCxcD,xBAEC;;;yBCOD,dAAgB;;;;;;;0BCDhB,KAAmE;CAEzE,EAAa;CACb,EAAe;CAEf,CAAI,EAAU,HAEb,EAAc,GAId,HAAc;;;;;;;;;;;;uDCNF,vCAEb;GAAO,AAAO;;wDAKD,xCAEb;CAAO,KAAQ;KAET;EAAe;KACf;EAAe;KACf;EAAe;KACf;EAAe;;EACX;;;4DAOI,5CAEd;CAAO,AAAC,EAAO,CAAO;;2DAKR,3CAEd;CAAO,AAAC,EAAO,CAAO;;8DAKR,9CAEd;CAAO,AAAC,EAAO,CAAO;;4DAKR,5CAEd;CAAO,AAAC,EAAO,CAAO;;uBCjChB;;;;;;CAEN,AAAY;CACZ,AAAY;CACZ,AAAY;CACZ,EAAc;CACd,EAAW;CACX,EAAa;CAEb,EAAY;CACZ,EAAU;;;;;YAQY,DAEtB;GAAY;;eAiDU,JAA+C;EAErE,AAAK,DACL;GACC,AAAU;GACV;;EAGM;;eAGe,JAEtB;EAAO;;eAKe,CAA2D;EAEjF,AAAI,EAAS,HAAoB;EAEjC,CAAc;EAMd,CAAU;EAEH;;UAKe,MAAoC;EAE1D,AAAI,EAAS,HAAkB;EAE/B,CAAY;EACZ,CAAU;EACH;;YAKe,DAAoC;EAE7C;EAEb;EAAiB;EAAjB,CAAiB,FAAW;GAA5B,AAAiB,FAAjB;;GAEC,FAAa;;EAIP;;cAKe,HAEtB;EAAO;;cAKe,EAA4C;EAElE,AAAI,EAAS,HAAmB;EAEhC,CAAa;EAMb,CAAU;EAEH;;YAKe,DAEtB;EAAO;;YAKe,IAAkD;EAExE,AAAI,EAAS,HAAiB;EAE9B,CAAW;EAMX,CAAU;EAEH;;UAKe,MAAkC;EAExD,AAAI,EAAS,HAAkB;EAE/B,CAAY;EACZ,CAAU;EACH;;UAKe,MAAwC;EAE9D,AAAI,EAAS,HAAkB;EAE/B,CAAY;EACZ,CAAU;EACH;;;;;;;;;;yDC7EO,zCAEd;CAAO,KAAQ;KAET,AAAQ,AAAQ,AAAQ,AAAQ,AAAK,AAAW,AAAS,AAAkB,AAAY,AAAQ,AAAS,AAAY,AAAmB,AAAS,AAAuB,AAAiB;EAAY;;EAEhM;;;;kBC1IJ,LAAsB;CAE5B,EAAU;CACV,EAAY;;;;;UAYiB,CAK7B;EAAO;;UAMsB,CAK7B;EAAO;;;;;;;;;kDClCM,lCAEb;CAAO,KAAQ;KAET;EAAQ;KACR;EAAQ;KACR;EAAS;KACT;EAAS;KACT;EAAc;KACd;EAAe;;EACX,CAAc,AAAO;;;;;;;sDCDlB,tCAEb;CAAO,KAAQ;KAET;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAM;KACN;EAAO;KACP;EAAO;KACP;EAAY;KACZ;EAAa;KACb;EAAe;KACf;EAAgB;KAChB;EAAS;KACT;EAAW;KACX;EAAW;KACX;EAAY;;EACR,CAAc,AAAO;;;;;;;;;;;;oDCVxB,pCAEP;CAAO,MAAC,JAAO,AAAW,CAAM,AAAC,DAAO,AAAY;;oDAKtC,9BAAsC;CAEpD,CAAI,DAEH,GAAQ,EAIR,FAAQ,DAAY;CAId;;sDAKA,tCAEP;CAAO,MAAC,JAAO,AAAY,CAAM,AAAC,DAAO,AAAY;;sDAKvC,hCAAwC;CAEtD,CAAI,DAEH,GAAQ,EAIR,FAAQ,DAAY;CAId;;qDAKA,rCAEP;CAAO,MAAC,JAAO,AAAY,CAAM,AAAC,DAAO,AAAa;;qDAKxC,/BAAuC;CAErD,CAAI,DAEH,GAAQ,EAIR,FAAQ,DAAY;CAId;;qDAKA,rCAEP;CAAO,MAAC,JAAO,AAAY,CAAM,AAAC,DAAO,AAAa;;qDAKxC,/BAAuC;CAErD,CAAI,DAEH,GAAQ,EAIR,FAAQ,DAAY;CAId;;qDAKA,rCAEP;CAAO,MAAC,JAAO,AAAW,CAAM,AAAC,DAAO,AAAW;;qDAKrC,/BAAuC;CAErD,CAAI,DAEH,GAAQ,EAIR,FAAQ,DAAY;CAId;;sDAKA,tCAEP;CAAO,MAAC,JAAO,AAAa,CAAM,AAAC,DAAO,AAAc;;sDAK1C,hCAAwC;CAEtD,CAAI,DAEH,GAAQ,EAIR,FAAQ,DAAY;CAId;;;;;;qBCjKM,VAEb;;;qBAKa,VAEb;;;qBAKa,AAEb;CAAmB,AAAG,AAAG;;2BAYX,hBAEd;CAAO;;2BAKO,XAEd;CAAO,AAAyB;;yBAKlB,dAEd;CAAO;;yBAKO,TAEd;CAAO,AAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBCAxB,AAnDR;CAqC8B,AArC9B,EAqC8B;CADD,AApC7B,EAoC6B;CADF,AAnC3B,EAmC2B;CADI,AAlC/B,EAkC+B;CADH,AAjC5B,EAiC4B;CADK,AAhCjC,EAgCiC;CADF,AA/B/B,EA+B+B;CADD,AA9B9B,EA8B8B;CADF,AA7B5B,EA6B4B;CADK,AA5BjC,EA4BiC;CADL,AA3B5B,EA2B4B;CADG,AA1B/B,EA0B+B;CADJ,AAzB3B,EAyB2B;CADD,AAxB1B,EAwB0B;CADD,AAvBzB,EAuByB;CADC,AAtB1B,EAsB0B;CADD,AArBzB,EAqByB;CADE,AApB3B,EAoB2B;CADH,AAnBxB,EAmBwB;CADU,AAlBlC,EAkBkC;CADR,AAjB1B,EAiB0B;CADA,AAhB1B,EAgB0B;CADJ,AAftB,EAesB;CADE,AAdxB,EAcwB;CADU,AAblC,EAakC;CADH,AAZ/B,EAY+B;CADC,AAXhC,EAWgC;CADE,AAVlC,EAUkC;CADF,AAThC,EASgC;CA4C9B,EAAc;CAEd,EAAU;CACV,EAAW;CACX,EAAe;CACf,EAAM;CACN,EAAM;CAEN,CAAI,EAAU,HAAM;EAInB,AAAI,DAAkB,AAAQ,AAAU,EAAU;EAClD,AAAI,DAAkB,AAAQ,AAAW,EAAW;EACpD,AAAI,DAAkB,AAAQ,AAAe,EAAe;;CAI7D,EAAU,iCAAmB;;;;;OAKvB,IAEN;;;QAKM,cAA+C;EAErD,DAAgB;EAEhB,AAAI,EAAmB,HAEtB;;MAOK,QAAkC;EAExC,DAAc,AAAG;EAEjB,CAAM;EACN,CAAM;;QAKA,eAA6C;EAEnD,DAAgB,AAAO;EAEvB,CAAU;EACV,CAAW;;SAKL,OAAoC;EAE1C,AAAI,EAAS,HAEZ;EAID,DAAiB;;sBAYY,XAE7B;EAAO;;sBAKsB,NAE7B;EAAO,DAA6B;;gBAKP,LAE7B;EAAO;;gBAKe,AAEtB;EAAO,CAAe,FAAuB;;YAKhB,DAE7B;EAAO;;YAKe,IAAoC;EAE1D,DAAQ,AAAS;EACV;;eAKsB,JAE7B;EAAO;;eAKe,CAEtB;EAAO,CAAc,FAAsB;;WAKd,AAE7B;EAAO;;WAKe,KAAmC;EAEzD,DAAQ,AAAO;EACR;;OAKsB,IAE7B;EAAO;;OAKe,SAA+B;EAErD,DAAM,AAAO;EACN;;OAKsB,IAE7B;EAAO;;OAKe,SAA+B;EAErD,DAAM,AAAK;EACJ;;;;;;uBCzHD,RAzFR;CAyFQ;CA7EyB,AAZjC,EAYiC;CADJ,AAX7B,EAW6B;CAFF,AAT3B,EAS2B;CAHa,AANxC,EAMwC;CAsFtC,CAAI,CAAO,FAAG,EAAY;CAC1B,AAAiB;CACjB,AAAS;;;;iCA6JI,jBAA2C;CAE3C;CACb,cAAoB;CAApB;;CACO;;gCAyGM,jBAGb;CAAO;;kCA8oBM,jBAAmD;CAEpD;CAEZ,AAAe,EAAkB;CACjC,EAAqB,UAAoB;CACzC,EAAyB,YAAsB;CAExC;;;OAp3BD,IAAuB;EAE7B,CAAS,FAAT,AAAS,AAAT,EAAS;EAAT,CAAS;;EACT,CAAW;;UAKL,UAA+D;;SAkD/D,EAEN;CAAU;;SAkEJ,EAEN;CAAY;;aAKC,FAGb;EAAO,KAAC,HAAoB;;UAQf,CAAyB;EAGnB;EACZ,DAAc;;WASf;;;EAIN,AAAI,CAAS,CAAK,DAAS,FAE1B,KAAM;EAIP,AAAI,EAAU,HAAG,EAAS;EAEP,CAAS;EAA5B;;;;;EAEA,DAAoB,AAAmB,AAAe,EAAgB,FAAS;EAC/E,CAAiB;EAEjB,EAAiB;EACjB,AAAI,CAAiB,AAAS,FAAc,AAAe,EAAiB;;YA6BtE,DAA6B;EAGtB,DAAiB,AAAe;EAC7C,EAAiB;EACV;;WAuBD,AAA4B;EAGtB,DAAiB,AAAe;EAC5C,EAAiB;EACV;;SAUD,EAAwB;EAGpB,DAAe,AAAe;EACxC,EAAiB;EACV;;eAYM,UAEb;EAAO,DAAc;;WAKf,AAA0B;EAGpB,DAAe,AAAe;EAC1C,EAAiB;EACV;;kBAWM,PAAiC;EAG3B;EACZ,DAAe;;iBAQhB,NAAgC;EAG3B,DAAgB,AAAe;EAC1C,EAAiB;EACV;;mBAYD,RAAkC;EAG3B,DAAgB,AAAe;EAC5C,EAAiB;EACV;;SAUD,EAA2B;EAEhB;EACV,DAAc;;cAKf,AAAuC;EAIjC;EACF,CAAgB;EAG1B,GAAO,FAAgB,FAAK;GAER;GACX,FAAe;GAEvB,DAAI,CAAI,FAAM;IAEb,FAAI,EAAK,HAAG;IACZ,AAAS,HAAqB;MAExB,JAAI,CAAI,FAEd,GAAS,HAAqB,AAAC,AAAC,EAAI,CAAS,DAAK,AAAC,FAAe,EAAmB,GAE/E,JAAI,CAAI,FAAM;IAEX,HAAe;IACxB,AAAS,HAAqB,AAAC,AAAC,EAAI,CAAS,DAAM,AAAC,FAAC,EAAK,CAAS,DAAK,AAAC,FAAe,EAAmB;MAErG;IAEG,HAAe;IACf,HAAe;IACxB,AAAS,HAAqB,AAAC,AAAC,EAAI,CAAS,DAAM,AAAC,FAAC,EAAK,CAAS,DAAM,AAAC,AAAC,CAAM,DAAK,AAAQ,AAAC,FAAe,EAAmB;;;EAM5H;;UA8FqB,CAA4B;EAEpC;EACpB,CAAW;EACC,DAAc;EAC1B,CAAW;EACJ;;YAKD,QAWN;OAAO,NAAP;;eA+Cc,CAAkC;;cAenC,EAEb;CAAgB,AAAQ,AAAI;;WAKtB,KAAoC;EAG7B,CAAgB;EAA7B;;;;;EACmB;EACnB,DAAc,AAAe;EAC7B,EAAiB;;YAaX;;;EAEN,AAAI,EAAgB,HAAG;EAEvB,AAAI;;GAAS,AAAT;;CAAS,EAAT;;IAAc;;GAAS,AAAT;;CAAS,EAAT;;CAAY,KAAM;EACpC,AAAI;;;;;IAAU,HAAI,EAAS;EACd,CAAgB;EAA7B;;;;;EACA,DAAc,AAAyB,AAAQ,EAAS,FAAS;EACjE,CAAiB;;aAYX,DAAoC;EAG7B,CAAgB;EAA7B;;;;;EACA,DAAiB,AAAe,AAAG;EACnC,EAAiB;;WAUX,IAAsC;;YAatC,AAAmC;EAG5B,CAAgB;EAA7B;;;;;EACA,DAAiB,AAAe,AAAG;EACnC,EAAiB;;UAUX,MAAmC;EAG5B,CAAgB;EAA7B;;;;;EACA,DAAe,AAAe,AAAO;EACrC,EAAiB;;YAwBX,IAAqC;EAG9B,CAAgB;EAA7B;;;;;EACA,DAAe,AAAe,AAAO;EACrC,EAAiB;;kBAqBX,FAA2C;EAGpC,CAAgB;EAA7B;;;;;EACA,DAAgB,AAAe,AAAO;EACtC,EAAiB;;oBAQX,JAA6C;EAGtC,CAAgB;EAA7B;;;;;EACA,DAAgB,AAAe,AAAO;EACtC,EAAiB;;UAQX,MAAsC;EAG5C,DAAoB,AAAoB;EACxC,DAAe;;eAcT,CAIN;EAAU;EAAI;EAAd,DAA4B;GAA5B;GAES,FAA+B;GAEvC,DAAI,EAAK,HAER,AAAW,KAEL,JAAI,EAAK,HAAO;IAEtB,HAAW,EAAO,AAAC,CAAK;IACxB,HAAW,EAAO,AAAC,AAAI;MAEjB,JAAI,EAAK,HAAQ;IAEvB,HAAW,EAAO,AAAC,CAAK;IACxB,HAAW,EAAO,AAAC,AAAC,CAAK,DAAK;IAC9B,HAAW,EAAO,AAAC,AAAI;MAEjB;IAEN,HAAW,EAAO,AAAC,CAAK;IACxB,HAAW,EAAO,AAAC,AAAC,CAAK,DAAM;IAC/B,HAAW,EAAO,AAAC,AAAC,CAAK,DAAK;IAC9B,HAAW,EAAO,AAAC,AAAI;;;;aAiBX,GAAwC;EAGtD,CAAmB,YAAsB;EACzC,DAAS;EACT,CAAY;;OAYQ,OAGpB;EAAO,DAAc;;aAeR,FAEb;EAAO;;oBAgBA,JAA+C;EAEtC;EAGN;EAAI;EAAd,DAA4B;GAA5B;GAES,FAA+B;GAEvC,DAAI,EAAK,HAER,GAAS,EAEH,JAAI,EAAK,HAEf,GAAS,EAEH,JAAI,EAAK,HAEf,GAAS,EAIT,FAAS;;EAMJ;;iBAsBA,HAAwC;EAElB;EACQ,aAAsB;EAE3D,AAAI,EAAe,HAElB;EAAI,EAAsB,HAAK,AAAiB,KAC3C,LAAiB,AAAsB,AAAG;;EAIhD,CAAgB;EAChB,CAAoB,UAAoB;;OAMpB,SAGpB;CAAe,AAAK;;oBA0BN,TAEd;EAAO,CAAS;;YAcF,DAEd;EAAO,DAAe,KAAiB;;YAKzB,KAA2C;EAEzD,CAAe,AAAC,CAAU;EACnB;;YAKO,IAAoC;EAGlD,AAAI,CAAY,FACf,AAAiB,EAAY,FAAS,AAAU,AAAO,EAAY,GAC/D,JAAI,CAAY,AAAQ,FAC5B,AAAiB,EAAY;EAC9B,CAAS;EAEF;;;;;;;;;;;;;;;;;;;;;mCCtnCM,bAA0D;CAE1D,AAAiB;CAC9B,AAAiB,AAAQ;CACzB,AAAkB;CAElB,CAAI,DAAuB,AAAQ,GAAsB,HAExD,KAAQ;KAEF;EAAkB,IAAM;;KACxB;EAAoB,IAAM;;;EACtB,IAAM;;CAMV;;mCAKM,GAA8E;CAExE,AAAe,AAAc;CAC3B,AAAe,AAAgB;CAEtC;CACd,AAAiB,AAAS;CAC1B,AAAiB,AAAS;CAC1B,AAAgB;CAEhB,CAAI,DAAwB,AAAS,GAAmB,HAEvD,KAAM;CAIA;;;;;;;;;;;;;;;;;;;;;;;mCCbD,EAA4D;CAElE,EAAe;CACf,EAAS;CACT,EAAW;CACX,EAAU;CACV,EAAW;CACX,EAAiB;CACjB,EAAY;CACZ,EAAU;CAEV,EAAc;CACd,EAAkB;CAClB,EAAgB;CAEhB,EAAQ;;;;;;OAKD,IAEP;;EAAU,DAAgB;EAA1B,CAAU,FAA6B;GAAvC,AAAU,FAAV;;GAIC,DAA4B,DAAkB,AAAQ,AAErD,AAAkB,AAAQ,AAAG,AAAe,AAAY,KAIxD,LAAqB,AAAQ,AAAG,AAAe,AAAY;;;aAoBvD,GAA4D;EAElE,AAAI,EAAS,HAEZ,EAAQ;EAIT,CAAe;EAER;;YAKO,YAA2E;EAEzF,AAAI,EAAU,HAEb,EAAS;EAsBH,KAA4B,NAAR,AAAgB;;QAKpC,GAEP;EAAI,EAAa,HAEhB,AAAY,AAAW;;UAOjB;;EAEP,AAAI,DAAW;GAEd;GAEA,DAAI,EAAe,HAElB,AAAY,AAAa;;EAM3B,DAAgB;;OAUV,YAAmD;EAEzD,CAAS;EAEF;;MAUD,WAAkD;EAExD,CAAQ;EAED;;MAKA,KAAsB;;YAavB,iBAA4F;EAElG,CAAc;EAEd,AAAI,EAAc,HAEjB,EAAoB,GAIpB,HAAoB;EAIrB,AAAI,EAAY,HAEf;EAIM;;UAWD,mBAA0F;EAEhG,CAAY;EAEZ,AAAI,EAAc,HAEjB,EAAkB,GAIlB,HAAkB;EAIZ;;UAWD,mBAA0F;EAEhG,CAAY;EAEZ,AAAI,EAAc,HAEjB,EAAkB,GAIlB,HAAkB;EAIZ;;SAUD,oBAAyF;EAE/F,CAAW;EAEX,AAAI,EAAc,HAEjB,EAAiB,GAIjB,HAAiB;EAIX;;UAUD,mBAA0F;EAEhG,CAAY;EAEZ,AAAI,EAAc,HAEjB,EAAkB,GAIlB,HAAkB;EAIZ;;OAKA,IAEP;EAAI,EAAY,HACf,AAAW,AAAU;;SAUhB,OAAwD;EAE9D,AAAI,EAAS,HAEZ,EAAQ;EAIT,CAAW;EACX,CAAU;EAEH;;QAUD,QAAsD;EAE5D,AAAI,EAAS,HAEZ,EAAQ;EAIT,CAAU;EAEH;;QAKA,GAEP;EAAI,EAAa,HAChB,AAAW,AAAW;;SAUjB,OAAwD;EAE9D,AAAI,EAAS,HAEZ,EAAQ;EAIT,CAAW;EACX,CAAU;EAEH;;eAUD,CAA8D;EAEpE,AAAI,EAAS,HAEZ,EAAQ;EAIT,CAAiB;EACjB,CAAU;EAEH;;UAUD,MAAyD;EAE/D,AAAI,EAAS,HAEZ,EAAQ;EAIT,CAAY;EACZ,CAAU;EAEH;;MAKA,kCAAuE;;;;kCC/YxE,GAA4D;CAElE,EAAS;CACT,EAAkB;CAClB,EAAa;CACb,EAAS;CACT,EAAe;CACf,EAAc;CACd,EAAa;CACb,EAAgB;CAIf,EAAY,AAAkB;CAU/B,AAAO,AAAQ,AAAU;CAEzB,CAAI,DAAC,AAAY;EAEhB,CAAa;EAGZ,DAAoC,AAAmB;;;;;qDAudnD,rCAA4G;CAIzF,EAAkB;CAU3C;CAEY;CACE;CAEJ;CAAI;CAAd,AAA+B;EAA/B;EAEC,CAAW,FAAU;EAErB,AAAI,EAAY,AAAQ,HAAiB;GAExC,DAAI,EAAe,HAElB,AAAiB;GAIlB;MAEM;GAEN,FAAkB,AAAG;GACrB,DAAE;;;;;;4CA/QoB,RAExB;EAAI,DAAkB,AAAQ,AAK7B,AAAkB,AAAQ,EAAc,GAMxC,LAAqB,AAAQ,AAAc;;aAzO7B,GAA4D;EAE3E,AAAI,EAAS,HAEZ,EAAQ;EAIT,CAAe;EAEf,AAAI,DAAC,AAAO;GAEX,AAAgB;GAEhB,DAAI,DAEH,AAAU,AAAQ,AAAW;;EAMxB;;OAQQ,YAAmD;EAElE,CAAS;EACT,CAAa,AAAY;EAElB;;UAKO,oBAA6D;EAI/D;EAEZ,AAAI,DAAkB,AAAQ,AAK7B,EAAQ,FAAe,AAAQ,KAK/B,HAAQ,FAAqB,AAAQ;EAI/B;;YAWA,DAA4B;EAEnC;EACA;EAEA;EAAU,DAAgB;EAA1B,CAAU,FAA6B;GAAvC,AAAU,FAAV;;GAEe;GAId,DAAI,DAAkB,AAAQ,GAA+E,HAAC,AAAS,AAAC,GAAkC,AAAC,HAAuB,EAAS,FAE1L,EAAQ,FAAe,AAAQ,KAEzB;IAEN,DAAU;IACV,DAAQ,FAAqB,AAAQ;;GAUtC,DAAI,KAAQ,HAAR,HAAuB;IAEN,HAAU,AAAY;IAG1C,FAAI,EAAS,HAAM,EAAQ;IAC3B,FAAI,EAAS,HAAM,EAAQ;IAG3B,DAAU,kCAAqB,AAAK,pCAAQ,AAAG,AAAO,EAAQ,FAAO;IACrE,HAAsB;;;EAMxB,CAAgB;EAChB,CAAc;;MAKE,KAAsB;EAGtC,CAAgB,AAAC,FAAkB,AAAY,GAAY,HAAQ,AAAQ;EAK3E,AAAI,EAAiB,AAAoB,AAAK,HAAC,AAAU,AAAQ,AAAY;GAE5E,AAAa;GACb,AAAe,FAAU,AAAQ;GACjC,FAAU,AAAQ,AAAW;;EAI9B,CAAa;EACb,DAAgB;EAChB,AAAE;;UAQa,mBAA0F;EAEzG,CAAY;EAEZ,AAAI,EAAc,HAEjB,EAAkB,GAIlB,HAAkB;EAInB,CAAa;EAEN;;OAKS,IAEhB;EAAI,DAAC,AACL;GACC,AAAS;GAET;GAKC,AAAY;;;QAeE,GAEhB;EAAI,DAAQ;GAEX,AAAS;GAIR,CAAc,HAAC,EAAkB,AAAa;GAU/C;;;aA6Ba,WAEd;EAAI,DAKH,AAAkB,AAAgB,EAAsB,GAMxD,LAAqB,AAAgB,AAAsB;;MAQ5C,kCAEhB;EAAI,DAAQ;GAEX,DAAI,EAAc,HAAM;IAEvB,DAAS;IAET,FAAI,DAEH;IAID,HAAe;IACf;;GAID;GAAU,FAAgB;GAA1B,AAAU,FAA6B;IAAvC,DAAU,FAAV;;IAEC,FAAI,DAAkB,AAAiB,AAAI;KAE1C,FAAS;KAET,HAAI,DAEH;KAID,JAAe;KACf;;;;;QAWI,cAEP;EAAI,DAAC,AAAQ;GAEZ;GACA;GACA;GAE0B,FAAC,EAAc,AAAc;GAEvD,DAAI,CAAgB,FAEnB,EAAgB;GAIjB,DAAI,DAAC,AAEJ;GAID,DAAI,DAAC,AAAS;IAEb,DAAS,FAAiB;IAEhB;IAAI;IAAd,HAA6B;KAA7B;KAEC,FAAU,FAAgB;KAC1B,JAAa,AAAS,EAAgB,AAAC,AAAiB;;MAInD;IAEN,FAAI,DAAC,AAEJ,EAAS,FAAiB,KAI1B,HAAS,FAAiB,EAAI;IAI/B;IAEU;IAAI;IAAd,HAA6B;KAA7B;KAEC,FAAU,FAAgB;KAE1B,HAAI,EAAkB,HAAC,GAAwB,AAAc,AAAwB,AAAe,AAAwB,AAAe,AAAwB,HAAc;MAE3J,HAAiB;MAEtC,JAAI,CAAW,FAEd,GAAY,EAEN,JAAI,CAAW,FAErB,GAAY;MAIb,HAAW,AAAgB,AAAW;MAItC,HAAW,AAAgB,AAAC,AAAiB;KAI9C,HAAI,DAAC,AAEJ;CAAa,AAAb,AAAa,AAAb,AAAa,EAAS,GAAtB,LAAa,AAAb,AAAa,AAAS;MAItB,LAAa,AAAS,AAAY;;;GAQrC,DAAI,EAAiB,HAEpB;EAAI,EAAW,HAAG;KAEjB,FAAS;KAET,HAAI,EAAiB,HAAU,AAAQ,GAAY,HAElD,AAAU,AAAQ,AAAW;KAI9B,JAAU;KACV;MAEM;KAEN,HAAI,EAAa,HAEhB,AAAY,AAAW;KAIxB,HAAI,DAEH,EAAW,FAAC;KAIb,FAAY;KACZ,FAAa,AAAY;KAEzB,HAAI,CAAU,FAEb;;;GAQH,DAAI,DAEH;;;;;;;;;;gCClgBY,rBAEd;CAAO;;mCAKO,xBAEd;CAAO;;iCAKO,tBAEd;CAAO;;;;;;;;4BA+ED,jBAAgB;;;;;;WAOhB,CAEN;EAAO,EAAK,HAAI,KAAI,CAAC,JAAI,FAAS,AAAG,EAAM;;MAKrC,YAEN;EAAO,EAAK,HAAI,EAAI,GAAI,HAAI,FAAC,EAAI,FAAS,AAAG,EAAM,AAAI,AAAM;;;;;;;uBC1FlC,oBAAqH;CAEhJ,AAAM,AAAQ;CAEd,CAAI,EAAkB,HAErB,EAAsB;CAIW,AAAqB,AAAgB,AAAE,AAAQ,AAAG;CACpF;CAEO;;yBAcM;;CAEN,kCAAoB,lCAAQ,AAAU;;4BAO/B;;CAkBd,CAAI,DAAC,AAAwB,GAAxB,AAAmC,HAEvC,AAAqB,AAAQ;CAIvB,AAAqB;;0BASf,fAA0B;CAE1B;CAEb,UAAgB;;;EAEf,CAAS;EACT;;CAIM;;4BAaoB;;CAEpB,AAAO,AAAQ,AAAU,AAAY,AAAW;;uBAU5B,NAE3B;EAAI,DAAQ,AAAQ,AAAmB;EAEN,CAAK;EACrC;MAEM;EAEQ,DAAY,AAAQ;EAElC,AAAI,EAAW,HAEd;;GAAiB,FAAS;IAA1B,DAAiB,FAAjB;;IAEC;;;;;0BAWU,fAgBb;WAAgB;;;EAEf;GAAiB,FAAS;GAA1B,AAAiB,FAAjB;;GAEC;;;;uBAYW,ZAAuB;CAqBpC,UAAgB;;;EAEP,CAAiB;EAEzB,GAAO,DAAK,HAAG;GAEd,FAAQ,AAAS,AAAM,AAAO;GAC9B;;;CAMF,EAAkB;;wBASS,PAE3B;EAAI,DAAQ,AAAQ,AAAmB;EAEN,CAAK;EACrC;MAEM;EAEQ,DAAY,AAAQ;EAElC,AAAI,EAAW,HAEd;;GAAiB,FAAS;IAA1B,DAAiB,FAAjB;;IAEC;;;;;2BAWU,hBAgBb;WAAgB;;;EAEf;GAAiB,FAAS;GAA1B,AAAiB,FAAjB;;GAEC;;;;sBAgByB;;;CAE3B,CAAI,EAAU,HAEb;EAAI,DAAQ,AAAQ,AAAmB;GAEN,AAAK;GACrC,FAAe,AAAM,AAAU;MAEzB;GAEQ,FAAY,AAAQ;GAElC,DAAI,EAAW,HAAM;IAEpB,FAAI,KAAQ,HAAR,HAA6B;KAErB;KACX,JAAkB,AAAM,AAAY;KACpC,FAAa;MAEP,JAAI,DAAQ,WAAY,RAApB,AAAQ,AAAR,HAA4B;KAE3B;KAEX;KAAiB;eAAM;KAAvB,FAAiB,FAAoC;MAArD,HAAiB,FAAjB;;MAEC,LAAkB,AAAM,AAAU;;KAInC,FAAa;;IAIN,DAAiB;IAEzB,CAAO,DAAK,HAAG;KAEd,JAAQ,AAAS,AAAY,AAAU;KACvC;;;;;;uBAoBS,WAEb;CAAY,AAAO,8BAAgB,9BAAI,AAAU,8BAAgB,9BAAI,AAAO,AAAK;;2BAetD;;;CAEpB,oCAAsB,pCAAQ,AAAU;;uBAiBpB;;CAE3B,CAAI,EAAU,HAEb;EAAI,CAAW,FAAG;GAEjB,DAAI,EAAkB,HAErB,EAAsB;GAIW,FAAqB,AAAgB,AAAE,AAAQ,AAAU;GAC7E,FAAY;GAE1B,DAAI,DAAW;IAEN,DAAiB;IAEzB,CAAO,DAAK,HAAG;KACd,JAAQ,AAAS,AAAqB,AAAO;KAC7C;;IAGD,DAAU,FAAY;;GAIvB,FAAc;GACd;GAEO;MAIA,LAAO,AAAQ,AAAY;;CAM7B;;wBAKoB,LAAsD;CAEpE;CAwBb,CAAI,DAAwB,GAAxB,HAAiC;EAEpC,DAAqB,AAAgB;EAErC,AAAI,DAAqB,GAAkB,HAE1C,AAAwB;;;wBAmBC;;CAEF,OAAS,FAAY;CAEvC,AAAO,AAAQ,AAAU,AAAY,AAAW;;;iCA8BjD,GAAoE;CAE1E,EAAc;CACd,EAAgB;CAChB,EAAiB;;;;;QAWX,uBAAyE;EAE/E,CAAoB;EAEb,DAAe,AAAQ,AAAU,AAAY,AAAW;;;;mCAgBzD,CAAwD;CAE9D,EAAc;CACd,EAAgB;CAChB,EAAiB;;;;;OAYX;;;EAEmB,WAAc,GAAsB;EAE7D,AAAI,EAAS,HAEZ,EAAwB;EAIlB,DAAe,AAAQ,AAAU,AAAY,AAAW;;OAWzD,cAAsF;EAEnE;EAEzB,AAAI,EAAU,HAEb,EAAyB;EAI1B,AAAI,EAAO,HAEV,EAAsB;EAIhB,DAAe,AAAQ,AAAU,AAAY,AAAW;;;;6BAgBzD,VAEN;GAAgB;;;;;;;oBCjnBV,TAAgB;CAEtB,EAAK;CACL,EAAK;CAEL,EAAY;;;;;QAcN;;EAEN,DAAY,qBAAgB,rBAAG,AAAU;EACzC,DAAY,qBAAgB,rBAAG,AAAU;EAElC;;MAYD;;EAEN,DAAY,qBAAgB,rBAAG;EAC/B,DAAY,qBAAgB,rBAAG;EAExB;;cAYA,HAAsC;EAE7C,AAAI,EAAa,HAEhB,EAAY,qBAAkB,vBAAI;EAI5B;;OAKA,IAEP;EAAO;;OAKA,IAEP;EAAO;;;;;;;;;;;uBAkBD,ZAAgB;CAEtB,EAAQ;CACR,EAAQ;CACR,EAAgB;;;;;;SAKV,MAAwC;EAE9C,DAAY;EACZ,EAAiB;;WAKX,CAAmC;EAEzC,AAAI,EAAgB,HAEZ,AAAM,AAAc,AAAO,KAE5B;GAEM,AAAI;GACF;GAEd;GAAa;GAAb,AAAa,FAAO;IAApB,DAAa,FAAb;;IAEC,FAAI,CAAQ,FAAe;KAE1B,DAAS;KACT,FAAU;MAIH,LAAgB,AAAS,EAAQ;;;EAQpC;;SAWA,EAEP;EAAI,CAAe,FAAG;GAEV,FAAM,EAAe;GACzB;MAIA;;;;;oBA8BF,WAAwD;CAE9D,EAAW;CACX,EAAe;CACf,EAAgB;;;;;WAKV,OAEN;EAAO,DAAC,EAAI,AAAK,FAAC,EAAI,AAAK,AAAQ,AAAI,FAAC,EAAI,AAAK,AAAI,AAAU,AAAI,AAAI;;;;oBAWjE,GAEN;CAAO,AAAK,AAAG;;;;;;WAKA,OAEf;EAAO,CAAQ,AAAI,FAAC,EAAM;;;;sBAoBpB,RAZR;CAOoB,AAPpB,EAOoB;CAOlB,EAAK;CACL,EAAK;CAEL,EAAS;CAET,EAAQ,FAAW;;;;;;WAKb,CAAmC;EAEhC,DAAc,EAAK,FAAc,EAAI;EACrC,DAAc,EAAK,FAAc,EAAI;EAElC,DAAW,AAAI,EAAM,FAAC,EAAM;EACxC,CAAQ,FAAC,EAAQ,AAAU;EAEpB;;SAYD,EAEN;EAAO,DAAW;;;;;kCChRZ,GAAwE;CAE9E,EAAc;CAEd,AAAO,AAAQ,AAAU;CAEzB,CAAI,DAAQ,AAAmB,AAAQ;EAEtC,CAAc;EAEd,AAAI,EAAyB,HAC5B,AAAiB,AAAC,AAAoB,AAAa;EAGpD;EAAe;EAAf,CAAe,FAAgB;GAA/B,AAAe,FAAf;;GAEC,DAAI,DAAQ,AAAQ,AAEnB,EAAc;;MAMV;EAEN,CAAc;EACd,CAAc,FAAgB;;;;;;;uCJiRP,HAExB;EAAI,DAAkB,AAAQ,AAK7B,AAAkB,AAAQ,EAAc,GAMxC,LAAqB,AAAQ,AAAc;;OIvR5B,IAAuB;EAEvC;EAAqB,DAAgB;EAArC,CAAqB,FAA6B;GAAlD,AAAqB,FAArB;;GAEC,DAAI,EAAgB,HAEnB,AAAkB,AAAQ,AAAc,AAAe,AAAY;;EAMlC,DAAU,AAAQ;EACrD,DAAkB,AAAS,AAAmB;EAC9C,DAAU,AAAQ,AAAW;;YAKb,DAA4B;EAE5C;EACA;EAEA;EAAqB,DAAgB;EAArC,CAAqB,FAA6B;GAAlD,AAAqB,FAArB;;GAEC,DAAI,EAAgB,HAAU;IAE7B,DAAQ,FAAU,AAAQ;IAC1B,DAAU,kCAAqB,pCAAQ,AAAc,AAAO,AAAe,AAAY,EAAgB;IACvG,HAAsB;;;EAMxB,CAAgB;EAChB,CAAc;;QAKE,cAAyC;EAEzD,DAAc;EAEA;EAEd,AAAI,CAAc,FAEjB,AAAkB,AAAS,AAAmB,KAI9C;GAAU;GAAI;GAAd,FAA8B;IAA9B;IAEC,FAAI,DAAQ,AAAQ,AAAI,AAEvB,AAAQ,EAAK;;;EAQhB,DAAU,AAAQ,AAAW;;;;kCC1GvB,GAA4D;CAElE,EAAoB;CACpB,EAAkB;CAElB,AAAO,AAAQ,AAAU;CAEzB,CAAI,DAAC,AAAkB,AAAY,AAElC,EAAwB;CAIzB,CAAI,DAAC,AAAkB,AAAY,AAElC,EAAsB;CAIb;CAAI;CAAd,AAA4C;EAA5C;EAEC,DAAwB,AAAsB;;;;;;;OAM/B,IAEhB;CAAY,AAAQ;;UAKJ;;EAEN;EAAI;EAAd,DAAuC;GAAvC;GAEC,FAAkB,EAAK,FAAe,AAAiB,EAAU;;EAIlE,DAAY,AAAQ;EAEpB,DAAgB;;YAKA,DAA4B;EAE5C;EACA;EACA;EAEU;EAAI;EAAd,DAAuC;GAAvC;GAEC,AAAe,AAAU;GACzB,AAAQ,FAAiB;GAEzB,AAAkB,FAAiB,EAAc;GAEjD,DAAI,KAAQ,HAAR,AAAyB,FAAQ,CAAR,GAAQ,LAAa;IAEjD,DAAU,kCAAqB,pCAAiB,AAAc,AAAO,AAAe,EAAK;IACzF,HAAsB;;;EAMxB,CAAgB;EAChB,CAAc;;QAKE,cAAyC;EAEzD,DAAc;EAEd,AAAI,EAAU,HAAC,AAAQ;GAEZ;GAAI;GAAd,FAAuC;IAAvC;IAEC,HAAkB,EAAK,FAAe,AAAiB,EAAU;;GAIlE,FAAY,AAAQ;;;;;sCC1Ff,DAEN;CAAO,AAAQ,AAAU;;;;;;gDNiTD,ZAExB;EAAI,DAAkB,AAAQ,AAK7B,AAAkB,AAAQ,EAAc,GAMxC,LAAqB,AAAQ,AAAc;;OMzT5B,IAEhB;;EAAqB,DAAgB;EAArC,CAAqB,FAA6B;GAAlD,AAAqB,FAArB;;GAIC,DAA4B,DAAkB,AAAQ,AAErD,AAAkB,AAAQ,AAAc,cAAM,dAAe,AAAY,KAIzE,LAAqB,AAAQ,AAAc,cAAM,dAAe,AAAY;;;YAe9D,DAA4B;EAE5C;EACA;EAEA;EAAqB,DAAgB;EAArC,CAAqB,FAA6B;GAAlD,AAAqB,FAArB;;GAEC,AAAO,YAAM,dAAe,AAAY;GAExC,DAAI,EAAQ,HAAM;IAEH;IAId,FAA4B,DAAkB,AAAQ,AAErD,EAAa,FAAe,AAAQ,KAE9B;KAEN,FAAU;KACV,FAAa,FAAqB,AAAQ;;IAU3C,DAAU,sCAAyB,xCAAQ,AAAc,AAAM;IAC/D,HAAsB;;;EAMxB,CAAgB;EAChB,CAAc;;QAKE,cAEhB;EAAI,DAAC,AAAQ;GAEZ;GACA;GAEoB,FAAC,EAAc,AAAc;GAEjD,DAAI,CAAgB,FAEnB,EAAgB;GAIjB,DAAI,DAAC,AAEJ;GAID,DAAI,DAAC,AAAS;IAEb,DAAS,FAAiB;IAE1B;IAAgB;IAAhB,DAAgB,FAAiB;KAAjC,FAAgB,FAAhB;;KAEC,HAAI,DAEH,AAAkB,AAAgB,AAAsB,cAAM,dAAuD,KAKrH,LAAqB,AAAgB,AAAsB,cAAM,dAAuD;;MAOpH;IAEN,FAAI,DAAC,AAEJ,EAAS,FAAiB,KAI1B,HAAS,FAAiB,EAAI;IAI/B;IAEA;IAAgB;IAAhB,DAAgB,FAAiB;KAAjC,FAAgB,FAAhB;;KAEC,HAAI,DAAC,AAEJ;EAAI,DAEH,AAAkB,AAAgB,AAAsB,cAAM,dAAuD,KAKrH,LAAqB,AAAgB,AAAsB,cAAM,dAAuD;MAOzH,JAAI,DAEH,AAAkB,AAAgB,AAAsB,AAAY,cAAM,dAAuD,KAKjI,LAAqB,AAAgB,AAAsB,AAAY,cAAM,dAAuD;;;GAYxI,DAAI,EAAiB,HAEpB;EAAI,EAAW,HAAG;KAEjB,FAAS;KAET,HAAI,EAAiB,HAAU,AAAQ,GAAY,HAElD,AAAU,AAAQ,AAAW;KAI9B,JAAU;KACV;MAEM;KAEN,HAAI,EAAa,HAEhB,AAAY,AAAW;KAIxB,HAAI,DAEH,EAAW,FAAC;KAIb,FAAY;KACZ,FAAa,AAAY;KAEzB,HAAI,CAAU,FAEb;;;GAQH,DAAI,DAEH;;;;;mCCnNI;;CAEN,EAAc;CACd,EAAoB;CACpB,EAAa;CACb,EAAc;CACd,EAAe;;;;;;;uCDoOT;;CAEN,AAAO,AAAQ,AAAc,AAAG,AAAG;CAEnC,EAAY;;;;;;;;qCEvON,AAEN;CAAO,AAAQ,AAAU;;;;;;gCRsSD,IAExB;EAAI,DAAkB,AAAQ,AAK7B,AAAkB,AAAQ,EAAc,GAMxC,LAAqB,AAAQ,AAAc;;+CAbpB,XAExB;EAAI,DAAkB,AAAQ,AAK7B,AAAkB,AAAQ,EAAc,GAMxC,LAAqB,AAAQ,AAAc;;OQ9S5B,IAAuB;EAEvC;EAEA,AAAI,EAAqB,HAAM;GAEJ,FAAU,AAAQ;GAC5C,FAAU,AAAW,AAAkB;;EAIxC,AAAI,EAAqB,HAExB,AAAU,AAAQ,AAAkB;;YAOrB,DAA4B;EAE5C,AAAI,DAAkB,AAAY,GAAiB,HAAQ,AAAQ,AAElE;EAID,AAAI,DAAkB,AAAY,GAAkB,HAAkB,AAAY,AAEjF;EAID,CAAgB;EAChB,CAAc;;iBAKP,NAAiC;EAExC,CAAoB;EAEJ;EACK;EAErB,AAAI,CAAW,FAAG;GAEjB;GACA;GAEA,DAAI,CAAW,FAAK;IAEnB,DAAa;IACb,DAAS,AAAC,AAAW;MAEf;IAEN,DAAa,AAAI,AAAC,FAAC,EAAW,AAAO;IACrC,DAAS;;GAIV,AAAkC;GAClC,AAAoC;GACpC,AAAmC;GAEnC,AAA8B,AAAS,FAAC,AAAC,GAAS,DAAM;GACxD,AAAgC,AAAS,FAAC,AAAC,GAAS,DAAK;GACzD,AAA+B,AAAS,FAAC,EAAQ;MAE3C;GAIN,AAAkC;GAClC,AAAoC;GACpC,AAAmC;GAEnC,AAA8B,AAAC,AAAC,CAAS,DAAM;GAC/C,AAAgC,AAAC,AAAC,CAAS,DAAK;GAChD,AAA+B,AAAC,AAAQ;;EAIN,DAAE,AAAiB,AAAmB,AAAkB,AAAa,AAAe;EAEvH,AAAI,DAAkB,AAAY,AAAe;GAEhD,AAAoC;GACpC,FAAoB;MAIpB,HAAoC,FAAU,AAAQ;EAI7B,DAAU,AAAQ;EACjB,DAAU,AAAW;EAChD,CAAsB;EAEtB;EACA;EAEA;GAAqB,FAAe;GAApC,AAAqB,FAArB;;GAEC,AAAQ,FAAU,AAAO;GACzB,AAAU,kCAAqB,pCAAqB,AAAc,AAAO,AAAU,AAAmB,EAAgB;GACtH,FAAsB;;;iBAOhB,NAAiC;EAExC,AAAI,DAAU,AAAQ,GAAqB,HAE1C,AAAU,AAAQ,AAAkB;EAIV,DAAU,AAAQ;EAC7C,CAAoB,FAAU,AAAQ;EACtC,CAAsB;EAEtB,AAAI,DAAkB,AAAY,AAAgB;GAEjD,AAA2B;GAC3B,FAAsB,oCAAqB,pCAAqB,AAAU,AAAc,EAA2B;;EAIpH,AAAI,DAAkB,AAAY,AAAa;GAE9C,AAAwB;GACxB,FAAsB,oCAAqB,pCAAqB,AAAO,AAAW,EAAwB;;;QAO3F,cAAyC;EAEzD,DAAc;EAEd,AAAI,EAAqB,HAAM;GAEJ,FAAU,AAAQ;GAC5C,FAAU,AAAW,AAAkB;;EAIxC,AAAI,EAAqB,HAExB,AAAU,AAAQ,AAAkB;;;;2BP7I/B,hBAAgB;;;;;;WAOhB,CAEN;EAAO,EAAK,HAAI,KAAI,LAAS,AAAG,EAAK,FAAC,EAAI;;MAKpC,YAEN;EAAO,EAAK,HAAI,KAAI,HAAI,FAAS,AAAG,EAAK,FAAC,EAAI,AAAI,AAAM;;;;8BAWlD,nBAAgB;;;;;;WAOhB,CAAmC;EAEzC,AAAI,EAAK,HAAY;EACrB,AAAI,EAAK,HAAY;EACrB,AAAI,DAAC,GAAK,DAAW,FACb,EAAM,FAAS,AAAG,EAAK,FAAC,EAAI;EAE7B,CAAM,FAAC,EAAI,FAAS,AAAG,EAAM,DAAE;;MAKhC,YAAyD;EAE/D,AAAI,EAAK,HACD;EAER,AAAI,EAAK,HACD,EAAI;EAEZ,AAAI,DAAC,GAAK,DAAI,AAAO,FACb,EAAI,AAAI,FAAS,AAAG,EAAK,FAAC,EAAI,AAAM;EAErC,CAAI,AAAI,FAAC,EAAI,FAAS,AAAG,EAAM,DAAE,CAAM;;;;;;;;gCQpFhC,rBAEd;CAAO;;mCAKO,xBAEd;CAAO;;iCAKO,tBAEd;CAAO;;2BAWD,hBAAgB;;;;;;WAOhB,CAEN;EAAO,CAAI;;MAKL,YAEN;EAAO,CAAI,FAAC,GAAK,DAAK,AAAI;;;;8BAWpB,nBAAgB;;;;;;WAOhB,CAAmC;EAEzC,AAAI,DAAC,GAAK,DAAK,FACP,EAAQ,AAAI;EAEb,CAAS,FAAC,AAAC,EAAI,AAAK,FAAC,EAAI,AAAK;;MAK/B,YAAyD;EAE/D,AAAI,DAAC,GAAK,DAAI,AAAK,FACX,EAAI,AAAI,AAAI,AAAI;EAEjB,DAAC,EAAI,AAAI,FAAC,AAAC,EAAI,AAAK,FAAC,EAAI,AAAK,AAAK;;;;4BAWpC,jBAAgB;;;;;;WAOhB,CAEN;EAAO,DAAC,EAAI,FAAC,EAAI;;MAKX,YAEN;EAAO,DAAC,EAAI,FAAC,GAAK,DAAK,FAAC,EAAI,AAAK;;;;;;;;;;oBC0wB3B,TAZI;CASa,AATb,EASa;CAKvB,EAAa;CACb,EAAO;CACP,EAAQ;;;;;;OAKF,UAEN;EAAI,EAAU,HAAM;GAEnB,AAAa;GACb,AAAO;GACP,AAAQ;MAEF;GAEK;GAEX;;IAEC,FAAI,DAAwB,AAAK,AAEhC,AAAmB;;GAMV;GAEX;;IAEC,FAAI,DAAwB,AAAK,AAEhC,AAAa;;GAMJ;GAEX;;IAEC,FAAI,DAAwB,AAAK,AAEhC,AAAc;;;;eAWX,FAEN;EAAO,DAAgB;;SAKjB,IAEN;EAAO,DAAU;;UAKX,GAEN;EAAO,DAAW;;eAKZ,FAEN;EAAO,DAAmB;;SAKpB,IAEN;EAAO,DAAa;;UAKd,GAEN;EAAO,DAAc;;kBAKf,LAEN;EAAO,DAAmB;;YAKpB,CAEN;EAAO,DAAa;;aAKd,AAEN;EAAO,DAAc;;eAKf,SAEN;CAAqB,AAAI;;SAKnB,SAEN;CAAe,AAAI;;UAKb,SAEN;CAAgB,AAAI;;aAYb,FAEP;EAAO;;aAKA,GAEP;EAAO,CAAY;;;;;;;;iCAl/BN;;;;CAEb,AAA6B,AAAM,AAAU,AAAY,AAAU;;8BAKtD,dAEb;CAAO,AAA0B;;uBAUpB,LAEb;CAAO,AAAmB,AAAI,AAAK;;8BAYtB;;CAIb,CAAI,EAAY,AAAiB,HAAqB,AAAK;EAEzC,DAAqB;EAEtC,AAAI,DAAmB,AAEf;;CAMG,AAAqB,AAAI;CAErC,CAAI,EAAS,HAAM;EAKD,DAAsB;EAGvC,AAAI,EAAY,HAEf,AAAqB,AAAI;EAInB;;CAMD;;yBAWM,ZAEb;CAAO,AAAqB;;wBAWf;;CAIb,CAAI,EAAY,AAAiB,HAAe,AAExC,AAAe;CAIR,AAAoB,AAAI;CAEvC,CAAI,EAAY,HAAM;EAKV,DAAqB;EAGhC,AAAI,EAAY,HAEf,AAAe,AAAI;EAIb;;CAMD;;2BAKO,ZAA2D;CAEzE,CAAI,EAAQ,AAAQ,AAAQ,HAE3B,EAAO;CAMI,AAA0B;;6BAWzB,hBAA4C;CAIvC,AAAc,AAAG,AAAY;CAC9B;CAAW,AAAY,EAAO;CAA9B;CACU,EAAK,FAAY;CAE5C,CAAI,EAAW,HAEd;EAAI,DAAgB,AAAY,AAAK,AAEpC;EAAI,DAAiB,AAAY,AAAK,AAE9B,AAAsB,KAI7B,CAAO,JAAuC,AAAK,FAAnD;MAMD,CAAO,JAAiE,AAAK,FAA7E;MAMD,CAAO,JAAuD,AAAc,FAA5E;CAMM;;yBAWM;;CASF,AAAoB;CAE/B,CAAI,EAAQ,HAEJ,sBAAW,GAAgB;CAI5B;;wBAaM,XAEb;CAAO,AAAoB;;yBAWd;;CAIb,CAAI,EAAY,AAAiB,HAAgB,AAAK;EAEzC,DAAgB;EAE5B,AAAI,DAAc,AAEV;;CA2BE,AAAoB;CAE/B,CAAI,EAAQ,HAEJ,sBAAW,GAAgB;CAO5B;;wBAWM,XAEb;CAAO,AAAoB;;iCAKd,lBAEb;CAAO,AAA6B;;wBAWvB;;CAIb,CAAI,EAAY,HAAe;EAE9B,AAAI,EAAQ,AAAmB,AAAQ,HAEtC;EAAI,DAAqB,AAAY;;EAItC,AAAI,EAAQ,AAAkB,AAAQ,HAErC;EAAI,DAAe,AAAY;;EAIhC,AAAI,EAAQ,AAAmB,AAAQ,AAAmB,AAAQ,HAEjE;EAAI,DAAgB,AAAY;;;CAMhB,AAAc,AAAG,AAAY;CAC9B;CAAW,AAAY,EAAO;CAA9B;CACH,AAAY;CAE1B,CAAI,EAAW,HAEP,AAAiB,AAAY,AAAK;CAMnC;;kCAKO,bAAwD;CAiB/D,MAAC,HAAc,AAAyB,AAAsB;CAK9D;;6BAKO,bAWd;CAAO;;qBASM,NAEb;CAAO,AAAiB,AAAK;;+BAahB;;CAIb,CAAI,EAAY,AAAiB,HAAqB,AAAK;EAEzC,DAAqB;EAEtC,AAAI,DAAmB,AAAa;GAEnC,FAAS;GACT;;;CAMF,AAAsB,AAAI,eAEzB;EAAI,EAAS,HAAM;GAKD,FAAsB;GAGvC,DAAI,EAAY,HAEf,AAAqB,AAAI;GAI1B,FAAS;;CAIR;;0BAeU,LAA+D;CAI1D,AAAc,AAAG,AAAY;CAC9B;CAAW,AAAY,EAAO;CAA9B;CACH,AAAY;CAE1B,CAAI,EAAW,HAEd;EAAI,DAAgB,AAAY,AAAK,AAAmB;GAEvD,FAAmB,AAAY;GAC/B;MAIA,CAAO,JAA2E,AAAK,FAAvF;MAMD,CAAO,JAAuD,AAAc,FAA5E;CAMD,AAAS;;yBAYI;;CAIb,CAAI,EAAY,AAAiB,HAAe,AAAK;EAEpD,DAAS,AAAe;EACxB;;CAIiB,AAAc,AAAG,AAAY;CAC9B;CAAW,AAAY,EAAO;CAA9B;CACH,AAAY;CAE1B,CAAI,EAAW,HAEd;EAAI,DAAgB,AAAY,AAAK,AAAiB;GAErD,FAAkB,AAAY,kBAAkC;IAKpD,HAAqB;IAGhC,FAAI,EAAY,HAEf,AAAe,AAAI;IAIpB,HAAS;;GAIV;MAIA,CAAO,JAA4D,AAAK,FAAxE;MAMD,CAAO,JAAuD,AAAc,FAA5E;CAMD,AAAS;;4BASI,LAEb;CAAwB,AAAM;;0BAajB;;CAiBb,AAAS,AAAU,AAAI;;8BAcV,TAAmE;CAI9D,AAAc,AAAG,AAAY;CAC9B;CAAW,AAAY,EAAO;CAA9B;CACU,EAAK,FAAY;CAE5C,CAAI,EAAW,HAEd;EAAI,DAAgB,AAAY,AAAK,AAAuB;GAE3D,FAAuB,AAAY;GACnC;MAIA,CAAO,JAAiE,AAAK,FAA7E;MAMD,CAAO,JAAuD,AAAc,FAA5E;CAMD,AAAS;;0BAcI;;CAiBb,AAAS,AAAU,AAAI;;yBAeV,JAEb;CAAqB,AAAI;;gCASZ,TAEb;CAA4B,AAAM;;oCAKrB;;CAEb,AAAgC,AAAM,AAAU;;6BAKlC,dAEd;CAAO,AAAmB;;4BAKZ,bAAkD;CAEpD,AAAkB;CAYvB;;8BAKM,fAEb;CAA0B;;gCAYZ,TAEd;EAAI,EAAQ,HAAU;EAErB;EACA,DAAe,uBAAW;;;sBAarB,XAEN;;;;;;;cAKM,DAEN;EAAO;;UAKD,GAEN;EAAO,DAAU;;UAKX,GAEN;EAAO;;eAKD,MAEN;CAAS,AAAc;;WAKjB,UAEN;CAAS,AAAU;;WAKb,UAEN;CAAS,AAAU;;;;;;;;2BCpvBb,hBAAgB;CAEtB;CAEA,EAAiB;CACjB,EAAkB;CAClB,EAAgB;CAChB,EAAU;;;;;;aAmBJ,SAA+D;;aAwB/D,SAA+D;;WAY/D,AAA2B;;MAW3B,KAAsB;;WAYtB,AAA2B;;MAW3B,KAAsB;;kBAcN,PAAmC;EAAO;;uBAC1C,ZAA2C;EAAO;;kBAClD,PAAsC;EAAO;;mBAC7C,RAAkD;EAAO;;kBACzD,PAAmC;EAAO;;iBAC1C,NAAkC;EAAO;;;;;4BCiJxD,jBAAgB;CAEvB;CAEA,EAAoB;CACpB,EAAc;CACd,EAAa;CACb,EAAoB;CACpB,EAAa;;;;mCAKA,lBAA2C;CAEvC;CACjB,EAAiC;CAEjC,CAAI,EAAU,HAEb,EAAoB,GAIpB,HAAiB;CAIX;;;;;;;kCChZD,XAEN;EAAI,EAAgB,HAEnB,EAAoB,GAIpB,HAAoB;;;;;eAOf,AAEN;EAAO,DAAmB;;eAKpB,AAEN;EAAO,KAAC,NAAmB,GAAS;;;;oCChCtC;;;;;;;;;;qBC6HQ;;;;;;;CAEN,EAAS;CACT,EAAS;CACT,EAAS;CACT,EAAS;CACT,EAAU;CACV,EAAU;CAEV,EAAU,cAAiB,hBAAC,AAAG,AAAG,AAAG,AAAG,AAAI,AAAI,AAAG,AAAG;;;;;OAWzC,IAEb;EAAO,qBAAY,tBAAG,AAAG,AAAG,AAAG,AAAI;;QAuB7B,IAAgC;EAE7B,CAAI,AAAM,AAAI;EACvB,CAAI,AAAI,AAAM,AAAI;EAClB,CAAI;EAEK,CAAI,AAAM,AAAI;EACvB,CAAI,AAAI,AAAM,AAAI;EAClB,CAAI;EAEM,CAAK,AAAM,AAAK,AAAM;EAChC,CAAK,AAAK,AAAM,AAAK,AAAM;EAC3B,CAAK;;gBAOC,UAEN;EAAI,CAAS,FAEZ,KAAM,HAAY,AAAS,GAErB,JAAI,EAAU,HAAG;GAEvB,AAAI;GACJ,AAAI;MAEC,JAAI,EAAU,HAAG;GAEtB,AAAI;GACJ,AAAI;MAEC;GAEL,AAAK;GACL,AAAK;;;cAOA,YAEN;EAAI,CAAS,FAEZ,KAAM,HAAY,AAAS,GAErB,JAAI,EAAU,HAAG;GAEvB,AAAa;GACb,AAAa;GACb,AAAa;MAEP,JAAI,EAAU,HAAG;GAEvB,AAAa;GACb,AAAa;GACb,AAAa;MAEP;GAEN,AAAa;GACb,AAAa;GACb,AAAa;;;UAOR,aAA6C;EAEnD,CAAI;EACJ,CAAI;EACJ,CAAI;EACJ,CAAI;EACJ,CAAK;EACL,CAAK;;aAKC,UAEN;EAAI,CAAM,FAET,KAAM,HAAS,AAAM,GAEf,JAAI,EAAO,HAAG;GAEpB,AAAI;GACJ,AAAI;MAEE,JAAI,EAAO,HAAG;GAEpB,AAAI;GACJ,AAAI;MAEE;GAEN,AAAK;GACL,AAAK;;;WAOA,YAEN;EAAI,CAAM,FAET,KAAM,HAAS,AAAM,GAEf,JAAI,EAAO,HAAG;GAEpB,AAAa;GACb,AAAa;GACb,AAAa;MAEP,JAAI,EAAO,HAAG;GAEpB,AAAa;GACb,AAAa;GACb,AAAa;MAIb;GAAgB;GAAhB,AAAmB;GAAnB,AAAsB;;;WAyBjB;;;;EAON,AAAI,EAAY,HAAG;GAER,FAAU;GACV,FAAU;GAEpB,AAAI,AAAM;GACV,AAAI,AAAM;GACV,AAAI,FAAC,EAAM;GACX,AAAI,AAAM;MAEJ;GAEN,AAAI;GACJ,AAAI;GACJ,AAAI;GACJ,AAAI;;EAIL,CAAU;EACV,CAAU;;mBAsCJ;;;;EAEN,CAAI,AAAQ;EACZ,CAAI,AAAS;EAGb,AAAI,EAAY,HAAG;GAER,FAAU;GACV,FAAU;GAEpB,AAAI,AAAM;GACV,AAAI,FAAC,EAAM;GACX,CAAK;GACL,CAAK;MAEC;GAEN,AAAI;GACJ,AAAI;;EAIL,CAAU,AAAK,AAAQ;EACvB,CAAU,AAAK,AAAS;;qBAiBlB,LAEN;EAAO,oBAAW,nBAAU,AAAI,AAAU,FAAG,EAAU,AAAI,AAAU;;QAK/D,SAEN;EAAO,KAAC,HAAU,AAAQ,AAAM,AAAa,AAAM,AAAa,AAAK,AAAY,AAAK,AAAY,AAAK,AAAY,AAAK;;UAkBlH,CAA0B;EAEhC,CAAI;EACJ,CAAI;EACJ,CAAI;EACJ,CAAI;EACJ,CAAK;EACL,CAAK;;QAWC,GAA0B;EAErB,CAAI,AAAI,AAAI;EAEvB,AAAI,EAAQ,HAAG;GAEd,AAAI,AAAI,AAAI,AAAI;GAChB,AAAK,FAAC;GACN,AAAK,FAAC;MAEA;GAEN,AAAO,AAAM;GACJ,AAAI;GACb,AAAI,AAAI;GACR,AAAI;GACJ,CAAK,HAAC;GACN,CAAK,HAAC;GAEI,FAAE,EAAI,AAAK,AAAI;GACzB,AAAK,FAAE,EAAI,AAAK,AAAI;GACpB,AAAK;;EAMC;;MAKM,MAAyB;EAEzB;EAEb,CAAW,AAAI,AAAM,AAAI;EACzB,CAAW,AAAI,AAAM,AAAI;EACzB,CAAW,AAAI,AAAM,AAAI;EACzB,CAAW,AAAI,AAAM,AAAI;EAEzB,CAAY,AAAK,AAAM,AAAK,AAAM;EAClC,CAAY,AAAK,AAAM,AAAK,AAAM;EAE3B;;QAeD,QAAmC;EAgB/B,DAAU;EACV,DAAU;EAEX,CAAI,AAAM,AAAI;EACvB,CAAI,AAAI,AAAM,AAAI;EAClB,CAAI;EAEK,CAAI,AAAM,AAAI;EACvB,CAAI,AAAI,AAAM,AAAI;EAClB,CAAI;EAEM,CAAK,AAAM,AAAK;EAC1B,CAAK,AAAK,AAAM,AAAK;EACrB,CAAK;;OAoBC,SAAoC;EAW1C,EAAK;EACL,EAAK;EACL,EAAK;EACL,EAAK;EACL,EAAM;EACN,EAAM;;aAOQ;;EAEd,CAAI,FAAU,EAAS;EACvB,CAAI,FAAU,EAAS;EACvB,CAAI,FAAC;EACL,CAAI;;OAOE,iBAA6E;EAEnF,CAAS;EACT,CAAS;EACT,CAAS;EACT,CAAS;EACT,CAAU;EACV,CAAU;;YAKG;;EAUb,AAAI,DAEI,EAAc,AAAI,AAAO,AAAI,AAAO,AAAW,AAAI,AAAO,AAAI,AAAO,AAAuB,FAAS,EAAT,AAAe,AAAO,FAAS,EAAT,AAAe,GAIjI,HAAc,AAAI,AAAO,AAAI,AAAO,AAAW,AAAI,AAAO,AAAI,AAAO,AAAuB,AAAK,AAAO,AAAK;;aAOxG,FAEb;EAAO,CAAY,AAAI,AAAO,AAAI,AAAO,AAAI,AAAO,AAAI,AAAO,AAAK,AAAS,AAAK;;UAYrE,CAEb;EAAO,CAAY,AAAI,AAAO,AAAI,AAAO,AAAI,AAAO,AAAI,AAAO,AAAK,AAAO,AAAK;;gBAa1E,FAEN;EAAO,oBAAW,AAAc,nBAAd,AAAc,AAAd,FAAoB,AAAc,EAAd,AAAc,AAAd;;WAahC,KAAwC;EAEtC;EACR,CAAO;EACP,CAAO;EACP,DAAa;;SAKS;;EAEtB,AAAI,DAAW;GAEd,FAAQ,EAAK;GACb,FAAQ,EAAK;GACb,FAAQ,EAAK;GACb,FAAQ,EAAK;GACb,FAAQ,EAAK;GACb,FAAQ,EAAK;GACb,FAAQ,EAAK;GACb,FAAQ,EAAK;GACb,FAAQ,EAAK;MAEP;GAEN,FAAQ,EAAK;GACb,FAAQ,EAAK;GACb,FAAQ,EAAK;GACb,FAAQ,EAAK;GACb,FAAQ,EAAK;GACb,FAAQ,EAAK;GACb,FAAQ,EAAK;GACb,FAAQ,EAAK;GACb,FAAQ,EAAK;;EAIP;;eAKsB,JAA+B;EAE5D,CAAI,FAAY,EAAI,AAAQ;EAC5B,CAAI,FAAY,EAAI,AAAQ;EAC5B,CAAI,FAAY,EAAI,AAAQ;EAC5B,CAAI,FAAY,EAAI,AAAQ;EAC5B,CAAK,FAAY,EAAK,AAAM;EAC5B,CAAK,FAAY,EAAK,AAAM;;aAKN,FAEtB;EAAO,oBAAa,rBAAG,AAAG,AAAG,AAAG,AAAI;;cAKR,AAE5B;EAAO,CAAQ,AAAI,AAAQ,AAAI;;cAKH,AAE5B;EAAO,CAAQ,AAAI,AAAQ,AAAI;;wBAKH,VAAiD;EAE7E,CAAK,AAAc,AAAd,AAAc,AAAd;EACL,CAAK,AAAc,AAAd,AAAc,AAAd;;;;6BCjoBC;;;;;;;;;CAEN,EAAqB;CACrB,EAAuB;CACvB,EAAsB;CACtB,EAAuB;CACvB,EAAiB;CACjB,EAAmB;CACnB,EAAkB;CAClB,EAAmB;;;;;QAgBb,SAA6C;EAEnD,EAAiB;EACjB,EAAmB;EACnB,EAAkB;EAClB,EAAmB;;WAKG,EAA4C;EAClE,EAAiB;EACjB,EAAmB;EACnB,EAAkB;EAClB,EAAmB;EAEnB,EAAa;EACb,EAAe;EACf,EAAc;EACd,EAAe;;UAKO;;EACf,KAAE,HAAM,AACd,AAAiB,AACjB,AAAmB,AACnB,AAAkB,AAClB,HAAC,GAAuB,AAAmB,AAE3C,AAAa,AACb,AAAe,AACf,AAAc,AACd,AAAe;;SAKM,EACtB;EAAO,6BAAmB,9BAAe,AAAiB,AAAgB,AAAiB,AAAW,AAAa,AAAY;;WASzG,AAEtB;EAAO,KAAC,AAAC,NAAS,EAAT,CAAuB,DAAM,AAAC,FAAS,EAAT,CAAyB,DAAK,FAAS,EAAT;;WAK/C,KAAmC;EAEzD,CAAY,AAAC,CAAS,DAAM;EAC5B,CAAc,AAAC,CAAS,DAAK;EAC7B,CAAa,AAAQ;EAErB,CAAgB;EAChB,CAAkB;EAClB,CAAiB;EAEV;;qBAKe,VAEtB;EAAY,eAAkB,hBAAE,AAAe,AAAG,AAAG,AAAG,EAAY,FAAK,AAAG,AAAiB,AAAG,AAAG,EAAc,FAAK,AAAG,AAAG,AAAgB,AAAG,EAAa,FAAK,AAAG,AAAG,AAAG,AAAiB,EAAc;;;;;;;;;mBClN5L,LAKb;CAAO,AAAQ,AAAG,AAAK,KAAI;;oBAMd,LAKb;CAAO;;2BAQM,gCAEb;CAAc,AAAa,AAAO,AAAQ,AAAY;;sBAwBzC,XAKb;CAAO;;oBAMM,KAA2D;CAExE,CAAI,EAAU,HAEb,EAAS;CAKV,AAAqB,AAAa;;4BAQrB,dAEb;EAAI,DAAC,AAAuB,AAAM;EAEjC,DAAoB,AAAK;EAEzB,KAAO,JAAc,AAAM,FAA3B;;;qCAOY,1BAGb;CAAmC,AAAa,aAE/C;;CAEE;;mBAeU,LAEb;CAAgB,AAAhB;;;;;;;wCClI6B,dAAuE;CAE9E;CACtB,EAAiB;CACH;CACd,EAAiB;CAEV;;wBAK6B,TAAgC;CAE1D,CAAI,CAAO,CAAK,DAAO,AAAI,FAAK,KAAK;CAExC,AAAa;;0BAKgB,XAAoC;CAE9D,CAAI,CAAO,CAAK,DAAO,AAAI,FAAK,KAAM;CAEzC,AAAyB,AAAM,UAErC;EAAO;;;yBAO4B,VAAmC;CAE7D,CAAI,CAAO,CAAK,DAAO,AAAI,FAAK,KAAM;CAEzC,AAAyB,AAAM,UAErC;EAAO;;;uBAO4B,RAA+B;CAEzD,CAAI,CAAO,CAAK,DAAO,AAAI,FAAK,KAAM;CAEzC,AAAwB,AAAM,UAEpC;EAAO;;;wBAO4B,TAAgC;CAE1D,CAAI,CAAO,CAAK,DAAO,AAAI,FAAK,KAAM;CAEzC,AAAyB,AAAM,UAErC;EAAO;;;uBAOK,LAAyC;CAEtD,EAAQ;CACF,AAAC,GAAW,HAAlB,EAA0B,GAA1B,HAA2C;;wBAKP,PAAwC;CAElE,CAAI,CAAO,CAAK,DAAO,AAAI,FAAK,KAAM;CAEhD,AAAa,AAAM;;0BAKiB,TAA4C;CAEtE,CAAI,CAAO,CAAK,DAAO,AAAI,FAAK,KAAM;CAEhD,AAAyB,AAAM,UAE9B;CAAmB;;;yBAOgB,RAA2C;CAErE,CAAI,CAAO,CAAK,DAAO,AAAI,FAAK,KAAM;CAEhD,AAAyB,AAAM,UAE9B;CAAkB;;;uBAOiB,NAAuC;CAEjE,CAAI,CAAO,CAAK,DAAO,AAAI,FAAK,KAAM;CAEhD,AAAyB,AAAM,UAE9B;CAA0B;;;uBAOS,NAAuC;CAEjE,CAAI,CAAO,CAAK,DAAO,AAAI,FAAK,KAAM;CAEhD,AAAyB,AAAM,UAE9B;CAAgB;;;;;;;;mCCiEJ;;;CAAyD;CAEtE,EAAO;CAIK;CAAuB;CAAnC,EAAY;CAEZ,EAAc;CACd,EAAa;CATyD;;qCAczD,nBAA6C;CAEzC;CACG,AAAC,GAAK,HAA1B,EAAkC,AAAc,GAAhD,HAA2D;CAC3D,EAAmB;CAKD;CAAuB;CAAzC,EAAkB;CAClB,AAAqB,AAAW,AAAG,AAAiB,AAAG;CACvD,CAAI,EAAK,HACR,AAAqB,AAAQ,AAAG,AAAiB,AAAa;CAInD;;mCAKC,nBAA2B;CAEvB;CACjB,EAAoB;CACpB,EAAmB;CAID;CAAuB;CAAzC,EAAkB;CAClB,AAAqB,AAAW,AAAG,AAAiB,AAAG;CAE3C;;uCAKC,vBAEb;CAAO,6BAA2B;;mCAKrB,fAAkC;CAElC;CAEH;CAAI;CAAd,AAA2B;EAA3B;EAEC,AAAI,CAAI,FAAG,GAAU;EACrB,EAAU,HAAU;;CAId;;kCAKM,lBAAwB;CAEzB;CAEZ,CAAI,DAAC,AAEJ;EAAI,CAAc,FAAG;GAEpB;GACA,AAAQ,FAAU;;;CAMb;;mCAKM,jBAAwB;CAErC,CAAI,DAAC,AAAY;EAEhB;EAEA,AAAI,CAAmB,FAAa;GAKxB;;CAAuB,EAAmB;GAA1C;GACX,FAAqB,AAAW,AAAG,AAAM,AAAG;GAC5C,AAAY;;EAKb,DAAU,EAAc,AAAK;;CAIvB;;sCAKM,tBAAyB;CAM3B;;CAAuB;CAAvB;CACD;CAAI;CAAd,AAA2B;EAA3B;EACC,DAAK,EAAc,AAAI,AAAK,FAAU;;CAEvC,EAAY;;oCAMC,pBAA0B;CAEvC,CAAI,DAAC,GAAc,DAAc,FAAG;EAEnC;EAKY,DAAU;EACtB,DAAqB,AAAW,AAAG,AAAW,AAAG;EAC1C;;CAKD;;sCAKM,pBAEb;EAAI,DAAC,AAAY;EAEhB;EAEA,AAAI,CAAmB,FAAa;GAKxB;;CAAuB,EAAc;GAArC;GACX,FAAqB,AAAW,AAAG,AAAM,AAAG;GAC5C,AAAY;MAMZ,LAAqB,AAAW,AAAG,AAAW,AAAG,EAAc;EAQhE,DAAU,EAAK;;;oCAQH;;;CAEb,CAAI,CAAM,FAAG,GAAO;CACpB,CAAI,EAAO,HAAG,GAAO;CACrB,CAAI,CAAM,FAAa,EAAM;CAChB,EAAM;CACnB,CAAI,EAAU,AAAK,DAAS,FAAa,EAAS;CAEjC;CACjB,EAAoB,AAAM;CAC1B,EAAmB;CAID;CAAuB;CAAzC,EAAkB;CAClB,AAAqB,AAAW,AAAK,AAAiB,AAAG;CAE7C;;mCAKC,jBAAqC;CAKtC;CACZ,AAAY;CACA;;CAA8B;CAA9B;;GAA8B;CAA9B;;GAA8B,FAA9B;;CAAZ,EAAY;;qCAMC,bAA6C;CAE1D,CAAI,CAAM,FAAG,GAAO;CACpB,CAAI,CAAM,AAAM,FAAa,EAAM,AAAc;CACjD,CAAI,CAAM,FAAG,EAAM;CAEF;CACjB,EAAoB;CACpB,EAAmB;CAKD;CAAuB;CAAzC,EAAkB;CAClB,AAAqB,AAAW,AAAK,AAAiB,AAAG;CAGzD,CAAI,CAAM,FAAG;EAEZ,EAAe;EAEf,DAAqB,AAAW,EAAM,FAAK,AAAW,AAAK,EAAc;;CAK9D;;uCAMC,vBAKb;CAAO;;sCAMM;;CAED;CAEF;CAAO;CAAjB,AAA8B;EAA9B;EAEC,AAAI,DAAU,GAAM,HAAG;GAEtB,AAAQ;GACR;;;CAMK;;0CAKM;;CAED;CACJ,EAAc;CAEtB,IAAO,DAAK,HAAM;EAEjB,AAAI,DAAU,GAAM,HAAG;GAEtB,AAAQ;GACR;;EAID;;CAIM;;sCAKa,1BAAiD;CAEpD;CACjB,EAAoB;CACpB,EAAmB;CAID;;CAA8B;CAA9B;;GAA8B;CAA9B;;GAA8B,FAA9B;;CAAlB,EAAkB;CAEN;;sCAKQ,1BAEpB;CAAY;;kCAK8B,ZAE1C;CAAO,AAAU;;kCAKyB,RAAkC;CAE5E,CAAI,DAAC,AAAY;EAEhB,AAAI,EAAO,HACV,EAAc,AAAM;EAGrB,AAAI,CAAmB,FAAa;GAExB;;CAAuB,EAAmB;GAA1C;GACX,FAAqB,AAAK,AAAW,AAAG,AAAM,AAAG;GACjD,AAAiB;;;CAMZ,AAAU,EAAO;;wCAKkB,xBAAiD;CAE1E;CACjB,EAAoB;CACpB,EAAmB;CAID;;CAA8B;CAA9B;;GAA8B;CAA9B;;GAA8B,FAA9B;;CAAlB,EAAkB;CAEN;;sCAKqB,tBAAgC;CAKrD;CACF;CAAI;CAAd,AAAgC;EAAhC;EACC,DAAY,AAAU;;CAEhB;;6CAMmC,7BAA+D;CAExF;CACjB,EAAoB;CACpB,EAAmB;CAQnB,EAAkB;CAEN;;2CAKqB,3BAKjC;CAAO;;6CAMmC,7BAE1C;CAAY;;2CAKqB,3BAEjC;CAAY;;yCAYiB,zBAE7B;CAAO;;yCAKsB,nBAAoC;CAEjE,CAAI,DAAC,AAAO;EAEX,AAAI,CAAQ,FAAa;GAKb;;CAAuB;GAAvB;GACX,FAAqB,AAAW,AAAG,AAAM,AAAG,AAAS,AAAU,AAAkB;GACjF,AAAY;;EAKb,CAAc;;CAIR;;wCAKsB,xBAE7B;CAAO;;wCAKsB,lBAE7B;CAAO,EAAa;;oBAoBd,TAEN;GAAS;;;;;;;4BAeH,bAAkC;CAExC,EAAQ;CACR,EAAa;;;;;SAKP,EAEN;EAAO,CAAQ;;MAKT,KAEN;EAAuB;EAAhB;;;;;;gDCpuBD,xBAEN;GAAqB;;;;;UAKf,KAA4C;;UAO5C,eAA0D;;SAO1D,EAAyB;;;;6CCpBxB,tBAAqC;CAE5C,EAAa;CACb,EAAc;;;;;QAKR,QAAmC;;aAOnC,GAAwC;;aAOxC,cAAgE;;QAOhE,eAA6C;;;;0CCD7C,/BAAgB;;;;;;;;;;qDCdT,jCAAsC;CAEtC,AAAqB;CAElC,AAAQ,AAAW;CAEnB,CAAI,EAAwB,HAE3B,EAAuB;CAIT;CACf;CAEA,CAAI,EAAoB,HAAsB;EAE7C,AAAI,DAEH,AAAoB,AAAG;EAIxB,AAAI,DAEH,AAAoB;EAIrB,DAAmB,EAAW,FAAK,EAAS,FAAK,EAAe,FAAG,EAAgB;;CAIpF,CAAI,EAAwB,HAE3B;WAAkB;;;GAEjB,FAAoB,AAAW,AAA0B,AAAY,AAAM,AAAoB,AAAgC;;;;yDAS5G,VAAgH;CAE1H,AAAgC;CAE3C,CAAI,EAAQ,AAAQ,AAAe,HAAM;EAExC,AAAI,DAAC,AAAe,GAAf,HAEJ;GAAkB;GAAlB,FAAY,AAAZ;;EAIU,CAAS,AAAT;EACM,DAAY;EAE7B,AAAI,DAAC,AAAmB,AAEvB;GAAsB,FAAmB,AAAmB;GAA5D,FAAgB,AAAhB;;EAIY,DAAgB;EAE7B,AAAI,DAAC,AAAmB,GAAnB,HAEJ;GAAsB;GAAtB,FAAgB,AAAhB;;EAIoB,DAAgB;EAErC,AAAI,DAAC,AAAuB,AAAO;GAElC;;;GAEA,QAAc;;;IAEb,DAAQ;IACR,DAAS;IACT,DAAO;IACP;;GAIgB,2BAAgB,7BAAO;GAE9B;GAAV,AAAc,FAAO;IAArB;IAEW;IAAV,DAAc,FAAQ;KAAtB;KAEa,JAAK,AAAC,EAAI,AAAS;KACnB,DAAS,DAAK,AAAa,AAAY;KACnD,JAAuB,AAAG,AAAG;;;GAM/B,FAAoB,AAAM;;EAIV,DAAoB;EAErC,AAAI,DAAC,AAAmB,GAAnB,HAAgC;GAEpB,0BAAe;GAClB;GAEb;;GAEA,QAAY;;;IAEX,DAAQ,FAAY;IACpB,DAAQ,FAAuB,yBAAe,zBAAe,AAAe,AAAa;IAEzF,HAAY,AAAK;;GAGlB,FAAa,AAAY;GACzB,FAAgB,AAAY;;EAIb,DAAgB;EACnB,DAAa;EAElB,DAAC,AAAC,GAAgB,DAAM,AAAQ;EAChC,DAAC,AAAC,GAAgB,DAAK,AAAQ;EAC/B,DAAC,AAAC,EAAgB,AAAQ;EAExB,DAAyB;EAEnC;EACc;EACA,CAAI;EAKlB;EAEA,DAA4B,AAAW;EAEvC,AAAI,DAAC,AAA6B,GAA7B,HAAyC;GAE7C,AAAW;GACX,FAA0B,AAAW;GACrC,FAAgC,AAAW;;EAI5C,CAAW,FAA0B;EAEvB;EACF,DAAY;EAExB,AAAI,EAA0B,HAE7B,EAAyB;EAIE;EACf;EAEI;EACN;EAEX;GAAa,FAAO;GAApB,AAAa,FAAb;;GAEC,AAAM,FAA0B;GAGhC,AAAI;GAES;GAAR,GAAQ;KAEP,AAAM;IAFZ,AAEqB;;KACf;IAHN,AAGc,HAAC,AAAC,EAAoB,AAAK,AAAa;;KAChD;IAJN,AAIc,AAAC,AAAC,DAAoB,AAAK;;;GAIzC,FAAkB;GAClB,FAAkB;GAClB,FAAkB;GAClB,FAAkB;GAElB;GAAiB;GAAjB,AAAiB,FAAsB;IAAvC,DAAiB,FAAjB;;IAEC,DAAQ,FAAY;IAEpB,FAAI,EAAS,HAAM;KAElB,HAAI,EAAU,HAAiB;MAE9B,LAAe,EAAI,AAAoB;MACvC,LAAe,EAAI,AAAoB;MACvC,LAAe,AAAY;MAC3B,LAAe;MACf,LAAe;MACf,LAAe;MAET;MAEN,LAAS,EAAU,AAAI,AAAoB;MAC3C,LAAS,EAAS,AAAK,AAAI,AAAoB;MAC/C,LAAS,EAAS,AAAK,FAAY;MACnC,LAAS,EAAS,AAAK;MACvB,LAAS,EAAS,AAAK;MACvB,LAAS,EAAS,AAAK;;KAIxB,DAAU;;IAIX,AAAK;IACL,AAAK;;GAIN,CAAK;GACL;;EAID,DAAgC,AAAW;;;qDAO/B,1BAA6D;CAE1E,CAAI,DAEH;EAAI,DAAC,AAAC,GAAoB,AAAQ,AAAoB,AAAO,HAAC,GAAwB,HAAC,GAAqB,AAAC,HAAC,GAAmB,AAAK,AAAoB,AAAM,AAAsB,HAAyB;GAE9M,AAAyB;GACzB,AAAuB;GACvB,AAA6B;GAC7B,AAAoB;MAEd;GAEN,AAAyB;GAEzB,DAAI,EAAwB,HAAM;IAEjC,DAAuB;IACvB,DAA6B;;GAI9B,DAAI,EAAoB,AAAQ,AAAoB,HAAI;IAE5C;IAEX,FAAI,DAA6B;KAEnB;KACF;KAED;KAAV,FAAc,FAAQ;MAAtB;MAEC,FAAQ;;KAIT,FAAO;;IAIW,HAA4B;IAE/C,FAAI,EAAsB,HAEzB,AAAY,AAAW,AAAM,AAAwB,AAAG,KAElD;KAEa;KACnB;KACc;KAEJ;KAAI;KAAd,JAAyC;MAAzC;MAEC,HAAQ,FAAmB;MAE3B,LAAY,AAAW,AAAgB,AAAa,AAAY,AAAc,AAAS;MACvF,FAAW,HAAa;;;;GAQ3B,QAAY;;;IAEX,FAAI,DAAC,AAA+B,GAA/B,HAAqC;KAEzC,JAA6B;KAC7B,JAAmC;;;GAMrC,AAAoB;GACb;;;CAMF;;;;;;qDChVa,tBAAkE;CAEtF,CAAI,DAAC,GAAuB,AAAuB,HAAG;CAG1C;CAEZ,CAAI,EAAqB,AAAQ,HAA6B;EAE7D,AAAI,EAAiB,HAEpB,AAAoC;EAOrB;EACC;EAEjB,AAAI,DAA2B;GAEjB;GACb,AAAY,FAAY;GACxB,AAAY,FAAY;GACxB,FAAe;MAKf,LAAe;EAaF;EAEd,AAAI,EAAW,HAAM;GAEpB,FAAwB,AAAS,AAAG;GAEpC,DAAI,EAAc,HAAM;IAEvB;IACA,HAAwB,AAAS,AAAG;IACpC;IACA,HAAiB,AAAc,AAAc,AAAkB;IAC/D;IACA;;GAID,DAAI,EAAuB,HAE1B,KAIA,LAAsB;;EAcxB,AAAI,EAAiB,HAEpB;;;;;;;;;;;;;;;;;;;;wDCpDY,7CAAyB;CAEvC;CACA,AAAc,AAAc;CAC5B,EAAe;;0DAID,/CAA2B;CAEzC;CACA,AAAc,AAAgB;CAC9B;CACA,EAAiB;;8DAIH,7BAA8F;CAE5G,CAAI,EAAM,HAAI,EAAK;CAEnB,GAAM;CACN,GAAM;CAEN,CAAI,CAAK,AAAQ,FAAG,EAAK,AAAQ;CACjC,CAAI,CAAK,AAAS,FAAG,EAAK,AAAS;CAE1B,EAAI;CACR,EAAI;CACH,AAAC,EAAK,AAAC,AAAK;CACZ,AAAC,EAAK,AAAC,AAAK;CACZ,AAAC,EAAK,AAAC,AAAK;CACZ,AAAC,EAAK,AAAC,AAAK;CAElB,AAAc,AAAI,EAAK;CACvB,AAAkB,AAAI,EAAK,FAAK,EAAK,FAAK,EAAK;CAC/C,AAAkB,EAAK,FAAK,AAAI,EAAK,FAAI;CACzC,AAAc,EAAI,FAAI;CACtB,AAAkB,EAAI,FAAK,AAAI,EAAI,FAAK,EAAK;CAC7C,AAAkB,AAAG,EAAK,FAAK,AAAG,EAAK;CACvC,AAAc,AAAG,EAAI;CACrB,AAAkB,AAAG,EAAI,FAAK,EAAI,FAAK,EAAI;CAC3C,AAAkB,EAAI,FAAK,AAAG,EAAI,FAAI;CACtC,AAAc,EAAK,FAAI;CACvB,AAAkB,EAAK,FAAK,AAAG,EAAK,FAAK,EAAI;CAC7C,AAAkB,AAAI,EAAI,FAAK,AAAI,EAAI;CACvC,AAAc,AAAI,EAAK;;sDAKF,1BAErB;CAAO,MAAC,NAAC,EAAK,AAAM,FAAC,EAAK,AAAM,FAAC,EAAK,AAAM,FAAC,EAAK,AAAO;;6DAK3C;;CAEE;CACN;CACA;CAEA;CAAI,EAAM;CAApB,AAAuB;EAAvB;EAEC,AAAI,EAAS,DAAI,CAAK,HAErB;EAID,CAAM,FAAI,EAAI;EAEd,AAAI,CAAM,FAET,EAAM;;CAMK;;;;;;;;;CAEH;CAAI,EAAM;CAApB,AAAuB;EAAvB;EAEC,AAAI,EAAS,DAAI,CAAK,HAErB;EAID;;;;;;;;;;GAAa,AAAC,FAAI,EAAI,AAAK;;EAA3B;;CAIM,KAAO,AAAU;;sEAIV,sBAAmQ;CAEpP;CAE7B,KAAQ;KAEF;EAEJ,AAAI,EAAU,HAAM,EAAS;EAEjB,DAAuB,qBAAW,rBAAQ;EAE9C,CAAY;EACZ,CAAY;EAEpB,CAAU,FAA4B,AAAG,AAAG,AAAG,AAAG,AAAG,AAAC,EAAU,AAAa;;KAEzE;EAEJ,AAAI,EAAU,HAAM,EAAS;EAEhB,DAAuB,qBAAW,rBAAQ;EAC1C,DAAuB,qBAAW,rBAAO;EAEtD,EAAY;EACZ,EAAY;EACZ,EAAY;EACZ,EAAY;EAEZ,CAAU,FAA2B,AAAU,AAAU,AAAU;;;CAI3D;CAAI;CAAd,AAA6B;EAA7B;EAEW,DAAO;EACL,DAAO;EACX,DAAC,AAAC,EAAM,EAAc,FAAM;EAC5B,DAAC,AAAC,EAAM,EAAc,FAAK;EAC3B,DAAC,EAAM,AAAY;EAEf,DAAO,EAAK;EACxB,AAAI,CAAQ,FAAG,EAAQ;EACvB,AAAI,CAAQ,FAAG,EAAQ;EAEvB,DAA0B,AAAO,AAAG,AAAG,AAAG;;CAIjC;CAEV,EAAS;CACT,EAAS;CAET,AAAiB;CAEV;;mEAKO,1BAAmG;CAEnG,AAA+B;CAE7C,CAAI,DAEH,AAAiB;CAIlB,EAAoB;CAEb;;0DAGO,/CAA4B;CAE1C,CAAK,EAAiB,HACrB;CAED;CACA,AAAe;CACf;CACA;;6DAGc;;CAEd,EAAS;CAEK;CACA;CAEE;CACA;CAED;CACF;CACA;CAEb,AAAiB;CACjB,AAAkB;CAEC;CAEnB;;GAAgB,FAAU;GAA1B,AAAgB,FAAhB;;GAEC,GAAQ;KAEF;IAFE;;;;;;IAIN,DAAU;IACV,HAAe,EAAM,FAAS,EAAM,FAAS,EAAM,FAAS,EAAM,FAAS,EAAI,FAAS,EAAI;;KAExF;IAPE;;;;IASN,DAAU;IACV,HAAkB,EAAK,FAAS,EAAK,FAAS,EAAI,FAAS,EAAI;;KAE3D;IAZE;;;IAcN,DAAU;IACV,HAAc,EAAI,AAAU,FAAQ,EAAI;IACxC,HAAW,EAAI,FAAS,EAAI,FAAS,AAAQ,AAAG,EAAU;;KAEtD;IAlBE;;;;IAoBN,DAAU;IACV,HAAiB,EAAI,FAAS,EAAI,FAAS,AAAO;;KAE9C;IAvBE;;;;IAyBN,DAAU;IAEV,AAAK;IACL,AAAK;IAEO;IACN,DAAC,AAAQ,AAAK;IACd,DAAC,AAAS,AAAK;IACf,DAAI;IACJ,DAAI;IACJ,DAAI,AAAQ;IACZ,DAAI,AAAS;IAEnB,HAAc,AAAG;IACjB,HAAe,AAAG,EAAK,FAAI,EAAK,FAAI,AAAG,AAAI;IAC3C,HAAe,EAAK,FAAI,AAAG,AAAI,EAAK,FAAI,AAAI;IAC5C,HAAe,AAAI,EAAK,FAAI,EAAK,FAAI,AAAI,AAAI;IAC7C,HAAe,EAAK,FAAI,AAAI,AAAG,EAAK,FAAI,AAAG;;KAEvC;IA5CE;;;;;;IA8CN,DAAU;IACV,HAAe,EAAI,FAAS,EAAI,FAAS,AAAO,AAAQ,AAAI;;KAExD;IAjDE;;IAmDN,DAAU;IACV,HAAc,EAAI,FAAS,EAAI;IAE/B,DAAY;IACZ,DAAY;;KAER;IAzDE;;IA2DN,HAAc,EAAI,FAAS,EAAI;IAE/B,DAAY;IACZ,DAAY;IAEZ,DAAW;IACX,DAAS;IACT,DAAS;;KAEL;IApEE;;;;;;;;IAsEN,FAAI,EAAU,HACb;IAED,HAAc,EAAY,FAAS,EAAY;IAE/C,FAAI,EAAa,HAEhB,EAAY,GAEN;KAEN,FAAY;KAEZ,JAAkB;KAElB,HAAI,EAAU,HAEb,AAAiB,KAIjB,LAAiB;;MAAQ;KAEnB;OAAO;;KACP;OAAO;;;OACH;;;;KAMX,HAAI,EAAQ,HAEX,AAAgB,KAIhB,LAAgB;;MAAQ;KAElB;OAAM;;KACN;OAAQ;;;OACJ;;;;KAMX,JAAmB,AAAC,GAAc,HAAO,AAAI;KAE7C,HAAK,EAAS,HACd;MACS,LAAC,AAAC,EAAQ,EAAc,FAAM;MAC9B,LAAC,AAAC,EAAQ,EAAc,FAAK;MAC7B,LAAC,EAAQ,AAAY;MAG7B,JAAI,EAAiB,HACpB;MAGD,JAAI,EAAS,AAAK,AAAS,HAE1B,EAAgB,FAAwB,AAAG,AAAG,KAI9C,HAAgB,FAAyB,AAAG,AAAG,AAAG;;;;KAKjD;IA7IE;;;;;;;;IA+IN,FAAI,EAAU,HACb;IAGD,FAAI,EAAiB,HACpB;IAGD,HAAc,EAAY,FAAS,EAAY;IAE/C,DAAgB,FAAuB,AAAM,AAAQ,AAAQ,AAAQ,AAAQ,AAAc,AAAqB;IAEhH,DAAY;;KAER;IA7JE;;;;IA+JN,FAAI,EAAU,HACb;IAGD,FAAI,EAAiB,HACpB;IAGD,HAAc,EAAY,FAAS,EAAY;IAE/C,DAAgB,FAAoB,AAAQ,AAAQ;IAEpD,DAAY;;KAER;IA7KE;;;;IA+KN,FAAI,EAAe,HAElB;IAID,DAAc,FAAoB,AAAQ,AAAQ;IAElD,DAAa;IACb,DAAe;IAEf,DAAU;;KAEN;IA5LE;;IA8LN,FAAI,CAAQ,FAEX,EAAU,GAEJ;KAEN,HAAI,EAAe,HAAM;MAExB;MACA,HAAoB;;KAIrB,FAAc,FAAyB,AAAC,AAAC,EAAM,EAAc,FAAM,FAAM,AAAC,AAAC,EAAM,EAAc,FAAK,FAAM,AAAC,EAAM,AAAY,FAAM;KACnI,FAAU;;IAIX,DAAa;;KAGT;IAnNE;;;;;;;;IAqNN,FAAI,EAAe,HAAM;KAExB;KACA,FAAoB;;IAIrB,DAAc,FAAuB,AAAM,AAAQ,AAAQ,AAAQ,AAAQ,AAAc,AAAqB;IAE9G,DAAU;IACV,DAAa;;KAET;IAjOE;;;;IAmOE;IACE;IACA;IACM,AAAc;IAE9B,FAAI,EAAa,AAAO,HAEvB;IAGW;IACC;IAEb,FAAI,DAAC,AAAW;KAIf,HAAI,EAAW,HAAM;MAEV;;;;;;;MAAV,HAAU;MAEA;MAAI,HAAC,AAAS,AAAW,AAApB;MAAf,LAAwC;OAAxC;OAEC;;;;;;;;;;GAAc,FAAE,EAAI,AAAK;;OAAzB;OACA;;;;;;;;;;GAAc,FAAE,EAAI,AAAI,AAAK;;OAA7B;;;KAMU,DAAkB;KACV,JAAc,AAAS;KAC9B;KACb,FAAM;KAEN,HAAI,CAAS,FAAG;MACf,HAAQ,AAAS,AAAT;MACR,HAAS,AAAS,AAAT;MAGH;MAEN,HAAQ;MACR,HAAS;;;IAKH;IACA;IAER;;;IACA;;;;;;IACA;;;;;;IACA;;;;;;IACA;IACA;;;;IACA;;IAEA,HAAkB;IAElB,CAAO,FAAI,FAAG;KAEb,FAAI;KACJ,FAAI,AAAI;KACR,FAAI,AAAI;KAER,FAAM,FAAI,EAAK;KACf,FAAM,FAAI,EAAK,AAAI;KACnB,FAAM,FAAI,EAAK;KACf,FAAM,FAAI,EAAK,AAAI;KACnB,FAAM,FAAI,EAAK;KACf,FAAM,FAAI,EAAK,AAAI;KAEnB,FAAK,FAAE;KACP,FAAK,FAAE;KACP,FAAK,FAAE;KACP,FAAK,FAAE;KACP,FAAK,FAAE;KACP,FAAK,FAAE;KAEP,CAAQ;KAEF;MAEJ,JAAI,DAAC,AAAe,EAAR,AAAP,FAA2B,EAAhB,AAAX,FAAmB,EAAR,AAAX,FAAuB,EAAhB,AAAP,FAAgC;OAEpC,HAAK;OACL;;;KAIG;MAEJ,JAAI,DAAe,EAAR,AAAP,FAA2B,EAAhB,AAAX,FAAmB,EAAR,AAAX,FAAuB,EAAhB,AAAP,FAAgC;OAEnC,HAAK;OACL;;;;;KAQH,HAAI,DAAW;MAEd;MACA,LAAc,AAAI;MAClB,LAAc,AAAI;MAClB,LAAc,AAAI;MAClB;MACA;MACA,FAAK;MACL;;KAID;KAGA;KACA,JAAc,AAAI;KAClB,JAAc,AAAI;KAClB,JAAc,AAAI;KAClB;KAGA,FAAO,FAAI,EAAO;KAClB,FAAO,FAAI,EAAO;KAClB,FAAO,FAAI,EAAO;KAClB,FAAO,FAAI,EAAO;KAClB,FAAO,FAAI,EAAO;KAClB,FAAO,FAAI,EAAO;KAElB,FAAQ,AAAO,FAAC,EAAO,AAAQ,AAAO,AAAO,AAAO,AAAO,FAAC,EAAO,AAAQ;KAE3E,HAAI,EAAS,HAAG;MAEf,FAAK;MACL;;KAID,FAAK,FAAE,AAAC,EAAO,FAAC,EAAK,AAAM,AAAO,AAAK,AAAO,AAAK,FAAC,EAAO,AAAQ,AAAM;KACzE,FAAK,FAAC,EAAO,AAAK,AAAO,FAAC,EAAK,AAAM,AAAO,AAAK,FAAC,EAAO,AAAQ,AAAM;KACvE,FAAK,FAAC,EAAO,FAAC,EAAK,AAAM,AAAO,AAAK,AAAO,AAAK,FAAC,EAAO,AAAQ,AAAM;KACvE,FAAK,FAAE,AAAC,EAAO,AAAK,AAAO,FAAC,EAAK,AAAM,AAAO,AAAK,FAAC,EAAO,AAAQ,AAAM;KACzE,FAAK,FAAC,EAAO,FAAC,EAAO,AAAK,AAAO,AAAM,AAAO,FAAC,EAAO,AAAK,AAAO,AAAM,FAAC,EAAO,AAAO,AAAO,AAAQ,AAAM;KAC5G,FAAK,FAAC,EAAO,FAAC,EAAO,AAAK,AAAO,AAAM,AAAO,FAAC,EAAO,AAAK,AAAO,AAAM,FAAC,EAAO,AAAO,AAAO,AAAQ,AAAM;KAE/F,iBAAa,rBAAI,AAAI,AAAI,AAAI,AAAI;KAC9C,JAAe;KACf,JAAe;KACf;KAEA,DAAK;;;KAGF;IAlYE;;;;;IAoYS,HAAC,EAAQ,AAAuB;IAC7B,HAAC,EAAQ,AAA0B;IAClC,HAAC,EAAQ,AAA2B;IAC1C,HAAC,EAAQ,AAAqB;IAC5B,HAAC,EAAQ,AAAuB;IACjC,HAAC,EAAQ,AAAsB;IAC7B,HAAC,EAAQ,AAAwB;IAC/B,HAAC,EAAQ,AAA2B;IAEtD,FAAI,DAAc;KAAE,FAAW;KAAO,FAAc;;IAEnC;IACG;IACL;IACE;IACI;IAEL;IAEhB,FAAI,DAAuB,AAAZ,EAAwB,GAAxB,HAA4B;IAC3C,FAAI,DAAU;KAAE,FAAa;KAAW;;IACxC,FAAI,DAAa;KAAE,FAAgB;KAAW;;IAC9C,FAAI,DAAc;KAAE,FAAiB;KAAW,DAAa;;IAC7D,FAAI,DAAQ;KAAE,FAAW;KAAW,DAAa;;IACjD,FAAI,DAAU;KAAE,FAAa;KAAW;;IAEvB;IACjB,FAAI,EAAS,AAAK,DAAa,FAAO,EAAa;IACnC,DAAS,AAAa,AAAtB;IACJ;IAED;IACE;IACQ;IAErB;IACA;IACA,DAAU;IAEV,FAAI,DACH,AAAiB;IAGlB,CAAO,FAAQ,FAAY;KAUjB,FAAS,FAAS,EAAO,AAAzB;KAGI;CAAE,AAAW,KAAI;KAE9B,HAAI,DAAC,GAAW,AAAU,HAAgB;MAEzC,HAAO,FAAkB;MACzB,HAAS,FAAqB;MAE9B,HAAiB;MAEX,JAAI,DAAS;MAEnB,HAAO;MACP,LAAY,AAAS,EAAQ,FAAI,AAAS,EAAQ,FAAI,AAAS,EAAQ,FAAI,AAAS,EAAQ;MAC5F,HAAS;MAET,JAAI,DAEH;GAAc,FAAS,EAAQ;OAA/B,JAAmC,FAAS,EAAQ;MAIpD;GAAc;OAAd,JAAiB;;;KAMnB,HAAI,EAAQ,AAAQ,DAAa,CAAK,DAAc,CAAK,AAAU,HAAM;MAIxE;MAEA,JAAI,DAAc;OACJ,eAAa,rBAAS,EAAQ,FAAiB,AAAS,EAAQ,AAAiB,FAAI,AAAS,EAAQ,AAAiB,FAAI,AAAS,EAAQ,AAAiB,FAAI,AAAG;OACjL,NAAe;;MAGhB,LAAiB,AAAS,AAAQ,AAAS,EAAQ;MAGnD,JAAI,DACH,AAAa,AAAS,EAAQ;MAG/B,JAAI,DAAU;OACD,NAAS,EAAQ;OAC7B,NAAa,AAAO;;MAGrB,LAAwB,AAAS,AAAG;MAEpC,JAAI,DACH,AAAsB,AAAS,EAAQ,GAEvC;;KAOF,DAAS;;IAIV,FAAI,DACH,AAAiB;;;;;;CASrB,CAAK,DAAU;EAGd,AAAI,EAAU,HAAW;GAExB,DAAI,EAAW,HAEd,AAAc,EAAS,FAAS,EAAS;GAI1C,FAAe;GACf;;EAID,AAAI,DAAC,GAAU,HAAS;GAEvB,FAAkB,AAAC,AAAU,AAAC;GAE9B,DAAI,EAAqB,HAAM;IAEjB;IACb;IAEA,FAAI,EAAiB,HAEpB,AAAe;IAIhB,HAAqB;;GAItB,FAAe;GAEf,DAAI,EAAiB,HAAM;IAE1B,HAAiB;IACjB;IACA,HAAiB;MAIjB;GAID,FAAiB,AAAU;GAC3B;;;;iEAMY,7CAAsE;CAEtE;CAEd,CAAI,DAAC,AAAuB;EAE3B,DAAc,AAAI;EAClB,CAAU,mBAAa,rBAAI;MAI3B,HAAU;CAID,EAAY,AAAC,AAAU,FAAC,EAAK;CAC7B,EAAY,AAAC,AAAU,FAAC,EAAK;CAC7B,EAAI,AAAC,AAAU,FAAC,EAAK;CACrB,EAAI,AAAC,AAAU,FAAC,EAAK;CAE/B,AAAe,AAAK,AAAK,AAAK,AAAK,AAAG;;uDAKzB,tBAAsE;;2DAiItE,1BAEb;EAAI,EAA8B,HAAG;EAExB;EAEI;EACA;EAEF;EACA;EAEd;EAAgB;EAAhB,CAAgB,FAAqB;GAArC,AAAgB,FAAhB;;GAEC,GAAQ;KAEF;IAFE;;;;;;IAIN,HAAe,EAAM,FAAS,EAAM,FAAS,EAAM,FAAS,EAAM,FAAS,EAAI,FAAS,EAAI;IAC5F,DAAY;IACZ,DAAY;;KAER;IARE;;;;IAUN,HAAkB,EAAK,FAAS,EAAK,FAAS,EAAI,FAAS,EAAI;IAC/D,DAAY;IACZ,DAAY;;KAER;IAdE;;;IAgBN,HAAW,EAAI,FAAS,EAAI,FAAS,AAAQ,AAAG,EAAU;;KAEtD;IAlBE;;;;IAoBN,AAAK;IACL,AAAK;IAEO;IACN,DAAC,AAAQ,AAAK;IACd,DAAC,AAAS,AAAK;IACf,DAAI;IACJ,DAAI;IACJ,DAAI,AAAQ;IACZ,DAAI,AAAS;IAInB,HAAc,AAAG;IACjB,HAAe,AAAG,EAAK,FAAI,EAAK,FAAI,AAAG,AAAI;IAC3C,HAAe,EAAK,FAAI,AAAG,AAAI,EAAK,FAAI,AAAI;IAC5C,HAAe,AAAI,EAAK,FAAI,EAAK,FAAI,AAAI,AAAI;IAC7C,HAAe,EAAK,FAAI,AAAI,AAAG,EAAK,FAAI,AAAG;;KAGvC;IAxCE;;;;IA0CN,HAAiB,EAAI,FAAS,EAAI,FAAS,AAAO;;KAE9C;IA5CE;;;;;;IA8CN,HAAe,EAAI,FAAS,EAAI,FAAS,AAAO,AAAQ,AAAI;;KAExD;IAhDE;;IAkDN,HAAc,EAAI,FAAS,EAAI;IAC/B,DAAY;IACZ,DAAY;;KAER;IAtDE;;IAwDN,HAAc,EAAI,FAAS,EAAI;IAC/B,DAAY;IACZ,DAAY;;;;;;;mDCthCV,3BAEN;CAAO;;;;;;UAKQ,KAA4C;EAE/C;EAEZ;EAGgB;EAEhB,DAAe;EAEf;EACA,DAAwB;EACxB;;UAOe,eAA0D;EAE7D;EACZ;EAEA,DAAe,qBAAa,rBAAa,AAAa,AAAa,AAAa,AAAc;EAE9F;EACA,DAAiB,AAAQ,AAAQ,AAAY;EAC7C;;SAKe,EAEf;;;;;gDCxCM,nBAAkD;CAExD,AAAO,AAAO;CAEd,EAAa;CAEb,EAAgB;CAChB,EAAsB;CACtB,EAA4B;CAC5B,EAAyB;CACzB,EAA4B,kDAAsB;;;;;;QAKnC,QAAmC;EAElD;EAEA,AAAI,DAA2B;GAE9B,FAAoB,AAAmB,AAAI,AAAmB,AAAI,AAAmB;GACrF;;EAID,DAAqB;;;;;;;oDChCR,tBAAwE;;;;;0DCkBvE,3CA2Bd;CAAO;;iEAKM,hDA2Kb;CAAO;;+DAKO,3CAAiD;CAInD;CAEF;CAAI;CAAa;CAAb;CAAd,AAA4C;EAA5C;EAEY,DAAiB,AAAgB;EAE5C,AAAI,EAAQ,HAEX;;CAMK;;qEAKO,jDAA8D;CAI/D;CAEH;CAAI;CAAa;CAAb;CAAd,AAA4C;EAA5C;EAIa,DAAiB,AAAgB;EAE5C,AAAI,EAAQ,HAEX,AAAa;;CAQT;;sEAKO,hDAA+D;CAIjE;CAEZ,CAAI,CAA4B,CAAK,AAAK,HAAG;EAEhC,DAAmB;EAI/B,AAAI,CAAc,CAAK,DAAY,FAElC;GAAU;GAAc,AAAY;GAApC,FAAuC;IAAvC;IAEY,HAAiB,AAAgB;IAE5C,FAAI,EAAQ,HAEX;;;;CAUG;;gEAKO,vCAAmE;CAIpE,AAAqB;CAC1B;CACS;CACG,EAAwB;CAE5C;GAAW,FAAQ;EAAnB,CAAW,FAAX;;EAIC,AAAI,EAAK,HAAM;GAId,AAAa,AAAK;GAIlB,DAAI,EAAK,DAAc,FAKtB,EAAY,FAAO,EAAI,AAAK;;EAM9B;;CAIM,AAAE,AAAY;;+DAKR,/BAEb;EAAI,EAAsB,HAElB,AAA4B,AAAW,AAAM,KAI7C,LAA+B,AAAW,AAAM;;+EAO1C,vCAAiH;CAK/G,AAAgB,AAAW;CAEnC;CACK;CAEb;CAAc;CAAd,EAAc,FAAoB;EAAlC,CAAc,FAAd;;EAEC,AAAI,EAAe,HAAU,AAAI;GAErB,FAAiB;GAE5B,DAAI,EAAQ,HAEP,KAAQ;KAEN;IAFN,DAEmB,FAA+B,AAAW,AAAc,EAAY,FAA+B,AAAW,AAAc,EAAa,FAA+B,AAAW,AAAc;;KAC9M;IAHN,DAGgB,AAAgB,AAAkB;;KAC5C;IAJN,DAIiB,FAAS,EAAiB,AAAkB;;KACvD;IALN,DAKe;;;;EASjB,AAAI,CAAI,FAEP,EAAS;EAIV,CAAI;;CAIE;;4EAKO;;CAIH,AAAiB;CAE5B,CAAI,EAAQ,HAEJ,KAAQ;KAET;EAAa,DAA4B,AAAW,AAAY,EAAY,FAA4B,AAAW,AAAY,EAAa,FAA4B,AAAW,AAAY;KAC/L;EAAU,CAAgB,AAAkB;KAC5C;EAAW,DAAU,EAAiB,AAAkB;KACxD;EAAS;;CAOT;;8DAKM,rCAuDb;CAAO;;+DAOM,3CAAmD;CAKvD;CAEC;CAAI;CAAd,AAAkC;EAAlC;EAEC,EAAM,HAAe,AAAW,AAAG,EAAY,FAAe,AAAW,AAAG;EAE5E,AAAI,EAAK,DAAqB,FAE7B,GAAM,HAAe,AAAW,AAAG;;CAM9B;;8DAKM,rCAEb;CAAO;;6DAKM;;CAKN,AAAgB,AAAW;;gEAKpB,nCAA0E;CAIxF,CAAI,EAA0B,HAE7B,EAAyB;CAI1B,CAAI,EAAsB,HAElB,AAA0B,AAAW,KAIrC,LAA6B,AAAW;CAIzC;;6EAKO,hDAAuF;CAIlF;CACF;CAEjB;CAAc;CAAd,EAAc,FAAoB;EAAlC,CAAc,FAAd;;EAEY,DAAiB;EAChB;EAEZ,AAAI,EAAQ,AAAQ,AAAqB,HAAM;GAE9C,FAAkB;GAClB,FAAkB;GAClB,FAAkB,AAAS,EAAT;GAClB,FAAkB,AAA0B,AAAa;GAEzD;GAAiB;GAAjB,AAAiB,FAAsB;IAAvC,DAAiB,FAAjB;;IAEC,FAAI,DAEH,GAAS,EAIT,LAAmB;;;EAQtB,AAAI,DAEH,AAAmB;;CAMd;;0EAKO,7CAAoF;CAIvF,AAAiB;CAChB;CACC;CACI;CAEjB,CAAI,EAAQ,AAAQ,AAA+B,HAAM;EAExD,DAAkB;EAClB,DAAkB;EAClB,DAAkB,AAAS,EAAT;EAClB,DAAkB;EAElB;EAAiB;EAAjB,CAAiB,FAAsB;GAAvC,AAAiB,FAAjB;;GAEC,DAAI,DAEH,GAAS,EAIT,LAAa;;;CAQhB,CAAI,DAEH,AAAa;CAIP;;wDAKM,tBAAmE;;4DAyJlE,bAAgH;;;;;;uDC3yB1G,xBAAkE;CAGtF,CAAI,DAAC,GAAuB,AAAuB,HAAG;CAExC;CAEd,CAAI,EAAqB,AAAQ,HAA6B;EAE7D,AAAI,EAAiB,HAEpB,AAAoC;EAIrC;EAEA,CAAsB;EACN;EACC;EAEjB,AAAI,DAEH,AAAsB,AAAa,AAAa,AAAa,AAAa,AAAS,EAAT,FAAwB,AAAS,EAAT,GAIlG,LAAsB,AAAa,AAAa,AAAa,AAAa,AAAc;EAIzF,AAAI,DAAC,AAAkB;GAEd,AAAqC;GACrC,AAAwC;GACxC,AAAkC;;EAI3C,AAAI,EAAc,HAEjB,AAAmB,AAA+B,AAAG,KAIrD,LAAmB,AAA+B,AAAc,AAAc,AAAkB,AAAmB,AAAc,AAAc,AAAkB;EAIlK,AAAI,DAAC,AAAkB;GAEd,AAAqC;GACrC,AAAwC;GACxC,AAAkC;;EAI3C,AAAI,EAAiB,HAEpB;;;;;;;;;;;;;;;;;;mEChBY,rCAAiE;CAI/E;CACO,AAAuB,AAAoB,AAAe,AAAW;CAIrE;;0EAIO,rCAAyF;CAK5E,EAAK,FAAgC;CAClD,AAAmB;CAEjC,EAAe;CACf,EAAgB;CAEhB,EAAoB,FAAuB,AAAoB,AAAS,AAAW;CACnF;CACA,AAAgB,AAAG;CACnB,AAAgB,AAAG;CACnB,AAAgB,AAAO;CACvB,AAAgB,AAAO;CACvB,AAAgB,AAAG;CACnB;CACA;CACO;;0DAMO,/CAAyB;CAGvC;CACA,AAAc,AAAc;CAC5B,EAAe;;4DAMD,jDAA2B;CAGzC;CACA,AAAc,AAAgB;CAC9B;CACA,EAAiB;;4DAMH,jDAA4B;CAG1C,CAAK,EAAuB,HAC3B;CAED;CACA;CACA;;gEAMc,/BAA8F;CAG5G,CAAI,EAAM,HAAI,EAAK;CAEnB,GAAM;CACN,GAAM;CAEN,CAAI,CAAK,AAAQ,FAAG,EAAK,AAAQ;CACjC,CAAI,CAAK,AAAS,FAAG,EAAK,AAAS;CAE1B,EAAI;CACR,EAAI;CACH,AAAC,EAAK,AAAC,AAAK;CACZ,AAAC,EAAK,AAAC,AAAK;CACZ,AAAC,EAAK,AAAC,AAAK;CACZ,AAAC,EAAK,AAAC,AAAK;CAElB,AAAgB,AAAI,EAAK;CACzB,AAA0B,AAAI,EAAK,FAAK,EAAK,FAAK,EAAK;CACvD,AAA0B,EAAK,FAAK,AAAI,EAAK,FAAI;CACjD,AAAgB,EAAI,FAAI;CACxB,AAA0B,EAAI,FAAK,AAAI,EAAI,FAAK,EAAK;CACrD,AAA0B,AAAG,EAAK,FAAK,AAAG,EAAK;CAC/C,AAAgB,AAAG,EAAI;CACvB,AAA0B,AAAG,EAAI,FAAK,EAAI,FAAK,EAAI;CACnD,AAA0B,EAAI,FAAK,AAAG,EAAI,FAAI;CAC9C,AAAgB,EAAK,FAAI;CACzB,AAA0B,EAAK,FAAK,AAAG,EAAK,FAAK,EAAI;CACrD,AAA0B,AAAI,EAAI,FAAK,AAAI,EAAI;CAC/C,AAAgB,AAAI,EAAK;;wDAMJ,5BAErB;CAAO,MAAC,NAAC,EAAK,AAAM,FAAC,EAAK,AAAM,FAAC,EAAK,AAAM,FAAC,EAAK,AAAO;;+DAK3C;;CAEE;CACN;CACA;CAEA;CAAI,EAAM;CAApB,AAAuB;EAAvB;EAEC,AAAI,EAAS,DAAI,CAAK,HAErB;EAID,CAAM,FAAI,EAAI;EAEd,AAAI,CAAM,FAET,EAAM;;CAMK;;;;;;;;;CAEH;CAAI,EAAM;CAApB,AAAuB;EAAvB;EAEC,AAAI,EAAS,DAAI,CAAK,HAErB;EAID;;;;;;;;;;GAAa,AAAC,FAAI,EAAI,AAAK;;EAA3B;;CAIM,KAAO,AAAU;;+DAKV;;CAGd,EAAS;CAEK;CACA;CAEE;CACA;CAED;CACF;CACA;CAGb;GAAgB,FAAU;EAA1B,CAAgB,FAAhB;;EAEC,IAAQ;KAEF;GAFE;;;;;;GAIN,FAAuB,EAAM,FAAS,EAAM,FAAS,EAAM,FAAS,EAAM,FAAS,EAAI,FAAS,EAAI;;KAEhG;GANE;;;;GAQN,FAA0B,EAAK,FAAS,EAAK,FAAS,EAAI,FAAS,EAAI;;KAEnE;GAVE;;;GAYN,FAAgB,EAAI,AAAU,FAAQ,EAAI;GAC1C,FAAa,EAAI,FAAS,EAAI,FAAS,AAAQ,AAAG,EAAU,FAAG;;KAE3D;GAfE;;;;GAiBN,CAAK;GACL,CAAK;GAEO;GACN,AAAC,AAAQ,AAAK;GACd,AAAC,AAAS,AAAK;GACf,AAAI;GACJ,AAAI;GACJ,AAAI,AAAQ;GACZ,AAAI,AAAS;GAEnB,FAAgB,AAAG;GACnB,FAAuB,AAAG,EAAK,FAAI,EAAK,FAAI,AAAG,AAAI;GACnD,FAAuB,EAAK,FAAI,AAAG,AAAI,EAAK,FAAI,AAAI;GACpD,FAAuB,AAAI,EAAK,FAAI,EAAK,FAAI,AAAI,AAAI;GACrD,FAAuB,EAAK,FAAI,AAAI,AAAG,EAAK,FAAI,AAAG;;KAE/C;GAlCE;;;;;;GAoCN,FAAe,EAAI,FAAS,EAAI,FAAS,AAAO,AAAQ,AAAI;;KAExD;GAtCE;;GAwCN,FAAgB,EAAI,FAAS,EAAI;GAEjC,AAAY;GACZ,AAAY;;KAER;GA7CE;;GA+CN,FAAgB,EAAI,FAAS,EAAI;GAEjC,AAAY;GACZ,AAAY;GAEZ,AAAW;GACX,AAAS;GACT,AAAS;;KAEL;GAxDE;;;;;;;;GA0DN,DAAI,EAAU,HAAW;IAExB;IACA;IACA;;GAID,FAAgB,EAAY,FAAS,EAAY;GAEjD,DAAI,EAAa,HAEhB,EAAY,GAEN;IAEN,DAAoB;IAED,FAAC,EAAU,HAA9B,EAAqC,GAArC,HAA+C,FAAY;IACzC,FAAC,EAAQ,HAA3B,EAAkC,GAAU,AAAQ;KAC9C;KADN,FACsB;;;KADtB,FAEU,FAAY;;IAGD,FAAC,EAAc,HAApC,EAA2C,GAA3C,HAA+C;IAE/C,FAAI,EAAS,AAAK,AAAS,HAEJ,CAAC,EAAS,HAAhC,EAAuC,GAAvC,HAAmD,AAAM,FAAiB,EAAQ,FAAY,KAExF;KAEE,JAAC,EAAQ,EAAc;KACvB,JAAC,EAAQ,EAAc;KACvB,FAAC,AAAQ;KAEK,HAAC,EAAS,HAAhC,EAAuC,GAAvC,HAAmD,AAAU,AAAI,AAAO,AAAI,AAAO,AAAI,AAAO,AAAQ;;IAIvG,DAAY;;;KAIT;GAtGE;;;;;;;;GAwGN,DAAI,EAAU,HACb;GAID,FAAgB,EAAY,FAAS,EAAY;GAEjD,AAAsB,FAAuB,AAAM,AAAQ,AAAQ,AAAQ,AAAQ,AAAc,AAAqB;GAEtH,AAAY;;KAER;GAnHE;;;;GAqHN,DAAI,EAAU,HACb;GAGD,FAAgB,EAAY,FAAS,EAAY;GAEjD,AAAsB,FAAkB,AAAQ;GAEhD,AAAY;;KAER;GA/HE;;;;GAiIN,AAAoB,FAAkB,AAAQ;GAC9C,AAAW;GAEX,DAAI,EAAU,HAAM;IAEnB,DAAgB;IAChB,DAAuB;IACvB;MAEM;IAEN,DAAgB;IAChB,DAAuB;;;KAIpB;GAjJE;;GAmJN,DAAI,CAAQ,FAEX,EAAU,GAEJ;IAEN,FAAI,EAAS,HAEZ,EAAoB,AAAM,FAAiB,AAAK,KAE1C;KAEE,JAAC,EAAM,EAAc;KACrB,JAAC,EAAM,EAAc;KACrB,FAAC,AAAM;KAEf,FAAoB,AAAU,AAAI,AAAO,AAAI,AAAO,AAAI,AAAO,AAAQ;;IAIxE,DAAa;IACb,DAAU;;;KAIP;GA5KE;;;;;;;;GA8KN,AAAoB,FAAuB,AAAM,AAAQ,AAAQ,AAAQ,AAAQ,AAAc,AAAqB;GAEpH,AAAa;GACb,AAAU;;KAEN;GAnLE;;;;GAqLiB;GAEvB,DAAI,EAAc,HAAM;IAER;IACA;IACA;IACA;IAES;IAExB,FAAI,EAAiB,HAEpB;EAAI,EAAmB,AAAK,AAAmB,HAE9C,EAAoB,GAEd;MAEI,LAAoC,qBAAU,rBAAG;MACjD,LAAoC,qBAAU,nBAAI,FAAO,EAAI;MAEvE,HAAK;MACL,HAAK;MACL,HAAK;MACL,HAAK;;MAIA;KAEN,FAAK;KACL,FAAK;KACL,FAAK,AAAI;KACT,FAAK,AAAI;;IAIV,FAAI,EAAqB,AAAM,AAAK,AAAM,AAAK,AAAM,AAAoB,AAAM,HAAmB;KAEjG,FAAmB;KACnB,JAAmB,AAAwB,AAAI,AAAI,EAAK,FAAI,EAAK,FAAI,EAAI,FAAS,EAAI,FAAS,AAAO;;;GAIxG,DAAI,DAAC,AAEJ,AAAc,EAAI,FAAS,EAAI,FAAS,AAAO;;;;;CAUnD,CAAI,EAAU,HAAW;EAExB,AAAI,EAAW,HAEd,AAAgB,EAAS,FAAS,EAAS;EAI5C;;CAID,CAAI,DAAC,AAEJ;EAAI,EAAW,AAAc,HAAM;GAElC,FAAmB,AAAC,AAAU,AAAC;GAE/B,DAAI,EAAiB,HAAM;IAE1B,HAAmB,AAAiB,AAAiB,AAAiB,AAAiB,AAAkB;IACzG;IACA,HAAmB,AAAwB,AAAwB,AAAwB,AAAwB,AAAyB;MAI5I;GAID,FAAmB,AAAU;GAC7B;;;;wEASY,oBAAqP;CAIhP;CAEnB,KAAQ;KAEF;EAEJ,AAAI,EAAU,HAAM,EAAS;EACjB,DAAuB,qBAAW,rBAAQ;EACtD,CAAe,FAA8B,AAAW,AAAW,AAAG,AAAW,AAAW,AAAC,EAAU,AAAa;;KAEhH;EAES;IAAU,HAAO,KAAkB;EACnC,DAAuB,qBAAW,rBAAQ;EAC1C,DAAuB,qBAAW,rBAAO;EAEtD,CAAe,FAA8B,AAAU,AAAU,AAAU;;;CAInE;CAAI;CAAd,AAA6B;EAA7B;EAEW,DAAO;EACL,DAAO;EACX,DAAC,EAAM,EAAc;EACrB,DAAC,EAAM,EAAc;EACrB,CAAC,AAAM;EAEH,DAAO,EAAK;EACxB,AAAI,CAAQ,FAAG,EAAQ;EACvB,AAAI,CAAQ,FAAG,EAAQ;EAEvB,DAA2B,AAAO,EAAU,AAAI,AAAO,AAAI,AAAO,AAAI,AAAO,AAAQ;;CAIzE;;yDAMA,xBAIb;EAAI,DAAkB;EAErB,CAA0B;EAC1B,CAAS;EAET,AAAI,DAAC,GAAsB,AAA8B,AAAK,AAAU,AAAQ,AAAgB,AAAK,AAAiB,HAAG;GAExH,AAAoB;GACpB,AAAqB;GACrB,AAAoB;MAEd;GAEN,DAAI,EAAqB,HAAM;IAE9B,DAAyB,FAAgC;IACzD,DAAqB,FAA8B;;GAMpD,AAAU;GAEV,AAA0B,FAAW;GACrC,AAA2B,FAAW;GAExB;GACA;GAEd,AAAe;GACf,AAAiB;GAEjB,AAAU;GACV,AAAY;GACZ,AAAa;GACb,AAAe;GAEf;GAAgB;GAAhB;GAAgB,FAAqB;KAArC,FAAgB,FAAhB;;KAEC,CAAQ;KAEF,AAAiC,AAAsB,AAAe;MAE3E,LAAmB;MACnB,LAAqB;;KAEjB;MAEJ;MACA;MACA,HAAU;MACV,HAAa;;KAET,AAAoC,AAA4C;MAEpF,LAAqB;;KAEjB,AAA8B,AAAkB;MAEpD;MACA;MAEA,LAAmB;MACnB,LAAqB;;KAEjB,AAAsB,AAA0B,AAAuB;MAE3E,LAAmB;MACnB,LAAqB;;KAEjB;MA/BG;;;;MAiCN;MACA;MAEQ;MACE;MACA;MACkB;MACZ,FAAc;MAE9B,JAAI,EAAa,AAAO,HAGvB;MAID,JAAI,DAAC,AAAW;OAIf,LAAI,EAAW,HAAM;QAEV;;;;;;;QAAV,LAAU;QAEA;QAAI,LAAC,AAAS,AAAW,AAApB;QAAf,PAAwC;SAAxC;SAEC;;;;;;;;;;GAAc,FAAE,EAAI,AAAK;;SAAzB;SACA;;;;;;;;;;GAAc,FAAE,EAAI,AAAI,AAAK;;SAA7B;;;OAMU,HAAkB;OACV,NAAc,AAAS;OAC9B;OACb,JAAM;OAEN,LAAI,CAAS,FAEZ,EAAU,FAAyB,AAAY,AAAc,AAAS,EAAT,FAAwB,AAAS,EAAT,GAIrF,HAAU,FAAyB,AAAY,AAAc,AAAkB;;MAMzE;MACA;MAER;;;MACA;;;;;;MACA;;;;;;MACA;;;;;;MACA;MACA;;;;MACA;;MAEA,DAAO,FAAI,FAAG;OAEb,JAAI;OACJ,JAAI,AAAI;OACR,JAAI,AAAI;OAER,JAAM,FAAI,EAAK;OACf,JAAM,FAAI,EAAK,AAAI;OACnB,JAAM,FAAI,EAAK;OACf,JAAM,FAAI,EAAK,AAAI;OACnB,JAAM,FAAI,EAAK;OACf,JAAM,FAAI,EAAK,AAAI;OAEnB,JAAK,FAAE;OACP,JAAK,FAAE;OACP,JAAK,FAAE;OACP,JAAK,FAAE;OACP,JAAK,FAAE;OACP,JAAK,FAAE;OAEP,DAAQ;KAEF;QAEJ,NAAI,DAAC,AAAe,EAAR,AAAP,FAA2B,EAAhB,AAAX,FAAmB,EAAR,AAAX,FAAuB,EAAhB,AAAP,FAAgC;SAEpC,LAAK;SACL;;;KAIG;QAEJ,NAAI,DAAe,EAAR,AAAP,FAA2B,EAAhB,AAAX,FAAmB,EAAR,AAAX,FAAuB,EAAhB,AAAP,FAAgC;SAEnC,LAAK;SACL;;;;;OAQH,LAAI,DAAW;QAEd;QACA,PAAgB,AAAI;QACpB,PAAgB,AAAI;QACpB,PAAgB,AAAI;QACpB;QACA;QACA,JAAK;QACL;;OAID;OACA;OACA,NAAgB,AAAI;OACpB,NAAgB,AAAI;OACpB,NAAgB,AAAI;OACpB;OAEA;OAEA,JAAO,FAAI,EAAO;OAClB,JAAO,FAAI,EAAO;OAClB,JAAO,FAAI,EAAO;OAClB,JAAO,FAAI,EAAO;OAClB,JAAO,FAAI,EAAO;OAClB,JAAO,FAAI,EAAO;OAElB,JAAQ,AAAO,FAAC,EAAO,AAAQ,AAAO,AAAO,AAAO,AAAO,FAAC,EAAO,AAAQ;OAE3E,LAAI,EAAS,HAAG;QAEf,JAAK;QACL;;OAID,JAAK,FAAE,AAAC,EAAO,FAAC,EAAK,AAAM,AAAO,AAAK,AAAO,AAAK,FAAC,EAAO,AAAQ,AAAM;OACzE,JAAK,FAAC,EAAO,AAAK,AAAO,FAAC,EAAK,AAAM,AAAO,AAAK,FAAC,EAAO,AAAQ,AAAM;OACvE,JAAK,FAAC,EAAO,FAAC,EAAK,AAAM,AAAO,AAAK,AAAO,AAAK,FAAC,EAAO,AAAQ,AAAM;OACvE,JAAK,FAAE,AAAC,EAAO,AAAK,AAAO,FAAC,EAAK,AAAM,AAAO,AAAK,FAAC,EAAO,AAAQ,AAAM;OACzE,JAAK,FAAC,EAAO,FAAC,EAAO,AAAK,AAAO,AAAM,AAAO,FAAC,EAAO,AAAK,AAAO,AAAM,FAAC,EAAO,AAAO,AAAO,AAAQ,AAAM;OAC5G,JAAK,FAAC,EAAO,FAAC,EAAO,AAAK,AAAO,AAAM,AAAO,FAAC,EAAO,AAAK,AAAO,AAAM,FAAC,EAAO,AAAO,AAAO,AAAQ,AAAM;OAE5G,NAAmB,AAAI,AAAI,AAAI,AAAI,AAAI;OACvC,NAAmB,AAAS,AAAG;OAC/B;OAEA,HAAK;;;KAIF;MA/LE;;;;;MAiMS,LAAC,EAAQ,AAAuB;MAC7B,LAAC,EAAQ,AAA0B;MAClC,LAAC,EAAQ,AAA2B;MAC1C,LAAC,EAAQ,AAAqB;MAC5B,LAAC,EAAQ,AAAuB;MACjC,LAAC,EAAQ,AAAsB;MAC7B,LAAC,EAAQ,AAAwB;MAC/B,LAAC,EAAQ,AAA2B;MAEtD,JAAI,DAAc;OAAE,JAAW;OAAO,JAAc;;MAEnC;MACG;MACL;MACE;MACI;MAEL;MAEhB,JAAI,DAAuB,AAAZ,EAAwB,GAAxB,HAA4B;MAC3C,JAAI,DAAU;OAAE,JAAa;OAAW;;MACxC,JAAI,DAAa;OAAE,JAAgB;OAAW;;MAC9C,JAAI,DAAc;OAAE,JAAiB;OAAW,HAAa;;MAC7D,JAAI,DAAQ;OAAE,JAAW;OAAW,HAAa;;MACjD,JAAI,DAAU;OAAE,JAAa;OAAW;;MAEvB;MACjB,JAAI,EAAS,AAAK,DAAa,FAAO,EAAa;MACnC,HAAS,AAAa,AAAtB;MACJ;MAED;MACE;MACQ;MAErB;MACA;MACA,HAAU;MAEV,JAAI,DAEH,EAAmC;MAIpC,DAAO,FAAQ,FAAY;OAEb;CAAE,AAAW,EAAS,FAAS,EAAQ,AAA1B,GAAgC;OAE1D,LAAI,DAAC,GAAW,AAAU,HAAgB;QAEzC,LAAO,FAAkB;QACzB,LAAS,FAAqB;QAE9B,LAAiB;MAEX,JAAI,DAAS;QAEnB,LAAO;QACP,PAAY,AAAS,EAAQ,FAAI,AAAS,EAAQ,FAAI,AAAS,EAAQ,FAAI,AAAS,EAAQ;QAC5F,LAAS;QAET,NAAI,DAEH;GAAc,FAAS,EAAQ;SAA/B,NAAmC,FAAS,EAAQ;MAIpD;GAAc;SAAd,NAAiB;;;OAMnB,LAAI,EAAQ,AAAQ,DAAa,CAAK,DAAc,CAAK,AAAU,HAAM;QAExE;QACA,PAAmB,AAAS,AAAQ,AAAS,EAAQ;QAErD,NAAI,DAEH,AAAgB,AAAS,EAAQ;QAItB;QAEZ,NAAI,DAEH,EAAQ,FAAS,EAAQ;QAI1B,NAAI,DAEH,AAAmB,AAAS,EAAQ,FAAiB,AAAS,EAAQ,AAAiB,FAAI,AAAS,EAAQ,AAAiB,FAAI,AAAS,EAAQ,AAAiB,FAAI,AAAG;QAI3K,NAAI,DAEH,EAAsB,FAAS,EAAQ;QAIxC,PAAmB,AAAS,AAAQ,AAAQ,AAAY,AAAa,AAAC,EAAW,FAAO,AAAC,EAAW,FAAO,EAAa,FAAO,EAAc;QAC7I;;OAID,HAAS;;MAIV,JAAI,DAEH,EAAmC;;;MAMpC,LAA2B;;;;GAM9B,DAAI,CAAsB,FAEzB;GAID,DAAI,CAAwB,FAE3B;GAID,AAAoB,FAAuB;;EAI5C,DAAmB;;;6DASP,5BAEb;EAAI,EAA8B,HAAG;EAEtB;EAEE;EACA;EAEF;EACA;EAEd;EAAgB;EAAhB,CAAgB,FAAqB;GAArC,AAAgB,FAAhB;;GAEC,GAAQ;KAEF;IAFE;;;;;;IAIN,HAAuB,EAAM,FAAS,EAAM,FAAS,EAAM,FAAS,EAAM,FAAS,EAAI,FAAS,EAAI;IACpG,DAAY;IACZ,DAAY;;KAER;IARE;;;;IAUN,HAA0B,EAAK,FAAS,EAAK,FAAS,EAAI,FAAS,EAAI;IACvE,DAAY;IACZ,DAAY;;KAER;IAdE;;;IAgBN,HAAa,EAAI,FAAS,EAAI,FAAS,AAAQ,AAAG,EAAU,FAAG;;KAE3D;IAlBE;;;;IAoBN,AAAK;IACL,AAAK;IAEO;IACN,DAAC,AAAQ,AAAK;IACd,DAAC,AAAS,AAAK;IACf,DAAI;IACJ,DAAI;IACJ,DAAI,AAAQ;IACZ,DAAI,AAAS;IAInB,HAAgB,AAAG;IACnB,HAAuB,AAAG,EAAK,FAAI,EAAK,FAAI,AAAG,AAAI;IACnD,HAAuB,EAAK,FAAI,AAAG,AAAI,EAAK,FAAI,AAAI;IACpD,HAAuB,AAAI,EAAK,FAAI,EAAK,FAAI,AAAI,AAAI;IACrD,HAAuB,EAAK,FAAI,AAAI,AAAG,EAAK,FAAI,AAAG;;KAG/C;IAxCE;;;;IA0CN,HAAc,EAAI,FAAS,EAAI,FAAS,AAAO;;KAE3C;IA5CE;;;;;;IA8CN,HAAe,EAAI,FAAS,EAAI,FAAS,AAAO,AAAQ,AAAI;;KAExD;IAhDE;;IAkDN,HAAgB,EAAI,FAAS,EAAI;IACjC,DAAY;IACZ,DAAY;;KAER;IAtDE;;IAwDN,HAAgB,EAAI,FAAS,EAAI;IACjC,DAAY;IACZ,DAAY;;;;;;;qDCh/BV,7BAEN;CAAO;;;;;;UAKQ,KAA4C;EAE7C;EAEd;EAGgB;EAEhB,DAAsB,AAAa,AAAa,AAAa,AAAa,AAAc;EAExF;EACA,DAAyB;EAEzB;;UAOe,eAA0D;EAE3D;EACd;EAEA,DAAsB,AAAa,AAAa,AAAa,AAAa,AAAc;EAExF;EACA,DAAc,AAAQ,AAAQ,AAAY;EAC1C;;SAKe,EAEf;;;;;kDCzCM,nBAAkE;CAExE,AAAO,AAAO;CAEd,EAAe;CAEf,EAAgB;CAChB,EAAwB;CACxB,EAA4B;CAC5B,EAAyB;CAEzB,EAA4B,oDAAsB;;;;;;QAMnC,QAAmC;EAElD,DAAsB,AAAG,AAAG,AAAG,AAAG,AAAG;EACrC,CAAsB;EAEtB,AAAI,DAAC,GAAuB,HAA2B;GAEtD,AAAoB;GACpB,FAAkB,AAAG,AAAG,AAAkB;MAEpC,JAAI,EAAuB,HAEjC,AAAmB,AAAG,AAAG,AAAkB;EAI5C,DAAsB;;;;;;;sDCtCF,xBAAwE;CAG5F,CAAI,DAAC,GAAsB,AAAsB,HAAG;CAErC;CAEf,CAAI,EAAY,HAAM;EAGrB,DAAuB,AAAU;EAKjC,AAAI,EAAqB,HAAM;GAE9B,DAAI,EAAgB,HAEnB,AAAoC;GAIvB;GACG;GAEjB,AAAsB;GACN;GAEhB,DAAI,DAEH,AAAsB,AAAa,AAAa,AAAa,AAAa,AAAS,EAAT,FAAwB,AAAS,EAAT,GAIlG,LAAsB,AAAa,AAAa,AAAa,AAAa,AAAc;GAIzF,DAAI,EAAc,HAEjB,AAAmB,AAAmB,AAAqB,KAM3D,LACC,AACA,AAAW,EAAsB,FACjC,AAAW,EAAuB,FAClC,AAAkB,AAClB,AAAW,EAAsB,FACjC,AAAW,EAAsB,FACjC,AAAkB;GAOpB,DAAI,EAAgB,HAEnB;;;;;;;;4DCtCW,lCAA6D;CAE3D,AAAc,AAAW;CAC3B,EAAY;CAC1B,AAAiB,EAAU,FAAI;;;EAAuB,CAAK,FAAY,EAAwB;EAAhE;;CAA4E;CACpG,EAAkB;;oEAKZ,hDAGb;CAAmC;;mEAMtB,/CAAoD;CAIjE,EAA6B;CAE7B,CAAI,EAA2B,HAAM;EAEpC,CAA+B,FAAiC;EAC9C;EAClB,CAAoB;EACpB,CAA8B;EAC9B,CAA4B;EAC5B,CAA0B;EAI1B,CAAyB;EACzB,CAAwB;EAExB,AAAI,DAAsC,AAAqC;GAE9E,AAA6B;GAC7B,AAA2B;GAC3B,AAA4B;MAEtB;GAEN,AAA2B;GAC3B,AAA4B;;EAIrB,AAAC,CAAoC;EAC7C,CAA2B;EAE3B,AAAI,CAAqB,FAExB,EAAwB;EAIzB,DAAmC;EACnC,CAAoB;;CAIrB,CAAI,EAAmB,HAEtB,AAA+B,KAEzB;EAEN,DAA4B,AAAsB;EAClD,DAA4B,AAA0B;;;uEASzC,nDAA8D;CAI/D;CAEH;CAAI;CAAa;CAAb;CAAd,AAA4C;EAA5C;EAIa,DAAiB,AAAgB;EAE5C,AAAI,EAAQ,HAEX,AAAa;;CAQT;;gEAKM,vCAA4D;CAIzE,CAAI,EAAuB,HAAM;EAEhC,CAA0B,FAAgC;EAC1D,CAAsB,FAA+B;;CAIrC,AAAqB;CAExB;CACd,EAAe,FAAsB;CAErC,CAAI,EAAQ,HAAI;EAED;EAEJ;EAAI;EAAd,DAAiC;GAAjC;GAEC,AAAU,FAAU,AAAS,AAAqB,AAA4B,GAAK,HAAI,AAAI,AAAC,AAAW,EAAI,AAAK,FAAI,AAAW;;EAIhI,CAAU,FAAU,AAAS,AAAqB,AAA4B,GAAqB,HAAI,AAAI,AAAC,AAAW,EAAoB,AAAK;EAEzI;MAIA,LAAqB,AAA4B,GAAQ,HAAI,AAAI,AAAC,AAAW,EAAO,AAAK;;gEAapF,vCAA+D;CAI5E,CAAI,EAAuB,HAAM;EAEhC,CAA0B,FAAgC;EAC1D,CAAsB,FAA+B;;CAItD,EAA2B,FAAsB;CACjD,EAAiC;CAE1B,AAAiC;;+DAW3B;;CAIb,CAAI,EAAuB,HAAM;EAEhC,CAA0B,FAAgC;EAC1D,CAAsB,FAA+B;;CAItD,CAAI,EAAsB,HAAM;EAE/B,CAA2B,FAAsB;EAC1C,DAAE,AAAiC;MAEpC;EAEa;EAEnB;EAAc;EAAd,CAAc,FAAoB;GAAlC,AAAc,FAAd;;GAEC,AAA2B,FAAsB;GACjD,FAAmB,AAAiC,AAA0B,AAAa;;EAIrF;;;0DAaY,xBAAwE;CAI/E,AAAqB;CAElC,CAAI,DAEH;EAAI,DAAC,AAAC,GAAoB,AAAQ,AAAoB,AAAO,HAAC,GAAwB,HAAC,GAAoB,HAAC,GAAyB,AAAC,HAAC,GAAmB,AAAK,AAAoB,AAAM,AAAsB,HAAyB;GAEvO,AAAgC;GAChC,AAAiC;GACjC,FAA+B;GAC/B,AAAoB;MAEd;GAEN,DAAI,EAAwB,AAAQ,AAAiC,HAAM;IAE1E,FAAI,EAAwB,HAE3B,EAAuB;IAIxB,DAAqC,FAAgC;IACrE,DAAiC,FAA0C;IAC3E,DAAgC,uBAAe,zBAAG,AAAG,AAAc;;GAIrD;GACf,AAAU;GAEV,DAAI,DAAC,GAAoB,AAAQ,AAAoB,AAAO,HAAsB;IAEtE;IAEX,FAAI,DAA6B;KAEnB;KACF;KAED;KAAV,FAAc,FAAQ;MAAtB;MAEC,FAAQ;;KAIT,FAAO;;IAIW,HAAa;IAEhC,DAA0B,FAAW;IACrC,DAA2B,FAAW;IAEtC,FAAI,EAAoB,HAAsB;KAE7C,JAAc,AAAK,AAAK,EAAkB,FAAG,EAAmB;KAEhE,HAAI,DAAsB;MAEzB,HAAoB,AAAM,FAAiB,AAA2B;MACtE;;KAID,HAAI,DAAkB;MAErB,HAAoB;MACpB,HAAsB,AAAM,FAAiB,AAAuB;MACpE;;;IAMF,FAAI,EAAwB,AAAC,AAA8B,AAA+B,HAAwB;KAE9F,JAAc,AAAW,AAAgB,AAAG,EAA+B;KAC9F,FAAoB,AAAM,FAAiB,AAA8B;KACzE,JAAkB,AAAc,AAAG,AAAG,AAAC,EAA8B,AAAS;MAExE,JAAI,EAAwB,AAAC,HAAU,EAA6B,AAA+B,FAAG;KAE/F,JAAS,AAAU,AAA4B;KAC9C,JAAS,AAAU,AAA4B;KAClD,JAAc,AAAW,AAAgB,AAAG,EAAW;KACnD,JAAc,AAAW,AAAgB,AAAQ;KAIhE,FAAoB;KACpB,JAAkB,AAAM,AAAG,AAAU,AAAC,EAA8B,AAAS;;IAI9E,FAAI,EAAsB,HAEzB,AAAY,AAAW,AAAM,AAAwB,AAAG,KAElD;KAEa;KACnB;KACc;KAEJ;KAAI;KAAd,JAAyC;MAAzC;MAEC,HAAQ,FAAmB;MAE3B,LAAY,AAAW,AAAgB,AAAa,AAAY,AAAc,AAAS;MACvF,FAAW,HAAa;;;MAMpB;IAEN,DAA0B,FAAW;IACrC,DAA2B,FAAW;IAEtC,FAAI,EAAoB,HAAsB;KAE7C,HAAI,DAEH,AAAc,AAAK,AAAK,EAAkB,FAAG,EAAmB,GAIhE,LAAc,AAAG,AAAG,AAAiB;KAItC,HAAI,DAAsB;MAEzB,HAAoB,AAAM,FAAiB,AAA2B;MACtE;;KAID,HAAI,DAAkB;MAErB,HAAoB;MACpB,HAAkB;MAClB,HAAsB,AAAM,FAAiB,AAAuB;MACpE;;;;GAQH,AAAoB,FAAuB;GAC3C,AAAoB;GACpB,FAAmB;;;;8DAWA,fAAiH;CAItI,EAAe,FAAsB;CACrC,EAAoB,AAAM,FAAiB,AAAc;CACzD,EAAuB;CAET;CAId,CAAI,DAAsC,AAEzC,EAAU,AAAc;CAIb;CAEZ,CAAI,DAAoB;EAEX,DAAY;EACb;EAEX;;;EAEU;EAAI;EAAd,DAA4B;GAA5B;GAEC,AAAO,FAAM;GACb,AAAe,FAAc;GAE7B,DAAI,CAAe,FAAI;IAEtB,CAAO,FAAe,FAAI;KAEzB,FAAO,AAAO,FAAgB,AAAG,EAAgB;KAEjD,HAAI,DAAqB,EAAc,AAAoB,CAAK,DAAI,FAAG;MAEtE,LAAY;MACZ,LAAY,AAAgB,AAAG;MAI/B,LAAY,EAAO,FAAgB,AAAG;KAIvC,FAAO,FAAa,EAAe,FAA5B;KACP,FAAe,FAAc;KAC7B,FAAO;;IAIR,FAAI,EAAQ,HAEX,EAAO,AAAO;MAIT;IAEN,DAAO,AAAO,FAAM,EAAK;IAEzB,FAAI,DAAqB,EAAc,AAAoB,CAAK,DAAI,FAAG;KAEtE,JAAY;KACZ,FAAO,FAAM,EAAK;MAIlB,HAAO;;;EAQV,AAAI,EAAQ,HAEX,AAAY;MAMb,HAAQ,FAAY;CAIrB;GAAa,FAAO;EAApB,CAAa,FAAb;;EAES;EAAR,IAAQ;KAEF;GAEJ,AAAoB;GACpB,FAAkB,AAAM,EAAU,AAAkB,FAAG,EAAI,FAAS;;KAEhE;GAEJ,AAAoB;GACpB,FAAkB,AAAM,EAAU,AAAkB,FAAG,EAAI,FAAS;;;GAIpE,AAAoB;GACpB,FAAkB,AAAM,EAAI,FAAS,EAAI,FAAS;;EAIpD,EAAW,DAAc,AAAQ;EACjC,CAAU;;;;;;;iDCzgBS,lBAGpB;EAAI,EAAgB,AAAQ,AAAyB,AAAuB,AAAqB,AAAQ,HAExG;EAAI,EAA+C,HAElD,AAAa,AAAQ,KAIrB,LAAc,AAAQ;MAIjB;EAEN,AAAI,EAAkB,HAAM;GAE3B,FAAmC;GACnC,AAAiB;GACjB,AAAiB;;EAIlB,AAAI,EAAmB,HAAM;GAE5B,FAAmC;GACnC,AAAkB;GAClB,AAAiB;;;;uDAUL,xBAAwE;CAGtF,CAAI,EAAkB,HAAM;EAE3B,DAAmC;EACnC,CAAiB;;CAIlB,CAAI,EAAmB,HAAM;EAE5B,CAAuB,FAAgC;EACvD,CAAmB,FAA4B;EAE/C,AAAI,DAAC,AAAkB;GAEd,AAAC,AAA6C;GAC9C,AAAC,AAAgD;GACjD,AAAC,AAA0C;;EAIpD,DAA+B,AAAQ,AAAiB;;CAIzD;CAEA,EAAwB;CACxB,EAAyB;CAEzB,EAA+B;CAC/B,AAA4B,AAA8C,AAAG;CAE7E,AAAwB,AAAQ,AAAe,AAAM,AAAO;;sDAM9C,vBAAuE;CAGrF,CAAI,EAAmB,HAAM;EAE5B,DAAmC;EACnC,CAAkB;;CAInB,CAAI,EAAkB,HAAM;EAE3B,CAAsB,FAAgC;EACtD,CAAqB;EACrB,DAA+B,AAAQ,AAAgB;;CAIxD,AAAwB,AAAQ,AAAe,AAAM,AAAM;;+CCvGrD,vBAEN;CAAO;;;;;;UAKQ,KAA4C;;UAqB5C,eAA0D;;SAc1D,EAAyB;;;;4CCjClC,bAA+D;CAErE,AAAO,AAAO;CAEd,EAAe;CAEf,EAAgB;CAChB,EAAwB;CACxB,EAA4B;CAGP;;;;;;;;;;;;;;;CAgBrB,EAA6B;CACK,AAAC,GAAoB,HAAvD,EAAmE,GAAnE,HAAyF;CACjD,AAAC,GAAoB,HAA7D,EAAyE,GAAzE,HAAsG;CAGtG,EAA4B,8CAAoB;CAEhD,EAAyB;;;;uDAKZ,aAAoI;CAGrI;CAEZ,CAAI,EAAgB,HAEnB,AAAmB,AAAiC,AAA2C,AAA4B;CAI5H,CAAI,EAA0B,FAAE,DAAiB;EAEhD,CAAyB;EACzB,DAAmB,AAAuB,AAAyB;;CAIpE,CAAI,EAAY,HAEf;EAAI,CAA6B,FAEhC,AAAmB,AAAuB,AAA6B,KAIvE,LAAsB;;CAMxB,CAAI,EAAW,HAEd;EAAI,EAA6B,HAEhC,AAAsB,KAEhB;GAEK,FAAqC;GAChD,FAAmB,AAAQ,EAAU,AAAS,AAAS,AAAa,AAAS,AAAc,AAAS,AAAS,FAAO;;;;8DAWzG,hBAA4G;CAE7G,EAAwB;CAEpC,AAAmB,AAAY,AAAY;CAC3C,AAAmB,AAAO,AAAK;CAC/B,AAAmB,AAAQ,AAAK;CAChC,AAAmB,AAAuC,AAAS;CAEnE,AAAmC;CAEnC,EAAoC;CACpC,EAAmC;CACnC,EAAwC;CACxC,EAAsC;CACtC,EAAyB;;;;QAMV,QAAmC;EAElD,CAA2B;EAE3B,CAAkB;EAClB,DAAmB;;;;;;;gDC1HC,lBAAwE;CAG7E;CAEf,CAAI,EAAe,AAAQ,AAAwB,AAAsB,AAAY,HAAM;EAE1F,AAAI,EAAoB,AAA6B,AAAC,AAAkB,AAAQ,AAAqB,HAAO;GAG3G,FAAuB,AAAU;GAKjC,DAAI,EAAqB,HAAM;IAE9B,FAAI,EAAkB,HAAM;KAE3B,FAAsB,FAAgC;KACtD,FAAkB,FAA2B;KAC7C,JAA+B,AAAO,AAAgB;;IAIvD,DAAuB;IACvB,DAAwB;IAExB,DAA8B;IAC9B,HAA2B,AAAmB,AAAG;MAIjD,JAAI,EAAkB,HAAM;IAE3B,HAAmC;IACnC,DAAiB;IACjB,DAAgB;;;EAQnB,AAAI,EAAkB,HAAM;GAE3B,DAAI,EAAiC,HAA2B;IAE/D,DAA4B;IAEZ;IAChB,HAAqB,AAAqB;IAC1C,DAAY,FAAgB;IAE5B,HAA2B,AAAiC,AAAsB,AAAtB,AAAkD;;GAI/G,FAAwB,AAAO,AAAe,AAAO,AAAO;;MAM7D,JAAI,EAAkB,HAAM;EAE3B,DAAmC;EACnC,CAAiB;EACjB,CAAgB;;;;;;qDCnEL,pCAA4C;CAE9C;CAAgB,KAAY;CACvC,GAAQ;CACA,AAAR,GAAsB,EAAtB,FAAgC;CAChC,GAAQ,DAAc;CACtB,GAAQ,DAAM,FAAC,EAAc,AAAkB;CAE/C,GAAQ,DAAK;;EAAQ;EAAR;;MAAQ;KAEf;IAAS;;KACT;IAAU;;KACV;IAAe;;;IACX,DAAM,AAAc;;;;;;CAIvB;;yDAKM,rCAAgD;CAI3C;CAElB,CAAI,EAAO,HAAM;EAEhB,CAAW,FAAgC;EAC3C,CAAgB,MAAU,RAAM,AAAc,AAAkB;EAChE,DAAuB,AAAQ,AAAS,AAAyB;EACjE,DAAuB,AAAkB,AAAQ;EACjD,CAAqB;EACrB,CAAgB;EAChB,DAAmC;;CAIpC,EAA4B;CAK5B,CAAI,EAAmB,HAEtB,EAAkB,FAAY,EAAoB,AAAK;CAIxD,EAA6B;CAE7B,CAAI,EAAmB,HAEtB,AAAmC;;oDAShB,lBAIpB;EAAI,EAAmB,AAAQ,AAA4B,HAAwB;EAElF,AAAI,EAAqB,AAAmB,HAE3C;EAAI,EAAoB,AAAM,AAAwB,HAAkB;IAEvE,FAAI,EAAmB,HAAM;KAE5B,FAAuB,FAAgC;KACvD,JAA+B,AAAW,AAAiB;KAC3D,JAA+B,AAAU,AAAW;;IAIzC;IAKZ,DAA4B;IAE5B,FAAI,DAEH,AAAmB,AAAoB,EAAM,FAAiB,AAA2B,AAAI,KAI7F,LAAsB;IAIvB,FAAI,DAEH,AAAmB,AAAU,EAAgB,FAAiB,AAAuB,AAAI,KAIzF,LAAsB;IAIvB,HAAmB,AAAQ,AAAS,AAAyB;IAC7D,HAAmB,AAAS,EAAM,FAAiB,AAA8B,AAAI;IAErF,FAAI,EAAsB,HAEzB,AAAmB,AAAS,AAAQ,KAIpC,LAAmB,AAAS,EAAoB,FAAM;IAIvD,HAAmB,AAAU,EAAqB,FAAM;IAEhD;IAAR,EAAQ;KAEF;KAEJ,JAAmB,AAAc,AAAU;;KAEvC;KAEJ,JAAmB,AAAc,AAAS;;;KAI1C,JAAmB,AAAc,AAAQ;;IAI3C,DAAoB;MAIpB,JAAI,EAAmB,HAAM;IAE5B,HAAmC;IACnC,DAAkB;;;EAQrB,AAAI,EAAmB,HAItB,AAAwB,AAAW,AAAe,AAAM,AAAM;MAM/D,JAAI,EAAmB,HAAM;EAE5B,DAAmC;EACnC,CAAkB;EAClB,CAAoB;;;;;;;mDChLF,pBAAkE;CAEtF,CAAI,DAAC,GAAuB,AAAuB,AAAK,AAAqB,AAAQ,HAAC,AAA6B;CAEnH,AAA2C,AAAmB,AAAkB,AAAyB,AAA8B,AAAqB,AAAoB;;8CCqD1K,wBA/BR;CA+BQ;;;;;CAHoB,AA5B5B,EA4B4B;CADD,AA3B3B,EA2B2B;CADJ,AA1BvB,EA0BuB;CADA,AAzBvB,EAyBuB;CAQrB,AAAO,AAAO;CAEd,EAAmB;CACnB,EAA6B;CAC7B,EAAa;CACb,EAAc;CAEd,EAAe,KACP,IACI,SACS,XACX,cACc;CAGxB,EAAe;CACf,EAAU;CAKV,EAAqB;CAGrB,AAAW,EAAgB;CAE3B,EAAmB;CAEnB,EAAa;CACb,EAAgB,AAAa;CAC7B,EAAgB,FAAC,EAAc;CAE/B,EAAS,mBAAW,rBAAG;CAEvB,AAAQ,AAAY;CACpB,EAAc;CAEd,EAAgB,sDAAmB;CACnC,EAAc,oDAAiB;CAC/B,EAAgB,sDAAmB,xDAAI;CACvC,EAAiB,uDAAoB;CACrC,EAAmB,yDAAsB;CAEzC,EAAgB;CAChB,EAAmB;CACnB,EAA0B;CAC1B,EAA8B;CAC9B,EAA4B;CAC5B,EAA8B;CAC9B,EAAiC;CACjC,EAA4B;CAC5B,EAA+B;CAC/B,EAAyB;CACzB,EAAmC;CACnC,EAAiC;CAEjC,EAAc,sDAAmB;CACjC,EAA4B;CAE5B,AAAwB;CAExB,AAAY;CACZ,AAAY;CAEZ,AAAW;CACX,AAAc,AAAM,AAAM,AAAM;;;;2DAsKnB,7BAA8E;CAE3F,CAAI,DAAC,GAAsB,AAAsB,HAAG;CACpD,CAAI,EAAoB,AAAQ,AAA6B,HAAM;CAEtD,AAAiB;CACjB;CAED;CACZ,AAAiB,AAA6B;CAC9C,EAAQ,FAAY;CAEpB,AAA4C,AAAQ,AAAM,AAAO,AAA6B,AAAoB,AAAmB;;;;SA7K/H,EAAyB;EAK/B,DAAW,EAAgB;EAE3B,CAAa;EACb,CAAS;EAET;EACA;EACA;EACA;EAEA,CAAgB;EAChB,CAAc;EACd,CAAc;EACd,CAAgB;EAEhB,CAAU;EAEV,CAAgB;;aAID,cACf;EAAI,DAAC,AAAC,GAAO,AAAK,AAAO,AAAK,AAAW,AAAS,AAAY,HAAS;GACtE,AAAM;GACN,AAAM;GACN,AAAU;GACV,AAAW;GACX,FAAY,AAAG,AAAG,AAAO;GACzB,FAAS,AAAG,AAAG,AAAO;;;UAIjB,iBAA+D;EAC7D;EACR;EACA,CAAM,AAAI,AAAQ;EAClB,CAAM,AAAK,AAAS;EACpB,CAAO,AAAK,AAAI;EAChB,CAAO,AAAI,AAAI;;mBA2BR,HAAgD;EAEvD;EACA,CAAc;;uBAKP,ZAAuC;EAoBrC;EACT;EAEA,DAA0B;EAC1B,DAAwB;EACxB,DAAwB;EACxB,DAA0B;EAE1B,CAAmB;EAKnB,CAAqB;EAGrB,DAAY;EACZ,DAAY;EAEZ,DAAW;EACX,DAAc,AAAM,AAAM,AAAM;EAEhC,DAAa,AAAG,AAAG,AAAO;EAS1B,CAAc;;QAKC,QAAmC;EAElD,AAAI,DAAa;EAIR;EACT,DAAa,AAAG,AAAG,AAAO;EAE1B,DAAoB,AAAgB;EAEpC,AAAI,DAEH,AAAe,AAAG,AAAG,AAAG,KAIxB,LAAe,AAAmB,AAAI,AAAmB,AAAI,AAAmB,AAAI;EAIrF,DAAU;EACV,DAAqB,AAAO;;qBAsBtB,qBAA+G;EAErH,DAA6C;EAE7C,CAA0B;EAC1B,CAAiC;EAEjC,DAAmB;EACnB,DAAqB,AAAe;EACpC,DAA0B;EAE1B;;QAKe,eAA6C;EAE5D,CAAa;EACb,CAAc;EAEd,DAAc,AAAO;EAErB,DAAa,AAAG,AAAG,AAAO;EAE1B,CAAgB,AAAQ;EACxB,CAAgB,FAAC,EAAS;;;;;;;sDC7Ub,pBAAmE;CAEhF,CAAI,DAAC,GAA0B,AAA0B,HAAG;CAE5D,AAA0B;CAE1B,AAAyB,AAAW;;;mDCK9B,tCAfR;CASsD,AATtD,EASsD;CADZ,AAR1C,EAQ0C;CAQxC,EAAK;CACL,EAAU;CAEV,EAAU;;;;kEAuFG,/BAA0G;CACpG,AAAqB,AAAI,AAAW;CAClC,AAAqB,AAAI,AAAa;CAC7C;CAEd,CAAI,EAAgB,AAAQ,AAAkB,HAAM;EACnD,DAAgB,AAAS;EACzB,DAAgB,AAAS;EACzB,DAAe;EAEf,AAAI,DAAuB,AAAS,GAAmB,HACtD,MAAO,NAAP;;CAIK;;iEAGD,rCAAuF;CACnF,AAAe;CACZ,AAAgB;CAC7B,AAAgB,AAAQ;CACxB,AAAiB;CAEjB,CAAI,DAAsB,AAAQ,GAAsB,HAAG;EAC1D,KAAO,NAAqB,AAA5B;EACO;;CAGD;;;MAjHA,KAAgB;EACvB,CAAU,FAAsB,AAAI,AAAW;EAC/C,DAAc;;SAGR,EAAmB;EACzB,AAAI,EAAW,HACd,AAAiB;EAGlB,CAAa;;mBAGP,CAAiD;EACvD,AAAI,EAAW,HACd,KAAM;EAEP,AAAI,DAAkB,AACd,AAAe,KAChB;GACS,FAAqB,AAAS;GAC7C,FAAe,AAAW;GACnB;;;oBAIF,FAA8D;EACpE,AAAI,EAAW,HACd,KAAM;EAEP,AAAI,DAAgB,AACZ,AAAa,KACd;GACS,FAAsB,AAAS;GAC9C,FAAa,AAAS;GACf;;;uBAIF,WAAkF;EAEzE,DAAkB;EACjC,DAA2B;EAC3B,DAAuB,AAAU,AAAsB,AAAgB,AAAsB,AAAQ,EAAS;;wBAGxG;;EACS,DAAkB;EACjC,DAA4B;EAC5B,AAAI,DACH;GAAO;GAAP,GAAO;KACD;IACJ,HAAmB,AAAU,AAAgC,AAAG;;KAC5D;IACJ,HAAmB,AAAU,AAAgC,AAAG;;KAC5D;IACJ,HAAmB,AAAU,AAAgC,AAAG;;;IAEhE,HAAmB,AAAU,AAAgC,AAAG;;;;iBAK7D,JAAyC;EAClC;EACA;EAEb;EAAkB;EAAlB,CAAkB,FAAe;GAAjC,AAAkB,FAAlB;;GACC,DAAI,DAAmB;IACtB,HAAsB,AAAW,AAAQ;IACzC,AAAU;MAEV,LAAuB,AAAW;;;mBAK9B,NACN;;EAAkB;EAAlB,CAAkB,FAAe;GAAjC,AAAkB,FAAlB;;GACC,FAAuB,AAAW;;;;;0DCvG7B,7CAAiC;CACvC,AAAM;CAEN,EAAY,FACV,EAAiB,AAAgB,FACjC,EAAiB,AAAgB,FACjC,EAAiB,AAAa,FAE9B,EAAe,AAAyB,FAExC,AACA,AAEA,AACA,EAAyB,AAAyB,AAAU,AAAgB,FAC5E,EAAiB,AAAgB,FACjC,EAAc,AAAa,FAC3B;CAGF,EAAc,FACZ,AACA,AACA,AAEA,EAAoB,AAAgB,FACpC,EAAe,AAAwB,FACvC,EAAe,AAAoB,FAEnC,AACA,AAEA,AACA,AACA,AACA,AACA,AACA,AACA,AACA,AAEA,AACA,EAAyB,AAAgB,FACzC,EAA+C,AAAwB,AAAI,AAAoB,FAC/F;CAIF;;;;;;MAIgB,KAAgB;EAChC;EAEA,DAAkB;EAClB,DAAkB;EAClB,DAAkB;EAClB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;;;;;;;;;;;gEC3Db,nDAAiC;CACvC,AAAM;CAEN,EAAY,FACV,EAAiB,AAAgB,FACjC,EAAiB,AAAgB,FACjC,EAAiB,AAAa,FAC9B,EAAe,AAAyB,FAExC,AACA,AAEA,AACA,EAAyB,AAAyB,AAAU,AAAgB,FAC5E,EAAiB,AAAgB,FAEjC,EAAc,AAAa,FAC3B;CAIF,EAAc,FACZ,AACA,AACA,AAEA,EAAoB,AAAgB,FACpC,EAAe,AAAc,FAC7B,EAAe,AAAmB,FAClC,EAAgB,AAAc,FAC9B,EAAe,AAAwB,FACvC,EAAe,AAAoB,FAEnC,AACA,AAEA,AAEA,AACA,AACA,AACA,AACA,AACA,AACA,AACA,AAEA,AACA,EAAQ,AAAmB,FAC3B,EAAyB,AAAgB,FACzC,AACA,EAAoB,AAAc,FAClC,AACA,EAAgD,AAAwB,AAAI,AAAoB,FAChG;CAGF;;;;;;MAGQ,KAAgB;EACxB;EAEA,DAAkB;EAClB,DAAkB;EAClB,DAAkB;EAElB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;;;;;;;;;;;uDC1Eb,1CAAiC;CACvC,AAAM;CAEN,EAAY,FACV,EAAiB,AAAgB,FACjC,EAAe,AAA0B,FACzC,EAAe,AAAyB,FAExC,EAAe,AAAc,FAC7B,EAAgB,AAAc,FAC9B,EAAe,AAAwB,FACvC,EAAe,AAAoB,FAEnC,AAEA,AACA,AACA,AACA,AACA,AACA,AACA,AACA,AAEA,AACA,EAAyB,AAAyB,AAAK,AAA0B,AAAU,AAAgB,FAC3G,EAA6B,AAAc,AAAI,AAAc,AAAI,AAAwB,AAAI,AAAoB,FACjH;CAIF,EAAc,FACZ,AACA,AACA,AAEA,AAEA,AACA,AACA;CAGF;;;;;;MAGQ,KAAgB;EACxB;EAEA,DAAkB;EAClB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;;;;;;;;;;;8DCtDb,jDAAiC;CACvC,AAAM;CAEN,EAAY,FACV,EAAiB,AAAgB,FACjC,EAAe,AAA0B,FACzC,EAAe,AAAyB,FACxC,EAAe,AAAsB,FAErC,AAEA,AACA,EAAyB,AAAyB,AAAK,AAA0B,AAAU,AAAgB,FAC3G,EAAkB,AAAsB,AAAU,AAAgB,FAClE;CAIF,EAAc,FACZ,AACA,AACA,AAEA,EAAgB,AAAc,FAC9B,EAAe,AAAkB,FACjC,EAAe,AAAkB,FACjC,EAAoB,AAAgB,FAEpC,EAAe,AAAwB,FACvC,EAAe,AAAoB,FAEnC,AAEA,AACA,AACA,AACA,AACA,AACA,AACA,AACA,AACA,AAEA,AACA,EAAoB,AAAkB,AAAI,AAAkB,FAC5D,EAA2B,AAAgB,FAC3C,EAAyC,AAAc,AAAI,AAAwB,AAAI,AAAoB,FAC3G;CAGF;;;;;;MAGQ,KACT;EACC;EAEA,DAAkB;EAElB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;;;;;;;;;;;4DCnEb,/CAAiC;CACvC,AAAM;CAEN,EAAa,FACX,EAAiB,AAAgB,FACjC,EAAiB,AAAa,FAE9B,EAAe,AAA0B,FACzC,EAAe,AAAyB,FACxC,EAAe,AAAwB,FACvC,EAAe,AAAoB,FACnC,EAAgB,AAAc,FAE9B,AAEA,AACA,AACA,AACA,AACA,AACA,AACA,AACA,AAEA,AACA,EAAyB,AAAyB,AAAK,AAA0B,AAAU,AAAgB,FAC3G,EAA6B,AAAa,AAAI,AAAc,AAAI,AAAwB,AAAI,AAAoB,FAChH;CAGF,EAAc,FACZ,AACA,AACA,AAEA,AAEA,AACA,AACA;CAGF;;;;;;MAGQ,KACT;EACC;EAEA,DAAkB;EAClB,DAAkB;EAClB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;EACnB,DAAmB;;;;;;;;;;;;0DChDb,7CAAkC;CAExC,EAAU;CACV,EAAmB;CAEnB,CAAI,EAAgB,HAAM;EAEzB,CAAe;EAEf,DAAkB,AAAkB,KAAO,CAAW,AAA2B;EACjF,DAAkB,AAAe,KAAO,CAAW,AAAW;EAC9D,DAAkB,AAAoB,KAAO,CAAiB,AAA2B;EACzF,DAAkB,AAAkB,KAAO,CAAW,AAA2B;EACjF,DAAkB,AAAoB,KAAO,CAAW,AAAW;EAGnE,DAAkB,AAAiB,KAAO,CAAW,AAA2B;EAEhF,DAAkB,AAAkB,KAAO,CAAW,AAA2B;EAEjF,DAAkB,AAAmB,KAAO,CAAW,AAA2B;EAElF,DAAkB,AAAiB,KAAO,CAAW,AAA2B;EAEhF,DAAkB,AAAiB,KAAO,CAAW,AAA2B;EAGhF,DAAkB,AAAkB,KAAO,CAAW,AAA2B;EACjF,DAAkB,AAAsB,KAAO,CAAW,AAA2B;EACrF,DAAkB,AAAqB,KAAO,CAAW,AAA2B;EACpF,DAAkB,AAAmB,KAAO,CAAW,AAA2B;;;;;;SAO7E,EAEN;GAAK;;cAKC;;EAEN,AAAI,EAAa,HAAM;GAEtB,AAAY;GACZ,AAAQ;;EAIT,AAAI,DAAC,GAAS,AAAoB,HAE1B;EAIR,CAAmB;EAEO,DAAa;EACvC,DAAiB;EACjB,DAAa,AAAa;EAGnB;;;;;;;;;;;kDC7CD,vCAbR;CAW+B,AAX/B,EAW+B;CAFG,AATlC,EASkC;CAFA,AAPlC,EAOkC;CADH,AAN/B,EAM+B;CADH,AAL5B,EAK4B;CAS1B,EAAO;CACP,EAAO;;;;2DAoBM,rCACb;CAAO,AAAiB,AAAU;;;QAlB5B,8BAAwF;EAC9F,DAAW;EACX,CAAY;EACZ,CAAiB;EACjB,CAAe;;YAGT,GAAyC;EAC/C,CAAkB;EAClB,CAAkB;EACA,EAAc,HAAhC,EAAuC,GAAvC,HAA2C;EACrB,EAAkB,HAAxC,EAA+C,GAA/C,HAAsE;EACrD,EAAa,HAA9B,EAAqC,GAArC,HAAuD;EACpC,EAAe,HAAlC,EAAyC,GAAzC,HAA4D;EAC5D,CAAuB;;;;;;;;;;;8DAoBT,nDAA0B;CAChC;CACR,CAAI,EAAK,HAAG;CAEZ,CAAI,EAAsB,AAAW,AAAsB,HAAM;EACvD,DAAqB;EACrB,DAAqB;EACrB,DAAqB,EAAI;EACzB,DAAqB,EAAI;EAElC,AAAI,DAAC,AAAC,GAAM,AAAM,AAAM,HACvB,AAAO,AAAI;;;4DAKC,jDAAyB;CAEvC,EAAS;CACT;;2DAIqB,7CAAmC;CAExD;CACA,EAAgB;CAChB,AAAqB,AAAQ,AAAQ,AAAa;CAClD,EAAqB;CACrB,AAA2B;CAC3B,AAA2B;CAE3B,AAAkB;;2DAIG,7CAAmC;CAC3C;CACS;CAGtB,CAAI,CAAgB,FAAG;EACV,DAAO,EAAc;EACrB,DAAO,EAAc;EACjC,AAAI,EAAS,AAAK,AAAS,HAC1B,EAAa;;CAIf,CAAI,EAAc,HAAM;EACvB,DAA2B;EAC3B,DAA2B;;;4DAIP,xCAAwD;CAC7E,CAAI,EAA+B,HAElC;;;;;CAAQ;EAAR,DAAW;EAAX;;CAIc;CACA;CACP;CAEK;CACD,AAAO,EAAc;CACrB,AAAO,EAAc;CAElB;CACA;CAEC;CAEN;CAAI,EAAC,AAAI;CAAnB,AAAuB;EAAvB;EAEC,CAAM,AAAI;EAEV,CAAK,AAAQ,AAAC,FAAC,EAAK,AAAS;EAC7B,CAAK,AAAQ,AAAC,FAAC,EAAK,AAAS;EAE7B,CAAK,AAAK,FAAC,AAAE,EAAK,FAAC,EAAI,AAAM,AAAQ,AAAM;EAC3C,CAAK,AAAK,FAAC,AAAE,EAAK,FAAC,EAAI,AAAM,AAAQ,AAAM;EAE3C,DAAa;EACb,DAAa;;;iEAKO,rCAAkF;CACvG,CAAI,EAA+B,HAElC;;;;;CAAQ;EAAR,DAAW;EAAX;;CAIO;CACO;CACC;CACA;CACD;CACA;CAEF;CACD,AAAO,EAAc;CACrB,AAAO,EAAc;CAElB;CACA;CAEC;CAEN;CAAI,EAAC,AAAI;CAAnB,AAAuB;EAAvB;EAEC,CAAM,AAAI;EAEV,CAAK,AAAI;EACT,CAAM,AAAK;EACX,CAAM,AAAM;EAEZ,CAAK,AAAM;EACX,CAAK,AAAK;EAEV,CAAK,AAAM,AAAQ,AAAI,AAAM,AAAM,AAAK,AAAI,AAAK,AAAK,AAAM,AAAK;EACjE,CAAK,AAAM,AAAQ,AAAI,AAAM,AAAM,AAAK,AAAI,AAAK,AAAK,AAAM,AAAK;EAEjE,DAAa;EACb,DAAa;;;mEAKO,xDAErB;EAAI,EAA6B,AAA+B,HAC/D,KAEA;;0DAKY,pCAA8D;CAErD;CACT;CAEb,EAAc;CACd,EAAgB;CAChB,EAAS;CACT,EAAS;CACT,EAAc;CAEd,EAAU,FAAmB;CAE7B,CAAI,EAAW,HAEd,EAAU,FAAmB,EAA0B,gDAAa;CAIrE,CAAI,DAAC,GAAsB,AAA8B,AAAK,AAAU,AAAQ,AAAgB,AAAK,AAAiB,HAAG;MAIlH;EAEN;EAAgB;EAAhB,CAAgB,FAAqB;GAArC,AAAgB,FAAhB;;GAEC,GAAQ;KAEF;IAFE;;;;IAIN;IACS,AAAU,HAAnB,EAA0B,FAAQ,AAAQ,AAAQ,AAAQ,KAA1D,HAAoE;IAEpE,FAAI,EAA+B,HAAG;KACrC;KACA,FAAgB;KAChB,JAAqB,AAAQ,AAAQ,AAAa;KAClD,FAAuB;KACvB,FAAqB;KACrB,JAAiB;;;KAGd;IAhBE;;IAkBN;IACS,DAAQ,FAAjB,EAAqB,FAAM,EAAM,FAAU,KAA3C,HAAoD;IAEpD,FAAI,EAA+B,HAAG;KACrC;KACA,FAAgB;KAChB,JAAqB,AAAQ,AAAQ,AAAa;KAClD,FAAuB;KACvB,FAAqB;KACrB,JAAiB;;;KAGd;IA9BE;;;;;;IAgCN,HAAc,AAAI,AAAI,AAAK,AAAK,AAAG;;KAE/B;IAlCE;;;;IAoCN,HAAS,AAAI,AAAI,AAAG;;KAEhB;IAtCE;;;IAwCN;IAEA,DAAgB;IAChB,HAAqB,AAAQ,AAAQ,AAAa;IAClD,DAAqB;IACrB,DAAuB,FAAE,AAAG,AAAG;IAE/B,HAAkB;;KAEd;IAjDE;;;;IAmDN;IAEA,DAAgB;IAChB,HAAqB,AAAQ,AAAQ,AAAa;IAClD,DAAqB;IACrB,DAAuB,FAAE,AAAG,AAAG,AAAO;IAEtC,HAAkB;;KAEd;IA5DE;;;;IA8DN;IAEA,DAAgB;IAChB,HAAqB,AAAQ,AAAQ,AAAa;IAClD,DAAqB,FAAW;IAChC,DAAuB,FAAE,AAAG,AAAG,AAAO;IAEtC,HAAkB;;KAEd;IAvEE;;;;;;IAyEN,FAAI,EAAM,HAAI,EAAK;IAEnB,AAAM;IACN,AAAM;IAEN,FAAI,CAAK,AAAQ,FAAG,EAAK,AAAQ;IACjC,FAAI,CAAK,AAAS,FAAG,EAAK,AAAS;IAEnC;IAEA,DAAgB;IAChB,HAAqB,AAAQ,AAAQ,AAAa;IAClD,DAAqB,FAAW;IAChC,DAAuB,FAAE,AAAG,AAAG,AAAO,AAAQ,AAAI;IAElD,HAAkB;;KAEd;IAEJ;;KAEI;IA9FE;;;;;;;;IAgGN,DAAS;IAET,FAAI,EAAa,AAAQ,HAAW,GAAc,DAAY,FAE7D,EAAe,GAET,JAAI,EAAa,HAEvB,EAAe,GAIf,HAAe;IAIhB;IAEe,AAAS,HAAxB,EAA+B,GAA/B,HAAmC;IACpB,AAAS,HAAxB,EAA+B,GAA/B,HAAmC;IACnC,DAAmB;IACnB,DAAc;IACd,DAAgB;IAChB,DAAoB;IAEpB,DAAgB;IAChB,HAAqB,AAAQ,AAAQ,AAAa;IAClD,DAAuB;IACvB,DAAqB;IAErB,HAAkB;;KAEd;IAhIE;;IAkIN,HAAQ,AAAG;;KAEP;IApIE;;IAsIN;;;;CAAO;IAAP,HAAU;IAAV;;KAEI;IAxIE;;;;;;IA0IQ;;KAAO;KAAP,CAAO;KAAe;MAAa;;;MAAc;;;IAC/D,FAAI,EAAW,AAAW,HAExB;IAGF;IAEA,DAAgB;IAChB,HAAsB,AAAQ,AAAQ,AAAa;IACnD,FAAI,EAAW,HAAM;KACV;;;;;;;KAAV,FAAU;KACV;MAAO;MAAP,AAAO;KACD;OADC;OAEK;OAAI,JAAQ,AAAkB,AAA1B;OAAd,NAA4C;QAA5C;QACC;;;;;;;;;;GAAa,FAAS,EAAI,AAAK;;QAA/B;QACA;;;;;;;;;;GAAa,FAAS,EAAI,AAAI,AAAK;;QAAnC;;;;;;;IAKJ,DAAqB,FAA2B,AAAU,AAAS,AAAS,AAAS,AAAQ;IAC7F,DAA4B;IAC5B,HAAkB;;KAEd;IAnKE;;;;;IAoKN;IAEA;IACA,DAAgB;IAChB,HAAsB,AAAQ,AAAQ,AAAa;IACnD,DAAqB,FAAsB,AAAO,AAAU,AAAQ,AAAO;IAC3E,DAA4B;IAC5B,HAAkB;;KAGd;IA9KE;;;IA+KN;IAEA,EAAM;KACA;KACJ,FAAmB;;KACf;KACJ,FAAmB;;;KAEnB,FAAmB;;IAGrB;IACA;;IACA;;IACA;;IACU;IACA;IAAI;IAAd,HAA+B;KAA/B;KACC,FAAU,FAAS;KACnB,CAAO;KACD;MACJ,HAAK,FAAK;MACV,HAAK,FAAK,EAAM;MAChB,FAAO;MACP;;;;CAAO;MAAP,LAAW;MAAX;;KACI;MACJ,HAAK,FAAK,EAAM;MAChB,HAAK,FAAK,EAAM;MAChB,FAAO;MACP;;;;CAAO;MAAP,LAAW;MAAX;;KACI;MACJ,HAAK,FAAK;MACV,HAAK,FAAK,EAAM;MAChB,FAAO;MACP,LAAO,AAAI;;KACP;MACJ,HAAK,FAAK,EAAM;MAChB,HAAK,FAAK,EAAM;MAChB,FAAO;MACP,LAAO,AAAI;;KACP;MACJ,HAAK,FAAK;MACV,HAAK,FAAK,EAAM;MAChB,HAAK,FAAK,EAAM;MAChB,HAAK,FAAK,EAAM;MAChB,FAAO;MACP,LAAQ,AAAI,AAAI,AAAI;;KAChB;MACJ,HAAM,FAAK;MACX,HAAM,FAAK,EAAM;MACjB,HAAM,FAAK,EAAM;MACjB,HAAM,FAAK,EAAM;MACjB,HAAM,FAAK,EAAM;MACjB,HAAM,FAAK,EAAM;MACjB,FAAO;MACP,LAAa,AAAI,AAAI,AAAK,AAAK,AAAI;;;;;IAMtC,DAAmB;;KAEf;IA7OE;IA8ON;IAEA,DAAgB;IAChB,HAAsB,AAAQ,AAAQ,AAAa;IACnD,DAAqB,FAA2B;IAChD,DAA4B;IAC5B,HAAkB;;;;;EAOrB;;CAID,EAAuB;CAEhB;;mDAgBD,xCAAe;CACrB,EAAQ;CACR,EAAQ;CACR,EAAQ;CACR,EAAY;CACZ,EAAO;CACP,EAAS;CACT,EAAa;;;;;;;;;;;;;;;;;;;;uDC1eP,9BAAoD;CAE1D,EAAmB;CAEnB,EAAc;CAEd,EAAU;CACV,EAAU;CAEV,AAAY;;;;;iBAKN,wBAA4F;;OAmD5F,wBAA+E;EAErF,CAAqB;EACrB,CAAgB;EAGhB,CAAQ;EACR,CAAS;EACT,CAAc;;SAKR,EAAyB;EAEtB;EAET,CAAc;EAEd,CAAU;EACV,CAAU;EAEV;EAAgB;EAAhB,CAAgB,FAAa;GAA7B,AAAgB,FAAhB;;GAEC;;EAID,CAAc;EAEd,DAAiB;EACjB,DAAiB;EACjB,DAAiB;EACjB,DAAiB;;mBAKX,RAAmC;EAEhC;EAET,CAAe;EACf,CAAW;EACX,CAAc;EACd,CAAc;EAEd,CAAc,cAAkB,hBAAE,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK;EAErE,DAAe,AAAiB;EAChC,DAAe,AAAiB,AAAa;EAE7C,CAAU,cAAkB,hBAAE,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK;EAEjE,DAAe,AAAiB;EAChC,DAAe,AAAiB,AAAS;EAEzC,CAAa,cAAkB,hBAAE,AAAK,AAAU,AAAK,AAAU,AAAK,AAAU,AAAK;EAEnF,DAAe,AAAiB;EAChC,DAAe,AAAiB,AAAY;EAE5C,DAAe,AAAyB;EACxC,DAAe,AAAyB,eAAiB,fAAE,AAAG,AAAG,AAAG,AAAG,AAAG,AAAM;;WAK1E,AAA2B;;YA+J3B,UAA+C;;YA4E/C,CAA8C;EAEpD,CAAU;EACV,CAAc;EAEd;;;;uDCpYM;;CAEN,EAAU;CAEV,EAAc;CACd,EAAU;CAEV,AAAgB,AAAe;CAC/B,AAAkB,AAAe,AAAuB,AAAY,AAAY;CAChF,AAAkB,AAAe,AAAuB,AAAY,AAAY;CAChF,AAAkB,AAAe,AAAmB;CACpD,AAAkB,AAAe,AAAmB;CAEpD,AAAoB,AAAgB;CACpC,AAAyB,AAAgB,AAAsB,AAAe,AAAS;CAEvF,EAAe;CACf,AAAqB,AAAiB;CACtC,AAA4B,AAAgB,AAA6B,AAAiB;CAE1F,AAAQ,AAAO;;;;;OAKT,IAAuB;EAE7B,DAAe,AAAG,AAAG,AAAG;EACxB,DAAU;;SAKJ,EAAyB;EAE/B,DAAsB;EACtB,DAAkB;EAElB,CAAc;EACd,CAAU;;QAKJ,eAA6C;EAEnD,AAAI,EAAc,AAAS,AAAe,HAAQ;EAElD,CAAa;EACb,CAAc;EAEd,DAAgB,AAAe;EAC/B,DAAe,AAAe,AAAG,AAAS,AAAO,AAAQ,AAAG,AAAS,AAAkB;EAEvF,DAAqB,AAAiB;EACtC,DAAwB,AAAiB,AAAkB,AAAO;;;;uDC7D5D,/BAA2C;CAEjD,AAAO;CAEP,AAAY;;;;;;SAKN,EAEN;GAAK;;UAKU,KAEf;CAAuC,AAAM;;SAK9B,EAEf;CAAsC,AAAM;;YAKtC,CAAyC;EAE/C,AAAI,EAAiB,HAEpB,EAAmB;EAIpB,CAAU;;;;yDCnCJ,FAXR;CAWQ;CALmB,AAN3B,EAM2B;CAHG,AAH9B,EAG8B;CAS5B,EAAkB;CAClB,EAAY;CACZ,EAAkB;CAClB,EAAY;CAEZ,CAAI,EAAgB,HACnB,EAAoB,cAAiB,XAErC,HAAoB;;;;;MAKf,KACN;EAAO,yDAAoB,1DAAY,AAAM,AAAY,AAAM;;kBAGjD,PACd;EAAc;EAAP,IAAO;KACR,AAAM;GAAe;KACrB,AAAO;GAAgB;;GACnB;;;cAII,HACd;EAAO,DAAW,AAAC,EAAa,AAAsB;;;;;wBCgHhD;;;;;CAEN,EAAS;CACT,EAAS;CACT,EAAa;CACb,EAAc;;;;;OAcR,IAEN;EAAO,wBAAe,zBAAG,AAAG,AAAO;;UAc7B,IAEN;EAAO,EAAK,AAAU,AAAK,AAAU,DAAI,CAAS,DAAI;;eAgBhD,CAEN;EAAO,DAAU,AAAS;;cAgBpB,CAEN;EAAI,EAAc,AAAK,AAAe,HAE9B,EAAS,CAAK,DAAS,CAAK,DAAa,CAAS,DAAc,GAIhE,FAAU,AAAK,AAAU,AAAK,AAAc,AAAS,AAAe;;UAOtE,WAA8C;EAEpD,CAAI;EACJ,CAAI;EACJ,CAAQ;EACR,CAAS;;QAkBH,YAEN;EAAO,EAAa,AAAQ,AAAK,AAAe,AAAK,AAAe,AAAS,AAAmB,AAAU;;SAkBpG,OAA2C;EAEjD,EAAK;EAAI,EAAS,DAAK;EACvB,EAAK;EAAI,EAAU,DAAK;;cAiBlB,EAEN;CAAS,AAAS;;cAoBZ,QAAwD;EAErD;GAAI,FAAgB,KAAgB;EACpC;GAAQ,FAAoB,KAAoB;EAEzD,AAAI,EAAM,HAEF;EAIC;GAAI,FAAgB,KAAgB;EACpC;GAAS,FAAqB,KAAqB;EAE5D,AAAI,EAAM,HAEF;EAID,wBAAe,zBAAI,AAAI,EAAK,FAAI,EAAK;;YAiBtC,UAAiD;EAE9C;GAAI,FAAgB,KAAgB;EACpC;GAAQ,FAAoB,KAAoB;EAEzD,AAAI,EAAM,HAEF;EAIC;GAAI,FAAgB,KAAgB;EACpC;GAAS,FAAqB,KAAqB;EAErD,CAAK;;SAWN,EAEN;EAAO,KAAC,HAAS,AAAK,AAAU;;QAY1B,QAA0C;EAEhD,EAAK;EACL,EAAK;;aAYC,GAAwC;EAE9C,EAAK;EACL,EAAK;;UAaC,CAEN;GAAI,AAAI,AAAQ,AAAS;;OAKnB,wBAAsE;EAE5E,CAAI;EACJ,CAAI;EACJ,CAAQ;EACR,CAAS;;WAKH,CAAwC;EAEpC,CAAM,AAAI,AAAM;EAChB;EACA,CAAM,AAAI,AAAM;EAChB;EAED,CAAM,FAAC,EAAI,AAAS,AAAM;EAC1B,CAAM,FAAC,EAAI,AAAS,AAAM;EAEnC,AAAI,CAAK,FAAK,EAAM;EACpB,AAAI,CAAK,FAAK,EAAM;EACpB,AAAI,CAAK,FAAK,EAAM;EACpB,AAAI,CAAK,FAAK,EAAM;EAEpB,CAAK,AAAM,FAAC,EAAI,AAAS,AAAM,FAAC,EAAI;EACpC,CAAK,AAAM,FAAC,EAAI,AAAS,AAAM,FAAC,EAAI;EAEpC,AAAI,CAAK,FAAK,EAAM;EACpB,AAAI,CAAK,FAAK,EAAM;EACpB,AAAI,CAAK,FAAK,EAAM;EACpB,AAAI,CAAK,FAAK,EAAM;EAEpB,CAAK,AAAM,AAAI,AAAM,FAAC,EAAI;EAC1B,CAAK,AAAM,AAAI,AAAM,FAAC,EAAI;EAE1B,AAAI,CAAK,FAAK,EAAM;EACpB,AAAI,CAAK,FAAK,EAAM;EACpB,AAAI,CAAK,FAAK,EAAM;EACpB,AAAI,CAAK,FAAK,EAAM;EAEb,wBAAe,vBAAM,FAAM,EAAM,FAAM,EAAM,FAAK,EAAM;;OAgBzD,WAA6C;EAEnD,AAAI,EAAS,AAAK,AAAU,HAEpB,KAED,JAAI,EAAiB,AAAK,AAAkB,HAE3C;EAIC;GAAI,FAAY,KAAY;EAC5B;GAAQ,FAAgB,KAAgB;EACxC;GAAI,FAAY,KAAY;EAC5B;GAAS,FAAiB,KAAiB;EAE7C,wBAAe,zBAAI,AAAI,EAAK,FAAI,EAAK;;YAKvB,eAAuE;EAE5F,AAAI,EAAc,AAAK,AAAe,HAErC;EAIgB;EACC;EAElB,AAAI,CAAS,FAAG,EAAS;EACzB,AAAI,CAAS,FAAG,EAAS;EACzB,AAAI,CAAa,AAAI,FAAO,EAAa,AAAI,AAAQ;EACrD,AAAI,CAAc,AAAI,FAAQ,EAAc,AAAI,AAAS;;UAKpC,iBAAqE;EAE1F,AAAI,EAAc,AAAK,AAAe,HAAG;GAExC,AAAS;GACT,AAAS;GACT,AAAa;GACb,AAAc;GACd;;EAIgB;EACC;EAElB,AAAI,CAAS,FACb;GACC,AAAS;GACT,AAAa,AAAa;;EAE3B,AAAI,CAAS,FACb;GACC,AAAS;GACT,AAAc,AAAc;;EAE7B,AAAI,CAAa,AAAI,FAAO,EAAa,AAAI,AAAQ;EACrD,AAAI,CAAc,AAAI,FAAQ,EAAc,AAAI,AAAS;;mBAKnC,RAEtB;EAAO,sBAAmB,vBAAG,AAAG,AAAO;;YAYjB,DAA+B;EAAO,CAAI;;YAC1C,AAAoC;EAAE,CAAS,AAAI;EAAU;;iBAC7D,NAAoC;EAAO,oBAAW,nBAAI,FAAO,EAAI;;iBACrE,LAAyC;EAAE,CAAQ,AAAM;EAAG,CAAS,AAAM;EAAU;;UACrF,CAA6B;EAAO;;UACpC,EAAkC;EAAE,EAAS,DAAI;EAAG,CAAI;EAAU;;WAClE,AAA8B;EAAO,CAAI;;WACzC,CAAmC;EAAE,CAAQ,AAAI;EAAU;;UAC3D,CAA6B;EAAO,oBAAW,rBAAO;;UACtD,EAAkC;EAAE,CAAQ;EAAK,CAAS;EAAY;;SACtE,EAA4B;EAAO;;SACnC,GAAiC;EAAE,EAAU,DAAI;EAAG,CAAI;EAAU;;aAClE,FAAgC;EAAO,oBAAW,rBAAG;;aACrD,DAAqC;EAAE,CAAI;EAAK,CAAI;EAAY;;;;;oBChiBhF;;;CAEN,EAAS;CACT,EAAS;;;;6BA8CI,XAA+C;CAEnD,EAAQ;CACR,EAAQ;CACV,AAAW,EAAK,AAAK,AAAK;;gCAuCpB,ZAEb;CAAO,qBAAW,nBAAQ,AAAI,FAAC,EAAQ,FAAQ,EAAQ,AAAI,FAAC,EAAQ;;0BAwDvD,NAEb;CAAO,qBAAW,nBAAM,FAAU,AAAQ,EAAM,FAAU;;;KAzIpD,OAEN;EAAO,oBAAW,nBAAM,FAAG,EAAM;;OAU3B,IAEN;EAAO,oBAAW,rBAAG;;UAKf,YAA2C;EAEjD,CAAI;EACJ,CAAI;;QA6BE,YAEN;EAAO,EAAa,AAAQ,AAAe,AAAK,AAAe;;WAwCzD,SAEN;EAAI,EAAK,AAAK,AAAK,HAElB,KAEM;GAEK,AAAY,FAAW,EAAI,AAAI,AAAI;GAC9C,CAAK;GACL,CAAK;;;QAiBA,QAA0C;EAEhD,EAAK;EACL,EAAK;;OAmBQ,SAAyC;EAEtD,CAAI;EACJ,CAAI;;UAWE,EAEN;EAAO,oBAAW,nBAAI,FAAK,EAAI;;UAazB,CAEN;EAAO,CAAQ,AAAI,AAAS,AAAI;;iBAKV,NAEtB;EAAO,oBAAa,rBAAG;;YAYD,DAEtB;EAAO,DAAW,EAAI,AAAI,AAAI;;;;;;;;;;;;;;sEC1LjB;;CACE;CAEP,AAAS;CACT,AAAS;CACL,AAAS;CACR;CAAC,GAAmB,HAAK,KAAQ,LAAS;CAEvD,CAAI,EAAa,HAAS;EACzB,EAAS;EACT,EAAU;EACV,EAAK;EACL,EAAK;;CAGN,CAAG,DAAa;EACf,EAAK;EACL,EAAK;;CAGU;CACN,EAAC,AAAU,AAAK;CAEb,AAAc,AAAM;CACtB,AAAe;CAE1B,CAAG,EAAQ,HAAM;EACJ;EACE;EAEA,CAAS,AAAe,AAAxB;EAEd,DAAc;EAEJ;EAAI,CAAY;EAA1B,DAA6B;GAA7B;GAEC,FAAY;GACZ,FAAY;GAEZ,FAAY,EAAI,FAAU,EAAM,AAAK;GACrC,FAAY,EAAI,FAAU,EAAM,AAAK;GAErC,FAAc;GACd,FAAc;;EAIf,DAAc,EAAU;;CAKzB,CAAI,CAAkB,FAAG;EAEP;EACjB,CAAc;EAEJ;EAAI,CAAY;EAA1B,DAA6B;GAA7B;GAEC,FAAkB,EAAI,FAAU,EAAM,AAAK;GAC3C,FAAkB,EAAI,FAAU,EAAM,AAAK;;EAI5C,DAAW,AAAM;EACjB,CAAc;;;2EAMF;;CAES;CAEtB,CAAI,EAAsB,HAAG;EACf;EAEb,AAAG,DACF;GAAU;GAAI,AAAQ,AAAgB,AAAxB;GAAd,FAA0C;IAA1C;IACC,HAAO,EAAI,CAAM;IACjB,HAAO,EAAI,AAAI,CAAM;;;EAKvB,CAAS,FAAc,AAAM;EAClB,DAAe;EAC1B,CAAgB;EAChB,CAAa;EAEC;EACD,CAAS,AAAgB,AAAzB;EACH;EAAV,CAAc,FAAQ;GAAtB;GAEC,FAAc;;;CAKhB,CAAI,CAAkB,FAAG;EAExB,AAAI,EAAU,HACb,EAAS,FAAc,AAAM;EAE9B,DAAW,AAAM,AAAQ;;;oEAKb;;CAEA;CACb,CAAI,EAAiB,HAAG;CAEb,AAAe;CAE1B,CAAI,DACH;EAAU;EAAI,CAAQ,AAAgB,AAAxB;EAAd,DAA0C;GAA1C;GACC,FAAO,EAAI,CAAM;GACjB,FAAO,EAAI,AAAI,CAAM;;;CAiBN,qBAAW,rBAAO,AAAI,AAAO;CAC9B,qBAAW,rBAAO,AAAS,EAAgB,AAAzB,FAA8B,AAAO,AAAS,EAAgB,AAAzB;CAEvE,CAAI,EAAgB,AAAe,AAAgB,HAAa;EAE/D,CAAS;EAET;EACA;EAEA,CAAY,mBAAW,rBAAO,AAAS,EAAgB,AAAzB,FAA8B,AAAO,AAAS,EAAgB,AAAzB;EAEnD,CAAc,FAAC,EAAe,AAAe;EAC7C,CAAc,FAAC,EAAe,AAAe;EAE7D,DAAgB;EAChB,DAAgB;EAChB,DAAa;EACb,DAAa;;CAIF;CACE;CACD,EAAS,AAAgB,AAAzB;CACI;CACA,EAAS,AAAe,AAAxB;CAEL,EAAkB;CAElB,AAAS;CACT;CACJ,AAAM;CACN,AAAM;CACN,AAAM;CAEd;;;;;;;;CACA;;;;;;CACA;;;;;;CACA;;;CAEA,EAAM,FAAO;CACb,EAAM,FAAO;CAEb,EAAM,FAAO;CACb,EAAM,FAAO;CAEb,EAAQ,FAAC,AAAC,EAAM;CAChB,EAAS,AAAM;CAEf,EAAO,FAAW,AAAS,AAAC,EAAQ,AAAS,AAAC,AAAQ;CAEtD,EAAQ,AAAQ;CAChB,EAAQ,AAAQ;CAChB,EAAQ,AAAQ;CAChB,EAAQ,AAAQ;CAEhB,AAAY,EAAM;CAClB,AAAY,EAAM;CAClB,AAAY;CACZ,AAAY;CACZ,AAAY;CACZ,AAAY;CAEZ,AAAY,EAAM;CAClB,AAAY,EAAM;CAClB,AAAY;CACZ,AAAY;CACZ,AAAY;CACZ,AAAY;CAEF;CAAI,EAAC,AAAS;CAAxB,AAA4B;EAA5B;EAEC,CAAM,FAAO,AAAC,EAAI,AAAK;EACvB,CAAM,FAAO,AAAC,EAAI,AAAK,AAAI;EAC3B,CAAM,FAAO,EAAM;EACnB,CAAM,FAAO,EAAM,AAAI;EACvB,CAAM,FAAO,AAAC,EAAI,AAAK;EACvB,CAAM,FAAO,AAAC,EAAI,AAAK,AAAI;EAE3B,CAAQ,FAAC,AAAC,EAAM;EAChB,CAAQ,AAAM;EAEd,CAAO,FAAW,AAAS,AAAC,EAAQ,AAAS,AAAC,AAAQ;EACtD,CAAQ,AAAQ;EAChB,CAAQ,AAAQ;EAChB,CAAQ,AAAQ;EAChB,CAAQ,AAAQ;EAEhB,CAAS,FAAC,AAAC,EAAM;EACjB,CAAS,AAAM;EAEf,CAAO,FAAW,AAAS,AAAC,EAAS,AAAU,AAAC,AAAS;EACzD,CAAS,AAAS;EAClB,CAAS,AAAS;EAClB,CAAS,AAAS;EAClB,CAAS,AAAS;EAElB,CAAK,AAAC,FAAC,EAAQ,AAAO,FAAC,AAAC,EAAQ;EAChC,CAAK,AAAC,FAAC,EAAQ,AAAO,FAAC,AAAC,EAAQ;EAChC,CAAK,FAAC,AAAC,EAAQ,AAAO,FAAC,AAAC,EAAQ,AAAO,FAAC,AAAC,EAAQ,AAAO,FAAC,AAAC,EAAQ;EAClE,CAAK,AAAC,FAAC,EAAS,AAAO,FAAC,AAAC,EAAS;EAClC,CAAK,AAAC,FAAC,EAAS,AAAO,FAAC,AAAC,EAAS;EAClC,CAAK,FAAC,AAAC,EAAS,AAAO,FAAC,AAAC,EAAS,AAAO,FAAC,AAAC,EAAS,AAAO,FAAC,AAAC,EAAS;EAEtE,CAAQ,AAAC,AAAK,AAAM,AAAC,AAAK;EAE1B,AAAI,DAAU,EAAS,FAAK;GAE3B,CAAS;GAET,FAAY,EAAM;GAClB,FAAY,EAAM;GAClB,FAAY;GACZ,FAAY;GACZ,FAAY;GACZ,FAAY;GAEZ,FAAY,EAAM;GAClB,FAAY,EAAM;GAClB,FAAY;GACZ,FAAY;GACZ,FAAY;GACZ,FAAY;GAEZ;;EAID,CAAK,FAAC,AAAC,EAAK,AAAM,AAAC,AAAK,AAAO;EAC/B,CAAK,FAAC,AAAC,EAAK,AAAM,AAAC,AAAK,AAAO;EAE/B,CAAQ,FAAC,EAAK,AAAO,FAAC,EAAK,AAAO,FAAC,EAAK,AAAO,FAAC,EAAK;EAErD,AAAI,CAAQ,FAAW;GAEtB,AAAS,AAAQ;GACjB,AAAS,AAAQ;GAEjB,AAAO,FAAW,AAAS,AAAC,EAAS,AAAU,AAAC,AAAS;GACzD,AAAS,AAAS;GAClB,AAAS,AAAS;GAClB,AAAS,AAAS;GAClB,AAAS,AAAS;GAElB,FAAY,EAAM;GAClB,FAAY,EAAM;GAClB,FAAY;GACZ,FAAY;GACZ,FAAY;GACZ,FAAY;GAEZ,FAAY,EAAM;GAClB,FAAY,EAAM;GAClB,FAAY;GACZ,FAAY;GACZ,FAAY;GACZ,FAAY;GAEZ,FAAY,EAAM;GAClB,FAAY,EAAK;GACjB,FAAY;GACZ,FAAY;GACZ,FAAY;GACZ,FAAY;GAEZ;MAEM;GAEN,FAAY;GACZ,FAAY;GACZ,FAAY;GACZ,FAAY;GACZ,FAAY;GACZ,FAAY;GAEZ,FAAY,EAAM,FAAC,EAAK;GACxB,FAAY,EAAM,FAAC,EAAK;GACxB,FAAY;GACZ,FAAY;GACZ,FAAY;GACZ,FAAY;;;CAMd,EAAM,FAAO,AAAC,EAAS,AAAK;CAC5B,EAAM,FAAO,AAAC,EAAS,AAAK,AAAI;CAChC,EAAM,FAAO,AAAC,EAAS,AAAK;CAC5B,EAAM,FAAO,AAAC,EAAS,AAAK,AAAI;CAChC,EAAQ,FAAC,AAAC,EAAM;CAChB,EAAQ,AAAM;CAEd,EAAO,FAAW,AAAS,AAAC,EAAQ,AAAS,AAAC,AAAQ;CACtD,CAAI,DAAC,AAAc,AAAO,MAAM,AAAC,AAAC,JAAQ,AAAS,AAAC,AAAQ,FAAlC;CAC1B,EAAQ,AAAQ;CAChB,EAAQ,AAAQ;CAChB,EAAQ,AAAQ;CAChB,EAAQ,AAAQ;CAEhB,AAAY,EAAM;CAClB,AAAY,EAAM;CAClB,AAAY;CACZ,AAAY;CACZ,AAAY;CACZ,AAAY;CAEZ,AAAY,EAAM;CAClB,AAAY,EAAM;CAClB,AAAY;CACZ,AAAY;CACZ,AAAY;CACZ,AAAY;CAEZ,AAAc;CAEJ;CAAV,EAAc,FAAY;EAA1B;EAEC,DAAc;;CAIf,AAAc,EAAa;;oEAGd,7CAAyD;CACtE,CAAI,CAAqB,FAAG;CACf;CAEL;CACC,AAAO;CAAc,AAAO;CAC5B,AAAO,EAAI;CAAa,AAAO,EAAI;CAE5C,CAAI,EAAM,AAAM,AAAM,HAAI;EACzB,DAAY;EACZ,DAAY;;CAGA,EAAS,AAAgB,AAAzB;CAEA,AAAc,AAAM;CACtB,AAAe;CACd;CACE;CAEd,CAAI,EAAQ,HAAM;EACD,DAAmB;EACrB,CAAe;EAErB;EACR,GAAO,FAAI,FAAkB;GAE5B,FAAc,AAAS,AAAU,EAAK,AAAxB;GACd,FAAc,AAAS,AAAU,EAAK,AAAxB;GACd,FAAc,AAAS,AAAU,EAAE,AAAK,AAA1B;GACd,FAAc,AAAS,AAAU,EAAE,AAAK,AAA1B;GACd,FAAc,AAAS,AAAU,EAAE,AAAK,AAA1B;GACd,CAAK;;EAII;EAAV,CAAc,FAAQ;GAAtB;GAEC,FAAY,AAAO,EAAI;GACvB,FAAY,AAAO,EAAI,AAAI;;;CAK7B,CAAI,CAAkB,FAErB,AAAW,AAAM;;yEAKL;;CACE;CACP,AAAS;CACT,AAAS;CACL,AAAS;CACR,AAAS;CAEtB,CAAI,DAAa;EAChB,EAAK;EACL,EAAK;;CAGO,AAAc,AAAM;CACtB,AAAe;CAE1B,CAAG,EAAQ,HAAM;EACJ;EACE;EAEA,CAAS,AAAe,AAAxB;EAEd,DAAY;EACZ,DAAY;EACZ,DAAY,EAAI;EAChB,DAAY;EACZ,DAAY;EACZ,DAAY,EAAI;EAChB,DAAY,EAAI;EAChB,DAAY,EAAI;EAEhB,DAAc;EACd,DAAc;EACd,DAAc,EAAU;EACxB,DAAc,EAAU;EACxB,DAAc,EAAU;EACxB,DAAc,EAAU;;CAIzB,CAAI,CAAkB,FAAG;EAEP;EACjB,CAAc,FAAE,AAAG,AAAG,EAAI,FAAO,AAAG,EAAI,FAAO,EAAI,FAAQ,AAAG,EAAI,FAAQ,AAAG;EAC7E,DAAW,AAAM;EACjB,CAAc;;;gFAKF;;CACA;CACL,AAAO;CACP,AAAO;CACH,AAAO;CACN,AAAO;CACX,AAAO;CACP,AAAO;CAEhB,CAAI,DAAa;EAChB,EAAK;EACL,EAAK;;CAGG,EAAI;CACR,EAAI;CACH,AAAC,EAAK,AAAC,AAAK;CACZ,AAAC,EAAK,AAAC,AAAK;CACZ,AAAC,EAAK,AAAC,AAAK;CACZ,AAAC,EAAK,AAAC,AAAK;CAEW;CAE7B,AAAe;CACf,AAAe,EAAI;CACnB,AAAS,AAAW,AAAI,EAAK,FAAK,EAAK,FAAK,EAAK;CACjD,AAAS,AAAW,EAAK,FAAK,AAAI,EAAK,FAAI;CAC3C,AAAe,EAAI;CACnB,AAAe;CACf,AAAS,AAAW,EAAI,FAAK,AAAI,EAAI,FAAK,EAAK;CAC/C,AAAS,AAAW,AAAG,EAAK,FAAK,AAAG,EAAK;CACzC,AAAe;CACf,AAAe,EAAI;CACnB,AAAS,AAAW,AAAG,EAAI,FAAK,EAAI,FAAK,EAAI;CAC7C,AAAS,AAAW,EAAI,FAAK,AAAG,EAAI,FAAI;CACxC,AAAe,EAAK;CACpB,AAAe;CACf,AAAS,AAAW,EAAK,FAAK,AAAG,EAAK,FAAK,EAAI;CAC/C,AAAS,AAAW,AAAI,EAAI,FAAK,AAAI,EAAI;CACzC,AAAe;CACf,AAAe,EAAK;CAEP,AAAc,AAAM;CACtB,AAAe;CAE1B,CAAI,EAAQ,HAAM;EACL;EACE;EAED,CAAe;EAEZ,DAAmB;EAE3B;EACR,GAAO,FAAI,FAAkB;GAE5B,FAAc,AAAS,AAAU,EAAK,AAAxB;GACd,FAAc,AAAS,AAAU,EAAK,AAAxB;GACd,FAAc,AAAS,AAAU,EAAI,AAAK,AAA5B;GACd,FAAc,AAAS,AAAU,EAAI,AAAK,AAA5B;GACd,FAAc,AAAS,AAAU,EAAI,AAAK,AAA5B;GACd,CAAK;;EAIN,CAAI;EACJ,GAAO,FAAI,FAAkB;GAE5B,FAAY,AAAU;GACtB,FAAY,AAAU,CAAE;GACxB;;;CAIF,CAAI,CAAkB,FAAG;EAEP;EACjB,CAAc;EACd,DAAW,AAAM;EACjB,CAAc;;;6EAKF;;CAEF,EAAoB,FAApB;CAEkB,EAAK,FAAK;CACb,EAAK,FAAK;CACR,EAAK,FAAK;CACR,EAAK,FAAK;CACf,EAAK,FAAK;CACf,AAAK;CAEzB;;;;;;CAEA,CAAI,DAAa;EAChB,CAAI;EACJ,CAAI;EACJ,CAAI;EACJ,CAAI;EACJ,CAAK;EACL,CAAK;MACC;EACN,CAAI;EACJ,CAAI;EACJ,CAAI;EACJ,CAAI;EACJ,CAAK;EACL,CAAK;;CAGU,GAAU,AAAQ,DAAgB;CAErC,AAAc,AAAM;CACtB,AAAe;CACR,AAA4B;CAC9C,EAAsB;CACtB,EAA2B,cAAiB,hBAAC,AAAG,AAAG,AAAG;CAEtD,EAAgB;CAChB,EAAgB;CAChB,EAAc,FAAQ,EAA0B;CAE9B,EAAgB;CAClC;CAEA,CAAI,EAAgB,AAAQ,DAAsB,FAAa;EAC9D,CAAQ,cAAiB;EACzB,CAAe;MAEf,HAAQ;CAGM,eAAgB;CAEtB;CAAY;CAAY;CACxB;CAAY;CAAY;CAExB;CAAc;CACd;CAAc;CACd;CAAc;CAEb;CACA;CAAI,EAAQ,AAAiB,AAAzB;CAAd,AAA2C;EAA3C;EAEC,CAAK,FAAQ,EAAI;EAAI,CAAK,FAAQ,EAAI,AAAI;EAAI,CAAK,FAAQ,EAAI,AAAI;EACnE,CAAK,AAAK;EAAG,CAAK,AAAK;EAAG,CAAK,AAAK;EAEpC,CAAK,FAAS;EAAK,CAAK,FAAS,EAAK;EACtC,CAAK,FAAS;EAAK,CAAK,FAAS,EAAK;EACtC,CAAK,FAAS;EAAK,CAAK,FAAS,EAAK;EAEtC,AAAI,DAAa;GAChB,CAAM;GACN,CAAM;GACN,CAAM;GACN,CAAM;GACN,CAAM;GACN,CAAM;;EAGP,IAAO;KACD;GACJ,DAAI,DAAC,AAAc,EAAR,AAAN,FAA0B,EAAhB,AAAV,FAAkB,EAAR,AAAV,FAAsB,EAAhB,AAAN,FAA+B;;KAChC;GACJ,DAAI,DAAc,EAAR,AAAN,FAA0B,EAAhB,AAAV,FAAkB,EAAR,AAAV,FAAsB,EAAhB,AAAN,FAA+B;;;;EAIrC,DAAM,EAAS,AAAI,AAAK,AAAI,AAAK;EACjC,DAAM,EAAS,AAAI,AAAK,AAAI,AAAK;EACjC,DAAM,EAAS,FAAQ;EACvB,DAAM,EAAS,FAAQ,EAAK;EAC5B,AAAI,DACH,AAAS,EAAS,FAAO;EAG1B,DAAM,EAAS,AAAI,AAAK,AAAI,AAAK;EACjC,DAAM,EAAS,AAAI,AAAK,AAAI,AAAK;EACjC,DAAM,EAAS,FAAQ;EACvB,DAAM,EAAS,FAAQ,EAAK;EAC5B,AAAI,DACH,AAAS,EAAS,FAAO;EAG1B,DAAM,EAAS,AAAI,AAAK,AAAI,AAAK;EACjC,DAAM,EAAS,AAAI,AAAK,AAAI,AAAK;EACjC,DAAM,EAAS,FAAQ;EACvB,DAAM,EAAS,FAAQ,EAAK;EAC5B,AAAI,DACH,AAAS,EAAS,FAAO;;;yEAOP,lDACpB;CAAc,AAAM;;kEAIN,vCAA6E;CAE5E;CACA;CACP;CAEI,AAAO,EAAc;CACrB,AAAO,EAAc;CAElB;CACA;CAEC;CAEN;CAAI,EAAC,AAAI;CAAnB,AAAuB;EAAvB;EAEC,CAAM,AAAI;EAEV,CAAK,AAAQ,AAAC,FAAC,EAAK,AAAS;EAC7B,CAAK,AAAQ,AAAC,FAAC,EAAK,AAAS;EAE7B,CAAK,AAAK,FAAC,AAAE,EAAK,FAAC,EAAI,AAAM,AAAQ,AAAM;EAC3C,CAAK,AAAK,FAAC,AAAE,EAAK,FAAC,EAAI,AAAM,AAAQ,AAAM;EAE3C,DAAa;EACb,DAAa;;;+EAKA,zCAAkH;CAEhI;;;;;;CACQ;CACK;CAED,oBAAiD;EAEjD,CAAK;EACT,CAAK,AAAC,AAAO;;CAIb;CACE;CAAI,EAAC,AAAI;CAAnB,AAAuB;EAAvB;EAEC,CAAI,AAAI;EAER,CAAK,FAAO,AAAO,AAAK;EACxB,CAAK,FAAO,AAAO,AAAK;EACxB,CAAK,FAAO,AAAK,AAAK;EACtB,CAAK,FAAO,AAAK,AAAK;EAEtB,CAAI,FAAO,AAAI,AAAI;EACnB,CAAI,FAAO,AAAI,AAAI;EAEnB,DAAa;EACb,DAAa;;CAIP;;iEAIM,lCAAyE;CACvE;CACG;CACN;CACZ,CAAI,EAA8B,HACjC;CAGD,CAAI,DACH,AAAgB,AAAQ,AAAmB,AAAkB;CA0C9D,AAAe,AAAQ,AAAe;;yEAIzB;;CACE;CACN;CAEK,AAAmB;CACjC;CAEA;CACA,CAAI,DACH,EAAoB,GAEpB,HAAoB;CAGU;CACZ;CAEnB,EAAe;CAEL;CAAI;CAAd,AAAsC;EAAtC;EACC,CAAe;EAEf,AAAI,EAAgB,HAAC,AACpB;EAGD,DAA4C;EAE5C,AAAI,EAAY,HAAM;GACrB,FAAU;GACV,FAAW,AAAW,AACnB,AAAW,AACX,AAAW,AACX,AAAW;;EAIf,CAAS,FAAgB;EAElB;EAAP,IAAO;KACD,AAAM;GACV,FAAwC,AAAQ,AAAe,AAA0B;GAC5E,FAAc,AAAQ,AAAe,AAAQ,AAA0B;GACpF,FAAW,AAAQ,AAAQ;GAC3B,FAAuC,AAAQ,AAAQ;;KACnD;GACS,FAAc,AAAQ,AAAe,AAAQ;GAC1D,FAAoB,AAAQ,AAAQ;;KAChC;GACJ,DAAI,DAAC,AACJ,AAAgC,AAAe;GAErC,AAAoB,FAApB;GACX,FAAsC,AAAQ,AAAK,AAAK,AAAI,AAAK,AAAK,AAAI,AAAK,AAAK,AAAI,AAAK,AAAK,AAAI,AAAK,AAAK;GAEhH;;;;EAIsB;EACxB;EAAa;EAAb,CAAa,FAAc;GAA3B,AAAa,FAAb;;GACC,DAAI,EAAQ,AAAQ,DAAoB,FAAG;IAC7B;IAEb,HAAuC;IAEvC,HAAqB,AAA0B,AAAqC,AAAO,AAA0B;IACrH,HAAqB,AAA0B,AAAoC,AAAO,AAAuC;IACjI,HAAc,AAA0B,AAAyB;IAEjE,HAAc,AAA0B,AAA8B,AAAkB,AAAoB,AAAmB;IAC/H,HAAc,AAA0B,AAA0B,EAAe,FAAK,EAAiB,FAAK,EAAgB,FAAK,EAAiB;IAElJ;IACA,HAAuB;IAEvB,HAAe,AAAyB;IACxC,HAAiB,AAAmB,AAAqB,AAAmB;;;EAI9E,AAAI,EAAY,HACf,AAAW;EAGZ,CAAe;EACf,AAAI,DAAC,GAAgB,HAAC,AACrB,AAAgC,AAAe;;;yEAKpC;;CAEb,AAAqB,AAAU;CAE/B,CAAI,EAAqB,HACxB,EAAe,GAEf,LAAsB;CAGD;CAEtB,CAAI,DAEH,EAAU,FAAkB,AAAU;CAIvC,AAAmB;CAEnB;CAAa;CAAb,EAAa,FAAiB;EAA9B,CAAa,FAAb;;EACC;EACA,DAAgB;;CAGjB;CAEU;CAAoB;CAA9B,AAA2D;EAA3D;EACY,DAAqB;EAEhC;GAAO;GAAP,GAAO;KACD;IACJ,HAAkB,AAAM,AAAS;;KAC7B;IAHC;IAIL,FAAI,DACH,AAAuB,AAAM,AAAS,KAEtC,LAAgB,AAAM,AAAS;;KAE5B,AAAQ;IACZ,HAAa,AAAM,AAAS;;KACxB;IACJ,HAAmB,AAAM,AAAQ,AAAS;;KACtC;IACJ,HAAe,AAAM;;KACjB;IAfC;IAgBL,DAAiB;;;;EAInB;;CAGD;CAAe;CAAf,EAAe,FAAiB;EAAhC,CAAe,FAAf;;EAEC,AAAI,DAEH,AACC,AAAU,AACV,AAAU,AACV,AAAW,AACX,AAAW;EAKb;;CAGD;;wEAIc,jDAAgE;CACxD;CACtB;EAAO;EAAP,IAAO;KACD;GADC;;GAEL,AAAS,FAAa,AAAgB,AAAS;GAChC,FAAQ,GAAR,HAAf,EAAe,GAAf,HAAe,FAAQ,GAAR,HAAQ,GAAR,HAAQ,EAAR;GACf,FAAa,EAAK;GAClB,AAA0B;;KAEtB;GAPC;;;;GAQL,AAAS,FAAa,AAAgB,AAAS;GAC/C,AAAgB;GAChB,AAAuB;GACvB,AAAuB;GACvB,AAAiB,FAAa;GAC9B,AAA0B;GAG1B;GACA,DAAI,EAAK,HACR,EAAU,GAEV,HAAU;GAGX;GACA,FAAc,EAAI,FAAS,EAAI;GACtB;GACA;GACT,AAAa;GACb,AAAa;GAEb,AAAqB;GACrB,AAAqB;GACrB,AAAqB,AAAK;GAC1B,AAAqB,AAAK;GAE1B,AAAuB;;;GAEvB,AAAS,FAAa,AAAgB,AAAS;GAC/C,AAA0B;;;CAG5B;EAAO;EAAP,IAAO;KACD;GACJ,AAAc;GACd,AAA0B;;KACtB;GACJ,AAAc;GACd,AAA0B;;;;;CAI5B,EAAqB;CACrB,EAAwB;CAEjB;;oEAGO,7CAA8D;CACpE;CACR,CAAI,EAAK,HACR,EAAI,iDAAa;CAElB,EAAS;CACT,AAAqB;CACd;;uEAGO,tCAAiF;CAEzE;CAEtB;CAAU;CAAV,EAAU,FAAiB;EAA3B,CAAU,FAAV;;EACC,AAAI,EAAe,HAAW;GAC7B,AAAS;GACT;;;CAIF,CAAI,EAAU,HACb,EAAS,FAAU,AAAS;CAG7B,EAAe;CACf,EAAmB;CAEZ;;wEAGO,hBAA2H;CAChI;CACY;CAEL;CAAP,KAAO;KACV;EADN,CAEE;;KACI;EAHN,CAIE;;KACI;EALN,CAME;;;EANF,CAQE;;CAGF,CAAI,EAAU,HAAa;CAEX,AAAsC;CAGtD,AAAc,AAA0B,AAAmB;CAC3D,AAAoB,AAA0B,AAA8B,AAAuB,AAAuC;CAElH;CACxB,AAAc,AAA0B,AAA8B,AAAkB,AAAoB,AAAmB;CAC/H,AAAc,AAA0B,AAA0B,EAAe,FAAK,EAAiB,FAAK,EAAgB,FAAK,EAAiB;CAG3I;CAAP,KAAO;KACD;EACJ,DAAqB,AAA0B,AAAgC,AAAO;EACtF,DAAe,AAA0B,AAAoB,gBAAkB;;KAC3E;EACJ,DAAqB,AAA0B,AAAuC,AAAO;EAC7F,DAAa,AAA0B,AAA+B,AAAoB;EAC1F,DAAa,AAA0B,AAA+B,AAAoB;EAC1F,DAAoB,AAA0B,AAAmC,AAAO,AAA6B;;KACjH;EACJ,AAAI,EAAkB,HACrB,AAAa,AAA0B,AAAkC,KACnE;GACN,FAAa,AAA0B,AAAkC;GACzE,FAAc,AAA0B,AAA6B,gBAAkB;;;;;CAKnF;;qEAGO,/BAAiF;CACtF;CAET,CAAI,EAAe,AAAe,AAAkB,HACnD,AAAY,AAAI;CAGjB,AAAc,AAAiB;CAC/B,AAAwB,AAAyB,AAAsB,AAAG,AAAU,AAAO,AAAG;CAC9F,AAAc,AAAmB,AAAG;;8EAGtB,xCAA0F;CAC/F;CAET;CAAa;CAAb,EAAa,FAAc;EAA3B,CAAa,FAAb;;EACC,AAAI,DAAgB;EAEpB,DAAY,AAAI;EAChB;EACA,DAAuB;EAEvB,DAAc,AAAc,AAAc;;;sEAI7B,lDAA0D;CAExE,AAAe,AAAe;CAG9B,CAAI,EAA0C,HAAuC;EACpF,DAAkB,AAAe,AAAmB;EACpD,DAAkB,AAAe,AAAmB;MAC9C;EACN,DAAkB,AAAe,AAAmB;EACpD,DAAkB,AAAe,AAAmB;;CAGrD,CAAI,DAAsB;EACzB,DAAkB,AAAe,AAAuB;EACxD,DAAkB,AAAe,AAAuB;MAClD;EACN,DAAkB,AAAe,AAAuB;EACxD,DAAkB,AAAe,AAAuB;;;gEAKpC,pCACrB;CAAO,MAAC,NAAC,EAAK,AAAM,FAAC,EAAK,AAAM,FAAC,EAAK,AAAM,FAAC,EAAK,AAAO;;kEAGrC,pDACpB;CAAO,GAAO,HAAO,AAAC,AAAE,AAAE,KAAK,LAAC,AAAC,GAAO,DAAK,AAAQ,FAAK,AAAE,GAAO,DAAI,AAAQ,FAAK,AAAC,EAAM,AAAQ;;mEAG/E,rDACpB;CAAO,GAAO,HAAO,AAAC,AAAE,AAAE,AAAE,KAAK,LAAC,AAAC,GAAO,DAAK,AAAQ,FAAK,AAAE,GAAO,DAAI,AAAQ,FAAK,AAAC,EAAM,AAAQ,FAAK,AAAC,GAAO,DAAK,AAAQ;;iDAWzH,pCANR;CAE4B,AAF5B,EAE4B;CAK1B,EAAU;CACV,EAAU;CACV,EAAY;;;;;OAGN,IAAiB;EACvB,CAAU;EACV,CAAY;;QAGN,GACN;;EAAe;EAAf,CAAe,FAAS;GAAxB,AAAe,FAAf;;GAEC,DAAI,DACH;;;;;kDAwCI,rCAhCR;CA8B+B,AA9B/B,EA8B+B;CAVE,AApBjC,EAoBiC;CADA,AAnBjC,EAmBiC;CALO,AAdxC,EAcwC;CADA,AAbxC,EAawC;CAJZ,AAT5B,EAS4B;CAyB1B,EAAU;CAEV,EAAQ,FAAC,AAAG,AAAG;CACf,EAAY;CACZ,EAAQ;CACR,EAAQ;CAER,EAAO;CAEP,EAAgB;CAChB,EAAY;CACZ,EAAY,mBAAU,rBAAG;;;;;SAGnB,MAAmD;EACzD;EACA,IAAO;KACD;GACJ,AAAO;;;GAEP,AAAO;;EAEiB;EACb;EACb;GAAU,FAAM;GAAhB,AAAU,FAAV;;GACC,DAAI,DAAa;IAChB,DAAS;IACT,DAAS;IACT;;;EAIF,AAAI,EAAU,HACb,EAAS,qDAAiB;EAG3B,CAAmB;EACnB,CAAgB;EAChB,CAAc;EAEd,AAAG,DAAQ,AAAY;EACvB,DAAU;EAEV,IAAO;KACD;GACG;GAAP,GAAO;KACD,AAAM;IACV,DAAgC;;KAC5B;IAEJ,DAAgC;IAChC,HAA8B,EAAK,FAA8B;;;;;KAG/D;GACJ,AAAgC;;;EAK3B;;UAGD,CAAoB;EAApB;EAsEF;EAAJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAW,AAAX;;;;;;;;;OAMM,IAAuB;EAC7B;EAAa;EAAb,CAAa,FAAO;GAApB,AAAa,FAAb;;GACC;;EAGD;EAAa;EAAb,CAAa,FAAO;GAApB,AAAa,FAAb;;GACC;;EAGD,CAAY;EACZ,CAAmB;EACnB,CAAc;;YAGR,MAAsD;EAE5D,AAAG,EAAc,HAChB,EAAa;EAId,CAAO,FACN,AAAG,AAAG,AAAG,AACT,AAAG,AAAI,AAAG,AACV,AAAG,AAAI,AAAG,AACV,AAAG,AAAG,AAAG;EAGV,CAAS,YAAgB;EAEzB,DAAe,AAAiB;EAChC,DAAe,AAAiB,AAAQ;;QAIlC,GAAwB;EAE9B,AAAG,EAAa,HACf;;GAAa;GAAb,AAAa,FAAO;IAApB,DAAa,FAAb;;IACC,FAAI,DAAC,AACJ;;;EAKH;EAAa;EAAb,CAAa,FAAO;GAApB,AAAa,FAAb;;GACC,DAAI,DAAC,AACJ;;EAIF,CAAQ;;;;sDA6BF,zCAxBR;CAoB6B,AApB7B,EAoB6B;CAFC,AAlB9B,EAkB8B;CALL,AAbzB,EAayB;CADG,AAZ5B,EAY4B;CAFI,AAVhC,EAUgC;CAJN,AAN1B,EAM0B;CADC,AAL3B,EAK2B;CAoBzB,EAAU;CACV,EAAW;CACX,EAAQ;CACR,EAAU;CACV,EAAc,oDAAgB;;;;;OAGxB,IAAsB;EAC5B,CAAY;EACZ,CAAQ;EACR,CAAU;EACV,CAAW;EACX,CAAU;EACV,CAAS;EACT,CAAW;EACX,CAAa;EACb,CAAW;;QAGL,GAAuB;EAG7B,AAAI,DAAC,GAAY,AAAW,AAAQ,DAAiB,CAAM,DAAe,FAAG;GAE5E,DAAI,DAAC,AAAU,EAAU,cAAkB;GAE3C,AAAqB;GAErB,DAAI,EAAkB,HAAe;IACpC;IACU,DAAW,AAAI;IACzB,FAAI,CAAW,CAAK,DAAgB,FAAK;KAC7B,JAAiB,AAAG;KAC/B,JAAmB;MAEnB,LAAmB;MAEd;IACN,HAAuB,AAAI;IAC3B,DAAgB;;;EAMlB,AAAI,EAAY,AAAK,HAAC,AAAC,GAAc,AAAa,AAAQ,DAAmB,CAAM,DAAiB,FAAI;GAEvG,DAAI,EAAe,HAClB,EAAc;GAGf,DAAI,DAAC,AAAY,EAAY,aAAiB;GAC9C,FAAe,AAAyB;GACxC,FAAe,AAAyB,AAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wDAuC9C,3CAnBR;CAciC,AAdjC,EAciC;CAJD,AAVhC,EAUgC;CAFJ,AAR5B,EAQ4B;CADE,AAP9B,EAO8B;CADL,AANzB,EAMyB;CADC,AAL1B,EAK0B;CADM,AAJhC,EAIgC,FAAC,AAAK,AAAK;CAiBzC,EAAU;CAEV,EAAa;CACb,EAAc;;;;;OAKR,IAAuB;EAE7B,CAAO;EACP,CAAU;EACV,CAAY;;QAKN,GAAwB;EAE9B,CAAS,cAAkB,AAAK;EAChC,DAAe,AAAiB;EAChC,DAAe,AAAiB,AAAQ;EAGxC,CAAY,aAAiB,AAAK;EAClC,DAAe,AAAyB;EACxC,DAAe,AAAyB,AAAW;EAEnD,CAAQ;;;;;;;2DAWK,/CAAiD;CAEnD;CAEH,GAAY;CACpB,CAAI,CAAI,FAAU;CAEG;CACA;CAAkB;CAAP;CAAV,EAAc,FAAd;;EAAiB;;CAAlB;CAEb;CACC;CACM;CAEf,IAAO,FAAK,FAAG;EAEL,DAAI,EAAU;EACd,DAAI,AAAC,EAAI,AAAK;EACd,DAAI,AAAC,EAAI,AAAK;EAEd,DAAE,EAAG;EAAU,DAAE,EAAI,AAAK;EAC1B,DAAE,EAAI;EAAU,DAAE,EAAI,AAAK;EAC3B,DAAE,EAAI;EAAU,DAAE,EAAI,AAAK;EAEpC,CAAW;EAEX,AAAI,DAAe,AAAI,AAAI,AAAI,AAAI,AAAI,AAAI,AAAO;GAEjD,AAAW;GAED;GAAV,AAAc,FAAI;IAAlB;IAEU,HAAI;IACb,FAAI,EAAM,AAAM,AAAM,AAAM,AAAM,HAAI;IAEtC,FAAI,DAAwB,AAAE,EAAI,FAAK,AAAE,EAAI,AAAK,FAAI,AAAI,AAAI,AAAI,AAAI,AAAI,AAAK;KAE9E,FAAW;KACX;;;;EAQH,AAAI,DAAU;GAEb,FAAU;GACV,FAAU;GACV,FAAU;GACV,FAAY,AAAC,EAAI,AAAK,FAAI;GAC1B;GACA,AAAI;MAEE,JAAI,CAAM,AAAI,FAEpB;EAAI,DAAM;IAET,DAAM;IACkB;IAAP;IAAV,DAAc,FAAd;;KAAiB;;IAAxB,DAAM;IAEN,DAAI;IACJ,DAAK;IACL,DAAO;MAED;IAEN,GAAO,NAAP;IACO;;;;CAQV,AAAU,AAAI;CACd,AAAU,AAAI;CACd,AAAU,AAAI;CACP;;gEAKM,9BAA2G;CAE9G,EAAQ,AAAG,AAAX;CACA,EAAQ,AAAG,AAAX;CACA,EAAQ,AAAG,AAAX;CACA,EAAQ,AAAG,AAAX;CACA,EAAQ,AAAG,AAAX;CACA,EAAQ,AAAG,AAAX;CAEE,EAAC,AAAM,AAAO,AAAC,AAAM;CACrB,EAAC,AAAM,AAAO,AAAC,AAAM;CACrB,EAAC,AAAM,AAAO,AAAC,AAAM;CACrB,EAAC,AAAM,AAAO,AAAC,AAAM;CACrB,EAAC,AAAM,AAAO,AAAC,AAAM;CAElB,EAAI,FAAC,EAAQ,AAAQ,AAAQ;CACpC,AAAC,EAAQ,AAAQ,AAAQ,AAAS;CAClC,AAAC,EAAQ,AAAQ,AAAQ,AAAS;CAEnC,MAAC,HAAK,AAAM,AAAC,AAAK,AAAM,AAAC,DAAI,AAAI;;uDAK3B,tBAEb;CAAO,MAAC,NAAC,EAAK,AAAM,FAAC,EAAK,AAAM,FAAC,EAAK,AAAM,FAAC,EAAK,CAAO,AAAM;;;;;;;;;;;;;;;;;;;;uDChtDzD,1CACN;CAAW;;;;;YAGL,CAAwC;EAC9C,CAAU;EAEV,CAAgB,yDAAkB;EAClC,CAAa,sDAAe;EAC5B,CAAoB,6DAAsB;EAC1C,CAAsB,+DAAwB;EAC9C,CAAkB,2DAAoB;EAEtC,DAAU,AAAe;;SAInB,EAAyB;EAE/B;EACA;EACA;EACA;EACA;EAEA,CAAK;;WAIC;;EACN,AAAI,EAAU,HAAM;GAEnB,AAAgB;GAChB,FAAc;GACP;;EAGR,AAAI,EAAiB,AAAQ,HAAC,GAAS,AAAoB,HACnD;EAER,CAAgB;EAEhB,DAAc;EACP;;;;qDCMD,7BAvCR;CAuCQ;CAHoB,AApC5B,EAoC4B;CAFJ,AAlCxB,EAkCwB;CAFiB,AAhCzC,EAgCyC;CAHX,AA7B9B,EA6B8B;CAXH,AAlB3B,EAkB2B;CADT,AAjBlB,EAiBkB;CAVS,AAP3B,EAO2B;CAiCzB,EAAkB;CAElB,AAAgB,0DAAoB,1DAAG,AAAmB,AAAO;CACjE,AAAgB,0DAAoB,1DAAG,AAAmB,AAAO;CACjE,AAAgB,0DAAoB,1DAAG,AAA2B,AAAM;CAExE,AAAW,EAAkB,cAAiB,hBAAC,AAAG,AAAG,AAAG;CAExD,EAAuB;CAEvB;CAAU;CAAV,EAAU,FAAY;EAAtB,CAAU,FAAV;;EACC,EAAwB;;CAGzB,EAAkB,AAAa,AAAuB,AAAmB;CACzE,EAAiB,AAAa;CAE9B,EAAc,oDAAgB,tDAAY,AAAiB;CAC3D,EAAY,cAAiB;CAC7B,EAAS,aAAgB;CAEzB,EAAU,aAAgB;CAElB;CAAO;CACf,IAAO,FAAI,FAAgB;EAC1B,DAAQ,EAAS;EACjB,DAAQ,EAAI,AAAK,AAAI;EACrB,DAAQ,EAAI,AAAK,AAAI;EACrB,DAAQ,EAAI,AAAK;EACjB,DAAQ,EAAI,AAAK,AAAI;EACrB,DAAQ,EAAI,AAAK,AAAI;EACrB,EAAK;EACL,EAAK;;CAGN,EAAe;CACf,EAAQ;CACR,EAAU;CACV,EAAiB;CAEjB,AAAW;;;;;SAIL,EAAmB;EACzB;EACA,CAAc;EAEd,CAAU;EACV,DAAgB;EAEhB;EACA;EAAc;EAAd,CAAc,FAAQ;GAAtB,AAAc,FAAd;;GACC;;EAGD,CAAK;;OAGC,0BAA6E;EAEnF,CAAqB;EACrB,CAAS;EACT,CAAU;EACV,DAAM;;QAIA,GAAkB;EACxB;EACA,CAAW;EACX,CAAU;;OAGJ,YAA2C;EACjD,AAAI,DAAC,AACJ,KAAM;EAEP,CAAQ;EACR,CAAgB;;MAGV,KACN;;;kBAGM;;;EACN,AAAI,EAAc,HAAM;EACV,DAAsB;EAEpC,AAAI,EAAkB,HACrB;EAGS;EACV,AAAI,EAAO,HAAM;EAED,DAAC,AAAC,AAAQ,EAAQ,AAAhB,AAAwB,CAAS,DAAK;EAGxD;;;;;;;EAEY,CAAiB,AAAI;EACjC,DAAa,AAAO,AAAkB,AAAmB,AAAQ,AAAK,AAAM,AAAO;EAEnF,DAAS,AAAgB,AAAS,AAAW,AAAW,AAAI;EAE5D;;aAGM;;;;EAEQ,DAA0B;EACxC,AAAI,EAAW,HAAM;EAEN,DAAC,EAAQ,AAAwB;EAC9B,DAAC,EAAQ,AAA2B;EACnC,DAAC,EAAQ,AAA4B;EAC3C,DAAC,EAAQ,AAAsB;EAC7B,DAAC,EAAQ,AAAwB;EAClC,DAAC,EAAQ,AAAuB;EAC9B,DAAC,EAAQ,AAAyB;EAExB;EAAO,CAAQ;EAAf,IAAO;KAC3B;GAA2B;;KAC3B;GAA+B;;KAC/B;GAA6B;;KAC7B;GAA+B;;;GACrB;;EAGhB,AAAI,DAAc;GAAE,AAAW;GAAO,AAAc;;EAEnC;EACG;EACL;EACE;EACI;EAEL;EAEhB,AAAI,DAAuB,AAAZ,EAAwB,GAAxB,HAA4B;EAC3C,AAAI,DAAU;GAAE,AAAa;GAAW;;EACxC,AAAI,DAAa;GAAE,AAAgB;GAAW;;EAC9C,AAAI,DAAc;GAAE,AAAiB;GAAW,CAAa;;EAC7D,AAAI,DAAQ;GAAE,AAAW;GAAW,CAAa;;EACjD,AAAI,DAAU;GAAE,AAAa;GAAW;;EAEvB;EACjB,AAAI,EAAS,AAAK,DAAa,FAAO,EAAa;EACnC,CAAS,AAAa,AAAtB;EACH;EAEA;EACQ;EACE;EACJ;EACX;EAAS;EACL;EAAY;EAAkB;EAC9B;EAAgB;EACb;EAAgB;EACvB;EAAS;EAAS;EAAS;EAAU;EAAU;EAC9C;EAAU;EACN;EACC;EACJ;EAEG;EAGb;;;;;;;EAEA,GAAO,FAAS,FAAY;GAE3B,DAAI,EAAkB,HACrB;GAGD,AAAI,FAAS;GACb,AAAI,FAAS,EAAS;GAEtB,DAAI,DAAS;IACZ,DAAS;IAET,DAAS,FAAS,EAAS;IAC3B,DAAS,FAAS,EAAS;IAC3B,DAAa,FAAS,EAAS;IAC/B,DAAc,FAAS,EAAS;IAEhC,FAAI,DAAW;KACd,FAAW,FAAS,EAAS;KAC7B,FAAW,FAAS,EAAS;MAE7B;GAAa;KAAb,FAAgB;;IAGjB,HAAa,EAAY,FAAsB,EAAW,FAAuB,EAAa,FAAsB,EAAc;MAC5H;IACN,DAAS,FAAyB,AAAS,EAAS,CAAM,HAAO,AAAS,AAAS,EAAS,AAAnF;IACT,DAAO,FAAkB;IACzB,DAAS,FAAoB;IAC7B,DAAS,FAAiB;;GAG3B,DAAI,EAAQ,AAAQ,DAAa,CAAK,DAAc,CAAK,AAAU,HAAM;IAExE,DAAQ;IACR,DAAO;IACP,DAAI;IAAG,DAAI;IAAG,DAAI;IAAG,DAAI;IAAG,DAAK;IAAG,DAAK;IACzC,DAAQ;IACR,DAAW;IACX,DAAW;IACX,DAAW;IACX;IAEA,FAAI,DACH,EAAQ,FAAS,EAAS,AAAc,GAExC,HAAQ;IAGT,FAAI,DACH,EAAO,FAAQ,AAAS,EAAS,AAAY,AAAtC,CAA8C,DAAK,FAAQ,AAAS,EAAS,AAAW,AAAK,AAA1C,CAAkD,DAAI,FAAQ,AAAS,EAAS,AAAW,AAAK,AAA1C;IAGjH,FAAI,DACH,EAAQ,FAAS,EAAS;IAG3B,FAAI,DAAa;KAChB,FAAW,FAAS,EAAS;KAC7B,FAAW,FAAS;KACpB,FAAW,FAAS;;IAGrB,FAAI,DAAc;KACjB,FAAI,FAAS,EAAS;KACtB,FAAI,FAAS,EAAS,AAAiB;KACvC,FAAI,FAAS,EAAS,AAAiB;KACvC,FAAI,FAAS,EAAS,AAAiB;MACjC;KACN,FAAI,AAAQ;KACZ,FAAI,AAAQ;KACZ,FAAI,FAAC;KACL,FAAI;;IAGL,DAAK,AAAW,AAAI,AAAW;IAC/B,DAAK,AAAW,AAAI,AAAW;IAE/B,DAAK,AAAI;IACT,DAAK,AAAI;IAET,DAAW,AAAI,AAAY,AAAI;IAC/B,DAAW,AAAI,AAAY,AAAI;IAC/B,DAAW,AAAI,AAAY,AAAI;IAC/B,DAAW,AAAI,AAAY,AAAI;IAC/B,DAAY,AAAK,AAAY,AAAK,AAAY;IAC9C,DAAY,AAAK,AAAY,AAAK,AAAY;IAE9C,DAAS;IAAW,DAAS;IAC7B,DAAS;IAAc,DAAS;IAChC,DAAS;IAAc,DAAS;IAChC,DAAS;IAAW,DAAS;IAE7B,DAAS,AAAiB,AAAI;IAE9B,DAAQ,FAAC,AAAC,AAAQ,EAAQ,AAAhB,AAAwB,CAAS,DAAK,FAAC,EAAO,CAAS,DAAK,FAAC,AAAC,GAAQ,DAAK,CAAS,DAAI,AAAC,AAAC,CAAQ,DAAM;IAElH,HAAa,AAAQ,AAAY,AAAa,AAAQ,AAAK,AAAM,AAAO;IAExE,HAAS,AAAgB,AAAS,AAAQ,AAAW,AAA8B;IAEnF;;GAGD,CAAU;;;sBAKL,LAAoD;EACtC;EAEpB,AAAI,EAAiB,HAAM;EAE3B,AAAI,EAAkB,HACrB;EAGW;EACI,DAAC,AAAC,AAAQ,EAAQ,AAAhB,AAAwB,CAAS,DAAK;EAG9C;EACV,CAAS;EAAI,CAAS;EACtB,CAAS;EAAI,CAAS;EACtB,CAAS;EAAI,CAAS;EACtB,CAAS;EAAI,CAAS;EAED;EACrB,DAAsC,qBAAU,rBAA8B;EAE9E,CAAiB,CAAjB;;;;;;;EAEY,CAAiB,AAAI;EACjC,DAAa,AAAO,AAAqB,AAAsB,AAAgB,AAAK,AAAM,AAA1F;EAEA,DAAS,AAAgB,AAAzB,AAAgD,AAAkB;EAElE;;cAGM;;EAGN;;;;EAGA,AAAI,EAAS,HAAM;GAClB,AAAK;GAAO,AAAK;GACjB,AAAK;GAAQ,AAAK;MACZ;GACN,AAAK,AAAQ,FAAC,EAAI;GAClB,AAAK,AAAQ,FAAC;GACd,AAAK,AAAS,FAAC,EAAI;GACnB,AAAK,AAAS,FAAC;;EAGhB,AAAI,EAAiB,HACpB,EAAgB;EAGN,EAAiB;EACpB;EACA;EACA;EACA;EACC;EACA;EACU;EAEnB,AAAG,DAAC,AAAM;GACT,FAAU,EAAW,AAAC,AAAI,AAAK,AAAI,AAAK;GACxC,FAAU,EAAW,AAAC,AAAI,AAAK,AAAI,AAAK;MAClC;GACN,FAAU,EAAW,FAAY,EAAI,AAAK,AAAI,AAAK;GACnD,FAAU,EAAW,FAAY,EAAI,AAAK,AAAI,AAAK;;EAEpD,DAAU,EAAW;EACrB,DAAU,EAAW;EACrB,AAAG,DACF,AAAO,EAAW;EAGnB,AAAG,DAAC,AAAM;GACT,FAAU,EAAW,AAAC,AAAI,AAAK,AAAI,AAAK;GACxC,FAAU,EAAW,AAAC,AAAI,AAAK,AAAI,AAAK;MAClC;GACN,FAAU,EAAW,FAAY,EAAI,AAAK,AAAI,AAAK;GACnD,FAAU,EAAW,FAAY,EAAI,AAAK,AAAI,AAAK;;EAEpD,DAAU,EAAW;EACrB,DAAU,EAAW;EACrB,AAAG,DACF,AAAO,EAAW;EAGnB,AAAG,DAAC,AAAM;GACT,FAAU,EAAW,AAAC,AAAI,AAAK,AAAI,AAAK;GACxC,FAAU,EAAW,AAAC,AAAI,AAAK,AAAI,AAAK;MAClC;GACN,FAAU,EAAW,FAAY,EAAI,AAAK,AAAI,AAAK;GACnD,FAAU,EAAW,FAAY,EAAI,AAAK,AAAI,AAAK;;EAEpD,DAAU,EAAW;EACrB,DAAU,EAAW;EACrB,AAAG,DACF,AAAO,EAAW;EAGnB,AAAG,DAAC,AAAM;GACT,FAAU,EAAW,AAAC,AAAI,AAAK,AAAI,AAAK;GACxC,FAAU,EAAW,AAAC,AAAI,AAAK,AAAI,AAAK;MAClC;GACN,FAAU,EAAW,FAAY,EAAI,AAAK,AAAI,AAAK;GACnD,FAAU,EAAW,FAAY,EAAI,AAAK,AAAI,AAAK;;EAEpD,DAAU,EAAW;EACrB,DAAU,EAAW;EACrB,AAAG,DACF,AAAO,EAAW;EAGnB,CAAqB;;kBAGf;;EACN,CAAc,CAAS;EAEvB,AAAI,EAAe,HAAiB;GACnC;GACA,AAAkB;;EAGnB,DAAW,EAAa;EAExB,CAAoB;;OAGrB,IAAiB;EAChB,AAAI,EAAkB,HAAG;EAEzB,AAAI,EAAY,HAAM;GACrB,FAAU;GACV,FAAW,AAAW,AACnB,AAAW,AACX,AAAW,AACX,AAAW;;EAIf,AAAI,DAAO;GACV,AAAQ;GAER,FAAiB;GAEjB;GACA,FAAc,AAAyB;;EAGxC,AAAG,CAAqB,AAAC,AAAkB,FAC1C,AAAmB,KACb;GACK,FAAmB,AAAG;GACjC,FAAmB;;EAGpB;EACoB;EACJ;EAEhB,CAAsB;EACtB,CAAuB;EACvB,CAA6B;EAC7B,CAAyB;EACzB,CAA8B;EAC9B,CAAuC;EAE7B;EAAI;EAAd,DAA8B;GAA9B;GACC,AAAY,FAAO;GACnB,AAAuC;GACvC,DAAI,DAAC,AAAiB,AAAe;IACpC,HAAY,AAAc,AAAW;IAErC,DAAQ;IACR,DAAY;IAEZ,DAAsB;IACtB,DAAuB;IACvB,DAA6B;IAC7B,DAAyB;IACzB,DAA8B;;GAG/B;;EAGD,DAAa,AAAc,AAAW;EACtC,CAAiB;EACjB,CAAqB;EAErB,AAAI,EAAY,HACf,AAAW;;aAMb,cAAuD;EACtD,AAAI,EAAQ,AAAK,AAAiB,HAAM;EAEpB;IAAgB,HAAO,KAA4C;EACvF,DAAsC;EAGtC,DAAuB;EAEvB,DAAoB,AAA0B,AAA8B,AAAO,AAAuC;EAE1H,AAAI,EAAwB,HAAM;GACxB;GACT,FAAa,AAA0B,AACpC,AAAkB,AAAoB,AAAmB,AAAgC,AAAI;GAChG,FAAa,AAA0B,AACpC,EAAe,FAAM,EAAiB,FAAM,EAAgB,FAAM,EAAiB;MAChF;GACN,FAAa,AAA0B,AAA6B,AAAG,AAAG,AAAG;GAC7E,FAAa,AAA0B,AAAyB,AAAG,AAAG,AAAG;;EAG1E,DAA4C;EAC5C,DAAe,AAAe;EAE9B,AAAI,DAAqB;GAExB,FAAkB,AAAe,AAAuB;GACxD,FAAkB,AAAe,AAAuB;MAClD;GACN,FAAkB,AAAe,AAAuB;GACxD,FAAkB,AAAe,AAAuB;;EAGzD,DAAiB,AAAc,EAAO,FAAG,AAAmB,EAAQ,AAAI;EAExE;;UAID;;;EACmB,DAAO;EACzB,AAAI,EAAS,HACZ,EAAQ,FAAO,EAAS;EAEzB,CAAgB;EAChB,CAAsB;EACtB,CAAkB;EAClB,CAAuB;EACvB,CAAgC;;YAG1B,CAAwC;EAC9C,CAAU;EAEV,DAAuB,AAAI;EAE3B,CAAc;EACd,DAAc,AAAyB;EACvC,DAAc,AAAyB,AAAS;;sBAK1C,XAAgC;EAC9B;EAER;EAAU;EAAV,CAAU,FAAY;GAAtB,AAAU,FAAV;;GACC,DAAG,DAAW,GAAK;;EAGb;;;;;4DAcD,jDARA;CAKmC,AALnC,EAKmC;CAHV,AAFzB,EAEyB;;;;;QAQlB,QACb;EAAO,DAAC,AAAC,GAAU,AAAQ,AAAgB,AAAS,AAAa,AAC/D,AAAW,AACX,AAAiB,AACjB,AAAa,AAEb,HAAC,GAAkB,AAAQ,HAAwB,AAAsB;;SAIrE,EAAmB;EACzB,CAAU;EACV,CAAiB;;;;wDCrmBX,3CAVR;CAO8B,AAP9B,EAO8B;CAK5B,EAAe;CACf,AAAY;CACZ,EAAU;CACV,EAAQ;;;;;iBAIK,8BAA8G;EAC9G;EAEb,DAAuC;EACvC,DAAqB,AAA0B,AAAgC,AAAO;EACtF,DAAqB,AAA0B,AAA+B,AAAO,AAAuC;EAE5H;EACA,DAAuB;EACvB,DAAe,AAAyB;;YAGlC;;EAEN,AAAG,DAAC,AAAQ;GACX,FAAU;GACV,FAAS;GACT,FAAe;GAEf,FAAa,AAAO,AAAO,AAAO;GAClC,FAAe,AAAU,AAAM;GAC/B,FAAa,AAAW,AAAS;GAEjC,FAAS;;EAGV;EAAa;EAAb,CAAa,FAAc;GAA3B,AAAa,FAAb;;GACC,DAAI,DAAgB;GACpB,FAAgB,AAAM,AAAe;GACrC,FAAiB,AAAe,AAAuB,AAAmB;;EAI3E,AAAG,DAAC,AAAQ;GACX,FAAa,AAAM,AAAM,AAAM;GAC/B,FAAa,AAAS,AAAS;GAC/B,FAAe,AAAU,AAAM;;;WAI1B,2BACN;CAAW;;UAGL,qBAAqE;EAE/C;EAC5B,AAAI,EAAgB,AAAQ,AAAkC,HAC7D;EAGD,AAAI,EAAe,HAAG;GACrB,FAAU;GACV,FAAS;;EAGV;EAEA,AAAI,DACH,AAAgC,AAAQ,AAAc;EAG5C;IAAe,HAAI,KAAW;EAC/B;EACC,CAAO;EAElB,DAAe;EACf,DAAa,AAAO,AAAO,AAAO;EAClC,DAAe,AAAM,AAAK;EAC1B,DAAa,AAAY,AAAS;EAGpB,DAAuB;EACrC;EAC+B;EACrB;EAAI;EAAd,DAAsC;GAAtC;GACC,AAAS,FAAgB;GAEzB,DAAI,EAAyB,HAC5B,EAAoB,GAEpB,HAAoB;GAGd;GAAP,GAAO;KACD,AAAM;IACV,HAAW,AAAQ,AAAe,AAA0B,AAAO;;;;;EAMtE,DAAa,AAAM,AAAM,AAAM;EAC/B,DAAa,AAAS,AAAS;EAC/B,DAAe,AAAU,AAAa;;SAGhC,sBAAoE;EAO1E;EAEA,AAAI,EAAe,HAAG;GACrB,FAAY;GACZ,AAAc;;;cAIT,wBAAsG;;SAwDtG,EAAyB;EAE/B,CAAe;EACf,CAAK;;YAKC,0BAAoG;EAE1G;EAEA;EAEA,AAAI,EAAuB,HAE1B,AAAY,KAEN;GAEM;GACZ,FAAc,AAAQ,AAAQ;GAE9B,FAAc,AAAO,AAAO,AAAO;GAEnC,DAAI,EAAe,HAAoB;IAEtC,DAAU,FAAC;IAEX,FAAI,DAAS;KAEZ,JAAgB,AAAU,EAAO,FAAC,EAAQ,FAAI;KAC9C,JAAc,AAAS,AAAS;MAE1B;KAEN,JAAgB,AAAU,EAAQ,FAAG;KACrC,JAAc,AAAS,AAAS;;IAIjC,HAAiB,AAAiB,AAAG,AAAmB,AAAC,EAAwB,AAAK;IAEtF,HAAgB,AAAW,AAAG;IAC9B,HAAc,AAAS,AAAS;IAEhC,HAAiB,AAAiB,EAAwB,FAAG,AAAmB;IAEhF,FAAI,DAAC,AAEJ,AAAgB,AAAU,EAAO,FAAS,KAI1C,LAAgB,AAAU,AAAO;MAI5B;IAEN,FAAI,DAAC,AAAS;KAEb,JAAgB,AAAU,EAAO,FAAC,EAAQ,FAAI;KAC9C,JAAc,AAAS,AAAS;MAE1B;KAEN,JAAgB,AAAU,EAAQ,FAAG;KACrC,JAAc,AAAS,AAAS;;IAIjC,HAAiB,AAAmB,AAAuB,AAAmB;IAE9E,FAAI,DAAC,AAEJ,AAAgB,AAAU,EAAO,FAAS,KAI1C,LAAgB,AAAU,AAAO;;GAMnC,FAAc,AAAM,AAAM,AAAM;GAChC,FAAc,AAAS,AAAS;;;aAO3B,yBAAqG;EAE3G,DAAc,AAAQ,AAAQ;EAE9B,AAAI,EAAuB,HAAG;GAE7B,FAAW;GACX,FAAU;GACV,AAAU;GACV,AAAQ;;EAIT,DAAmB;EAEP;EAGZ,DAAc,AAAO,AAAO,AAAO;EAEnC,DAAgB,AAAW,AAAG;EAC9B,DAAc,AAAS,AAAS;EAEhC,AAAI,EAAe,HAAoB;GAEtC,FAAiB,AAAiB,EAAwB,FAAG,AAAmB;GAEhF,DAAI,DAAS;IAEZ,HAAgB,AAAU,EAAO,FAAO;IACxC,HAAc,AAAS,AAAS;MAE1B;IAEN,HAAgB,AAAU,AAAO;IACjC,HAAc,AAAS,AAAS;;GAIjC,FAAiB,AAAiB,AAAG,AAAmB,AAAC,EAAwB,AAAK;GAEtF,DAAI,DAEH,AAAgB,AAAU,EAAO,FAAC,EAAQ,FAAI,KAI9C,LAAgB,AAAU,EAAQ,FAAG;GAItC,AAAU,FAAC;MAEL;GAEN,DAAI,DAAC,AAAS;IAEb,HAAgB,AAAU,EAAO,FAAO;IACxC,HAAc,AAAS,AAAS;MAE1B;IAEN,HAAgB,AAAU,AAAO;IACjC,HAAc,AAAS,AAAS;;GAIjC,FAAiB,AAAmB,AAAuB,AAAmB;GAE9E,DAAI,DAAC,AAEJ,AAAgB,AAAU,EAAO,FAAC,EAAQ,FAAI,KAI9C,LAAgB,AAAU,EAAQ,FAAG;;EAMvC,DAAc,AAAM,AAAM,AAAM;EAEhC,DAAc,AAAS,AAAS;EAEhC;;YAKM,CAEN;GAAU;;;;qDCvXJ,lBAXR;CAWQ;;CAFoB,AAT5B,EAS4B;CAHL,AANvB,EAMuB;CAFyB,AAJhD,EAIgD;CAQ9C,EAAY;CACZ,EAAkB;CAElB,CAAG,CAAO,FACT,EAAS,aAAgB;CAG1B,EAAgB;;;;;MAGH,KACb;CAAc,AAAiB;;QAGlB,GACb;CAAc,AAAiB;;QAGzB,OACN;CAAiB,AAAiB,AAAG;;SAG/B,EAAmB;EACzB,DAAgB;EAChB,CAAS;;YAGH,MAA8D;EACpE,CAAU;EAEV,CAAW;EAEX,DAAc,AAAiB;EAE/B,DAAc,AAAiB,AAAM,AAAW,AAAiB;;YAG1D,DAAsB;EACrB;EACR;EAAU;EAAV,CAAU,FAAY;GAAtB,AAAU,FAAV;;GACC,DAAI,DAAW,GAAK,DAAa;;EAE3B;;;;;;;;;wBCgCD;;CAEN;CAEA,EAAkB;CAClB,EAAqB;CACrB,EAAiB;CAEjB,CAAI,EAAiB,HAEpB,EAAqB;;;;;;aAOS,SAE/B;EAAI,EAAc,HAAM;GAEV,uBAAe,zBAAG,AAAG,AAAkB;GACpD,AAAS,FAAkB;GAE3B,FAAe,AAAU,AAAU,AAAc;;;WAOnB,mCAA6G;EAE5I,AAAI,DAAC,GAAW,AAAc,HAAa;EAE/B,DAAe,qBAAW,rBAAG;EAEzC,AAAI,CAAU,CAAK,DAAU,CAAK,AAAW,AAAoB,AAAW,HAAmB;GAE9F,DAAI,EAAS,AAAQ,HAAC,AAErB,AAAY;GAIN;;EAID;;eAKmC,SAE1C;CAAoB,AAAM;;mBAKgB,KAE1C;CAA+B,AAAG,AAAG,AAAO;;gBAKF,QAE1C;CAAqB,AAAM;;oBAKe,IAE1C;CAA4B,AAAG,AAAG,AAAO;;aAKC,WAE1C;CAAkB,GAAlB,AAAkB,AAAlB,AAAkB,AAAlB,AAAkB,AAAlB,AAAkB,HAAlB;CAAkB,GAAlB,HAAkB,AAAM,KAAxB,LAAkB,AAAM;MAAxB;CAAkB,GAAlB;IAAwB,HAAxB,AAAkB;IAAlB,AAAkB,DAAlB;IAAkB,DAAlB;;CAAkB,GAAlB;IAAwB,HAAxB,AAAkB;IAAlB,AAAkB,DAAlB;IAAkB,DAAlB;;;;YAK0C,YAE1C;CAAiB,GAAjB,AAAiB,AAAjB,AAAiB,AAAjB,HAAiB,AAAjB,KAAuB,LAAvB,AAAiB,AAAjB,AAAiB,AAAjB,AAAiB,AAAjB,AAAiB,AAAjB,AAAiB,AAAjB,AAAiB,AAAjB,AAAiB;;cAKyB,SAAmD;EAE7F,DAA8B,AAAgB;EAC9C,DAAwB;EACxB,DAAuB,AAAG,AAAG,AAAkB;EAE/C,AAAI,EAAyB,HAE5B,EAAwB;EAIzB,DAAa,AAAuC;EAEpD,DAAoB;;YAWW,DAA6B;EAE5D,AAAI,EAAc,HAEV,EAAoB;EAIrB;;YAKwB,IAAwC;EAEvE,AAAI,EAAc,HAAM;GAEvB,DAAI,EAAS,HAAmB;IAE/B;;;;IACA,HAAS,EAAQ;;GAIX;;EAID;;WAKwB,AAA4B;EAE3D,AAAI,EAAc,HAEV,EAAmB;EAIpB;;WAKwB,KAAuC;EAEtE,AAAI,EAAc,HAAM;GAEvB,DAAI,EAAS,HAAkB;IAE9B;;;;IACA,HAAS,EAAQ;;GAIX;;EAID;;;;4BCzGD,iBAhER;CAgEQ;;CAjB8C,AA/CtD,EA+CsD;CAmBpD,EAAmB;CAGX,GAAS,HAAjB,EAAwB,GAAxB,HAA4B;CACnB,GAAU,HAAnB,EAA0B,GAA1B,HAA8B;CAGtB,EAAQ,FAAhB,EAAoB,GAApB,HAAwB;CACf,EAAS,FAAlB,EAAsB,GAAtB,HAA0B;CAE1B,EAAa;CACb,EAAc;CACd,EAAO,uBAAe,zBAAG,AAAG,AAAO;CAEnC,CAAI,CAAQ,CAAK,DAAS,FAAG;EAE5B,AAAI,DAEH;EAAI;;GAAC,AAAY;IAAb;;IAA4B,HAE/B,EAAY;MAMb,HAAY,AAAe,AAAC,AAAY;EAIzC,CAAY,AAAC,CAAa,DAAd,AAAmB,AAAC,AAAC,CAAa,DAAd,AAAoB;EAEpD,CAAU,qBAAW,vBAAM,AAAG,AAAG,AAAO,AAAQ;EAChD,DAAsB;EACtB,CAAY;;CAIb;CAEA,EAAmB;CACnB,EAAwB;;;;;;uCAucX,VAA8F;CAE1F,6BAAgB,7BAAG,AAAG;CACvC,AAAyB,AAAQ,AAAM;CAChC;;sCAKM,NAA6G;CAEzG,6BAAgB,7BAAG,AAAG;CACvC,AAAwB,AAAO,AAAU;CAClC;;uCAMM;;CAEI,6BAAgB,7BAAG,AAAG;CACvC,AAAwB,AAAkB;CAC1C,AAAiC;CAC1B;;qCAMM,PAA0G;CAEtG,6BAAgB,7BAAG,AAAG;CACvC,AAAuB,AAAM,AAAQ;CAC9B;;sCAKM;;CAEI,6BAAgB,7BAAG,AAAG;CACvC,AAAwB;CACxB,AAAiC;CAC1B;;wCAihC6B,xBAEpC;CAAO,AAAC,EAAQ,CAAS,DAAK,FAAC,GAAU,DAAI,CAAS,DAAK,FAAC,GAAS,DAAK,CAAU,DAAI,AAAC,CAAS,DAAK;;uCAyL1E,vBAA2C;CAExE;CACA;CAEA,EAAO,AAAC,CAAM,DAAM;CACpB,EAAO,AAAC,CAAM,DAAM;CAEpB,CAAI,EAAQ,HAEJ,CAAC,CAAO,FAAO,KAAI,AAEpB;EAEN,CAAO,AAAC,CAAM,DAAM;EACpB,CAAO,AAAC,CAAM,DAAM;EAEpB,AAAI,EAAQ,HAEJ,CAAC,CAAO,FAAO,KAAI,AAEpB;GAEN,AAAO,AAAC,CAAM,DAAK;GACnB,AAAO,AAAC,CAAM,DAAK;GAEnB,DAAI,EAAQ,HAEJ,CAAC,CAAO,FAAO,KAAI,AAEpB;IAEN,DAAO,AAAK;IACZ,DAAO,AAAK;IAEZ,FAAI,EAAQ,HAEJ,CAAC,CAAO,FAAO,KAAI,AAInB;;;;;;aA1sDL,0CAAoH;EAE1H,AAAI,DAAC,GAAa,AAAoB,AAAQ,HAAC,AAA4B;EAG3E,DAAiC;EACjC,DAAiC;EACjC,DAAiC;EACjC,DAAiC;EAIjC,DAAsB,AAA+B,AAAgD,AAAY;EAGjH,CAAgB;;OASV,IAEN;EAAI,DAAC,AAEG,6BAAgB,7BAAO,AAAQ,KAI/B,LAAsB,AAAkB;;gBAc1C,cAA6E;EAEnF,AAAI,DAAC,AAAW;EAEhB,DAAwB,AAA2B;EACnD,CAAqB;;aAgDf,6DAAmI;EAEzI,AAAI,DAAC,AAAW;EAEI;MAAQ;KAEtB;GAAG;;KACH;GAAG;;KACH;GAAG;;KACH;GAAG;;;GACC;;EAIQ;MAAQ;KAEpB;GAAG;;KACH;GAAG;;KACH;GAAG;;KACH;GAAG;;;GACC;;EAIV,DAAqB,AAA0B,AAAiC,AAA8B,AAAe;EAC7H,CAAqB;;YA4Cf;;EAEN,AAAI,DAAC,GAAa,AAAoB,HAAM;EAE5C,DAAoB,AAA0B,AAAiC,AAA8B,GAAmB,HAAO,AAA0B,AAAM,GAAc,HAAO,AAAgC,AAAM;EAClO,CAAqB;;SAwBf,EAAyB;EAE/B,CAAU;EAEV,CAAQ;EACR,CAAS;EACT,CAAO;EACP,CAAY;EAEZ,AAAI,EAAa,HAAM;GAES;GAE/B,DAAG,EAAY,HAAM;IAEgB;IAC3B;IAET,FAAI,EAAM,HAET,AAAkB;;;EAQrB,AAAI,EAAiB,HAEpB;;MA+EK;;EAEN,AAAI,DAAC,AAAW;EAER;EAAR,IAAQ;KAEF;GAEJ,FAAiC;GACjC,FAAsB;GAGT;GAEO;GACpB,AAA6B;GAC7B,AAA4B;GAE5B,DAAI,DAAC,AAAW;IAEP,AAAC,DAAgD;IACjD,AAAC,DAAmD;IACpD,AAAC,DAA6C;;GAIrC;GACQ,CAAU,HAApC,EAA2C,GAA3C,HAAoD;GACpD,FAAyB;GACzB,FAAuB;GACvB,AAA0B;GAC1B,FAAyB;GAEzB,DAAI,DAAC,AAAW;IAEP,AAAC,DAAgD;IACjD,AAAC,DAAmD;IACpD,AAAC,DAA6C;;GAIvD,FAAkC,AAAG,AAAG,AAAG,AAAG,AAAG;;KAG7C;GAGgC;GACpC,FAAS,AAAe,AAAO,AAAQ,AAAQ,AAAQ,AAAgB,AAAW,AAAU,AAAW,AAAC,AAAoB,AAAO;;;;;QAY/H,4BAA2F;EAIjG,AAAI,DAAC,GAAa,AAAQ,HAAa,EAAY;EAEnD,AAAI,DAAQ,AAAY,AAEhB,EAAY,FAAgB,KAE7B,JAAI,DAAQ,AAAY,AAEvB,EAAY,FAAgB,AAAO,cAAM;EAI1C,CAAY;;UAcb,WAAmD;EAEzD,AAAI,DAAC,GAAa,AAAQ,HAAM;EAChC,DAAkB,AAA2B,AAAO;EACpD,CAAqB;;WAgBf,SAAkD;EAExD,AAAI,DAAC,AAAW;EAChB,DAAmB,AAAG,AAAG,AAAO;EAChC,CAAqB;;oBAiFf,QAEN;EAAO;;WAKD,EAAiD;EAEvD,AAAI,EAAY,HAAM;GAEV,FAEV,AAAO,AAAQ,AAAG,AAAG,AACrB,AAAG,AAAQ,AAAG,AAAG,AACjB,AAAO,AAAG,AAAG,AAAG,AAChB,AAAG,AAAG,AAAG,AAAG;GAIb,AAAW;GACX,FAAe,AAAiB;GAChC,FAAe,AAAiB,gBAAkB,AAAK,hBAAO;GAC9D,FAAe,AAAiB;;EAI1B;;oBAuCD;;EAEN,AAAI,DAAC,AAAkB,yBAAe,zBAAG,AAAG,AAAO;EACxC,DAA4B,AAAM,AAAO;EAC7C,wBAAe,zBAAQ,AAAQ,AAAY;;UA4B5C,IAAqC;EAE3C,AAAI,DAAC,AAAkB;EAChB,DAAkB,AAAG,AAAG;;YA2BzB,EAAuC;EAE7C,AAAI,DAAC,AAAkB;EAChB,DAAoB,AAAG,AAAG;;WAc3B,IAA8C;EAEpD,AAAI,DAAC,AAAkB;EACvB,AAAI,EAAQ,HAAM,EAAO;EAClB,DAAmB,AAA2B;;YAK/C;;EAEN,AAAI,DAAC,AAAkB;EAEvB,AAAI,EAAa,HAEhB,EAAgB;EAIjB,AAAI,EAAW,AAAQ,HAAe;GAErC,DAAI,EAAa,HAEhB;GAID,DAAI,DAEH,EAAiB,GAIjB,HAAiB;GAIlB,FAAwB;GACxB,FAA+B;GAC/B,AAAY,FAAwB;GACpC,AAAgB;;EAIV;;YAKD,CAAmD;EAEzD,AAAI,DAAC,AAAkB;EAEvB,AAAI,EAAsB,AAAiB,HACnC;EAGR,AAAI,EAAa,HAAM;GAEtB,AAAY;GACZ,FAAgB,AAAe;GAC/B,FAAkB,AAAe,AAAmB;GACpD,FAAkB,AAAe,AAAmB;GACpD,FAAkB,AAAe,AAAuB;GACxD,FAAkB,AAAe,AAAuB;GACxD,AAAgB;;EAIjB,AAAI,EAAW,AAAQ,HAAe;GAEhB;EAAC,EAA+B,HAAI,KAAW;GACvD;GACb,FAAgB,AAAe;GACZ;GAEnB,DAAI,DAAQ;IAIX,FAAI,EAAkB,HAErB,EAAiB,FAAY,AAA8B;IAa3D,DAAe,qBAAW,vBAAM,AAAG,AAAG,AAAe;IAC1C,oBAAmB,vBAAG,AAAG,AAAe;IACvC,kBAAa,rBAAG;IAE5B,HAA2B,AAAS,AAAM,AAAO,AAAkB;IACnE,HAA2B,AAAS,AAAM,AAAO,AAAoB;IACrE,HAA2B,AAAS,AAAM,AAAO,AAAmB;IACpE,HAA2B,AAAS,AAAM,AAAO,AAAoB;;GAMvE,DAAI,DAAC,GAA8B,HAA0B;IAE5D,DAAe;IACf,HAA6B;;GAI9B,FAAe,AAAe,AAAG,AAAgB,AAAO,AAAQ,AAAG,AAAQ,AAAkB;GAC7F,FAAgB,AAAe;GAC/B,AAAgB;;EAIV;;WAcD,IAAoC;EAE7B,DAAW;EACX,CAAS,AAAgB,AAAzB;EACA;;;;CAAkB;EAAlB;GAAkB;EAAlB,CAA0B;EAA1B;EAEH;EAAV,CAAc,FAAQ;GAAtB;GAEa;GAAZ;CAAO,GAAP,DAAO,AAAP;;;;;;;;;;CAAO,EAAP;;EAIM;;WAKD,KAA4C;EAEvC;IAAS,HAAO,KAAQ,oBAAe,zBAAG,AAAG,AAAO;EAClD,DAAW;EACX;EAAkB;EAAP;EAAV,CAAc,FAAd;;GAAiB;;IAAoB;IAAnB;KAAU;KAAV,FAAc,FAAd;;MAAmB;;;IAApB;;;;EAAlB;EAEH;EAAI;EAAd,DAA6B;GAA7B;GAEC,DAAE,DAAO,EAAI,FAAG;;EAIV;;SAKD;;EAEN,AAAI,DAAC,AAAkB;EAEvB,DAA2B;EAEpB;;MAaD,KAAsB;;OAOtB,sGAA8K;EAEpL,AAAI,DAAC,GAAa,AAAoB,AAAQ,HAAC,GAA8B,AAAc,AAAQ,AAAa,HAAM;EACtH,DAAe,AAA0B,AAAiC,AAA8B,AAAe,AAAiB,AAAgB;EACxJ,CAAqB;;OAiCf;;;;;EAEN,AAAI,DAAC,AAAW;EAEhB,DAA2B;;YAKrB,6EAAmN;EAE5M,CAAS,AAAT;EACA,CAAS,AAAT;EAEA,DAAW;EACxB,CAAkB;EAElB;;;;;;;;;;EAEU;EAAI,CAAC,AAAK;EAApB,DAAyB;GAAzB;GAEC,AAAa;GAER,FAAC,GAAc,HAApB,EAA4B,AAAa,GAAzC,HAAsD,FAAW,AAAC,GAAc,DAAM;GACjF,FAAC,GAAY,HAAlB,EAA0B,AAAa,GAAvC,HAAoD,FAAS,AAAC,GAAc,DAAM;GAC7E,FAAC,GAAc,HAApB,EAA4B,AAAa,GAAzC,HAAsD,FAAW,AAAC,GAAc,DAAK;GAChF,FAAC,GAAa,HAAnB,EAA2B,AAAa,GAAxC,HAAqD,FAAU,EAAe;GAE9E,AAAI,FAAC,AAAC,GAAM,DAAM,AAAQ,FAAC,AAAC,GAAM,DAAM,AAAQ,FAAC,AAAC,GAAM,DAAM,AAAQ,FAAC,AAAC,GAAM,DAAM;GACpF,DAAI,CAAI,FAAM,GAAK;GAEnB,AAAI,FAAC,AAAC,GAAM,DAAM,AAAQ,FAAC,AAAC,GAAM,DAAM,AAAQ,FAAC,AAAC,GAAM,DAAM,AAAQ,FAAC,AAAC,GAAM,DAAM;GACpF,DAAI,CAAI,FAAM,GAAK;GAEnB,AAAI,FAAC,AAAC,GAAM,DAAK,AAAQ,FAAC,AAAC,GAAM,DAAK,AAAQ,FAAC,AAAC,GAAM,DAAK,AAAQ,FAAC,AAAC,GAAM,DAAK;GAChF,DAAI,CAAI,FAAM,GAAK;GAEnB,AAAI,FAAC,EAAO,AAAQ,FAAC,EAAO,AAAQ,FAAC,EAAO,AAAQ,FAAC,EAAO;GAC5D,DAAI,CAAI,FAAM,GAAK;GAEnB,AAAQ,CAAK,DAAK,CAAK,DAAK,CAAK,DAAI;GAErC,AAAkB,AAAI;GACtB,FAAyB;;EAI1B,CAAkB;EACH,wBAAe,zBAAa,AAAa,AAAI;EAC5D,DAAW,AAAU;;aAuEf;;;EAEN,DAA2B;;QAYrB,MAEN;CAA2B;;UAsBrB,UAAiD;EAEvD,AAAI,DAAC,AAAW;EAChB,DAAkB,AAAG,AAAG,AAAO;EAC/B,CAAqB;;YAoCf,QAAmD;EAEzD,AAAI,DAAC,AAAW;EAChB,DAAoB,AAAG,AAAG,AAAO;EACjC,CAAqB;;WAwBf,cAA8D;EAEpE,AAAI,DAAC,GAAa,AAAQ,HAAM;EAChC,DAAmB,AAA2B,AAAW;EACzD,CAAqB;;WAcf,gBAA8D;EAEpD;EAEhB,DAAmB,EAAqB;EAGxC;GAAc,FAAa;GAA3B,AAAc,FAAd;;GAEC,FAA4B;;EAI7B,CAAqB;EACrB,DAAW,AAAM;;WAuDX;;;;EAEN,AAAI,EAAoB,AAAQ,HAAkB,GAAS,AAAe,AAAK,AAAe,HAAG;GAErF;GAEX,AAAY,FAAa,EAAb,FAAa,GAAb,HAAa,GAAb,DAAa,CAAb;GACZ,AAAQ,FAAa,EAAb,FAAa,GAAb,HAAa,GAAb,DAAa,CAAb;GAEK;GAEb,FAAiB,EAAQ,AAAS;GAElC,AAAS,FAAW;GACpB,AAAkB;GAClB,FAAe;GAES,AAAK,AAAY;GAEzC;;;;;;GAEW;GAAI;GAAf,FAAuB;IAAvB;IAEC,DAAW,AAAQ;IAER;IAAI;IAAf,HAAsB;KAAtB;KAEC,FAAW,FAAC,EAAW,AAAM;KAC7B,FAAa,FAAe;KAC5B,FAAiB,AAAa;KAE9B,FAAI,FAAY,AAAW;KAC3B,FAAO;KAEP,HAAI,EAAa,HAAQ,EAAO,AAAC,CAAK,EACjC,JAAI,EAAa,HAAO,EAAO,AAAC,CAAK,EACrC,JAAI,EAAa,HAAO,EAAO,AAAC,CAAK,EACrC,JAAI,EAAa,HAAQ,EAAO,AAAC,CAAK,EACtC,JAAI,EAAa,HAAQ,EAAO,AAAC,CAAK,AAAK,AAAK,EAChD,JAAI,EAAa,HAAQ,EAAO,AAAC,CAAK,AAAK,AAAK;KAErD,HAAI,DAAM;MAET,LAAe,AAAU;MACzB;;;;GAQH,AAAkB;GAClB,FAAW,AAAM;GACjB,FAAe;GACR;MAED;GAEG,AAAS,AAAT;GACA,AAAS,AAAT;GACA,AAAS,AAAT;GACA,AAAS,AAAT;GAEA,AAAS,AAAT;GACA,AAAS,AAAT;GAEI,AAAQ,AAAK;GACb,AAAS,AAAK;GAEd;CAAC,EAAK,FAAK,EAAK,FAAC,EAAQ,AAAK,GAAM;GACpC;CAAC,EAAK,FAAK,EAAK,FAAC,EAAS,AAAK,GAAM;GAEvC;GAEX,AAAY,FAAa,EAAb,FAAa,GAAb,HAAa,GAAb,DAAa,CAAb;GACZ,AAAQ,FAAa,EAAb,FAAa,GAAb,HAAa,GAAb,DAAa,CAAb;GAEW,AAAC,AAAK,AAAM;GACZ;GAEnB,DAAI,DAEH,EAAe,AAAC,AAAK,AAAM;GAIV,AAAC,AAAe;GACrB;GAEb,AAAgB,FAAhB,AAAgB,AAAhB,EAAgB,AAAhB,AAAgB;GAAhB,AAAgB;;GAEhB,AAAkB;GACD;GACJ,FAAsB;GACnC,FAAmB;GACnB,AAAkB;GAElB,DAAI,DAEH,AAAmB;GAIpB,AAAkB;GAClB,FAAe;GAES,AAAK,AAAY;GAEzC;;;;;GAEW;GAAX,AAAe,FAAI;IAAnB;IAEY;IAAX,DAAe,FAAI;KAAnB;KAEC,FAAW,FAAC,AAAC,EAAK,AAAM,FAAC,EAAK,AAAM,AAAM;KAC1C,FAAa,FAAe;KAC5B,FAAiB,AAAa;KAE9B,FAAI,FAAY,AAAW;KAC3B,FAAO;KAEP,HAAI,EAAa,HAAQ,EAAO,AAAC,CAAK,EACjC,JAAI,EAAa,HAAO,EAAO,AAAC,CAAK,EACrC,JAAI,EAAa,HAAO,EAAO,AAAC,CAAK,EACrC,JAAI,EAAa,HAAQ,EAAO,AAAC,CAAK,EACtC,JAAI,EAAa,HAAQ,EAAO,AAAC,CAAK,AAAK,AAAK,EAChD,JAAI,EAAa,HAAQ,EAAO,AAAC,CAAK,AAAK,AAAK;KAErD,HAAI,DAAM;MAET,LAAe,AAAU;MACzB;MAEM,JAAI,DAEV,AAAe,AAAU,AAAe,EAAe;;;GAQ1D,AAAkB;GAClB,FAAsB,AAAY;GAClC,FAAY,AAAY,AAAiB;GACzC,FAAe;GACR;;;QAmBF,aAAmD;;aAOnC,FAA6B;EAEnD,AAAI,EAAY,HAAM,EAAW;EAEjC,CAAc;EACd,CAAc;EACd,CAAc;EACd,CAAc;EACd,CAAc;EACd,CAAc;EACd,CAAc;EACd,CAAc;;UAKmB;;;;;EAEF;EAC/B,AAAI,EAAY,HAAM;EAEc;EACX;EACzB,AAAI,EAAM,HAAM;EAEE;EACM;EAEV;IAAY,HAAO,yBAAe,zBAAG,AAAG,AAAO,KAAU;EAEvE,CAAqC;EAErC,AAAI,EAAiB,HAEpB,EAAgB,sDAAmB,xDAAI,AAAO,AAAQ;EAIvD,DAAsB,AAAO;EAC7B,DAAoB,AAAgB;EAEpC,DAAsB,AAAG,AAAG,AAAO;EAEnC,DAAmB,AAAe,AAAW,AAAO;EAGpD,DAAc,AAAM,AAAM,AAAM;EAChC,DAA6C;EAE7C,DAAuC,AAA2C;EAElF,AAAI,EAAe,HAElB;EAID,AAAI,DAAU;GAEb;GACA,FAAc;GACd,FAAiB;GACjB;GACA,FAAkB;GAClB,FAAmB;;EAIN;EACI;EACG;EACR;EAEL;IAAU,HAAO,KAAkB;EAE3C,DAAc;EAEd,CAA0B;EACK,EAAkB,HAAjD,EAAwD,GAAxD,HAAyE;EACzE,CAAqB;EACrB,CAAyB;EAEzB,DAAyB;EAEzB,DAAmB;EAEnB,CAA+B;EAC/B,CAA0B;EAC1B,CAAqB;EACrB,CAAyB;EAEzB,DAAyB;EAEzB;EAEA,AAAI,DAAY;GAGf,DAAI,EAAiB,AAAS,AAAkB,HAE/C,AAAgB,AAAO;GAIxB,FAAe,AAAG,AAAG,AAAO,AAAQ,AAAS,AAAkB;;EAIhE,DAAoB,AAAgB;EAEpC,DAAsB,AAAG,AAAG,AAA8B;EAE1D,CAAqC;EAErC,DAAc,AAAM,AAAM,AAAM;EAEhC,CAAqB;EAErB,AAAI,EAAW,HAAM;GAEpB,AAAgB;GAChB,FAAwB;;EAIzB;EACA,CAAY;;cAK6B,FAAsC;EAEtE;EACA;EACT,CAAO;EACP,CAAO;EACP,DAAS,AAAG;EACZ,DAAa,AAAG;EAChB,EAAQ;EACR,EAAQ;;cAYqB,eAAoF;EAApF;EAE7B,DAAkB,AAAQ,AAAM,eAAiB;GAEhD,FAAa;GAEb,DAAI,EAAU,HAEb,AAAQ;;;aASmB,mBAAmG;EAAnG;EAE7B,DAAiB,AAAO,eAAiB;GAExC,FAAa;GAEb,DAAI,EAAY,HAAM;IAGrB,HAAiC;IACjC,HAAiC;IAGtB;IAED;IAAI;IAAd,HAA+B;KAA/B;KAEC,JAAK,EAAI,AAAI,AAAK;;IAInB,DAAgB;;GAIjB,DAAI,EAAU,HAEb,AAAQ;;;YASY,kBAAwF;EAAxF;EAEtB,DAAgB,AAAM,eAAiB;GAEtC,FAAa;GAEb,DAAI,EAAU,HAEb,AAAQ;CAIP;;aAKmB,GAAwC;EAE9D,CAAU;EAEV,CAAQ;EACR,CAAS;EACT,CAAO,uBAAe,zBAAG,AAAG,AAAa;EACzC,CAAY;;eAKqB,SAA0D;EAE3F,AAAI,DAAC,AAAW;EAEJ;EAEZ,AAAI,EAAoB,HAAM,EAAmB;EAGjC;EAEhB,AAAI,DAA2B;GAEjB;GACb,AAAY,FAAY;GACxB,AAAY,FAAY;GACxB,FAAe;MAKf,LAAe;EAKF;EAEd,AAAI,EAAW,HAAM;GAEpB,FAAwB,AAAS,AAAG;GACpC;;;mBAOgC,KAA8D;;gBAO9D,QAA2D;EAG5F,AAAI,DAAC,AAAW;EAEhB,DAAsB;EAER;EAEd,AAAI,EAAoB,HAAM,EAAmB;EAEjD,CAAsB;EACN;EAEhB,AAAI,DAEH,AAAsB,AAAa,AAAa,AAAa,AAAa,AAAS,EAAT,FAAwB,AAAS,EAAT,GAIlG,LAAsB,AAAa,AAAa,AAAa,AAAa,AAAc;EAIzF,DAAmB,AAAoB,AAAG;;oBAMT,IAA+D;;YAO/D,YAEjC;CAA4C,AAAM,AAAO,AAAkB,AAAuB,AAAuC;;QAKnH,GAGtB;CAAsB;;kBA4DW,MAAoD;;cAOpD,SAAmD;;;;4BAuB9E,jBAbmB;CAUJ,AAVI,EAUJ;CADA,AATI,EASJ;CADA,AARI,EAQJ;CADA,AAPI,EAOJ;CADA,AANI,EAMJ;CADA,AALI,EAKJ;CADA,AAJI,EAIJ;CADA,AAHI,EAGJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCCh9Df;;CAEN;;;;;;YAYsB,DAEtB;EAAO;;YAKe,IAEtB;EAAO,CAAW;;;;;4BCtBZ,PAAsC;CAE5C;CAEA,EAAS;CACT,EAAU;;;;;;WAYY,AAA4B;EAAO;;UACnC,CAA8B;EAAO;;;;;;;;;;;;0BCuCrD,fArCR;CAwB6C,AAxB7C,EAwB6C;CAPU,AAjBvD,EAiBuD;CADE,AAhBzD,EAgByD;CADG,AAf5D,EAe4D;CAwB1D,EAAa;CACb,EAAoB;CACpB,EAAc;CACd,EAAc;CACd,EAAa;CAGb,AAAQ,AAAG;;;;;iBA0CL;;;EAEN,DAAiB,AAAiB,AAAQ,GAAU,HAAO,AAAkB,AAAM,AAAQ;EAE3F,CAAY;;WAmBN;;;EAEN,DAAiB,AAAW,EAAQ,FAAU;EAE9C,AAAI,CAAQ,FAAG,EAAY;;mBAsErB,yEAAiR;EAEvR,DAAiB,AAAmB,AAAM,AAAQ,AAAQ,AAAQ,AAAQ,AAAc,AAAqB;EAC7G,CAAa;EAEb;GAAc,FAAQ;GAAtB,AAAc,FAAd;;GAEC,DAAI,CAAQ,FAAG;IAEd,DAAY;IACZ;;;;OAcI,IAAuB;EAE7B,CAAa;EACb,CAAoB;EAEpB,AAAI,EAAY,HAAM;GAErB,FAAU;GACV,AAAmB;GACnB,AAAW;;EAIZ,CAAY;EACZ,CAAa;EAGb,DAAQ,AAAG;;UAKL,eAAiD;EAEvD,CAAW;EACX,CAAa;EACb,DAAU;EACV,CAAoB;EACpB,CAAc;EACd,CAAc;EACd,CAAmB;EACnB,CAAY;;cAKN,oDAA8H;EAEpI,DAAiB,EAAc,FAAmB,EAAc;EAChE,DAAiB,EAAc,FAAmB,EAAc;EAGhE;;;;EAEA,CAAM;EACN,CAAM;EAEN,AAAK,DAAC,AAAE,AAAE,AAAC,EAAY,CAAW,DAAY,CAAgB,AAAC,DAAY,CAAW,DAAY,CAAkB,HAAE,AAAC,EAAY,CAAW,DAAY,CAAgB,AAAC,DAAY,CAAW,DAAY,FAC9M;GACS,AAAC,AAAI,AAAc,AAAI,AAAY,AAAI;GACvC,AAAC,AAAY;GACb,AAAE,FAAC,EAAc,AAAI,AAAY,AAAU,AAAI;GAE9C,FAAE,AAAC,EAAI,FAAW,EAAI,AAAI,AAAI,AAAI,AAAM,FAAC,EAAI;GAC7C,FAAE,AAAC,EAAI,FAAW,EAAI,AAAI,AAAI,AAAI,AAAM,FAAC,EAAI;GAEtD,DAAK,CAAK,CAAK,DAAK,FACnB,EAAM,FAA6B,AAAI,AAAa,AAAW,AAAW;GAE3E,DAAI,CAAK,CAAK,DAAK,FAClB,EAAM,FAA6B,AAAI,AAAa,AAAW,AAAW;;EAG5E,CAAM;EACN,CAAM;EAEN,AAAK,DAAC,AAAE,AAAE,AAAC,EAAY,CAAW,DAAY,CAAgB,AAAC,DAAY,CAAW,DAAY,CAAkB,HAAE,AAAC,EAAY,CAAW,DAAY,CAAgB,AAAC,DAAY,CAAW,DAAY,FAC9M;GACS,AAAC,AAAI,AAAc,AAAI,AAAY,AAAI;GACvC,AAAC,AAAY;GACb,AAAE,FAAC,EAAc,AAAI,AAAY,AAAU,AAAI;GAE9C,FAAE,AAAC,EAAI,FAAW,EAAI,AAAI,AAAI,AAAI,AAAM,FAAC,EAAI;GAC7C,FAAE,AAAC,EAAI,FAAW,EAAI,AAAI,AAAI,AAAI,AAAM,FAAC,EAAI;GAEtD,DAAK,CAAK,CAAK,DAAK,FACnB,EAAM,FAA6B,AAAI,AAAa,AAAW,AAAW;GAE3E,DAAI,CAAK,CAAK,DAAK,FAClB,EAAM,FAA6B,AAAI,AAAa,AAAW,AAAW;;EAG5E,DAAiB,EAAM,FAAmB,EAAM;EAChD,DAAiB,EAAM,FAAmB,EAAM;EAChD,DAAiB,EAAM,FAAmB,EAAM;EAChD,DAAiB,EAAM,FAAmB,EAAM;EAEhD,CAAc;EACd,CAAc;EAEd,DAAiB,AAAc,AAAW,AAAW,AAAW,AAAW,AAAS;EAEpF,CAAa;EACb,DAAU;;SAmCJ,mCAAgF;EAEtF,DAAiB,EAAc,FAAmB,EAAc;EAChE,DAAiB,EAAc,FAAmB,EAAc;EAGhE;;EAEA,AAAK,DAAC,EAAW,CAAW,DAAW,CAAgB,AAAC,DAAW,CAAW,DAAW,FAExF,EAAK,GAGN;GACU,AAAC,FAAC,EAAc,AAAY,FAAC,EAAc,AAAI,AAAW;GACnE,AAAK,FAA4B,AAAI,AAAa,AAAU;;EAG7D,AAAK,DAAC,EAAW,CAAW,DAAW,CAAgB,AAAC,DAAW,CAAW,DAAW,FAExF,EAAK,GAGN;GACU,AAAC,FAAC,EAAc,AAAY,FAAC,EAAc,AAAE,AAAW;GACjE,AAAK,FAA4B,AAAI,AAAa,AAAU;;EAG7D,DAAiB,EAAK,FAAmB,EAAK;EAC9C,DAAiB,EAAK,FAAmB,EAAK;EAE9C,CAAc;EACd,CAAc;EAEd,DAAiB,AAAS,AAAU,AAAU,AAAS;EAEvD,CAAa;EACb,DAAU;;YAmBJ,SAA0D;EAEhE,AAAI,EAAU,HAAG;EAEjB,DAAiB,EAAI,AAAS,FAAmB,EAAI,AAAS;EAC9D,DAAiB,EAAI,AAAS,FAAmB,EAAI,AAAS;EAE9D,DAAiB,AAAY,AAAG,AAAG;EAEnC,CAAa;EACb,DAAU;;aAqBJ,cAAwE;EAE9E,AAAI,EAAS,AAAK,AAAU,HAAG;EAE/B,DAAiB,EAAI,FAAmB,EAAI;EAC5C,DAAiB,EAAI,AAAQ,FAAmB,EAAI,AAAS;EAE7D,DAAiB,AAAa,AAAG,AAAG,AAAO;EAE3C,CAAa;EACb,DAAU;;kBAiBJ,KAEN;CAA2B;;UAkDrB,sBAAsG;EAE5F;EAEhB;GAAgB,FAAU;GAA1B,AAAgB,FAAhB;;GAEC,GAAQ;KAEF;IAEJ,HAAQ,AAAK,AAAY,AAAK,EAAY;IAC1C,AAAa;;KAET;IAEJ,HAAQ,AAAK,AAAY,AAAK,EAAY;IAC1C,AAAa;;KAET;IAEJ,HAAS,AAAK,AAAY,AAAK,EAAY,FAAI,AAAK,EAAY,FAAI,AAAK,EAAY;IACrF,AAAa;;KAET;IAEJ,HAAc,AAAK,AAAY,AAAK,EAAY,FAAI,AAAK,EAAY,FAAI,AAAK,EAAY,FAAI,AAAK,EAAY,FAAI,AAAK,EAAY;IACpI,AAAa;;;;;;UA4BV,iBAAqE;EAE3E,AAAI,EAAS,AAAK,AAAU,HAAG;EAE/B,DAAiB,EAAI,FAAmB,EAAI;EAC5C,DAAiB,EAAI,AAAQ,FAAmB,EAAI,AAAS;EAE7D,DAAiB,AAAU,AAAG,AAAG,AAAO;EAExC,DAAU;;eA+BJ;;EAEN,AAAI,EAAS,AAAK,AAAU,HAAG;EAE/B,DAAiB,EAAI,FAAmB,EAAI;EAC5C,DAAiB,EAAI,AAAQ,FAAmB,EAAI,AAAS;EAE7D,DAAiB,AAAe,AAAG,AAAG,AAAO,AAAQ,AAAI;EAEzD,CAAa;EACb,DAAU;;sBAKJ,qEAEN;CAA2B;;WAKrB;;;;EAKN,DAAiB,AAAG;EACpB,DAAiB,AAA8B;EAE/C,DAAiB,AAAW,AAAO,AAAU,AAAQ,AAAO;EAE5D,DAAU;EACV,CAAY;;eAuBN;;EAEK,CAAQ,AAAkB,AAA1B;EAEX,AAAI,EAAW,HACd,EAAU;EAGX,AAAI,EAAW,HAAM;GACpB,DAAI,CAAO,CAAK,HACf,KAAM,0BAAkB;GAEf;;;;;;;GAAV,AAAU;GAEA;GAAV,AAAc,FAAM;IAApB;IACC;;;;;;;;;;GAAa;;IAAb;;;EAIF,DAAiB,AAAG;EAET;EACA;EACA;EACA;EAED;EAAV,CAAc,FAAM;GAApB;GACC,AAAO,FAAS,EAAI;GACpB,AAAO,FAAS,EAAI,AAAI;GACxB,DAAI,CAAO,FAAM,EAAO;GACxB,DAAI,CAAO,FAAM,EAAO;;EAGzB,DAAiB,AAAM;EACvB,DAAiB,AAAc,AAAU,AAAS,AAAS,AAAS,AAAQ;EAC5E,DAAU;EACV,CAAY;;SAgBN,EAEN;CAAiB;;iBAkCX;;;EAEN,DAAiB,AAAiB,AAAQ,GAAU,HAAO,AAAkB,AAAM,AAAQ;;mBAyDrF,yEAEN;CAAiB,AAAmB,AAAM,AAAQ,AAAQ,AAAQ,AAAQ,AAAc,AAAqB;;WAgJvG,mEAAyP;EAE3O,CAAY,FAAhC,EAAoD,AAAU,GAA9D,HAAkE;EAClE,DAAiB,AAAW,AAAW,AAAO,AAAO,AAAc,AAAW,AAAM,AAAQ;EAE5F,AAAI,EAAa,HAAM,EAAY;;QAqB7B,MAAwC;EAI9C,DAAiB,EAAc,FAAmB,EAAc;EAChE,DAAiB,EAAc,FAAmB,EAAc;EAEhE,CAAc;EACd,CAAc;EAEd,DAAiB,EAAc,FAAmB,EAAc;EAChE,DAAiB,EAAc,FAAmB,EAAc;EAEhE,DAAiB,AAAQ,AAAG;EAE5B,CAAa;EACb,DAAU;;QAeJ,MAAwC;EAE9C,CAAc;EACd,CAAc;EAEd,DAAiB,AAAQ,AAAG;;4BAIN,PAA6E;EAC1F,CAAI;EACN,CAAK,AAAK,AAAK,AAAI,AAAK,AAAI,AAAK,AAAI,AAAI;;6BAG1B,LAAwF;EACrG,CAAI;EACN,CAAK,FAAC,EAAK,AAAK,AAAM,AAAI,AAAK,AAAI,FAAC,EAAK,AAAM,AAAI,AAAK,AAAK,FAAE,EAAI,AAAM,AAAK,FAAE,EAAI,AAAI;;aAGzE,SAA0D;EAEhF,AAAI,EAAY,HAAM;EAET,DAAoB;EACjC,DAAe,AAAU,AAAU,AAAc;;WAK3B,oBAA0E;EAIhG,AAAI,EAAY,HAAa;EAEhB,DAAoB;EAC1B,KAAC,JAAI,CAAY,DAAI,CAAY,AAAK,AAAgB,AAAK;;iBAI5C,HAAiD;EAEvE,AAAI,EAAY,HAAM;GAErB,AAAW,uBAAe,zBAAG,AAAG,AAAG;GACnC,AAAmB;GACnB;;EAID,AAAI,CAAI,FAAY;GAEnB,CAAkB,DAAa;GAC/B,AAAa;GACb,AAAmB;;EAIpB,AAAI,CAAI,FAAY;GAEnB,CAAmB,DAAa;GAChC,AAAa;GACb,AAAmB;;EAIpB,AAAI,CAAI,AAAa,FAEpB,EAAiB,AAAI;EAItB,AAAI,CAAI,AAAa,FAEpB,EAAkB,AAAI;;aAOD,GAAuC;EAC7D,AAAI,EAAS,AAAW,HACP;EAEV,CAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCC3lCX;;CAEN,EAAe;;;;;;;wBCqKT,bAAgB;CAEtB;CAEA,EAAoB,FAAmB;;;;;;OAUjC,IAEN;CAA2B;;MAsKrB,oBAAsE;EAE5D;EACJ,DAAmB;EAE/B,AAAI,CAAe,FAElB,EAAY,FAAM,EAAe;EAIlC,AAAI,DAAoB,GAAO,HAE9B,EAAY,FAAkB,AAAI;EAIjB;EAER,CAAwB;EAElC,AAAI,EAAuB,AAAQ,AAAuB,HAIxB,KAAQ;KAElC;GAFN,AAEa;;KACP,AAAO;GAAQ,AAAc;GAHnC,AAG0C;;KACpC;GAJN,AAIa;;KACP;GALN,AAKa;;;GALb,AAMU;MAQD,HAAgC;EAI3C,DAAqB,AAAa,AAAmB;;WA2F/C,MAEN;CAAsB,AAAtB,AAA8B;;QA4BxB,GAEN;EAAI,CAAc,FAAG;GAEpB,EAAO,FAAc,FAEpB,AAAe;GAIhB,AAAU;GACV,AAAwB;GACxB,AAAgC;GAChC,AAA4B;GAC5B,AAAgC;GAChC,AAA+B;GAC/B,AAA0B;GAC1B,AAA2B;GAEf,qBAAW;GACvB,AAAsB;GACtB,FAAe;;;eAmCV;;EAEN,DAA2B;;mBAYL,EAAwD;EAE9E,CAA4B,uBAAY;EACxC,CAAU;EACV,DAAU;EAEE,sBAAW;EACvB,CAAe;EACf,CAAsB;EACtB,DAAiC;;oBAKX,TAAoC;EAE9C,6BAAkB;EAC9B,CAAe;EACf,CAAsB;EACtB,DAAiC;;;;4BCnkB3B,jBAAgB;CAEtB,AAAO;CA2BP,CAAI,DAAC,AAAS;EAEb,CAAU;EAEV,KAAO,NAAP;EACA,KAAO,NAAP;;;;;;;4CAsI4B,jCAAiC;CAQ9D,CAAY,DAAE,AAEN;CAIR,CAAI,EAAc,HAEV,KAED;EAEqB,CAAK,FAAgC;EAClD,CAAK,FAAmB;EAEtC,AAAI,EAAW,HAEd,EAAe,FAAmB;EAI5B,KAAC,HAAW;;CAKb;;;;gBA9JuB,QAA2D;;aAgB3D,WAG9B;EAAI,EAAS,AAAQ,AAAkB,HAAc;GAEpD,DAAI,DAAC,AAAS;IAyBb,HAAmC;IACnC,DAAU;IAEV,HAA+B,AAAM,AAAU;;GAIhD,DAAI,EAAa,HAAM;IAIX;IAEX,FAAI,EAAc,HAEjB,EAAO,uBAAe,zBAAG,AAAG,AAAkB,KAI9C,HAAO,uBAAe,vBAAI,FAAc,EAAI,FAAc,AAAkB;IAI7E,FAAI,EAAY,HAAM,AAAU;;MAQjC,JAAI,DAAS;GAEZ,FAAmC;GACnC,AAAU;;;YAYkB,YAE9B;EAAI,EAAS,AAAQ,HAAc;GAEvB;GAEX,DAAI,EAAc,HAEjB,EAAO,uBAAe,zBAAG,AAAG,AAAkB,KAI9C,HAAO,uBAAe,vBAAI,FAAc,EAAI,FAAc,AAAkB;GAI7E,DAAI,EAAY,HAAM,AAAU;GAEhC,FAAsC;GACtC,FAA4C;;;;;mCClLvC;;CAEN,EAAuB;;;;;;;;;;;;;;;;;2BCSjB,TAAqC;CAE3C;CAEA,CAAI,EAAW,HAAM;EAEpB,CAAe;EACf,DAAsB;EAEtB,AAAI,DAAQ,AAAS,AAEpB,cAAM;;;;;;;MASO,eAAgE;EAIlE;EACH;EAEA;EAAI;EAAd,DAA2B;GAA3B;GAEC,AAAM,FAAK;GAEH,FAAM;GAAd,GAAQ;KAEF,AAAO;IAEC,HAAuB;IAEnC,FAAI,DAAC,AAAe,AAEnB;IAID,HAAa;;;;;EAQhB;GAAkB,FAAQ;GAA1B,AAAkB,FAAlB;;GAEa;GACZ,FAAwB,AAAgB;GACxC,FAAwB,AAAuB;GAC/C,FAAY,yBAAgB,vBAAY;;EAMzC,DAAY,AAAM;;OAKF,IAEhB;EAAI,EAAW,AAAQ,HAAQ,AAAS,AAAkB;GAEzD,FAA0B,AAAgB;GAC1C,YAAM;MAIN;;QAOe,eAEhB;EAAI,EAAW,AAAQ,HAAQ,AAAS,AAEvC,cAAM,dAAoC,AAAQ;;oBAc7B,JAA+C;EAErE,DAA6B,AAAgB;EAC7C,DAAyB;EACzB,DAA0B;EAC1B,CAAU;EAEV;;kBAMsB,FAA6C;EAEnE;EAEA,DAAQ,AAAQ;EAEhB,AAAI,EAAU,HAEb;;iBAOqB,DAAmD;EAIzE;EAEA,DAAQ,AAAQ;EAEhB,AAAI,EAAU,HAEb;;;;uBC/HK,ZAEN;;;;;;;cAYsB,HAAkC;EAExD,AAAI,EAAc,HAAM;GAEvB,AAAa;GACX,AAAc,AAAqB;;EAI/B;;;;;uBCyfD,MAA6D;CAMnE;CAEA,CAAI,EAAS,HAAM;EAElB,CAAgB;EAChB,DAAa;MAIb,LAAa;CAId,AAAY;CAEZ,EAAiB;CACjB,EAAW;CACX,EAAW;CACX,EAAkB;CAElB,EAAa;CACb,EAAc;CAEd,EAAa;CAEb,EAAQ;CACR,EAAmB;CACnB,EAAU;CACV,EAAY;CACZ,EAAiB;CAEjB,EAAsB;CACtB,EAAU;CACV,EAAkB;CAEP;;;;;;;CAAX,EAAW;CACX;CAAe;CAAf;;;;;;;;;;;;;;;;;;;eAKe,DAEf;EAAO;;MAKD,YAEN;MAAQ;KAEF;GAFE;GAKN,AAAa,6CAAgB,/CAAY,AAAa;;KAGlD;GARE;GAUN,AAAa,iDAAoB,nDAAY,AAAa;;KAEtD;GAZE;GAcN,AAAa,2CAAiB,7CAAY,AAAa;;KAEnD;GAhBE;GAkBN,AAAa,+CAAmB,jDAAY,AAAa;;;;;YA+BrD,DAEN;GAAgB;;eAKD,DAEf;EAAO;;mBAKD,UAEN;CAA+B,AAAS,AAAM;;qBAKxC,IAEN;CAAiC,AAAS;;mBAKpC,MAEN;CAA+B,AAAS;;kBAKlC,AAEN;CAA8B;;qBAKxB,HAEN;CAAiC;;WAK3B,gBAEN;CAAS,AAAwB,AAAS;;SAKpC,kBAEN;CAAS,AAAsB,AAAS;;aAKlC,QAAyD;EAEpD;MAAQ;KAEb;GAAG;;KACH;GAAG;;;GACC;;EAIV,DAAW,AAAM,AAAG,AAAG;;aAKjB,CAEN;CAAW,AAAuB,AAAG,AAAG;;qBAKlC,PAAqD;;WAOrD,UAAuD;EAElD;MAAQ;KAEb;GAAG;;KACH;GAAG;;;GACC;;EAIV,DAAW,AAAM,AAAG,AAAG;;cAKjB,UAEN;CAAgB,AAAQ;;qBAKlB,VAAqC;;yBAOrC,PAA8D;;YAO9D,gBAA8D;;aAO9D,EAAwC;EAElC;EAEZ,AAAI,EAAW,HAEd,AAAkB,KAIlB,LAA0B;EAIf,0BAAe,3BAAsB,AAAM,AAAO;EAC9D,AAAI,CAAe,FAAG;GAErB;GACA,FAAa,AAAO;MAGpB,LAAa,AAAO;;aAMf,IAEN;CAAW,AAAuB,AAAG,AAAG;;YAKlC,KAEN;CAAW,AAAsB,AAAG,AAAG;;cAKjC,GAEN;CAAW,AAAwB,AAAG,AAAG;;kBAKnC,PAAkC;EAE5B,sBAAW;EACvB,DAAa,AAAO;;eAKd,JAA+B;;oBAO/B,TAAoC;EAE9B,sBAAW;EACvB,DAAa,AAAO;;eAKd,JAA+B;;iBAO/B,NAAiC;EAE3B,2BAAgB,5BAAqB,AAAM,AAAO,AAAM,AAAO;EAC3E,DAAa,AAAO;;kBAKd,PAAkC;EAE5B,2BAAgB,5BAAsB,AAAM,AAAO,AAAM,AAAO;EAC5E,DAAa,AAAO;;oBAKd,TAAoC;;eAOpC,JAEN;CAAe,uBAAW;;kBAKpB,PAAkC;;cAOlC,AAA8C;;gBAO9C,OAAqD;EAE3D,CAAa;EACb,CAAc;EAEd,AAAI,EAAc,HAEjB,AAAmB,AAAO;EAIf,sBAAW;EACvB,DAAa,AAAO;;iBAKd,NAAiC;;QAOjC,UAA6C;EAEnD,AAAI,DAAa;EACjB,CAAc;EAMd,DAAa,uBAAW,vBAAoB;EAE5C,AAAI,DAAe;GAElB,AAAgB;GAChB,FAAa,uBAAW,vBAAe;;EASxC,CAAe;EACf,DAAU,AAAO;EAEjB,AAAI,EAAc,HAAM;GAEvB,GAAQ;KAEF;IAFE;IAIN,WAAM,ZAAmC;IACvC,AAAc,AAAC,DAAkC;;;;GAMrD,FAAmB;;EASpB,CAAc;;QAKR,YAAqC;;QAOrB,QAAmC;EAE5C;EACb,AAAI,EAAU,HAEb,EAAQ,FAAsB;EAIvB,CAAU;EACV,CAAU;EAElB,AAAI,EAAgB,HAAM;GAEzB,DAAI,CAAI,FAEP,EAAI,GAEE,JAAI,CAAI,FAEd,EAAI;GAIL,DAAI,CAAI,FAEP,EAAI,GAEE,JAAI,CAAI,FAEd,EAAI;;EAMN,DAAiB;EACjB,DAAiB;;aAKK,SAAoE;EAE7E;EAEb,AAAI,EAAU,HAAG;GAEhB,AAAmB;GACnB,FAA0B,AAAO;MAE3B;GAEN,AAAmB;GACnB,AAAe,FAAM,EAAe;GAE1B;GAAI,AAAS;GAAvB,FAA0B;IAA1B;IAEC,HAAM,AAAgB,AAAO;IAE7B,FAAI,DAEH;;GAMF,AAAmB;GACnB,FAA0B,AAAO;GAEjC,DAAI,DAEH;GAID,DAAI,DAAe;IAElB,DAAmB;IACX,DAAS;IAEjB,CAAO,DAAK,HAAG;KAEd,JAAM,AAAgB,AAAO;KAE7B,HAAI,DAEH;KAID;;;;;kBAW4B,FAA4D;EAE3F,AAAI,EAAS,HAEZ,AAAY;EAIN;;SAKe,uBAA2E;EAEjG,CAAsB;EACtB,CAA0B;EAC1B,CAAuB;EACvB,CAAwB;EAEZ;EAEZ,AAAI,EAAW,HAEd,AAAkB,KAIlB,LAA0B;EAI3B,AAAI,CAAe,FAAG;GAEP,FAAyB;GACxB,FAAwB,AAAS;GAEpC,6BAAmB,/BAAM,AAAM,AAAO,AAAU,AAAS,AAAM,AAAkB,AAAiB,AAAmB;GAEjI;GACA,FAAa,AAAO;;;WAmCC,eAAoE;EAE1F,AAAI,CAAS,FAAG;EAEhB,CAAW;EACX,CAAW;EAEC;EACmB;EACb,oBAAW,rBAAG;EAEhC,AAAI,DAAW,AAAG,AAAG,AAAO,AAAO,AAElC,EAAc,FAAM,EAAe,GAE7B;GAEN,AAAS;GACT,AAAQ,FAAE;;EAIX,AAAI,EAAQ,HAEX,AAAQ;EAIT,DAAa,AAAqB,AAAM,AAAQ,AAAU,AAAU,AAAC,GAAU,HAAO,AAAc,AAAsB,AAAe,AAAS;EAElI;MAAQ;KAElB;GAAqB;;KACrB;GAA4B;;KAC5B;GAA2B;;;GACvB;;EAIV,AAAI,EAAa,HAAM;GAEtB,FAAa,AAAqB,AAAW,AAAQ,AAAU,AAAU,AAAC,GAAU,HAAO,AAAc,AAAsB,AAAe,AAAS;GAEvJ,DAAI,EAAQ,AAAuB,WAAM,dAA8D;IAEpF;IAClB,FAAI,CAAc,AAAkB,FAAK;KAExC,JAAa,AAAqB,AAAyB,AAAQ,AAAU,AAAU,AAAC,GAAU,HAAO,AAAc,AAAsB,AAAe,AAAS;KACrK,FAAkB;MAIlB,HAAkB;;;EAQR;EAEb;GAAe,FAAO;GAAtB,AAAe,FAAf;;GAEC,AAAS;GAET,DAAI,EAAU,HAAM;IAEnB,HAAe;IACf;;;EAMF,AAAI,EAAU,HAEb,AAAe;EAIhB;EAAe;EAAf,CAAe,FAAiB;GAAhC,AAAe,FAAf;;GAEC,DAAI,DAAe,AAAf,GAA0B,HAAI;IAEjC,HAAwB;IAEP,HAAsB;IACvC,HAAsB,4BAAgB,5BAAsB,AAAO,AAAO,AAAc,AAAc,AAAK;;;EAM7G;GAAe,FAAO;GAAtB,AAAe,FAAf;;GAEC,DAAI,DAAyB,AAAzB,GAAoC,HAAI;IAE3C,FAAI,DAAyB,AAAwB;KAEnC,JAAsB;KACvC,JAAsB,4BAAgB,5BAAuB,AAAO,AAAO,AAAc,AAAc,AAAK;;IAI7G,FAAI,DAAyB,AAE5B,AAAsB;;;EAQzB,AAAI,EAAgB,HAEnB,AAAQ;;gBAOa,QAA0D;EAExE;EACA;EAEI;EAEZ,AAAI,DAAC,AAAW,AAAG,AAAG,AAAO,AAAO,AAEnC,EAAQ,FAAE;EAIoB,CAAK,FAAM,EAAe;EACvC,oBAAW,rBAAG;EACpB,CAAS,AAAT;EAEZ,DAAa,AAAqB,AAAwB,AAAG,AAAU,AAAU,AAAC,GAAU,HAAO,AAAc,AAAsB,AAAe,AAAQ,AAAQ;;WAKhJ,WAAgE;EAmB1E,oBAAW,rBAAG;EAE1B,CAAW;EACX,CAAW;EAEG;EAEE;MAAQ;KAElB;GAAwB;;KACxB;GAAuB;;KACvB;GAAsB;;;GAClB;;EAIV,AAAI,DAAW,AAAG,AAAG,AAAO,AAAS,AAAO;GAE9B,FAAQ,EAAiB;GACrB,FAAsB;GAEtB,FAAqB,AAAiB,AAAe,AAAU,AAAU,AAAY,AAAK;GAC3G,AAA0B;GAE1B,AAAiC;GAEhB,FAAqB,AAAW,AAAG,AAAU,AAAU,AAAY,AAAK;GACzF,AAAwB,AAAC,CAAQ;GAEjC,FAAa,AAAY;GACzB,FAAa,AAAY;MAEnB;GAEW,FAAqB,AAAiB,AAAe,AAAU,AAAU,AAAO;GACjG,AAA0B;GAE1B,AAAiC;GAEhB,FAAqB,AAAW,AAAG,AAAU,AAAU,AAAO;GAC/E,AAAwB,AAAC,CAAQ;GAEjC,FAAa,AAAY,AAAE;GAC3B,FAAa,AAAY,AAAE;;EAI5B,AAAI,EAAQ,AAAyB,AAAgB,HAEpD,AAAQ;;UAOa,CAA0B;;aA6D1B,sBAA6E;EAEpF,DAAC,GAAU,HAA1B,EAAkC,GAAlC,HAAyC;EACzC,CAAe;EAEf,AAAI,EAAgB,HAEnB;EAAI,DAAY;IAEf,DAAgB,FAAC,EAAqB;IACtC,DAAgB,FAAC,EAAsB;MAEjC;IAEM,kBAAW,rBAAQ;IAClB;IAEb,FAAI,EAAU,HAEb,EAAQ,FAAsB;IAI/B,DAAgB,AAAiB;IACjC,DAAgB,AAAiB;;;;YASb,KAAyC;EAE/D,CAAe;EACf,CAAe;;UAKe,0CAE9B;EAAI,DAEH;EAAI,CAAsC,FAAG;IAE5C,HAAgB,AAAM,AAAgB;IAEtC,FAAI,DAAgB;KAEnB,FAAsC;KACtC,FAAU;;;MAQZ,JAAI,CAAsC,CAAK,AAAW,DAAmC,FAAG;GAE/F,FAAgB,AAAO,AAAgB;GAEvC,DAAI,DAAgB;IAMnB,DAAsC;IACtC,DAAmC;IACnC,DAAU;;;;YA+BkB,DAE/B;EAAO;;YAKwB,DAE/B;EAAO;;sBAae,NAAsE;;0BAOtE,VAA0E;;WAe1E,AAEtB;EAAO;;WAKe,KAAmC;EAEjD,DAAC,EAAQ,EAAc;EACvB,DAAC,EAAQ,EAAc;EACvB,CAAC,AAAQ;EAEjB,CAAe,FAAE,EAAI,FAAM,EAAI,FAAM,EAAI;EACzC,CAAgB,AAAM,FAAiB,AAAO;EAEvC,CAAU;;kBAKY,PAE7B;EAAO;;kBAKe,FAAsE;EAE5F,IAAQ;KAEF;GAGJ,FAAoC;;;GAKpC,FAAoC;;EAI/B,CAAiB;;WAKF,AAEtB;EAAO;;WAKe,KAA+D;EAErF,AAAI,EAAS,HAAS;GAErB,DAAI,EAAW,HAAM;IAER,yBAAgB,5BAAsB,AAAM,AAAO,AAAO,AAAO;IAC7E,DAAU;IACV,HAA0B;IAC1B;IACA,HAAa,AAAO;;GAIrB,DAAI,EAAS,HAAM;IAEN,yBAAgB,5BAAqB,AAAM,AAAO,AAAS,AAAO;IAC9E,DAAU;IACV,HAAwB;IACxB;IACA,HAAa,AAAO;;GAIrB,AAAU;;EAIJ;;eAKe,JAEtB;EAAO;;eAKe,CAEtB;EAAO,DAA4B;;;;;yBC7pD7B,dAEN;;;;;;;kBAIM;;EAEN,AAAI,DAAwB;GAE3B,AAAY;GACZ,FAAe,uBAAW;MAI1B,LAAe,4BAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BCmB1B,XAAgC;CAEtC,EAAW;CACX,EAAiB;CACjB,EAAc;CACd,EAAY;CAEZ,EAAa;CACb,EAAW;CACX,EAAU;;;;;aAmBJ,mBAAyE;EAE/E,DAAkB;EAElB,AAAI,EAAe,HAElB,EAAc;EAOf,DAAqB;EAGrB,DAAgB,yBAAe,vBAAiB,FAAgB,EAAgB,FAAiB,EAAkB,FAAgB,EAAmB;EAE/I,CAAqB;;WAsFtB;;;;EAEN,DAAoB,AAAM,AAAU,AAAQ,AAAO;;eAItC,CAEb;EAAO,DAAe;;aAKT,GAEb;EAAO,DAAY;;YAKN,IAEb;EAAO,DAAU;;;;;;;;;;;;;;;6BCrJX,lBAAgB;CAEtB,EAAW;CAEX,EAAS;CAET,EAAuB;CACvB,EAAsB;CACtB,EAAkB;CAClB,EAAkB;CAClB,EAAoB;CAEV;CAAI;CAAd,AAA4B;EAA5B;EAEC,DAAkB,EAAK;EACvB,DAAkB,EAAU;EAC5B,DAAkB,EAAY;EAC9B,DAAkB,EAAc;;CAIrB;CAEZ,EAAM;CACN,AAAiB,yBAAe,zBAAG,AAAG,AAAkB;CACxD,EAAa;CACb,AAAY;CACZ,AAAa;CAEb,AAAiB,AAAK;;;;;OAKhB;;;;;;;;EAEN,AAAI,DAAC,AAAS;GAEZ;GACA,AAAU;;EAOZ,DAAe,AAAK,AAAO,AAAM;EACjC,DAAe;EACf,DAAiB;EAEjB,DAAU;;qBAKJ;;EAEN,AAAI,DAAuB;GAG1B,FAAW;GACX,FAAW;;EAKZ,DAAiB,yBAAe,zBAAG,AAAG,AAAO;EAC7C,DAAY;EACZ,DAAa;EACb,CAAa;EACb,DAAa,AAAS,EAAT,FAAwB,AAAS,EAAT,FAAwB,AAAS,EAAT,FAA4B,AAAS,EAAT;;mBAKnF;;EAEQ,wCAAiB,zCAAqB;EACpD,DAAsB;EACf;;mBAKD,EAA0D;EAE9C,iCAAmB,lCAAoB;EACzD,DAA0B;EACnB;;eAKD,JAAoC;EAE5B,6BAAe;EAC7B,DAAsB;EACf;;wBAKD,iCAAyI;EAEjI,6CAAsB,9CAAqB,AAA4B,AAAO;EAC5F,DAAsB;EACf;;eAKD;;EAEQ,oCAAa,rCAAqB,AAA4B,AAAO;EACnF,DAAsB;EACf;;oBAKD,kBAAkF;EAErE,kCAAoB,nCAAoB,AAAa;EACxE,DAA2B;EACpB;;SAKD,EAAyB;EAK/B;EAAqB;EAArB,CAAqB,FAAsB;GAA3C,AAAqB,FAArB;;GAEC;;EAID,CAAuB;EAEvB;EAAoB;EAApB,CAAoB,FAAqB;GAAzC,AAAoB,FAApB;;GAEC;;EAID,CAAsB;EAEtB;EAAgB;EAAhB,CAAgB,FAAiB;GAAjC,AAAgB,FAAhB;;GAEC;;EAID,CAAkB;EAElB,CAAoB;EAEpB;EAAgB;EAAhB,CAAgB,FAAiB;GAAjC,AAAgB,FAAhB;;GAEC;;EAID,CAAkB;EAElB,AAAI,EAAe,HAAM;GAExB,FAAsB;GACtB,AAAc;;EAIf,AAAI,EAAgB,HAAM;GAEzB,FAAuB;GACvB,AAAe;;EAIhB,CAAW;;kBAKL,IAAwD;;eAOxD;;;EAE2B,DAAuB,AAA0B;EAClF,DAAc,AAAU;EAExB,AAAI,DAAC,AAEJ,KAAM,kBAAW;EAIlB;EAEA,AAAI,EAAgB,HAEnB,EAAa,GAIb,HAAa,AAAe;EAIZ,CAAa;EAE9B,DAAe,AAAyB;EACxC,DAAiB,AAAc,AAAY,AAAmB;;SAKxD,EAAyB;EAE/B,CAAU;EACV,DAAe;EAEf,DAAe,AAAiB;EAChC,DAAY;EAEZ,AAAI,EAAe,HAElB,AAAoB,AAAgB;EAIrC,AAAI,EAAgB,HAEnB,AAAqB,AAAiB;;oBAOjC,LAEN;CAAa;;iBAKP,wBAAwE;EAI9E,CAAe;EACf,CAAoB;EACpB,CAAyB;EAEzB;;cAKM,iBAEN;CAAc,AAAK,AAAO,AAAM;;YAM1B,iBAAkD;EAIxD,AAAI,EAAsB,HAEzB,AAAY,KAEN;GAEN,FAAW;GAEX,GAAQ;KAEF;IAA6B,HAAa;;KAC1C;IAA4B,HAAa;;KACzC;IAAsC,HAAa;;;IAC/C,EAAM;;;EAMjB,IAAQ;KAEF;GAEJ,AAAc;;KAEV;GAEJ,AAAc;;KAEV;GAEJ,AAAc;;KAEV;GAEJ,AAAc;;;GAId,GAAM,HAA0B,AAAqB;;;cAMjD,sBAAiE;EAIvE,DAAc;EACd,DAAc;;sCAKR;;EAEN,CAAgB;EACD,DAAuB,AAA0B;EAChE,DAAc,AAAU,AAAmB,AAAmB,AAAmB;;mCAK3E;;EAES,DAAuB,AAA0B;EAChE,DAAqB,AAAU,AAAC,AAAkB;;GAAkB;GAAlB;;;;;;;;;;;;;oCAK5C;;EAES,DAAuB,AAA0B;EAChE,DAAc,AAAU,AAAK,AAAa,AAAK,EAAa,FAAI,AAAK,EAAa,FAAI,AAAK,EAAa;;kBAKlG,0BAA4F;EAElG,IAAQ;KAEF;GAAI,FAAkB;;KACtB;GAAI,FAAkB;;KACtB;GAAI,FAAkB;;KACtB;GAAI,FAAkB;;KACtB;GAAI,FAAkB;;KACtB;GAAI,FAAkB;;KACtB;GAAI,FAAkB;;KACtB;GAAI,FAAkB;;;GAElB,GAAM;;EAIhB,AAAI,EAAW,HAAM;GAEpB,FAAgB,AAAe;GAC/B,FAAgB,AAAqB;GACrC;;EAIc,DAAuB,AAA0B;EAEhE,AAAI,DAAQ,AAAS,AAAU;GAE9B,FAAgB,AAAe,cAAM;GACrC,FAAc,AAAU;MAElB,JAAI,DAAQ,AAAS,AAAmB;GAE9C,FAAgB,AAAe,cAAM;GACrC,FAAc,AAAU;MAElB,JAAI,DAAQ,AAAS,AAAe;GAE1C,FAAgB,AAAqB,cAAM;GAC3C,FAAc,AAAU;MAIxB,AAAM,HAAqB,FAAmB,AAAe,EAAY;EAI5C,DAAkB;EAEhD,AAAI,EAAc,HAEjB,AAAsB,AAAS,AAAiB,AAAmB,KAInE,LAAsB,AAAS,AAAyB,AAAgC;;uBAOnF;;EAES;CAAC,GAAkB,AAAQ,AAA4B,HAAQ,AAAsB,AAA0B,KAAgB;EAE9I,AAAI,EAAU,HAAM;GAEnB,DAAI,CAAW,FAEd,AAA6B;GAQ9B;;EAID,DAAe,AAAiB;EAEhB;EACL;EACI;EAEf,AAAI,EAAU,HAAqC;GAElD,AAAY;GACZ,AAAO;GACP,AAAW;MAEL,JAAI,EAAU,HAAqC;GAEzD,AAAY;GACZ,AAAO;GACP,AAAW;MAEL,JAAI,EAAU,HAAqC;GAEzD,AAAY;GACZ,AAAO;GACP,AAAW;MAEL,JAAI,EAAU,HAAqC;GAEzD,AAAY;GACZ,AAAO;GACP,AAAW;MAEL,JAAI,EAAU,HAAqC;GAEzD,AAAY;GACZ,AAAO;GACP,AAAW;MAIX,AAAM,HAAmB,AAAS;EAInC,DAA4B;EAC5B,DAAwB,AAAU,AAAW,AAAM,AAAO,EAAyB,FAAU,EAAe;;YAKtG,QAA+C;EAE3B;EAE1B,AAAI,EAAa,HAEhB,EAAY;EAIb,DAAe;EACf,CAAiB;;kCAOX,oCAA4J;EAElK,CAAgB;EAEN;EAAV,CAAc,FAAc;GAA5B;GAEoB,FAA+C,AAAa,EAAgB;GAC/F,FAAsC,AAAc;;;+BAO/C;;EAKE;EACR,AAAI,DAAkB;GACrB,FAAmC,AAAa,AAAe,AAAE,AAAE,AAAI,AAAE,AAAI,AAAE,AAAI,AAAE,AAAO;GAC5F,FAAmC,AAAa,EAAgB,FAAG,AAAE,AAAE,AAAI,AAAE,AAAI,AAAE,AAAI,AAAE,AAAO;GAChG,FAAmC,AAAa,EAAgB,FAAG,AAAE,AAAE,AAAI,AAAE,AAAI,AAAE,AAAK,AAAE,AAAO;GACjG,FAAmC,AAAa,EAAgB,FAAG,AAAE,AAAE,AAAI,AAAE,AAAI,AAAE,AAAK,AAAE,AAAO;MAC3F;GACN,FAAmC,AAAa,AAAe,AAAE,AAAE,AAAI,AAAE,AAAI,AAAE,AAAI,AAAE,AAAM;GAC3F,FAAmC,AAAa,EAAgB,FAAG,AAAE,AAAE,AAAI,AAAE,AAAI,AAAE,AAAI,AAAE,AAAM;GAC/F,FAAmC,AAAa,EAAgB,FAAG,AAAE,AAAE,AAAI,AAAE,AAAI,AAAE,AAAK,AAAE,AAAO;GACjG,FAAmC,AAAa,EAAgB,FAAG,AAAE,AAAE,AAAK,AAAE,AAAK,AAAE,AAAK,AAAE,AAAO;;;+BAM9F;;EAEI;EAAV,CAAc,FAAc;GAA5B;GAEoB,AAAI;GACJ,FAA+C,AAAa,EAAgB;GAC/F,FAAoC,AAAc,AAAM;;;iBAOnD,FAIN;CAAa,cAA0B;CAAM;;;uBAKvC,ZAAuC;EAE7C,DAAY;EACZ,DAAY;EACZ,DAAY;EAEZ,AAAI,EAAe,HAElB,AAAoB,AAAgB;EAIrC,AAAI,EAAgB,HAEnB,AAAqB,AAAiB;EAIvC,DAAa,AAAS,EAAT,FAAwB,AAAS,EAAT,FAAwB,AAAS,EAAT,FAA4B,AAAS,EAAT;;oBAKnF;;;;EAIN,AAAI,EAAe,HAElB,EAAc;EAIf,DAAoB,AAAgB;EAEpC,AAAI,EAAgB,HAEnB,EAAe;EAIhB,DAAqB,AAAiB;EAItC,DAAwB,AAAiB,AAAS,AAAe;EAEjE,DAAyB,AAAgB,AAAsB,AAAe,AAAmB;EAEjG,DAAwB,AAAiB,AAAkB,AAAe;EAC1E,DAA4B,AAAgB,AAA6B,AAAiB;EAE1F,AAAI,DAAuB;GAE1B,FAAW;GACX,FAAW;;EAGZ,DAAgB,AAAe;EAC/B,DAAe,AAAe,AAAG,AAAS,AAAe,AAAgB,AAAG,AAAS,AAAkB;EACvG,DAAiB,AAAe,AAAuB;EACvD,DAAiB,AAAe,AAAuB;EAEvD,DAAa,AAAG,AAAG,AAAe;;mBAI5B,qBAIN;EAAI,EAAK,AAAW,DAAW,FAAc;GAE5C,FAAkB,EAAgB;GAClC,FAAkB,EAAkB;GACpC,FAAkB,EAAqB;MAIvC,AAAM;;qBAOD,DAAwD;EAI9D,AAAI,EAAa,HAAM;GAEtB,FAAY;GACZ;;EAID,DAAW;EACX,DAAY,AAAS,EAAT,FAAuB,AAAS,EAAT,FAAuB,AAAS,EAAT,FAA2B,AAAS,EAAT;;mBAK/E,gFAAwJ;EAE9J,CAA0B;EAC1B,DAAc,AAAkB,AAAmB;EACnD,DAAgB,AAAoB,AAAY;;0BAK1C;;;EAEN,CAAkB;EAClB,CAAa;EAEb,DAAgB,AAAoB,AAAY;EAChD,DAAgB;;cAKV,YAA8D;EAEjD,CAAO;EAC1B,DAAkB,AAAc,AAAS;;sBAKlC,kBAA8I;EAErJ,AAAI,DAAC,AAAyB;GAQX,FAAiB;GACnC,DAAI,EAAO,HAAM,EAAM,FAAiB;GACxC,DAAI,EAAO,HAAM,EAAM,FAAiB;GACxC,AAAqB,AAAC,CAAO;GAI7B,AAA0B;GAE1B,FAAkB,AAAe,AAAjC;;GAA6D;IAA7D;;;GACA,AAAyB,FAAoB,AAAe;;EAI7D,AAAI,DAAQ,AAAS,AAAU;GAM9B,GAAQ;KAEF;IAEJ,HAAkB,AAAe,AAAmB;IACpD,HAAkB,AAAe,AAAmB;;KAEhD;IAEJ,HAAkB,AAAe,AAAmB;IACpD,HAAkB,AAAe,AAAmB;;;GAOtD,GAAQ;KAEF;IAEJ,HAAkB,AAAe,AAAuB;IACxD,FAAI,DACH,AAAkB,AAAe,AAA4B;;KAE1D;IAEJ,HAAkB,AAAe,AAAuB;IACxD,FAAI,DACH,AAAkB,AAAe,AAA4B;;KAE1D;IAEJ,FAAI,DACH,AAAkB,AAAe,AAA4B;;KAAC;;;GAAyB,AAAzB;;CAAyB,EAAzB;;;;CAA8B;;;;;CAAyB;;KAElH;IAEJ,FAAI,DACH,AAAiB,AAAe,AAA4B;;KAAC;;;GAAyB,AAAzB;;CAAyB,EAAzB;;;;CAA8B;;;;;CAAyB;;KAEjH;IAEJ,FAAI,DACH,AAAiB,AAAe,AAA4B;;KAAC;;;GAAyB,AAAzB;;CAAyB,EAAzB;;;;CAA8B;;;;;CAAyB;;KAEjH;IAEJ,FAAI,DACH,AAAiB,AAAe,AAA4B;;KAAC;;;GAAyB,AAAzB;;CAAyB,EAAzB;;;;CAA+B;;;;;CAAyB;;;GAIxH,GAAQ;KAEF;IAEJ,HAAmB;IACnB,HAAkB,AAAe,AAAuB;;KAEpD;IAEJ,HAAmB;IACnB,HAAkB,AAAe,AAAuB;;KAEpD;IAEJ,HAAkB,AAAe,AAAuB;;;MAIpD,JAAI,DAAQ,AAAS,AAAmB;GAM9C,FAAkB,AAAe,AAAmB;GACpD,FAAkB,AAAe,AAAmB;GAEpD,GAAQ;KAEF;IAEJ,HAAkB,AAAe,AAAuB;IACxD,FAAI,DACH,AAAkB,AAAe,AAA4B;;KAE1D;IAEJ,HAAkB,AAAe,AAAuB;IACxD,FAAI,DACH,AAAkB,AAAe,AAA4B;;KAE1D;IAEJ,FAAI,DACH,AAAkB,AAAe,AAA4B;;KAAC;;;GAAyB,AAAzB;;CAAyB,EAAzB;;;;CAA8B;;;;;CAAyB;;KAElH;IAEJ,FAAI,DACH,AAAkB,AAAe,AAA4B;;KAAC;;;GAAyB,AAAzB;;CAAyB,EAAzB;;;;CAA8B;;;;;CAAyB;;KAElH;IAEJ,FAAI,DACH,AAAkB,AAAe,AAA4B;;KAAC;;;GAAyB,AAAzB;;CAAyB,EAAzB;;;;CAA8B;;;;;CAAyB;;KAElH;IAEJ,FAAI,DACH,AAAkB,AAAe,AAA4B;;KAAC;;;GAAyB,AAAzB;;CAAyB,EAAzB;;;;CAA+B;;;;;CAAyB;;;GAIzH,FAAkB,AAAe,AAAuB;MAElD,JAAI,DAAQ,AAAS,AAAc;GAMzC,GAAQ;KAEF;IAEJ,HAAkB,AAAqB,AAAmB;IAC1D,HAAkB,AAAqB,AAAmB;;KAEtD;IAEJ,HAAkB,AAAqB,AAAmB;IAC1D,HAAkB,AAAqB,AAAmB;;;GAI5D,GAAQ;KAEF;IAEJ,HAAkB,AAAqB,AAAuB;IAC9D,FAAI,DACH,AAAkB,AAAqB,AAA4B;;KAEhE;IAEJ,HAAkB,AAAqB,AAAuB;IAC9D,FAAI,DACH,AAAkB,AAAqB,AAA4B;;KAEhE;IAEJ,FAAI,DACH,AAAkB,AAAqB,AAA4B;;KAAC;;;GAAyB,AAAzB;;CAAyB,EAAzB;;;;CAA8B;;;;;CAAyB;;KAExH;IAEJ,FAAI,DACH,AAAkB,AAAqB,AAA4B;;KAAC;;;GAAyB,AAAzB;;CAAyB,EAAzB;;;;CAA8B;;;;;CAAyB;;KAExH;IAEJ,FAAI,DACH,AAAkB,AAAqB,AAA4B;;KAAC;;;GAAyB,AAAzB;;CAAyB,EAAzB;;;;CAA8B;;;;;CAAyB;;KAExH;IAEJ,FAAI,DACH,AAAkB,AAAqB,AAA4B;;KAAC;;;GAAyB,AAAzB;;CAAyB,EAAzB;;;;CAA+B;;;;;CAAyB;;;GAI/H,GAAQ;KAEF;IAEJ,HAAkB,AAAqB,AAAuB;;KAE1D;IAEJ,HAAkB,AAAqB,AAAuB;;KAE1D;IAEJ,HAAkB,AAAqB,AAAuB;;;MAMhE,AAAM,HAAqB,FAAmB,AAAe,EAAY;;mBAOpE;;EAEa,CAAO;EAC1B,DAAuB,AAAc,AAAQ,AAAc;;+CAKpD,XAAoH;EAE3H,AAAI,EAAe,HAEX,EAAO,GAER,JAAI,EAAe,HAElB,EAAO;EAIf,IAAM,HAAkB,AAAc;;qBAK/B,VAIP;EAAI,DAAc;GAEjB,FAAW;GACX,FAAkB;GAClB,FAAc,AAAmB;MAIjC,LAAY;;;;;2CAkBP,hCAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2EChgCrB,/DAEC;;;8EAKoB,lEAE3B;CAAkC;;4EAKhB,5DAElB;CAAO;;;;;;;;;;;;;;;;;;;;;;;;;iCCdD,HAAiD;CAEvD,EAAgB;CAChB,EAAkB;;;;;SAKZ,EAEN;CAAiB;;qBAKX,iCAAyG;EAE3F;EACpB,DAAe,AAAyB;EAEvB,CAAQ;EACR,CAAkB,AAAc;EACjD;EAGA,CAAU,YAAgB;EAC1B,CAAqB;EAET;EAEZ,GAAO,FAAqB,AAAS,FAAQ;GAE5C,FAAQ,EAAK;GACb;;EAOD,DAAe,AAAyB,AAAS;;kBAK3C,eAA+E;EAErF,DAAe,AAAyB;EACxC;EAGA,CAAU,YAAgB;EAEhB;EAAc,CAAC,AAAc;EAAvC,DAA+C;GAA/C;GAEC,FAAQ,EAAK,FAAK;;EAOnB,DAAe,AAAyB,AAAS;;;;6BCjE3C,XAEN;GAAiB;;;;;SAKX,EAEN;CAAkB;;QAKZ,8BAAsE;EAI5E,DAAiB,AAAW;EAC5B,DAAiB,AAAW;EAC5B,DAAgB;EAEhB,AAAI,DAAwB,AAAW,GAAmB,HAAG;GAE/C,FAAsB;GACnC,DAAI,EAAU,HAAI,KAAM;;;;;kCCtBnB,aAAuE;CAE7E,EAAgB;CAChB,EAAmB;CACnB,EAAuB;;;;;SAKjB,EAEN;CAAiB;;qBAKX,iCAAyG;EAE1F,CAAkB;EAEvC,DAAe,AAAiB;EAEf,CAAQ;EACR,CAAkB,AAAc;EACjD;EAGA,CAAe,cAAkB;EACjC,CAAqB;EAET;EAEZ,GAAO,FAAqB,AAAS,FAAQ;GAE5C,FAAa,EAAK;GAClB;;EAOD,DAAe,AAAiB,AAAc;;wBAMxC,eAA2F;EAEjG,DAAe,AAAiB;EAChC,DAAe,AAAiB,AAAM;;kBAMhC,qBAAsF;EAEvE,CAAkB;EAEvC,DAAe,AAAiB;EAEf,CAAc;EACd;EACjB;EAGA,CAAe,cAAkB;EAEvB;EAAc,CAAC,AAAc;EAAvC,DAAgD;GAAhD;GAEC,FAAa,EAAK,FAAK;;EAOxB,DAAe,AAAiB,AAAc;EAE9C,CAAe;;;;;wCChFT;;;CAEN;CAEA,EAAa;CACb,EAAc;CACd,EAAiB;;;;;;SAKX,EAEN;CAAkB;;;;wCCZZ,fAA6C;CAEnD,AAAO,AAAW,AAAM;CACxB,EAAY;CAEZ,EAAiB;CAEP;CAAV,EAAc,FAAG;EAAjB;EAEC,DAAe,EAAK;;;;;;;aAOf,GAEN;EAAO,DAAe;;sCAKhB;;;sBAOA;;EAOuB,CAAC;EAG9B,DAAgB,AAAqB;EAErC,IAAQ;KAEF;GAEJ,FAAe,AAAgC,AAAU,AAAS,AAAkB,AAAmB,AAAG,AAAS,AAAkB;;KAEjI;GAEJ,FAAe,AAAgC,AAAU,AAAS,AAAkB,AAAmB,AAAG,AAAS,AAAkB;;KAEjI;GAEJ,FAAe,AAAgC,AAAU,AAAS,AAAkB,AAAmB,AAAG,AAAS,AAAkB;;KAEjI;GAEJ,FAAe,AAAgC,AAAU,AAAS,AAAkB,AAAmB,AAAG,AAAS,AAAkB;;KAEjI;GAEJ,FAAe,AAAgC,AAAU,AAAS,AAAkB,AAAmB,AAAG,AAAS,AAAkB;;KAEjI;GAEJ,FAAe,AAAgC,AAAU,AAAS,AAAkB,AAAmB,AAAG,AAAS,AAAkB;;;GAIrI,GAAM;;EAIR,DAAgB,AAAqB;;qBAK/B;;;;;6CCjFA,HAAyE;CAE/E,EAA6B;CAG7B,CAAI,EAA8B,HAAM,EAA6B;CAGrE,AAAO,AAAW,AAAO;;;;;;sBAoBnB;;EAOE,DAAsC,AAAC;EAK/C,CAAQ;EACR,CAAS;EAET,DAAqB,AAAG;;qBAKlB,UAAwE;EAE9E,DAAgB,AAAe;EAI9B,AAAI,DACH,AAAe,AAAwB;EAExC,DAAkB,AAAe,AAAuB;EACxD,DAAkB,AAAe,AAAuB;EACxD,DAAkB,AAAe,AAAmB;EACpD,DAAkB,AAAe,AAAmB;EAEvC,aAAgB;EAC7B,CAAgB;EAEJ;EAEZ,GAAO,FAAgB,FAAa;GAEnC,FAAO,EAAK;GACZ;;EAyBF,DAAe,AAAe,AAAG,AAAS,AAAO,AAAQ,AAAG,AAAS,AAAkB;EACvF,DAAgB,AAAe;;;;oCC7FzB,MAAyE;CAE/E,EAA6B;CAG7B,CAAI,EAA8B,HAAM,EAA6B;CAGrE,AAAO,AAAW,AAAO;;;;;;sCAiBnB;;;sBAOA;;EAasB,CAAC;EAE7B,AAAI,DAAC,GAAuB,HAAmB;GAE9C,AAAQ;GACR,FAAsB;;EAIvB,CAAQ;EACR,CAAS;EAET,DAAsB,AAAY;;qBAO5B;;EAGO,aAAgB;EAC7B,CAAgB;EAEJ;EAEZ,GAAO,FAAgB,FAAa;GAEnC,FAAO,EAAK;GACZ;;EAOD,DAAsB,AAAQ;;sBAKxB;;EAEN,DAAgB,AAAe;EAE/B,AAAI,DAA4B;GAE/B,FAAgB,AAAwB;GACxC,FAAkB,AAAe,AAAuB;GACxD,FAAkB,AAAe,AAAuB;GACxD,FAAkB,AAAe,AAAmB;GACpD,FAAkB,AAAe,AAAmB;;EAIrD,DAAe,AAAe,AAAU,AAAS,AAAO,AAAQ,AAAG,AAAS,AAAkB;EAC9F,DAAgB,AAAe;;;;;sBC1GzB;;;CAEN,EAAe;CACf,EAAe;CACf,EAAO;;;;;eAKD,JAEN;EAAO,DAAoB;;UAKrB,CAEN;EAAI,EAAW,HAEP,KAIA;;;;8BClCF;;CAEN,AAAO;CAEP,EAAO;;;;;;;;wBCJD;;CAEN,AAAO;CAEP,EAAO;;;;;;;;2BCJD;;CAEN,AAAO,AAAS;CAEhB,EAAO;;;;;;;;0BCJD;;CAEN,AAAO,AAAS;CAEhB,EAAO;;;;;;;;sBC2VD;;;CAEN,EAAY;CACZ,EAAe;CACf,EAAkB;CAClB,EAAa;;;;;OA4BP,IAAwB;EAElB,sBAAW,vBAAM,AAAS;EACtC,CAAmB;EACnB,CAAe;EACf,CAAsB;EACf;;oBAaD,TAEN;EAAO;;gBAWD,LAEN;EAAI,DAEH,EAAmB;;0BAkBd,fAA0C;EAEhD,CAAgB;EAChB,CAAmB;;iBAkBb,NAEN;GAAgB;;UAcV,CAEN;EAAO,CAAiB,AAAO,AAAc,AAAU,AAAiB,AAAa;;;;0BCra/E;;;;CAEN,AAAO,AAAM,AAAS;CAEtB,EAAY;;;;;;OAKG,IAEf;EAAO,0BAAe,3BAAM,AAAS,AAAY;;UAKlC,CAEf;EAAO,CAAqB,AAAO,AAAc,AAAU,AAAiB,AAAa,AAAW,AAAO;;;;2BClBrG;;;;;CAEN,AAAO,AAAM,AAAS,AAAY;CAClC,EAAU;;;;;;OAKK,IAEf;EAAO,2BAAgB,5BAAM,AAAS,AAAY,AAAM;;UAKzC,CAEf;EAAO,CAAsB,AAAO,AAAc,AAAU,AAAiB,AAAa,AAAW,AAAO,AAAc,AAAU;;;;;0CvPyZ9H,HAAqE;CAE3E,EAAgB;CAChB,EAAkB;CAClB,EAAgB;;;;;OAKV,uBAEN;EAAO,KAAC,NAAwB,AAAe,GAAa,AAAmB;;;;;;;;;;;;;;2BwP1YzE;;;;;CAEN,AAAO,AAAM,AAAS;CAEtB,EAAe;CACf,EAAgB;CAChB,EAAqB;;;;;;OAKN,IAAwB;EAE3B,2BAAgB,5BAAM,AAAS,AAAY,AAAe,AAAU;EAChF,CAAe;EACf,CAAsB;EAEtB,CAAmB;EAEZ;;UAKQ,CAEf;EAAO,CAAsB,AAAO,AAAc,AAAU,AAAiB,AAAa,AAAoB,AAAgB,AAAe,AAAW,AAAc,AAAU;;;;+BCjG1K;;;CAEN,AAAO,AAAM,AAAS;CAEtB,EAAc;;;;;;OAKC,IAEf;EAAO,+BAAoB,hCAAM,AAAS,AAAY;;UAKvC,CAEf;EAAO,CAA0B,AAAO,AAAc,AAAU,AAAiB,AAAa,AAAa,AAAS;;;;6BCL9G;;;;;CAEN,AAAO,AAAM,AAAS,AAAY,AAAM;;;;;;OAKzB,IAEf;EAAO,6BAAkB,9BAAM,AAAS,AAAY,AAAM;;UAK3C,CAEf;EAAO,CAAwB,AAAO,AAAc,AAAU,AAAiB,AAAa,AAAW,AAAO,AAAc,AAAU;;;;8BC2DhI;;;;;;;;;;CAEN,AAAO,AAAM,AAAS;CAEtB,EAAW;CACX,EAAU;CACI,GAAoB,HAAlC,EAAyC,GAAzC,HAA4D;CAC5D,EAAU;CACV,EAAS;CACT,EAAW;CACX,EAAa;CACb,EAAa;;;;;;OAOE,IAEf;EAAO,8BAAmB,/BAAM,AAAS,AAAY,AAAU,AAAS,AAAa,AAAS,AAAQ,AAAU,AAAY;;UAK7G,CAEf;EAAO,CAAyB,AAAO,AAAc,AAAU,AAAiB,AAAa,AAAe,AAAW,AAAc,AAAU,AAAkB,AAAc,AAAc,AAAU,AAAa,AAAS,AAAe,AAAW;;;;2BC6IjP;;;;;;;;;;;;CAEN,AAAO,AAAM,AAAS;CAEtB,EAAgB;CAChB,EAAc;CACd,EAAe;CACf,EAAe;CACf,EAAqB;CACrB,EAAa;CACb,EAAc;CACd,EAAc;CACd,EAAkB;CAClB,EAAkB;CAClB,EAAkB;;;;;;;;;oCAKU;;CAE5B,KAAQ;KAEF;EAEJ,CAAe;;KAEX;EAEJ,CAAe;;;;CAML,4BAAgB,5BAAM,AAAM,AAAO,AAAS,AAAS,AAAM,AAAW,AAAU,AAAY,AAAc,AAAO;CAC7H,EAAe;CACf,EAAe;CACf,EAAe;CAER;;;;OAKQ,IAEf;EAAO,2BAAgB,5BAAM,AAAS,AAAY,AAAQ,AAAQ,AAAe,AAAS,AAAQ,AAAU,AAAY,AAAO,AAAY;;UAK5H,CAEf;EAAO,CAAsB,AAAO,AAAc,AAAU,AAAiB,AAAa,AAAa,AAAS,AAAa,AAAS,AAAoB,AAAgB,AAAc,AAAU,AAAa,AAAS,AAAe,AAAW,AAAiB,AAAa,AAAY,AAAQ;;kBAU9R,PAAkC;;;;2BCzHlC;;;;;;;;;;;;;;CAEN,AAAO,AAAM,AAAS;CAEtB,EAAgB;CAChB,EAAc;CACd,EAAe;CACf,EAAe;CACf,EAAqB;CACrB,EAAa;CACb,EAAc;CACd,EAAc;CACd,EAAa;CACb,EAAa;CACb,EAAkB;CAClB,EAAkB;CAElB,EAAW;CACX,EAAe;CACf,EAAsB;;;;oCAiBM,YAA6K;CAG/L,4BAAgB,5BAAM,AAAM,AAAO,AAAS,AAAS,AAArD,AAA2D,AAAO,AAAO,AAAsD,AAAwD,AAAvL,AAA0L;CAEpM,EAAa;CACb,EAAa;CACb,EAAa;CAEN;;;;kBAhBD,PAAkC;;;;;8BC9OlC,nBAAgB;;;;;OAahB,IAEN;EAAO;;eAMc,sCAAgH;;;;uBCqC/H,XAEN;EAAI,EAAK,AAAQ,AAAY,HAE5B,EAAU,GAIV;EAAU,DAAE,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK;EAAvF;;;;;;;;;;;;;;;;;;;gCA2NY;;;CAED,EAAW,AAAU;CACzB,AAAU;CACV,AAAU;CAEX;;EAAc,DACpB,EAAE,FAAQ,AAAC,EAAE,FAAO,AAAI,AACxB,EAAE,FAAQ,EAAE,FAAO,AAAI,AACvB,AAAU,AAAU,AAAI,AACxB,AAAU,AAAU,AAAI;EAJlB;;;;;;;;;;;;;;;;;;;;kCAUM,VAEb;CAAO;;EAAc,DACpB,AAAG,AAAG,AAAG,AACT,AAAG,AAAG,AAAG,AACT,AAAG,AAAG,AAAG,AACT,AAAG,AAAG,AAAG;EAJH;;;;;;;;;;;;;;;;;;;;mCAUM,FAAwF;CAE5F,EAAM,FAAC,EAAK;CACZ,EAAM,FAAC,EAAK;CACZ,EAAM,FAAC,EAAO;CAEhB;;EAAc,DACpB,EAAM,FAAQ,AAAY,AAAmB,AAC7C,AAAc,EAAM,FAAM,AAAmB,AAC7C,AAAc,AAAY,EAAO,FAAY,AAC7C,AAAE,AAAC,EAAK,AAAM,FAAI,AAAE,AAAC,EAAK,AAAM,FAAI,AAAE,AAAC,EAAQ,AAAQ,FAAK;EAJtD;;;;;;;;;;;;;;;;;;;;mCAqLM,HAAgF;CAErF;CAEE;CAAV,EAAc,FAAI;EAAlB;EAEC;;CAAU,GAAV,DAAU,AAAV;;;;;;;;;;CAAU,EAAK,FAAgB,EAAK,FAAC,AAAc,EAAK,FAAgB,EAAM;;CAIxE;;uCAuUO,fAA8E;CAEpF;CAEC,wBAAa,xBAAG,AAAG;CAClB,AAAC,EAAU,FAAC,EAAU;CACxB,AAAS;CACT,AAAS;CACT,EAAM;CAEd;;CAAU,GAAV;;;;;;;;;;CAAU,EAAK,AAAI,AAAO,AAAO;CACjC;;CAAU,GAAV;;;;;;;;;;CAAU,EAAK,AAAI,AAAO,AAAO;CACjC;;CAAU,GAAV;;;;;;;;;;CAAU,EAAM,AAAI,AAAO,AAAO;CAEvB,EAAO,AAAO;CACd,EAAO;CAClB;;CAAU,GAAV;;;;;;;;;;CAAU,EAAK,AAAO;CACtB;;CAAU,GAAV;;;;;;;;;;CAAU,EAAK,AAAO;CACtB,EAAO,AAAO,AAAO;CACrB,EAAO,AAAO;CACd;;CAAU,GAAV;;;;;;;;;;CAAU,EAAK,AAAO;CACtB;;CAAU,GAAV;;;;;;;;;;CAAU,EAAK,AAAO;CACtB,EAAO,AAAO,AAAO;CACrB,EAAO,AAAK;CACZ;;CAAU,GAAV;;;;;;;;;;CAAU,EAAK,AAAO;CACtB;;CAAU,GAAV;;;;;;;;;;CAAU,EAAK,AAAO;CAEf;;;QAvxBM,MAAoC;EAEhC,DAAa;EAAiB,DAAa;EAAiB,DAAa;EAAiB,DAAa;EAC1G,DAAa;EAAiB,DAAa;EAAiB,DAAa;EAAiB,DAAa;EACvG,DAAa;EAAiB,DAAa;EAAiB,DAAa;EAAkB,DAAa;EACxG,DAAa;EAAiB,DAAa;EAAiB,DAAa;EAAkB,DAAa;EACxG,DAAY;EAAiB,DAAY;EAAiB,DAAY;EAAiB,DAAY;EACnG,DAAY;EAAiB,DAAY;EAAiB,DAAY;EAAiB,DAAY;EACnG,DAAY;EAAiB,DAAY;EAAiB,DAAY;EAAkB,DAAY;EACpG,DAAY;EAAiB,DAAY;EAAiB,DAAY;EAAkB,DAAY;EAElH;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAE9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAE9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC/D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAE/D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC/D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC/D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC/D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;;gBAKlD,kBAAwF;EAE7F,DAAiB,AAAQ,AAAQ,AAAQ;EAEjD,AAAI,EAAc,HAAM;GAEf;GACR,FAAqB,AAAK,AAAK;;EAIhC,DAAa;;aAKA,kBAEb;CAAa;;GAAc,FAAE,AAAQ,AAAK,AAAK,AAAK,AAAK,AAAQ,AAAK,AAAK,AAAK,AAAK,AAAQ,AAAK,AAAK,AAAK,AAAK;GAApG;;;;;;;;;;;;;;;;;;;;mBAKA,HAA4D;EAEzE;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAR,FAAQ,EAAO;EACf;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAR,FAAQ,EAAO;EACf;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAR,FAAQ,EAAO;;OAWF,IAEb;EAAO,uBAAc;;;;;;;;;;;;;;;;gBAKf,UAEN;MAAQ;KAEF;GACJ;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;GACf;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;GACf;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;GACf;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;;KACX;GACJ;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;GACf;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;GACf;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;GACf;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;;KACX;GACJ;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;GACf;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;GACf;;CAAS,GAAT;;;;;;;;;;CAAS,EAAO;GAChB;;CAAS,GAAT;;;;;;;;;;CAAS,EAAO;;KACZ;GACJ;;CAAS,GAAT;;;;;;;;;;CAAS,EAAO;GAChB;;CAAS,GAAT;;;;;;;;;;CAAS,EAAO;GAChB;;CAAS,GAAT;;;;;;;;;;CAAS,EAAO;GAChB;;CAAS,GAAT;;;;;;;;;;CAAS,EAAO;;;GAEhB,GAAM,kBAAW,rBAAmB,AAAS;;;cAMzC,YAEN;MAAQ;KAEF;GACJ,AAAa,FAAS;GACtB,AAAa,FAAS;GACtB,AAAa,FAAS;GACtB,AAAa,FAAS;;KAClB;GACJ,AAAa,FAAS;GACtB,AAAa,FAAS;GACtB,AAAa,FAAS;GACtB,AAAa,FAAS;;KAClB;GACJ,AAAa,FAAS;GACtB,AAAa,FAAS;GACtB,AAAa,FAAS;GACtB,AAAa,FAAS;;KAClB;GACJ,AAAa,FAAS;GACtB,AAAa,FAAS;GACtB,AAAa,FAAS;GACtB,AAAa,FAAS;;;GAEtB,GAAM,kBAAW,rBAAmB,AAAS;;;UAMzC,MAEN;EAAU;;;;;;;;EAAV,CAAU;;iBAIJ;;;EAEN,AAAK,DACJ;EAEc,CAAgB;EACpB;EAAX,CAAe,FACd;GADD;GACC;;CAAQ,GAAR,DAAQ,AAAR;;;;;;;;;;CAAQ,EAAK,FAAO,EAAE;;EAEvB,AAAK,DACJ;;eAKK;;;EAEN,AAAK,DACF;EAEY;EACJ;EAAX,CAAe,FACd;GADD;GACQ,AAAI;GAAX;;;;;;;;;;;GAAqB,FAAQ;;EAE9B,AAAK,DACJ;;aAKK,UAEN;MAAQ;KAEF;GACJ;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;GACf;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;GACf;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;GACf;;CAAS,GAAT;;;;;;;;;;CAAS,EAAO;;KAEZ;GACJ;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;GACf;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;GACf;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;GACf;;CAAS,GAAT;;;;;;;;;;CAAS,EAAO;;KAEZ;GACJ;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;GACf;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;GACf;;CAAS,GAAT;;;;;;;;;;CAAS,EAAO;GAChB;;CAAS,GAAT;;;;;;;;;;CAAS,EAAO;;KAEZ;GACJ;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;GACf;;CAAS,GAAT;;;;;;;;;;CAAS,EAAM;GACf;;CAAS,GAAT;;;;;;;;;;CAAS,EAAO;GAChB;;CAAS,GAAT;;;;;;;;;;CAAS,EAAO;;;GAGhB,GAAM,kBAAW,rBAAgB;;;;;GAAM;;;WAkDnC,YAEN;MAAQ;KAEF;GACJ,AAAa,FAAS;GACtB,AAAa,FAAS;GACtB,AAAa,FAAS;GACtB,AAAa,FAAS;;KAElB;GACJ,AAAa,FAAS;GACtB,AAAa,FAAS;GACtB,AAAa,FAAS;GACtB,AAAa,FAAS;;KAElB;GACJ,AAAa,FAAS;GACtB,AAAa,FAAS;GACtB,AAAa,FAAS;GACtB,AAAa,FAAS;;KAElB;GACJ,AAAa,FAAS;GACtB,AAAa,FAAS;GACtB,AAAa,FAAS;GACtB,AAAa,FAAS;;;GAGtB,GAAM,kBAAW,rBAAgB,AAAM;;;gBAMnC,AAEN;EAAgB;;;;;;;;EAAhB,CAAgB;;WAQV,gBAAqE;EAE3E,AAAI,EAAoB,HACvB,EAAmB;EAEV;;;;;;;;;EACF;EACC;;;;;;;;;;EAEC,uBAAc,xBAAG,AAAK,AAAG,AAAK,AAAG;EAC3C;CAAG,GAAH;;;;;;;;;;CAAG,EAAM;EACT;CAAG,GAAH;;;;;;;;;;CAAG,EAAM;EACT;CAAG,GAAH;;;;;;;;;;CAAG,EAAM;EAEG;EAEZ,CAAU,FAAU,AAAG,EAAK,FAAG,EAAK,FAAG,EAAK,FAAG,EAAK,FAAG,EAAK,FAAG;EAC/D,CAAU,FAAU,AAAG,EAAK,FAAG,EAAK,FAAG,EAAK,FAAG,EAAK,FAAG,EAAK,FAAG;EAC/D,CAAU,FAAU,AAAG,EAAK,FAAG,EAAK,FAAG,EAAK,FAAG,EAAK,FAAG,EAAM,FAAG;EAEhE,AAAI,DAAG,EAAK,FAAC,AAAG,EAAK,FAAG,EAAM,FAAG,EAAK,FAAG,EAAM,FAAG,EAAK,FAAC,AAAG,EAAK,FAAG,EAAM,FAAG,EAAK,FAAG,EAAM,FAAG,EAAK,FAAC,AAAG,EAAK,FAAG,EAAK,FAAG,EAAK,FAAG,EAAM,FAEnI,EAAU,FAAC;EAIZ;CAAG,GAAH;;;;;;;;;;CAAG,EAAH,FAAG,EAAM;EACT;CAAG,GAAH;;;;;;;;;;CAAG,EAAH,FAAG,EAAM;EACT;CAAG,GAAH;;;;;;;;;;CAAG,EAAH,FAAG,EAAM;EACT;CAAG,GAAH;;;;;;;;;;CAAG,EAAH,FAAG,EAAM;EACT;CAAG,GAAH;;;;;;;;;;CAAG,EAAH,FAAG,EAAM;EACT;CAAG,GAAH;;;;;;;;;;CAAG,EAAH,FAAG,EAAM;EACT;CAAG,GAAH;;;;;;;;;;CAAG,EAAH,FAAG,EAAM;EACT;CAAG,GAAH;;;;;;;;;;CAAG,EAAH,FAAG,EAAM;EACT;CAAG,GAAH;;;;;;;;;;CAAG,EAAH,FAAG,EAAO;EAEA;EACV,IAAQ;KAEF;GACJ,AAAQ,FAAU,AAAC,AAAG,EAAK,FAAG,EAAK,FAAG,EAAM,AAAK;GAEvC,FAAU,AAAC,AAAG,EAAK,FAAG,EAAM,FAAC,AAAG,EAAK,FAAG,EAAM,FAAC,AAAG,EAAK,FAAG,EAAM,FAAC,AAAG,EAAK,FAAG,EAAM,FAAC,AAAG,EAAK,FAAG,EAAM,FAAC,AAAG,EAAK,FAAG;GAE1H,DAAI,EAAO,HAAG;IAEb,DAAQ,FAAC,AAAG,EAAK,FAAG,EAAM;IAC1B,DAAQ,FAAC,AAAG,EAAK,FAAG,EAAM;IAC1B,DAAQ,FAAC,AAAG,EAAK,FAAG,EAAM;MAI1B,HAAQ,AAAQ,AAAQ;;KAIrB;GACK,FAAG,EAAK,FAAG,EAAK,FAAG;GAE5B,DAAI,CAAK,FAAG;IACX,DAAQ,FAAU,EAAI,AAAM;IAE5B,DAAQ,FAAC,AAAG,EAAK,FAAG,EAAM,FAAC,EAAI;IAC/B,DAAQ,FAAC,AAAG,EAAK,FAAG,EAAM,FAAC,EAAI;IAC/B,DAAQ,FAAC,AAAG,EAAK,FAAG,EAAM,FAAC,EAAI;MACzB,JAAI,DAAC,AAAG,EAAK,FAAG,GAAO,AAAC,HAAG,EAAK,FAAG,AAAM;IAC/C,DAAQ,FAAU,EAAI,FAAG,EAAK,FAAG,EAAK,FAAG,EAAO;IAEhD,DAAQ,FAAC,AAAG,EAAK,FAAG,EAAM,FAAC,EAAI;IAC/B,DAAQ,FAAC,AAAG,EAAK,FAAG,EAAM,FAAC,EAAI;IAC/B,DAAQ,FAAC,AAAG,EAAK,FAAG,EAAM,FAAC,EAAI;MACzB,JAAI,DAAG,EAAK,FAAG,AAAK;IAC1B,DAAQ,FAAU,EAAI,FAAG,EAAK,FAAG,EAAK,FAAG,EAAO;IAEhD,DAAQ,FAAC,AAAG,EAAK,FAAG,EAAM,FAAC,EAAI;IAC/B,DAAQ,FAAC,AAAG,EAAK,FAAG,EAAM,FAAC,EAAI;IAC/B,DAAQ,FAAC,AAAG,EAAK,FAAG,EAAM,FAAC,EAAI;MACzB;IACN,DAAQ,FAAU,EAAI,FAAG,EAAM,FAAG,EAAK,FAAG,EAAM;IAEhD,DAAQ,FAAC,AAAG,EAAK,FAAG,EAAM,FAAC,EAAI;IAC/B,DAAQ,FAAC,AAAG,EAAK,FAAG,EAAM,FAAC,EAAI;IAC/B,DAAQ,FAAC,AAAG,EAAK,FAAG,EAAM,FAAC,EAAI;;;KAG5B;GACJ,AAAQ,FAAU,AAAC,AAAG;GAEtB,DAAI,DAAG,GAAM,AAAK,HAAG,GAAM,HAAI;IAC9B,DAAQ,FAAW,AAAG,AAAI,AAAG;IAC7B,DAAQ,FAAW,AAAG,AAAI,AAAG;MACvB;IACN,DAAQ;IACR,DAAQ,FAAW,AAAG,AAAI,AAAG;;;;EAIhC;;;;;;;;;;GAAS;;EAAT;EACA;;;;;;;;;;GAAS;;EAAT;EACA;;;;;;;;;;GAAS;;EAAT;EAEO;;sBAKD,VAAqD;EAE7C;EAAe;EAAe;EAErC,uBACN,AAAC,tBAAI,FAAQ,EAAK,AAAI,FAAQ,EAAK,AAAI,FAAQ,EAAK,FAAQ,AAC5D,AAAC,EAAI,FAAQ,EAAK,AAAI,FAAQ,EAAK,AAAI,FAAQ,EAAK,FAAQ,AAC5D,AAAC,EAAI,FAAQ,EAAK,AAAI,FAAQ,EAAK,AAAI,FAAQ,EAAM,FAAQ,AAC7D;;UAKK,CAEN;EAAU,DAAE,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK;EAAvF;;;;;;;;;;;;;;;;eAoBa,SAEb;EAAU;EAAV,CAAc,FAAI;GAAlB;GAEC;;CAAQ,GAAR,DAAQ,AAAR;;;;;;;;;;CAAQ,EAAK,FAAQ,EAAK,FAAC,AAAc,EAAK,FAAQ,EAAM;;;QAahD,GAAwB;EAE7B;EACS,DAAU,EAAK;EAEhC,AAAI,DAAY;GAEf,AAAI,AAAI;GAEQ,FAAQ;GAAoB,FAAQ;GAAoB,FAAQ;GAAoB,FAAQ;GAC5F,FAAQ;GAAoB,FAAQ;GAAoB,FAAQ;GAAoB,FAAQ;GAC5F,FAAQ;GAAoB,FAAQ;GAAoB,FAAQ;GAAqB,FAAQ;GAC7F,FAAQ;GAAoB,FAAQ;GAAoB,FAAQ;GAAqB,FAAQ;GAE7G;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;GAC3G;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAC,EAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;GAC5G;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;GAC3G;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAC,EAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;GAC5G;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAC,EAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;GAC5G;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;GAC3G;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAC,EAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;GAC5G;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;GAC3G;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;GAC3G;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAC,EAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;GAC5G;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,AAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;GAC5G;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,FAAC,EAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;GAC7G;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,FAAC,EAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;GAC7G;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,AAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;GAC5G;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,FAAC,EAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;GAC7G;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,AAAI,FAAC,EAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM,AAAO,AAAM,FAAC,EAAM,AAAM,AAAM;;EAItG;;SAKD,WAA6E;EAEnF,AAAI,EAAM,HAET,EAAK,sBAAc,xBAAG,AAAG;EAI1B,AAAI,EAAM,HAET,EAAK,sBAAc,xBAAG,AAAI;EAIjB,CAAY,FAAZ,EAAY,FAAZ,EAAY;EACZ;EACV;EAEA;EACA;EAEW;EACX,DAAc,EAAgB,AAAhB,AAAgB,AAAhB,AAAgB;EAE9B,CAAM,AAAc,FAAd,EAAc,FAAd,EAAc;EAEpB,AAAI,CAAa,FAEhB,KAIA,JAAI,EAAS,HAEZ,EAAM,sBAAc,xBAAC,AAAO,AAAO,KAInC,HAAM,sBAAc,xBAAG,AAAG;EAM5B,CAAQ,AAAkB,AAAlB,AAAkB,FAAlB,EAAkB,AAAlB,AAAkB,FAAlB,EAAkB,AAAlB,AAAkB,FAAlB;EACR;EAEA;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK;EACb;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK;EACb;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK;EACb;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM;EACd;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK;EACb;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK;EACb;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK;EACb;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM;EACd;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK;EACb;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK;EACb;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM;EACd;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM;EACd;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK;EACb;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK;EACb;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM;EACd;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM;;SAKD,KAAqC;EAEjC,DAAY;EAAiB,DAAY;EAAiB,DAAY;EAAiB,DAAY;EACtG,DAAY;EAAiB,DAAY;EAAiB,DAAY;EAAiB,DAAY;EACnG,DAAY;EAAiB,DAAY;EAAiB,DAAY;EAAkB,DAAY;EACpG,DAAY;EAAiB,DAAY;EAAiB,DAAY;EAAkB,DAAY;EACpG,DAAa;EAAiB,DAAa;EAAiB,DAAa;EAAiB,DAAa;EACvG,DAAa;EAAiB,DAAa;EAAiB,DAAa;EAAiB,DAAa;EACvG,DAAa;EAAiB,DAAa;EAAiB,DAAa;EAAkB,DAAa;EACxG,DAAa;EAAiB,DAAa;EAAiB,DAAa;EAAkB,DAAa;EAEtH;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAE9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAE9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC9D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC/D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAE/D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC/D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC/D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;EAC/D;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO,AAAO;;iBAKlD,iBAAyF;EAE9F,DAAiB,AAAQ,AAAQ,AAAQ;EAEjD,AAAI,EAAc,HAAM;GAEf;GACR,FAAqB,AAAK,AAAK;;EAIhC,DAAc;;cAKD,iBAEb;CAAc;;GAAc,FAAC,AAAQ,AAAK,AAAK,AAAK,AAAK,AAAQ,AAAK,AAAK,AAAK,AAAK,AAAQ,AAAK,AAAK,AAAK,AAAK;GAAnG;;;;;;;;;;;;;;;;;;;;oBAKD,JAA6D;EAElE;EACR,DAAa,wBAAc,xBAAG,AAAG;EACjC,DAAc;;WAKR,2BAAuF;EAE7F,AAAI,CAAoB,CAAK,HAAW,GAAQ,AAAK,HAAW,GAAQ,AAAK,HAAW,GAAQ,HACxF;EAER,AAAI,EAAoB,HACvB,EAAmB;EAEpB;EAEY;EACZ,DAAM,EAAK,FAAM,EAAK,FAAM,EAAK,FAAW;EAC5C,DAAM,EAAK,FAAM,EAAK,FAAM,EAAK,FAAW;EAC5C,DAAM,EAAK,FAAM,EAAK,FAAM,EAAM,FAAW;EAE7C,IAAQ;KAEF;GACK,FAAS,AAAW;GACpB,FAAS,AAAW;GACpB,FAAS,AAAW;GACpB,FAAS,AAAW;GACpB,FAAS,AAAW;GACpB,FAAS,AAAW;GAE7B;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAG,AAAG,AAAG,FAAM;GACvB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAG,AAAG,AAAG,FAAM;GACvB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAG,FAAE,EAAG,FAAM;GACtB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAG;GACX;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAC,EAAG,AAAG,AAAG,AAAG,AAAI,FAAM;GACpC;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAC,EAAG,AAAG,AAAG,AAAG,AAAI,FAAM;GACpC;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAG,AAAG,AAAG,FAAM;GACvB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAG;GACX;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAC,EAAG,AAAG,AAAG,AAAG,AAAI,FAAM;GACpC;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAC,EAAG,AAAG,AAAG,AAAG,AAAI,FAAM;GACpC;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAI,AAAG,AAAG,FAAM;GACxB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAI;GACZ;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAI,FAAW;GACvB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAI,FAAW;GACvB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAI,FAAW;GACvB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAI;;;GAIJ,FAAW;GACX,FAAW;GACX,FAAW;GACX,FAAW;GACnB,DAAI,DAAY,AAAkB,AAA2B;IAC5D,AAAK,HAAS,EAAE;IAChB,AAAK,HAAS,EAAE;IAChB,AAAK,HAAS,EAAE;IAChB,DAAI,FAAS,EAAE;;GAGhB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAC,EAAE,AAAE,AAAE,AAAE,AAAE,AAAE,AAAG,FAAM;GACnC;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAC,EAAE,AAAE,AAAE,AAAE,AAAE,AAAG,FAAM;GACjC;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAC,EAAE,AAAE,AAAE,AAAE,AAAE,AAAG,FAAM;GACjC;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK;GACb;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAC,EAAE,AAAE,AAAE,AAAE,AAAE,AAAG,FAAM;GACjC;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAC,EAAE,AAAE,AAAE,AAAE,AAAE,AAAE,AAAG,FAAM;GACnC;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAC,EAAE,AAAE,AAAE,AAAE,AAAE,AAAG,FAAM;GACjC;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK;GACb;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAC,EAAE,AAAE,AAAE,AAAE,AAAE,AAAG,FAAM;GACjC;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAC,EAAE,AAAE,AAAE,AAAE,AAAE,AAAG,FAAM;GACjC;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,FAAC,EAAE,AAAE,AAAE,AAAE,AAAE,AAAE,AAAG,FAAM;GACpC;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM;GACd;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,FAAW;GACzB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,FAAW;GACzB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,FAAW;GACzB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM;;EAGhB,AAAI,DAAW,GAAQ,HACtB;;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK;;EACd,AAAI,DAAW,GAAQ,HACtB;;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK;;EACd,AAAI,DAAW,GAAQ,HACtB;;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM;;EAER,DAAC,AAAC,AAAW,GAAQ,AAAK,HAAW,GAAQ,AAAK,HAAW,GAAQ;;iBAI/D,LAA+C;EAE9C;EAAe;EAAe;EAErC,uBACN,AAAC,tBAAI,FAAQ,EAAK,AAAI,FAAQ,EAAK,AAAI,FAAQ,EAAK,FAAQ,AAC5D,AAAC,EAAI,FAAQ,EAAK,AAAI,FAAQ,EAAK,AAAI,FAAQ,EAAK,FAAQ,AAC5D,AAAC,EAAI,FAAQ,EAAK,AAAI,FAAQ,EAAK,AAAI,FAAQ,EAAM,FAAQ,AAC7D,AAAC,EAAI,FAAQ,EAAK,AAAI,FAAQ,EAAK,AAAI,FAAQ,EAAM,FAAQ;;kBAKxD,CAAuE;EAErE;EAER,GAAO,FAAI,CAAK,HAAY;GAEb,FAAI;GAAc,FAAI,EAAI;GAAc,FAAI,EAAI;GAE9D;CAAK,GAAL,DAAK,AAAL;;;;;;;;;;CAAK,EAAK,AAAI,FAAQ,EAAK,AAAI,FAAQ,EAAK,AAAI,FAAQ,EAAK,FAAQ;GAChE,AAAI;GAAT;;;;;;;;;;;GAAc,AAAI,FAAQ,EAAK,AAAI,FAAQ,EAAK,AAAI,FAAQ,EAAK,FAAQ;GACpE,AAAI;GAAT;;;;;;;;;;;GAAc,AAAI,FAAQ,EAAK,AAAI,FAAQ,EAAK,AAAI,FAAQ,EAAM,FAAQ;GAE1E,CAAK;;;WAOO,AAA2B;EAEzB;;;;;;;;;;EACf;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAS;EACtB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAS;EACtB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAS;EACtB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAS;EACtB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAS;EACtB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAS;EACtB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAS;EACtB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAK,FAAS;EACtB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,FAAS;EACvB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,FAAS;EACvB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,FAAS;EACvB;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM,FAAS;;iBA2CK,NAE5B;EAAW,KAAC,NAAC,AAAQ,EAAK,FAAQ,EAAK,FAAQ,EAAK,FAAQ,EAAM,FAAC,AAAQ,EAAM,FAAQ,EAAM,FAAQ,EAAM,FAAQ,EAClH,FAAC,AAAQ,EAAK,FAAQ,EAAK,FAAQ,EAAK,FAAQ,EAAM,FAAC,AAAQ,EAAK,FAAQ,EAAM,FAAQ,EAAM,FAAQ,EACxG,FAAC,AAAQ,EAAK,FAAQ,EAAM,FAAQ,EAAM,FAAQ,EAAM,FAAC,AAAQ,EAAK,FAAQ,EAAM,FAAQ,EAAM,FAAQ,EAC1G,FAAC,AAAQ,EAAK,FAAQ,EAAK,FAAQ,EAAK,FAAQ,EAAM,FAAC,AAAQ,EAAK,FAAQ,EAAM,FAAQ,EAAM,FAAQ,EACxG,FAAC,AAAQ,EAAK,FAAQ,EAAM,FAAQ,EAAM,FAAQ,EAAM,FAAC,AAAQ,EAAK,FAAQ,EAAM,FAAQ,EAAM,FAAQ,EAC1G,FAAC,AAAQ,EAAK,FAAQ,EAAM,FAAQ,EAAM,FAAQ,EAAM,FAAC,AAAQ,EAAK,FAAQ,EAAK,FAAQ,EAAK,FAAQ;;cAK/E,HAE5B;EAAO,uBAAc,xBAAQ,AAAK,AAAQ,AAAK,AAAQ;;cAK3B,AAA8C;EAE1E;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM;EACd;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM;EACd;;CAAQ,GAAR;;;;;;;;;;CAAQ,EAAM;EACP;;;;;;;;;;;;;;;wBCvxBD,AAA2C;CAEjD,EAAmB;CACnB,EAA6B;CAC7B,EAAqB;CACrB,EAAc;CAEd,EAAkB;CAClB,EAAc;;;;;oBAYQ,TAEtB;EAAO;;oBAKe,JAAkE;EAExF,CAAmB;EAEnB,AAAI,EAAS,HAEZ,AAAwB;EAIlB;;YAKe,DAA8B;EAEpD,AAAI,DAAa;GAEH;GACb,FAAc,AAAwB;GACtC,FAAe,EAA2B,FAAC,EAAU;GACrD,FAAkB,AAAmB;GAC9B;;EAID;;YAKe,IAA0C;EAEhE,AAAI,EAAS,HAAM;GAElB,AAAc;GACP;;EAIR,CAAc;EACd,CAAgB;EAEhB,AAAI,EAAmB,HAAM;GAE5B,FAAoB;GACpB,FAAoB;GACpB,FAAyB,AAAW,AAAC,EAAU,AAAW,AAAC,AAAU;GACrE,FAAyB,AAAW,AAAC,EAAU,AAAW,AAAC,AAAU;GACrE,FAA2B,AAAY,AAAS,EAAW,FAAC,EAAM;;EAI5D;;cAKe,HAAkC;EAExD,AAAI,DAAe;GAEL;GACb,FAAc,AAAwB;GACtC,FAAe,EAA2B,FAAC,EAAU;GACrD,FAAkB,AAAmB;GAE9B;;IAAc,HAAE,AAAU,AAAU,AAAK,AAAK,AAAU,AAAU,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAW,AAAW,AAAK;IAA3H;;;;;;;;;;;;;;;;;;;;EAID;;cAKe,EAAgD;EAEtE,AAAI,EAAS,HAAM;GAElB,AAAgB;GACT;;EAIR,CAAc;EACd,CAAgB;EAEhB,AAAI,EAAmB,HAAM;GAE5B,FAAoB,AAAc;GAClC,FAAoB,AAAc;GAClC,FAAyB,AAAW,AAAC,AAAc,EAAK,FAAc,EAAM,AAAC,FAAc,EAAK,FAAc;GAC9G,FAAyB,AAAW,AAAC,AAAc,EAAK,FAAc,EAAM,AAAC,FAAc,EAAK,FAAc;GAC9G,FAA2B,AAAY,AAAc,AAAI,AAAc,EAAM,FAAC,EAAM;;EAI9E;;;;;uBCjPD;;;;;CAEN,EAAS;CACT,EAAS;CACT,EAAS;CACT,EAAS;;;;;;;;oCAYW,tBAAqD;CAEhE;CACT;CACS;CACT;CAEO,AAAW,EAAe,AAAf,AAAe,AAAf,AAAe;;gCAqCb,dAAqD;CAE3D,EAAQ;CACR,EAAQ;CACR,EAAQ;CAEf,AAAW,EAAI,AAAI,AAAI,AAAI,AAAI;;kCA2HF,vBAEpC;CAAO,wBAAc,xBAAG,AAAG;;kCAKS,vBAEpC;CAAO,wBAAc,xBAAG,AAAG;;kCAKS,vBAEpC;CAAO,wBAAc,xBAAG,AAAG;;;KApMd,OAEb;EAAO,uBAAc,tBAAS,FAAK,EAAS,FAAK,EAAS;;OAiB7C,IAEb;EAAO,uBAAc,xBAAG,AAAG,AAAG;;UAKjB,eAAiD;EAE9D,CAAI;EACJ,CAAI;EACJ,CAAI;;cAKS,FAEb;EAAO,uBAAc,tBAAI,AAAM,AAAI,FAAK,EAAI,AAAM,AAAI,FAAK,EAAI,AAAM,AAAI,FAAK;;aAKjE,DAAuC;EAEpD,EAAK;EACL,EAAK;EACL,EAAK;;YAgBQ,AAEb;EAAO,CAAI,AAAM,AAAI,AAAM,AAAI;;QAKlB;;EAEN,EAAK,AAAe,AAAK,AAAe,AAAK,AAAe,HAAC,AAAC,GAAW,AAAK;;aAKxE,DAAuC;EAEpD,EAAK;EACL,EAAK;EACL,EAAK;;YAKQ;;EAEN,DAAU,EAAI,AAAe,CAAa,HAAU,EAAI,AAAe,CAAa,HAAU,EAAI,AAAe,CAAa,HAAC,AAAC,GAAW,HAAU,EAAI,AAAe;;QAKlK,GAAwB;EAErC,EAAK;EACL,EAAK;EACL,EAAK;;WAKQ,AAA4B;EAEjC;EAER,AAAI,EAAK,HAAG;GAEX,CAAK;GACL,CAAK;GACL,CAAK;;EAIC;;SAKM,EAAyB;EAEtC,EAAK;EACL,EAAK;EACL,EAAK;;SAKQ,GAAgC;EAE7C,EAAK;EACL,EAAK;EACL,EAAK;;OAKQ,YAAmD;EAEhE,CAAI;EACJ,CAAI;EACJ,CAAI;;UAKS,EAEb;EAAO,uBAAc,tBAAI,FAAK,EAAI,FAAK,EAAI;;UAK9B,CAEb;EAAO,CAAc,AAAI,AAAO,AAAI,AAAO,AAAI;;YAYlB,DAE7B;EAAO,DAAW,EAAI,AAAI,AAAI,AAAI,AAAI;;mBAKT,RAE7B;EAAO,CAAI,AAAI,AAAI,AAAI,AAAI;;;;;;uBC5LrB,ZAAqB;;;;;;;qBCqMrB,IAA2E;CAEjF,AAAO;CAEP,EAAc;CACd,EAAa;CACb,EAAM;CACN,EAAc;CACd,EAAS;CACT,EAAM;CAEN,CAAI,EAAU,HAEb,AAAM,AAAQ;;;;qCAiCF,pBAAoD;CAErD;CACZ,EAAiB;CACV;;8BAKM,fAEb;CAAO,AAAiB,AAAsB;;;;OA9BxC,IASN;EAAI,DAA2B,AAE9B,AAAqB;;MAsGhB,mBAA0E;EAKhF,CAAM;EACN,CAAY,FAAuB;EAEnC,AAAI,DAAC,AAA2B,AAAY;GAE3C,FAAwB,AAAW;GACnC,FAA0B,AAAY;GACtC,FAA0B,AAAa;GACvC,FAAuB,AAAK;MAI5B,LAAe,uBAAW;;iCAQrB;;EAON,DAA2B;;sBAMrB;;;EAON,DAA2B;;MAwBrB;;;EAWN,AAAI,EAAgB,HAEnB,EAAe,6BAAoB,/BAAG;EAKvC;EAAI,CAAQ,FACX,AAAc,AAAW,AAAuB,AAAG,AAAS,EAAT,FAAqB,EAAQ,FAAG,AAAqB,KAExG,LAAc,AAAW,AAAuB,AAAG,AAAS,EAAT,FAAqB,AAAG,AAAqB;EAE1F,4BAAkB;;SA0BH,EAEtB;EAAO;;uBAYe,NAAyD;EAE/E,CAAW;EACX,DAAe,uBAAW;;oBAMJ,JAEtB;EAAI,EAAY,HAAW;GAE1B,FAA6B,AAAY;GACzC,FAA6B,AAAa;GAC1C,FAAe,uBAAW;;;qBAML,LAEtB;EAAI,EAAY,HAAW;GAE1B,FAA6B,AAAY;GACzC,FAA6B,AAAa;GAC1C,FAAe,8BAAkB;;;;;;4BC/b3B,JAAkG;CAEzG,AAAO;CAEP,EAAW;CACX,EAAY;CAgBX,CAAI,EAAiB,HAAM;EAE1B,CAAkB;EAClB,DAAkC,AAAY;EAC9C,CAAY;;;;;;;MAaR,KAAsB;EAE5B,AAAI,DAAC,AAAW;EAMhB;;WAMsB,AAA2B;EAEjD,AAAI,DAAC,AAAW;EAKhB;EACA,CAAkB;EAGlB,CAAY;;cAYU,HAA+B;EAErD,AAAI,DAAC,AAAkB;EAKhB;;cAMe,EAA0C;EAEhE,AAAI,DAAC,AAAkB;EAMvB,DAA6B,AAAS,EAAT;EACtB;;oBAMe,TAA8C;EAEpE,AAAI,DAAC,AAAkB;EAOhB,8BAAoB,/BAA8B;;oBAMnC,JAAkE;EAExF,AAAI,DAAC,AAAkB;EASvB,DAA2B;EAC3B,DAAwB;EAEjB;;0BAce,dAEtB;CAAe,uBAAW;;mBAMJ,RAAmC;EAEzD;EACA,DAAe,uBAAW;;;;;kCCpEpB;;;CAEN,EAAkB;CAClB,EAAuB;;;;;;;8BCtGjB;;;CAEN,EAAS;CACT,EAAM;CACN,EAAa;CACb,EAAc;CACd,EAAc;CACd,EAAe;;;;;OAKT,IAEN;EAAO,8BAAoB,/BAAQ;;;;;wBCyL7B,RAAmC;CAEzC,CAAI,EAAS,HAEZ,EAAM;CAIP,EAAiB;CACjB,EAAS;CACT,EAAc;;;;;sBAKR,XAAyD;EAErD;EACV,AAAI,EAAO,HAAM,EAAM;EAEvB,AAAI,EAAU,AAAwB,AAAQ,HAAa;EAE3D,AAAI,KAAQ,HAAR,AAAyB,HAAQ,AAAM,AAAY;GAEtD,AAAM;GACN,FAAU,+BAAsB,/BAAgB,GAAe,HAAO,AAAc;;EAI9E;;;;8BC1LD;;;CAEN,EAAY;CACZ,EAAa;;;;;;;;;;;8BCtFP;;CAEN,EAAuB;CACvB,EAAsB;CACtB,EAAyB;CAEzB,EAAkB;CAClB,EAA8B;;;;;;;+BCXvB,pBAAgB;;;;;;;;;;;;;;;mBC6BjB,JAEN;CAAO;;;;kCAkBM;;CAEN;;6BAKM,bAA0C;CAE5C;CACX,AAAkB;CAKX;;4BAMM,bAAqC;CAEvC;CACX,AAAiB;CAKV;;gCAUM,jBAA4C;CAE1C;eAAM,dAAqB,AAAM;CAEhD,CAAI,EAAY,HAQf,AAAwB;;kCAOI,lBAA8C;CAEhE;CACX,EAAY;CACZ,EAAW;CACJ;;;;cAYO,HAEd;EAAO;;cAKO,EAEd;EAAO,CAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBC4cR,bAAgB;CAEtB;CAEA,EAAU;CACV,EAAW;CACX,EAAS;CACT,EAAgB;CAChB,EAAW,uBAAe,zBAAG,AAAG,AAAG;CACnC,EAAa;CAEb,AAAO;CACP,AAAW;CACX,EAAoB;CACpB,EAAa;CACb,AAAa;CACb,AAAc;CACd,AAAS;CACT,AAAkB;CAClB,AAAa;CACb,EAAc;CACd,EAAW;CACX,EAAY;CACZ,EAAY;CACZ,EAAU;CACV,EAAU;CACV,AAAW;CAEX,CAAI,EAAuB,HAAM;EAEhC,CAAsB,wBAAgB,1BAAmB,AAAI,AAAU,AAAO,AAAO,AAAO,AAAI,AAAI,AAAsB,AAAG,AAAG,AAAG;EACnI,CAAkC;EAClC,CAA6B;EAC7B,CAAoC;EACpC,CAA8B;;CAI/B,EAAe;;;;;;;YAcT,GAEN;;GAAa;;mBAcP,PAA6C;EAEnD,DAA2B;EAEpB;;qBAeD,PAAoD;EAE1D,DAA2B;EAEpB;;qBAeD,PAAoD;EAE1D,DAA2B;EAEpB;;gBAYD,IAAwD;EAI9C,DAA8B,AAAM;EACnC;EACF,CAAa;EACZ,CAAa;EACf;EAYD;EAAQ;EAAR,IAAQ;KAEf,AAAM;GAAS;;KACf;GAAO,AAAC,AAAQ,AAAa;;KAC7B;GAAQ,FAAC,EAAQ,AAAa;;;EAI7B,8BAAqB,/BAAQ,AAAW,AAAY,AAAU,AAAW;;eAc1E,KAA2C;EAEjD,DAA2B;EAEpB;;aAcD,OAA4C;EAElD,DAA2B;EAEpB;;eAuBD;;;EAEC;;cAkBD,gBAEN;CAA2B;;eAkDrB;;;EAEN,AAAI,EAAe,HAAM,EAAoB;EAC7C,AAAI,EAAe,HAAM,EAAoB;EAC7C,AAAI,EAAgB,HAAM,EAAqB;EAC/C,AAAI,EAAe,HAAM,EAAoB;EAC7C,AAAI,EAAiB,HAAM,EAAsB;EACjD,AAAI,EAAoB,HAAM,EAAyB;EACvD,AAAI,EAAc,HAAM,EAAmB;EAC3C,AAAI,EAAiB,HAAM,EAAsB;EACjD,AAAI,EAAgB,HAAM,EAAqB;EAC/C,AAAI,EAAqB,HAAM,EAA0B;EACzD,AAAI,EAAsB,HAAM,EAA2B;EAC3D,AAAI,EAAiB,HAAM,EAAsB;EACjD,AAAI,EAAkB,HAAM,EAAuB;EACnD,AAAI,EAAsB,HAAM,EAA2B;EAC3D,AAAI,EAAiB,HAAM,EAAsB;EACjD,AAAI,EAAkB,HAAM,EAAuB;EACnD,AAAI,EAAwB,HAAM,EAA6B;EAC/D,AAAI,EAAmB,HAAM,EAAwB;EAErD,CAAU;EACV,CAAgB;;aAMe,SAA0D;EAE5E,DAAkB;EAC/B,DAAe,AAAU,AAAU,AAAc;;aAKlB,FAE/B;EAAO,DAAC,GAAQ,AAAS,HAAc,KAAO;;eAKxB,DAA8C;EAEpE,AAAI,EAAK,HAAU;EAEA;EACD;EACC;EACT;EAGV,AAAI,CAAI,FAA8B,AAAM,EAAQ,FAKnD;GAAU;GAAI;GAAd,FAA2B;IAA3B;IAGC,AAAU,HAA8B,AAAM,AAAa;IAK3D,FAAI,EAAU,HAAG;KAEhB,FAAM;KACN;;;;EAQI;;WAKwB,mCAA6G;EAE5I,AAAI,DAAC,GAAW,AAAC,AAAmB,HAAC,AAAsB;EAE/C,DAAe,qBAAW,rBAAG;EAEzC,AAAI,DAAsB,AAAU;GAEnC,DAAI,EAAS,HAEZ,AAAY;GAIN;;EAID;;eAKuB,SAA0D;EAExF,DAAuB,AAAM;EAC7B,DAAqB;;gBAKS,QAA2D;EAEzF,DAAwB,AAAM;EAC9B,DAAsB;;aAKQ,WAE9B;CAAqB,AAAM;;YAKG,YAAuD;EAOrF,DAAwB,AAAM;EAG9B,DAAyB,AAAM;;oBAWT,TAAoC;EAE1D,CAAgB,FAAa,AAAoB;EACjD,CAAe,FAAC;EAChB,CAAU;;mBAKY,RAEtB;EAAI,EAAiB,HAEpB;;eAeqB,CAAsD;EAE5E,CAAc;EACd,AAAI,EAAS,HAAM,GAAiB;EAEpC,CAAS;EACT,CAAW;EACX,CAAW;EAEX,AAAI,EAAoC,HAAY;GAEnD,AAAmB;GACnB,AAAmB;MAEb;GAEN,AAAmB;GACnB,AAAmB;;EAIpB,CAAU;EAEV,DAAe,uBAAW,vBAAc;;iBAKlB,DAA6F;EAEnH,CAAc;EACd,AAAI,EAAS,HAAM,GAAiB;EAEtB;EACA;EAkBd,CAAS;EACT,CAAW;EACX,CAAW;EAEX,AAAI,EAAoC,HAAY;GAEnD,AAAmB;GACnB,AAAmB;MAEb;GAEN,AAAmB;GACnB,AAAmB;;EAIpB,CAAU;;mBAKY,HAEtB;EAAI,EAAc,AAAoB,HAAG;GAEvB,FAAe,qBAAW,rBAAc;GACzD,AAAmB,FAAe,AAAc;GAChD,AAAU;;;iBAMW,DAAiD;EAEvE,DAA2B,AAAuB;EAClD,DAA2B,AAAqB;EAEhD,AAAI,EAAe,HAAM;GAEP,FAAe,qBAAW,rBAAc;GACzC,FAAe,AAAc;GAC7C;GACA;GAEA,AAAU,FAAS,AAAU,AAAkB;GAC/C,AAAW,FAAS,AAAU,AAAkB;GAEhD,AAAmB;GACnB,AAAmB;GAEnB,FAAgB;;;qBAOK,LAAgD;EAEtE,DAAkB,AAAqB;EACvC,DAAkB,AAAsB;EAExC,DAAiC,AAAU,AAAiB;EAC5D,DAAiC,AAAQ,AAAe;EACxD,DAAiC,AAAQ,AAAe;EAExD,DAAkB,AAAuB;EAEzC,AAAI,EAAe,HAElB,AAAgB;;gBAOK,AAA2C;EAEjE,AAAI,CAAmB,FAAG;GAEzB,AAAmB;GACnB,AAAmB;;EAIpB;EACA,CAA+B;EAC/B,CAA6B;EAE7B;EACA;EAEA,CAAa;EACb,CAAU;EAEV,DAAwB,AAAqB;;iBAKvB,DAA4C;EAElE,CAAmB;EACnB,CAAa;EACb;EACA,AAAI,EAAiB,HAAM;EAC3B,CAAU;;kBAKY,FAAkD;EAExE,AAAI,DAAC,AAAY;EAEA,DAAe,qBAAW,rBAAc;EACzD,CAAmB,FAAe,AAAc;EAChD,CAAmB;EAEnB,DAAwB,AAAuB;EAC/C,DAAwB,AAAqB;;yBAKvB,TAAoD;EAE1E,DAAqB,AAAqB;EAC1C,DAAqB,AAAsB;EAE3C,DAAiB;EAEjB,AAAI,EAAiB,HAAM,AAAoC,AAAU,AAAiB;EAC1F,AAAI,EAAiB,HAAM,AAAoC,AAAQ,AAAe;EACtF,AAAI,EAAiB,HAAM,AAAoC,AAAQ,AAAe;EAEtF,DAAqB,AAAuB;EAC5C,AAAI,EAAS,HAAM,AAA2B,AAAuB;EACrE,AAAI,EAAS,HAAM,AAA2B,AAAqB;;cAa7C,EAAkE;EAExF,AAAI,EAAS,HAAU;GAEtB,AAAU;GACV,AAAgB;;EAIV,CAAW;;gBAKI,AAA0C;EAEhE,AAAI,EAAS,HAEZ,EAAU;EAIJ,CAAa;;qBAKE,LAA6C;EAEnE,AAAI,EAAS,HAAiB,EAAU;EACjC,CAAkB;;YAKH,IAAsC;EAE5D,AAAI,EAAS,HAAQ;GAEpB,AAAU;GACV,AAAgB;;EAIV,CAAS;;iBAKM,DAAyC;EAE/D,AAAI,EAAS,HAAa,EAAU;EAC7B,CAAc;;mBAKC,RAItB;EAAO;;YAIe,DAAiC;EAEvD,AAAI,DAAC,AAEG;EAIR,AAAI,EAAY,HAAwB;GAEvC,AAAiB,AAAC,AAAY,AAAK,FAAE,AAAS,AAAI;GAClD,AAAkB,AAAC,AAAa,AAAK,FAAE,AAAS,AAAI;MAE9C;GAEN,AAAiB;GACjB,AAAkB;;EAInB,CAAgB;EAET;;cAKe,HAEtB;EAAO;;uBAKe,ZAEtB;EAAO;;uBAKe,PAA6D;EAGnF,DAAsB;EACf;;YAKwB,DAE/B;EAAO;;YAKwB,IAAwC;EAEvE,AAAI,EAAU,AAAK,AAAS,HAAU;GAErC;;;;GACA,AAAU;GACV,AAAgB;;EAIjB,DAAS;EACF,CAAW;;cAKI,HAEtB;EAAO;;cAOe,EAA4C;EAElE,AAAI,DAAC,GAAY,AAAU,HAAO;GAEjC,AAAU;GACV,AAAgB;;EAIjB,CAAW;EACX,CAAW;EAEX,AAA4C,EAAS,HAAsB;GAE1E,AAAQ,MAAU,RAAQ,AAAc,AAAO;GAC/C,AAAQ,MAAU,RAAS,AAAc,AAAO;GAIjC,FAAa;GAE5B,DAAI,EAAmB,HAAG;IAEzB,DAAQ,MAAU,RAAS,AAAc,AAAO;IAEhD,FAAI,EAAU,AAAS,AAAiB,HAAM;KAExB;KACF;KACnB,FAAsB;KACtB,FAA+B;KAC/B,FAA6B;;IAIvB,DAAS;MAEV;IAEN,DAAQ;IACR,DAAW;IAIX;GAAgB,FAAU;KAA1B,FAAgB,FAAhB;;KAEC,HAAI,EAAW,HAAI;KAEE,JAAiB;KAEtC,HAAI,CAAiB,FAAI;MAEZ,LAAiB,EAAO;MAC1B;MACG;MAEG,LAAiB;MAChB,LAAiB;MAClB,LAAiB;MAEjC,JAAI,CAAY,CAAM,DAAY,FAEnB;OAA+B,NAAiB,AAAM;OAApE,JAAc,FAAgB,EAAY,FAA5B;;MAIf,JAAI,CAAa,CAAM,DAAa,FAEnC,EAAe,FAAc,EAAO,FAAgB,EAAa,FAAG;MAIrE,JAAI,CAAY,CAAM,DAAY,FAEjC,EAAc,FAAc;;OAA+B,NAAiB,AAAM;OAAtD,NAAgB,EAAY,FAA5B;;;MAInB,LAAmB,AAAO;MACpC,HAAM,MAAU,RAAS,AAAc,AAAK;MAE5C,LAAe,+BAAqB,/BAAQ,AAAc,EAAe;MACzE,FAAS;MAET,JAAI,CAAiB,AAAI,FAAgB;OAExC,JAAM,FAAgB,EAAiB,FAAjC;OACN,NAAe,+BAAqB,/BAAc,AAAc,EAAe;OAC/E,HAAS;;MAIJ;MAEN,LAAe,+BAAqB,/BAAc,AAAc,EAAe;MAC/E,FAAS;;;;;EAWb,AAAI,EAAU,AAAS,AAAiB,HAAM;GAExB;GACF;GACnB,AAAsB;GACtB,AAA+B;GAC/B,AAA6B;;EAIvB,CAAS;;gBAKM,LAAiC;EAAO;;gBACxC,LAAiC;EAAO;;cAGxC,HAA6B;EAEnD,AAAI,EAAQ,AAAM,AAAQ,HAAM;GAEnB,FAAY;GAExB,DAAI,DAEH,GAAS,HAAY,EAAiB;GAIhC;;EAID;;gBAKe,AAA0C;EAGhE,AAAI,DAAC,GAAS,AAAc,AAAQ,HAEnC,AAAyB;EAKnB,CAAa;;UAKE,CAA4B;EAElD,AAAI,DAAU;;EAMP;;UAKe,MAAwC;EAG9D,AAAI,EAAU,AAAS,AAAiB,HAAM;GAExB;GACF;GACnB,AAAsB;GACtB,AAA+B;GAC/B,AAA6B;;EAK9B,AAAI,EAAY,AAAU,HAAO;GAChC,AAAU;GACV,AAAgB;;EAEjB,CAAW;EACX,CAAW;EACJ,CAAS;;eAKM,JAEtB;EAAO;;eAKe,CAAuC;EAE7D,AAAI,EAAS,HAAoB,EAAU;EAE3C,AAAI,EAAY,HAEf;;GAAc;GAAd,AAAc,FAAU;IAAxB,DAAc,FAAd;;IAEC,DAAqB;;;EAMhB,CAAqB;;eAIN,JAMtB;EAAO,DAA8B,AAAM;;gBAQrB,LAItB;EAAI,EAAY,HAGR,EAAoB,AAAQ,AAAW,FAAC,GAAwB,HAAO,AAAI,EAAwB,GAEpG,JAAI,EAAS,HAEZ,KAED;GAEN,FAA0B;GAGnB,AAAmB,AAAoB;;;UAWzB,MAAsD;EAE5E,AAAI,EAAS,HAAM;GAGlB,DAAI,EAAS,HAEZ,AAAiC,KAIjC,LAAkC;GAKnC,AAAU;;EAIJ,CAAO;;WAKE,AAEhB;EAAO;;WAIS,KAAuC;EAEvD,AAAI,EAAU,AAAK,AAAW,HAAO;GAEpC;;;;GACA,AAAU;GACV,AAAgB;;EAIjB,DAAS;EACF,CAAU;;cAKK,HAEtB;EAAO;;cAKe,EAGtB;EAAO,CAAW;;;;;8BAcZ,HAAqD;CAE3D,EAAc;CACd,EAAa;CACb,EAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBCx/CL,8EAA+V;CAErW,EAAY;CACZ,EAAY;CACZ,EAAa;CACb,EAAY;CACZ,EAAc;CACd,EAAiB;CACjB,EAAW;CACX,EAAc;CACd,EAAa;CACb,EAAkB;CAClB,EAAmB;CACnB,EAAc;CACd,EAAe;;;;;OAKT,IAA6B;EAEnB,yBAAgB,1BAAM,AAAM,AAAO,AAAM,AAAQ,AAAW,AAAK;EAEjF,CAAkB;EAClB,CAAuB;EACvB,CAAwB;EACxB,CAAmB;EACnB,CAAoB;EAEpB,CAAwB;EACxB,CAAmB;EACnB,CAAoB;EACpB,CAA0B;EAC1B,CAAqB;EAEd;;SAKe,QAA0C;EAEhE,AAAI,EAAe,HAAM,EAAO;EAChC,AAAI,EAAe,HAAM,EAAO;EAChC,AAAI,EAAgB,HAAM,EAAQ;EAClC,AAAI,EAAe,HAAM,EAAO;EAChC,AAAI,EAAiB,HAAM,EAAS;EACpC,AAAI,EAAoB,HAAM,EAAY;EAC1C,AAAI,EAAc,HAAM,EAAM;EAC9B,AAAI,EAAiB,HAAM,EAAS;EACpC,AAAI,EAAgB,HAAM,EAAQ;EAClC,AAAI,EAAqB,HAAM,EAAa;EAC5C,AAAI,EAAsB,HAAM,EAAc;EAC9C,AAAI,EAAiB,HAAM,EAAS;EACpC,AAAI,EAAkB,HAAM,EAAU;EACtC,AAAI,EAAsB,HAAM,EAAc;EAC9C,AAAI,EAAiB,HAAM,EAAS;EACpC,AAAI,EAAkB,HAAM,EAAU;EACtC,AAAI,EAAwB,HAAM,EAAgB;EAClD,AAAI,EAAmB,HAAM,EAAW;;;;;;;;;;;;;;;;;8BCtNlC,kBAA8F;CAEpG,EAAS;CACT,EAAa;CACb,EAAc;CACd,EAAc;CACd,EAAe;CACf,EAAe;;;;;;;;sBCtDT,XAAgB;CAEtB;CAEA,AAAkB;;;;kCAKL,lBAAiD;CAE9D,CAAI,DAAwB,AAEpB;EAAe,DAAqB;EAApC;;CAID;;0CAKO,bAAmF;CAEpF,AAAe;CAE5B,CAAI,DAAgB;EAEnB,AAAI,DAAC,AAAsB,AAAO;GAEnB,4BAAsB,9BAAQ,EAAU;;;;;;;;;;;;;;;;;;;;;;;;;CAAM,AAAI;GAChE,FAAmB,AAAM;GACzB,FAAwB;;EAIX,DAAmB;EACjC,CAAgB;EAChB,DAAuB,uBAAW;;;4CAOrB,nBAA4E;CAE7E,AAAe;CAE5B,CAAI,DAAgB;EAEnB,AAAI,DAAC,AAAwB,AAAS;GAEvB,4BAAsB,9BAAQ,EAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAQ,AAAG;GACnE,FAAqB,AAAQ;GAC7B,FAAwB;;EAIX,DAAqB;EACnC,CAAgB;EAChB,DAAuB,uBAAW;;;0CAOrB,jBAA0E;CAE3E,AAAe;CAE5B,CAAI,DAAgB;EAEnB,AAAI,DAAC,AAAwB,AAAS;GAEvB,4BAAsB,9BAAQ,EAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAQ,AAAG;GACnE,FAAqB,AAAQ;GAC7B,FAAwB;;EAIX,DAAqB;EACnC,CAAgB;EAChB,DAAuB,uBAAW;;;yCAOrB,vBAAmD;CAEpD,6BAAqB,7BAAc;CAChD,AAAe,AAAS;CACxB,EAAa,FAAc;CAE3B;CAAiB;CAAjB,EAAiB,FAAa;EAA9B,CAAiB,FAAjB;;EAEC,DAAwB,gCAAoB,hCAApB,AAAiD;;;4CAO5D,1BAAsD;CAEvD,AAAe;CAE5B,CAAI,EAAU,HAAM;EAEnB,DAAkB;EAClB,CAAa,FAAc;EAE3B;EAAiB;EAAjB,CAAiB,FAAa;GAA9B,AAAiB,FAAjB;;GAEC,FAAwB,gCAAoB,hCAApB,AAAmD;;;;;;;;6BC1GtE;;CAEP;CAEA,EAAc;CACd,EAAU;CACV,EAAgB;CAChB,EAAgB;CAChB,EAAa;;;;;;;;4BCES,VApCxB;CAgCyC,AAhCzC,EAgCyC;CADF,AA/BvC,EA+BuC;CADF,AA9BrC,EA8BqC;CAQnC,EAAU;CACV,EAAY;CAEZ;CAEU;CAAV,EAAc,FAAG;EAAjB;EAEC,CAAU,4BAAsB,9BAAM,EAAU,FAAG,AAAI;EACvD,DAAY,AAAG;EACf,DAAiB;;CAIR;CAAV,EAAc,FAAI;EAAlB;EAEC,CAAU,4BAAsB,9BAAM,EAAY,FAAG,AAAG;EACxD,DAAc,AAAG;EACjB,DAAiB;;;;;;kBAaZ;;EAEC;;cAUD,FAA+C;EAErD,AAAI,EAAK,AAAK,DAAI,FAEV,AAAW;EAIZ;;qBAUD,SAA4E;;oBAU5E,TAAoC;;iBAcnC,NAEP;EAAO;;;;;;;;;;;;;;oCC8ZM,tBAEb;CAAO,KAAQ;KAET;EAAW;KACX;EAAK;KACL;EAAQ;KACR;EAAQ;KACR;EAAO;KACP;EAAa;KACb;EAAO;KACP;EAAM;KACN;EAAQ;KACR;EAAS;KACT;EAAW;KACX;EAAc;KACd;EAAkB;KAClB;EAAmB;KACnB;EAAU;KAEV;EAAO;KACP;EAAO;KACP;EAAQ;KACR;EAAO;KACP;EAAU;KACV;EAAU;KACV;EAAU;KACV;EAAU;KACV;EAAU;KACV;EAAU;KACV;EAAU;KACV;EAAU;KACV;EAAU;KACV;EAAU;KACV;EAAO;KACP;EAAW;KACX;EAAW;KACX;EAAQ;KACR;EAAc;KACd;EAAU;KACV;EAAI;KACJ;EAAc;KACd;EAAW;KACX;EAAe;KACf;EAAO;KACP;EAAY;KACZ;EAAO;KACP;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAG;KACH;EAAQ;KACR;EAAW;KACX;EAAI;KACJ;EAAI;KACJ;EAAI;KACJ;EAAI;KACJ;EAAI;KACJ;EAAI;KACJ;EAAI;KACJ;EAAI;KACJ;EAAI;KACJ;EAAK;KACL;EAAK;KACL;EAAK;KACL;EAAc;KACd;EAAa;KACb;EAAO;KACP;EAAQ;KACR;EAAM;KACN;EAAS;KACT;EAAK;KACL;EAAW;KACX;EAAO;KACP;EAAM;KACN;EAAM;KACN;EAAI;KACJ;EAAU;KACV;EAAe;KACf;EAAiB;KACjB;EAAc;KACd;EAAa;KACb;EAAc;KACd;EAAU;KACV;EAAU;KACV;EAAU;KACV;EAAU;KACV;EAAU;KACV;EAAU;KACV;EAAU;KACV;EAAU;KACV;EAAU;KACV;EAAU;KACV;EAAe;KACf;EAAa;KAGb;EAAK;KACL;EAAK;KACL;EAAK;KA+BL;EAAS;KAmDT;EAAgB;KAEhB;EAAW;KACX;EAAY;KACZ;EAAU;KACV;EAAW;KACX;EAAY;KACZ;EAAa;KACb;EAAW;KACX;EAAY;;EA2BH;;;kCAiBF,vBAGb;CAAO;;mCAKsB;;CAE7B,CAAI,DAAC,AAAO;EAEX,IAAQ;KAEF;GAA2B;KAC3B;GAAqB;KACrB;GAAuB;KACvB;GAAwB;KACxB;GAAuB;KACvB;GAA2B;KAC3B;GAAuB;KACvB;GAAuB;KACvB;GAAuB;KACvB;GAAwB;KACxB;GAAuB;KACvB;GAA2B;KAC3B;GAA6B;KAC7B;GAA2B;KAC3B;GAA8B;KAC9B;GAAuB;;EAI7B,AAAI,EAAO,AAAqB,AAAO,HAE/B,EAAM,AAAoB;EAIlC,AAAI,EAAO,AAAc,AAAO,HAExB,EAAM,AAAa;MAIrB;EAEN,IAAQ;KAEF;GAA0B;KAC1B;GAA0B;KAC1B;GAA0B;KAC1B;GAA0B;KAC1B;GAA0B;KAC1B;GAA0B;KAC1B;GAA0B;KAC1B;GAA0B;KAC1B;GAA0B;KAC1B;GAA0B;KAC1B;GAA2B;KAC3B;GAAuB;KACvB;GAAuB;KACvB;GAAuB;KACvB;GAAwB;KACxB;GAAuB;KACvB;GAA2B;KAC3B;GAA6B;KAC7B;GAA2B;KAC3B;GAA8B;KAC9B;GAAuB;;EAI7B,AAAI,EAAO,AAAc,AAAO,HAExB,EAAM,AAAa;;CAM5B,CAAI,EAAO,AAAqB,AAAO,HAE/B,EAAM,AAAoB;CAIlC,KAAQ;KAEF;EAAiC;KACjC;EAA4B;KAC5B;EAA8B;KAC9B;EAAgC;KAChC;EAA+B;KAC/B;EAAwB;KACxB;EAAuB;KACvB;EAA2B;;CAI1B;;;;;;;;;mCC71BA,xBACR;CACC,EAAW;CACX,EAAa;CACb;;;;;+CAoBa,pCACd;CACC,CAAK,EAAY,HAAO,EAAW;CAC5B;;;;sBAXA,XAEP;GAAO;;gBAgBD,DACP;EACwC;EAAgB;EAAhB;EACvC,AAAK,EAAmB,HAAO;EAEC,DAAqB,AAAiB;EACtE,DAAyB;;iBAanB,0BACP;EACC,AAAK,DAAC,AAAmB,AACxB,AAAuB,AAAkB,+CAAc,/CAAgB;EACxE,DAAgB,AAAkB;;YAM5B,eAEN;EAAO,DAAmB;;eAMpB,YAGN;EAAK,DAAY,AACjB;GAEC,FAAqB,AAAkB;GAEvC,FAAmB;;;;;;;;;;;8BCnFb,nBACR;CACC,EAAW;CACX,EAAW;CACX;;;;;;0CAgBa,/BACd;CACC,CAAK,EAAY,HAAO,EAAW;CAC5B;;;iBAVA,NACR;;eAeO,CACP;EACe;EAAd,DAAoC;EACpC;;eAMM,KAEN;EAAO,DAAc;;UAMf,UAEN;EAAO,DAAiB;;aAMlB,OACP;EACqB,DAAc;EAClC,AAAK,EAAS,HACd;GACC,FAAiB;GACjB;;EAEM;;;;;;;;;;6BCtDD,lBACP;CACC,EAAW;CACX,EAAc;CACd,EAAc;CACd;;;;;;yCAgBa,9BACd;CACC,CAAK,EAAY,HAAO,EAAW;CAC5B;;;gBAVA,LACR;;kBAeO,kBACP;EACC,AAAI,DAAC,AAAoB,AACxB;GAAmC;GAAnC,FAAiB,AAAjB;;EACD,DAAiB,AAAwB;;iBAUnC,MAEN;EAAI;;GAAoB;GAApB;;CACJ;GAEsC;GAAiB;GAAjB;GAIJ;GACO;GACxC;;IACC,HAAe;;GAEoB;GACpC;;IACC,HAAyB;;;;gBAOrB,yBACP;EAEkC,DAAiB;EAGlD,SAAkB;;;GAEjB,DAAK,DAA+B,GAAmB,HACvD;IAGC,HAAkB;IAClB;;;EAMF,AAAK,DAEJ,AAAoB;;kBAgBf,CACP;EAEC,AAAK;;GAAoB;GAApB;;CAAmD;EAGvC;EAAjB,DAA6C;EAGd;EAC/B,AAAK,CAAmB,FACxB;GAE0B,6CAAc,/CAA6B;GAGzD;GAAI;GAAf;;IACC,HAAkB,AAAW,AAAM;;;EAGrC;;kBAMM,KAEN;EAAO,DAAiB;;gBAMlB,OACP;EAE0B,DAAiB;EAE1C,AAAK,EAAY,HACjB;GAEgC;GACpB;GAAI;GAAf,FACA;IADA;IAIC,HAAgB,AAAW,AAAK;;GAIjC,FAAoB;GAGpB;;EAGM;;aAMD,UAEN;EAAO,DAAoB;;;;;;;;;;;;;;;;kDChLrB,zBACP;CACC,EAAY;CACZ,CAAK,EAAQ,HACZ,EAAY;CACb,CAAK,EAAQ,HACZ,EAAY;;;;;;SAMP,EAEN;EAAO;;SAMD,MAEN;GAAY;;SAMN,EAEN;EAAO;;SAMD,MAEN;GAAY;;SAMN,EAEN;EAAO;;UAMD,CACP;EACmB,CAAwB;EAC1C,EAAO,DAAY,FAAI,GAAQ,HAAO,AAAY;EAClD,EAAO,DAAY,FAAI,GAAQ,HAAO,AAAY;EAC3C;;;;8CC3DD,TACP;CACC,AAAiB;CACjB,AAAkB;;;;;;iBAQZ,MAEN;GAAS;;kBAMH,MAEN;GAAU;;iBAMH,NAEP;EAAO;;kBAMA,PAEP;EAAO;;gBAMD,OAEN;CAAmB;;sBAMZ,LAEN;EAAO,EAAU;;;;;aC/EZ,FAAc;CACpB;CACA,AAAW;CACX,AAAE;;;;;;MAEa,KAAe;EAC9B,CAAK,FAAa;EAClB;;YAGM;;EAEN,CAAQ,YAAU;EAClB,CAAc;;aAEP,FACP;;GAAe;;cAEA,HAA4B;EAC3C,KAAM,JAAU,FAAhB;EACA,DAAe,AAAM,AAAG,GAAK,HAAK,AAAa;;eAKhC,JAEf;CAAe,AAAM,AAAG,OAAQ,PAAK,AAAa;;;;;;;A9QmGf,EAAI,DAA0B,EAAgC,aAAgB;CAAO,AAA6B,AAAG,AAAG;;A+QmK3J,GAAW;AACX,GAAyB;AACzB,GAAyB;AAGO,GAAqB;AAErD,GAAgB,SACf;CAMA,AAAmB;;AAKpB,GAAa,UACZ;CAMA,AAAgB;;A1QzQc,GAA6B,AAAgC,AAAuB;AACrF,GAAkB,AAAgC,FAAC;AACjD,GAAsB;AACxB,GAAiB,AAAgC,FAAC;AAEhD,GAAqC,AAAgC,AAAqB;AAC3F,GAA0B,FAAC;AAG/C,GAAiC,AAAoB,QAAa,VAAC;AAG/D,GAAiC,AAAwB,QAAa,VAAC;AAGzE,GAAiC,AAAsB;AACnE,GAAiB,FAAC;AAGP,GAA+B,AAAqB;AAC/D,GAAiB,FAAC;AAGN,GAAiC,AAAsB,QAAa,VAAC;AAGtE;AI2OZ,GAAc;AACd,GAAa;AACb,GAAY;AACZ,GAAc;AACd,GAAc;AACd,GAA4B;AAC5B,GAAe;A2GhTH;CAAiB;AAA7B,GAAY;AAEF;AAAV,GAAc,FAAK;CAAnB;CAEC,AAAU,EAAK,AAAS,AAAI,AAAY,AAAzB;;AAIN;CAAiB;AAA3B,GAAU;AAEA;AAAV,GAAc,FAAM;CAApB;CAEC,AAAQ,EAAK;;AAIJ;AAAO;AAAjB,CAAoC;CAApC;CAEC,AAAQ,EAAK;;AqI2Zd,EAAY,EAAmB,HAE9B,EAA8B,FAAE,AAAO,AAAO;+ClQ1RI;kDACG;qDACG;+CoB9JH;+CACA;qDACK;qDACA;0DACG;8DACG;mDACR;oDACC;yDACI;mDACN;kDACD;mDACC;sDACE;mDACF;iDACF;kDACC;oDACC;qDACC;gDACJ;iDACC;gDACD;sDACK;kDACH;wDACF;2DACG;qDACL;6CmBZlB;sDEdD;4CCCA;iDCDO;2CCQP;4CCNA;mDCOC;mDENO;qDEJM;sDACC;kEKVC;mEACA;kEACA;iEACD;6DACH;uEACS;sEACA;oEACL;mEACA;6DACN;0BIQjB;2BACC;iCAEM;oCACG;+BACL;iCAEE;qCACI;2BAEV;2BACA;4BACC;6BAKA;iCAoDF,hCAAE,AAAsB,AAAoB,AAAwB;iCACpE,hCAAE,AAAiB,AAAgB;kCAClC,jCAAE,AAAkB,AAAkB;oCACpC,nCAAE,AAAkB,AAAqB;2CAClC,1CAAE,AAAyB;6BS/ElC;8BACA;6BACA;8BACA;8BACA;+BACC;8BACD;+BACC;8BACD;+BACC;+BACA;gCACC;6BACH;8BACC;8BACA;+BACC;4BACH;6BACC;8BACC;+BACC;gCAEN;kCACE;8BACJ;mCACK;kCACD;kCACA;8BClCS;8BACA;+BACA;+BACA;6BACA;2BEgBF;2BACA;iCACA;iCACA;qCACI;iCACJ;kCACC;+BACH;iCACE,hCAAU;0BWVxB;0BOuBE;;CACZ;CACR,AAAM,AAAM;CACZ,AAAM,AAAM;CACZ,AAAM,AAAO;CACb,AAAM,AAAS;CACf,AAAM,AAAQ;CACd,AAAM,AAAQ,AAAoB;CAClC;;;kBCkM4B;oBpF3NH;wBACoB;0BAEb;sCA+pCjC,AAAa;oCACb,AAAW;qCACX,AAAY;qCACZ,AAAY;qCACZ,AAAY;wCACZ,AAAe;oCACf,AAAW;4B4F9qCgB;6BACC;4BQlBQ;6BACC;4BACD;uCACW;wCACC;wCACA;6BACX;gCACG;iCACC;gCACD;+BACD;8BACD;4BACF;gCACI;gCACA;mCACG;oCACC;+BACL;+BACA;8BACD;+BACC;sCACO;yCACG;0CACC;sCACJ;uCACC;oCACH;kCACF;qCACG;mCACF;mCACA;8BACL;iCACG;oCACG;oCACA;qCACC;sCACC;uCACC;iCACN;4BACL;gCACI;4BACJ;gCACI;oCACI;oCACA;qCACC;yCACI;qCACJ;8BACP;+BACC;gCACC;kCACE;sCACI;sCACA;wCACE;sCACF;wCACE;gDACQ;uCACT;+CACQ;yCACN;iDACQ;8BC9DpB;6BACD;kCACK;gCACF;6BACH;qCACQ;uCACE;iCACN;uCACM;wCACC;qCACH;sCACC;sCACA;wCACE;uCACD;iDACU;yCACR;mCACN;0CACO;sDACY;8CACR;oCKyBlB;oDyKjD5B,AAAW;oDACX,AAAW;oDACX,AAAW;mECFX,AAAc;gEACd,AAAW;gEACX,AAAW;oEACX,AAAe;gEACf,AAAW;gEACX,AAAW;gEACX,AAAW;6DCNX,AAAY;6DACT,AAAY;mEACZ,AAAkB;0DCFrB,AAAW;4DACX,AAAa;6DACb,AAAc;yDACd,AAAU;iECHV,AAAc;kEACd,AAAe;0DCDf,AAAW;0DACX,AAAW;0DACX,AAAW;6DACX,AAAc;8DACd,AAAe;8DACf,AAAe;6DCLf,AAAc;4DACd,AAAa;2DACb,AAAY;wDACZ,AAAS;wDACT,AAAS;+DACT,AAAgB;2DAChB,AAAY;uECNZ,AAAc;mEACd,AAAU;kEACV,AAAS;mECFT,AAAc;gEACd,AAAW;kEACX,AAAa;kEACb,AAAa;gEACb,AAAW;4DCJX,AAAW;6DACX,AAAY;8DACZ,AAAa;+DCFb,AAAY;+DACZ,AAAY;+DACZ,AAAY;+DCFZ,AAAY;gEACZ,AAAa;8DACb,AAAW;4DACX,AAAS;6DACT,AAAU;8DACV,AAAW;8DACX,AAAW;mEACX,AAAgB;iEAChB,AAAc;kEACd,AAAe;mEACf,AAAgB;6DAChB,AAAU;6DACV,AAAU;kEACV,AAAe;kEACf,AAAe;gEACf,AAAa;iEACb,AAAc;gEACd,AAAa;iEACb,AAAc;qEACd,AAAkB;oEAClB,AAAiB;oEACjB,AAAiB;oEACjB,AAAiB;oEACjB,AAAiB;mEACjB,AAAgB;iEAChB,AAAc;wEACd,AAAqB;mEACrB,AAAgB;wEAChB,AAAqB;6DC5BrB,AAAc;+DACd,AAAgB;qEAChB,AAAsB;uEACtB,AAAwB;sEACxB,AAAuB;oEACvB,AAAqB;oEACrB,AAAqB;kEACrB,AAAmB;oEACnB,AAAqB;uEACrB,AAAwB;gEACxB,AAAiB;iEACjB,AAAkB;sEAClB,AAAuB;2EACvB,AAA4B;2EAC5B,AAA4B;qEAC5B,AAAsB;oEACtB,AAAqB;oEACrB,AAAqB;oEACrB,AAAqB;kEACrB,AAAmB;yEACnB,AAA0B;mEAC1B,AAAoB;4EACpB,AAA6B;qEAC7B,AAAsB;oEACtB,AAAqB;wEACrB,AAAyB;yEACzB,AAA0B;qEAC1B,AAAsB;oEACtB,AAAqB;sEACrB,AAAuB;mEACvB,AAAoB;oEACpB,AAAqB;kEACrB,AAAmB;+EACnB,AAAgC;0EAChC,AAA2B;kEAC3B,AAAmB;+EACnB,AAAgC;qEAChC,AAAsB;0EACtB,AAA2B;2ECtC3B,AAAc;uEACd,AAAU;uEACV,AAAU;wEACV,AAAW;wEACX,AAAW;2C3KmB0B;6CACE;2CACF;iCAEV;gCACD;oCACI;qCACC;oCACD;yCACK;uCACF;+BAER;8BACD;oCACM;8CACU;oCACV;8CACU;oCACV;8CACU;oCAEV;8CACU;6CACD;mCAEV;yCACM;6CACI;+CACE;wCAEP;gDACQ;wCAER;wCACA;0CACE;0CACA;yCACD;mDACU;yCACV;mDACU;sCACb;uCAEC;+CACQ;+CACA;uDACQ;sCAEjB;sCACA;uCACC;sCAED;uCACC;gDAES;gCAEhB;+BACD;yCACU;oCAEL;gCACJ;iCACC;uCACM;qCACF;uCACE;8CACO;mDACK;0CACT;mCAEP;uCACI;wCACC;4CACI;wCACJ;6BAEV;8BACA;qCAEO;mDACc;mDACA;yCACV;qCACJ;sCACC;0CACI;4CACE;qCACP;8CACS;uCACP;uCACA;kDACW;kDACA;sCACZ;6CACO;4CACD;4CACA;4CACA;uDACW;uDACA;2CACZ;kDACO;iDACD;mCACd;sCACG;4CAEM;0CACF;2CACC;yCACF;2CACE;4CACC;wCACJ;mCACL;qCACE;oCACD;qCACC;qCACA;uCACE;+CACQ;gDAEC;6CACH;yCACJ;kCACP;gDACc;iDACC;qDAEI;oCAEjB;kCACF;iCACD;+CAEc;+BAEhB;wCACS;gCACR;yCACS;8BACX;uCACS;gCACP;0CAEU;gCACV;8BACF;+BACC;oCACK;0CACM;iDAEO;iDACA;+CACF;0CAEL;wCACF;6CACK;qDACQ;8CACP;2DACa;yDACF;kDACP;uDACK;sCACjB;wCACE;sCACF;0CACI;2CACC;0CACD;4CACE;mDACO;0CACT;gCAEV;+BACD;gCACC;iCACC;kCACC;mCACC;iCACF;iCACA;+BAEF;kCACG;+BACH;+BACA;iCACE;oCACG;oCACA;iCAEH;mCACE;kCACD;kCAEA;iCACD;iDAEgB;gDACD;gDACA;+CACD;6CAEF;6CACA;yCACJ;yCACA;qCAEJ;kCACH;2CAES;mDACQ;sDACG;sDACA;sDACA;sDACA;sDACA;sDACA;oDACF;mCAEjB;mCACA;mCACA;mCACA;mCACA;mCACA;mCACA;mCACA;mCACA;mCACA;oCACC;oCACA;oCACA;oCACA;oCACA;oCACA;oCACA;oCACA;oCACA;oCACA;oCACA;oCACA;oCACA;oCACA;oCACA;oCACA;oCACA;oCACA;oCACA;oCACA;oCACA;oCACA;yCACK;iCAER;wCACO;0CACE;qCAEL;qCACA;qCACA;mCACF;mCACA;mCACA;+BACJ;oCACK;oCACA;oCACA;qCACC;qCACA;qCACA;qCACA;uCACE;sDAEe;mDACH;qDACE;mDACF;yDACM;sDACH;6DACO;oDAET;uCACb;yCAEE;oCAEL;uCACG;qCACF;kCACH;qCACG;mCACF;sCAEG;uCACC;gCAEP;kCACE;iCACD;4CACW;wCACJ;yCACC;wCACD;6CAEK;8CACC;uDACS;gDACP;kDACE;iDACD;kDACC;kDACA;oDACE;6DAES;6DACA;+DACE;uEACQ;4CAE3B;2CACD;6CACE;mDACM;+BAEpB;+CAEgB;4DACa;oEACQ;4DACR;kDACV;8CAEJ;+CACC;gDACC;wDAEQ;8CAEV;yDACW;6CACZ;6DACgB;gDACb;sDGxWjB,rDAAE,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK;+BCAjG;8CCJA,7CAAE,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK,AAAK;2DuKJ7G,AAAa;wDACb,AAAU;yDACV,AAAW;4DACX,AAAc;yDACd,AAAW;wDACX,AAAU;mC/J2B4D;wDA6gBtE,AAAkB;gEAClB,AAA0B;oDAC1B,AAAc;sDACd,AAAgB;kDAChB,AAAY;iDACZ,AAAW;uDKjjBX,AAAc;6DACd,AAAoB;6DACpB,AAAoB;6DACpB,AAAoB;6DACpB,AAAoB;gDELpB,AAAa;mDACb,AAAgB;iDAChB,AAAc;gDAEd,AAAa;kDACb,AAAe;iDACf,AAAc;kDACd,AAAe;oDACf,AAAiB;kDACjB,AAAe;+CACf,AAAY;kDACZ,AAAe;kDACf,AAAe;gDACf,AAAa;6CACb,AAAU;gDACV,AAAa;kDACb,AAAe;iDACf,AAAc;kDACd,AAAe;6CACf,AAAU;+CACV,AAAY;mDACZ,AAAgB;+CAChB,AAAY;+CACZ,AAAY;gDACZ,AAAa;8CACb,AAAW;iDAEX,AAAc;kDAEd,AAAe;iDACf,AAAc;4DACd,AAAyB;kDACzB,AAAe;kDACf,AAAe;+CACf,AAAY;mDACZ,AAAgB;iDAChB,AAAc;+CACd,AAAY;+CACZ,AAAY;iDACZ,AAAc;gDACd,AAAa;gDACb,AAAa;4CACb,AAAS;iDAET,AAAc;gDACd,AAAa;oDACb,AAAiB;+CAEjB,AAAY;iDACZ,AAAc;iDACd,AAAc;kDACd,AAAe;iDAEf,AAAc;+CACd,AAAY;kDACZ,AAAe;iDACf,AAAc;iDACd,AAAc;gDACd,AAAa;kDACb,AAAe;kDAEf,AAAe;gDACf,AAAa;oDACb,AAAiB;oDACjB,AAAiB;qDACjB,AAAkB;qDAClB,AAAkB;sDAClB,AAAmB;kDACnB,AAAe;kDAEf,AAAe;mDACf,AAAgB;6CAChB,AAAU;kDACV,AAAe;oDACf,AAAiB;gDAEjB,AAAa;8CACb,AAAW;kDACX,AAAe;gDACf,AAAa;gDACb,AAAa;gDACb,AAAa;kDACb,AAAe;gDACf,AAAa;oDACb,AAAiB;mDACjB,AAAgB;6CAChB,AAAU;iDAEV,AAAc;+CACd,AAAY;8DACZ,AAA2B;0DAC3B,AAAuB;+DACvB,AAA4B;gEAC5B,AAA6B;kDAC7B,AAAe;gDACf,AAAa;8CACb,AAAW;sDACX,AAAmB;2DACnB,AAAwB;oDACxB,AAAiB;mDACjB,AAAgB;kDAChB,AAAe;kDACf,AAAe;+CAEf,AAAY;gDACZ,AAAa;iDACb,AAAc;gDAEd,AAAa;0DACb,AAAuB;8DACvB,AAA2B;8CAC3B,AAAW;iDACX,AAAc;sDACd,AAAmB;+CACnB,AAAY;mDAEZ,AAAgB;4DAChB,AAAyB;kDACzB,AAAe;iDACf,AAAc;iDACd,AAAc;gDACd,AAAa;mDACb,AAAgB;kDAChB,AAAe;kDACf,AAAe;oDACf,AAAiB;uDACjB,AAAoB;8CACpB,AAAW;6CACX,AAAU;mDACV,AAAgB;2DAChB,AAAwB;oDACxB,AAAiB;sDACjB,AAAmB;mDACnB,AAAgB;qDAChB,AAAkB;yDAClB,AAAsB;iDACtB,AAAc;iDACd,AAAc;qDACd,AAAkB;0BCtIU;gDCH5B,AAAa;gDACb,AAAa;iDACb,AAAc;iDACd,AAAc;sDACd,AAAmB;uDACnB,AAAoB;+CCLpB,AAAQ;+CACR,AAAQ;+CACR,AAAQ;+CACR,AAAQ;kDACR,AAAW;mDACX,AAAY;mDACZ,AAAY;wDACZ,AAAiB;yDACjB,AAAkB;2DAClB,AAAoB;4DACpB,AAAqB;qDACrB,AAAc;uDACd,AAAgB;uDAChB,AAAgB;wDAChB,AAAiB;yCsJdjB,AAAc;2CACd,AAAgB;qCAChB,AAAU;wCACV,AAAa;wCACb,AAAa;uCACb,AAAY;6CACZ,AAAkB;uCAClB,AAAY;sCACZ,AAAW;wCACX,AAAa;yCACb,AAAc;2CACd,AAAgB;8CAChB,AAAmB;kDACnB,AAAuB;mDACvB,AAAwB;0CACxB,AAAe;sCACf,AAAW;uCACX,AAAY;uCACZ,AAAY;wCACZ,AAAa;uCACb,AAAY;0CACZ,AAAe;0CACf,AAAe;0CACf,AAAe;0CACf,AAAe;0CACf,AAAe;0CACf,AAAe;0CACf,AAAe;0CACf,AAAe;0CACf,AAAe;0CACf,AAAe;uCACf,AAAY;2CACZ,AAAgB;2CAChB,AAAgB;wCAChB,AAAa;8CACb,AAAmB;0CACnB,AAAe;oCACf,AAAS;8CACT,AAAmB;2CACnB,AAAgB;+CAChB,AAAoB;uCACpB,AAAY;4CACZ,AAAiB;uCACjB,AAAY;mCACZ,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;mCACR,AAAQ;wCACR,AAAa;2CACb,AAAgB;oCAChB,AAAS;oCACT,AAAS;oCACT,AAAS;oCACT,AAAS;oCACT,AAAS;oCACT,AAAS;oCACT,AAAS;oCACT,AAAS;oCACT,AAAS;qCACT,AAAU;qCACV,AAAU;qCACV,AAAU;8CACV,AAAmB;6CACnB,AAAkB;uCAClB,AAAY;wCACZ,AAAa;sCACb,AAAW;yCACX,AAAc;qCACd,AAAU;2CACV,AAAgB;uCAChB,AAAY;sCACZ,AAAW;sCACX,AAAW;oCACX,AAAS;0CACT,AAAe;+CACf,AAAoB;iDACpB,AAAsB;8CACtB,AAAmB;6CACnB,AAAkB;8CAClB,AAAmB;0CACnB,AAAe;0CACf,AAAe;0CACf,AAAe;0CACf,AAAe;0CACf,AAAe;0CACf,AAAe;0CACf,AAAe;0CACf,AAAe;0CACf,AAAe;0CACf,AAAe;+CACf,AAAoB;6CACpB,AAAkB;uCAClB,AAAY;+CACZ,AAAoB;qCACpB,AAAU;qCACV,AAAU;qCACV,AAAU;qCACV,AAAU;qCACV,AAAU;qCACV,AAAU;qCACV,AAAU;qCACV,AAAU;qCACV,AAAU;qCACV,AAAU;qCACV,AAAU;qCACV,AAAU;yCACV,AAAc;sCACd,AAAW;sCACX,AAAW;wCACX,AAAa;sCACb,AAAW;uCACX,AAAY;sCACZ,AAAW;qCACX,AAAU;sCACV,AAAW;uCACX,AAAY;sCACZ,AAAW;sCACX,AAAW;2CACX,AAAgB;6CAChB,AAAkB;8CAClB,AAAmB;2CAEnB,AAAgB;gDAChB,AAAqB;wCACrB,AAAa;uCACb,AAAY;uCACZ,AAAY;yCACZ,AAAc;2CACd,AAAgB;qCAChB,AAAU;sCACV,AAAW;6CACX,AAAkB;uCAClB,AAAY;uCACZ,AAAY;2CACZ,AAAgB;4CAChB,AAAiB;oDACjB,AAAyB;mDACzB,AAAwB;+CACxB,AAAoB;kDACpB,AAAuB;yDACvB,AAA8B;0DAC9B,AAA+B;mDAC/B,AAAwB;oDACxB,AAAyB;4CACzB,AAAiB;kDACjB,AAAuB;0CACvB,AAAe;0CACf,AAAe;0CACf,AAAe;0CACf,AAAe;0CACf,AAAe;0CACf,AAAe;4CACf,AAAiB;8CACjB,AAAmB;gDACnB,AAAqB;kDACrB,AAAuB;qDACvB,AAA0B;kDAC1B,AAAuB;yDACvB,AAA8B;qDAC9B,AAA0B;4DAC1B,AAAiC;8CACjC,AAAmB;6CACnB,AAAkB;8CAClB,AAAmB;2CACnB,AAAgB;oDAChB,AAAyB;kDACzB,AAAuB;mDACvB,AAAwB;kDACxB,AAAuB;gDACvB,AAAqB;qDACrB,AAA0B;qDAC1B,AAA0B;mDAC1B,AAAwB;mDACxB,AAAwB;8CACxB,AAAmB;oDACnB,AAAyB;+CACzB,AAAoB;8CACpB,AAAmB;gDACnB,AAAqB;oDACrB,AAAyB;2CACzB,AAAgB;4CAChB,AAAiB;0CACjB,AAAe;2CACf,AAAgB;4CAChB,AAAiB;6CACjB,AAAkB;2CAClB,AAAgB;4CAChB,AAAiB;sCACjB,AAAW;4CACX,AAAiB;gDACjB,AAAqB;4CACrB,AAAiB;4CACjB,AAAiB;4CACjB,AAAiB;8CACjB,AAAmB;qCACnB,AAAU;sCACV,AAAW;4CACX,AAAiB;0CACjB,AAAe;oDACf,AAAyB;kDACzB,AAAuB;kDACvB,AAAuB;qDACvB,AAA0B;kDAC1B,AAAuB;qDACvB,AAA0B;uDAC1B,AAA4B;iDAC5B,AAAsB;+CACtB,AAAoB;gDACpB,AAAqB;kDACrB,AAAuB;gDACvB,AAAqB;8CACrB,AAAmB;uCACnB,AAAY;uCACZ,AAAY;8CrJ3OgC;oDACM;qDACC;mDACF;oDACC;kDACF;mDACC;mDACA;oDACC;kDACF;mDACC;8CACL;8CAEA;+CACC;6CACF;8CACC;0DGunCY,zDAAa,AAAQ,AAAsC;sDAC/D,rDAAa,AAAQ,AAAkC;iDAC5D,hDAAa,AAAQ,AAA6B;wCAC3D,vCAAa,AAAQ,AAAoB;wCACzC,vCAAa,AAAQ,AAAoB;4CGpnChD;kDACM;6CACL;iCER4B;6BACpB;iCACH;sBQmBC;2BAEN;wCAohChC,AAAa;sCACb,AAAW;uCACX,AAAY;4CACZ,AAAiB;uCACjB,AAAY;uCACZ,AAAY;0CACZ,AAAe;sCACf,AAAW;sCEx9BsC;gDC3GC,ZAAuB;gCEgG1B;qBEjFO;4BAKH;yDMDnB;qDACJ;yDACI;sDACH;sDEKF;sDACA;qEINkB;wDEQlB;wDACA;uEIHkB;0DOQT;yDACL;uDEhCF;iFCgE7B,AAAe;iFACf,AAAe;8EACf,AAAY;iFAIZ,AAAc;0FACd,AAAuB;+EACvB,AAAY;+EACZ,AAAY;yFACZ,AAAsB;qFACtB,AAAkB;uFCGlB,AAAe;uFACf,AAAe;oFACf,AAAY;0FAIZ,AAAiB;uFACjB,AAAc;gGACd,AAAuB;qFACvB,AAAY;qFACZ,AAAY;+FACZ,AAAsB;2FACtB,AAAkB;8ECjClB,AAAe;wFAIf,AAAwB;uFACxB,AAAuB;4EACvB,AAAY;4EACZ,AAAY;sFACZ,AAAsB;kFACtB,AAAkB;qFCIlB,AAAe;+FAIf,AAAwB;2FACxB,AAAoB;uFACpB,AAAgB;uFAChB,AAAgB;qFAChB,AAAc;8FACd,AAAuB;mFACvB,AAAY;mFACZ,AAAY;6FACZ,AAAsB;yFACtB,AAAkB;mFCzBlB,AAAe;gFACf,AAAY;6FAIZ,AAAwB;4FACxB,AAAuB;iFACvB,AAAY;2FACZ,AAAsB;uFACtB,AAAkB;uECpE2C;qFAmF7D,AAAU;0FACV,AAAe;kGACf,AAAuB;sFAKvB,AAAW;qFACX,AAAU;2FACV,AAAgB;2FAChB,AAAgB;qGAChB,AAA0B;qGAC1B,AAA0B;gGAC1B,AAAqB;0GACrB,AAA+B;2FAC/B,AAAgB;2FAChB,AAAgB;qGAChB,AAA0B;qGAC1B,AAA0B;gGAC1B,AAAqB;0GACrB,AAA+B;oGAC/B,AAAyB;qEC7CyB;gEAIb;8EA2crC,AAAe;8EACf,AAAe;+EOre0B,9EACxC,0DAAoB,1DAAG,AAAmB,AAAO;wFAEA,vFACjD,0DAAoB,1DAAG,AAAmB,AAAO,AACjD,0DAAoB,1DAAG,AAAmB,AAAO,AACjD,0DAAoB,1DAAG,AAA2B,AAAM;oFAEX,nFAC7C,0DAAoB,1DAAG,AAAmB,AAAO,AACjD,0DAAoB,1DAAG,AAAmB,AAAO;2EAGS;qEACZ;gEAEpB;gEACA;yEAEe;uEACE;oFAgrD5C,AAAc;oFACd,AAAc;sEEztD2B;iFLuBzC,AAAW;0FACX,AAAoB;kFACpB,AAAY;2FACZ,AAAqB;kFACrB,AAAY;yCyF1BqB;wCAKD;yCAKC;uCAKF;qC7ELO;wCACG;mCACL;qCACE;yCACI;oCACL;sCACE;4CACM;yCACH;6C8EnCP;6CACA;8CACC;kDACI;kDACA;2CACP;oDACS;yC3EKF;6CACI;sCMTN;yCACG;oCACL;sCACE;0CACI;qCACL;uCACE;6CAEQ;0CACA;+CACA;6CACF;+CACE;0CAEI,pBAAW,rBAAG;wDCHjB;0CACd;4DACkB;qDAEF;gDACL;oDACI;0CqEvBX;4CACE;4CACA;8CACE;2EpEHV;4EACC;qFACS;2EACV;wCQHc;+BK+DjB;4BAQH;qCAQS;6BAQR;6BAQA;4BAQD;+BAQG;8BAQD;uCACS;iCAeN;kCAYC;0BAQR;2BAQC;kCAQO;2BAQP;8BAQG;yCASW;6BAYZ;6BAQA;6BAQA;6BAQA;qCAQQ;0CASK;yCASD;uCAQF;6BAQV;+BCxQK;qCAWM;iCCCL;oCCJJ;qCAQC;4CAQO;8CAQE;4CCpCN;8CAKE;+CAKC;sCCHP;uCCMA;qCAQF;iCCPM;wCAUO;wCAQA;6CAQK;2CAQF;sCAQL;sCAQA;qCAQD;sCAQC;oCAQF;uCAQG;uCAQA;4CAQK;0CAQF;oCAQN;qCAQC;uCC5GS;qCAQF;sCAQC;qCAQD;sCAQC;0CAQI;2CAQC;qCAQN;wCMjBW;6D0CrEvD,AAAa;0DAKb,AAAU;2DAKV,AAAW;8DAKX,AAAc;2DAUd,AAAW;0DAKX,AAAU;6CnCrCwC;qCC6BI;4DCisD/C,AAAe;6DACf,AAAgB;+DAChB,AAAkB;2DAClB,AAAc;kCGttDW;iCACe;gCAEhB;kCACE;4CETG;oD6BLpC,AAAe;gDACf,AAAW;iDACX,AAAY;mDACZ,AAAc;8B5BSsB;8BAKA;8BAKA;8BAKA;8BAKA;8BAKA;8BAKA;8BAKA;8BAKA;8BAKA;uBAKP;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;uBAKA;8BAMO;8BAMA;8BAMA;8BAMA;8BAMA;8BAMA;8BAMA;8BAMA;8BAMA;8BAMA;qCAMO;gCAML;kCAME;qCAMG;oCAMD;mCAMD;wBAKX;wBAKA;wBAKA;wBAKA;wBAKA;wBAKA;wBAKA;wBAKA;wBAKA;yBAKC;yBAKA;yBAKA;yBAKA;yBAKA;yBAKA;+BAKM;yBAKN;+BAMM;2BAKJ;6BAME;2BAKF;6BAKE;2BAEF;+BAKI;4BAMH;4BAKA;2BAKD;6BAKE;+BAKE;yBAKN;0BAKC;0BAKA;2BAKC;wBAKH;0BAKE;4BAKE;4BAKA;6BAEC;+BAKE;2BAKJ;2BAKA;2BAKA;4BAKC;2BAKD;+BAKI;iCAKE;+BAKF;kCAKG;2BAKP;;;;" -} \ No newline at end of file diff --git a/examples/ebook/bin/html5/bin/assets/closeX.svg b/examples/ebook/bin/html5/bin/assets/closeX.svg deleted file mode 100644 index 42f3766..0000000 --- a/examples/ebook/bin/html5/bin/assets/closeX.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - diff --git a/examples/ebook/bin/html5/bin/assets/config.xml b/examples/ebook/bin/html5/bin/assets/config.xml deleted file mode 100644 index 2d79af6..0000000 --- a/examples/ebook/bin/html5/bin/assets/config.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/examples/ebook/bin/html5/bin/assets/duck.svg b/examples/ebook/bin/html5/bin/assets/duck.svg deleted file mode 100644 index 9bcf9ad..0000000 --- a/examples/ebook/bin/html5/bin/assets/duck.svg +++ /dev/null @@ -1,322 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/ebook/bin/html5/bin/assets/easyXML.jpg b/examples/ebook/bin/html5/bin/assets/easyXML.jpg deleted file mode 100644 index f2bccf7..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/easyXML.jpg and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/heres-the-deal.jpg b/examples/ebook/bin/html5/bin/assets/heres-the-deal.jpg deleted file mode 100644 index 791d1c5..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/heres-the-deal.jpg and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/nav/bHome.png b/examples/ebook/bin/html5/bin/assets/nav/bHome.png deleted file mode 100644 index 0c67705..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/nav/bHome.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/nav/bLeft.png b/examples/ebook/bin/html5/bin/assets/nav/bLeft.png deleted file mode 100644 index 562b608..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/nav/bLeft.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/nav/bOptions.png b/examples/ebook/bin/html5/bin/assets/nav/bOptions.png deleted file mode 100644 index 0f487a1..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/nav/bOptions.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/nav/bRight.png b/examples/ebook/bin/html5/bin/assets/nav/bRight.png deleted file mode 100644 index 109b446..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/nav/bRight.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/nav/close.png b/examples/ebook/bin/html5/bin/assets/nav/close.png deleted file mode 100644 index 44c755b..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/nav/close.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/nav/panLeft.png b/examples/ebook/bin/html5/bin/assets/nav/panLeft.png deleted file mode 100644 index 4628e8a..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/nav/panLeft.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/nav/panRight.png b/examples/ebook/bin/html5/bin/assets/nav/panRight.png deleted file mode 100644 index b268477..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/nav/panRight.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/nme.svg b/examples/ebook/bin/html5/bin/assets/nme.svg deleted file mode 100644 index cd02515..0000000 --- a/examples/ebook/bin/html5/bin/assets/nme.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/examples/ebook/bin/html5/bin/assets/options/actor_0000_background.png b/examples/ebook/bin/html5/bin/assets/options/actor_0000_background.png deleted file mode 100644 index a5cd9fe..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/options/actor_0000_background.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/options/actor_0001_duck.png b/examples/ebook/bin/html5/bin/assets/options/actor_0001_duck.png deleted file mode 100644 index c2e4f5c..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/options/actor_0001_duck.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/options/actor_0002_home.png b/examples/ebook/bin/html5/bin/assets/options/actor_0002_home.png deleted file mode 100644 index 24521cb..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/options/actor_0002_home.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/options/actor_0003_cow.png b/examples/ebook/bin/html5/bin/assets/options/actor_0003_cow.png deleted file mode 100644 index b0d8eed..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/options/actor_0003_cow.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/options/actor_0004_easyXML.png b/examples/ebook/bin/html5/bin/assets/options/actor_0004_easyXML.png deleted file mode 100644 index 3152baf..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/options/actor_0004_easyXML.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/options/actor_0005_limerick.png b/examples/ebook/bin/html5/bin/assets/options/actor_0005_limerick.png deleted file mode 100644 index 39c5435..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/options/actor_0005_limerick.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/options/choose.png b/examples/ebook/bin/html5/bin/assets/options/choose.png deleted file mode 100644 index 1279f09..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/options/choose.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/p1/limerickPCM.wav b/examples/ebook/bin/html5/bin/assets/p1/limerickPCM.wav deleted file mode 100644 index 7d10a7a..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/p1/limerickPCM.wav and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0000_bg.jpg b/examples/ebook/bin/html5/bin/assets/p1/pageObject_0000_bg.jpg deleted file mode 100644 index 783cf08..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0000_bg.jpg and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0001_skin.png b/examples/ebook/bin/html5/bin/assets/p1/pageObject_0001_skin.png deleted file mode 100644 index 4064571..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0001_skin.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0002_hose.png b/examples/ebook/bin/html5/bin/assets/p1/pageObject_0002_hose.png deleted file mode 100644 index 595a505..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0002_hose.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0003_pants.png b/examples/ebook/bin/html5/bin/assets/p1/pageObject_0003_pants.png deleted file mode 100644 index a3e86b4..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0003_pants.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0004_flameshoe.png b/examples/ebook/bin/html5/bin/assets/p1/pageObject_0004_flameshoe.png deleted file mode 100644 index 943c945..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0004_flameshoe.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0005_shoe.png b/examples/ebook/bin/html5/bin/assets/p1/pageObject_0005_shoe.png deleted file mode 100644 index 3dc2d44..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0005_shoe.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0006_shirt.png b/examples/ebook/bin/html5/bin/assets/p1/pageObject_0006_shirt.png deleted file mode 100644 index e773e98..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0006_shirt.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0007_truck.png b/examples/ebook/bin/html5/bin/assets/p1/pageObject_0007_truck.png deleted file mode 100644 index a33ea92..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0007_truck.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0008_firemen.png b/examples/ebook/bin/html5/bin/assets/p1/pageObject_0008_firemen.png deleted file mode 100644 index 935350f..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0008_firemen.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0009_can.png b/examples/ebook/bin/html5/bin/assets/p1/pageObject_0009_can.png deleted file mode 100644 index 56f843b..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0009_can.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0010_bw.png b/examples/ebook/bin/html5/bin/assets/p1/pageObject_0010_bw.png deleted file mode 100644 index 2c2a605..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0010_bw.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0011_text.png b/examples/ebook/bin/html5/bin/assets/p1/pageObject_0011_text.png deleted file mode 100644 index b1d1e5b..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/p1/pageObject_0011_text.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/speaker.png b/examples/ebook/bin/html5/bin/assets/speaker.png deleted file mode 100644 index a796c62..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/speaker.png and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/assets/title/star.svg b/examples/ebook/bin/html5/bin/assets/title/star.svg deleted file mode 100644 index 63c6c69..0000000 --- a/examples/ebook/bin/html5/bin/assets/title/star.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - diff --git a/examples/ebook/bin/html5/bin/assets/title/title.jpg b/examples/ebook/bin/html5/bin/assets/title/title.jpg deleted file mode 100644 index 0a90b49..0000000 Binary files a/examples/ebook/bin/html5/bin/assets/title/title.jpg and /dev/null differ diff --git a/examples/ebook/bin/html5/bin/index.html b/examples/ebook/bin/html5/bin/index.html deleted file mode 100644 index 2b8e0a1..0000000 --- a/examples/ebook/bin/html5/bin/index.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - Glory Framework Demo - - - - - - - - - - - - - - - - -
- - - - - \ No newline at end of file diff --git a/examples/ebook/bin/html5/bin/lib/soundjs.min.js b/examples/ebook/bin/html5/bin/lib/soundjs.min.js deleted file mode 100644 index 9ad66c6..0000000 --- a/examples/ebook/bin/html5/bin/lib/soundjs.min.js +++ /dev/null @@ -1,18 +0,0 @@ -/*! -* @license SoundJS -* Visit http://createjs.com/ for documentation, updates and examples. -* -* Copyright (c) 2011-2013 gskinner.com, inc. -* -* Distributed under the terms of the MIT license. -* http://www.opensource.org/licenses/mit-license.html -* -* This notice shall be included in all copies or substantial portions of the Software. -*/ - -/**! - * SoundJS FlashAudioPlugin also includes swfobject (http://code.google.com/p/swfobject/) - */ - -this.createjs=this.createjs||{},function(){var a=createjs.SoundJS=createjs.SoundJS||{};a.version="0.6.0",a.buildDate="Thu, 11 Dec 2014 23:32:09 GMT"}(),this.createjs=this.createjs||{},createjs.extend=function(a,b){"use strict";function c(){this.constructor=a}return c.prototype=b.prototype,a.prototype=new c},this.createjs=this.createjs||{},createjs.promote=function(a,b){"use strict";var c=a.prototype,d=Object.getPrototypeOf&&Object.getPrototypeOf(c)||c.__proto__;if(d){c[(b+="_")+"constructor"]=d.constructor;for(var e in d)c.hasOwnProperty(e)&&"function"==typeof d[e]&&(c[b+e]=d[e])}return a},this.createjs=this.createjs||{},createjs.indexOf=function(a,b){"use strict";for(var c=0,d=a.length;d>c;c++)if(b===a[c])return c;return-1},this.createjs=this.createjs||{},function(){"use strict";createjs.proxy=function(a,b){var c=Array.prototype.slice.call(arguments,2);return function(){return a.apply(b,Array.prototype.slice.call(arguments,0).concat(c))}}}(),this.createjs=this.createjs||{},function(){"use strict";var a=Object.defineProperty?!0:!1,b={};try{Object.defineProperty(b,"bar",{get:function(){return this._bar},set:function(a){this._bar=a}})}catch(c){a=!1}createjs.definePropertySupported=a}(),this.createjs=this.createjs||{},function(){"use strict";function a(){throw"BrowserDetect cannot be instantiated"}var b=a.agent=window.navigator.userAgent;a.isWindowPhone=b.indexOf("IEMobile")>-1||b.indexOf("Windows Phone")>-1,a.isFirefox=b.indexOf("Firefox")>-1,a.isOpera=null!=window.opera,a.isChrome=b.indexOf("Chrome")>-1,a.isIOS=(b.indexOf("iPod")>-1||b.indexOf("iPhone")>-1||b.indexOf("iPad")>-1)&&!a.isWindowPhone,a.isAndroid=b.indexOf("Android")>-1&&!a.isWindowPhone,a.isBlackberry=b.indexOf("Blackberry")>-1,createjs.BrowserDetect=a}(),this.createjs=this.createjs||{},function(){"use strict";function a(){this._listeners=null,this._captureListeners=null}var b=a.prototype;a.initialize=function(a){a.addEventListener=b.addEventListener,a.on=b.on,a.removeEventListener=a.off=b.removeEventListener,a.removeAllEventListeners=b.removeAllEventListeners,a.hasEventListener=b.hasEventListener,a.dispatchEvent=b.dispatchEvent,a._dispatchEvent=b._dispatchEvent,a.willTrigger=b.willTrigger},b.addEventListener=function(a,b,c){var d;d=c?this._captureListeners=this._captureListeners||{}:this._listeners=this._listeners||{};var e=d[a];return e&&this.removeEventListener(a,b,c),e=d[a],e?e.push(b):d[a]=[b],b},b.on=function(a,b,c,d,e,f){return b.handleEvent&&(c=c||b,b=b.handleEvent),c=c||this,this.addEventListener(a,function(a){b.call(c,a,e),d&&a.remove()},f)},b.removeEventListener=function(a,b,c){var d=c?this._captureListeners:this._listeners;if(d){var e=d[a];if(e)for(var f=0,g=e.length;g>f;f++)if(e[f]==b){1==g?delete d[a]:e.splice(f,1);break}}},b.off=b.removeEventListener,b.removeAllEventListeners=function(a){a?(this._listeners&&delete this._listeners[a],this._captureListeners&&delete this._captureListeners[a]):this._listeners=this._captureListeners=null},b.dispatchEvent=function(a){if("string"==typeof a){var b=this._listeners;if(!b||!b[a])return!1;a=new createjs.Event(a)}else a.target&&a.clone&&(a=a.clone());try{a.target=this}catch(c){}if(a.bubbles&&this.parent){for(var d=this,e=[d];d.parent;)e.push(d=d.parent);var f,g=e.length;for(f=g-1;f>=0&&!a.propagationStopped;f--)e[f]._dispatchEvent(a,1+(0==f));for(f=1;g>f&&!a.propagationStopped;f++)e[f]._dispatchEvent(a,3)}else this._dispatchEvent(a,2);return a.defaultPrevented},b.hasEventListener=function(a){var b=this._listeners,c=this._captureListeners;return!!(b&&b[a]||c&&c[a])},b.willTrigger=function(a){for(var b=this;b;){if(b.hasEventListener(a))return!0;b=b.parent}return!1},b.toString=function(){return"[EventDispatcher]"},b._dispatchEvent=function(a,b){var c,d=1==b?this._captureListeners:this._listeners;if(a&&d){var e=d[a.type];if(!e||!(c=e.length))return;try{a.currentTarget=this}catch(f){}try{a.eventPhase=b}catch(f){}a.removed=!1,e=e.slice();for(var g=0;c>g&&!a.immediatePropagationStopped;g++){var h=e[g];h.handleEvent?h.handleEvent(a):h(a),a.removed&&(this.off(a.type,h,1==b),a.removed=!1)}}},createjs.EventDispatcher=a}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,c){this.type=a,this.target=null,this.currentTarget=null,this.eventPhase=0,this.bubbles=!!b,this.cancelable=!!c,this.timeStamp=(new Date).getTime(),this.defaultPrevented=!1,this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.removed=!1}var b=a.prototype;b.preventDefault=function(){this.defaultPrevented=this.cancelable&&!0},b.stopPropagation=function(){this.propagationStopped=!0},b.stopImmediatePropagation=function(){this.immediatePropagationStopped=this.propagationStopped=!0},b.remove=function(){this.removed=!0},b.clone=function(){return new a(this.type,this.bubbles,this.cancelable)},b.set=function(a){for(var b in a)this[b]=a[b];return this},b.toString=function(){return"[Event (type="+this.type+")]"},createjs.Event=a}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,c){this.Event_constructor("error"),this.title=a,this.message=b,this.data=c}var b=createjs.extend(a,createjs.Event);b.clone=function(){return new createjs.ErrorEvent(this.title,this.message,this.data)},createjs.ErrorEvent=createjs.promote(a,"Event")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b){this.Event_constructor("progress"),this.loaded=a,this.total=null==b?1:b,this.progress=0==b?0:this.loaded/this.total}var b=createjs.extend(a,createjs.Event);b.clone=function(){return new createjs.ProgressEvent(this.loaded,this.total)},createjs.ProgressEvent=createjs.promote(a,"Event")}(window),this.createjs=this.createjs||{},function(){"use strict";function a(){this.src=null,this.type=null,this.id=null,this.maintainOrder=!1,this.callback=null,this.data=null,this.method=createjs.LoadItem.GET,this.values=null,this.headers=null,this.withCredentials=!1,this.mimeType=null,this.crossOrigin="Anonymous",this.loadTimeout=8e3}var b=a.prototype={},c=a;c.create=function(b){if("string"==typeof b){var d=new a;return d.src=b,d}if(b instanceof c)return b;if(b instanceof Object)return b;throw new Error("Type not recognized.")},b.set=function(a){for(var b in a)this[b]=a[b];return this},createjs.LoadItem=c}(),function(){var a={};a.ABSOLUTE_PATT=/^(?:\w+:)?\/{2}/i,a.RELATIVE_PATT=/^[./]*?\//i,a.EXTENSION_PATT=/\/?[^/]+\.(\w{1,5})$/i,a.parseURI=function(b){var c={absolute:!1,relative:!1};if(null==b)return c;var d=b.indexOf("?");d>-1&&(b=b.substr(0,d));var e;return a.ABSOLUTE_PATT.test(b)?c.absolute=!0:a.RELATIVE_PATT.test(b)&&(c.relative=!0),(e=b.match(a.EXTENSION_PATT))&&(c.extension=e[1].toLowerCase()),c},a.formatQueryString=function(a,b){if(null==a)throw new Error("You must specify data.");var c=[];for(var d in a)c.push(d+"="+escape(a[d]));return b&&(c=c.concat(b)),c.join("&")},a.buildPath=function(a,b){if(null==b)return a;var c=[],d=a.indexOf("?");if(-1!=d){var e=a.slice(d+1);c=c.concat(e.split("&"))}return-1!=d?a.slice(0,d)+"?"+this._formatQueryString(b,c):a+"?"+this._formatQueryString(b,c)},a.isCrossDomain=function(a){var b=document.createElement("a");b.href=a.src;var c=document.createElement("a");c.href=location.href;var d=""!=b.hostname&&(b.port!=c.port||b.protocol!=c.protocol||b.hostname!=c.hostname);return d},a.isLocal=function(a){var b=document.createElement("a");return b.href=a.src,""==b.hostname&&"file:"==b.protocol},a.isBinary=function(a){switch(a){case createjs.AbstractLoader.IMAGE:case createjs.AbstractLoader.BINARY:return!0;default:return!1}},a.isImageTag=function(a){return a instanceof HTMLImageElement},a.isAudioTag=function(a){return window.HTMLAudioElement?a instanceof HTMLAudioElement:!1},a.isVideoTag=function(a){return window.HTMLVideoElement?a instanceof HTMLVideoElement:void 0},a.isText=function(a){switch(a){case createjs.AbstractLoader.TEXT:case createjs.AbstractLoader.JSON:case createjs.AbstractLoader.MANIFEST:case createjs.AbstractLoader.XML:case createjs.AbstractLoader.CSS:case createjs.AbstractLoader.SVG:case createjs.AbstractLoader.JAVASCRIPT:return!0;default:return!1}},a.getTypeByExtension=function(a){if(null==a)return createjs.AbstractLoader.TEXT;switch(a.toLowerCase()){case"jpeg":case"jpg":case"gif":case"png":case"webp":case"bmp":return createjs.AbstractLoader.IMAGE;case"ogg":case"mp3":case"webm":return createjs.AbstractLoader.SOUND;case"mp4":case"webm":case"ts":return createjs.AbstractLoader.VIDEO;case"json":return createjs.AbstractLoader.JSON;case"xml":return createjs.AbstractLoader.XML;case"css":return createjs.AbstractLoader.CSS;case"js":return createjs.AbstractLoader.JAVASCRIPT;case"svg":return createjs.AbstractLoader.SVG;default:return createjs.AbstractLoader.TEXT}},createjs.RequestUtils=a}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,c){this.EventDispatcher_constructor(),this.loaded=!1,this.canceled=!1,this.progress=0,this.type=c,this.resultFormatter=null,this._item=a?createjs.LoadItem.create(a):null,this._preferXHR=b,this._result=null,this._rawResult=null,this._loadedItems=null,this._tagSrcAttribute=null,this._tag=null}var b=createjs.extend(a,createjs.EventDispatcher),c=a;c.POST="POST",c.GET="GET",c.BINARY="binary",c.CSS="css",c.IMAGE="image",c.JAVASCRIPT="javascript",c.JSON="json",c.JSONP="jsonp",c.MANIFEST="manifest",c.SOUND="sound",c.VIDEO="video",c.SPRITESHEET="spritesheet",c.SVG="svg",c.TEXT="text",c.XML="xml",b.getItem=function(){return this._item},b.getResult=function(a){return a?this._rawResult:this._result},b.getTag=function(){return this._tag},b.setTag=function(a){this._tag=a},b.load=function(){this._createRequest(),this._request.on("complete",this,this),this._request.on("progress",this,this),this._request.on("loadStart",this,this),this._request.on("abort",this,this),this._request.on("timeout",this,this),this._request.on("error",this,this);var a=new createjs.Event("initialize");a.loader=this._request,this.dispatchEvent(a),this._request.load()},b.cancel=function(){this.canceled=!0,this.destroy()},b.destroy=function(){this._request&&(this._request.removeAllEventListeners(),this._request.destroy()),this._request=null,this._item=null,this._rawResult=null,this._result=null,this._loadItems=null,this.removeAllEventListeners()},b.getLoadedItems=function(){return this._loadedItems},b._createRequest=function(){this._request=this._preferXHR?new createjs.XHRRequest(this._item):new createjs.TagRequest(this._item,this._tag||this._createTag(),this._tagSrcAttribute)},b._createTag=function(){return null},b._sendLoadStart=function(){this._isCanceled()||this.dispatchEvent("loadstart")},b._sendProgress=function(a){if(!this._isCanceled()){var b=null;"number"==typeof a?(this.progress=a,b=new createjs.ProgressEvent(this.progress)):(b=a,this.progress=a.loaded/a.total,b.progress=this.progress,(isNaN(this.progress)||1/0==this.progress)&&(this.progress=0)),this.hasEventListener("progress")&&this.dispatchEvent(b)}},b._sendComplete=function(){if(!this._isCanceled()){this.loaded=!0;var a=new createjs.Event("complete");a.rawResult=this._rawResult,null!=this._result&&(a.result=this._result),this.dispatchEvent(a)}},b._sendError=function(a){!this._isCanceled()&&this.hasEventListener("error")&&(null==a&&(a=new createjs.ErrorEvent("PRELOAD_ERROR_EMPTY")),this.dispatchEvent(a))},b._isCanceled=function(){return null==window.createjs||this.canceled?!0:!1},b.resultFormatter=null,b.handleEvent=function(a){switch(a.type){case"complete":this._rawResult=a.target._response;var b=this.resultFormatter&&this.resultFormatter(this),c=this;b instanceof Function?b(function(a){c._result=a,c._sendComplete()}):(this._result=b||this._rawResult,this._sendComplete());break;case"progress":this._sendProgress(a);break;case"error":this._sendError(a);break;case"loadstart":this._sendLoadStart();break;case"abort":case"timeout":this._isCanceled()||this.dispatchEvent(a.type)}},b.buildPath=function(a,b){return createjs.RequestUtils.buildPath(a,b)},b.toString=function(){return"[PreloadJS AbstractLoader]"},createjs.AbstractLoader=createjs.promote(a,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,c){this.AbstractLoader_constructor(a,b,c),this.resultFormatter=this._formatResult,this._tagSrcAttribute="src"}var b=createjs.extend(a,createjs.AbstractLoader);b.load=function(){this._tag||(this._tag=this._createTag(this._item.src)),this._tag.preload="auto",this._tag.load(),this.AbstractLoader_load()},b._createTag=function(){},b._createRequest=function(){this._request=this._preferXHR?new createjs.XHRRequest(this._item):new createjs.MediaTagRequest(this._item,this._tag||this._createTag(),this._tagSrcAttribute)},b._formatResult=function(a){return this._tag.removeEventListener&&this._tag.removeEventListener("canplaythrough",this._loadedHandler),this._tag.onstalled=null,this._preferXHR&&(a.getTag().src=a.getResult(!0)),a.getTag()},createjs.AbstractMediaLoader=createjs.promote(a,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";var a=function(a){this._item=a},b=createjs.extend(a,createjs.EventDispatcher);b.load=function(){},b.destroy=function(){},b.cancel=function(){},createjs.AbstractRequest=createjs.promote(a,"EventDispatcher")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,c){this.AbstractRequest_constructor(a),this._tag=b,this._tagSrcAttribute=c,this._loadedHandler=createjs.proxy(this._handleTagComplete,this),this._addedToDOM=!1,this._startTagVisibility=null}var b=createjs.extend(a,createjs.AbstractRequest);b.load=function(){null==this._tag.parentNode&&(window.document.body.appendChild(this._tag),this._addedToDOM=!0),this._tag.onload=createjs.proxy(this._handleTagComplete,this),this._tag.onreadystatechange=createjs.proxy(this._handleReadyStateChange,this);var a=new createjs.Event("initialize");a.loader=this._tag,this.dispatchEvent(a),this._hideTag(),this._tag[this._tagSrcAttribute]=this._item.src},b.destroy=function(){this._clean(),this._tag=null,this.AbstractRequest_destroy()},b._handleReadyStateChange=function(){clearTimeout(this._loadTimeout);var a=this._tag;("loaded"==a.readyState||"complete"==a.readyState)&&this._handleTagComplete()},b._handleTagComplete=function(){this._rawResult=this._tag,this._result=this.resultFormatter&&this.resultFormatter(this)||this._rawResult,this._clean(),this._showTag(),this.dispatchEvent("complete")},b._clean=function(){this._tag.onload=null,this._tag.onreadystatechange=null,this._addedToDOM&&null!=this._tag.parentNode&&this._tag.parentNode.removeChild(this._tag)},b._hideTag=function(){this._startTagVisibility=this._tag.style.visibility,this._tag.style.visibility="hidden"},b._showTag=function(){this._tag.style.visibility=this._startTagVisibility},b._handleStalled=function(){},createjs.TagRequest=createjs.promote(a,"AbstractRequest")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,c){this.AbstractRequest_constructor(a),this._tag=b,this._tagSrcAttribute=c,this._loadedHandler=createjs.proxy(this._handleTagComplete,this)}var b=createjs.extend(a,createjs.TagRequest);b.load=function(){this._tag.onstalled=createjs.proxy(this._handleStalled,this),this._tag.onprogress=createjs.proxy(this._handleProgress,this),this._tag.addEventListener&&this._tag.addEventListener("canplaythrough",this._loadedHandler,!1),this.TagRequest_load()},b._handleReadyStateChange=function(){clearTimeout(this._loadTimeout);var a=this._tag;("loaded"==a.readyState||"complete"==a.readyState)&&this._handleTagComplete()},b._handleStalled=function(){},b._handleProgress=function(a){if(a&&!(a.loaded>0&&0==a.total)){var b=new createjs.ProgressEvent(a.loaded,a.total);this.dispatchEvent(b)}},b._clean=function(){this._tag.removeEventListener&&this._tag.removeEventListener("canplaythrough",this._loadedHandler),this._tag.onstalled=null,this._tag.onprogress=null,this.TagRequest__clean()},createjs.MediaTagRequest=createjs.promote(a,"TagRequest")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a){this.AbstractRequest_constructor(a),this._request=null,this._loadTimeout=null,this._xhrLevel=1,this._response=null,this._rawResponse=null,this._canceled=!1,this._handleLoadStartProxy=createjs.proxy(this._handleLoadStart,this),this._handleProgressProxy=createjs.proxy(this._handleProgress,this),this._handleAbortProxy=createjs.proxy(this._handleAbort,this),this._handleErrorProxy=createjs.proxy(this._handleError,this),this._handleTimeoutProxy=createjs.proxy(this._handleTimeout,this),this._handleLoadProxy=createjs.proxy(this._handleLoad,this),this._handleReadyStateChangeProxy=createjs.proxy(this._handleReadyStateChange,this),!this._createXHR(a)}var b=createjs.extend(a,createjs.AbstractRequest);a.ACTIVEX_VERSIONS=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.5.0","Msxml2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],b.getResult=function(a){return a&&this._rawResponse?this._rawResponse:this._response},b.cancel=function(){this.canceled=!0,this._clean(),this._request.abort()},b.load=function(){if(null==this._request)return void this._handleError();this._request.addEventListener("loadstart",this._handleLoadStartProxy,!1),this._request.addEventListener("progress",this._handleProgressProxy,!1),this._request.addEventListener("abort",this._handleAbortProxy,!1),this._request.addEventListener("error",this._handleErrorProxy,!1),this._request.addEventListener("timeout",this._handleTimeoutProxy,!1),this._request.addEventListener("load",this._handleLoadProxy,!1),this._request.addEventListener("readystatechange",this._handleReadyStateChangeProxy,!1),1==this._xhrLevel&&(this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout));try{this._item.values&&this._item.method!=createjs.AbstractLoader.GET?this._item.method==createjs.AbstractLoader.POST&&this._request.send(createjs.RequestUtils.formatQueryString(this._item.values)):this._request.send()}catch(a){this.dispatchEvent(new createjs.ErrorEvent("XHR_SEND",null,a))}},b.setResponseType=function(a){this._request.responseType=a},b.getAllResponseHeaders=function(){return this._request.getAllResponseHeaders instanceof Function?this._request.getAllResponseHeaders():null},b.getResponseHeader=function(a){return this._request.getResponseHeader instanceof Function?this._request.getResponseHeader(a):null},b._handleProgress=function(a){if(a&&!(a.loaded>0&&0==a.total)){var b=new createjs.ProgressEvent(a.loaded,a.total);this.dispatchEvent(b)}},b._handleLoadStart=function(){clearTimeout(this._loadTimeout),this.dispatchEvent("loadstart")},b._handleAbort=function(a){this._clean(),this.dispatchEvent(new createjs.ErrorEvent("XHR_ABORTED",null,a))},b._handleError=function(a){this._clean(),this.dispatchEvent(new createjs.ErrorEvent(a.message))},b._handleReadyStateChange=function(){4==this._request.readyState&&this._handleLoad()},b._handleLoad=function(){if(!this.loaded){this.loaded=!0;var a=this._checkError();if(a)return void this._handleError(a);this._response=this._getResponse(),this._clean(),this.dispatchEvent(new createjs.Event("complete"))}},b._handleTimeout=function(a){this._clean(),this.dispatchEvent(new createjs.ErrorEvent("PRELOAD_TIMEOUT",null,a))},b._checkError=function(){var a=parseInt(this._request.status);switch(a){case 404:case 0:return new Error(a)}return null},b._getResponse=function(){if(null!=this._response)return this._response;if(null!=this._request.response)return this._request.response;try{if(null!=this._request.responseText)return this._request.responseText}catch(a){}try{if(null!=this._request.responseXML)return this._request.responseXML}catch(a){}return null},b._createXHR=function(a){var b=createjs.RequestUtils.isCrossDomain(a),c={},d=null;if(window.XMLHttpRequest)d=new XMLHttpRequest,b&&void 0===d.withCredentials&&window.XDomainRequest&&(d=new XDomainRequest);else{for(var e=0,f=s.ACTIVEX_VERSIONS.length;f>e;e++){{s.ACTIVEX_VERSIONS[e]}try{d=new ActiveXObject(axVersions);break}catch(g){}}if(null==d)return!1}a.mimeType&&d.overrideMimeType&&d.overrideMimeType(a.mimeType),this._xhrLevel="string"==typeof d.responseType?2:1;var h=null;if(h=a.method==createjs.AbstractLoader.GET?createjs.RequestUtils.buildPath(a.src,a.values):a.src,d.open(a.method||createjs.AbstractLoader.GET,h,!0),b&&d instanceof XMLHttpRequest&&1==this._xhrLevel&&(c.Origin=location.origin),a.values&&a.method==createjs.AbstractLoader.POST&&(c["Content-Type"]="application/x-www-form-urlencoded"),b||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest"),a.headers)for(var i in a.headers)c[i]=a.headers[i];for(i in c)d.setRequestHeader(i,c[i]);return d instanceof XMLHttpRequest&&void 0!==a.withCredentials&&(d.withCredentials=a.withCredentials),this._request=d,!0},b._clean=function(){clearTimeout(this._loadTimeout),this._request.removeEventListener("loadstart",this._handleLoadStartProxy),this._request.removeEventListener("progress",this._handleProgressProxy),this._request.removeEventListener("abort",this._handleAbortProxy),this._request.removeEventListener("error",this._handleErrorProxy),this._request.removeEventListener("timeout",this._handleTimeoutProxy),this._request.removeEventListener("load",this._handleLoadProxy),this._request.removeEventListener("readystatechange",this._handleReadyStateChangeProxy)},b.toString=function(){return"[PreloadJS XHRRequest]"},createjs.XHRRequest=createjs.promote(a,"AbstractRequest")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b){this.AbstractMediaLoader_constructor(a,b,createjs.AbstractLoader.SOUND),createjs.RequestUtils.isAudioTag(a)?this._tag=a:createjs.RequestUtils.isAudioTag(a.src)?this._tag=a:createjs.RequestUtils.isAudioTag(a.tag)&&(this._tag=createjs.RequestUtils.isAudioTag(a)?a:a.src),null!=this._tag&&(this._preferXHR=!1)}var b=createjs.extend(a,createjs.AbstractMediaLoader),c=a;c.canLoadItem=function(a){return a.type==createjs.AbstractLoader.SOUND},b._createTag=function(a){var b=document.createElement("audio");return b.autoplay=!1,b.preload="none",b.src=a,b},createjs.SoundLoader=createjs.promote(a,"AbstractMediaLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function a(){throw"Sound cannot be instantiated"}function b(a,b){this.init(a,b)}var c=a;c.INTERRUPT_ANY="any",c.INTERRUPT_EARLY="early",c.INTERRUPT_LATE="late",c.INTERRUPT_NONE="none",c.PLAY_INITED="playInited",c.PLAY_SUCCEEDED="playSucceeded",c.PLAY_INTERRUPTED="playInterrupted",c.PLAY_FINISHED="playFinished",c.PLAY_FAILED="playFailed",c.SUPPORTED_EXTENSIONS=["mp3","ogg","mpeg","wav","m4a","mp4","aiff","wma","mid"],c.EXTENSION_MAP={m4a:"mp4"},c.FILE_PATTERN=/^(?:(\w+:)\/{2}(\w+(?:\.\w+)*\/?))?([/.]*?(?:[^?]+)?\/)?((?:[^/?]+)\.(\w+))(?:\?(\S+)?)?$/,c.defaultInterruptBehavior=c.INTERRUPT_NONE,c.alternateExtensions=[],c.activePlugin=null,c._pluginsRegistered=!1,c._lastID=0,c._masterVolume=1,c._masterMute=!1,c._instances=[],c._idHash={},c._preloadHash={},c.addEventListener=null,c.removeEventListener=null,c.removeAllEventListeners=null,c.dispatchEvent=null,c.hasEventListener=null,c._listeners=null,createjs.EventDispatcher.initialize(c),c.getPreloadHandlers=function(){return{callback:createjs.proxy(c.initLoad,c),types:["sound"],extensions:c.SUPPORTED_EXTENSIONS}},c._handleLoadComplete=function(a){var b=a.target.getItem().src;if(c._preloadHash[b])for(var d=0,e=c._preloadHash[b].length;e>d;d++){var f=c._preloadHash[b][d];if(c._preloadHash[b][d]=!0,c.hasEventListener("fileload")){var a=new createjs.Event("fileload");a.src=f.src,a.id=f.id,a.data=f.data,a.sprite=f.sprite,c.dispatchEvent(a)}}},c._handleLoadError=function(a){var b=a.target.getItem().src;if(c._preloadHash[b])for(var d=0,e=c._preloadHash[b].length;e>d;d++){var f=c._preloadHash[b][d];if(c._preloadHash[b][d]=!1,c.hasEventListener("fileerror")){var a=new createjs.Event("fileerror");a.src=f.src,a.id=f.id,a.data=f.data,a.sprite=f.sprite,c.dispatchEvent(a)}}},c._registerPlugin=function(a){return a.isSupported()?(c.activePlugin=new a,!0):!1},c.registerPlugins=function(a){c._pluginsRegistered=!0;for(var b=0,d=a.length;d>b;b++)if(c._registerPlugin(a[b]))return!0;return!1},c.initializeDefaultPlugins=function(){return null!=c.activePlugin?!0:c._pluginsRegistered?!1:c.registerPlugins([createjs.WebAudioPlugin,createjs.HTMLAudioPlugin])?!0:!1},c.isReady=function(){return null!=c.activePlugin},c.getCapabilities=function(){return null==c.activePlugin?null:c.activePlugin._capabilities},c.getCapability=function(a){return null==c.activePlugin?null:c.activePlugin._capabilities[a]},c.initLoad=function(a){return c._registerSound(a)},c._registerSound=function(a){if(!c.initializeDefaultPlugins())return!1;var d=c._parsePath(a.src);if(null==d)return!1;a.src=d.src,a.type="sound";var e=a.data,f=c.activePlugin.defaultNumChannels||null;if(null!=e&&(isNaN(e.channels)?isNaN(e)||(f=parseInt(e)):f=parseInt(e.channels),e.audioSprite))for(var g,h=e.audioSprite.length;h--;)g=e.audioSprite[h],c._idHash[g.id]={src:a.src,startTime:parseInt(g.startTime),duration:parseInt(g.duration)};null!=a.id&&(c._idHash[a.id]={src:a.src});var i=c.activePlugin.register(a,f);return b.create(a.src,f),null!=e&&isNaN(e)?a.data.channels=f||b.maxPerChannel():a.data=f||b.maxPerChannel(),i.type&&(a.type=i.type),i},c.registerSound=function(a,b,d,e){var f={src:a,id:b,data:d};a instanceof Object&&(e=b,f=a),f=createjs.LoadItem.create(f),null!=e&&(f.src=e+a);var g=c._registerSound(f);if(!g)return!1;if(c._preloadHash[f.src]||(c._preloadHash[f.src]=[]),c._preloadHash[f.src].push(f),1==c._preloadHash[f.src].length)g.on("complete",createjs.proxy(this._handleLoadComplete,this)),g.on("error",createjs.proxy(this._handleLoadError,this)),c.activePlugin.preload(g);else if(1==c._preloadHash[f.src][0])return!0;return f},c.registerSounds=function(a,b){var c=[];a.path&&(b?b+=a.path:b=a.path);for(var d=0,e=a.length;e>d;d++)c[d]=createjs.Sound.registerSound(a[d].src,a[d].id,a[d].data,b);return c},c.registerManifest=function(a,b){try{console.log("createjs.Sound.registerManifest is deprecated, please use createjs.Sound.registerSounds.")}catch(c){}return this.registerSounds(a,b)},c.removeSound=function(a,d){if(null==c.activePlugin)return!1;a instanceof Object&&(a=a.src),a=c._getSrcById(a).src,null!=d&&(a=d+a);var e=c._parsePath(a);if(null==e)return!1;a=e.src;for(var f in c._idHash)c._idHash[f].src==a&&delete c._idHash[f];return b.removeSrc(a),delete c._preloadHash[a],c.activePlugin.removeSound(a),!0},c.removeSounds=function(a,b){var c=[];a.path&&(b?b+=a.path:b=a.path);for(var d=0,e=a.length;e>d;d++)c[d]=createjs.Sound.removeSound(a[d].src,b);return c},c.removeManifest=function(a,b){try{console.log("createjs.Sound.removeManifest is deprecated, please use createjs.Sound.removeSounds.")}catch(d){}return c.removeSounds(a,b)},c.removeAllSounds=function(){c._idHash={},c._preloadHash={},b.removeAll(),c.activePlugin&&c.activePlugin.removeAllSounds()},c.loadComplete=function(a){if(!c.isReady())return!1;var b=c._parsePath(a);return a=b?c._getSrcById(b.src).src:c._getSrcById(a).src,1==c._preloadHash[a][0]},c._parsePath=function(a){"string"!=typeof a&&(a=a.toString());var b=a.match(c.FILE_PATTERN);if(null==b)return!1;for(var d=b[4],e=b[5],f=c.getCapabilities(),g=0;!f[e];)if(e=c.alternateExtensions[g++],g>c.alternateExtensions.length)return null;a=a.replace("."+b[5],"."+e);var h={name:d,src:a,extension:e};return h},c.play=function(a,b,d,e,f,g,h,i,j){b instanceof Object&&(d=b.delay,e=b.offset,f=b.loop,g=b.volume,h=b.pan,i=b.startTime,j=b.duration,b=b.interrupt);var k=c.createInstance(a,i,j),l=c._playInstance(k,b,d,e,f,g,h);return l||k._playFailed(),k},c.createInstance=function(a,d,e){if(!c.initializeDefaultPlugins())return new createjs.DefaultSoundInstance(a,d,e);a=c._getSrcById(a);var f=c._parsePath(a.src),g=null;return null!=f&&null!=f.src?(b.create(f.src),null==d&&(d=a.startTime),g=c.activePlugin.create(f.src,d,e||a.duration)):g=new createjs.DefaultSoundInstance(a,d,e),g.uniqueId=c._lastID++,g},c.setVolume=function(a){if(null==Number(a))return!1;if(a=Math.max(0,Math.min(1,a)),c._masterVolume=a,!this.activePlugin||!this.activePlugin.setVolume||!this.activePlugin.setVolume(a))for(var b=this._instances,d=0,e=b.length;e>d;d++)b[d].setMasterVolume(a)},c.getVolume=function(){return c._masterVolume},c.setMute=function(a){if(null==a)return!1;if(this._masterMute=a,!this.activePlugin||!this.activePlugin.setMute||!this.activePlugin.setMute(a))for(var b=this._instances,c=0,d=b.length;d>c;c++)b[c].setMasterMute(a);return!0},c.getMute=function(){return this._masterMute},c.stop=function(){for(var a=this._instances,b=a.length;b--;)a[b].stop()},c._playInstance=function(a,b,d,e,f,g,h){if(b instanceof Object&&(d=b.delay,e=b.offset,f=b.loop,g=b.volume,h=b.pan,b=b.interrupt),b=b||c.defaultInterruptBehavior,null==d&&(d=0),null==e&&(e=a.getPosition()),null==f&&(f=a.loop),null==g&&(g=a.volume),null==h&&(h=a.pan),0==d){var i=c._beginPlaying(a,b,e,f,g,h);if(!i)return!1}else{var j=setTimeout(function(){c._beginPlaying(a,b,e,f,g,h)},d);a.delayTimeoutId=j}return this._instances.push(a),!0},c._beginPlaying=function(a,c,d,e,f,g){if(!b.add(a,c))return!1;var h=a._beginPlaying(d,e,f,g);if(!h){var i=createjs.indexOf(this._instances,a);return i>-1&&this._instances.splice(i,1),!1}return!0},c._getSrcById=function(a){return c._idHash[a]||{src:a}},c._playFinished=function(a){b.remove(a);var c=createjs.indexOf(this._instances,a);c>-1&&this._instances.splice(c,1)},createjs.Sound=a,b.channels={},b.create=function(a,c){var d=b.get(a);return null==d?(b.channels[a]=new b(a,c),!0):!1},b.removeSrc=function(a){var c=b.get(a);return null==c?!1:(c._removeAll(),delete b.channels[a],!0)},b.removeAll=function(){for(var a in b.channels)b.channels[a]._removeAll();b.channels={}},b.add=function(a,c){var d=b.get(a.src);return null==d?!1:d._add(a,c)},b.remove=function(a){var c=b.get(a.src);return null==c?!1:(c._remove(a),!0)},b.maxPerChannel=function(){return d.maxDefault},b.get=function(a){return b.channels[a]};var d=b.prototype;d.constructor=b,d.src=null,d.max=null,d.maxDefault=100,d.length=0,d.init=function(a,b){this.src=a,this.max=b||this.maxDefault,-1==this.max&&(this.max=this.maxDefault),this._instances=[]},d._get=function(a){return this._instances[a]},d._add=function(a,b){return this._getSlot(b,a)?(this._instances.push(a),this.length++,!0):!1},d._remove=function(a){var b=createjs.indexOf(this._instances,a);return-1==b?!1:(this._instances.splice(b,1),this.length--,!0)},d._removeAll=function(){for(var a=this.length-1;a>=0;a--)this._instances[a].stop()},d._getSlot=function(b){var c,d;if(b!=a.INTERRUPT_NONE&&(d=this._get(0),null==d))return!0;for(var e=0,f=this.max;f>e;e++){if(c=this._get(e),null==c)return!0;if(c.playState==a.PLAY_FINISHED||c.playState==a.PLAY_INTERRUPTED||c.playState==a.PLAY_FAILED){d=c;break}b!=a.INTERRUPT_NONE&&(b==a.INTERRUPT_EARLY&&c.getPosition()d.getPosition())&&(d=c)}return null!=d?(d._interrupt(),this._remove(d),!0):!1},d.toString=function(){return"[Sound SoundChannel]"}}(),this.createjs=this.createjs||{},function(){"use strict";var a=function(a,b,c,d){this.EventDispatcher_constructor(),this.src=a,this.uniqueId=-1,this.playState=null,this.delayTimeoutId=null,this._startTime=Math.max(0,b||0),this._volume=1,createjs.definePropertySupported&&Object.defineProperty(this,"volume",{get:this.getVolume,set:this.setVolume}),this._pan=0,createjs.definePropertySupported&&Object.defineProperty(this,"pan",{get:this.getPan,set:this.setPan}),this._duration=Math.max(0,c||0),createjs.definePropertySupported&&Object.defineProperty(this,"duration",{get:this.getDuration,set:this.setDuration}),this._playbackResource=null,createjs.definePropertySupported&&Object.defineProperty(this,"playbackResource",{get:this.getPlaybackResource,set:this.setPlaybackResource}),d!==!1&&d!==!0&&this.setPlaybackResource(d),this._position=0,createjs.definePropertySupported&&Object.defineProperty(this,"position",{get:this.getPosition,set:this.setPosition}),this._loop=0,createjs.definePropertySupported&&Object.defineProperty(this,"loop",{get:this.getLoop,set:this.setLoop}),this._muted=!1,createjs.definePropertySupported&&Object.defineProperty(this,"muted",{get:this.getMuted,set:this.setMuted}),this._paused=!1,createjs.definePropertySupported&&Object.defineProperty(this,"paused",{get:this.getPaused,set:this.setPaused}) -},b=createjs.extend(a,createjs.EventDispatcher);b.play=function(a,b,c,d,e,f){return this.playState==createjs.Sound.PLAY_SUCCEEDED?(a instanceof Object&&(c=a.offset,d=a.loop,e=a.volume,f=a.pan),null!=c&&this.setPosition(c),null!=d&&this.setLoop(d),null!=e&&this.setVolume(e),null!=f&&this.setPan(f),void(this._paused&&this.setPaused(!1))):(this._cleanUp(),createjs.Sound._playInstance(this,a,b,c,d,e,f),this)},b.pause=function(){return this._paused||this.playState!=createjs.Sound.PLAY_SUCCEEDED?!1:(this.setPaused(!0),!0)},b.resume=function(){return this._paused?(this.setPaused(!1),!0):!1},b.stop=function(){return this._position=0,this._paused=!1,this._handleStop(),this._cleanUp(),this.playState=createjs.Sound.PLAY_FINISHED,this},b.destroy=function(){this._cleanUp(),this.src=null,this.playbackResource=null,this.removeAllEventListeners()},b.toString=function(){return"[AbstractSoundInstance]"},b.getPaused=function(){return this._paused},b.setPaused=function(a){return a!==!0&&a!==!1||this._paused==a||1==a&&this.playState!=createjs.Sound.PLAY_SUCCEEDED?void 0:(this._paused=a,a?this._pause():this._resume(),clearTimeout(this.delayTimeoutId),this)},b.setVolume=function(a){return a==this._volume?this:(this._volume=Math.max(0,Math.min(1,a)),this._muted||this._updateVolume(),this)},b.getVolume=function(){return this._volume},b.setMute=function(a){this.setMuted(a)},b.getMute=function(){return this._muted},b.setMuted=function(a){return a===!0||a===!1?(this._muted=a,this._updateVolume(),this):void 0},b.getMuted=function(){return this._muted},b.setPan=function(a){return a==this._pan?this:(this._pan=Math.max(-1,Math.min(1,a)),this._updatePan(),this)},b.getPan=function(){return this._pan},b.getPosition=function(){return this._paused||this.playState!=createjs.Sound.PLAY_SUCCEEDED?this._position:this._calculateCurrentPosition()},b.setPosition=function(a){return this._position=Math.max(0,a),this.playState==createjs.Sound.PLAY_SUCCEEDED&&this._updatePosition(),this},b.getDuration=function(){return this._duration},b.setDuration=function(a){return a==this._duration?this:(this._duration=Math.max(0,a||0),this._updateDuration(),this)},b.setPlaybackResource=function(a){return this._playbackResource=a,0==this._duration&&this._setDurationFromSource(),this},b.getPlaybackResource=function(){return this._playbackResource},b.getLoop=function(){return this._loop},b.setLoop=function(a){null!=this._playbackResource&&(0!=this._loop&&0==a&&this._removeLooping(a),0==this._loop&&0!=a&&this._addLooping(a)),this._loop=a},b._sendEvent=function(a){var b=new createjs.Event(a);this.dispatchEvent(b)},b._cleanUp=function(){clearTimeout(this.delayTimeoutId),this._handleCleanUp(),this._paused=!1,createjs.Sound._playFinished(this)},b._interrupt=function(){this._cleanUp(),this.playState=createjs.Sound.PLAY_INTERRUPTED,this._sendEvent("interrupted")},b._beginPlaying=function(a,b,c,d){return this.setPosition(a),this.setLoop(b),this.setVolume(c),this.setPan(d),null!=this._playbackResource&&this._positionc;c++){var e=this._soundInstances[b][c];e.setPlaybackResource(this._audioSources[b])}},b._handlePreloadError=function(){},b._updateVolume=function(){},createjs.AbstractPlugin=a}(),this.createjs=this.createjs||{},function(){"use strict";function a(a){this.AbstractLoader_constructor(a,!0,createjs.AbstractLoader.SOUND)}var b=createjs.extend(a,createjs.AbstractLoader);a.context=null,b.toString=function(){return"[WebAudioLoader]"},b._createRequest=function(){this._request=new createjs.XHRRequest(this._item,!1),this._request.setResponseType("arraybuffer")},b._sendComplete=function(){a.context.decodeAudioData(this._rawResult,createjs.proxy(this._handleAudioDecoded,this),createjs.proxy(this._handleError,this))},b._handleAudioDecoded=function(a){this._result=a,this.AbstractLoader__sendComplete()},createjs.WebAudioLoader=createjs.promote(a,"AbstractLoader")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,d,e){this.AbstractSoundInstance_constructor(a,b,d,e),this.gainNode=c.context.createGain(),this.panNode=c.context.createPanner(),this.panNode.panningModel=c._panningModel,this.panNode.connect(this.gainNode),this.sourceNode=null,this._soundCompleteTimeout=null,this._sourceNodeNext=null,this._playbackStartTime=0,this._endedHandler=createjs.proxy(this._handleSoundComplete,this)}var b=createjs.extend(a,createjs.AbstractSoundInstance),c=a;c.context=null,c.destinationNode=null,c._panningModel="equalpower",b.destroy=function(){this.AbstractSoundInstance_destroy(),this.panNode.disconnect(0),this.panNode=null,this.gainNode.disconnect(0),this.gainNode=null},b.toString=function(){return"[WebAudioSoundInstance]"},b._updatePan=function(){this.panNode.setPosition(this._pan,0,-.5)},b._removeLooping=function(){this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext)},b._addLooping=function(){this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._sourceNodeNext=this._createAndPlayAudioNode(this._playbackStartTime,0))},b._setDurationFromSource=function(){this._duration=1e3*this.playbackResource.duration},b._handleCleanUp=function(){this.sourceNode&&this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this.sourceNode=this._cleanUpAudioNode(this.sourceNode),this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext)),0!=this.gainNode.numberOfOutputs&&this.gainNode.disconnect(0),clearTimeout(this._soundCompleteTimeout),this._playbackStartTime=0},b._cleanUpAudioNode=function(a){return a&&(a.stop(0),a.disconnect(0),a=null),a},b._handleSoundReady=function(){this.gainNode.connect(c.destinationNode);var a=.001*this._duration,b=.001*this._position;this.sourceNode=this._createAndPlayAudioNode(c.context.currentTime-a,b),this._playbackStartTime=this.sourceNode.startTime-b,this._soundCompleteTimeout=setTimeout(this._endedHandler,1e3*(a-b)),0!=this._loop&&(this._sourceNodeNext=this._createAndPlayAudioNode(this._playbackStartTime,0))},b._createAndPlayAudioNode=function(a,b){var d=c.context.createBufferSource();d.buffer=this.playbackResource,d.connect(this.panNode);var e=.001*this._duration;return d.startTime=a+e,d.start(d.startTime,b+.001*this._startTime,e-b),d},b._pause=function(){this._position=1e3*(c.context.currentTime-this._playbackStartTime),this.sourceNode=this._cleanUpAudioNode(this.sourceNode),this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext),0!=this.gainNode.numberOfOutputs&&this.gainNode.disconnect(0),clearTimeout(this._soundCompleteTimeout)},b._resume=function(){this._handleSoundReady()},b._updateVolume=function(){var a=this._muted?0:this._volume;a!=this.gainNode.gain.value&&(this.gainNode.gain.value=a)},b._calculateCurrentPosition=function(){return 1e3*(c.context.currentTime-this._playbackStartTime)},b._updatePosition=function(){this.sourceNode=this._cleanUpAudioNode(this.sourceNode),this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext),clearTimeout(this._soundCompleteTimeout),this._paused||this._handleSoundReady()},b._handleLoop=function(){this._cleanUpAudioNode(this.sourceNode),this.sourceNode=this._sourceNodeNext,this._playbackStartTime=this.sourceNode.startTime,this._sourceNodeNext=this._createAndPlayAudioNode(this._playbackStartTime,0),this._soundCompleteTimeout=setTimeout(this._endedHandler,this._duration)},b._updateDuration=function(){this._pause(),this._resume()},createjs.WebAudioSoundInstance=createjs.promote(a,"AbstractSoundInstance")}(),this.createjs=this.createjs||{},function(){"use strict";function a(){this.AbstractPlugin_constructor(),this._panningModel=c._panningModel,this._volume=1,this.context=c.context,this.dynamicsCompressorNode=this.context.createDynamicsCompressor(),this.dynamicsCompressorNode.connect(this.context.destination),this.gainNode=this.context.createGain(),this.gainNode.connect(this.dynamicsCompressorNode),createjs.WebAudioSoundInstance.destinationNode=this.gainNode,this._capabilities=c._capabilities,this._loaderClass=createjs.WebAudioLoader,this._soundInstanceClass=createjs.WebAudioSoundInstance,this._addPropsToClasses()}var b=createjs.extend(a,createjs.AbstractPlugin),c=a;c._capabilities=null,c._panningModel="equalpower",c.context=null,c.isSupported=function(){var a=createjs.BrowserDetect.isIOS||createjs.BrowserDetect.isAndroid||createjs.BrowserDetect.isBlackberry;return"file:"!=location.protocol||a||this._isFileXHRSupported()?(c._generateCapabilities(),null==c.context?!1:!0):!1},c.playEmptySound=function(){var a=c.context.createBufferSource();a.buffer=c.context.createBuffer(1,1,22050),a.connect(c.context.destination),a.start(0,0,0)},c._isFileXHRSupported=function(){var a=!0,b=new XMLHttpRequest;try{b.open("GET","WebAudioPluginTest.fail",!1)}catch(c){return a=!1}b.onerror=function(){a=!1},b.onload=function(){a=404==this.status||200==this.status||0==this.status&&""!=this.response};try{b.send()}catch(c){a=!1}return a},c._generateCapabilities=function(){if(null==c._capabilities){var a=document.createElement("audio");if(null==a.canPlayType)return null;if(null==c.context)if(window.AudioContext)c.context=new AudioContext;else{if(!window.webkitAudioContext)return null;c.context=new webkitAudioContext}c._compatibilitySetUp(),c.playEmptySound(),c._capabilities={panning:!0,volume:!0,tracks:-1};for(var b=createjs.Sound.SUPPORTED_EXTENSIONS,d=createjs.Sound.EXTENSION_MAP,e=0,f=b.length;f>e;e++){var g=b[e],h=d[g]||g;c._capabilities[g]="no"!=a.canPlayType("audio/"+g)&&""!=a.canPlayType("audio/"+g)||"no"!=a.canPlayType("audio/"+h)&&""!=a.canPlayType("audio/"+h)}c.context.destination.numberOfChannels<2&&(c._capabilities.panning=!1)}},c._compatibilitySetUp=function(){if(c._panningModel="equalpower",!c.context.createGain){c.context.createGain=c.context.createGainNode;var a=c.context.createBufferSource();a.__proto__.start=a.__proto__.noteGrainOn,a.__proto__.stop=a.__proto__.noteOff,c._panningModel=0}},b.toString=function(){return"[WebAudioPlugin]"},b._addPropsToClasses=function(){var a=this._soundInstanceClass;a.context=this.context,a.destinationNode=this.gainNode,a._panningModel=this._panningModel,this._loaderClass.context=this.context},b._updateVolume=function(){var a=createjs.Sound._masterMute?0:this._volume;a!=this.gainNode.gain.value&&(this.gainNode.gain.value=a)},createjs.WebAudioPlugin=createjs.promote(a,"AbstractPlugin")}(),this.createjs=this.createjs||{},function(){"use strict";function a(a){this.src=a,this.length=0,this.available=0,this.tags=[],this.duration=0}var b=a.prototype;b.constructor=a;var c=a;c.tags={},c.get=function(b){var d=c.tags[b];return null==d&&(d=c.tags[b]=new a(b)),d},c.remove=function(a){var b=c.tags[a];return null==b?!1:(b.removeAll(),delete c.tags[a],!0)},c.getInstance=function(a){var b=c.tags[a];return null==b?null:b.get()},c.setInstance=function(a,b){var d=c.tags[a];return null==d?null:d.set(b)},c.getDuration=function(a){var b=c.tags[a];return null==b?0:b.getDuration()},b.add=function(a){this.tags.push(a),this.length++,this.available++},b.removeAll=function(){for(var a;this.length--;)a=this.tags[this.length],a.parentNode&&a.parentNode.removeChild(a),delete this.tags[this.length];this.src=null,this.tags.length=0},b.get=function(){if(0==this.tags.length)return null;this.available=this.tags.length;var a=this.tags.pop();return null==a.parentNode&&document.body.appendChild(a),a},b.set=function(a){var b=createjs.indexOf(this.tags,a);-1==b&&this.tags.push(a),this.available=this.tags.length},b.getDuration=function(){return this.duration||(this.duration=1e3*this.tags[this.tags.length-1].duration),this.duration},b.toString=function(){return"[HTMLAudioTagPool]"},createjs.HTMLAudioTagPool=a}(),this.createjs=this.createjs||{},function(){"use strict";function a(a,b,c,d){this.AbstractSoundInstance_constructor(a,b,c,d),this._audioSpriteStopTime=null,this._delayTimeoutId=null,this._endedHandler=createjs.proxy(this._handleSoundComplete,this),this._readyHandler=createjs.proxy(this._handleTagReady,this),this._stalledHandler=createjs.proxy(this.playFailed,this),this._audioSpriteEndHandler=createjs.proxy(this._handleAudioSpriteLoop,this),this._loopHandler=createjs.proxy(this._handleSoundComplete,this),c?this._audioSpriteStopTime=.001*(b+c):this._duration=createjs.HTMLAudioTagPool.getDuration(this.src)}var b=createjs.extend(a,createjs.AbstractSoundInstance);b.setMasterVolume=function(){this._updateVolume()},b.setMasterMute=function(){this._updateVolume()},b.toString=function(){return"[HTMLAudioSoundInstance]"},b._removeLooping=function(){null!=this._playbackResource&&(this._playbackResource.loop=!1,this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1))},b._addLooping=function(){null==this._playbackResource||this._audioSpriteStopTime||(this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),this._playbackResource.loop=!0)},b._handleCleanUp=function(){var a=this._playbackResource;if(null!=a){a.pause(),a.loop=!1,a.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),a.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_READY,this._readyHandler,!1),a.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_STALLED,this._stalledHandler,!1),a.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),a.removeEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1);try{a.currentTime=this._startTime}catch(b){}createjs.HTMLAudioTagPool.setInstance(this.src,a),this._playbackResource=null}},b._beginPlaying=function(a,b,c,d){return this._playbackResource=createjs.HTMLAudioTagPool.getInstance(this.src),this.AbstractSoundInstance__beginPlaying(a,b,c,d)},b._handleSoundReady=function(){if(4!==this._playbackResource.readyState){var a=this._playbackResource;return a.addEventListener(createjs.HTMLAudioPlugin._AUDIO_READY,this._readyHandler,!1),a.addEventListener(createjs.HTMLAudioPlugin._AUDIO_STALLED,this._stalledHandler,!1),a.preload="auto",void a.load()}this._updateVolume(),this._playbackResource.currentTime=.001*(this._startTime+this._position),this._audioSpriteStopTime?this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1):(this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),0!=this._loop&&(this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),this._playbackResource.loop=!0)),this._playbackResource.play()},b._handleTagReady=function(){this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_READY,this._readyHandler,!1),this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_STALLED,this._stalledHandler,!1),this._handleSoundReady()},b._pause=function(){this._playbackResource.pause()},b._resume=function(){this._playbackResource.play()},b._updateVolume=function(){if(null!=this._playbackResource){var a=this._muted||createjs.Sound._masterMute?0:this._volume*createjs.Sound._masterVolume;a!=this._playbackResource.volume&&(this._playbackResource.volume=a)}},b._calculateCurrentPosition=function(){return 1e3*this._playbackResource.currentTime-this._startTime},b._updatePosition=function(){this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._handleSetPositionSeek,!1);try{this._playbackResource.currentTime=.001*(this._position+this._startTime)}catch(a){this._handleSetPositionSeek(null)}},b._handleSetPositionSeek=function(){null!=this._playbackResource&&(this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._handleSetPositionSeek,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1))},b._handleAudioSpriteLoop=function(){this._playbackResource.currentTime<=this._audioSpriteStopTime||(this._playbackResource.pause(),0==this._loop?this._handleSoundComplete(null):(this._position=0,this._loop--,this._playbackResource.currentTime=.001*this._startTime,this._paused||this._playbackResource.play(),this._sendEvent("loop")))},b._handleLoop=function(){0==this._loop&&(this._playbackResource.loop=!1,this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1))},b._updateDuration=function(){this._audioSpriteStopTime=.001*(startTime+duration),this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1))},createjs.HTMLAudioSoundInstance=createjs.promote(a,"AbstractSoundInstance")}(),this.createjs=this.createjs||{},function(){"use strict";function a(){this.AbstractPlugin_constructor(),this.defaultNumChannels=2,this._capabilities=c._capabilities,this._loaderClass=createjs.SoundLoader,this._soundInstanceClass=createjs.HTMLAudioSoundInstance}var b=createjs.extend(a,createjs.AbstractPlugin),c=a;c.MAX_INSTANCES=30,c._AUDIO_READY="canplaythrough",c._AUDIO_ENDED="ended",c._AUDIO_SEEKED="seeked",c._AUDIO_STALLED="stalled",c._TIME_UPDATE="timeupdate",c._capabilities=null,c.enableIOS=!1,c.isSupported=function(){return c._generateCapabilities(),null==c._capabilities?!1:!0},c._generateCapabilities=function(){if(null==c._capabilities){var a=document.createElement("audio");if(null==a.canPlayType)return null;c._capabilities={panning:!0,volume:!0,tracks:-1};for(var b=createjs.Sound.SUPPORTED_EXTENSIONS,d=createjs.Sound.EXTENSION_MAP,e=0,f=b.length;f>e;e++){var g=b[e],h=d[g]||g;c._capabilities[g]="no"!=a.canPlayType("audio/"+g)&&""!=a.canPlayType("audio/"+g)||"no"!=a.canPlayType("audio/"+h)&&""!=a.canPlayType("audio/"+h)}}},b.register=function(a,b){for(var c=createjs.HTMLAudioTagPool.get(a.src),d=null,e=0;b>e;e++)d=this._createTag(a.src),c.add(d);var f=this.AbstractPlugin_register(a,b);return f.setTag(d),f},b.removeSound=function(a){this.AbstractPlugin_removeSound(a),createjs.HTMLAudioTagPool.remove(a)},b.create=function(a,b,c){var d=this.AbstractPlugin_create(a,b,c);return d.setPlaybackResource(null),d},b.toString=function(){return"[HTMLAudioPlugin]"},b.setVolume=b.getVolume=b.setMute=null,b._createTag=function(a){var b=document.createElement("audio");return b.autoplay=!1,b.preload="none",b.src=a,b},createjs.HTMLAudioPlugin=createjs.promote(a,"AbstractPlugin")}(); \ No newline at end of file diff --git a/examples/ebook/bin/html5/bin/lib/webgl-debug.js b/examples/ebook/bin/html5/bin/lib/webgl-debug.js deleted file mode 100644 index 89f3a1f..0000000 --- a/examples/ebook/bin/html5/bin/lib/webgl-debug.js +++ /dev/null @@ -1,798 +0,0 @@ -//Copyright (c) 2009 The Chromium Authors. All rights reserved. -//Use of this source code is governed by a BSD-style license that can be -//found in the LICENSE file. - -// Various functions for helping debug WebGL apps. - -WebGLDebugUtils = function() { - -/** - * Wrapped logging function. - * @param {string} msg Message to log. - */ -var log = function(msg) { - if (window.console && window.console.log) { - window.console.log(msg); - } -}; - -/** - * Which arguements are enums. - * @type {!Object.} - */ -var glValidEnumContexts = { - - // Generic setters and getters - - 'enable': { 0:true }, - 'disable': { 0:true }, - 'getParameter': { 0:true }, - - // Rendering - - 'drawArrays': { 0:true }, - 'drawElements': { 0:true, 2:true }, - - // Shaders - - 'createShader': { 0:true }, - 'getShaderParameter': { 1:true }, - 'getProgramParameter': { 1:true }, - - // Vertex attributes - - 'getVertexAttrib': { 1:true }, - 'vertexAttribPointer': { 2:true }, - - // Textures - - 'bindTexture': { 0:true }, - 'activeTexture': { 0:true }, - 'getTexParameter': { 0:true, 1:true }, - 'texParameterf': { 0:true, 1:true }, - 'texParameteri': { 0:true, 1:true, 2:true }, - 'texImage2D': { 0:true, 2:true, 6:true, 7:true }, - 'texSubImage2D': { 0:true, 6:true, 7:true }, - 'copyTexImage2D': { 0:true, 2:true }, - 'copyTexSubImage2D': { 0:true }, - 'generateMipmap': { 0:true }, - - // Buffer objects - - 'bindBuffer': { 0:true }, - 'bufferData': { 0:true, 2:true }, - 'bufferSubData': { 0:true }, - 'getBufferParameter': { 0:true, 1:true }, - - // Renderbuffers and framebuffers - - 'pixelStorei': { 0:true, 1:true }, - 'readPixels': { 4:true, 5:true }, - 'bindRenderbuffer': { 0:true }, - 'bindFramebuffer': { 0:true }, - 'checkFramebufferStatus': { 0:true }, - 'framebufferRenderbuffer': { 0:true, 1:true, 2:true }, - 'framebufferTexture2D': { 0:true, 1:true, 2:true }, - 'getFramebufferAttachmentParameter': { 0:true, 1:true, 2:true }, - 'getRenderbufferParameter': { 0:true, 1:true }, - 'renderbufferStorage': { 0:true, 1:true }, - - // Frame buffer operations (clear, blend, depth test, stencil) - - 'clear': { 0:true }, - 'depthFunc': { 0:true }, - 'blendFunc': { 0:true, 1:true }, - 'blendFuncSeparate': { 0:true, 1:true, 2:true, 3:true }, - 'blendEquation': { 0:true }, - 'blendEquationSeparate': { 0:true, 1:true }, - 'stencilFunc': { 0:true }, - 'stencilFuncSeparate': { 0:true, 1:true }, - 'stencilMaskSeparate': { 0:true }, - 'stencilOp': { 0:true, 1:true, 2:true }, - 'stencilOpSeparate': { 0:true, 1:true, 2:true, 3:true }, - - // Culling - - 'cullFace': { 0:true }, - 'frontFace': { 0:true }, -}; - -/** - * Map of numbers to names. - * @type {Object} - */ -var glEnums = null; - -/** - * Initializes this module. Safe to call more than once. - * @param {!WebGLRenderingContext} ctx A WebGL context. If - * you have more than one context it doesn't matter which one - * you pass in, it is only used to pull out constants. - */ -function init(ctx) { - if (glEnums == null) { - glEnums = { }; - for (var propertyName in ctx) { - if (typeof ctx[propertyName] == 'number') { - glEnums[ctx[propertyName]] = propertyName; - } - } - } -} - -/** - * Checks the utils have been initialized. - */ -function checkInit() { - if (glEnums == null) { - throw 'WebGLDebugUtils.init(ctx) not called'; - } -} - -/** - * Returns true or false if value matches any WebGL enum - * @param {*} value Value to check if it might be an enum. - * @return {boolean} True if value matches one of the WebGL defined enums - */ -function mightBeEnum(value) { - checkInit(); - return (glEnums[value] !== undefined); -} - -/** - * Gets an string version of an WebGL enum. - * - * Example: - * var str = WebGLDebugUtil.glEnumToString(ctx.getError()); - * - * @param {number} value Value to return an enum for - * @return {string} The string version of the enum. - */ -function glEnumToString(value) { - checkInit(); - var name = glEnums[value]; - return (name !== undefined) ? name : - ("*UNKNOWN WebGL ENUM (0x" + value.toString(16) + ")"); -} - -/** - * Returns the string version of a WebGL argument. - * Attempts to convert enum arguments to strings. - * @param {string} functionName the name of the WebGL function. - * @param {number} argumentIndx the index of the argument. - * @param {*} value The value of the argument. - * @return {string} The value as a string. - */ -function glFunctionArgToString(functionName, argumentIndex, value) { - var funcInfo = glValidEnumContexts[functionName]; - if (funcInfo !== undefined) { - if (funcInfo[argumentIndex]) { - return glEnumToString(value); - } - } - return value.toString(); -} - -function makePropertyWrapper(wrapper, original, propertyName) { - //log("wrap prop: " + propertyName); - wrapper.__defineGetter__(propertyName, function() { - return original[propertyName]; - }); - // TODO(gmane): this needs to handle properties that take more than - // one value? - wrapper.__defineSetter__(propertyName, function(value) { - //log("set: " + propertyName); - original[propertyName] = value; - }); -} - -// Makes a function that calls a function on another object. -function makeFunctionWrapper(original, functionName) { - //log("wrap fn: " + functionName); - var f = original[functionName]; - return function() { - //log("call: " + functionName); - var result = f.apply(original, arguments); - return result; - }; -} - -/** - * Given a WebGL context returns a wrapped context that calls - * gl.getError after every command and calls a function if the - * result is not gl.NO_ERROR. - * - * @param {!WebGLRenderingContext} ctx The webgl context to - * wrap. - * @param {!function(err, funcName, args): void} opt_onErrorFunc - * The function to call when gl.getError returns an - * error. If not specified the default function calls - * console.log with a message. - */ -function makeDebugContext(ctx, opt_onErrorFunc) { - init(ctx); - opt_onErrorFunc = opt_onErrorFunc || function(err, functionName, args) { - // apparently we can't do args.join(","); - var argStr = ""; - for (var ii = 0; ii < args.length; ++ii) { - argStr += ((ii == 0) ? '' : ', ') + - glFunctionArgToString(functionName, ii, args[ii]); - } - log("WebGL error "+ glEnumToString(err) + " in "+ functionName + - "(" + argStr + ")"); - }; - - // Holds booleans for each GL error so after we get the error ourselves - // we can still return it to the client app. - var glErrorShadow = { }; - - // Makes a function that calls a WebGL function and then calls getError. - function makeErrorWrapper(ctx, functionName) { - return function() { - var result = ctx[functionName].apply(ctx, arguments); - var err = ctx.getError(); - if (err != 0) { - glErrorShadow[err] = true; - opt_onErrorFunc(err, functionName, arguments); - } - return result; - }; - } - - // Make a an object that has a copy of every property of the WebGL context - // but wraps all functions. - var wrapper = {}; - for (var propertyName in ctx) { - if (typeof ctx[propertyName] == 'function') { - wrapper[propertyName] = makeErrorWrapper(ctx, propertyName); - } else { - makePropertyWrapper(wrapper, ctx, propertyName); - } - } - - // Override the getError function with one that returns our saved results. - wrapper.getError = function() { - for (var err in glErrorShadow) { - if (glErrorShadow[err]) { - glErrorShadow[err] = false; - return err; - } - } - return ctx.NO_ERROR; - }; - - return wrapper; -} - -function resetToInitialState(ctx) { - var numAttribs = ctx.getParameter(ctx.MAX_VERTEX_ATTRIBS); - var tmp = ctx.createBuffer(); - ctx.bindBuffer(ctx.ARRAY_BUFFER, tmp); - for (var ii = 0; ii < numAttribs; ++ii) { - ctx.disableVertexAttribArray(ii); - ctx.vertexAttribPointer(ii, 4, ctx.FLOAT, false, 0, 0); - ctx.vertexAttrib1f(ii, 0); - } - ctx.deleteBuffer(tmp); - - var numTextureUnits = ctx.getParameter(ctx.MAX_TEXTURE_IMAGE_UNITS); - for (var ii = 0; ii < numTextureUnits; ++ii) { - ctx.activeTexture(ctx.TEXTURE0 + ii); - ctx.bindTexture(ctx.TEXTURE_CUBE_MAP, null); - ctx.bindTexture(ctx.TEXTURE_2D, null); - } - - ctx.activeTexture(ctx.TEXTURE0); - ctx.useProgram(null); - ctx.bindBuffer(ctx.ARRAY_BUFFER, null); - ctx.bindBuffer(ctx.ELEMENT_ARRAY_BUFFER, null); - ctx.bindFramebuffer(ctx.FRAMEBUFFER, null); - ctx.bindRenderbuffer(ctx.RENDERBUFFER, null); - ctx.disable(ctx.BLEND); - ctx.disable(ctx.CULL_FACE); - ctx.disable(ctx.DEPTH_TEST); - ctx.disable(ctx.DITHER); - ctx.disable(ctx.SCISSOR_TEST); - ctx.blendColor(0, 0, 0, 0); - ctx.blendEquation(ctx.FUNC_ADD); - ctx.blendFunc(ctx.ONE, ctx.ZERO); - ctx.clearColor(0, 0, 0, 0); - ctx.clearDepth(1); - ctx.clearStencil(-1); - ctx.colorMask(true, true, true, true); - ctx.cullFace(ctx.BACK); - ctx.depthFunc(ctx.LESS); - ctx.depthMask(true); - ctx.depthRange(0, 1); - ctx.frontFace(ctx.CCW); - ctx.hint(ctx.GENERATE_MIPMAP_HINT, ctx.DONT_CARE); - ctx.lineWidth(1); - ctx.pixelStorei(ctx.PACK_ALIGNMENT, 4); - ctx.pixelStorei(ctx.UNPACK_ALIGNMENT, 4); - ctx.pixelStorei(ctx.UNPACK_FLIP_Y_WEBGL, false); - ctx.pixelStorei(ctx.UNPACK_PREMULTIPLY_ALPHA_WEBGL, false); - // TODO: Delete this IF. - if (ctx.UNPACK_COLORSPACE_CONVERSION_WEBGL) { - ctx.pixelStorei(ctx.UNPACK_COLORSPACE_CONVERSION_WEBGL, ctx.BROWSER_DEFAULT_WEBGL); - } - ctx.polygonOffset(0, 0); - ctx.sampleCoverage(1, false); - ctx.scissor(0, 0, ctx.canvas.width, ctx.canvas.height); - ctx.stencilFunc(ctx.ALWAYS, 0, 0xFFFFFFFF); - ctx.stencilMask(0xFFFFFFFF); - ctx.stencilOp(ctx.KEEP, ctx.KEEP, ctx.KEEP); - ctx.viewport(0, 0, ctx.canvas.width, ctx.canvas.height); - ctx.clear(ctx.COLOR_BUFFER_BIT | ctx.DEPTH_BUFFER_BIT | ctx.STENCIL_BUFFER_BIT); - - // TODO: This should NOT be needed but Firefox fails with 'hint' - while(ctx.getError()); -} - -function makeLostContextSimulatingCanvas(canvas) { - var unwrappedContext_; - var wrappedContext_; - var onLost_ = []; - var onRestored_ = []; - var wrappedContext_ = {}; - var contextId_ = 1; - var contextLost_ = false; - var resourceId_ = 0; - var resourceDb_ = []; - var numCallsToLoseContext_ = 0; - var numCalls_ = 0; - var canRestore_ = false; - var restoreTimeout_ = 0; - - // Holds booleans for each GL error so can simulate errors. - var glErrorShadow_ = { }; - - canvas.getContext = function(f) { - return function() { - var ctx = f.apply(canvas, arguments); - // Did we get a context and is it a WebGL context? - if (ctx instanceof WebGLRenderingContext) { - if (ctx != unwrappedContext_) { - if (unwrappedContext_) { - throw "got different context" - } - unwrappedContext_ = ctx; - wrappedContext_ = makeLostContextSimulatingContext(unwrappedContext_); - } - return wrappedContext_; - } - return ctx; - } - }(canvas.getContext); - - function wrapEvent(listener) { - if (typeof(listener) == "function") { - return listener; - } else { - return function(info) { - listener.handleEvent(info); - } - } - } - - var addOnContextLostListener = function(listener) { - onLost_.push(wrapEvent(listener)); - }; - - var addOnContextRestoredListener = function(listener) { - onRestored_.push(wrapEvent(listener)); - }; - - - function wrapAddEventListener(canvas) { - var f = canvas.addEventListener; - canvas.addEventListener = function(type, listener, bubble) { - switch (type) { - case 'webglcontextlost': - addOnContextLostListener(listener); - break; - case 'webglcontextrestored': - addOnContextRestoredListener(listener); - break; - default: - f.apply(canvas, arguments); - } - }; - } - - wrapAddEventListener(canvas); - - canvas.loseContext = function() { - if (!contextLost_) { - contextLost_ = true; - numCallsToLoseContext_ = 0; - ++contextId_; - while (unwrappedContext_.getError()); - clearErrors(); - glErrorShadow_[unwrappedContext_.CONTEXT_LOST_WEBGL] = true; - var event = makeWebGLContextEvent("context lost"); - var callbacks = onLost_.slice(); - setTimeout(function() { - //log("numCallbacks:" + callbacks.length); - for (var ii = 0; ii < callbacks.length; ++ii) { - //log("calling callback:" + ii); - callbacks[ii](event); - } - if (restoreTimeout_ >= 0) { - setTimeout(function() { - canvas.restoreContext(); - }, restoreTimeout_); - } - }, 0); - } - }; - - canvas.restoreContext = function() { - if (contextLost_) { - if (onRestored_.length) { - setTimeout(function() { - if (!canRestore_) { - throw "can not restore. webglcontestlost listener did not call event.preventDefault"; - } - freeResources(); - resetToInitialState(unwrappedContext_); - contextLost_ = false; - numCalls_ = 0; - canRestore_ = false; - var callbacks = onRestored_.slice(); - var event = makeWebGLContextEvent("context restored"); - for (var ii = 0; ii < callbacks.length; ++ii) { - callbacks[ii](event); - } - }, 0); - } - } - }; - - canvas.loseContextInNCalls = function(numCalls) { - if (contextLost_) { - throw "You can not ask a lost contet to be lost"; - } - numCallsToLoseContext_ = numCalls_ + numCalls; - }; - - canvas.getNumCalls = function() { - return numCalls_; - }; - - canvas.setRestoreTimeout = function(timeout) { - restoreTimeout_ = timeout; - }; - - function isWebGLObject(obj) { - //return false; - return (obj instanceof WebGLBuffer || - obj instanceof WebGLFramebuffer || - obj instanceof WebGLProgram || - obj instanceof WebGLRenderbuffer || - obj instanceof WebGLShader || - obj instanceof WebGLTexture); - } - - function checkResources(args) { - for (var ii = 0; ii < args.length; ++ii) { - var arg = args[ii]; - if (isWebGLObject(arg)) { - return arg.__webglDebugContextLostId__ == contextId_; - } - } - return true; - } - - function clearErrors() { - var k = Object.keys(glErrorShadow_); - for (var ii = 0; ii < k.length; ++ii) { - delete glErrorShadow_[k]; - } - } - - function loseContextIfTime() { - ++numCalls_; - if (!contextLost_) { - if (numCallsToLoseContext_ == numCalls_) { - canvas.loseContext(); - } - } - } - - // Makes a function that simulates WebGL when out of context. - function makeLostContextFunctionWrapper(ctx, functionName) { - var f = ctx[functionName]; - return function() { - // log("calling:" + functionName); - // Only call the functions if the context is not lost. - loseContextIfTime(); - if (!contextLost_) { - //if (!checkResources(arguments)) { - // glErrorShadow_[wrappedContext_.INVALID_OPERATION] = true; - // return; - //} - var result = f.apply(ctx, arguments); - return result; - } - }; - } - - function freeResources() { - for (var ii = 0; ii < resourceDb_.length; ++ii) { - var resource = resourceDb_[ii]; - if (resource instanceof WebGLBuffer) { - unwrappedContext_.deleteBuffer(resource); - } else if (resource instanceof WebGLFramebuffer) { - unwrappedContext_.deleteFramebuffer(resource); - } else if (resource instanceof WebGLProgram) { - unwrappedContext_.deleteProgram(resource); - } else if (resource instanceof WebGLRenderbuffer) { - unwrappedContext_.deleteRenderbuffer(resource); - } else if (resource instanceof WebGLShader) { - unwrappedContext_.deleteShader(resource); - } else if (resource instanceof WebGLTexture) { - unwrappedContext_.deleteTexture(resource); - } - } - } - - function makeWebGLContextEvent(statusMessage) { - return { - statusMessage: statusMessage, - preventDefault: function() { - canRestore_ = true; - } - }; - } - - return canvas; - - function makeLostContextSimulatingContext(ctx) { - // copy all functions and properties to wrapper - for (var propertyName in ctx) { - if (typeof ctx[propertyName] == 'function') { - wrappedContext_[propertyName] = makeLostContextFunctionWrapper( - ctx, propertyName); - } else { - makePropertyWrapper(wrappedContext_, ctx, propertyName); - } - } - - // Wrap a few functions specially. - wrappedContext_.getError = function() { - loseContextIfTime(); - if (!contextLost_) { - var err; - while (err = unwrappedContext_.getError()) { - glErrorShadow_[err] = true; - } - } - for (var err in glErrorShadow_) { - if (glErrorShadow_[err]) { - delete glErrorShadow_[err]; - return err; - } - } - return wrappedContext_.NO_ERROR; - }; - - var creationFunctions = [ - "createBuffer", - "createFramebuffer", - "createProgram", - "createRenderbuffer", - "createShader", - "createTexture" - ]; - for (var ii = 0; ii < creationFunctions.length; ++ii) { - var functionName = creationFunctions[ii]; - wrappedContext_[functionName] = function(f) { - return function() { - loseContextIfTime(); - if (contextLost_) { - return null; - } - var obj = f.apply(ctx, arguments); - obj.__webglDebugContextLostId__ = contextId_; - resourceDb_.push(obj); - return obj; - }; - }(ctx[functionName]); - } - - var functionsThatShouldReturnNull = [ - "getActiveAttrib", - "getActiveUniform", - "getBufferParameter", - "getContextAttributes", - "getAttachedShaders", - "getFramebufferAttachmentParameter", - "getParameter", - "getProgramParameter", - "getProgramInfoLog", - "getRenderbufferParameter", - "getShaderParameter", - "getShaderInfoLog", - "getShaderSource", - "getTexParameter", - "getUniform", - "getUniformLocation", - "getVertexAttrib" - ]; - for (var ii = 0; ii < functionsThatShouldReturnNull.length; ++ii) { - var functionName = functionsThatShouldReturnNull[ii]; - wrappedContext_[functionName] = function(f) { - return function() { - loseContextIfTime(); - if (contextLost_) { - return null; - } - return f.apply(ctx, arguments); - } - }(wrappedContext_[functionName]); - } - - var isFunctions = [ - "isBuffer", - "isEnabled", - "isFramebuffer", - "isProgram", - "isRenderbuffer", - "isShader", - "isTexture" - ]; - for (var ii = 0; ii < isFunctions.length; ++ii) { - var functionName = isFunctions[ii]; - wrappedContext_[functionName] = function(f) { - return function() { - loseContextIfTime(); - if (contextLost_) { - return false; - } - return f.apply(ctx, arguments); - } - }(wrappedContext_[functionName]); - } - - wrappedContext_.checkFramebufferStatus = function(f) { - return function() { - loseContextIfTime(); - if (contextLost_) { - return wrappedContext_.FRAMEBUFFER_UNSUPPORTED; - } - return f.apply(ctx, arguments); - }; - }(wrappedContext_.checkFramebufferStatus); - - wrappedContext_.getAttribLocation = function(f) { - return function() { - loseContextIfTime(); - if (contextLost_) { - return -1; - } - return f.apply(ctx, arguments); - }; - }(wrappedContext_.getAttribLocation); - - wrappedContext_.getVertexAttribOffset = function(f) { - return function() { - loseContextIfTime(); - if (contextLost_) { - return 0; - } - return f.apply(ctx, arguments); - }; - }(wrappedContext_.getVertexAttribOffset); - - wrappedContext_.isContextLost = function() { - return contextLost_; - }; - - return wrappedContext_; - } -} - -return { - /** - * Initializes this module. Safe to call more than once. - * @param {!WebGLRenderingContext} ctx A WebGL context. If - } - * you have more than one context it doesn't matter which one - * you pass in, it is only used to pull out constants. - */ - 'init': init, - - /** - * Returns true or false if value matches any WebGL enum - * @param {*} value Value to check if it might be an enum. - * @return {boolean} True if value matches one of the WebGL defined enums - */ - 'mightBeEnum': mightBeEnum, - - /** - * Gets an string version of an WebGL enum. - * - * Example: - * WebGLDebugUtil.init(ctx); - * var str = WebGLDebugUtil.glEnumToString(ctx.getError()); - * - * @param {number} value Value to return an enum for - * @return {string} The string version of the enum. - */ - 'glEnumToString': glEnumToString, - - /** - * Converts the argument of a WebGL function to a string. - * Attempts to convert enum arguments to strings. - * - * Example: - * WebGLDebugUtil.init(ctx); - * var str = WebGLDebugUtil.glFunctionArgToString('bindTexture', 0, gl.TEXTURE_2D); - * - * would return 'TEXTURE_2D' - * - * @param {string} functionName the name of the WebGL function. - * @param {number} argumentIndx the index of the argument. - * @param {*} value The value of the argument. - * @return {string} The value as a string. - */ - 'glFunctionArgToString': glFunctionArgToString, - - /** - * Given a WebGL context returns a wrapped context that calls - * gl.getError after every command and calls a function if the - * result is not NO_ERROR. - * - * You can supply your own function if you want. For example, if you'd like - * an exception thrown on any GL error you could do this - * - * function throwOnGLError(err, funcName, args) { - * throw WebGLDebugUtils.glEnumToString(err) + " was caused by call to" + - * funcName; - * }; - * - * ctx = WebGLDebugUtils.makeDebugContext( - * canvas.getContext ("webgl"), throwOnGLError); - * - * @param {!WebGLRenderingContext} ctx The webgl context to wrap. - * @param {!function(err, funcName, args): void} opt_onErrorFunc The function - * to call when gl.getError returns an error. If not specified the default - * function calls console.log with a message. - */ - 'makeDebugContext': makeDebugContext, - - /** - * Given a canvas element returns a wrapped canvas element that will - * simulate lost context. The canvas returned adds the following functions. - * - * loseContext: - * simulates a lost context event. - * - * restoreContext: - * simulates the context being restored. - * - * lostContextInNCalls: - * loses the context after N gl calls. - * - * getNumCalls: - * tells you how many gl calls there have been so far. - * - * setRestoreTimeout: - * sets the number of milliseconds until the context is restored - * after it has been lost. Defaults to 0. Pass -1 to prevent - * automatic restoring. - * - * @param {!Canvas} canvas The canvas element to wrap. - */ - 'makeLostContextSimulatingCanvas': makeLostContextSimulatingCanvas, - - /** - * Resets a context to the initial state. - * @param {!WebGLRenderingContext} ctx The webgl context to - * reset. - */ - 'resetToInitialState': resetToInitialState -}; - -}(); - diff --git a/examples/ebook/bin/html5/bin/manifest b/examples/ebook/bin/html5/bin/manifest deleted file mode 100644 index 0a01912..0000000 --- a/examples/ebook/bin/html5/bin/manifest +++ /dev/null @@ -1 +0,0 @@ -aoy4:pathy19:assets%2FcloseX.svgy4:typey4:TEXTy2:idR1goR0y19:assets%2Fconfig.xmlR2R3R4R5goR0y17:assets%2Fduck.svgR2R3R4R6goR0y20:assets%2FeasyXML.jpgR2y5:IMAGER4R7goR0y27:assets%2Fheres-the-deal.jpgR2R8R4R9goR0y24:assets%2Fnav%2FbHome.pngR2R8R4R10goR0y24:assets%2Fnav%2FbLeft.pngR2R8R4R11goR0y27:assets%2Fnav%2FbOptions.pngR2R8R4R12goR0y25:assets%2Fnav%2FbRight.pngR2R8R4R13goR0y24:assets%2Fnav%2Fclose.pngR2R8R4R14goR0y26:assets%2Fnav%2FpanLeft.pngR2R8R4R15goR0y27:assets%2Fnav%2FpanRight.pngR2R8R4R16goR0y16:assets%2Fnme.svgR2R3R4R17goR0y44:assets%2Foptions%2Factor_0000_background.pngR2R8R4R18goR0y38:assets%2Foptions%2Factor_0001_duck.pngR2R8R4R19goR0y38:assets%2Foptions%2Factor_0002_home.pngR2R8R4R20goR0y37:assets%2Foptions%2Factor_0003_cow.pngR2R8R4R21goR0y41:assets%2Foptions%2Factor_0004_easyXML.pngR2R8R4R22goR0y42:assets%2Foptions%2Factor_0005_limerick.pngR2R8R4R23goR0y29:assets%2Foptions%2Fchoose.pngR2R8R4R24goR0y29:assets%2Fp1%2FlimerickPCM.wavR2y5:SOUNDR4R25goR0y36:assets%2Fp1%2FpageObject_0000_bg.jpgR2R8R4R27goR0y38:assets%2Fp1%2FpageObject_0001_skin.pngR2R8R4R28goR0y38:assets%2Fp1%2FpageObject_0002_hose.pngR2R8R4R29goR0y39:assets%2Fp1%2FpageObject_0003_pants.pngR2R8R4R30goR0y43:assets%2Fp1%2FpageObject_0004_flameshoe.pngR2R8R4R31goR0y38:assets%2Fp1%2FpageObject_0005_shoe.pngR2R8R4R32goR0y39:assets%2Fp1%2FpageObject_0006_shirt.pngR2R8R4R33goR0y39:assets%2Fp1%2FpageObject_0007_truck.pngR2R8R4R34goR0y41:assets%2Fp1%2FpageObject_0008_firemen.pngR2R8R4R35goR0y37:assets%2Fp1%2FpageObject_0009_can.pngR2R8R4R36goR0y36:assets%2Fp1%2FpageObject_0010_bw.pngR2R8R4R37goR0y38:assets%2Fp1%2FpageObject_0011_text.pngR2R8R4R38goR0y20:assets%2Fspeaker.pngR2R8R4R39goR0y25:assets%2Ftitle%2Fstar.svgR2R3R4R40goR0y26:assets%2Ftitle%2Ftitle.jpgR2R8R4R41gh \ No newline at end of file diff --git a/examples/ebook/bin/html5/bin/webgl-debug.js b/examples/ebook/bin/html5/bin/webgl-debug.js deleted file mode 100644 index 89f3a1f..0000000 --- a/examples/ebook/bin/html5/bin/webgl-debug.js +++ /dev/null @@ -1,798 +0,0 @@ -//Copyright (c) 2009 The Chromium Authors. All rights reserved. -//Use of this source code is governed by a BSD-style license that can be -//found in the LICENSE file. - -// Various functions for helping debug WebGL apps. - -WebGLDebugUtils = function() { - -/** - * Wrapped logging function. - * @param {string} msg Message to log. - */ -var log = function(msg) { - if (window.console && window.console.log) { - window.console.log(msg); - } -}; - -/** - * Which arguements are enums. - * @type {!Object.} - */ -var glValidEnumContexts = { - - // Generic setters and getters - - 'enable': { 0:true }, - 'disable': { 0:true }, - 'getParameter': { 0:true }, - - // Rendering - - 'drawArrays': { 0:true }, - 'drawElements': { 0:true, 2:true }, - - // Shaders - - 'createShader': { 0:true }, - 'getShaderParameter': { 1:true }, - 'getProgramParameter': { 1:true }, - - // Vertex attributes - - 'getVertexAttrib': { 1:true }, - 'vertexAttribPointer': { 2:true }, - - // Textures - - 'bindTexture': { 0:true }, - 'activeTexture': { 0:true }, - 'getTexParameter': { 0:true, 1:true }, - 'texParameterf': { 0:true, 1:true }, - 'texParameteri': { 0:true, 1:true, 2:true }, - 'texImage2D': { 0:true, 2:true, 6:true, 7:true }, - 'texSubImage2D': { 0:true, 6:true, 7:true }, - 'copyTexImage2D': { 0:true, 2:true }, - 'copyTexSubImage2D': { 0:true }, - 'generateMipmap': { 0:true }, - - // Buffer objects - - 'bindBuffer': { 0:true }, - 'bufferData': { 0:true, 2:true }, - 'bufferSubData': { 0:true }, - 'getBufferParameter': { 0:true, 1:true }, - - // Renderbuffers and framebuffers - - 'pixelStorei': { 0:true, 1:true }, - 'readPixels': { 4:true, 5:true }, - 'bindRenderbuffer': { 0:true }, - 'bindFramebuffer': { 0:true }, - 'checkFramebufferStatus': { 0:true }, - 'framebufferRenderbuffer': { 0:true, 1:true, 2:true }, - 'framebufferTexture2D': { 0:true, 1:true, 2:true }, - 'getFramebufferAttachmentParameter': { 0:true, 1:true, 2:true }, - 'getRenderbufferParameter': { 0:true, 1:true }, - 'renderbufferStorage': { 0:true, 1:true }, - - // Frame buffer operations (clear, blend, depth test, stencil) - - 'clear': { 0:true }, - 'depthFunc': { 0:true }, - 'blendFunc': { 0:true, 1:true }, - 'blendFuncSeparate': { 0:true, 1:true, 2:true, 3:true }, - 'blendEquation': { 0:true }, - 'blendEquationSeparate': { 0:true, 1:true }, - 'stencilFunc': { 0:true }, - 'stencilFuncSeparate': { 0:true, 1:true }, - 'stencilMaskSeparate': { 0:true }, - 'stencilOp': { 0:true, 1:true, 2:true }, - 'stencilOpSeparate': { 0:true, 1:true, 2:true, 3:true }, - - // Culling - - 'cullFace': { 0:true }, - 'frontFace': { 0:true }, -}; - -/** - * Map of numbers to names. - * @type {Object} - */ -var glEnums = null; - -/** - * Initializes this module. Safe to call more than once. - * @param {!WebGLRenderingContext} ctx A WebGL context. If - * you have more than one context it doesn't matter which one - * you pass in, it is only used to pull out constants. - */ -function init(ctx) { - if (glEnums == null) { - glEnums = { }; - for (var propertyName in ctx) { - if (typeof ctx[propertyName] == 'number') { - glEnums[ctx[propertyName]] = propertyName; - } - } - } -} - -/** - * Checks the utils have been initialized. - */ -function checkInit() { - if (glEnums == null) { - throw 'WebGLDebugUtils.init(ctx) not called'; - } -} - -/** - * Returns true or false if value matches any WebGL enum - * @param {*} value Value to check if it might be an enum. - * @return {boolean} True if value matches one of the WebGL defined enums - */ -function mightBeEnum(value) { - checkInit(); - return (glEnums[value] !== undefined); -} - -/** - * Gets an string version of an WebGL enum. - * - * Example: - * var str = WebGLDebugUtil.glEnumToString(ctx.getError()); - * - * @param {number} value Value to return an enum for - * @return {string} The string version of the enum. - */ -function glEnumToString(value) { - checkInit(); - var name = glEnums[value]; - return (name !== undefined) ? name : - ("*UNKNOWN WebGL ENUM (0x" + value.toString(16) + ")"); -} - -/** - * Returns the string version of a WebGL argument. - * Attempts to convert enum arguments to strings. - * @param {string} functionName the name of the WebGL function. - * @param {number} argumentIndx the index of the argument. - * @param {*} value The value of the argument. - * @return {string} The value as a string. - */ -function glFunctionArgToString(functionName, argumentIndex, value) { - var funcInfo = glValidEnumContexts[functionName]; - if (funcInfo !== undefined) { - if (funcInfo[argumentIndex]) { - return glEnumToString(value); - } - } - return value.toString(); -} - -function makePropertyWrapper(wrapper, original, propertyName) { - //log("wrap prop: " + propertyName); - wrapper.__defineGetter__(propertyName, function() { - return original[propertyName]; - }); - // TODO(gmane): this needs to handle properties that take more than - // one value? - wrapper.__defineSetter__(propertyName, function(value) { - //log("set: " + propertyName); - original[propertyName] = value; - }); -} - -// Makes a function that calls a function on another object. -function makeFunctionWrapper(original, functionName) { - //log("wrap fn: " + functionName); - var f = original[functionName]; - return function() { - //log("call: " + functionName); - var result = f.apply(original, arguments); - return result; - }; -} - -/** - * Given a WebGL context returns a wrapped context that calls - * gl.getError after every command and calls a function if the - * result is not gl.NO_ERROR. - * - * @param {!WebGLRenderingContext} ctx The webgl context to - * wrap. - * @param {!function(err, funcName, args): void} opt_onErrorFunc - * The function to call when gl.getError returns an - * error. If not specified the default function calls - * console.log with a message. - */ -function makeDebugContext(ctx, opt_onErrorFunc) { - init(ctx); - opt_onErrorFunc = opt_onErrorFunc || function(err, functionName, args) { - // apparently we can't do args.join(","); - var argStr = ""; - for (var ii = 0; ii < args.length; ++ii) { - argStr += ((ii == 0) ? '' : ', ') + - glFunctionArgToString(functionName, ii, args[ii]); - } - log("WebGL error "+ glEnumToString(err) + " in "+ functionName + - "(" + argStr + ")"); - }; - - // Holds booleans for each GL error so after we get the error ourselves - // we can still return it to the client app. - var glErrorShadow = { }; - - // Makes a function that calls a WebGL function and then calls getError. - function makeErrorWrapper(ctx, functionName) { - return function() { - var result = ctx[functionName].apply(ctx, arguments); - var err = ctx.getError(); - if (err != 0) { - glErrorShadow[err] = true; - opt_onErrorFunc(err, functionName, arguments); - } - return result; - }; - } - - // Make a an object that has a copy of every property of the WebGL context - // but wraps all functions. - var wrapper = {}; - for (var propertyName in ctx) { - if (typeof ctx[propertyName] == 'function') { - wrapper[propertyName] = makeErrorWrapper(ctx, propertyName); - } else { - makePropertyWrapper(wrapper, ctx, propertyName); - } - } - - // Override the getError function with one that returns our saved results. - wrapper.getError = function() { - for (var err in glErrorShadow) { - if (glErrorShadow[err]) { - glErrorShadow[err] = false; - return err; - } - } - return ctx.NO_ERROR; - }; - - return wrapper; -} - -function resetToInitialState(ctx) { - var numAttribs = ctx.getParameter(ctx.MAX_VERTEX_ATTRIBS); - var tmp = ctx.createBuffer(); - ctx.bindBuffer(ctx.ARRAY_BUFFER, tmp); - for (var ii = 0; ii < numAttribs; ++ii) { - ctx.disableVertexAttribArray(ii); - ctx.vertexAttribPointer(ii, 4, ctx.FLOAT, false, 0, 0); - ctx.vertexAttrib1f(ii, 0); - } - ctx.deleteBuffer(tmp); - - var numTextureUnits = ctx.getParameter(ctx.MAX_TEXTURE_IMAGE_UNITS); - for (var ii = 0; ii < numTextureUnits; ++ii) { - ctx.activeTexture(ctx.TEXTURE0 + ii); - ctx.bindTexture(ctx.TEXTURE_CUBE_MAP, null); - ctx.bindTexture(ctx.TEXTURE_2D, null); - } - - ctx.activeTexture(ctx.TEXTURE0); - ctx.useProgram(null); - ctx.bindBuffer(ctx.ARRAY_BUFFER, null); - ctx.bindBuffer(ctx.ELEMENT_ARRAY_BUFFER, null); - ctx.bindFramebuffer(ctx.FRAMEBUFFER, null); - ctx.bindRenderbuffer(ctx.RENDERBUFFER, null); - ctx.disable(ctx.BLEND); - ctx.disable(ctx.CULL_FACE); - ctx.disable(ctx.DEPTH_TEST); - ctx.disable(ctx.DITHER); - ctx.disable(ctx.SCISSOR_TEST); - ctx.blendColor(0, 0, 0, 0); - ctx.blendEquation(ctx.FUNC_ADD); - ctx.blendFunc(ctx.ONE, ctx.ZERO); - ctx.clearColor(0, 0, 0, 0); - ctx.clearDepth(1); - ctx.clearStencil(-1); - ctx.colorMask(true, true, true, true); - ctx.cullFace(ctx.BACK); - ctx.depthFunc(ctx.LESS); - ctx.depthMask(true); - ctx.depthRange(0, 1); - ctx.frontFace(ctx.CCW); - ctx.hint(ctx.GENERATE_MIPMAP_HINT, ctx.DONT_CARE); - ctx.lineWidth(1); - ctx.pixelStorei(ctx.PACK_ALIGNMENT, 4); - ctx.pixelStorei(ctx.UNPACK_ALIGNMENT, 4); - ctx.pixelStorei(ctx.UNPACK_FLIP_Y_WEBGL, false); - ctx.pixelStorei(ctx.UNPACK_PREMULTIPLY_ALPHA_WEBGL, false); - // TODO: Delete this IF. - if (ctx.UNPACK_COLORSPACE_CONVERSION_WEBGL) { - ctx.pixelStorei(ctx.UNPACK_COLORSPACE_CONVERSION_WEBGL, ctx.BROWSER_DEFAULT_WEBGL); - } - ctx.polygonOffset(0, 0); - ctx.sampleCoverage(1, false); - ctx.scissor(0, 0, ctx.canvas.width, ctx.canvas.height); - ctx.stencilFunc(ctx.ALWAYS, 0, 0xFFFFFFFF); - ctx.stencilMask(0xFFFFFFFF); - ctx.stencilOp(ctx.KEEP, ctx.KEEP, ctx.KEEP); - ctx.viewport(0, 0, ctx.canvas.width, ctx.canvas.height); - ctx.clear(ctx.COLOR_BUFFER_BIT | ctx.DEPTH_BUFFER_BIT | ctx.STENCIL_BUFFER_BIT); - - // TODO: This should NOT be needed but Firefox fails with 'hint' - while(ctx.getError()); -} - -function makeLostContextSimulatingCanvas(canvas) { - var unwrappedContext_; - var wrappedContext_; - var onLost_ = []; - var onRestored_ = []; - var wrappedContext_ = {}; - var contextId_ = 1; - var contextLost_ = false; - var resourceId_ = 0; - var resourceDb_ = []; - var numCallsToLoseContext_ = 0; - var numCalls_ = 0; - var canRestore_ = false; - var restoreTimeout_ = 0; - - // Holds booleans for each GL error so can simulate errors. - var glErrorShadow_ = { }; - - canvas.getContext = function(f) { - return function() { - var ctx = f.apply(canvas, arguments); - // Did we get a context and is it a WebGL context? - if (ctx instanceof WebGLRenderingContext) { - if (ctx != unwrappedContext_) { - if (unwrappedContext_) { - throw "got different context" - } - unwrappedContext_ = ctx; - wrappedContext_ = makeLostContextSimulatingContext(unwrappedContext_); - } - return wrappedContext_; - } - return ctx; - } - }(canvas.getContext); - - function wrapEvent(listener) { - if (typeof(listener) == "function") { - return listener; - } else { - return function(info) { - listener.handleEvent(info); - } - } - } - - var addOnContextLostListener = function(listener) { - onLost_.push(wrapEvent(listener)); - }; - - var addOnContextRestoredListener = function(listener) { - onRestored_.push(wrapEvent(listener)); - }; - - - function wrapAddEventListener(canvas) { - var f = canvas.addEventListener; - canvas.addEventListener = function(type, listener, bubble) { - switch (type) { - case 'webglcontextlost': - addOnContextLostListener(listener); - break; - case 'webglcontextrestored': - addOnContextRestoredListener(listener); - break; - default: - f.apply(canvas, arguments); - } - }; - } - - wrapAddEventListener(canvas); - - canvas.loseContext = function() { - if (!contextLost_) { - contextLost_ = true; - numCallsToLoseContext_ = 0; - ++contextId_; - while (unwrappedContext_.getError()); - clearErrors(); - glErrorShadow_[unwrappedContext_.CONTEXT_LOST_WEBGL] = true; - var event = makeWebGLContextEvent("context lost"); - var callbacks = onLost_.slice(); - setTimeout(function() { - //log("numCallbacks:" + callbacks.length); - for (var ii = 0; ii < callbacks.length; ++ii) { - //log("calling callback:" + ii); - callbacks[ii](event); - } - if (restoreTimeout_ >= 0) { - setTimeout(function() { - canvas.restoreContext(); - }, restoreTimeout_); - } - }, 0); - } - }; - - canvas.restoreContext = function() { - if (contextLost_) { - if (onRestored_.length) { - setTimeout(function() { - if (!canRestore_) { - throw "can not restore. webglcontestlost listener did not call event.preventDefault"; - } - freeResources(); - resetToInitialState(unwrappedContext_); - contextLost_ = false; - numCalls_ = 0; - canRestore_ = false; - var callbacks = onRestored_.slice(); - var event = makeWebGLContextEvent("context restored"); - for (var ii = 0; ii < callbacks.length; ++ii) { - callbacks[ii](event); - } - }, 0); - } - } - }; - - canvas.loseContextInNCalls = function(numCalls) { - if (contextLost_) { - throw "You can not ask a lost contet to be lost"; - } - numCallsToLoseContext_ = numCalls_ + numCalls; - }; - - canvas.getNumCalls = function() { - return numCalls_; - }; - - canvas.setRestoreTimeout = function(timeout) { - restoreTimeout_ = timeout; - }; - - function isWebGLObject(obj) { - //return false; - return (obj instanceof WebGLBuffer || - obj instanceof WebGLFramebuffer || - obj instanceof WebGLProgram || - obj instanceof WebGLRenderbuffer || - obj instanceof WebGLShader || - obj instanceof WebGLTexture); - } - - function checkResources(args) { - for (var ii = 0; ii < args.length; ++ii) { - var arg = args[ii]; - if (isWebGLObject(arg)) { - return arg.__webglDebugContextLostId__ == contextId_; - } - } - return true; - } - - function clearErrors() { - var k = Object.keys(glErrorShadow_); - for (var ii = 0; ii < k.length; ++ii) { - delete glErrorShadow_[k]; - } - } - - function loseContextIfTime() { - ++numCalls_; - if (!contextLost_) { - if (numCallsToLoseContext_ == numCalls_) { - canvas.loseContext(); - } - } - } - - // Makes a function that simulates WebGL when out of context. - function makeLostContextFunctionWrapper(ctx, functionName) { - var f = ctx[functionName]; - return function() { - // log("calling:" + functionName); - // Only call the functions if the context is not lost. - loseContextIfTime(); - if (!contextLost_) { - //if (!checkResources(arguments)) { - // glErrorShadow_[wrappedContext_.INVALID_OPERATION] = true; - // return; - //} - var result = f.apply(ctx, arguments); - return result; - } - }; - } - - function freeResources() { - for (var ii = 0; ii < resourceDb_.length; ++ii) { - var resource = resourceDb_[ii]; - if (resource instanceof WebGLBuffer) { - unwrappedContext_.deleteBuffer(resource); - } else if (resource instanceof WebGLFramebuffer) { - unwrappedContext_.deleteFramebuffer(resource); - } else if (resource instanceof WebGLProgram) { - unwrappedContext_.deleteProgram(resource); - } else if (resource instanceof WebGLRenderbuffer) { - unwrappedContext_.deleteRenderbuffer(resource); - } else if (resource instanceof WebGLShader) { - unwrappedContext_.deleteShader(resource); - } else if (resource instanceof WebGLTexture) { - unwrappedContext_.deleteTexture(resource); - } - } - } - - function makeWebGLContextEvent(statusMessage) { - return { - statusMessage: statusMessage, - preventDefault: function() { - canRestore_ = true; - } - }; - } - - return canvas; - - function makeLostContextSimulatingContext(ctx) { - // copy all functions and properties to wrapper - for (var propertyName in ctx) { - if (typeof ctx[propertyName] == 'function') { - wrappedContext_[propertyName] = makeLostContextFunctionWrapper( - ctx, propertyName); - } else { - makePropertyWrapper(wrappedContext_, ctx, propertyName); - } - } - - // Wrap a few functions specially. - wrappedContext_.getError = function() { - loseContextIfTime(); - if (!contextLost_) { - var err; - while (err = unwrappedContext_.getError()) { - glErrorShadow_[err] = true; - } - } - for (var err in glErrorShadow_) { - if (glErrorShadow_[err]) { - delete glErrorShadow_[err]; - return err; - } - } - return wrappedContext_.NO_ERROR; - }; - - var creationFunctions = [ - "createBuffer", - "createFramebuffer", - "createProgram", - "createRenderbuffer", - "createShader", - "createTexture" - ]; - for (var ii = 0; ii < creationFunctions.length; ++ii) { - var functionName = creationFunctions[ii]; - wrappedContext_[functionName] = function(f) { - return function() { - loseContextIfTime(); - if (contextLost_) { - return null; - } - var obj = f.apply(ctx, arguments); - obj.__webglDebugContextLostId__ = contextId_; - resourceDb_.push(obj); - return obj; - }; - }(ctx[functionName]); - } - - var functionsThatShouldReturnNull = [ - "getActiveAttrib", - "getActiveUniform", - "getBufferParameter", - "getContextAttributes", - "getAttachedShaders", - "getFramebufferAttachmentParameter", - "getParameter", - "getProgramParameter", - "getProgramInfoLog", - "getRenderbufferParameter", - "getShaderParameter", - "getShaderInfoLog", - "getShaderSource", - "getTexParameter", - "getUniform", - "getUniformLocation", - "getVertexAttrib" - ]; - for (var ii = 0; ii < functionsThatShouldReturnNull.length; ++ii) { - var functionName = functionsThatShouldReturnNull[ii]; - wrappedContext_[functionName] = function(f) { - return function() { - loseContextIfTime(); - if (contextLost_) { - return null; - } - return f.apply(ctx, arguments); - } - }(wrappedContext_[functionName]); - } - - var isFunctions = [ - "isBuffer", - "isEnabled", - "isFramebuffer", - "isProgram", - "isRenderbuffer", - "isShader", - "isTexture" - ]; - for (var ii = 0; ii < isFunctions.length; ++ii) { - var functionName = isFunctions[ii]; - wrappedContext_[functionName] = function(f) { - return function() { - loseContextIfTime(); - if (contextLost_) { - return false; - } - return f.apply(ctx, arguments); - } - }(wrappedContext_[functionName]); - } - - wrappedContext_.checkFramebufferStatus = function(f) { - return function() { - loseContextIfTime(); - if (contextLost_) { - return wrappedContext_.FRAMEBUFFER_UNSUPPORTED; - } - return f.apply(ctx, arguments); - }; - }(wrappedContext_.checkFramebufferStatus); - - wrappedContext_.getAttribLocation = function(f) { - return function() { - loseContextIfTime(); - if (contextLost_) { - return -1; - } - return f.apply(ctx, arguments); - }; - }(wrappedContext_.getAttribLocation); - - wrappedContext_.getVertexAttribOffset = function(f) { - return function() { - loseContextIfTime(); - if (contextLost_) { - return 0; - } - return f.apply(ctx, arguments); - }; - }(wrappedContext_.getVertexAttribOffset); - - wrappedContext_.isContextLost = function() { - return contextLost_; - }; - - return wrappedContext_; - } -} - -return { - /** - * Initializes this module. Safe to call more than once. - * @param {!WebGLRenderingContext} ctx A WebGL context. If - } - * you have more than one context it doesn't matter which one - * you pass in, it is only used to pull out constants. - */ - 'init': init, - - /** - * Returns true or false if value matches any WebGL enum - * @param {*} value Value to check if it might be an enum. - * @return {boolean} True if value matches one of the WebGL defined enums - */ - 'mightBeEnum': mightBeEnum, - - /** - * Gets an string version of an WebGL enum. - * - * Example: - * WebGLDebugUtil.init(ctx); - * var str = WebGLDebugUtil.glEnumToString(ctx.getError()); - * - * @param {number} value Value to return an enum for - * @return {string} The string version of the enum. - */ - 'glEnumToString': glEnumToString, - - /** - * Converts the argument of a WebGL function to a string. - * Attempts to convert enum arguments to strings. - * - * Example: - * WebGLDebugUtil.init(ctx); - * var str = WebGLDebugUtil.glFunctionArgToString('bindTexture', 0, gl.TEXTURE_2D); - * - * would return 'TEXTURE_2D' - * - * @param {string} functionName the name of the WebGL function. - * @param {number} argumentIndx the index of the argument. - * @param {*} value The value of the argument. - * @return {string} The value as a string. - */ - 'glFunctionArgToString': glFunctionArgToString, - - /** - * Given a WebGL context returns a wrapped context that calls - * gl.getError after every command and calls a function if the - * result is not NO_ERROR. - * - * You can supply your own function if you want. For example, if you'd like - * an exception thrown on any GL error you could do this - * - * function throwOnGLError(err, funcName, args) { - * throw WebGLDebugUtils.glEnumToString(err) + " was caused by call to" + - * funcName; - * }; - * - * ctx = WebGLDebugUtils.makeDebugContext( - * canvas.getContext ("webgl"), throwOnGLError); - * - * @param {!WebGLRenderingContext} ctx The webgl context to wrap. - * @param {!function(err, funcName, args): void} opt_onErrorFunc The function - * to call when gl.getError returns an error. If not specified the default - * function calls console.log with a message. - */ - 'makeDebugContext': makeDebugContext, - - /** - * Given a canvas element returns a wrapped canvas element that will - * simulate lost context. The canvas returned adds the following functions. - * - * loseContext: - * simulates a lost context event. - * - * restoreContext: - * simulates the context being restored. - * - * lostContextInNCalls: - * loses the context after N gl calls. - * - * getNumCalls: - * tells you how many gl calls there have been so far. - * - * setRestoreTimeout: - * sets the number of milliseconds until the context is restored - * after it has been lost. Defaults to 0. Pass -1 to prevent - * automatic restoring. - * - * @param {!Canvas} canvas The canvas element to wrap. - */ - 'makeLostContextSimulatingCanvas': makeLostContextSimulatingCanvas, - - /** - * Resets a context to the initial state. - * @param {!WebGLRenderingContext} ctx The webgl context to - * reset. - */ - 'resetToInitialState': resetToInitialState -}; - -}(); - diff --git a/examples/ebook/bin/html5/haxe/ApplicationMain.hx b/examples/ebook/bin/html5/haxe/ApplicationMain.hx deleted file mode 100644 index 2087f71..0000000 --- a/examples/ebook/bin/html5/haxe/ApplicationMain.hx +++ /dev/null @@ -1,378 +0,0 @@ -#if !macro - - -@:access(lime.Assets) - - -class ApplicationMain { - - - public static var config:lime.app.Config; - public static var preloader:openfl.display.Preloader; - - - public static function create ():Void { - - var app = new lime.app.Application (); - app.create (config); - openfl.Lib.application = app; - - #if !flash - var stage = new openfl.display.Stage (app.window.width, app.window.height, config.background); - stage.addChild (openfl.Lib.current); - app.addModule (stage); - #end - - var display = new NMEPreloader (); - - preloader = new openfl.display.Preloader (display); - preloader.onComplete = init; - preloader.create (config); - - #if (js && html5) - var urls = []; - var types = []; - - - urls.push ("assets/closeX.svg"); - types.push (lime.Assets.AssetType.TEXT); - - - urls.push ("assets/config.xml"); - types.push (lime.Assets.AssetType.TEXT); - - - urls.push ("assets/duck.svg"); - types.push (lime.Assets.AssetType.TEXT); - - - urls.push ("assets/easyXML.jpg"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/heres-the-deal.jpg"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/nav/bHome.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/nav/bLeft.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/nav/bOptions.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/nav/bRight.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/nav/close.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/nav/panLeft.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/nav/panRight.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/nme.svg"); - types.push (lime.Assets.AssetType.TEXT); - - - urls.push ("assets/options/actor_0000_background.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/options/actor_0001_duck.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/options/actor_0002_home.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/options/actor_0003_cow.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/options/actor_0004_easyXML.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/options/actor_0005_limerick.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/options/choose.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/limerickPCM.wav"); - types.push (lime.Assets.AssetType.SOUND); - - - urls.push ("assets/p1/pageObject_0000_bg.jpg"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0001_skin.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0002_hose.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0003_pants.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0004_flameshoe.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0005_shoe.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0006_shirt.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0007_truck.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0008_firemen.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0009_can.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0010_bw.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/p1/pageObject_0011_text.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/speaker.png"); - types.push (lime.Assets.AssetType.IMAGE); - - - urls.push ("assets/title/star.svg"); - types.push (lime.Assets.AssetType.TEXT); - - - urls.push ("assets/title/title.jpg"); - types.push (lime.Assets.AssetType.IMAGE); - - - - if (config.assetsPrefix != null) { - - for (i in 0...urls.length) { - - if (types[i] != lime.Assets.AssetType.FONT) { - - urls[i] = config.assetsPrefix + urls[i]; - - } - - } - - } - - preloader.load (urls, types); - #end - - var result = app.exec (); - - #if (sys && !nodejs && !emscripten) - Sys.exit (result); - #end - - } - - - public static function init ():Void { - - var loaded = 0; - var total = 0; - var library_onLoad = function (__) { - - loaded++; - - if (loaded == total) { - - start (); - - } - - } - - preloader = null; - - - - if (loaded == total) { - - start (); - - } - - } - - - public static function main () { - - config = { - - antialiasing: Std.int (0), - background: Std.int (16774882), - borderless: false, - company: "Confidant Communications", - depthBuffer: false, - file: "GloryDemo", - fps: Std.int (30), - fullscreen: false, - hardware: true, - height: Std.int (640), - orientation: "landscape", - packageName: "ca.confidant.gloryDemo", - resizable: true, - stencilBuffer: true, - title: "Glory Framework Demo", - version: "1.0.0", - vsync: false, - width: Std.int (960), - - } - - #if (js && html5) - #if (munit || utest) - openfl.Lib.embed (null, 960, 640, "FFF6E2"); - #end - #else - create (); - #end - - } - - - public static function start ():Void { - - var hasMain = false; - var entryPoint = Type.resolveClass ("Main"); - - for (methodName in Type.getClassFields (entryPoint)) { - - if (methodName == "main") { - - hasMain = true; - break; - - } - - } - - lime.Assets.initialize (); - - if (hasMain) { - - Reflect.callMethod (entryPoint, Reflect.field (entryPoint, "main"), []); - - } else { - - var instance:DocumentClass = Type.createInstance (DocumentClass, []); - - /*if (Std.is (instance, openfl.display.DisplayObject)) { - - openfl.Lib.current.addChild (cast instance); - - }*/ - - } - - openfl.Lib.current.stage.dispatchEvent (new openfl.events.Event (openfl.events.Event.RESIZE, false, false)); - - } - - - #if neko - @:noCompletion public static function __init__ () { - - var loader = new neko.vm.Loader (untyped $loader); - loader.addPath (haxe.io.Path.directory (Sys.executablePath ())); - loader.addPath ("./"); - loader.addPath ("@executable_path/"); - - } - #end - - -} - - -@:build(DocumentClass.build()) -@:keep class DocumentClass extends Main {} - - -#else - - -import haxe.macro.Context; -import haxe.macro.Expr; - - -class DocumentClass { - - - macro public static function build ():Array { - - var classType = Context.getLocalClass ().get (); - var searchTypes = classType; - - while (searchTypes.superClass != null) { - - if (searchTypes.pack.length == 2 && searchTypes.pack[1] == "display" && searchTypes.name == "DisplayObject") { - - var fields = Context.getBuildFields (); - - var method = macro { - - openfl.Lib.current.addChild (this); - super (); - dispatchEvent (new openfl.events.Event (openfl.events.Event.ADDED_TO_STAGE, false, false)); - - } - - fields.push ({ name: "new", access: [ APublic ], kind: FFun({ args: [], expr: method, params: [], ret: macro :Void }), pos: Context.currentPos () }); - - return fields; - - } - - searchTypes = searchTypes.superClass.t.get (); - - } - - return null; - - } - - -} - - -#end diff --git a/examples/ebook/bin/html5/haxe/DefaultAssetLibrary.hx b/examples/ebook/bin/html5/haxe/DefaultAssetLibrary.hx deleted file mode 100644 index 463514e..0000000 --- a/examples/ebook/bin/html5/haxe/DefaultAssetLibrary.hx +++ /dev/null @@ -1,1165 +0,0 @@ -package; - - -import haxe.Timer; -import haxe.Unserializer; -import lime.app.Preloader; -import lime.audio.AudioSource; -import lime.audio.openal.AL; -import lime.audio.AudioBuffer; -import lime.graphics.Image; -import lime.text.Font; -import lime.utils.ByteArray; -import lime.utils.UInt8Array; -import lime.Assets; - -#if sys -import sys.FileSystem; -#end - -#if flash -import flash.display.Bitmap; -import flash.display.BitmapData; -import flash.display.Loader; -import flash.events.Event; -import flash.media.Sound; -import flash.net.URLLoader; -import flash.net.URLRequest; -#end - - -class DefaultAssetLibrary extends AssetLibrary { - - - public var className (default, null) = new Map (); - public var path (default, null) = new Map (); - public var type (default, null) = new Map (); - - private var lastModified:Float; - private var timer:Timer; - - - public function new () { - - super (); - - #if flash - - className.set ("assets/closeX.svg", __ASSET__assets_closex_svg); - type.set ("assets/closeX.svg", AssetType.TEXT); - className.set ("assets/config.xml", __ASSET__assets_config_xml); - type.set ("assets/config.xml", AssetType.TEXT); - className.set ("assets/duck.svg", __ASSET__assets_duck_svg); - type.set ("assets/duck.svg", AssetType.TEXT); - className.set ("assets/easyXML.jpg", __ASSET__assets_easyxml_jpg); - type.set ("assets/easyXML.jpg", AssetType.IMAGE); - className.set ("assets/heres-the-deal.jpg", __ASSET__assets_heres_the_deal_jpg); - type.set ("assets/heres-the-deal.jpg", AssetType.IMAGE); - className.set ("assets/nav/bHome.png", __ASSET__assets_nav_bhome_png); - type.set ("assets/nav/bHome.png", AssetType.IMAGE); - className.set ("assets/nav/bLeft.png", __ASSET__assets_nav_bleft_png); - type.set ("assets/nav/bLeft.png", AssetType.IMAGE); - className.set ("assets/nav/bOptions.png", __ASSET__assets_nav_boptions_png); - type.set ("assets/nav/bOptions.png", AssetType.IMAGE); - className.set ("assets/nav/bRight.png", __ASSET__assets_nav_bright_png); - type.set ("assets/nav/bRight.png", AssetType.IMAGE); - className.set ("assets/nav/close.png", __ASSET__assets_nav_close_png); - type.set ("assets/nav/close.png", AssetType.IMAGE); - className.set ("assets/nav/panLeft.png", __ASSET__assets_nav_panleft_png); - type.set ("assets/nav/panLeft.png", AssetType.IMAGE); - className.set ("assets/nav/panRight.png", __ASSET__assets_nav_panright_png); - type.set ("assets/nav/panRight.png", AssetType.IMAGE); - className.set ("assets/nme.svg", __ASSET__assets_nme_svg); - type.set ("assets/nme.svg", AssetType.TEXT); - className.set ("assets/options/actor_0000_background.png", __ASSET__assets_options_actor_0000_background_png); - type.set ("assets/options/actor_0000_background.png", AssetType.IMAGE); - className.set ("assets/options/actor_0001_duck.png", __ASSET__assets_options_actor_0001_duck_png); - type.set ("assets/options/actor_0001_duck.png", AssetType.IMAGE); - className.set ("assets/options/actor_0002_home.png", __ASSET__assets_options_actor_0002_home_png); - type.set ("assets/options/actor_0002_home.png", AssetType.IMAGE); - className.set ("assets/options/actor_0003_cow.png", __ASSET__assets_options_actor_0003_cow_png); - type.set ("assets/options/actor_0003_cow.png", AssetType.IMAGE); - className.set ("assets/options/actor_0004_easyXML.png", __ASSET__assets_options_actor_0004_easyxml_png); - type.set ("assets/options/actor_0004_easyXML.png", AssetType.IMAGE); - className.set ("assets/options/actor_0005_limerick.png", __ASSET__assets_options_actor_0005_limerick_png); - type.set ("assets/options/actor_0005_limerick.png", AssetType.IMAGE); - className.set ("assets/options/choose.png", __ASSET__assets_options_choose_png); - type.set ("assets/options/choose.png", AssetType.IMAGE); - className.set ("assets/p1/limerickPCM.wav", __ASSET__assets_p1_limerickpcm_wav); - type.set ("assets/p1/limerickPCM.wav", AssetType.SOUND); - className.set ("assets/p1/pageObject_0000_bg.jpg", __ASSET__assets_p1_pageobject_0000_bg_jpg); - type.set ("assets/p1/pageObject_0000_bg.jpg", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0001_skin.png", __ASSET__assets_p1_pageobject_0001_skin_png); - type.set ("assets/p1/pageObject_0001_skin.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0002_hose.png", __ASSET__assets_p1_pageobject_0002_hose_png); - type.set ("assets/p1/pageObject_0002_hose.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0003_pants.png", __ASSET__assets_p1_pageobject_0003_pants_png); - type.set ("assets/p1/pageObject_0003_pants.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0004_flameshoe.png", __ASSET__assets_p1_pageobject_0004_flameshoe_png); - type.set ("assets/p1/pageObject_0004_flameshoe.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0005_shoe.png", __ASSET__assets_p1_pageobject_0005_shoe_png); - type.set ("assets/p1/pageObject_0005_shoe.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0006_shirt.png", __ASSET__assets_p1_pageobject_0006_shirt_png); - type.set ("assets/p1/pageObject_0006_shirt.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0007_truck.png", __ASSET__assets_p1_pageobject_0007_truck_png); - type.set ("assets/p1/pageObject_0007_truck.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0008_firemen.png", __ASSET__assets_p1_pageobject_0008_firemen_png); - type.set ("assets/p1/pageObject_0008_firemen.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0009_can.png", __ASSET__assets_p1_pageobject_0009_can_png); - type.set ("assets/p1/pageObject_0009_can.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0010_bw.png", __ASSET__assets_p1_pageobject_0010_bw_png); - type.set ("assets/p1/pageObject_0010_bw.png", AssetType.IMAGE); - className.set ("assets/p1/pageObject_0011_text.png", __ASSET__assets_p1_pageobject_0011_text_png); - type.set ("assets/p1/pageObject_0011_text.png", AssetType.IMAGE); - className.set ("assets/speaker.png", __ASSET__assets_speaker_png); - type.set ("assets/speaker.png", AssetType.IMAGE); - className.set ("assets/title/star.svg", __ASSET__assets_title_star_svg); - type.set ("assets/title/star.svg", AssetType.TEXT); - className.set ("assets/title/title.jpg", __ASSET__assets_title_title_jpg); - type.set ("assets/title/title.jpg", AssetType.IMAGE); - - - #elseif html5 - - var id; - id = "assets/closeX.svg"; - path.set (id, id); - - type.set (id, AssetType.TEXT); - id = "assets/config.xml"; - path.set (id, id); - - type.set (id, AssetType.TEXT); - id = "assets/duck.svg"; - path.set (id, id); - - type.set (id, AssetType.TEXT); - id = "assets/easyXML.jpg"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/heres-the-deal.jpg"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/nav/bHome.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/nav/bLeft.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/nav/bOptions.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/nav/bRight.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/nav/close.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/nav/panLeft.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/nav/panRight.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/nme.svg"; - path.set (id, id); - - type.set (id, AssetType.TEXT); - id = "assets/options/actor_0000_background.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/options/actor_0001_duck.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/options/actor_0002_home.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/options/actor_0003_cow.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/options/actor_0004_easyXML.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/options/actor_0005_limerick.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/options/choose.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/limerickPCM.wav"; - path.set (id, id); - - type.set (id, AssetType.SOUND); - id = "assets/p1/pageObject_0000_bg.jpg"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0001_skin.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0002_hose.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0003_pants.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0004_flameshoe.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0005_shoe.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0006_shirt.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0007_truck.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0008_firemen.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0009_can.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0010_bw.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/p1/pageObject_0011_text.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/speaker.png"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - id = "assets/title/star.svg"; - path.set (id, id); - - type.set (id, AssetType.TEXT); - id = "assets/title/title.jpg"; - path.set (id, id); - - type.set (id, AssetType.IMAGE); - - - var assetsPrefix = ApplicationMain.config.assetsPrefix; - if (assetsPrefix != null) { - for (k in path.keys()) { - path.set(k, assetsPrefix + path[k]); - } - } - - #else - - #if openfl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #end - - #if (windows || mac || linux) - - var useManifest = false; - - className.set ("assets/closeX.svg", __ASSET__assets_closex_svg); - type.set ("assets/closeX.svg", AssetType.TEXT); - - className.set ("assets/config.xml", __ASSET__assets_config_xml); - type.set ("assets/config.xml", AssetType.TEXT); - - className.set ("assets/duck.svg", __ASSET__assets_duck_svg); - type.set ("assets/duck.svg", AssetType.TEXT); - - className.set ("assets/easyXML.jpg", __ASSET__assets_easyxml_jpg); - type.set ("assets/easyXML.jpg", AssetType.IMAGE); - - className.set ("assets/heres-the-deal.jpg", __ASSET__assets_heres_the_deal_jpg); - type.set ("assets/heres-the-deal.jpg", AssetType.IMAGE); - - className.set ("assets/nav/bHome.png", __ASSET__assets_nav_bhome_png); - type.set ("assets/nav/bHome.png", AssetType.IMAGE); - - className.set ("assets/nav/bLeft.png", __ASSET__assets_nav_bleft_png); - type.set ("assets/nav/bLeft.png", AssetType.IMAGE); - - className.set ("assets/nav/bOptions.png", __ASSET__assets_nav_boptions_png); - type.set ("assets/nav/bOptions.png", AssetType.IMAGE); - - className.set ("assets/nav/bRight.png", __ASSET__assets_nav_bright_png); - type.set ("assets/nav/bRight.png", AssetType.IMAGE); - - className.set ("assets/nav/close.png", __ASSET__assets_nav_close_png); - type.set ("assets/nav/close.png", AssetType.IMAGE); - - className.set ("assets/nav/panLeft.png", __ASSET__assets_nav_panleft_png); - type.set ("assets/nav/panLeft.png", AssetType.IMAGE); - - className.set ("assets/nav/panRight.png", __ASSET__assets_nav_panright_png); - type.set ("assets/nav/panRight.png", AssetType.IMAGE); - - className.set ("assets/nme.svg", __ASSET__assets_nme_svg); - type.set ("assets/nme.svg", AssetType.TEXT); - - className.set ("assets/options/actor_0000_background.png", __ASSET__assets_options_actor_0000_background_png); - type.set ("assets/options/actor_0000_background.png", AssetType.IMAGE); - - className.set ("assets/options/actor_0001_duck.png", __ASSET__assets_options_actor_0001_duck_png); - type.set ("assets/options/actor_0001_duck.png", AssetType.IMAGE); - - className.set ("assets/options/actor_0002_home.png", __ASSET__assets_options_actor_0002_home_png); - type.set ("assets/options/actor_0002_home.png", AssetType.IMAGE); - - className.set ("assets/options/actor_0003_cow.png", __ASSET__assets_options_actor_0003_cow_png); - type.set ("assets/options/actor_0003_cow.png", AssetType.IMAGE); - - className.set ("assets/options/actor_0004_easyXML.png", __ASSET__assets_options_actor_0004_easyxml_png); - type.set ("assets/options/actor_0004_easyXML.png", AssetType.IMAGE); - - className.set ("assets/options/actor_0005_limerick.png", __ASSET__assets_options_actor_0005_limerick_png); - type.set ("assets/options/actor_0005_limerick.png", AssetType.IMAGE); - - className.set ("assets/options/choose.png", __ASSET__assets_options_choose_png); - type.set ("assets/options/choose.png", AssetType.IMAGE); - - className.set ("assets/p1/limerickPCM.wav", __ASSET__assets_p1_limerickpcm_wav); - type.set ("assets/p1/limerickPCM.wav", AssetType.SOUND); - - className.set ("assets/p1/pageObject_0000_bg.jpg", __ASSET__assets_p1_pageobject_0000_bg_jpg); - type.set ("assets/p1/pageObject_0000_bg.jpg", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0001_skin.png", __ASSET__assets_p1_pageobject_0001_skin_png); - type.set ("assets/p1/pageObject_0001_skin.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0002_hose.png", __ASSET__assets_p1_pageobject_0002_hose_png); - type.set ("assets/p1/pageObject_0002_hose.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0003_pants.png", __ASSET__assets_p1_pageobject_0003_pants_png); - type.set ("assets/p1/pageObject_0003_pants.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0004_flameshoe.png", __ASSET__assets_p1_pageobject_0004_flameshoe_png); - type.set ("assets/p1/pageObject_0004_flameshoe.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0005_shoe.png", __ASSET__assets_p1_pageobject_0005_shoe_png); - type.set ("assets/p1/pageObject_0005_shoe.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0006_shirt.png", __ASSET__assets_p1_pageobject_0006_shirt_png); - type.set ("assets/p1/pageObject_0006_shirt.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0007_truck.png", __ASSET__assets_p1_pageobject_0007_truck_png); - type.set ("assets/p1/pageObject_0007_truck.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0008_firemen.png", __ASSET__assets_p1_pageobject_0008_firemen_png); - type.set ("assets/p1/pageObject_0008_firemen.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0009_can.png", __ASSET__assets_p1_pageobject_0009_can_png); - type.set ("assets/p1/pageObject_0009_can.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0010_bw.png", __ASSET__assets_p1_pageobject_0010_bw_png); - type.set ("assets/p1/pageObject_0010_bw.png", AssetType.IMAGE); - - className.set ("assets/p1/pageObject_0011_text.png", __ASSET__assets_p1_pageobject_0011_text_png); - type.set ("assets/p1/pageObject_0011_text.png", AssetType.IMAGE); - - className.set ("assets/speaker.png", __ASSET__assets_speaker_png); - type.set ("assets/speaker.png", AssetType.IMAGE); - - className.set ("assets/title/star.svg", __ASSET__assets_title_star_svg); - type.set ("assets/title/star.svg", AssetType.TEXT); - - className.set ("assets/title/title.jpg", __ASSET__assets_title_title_jpg); - type.set ("assets/title/title.jpg", AssetType.IMAGE); - - - if (useManifest) { - - loadManifest (); - - if (Sys.args ().indexOf ("-livereload") > -1) { - - var path = FileSystem.fullPath ("manifest"); - lastModified = FileSystem.stat (path).mtime.getTime (); - - timer = new Timer (2000); - timer.run = function () { - - var modified = FileSystem.stat (path).mtime.getTime (); - - if (modified > lastModified) { - - lastModified = modified; - loadManifest (); - - if (eventCallback != null) { - - eventCallback (this, "change"); - - } - - } - - } - - } - - } - - #else - - loadManifest (); - - #end - #end - - } - - - public override function exists (id:String, type:String):Bool { - - var requestedType = type != null ? cast (type, AssetType) : null; - var assetType = this.type.get (id); - - if (assetType != null) { - - if (assetType == requestedType || ((requestedType == SOUND || requestedType == MUSIC) && (assetType == MUSIC || assetType == SOUND))) { - - return true; - - } - - #if flash - - if (requestedType == BINARY && (assetType == BINARY || assetType == TEXT || assetType == IMAGE)) { - - return true; - - } else if (requestedType == null || path.exists (id)) { - - return true; - - } - - #else - - if (requestedType == BINARY || requestedType == null || (assetType == BINARY && requestedType == TEXT)) { - - return true; - - } - - #end - - } - - return false; - - } - - - public override function getAudioBuffer (id:String):AudioBuffer { - - #if flash - - var buffer = new AudioBuffer (); - buffer.src = cast (Type.createInstance (className.get (id), []), Sound); - return buffer; - - #elseif html5 - - return null; - //return new Sound (new URLRequest (path.get (id))); - - #else - - if (className.exists(id)) return AudioBuffer.fromBytes (cast (Type.createInstance (className.get (id), []), ByteArray)); - else return AudioBuffer.fromFile (path.get (id)); - - #end - - } - - - public override function getBytes (id:String):ByteArray { - - #if flash - - switch (type.get (id)) { - - case TEXT, BINARY: - - return cast (Type.createInstance (className.get (id), []), ByteArray); - - case IMAGE: - - var bitmapData = cast (Type.createInstance (className.get (id), []), BitmapData); - return bitmapData.getPixels (bitmapData.rect); - - default: - - return null; - - } - - return cast (Type.createInstance (className.get (id), []), ByteArray); - - #elseif html5 - - var bytes:ByteArray = null; - var data = Preloader.loaders.get (path.get (id)).data; - - if (Std.is (data, String)) { - - bytes = new ByteArray (); - bytes.writeUTFBytes (data); - - } else if (Std.is (data, ByteArray)) { - - bytes = cast data; - - } else { - - bytes = null; - - } - - if (bytes != null) { - - bytes.position = 0; - return bytes; - - } else { - - return null; - } - - #else - - if (className.exists(id)) return cast (Type.createInstance (className.get (id), []), ByteArray); - else return ByteArray.readFile (path.get (id)); - - #end - - } - - - public override function getFont (id:String):Font { - - #if flash - - var src = Type.createInstance (className.get (id), []); - - var font = new Font (src.fontName); - font.src = src; - return font; - - #elseif html5 - - return cast (Type.createInstance (className.get (id), []), Font); - - #else - - if (className.exists (id)) { - - var fontClass = className.get (id); - return cast (Type.createInstance (fontClass, []), Font); - - } else { - - return Font.fromFile (path.get (id)); - - } - - #end - - } - - - public override function getImage (id:String):Image { - - #if flash - - return Image.fromBitmapData (cast (Type.createInstance (className.get (id), []), BitmapData)); - - #elseif html5 - - return Image.fromImageElement (Preloader.images.get (path.get (id))); - - #else - - if (className.exists (id)) { - - var fontClass = className.get (id); - return cast (Type.createInstance (fontClass, []), Image); - - } else { - - return Image.fromFile (path.get (id)); - - } - - #end - - } - - - /*public override function getMusic (id:String):Dynamic { - - #if flash - - return cast (Type.createInstance (className.get (id), []), Sound); - - #elseif openfl_html5 - - //var sound = new Sound (); - //sound.__buffer = true; - //sound.load (new URLRequest (path.get (id))); - //return sound; - return null; - - #elseif html5 - - return null; - //return new Sound (new URLRequest (path.get (id))); - - #else - - return null; - //if (className.exists(id)) return cast (Type.createInstance (className.get (id), []), Sound); - //else return new Sound (new URLRequest (path.get (id)), null, true); - - #end - - }*/ - - - public override function getPath (id:String):String { - - //#if ios - - //return SystemPath.applicationDirectory + "/assets/" + path.get (id); - - //#else - - return path.get (id); - - //#end - - } - - - public override function getText (id:String):String { - - #if html5 - - var bytes:ByteArray = null; - var data = Preloader.loaders.get (path.get (id)).data; - - if (Std.is (data, String)) { - - return cast data; - - } else if (Std.is (data, ByteArray)) { - - bytes = cast data; - - } else { - - bytes = null; - - } - - if (bytes != null) { - - bytes.position = 0; - return bytes.readUTFBytes (bytes.length); - - } else { - - return null; - } - - #else - - var bytes = getBytes (id); - - if (bytes == null) { - - return null; - - } else { - - return bytes.readUTFBytes (bytes.length); - - } - - #end - - } - - - public override function isLocal (id:String, type:String):Bool { - - var requestedType = type != null ? cast (type, AssetType) : null; - - #if flash - - //if (requestedType != AssetType.MUSIC && requestedType != AssetType.SOUND) { - - return className.exists (id); - - //} - - #end - - return true; - - } - - - public override function list (type:String):Array { - - var requestedType = type != null ? cast (type, AssetType) : null; - var items = []; - - for (id in this.type.keys ()) { - - if (requestedType == null || exists (id, type)) { - - items.push (id); - - } - - } - - return items; - - } - - - public override function loadAudioBuffer (id:String, handler:AudioBuffer -> Void):Void { - - #if (flash) - if (path.exists (id)) { - - var soundLoader = new Sound (); - soundLoader.addEventListener (Event.COMPLETE, function (event) { - - var audioBuffer:AudioBuffer = new AudioBuffer(); - audioBuffer.src = event.currentTarget; - handler (audioBuffer); - - }); - soundLoader.load (new URLRequest (path.get (id))); - - } else { - handler (getAudioBuffer (id)); - - } - #else - handler (getAudioBuffer (id)); - - #end - - } - - - public override function loadBytes (id:String, handler:ByteArray -> Void):Void { - - #if flash - - if (path.exists (id)) { - - var loader = new URLLoader (); - loader.addEventListener (Event.COMPLETE, function (event:Event) { - - var bytes = new ByteArray (); - bytes.writeUTFBytes (event.currentTarget.data); - bytes.position = 0; - - handler (bytes); - - }); - loader.load (new URLRequest (path.get (id))); - - } else { - - handler (getBytes (id)); - - } - - #else - - handler (getBytes (id)); - - #end - - } - - - public override function loadImage (id:String, handler:Image -> Void):Void { - - #if flash - - if (path.exists (id)) { - - var loader = new Loader (); - loader.contentLoaderInfo.addEventListener (Event.COMPLETE, function (event:Event) { - - var bitmapData = cast (event.currentTarget.content, Bitmap).bitmapData; - handler (Image.fromBitmapData (bitmapData)); - - }); - loader.load (new URLRequest (path.get (id))); - - } else { - - handler (getImage (id)); - - } - - #else - - handler (getImage (id)); - - #end - - } - - - #if (!flash && !html5) - private function loadManifest ():Void { - - try { - - #if blackberry - var bytes = ByteArray.readFile ("app/native/manifest"); - #elseif tizen - var bytes = ByteArray.readFile ("../res/manifest"); - #elseif emscripten - var bytes = ByteArray.readFile ("assets/manifest"); - #elseif (mac && java) - var bytes = ByteArray.readFile ("../Resources/manifest"); - #elseif ios - var bytes = ByteArray.readFile ("assets/manifest"); - #else - var bytes = ByteArray.readFile ("manifest"); - #end - - if (bytes != null) { - - bytes.position = 0; - - if (bytes.length > 0) { - - var data = bytes.readUTFBytes (bytes.length); - - if (data != null && data.length > 0) { - - var manifest:Array = Unserializer.run (data); - - for (asset in manifest) { - - if (!className.exists (asset.id)) { - - #if ios - path.set (asset.id, "assets/" + asset.path); - #else - path.set (asset.id, asset.path); - #end - type.set (asset.id, cast (asset.type, AssetType)); - - } - - } - - } - - } - - } else { - - trace ("Warning: Could not load asset manifest (bytes was null)"); - - } - - } catch (e:Dynamic) { - - trace ('Warning: Could not load asset manifest (${e})'); - - } - - } - #end - - - /*public override function loadMusic (id:String, handler:Dynamic -> Void):Void { - - #if (flash || html5) - - //if (path.exists (id)) { - - // var loader = new Loader (); - // loader.contentLoaderInfo.addEventListener (Event.COMPLETE, function (event) { - - // handler (cast (event.currentTarget.content, Bitmap).bitmapData); - - // }); - // loader.load (new URLRequest (path.get (id))); - - //} else { - - handler (getMusic (id)); - - //} - - #else - - handler (getMusic (id)); - - #end - - }*/ - - - public override function loadText (id:String, handler:String -> Void):Void { - - //#if html5 - - /*if (path.exists (id)) { - - var loader = new URLLoader (); - loader.addEventListener (Event.COMPLETE, function (event:Event) { - - handler (event.currentTarget.data); - - }); - loader.load (new URLRequest (path.get (id))); - - } else { - - handler (getText (id)); - - }*/ - - //#else - - var callback = function (bytes:ByteArray):Void { - - if (bytes == null) { - - handler (null); - - } else { - - handler (bytes.readUTFBytes (bytes.length)); - - } - - } - - loadBytes (id, callback); - - //#end - - } - - -} - - -#if !display -#if flash - -@:keep @:bind #if display private #end class __ASSET__assets_closex_svg extends null { } -@:keep @:bind #if display private #end class __ASSET__assets_config_xml extends null { } -@:keep @:bind #if display private #end class __ASSET__assets_duck_svg extends null { } -@:keep @:bind #if display private #end class __ASSET__assets_easyxml_jpg extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_heres_the_deal_jpg extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_nav_bhome_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_nav_bleft_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_nav_boptions_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_nav_bright_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_nav_close_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_nav_panleft_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_nav_panright_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_nme_svg extends null { } -@:keep @:bind #if display private #end class __ASSET__assets_options_actor_0000_background_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_options_actor_0001_duck_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_options_actor_0002_home_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_options_actor_0003_cow_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_options_actor_0004_easyxml_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_options_actor_0005_limerick_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_options_choose_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_limerickpcm_wav extends null { } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0000_bg_jpg extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0001_skin_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0002_hose_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0003_pants_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0004_flameshoe_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0005_shoe_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0006_shirt_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0007_truck_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0008_firemen_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0009_can_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0010_bw_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_p1_pageobject_0011_text_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_speaker_png extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } -@:keep @:bind #if display private #end class __ASSET__assets_title_star_svg extends null { } -@:keep @:bind #if display private #end class __ASSET__assets_title_title_jpg extends flash.display.BitmapData { public function new () { super (0, 0, true, 0); } } - - -#elseif html5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -#else - - - -#if (windows || mac || linux) - - -@:file("assets/closeX.svg") #if display private #end class __ASSET__assets_closex_svg extends lime.utils.ByteArray {} -@:file("assets/config.xml") #if display private #end class __ASSET__assets_config_xml extends lime.utils.ByteArray {} -@:file("assets/duck.svg") #if display private #end class __ASSET__assets_duck_svg extends lime.utils.ByteArray {} -@:image("assets/easyXML.jpg") #if display private #end class __ASSET__assets_easyxml_jpg extends lime.graphics.Image {} -@:image("assets/heres-the-deal.jpg") #if display private #end class __ASSET__assets_heres_the_deal_jpg extends lime.graphics.Image {} -@:image("assets/nav/bHome.png") #if display private #end class __ASSET__assets_nav_bhome_png extends lime.graphics.Image {} -@:image("assets/nav/bLeft.png") #if display private #end class __ASSET__assets_nav_bleft_png extends lime.graphics.Image {} -@:image("assets/nav/bOptions.png") #if display private #end class __ASSET__assets_nav_boptions_png extends lime.graphics.Image {} -@:image("assets/nav/bRight.png") #if display private #end class __ASSET__assets_nav_bright_png extends lime.graphics.Image {} -@:image("assets/nav/close.png") #if display private #end class __ASSET__assets_nav_close_png extends lime.graphics.Image {} -@:image("assets/nav/panLeft.png") #if display private #end class __ASSET__assets_nav_panleft_png extends lime.graphics.Image {} -@:image("assets/nav/panRight.png") #if display private #end class __ASSET__assets_nav_panright_png extends lime.graphics.Image {} -@:file("assets/nme.svg") #if display private #end class __ASSET__assets_nme_svg extends lime.utils.ByteArray {} -@:image("assets/options/actor_0000_background.png") #if display private #end class __ASSET__assets_options_actor_0000_background_png extends lime.graphics.Image {} -@:image("assets/options/actor_0001_duck.png") #if display private #end class __ASSET__assets_options_actor_0001_duck_png extends lime.graphics.Image {} -@:image("assets/options/actor_0002_home.png") #if display private #end class __ASSET__assets_options_actor_0002_home_png extends lime.graphics.Image {} -@:image("assets/options/actor_0003_cow.png") #if display private #end class __ASSET__assets_options_actor_0003_cow_png extends lime.graphics.Image {} -@:image("assets/options/actor_0004_easyXML.png") #if display private #end class __ASSET__assets_options_actor_0004_easyxml_png extends lime.graphics.Image {} -@:image("assets/options/actor_0005_limerick.png") #if display private #end class __ASSET__assets_options_actor_0005_limerick_png extends lime.graphics.Image {} -@:image("assets/options/choose.png") #if display private #end class __ASSET__assets_options_choose_png extends lime.graphics.Image {} -@:file("assets/p1/limerickPCM.wav") #if display private #end class __ASSET__assets_p1_limerickpcm_wav extends lime.utils.ByteArray {} -@:image("assets/p1/pageObject_0000_bg.jpg") #if display private #end class __ASSET__assets_p1_pageobject_0000_bg_jpg extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0001_skin.png") #if display private #end class __ASSET__assets_p1_pageobject_0001_skin_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0002_hose.png") #if display private #end class __ASSET__assets_p1_pageobject_0002_hose_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0003_pants.png") #if display private #end class __ASSET__assets_p1_pageobject_0003_pants_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0004_flameshoe.png") #if display private #end class __ASSET__assets_p1_pageobject_0004_flameshoe_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0005_shoe.png") #if display private #end class __ASSET__assets_p1_pageobject_0005_shoe_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0006_shirt.png") #if display private #end class __ASSET__assets_p1_pageobject_0006_shirt_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0007_truck.png") #if display private #end class __ASSET__assets_p1_pageobject_0007_truck_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0008_firemen.png") #if display private #end class __ASSET__assets_p1_pageobject_0008_firemen_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0009_can.png") #if display private #end class __ASSET__assets_p1_pageobject_0009_can_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0010_bw.png") #if display private #end class __ASSET__assets_p1_pageobject_0010_bw_png extends lime.graphics.Image {} -@:image("assets/p1/pageObject_0011_text.png") #if display private #end class __ASSET__assets_p1_pageobject_0011_text_png extends lime.graphics.Image {} -@:image("assets/speaker.png") #if display private #end class __ASSET__assets_speaker_png extends lime.graphics.Image {} -@:file("assets/title/star.svg") #if display private #end class __ASSET__assets_title_star_svg extends lime.utils.ByteArray {} -@:image("assets/title/title.jpg") #if display private #end class __ASSET__assets_title_title_jpg extends lime.graphics.Image {} - - - -#end - -#if openfl - -#end - -#end -#end - diff --git a/examples/ebook/bin/html5/haxe/NMEPreloader.hx b/examples/ebook/bin/html5/haxe/NMEPreloader.hx deleted file mode 100644 index 28aa3a7..0000000 --- a/examples/ebook/bin/html5/haxe/NMEPreloader.hx +++ /dev/null @@ -1,127 +0,0 @@ -package; - - -import openfl.display.Sprite; -import openfl.events.Event; - - -class NMEPreloader extends Sprite { - - - private var outline:Sprite; - private var progress:Sprite; - - - public function new () { - - super (); - - var backgroundColor = getBackgroundColor (); - var r = backgroundColor >> 16 & 0xFF; - var g = backgroundColor >> 8 & 0xFF; - var b = backgroundColor & 0xFF; - var perceivedLuminosity = (0.299 * r + 0.587 * g + 0.114 * b); - var color = 0x000000; - - if (perceivedLuminosity < 70) { - - color = 0xFFFFFF; - - } - - var x = 30; - var height = 7; - var y = getHeight () / 2 - height / 2; - var width = getWidth () - x * 2; - - var padding = 2; - - outline = new Sprite (); - outline.graphics.beginFill (color, 0.07); - outline.graphics.drawRect (0, 0, width, height); - outline.x = x; - outline.y = y; - addChild (outline); - - progress = new Sprite (); - progress.graphics.beginFill (color, 0.35); - progress.graphics.drawRect (0, 0, width - padding * 2, height - padding * 2); - progress.x = x + padding; - progress.y = y + padding; - progress.scaleX = 0; - addChild (progress); - - } - - - public function getBackgroundColor ():Int { - - return 16774882; - - } - - - public function getHeight ():Float { - - var height = 640; - - if (height > 0) { - - return height; - - } else { - - return flash.Lib.current.stage.stageHeight; - - } - - } - - - public function getWidth ():Float { - - var width = 960; - - if (width > 0) { - - return width; - - } else { - - return flash.Lib.current.stage.stageWidth; - - } - - } - - - public function onInit () { - - - - } - - - public function onLoaded () { - - dispatchEvent (new Event (Event.COMPLETE)); - - } - - - public function onUpdate (bytesLoaded:Int, bytesTotal:Int):Void { - - var percentLoaded = bytesLoaded / bytesTotal; - - if (percentLoaded > 1) { - - percentLoaded = 1; - - } - - progress.scaleX = percentLoaded; - - } - - -} \ No newline at end of file diff --git a/examples/ebook/bin/html5/haxe/debug.hxml b/examples/ebook/bin/html5/haxe/debug.hxml deleted file mode 100644 index af7ca7c..0000000 --- a/examples/ebook/bin/html5/haxe/debug.hxml +++ /dev/null @@ -1,27 +0,0 @@ --main ApplicationMain --cp /usr/lib/haxe/lib/lime/2,4,4 --D lime=2.4.4 --cp /usr/lib/haxe/lib/glory/git/src --D glory --cp /usr/lib/haxe/lib/actuate/1,8,6 --D actuate=1.8.6 --cp /usr/lib/haxe/lib/svg/1,0,8 --D svg=1.0.8 --cp /usr/lib/haxe/lib/openfl/3,1,0 --D openfl=3.1.0 --cp src --D openfl-next --D tools=2.4.4 --D no-compilation --D lime-opengl --D openfl-html5 --D canvas --D lime-html5 --D html5 --D web ---remap flash:openfl --js bin/html5/bin/GloryDemo.js --cp bin/html5/haxe --D html5 ---macro allowPackage("flash") --debug \ No newline at end of file diff --git a/examples/ebook/bin/html5/haxe/final.hxml b/examples/ebook/bin/html5/haxe/final.hxml deleted file mode 100644 index 3a15cca..0000000 --- a/examples/ebook/bin/html5/haxe/final.hxml +++ /dev/null @@ -1,30 +0,0 @@ --main ApplicationMain --cp /usr/lib/haxe/lib/lime/2,4,4 --D lime=2.4.4 --cp /usr/lib/haxe/lib/glory/git/src --D glory --cp /usr/lib/haxe/lib/actuate/1,8,6 --D actuate=1.8.6 --cp /usr/lib/haxe/lib/svg/1,0,8 --D svg=1.0.8 --cp /usr/lib/haxe/lib/openfl/3,1,0 --D openfl=3.1.0 --cp src --D openfl-next --D tools=2.4.4 --D no-compilation --D lime-opengl --D openfl-html5 --D canvas --D lime-html5 --D html5 --D web ---remap flash:openfl --js bin/html5/bin/GloryDemo.js --cp bin/html5/haxe --D html5 ---macro allowPackage("flash") --dce full --D final --D js-flatten --dce full \ No newline at end of file diff --git a/examples/ebook/bin/html5/haxe/nme/installer/Assets.hx b/examples/ebook/bin/html5/haxe/nme/installer/Assets.hx deleted file mode 100644 index 48989c9..0000000 --- a/examples/ebook/bin/html5/haxe/nme/installer/Assets.hx +++ /dev/null @@ -1,464 +0,0 @@ -package nme.installer; - - -import format.display.MovieClip; -import haxe.Unserializer; -import nme.display.Bitmap; -import nme.display.BitmapData; -import nme.media.Sound; -import nme.net.URLRequest; -import nme.text.Font; -import nme.utils.ByteArray; -import ApplicationMain; - -#if swfdev -import format.swf.lite.SWFLite; -#end - -#if xfl -import format.XFL; -#end - - -/** - * ... - * @author Joshua Granick - */ - -class Assets { - - - public static var cachedBitmapData:Hash = new Hash(); - #if swfdev private static var cachedSWFLibraries:Hash = new Hash (); #end - #if xfl private static var cachedXFLLibraries:Hash = new Hash (); #end - - private static var initialized:Bool = false; - private static var libraryTypes:Hash = new Hash (); - private static var resourceClasses:Hash = new Hash (); - private static var resourceNames:Hash = new Hash (); - private static var resourceTypes:Hash = new Hash (); - - - private static function initialize ():Void { - - if (!initialized) { - - - - resourceNames.set ("assets/closeX.svg", "assets/closeX.svg"); - resourceTypes.set ("assets/closeX.svg", "text"); - - - resourceNames.set ("assets/config.xml", "assets/config.xml"); - resourceTypes.set ("assets/config.xml", "text"); - - - resourceNames.set ("assets/duck.svg", "assets/duck.svg"); - resourceTypes.set ("assets/duck.svg", "text"); - - - resourceNames.set ("assets/easyXML.jpg", "assets/easyXML.jpg"); - resourceTypes.set ("assets/easyXML.jpg", "image"); - - - resourceNames.set ("assets/heres-the-deal.jpg", "assets/heres-the-deal.jpg"); - resourceTypes.set ("assets/heres-the-deal.jpg", "image"); - - - resourceNames.set ("assets/nav/bHome.png", "assets/nav/bHome.png"); - resourceTypes.set ("assets/nav/bHome.png", "image"); - - - resourceNames.set ("assets/nav/bLeft.png", "assets/nav/bLeft.png"); - resourceTypes.set ("assets/nav/bLeft.png", "image"); - - - resourceNames.set ("assets/nav/bOptions.png", "assets/nav/bOptions.png"); - resourceTypes.set ("assets/nav/bOptions.png", "image"); - - - resourceNames.set ("assets/nav/bRight.png", "assets/nav/bRight.png"); - resourceTypes.set ("assets/nav/bRight.png", "image"); - - - resourceNames.set ("assets/nav/close.png", "assets/nav/close.png"); - resourceTypes.set ("assets/nav/close.png", "image"); - - - resourceNames.set ("assets/nav/panLeft.png", "assets/nav/panLeft.png"); - resourceTypes.set ("assets/nav/panLeft.png", "image"); - - - resourceNames.set ("assets/nav/panRight.png", "assets/nav/panRight.png"); - resourceTypes.set ("assets/nav/panRight.png", "image"); - - - resourceNames.set ("assets/nme.svg", "assets/nme.svg"); - resourceTypes.set ("assets/nme.svg", "text"); - - - resourceNames.set ("assets/options/actor_0000_background.png", "assets/options/actor_0000_background.png"); - resourceTypes.set ("assets/options/actor_0000_background.png", "image"); - - - resourceNames.set ("assets/options/actor_0001_duck.png", "assets/options/actor_0001_duck.png"); - resourceTypes.set ("assets/options/actor_0001_duck.png", "image"); - - - resourceNames.set ("assets/options/actor_0002_home.png", "assets/options/actor_0002_home.png"); - resourceTypes.set ("assets/options/actor_0002_home.png", "image"); - - - resourceNames.set ("assets/options/actor_0003_cow.png", "assets/options/actor_0003_cow.png"); - resourceTypes.set ("assets/options/actor_0003_cow.png", "image"); - - - resourceNames.set ("assets/options/actor_0004_easyXML.png", "assets/options/actor_0004_easyXML.png"); - resourceTypes.set ("assets/options/actor_0004_easyXML.png", "image"); - - - resourceNames.set ("assets/options/actor_0005_limerick.png", "assets/options/actor_0005_limerick.png"); - resourceTypes.set ("assets/options/actor_0005_limerick.png", "image"); - - - resourceNames.set ("assets/options/choose.png", "assets/options/choose.png"); - resourceTypes.set ("assets/options/choose.png", "image"); - - - resourceNames.set ("assets/p1/limerickPCM.wav", "assets/p1/limerickPCM.wav"); - resourceTypes.set ("assets/p1/limerickPCM.wav", "sound"); - - - resourceNames.set ("assets/p1/pageObject_0000_bg.jpg", "assets/p1/pageObject_0000_bg.jpg"); - resourceTypes.set ("assets/p1/pageObject_0000_bg.jpg", "image"); - - - resourceNames.set ("assets/p1/pageObject_0001_skin.png", "assets/p1/pageObject_0001_skin.png"); - resourceTypes.set ("assets/p1/pageObject_0001_skin.png", "image"); - - - resourceNames.set ("assets/p1/pageObject_0002_hose.png", "assets/p1/pageObject_0002_hose.png"); - resourceTypes.set ("assets/p1/pageObject_0002_hose.png", "image"); - - - resourceNames.set ("assets/p1/pageObject_0003_pants.png", "assets/p1/pageObject_0003_pants.png"); - resourceTypes.set ("assets/p1/pageObject_0003_pants.png", "image"); - - - resourceNames.set ("assets/p1/pageObject_0004_flameshoe.png", "assets/p1/pageObject_0004_flameshoe.png"); - resourceTypes.set ("assets/p1/pageObject_0004_flameshoe.png", "image"); - - - resourceNames.set ("assets/p1/pageObject_0005_shoe.png", "assets/p1/pageObject_0005_shoe.png"); - resourceTypes.set ("assets/p1/pageObject_0005_shoe.png", "image"); - - - resourceNames.set ("assets/p1/pageObject_0006_shirt.png", "assets/p1/pageObject_0006_shirt.png"); - resourceTypes.set ("assets/p1/pageObject_0006_shirt.png", "image"); - - - resourceNames.set ("assets/p1/pageObject_0007_truck.png", "assets/p1/pageObject_0007_truck.png"); - resourceTypes.set ("assets/p1/pageObject_0007_truck.png", "image"); - - - resourceNames.set ("assets/p1/pageObject_0008_firemen.png", "assets/p1/pageObject_0008_firemen.png"); - resourceTypes.set ("assets/p1/pageObject_0008_firemen.png", "image"); - - - resourceNames.set ("assets/p1/pageObject_0009_can.png", "assets/p1/pageObject_0009_can.png"); - resourceTypes.set ("assets/p1/pageObject_0009_can.png", "image"); - - - resourceNames.set ("assets/p1/pageObject_0010_bw.png", "assets/p1/pageObject_0010_bw.png"); - resourceTypes.set ("assets/p1/pageObject_0010_bw.png", "image"); - - - resourceNames.set ("assets/p1/pageObject_0011_text.png", "assets/p1/pageObject_0011_text.png"); - resourceTypes.set ("assets/p1/pageObject_0011_text.png", "image"); - - - resourceNames.set ("assets/speaker.png", "assets/speaker.png"); - resourceTypes.set ("assets/speaker.png", "image"); - - - resourceNames.set ("assets/title/star.svg", "assets/title/star.svg"); - resourceTypes.set ("assets/title/star.svg", "text"); - - - resourceNames.set ("assets/title/title.jpg", "assets/title/title.jpg"); - resourceTypes.set ("assets/title/title.jpg", "image"); - - - initialized = true; - - } - - } - - - public static function getBitmapData (id:String, useCache:Bool = true):BitmapData { - - initialize (); - - if (resourceNames.exists(id) && resourceTypes.exists (id) && resourceTypes.get (id).toLowerCase () == "image") { - - if (useCache && cachedBitmapData.exists (id)) { - - return cachedBitmapData.get (id); - - } else { - - // Should be bitmapData.clone (), but stopped working in recent Jeash builds - // Without clone, BitmapData is already cached, so ignoring the hash table for now - - var data = cast (ApplicationMain.loaders.get (resourceNames.get(id)).contentLoaderInfo.content, Bitmap).bitmapData; - - if (useCache) { - - cachedBitmapData.set (id, data); - - } - - return data; - - } - - } else if (id.indexOf (":") > -1) { - - var libraryName = id.substr (0, id.indexOf (":")); - var symbolName = id.substr (id.indexOf (":") + 1); - - if (libraryTypes.exists (libraryName)) { - - #if swfdev - - if (libraryTypes.get (libraryName) == "swf") { - - if (!cachedSWFLibraries.exists (libraryName)) { - - var unserializer = new Unserializer (getText ("libraries/" + libraryName + ".dat")); - unserializer.setResolver (cast { resolveEnum: resolveEnum, resolveClass: resolveClass }); - cachedSWFLibraries.set (libraryName, unserializer.unserialize()); - - } - - return cachedSWFLibraries.get (libraryName).getBitmapData (symbolName); - - } - - #end - - #if xfl - - if (libraryTypes.get (libraryName) == "xfl") { - - if (!cachedXFLLibraries.exists (libraryName)) { - - cachedXFLLibraries.set (libraryName, Unserializer.run (getText ("libraries/" + libraryName + "/" + libraryName + ".dat"))); - - } - - return cachedXFLLibraries.get (libraryName).getBitmapData (symbolName); - - } - - #end - - } else { - - trace ("[nme.Assets] There is no asset library named \"" + libraryName + "\""); - - } - - } else { - - trace ("[nme.Assets] There is no BitmapData asset with an ID of \"" + id + "\""); - - } - - return null; - - } - - - public static function getBytes (id:String):ByteArray { - - initialize (); - - if (resourceNames.exists (id)) { - - return cast ApplicationMain.urlLoaders.get (getResourceName(id)).data; - - } - - trace ("[nme.Assets] There is no String or ByteArray asset with an ID of \"" + id + "\""); - - return null; - - } - - - public static function getFont (id:String):Font { - - initialize (); - - if (resourceNames.exists(id) && resourceTypes.exists (id)) { - - if (resourceTypes.get (id).toLowerCase () == "font") { - - return cast (Type.createInstance (resourceClasses.get (id), []), Font); - - } - - } - - trace ("[nme.Assets] There is no Font asset with an ID of \"" + id + "\""); - - return null; - - } - - - public static function getMovieClip (id:String):MovieClip { - - initialize (); - - var libraryName = id.substr (0, id.indexOf (":")); - var symbolName = id.substr (id.indexOf (":") + 1); - - if (libraryTypes.exists (libraryName)) { - - #if swfdev - - if (libraryTypes.get (libraryName) == "swf") { - - if (!cachedSWFLibraries.exists (libraryName)) { - - var unserializer = new Unserializer (getText ("libraries/" + libraryName + ".dat")); - unserializer.setResolver (cast { resolveEnum: resolveEnum, resolveClass: resolveClass }); - cachedSWFLibraries.set (libraryName, unserializer.unserialize()); - - } - - return cachedSWFLibraries.get (libraryName).createMovieClip (symbolName); - - } - - #end - - #if xfl - - if (libraryTypes.get (libraryName) == "xfl") { - - if (!cachedXFLLibraries.exists (libraryName)) { - - cachedXFLLibraries.set (libraryName, Unserializer.run (getText ("libraries/" + libraryName + "/" + libraryName + ".dat"))); - - } - - return cachedXFLLibraries.get (libraryName).createMovieClip (symbolName); - - } - - #end - - } else { - - trace ("[nme.Assets] There is no asset library named \"" + libraryName + "\""); - - } - - return null; - - } - - - public static function getResourceName (id:String):String { - - initialize (); - - return resourceNames.get (id); - - } - - - public static function getSound (id:String):Sound { - - initialize (); - - if (resourceNames.exists(id) && resourceTypes.exists (id)) { - - if (resourceTypes.get (id).toLowerCase () == "sound") { - - return new Sound (new URLRequest (resourceNames.get(id))); - - } else if (resourceTypes.get (id).toLowerCase () == "music") { - - return new Sound (new URLRequest (resourceNames.get(id))); - - } - - } - - trace ("[nme.Assets] There is no Sound asset with an ID of \"" + id + "\""); - - return null; - - } - - - public static function getText (id:String):String { - - initialize (); - - if (resourceNames.exists(id) && resourceTypes.exists (id)) { - - if (resourceTypes.get (id).toLowerCase () == "text") { - - return ApplicationMain.urlLoaders.get (resourceNames.get(id)).data; - - } - - } - - var bytes = getBytes (id); - return null; - - } - - - //public static function loadBitmapData(id:String, handler:BitmapData -> Void, useCache:Bool = true):BitmapData - //{ - //return null; - //} - // - // - //public static function loadBytes(id:String, handler:ByteArray -> Void):ByteArray - //{ - //return null; - //} - // - // - //public static function loadText(id:String, handler:String -> Void):String - //{ - //return null; - //} - - - private static function resolveClass (name:String):Class { - - name = StringTools.replace (name, "native.", "browser."); - return Type.resolveClass (name); - - } - - - private static function resolveEnum (name:String):Enum { - - name = StringTools.replace (name, "native.", "browser."); - return Type.resolveEnum (name); - - } - - -} \ No newline at end of file diff --git a/examples/ebook/bin/html5/haxe/release.hxml b/examples/ebook/bin/html5/haxe/release.hxml deleted file mode 100644 index 2405a7d..0000000 --- a/examples/ebook/bin/html5/haxe/release.hxml +++ /dev/null @@ -1,26 +0,0 @@ --main ApplicationMain --cp /usr/lib/haxe/lib/lime/2,4,4 --D lime=2.4.4 --cp /usr/lib/haxe/lib/glory/git/src --D glory --cp /usr/lib/haxe/lib/actuate/1,8,6 --D actuate=1.8.6 --cp /usr/lib/haxe/lib/svg/1,0,8 --D svg=1.0.8 --cp /usr/lib/haxe/lib/openfl/3,1,0 --D openfl=3.1.0 --cp src --D openfl-next --D tools=2.4.4 --D no-compilation --D lime-opengl --D openfl-html5 --D canvas --D lime-html5 --D html5 --D web ---remap flash:openfl --js bin/html5/bin/GloryDemo.js --cp bin/html5/haxe --D html5 ---macro allowPackage("flash") \ No newline at end of file diff --git a/examples/ebook/bin/ios/Default-568h@2x.png b/examples/ebook/bin/ios/Default-568h@2x.png deleted file mode 100644 index 0891b7a..0000000 Binary files a/examples/ebook/bin/ios/Default-568h@2x.png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo.xcodeproj/project.pbxproj b/examples/ebook/bin/ios/GloryDemo.xcodeproj/project.pbxproj deleted file mode 100644 index e233742..0000000 --- a/examples/ebook/bin/ios/GloryDemo.xcodeproj/project.pbxproj +++ /dev/null @@ -1,443 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 1E2E17AD131E8B5D0048F3C7 /* GloryDemo/assets in Resources */ = {isa = PBXBuildFile; fileRef = 1E2E17A5131E8B5D0048F3C7 /* GloryDemo/assets */; }; - 1EEEBA9B121AF1C60048A9DF /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1EEEBA9A121AF1C60048A9DF /* UIKit.framework */; }; - 1EEEBAA3121AF2210048A9DF /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1EEEBAA2121AF2210048A9DF /* OpenAL.framework */; }; - 1EEEBAA5121AF2210048A9DF /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1EEEBAA4121AF2210048A9DF /* OpenGLES.framework */; }; - 1EEEBAA7121AF2210048A9DF /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1EEEBAA6121AF2210048A9DF /* QuartzCore.framework */; }; - 1EEEBAB3121AF2880048A9DF /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1EEEBAB2121AF2880048A9DF /* CoreAudio.framework */; }; - 1EEEBAB5121AF2880048A9DF /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1EEEBAB4121AF2880048A9DF /* CoreGraphics.framework */; }; - 1EEEBAFC121BE2980048A9DF /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1EEEBAFB121BE2980048A9DF /* AudioToolbox.framework */; }; - 1EEEBAFE121BE2980048A9DF /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1EEEBAFD121BE2980048A9DF /* AVFoundation.framework */; }; - 1EEEBB00121BE2B30048A9DF /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1EEEBAFF121BE2B30048A9DF /* Foundation.framework */; }; - 1EF0A83A000000001C000001 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 1EF0A83900000001C0000001 /* Icon.png */; }; - 1EF0A83A000000001C000002 /* Icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 1EF0A83900000001C0000002 /* Icon@2x.png */; }; - 1EF0A83A000000001C000003 /* Icon-72.png in Resources */ = {isa = PBXBuildFile; fileRef = 1EF0A83900000001C0000003 /* Icon-72.png */; }; - 1EF0A83A000000001C000004 /* Icon-72@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 1EF0A83900000001C0000004 /* Icon-72@2x.png */; }; - 1EF0A83A121ADB8E003F2F59 /* Main.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1EF0A839121ADB8E003F2F59 /* Main.mm */; }; - 9D13CC2216A8672E0012BB79 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 9D13CC2116A8672E0012BB79 /* Default-568h@2x.png */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 1EF0A882121AE1D2003F2F59 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */; - proxyType = 1; - remoteGlobalIDString = 1EF0A87F121AE1CE003F2F59; - remoteInfo = "Build Haxe"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 1D6058910D05DD3D006BFB54 /* GloryDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GloryDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 1E2E17A5131E8B5D0048F3C7 /* GloryDemo/assets */ = {isa = PBXFileReference; lastKnownFileType = folder; path = GloryDemo/assets; sourceTree = ""; }; - 1E2E17A5141E8B5D0048F3C7 /* GloryDemo/haxe/build */ = {isa = PBXFileReference; lastKnownFileType = folder; path = GloryDemo/haxe/build; sourceTree = SOURCE_ROOT; }; - 1EEEBA9A121AF1C60048A9DF /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; - 1EEEBAA2121AF2210048A9DF /* OpenAL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenAL.framework; path = System/Library/Frameworks/OpenAL.framework; sourceTree = SDKROOT; }; - 1EEEBAA4121AF2210048A9DF /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; }; - 1EEEBAA6121AF2210048A9DF /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; - 1EEEBAB2121AF2880048A9DF /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; }; - 1EEEBAB4121AF2880048A9DF /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; - 1EEEBAFB121BE2980048A9DF /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; - 1EEEBAFD121BE2980048A9DF /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; - 1EEEBAFF121BE2B30048A9DF /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; - 1EF0A83900000001C0000001 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = SOURCE_ROOT; }; - 1EF0A83900000001C0000002 /* Icon@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon@2x.png"; sourceTree = SOURCE_ROOT; }; - 1EF0A83900000001C0000003 /* Icon-72.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-72.png"; sourceTree = SOURCE_ROOT; }; - 1EF0A83900000001C0000004 /* Icon-72@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-72@2x.png"; sourceTree = SOURCE_ROOT; }; - 1EF0A839121ADB8E003F2F59 /* Main.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Main.mm; path = GloryDemo/Classes/Main.mm; sourceTree = SOURCE_ROOT; }; - 8D1107310486CEB800E47090 /* GloryDemo/GloryDemo-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GloryDemo/GloryDemo-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = ""; }; - 9D13CC2116A8672E0012BB79 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 1EEEBA9B121AF1C60048A9DF /* UIKit.framework in Frameworks */, - 1EEEBAA3121AF2210048A9DF /* OpenAL.framework in Frameworks */, - 1EEEBAA5121AF2210048A9DF /* OpenGLES.framework in Frameworks */, - 1EEEBAA7121AF2210048A9DF /* QuartzCore.framework in Frameworks */, - 1EEEBAB3121AF2880048A9DF /* CoreAudio.framework in Frameworks */, - 1EEEBAB5121AF2880048A9DF /* CoreGraphics.framework in Frameworks */, - 1EEEBAFC121BE2980048A9DF /* AudioToolbox.framework in Frameworks */, - 1EEEBAFE121BE2980048A9DF /* AVFoundation.framework in Frameworks */, - 1EEEBB00121BE2B30048A9DF /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 080E96DDFE201D6D7F000001 /* Classes */ = { - isa = PBXGroup; - children = ( - 1EF0A839121ADB8E003F2F59 /* Main.mm */, - ); - path = Classes; - sourceTree = ""; - }; - 19C28FACFE9D520D11CA2CBB /* Products */ = { - isa = PBXGroup; - children = ( - 1D6058910D05DD3D006BFB54 /* GloryDemo.app */, - ); - name = Products; - sourceTree = ""; - }; - 1EEEBA99121AF18B0048A9DF /* Frameworks */ = { - isa = PBXGroup; - children = ( - 1EEEBA9A121AF1C60048A9DF /* UIKit.framework */, - 1EEEBAA2121AF2210048A9DF /* OpenAL.framework */, - 1EEEBAA4121AF2210048A9DF /* OpenGLES.framework */, - 1EEEBAA6121AF2210048A9DF /* QuartzCore.framework */, - 1EEEBAB2121AF2880048A9DF /* CoreAudio.framework */, - 1EEEBAB4121AF2880048A9DF /* CoreGraphics.framework */, - 1EEEBAFF121BE2B30048A9DF /* Foundation.framework */, - 1EEEBAFB121BE2980048A9DF /* AudioToolbox.framework */, - 1EEEBAFD121BE2980048A9DF /* AVFoundation.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { - isa = PBXGroup; - children = ( - 9D13CC2116A8672E0012BB79 /* Default-568h@2x.png */, - 1EEEBA99121AF18B0048A9DF /* Frameworks */, - 080E96DDFE201D6D7F000001 /* Classes */, - 29B97315FDCFA39411CA2CEA /* Other Sources */, - 29B97317FDCFA39411CA2CEA /* Resources */, - 19C28FACFE9D520D11CA2CBB /* Products */, - ); - name = CustomTemplate; - sourceTree = ""; - }; - 29B97315FDCFA39411CA2CEA /* Other Sources */ = { - isa = PBXGroup; - children = ( - 1E2E17A5141E8B5D0048F3C7 /* GloryDemo/haxe/build */, - ); - name = "Other Sources"; - sourceTree = ""; - }; - 29B97317FDCFA39411CA2CEA /* Resources */ = { - isa = PBXGroup; - children = ( - 8D1107310486CEB800E47090 /* GloryDemo/GloryDemo-Info.plist */, - 1E2E17A5131E8B5D0048F3C7 /* GloryDemo/assets */, - 1EF0A83900000001C0000001 /* Icon.png */, - 1EF0A83900000001C0000002 /* Icon@2x.png */, - 1EF0A83900000001C0000003 /* Icon-72.png */, - 1EF0A83900000001C0000004 /* Icon-72@2x.png */, - ); - name = Resources; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXLegacyTarget section */ - 1EF0A87F121AE1CE003F2F59 /* Build Haxe */ = { - isa = PBXLegacyTarget; - buildArgumentsString = ""; - buildConfigurationList = 1EF0A885121AE21C003F2F59 /* Build configuration list for PBXLegacyTarget "Build Haxe" */; - buildPhases = ( - ); - buildToolPath = make; - buildWorkingDirectory = GloryDemo/haxe; - dependencies = ( - ); - name = "Build Haxe"; - passBuildSettingsInEnvironment = 1; - productName = "Build Haxe"; - }; -/* End PBXLegacyTarget section */ - -/* Begin PBXNativeTarget section */ - 1D6058900D05DD3D006BFB54 /* GloryDemo */ = { - isa = PBXNativeTarget; - buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "GloryDemo" */; - buildPhases = ( - 1D60588D0D05DD3D006BFB54 /* Resources */, - 1D60588E0D05DD3D006BFB54 /* Sources */, - 1D60588F0D05DD3D006BFB54 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - 1EF0A883121AE1D2003F2F59 /* PBXTargetDependency */, - ); - name = GloryDemo; - productName = "Glory Framework Demo"; - productReference = 1D6058910D05DD3D006BFB54 /* GloryDemo.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 29B97313FDCFA39411CA2CEA /* Project object */ = { - isa = PBXProject; - buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "GloryDemo" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 1; - knownRegions = ( - en, - ); - mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 1D6058900D05DD3D006BFB54 /* GloryDemo */, - 1EF0A87F121AE1CE003F2F59 /* Build Haxe */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 1D60588D0D05DD3D006BFB54 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 1E2E17AD131E8B5D0048F3C7 /* GloryDemo/assets in Resources */, - 1EF0A83A000000001C000001 /* Icon.png in Resources */, - 1EF0A83A000000001C000002 /* Icon@2x.png in Resources */, - 1EF0A83A000000001C000003 /* Icon-72.png in Resources */, - 1EF0A83A000000001C000004 /* Icon-72@2x.png in Resources */, - 9D13CC2216A8672E0012BB79 /* Default-568h@2x.png in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 1D60588E0D05DD3D006BFB54 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 1EF0A83A121ADB8E003F2F59 /* Main.mm in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 1EF0A883121AE1D2003F2F59 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 1EF0A87F121AE1CE003F2F59 /* Build Haxe */; - targetProxy = 1EF0A882121AE1D2003F2F59 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 1D6058940D05DD3E006BFB54 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "GloryDemo/GloryDemo-Prefix.pch"; - INFOPLIST_FILE = "GloryDemo/GloryDemo-Info.plist"; - "LIBRARY_SEARCH_PATHS[arch=armv6]" = ( - "$(inherited)", - "\"$(SRCROOT)/GloryDemo/lib/armv6-debug\"", - "\"$(SRCROOT)/GloryDemo/lib/armv6\"", - ); - "LIBRARY_SEARCH_PATHS[arch=armv7]" = ( - "$(inherited)", - "\"$(SRCROOT)/GloryDemo/lib/armv7-debug\"", - "\"$(SRCROOT)/GloryDemo/lib/armv7\"", - ); - "LIBRARY_SEARCH_PATHS[sdk=iphonesimulator*]" = ( - "$(inherited)", - "\"$(SRCROOT)/GloryDemo/lib/i386-debug\"", - "\"$(SRCROOT)/GloryDemo/lib/i386\"", - ); - OTHER_LDFLAGS = ( - "-lstd", - "-lregexp", - "-lzlib", - "-lnme", - "-lnme", - "-lcurl_ssl", - "-lpng", - "-ljpeg", - "-lz", - "-lApplicationMain", - ); - PRODUCT_NAME = "$(TARGET_NAME)"; - WRAPPER_EXTENSION = app; - }; - name = Debug; - }; - 1D6058950D05DD3E006BFB54 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "GloryDemo/GloryDemo-Prefix.pch"; - INFOPLIST_FILE = "GloryDemo/GloryDemo-Info.plist"; - "LIBRARY_SEARCH_PATHS[arch=armv6]" = ( - "$(inherited)", - "\"$(SRCROOT)/GloryDemo/lib/armv6\"", - ); - "LIBRARY_SEARCH_PATHS[arch=armv7]" = ( - "$(inherited)", - "\"$(SRCROOT)/GloryDemo/lib/armv7\"", - ); - "LIBRARY_SEARCH_PATHS[sdk=iphonesimulator*]" = ( - "$(inherited)", - "\"$(SRCROOT)/GloryDemo/lib/i386\"", - ); - OTHER_LDFLAGS = ( - "-lstd", - "-lregexp", - "-lzlib", - "-lnme", - "-lnme", - "-lcurl_ssl", - "-lpng", - "-ljpeg", - "-lz", - "-lApplicationMain", - ); - PRODUCT_NAME = "$(TARGET_NAME)"; - WRAPPER_EXTENSION = app; - }; - name = Release; - }; - 1EF0A880121AE1CE003F2F59 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - }; - name = Debug; - }; - 1EF0A881121AE1CE003F2F59 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - ZERO_LINK = NO; - }; - name = Release; - }; - C01FCF4F08A954540054247B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = ( - armv6, - armv7, - ); - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_THUMB_SUPPORT = NO; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 3.2; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALID_ARCHS = "armv6 armv7 i386"; - }; - name = Debug; - }; - C01FCF5008A954540054247B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = ( - armv6, - armv7, - ); - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_THUMB_SUPPORT = NO; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 3.2; - OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VALID_ARCHS = "armv6 armv7 i386"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "GloryDemo" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 1D6058940D05DD3E006BFB54 /* Debug */, - 1D6058950D05DD3E006BFB54 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 1EF0A885121AE21C003F2F59 /* Build configuration list for PBXLegacyTarget "Build Haxe" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 1EF0A880121AE1CE003F2F59 /* Debug */, - 1EF0A881121AE1CE003F2F59 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C01FCF4E08A954540054247B /* Build configuration list for PBXProject "GloryDemo" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C01FCF4F08A954540054247B /* Debug */, - C01FCF5008A954540054247B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; -} diff --git a/examples/ebook/bin/ios/GloryDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/examples/ebook/bin/ios/GloryDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 2e7409f..0000000 --- a/examples/ebook/bin/ios/GloryDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/examples/ebook/bin/ios/GloryDemo.xcodeproj/project.xcworkspace/xcuserdata/allan.xcuserdatad/UserInterfaceState.xcuserstate b/examples/ebook/bin/ios/GloryDemo.xcodeproj/project.xcworkspace/xcuserdata/allan.xcuserdatad/UserInterfaceState.xcuserstate deleted file mode 100644 index 25187c4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo.xcodeproj/project.xcworkspace/xcuserdata/allan.xcuserdatad/UserInterfaceState.xcuserstate and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo.xcodeproj/xcuserdata/allan.xcuserdatad/xcschemes/Build Haxe.xcscheme b/examples/ebook/bin/ios/GloryDemo.xcodeproj/xcuserdata/allan.xcuserdatad/xcschemes/Build Haxe.xcscheme deleted file mode 100644 index 3829121..0000000 --- a/examples/ebook/bin/ios/GloryDemo.xcodeproj/xcuserdata/allan.xcuserdatad/xcschemes/Build Haxe.xcscheme +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/ebook/bin/ios/GloryDemo.xcodeproj/xcuserdata/allan.xcuserdatad/xcschemes/GloryDemo.xcscheme b/examples/ebook/bin/ios/GloryDemo.xcodeproj/xcuserdata/allan.xcuserdatad/xcschemes/GloryDemo.xcscheme deleted file mode 100644 index a5744d1..0000000 --- a/examples/ebook/bin/ios/GloryDemo.xcodeproj/xcuserdata/allan.xcuserdatad/xcschemes/GloryDemo.xcscheme +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/ebook/bin/ios/GloryDemo.xcodeproj/xcuserdata/allan.xcuserdatad/xcschemes/xcschememanagement.plist b/examples/ebook/bin/ios/GloryDemo.xcodeproj/xcuserdata/allan.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index c268410..0000000 --- a/examples/ebook/bin/ios/GloryDemo.xcodeproj/xcuserdata/allan.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,32 +0,0 @@ - - - - - SchemeUserState - - Build Haxe.xcscheme - - orderHint - 1 - - GloryDemo.xcscheme - - orderHint - 0 - - - SuppressBuildableAutocreation - - 1D6058900D05DD3D006BFB54 - - primary - - - 1EF0A87F121AE1CE003F2F59 - - primary - - - - - diff --git a/examples/ebook/bin/ios/GloryDemo/Classes/Main.mm b/examples/ebook/bin/ios/GloryDemo/Classes/Main.mm deleted file mode 100644 index 9c069c8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/Classes/Main.mm +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Main.mm - * - * Boot code for NME. - * - */ - -#include - -extern "C" const char *hxRunLibrary(); -extern "C" void hxcpp_set_top_of_stack(); - - - - extern "C" int std_register_prims(); - - - - extern "C" int regexp_register_prims(); - - - - extern "C" int zlib_register_prims(); - - - - extern "C" int nme_register_prims(); - - - - extern "C" int nme_register_prims(); - - - - - - - - - - - -extern "C" int main(int argc, char *argv[]) -{ - //printf("Starting ...\n" ); - hxcpp_set_top_of_stack(); - - - - std_register_prims(); - - - - regexp_register_prims(); - - - - zlib_register_prims(); - - - - nme_register_prims(); - - - - nme_register_prims(); - - - - - - - - - - - - //printf("Running\n"); - - const char *err = NULL; - err = hxRunLibrary(); - if (err) { - printf(" Error %s\n", err ); - return -1; - } - - //printf("Done!\n"); - return 0; -} diff --git a/examples/ebook/bin/ios/GloryDemo/GloryDemo-Entitlements.plist b/examples/ebook/bin/ios/GloryDemo/GloryDemo-Entitlements.plist deleted file mode 100644 index 929c4e9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/GloryDemo-Entitlements.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - get-task-allow - - - \ No newline at end of file diff --git a/examples/ebook/bin/ios/GloryDemo/GloryDemo-Info.plist b/examples/ebook/bin/ios/GloryDemo/GloryDemo-Info.plist deleted file mode 100644 index 0e96e86..0000000 --- a/examples/ebook/bin/ios/GloryDemo/GloryDemo-Info.plist +++ /dev/null @@ -1,57 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - ${PRODUCT_NAME} - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIconFile - Icon.png - CFBundleIcons - - CFBundlePrimaryIcon - - CFBundleIconFiles - - - Icon.png - Icon@2x.png - Icon-72.png - Icon-72@2x.png - - - - UIPrerenderedIcon - - - - CFBundleIdentifier - ca.confidant.gloryDemo - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - APPL - CFBundleSignature - ???? - CFBundleVersion - 30 - CFBundleShortVersionString - 1.0.0 - LSRequiresIPhoneOS - - UIStatusBarHidden - - - UISupportedInterfaceOrientations - UIInterfaceOrientationLandscapeLeftUIInterfaceOrientationLandscapeRight - UIRequiredDeviceCapabilities - - - - - diff --git a/examples/ebook/bin/ios/GloryDemo/GloryDemo-Prefix.pch b/examples/ebook/bin/ios/GloryDemo/GloryDemo-Prefix.pch deleted file mode 100644 index cdada74..0000000 --- a/examples/ebook/bin/ios/GloryDemo/GloryDemo-Prefix.pch +++ /dev/null @@ -1,14 +0,0 @@ -// -// Prefix header for all source files of the 'GloryDemo' target in the 'GloryDemo' project -// - -#import - -#ifndef __IPHONE_3_0 -#warning "This project uses features only available in iOS SDK 3.0 and later." -#endif - -#ifdef __OBJC__ - #import - #import -#endif diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_closex_svg b/examples/ebook/bin/ios/GloryDemo/assets/assets_closex_svg deleted file mode 100644 index 42f3766..0000000 --- a/examples/ebook/bin/ios/GloryDemo/assets/assets_closex_svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_config_xml b/examples/ebook/bin/ios/GloryDemo/assets/assets_config_xml deleted file mode 100644 index e238180..0000000 --- a/examples/ebook/bin/ios/GloryDemo/assets/assets_config_xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_duck_svg b/examples/ebook/bin/ios/GloryDemo/assets/assets_duck_svg deleted file mode 100644 index 9bcf9ad..0000000 --- a/examples/ebook/bin/ios/GloryDemo/assets/assets_duck_svg +++ /dev/null @@ -1,322 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_easyxml_jpg b/examples/ebook/bin/ios/GloryDemo/assets/assets_easyxml_jpg deleted file mode 100644 index f2bccf7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_easyxml_jpg and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_heres_the_deal_jpg b/examples/ebook/bin/ios/GloryDemo/assets/assets_heres_the_deal_jpg deleted file mode 100644 index 791d1c5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_heres_the_deal_jpg and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_bhome_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_bhome_png deleted file mode 100644 index 0c67705..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_bhome_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_bleft_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_bleft_png deleted file mode 100644 index 562b608..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_bleft_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_boptions_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_boptions_png deleted file mode 100644 index 0f487a1..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_boptions_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_bright_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_bright_png deleted file mode 100644 index 109b446..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_bright_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_close_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_close_png deleted file mode 100644 index 44c755b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_close_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_panleft_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_panleft_png deleted file mode 100644 index 4628e8a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_panleft_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_panright_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_panright_png deleted file mode 100644 index b268477..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_nav_panright_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_nme_svg b/examples/ebook/bin/ios/GloryDemo/assets/assets_nme_svg deleted file mode 100644 index cd02515..0000000 --- a/examples/ebook/bin/ios/GloryDemo/assets/assets_nme_svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_options_actor_0000_background_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_options_actor_0000_background_png deleted file mode 100644 index a5cd9fe..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_options_actor_0000_background_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_options_actor_0001_duck_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_options_actor_0001_duck_png deleted file mode 100644 index c2e4f5c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_options_actor_0001_duck_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_options_actor_0002_home_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_options_actor_0002_home_png deleted file mode 100644 index 24521cb..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_options_actor_0002_home_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_options_actor_0003_cow_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_options_actor_0003_cow_png deleted file mode 100644 index b0d8eed..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_options_actor_0003_cow_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_options_actor_0004_easyxml_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_options_actor_0004_easyxml_png deleted file mode 100644 index 3152baf..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_options_actor_0004_easyxml_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_options_actor_0005_limerick_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_options_actor_0005_limerick_png deleted file mode 100644 index 39c5435..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_options_actor_0005_limerick_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_options_choose_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_options_choose_png deleted file mode 100644 index 1279f09..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_options_choose_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_options_options_jpg b/examples/ebook/bin/ios/GloryDemo/assets/assets_options_options_jpg deleted file mode 100644 index ad75122..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_options_options_jpg and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_limerickpcm_wav b/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_limerickpcm_wav deleted file mode 100644 index 7d10a7a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_limerickpcm_wav and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0000_bg_jpg b/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0000_bg_jpg deleted file mode 100644 index 783cf08..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0000_bg_jpg and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0001_skin_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0001_skin_png deleted file mode 100644 index 4064571..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0001_skin_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0002_hose_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0002_hose_png deleted file mode 100644 index 595a505..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0002_hose_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0003_pants_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0003_pants_png deleted file mode 100644 index a3e86b4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0003_pants_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0004_flameshoe_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0004_flameshoe_png deleted file mode 100644 index 943c945..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0004_flameshoe_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0005_shoe_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0005_shoe_png deleted file mode 100644 index 3dc2d44..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0005_shoe_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0006_shirt_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0006_shirt_png deleted file mode 100644 index e773e98..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0006_shirt_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0007_truck_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0007_truck_png deleted file mode 100644 index a33ea92..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0007_truck_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0008_firemen_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0008_firemen_png deleted file mode 100644 index 935350f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0008_firemen_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0009_can_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0009_can_png deleted file mode 100644 index 56f843b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0009_can_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0010_bw_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0010_bw_png deleted file mode 100644 index 2c2a605..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0010_bw_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0011_text_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0011_text_png deleted file mode 100644 index b1d1e5b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_p1_pageobject_0011_text_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_p2_actor1_bw_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_p2_actor1_bw_png deleted file mode 100644 index 97b7bda..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_p2_actor1_bw_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_p2_actor1_clr_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_p2_actor1_clr_png deleted file mode 100644 index 678bf78..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_p2_actor1_clr_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_p2_p2a_jpg b/examples/ebook/bin/ios/GloryDemo/assets/assets_p2_p2a_jpg deleted file mode 100644 index bff0681..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_p2_p2a_jpg and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_p2_p2b_jpg b/examples/ebook/bin/ios/GloryDemo/assets/assets_p2_p2b_jpg deleted file mode 100644 index dfa326a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_p2_p2b_jpg and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_speaker_png b/examples/ebook/bin/ios/GloryDemo/assets/assets_speaker_png deleted file mode 100644 index a796c62..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_speaker_png and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_title_star_svg b/examples/ebook/bin/ios/GloryDemo/assets/assets_title_star_svg deleted file mode 100644 index 63c6c69..0000000 --- a/examples/ebook/bin/ios/GloryDemo/assets/assets_title_star_svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - diff --git a/examples/ebook/bin/ios/GloryDemo/assets/assets_title_title_jpg b/examples/ebook/bin/ios/GloryDemo/assets/assets_title_title_jpg deleted file mode 100644 index 0a90b49..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/assets/assets_title_title_jpg and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/ApplicationMain.hx b/examples/ebook/bin/ios/GloryDemo/haxe/ApplicationMain.hx deleted file mode 100644 index 4c3a698..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/ApplicationMain.hx +++ /dev/null @@ -1,330 +0,0 @@ -class ApplicationMain -{ - - public static function main() - { - nme.Lib.setPackage("Confidant Communications", "GloryDemo", "ca.confidant.gloryDemo", "1.0.0"); - - - nme.display.Stage.shouldRotateInterface = function(orientation:Int):Bool - { - - if (orientation == nme.display.Stage.OrientationLandscapeLeft || orientation == nme.display.Stage.OrientationLandscapeRight) - { - return true; - } - return false; - - } - - nme.Lib.create(function() - { - if (960 == 0 && 640 == 0) - { - nme.Lib.current.stage.align = nme.display.StageAlign.TOP_LEFT; - nme.Lib.current.stage.scaleMode = nme.display.StageScaleMode.NO_SCALE; - } - - // Need to wait for resize for the stage size to reflect properly - - nme.Lib.current.stage.addEventListener (nme.events.Event.RESIZE, initialize); - }, - 960, 640, - 30, - 0xfff6e2, - (true ? nme.Lib.HARDWARE : 0) | - (false ? nme.Lib.ALLOW_SHADERS : 0) | - (false ? nme.Lib.RESIZABLE : 0) | - (1 == 4 ? nme.Lib.HW_AA_HIRES : 0) | - (1 == 2 ? nme.Lib.HW_AA : 0), - "Glory Framework Demo" - ); - - } - - - private static function initialize (event:nme.events.Event):Void - { - nme.Lib.current.stage.removeEventListener (nme.events.Event.RESIZE, initialize); - - var hasMain = false; - - for (methodName in Type.getClassFields(Main)) - { - if (methodName == "main") - { - hasMain = true; - break; - } - } - - if (hasMain) - { - Reflect.callMethod (Main, Reflect.field (Main, "main"), []); - } - else - { - nme.Lib.current.addChild(cast (Type.createInstance(Main, []), nme.display.DisplayObject)); - } - } - - - public static function getAsset(inName:String):Dynamic - { - - if (inName == "assets/closeX.svg") - { - - return nme.Assets.getText ("assets/closeX.svg"); - - } - - if (inName == "assets/config.xml") - { - - return nme.Assets.getText ("assets/config.xml"); - - } - - if (inName == "assets/duck.svg") - { - - return nme.Assets.getText ("assets/duck.svg"); - - } - - if (inName == "assets/easyXML.jpg") - { - - return nme.Assets.getBitmapData ("assets/easyXML.jpg"); - - } - - if (inName == "assets/heres-the-deal.jpg") - { - - return nme.Assets.getBitmapData ("assets/heres-the-deal.jpg"); - - } - - if (inName == "assets/nav/bHome.png") - { - - return nme.Assets.getBitmapData ("assets/nav/bHome.png"); - - } - - if (inName == "assets/nav/bLeft.png") - { - - return nme.Assets.getBitmapData ("assets/nav/bLeft.png"); - - } - - if (inName == "assets/nav/bOptions.png") - { - - return nme.Assets.getBitmapData ("assets/nav/bOptions.png"); - - } - - if (inName == "assets/nav/bRight.png") - { - - return nme.Assets.getBitmapData ("assets/nav/bRight.png"); - - } - - if (inName == "assets/nav/close.png") - { - - return nme.Assets.getBitmapData ("assets/nav/close.png"); - - } - - if (inName == "assets/nav/panLeft.png") - { - - return nme.Assets.getBitmapData ("assets/nav/panLeft.png"); - - } - - if (inName == "assets/nav/panRight.png") - { - - return nme.Assets.getBitmapData ("assets/nav/panRight.png"); - - } - - if (inName == "assets/nme.svg") - { - - return nme.Assets.getText ("assets/nme.svg"); - - } - - if (inName == "assets/options/actor_0000_background.png") - { - - return nme.Assets.getBitmapData ("assets/options/actor_0000_background.png"); - - } - - if (inName == "assets/options/actor_0001_duck.png") - { - - return nme.Assets.getBitmapData ("assets/options/actor_0001_duck.png"); - - } - - if (inName == "assets/options/actor_0002_home.png") - { - - return nme.Assets.getBitmapData ("assets/options/actor_0002_home.png"); - - } - - if (inName == "assets/options/actor_0003_cow.png") - { - - return nme.Assets.getBitmapData ("assets/options/actor_0003_cow.png"); - - } - - if (inName == "assets/options/actor_0004_easyXML.png") - { - - return nme.Assets.getBitmapData ("assets/options/actor_0004_easyXML.png"); - - } - - if (inName == "assets/options/actor_0005_limerick.png") - { - - return nme.Assets.getBitmapData ("assets/options/actor_0005_limerick.png"); - - } - - if (inName == "assets/options/choose.png") - { - - return nme.Assets.getBitmapData ("assets/options/choose.png"); - - } - - if (inName == "assets/p1/limerickPCM.wav") - { - - return nme.Assets.getSound ("assets/p1/limerickPCM.wav"); - - } - - if (inName == "assets/p1/pageObject_0000_bg.jpg") - { - - return nme.Assets.getBitmapData ("assets/p1/pageObject_0000_bg.jpg"); - - } - - if (inName == "assets/p1/pageObject_0001_skin.png") - { - - return nme.Assets.getBitmapData ("assets/p1/pageObject_0001_skin.png"); - - } - - if (inName == "assets/p1/pageObject_0002_hose.png") - { - - return nme.Assets.getBitmapData ("assets/p1/pageObject_0002_hose.png"); - - } - - if (inName == "assets/p1/pageObject_0003_pants.png") - { - - return nme.Assets.getBitmapData ("assets/p1/pageObject_0003_pants.png"); - - } - - if (inName == "assets/p1/pageObject_0004_flameshoe.png") - { - - return nme.Assets.getBitmapData ("assets/p1/pageObject_0004_flameshoe.png"); - - } - - if (inName == "assets/p1/pageObject_0005_shoe.png") - { - - return nme.Assets.getBitmapData ("assets/p1/pageObject_0005_shoe.png"); - - } - - if (inName == "assets/p1/pageObject_0006_shirt.png") - { - - return nme.Assets.getBitmapData ("assets/p1/pageObject_0006_shirt.png"); - - } - - if (inName == "assets/p1/pageObject_0007_truck.png") - { - - return nme.Assets.getBitmapData ("assets/p1/pageObject_0007_truck.png"); - - } - - if (inName == "assets/p1/pageObject_0008_firemen.png") - { - - return nme.Assets.getBitmapData ("assets/p1/pageObject_0008_firemen.png"); - - } - - if (inName == "assets/p1/pageObject_0009_can.png") - { - - return nme.Assets.getBitmapData ("assets/p1/pageObject_0009_can.png"); - - } - - if (inName == "assets/p1/pageObject_0010_bw.png") - { - - return nme.Assets.getBitmapData ("assets/p1/pageObject_0010_bw.png"); - - } - - if (inName == "assets/p1/pageObject_0011_text.png") - { - - return nme.Assets.getBitmapData ("assets/p1/pageObject_0011_text.png"); - - } - - if (inName == "assets/speaker.png") - { - - return nme.Assets.getBitmapData ("assets/speaker.png"); - - } - - if (inName == "assets/title/star.svg") - { - - return nme.Assets.getText ("assets/title/star.svg"); - - } - - if (inName == "assets/title/title.jpg") - { - - return nme.Assets.getBitmapData ("assets/title/title.jpg"); - - } - - return null; - } - -} \ No newline at end of file diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/Build.hxml b/examples/ebook/bin/ios/GloryDemo/haxe/Build.hxml deleted file mode 100644 index 0e4a506..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/Build.hxml +++ /dev/null @@ -1,11 +0,0 @@ --main ApplicationMain --D nme_install_tool --cp /Users/allan/git/Glory-Framework/Glory-Framework --cp /Users/allan/git/Glory-Framework/Glory-Framework/src --lib nme --lib actuate --lib svg --D mobile --D iphone --D ios ---remap flash:nme \ No newline at end of file diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/ApplicationMain-debug.iphonesim.a b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/ApplicationMain-debug.iphonesim.a deleted file mode 100644 index 1bc167f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/ApplicationMain-debug.iphonesim.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/Build.xml b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/Build.xml deleted file mode 100644 index 3e821ec..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/Build.xml +++ /dev/null @@ -1,1994 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/Options.txt b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/Options.txt deleted file mode 100644 index ac820d2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/Options.txt +++ /dev/null @@ -1,17 +0,0 @@ -HXCPP_CLANG -OBJC_ARC -actuate -cpp -haxe_208 -haxe_209 -haxe_210 -ios -iphone -mobile -nme -nme_install_tool -simulator -svg -sys -true -/usr/lib/haxe/lib/hxcpp/2,10/ \ No newline at end of file diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ApplicationMain.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ApplicationMain.h deleted file mode 100644 index de027d0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ApplicationMain.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef INCLUDED_ApplicationMain -#define INCLUDED_ApplicationMain - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(ApplicationMain) -HX_DECLARE_CLASS2(native,events,Event) - - -class ApplicationMain_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef ApplicationMain_obj OBJ_; - ApplicationMain_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ApplicationMain_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ApplicationMain_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ApplicationMain"); } - - static Void main( ); - static Dynamic main_dyn(); - - static Void initialize( ::native::events::Event event); - static Dynamic initialize_dyn(); - - static Dynamic getAsset( ::String inName); - static Dynamic getAsset_dyn(); - -}; - - -#endif /* INCLUDED_ApplicationMain */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Date.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Date.h deleted file mode 100644 index 0f3a2b2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Date.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef INCLUDED_Date -#define INCLUDED_Date - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Date) - - -class Date_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Date_obj OBJ_; - Date_obj(); - Void __construct(int year,int month,int day,int hour,int min,int sec); - - public: - static hx::ObjectPtr< Date_obj > __new(int year,int month,int day,int hour,int min,int sec); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Date_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Date"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual int getDay( ); - Dynamic getDay_dyn(); - - virtual int getDate( ); - Dynamic getDate_dyn(); - - virtual int getMonth( ); - Dynamic getMonth_dyn(); - - virtual int getFullYear( ); - Dynamic getFullYear_dyn(); - - virtual int getSeconds( ); - Dynamic getSeconds_dyn(); - - virtual int getMinutes( ); - Dynamic getMinutes_dyn(); - - virtual int getHours( ); - Dynamic getHours_dyn(); - - virtual Float getTime( ); - Dynamic getTime_dyn(); - - Float mSeconds; /* REM */ - static ::Date now( ); - static Dynamic now_dyn(); - - static ::Date fromTime( Float t); - static Dynamic fromTime_dyn(); - - static ::Date fromString( ::String s); - static Dynamic fromString_dyn(); - -}; - - -#endif /* INCLUDED_Date */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/EReg.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/EReg.h deleted file mode 100644 index 791f261..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/EReg.h +++ /dev/null @@ -1,69 +0,0 @@ -#ifndef INCLUDED_EReg -#define INCLUDED_EReg - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(EReg) - - -class EReg_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef EReg_obj OBJ_; - EReg_obj(); - Void __construct(::String r,::String opt); - - public: - static hx::ObjectPtr< EReg_obj > __new(::String r,::String opt); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~EReg_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("EReg"); } - - virtual ::String customReplace( ::String s,Dynamic f); - Dynamic customReplace_dyn(); - - virtual ::String replace( ::String s,::String by); - Dynamic replace_dyn(); - - virtual Array< ::String > split( ::String s); - Dynamic split_dyn(); - - virtual Dynamic matchedPos( ); - Dynamic matchedPos_dyn(); - - virtual ::String matchedRight( ); - Dynamic matchedRight_dyn(); - - virtual ::String matchedLeft( ); - Dynamic matchedLeft_dyn(); - - virtual ::String matched( int n); - Dynamic matched_dyn(); - - virtual bool match( ::String s); - Dynamic match_dyn(); - - bool global; /* REM */ - ::String last; /* REM */ - Dynamic r; /* REM */ - static Dynamic regexp_new_options; /* REM */ - static Dynamic ®exp_new_options_dyn() { return regexp_new_options;} - static Dynamic regexp_match; /* REM */ - static Dynamic ®exp_match_dyn() { return regexp_match;} - static Dynamic regexp_matched; /* REM */ - static Dynamic ®exp_matched_dyn() { return regexp_matched;} - static Dynamic regexp_matched_pos; /* REM */ - static Dynamic ®exp_matched_pos_dyn() { return regexp_matched_pos;} -}; - - -#endif /* INCLUDED_EReg */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Hash.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Hash.h deleted file mode 100644 index cadca89..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Hash.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef INCLUDED_Hash -#define INCLUDED_Hash - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Hash) - - -class Hash_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Hash_obj OBJ_; - Hash_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Hash_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Hash_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Hash"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Dynamic iterator( ); - Dynamic iterator_dyn(); - - virtual Dynamic keys( ); - Dynamic keys_dyn(); - - virtual bool remove( ::String key); - Dynamic remove_dyn(); - - virtual bool exists( ::String key); - Dynamic exists_dyn(); - - virtual Dynamic get( ::String key); - Dynamic get_dyn(); - - virtual Void set( ::String key,Dynamic value); - Dynamic set_dyn(); - - Dynamic __Internal; /* REM */ -}; - - -#endif /* INCLUDED_Hash */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/IntHash.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/IntHash.h deleted file mode 100644 index 7489ef2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/IntHash.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef INCLUDED_IntHash -#define INCLUDED_IntHash - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(IntHash) - - -class IntHash_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef IntHash_obj OBJ_; - IntHash_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< IntHash_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~IntHash_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("IntHash"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Dynamic iterator( ); - Dynamic iterator_dyn(); - - virtual Dynamic keys( ); - Dynamic keys_dyn(); - - virtual bool remove( int key); - Dynamic remove_dyn(); - - virtual bool exists( int key); - Dynamic exists_dyn(); - - virtual Dynamic get( int key); - Dynamic get_dyn(); - - virtual Void set( int key,Dynamic value); - Dynamic set_dyn(); - - Dynamic h; /* REM */ -}; - - -#endif /* INCLUDED_IntHash */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/IntIter.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/IntIter.h deleted file mode 100644 index 8659e4f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/IntIter.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_IntIter -#define INCLUDED_IntIter - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(IntIter) - - -class IntIter_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef IntIter_obj OBJ_; - IntIter_obj(); - Void __construct(int min,int max); - - public: - static hx::ObjectPtr< IntIter_obj > __new(int min,int max); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~IntIter_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("IntIter"); } - - virtual int next( ); - Dynamic next_dyn(); - - virtual bool hasNext( ); - Dynamic hasNext_dyn(); - - int max; /* REM */ - int min; /* REM */ -}; - - -#endif /* INCLUDED_IntIter */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/List.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/List.h deleted file mode 100644 index 2c63624..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/List.h +++ /dev/null @@ -1,76 +0,0 @@ -#ifndef INCLUDED_List -#define INCLUDED_List - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(List) - - -class List_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef List_obj OBJ_; - List_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< List_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~List_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("List"); } - - virtual ::List map( Dynamic f); - Dynamic map_dyn(); - - virtual ::List filter( Dynamic f); - Dynamic filter_dyn(); - - virtual ::String join( ::String sep); - Dynamic join_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Dynamic iterator( ); - Dynamic iterator_dyn(); - - virtual bool remove( Dynamic v); - Dynamic remove_dyn(); - - virtual Void clear( ); - Dynamic clear_dyn(); - - virtual bool isEmpty( ); - Dynamic isEmpty_dyn(); - - virtual Dynamic pop( ); - Dynamic pop_dyn(); - - virtual Dynamic last( ); - Dynamic last_dyn(); - - virtual Dynamic first( ); - Dynamic first_dyn(); - - virtual Void push( Dynamic item); - Dynamic push_dyn(); - - virtual Void add( Dynamic item); - Dynamic add_dyn(); - - int length; /* REM */ - Dynamic q; /* REM */ - Dynamic h; /* REM */ -}; - - -#endif /* INCLUDED_List */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Main.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Main.h deleted file mode 100644 index 53fb722..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Main.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef INCLUDED_Main -#define INCLUDED_Main - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Main) -HX_DECLARE_CLASS3(ca,confidant,glory,GloryFrameworkApp) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,Sprite) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) - - -class Main_obj : public ::ca::confidant::glory::GloryFrameworkApp_obj{ - public: - typedef ::ca::confidant::glory::GloryFrameworkApp_obj super; - typedef Main_obj OBJ_; - Main_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Main_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Main_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Main"); } - - static Void main( ); - static Dynamic main_dyn(); - - static Void myTrace( Dynamic v,Dynamic inf); - static Dynamic myTrace_dyn(); - -}; - - -#endif /* INCLUDED_Main */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Reflect.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Reflect.h deleted file mode 100644 index ee0004f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Reflect.h +++ /dev/null @@ -1,76 +0,0 @@ -#ifndef INCLUDED_Reflect -#define INCLUDED_Reflect - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Reflect) - - -class Reflect_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Reflect_obj OBJ_; - Reflect_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Reflect_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Reflect_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Reflect"); } - - static bool hasField( Dynamic o,::String field); - static Dynamic hasField_dyn(); - - static Dynamic field( Dynamic o,::String field); - static Dynamic field_dyn(); - - static Void setField( Dynamic o,::String field,Dynamic value); - static Dynamic setField_dyn(); - - static Dynamic getProperty( Dynamic o,::String field); - static Dynamic getProperty_dyn(); - - static Void setProperty( Dynamic o,::String field,Dynamic value); - static Dynamic setProperty_dyn(); - - static Dynamic callMethod( Dynamic o,Dynamic func,Dynamic args); - static Dynamic callMethod_dyn(); - - static Array< ::String > fields( Dynamic o); - static Dynamic fields_dyn(); - - static bool isFunction( Dynamic f); - static Dynamic isFunction_dyn(); - - static int compare( Dynamic a,Dynamic b); - static Dynamic compare_dyn(); - - static bool compareMethods( Dynamic f1,Dynamic f2); - static Dynamic compareMethods_dyn(); - - static bool isObject( Dynamic v); - static Dynamic isObject_dyn(); - - static bool deleteField( Dynamic o,::String f); - static Dynamic deleteField_dyn(); - - static Dynamic copy( Dynamic o); - static Dynamic copy_dyn(); - - static Dynamic makeVarArgs( Dynamic f); - static Dynamic makeVarArgs_dyn(); - -}; - - -#endif /* INCLUDED_Reflect */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Std.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Std.h deleted file mode 100644 index 2a591cb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Std.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef INCLUDED_Std -#define INCLUDED_Std - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Std) - - -class Std_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Std_obj OBJ_; - Std_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Std_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Std_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Std"); } - - static bool is( Dynamic v,Dynamic t); - static Dynamic is_dyn(); - - static ::String string( Dynamic s); - static Dynamic string_dyn(); - - static int _int( Float x); - static Dynamic _int_dyn(); - - static Dynamic parseInt( ::String x); - static Dynamic parseInt_dyn(); - - static Float parseFloat( ::String x); - static Dynamic parseFloat_dyn(); - - static int random( int x); - static Dynamic random_dyn(); - -}; - - -#endif /* INCLUDED_Std */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/StringBuf.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/StringBuf.h deleted file mode 100644 index abf34b1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/StringBuf.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_StringBuf -#define INCLUDED_StringBuf - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(StringBuf) - - -class StringBuf_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef StringBuf_obj OBJ_; - StringBuf_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< StringBuf_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~StringBuf_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("StringBuf"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void addChar( int c); - Dynamic addChar_dyn(); - - virtual Void addSub( ::String s,int pos,Dynamic len); - Dynamic addSub_dyn(); - - virtual Void add( Dynamic x); - Dynamic add_dyn(); - - Dynamic b; /* REM */ -}; - - -#endif /* INCLUDED_StringBuf */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/StringTools.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/StringTools.h deleted file mode 100644 index eb6db32..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/StringTools.h +++ /dev/null @@ -1,82 +0,0 @@ -#ifndef INCLUDED_StringTools -#define INCLUDED_StringTools - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(StringTools) - - -class StringTools_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef StringTools_obj OBJ_; - StringTools_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< StringTools_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~StringTools_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("StringTools"); } - - static ::String urlEncode( ::String s); - static Dynamic urlEncode_dyn(); - - static ::String urlDecode( ::String s); - static Dynamic urlDecode_dyn(); - - static ::String htmlEscape( ::String s); - static Dynamic htmlEscape_dyn(); - - static ::String htmlUnescape( ::String s); - static Dynamic htmlUnescape_dyn(); - - static bool startsWith( ::String s,::String start); - static Dynamic startsWith_dyn(); - - static bool endsWith( ::String s,::String end); - static Dynamic endsWith_dyn(); - - static bool isSpace( ::String s,int pos); - static Dynamic isSpace_dyn(); - - static ::String ltrim( ::String s); - static Dynamic ltrim_dyn(); - - static ::String rtrim( ::String s); - static Dynamic rtrim_dyn(); - - static ::String trim( ::String s); - static Dynamic trim_dyn(); - - static ::String rpad( ::String s,::String c,int l); - static Dynamic rpad_dyn(); - - static ::String lpad( ::String s,::String c,int l); - static Dynamic lpad_dyn(); - - static ::String replace( ::String s,::String sub,::String by); - static Dynamic replace_dyn(); - - static ::String hex( int n,Dynamic digits); - static Dynamic hex_dyn(); - - static int fastCodeAt( ::String s,int index); - static Dynamic fastCodeAt_dyn(); - - static bool isEOF( int c); - static Dynamic isEOF_dyn(); - -}; - - -#endif /* INCLUDED_StringTools */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Sys.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Sys.h deleted file mode 100644 index 89c9333..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Sys.h +++ /dev/null @@ -1,134 +0,0 @@ -#ifndef INCLUDED_Sys -#define INCLUDED_Sys - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS0(Sys) -HX_DECLARE_CLASS2(haxe,io,Input) -HX_DECLARE_CLASS2(haxe,io,Output) - - -class Sys_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Sys_obj OBJ_; - Sys_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Sys_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Sys_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Sys"); } - - static Void print( Dynamic v); - static Dynamic print_dyn(); - - static Void println( Dynamic v); - static Dynamic println_dyn(); - - static ::haxe::io::Input _stdin( ); - static Dynamic _stdin_dyn(); - - static ::haxe::io::Output _stdout( ); - static Dynamic _stdout_dyn(); - - static ::haxe::io::Output _stderr( ); - static Dynamic _stderr_dyn(); - - static int getChar( bool echo); - static Dynamic getChar_dyn(); - - static Array< ::String > args( ); - static Dynamic args_dyn(); - - static ::String getEnv( ::String s); - static Dynamic getEnv_dyn(); - - static Void putEnv( ::String s,::String v); - static Dynamic putEnv_dyn(); - - static Void sleep( Float seconds); - static Dynamic sleep_dyn(); - - static bool setTimeLocale( ::String loc); - static Dynamic setTimeLocale_dyn(); - - static ::String getCwd( ); - static Dynamic getCwd_dyn(); - - static Void setCwd( ::String s); - static Dynamic setCwd_dyn(); - - static ::String systemName( ); - static Dynamic systemName_dyn(); - - static ::String escapeArgument( ::String arg); - static Dynamic escapeArgument_dyn(); - - static int command( ::String cmd,Array< ::String > args); - static Dynamic command_dyn(); - - static Void exit( int code); - static Dynamic exit_dyn(); - - static Float time( ); - static Dynamic time_dyn(); - - static Float cpuTime( ); - static Dynamic cpuTime_dyn(); - - static ::String executablePath( ); - static Dynamic executablePath_dyn(); - - static ::Hash environment( ); - static Dynamic environment_dyn(); - - static Dynamic get_env; /* REM */ - static Dynamic &get_env_dyn() { return get_env;} - static Dynamic put_env; /* REM */ - static Dynamic &put_env_dyn() { return put_env;} - static Dynamic _sleep; /* REM */ - static Dynamic &_sleep_dyn() { return _sleep;} - static Dynamic set_time_locale; /* REM */ - static Dynamic &set_time_locale_dyn() { return set_time_locale;} - static Dynamic get_cwd; /* REM */ - static Dynamic &get_cwd_dyn() { return get_cwd;} - static Dynamic set_cwd; /* REM */ - static Dynamic &set_cwd_dyn() { return set_cwd;} - static Dynamic sys_string; /* REM */ - static Dynamic &sys_string_dyn() { return sys_string;} - static Dynamic sys_command; /* REM */ - static Dynamic &sys_command_dyn() { return sys_command;} - static Dynamic sys_exit; /* REM */ - static Dynamic &sys_exit_dyn() { return sys_exit;} - static Dynamic sys_time; /* REM */ - static Dynamic &sys_time_dyn() { return sys_time;} - static Dynamic sys_cpu_time; /* REM */ - static Dynamic &sys_cpu_time_dyn() { return sys_cpu_time;} - static Dynamic sys_exe_path; /* REM */ - static Dynamic &sys_exe_path_dyn() { return sys_exe_path;} - static Dynamic sys_env; /* REM */ - static Dynamic &sys_env_dyn() { return sys_env;} - static Dynamic file_stdin; /* REM */ - static Dynamic &file_stdin_dyn() { return file_stdin;} - static Dynamic file_stdout; /* REM */ - static Dynamic &file_stdout_dyn() { return file_stdout;} - static Dynamic file_stderr; /* REM */ - static Dynamic &file_stderr_dyn() { return file_stderr;} - static Dynamic getch; /* REM */ - static Dynamic &getch_dyn() { return getch;} -}; - - -#endif /* INCLUDED_Sys */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Type.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Type.h deleted file mode 100644 index 47bd30c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Type.h +++ /dev/null @@ -1,95 +0,0 @@ -#ifndef INCLUDED_Type -#define INCLUDED_Type - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Type) -HX_DECLARE_CLASS0(ValueType) - - -class Type_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Type_obj OBJ_; - Type_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Type_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Type_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Type"); } - - static ::Class getClass( Dynamic o); - static Dynamic getClass_dyn(); - - static ::Enum getEnum( Dynamic o); - static Dynamic getEnum_dyn(); - - static ::Class getSuperClass( ::Class c); - static Dynamic getSuperClass_dyn(); - - static ::String getClassName( ::Class c); - static Dynamic getClassName_dyn(); - - static ::String getEnumName( ::Enum e); - static Dynamic getEnumName_dyn(); - - static ::Class resolveClass( ::String name); - static Dynamic resolveClass_dyn(); - - static ::Enum resolveEnum( ::String name); - static Dynamic resolveEnum_dyn(); - - static Dynamic createInstance( ::Class cl,Dynamic args); - static Dynamic createInstance_dyn(); - - static Dynamic createEmptyInstance( ::Class cl); - static Dynamic createEmptyInstance_dyn(); - - static Dynamic createEnum( ::Enum e,::String constr,Dynamic params); - static Dynamic createEnum_dyn(); - - static Dynamic createEnumIndex( ::Enum e,int index,Dynamic params); - static Dynamic createEnumIndex_dyn(); - - static Array< ::String > getInstanceFields( ::Class c); - static Dynamic getInstanceFields_dyn(); - - static Array< ::String > getClassFields( ::Class c); - static Dynamic getClassFields_dyn(); - - static Array< ::String > getEnumConstructs( ::Enum e); - static Dynamic getEnumConstructs_dyn(); - - static ::ValueType _typeof( Dynamic v); - static Dynamic _typeof_dyn(); - - static bool enumEq( Dynamic a,Dynamic b); - static Dynamic enumEq_dyn(); - - static ::String enumConstructor( Dynamic e); - static Dynamic enumConstructor_dyn(); - - static Dynamic enumParameters( Dynamic e); - static Dynamic enumParameters_dyn(); - - static int enumIndex( Dynamic e); - static Dynamic enumIndex_dyn(); - - static Dynamic allEnums( ::Enum e); - static Dynamic allEnums_dyn(); - -}; - - -#endif /* INCLUDED_Type */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ValueType.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ValueType.h deleted file mode 100644 index 356e1bd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ValueType.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef INCLUDED_ValueType -#define INCLUDED_ValueType - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(ValueType) - - -class ValueType_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef ValueType_obj OBJ_; - - public: - ValueType_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("ValueType"); } - ::String __ToString() const { return HX_CSTRING("ValueType.") + tag; } - - static ::ValueType TBool; - static inline ::ValueType TBool_dyn() { return TBool; } - static ::ValueType TClass(::Class c); - static Dynamic TClass_dyn(); - static ::ValueType TEnum(::Enum e); - static Dynamic TEnum_dyn(); - static ::ValueType TFloat; - static inline ::ValueType TFloat_dyn() { return TFloat; } - static ::ValueType TFunction; - static inline ::ValueType TFunction_dyn() { return TFunction; } - static ::ValueType TInt; - static inline ::ValueType TInt_dyn() { return TInt; } - static ::ValueType TNull; - static inline ::ValueType TNull_dyn() { return TNull; } - static ::ValueType TObject; - static inline ::ValueType TObject_dyn() { return TObject; } - static ::ValueType TUnknown; - static inline ::ValueType TUnknown_dyn() { return TUnknown; } -}; - - -#endif /* INCLUDED_ValueType */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Xml.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Xml.h deleted file mode 100644 index 6c52c51..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/Xml.h +++ /dev/null @@ -1,141 +0,0 @@ -#ifndef INCLUDED_Xml -#define INCLUDED_Xml - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(StringBuf) -HX_DECLARE_CLASS0(Type) -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS0(XmlType) - - -class Xml_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Xml_obj OBJ_; - Xml_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Xml_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Xml_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - static void __init__(); - - ::String __ToString() const { return HX_CSTRING("Xml"); } - - virtual Void toStringRec( ::StringBuf s); - Dynamic toStringRec_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void insertChild( ::Xml x,int pos); - Dynamic insertChild_dyn(); - - virtual bool removeChild( ::Xml x); - Dynamic removeChild_dyn(); - - virtual Void addChild( ::Xml x); - Dynamic addChild_dyn(); - - virtual ::Xml firstElement( ); - Dynamic firstElement_dyn(); - - virtual ::Xml firstChild( ); - Dynamic firstChild_dyn(); - - virtual Dynamic elementsNamed( ::String name); - Dynamic elementsNamed_dyn(); - - virtual Dynamic elements( ); - Dynamic elements_dyn(); - - virtual Dynamic iterator( ); - Dynamic iterator_dyn(); - - virtual Dynamic attributes( ); - Dynamic attributes_dyn(); - - virtual bool exists( ::String att); - Dynamic exists_dyn(); - - virtual Void remove( ::String att); - Dynamic remove_dyn(); - - virtual Void set( ::String att,::String value); - Dynamic set_dyn(); - - virtual ::String get( ::String att); - Dynamic get_dyn(); - - virtual ::Xml getParent( ); - Dynamic getParent_dyn(); - - ::Xml parent; /* REM */ - virtual ::String setNodeValue( ::String v); - Dynamic setNodeValue_dyn(); - - virtual ::String getNodeValue( ); - Dynamic getNodeValue_dyn(); - - virtual ::String setNodeName( ::String n); - Dynamic setNodeName_dyn(); - - virtual ::String getNodeName( ); - Dynamic getNodeName_dyn(); - - ::String nodeValue; /* REM */ - ::String nodeName; /* REM */ - ::XmlType nodeType; /* REM */ - ::Xml _parent; /* REM */ - Array< ::Xml > _children; /* REM */ - Dynamic _attributes; /* REM */ - ::String _nodeValue; /* REM */ - ::String _nodeName; /* REM */ - static ::XmlType Element; /* REM */ - static ::XmlType PCData; /* REM */ - static ::XmlType CData; /* REM */ - static ::XmlType Comment; /* REM */ - static ::XmlType DocType; /* REM */ - static ::XmlType Prolog; /* REM */ - static ::XmlType Document; /* REM */ - static Dynamic _parse; /* REM */ - static Dynamic &_parse_dyn() { return _parse;} - static ::Xml parse( ::String str); - static Dynamic parse_dyn(); - - static ::Xml createElement( ::String name); - static Dynamic createElement_dyn(); - - static ::Xml createPCData( ::String data); - static Dynamic createPCData_dyn(); - - static ::Xml createCData( ::String data); - static Dynamic createCData_dyn(); - - static ::Xml createComment( ::String data); - static Dynamic createComment_dyn(); - - static ::Xml createDocType( ::String data); - static Dynamic createDocType_dyn(); - - static ::Xml createProlog( ::String data); - static Dynamic createProlog_dyn(); - - static ::Xml createDocument( ); - static Dynamic createDocument_dyn(); - -}; - - -#endif /* INCLUDED_Xml */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/XmlType.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/XmlType.h deleted file mode 100644 index bf57b58..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/XmlType.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef INCLUDED_XmlType -#define INCLUDED_XmlType - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(XmlType) - - -class XmlType_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef XmlType_obj OBJ_; - - public: - XmlType_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("XmlType"); } - ::String __ToString() const { return HX_CSTRING("XmlType.") + tag; } - -}; - - -#endif /* INCLUDED_XmlType */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/ApplicationFacade.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/ApplicationFacade.h deleted file mode 100644 index 4b054c7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/ApplicationFacade.h +++ /dev/null @@ -1,85 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_ApplicationFacade -#define INCLUDED_ca_confidant_glory_ApplicationFacade - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS3(ca,confidant,glory,ApplicationFacade) -HX_DECLARE_CLASS3(ca,confidant,glory,GloryFrameworkApp) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,Sprite) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IFacade) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,facade,Facade) -namespace ca{ -namespace confidant{ -namespace glory{ - - -class ApplicationFacade_obj : public ::org::puremvc::haxe::patterns::facade::Facade_obj{ - public: - typedef ::org::puremvc::haxe::patterns::facade::Facade_obj super; - typedef ApplicationFacade_obj OBJ_; - ApplicationFacade_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ApplicationFacade_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ApplicationFacade_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ApplicationFacade"); } - - virtual Void startup( ::ca::confidant::glory::GloryFrameworkApp app); - Dynamic startup_dyn(); - - virtual Void initializeController( ); - - static ::String STARTUP; /* REM */ - static ::String MESSAGE; /* REM */ - static ::String INIT_XML_LOAD; /* REM */ - static ::String ASSETS_LOADED; /* REM */ - static ::String PAGES_CONFIG_READY; /* REM */ - static ::String CALL_EXTERNAL_FUNCTION; /* REM */ - static ::String CONSOLE_LOG; /* REM */ - static ::String STAGE_RESIZE; /* REM */ - static ::String SET_ACTIVE_WIDGET; /* REM */ - static ::String SET_CONTENT; /* REM */ - static ::String BUILD_PAGE; /* REM */ - static ::String REMOVE_PAGE; /* REM */ - static ::String BUILD_CONTROLS; /* REM */ - static ::String CHANGE_PAGE; /* REM */ - static ::String HTTP_LINK; /* REM */ - static ::String TIMER_TICK; /* REM */ - static ::String TIMER_ENABLE; /* REM */ - static ::String TIMER_DISABLE; /* REM */ - static ::String PAN_LEFT; /* REM */ - static ::String PAN_RIGHT; /* REM */ - static ::String PAN_STOP; /* REM */ - static ::String TOGGLE_OPTIONS; /* REM */ - static ::String PLAY_SOUND; /* REM */ - static ::String INIT_PAGE_SOUNDS; /* REM */ - static ::String DESTROY_PAGE_SOUNDS; /* REM */ - static ::ca::confidant::glory::ApplicationFacade instance; /* REM */ - static ::ca::confidant::glory::ApplicationFacade getInstance( ); - static Dynamic getInstance_dyn(); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory - -#endif /* INCLUDED_ca_confidant_glory_ApplicationFacade */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/GloryFrameworkApp.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/GloryFrameworkApp.h deleted file mode 100644 index c24b5ef..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/GloryFrameworkApp.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#define INCLUDED_ca_confidant_glory_GloryFrameworkApp - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS3(ca,confidant,glory,GloryFrameworkApp) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,Sprite) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -namespace ca{ -namespace confidant{ -namespace glory{ - - -class GloryFrameworkApp_obj : public ::native::display::Sprite_obj{ - public: - typedef ::native::display::Sprite_obj super; - typedef GloryFrameworkApp_obj OBJ_; - GloryFrameworkApp_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< GloryFrameworkApp_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GloryFrameworkApp_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GloryFrameworkApp"); } - - virtual Void displayMessage( ::String m); - Dynamic displayMessage_dyn(); - - static Void main( ); - static Dynamic main_dyn(); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory - -#endif /* INCLUDED_ca_confidant_glory_GloryFrameworkApp */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/Tracer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/Tracer.h deleted file mode 100644 index 6009c8d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/Tracer.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_Tracer -#define INCLUDED_ca_confidant_glory_Tracer - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS3(ca,confidant,glory,Tracer) -namespace ca{ -namespace confidant{ -namespace glory{ - - -class Tracer_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Tracer_obj OBJ_; - Tracer_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Tracer_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Tracer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Tracer"); } - - static Void setRedirection( ); - static Dynamic setRedirection_dyn(); - - static Void customTrace( Dynamic v,Dynamic inf); - static Dynamic customTrace_dyn(); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory - -#endif /* INCLUDED_ca_confidant_glory_Tracer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/BuildControlsCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/BuildControlsCommand.h deleted file mode 100644 index b5be9bb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/BuildControlsCommand.h +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_BuildControlsCommand -#define INCLUDED_ca_confidant_glory_controller_BuildControlsCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,BuildControlsCommand) -HX_DECLARE_CLASS4(ca,confidant,glory,model,ControlsRegistryProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,model,LoaderProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,model,PagesConfigProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,view,ApplicationMediator) -HX_DECLARE_CLASS2(haxe,xml,Fast) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class BuildControlsCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef BuildControlsCommand_obj OBJ_; - BuildControlsCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< BuildControlsCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BuildControlsCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BuildControlsCommand"); } - - virtual Void makeControl( ::haxe::xml::Fast actor); - Dynamic makeControl_dyn(); - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - - ::ca::confidant::glory::model::LoaderProxy lp; /* REM */ - ::ca::confidant::glory::view::ApplicationMediator appMediator; /* REM */ - ::ca::confidant::glory::model::ControlsRegistryProxy csp; /* REM */ - ::ca::confidant::glory::model::PagesConfigProxy pcp; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_BuildControlsCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/BuildPageCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/BuildPageCommand.h deleted file mode 100644 index 9340000..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/BuildPageCommand.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_BuildPageCommand -#define INCLUDED_ca_confidant_glory_controller_BuildPageCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,BuildPageCommand) -HX_DECLARE_CLASS4(ca,confidant,glory,model,LoaderProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,model,PagesConfigProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,view,ApplicationMediator) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ActorComponent) -HX_DECLARE_CLASS2(haxe,xml,Fast) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,Sprite) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class BuildPageCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef BuildPageCommand_obj OBJ_; - BuildPageCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< BuildPageCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BuildPageCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BuildPageCommand"); } - - virtual ::ca::confidant::glory::view::components::ActorComponent makeActor( ::haxe::xml::Fast actor); - Dynamic makeActor_dyn(); - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - - ::ca::confidant::glory::model::LoaderProxy lp; /* REM */ - ::ca::confidant::glory::view::ApplicationMediator appMediator; /* REM */ - ::ca::confidant::glory::model::PagesConfigProxy pcp; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_BuildPageCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/ChangePageCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/ChangePageCommand.h deleted file mode 100644 index 0d8ee7c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/ChangePageCommand.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_ChangePageCommand -#define INCLUDED_ca_confidant_glory_controller_ChangePageCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,ChangePageCommand) -HX_DECLARE_CLASS4(ca,confidant,glory,model,PagesConfigProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,view,ApplicationMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class ChangePageCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef ChangePageCommand_obj OBJ_; - ChangePageCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ChangePageCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ChangePageCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ChangePageCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - - ::ca::confidant::glory::view::ApplicationMediator appMediator; /* REM */ - ::ca::confidant::glory::model::PagesConfigProxy pcp; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_ChangePageCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/DestroyPageSoundsCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/DestroyPageSoundsCommand.h deleted file mode 100644 index 5465d71..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/DestroyPageSoundsCommand.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_DestroyPageSoundsCommand -#define INCLUDED_ca_confidant_glory_controller_DestroyPageSoundsCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,DestroyPageSoundsCommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class DestroyPageSoundsCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef DestroyPageSoundsCommand_obj OBJ_; - DestroyPageSoundsCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< DestroyPageSoundsCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~DestroyPageSoundsCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("DestroyPageSoundsCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_DestroyPageSoundsCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/GotoIntroCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/GotoIntroCommand.h deleted file mode 100644 index 3d6f0c3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/GotoIntroCommand.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_GotoIntroCommand -#define INCLUDED_ca_confidant_glory_controller_GotoIntroCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,GotoIntroCommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class GotoIntroCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef GotoIntroCommand_obj OBJ_; - GotoIntroCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< GotoIntroCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GotoIntroCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GotoIntroCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_GotoIntroCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/HandleAssetsLoadedCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/HandleAssetsLoadedCommand.h deleted file mode 100644 index 6fec6de..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/HandleAssetsLoadedCommand.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_HandleAssetsLoadedCommand -#define INCLUDED_ca_confidant_glory_controller_HandleAssetsLoadedCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,HandleAssetsLoadedCommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class HandleAssetsLoadedCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef HandleAssetsLoadedCommand_obj OBJ_; - HandleAssetsLoadedCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< HandleAssetsLoadedCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~HandleAssetsLoadedCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("HandleAssetsLoadedCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_HandleAssetsLoadedCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/InitPageSoundsCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/InitPageSoundsCommand.h deleted file mode 100644 index b51db3e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/InitPageSoundsCommand.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_InitPageSoundsCommand -#define INCLUDED_ca_confidant_glory_controller_InitPageSoundsCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,InitPageSoundsCommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class InitPageSoundsCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef InitPageSoundsCommand_obj OBJ_; - InitPageSoundsCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< InitPageSoundsCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~InitPageSoundsCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("InitPageSoundsCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_InitPageSoundsCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/RemovePageCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/RemovePageCommand.h deleted file mode 100644 index 6f1d81c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/RemovePageCommand.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_RemovePageCommand -#define INCLUDED_ca_confidant_glory_controller_RemovePageCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,RemovePageCommand) -HX_DECLARE_CLASS4(ca,confidant,glory,model,ControlsRegistryProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,model,PagesConfigProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,view,ApplicationMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class RemovePageCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef RemovePageCommand_obj OBJ_; - RemovePageCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< RemovePageCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~RemovePageCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("RemovePageCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - - ::ca::confidant::glory::model::ControlsRegistryProxy crp; /* REM */ - ::ca::confidant::glory::view::ApplicationMediator appMediator; /* REM */ - ::ca::confidant::glory::model::PagesConfigProxy pcp; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_RemovePageCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/Startup0_RegCommands_Command.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/Startup0_RegCommands_Command.h deleted file mode 100644 index 689b095..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/Startup0_RegCommands_Command.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_Startup0_RegCommands_Command -#define INCLUDED_ca_confidant_glory_controller_Startup0_RegCommands_Command - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,Startup0_RegCommands_Command) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class Startup0_RegCommands_Command_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef Startup0_RegCommands_Command_obj OBJ_; - Startup0_RegCommands_Command_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Startup0_RegCommands_Command_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Startup0_RegCommands_Command_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Startup0_RegCommands_Command"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_Startup0_RegCommands_Command */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/Startup1_App_Command.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/Startup1_App_Command.h deleted file mode 100644 index 3f83790..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/Startup1_App_Command.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_Startup1_App_Command -#define INCLUDED_ca_confidant_glory_controller_Startup1_App_Command - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,Startup1_App_Command) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class Startup1_App_Command_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef Startup1_App_Command_obj OBJ_; - Startup1_App_Command_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Startup1_App_Command_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Startup1_App_Command_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Startup1_App_Command"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_Startup1_App_Command */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/Startup2_Proxies_Command.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/Startup2_Proxies_Command.h deleted file mode 100644 index 019d65e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/Startup2_Proxies_Command.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_Startup2_Proxies_Command -#define INCLUDED_ca_confidant_glory_controller_Startup2_Proxies_Command - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,Startup2_Proxies_Command) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class Startup2_Proxies_Command_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef Startup2_Proxies_Command_obj OBJ_; - Startup2_Proxies_Command_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Startup2_Proxies_Command_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Startup2_Proxies_Command_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Startup2_Proxies_Command"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_Startup2_Proxies_Command */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/StartupCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/StartupCommand.h deleted file mode 100644 index 94eab63..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/StartupCommand.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_StartupCommand -#define INCLUDED_ca_confidant_glory_controller_StartupCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,StartupCommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,MacroCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class StartupCommand_obj : public ::org::puremvc::haxe::patterns::command::MacroCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::MacroCommand_obj super; - typedef StartupCommand_obj OBJ_; - StartupCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< StartupCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~StartupCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("StartupCommand"); } - - virtual Void initializeMacroCommand( ); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_StartupCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/TimerDisableCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/TimerDisableCommand.h deleted file mode 100644 index b7e344b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/TimerDisableCommand.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_TimerDisableCommand -#define INCLUDED_ca_confidant_glory_controller_TimerDisableCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,TimerDisableCommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class TimerDisableCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef TimerDisableCommand_obj OBJ_; - TimerDisableCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< TimerDisableCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TimerDisableCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TimerDisableCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_TimerDisableCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/TimerEnableCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/TimerEnableCommand.h deleted file mode 100644 index adcb3c8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/controller/TimerEnableCommand.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_TimerEnableCommand -#define INCLUDED_ca_confidant_glory_controller_TimerEnableCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,TimerEnableCommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class TimerEnableCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef TimerEnableCommand_obj OBJ_; - TimerEnableCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< TimerEnableCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TimerEnableCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TimerEnableCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_TimerEnableCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/model/ActorComponentConfigProxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/model/ActorComponentConfigProxy.h deleted file mode 100644 index 0b872eb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/model/ActorComponentConfigProxy.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_model_ActorComponentConfigProxy -#define INCLUDED_ca_confidant_glory_model_ActorComponentConfigProxy - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,model,ActorComponentConfigProxy) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - - -class ActorComponentConfigProxy_obj : public ::org::puremvc::haxe::patterns::proxy::Proxy_obj{ - public: - typedef ::org::puremvc::haxe::patterns::proxy::Proxy_obj super; - typedef ActorComponentConfigProxy_obj OBJ_; - ActorComponentConfigProxy_obj(); - Void __construct(::String id,::String theType,::String __o_theAction); - - public: - static hx::ObjectPtr< ActorComponentConfigProxy_obj > __new(::String id,::String theType,::String __o_theAction); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ActorComponentConfigProxy_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ActorComponentConfigProxy"); } - - ::String action; /* REM */ - ::String type; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model - -#endif /* INCLUDED_ca_confidant_glory_model_ActorComponentConfigProxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/model/ControlsRegistryProxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/model/ControlsRegistryProxy.h deleted file mode 100644 index b13ef94..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/model/ControlsRegistryProxy.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy -#define INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,model,ControlsRegistryProxy) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - - -class ControlsRegistryProxy_obj : public ::org::puremvc::haxe::patterns::proxy::Proxy_obj{ - public: - typedef ::org::puremvc::haxe::patterns::proxy::Proxy_obj super; - typedef ControlsRegistryProxy_obj OBJ_; - ControlsRegistryProxy_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ControlsRegistryProxy_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ControlsRegistryProxy_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ControlsRegistryProxy"); } - - virtual Void registerControl( ::native::display::DisplayObject d); - Dynamic registerControl_dyn(); - - virtual Array< ::native::display::DisplayObject > getControls( ); - Dynamic getControls_dyn(); - - Array< ::native::display::DisplayObject > controls; /* REM */ - int currentPage; /* REM */ - static ::String NAME; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model - -#endif /* INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/model/LoaderProxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/model/LoaderProxy.h deleted file mode 100644 index ffd2af8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/model/LoaderProxy.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#define INCLUDED_ca_confidant_glory_model_LoaderProxy - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS4(ca,confidant,glory,model,LoaderProxy) -HX_DECLARE_CLASS2(native,display,BitmapData) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - - -class LoaderProxy_obj : public ::org::puremvc::haxe::patterns::proxy::Proxy_obj{ - public: - typedef ::org::puremvc::haxe::patterns::proxy::Proxy_obj super; - typedef LoaderProxy_obj OBJ_; - LoaderProxy_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< LoaderProxy_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~LoaderProxy_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("LoaderProxy"); } - - virtual Void loadAllAssets( ); - Dynamic loadAllAssets_dyn(); - - virtual ::native::display::BitmapData getBitmapData( ::String id,hx::Null< bool > b); - Dynamic getBitmapData_dyn(); - - virtual ::String getText( ::String id); - Dynamic getText_dyn(); - - virtual Dynamic retrieveLoadedAsset( ::String key); - Dynamic retrieveLoadedAsset_dyn(); - - virtual Void loadXML( ::String src); - Dynamic loadXML_dyn(); - - ::Hash loadedItems; /* REM */ - static ::String NAME; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model - -#endif /* INCLUDED_ca_confidant_glory_model_LoaderProxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/model/PagesConfigProxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/model/PagesConfigProxy.h deleted file mode 100644 index 57e2ced..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/model/PagesConfigProxy.h +++ /dev/null @@ -1,116 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#define INCLUDED_ca_confidant_glory_model_PagesConfigProxy - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS0(List) -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS4(ca,confidant,glory,model,PagesConfigProxy) -HX_DECLARE_CLASS2(haxe,xml,Fast) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - - -class PagesConfigProxy_obj : public ::org::puremvc::haxe::patterns::proxy::Proxy_obj{ - public: - typedef ::org::puremvc::haxe::patterns::proxy::Proxy_obj super; - typedef PagesConfigProxy_obj OBJ_; - PagesConfigProxy_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< PagesConfigProxy_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~PagesConfigProxy_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("PagesConfigProxy"); } - - virtual ::Xml pagesXML( ); - Dynamic pagesXML_dyn(); - - virtual Dynamic getConfigXML( int i); - Dynamic getConfigXML_dyn(); - - virtual Void parseXML( ); - Dynamic parseXML_dyn(); - - virtual int numpages( ); - Dynamic numpages_dyn(); - - virtual Dynamic getPosition( int i); - Dynamic getPosition_dyn(); - - virtual ::Hash getPage( ::String pageId); - Dynamic getPage_dyn(); - - virtual ::String getActorHref( ::String controlId); - Dynamic getActorHref_dyn(); - - virtual ::String getControlHref( ::String controlId); - Dynamic getControlHref_dyn(); - - virtual ::List getAppControls( ); - Dynamic getAppControls_dyn(); - - virtual ::List getPageSounds( ::String pageId); - Dynamic getPageSounds_dyn(); - - virtual ::List getPageActors( ::String pageId); - Dynamic getPageActors_dyn(); - - virtual ::String getBackground( ::String pageId); - Dynamic getBackground_dyn(); - - virtual ::Hash getPreviousPage( ); - Dynamic getPreviousPage_dyn(); - - virtual ::Hash getNextPage( ); - Dynamic getNextPage_dyn(); - - virtual ::Hash getPageById( ::String id); - Dynamic getPageById_dyn(); - - virtual Void setCurrentPageById( ::String id); - Dynamic setCurrentPageById_dyn(); - - virtual ::Hash getCurrentPage( ); - Dynamic getCurrentPage_dyn(); - - virtual Void loadXML( ::String rawXML); - Dynamic loadXML_dyn(); - - int currentPage; /* REM */ - ::String chosenLayout; /* REM */ - Dynamic chosenpages; /* REM */ - Dynamic randomPositions; /* REM */ - Array< ::Hash > positions; /* REM */ - Dynamic randomPicks; /* REM */ - Dynamic imageItems; /* REM */ - Array< ::Hash > allPages; /* REM */ - ::haxe::xml::Fast fast; /* REM */ - ::Xml _pagesXML; /* REM */ - static ::String NAME; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model - -#endif /* INCLUDED_ca_confidant_glory_model_PagesConfigProxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/model/TickerProxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/model/TickerProxy.h deleted file mode 100644 index bcaaa74..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/model/TickerProxy.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_model_TickerProxy -#define INCLUDED_ca_confidant_glory_model_TickerProxy - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,model,TickerProxy) -HX_DECLARE_CLASS1(haxe,Timer) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - - -class TickerProxy_obj : public ::org::puremvc::haxe::patterns::proxy::Proxy_obj{ - public: - typedef ::org::puremvc::haxe::patterns::proxy::Proxy_obj super; - typedef TickerProxy_obj OBJ_; - TickerProxy_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< TickerProxy_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TickerProxy_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TickerProxy"); } - - virtual Void setInterval( int i); - Dynamic setInterval_dyn(); - - virtual Void onTimerTick( ); - Dynamic onTimerTick_dyn(); - - virtual Void stopTimer( ); - Dynamic stopTimer_dyn(); - - virtual Void startTimer( hx::Null< int > i); - Dynamic startTimer_dyn(); - - ::haxe::Timer myTimer; /* REM */ - int interval; /* REM */ - static ::String NAME; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model - -#endif /* INCLUDED_ca_confidant_glory_model_TickerProxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/ActorComponentMediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/ActorComponentMediator.h deleted file mode 100644 index 759acd3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/ActorComponentMediator.h +++ /dev/null @@ -1,82 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_ActorComponentMediator -#define INCLUDED_ca_confidant_glory_view_ActorComponentMediator - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,model,ActorComponentConfigProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,view,ActorComponentMediator) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ActorComponent) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,Sprite) -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,events,MouseEvent) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - - -class ActorComponentMediator_obj : public ::org::puremvc::haxe::patterns::mediator::Mediator_obj{ - public: - typedef ::org::puremvc::haxe::patterns::mediator::Mediator_obj super; - typedef ActorComponentMediator_obj OBJ_; - ActorComponentMediator_obj(); - Void __construct(::String id,::ca::confidant::glory::view::components::ActorComponent viewComponent,::ca::confidant::glory::model::ActorComponentConfigProxy accp); - - public: - static hx::ObjectPtr< ActorComponentMediator_obj > __new(::String id,::ca::confidant::glory::view::components::ActorComponent viewComponent,::ca::confidant::glory::model::ActorComponentConfigProxy accp); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ActorComponentMediator_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ActorComponentMediator"); } - - virtual ::ca::confidant::glory::view::components::ActorComponent actor( ); - Dynamic actor_dyn(); - - virtual Void onPanRight( Dynamic e); - Dynamic onPanRight_dyn(); - - virtual Void onPanLeft( Dynamic e); - Dynamic onPanLeft_dyn(); - - virtual Void handleNotification( ::org::puremvc::haxe::interfaces::INotification note); - - virtual Array< ::String > listNotificationInterests( ); - - virtual Void onActorClicked( ::native::events::MouseEvent e); - Dynamic onActorClicked_dyn(); - - virtual Void addListeners( ); - Dynamic addListeners_dyn(); - - ::String type; /* REM */ - ::ca::confidant::glory::model::ActorComponentConfigProxy config; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view - -#endif /* INCLUDED_ca_confidant_glory_view_ActorComponentMediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/ApplicationMediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/ApplicationMediator.h deleted file mode 100644 index 253d393..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/ApplicationMediator.h +++ /dev/null @@ -1,82 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#define INCLUDED_ca_confidant_glory_view_ApplicationMediator - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS3(ca,confidant,glory,GloryFrameworkApp) -HX_DECLARE_CLASS4(ca,confidant,glory,model,LoaderProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,model,PagesConfigProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,view,ApplicationMediator) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,Sprite) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - - -class ApplicationMediator_obj : public ::org::puremvc::haxe::patterns::mediator::Mediator_obj{ - public: - typedef ::org::puremvc::haxe::patterns::mediator::Mediator_obj super; - typedef ApplicationMediator_obj OBJ_; - ApplicationMediator_obj(); - Void __construct(::ca::confidant::glory::GloryFrameworkApp viewComponent); - - public: - static hx::ObjectPtr< ApplicationMediator_obj > __new(::ca::confidant::glory::GloryFrameworkApp viewComponent); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ApplicationMediator_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ApplicationMediator"); } - - virtual ::ca::confidant::glory::GloryFrameworkApp getApp( ); - Dynamic getApp_dyn(); - - virtual Void handleNotification( ::org::puremvc::haxe::interfaces::INotification note); - - virtual int getIndex( ::native::display::DisplayObject d); - Dynamic getIndex_dyn(); - - virtual Void reportLayers( ); - Dynamic reportLayers_dyn(); - - virtual Void removeDisplayObject( ::native::display::DisplayObject d); - Dynamic removeDisplayObject_dyn(); - - virtual Void addDisplayObject( ::native::display::DisplayObject d,hx::Null< int > level); - Dynamic addDisplayObject_dyn(); - - virtual Array< ::String > listNotificationInterests( ); - - ::ca::confidant::glory::model::PagesConfigProxy pagesConfigProxy; /* REM */ - ::ca::confidant::glory::model::LoaderProxy loaderProxy; /* REM */ - static ::String NAME; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view - -#endif /* INCLUDED_ca_confidant_glory_view_ApplicationMediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/ControlComponentMediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/ControlComponentMediator.h deleted file mode 100644 index da2cdc5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/ControlComponentMediator.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_ControlComponentMediator -#define INCLUDED_ca_confidant_glory_view_ControlComponentMediator - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,view,ControlComponentMediator) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ControlComponent) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,Sprite) -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,events,MouseEvent) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - - -class ControlComponentMediator_obj : public ::org::puremvc::haxe::patterns::mediator::Mediator_obj{ - public: - typedef ::org::puremvc::haxe::patterns::mediator::Mediator_obj super; - typedef ControlComponentMediator_obj OBJ_; - ControlComponentMediator_obj(); - Void __construct(::String id,::ca::confidant::glory::view::components::ControlComponent viewComponent); - - public: - static hx::ObjectPtr< ControlComponentMediator_obj > __new(::String id,::ca::confidant::glory::view::components::ControlComponent viewComponent); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ControlComponentMediator_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ControlComponentMediator"); } - - virtual ::ca::confidant::glory::view::components::ControlComponent control( ); - Dynamic control_dyn(); - - virtual Void onControlClicked( ::native::events::MouseEvent e); - Dynamic onControlClicked_dyn(); - - virtual Void onMouseUp( ::native::events::MouseEvent e); - Dynamic onMouseUp_dyn(); - - virtual Void onMouseDown( ::native::events::MouseEvent e); - Dynamic onMouseDown_dyn(); - - virtual Void addListeners( ); - Dynamic addListeners_dyn(); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view - -#endif /* INCLUDED_ca_confidant_glory_view_ControlComponentMediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/PageMediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/PageMediator.h deleted file mode 100644 index 3ece9e4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/PageMediator.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_PageMediator -#define INCLUDED_ca_confidant_glory_view_PageMediator - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,view,PageMediator) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,PageComponent) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,Sprite) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - - -class PageMediator_obj : public ::org::puremvc::haxe::patterns::mediator::Mediator_obj{ - public: - typedef ::org::puremvc::haxe::patterns::mediator::Mediator_obj super; - typedef PageMediator_obj OBJ_; - PageMediator_obj(); - Void __construct(::String id,::ca::confidant::glory::view::components::PageComponent viewComponent); - - public: - static hx::ObjectPtr< PageMediator_obj > __new(::String id,::ca::confidant::glory::view::components::PageComponent viewComponent); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~PageMediator_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("PageMediator"); } - - virtual ::ca::confidant::glory::view::components::PageComponent page( ); - Dynamic page_dyn(); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view - -#endif /* INCLUDED_ca_confidant_glory_view_PageMediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/SoundMediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/SoundMediator.h deleted file mode 100644 index 52713a9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/SoundMediator.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_SoundMediator -#define INCLUDED_ca_confidant_glory_view_SoundMediator - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,view,SoundMediator) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,media,Sound) -HX_DECLARE_CLASS2(native,media,SoundChannel) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - - -class SoundMediator_obj : public ::org::puremvc::haxe::patterns::mediator::Mediator_obj{ - public: - typedef ::org::puremvc::haxe::patterns::mediator::Mediator_obj super; - typedef SoundMediator_obj OBJ_; - SoundMediator_obj(); - Void __construct(::String id,::native::media::Sound theSound); - - public: - static hx::ObjectPtr< SoundMediator_obj > __new(::String id,::native::media::Sound theSound); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SoundMediator_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SoundMediator"); } - - virtual ::native::media::Sound sound( ); - Dynamic sound_dyn(); - - virtual Void handleNotification( ::org::puremvc::haxe::interfaces::INotification note); - - virtual Array< ::String > listNotificationInterests( ); - - virtual Void addListeners( ); - Dynamic addListeners_dyn(); - - ::native::media::SoundChannel sc; /* REM */ - ::native::media::Sound mySound; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view - -#endif /* INCLUDED_ca_confidant_glory_view_SoundMediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/components/ActorComponent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/components/ActorComponent.h deleted file mode 100644 index 8e90b3d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/components/ActorComponent.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#define INCLUDED_ca_confidant_glory_view_components_ActorComponent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ActorComponent) -HX_DECLARE_CLASS2(native,display,Bitmap) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,Sprite) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace components{ - - -class ActorComponent_obj : public ::native::display::Sprite_obj{ - public: - typedef ::native::display::Sprite_obj super; - typedef ActorComponent_obj OBJ_; - ActorComponent_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ActorComponent_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ActorComponent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ActorComponent"); } - - virtual Void addSVG( ::String t); - Dynamic addSVG_dyn(); - - virtual Void addBitmap( ::native::display::Bitmap bMap); - Dynamic addBitmap_dyn(); - - ::String type; /* REM */ - ::native::display::Bitmap defaultBitmap; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace components - -#endif /* INCLUDED_ca_confidant_glory_view_components_ActorComponent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/components/ControlComponent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/components/ControlComponent.h deleted file mode 100644 index eb2433e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/components/ControlComponent.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_components_ControlComponent -#define INCLUDED_ca_confidant_glory_view_components_ControlComponent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ControlComponent) -HX_DECLARE_CLASS2(native,display,Bitmap) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,Sprite) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace components{ - - -class ControlComponent_obj : public ::native::display::Sprite_obj{ - public: - typedef ::native::display::Sprite_obj super; - typedef ControlComponent_obj OBJ_; - ControlComponent_obj(); - Void __construct(::String action); - - public: - static hx::ObjectPtr< ControlComponent_obj > __new(::String action); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ControlComponent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ControlComponent"); } - - virtual Void addSVG( ::String t); - Dynamic addSVG_dyn(); - - virtual Void addBitmap( ::native::display::Bitmap bMap); - Dynamic addBitmap_dyn(); - - ::String action; /* REM */ - ::native::display::Bitmap defaultBitmap; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace components - -#endif /* INCLUDED_ca_confidant_glory_view_components_ControlComponent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/components/PageComponent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/components/PageComponent.h deleted file mode 100644 index eaf391b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/components/PageComponent.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_components_PageComponent -#define INCLUDED_ca_confidant_glory_view_components_PageComponent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ActorComponent) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,PageComponent) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,Sprite) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace components{ - - -class PageComponent_obj : public ::native::display::Sprite_obj{ - public: - typedef ::native::display::Sprite_obj super; - typedef PageComponent_obj OBJ_; - PageComponent_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< PageComponent_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~PageComponent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("PageComponent"); } - - virtual Void init( ); - Dynamic init_dyn(); - - virtual Void addActor( ::String key,::ca::confidant::glory::view::components::ActorComponent spr); - Dynamic addActor_dyn(); - - ::Hash myActors; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace components - -#endif /* INCLUDED_ca_confidant_glory_view_components_PageComponent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/constants/ControlConstants.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/constants/ControlConstants.h deleted file mode 100644 index 35ba082..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/ca/confidant/glory/view/constants/ControlConstants.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_constants_ControlConstants -#define INCLUDED_ca_confidant_glory_view_constants_ControlConstants - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS5(ca,confidant,glory,view,constants,ControlConstants) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace constants{ - - -class ControlConstants_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef ControlConstants_obj OBJ_; - ControlConstants_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ControlConstants_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ControlConstants_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ControlConstants"); } - - static ::String PAGE_FORWARD; /* REM */ - static ::String PAGE_BACKWARD; /* REM */ - static ::String PAGE_SKIP_TO; /* REM */ - static ::String TOGGLE_MENU; /* REM */ - static ::String GET_URL; /* REM */ - static ::String PAN_RIGHT_CONTROL; /* REM */ - static ::String PAN_LEFT_CONTROL; /* REM */ - static ::String TRANSITION_OUT; /* REM */ - static ::String TRANSITION_IN; /* REM */ - static ::String CONTROL; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace constants - -#endif /* INCLUDED_ca_confidant_glory_view_constants_ControlConstants */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/cpp/Lib.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/cpp/Lib.h deleted file mode 100644 index 30e94b1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/cpp/Lib.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_cpp_Lib -#define INCLUDED_cpp_Lib - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(cpp,Lib) -namespace cpp{ - - -class Lib_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Lib_obj OBJ_; - Lib_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Lib_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Lib_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Lib"); } - - static Dynamic load( ::String lib,::String prim,int nargs); - static Dynamic load_dyn(); - - static Dynamic loadLazy( ::String lib,::String prim,int nargs); - static Dynamic loadLazy_dyn(); - - static Void rethrow( Dynamic inExp); - static Dynamic rethrow_dyn(); - - static Void stringReference( Dynamic inExp); - static Dynamic stringReference_dyn(); - - static Void print( Dynamic v); - static Dynamic print_dyn(); - - static Dynamic haxeToNeko( Dynamic v); - static Dynamic haxeToNeko_dyn(); - - static Dynamic nekoToHaxe( Dynamic v); - static Dynamic nekoToHaxe_dyn(); - - static Void println( Dynamic v); - static Dynamic println_dyn(); - -}; - -} // end namespace cpp - -#endif /* INCLUDED_cpp_Lib */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/cpp/rtti/FieldNumericIntegerLookup.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/cpp/rtti/FieldNumericIntegerLookup.h deleted file mode 100644 index 9997535..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/cpp/rtti/FieldNumericIntegerLookup.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_cpp_rtti_FieldNumericIntegerLookup -#define INCLUDED_cpp_rtti_FieldNumericIntegerLookup - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(cpp,rtti,FieldNumericIntegerLookup) -namespace cpp{ -namespace rtti{ - - -class FieldNumericIntegerLookup_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef FieldNumericIntegerLookup_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -}; - -#define DELEGATE_cpp_rtti_FieldNumericIntegerLookup \ - - -template -class FieldNumericIntegerLookup_delegate_ : public FieldNumericIntegerLookup_obj -{ - protected: - IMPL *mDelegate; - public: - FieldNumericIntegerLookup_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_cpp_rtti_FieldNumericIntegerLookup -}; - -} // end namespace cpp -} // end namespace rtti - -#endif /* INCLUDED_cpp_rtti_FieldNumericIntegerLookup */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/cpp/zip/Compress.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/cpp/zip/Compress.h deleted file mode 100644 index 5d2d44c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/cpp/zip/Compress.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef INCLUDED_cpp_zip_Compress -#define INCLUDED_cpp_zip_Compress - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(cpp,zip,Compress) -HX_DECLARE_CLASS2(cpp,zip,Flush) -HX_DECLARE_CLASS2(haxe,io,Bytes) -namespace cpp{ -namespace zip{ - - -class Compress_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Compress_obj OBJ_; - Compress_obj(); - Void __construct(int level); - - public: - static hx::ObjectPtr< Compress_obj > __new(int level); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Compress_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Compress"); } - - virtual Void close( ); - Dynamic close_dyn(); - - virtual Void setFlushMode( ::cpp::zip::Flush f); - Dynamic setFlushMode_dyn(); - - virtual Dynamic execute( ::haxe::io::Bytes src,int srcPos,::haxe::io::Bytes dst,int dstPos); - Dynamic execute_dyn(); - - Dynamic s; /* REM */ - static ::haxe::io::Bytes run( ::haxe::io::Bytes s,int level); - static Dynamic run_dyn(); - - static Dynamic _deflate_init; /* REM */ - static Dynamic &_deflate_init_dyn() { return _deflate_init;} - static Dynamic _deflate_bound; /* REM */ - static Dynamic &_deflate_bound_dyn() { return _deflate_bound;} - static Dynamic _deflate_buffer; /* REM */ - static Dynamic &_deflate_buffer_dyn() { return _deflate_buffer;} - static Dynamic _deflate_end; /* REM */ - static Dynamic &_deflate_end_dyn() { return _deflate_end;} - static Dynamic _set_flush_mode; /* REM */ - static Dynamic &_set_flush_mode_dyn() { return _set_flush_mode;} -}; - -} // end namespace cpp -} // end namespace zip - -#endif /* INCLUDED_cpp_zip_Compress */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/cpp/zip/Flush.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/cpp/zip/Flush.h deleted file mode 100644 index 66602ba..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/cpp/zip/Flush.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_cpp_zip_Flush -#define INCLUDED_cpp_zip_Flush - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(cpp,zip,Flush) -namespace cpp{ -namespace zip{ - - -class Flush_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef Flush_obj OBJ_; - - public: - Flush_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("cpp.zip.Flush"); } - ::String __ToString() const { return HX_CSTRING("Flush.") + tag; } - - static ::cpp::zip::Flush BLOCK; - static inline ::cpp::zip::Flush BLOCK_dyn() { return BLOCK; } - static ::cpp::zip::Flush FINISH; - static inline ::cpp::zip::Flush FINISH_dyn() { return FINISH; } - static ::cpp::zip::Flush FULL; - static inline ::cpp::zip::Flush FULL_dyn() { return FULL; } - static ::cpp::zip::Flush NO; - static inline ::cpp::zip::Flush NO_dyn() { return NO; } - static ::cpp::zip::Flush SYNC; - static inline ::cpp::zip::Flush SYNC_dyn() { return SYNC; } -}; - -} // end namespace cpp -} // end namespace zip - -#endif /* INCLUDED_cpp_zip_Flush */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/cpp/zip/Uncompress.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/cpp/zip/Uncompress.h deleted file mode 100644 index 45ad18d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/cpp/zip/Uncompress.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_cpp_zip_Uncompress -#define INCLUDED_cpp_zip_Uncompress - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(cpp,zip,Flush) -HX_DECLARE_CLASS2(cpp,zip,Uncompress) -HX_DECLARE_CLASS2(haxe,io,Bytes) -namespace cpp{ -namespace zip{ - - -class Uncompress_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Uncompress_obj OBJ_; - Uncompress_obj(); - Void __construct(Dynamic windowBits); - - public: - static hx::ObjectPtr< Uncompress_obj > __new(Dynamic windowBits); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Uncompress_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Uncompress"); } - - virtual Void close( ); - Dynamic close_dyn(); - - virtual Void setFlushMode( ::cpp::zip::Flush f); - Dynamic setFlushMode_dyn(); - - virtual Dynamic this_run( ::haxe::io::Bytes src,int srcPos,::haxe::io::Bytes dst,int dstPos); - Dynamic this_run_dyn(); - - Dynamic s; /* REM */ - static ::haxe::io::Bytes run( ::haxe::io::Bytes src,Dynamic bufsize); - static Dynamic run_dyn(); - - static Dynamic _inflate_init; /* REM */ - static Dynamic &_inflate_init_dyn() { return _inflate_init;} - static Dynamic _inflate_buffer; /* REM */ - static Dynamic &_inflate_buffer_dyn() { return _inflate_buffer;} - static Dynamic _inflate_end; /* REM */ - static Dynamic &_inflate_end_dyn() { return _inflate_end;} - static Dynamic _set_flush_mode; /* REM */ - static Dynamic &_set_flush_mode_dyn() { return _set_flush_mode;} -}; - -} // end namespace cpp -} // end namespace zip - -#endif /* INCLUDED_cpp_zip_Uncompress */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/SVG.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/SVG.h deleted file mode 100644 index 9125229..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/SVG.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef INCLUDED_format_SVG -#define INCLUDED_format_SVG - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(format,SVG) -HX_DECLARE_CLASS2(format,svg,Group) -HX_DECLARE_CLASS2(format,svg,SVGData) -HX_DECLARE_CLASS2(native,display,Graphics) -namespace format{ - - -class SVG_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef SVG_obj OBJ_; - SVG_obj(); - Void __construct(::String content); - - public: - static hx::ObjectPtr< SVG_obj > __new(::String content); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SVG_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SVG"); } - - virtual Void render( ::native::display::Graphics graphics,hx::Null< Float > x,hx::Null< Float > y,hx::Null< int > width,hx::Null< int > height); - Dynamic render_dyn(); - - ::format::svg::SVGData data; /* REM */ -}; - -} // end namespace format - -#endif /* INCLUDED_format_SVG */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/Gfx.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/Gfx.h deleted file mode 100644 index cf15e98..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/Gfx.h +++ /dev/null @@ -1,77 +0,0 @@ -#ifndef INCLUDED_format_gfx_Gfx -#define INCLUDED_format_gfx_Gfx - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(format,gfx,LineStyle) -HX_DECLARE_CLASS2(format,svg,Text) -namespace format{ -namespace gfx{ - - -class Gfx_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Gfx_obj OBJ_; - Gfx_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Gfx_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Gfx_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Gfx"); } - - virtual Void eof( ); - Dynamic eof_dyn(); - - virtual Void renderText( ::format::svg::Text text); - Dynamic renderText_dyn(); - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - Dynamic curveTo_dyn(); - - virtual Void lineTo( Float inX,Float inY); - Dynamic lineTo_dyn(); - - virtual Void moveTo( Float inX,Float inY); - Dynamic moveTo_dyn(); - - virtual Void endLineStyle( ); - Dynamic endLineStyle_dyn(); - - virtual Void lineStyle( ::format::gfx::LineStyle style); - Dynamic lineStyle_dyn(); - - virtual Void endFill( ); - Dynamic endFill_dyn(); - - virtual Void beginFill( int color,Float alpha); - Dynamic beginFill_dyn(); - - virtual Void beginGradientFill( ::format::gfx::Gradient grad); - Dynamic beginGradientFill_dyn(); - - virtual Void size( Float inWidth,Float inHeight); - Dynamic size_dyn(); - - virtual bool geometryOnly( ); - Dynamic geometryOnly_dyn(); - -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_Gfx */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/Gfx2Haxe.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/Gfx2Haxe.h deleted file mode 100644 index 74eeb31..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/Gfx2Haxe.h +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef INCLUDED_format_gfx_Gfx2Haxe -#define INCLUDED_format_gfx_Gfx2Haxe - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,Gfx2Haxe) -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(format,gfx,LineStyle) -HX_DECLARE_CLASS2(native,geom,Matrix) -namespace format{ -namespace gfx{ - - -class Gfx2Haxe_obj : public ::format::gfx::Gfx_obj{ - public: - typedef ::format::gfx::Gfx_obj super; - typedef Gfx2Haxe_obj OBJ_; - Gfx2Haxe_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Gfx2Haxe_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Gfx2Haxe_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Gfx2Haxe"); } - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - - virtual Void lineTo( Float inX,Float inY); - - virtual Void moveTo( Float inX,Float inY); - - virtual Void endLineStyle( ); - - virtual Void lineStyle( ::format::gfx::LineStyle style); - - virtual Void endFill( ); - - virtual Void beginFill( int color,Float alpha); - - virtual Void beginGradientFill( ::format::gfx::Gradient grad); - - virtual ::String newMatrix( ::native::geom::Matrix m); - Dynamic newMatrix_dyn(); - - virtual ::String f2a( Float f); - Dynamic f2a_dyn(); - - Array< ::String > commands; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_Gfx2Haxe */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/GfxBytes.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/GfxBytes.h deleted file mode 100644 index e2c975b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/GfxBytes.h +++ /dev/null @@ -1,108 +0,0 @@ -#ifndef INCLUDED_format_gfx_GfxBytes -#define INCLUDED_format_gfx_GfxBytes - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,GfxBytes) -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(format,gfx,LineStyle) -HX_DECLARE_CLASS1(haxe,BaseCode) -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(native,display,CapsStyle) -HX_DECLARE_CLASS2(native,display,InterpolationMethod) -HX_DECLARE_CLASS2(native,display,JointStyle) -HX_DECLARE_CLASS2(native,display,LineScaleMode) -HX_DECLARE_CLASS2(native,display,SpreadMethod) -HX_DECLARE_CLASS2(native,utils,ByteArray) -HX_DECLARE_CLASS2(native,utils,IDataInput) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -namespace format{ -namespace gfx{ - - -class GfxBytes_obj : public ::format::gfx::Gfx_obj{ - public: - typedef ::format::gfx::Gfx_obj super; - typedef GfxBytes_obj OBJ_; - GfxBytes_obj(); - Void __construct(::native::utils::ByteArray inBuffer,hx::Null< int > __o_inFlags); - - public: - static hx::ObjectPtr< GfxBytes_obj > __new(::native::utils::ByteArray inBuffer,hx::Null< int > __o_inFlags); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GfxBytes_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GfxBytes"); } - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - - virtual Void lineTo( Float inX,Float inY); - - virtual Void moveTo( Float inX,Float inY); - - virtual Void endLineStyle( ); - - virtual Void lineStyle( ::format::gfx::LineStyle style); - - virtual Void endFill( ); - - virtual Void beginFill( int color,Float alpha); - - virtual Void beginGradientFill( ::format::gfx::Gradient grad); - - virtual int readRGB( ); - Dynamic readRGB_dyn(); - - virtual Void writeRGB( int inVal); - Dynamic writeRGB_dyn(); - - virtual Void pushClipped( Float inVal); - Dynamic pushClipped_dyn(); - - virtual Void size( Float inWidth,Float inHeight); - - virtual Void iterate( ::format::gfx::Gfx inGfx); - Dynamic iterate_dyn(); - - virtual Void eof( ); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - ::native::utils::ByteArray buffer; /* REM */ - static int _EOF; /* REM */ - static int SIZE; /* REM */ - static int BEGIN_FILL; /* REM */ - static int GRADIENT_FILL; /* REM */ - static int END_FILL; /* REM */ - static int LINE_STYLE; /* REM */ - static int END_LINE_STYLE; /* REM */ - static int MOVE; /* REM */ - static int LINE; /* REM */ - static int CURVE; /* REM */ - static ::String base64; /* REM */ - static ::haxe::BaseCode baseCoder; /* REM */ - static ::format::gfx::GfxBytes fromString( ::String inString); - static Dynamic fromString_dyn(); - - static Array< ::native::display::LineScaleMode > scaleModes; /* REM */ - static Array< ::native::display::CapsStyle > capsStyles; /* REM */ - static Array< ::native::display::JointStyle > jointStyles; /* REM */ - static Array< ::native::display::SpreadMethod > spreadMethods; /* REM */ - static Array< ::native::display::InterpolationMethod > interpolationMethods; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_GfxBytes */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/GfxExtent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/GfxExtent.h deleted file mode 100644 index 4b809ea..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/GfxExtent.h +++ /dev/null @@ -1,53 +0,0 @@ -#ifndef INCLUDED_format_gfx_GfxExtent -#define INCLUDED_format_gfx_GfxExtent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,GfxExtent) -HX_DECLARE_CLASS2(native,geom,Rectangle) -namespace format{ -namespace gfx{ - - -class GfxExtent_obj : public ::format::gfx::Gfx_obj{ - public: - typedef ::format::gfx::Gfx_obj super; - typedef GfxExtent_obj OBJ_; - GfxExtent_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< GfxExtent_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GfxExtent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GfxExtent"); } - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - - virtual Void lineTo( Float inX,Float inY); - - virtual Void moveTo( Float inX,Float inY); - - virtual bool geometryOnly( ); - - virtual Void addExtent( Float inX,Float inY); - Dynamic addExtent_dyn(); - - ::native::geom::Rectangle extent; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_GfxExtent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/GfxGraphics.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/GfxGraphics.h deleted file mode 100644 index 0573638..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/GfxGraphics.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_format_gfx_GfxGraphics -#define INCLUDED_format_gfx_GfxGraphics - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,GfxGraphics) -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(format,gfx,LineStyle) -HX_DECLARE_CLASS2(native,display,Graphics) -namespace format{ -namespace gfx{ - - -class GfxGraphics_obj : public ::format::gfx::Gfx_obj{ - public: - typedef ::format::gfx::Gfx_obj super; - typedef GfxGraphics_obj OBJ_; - GfxGraphics_obj(); - Void __construct(::native::display::Graphics inGraphics); - - public: - static hx::ObjectPtr< GfxGraphics_obj > __new(::native::display::Graphics inGraphics); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GfxGraphics_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GfxGraphics"); } - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - - virtual Void lineTo( Float inX,Float inY); - - virtual Void moveTo( Float inX,Float inY); - - virtual Void endLineStyle( ); - - virtual Void lineStyle( ::format::gfx::LineStyle style); - - virtual Void endFill( ); - - virtual Void beginFill( int color,Float alpha); - - virtual Void beginGradientFill( ::format::gfx::Gradient grad); - - ::native::display::Graphics graphics; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_GfxGraphics */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/GfxTextFinder.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/GfxTextFinder.h deleted file mode 100644 index af0acbd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/GfxTextFinder.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_format_gfx_GfxTextFinder -#define INCLUDED_format_gfx_GfxTextFinder - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,GfxTextFinder) -HX_DECLARE_CLASS2(format,svg,Text) -namespace format{ -namespace gfx{ - - -class GfxTextFinder_obj : public ::format::gfx::Gfx_obj{ - public: - typedef ::format::gfx::Gfx_obj super; - typedef GfxTextFinder_obj OBJ_; - GfxTextFinder_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< GfxTextFinder_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GfxTextFinder_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GfxTextFinder"); } - - virtual Void renderText( ::format::svg::Text inText); - - virtual bool geometryOnly( ); - - ::format::svg::Text text; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_GfxTextFinder */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/Gradient.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/Gradient.h deleted file mode 100644 index fb49aaa..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/Gradient.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_format_gfx_Gradient -#define INCLUDED_format_gfx_Gradient - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(native,display,GradientType) -HX_DECLARE_CLASS2(native,display,InterpolationMethod) -HX_DECLARE_CLASS2(native,display,SpreadMethod) -HX_DECLARE_CLASS2(native,geom,Matrix) -namespace format{ -namespace gfx{ - - -class Gradient_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Gradient_obj OBJ_; - Gradient_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Gradient_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Gradient_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Gradient"); } - - Float focus; /* REM */ - ::native::display::InterpolationMethod interp; /* REM */ - ::native::display::SpreadMethod spread; /* REM */ - ::native::geom::Matrix matrix; /* REM */ - Array< int > ratios; /* REM */ - Array< Float > alphas; /* REM */ - Array< int > colors; /* REM */ - ::native::display::GradientType type; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_Gradient */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/LineStyle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/LineStyle.h deleted file mode 100644 index bcf1740..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/gfx/LineStyle.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef INCLUDED_format_gfx_LineStyle -#define INCLUDED_format_gfx_LineStyle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,gfx,LineStyle) -HX_DECLARE_CLASS2(native,display,CapsStyle) -HX_DECLARE_CLASS2(native,display,JointStyle) -HX_DECLARE_CLASS2(native,display,LineScaleMode) -namespace format{ -namespace gfx{ - - -class LineStyle_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef LineStyle_obj OBJ_; - LineStyle_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< LineStyle_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~LineStyle_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("LineStyle"); } - - Float miterLimit; /* REM */ - ::native::display::JointStyle jointStyle; /* REM */ - ::native::display::CapsStyle capsStyle; /* REM */ - ::native::display::LineScaleMode scaleMode; /* REM */ - bool pixelHinting; /* REM */ - Float alpha; /* REM */ - int color; /* REM */ - Float thickness; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_LineStyle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/ArcSegment.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/ArcSegment.h deleted file mode 100644 index fd02d25..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/ArcSegment.h +++ /dev/null @@ -1,53 +0,0 @@ -#ifndef INCLUDED_format_svg_ArcSegment -#define INCLUDED_format_svg_ArcSegment - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,svg,ArcSegment) -HX_DECLARE_CLASS2(format,svg,PathSegment) -HX_DECLARE_CLASS2(format,svg,RenderContext) -namespace format{ -namespace svg{ - - -class ArcSegment_obj : public ::format::svg::PathSegment_obj{ - public: - typedef ::format::svg::PathSegment_obj super; - typedef ArcSegment_obj OBJ_; - ArcSegment_obj(); - Void __construct(Float inX1,Float inY1,Float inRX,Float inRY,Float inRotation,bool inLargeArc,bool inSweep,Float x,Float y); - - public: - static hx::ObjectPtr< ArcSegment_obj > __new(Float inX1,Float inY1,Float inRX,Float inRY,Float inRotation,bool inLargeArc,bool inSweep,Float x,Float y); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ArcSegment_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ArcSegment"); } - - virtual int getType( ); - - virtual Void toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext); - - bool fS; /* REM */ - bool fA; /* REM */ - Float phi; /* REM */ - Float ry; /* REM */ - Float rx; /* REM */ - Float y1; /* REM */ - Float x1; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_ArcSegment */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/CubicSegment.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/CubicSegment.h deleted file mode 100644 index 95c0033..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/CubicSegment.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_format_svg_CubicSegment -#define INCLUDED_format_svg_CubicSegment - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,svg,CubicSegment) -HX_DECLARE_CLASS2(format,svg,PathSegment) -HX_DECLARE_CLASS2(format,svg,QuadraticSegment) -HX_DECLARE_CLASS2(format,svg,RenderContext) -namespace format{ -namespace svg{ - - -class CubicSegment_obj : public ::format::svg::PathSegment_obj{ - public: - typedef ::format::svg::PathSegment_obj super; - typedef CubicSegment_obj OBJ_; - CubicSegment_obj(); - Void __construct(Float inCX1,Float inCY1,Float inCX2,Float inCY2,Float inX,Float inY); - - public: - static hx::ObjectPtr< CubicSegment_obj > __new(Float inCX1,Float inCY1,Float inCX2,Float inCY2,Float inX,Float inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~CubicSegment_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("CubicSegment"); } - - virtual int getType( ); - - virtual Array< ::format::svg::QuadraticSegment > toQuadratics( Float tx0,Float ty0); - Dynamic toQuadratics_dyn(); - - virtual Void toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext); - - virtual Float Interp( Float a,Float b,Float frac); - Dynamic Interp_dyn(); - - virtual Float prevCY( ); - - virtual Float prevCX( ); - - Float cy2; /* REM */ - Float cx2; /* REM */ - Float cy1; /* REM */ - Float cx1; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_CubicSegment */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/DisplayElement.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/DisplayElement.h deleted file mode 100644 index 7efa585..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/DisplayElement.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_format_svg_DisplayElement -#define INCLUDED_format_svg_DisplayElement - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,svg,DisplayElement) -HX_DECLARE_CLASS2(format,svg,Group) -HX_DECLARE_CLASS2(format,svg,Path) -HX_DECLARE_CLASS2(format,svg,Text) -namespace format{ -namespace svg{ - - -class DisplayElement_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef DisplayElement_obj OBJ_; - - public: - DisplayElement_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("format.svg.DisplayElement"); } - ::String __ToString() const { return HX_CSTRING("DisplayElement.") + tag; } - - static ::format::svg::DisplayElement DisplayGroup(::format::svg::Group group); - static Dynamic DisplayGroup_dyn(); - static ::format::svg::DisplayElement DisplayPath(::format::svg::Path path); - static Dynamic DisplayPath_dyn(); - static ::format::svg::DisplayElement DisplayText(::format::svg::Text text); - static Dynamic DisplayText_dyn(); -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_DisplayElement */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/DrawSegment.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/DrawSegment.h deleted file mode 100644 index d6ae663..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/DrawSegment.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_format_svg_DrawSegment -#define INCLUDED_format_svg_DrawSegment - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,svg,DrawSegment) -HX_DECLARE_CLASS2(format,svg,PathSegment) -HX_DECLARE_CLASS2(format,svg,RenderContext) -namespace format{ -namespace svg{ - - -class DrawSegment_obj : public ::format::svg::PathSegment_obj{ - public: - typedef ::format::svg::PathSegment_obj super; - typedef DrawSegment_obj OBJ_; - DrawSegment_obj(); - Void __construct(Float inX,Float inY); - - public: - static hx::ObjectPtr< DrawSegment_obj > __new(Float inX,Float inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~DrawSegment_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("DrawSegment"); } - - virtual int getType( ); - - virtual Void toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext); - -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_DrawSegment */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/FillType.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/FillType.h deleted file mode 100644 index d61fe70..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/FillType.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_format_svg_FillType -#define INCLUDED_format_svg_FillType - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(format,svg,FillType) -HX_DECLARE_CLASS2(format,svg,Grad) -namespace format{ -namespace svg{ - - -class FillType_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef FillType_obj OBJ_; - - public: - FillType_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("format.svg.FillType"); } - ::String __ToString() const { return HX_CSTRING("FillType.") + tag; } - - static ::format::svg::FillType FillGrad(::format::svg::Grad grad); - static Dynamic FillGrad_dyn(); - static ::format::svg::FillType FillNone; - static inline ::format::svg::FillType FillNone_dyn() { return FillNone; } - static ::format::svg::FillType FillSolid(int colour); - static Dynamic FillSolid_dyn(); -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_FillType */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/Grad.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/Grad.h deleted file mode 100644 index c9c1b22..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/Grad.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef INCLUDED_format_svg_Grad -#define INCLUDED_format_svg_Grad - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(format,svg,Grad) -HX_DECLARE_CLASS2(native,display,GradientType) -HX_DECLARE_CLASS2(native,geom,Matrix) -namespace format{ -namespace svg{ - - -class Grad_obj : public ::format::gfx::Gradient_obj{ - public: - typedef ::format::gfx::Gradient_obj super; - typedef Grad_obj OBJ_; - Grad_obj(); - Void __construct(::native::display::GradientType inType); - - public: - static hx::ObjectPtr< Grad_obj > __new(::native::display::GradientType inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Grad_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Grad"); } - - virtual Void updateMatrix( ::native::geom::Matrix inMatrix); - Dynamic updateMatrix_dyn(); - - Float y2; /* REM */ - Float x2; /* REM */ - Float y1; /* REM */ - Float x1; /* REM */ - Float radius; /* REM */ - ::native::geom::Matrix gradMatrix; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_Grad */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/Group.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/Group.h deleted file mode 100644 index d84831a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/Group.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_format_svg_Group -#define INCLUDED_format_svg_Group - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,svg,DisplayElement) -HX_DECLARE_CLASS2(format,svg,Group) -namespace format{ -namespace svg{ - - -class Group_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Group_obj OBJ_; - Group_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Group_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Group_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Group"); } - - Array< ::format::svg::DisplayElement > children; /* REM */ - ::String name; /* REM */ - virtual ::format::svg::Group findGroup( ::String inName); - Dynamic findGroup_dyn(); - - virtual bool hasGroup( ::String inName); - Dynamic hasGroup_dyn(); - -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_Group */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/MoveSegment.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/MoveSegment.h deleted file mode 100644 index c273e5a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/MoveSegment.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_format_svg_MoveSegment -#define INCLUDED_format_svg_MoveSegment - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,svg,MoveSegment) -HX_DECLARE_CLASS2(format,svg,PathSegment) -namespace format{ -namespace svg{ - - -class MoveSegment_obj : public ::format::svg::PathSegment_obj{ - public: - typedef ::format::svg::PathSegment_obj super; - typedef MoveSegment_obj OBJ_; - MoveSegment_obj(); - Void __construct(Float inX,Float inY); - - public: - static hx::ObjectPtr< MoveSegment_obj > __new(Float inX,Float inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~MoveSegment_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("MoveSegment"); } - - virtual int getType( ); - -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_MoveSegment */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/Path.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/Path.h deleted file mode 100644 index 7934805..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/Path.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef INCLUDED_format_svg_Path -#define INCLUDED_format_svg_Path - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,svg,FillType) -HX_DECLARE_CLASS2(format,svg,Path) -HX_DECLARE_CLASS2(format,svg,PathSegment) -HX_DECLARE_CLASS2(native,display,CapsStyle) -HX_DECLARE_CLASS2(native,display,JointStyle) -HX_DECLARE_CLASS2(native,geom,Matrix) -namespace format{ -namespace svg{ - - -class Path_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Path_obj OBJ_; - Path_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Path_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Path_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Path"); } - - Array< ::format::svg::PathSegment > segments; /* REM */ - Float miter_limit; /* REM */ - ::native::display::JointStyle joint_style; /* REM */ - ::native::display::CapsStyle stroke_caps; /* REM */ - Float stroke_width; /* REM */ - Dynamic stroke_colour; /* REM */ - Float stroke_alpha; /* REM */ - Float fill_alpha; /* REM */ - ::format::svg::FillType fill; /* REM */ - Float font_size; /* REM */ - ::String name; /* REM */ - ::native::geom::Matrix matrix; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_Path */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/PathParser.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/PathParser.h deleted file mode 100644 index dcc98d1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/PathParser.h +++ /dev/null @@ -1,90 +0,0 @@ -#ifndef INCLUDED_format_svg_PathParser -#define INCLUDED_format_svg_PathParser - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,svg,PathParser) -HX_DECLARE_CLASS2(format,svg,PathSegment) -namespace format{ -namespace svg{ - - -class PathParser_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef PathParser_obj OBJ_; - PathParser_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< PathParser_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~PathParser_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("PathParser"); } - - virtual ::format::svg::PathSegment createCommand( int code,Array< Float > a); - Dynamic createCommand_dyn(); - - virtual Float prevCY( ); - Dynamic prevCY_dyn(); - - virtual Float prevCX( ); - Dynamic prevCX_dyn(); - - virtual Float prevY( ); - Dynamic prevY_dyn(); - - virtual Float prevX( ); - Dynamic prevX_dyn(); - - virtual int commandArgs( int inCode); - Dynamic commandArgs_dyn(); - - virtual Array< ::format::svg::PathSegment > parse( ::String pathToParse,bool inConvertCubics); - Dynamic parse_dyn(); - - ::format::svg::PathSegment prev; /* REM */ - Float lastMoveY; /* REM */ - Float lastMoveX; /* REM */ - static Array< int > sCommandArgs; /* REM */ - static Dynamic MOVE; /* REM */ - static Dynamic MOVER; /* REM */ - static Dynamic LINE; /* REM */ - static Dynamic LINER; /* REM */ - static Dynamic HLINE; /* REM */ - static Dynamic HLINER; /* REM */ - static Dynamic VLINE; /* REM */ - static Dynamic VLINER; /* REM */ - static Dynamic CUBIC; /* REM */ - static Dynamic CUBICR; /* REM */ - static Dynamic SCUBIC; /* REM */ - static Dynamic SCUBICR; /* REM */ - static Dynamic QUAD; /* REM */ - static Dynamic QUADR; /* REM */ - static Dynamic SQUAD; /* REM */ - static Dynamic SQUADR; /* REM */ - static Dynamic ARC; /* REM */ - static Dynamic ARCR; /* REM */ - static Dynamic CLOSE; /* REM */ - static Dynamic CLOSER; /* REM */ - static int UNKNOWN; /* REM */ - static int SEPARATOR; /* REM */ - static int FLOAT; /* REM */ - static int FLOAT_SIGN; /* REM */ - static int FLOAT_DOT; /* REM */ - static int FLOAT_EXP; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_PathParser */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/PathSegment.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/PathSegment.h deleted file mode 100644 index 7b452fb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/PathSegment.h +++ /dev/null @@ -1,65 +0,0 @@ -#ifndef INCLUDED_format_svg_PathSegment -#define INCLUDED_format_svg_PathSegment - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,svg,PathSegment) -HX_DECLARE_CLASS2(format,svg,RenderContext) -namespace format{ -namespace svg{ - - -class PathSegment_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef PathSegment_obj OBJ_; - PathSegment_obj(); - Void __construct(Float inX,Float inY); - - public: - static hx::ObjectPtr< PathSegment_obj > __new(Float inX,Float inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~PathSegment_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("PathSegment"); } - - virtual Void toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext); - Dynamic toGfx_dyn(); - - virtual Float prevCY( ); - Dynamic prevCY_dyn(); - - virtual Float prevCX( ); - Dynamic prevCX_dyn(); - - virtual Float prevY( ); - Dynamic prevY_dyn(); - - virtual Float prevX( ); - Dynamic prevX_dyn(); - - virtual int getType( ); - Dynamic getType_dyn(); - - Float y; /* REM */ - Float x; /* REM */ - static int MOVE; /* REM */ - static int DRAW; /* REM */ - static int CURVE; /* REM */ - static int CUBIC; /* REM */ - static int ARC; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_PathSegment */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/QuadraticSegment.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/QuadraticSegment.h deleted file mode 100644 index 4ce80de..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/QuadraticSegment.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef INCLUDED_format_svg_QuadraticSegment -#define INCLUDED_format_svg_QuadraticSegment - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,svg,PathSegment) -HX_DECLARE_CLASS2(format,svg,QuadraticSegment) -HX_DECLARE_CLASS2(format,svg,RenderContext) -namespace format{ -namespace svg{ - - -class QuadraticSegment_obj : public ::format::svg::PathSegment_obj{ - public: - typedef ::format::svg::PathSegment_obj super; - typedef QuadraticSegment_obj OBJ_; - QuadraticSegment_obj(); - Void __construct(Float inCX,Float inCY,Float inX,Float inY); - - public: - static hx::ObjectPtr< QuadraticSegment_obj > __new(Float inCX,Float inCY,Float inX,Float inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~QuadraticSegment_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("QuadraticSegment"); } - - virtual int getType( ); - - virtual Void toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext); - - virtual Float prevCY( ); - - virtual Float prevCX( ); - - Float cy; /* REM */ - Float cx; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_QuadraticSegment */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/RenderContext.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/RenderContext.h deleted file mode 100644 index ed302f2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/RenderContext.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef INCLUDED_format_svg_RenderContext -#define INCLUDED_format_svg_RenderContext - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,svg,RenderContext) -HX_DECLARE_CLASS2(native,geom,Matrix) -HX_DECLARE_CLASS2(native,geom,Rectangle) -namespace format{ -namespace svg{ - - -class RenderContext_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef RenderContext_obj OBJ_; - RenderContext_obj(); - Void __construct(::native::geom::Matrix inMatrix,::native::geom::Rectangle inRect,Dynamic inW,Dynamic inH); - - public: - static hx::ObjectPtr< RenderContext_obj > __new(::native::geom::Matrix inMatrix,::native::geom::Rectangle inRect,Dynamic inW,Dynamic inH); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~RenderContext_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("RenderContext"); } - - Float lastY; /* REM */ - Float lastX; /* REM */ - Float firstY; /* REM */ - Float firstX; /* REM */ - Float rectH; /* REM */ - Float rectW; /* REM */ - ::native::geom::Rectangle rect; /* REM */ - ::native::geom::Matrix matrix; /* REM */ - virtual Void setLast( Float inX,Float inY); - Dynamic setLast_dyn(); - - virtual Float transY( Float inX,Float inY); - Dynamic transY_dyn(); - - virtual Float transX( Float inX,Float inY); - Dynamic transX_dyn(); - -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_RenderContext */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/SVGData.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/SVGData.h deleted file mode 100644 index b539629..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/SVGData.h +++ /dev/null @@ -1,105 +0,0 @@ -#ifndef INCLUDED_format_svg_SVGData -#define INCLUDED_format_svg_SVGData - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(EReg) -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS2(format,svg,FillType) -HX_DECLARE_CLASS2(format,svg,Group) -HX_DECLARE_CLASS2(format,svg,Path) -HX_DECLARE_CLASS2(format,svg,PathParser) -HX_DECLARE_CLASS2(format,svg,SVGData) -HX_DECLARE_CLASS2(format,svg,Text) -HX_DECLARE_CLASS2(native,display,GradientType) -HX_DECLARE_CLASS2(native,geom,Matrix) -namespace format{ -namespace svg{ - - -class SVGData_obj : public ::format::svg::Group_obj{ - public: - typedef ::format::svg::Group_obj super; - typedef SVGData_obj OBJ_; - SVGData_obj(); - Void __construct(::Xml inXML,hx::Null< bool > __o_inConvertCubics); - - public: - static hx::ObjectPtr< SVGData_obj > __new(::Xml inXML,hx::Null< bool > __o_inConvertCubics); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SVGData_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SVGData"); } - - virtual ::format::svg::Text loadText( ::Xml inText,::native::geom::Matrix matrix,::Hash inStyles); - Dynamic loadText_dyn(); - - virtual ::format::svg::Path loadPath( ::Xml inPath,::native::geom::Matrix matrix,::Hash inStyles,bool inIsRect,bool inIsEllipse); - Dynamic loadPath_dyn(); - - virtual ::format::svg::Group loadGroup( ::format::svg::Group g,::Xml inG,::native::geom::Matrix matrix,::Hash inStyles); - Dynamic loadGroup_dyn(); - - virtual Void loadGradient( ::Xml inGrad,::native::display::GradientType inType,bool inCrossLink); - Dynamic loadGradient_dyn(); - - virtual Void loadDefs( ::Xml inXML); - Dynamic loadDefs_dyn(); - - virtual ::Hash getStyles( ::Xml inNode,::Hash inPrevStyles); - Dynamic getStyles_dyn(); - - virtual ::String getStyle( ::String inKey,::Xml inNode,::Hash inStyles,::String inDefault); - Dynamic getStyle_dyn(); - - virtual Dynamic getStrokeStyle( ::String inKey,::Xml inNode,::Hash inStyles,Dynamic inDefault); - Dynamic getStrokeStyle_dyn(); - - virtual Float getFloatStyle( ::String inKey,::Xml inNode,::Hash inStyles,Float inDefault); - Dynamic getFloatStyle_dyn(); - - virtual Float getFloat( ::Xml inXML,::String inName,hx::Null< Float > inDef); - Dynamic getFloat_dyn(); - - virtual ::format::svg::FillType getFillStyle( ::String inKey,::Xml inNode,::Hash inStyles); - Dynamic getFillStyle_dyn(); - - virtual int getColorStyle( ::String inKey,::Xml inNode,::Hash inStyles,int inDefault); - Dynamic getColorStyle_dyn(); - - virtual Void dumpGroup( ::format::svg::Group g,::String indent); - Dynamic dumpGroup_dyn(); - - virtual Float applyTransform( ::native::geom::Matrix ioMatrix,::String inTrans); - Dynamic applyTransform_dyn(); - - ::format::svg::PathParser mPathParser; /* REM */ - ::Hash mGrads; /* REM */ - bool mConvertCubics; /* REM */ - Float width; /* REM */ - Float height; /* REM */ - static Float SIN45; /* REM */ - static Float TAN22; /* REM */ - static ::EReg mStyleSplit; /* REM */ - static ::EReg mStyleValue; /* REM */ - static ::EReg mTranslateMatch; /* REM */ - static ::EReg mScaleMatch; /* REM */ - static ::EReg mMatrixMatch; /* REM */ - static ::EReg mURLMatch; /* REM */ - static ::format::svg::FillType defaultFill; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_SVGData */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/SVGRenderer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/SVGRenderer.h deleted file mode 100644 index 1b2101f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/SVGRenderer.h +++ /dev/null @@ -1,124 +0,0 @@ -#ifndef INCLUDED_format_svg_SVGRenderer -#define INCLUDED_format_svg_SVGRenderer - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(EReg) -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,GfxBytes) -HX_DECLARE_CLASS2(format,svg,Group) -HX_DECLARE_CLASS2(format,svg,Path) -HX_DECLARE_CLASS2(format,svg,SVGData) -HX_DECLARE_CLASS2(format,svg,SVGRenderer) -HX_DECLARE_CLASS2(format,svg,Text) -HX_DECLARE_CLASS2(native,display,BitmapData) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,Graphics) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,Shape) -HX_DECLARE_CLASS2(native,display,Sprite) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,geom,Matrix) -HX_DECLARE_CLASS2(native,geom,Rectangle) -namespace format{ -namespace svg{ - - -class SVGRenderer_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef SVGRenderer_obj OBJ_; - SVGRenderer_obj(); - Void __construct(::format::svg::SVGData inSvg,::String inLayer); - - public: - static hx::ObjectPtr< SVGRenderer_obj > __new(::format::svg::SVGData inSvg,::String inLayer); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SVGRenderer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SVGRenderer"); } - - virtual ::native::display::BitmapData renderBitmap( ::native::geom::Rectangle inRect,hx::Null< Float > inScale); - Dynamic renderBitmap_dyn(); - - virtual ::native::display::Shape namedShape( ::String inName); - Dynamic namedShape_dyn(); - - virtual ::native::display::Shape createShape( ::native::geom::Matrix inMatrix,Dynamic inFilter,::native::geom::Rectangle inScale9); - Dynamic createShape_dyn(); - - virtual Void renderSprite( ::native::display::Sprite inObj,::native::geom::Matrix inMatrix,Dynamic inFilter,::native::geom::Rectangle inScale9); - Dynamic renderSprite_dyn(); - - virtual Void renderObject( ::native::display::DisplayObject inObj,::native::display::Graphics inGfx,::native::geom::Matrix inMatrix,Dynamic inFilter,::native::geom::Rectangle inScale9); - Dynamic renderObject_dyn(); - - virtual ::native::geom::Rectangle getMatchingRect( ::EReg inMatch); - Dynamic getMatchingRect_dyn(); - - virtual ::format::svg::Text findText( Dynamic inFilter); - Dynamic findText_dyn(); - - virtual ::native::geom::Rectangle getExtent( ::native::geom::Matrix inMatrix,Dynamic inFilter,Dynamic inIgnoreDot); - Dynamic getExtent_dyn(); - - virtual Void renderRect0( ::native::display::Graphics inGfx,Dynamic inFilter,::native::geom::Rectangle scaleRect,::native::geom::Rectangle inBounds,::native::geom::Rectangle inRect); - Dynamic renderRect0_dyn(); - - virtual Void renderRect( ::native::display::Graphics inGfx,Dynamic inFilter,::native::geom::Rectangle scaleRect,::native::geom::Rectangle inBounds,::native::geom::Rectangle inRect); - Dynamic renderRect_dyn(); - - virtual Void render( ::native::display::Graphics inGfx,::native::geom::Matrix inMatrix,Dynamic inFilter,::native::geom::Rectangle inScaleRect,Dynamic inScaleW,Dynamic inScaleH); - Dynamic render_dyn(); - - virtual Void iterateGroup( ::format::svg::Group inGroup,bool inIgnoreDot); - Dynamic iterateGroup_dyn(); - - virtual Void iteratePath( ::format::svg::Path inPath); - Dynamic iteratePath_dyn(); - - virtual Void iterateText( ::format::svg::Text inText); - Dynamic iterateText_dyn(); - - virtual bool hasGroup( ::String inName); - Dynamic hasGroup_dyn(); - - virtual Dynamic iterate( Dynamic inGfx,Dynamic inFilter); - Dynamic iterate_dyn(); - - Array< ::String > mGroupPath; /* REM */ - Dynamic mFilter; /* REM */ - Dynamic &mFilter_dyn() { return mFilter;} - Dynamic mScaleH; /* REM */ - Dynamic mScaleW; /* REM */ - ::native::geom::Rectangle mScaleRect; /* REM */ - ::native::geom::Matrix mMatrix; /* REM */ - ::format::gfx::Gfx mGfx; /* REM */ - ::format::svg::Group mRoot; /* REM */ - ::format::svg::SVGData mSvg; /* REM */ - Float height; /* REM */ - Float width; /* REM */ - static Array< ::String > toHaxe( ::Xml inXML,Dynamic inFilter); - static Dynamic toHaxe_dyn(); - - static ::format::gfx::GfxBytes toBytes( ::Xml inXML,Dynamic inFilter); - static Dynamic toBytes_dyn(); - -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_SVGRenderer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/Text.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/Text.h deleted file mode 100644 index fbb5106..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/format/svg/Text.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_format_svg_Text -#define INCLUDED_format_svg_Text - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,svg,FillType) -HX_DECLARE_CLASS2(format,svg,Text) -HX_DECLARE_CLASS2(native,geom,Matrix) -namespace format{ -namespace svg{ - - -class Text_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Text_obj OBJ_; - Text_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Text_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Text_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Text"); } - - Float letter_spacing; /* REM */ - Float kerning; /* REM */ - Float font_size; /* REM */ - ::String font_family; /* REM */ - Float stroke_width; /* REM */ - Dynamic stroke_colour; /* REM */ - Float stroke_alpha; /* REM */ - Float fill_alpha; /* REM */ - ::format::svg::FillType fill; /* REM */ - ::String text; /* REM */ - ::native::geom::Matrix matrix; /* REM */ - Float y; /* REM */ - Float x; /* REM */ - ::String name; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_Text */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/BaseCode.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/BaseCode.h deleted file mode 100644 index a28c77a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/BaseCode.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_haxe_BaseCode -#define INCLUDED_haxe_BaseCode - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(haxe,BaseCode) -HX_DECLARE_CLASS2(haxe,io,Bytes) -namespace haxe{ - - -class BaseCode_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef BaseCode_obj OBJ_; - BaseCode_obj(); - Void __construct(::haxe::io::Bytes base); - - public: - static hx::ObjectPtr< BaseCode_obj > __new(::haxe::io::Bytes base); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BaseCode_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BaseCode"); } - - virtual ::String decodeString( ::String s); - Dynamic decodeString_dyn(); - - virtual ::String encodeString( ::String s); - Dynamic encodeString_dyn(); - - virtual ::haxe::io::Bytes decodeBytes( ::haxe::io::Bytes b); - Dynamic decodeBytes_dyn(); - - virtual Void initTable( ); - Dynamic initTable_dyn(); - - virtual ::haxe::io::Bytes encodeBytes( ::haxe::io::Bytes b); - Dynamic encodeBytes_dyn(); - - Array< int > tbl; /* REM */ - int nbits; /* REM */ - ::haxe::io::Bytes base; /* REM */ - static ::String encode( ::String s,::String base); - static Dynamic encode_dyn(); - - static ::String decode( ::String s,::String base); - static Dynamic decode_dyn(); - -}; - -} // end namespace haxe - -#endif /* INCLUDED_haxe_BaseCode */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/Log.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/Log.h deleted file mode 100644 index 7661670..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/Log.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_haxe_Log -#define INCLUDED_haxe_Log - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(haxe,Log) -namespace haxe{ - - -class Log_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Log_obj OBJ_; - Log_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Log_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Log_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Log"); } - - static Dynamic trace; - static inline Dynamic &trace_dyn() {return trace; } - - static Dynamic clear; - static inline Dynamic &clear_dyn() {return clear; } - -}; - -} // end namespace haxe - -#endif /* INCLUDED_haxe_Log */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/Timer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/Timer.h deleted file mode 100644 index 52fd66b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/Timer.h +++ /dev/null @@ -1,69 +0,0 @@ -#ifndef INCLUDED_haxe_Timer -#define INCLUDED_haxe_Timer - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(haxe,Timer) -namespace haxe{ - - -class Timer_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Timer_obj OBJ_; - Timer_obj(); - Void __construct(Float time); - - public: - static hx::ObjectPtr< Timer_obj > __new(Float time); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Timer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Timer"); } - - virtual Void nmeCheck( Float inTime); - Dynamic nmeCheck_dyn(); - - virtual Void stop( ); - Dynamic stop_dyn(); - - Dynamic run; - inline Dynamic &run_dyn() {return run; } - - bool mRunning; /* REM */ - Float mFireAt; /* REM */ - Float mTime; /* REM */ - static Array< ::haxe::Timer > sRunningTimers; /* REM */ - static Dynamic measure( Dynamic f,Dynamic pos); - static Dynamic measure_dyn(); - - static Float nmeNextWake( Float limit); - static Dynamic nmeNextWake_dyn(); - - static Void nmeCheckTimers( ); - static Dynamic nmeCheckTimers_dyn(); - - static Float GetMS( ); - static Dynamic GetMS_dyn(); - - static ::haxe::Timer delay( Dynamic f,int time); - static Dynamic delay_dyn(); - - static Float stamp( ); - static Dynamic stamp_dyn(); - - static Dynamic nme_time_stamp; /* REM */ - static Dynamic &nme_time_stamp_dyn() { return nme_time_stamp;} -}; - -} // end namespace haxe - -#endif /* INCLUDED_haxe_Timer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/io/Bytes.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/io/Bytes.h deleted file mode 100644 index ba7c7ba..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/io/Bytes.h +++ /dev/null @@ -1,76 +0,0 @@ -#ifndef INCLUDED_haxe_io_Bytes -#define INCLUDED_haxe_io_Bytes - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -namespace haxe{ -namespace io{ - - -class Bytes_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Bytes_obj OBJ_; - Bytes_obj(); - Void __construct(int length,Array< unsigned char > b); - - public: - static hx::ObjectPtr< Bytes_obj > __new(int length,Array< unsigned char > b); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Bytes_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Bytes"); } - - virtual Array< unsigned char > getData( ); - Dynamic getData_dyn(); - - virtual ::String toHex( ); - Dynamic toHex_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual ::String readString( int pos,int len); - Dynamic readString_dyn(); - - virtual int compare( ::haxe::io::Bytes other); - Dynamic compare_dyn(); - - virtual ::haxe::io::Bytes sub( int pos,int len); - Dynamic sub_dyn(); - - virtual Void blit( int pos,::haxe::io::Bytes src,int srcpos,int len); - Dynamic blit_dyn(); - - virtual Void set( int pos,int v); - Dynamic set_dyn(); - - virtual int get( int pos); - Dynamic get_dyn(); - - Array< unsigned char > b; /* REM */ - int length; /* REM */ - static ::haxe::io::Bytes alloc( int length); - static Dynamic alloc_dyn(); - - static ::haxe::io::Bytes ofString( ::String s); - static Dynamic ofString_dyn(); - - static ::haxe::io::Bytes ofData( Array< unsigned char > b); - static Dynamic ofData_dyn(); - -}; - -} // end namespace haxe -} // end namespace io - -#endif /* INCLUDED_haxe_io_Bytes */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/io/BytesBuffer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/io/BytesBuffer.h deleted file mode 100644 index 9362c40..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/io/BytesBuffer.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef INCLUDED_haxe_io_BytesBuffer -#define INCLUDED_haxe_io_BytesBuffer - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,BytesBuffer) -namespace haxe{ -namespace io{ - - -class BytesBuffer_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef BytesBuffer_obj OBJ_; - BytesBuffer_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< BytesBuffer_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BytesBuffer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BytesBuffer"); } - - virtual ::haxe::io::Bytes getBytes( ); - Dynamic getBytes_dyn(); - - virtual Void addBytes( ::haxe::io::Bytes src,int pos,int len); - Dynamic addBytes_dyn(); - - virtual Void add( ::haxe::io::Bytes src); - Dynamic add_dyn(); - - virtual Void addByte( int byte); - Dynamic addByte_dyn(); - - Array< unsigned char > b; /* REM */ -}; - -} // end namespace haxe -} // end namespace io - -#endif /* INCLUDED_haxe_io_BytesBuffer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/io/Eof.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/io/Eof.h deleted file mode 100644 index 2971b80..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/io/Eof.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_haxe_io_Eof -#define INCLUDED_haxe_io_Eof - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Eof) -namespace haxe{ -namespace io{ - - -class Eof_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Eof_obj OBJ_; - Eof_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Eof_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Eof_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Eof"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - -}; - -} // end namespace haxe -} // end namespace io - -#endif /* INCLUDED_haxe_io_Eof */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/io/Error.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/io/Error.h deleted file mode 100644 index 933f9e6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/io/Error.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_haxe_io_Error -#define INCLUDED_haxe_io_Error - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Error) -namespace haxe{ -namespace io{ - - -class Error_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef Error_obj OBJ_; - - public: - Error_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("haxe.io.Error"); } - ::String __ToString() const { return HX_CSTRING("Error.") + tag; } - - static ::haxe::io::Error Blocked; - static inline ::haxe::io::Error Blocked_dyn() { return Blocked; } - static ::haxe::io::Error Custom(Dynamic e); - static Dynamic Custom_dyn(); - static ::haxe::io::Error OutsideBounds; - static inline ::haxe::io::Error OutsideBounds_dyn() { return OutsideBounds; } - static ::haxe::io::Error Overflow; - static inline ::haxe::io::Error Overflow_dyn() { return Overflow; } -}; - -} // end namespace haxe -} // end namespace io - -#endif /* INCLUDED_haxe_io_Error */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/io/Input.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/io/Input.h deleted file mode 100644 index 4cfd2a4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/io/Input.h +++ /dev/null @@ -1,107 +0,0 @@ -#ifndef INCLUDED_haxe_io_Input -#define INCLUDED_haxe_io_Input - -#ifndef HXCPP_H -#include -#endif - -#ifndef INCLUDED_cpp_CppInt32__ -#include -#endif -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Input) -namespace haxe{ -namespace io{ - - -class Input_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Input_obj OBJ_; - Input_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Input_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Input_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Input"); } - - virtual ::String readString( int len); - Dynamic readString_dyn(); - - virtual ::cpp::CppInt32__ readInt32( ); - Dynamic readInt32_dyn(); - - virtual int readUInt30( ); - Dynamic readUInt30_dyn(); - - virtual int readInt31( ); - Dynamic readInt31_dyn(); - - virtual int readUInt24( ); - Dynamic readUInt24_dyn(); - - virtual int readInt24( ); - Dynamic readInt24_dyn(); - - virtual int readUInt16( ); - Dynamic readUInt16_dyn(); - - virtual int readInt16( ); - Dynamic readInt16_dyn(); - - virtual int readInt8( ); - Dynamic readInt8_dyn(); - - virtual Float readDouble( ); - Dynamic readDouble_dyn(); - - virtual Float readFloat( ); - Dynamic readFloat_dyn(); - - virtual ::String readLine( ); - Dynamic readLine_dyn(); - - virtual ::String readUntil( int end); - Dynamic readUntil_dyn(); - - virtual ::haxe::io::Bytes read( int nbytes); - Dynamic read_dyn(); - - virtual Void readFullBytes( ::haxe::io::Bytes s,int pos,int len); - Dynamic readFullBytes_dyn(); - - virtual ::haxe::io::Bytes readAll( Dynamic bufsize); - Dynamic readAll_dyn(); - - virtual bool setEndian( bool b); - Dynamic setEndian_dyn(); - - virtual Void close( ); - Dynamic close_dyn(); - - virtual int readBytes( ::haxe::io::Bytes s,int pos,int len); - Dynamic readBytes_dyn(); - - virtual int readByte( ); - Dynamic readByte_dyn(); - - bool bigEndian; /* REM */ - static Dynamic _float_of_bytes; /* REM */ - static Dynamic &_float_of_bytes_dyn() { return _float_of_bytes;} - static Dynamic _double_of_bytes; /* REM */ - static Dynamic &_double_of_bytes_dyn() { return _double_of_bytes;} -}; - -} // end namespace haxe -} // end namespace io - -#endif /* INCLUDED_haxe_io_Input */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/io/Output.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/io/Output.h deleted file mode 100644 index ca20052..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/io/Output.h +++ /dev/null @@ -1,109 +0,0 @@ -#ifndef INCLUDED_haxe_io_Output -#define INCLUDED_haxe_io_Output - -#ifndef HXCPP_H -#include -#endif - -#ifndef INCLUDED_cpp_CppInt32__ -#include -#endif -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Input) -HX_DECLARE_CLASS2(haxe,io,Output) -namespace haxe{ -namespace io{ - - -class Output_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Output_obj OBJ_; - Output_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Output_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Output_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Output"); } - - virtual Void writeString( ::String s); - Dynamic writeString_dyn(); - - virtual Void writeInput( ::haxe::io::Input i,Dynamic bufsize); - Dynamic writeInput_dyn(); - - virtual Void prepare( int nbytes); - Dynamic prepare_dyn(); - - virtual Void writeInt32( ::cpp::CppInt32__ x); - Dynamic writeInt32_dyn(); - - virtual Void writeUInt30( int x); - Dynamic writeUInt30_dyn(); - - virtual Void writeInt31( int x); - Dynamic writeInt31_dyn(); - - virtual Void writeUInt24( int x); - Dynamic writeUInt24_dyn(); - - virtual Void writeInt24( int x); - Dynamic writeInt24_dyn(); - - virtual Void writeUInt16( int x); - Dynamic writeUInt16_dyn(); - - virtual Void writeInt16( int x); - Dynamic writeInt16_dyn(); - - virtual Void writeInt8( int x); - Dynamic writeInt8_dyn(); - - virtual Void writeDouble( Float x); - Dynamic writeDouble_dyn(); - - virtual Void writeFloat( Float x); - Dynamic writeFloat_dyn(); - - virtual Void writeFullBytes( ::haxe::io::Bytes s,int pos,int len); - Dynamic writeFullBytes_dyn(); - - virtual Void write( ::haxe::io::Bytes s); - Dynamic write_dyn(); - - virtual bool setEndian( bool b); - Dynamic setEndian_dyn(); - - virtual Void close( ); - Dynamic close_dyn(); - - virtual Void flush( ); - Dynamic flush_dyn(); - - virtual int writeBytes( ::haxe::io::Bytes s,int pos,int len); - Dynamic writeBytes_dyn(); - - virtual Void writeByte( int c); - Dynamic writeByte_dyn(); - - bool bigEndian; /* REM */ - static Float LN2; /* REM */ - static Dynamic _float_bytes; /* REM */ - static Dynamic &_float_bytes_dyn() { return _float_bytes;} - static Dynamic _double_bytes; /* REM */ - static Dynamic &_double_bytes_dyn() { return _double_bytes;} -}; - -} // end namespace haxe -} // end namespace io - -#endif /* INCLUDED_haxe_io_Output */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/xml/Fast.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/xml/Fast.h deleted file mode 100644 index 3b6e5be..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/xml/Fast.h +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef INCLUDED_haxe_xml_Fast -#define INCLUDED_haxe_xml_Fast - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS2(haxe,xml,Fast) -HX_DECLARE_CLASS3(haxe,xml,_Fast,AttribAccess) -HX_DECLARE_CLASS3(haxe,xml,_Fast,HasAttribAccess) -HX_DECLARE_CLASS3(haxe,xml,_Fast,HasNodeAccess) -HX_DECLARE_CLASS3(haxe,xml,_Fast,NodeAccess) -HX_DECLARE_CLASS3(haxe,xml,_Fast,NodeListAccess) -namespace haxe{ -namespace xml{ - - -class Fast_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Fast_obj OBJ_; - Fast_obj(); - Void __construct(::Xml x); - - public: - static hx::ObjectPtr< Fast_obj > __new(::Xml x); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Fast_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Fast"); } - - virtual Dynamic getElements( ); - Dynamic getElements_dyn(); - - virtual ::String getInnerHTML( ); - Dynamic getInnerHTML_dyn(); - - virtual ::String getInnerData( ); - Dynamic getInnerData_dyn(); - - virtual ::String getName( ); - Dynamic getName_dyn(); - - Dynamic elements; /* REM */ - ::haxe::xml::_Fast::HasNodeAccess hasNode; /* REM */ - ::haxe::xml::_Fast::HasAttribAccess has; /* REM */ - ::haxe::xml::_Fast::AttribAccess att; /* REM */ - ::haxe::xml::_Fast::NodeListAccess nodes; /* REM */ - ::haxe::xml::_Fast::NodeAccess node; /* REM */ - ::String innerHTML; /* REM */ - ::String innerData; /* REM */ - ::String name; /* REM */ - ::Xml x; /* REM */ -}; - -} // end namespace haxe -} // end namespace xml - -#endif /* INCLUDED_haxe_xml_Fast */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/xml/_Fast/AttribAccess.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/xml/_Fast/AttribAccess.h deleted file mode 100644 index 9fb7118..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/xml/_Fast/AttribAccess.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#define INCLUDED_haxe_xml__Fast_AttribAccess - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS3(haxe,xml,_Fast,AttribAccess) -namespace haxe{ -namespace xml{ -namespace _Fast{ - - -class AttribAccess_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef AttribAccess_obj OBJ_; - AttribAccess_obj(); - Void __construct(::Xml x); - - public: - static hx::ObjectPtr< AttribAccess_obj > __new(::Xml x); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~AttribAccess_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("AttribAccess"); } - - virtual ::String resolve( ::String name); - Dynamic resolve_dyn(); - - ::Xml __x; /* REM */ -}; - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast - -#endif /* INCLUDED_haxe_xml__Fast_AttribAccess */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/xml/_Fast/HasAttribAccess.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/xml/_Fast/HasAttribAccess.h deleted file mode 100644 index 0068b20..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/xml/_Fast/HasAttribAccess.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_haxe_xml__Fast_HasAttribAccess -#define INCLUDED_haxe_xml__Fast_HasAttribAccess - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS3(haxe,xml,_Fast,HasAttribAccess) -namespace haxe{ -namespace xml{ -namespace _Fast{ - - -class HasAttribAccess_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef HasAttribAccess_obj OBJ_; - HasAttribAccess_obj(); - Void __construct(::Xml x); - - public: - static hx::ObjectPtr< HasAttribAccess_obj > __new(::Xml x); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~HasAttribAccess_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("HasAttribAccess"); } - - virtual bool resolve( ::String name); - Dynamic resolve_dyn(); - - ::Xml __x; /* REM */ -}; - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast - -#endif /* INCLUDED_haxe_xml__Fast_HasAttribAccess */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/xml/_Fast/HasNodeAccess.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/xml/_Fast/HasNodeAccess.h deleted file mode 100644 index aac5843..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/xml/_Fast/HasNodeAccess.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_haxe_xml__Fast_HasNodeAccess -#define INCLUDED_haxe_xml__Fast_HasNodeAccess - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS3(haxe,xml,_Fast,HasNodeAccess) -namespace haxe{ -namespace xml{ -namespace _Fast{ - - -class HasNodeAccess_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef HasNodeAccess_obj OBJ_; - HasNodeAccess_obj(); - Void __construct(::Xml x); - - public: - static hx::ObjectPtr< HasNodeAccess_obj > __new(::Xml x); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~HasNodeAccess_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("HasNodeAccess"); } - - virtual bool resolve( ::String name); - Dynamic resolve_dyn(); - - ::Xml __x; /* REM */ -}; - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast - -#endif /* INCLUDED_haxe_xml__Fast_HasNodeAccess */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/xml/_Fast/NodeAccess.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/xml/_Fast/NodeAccess.h deleted file mode 100644 index 66ef72c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/xml/_Fast/NodeAccess.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_haxe_xml__Fast_NodeAccess -#define INCLUDED_haxe_xml__Fast_NodeAccess - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS2(haxe,xml,Fast) -HX_DECLARE_CLASS3(haxe,xml,_Fast,NodeAccess) -namespace haxe{ -namespace xml{ -namespace _Fast{ - - -class NodeAccess_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef NodeAccess_obj OBJ_; - NodeAccess_obj(); - Void __construct(::Xml x); - - public: - static hx::ObjectPtr< NodeAccess_obj > __new(::Xml x); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~NodeAccess_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("NodeAccess"); } - - virtual ::haxe::xml::Fast resolve( ::String name); - Dynamic resolve_dyn(); - - ::Xml __x; /* REM */ -}; - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast - -#endif /* INCLUDED_haxe_xml__Fast_NodeAccess */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/xml/_Fast/NodeListAccess.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/xml/_Fast/NodeListAccess.h deleted file mode 100644 index c390e73..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/haxe/xml/_Fast/NodeListAccess.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_haxe_xml__Fast_NodeListAccess -#define INCLUDED_haxe_xml__Fast_NodeListAccess - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(List) -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS3(haxe,xml,_Fast,NodeListAccess) -namespace haxe{ -namespace xml{ -namespace _Fast{ - - -class NodeListAccess_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef NodeListAccess_obj OBJ_; - NodeListAccess_obj(); - Void __construct(::Xml x); - - public: - static hx::ObjectPtr< NodeListAccess_obj > __new(::Xml x); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~NodeListAccess_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("NodeListAccess"); } - - virtual ::List resolve( ::String name); - Dynamic resolve_dyn(); - - ::Xml __x; /* REM */ -}; - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast - -#endif /* INCLUDED_haxe_xml__Fast_NodeListAccess */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/Lib.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/Lib.h deleted file mode 100644 index 1bc3aa1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/Lib.h +++ /dev/null @@ -1,126 +0,0 @@ -#ifndef INCLUDED_native_Lib -#define INCLUDED_native_Lib - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(native,Lib) -HX_DECLARE_CLASS2(native,display,BitmapData) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,ManagedStage) -HX_DECLARE_CLASS2(native,display,MovieClip) -HX_DECLARE_CLASS2(native,display,Sprite) -HX_DECLARE_CLASS2(native,display,Stage) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,net,URLRequest) -namespace native{ - - -class Lib_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Lib_obj OBJ_; - Lib_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Lib_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Lib_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Lib"); } - - static int FULLSCREEN; /* REM */ - static int BORDERLESS; /* REM */ - static int RESIZABLE; /* REM */ - static int HARDWARE; /* REM */ - static int VSYNC; /* REM */ - static int HW_AA; /* REM */ - static int HW_AA_HIRES; /* REM */ - static int ALLOW_SHADERS; /* REM */ - static int REQUIRE_SHADERS; /* REM */ - static int DEPTH_BUFFER; /* REM */ - static int STENCIL_BUFFER; /* REM */ - static ::native::display::MovieClip current; /* REM */ - static int initHeight; /* REM */ - static int initWidth; /* REM */ - static ::native::display::Stage stage; /* REM */ - static ::native::display::MovieClip nmeCurrent; /* REM */ - static Dynamic nmeMainFrame; /* REM */ - static ::native::display::Stage nmeStage; /* REM */ - static bool sIsInit; /* REM */ - static ::String company; /* REM */ - static ::String version; /* REM */ - static ::String packageName; /* REM */ - static ::String file; /* REM */ - static Void close( ); - static Dynamic close_dyn(); - - static Void create( Dynamic inOnLoaded,int inWidth,int inHeight,hx::Null< Float > inFrameRate,hx::Null< int > inColour,hx::Null< int > inFlags,::String inTitle,::native::display::BitmapData inIcon); - static Dynamic create_dyn(); - - static ::native::display::ManagedStage createManagedStage( int inWidth,int inHeight,hx::Null< int > inFlags); - static Dynamic createManagedStage_dyn(); - - static Void exit( ); - static Dynamic exit_dyn(); - - static Void forceClose( ); - static Dynamic forceClose_dyn(); - - static int getTimer( ); - static Dynamic getTimer_dyn(); - - static Void getURL( ::native::net::URLRequest url,::String target); - static Dynamic getURL_dyn(); - - static Void nmeSetCurrentStage( ::native::display::Stage inStage); - static Dynamic nmeSetCurrentStage_dyn(); - - static Void pause( ); - static Dynamic pause_dyn(); - - static Void postUICallback( Dynamic inCallback); - static Dynamic postUICallback_dyn(); - - static Void resume( ); - static Dynamic resume_dyn(); - - static Void setIcon( ::String path); - static Dynamic setIcon_dyn(); - - static Void setPackage( ::String inCompany,::String inFile,::String inPack,::String inVersion); - static Dynamic setPackage_dyn(); - - static ::native::display::MovieClip get_current( ); - static Dynamic get_current_dyn(); - - static ::native::display::Stage get_stage( ); - static Dynamic get_stage_dyn(); - - static Dynamic nme_set_package; /* REM */ - static Dynamic &nme_set_package_dyn() { return nme_set_package;} - static Dynamic nme_get_frame_stage; /* REM */ - static Dynamic &nme_get_frame_stage_dyn() { return nme_get_frame_stage;} - static Dynamic nme_get_url; /* REM */ - static Dynamic &nme_get_url_dyn() { return nme_get_url;} - static Dynamic nme_pause_animation; /* REM */ - static Dynamic &nme_pause_animation_dyn() { return nme_pause_animation;} - static Dynamic nme_resume_animation; /* REM */ - static Dynamic &nme_resume_animation_dyn() { return nme_resume_animation;} -}; - -} // end namespace native - -#endif /* INCLUDED_native_Lib */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/Loader.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/Loader.h deleted file mode 100644 index b3a63d6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/Loader.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_native_Loader -#define INCLUDED_native_Loader - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(native,Loader) -namespace native{ - - -class Loader_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Loader_obj OBJ_; - Loader_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Loader_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Loader_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Loader"); } - - static bool moduleInit; /* REM */ - static ::String moduleName; /* REM */ - static Dynamic load( ::String func,int args); - static Dynamic load_dyn(); - -}; - -} // end namespace native - -#endif /* INCLUDED_native_Loader */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Bitmap.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Bitmap.h deleted file mode 100644 index 93fa4b7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Bitmap.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef INCLUDED_native_display_Bitmap -#define INCLUDED_native_display_Bitmap - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,display,Bitmap) -HX_DECLARE_CLASS2(native,display,BitmapData) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,Graphics) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,PixelSnapping) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -namespace native{ -namespace display{ - - -class Bitmap_obj : public ::native::display::DisplayObject_obj{ - public: - typedef ::native::display::DisplayObject_obj super; - typedef Bitmap_obj OBJ_; - Bitmap_obj(); - Void __construct(::native::display::BitmapData bitmapData,::native::display::PixelSnapping pixelSnapping,hx::Null< bool > __o_smoothing); - - public: - static hx::ObjectPtr< Bitmap_obj > __new(::native::display::BitmapData bitmapData,::native::display::PixelSnapping pixelSnapping,hx::Null< bool > __o_smoothing); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Bitmap_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Bitmap"); } - - virtual bool set_smoothing( bool inSmooth); - Dynamic set_smoothing_dyn(); - - virtual ::native::display::BitmapData set_bitmapData( ::native::display::BitmapData inBitmapData); - Dynamic set_bitmapData_dyn(); - - virtual Void nmeRebuild( ); - Dynamic nmeRebuild_dyn(); - - ::native::display::Graphics mGraphics; /* REM */ - bool smoothing; /* REM */ - ::native::display::BitmapData bitmapData; /* REM */ -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_Bitmap */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/BitmapData.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/BitmapData.h deleted file mode 100644 index 238d4c0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/BitmapData.h +++ /dev/null @@ -1,263 +0,0 @@ -#ifndef INCLUDED_native_display_BitmapData -#define INCLUDED_native_display_BitmapData - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(native,display,BitmapData) -HX_DECLARE_CLASS2(native,display,BlendMode) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,filters,BitmapFilter) -HX_DECLARE_CLASS2(native,geom,ColorTransform) -HX_DECLARE_CLASS2(native,geom,Matrix) -HX_DECLARE_CLASS2(native,geom,Point) -HX_DECLARE_CLASS2(native,geom,Rectangle) -HX_DECLARE_CLASS2(native,utils,ByteArray) -HX_DECLARE_CLASS2(native,utils,IDataInput) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -namespace native{ -namespace display{ - - -class BitmapData_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef BitmapData_obj OBJ_; - BitmapData_obj(); - Void __construct(int inWidth,int inHeight,hx::Null< bool > __o_inTransparent,Dynamic inFillRGBA,Dynamic inGPUMode); - - public: - static hx::ObjectPtr< BitmapData_obj > __new(int inWidth,int inHeight,hx::Null< bool > __o_inTransparent,Dynamic inFillRGBA,Dynamic inGPUMode); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BitmapData_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::native::display::IBitmapDrawable_obj *() - { return new ::native::display::IBitmapDrawable_delegate_< BitmapData_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("BitmapData"); } - - virtual bool get_transparent( ); - Dynamic get_transparent_dyn(); - - virtual int get_height( ); - Dynamic get_height_dyn(); - - virtual int get_width( ); - Dynamic get_width_dyn(); - - virtual ::native::geom::Rectangle get_rect( ); - Dynamic get_rect_dyn(); - - virtual Void noise( int randomSeed,hx::Null< int > low,hx::Null< int > high,hx::Null< int > channelOptions,hx::Null< bool > grayScale); - Dynamic noise_dyn(); - - virtual Void setFormat( int format); - Dynamic setFormat_dyn(); - - virtual Void unlock( ::native::geom::Rectangle changeRect); - Dynamic unlock_dyn(); - - virtual Void setVector( ::native::geom::Rectangle rect,Array< int > inPixels); - Dynamic setVector_dyn(); - - virtual Void setPixels( ::native::geom::Rectangle rect,::native::utils::ByteArray pixels); - Dynamic setPixels_dyn(); - - virtual Void setPixel32( int inX,int inY,int inColour); - Dynamic setPixel32_dyn(); - - virtual Void setPixel( int inX,int inY,int inColour); - Dynamic setPixel_dyn(); - - virtual Void setFlags( int inFlags); - Dynamic setFlags_dyn(); - - virtual Void scroll( int inDX,int inDY); - Dynamic scroll_dyn(); - - virtual Void perlinNoise( Float baseX,Float baseY,int numOctaves,int randomSeed,bool stitch,bool fractalNoise,hx::Null< int > channelOptions,hx::Null< bool > grayScale,Array< ::native::geom::Point > offsets); - Dynamic perlinNoise_dyn(); - - virtual Void nmeDrawToSurface( Dynamic inSurface,::native::geom::Matrix matrix,::native::geom::ColorTransform colorTransform,::String blendMode,::native::geom::Rectangle clipRect,bool smoothing); - Dynamic nmeDrawToSurface_dyn(); - - virtual Void lock( ); - Dynamic lock_dyn(); - - virtual Array< int > getVector( ::native::geom::Rectangle rect); - Dynamic getVector_dyn(); - - virtual ::native::utils::ByteArray getPixels( ::native::geom::Rectangle rect); - Dynamic getPixels_dyn(); - - virtual int getPixel32( int x,int y); - Dynamic getPixel32_dyn(); - - virtual int getPixel( int x,int y); - Dynamic getPixel_dyn(); - - virtual ::native::geom::Rectangle getColorBoundsRect( int mask,int color,hx::Null< bool > findColor); - Dynamic getColorBoundsRect_dyn(); - - virtual ::native::geom::Rectangle generateFilterRect( ::native::geom::Rectangle sourceRect,::native::filters::BitmapFilter filter); - Dynamic generateFilterRect_dyn(); - - virtual Void fillRectEx( ::native::geom::Rectangle rect,int inColour,hx::Null< int > inAlpha); - Dynamic fillRectEx_dyn(); - - virtual Void fillRect( ::native::geom::Rectangle rect,int inColour); - Dynamic fillRect_dyn(); - - virtual ::native::utils::ByteArray encode( ::String inFormat,hx::Null< Float > inQuality); - Dynamic encode_dyn(); - - virtual Void dumpBits( ); - Dynamic dumpBits_dyn(); - - virtual Void draw( ::native::display::IBitmapDrawable source,::native::geom::Matrix matrix,::native::geom::ColorTransform colorTransform,::native::display::BlendMode blendMode,::native::geom::Rectangle clipRect,hx::Null< bool > smoothing); - Dynamic draw_dyn(); - - virtual Void dispose( ); - Dynamic dispose_dyn(); - - virtual Void destroyHardwareSurface( ); - Dynamic destroyHardwareSurface_dyn(); - - virtual Void createHardwareSurface( ); - Dynamic createHardwareSurface_dyn(); - - virtual Void copyPixels( ::native::display::BitmapData sourceBitmapData,::native::geom::Rectangle sourceRect,::native::geom::Point destPoint,::native::display::BitmapData alphaBitmapData,::native::geom::Point alphaPoint,hx::Null< bool > mergeAlpha); - Dynamic copyPixels_dyn(); - - virtual Void copyChannel( ::native::display::BitmapData sourceBitmapData,::native::geom::Rectangle sourceRect,::native::geom::Point destPoint,int inSourceChannel,int inDestChannel); - Dynamic copyChannel_dyn(); - - virtual Void colorTransform( ::native::geom::Rectangle rect,::native::geom::ColorTransform colorTransform); - Dynamic colorTransform_dyn(); - - virtual ::native::display::BitmapData clone( ); - Dynamic clone_dyn(); - - virtual Void clear( int color); - Dynamic clear_dyn(); - - virtual Void applyFilter( ::native::display::BitmapData sourceBitmapData,::native::geom::Rectangle sourceRect,::native::geom::Point destPoint,::native::filters::BitmapFilter filter); - Dynamic applyFilter_dyn(); - - Dynamic nmeHandle; /* REM */ - int width; /* REM */ - bool transparent; /* REM */ - ::native::geom::Rectangle rect; /* REM */ - int height; /* REM */ - static int CLEAR; /* REM */ - static int BLACK; /* REM */ - static int WHITE; /* REM */ - static int RED; /* REM */ - static int GREEN; /* REM */ - static int BLUE; /* REM */ - static ::String PNG; /* REM */ - static ::String JPG; /* REM */ - static int TRANSPARENT; /* REM */ - static int HARDWARE; /* REM */ - static int FORMAT_8888; /* REM */ - static int FORMAT_4444; /* REM */ - static int FORMAT_565; /* REM */ - static int createColor( int inRGB,hx::Null< int > inAlpha); - static Dynamic createColor_dyn(); - - static int extractAlpha( int v); - static Dynamic extractAlpha_dyn(); - - static int extractColor( int v); - static Dynamic extractColor_dyn(); - - static ::native::display::BitmapData load( ::String inFilename,hx::Null< int > format); - static Dynamic load_dyn(); - - static ::native::display::BitmapData loadFromBytes( ::native::utils::ByteArray inBytes,::native::utils::ByteArray inRawAlpha); - static Dynamic loadFromBytes_dyn(); - - static ::native::display::BitmapData loadFromHaxeBytes( ::haxe::io::Bytes inBytes,::haxe::io::Bytes inRawAlpha); - static Dynamic loadFromHaxeBytes_dyn(); - - static Dynamic nme_bitmap_data_create; /* REM */ - static Dynamic &nme_bitmap_data_create_dyn() { return nme_bitmap_data_create;} - static Dynamic nme_bitmap_data_load; /* REM */ - static Dynamic &nme_bitmap_data_load_dyn() { return nme_bitmap_data_load;} - static Dynamic nme_bitmap_data_from_bytes; /* REM */ - static Dynamic &nme_bitmap_data_from_bytes_dyn() { return nme_bitmap_data_from_bytes;} - static Dynamic nme_bitmap_data_clear; /* REM */ - static Dynamic &nme_bitmap_data_clear_dyn() { return nme_bitmap_data_clear;} - static Dynamic nme_bitmap_data_clone; /* REM */ - static Dynamic &nme_bitmap_data_clone_dyn() { return nme_bitmap_data_clone;} - static Dynamic nme_bitmap_data_apply_filter; /* REM */ - static Dynamic &nme_bitmap_data_apply_filter_dyn() { return nme_bitmap_data_apply_filter;} - static Dynamic nme_bitmap_data_color_transform; /* REM */ - static Dynamic &nme_bitmap_data_color_transform_dyn() { return nme_bitmap_data_color_transform;} - static Dynamic nme_bitmap_data_copy; /* REM */ - static Dynamic &nme_bitmap_data_copy_dyn() { return nme_bitmap_data_copy;} - static Dynamic nme_bitmap_data_copy_channel; /* REM */ - static Dynamic &nme_bitmap_data_copy_channel_dyn() { return nme_bitmap_data_copy_channel;} - static Dynamic nme_bitmap_data_fill; /* REM */ - static Dynamic &nme_bitmap_data_fill_dyn() { return nme_bitmap_data_fill;} - static Dynamic nme_bitmap_data_get_pixels; /* REM */ - static Dynamic &nme_bitmap_data_get_pixels_dyn() { return nme_bitmap_data_get_pixels;} - static Dynamic nme_bitmap_data_get_pixel; /* REM */ - static Dynamic &nme_bitmap_data_get_pixel_dyn() { return nme_bitmap_data_get_pixel;} - static Dynamic nme_bitmap_data_get_pixel32; /* REM */ - static Dynamic &nme_bitmap_data_get_pixel32_dyn() { return nme_bitmap_data_get_pixel32;} - static Dynamic nme_bitmap_data_get_pixel_rgba; /* REM */ - static Dynamic nme_bitmap_data_get_array; /* REM */ - static Dynamic &nme_bitmap_data_get_array_dyn() { return nme_bitmap_data_get_array;} - static Dynamic nme_bitmap_data_get_color_bounds_rect; /* REM */ - static Dynamic &nme_bitmap_data_get_color_bounds_rect_dyn() { return nme_bitmap_data_get_color_bounds_rect;} - static Dynamic nme_bitmap_data_scroll; /* REM */ - static Dynamic &nme_bitmap_data_scroll_dyn() { return nme_bitmap_data_scroll;} - static Dynamic nme_bitmap_data_set_pixel; /* REM */ - static Dynamic &nme_bitmap_data_set_pixel_dyn() { return nme_bitmap_data_set_pixel;} - static Dynamic nme_bitmap_data_set_pixel32; /* REM */ - static Dynamic &nme_bitmap_data_set_pixel32_dyn() { return nme_bitmap_data_set_pixel32;} - static Dynamic nme_bitmap_data_set_pixel_rgba; /* REM */ - static Dynamic nme_bitmap_data_set_bytes; /* REM */ - static Dynamic &nme_bitmap_data_set_bytes_dyn() { return nme_bitmap_data_set_bytes;} - static Dynamic nme_bitmap_data_set_format; /* REM */ - static Dynamic &nme_bitmap_data_set_format_dyn() { return nme_bitmap_data_set_format;} - static Dynamic nme_bitmap_data_set_array; /* REM */ - static Dynamic &nme_bitmap_data_set_array_dyn() { return nme_bitmap_data_set_array;} - static Dynamic nme_bitmap_data_create_hardware_surface; /* REM */ - static Dynamic &nme_bitmap_data_create_hardware_surface_dyn() { return nme_bitmap_data_create_hardware_surface;} - static Dynamic nme_bitmap_data_destroy_hardware_surface; /* REM */ - static Dynamic &nme_bitmap_data_destroy_hardware_surface_dyn() { return nme_bitmap_data_destroy_hardware_surface;} - static Dynamic nme_bitmap_data_generate_filter_rect; /* REM */ - static Dynamic &nme_bitmap_data_generate_filter_rect_dyn() { return nme_bitmap_data_generate_filter_rect;} - static Dynamic nme_render_surface_to_surface; /* REM */ - static Dynamic &nme_render_surface_to_surface_dyn() { return nme_render_surface_to_surface;} - static Dynamic nme_bitmap_data_height; /* REM */ - static Dynamic &nme_bitmap_data_height_dyn() { return nme_bitmap_data_height;} - static Dynamic nme_bitmap_data_width; /* REM */ - static Dynamic &nme_bitmap_data_width_dyn() { return nme_bitmap_data_width;} - static Dynamic nme_bitmap_data_get_transparent; /* REM */ - static Dynamic &nme_bitmap_data_get_transparent_dyn() { return nme_bitmap_data_get_transparent;} - static Dynamic nme_bitmap_data_set_flags; /* REM */ - static Dynamic &nme_bitmap_data_set_flags_dyn() { return nme_bitmap_data_set_flags;} - static Dynamic nme_bitmap_data_encode; /* REM */ - static Dynamic &nme_bitmap_data_encode_dyn() { return nme_bitmap_data_encode;} - static Dynamic nme_bitmap_data_dump_bits; /* REM */ - static Dynamic &nme_bitmap_data_dump_bits_dyn() { return nme_bitmap_data_dump_bits;} - static Dynamic nme_bitmap_data_noise; /* REM */ - static Dynamic &nme_bitmap_data_noise_dyn() { return nme_bitmap_data_noise;} -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_BitmapData */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/BitmapDataChannel.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/BitmapDataChannel.h deleted file mode 100644 index 9561d18..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/BitmapDataChannel.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_native_display_BitmapDataChannel -#define INCLUDED_native_display_BitmapDataChannel - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,BitmapDataChannel) -namespace native{ -namespace display{ - - -class BitmapDataChannel_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef BitmapDataChannel_obj OBJ_; - BitmapDataChannel_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< BitmapDataChannel_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BitmapDataChannel_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BitmapDataChannel"); } - - static int ALPHA; /* REM */ - static int BLUE; /* REM */ - static int GREEN; /* REM */ - static int RED; /* REM */ -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_BitmapDataChannel */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/BlendMode.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/BlendMode.h deleted file mode 100644 index f86aec1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/BlendMode.h +++ /dev/null @@ -1,59 +0,0 @@ -#ifndef INCLUDED_native_display_BlendMode -#define INCLUDED_native_display_BlendMode - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,BlendMode) -namespace native{ -namespace display{ - - -class BlendMode_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef BlendMode_obj OBJ_; - - public: - BlendMode_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.display.BlendMode"); } - ::String __ToString() const { return HX_CSTRING("BlendMode.") + tag; } - - static ::native::display::BlendMode ADD; - static inline ::native::display::BlendMode ADD_dyn() { return ADD; } - static ::native::display::BlendMode ALPHA; - static inline ::native::display::BlendMode ALPHA_dyn() { return ALPHA; } - static ::native::display::BlendMode DARKEN; - static inline ::native::display::BlendMode DARKEN_dyn() { return DARKEN; } - static ::native::display::BlendMode DIFFERENCE; - static inline ::native::display::BlendMode DIFFERENCE_dyn() { return DIFFERENCE; } - static ::native::display::BlendMode ERASE; - static inline ::native::display::BlendMode ERASE_dyn() { return ERASE; } - static ::native::display::BlendMode HARDLIGHT; - static inline ::native::display::BlendMode HARDLIGHT_dyn() { return HARDLIGHT; } - static ::native::display::BlendMode INVERT; - static inline ::native::display::BlendMode INVERT_dyn() { return INVERT; } - static ::native::display::BlendMode LAYER; - static inline ::native::display::BlendMode LAYER_dyn() { return LAYER; } - static ::native::display::BlendMode LIGHTEN; - static inline ::native::display::BlendMode LIGHTEN_dyn() { return LIGHTEN; } - static ::native::display::BlendMode MULTIPLY; - static inline ::native::display::BlendMode MULTIPLY_dyn() { return MULTIPLY; } - static ::native::display::BlendMode NORMAL; - static inline ::native::display::BlendMode NORMAL_dyn() { return NORMAL; } - static ::native::display::BlendMode OVERLAY; - static inline ::native::display::BlendMode OVERLAY_dyn() { return OVERLAY; } - static ::native::display::BlendMode SCREEN; - static inline ::native::display::BlendMode SCREEN_dyn() { return SCREEN; } - static ::native::display::BlendMode SUBTRACT; - static inline ::native::display::BlendMode SUBTRACT_dyn() { return SUBTRACT; } -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_BlendMode */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/CapsStyle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/CapsStyle.h deleted file mode 100644 index 3717e3b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/CapsStyle.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_native_display_CapsStyle -#define INCLUDED_native_display_CapsStyle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,CapsStyle) -namespace native{ -namespace display{ - - -class CapsStyle_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef CapsStyle_obj OBJ_; - - public: - CapsStyle_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.display.CapsStyle"); } - ::String __ToString() const { return HX_CSTRING("CapsStyle.") + tag; } - - static ::native::display::CapsStyle NONE; - static inline ::native::display::CapsStyle NONE_dyn() { return NONE; } - static ::native::display::CapsStyle ROUND; - static inline ::native::display::CapsStyle ROUND_dyn() { return ROUND; } - static ::native::display::CapsStyle SQUARE; - static inline ::native::display::CapsStyle SQUARE_dyn() { return SQUARE; } -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_CapsStyle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/DirectRenderer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/DirectRenderer.h deleted file mode 100644 index 7796b3f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/DirectRenderer.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_native_display_DirectRenderer -#define INCLUDED_native_display_DirectRenderer - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,display,DirectRenderer) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,geom,Rectangle) -namespace native{ -namespace display{ - - -class DirectRenderer_obj : public ::native::display::DisplayObject_obj{ - public: - typedef ::native::display::DisplayObject_obj super; - typedef DirectRenderer_obj OBJ_; - DirectRenderer_obj(); - Void __construct(::String __o_inType); - - public: - static hx::ObjectPtr< DirectRenderer_obj > __new(::String __o_inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~DirectRenderer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("DirectRenderer"); } - - Dynamic render; - inline Dynamic &render_dyn() {return render; } - - virtual Void nmeOnRender( Dynamic inRect); - Dynamic nmeOnRender_dyn(); - - static Dynamic nme_direct_renderer_create; /* REM */ - static Dynamic &nme_direct_renderer_create_dyn() { return nme_direct_renderer_create;} - static Dynamic nme_direct_renderer_set; /* REM */ - static Dynamic &nme_direct_renderer_set_dyn() { return nme_direct_renderer_set;} -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_DirectRenderer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/DisplayObject.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/DisplayObject.h deleted file mode 100644 index 7bd2af3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/DisplayObject.h +++ /dev/null @@ -1,396 +0,0 @@ -#ifndef INCLUDED_native_display_DisplayObject -#define INCLUDED_native_display_DisplayObject - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS2(native,display,BlendMode) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,Graphics) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,PixelSnapping) -HX_DECLARE_CLASS2(native,display,Stage) -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,geom,ColorTransform) -HX_DECLARE_CLASS2(native,geom,Matrix) -HX_DECLARE_CLASS2(native,geom,Point) -HX_DECLARE_CLASS2(native,geom,Rectangle) -HX_DECLARE_CLASS2(native,geom,Transform) -namespace native{ -namespace display{ - - -class DisplayObject_obj : public ::native::events::EventDispatcher_obj{ - public: - typedef ::native::events::EventDispatcher_obj super; - typedef DisplayObject_obj OBJ_; - DisplayObject_obj(); - Void __construct(Dynamic inHandle,::String inType); - - public: - static hx::ObjectPtr< DisplayObject_obj > __new(Dynamic inHandle,::String inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~DisplayObject_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::native::display::IBitmapDrawable_obj *() - { return new ::native::display::IBitmapDrawable_delegate_< DisplayObject_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("DisplayObject"); } - - virtual Float set_y( Float inVal); - Dynamic set_y_dyn(); - - virtual Float get_y( ); - Dynamic get_y_dyn(); - - virtual Float set_x( Float inVal); - Dynamic set_x_dyn(); - - virtual Float get_x( ); - Dynamic get_x_dyn(); - - virtual Float set_width( Float inVal); - Dynamic set_width_dyn(); - - virtual Float get_width( ); - Dynamic get_width_dyn(); - - virtual bool set_visible( bool inVal); - Dynamic set_visible_dyn(); - - virtual bool get_visible( ); - Dynamic get_visible_dyn(); - - virtual ::native::geom::Transform set_transform( ::native::geom::Transform inTransform); - Dynamic set_transform_dyn(); - - virtual ::native::geom::Transform get_transform( ); - Dynamic get_transform_dyn(); - - virtual ::native::display::Stage get_stage( ); - Dynamic get_stage_dyn(); - - virtual ::native::geom::Rectangle set_scrollRect( ::native::geom::Rectangle inRect); - Dynamic set_scrollRect_dyn(); - - virtual ::native::geom::Rectangle get_scrollRect( ); - Dynamic get_scrollRect_dyn(); - - virtual Float set_scaleY( Float inVal); - Dynamic set_scaleY_dyn(); - - virtual Float get_scaleY( ); - Dynamic get_scaleY_dyn(); - - virtual Float set_scaleX( Float inVal); - Dynamic set_scaleX_dyn(); - - virtual Float get_scaleX( ); - Dynamic get_scaleX_dyn(); - - virtual ::native::geom::Rectangle set_scale9Grid( ::native::geom::Rectangle inRect); - Dynamic set_scale9Grid_dyn(); - - virtual ::native::geom::Rectangle get_scale9Grid( ); - Dynamic get_scale9Grid_dyn(); - - virtual Float set_rotation( Float inVal); - Dynamic set_rotation_dyn(); - - virtual Float get_rotation( ); - Dynamic get_rotation_dyn(); - - virtual ::native::display::DisplayObjectContainer get_parent( ); - Dynamic get_parent_dyn(); - - virtual ::String set_name( ::String inVal); - Dynamic set_name_dyn(); - - virtual ::String get_name( ); - Dynamic get_name_dyn(); - - virtual Float get_mouseY( ); - Dynamic get_mouseY_dyn(); - - virtual Float get_mouseX( ); - Dynamic get_mouseX_dyn(); - - virtual ::native::display::DisplayObject set_mask( ::native::display::DisplayObject inObject); - Dynamic set_mask_dyn(); - - virtual Float set_height( Float inVal); - Dynamic set_height_dyn(); - - virtual Float get_height( ); - Dynamic get_height_dyn(); - - virtual ::native::display::Graphics get_graphics( ); - Dynamic get_graphics_dyn(); - - virtual Dynamic set_filters( Dynamic inFilters); - Dynamic set_filters_dyn(); - - virtual Dynamic get_filters( ); - Dynamic get_filters_dyn(); - - virtual ::native::display::PixelSnapping set_pixelSnapping( ::native::display::PixelSnapping inVal); - Dynamic set_pixelSnapping_dyn(); - - virtual ::native::display::PixelSnapping get_pixelSnapping( ); - Dynamic get_pixelSnapping_dyn(); - - virtual bool set_pedanticBitmapCaching( bool inVal); - Dynamic set_pedanticBitmapCaching_dyn(); - - virtual bool get_pedanticBitmapCaching( ); - Dynamic get_pedanticBitmapCaching_dyn(); - - virtual bool set_cacheAsBitmap( bool inVal); - Dynamic set_cacheAsBitmap_dyn(); - - virtual bool get_cacheAsBitmap( ); - Dynamic get_cacheAsBitmap_dyn(); - - virtual ::native::display::BlendMode set_blendMode( ::native::display::BlendMode inMode); - Dynamic set_blendMode_dyn(); - - virtual ::native::display::BlendMode get_blendMode( ); - Dynamic get_blendMode_dyn(); - - virtual Dynamic set_opaqueBackground( Dynamic inBG); - Dynamic set_opaqueBackground_dyn(); - - virtual Dynamic get_opaqueBackground( ); - Dynamic get_opaqueBackground_dyn(); - - virtual Float set_alpha( Float inAlpha); - Dynamic set_alpha_dyn(); - - virtual Float get_alpha( ); - Dynamic get_alpha_dyn(); - - virtual ::String toString( ); - - virtual ::native::display::DisplayObjectContainer nmeSetParent( ::native::display::DisplayObjectContainer inParent); - Dynamic nmeSetParent_dyn(); - - virtual Void nmeSetMatrix( ::native::geom::Matrix inMatrix); - Dynamic nmeSetMatrix_dyn(); - - virtual Void nmeSetColorTransform( ::native::geom::ColorTransform inTrans); - Dynamic nmeSetColorTransform_dyn(); - - virtual Void nmeOnRemoved( ::native::display::DisplayObject inObj,bool inWasOnStage); - Dynamic nmeOnRemoved_dyn(); - - virtual Void nmeOnAdded( ::native::display::DisplayObject inObj,bool inIsOnStage); - Dynamic nmeOnAdded_dyn(); - - virtual ::native::geom::Rectangle nmeGetPixelBounds( ); - Dynamic nmeGetPixelBounds_dyn(); - - virtual Void nmeGetObjectsUnderPoint( ::native::geom::Point point,Array< ::native::display::DisplayObject > result); - Dynamic nmeGetObjectsUnderPoint_dyn(); - - virtual ::native::geom::Matrix nmeGetMatrix( ); - Dynamic nmeGetMatrix_dyn(); - - virtual Void nmeGetInteractiveObjectStack( Array< ::native::display::InteractiveObject > outStack); - Dynamic nmeGetInteractiveObjectStack_dyn(); - - virtual ::native::geom::Matrix nmeGetConcatenatedMatrix( ); - Dynamic nmeGetConcatenatedMatrix_dyn(); - - virtual ::native::geom::ColorTransform nmeGetConcatenatedColorTransform( ); - Dynamic nmeGetConcatenatedColorTransform_dyn(); - - virtual ::native::geom::ColorTransform nmeGetColorTransform( ); - Dynamic nmeGetColorTransform_dyn(); - - virtual Void nmeFireEvent( ::native::events::Event inEvt); - Dynamic nmeFireEvent_dyn(); - - virtual ::native::display::DisplayObject nmeFindByID( int inID); - Dynamic nmeFindByID_dyn(); - - virtual Void nmeDrawToSurface( Dynamic inSurface,::native::geom::Matrix matrix,::native::geom::ColorTransform colorTransform,::String blendMode,::native::geom::Rectangle clipRect,bool smoothing); - Dynamic nmeDrawToSurface_dyn(); - - virtual bool nmeDispatchEvent( ::native::events::Event inEvt); - Dynamic nmeDispatchEvent_dyn(); - - virtual Void nmeBroadcast( ::native::events::Event inEvt); - Dynamic nmeBroadcast_dyn(); - - virtual ::native::display::InteractiveObject nmeAsInteractiveObject( ); - Dynamic nmeAsInteractiveObject_dyn(); - - virtual ::native::geom::Point localToGlobal( ::native::geom::Point inLocal); - Dynamic localToGlobal_dyn(); - - virtual bool hitTestPoint( Float x,Float y,hx::Null< bool > shapeFlag); - Dynamic hitTestPoint_dyn(); - - virtual bool hitTestObject( ::native::display::DisplayObject object); - Dynamic hitTestObject_dyn(); - - virtual ::native::geom::Point globalToLocal( ::native::geom::Point inGlobal); - Dynamic globalToLocal_dyn(); - - virtual ::native::geom::Rectangle getRect( ::native::display::DisplayObject targetCoordinateSpace); - Dynamic getRect_dyn(); - - virtual ::native::geom::Rectangle getBounds( ::native::display::DisplayObject targetCoordinateSpace); - Dynamic getBounds_dyn(); - - virtual bool dispatchEvent( ::native::events::Event event); - - ::native::geom::Rectangle nmeScrollRect; /* REM */ - ::native::geom::Rectangle nmeScale9Grid; /* REM */ - ::native::display::DisplayObjectContainer nmeParent; /* REM */ - int nmeID; /* REM */ - ::native::display::Graphics nmeGraphicsCache; /* REM */ - Dynamic nmeFilters; /* REM */ - Dynamic nmeHandle; /* REM */ - Float y; /* REM */ - Float x; /* REM */ - Float width; /* REM */ - bool visible; /* REM */ - ::native::geom::Transform transform; /* REM */ - ::native::display::Stage stage; /* REM */ - ::native::geom::Rectangle scrollRect; /* REM */ - Float scaleY; /* REM */ - Float scaleX; /* REM */ - ::native::geom::Rectangle scale9Grid; /* REM */ - Float rotation; /* REM */ - ::native::display::DisplayObjectContainer parent; /* REM */ - Dynamic opaqueBackground; /* REM */ - ::String name; /* REM */ - Float mouseY; /* REM */ - Float mouseX; /* REM */ - ::native::display::DisplayObject mask; /* REM */ - Float height; /* REM */ - ::native::display::Graphics graphics; /* REM */ - Dynamic filters; /* REM */ - ::native::display::PixelSnapping pixelSnapping; /* REM */ - bool pedanticBitmapCaching; /* REM */ - bool cacheAsBitmap; /* REM */ - ::native::display::BlendMode blendMode; /* REM */ - Float alpha; /* REM */ - static Dynamic nme_create_display_object; /* REM */ - static Dynamic &nme_create_display_object_dyn() { return nme_create_display_object;} - static Dynamic nme_display_object_get_graphics; /* REM */ - static Dynamic &nme_display_object_get_graphics_dyn() { return nme_display_object_get_graphics;} - static Dynamic nme_display_object_draw_to_surface; /* REM */ - static Dynamic &nme_display_object_draw_to_surface_dyn() { return nme_display_object_draw_to_surface;} - static Dynamic nme_display_object_get_id; /* REM */ - static Dynamic &nme_display_object_get_id_dyn() { return nme_display_object_get_id;} - static Dynamic nme_display_object_get_x; /* REM */ - static Dynamic &nme_display_object_get_x_dyn() { return nme_display_object_get_x;} - static Dynamic nme_display_object_set_x; /* REM */ - static Dynamic &nme_display_object_set_x_dyn() { return nme_display_object_set_x;} - static Dynamic nme_display_object_get_y; /* REM */ - static Dynamic &nme_display_object_get_y_dyn() { return nme_display_object_get_y;} - static Dynamic nme_display_object_set_y; /* REM */ - static Dynamic &nme_display_object_set_y_dyn() { return nme_display_object_set_y;} - static Dynamic nme_display_object_get_scale_x; /* REM */ - static Dynamic &nme_display_object_get_scale_x_dyn() { return nme_display_object_get_scale_x;} - static Dynamic nme_display_object_set_scale_x; /* REM */ - static Dynamic &nme_display_object_set_scale_x_dyn() { return nme_display_object_set_scale_x;} - static Dynamic nme_display_object_get_scale_y; /* REM */ - static Dynamic &nme_display_object_get_scale_y_dyn() { return nme_display_object_get_scale_y;} - static Dynamic nme_display_object_set_scale_y; /* REM */ - static Dynamic &nme_display_object_set_scale_y_dyn() { return nme_display_object_set_scale_y;} - static Dynamic nme_display_object_get_mouse_x; /* REM */ - static Dynamic &nme_display_object_get_mouse_x_dyn() { return nme_display_object_get_mouse_x;} - static Dynamic nme_display_object_get_mouse_y; /* REM */ - static Dynamic &nme_display_object_get_mouse_y_dyn() { return nme_display_object_get_mouse_y;} - static Dynamic nme_display_object_get_rotation; /* REM */ - static Dynamic &nme_display_object_get_rotation_dyn() { return nme_display_object_get_rotation;} - static Dynamic nme_display_object_set_rotation; /* REM */ - static Dynamic &nme_display_object_set_rotation_dyn() { return nme_display_object_set_rotation;} - static Dynamic nme_display_object_get_bg; /* REM */ - static Dynamic &nme_display_object_get_bg_dyn() { return nme_display_object_get_bg;} - static Dynamic nme_display_object_set_bg; /* REM */ - static Dynamic &nme_display_object_set_bg_dyn() { return nme_display_object_set_bg;} - static Dynamic nme_display_object_get_name; /* REM */ - static Dynamic &nme_display_object_get_name_dyn() { return nme_display_object_get_name;} - static Dynamic nme_display_object_set_name; /* REM */ - static Dynamic &nme_display_object_set_name_dyn() { return nme_display_object_set_name;} - static Dynamic nme_display_object_get_width; /* REM */ - static Dynamic &nme_display_object_get_width_dyn() { return nme_display_object_get_width;} - static Dynamic nme_display_object_set_width; /* REM */ - static Dynamic &nme_display_object_set_width_dyn() { return nme_display_object_set_width;} - static Dynamic nme_display_object_get_height; /* REM */ - static Dynamic &nme_display_object_get_height_dyn() { return nme_display_object_get_height;} - static Dynamic nme_display_object_set_height; /* REM */ - static Dynamic &nme_display_object_set_height_dyn() { return nme_display_object_set_height;} - static Dynamic nme_display_object_get_alpha; /* REM */ - static Dynamic &nme_display_object_get_alpha_dyn() { return nme_display_object_get_alpha;} - static Dynamic nme_display_object_set_alpha; /* REM */ - static Dynamic &nme_display_object_set_alpha_dyn() { return nme_display_object_set_alpha;} - static Dynamic nme_display_object_get_blend_mode; /* REM */ - static Dynamic &nme_display_object_get_blend_mode_dyn() { return nme_display_object_get_blend_mode;} - static Dynamic nme_display_object_set_blend_mode; /* REM */ - static Dynamic &nme_display_object_set_blend_mode_dyn() { return nme_display_object_set_blend_mode;} - static Dynamic nme_display_object_get_cache_as_bitmap; /* REM */ - static Dynamic &nme_display_object_get_cache_as_bitmap_dyn() { return nme_display_object_get_cache_as_bitmap;} - static Dynamic nme_display_object_set_cache_as_bitmap; /* REM */ - static Dynamic &nme_display_object_set_cache_as_bitmap_dyn() { return nme_display_object_set_cache_as_bitmap;} - static Dynamic nme_display_object_get_pedantic_bitmap_caching; /* REM */ - static Dynamic &nme_display_object_get_pedantic_bitmap_caching_dyn() { return nme_display_object_get_pedantic_bitmap_caching;} - static Dynamic nme_display_object_set_pedantic_bitmap_caching; /* REM */ - static Dynamic &nme_display_object_set_pedantic_bitmap_caching_dyn() { return nme_display_object_set_pedantic_bitmap_caching;} - static Dynamic nme_display_object_get_pixel_snapping; /* REM */ - static Dynamic &nme_display_object_get_pixel_snapping_dyn() { return nme_display_object_get_pixel_snapping;} - static Dynamic nme_display_object_set_pixel_snapping; /* REM */ - static Dynamic &nme_display_object_set_pixel_snapping_dyn() { return nme_display_object_set_pixel_snapping;} - static Dynamic nme_display_object_get_visible; /* REM */ - static Dynamic &nme_display_object_get_visible_dyn() { return nme_display_object_get_visible;} - static Dynamic nme_display_object_set_visible; /* REM */ - static Dynamic &nme_display_object_set_visible_dyn() { return nme_display_object_set_visible;} - static Dynamic nme_display_object_set_filters; /* REM */ - static Dynamic &nme_display_object_set_filters_dyn() { return nme_display_object_set_filters;} - static Dynamic nme_display_object_global_to_local; /* REM */ - static Dynamic &nme_display_object_global_to_local_dyn() { return nme_display_object_global_to_local;} - static Dynamic nme_display_object_local_to_global; /* REM */ - static Dynamic &nme_display_object_local_to_global_dyn() { return nme_display_object_local_to_global;} - static Dynamic nme_display_object_set_scale9_grid; /* REM */ - static Dynamic &nme_display_object_set_scale9_grid_dyn() { return nme_display_object_set_scale9_grid;} - static Dynamic nme_display_object_set_scroll_rect; /* REM */ - static Dynamic &nme_display_object_set_scroll_rect_dyn() { return nme_display_object_set_scroll_rect;} - static Dynamic nme_display_object_set_mask; /* REM */ - static Dynamic &nme_display_object_set_mask_dyn() { return nme_display_object_set_mask;} - static Dynamic nme_display_object_set_matrix; /* REM */ - static Dynamic &nme_display_object_set_matrix_dyn() { return nme_display_object_set_matrix;} - static Dynamic nme_display_object_get_matrix; /* REM */ - static Dynamic &nme_display_object_get_matrix_dyn() { return nme_display_object_get_matrix;} - static Dynamic nme_display_object_get_color_transform; /* REM */ - static Dynamic &nme_display_object_get_color_transform_dyn() { return nme_display_object_get_color_transform;} - static Dynamic nme_display_object_set_color_transform; /* REM */ - static Dynamic &nme_display_object_set_color_transform_dyn() { return nme_display_object_set_color_transform;} - static Dynamic nme_display_object_get_pixel_bounds; /* REM */ - static Dynamic &nme_display_object_get_pixel_bounds_dyn() { return nme_display_object_get_pixel_bounds;} - static Dynamic nme_display_object_get_bounds; /* REM */ - static Dynamic &nme_display_object_get_bounds_dyn() { return nme_display_object_get_bounds;} - static Dynamic nme_display_object_hit_test_point; /* REM */ - static Dynamic &nme_display_object_hit_test_point_dyn() { return nme_display_object_hit_test_point;} -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_DisplayObject */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/DisplayObjectContainer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/DisplayObjectContainer.h deleted file mode 100644 index fa97d73..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/DisplayObjectContainer.h +++ /dev/null @@ -1,143 +0,0 @@ -#ifndef INCLUDED_native_display_DisplayObjectContainer -#define INCLUDED_native_display_DisplayObjectContainer - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,geom,Point) -namespace native{ -namespace display{ - - -class DisplayObjectContainer_obj : public ::native::display::InteractiveObject_obj{ - public: - typedef ::native::display::InteractiveObject_obj super; - typedef DisplayObjectContainer_obj OBJ_; - DisplayObjectContainer_obj(); - Void __construct(Dynamic inHandle,::String inType); - - public: - static hx::ObjectPtr< DisplayObjectContainer_obj > __new(Dynamic inHandle,::String inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~DisplayObjectContainer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("DisplayObjectContainer"); } - - virtual bool set_tabChildren( bool inValue); - Dynamic set_tabChildren_dyn(); - - virtual bool get_tabChildren( ); - Dynamic get_tabChildren_dyn(); - - virtual int get_numChildren( ); - Dynamic get_numChildren_dyn(); - - virtual bool set_mouseChildren( bool inVal); - Dynamic set_mouseChildren_dyn(); - - virtual bool get_mouseChildren( ); - Dynamic get_mouseChildren_dyn(); - - virtual Void swapChildrenAt( int index1,int index2); - Dynamic swapChildrenAt_dyn(); - - virtual Void swapChildren( ::native::display::DisplayObject child1,::native::display::DisplayObject child2); - Dynamic swapChildren_dyn(); - - virtual Void setChildIndex( ::native::display::DisplayObject child,int index); - Dynamic setChildIndex_dyn(); - - virtual ::native::display::DisplayObject removeChildAt( int index); - Dynamic removeChildAt_dyn(); - - virtual ::native::display::DisplayObject removeChild( ::native::display::DisplayObject child); - Dynamic removeChild_dyn(); - - virtual Void nmeSwapChildrenAt( int index1,int index2); - Dynamic nmeSwapChildrenAt_dyn(); - - virtual Void nmeSetChildIndex( ::native::display::DisplayObject child,int index); - Dynamic nmeSetChildIndex_dyn(); - - virtual Void nmeRemoveChildFromArray( ::native::display::DisplayObject child); - Dynamic nmeRemoveChildFromArray_dyn(); - - virtual Void nmeOnRemoved( ::native::display::DisplayObject inObj,bool inWasOnStage); - - virtual Void nmeOnAdded( ::native::display::DisplayObject inObj,bool inIsOnStage); - - virtual Void nmeGetObjectsUnderPoint( ::native::geom::Point point,Array< ::native::display::DisplayObject > result); - - virtual int nmeGetChildIndex( ::native::display::DisplayObject child); - Dynamic nmeGetChildIndex_dyn(); - - virtual ::native::display::DisplayObject nmeFindByID( int inID); - - virtual Void nmeBroadcast( ::native::events::Event inEvt); - - virtual Void nmeAddChild( ::native::display::DisplayObject child); - Dynamic nmeAddChild_dyn(); - - virtual Array< ::native::display::DisplayObject > getObjectsUnderPoint( ::native::geom::Point point); - Dynamic getObjectsUnderPoint_dyn(); - - virtual int getChildIndex( ::native::display::DisplayObject child); - Dynamic getChildIndex_dyn(); - - virtual ::native::display::DisplayObject getChildByName( ::String name); - Dynamic getChildByName_dyn(); - - virtual ::native::display::DisplayObject getChildAt( int index); - Dynamic getChildAt_dyn(); - - virtual bool contains( ::native::display::DisplayObject child); - Dynamic contains_dyn(); - - virtual bool areInaccessibleObjectsUnderPoint( ::native::geom::Point point); - Dynamic areInaccessibleObjectsUnderPoint_dyn(); - - virtual ::native::display::DisplayObject addChildAt( ::native::display::DisplayObject child,int index); - Dynamic addChildAt_dyn(); - - virtual ::native::display::DisplayObject addChild( ::native::display::DisplayObject child); - Dynamic addChild_dyn(); - - Array< ::native::display::DisplayObject > nmeChildren; /* REM */ - bool tabChildren; /* REM */ - int numChildren; /* REM */ - bool mouseChildren; /* REM */ - static Dynamic nme_create_display_object_container; /* REM */ - static Dynamic &nme_create_display_object_container_dyn() { return nme_create_display_object_container;} - static Dynamic nme_doc_add_child; /* REM */ - static Dynamic &nme_doc_add_child_dyn() { return nme_doc_add_child;} - static Dynamic nme_doc_remove_child; /* REM */ - static Dynamic &nme_doc_remove_child_dyn() { return nme_doc_remove_child;} - static Dynamic nme_doc_set_child_index; /* REM */ - static Dynamic &nme_doc_set_child_index_dyn() { return nme_doc_set_child_index;} - static Dynamic nme_doc_get_mouse_children; /* REM */ - static Dynamic &nme_doc_get_mouse_children_dyn() { return nme_doc_get_mouse_children;} - static Dynamic nme_doc_set_mouse_children; /* REM */ - static Dynamic &nme_doc_set_mouse_children_dyn() { return nme_doc_set_mouse_children;} - static Dynamic nme_doc_swap_children; /* REM */ - static Dynamic &nme_doc_swap_children_dyn() { return nme_doc_swap_children;} -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_DisplayObjectContainer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/GradientType.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/GradientType.h deleted file mode 100644 index 35db228..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/GradientType.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef INCLUDED_native_display_GradientType -#define INCLUDED_native_display_GradientType - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,GradientType) -namespace native{ -namespace display{ - - -class GradientType_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef GradientType_obj OBJ_; - - public: - GradientType_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.display.GradientType"); } - ::String __ToString() const { return HX_CSTRING("GradientType.") + tag; } - - static ::native::display::GradientType LINEAR; - static inline ::native::display::GradientType LINEAR_dyn() { return LINEAR; } - static ::native::display::GradientType RADIAL; - static inline ::native::display::GradientType RADIAL_dyn() { return RADIAL; } -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_GradientType */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Graphics.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Graphics.h deleted file mode 100644 index 0437824..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Graphics.h +++ /dev/null @@ -1,170 +0,0 @@ -#ifndef INCLUDED_native_display_Graphics -#define INCLUDED_native_display_Graphics - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,BitmapData) -HX_DECLARE_CLASS2(native,display,CapsStyle) -HX_DECLARE_CLASS2(native,display,GradientType) -HX_DECLARE_CLASS2(native,display,Graphics) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,IGraphicsData) -HX_DECLARE_CLASS2(native,display,InterpolationMethod) -HX_DECLARE_CLASS2(native,display,JointStyle) -HX_DECLARE_CLASS2(native,display,LineScaleMode) -HX_DECLARE_CLASS2(native,display,SpreadMethod) -HX_DECLARE_CLASS2(native,display,Tilesheet) -HX_DECLARE_CLASS2(native,display,TriangleCulling) -HX_DECLARE_CLASS2(native,geom,Matrix) -namespace native{ -namespace display{ - - -class Graphics_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Graphics_obj OBJ_; - Graphics_obj(); - Void __construct(Dynamic inHandle); - - public: - static hx::ObjectPtr< Graphics_obj > __new(Dynamic inHandle); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Graphics_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Graphics"); } - - virtual Void moveTo( Float inX,Float inY); - Dynamic moveTo_dyn(); - - virtual Void lineTo( Float inX,Float inY); - Dynamic lineTo_dyn(); - - virtual Void lineStyle( Dynamic thickness,hx::Null< int > color,hx::Null< Float > alpha,hx::Null< bool > pixelHinting,::native::display::LineScaleMode scaleMode,::native::display::CapsStyle caps,::native::display::JointStyle joints,hx::Null< Float > miterLimit); - Dynamic lineStyle_dyn(); - - virtual Void lineGradientStyle( ::native::display::GradientType type,Dynamic colors,Dynamic alphas,Dynamic ratios,::native::geom::Matrix matrix,::native::display::SpreadMethod spreadMethod,::native::display::InterpolationMethod interpolationMethod,hx::Null< Float > focalPointRatio); - Dynamic lineGradientStyle_dyn(); - - virtual Void lineBitmapStyle( ::native::display::BitmapData bitmap,::native::geom::Matrix matrix,hx::Null< bool > repeat,hx::Null< bool > smooth); - Dynamic lineBitmapStyle_dyn(); - - virtual Void endFill( ); - Dynamic endFill_dyn(); - - virtual Void drawTriangles( Array< Float > vertices,Array< int > indices,Array< Float > uvtData,::native::display::TriangleCulling culling,Array< int > colours,hx::Null< int > blendMode,Array< Float > viewport); - Dynamic drawTriangles_dyn(); - - virtual Void drawTiles( ::native::display::Tilesheet sheet,Array< Float > inXYID,hx::Null< bool > inSmooth,hx::Null< int > inFlags); - Dynamic drawTiles_dyn(); - - virtual Void drawPath( Array< int > commands,Array< Float > data,::String winding); - Dynamic drawPath_dyn(); - - virtual Void drawRoundRect( Float inX,Float inY,Float inWidth,Float inHeight,Float inRadX,Dynamic inRadY); - Dynamic drawRoundRect_dyn(); - - virtual Void drawRect( Float inX,Float inY,Float inWidth,Float inHeight); - Dynamic drawRect_dyn(); - - virtual Void drawPoints( Array< Float > inXY,Array< int > inPointRGBA,hx::Null< int > inDefaultRGBA,hx::Null< Float > inSize); - Dynamic drawPoints_dyn(); - - virtual Void drawGraphicsDatum( ::native::display::IGraphicsData graphicsDatum); - Dynamic drawGraphicsDatum_dyn(); - - virtual Void drawGraphicsData( Array< ::native::display::IGraphicsData > graphicsData); - Dynamic drawGraphicsData_dyn(); - - virtual Void drawEllipse( Float inX,Float inY,Float inWidth,Float inHeight); - Dynamic drawEllipse_dyn(); - - virtual Void drawCircle( Float inX,Float inY,Float inRadius); - Dynamic drawCircle_dyn(); - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - Dynamic curveTo_dyn(); - - virtual Void clear( ); - Dynamic clear_dyn(); - - virtual Void beginGradientFill( ::native::display::GradientType type,Dynamic colors,Dynamic alphas,Dynamic ratios,::native::geom::Matrix matrix,::native::display::SpreadMethod spreadMethod,::native::display::InterpolationMethod interpolationMethod,hx::Null< Float > focalPointRatio); - Dynamic beginGradientFill_dyn(); - - virtual Void beginFill( int color,hx::Null< Float > alpha); - Dynamic beginFill_dyn(); - - virtual Void beginBitmapFill( ::native::display::BitmapData bitmap,::native::geom::Matrix matrix,hx::Null< bool > repeat,hx::Null< bool > smooth); - Dynamic beginBitmapFill_dyn(); - - virtual Void arcTo( Float inCX,Float inCY,Float inX,Float inY); - Dynamic arcTo_dyn(); - - Dynamic nmeHandle; /* REM */ - static int TILE_SCALE; /* REM */ - static int TILE_ROTATION; /* REM */ - static int TILE_RGB; /* REM */ - static int TILE_ALPHA; /* REM */ - static int TILE_TRANS_2x2; /* REM */ - static int TILE_SMOOTH; /* REM */ - static int TILE_BLEND_NORMAL; /* REM */ - static int TILE_BLEND_ADD; /* REM */ - static int RGBA( int inRGB,hx::Null< int > inA); - static Dynamic RGBA_dyn(); - - static Dynamic nme_gfx_clear; /* REM */ - static Dynamic &nme_gfx_clear_dyn() { return nme_gfx_clear;} - static Dynamic nme_gfx_begin_fill; /* REM */ - static Dynamic &nme_gfx_begin_fill_dyn() { return nme_gfx_begin_fill;} - static Dynamic nme_gfx_begin_bitmap_fill; /* REM */ - static Dynamic &nme_gfx_begin_bitmap_fill_dyn() { return nme_gfx_begin_bitmap_fill;} - static Dynamic nme_gfx_line_bitmap_fill; /* REM */ - static Dynamic &nme_gfx_line_bitmap_fill_dyn() { return nme_gfx_line_bitmap_fill;} - static Dynamic nme_gfx_begin_gradient_fill; /* REM */ - static Dynamic &nme_gfx_begin_gradient_fill_dyn() { return nme_gfx_begin_gradient_fill;} - static Dynamic nme_gfx_line_gradient_fill; /* REM */ - static Dynamic &nme_gfx_line_gradient_fill_dyn() { return nme_gfx_line_gradient_fill;} - static Dynamic nme_gfx_end_fill; /* REM */ - static Dynamic &nme_gfx_end_fill_dyn() { return nme_gfx_end_fill;} - static Dynamic nme_gfx_line_style; /* REM */ - static Dynamic &nme_gfx_line_style_dyn() { return nme_gfx_line_style;} - static Dynamic nme_gfx_move_to; /* REM */ - static Dynamic &nme_gfx_move_to_dyn() { return nme_gfx_move_to;} - static Dynamic nme_gfx_line_to; /* REM */ - static Dynamic &nme_gfx_line_to_dyn() { return nme_gfx_line_to;} - static Dynamic nme_gfx_curve_to; /* REM */ - static Dynamic &nme_gfx_curve_to_dyn() { return nme_gfx_curve_to;} - static Dynamic nme_gfx_arc_to; /* REM */ - static Dynamic &nme_gfx_arc_to_dyn() { return nme_gfx_arc_to;} - static Dynamic nme_gfx_draw_ellipse; /* REM */ - static Dynamic &nme_gfx_draw_ellipse_dyn() { return nme_gfx_draw_ellipse;} - static Dynamic nme_gfx_draw_data; /* REM */ - static Dynamic &nme_gfx_draw_data_dyn() { return nme_gfx_draw_data;} - static Dynamic nme_gfx_draw_datum; /* REM */ - static Dynamic &nme_gfx_draw_datum_dyn() { return nme_gfx_draw_datum;} - static Dynamic nme_gfx_draw_rect; /* REM */ - static Dynamic &nme_gfx_draw_rect_dyn() { return nme_gfx_draw_rect;} - static Dynamic nme_gfx_draw_path; /* REM */ - static Dynamic &nme_gfx_draw_path_dyn() { return nme_gfx_draw_path;} - static Dynamic nme_gfx_draw_tiles; /* REM */ - static Dynamic &nme_gfx_draw_tiles_dyn() { return nme_gfx_draw_tiles;} - static Dynamic nme_gfx_draw_points; /* REM */ - static Dynamic &nme_gfx_draw_points_dyn() { return nme_gfx_draw_points;} - static Dynamic nme_gfx_draw_round_rect; /* REM */ - static Dynamic &nme_gfx_draw_round_rect_dyn() { return nme_gfx_draw_round_rect;} - static Dynamic nme_gfx_draw_triangles; /* REM */ - static Dynamic &nme_gfx_draw_triangles_dyn() { return nme_gfx_draw_triangles;} -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_Graphics */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/GraphicsPathWinding.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/GraphicsPathWinding.h deleted file mode 100644 index 40eec39..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/GraphicsPathWinding.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_native_display_GraphicsPathWinding -#define INCLUDED_native_display_GraphicsPathWinding - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,GraphicsPathWinding) -namespace native{ -namespace display{ - - -class GraphicsPathWinding_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef GraphicsPathWinding_obj OBJ_; - GraphicsPathWinding_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< GraphicsPathWinding_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GraphicsPathWinding_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GraphicsPathWinding"); } - - static ::String EVEN_ODD; /* REM */ - static ::String NON_ZERO; /* REM */ -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_GraphicsPathWinding */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/IBitmapDrawable.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/IBitmapDrawable.h deleted file mode 100644 index d35b76e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/IBitmapDrawable.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_native_display_IBitmapDrawable -#define INCLUDED_native_display_IBitmapDrawable - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,geom,ColorTransform) -HX_DECLARE_CLASS2(native,geom,Matrix) -HX_DECLARE_CLASS2(native,geom,Rectangle) -namespace native{ -namespace display{ - - -class IBitmapDrawable_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IBitmapDrawable_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void nmeDrawToSurface( Dynamic inSurface,::native::geom::Matrix matrix,::native::geom::ColorTransform colorTransform,::String blendMode,::native::geom::Rectangle clipRect,bool smoothing)=0; - Dynamic nmeDrawToSurface_dyn(); -}; - -#define DELEGATE_native_display_IBitmapDrawable \ -virtual Void nmeDrawToSurface( Dynamic inSurface,::native::geom::Matrix matrix,::native::geom::ColorTransform colorTransform,::String blendMode,::native::geom::Rectangle clipRect,bool smoothing) { return mDelegate->nmeDrawToSurface(inSurface,matrix,colorTransform,blendMode,clipRect,smoothing);} \ -virtual Dynamic nmeDrawToSurface_dyn() { return mDelegate->nmeDrawToSurface_dyn();} \ - - -template -class IBitmapDrawable_delegate_ : public IBitmapDrawable_obj -{ - protected: - IMPL *mDelegate; - public: - IBitmapDrawable_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_native_display_IBitmapDrawable -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_IBitmapDrawable */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/IGraphicsData.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/IGraphicsData.h deleted file mode 100644 index 8fbc936..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/IGraphicsData.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_native_display_IGraphicsData -#define INCLUDED_native_display_IGraphicsData - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,IGraphicsData) -namespace native{ -namespace display{ - - -class IGraphicsData_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef IGraphicsData_obj OBJ_; - IGraphicsData_obj(); - Void __construct(Dynamic inHandle); - - public: - static hx::ObjectPtr< IGraphicsData_obj > __new(Dynamic inHandle); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~IGraphicsData_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("IGraphicsData"); } - - Dynamic nmeHandle; /* REM */ -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_IGraphicsData */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/InteractiveObject.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/InteractiveObject.h deleted file mode 100644 index d34657f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/InteractiveObject.h +++ /dev/null @@ -1,83 +0,0 @@ -#ifndef INCLUDED_native_display_InteractiveObject -#define INCLUDED_native_display_InteractiveObject - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -namespace native{ -namespace display{ - - -class InteractiveObject_obj : public ::native::display::DisplayObject_obj{ - public: - typedef ::native::display::DisplayObject_obj super; - typedef InteractiveObject_obj OBJ_; - InteractiveObject_obj(); - Void __construct(Dynamic inHandle,::String inType); - - public: - static hx::ObjectPtr< InteractiveObject_obj > __new(Dynamic inHandle,::String inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~InteractiveObject_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("InteractiveObject"); } - - virtual bool get_needsSoftKeyboard( ); - Dynamic get_needsSoftKeyboard_dyn(); - - virtual bool set_needsSoftKeyboard( bool inVal); - Dynamic set_needsSoftKeyboard_dyn(); - - virtual bool get_moveForSoftKeyboard( ); - Dynamic get_moveForSoftKeyboard_dyn(); - - virtual bool set_moveForSoftKeyboard( bool inVal); - Dynamic set_moveForSoftKeyboard_dyn(); - - virtual bool set_mouseEnabled( bool inVal); - Dynamic set_mouseEnabled_dyn(); - - virtual bool get_mouseEnabled( ); - Dynamic get_mouseEnabled_dyn(); - - virtual bool requestSoftKeyboard( ); - Dynamic requestSoftKeyboard_dyn(); - - virtual ::native::display::InteractiveObject nmeAsInteractiveObject( ); - - bool nmeMouseEnabled; /* REM */ - bool needsSoftKeyboard; /* REM */ - bool moveForSoftKeyboard; /* REM */ - bool mouseEnabled; /* REM */ - bool doubleClickEnabled; /* REM */ - static Dynamic nme_display_object_set_mouse_enabled; /* REM */ - static Dynamic &nme_display_object_set_mouse_enabled_dyn() { return nme_display_object_set_mouse_enabled;} - static Dynamic nme_display_object_set_needs_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_set_needs_soft_keyboard_dyn() { return nme_display_object_set_needs_soft_keyboard;} - static Dynamic nme_display_object_get_needs_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_get_needs_soft_keyboard_dyn() { return nme_display_object_get_needs_soft_keyboard;} - static Dynamic nme_display_object_set_moves_for_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_set_moves_for_soft_keyboard_dyn() { return nme_display_object_set_moves_for_soft_keyboard;} - static Dynamic nme_display_object_get_moves_for_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_get_moves_for_soft_keyboard_dyn() { return nme_display_object_get_moves_for_soft_keyboard;} - static Dynamic nme_display_object_request_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_request_soft_keyboard_dyn() { return nme_display_object_request_soft_keyboard;} -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_InteractiveObject */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/InterpolationMethod.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/InterpolationMethod.h deleted file mode 100644 index 3e7fd74..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/InterpolationMethod.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef INCLUDED_native_display_InterpolationMethod -#define INCLUDED_native_display_InterpolationMethod - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,InterpolationMethod) -namespace native{ -namespace display{ - - -class InterpolationMethod_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef InterpolationMethod_obj OBJ_; - - public: - InterpolationMethod_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.display.InterpolationMethod"); } - ::String __ToString() const { return HX_CSTRING("InterpolationMethod.") + tag; } - - static ::native::display::InterpolationMethod LINEAR_RGB; - static inline ::native::display::InterpolationMethod LINEAR_RGB_dyn() { return LINEAR_RGB; } - static ::native::display::InterpolationMethod RGB; - static inline ::native::display::InterpolationMethod RGB_dyn() { return RGB; } -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_InterpolationMethod */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/JointStyle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/JointStyle.h deleted file mode 100644 index eeca23e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/JointStyle.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_native_display_JointStyle -#define INCLUDED_native_display_JointStyle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,JointStyle) -namespace native{ -namespace display{ - - -class JointStyle_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef JointStyle_obj OBJ_; - - public: - JointStyle_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.display.JointStyle"); } - ::String __ToString() const { return HX_CSTRING("JointStyle.") + tag; } - - static ::native::display::JointStyle BEVEL; - static inline ::native::display::JointStyle BEVEL_dyn() { return BEVEL; } - static ::native::display::JointStyle MITER; - static inline ::native::display::JointStyle MITER_dyn() { return MITER; } - static ::native::display::JointStyle ROUND; - static inline ::native::display::JointStyle ROUND_dyn() { return ROUND; } -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_JointStyle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/LineScaleMode.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/LineScaleMode.h deleted file mode 100644 index 3ad8cc6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/LineScaleMode.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_native_display_LineScaleMode -#define INCLUDED_native_display_LineScaleMode - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,LineScaleMode) -namespace native{ -namespace display{ - - -class LineScaleMode_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef LineScaleMode_obj OBJ_; - - public: - LineScaleMode_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.display.LineScaleMode"); } - ::String __ToString() const { return HX_CSTRING("LineScaleMode.") + tag; } - - static ::native::display::LineScaleMode HORIZONTAL; - static inline ::native::display::LineScaleMode HORIZONTAL_dyn() { return HORIZONTAL; } - static ::native::display::LineScaleMode NONE; - static inline ::native::display::LineScaleMode NONE_dyn() { return NONE; } - static ::native::display::LineScaleMode NORMAL; - static inline ::native::display::LineScaleMode NORMAL_dyn() { return NORMAL; } - static ::native::display::LineScaleMode OPENGL; - static inline ::native::display::LineScaleMode OPENGL_dyn() { return OPENGL; } - static ::native::display::LineScaleMode VERTICAL; - static inline ::native::display::LineScaleMode VERTICAL_dyn() { return VERTICAL; } -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_LineScaleMode */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/ManagedStage.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/ManagedStage.h deleted file mode 100644 index 9211877..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/ManagedStage.h +++ /dev/null @@ -1,101 +0,0 @@ -#ifndef INCLUDED_native_display_ManagedStage -#define INCLUDED_native_display_ManagedStage - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,ManagedStage) -HX_DECLARE_CLASS2(native,display,Stage) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -namespace native{ -namespace display{ - - -class ManagedStage_obj : public ::native::display::Stage_obj{ - public: - typedef ::native::display::Stage_obj super; - typedef ManagedStage_obj OBJ_; - ManagedStage_obj(); - Void __construct(int inWidth,int inHeight,hx::Null< int > __o_inFlags); - - public: - static hx::ObjectPtr< ManagedStage_obj > __new(int inWidth,int inHeight,hx::Null< int > __o_inFlags); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ManagedStage_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ManagedStage"); } - - Dynamic setNextWake; - inline Dynamic &setNextWake_dyn() {return setNextWake; } - - virtual Void sendQuit( ); - Dynamic sendQuit_dyn(); - - virtual Void resize( int inWidth,int inHeight); - Dynamic resize_dyn(); - - virtual Void pumpEvent( Dynamic inEvent); - Dynamic pumpEvent_dyn(); - - virtual Void nmeRender( bool inSendEnterFrame); - - virtual Float nmeDoProcessStageEvent( Dynamic inEvent); - - Dynamic endRender; - inline Dynamic &endRender_dyn() {return endRender; } - - Dynamic beginRender; - inline Dynamic &beginRender_dyn() {return beginRender; } - - static int etUnknown; /* REM */ - static int etKeyDown; /* REM */ - static int etChar; /* REM */ - static int etKeyUp; /* REM */ - static int etMouseMove; /* REM */ - static int etMouseDown; /* REM */ - static int etMouseClick; /* REM */ - static int etMouseUp; /* REM */ - static int etResize; /* REM */ - static int etPoll; /* REM */ - static int etQuit; /* REM */ - static int etFocus; /* REM */ - static int etShouldRotate; /* REM */ - static int etDestroyHandler; /* REM */ - static int etRedraw; /* REM */ - static int etTouchBegin; /* REM */ - static int etTouchMove; /* REM */ - static int etTouchEnd; /* REM */ - static int etTouchTap; /* REM */ - static int etChange; /* REM */ - static int efLeftDown; /* REM */ - static int efShiftDown; /* REM */ - static int efCtrlDown; /* REM */ - static int efAltDown; /* REM */ - static int efCommandDown; /* REM */ - static int efMiddleDown; /* REM */ - static int efRightDown; /* REM */ - static int efLocationRight; /* REM */ - static int efPrimaryTouch; /* REM */ - static Dynamic nme_managed_stage_create; /* REM */ - static Dynamic &nme_managed_stage_create_dyn() { return nme_managed_stage_create;} - static Dynamic nme_managed_stage_pump_event; /* REM */ - static Dynamic &nme_managed_stage_pump_event_dyn() { return nme_managed_stage_pump_event;} -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_ManagedStage */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/MovieClip.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/MovieClip.h deleted file mode 100644 index 5f11727..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/MovieClip.h +++ /dev/null @@ -1,75 +0,0 @@ -#ifndef INCLUDED_native_display_MovieClip -#define INCLUDED_native_display_MovieClip - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,MovieClip) -HX_DECLARE_CLASS2(native,display,Sprite) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -namespace native{ -namespace display{ - - -class MovieClip_obj : public ::native::display::Sprite_obj{ - public: - typedef ::native::display::Sprite_obj super; - typedef MovieClip_obj OBJ_; - MovieClip_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< MovieClip_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~MovieClip_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("MovieClip"); } - - virtual int get_totalFrames( ); - Dynamic get_totalFrames_dyn(); - - virtual int get_framesLoaded( ); - Dynamic get_framesLoaded_dyn(); - - virtual int get_currentFrame( ); - Dynamic get_currentFrame_dyn(); - - virtual Void stop( ); - Dynamic stop_dyn(); - - virtual Void play( ); - Dynamic play_dyn(); - - virtual ::String nmeGetType( ); - - virtual Void gotoAndStop( Dynamic frame,::String scene); - Dynamic gotoAndStop_dyn(); - - virtual Void gotoAndPlay( Dynamic frame,::String scene); - Dynamic gotoAndPlay_dyn(); - - int mTotalFrames; /* REM */ - int mCurrentFrame; /* REM */ - int totalFrames; /* REM */ - int framesLoaded; /* REM */ - bool enabled; /* REM */ - int currentFrame; /* REM */ -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_MovieClip */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/OpenGLView.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/OpenGLView.h deleted file mode 100644 index bf21b7e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/OpenGLView.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_native_display_OpenGLView -#define INCLUDED_native_display_OpenGLView - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,display,DirectRenderer) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,OpenGLView) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -namespace native{ -namespace display{ - - -class OpenGLView_obj : public ::native::display::DirectRenderer_obj{ - public: - typedef ::native::display::DirectRenderer_obj super; - typedef OpenGLView_obj OBJ_; - OpenGLView_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< OpenGLView_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~OpenGLView_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("OpenGLView"); } - - static ::String CONTEXT_LOST; /* REM */ - static ::String CONTEXT_RESTORED; /* REM */ -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_OpenGLView */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/OptimizedPerlin.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/OptimizedPerlin.h deleted file mode 100644 index 416cd17..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/OptimizedPerlin.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef INCLUDED_native_display_OptimizedPerlin -#define INCLUDED_native_display_OptimizedPerlin - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,BitmapData) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,OptimizedPerlin) -namespace native{ -namespace display{ - - -class OptimizedPerlin_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef OptimizedPerlin_obj OBJ_; - OptimizedPerlin_obj(); - Void __construct(hx::Null< int > __o_seed,hx::Null< int > __o_octaves,hx::Null< Float > __o_falloff); - - public: - static hx::ObjectPtr< OptimizedPerlin_obj > __new(hx::Null< int > __o_seed,hx::Null< int > __o_octaves,hx::Null< Float > __o_falloff); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~OptimizedPerlin_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("OptimizedPerlin"); } - - virtual Void seedOffset( int iSeed); - Dynamic seedOffset_dyn(); - - virtual Void octFreqPers( Float fPersistence); - Dynamic octFreqPers_dyn(); - - virtual Void fill( ::native::display::BitmapData bitmap,Float _x,Float _y,Float _z,Dynamic _); - Dynamic fill_dyn(); - - Float baseFactor; /* REM */ - Float iZoffset; /* REM */ - Float iYoffset; /* REM */ - Float iXoffset; /* REM */ - Float fPersMax; /* REM */ - Array< Float > aOctPers; /* REM */ - Array< Float > aOctFreq; /* REM */ - int octaves; /* REM */ - static Array< int > P; /* REM */ -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_OptimizedPerlin */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/PixelSnapping.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/PixelSnapping.h deleted file mode 100644 index 32b71d9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/PixelSnapping.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_native_display_PixelSnapping -#define INCLUDED_native_display_PixelSnapping - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,PixelSnapping) -namespace native{ -namespace display{ - - -class PixelSnapping_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef PixelSnapping_obj OBJ_; - - public: - PixelSnapping_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.display.PixelSnapping"); } - ::String __ToString() const { return HX_CSTRING("PixelSnapping.") + tag; } - - static ::native::display::PixelSnapping ALWAYS; - static inline ::native::display::PixelSnapping ALWAYS_dyn() { return ALWAYS; } - static ::native::display::PixelSnapping AUTO; - static inline ::native::display::PixelSnapping AUTO_dyn() { return AUTO; } - static ::native::display::PixelSnapping NEVER; - static inline ::native::display::PixelSnapping NEVER_dyn() { return NEVER; } -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_PixelSnapping */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Shape.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Shape.h deleted file mode 100644 index 2f61da4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Shape.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef INCLUDED_native_display_Shape -#define INCLUDED_native_display_Shape - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,Shape) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -namespace native{ -namespace display{ - - -class Shape_obj : public ::native::display::DisplayObject_obj{ - public: - typedef ::native::display::DisplayObject_obj super; - typedef Shape_obj OBJ_; - Shape_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Shape_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Shape_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Shape"); } - -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_Shape */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/SpreadMethod.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/SpreadMethod.h deleted file mode 100644 index 5088067..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/SpreadMethod.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_native_display_SpreadMethod -#define INCLUDED_native_display_SpreadMethod - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,SpreadMethod) -namespace native{ -namespace display{ - - -class SpreadMethod_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef SpreadMethod_obj OBJ_; - - public: - SpreadMethod_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.display.SpreadMethod"); } - ::String __ToString() const { return HX_CSTRING("SpreadMethod.") + tag; } - - static ::native::display::SpreadMethod PAD; - static inline ::native::display::SpreadMethod PAD_dyn() { return PAD; } - static ::native::display::SpreadMethod REFLECT; - static inline ::native::display::SpreadMethod REFLECT_dyn() { return REFLECT; } - static ::native::display::SpreadMethod REPEAT; - static inline ::native::display::SpreadMethod REPEAT_dyn() { return REPEAT; } -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_SpreadMethod */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Sprite.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Sprite.h deleted file mode 100644 index e36f26a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Sprite.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef INCLUDED_native_display_Sprite -#define INCLUDED_native_display_Sprite - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,Sprite) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,geom,Rectangle) -namespace native{ -namespace display{ - - -class Sprite_obj : public ::native::display::DisplayObjectContainer_obj{ - public: - typedef ::native::display::DisplayObjectContainer_obj super; - typedef Sprite_obj OBJ_; - Sprite_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Sprite_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Sprite_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Sprite"); } - - virtual Void stopDrag( ); - Dynamic stopDrag_dyn(); - - virtual Void startDrag( hx::Null< bool > lockCenter,::native::geom::Rectangle bounds); - Dynamic startDrag_dyn(); - - virtual ::String nmeGetType( ); - Dynamic nmeGetType_dyn(); - - bool useHandCursor; /* REM */ - bool buttonMode; /* REM */ -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_Sprite */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Stage.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Stage.h deleted file mode 100644 index 81037c1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Stage.h +++ /dev/null @@ -1,290 +0,0 @@ -#ifndef INCLUDED_native_display_Stage -#define INCLUDED_native_display_Stage - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(IntHash) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,Sprite) -HX_DECLARE_CLASS2(native,display,Stage) -HX_DECLARE_CLASS2(native,display,Stage3D) -HX_DECLARE_CLASS2(native,display,StageAlign) -HX_DECLARE_CLASS2(native,display,StageDisplayState) -HX_DECLARE_CLASS2(native,display,StageQuality) -HX_DECLARE_CLASS2(native,display,StageScaleMode) -HX_DECLARE_CLASS2(native,display,TouchInfo) -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,events,MouseEvent) -HX_DECLARE_CLASS2(native,geom,Point) -HX_DECLARE_CLASS2(native,geom,Rectangle) -namespace native{ -namespace display{ - - -class Stage_obj : public ::native::display::DisplayObjectContainer_obj{ - public: - typedef ::native::display::DisplayObjectContainer_obj super; - typedef Stage_obj OBJ_; - Stage_obj(); - Void __construct(Dynamic inHandle,int inWidth,int inHeight); - - public: - static hx::ObjectPtr< Stage_obj > __new(Dynamic inHandle,int inWidth,int inHeight); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Stage_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Stage"); } - - virtual int get_stageWidth( ); - Dynamic get_stageWidth_dyn(); - - virtual int get_stageHeight( ); - Dynamic get_stageHeight_dyn(); - - virtual bool set_stageFocusRect( bool inVal); - Dynamic set_stageFocusRect_dyn(); - - virtual bool get_stageFocusRect( ); - Dynamic get_stageFocusRect_dyn(); - - virtual ::native::display::Stage get_stage( ); - - virtual ::native::display::StageScaleMode set_scaleMode( ::native::display::StageScaleMode inMode); - Dynamic set_scaleMode_dyn(); - - virtual ::native::display::StageScaleMode get_scaleMode( ); - Dynamic get_scaleMode_dyn(); - - virtual ::native::display::StageQuality set_quality( ::native::display::StageQuality inQuality); - Dynamic set_quality_dyn(); - - virtual ::native::display::StageQuality get_quality( ); - Dynamic get_quality_dyn(); - - virtual bool get_isOpenGL( ); - Dynamic get_isOpenGL_dyn(); - - virtual Float set_frameRate( Float inRate); - Dynamic set_frameRate_dyn(); - - virtual ::native::display::InteractiveObject set_focus( ::native::display::InteractiveObject inObject); - Dynamic set_focus_dyn(); - - virtual ::native::display::InteractiveObject get_focus( ); - Dynamic get_focus_dyn(); - - virtual Float get_dpiScale( ); - Dynamic get_dpiScale_dyn(); - - virtual ::native::display::StageDisplayState set_displayState( ::native::display::StageDisplayState inState); - Dynamic set_displayState_dyn(); - - virtual ::native::display::StageDisplayState get_displayState( ); - Dynamic get_displayState_dyn(); - - virtual ::native::display::StageAlign set_align( ::native::display::StageAlign inMode); - Dynamic set_align_dyn(); - - virtual ::native::display::StageAlign get_align( ); - Dynamic get_align_dyn(); - - virtual Void showCursor( bool inShow); - Dynamic showCursor_dyn(); - - virtual Float nmeUpdateNextWake( ); - Dynamic nmeUpdateNextWake_dyn(); - - virtual Void nmeStopDrag( ::native::display::Sprite sprite); - Dynamic nmeStopDrag_dyn(); - - virtual Void nmeStartDrag( ::native::display::Sprite sprite,bool lockCenter,::native::geom::Rectangle bounds); - Dynamic nmeStartDrag_dyn(); - - virtual Void nmeSetActive( bool inActive); - Dynamic nmeSetActive_dyn(); - - virtual Void nmeRender( bool inSendEnterFrame); - Dynamic nmeRender_dyn(); - - virtual Void nmePollTimers( ); - Dynamic nmePollTimers_dyn(); - - virtual Void nmeOnTouch( Dynamic inEvent,::String inType,::native::display::TouchInfo touchInfo); - Dynamic nmeOnTouch_dyn(); - - virtual Void nmeOnResize( Float inW,Float inH); - Dynamic nmeOnResize_dyn(); - - virtual Void nmeOnMouse( Dynamic inEvent,::String inType,bool inFromMouse); - Dynamic nmeOnMouse_dyn(); - - virtual Void nmeOnKey( Dynamic inEvent,::String inType); - Dynamic nmeOnKey_dyn(); - - virtual Void nmeOnJoystick( Dynamic inEvent,::String inType); - Dynamic nmeOnJoystick_dyn(); - - virtual Void nmeOnFocus( Dynamic inEvent); - Dynamic nmeOnFocus_dyn(); - - virtual Void nmeOnChange( Dynamic inEvent); - Dynamic nmeOnChange_dyn(); - - virtual Float nmeNextFrameDue( Float inOtherTimers); - Dynamic nmeNextFrameDue_dyn(); - - virtual Void nmeDrag( ::native::geom::Point inMouse); - Dynamic nmeDrag_dyn(); - - virtual Dynamic nmeProcessStageEvent( Dynamic inEvent); - Dynamic nmeProcessStageEvent_dyn(); - - virtual Void dummyTrace( ); - Dynamic dummyTrace_dyn(); - - virtual Float nmeDoProcessStageEvent( Dynamic inEvent); - Dynamic nmeDoProcessStageEvent_dyn(); - - virtual Void nmeCheckRender( ); - Dynamic nmeCheckRender_dyn(); - - virtual bool nmeCheckInOuts( ::native::events::MouseEvent inEvent,Array< ::native::display::InteractiveObject > inStack,::native::display::TouchInfo touchInfo); - Dynamic nmeCheckInOuts_dyn(); - - virtual Void nmeCheckFocusInOuts( Dynamic inEvent,Array< ::native::display::InteractiveObject > inStack); - Dynamic nmeCheckFocusInOuts_dyn(); - - virtual Void invalidate( ); - Dynamic invalidate_dyn(); - - ::IntHash nmeTouchInfo; /* REM */ - Array< ::native::display::InteractiveObject > nmeMouseOverObjects; /* REM */ - Float nmeLastRender; /* REM */ - Array< ::native::display::InteractiveObject > nmeLastDown; /* REM */ - Float nmeLastClickTime; /* REM */ - bool nmeInvalid; /* REM */ - Float nmeFramePeriod; /* REM */ - Array< ::native::display::InteractiveObject > nmeFocusOverObjects; /* REM */ - Float nmeDragOffsetY; /* REM */ - Float nmeDragOffsetX; /* REM */ - ::native::display::Sprite nmeDragObject; /* REM */ - ::native::geom::Rectangle nmeDragBounds; /* REM */ - ::IntHash nmeJoyAxisData; /* REM */ - Array< ::native::display::Stage3D > stage3Ds; /* REM */ - int stageWidth; /* REM */ - int stageHeight; /* REM */ - bool stageFocusRect; /* REM */ - ::native::display::StageScaleMode scaleMode; /* REM */ - Dynamic renderRequest; /* REM */ - Dynamic &renderRequest_dyn() { return renderRequest;} - ::native::display::StageQuality quality; /* REM */ - bool pauseWhenDeactivated; /* REM */ - Dynamic onQuit; /* REM */ - Dynamic &onQuit_dyn() { return onQuit;} - Dynamic onKey; /* REM */ - Dynamic &onKey_dyn() { return onKey;} - bool isOpenGL; /* REM */ - Float frameRate; /* REM */ - ::native::display::InteractiveObject focus; /* REM */ - Float dpiScale; /* REM */ - ::native::display::StageDisplayState displayState; /* REM */ - ::native::display::StageAlign align; /* REM */ - bool active; /* REM */ - static Float nmeEarlyWakeup; /* REM */ - static int OrientationPortrait; /* REM */ - static int OrientationPortraitUpsideDown; /* REM */ - static int OrientationLandscapeRight; /* REM */ - static int OrientationLandscapeLeft; /* REM */ - static int OrientationFaceUp; /* REM */ - static int OrientationFaceDown; /* REM */ - static int efLeftDown; /* REM */ - static int efShiftDown; /* REM */ - static int efCtrlDown; /* REM */ - static int efAltDown; /* REM */ - static int efCommandDown; /* REM */ - static int efLocationRight; /* REM */ - static int efNoNativeClick; /* REM */ - static Array< ::String > nmeMouseChanges; /* REM */ - static Array< ::String > nmeTouchChanges; /* REM */ - static Array< ::String > sClickEvents; /* REM */ - static Array< ::String > sDownEvents; /* REM */ - static Array< ::String > sUpEvents; /* REM */ - static Dynamic getOrientation; - static inline Dynamic &getOrientation_dyn() {return getOrientation; } - - static Dynamic getNormalOrientation; - static inline Dynamic &getNormalOrientation_dyn() {return getNormalOrientation; } - - static Void setFixedOrientation( int inOrientation); - static Dynamic setFixedOrientation_dyn(); - - static Dynamic shouldRotateInterface; - static inline Dynamic &shouldRotateInterface_dyn() {return shouldRotateInterface; } - - static Dynamic nme_set_stage_handler; /* REM */ - static Dynamic &nme_set_stage_handler_dyn() { return nme_set_stage_handler;} - static Dynamic nme_render_stage; /* REM */ - static Dynamic &nme_render_stage_dyn() { return nme_render_stage;} - static Dynamic nme_stage_get_focus_id; /* REM */ - static Dynamic &nme_stage_get_focus_id_dyn() { return nme_stage_get_focus_id;} - static Dynamic nme_stage_set_focus; /* REM */ - static Dynamic &nme_stage_set_focus_dyn() { return nme_stage_set_focus;} - static Dynamic nme_stage_get_focus_rect; /* REM */ - static Dynamic &nme_stage_get_focus_rect_dyn() { return nme_stage_get_focus_rect;} - static Dynamic nme_stage_set_focus_rect; /* REM */ - static Dynamic &nme_stage_set_focus_rect_dyn() { return nme_stage_set_focus_rect;} - static Dynamic nme_stage_is_opengl; /* REM */ - static Dynamic &nme_stage_is_opengl_dyn() { return nme_stage_is_opengl;} - static Dynamic nme_stage_get_stage_width; /* REM */ - static Dynamic &nme_stage_get_stage_width_dyn() { return nme_stage_get_stage_width;} - static Dynamic nme_stage_get_stage_height; /* REM */ - static Dynamic &nme_stage_get_stage_height_dyn() { return nme_stage_get_stage_height;} - static Dynamic nme_stage_get_dpi_scale; /* REM */ - static Dynamic &nme_stage_get_dpi_scale_dyn() { return nme_stage_get_dpi_scale;} - static Dynamic nme_stage_get_scale_mode; /* REM */ - static Dynamic &nme_stage_get_scale_mode_dyn() { return nme_stage_get_scale_mode;} - static Dynamic nme_stage_set_scale_mode; /* REM */ - static Dynamic &nme_stage_set_scale_mode_dyn() { return nme_stage_set_scale_mode;} - static Dynamic nme_stage_get_align; /* REM */ - static Dynamic &nme_stage_get_align_dyn() { return nme_stage_get_align;} - static Dynamic nme_stage_set_align; /* REM */ - static Dynamic &nme_stage_set_align_dyn() { return nme_stage_set_align;} - static Dynamic nme_stage_get_quality; /* REM */ - static Dynamic &nme_stage_get_quality_dyn() { return nme_stage_get_quality;} - static Dynamic nme_stage_set_quality; /* REM */ - static Dynamic &nme_stage_set_quality_dyn() { return nme_stage_set_quality;} - static Dynamic nme_stage_get_display_state; /* REM */ - static Dynamic &nme_stage_get_display_state_dyn() { return nme_stage_get_display_state;} - static Dynamic nme_stage_set_display_state; /* REM */ - static Dynamic &nme_stage_set_display_state_dyn() { return nme_stage_set_display_state;} - static Dynamic nme_stage_set_next_wake; /* REM */ - static Dynamic &nme_stage_set_next_wake_dyn() { return nme_stage_set_next_wake;} - static Dynamic nme_stage_request_render; /* REM */ - static Dynamic nme_stage_show_cursor; /* REM */ - static Dynamic &nme_stage_show_cursor_dyn() { return nme_stage_show_cursor;} - static Dynamic nme_stage_set_fixed_orientation; /* REM */ - static Dynamic &nme_stage_set_fixed_orientation_dyn() { return nme_stage_set_fixed_orientation;} - static Dynamic nme_stage_get_orientation; /* REM */ - static Dynamic &nme_stage_get_orientation_dyn() { return nme_stage_get_orientation;} - static Dynamic nme_stage_get_normal_orientation; /* REM */ - static Dynamic &nme_stage_get_normal_orientation_dyn() { return nme_stage_get_normal_orientation;} -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_Stage */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Stage3D.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Stage3D.h deleted file mode 100644 index 41ab483..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Stage3D.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef INCLUDED_native_display_Stage3D -#define INCLUDED_native_display_Stage3D - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,display,Stage3D) -HX_DECLARE_CLASS2(native,display3D,Context3D) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -namespace native{ -namespace display{ - - -class Stage3D_obj : public ::native::events::EventDispatcher_obj{ - public: - typedef ::native::events::EventDispatcher_obj super; - typedef Stage3D_obj OBJ_; - Stage3D_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Stage3D_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Stage3D_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Stage3D"); } - - virtual Void requestContext3D( ::String context3DRenderMode); - Dynamic requestContext3D_dyn(); - - Float y; /* REM */ - Float x; /* REM */ - bool visible; /* REM */ - ::native::display3D::Context3D context3D; /* REM */ -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_Stage3D */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/StageAlign.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/StageAlign.h deleted file mode 100644 index b9d8231..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/StageAlign.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_native_display_StageAlign -#define INCLUDED_native_display_StageAlign - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,StageAlign) -namespace native{ -namespace display{ - - -class StageAlign_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef StageAlign_obj OBJ_; - - public: - StageAlign_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.display.StageAlign"); } - ::String __ToString() const { return HX_CSTRING("StageAlign.") + tag; } - - static ::native::display::StageAlign BOTTOM; - static inline ::native::display::StageAlign BOTTOM_dyn() { return BOTTOM; } - static ::native::display::StageAlign BOTTOM_LEFT; - static inline ::native::display::StageAlign BOTTOM_LEFT_dyn() { return BOTTOM_LEFT; } - static ::native::display::StageAlign BOTTOM_RIGHT; - static inline ::native::display::StageAlign BOTTOM_RIGHT_dyn() { return BOTTOM_RIGHT; } - static ::native::display::StageAlign LEFT; - static inline ::native::display::StageAlign LEFT_dyn() { return LEFT; } - static ::native::display::StageAlign RIGHT; - static inline ::native::display::StageAlign RIGHT_dyn() { return RIGHT; } - static ::native::display::StageAlign TOP; - static inline ::native::display::StageAlign TOP_dyn() { return TOP; } - static ::native::display::StageAlign TOP_LEFT; - static inline ::native::display::StageAlign TOP_LEFT_dyn() { return TOP_LEFT; } - static ::native::display::StageAlign TOP_RIGHT; - static inline ::native::display::StageAlign TOP_RIGHT_dyn() { return TOP_RIGHT; } -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_StageAlign */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/StageDisplayState.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/StageDisplayState.h deleted file mode 100644 index abc300f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/StageDisplayState.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_native_display_StageDisplayState -#define INCLUDED_native_display_StageDisplayState - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,StageDisplayState) -namespace native{ -namespace display{ - - -class StageDisplayState_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef StageDisplayState_obj OBJ_; - - public: - StageDisplayState_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.display.StageDisplayState"); } - ::String __ToString() const { return HX_CSTRING("StageDisplayState.") + tag; } - - static ::native::display::StageDisplayState FULL_SCREEN; - static inline ::native::display::StageDisplayState FULL_SCREEN_dyn() { return FULL_SCREEN; } - static ::native::display::StageDisplayState FULL_SCREEN_INTERACTIVE; - static inline ::native::display::StageDisplayState FULL_SCREEN_INTERACTIVE_dyn() { return FULL_SCREEN_INTERACTIVE; } - static ::native::display::StageDisplayState NORMAL; - static inline ::native::display::StageDisplayState NORMAL_dyn() { return NORMAL; } -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_StageDisplayState */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/StageQuality.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/StageQuality.h deleted file mode 100644 index 5c28c11..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/StageQuality.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_native_display_StageQuality -#define INCLUDED_native_display_StageQuality - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,StageQuality) -namespace native{ -namespace display{ - - -class StageQuality_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef StageQuality_obj OBJ_; - - public: - StageQuality_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.display.StageQuality"); } - ::String __ToString() const { return HX_CSTRING("StageQuality.") + tag; } - - static ::native::display::StageQuality BEST; - static inline ::native::display::StageQuality BEST_dyn() { return BEST; } - static ::native::display::StageQuality HIGH; - static inline ::native::display::StageQuality HIGH_dyn() { return HIGH; } - static ::native::display::StageQuality LOW; - static inline ::native::display::StageQuality LOW_dyn() { return LOW; } - static ::native::display::StageQuality MEDIUM; - static inline ::native::display::StageQuality MEDIUM_dyn() { return MEDIUM; } -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_StageQuality */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/StageScaleMode.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/StageScaleMode.h deleted file mode 100644 index 44df307..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/StageScaleMode.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_native_display_StageScaleMode -#define INCLUDED_native_display_StageScaleMode - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,StageScaleMode) -namespace native{ -namespace display{ - - -class StageScaleMode_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef StageScaleMode_obj OBJ_; - - public: - StageScaleMode_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.display.StageScaleMode"); } - ::String __ToString() const { return HX_CSTRING("StageScaleMode.") + tag; } - - static ::native::display::StageScaleMode EXACT_FIT; - static inline ::native::display::StageScaleMode EXACT_FIT_dyn() { return EXACT_FIT; } - static ::native::display::StageScaleMode NO_BORDER; - static inline ::native::display::StageScaleMode NO_BORDER_dyn() { return NO_BORDER; } - static ::native::display::StageScaleMode NO_SCALE; - static inline ::native::display::StageScaleMode NO_SCALE_dyn() { return NO_SCALE; } - static ::native::display::StageScaleMode SHOW_ALL; - static inline ::native::display::StageScaleMode SHOW_ALL_dyn() { return SHOW_ALL; } -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_StageScaleMode */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Tilesheet.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Tilesheet.h deleted file mode 100644 index 7942e81..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/Tilesheet.h +++ /dev/null @@ -1,62 +0,0 @@ -#ifndef INCLUDED_native_display_Tilesheet -#define INCLUDED_native_display_Tilesheet - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,BitmapData) -HX_DECLARE_CLASS2(native,display,Graphics) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,Tilesheet) -HX_DECLARE_CLASS2(native,geom,Point) -HX_DECLARE_CLASS2(native,geom,Rectangle) -namespace native{ -namespace display{ - - -class Tilesheet_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Tilesheet_obj OBJ_; - Tilesheet_obj(); - Void __construct(::native::display::BitmapData inImage); - - public: - static hx::ObjectPtr< Tilesheet_obj > __new(::native::display::BitmapData inImage); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Tilesheet_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Tilesheet"); } - - virtual Void drawTiles( ::native::display::Graphics graphics,Array< Float > tileData,hx::Null< bool > smooth,hx::Null< int > flags); - Dynamic drawTiles_dyn(); - - virtual Void addTileRect( ::native::geom::Rectangle rectangle,::native::geom::Point centerPoint); - Dynamic addTileRect_dyn(); - - Dynamic nmeHandle; /* REM */ - ::native::display::BitmapData nmeBitmap; /* REM */ - static int TILE_SCALE; /* REM */ - static int TILE_ROTATION; /* REM */ - static int TILE_RGB; /* REM */ - static int TILE_ALPHA; /* REM */ - static int TILE_TRANS_2x2; /* REM */ - static int TILE_BLEND_NORMAL; /* REM */ - static int TILE_BLEND_ADD; /* REM */ - static Dynamic nme_tilesheet_create; /* REM */ - static Dynamic &nme_tilesheet_create_dyn() { return nme_tilesheet_create;} - static Dynamic nme_tilesheet_add_rect; /* REM */ - static Dynamic &nme_tilesheet_add_rect_dyn() { return nme_tilesheet_add_rect;} -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_Tilesheet */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/TouchInfo.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/TouchInfo.h deleted file mode 100644 index f436fb0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/TouchInfo.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef INCLUDED_native_display_TouchInfo -#define INCLUDED_native_display_TouchInfo - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,TouchInfo) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -namespace native{ -namespace display{ - - -class TouchInfo_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef TouchInfo_obj OBJ_; - TouchInfo_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< TouchInfo_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TouchInfo_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TouchInfo"); } - - Array< ::native::display::InteractiveObject > touchOverObjects; /* REM */ -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_TouchInfo */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/TriangleCulling.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/TriangleCulling.h deleted file mode 100644 index 57f2b8a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display/TriangleCulling.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_native_display_TriangleCulling -#define INCLUDED_native_display_TriangleCulling - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,TriangleCulling) -namespace native{ -namespace display{ - - -class TriangleCulling_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef TriangleCulling_obj OBJ_; - - public: - TriangleCulling_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.display.TriangleCulling"); } - ::String __ToString() const { return HX_CSTRING("TriangleCulling.") + tag; } - - static ::native::display::TriangleCulling NEGATIVE; - static inline ::native::display::TriangleCulling NEGATIVE_dyn() { return NEGATIVE; } - static ::native::display::TriangleCulling NONE; - static inline ::native::display::TriangleCulling NONE_dyn() { return NONE; } - static ::native::display::TriangleCulling POSITIVE; - static inline ::native::display::TriangleCulling POSITIVE_dyn() { return POSITIVE; } -}; - -} // end namespace native -} // end namespace display - -#endif /* INCLUDED_native_display_TriangleCulling */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3D.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3D.h deleted file mode 100644 index fdb0a81..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3D.h +++ /dev/null @@ -1,155 +0,0 @@ -#ifndef INCLUDED_native_display3D_Context3D -#define INCLUDED_native_display3D_Context3D - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(native,display,BitmapData) -HX_DECLARE_CLASS2(native,display,DirectRenderer) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,OpenGLView) -HX_DECLARE_CLASS2(native,display3D,Context3D) -HX_DECLARE_CLASS2(native,display3D,Context3DCompareMode) -HX_DECLARE_CLASS2(native,display3D,Context3DProgramType) -HX_DECLARE_CLASS2(native,display3D,Context3DStencilAction) -HX_DECLARE_CLASS2(native,display3D,Context3DTextureFormat) -HX_DECLARE_CLASS2(native,display3D,Context3DTriangleFace) -HX_DECLARE_CLASS2(native,display3D,Context3DVertexBufferFormat) -HX_DECLARE_CLASS2(native,display3D,IndexBuffer3D) -HX_DECLARE_CLASS2(native,display3D,Program3D) -HX_DECLARE_CLASS2(native,display3D,VertexBuffer3D) -HX_DECLARE_CLASS3(native,display3D,textures,CubeTexture) -HX_DECLARE_CLASS3(native,display3D,textures,Texture) -HX_DECLARE_CLASS3(native,display3D,textures,TextureBase) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,geom,Matrix3D) -HX_DECLARE_CLASS2(native,geom,Rectangle) -HX_DECLARE_CLASS2(native,utils,ByteArray) -HX_DECLARE_CLASS2(native,utils,IDataInput) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -namespace native{ -namespace display3D{ - - -class Context3D_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Context3D_obj OBJ_; - Context3D_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Context3D_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Context3D_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Context3D"); } - - virtual Void updateBlendStatus( ); - Dynamic updateBlendStatus_dyn(); - - virtual Void setVertexBufferAt( int index,::native::display3D::VertexBuffer3D buffer,hx::Null< int > bufferOffset,::native::display3D::Context3DVertexBufferFormat format); - Dynamic setVertexBufferAt_dyn(); - - virtual Void setTextureAt( int sampler,::native::display3D::textures::TextureBase texture); - Dynamic setTextureAt_dyn(); - - virtual Void setStencilReferenceValue( int referenceValue,hx::Null< int > readMask,hx::Null< int > writeMask); - Dynamic setStencilReferenceValue_dyn(); - - virtual Void setStencilActions( ::native::display3D::Context3DTriangleFace triangleFace,::native::display3D::Context3DCompareMode compareMode,::native::display3D::Context3DStencilAction actionOnBothPass,::native::display3D::Context3DStencilAction actionOnDepthFail,::native::display3D::Context3DStencilAction actionOnDepthPassStencilFail); - Dynamic setStencilActions_dyn(); - - virtual Void setScissorRectangle( ::native::geom::Rectangle rectangle); - Dynamic setScissorRectangle_dyn(); - - virtual Void setRenderToTexture( ::native::display3D::textures::TextureBase texture,hx::Null< bool > enableDepthAndStencil,hx::Null< int > antiAlias,hx::Null< int > surfaceSelector); - Dynamic setRenderToTexture_dyn(); - - virtual Void setRenderToBackBuffer( ); - Dynamic setRenderToBackBuffer_dyn(); - - virtual Void setRenderMethod( Dynamic func); - Dynamic setRenderMethod_dyn(); - - virtual Void setProgramConstantsFromVector( ::native::display3D::Context3DProgramType programType,int firstRegister,Array< Float > data,hx::Null< int > numRegisters); - Dynamic setProgramConstantsFromVector_dyn(); - - virtual Void setProgramConstantsFromMatrix( int programType,int firstRegister,::native::geom::Matrix3D matrix,hx::Null< bool > transposedMatrix); - Dynamic setProgramConstantsFromMatrix_dyn(); - - virtual Void setProgramConstantsFromByteArray( ::native::display3D::Context3DProgramType programType,int firstRegister,int numRegisters,::native::utils::ByteArray data,int byteArrayOffset); - Dynamic setProgramConstantsFromByteArray_dyn(); - - virtual Void setProgram( ::native::display3D::Program3D program3D); - Dynamic setProgram_dyn(); - - virtual Void setDepthTest( bool depthMask,int passCompareMode); - Dynamic setDepthTest_dyn(); - - virtual Void setCulling( int triangleFaceToCull); - Dynamic setCulling_dyn(); - - virtual Void setColorMask( bool red,bool green,bool blue,bool alpha); - Dynamic setColorMask_dyn(); - - virtual Void setBlendFactors( int sourceFactor,int destinationFactor); - Dynamic setBlendFactors_dyn(); - - virtual Void present( ); - Dynamic present_dyn(); - - virtual Void drawTriangles( ::native::display3D::IndexBuffer3D indexBuffer,hx::Null< int > firstIndex,hx::Null< int > numTriangles); - Dynamic drawTriangles_dyn(); - - virtual Void drawToBitmapData( ::native::display::BitmapData destination); - Dynamic drawToBitmapData_dyn(); - - virtual Void dispose( ); - Dynamic dispose_dyn(); - - virtual ::native::display3D::VertexBuffer3D createVertexBuffer( int numVertices,int data32PerVertex); - Dynamic createVertexBuffer_dyn(); - - virtual ::native::display3D::textures::Texture createTexture( int width,int height,::native::display3D::Context3DTextureFormat format,bool optimizeForRenderToTexture,hx::Null< int > streamingLevels); - Dynamic createTexture_dyn(); - - virtual ::native::display3D::Program3D createProgram( ); - Dynamic createProgram_dyn(); - - virtual ::native::display3D::IndexBuffer3D createIndexBuffer( int numIndices); - Dynamic createIndexBuffer_dyn(); - - virtual ::native::display3D::textures::CubeTexture createCubeTexture( int size,::native::display3D::Context3DTextureFormat format,bool optimizeForRenderToTexture,hx::Null< int > streamingLevels); - Dynamic createCubeTexture_dyn(); - - virtual Void configureBackBuffer( int width,int height,int antiAlias,hx::Null< bool > enableDepthAndStencil); - Dynamic configureBackBuffer_dyn(); - - virtual Void clear( hx::Null< Float > red,hx::Null< Float > green,hx::Null< Float > blue,hx::Null< Float > alpha,hx::Null< Float > depth,hx::Null< int > stencil,hx::Null< int > mask); - Dynamic clear_dyn(); - - bool drawing; /* REM */ - int blendSourceFactor; /* REM */ - bool blendEnabled; /* REM */ - int blendDestinationFactor; /* REM */ - ::native::display::OpenGLView ogl; /* REM */ - ::native::display3D::Program3D currentProgram; /* REM */ - bool enableErrorChecking; /* REM */ - ::String driverInfo; /* REM */ -}; - -} // end namespace native -} // end namespace display3D - -#endif /* INCLUDED_native_display3D_Context3D */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DClearMask.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DClearMask.h deleted file mode 100644 index 2b4b00b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DClearMask.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_native_display3D_Context3DClearMask -#define INCLUDED_native_display3D_Context3DClearMask - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display3D,Context3DClearMask) -namespace native{ -namespace display3D{ - - -class Context3DClearMask_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Context3DClearMask_obj OBJ_; - Context3DClearMask_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Context3DClearMask_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Context3DClearMask_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Context3DClearMask"); } - - static int ALL; /* REM */ - static int COLOR; /* REM */ - static int DEPTH; /* REM */ - static int STENCIL; /* REM */ -}; - -} // end namespace native -} // end namespace display3D - -#endif /* INCLUDED_native_display3D_Context3DClearMask */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DCompareMode.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DCompareMode.h deleted file mode 100644 index e30c8f6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DCompareMode.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_native_display3D_Context3DCompareMode -#define INCLUDED_native_display3D_Context3DCompareMode - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display3D,Context3DCompareMode) -namespace native{ -namespace display3D{ - - -class Context3DCompareMode_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Context3DCompareMode_obj OBJ_; - Context3DCompareMode_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Context3DCompareMode_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Context3DCompareMode_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Context3DCompareMode"); } - - static int ALWAYS; /* REM */ - static int EQUAL; /* REM */ - static int GREATER; /* REM */ - static int GREATER_EQUAL; /* REM */ - static int LESS; /* REM */ - static int LESS_EQUAL; /* REM */ - static int NEVER; /* REM */ - static int NOT_EQUAL; /* REM */ -}; - -} // end namespace native -} // end namespace display3D - -#endif /* INCLUDED_native_display3D_Context3DCompareMode */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DProgramType.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DProgramType.h deleted file mode 100644 index e674dc7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DProgramType.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_native_display3D_Context3DProgramType -#define INCLUDED_native_display3D_Context3DProgramType - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display3D,Context3DProgramType) -namespace native{ -namespace display3D{ - - -class Context3DProgramType_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Context3DProgramType_obj OBJ_; - Context3DProgramType_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Context3DProgramType_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Context3DProgramType_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Context3DProgramType"); } - - static int VERTEX; /* REM */ - static int FRAGMENT; /* REM */ -}; - -} // end namespace native -} // end namespace display3D - -#endif /* INCLUDED_native_display3D_Context3DProgramType */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DStencilAction.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DStencilAction.h deleted file mode 100644 index d6d8f82..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DStencilAction.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_native_display3D_Context3DStencilAction -#define INCLUDED_native_display3D_Context3DStencilAction - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display3D,Context3DStencilAction) -namespace native{ -namespace display3D{ - - -class Context3DStencilAction_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef Context3DStencilAction_obj OBJ_; - - public: - Context3DStencilAction_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.display3D.Context3DStencilAction"); } - ::String __ToString() const { return HX_CSTRING("Context3DStencilAction.") + tag; } - - static ::native::display3D::Context3DStencilAction DECREMENT_SATURATE; - static inline ::native::display3D::Context3DStencilAction DECREMENT_SATURATE_dyn() { return DECREMENT_SATURATE; } - static ::native::display3D::Context3DStencilAction DECREMENT_WRAP; - static inline ::native::display3D::Context3DStencilAction DECREMENT_WRAP_dyn() { return DECREMENT_WRAP; } - static ::native::display3D::Context3DStencilAction INCREMENT_SATURATE; - static inline ::native::display3D::Context3DStencilAction INCREMENT_SATURATE_dyn() { return INCREMENT_SATURATE; } - static ::native::display3D::Context3DStencilAction INCREMENT_WRAP; - static inline ::native::display3D::Context3DStencilAction INCREMENT_WRAP_dyn() { return INCREMENT_WRAP; } - static ::native::display3D::Context3DStencilAction INVERT; - static inline ::native::display3D::Context3DStencilAction INVERT_dyn() { return INVERT; } - static ::native::display3D::Context3DStencilAction KEEP; - static inline ::native::display3D::Context3DStencilAction KEEP_dyn() { return KEEP; } - static ::native::display3D::Context3DStencilAction SET; - static inline ::native::display3D::Context3DStencilAction SET_dyn() { return SET; } - static ::native::display3D::Context3DStencilAction ZERO; - static inline ::native::display3D::Context3DStencilAction ZERO_dyn() { return ZERO; } -}; - -} // end namespace native -} // end namespace display3D - -#endif /* INCLUDED_native_display3D_Context3DStencilAction */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DTextureFormat.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DTextureFormat.h deleted file mode 100644 index 813bf81..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DTextureFormat.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_native_display3D_Context3DTextureFormat -#define INCLUDED_native_display3D_Context3DTextureFormat - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display3D,Context3DTextureFormat) -namespace native{ -namespace display3D{ - - -class Context3DTextureFormat_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef Context3DTextureFormat_obj OBJ_; - - public: - Context3DTextureFormat_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.display3D.Context3DTextureFormat"); } - ::String __ToString() const { return HX_CSTRING("Context3DTextureFormat.") + tag; } - - static ::native::display3D::Context3DTextureFormat BGRA; - static inline ::native::display3D::Context3DTextureFormat BGRA_dyn() { return BGRA; } - static ::native::display3D::Context3DTextureFormat COMPRESSED; - static inline ::native::display3D::Context3DTextureFormat COMPRESSED_dyn() { return COMPRESSED; } - static ::native::display3D::Context3DTextureFormat COMPRESSED_ALPHA; - static inline ::native::display3D::Context3DTextureFormat COMPRESSED_ALPHA_dyn() { return COMPRESSED_ALPHA; } -}; - -} // end namespace native -} // end namespace display3D - -#endif /* INCLUDED_native_display3D_Context3DTextureFormat */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DTriangleFace.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DTriangleFace.h deleted file mode 100644 index d86ba85..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DTriangleFace.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_native_display3D_Context3DTriangleFace -#define INCLUDED_native_display3D_Context3DTriangleFace - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display3D,Context3DTriangleFace) -namespace native{ -namespace display3D{ - - -class Context3DTriangleFace_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Context3DTriangleFace_obj OBJ_; - Context3DTriangleFace_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Context3DTriangleFace_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Context3DTriangleFace_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Context3DTriangleFace"); } - - static int BACK; /* REM */ - static int FRONT; /* REM */ - static int FRONT_AND_BACK; /* REM */ - static int NONE; /* REM */ -}; - -} // end namespace native -} // end namespace display3D - -#endif /* INCLUDED_native_display3D_Context3DTriangleFace */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DVertexBufferFormat.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DVertexBufferFormat.h deleted file mode 100644 index 0afbae8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Context3DVertexBufferFormat.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_native_display3D_Context3DVertexBufferFormat -#define INCLUDED_native_display3D_Context3DVertexBufferFormat - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display3D,Context3DVertexBufferFormat) -namespace native{ -namespace display3D{ - - -class Context3DVertexBufferFormat_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef Context3DVertexBufferFormat_obj OBJ_; - - public: - Context3DVertexBufferFormat_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.display3D.Context3DVertexBufferFormat"); } - ::String __ToString() const { return HX_CSTRING("Context3DVertexBufferFormat.") + tag; } - - static ::native::display3D::Context3DVertexBufferFormat BYTES_4; - static inline ::native::display3D::Context3DVertexBufferFormat BYTES_4_dyn() { return BYTES_4; } - static ::native::display3D::Context3DVertexBufferFormat FLOAT_1; - static inline ::native::display3D::Context3DVertexBufferFormat FLOAT_1_dyn() { return FLOAT_1; } - static ::native::display3D::Context3DVertexBufferFormat FLOAT_2; - static inline ::native::display3D::Context3DVertexBufferFormat FLOAT_2_dyn() { return FLOAT_2; } - static ::native::display3D::Context3DVertexBufferFormat FLOAT_3; - static inline ::native::display3D::Context3DVertexBufferFormat FLOAT_3_dyn() { return FLOAT_3; } - static ::native::display3D::Context3DVertexBufferFormat FLOAT_4; - static inline ::native::display3D::Context3DVertexBufferFormat FLOAT_4_dyn() { return FLOAT_4; } -}; - -} // end namespace native -} // end namespace display3D - -#endif /* INCLUDED_native_display3D_Context3DVertexBufferFormat */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/IndexBuffer3D.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/IndexBuffer3D.h deleted file mode 100644 index b20eba9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/IndexBuffer3D.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef INCLUDED_native_display3D_IndexBuffer3D -#define INCLUDED_native_display3D_IndexBuffer3D - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(native,display3D,IndexBuffer3D) -HX_DECLARE_CLASS2(native,gl,Buffer) -HX_DECLARE_CLASS2(native,gl,Object) -HX_DECLARE_CLASS2(native,utils,ByteArray) -HX_DECLARE_CLASS2(native,utils,IDataInput) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -namespace native{ -namespace display3D{ - - -class IndexBuffer3D_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef IndexBuffer3D_obj OBJ_; - IndexBuffer3D_obj(); - Void __construct(::native::gl::Buffer glBuffer,int numIndices); - - public: - static hx::ObjectPtr< IndexBuffer3D_obj > __new(::native::gl::Buffer glBuffer,int numIndices); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~IndexBuffer3D_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("IndexBuffer3D"); } - - virtual Void uploadFromVector( Array< int > data,int startOffset,int count); - Dynamic uploadFromVector_dyn(); - - virtual Void uploadFromByteArray( ::native::utils::ByteArray byteArray,int byteArrayOffset,int startOffset,int count); - Dynamic uploadFromByteArray_dyn(); - - int numIndices; /* REM */ - ::native::gl::Buffer glBuffer; /* REM */ -}; - -} // end namespace native -} // end namespace display3D - -#endif /* INCLUDED_native_display3D_IndexBuffer3D */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Program3D.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Program3D.h deleted file mode 100644 index 5aee275..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/Program3D.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef INCLUDED_native_display3D_Program3D -#define INCLUDED_native_display3D_Program3D - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display3D,Program3D) -HX_DECLARE_CLASS2(native,gl,Object) -HX_DECLARE_CLASS2(native,gl,Program) -HX_DECLARE_CLASS2(native,gl,Shader) -namespace native{ -namespace display3D{ - - -class Program3D_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Program3D_obj OBJ_; - Program3D_obj(); - Void __construct(::native::gl::Program program); - - public: - static hx::ObjectPtr< Program3D_obj > __new(::native::gl::Program program); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Program3D_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Program3D"); } - - virtual Void upload( ::native::gl::Shader vertexShader,::native::gl::Shader fragmentShader); - Dynamic upload_dyn(); - - virtual Void dispose( ); - Dynamic dispose_dyn(); - - ::native::gl::Program glProgram; /* REM */ -}; - -} // end namespace native -} // end namespace display3D - -#endif /* INCLUDED_native_display3D_Program3D */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/VertexBuffer3D.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/VertexBuffer3D.h deleted file mode 100644 index bafae08..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/VertexBuffer3D.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef INCLUDED_native_display3D_VertexBuffer3D -#define INCLUDED_native_display3D_VertexBuffer3D - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(native,display3D,VertexBuffer3D) -HX_DECLARE_CLASS2(native,gl,Buffer) -HX_DECLARE_CLASS2(native,gl,Object) -HX_DECLARE_CLASS2(native,utils,ByteArray) -HX_DECLARE_CLASS2(native,utils,IDataInput) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -namespace native{ -namespace display3D{ - - -class VertexBuffer3D_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef VertexBuffer3D_obj OBJ_; - VertexBuffer3D_obj(); - Void __construct(::native::gl::Buffer glBuffer,int numVertices,int data32PerVertex); - - public: - static hx::ObjectPtr< VertexBuffer3D_obj > __new(::native::gl::Buffer glBuffer,int numVertices,int data32PerVertex); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~VertexBuffer3D_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("VertexBuffer3D"); } - - virtual Void uploadFromVector( Array< Float > data,int startVertex,int numVertices); - Dynamic uploadFromVector_dyn(); - - virtual Void uploadFromByteArray( ::native::utils::ByteArray byteArray,int byteArrayOffset,int startOffset,int count); - Dynamic uploadFromByteArray_dyn(); - - virtual Void dispose( ); - Dynamic dispose_dyn(); - - int numVertices; /* REM */ - ::native::gl::Buffer glBuffer; /* REM */ - int data32PerVertex; /* REM */ -}; - -} // end namespace native -} // end namespace display3D - -#endif /* INCLUDED_native_display3D_VertexBuffer3D */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/textures/CubeTexture.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/textures/CubeTexture.h deleted file mode 100644 index 0ddc3f2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/textures/CubeTexture.h +++ /dev/null @@ -1,59 +0,0 @@ -#ifndef INCLUDED_native_display3D_textures_CubeTexture -#define INCLUDED_native_display3D_textures_CubeTexture - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(native,display,BitmapData) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS3(native,display3D,textures,CubeTexture) -HX_DECLARE_CLASS3(native,display3D,textures,TextureBase) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,utils,ByteArray) -HX_DECLARE_CLASS2(native,utils,IDataInput) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -namespace native{ -namespace display3D{ -namespace textures{ - - -class CubeTexture_obj : public ::native::display3D::textures::TextureBase_obj{ - public: - typedef ::native::display3D::textures::TextureBase_obj super; - typedef CubeTexture_obj OBJ_; - CubeTexture_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< CubeTexture_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~CubeTexture_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("CubeTexture"); } - - virtual Void uploadFromByteArray( ::native::utils::ByteArray data,int byteArrayOffset,int side,hx::Null< int > miplevel); - Dynamic uploadFromByteArray_dyn(); - - virtual Void uploadFromBitmapData( ::native::display::BitmapData source,int side,hx::Null< int > miplevel); - Dynamic uploadFromBitmapData_dyn(); - - virtual Void uploadCompressedTextureFromByteArray( ::native::utils::ByteArray data,int byteArrayOffset,hx::Null< bool > async); - Dynamic uploadCompressedTextureFromByteArray_dyn(); - -}; - -} // end namespace native -} // end namespace display3D -} // end namespace textures - -#endif /* INCLUDED_native_display3D_textures_CubeTexture */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/textures/Texture.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/textures/Texture.h deleted file mode 100644 index ec4a2c2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/textures/Texture.h +++ /dev/null @@ -1,62 +0,0 @@ -#ifndef INCLUDED_native_display3D_textures_Texture -#define INCLUDED_native_display3D_textures_Texture - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(native,display,BitmapData) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS3(native,display3D,textures,Texture) -HX_DECLARE_CLASS3(native,display3D,textures,TextureBase) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,gl,Object) -HX_DECLARE_CLASS2(native,gl,Texture) -HX_DECLARE_CLASS2(native,utils,ByteArray) -HX_DECLARE_CLASS2(native,utils,IDataInput) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -namespace native{ -namespace display3D{ -namespace textures{ - - -class Texture_obj : public ::native::display3D::textures::TextureBase_obj{ - public: - typedef ::native::display3D::textures::TextureBase_obj super; - typedef Texture_obj OBJ_; - Texture_obj(); - Void __construct(::native::gl::Texture glTexture); - - public: - static hx::ObjectPtr< Texture_obj > __new(::native::gl::Texture glTexture); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Texture_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Texture"); } - - virtual Void uploadFromByteArray( ::native::utils::ByteArray data,int byteArrayOffset,hx::Null< int > miplevel); - Dynamic uploadFromByteArray_dyn(); - - virtual Void uploadFromBitmapData( ::native::display::BitmapData bitmapData,hx::Null< int > miplevel); - Dynamic uploadFromBitmapData_dyn(); - - virtual Void uploadCompressedTextureFromByteArray( ::native::utils::ByteArray data,int byteArrayOffset,hx::Null< bool > async); - Dynamic uploadCompressedTextureFromByteArray_dyn(); - - ::native::gl::Texture glTexture; /* REM */ -}; - -} // end namespace native -} // end namespace display3D -} // end namespace textures - -#endif /* INCLUDED_native_display3D_textures_Texture */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/textures/TextureBase.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/textures/TextureBase.h deleted file mode 100644 index ae2f50b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/display3D/textures/TextureBase.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_native_display3D_textures_TextureBase -#define INCLUDED_native_display3D_textures_TextureBase - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS3(native,display3D,textures,TextureBase) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -namespace native{ -namespace display3D{ -namespace textures{ - - -class TextureBase_obj : public ::native::events::EventDispatcher_obj{ - public: - typedef ::native::events::EventDispatcher_obj super; - typedef TextureBase_obj OBJ_; - TextureBase_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< TextureBase_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TextureBase_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TextureBase"); } - - virtual Void dispose( ); - Dynamic dispose_dyn(); - -}; - -} // end namespace native -} // end namespace display3D -} // end namespace textures - -#endif /* INCLUDED_native_display3D_textures_TextureBase */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/errors/ArgumentError.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/errors/ArgumentError.h deleted file mode 100644 index caa400e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/errors/ArgumentError.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_native_errors_ArgumentError -#define INCLUDED_native_errors_ArgumentError - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,errors,ArgumentError) -HX_DECLARE_CLASS2(native,errors,Error) -namespace native{ -namespace errors{ - - -class ArgumentError_obj : public ::native::errors::Error_obj{ - public: - typedef ::native::errors::Error_obj super; - typedef ArgumentError_obj OBJ_; - ArgumentError_obj(); - Void __construct(Dynamic inMessage,Dynamic id); - - public: - static hx::ObjectPtr< ArgumentError_obj > __new(Dynamic inMessage,Dynamic id); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ArgumentError_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ArgumentError"); } - -}; - -} // end namespace native -} // end namespace errors - -#endif /* INCLUDED_native_errors_ArgumentError */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/errors/EOFError.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/errors/EOFError.h deleted file mode 100644 index ed476f4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/errors/EOFError.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_native_errors_EOFError -#define INCLUDED_native_errors_EOFError - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,errors,EOFError) -HX_DECLARE_CLASS2(native,errors,Error) -namespace native{ -namespace errors{ - - -class EOFError_obj : public ::native::errors::Error_obj{ - public: - typedef ::native::errors::Error_obj super; - typedef EOFError_obj OBJ_; - EOFError_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< EOFError_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~EOFError_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("EOFError"); } - -}; - -} // end namespace native -} // end namespace errors - -#endif /* INCLUDED_native_errors_EOFError */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/errors/Error.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/errors/Error.h deleted file mode 100644 index 6479ba6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/errors/Error.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_native_errors_Error -#define INCLUDED_native_errors_Error - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,errors,Error) -namespace native{ -namespace errors{ - - -class Error_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Error_obj OBJ_; - Error_obj(); - Void __construct(Dynamic inMessage,Dynamic __o_id); - - public: - static hx::ObjectPtr< Error_obj > __new(Dynamic inMessage,Dynamic __o_id); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Error_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Error"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual ::String getStackTrace( ); - Dynamic getStackTrace_dyn(); - - Dynamic name; /* REM */ - Dynamic message; /* REM */ - int errorID; /* REM */ -}; - -} // end namespace native -} // end namespace errors - -#endif /* INCLUDED_native_errors_Error */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/errors/RangeError.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/errors/RangeError.h deleted file mode 100644 index f04c03c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/errors/RangeError.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_native_errors_RangeError -#define INCLUDED_native_errors_RangeError - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,errors,Error) -HX_DECLARE_CLASS2(native,errors,RangeError) -namespace native{ -namespace errors{ - - -class RangeError_obj : public ::native::errors::Error_obj{ - public: - typedef ::native::errors::Error_obj super; - typedef RangeError_obj OBJ_; - RangeError_obj(); - Void __construct(::String __o_inMessage); - - public: - static hx::ObjectPtr< RangeError_obj > __new(::String __o_inMessage); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~RangeError_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("RangeError"); } - -}; - -} // end namespace native -} // end namespace errors - -#endif /* INCLUDED_native_errors_RangeError */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/ErrorEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/ErrorEvent.h deleted file mode 100644 index e958112..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/ErrorEvent.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_native_events_ErrorEvent -#define INCLUDED_native_events_ErrorEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,events,ErrorEvent) -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,TextEvent) -namespace native{ -namespace events{ - - -class ErrorEvent_obj : public ::native::events::TextEvent_obj{ - public: - typedef ::native::events::TextEvent_obj super; - typedef ErrorEvent_obj OBJ_; - ErrorEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id); - - public: - static hx::ObjectPtr< ErrorEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ErrorEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ErrorEvent"); } - - virtual ::String toString( ); - - virtual ::native::events::Event clone( ); - - int errorID; /* REM */ - static ::String ERROR; /* REM */ -}; - -} // end namespace native -} // end namespace events - -#endif /* INCLUDED_native_events_ErrorEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/Event.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/Event.h deleted file mode 100644 index cefa24c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/Event.h +++ /dev/null @@ -1,123 +0,0 @@ -#ifndef INCLUDED_native_events_Event -#define INCLUDED_native_events_Event - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,events,Event) -namespace native{ -namespace events{ - - -class Event_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Event_obj OBJ_; - Event_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable); - - public: - static hx::ObjectPtr< Event_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Event_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Event"); } - - virtual ::String get_type( ); - Dynamic get_type_dyn(); - - virtual Dynamic set_target( Dynamic v); - Dynamic set_target_dyn(); - - virtual Dynamic get_target( ); - Dynamic get_target_dyn(); - - virtual int get_eventPhase( ); - Dynamic get_eventPhase_dyn(); - - virtual Dynamic set_currentTarget( Dynamic v); - Dynamic set_currentTarget_dyn(); - - virtual Dynamic get_currentTarget( ); - Dynamic get_currentTarget_dyn(); - - virtual bool get_cancelable( ); - Dynamic get_cancelable_dyn(); - - virtual bool get_bubbles( ); - Dynamic get_bubbles_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void stopPropagation( ); - Dynamic stopPropagation_dyn(); - - virtual Void stopImmediatePropagation( ); - Dynamic stopImmediatePropagation_dyn(); - - virtual Void nmeSetPhase( int inPhase); - Dynamic nmeSetPhase_dyn(); - - virtual bool nmeGetIsCancelledNow( ); - Dynamic nmeGetIsCancelledNow_dyn(); - - virtual bool nmeGetIsCancelled( ); - Dynamic nmeGetIsCancelled_dyn(); - - virtual ::native::events::Event clone( ); - Dynamic clone_dyn(); - - bool nmeIsCancelledNow; /* REM */ - bool nmeIsCancelled; /* REM */ - ::String _type; /* REM */ - Dynamic _target; /* REM */ - int _eventPhase; /* REM */ - Dynamic _currentTarget; /* REM */ - bool _cancelable; /* REM */ - bool _bubbles; /* REM */ - ::String type; /* REM */ - Dynamic target; /* REM */ - int eventPhase; /* REM */ - Dynamic currentTarget; /* REM */ - bool cancelable; /* REM */ - bool bubbles; /* REM */ - static ::String ACTIVATE; /* REM */ - static ::String ADDED; /* REM */ - static ::String ADDED_TO_STAGE; /* REM */ - static ::String CANCEL; /* REM */ - static ::String CHANGE; /* REM */ - static ::String CLOSE; /* REM */ - static ::String COMPLETE; /* REM */ - static ::String CONNECT; /* REM */ - static ::String CONTEXT3D_CREATE; /* REM */ - static ::String DEACTIVATE; /* REM */ - static ::String ENTER_FRAME; /* REM */ - static ::String ID3; /* REM */ - static ::String INIT; /* REM */ - static ::String MOUSE_LEAVE; /* REM */ - static ::String OPEN; /* REM */ - static ::String REMOVED; /* REM */ - static ::String REMOVED_FROM_STAGE; /* REM */ - static ::String RENDER; /* REM */ - static ::String RESIZE; /* REM */ - static ::String SCROLL; /* REM */ - static ::String SELECT; /* REM */ - static ::String SOUND_COMPLETE; /* REM */ - static ::String TAB_CHILDREN_CHANGE; /* REM */ - static ::String TAB_ENABLED_CHANGE; /* REM */ - static ::String TAB_INDEX_CHANGE; /* REM */ - static ::String UNLOAD; /* REM */ -}; - -} // end namespace native -} // end namespace events - -#endif /* INCLUDED_native_events_Event */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/EventDispatcher.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/EventDispatcher.h deleted file mode 100644 index 703e013..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/EventDispatcher.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef INCLUDED_native_events_EventDispatcher -#define INCLUDED_native_events_EventDispatcher - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -namespace native{ -namespace events{ - - -class EventDispatcher_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef EventDispatcher_obj OBJ_; - EventDispatcher_obj(); - Void __construct(::native::events::IEventDispatcher target); - - public: - static hx::ObjectPtr< EventDispatcher_obj > __new(::native::events::IEventDispatcher target); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~EventDispatcher_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::native::events::IEventDispatcher_obj *() - { return new ::native::events::IEventDispatcher_delegate_< EventDispatcher_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("EventDispatcher"); } - - virtual bool willTrigger( ::String type); - Dynamic willTrigger_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void removeEventListener( ::String type,Dynamic listener,hx::Null< bool > capture); - Dynamic removeEventListener_dyn(); - - virtual bool hasEventListener( ::String type); - Dynamic hasEventListener_dyn(); - - virtual Void DispatchIOErrorEvent( ); - Dynamic DispatchIOErrorEvent_dyn(); - - virtual bool dispatchEvent( ::native::events::Event event); - Dynamic dispatchEvent_dyn(); - - virtual Void DispatchCompleteEvent( ); - Dynamic DispatchCompleteEvent_dyn(); - - virtual Void addEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference); - Dynamic addEventListener_dyn(); - - ::native::events::IEventDispatcher nmeTarget; /* REM */ - ::Hash nmeEventMap; /* REM */ -}; - -} // end namespace native -} // end namespace events - -#endif /* INCLUDED_native_events_EventDispatcher */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/EventPhase.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/EventPhase.h deleted file mode 100644 index ffb43c7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/EventPhase.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_native_events_EventPhase -#define INCLUDED_native_events_EventPhase - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,events,EventPhase) -namespace native{ -namespace events{ - - -class EventPhase_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef EventPhase_obj OBJ_; - EventPhase_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< EventPhase_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~EventPhase_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("EventPhase"); } - - static int CAPTURING_PHASE; /* REM */ - static int AT_TARGET; /* REM */ - static int BUBBLING_PHASE; /* REM */ -}; - -} // end namespace native -} // end namespace events - -#endif /* INCLUDED_native_events_EventPhase */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/FocusEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/FocusEvent.h deleted file mode 100644 index 388fb2e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/FocusEvent.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef INCLUDED_native_events_FocusEvent -#define INCLUDED_native_events_FocusEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,FocusEvent) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -namespace native{ -namespace events{ - - -class FocusEvent_obj : public ::native::events::Event_obj{ - public: - typedef ::native::events::Event_obj super; - typedef FocusEvent_obj OBJ_; - FocusEvent_obj(); - Void __construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::native::display::InteractiveObject relatedObject,hx::Null< bool > __o_shiftKey,hx::Null< int > __o_keyCode,::String __o_direction); - - public: - static hx::ObjectPtr< FocusEvent_obj > __new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::native::display::InteractiveObject relatedObject,hx::Null< bool > __o_shiftKey,hx::Null< int > __o_keyCode,::String __o_direction); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~FocusEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("FocusEvent"); } - - virtual ::String toString( ); - - virtual ::native::events::Event clone( ); - - bool shiftKey; /* REM */ - ::native::display::InteractiveObject relatedObject; /* REM */ - int keyCode; /* REM */ - static ::String FOCUS_IN; /* REM */ - static ::String FOCUS_OUT; /* REM */ - static ::String KEY_FOCUS_CHANGE; /* REM */ - static ::String MOUSE_FOCUS_CHANGE; /* REM */ -}; - -} // end namespace native -} // end namespace events - -#endif /* INCLUDED_native_events_FocusEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/HTTPStatusEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/HTTPStatusEvent.h deleted file mode 100644 index 7a2b229..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/HTTPStatusEvent.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_native_events_HTTPStatusEvent -#define INCLUDED_native_events_HTTPStatusEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,HTTPStatusEvent) -namespace native{ -namespace events{ - - -class HTTPStatusEvent_obj : public ::native::events::Event_obj{ - public: - typedef ::native::events::Event_obj super; - typedef HTTPStatusEvent_obj OBJ_; - HTTPStatusEvent_obj(); - Void __construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_status); - - public: - static hx::ObjectPtr< HTTPStatusEvent_obj > __new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_status); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~HTTPStatusEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("HTTPStatusEvent"); } - - virtual ::String toString( ); - - virtual ::native::events::Event clone( ); - - int status; /* REM */ - static ::String HTTP_STATUS; /* REM */ -}; - -} // end namespace native -} // end namespace events - -#endif /* INCLUDED_native_events_HTTPStatusEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/IEventDispatcher.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/IEventDispatcher.h deleted file mode 100644 index b6c71dd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/IEventDispatcher.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_native_events_IEventDispatcher -#define INCLUDED_native_events_IEventDispatcher - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -namespace native{ -namespace events{ - - -class IEventDispatcher_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IEventDispatcher_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual bool willTrigger( ::String type)=0; - Dynamic willTrigger_dyn(); -virtual Void removeEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture)=0; - Dynamic removeEventListener_dyn(); -virtual bool hasEventListener( ::String type)=0; - Dynamic hasEventListener_dyn(); -virtual bool dispatchEvent( ::native::events::Event event)=0; - Dynamic dispatchEvent_dyn(); -virtual Void addEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference)=0; - Dynamic addEventListener_dyn(); -}; - -#define DELEGATE_native_events_IEventDispatcher \ -virtual bool willTrigger( ::String type) { return mDelegate->willTrigger(type);} \ -virtual Dynamic willTrigger_dyn() { return mDelegate->willTrigger_dyn();} \ -virtual Void removeEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture) { return mDelegate->removeEventListener(type,listener,useCapture);} \ -virtual Dynamic removeEventListener_dyn() { return mDelegate->removeEventListener_dyn();} \ -virtual bool hasEventListener( ::String type) { return mDelegate->hasEventListener(type);} \ -virtual Dynamic hasEventListener_dyn() { return mDelegate->hasEventListener_dyn();} \ -virtual bool dispatchEvent( ::native::events::Event event) { return mDelegate->dispatchEvent(event);} \ -virtual Dynamic dispatchEvent_dyn() { return mDelegate->dispatchEvent_dyn();} \ -virtual Void addEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference) { return mDelegate->addEventListener(type,listener,useCapture,priority,useWeakReference);} \ -virtual Dynamic addEventListener_dyn() { return mDelegate->addEventListener_dyn();} \ - - -template -class IEventDispatcher_delegate_ : public IEventDispatcher_obj -{ - protected: - IMPL *mDelegate; - public: - IEventDispatcher_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_native_events_IEventDispatcher -}; - -} // end namespace native -} // end namespace events - -#endif /* INCLUDED_native_events_IEventDispatcher */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/IOErrorEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/IOErrorEvent.h deleted file mode 100644 index 6771086..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/IOErrorEvent.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_native_events_IOErrorEvent -#define INCLUDED_native_events_IOErrorEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,events,ErrorEvent) -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,IOErrorEvent) -HX_DECLARE_CLASS2(native,events,TextEvent) -namespace native{ -namespace events{ - - -class IOErrorEvent_obj : public ::native::events::ErrorEvent_obj{ - public: - typedef ::native::events::ErrorEvent_obj super; - typedef IOErrorEvent_obj OBJ_; - IOErrorEvent_obj(); - Void __construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id); - - public: - static hx::ObjectPtr< IOErrorEvent_obj > __new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~IOErrorEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("IOErrorEvent"); } - - virtual ::String toString( ); - - virtual ::native::events::Event clone( ); - - static ::String IO_ERROR; /* REM */ -}; - -} // end namespace native -} // end namespace events - -#endif /* INCLUDED_native_events_IOErrorEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/JoystickEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/JoystickEvent.h deleted file mode 100644 index ef8fbef..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/JoystickEvent.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef INCLUDED_native_events_JoystickEvent -#define INCLUDED_native_events_JoystickEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,JoystickEvent) -namespace native{ -namespace events{ - - -class JoystickEvent_obj : public ::native::events::Event_obj{ - public: - typedef ::native::events::Event_obj super; - typedef JoystickEvent_obj OBJ_; - JoystickEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_device,hx::Null< int > __o_id,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< Float > __o_z); - - public: - static hx::ObjectPtr< JoystickEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_device,hx::Null< int > __o_id,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< Float > __o_z); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~JoystickEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("JoystickEvent"); } - - virtual ::String toString( ); - - virtual ::native::events::Event clone( ); - - Float z; /* REM */ - Float y; /* REM */ - Float x; /* REM */ - int id; /* REM */ - int device; /* REM */ - Array< Float > axis; /* REM */ - static ::String AXIS_MOVE; /* REM */ - static ::String BALL_MOVE; /* REM */ - static ::String BUTTON_DOWN; /* REM */ - static ::String BUTTON_UP; /* REM */ - static ::String HAT_MOVE; /* REM */ -}; - -} // end namespace native -} // end namespace events - -#endif /* INCLUDED_native_events_JoystickEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/KeyboardEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/KeyboardEvent.h deleted file mode 100644 index 22eeccf..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/KeyboardEvent.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_native_events_KeyboardEvent -#define INCLUDED_native_events_KeyboardEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,KeyboardEvent) -namespace native{ -namespace events{ - - -class KeyboardEvent_obj : public ::native::events::Event_obj{ - public: - typedef ::native::events::Event_obj super; - typedef KeyboardEvent_obj OBJ_; - KeyboardEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_charCodeValue,hx::Null< int > __o_keyCodeValue,hx::Null< int > __o_keyLocationValue,hx::Null< bool > __o_ctrlKeyValue,hx::Null< bool > __o_altKeyValue,hx::Null< bool > __o_shiftKeyValue,hx::Null< bool > __o_controlKeyValue,hx::Null< bool > __o_commandKeyValue); - - public: - static hx::ObjectPtr< KeyboardEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_charCodeValue,hx::Null< int > __o_keyCodeValue,hx::Null< int > __o_keyLocationValue,hx::Null< bool > __o_ctrlKeyValue,hx::Null< bool > __o_altKeyValue,hx::Null< bool > __o_shiftKeyValue,hx::Null< bool > __o_controlKeyValue,hx::Null< bool > __o_commandKeyValue); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~KeyboardEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("KeyboardEvent"); } - - virtual ::String toString( ); - - virtual ::native::events::Event clone( ); - - bool shiftKey; /* REM */ - int keyLocation; /* REM */ - int keyCode; /* REM */ - bool commandKey; /* REM */ - bool controlKey; /* REM */ - bool ctrlKey; /* REM */ - int charCode; /* REM */ - bool altKey; /* REM */ - static ::String KEY_DOWN; /* REM */ - static ::String KEY_UP; /* REM */ -}; - -} // end namespace native -} // end namespace events - -#endif /* INCLUDED_native_events_KeyboardEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/Listener.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/Listener.h deleted file mode 100644 index 2781f91..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/Listener.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef INCLUDED_native_events_Listener -#define INCLUDED_native_events_Listener - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,Listener) -namespace native{ -namespace events{ - - -class Listener_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Listener_obj OBJ_; - Listener_obj(); - Void __construct(Dynamic inListener,bool inUseCapture,int inPriority); - - public: - static hx::ObjectPtr< Listener_obj > __new(Dynamic inListener,bool inUseCapture,int inPriority); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Listener_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Listener"); } - - virtual bool Is( Dynamic inListener,bool inCapture); - Dynamic Is_dyn(); - - virtual Void dispatchEvent( ::native::events::Event event); - Dynamic dispatchEvent_dyn(); - - bool mUseCapture; /* REM */ - int mPriority; /* REM */ - Dynamic mListner; /* REM */ - Dynamic &mListner_dyn() { return mListner;} - int mID; /* REM */ - static int sIDs; /* REM */ -}; - -} // end namespace native -} // end namespace events - -#endif /* INCLUDED_native_events_Listener */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/MouseEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/MouseEvent.h deleted file mode 100644 index 3a293ce..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/MouseEvent.h +++ /dev/null @@ -1,92 +0,0 @@ -#ifndef INCLUDED_native_events_MouseEvent -#define INCLUDED_native_events_MouseEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,events,MouseEvent) -HX_DECLARE_CLASS2(native,geom,Point) -namespace native{ -namespace events{ - - -class MouseEvent_obj : public ::native::events::Event_obj{ - public: - typedef ::native::events::Event_obj super; - typedef MouseEvent_obj OBJ_; - MouseEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_localX,hx::Null< Float > __o_localY,::native::display::InteractiveObject relatedObject,hx::Null< bool > __o_ctrlKey,hx::Null< bool > __o_altKey,hx::Null< bool > __o_shiftKey,hx::Null< bool > __o_buttonDown,hx::Null< int > __o_delta,hx::Null< bool > __o_commandKey,hx::Null< int > __o_clickCount); - - public: - static hx::ObjectPtr< MouseEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_localX,hx::Null< Float > __o_localY,::native::display::InteractiveObject relatedObject,hx::Null< bool > __o_ctrlKey,hx::Null< bool > __o_altKey,hx::Null< bool > __o_shiftKey,hx::Null< bool > __o_buttonDown,hx::Null< int > __o_delta,hx::Null< bool > __o_commandKey,hx::Null< int > __o_clickCount); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~MouseEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("MouseEvent"); } - - virtual Void updateAfterEvent( ); - Dynamic updateAfterEvent_dyn(); - - virtual ::String toString( ); - - virtual ::native::events::MouseEvent nmeCreateSimilar( ::String inType,::native::display::InteractiveObject related,::native::display::InteractiveObject targ); - Dynamic nmeCreateSimilar_dyn(); - - virtual ::native::events::Event clone( ); - - Float stageY; /* REM */ - Float stageX; /* REM */ - bool shiftKey; /* REM */ - ::native::display::InteractiveObject relatedObject; /* REM */ - Float localY; /* REM */ - Float localX; /* REM */ - int delta; /* REM */ - bool ctrlKey; /* REM */ - bool commandKey; /* REM */ - int clickCount; /* REM */ - bool buttonDown; /* REM */ - bool altKey; /* REM */ - static ::String DOUBLE_CLICK; /* REM */ - static ::String CLICK; /* REM */ - static ::String MIDDLE_CLICK; /* REM */ - static ::String MIDDLE_MOUSE_DOWN; /* REM */ - static ::String MIDDLE_MOUSE_UP; /* REM */ - static ::String MOUSE_DOWN; /* REM */ - static ::String MOUSE_MOVE; /* REM */ - static ::String MOUSE_OUT; /* REM */ - static ::String MOUSE_OVER; /* REM */ - static ::String MOUSE_UP; /* REM */ - static ::String MOUSE_WHEEL; /* REM */ - static ::String RIGHT_CLICK; /* REM */ - static ::String RIGHT_MOUSE_DOWN; /* REM */ - static ::String RIGHT_MOUSE_UP; /* REM */ - static ::String ROLL_OUT; /* REM */ - static ::String ROLL_OVER; /* REM */ - static int efLeftDown; /* REM */ - static int efShiftDown; /* REM */ - static int efCtrlDown; /* REM */ - static int efAltDown; /* REM */ - static int efCommandDown; /* REM */ - static ::native::events::MouseEvent nmeCreate( ::String inType,Dynamic inEvent,::native::geom::Point inLocal,::native::display::InteractiveObject inTarget); - static Dynamic nmeCreate_dyn(); - -}; - -} // end namespace native -} // end namespace events - -#endif /* INCLUDED_native_events_MouseEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/ProgressEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/ProgressEvent.h deleted file mode 100644 index 698f1b6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/ProgressEvent.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef INCLUDED_native_events_ProgressEvent -#define INCLUDED_native_events_ProgressEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,ProgressEvent) -namespace native{ -namespace events{ - - -class ProgressEvent_obj : public ::native::events::Event_obj{ - public: - typedef ::native::events::Event_obj super; - typedef ProgressEvent_obj OBJ_; - ProgressEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_bytesLoaded,hx::Null< int > __o_bytesTotal); - - public: - static hx::ObjectPtr< ProgressEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_bytesLoaded,hx::Null< int > __o_bytesTotal); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ProgressEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ProgressEvent"); } - - virtual ::String toString( ); - - virtual ::native::events::Event clone( ); - - int bytesTotal; /* REM */ - int bytesLoaded; /* REM */ - static ::String PROGRESS; /* REM */ - static ::String SOCKET_DATA; /* REM */ -}; - -} // end namespace native -} // end namespace events - -#endif /* INCLUDED_native_events_ProgressEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/SampleDataEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/SampleDataEvent.h deleted file mode 100644 index d3a2a2b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/SampleDataEvent.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef INCLUDED_native_events_SampleDataEvent -#define INCLUDED_native_events_SampleDataEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,SampleDataEvent) -HX_DECLARE_CLASS2(native,utils,ByteArray) -HX_DECLARE_CLASS2(native,utils,IDataInput) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -namespace native{ -namespace events{ - - -class SampleDataEvent_obj : public ::native::events::Event_obj{ - public: - typedef ::native::events::Event_obj super; - typedef SampleDataEvent_obj OBJ_; - SampleDataEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable); - - public: - static hx::ObjectPtr< SampleDataEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SampleDataEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SampleDataEvent"); } - - virtual ::String toString( ); - - virtual ::native::events::Event clone( ); - - Float position; /* REM */ - ::native::utils::ByteArray data; /* REM */ - static ::String SAMPLE_DATA; /* REM */ -}; - -} // end namespace native -} // end namespace events - -#endif /* INCLUDED_native_events_SampleDataEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/TextEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/TextEvent.h deleted file mode 100644 index cafede9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/TextEvent.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_native_events_TextEvent -#define INCLUDED_native_events_TextEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,TextEvent) -namespace native{ -namespace events{ - - -class TextEvent_obj : public ::native::events::Event_obj{ - public: - typedef ::native::events::Event_obj super; - typedef TextEvent_obj OBJ_; - TextEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text); - - public: - static hx::ObjectPtr< TextEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TextEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TextEvent"); } - - virtual ::String toString( ); - - virtual ::native::events::Event clone( ); - - ::String text; /* REM */ - static ::String LINK; /* REM */ - static ::String TEXT_INPUT; /* REM */ -}; - -} // end namespace native -} // end namespace events - -#endif /* INCLUDED_native_events_TextEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/TouchEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/TouchEvent.h deleted file mode 100644 index 8520201..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/events/TouchEvent.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef INCLUDED_native_events_TouchEvent -#define INCLUDED_native_events_TouchEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,events,Event) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,events,MouseEvent) -HX_DECLARE_CLASS2(native,events,TouchEvent) -HX_DECLARE_CLASS2(native,geom,Point) -namespace native{ -namespace events{ - - -class TouchEvent_obj : public ::native::events::MouseEvent_obj{ - public: - typedef ::native::events::MouseEvent_obj super; - typedef TouchEvent_obj OBJ_; - TouchEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_in_localX,hx::Null< Float > __o_in_localY,hx::Null< Float > __o_in_sizeX,hx::Null< Float > __o_in_sizeY,::native::display::InteractiveObject in_relatedObject,hx::Null< bool > __o_in_ctrlKey,hx::Null< bool > __o_in_altKey,hx::Null< bool > __o_in_shiftKey,hx::Null< bool > __o_in_buttonDown,hx::Null< int > __o_in_delta,hx::Null< bool > __o_in_commandKey,hx::Null< int > __o_in_clickCount); - - public: - static hx::ObjectPtr< TouchEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_in_localX,hx::Null< Float > __o_in_localY,hx::Null< Float > __o_in_sizeX,hx::Null< Float > __o_in_sizeY,::native::display::InteractiveObject in_relatedObject,hx::Null< bool > __o_in_ctrlKey,hx::Null< bool > __o_in_altKey,hx::Null< bool > __o_in_shiftKey,hx::Null< bool > __o_in_buttonDown,hx::Null< int > __o_in_delta,hx::Null< bool > __o_in_commandKey,hx::Null< int > __o_in_clickCount); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TouchEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TouchEvent"); } - - virtual ::native::events::MouseEvent nmeCreateSimilar( ::String inType,::native::display::InteractiveObject related,::native::display::InteractiveObject targ); - - Float sizeY; /* REM */ - Float sizeX; /* REM */ - int touchPointID; /* REM */ - bool isPrimaryTouchPoint; /* REM */ - static ::String TOUCH_BEGIN; /* REM */ - static ::String TOUCH_END; /* REM */ - static ::String TOUCH_MOVE; /* REM */ - static ::String TOUCH_OUT; /* REM */ - static ::String TOUCH_OVER; /* REM */ - static ::String TOUCH_ROLL_OUT; /* REM */ - static ::String TOUCH_ROLL_OVER; /* REM */ - static ::String TOUCH_TAP; /* REM */ - static ::native::events::TouchEvent nmeCreate( ::String inType,Dynamic inEvent,::native::geom::Point inLocal,::native::display::InteractiveObject inTarget,Float sizeX,Float sizeY); - static Dynamic nmeCreate_dyn(); - -}; - -} // end namespace native -} // end namespace events - -#endif /* INCLUDED_native_events_TouchEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/filters/BitmapFilter.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/filters/BitmapFilter.h deleted file mode 100644 index ec2e4cf..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/filters/BitmapFilter.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_native_filters_BitmapFilter -#define INCLUDED_native_filters_BitmapFilter - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,filters,BitmapFilter) -namespace native{ -namespace filters{ - - -class BitmapFilter_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef BitmapFilter_obj OBJ_; - BitmapFilter_obj(); - Void __construct(::String inType); - - public: - static hx::ObjectPtr< BitmapFilter_obj > __new(::String inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BitmapFilter_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BitmapFilter"); } - - virtual ::native::filters::BitmapFilter clone( ); - Dynamic clone_dyn(); - - ::String type; /* REM */ -}; - -} // end namespace native -} // end namespace filters - -#endif /* INCLUDED_native_filters_BitmapFilter */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/ColorTransform.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/ColorTransform.h deleted file mode 100644 index 375d384..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/ColorTransform.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef INCLUDED_native_geom_ColorTransform -#define INCLUDED_native_geom_ColorTransform - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,geom,ColorTransform) -namespace native{ -namespace geom{ - - -class ColorTransform_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef ColorTransform_obj OBJ_; - ColorTransform_obj(); - Void __construct(hx::Null< Float > __o_inRedMultiplier,hx::Null< Float > __o_inGreenMultiplier,hx::Null< Float > __o_inBlueMultiplier,hx::Null< Float > __o_inAlphaMultiplier,hx::Null< Float > __o_inRedOffset,hx::Null< Float > __o_inGreenOffset,hx::Null< Float > __o_inBlueOffset,hx::Null< Float > __o_inAlphaOffset); - - public: - static hx::ObjectPtr< ColorTransform_obj > __new(hx::Null< Float > __o_inRedMultiplier,hx::Null< Float > __o_inGreenMultiplier,hx::Null< Float > __o_inBlueMultiplier,hx::Null< Float > __o_inAlphaMultiplier,hx::Null< Float > __o_inRedOffset,hx::Null< Float > __o_inGreenOffset,hx::Null< Float > __o_inBlueOffset,hx::Null< Float > __o_inAlphaOffset); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ColorTransform_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ColorTransform"); } - - virtual int set_color( int value); - Dynamic set_color_dyn(); - - virtual int get_color( ); - Dynamic get_color_dyn(); - - virtual Void concat( ::native::geom::ColorTransform second); - Dynamic concat_dyn(); - - Float redOffset; /* REM */ - Float redMultiplier; /* REM */ - Float greenOffset; /* REM */ - Float greenMultiplier; /* REM */ - int color; /* REM */ - Float blueOffset; /* REM */ - Float blueMultiplier; /* REM */ - Float alphaOffset; /* REM */ - Float alphaMultiplier; /* REM */ -}; - -} // end namespace native -} // end namespace geom - -#endif /* INCLUDED_native_geom_ColorTransform */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/Matrix.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/Matrix.h deleted file mode 100644 index a4c226c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/Matrix.h +++ /dev/null @@ -1,85 +0,0 @@ -#ifndef INCLUDED_native_geom_Matrix -#define INCLUDED_native_geom_Matrix - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,geom,Matrix) -HX_DECLARE_CLASS2(native,geom,Point) -namespace native{ -namespace geom{ - - -class Matrix_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Matrix_obj OBJ_; - Matrix_obj(); - Void __construct(Dynamic in_a,Dynamic in_b,Dynamic in_c,Dynamic in_d,Dynamic in_tx,Dynamic in_ty); - - public: - static hx::ObjectPtr< Matrix_obj > __new(Dynamic in_a,Dynamic in_b,Dynamic in_c,Dynamic in_d,Dynamic in_tx,Dynamic in_ty); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Matrix_obj(); - - HX_DO_RTTI; - double __INumField(int inFieldID); - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Matrix"); } - - virtual Void translate( Float inDX,Float inDY); - Dynamic translate_dyn(); - - virtual ::native::geom::Point transformPoint( ::native::geom::Point inPos); - Dynamic transformPoint_dyn(); - - virtual Void setRotation( Float inTheta,Dynamic inScale); - Dynamic setRotation_dyn(); - - virtual Void scale( Float inSX,Float inSY); - Dynamic scale_dyn(); - - virtual Void rotate( Float inTheta); - Dynamic rotate_dyn(); - - virtual ::native::geom::Matrix mult( ::native::geom::Matrix m); - Dynamic mult_dyn(); - - virtual ::native::geom::Matrix invert( ); - Dynamic invert_dyn(); - - virtual Void identity( ); - Dynamic identity_dyn(); - - virtual ::native::geom::Point deltaTransformPoint( ::native::geom::Point point); - Dynamic deltaTransformPoint_dyn(); - - virtual Void createGradientBox( Float in_width,Float in_height,Dynamic rotation,Dynamic in_tx,Dynamic in_ty); - Dynamic createGradientBox_dyn(); - - virtual Void createBox( Float scaleX,Float scaleY,Dynamic rotation,Dynamic tx,Dynamic ty); - Dynamic createBox_dyn(); - - virtual Void concat( ::native::geom::Matrix m); - Dynamic concat_dyn(); - - virtual ::native::geom::Matrix clone( ); - Dynamic clone_dyn(); - - Float ty; /* REM */ - Float tx; /* REM */ - Float d; /* REM */ - Float c; /* REM */ - Float b; /* REM */ - Float a; /* REM */ -}; - -} // end namespace native -} // end namespace geom - -#endif /* INCLUDED_native_geom_Matrix */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/Matrix3D.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/Matrix3D.h deleted file mode 100644 index 49d57c0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/Matrix3D.h +++ /dev/null @@ -1,120 +0,0 @@ -#ifndef INCLUDED_native_geom_Matrix3D -#define INCLUDED_native_geom_Matrix3D - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,geom,Matrix3D) -HX_DECLARE_CLASS2(native,geom,Vector3D) -namespace native{ -namespace geom{ - - -class Matrix3D_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Matrix3D_obj OBJ_; - Matrix3D_obj(); - Void __construct(Array< Float > v); - - public: - static hx::ObjectPtr< Matrix3D_obj > __new(Array< Float > v); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Matrix3D_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Matrix3D"); } - - virtual ::native::geom::Vector3D set_position( ::native::geom::Vector3D val); - Dynamic set_position_dyn(); - - virtual ::native::geom::Vector3D get_position( ); - Dynamic get_position_dyn(); - - virtual Float get_determinant( ); - Dynamic get_determinant_dyn(); - - virtual Void transpose( ); - Dynamic transpose_dyn(); - - virtual Void transformVectors( Array< Float > vin,Array< Float > vout); - Dynamic transformVectors_dyn(); - - virtual ::native::geom::Vector3D transformVector( ::native::geom::Vector3D v); - Dynamic transformVector_dyn(); - - virtual bool recompose( Array< ::native::geom::Vector3D > components); - Dynamic recompose_dyn(); - - virtual Void prependTranslation( Float x,Float y,Float z); - Dynamic prependTranslation_dyn(); - - virtual Void prependScale( Float xScale,Float yScale,Float zScale); - Dynamic prependScale_dyn(); - - virtual Void prependRotation( Float degrees,::native::geom::Vector3D axis,::native::geom::Vector3D pivotPoint); - Dynamic prependRotation_dyn(); - - virtual Void prepend( ::native::geom::Matrix3D rhs); - Dynamic prepend_dyn(); - - virtual bool invert( ); - Dynamic invert_dyn(); - - virtual Void interpolateTo( ::native::geom::Matrix3D toMat,Float percent); - Dynamic interpolateTo_dyn(); - - virtual Void identity( ); - Dynamic identity_dyn(); - - virtual ::native::geom::Vector3D deltaTransformVector( ::native::geom::Vector3D v); - Dynamic deltaTransformVector_dyn(); - - virtual Array< ::native::geom::Vector3D > decompose( ); - Dynamic decompose_dyn(); - - virtual ::native::geom::Matrix3D clone( ); - Dynamic clone_dyn(); - - virtual Void appendTranslation( Float x,Float y,Float z); - Dynamic appendTranslation_dyn(); - - virtual Void appendScale( Float xScale,Float yScale,Float zScale); - Dynamic appendScale_dyn(); - - virtual Void appendRotation( Float degrees,::native::geom::Vector3D axis,::native::geom::Vector3D pivotPoint); - Dynamic appendRotation_dyn(); - - virtual Void append( ::native::geom::Matrix3D lhs); - Dynamic append_dyn(); - - Array< Float > rawData; /* REM */ - ::native::geom::Vector3D position; /* REM */ - Float determinant; /* REM */ - static ::native::geom::Matrix3D create2D( Float x,Float y,hx::Null< Float > scale,hx::Null< Float > rotation); - static Dynamic create2D_dyn(); - - static ::native::geom::Matrix3D createABCD( Float a,Float b,Float c,Float d,Float tx,Float ty); - static Dynamic createABCD_dyn(); - - static ::native::geom::Matrix3D createOrtho( Float x0,Float x1,Float y0,Float y1,Float zNear,Float zFar); - static Dynamic createOrtho_dyn(); - - static ::native::geom::Matrix3D getAxisRotation( Float x,Float y,Float z,Float degrees); - static Dynamic getAxisRotation_dyn(); - - static ::native::geom::Matrix3D interpolate( ::native::geom::Matrix3D thisMat,::native::geom::Matrix3D toMat,Float percent); - static Dynamic interpolate_dyn(); - -}; - -} // end namespace native -} // end namespace geom - -#endif /* INCLUDED_native_geom_Matrix3D */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/Point.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/Point.h deleted file mode 100644 index 0db6fd6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/Point.h +++ /dev/null @@ -1,74 +0,0 @@ -#ifndef INCLUDED_native_geom_Point -#define INCLUDED_native_geom_Point - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,geom,Point) -namespace native{ -namespace geom{ - - -class Point_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Point_obj OBJ_; - Point_obj(); - Void __construct(hx::Null< Float > __o_inX,hx::Null< Float > __o_inY); - - public: - static hx::ObjectPtr< Point_obj > __new(hx::Null< Float > __o_inX,hx::Null< Float > __o_inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Point_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Point"); } - - virtual Float get_length( ); - Dynamic get_length_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual ::native::geom::Point subtract( ::native::geom::Point v); - Dynamic subtract_dyn(); - - virtual Void offset( Float dx,Float dy); - Dynamic offset_dyn(); - - virtual Void normalize( Float thickness); - Dynamic normalize_dyn(); - - virtual bool equals( ::native::geom::Point toCompare); - Dynamic equals_dyn(); - - virtual ::native::geom::Point clone( ); - Dynamic clone_dyn(); - - virtual ::native::geom::Point add( ::native::geom::Point v); - Dynamic add_dyn(); - - Float y; /* REM */ - Float x; /* REM */ - Float length; /* REM */ - static Float distance( ::native::geom::Point pt1,::native::geom::Point pt2); - static Dynamic distance_dyn(); - - static ::native::geom::Point interpolate( ::native::geom::Point pt1,::native::geom::Point pt2,Float f); - static Dynamic interpolate_dyn(); - - static ::native::geom::Point polar( Float len,Float angle); - static Dynamic polar_dyn(); - -}; - -} // end namespace native -} // end namespace geom - -#endif /* INCLUDED_native_geom_Point */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/Rectangle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/Rectangle.h deleted file mode 100644 index 34799bf..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/Rectangle.h +++ /dev/null @@ -1,141 +0,0 @@ -#ifndef INCLUDED_native_geom_Rectangle -#define INCLUDED_native_geom_Rectangle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,geom,Matrix) -HX_DECLARE_CLASS2(native,geom,Point) -HX_DECLARE_CLASS2(native,geom,Rectangle) -namespace native{ -namespace geom{ - - -class Rectangle_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Rectangle_obj OBJ_; - Rectangle_obj(); - Void __construct(Dynamic inX,Dynamic inY,Dynamic inWidth,Dynamic inHeight); - - public: - static hx::ObjectPtr< Rectangle_obj > __new(Dynamic inX,Dynamic inY,Dynamic inWidth,Dynamic inHeight); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Rectangle_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Rectangle"); } - - virtual ::native::geom::Point set_topLeft( ::native::geom::Point p); - Dynamic set_topLeft_dyn(); - - virtual ::native::geom::Point get_topLeft( ); - Dynamic get_topLeft_dyn(); - - virtual Float set_top( Float t); - Dynamic set_top_dyn(); - - virtual Float get_top( ); - Dynamic get_top_dyn(); - - virtual ::native::geom::Point set_size( ::native::geom::Point p); - Dynamic set_size_dyn(); - - virtual ::native::geom::Point get_size( ); - Dynamic get_size_dyn(); - - virtual Float set_right( Float r); - Dynamic set_right_dyn(); - - virtual Float get_right( ); - Dynamic get_right_dyn(); - - virtual Float set_left( Float l); - Dynamic set_left_dyn(); - - virtual Float get_left( ); - Dynamic get_left_dyn(); - - virtual ::native::geom::Point set_bottomRight( ::native::geom::Point p); - Dynamic set_bottomRight_dyn(); - - virtual ::native::geom::Point get_bottomRight( ); - Dynamic get_bottomRight_dyn(); - - virtual Float set_bottom( Float b); - Dynamic set_bottom_dyn(); - - virtual Float get_bottom( ); - Dynamic get_bottom_dyn(); - - virtual ::native::geom::Rectangle _union( ::native::geom::Rectangle toUnion); - Dynamic _union_dyn(); - - virtual ::native::geom::Rectangle transform( ::native::geom::Matrix m); - Dynamic transform_dyn(); - - virtual Void setEmpty( ); - Dynamic setEmpty_dyn(); - - virtual Void offsetPoint( ::native::geom::Point point); - Dynamic offsetPoint_dyn(); - - virtual Void offset( Float dx,Float dy); - Dynamic offset_dyn(); - - virtual bool isEmpty( ); - Dynamic isEmpty_dyn(); - - virtual bool intersects( ::native::geom::Rectangle toIntersect); - Dynamic intersects_dyn(); - - virtual ::native::geom::Rectangle intersection( ::native::geom::Rectangle toIntersect); - Dynamic intersection_dyn(); - - virtual Void inflatePoint( ::native::geom::Point point); - Dynamic inflatePoint_dyn(); - - virtual Void inflate( Float dx,Float dy); - Dynamic inflate_dyn(); - - virtual Void extendBounds( ::native::geom::Rectangle r); - Dynamic extendBounds_dyn(); - - virtual bool equals( ::native::geom::Rectangle toCompare); - Dynamic equals_dyn(); - - virtual bool containsRect( ::native::geom::Rectangle rect); - Dynamic containsRect_dyn(); - - virtual bool containsPoint( ::native::geom::Point point); - Dynamic containsPoint_dyn(); - - virtual bool contains( Float inX,Float inY); - Dynamic contains_dyn(); - - virtual ::native::geom::Rectangle clone( ); - Dynamic clone_dyn(); - - Float y; /* REM */ - Float x; /* REM */ - Float width; /* REM */ - ::native::geom::Point topLeft; /* REM */ - Float top; /* REM */ - ::native::geom::Point size; /* REM */ - Float right; /* REM */ - Float left; /* REM */ - Float height; /* REM */ - ::native::geom::Point bottomRight; /* REM */ - Float bottom; /* REM */ -}; - -} // end namespace native -} // end namespace geom - -#endif /* INCLUDED_native_geom_Rectangle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/Transform.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/Transform.h deleted file mode 100644 index 7ea2057..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/Transform.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_native_geom_Transform -#define INCLUDED_native_geom_Transform - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,geom,ColorTransform) -HX_DECLARE_CLASS2(native,geom,Matrix) -HX_DECLARE_CLASS2(native,geom,Rectangle) -HX_DECLARE_CLASS2(native,geom,Transform) -namespace native{ -namespace geom{ - - -class Transform_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Transform_obj OBJ_; - Transform_obj(); - Void __construct(::native::display::DisplayObject inParent); - - public: - static hx::ObjectPtr< Transform_obj > __new(::native::display::DisplayObject inParent); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Transform_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Transform"); } - - virtual ::native::geom::Rectangle get_pixelBounds( ); - Dynamic get_pixelBounds_dyn(); - - virtual ::native::geom::Matrix set_matrix( ::native::geom::Matrix inMatrix); - Dynamic set_matrix_dyn(); - - virtual ::native::geom::Matrix get_matrix( ); - Dynamic get_matrix_dyn(); - - virtual ::native::geom::Matrix get_concatenatedMatrix( ); - Dynamic get_concatenatedMatrix_dyn(); - - virtual ::native::geom::ColorTransform get_concatenatedColorTransform( ); - Dynamic get_concatenatedColorTransform_dyn(); - - virtual ::native::geom::ColorTransform set_colorTransform( ::native::geom::ColorTransform inTrans); - Dynamic set_colorTransform_dyn(); - - virtual ::native::geom::ColorTransform get_colorTransform( ); - Dynamic get_colorTransform_dyn(); - - ::native::display::DisplayObject nmeObj; /* REM */ - ::native::geom::Rectangle pixelBounds; /* REM */ - ::native::geom::Matrix matrix; /* REM */ - ::native::geom::Matrix concatenatedMatrix; /* REM */ - ::native::geom::ColorTransform concatenatedColorTransform; /* REM */ - ::native::geom::ColorTransform colorTransform; /* REM */ -}; - -} // end namespace native -} // end namespace geom - -#endif /* INCLUDED_native_geom_Transform */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/Vector3D.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/Vector3D.h deleted file mode 100644 index 9450aaa..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/geom/Vector3D.h +++ /dev/null @@ -1,110 +0,0 @@ -#ifndef INCLUDED_native_geom_Vector3D -#define INCLUDED_native_geom_Vector3D - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,geom,Vector3D) -namespace native{ -namespace geom{ - - -class Vector3D_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Vector3D_obj OBJ_; - Vector3D_obj(); - Void __construct(Dynamic __o_x,Dynamic __o_y,Dynamic __o_z,Dynamic __o_w); - - public: - static hx::ObjectPtr< Vector3D_obj > __new(Dynamic __o_x,Dynamic __o_y,Dynamic __o_z,Dynamic __o_w); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Vector3D_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Vector3D"); } - - virtual Float get_lengthSquared( ); - Dynamic get_lengthSquared_dyn(); - - virtual Float get_length( ); - Dynamic get_length_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual ::native::geom::Vector3D subtract( ::native::geom::Vector3D a); - Dynamic subtract_dyn(); - - virtual Void scaleBy( Float s); - Dynamic scaleBy_dyn(); - - virtual Void project( ); - Dynamic project_dyn(); - - virtual Float normalize( ); - Dynamic normalize_dyn(); - - virtual Void negate( ); - Dynamic negate_dyn(); - - virtual bool nearEquals( ::native::geom::Vector3D toCompare,Float tolerance,Dynamic allFour); - Dynamic nearEquals_dyn(); - - virtual Void incrementBy( ::native::geom::Vector3D a); - Dynamic incrementBy_dyn(); - - virtual bool equals( ::native::geom::Vector3D toCompare,Dynamic allFour); - Dynamic equals_dyn(); - - virtual Float dotProduct( ::native::geom::Vector3D a); - Dynamic dotProduct_dyn(); - - virtual Void decrementBy( ::native::geom::Vector3D a); - Dynamic decrementBy_dyn(); - - virtual ::native::geom::Vector3D crossProduct( ::native::geom::Vector3D a); - Dynamic crossProduct_dyn(); - - virtual ::native::geom::Vector3D clone( ); - Dynamic clone_dyn(); - - virtual ::native::geom::Vector3D add( ::native::geom::Vector3D a); - Dynamic add_dyn(); - - Float z; /* REM */ - Float y; /* REM */ - Float x; /* REM */ - Float w; /* REM */ - Float lengthSquared; /* REM */ - Float length; /* REM */ - static ::native::geom::Vector3D X_AXIS; /* REM */ - static ::native::geom::Vector3D Y_AXIS; /* REM */ - static ::native::geom::Vector3D Z_AXIS; /* REM */ - static Float angleBetween( ::native::geom::Vector3D a,::native::geom::Vector3D b); - static Dynamic angleBetween_dyn(); - - static Float distance( ::native::geom::Vector3D pt1,::native::geom::Vector3D pt2); - static Dynamic distance_dyn(); - - static ::native::geom::Vector3D get_X_AXIS( ); - static Dynamic get_X_AXIS_dyn(); - - static ::native::geom::Vector3D get_Y_AXIS( ); - static Dynamic get_Y_AXIS_dyn(); - - static ::native::geom::Vector3D get_Z_AXIS( ); - static Dynamic get_Z_AXIS_dyn(); - -}; - -} // end namespace native -} // end namespace geom - -#endif /* INCLUDED_native_geom_Vector3D */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Buffer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Buffer.h deleted file mode 100644 index 4320467..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Buffer.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_native_gl_Buffer -#define INCLUDED_native_gl_Buffer - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,gl,Buffer) -HX_DECLARE_CLASS2(native,gl,Object) -namespace native{ -namespace gl{ - - -class Buffer_obj : public ::native::gl::Object_obj{ - public: - typedef ::native::gl::Object_obj super; - typedef Buffer_obj OBJ_; - Buffer_obj(); - Void __construct(int inVersion,Dynamic inId); - - public: - static hx::ObjectPtr< Buffer_obj > __new(int inVersion,Dynamic inId); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Buffer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Buffer"); } - - virtual ::String getType( ); - -}; - -} // end namespace native -} // end namespace gl - -#endif /* INCLUDED_native_gl_Buffer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Framebuffer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Framebuffer.h deleted file mode 100644 index ecf632c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Framebuffer.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_native_gl_Framebuffer -#define INCLUDED_native_gl_Framebuffer - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,gl,Framebuffer) -HX_DECLARE_CLASS2(native,gl,Object) -namespace native{ -namespace gl{ - - -class Framebuffer_obj : public ::native::gl::Object_obj{ - public: - typedef ::native::gl::Object_obj super; - typedef Framebuffer_obj OBJ_; - Framebuffer_obj(); - Void __construct(int inVersion,Dynamic inId); - - public: - static hx::ObjectPtr< Framebuffer_obj > __new(int inVersion,Dynamic inId); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Framebuffer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Framebuffer"); } - - virtual ::String getType( ); - -}; - -} // end namespace native -} // end namespace gl - -#endif /* INCLUDED_native_gl_Framebuffer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/GL.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/GL.h deleted file mode 100644 index 48f5943..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/GL.h +++ /dev/null @@ -1,1033 +0,0 @@ -#ifndef INCLUDED_native_gl_GL -#define INCLUDED_native_gl_GL - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(native,display,BitmapData) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,geom,Matrix3D) -HX_DECLARE_CLASS2(native,gl,Buffer) -HX_DECLARE_CLASS2(native,gl,Framebuffer) -HX_DECLARE_CLASS2(native,gl,GL) -HX_DECLARE_CLASS2(native,gl,Object) -HX_DECLARE_CLASS2(native,gl,Program) -HX_DECLARE_CLASS2(native,gl,Renderbuffer) -HX_DECLARE_CLASS2(native,gl,Shader) -HX_DECLARE_CLASS2(native,gl,Texture) -HX_DECLARE_CLASS2(native,utils,ArrayBufferView) -HX_DECLARE_CLASS2(native,utils,ByteArray) -HX_DECLARE_CLASS2(native,utils,Float32Array) -HX_DECLARE_CLASS2(native,utils,IDataInput) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -namespace native{ -namespace gl{ - - -class GL_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef GL_obj OBJ_; - GL_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< GL_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GL_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GL"); } - - static int DEPTH_BUFFER_BIT; /* REM */ - static int STENCIL_BUFFER_BIT; /* REM */ - static int COLOR_BUFFER_BIT; /* REM */ - static int POINTS; /* REM */ - static int LINES; /* REM */ - static int LINE_LOOP; /* REM */ - static int LINE_STRIP; /* REM */ - static int TRIANGLES; /* REM */ - static int TRIANGLE_STRIP; /* REM */ - static int TRIANGLE_FAN; /* REM */ - static int ZERO; /* REM */ - static int ONE; /* REM */ - static int SRC_COLOR; /* REM */ - static int ONE_MINUS_SRC_COLOR; /* REM */ - static int SRC_ALPHA; /* REM */ - static int ONE_MINUS_SRC_ALPHA; /* REM */ - static int DST_ALPHA; /* REM */ - static int ONE_MINUS_DST_ALPHA; /* REM */ - static int DST_COLOR; /* REM */ - static int ONE_MINUS_DST_COLOR; /* REM */ - static int SRC_ALPHA_SATURATE; /* REM */ - static int FUNC_ADD; /* REM */ - static int BLEND_EQUATION; /* REM */ - static int BLEND_EQUATION_RGB; /* REM */ - static int BLEND_EQUATION_ALPHA; /* REM */ - static int FUNC_SUBTRACT; /* REM */ - static int FUNC_REVERSE_SUBTRACT; /* REM */ - static int BLEND_DST_RGB; /* REM */ - static int BLEND_SRC_RGB; /* REM */ - static int BLEND_DST_ALPHA; /* REM */ - static int BLEND_SRC_ALPHA; /* REM */ - static int CONSTANT_COLOR; /* REM */ - static int ONE_MINUS_CONSTANT_COLOR; /* REM */ - static int CONSTANT_ALPHA; /* REM */ - static int ONE_MINUS_CONSTANT_ALPHA; /* REM */ - static int BLEND_COLOR; /* REM */ - static int ARRAY_BUFFER; /* REM */ - static int ELEMENT_ARRAY_BUFFER; /* REM */ - static int ARRAY_BUFFER_BINDING; /* REM */ - static int ELEMENT_ARRAY_BUFFER_BINDING; /* REM */ - static int STREAM_DRAW; /* REM */ - static int STATIC_DRAW; /* REM */ - static int DYNAMIC_DRAW; /* REM */ - static int BUFFER_SIZE; /* REM */ - static int BUFFER_USAGE; /* REM */ - static int CURRENT_VERTEX_ATTRIB; /* REM */ - static int FRONT; /* REM */ - static int BACK; /* REM */ - static int FRONT_AND_BACK; /* REM */ - static int CULL_FACE; /* REM */ - static int BLEND; /* REM */ - static int DITHER; /* REM */ - static int STENCIL_TEST; /* REM */ - static int DEPTH_TEST; /* REM */ - static int SCISSOR_TEST; /* REM */ - static int POLYGON_OFFSET_FILL; /* REM */ - static int SAMPLE_ALPHA_TO_COVERAGE; /* REM */ - static int SAMPLE_COVERAGE; /* REM */ - static int NO_ERROR; /* REM */ - static int INVALID_ENUM; /* REM */ - static int INVALID_VALUE; /* REM */ - static int INVALID_OPERATION; /* REM */ - static int OUT_OF_MEMORY; /* REM */ - static int CW; /* REM */ - static int CCW; /* REM */ - static int LINE_WIDTH; /* REM */ - static int ALIASED_POINT_SIZE_RANGE; /* REM */ - static int ALIASED_LINE_WIDTH_RANGE; /* REM */ - static int CULL_FACE_MODE; /* REM */ - static int FRONT_FACE; /* REM */ - static int DEPTH_RANGE; /* REM */ - static int DEPTH_WRITEMASK; /* REM */ - static int DEPTH_CLEAR_VALUE; /* REM */ - static int DEPTH_FUNC; /* REM */ - static int STENCIL_CLEAR_VALUE; /* REM */ - static int STENCIL_FUNC; /* REM */ - static int STENCIL_FAIL; /* REM */ - static int STENCIL_PASS_DEPTH_FAIL; /* REM */ - static int STENCIL_PASS_DEPTH_PASS; /* REM */ - static int STENCIL_REF; /* REM */ - static int STENCIL_VALUE_MASK; /* REM */ - static int STENCIL_WRITEMASK; /* REM */ - static int STENCIL_BACK_FUNC; /* REM */ - static int STENCIL_BACK_FAIL; /* REM */ - static int STENCIL_BACK_PASS_DEPTH_FAIL; /* REM */ - static int STENCIL_BACK_PASS_DEPTH_PASS; /* REM */ - static int STENCIL_BACK_REF; /* REM */ - static int STENCIL_BACK_VALUE_MASK; /* REM */ - static int STENCIL_BACK_WRITEMASK; /* REM */ - static int VIEWPORT; /* REM */ - static int SCISSOR_BOX; /* REM */ - static int COLOR_CLEAR_VALUE; /* REM */ - static int COLOR_WRITEMASK; /* REM */ - static int UNPACK_ALIGNMENT; /* REM */ - static int PACK_ALIGNMENT; /* REM */ - static int MAX_TEXTURE_SIZE; /* REM */ - static int MAX_VIEWPORT_DIMS; /* REM */ - static int SUBPIXEL_BITS; /* REM */ - static int RED_BITS; /* REM */ - static int GREEN_BITS; /* REM */ - static int BLUE_BITS; /* REM */ - static int ALPHA_BITS; /* REM */ - static int DEPTH_BITS; /* REM */ - static int STENCIL_BITS; /* REM */ - static int POLYGON_OFFSET_UNITS; /* REM */ - static int POLYGON_OFFSET_FACTOR; /* REM */ - static int TEXTURE_BINDING_2D; /* REM */ - static int SAMPLE_BUFFERS; /* REM */ - static int SAMPLES; /* REM */ - static int SAMPLE_COVERAGE_VALUE; /* REM */ - static int SAMPLE_COVERAGE_INVERT; /* REM */ - static int COMPRESSED_TEXTURE_FORMATS; /* REM */ - static int DONT_CARE; /* REM */ - static int FASTEST; /* REM */ - static int NICEST; /* REM */ - static int GENERATE_MIPMAP_HINT; /* REM */ - static int BYTE; /* REM */ - static int UNSIGNED_BYTE; /* REM */ - static int SHORT; /* REM */ - static int UNSIGNED_SHORT; /* REM */ - static int INT; /* REM */ - static int UNSIGNED_INT; /* REM */ - static int FLOAT; /* REM */ - static int DEPTH_COMPONENT; /* REM */ - static int ALPHA; /* REM */ - static int RGB; /* REM */ - static int RGBA; /* REM */ - static int LUMINANCE; /* REM */ - static int LUMINANCE_ALPHA; /* REM */ - static int UNSIGNED_SHORT_4_4_4_4; /* REM */ - static int UNSIGNED_SHORT_5_5_5_1; /* REM */ - static int UNSIGNED_SHORT_5_6_5; /* REM */ - static int FRAGMENT_SHADER; /* REM */ - static int VERTEX_SHADER; /* REM */ - static int MAX_VERTEX_ATTRIBS; /* REM */ - static int MAX_VERTEX_UNIFORM_VECTORS; /* REM */ - static int MAX_VARYING_VECTORS; /* REM */ - static int MAX_COMBINED_TEXTURE_IMAGE_UNITS; /* REM */ - static int MAX_VERTEX_TEXTURE_IMAGE_UNITS; /* REM */ - static int MAX_TEXTURE_IMAGE_UNITS; /* REM */ - static int MAX_FRAGMENT_UNIFORM_VECTORS; /* REM */ - static int SHADER_TYPE; /* REM */ - static int DELETE_STATUS; /* REM */ - static int LINK_STATUS; /* REM */ - static int VALIDATE_STATUS; /* REM */ - static int ATTACHED_SHADERS; /* REM */ - static int ACTIVE_UNIFORMS; /* REM */ - static int ACTIVE_ATTRIBUTES; /* REM */ - static int SHADING_LANGUAGE_VERSION; /* REM */ - static int CURRENT_PROGRAM; /* REM */ - static int NEVER; /* REM */ - static int LESS; /* REM */ - static int EQUAL; /* REM */ - static int LEQUAL; /* REM */ - static int GREATER; /* REM */ - static int NOTEQUAL; /* REM */ - static int GEQUAL; /* REM */ - static int ALWAYS; /* REM */ - static int KEEP; /* REM */ - static int REPLACE; /* REM */ - static int INCR; /* REM */ - static int DECR; /* REM */ - static int INVERT; /* REM */ - static int INCR_WRAP; /* REM */ - static int DECR_WRAP; /* REM */ - static int VENDOR; /* REM */ - static int RENDERER; /* REM */ - static int VERSION; /* REM */ - static int NEAREST; /* REM */ - static int LINEAR; /* REM */ - static int NEAREST_MIPMAP_NEAREST; /* REM */ - static int LINEAR_MIPMAP_NEAREST; /* REM */ - static int NEAREST_MIPMAP_LINEAR; /* REM */ - static int LINEAR_MIPMAP_LINEAR; /* REM */ - static int TEXTURE_MAG_FILTER; /* REM */ - static int TEXTURE_MIN_FILTER; /* REM */ - static int TEXTURE_WRAP_S; /* REM */ - static int TEXTURE_WRAP_T; /* REM */ - static int TEXTURE_2D; /* REM */ - static int TEXTURE; /* REM */ - static int TEXTURE_CUBE_MAP; /* REM */ - static int TEXTURE_BINDING_CUBE_MAP; /* REM */ - static int TEXTURE_CUBE_MAP_POSITIVE_X; /* REM */ - static int TEXTURE_CUBE_MAP_NEGATIVE_X; /* REM */ - static int TEXTURE_CUBE_MAP_POSITIVE_Y; /* REM */ - static int TEXTURE_CUBE_MAP_NEGATIVE_Y; /* REM */ - static int TEXTURE_CUBE_MAP_POSITIVE_Z; /* REM */ - static int TEXTURE_CUBE_MAP_NEGATIVE_Z; /* REM */ - static int MAX_CUBE_MAP_TEXTURE_SIZE; /* REM */ - static int TEXTURE0; /* REM */ - static int TEXTURE1; /* REM */ - static int TEXTURE2; /* REM */ - static int TEXTURE3; /* REM */ - static int TEXTURE4; /* REM */ - static int TEXTURE5; /* REM */ - static int TEXTURE6; /* REM */ - static int TEXTURE7; /* REM */ - static int TEXTURE8; /* REM */ - static int TEXTURE9; /* REM */ - static int TEXTURE10; /* REM */ - static int TEXTURE11; /* REM */ - static int TEXTURE12; /* REM */ - static int TEXTURE13; /* REM */ - static int TEXTURE14; /* REM */ - static int TEXTURE15; /* REM */ - static int TEXTURE16; /* REM */ - static int TEXTURE17; /* REM */ - static int TEXTURE18; /* REM */ - static int TEXTURE19; /* REM */ - static int TEXTURE20; /* REM */ - static int TEXTURE21; /* REM */ - static int TEXTURE22; /* REM */ - static int TEXTURE23; /* REM */ - static int TEXTURE24; /* REM */ - static int TEXTURE25; /* REM */ - static int TEXTURE26; /* REM */ - static int TEXTURE27; /* REM */ - static int TEXTURE28; /* REM */ - static int TEXTURE29; /* REM */ - static int TEXTURE30; /* REM */ - static int TEXTURE31; /* REM */ - static int ACTIVE_TEXTURE; /* REM */ - static int REPEAT; /* REM */ - static int CLAMP_TO_EDGE; /* REM */ - static int MIRRORED_REPEAT; /* REM */ - static int FLOAT_VEC2; /* REM */ - static int FLOAT_VEC3; /* REM */ - static int FLOAT_VEC4; /* REM */ - static int INT_VEC2; /* REM */ - static int INT_VEC3; /* REM */ - static int INT_VEC4; /* REM */ - static int BOOL; /* REM */ - static int BOOL_VEC2; /* REM */ - static int BOOL_VEC3; /* REM */ - static int BOOL_VEC4; /* REM */ - static int FLOAT_MAT2; /* REM */ - static int FLOAT_MAT3; /* REM */ - static int FLOAT_MAT4; /* REM */ - static int SAMPLER_2D; /* REM */ - static int SAMPLER_CUBE; /* REM */ - static int VERTEX_ATTRIB_ARRAY_ENABLED; /* REM */ - static int VERTEX_ATTRIB_ARRAY_SIZE; /* REM */ - static int VERTEX_ATTRIB_ARRAY_STRIDE; /* REM */ - static int VERTEX_ATTRIB_ARRAY_TYPE; /* REM */ - static int VERTEX_ATTRIB_ARRAY_NORMALIZED; /* REM */ - static int VERTEX_ATTRIB_ARRAY_POINTER; /* REM */ - static int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING; /* REM */ - static int COMPILE_STATUS; /* REM */ - static int LOW_FLOAT; /* REM */ - static int MEDIUM_FLOAT; /* REM */ - static int HIGH_FLOAT; /* REM */ - static int LOW_INT; /* REM */ - static int MEDIUM_INT; /* REM */ - static int HIGH_INT; /* REM */ - static int FRAMEBUFFER; /* REM */ - static int RENDERBUFFER; /* REM */ - static int RGBA4; /* REM */ - static int RGB5_A1; /* REM */ - static int RGB565; /* REM */ - static int DEPTH_COMPONENT16; /* REM */ - static int STENCIL_INDEX; /* REM */ - static int STENCIL_INDEX8; /* REM */ - static int DEPTH_STENCIL; /* REM */ - static int RENDERBUFFER_WIDTH; /* REM */ - static int RENDERBUFFER_HEIGHT; /* REM */ - static int RENDERBUFFER_INTERNAL_FORMAT; /* REM */ - static int RENDERBUFFER_RED_SIZE; /* REM */ - static int RENDERBUFFER_GREEN_SIZE; /* REM */ - static int RENDERBUFFER_BLUE_SIZE; /* REM */ - static int RENDERBUFFER_ALPHA_SIZE; /* REM */ - static int RENDERBUFFER_DEPTH_SIZE; /* REM */ - static int RENDERBUFFER_STENCIL_SIZE; /* REM */ - static int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE; /* REM */ - static int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME; /* REM */ - static int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL; /* REM */ - static int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE; /* REM */ - static int COLOR_ATTACHMENT0; /* REM */ - static int DEPTH_ATTACHMENT; /* REM */ - static int STENCIL_ATTACHMENT; /* REM */ - static int DEPTH_STENCIL_ATTACHMENT; /* REM */ - static int NONE; /* REM */ - static int FRAMEBUFFER_COMPLETE; /* REM */ - static int FRAMEBUFFER_INCOMPLETE_ATTACHMENT; /* REM */ - static int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT; /* REM */ - static int FRAMEBUFFER_INCOMPLETE_DIMENSIONS; /* REM */ - static int FRAMEBUFFER_UNSUPPORTED; /* REM */ - static int FRAMEBUFFER_BINDING; /* REM */ - static int RENDERBUFFER_BINDING; /* REM */ - static int MAX_RENDERBUFFER_SIZE; /* REM */ - static int INVALID_FRAMEBUFFER_OPERATION; /* REM */ - static int UNPACK_FLIP_Y_WEBGL; /* REM */ - static int UNPACK_PREMULTIPLY_ALPHA_WEBGL; /* REM */ - static int CONTEXT_LOST_WEBGL; /* REM */ - static int UNPACK_COLORSPACE_CONVERSION_WEBGL; /* REM */ - static int BROWSER_DEFAULT_WEBGL; /* REM */ - static int drawingBufferHeight; /* REM */ - static int drawingBufferWidth; /* REM */ - static int version; /* REM */ - static Void activeTexture( int texture); - static Dynamic activeTexture_dyn(); - - static Void attachShader( ::native::gl::Program program,::native::gl::Shader shader); - static Dynamic attachShader_dyn(); - - static Void bindAttribLocation( ::native::gl::Program program,int index,::String name); - static Dynamic bindAttribLocation_dyn(); - - static Void bindBitmapDataTexture( ::native::display::BitmapData texture); - static Dynamic bindBitmapDataTexture_dyn(); - - static Void bindBuffer( int target,::native::gl::Buffer buffer); - static Dynamic bindBuffer_dyn(); - - static Void bindFramebuffer( int target,::native::gl::Framebuffer framebuffer); - static Dynamic bindFramebuffer_dyn(); - - static Void bindRenderbuffer( int target,::native::gl::Renderbuffer renderbuffer); - static Dynamic bindRenderbuffer_dyn(); - - static Void bindTexture( int target,::native::gl::Texture texture); - static Dynamic bindTexture_dyn(); - - static Void blendColor( Float red,Float green,Float blue,Float alpha); - static Dynamic blendColor_dyn(); - - static Void blendEquation( int mode); - static Dynamic blendEquation_dyn(); - - static Void blendEquationSeparate( int modeRGB,int modeAlpha); - static Dynamic blendEquationSeparate_dyn(); - - static Void blendFunc( int sfactor,int dfactor); - static Dynamic blendFunc_dyn(); - - static Void blendFuncSeparate( int srcRGB,int dstRGB,int srcAlpha,int dstAlpha); - static Dynamic blendFuncSeparate_dyn(); - - static Void bufferData( int target,::native::utils::IMemoryRange data,int usage); - static Dynamic bufferData_dyn(); - - static Void bufferSubData( int target,int offset,::native::utils::IMemoryRange data); - static Dynamic bufferSubData_dyn(); - - static int checkFramebufferStatus( int target); - static Dynamic checkFramebufferStatus_dyn(); - - static Void clear( int mask); - static Dynamic clear_dyn(); - - static Void clearColor( Float red,Float green,Float blue,Float alpha); - static Dynamic clearColor_dyn(); - - static Void clearDepth( Float depth); - static Dynamic clearDepth_dyn(); - - static Void clearStencil( int s); - static Dynamic clearStencil_dyn(); - - static Void colorMask( bool red,bool green,bool blue,bool alpha); - static Dynamic colorMask_dyn(); - - static Void compileShader( ::native::gl::Shader shader); - static Dynamic compileShader_dyn(); - - static Void compressedTexImage2D( int target,int level,int internalformat,int width,int height,int border,::native::utils::IMemoryRange data); - static Dynamic compressedTexImage2D_dyn(); - - static Void compressedTexSubImage2D( int target,int level,int xoffset,int yoffset,int width,int height,int format,::native::utils::IMemoryRange data); - static Dynamic compressedTexSubImage2D_dyn(); - - static Void copyTexImage2D( int target,int level,int internalformat,int x,int y,int width,int height,int border); - static Dynamic copyTexImage2D_dyn(); - - static Void copyTexSubImage2D( int target,int level,int xoffset,int yoffset,int x,int y,int width,int height); - static Dynamic copyTexSubImage2D_dyn(); - - static ::native::gl::Buffer createBuffer( ); - static Dynamic createBuffer_dyn(); - - static ::native::gl::Framebuffer createFramebuffer( ); - static Dynamic createFramebuffer_dyn(); - - static ::native::gl::Program createProgram( ); - static Dynamic createProgram_dyn(); - - static ::native::gl::Renderbuffer createRenderbuffer( ); - static Dynamic createRenderbuffer_dyn(); - - static ::native::gl::Shader createShader( int type); - static Dynamic createShader_dyn(); - - static ::native::gl::Texture createTexture( ); - static Dynamic createTexture_dyn(); - - static Void cullFace( int mode); - static Dynamic cullFace_dyn(); - - static Void deleteBuffer( ::native::gl::Buffer buffer); - static Dynamic deleteBuffer_dyn(); - - static Void deleteFramebuffer( ::native::gl::Framebuffer framebuffer); - static Dynamic deleteFramebuffer_dyn(); - - static Void deleteProgram( ::native::gl::Program program); - static Dynamic deleteProgram_dyn(); - - static Void deleteRenderbuffer( ::native::gl::Renderbuffer renderbuffer); - static Dynamic deleteRenderbuffer_dyn(); - - static Void deleteShader( ::native::gl::Shader shader); - static Dynamic deleteShader_dyn(); - - static Void deleteTexture( ::native::gl::Texture texture); - static Dynamic deleteTexture_dyn(); - - static Void depthFunc( int func); - static Dynamic depthFunc_dyn(); - - static Void depthMask( bool flag); - static Dynamic depthMask_dyn(); - - static Void depthRange( Float zNear,Float zFar); - static Dynamic depthRange_dyn(); - - static Void detachShader( ::native::gl::Program program,::native::gl::Shader shader); - static Dynamic detachShader_dyn(); - - static Void disable( int cap); - static Dynamic disable_dyn(); - - static Void disableVertexAttribArray( int index); - static Dynamic disableVertexAttribArray_dyn(); - - static Void drawArrays( int mode,int first,int count); - static Dynamic drawArrays_dyn(); - - static Void drawElements( int mode,int count,int type,int offset); - static Dynamic drawElements_dyn(); - - static Void enable( int cap); - static Dynamic enable_dyn(); - - static Void enableVertexAttribArray( int index); - static Dynamic enableVertexAttribArray_dyn(); - - static Void finish( ); - static Dynamic finish_dyn(); - - static Void flush( ); - static Dynamic flush_dyn(); - - static Void framebufferRenderbuffer( int target,int attachment,int renderbuffertarget,::native::gl::Renderbuffer renderbuffer); - static Dynamic framebufferRenderbuffer_dyn(); - - static Void framebufferTexture2D( int target,int attachment,int textarget,::native::gl::Texture texture,int level); - static Dynamic framebufferTexture2D_dyn(); - - static Void frontFace( int mode); - static Dynamic frontFace_dyn(); - - static Void generateMipmap( int target); - static Dynamic generateMipmap_dyn(); - - static Dynamic getActiveAttrib( ::native::gl::Program program,int index); - static Dynamic getActiveAttrib_dyn(); - - static Dynamic getActiveUniform( ::native::gl::Program program,int index); - static Dynamic getActiveUniform_dyn(); - - static Array< ::native::gl::Shader > getAttachedShaders( ::native::gl::Program program); - static Dynamic getAttachedShaders_dyn(); - - static int getAttribLocation( ::native::gl::Program program,::String name); - static Dynamic getAttribLocation_dyn(); - - static Dynamic getBufferParameter( int target,int pname); - static Dynamic getBufferParameter_dyn(); - - static Dynamic getContextAttributes( ); - static Dynamic getContextAttributes_dyn(); - - static int getError( ); - static Dynamic getError_dyn(); - - static Dynamic getExtension( ::String name); - static Dynamic getExtension_dyn(); - - static Dynamic getFramebufferAttachmentParameter( int target,int attachment,int pname); - static Dynamic getFramebufferAttachmentParameter_dyn(); - - static Dynamic getParameter( int pname); - static Dynamic getParameter_dyn(); - - static ::String getProgramInfoLog( ::native::gl::Program program); - static Dynamic getProgramInfoLog_dyn(); - - static int getProgramParameter( ::native::gl::Program program,int pname); - static Dynamic getProgramParameter_dyn(); - - static Dynamic getRenderbufferParameter( int target,int pname); - static Dynamic getRenderbufferParameter_dyn(); - - static ::String getShaderInfoLog( ::native::gl::Shader shader); - static Dynamic getShaderInfoLog_dyn(); - - static int getShaderParameter( ::native::gl::Shader shader,int pname); - static Dynamic getShaderParameter_dyn(); - - static Dynamic getShaderPrecisionFormat( int shadertype,int precisiontype); - static Dynamic getShaderPrecisionFormat_dyn(); - - static ::String getShaderSource( ::native::gl::Shader shader); - static Dynamic getShaderSource_dyn(); - - static Array< ::String > getSupportedExtensions( ); - static Dynamic getSupportedExtensions_dyn(); - - static Dynamic getTexParameter( int target,int pname); - static Dynamic getTexParameter_dyn(); - - static Dynamic getUniform( ::native::gl::Program program,Dynamic location); - static Dynamic getUniform_dyn(); - - static Dynamic getUniformLocation( ::native::gl::Program program,::String name); - static Dynamic getUniformLocation_dyn(); - - static Dynamic getVertexAttrib( int index,int pname); - static Dynamic getVertexAttrib_dyn(); - - static int getVertexAttribOffset( int index,int pname); - static Dynamic getVertexAttribOffset_dyn(); - - static Void hint( int target,int mode); - static Dynamic hint_dyn(); - - static bool isBuffer( ::native::gl::Buffer buffer); - static Dynamic isBuffer_dyn(); - - static bool isEnabled( int cap); - static Dynamic isEnabled_dyn(); - - static bool isFramebuffer( ::native::gl::Framebuffer framebuffer); - static Dynamic isFramebuffer_dyn(); - - static bool isProgram( ::native::gl::Program program); - static Dynamic isProgram_dyn(); - - static bool isRenderbuffer( ::native::gl::Renderbuffer renderbuffer); - static Dynamic isRenderbuffer_dyn(); - - static bool isShader( ::native::gl::Shader shader); - static Dynamic isShader_dyn(); - - static bool isTexture( ::native::gl::Texture texture); - static Dynamic isTexture_dyn(); - - static Void lineWidth( Float width); - static Dynamic lineWidth_dyn(); - - static Void linkProgram( ::native::gl::Program program); - static Dynamic linkProgram_dyn(); - - static Dynamic load( ::String inName,int inArgCount); - static Dynamic load_dyn(); - - static Void pixelStorei( int pname,int param); - static Dynamic pixelStorei_dyn(); - - static Void polygonOffset( Float factor,Float units); - static Dynamic polygonOffset_dyn(); - - static Void readPixels( int x,int y,int width,int height,int format,int type,::native::utils::ByteArray pixels); - static Dynamic readPixels_dyn(); - - static Void renderbufferStorage( int target,int internalformat,int width,int height); - static Dynamic renderbufferStorage_dyn(); - - static Void sampleCoverage( Float value,bool invert); - static Dynamic sampleCoverage_dyn(); - - static Void scissor( int x,int y,int width,int height); - static Dynamic scissor_dyn(); - - static Void shaderSource( ::native::gl::Shader shader,::String source); - static Dynamic shaderSource_dyn(); - - static Void stencilFunc( int func,int ref,int mask); - static Dynamic stencilFunc_dyn(); - - static Void stencilFuncSeparate( int face,int func,int ref,int mask); - static Dynamic stencilFuncSeparate_dyn(); - - static Void stencilMask( int mask); - static Dynamic stencilMask_dyn(); - - static Void stencilMaskSeparate( int face,int mask); - static Dynamic stencilMaskSeparate_dyn(); - - static Void stencilOp( int fail,int zfail,int zpass); - static Dynamic stencilOp_dyn(); - - static Void stencilOpSeparate( int face,int fail,int zfail,int zpass); - static Dynamic stencilOpSeparate_dyn(); - - static Void texImage2D( int target,int level,int internalformat,int width,int height,int border,int format,int type,::native::utils::ArrayBufferView pixels); - static Dynamic texImage2D_dyn(); - - static Void texParameterf( int target,int pname,Float param); - static Dynamic texParameterf_dyn(); - - static Void texParameteri( int target,int pname,int param); - static Dynamic texParameteri_dyn(); - - static Void texSubImage2D( int target,int level,int xoffset,int yoffset,int width,int height,int format,int type,::native::utils::ByteArray pixels); - static Dynamic texSubImage2D_dyn(); - - static Void uniform1f( Dynamic location,Float x); - static Dynamic uniform1f_dyn(); - - static Void uniform1fv( Dynamic location,Array< Float > x); - static Dynamic uniform1fv_dyn(); - - static Void uniform1i( Dynamic location,int x); - static Dynamic uniform1i_dyn(); - - static Void uniform1iv( Dynamic location,Array< int > v); - static Dynamic uniform1iv_dyn(); - - static Void uniform2f( Dynamic location,Float x,Float y); - static Dynamic uniform2f_dyn(); - - static Void uniform2fv( Dynamic location,Array< Float > v); - static Dynamic uniform2fv_dyn(); - - static Void uniform2i( Dynamic location,int x,int y); - static Dynamic uniform2i_dyn(); - - static Void uniform2iv( Dynamic location,Array< int > v); - static Dynamic uniform2iv_dyn(); - - static Void uniform3f( Dynamic location,Float x,Float y,Float z); - static Dynamic uniform3f_dyn(); - - static Void uniform3fv( Dynamic location,Array< Float > v); - static Dynamic uniform3fv_dyn(); - - static Void uniform3i( Dynamic location,int x,int y,int z); - static Dynamic uniform3i_dyn(); - - static Void uniform3iv( Dynamic location,Array< int > v); - static Dynamic uniform3iv_dyn(); - - static Void uniform4f( Dynamic location,Float x,Float y,Float z,Float w); - static Dynamic uniform4f_dyn(); - - static Void uniform4fv( Dynamic location,Array< Float > v); - static Dynamic uniform4fv_dyn(); - - static Void uniform4i( Dynamic location,int x,int y,int z,int w); - static Dynamic uniform4i_dyn(); - - static Void uniform4iv( Dynamic location,Array< int > v); - static Dynamic uniform4iv_dyn(); - - static Void uniformMatrix2fv( Dynamic location,bool transpose,::native::utils::Float32Array v); - static Dynamic uniformMatrix2fv_dyn(); - - static Void uniformMatrix3fv( Dynamic location,bool transpose,::native::utils::Float32Array v); - static Dynamic uniformMatrix3fv_dyn(); - - static Void uniformMatrix4fv( Dynamic location,bool transpose,::native::utils::Float32Array v); - static Dynamic uniformMatrix4fv_dyn(); - - static Void uniformMatrix3D( Dynamic location,bool transpose,::native::geom::Matrix3D matrix); - static Dynamic uniformMatrix3D_dyn(); - - static Void useProgram( ::native::gl::Program program); - static Dynamic useProgram_dyn(); - - static Void validateProgram( ::native::gl::Program program); - static Dynamic validateProgram_dyn(); - - static Void vertexAttrib1f( int indx,Float x); - static Dynamic vertexAttrib1f_dyn(); - - static Void vertexAttrib1fv( int indx,Array< Float > values); - static Dynamic vertexAttrib1fv_dyn(); - - static Void vertexAttrib2f( int indx,Float x,Float y); - static Dynamic vertexAttrib2f_dyn(); - - static Void vertexAttrib2fv( int indx,Array< Float > values); - static Dynamic vertexAttrib2fv_dyn(); - - static Void vertexAttrib3f( int indx,Float x,Float y,Float z); - static Dynamic vertexAttrib3f_dyn(); - - static Void vertexAttrib3fv( int indx,Array< Float > values); - static Dynamic vertexAttrib3fv_dyn(); - - static Void vertexAttrib4f( int indx,Float x,Float y,Float z,Float w); - static Dynamic vertexAttrib4f_dyn(); - - static Void vertexAttrib4fv( int indx,Array< Float > values); - static Dynamic vertexAttrib4fv_dyn(); - - static Void vertexAttribPointer( int indx,int size,int type,bool normalized,int stride,int offset); - static Dynamic vertexAttribPointer_dyn(); - - static Void viewport( int x,int y,int width,int height); - static Dynamic viewport_dyn(); - - static int get_drawingBufferHeight( ); - static Dynamic get_drawingBufferHeight_dyn(); - - static int get_drawingBufferWidth( ); - static Dynamic get_drawingBufferWidth_dyn(); - - static int get_version( ); - static Dynamic get_version_dyn(); - - static Dynamic nme_gl_active_texture; /* REM */ - static Dynamic &nme_gl_active_texture_dyn() { return nme_gl_active_texture;} - static Dynamic nme_gl_attach_shader; /* REM */ - static Dynamic &nme_gl_attach_shader_dyn() { return nme_gl_attach_shader;} - static Dynamic nme_gl_bind_attrib_location; /* REM */ - static Dynamic &nme_gl_bind_attrib_location_dyn() { return nme_gl_bind_attrib_location;} - static Dynamic nme_gl_bind_bitmap_data_texture; /* REM */ - static Dynamic &nme_gl_bind_bitmap_data_texture_dyn() { return nme_gl_bind_bitmap_data_texture;} - static Dynamic nme_gl_bind_buffer; /* REM */ - static Dynamic &nme_gl_bind_buffer_dyn() { return nme_gl_bind_buffer;} - static Dynamic nme_gl_bind_framebuffer; /* REM */ - static Dynamic &nme_gl_bind_framebuffer_dyn() { return nme_gl_bind_framebuffer;} - static Dynamic nme_gl_bind_renderbuffer; /* REM */ - static Dynamic &nme_gl_bind_renderbuffer_dyn() { return nme_gl_bind_renderbuffer;} - static Dynamic nme_gl_bind_texture; /* REM */ - static Dynamic &nme_gl_bind_texture_dyn() { return nme_gl_bind_texture;} - static Dynamic nme_gl_blend_color; /* REM */ - static Dynamic &nme_gl_blend_color_dyn() { return nme_gl_blend_color;} - static Dynamic nme_gl_blend_equation; /* REM */ - static Dynamic &nme_gl_blend_equation_dyn() { return nme_gl_blend_equation;} - static Dynamic nme_gl_blend_equation_separate; /* REM */ - static Dynamic &nme_gl_blend_equation_separate_dyn() { return nme_gl_blend_equation_separate;} - static Dynamic nme_gl_blend_func; /* REM */ - static Dynamic &nme_gl_blend_func_dyn() { return nme_gl_blend_func;} - static Dynamic nme_gl_blend_func_separate; /* REM */ - static Dynamic &nme_gl_blend_func_separate_dyn() { return nme_gl_blend_func_separate;} - static Dynamic nme_gl_buffer_data; /* REM */ - static Dynamic &nme_gl_buffer_data_dyn() { return nme_gl_buffer_data;} - static Dynamic nme_gl_buffer_sub_data; /* REM */ - static Dynamic &nme_gl_buffer_sub_data_dyn() { return nme_gl_buffer_sub_data;} - static Dynamic nme_gl_check_framebuffer_status; /* REM */ - static Dynamic &nme_gl_check_framebuffer_status_dyn() { return nme_gl_check_framebuffer_status;} - static Dynamic nme_gl_clear; /* REM */ - static Dynamic &nme_gl_clear_dyn() { return nme_gl_clear;} - static Dynamic nme_gl_clear_color; /* REM */ - static Dynamic &nme_gl_clear_color_dyn() { return nme_gl_clear_color;} - static Dynamic nme_gl_clear_depth; /* REM */ - static Dynamic &nme_gl_clear_depth_dyn() { return nme_gl_clear_depth;} - static Dynamic nme_gl_clear_stencil; /* REM */ - static Dynamic &nme_gl_clear_stencil_dyn() { return nme_gl_clear_stencil;} - static Dynamic nme_gl_color_mask; /* REM */ - static Dynamic &nme_gl_color_mask_dyn() { return nme_gl_color_mask;} - static Dynamic nme_gl_compile_shader; /* REM */ - static Dynamic &nme_gl_compile_shader_dyn() { return nme_gl_compile_shader;} - static Dynamic nme_gl_compressed_tex_image_2d; /* REM */ - static Dynamic &nme_gl_compressed_tex_image_2d_dyn() { return nme_gl_compressed_tex_image_2d;} - static Dynamic nme_gl_compressed_tex_sub_image_2d; /* REM */ - static Dynamic &nme_gl_compressed_tex_sub_image_2d_dyn() { return nme_gl_compressed_tex_sub_image_2d;} - static Dynamic nme_gl_copy_tex_image_2d; /* REM */ - static Dynamic &nme_gl_copy_tex_image_2d_dyn() { return nme_gl_copy_tex_image_2d;} - static Dynamic nme_gl_copy_tex_sub_image_2d; /* REM */ - static Dynamic &nme_gl_copy_tex_sub_image_2d_dyn() { return nme_gl_copy_tex_sub_image_2d;} - static Dynamic nme_gl_create_buffer; /* REM */ - static Dynamic &nme_gl_create_buffer_dyn() { return nme_gl_create_buffer;} - static Dynamic nme_gl_create_framebuffer; /* REM */ - static Dynamic &nme_gl_create_framebuffer_dyn() { return nme_gl_create_framebuffer;} - static Dynamic nme_gl_create_program; /* REM */ - static Dynamic &nme_gl_create_program_dyn() { return nme_gl_create_program;} - static Dynamic nme_gl_create_render_buffer; /* REM */ - static Dynamic &nme_gl_create_render_buffer_dyn() { return nme_gl_create_render_buffer;} - static Dynamic nme_gl_create_shader; /* REM */ - static Dynamic &nme_gl_create_shader_dyn() { return nme_gl_create_shader;} - static Dynamic nme_gl_create_texture; /* REM */ - static Dynamic &nme_gl_create_texture_dyn() { return nme_gl_create_texture;} - static Dynamic nme_gl_delete_buffer; /* REM */ - static Dynamic &nme_gl_delete_buffer_dyn() { return nme_gl_delete_buffer;} - static Dynamic nme_gl_delete_program; /* REM */ - static Dynamic &nme_gl_delete_program_dyn() { return nme_gl_delete_program;} - static Dynamic nme_gl_delete_shader; /* REM */ - static Dynamic &nme_gl_delete_shader_dyn() { return nme_gl_delete_shader;} - static Dynamic nme_gl_delete_texture; /* REM */ - static Dynamic &nme_gl_delete_texture_dyn() { return nme_gl_delete_texture;} - static Dynamic nme_gl_depth_func; /* REM */ - static Dynamic &nme_gl_depth_func_dyn() { return nme_gl_depth_func;} - static Dynamic nme_gl_depth_mask; /* REM */ - static Dynamic &nme_gl_depth_mask_dyn() { return nme_gl_depth_mask;} - static Dynamic nme_gl_depth_range; /* REM */ - static Dynamic &nme_gl_depth_range_dyn() { return nme_gl_depth_range;} - static Dynamic nme_gl_detach_shader; /* REM */ - static Dynamic &nme_gl_detach_shader_dyn() { return nme_gl_detach_shader;} - static Dynamic nme_gl_disable; /* REM */ - static Dynamic &nme_gl_disable_dyn() { return nme_gl_disable;} - static Dynamic nme_gl_disable_vertex_attrib_array; /* REM */ - static Dynamic &nme_gl_disable_vertex_attrib_array_dyn() { return nme_gl_disable_vertex_attrib_array;} - static Dynamic nme_gl_draw_arrays; /* REM */ - static Dynamic &nme_gl_draw_arrays_dyn() { return nme_gl_draw_arrays;} - static Dynamic nme_gl_draw_elements; /* REM */ - static Dynamic &nme_gl_draw_elements_dyn() { return nme_gl_draw_elements;} - static Dynamic nme_gl_enable; /* REM */ - static Dynamic &nme_gl_enable_dyn() { return nme_gl_enable;} - static Dynamic nme_gl_enable_vertex_attrib_array; /* REM */ - static Dynamic &nme_gl_enable_vertex_attrib_array_dyn() { return nme_gl_enable_vertex_attrib_array;} - static Dynamic nme_gl_finish; /* REM */ - static Dynamic &nme_gl_finish_dyn() { return nme_gl_finish;} - static Dynamic nme_gl_flush; /* REM */ - static Dynamic &nme_gl_flush_dyn() { return nme_gl_flush;} - static Dynamic nme_gl_framebuffer_renderbuffer; /* REM */ - static Dynamic &nme_gl_framebuffer_renderbuffer_dyn() { return nme_gl_framebuffer_renderbuffer;} - static Dynamic nme_gl_framebuffer_texture2D; /* REM */ - static Dynamic &nme_gl_framebuffer_texture2D_dyn() { return nme_gl_framebuffer_texture2D;} - static Dynamic nme_gl_front_face; /* REM */ - static Dynamic &nme_gl_front_face_dyn() { return nme_gl_front_face;} - static Dynamic nme_gl_generate_mipmap; /* REM */ - static Dynamic &nme_gl_generate_mipmap_dyn() { return nme_gl_generate_mipmap;} - static Dynamic nme_gl_get_active_attrib; /* REM */ - static Dynamic &nme_gl_get_active_attrib_dyn() { return nme_gl_get_active_attrib;} - static Dynamic nme_gl_get_active_uniform; /* REM */ - static Dynamic &nme_gl_get_active_uniform_dyn() { return nme_gl_get_active_uniform;} - static Dynamic nme_gl_get_attrib_location; /* REM */ - static Dynamic &nme_gl_get_attrib_location_dyn() { return nme_gl_get_attrib_location;} - static Dynamic nme_gl_get_buffer_paramerter; /* REM */ - static Dynamic &nme_gl_get_buffer_paramerter_dyn() { return nme_gl_get_buffer_paramerter;} - static Dynamic nme_gl_get_context_attributes; /* REM */ - static Dynamic &nme_gl_get_context_attributes_dyn() { return nme_gl_get_context_attributes;} - static Dynamic nme_gl_get_error; /* REM */ - static Dynamic &nme_gl_get_error_dyn() { return nme_gl_get_error;} - static Dynamic nme_gl_get_framebuffer_attachment_parameter; /* REM */ - static Dynamic &nme_gl_get_framebuffer_attachment_parameter_dyn() { return nme_gl_get_framebuffer_attachment_parameter;} - static Dynamic nme_gl_get_parameter; /* REM */ - static Dynamic &nme_gl_get_parameter_dyn() { return nme_gl_get_parameter;} - static Dynamic nme_gl_get_program_info_log; /* REM */ - static Dynamic &nme_gl_get_program_info_log_dyn() { return nme_gl_get_program_info_log;} - static Dynamic nme_gl_get_program_parameter; /* REM */ - static Dynamic &nme_gl_get_program_parameter_dyn() { return nme_gl_get_program_parameter;} - static Dynamic nme_gl_get_render_buffer_parameter; /* REM */ - static Dynamic &nme_gl_get_render_buffer_parameter_dyn() { return nme_gl_get_render_buffer_parameter;} - static Dynamic nme_gl_get_shader_info_log; /* REM */ - static Dynamic &nme_gl_get_shader_info_log_dyn() { return nme_gl_get_shader_info_log;} - static Dynamic nme_gl_get_shader_parameter; /* REM */ - static Dynamic &nme_gl_get_shader_parameter_dyn() { return nme_gl_get_shader_parameter;} - static Dynamic nme_gl_get_shader_precision_format; /* REM */ - static Dynamic &nme_gl_get_shader_precision_format_dyn() { return nme_gl_get_shader_precision_format;} - static Dynamic nme_gl_get_shader_source; /* REM */ - static Dynamic &nme_gl_get_shader_source_dyn() { return nme_gl_get_shader_source;} - static Dynamic nme_gl_get_supported_extensions; /* REM */ - static Dynamic &nme_gl_get_supported_extensions_dyn() { return nme_gl_get_supported_extensions;} - static Dynamic nme_gl_get_tex_parameter; /* REM */ - static Dynamic &nme_gl_get_tex_parameter_dyn() { return nme_gl_get_tex_parameter;} - static Dynamic nme_gl_get_uniform; /* REM */ - static Dynamic &nme_gl_get_uniform_dyn() { return nme_gl_get_uniform;} - static Dynamic nme_gl_get_uniform_location; /* REM */ - static Dynamic &nme_gl_get_uniform_location_dyn() { return nme_gl_get_uniform_location;} - static Dynamic nme_gl_get_vertex_attrib; /* REM */ - static Dynamic &nme_gl_get_vertex_attrib_dyn() { return nme_gl_get_vertex_attrib;} - static Dynamic nme_gl_get_vertex_attrib_offset; /* REM */ - static Dynamic &nme_gl_get_vertex_attrib_offset_dyn() { return nme_gl_get_vertex_attrib_offset;} - static Dynamic nme_gl_hint; /* REM */ - static Dynamic &nme_gl_hint_dyn() { return nme_gl_hint;} - static Dynamic nme_gl_is_buffer; /* REM */ - static Dynamic &nme_gl_is_buffer_dyn() { return nme_gl_is_buffer;} - static Dynamic nme_gl_is_enabled; /* REM */ - static Dynamic &nme_gl_is_enabled_dyn() { return nme_gl_is_enabled;} - static Dynamic nme_gl_is_framebuffer; /* REM */ - static Dynamic &nme_gl_is_framebuffer_dyn() { return nme_gl_is_framebuffer;} - static Dynamic nme_gl_is_program; /* REM */ - static Dynamic &nme_gl_is_program_dyn() { return nme_gl_is_program;} - static Dynamic nme_gl_is_renderbuffer; /* REM */ - static Dynamic &nme_gl_is_renderbuffer_dyn() { return nme_gl_is_renderbuffer;} - static Dynamic nme_gl_is_shader; /* REM */ - static Dynamic &nme_gl_is_shader_dyn() { return nme_gl_is_shader;} - static Dynamic nme_gl_is_texture; /* REM */ - static Dynamic &nme_gl_is_texture_dyn() { return nme_gl_is_texture;} - static Dynamic nme_gl_line_width; /* REM */ - static Dynamic &nme_gl_line_width_dyn() { return nme_gl_line_width;} - static Dynamic nme_gl_link_program; /* REM */ - static Dynamic &nme_gl_link_program_dyn() { return nme_gl_link_program;} - static Dynamic nme_gl_pixel_storei; /* REM */ - static Dynamic &nme_gl_pixel_storei_dyn() { return nme_gl_pixel_storei;} - static Dynamic nme_gl_polygon_offset; /* REM */ - static Dynamic &nme_gl_polygon_offset_dyn() { return nme_gl_polygon_offset;} - static Dynamic nme_gl_renderbuffer_storage; /* REM */ - static Dynamic &nme_gl_renderbuffer_storage_dyn() { return nme_gl_renderbuffer_storage;} - static Dynamic nme_gl_sample_coverage; /* REM */ - static Dynamic &nme_gl_sample_coverage_dyn() { return nme_gl_sample_coverage;} - static Dynamic nme_gl_scissor; /* REM */ - static Dynamic &nme_gl_scissor_dyn() { return nme_gl_scissor;} - static Dynamic nme_gl_shader_source; /* REM */ - static Dynamic &nme_gl_shader_source_dyn() { return nme_gl_shader_source;} - static Dynamic nme_gl_stencil_func; /* REM */ - static Dynamic &nme_gl_stencil_func_dyn() { return nme_gl_stencil_func;} - static Dynamic nme_gl_stencil_func_separate; /* REM */ - static Dynamic &nme_gl_stencil_func_separate_dyn() { return nme_gl_stencil_func_separate;} - static Dynamic nme_gl_stencil_mask; /* REM */ - static Dynamic &nme_gl_stencil_mask_dyn() { return nme_gl_stencil_mask;} - static Dynamic nme_gl_stencil_mask_separate; /* REM */ - static Dynamic &nme_gl_stencil_mask_separate_dyn() { return nme_gl_stencil_mask_separate;} - static Dynamic nme_gl_stencil_op; /* REM */ - static Dynamic &nme_gl_stencil_op_dyn() { return nme_gl_stencil_op;} - static Dynamic nme_gl_stencil_op_separate; /* REM */ - static Dynamic &nme_gl_stencil_op_separate_dyn() { return nme_gl_stencil_op_separate;} - static Dynamic nme_gl_tex_image_2d; /* REM */ - static Dynamic &nme_gl_tex_image_2d_dyn() { return nme_gl_tex_image_2d;} - static Dynamic nme_gl_tex_parameterf; /* REM */ - static Dynamic &nme_gl_tex_parameterf_dyn() { return nme_gl_tex_parameterf;} - static Dynamic nme_gl_tex_parameteri; /* REM */ - static Dynamic &nme_gl_tex_parameteri_dyn() { return nme_gl_tex_parameteri;} - static Dynamic nme_gl_tex_sub_image_2d; /* REM */ - static Dynamic &nme_gl_tex_sub_image_2d_dyn() { return nme_gl_tex_sub_image_2d;} - static Dynamic nme_gl_uniform1f; /* REM */ - static Dynamic &nme_gl_uniform1f_dyn() { return nme_gl_uniform1f;} - static Dynamic nme_gl_uniform1fv; /* REM */ - static Dynamic &nme_gl_uniform1fv_dyn() { return nme_gl_uniform1fv;} - static Dynamic nme_gl_uniform1i; /* REM */ - static Dynamic &nme_gl_uniform1i_dyn() { return nme_gl_uniform1i;} - static Dynamic nme_gl_uniform1iv; /* REM */ - static Dynamic &nme_gl_uniform1iv_dyn() { return nme_gl_uniform1iv;} - static Dynamic nme_gl_uniform2f; /* REM */ - static Dynamic &nme_gl_uniform2f_dyn() { return nme_gl_uniform2f;} - static Dynamic nme_gl_uniform2fv; /* REM */ - static Dynamic &nme_gl_uniform2fv_dyn() { return nme_gl_uniform2fv;} - static Dynamic nme_gl_uniform2i; /* REM */ - static Dynamic &nme_gl_uniform2i_dyn() { return nme_gl_uniform2i;} - static Dynamic nme_gl_uniform2iv; /* REM */ - static Dynamic &nme_gl_uniform2iv_dyn() { return nme_gl_uniform2iv;} - static Dynamic nme_gl_uniform3f; /* REM */ - static Dynamic &nme_gl_uniform3f_dyn() { return nme_gl_uniform3f;} - static Dynamic nme_gl_uniform3fv; /* REM */ - static Dynamic &nme_gl_uniform3fv_dyn() { return nme_gl_uniform3fv;} - static Dynamic nme_gl_uniform3i; /* REM */ - static Dynamic &nme_gl_uniform3i_dyn() { return nme_gl_uniform3i;} - static Dynamic nme_gl_uniform3iv; /* REM */ - static Dynamic &nme_gl_uniform3iv_dyn() { return nme_gl_uniform3iv;} - static Dynamic nme_gl_uniform4f; /* REM */ - static Dynamic &nme_gl_uniform4f_dyn() { return nme_gl_uniform4f;} - static Dynamic nme_gl_uniform4fv; /* REM */ - static Dynamic &nme_gl_uniform4fv_dyn() { return nme_gl_uniform4fv;} - static Dynamic nme_gl_uniform4i; /* REM */ - static Dynamic &nme_gl_uniform4i_dyn() { return nme_gl_uniform4i;} - static Dynamic nme_gl_uniform4iv; /* REM */ - static Dynamic &nme_gl_uniform4iv_dyn() { return nme_gl_uniform4iv;} - static Dynamic nme_gl_uniform_matrix; /* REM */ - static Dynamic &nme_gl_uniform_matrix_dyn() { return nme_gl_uniform_matrix;} - static Dynamic nme_gl_use_program; /* REM */ - static Dynamic &nme_gl_use_program_dyn() { return nme_gl_use_program;} - static Dynamic nme_gl_validate_program; /* REM */ - static Dynamic &nme_gl_validate_program_dyn() { return nme_gl_validate_program;} - static Dynamic nme_gl_version; /* REM */ - static Dynamic &nme_gl_version_dyn() { return nme_gl_version;} - static Dynamic nme_gl_vertex_attrib1f; /* REM */ - static Dynamic &nme_gl_vertex_attrib1f_dyn() { return nme_gl_vertex_attrib1f;} - static Dynamic nme_gl_vertex_attrib1fv; /* REM */ - static Dynamic &nme_gl_vertex_attrib1fv_dyn() { return nme_gl_vertex_attrib1fv;} - static Dynamic nme_gl_vertex_attrib2f; /* REM */ - static Dynamic &nme_gl_vertex_attrib2f_dyn() { return nme_gl_vertex_attrib2f;} - static Dynamic nme_gl_vertex_attrib2fv; /* REM */ - static Dynamic &nme_gl_vertex_attrib2fv_dyn() { return nme_gl_vertex_attrib2fv;} - static Dynamic nme_gl_vertex_attrib3f; /* REM */ - static Dynamic &nme_gl_vertex_attrib3f_dyn() { return nme_gl_vertex_attrib3f;} - static Dynamic nme_gl_vertex_attrib3fv; /* REM */ - static Dynamic &nme_gl_vertex_attrib3fv_dyn() { return nme_gl_vertex_attrib3fv;} - static Dynamic nme_gl_vertex_attrib4f; /* REM */ - static Dynamic &nme_gl_vertex_attrib4f_dyn() { return nme_gl_vertex_attrib4f;} - static Dynamic nme_gl_vertex_attrib4fv; /* REM */ - static Dynamic &nme_gl_vertex_attrib4fv_dyn() { return nme_gl_vertex_attrib4fv;} - static Dynamic nme_gl_vertex_attrib_pointer; /* REM */ - static Dynamic &nme_gl_vertex_attrib_pointer_dyn() { return nme_gl_vertex_attrib_pointer;} - static Dynamic nme_gl_viewport; /* REM */ - static Dynamic &nme_gl_viewport_dyn() { return nme_gl_viewport;} -}; - -} // end namespace native -} // end namespace gl - -#endif /* INCLUDED_native_gl_GL */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Object.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Object.h deleted file mode 100644 index 4367558..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Object.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef INCLUDED_native_gl_Object -#define INCLUDED_native_gl_Object - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,gl,Object) -namespace native{ -namespace gl{ - - -class Object_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Object_obj OBJ_; - Object_obj(); - Void __construct(int inVersion,Dynamic inId); - - public: - static hx::ObjectPtr< Object_obj > __new(int inVersion,Dynamic inId); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Object_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Object"); } - - virtual bool get_valid( ); - Dynamic get_valid_dyn(); - - virtual bool get_invalidated( ); - Dynamic get_invalidated_dyn(); - - virtual bool isInvalid( ); - Dynamic isInvalid_dyn(); - - virtual bool isValid( ); - Dynamic isValid_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void invalidate( ); - Dynamic invalidate_dyn(); - - virtual ::String getType( ); - Dynamic getType_dyn(); - - int version; /* REM */ - bool valid; /* REM */ - bool invalidated; /* REM */ - Dynamic id; /* REM */ -}; - -} // end namespace native -} // end namespace gl - -#endif /* INCLUDED_native_gl_Object */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Program.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Program.h deleted file mode 100644 index 4b5c342..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Program.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_native_gl_Program -#define INCLUDED_native_gl_Program - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,gl,Object) -HX_DECLARE_CLASS2(native,gl,Program) -HX_DECLARE_CLASS2(native,gl,Shader) -namespace native{ -namespace gl{ - - -class Program_obj : public ::native::gl::Object_obj{ - public: - typedef ::native::gl::Object_obj super; - typedef Program_obj OBJ_; - Program_obj(); - Void __construct(int inVersion,Dynamic inId); - - public: - static hx::ObjectPtr< Program_obj > __new(int inVersion,Dynamic inId); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Program_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Program"); } - - virtual Array< ::native::gl::Shader > getShaders( ); - Dynamic getShaders_dyn(); - - virtual ::String getType( ); - - virtual Void attach( ::native::gl::Shader s); - Dynamic attach_dyn(); - - Array< ::native::gl::Shader > shaders; /* REM */ -}; - -} // end namespace native -} // end namespace gl - -#endif /* INCLUDED_native_gl_Program */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Renderbuffer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Renderbuffer.h deleted file mode 100644 index a648ac2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Renderbuffer.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_native_gl_Renderbuffer -#define INCLUDED_native_gl_Renderbuffer - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,gl,Object) -HX_DECLARE_CLASS2(native,gl,Renderbuffer) -namespace native{ -namespace gl{ - - -class Renderbuffer_obj : public ::native::gl::Object_obj{ - public: - typedef ::native::gl::Object_obj super; - typedef Renderbuffer_obj OBJ_; - Renderbuffer_obj(); - Void __construct(int inVersion,Dynamic inId); - - public: - static hx::ObjectPtr< Renderbuffer_obj > __new(int inVersion,Dynamic inId); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Renderbuffer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Renderbuffer"); } - - virtual ::String getType( ); - -}; - -} // end namespace native -} // end namespace gl - -#endif /* INCLUDED_native_gl_Renderbuffer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Shader.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Shader.h deleted file mode 100644 index c8e4801..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Shader.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_native_gl_Shader -#define INCLUDED_native_gl_Shader - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,gl,Object) -HX_DECLARE_CLASS2(native,gl,Shader) -namespace native{ -namespace gl{ - - -class Shader_obj : public ::native::gl::Object_obj{ - public: - typedef ::native::gl::Object_obj super; - typedef Shader_obj OBJ_; - Shader_obj(); - Void __construct(int inVersion,Dynamic inId); - - public: - static hx::ObjectPtr< Shader_obj > __new(int inVersion,Dynamic inId); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Shader_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Shader"); } - - virtual ::String getType( ); - -}; - -} // end namespace native -} // end namespace gl - -#endif /* INCLUDED_native_gl_Shader */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Texture.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Texture.h deleted file mode 100644 index 4500bfc..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/gl/Texture.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_native_gl_Texture -#define INCLUDED_native_gl_Texture - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,gl,Object) -HX_DECLARE_CLASS2(native,gl,Texture) -namespace native{ -namespace gl{ - - -class Texture_obj : public ::native::gl::Object_obj{ - public: - typedef ::native::gl::Object_obj super; - typedef Texture_obj OBJ_; - Texture_obj(); - Void __construct(int inVersion,Dynamic inId); - - public: - static hx::ObjectPtr< Texture_obj > __new(int inVersion,Dynamic inId); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Texture_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Texture"); } - - virtual ::String getType( ); - -}; - -} // end namespace native -} // end namespace gl - -#endif /* INCLUDED_native_gl_Texture */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/media/ID3Info.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/media/ID3Info.h deleted file mode 100644 index c3ff88d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/media/ID3Info.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef INCLUDED_native_media_ID3Info -#define INCLUDED_native_media_ID3Info - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,media,ID3Info) -namespace native{ -namespace media{ - - -class ID3Info_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef ID3Info_obj OBJ_; - ID3Info_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ID3Info_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ID3Info_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ID3Info"); } - - ::String year; /* REM */ - ::String track; /* REM */ - ::String songName; /* REM */ - ::String genre; /* REM */ - ::String comment; /* REM */ - ::String artist; /* REM */ - ::String album; /* REM */ -}; - -} // end namespace native -} // end namespace media - -#endif /* INCLUDED_native_media_ID3Info */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/media/Sound.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/media/Sound.h deleted file mode 100644 index f3edc72..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/media/Sound.h +++ /dev/null @@ -1,105 +0,0 @@ -#ifndef INCLUDED_native_media_Sound -#define INCLUDED_native_media_Sound - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,media,ID3Info) -HX_DECLARE_CLASS2(native,media,Sound) -HX_DECLARE_CLASS2(native,media,SoundChannel) -HX_DECLARE_CLASS2(native,media,SoundLoaderContext) -HX_DECLARE_CLASS2(native,media,SoundTransform) -HX_DECLARE_CLASS2(native,net,URLRequest) -HX_DECLARE_CLASS2(native,utils,ByteArray) -HX_DECLARE_CLASS2(native,utils,IDataInput) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -namespace native{ -namespace media{ - - -class Sound_obj : public ::native::events::EventDispatcher_obj{ - public: - typedef ::native::events::EventDispatcher_obj super; - typedef Sound_obj OBJ_; - Sound_obj(); - Void __construct(::native::net::URLRequest stream,::native::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic); - - public: - static hx::ObjectPtr< Sound_obj > __new(::native::net::URLRequest stream,::native::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Sound_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Sound"); } - - virtual Float get_length( ); - Dynamic get_length_dyn(); - - virtual bool get_isBuffering( ); - Dynamic get_isBuffering_dyn(); - - virtual ::native::media::ID3Info get_id3( ); - Dynamic get_id3_dyn(); - - virtual ::native::media::SoundChannel play( hx::Null< Float > startTime,hx::Null< int > loops,::native::media::SoundTransform sndTransform); - Dynamic play_dyn(); - - virtual Void nmeOnError( ::String msg); - Dynamic nmeOnError_dyn(); - - virtual Void nmeCheckLoading( ); - Dynamic nmeCheckLoading_dyn(); - - virtual Void loadPCMFromByteArray( ::native::utils::ByteArray Bytes,int samples,::String format,hx::Null< bool > stereo,hx::Null< Float > sampleRate); - Dynamic loadPCMFromByteArray_dyn(); - - virtual Void loadCompressedDataFromByteArray( ::native::utils::ByteArray bytes,int length,hx::Null< bool > forcePlayAsMusic); - Dynamic loadCompressedDataFromByteArray_dyn(); - - virtual Void load( ::native::net::URLRequest stream,::native::media::SoundLoaderContext context,hx::Null< bool > forcePlayAsMusic); - Dynamic load_dyn(); - - virtual Void close( ); - Dynamic close_dyn(); - - virtual Void addEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference); - - bool nmeDynamicSound; /* REM */ - bool nmeLoading; /* REM */ - Dynamic nmeHandle; /* REM */ - ::String url; /* REM */ - Float length; /* REM */ - bool isBuffering; /* REM */ - ::native::media::ID3Info id3; /* REM */ - int bytesTotal; /* REM */ - int bytesLoaded; /* REM */ - static Dynamic nme_sound_from_file; /* REM */ - static Dynamic &nme_sound_from_file_dyn() { return nme_sound_from_file;} - static Dynamic nme_sound_from_data; /* REM */ - static Dynamic &nme_sound_from_data_dyn() { return nme_sound_from_data;} - static Dynamic nme_sound_get_id3; /* REM */ - static Dynamic &nme_sound_get_id3_dyn() { return nme_sound_get_id3;} - static Dynamic nme_sound_get_length; /* REM */ - static Dynamic &nme_sound_get_length_dyn() { return nme_sound_get_length;} - static Dynamic nme_sound_close; /* REM */ - static Dynamic &nme_sound_close_dyn() { return nme_sound_close;} - static Dynamic nme_sound_get_status; /* REM */ - static Dynamic &nme_sound_get_status_dyn() { return nme_sound_get_status;} - static Dynamic nme_sound_channel_create_dynamic; /* REM */ - static Dynamic &nme_sound_channel_create_dynamic_dyn() { return nme_sound_channel_create_dynamic;} -}; - -} // end namespace native -} // end namespace media - -#endif /* INCLUDED_native_media_Sound */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/media/SoundChannel.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/media/SoundChannel.h deleted file mode 100644 index af02837..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/media/SoundChannel.h +++ /dev/null @@ -1,105 +0,0 @@ -#ifndef INCLUDED_native_media_SoundChannel -#define INCLUDED_native_media_SoundChannel - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,media,SoundChannel) -HX_DECLARE_CLASS2(native,media,SoundTransform) -HX_DECLARE_CLASS2(native,utils,ByteArray) -HX_DECLARE_CLASS2(native,utils,IDataInput) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -namespace native{ -namespace media{ - - -class SoundChannel_obj : public ::native::events::EventDispatcher_obj{ - public: - typedef ::native::events::EventDispatcher_obj super; - typedef SoundChannel_obj OBJ_; - SoundChannel_obj(); - Void __construct(Dynamic inSoundHandle,Float startTime,int loops,::native::media::SoundTransform sndTransform); - - public: - static hx::ObjectPtr< SoundChannel_obj > __new(Dynamic inSoundHandle,Float startTime,int loops,::native::media::SoundTransform sndTransform); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SoundChannel_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SoundChannel"); } - - virtual ::native::media::SoundTransform set_soundTransform( ::native::media::SoundTransform inTransform); - Dynamic set_soundTransform_dyn(); - - virtual ::native::media::SoundTransform get_soundTransform( ); - Dynamic get_soundTransform_dyn(); - - virtual Float get_position( ); - Dynamic get_position_dyn(); - - virtual Float get_rightPeak( ); - Dynamic get_rightPeak_dyn(); - - virtual Float get_leftPeak( ); - Dynamic get_leftPeak_dyn(); - - virtual Void stop( ); - Dynamic stop_dyn(); - - virtual bool nmeCheckComplete( ); - Dynamic nmeCheckComplete_dyn(); - - ::native::events::EventDispatcher nmeDataProvider; /* REM */ - ::native::media::SoundTransform nmeTransform; /* REM */ - Dynamic nmeHandle; /* REM */ - ::native::media::SoundTransform soundTransform; /* REM */ - Float position; /* REM */ - Float rightPeak; /* REM */ - Float leftPeak; /* REM */ - static int nmeDynamicSoundCount; /* REM */ - static Array< ::native::media::SoundChannel > nmeIncompleteList; /* REM */ - static ::native::media::SoundChannel createDynamic( Dynamic inSoundHandle,::native::media::SoundTransform sndTransform,::native::events::EventDispatcher dataProvider); - static Dynamic createDynamic_dyn(); - - static bool nmeCompletePending( ); - static Dynamic nmeCompletePending_dyn(); - - static Void nmePollComplete( ); - static Dynamic nmePollComplete_dyn(); - - static Dynamic nme_sound_channel_is_complete; /* REM */ - static Dynamic &nme_sound_channel_is_complete_dyn() { return nme_sound_channel_is_complete;} - static Dynamic nme_sound_channel_get_left; /* REM */ - static Dynamic &nme_sound_channel_get_left_dyn() { return nme_sound_channel_get_left;} - static Dynamic nme_sound_channel_get_right; /* REM */ - static Dynamic &nme_sound_channel_get_right_dyn() { return nme_sound_channel_get_right;} - static Dynamic nme_sound_channel_get_position; /* REM */ - static Dynamic &nme_sound_channel_get_position_dyn() { return nme_sound_channel_get_position;} - static Dynamic nme_sound_channel_get_data_position; /* REM */ - static Dynamic &nme_sound_channel_get_data_position_dyn() { return nme_sound_channel_get_data_position;} - static Dynamic nme_sound_channel_stop; /* REM */ - static Dynamic &nme_sound_channel_stop_dyn() { return nme_sound_channel_stop;} - static Dynamic nme_sound_channel_create; /* REM */ - static Dynamic &nme_sound_channel_create_dyn() { return nme_sound_channel_create;} - static Dynamic nme_sound_channel_set_transform; /* REM */ - static Dynamic &nme_sound_channel_set_transform_dyn() { return nme_sound_channel_set_transform;} - static Dynamic nme_sound_channel_needs_data; /* REM */ - static Dynamic &nme_sound_channel_needs_data_dyn() { return nme_sound_channel_needs_data;} - static Dynamic nme_sound_channel_add_data; /* REM */ - static Dynamic &nme_sound_channel_add_data_dyn() { return nme_sound_channel_add_data;} -}; - -} // end namespace native -} // end namespace media - -#endif /* INCLUDED_native_media_SoundChannel */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/media/SoundLoaderContext.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/media/SoundLoaderContext.h deleted file mode 100644 index cbf56e3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/media/SoundLoaderContext.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef INCLUDED_native_media_SoundLoaderContext -#define INCLUDED_native_media_SoundLoaderContext - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,media,SoundLoaderContext) -namespace native{ -namespace media{ - - -class SoundLoaderContext_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef SoundLoaderContext_obj OBJ_; - SoundLoaderContext_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< SoundLoaderContext_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SoundLoaderContext_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SoundLoaderContext"); } - -}; - -} // end namespace native -} // end namespace media - -#endif /* INCLUDED_native_media_SoundLoaderContext */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/media/SoundTransform.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/media/SoundTransform.h deleted file mode 100644 index 72c661f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/media/SoundTransform.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef INCLUDED_native_media_SoundTransform -#define INCLUDED_native_media_SoundTransform - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,media,SoundTransform) -namespace native{ -namespace media{ - - -class SoundTransform_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef SoundTransform_obj OBJ_; - SoundTransform_obj(); - Void __construct(hx::Null< Float > __o_vol,hx::Null< Float > __o_panning); - - public: - static hx::ObjectPtr< SoundTransform_obj > __new(hx::Null< Float > __o_vol,hx::Null< Float > __o_panning); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SoundTransform_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SoundTransform"); } - - virtual ::native::media::SoundTransform clone( ); - Dynamic clone_dyn(); - - Float volume; /* REM */ - Float pan; /* REM */ -}; - -} // end namespace native -} // end namespace media - -#endif /* INCLUDED_native_media_SoundTransform */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/net/URLLoader.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/net/URLLoader.h deleted file mode 100644 index ec4bd69..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/net/URLLoader.h +++ /dev/null @@ -1,111 +0,0 @@ -#ifndef INCLUDED_native_net_URLLoader -#define INCLUDED_native_net_URLLoader - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(List) -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,net,URLLoader) -HX_DECLARE_CLASS2(native,net,URLLoaderDataFormat) -HX_DECLARE_CLASS2(native,net,URLRequest) -HX_DECLARE_CLASS2(native,utils,ByteArray) -HX_DECLARE_CLASS2(native,utils,IDataInput) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -namespace native{ -namespace net{ - - -class URLLoader_obj : public ::native::events::EventDispatcher_obj{ - public: - typedef ::native::events::EventDispatcher_obj super; - typedef URLLoader_obj OBJ_; - URLLoader_obj(); - Void __construct(::native::net::URLRequest request); - - public: - static hx::ObjectPtr< URLLoader_obj > __new(::native::net::URLRequest request); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLLoader_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLLoader"); } - - virtual Void update( ); - Dynamic update_dyn(); - - virtual Void dispatchHTTPStatus( int code); - Dynamic dispatchHTTPStatus_dyn(); - - virtual Void onError( ::String msg); - Dynamic onError_dyn(); - - virtual Void nmeDataComplete( ); - Dynamic nmeDataComplete_dyn(); - - virtual Void load( ::native::net::URLRequest request); - Dynamic load_dyn(); - - virtual Array< ::String > getCookies( ); - Dynamic getCookies_dyn(); - - virtual Void close( ); - Dynamic close_dyn(); - - Dynamic nmeOnComplete; /* REM */ - Dynamic &nmeOnComplete_dyn() { return nmeOnComplete;} - int state; /* REM */ - Dynamic nmeHandle; /* REM */ - ::native::net::URLLoaderDataFormat dataFormat; /* REM */ - Dynamic data; /* REM */ - int bytesTotal; /* REM */ - int bytesLoaded; /* REM */ - static ::List activeLoaders; /* REM */ - static int urlInvalid; /* REM */ - static int urlInit; /* REM */ - static int urlLoading; /* REM */ - static int urlComplete; /* REM */ - static int urlError; /* REM */ - static bool hasActive( ); - static Dynamic hasActive_dyn(); - - static Void initialize( ::String inCACertFilePath); - static Dynamic initialize_dyn(); - - static bool nmeLoadPending( ); - static Dynamic nmeLoadPending_dyn(); - - static Void nmePollData( ); - static Dynamic nmePollData_dyn(); - - static Dynamic nme_curl_create; /* REM */ - static Dynamic &nme_curl_create_dyn() { return nme_curl_create;} - static Dynamic nme_curl_process_loaders; /* REM */ - static Dynamic &nme_curl_process_loaders_dyn() { return nme_curl_process_loaders;} - static Dynamic nme_curl_update_loader; /* REM */ - static Dynamic &nme_curl_update_loader_dyn() { return nme_curl_update_loader;} - static Dynamic nme_curl_get_code; /* REM */ - static Dynamic &nme_curl_get_code_dyn() { return nme_curl_get_code;} - static Dynamic nme_curl_get_error_message; /* REM */ - static Dynamic &nme_curl_get_error_message_dyn() { return nme_curl_get_error_message;} - static Dynamic nme_curl_get_data; /* REM */ - static Dynamic &nme_curl_get_data_dyn() { return nme_curl_get_data;} - static Dynamic nme_curl_get_cookies; /* REM */ - static Dynamic &nme_curl_get_cookies_dyn() { return nme_curl_get_cookies;} - static Dynamic nme_curl_initialize; /* REM */ - static Dynamic &nme_curl_initialize_dyn() { return nme_curl_initialize;} -}; - -} // end namespace native -} // end namespace net - -#endif /* INCLUDED_native_net_URLLoader */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/net/URLLoaderDataFormat.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/net/URLLoaderDataFormat.h deleted file mode 100644 index 4af8e3c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/net/URLLoaderDataFormat.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_native_net_URLLoaderDataFormat -#define INCLUDED_native_net_URLLoaderDataFormat - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,net,URLLoaderDataFormat) -namespace native{ -namespace net{ - - -class URLLoaderDataFormat_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef URLLoaderDataFormat_obj OBJ_; - - public: - URLLoaderDataFormat_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.net.URLLoaderDataFormat"); } - ::String __ToString() const { return HX_CSTRING("URLLoaderDataFormat.") + tag; } - - static ::native::net::URLLoaderDataFormat BINARY; - static inline ::native::net::URLLoaderDataFormat BINARY_dyn() { return BINARY; } - static ::native::net::URLLoaderDataFormat TEXT; - static inline ::native::net::URLLoaderDataFormat TEXT_dyn() { return TEXT; } - static ::native::net::URLLoaderDataFormat VARIABLES; - static inline ::native::net::URLLoaderDataFormat VARIABLES_dyn() { return VARIABLES; } -}; - -} // end namespace native -} // end namespace net - -#endif /* INCLUDED_native_net_URLLoaderDataFormat */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/net/URLRequest.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/net/URLRequest.h deleted file mode 100644 index 9cbb16c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/net/URLRequest.h +++ /dev/null @@ -1,68 +0,0 @@ -#ifndef INCLUDED_native_net_URLRequest -#define INCLUDED_native_net_URLRequest - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(native,net,URLRequest) -HX_DECLARE_CLASS2(native,net,URLRequestHeader) -HX_DECLARE_CLASS2(native,utils,ByteArray) -HX_DECLARE_CLASS2(native,utils,IDataInput) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -namespace native{ -namespace net{ - - -class URLRequest_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef URLRequest_obj OBJ_; - URLRequest_obj(); - Void __construct(::String inURL); - - public: - static hx::ObjectPtr< URLRequest_obj > __new(::String inURL); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLRequest_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLRequest"); } - - virtual Void nmePrepare( ); - Dynamic nmePrepare_dyn(); - - virtual Void digestAuth( ::String inUser,::String inPasswd); - Dynamic digestAuth_dyn(); - - virtual Void basicAuth( ::String inUser,::String inPasswd); - Dynamic basicAuth_dyn(); - - ::native::utils::ByteArray nmeBytes; /* REM */ - ::String credentials; /* REM */ - Dynamic data; /* REM */ - ::String contentType; /* REM */ - ::String method; /* REM */ - bool verbose; /* REM */ - ::String cookieString; /* REM */ - int authType; /* REM */ - Array< ::native::net::URLRequestHeader > requestHeaders; /* REM */ - ::String url; /* REM */ - static int AUTH_BASIC; /* REM */ - static int AUTH_DIGEST; /* REM */ - static int AUTH_GSSNEGOTIATE; /* REM */ - static int AUTH_NTLM; /* REM */ - static int AUTH_DIGEST_IE; /* REM */ - static int AUTH_DIGEST_ANY; /* REM */ -}; - -} // end namespace native -} // end namespace net - -#endif /* INCLUDED_native_net_URLRequest */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/net/URLRequestHeader.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/net/URLRequestHeader.h deleted file mode 100644 index 66de083..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/net/URLRequestHeader.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_native_net_URLRequestHeader -#define INCLUDED_native_net_URLRequestHeader - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,net,URLRequestHeader) -namespace native{ -namespace net{ - - -class URLRequestHeader_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef URLRequestHeader_obj OBJ_; - URLRequestHeader_obj(); - Void __construct(::String name,::String value); - - public: - static hx::ObjectPtr< URLRequestHeader_obj > __new(::String name,::String value); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLRequestHeader_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLRequestHeader"); } - - ::String value; /* REM */ - ::String name; /* REM */ -}; - -} // end namespace native -} // end namespace net - -#endif /* INCLUDED_native_net_URLRequestHeader */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/net/URLRequestMethod.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/net/URLRequestMethod.h deleted file mode 100644 index b70780b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/net/URLRequestMethod.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef INCLUDED_native_net_URLRequestMethod -#define INCLUDED_native_net_URLRequestMethod - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,net,URLRequestMethod) -namespace native{ -namespace net{ - - -class URLRequestMethod_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef URLRequestMethod_obj OBJ_; - URLRequestMethod_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< URLRequestMethod_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLRequestMethod_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLRequestMethod"); } - - static ::String DELETE; /* REM */ - static ::String GET; /* REM */ - static ::String HEAD; /* REM */ - static ::String OPTIONS; /* REM */ - static ::String POST; /* REM */ - static ::String PUT; /* REM */ -}; - -} // end namespace native -} // end namespace net - -#endif /* INCLUDED_native_net_URLRequestMethod */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/net/URLVariables.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/net/URLVariables.h deleted file mode 100644 index fcb2a66..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/net/URLVariables.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef INCLUDED_native_net_URLVariables -#define INCLUDED_native_net_URLVariables - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,net,URLVariables) -namespace native{ -namespace net{ - - -class URLVariables_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef URLVariables_obj OBJ_; - URLVariables_obj(); - Void __construct(::String inEncoded); - - public: - static hx::ObjectPtr< URLVariables_obj > __new(::String inEncoded); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLVariables_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLVariables"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void decode( ::String inVars); - Dynamic decode_dyn(); - -}; - -} // end namespace native -} // end namespace net - -#endif /* INCLUDED_native_net_URLVariables */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/text/Font.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/text/Font.h deleted file mode 100644 index 6b25178..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/text/Font.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_native_text_Font -#define INCLUDED_native_text_Font - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,text,Font) -HX_DECLARE_CLASS2(native,text,FontStyle) -HX_DECLARE_CLASS2(native,text,FontType) -namespace native{ -namespace text{ - - -class Font_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Font_obj OBJ_; - Font_obj(); - Void __construct(::String inFilename); - - public: - static hx::ObjectPtr< Font_obj > __new(::String inFilename); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Font_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Font"); } - - ::native::text::FontType fontType; /* REM */ - ::native::text::FontStyle fontStyle; /* REM */ - ::String fontName; /* REM */ - static Dynamic load( ::String inFilename); - static Dynamic load_dyn(); - -}; - -} // end namespace native -} // end namespace text - -#endif /* INCLUDED_native_text_Font */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/text/FontStyle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/text/FontStyle.h deleted file mode 100644 index f524b47..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/text/FontStyle.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_native_text_FontStyle -#define INCLUDED_native_text_FontStyle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,text,FontStyle) -namespace native{ -namespace text{ - - -class FontStyle_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef FontStyle_obj OBJ_; - - public: - FontStyle_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.text.FontStyle"); } - ::String __ToString() const { return HX_CSTRING("FontStyle.") + tag; } - - static ::native::text::FontStyle BOLD; - static inline ::native::text::FontStyle BOLD_dyn() { return BOLD; } - static ::native::text::FontStyle BOLD_ITALIC; - static inline ::native::text::FontStyle BOLD_ITALIC_dyn() { return BOLD_ITALIC; } - static ::native::text::FontStyle ITALIC; - static inline ::native::text::FontStyle ITALIC_dyn() { return ITALIC; } - static ::native::text::FontStyle REGULAR; - static inline ::native::text::FontStyle REGULAR_dyn() { return REGULAR; } -}; - -} // end namespace native -} // end namespace text - -#endif /* INCLUDED_native_text_FontStyle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/text/FontType.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/text/FontType.h deleted file mode 100644 index cc17c76..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/text/FontType.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_native_text_FontType -#define INCLUDED_native_text_FontType - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,text,FontType) -namespace native{ -namespace text{ - - -class FontType_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef FontType_obj OBJ_; - - public: - FontType_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.text.FontType"); } - ::String __ToString() const { return HX_CSTRING("FontType.") + tag; } - - static ::native::text::FontType DEVICE; - static inline ::native::text::FontType DEVICE_dyn() { return DEVICE; } - static ::native::text::FontType EMBEDDED; - static inline ::native::text::FontType EMBEDDED_dyn() { return EMBEDDED; } - static ::native::text::FontType EMBEDDED_CFF; - static inline ::native::text::FontType EMBEDDED_CFF_dyn() { return EMBEDDED_CFF; } -}; - -} // end namespace native -} // end namespace text - -#endif /* INCLUDED_native_text_FontType */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/ArrayBufferView.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/ArrayBufferView.h deleted file mode 100644 index 87766b5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/ArrayBufferView.h +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef INCLUDED_native_utils_ArrayBufferView -#define INCLUDED_native_utils_ArrayBufferView - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(native,utils,ArrayBufferView) -HX_DECLARE_CLASS2(native,utils,ByteArray) -HX_DECLARE_CLASS2(native,utils,IDataInput) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -namespace native{ -namespace utils{ - - -class ArrayBufferView_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef ArrayBufferView_obj OBJ_; - ArrayBufferView_obj(); - Void __construct(Dynamic inLengthOrBuffer,hx::Null< int > __o_inByteOffset,Dynamic inLength); - - public: - static hx::ObjectPtr< ArrayBufferView_obj > __new(Dynamic inLengthOrBuffer,hx::Null< int > __o_inByteOffset,Dynamic inLength); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ArrayBufferView_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::native::utils::IMemoryRange_obj *() - { return new ::native::utils::IMemoryRange_delegate_< ArrayBufferView_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("ArrayBufferView"); } - - virtual Void setFloat32( int bytePos,Float v); - Dynamic setFloat32_dyn(); - - virtual Float getFloat32( int bytePos); - Dynamic getFloat32_dyn(); - - virtual int getLength( ); - Dynamic getLength_dyn(); - - virtual int getStart( ); - Dynamic getStart_dyn(); - - virtual ::native::utils::ByteArray getByteBuffer( ); - Dynamic getByteBuffer_dyn(); - - Array< unsigned char > bytes; /* REM */ - int byteLength; /* REM */ - int byteOffset; /* REM */ - ::native::utils::ByteArray buffer; /* REM */ - static ::String invalidDataIndex; /* REM */ -}; - -} // end namespace native -} // end namespace utils - -#endif /* INCLUDED_native_utils_ArrayBufferView */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/ByteArray.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/ByteArray.h deleted file mode 100644 index 280b0e3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/ByteArray.h +++ /dev/null @@ -1,216 +0,0 @@ -#ifndef INCLUDED_native_utils_ByteArray -#define INCLUDED_native_utils_ByteArray - -#ifndef HXCPP_H -#include -#endif - -#include -#include -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS1(native,Loader) -HX_DECLARE_CLASS2(native,utils,ByteArray) -HX_DECLARE_CLASS2(native,utils,CompressionAlgorithm) -HX_DECLARE_CLASS2(native,utils,IDataInput) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -namespace native{ -namespace utils{ - - -class ByteArray_obj : public ::haxe::io::Bytes_obj{ - public: - typedef ::haxe::io::Bytes_obj super; - typedef ByteArray_obj OBJ_; - ByteArray_obj(); - Void __construct(hx::Null< int > __o_inSize); - - public: - static hx::ObjectPtr< ByteArray_obj > __new(hx::Null< int > __o_inSize); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ByteArray_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::native::utils::IMemoryRange_obj *() - { return new ::native::utils::IMemoryRange_delegate_< ByteArray_obj >(this); } - inline operator ::native::utils::IDataInput_obj *() - { return new ::native::utils::IDataInput_delegate_< ByteArray_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - static void __init__(); - - ::String __ToString() const { return HX_CSTRING("ByteArray"); } - - typedef int __array_access; - virtual ::String set_endian( ::String s); - Dynamic set_endian_dyn(); - - virtual ::String get_endian( ); - Dynamic get_endian_dyn(); - - virtual int get_byteLength( ); - Dynamic get_byteLength_dyn(); - - virtual int get_bytesAvailable( ); - Dynamic get_bytesAvailable_dyn(); - - virtual Void writeUTFBytes( ::String s); - Dynamic writeUTFBytes_dyn(); - - virtual Void writeUTF( ::String s); - Dynamic writeUTF_dyn(); - - virtual Void writeUnsignedInt( int value); - Dynamic writeUnsignedInt_dyn(); - - virtual Void writeShort( int value); - Dynamic writeShort_dyn(); - - virtual Void writeInt( int value); - Dynamic writeInt_dyn(); - - virtual Void writeFloat( Float x); - Dynamic writeFloat_dyn(); - - virtual Void writeFile( ::String inString); - Dynamic writeFile_dyn(); - - virtual Void writeDouble( Float x); - Dynamic writeDouble_dyn(); - - virtual Void writeBytes( ::haxe::io::Bytes bytes,hx::Null< int > inOffset,hx::Null< int > inLength); - Dynamic writeBytes_dyn(); - - virtual Void writeByte( int value); - Dynamic writeByte_dyn(); - - virtual Void writeBoolean( bool value); - Dynamic writeBoolean_dyn(); - - virtual Void write_uncheck( int inByte); - Dynamic write_uncheck_dyn(); - - virtual Void uncompress( ::native::utils::CompressionAlgorithm algorithm); - Dynamic uncompress_dyn(); - - virtual int ThrowEOFi( ); - Dynamic ThrowEOFi_dyn(); - - virtual ::native::utils::ByteArray slice( int inBegin,Dynamic inEnd); - Dynamic slice_dyn(); - - virtual Void setLength( int inLength); - Dynamic setLength_dyn(); - - virtual ::String readUTFBytes( int inLen); - Dynamic readUTFBytes_dyn(); - - virtual ::String readUTF( ); - Dynamic readUTF_dyn(); - - virtual int readUnsignedShort( ); - Dynamic readUnsignedShort_dyn(); - - virtual int readUnsignedInt( ); - Dynamic readUnsignedInt_dyn(); - - virtual int readUnsignedByte( ); - Dynamic readUnsignedByte_dyn(); - - virtual int readShort( ); - Dynamic readShort_dyn(); - - virtual ::String readMultiByte( int inLen,::String charSet); - Dynamic readMultiByte_dyn(); - - virtual int readInt( ); - Dynamic readInt_dyn(); - - virtual Float readFloat( ); - Dynamic readFloat_dyn(); - - virtual Float readDouble( ); - Dynamic readDouble_dyn(); - - virtual Void readBytes( ::native::utils::ByteArray outData,hx::Null< int > inOffset,hx::Null< int > inLen); - Dynamic readBytes_dyn(); - - virtual int readByte( ); - Dynamic readByte_dyn(); - - virtual bool readBoolean( ); - Dynamic readBoolean_dyn(); - - virtual Void inflate( ); - Dynamic inflate_dyn(); - - virtual int getStart( ); - Dynamic getStart_dyn(); - - virtual ::native::utils::ByteArray getByteBuffer( ); - Dynamic getByteBuffer_dyn(); - - virtual int getLength( ); - Dynamic getLength_dyn(); - - virtual Void ensureElem( int inSize,bool inUpdateLenght); - Dynamic ensureElem_dyn(); - - virtual Void deflate( ); - Dynamic deflate_dyn(); - - virtual Void compress( ::native::utils::CompressionAlgorithm algorithm); - Dynamic compress_dyn(); - - virtual Void clear( ); - Dynamic clear_dyn(); - - virtual Void checkData( int inLength); - Dynamic checkData_dyn(); - - virtual ::String asString( ); - Dynamic asString_dyn(); - - virtual Void __set( int pos,int v); - Dynamic __set_dyn(); - - virtual int __get( int pos); - Dynamic __get_dyn(); - - int byteLength; /* REM */ - int position; /* REM */ - ::String endian; /* REM */ - int bytesAvailable; /* REM */ - bool bigEndian; /* REM */ - static ::native::utils::ByteArray fromBytes( ::haxe::io::Bytes inBytes); - static Dynamic fromBytes_dyn(); - - static ::native::utils::ByteArray readFile( ::String inString); - static Dynamic readFile_dyn(); - - static Dynamic _double_bytes; /* REM */ - static Dynamic &_double_bytes_dyn() { return _double_bytes;} - static Dynamic _double_of_bytes; /* REM */ - static Dynamic &_double_of_bytes_dyn() { return _double_of_bytes;} - static Dynamic _float_bytes; /* REM */ - static Dynamic &_float_bytes_dyn() { return _float_bytes;} - static Dynamic _float_of_bytes; /* REM */ - static Dynamic &_float_of_bytes_dyn() { return _float_of_bytes;} - static Dynamic nme_byte_array_overwrite_file; /* REM */ - static Dynamic &nme_byte_array_overwrite_file_dyn() { return nme_byte_array_overwrite_file;} - static Dynamic nme_byte_array_read_file; /* REM */ - static Dynamic &nme_byte_array_read_file_dyn() { return nme_byte_array_read_file;} - static Dynamic nme_lzma_encode; /* REM */ - static Dynamic &nme_lzma_encode_dyn() { return nme_lzma_encode;} - static Dynamic nme_lzma_decode; /* REM */ - static Dynamic &nme_lzma_decode_dyn() { return nme_lzma_decode;} -}; - -} // end namespace native -} // end namespace utils - -#endif /* INCLUDED_native_utils_ByteArray */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/CompressionAlgorithm.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/CompressionAlgorithm.h deleted file mode 100644 index 2349801..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/CompressionAlgorithm.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_native_utils_CompressionAlgorithm -#define INCLUDED_native_utils_CompressionAlgorithm - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,utils,CompressionAlgorithm) -namespace native{ -namespace utils{ - - -class CompressionAlgorithm_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef CompressionAlgorithm_obj OBJ_; - - public: - CompressionAlgorithm_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("native.utils.CompressionAlgorithm"); } - ::String __ToString() const { return HX_CSTRING("CompressionAlgorithm.") + tag; } - - static ::native::utils::CompressionAlgorithm DEFLATE; - static inline ::native::utils::CompressionAlgorithm DEFLATE_dyn() { return DEFLATE; } - static ::native::utils::CompressionAlgorithm GZIP; - static inline ::native::utils::CompressionAlgorithm GZIP_dyn() { return GZIP; } - static ::native::utils::CompressionAlgorithm LZMA; - static inline ::native::utils::CompressionAlgorithm LZMA_dyn() { return LZMA; } - static ::native::utils::CompressionAlgorithm ZLIB; - static inline ::native::utils::CompressionAlgorithm ZLIB_dyn() { return ZLIB; } -}; - -} // end namespace native -} // end namespace utils - -#endif /* INCLUDED_native_utils_CompressionAlgorithm */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/Endian.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/Endian.h deleted file mode 100644 index b837ae2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/Endian.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_native_utils_Endian -#define INCLUDED_native_utils_Endian - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,utils,Endian) -namespace native{ -namespace utils{ - - -class Endian_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Endian_obj OBJ_; - Endian_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Endian_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Endian_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Endian"); } - - static ::String _BIG_ENDIAN; /* REM */ - static ::String _LITTLE_ENDIAN; /* REM */ -}; - -} // end namespace native -} // end namespace utils - -#endif /* INCLUDED_native_utils_Endian */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/Float32Array.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/Float32Array.h deleted file mode 100644 index 2618041..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/Float32Array.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef INCLUDED_native_utils_Float32Array -#define INCLUDED_native_utils_Float32Array - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(native,geom,Matrix3D) -HX_DECLARE_CLASS2(native,utils,ArrayBufferView) -HX_DECLARE_CLASS2(native,utils,Float32Array) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -namespace native{ -namespace utils{ - - -class Float32Array_obj : public ::native::utils::ArrayBufferView_obj{ - public: - typedef ::native::utils::ArrayBufferView_obj super; - typedef Float32Array_obj OBJ_; - Float32Array_obj(); - Void __construct(Dynamic inBufferOrArray,hx::Null< int > __o_inStart,Dynamic inLen); - - public: - static hx::ObjectPtr< Float32Array_obj > __new(Dynamic inBufferOrArray,hx::Null< int > __o_inStart,Dynamic inLen); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Float32Array_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Float32Array"); } - - typedef Float __array_access; - virtual Void __set( int index,Float v); - Dynamic __set_dyn(); - - virtual Float __get( int index); - Dynamic __get_dyn(); - - int length; /* REM */ - int BYTES_PER_ELEMENT; /* REM */ - static int SBYTES_PER_ELEMENT; /* REM */ - static ::native::utils::Float32Array fromMatrix( ::native::geom::Matrix3D inMatrix); - static Dynamic fromMatrix_dyn(); - -}; - -} // end namespace native -} // end namespace utils - -#endif /* INCLUDED_native_utils_Float32Array */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/IDataInput.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/IDataInput.h deleted file mode 100644 index 7668725..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/IDataInput.h +++ /dev/null @@ -1,102 +0,0 @@ -#ifndef INCLUDED_native_utils_IDataInput -#define INCLUDED_native_utils_IDataInput - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(native,utils,ByteArray) -HX_DECLARE_CLASS2(native,utils,IDataInput) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -namespace native{ -namespace utils{ - - -class IDataInput_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IDataInput_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual ::String set_endian( ::String s)=0; - Dynamic set_endian_dyn(); -virtual ::String get_endian( )=0; - Dynamic get_endian_dyn(); -virtual int get_bytesAvailable( )=0; - Dynamic get_bytesAvailable_dyn(); -virtual ::String readUTFBytes( int inLen)=0; - Dynamic readUTFBytes_dyn(); -virtual ::String readUTF( )=0; - Dynamic readUTF_dyn(); -virtual int readUnsignedShort( )=0; - Dynamic readUnsignedShort_dyn(); -virtual int readUnsignedInt( )=0; - Dynamic readUnsignedInt_dyn(); -virtual int readUnsignedByte( )=0; - Dynamic readUnsignedByte_dyn(); -virtual int readShort( )=0; - Dynamic readShort_dyn(); -virtual int readInt( )=0; - Dynamic readInt_dyn(); -virtual Float readFloat( )=0; - Dynamic readFloat_dyn(); -virtual Float readDouble( )=0; - Dynamic readDouble_dyn(); -virtual Void readBytes( ::native::utils::ByteArray outData,hx::Null< int > inOffset,hx::Null< int > inLen)=0; - Dynamic readBytes_dyn(); -virtual int readByte( )=0; - Dynamic readByte_dyn(); -virtual bool readBoolean( )=0; - Dynamic readBoolean_dyn(); -}; - -#define DELEGATE_native_utils_IDataInput \ -virtual ::String set_endian( ::String s) { return mDelegate->set_endian(s);} \ -virtual Dynamic set_endian_dyn() { return mDelegate->set_endian_dyn();} \ -virtual ::String get_endian( ) { return mDelegate->get_endian();} \ -virtual Dynamic get_endian_dyn() { return mDelegate->get_endian_dyn();} \ -virtual int get_bytesAvailable( ) { return mDelegate->get_bytesAvailable();} \ -virtual Dynamic get_bytesAvailable_dyn() { return mDelegate->get_bytesAvailable_dyn();} \ -virtual ::String readUTFBytes( int inLen) { return mDelegate->readUTFBytes(inLen);} \ -virtual Dynamic readUTFBytes_dyn() { return mDelegate->readUTFBytes_dyn();} \ -virtual ::String readUTF( ) { return mDelegate->readUTF();} \ -virtual Dynamic readUTF_dyn() { return mDelegate->readUTF_dyn();} \ -virtual int readUnsignedShort( ) { return mDelegate->readUnsignedShort();} \ -virtual Dynamic readUnsignedShort_dyn() { return mDelegate->readUnsignedShort_dyn();} \ -virtual int readUnsignedInt( ) { return mDelegate->readUnsignedInt();} \ -virtual Dynamic readUnsignedInt_dyn() { return mDelegate->readUnsignedInt_dyn();} \ -virtual int readUnsignedByte( ) { return mDelegate->readUnsignedByte();} \ -virtual Dynamic readUnsignedByte_dyn() { return mDelegate->readUnsignedByte_dyn();} \ -virtual int readShort( ) { return mDelegate->readShort();} \ -virtual Dynamic readShort_dyn() { return mDelegate->readShort_dyn();} \ -virtual int readInt( ) { return mDelegate->readInt();} \ -virtual Dynamic readInt_dyn() { return mDelegate->readInt_dyn();} \ -virtual Float readFloat( ) { return mDelegate->readFloat();} \ -virtual Dynamic readFloat_dyn() { return mDelegate->readFloat_dyn();} \ -virtual Float readDouble( ) { return mDelegate->readDouble();} \ -virtual Dynamic readDouble_dyn() { return mDelegate->readDouble_dyn();} \ -virtual Void readBytes( ::native::utils::ByteArray outData,hx::Null< int > inOffset,hx::Null< int > inLen) { return mDelegate->readBytes(outData,inOffset,inLen);} \ -virtual Dynamic readBytes_dyn() { return mDelegate->readBytes_dyn();} \ -virtual int readByte( ) { return mDelegate->readByte();} \ -virtual Dynamic readByte_dyn() { return mDelegate->readByte_dyn();} \ -virtual bool readBoolean( ) { return mDelegate->readBoolean();} \ -virtual Dynamic readBoolean_dyn() { return mDelegate->readBoolean_dyn();} \ - - -template -class IDataInput_delegate_ : public IDataInput_obj -{ - protected: - IMPL *mDelegate; - public: - IDataInput_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_native_utils_IDataInput -}; - -} // end namespace native -} // end namespace utils - -#endif /* INCLUDED_native_utils_IDataInput */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/IMemoryRange.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/IMemoryRange.h deleted file mode 100644 index 252bca5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/IMemoryRange.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_native_utils_IMemoryRange -#define INCLUDED_native_utils_IMemoryRange - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(native,utils,ByteArray) -HX_DECLARE_CLASS2(native,utils,IDataInput) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -namespace native{ -namespace utils{ - - -class IMemoryRange_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IMemoryRange_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual int getLength( )=0; - Dynamic getLength_dyn(); -virtual int getStart( )=0; - Dynamic getStart_dyn(); -virtual ::native::utils::ByteArray getByteBuffer( )=0; - Dynamic getByteBuffer_dyn(); -}; - -#define DELEGATE_native_utils_IMemoryRange \ -virtual int getLength( ) { return mDelegate->getLength();} \ -virtual Dynamic getLength_dyn() { return mDelegate->getLength_dyn();} \ -virtual int getStart( ) { return mDelegate->getStart();} \ -virtual Dynamic getStart_dyn() { return mDelegate->getStart_dyn();} \ -virtual ::native::utils::ByteArray getByteBuffer( ) { return mDelegate->getByteBuffer();} \ -virtual Dynamic getByteBuffer_dyn() { return mDelegate->getByteBuffer_dyn();} \ - - -template -class IMemoryRange_delegate_ : public IMemoryRange_obj -{ - protected: - IMPL *mDelegate; - public: - IMemoryRange_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_native_utils_IMemoryRange -}; - -} // end namespace native -} // end namespace utils - -#endif /* INCLUDED_native_utils_IMemoryRange */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/WeakRef.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/WeakRef.h deleted file mode 100644 index dc4f5a2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/native/utils/WeakRef.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_native_utils_WeakRef -#define INCLUDED_native_utils_WeakRef - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,utils,WeakRef) -namespace native{ -namespace utils{ - - -class WeakRef_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef WeakRef_obj OBJ_; - WeakRef_obj(); - Void __construct(Dynamic inObject,hx::Null< bool > __o_inMakeWeak); - - public: - static hx::ObjectPtr< WeakRef_obj > __new(Dynamic inObject,hx::Null< bool > __o_inMakeWeak); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~WeakRef_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("WeakRef"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Dynamic get( ); - Dynamic get_dyn(); - - int weakRef; /* REM */ - Dynamic hardRef; /* REM */ - static Dynamic nme_weak_ref_create; /* REM */ - static Dynamic &nme_weak_ref_create_dyn() { return nme_weak_ref_create;} - static Dynamic nme_weak_ref_get; /* REM */ - static Dynamic &nme_weak_ref_get_dyn() { return nme_weak_ref_get;} -}; - -} // end namespace native -} // end namespace utils - -#endif /* INCLUDED_native_utils_WeakRef */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/Lib.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/Lib.h deleted file mode 100644 index d71f778..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/Lib.h +++ /dev/null @@ -1,123 +0,0 @@ -#ifndef INCLUDED_neash_Lib -#define INCLUDED_neash_Lib - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(neash,Lib) -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,ManagedStage) -HX_DECLARE_CLASS2(neash,display,MovieClip) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,display,Stage) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,net,URLRequest) -namespace neash{ - - -class Lib_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Lib_obj OBJ_; - Lib_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Lib_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Lib_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Lib"); } - - static int FULLSCREEN; /* REM */ - static int BORDERLESS; /* REM */ - static int RESIZABLE; /* REM */ - static int HARDWARE; /* REM */ - static int VSYNC; /* REM */ - static int HW_AA; /* REM */ - static int HW_AA_HIRES; /* REM */ - static int ALLOW_SHADERS; /* REM */ - static ::neash::display::MovieClip current; /* REM */ - static int initHeight; /* REM */ - static int initWidth; /* REM */ - static ::neash::display::Stage stage; /* REM */ - static ::neash::display::MovieClip nmeCurrent; /* REM */ - static Dynamic nmeMainFrame; /* REM */ - static ::neash::display::Stage nmeStage; /* REM */ - static bool sIsInit; /* REM */ - static ::String company; /* REM */ - static ::String version; /* REM */ - static ::String packageName; /* REM */ - static ::String file; /* REM */ - static Void close( ); - static Dynamic close_dyn(); - - static Void create( Dynamic inOnLoaded,int inWidth,int inHeight,hx::Null< Float > inFrameRate,hx::Null< int > inColour,hx::Null< int > inFlags,::String inTitle,::neash::display::BitmapData inIcon); - static Dynamic create_dyn(); - - static ::neash::display::ManagedStage createManagedStage( int inWidth,int inHeight,hx::Null< int > inFlags); - static Dynamic createManagedStage_dyn(); - - static Void exit( ); - static Dynamic exit_dyn(); - - static Void forceClose( ); - static Dynamic forceClose_dyn(); - - static int getTimer( ); - static Dynamic getTimer_dyn(); - - static Void getURL( ::neash::net::URLRequest url,::String target); - static Dynamic getURL_dyn(); - - static Void nmeSetCurrentStage( ::neash::display::Stage inStage); - static Dynamic nmeSetCurrentStage_dyn(); - - static Void pause( ); - static Dynamic pause_dyn(); - - static Void postUICallback( Dynamic inCallback); - static Dynamic postUICallback_dyn(); - - static Void resume( ); - static Dynamic resume_dyn(); - - static Void setIcon( ::String path); - static Dynamic setIcon_dyn(); - - static Void setPackage( ::String inCompany,::String inFile,::String inPack,::String inVersion); - static Dynamic setPackage_dyn(); - - static ::neash::display::MovieClip nmeGetCurrent( ); - static Dynamic nmeGetCurrent_dyn(); - - static ::neash::display::Stage nmeGetStage( ); - static Dynamic nmeGetStage_dyn(); - - static Dynamic nme_set_package; /* REM */ - static Dynamic &nme_set_package_dyn() { return nme_set_package;} - static Dynamic nme_get_frame_stage; /* REM */ - static Dynamic &nme_get_frame_stage_dyn() { return nme_get_frame_stage;} - static Dynamic nme_get_url; /* REM */ - static Dynamic &nme_get_url_dyn() { return nme_get_url;} - static Dynamic nme_pause_animation; /* REM */ - static Dynamic &nme_pause_animation_dyn() { return nme_pause_animation;} - static Dynamic nme_resume_animation; /* REM */ - static Dynamic &nme_resume_animation_dyn() { return nme_resume_animation;} -}; - -} // end namespace neash - -#endif /* INCLUDED_neash_Lib */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/Loader.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/Loader.h deleted file mode 100644 index c3a4df4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/Loader.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_neash_Loader -#define INCLUDED_neash_Loader - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(neash,Loader) -namespace neash{ - - -class Loader_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Loader_obj OBJ_; - Loader_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Loader_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Loader_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Loader"); } - - static bool moduleInit; /* REM */ - static ::String moduleName; /* REM */ - static Dynamic load( ::String func,int args); - static Dynamic load_dyn(); - -}; - -} // end namespace neash - -#endif /* INCLUDED_neash_Loader */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/Bitmap.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/Bitmap.h deleted file mode 100644 index 698ce51..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/Bitmap.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef INCLUDED_neash_display_Bitmap -#define INCLUDED_neash_display_Bitmap - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,Bitmap) -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,Graphics) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,PixelSnapping) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace display{ - - -class Bitmap_obj : public ::neash::display::DisplayObject_obj{ - public: - typedef ::neash::display::DisplayObject_obj super; - typedef Bitmap_obj OBJ_; - Bitmap_obj(); - Void __construct(::neash::display::BitmapData bitmapData,::neash::display::PixelSnapping pixelSnapping,hx::Null< bool > __o_smoothing); - - public: - static hx::ObjectPtr< Bitmap_obj > __new(::neash::display::BitmapData bitmapData,::neash::display::PixelSnapping pixelSnapping,hx::Null< bool > __o_smoothing); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Bitmap_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Bitmap"); } - - virtual bool nmeSetSmoothing( bool inSmooth); - Dynamic nmeSetSmoothing_dyn(); - - virtual ::neash::display::BitmapData nmeSetBitmapData( ::neash::display::BitmapData inBitmapData); - Dynamic nmeSetBitmapData_dyn(); - - virtual Void nmeRebuild( ); - Dynamic nmeRebuild_dyn(); - - ::neash::display::Graphics mGraphics; /* REM */ - bool smoothing; /* REM */ - ::neash::display::BitmapData bitmapData; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_Bitmap */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/BitmapData.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/BitmapData.h deleted file mode 100644 index 305cfe7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/BitmapData.h +++ /dev/null @@ -1,261 +0,0 @@ -#ifndef INCLUDED_neash_display_BitmapData -#define INCLUDED_neash_display_BitmapData - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,filters,BitmapFilter) -HX_DECLARE_CLASS2(neash,geom,ColorTransform) -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Point) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace display{ - - -class BitmapData_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef BitmapData_obj OBJ_; - BitmapData_obj(); - Void __construct(int inWidth,int inHeight,hx::Null< bool > __o_inTransparent,Dynamic inFillRGBA); - - public: - static hx::ObjectPtr< BitmapData_obj > __new(int inWidth,int inHeight,hx::Null< bool > __o_inTransparent,Dynamic inFillRGBA); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BitmapData_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::neash::display::IBitmapDrawable_obj *() - { return new ::neash::display::IBitmapDrawable_delegate_< BitmapData_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("BitmapData"); } - - virtual bool nmeGetTransparent( ); - Dynamic nmeGetTransparent_dyn(); - - virtual int nmeGetHeight( ); - Dynamic nmeGetHeight_dyn(); - - virtual int nmeGetWidth( ); - Dynamic nmeGetWidth_dyn(); - - virtual ::neash::geom::Rectangle nmeGetRect( ); - Dynamic nmeGetRect_dyn(); - - virtual Void noise( int randomSeed,hx::Null< int > low,hx::Null< int > high,hx::Null< int > channelOptions,hx::Null< bool > grayScale); - Dynamic noise_dyn(); - - virtual Void setFormat( int format); - Dynamic setFormat_dyn(); - - virtual Void unlock( ::neash::geom::Rectangle changeRect); - Dynamic unlock_dyn(); - - virtual Void setVector( ::neash::geom::Rectangle rect,Array< int > inPixels); - Dynamic setVector_dyn(); - - virtual Void setPixels( ::neash::geom::Rectangle rect,::neash::utils::ByteArray pixels); - Dynamic setPixels_dyn(); - - virtual Void setPixel32( int inX,int inY,int inColour); - Dynamic setPixel32_dyn(); - - virtual Void setPixel( int inX,int inY,int inColour); - Dynamic setPixel_dyn(); - - virtual Void setFlags( int inFlags); - Dynamic setFlags_dyn(); - - virtual Void scroll( int inDX,int inDY); - Dynamic scroll_dyn(); - - virtual Void perlinNoise( Float baseX,Float baseY,int numOctaves,int randomSeed,bool stitch,bool fractalNoise,hx::Null< int > channelOptions,hx::Null< bool > grayScale,Array< ::neash::geom::Point > offsets); - Dynamic perlinNoise_dyn(); - - virtual Void nmeDrawToSurface( Dynamic inSurface,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,bool smoothing); - Dynamic nmeDrawToSurface_dyn(); - - virtual Void lock( ); - Dynamic lock_dyn(); - - virtual Array< int > getVector( ::neash::geom::Rectangle rect); - Dynamic getVector_dyn(); - - virtual ::neash::utils::ByteArray getPixels( ::neash::geom::Rectangle rect); - Dynamic getPixels_dyn(); - - virtual int getPixel32( int x,int y); - Dynamic getPixel32_dyn(); - - virtual int getPixel( int x,int y); - Dynamic getPixel_dyn(); - - virtual ::neash::geom::Rectangle getColorBoundsRect( int mask,int color,hx::Null< bool > findColor); - Dynamic getColorBoundsRect_dyn(); - - virtual ::neash::geom::Rectangle generateFilterRect( ::neash::geom::Rectangle sourceRect,::neash::filters::BitmapFilter filter); - Dynamic generateFilterRect_dyn(); - - virtual Void fillRectEx( ::neash::geom::Rectangle rect,int inColour,hx::Null< int > inAlpha); - Dynamic fillRectEx_dyn(); - - virtual Void fillRect( ::neash::geom::Rectangle rect,int inColour); - Dynamic fillRect_dyn(); - - virtual ::neash::utils::ByteArray encode( ::String inFormat,hx::Null< Float > inQuality); - Dynamic encode_dyn(); - - virtual Void dumpBits( ); - Dynamic dumpBits_dyn(); - - virtual Void draw( ::neash::display::IBitmapDrawable source,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,hx::Null< bool > smoothing); - Dynamic draw_dyn(); - - virtual Void dispose( ); - Dynamic dispose_dyn(); - - virtual Void destroyHardwareSurface( ); - Dynamic destroyHardwareSurface_dyn(); - - virtual Void createHardwareSurface( ); - Dynamic createHardwareSurface_dyn(); - - virtual Void copyPixels( ::neash::display::BitmapData sourceBitmapData,::neash::geom::Rectangle sourceRect,::neash::geom::Point destPoint,::neash::display::BitmapData alphaBitmapData,::neash::geom::Point alphaPoint,hx::Null< bool > mergeAlpha); - Dynamic copyPixels_dyn(); - - virtual Void copyChannel( ::neash::display::BitmapData sourceBitmapData,::neash::geom::Rectangle sourceRect,::neash::geom::Point destPoint,int inSourceChannel,int inDestChannel); - Dynamic copyChannel_dyn(); - - virtual Void colorTransform( ::neash::geom::Rectangle rect,::neash::geom::ColorTransform colorTransform); - Dynamic colorTransform_dyn(); - - virtual ::neash::display::BitmapData clone( ); - Dynamic clone_dyn(); - - virtual Void clear( int color); - Dynamic clear_dyn(); - - virtual Void applyFilter( ::neash::display::BitmapData sourceBitmapData,::neash::geom::Rectangle sourceRect,::neash::geom::Point destPoint,::neash::filters::BitmapFilter filter); - Dynamic applyFilter_dyn(); - - Dynamic nmeHandle; /* REM */ - int width; /* REM */ - bool transparent; /* REM */ - ::neash::geom::Rectangle rect; /* REM */ - int height; /* REM */ - static int CLEAR; /* REM */ - static int BLACK; /* REM */ - static int WHITE; /* REM */ - static int RED; /* REM */ - static int GREEN; /* REM */ - static int BLUE; /* REM */ - static ::String PNG; /* REM */ - static ::String JPG; /* REM */ - static int TRANSPARENT; /* REM */ - static int HARDWARE; /* REM */ - static int FORMAT_8888; /* REM */ - static int FORMAT_4444; /* REM */ - static int FORMAT_565; /* REM */ - static int createColor( int inRGB,hx::Null< int > inAlpha); - static Dynamic createColor_dyn(); - - static int extractAlpha( int v); - static Dynamic extractAlpha_dyn(); - - static int extractColor( int v); - static Dynamic extractColor_dyn(); - - static ::neash::display::BitmapData load( ::String inFilename,hx::Null< int > format); - static Dynamic load_dyn(); - - static ::neash::display::BitmapData loadFromBytes( ::neash::utils::ByteArray inBytes,::neash::utils::ByteArray inRawAlpha); - static Dynamic loadFromBytes_dyn(); - - static ::neash::display::BitmapData loadFromHaxeBytes( ::haxe::io::Bytes inBytes,::haxe::io::Bytes inRawAlpha); - static Dynamic loadFromHaxeBytes_dyn(); - - static Dynamic nme_bitmap_data_create; /* REM */ - static Dynamic &nme_bitmap_data_create_dyn() { return nme_bitmap_data_create;} - static Dynamic nme_bitmap_data_load; /* REM */ - static Dynamic &nme_bitmap_data_load_dyn() { return nme_bitmap_data_load;} - static Dynamic nme_bitmap_data_from_bytes; /* REM */ - static Dynamic &nme_bitmap_data_from_bytes_dyn() { return nme_bitmap_data_from_bytes;} - static Dynamic nme_bitmap_data_clear; /* REM */ - static Dynamic &nme_bitmap_data_clear_dyn() { return nme_bitmap_data_clear;} - static Dynamic nme_bitmap_data_clone; /* REM */ - static Dynamic &nme_bitmap_data_clone_dyn() { return nme_bitmap_data_clone;} - static Dynamic nme_bitmap_data_apply_filter; /* REM */ - static Dynamic &nme_bitmap_data_apply_filter_dyn() { return nme_bitmap_data_apply_filter;} - static Dynamic nme_bitmap_data_color_transform; /* REM */ - static Dynamic &nme_bitmap_data_color_transform_dyn() { return nme_bitmap_data_color_transform;} - static Dynamic nme_bitmap_data_copy; /* REM */ - static Dynamic &nme_bitmap_data_copy_dyn() { return nme_bitmap_data_copy;} - static Dynamic nme_bitmap_data_copy_channel; /* REM */ - static Dynamic &nme_bitmap_data_copy_channel_dyn() { return nme_bitmap_data_copy_channel;} - static Dynamic nme_bitmap_data_fill; /* REM */ - static Dynamic &nme_bitmap_data_fill_dyn() { return nme_bitmap_data_fill;} - static Dynamic nme_bitmap_data_get_pixels; /* REM */ - static Dynamic &nme_bitmap_data_get_pixels_dyn() { return nme_bitmap_data_get_pixels;} - static Dynamic nme_bitmap_data_get_pixel; /* REM */ - static Dynamic &nme_bitmap_data_get_pixel_dyn() { return nme_bitmap_data_get_pixel;} - static Dynamic nme_bitmap_data_get_pixel32; /* REM */ - static Dynamic &nme_bitmap_data_get_pixel32_dyn() { return nme_bitmap_data_get_pixel32;} - static Dynamic nme_bitmap_data_get_pixel_rgba; /* REM */ - static Dynamic nme_bitmap_data_get_array; /* REM */ - static Dynamic &nme_bitmap_data_get_array_dyn() { return nme_bitmap_data_get_array;} - static Dynamic nme_bitmap_data_get_color_bounds_rect; /* REM */ - static Dynamic &nme_bitmap_data_get_color_bounds_rect_dyn() { return nme_bitmap_data_get_color_bounds_rect;} - static Dynamic nme_bitmap_data_scroll; /* REM */ - static Dynamic &nme_bitmap_data_scroll_dyn() { return nme_bitmap_data_scroll;} - static Dynamic nme_bitmap_data_set_pixel; /* REM */ - static Dynamic &nme_bitmap_data_set_pixel_dyn() { return nme_bitmap_data_set_pixel;} - static Dynamic nme_bitmap_data_set_pixel32; /* REM */ - static Dynamic &nme_bitmap_data_set_pixel32_dyn() { return nme_bitmap_data_set_pixel32;} - static Dynamic nme_bitmap_data_set_pixel_rgba; /* REM */ - static Dynamic nme_bitmap_data_set_bytes; /* REM */ - static Dynamic &nme_bitmap_data_set_bytes_dyn() { return nme_bitmap_data_set_bytes;} - static Dynamic nme_bitmap_data_set_format; /* REM */ - static Dynamic &nme_bitmap_data_set_format_dyn() { return nme_bitmap_data_set_format;} - static Dynamic nme_bitmap_data_set_array; /* REM */ - static Dynamic &nme_bitmap_data_set_array_dyn() { return nme_bitmap_data_set_array;} - static Dynamic nme_bitmap_data_create_hardware_surface; /* REM */ - static Dynamic &nme_bitmap_data_create_hardware_surface_dyn() { return nme_bitmap_data_create_hardware_surface;} - static Dynamic nme_bitmap_data_destroy_hardware_surface; /* REM */ - static Dynamic &nme_bitmap_data_destroy_hardware_surface_dyn() { return nme_bitmap_data_destroy_hardware_surface;} - static Dynamic nme_bitmap_data_generate_filter_rect; /* REM */ - static Dynamic &nme_bitmap_data_generate_filter_rect_dyn() { return nme_bitmap_data_generate_filter_rect;} - static Dynamic nme_render_surface_to_surface; /* REM */ - static Dynamic &nme_render_surface_to_surface_dyn() { return nme_render_surface_to_surface;} - static Dynamic nme_bitmap_data_height; /* REM */ - static Dynamic &nme_bitmap_data_height_dyn() { return nme_bitmap_data_height;} - static Dynamic nme_bitmap_data_width; /* REM */ - static Dynamic &nme_bitmap_data_width_dyn() { return nme_bitmap_data_width;} - static Dynamic nme_bitmap_data_get_transparent; /* REM */ - static Dynamic &nme_bitmap_data_get_transparent_dyn() { return nme_bitmap_data_get_transparent;} - static Dynamic nme_bitmap_data_set_flags; /* REM */ - static Dynamic &nme_bitmap_data_set_flags_dyn() { return nme_bitmap_data_set_flags;} - static Dynamic nme_bitmap_data_encode; /* REM */ - static Dynamic &nme_bitmap_data_encode_dyn() { return nme_bitmap_data_encode;} - static Dynamic nme_bitmap_data_dump_bits; /* REM */ - static Dynamic &nme_bitmap_data_dump_bits_dyn() { return nme_bitmap_data_dump_bits;} - static Dynamic nme_bitmap_data_noise; /* REM */ - static Dynamic &nme_bitmap_data_noise_dyn() { return nme_bitmap_data_noise;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_BitmapData */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/BitmapDataChannel.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/BitmapDataChannel.h deleted file mode 100644 index 1e38611..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/BitmapDataChannel.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_neash_display_BitmapDataChannel -#define INCLUDED_neash_display_BitmapDataChannel - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,BitmapDataChannel) -namespace neash{ -namespace display{ - - -class BitmapDataChannel_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef BitmapDataChannel_obj OBJ_; - BitmapDataChannel_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< BitmapDataChannel_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BitmapDataChannel_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BitmapDataChannel"); } - - static int ALPHA; /* REM */ - static int BLUE; /* REM */ - static int GREEN; /* REM */ - static int RED; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_BitmapDataChannel */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/BlendMode.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/BlendMode.h deleted file mode 100644 index 664ff80..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/BlendMode.h +++ /dev/null @@ -1,59 +0,0 @@ -#ifndef INCLUDED_neash_display_BlendMode -#define INCLUDED_neash_display_BlendMode - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,BlendMode) -namespace neash{ -namespace display{ - - -class BlendMode_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef BlendMode_obj OBJ_; - - public: - BlendMode_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.BlendMode"); } - ::String __ToString() const { return HX_CSTRING("BlendMode.") + tag; } - - static ::neash::display::BlendMode ADD; - static inline ::neash::display::BlendMode ADD_dyn() { return ADD; } - static ::neash::display::BlendMode ALPHA; - static inline ::neash::display::BlendMode ALPHA_dyn() { return ALPHA; } - static ::neash::display::BlendMode DARKEN; - static inline ::neash::display::BlendMode DARKEN_dyn() { return DARKEN; } - static ::neash::display::BlendMode DIFFERENCE; - static inline ::neash::display::BlendMode DIFFERENCE_dyn() { return DIFFERENCE; } - static ::neash::display::BlendMode ERASE; - static inline ::neash::display::BlendMode ERASE_dyn() { return ERASE; } - static ::neash::display::BlendMode HARDLIGHT; - static inline ::neash::display::BlendMode HARDLIGHT_dyn() { return HARDLIGHT; } - static ::neash::display::BlendMode INVERT; - static inline ::neash::display::BlendMode INVERT_dyn() { return INVERT; } - static ::neash::display::BlendMode LAYER; - static inline ::neash::display::BlendMode LAYER_dyn() { return LAYER; } - static ::neash::display::BlendMode LIGHTEN; - static inline ::neash::display::BlendMode LIGHTEN_dyn() { return LIGHTEN; } - static ::neash::display::BlendMode MULTIPLY; - static inline ::neash::display::BlendMode MULTIPLY_dyn() { return MULTIPLY; } - static ::neash::display::BlendMode NORMAL; - static inline ::neash::display::BlendMode NORMAL_dyn() { return NORMAL; } - static ::neash::display::BlendMode OVERLAY; - static inline ::neash::display::BlendMode OVERLAY_dyn() { return OVERLAY; } - static ::neash::display::BlendMode SCREEN; - static inline ::neash::display::BlendMode SCREEN_dyn() { return SCREEN; } - static ::neash::display::BlendMode SUBTRACT; - static inline ::neash::display::BlendMode SUBTRACT_dyn() { return SUBTRACT; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_BlendMode */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/CapsStyle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/CapsStyle.h deleted file mode 100644 index b269ed3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/CapsStyle.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_display_CapsStyle -#define INCLUDED_neash_display_CapsStyle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,CapsStyle) -namespace neash{ -namespace display{ - - -class CapsStyle_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef CapsStyle_obj OBJ_; - - public: - CapsStyle_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.CapsStyle"); } - ::String __ToString() const { return HX_CSTRING("CapsStyle.") + tag; } - - static ::neash::display::CapsStyle NONE; - static inline ::neash::display::CapsStyle NONE_dyn() { return NONE; } - static ::neash::display::CapsStyle ROUND; - static inline ::neash::display::CapsStyle ROUND_dyn() { return ROUND; } - static ::neash::display::CapsStyle SQUARE; - static inline ::neash::display::CapsStyle SQUARE_dyn() { return SQUARE; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_CapsStyle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/DisplayObject.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/DisplayObject.h deleted file mode 100644 index 7fc8c40..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/DisplayObject.h +++ /dev/null @@ -1,396 +0,0 @@ -#ifndef INCLUDED_neash_display_DisplayObject -#define INCLUDED_neash_display_DisplayObject - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS2(neash,display,BlendMode) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,Graphics) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,PixelSnapping) -HX_DECLARE_CLASS2(neash,display,Stage) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,geom,ColorTransform) -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Point) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -HX_DECLARE_CLASS2(neash,geom,Transform) -namespace neash{ -namespace display{ - - -class DisplayObject_obj : public ::neash::events::EventDispatcher_obj{ - public: - typedef ::neash::events::EventDispatcher_obj super; - typedef DisplayObject_obj OBJ_; - DisplayObject_obj(); - Void __construct(Dynamic inHandle,::String inType); - - public: - static hx::ObjectPtr< DisplayObject_obj > __new(Dynamic inHandle,::String inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~DisplayObject_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::neash::display::IBitmapDrawable_obj *() - { return new ::neash::display::IBitmapDrawable_delegate_< DisplayObject_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("DisplayObject"); } - - virtual Float nmeSetY( Float inVal); - Dynamic nmeSetY_dyn(); - - virtual Float nmeGetY( ); - Dynamic nmeGetY_dyn(); - - virtual Float nmeSetX( Float inVal); - Dynamic nmeSetX_dyn(); - - virtual Float nmeGetX( ); - Dynamic nmeGetX_dyn(); - - virtual Float nmeSetWidth( Float inVal); - Dynamic nmeSetWidth_dyn(); - - virtual Float nmeGetWidth( ); - Dynamic nmeGetWidth_dyn(); - - virtual bool nmeSetVisible( bool inVal); - Dynamic nmeSetVisible_dyn(); - - virtual bool nmeGetVisible( ); - Dynamic nmeGetVisible_dyn(); - - virtual ::neash::geom::Transform nmeSetTransform( ::neash::geom::Transform inTransform); - Dynamic nmeSetTransform_dyn(); - - virtual ::neash::geom::Transform nmeGetTransform( ); - Dynamic nmeGetTransform_dyn(); - - virtual ::neash::display::Stage nmeGetStage( ); - Dynamic nmeGetStage_dyn(); - - virtual ::neash::geom::Rectangle nmeSetScrollRect( ::neash::geom::Rectangle inRect); - Dynamic nmeSetScrollRect_dyn(); - - virtual ::neash::geom::Rectangle nmeGetScrollRect( ); - Dynamic nmeGetScrollRect_dyn(); - - virtual Float nmeSetScaleY( Float inVal); - Dynamic nmeSetScaleY_dyn(); - - virtual Float nmeGetScaleY( ); - Dynamic nmeGetScaleY_dyn(); - - virtual Float nmeSetScaleX( Float inVal); - Dynamic nmeSetScaleX_dyn(); - - virtual Float nmeGetScaleX( ); - Dynamic nmeGetScaleX_dyn(); - - virtual ::neash::geom::Rectangle nmeSetScale9Grid( ::neash::geom::Rectangle inRect); - Dynamic nmeSetScale9Grid_dyn(); - - virtual ::neash::geom::Rectangle nmeGetScale9Grid( ); - Dynamic nmeGetScale9Grid_dyn(); - - virtual Float nmeSetRotation( Float inVal); - Dynamic nmeSetRotation_dyn(); - - virtual Float nmeGetRotation( ); - Dynamic nmeGetRotation_dyn(); - - virtual ::neash::display::DisplayObjectContainer nmeSetParent( ::neash::display::DisplayObjectContainer inParent); - Dynamic nmeSetParent_dyn(); - - virtual ::neash::display::DisplayObjectContainer nmeGetParent( ); - Dynamic nmeGetParent_dyn(); - - virtual ::String nmeSetName( ::String inVal); - Dynamic nmeSetName_dyn(); - - virtual ::String nmeGetName( ); - Dynamic nmeGetName_dyn(); - - virtual Float nmeGetMouseY( ); - Dynamic nmeGetMouseY_dyn(); - - virtual Float nmeGetMouseX( ); - Dynamic nmeGetMouseX_dyn(); - - virtual ::neash::display::DisplayObject nmeSetMask( ::neash::display::DisplayObject inObject); - Dynamic nmeSetMask_dyn(); - - virtual Float nmeSetHeight( Float inVal); - Dynamic nmeSetHeight_dyn(); - - virtual Float nmeGetHeight( ); - Dynamic nmeGetHeight_dyn(); - - virtual ::neash::display::Graphics nmeGetGraphics( ); - Dynamic nmeGetGraphics_dyn(); - - virtual Dynamic nmeSetFilters( Dynamic inFilters); - Dynamic nmeSetFilters_dyn(); - - virtual Dynamic nmeGetFilters( ); - Dynamic nmeGetFilters_dyn(); - - virtual ::neash::display::PixelSnapping nmeSetPixelSnapping( ::neash::display::PixelSnapping inVal); - Dynamic nmeSetPixelSnapping_dyn(); - - virtual ::neash::display::PixelSnapping nmeGetPixelSnapping( ); - Dynamic nmeGetPixelSnapping_dyn(); - - virtual bool nmeSetPedanticBitmapCaching( bool inVal); - Dynamic nmeSetPedanticBitmapCaching_dyn(); - - virtual bool nmeGetPedanticBitmapCaching( ); - Dynamic nmeGetPedanticBitmapCaching_dyn(); - - virtual bool nmeSetCacheAsBitmap( bool inVal); - Dynamic nmeSetCacheAsBitmap_dyn(); - - virtual bool nmeGetCacheAsBitmap( ); - Dynamic nmeGetCacheAsBitmap_dyn(); - - virtual ::neash::display::BlendMode nmeSetBlendMode( ::neash::display::BlendMode inMode); - Dynamic nmeSetBlendMode_dyn(); - - virtual ::neash::display::BlendMode nmeGetBlendMode( ); - Dynamic nmeGetBlendMode_dyn(); - - virtual Dynamic nmeSetBG( Dynamic inBG); - Dynamic nmeSetBG_dyn(); - - virtual Dynamic nmeGetBG( ); - Dynamic nmeGetBG_dyn(); - - virtual Float nmeSetAlpha( Float inAlpha); - Dynamic nmeSetAlpha_dyn(); - - virtual Float nmeGetAlpha( ); - Dynamic nmeGetAlpha_dyn(); - - virtual ::String toString( ); - - virtual Void nmeSetMatrix( ::neash::geom::Matrix inMatrix); - Dynamic nmeSetMatrix_dyn(); - - virtual Void nmeSetColorTransform( ::neash::geom::ColorTransform inTrans); - Dynamic nmeSetColorTransform_dyn(); - - virtual Void nmeOnRemoved( ::neash::display::DisplayObject inObj,bool inWasOnStage); - Dynamic nmeOnRemoved_dyn(); - - virtual Void nmeOnAdded( ::neash::display::DisplayObject inObj,bool inIsOnStage); - Dynamic nmeOnAdded_dyn(); - - virtual ::neash::geom::Rectangle nmeGetPixelBounds( ); - Dynamic nmeGetPixelBounds_dyn(); - - virtual Void nmeGetObjectsUnderPoint( ::neash::geom::Point point,Array< ::neash::display::DisplayObject > result); - Dynamic nmeGetObjectsUnderPoint_dyn(); - - virtual ::neash::geom::Matrix nmeGetMatrix( ); - Dynamic nmeGetMatrix_dyn(); - - virtual Void nmeGetInteractiveObjectStack( Array< ::neash::display::InteractiveObject > outStack); - Dynamic nmeGetInteractiveObjectStack_dyn(); - - virtual ::neash::geom::Matrix nmeGetConcatenatedMatrix( ); - Dynamic nmeGetConcatenatedMatrix_dyn(); - - virtual ::neash::geom::ColorTransform nmeGetConcatenatedColorTransform( ); - Dynamic nmeGetConcatenatedColorTransform_dyn(); - - virtual ::neash::geom::ColorTransform nmeGetColorTransform( ); - Dynamic nmeGetColorTransform_dyn(); - - virtual Void nmeFireEvent( ::neash::events::Event inEvt); - Dynamic nmeFireEvent_dyn(); - - virtual ::neash::display::DisplayObject nmeFindByID( int inID); - Dynamic nmeFindByID_dyn(); - - virtual Void nmeDrawToSurface( Dynamic inSurface,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,bool smoothing); - Dynamic nmeDrawToSurface_dyn(); - - virtual bool nmeDispatchEvent( ::neash::events::Event inEvt); - Dynamic nmeDispatchEvent_dyn(); - - virtual Void nmeBroadcast( ::neash::events::Event inEvt); - Dynamic nmeBroadcast_dyn(); - - virtual ::neash::display::InteractiveObject nmeAsInteractiveObject( ); - Dynamic nmeAsInteractiveObject_dyn(); - - virtual ::neash::geom::Point localToGlobal( ::neash::geom::Point inLocal); - Dynamic localToGlobal_dyn(); - - virtual ::neash::geom::Rectangle getRect( ::neash::display::DisplayObject targetCoordinateSpace); - Dynamic getRect_dyn(); - - virtual ::neash::geom::Rectangle getBounds( ::neash::display::DisplayObject targetCoordinateSpace); - Dynamic getBounds_dyn(); - - virtual bool hitTestPoint( Float x,Float y,hx::Null< bool > shapeFlag); - Dynamic hitTestPoint_dyn(); - - virtual bool hitTestObject( ::neash::display::DisplayObject object); - Dynamic hitTestObject_dyn(); - - virtual ::neash::geom::Point globalToLocal( ::neash::geom::Point inGlobal); - Dynamic globalToLocal_dyn(); - - virtual bool dispatchEvent( ::neash::events::Event event); - - ::neash::geom::Rectangle nmeScrollRect; /* REM */ - ::neash::geom::Rectangle nmeScale9Grid; /* REM */ - ::neash::display::DisplayObjectContainer nmeParent; /* REM */ - int nmeID; /* REM */ - ::neash::display::Graphics nmeGraphicsCache; /* REM */ - Dynamic nmeFilters; /* REM */ - Float y; /* REM */ - Float x; /* REM */ - Float width; /* REM */ - bool visible; /* REM */ - ::neash::geom::Transform transform; /* REM */ - ::neash::display::Stage stage; /* REM */ - ::neash::geom::Rectangle scrollRect; /* REM */ - Float scaleY; /* REM */ - Float scaleX; /* REM */ - ::neash::geom::Rectangle scale9Grid; /* REM */ - Float rotation; /* REM */ - ::neash::display::DisplayObjectContainer parent; /* REM */ - Dynamic opaqueBackground; /* REM */ - Dynamic nmeHandle; /* REM */ - ::String name; /* REM */ - Float mouseY; /* REM */ - Float mouseX; /* REM */ - ::neash::display::DisplayObject mask; /* REM */ - Float height; /* REM */ - ::neash::display::Graphics graphics; /* REM */ - Dynamic filters; /* REM */ - ::neash::display::PixelSnapping pixelSnapping; /* REM */ - bool pedanticBitmapCaching; /* REM */ - bool cacheAsBitmap; /* REM */ - ::neash::display::BlendMode blendMode; /* REM */ - Float alpha; /* REM */ - static Dynamic nme_create_display_object; /* REM */ - static Dynamic &nme_create_display_object_dyn() { return nme_create_display_object;} - static Dynamic nme_display_object_get_graphics; /* REM */ - static Dynamic &nme_display_object_get_graphics_dyn() { return nme_display_object_get_graphics;} - static Dynamic nme_display_object_draw_to_surface; /* REM */ - static Dynamic &nme_display_object_draw_to_surface_dyn() { return nme_display_object_draw_to_surface;} - static Dynamic nme_display_object_get_id; /* REM */ - static Dynamic &nme_display_object_get_id_dyn() { return nme_display_object_get_id;} - static Dynamic nme_display_object_get_x; /* REM */ - static Dynamic &nme_display_object_get_x_dyn() { return nme_display_object_get_x;} - static Dynamic nme_display_object_set_x; /* REM */ - static Dynamic &nme_display_object_set_x_dyn() { return nme_display_object_set_x;} - static Dynamic nme_display_object_get_y; /* REM */ - static Dynamic &nme_display_object_get_y_dyn() { return nme_display_object_get_y;} - static Dynamic nme_display_object_set_y; /* REM */ - static Dynamic &nme_display_object_set_y_dyn() { return nme_display_object_set_y;} - static Dynamic nme_display_object_get_scale_x; /* REM */ - static Dynamic &nme_display_object_get_scale_x_dyn() { return nme_display_object_get_scale_x;} - static Dynamic nme_display_object_set_scale_x; /* REM */ - static Dynamic &nme_display_object_set_scale_x_dyn() { return nme_display_object_set_scale_x;} - static Dynamic nme_display_object_get_scale_y; /* REM */ - static Dynamic &nme_display_object_get_scale_y_dyn() { return nme_display_object_get_scale_y;} - static Dynamic nme_display_object_set_scale_y; /* REM */ - static Dynamic &nme_display_object_set_scale_y_dyn() { return nme_display_object_set_scale_y;} - static Dynamic nme_display_object_get_mouse_x; /* REM */ - static Dynamic &nme_display_object_get_mouse_x_dyn() { return nme_display_object_get_mouse_x;} - static Dynamic nme_display_object_get_mouse_y; /* REM */ - static Dynamic &nme_display_object_get_mouse_y_dyn() { return nme_display_object_get_mouse_y;} - static Dynamic nme_display_object_get_rotation; /* REM */ - static Dynamic &nme_display_object_get_rotation_dyn() { return nme_display_object_get_rotation;} - static Dynamic nme_display_object_set_rotation; /* REM */ - static Dynamic &nme_display_object_set_rotation_dyn() { return nme_display_object_set_rotation;} - static Dynamic nme_display_object_get_bg; /* REM */ - static Dynamic &nme_display_object_get_bg_dyn() { return nme_display_object_get_bg;} - static Dynamic nme_display_object_set_bg; /* REM */ - static Dynamic &nme_display_object_set_bg_dyn() { return nme_display_object_set_bg;} - static Dynamic nme_display_object_get_name; /* REM */ - static Dynamic &nme_display_object_get_name_dyn() { return nme_display_object_get_name;} - static Dynamic nme_display_object_set_name; /* REM */ - static Dynamic &nme_display_object_set_name_dyn() { return nme_display_object_set_name;} - static Dynamic nme_display_object_get_width; /* REM */ - static Dynamic &nme_display_object_get_width_dyn() { return nme_display_object_get_width;} - static Dynamic nme_display_object_set_width; /* REM */ - static Dynamic &nme_display_object_set_width_dyn() { return nme_display_object_set_width;} - static Dynamic nme_display_object_get_height; /* REM */ - static Dynamic &nme_display_object_get_height_dyn() { return nme_display_object_get_height;} - static Dynamic nme_display_object_set_height; /* REM */ - static Dynamic &nme_display_object_set_height_dyn() { return nme_display_object_set_height;} - static Dynamic nme_display_object_get_alpha; /* REM */ - static Dynamic &nme_display_object_get_alpha_dyn() { return nme_display_object_get_alpha;} - static Dynamic nme_display_object_set_alpha; /* REM */ - static Dynamic &nme_display_object_set_alpha_dyn() { return nme_display_object_set_alpha;} - static Dynamic nme_display_object_get_blend_mode; /* REM */ - static Dynamic &nme_display_object_get_blend_mode_dyn() { return nme_display_object_get_blend_mode;} - static Dynamic nme_display_object_set_blend_mode; /* REM */ - static Dynamic &nme_display_object_set_blend_mode_dyn() { return nme_display_object_set_blend_mode;} - static Dynamic nme_display_object_get_cache_as_bitmap; /* REM */ - static Dynamic &nme_display_object_get_cache_as_bitmap_dyn() { return nme_display_object_get_cache_as_bitmap;} - static Dynamic nme_display_object_set_cache_as_bitmap; /* REM */ - static Dynamic &nme_display_object_set_cache_as_bitmap_dyn() { return nme_display_object_set_cache_as_bitmap;} - static Dynamic nme_display_object_get_pedantic_bitmap_caching; /* REM */ - static Dynamic &nme_display_object_get_pedantic_bitmap_caching_dyn() { return nme_display_object_get_pedantic_bitmap_caching;} - static Dynamic nme_display_object_set_pedantic_bitmap_caching; /* REM */ - static Dynamic &nme_display_object_set_pedantic_bitmap_caching_dyn() { return nme_display_object_set_pedantic_bitmap_caching;} - static Dynamic nme_display_object_get_pixel_snapping; /* REM */ - static Dynamic &nme_display_object_get_pixel_snapping_dyn() { return nme_display_object_get_pixel_snapping;} - static Dynamic nme_display_object_set_pixel_snapping; /* REM */ - static Dynamic &nme_display_object_set_pixel_snapping_dyn() { return nme_display_object_set_pixel_snapping;} - static Dynamic nme_display_object_get_visible; /* REM */ - static Dynamic &nme_display_object_get_visible_dyn() { return nme_display_object_get_visible;} - static Dynamic nme_display_object_set_visible; /* REM */ - static Dynamic &nme_display_object_set_visible_dyn() { return nme_display_object_set_visible;} - static Dynamic nme_display_object_set_filters; /* REM */ - static Dynamic &nme_display_object_set_filters_dyn() { return nme_display_object_set_filters;} - static Dynamic nme_display_object_global_to_local; /* REM */ - static Dynamic &nme_display_object_global_to_local_dyn() { return nme_display_object_global_to_local;} - static Dynamic nme_display_object_local_to_global; /* REM */ - static Dynamic &nme_display_object_local_to_global_dyn() { return nme_display_object_local_to_global;} - static Dynamic nme_display_object_set_scale9_grid; /* REM */ - static Dynamic &nme_display_object_set_scale9_grid_dyn() { return nme_display_object_set_scale9_grid;} - static Dynamic nme_display_object_set_scroll_rect; /* REM */ - static Dynamic &nme_display_object_set_scroll_rect_dyn() { return nme_display_object_set_scroll_rect;} - static Dynamic nme_display_object_set_mask; /* REM */ - static Dynamic &nme_display_object_set_mask_dyn() { return nme_display_object_set_mask;} - static Dynamic nme_display_object_set_matrix; /* REM */ - static Dynamic &nme_display_object_set_matrix_dyn() { return nme_display_object_set_matrix;} - static Dynamic nme_display_object_get_matrix; /* REM */ - static Dynamic &nme_display_object_get_matrix_dyn() { return nme_display_object_get_matrix;} - static Dynamic nme_display_object_get_color_transform; /* REM */ - static Dynamic &nme_display_object_get_color_transform_dyn() { return nme_display_object_get_color_transform;} - static Dynamic nme_display_object_set_color_transform; /* REM */ - static Dynamic &nme_display_object_set_color_transform_dyn() { return nme_display_object_set_color_transform;} - static Dynamic nme_display_object_get_pixel_bounds; /* REM */ - static Dynamic &nme_display_object_get_pixel_bounds_dyn() { return nme_display_object_get_pixel_bounds;} - static Dynamic nme_display_object_get_bounds; /* REM */ - static Dynamic &nme_display_object_get_bounds_dyn() { return nme_display_object_get_bounds;} - static Dynamic nme_display_object_hit_test_point; /* REM */ - static Dynamic &nme_display_object_hit_test_point_dyn() { return nme_display_object_hit_test_point;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_DisplayObject */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/DisplayObjectContainer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/DisplayObjectContainer.h deleted file mode 100644 index efc559b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/DisplayObjectContainer.h +++ /dev/null @@ -1,143 +0,0 @@ -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#define INCLUDED_neash_display_DisplayObjectContainer - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,geom,Point) -namespace neash{ -namespace display{ - - -class DisplayObjectContainer_obj : public ::neash::display::InteractiveObject_obj{ - public: - typedef ::neash::display::InteractiveObject_obj super; - typedef DisplayObjectContainer_obj OBJ_; - DisplayObjectContainer_obj(); - Void __construct(Dynamic inHandle,::String inType); - - public: - static hx::ObjectPtr< DisplayObjectContainer_obj > __new(Dynamic inHandle,::String inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~DisplayObjectContainer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("DisplayObjectContainer"); } - - virtual bool nmeSetTabChildren( bool inValue); - Dynamic nmeSetTabChildren_dyn(); - - virtual bool nmeGetTabChildren( ); - Dynamic nmeGetTabChildren_dyn(); - - virtual int nmeGetNumChildren( ); - Dynamic nmeGetNumChildren_dyn(); - - virtual bool nmeSetMouseChildren( bool inVal); - Dynamic nmeSetMouseChildren_dyn(); - - virtual bool nmeGetMouseChildren( ); - Dynamic nmeGetMouseChildren_dyn(); - - virtual Void swapChildrenAt( int index1,int index2); - Dynamic swapChildrenAt_dyn(); - - virtual Void swapChildren( ::neash::display::DisplayObject child1,::neash::display::DisplayObject child2); - Dynamic swapChildren_dyn(); - - virtual Void setChildIndex( ::neash::display::DisplayObject child,int index); - Dynamic setChildIndex_dyn(); - - virtual ::neash::display::DisplayObject removeChildAt( int index); - Dynamic removeChildAt_dyn(); - - virtual ::neash::display::DisplayObject removeChild( ::neash::display::DisplayObject child); - Dynamic removeChild_dyn(); - - virtual Void nmeSwapChildrenAt( int index1,int index2); - Dynamic nmeSwapChildrenAt_dyn(); - - virtual Void nmeSetChildIndex( ::neash::display::DisplayObject child,int index); - Dynamic nmeSetChildIndex_dyn(); - - virtual Void nmeRemoveChildFromArray( ::neash::display::DisplayObject child); - Dynamic nmeRemoveChildFromArray_dyn(); - - virtual Void nmeOnRemoved( ::neash::display::DisplayObject inObj,bool inWasOnStage); - - virtual Void nmeOnAdded( ::neash::display::DisplayObject inObj,bool inIsOnStage); - - virtual Void nmeGetObjectsUnderPoint( ::neash::geom::Point point,Array< ::neash::display::DisplayObject > result); - - virtual int nmeGetChildIndex( ::neash::display::DisplayObject child); - Dynamic nmeGetChildIndex_dyn(); - - virtual ::neash::display::DisplayObject nmeFindByID( int inID); - - virtual Void nmeBroadcast( ::neash::events::Event inEvt); - - virtual Void nmeAddChild( ::neash::display::DisplayObject child); - Dynamic nmeAddChild_dyn(); - - virtual Array< ::neash::display::DisplayObject > getObjectsUnderPoint( ::neash::geom::Point point); - Dynamic getObjectsUnderPoint_dyn(); - - virtual int getChildIndex( ::neash::display::DisplayObject child); - Dynamic getChildIndex_dyn(); - - virtual ::neash::display::DisplayObject getChildByName( ::String name); - Dynamic getChildByName_dyn(); - - virtual ::neash::display::DisplayObject getChildAt( int index); - Dynamic getChildAt_dyn(); - - virtual bool contains( ::neash::display::DisplayObject child); - Dynamic contains_dyn(); - - virtual bool areInaccessibleObjectsUnderPoint( ::neash::geom::Point point); - Dynamic areInaccessibleObjectsUnderPoint_dyn(); - - virtual ::neash::display::DisplayObject addChildAt( ::neash::display::DisplayObject child,int index); - Dynamic addChildAt_dyn(); - - virtual ::neash::display::DisplayObject addChild( ::neash::display::DisplayObject child); - Dynamic addChild_dyn(); - - Array< ::neash::display::DisplayObject > nmeChildren; /* REM */ - bool tabChildren; /* REM */ - int numChildren; /* REM */ - bool mouseChildren; /* REM */ - static Dynamic nme_create_display_object_container; /* REM */ - static Dynamic &nme_create_display_object_container_dyn() { return nme_create_display_object_container;} - static Dynamic nme_doc_add_child; /* REM */ - static Dynamic &nme_doc_add_child_dyn() { return nme_doc_add_child;} - static Dynamic nme_doc_remove_child; /* REM */ - static Dynamic &nme_doc_remove_child_dyn() { return nme_doc_remove_child;} - static Dynamic nme_doc_set_child_index; /* REM */ - static Dynamic &nme_doc_set_child_index_dyn() { return nme_doc_set_child_index;} - static Dynamic nme_doc_get_mouse_children; /* REM */ - static Dynamic &nme_doc_get_mouse_children_dyn() { return nme_doc_get_mouse_children;} - static Dynamic nme_doc_set_mouse_children; /* REM */ - static Dynamic &nme_doc_set_mouse_children_dyn() { return nme_doc_set_mouse_children;} - static Dynamic nme_doc_swap_children; /* REM */ - static Dynamic &nme_doc_swap_children_dyn() { return nme_doc_swap_children;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_DisplayObjectContainer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/GradientType.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/GradientType.h deleted file mode 100644 index fae7c39..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/GradientType.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef INCLUDED_neash_display_GradientType -#define INCLUDED_neash_display_GradientType - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,GradientType) -namespace neash{ -namespace display{ - - -class GradientType_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef GradientType_obj OBJ_; - - public: - GradientType_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.GradientType"); } - ::String __ToString() const { return HX_CSTRING("GradientType.") + tag; } - - static ::neash::display::GradientType LINEAR; - static inline ::neash::display::GradientType LINEAR_dyn() { return LINEAR; } - static ::neash::display::GradientType RADIAL; - static inline ::neash::display::GradientType RADIAL_dyn() { return RADIAL; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_GradientType */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/Graphics.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/Graphics.h deleted file mode 100644 index 6ad2e15..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/Graphics.h +++ /dev/null @@ -1,170 +0,0 @@ -#ifndef INCLUDED_neash_display_Graphics -#define INCLUDED_neash_display_Graphics - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,CapsStyle) -HX_DECLARE_CLASS2(neash,display,GradientType) -HX_DECLARE_CLASS2(neash,display,Graphics) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,IGraphicsData) -HX_DECLARE_CLASS2(neash,display,InterpolationMethod) -HX_DECLARE_CLASS2(neash,display,JointStyle) -HX_DECLARE_CLASS2(neash,display,LineScaleMode) -HX_DECLARE_CLASS2(neash,display,SpreadMethod) -HX_DECLARE_CLASS2(neash,display,Tilesheet) -HX_DECLARE_CLASS2(neash,display,TriangleCulling) -HX_DECLARE_CLASS2(neash,geom,Matrix) -namespace neash{ -namespace display{ - - -class Graphics_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Graphics_obj OBJ_; - Graphics_obj(); - Void __construct(Dynamic inHandle); - - public: - static hx::ObjectPtr< Graphics_obj > __new(Dynamic inHandle); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Graphics_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Graphics"); } - - virtual Void moveTo( Float inX,Float inY); - Dynamic moveTo_dyn(); - - virtual Void lineTo( Float inX,Float inY); - Dynamic lineTo_dyn(); - - virtual Void lineStyle( Dynamic thickness,hx::Null< int > color,hx::Null< Float > alpha,hx::Null< bool > pixelHinting,::neash::display::LineScaleMode scaleMode,::neash::display::CapsStyle caps,::neash::display::JointStyle joints,hx::Null< Float > miterLimit); - Dynamic lineStyle_dyn(); - - virtual Void lineGradientStyle( ::neash::display::GradientType type,Dynamic colors,Dynamic alphas,Dynamic ratios,::neash::geom::Matrix matrix,::neash::display::SpreadMethod spreadMethod,::neash::display::InterpolationMethod interpolationMethod,hx::Null< Float > focalPointRatio); - Dynamic lineGradientStyle_dyn(); - - virtual Void lineBitmapStyle( ::neash::display::BitmapData bitmap,::neash::geom::Matrix matrix,hx::Null< bool > repeat,hx::Null< bool > smooth); - Dynamic lineBitmapStyle_dyn(); - - virtual Void endFill( ); - Dynamic endFill_dyn(); - - virtual Void drawTriangles( Array< Float > vertices,Array< int > indices,Array< Float > uvtData,::neash::display::TriangleCulling culling,Array< int > colours,hx::Null< int > blendMode,Array< Float > viewport); - Dynamic drawTriangles_dyn(); - - virtual Void drawTiles( ::neash::display::Tilesheet sheet,Array< Float > inXYID,hx::Null< bool > inSmooth,hx::Null< int > inFlags); - Dynamic drawTiles_dyn(); - - virtual Void drawPath( Array< int > commands,Array< Float > data,::String winding); - Dynamic drawPath_dyn(); - - virtual Void drawRoundRect( Float inX,Float inY,Float inWidth,Float inHeight,Float inRadX,Dynamic inRadY); - Dynamic drawRoundRect_dyn(); - - virtual Void drawRect( Float inX,Float inY,Float inWidth,Float inHeight); - Dynamic drawRect_dyn(); - - virtual Void drawPoints( Array< Float > inXY,Array< int > inPointRGBA,hx::Null< int > inDefaultRGBA,hx::Null< Float > inSize); - Dynamic drawPoints_dyn(); - - virtual Void drawGraphicsDatum( ::neash::display::IGraphicsData graphicsDatum); - Dynamic drawGraphicsDatum_dyn(); - - virtual Void drawGraphicsData( Array< ::neash::display::IGraphicsData > graphicsData); - Dynamic drawGraphicsData_dyn(); - - virtual Void drawEllipse( Float inX,Float inY,Float inWidth,Float inHeight); - Dynamic drawEllipse_dyn(); - - virtual Void drawCircle( Float inX,Float inY,Float inRadius); - Dynamic drawCircle_dyn(); - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - Dynamic curveTo_dyn(); - - virtual Void clear( ); - Dynamic clear_dyn(); - - virtual Void beginGradientFill( ::neash::display::GradientType type,Dynamic colors,Dynamic alphas,Dynamic ratios,::neash::geom::Matrix matrix,::neash::display::SpreadMethod spreadMethod,::neash::display::InterpolationMethod interpolationMethod,hx::Null< Float > focalPointRatio); - Dynamic beginGradientFill_dyn(); - - virtual Void beginFill( int color,hx::Null< Float > alpha); - Dynamic beginFill_dyn(); - - virtual Void beginBitmapFill( ::neash::display::BitmapData bitmap,::neash::geom::Matrix matrix,hx::Null< bool > repeat,hx::Null< bool > smooth); - Dynamic beginBitmapFill_dyn(); - - virtual Void arcTo( Float inCX,Float inCY,Float inX,Float inY); - Dynamic arcTo_dyn(); - - Dynamic nmeHandle; /* REM */ - static int TILE_SCALE; /* REM */ - static int TILE_ROTATION; /* REM */ - static int TILE_RGB; /* REM */ - static int TILE_ALPHA; /* REM */ - static int TILE_TRANS_2x2; /* REM */ - static int TILE_SMOOTH; /* REM */ - static int TILE_BLEND_NORMAL; /* REM */ - static int TILE_BLEND_ADD; /* REM */ - static int RGBA( int inRGB,hx::Null< int > inA); - static Dynamic RGBA_dyn(); - - static Dynamic nme_gfx_clear; /* REM */ - static Dynamic &nme_gfx_clear_dyn() { return nme_gfx_clear;} - static Dynamic nme_gfx_begin_fill; /* REM */ - static Dynamic &nme_gfx_begin_fill_dyn() { return nme_gfx_begin_fill;} - static Dynamic nme_gfx_begin_bitmap_fill; /* REM */ - static Dynamic &nme_gfx_begin_bitmap_fill_dyn() { return nme_gfx_begin_bitmap_fill;} - static Dynamic nme_gfx_line_bitmap_fill; /* REM */ - static Dynamic &nme_gfx_line_bitmap_fill_dyn() { return nme_gfx_line_bitmap_fill;} - static Dynamic nme_gfx_begin_gradient_fill; /* REM */ - static Dynamic &nme_gfx_begin_gradient_fill_dyn() { return nme_gfx_begin_gradient_fill;} - static Dynamic nme_gfx_line_gradient_fill; /* REM */ - static Dynamic &nme_gfx_line_gradient_fill_dyn() { return nme_gfx_line_gradient_fill;} - static Dynamic nme_gfx_end_fill; /* REM */ - static Dynamic &nme_gfx_end_fill_dyn() { return nme_gfx_end_fill;} - static Dynamic nme_gfx_line_style; /* REM */ - static Dynamic &nme_gfx_line_style_dyn() { return nme_gfx_line_style;} - static Dynamic nme_gfx_move_to; /* REM */ - static Dynamic &nme_gfx_move_to_dyn() { return nme_gfx_move_to;} - static Dynamic nme_gfx_line_to; /* REM */ - static Dynamic &nme_gfx_line_to_dyn() { return nme_gfx_line_to;} - static Dynamic nme_gfx_curve_to; /* REM */ - static Dynamic &nme_gfx_curve_to_dyn() { return nme_gfx_curve_to;} - static Dynamic nme_gfx_arc_to; /* REM */ - static Dynamic &nme_gfx_arc_to_dyn() { return nme_gfx_arc_to;} - static Dynamic nme_gfx_draw_ellipse; /* REM */ - static Dynamic &nme_gfx_draw_ellipse_dyn() { return nme_gfx_draw_ellipse;} - static Dynamic nme_gfx_draw_data; /* REM */ - static Dynamic &nme_gfx_draw_data_dyn() { return nme_gfx_draw_data;} - static Dynamic nme_gfx_draw_datum; /* REM */ - static Dynamic &nme_gfx_draw_datum_dyn() { return nme_gfx_draw_datum;} - static Dynamic nme_gfx_draw_rect; /* REM */ - static Dynamic &nme_gfx_draw_rect_dyn() { return nme_gfx_draw_rect;} - static Dynamic nme_gfx_draw_path; /* REM */ - static Dynamic &nme_gfx_draw_path_dyn() { return nme_gfx_draw_path;} - static Dynamic nme_gfx_draw_tiles; /* REM */ - static Dynamic &nme_gfx_draw_tiles_dyn() { return nme_gfx_draw_tiles;} - static Dynamic nme_gfx_draw_points; /* REM */ - static Dynamic &nme_gfx_draw_points_dyn() { return nme_gfx_draw_points;} - static Dynamic nme_gfx_draw_round_rect; /* REM */ - static Dynamic &nme_gfx_draw_round_rect_dyn() { return nme_gfx_draw_round_rect;} - static Dynamic nme_gfx_draw_triangles; /* REM */ - static Dynamic &nme_gfx_draw_triangles_dyn() { return nme_gfx_draw_triangles;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_Graphics */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/GraphicsPathWinding.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/GraphicsPathWinding.h deleted file mode 100644 index 94b9094..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/GraphicsPathWinding.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_neash_display_GraphicsPathWinding -#define INCLUDED_neash_display_GraphicsPathWinding - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,GraphicsPathWinding) -namespace neash{ -namespace display{ - - -class GraphicsPathWinding_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef GraphicsPathWinding_obj OBJ_; - GraphicsPathWinding_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< GraphicsPathWinding_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GraphicsPathWinding_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GraphicsPathWinding"); } - - static ::String EVEN_ODD; /* REM */ - static ::String NON_ZERO; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_GraphicsPathWinding */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/IBitmapDrawable.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/IBitmapDrawable.h deleted file mode 100644 index e8759ae..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/IBitmapDrawable.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_neash_display_IBitmapDrawable -#define INCLUDED_neash_display_IBitmapDrawable - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,geom,ColorTransform) -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace neash{ -namespace display{ - - -class IBitmapDrawable_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IBitmapDrawable_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void nmeDrawToSurface( Dynamic inSurface,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,bool smoothing)=0; - Dynamic nmeDrawToSurface_dyn(); -}; - -#define DELEGATE_neash_display_IBitmapDrawable \ -virtual Void nmeDrawToSurface( Dynamic inSurface,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,bool smoothing) { return mDelegate->nmeDrawToSurface(inSurface,matrix,colorTransform,blendMode,clipRect,smoothing);} \ -virtual Dynamic nmeDrawToSurface_dyn() { return mDelegate->nmeDrawToSurface_dyn();} \ - - -template -class IBitmapDrawable_delegate_ : public IBitmapDrawable_obj -{ - protected: - IMPL *mDelegate; - public: - IBitmapDrawable_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_neash_display_IBitmapDrawable -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_IBitmapDrawable */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/IGraphicsData.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/IGraphicsData.h deleted file mode 100644 index 6798199..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/IGraphicsData.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_neash_display_IGraphicsData -#define INCLUDED_neash_display_IGraphicsData - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,IGraphicsData) -namespace neash{ -namespace display{ - - -class IGraphicsData_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef IGraphicsData_obj OBJ_; - IGraphicsData_obj(); - Void __construct(Dynamic inHandle); - - public: - static hx::ObjectPtr< IGraphicsData_obj > __new(Dynamic inHandle); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~IGraphicsData_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("IGraphicsData"); } - - Dynamic nmeHandle; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_IGraphicsData */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/InteractiveObject.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/InteractiveObject.h deleted file mode 100644 index d810c3e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/InteractiveObject.h +++ /dev/null @@ -1,83 +0,0 @@ -#ifndef INCLUDED_neash_display_InteractiveObject -#define INCLUDED_neash_display_InteractiveObject - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace display{ - - -class InteractiveObject_obj : public ::neash::display::DisplayObject_obj{ - public: - typedef ::neash::display::DisplayObject_obj super; - typedef InteractiveObject_obj OBJ_; - InteractiveObject_obj(); - Void __construct(Dynamic inHandle,::String inType); - - public: - static hx::ObjectPtr< InteractiveObject_obj > __new(Dynamic inHandle,::String inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~InteractiveObject_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("InteractiveObject"); } - - virtual bool nmeGetNeedsSoftKeyboard( ); - Dynamic nmeGetNeedsSoftKeyboard_dyn(); - - virtual bool nmeSetNeedsSoftKeyboard( bool inVal); - Dynamic nmeSetNeedsSoftKeyboard_dyn(); - - virtual bool nmeGetMoveForSoftKeyboard( ); - Dynamic nmeGetMoveForSoftKeyboard_dyn(); - - virtual bool nmeSetMoveForSoftKeyboard( bool inVal); - Dynamic nmeSetMoveForSoftKeyboard_dyn(); - - virtual bool nmeSetMouseEnabled( bool inVal); - Dynamic nmeSetMouseEnabled_dyn(); - - virtual bool nmeGetMouseEnabled( ); - Dynamic nmeGetMouseEnabled_dyn(); - - virtual bool requestSoftKeyboard( ); - Dynamic requestSoftKeyboard_dyn(); - - virtual ::neash::display::InteractiveObject nmeAsInteractiveObject( ); - - bool nmeMouseEnabled; /* REM */ - bool needsSoftKeyboard; /* REM */ - bool moveForSoftKeyboard; /* REM */ - bool mouseEnabled; /* REM */ - bool doubleClickEnabled; /* REM */ - static Dynamic nme_display_object_set_mouse_enabled; /* REM */ - static Dynamic &nme_display_object_set_mouse_enabled_dyn() { return nme_display_object_set_mouse_enabled;} - static Dynamic nme_display_object_set_needs_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_set_needs_soft_keyboard_dyn() { return nme_display_object_set_needs_soft_keyboard;} - static Dynamic nme_display_object_get_needs_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_get_needs_soft_keyboard_dyn() { return nme_display_object_get_needs_soft_keyboard;} - static Dynamic nme_display_object_set_moves_for_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_set_moves_for_soft_keyboard_dyn() { return nme_display_object_set_moves_for_soft_keyboard;} - static Dynamic nme_display_object_get_moves_for_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_get_moves_for_soft_keyboard_dyn() { return nme_display_object_get_moves_for_soft_keyboard;} - static Dynamic nme_display_object_request_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_request_soft_keyboard_dyn() { return nme_display_object_request_soft_keyboard;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_InteractiveObject */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/InterpolationMethod.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/InterpolationMethod.h deleted file mode 100644 index dac7148..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/InterpolationMethod.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef INCLUDED_neash_display_InterpolationMethod -#define INCLUDED_neash_display_InterpolationMethod - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,InterpolationMethod) -namespace neash{ -namespace display{ - - -class InterpolationMethod_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef InterpolationMethod_obj OBJ_; - - public: - InterpolationMethod_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.InterpolationMethod"); } - ::String __ToString() const { return HX_CSTRING("InterpolationMethod.") + tag; } - - static ::neash::display::InterpolationMethod LINEAR_RGB; - static inline ::neash::display::InterpolationMethod LINEAR_RGB_dyn() { return LINEAR_RGB; } - static ::neash::display::InterpolationMethod RGB; - static inline ::neash::display::InterpolationMethod RGB_dyn() { return RGB; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_InterpolationMethod */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/JointStyle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/JointStyle.h deleted file mode 100644 index 6e5f8e9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/JointStyle.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_display_JointStyle -#define INCLUDED_neash_display_JointStyle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,JointStyle) -namespace neash{ -namespace display{ - - -class JointStyle_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef JointStyle_obj OBJ_; - - public: - JointStyle_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.JointStyle"); } - ::String __ToString() const { return HX_CSTRING("JointStyle.") + tag; } - - static ::neash::display::JointStyle BEVEL; - static inline ::neash::display::JointStyle BEVEL_dyn() { return BEVEL; } - static ::neash::display::JointStyle MITER; - static inline ::neash::display::JointStyle MITER_dyn() { return MITER; } - static ::neash::display::JointStyle ROUND; - static inline ::neash::display::JointStyle ROUND_dyn() { return ROUND; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_JointStyle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/LineScaleMode.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/LineScaleMode.h deleted file mode 100644 index 1842095..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/LineScaleMode.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_neash_display_LineScaleMode -#define INCLUDED_neash_display_LineScaleMode - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,LineScaleMode) -namespace neash{ -namespace display{ - - -class LineScaleMode_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef LineScaleMode_obj OBJ_; - - public: - LineScaleMode_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.LineScaleMode"); } - ::String __ToString() const { return HX_CSTRING("LineScaleMode.") + tag; } - - static ::neash::display::LineScaleMode HORIZONTAL; - static inline ::neash::display::LineScaleMode HORIZONTAL_dyn() { return HORIZONTAL; } - static ::neash::display::LineScaleMode NONE; - static inline ::neash::display::LineScaleMode NONE_dyn() { return NONE; } - static ::neash::display::LineScaleMode NORMAL; - static inline ::neash::display::LineScaleMode NORMAL_dyn() { return NORMAL; } - static ::neash::display::LineScaleMode OPENGL; - static inline ::neash::display::LineScaleMode OPENGL_dyn() { return OPENGL; } - static ::neash::display::LineScaleMode VERTICAL; - static inline ::neash::display::LineScaleMode VERTICAL_dyn() { return VERTICAL; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_LineScaleMode */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/ManagedStage.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/ManagedStage.h deleted file mode 100644 index c9596b3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/ManagedStage.h +++ /dev/null @@ -1,101 +0,0 @@ -#ifndef INCLUDED_neash_display_ManagedStage -#define INCLUDED_neash_display_ManagedStage - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,ManagedStage) -HX_DECLARE_CLASS2(neash,display,Stage) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace display{ - - -class ManagedStage_obj : public ::neash::display::Stage_obj{ - public: - typedef ::neash::display::Stage_obj super; - typedef ManagedStage_obj OBJ_; - ManagedStage_obj(); - Void __construct(int inWidth,int inHeight,hx::Null< int > __o_inFlags); - - public: - static hx::ObjectPtr< ManagedStage_obj > __new(int inWidth,int inHeight,hx::Null< int > __o_inFlags); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ManagedStage_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ManagedStage"); } - - Dynamic setNextWake; - inline Dynamic &setNextWake_dyn() {return setNextWake; } - - virtual Void sendQuit( ); - Dynamic sendQuit_dyn(); - - virtual Void resize( int inWidth,int inHeight); - Dynamic resize_dyn(); - - virtual Void pumpEvent( Dynamic inEvent); - Dynamic pumpEvent_dyn(); - - virtual Void nmeRender( bool inSendEnterFrame); - - virtual Float nmeDoProcessStageEvent( Dynamic inEvent); - - Dynamic endRender; - inline Dynamic &endRender_dyn() {return endRender; } - - Dynamic beginRender; - inline Dynamic &beginRender_dyn() {return beginRender; } - - static int etUnknown; /* REM */ - static int etKeyDown; /* REM */ - static int etChar; /* REM */ - static int etKeyUp; /* REM */ - static int etMouseMove; /* REM */ - static int etMouseDown; /* REM */ - static int etMouseClick; /* REM */ - static int etMouseUp; /* REM */ - static int etResize; /* REM */ - static int etPoll; /* REM */ - static int etQuit; /* REM */ - static int etFocus; /* REM */ - static int etShouldRotate; /* REM */ - static int etDestroyHandler; /* REM */ - static int etRedraw; /* REM */ - static int etTouchBegin; /* REM */ - static int etTouchMove; /* REM */ - static int etTouchEnd; /* REM */ - static int etTouchTap; /* REM */ - static int etChange; /* REM */ - static int efLeftDown; /* REM */ - static int efShiftDown; /* REM */ - static int efCtrlDown; /* REM */ - static int efAltDown; /* REM */ - static int efCommandDown; /* REM */ - static int efMiddleDown; /* REM */ - static int efRightDown; /* REM */ - static int efLocationRight; /* REM */ - static int efPrimaryTouch; /* REM */ - static Dynamic nme_managed_stage_create; /* REM */ - static Dynamic &nme_managed_stage_create_dyn() { return nme_managed_stage_create;} - static Dynamic nme_managed_stage_pump_event; /* REM */ - static Dynamic &nme_managed_stage_pump_event_dyn() { return nme_managed_stage_pump_event;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_ManagedStage */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/MovieClip.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/MovieClip.h deleted file mode 100644 index 1940f2f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/MovieClip.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_neash_display_MovieClip -#define INCLUDED_neash_display_MovieClip - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,MovieClip) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace display{ - - -class MovieClip_obj : public ::neash::display::Sprite_obj{ - public: - typedef ::neash::display::Sprite_obj super; - typedef MovieClip_obj OBJ_; - MovieClip_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< MovieClip_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~MovieClip_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("MovieClip"); } - - virtual int nmeGetTotalFrames( ); - Dynamic nmeGetTotalFrames_dyn(); - - virtual int nmeGetCurrentFrame( ); - Dynamic nmeGetCurrentFrame_dyn(); - - virtual Void stop( ); - Dynamic stop_dyn(); - - virtual Void play( ); - Dynamic play_dyn(); - - virtual ::String nmeGetType( ); - - virtual Void gotoAndStop( Dynamic frame,::String scene); - Dynamic gotoAndStop_dyn(); - - virtual Void gotoAndPlay( Dynamic frame,::String scene); - Dynamic gotoAndPlay_dyn(); - - int mTotalFrames; /* REM */ - int mCurrentFrame; /* REM */ - int totalFrames; /* REM */ - int framesLoaded; /* REM */ - bool enabled; /* REM */ - int currentFrame; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_MovieClip */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/OptimizedPerlin.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/OptimizedPerlin.h deleted file mode 100644 index 06d73f5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/OptimizedPerlin.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef INCLUDED_neash_display_OptimizedPerlin -#define INCLUDED_neash_display_OptimizedPerlin - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,OptimizedPerlin) -namespace neash{ -namespace display{ - - -class OptimizedPerlin_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef OptimizedPerlin_obj OBJ_; - OptimizedPerlin_obj(); - Void __construct(hx::Null< int > __o_seed,hx::Null< int > __o_octaves,hx::Null< Float > __o_falloff); - - public: - static hx::ObjectPtr< OptimizedPerlin_obj > __new(hx::Null< int > __o_seed,hx::Null< int > __o_octaves,hx::Null< Float > __o_falloff); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~OptimizedPerlin_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("OptimizedPerlin"); } - - virtual Void seedOffset( int iSeed); - Dynamic seedOffset_dyn(); - - virtual Void octFreqPers( Float fPersistence); - Dynamic octFreqPers_dyn(); - - virtual Void fill( ::neash::display::BitmapData bitmap,Float _x,Float _y,Float _z,Dynamic _); - Dynamic fill_dyn(); - - Float baseFactor; /* REM */ - Float iZoffset; /* REM */ - Float iYoffset; /* REM */ - Float iXoffset; /* REM */ - Float fPersMax; /* REM */ - Array< Float > aOctPers; /* REM */ - Array< Float > aOctFreq; /* REM */ - int octaves; /* REM */ - static Array< int > P; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_OptimizedPerlin */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/PixelSnapping.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/PixelSnapping.h deleted file mode 100644 index 0a8a60c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/PixelSnapping.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_display_PixelSnapping -#define INCLUDED_neash_display_PixelSnapping - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,PixelSnapping) -namespace neash{ -namespace display{ - - -class PixelSnapping_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef PixelSnapping_obj OBJ_; - - public: - PixelSnapping_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.PixelSnapping"); } - ::String __ToString() const { return HX_CSTRING("PixelSnapping.") + tag; } - - static ::neash::display::PixelSnapping ALWAYS; - static inline ::neash::display::PixelSnapping ALWAYS_dyn() { return ALWAYS; } - static ::neash::display::PixelSnapping AUTO; - static inline ::neash::display::PixelSnapping AUTO_dyn() { return AUTO; } - static ::neash::display::PixelSnapping NEVER; - static inline ::neash::display::PixelSnapping NEVER_dyn() { return NEVER; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_PixelSnapping */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/Shape.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/Shape.h deleted file mode 100644 index f04105e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/Shape.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef INCLUDED_neash_display_Shape -#define INCLUDED_neash_display_Shape - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,Shape) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace display{ - - -class Shape_obj : public ::neash::display::DisplayObject_obj{ - public: - typedef ::neash::display::DisplayObject_obj super; - typedef Shape_obj OBJ_; - Shape_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Shape_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Shape_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Shape"); } - -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_Shape */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/SpreadMethod.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/SpreadMethod.h deleted file mode 100644 index 6031764..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/SpreadMethod.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_display_SpreadMethod -#define INCLUDED_neash_display_SpreadMethod - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,SpreadMethod) -namespace neash{ -namespace display{ - - -class SpreadMethod_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef SpreadMethod_obj OBJ_; - - public: - SpreadMethod_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.SpreadMethod"); } - ::String __ToString() const { return HX_CSTRING("SpreadMethod.") + tag; } - - static ::neash::display::SpreadMethod PAD; - static inline ::neash::display::SpreadMethod PAD_dyn() { return PAD; } - static ::neash::display::SpreadMethod REFLECT; - static inline ::neash::display::SpreadMethod REFLECT_dyn() { return REFLECT; } - static ::neash::display::SpreadMethod REPEAT; - static inline ::neash::display::SpreadMethod REPEAT_dyn() { return REPEAT; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_SpreadMethod */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/Sprite.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/Sprite.h deleted file mode 100644 index c19bdbe..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/Sprite.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef INCLUDED_neash_display_Sprite -#define INCLUDED_neash_display_Sprite - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace neash{ -namespace display{ - - -class Sprite_obj : public ::neash::display::DisplayObjectContainer_obj{ - public: - typedef ::neash::display::DisplayObjectContainer_obj super; - typedef Sprite_obj OBJ_; - Sprite_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Sprite_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Sprite_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Sprite"); } - - virtual Void stopDrag( ); - Dynamic stopDrag_dyn(); - - virtual Void startDrag( hx::Null< bool > lockCenter,::neash::geom::Rectangle bounds); - Dynamic startDrag_dyn(); - - virtual ::String nmeGetType( ); - Dynamic nmeGetType_dyn(); - - bool useHandCursor; /* REM */ - bool buttonMode; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_Sprite */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/Stage.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/Stage.h deleted file mode 100644 index fed2f88..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/Stage.h +++ /dev/null @@ -1,288 +0,0 @@ -#ifndef INCLUDED_neash_display_Stage -#define INCLUDED_neash_display_Stage - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(IntHash) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,display,Stage) -HX_DECLARE_CLASS2(neash,display,StageAlign) -HX_DECLARE_CLASS2(neash,display,StageDisplayState) -HX_DECLARE_CLASS2(neash,display,StageQuality) -HX_DECLARE_CLASS2(neash,display,StageScaleMode) -HX_DECLARE_CLASS2(neash,display,TouchInfo) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,events,MouseEvent) -HX_DECLARE_CLASS2(neash,geom,Point) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace neash{ -namespace display{ - - -class Stage_obj : public ::neash::display::DisplayObjectContainer_obj{ - public: - typedef ::neash::display::DisplayObjectContainer_obj super; - typedef Stage_obj OBJ_; - Stage_obj(); - Void __construct(Dynamic inHandle,int inWidth,int inHeight); - - public: - static hx::ObjectPtr< Stage_obj > __new(Dynamic inHandle,int inWidth,int inHeight); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Stage_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Stage"); } - - virtual int nmeGetStageWidth( ); - Dynamic nmeGetStageWidth_dyn(); - - virtual int nmeGetStageHeight( ); - Dynamic nmeGetStageHeight_dyn(); - - virtual bool nmeSetStageFocusRect( bool inVal); - Dynamic nmeSetStageFocusRect_dyn(); - - virtual bool nmeGetStageFocusRect( ); - Dynamic nmeGetStageFocusRect_dyn(); - - virtual ::neash::display::StageScaleMode nmeSetScaleMode( ::neash::display::StageScaleMode inMode); - Dynamic nmeSetScaleMode_dyn(); - - virtual ::neash::display::StageScaleMode nmeGetScaleMode( ); - Dynamic nmeGetScaleMode_dyn(); - - virtual ::neash::display::StageQuality nmeSetQuality( ::neash::display::StageQuality inQuality); - Dynamic nmeSetQuality_dyn(); - - virtual ::neash::display::StageQuality nmeGetQuality( ); - Dynamic nmeGetQuality_dyn(); - - virtual bool nmeIsOpenGL( ); - Dynamic nmeIsOpenGL_dyn(); - - virtual Float nmeSetFrameRate( Float inRate); - Dynamic nmeSetFrameRate_dyn(); - - virtual ::neash::display::InteractiveObject nmeSetFocus( ::neash::display::InteractiveObject inObject); - Dynamic nmeSetFocus_dyn(); - - virtual ::neash::display::InteractiveObject nmeGetFocus( ); - Dynamic nmeGetFocus_dyn(); - - virtual Float nmeGetDPIScale( ); - Dynamic nmeGetDPIScale_dyn(); - - virtual ::neash::display::StageDisplayState nmeSetDisplayState( ::neash::display::StageDisplayState inState); - Dynamic nmeSetDisplayState_dyn(); - - virtual ::neash::display::StageDisplayState nmeGetDisplayState( ); - Dynamic nmeGetDisplayState_dyn(); - - virtual ::neash::display::StageAlign nmeSetAlign( ::neash::display::StageAlign inMode); - Dynamic nmeSetAlign_dyn(); - - virtual ::neash::display::StageAlign nmeGetAlign( ); - Dynamic nmeGetAlign_dyn(); - - virtual Void showCursor( bool inShow); - Dynamic showCursor_dyn(); - - virtual Float nmeUpdateNextWake( ); - Dynamic nmeUpdateNextWake_dyn(); - - virtual Void nmeStopDrag( ::neash::display::Sprite sprite); - Dynamic nmeStopDrag_dyn(); - - virtual Void nmeStartDrag( ::neash::display::Sprite sprite,bool lockCenter,::neash::geom::Rectangle bounds); - Dynamic nmeStartDrag_dyn(); - - virtual Void nmeSetActive( bool inActive); - Dynamic nmeSetActive_dyn(); - - virtual Void nmeRender( bool inSendEnterFrame); - Dynamic nmeRender_dyn(); - - virtual Void nmePollTimers( ); - Dynamic nmePollTimers_dyn(); - - virtual Void nmeOnTouch( Dynamic inEvent,::String inType,::neash::display::TouchInfo touchInfo); - Dynamic nmeOnTouch_dyn(); - - virtual Void nmeOnResize( Float inW,Float inH); - Dynamic nmeOnResize_dyn(); - - virtual Void nmeOnMouse( Dynamic inEvent,::String inType,bool inFromMouse); - Dynamic nmeOnMouse_dyn(); - - virtual Void nmeOnKey( Dynamic inEvent,::String inType); - Dynamic nmeOnKey_dyn(); - - virtual Void nmeOnJoystick( Dynamic inEvent,::String inType); - Dynamic nmeOnJoystick_dyn(); - - virtual Void nmeOnFocus( Dynamic inEvent); - Dynamic nmeOnFocus_dyn(); - - virtual Void nmeOnChange( Dynamic inEvent); - Dynamic nmeOnChange_dyn(); - - virtual Float nmeNextFrameDue( Float inOtherTimers); - Dynamic nmeNextFrameDue_dyn(); - - virtual ::neash::display::Stage nmeGetStage( ); - - virtual Void nmeDrag( ::neash::geom::Point inMouse); - Dynamic nmeDrag_dyn(); - - virtual Dynamic nmeProcessStageEvent( Dynamic inEvent); - Dynamic nmeProcessStageEvent_dyn(); - - virtual Void dummyTrace( ); - Dynamic dummyTrace_dyn(); - - virtual Float nmeDoProcessStageEvent( Dynamic inEvent); - Dynamic nmeDoProcessStageEvent_dyn(); - - virtual Void nmeCheckRender( ); - Dynamic nmeCheckRender_dyn(); - - virtual bool nmeCheckInOuts( ::neash::events::MouseEvent inEvent,Array< ::neash::display::InteractiveObject > inStack,::neash::display::TouchInfo touchInfo); - Dynamic nmeCheckInOuts_dyn(); - - virtual Void nmeCheckFocusInOuts( Dynamic inEvent,Array< ::neash::display::InteractiveObject > inStack); - Dynamic nmeCheckFocusInOuts_dyn(); - - virtual Void invalidate( ); - Dynamic invalidate_dyn(); - - ::IntHash nmeTouchInfo; /* REM */ - Array< ::neash::display::InteractiveObject > nmeMouseOverObjects; /* REM */ - Float nmeLastRender; /* REM */ - Array< ::neash::display::InteractiveObject > nmeLastDown; /* REM */ - Float nmeLastClickTime; /* REM */ - bool nmeInvalid; /* REM */ - Float nmeFramePeriod; /* REM */ - Array< ::neash::display::InteractiveObject > nmeFocusOverObjects; /* REM */ - Float nmeDragOffsetY; /* REM */ - Float nmeDragOffsetX; /* REM */ - ::neash::display::Sprite nmeDragObject; /* REM */ - ::neash::geom::Rectangle nmeDragBounds; /* REM */ - ::IntHash nmeJoyAxisData; /* REM */ - int stageWidth; /* REM */ - int stageHeight; /* REM */ - bool stageFocusRect; /* REM */ - ::neash::display::StageScaleMode scaleMode; /* REM */ - Dynamic renderRequest; /* REM */ - Dynamic &renderRequest_dyn() { return renderRequest;} - ::neash::display::StageQuality quality; /* REM */ - bool pauseWhenDeactivated; /* REM */ - Dynamic onQuit; /* REM */ - Dynamic &onQuit_dyn() { return onQuit;} - Dynamic onKey; /* REM */ - Dynamic &onKey_dyn() { return onKey;} - bool isOpenGL; /* REM */ - Float frameRate; /* REM */ - ::neash::display::InteractiveObject focus; /* REM */ - Float dpiScale; /* REM */ - ::neash::display::StageDisplayState displayState; /* REM */ - ::neash::display::StageAlign align; /* REM */ - bool active; /* REM */ - static Float nmeEarlyWakeup; /* REM */ - static int OrientationPortrait; /* REM */ - static int OrientationPortraitUpsideDown; /* REM */ - static int OrientationLandscapeRight; /* REM */ - static int OrientationLandscapeLeft; /* REM */ - static int OrientationFaceUp; /* REM */ - static int OrientationFaceDown; /* REM */ - static int efLeftDown; /* REM */ - static int efShiftDown; /* REM */ - static int efCtrlDown; /* REM */ - static int efAltDown; /* REM */ - static int efCommandDown; /* REM */ - static int efLocationRight; /* REM */ - static int efNoNativeClick; /* REM */ - static Array< ::String > nmeMouseChanges; /* REM */ - static Array< ::String > nmeTouchChanges; /* REM */ - static Array< ::String > sClickEvents; /* REM */ - static Array< ::String > sDownEvents; /* REM */ - static Array< ::String > sUpEvents; /* REM */ - static Dynamic getOrientation; - static inline Dynamic &getOrientation_dyn() {return getOrientation; } - - static Dynamic getNormalOrientation; - static inline Dynamic &getNormalOrientation_dyn() {return getNormalOrientation; } - - static Void setFixedOrientation( int inOrientation); - static Dynamic setFixedOrientation_dyn(); - - static Dynamic shouldRotateInterface; - static inline Dynamic &shouldRotateInterface_dyn() {return shouldRotateInterface; } - - static Dynamic nme_set_stage_handler; /* REM */ - static Dynamic &nme_set_stage_handler_dyn() { return nme_set_stage_handler;} - static Dynamic nme_render_stage; /* REM */ - static Dynamic &nme_render_stage_dyn() { return nme_render_stage;} - static Dynamic nme_stage_get_focus_id; /* REM */ - static Dynamic &nme_stage_get_focus_id_dyn() { return nme_stage_get_focus_id;} - static Dynamic nme_stage_set_focus; /* REM */ - static Dynamic &nme_stage_set_focus_dyn() { return nme_stage_set_focus;} - static Dynamic nme_stage_get_focus_rect; /* REM */ - static Dynamic &nme_stage_get_focus_rect_dyn() { return nme_stage_get_focus_rect;} - static Dynamic nme_stage_set_focus_rect; /* REM */ - static Dynamic &nme_stage_set_focus_rect_dyn() { return nme_stage_set_focus_rect;} - static Dynamic nme_stage_is_opengl; /* REM */ - static Dynamic &nme_stage_is_opengl_dyn() { return nme_stage_is_opengl;} - static Dynamic nme_stage_get_stage_width; /* REM */ - static Dynamic &nme_stage_get_stage_width_dyn() { return nme_stage_get_stage_width;} - static Dynamic nme_stage_get_stage_height; /* REM */ - static Dynamic &nme_stage_get_stage_height_dyn() { return nme_stage_get_stage_height;} - static Dynamic nme_stage_get_dpi_scale; /* REM */ - static Dynamic &nme_stage_get_dpi_scale_dyn() { return nme_stage_get_dpi_scale;} - static Dynamic nme_stage_get_scale_mode; /* REM */ - static Dynamic &nme_stage_get_scale_mode_dyn() { return nme_stage_get_scale_mode;} - static Dynamic nme_stage_set_scale_mode; /* REM */ - static Dynamic &nme_stage_set_scale_mode_dyn() { return nme_stage_set_scale_mode;} - static Dynamic nme_stage_get_align; /* REM */ - static Dynamic &nme_stage_get_align_dyn() { return nme_stage_get_align;} - static Dynamic nme_stage_set_align; /* REM */ - static Dynamic &nme_stage_set_align_dyn() { return nme_stage_set_align;} - static Dynamic nme_stage_get_quality; /* REM */ - static Dynamic &nme_stage_get_quality_dyn() { return nme_stage_get_quality;} - static Dynamic nme_stage_set_quality; /* REM */ - static Dynamic &nme_stage_set_quality_dyn() { return nme_stage_set_quality;} - static Dynamic nme_stage_get_display_state; /* REM */ - static Dynamic &nme_stage_get_display_state_dyn() { return nme_stage_get_display_state;} - static Dynamic nme_stage_set_display_state; /* REM */ - static Dynamic &nme_stage_set_display_state_dyn() { return nme_stage_set_display_state;} - static Dynamic nme_stage_set_next_wake; /* REM */ - static Dynamic &nme_stage_set_next_wake_dyn() { return nme_stage_set_next_wake;} - static Dynamic nme_stage_request_render; /* REM */ - static Dynamic nme_stage_show_cursor; /* REM */ - static Dynamic &nme_stage_show_cursor_dyn() { return nme_stage_show_cursor;} - static Dynamic nme_stage_set_fixed_orientation; /* REM */ - static Dynamic &nme_stage_set_fixed_orientation_dyn() { return nme_stage_set_fixed_orientation;} - static Dynamic nme_stage_get_orientation; /* REM */ - static Dynamic &nme_stage_get_orientation_dyn() { return nme_stage_get_orientation;} - static Dynamic nme_stage_get_normal_orientation; /* REM */ - static Dynamic &nme_stage_get_normal_orientation_dyn() { return nme_stage_get_normal_orientation;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_Stage */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/StageAlign.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/StageAlign.h deleted file mode 100644 index f3a5946..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/StageAlign.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_neash_display_StageAlign -#define INCLUDED_neash_display_StageAlign - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,StageAlign) -namespace neash{ -namespace display{ - - -class StageAlign_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef StageAlign_obj OBJ_; - - public: - StageAlign_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.StageAlign"); } - ::String __ToString() const { return HX_CSTRING("StageAlign.") + tag; } - - static ::neash::display::StageAlign BOTTOM; - static inline ::neash::display::StageAlign BOTTOM_dyn() { return BOTTOM; } - static ::neash::display::StageAlign BOTTOM_LEFT; - static inline ::neash::display::StageAlign BOTTOM_LEFT_dyn() { return BOTTOM_LEFT; } - static ::neash::display::StageAlign BOTTOM_RIGHT; - static inline ::neash::display::StageAlign BOTTOM_RIGHT_dyn() { return BOTTOM_RIGHT; } - static ::neash::display::StageAlign LEFT; - static inline ::neash::display::StageAlign LEFT_dyn() { return LEFT; } - static ::neash::display::StageAlign RIGHT; - static inline ::neash::display::StageAlign RIGHT_dyn() { return RIGHT; } - static ::neash::display::StageAlign TOP; - static inline ::neash::display::StageAlign TOP_dyn() { return TOP; } - static ::neash::display::StageAlign TOP_LEFT; - static inline ::neash::display::StageAlign TOP_LEFT_dyn() { return TOP_LEFT; } - static ::neash::display::StageAlign TOP_RIGHT; - static inline ::neash::display::StageAlign TOP_RIGHT_dyn() { return TOP_RIGHT; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_StageAlign */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/StageDisplayState.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/StageDisplayState.h deleted file mode 100644 index cc293fa..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/StageDisplayState.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_display_StageDisplayState -#define INCLUDED_neash_display_StageDisplayState - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,StageDisplayState) -namespace neash{ -namespace display{ - - -class StageDisplayState_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef StageDisplayState_obj OBJ_; - - public: - StageDisplayState_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.StageDisplayState"); } - ::String __ToString() const { return HX_CSTRING("StageDisplayState.") + tag; } - - static ::neash::display::StageDisplayState FULL_SCREEN; - static inline ::neash::display::StageDisplayState FULL_SCREEN_dyn() { return FULL_SCREEN; } - static ::neash::display::StageDisplayState FULL_SCREEN_INTERACTIVE; - static inline ::neash::display::StageDisplayState FULL_SCREEN_INTERACTIVE_dyn() { return FULL_SCREEN_INTERACTIVE; } - static ::neash::display::StageDisplayState NORMAL; - static inline ::neash::display::StageDisplayState NORMAL_dyn() { return NORMAL; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_StageDisplayState */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/StageQuality.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/StageQuality.h deleted file mode 100644 index b82b98d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/StageQuality.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_neash_display_StageQuality -#define INCLUDED_neash_display_StageQuality - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,StageQuality) -namespace neash{ -namespace display{ - - -class StageQuality_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef StageQuality_obj OBJ_; - - public: - StageQuality_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.StageQuality"); } - ::String __ToString() const { return HX_CSTRING("StageQuality.") + tag; } - - static ::neash::display::StageQuality BEST; - static inline ::neash::display::StageQuality BEST_dyn() { return BEST; } - static ::neash::display::StageQuality HIGH; - static inline ::neash::display::StageQuality HIGH_dyn() { return HIGH; } - static ::neash::display::StageQuality LOW; - static inline ::neash::display::StageQuality LOW_dyn() { return LOW; } - static ::neash::display::StageQuality MEDIUM; - static inline ::neash::display::StageQuality MEDIUM_dyn() { return MEDIUM; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_StageQuality */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/StageScaleMode.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/StageScaleMode.h deleted file mode 100644 index 9a84d48..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/StageScaleMode.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_neash_display_StageScaleMode -#define INCLUDED_neash_display_StageScaleMode - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,StageScaleMode) -namespace neash{ -namespace display{ - - -class StageScaleMode_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef StageScaleMode_obj OBJ_; - - public: - StageScaleMode_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.StageScaleMode"); } - ::String __ToString() const { return HX_CSTRING("StageScaleMode.") + tag; } - - static ::neash::display::StageScaleMode EXACT_FIT; - static inline ::neash::display::StageScaleMode EXACT_FIT_dyn() { return EXACT_FIT; } - static ::neash::display::StageScaleMode NO_BORDER; - static inline ::neash::display::StageScaleMode NO_BORDER_dyn() { return NO_BORDER; } - static ::neash::display::StageScaleMode NO_SCALE; - static inline ::neash::display::StageScaleMode NO_SCALE_dyn() { return NO_SCALE; } - static ::neash::display::StageScaleMode SHOW_ALL; - static inline ::neash::display::StageScaleMode SHOW_ALL_dyn() { return SHOW_ALL; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_StageScaleMode */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/Tilesheet.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/Tilesheet.h deleted file mode 100644 index ff67e8f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/Tilesheet.h +++ /dev/null @@ -1,62 +0,0 @@ -#ifndef INCLUDED_neash_display_Tilesheet -#define INCLUDED_neash_display_Tilesheet - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,Graphics) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,Tilesheet) -HX_DECLARE_CLASS2(neash,geom,Point) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace neash{ -namespace display{ - - -class Tilesheet_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Tilesheet_obj OBJ_; - Tilesheet_obj(); - Void __construct(::neash::display::BitmapData inImage); - - public: - static hx::ObjectPtr< Tilesheet_obj > __new(::neash::display::BitmapData inImage); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Tilesheet_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Tilesheet"); } - - virtual Void drawTiles( ::neash::display::Graphics graphics,Array< Float > tileData,hx::Null< bool > smooth,hx::Null< int > flags); - Dynamic drawTiles_dyn(); - - virtual Void addTileRect( ::neash::geom::Rectangle rectangle,::neash::geom::Point centerPoint); - Dynamic addTileRect_dyn(); - - Dynamic nmeHandle; /* REM */ - ::neash::display::BitmapData nmeBitmap; /* REM */ - static int TILE_SCALE; /* REM */ - static int TILE_ROTATION; /* REM */ - static int TILE_RGB; /* REM */ - static int TILE_ALPHA; /* REM */ - static int TILE_TRANS_2x2; /* REM */ - static int TILE_BLEND_NORMAL; /* REM */ - static int TILE_BLEND_ADD; /* REM */ - static Dynamic nme_tilesheet_create; /* REM */ - static Dynamic &nme_tilesheet_create_dyn() { return nme_tilesheet_create;} - static Dynamic nme_tilesheet_add_rect; /* REM */ - static Dynamic &nme_tilesheet_add_rect_dyn() { return nme_tilesheet_add_rect;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_Tilesheet */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/TouchInfo.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/TouchInfo.h deleted file mode 100644 index d5021f1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/TouchInfo.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef INCLUDED_neash_display_TouchInfo -#define INCLUDED_neash_display_TouchInfo - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,TouchInfo) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace display{ - - -class TouchInfo_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef TouchInfo_obj OBJ_; - TouchInfo_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< TouchInfo_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TouchInfo_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TouchInfo"); } - - Array< ::neash::display::InteractiveObject > touchOverObjects; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_TouchInfo */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/TriangleCulling.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/TriangleCulling.h deleted file mode 100644 index bfae314..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/display/TriangleCulling.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_display_TriangleCulling -#define INCLUDED_neash_display_TriangleCulling - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,TriangleCulling) -namespace neash{ -namespace display{ - - -class TriangleCulling_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef TriangleCulling_obj OBJ_; - - public: - TriangleCulling_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.TriangleCulling"); } - ::String __ToString() const { return HX_CSTRING("TriangleCulling.") + tag; } - - static ::neash::display::TriangleCulling NEGATIVE; - static inline ::neash::display::TriangleCulling NEGATIVE_dyn() { return NEGATIVE; } - static ::neash::display::TriangleCulling NONE; - static inline ::neash::display::TriangleCulling NONE_dyn() { return NONE; } - static ::neash::display::TriangleCulling POSITIVE; - static inline ::neash::display::TriangleCulling POSITIVE_dyn() { return POSITIVE; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_TriangleCulling */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/errors/ArgumentError.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/errors/ArgumentError.h deleted file mode 100644 index a75be21..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/errors/ArgumentError.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_neash_errors_ArgumentError -#define INCLUDED_neash_errors_ArgumentError - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,errors,ArgumentError) -HX_DECLARE_CLASS2(neash,errors,Error) -namespace neash{ -namespace errors{ - - -class ArgumentError_obj : public ::neash::errors::Error_obj{ - public: - typedef ::neash::errors::Error_obj super; - typedef ArgumentError_obj OBJ_; - ArgumentError_obj(); - Void __construct(Dynamic inMessage,Dynamic id); - - public: - static hx::ObjectPtr< ArgumentError_obj > __new(Dynamic inMessage,Dynamic id); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ArgumentError_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ArgumentError"); } - -}; - -} // end namespace neash -} // end namespace errors - -#endif /* INCLUDED_neash_errors_ArgumentError */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/errors/EOFError.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/errors/EOFError.h deleted file mode 100644 index 8e34379..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/errors/EOFError.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_neash_errors_EOFError -#define INCLUDED_neash_errors_EOFError - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,errors,EOFError) -HX_DECLARE_CLASS2(neash,errors,Error) -namespace neash{ -namespace errors{ - - -class EOFError_obj : public ::neash::errors::Error_obj{ - public: - typedef ::neash::errors::Error_obj super; - typedef EOFError_obj OBJ_; - EOFError_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< EOFError_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~EOFError_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("EOFError"); } - -}; - -} // end namespace neash -} // end namespace errors - -#endif /* INCLUDED_neash_errors_EOFError */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/errors/Error.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/errors/Error.h deleted file mode 100644 index 9189d95..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/errors/Error.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_neash_errors_Error -#define INCLUDED_neash_errors_Error - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,errors,Error) -namespace neash{ -namespace errors{ - - -class Error_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Error_obj OBJ_; - Error_obj(); - Void __construct(Dynamic inMessage,Dynamic __o_id); - - public: - static hx::ObjectPtr< Error_obj > __new(Dynamic inMessage,Dynamic __o_id); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Error_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Error"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual ::String getStackTrace( ); - Dynamic getStackTrace_dyn(); - - Dynamic name; /* REM */ - Dynamic message; /* REM */ - int errorID; /* REM */ -}; - -} // end namespace neash -} // end namespace errors - -#endif /* INCLUDED_neash_errors_Error */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/errors/RangeError.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/errors/RangeError.h deleted file mode 100644 index 8ecf6bd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/errors/RangeError.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_neash_errors_RangeError -#define INCLUDED_neash_errors_RangeError - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,errors,Error) -HX_DECLARE_CLASS2(neash,errors,RangeError) -namespace neash{ -namespace errors{ - - -class RangeError_obj : public ::neash::errors::Error_obj{ - public: - typedef ::neash::errors::Error_obj super; - typedef RangeError_obj OBJ_; - RangeError_obj(); - Void __construct(::String __o_inMessage); - - public: - static hx::ObjectPtr< RangeError_obj > __new(::String __o_inMessage); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~RangeError_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("RangeError"); } - -}; - -} // end namespace neash -} // end namespace errors - -#endif /* INCLUDED_neash_errors_RangeError */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/ErrorEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/ErrorEvent.h deleted file mode 100644 index bb89f63..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/ErrorEvent.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_neash_events_ErrorEvent -#define INCLUDED_neash_events_ErrorEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,ErrorEvent) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,TextEvent) -namespace neash{ -namespace events{ - - -class ErrorEvent_obj : public ::neash::events::TextEvent_obj{ - public: - typedef ::neash::events::TextEvent_obj super; - typedef ErrorEvent_obj OBJ_; - ErrorEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id); - - public: - static hx::ObjectPtr< ErrorEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ErrorEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ErrorEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - int errorID; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_ErrorEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/Event.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/Event.h deleted file mode 100644 index 18a0c04..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/Event.h +++ /dev/null @@ -1,122 +0,0 @@ -#ifndef INCLUDED_neash_events_Event -#define INCLUDED_neash_events_Event - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,events,Event) -namespace neash{ -namespace events{ - - -class Event_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Event_obj OBJ_; - Event_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable); - - public: - static hx::ObjectPtr< Event_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Event_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Event"); } - - virtual ::String nmeGetType( ); - Dynamic nmeGetType_dyn(); - - virtual Dynamic nmeSetTarget( Dynamic v); - Dynamic nmeSetTarget_dyn(); - - virtual Dynamic nmeGetTarget( ); - Dynamic nmeGetTarget_dyn(); - - virtual int nmeGetEventPhase( ); - Dynamic nmeGetEventPhase_dyn(); - - virtual Dynamic nmeSetCurrentTarget( Dynamic v); - Dynamic nmeSetCurrentTarget_dyn(); - - virtual Dynamic nmeGetCurrentTarget( ); - Dynamic nmeGetCurrentTarget_dyn(); - - virtual bool nmeGetCancelable( ); - Dynamic nmeGetCancelable_dyn(); - - virtual bool nmeGetBubbles( ); - Dynamic nmeGetBubbles_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void stopPropagation( ); - Dynamic stopPropagation_dyn(); - - virtual Void stopImmediatePropagation( ); - Dynamic stopImmediatePropagation_dyn(); - - virtual Void nmeSetPhase( int inPhase); - Dynamic nmeSetPhase_dyn(); - - virtual bool nmeGetIsCancelledNow( ); - Dynamic nmeGetIsCancelledNow_dyn(); - - virtual bool nmeGetIsCancelled( ); - Dynamic nmeGetIsCancelled_dyn(); - - virtual ::neash::events::Event clone( ); - Dynamic clone_dyn(); - - bool nmeIsCancelledNow; /* REM */ - bool nmeIsCancelled; /* REM */ - ::String _type; /* REM */ - Dynamic _target; /* REM */ - int _eventPhase; /* REM */ - Dynamic _currentTarget; /* REM */ - bool _cancelable; /* REM */ - bool _bubbles; /* REM */ - ::String type; /* REM */ - Dynamic target; /* REM */ - int eventPhase; /* REM */ - Dynamic currentTarget; /* REM */ - bool cancelable; /* REM */ - bool bubbles; /* REM */ - static ::String ACTIVATE; /* REM */ - static ::String ADDED; /* REM */ - static ::String ADDED_TO_STAGE; /* REM */ - static ::String CANCEL; /* REM */ - static ::String CHANGE; /* REM */ - static ::String CLOSE; /* REM */ - static ::String COMPLETE; /* REM */ - static ::String CONNECT; /* REM */ - static ::String DEACTIVATE; /* REM */ - static ::String ENTER_FRAME; /* REM */ - static ::String ID3; /* REM */ - static ::String INIT; /* REM */ - static ::String MOUSE_LEAVE; /* REM */ - static ::String OPEN; /* REM */ - static ::String REMOVED; /* REM */ - static ::String REMOVED_FROM_STAGE; /* REM */ - static ::String RENDER; /* REM */ - static ::String RESIZE; /* REM */ - static ::String SCROLL; /* REM */ - static ::String SELECT; /* REM */ - static ::String SOUND_COMPLETE; /* REM */ - static ::String TAB_CHILDREN_CHANGE; /* REM */ - static ::String TAB_ENABLED_CHANGE; /* REM */ - static ::String TAB_INDEX_CHANGE; /* REM */ - static ::String UNLOAD; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_Event */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/EventDispatcher.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/EventDispatcher.h deleted file mode 100644 index a11f4ff..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/EventDispatcher.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef INCLUDED_neash_events_EventDispatcher -#define INCLUDED_neash_events_EventDispatcher - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace events{ - - -class EventDispatcher_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef EventDispatcher_obj OBJ_; - EventDispatcher_obj(); - Void __construct(::neash::events::IEventDispatcher target); - - public: - static hx::ObjectPtr< EventDispatcher_obj > __new(::neash::events::IEventDispatcher target); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~EventDispatcher_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::neash::events::IEventDispatcher_obj *() - { return new ::neash::events::IEventDispatcher_delegate_< EventDispatcher_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("EventDispatcher"); } - - virtual bool willTrigger( ::String type); - Dynamic willTrigger_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void removeEventListener( ::String type,Dynamic listener,hx::Null< bool > capture); - Dynamic removeEventListener_dyn(); - - virtual bool hasEventListener( ::String type); - Dynamic hasEventListener_dyn(); - - virtual Void DispatchIOErrorEvent( ); - Dynamic DispatchIOErrorEvent_dyn(); - - virtual bool dispatchEvent( ::neash::events::Event event); - Dynamic dispatchEvent_dyn(); - - virtual Void DispatchCompleteEvent( ); - Dynamic DispatchCompleteEvent_dyn(); - - virtual Void addEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference); - Dynamic addEventListener_dyn(); - - ::neash::events::IEventDispatcher nmeTarget; /* REM */ - ::Hash nmeEventMap; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_EventDispatcher */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/EventPhase.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/EventPhase.h deleted file mode 100644 index 7f4d923..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/EventPhase.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_neash_events_EventPhase -#define INCLUDED_neash_events_EventPhase - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,events,EventPhase) -namespace neash{ -namespace events{ - - -class EventPhase_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef EventPhase_obj OBJ_; - EventPhase_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< EventPhase_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~EventPhase_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("EventPhase"); } - - static int CAPTURING_PHASE; /* REM */ - static int AT_TARGET; /* REM */ - static int BUBBLING_PHASE; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_EventPhase */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/FocusEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/FocusEvent.h deleted file mode 100644 index d8b7b46..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/FocusEvent.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef INCLUDED_neash_events_FocusEvent -#define INCLUDED_neash_events_FocusEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,FocusEvent) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace events{ - - -class FocusEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef FocusEvent_obj OBJ_; - FocusEvent_obj(); - Void __construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_shiftKey,hx::Null< int > __o_keyCode,::String __o_direction); - - public: - static hx::ObjectPtr< FocusEvent_obj > __new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_shiftKey,hx::Null< int > __o_keyCode,::String __o_direction); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~FocusEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("FocusEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - bool shiftKey; /* REM */ - ::neash::display::InteractiveObject relatedObject; /* REM */ - int keyCode; /* REM */ - static ::String FOCUS_IN; /* REM */ - static ::String FOCUS_OUT; /* REM */ - static ::String KEY_FOCUS_CHANGE; /* REM */ - static ::String MOUSE_FOCUS_CHANGE; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_FocusEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/HTTPStatusEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/HTTPStatusEvent.h deleted file mode 100644 index 989cf2f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/HTTPStatusEvent.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_neash_events_HTTPStatusEvent -#define INCLUDED_neash_events_HTTPStatusEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,HTTPStatusEvent) -namespace neash{ -namespace events{ - - -class HTTPStatusEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef HTTPStatusEvent_obj OBJ_; - HTTPStatusEvent_obj(); - Void __construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_status); - - public: - static hx::ObjectPtr< HTTPStatusEvent_obj > __new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_status); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~HTTPStatusEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("HTTPStatusEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - int status; /* REM */ - static ::String HTTP_STATUS; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_HTTPStatusEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/IEventDispatcher.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/IEventDispatcher.h deleted file mode 100644 index c4161cd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/IEventDispatcher.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_neash_events_IEventDispatcher -#define INCLUDED_neash_events_IEventDispatcher - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace events{ - - -class IEventDispatcher_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IEventDispatcher_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual bool willTrigger( ::String type)=0; - Dynamic willTrigger_dyn(); -virtual Void removeEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture)=0; - Dynamic removeEventListener_dyn(); -virtual bool hasEventListener( ::String type)=0; - Dynamic hasEventListener_dyn(); -virtual bool dispatchEvent( ::neash::events::Event event)=0; - Dynamic dispatchEvent_dyn(); -virtual Void addEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference)=0; - Dynamic addEventListener_dyn(); -}; - -#define DELEGATE_neash_events_IEventDispatcher \ -virtual bool willTrigger( ::String type) { return mDelegate->willTrigger(type);} \ -virtual Dynamic willTrigger_dyn() { return mDelegate->willTrigger_dyn();} \ -virtual Void removeEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture) { return mDelegate->removeEventListener(type,listener,useCapture);} \ -virtual Dynamic removeEventListener_dyn() { return mDelegate->removeEventListener_dyn();} \ -virtual bool hasEventListener( ::String type) { return mDelegate->hasEventListener(type);} \ -virtual Dynamic hasEventListener_dyn() { return mDelegate->hasEventListener_dyn();} \ -virtual bool dispatchEvent( ::neash::events::Event event) { return mDelegate->dispatchEvent(event);} \ -virtual Dynamic dispatchEvent_dyn() { return mDelegate->dispatchEvent_dyn();} \ -virtual Void addEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference) { return mDelegate->addEventListener(type,listener,useCapture,priority,useWeakReference);} \ -virtual Dynamic addEventListener_dyn() { return mDelegate->addEventListener_dyn();} \ - - -template -class IEventDispatcher_delegate_ : public IEventDispatcher_obj -{ - protected: - IMPL *mDelegate; - public: - IEventDispatcher_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_neash_events_IEventDispatcher -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_IEventDispatcher */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/IOErrorEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/IOErrorEvent.h deleted file mode 100644 index 44e2ae4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/IOErrorEvent.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_neash_events_IOErrorEvent -#define INCLUDED_neash_events_IOErrorEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,ErrorEvent) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,IOErrorEvent) -HX_DECLARE_CLASS2(neash,events,TextEvent) -namespace neash{ -namespace events{ - - -class IOErrorEvent_obj : public ::neash::events::ErrorEvent_obj{ - public: - typedef ::neash::events::ErrorEvent_obj super; - typedef IOErrorEvent_obj OBJ_; - IOErrorEvent_obj(); - Void __construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id); - - public: - static hx::ObjectPtr< IOErrorEvent_obj > __new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~IOErrorEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("IOErrorEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - static ::String IO_ERROR; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_IOErrorEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/JoystickEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/JoystickEvent.h deleted file mode 100644 index 7d6c07e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/JoystickEvent.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_neash_events_JoystickEvent -#define INCLUDED_neash_events_JoystickEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,JoystickEvent) -namespace neash{ -namespace events{ - - -class JoystickEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef JoystickEvent_obj OBJ_; - JoystickEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_device,hx::Null< int > __o_id,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< Float > __o_z); - - public: - static hx::ObjectPtr< JoystickEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_device,hx::Null< int > __o_id,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< Float > __o_z); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~JoystickEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("JoystickEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - Float z; /* REM */ - Float y; /* REM */ - Float x; /* REM */ - int id; /* REM */ - int device; /* REM */ - static ::String AXIS_MOVE; /* REM */ - static ::String BALL_MOVE; /* REM */ - static ::String BUTTON_DOWN; /* REM */ - static ::String BUTTON_UP; /* REM */ - static ::String HAT_MOVE; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_JoystickEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/KeyboardEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/KeyboardEvent.h deleted file mode 100644 index 5acb04a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/KeyboardEvent.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_neash_events_KeyboardEvent -#define INCLUDED_neash_events_KeyboardEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,KeyboardEvent) -namespace neash{ -namespace events{ - - -class KeyboardEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef KeyboardEvent_obj OBJ_; - KeyboardEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_charCodeValue,hx::Null< int > __o_keyCodeValue,hx::Null< int > __o_keyLocationValue,hx::Null< bool > __o_ctrlKeyValue,hx::Null< bool > __o_altKeyValue,hx::Null< bool > __o_shiftKeyValue,hx::Null< bool > __o_controlKeyValue,hx::Null< bool > __o_commandKeyValue); - - public: - static hx::ObjectPtr< KeyboardEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_charCodeValue,hx::Null< int > __o_keyCodeValue,hx::Null< int > __o_keyLocationValue,hx::Null< bool > __o_ctrlKeyValue,hx::Null< bool > __o_altKeyValue,hx::Null< bool > __o_shiftKeyValue,hx::Null< bool > __o_controlKeyValue,hx::Null< bool > __o_commandKeyValue); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~KeyboardEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("KeyboardEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - bool shiftKey; /* REM */ - int keyLocation; /* REM */ - int keyCode; /* REM */ - bool commandKey; /* REM */ - bool controlKey; /* REM */ - bool ctrlKey; /* REM */ - int charCode; /* REM */ - bool altKey; /* REM */ - static ::String KEY_DOWN; /* REM */ - static ::String KEY_UP; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_KeyboardEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/Listener.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/Listener.h deleted file mode 100644 index 3a7e4a5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/Listener.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef INCLUDED_neash_events_Listener -#define INCLUDED_neash_events_Listener - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,Listener) -namespace neash{ -namespace events{ - - -class Listener_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Listener_obj OBJ_; - Listener_obj(); - Void __construct(Dynamic inListener,bool inUseCapture,int inPriority); - - public: - static hx::ObjectPtr< Listener_obj > __new(Dynamic inListener,bool inUseCapture,int inPriority); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Listener_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Listener"); } - - virtual bool Is( Dynamic inListener,bool inCapture); - Dynamic Is_dyn(); - - virtual Void dispatchEvent( ::neash::events::Event event); - Dynamic dispatchEvent_dyn(); - - bool mUseCapture; /* REM */ - int mPriority; /* REM */ - Dynamic mListner; /* REM */ - Dynamic &mListner_dyn() { return mListner;} - int mID; /* REM */ - static int sIDs; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_Listener */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/MouseEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/MouseEvent.h deleted file mode 100644 index 0552498..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/MouseEvent.h +++ /dev/null @@ -1,92 +0,0 @@ -#ifndef INCLUDED_neash_events_MouseEvent -#define INCLUDED_neash_events_MouseEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,events,MouseEvent) -HX_DECLARE_CLASS2(neash,geom,Point) -namespace neash{ -namespace events{ - - -class MouseEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef MouseEvent_obj OBJ_; - MouseEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_localX,hx::Null< Float > __o_localY,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_ctrlKey,hx::Null< bool > __o_altKey,hx::Null< bool > __o_shiftKey,hx::Null< bool > __o_buttonDown,hx::Null< int > __o_delta,hx::Null< bool > __o_commandKey,hx::Null< int > __o_clickCount); - - public: - static hx::ObjectPtr< MouseEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_localX,hx::Null< Float > __o_localY,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_ctrlKey,hx::Null< bool > __o_altKey,hx::Null< bool > __o_shiftKey,hx::Null< bool > __o_buttonDown,hx::Null< int > __o_delta,hx::Null< bool > __o_commandKey,hx::Null< int > __o_clickCount); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~MouseEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("MouseEvent"); } - - virtual Void updateAfterEvent( ); - Dynamic updateAfterEvent_dyn(); - - virtual ::String toString( ); - - virtual ::neash::events::MouseEvent nmeCreateSimilar( ::String inType,::neash::display::InteractiveObject related,::neash::display::InteractiveObject targ); - Dynamic nmeCreateSimilar_dyn(); - - virtual ::neash::events::Event clone( ); - - Float stageY; /* REM */ - Float stageX; /* REM */ - bool shiftKey; /* REM */ - ::neash::display::InteractiveObject relatedObject; /* REM */ - Float localY; /* REM */ - Float localX; /* REM */ - int delta; /* REM */ - bool ctrlKey; /* REM */ - bool commandKey; /* REM */ - int clickCount; /* REM */ - bool buttonDown; /* REM */ - bool altKey; /* REM */ - static ::String DOUBLE_CLICK; /* REM */ - static ::String CLICK; /* REM */ - static ::String MIDDLE_CLICK; /* REM */ - static ::String MIDDLE_MOUSE_DOWN; /* REM */ - static ::String MIDDLE_MOUSE_UP; /* REM */ - static ::String MOUSE_DOWN; /* REM */ - static ::String MOUSE_MOVE; /* REM */ - static ::String MOUSE_OUT; /* REM */ - static ::String MOUSE_OVER; /* REM */ - static ::String MOUSE_UP; /* REM */ - static ::String MOUSE_WHEEL; /* REM */ - static ::String RIGHT_CLICK; /* REM */ - static ::String RIGHT_MOUSE_DOWN; /* REM */ - static ::String RIGHT_MOUSE_UP; /* REM */ - static ::String ROLL_OUT; /* REM */ - static ::String ROLL_OVER; /* REM */ - static int efLeftDown; /* REM */ - static int efShiftDown; /* REM */ - static int efCtrlDown; /* REM */ - static int efAltDown; /* REM */ - static int efCommandDown; /* REM */ - static ::neash::events::MouseEvent nmeCreate( ::String inType,Dynamic inEvent,::neash::geom::Point inLocal,::neash::display::InteractiveObject inTarget); - static Dynamic nmeCreate_dyn(); - -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_MouseEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/ProgressEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/ProgressEvent.h deleted file mode 100644 index c378d1d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/ProgressEvent.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef INCLUDED_neash_events_ProgressEvent -#define INCLUDED_neash_events_ProgressEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,ProgressEvent) -namespace neash{ -namespace events{ - - -class ProgressEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef ProgressEvent_obj OBJ_; - ProgressEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_bytesLoaded,hx::Null< int > __o_bytesTotal); - - public: - static hx::ObjectPtr< ProgressEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_bytesLoaded,hx::Null< int > __o_bytesTotal); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ProgressEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ProgressEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - int bytesTotal; /* REM */ - int bytesLoaded; /* REM */ - static ::String PROGRESS; /* REM */ - static ::String SOCKET_DATA; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_ProgressEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/SampleDataEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/SampleDataEvent.h deleted file mode 100644 index 6b7772a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/SampleDataEvent.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_neash_events_SampleDataEvent -#define INCLUDED_neash_events_SampleDataEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,SampleDataEvent) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace events{ - - -class SampleDataEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef SampleDataEvent_obj OBJ_; - SampleDataEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable); - - public: - static hx::ObjectPtr< SampleDataEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SampleDataEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SampleDataEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - Float position; /* REM */ - ::neash::utils::ByteArray data; /* REM */ - static ::String SAMPLE_DATA; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_SampleDataEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/TextEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/TextEvent.h deleted file mode 100644 index c60ae99..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/TextEvent.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_neash_events_TextEvent -#define INCLUDED_neash_events_TextEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,TextEvent) -namespace neash{ -namespace events{ - - -class TextEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef TextEvent_obj OBJ_; - TextEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text); - - public: - static hx::ObjectPtr< TextEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TextEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TextEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - ::String text; /* REM */ - static ::String LINK; /* REM */ - static ::String TEXT_INPUT; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_TextEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/TouchEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/TouchEvent.h deleted file mode 100644 index f3abef0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/events/TouchEvent.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef INCLUDED_neash_events_TouchEvent -#define INCLUDED_neash_events_TouchEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,events,MouseEvent) -HX_DECLARE_CLASS2(neash,events,TouchEvent) -HX_DECLARE_CLASS2(neash,geom,Point) -namespace neash{ -namespace events{ - - -class TouchEvent_obj : public ::neash::events::MouseEvent_obj{ - public: - typedef ::neash::events::MouseEvent_obj super; - typedef TouchEvent_obj OBJ_; - TouchEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_in_localX,hx::Null< Float > __o_in_localY,hx::Null< Float > __o_in_sizeX,hx::Null< Float > __o_in_sizeY,::neash::display::InteractiveObject in_relatedObject,hx::Null< bool > __o_in_ctrlKey,hx::Null< bool > __o_in_altKey,hx::Null< bool > __o_in_shiftKey,hx::Null< bool > __o_in_buttonDown,hx::Null< int > __o_in_delta,hx::Null< bool > __o_in_commandKey,hx::Null< int > __o_in_clickCount); - - public: - static hx::ObjectPtr< TouchEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_in_localX,hx::Null< Float > __o_in_localY,hx::Null< Float > __o_in_sizeX,hx::Null< Float > __o_in_sizeY,::neash::display::InteractiveObject in_relatedObject,hx::Null< bool > __o_in_ctrlKey,hx::Null< bool > __o_in_altKey,hx::Null< bool > __o_in_shiftKey,hx::Null< bool > __o_in_buttonDown,hx::Null< int > __o_in_delta,hx::Null< bool > __o_in_commandKey,hx::Null< int > __o_in_clickCount); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TouchEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TouchEvent"); } - - virtual ::neash::events::MouseEvent nmeCreateSimilar( ::String inType,::neash::display::InteractiveObject related,::neash::display::InteractiveObject targ); - - Float sizeY; /* REM */ - Float sizeX; /* REM */ - int touchPointID; /* REM */ - bool isPrimaryTouchPoint; /* REM */ - static ::String TOUCH_BEGIN; /* REM */ - static ::String TOUCH_END; /* REM */ - static ::String TOUCH_MOVE; /* REM */ - static ::String TOUCH_OUT; /* REM */ - static ::String TOUCH_OVER; /* REM */ - static ::String TOUCH_ROLL_OUT; /* REM */ - static ::String TOUCH_ROLL_OVER; /* REM */ - static ::String TOUCH_TAP; /* REM */ - static ::neash::events::TouchEvent nmeCreate( ::String inType,Dynamic inEvent,::neash::geom::Point inLocal,::neash::display::InteractiveObject inTarget,Float sizeX,Float sizeY); - static Dynamic nmeCreate_dyn(); - -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_TouchEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/filters/BitmapFilter.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/filters/BitmapFilter.h deleted file mode 100644 index 1728260..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/filters/BitmapFilter.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_neash_filters_BitmapFilter -#define INCLUDED_neash_filters_BitmapFilter - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,filters,BitmapFilter) -namespace neash{ -namespace filters{ - - -class BitmapFilter_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef BitmapFilter_obj OBJ_; - BitmapFilter_obj(); - Void __construct(::String inType); - - public: - static hx::ObjectPtr< BitmapFilter_obj > __new(::String inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BitmapFilter_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BitmapFilter"); } - - virtual ::neash::filters::BitmapFilter clone( ); - Dynamic clone_dyn(); - - ::String type; /* REM */ -}; - -} // end namespace neash -} // end namespace filters - -#endif /* INCLUDED_neash_filters_BitmapFilter */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/geom/ColorTransform.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/geom/ColorTransform.h deleted file mode 100644 index bc62249..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/geom/ColorTransform.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef INCLUDED_neash_geom_ColorTransform -#define INCLUDED_neash_geom_ColorTransform - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,geom,ColorTransform) -namespace neash{ -namespace geom{ - - -class ColorTransform_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef ColorTransform_obj OBJ_; - ColorTransform_obj(); - Void __construct(hx::Null< Float > __o_inRedMultiplier,hx::Null< Float > __o_inGreenMultiplier,hx::Null< Float > __o_inBlueMultiplier,hx::Null< Float > __o_inAlphaMultiplier,hx::Null< Float > __o_inRedOffset,hx::Null< Float > __o_inGreenOffset,hx::Null< Float > __o_inBlueOffset,hx::Null< Float > __o_inAlphaOffset); - - public: - static hx::ObjectPtr< ColorTransform_obj > __new(hx::Null< Float > __o_inRedMultiplier,hx::Null< Float > __o_inGreenMultiplier,hx::Null< Float > __o_inBlueMultiplier,hx::Null< Float > __o_inAlphaMultiplier,hx::Null< Float > __o_inRedOffset,hx::Null< Float > __o_inGreenOffset,hx::Null< Float > __o_inBlueOffset,hx::Null< Float > __o_inAlphaOffset); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ColorTransform_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ColorTransform"); } - - virtual int nmeSetColor( int value); - Dynamic nmeSetColor_dyn(); - - virtual int nmeGetColor( ); - Dynamic nmeGetColor_dyn(); - - virtual Void concat( ::neash::geom::ColorTransform second); - Dynamic concat_dyn(); - - Float redOffset; /* REM */ - Float redMultiplier; /* REM */ - Float greenOffset; /* REM */ - Float greenMultiplier; /* REM */ - int color; /* REM */ - Float blueOffset; /* REM */ - Float blueMultiplier; /* REM */ - Float alphaOffset; /* REM */ - Float alphaMultiplier; /* REM */ -}; - -} // end namespace neash -} // end namespace geom - -#endif /* INCLUDED_neash_geom_ColorTransform */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/geom/Matrix.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/geom/Matrix.h deleted file mode 100644 index da4bbba..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/geom/Matrix.h +++ /dev/null @@ -1,85 +0,0 @@ -#ifndef INCLUDED_neash_geom_Matrix -#define INCLUDED_neash_geom_Matrix - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Point) -namespace neash{ -namespace geom{ - - -class Matrix_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Matrix_obj OBJ_; - Matrix_obj(); - Void __construct(Dynamic in_a,Dynamic in_b,Dynamic in_c,Dynamic in_d,Dynamic in_tx,Dynamic in_ty); - - public: - static hx::ObjectPtr< Matrix_obj > __new(Dynamic in_a,Dynamic in_b,Dynamic in_c,Dynamic in_d,Dynamic in_tx,Dynamic in_ty); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Matrix_obj(); - - HX_DO_RTTI; - double __INumField(int inFieldID); - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Matrix"); } - - virtual Void translate( Float inDX,Float inDY); - Dynamic translate_dyn(); - - virtual ::neash::geom::Point transformPoint( ::neash::geom::Point inPos); - Dynamic transformPoint_dyn(); - - virtual Void setRotation( Float inTheta,Dynamic inScale); - Dynamic setRotation_dyn(); - - virtual Void scale( Float inSX,Float inSY); - Dynamic scale_dyn(); - - virtual Void rotate( Float inTheta); - Dynamic rotate_dyn(); - - virtual ::neash::geom::Matrix mult( ::neash::geom::Matrix m); - Dynamic mult_dyn(); - - virtual ::neash::geom::Matrix invert( ); - Dynamic invert_dyn(); - - virtual Void identity( ); - Dynamic identity_dyn(); - - virtual ::neash::geom::Point deltaTransformPoint( ::neash::geom::Point point); - Dynamic deltaTransformPoint_dyn(); - - virtual Void createGradientBox( Float in_width,Float in_height,Dynamic rotation,Dynamic in_tx,Dynamic in_ty); - Dynamic createGradientBox_dyn(); - - virtual Void createBox( Float scaleX,Float scaleY,Dynamic rotation,Dynamic tx,Dynamic ty); - Dynamic createBox_dyn(); - - virtual Void concat( ::neash::geom::Matrix m); - Dynamic concat_dyn(); - - virtual ::neash::geom::Matrix clone( ); - Dynamic clone_dyn(); - - Float ty; /* REM */ - Float tx; /* REM */ - Float d; /* REM */ - Float c; /* REM */ - Float b; /* REM */ - Float a; /* REM */ -}; - -} // end namespace neash -} // end namespace geom - -#endif /* INCLUDED_neash_geom_Matrix */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/geom/Point.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/geom/Point.h deleted file mode 100644 index 5cc2aa5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/geom/Point.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef INCLUDED_neash_geom_Point -#define INCLUDED_neash_geom_Point - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,geom,Point) -namespace neash{ -namespace geom{ - - -class Point_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Point_obj OBJ_; - Point_obj(); - Void __construct(hx::Null< Float > __o_inX,hx::Null< Float > __o_inY); - - public: - static hx::ObjectPtr< Point_obj > __new(hx::Null< Float > __o_inX,hx::Null< Float > __o_inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Point_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Point"); } - - virtual Float nmeGetLength( ); - Dynamic nmeGetLength_dyn(); - - virtual ::neash::geom::Point subtract( ::neash::geom::Point v); - Dynamic subtract_dyn(); - - virtual Void offset( Float dx,Float dy); - Dynamic offset_dyn(); - - virtual Void normalize( Float thickness); - Dynamic normalize_dyn(); - - virtual bool equals( ::neash::geom::Point toCompare); - Dynamic equals_dyn(); - - virtual ::neash::geom::Point clone( ); - Dynamic clone_dyn(); - - virtual ::neash::geom::Point add( ::neash::geom::Point v); - Dynamic add_dyn(); - - Float y; /* REM */ - Float x; /* REM */ - Float length; /* REM */ - static Float distance( ::neash::geom::Point pt1,::neash::geom::Point pt2); - static Dynamic distance_dyn(); - - static ::neash::geom::Point interpolate( ::neash::geom::Point pt1,::neash::geom::Point pt2,Float f); - static Dynamic interpolate_dyn(); - - static ::neash::geom::Point polar( Float len,Float angle); - static Dynamic polar_dyn(); - -}; - -} // end namespace neash -} // end namespace geom - -#endif /* INCLUDED_neash_geom_Point */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/geom/Rectangle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/geom/Rectangle.h deleted file mode 100644 index 83bab98..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/geom/Rectangle.h +++ /dev/null @@ -1,141 +0,0 @@ -#ifndef INCLUDED_neash_geom_Rectangle -#define INCLUDED_neash_geom_Rectangle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Point) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace neash{ -namespace geom{ - - -class Rectangle_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Rectangle_obj OBJ_; - Rectangle_obj(); - Void __construct(Dynamic inX,Dynamic inY,Dynamic inWidth,Dynamic inHeight); - - public: - static hx::ObjectPtr< Rectangle_obj > __new(Dynamic inX,Dynamic inY,Dynamic inWidth,Dynamic inHeight); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Rectangle_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Rectangle"); } - - virtual ::neash::geom::Point nmeSetTopLeft( ::neash::geom::Point p); - Dynamic nmeSetTopLeft_dyn(); - - virtual ::neash::geom::Point nmeGetTopLeft( ); - Dynamic nmeGetTopLeft_dyn(); - - virtual Float nmeSetTop( Float t); - Dynamic nmeSetTop_dyn(); - - virtual Float nmeGetTop( ); - Dynamic nmeGetTop_dyn(); - - virtual ::neash::geom::Point nmeSetSize( ::neash::geom::Point p); - Dynamic nmeSetSize_dyn(); - - virtual ::neash::geom::Point nmeGetSize( ); - Dynamic nmeGetSize_dyn(); - - virtual Float nmeSetRight( Float r); - Dynamic nmeSetRight_dyn(); - - virtual Float nmeGetRight( ); - Dynamic nmeGetRight_dyn(); - - virtual Float nmeSetLeft( Float l); - Dynamic nmeSetLeft_dyn(); - - virtual Float nmeGetLeft( ); - Dynamic nmeGetLeft_dyn(); - - virtual ::neash::geom::Point nmeSetBottomRight( ::neash::geom::Point p); - Dynamic nmeSetBottomRight_dyn(); - - virtual ::neash::geom::Point nmeGetBottomRight( ); - Dynamic nmeGetBottomRight_dyn(); - - virtual Float nmeSetBottom( Float b); - Dynamic nmeSetBottom_dyn(); - - virtual Float nmeGetBottom( ); - Dynamic nmeGetBottom_dyn(); - - virtual ::neash::geom::Rectangle _union( ::neash::geom::Rectangle toUnion); - Dynamic _union_dyn(); - - virtual ::neash::geom::Rectangle transform( ::neash::geom::Matrix m); - Dynamic transform_dyn(); - - virtual Void setEmpty( ); - Dynamic setEmpty_dyn(); - - virtual Void offsetPoint( ::neash::geom::Point point); - Dynamic offsetPoint_dyn(); - - virtual Void offset( Float dx,Float dy); - Dynamic offset_dyn(); - - virtual bool isEmpty( ); - Dynamic isEmpty_dyn(); - - virtual bool intersects( ::neash::geom::Rectangle toIntersect); - Dynamic intersects_dyn(); - - virtual ::neash::geom::Rectangle intersection( ::neash::geom::Rectangle toIntersect); - Dynamic intersection_dyn(); - - virtual Void inflatePoint( ::neash::geom::Point point); - Dynamic inflatePoint_dyn(); - - virtual Void inflate( Float dx,Float dy); - Dynamic inflate_dyn(); - - virtual Void extendBounds( ::neash::geom::Rectangle r); - Dynamic extendBounds_dyn(); - - virtual bool equals( ::neash::geom::Rectangle toCompare); - Dynamic equals_dyn(); - - virtual bool containsRect( ::neash::geom::Rectangle rect); - Dynamic containsRect_dyn(); - - virtual bool containsPoint( ::neash::geom::Point point); - Dynamic containsPoint_dyn(); - - virtual bool contains( Float inX,Float inY); - Dynamic contains_dyn(); - - virtual ::neash::geom::Rectangle clone( ); - Dynamic clone_dyn(); - - Float y; /* REM */ - Float x; /* REM */ - Float width; /* REM */ - ::neash::geom::Point topLeft; /* REM */ - Float top; /* REM */ - ::neash::geom::Point size; /* REM */ - Float right; /* REM */ - Float left; /* REM */ - Float height; /* REM */ - ::neash::geom::Point bottomRight; /* REM */ - Float bottom; /* REM */ -}; - -} // end namespace neash -} // end namespace geom - -#endif /* INCLUDED_neash_geom_Rectangle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/geom/Transform.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/geom/Transform.h deleted file mode 100644 index 064ad25..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/geom/Transform.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_neash_geom_Transform -#define INCLUDED_neash_geom_Transform - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,geom,ColorTransform) -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -HX_DECLARE_CLASS2(neash,geom,Transform) -namespace neash{ -namespace geom{ - - -class Transform_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Transform_obj OBJ_; - Transform_obj(); - Void __construct(::neash::display::DisplayObject inParent); - - public: - static hx::ObjectPtr< Transform_obj > __new(::neash::display::DisplayObject inParent); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Transform_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Transform"); } - - virtual ::neash::geom::Rectangle nmeGetPixelBounds( ); - Dynamic nmeGetPixelBounds_dyn(); - - virtual ::neash::geom::Matrix nmeSetMatrix( ::neash::geom::Matrix inMatrix); - Dynamic nmeSetMatrix_dyn(); - - virtual ::neash::geom::Matrix nmeGetMatrix( ); - Dynamic nmeGetMatrix_dyn(); - - virtual ::neash::geom::Matrix nmeGetConcatenatedMatrix( ); - Dynamic nmeGetConcatenatedMatrix_dyn(); - - virtual ::neash::geom::ColorTransform nmeGetConcatenatedColorTransform( ); - Dynamic nmeGetConcatenatedColorTransform_dyn(); - - virtual ::neash::geom::ColorTransform nmeSetColorTransform( ::neash::geom::ColorTransform inTrans); - Dynamic nmeSetColorTransform_dyn(); - - virtual ::neash::geom::ColorTransform nmeGetColorTransform( ); - Dynamic nmeGetColorTransform_dyn(); - - ::neash::display::DisplayObject nmeObj; /* REM */ - ::neash::geom::Rectangle pixelBounds; /* REM */ - ::neash::geom::Matrix matrix; /* REM */ - ::neash::geom::Matrix concatenatedMatrix; /* REM */ - ::neash::geom::ColorTransform concatenatedColorTransform; /* REM */ - ::neash::geom::ColorTransform colorTransform; /* REM */ -}; - -} // end namespace neash -} // end namespace geom - -#endif /* INCLUDED_neash_geom_Transform */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/media/ID3Info.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/media/ID3Info.h deleted file mode 100644 index 6c0f446..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/media/ID3Info.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef INCLUDED_neash_media_ID3Info -#define INCLUDED_neash_media_ID3Info - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,media,ID3Info) -namespace neash{ -namespace media{ - - -class ID3Info_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef ID3Info_obj OBJ_; - ID3Info_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ID3Info_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ID3Info_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ID3Info"); } - - ::String year; /* REM */ - ::String track; /* REM */ - ::String songName; /* REM */ - ::String genre; /* REM */ - ::String comment; /* REM */ - ::String artist; /* REM */ - ::String album; /* REM */ -}; - -} // end namespace neash -} // end namespace media - -#endif /* INCLUDED_neash_media_ID3Info */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/media/Sound.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/media/Sound.h deleted file mode 100644 index 9f27e1b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/media/Sound.h +++ /dev/null @@ -1,104 +0,0 @@ -#ifndef INCLUDED_neash_media_Sound -#define INCLUDED_neash_media_Sound - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,media,ID3Info) -HX_DECLARE_CLASS2(neash,media,Sound) -HX_DECLARE_CLASS2(neash,media,SoundChannel) -HX_DECLARE_CLASS2(neash,media,SoundLoaderContext) -HX_DECLARE_CLASS2(neash,media,SoundTransform) -HX_DECLARE_CLASS2(neash,net,URLRequest) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace media{ - - -class Sound_obj : public ::neash::events::EventDispatcher_obj{ - public: - typedef ::neash::events::EventDispatcher_obj super; - typedef Sound_obj OBJ_; - Sound_obj(); - Void __construct(::neash::net::URLRequest stream,::neash::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic); - - public: - static hx::ObjectPtr< Sound_obj > __new(::neash::net::URLRequest stream,::neash::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Sound_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Sound"); } - - virtual Float nmeGetLength( ); - Dynamic nmeGetLength_dyn(); - - virtual bool nmeGetIsBuffering( ); - Dynamic nmeGetIsBuffering_dyn(); - - virtual ::neash::media::ID3Info nmeGetID3( ); - Dynamic nmeGetID3_dyn(); - - virtual ::neash::media::SoundChannel play( hx::Null< Float > startTime,hx::Null< int > loops,::neash::media::SoundTransform sndTransform); - Dynamic play_dyn(); - - virtual Void nmeOnError( ::String msg); - Dynamic nmeOnError_dyn(); - - virtual Void nmeCheckLoading( ); - Dynamic nmeCheckLoading_dyn(); - - virtual Void loadPCMFromByteArray( ::neash::utils::ByteArray Bytes,int samples,::String format,hx::Null< bool > stereo,hx::Null< Float > sampleRate); - Dynamic loadPCMFromByteArray_dyn(); - - virtual Void loadCompressedDataFromByteArray( ::neash::utils::ByteArray bytes,int length,hx::Null< bool > forcePlayAsMusic); - Dynamic loadCompressedDataFromByteArray_dyn(); - - virtual Void load( ::neash::net::URLRequest stream,::neash::media::SoundLoaderContext context,hx::Null< bool > forcePlayAsMusic); - Dynamic load_dyn(); - - virtual Void close( ); - Dynamic close_dyn(); - - virtual Void addEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference); - - bool nmeDynamicSound; /* REM */ - bool nmeLoading; /* REM */ - Dynamic nmeHandle; /* REM */ - ::String url; /* REM */ - Float length; /* REM */ - bool isBuffering; /* REM */ - ::neash::media::ID3Info id3; /* REM */ - int bytesTotal; /* REM */ - int bytesLoaded; /* REM */ - static Dynamic nme_sound_from_file; /* REM */ - static Dynamic &nme_sound_from_file_dyn() { return nme_sound_from_file;} - static Dynamic nme_sound_from_data; /* REM */ - static Dynamic &nme_sound_from_data_dyn() { return nme_sound_from_data;} - static Dynamic nme_sound_get_id3; /* REM */ - static Dynamic &nme_sound_get_id3_dyn() { return nme_sound_get_id3;} - static Dynamic nme_sound_get_length; /* REM */ - static Dynamic &nme_sound_get_length_dyn() { return nme_sound_get_length;} - static Dynamic nme_sound_close; /* REM */ - static Dynamic &nme_sound_close_dyn() { return nme_sound_close;} - static Dynamic nme_sound_get_status; /* REM */ - static Dynamic &nme_sound_get_status_dyn() { return nme_sound_get_status;} - static Dynamic nme_sound_channel_create_dynamic; /* REM */ - static Dynamic &nme_sound_channel_create_dynamic_dyn() { return nme_sound_channel_create_dynamic;} -}; - -} // end namespace neash -} // end namespace media - -#endif /* INCLUDED_neash_media_Sound */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/media/SoundChannel.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/media/SoundChannel.h deleted file mode 100644 index aafd637..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/media/SoundChannel.h +++ /dev/null @@ -1,104 +0,0 @@ -#ifndef INCLUDED_neash_media_SoundChannel -#define INCLUDED_neash_media_SoundChannel - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,media,SoundChannel) -HX_DECLARE_CLASS2(neash,media,SoundTransform) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace media{ - - -class SoundChannel_obj : public ::neash::events::EventDispatcher_obj{ - public: - typedef ::neash::events::EventDispatcher_obj super; - typedef SoundChannel_obj OBJ_; - SoundChannel_obj(); - Void __construct(Dynamic inSoundHandle,Float startTime,int loops,::neash::media::SoundTransform sndTransform); - - public: - static hx::ObjectPtr< SoundChannel_obj > __new(Dynamic inSoundHandle,Float startTime,int loops,::neash::media::SoundTransform sndTransform); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SoundChannel_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SoundChannel"); } - - virtual ::neash::media::SoundTransform nmeSetTransform( ::neash::media::SoundTransform inTransform); - Dynamic nmeSetTransform_dyn(); - - virtual ::neash::media::SoundTransform nmeGetTransform( ); - Dynamic nmeGetTransform_dyn(); - - virtual Float nmeGetPosition( ); - Dynamic nmeGetPosition_dyn(); - - virtual Float nmeGetRight( ); - Dynamic nmeGetRight_dyn(); - - virtual Float nmeGetLeft( ); - Dynamic nmeGetLeft_dyn(); - - virtual Void stop( ); - Dynamic stop_dyn(); - - virtual bool nmeCheckComplete( ); - Dynamic nmeCheckComplete_dyn(); - - ::neash::events::EventDispatcher nmeDataProvider; /* REM */ - ::neash::media::SoundTransform nmeTransform; /* REM */ - Dynamic nmeHandle; /* REM */ - ::neash::media::SoundTransform soundTransform; /* REM */ - Float position; /* REM */ - Float rightPeak; /* REM */ - Float leftPeak; /* REM */ - static int nmeDynamicSoundCount; /* REM */ - static Array< ::neash::media::SoundChannel > nmeIncompleteList; /* REM */ - static ::neash::media::SoundChannel createDynamic( Dynamic inSoundHandle,::neash::media::SoundTransform sndTransform,::neash::events::EventDispatcher dataProvider); - static Dynamic createDynamic_dyn(); - - static bool nmeCompletePending( ); - static Dynamic nmeCompletePending_dyn(); - - static Void nmePollComplete( ); - static Dynamic nmePollComplete_dyn(); - - static Dynamic nme_sound_channel_is_complete; /* REM */ - static Dynamic &nme_sound_channel_is_complete_dyn() { return nme_sound_channel_is_complete;} - static Dynamic nme_sound_channel_get_left; /* REM */ - static Dynamic &nme_sound_channel_get_left_dyn() { return nme_sound_channel_get_left;} - static Dynamic nme_sound_channel_get_right; /* REM */ - static Dynamic &nme_sound_channel_get_right_dyn() { return nme_sound_channel_get_right;} - static Dynamic nme_sound_channel_get_position; /* REM */ - static Dynamic &nme_sound_channel_get_position_dyn() { return nme_sound_channel_get_position;} - static Dynamic nme_sound_channel_get_data_position; /* REM */ - static Dynamic &nme_sound_channel_get_data_position_dyn() { return nme_sound_channel_get_data_position;} - static Dynamic nme_sound_channel_stop; /* REM */ - static Dynamic &nme_sound_channel_stop_dyn() { return nme_sound_channel_stop;} - static Dynamic nme_sound_channel_create; /* REM */ - static Dynamic &nme_sound_channel_create_dyn() { return nme_sound_channel_create;} - static Dynamic nme_sound_channel_set_transform; /* REM */ - static Dynamic &nme_sound_channel_set_transform_dyn() { return nme_sound_channel_set_transform;} - static Dynamic nme_sound_channel_needs_data; /* REM */ - static Dynamic &nme_sound_channel_needs_data_dyn() { return nme_sound_channel_needs_data;} - static Dynamic nme_sound_channel_add_data; /* REM */ - static Dynamic &nme_sound_channel_add_data_dyn() { return nme_sound_channel_add_data;} -}; - -} // end namespace neash -} // end namespace media - -#endif /* INCLUDED_neash_media_SoundChannel */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/media/SoundLoaderContext.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/media/SoundLoaderContext.h deleted file mode 100644 index 147ed4f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/media/SoundLoaderContext.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef INCLUDED_neash_media_SoundLoaderContext -#define INCLUDED_neash_media_SoundLoaderContext - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,media,SoundLoaderContext) -namespace neash{ -namespace media{ - - -class SoundLoaderContext_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef SoundLoaderContext_obj OBJ_; - SoundLoaderContext_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< SoundLoaderContext_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SoundLoaderContext_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SoundLoaderContext"); } - -}; - -} // end namespace neash -} // end namespace media - -#endif /* INCLUDED_neash_media_SoundLoaderContext */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/media/SoundTransform.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/media/SoundTransform.h deleted file mode 100644 index 69ab0a7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/media/SoundTransform.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef INCLUDED_neash_media_SoundTransform -#define INCLUDED_neash_media_SoundTransform - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,media,SoundTransform) -namespace neash{ -namespace media{ - - -class SoundTransform_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef SoundTransform_obj OBJ_; - SoundTransform_obj(); - Void __construct(hx::Null< Float > __o_vol,hx::Null< Float > __o_panning); - - public: - static hx::ObjectPtr< SoundTransform_obj > __new(hx::Null< Float > __o_vol,hx::Null< Float > __o_panning); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SoundTransform_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SoundTransform"); } - - virtual ::neash::media::SoundTransform clone( ); - Dynamic clone_dyn(); - - Float volume; /* REM */ - Float pan; /* REM */ -}; - -} // end namespace neash -} // end namespace media - -#endif /* INCLUDED_neash_media_SoundTransform */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/net/URLLoader.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/net/URLLoader.h deleted file mode 100644 index 836a3b3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/net/URLLoader.h +++ /dev/null @@ -1,110 +0,0 @@ -#ifndef INCLUDED_neash_net_URLLoader -#define INCLUDED_neash_net_URLLoader - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(List) -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,net,URLLoader) -HX_DECLARE_CLASS2(neash,net,URLLoaderDataFormat) -HX_DECLARE_CLASS2(neash,net,URLRequest) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace net{ - - -class URLLoader_obj : public ::neash::events::EventDispatcher_obj{ - public: - typedef ::neash::events::EventDispatcher_obj super; - typedef URLLoader_obj OBJ_; - URLLoader_obj(); - Void __construct(::neash::net::URLRequest request); - - public: - static hx::ObjectPtr< URLLoader_obj > __new(::neash::net::URLRequest request); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLLoader_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLLoader"); } - - virtual Void update( ); - Dynamic update_dyn(); - - virtual Void dispatchHTTPStatus( int code); - Dynamic dispatchHTTPStatus_dyn(); - - virtual Void onError( ::String msg); - Dynamic onError_dyn(); - - virtual Void nmeDataComplete( ); - Dynamic nmeDataComplete_dyn(); - - virtual Void load( ::neash::net::URLRequest request); - Dynamic load_dyn(); - - virtual Array< ::String > getCookies( ); - Dynamic getCookies_dyn(); - - virtual Void close( ); - Dynamic close_dyn(); - - Dynamic nmeOnComplete; /* REM */ - Dynamic &nmeOnComplete_dyn() { return nmeOnComplete;} - int state; /* REM */ - Dynamic nmeHandle; /* REM */ - ::neash::net::URLLoaderDataFormat dataFormat; /* REM */ - Dynamic data; /* REM */ - int bytesTotal; /* REM */ - int bytesLoaded; /* REM */ - static ::List activeLoaders; /* REM */ - static int urlInvalid; /* REM */ - static int urlInit; /* REM */ - static int urlLoading; /* REM */ - static int urlComplete; /* REM */ - static int urlError; /* REM */ - static bool hasActive( ); - static Dynamic hasActive_dyn(); - - static Void initialize( ::String inCACertFilePath); - static Dynamic initialize_dyn(); - - static bool nmeLoadPending( ); - static Dynamic nmeLoadPending_dyn(); - - static Void nmePollData( ); - static Dynamic nmePollData_dyn(); - - static Dynamic nme_curl_create; /* REM */ - static Dynamic &nme_curl_create_dyn() { return nme_curl_create;} - static Dynamic nme_curl_process_loaders; /* REM */ - static Dynamic &nme_curl_process_loaders_dyn() { return nme_curl_process_loaders;} - static Dynamic nme_curl_update_loader; /* REM */ - static Dynamic &nme_curl_update_loader_dyn() { return nme_curl_update_loader;} - static Dynamic nme_curl_get_code; /* REM */ - static Dynamic &nme_curl_get_code_dyn() { return nme_curl_get_code;} - static Dynamic nme_curl_get_error_message; /* REM */ - static Dynamic &nme_curl_get_error_message_dyn() { return nme_curl_get_error_message;} - static Dynamic nme_curl_get_data; /* REM */ - static Dynamic &nme_curl_get_data_dyn() { return nme_curl_get_data;} - static Dynamic nme_curl_get_cookies; /* REM */ - static Dynamic &nme_curl_get_cookies_dyn() { return nme_curl_get_cookies;} - static Dynamic nme_curl_initialize; /* REM */ - static Dynamic &nme_curl_initialize_dyn() { return nme_curl_initialize;} -}; - -} // end namespace neash -} // end namespace net - -#endif /* INCLUDED_neash_net_URLLoader */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/net/URLLoaderDataFormat.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/net/URLLoaderDataFormat.h deleted file mode 100644 index cdc5257..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/net/URLLoaderDataFormat.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_net_URLLoaderDataFormat -#define INCLUDED_neash_net_URLLoaderDataFormat - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,net,URLLoaderDataFormat) -namespace neash{ -namespace net{ - - -class URLLoaderDataFormat_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef URLLoaderDataFormat_obj OBJ_; - - public: - URLLoaderDataFormat_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.net.URLLoaderDataFormat"); } - ::String __ToString() const { return HX_CSTRING("URLLoaderDataFormat.") + tag; } - - static ::neash::net::URLLoaderDataFormat BINARY; - static inline ::neash::net::URLLoaderDataFormat BINARY_dyn() { return BINARY; } - static ::neash::net::URLLoaderDataFormat TEXT; - static inline ::neash::net::URLLoaderDataFormat TEXT_dyn() { return TEXT; } - static ::neash::net::URLLoaderDataFormat VARIABLES; - static inline ::neash::net::URLLoaderDataFormat VARIABLES_dyn() { return VARIABLES; } -}; - -} // end namespace neash -} // end namespace net - -#endif /* INCLUDED_neash_net_URLLoaderDataFormat */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/net/URLRequest.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/net/URLRequest.h deleted file mode 100644 index 1449021..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/net/URLRequest.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef INCLUDED_neash_net_URLRequest -#define INCLUDED_neash_net_URLRequest - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,net,URLRequest) -HX_DECLARE_CLASS2(neash,net,URLRequestHeader) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace net{ - - -class URLRequest_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef URLRequest_obj OBJ_; - URLRequest_obj(); - Void __construct(::String inURL); - - public: - static hx::ObjectPtr< URLRequest_obj > __new(::String inURL); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLRequest_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLRequest"); } - - virtual Void nmePrepare( ); - Dynamic nmePrepare_dyn(); - - virtual Void digestAuth( ::String inUser,::String inPasswd); - Dynamic digestAuth_dyn(); - - virtual Void basicAuth( ::String inUser,::String inPasswd); - Dynamic basicAuth_dyn(); - - ::neash::utils::ByteArray nmeBytes; /* REM */ - ::String credentials; /* REM */ - Dynamic data; /* REM */ - ::String contentType; /* REM */ - ::String method; /* REM */ - bool verbose; /* REM */ - ::String cookieString; /* REM */ - int authType; /* REM */ - Array< ::neash::net::URLRequestHeader > requestHeaders; /* REM */ - ::String url; /* REM */ - static int AUTH_BASIC; /* REM */ - static int AUTH_DIGEST; /* REM */ - static int AUTH_GSSNEGOTIATE; /* REM */ - static int AUTH_NTLM; /* REM */ - static int AUTH_DIGEST_IE; /* REM */ - static int AUTH_DIGEST_ANY; /* REM */ -}; - -} // end namespace neash -} // end namespace net - -#endif /* INCLUDED_neash_net_URLRequest */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/net/URLRequestHeader.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/net/URLRequestHeader.h deleted file mode 100644 index 083ff8b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/net/URLRequestHeader.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_neash_net_URLRequestHeader -#define INCLUDED_neash_net_URLRequestHeader - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,net,URLRequestHeader) -namespace neash{ -namespace net{ - - -class URLRequestHeader_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef URLRequestHeader_obj OBJ_; - URLRequestHeader_obj(); - Void __construct(::String name,::String value); - - public: - static hx::ObjectPtr< URLRequestHeader_obj > __new(::String name,::String value); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLRequestHeader_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLRequestHeader"); } - - ::String value; /* REM */ - ::String name; /* REM */ -}; - -} // end namespace neash -} // end namespace net - -#endif /* INCLUDED_neash_net_URLRequestHeader */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/net/URLRequestMethod.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/net/URLRequestMethod.h deleted file mode 100644 index 70e9669..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/net/URLRequestMethod.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef INCLUDED_neash_net_URLRequestMethod -#define INCLUDED_neash_net_URLRequestMethod - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,net,URLRequestMethod) -namespace neash{ -namespace net{ - - -class URLRequestMethod_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef URLRequestMethod_obj OBJ_; - URLRequestMethod_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< URLRequestMethod_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLRequestMethod_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLRequestMethod"); } - - static ::String DELETE; /* REM */ - static ::String GET; /* REM */ - static ::String HEAD; /* REM */ - static ::String OPTIONS; /* REM */ - static ::String POST; /* REM */ - static ::String PUT; /* REM */ -}; - -} // end namespace neash -} // end namespace net - -#endif /* INCLUDED_neash_net_URLRequestMethod */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/net/URLVariables.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/net/URLVariables.h deleted file mode 100644 index 7430ee7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/net/URLVariables.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef INCLUDED_neash_net_URLVariables -#define INCLUDED_neash_net_URLVariables - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,net,URLVariables) -namespace neash{ -namespace net{ - - -class URLVariables_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef URLVariables_obj OBJ_; - URLVariables_obj(); - Void __construct(::String inEncoded); - - public: - static hx::ObjectPtr< URLVariables_obj > __new(::String inEncoded); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLVariables_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLVariables"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void decode( ::String inVars); - Dynamic decode_dyn(); - -}; - -} // end namespace neash -} // end namespace net - -#endif /* INCLUDED_neash_net_URLVariables */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/text/Font.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/text/Font.h deleted file mode 100644 index 0669466..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/text/Font.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_neash_text_Font -#define INCLUDED_neash_text_Font - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,text,Font) -HX_DECLARE_CLASS2(neash,text,FontStyle) -HX_DECLARE_CLASS2(neash,text,FontType) -namespace neash{ -namespace text{ - - -class Font_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Font_obj OBJ_; - Font_obj(); - Void __construct(::String inFilename); - - public: - static hx::ObjectPtr< Font_obj > __new(::String inFilename); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Font_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Font"); } - - ::neash::text::FontType fontType; /* REM */ - ::neash::text::FontStyle fontStyle; /* REM */ - ::String fontName; /* REM */ - static Dynamic load( ::String inFilename); - static Dynamic load_dyn(); - -}; - -} // end namespace neash -} // end namespace text - -#endif /* INCLUDED_neash_text_Font */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/text/FontStyle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/text/FontStyle.h deleted file mode 100644 index 911e59e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/text/FontStyle.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_neash_text_FontStyle -#define INCLUDED_neash_text_FontStyle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,text,FontStyle) -namespace neash{ -namespace text{ - - -class FontStyle_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef FontStyle_obj OBJ_; - - public: - FontStyle_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.text.FontStyle"); } - ::String __ToString() const { return HX_CSTRING("FontStyle.") + tag; } - - static ::neash::text::FontStyle BOLD; - static inline ::neash::text::FontStyle BOLD_dyn() { return BOLD; } - static ::neash::text::FontStyle BOLD_ITALIC; - static inline ::neash::text::FontStyle BOLD_ITALIC_dyn() { return BOLD_ITALIC; } - static ::neash::text::FontStyle ITALIC; - static inline ::neash::text::FontStyle ITALIC_dyn() { return ITALIC; } - static ::neash::text::FontStyle REGULAR; - static inline ::neash::text::FontStyle REGULAR_dyn() { return REGULAR; } -}; - -} // end namespace neash -} // end namespace text - -#endif /* INCLUDED_neash_text_FontStyle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/text/FontType.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/text/FontType.h deleted file mode 100644 index 59bb66d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/text/FontType.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_text_FontType -#define INCLUDED_neash_text_FontType - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,text,FontType) -namespace neash{ -namespace text{ - - -class FontType_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef FontType_obj OBJ_; - - public: - FontType_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.text.FontType"); } - ::String __ToString() const { return HX_CSTRING("FontType.") + tag; } - - static ::neash::text::FontType DEVICE; - static inline ::neash::text::FontType DEVICE_dyn() { return DEVICE; } - static ::neash::text::FontType EMBEDDED; - static inline ::neash::text::FontType EMBEDDED_dyn() { return EMBEDDED; } - static ::neash::text::FontType EMBEDDED_CFF; - static inline ::neash::text::FontType EMBEDDED_CFF_dyn() { return EMBEDDED_CFF; } -}; - -} // end namespace neash -} // end namespace text - -#endif /* INCLUDED_neash_text_FontType */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/utils/ByteArray.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/utils/ByteArray.h deleted file mode 100644 index c92ab1f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/utils/ByteArray.h +++ /dev/null @@ -1,185 +0,0 @@ -#ifndef INCLUDED_neash_utils_ByteArray -#define INCLUDED_neash_utils_ByteArray - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS1(neash,Loader) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace utils{ - - -class ByteArray_obj : public ::haxe::io::Bytes_obj{ - public: - typedef ::haxe::io::Bytes_obj super; - typedef ByteArray_obj OBJ_; - ByteArray_obj(); - Void __construct(hx::Null< int > __o_inSize); - - public: - static hx::ObjectPtr< ByteArray_obj > __new(hx::Null< int > __o_inSize); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ByteArray_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::neash::utils::IDataInput_obj *() - { return new ::neash::utils::IDataInput_delegate_< ByteArray_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - static void __init__(); - - ::String __ToString() const { return HX_CSTRING("ByteArray"); } - - typedef int __array_access; - virtual ::String nmeSetEndian( ::String s); - Dynamic nmeSetEndian_dyn(); - - virtual ::String nmeGetEndian( ); - Dynamic nmeGetEndian_dyn(); - - virtual int nmeGetBytesAvailable( ); - Dynamic nmeGetBytesAvailable_dyn(); - - virtual Void writeUTFBytes( ::String s); - Dynamic writeUTFBytes_dyn(); - - virtual Void writeUTF( ::String s); - Dynamic writeUTF_dyn(); - - virtual Void writeUnsignedInt( int value); - Dynamic writeUnsignedInt_dyn(); - - virtual Void writeShort( int value); - Dynamic writeShort_dyn(); - - virtual Void writeInt( int value); - Dynamic writeInt_dyn(); - - virtual Void writeFloat( Float x); - Dynamic writeFloat_dyn(); - - virtual Void writeFile( ::String inString); - Dynamic writeFile_dyn(); - - virtual Void writeDouble( Float x); - Dynamic writeDouble_dyn(); - - virtual Void writeBytes( ::haxe::io::Bytes bytes,hx::Null< int > inOffset,hx::Null< int > inLength); - Dynamic writeBytes_dyn(); - - virtual Void write_uncheck( int inByte); - Dynamic write_uncheck_dyn(); - - virtual Void writeByte( int value); - Dynamic writeByte_dyn(); - - virtual Void writeBoolean( bool value); - Dynamic writeBoolean_dyn(); - - virtual Void uncompress( ::String algorithm); - Dynamic uncompress_dyn(); - - virtual int ThrowEOFi( ); - Dynamic ThrowEOFi_dyn(); - - virtual Void setLength( int inLength); - Dynamic setLength_dyn(); - - virtual ::String readUTFBytes( int inLen); - Dynamic readUTFBytes_dyn(); - - virtual ::String readUTF( ); - Dynamic readUTF_dyn(); - - virtual int readUnsignedShort( ); - Dynamic readUnsignedShort_dyn(); - - virtual int readUnsignedInt( ); - Dynamic readUnsignedInt_dyn(); - - virtual int readUnsignedByte( ); - Dynamic readUnsignedByte_dyn(); - - virtual int readShort( ); - Dynamic readShort_dyn(); - - virtual int readInt( ); - Dynamic readInt_dyn(); - - virtual Float readFloat( ); - Dynamic readFloat_dyn(); - - virtual Float readDouble( ); - Dynamic readDouble_dyn(); - - virtual Void readBytes( ::neash::utils::ByteArray outData,hx::Null< int > inOffset,hx::Null< int > inLen); - Dynamic readBytes_dyn(); - - virtual ::String readMultiByte( int inLen,::String charSet); - Dynamic readMultiByte_dyn(); - - virtual int readByte( ); - Dynamic readByte_dyn(); - - virtual bool readBoolean( ); - Dynamic readBoolean_dyn(); - - virtual Void ensureElem( int inSize,bool inUpdateLenght); - Dynamic ensureElem_dyn(); - - virtual Void compress( ::String algorithm); - Dynamic compress_dyn(); - - virtual Void clear( ); - Dynamic clear_dyn(); - - virtual Void checkData( int inLength); - Dynamic checkData_dyn(); - - virtual ::String asString( ); - Dynamic asString_dyn(); - - virtual Void __set( int pos,int v); - Dynamic __set_dyn(); - - virtual int __get( int pos); - Dynamic __get_dyn(); - - int position; /* REM */ - ::String endian; /* REM */ - int bytesAvailable; /* REM */ - bool bigEndian; /* REM */ - static ::neash::utils::ByteArray fromBytes( ::haxe::io::Bytes inBytes); - static Dynamic fromBytes_dyn(); - - static ::neash::utils::ByteArray readFile( ::String inString); - static Dynamic readFile_dyn(); - - static Dynamic _double_bytes; /* REM */ - static Dynamic &_double_bytes_dyn() { return _double_bytes;} - static Dynamic _double_of_bytes; /* REM */ - static Dynamic &_double_of_bytes_dyn() { return _double_of_bytes;} - static Dynamic _float_bytes; /* REM */ - static Dynamic &_float_bytes_dyn() { return _float_bytes;} - static Dynamic _float_of_bytes; /* REM */ - static Dynamic &_float_of_bytes_dyn() { return _float_of_bytes;} - static Dynamic nme_byte_array_overwrite_file; /* REM */ - static Dynamic &nme_byte_array_overwrite_file_dyn() { return nme_byte_array_overwrite_file;} - static Dynamic nme_byte_array_read_file; /* REM */ - static Dynamic &nme_byte_array_read_file_dyn() { return nme_byte_array_read_file;} -}; - -} // end namespace neash -} // end namespace utils - -#endif /* INCLUDED_neash_utils_ByteArray */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/utils/Endian.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/utils/Endian.h deleted file mode 100644 index 7693ae4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/utils/Endian.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_neash_utils_Endian -#define INCLUDED_neash_utils_Endian - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,utils,Endian) -namespace neash{ -namespace utils{ - - -class Endian_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Endian_obj OBJ_; - Endian_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Endian_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Endian_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Endian"); } - - static ::String _BIG_ENDIAN; /* REM */ - static ::String _LITTLE_ENDIAN; /* REM */ -}; - -} // end namespace neash -} // end namespace utils - -#endif /* INCLUDED_neash_utils_Endian */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/utils/IDataInput.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/utils/IDataInput.h deleted file mode 100644 index b421495..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/utils/IDataInput.h +++ /dev/null @@ -1,101 +0,0 @@ -#ifndef INCLUDED_neash_utils_IDataInput -#define INCLUDED_neash_utils_IDataInput - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace utils{ - - -class IDataInput_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IDataInput_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual ::String nmeSetEndian( ::String s)=0; - Dynamic nmeSetEndian_dyn(); -virtual ::String nmeGetEndian( )=0; - Dynamic nmeGetEndian_dyn(); -virtual int nmeGetBytesAvailable( )=0; - Dynamic nmeGetBytesAvailable_dyn(); -virtual ::String readUTFBytes( int inLen)=0; - Dynamic readUTFBytes_dyn(); -virtual ::String readUTF( )=0; - Dynamic readUTF_dyn(); -virtual int readUnsignedShort( )=0; - Dynamic readUnsignedShort_dyn(); -virtual int readUnsignedInt( )=0; - Dynamic readUnsignedInt_dyn(); -virtual int readUnsignedByte( )=0; - Dynamic readUnsignedByte_dyn(); -virtual int readShort( )=0; - Dynamic readShort_dyn(); -virtual int readInt( )=0; - Dynamic readInt_dyn(); -virtual Float readFloat( )=0; - Dynamic readFloat_dyn(); -virtual Float readDouble( )=0; - Dynamic readDouble_dyn(); -virtual Void readBytes( ::neash::utils::ByteArray outData,hx::Null< int > inOffset,hx::Null< int > inLen)=0; - Dynamic readBytes_dyn(); -virtual int readByte( )=0; - Dynamic readByte_dyn(); -virtual bool readBoolean( )=0; - Dynamic readBoolean_dyn(); -}; - -#define DELEGATE_neash_utils_IDataInput \ -virtual ::String nmeSetEndian( ::String s) { return mDelegate->nmeSetEndian(s);} \ -virtual Dynamic nmeSetEndian_dyn() { return mDelegate->nmeSetEndian_dyn();} \ -virtual ::String nmeGetEndian( ) { return mDelegate->nmeGetEndian();} \ -virtual Dynamic nmeGetEndian_dyn() { return mDelegate->nmeGetEndian_dyn();} \ -virtual int nmeGetBytesAvailable( ) { return mDelegate->nmeGetBytesAvailable();} \ -virtual Dynamic nmeGetBytesAvailable_dyn() { return mDelegate->nmeGetBytesAvailable_dyn();} \ -virtual ::String readUTFBytes( int inLen) { return mDelegate->readUTFBytes(inLen);} \ -virtual Dynamic readUTFBytes_dyn() { return mDelegate->readUTFBytes_dyn();} \ -virtual ::String readUTF( ) { return mDelegate->readUTF();} \ -virtual Dynamic readUTF_dyn() { return mDelegate->readUTF_dyn();} \ -virtual int readUnsignedShort( ) { return mDelegate->readUnsignedShort();} \ -virtual Dynamic readUnsignedShort_dyn() { return mDelegate->readUnsignedShort_dyn();} \ -virtual int readUnsignedInt( ) { return mDelegate->readUnsignedInt();} \ -virtual Dynamic readUnsignedInt_dyn() { return mDelegate->readUnsignedInt_dyn();} \ -virtual int readUnsignedByte( ) { return mDelegate->readUnsignedByte();} \ -virtual Dynamic readUnsignedByte_dyn() { return mDelegate->readUnsignedByte_dyn();} \ -virtual int readShort( ) { return mDelegate->readShort();} \ -virtual Dynamic readShort_dyn() { return mDelegate->readShort_dyn();} \ -virtual int readInt( ) { return mDelegate->readInt();} \ -virtual Dynamic readInt_dyn() { return mDelegate->readInt_dyn();} \ -virtual Float readFloat( ) { return mDelegate->readFloat();} \ -virtual Dynamic readFloat_dyn() { return mDelegate->readFloat_dyn();} \ -virtual Float readDouble( ) { return mDelegate->readDouble();} \ -virtual Dynamic readDouble_dyn() { return mDelegate->readDouble_dyn();} \ -virtual Void readBytes( ::neash::utils::ByteArray outData,hx::Null< int > inOffset,hx::Null< int > inLen) { return mDelegate->readBytes(outData,inOffset,inLen);} \ -virtual Dynamic readBytes_dyn() { return mDelegate->readBytes_dyn();} \ -virtual int readByte( ) { return mDelegate->readByte();} \ -virtual Dynamic readByte_dyn() { return mDelegate->readByte_dyn();} \ -virtual bool readBoolean( ) { return mDelegate->readBoolean();} \ -virtual Dynamic readBoolean_dyn() { return mDelegate->readBoolean_dyn();} \ - - -template -class IDataInput_delegate_ : public IDataInput_obj -{ - protected: - IMPL *mDelegate; - public: - IDataInput_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_neash_utils_IDataInput -}; - -} // end namespace neash -} // end namespace utils - -#endif /* INCLUDED_neash_utils_IDataInput */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/utils/WeakRef.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/utils/WeakRef.h deleted file mode 100644 index 468280a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/neash/utils/WeakRef.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_neash_utils_WeakRef -#define INCLUDED_neash_utils_WeakRef - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,utils,WeakRef) -namespace neash{ -namespace utils{ - - -class WeakRef_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef WeakRef_obj OBJ_; - WeakRef_obj(); - Void __construct(Dynamic inObject,hx::Null< bool > __o_inMakeWeak); - - public: - static hx::ObjectPtr< WeakRef_obj > __new(Dynamic inObject,hx::Null< bool > __o_inMakeWeak); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~WeakRef_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("WeakRef"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Dynamic get( ); - Dynamic get_dyn(); - - int weakRef; /* REM */ - Dynamic hardRef; /* REM */ - static Dynamic nme_weak_ref_create; /* REM */ - static Dynamic &nme_weak_ref_create_dyn() { return nme_weak_ref_create;} - static Dynamic nme_weak_ref_get; /* REM */ - static Dynamic &nme_weak_ref_get_dyn() { return nme_weak_ref_get;} -}; - -} // end namespace neash -} // end namespace utils - -#endif /* INCLUDED_neash_utils_WeakRef */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/nme/Lib.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/nme/Lib.h deleted file mode 100644 index d317d31..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/nme/Lib.h +++ /dev/null @@ -1,129 +0,0 @@ -#ifndef INCLUDED_nme_Lib -#define INCLUDED_nme_Lib - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(native,display,BitmapData) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,ManagedStage) -HX_DECLARE_CLASS2(native,display,MovieClip) -HX_DECLARE_CLASS2(native,display,Sprite) -HX_DECLARE_CLASS2(native,display,Stage) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,net,URLRequest) -HX_DECLARE_CLASS1(nme,Lib) -namespace nme{ - - -class Lib_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Lib_obj OBJ_; - Lib_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Lib_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Lib_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Lib"); } - - static int FULLSCREEN; /* REM */ - static int BORDERLESS; /* REM */ - static int RESIZABLE; /* REM */ - static int HARDWARE; /* REM */ - static int VSYNC; /* REM */ - static int HW_AA; /* REM */ - static int HW_AA_HIRES; /* REM */ - static int ALLOW_SHADERS; /* REM */ - static int REQUIRE_SHADERS; /* REM */ - static int DEPTH_BUFFER; /* REM */ - static int STENCIL_BUFFER; /* REM */ - static Float MIN_FLOAT_VALUE; /* REM */ - static Float MAX_FLOAT_VALUE; /* REM */ - static ::String company; /* REM */ - static ::native::display::MovieClip current; /* REM */ - static ::String file; /* REM */ - static int initHeight; /* REM */ - static int initWidth; /* REM */ - static ::String packageName; /* REM */ - static ::native::display::Stage stage; /* REM */ - static ::String version; /* REM */ - static Void close( ); - static Dynamic close_dyn(); - - static Void create( Dynamic onLoaded,int width,int height,hx::Null< Float > frameRate,hx::Null< int > color,hx::Null< int > flags,::String title,::native::display::BitmapData icon); - static Dynamic create_dyn(); - - static ::native::display::ManagedStage createManagedStage( int width,int height); - static Dynamic createManagedStage_dyn(); - - static Void exit( ); - static Dynamic exit_dyn(); - - static Void forceClose( ); - static Dynamic forceClose_dyn(); - - static int getTimer( ); - static Dynamic getTimer_dyn(); - - static Void getURL( ::native::net::URLRequest url,::String target); - static Dynamic getURL_dyn(); - - static Void pause( ); - static Dynamic pause_dyn(); - - static Void postUICallback( Dynamic handler); - static Dynamic postUICallback_dyn(); - - static Void resume( ); - static Dynamic resume_dyn(); - - static Void setPackage( ::String company,::String file,::String packageName,::String version); - static Dynamic setPackage_dyn(); - - static Void trace( Dynamic arg); - static Dynamic trace_dyn(); - - static ::String get_company( ); - static Dynamic get_company_dyn(); - - static ::native::display::MovieClip get_current( ); - static Dynamic get_current_dyn(); - - static ::String get_file( ); - static Dynamic get_file_dyn(); - - static int get_initHeight( ); - static Dynamic get_initHeight_dyn(); - - static int get_initWidth( ); - static Dynamic get_initWidth_dyn(); - - static ::String get_packageName( ); - static Dynamic get_packageName_dyn(); - - static ::native::display::Stage get_stage( ); - static Dynamic get_stage_dyn(); - - static ::String get_version( ); - static Dynamic get_version_dyn(); - -}; - -} // end namespace nme - -#endif /* INCLUDED_nme_Lib */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/nme/VectorHelper.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/nme/VectorHelper.h deleted file mode 100644 index 41d3324..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/nme/VectorHelper.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_nme_VectorHelper -#define INCLUDED_nme_VectorHelper - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(nme,VectorHelper) -namespace nme{ - - -class VectorHelper_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef VectorHelper_obj OBJ_; - VectorHelper_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< VectorHelper_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~VectorHelper_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("VectorHelper"); } - - static Dynamic ofArray( ::Class v,Dynamic array); - static Dynamic ofArray_dyn(); - -}; - -} // end namespace nme - -#endif /* INCLUDED_nme_VectorHelper */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/nme/installer/Assets.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/nme/installer/Assets.h deleted file mode 100644 index 8db5dfe..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/nme/installer/Assets.h +++ /dev/null @@ -1,74 +0,0 @@ -#ifndef INCLUDED_nme_installer_Assets -#define INCLUDED_nme_installer_Assets - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(native,display,BitmapData) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS2(native,media,Sound) -HX_DECLARE_CLASS2(native,text,Font) -HX_DECLARE_CLASS2(native,utils,ByteArray) -HX_DECLARE_CLASS2(native,utils,IDataInput) -HX_DECLARE_CLASS2(native,utils,IMemoryRange) -HX_DECLARE_CLASS2(nme,installer,Assets) -namespace nme{ -namespace installer{ - - -class Assets_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Assets_obj OBJ_; - Assets_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Assets_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Assets_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Assets"); } - - static ::Hash cachedBitmapData; /* REM */ - static bool initialized; /* REM */ - static ::Hash resourceNames; /* REM */ - static ::Hash resourceTypes; /* REM */ - static Void initialize( ); - static Dynamic initialize_dyn(); - - static ::native::display::BitmapData getBitmapData( ::String id,hx::Null< bool > useCache); - static Dynamic getBitmapData_dyn(); - - static ::native::utils::ByteArray getBytes( ::String id); - static Dynamic getBytes_dyn(); - - static ::native::text::Font getFont( ::String id); - static Dynamic getFont_dyn(); - - static ::String getResourceName( ::String id); - static Dynamic getResourceName_dyn(); - - static ::native::media::Sound getSound( ::String id); - static Dynamic getSound_dyn(); - - static ::String getText( ::String id); - static Dynamic getText_dyn(); - -}; - -} // end namespace nme -} // end namespace installer - -#endif /* INCLUDED_nme_installer_Assets */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/core/Controller.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/core/Controller.h deleted file mode 100644 index d348987..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/core/Controller.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_core_Controller -#define INCLUDED_org_puremvc_haxe_core_Controller - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS4(org,puremvc,haxe,core,Controller) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IController) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IView) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace core{ - - -class Controller_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Controller_obj OBJ_; - Controller_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Controller_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Controller_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IController_obj *() - { return new ::org::puremvc::haxe::interfaces::IController_delegate_< Controller_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Controller"); } - - ::Hash commandMap; /* REM */ - ::org::puremvc::haxe::interfaces::IView view; /* REM */ - virtual Void removeCommand( ::String notificationName); - Dynamic removeCommand_dyn(); - - virtual bool hasCommand( ::String notificationName); - Dynamic hasCommand_dyn(); - - virtual Void registerCommand( ::String notificationName,::Class commandClassRef); - Dynamic registerCommand_dyn(); - - virtual Void executeCommand( ::org::puremvc::haxe::interfaces::INotification note); - Dynamic executeCommand_dyn(); - - virtual Void initializeController( ); - Dynamic initializeController_dyn(); - - static ::org::puremvc::haxe::interfaces::IController getInstance( ); - static Dynamic getInstance_dyn(); - - static ::org::puremvc::haxe::interfaces::IController instance; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace core - -#endif /* INCLUDED_org_puremvc_haxe_core_Controller */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/core/Model.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/core/Model.h deleted file mode 100644 index 7083dc9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/core/Model.h +++ /dev/null @@ -1,69 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_core_Model -#define INCLUDED_org_puremvc_haxe_core_Model - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS4(org,puremvc,haxe,core,Model) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IModel) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace core{ - - -class Model_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Model_obj OBJ_; - Model_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Model_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Model_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IModel_obj *() - { return new ::org::puremvc::haxe::interfaces::IModel_delegate_< Model_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Model"); } - - ::Hash proxyMap; /* REM */ - virtual ::org::puremvc::haxe::interfaces::IProxy removeProxy( ::String proxyName); - Dynamic removeProxy_dyn(); - - virtual bool hasProxy( ::String proxyName); - Dynamic hasProxy_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IProxy retrieveProxy( ::String proxyName); - Dynamic retrieveProxy_dyn(); - - virtual Void registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy); - Dynamic registerProxy_dyn(); - - virtual Void initializeModel( ); - Dynamic initializeModel_dyn(); - - static ::org::puremvc::haxe::interfaces::IModel getInstance( ); - static Dynamic getInstance_dyn(); - - static ::org::puremvc::haxe::interfaces::IModel instance; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace core - -#endif /* INCLUDED_org_puremvc_haxe_core_Model */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/core/View.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/core/View.h deleted file mode 100644 index 5529326..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/core/View.h +++ /dev/null @@ -1,81 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_core_View -#define INCLUDED_org_puremvc_haxe_core_View - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS4(org,puremvc,haxe,core,View) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IObserver) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IView) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace core{ - - -class View_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef View_obj OBJ_; - View_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< View_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~View_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IView_obj *() - { return new ::org::puremvc::haxe::interfaces::IView_delegate_< View_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("View"); } - - ::Hash observerMap; /* REM */ - ::Hash mediatorMap; /* REM */ - virtual bool hasMediator( ::String mediatorName); - Dynamic hasMediator_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IMediator removeMediator( ::String mediatorName); - Dynamic removeMediator_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IMediator retrieveMediator( ::String mediatorName); - Dynamic retrieveMediator_dyn(); - - virtual Void registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator); - Dynamic registerMediator_dyn(); - - virtual Void removeObserver( ::String notificationName,Dynamic notifyContext); - Dynamic removeObserver_dyn(); - - virtual Void notifyObservers( ::org::puremvc::haxe::interfaces::INotification notification); - Dynamic notifyObservers_dyn(); - - virtual Void registerObserver( ::String notificationName,::org::puremvc::haxe::interfaces::IObserver observer); - Dynamic registerObserver_dyn(); - - virtual Void initializeView( ); - Dynamic initializeView_dyn(); - - static ::org::puremvc::haxe::interfaces::IView getInstance( ); - static Dynamic getInstance_dyn(); - - static ::org::puremvc::haxe::interfaces::IView instance; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace core - -#endif /* INCLUDED_org_puremvc_haxe_core_View */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/ICommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/ICommand.h deleted file mode 100644 index ad4eaeb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/ICommand.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#define INCLUDED_org_puremvc_haxe_interfaces_ICommand - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class ICommand_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef ICommand_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void execute( ::org::puremvc::haxe::interfaces::INotification notification)=0; - Dynamic execute_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_ICommand \ -virtual Void execute( ::org::puremvc::haxe::interfaces::INotification notification) { return mDelegate->execute(notification);} \ -virtual Dynamic execute_dyn() { return mDelegate->execute_dyn();} \ - - -template -class ICommand_delegate_ : public ICommand_obj -{ - protected: - IMPL *mDelegate; - public: - ICommand_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_ICommand -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_ICommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IController.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IController.h deleted file mode 100644 index bdf5320..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IController.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IController -#define INCLUDED_org_puremvc_haxe_interfaces_IController - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IController) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IController_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IController_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual bool hasCommand( ::String notificationName)=0; - Dynamic hasCommand_dyn(); -virtual Void removeCommand( ::String notificationName)=0; - Dynamic removeCommand_dyn(); -virtual Void executeCommand( ::org::puremvc::haxe::interfaces::INotification notification)=0; - Dynamic executeCommand_dyn(); -virtual Void registerCommand( ::String notificationName,::Class commandClassRef)=0; - Dynamic registerCommand_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IController \ -virtual bool hasCommand( ::String notificationName) { return mDelegate->hasCommand(notificationName);} \ -virtual Dynamic hasCommand_dyn() { return mDelegate->hasCommand_dyn();} \ -virtual Void removeCommand( ::String notificationName) { return mDelegate->removeCommand(notificationName);} \ -virtual Dynamic removeCommand_dyn() { return mDelegate->removeCommand_dyn();} \ -virtual Void executeCommand( ::org::puremvc::haxe::interfaces::INotification notification) { return mDelegate->executeCommand(notification);} \ -virtual Dynamic executeCommand_dyn() { return mDelegate->executeCommand_dyn();} \ -virtual Void registerCommand( ::String notificationName,::Class commandClassRef) { return mDelegate->registerCommand(notificationName,commandClassRef);} \ -virtual Dynamic registerCommand_dyn() { return mDelegate->registerCommand_dyn();} \ - - -template -class IController_delegate_ : public IController_obj -{ - protected: - IMPL *mDelegate; - public: - IController_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IController -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IController */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IFacade.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IFacade.h deleted file mode 100644 index 34310a2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IFacade.h +++ /dev/null @@ -1,99 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#define INCLUDED_org_puremvc_haxe_interfaces_IFacade - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IFacade) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IFacade_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IFacade_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void notifyObservers( ::org::puremvc::haxe::interfaces::INotification note)=0; - Dynamic notifyObservers_dyn(); -virtual Void sendNotification( ::String notificationName,Dynamic body,::String type)=0; - Dynamic sendNotification_dyn(); -virtual bool hasMediator( ::String mediatorName)=0; - Dynamic hasMediator_dyn(); -virtual ::org::puremvc::haxe::interfaces::IMediator removeMediator( ::String mediatorName)=0; - Dynamic removeMediator_dyn(); -virtual ::org::puremvc::haxe::interfaces::IMediator retrieveMediator( ::String mediatorName)=0; - Dynamic retrieveMediator_dyn(); -virtual Void registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator)=0; - Dynamic registerMediator_dyn(); -virtual bool hasCommand( ::String notificationName)=0; - Dynamic hasCommand_dyn(); -virtual Void removeCommand( ::String notificationName)=0; - Dynamic removeCommand_dyn(); -virtual Void registerCommand( ::String noteName,::Class commandClassRef)=0; - Dynamic registerCommand_dyn(); -virtual bool hasProxy( ::String proxyName)=0; - Dynamic hasProxy_dyn(); -virtual ::org::puremvc::haxe::interfaces::IProxy removeProxy( ::String proxyName)=0; - Dynamic removeProxy_dyn(); -virtual ::org::puremvc::haxe::interfaces::IProxy retrieveProxy( ::String proxyName)=0; - Dynamic retrieveProxy_dyn(); -virtual Void registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy)=0; - Dynamic registerProxy_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IFacade \ -virtual Void notifyObservers( ::org::puremvc::haxe::interfaces::INotification note) { return mDelegate->notifyObservers(note);} \ -virtual Dynamic notifyObservers_dyn() { return mDelegate->notifyObservers_dyn();} \ -virtual Void sendNotification( ::String notificationName,Dynamic body,::String type) { return mDelegate->sendNotification(notificationName,body,type);} \ -virtual Dynamic sendNotification_dyn() { return mDelegate->sendNotification_dyn();} \ -virtual bool hasMediator( ::String mediatorName) { return mDelegate->hasMediator(mediatorName);} \ -virtual Dynamic hasMediator_dyn() { return mDelegate->hasMediator_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IMediator removeMediator( ::String mediatorName) { return mDelegate->removeMediator(mediatorName);} \ -virtual Dynamic removeMediator_dyn() { return mDelegate->removeMediator_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IMediator retrieveMediator( ::String mediatorName) { return mDelegate->retrieveMediator(mediatorName);} \ -virtual Dynamic retrieveMediator_dyn() { return mDelegate->retrieveMediator_dyn();} \ -virtual Void registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator) { return mDelegate->registerMediator(mediator);} \ -virtual Dynamic registerMediator_dyn() { return mDelegate->registerMediator_dyn();} \ -virtual bool hasCommand( ::String notificationName) { return mDelegate->hasCommand(notificationName);} \ -virtual Dynamic hasCommand_dyn() { return mDelegate->hasCommand_dyn();} \ -virtual Void removeCommand( ::String notificationName) { return mDelegate->removeCommand(notificationName);} \ -virtual Dynamic removeCommand_dyn() { return mDelegate->removeCommand_dyn();} \ -virtual Void registerCommand( ::String noteName,::Class commandClassRef) { return mDelegate->registerCommand(noteName,commandClassRef);} \ -virtual Dynamic registerCommand_dyn() { return mDelegate->registerCommand_dyn();} \ -virtual bool hasProxy( ::String proxyName) { return mDelegate->hasProxy(proxyName);} \ -virtual Dynamic hasProxy_dyn() { return mDelegate->hasProxy_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IProxy removeProxy( ::String proxyName) { return mDelegate->removeProxy(proxyName);} \ -virtual Dynamic removeProxy_dyn() { return mDelegate->removeProxy_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IProxy retrieveProxy( ::String proxyName) { return mDelegate->retrieveProxy(proxyName);} \ -virtual Dynamic retrieveProxy_dyn() { return mDelegate->retrieveProxy_dyn();} \ -virtual Void registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy) { return mDelegate->registerProxy(proxy);} \ -virtual Dynamic registerProxy_dyn() { return mDelegate->registerProxy_dyn();} \ - - -template -class IFacade_delegate_ : public IFacade_obj -{ - protected: - IMPL *mDelegate; - public: - IFacade_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IFacade -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IFacade */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IMediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IMediator.h deleted file mode 100644 index 6738f8c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IMediator.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#define INCLUDED_org_puremvc_haxe_interfaces_IMediator - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IMediator_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IMediator_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void onRemove( )=0; - Dynamic onRemove_dyn(); -virtual Void onRegister( )=0; - Dynamic onRegister_dyn(); -virtual Void handleNotification( ::org::puremvc::haxe::interfaces::INotification notification)=0; - Dynamic handleNotification_dyn(); -virtual Array< ::String > listNotificationInterests( )=0; - Dynamic listNotificationInterests_dyn(); -virtual Void setViewComponent( Dynamic viewComponent)=0; - Dynamic setViewComponent_dyn(); -virtual Dynamic getViewComponent( )=0; - Dynamic getViewComponent_dyn(); -virtual ::String getMediatorName( )=0; - Dynamic getMediatorName_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IMediator \ -virtual Void onRemove( ) { return mDelegate->onRemove();} \ -virtual Dynamic onRemove_dyn() { return mDelegate->onRemove_dyn();} \ -virtual Void onRegister( ) { return mDelegate->onRegister();} \ -virtual Dynamic onRegister_dyn() { return mDelegate->onRegister_dyn();} \ -virtual Void handleNotification( ::org::puremvc::haxe::interfaces::INotification notification) { return mDelegate->handleNotification(notification);} \ -virtual Dynamic handleNotification_dyn() { return mDelegate->handleNotification_dyn();} \ -virtual Array< ::String > listNotificationInterests( ) { return mDelegate->listNotificationInterests();} \ -virtual Dynamic listNotificationInterests_dyn() { return mDelegate->listNotificationInterests_dyn();} \ -virtual Void setViewComponent( Dynamic viewComponent) { return mDelegate->setViewComponent(viewComponent);} \ -virtual Dynamic setViewComponent_dyn() { return mDelegate->setViewComponent_dyn();} \ -virtual Dynamic getViewComponent( ) { return mDelegate->getViewComponent();} \ -virtual Dynamic getViewComponent_dyn() { return mDelegate->getViewComponent_dyn();} \ -virtual ::String getMediatorName( ) { return mDelegate->getMediatorName();} \ -virtual Dynamic getMediatorName_dyn() { return mDelegate->getMediatorName_dyn();} \ - - -template -class IMediator_delegate_ : public IMediator_obj -{ - protected: - IMPL *mDelegate; - public: - IMediator_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IMediator -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IMediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IModel.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IModel.h deleted file mode 100644 index 7450e22..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IModel.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IModel -#define INCLUDED_org_puremvc_haxe_interfaces_IModel - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IModel) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IModel_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IModel_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual bool hasProxy( ::String proxyName)=0; - Dynamic hasProxy_dyn(); -virtual ::org::puremvc::haxe::interfaces::IProxy removeProxy( ::String proxyName)=0; - Dynamic removeProxy_dyn(); -virtual ::org::puremvc::haxe::interfaces::IProxy retrieveProxy( ::String proxyName)=0; - Dynamic retrieveProxy_dyn(); -virtual Void registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy)=0; - Dynamic registerProxy_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IModel \ -virtual bool hasProxy( ::String proxyName) { return mDelegate->hasProxy(proxyName);} \ -virtual Dynamic hasProxy_dyn() { return mDelegate->hasProxy_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IProxy removeProxy( ::String proxyName) { return mDelegate->removeProxy(proxyName);} \ -virtual Dynamic removeProxy_dyn() { return mDelegate->removeProxy_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IProxy retrieveProxy( ::String proxyName) { return mDelegate->retrieveProxy(proxyName);} \ -virtual Dynamic retrieveProxy_dyn() { return mDelegate->retrieveProxy_dyn();} \ -virtual Void registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy) { return mDelegate->registerProxy(proxy);} \ -virtual Dynamic registerProxy_dyn() { return mDelegate->registerProxy_dyn();} \ - - -template -class IModel_delegate_ : public IModel_obj -{ - protected: - IMPL *mDelegate; - public: - IModel_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IModel -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IModel */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/INotification.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/INotification.h deleted file mode 100644 index c1b5666..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/INotification.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#define INCLUDED_org_puremvc_haxe_interfaces_INotification - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class INotification_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef INotification_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual ::String toString( )=0; - Dynamic toString_dyn(); -virtual ::String getType( )=0; - Dynamic getType_dyn(); -virtual Void setType( ::String type)=0; - Dynamic setType_dyn(); -virtual Dynamic getBody( )=0; - Dynamic getBody_dyn(); -virtual Void setBody( Dynamic body)=0; - Dynamic setBody_dyn(); -virtual ::String getName( )=0; - Dynamic getName_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_INotification \ -virtual ::String toString( ) { return mDelegate->toString();} \ -virtual Dynamic toString_dyn() { return mDelegate->toString_dyn();} \ -virtual ::String getType( ) { return mDelegate->getType();} \ -virtual Dynamic getType_dyn() { return mDelegate->getType_dyn();} \ -virtual Void setType( ::String type) { return mDelegate->setType(type);} \ -virtual Dynamic setType_dyn() { return mDelegate->setType_dyn();} \ -virtual Dynamic getBody( ) { return mDelegate->getBody();} \ -virtual Dynamic getBody_dyn() { return mDelegate->getBody_dyn();} \ -virtual Void setBody( Dynamic body) { return mDelegate->setBody(body);} \ -virtual Dynamic setBody_dyn() { return mDelegate->setBody_dyn();} \ -virtual ::String getName( ) { return mDelegate->getName();} \ -virtual Dynamic getName_dyn() { return mDelegate->getName_dyn();} \ - - -template -class INotification_delegate_ : public INotification_obj -{ - protected: - IMPL *mDelegate; - public: - INotification_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_INotification -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_INotification */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/INotifier.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/INotifier.h deleted file mode 100644 index 012d494..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/INotifier.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#define INCLUDED_org_puremvc_haxe_interfaces_INotifier - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class INotifier_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef INotifier_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void sendNotification( ::String notificationName,Dynamic body,::String type)=0; - Dynamic sendNotification_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_INotifier \ -virtual Void sendNotification( ::String notificationName,Dynamic body,::String type) { return mDelegate->sendNotification(notificationName,body,type);} \ -virtual Dynamic sendNotification_dyn() { return mDelegate->sendNotification_dyn();} \ - - -template -class INotifier_delegate_ : public INotifier_obj -{ - protected: - IMPL *mDelegate; - public: - INotifier_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_INotifier -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_INotifier */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IObserver.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IObserver.h deleted file mode 100644 index 4d39db3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IObserver.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IObserver -#define INCLUDED_org_puremvc_haxe_interfaces_IObserver - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IObserver) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IObserver_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IObserver_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual bool compareNotifyContext( Dynamic object)=0; - Dynamic compareNotifyContext_dyn(); -virtual Void notifyObserver( ::org::puremvc::haxe::interfaces::INotification notification)=0; - Dynamic notifyObserver_dyn(); -virtual Void setNotifyContext( Dynamic notifyContext)=0; - Dynamic setNotifyContext_dyn(); -virtual Void setNotifyMethod( Dynamic notifyMethod)=0; - Dynamic setNotifyMethod_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IObserver \ -virtual bool compareNotifyContext( Dynamic object) { return mDelegate->compareNotifyContext(object);} \ -virtual Dynamic compareNotifyContext_dyn() { return mDelegate->compareNotifyContext_dyn();} \ -virtual Void notifyObserver( ::org::puremvc::haxe::interfaces::INotification notification) { return mDelegate->notifyObserver(notification);} \ -virtual Dynamic notifyObserver_dyn() { return mDelegate->notifyObserver_dyn();} \ -virtual Void setNotifyContext( Dynamic notifyContext) { return mDelegate->setNotifyContext(notifyContext);} \ -virtual Dynamic setNotifyContext_dyn() { return mDelegate->setNotifyContext_dyn();} \ -virtual Void setNotifyMethod( Dynamic notifyMethod) { return mDelegate->setNotifyMethod(notifyMethod);} \ -virtual Dynamic setNotifyMethod_dyn() { return mDelegate->setNotifyMethod_dyn();} \ - - -template -class IObserver_delegate_ : public IObserver_obj -{ - protected: - IMPL *mDelegate; - public: - IObserver_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IObserver -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IObserver */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IProxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IProxy.h deleted file mode 100644 index 0188882..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IProxy.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#define INCLUDED_org_puremvc_haxe_interfaces_IProxy - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IProxy_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IProxy_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void onRemove( )=0; - Dynamic onRemove_dyn(); -virtual Void onRegister( )=0; - Dynamic onRegister_dyn(); -virtual Dynamic getData( )=0; - Dynamic getData_dyn(); -virtual Void setData( Dynamic data)=0; - Dynamic setData_dyn(); -virtual ::String getProxyName( )=0; - Dynamic getProxyName_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IProxy \ -virtual Void onRemove( ) { return mDelegate->onRemove();} \ -virtual Dynamic onRemove_dyn() { return mDelegate->onRemove_dyn();} \ -virtual Void onRegister( ) { return mDelegate->onRegister();} \ -virtual Dynamic onRegister_dyn() { return mDelegate->onRegister_dyn();} \ -virtual Dynamic getData( ) { return mDelegate->getData();} \ -virtual Dynamic getData_dyn() { return mDelegate->getData_dyn();} \ -virtual Void setData( Dynamic data) { return mDelegate->setData(data);} \ -virtual Dynamic setData_dyn() { return mDelegate->setData_dyn();} \ -virtual ::String getProxyName( ) { return mDelegate->getProxyName();} \ -virtual Dynamic getProxyName_dyn() { return mDelegate->getProxyName_dyn();} \ - - -template -class IProxy_delegate_ : public IProxy_obj -{ - protected: - IMPL *mDelegate; - public: - IProxy_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IProxy -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IProxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IView.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IView.h deleted file mode 100644 index 4ce7be9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/interfaces/IView.h +++ /dev/null @@ -1,74 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IView -#define INCLUDED_org_puremvc_haxe_interfaces_IView - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IObserver) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IView) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IView_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IView_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual bool hasMediator( ::String mediatorName)=0; - Dynamic hasMediator_dyn(); -virtual ::org::puremvc::haxe::interfaces::IMediator removeMediator( ::String mediatorName)=0; - Dynamic removeMediator_dyn(); -virtual ::org::puremvc::haxe::interfaces::IMediator retrieveMediator( ::String mediatorName)=0; - Dynamic retrieveMediator_dyn(); -virtual Void registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator)=0; - Dynamic registerMediator_dyn(); -virtual Void notifyObservers( ::org::puremvc::haxe::interfaces::INotification note)=0; - Dynamic notifyObservers_dyn(); -virtual Void removeObserver( ::String notificationName,Dynamic notifyContext)=0; - Dynamic removeObserver_dyn(); -virtual Void registerObserver( ::String noteName,::org::puremvc::haxe::interfaces::IObserver observer)=0; - Dynamic registerObserver_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IView \ -virtual bool hasMediator( ::String mediatorName) { return mDelegate->hasMediator(mediatorName);} \ -virtual Dynamic hasMediator_dyn() { return mDelegate->hasMediator_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IMediator removeMediator( ::String mediatorName) { return mDelegate->removeMediator(mediatorName);} \ -virtual Dynamic removeMediator_dyn() { return mDelegate->removeMediator_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IMediator retrieveMediator( ::String mediatorName) { return mDelegate->retrieveMediator(mediatorName);} \ -virtual Dynamic retrieveMediator_dyn() { return mDelegate->retrieveMediator_dyn();} \ -virtual Void registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator) { return mDelegate->registerMediator(mediator);} \ -virtual Dynamic registerMediator_dyn() { return mDelegate->registerMediator_dyn();} \ -virtual Void notifyObservers( ::org::puremvc::haxe::interfaces::INotification note) { return mDelegate->notifyObservers(note);} \ -virtual Dynamic notifyObservers_dyn() { return mDelegate->notifyObservers_dyn();} \ -virtual Void removeObserver( ::String notificationName,Dynamic notifyContext) { return mDelegate->removeObserver(notificationName,notifyContext);} \ -virtual Dynamic removeObserver_dyn() { return mDelegate->removeObserver_dyn();} \ -virtual Void registerObserver( ::String noteName,::org::puremvc::haxe::interfaces::IObserver observer) { return mDelegate->registerObserver(noteName,observer);} \ -virtual Dynamic registerObserver_dyn() { return mDelegate->registerObserver_dyn();} \ - - -template -class IView_delegate_ : public IView_obj -{ - protected: - IMPL *mDelegate; - public: - IView_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IView -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IView */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/command/MacroCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/command/MacroCommand.h deleted file mode 100644 index 9cd77b5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/command/MacroCommand.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_MacroCommand -#define INCLUDED_org_puremvc_haxe_patterns_command_MacroCommand - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS0(List) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,MacroCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace command{ - - -class MacroCommand_obj : public ::org::puremvc::haxe::patterns::observer::Notifier_obj{ - public: - typedef ::org::puremvc::haxe::patterns::observer::Notifier_obj super; - typedef MacroCommand_obj OBJ_; - MacroCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< MacroCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~MacroCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::ICommand_obj *() - { return new ::org::puremvc::haxe::interfaces::ICommand_delegate_< MacroCommand_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("MacroCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification notification); - Dynamic execute_dyn(); - - virtual Void addSubCommand( ::Class commandClassRef); - Dynamic addSubCommand_dyn(); - - virtual Void initializeMacroCommand( ); - Dynamic initializeMacroCommand_dyn(); - - ::List subCommands; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace command - -#endif /* INCLUDED_org_puremvc_haxe_patterns_command_MacroCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/command/SimpleCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/command/SimpleCommand.h deleted file mode 100644 index 4d61266..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/command/SimpleCommand.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#define INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace command{ - - -class SimpleCommand_obj : public ::org::puremvc::haxe::patterns::observer::Notifier_obj{ - public: - typedef ::org::puremvc::haxe::patterns::observer::Notifier_obj super; - typedef SimpleCommand_obj OBJ_; - SimpleCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< SimpleCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SimpleCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::ICommand_obj *() - { return new ::org::puremvc::haxe::interfaces::ICommand_delegate_< SimpleCommand_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("SimpleCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification notification); - Dynamic execute_dyn(); - -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace command - -#endif /* INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/facade/Facade.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/facade/Facade.h deleted file mode 100644 index 6046b13..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/facade/Facade.h +++ /dev/null @@ -1,114 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_facade_Facade -#define INCLUDED_org_puremvc_haxe_patterns_facade_Facade - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IController) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IFacade) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IModel) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IView) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,facade,Facade) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace facade{ - - -class Facade_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Facade_obj OBJ_; - Facade_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Facade_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Facade_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IFacade_obj *() - { return new ::org::puremvc::haxe::interfaces::IFacade_delegate_< Facade_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Facade"); } - - ::org::puremvc::haxe::interfaces::IView view; /* REM */ - ::org::puremvc::haxe::interfaces::IModel model; /* REM */ - ::org::puremvc::haxe::interfaces::IController controller; /* REM */ - virtual Void notifyObservers( ::org::puremvc::haxe::interfaces::INotification notification); - Dynamic notifyObservers_dyn(); - - virtual Void sendNotification( ::String notificationName,Dynamic body,::String type); - Dynamic sendNotification_dyn(); - - virtual bool hasMediator( ::String mediatorName); - Dynamic hasMediator_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IMediator removeMediator( ::String mediatorName); - Dynamic removeMediator_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IMediator retrieveMediator( ::String mediatorName); - Dynamic retrieveMediator_dyn(); - - virtual Void registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator); - Dynamic registerMediator_dyn(); - - virtual bool hasProxy( ::String proxyName); - Dynamic hasProxy_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IProxy removeProxy( ::String proxyName); - Dynamic removeProxy_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IProxy retrieveProxy( ::String proxyName); - Dynamic retrieveProxy_dyn(); - - virtual Void registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy); - Dynamic registerProxy_dyn(); - - virtual bool hasCommand( ::String notificationName); - Dynamic hasCommand_dyn(); - - virtual Void removeCommand( ::String notificationName); - Dynamic removeCommand_dyn(); - - virtual Void registerCommand( ::String notificationName,::Class commandClassRef); - Dynamic registerCommand_dyn(); - - virtual Void initializeView( ); - Dynamic initializeView_dyn(); - - virtual Void initializeModel( ); - Dynamic initializeModel_dyn(); - - virtual Void initializeController( ); - Dynamic initializeController_dyn(); - - virtual Void initializeFacade( ); - Dynamic initializeFacade_dyn(); - - static ::org::puremvc::haxe::interfaces::IFacade getInstance( ); - static Dynamic getInstance_dyn(); - - static ::org::puremvc::haxe::interfaces::IFacade instance; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace facade - -#endif /* INCLUDED_org_puremvc_haxe_patterns_facade_Facade */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/mediator/Mediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/mediator/Mediator.h deleted file mode 100644 index a044ed8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/mediator/Mediator.h +++ /dev/null @@ -1,77 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#define INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace mediator{ - - -class Mediator_obj : public ::org::puremvc::haxe::patterns::observer::Notifier_obj{ - public: - typedef ::org::puremvc::haxe::patterns::observer::Notifier_obj super; - typedef Mediator_obj OBJ_; - Mediator_obj(); - Void __construct(::String mediatorName,Dynamic viewComponent); - - public: - static hx::ObjectPtr< Mediator_obj > __new(::String mediatorName,Dynamic viewComponent); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Mediator_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IMediator_obj *() - { return new ::org::puremvc::haxe::interfaces::IMediator_delegate_< Mediator_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Mediator"); } - - Dynamic viewComponent; /* REM */ - ::String mediatorName; /* REM */ - virtual Void onRemove( ); - Dynamic onRemove_dyn(); - - virtual Void onRegister( ); - Dynamic onRegister_dyn(); - - virtual Void handleNotification( ::org::puremvc::haxe::interfaces::INotification notification); - Dynamic handleNotification_dyn(); - - virtual Array< ::String > listNotificationInterests( ); - Dynamic listNotificationInterests_dyn(); - - virtual Dynamic getViewComponent( ); - Dynamic getViewComponent_dyn(); - - virtual Void setViewComponent( Dynamic viewComponent); - Dynamic setViewComponent_dyn(); - - virtual ::String getMediatorName( ); - Dynamic getMediatorName_dyn(); - - static ::String NAME; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace mediator - -#endif /* INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/observer/Notification.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/observer/Notification.h deleted file mode 100644 index 7841b00..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/observer/Notification.h +++ /dev/null @@ -1,70 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notification -#define INCLUDED_org_puremvc_haxe_patterns_observer_Notification - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notification) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace observer{ - - -class Notification_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Notification_obj OBJ_; - Notification_obj(); - Void __construct(::String name,Dynamic body,::String type); - - public: - static hx::ObjectPtr< Notification_obj > __new(::String name,Dynamic body,::String type); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Notification_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::INotification_obj *() - { return new ::org::puremvc::haxe::interfaces::INotification_delegate_< Notification_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Notification"); } - - Dynamic body; /* REM */ - ::String type; /* REM */ - ::String name; /* REM */ - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual ::String getType( ); - Dynamic getType_dyn(); - - virtual Void setType( ::String type); - Dynamic setType_dyn(); - - virtual Dynamic getBody( ); - Dynamic getBody_dyn(); - - virtual Void setBody( Dynamic body); - Dynamic setBody_dyn(); - - virtual ::String getName( ); - Dynamic getName_dyn(); - -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace observer - -#endif /* INCLUDED_org_puremvc_haxe_patterns_observer_Notification */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/observer/Notifier.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/observer/Notifier.h deleted file mode 100644 index 53cb0c3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/observer/Notifier.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#define INCLUDED_org_puremvc_haxe_patterns_observer_Notifier - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IFacade) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace observer{ - - -class Notifier_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Notifier_obj OBJ_; - Notifier_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Notifier_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Notifier_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::INotifier_obj *() - { return new ::org::puremvc::haxe::interfaces::INotifier_delegate_< Notifier_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Notifier"); } - - ::org::puremvc::haxe::interfaces::IFacade facade; /* REM */ - virtual Void sendNotification( ::String notificationName,Dynamic body,::String type); - Dynamic sendNotification_dyn(); - -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace observer - -#endif /* INCLUDED_org_puremvc_haxe_patterns_observer_Notifier */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/observer/Observer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/observer/Observer.h deleted file mode 100644 index 3c95efa..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/observer/Observer.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Observer -#define INCLUDED_org_puremvc_haxe_patterns_observer_Observer - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IObserver) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Observer) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace observer{ - - -class Observer_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Observer_obj OBJ_; - Observer_obj(); - Void __construct(Dynamic notifyMethod,Dynamic notifyContext); - - public: - static hx::ObjectPtr< Observer_obj > __new(Dynamic notifyMethod,Dynamic notifyContext); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Observer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IObserver_obj *() - { return new ::org::puremvc::haxe::interfaces::IObserver_delegate_< Observer_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Observer"); } - - virtual bool compareNotifyContext( Dynamic object); - Dynamic compareNotifyContext_dyn(); - - virtual Void notifyObserver( ::org::puremvc::haxe::interfaces::INotification notification); - Dynamic notifyObserver_dyn(); - - virtual Dynamic getNotifyContext( ); - Dynamic getNotifyContext_dyn(); - - virtual Dynamic getNotifyMethod( ); - Dynamic getNotifyMethod_dyn(); - - virtual Void setNotifyContext( Dynamic notifyContext); - Dynamic setNotifyContext_dyn(); - - virtual Void setNotifyMethod( Dynamic notifyMethod); - Dynamic setNotifyMethod_dyn(); - - Dynamic context; /* REM */ - Dynamic notify; /* REM */ - Dynamic ¬ify_dyn() { return notify;} -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace observer - -#endif /* INCLUDED_org_puremvc_haxe_patterns_observer_Observer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/proxy/Proxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/proxy/Proxy.h deleted file mode 100644 index aa8d647..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/org/puremvc/haxe/patterns/proxy/Proxy.h +++ /dev/null @@ -1,70 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#define INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace proxy{ - - -class Proxy_obj : public ::org::puremvc::haxe::patterns::observer::Notifier_obj{ - public: - typedef ::org::puremvc::haxe::patterns::observer::Notifier_obj super; - typedef Proxy_obj OBJ_; - Proxy_obj(); - Void __construct(::String proxyName,Dynamic data); - - public: - static hx::ObjectPtr< Proxy_obj > __new(::String proxyName,Dynamic data); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Proxy_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IProxy_obj *() - { return new ::org::puremvc::haxe::interfaces::IProxy_delegate_< Proxy_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Proxy"); } - - Dynamic data; /* REM */ - ::String proxyName; /* REM */ - virtual Void onRemove( ); - Dynamic onRemove_dyn(); - - virtual Void onRegister( ); - Dynamic onRegister_dyn(); - - virtual Dynamic getData( ); - Dynamic getData_dyn(); - - virtual Void setData( Dynamic data); - Dynamic setData_dyn(); - - virtual ::String getProxyName( ); - Dynamic getProxyName_dyn(); - - static ::String NAME; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace proxy - -#endif /* INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/pages/Psvg.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/pages/Psvg.h deleted file mode 100644 index 7fa8489..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/pages/Psvg.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef INCLUDED_pages_Psvg -#define INCLUDED_pages_Psvg - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ActorComponent) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,PageComponent) -HX_DECLARE_CLASS1(haxe,Timer) -HX_DECLARE_CLASS2(native,display,DisplayObject) -HX_DECLARE_CLASS2(native,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(native,display,IBitmapDrawable) -HX_DECLARE_CLASS2(native,display,InteractiveObject) -HX_DECLARE_CLASS2(native,display,Sprite) -HX_DECLARE_CLASS2(native,events,EventDispatcher) -HX_DECLARE_CLASS2(native,events,IEventDispatcher) -HX_DECLARE_CLASS1(pages,Psvg) -namespace pages{ - - -class Psvg_obj : public ::ca::confidant::glory::view::components::PageComponent_obj{ - public: - typedef ::ca::confidant::glory::view::components::PageComponent_obj super; - typedef Psvg_obj OBJ_; - Psvg_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Psvg_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Psvg_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Psvg"); } - - virtual Void onTimerTick( ); - Dynamic onTimerTick_dyn(); - - virtual Void startTimer( hx::Null< int > i); - Dynamic startTimer_dyn(); - - virtual Void init( ); - - ::ca::confidant::glory::view::components::ActorComponent star; /* REM */ - ::haxe::Timer myTimer; /* REM */ -}; - -} // end namespace pages - -#endif /* INCLUDED_pages_Psvg */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/pages/Ptitle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/pages/Ptitle.h deleted file mode 100644 index e39df05..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/pages/Ptitle.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef INCLUDED_pages_Ptitle -#define INCLUDED_pages_Ptitle - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ActorComponent) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,PageComponent) -HX_DECLARE_CLASS1(haxe,Timer) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS1(pages,Ptitle) -namespace pages{ - - -class Ptitle_obj : public ::ca::confidant::glory::view::components::PageComponent_obj{ - public: - typedef ::ca::confidant::glory::view::components::PageComponent_obj super; - typedef Ptitle_obj OBJ_; - Ptitle_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Ptitle_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Ptitle_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Ptitle"); } - - virtual Void onTimerTick( ); - Dynamic onTimerTick_dyn(); - - virtual Void startTimer( hx::Null< int > i); - Dynamic startTimer_dyn(); - - virtual Void init( ); - - ::ca::confidant::glory::view::components::ActorComponent star; /* REM */ - ::haxe::Timer myTimer; /* REM */ -}; - -} // end namespace pages - -#endif /* INCLUDED_pages_Ptitle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/FileSystem.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/FileSystem.h deleted file mode 100644 index c5a8fbe..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/FileSystem.h +++ /dev/null @@ -1,85 +0,0 @@ -#ifndef INCLUDED_sys_FileSystem -#define INCLUDED_sys_FileSystem - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(sys,FileSystem) -HX_DECLARE_CLASS2(sys,_FileSystem,FileKind) -namespace sys{ - - -class FileSystem_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef FileSystem_obj OBJ_; - FileSystem_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< FileSystem_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~FileSystem_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("FileSystem"); } - - static bool exists( ::String path); - static Dynamic exists_dyn(); - - static Void rename( ::String path,::String newpath); - static Dynamic rename_dyn(); - - static Dynamic stat( ::String path); - static Dynamic stat_dyn(); - - static ::String fullPath( ::String relpath); - static Dynamic fullPath_dyn(); - - static ::sys::_FileSystem::FileKind kind( ::String path); - static Dynamic kind_dyn(); - - static bool isDirectory( ::String path); - static Dynamic isDirectory_dyn(); - - static Void createDirectory( ::String path); - static Dynamic createDirectory_dyn(); - - static Void deleteFile( ::String path); - static Dynamic deleteFile_dyn(); - - static Void deleteDirectory( ::String path); - static Dynamic deleteDirectory_dyn(); - - static Array< ::String > readDirectory( ::String path); - static Dynamic readDirectory_dyn(); - - static Dynamic sys_exists; /* REM */ - static Dynamic &sys_exists_dyn() { return sys_exists;} - static Dynamic file_delete; /* REM */ - static Dynamic &file_delete_dyn() { return file_delete;} - static Dynamic sys_rename; /* REM */ - static Dynamic &sys_rename_dyn() { return sys_rename;} - static Dynamic sys_stat; /* REM */ - static Dynamic &sys_stat_dyn() { return sys_stat;} - static Dynamic sys_file_type; /* REM */ - static Dynamic &sys_file_type_dyn() { return sys_file_type;} - static Dynamic sys_create_dir; /* REM */ - static Dynamic &sys_create_dir_dyn() { return sys_create_dir;} - static Dynamic sys_remove_dir; /* REM */ - static Dynamic &sys_remove_dir_dyn() { return sys_remove_dir;} - static Dynamic sys_read_dir; /* REM */ - static Dynamic &sys_read_dir_dyn() { return sys_read_dir;} - static Dynamic file_full_path; /* REM */ - static Dynamic &file_full_path_dyn() { return file_full_path;} -}; - -} // end namespace sys - -#endif /* INCLUDED_sys_FileSystem */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/_FileSystem/FileKind.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/_FileSystem/FileKind.h deleted file mode 100644 index 9bde4c3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/_FileSystem/FileKind.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_sys__FileSystem_FileKind -#define INCLUDED_sys__FileSystem_FileKind - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(sys,_FileSystem,FileKind) -namespace sys{ -namespace _FileSystem{ - - -class FileKind_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef FileKind_obj OBJ_; - - public: - FileKind_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("sys._FileSystem.FileKind"); } - ::String __ToString() const { return HX_CSTRING("FileKind.") + tag; } - - static ::sys::_FileSystem::FileKind kdir; - static inline ::sys::_FileSystem::FileKind kdir_dyn() { return kdir; } - static ::sys::_FileSystem::FileKind kfile; - static inline ::sys::_FileSystem::FileKind kfile_dyn() { return kfile; } - static ::sys::_FileSystem::FileKind kother(::String k); - static Dynamic kother_dyn(); -}; - -} // end namespace sys -} // end namespace _FileSystem - -#endif /* INCLUDED_sys__FileSystem_FileKind */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/File.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/File.h deleted file mode 100644 index 4a6c5cc..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/File.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef INCLUDED_sys_io_File -#define INCLUDED_sys_io_File - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Input) -HX_DECLARE_CLASS2(haxe,io,Output) -HX_DECLARE_CLASS2(sys,io,File) -HX_DECLARE_CLASS2(sys,io,FileInput) -HX_DECLARE_CLASS2(sys,io,FileOutput) -namespace sys{ -namespace io{ - - -class File_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef File_obj OBJ_; - File_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< File_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~File_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("File"); } - - static ::String getContent( ::String path); - static Dynamic getContent_dyn(); - - static ::haxe::io::Bytes getBytes( ::String path); - static Dynamic getBytes_dyn(); - - static Void saveContent( ::String path,::String content); - static Dynamic saveContent_dyn(); - - static Void saveBytes( ::String path,::haxe::io::Bytes bytes); - static Dynamic saveBytes_dyn(); - - static ::sys::io::FileInput read( ::String path,hx::Null< bool > binary); - static Dynamic read_dyn(); - - static ::sys::io::FileOutput write( ::String path,hx::Null< bool > binary); - static Dynamic write_dyn(); - - static ::sys::io::FileOutput append( ::String path,hx::Null< bool > binary); - static Dynamic append_dyn(); - - static Void copy( ::String src,::String dst); - static Dynamic copy_dyn(); - - static Dynamic file_contents; /* REM */ - static Dynamic &file_contents_dyn() { return file_contents;} - static Dynamic file_open; /* REM */ - static Dynamic &file_open_dyn() { return file_open;} -}; - -} // end namespace sys -} // end namespace io - -#endif /* INCLUDED_sys_io_File */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/FileInput.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/FileInput.h deleted file mode 100644 index ae5707c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/FileInput.h +++ /dev/null @@ -1,70 +0,0 @@ -#ifndef INCLUDED_sys_io_FileInput -#define INCLUDED_sys_io_FileInput - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Input) -HX_DECLARE_CLASS2(sys,io,FileInput) -HX_DECLARE_CLASS2(sys,io,FileSeek) -namespace sys{ -namespace io{ - - -class FileInput_obj : public ::haxe::io::Input_obj{ - public: - typedef ::haxe::io::Input_obj super; - typedef FileInput_obj OBJ_; - FileInput_obj(); - Void __construct(Dynamic f); - - public: - static hx::ObjectPtr< FileInput_obj > __new(Dynamic f); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~FileInput_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("FileInput"); } - - virtual bool eof( ); - Dynamic eof_dyn(); - - virtual int tell( ); - Dynamic tell_dyn(); - - virtual Void seek( int p,::sys::io::FileSeek pos); - Dynamic seek_dyn(); - - virtual Void close( ); - - virtual int readBytes( ::haxe::io::Bytes s,int p,int l); - - virtual int readByte( ); - - Dynamic __f; /* REM */ - static Dynamic file_eof; /* REM */ - static Dynamic &file_eof_dyn() { return file_eof;} - static Dynamic file_read; /* REM */ - static Dynamic &file_read_dyn() { return file_read;} - static Dynamic file_read_char; /* REM */ - static Dynamic &file_read_char_dyn() { return file_read_char;} - static Dynamic file_close; /* REM */ - static Dynamic &file_close_dyn() { return file_close;} - static Dynamic file_seek; /* REM */ - static Dynamic &file_seek_dyn() { return file_seek;} - static Dynamic file_tell; /* REM */ - static Dynamic &file_tell_dyn() { return file_tell;} -}; - -} // end namespace sys -} // end namespace io - -#endif /* INCLUDED_sys_io_FileInput */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/FileOutput.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/FileOutput.h deleted file mode 100644 index 4fbc94f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/FileOutput.h +++ /dev/null @@ -1,69 +0,0 @@ -#ifndef INCLUDED_sys_io_FileOutput -#define INCLUDED_sys_io_FileOutput - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Output) -HX_DECLARE_CLASS2(sys,io,FileOutput) -HX_DECLARE_CLASS2(sys,io,FileSeek) -namespace sys{ -namespace io{ - - -class FileOutput_obj : public ::haxe::io::Output_obj{ - public: - typedef ::haxe::io::Output_obj super; - typedef FileOutput_obj OBJ_; - FileOutput_obj(); - Void __construct(Dynamic f); - - public: - static hx::ObjectPtr< FileOutput_obj > __new(Dynamic f); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~FileOutput_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("FileOutput"); } - - virtual int tell( ); - Dynamic tell_dyn(); - - virtual Void seek( int p,::sys::io::FileSeek pos); - Dynamic seek_dyn(); - - virtual Void close( ); - - virtual Void flush( ); - - virtual int writeBytes( ::haxe::io::Bytes s,int p,int l); - - virtual Void writeByte( int c); - - Dynamic __f; /* REM */ - static Dynamic file_close; /* REM */ - static Dynamic &file_close_dyn() { return file_close;} - static Dynamic file_seek; /* REM */ - static Dynamic &file_seek_dyn() { return file_seek;} - static Dynamic file_tell; /* REM */ - static Dynamic &file_tell_dyn() { return file_tell;} - static Dynamic file_flush; /* REM */ - static Dynamic &file_flush_dyn() { return file_flush;} - static Dynamic file_write; /* REM */ - static Dynamic &file_write_dyn() { return file_write;} - static Dynamic file_write_char; /* REM */ - static Dynamic &file_write_char_dyn() { return file_write_char;} -}; - -} // end namespace sys -} // end namespace io - -#endif /* INCLUDED_sys_io_FileOutput */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/FileSeek.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/FileSeek.h deleted file mode 100644 index 8e4a353..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/FileSeek.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_sys_io_FileSeek -#define INCLUDED_sys_io_FileSeek - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(sys,io,FileSeek) -namespace sys{ -namespace io{ - - -class FileSeek_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef FileSeek_obj OBJ_; - - public: - FileSeek_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("sys.io.FileSeek"); } - ::String __ToString() const { return HX_CSTRING("FileSeek.") + tag; } - - static ::sys::io::FileSeek SeekBegin; - static inline ::sys::io::FileSeek SeekBegin_dyn() { return SeekBegin; } - static ::sys::io::FileSeek SeekCur; - static inline ::sys::io::FileSeek SeekCur_dyn() { return SeekCur; } - static ::sys::io::FileSeek SeekEnd; - static inline ::sys::io::FileSeek SeekEnd_dyn() { return SeekEnd; } -}; - -} // end namespace sys -} // end namespace io - -#endif /* INCLUDED_sys_io_FileSeek */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/Process.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/Process.h deleted file mode 100644 index 3c109bb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/Process.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef INCLUDED_sys_io_Process -#define INCLUDED_sys_io_Process - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Input) -HX_DECLARE_CLASS2(haxe,io,Output) -HX_DECLARE_CLASS2(sys,io,Process) -namespace sys{ -namespace io{ - - -class Process_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Process_obj OBJ_; - Process_obj(); - Void __construct(::String cmd,Array< ::String > args); - - public: - static hx::ObjectPtr< Process_obj > __new(::String cmd,Array< ::String > args); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Process_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Process"); } - - virtual Void kill( ); - Dynamic kill_dyn(); - - virtual Void close( ); - Dynamic close_dyn(); - - virtual int exitCode( ); - Dynamic exitCode_dyn(); - - virtual int getPid( ); - Dynamic getPid_dyn(); - - ::haxe::io::Output _stdin; /* REM */ - ::haxe::io::Input _stderr; /* REM */ - ::haxe::io::Input _stdout; /* REM */ - Dynamic p; /* REM */ - static Dynamic _run; /* REM */ - static Dynamic &_run_dyn() { return _run;} - static Dynamic _exit; /* REM */ - static Dynamic &_exit_dyn() { return _exit;} - static Dynamic _pid; /* REM */ - static Dynamic &_pid_dyn() { return _pid;} - static Dynamic _close; /* REM */ - static Dynamic &_close_dyn() { return _close;} -}; - -} // end namespace sys -} // end namespace io - -#endif /* INCLUDED_sys_io_Process */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/_Process/Stdin.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/_Process/Stdin.h deleted file mode 100644 index 67872cc..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/_Process/Stdin.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef INCLUDED_sys_io__Process_Stdin -#define INCLUDED_sys_io__Process_Stdin - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Output) -HX_DECLARE_CLASS3(sys,io,_Process,Stdin) -namespace sys{ -namespace io{ -namespace _Process{ - - -class Stdin_obj : public ::haxe::io::Output_obj{ - public: - typedef ::haxe::io::Output_obj super; - typedef Stdin_obj OBJ_; - Stdin_obj(); - Void __construct(Dynamic p); - - public: - static hx::ObjectPtr< Stdin_obj > __new(Dynamic p); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Stdin_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Stdin"); } - - virtual int writeBytes( ::haxe::io::Bytes buf,int pos,int len); - - virtual Void writeByte( int c); - - virtual Void close( ); - - ::haxe::io::Bytes buf; /* REM */ - Dynamic p; /* REM */ - static Dynamic _stdin_write; /* REM */ - static Dynamic &_stdin_write_dyn() { return _stdin_write;} - static Dynamic _stdin_close; /* REM */ - static Dynamic &_stdin_close_dyn() { return _stdin_close;} -}; - -} // end namespace sys -} // end namespace io -} // end namespace _Process - -#endif /* INCLUDED_sys_io__Process_Stdin */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/_Process/Stdout.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/_Process/Stdout.h deleted file mode 100644 index 1cdf25d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/include/sys/io/_Process/Stdout.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_sys_io__Process_Stdout -#define INCLUDED_sys_io__Process_Stdout - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Input) -HX_DECLARE_CLASS3(sys,io,_Process,Stdout) -namespace sys{ -namespace io{ -namespace _Process{ - - -class Stdout_obj : public ::haxe::io::Input_obj{ - public: - typedef ::haxe::io::Input_obj super; - typedef Stdout_obj OBJ_; - Stdout_obj(); - Void __construct(Dynamic p,bool out); - - public: - static hx::ObjectPtr< Stdout_obj > __new(Dynamic p,bool out); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Stdout_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Stdout"); } - - virtual int readBytes( ::haxe::io::Bytes str,int pos,int len); - - virtual int readByte( ); - - ::haxe::io::Bytes buf; /* REM */ - bool out; /* REM */ - Dynamic p; /* REM */ - static Dynamic _stdout_read; /* REM */ - static Dynamic &_stdout_read_dyn() { return _stdout_read;} - static Dynamic _stderr_read; /* REM */ - static Dynamic &_stderr_read_dyn() { return _stderr_read;} -}; - -} // end namespace sys -} // end namespace io -} // end namespace _Process - -#endif /* INCLUDED_sys_io__Process_Stdout */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/Options.txt b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/Options.txt deleted file mode 100644 index ac820d2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/Options.txt +++ /dev/null @@ -1,17 +0,0 @@ -HXCPP_CLANG -OBJC_ARC -actuate -cpp -haxe_208 -haxe_209 -haxe_210 -ios -iphone -mobile -nme -nme_install_tool -simulator -svg -sys -true -/usr/lib/haxe/lib/hxcpp/2,10/ \ No newline at end of file diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ApplicationMain.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ApplicationMain.o deleted file mode 100644 index ac06b1e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ApplicationMain.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Array.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Array.o deleted file mode 100644 index a04a6fc..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Array.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Class.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Class.o deleted file mode 100644 index 95db092..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Class.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Date.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Date.o deleted file mode 100644 index 2662e9e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Date.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Dynamic.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Dynamic.o deleted file mode 100644 index 77e03ba..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Dynamic.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/EReg.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/EReg.o deleted file mode 100644 index 534f680..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/EReg.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Enum.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Enum.o deleted file mode 100644 index a29c8ed..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Enum.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Hash.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Hash.o deleted file mode 100644 index bb49579..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Hash.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/IntHash.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/IntHash.o deleted file mode 100644 index a4a516a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/IntHash.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/IntIter.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/IntIter.o deleted file mode 100644 index 61bc89e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/IntIter.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/List.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/List.o deleted file mode 100644 index 4c12f46..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/List.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Main.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Main.o deleted file mode 100644 index 56a04f1..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Main.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Math.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Math.o deleted file mode 100644 index 656faa1..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Math.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Reflect.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Reflect.o deleted file mode 100644 index edbee68..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Reflect.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Std.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Std.o deleted file mode 100644 index 7b17d80..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Std.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/String.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/String.o deleted file mode 100644 index b349221..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/String.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/StringBuf.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/StringBuf.o deleted file mode 100644 index c7820ca..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/StringBuf.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/StringTools.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/StringTools.o deleted file mode 100644 index 94a0c76..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/StringTools.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Sys.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Sys.o deleted file mode 100644 index 124a323..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Sys.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Type.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Type.o deleted file mode 100644 index 8919cbe..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Type.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ValueType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ValueType.o deleted file mode 100644 index bdb0acf..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ValueType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Xml.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Xml.o deleted file mode 100644 index 54e4891..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/Xml.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/XmlType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/XmlType.o deleted file mode 100644 index cfaae06..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/XmlType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/__boot__.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/__boot__.o deleted file mode 100644 index e5144d1..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/__boot__.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/__files__.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/__files__.o deleted file mode 100644 index c61cd33..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/__files__.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/__lib__.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/__lib__.o deleted file mode 100644 index 5e27ce0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/__lib__.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/__resources__.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/__resources__.o deleted file mode 100644 index ec6e26a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/__resources__.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/ApplicationFacade.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/ApplicationFacade.o deleted file mode 100644 index 34b0781..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/ApplicationFacade.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/GloryFrameworkApp.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/GloryFrameworkApp.o deleted file mode 100644 index 455b726..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/GloryFrameworkApp.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/Tracer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/Tracer.o deleted file mode 100644 index b404b54..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/Tracer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/BuildControlsCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/BuildControlsCommand.o deleted file mode 100644 index 0eb4a33..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/BuildControlsCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/BuildPageCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/BuildPageCommand.o deleted file mode 100644 index 8c054be..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/BuildPageCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/ChangePageCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/ChangePageCommand.o deleted file mode 100644 index 817465e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/ChangePageCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/GotoIntroCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/GotoIntroCommand.o deleted file mode 100644 index 8513941..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/GotoIntroCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.o deleted file mode 100644 index 490c751..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/RemovePageCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/RemovePageCommand.o deleted file mode 100644 index c025cec..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/RemovePageCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.o deleted file mode 100644 index d0fb647..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/Startup1_App_Command.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/Startup1_App_Command.o deleted file mode 100644 index bdc0632..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/Startup1_App_Command.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/Startup2_Proxies_Command.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/Startup2_Proxies_Command.o deleted file mode 100644 index 3459476..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/Startup2_Proxies_Command.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/StartupCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/StartupCommand.o deleted file mode 100644 index bc9b308..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/StartupCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/TimerDisableCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/TimerDisableCommand.o deleted file mode 100644 index 3889f48..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/TimerDisableCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/TimerEnableCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/TimerEnableCommand.o deleted file mode 100644 index 184024a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/controller/TimerEnableCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/model/ActorComponentConfigProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/model/ActorComponentConfigProxy.o deleted file mode 100644 index f5a98b4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/model/ActorComponentConfigProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/model/ControlsRegistryProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/model/ControlsRegistryProxy.o deleted file mode 100644 index af58deb..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/model/ControlsRegistryProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/model/LoaderProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/model/LoaderProxy.o deleted file mode 100644 index 36ec952..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/model/LoaderProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/model/PagesConfigProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/model/PagesConfigProxy.o deleted file mode 100644 index 41447f0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/model/PagesConfigProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/model/TickerProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/model/TickerProxy.o deleted file mode 100644 index fe586f8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/model/TickerProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/ActorComponentMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/ActorComponentMediator.o deleted file mode 100644 index 3c29983..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/ActorComponentMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/ApplicationMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/ApplicationMediator.o deleted file mode 100644 index baf4d5a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/ApplicationMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/ControlComponentMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/ControlComponentMediator.o deleted file mode 100644 index a2851a8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/ControlComponentMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/PageMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/PageMediator.o deleted file mode 100644 index 6d57e24..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/PageMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/components/ActorComponent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/components/ActorComponent.o deleted file mode 100644 index 8c7cedc..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/components/ActorComponent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/components/ControlComponent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/components/ControlComponent.o deleted file mode 100644 index 0468824..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/components/ControlComponent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/components/PageComponent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/components/PageComponent.o deleted file mode 100644 index 94e18c7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/components/PageComponent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/constants/ControlConstants.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/constants/ControlConstants.o deleted file mode 100644 index 36c5b6c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/ca/confidant/glory/view/constants/ControlConstants.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/cpp/Lib.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/cpp/Lib.o deleted file mode 100644 index 3fccc99..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/cpp/Lib.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/cpp/rtti/FieldNumericIntegerLookup.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/cpp/rtti/FieldNumericIntegerLookup.o deleted file mode 100644 index 5b75c9d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/cpp/rtti/FieldNumericIntegerLookup.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/cpp/zip/Compress.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/cpp/zip/Compress.o deleted file mode 100644 index 1fd8f35..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/cpp/zip/Compress.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/cpp/zip/Flush.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/cpp/zip/Flush.o deleted file mode 100644 index ea92ce5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/cpp/zip/Flush.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/cpp/zip/Uncompress.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/cpp/zip/Uncompress.o deleted file mode 100644 index 892ee9d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/cpp/zip/Uncompress.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/SVG.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/SVG.o deleted file mode 100644 index a9e3a4f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/SVG.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/Gfx.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/Gfx.o deleted file mode 100644 index 5592183..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/Gfx.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/Gfx2Haxe.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/Gfx2Haxe.o deleted file mode 100644 index 212267f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/Gfx2Haxe.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/GfxBytes.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/GfxBytes.o deleted file mode 100644 index b1fded2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/GfxBytes.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/GfxExtent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/GfxExtent.o deleted file mode 100644 index fefea01..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/GfxExtent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/GfxGraphics.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/GfxGraphics.o deleted file mode 100644 index 894e867..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/GfxGraphics.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/GfxTextFinder.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/GfxTextFinder.o deleted file mode 100644 index 48a18f0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/GfxTextFinder.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/Gradient.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/Gradient.o deleted file mode 100644 index 0093753..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/Gradient.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/LineStyle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/LineStyle.o deleted file mode 100644 index 25c8928..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/gfx/LineStyle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/ArcSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/ArcSegment.o deleted file mode 100644 index 76860f5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/ArcSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/CubicSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/CubicSegment.o deleted file mode 100644 index f840170..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/CubicSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/DisplayElement.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/DisplayElement.o deleted file mode 100644 index f3a771e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/DisplayElement.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/DrawSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/DrawSegment.o deleted file mode 100644 index 8511f03..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/DrawSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/FillType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/FillType.o deleted file mode 100644 index 8e0f93b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/FillType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/Grad.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/Grad.o deleted file mode 100644 index a752fb5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/Grad.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/Group.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/Group.o deleted file mode 100644 index 453b8dc..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/Group.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/MoveSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/MoveSegment.o deleted file mode 100644 index 80403d4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/MoveSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/Path.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/Path.o deleted file mode 100644 index 86c431b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/Path.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/PathParser.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/PathParser.o deleted file mode 100644 index c08fb2e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/PathParser.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/PathSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/PathSegment.o deleted file mode 100644 index f0b3350..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/PathSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/QuadraticSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/QuadraticSegment.o deleted file mode 100644 index d7719e4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/QuadraticSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/RenderContext.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/RenderContext.o deleted file mode 100644 index e6b0bfa..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/RenderContext.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/SVGData.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/SVGData.o deleted file mode 100644 index a22abea..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/SVGData.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/SVGRenderer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/SVGRenderer.o deleted file mode 100644 index 3d3f90c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/SVGRenderer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/Text.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/Text.o deleted file mode 100644 index 881ccc6..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/format/svg/Text.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/BaseCode.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/BaseCode.o deleted file mode 100644 index 3d241a0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/BaseCode.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/Log.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/Log.o deleted file mode 100644 index 69cf793..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/Log.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/Timer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/Timer.o deleted file mode 100644 index 475029c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/Timer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/io/Bytes.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/io/Bytes.o deleted file mode 100644 index f8a6443..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/io/Bytes.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/io/BytesBuffer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/io/BytesBuffer.o deleted file mode 100644 index 4e559c1..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/io/BytesBuffer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/io/Eof.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/io/Eof.o deleted file mode 100644 index 61ff55b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/io/Eof.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/io/Error.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/io/Error.o deleted file mode 100644 index e3090eb..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/io/Error.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/io/Input.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/io/Input.o deleted file mode 100644 index ac4b88c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/io/Input.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/io/Output.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/io/Output.o deleted file mode 100644 index bca0038..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/io/Output.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/xml/Fast.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/xml/Fast.o deleted file mode 100644 index 6bfb9c4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/xml/Fast.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/xml/_Fast/AttribAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/xml/_Fast/AttribAccess.o deleted file mode 100644 index 98f47f0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/xml/_Fast/AttribAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/xml/_Fast/HasAttribAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/xml/_Fast/HasAttribAccess.o deleted file mode 100644 index a9dfee2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/xml/_Fast/HasAttribAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/xml/_Fast/HasNodeAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/xml/_Fast/HasNodeAccess.o deleted file mode 100644 index 90964b1..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/xml/_Fast/HasNodeAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/xml/_Fast/NodeAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/xml/_Fast/NodeAccess.o deleted file mode 100644 index 5680998..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/xml/_Fast/NodeAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/xml/_Fast/NodeListAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/xml/_Fast/NodeListAccess.o deleted file mode 100644 index aded58b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/haxe/xml/_Fast/NodeListAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Anon.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Anon.o deleted file mode 100644 index d78d54b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Anon.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Boot.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Boot.o deleted file mode 100644 index dcbb19c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Boot.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/CFFI.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/CFFI.o deleted file mode 100644 index 5b0ca1e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/CFFI.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Date.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Date.o deleted file mode 100644 index fd5a645..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Date.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Debug.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Debug.o deleted file mode 100644 index d5d4cae..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Debug.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/GC.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/GC.o deleted file mode 100644 index 57a8230..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/GC.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/GCInternal.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/GCInternal.o deleted file mode 100644 index 6e5dc47..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/GCInternal.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Hash.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Hash.o deleted file mode 100644 index df211ed..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Hash.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Interface.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Interface.o deleted file mode 100644 index ae23f24..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Interface.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Lib.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Lib.o deleted file mode 100644 index f9845e3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Lib.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Object.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Object.o deleted file mode 100644 index 6e94a46..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Object.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/RunLibs.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/RunLibs.o deleted file mode 100644 index 4e2a157..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/RunLibs.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/StdLibs.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/StdLibs.o deleted file mode 100644 index 3188ccf..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/StdLibs.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Thread.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Thread.o deleted file mode 100644 index eba5b07..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/hx/Thread.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/Lib.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/Lib.o deleted file mode 100644 index b4ace4b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/Lib.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/Loader.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/Loader.o deleted file mode 100644 index 8a6fccc..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/Loader.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/Bitmap.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/Bitmap.o deleted file mode 100644 index 4bc7168..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/Bitmap.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/BitmapData.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/BitmapData.o deleted file mode 100644 index 0aabc68..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/BitmapData.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/BitmapDataChannel.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/BitmapDataChannel.o deleted file mode 100644 index dcdb59f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/BitmapDataChannel.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/BlendMode.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/BlendMode.o deleted file mode 100644 index 9de77bd..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/BlendMode.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/CapsStyle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/CapsStyle.o deleted file mode 100644 index 54d0a7e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/CapsStyle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/DisplayObject.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/DisplayObject.o deleted file mode 100644 index 85acda8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/DisplayObject.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/DisplayObjectContainer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/DisplayObjectContainer.o deleted file mode 100644 index 5cbf2cd..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/DisplayObjectContainer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/GradientType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/GradientType.o deleted file mode 100644 index 869e463..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/GradientType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/Graphics.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/Graphics.o deleted file mode 100644 index 6daea5a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/Graphics.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/GraphicsPathWinding.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/GraphicsPathWinding.o deleted file mode 100644 index 8bd5fde..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/GraphicsPathWinding.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/IBitmapDrawable.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/IBitmapDrawable.o deleted file mode 100644 index 254087e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/IBitmapDrawable.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/IGraphicsData.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/IGraphicsData.o deleted file mode 100644 index 7048dc1..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/IGraphicsData.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/InteractiveObject.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/InteractiveObject.o deleted file mode 100644 index 2b9bfe8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/InteractiveObject.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/InterpolationMethod.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/InterpolationMethod.o deleted file mode 100644 index a6666f8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/InterpolationMethod.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/JointStyle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/JointStyle.o deleted file mode 100644 index 68310fd..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/JointStyle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/LineScaleMode.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/LineScaleMode.o deleted file mode 100644 index 4b69810..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/LineScaleMode.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/ManagedStage.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/ManagedStage.o deleted file mode 100644 index 688ac02..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/ManagedStage.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/MovieClip.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/MovieClip.o deleted file mode 100644 index 43b3659..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/MovieClip.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/OptimizedPerlin.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/OptimizedPerlin.o deleted file mode 100644 index 75e05cd..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/OptimizedPerlin.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/PixelSnapping.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/PixelSnapping.o deleted file mode 100644 index 2fb4028..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/PixelSnapping.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/Shape.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/Shape.o deleted file mode 100644 index 29bc6f8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/Shape.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/SpreadMethod.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/SpreadMethod.o deleted file mode 100644 index 7a2680a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/SpreadMethod.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/Sprite.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/Sprite.o deleted file mode 100644 index fc06da0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/Sprite.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/Stage.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/Stage.o deleted file mode 100644 index b5570d8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/Stage.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/StageAlign.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/StageAlign.o deleted file mode 100644 index bc0f05c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/StageAlign.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/StageDisplayState.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/StageDisplayState.o deleted file mode 100644 index 5b382bf..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/StageDisplayState.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/StageQuality.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/StageQuality.o deleted file mode 100644 index 7aa0863..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/StageQuality.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/StageScaleMode.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/StageScaleMode.o deleted file mode 100644 index 483cb4f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/StageScaleMode.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/Tilesheet.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/Tilesheet.o deleted file mode 100644 index 5176116..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/Tilesheet.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/TouchInfo.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/TouchInfo.o deleted file mode 100644 index 6921762..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/TouchInfo.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/TriangleCulling.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/TriangleCulling.o deleted file mode 100644 index cc2d0de..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/display/TriangleCulling.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/errors/ArgumentError.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/errors/ArgumentError.o deleted file mode 100644 index 30aa8fa..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/errors/ArgumentError.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/errors/EOFError.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/errors/EOFError.o deleted file mode 100644 index c57b54f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/errors/EOFError.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/errors/Error.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/errors/Error.o deleted file mode 100644 index 2653666..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/errors/Error.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/errors/RangeError.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/errors/RangeError.o deleted file mode 100644 index 2eb3b55..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/errors/RangeError.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/ErrorEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/ErrorEvent.o deleted file mode 100644 index 425bc65..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/ErrorEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/Event.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/Event.o deleted file mode 100644 index 870e7bf..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/Event.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/EventDispatcher.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/EventDispatcher.o deleted file mode 100644 index caee683..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/EventDispatcher.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/EventPhase.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/EventPhase.o deleted file mode 100644 index 1645351..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/EventPhase.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/FocusEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/FocusEvent.o deleted file mode 100644 index c1f8807..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/FocusEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/HTTPStatusEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/HTTPStatusEvent.o deleted file mode 100644 index 8aeefb2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/HTTPStatusEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/IEventDispatcher.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/IEventDispatcher.o deleted file mode 100644 index 6ad84ef..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/IEventDispatcher.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/IOErrorEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/IOErrorEvent.o deleted file mode 100644 index f4674e7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/IOErrorEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/JoystickEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/JoystickEvent.o deleted file mode 100644 index ca0124f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/JoystickEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/KeyboardEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/KeyboardEvent.o deleted file mode 100644 index d8831c3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/KeyboardEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/Listener.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/Listener.o deleted file mode 100644 index 62f069e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/Listener.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/MouseEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/MouseEvent.o deleted file mode 100644 index bfffd34..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/MouseEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/ProgressEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/ProgressEvent.o deleted file mode 100644 index fa9b31b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/ProgressEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/SampleDataEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/SampleDataEvent.o deleted file mode 100644 index 1438a7b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/SampleDataEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/TextEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/TextEvent.o deleted file mode 100644 index 530f71f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/TextEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/TouchEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/TouchEvent.o deleted file mode 100644 index e8f221a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/events/TouchEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/filters/BitmapFilter.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/filters/BitmapFilter.o deleted file mode 100644 index 844ebad..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/filters/BitmapFilter.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/geom/ColorTransform.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/geom/ColorTransform.o deleted file mode 100644 index 5301554..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/geom/ColorTransform.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/geom/Matrix.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/geom/Matrix.o deleted file mode 100644 index 11bae83..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/geom/Matrix.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/geom/Point.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/geom/Point.o deleted file mode 100644 index 0d9d000..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/geom/Point.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/geom/Rectangle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/geom/Rectangle.o deleted file mode 100644 index 34952df..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/geom/Rectangle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/geom/Transform.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/geom/Transform.o deleted file mode 100644 index 64ab3cb..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/geom/Transform.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/media/ID3Info.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/media/ID3Info.o deleted file mode 100644 index 8978ec6..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/media/ID3Info.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/media/Sound.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/media/Sound.o deleted file mode 100644 index 57e8f86..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/media/Sound.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/media/SoundChannel.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/media/SoundChannel.o deleted file mode 100644 index 67a21f7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/media/SoundChannel.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/media/SoundLoaderContext.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/media/SoundLoaderContext.o deleted file mode 100644 index 3a71fe5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/media/SoundLoaderContext.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/media/SoundTransform.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/media/SoundTransform.o deleted file mode 100644 index 0d52cf8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/media/SoundTransform.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/net/URLLoader.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/net/URLLoader.o deleted file mode 100644 index 32e91d8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/net/URLLoader.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/net/URLLoaderDataFormat.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/net/URLLoaderDataFormat.o deleted file mode 100644 index 5b0abcb..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/net/URLLoaderDataFormat.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/net/URLRequest.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/net/URLRequest.o deleted file mode 100644 index 3103dce..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/net/URLRequest.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/net/URLRequestHeader.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/net/URLRequestHeader.o deleted file mode 100644 index fa6aef5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/net/URLRequestHeader.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/net/URLRequestMethod.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/net/URLRequestMethod.o deleted file mode 100644 index bd85257..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/net/URLRequestMethod.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/net/URLVariables.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/net/URLVariables.o deleted file mode 100644 index b78f922..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/net/URLVariables.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/text/Font.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/text/Font.o deleted file mode 100644 index 9779b57..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/text/Font.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/text/FontStyle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/text/FontStyle.o deleted file mode 100644 index bd1f67c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/text/FontStyle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/text/FontType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/text/FontType.o deleted file mode 100644 index f6432b0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/text/FontType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/utils/ByteArray.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/utils/ByteArray.o deleted file mode 100644 index db10c44..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/utils/ByteArray.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/utils/Endian.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/utils/Endian.o deleted file mode 100644 index 3749d54..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/utils/Endian.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/utils/IDataInput.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/utils/IDataInput.o deleted file mode 100644 index 15d2917..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/utils/IDataInput.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/utils/WeakRef.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/utils/WeakRef.o deleted file mode 100644 index 539d9f0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/neash/utils/WeakRef.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/nme/Lib.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/nme/Lib.o deleted file mode 100644 index 85f5e71..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/nme/Lib.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/nme/installer/Assets.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/nme/installer/Assets.o deleted file mode 100644 index e6d66ff..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/nme/installer/Assets.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/core/Controller.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/core/Controller.o deleted file mode 100644 index 43249e3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/core/Controller.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/core/Model.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/core/Model.o deleted file mode 100644 index 2440ece..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/core/Model.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/core/View.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/core/View.o deleted file mode 100644 index 9599e37..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/core/View.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/ICommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/ICommand.o deleted file mode 100644 index 8c3d4fa..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/ICommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IController.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IController.o deleted file mode 100644 index 61b0bf5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IController.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IFacade.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IFacade.o deleted file mode 100644 index e6ae4c7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IFacade.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IMediator.o deleted file mode 100644 index 65af582..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IModel.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IModel.o deleted file mode 100644 index 8a953f4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IModel.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/INotification.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/INotification.o deleted file mode 100644 index ee1cc39..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/INotification.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/INotifier.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/INotifier.o deleted file mode 100644 index 3eb9041..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/INotifier.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IObserver.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IObserver.o deleted file mode 100644 index 913eb3c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IObserver.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IProxy.o deleted file mode 100644 index 5bccfe7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IView.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IView.o deleted file mode 100644 index 76b98df..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/interfaces/IView.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/command/MacroCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/command/MacroCommand.o deleted file mode 100644 index edf8760..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/command/MacroCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/command/SimpleCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/command/SimpleCommand.o deleted file mode 100644 index a6d738b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/command/SimpleCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/facade/Facade.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/facade/Facade.o deleted file mode 100644 index a084a64..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/facade/Facade.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/mediator/Mediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/mediator/Mediator.o deleted file mode 100644 index fd0cac0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/mediator/Mediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/observer/Notification.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/observer/Notification.o deleted file mode 100644 index 3ff31dd..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/observer/Notification.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/observer/Notifier.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/observer/Notifier.o deleted file mode 100644 index 2be7610..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/observer/Notifier.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/observer/Observer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/observer/Observer.o deleted file mode 100644 index 2164c6e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/observer/Observer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/proxy/Proxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/proxy/Proxy.o deleted file mode 100644 index 03bd262..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/org/puremvc/haxe/patterns/proxy/Proxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/pages/Psvg.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/pages/Psvg.o deleted file mode 100644 index 76a7070..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/pages/Psvg.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/pages/Ptitle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/pages/Ptitle.o deleted file mode 100644 index d184068..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/pages/Ptitle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/FileSystem.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/FileSystem.o deleted file mode 100644 index ba14b13..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/FileSystem.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/_FileSystem/FileKind.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/_FileSystem/FileKind.o deleted file mode 100644 index df8e125..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/_FileSystem/FileKind.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/File.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/File.o deleted file mode 100644 index 69418ea..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/File.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/FileInput.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/FileInput.o deleted file mode 100644 index 42df9f9..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/FileInput.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/FileOutput.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/FileOutput.o deleted file mode 100644 index 9aa1568..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/FileOutput.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/FileSeek.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/FileSeek.o deleted file mode 100644 index c3a1dbe..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/FileSeek.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/Process.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/Process.o deleted file mode 100644 index b3d015a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/Process.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/_Process/Stdin.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/_Process/Stdin.o deleted file mode 100644 index 302431d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/_Process/Stdin.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/_Process/Stdout.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/_Process/Stdout.o deleted file mode 100644 index 36a48fe..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/obj/iphonesim-dbg/src/sys/io/_Process/Stdout.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ApplicationMain.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ApplicationMain.cpp deleted file mode 100644 index 9408951..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ApplicationMain.cpp +++ /dev/null @@ -1,431 +0,0 @@ -#include - -#ifndef INCLUDED_ApplicationMain -#include -#endif -#ifndef INCLUDED_Main -#include -#endif -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_native_display_BitmapData -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_MovieClip -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_display_Stage -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_media_Sound -#include -#endif -#ifndef INCLUDED_nme_Lib -#include -#endif -#ifndef INCLUDED_nme_installer_Assets -#include -#endif - -Void ApplicationMain_obj::__construct() -{ - return null(); -} - -ApplicationMain_obj::~ApplicationMain_obj() { } - -Dynamic ApplicationMain_obj::__CreateEmpty() { return new ApplicationMain_obj; } -hx::ObjectPtr< ApplicationMain_obj > ApplicationMain_obj::__new() -{ hx::ObjectPtr< ApplicationMain_obj > result = new ApplicationMain_obj(); - result->__construct(); - return result;} - -Dynamic ApplicationMain_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ApplicationMain_obj > result = new ApplicationMain_obj(); - result->__construct(); - return result;} - -Void ApplicationMain_obj::main( ){ -{ - HX_STACK_PUSH("ApplicationMain::main","ApplicationMain.hx",5); - HX_STACK_LINE(6) - ::nme::Lib_obj::setPackage(HX_CSTRING("Confidant Communications"),HX_CSTRING("GloryDemo"),HX_CSTRING("ca.confidant.gloryDemo"),HX_CSTRING("1.0.0")); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_1) - bool run(int orientation){ - HX_STACK_PUSH("*::_Function_1_1","ApplicationMain.hx",10); - HX_STACK_ARG(orientation,"orientation"); - { - HX_STACK_LINE(12) - if (((bool((orientation == ::native::display::Stage_obj::OrientationLandscapeLeft)) || bool((orientation == ::native::display::Stage_obj::OrientationLandscapeRight))))){ - HX_STACK_LINE(13) - return true; - } - HX_STACK_LINE(16) - return false; - } - return null(); - } - HX_END_LOCAL_FUNC1(return) - - HX_STACK_LINE(9) - ::native::display::Stage_obj::shouldRotateInterface = Dynamic(new _Function_1_1()); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_2) - Void run(){ - HX_STACK_PUSH("*::_Function_1_2","ApplicationMain.hx",21); - { - HX_STACK_LINE(22) - { - } - HX_STACK_LINE(30) - ::nme::Lib_obj::get_current()->get_stage()->addEventListener(::native::events::Event_obj::RESIZE,::ApplicationMain_obj::initialize_dyn(),null(),null(),null()); - } - return null(); - } - HX_END_LOCAL_FUNC0((void)) - - HX_STACK_LINE(20) - ::nme::Lib_obj::create( Dynamic(new _Function_1_2()),(int)960,(int)640,(int)30,(int)16774882,(int((int((int((int(::nme::Lib_obj::HARDWARE) | int((int)0))) | int((int)0))) | int((int)0))) | int((int)0)),HX_CSTRING("Glory Framework Demo"),null()); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(ApplicationMain_obj,main,(void)) - -Void ApplicationMain_obj::initialize( ::native::events::Event event){ -{ - HX_STACK_PUSH("ApplicationMain::initialize","ApplicationMain.hx",47); - HX_STACK_ARG(event,"event"); - HX_STACK_LINE(48) - ::nme::Lib_obj::get_current()->get_stage()->removeEventListener(::native::events::Event_obj::RESIZE,::ApplicationMain_obj::initialize_dyn(),null()); - HX_STACK_LINE(50) - bool hasMain = false; HX_STACK_VAR(hasMain,"hasMain"); - HX_STACK_LINE(52) - { - HX_STACK_LINE(52) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::String > _g1 = ::Type_obj::getClassFields(hx::ClassOf< ::Main >()); HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(52) - while(((_g < _g1->length))){ - HX_STACK_LINE(52) - ::String methodName = _g1->__get(_g); HX_STACK_VAR(methodName,"methodName"); - HX_STACK_LINE(52) - ++(_g); - HX_STACK_LINE(54) - if (((methodName == HX_CSTRING("main")))){ - HX_STACK_LINE(56) - hasMain = true; - HX_STACK_LINE(57) - break; - } - } - } - HX_STACK_LINE(61) - if ((hasMain)){ - HX_STACK_LINE(62) - ::Reflect_obj::callMethod(hx::ClassOf< ::Main >(),::Reflect_obj::field(hx::ClassOf< ::Main >(),HX_CSTRING("main")),Dynamic( Array_obj::__new())); - } - else{ - HX_STACK_LINE(66) - ::nme::Lib_obj::get_current()->addChild(hx::TCast< native::display::DisplayObject >::cast(::Type_obj::createInstance(hx::ClassOf< ::Main >(),Dynamic( Array_obj::__new())))); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ApplicationMain_obj,initialize,(void)) - -Dynamic ApplicationMain_obj::getAsset( ::String inName){ - HX_STACK_PUSH("ApplicationMain::getAsset","ApplicationMain.hx",73); - HX_STACK_ARG(inName,"inName"); - HX_STACK_LINE(75) - if (((inName == HX_CSTRING("assets/closeX.svg")))){ - HX_STACK_LINE(76) - return ::nme::installer::Assets_obj::getText(HX_CSTRING("assets/closeX.svg")); - } - HX_STACK_LINE(82) - if (((inName == HX_CSTRING("assets/config.xml")))){ - HX_STACK_LINE(83) - return ::nme::installer::Assets_obj::getText(HX_CSTRING("assets/config.xml")); - } - HX_STACK_LINE(89) - if (((inName == HX_CSTRING("assets/duck.svg")))){ - HX_STACK_LINE(90) - return ::nme::installer::Assets_obj::getText(HX_CSTRING("assets/duck.svg")); - } - HX_STACK_LINE(96) - if (((inName == HX_CSTRING("assets/easyXML.jpg")))){ - HX_STACK_LINE(97) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/easyXML.jpg"),null()); - } - HX_STACK_LINE(103) - if (((inName == HX_CSTRING("assets/heres-the-deal.jpg")))){ - HX_STACK_LINE(104) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/heres-the-deal.jpg"),null()); - } - HX_STACK_LINE(110) - if (((inName == HX_CSTRING("assets/nav/bHome.png")))){ - HX_STACK_LINE(111) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/bHome.png"),null()); - } - HX_STACK_LINE(117) - if (((inName == HX_CSTRING("assets/nav/bLeft.png")))){ - HX_STACK_LINE(118) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/bLeft.png"),null()); - } - HX_STACK_LINE(124) - if (((inName == HX_CSTRING("assets/nav/bOptions.png")))){ - HX_STACK_LINE(125) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/bOptions.png"),null()); - } - HX_STACK_LINE(131) - if (((inName == HX_CSTRING("assets/nav/bRight.png")))){ - HX_STACK_LINE(132) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/bRight.png"),null()); - } - HX_STACK_LINE(138) - if (((inName == HX_CSTRING("assets/nav/close.png")))){ - HX_STACK_LINE(139) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/close.png"),null()); - } - HX_STACK_LINE(145) - if (((inName == HX_CSTRING("assets/nav/panLeft.png")))){ - HX_STACK_LINE(146) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/panLeft.png"),null()); - } - HX_STACK_LINE(152) - if (((inName == HX_CSTRING("assets/nav/panRight.png")))){ - HX_STACK_LINE(153) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/panRight.png"),null()); - } - HX_STACK_LINE(159) - if (((inName == HX_CSTRING("assets/nme.svg")))){ - HX_STACK_LINE(160) - return ::nme::installer::Assets_obj::getText(HX_CSTRING("assets/nme.svg")); - } - HX_STACK_LINE(166) - if (((inName == HX_CSTRING("assets/options/actor_0000_background.png")))){ - HX_STACK_LINE(167) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/options/actor_0000_background.png"),null()); - } - HX_STACK_LINE(173) - if (((inName == HX_CSTRING("assets/options/actor_0001_duck.png")))){ - HX_STACK_LINE(174) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/options/actor_0001_duck.png"),null()); - } - HX_STACK_LINE(180) - if (((inName == HX_CSTRING("assets/options/actor_0002_home.png")))){ - HX_STACK_LINE(181) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/options/actor_0002_home.png"),null()); - } - HX_STACK_LINE(187) - if (((inName == HX_CSTRING("assets/options/actor_0003_cow.png")))){ - HX_STACK_LINE(188) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/options/actor_0003_cow.png"),null()); - } - HX_STACK_LINE(194) - if (((inName == HX_CSTRING("assets/options/actor_0004_easyXML.png")))){ - HX_STACK_LINE(195) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/options/actor_0004_easyXML.png"),null()); - } - HX_STACK_LINE(201) - if (((inName == HX_CSTRING("assets/options/actor_0005_limerick.png")))){ - HX_STACK_LINE(202) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/options/actor_0005_limerick.png"),null()); - } - HX_STACK_LINE(208) - if (((inName == HX_CSTRING("assets/options/choose.png")))){ - HX_STACK_LINE(209) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/options/choose.png"),null()); - } - HX_STACK_LINE(215) - if (((inName == HX_CSTRING("assets/p1/limerickPCM.wav")))){ - HX_STACK_LINE(216) - return ::nme::installer::Assets_obj::getSound(HX_CSTRING("assets/p1/limerickPCM.wav")); - } - HX_STACK_LINE(222) - if (((inName == HX_CSTRING("assets/p1/pageObject_0000_bg.jpg")))){ - HX_STACK_LINE(223) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0000_bg.jpg"),null()); - } - HX_STACK_LINE(229) - if (((inName == HX_CSTRING("assets/p1/pageObject_0001_skin.png")))){ - HX_STACK_LINE(230) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0001_skin.png"),null()); - } - HX_STACK_LINE(236) - if (((inName == HX_CSTRING("assets/p1/pageObject_0002_hose.png")))){ - HX_STACK_LINE(237) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0002_hose.png"),null()); - } - HX_STACK_LINE(243) - if (((inName == HX_CSTRING("assets/p1/pageObject_0003_pants.png")))){ - HX_STACK_LINE(244) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0003_pants.png"),null()); - } - HX_STACK_LINE(250) - if (((inName == HX_CSTRING("assets/p1/pageObject_0004_flameshoe.png")))){ - HX_STACK_LINE(251) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0004_flameshoe.png"),null()); - } - HX_STACK_LINE(257) - if (((inName == HX_CSTRING("assets/p1/pageObject_0005_shoe.png")))){ - HX_STACK_LINE(258) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0005_shoe.png"),null()); - } - HX_STACK_LINE(264) - if (((inName == HX_CSTRING("assets/p1/pageObject_0006_shirt.png")))){ - HX_STACK_LINE(265) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0006_shirt.png"),null()); - } - HX_STACK_LINE(271) - if (((inName == HX_CSTRING("assets/p1/pageObject_0007_truck.png")))){ - HX_STACK_LINE(272) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0007_truck.png"),null()); - } - HX_STACK_LINE(278) - if (((inName == HX_CSTRING("assets/p1/pageObject_0008_firemen.png")))){ - HX_STACK_LINE(279) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0008_firemen.png"),null()); - } - HX_STACK_LINE(285) - if (((inName == HX_CSTRING("assets/p1/pageObject_0009_can.png")))){ - HX_STACK_LINE(286) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0009_can.png"),null()); - } - HX_STACK_LINE(292) - if (((inName == HX_CSTRING("assets/p1/pageObject_0010_bw.png")))){ - HX_STACK_LINE(293) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0010_bw.png"),null()); - } - HX_STACK_LINE(299) - if (((inName == HX_CSTRING("assets/p1/pageObject_0011_text.png")))){ - HX_STACK_LINE(300) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0011_text.png"),null()); - } - HX_STACK_LINE(306) - if (((inName == HX_CSTRING("assets/speaker.png")))){ - HX_STACK_LINE(307) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/speaker.png"),null()); - } - HX_STACK_LINE(313) - if (((inName == HX_CSTRING("assets/title/star.svg")))){ - HX_STACK_LINE(314) - return ::nme::installer::Assets_obj::getText(HX_CSTRING("assets/title/star.svg")); - } - HX_STACK_LINE(320) - if (((inName == HX_CSTRING("assets/title/title.jpg")))){ - HX_STACK_LINE(321) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/title/title.jpg"),null()); - } - HX_STACK_LINE(327) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ApplicationMain_obj,getAsset,return ) - - -ApplicationMain_obj::ApplicationMain_obj() -{ -} - -void ApplicationMain_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ApplicationMain); - HX_MARK_END_CLASS(); -} - -void ApplicationMain_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic ApplicationMain_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"main") ) { return main_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"getAsset") ) { return getAsset_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"initialize") ) { return initialize_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ApplicationMain_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void ApplicationMain_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("main"), - HX_CSTRING("initialize"), - HX_CSTRING("getAsset"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ApplicationMain_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ApplicationMain_obj::__mClass,"__mClass"); -}; - -Class ApplicationMain_obj::__mClass; - -void ApplicationMain_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ApplicationMain"), hx::TCanCast< ApplicationMain_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ApplicationMain_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Date.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Date.cpp deleted file mode 100644 index cc3c405..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Date.cpp +++ /dev/null @@ -1,293 +0,0 @@ -#include - -#ifndef INCLUDED_Date -#include -#endif -#ifndef INCLUDED_Std -#include -#endif - -Void Date_obj::__construct(int year,int month,int day,int hour,int min,int sec) -{ -HX_STACK_PUSH("Date::new","/usr/lib/haxe/std/cpp/_std/Date.hx",31); -{ - HX_STACK_LINE(31) - this->mSeconds = ::__hxcpp_new_date(year,month,day,hour,min,sec); -} -; - return null(); -} - -Date_obj::~Date_obj() { } - -Dynamic Date_obj::__CreateEmpty() { return new Date_obj; } -hx::ObjectPtr< Date_obj > Date_obj::__new(int year,int month,int day,int hour,int min,int sec) -{ hx::ObjectPtr< Date_obj > result = new Date_obj(); - result->__construct(year,month,day,hour,min,sec); - return result;} - -Dynamic Date_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Date_obj > result = new Date_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5]); - return result;} - -::String Date_obj::toString( ){ - HX_STACK_PUSH("Date::toString","/usr/lib/haxe/std/cpp/_std/Date.hx",53); - HX_STACK_THIS(this); - HX_STACK_LINE(53) - return ::__hxcpp_to_string(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,toString,return ) - -int Date_obj::getDay( ){ - HX_STACK_PUSH("Date::getDay","/usr/lib/haxe/std/cpp/_std/Date.hx",51); - HX_STACK_THIS(this); - HX_STACK_LINE(51) - return ::__hxcpp_get_day(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getDay,return ) - -int Date_obj::getDate( ){ - HX_STACK_PUSH("Date::getDate","/usr/lib/haxe/std/cpp/_std/Date.hx",49); - HX_STACK_THIS(this); - HX_STACK_LINE(49) - return ::__hxcpp_get_date(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getDate,return ) - -int Date_obj::getMonth( ){ - HX_STACK_PUSH("Date::getMonth","/usr/lib/haxe/std/cpp/_std/Date.hx",47); - HX_STACK_THIS(this); - HX_STACK_LINE(47) - return ::__hxcpp_get_month(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getMonth,return ) - -int Date_obj::getFullYear( ){ - HX_STACK_PUSH("Date::getFullYear","/usr/lib/haxe/std/cpp/_std/Date.hx",45); - HX_STACK_THIS(this); - HX_STACK_LINE(45) - return ::__hxcpp_get_year(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getFullYear,return ) - -int Date_obj::getSeconds( ){ - HX_STACK_PUSH("Date::getSeconds","/usr/lib/haxe/std/cpp/_std/Date.hx",43); - HX_STACK_THIS(this); - HX_STACK_LINE(43) - return ::__hxcpp_get_seconds(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getSeconds,return ) - -int Date_obj::getMinutes( ){ - HX_STACK_PUSH("Date::getMinutes","/usr/lib/haxe/std/cpp/_std/Date.hx",41); - HX_STACK_THIS(this); - HX_STACK_LINE(41) - return ::__hxcpp_get_minutes(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getMinutes,return ) - -int Date_obj::getHours( ){ - HX_STACK_PUSH("Date::getHours","/usr/lib/haxe/std/cpp/_std/Date.hx",39); - HX_STACK_THIS(this); - HX_STACK_LINE(39) - return ::__hxcpp_get_hours(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getHours,return ) - -Float Date_obj::getTime( ){ - HX_STACK_PUSH("Date::getTime","/usr/lib/haxe/std/cpp/_std/Date.hx",35); - HX_STACK_THIS(this); - HX_STACK_LINE(35) - return (this->mSeconds * 1000.0); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getTime,return ) - -::Date Date_obj::now( ){ - HX_STACK_PUSH("Date::now","/usr/lib/haxe/std/cpp/_std/Date.hx",55); - HX_STACK_LINE(55) - return ::Date_obj::fromTime((::__hxcpp_date_now() * 1000.0)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Date_obj,now,return ) - -::Date Date_obj::fromTime( Float t){ - HX_STACK_PUSH("Date::fromTime","/usr/lib/haxe/std/cpp/_std/Date.hx",59); - HX_STACK_ARG(t,"t"); - HX_STACK_LINE(60) - ::Date result = ::Date_obj::__new((int)0,(int)0,(int)0,(int)0,(int)0,(int)0); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(61) - result->mSeconds = (t * 0.001); - HX_STACK_LINE(62) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Date_obj,fromTime,return ) - -::Date Date_obj::fromString( ::String s){ - HX_STACK_PUSH("Date::fromString","/usr/lib/haxe/std/cpp/_std/Date.hx",65); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(66) - switch( (int)(s.length)){ - case (int)8: { - HX_STACK_LINE(68) - Array< ::String > k = s.split(HX_CSTRING(":")); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(69) - ::Date d = ::Date_obj::__new((int)0,(int)0,(int)0,::Std_obj::parseInt(k->__get((int)0)),::Std_obj::parseInt(k->__get((int)1)),::Std_obj::parseInt(k->__get((int)2))); HX_STACK_VAR(d,"d"); - HX_STACK_LINE(70) - return d; - } - ;break; - case (int)10: { - HX_STACK_LINE(72) - Array< ::String > k = s.split(HX_CSTRING("-")); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(73) - return ::Date_obj::__new(::Std_obj::parseInt(k->__get((int)0)),(::Std_obj::parseInt(k->__get((int)1)) - (int)1),::Std_obj::parseInt(k->__get((int)2)),(int)0,(int)0,(int)0); - } - ;break; - case (int)19: { - HX_STACK_LINE(75) - Array< ::String > k = s.split(HX_CSTRING(" ")); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(76) - Array< ::String > y = k->__get((int)0).split(HX_CSTRING("-")); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(77) - Array< ::String > t = k->__get((int)1).split(HX_CSTRING(":")); HX_STACK_VAR(t,"t"); - HX_STACK_LINE(78) - return ::Date_obj::__new(::Std_obj::parseInt(y->__get((int)0)),(::Std_obj::parseInt(y->__get((int)1)) - (int)1),::Std_obj::parseInt(y->__get((int)2)),::Std_obj::parseInt(t->__get((int)0)),::Std_obj::parseInt(t->__get((int)1)),::Std_obj::parseInt(t->__get((int)2))); - } - ;break; - default: { - HX_STACK_LINE(80) - hx::Throw ((HX_CSTRING("Invalid date format : ") + s)); - } - } - HX_STACK_LINE(83) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Date_obj,fromString,return ) - - -Date_obj::Date_obj() -{ -} - -void Date_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Date); - HX_MARK_MEMBER_NAME(mSeconds,"mSeconds"); - HX_MARK_END_CLASS(); -} - -void Date_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mSeconds,"mSeconds"); -} - -Dynamic Date_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"now") ) { return now_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"getDay") ) { return getDay_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getDate") ) { return getDate_dyn(); } - if (HX_FIELD_EQ(inName,"getTime") ) { return getTime_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"fromTime") ) { return fromTime_dyn(); } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"getMonth") ) { return getMonth_dyn(); } - if (HX_FIELD_EQ(inName,"getHours") ) { return getHours_dyn(); } - if (HX_FIELD_EQ(inName,"mSeconds") ) { return mSeconds; } - break; - case 10: - if (HX_FIELD_EQ(inName,"fromString") ) { return fromString_dyn(); } - if (HX_FIELD_EQ(inName,"getSeconds") ) { return getSeconds_dyn(); } - if (HX_FIELD_EQ(inName,"getMinutes") ) { return getMinutes_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"getFullYear") ) { return getFullYear_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Date_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"mSeconds") ) { mSeconds=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Date_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mSeconds")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("now"), - HX_CSTRING("fromTime"), - HX_CSTRING("fromString"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("getDay"), - HX_CSTRING("getDate"), - HX_CSTRING("getMonth"), - HX_CSTRING("getFullYear"), - HX_CSTRING("getSeconds"), - HX_CSTRING("getMinutes"), - HX_CSTRING("getHours"), - HX_CSTRING("getTime"), - HX_CSTRING("mSeconds"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Date_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Date_obj::__mClass,"__mClass"); -}; - -Class Date_obj::__mClass; - -void Date_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Date"), hx::TCanCast< Date_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Date_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/EReg.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/EReg.cpp deleted file mode 100644 index c5f99cb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/EReg.cpp +++ /dev/null @@ -1,491 +0,0 @@ -#include - -#ifndef INCLUDED_EReg -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_StringBuf -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif - -Void EReg_obj::__construct(::String r,::String opt) -{ -HX_STACK_PUSH("EReg::new","/usr/lib/haxe/std/cpp/_std/EReg.hx",32); -{ - HX_STACK_LINE(33) - Array< ::String > a = opt.split(HX_CSTRING("g")); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(34) - this->global = (a->length > (int)1); - HX_STACK_LINE(35) - if ((this->global)){ - HX_STACK_LINE(36) - opt = a->join(HX_CSTRING("")); - } - HX_STACK_LINE(37) - this->r = ::EReg_obj::regexp_new_options(r,opt); -} -; - return null(); -} - -EReg_obj::~EReg_obj() { } - -Dynamic EReg_obj::__CreateEmpty() { return new EReg_obj; } -hx::ObjectPtr< EReg_obj > EReg_obj::__new(::String r,::String opt) -{ hx::ObjectPtr< EReg_obj > result = new EReg_obj(); - result->__construct(r,opt); - return result;} - -Dynamic EReg_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< EReg_obj > result = new EReg_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::String EReg_obj::customReplace( ::String s,Dynamic f){ - HX_STACK_PUSH("EReg::customReplace","/usr/lib/haxe/std/cpp/_std/EReg.hx",144); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(145) - ::StringBuf buf = ::StringBuf_obj::__new(); HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(146) - while((true)){ - HX_STACK_LINE(147) - if ((!(this->match(s)))){ - HX_STACK_LINE(148) - break; - } - HX_STACK_LINE(149) - hx::IndexRef((buf->b).mPtr,buf->b->__Field(HX_CSTRING("length"),true)) = this->matchedLeft(); - HX_STACK_LINE(150) - hx::IndexRef((buf->b).mPtr,buf->b->__Field(HX_CSTRING("length"),true)) = f(hx::ObjectPtr(this)).Cast< ::String >(); - HX_STACK_LINE(151) - s = this->matchedRight(); - } - HX_STACK_LINE(153) - hx::IndexRef((buf->b).mPtr,buf->b->__Field(HX_CSTRING("length"),true)) = s; - HX_STACK_LINE(154) - return buf->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC2(EReg_obj,customReplace,return ) - -::String EReg_obj::replace( ::String s,::String by){ - HX_STACK_PUSH("EReg::replace","/usr/lib/haxe/std/cpp/_std/EReg.hx",93); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(by,"by"); - HX_STACK_LINE(94) - ::StringBuf b = ::StringBuf_obj::__new(); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(95) - int pos = (int)0; HX_STACK_VAR(pos,"pos"); - HX_STACK_LINE(96) - int len = s.length; HX_STACK_VAR(len,"len"); - HX_STACK_LINE(97) - Array< ::String > a = by.split(HX_CSTRING("$")); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(98) - bool first = true; HX_STACK_VAR(first,"first"); - HX_STACK_LINE(99) - do{ - HX_STACK_LINE(100) - if ((!(::EReg_obj::regexp_match(this->r,s,pos,len)))){ - HX_STACK_LINE(101) - break; - } - HX_STACK_LINE(102) - Dynamic p = ::EReg_obj::regexp_matched_pos(this->r,(int)0); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(103) - if (((bool((p->__Field(HX_CSTRING("len"),true) == (int)0)) && bool(!(first))))){ - HX_STACK_LINE(104) - if (((p->__Field(HX_CSTRING("pos"),true) == s.length))){ - HX_STACK_LINE(105) - break; - } - HX_STACK_LINE(106) - hx::AddEq(p->__FieldRef(HX_CSTRING("pos")),(int)1); - } - HX_STACK_LINE(108) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = s.substr(pos,(p->__Field(HX_CSTRING("pos"),true) - pos)); - HX_STACK_LINE(109) - if (((a->length > (int)0))){ - HX_STACK_LINE(110) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = a->__get((int)0); - } - HX_STACK_LINE(111) - int i = (int)1; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(112) - while(((i < a->length))){ - HX_STACK_LINE(113) - ::String k = a->__get(i); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(114) - Dynamic c = k.charCodeAt((int)0); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(116) - if (((bool((c >= (int)49)) && bool((c <= (int)57))))){ - struct _Function_4_1{ - inline static Dynamic Block( ::EReg_obj *__this,Dynamic &c){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/EReg.hx",117); - { - HX_STACK_LINE(117) - try{ - HX_STACK_LINE(117) - return ::EReg_obj::regexp_matched_pos(__this->r,(::Std_obj::_int(c) - (int)48)); - } - catch(Dynamic __e){ - if (__e.IsClass< ::String >() ){ - ::String e = __e;{ - HX_STACK_LINE(117) - return null(); - } - } - else throw(__e); - } - } - return null(); - } - }; - HX_STACK_LINE(117) - Dynamic p1 = _Function_4_1::Block(this,c); HX_STACK_VAR(p1,"p1"); - HX_STACK_LINE(118) - if (((p1 == null()))){ - HX_STACK_LINE(119) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("$"); - HX_STACK_LINE(120) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = k; - } - else{ - HX_STACK_LINE(122) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = s.substr(p1->__Field(HX_CSTRING("pos"),true),p1->__Field(HX_CSTRING("len"),true)); - HX_STACK_LINE(123) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = k.substr((int)1,(k.length - (int)1)); - } - } - else{ - HX_STACK_LINE(125) - if (((c == null()))){ - HX_STACK_LINE(126) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("$"); - HX_STACK_LINE(127) - (i)++; - HX_STACK_LINE(128) - ::String k2 = a->__get(i); HX_STACK_VAR(k2,"k2"); - HX_STACK_LINE(129) - if (((bool((k2 != null())) && bool((k2.length > (int)0))))){ - HX_STACK_LINE(130) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = k2; - } - } - else{ - HX_STACK_LINE(132) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = (HX_CSTRING("$") + k); - } - } - HX_STACK_LINE(133) - (i)++; - } - HX_STACK_LINE(135) - int tot = ((p->__Field(HX_CSTRING("pos"),true) + p->__Field(HX_CSTRING("len"),true)) - pos); HX_STACK_VAR(tot,"tot"); - HX_STACK_LINE(136) - hx::AddEq(pos,tot); - HX_STACK_LINE(137) - hx::SubEq(len,tot); - HX_STACK_LINE(138) - first = false; - } -while((this->global)); - HX_STACK_LINE(140) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = s.substr(pos,len); - HX_STACK_LINE(141) - return b->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC2(EReg_obj,replace,return ) - -Array< ::String > EReg_obj::split( ::String s){ - HX_STACK_PUSH("EReg::split","/usr/lib/haxe/std/cpp/_std/EReg.hx",69); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(70) - int pos = (int)0; HX_STACK_VAR(pos,"pos"); - HX_STACK_LINE(71) - int len = s.length; HX_STACK_VAR(len,"len"); - HX_STACK_LINE(72) - Array< ::String > a = Array_obj< ::String >::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(73) - bool first = true; HX_STACK_VAR(first,"first"); - HX_STACK_LINE(74) - do{ - HX_STACK_LINE(75) - if ((!(::EReg_obj::regexp_match(this->r,s,pos,len)))){ - HX_STACK_LINE(76) - break; - } - HX_STACK_LINE(77) - Dynamic p = ::EReg_obj::regexp_matched_pos(this->r,(int)0); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(78) - if (((bool((p->__Field(HX_CSTRING("len"),true) == (int)0)) && bool(!(first))))){ - HX_STACK_LINE(79) - if (((p->__Field(HX_CSTRING("pos"),true) == s.length))){ - HX_STACK_LINE(80) - break; - } - HX_STACK_LINE(81) - hx::AddEq(p->__FieldRef(HX_CSTRING("pos")),(int)1); - } - HX_STACK_LINE(83) - a->push(s.substr(pos,(p->__Field(HX_CSTRING("pos"),true) - pos))); - HX_STACK_LINE(84) - int tot = ((p->__Field(HX_CSTRING("pos"),true) + p->__Field(HX_CSTRING("len"),true)) - pos); HX_STACK_VAR(tot,"tot"); - HX_STACK_LINE(85) - hx::AddEq(pos,tot); - HX_STACK_LINE(86) - hx::SubEq(len,tot); - HX_STACK_LINE(87) - first = false; - } -while((this->global)); - HX_STACK_LINE(89) - a->push(s.substr(pos,len)); - HX_STACK_LINE(90) - return a; -} - - -HX_DEFINE_DYNAMIC_FUNC1(EReg_obj,split,return ) - -Dynamic EReg_obj::matchedPos( ){ - HX_STACK_PUSH("EReg::matchedPos","/usr/lib/haxe/std/cpp/_std/EReg.hx",65); - HX_STACK_THIS(this); - HX_STACK_LINE(65) - return ::EReg_obj::regexp_matched_pos(this->r,(int)0); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EReg_obj,matchedPos,return ) - -::String EReg_obj::matchedRight( ){ - HX_STACK_PUSH("EReg::matchedRight","/usr/lib/haxe/std/cpp/_std/EReg.hx",59); - HX_STACK_THIS(this); - HX_STACK_LINE(60) - Dynamic p = ::EReg_obj::regexp_matched_pos(this->r,(int)0); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(61) - int sz = (p->__Field(HX_CSTRING("pos"),true) + p->__Field(HX_CSTRING("len"),true)); HX_STACK_VAR(sz,"sz"); - HX_STACK_LINE(62) - return this->last.substr(sz,(this->last.length - sz)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EReg_obj,matchedRight,return ) - -::String EReg_obj::matchedLeft( ){ - HX_STACK_PUSH("EReg::matchedLeft","/usr/lib/haxe/std/cpp/_std/EReg.hx",54); - HX_STACK_THIS(this); - HX_STACK_LINE(55) - Dynamic p = ::EReg_obj::regexp_matched_pos(this->r,(int)0); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(56) - return this->last.substr((int)0,p->__Field(HX_CSTRING("pos"),true)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EReg_obj,matchedLeft,return ) - -::String EReg_obj::matched( int n){ - HX_STACK_PUSH("EReg::matched","/usr/lib/haxe/std/cpp/_std/EReg.hx",49); - HX_STACK_THIS(this); - HX_STACK_ARG(n,"n"); - HX_STACK_LINE(50) - ::String m = ::EReg_obj::regexp_matched(this->r,n); HX_STACK_VAR(m,"m"); - HX_STACK_LINE(51) - return m; -} - - -HX_DEFINE_DYNAMIC_FUNC1(EReg_obj,matched,return ) - -bool EReg_obj::match( ::String s){ - HX_STACK_PUSH("EReg::match","/usr/lib/haxe/std/cpp/_std/EReg.hx",40); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(41) - bool p = ::EReg_obj::regexp_match(this->r,s,(int)0,s.length); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(42) - if ((p)){ - HX_STACK_LINE(43) - this->last = s; - } - else{ - HX_STACK_LINE(45) - this->last = null(); - } - HX_STACK_LINE(46) - return p; -} - - -HX_DEFINE_DYNAMIC_FUNC1(EReg_obj,match,return ) - -Dynamic EReg_obj::regexp_new_options; - -Dynamic EReg_obj::regexp_match; - -Dynamic EReg_obj::regexp_matched; - -Dynamic EReg_obj::regexp_matched_pos; - - -EReg_obj::EReg_obj() -{ -} - -void EReg_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(EReg); - HX_MARK_MEMBER_NAME(global,"global"); - HX_MARK_MEMBER_NAME(last,"last"); - HX_MARK_MEMBER_NAME(r,"r"); - HX_MARK_END_CLASS(); -} - -void EReg_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(global,"global"); - HX_VISIT_MEMBER_NAME(last,"last"); - HX_VISIT_MEMBER_NAME(r,"r"); -} - -Dynamic EReg_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"r") ) { return r; } - break; - case 4: - if (HX_FIELD_EQ(inName,"last") ) { return last; } - break; - case 5: - if (HX_FIELD_EQ(inName,"split") ) { return split_dyn(); } - if (HX_FIELD_EQ(inName,"match") ) { return match_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"global") ) { return global; } - break; - case 7: - if (HX_FIELD_EQ(inName,"replace") ) { return replace_dyn(); } - if (HX_FIELD_EQ(inName,"matched") ) { return matched_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"matchedPos") ) { return matchedPos_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"matchedLeft") ) { return matchedLeft_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"regexp_match") ) { return regexp_match; } - if (HX_FIELD_EQ(inName,"matchedRight") ) { return matchedRight_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"customReplace") ) { return customReplace_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"regexp_matched") ) { return regexp_matched; } - break; - case 18: - if (HX_FIELD_EQ(inName,"regexp_new_options") ) { return regexp_new_options; } - if (HX_FIELD_EQ(inName,"regexp_matched_pos") ) { return regexp_matched_pos; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic EReg_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"r") ) { r=inValue.Cast< Dynamic >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"last") ) { last=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"global") ) { global=inValue.Cast< bool >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"regexp_match") ) { regexp_match=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"regexp_matched") ) { regexp_matched=inValue.Cast< Dynamic >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"regexp_new_options") ) { regexp_new_options=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"regexp_matched_pos") ) { regexp_matched_pos=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void EReg_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("global")); - outFields->push(HX_CSTRING("last")); - outFields->push(HX_CSTRING("r")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("regexp_new_options"), - HX_CSTRING("regexp_match"), - HX_CSTRING("regexp_matched"), - HX_CSTRING("regexp_matched_pos"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("customReplace"), - HX_CSTRING("replace"), - HX_CSTRING("split"), - HX_CSTRING("matchedPos"), - HX_CSTRING("matchedRight"), - HX_CSTRING("matchedLeft"), - HX_CSTRING("matched"), - HX_CSTRING("match"), - HX_CSTRING("global"), - HX_CSTRING("last"), - HX_CSTRING("r"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(EReg_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(EReg_obj::regexp_new_options,"regexp_new_options"); - HX_MARK_MEMBER_NAME(EReg_obj::regexp_match,"regexp_match"); - HX_MARK_MEMBER_NAME(EReg_obj::regexp_matched,"regexp_matched"); - HX_MARK_MEMBER_NAME(EReg_obj::regexp_matched_pos,"regexp_matched_pos"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(EReg_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(EReg_obj::regexp_new_options,"regexp_new_options"); - HX_VISIT_MEMBER_NAME(EReg_obj::regexp_match,"regexp_match"); - HX_VISIT_MEMBER_NAME(EReg_obj::regexp_matched,"regexp_matched"); - HX_VISIT_MEMBER_NAME(EReg_obj::regexp_matched_pos,"regexp_matched_pos"); -}; - -Class EReg_obj::__mClass; - -void EReg_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("EReg"), hx::TCanCast< EReg_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void EReg_obj::__boot() -{ - regexp_new_options= ::cpp::Lib_obj::load(HX_CSTRING("regexp"),HX_CSTRING("regexp_new_options"),(int)2); - regexp_match= ::cpp::Lib_obj::load(HX_CSTRING("regexp"),HX_CSTRING("regexp_match"),(int)4); - regexp_matched= ::cpp::Lib_obj::load(HX_CSTRING("regexp"),HX_CSTRING("regexp_matched"),(int)2); - regexp_matched_pos= ::cpp::Lib_obj::load(HX_CSTRING("regexp"),HX_CSTRING("regexp_matched_pos"),(int)2); -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Hash.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Hash.cpp deleted file mode 100644 index 8107487..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Hash.cpp +++ /dev/null @@ -1,289 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_StringBuf -#include -#endif - -Void Hash_obj::__construct() -{ -HX_STACK_PUSH("Hash::new","/usr/lib/haxe/std/cpp/_std/Hash.hx",29); -{ - struct _Function_1_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Hash.hx",30); - { - hx::Anon __result = hx::Anon_obj::Create(); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(29) - this->__Internal = _Function_1_1::Block(); -} -; - return null(); -} - -Hash_obj::~Hash_obj() { } - -Dynamic Hash_obj::__CreateEmpty() { return new Hash_obj; } -hx::ObjectPtr< Hash_obj > Hash_obj::__new() -{ hx::ObjectPtr< Hash_obj > result = new Hash_obj(); - result->__construct(); - return result;} - -Dynamic Hash_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Hash_obj > result = new Hash_obj(); - result->__construct(); - return result;} - -::String Hash_obj::toString( ){ - HX_STACK_PUSH("Hash::toString","/usr/lib/haxe/std/cpp/_std/Hash.hx",76); - HX_STACK_THIS(this); - HX_STACK_LINE(77) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(78) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("{"); - HX_STACK_LINE(79) - Dynamic it = this->keys(); HX_STACK_VAR(it,"it"); - HX_STACK_LINE(80) - for(::cpp::FastIterator_obj< ::String > *__it = ::cpp::CreateFastIterator< ::String >(it); __it->hasNext(); ){ - ::String i = __it->next(); - { - HX_STACK_LINE(81) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = i; - HX_STACK_LINE(82) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(" => "); - HX_STACK_LINE(83) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::Std_obj::string(this->get(i)); - HX_STACK_LINE(84) - if ((it->__Field(HX_CSTRING("hasNext"),true)())){ - HX_STACK_LINE(85) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(", "); - } - } -; - } - HX_STACK_LINE(87) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("}"); - HX_STACK_LINE(88) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Hash_obj,toString,return ) - -Dynamic Hash_obj::iterator( ){ - HX_STACK_PUSH("Hash::iterator","/usr/lib/haxe/std/cpp/_std/Hash.hx",61); - HX_STACK_THIS(this); - HX_STACK_LINE(62) - Array< ::String > a = Array_obj< ::String >::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(63) - this->__Internal->__GetFields(a); - HX_STACK_LINE(64) - Dynamic it = Dynamic( Array_obj::__new().Add(a->iterator())); HX_STACK_VAR(it,"it"); - HX_STACK_LINE(65) - Array< ::Hash > me = Array_obj< ::Hash >::__new().Add(hx::ObjectPtr(this)); HX_STACK_VAR(me,"me"); - struct _Function_1_1{ - inline static Dynamic Block( Dynamic &it,Array< ::Hash > &me){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Hash.hx",66); - { - hx::Anon __result = hx::Anon_obj::Create(); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_2_1,Dynamic,it) - bool run(){ - HX_STACK_PUSH("*::_Function_2_1","/usr/lib/haxe/std/cpp/_std/Hash.hx",67); - { - HX_STACK_LINE(67) - return it->__GetItem((int)0)->__Field(HX_CSTRING("hasNext"),true)(); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("hasNext") , Dynamic(new _Function_2_1(it)),true); - - HX_BEGIN_LOCAL_FUNC_S2(hx::LocalFunc,_Function_2_2,Array< ::Hash >,me,Dynamic,it) - Dynamic run(){ - HX_STACK_PUSH("*::_Function_2_2","/usr/lib/haxe/std/cpp/_std/Hash.hx",68); - { - HX_STACK_LINE(68) - return me->__get((int)0)->__Internal->__Field(it->__GetItem((int)0)->__Field(HX_CSTRING("next"),true)(),true); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("next") , Dynamic(new _Function_2_2(me,it)),true); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(66) - return _Function_1_1::Block(it,me); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Hash_obj,iterator,return ) - -Dynamic Hash_obj::keys( ){ - HX_STACK_PUSH("Hash::keys","/usr/lib/haxe/std/cpp/_std/Hash.hx",52); - HX_STACK_THIS(this); - HX_STACK_LINE(53) - Array< ::String > a = Array_obj< ::String >::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(54) - this->__Internal->__GetFields(a); - HX_STACK_LINE(55) - return a->iterator(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Hash_obj,keys,return ) - -bool Hash_obj::remove( ::String key){ - HX_STACK_PUSH("Hash::remove","/usr/lib/haxe/std/cpp/_std/Hash.hx",45); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(45) - return ::__hxcpp_anon_remove(this->__Internal,key); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Hash_obj,remove,return ) - -bool Hash_obj::exists( ::String key){ - HX_STACK_PUSH("Hash::exists","/usr/lib/haxe/std/cpp/_std/Hash.hx",41); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(41) - return this->__Internal->__HasField(key); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Hash_obj,exists,return ) - -Dynamic Hash_obj::get( ::String key){ - HX_STACK_PUSH("Hash::get","/usr/lib/haxe/std/cpp/_std/Hash.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(37) - return this->__Internal->__Field(key,true); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Hash_obj,get,return ) - -Void Hash_obj::set( ::String key,Dynamic value){ -{ - HX_STACK_PUSH("Hash::set","/usr/lib/haxe/std/cpp/_std/Hash.hx",33); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(33) - this->__Internal->__SetField(key,value,true); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Hash_obj,set,(void)) - - -Hash_obj::Hash_obj() -{ -} - -void Hash_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Hash); - HX_MARK_MEMBER_NAME(__Internal,"__Internal"); - HX_MARK_END_CLASS(); -} - -void Hash_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(__Internal,"__Internal"); -} - -Dynamic Hash_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"get") ) { return get_dyn(); } - if (HX_FIELD_EQ(inName,"set") ) { return set_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"keys") ) { return keys_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"remove") ) { return remove_dyn(); } - if (HX_FIELD_EQ(inName,"exists") ) { return exists_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"iterator") ) { return iterator_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"__Internal") ) { return __Internal; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Hash_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"__Internal") ) { __Internal=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Hash_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__Internal")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("iterator"), - HX_CSTRING("keys"), - HX_CSTRING("remove"), - HX_CSTRING("exists"), - HX_CSTRING("get"), - HX_CSTRING("set"), - HX_CSTRING("__Internal"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Hash_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Hash_obj::__mClass,"__mClass"); -}; - -Class Hash_obj::__mClass; - -void Hash_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Hash"), hx::TCanCast< Hash_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Hash_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/IntHash.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/IntHash.cpp deleted file mode 100644 index ef00479..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/IntHash.cpp +++ /dev/null @@ -1,235 +0,0 @@ -#include - -#ifndef INCLUDED_IntHash -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_StringBuf -#include -#endif - -Void IntHash_obj::__construct() -{ -HX_STACK_PUSH("IntHash::new","/usr/lib/haxe/std/cpp/_std/IntHash.hx",30); -{ - HX_STACK_LINE(30) - this->h = ::__int_hash_create(); -} -; - return null(); -} - -IntHash_obj::~IntHash_obj() { } - -Dynamic IntHash_obj::__CreateEmpty() { return new IntHash_obj; } -hx::ObjectPtr< IntHash_obj > IntHash_obj::__new() -{ hx::ObjectPtr< IntHash_obj > result = new IntHash_obj(); - result->__construct(); - return result;} - -Dynamic IntHash_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< IntHash_obj > result = new IntHash_obj(); - result->__construct(); - return result;} - -::String IntHash_obj::toString( ){ - HX_STACK_PUSH("IntHash::toString","/usr/lib/haxe/std/cpp/_std/IntHash.hx",60); - HX_STACK_THIS(this); - HX_STACK_LINE(61) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(62) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("{"); - HX_STACK_LINE(63) - Dynamic it = this->keys(); HX_STACK_VAR(it,"it"); - HX_STACK_LINE(64) - for(::cpp::FastIterator_obj< int > *__it = ::cpp::CreateFastIterator< int >(it); __it->hasNext(); ){ - int i = __it->next(); - { - HX_STACK_LINE(65) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = i; - HX_STACK_LINE(66) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(" => "); - HX_STACK_LINE(67) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::Std_obj::string(this->get(i)); - HX_STACK_LINE(68) - if ((it->__Field(HX_CSTRING("hasNext"),true)())){ - HX_STACK_LINE(69) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(", "); - } - } -; - } - HX_STACK_LINE(71) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("}"); - HX_STACK_LINE(72) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(IntHash_obj,toString,return ) - -Dynamic IntHash_obj::iterator( ){ - HX_STACK_PUSH("IntHash::iterator","/usr/lib/haxe/std/cpp/_std/IntHash.hx",55); - HX_STACK_THIS(this); - HX_STACK_LINE(56) - Dynamic a = ::__int_hash_values(this->h); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(57) - return a->__Field(HX_CSTRING("iterator"),true)(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(IntHash_obj,iterator,return ) - -Dynamic IntHash_obj::keys( ){ - HX_STACK_PUSH("IntHash::keys","/usr/lib/haxe/std/cpp/_std/IntHash.hx",50); - HX_STACK_THIS(this); - HX_STACK_LINE(51) - Array< int > a = ::__int_hash_keys(this->h); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(52) - return a->iterator(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(IntHash_obj,keys,return ) - -bool IntHash_obj::remove( int key){ - HX_STACK_PUSH("IntHash::remove","/usr/lib/haxe/std/cpp/_std/IntHash.hx",46); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(46) - return ::__int_hash_remove(this->h,key); -} - - -HX_DEFINE_DYNAMIC_FUNC1(IntHash_obj,remove,return ) - -bool IntHash_obj::exists( int key){ - HX_STACK_PUSH("IntHash::exists","/usr/lib/haxe/std/cpp/_std/IntHash.hx",42); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(42) - return ::__int_hash_exists(this->h,key); -} - - -HX_DEFINE_DYNAMIC_FUNC1(IntHash_obj,exists,return ) - -Dynamic IntHash_obj::get( int key){ - HX_STACK_PUSH("IntHash::get","/usr/lib/haxe/std/cpp/_std/IntHash.hx",38); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(38) - return ::__int_hash_get(this->h,key); -} - - -HX_DEFINE_DYNAMIC_FUNC1(IntHash_obj,get,return ) - -Void IntHash_obj::set( int key,Dynamic value){ -{ - HX_STACK_PUSH("IntHash::set","/usr/lib/haxe/std/cpp/_std/IntHash.hx",34); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(34) - ::__int_hash_set(this->h,key,value); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(IntHash_obj,set,(void)) - - -IntHash_obj::IntHash_obj() -{ -} - -void IntHash_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(IntHash); - HX_MARK_MEMBER_NAME(h,"h"); - HX_MARK_END_CLASS(); -} - -void IntHash_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(h,"h"); -} - -Dynamic IntHash_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"h") ) { return h; } - break; - case 3: - if (HX_FIELD_EQ(inName,"get") ) { return get_dyn(); } - if (HX_FIELD_EQ(inName,"set") ) { return set_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"keys") ) { return keys_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"remove") ) { return remove_dyn(); } - if (HX_FIELD_EQ(inName,"exists") ) { return exists_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"iterator") ) { return iterator_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic IntHash_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"h") ) { h=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void IntHash_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("h")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("iterator"), - HX_CSTRING("keys"), - HX_CSTRING("remove"), - HX_CSTRING("exists"), - HX_CSTRING("get"), - HX_CSTRING("set"), - HX_CSTRING("h"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IntHash_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IntHash_obj::__mClass,"__mClass"); -}; - -Class IntHash_obj::__mClass; - -void IntHash_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("IntHash"), hx::TCanCast< IntHash_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IntHash_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/IntIter.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/IntIter.cpp deleted file mode 100644 index d21752d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/IntIter.cpp +++ /dev/null @@ -1,135 +0,0 @@ -#include - -#ifndef INCLUDED_IntIter -#include -#endif - -Void IntIter_obj::__construct(int min,int max) -{ -HX_STACK_PUSH("IntIter::new","/usr/lib/haxe/std/IntIter.hx",38); -{ - HX_STACK_LINE(39) - this->min = min; - HX_STACK_LINE(40) - this->max = max; -} -; - return null(); -} - -IntIter_obj::~IntIter_obj() { } - -Dynamic IntIter_obj::__CreateEmpty() { return new IntIter_obj; } -hx::ObjectPtr< IntIter_obj > IntIter_obj::__new(int min,int max) -{ hx::ObjectPtr< IntIter_obj > result = new IntIter_obj(); - result->__construct(min,max); - return result;} - -Dynamic IntIter_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< IntIter_obj > result = new IntIter_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -int IntIter_obj::next( ){ - HX_STACK_PUSH("IntIter::next","/usr/lib/haxe/std/IntIter.hx",53); - HX_STACK_THIS(this); - HX_STACK_LINE(53) - return (this->min)++; -} - - -HX_DEFINE_DYNAMIC_FUNC0(IntIter_obj,next,return ) - -bool IntIter_obj::hasNext( ){ - HX_STACK_PUSH("IntIter::hasNext","/usr/lib/haxe/std/IntIter.hx",46); - HX_STACK_THIS(this); - HX_STACK_LINE(46) - return (this->min < this->max); -} - - -HX_DEFINE_DYNAMIC_FUNC0(IntIter_obj,hasNext,return ) - - -IntIter_obj::IntIter_obj() -{ -} - -void IntIter_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(IntIter); - HX_MARK_MEMBER_NAME(max,"max"); - HX_MARK_MEMBER_NAME(min,"min"); - HX_MARK_END_CLASS(); -} - -void IntIter_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(max,"max"); - HX_VISIT_MEMBER_NAME(min,"min"); -} - -Dynamic IntIter_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"max") ) { return max; } - if (HX_FIELD_EQ(inName,"min") ) { return min; } - break; - case 4: - if (HX_FIELD_EQ(inName,"next") ) { return next_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"hasNext") ) { return hasNext_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic IntIter_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"max") ) { max=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"min") ) { min=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void IntIter_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("max")); - outFields->push(HX_CSTRING("min")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("next"), - HX_CSTRING("hasNext"), - HX_CSTRING("max"), - HX_CSTRING("min"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IntIter_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IntIter_obj::__mClass,"__mClass"); -}; - -Class IntIter_obj::__mClass; - -void IntIter_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("IntIter"), hx::TCanCast< IntIter_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IntIter_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/List.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/List.cpp deleted file mode 100644 index 36d676e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/List.cpp +++ /dev/null @@ -1,501 +0,0 @@ -#include - -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_StringBuf -#include -#endif - -Void List_obj::__construct() -{ -HX_STACK_PUSH("List::new","/usr/lib/haxe/std/List.hx",44); -{ - HX_STACK_LINE(44) - this->length = (int)0; -} -; - return null(); -} - -List_obj::~List_obj() { } - -Dynamic List_obj::__CreateEmpty() { return new List_obj; } -hx::ObjectPtr< List_obj > List_obj::__new() -{ hx::ObjectPtr< List_obj > result = new List_obj(); - result->__construct(); - return result;} - -Dynamic List_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< List_obj > result = new List_obj(); - result->__construct(); - return result;} - -::List List_obj::map( Dynamic f){ - HX_STACK_PUSH("List::map","/usr/lib/haxe/std/List.hx",246); - HX_STACK_THIS(this); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(247) - ::List b = ::List_obj::__new(); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(248) - Dynamic l = this->h; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(249) - while(((l != null()))){ - HX_STACK_LINE(250) - Dynamic v = l->__GetItem((int)0); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(251) - l = l->__GetItem((int)1); - HX_STACK_LINE(252) - b->add(f(v)); - } - HX_STACK_LINE(254) - return b; -} - - -HX_DEFINE_DYNAMIC_FUNC1(List_obj,map,return ) - -::List List_obj::filter( Dynamic f){ - HX_STACK_PUSH("List::filter","/usr/lib/haxe/std/List.hx",230); - HX_STACK_THIS(this); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(231) - ::List l2 = ::List_obj::__new(); HX_STACK_VAR(l2,"l2"); - HX_STACK_LINE(232) - Dynamic l = this->h; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(233) - while(((l != null()))){ - HX_STACK_LINE(234) - Dynamic v = l->__GetItem((int)0); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(235) - l = l->__GetItem((int)1); - HX_STACK_LINE(236) - if ((f(v).Cast< bool >())){ - HX_STACK_LINE(237) - l2->add(v); - } - } - HX_STACK_LINE(239) - return l2; -} - - -HX_DEFINE_DYNAMIC_FUNC1(List_obj,filter,return ) - -::String List_obj::join( ::String sep){ - HX_STACK_PUSH("List::join","/usr/lib/haxe/std/List.hx",211); - HX_STACK_THIS(this); - HX_STACK_ARG(sep,"sep"); - HX_STACK_LINE(212) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(213) - bool first = true; HX_STACK_VAR(first,"first"); - HX_STACK_LINE(214) - Dynamic l = this->h; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(215) - while(((l != null()))){ - HX_STACK_LINE(216) - if ((first)){ - HX_STACK_LINE(217) - first = false; - } - else{ - HX_STACK_LINE(219) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = sep; - } - HX_STACK_LINE(220) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = l->__GetItem((int)0); - HX_STACK_LINE(221) - l = l->__GetItem((int)1); - } - HX_STACK_LINE(223) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC1(List_obj,join,return ) - -::String List_obj::toString( ){ - HX_STACK_PUSH("List::toString","/usr/lib/haxe/std/List.hx",191); - HX_STACK_THIS(this); - HX_STACK_LINE(192) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(193) - bool first = true; HX_STACK_VAR(first,"first"); - HX_STACK_LINE(194) - Dynamic l = this->h; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(195) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("{"); - HX_STACK_LINE(196) - while(((l != null()))){ - HX_STACK_LINE(197) - if ((first)){ - HX_STACK_LINE(198) - first = false; - } - else{ - HX_STACK_LINE(200) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(", "); - } - HX_STACK_LINE(201) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::Std_obj::string(l->__GetItem((int)0)); - HX_STACK_LINE(202) - l = l->__GetItem((int)1); - } - HX_STACK_LINE(204) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("}"); - HX_STACK_LINE(205) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,toString,return ) - -Dynamic List_obj::iterator( ){ - HX_STACK_PUSH("List::iterator","/usr/lib/haxe/std/List.hx",152); - HX_STACK_THIS(this); - struct _Function_1_1{ - inline static Dynamic Block( ::List_obj *__this){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/List.hx",170); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("h") , __this->h,false); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_1) - Dynamic run(){ - HX_STACK_PUSH("*::_Function_2_1","/usr/lib/haxe/std/List.hx",172); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(172) - return (__this->__Field(HX_CSTRING("h"),true) != null()); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("hasNext") , Dynamic(new _Function_2_1()),true); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_2) - Dynamic run(){ - HX_STACK_PUSH("*::_Function_2_2","/usr/lib/haxe/std/List.hx",175); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(177) - if (((__this->__Field(HX_CSTRING("h"),true) == null()))){ - HX_STACK_LINE(178) - return null(); - } - HX_STACK_LINE(179) - Dynamic x = __this->__Field(HX_CSTRING("h"),true)->__GetItem((int)0); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(180) - __this->__FieldRef(HX_CSTRING("h")) = __this->__Field(HX_CSTRING("h"),true)->__GetItem((int)1); - HX_STACK_LINE(181) - return x; - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("next") , Dynamic(new _Function_2_2()),true); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(152) - return _Function_1_1::Block(this); -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,iterator,return ) - -bool List_obj::remove( Dynamic v){ - HX_STACK_PUSH("List::remove","/usr/lib/haxe/std/List.hx",129); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(130) - Dynamic prev = null(); HX_STACK_VAR(prev,"prev"); - HX_STACK_LINE(131) - Dynamic l = this->h; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(132) - while(((l != null()))){ - HX_STACK_LINE(133) - if (((l->__GetItem((int)0) == v))){ - HX_STACK_LINE(134) - if (((prev == null()))){ - HX_STACK_LINE(135) - this->h = l->__GetItem((int)1); - } - else{ - HX_STACK_LINE(137) - hx::IndexRef((prev).mPtr,(int)1) = l->__GetItem((int)1); - } - HX_STACK_LINE(138) - if (((this->q == l))){ - HX_STACK_LINE(139) - this->q = prev; - } - HX_STACK_LINE(140) - (this->length)--; - HX_STACK_LINE(141) - return true; - } - HX_STACK_LINE(143) - prev = l; - HX_STACK_LINE(144) - l = l->__GetItem((int)1); - } - HX_STACK_LINE(146) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(List_obj,remove,return ) - -Void List_obj::clear( ){ -{ - HX_STACK_PUSH("List::clear","/usr/lib/haxe/std/List.hx",119); - HX_STACK_THIS(this); - HX_STACK_LINE(120) - this->h = null(); - HX_STACK_LINE(121) - this->q = null(); - HX_STACK_LINE(122) - this->length = (int)0; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,clear,(void)) - -bool List_obj::isEmpty( ){ - HX_STACK_PUSH("List::isEmpty","/usr/lib/haxe/std/List.hx",112); - HX_STACK_THIS(this); - HX_STACK_LINE(112) - return (this->h == null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,isEmpty,return ) - -Dynamic List_obj::pop( ){ - HX_STACK_PUSH("List::pop","/usr/lib/haxe/std/List.hx",98); - HX_STACK_THIS(this); - HX_STACK_LINE(99) - if (((this->h == null()))){ - HX_STACK_LINE(100) - return null(); - } - HX_STACK_LINE(101) - Dynamic x = this->h->__GetItem((int)0); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(102) - this->h = this->h->__GetItem((int)1); - HX_STACK_LINE(103) - if (((this->h == null()))){ - HX_STACK_LINE(104) - this->q = null(); - } - HX_STACK_LINE(105) - (this->length)--; - HX_STACK_LINE(106) - return x; -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,pop,return ) - -Dynamic List_obj::last( ){ - HX_STACK_PUSH("List::last","/usr/lib/haxe/std/List.hx",88); - HX_STACK_THIS(this); - HX_STACK_LINE(88) - return ( (((this->q == null()))) ? Dynamic(null()) : Dynamic(this->q->__GetItem((int)0)) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,last,return ) - -Dynamic List_obj::first( ){ - HX_STACK_PUSH("List::first","/usr/lib/haxe/std/List.hx",80); - HX_STACK_THIS(this); - HX_STACK_LINE(80) - return ( (((this->h == null()))) ? Dynamic(null()) : Dynamic(this->h->__GetItem((int)0)) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,first,return ) - -Void List_obj::push( Dynamic item){ -{ - HX_STACK_PUSH("List::push","/usr/lib/haxe/std/List.hx",64); - HX_STACK_THIS(this); - HX_STACK_ARG(item,"item"); - HX_STACK_LINE(65) - Dynamic x = Dynamic( Array_obj::__new().Add(item).Add(this->h)); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(70) - this->h = x; - HX_STACK_LINE(71) - if (((this->q == null()))){ - HX_STACK_LINE(72) - this->q = x; - } - HX_STACK_LINE(73) - (this->length)++; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(List_obj,push,(void)) - -Void List_obj::add( Dynamic item){ -{ - HX_STACK_PUSH("List::add","/usr/lib/haxe/std/List.hx",51); - HX_STACK_THIS(this); - HX_STACK_ARG(item,"item"); - HX_STACK_LINE(52) - Dynamic x = Dynamic( Array_obj::__new().Add(item)); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(53) - if (((this->h == null()))){ - HX_STACK_LINE(54) - this->h = x; - } - else{ - HX_STACK_LINE(56) - hx::IndexRef((this->q).mPtr,(int)1) = x; - } - HX_STACK_LINE(57) - this->q = x; - HX_STACK_LINE(58) - (this->length)++; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(List_obj,add,(void)) - - -List_obj::List_obj() -{ -} - -void List_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(List); - HX_MARK_MEMBER_NAME(length,"length"); - HX_MARK_MEMBER_NAME(q,"q"); - HX_MARK_MEMBER_NAME(h,"h"); - HX_MARK_END_CLASS(); -} - -void List_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(length,"length"); - HX_VISIT_MEMBER_NAME(q,"q"); - HX_VISIT_MEMBER_NAME(h,"h"); -} - -Dynamic List_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"q") ) { return q; } - if (HX_FIELD_EQ(inName,"h") ) { return h; } - break; - case 3: - if (HX_FIELD_EQ(inName,"map") ) { return map_dyn(); } - if (HX_FIELD_EQ(inName,"pop") ) { return pop_dyn(); } - if (HX_FIELD_EQ(inName,"add") ) { return add_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"join") ) { return join_dyn(); } - if (HX_FIELD_EQ(inName,"last") ) { return last_dyn(); } - if (HX_FIELD_EQ(inName,"push") ) { return push_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"clear") ) { return clear_dyn(); } - if (HX_FIELD_EQ(inName,"first") ) { return first_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"filter") ) { return filter_dyn(); } - if (HX_FIELD_EQ(inName,"remove") ) { return remove_dyn(); } - if (HX_FIELD_EQ(inName,"length") ) { return length; } - break; - case 7: - if (HX_FIELD_EQ(inName,"isEmpty") ) { return isEmpty_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"iterator") ) { return iterator_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic List_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"q") ) { q=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"h") ) { h=inValue.Cast< Dynamic >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { length=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void List_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("length")); - outFields->push(HX_CSTRING("q")); - outFields->push(HX_CSTRING("h")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("map"), - HX_CSTRING("filter"), - HX_CSTRING("join"), - HX_CSTRING("toString"), - HX_CSTRING("iterator"), - HX_CSTRING("remove"), - HX_CSTRING("clear"), - HX_CSTRING("isEmpty"), - HX_CSTRING("pop"), - HX_CSTRING("last"), - HX_CSTRING("first"), - HX_CSTRING("push"), - HX_CSTRING("add"), - HX_CSTRING("length"), - HX_CSTRING("q"), - HX_CSTRING("h"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(List_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(List_obj::__mClass,"__mClass"); -}; - -Class List_obj::__mClass; - -void List_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("List"), hx::TCanCast< List_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void List_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Main.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Main.cpp deleted file mode 100644 index 2ef3033..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Main.cpp +++ /dev/null @@ -1,154 +0,0 @@ -#include - -#ifndef INCLUDED_Main -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_MovieClip -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_nme_Lib -#include -#endif - -Void Main_obj::__construct() -{ -HX_STACK_PUSH("Main::new","Main.hx",12); -{ - HX_STACK_LINE(12) - super::__construct(); -} -; - return null(); -} - -Main_obj::~Main_obj() { } - -Dynamic Main_obj::__CreateEmpty() { return new Main_obj; } -hx::ObjectPtr< Main_obj > Main_obj::__new() -{ hx::ObjectPtr< Main_obj > result = new Main_obj(); - result->__construct(); - return result;} - -Dynamic Main_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Main_obj > result = new Main_obj(); - result->__construct(); - return result;} - -Void Main_obj::main( ){ -{ - HX_STACK_PUSH("Main::main","Main.hx",16); - HX_STACK_LINE(19) - ::ca::confidant::glory::GloryFrameworkApp app = ::ca::confidant::glory::GloryFrameworkApp_obj::__new(); HX_STACK_VAR(app,"app"); - HX_STACK_LINE(20) - ::nme::Lib_obj::get_current()->addChild(app); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Main_obj,main,(void)) - -Void Main_obj::myTrace( Dynamic v,Dynamic inf){ -{ - HX_STACK_PUSH("Main::myTrace","Main.hx",24); - HX_STACK_ARG(v,"v"); - HX_STACK_ARG(inf,"inf"); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Main_obj,myTrace,(void)) - - -Main_obj::Main_obj() -{ -} - -void Main_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Main); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Main_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Main_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"main") ) { return main_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"myTrace") ) { return myTrace_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Main_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Main_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("main"), - HX_CSTRING("myTrace"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Main_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Main_obj::__mClass,"__mClass"); -}; - -Class Main_obj::__mClass; - -void Main_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Main"), hx::TCanCast< Main_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Main_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Reflect.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Reflect.cpp deleted file mode 100644 index 4394351..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Reflect.cpp +++ /dev/null @@ -1,373 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif - -Void Reflect_obj::__construct() -{ - return null(); -} - -Reflect_obj::~Reflect_obj() { } - -Dynamic Reflect_obj::__CreateEmpty() { return new Reflect_obj; } -hx::ObjectPtr< Reflect_obj > Reflect_obj::__new() -{ hx::ObjectPtr< Reflect_obj > result = new Reflect_obj(); - result->__construct(); - return result;} - -Dynamic Reflect_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Reflect_obj > result = new Reflect_obj(); - result->__construct(); - return result;} - -bool Reflect_obj::hasField( Dynamic o,::String field){ - HX_STACK_PUSH("Reflect::hasField","/usr/lib/haxe/std/cpp/_std/Reflect.hx",29); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(field,"field"); - HX_STACK_LINE(29) - return (bool((o != null())) && bool(o->__HasField(field))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,hasField,return ) - -Dynamic Reflect_obj::field( Dynamic o,::String field){ - HX_STACK_PUSH("Reflect::field","/usr/lib/haxe/std/cpp/_std/Reflect.hx",33); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(field,"field"); - HX_STACK_LINE(33) - return ( (((o == null()))) ? Dynamic(null()) : Dynamic(o->__Field(field,false)) ); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,field,return ) - -Void Reflect_obj::setField( Dynamic o,::String field,Dynamic value){ -{ - HX_STACK_PUSH("Reflect::setField","/usr/lib/haxe/std/cpp/_std/Reflect.hx",37); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(field,"field"); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(37) - if (((o != null()))){ - HX_STACK_LINE(39) - o->__SetField(field,value,false); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Reflect_obj,setField,(void)) - -Dynamic Reflect_obj::getProperty( Dynamic o,::String field){ - HX_STACK_PUSH("Reflect::getProperty","/usr/lib/haxe/std/cpp/_std/Reflect.hx",42); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(field,"field"); - HX_STACK_LINE(42) - return ( (((o == null()))) ? Dynamic(null()) : Dynamic(o->__Field(field,true)) ); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,getProperty,return ) - -Void Reflect_obj::setProperty( Dynamic o,::String field,Dynamic value){ -{ - HX_STACK_PUSH("Reflect::setProperty","/usr/lib/haxe/std/cpp/_std/Reflect.hx",46); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(field,"field"); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(46) - if (((o != null()))){ - HX_STACK_LINE(48) - o->__SetField(field,value,true); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Reflect_obj,setProperty,(void)) - -Dynamic Reflect_obj::callMethod( Dynamic o,Dynamic func,Dynamic args){ - HX_STACK_PUSH("Reflect::callMethod","/usr/lib/haxe/std/cpp/_std/Reflect.hx",51); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(func,"func"); - HX_STACK_ARG(args,"args"); - HX_STACK_LINE(52) - if (((bool((func != null())) && bool((func->__GetType() == ::vtString))))){ - HX_STACK_LINE(53) - func = o->__Field(func,true); - } - HX_STACK_LINE(54) - func->__SetThis(o); - HX_STACK_LINE(55) - return func->__Run(args); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Reflect_obj,callMethod,return ) - -Array< ::String > Reflect_obj::fields( Dynamic o){ - HX_STACK_PUSH("Reflect::fields","/usr/lib/haxe/std/cpp/_std/Reflect.hx",58); - HX_STACK_ARG(o,"o"); - HX_STACK_LINE(59) - if (((o == null()))){ - HX_STACK_LINE(59) - return Array_obj< ::String >::__new(); - } - HX_STACK_LINE(60) - Array< ::String > a = Array_obj< ::String >::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(61) - o->__GetFields(a); - HX_STACK_LINE(62) - return a; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Reflect_obj,fields,return ) - -bool Reflect_obj::isFunction( Dynamic f){ - HX_STACK_PUSH("Reflect::isFunction","/usr/lib/haxe/std/cpp/_std/Reflect.hx",65); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(65) - return (bool((f != null())) && bool((f->__GetType() == ::vtFunction))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Reflect_obj,isFunction,return ) - -int Reflect_obj::compare( Dynamic a,Dynamic b){ - HX_STACK_PUSH("Reflect::compare","/usr/lib/haxe/std/cpp/_std/Reflect.hx",69); - HX_STACK_ARG(a,"a"); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(69) - return ( (((a == b))) ? int((int)0) : int(( (((a > b))) ? int((int)1) : int((int)-1) )) ); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,compare,return ) - -bool Reflect_obj::compareMethods( Dynamic f1,Dynamic f2){ - HX_STACK_PUSH("Reflect::compareMethods","/usr/lib/haxe/std/cpp/_std/Reflect.hx",73); - HX_STACK_ARG(f1,"f1"); - HX_STACK_ARG(f2,"f2"); - HX_STACK_LINE(74) - if (((f1 == f2))){ - HX_STACK_LINE(75) - return true; - } - HX_STACK_LINE(76) - if (((bool(!(::Reflect_obj::isFunction(f1))) || bool(!(::Reflect_obj::isFunction(f2)))))){ - HX_STACK_LINE(77) - return false; - } - HX_STACK_LINE(78) - return ::__hxcpp_same_closure(f1,f2); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,compareMethods,return ) - -bool Reflect_obj::isObject( Dynamic v){ - HX_STACK_PUSH("Reflect::isObject","/usr/lib/haxe/std/cpp/_std/Reflect.hx",81); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(82) - if (((v == null()))){ - HX_STACK_LINE(82) - return false; - } - HX_STACK_LINE(83) - int t = v->__GetType(); HX_STACK_VAR(t,"t"); - HX_STACK_LINE(84) - return (bool((bool((bool((t == ::vtObject)) || bool((t == ::vtClass)))) || bool((t == ::vtString)))) || bool((t == ::vtArray))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Reflect_obj,isObject,return ) - -bool Reflect_obj::deleteField( Dynamic o,::String f){ - HX_STACK_PUSH("Reflect::deleteField","/usr/lib/haxe/std/cpp/_std/Reflect.hx",88); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(89) - if (((o == null()))){ - HX_STACK_LINE(89) - return false; - } - HX_STACK_LINE(90) - return ::__hxcpp_anon_remove(o,f); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,deleteField,return ) - -Dynamic Reflect_obj::copy( Dynamic o){ - HX_STACK_PUSH("Reflect::copy","/usr/lib/haxe/std/cpp/_std/Reflect.hx",93); - HX_STACK_ARG(o,"o"); - HX_STACK_LINE(94) - if (((o == null()))){ - HX_STACK_LINE(94) - return null(); - } - HX_STACK_LINE(95) - if (((o->__GetType() == ::vtString))){ - HX_STACK_LINE(95) - return o; - } - HX_STACK_LINE(96) - if (((o->__GetType() == ::vtArray))){ - HX_STACK_LINE(97) - return o->__Field(HX_CSTRING("copy"),true)(); - } - struct _Function_1_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Reflect.hx",98); - { - hx::Anon __result = hx::Anon_obj::Create(); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(98) - Dynamic o2 = _Function_1_1::Block(); HX_STACK_VAR(o2,"o2"); - HX_STACK_LINE(99) - { - HX_STACK_LINE(99) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::String > _g1 = ::Reflect_obj::fields(o); HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(99) - while(((_g < _g1->length))){ - HX_STACK_LINE(99) - ::String f = _g1->__get(_g); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(99) - ++(_g); - HX_STACK_LINE(100) - if (((o2 != null()))){ - HX_STACK_LINE(100) - o2->__SetField(f,::Reflect_obj::field(o,f),false); - } - } - } - HX_STACK_LINE(101) - return o2; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Reflect_obj,copy,return ) - -Dynamic Reflect_obj::makeVarArgs( Dynamic f){ - HX_STACK_PUSH("Reflect::makeVarArgs","/usr/lib/haxe/std/cpp/_std/Reflect.hx",104); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(104) - return ::__hxcpp_create_var_args(f); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Reflect_obj,makeVarArgs,return ) - - -Reflect_obj::Reflect_obj() -{ -} - -void Reflect_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Reflect); - HX_MARK_END_CLASS(); -} - -void Reflect_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Reflect_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"copy") ) { return copy_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"field") ) { return field_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"fields") ) { return fields_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"compare") ) { return compare_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"hasField") ) { return hasField_dyn(); } - if (HX_FIELD_EQ(inName,"setField") ) { return setField_dyn(); } - if (HX_FIELD_EQ(inName,"isObject") ) { return isObject_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"callMethod") ) { return callMethod_dyn(); } - if (HX_FIELD_EQ(inName,"isFunction") ) { return isFunction_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"getProperty") ) { return getProperty_dyn(); } - if (HX_FIELD_EQ(inName,"setProperty") ) { return setProperty_dyn(); } - if (HX_FIELD_EQ(inName,"deleteField") ) { return deleteField_dyn(); } - if (HX_FIELD_EQ(inName,"makeVarArgs") ) { return makeVarArgs_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"compareMethods") ) { return compareMethods_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Reflect_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Reflect_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("hasField"), - HX_CSTRING("field"), - HX_CSTRING("setField"), - HX_CSTRING("getProperty"), - HX_CSTRING("setProperty"), - HX_CSTRING("callMethod"), - HX_CSTRING("fields"), - HX_CSTRING("isFunction"), - HX_CSTRING("compare"), - HX_CSTRING("compareMethods"), - HX_CSTRING("isObject"), - HX_CSTRING("deleteField"), - HX_CSTRING("copy"), - HX_CSTRING("makeVarArgs"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Reflect_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Reflect_obj::__mClass,"__mClass"); -}; - -Class Reflect_obj::__mClass; - -void Reflect_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Reflect"), hx::TCanCast< Reflect_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Reflect_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Std.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Std.cpp deleted file mode 100644 index 83657e3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Std.cpp +++ /dev/null @@ -1,165 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif - -Void Std_obj::__construct() -{ - return null(); -} - -Std_obj::~Std_obj() { } - -Dynamic Std_obj::__CreateEmpty() { return new Std_obj; } -hx::ObjectPtr< Std_obj > Std_obj::__new() -{ hx::ObjectPtr< Std_obj > result = new Std_obj(); - result->__construct(); - return result;} - -Dynamic Std_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Std_obj > result = new Std_obj(); - result->__construct(); - return result;} - -bool Std_obj::is( Dynamic v,Dynamic t){ - HX_STACK_PUSH("Std::is","/usr/lib/haxe/std/cpp/_std/Std.hx",27); - HX_STACK_ARG(v,"v"); - HX_STACK_ARG(t,"t"); - HX_STACK_LINE(27) - return ::__instanceof(v,t); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Std_obj,is,return ) - -::String Std_obj::string( Dynamic s){ - HX_STACK_PUSH("Std::string","/usr/lib/haxe/std/cpp/_std/Std.hx",31); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(31) - return ( (((s == null()))) ? ::String(HX_CSTRING("null")) : ::String(s->toString()) ); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Std_obj,string,return ) - -int Std_obj::_int( Float x){ - HX_STACK_PUSH("Std::int","/usr/lib/haxe/std/cpp/_std/Std.hx",35); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(35) - return ::__int__(x); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Std_obj,_int,return ) - -Dynamic Std_obj::parseInt( ::String x){ - HX_STACK_PUSH("Std::parseInt","/usr/lib/haxe/std/cpp/_std/Std.hx",39); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(39) - return ::__hxcpp_parse_int(x); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Std_obj,parseInt,return ) - -Float Std_obj::parseFloat( ::String x){ - HX_STACK_PUSH("Std::parseFloat","/usr/lib/haxe/std/cpp/_std/Std.hx",43); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(43) - return ::__hxcpp_parse_float(x); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Std_obj,parseFloat,return ) - -int Std_obj::random( int x){ - HX_STACK_PUSH("Std::random","/usr/lib/haxe/std/cpp/_std/Std.hx",47); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(47) - return ::__hxcpp_irand(x); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Std_obj,random,return ) - - -Std_obj::Std_obj() -{ -} - -void Std_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Std); - HX_MARK_END_CLASS(); -} - -void Std_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Std_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"is") ) { return is_dyn(); } - break; - case 3: - if (HX_FIELD_EQ(inName,"int") ) { return _int_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"string") ) { return string_dyn(); } - if (HX_FIELD_EQ(inName,"random") ) { return random_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"parseInt") ) { return parseInt_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"parseFloat") ) { return parseFloat_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Std_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Std_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("is"), - HX_CSTRING("string"), - HX_CSTRING("int"), - HX_CSTRING("parseInt"), - HX_CSTRING("parseFloat"), - HX_CSTRING("random"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Std_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Std_obj::__mClass,"__mClass"); -}; - -Class Std_obj::__mClass; - -void Std_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Std"), hx::TCanCast< Std_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Std_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/StringBuf.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/StringBuf.cpp deleted file mode 100644 index 8176dbd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/StringBuf.cpp +++ /dev/null @@ -1,169 +0,0 @@ -#include - -#ifndef INCLUDED_StringBuf -#include -#endif - -Void StringBuf_obj::__construct() -{ -HX_STACK_PUSH("StringBuf::new","/usr/lib/haxe/std/cpp/_std/StringBuf.hx",31); -{ - HX_STACK_LINE(31) - this->b = Dynamic( Array_obj::__new() ); -} -; - return null(); -} - -StringBuf_obj::~StringBuf_obj() { } - -Dynamic StringBuf_obj::__CreateEmpty() { return new StringBuf_obj; } -hx::ObjectPtr< StringBuf_obj > StringBuf_obj::__new() -{ hx::ObjectPtr< StringBuf_obj > result = new StringBuf_obj(); - result->__construct(); - return result;} - -Dynamic StringBuf_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< StringBuf_obj > result = new StringBuf_obj(); - result->__construct(); - return result;} - -::String StringBuf_obj::toString( ){ - HX_STACK_PUSH("StringBuf::toString","/usr/lib/haxe/std/cpp/_std/StringBuf.hx",47); - HX_STACK_THIS(this); - HX_STACK_LINE(47) - return this->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(StringBuf_obj,toString,return ) - -Void StringBuf_obj::addChar( int c){ -{ - HX_STACK_PUSH("StringBuf::addChar","/usr/lib/haxe/std/cpp/_std/StringBuf.hx",43); - HX_STACK_THIS(this); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(43) - hx::IndexRef((this->b).mPtr,this->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode(c); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(StringBuf_obj,addChar,(void)) - -Void StringBuf_obj::addSub( ::String s,int pos,Dynamic len){ -{ - HX_STACK_PUSH("StringBuf::addSub","/usr/lib/haxe/std/cpp/_std/StringBuf.hx",39); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(39) - hx::IndexRef((this->b).mPtr,this->b->__Field(HX_CSTRING("length"),true)) = s.substr(pos,len); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(StringBuf_obj,addSub,(void)) - -Void StringBuf_obj::add( Dynamic x){ -{ - HX_STACK_PUSH("StringBuf::add","/usr/lib/haxe/std/cpp/_std/StringBuf.hx",35); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(35) - hx::IndexRef((this->b).mPtr,this->b->__Field(HX_CSTRING("length"),true)) = x; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(StringBuf_obj,add,(void)) - - -StringBuf_obj::StringBuf_obj() -{ -} - -void StringBuf_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(StringBuf); - HX_MARK_MEMBER_NAME(b,"b"); - HX_MARK_END_CLASS(); -} - -void StringBuf_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(b,"b"); -} - -Dynamic StringBuf_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"b") ) { return b; } - break; - case 3: - if (HX_FIELD_EQ(inName,"add") ) { return add_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"addSub") ) { return addSub_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"addChar") ) { return addChar_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic StringBuf_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"b") ) { b=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void StringBuf_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("b")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("addChar"), - HX_CSTRING("addSub"), - HX_CSTRING("add"), - HX_CSTRING("b"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StringBuf_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StringBuf_obj::__mClass,"__mClass"); -}; - -Class StringBuf_obj::__mClass; - -void StringBuf_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("StringBuf"), hx::TCanCast< StringBuf_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void StringBuf_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/StringTools.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/StringTools.cpp deleted file mode 100644 index 577e33f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/StringTools.cpp +++ /dev/null @@ -1,410 +0,0 @@ -#include - -#ifndef INCLUDED_StringTools -#include -#endif - -Void StringTools_obj::__construct() -{ - return null(); -} - -StringTools_obj::~StringTools_obj() { } - -Dynamic StringTools_obj::__CreateEmpty() { return new StringTools_obj; } -hx::ObjectPtr< StringTools_obj > StringTools_obj::__new() -{ hx::ObjectPtr< StringTools_obj > result = new StringTools_obj(); - result->__construct(); - return result;} - -Dynamic StringTools_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< StringTools_obj > result = new StringTools_obj(); - result->__construct(); - return result;} - -::String StringTools_obj::urlEncode( ::String s){ - HX_STACK_PUSH("StringTools::urlEncode","/usr/lib/haxe/std/StringTools.hx",41); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(41) - return s.__URLEncode(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,urlEncode,return ) - -::String StringTools_obj::urlDecode( ::String s){ - HX_STACK_PUSH("StringTools::urlDecode","/usr/lib/haxe/std/StringTools.hx",68); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(68) - return s.__URLDecode(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,urlDecode,return ) - -::String StringTools_obj::htmlEscape( ::String s){ - HX_STACK_PUSH("StringTools::htmlEscape","/usr/lib/haxe/std/StringTools.hx",95); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(95) - return s.split(HX_CSTRING("&"))->join(HX_CSTRING("&")).split(HX_CSTRING("<"))->join(HX_CSTRING("<")).split(HX_CSTRING(">"))->join(HX_CSTRING(">")); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,htmlEscape,return ) - -::String StringTools_obj::htmlUnescape( ::String s){ - HX_STACK_PUSH("StringTools::htmlUnescape","/usr/lib/haxe/std/StringTools.hx",102); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(102) - return s.split(HX_CSTRING(">"))->join(HX_CSTRING(">")).split(HX_CSTRING("<"))->join(HX_CSTRING("<")).split(HX_CSTRING("&"))->join(HX_CSTRING("&")); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,htmlUnescape,return ) - -bool StringTools_obj::startsWith( ::String s,::String start){ - HX_STACK_PUSH("StringTools::startsWith","/usr/lib/haxe/std/StringTools.hx",113); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(start,"start"); - HX_STACK_LINE(113) - return (bool((s.length >= start.length)) && bool((s.substr((int)0,start.length) == start))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(StringTools_obj,startsWith,return ) - -bool StringTools_obj::endsWith( ::String s,::String end){ - HX_STACK_PUSH("StringTools::endsWith","/usr/lib/haxe/std/StringTools.hx",126); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(end,"end"); - HX_STACK_LINE(132) - int elen = end.length; HX_STACK_VAR(elen,"elen"); - HX_STACK_LINE(133) - int slen = s.length; HX_STACK_VAR(slen,"slen"); - HX_STACK_LINE(134) - return (bool((slen >= elen)) && bool((s.substr((slen - elen),elen) == end))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(StringTools_obj,endsWith,return ) - -bool StringTools_obj::isSpace( ::String s,int pos){ - HX_STACK_PUSH("StringTools::isSpace","/usr/lib/haxe/std/StringTools.hx",141); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(142) - Dynamic c = s.charCodeAt(pos); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(143) - return (bool((bool((c >= (int)9)) && bool((c <= (int)13)))) || bool((c == (int)32))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(StringTools_obj,isSpace,return ) - -::String StringTools_obj::ltrim( ::String s){ - HX_STACK_PUSH("StringTools::ltrim","/usr/lib/haxe/std/StringTools.hx",149); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(155) - int l = s.length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(156) - int r = (int)0; HX_STACK_VAR(r,"r"); - HX_STACK_LINE(157) - while(((bool((r < l)) && bool(::StringTools_obj::isSpace(s,r))))){ - HX_STACK_LINE(157) - (r)++; - } - HX_STACK_LINE(160) - if (((r > (int)0))){ - HX_STACK_LINE(161) - return s.substr(r,(l - r)); - } - else{ - HX_STACK_LINE(163) - return s; - } - HX_STACK_LINE(160) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,ltrim,return ) - -::String StringTools_obj::rtrim( ::String s){ - HX_STACK_PUSH("StringTools::rtrim","/usr/lib/haxe/std/StringTools.hx",170); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(176) - int l = s.length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(177) - int r = (int)0; HX_STACK_VAR(r,"r"); - HX_STACK_LINE(178) - while(((bool((r < l)) && bool(::StringTools_obj::isSpace(s,((l - r) - (int)1)))))){ - HX_STACK_LINE(178) - (r)++; - } - HX_STACK_LINE(181) - if (((r > (int)0))){ - HX_STACK_LINE(181) - return s.substr((int)0,(l - r)); - } - else{ - HX_STACK_LINE(183) - return s; - } - HX_STACK_LINE(181) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,rtrim,return ) - -::String StringTools_obj::trim( ::String s){ - HX_STACK_PUSH("StringTools::trim","/usr/lib/haxe/std/StringTools.hx",192); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(192) - return ::StringTools_obj::ltrim(::StringTools_obj::rtrim(s)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,trim,return ) - -::String StringTools_obj::rpad( ::String s,::String c,int l){ - HX_STACK_PUSH("StringTools::rpad","/usr/lib/haxe/std/StringTools.hx",207); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(c,"c"); - HX_STACK_ARG(l,"l"); - HX_STACK_LINE(211) - int sl = s.length; HX_STACK_VAR(sl,"sl"); - HX_STACK_LINE(212) - int cl = c.length; HX_STACK_VAR(cl,"cl"); - HX_STACK_LINE(213) - while(((sl < l))){ - HX_STACK_LINE(213) - if ((((l - sl) < cl))){ - HX_STACK_LINE(215) - hx::AddEq(s,c.substr((int)0,(l - sl))); - HX_STACK_LINE(216) - sl = l; - } - else{ - HX_STACK_LINE(218) - hx::AddEq(s,c); - HX_STACK_LINE(219) - hx::AddEq(sl,cl); - } - } - HX_STACK_LINE(222) - return s; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(StringTools_obj,rpad,return ) - -::String StringTools_obj::lpad( ::String s,::String c,int l){ - HX_STACK_PUSH("StringTools::lpad","/usr/lib/haxe/std/StringTools.hx",229); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(c,"c"); - HX_STACK_ARG(l,"l"); - HX_STACK_LINE(233) - ::String ns = HX_CSTRING(""); HX_STACK_VAR(ns,"ns"); - HX_STACK_LINE(234) - int sl = s.length; HX_STACK_VAR(sl,"sl"); - HX_STACK_LINE(235) - if (((sl >= l))){ - HX_STACK_LINE(235) - return s; - } - HX_STACK_LINE(237) - int cl = c.length; HX_STACK_VAR(cl,"cl"); - HX_STACK_LINE(238) - while(((sl < l))){ - HX_STACK_LINE(238) - if ((((l - sl) < cl))){ - HX_STACK_LINE(240) - hx::AddEq(ns,c.substr((int)0,(l - sl))); - HX_STACK_LINE(241) - sl = l; - } - else{ - HX_STACK_LINE(243) - hx::AddEq(ns,c); - HX_STACK_LINE(244) - hx::AddEq(sl,cl); - } - } - HX_STACK_LINE(247) - return (ns + s); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(StringTools_obj,lpad,return ) - -::String StringTools_obj::replace( ::String s,::String sub,::String by){ - HX_STACK_PUSH("StringTools::replace","/usr/lib/haxe/std/StringTools.hx",254); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(sub,"sub"); - HX_STACK_ARG(by,"by"); - HX_STACK_LINE(254) - return s.split(sub)->join(by); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(StringTools_obj,replace,return ) - -::String StringTools_obj::hex( int n,Dynamic digits){ - HX_STACK_PUSH("StringTools::hex","/usr/lib/haxe/std/StringTools.hx",269); - HX_STACK_ARG(n,"n"); - HX_STACK_ARG(digits,"digits"); - HX_STACK_LINE(275) - ::String s = HX_CSTRING(""); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(276) - ::String hexChars = HX_CSTRING("0123456789ABCDEF"); HX_STACK_VAR(hexChars,"hexChars"); - HX_STACK_LINE(277) - do{ - HX_STACK_LINE(278) - s = (hexChars.charAt((int(n) & int((int)15))) + s); - HX_STACK_LINE(279) - hx::UShrEq(n,(int)4); - } -while(((n > (int)0))); - HX_STACK_LINE(282) - if (((digits != null()))){ - HX_STACK_LINE(283) - while(((s.length < digits))){ - HX_STACK_LINE(284) - s = (HX_CSTRING("0") + s); - } - } - HX_STACK_LINE(285) - return s; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(StringTools_obj,hex,return ) - -int StringTools_obj::fastCodeAt( ::String s,int index){ - HX_STACK_PUSH("StringTools::fastCodeAt","/usr/lib/haxe/std/StringTools.hx",292); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(292) - return s.cca(index); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(StringTools_obj,fastCodeAt,return ) - -bool StringTools_obj::isEOF( int c){ - HX_STACK_PUSH("StringTools::isEOF","/usr/lib/haxe/std/StringTools.hx",322); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(322) - return (c == (int)0); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,isEOF,return ) - - -StringTools_obj::StringTools_obj() -{ -} - -void StringTools_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(StringTools); - HX_MARK_END_CLASS(); -} - -void StringTools_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic StringTools_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"hex") ) { return hex_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"trim") ) { return trim_dyn(); } - if (HX_FIELD_EQ(inName,"rpad") ) { return rpad_dyn(); } - if (HX_FIELD_EQ(inName,"lpad") ) { return lpad_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"ltrim") ) { return ltrim_dyn(); } - if (HX_FIELD_EQ(inName,"rtrim") ) { return rtrim_dyn(); } - if (HX_FIELD_EQ(inName,"isEOF") ) { return isEOF_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"isSpace") ) { return isSpace_dyn(); } - if (HX_FIELD_EQ(inName,"replace") ) { return replace_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"endsWith") ) { return endsWith_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"urlEncode") ) { return urlEncode_dyn(); } - if (HX_FIELD_EQ(inName,"urlDecode") ) { return urlDecode_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"htmlEscape") ) { return htmlEscape_dyn(); } - if (HX_FIELD_EQ(inName,"startsWith") ) { return startsWith_dyn(); } - if (HX_FIELD_EQ(inName,"fastCodeAt") ) { return fastCodeAt_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"htmlUnescape") ) { return htmlUnescape_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic StringTools_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void StringTools_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("urlEncode"), - HX_CSTRING("urlDecode"), - HX_CSTRING("htmlEscape"), - HX_CSTRING("htmlUnescape"), - HX_CSTRING("startsWith"), - HX_CSTRING("endsWith"), - HX_CSTRING("isSpace"), - HX_CSTRING("ltrim"), - HX_CSTRING("rtrim"), - HX_CSTRING("trim"), - HX_CSTRING("rpad"), - HX_CSTRING("lpad"), - HX_CSTRING("replace"), - HX_CSTRING("hex"), - HX_CSTRING("fastCodeAt"), - HX_CSTRING("isEOF"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StringTools_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StringTools_obj::__mClass,"__mClass"); -}; - -Class StringTools_obj::__mClass; - -void StringTools_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("StringTools"), hx::TCanCast< StringTools_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void StringTools_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Sys.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Sys.cpp deleted file mode 100644 index 32c90b6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Sys.cpp +++ /dev/null @@ -1,609 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_Sys -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -#ifndef INCLUDED_haxe_io_Output -#include -#endif -#ifndef INCLUDED_sys_io_FileInput -#include -#endif -#ifndef INCLUDED_sys_io_FileOutput -#include -#endif - -Void Sys_obj::__construct() -{ - return null(); -} - -Sys_obj::~Sys_obj() { } - -Dynamic Sys_obj::__CreateEmpty() { return new Sys_obj; } -hx::ObjectPtr< Sys_obj > Sys_obj::__new() -{ hx::ObjectPtr< Sys_obj > result = new Sys_obj(); - result->__construct(); - return result;} - -Dynamic Sys_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Sys_obj > result = new Sys_obj(); - result->__construct(); - return result;} - -Void Sys_obj::print( Dynamic v){ -{ - HX_STACK_PUSH("Sys::print","/usr/lib/haxe/std/cpp/_std/Sys.hx",28); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(28) - ::__hxcpp_print(v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,print,(void)) - -Void Sys_obj::println( Dynamic v){ -{ - HX_STACK_PUSH("Sys::println","/usr/lib/haxe/std/cpp/_std/Sys.hx",32); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(33) - ::Sys_obj::print(v); - HX_STACK_LINE(34) - ::Sys_obj::print(HX_CSTRING("\n")); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,println,(void)) - -::haxe::io::Input Sys_obj::_stdin( ){ - HX_STACK_PUSH("Sys::stdin","/usr/lib/haxe/std/cpp/_std/Sys.hx",37); - HX_STACK_LINE(37) - return ::sys::io::FileInput_obj::__new(::Sys_obj::file_stdin()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,_stdin,return ) - -::haxe::io::Output Sys_obj::_stdout( ){ - HX_STACK_PUSH("Sys::stdout","/usr/lib/haxe/std/cpp/_std/Sys.hx",41); - HX_STACK_LINE(41) - return ::sys::io::FileOutput_obj::__new(::Sys_obj::file_stdout()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,_stdout,return ) - -::haxe::io::Output Sys_obj::_stderr( ){ - HX_STACK_PUSH("Sys::stderr","/usr/lib/haxe/std/cpp/_std/Sys.hx",45); - HX_STACK_LINE(45) - return ::sys::io::FileOutput_obj::__new(::Sys_obj::file_stderr()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,_stderr,return ) - -int Sys_obj::getChar( bool echo){ - HX_STACK_PUSH("Sys::getChar","/usr/lib/haxe/std/cpp/_std/Sys.hx",49); - HX_STACK_ARG(echo,"echo"); - HX_STACK_LINE(49) - return ::Sys_obj::getch(echo); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,getChar,return ) - -Array< ::String > Sys_obj::args( ){ - HX_STACK_PUSH("Sys::args","/usr/lib/haxe/std/cpp/_std/Sys.hx",53); - HX_STACK_LINE(53) - return ::__get_args(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,args,return ) - -::String Sys_obj::getEnv( ::String s){ - HX_STACK_PUSH("Sys::getEnv","/usr/lib/haxe/std/cpp/_std/Sys.hx",57); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(58) - ::String v = ::Sys_obj::get_env(s); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(59) - if (((v == null()))){ - HX_STACK_LINE(60) - return null(); - } - HX_STACK_LINE(61) - return v; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,getEnv,return ) - -Void Sys_obj::putEnv( ::String s,::String v){ -{ - HX_STACK_PUSH("Sys::putEnv","/usr/lib/haxe/std/cpp/_std/Sys.hx",64); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(64) - ::Sys_obj::put_env(s,v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Sys_obj,putEnv,(void)) - -Void Sys_obj::sleep( Float seconds){ -{ - HX_STACK_PUSH("Sys::sleep","/usr/lib/haxe/std/cpp/_std/Sys.hx",68); - HX_STACK_ARG(seconds,"seconds"); - HX_STACK_LINE(68) - ::Sys_obj::_sleep(seconds); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,sleep,(void)) - -bool Sys_obj::setTimeLocale( ::String loc){ - HX_STACK_PUSH("Sys::setTimeLocale","/usr/lib/haxe/std/cpp/_std/Sys.hx",72); - HX_STACK_ARG(loc,"loc"); - HX_STACK_LINE(72) - return ::Sys_obj::set_time_locale(loc); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,setTimeLocale,return ) - -::String Sys_obj::getCwd( ){ - HX_STACK_PUSH("Sys::getCwd","/usr/lib/haxe/std/cpp/_std/Sys.hx",76); - HX_STACK_LINE(76) - return ::String(::Sys_obj::get_cwd()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,getCwd,return ) - -Void Sys_obj::setCwd( ::String s){ -{ - HX_STACK_PUSH("Sys::setCwd","/usr/lib/haxe/std/cpp/_std/Sys.hx",80); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(80) - ::Sys_obj::set_cwd(s); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,setCwd,(void)) - -::String Sys_obj::systemName( ){ - HX_STACK_PUSH("Sys::systemName","/usr/lib/haxe/std/cpp/_std/Sys.hx",84); - HX_STACK_LINE(84) - return ::Sys_obj::sys_string(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,systemName,return ) - -::String Sys_obj::escapeArgument( ::String arg){ - HX_STACK_PUSH("Sys::escapeArgument","/usr/lib/haxe/std/cpp/_std/Sys.hx",88); - HX_STACK_ARG(arg,"arg"); - HX_STACK_LINE(89) - bool ok = true; HX_STACK_VAR(ok,"ok"); - HX_STACK_LINE(90) - { - HX_STACK_LINE(90) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = arg.length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(90) - while(((_g1 < _g))){ - HX_STACK_LINE(90) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(91) - switch( (int)(arg.charCodeAt(i))){ - case (int)32: case (int)34: { - HX_STACK_LINE(92) - ok = false; - } - ;break; - case (int)0: case (int)13: case (int)10: { - HX_STACK_LINE(94) - arg = arg.substr((int)0,i); - } - ;break; - } - } - } - HX_STACK_LINE(97) - if ((ok)){ - HX_STACK_LINE(98) - return arg; - } - HX_STACK_LINE(99) - return ((HX_CSTRING("\"") + arg.split(HX_CSTRING("\""))->join(HX_CSTRING("\\\""))) + HX_CSTRING("\"")); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,escapeArgument,return ) - -int Sys_obj::command( ::String cmd,Array< ::String > args){ - HX_STACK_PUSH("Sys::command","/usr/lib/haxe/std/cpp/_std/Sys.hx",102); - HX_STACK_ARG(cmd,"cmd"); - HX_STACK_ARG(args,"args"); - HX_STACK_LINE(103) - if (((args != null()))){ - HX_STACK_LINE(104) - cmd = ::Sys_obj::escapeArgument(cmd); - HX_STACK_LINE(105) - { - HX_STACK_LINE(105) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(105) - while(((_g < args->length))){ - HX_STACK_LINE(105) - ::String a = args->__get(_g); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(105) - ++(_g); - HX_STACK_LINE(106) - hx::AddEq(cmd,(HX_CSTRING(" ") + ::Sys_obj::escapeArgument(a))); - } - } - } - HX_STACK_LINE(108) - return ::Sys_obj::sys_command(cmd); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Sys_obj,command,return ) - -Void Sys_obj::exit( int code){ -{ - HX_STACK_PUSH("Sys::exit","/usr/lib/haxe/std/cpp/_std/Sys.hx",111); - HX_STACK_ARG(code,"code"); - HX_STACK_LINE(111) - ::Sys_obj::sys_exit(code); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,exit,(void)) - -Float Sys_obj::time( ){ - HX_STACK_PUSH("Sys::time","/usr/lib/haxe/std/cpp/_std/Sys.hx",115); - HX_STACK_LINE(115) - return ::Sys_obj::sys_time(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,time,return ) - -Float Sys_obj::cpuTime( ){ - HX_STACK_PUSH("Sys::cpuTime","/usr/lib/haxe/std/cpp/_std/Sys.hx",119); - HX_STACK_LINE(119) - return ::Sys_obj::sys_cpu_time(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,cpuTime,return ) - -::String Sys_obj::executablePath( ){ - HX_STACK_PUSH("Sys::executablePath","/usr/lib/haxe/std/cpp/_std/Sys.hx",123); - HX_STACK_LINE(123) - return ::String(::Sys_obj::sys_exe_path()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,executablePath,return ) - -::Hash Sys_obj::environment( ){ - HX_STACK_PUSH("Sys::environment","/usr/lib/haxe/std/cpp/_std/Sys.hx",127); - HX_STACK_LINE(128) - Array< ::String > vars = ::Sys_obj::sys_env(); HX_STACK_VAR(vars,"vars"); - HX_STACK_LINE(129) - ::Hash result = ::Hash_obj::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(130) - int i = (int)0; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(131) - while(((i < vars->length))){ - HX_STACK_LINE(132) - result->set(vars->__get(i),vars->__get((i + (int)1))); - HX_STACK_LINE(133) - hx::AddEq(i,(int)2); - } - HX_STACK_LINE(135) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,environment,return ) - -Dynamic Sys_obj::get_env; - -Dynamic Sys_obj::put_env; - -Dynamic Sys_obj::_sleep; - -Dynamic Sys_obj::set_time_locale; - -Dynamic Sys_obj::get_cwd; - -Dynamic Sys_obj::set_cwd; - -Dynamic Sys_obj::sys_string; - -Dynamic Sys_obj::sys_command; - -Dynamic Sys_obj::sys_exit; - -Dynamic Sys_obj::sys_time; - -Dynamic Sys_obj::sys_cpu_time; - -Dynamic Sys_obj::sys_exe_path; - -Dynamic Sys_obj::sys_env; - -Dynamic Sys_obj::file_stdin; - -Dynamic Sys_obj::file_stdout; - -Dynamic Sys_obj::file_stderr; - -Dynamic Sys_obj::getch; - - -Sys_obj::Sys_obj() -{ -} - -void Sys_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Sys); - HX_MARK_END_CLASS(); -} - -void Sys_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Sys_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"args") ) { return args_dyn(); } - if (HX_FIELD_EQ(inName,"exit") ) { return exit_dyn(); } - if (HX_FIELD_EQ(inName,"time") ) { return time_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"print") ) { return print_dyn(); } - if (HX_FIELD_EQ(inName,"stdin") ) { return _stdin_dyn(); } - if (HX_FIELD_EQ(inName,"sleep") ) { return sleep_dyn(); } - if (HX_FIELD_EQ(inName,"getch") ) { return getch; } - break; - case 6: - if (HX_FIELD_EQ(inName,"stdout") ) { return _stdout_dyn(); } - if (HX_FIELD_EQ(inName,"stderr") ) { return _stderr_dyn(); } - if (HX_FIELD_EQ(inName,"getEnv") ) { return getEnv_dyn(); } - if (HX_FIELD_EQ(inName,"putEnv") ) { return putEnv_dyn(); } - if (HX_FIELD_EQ(inName,"getCwd") ) { return getCwd_dyn(); } - if (HX_FIELD_EQ(inName,"setCwd") ) { return setCwd_dyn(); } - if (HX_FIELD_EQ(inName,"_sleep") ) { return _sleep; } - break; - case 7: - if (HX_FIELD_EQ(inName,"println") ) { return println_dyn(); } - if (HX_FIELD_EQ(inName,"getChar") ) { return getChar_dyn(); } - if (HX_FIELD_EQ(inName,"command") ) { return command_dyn(); } - if (HX_FIELD_EQ(inName,"cpuTime") ) { return cpuTime_dyn(); } - if (HX_FIELD_EQ(inName,"get_env") ) { return get_env; } - if (HX_FIELD_EQ(inName,"put_env") ) { return put_env; } - if (HX_FIELD_EQ(inName,"get_cwd") ) { return get_cwd; } - if (HX_FIELD_EQ(inName,"set_cwd") ) { return set_cwd; } - if (HX_FIELD_EQ(inName,"sys_env") ) { return sys_env; } - break; - case 8: - if (HX_FIELD_EQ(inName,"sys_exit") ) { return sys_exit; } - if (HX_FIELD_EQ(inName,"sys_time") ) { return sys_time; } - break; - case 10: - if (HX_FIELD_EQ(inName,"systemName") ) { return systemName_dyn(); } - if (HX_FIELD_EQ(inName,"sys_string") ) { return sys_string; } - if (HX_FIELD_EQ(inName,"file_stdin") ) { return file_stdin; } - break; - case 11: - if (HX_FIELD_EQ(inName,"environment") ) { return environment_dyn(); } - if (HX_FIELD_EQ(inName,"sys_command") ) { return sys_command; } - if (HX_FIELD_EQ(inName,"file_stdout") ) { return file_stdout; } - if (HX_FIELD_EQ(inName,"file_stderr") ) { return file_stderr; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sys_cpu_time") ) { return sys_cpu_time; } - if (HX_FIELD_EQ(inName,"sys_exe_path") ) { return sys_exe_path; } - break; - case 13: - if (HX_FIELD_EQ(inName,"setTimeLocale") ) { return setTimeLocale_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"escapeArgument") ) { return escapeArgument_dyn(); } - if (HX_FIELD_EQ(inName,"executablePath") ) { return executablePath_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"set_time_locale") ) { return set_time_locale; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Sys_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"getch") ) { getch=inValue.Cast< Dynamic >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"_sleep") ) { _sleep=inValue.Cast< Dynamic >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"get_env") ) { get_env=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"put_env") ) { put_env=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"get_cwd") ) { get_cwd=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"set_cwd") ) { set_cwd=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"sys_env") ) { sys_env=inValue.Cast< Dynamic >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"sys_exit") ) { sys_exit=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"sys_time") ) { sys_time=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"sys_string") ) { sys_string=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_stdin") ) { file_stdin=inValue.Cast< Dynamic >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"sys_command") ) { sys_command=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_stdout") ) { file_stdout=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_stderr") ) { file_stderr=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sys_cpu_time") ) { sys_cpu_time=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"sys_exe_path") ) { sys_exe_path=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"set_time_locale") ) { set_time_locale=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Sys_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("print"), - HX_CSTRING("println"), - HX_CSTRING("stdin"), - HX_CSTRING("stdout"), - HX_CSTRING("stderr"), - HX_CSTRING("getChar"), - HX_CSTRING("args"), - HX_CSTRING("getEnv"), - HX_CSTRING("putEnv"), - HX_CSTRING("sleep"), - HX_CSTRING("setTimeLocale"), - HX_CSTRING("getCwd"), - HX_CSTRING("setCwd"), - HX_CSTRING("systemName"), - HX_CSTRING("escapeArgument"), - HX_CSTRING("command"), - HX_CSTRING("exit"), - HX_CSTRING("time"), - HX_CSTRING("cpuTime"), - HX_CSTRING("executablePath"), - HX_CSTRING("environment"), - HX_CSTRING("get_env"), - HX_CSTRING("put_env"), - HX_CSTRING("_sleep"), - HX_CSTRING("set_time_locale"), - HX_CSTRING("get_cwd"), - HX_CSTRING("set_cwd"), - HX_CSTRING("sys_string"), - HX_CSTRING("sys_command"), - HX_CSTRING("sys_exit"), - HX_CSTRING("sys_time"), - HX_CSTRING("sys_cpu_time"), - HX_CSTRING("sys_exe_path"), - HX_CSTRING("sys_env"), - HX_CSTRING("file_stdin"), - HX_CSTRING("file_stdout"), - HX_CSTRING("file_stderr"), - HX_CSTRING("getch"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Sys_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Sys_obj::get_env,"get_env"); - HX_MARK_MEMBER_NAME(Sys_obj::put_env,"put_env"); - HX_MARK_MEMBER_NAME(Sys_obj::_sleep,"_sleep"); - HX_MARK_MEMBER_NAME(Sys_obj::set_time_locale,"set_time_locale"); - HX_MARK_MEMBER_NAME(Sys_obj::get_cwd,"get_cwd"); - HX_MARK_MEMBER_NAME(Sys_obj::set_cwd,"set_cwd"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_string,"sys_string"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_command,"sys_command"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_exit,"sys_exit"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_time,"sys_time"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_cpu_time,"sys_cpu_time"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_exe_path,"sys_exe_path"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_env,"sys_env"); - HX_MARK_MEMBER_NAME(Sys_obj::file_stdin,"file_stdin"); - HX_MARK_MEMBER_NAME(Sys_obj::file_stdout,"file_stdout"); - HX_MARK_MEMBER_NAME(Sys_obj::file_stderr,"file_stderr"); - HX_MARK_MEMBER_NAME(Sys_obj::getch,"getch"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Sys_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Sys_obj::get_env,"get_env"); - HX_VISIT_MEMBER_NAME(Sys_obj::put_env,"put_env"); - HX_VISIT_MEMBER_NAME(Sys_obj::_sleep,"_sleep"); - HX_VISIT_MEMBER_NAME(Sys_obj::set_time_locale,"set_time_locale"); - HX_VISIT_MEMBER_NAME(Sys_obj::get_cwd,"get_cwd"); - HX_VISIT_MEMBER_NAME(Sys_obj::set_cwd,"set_cwd"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_string,"sys_string"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_command,"sys_command"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_exit,"sys_exit"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_time,"sys_time"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_cpu_time,"sys_cpu_time"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_exe_path,"sys_exe_path"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_env,"sys_env"); - HX_VISIT_MEMBER_NAME(Sys_obj::file_stdin,"file_stdin"); - HX_VISIT_MEMBER_NAME(Sys_obj::file_stdout,"file_stdout"); - HX_VISIT_MEMBER_NAME(Sys_obj::file_stderr,"file_stderr"); - HX_VISIT_MEMBER_NAME(Sys_obj::getch,"getch"); -}; - -Class Sys_obj::__mClass; - -void Sys_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Sys"), hx::TCanCast< Sys_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Sys_obj::__boot() -{ - get_env= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("get_env"),(int)1); - put_env= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("put_env"),(int)2); - _sleep= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_sleep"),(int)1); - set_time_locale= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("set_time_locale"),(int)1); - get_cwd= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("get_cwd"),(int)0); - set_cwd= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("set_cwd"),(int)1); - sys_string= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_string"),(int)0); - sys_command= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_command"),(int)1); - sys_exit= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_exit"),(int)1); - sys_time= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_time"),(int)0); - sys_cpu_time= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_cpu_time"),(int)0); - sys_exe_path= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_exe_path"),(int)0); - sys_env= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_env"),(int)0); - file_stdin= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_stdin"),(int)0); - file_stdout= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_stdout"),(int)0); - file_stderr= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_stderr"),(int)0); - getch= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_getch"),(int)1); -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Type.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Type.cpp deleted file mode 100644 index 08346b4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Type.cpp +++ /dev/null @@ -1,487 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_ValueType -#include -#endif - -Void Type_obj::__construct() -{ - return null(); -} - -Type_obj::~Type_obj() { } - -Dynamic Type_obj::__CreateEmpty() { return new Type_obj; } -hx::ObjectPtr< Type_obj > Type_obj::__new() -{ hx::ObjectPtr< Type_obj > result = new Type_obj(); - result->__construct(); - return result;} - -Dynamic Type_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Type_obj > result = new Type_obj(); - result->__construct(); - return result;} - -::Class Type_obj::getClass( Dynamic o){ - HX_STACK_PUSH("Type::getClass","/usr/lib/haxe/std/cpp/_std/Type.hx",39); - HX_STACK_ARG(o,"o"); - HX_STACK_LINE(40) - if (((bool((o == null())) || bool(!(::Reflect_obj::isObject(o)))))){ - HX_STACK_LINE(40) - return null(); - } - HX_STACK_LINE(41) - Dynamic c = o->__GetClass(); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(42) - ::String _switch_1 = (c->toString()); - if ( ( _switch_1==HX_CSTRING("__Anon"))){ - HX_STACK_LINE(44) - return null(); - } - else if ( ( _switch_1==HX_CSTRING("Class"))){ - HX_STACK_LINE(45) - return null(); - } - HX_STACK_LINE(47) - return c; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getClass,return ) - -::Enum Type_obj::getEnum( Dynamic o){ - HX_STACK_PUSH("Type::getEnum","/usr/lib/haxe/std/cpp/_std/Type.hx",50); - HX_STACK_ARG(o,"o"); - HX_STACK_LINE(51) - if (((o == null()))){ - HX_STACK_LINE(51) - return null(); - } - HX_STACK_LINE(52) - return o->__GetClass(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getEnum,return ) - -::Class Type_obj::getSuperClass( ::Class c){ - HX_STACK_PUSH("Type::getSuperClass","/usr/lib/haxe/std/cpp/_std/Type.hx",56); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(56) - return c->GetSuper(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getSuperClass,return ) - -::String Type_obj::getClassName( ::Class c){ - HX_STACK_PUSH("Type::getClassName","/usr/lib/haxe/std/cpp/_std/Type.hx",60); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(61) - if (((c == null()))){ - HX_STACK_LINE(62) - return null(); - } - HX_STACK_LINE(63) - return c->mName; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getClassName,return ) - -::String Type_obj::getEnumName( ::Enum e){ - HX_STACK_PUSH("Type::getEnumName","/usr/lib/haxe/std/cpp/_std/Type.hx",66); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(66) - return e->__ToString(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getEnumName,return ) - -::Class Type_obj::resolveClass( ::String name){ - HX_STACK_PUSH("Type::resolveClass","/usr/lib/haxe/std/cpp/_std/Type.hx",70); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(71) - ::Class result = ::Class_obj::Resolve(name); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(72) - if (((bool((result != null())) && bool(result->__IsEnum())))){ - HX_STACK_LINE(73) - return null(); - } - HX_STACK_LINE(74) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,resolveClass,return ) - -::Enum Type_obj::resolveEnum( ::String name){ - HX_STACK_PUSH("Type::resolveEnum","/usr/lib/haxe/std/cpp/_std/Type.hx",77); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(78) - ::Class result = ::Class_obj::Resolve(name); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(79) - if (((bool((result != null())) && bool(!(result->__IsEnum()))))){ - HX_STACK_LINE(80) - return null(); - } - HX_STACK_LINE(81) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,resolveEnum,return ) - -Dynamic Type_obj::createInstance( ::Class cl,Dynamic args){ - HX_STACK_PUSH("Type::createInstance","/usr/lib/haxe/std/cpp/_std/Type.hx",84); - HX_STACK_ARG(cl,"cl"); - HX_STACK_ARG(args,"args"); - HX_STACK_LINE(85) - if (((cl != null()))){ - HX_STACK_LINE(86) - return cl->mConstructArgs(args); - } - HX_STACK_LINE(87) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Type_obj,createInstance,return ) - -Dynamic Type_obj::createEmptyInstance( ::Class cl){ - HX_STACK_PUSH("Type::createEmptyInstance","/usr/lib/haxe/std/cpp/_std/Type.hx",90); - HX_STACK_ARG(cl,"cl"); - HX_STACK_LINE(90) - return cl->mConstructEmpty(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,createEmptyInstance,return ) - -Dynamic Type_obj::createEnum( ::Enum e,::String constr,Dynamic params){ - HX_STACK_PUSH("Type::createEnum","/usr/lib/haxe/std/cpp/_std/Type.hx",94); - HX_STACK_ARG(e,"e"); - HX_STACK_ARG(constr,"constr"); - HX_STACK_ARG(params,"params"); - HX_STACK_LINE(95) - if (((e->mConstructEnum != null()))){ - HX_STACK_LINE(96) - return e->mConstructEnum(constr,params); - } - HX_STACK_LINE(97) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Type_obj,createEnum,return ) - -Dynamic Type_obj::createEnumIndex( ::Enum e,int index,Dynamic params){ - HX_STACK_PUSH("Type::createEnumIndex","/usr/lib/haxe/std/cpp/_std/Type.hx",100); - HX_STACK_ARG(e,"e"); - HX_STACK_ARG(index,"index"); - HX_STACK_ARG(params,"params"); - HX_STACK_LINE(101) - ::String c = ::Type_obj::getEnumConstructs(e)->__get(index); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(102) - if (((c == null()))){ - HX_STACK_LINE(102) - hx::Throw ((index + HX_CSTRING(" is not a valid enum constructor index"))); - } - HX_STACK_LINE(103) - return ::Type_obj::createEnum(e,c,params); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Type_obj,createEnumIndex,return ) - -Array< ::String > Type_obj::getInstanceFields( ::Class c){ - HX_STACK_PUSH("Type::getInstanceFields","/usr/lib/haxe/std/cpp/_std/Type.hx",106); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(106) - return c->GetInstanceFields(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getInstanceFields,return ) - -Array< ::String > Type_obj::getClassFields( ::Class c){ - HX_STACK_PUSH("Type::getClassFields","/usr/lib/haxe/std/cpp/_std/Type.hx",110); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(110) - return c->GetClassFields(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getClassFields,return ) - -Array< ::String > Type_obj::getEnumConstructs( ::Enum e){ - HX_STACK_PUSH("Type::getEnumConstructs","/usr/lib/haxe/std/cpp/_std/Type.hx",114); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(114) - return e->GetClassFields(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getEnumConstructs,return ) - -::ValueType Type_obj::_typeof( Dynamic v){ - HX_STACK_PUSH("Type::typeof","/usr/lib/haxe/std/cpp/_std/Type.hx",118); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(119) - if (((v == null()))){ - HX_STACK_LINE(119) - return ::ValueType_obj::TNull_dyn(); - } - HX_STACK_LINE(120) - int t = v->__GetType(); HX_STACK_VAR(t,"t"); - HX_STACK_LINE(121) - int _switch_2 = (t); - if ( ( _switch_2==::vtBool)){ - HX_STACK_LINE(123) - return ::ValueType_obj::TBool_dyn(); - } - else if ( ( _switch_2==::vtInt)){ - HX_STACK_LINE(124) - return ::ValueType_obj::TInt_dyn(); - } - else if ( ( _switch_2==::vtFloat)){ - HX_STACK_LINE(125) - return ::ValueType_obj::TFloat_dyn(); - } - else if ( ( _switch_2==::vtFunction)){ - HX_STACK_LINE(126) - return ::ValueType_obj::TFunction_dyn(); - } - else if ( ( _switch_2==::vtObject)){ - HX_STACK_LINE(127) - return ::ValueType_obj::TObject_dyn(); - } - else if ( ( _switch_2==::vtEnum)){ - HX_STACK_LINE(128) - return ::ValueType_obj::TEnum(v->__GetClass()); - } - else { - HX_STACK_LINE(129) - return ::ValueType_obj::TClass(v->__GetClass()); - } -; -; - HX_STACK_LINE(121) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,_typeof,return ) - -bool Type_obj::enumEq( Dynamic a,Dynamic b){ - HX_STACK_PUSH("Type::enumEq","/usr/lib/haxe/std/cpp/_std/Type.hx",134); - HX_STACK_ARG(a,"a"); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(134) - return (a == b); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Type_obj,enumEq,return ) - -::String Type_obj::enumConstructor( Dynamic e){ - HX_STACK_PUSH("Type::enumConstructor","/usr/lib/haxe/std/cpp/_std/Type.hx",138); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(138) - return e->__Tag(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,enumConstructor,return ) - -Dynamic Type_obj::enumParameters( Dynamic e){ - HX_STACK_PUSH("Type::enumParameters","/usr/lib/haxe/std/cpp/_std/Type.hx",142); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(143) - Dynamic result = e->__EnumParams(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(144) - return ( (((result == null()))) ? Dynamic(Dynamic( Array_obj::__new())) : Dynamic(result) ); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,enumParameters,return ) - -int Type_obj::enumIndex( Dynamic e){ - HX_STACK_PUSH("Type::enumIndex","/usr/lib/haxe/std/cpp/_std/Type.hx",147); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(147) - return e->__Index(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,enumIndex,return ) - -Dynamic Type_obj::allEnums( ::Enum e){ - HX_STACK_PUSH("Type::allEnums","/usr/lib/haxe/std/cpp/_std/Type.hx",151); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(152) - Array< ::String > names = e->GetClassFields(); HX_STACK_VAR(names,"names"); - HX_STACK_LINE(153) - Dynamic enums = Dynamic( Array_obj::__new() ); HX_STACK_VAR(enums,"enums"); - HX_STACK_LINE(154) - { - HX_STACK_LINE(154) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(154) - while(((_g < names->length))){ - HX_STACK_LINE(154) - ::String name = names->__get(_g); HX_STACK_VAR(name,"name"); - HX_STACK_LINE(154) - ++(_g); - HX_STACK_LINE(156) - try{ - HX_STACK_LINE(157) - Dynamic result = e->mConstructEnum(name,null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(158) - enums->__Field(HX_CSTRING("push"),true)(result); - } - catch(Dynamic __e){ - if (__e.IsClass< ::String >() ){ - ::String invalidArgCount = __e;{ - } - } - else throw(__e); - } - } - } - HX_STACK_LINE(162) - return enums; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,allEnums,return ) - - -Type_obj::Type_obj() -{ -} - -void Type_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Type); - HX_MARK_END_CLASS(); -} - -void Type_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Type_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"typeof") ) { return _typeof_dyn(); } - if (HX_FIELD_EQ(inName,"enumEq") ) { return enumEq_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getEnum") ) { return getEnum_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"getClass") ) { return getClass_dyn(); } - if (HX_FIELD_EQ(inName,"allEnums") ) { return allEnums_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"enumIndex") ) { return enumIndex_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"createEnum") ) { return createEnum_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"getEnumName") ) { return getEnumName_dyn(); } - if (HX_FIELD_EQ(inName,"resolveEnum") ) { return resolveEnum_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"getClassName") ) { return getClassName_dyn(); } - if (HX_FIELD_EQ(inName,"resolveClass") ) { return resolveClass_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"getSuperClass") ) { return getSuperClass_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"createInstance") ) { return createInstance_dyn(); } - if (HX_FIELD_EQ(inName,"getClassFields") ) { return getClassFields_dyn(); } - if (HX_FIELD_EQ(inName,"enumParameters") ) { return enumParameters_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"createEnumIndex") ) { return createEnumIndex_dyn(); } - if (HX_FIELD_EQ(inName,"enumConstructor") ) { return enumConstructor_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"getInstanceFields") ) { return getInstanceFields_dyn(); } - if (HX_FIELD_EQ(inName,"getEnumConstructs") ) { return getEnumConstructs_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"createEmptyInstance") ) { return createEmptyInstance_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Type_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Type_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("getClass"), - HX_CSTRING("getEnum"), - HX_CSTRING("getSuperClass"), - HX_CSTRING("getClassName"), - HX_CSTRING("getEnumName"), - HX_CSTRING("resolveClass"), - HX_CSTRING("resolveEnum"), - HX_CSTRING("createInstance"), - HX_CSTRING("createEmptyInstance"), - HX_CSTRING("createEnum"), - HX_CSTRING("createEnumIndex"), - HX_CSTRING("getInstanceFields"), - HX_CSTRING("getClassFields"), - HX_CSTRING("getEnumConstructs"), - HX_CSTRING("typeof"), - HX_CSTRING("enumEq"), - HX_CSTRING("enumConstructor"), - HX_CSTRING("enumParameters"), - HX_CSTRING("enumIndex"), - HX_CSTRING("allEnums"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Type_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Type_obj::__mClass,"__mClass"); -}; - -Class Type_obj::__mClass; - -void Type_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Type"), hx::TCanCast< Type_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Type_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ValueType.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ValueType.cpp deleted file mode 100644 index e35d9d7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ValueType.cpp +++ /dev/null @@ -1,132 +0,0 @@ -#include - -#ifndef INCLUDED_ValueType -#include -#endif - -::ValueType ValueType_obj::TBool; - -::ValueType ValueType_obj::TClass(::Class c) - { return hx::CreateEnum< ValueType_obj >(HX_CSTRING("TClass"),6,hx::DynamicArray(0,1).Add(c)); } - -::ValueType ValueType_obj::TEnum(::Enum e) - { return hx::CreateEnum< ValueType_obj >(HX_CSTRING("TEnum"),7,hx::DynamicArray(0,1).Add(e)); } - -::ValueType ValueType_obj::TFloat; - -::ValueType ValueType_obj::TFunction; - -::ValueType ValueType_obj::TInt; - -::ValueType ValueType_obj::TNull; - -::ValueType ValueType_obj::TObject; - -::ValueType ValueType_obj::TUnknown; - -HX_DEFINE_CREATE_ENUM(ValueType_obj) - -int ValueType_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("TBool")) return 3; - if (inName==HX_CSTRING("TClass")) return 6; - if (inName==HX_CSTRING("TEnum")) return 7; - if (inName==HX_CSTRING("TFloat")) return 2; - if (inName==HX_CSTRING("TFunction")) return 5; - if (inName==HX_CSTRING("TInt")) return 1; - if (inName==HX_CSTRING("TNull")) return 0; - if (inName==HX_CSTRING("TObject")) return 4; - if (inName==HX_CSTRING("TUnknown")) return 8; - return super::__FindIndex(inName); -} - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ValueType_obj,TClass,return) - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ValueType_obj,TEnum,return) - -int ValueType_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("TBool")) return 0; - if (inName==HX_CSTRING("TClass")) return 1; - if (inName==HX_CSTRING("TEnum")) return 1; - if (inName==HX_CSTRING("TFloat")) return 0; - if (inName==HX_CSTRING("TFunction")) return 0; - if (inName==HX_CSTRING("TInt")) return 0; - if (inName==HX_CSTRING("TNull")) return 0; - if (inName==HX_CSTRING("TObject")) return 0; - if (inName==HX_CSTRING("TUnknown")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic ValueType_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("TBool")) return TBool; - if (inName==HX_CSTRING("TClass")) return TClass_dyn(); - if (inName==HX_CSTRING("TEnum")) return TEnum_dyn(); - if (inName==HX_CSTRING("TFloat")) return TFloat; - if (inName==HX_CSTRING("TFunction")) return TFunction; - if (inName==HX_CSTRING("TInt")) return TInt; - if (inName==HX_CSTRING("TNull")) return TNull; - if (inName==HX_CSTRING("TObject")) return TObject; - if (inName==HX_CSTRING("TUnknown")) return TUnknown; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("TNull"), - HX_CSTRING("TInt"), - HX_CSTRING("TFloat"), - HX_CSTRING("TBool"), - HX_CSTRING("TObject"), - HX_CSTRING("TFunction"), - HX_CSTRING("TClass"), - HX_CSTRING("TEnum"), - HX_CSTRING("TUnknown"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ValueType_obj::TBool,"TBool"); - HX_MARK_MEMBER_NAME(ValueType_obj::TFloat,"TFloat"); - HX_MARK_MEMBER_NAME(ValueType_obj::TFunction,"TFunction"); - HX_MARK_MEMBER_NAME(ValueType_obj::TInt,"TInt"); - HX_MARK_MEMBER_NAME(ValueType_obj::TNull,"TNull"); - HX_MARK_MEMBER_NAME(ValueType_obj::TObject,"TObject"); - HX_MARK_MEMBER_NAME(ValueType_obj::TUnknown,"TUnknown"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ValueType_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TBool,"TBool"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TFloat,"TFloat"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TFunction,"TFunction"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TInt,"TInt"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TNull,"TNull"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TObject,"TObject"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TUnknown,"TUnknown"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class ValueType_obj::__mClass; - -Dynamic __Create_ValueType_obj() { return new ValueType_obj; } - -void ValueType_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("ValueType"), hx::TCanCast< ValueType_obj >,sStaticFields,sMemberFields, - &__Create_ValueType_obj, &__Create, - &super::__SGetClass(), &CreateValueType_obj, sMarkStatics, sVisitStatic); -} - -void ValueType_obj::__boot() -{ -Static(TBool) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TBool"),3); -Static(TFloat) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TFloat"),2); -Static(TFunction) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TFunction"),5); -Static(TInt) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TInt"),1); -Static(TNull) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TNull"),0); -Static(TObject) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TObject"),4); -Static(TUnknown) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TUnknown"),8); -} - - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Xml.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Xml.cpp deleted file mode 100644 index 86d9691..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/Xml.cpp +++ /dev/null @@ -1,1297 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_StringBuf -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_XmlType -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif - -Void Xml_obj::__construct() -{ -HX_STACK_PUSH("Xml::new","/usr/lib/haxe/std/cpp/_std/Xml.hx",45); -{ -} -; - return null(); -} - -Xml_obj::~Xml_obj() { } - -Dynamic Xml_obj::__CreateEmpty() { return new Xml_obj; } -hx::ObjectPtr< Xml_obj > Xml_obj::__new() -{ hx::ObjectPtr< Xml_obj > result = new Xml_obj(); - result->__construct(); - return result;} - -Dynamic Xml_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Xml_obj > result = new Xml_obj(); - result->__construct(); - return result;} - -void Xml_obj::__init__() { -HX_STACK_PUSH("Xml::__init__","/usr/lib/haxe/std/cpp/_std/Xml.hx",407); -{ - HX_STACK_LINE(408) - ::Xml_obj::PCData = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(409) - ::Xml_obj::Element = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(410) - ::Xml_obj::CData = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(411) - ::Xml_obj::Comment = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(412) - ::Xml_obj::DocType = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(413) - ::Xml_obj::Prolog = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(414) - ::Xml_obj::Document = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(415) - ::__hxcpp_enum_force(::Xml_obj::PCData,HX_CSTRING("pcdata"),(int)0); - HX_STACK_LINE(416) - ::__hxcpp_enum_force(::Xml_obj::Element,HX_CSTRING("element"),(int)1); - HX_STACK_LINE(417) - ::__hxcpp_enum_force(::Xml_obj::CData,HX_CSTRING("cdata"),(int)2); - HX_STACK_LINE(418) - ::__hxcpp_enum_force(::Xml_obj::Comment,HX_CSTRING("comment"),(int)3); - HX_STACK_LINE(419) - ::__hxcpp_enum_force(::Xml_obj::DocType,HX_CSTRING("doctype"),(int)4); - HX_STACK_LINE(420) - ::__hxcpp_enum_force(::Xml_obj::Prolog,HX_CSTRING("prolog"),(int)5); - HX_STACK_LINE(421) - ::__hxcpp_enum_force(::Xml_obj::Document,HX_CSTRING("document"),(int)6); -} -} - -Void Xml_obj::toStringRec( ::StringBuf s){ -{ - HX_STACK_PUSH("Xml::toStringRec","/usr/lib/haxe/std/cpp/_std/Xml.hx",358); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(358) - ::XmlType _switch_1 = (this->nodeType); - if ( ( _switch_1==::Xml_obj::Document)){ - HX_STACK_LINE(361) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::Xml > _g1 = this->_children; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(361) - while(((_g < _g1->length))){ - HX_STACK_LINE(361) - ::Xml x = _g1->__get(_g); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(361) - ++(_g); - HX_STACK_LINE(362) - x->toStringRec(s); - } - } - else if ( ( _switch_1==::Xml_obj::Element)){ - HX_STACK_LINE(364) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)60); - HX_STACK_LINE(365) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = this->_nodeName; - HX_STACK_LINE(366) - { - HX_STACK_LINE(366) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::String > _g1 = ::Reflect_obj::fields(this->_attributes); HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(366) - while(((_g < _g1->length))){ - HX_STACK_LINE(366) - ::String k = _g1->__get(_g); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(366) - ++(_g); - HX_STACK_LINE(367) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)32); - HX_STACK_LINE(368) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = k; - HX_STACK_LINE(369) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)61); - HX_STACK_LINE(370) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)34); - HX_STACK_LINE(371) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::Reflect_obj::field(this->_attributes,k); - HX_STACK_LINE(372) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)34); - } - } - HX_STACK_LINE(374) - if (((this->_children->length == (int)0))){ - HX_STACK_LINE(375) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)47); - HX_STACK_LINE(376) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)62); - HX_STACK_LINE(377) - return null(); - } - HX_STACK_LINE(379) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)62); - HX_STACK_LINE(380) - { - HX_STACK_LINE(380) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::Xml > _g1 = this->_children; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(380) - while(((_g < _g1->length))){ - HX_STACK_LINE(380) - ::Xml x = _g1->__get(_g); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(380) - ++(_g); - HX_STACK_LINE(381) - x->toStringRec(s); - } - } - HX_STACK_LINE(382) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)60); - HX_STACK_LINE(383) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)47); - HX_STACK_LINE(384) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = this->_nodeName; - HX_STACK_LINE(385) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)62); - } - else if ( ( _switch_1==::Xml_obj::PCData)){ - HX_STACK_LINE(386) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = this->_nodeValue; - } - else if ( ( _switch_1==::Xml_obj::CData)){ - HX_STACK_LINE(389) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = this->_nodeValue; - HX_STACK_LINE(391) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("]]>"); - } - else if ( ( _switch_1==::Xml_obj::Comment)){ - HX_STACK_LINE(393) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(""); - } - else if ( ( _switch_1==::Xml_obj::DocType)){ - HX_STACK_LINE(397) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = this->_nodeValue; - HX_STACK_LINE(399) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(">"); - } - else if ( ( _switch_1==::Xml_obj::Prolog)){ - HX_STACK_LINE(401) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = this->_nodeValue; - HX_STACK_LINE(403) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("?>"); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,toStringRec,(void)) - -::String Xml_obj::toString( ){ - HX_STACK_PUSH("Xml::toString","/usr/lib/haxe/std/cpp/_std/Xml.hx",352); - HX_STACK_THIS(this); - HX_STACK_LINE(353) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(354) - this->toStringRec(s); - HX_STACK_LINE(355) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,toString,return ) - -Void Xml_obj::insertChild( ::Xml x,int pos){ -{ - HX_STACK_PUSH("Xml::insertChild","/usr/lib/haxe/std/cpp/_std/Xml.hx",343); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(344) - if (((this->_children == null()))){ - HX_STACK_LINE(345) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(346) - if (((x->_parent != null()))){ - HX_STACK_LINE(346) - x->_parent->_children->remove(x); - } - HX_STACK_LINE(347) - x->_parent = hx::ObjectPtr(this); - HX_STACK_LINE(348) - this->_children->insert(pos,x); - HX_STACK_LINE(349) - return null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Xml_obj,insertChild,(void)) - -bool Xml_obj::removeChild( ::Xml x){ - HX_STACK_PUSH("Xml::removeChild","/usr/lib/haxe/std/cpp/_std/Xml.hx",335); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(336) - if (((this->_children == null()))){ - HX_STACK_LINE(337) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(338) - bool b = this->_children->remove(x); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(339) - if ((b)){ - HX_STACK_LINE(339) - x->_parent = null(); - } - HX_STACK_LINE(340) - return b; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,removeChild,return ) - -Void Xml_obj::addChild( ::Xml x){ -{ - HX_STACK_PUSH("Xml::addChild","/usr/lib/haxe/std/cpp/_std/Xml.hx",326); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(327) - if (((this->_children == null()))){ - HX_STACK_LINE(328) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(329) - if (((x->_parent != null()))){ - HX_STACK_LINE(329) - x->_parent->_children->remove(x); - } - HX_STACK_LINE(330) - x->_parent = hx::ObjectPtr(this); - HX_STACK_LINE(331) - this->_children->push(x); - HX_STACK_LINE(332) - return null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,addChild,(void)) - -::Xml Xml_obj::firstElement( ){ - HX_STACK_PUSH("Xml::firstElement","/usr/lib/haxe/std/cpp/_std/Xml.hx",315); - HX_STACK_THIS(this); - HX_STACK_LINE(316) - if (((this->_children == null()))){ - HX_STACK_LINE(317) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(318) - { - HX_STACK_LINE(318) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->_children->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(318) - while(((_g1 < _g))){ - HX_STACK_LINE(318) - int cur = (_g1)++; HX_STACK_VAR(cur,"cur"); - HX_STACK_LINE(319) - ::Xml n = this->_children->__get(cur); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(320) - if (((n->nodeType == ::Xml_obj::Element))){ - HX_STACK_LINE(321) - return n; - } - } - } - HX_STACK_LINE(323) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,firstElement,return ) - -::Xml Xml_obj::firstChild( ){ - HX_STACK_PUSH("Xml::firstChild","/usr/lib/haxe/std/cpp/_std/Xml.hx",309); - HX_STACK_THIS(this); - HX_STACK_LINE(310) - if (((this->_children == null()))){ - HX_STACK_LINE(311) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(312) - return this->_children->__get((int)0); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,firstChild,return ) - -Dynamic Xml_obj::elementsNamed( ::String name){ - HX_STACK_PUSH("Xml::elementsNamed","/usr/lib/haxe/std/cpp/_std/Xml.hx",275); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(275) - Array< ::String > name1 = Array_obj< ::String >::__new().Add(name); HX_STACK_VAR(name1,"name1"); - HX_STACK_LINE(276) - if (((this->_children == null()))){ - HX_STACK_LINE(277) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(278) - Array< Array< ::Xml > > children = Array_obj< Array< ::Xml > >::__new().Add(this->_children); HX_STACK_VAR(children,"children"); - struct _Function_1_1{ - inline static Dynamic Block( Array< Array< ::Xml > > &children,Array< ::String > &name1){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Xml.hx",279); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("cur") , (int)0,false); - - HX_BEGIN_LOCAL_FUNC_S2(hx::LocalThisFunc,_Function_2_1,Array< Array< ::Xml > >,children,Array< ::String >,name1) - bool run(){ - HX_STACK_PUSH("*::_Function_2_1","/usr/lib/haxe/std/cpp/_std/Xml.hx",281); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(282) - int k = __this->__Field(HX_CSTRING("cur"),true); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(283) - int l = children->__get((int)0)->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(284) - while(((k < l))){ - HX_STACK_LINE(285) - ::Xml n = children->__get((int)0)->__get(k); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(286) - if (((bool((n->nodeType == ::Xml_obj::Element)) && bool((n->_nodeName == name1->__get((int)0)))))){ - HX_STACK_LINE(287) - break; - } - HX_STACK_LINE(288) - (k)++; - } - HX_STACK_LINE(290) - __this->__FieldRef(HX_CSTRING("cur")) = k; - HX_STACK_LINE(291) - return (k < l); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("hasNext") , Dynamic(new _Function_2_1(children,name1)),true); - - HX_BEGIN_LOCAL_FUNC_S2(hx::LocalThisFunc,_Function_2_2,Array< Array< ::Xml > >,children,Array< ::String >,name1) - ::Xml run(){ - HX_STACK_PUSH("*::_Function_2_2","/usr/lib/haxe/std/cpp/_std/Xml.hx",293); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(294) - int k = __this->__Field(HX_CSTRING("cur"),true); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(295) - int l = children->__get((int)0)->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(296) - while(((k < l))){ - HX_STACK_LINE(297) - ::Xml n = children->__get((int)0)->__get(k); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(298) - (k)++; - HX_STACK_LINE(299) - if (((bool((n->nodeType == ::Xml_obj::Element)) && bool((n->_nodeName == name1->__get((int)0)))))){ - HX_STACK_LINE(300) - __this->__FieldRef(HX_CSTRING("cur")) = k; - HX_STACK_LINE(301) - return n; - } - } - HX_STACK_LINE(304) - return null(); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("next") , Dynamic(new _Function_2_2(children,name1)),true); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(279) - return _Function_1_1::Block(children,name1); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,elementsNamed,return ) - -Dynamic Xml_obj::elements( ){ - HX_STACK_PUSH("Xml::elements","/usr/lib/haxe/std/cpp/_std/Xml.hx",242); - HX_STACK_THIS(this); - HX_STACK_LINE(243) - if (((this->_children == null()))){ - HX_STACK_LINE(244) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(245) - Array< Array< ::Xml > > children = Array_obj< Array< ::Xml > >::__new().Add(this->_children); HX_STACK_VAR(children,"children"); - struct _Function_1_1{ - inline static Dynamic Block( Array< Array< ::Xml > > &children){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Xml.hx",246); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("cur") , (int)0,false); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalThisFunc,_Function_2_1,Array< Array< ::Xml > >,children) - bool run(){ - HX_STACK_PUSH("*::_Function_2_1","/usr/lib/haxe/std/cpp/_std/Xml.hx",248); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(249) - int k = __this->__Field(HX_CSTRING("cur"),true); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(250) - int l = children->__get((int)0)->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(251) - while(((k < l))){ - HX_STACK_LINE(252) - if (((children->__get((int)0)->__get(k)->nodeType == ::Xml_obj::Element))){ - HX_STACK_LINE(253) - break; - } - HX_STACK_LINE(254) - hx::AddEq(k,(int)1); - } - HX_STACK_LINE(256) - __this->__FieldRef(HX_CSTRING("cur")) = k; - HX_STACK_LINE(257) - return (k < l); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("hasNext") , Dynamic(new _Function_2_1(children)),true); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalThisFunc,_Function_2_2,Array< Array< ::Xml > >,children) - ::Xml run(){ - HX_STACK_PUSH("*::_Function_2_2","/usr/lib/haxe/std/cpp/_std/Xml.hx",259); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(260) - int k = __this->__Field(HX_CSTRING("cur"),true); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(261) - int l = children->__get((int)0)->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(262) - while(((k < l))){ - HX_STACK_LINE(263) - ::Xml n = children->__get((int)0)->__get(k); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(264) - hx::AddEq(k,(int)1); - HX_STACK_LINE(265) - if (((n->nodeType == ::Xml_obj::Element))){ - HX_STACK_LINE(266) - __this->__FieldRef(HX_CSTRING("cur")) = k; - HX_STACK_LINE(267) - return n; - } - } - HX_STACK_LINE(270) - return null(); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("next") , Dynamic(new _Function_2_2(children)),true); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(246) - return _Function_1_1::Block(children); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,elements,return ) - -Dynamic Xml_obj::iterator( ){ - HX_STACK_PUSH("Xml::iterator","/usr/lib/haxe/std/cpp/_std/Xml.hx",235); - HX_STACK_THIS(this); - HX_STACK_LINE(236) - if (((this->_children == null()))){ - HX_STACK_LINE(237) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(238) - return this->_children->iterator(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,iterator,return ) - -Dynamic Xml_obj::attributes( ){ - HX_STACK_PUSH("Xml::attributes","/usr/lib/haxe/std/cpp/_std/Xml.hx",229); - HX_STACK_THIS(this); - HX_STACK_LINE(230) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(231) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(232) - return ::Reflect_obj::fields(this->_attributes)->iterator(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,attributes,return ) - -bool Xml_obj::exists( ::String att){ - HX_STACK_PUSH("Xml::exists","/usr/lib/haxe/std/cpp/_std/Xml.hx",223); - HX_STACK_THIS(this); - HX_STACK_ARG(att,"att"); - HX_STACK_LINE(224) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(225) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(226) - return ::Reflect_obj::hasField(this->_attributes,att); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,exists,return ) - -Void Xml_obj::remove( ::String att){ -{ - HX_STACK_PUSH("Xml::remove","/usr/lib/haxe/std/cpp/_std/Xml.hx",216); - HX_STACK_THIS(this); - HX_STACK_ARG(att,"att"); - HX_STACK_LINE(217) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(218) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(219) - ::Reflect_obj::deleteField(this->_attributes,att); - HX_STACK_LINE(220) - return null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,remove,(void)) - -Void Xml_obj::set( ::String att,::String value){ -{ - HX_STACK_PUSH("Xml::set","/usr/lib/haxe/std/cpp/_std/Xml.hx",207); - HX_STACK_THIS(this); - HX_STACK_ARG(att,"att"); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(208) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(209) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(210) - if (((this->_attributes == null()))){ - struct _Function_2_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Xml.hx",211); - { - hx::Anon __result = hx::Anon_obj::Create(); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(211) - this->_attributes = _Function_2_1::Block(); - } - HX_STACK_LINE(212) - { - HX_STACK_LINE(212) - Dynamic o = this->_attributes; HX_STACK_VAR(o,"o"); - HX_STACK_LINE(212) - if (((o != null()))){ - HX_STACK_LINE(212) - o->__SetField(att,value,false); - } - } - HX_STACK_LINE(213) - return null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Xml_obj,set,(void)) - -::String Xml_obj::get( ::String att){ - HX_STACK_PUSH("Xml::get","/usr/lib/haxe/std/cpp/_std/Xml.hx",201); - HX_STACK_THIS(this); - HX_STACK_ARG(att,"att"); - HX_STACK_LINE(202) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(203) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(204) - return ::Reflect_obj::field(this->_attributes,att); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,get,return ) - -::Xml Xml_obj::getParent( ){ - HX_STACK_PUSH("Xml::getParent","/usr/lib/haxe/std/cpp/_std/Xml.hx",197); - HX_STACK_THIS(this); - HX_STACK_LINE(197) - return this->_parent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,getParent,return ) - -::String Xml_obj::setNodeValue( ::String v){ - HX_STACK_PUSH("Xml::setNodeValue","/usr/lib/haxe/std/cpp/_std/Xml.hx",190); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(191) - if (((bool((this->nodeType == ::Xml_obj::Element)) || bool((this->nodeType == ::Xml_obj::Document))))){ - HX_STACK_LINE(192) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(193) - return this->_nodeValue = v; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,setNodeValue,return ) - -::String Xml_obj::getNodeValue( ){ - HX_STACK_PUSH("Xml::getNodeValue","/usr/lib/haxe/std/cpp/_std/Xml.hx",184); - HX_STACK_THIS(this); - HX_STACK_LINE(185) - if (((bool((this->nodeType == ::Xml_obj::Element)) || bool((this->nodeType == ::Xml_obj::Document))))){ - HX_STACK_LINE(186) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(187) - return this->_nodeValue; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,getNodeValue,return ) - -::String Xml_obj::setNodeName( ::String n){ - HX_STACK_PUSH("Xml::setNodeName","/usr/lib/haxe/std/cpp/_std/Xml.hx",178); - HX_STACK_THIS(this); - HX_STACK_ARG(n,"n"); - HX_STACK_LINE(179) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(180) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(181) - return this->_nodeName = n; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,setNodeName,return ) - -::String Xml_obj::getNodeName( ){ - HX_STACK_PUSH("Xml::getNodeName","/usr/lib/haxe/std/cpp/_std/Xml.hx",172); - HX_STACK_THIS(this); - HX_STACK_LINE(173) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(174) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(175) - return this->_nodeName; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,getNodeName,return ) - -::XmlType Xml_obj::Element; - -::XmlType Xml_obj::PCData; - -::XmlType Xml_obj::CData; - -::XmlType Xml_obj::Comment; - -::XmlType Xml_obj::DocType; - -::XmlType Xml_obj::Prolog; - -::XmlType Xml_obj::Document; - -Dynamic Xml_obj::_parse; - -::Xml Xml_obj::parse( ::String str){ - HX_STACK_PUSH("Xml::parse","/usr/lib/haxe/std/cpp/_std/Xml.hx",50); - HX_STACK_ARG(str,"str"); - HX_STACK_LINE(51) - ::Xml x = ::Xml_obj::__new(); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(52) - x->_children = Array_obj< ::Xml >::__new(); - struct _Function_1_1{ - inline static Dynamic Block( ::Xml &x){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Xml.hx",53); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("cur") , x,false); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_1) - Void run(::String name,Dynamic att){ - HX_STACK_PUSH("*::_Function_2_1","/usr/lib/haxe/std/cpp/_std/Xml.hx",55); - HX_STACK_THIS(__this.mPtr); - HX_STACK_ARG(name,"name"); - HX_STACK_ARG(att,"att"); - { - HX_STACK_LINE(56) - ::Xml x1 = ::Xml_obj::__new(); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(57) - x1->_parent = __this->__Field(HX_CSTRING("cur"),true); - HX_STACK_LINE(58) - x1->nodeType = ::Xml_obj::Element; - HX_STACK_LINE(59) - x1->_nodeName = ::String(name); - HX_STACK_LINE(60) - x1->_attributes = att; - HX_STACK_LINE(61) - x1->_children = Array_obj< ::Xml >::__new(); - HX_STACK_LINE(62) - { - HX_STACK_LINE(63) - int i = (int)0; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(64) - __this->__Field(HX_CSTRING("cur"),true)->__Field(HX_CSTRING("addChild"),true)(x1); - HX_STACK_LINE(65) - __this->__FieldRef(HX_CSTRING("cur")) = x1; - } - } - return null(); - } - HX_END_LOCAL_FUNC2((void)) - - __result->Add(HX_CSTRING("xml") , Dynamic(new _Function_2_1()),true); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_2) - Void run(::String text){ - HX_STACK_PUSH("*::_Function_2_2","/usr/lib/haxe/std/cpp/_std/Xml.hx",68); - HX_STACK_THIS(__this.mPtr); - HX_STACK_ARG(text,"text"); - { - HX_STACK_LINE(69) - ::Xml x1 = ::Xml_obj::__new(); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(70) - x1->_parent = __this->__Field(HX_CSTRING("cur"),true); - HX_STACK_LINE(71) - x1->nodeType = ::Xml_obj::CData; - HX_STACK_LINE(72) - x1->_nodeValue = ::String(text); - HX_STACK_LINE(73) - __this->__Field(HX_CSTRING("cur"),true)->__Field(HX_CSTRING("addChild"),true)(x1); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - __result->Add(HX_CSTRING("cdata") , Dynamic(new _Function_2_2()),true); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_3) - Void run(::String text){ - HX_STACK_PUSH("*::_Function_2_3","/usr/lib/haxe/std/cpp/_std/Xml.hx",75); - HX_STACK_THIS(__this.mPtr); - HX_STACK_ARG(text,"text"); - { - HX_STACK_LINE(76) - ::Xml x1 = ::Xml_obj::__new(); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(77) - x1->_parent = __this->__Field(HX_CSTRING("cur"),true); - HX_STACK_LINE(78) - x1->nodeType = ::Xml_obj::PCData; - HX_STACK_LINE(79) - x1->_nodeValue = ::String(text); - HX_STACK_LINE(80) - __this->__Field(HX_CSTRING("cur"),true)->__Field(HX_CSTRING("addChild"),true)(x1); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - __result->Add(HX_CSTRING("pcdata") , Dynamic(new _Function_2_3()),true); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_4) - Void run(::String text){ - HX_STACK_PUSH("*::_Function_2_4","/usr/lib/haxe/std/cpp/_std/Xml.hx",82); - HX_STACK_THIS(__this.mPtr); - HX_STACK_ARG(text,"text"); - { - HX_STACK_LINE(83) - ::Xml x1 = ::Xml_obj::__new(); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(84) - x1->_parent = __this->__Field(HX_CSTRING("cur"),true); - HX_STACK_LINE(85) - if (((text.cca((int)0) == (int)63))){ - HX_STACK_LINE(86) - x1->nodeType = ::Xml_obj::Prolog; - HX_STACK_LINE(87) - text = ::String(text); - HX_STACK_LINE(88) - text = text.substr((int)1,(text.length - (int)2)); - } - else{ - HX_STACK_LINE(90) - x1->nodeType = ::Xml_obj::Comment; - HX_STACK_LINE(91) - text = ::String(text); - } - HX_STACK_LINE(93) - x1->_nodeValue = text; - HX_STACK_LINE(94) - __this->__Field(HX_CSTRING("cur"),true)->__Field(HX_CSTRING("addChild"),true)(x1); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - __result->Add(HX_CSTRING("comment") , Dynamic(new _Function_2_4()),true); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_5) - Void run(::String text){ - HX_STACK_PUSH("*::_Function_2_5","/usr/lib/haxe/std/cpp/_std/Xml.hx",96); - HX_STACK_THIS(__this.mPtr); - HX_STACK_ARG(text,"text"); - { - HX_STACK_LINE(97) - ::Xml x1 = ::Xml_obj::__new(); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(98) - x1->_parent = __this->__Field(HX_CSTRING("cur"),true); - HX_STACK_LINE(99) - x1->nodeType = ::Xml_obj::DocType; - HX_STACK_LINE(100) - x1->_nodeValue = ::String(text).substr((int)1,null()); - HX_STACK_LINE(101) - ::Xml p = __this->__Field(HX_CSTRING("cur"),true); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(102) - p->addChild(x1); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - __result->Add(HX_CSTRING("doctype") , Dynamic(new _Function_2_5()),true); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_6) - Void run(){ - HX_STACK_PUSH("*::_Function_2_6","/usr/lib/haxe/std/cpp/_std/Xml.hx",104); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(104) - __this->__FieldRef(HX_CSTRING("cur")) = __this->__Field(HX_CSTRING("cur"),true)->__Field(HX_CSTRING("_parent"),true); - } - return null(); - } - HX_END_LOCAL_FUNC0((void)) - - __result->Add(HX_CSTRING("done") , Dynamic(new _Function_2_6()),true); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(53) - Dynamic parser = _Function_1_1::Block(x); HX_STACK_VAR(parser,"parser"); - HX_STACK_LINE(108) - ::Xml_obj::_parse(str,parser); - HX_STACK_LINE(109) - x->nodeType = ::Xml_obj::Document; - HX_STACK_LINE(110) - return x; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,parse,return ) - -::Xml Xml_obj::createElement( ::String name){ - HX_STACK_PUSH("Xml::createElement","/usr/lib/haxe/std/cpp/_std/Xml.hx",114); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(115) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(116) - r->nodeType = ::Xml_obj::Element; - HX_STACK_LINE(117) - r->_nodeName = name; - HX_STACK_LINE(118) - r->_attributes = null(); - HX_STACK_LINE(119) - r->_children = Array_obj< ::Xml >::__new(); - HX_STACK_LINE(120) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,createElement,return ) - -::Xml Xml_obj::createPCData( ::String data){ - HX_STACK_PUSH("Xml::createPCData","/usr/lib/haxe/std/cpp/_std/Xml.hx",123); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(124) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(125) - r->nodeType = ::Xml_obj::PCData; - HX_STACK_LINE(126) - r->_nodeValue = data; - HX_STACK_LINE(127) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,createPCData,return ) - -::Xml Xml_obj::createCData( ::String data){ - HX_STACK_PUSH("Xml::createCData","/usr/lib/haxe/std/cpp/_std/Xml.hx",130); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(131) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(132) - r->nodeType = ::Xml_obj::CData; - HX_STACK_LINE(133) - r->_nodeValue = data; - HX_STACK_LINE(134) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,createCData,return ) - -::Xml Xml_obj::createComment( ::String data){ - HX_STACK_PUSH("Xml::createComment","/usr/lib/haxe/std/cpp/_std/Xml.hx",137); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(138) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(139) - r->nodeType = ::Xml_obj::Comment; - HX_STACK_LINE(140) - r->_nodeValue = data; - HX_STACK_LINE(141) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,createComment,return ) - -::Xml Xml_obj::createDocType( ::String data){ - HX_STACK_PUSH("Xml::createDocType","/usr/lib/haxe/std/cpp/_std/Xml.hx",144); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(145) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(146) - r->nodeType = ::Xml_obj::DocType; - HX_STACK_LINE(147) - r->_nodeValue = data; - HX_STACK_LINE(148) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,createDocType,return ) - -::Xml Xml_obj::createProlog( ::String data){ - HX_STACK_PUSH("Xml::createProlog","/usr/lib/haxe/std/cpp/_std/Xml.hx",151); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(152) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(153) - r->nodeType = ::Xml_obj::Prolog; - HX_STACK_LINE(154) - r->_nodeValue = data; - HX_STACK_LINE(155) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,createProlog,return ) - -::Xml Xml_obj::createDocument( ){ - HX_STACK_PUSH("Xml::createDocument","/usr/lib/haxe/std/cpp/_std/Xml.hx",158); - HX_STACK_LINE(159) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(160) - r->nodeType = ::Xml_obj::Document; - HX_STACK_LINE(161) - r->_children = Array_obj< ::Xml >::__new(); - HX_STACK_LINE(162) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,createDocument,return ) - - -Xml_obj::Xml_obj() -{ -} - -void Xml_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Xml); - HX_MARK_MEMBER_NAME(parent,"parent"); - HX_MARK_MEMBER_NAME(nodeValue,"nodeValue"); - HX_MARK_MEMBER_NAME(nodeName,"nodeName"); - HX_MARK_MEMBER_NAME(nodeType,"nodeType"); - HX_MARK_MEMBER_NAME(_parent,"_parent"); - HX_MARK_MEMBER_NAME(_children,"_children"); - HX_MARK_MEMBER_NAME(_attributes,"_attributes"); - HX_MARK_MEMBER_NAME(_nodeValue,"_nodeValue"); - HX_MARK_MEMBER_NAME(_nodeName,"_nodeName"); - HX_MARK_END_CLASS(); -} - -void Xml_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(parent,"parent"); - HX_VISIT_MEMBER_NAME(nodeValue,"nodeValue"); - HX_VISIT_MEMBER_NAME(nodeName,"nodeName"); - HX_VISIT_MEMBER_NAME(nodeType,"nodeType"); - HX_VISIT_MEMBER_NAME(_parent,"_parent"); - HX_VISIT_MEMBER_NAME(_children,"_children"); - HX_VISIT_MEMBER_NAME(_attributes,"_attributes"); - HX_VISIT_MEMBER_NAME(_nodeValue,"_nodeValue"); - HX_VISIT_MEMBER_NAME(_nodeName,"_nodeName"); -} - -Dynamic Xml_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"set") ) { return set_dyn(); } - if (HX_FIELD_EQ(inName,"get") ) { return get_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"CData") ) { return CData; } - if (HX_FIELD_EQ(inName,"parse") ) { return parse_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"PCData") ) { return PCData; } - if (HX_FIELD_EQ(inName,"Prolog") ) { return Prolog; } - if (HX_FIELD_EQ(inName,"_parse") ) { return _parse; } - if (HX_FIELD_EQ(inName,"exists") ) { return exists_dyn(); } - if (HX_FIELD_EQ(inName,"remove") ) { return remove_dyn(); } - if (HX_FIELD_EQ(inName,"parent") ) { return inCallProp ? getParent() : parent; } - break; - case 7: - if (HX_FIELD_EQ(inName,"Element") ) { return Element; } - if (HX_FIELD_EQ(inName,"Comment") ) { return Comment; } - if (HX_FIELD_EQ(inName,"DocType") ) { return DocType; } - if (HX_FIELD_EQ(inName,"_parent") ) { return _parent; } - break; - case 8: - if (HX_FIELD_EQ(inName,"Document") ) { return Document; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"addChild") ) { return addChild_dyn(); } - if (HX_FIELD_EQ(inName,"elements") ) { return elements_dyn(); } - if (HX_FIELD_EQ(inName,"iterator") ) { return iterator_dyn(); } - if (HX_FIELD_EQ(inName,"nodeName") ) { return inCallProp ? getNodeName() : nodeName; } - if (HX_FIELD_EQ(inName,"nodeType") ) { return nodeType; } - break; - case 9: - if (HX_FIELD_EQ(inName,"getParent") ) { return getParent_dyn(); } - if (HX_FIELD_EQ(inName,"nodeValue") ) { return inCallProp ? getNodeValue() : nodeValue; } - if (HX_FIELD_EQ(inName,"_children") ) { return _children; } - if (HX_FIELD_EQ(inName,"_nodeName") ) { return _nodeName; } - break; - case 10: - if (HX_FIELD_EQ(inName,"firstChild") ) { return firstChild_dyn(); } - if (HX_FIELD_EQ(inName,"attributes") ) { return attributes_dyn(); } - if (HX_FIELD_EQ(inName,"_nodeValue") ) { return _nodeValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"createCData") ) { return createCData_dyn(); } - if (HX_FIELD_EQ(inName,"toStringRec") ) { return toStringRec_dyn(); } - if (HX_FIELD_EQ(inName,"insertChild") ) { return insertChild_dyn(); } - if (HX_FIELD_EQ(inName,"removeChild") ) { return removeChild_dyn(); } - if (HX_FIELD_EQ(inName,"setNodeName") ) { return setNodeName_dyn(); } - if (HX_FIELD_EQ(inName,"getNodeName") ) { return getNodeName_dyn(); } - if (HX_FIELD_EQ(inName,"_attributes") ) { return _attributes; } - break; - case 12: - if (HX_FIELD_EQ(inName,"createPCData") ) { return createPCData_dyn(); } - if (HX_FIELD_EQ(inName,"createProlog") ) { return createProlog_dyn(); } - if (HX_FIELD_EQ(inName,"firstElement") ) { return firstElement_dyn(); } - if (HX_FIELD_EQ(inName,"setNodeValue") ) { return setNodeValue_dyn(); } - if (HX_FIELD_EQ(inName,"getNodeValue") ) { return getNodeValue_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"createElement") ) { return createElement_dyn(); } - if (HX_FIELD_EQ(inName,"createComment") ) { return createComment_dyn(); } - if (HX_FIELD_EQ(inName,"createDocType") ) { return createDocType_dyn(); } - if (HX_FIELD_EQ(inName,"elementsNamed") ) { return elementsNamed_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"createDocument") ) { return createDocument_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Xml_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"CData") ) { CData=inValue.Cast< ::XmlType >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"PCData") ) { PCData=inValue.Cast< ::XmlType >(); return inValue; } - if (HX_FIELD_EQ(inName,"Prolog") ) { Prolog=inValue.Cast< ::XmlType >(); return inValue; } - if (HX_FIELD_EQ(inName,"_parse") ) { _parse=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"parent") ) { parent=inValue.Cast< ::Xml >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"Element") ) { Element=inValue.Cast< ::XmlType >(); return inValue; } - if (HX_FIELD_EQ(inName,"Comment") ) { Comment=inValue.Cast< ::XmlType >(); return inValue; } - if (HX_FIELD_EQ(inName,"DocType") ) { DocType=inValue.Cast< ::XmlType >(); return inValue; } - if (HX_FIELD_EQ(inName,"_parent") ) { _parent=inValue.Cast< ::Xml >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"Document") ) { Document=inValue.Cast< ::XmlType >(); return inValue; } - if (HX_FIELD_EQ(inName,"nodeName") ) { if (inCallProp) return setNodeName(inValue);nodeName=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"nodeType") ) { nodeType=inValue.Cast< ::XmlType >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nodeValue") ) { if (inCallProp) return setNodeValue(inValue);nodeValue=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_children") ) { _children=inValue.Cast< Array< ::Xml > >(); return inValue; } - if (HX_FIELD_EQ(inName,"_nodeName") ) { _nodeName=inValue.Cast< ::String >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"_nodeValue") ) { _nodeValue=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"_attributes") ) { _attributes=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Xml_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("parent")); - outFields->push(HX_CSTRING("nodeValue")); - outFields->push(HX_CSTRING("nodeName")); - outFields->push(HX_CSTRING("nodeType")); - outFields->push(HX_CSTRING("_parent")); - outFields->push(HX_CSTRING("_children")); - outFields->push(HX_CSTRING("_attributes")); - outFields->push(HX_CSTRING("_nodeValue")); - outFields->push(HX_CSTRING("_nodeName")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("Element"), - HX_CSTRING("PCData"), - HX_CSTRING("CData"), - HX_CSTRING("Comment"), - HX_CSTRING("DocType"), - HX_CSTRING("Prolog"), - HX_CSTRING("Document"), - HX_CSTRING("_parse"), - HX_CSTRING("parse"), - HX_CSTRING("createElement"), - HX_CSTRING("createPCData"), - HX_CSTRING("createCData"), - HX_CSTRING("createComment"), - HX_CSTRING("createDocType"), - HX_CSTRING("createProlog"), - HX_CSTRING("createDocument"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toStringRec"), - HX_CSTRING("toString"), - HX_CSTRING("insertChild"), - HX_CSTRING("removeChild"), - HX_CSTRING("addChild"), - HX_CSTRING("firstElement"), - HX_CSTRING("firstChild"), - HX_CSTRING("elementsNamed"), - HX_CSTRING("elements"), - HX_CSTRING("iterator"), - HX_CSTRING("attributes"), - HX_CSTRING("exists"), - HX_CSTRING("remove"), - HX_CSTRING("set"), - HX_CSTRING("get"), - HX_CSTRING("getParent"), - HX_CSTRING("parent"), - HX_CSTRING("setNodeValue"), - HX_CSTRING("getNodeValue"), - HX_CSTRING("setNodeName"), - HX_CSTRING("getNodeName"), - HX_CSTRING("nodeValue"), - HX_CSTRING("nodeName"), - HX_CSTRING("nodeType"), - HX_CSTRING("_parent"), - HX_CSTRING("_children"), - HX_CSTRING("_attributes"), - HX_CSTRING("_nodeValue"), - HX_CSTRING("_nodeName"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Xml_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Xml_obj::Element,"Element"); - HX_MARK_MEMBER_NAME(Xml_obj::PCData,"PCData"); - HX_MARK_MEMBER_NAME(Xml_obj::CData,"CData"); - HX_MARK_MEMBER_NAME(Xml_obj::Comment,"Comment"); - HX_MARK_MEMBER_NAME(Xml_obj::DocType,"DocType"); - HX_MARK_MEMBER_NAME(Xml_obj::Prolog,"Prolog"); - HX_MARK_MEMBER_NAME(Xml_obj::Document,"Document"); - HX_MARK_MEMBER_NAME(Xml_obj::_parse,"_parse"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Xml_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Xml_obj::Element,"Element"); - HX_VISIT_MEMBER_NAME(Xml_obj::PCData,"PCData"); - HX_VISIT_MEMBER_NAME(Xml_obj::CData,"CData"); - HX_VISIT_MEMBER_NAME(Xml_obj::Comment,"Comment"); - HX_VISIT_MEMBER_NAME(Xml_obj::DocType,"DocType"); - HX_VISIT_MEMBER_NAME(Xml_obj::Prolog,"Prolog"); - HX_VISIT_MEMBER_NAME(Xml_obj::Document,"Document"); - HX_VISIT_MEMBER_NAME(Xml_obj::_parse,"_parse"); -}; - -Class Xml_obj::__mClass; - -void Xml_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Xml"), hx::TCanCast< Xml_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Xml_obj::__boot() -{ - _parse= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("parse_xml"),(int)2); -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/XmlType.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/XmlType.cpp deleted file mode 100644 index 8b1d870..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/XmlType.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include - -#ifndef INCLUDED_XmlType -#include -#endif - -HX_DEFINE_CREATE_ENUM(XmlType_obj) - -int XmlType_obj::__FindIndex(::String inName) -{ - return super::__FindIndex(inName); -} - -int XmlType_obj::__FindArgCount(::String inName) -{ - return super::__FindArgCount(inName); -} - -Dynamic XmlType_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(XmlType_obj::__mClass,"__mClass"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class XmlType_obj::__mClass; - -Dynamic __Create_XmlType_obj() { return new XmlType_obj; } - -void XmlType_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("XmlType"), hx::TCanCast< XmlType_obj >,sStaticFields,sMemberFields, - &__Create_XmlType_obj, &__Create, - &super::__SGetClass(), &CreateXmlType_obj, sMarkStatics, sVisitStatic); -} - -void XmlType_obj::__boot() -{ -} - - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/__boot__.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/__boot__.cpp deleted file mode 100644 index 0d05c01..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/__boot__.cpp +++ /dev/null @@ -1,715 +0,0 @@ -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void __boot_all() -{ -hx::RegisterResources( hx::GetResources() ); -::sys::io::Process_obj::__register(); -::sys::io::_Process::Stdout_obj::__register(); -::sys::io::_Process::Stdin_obj::__register(); -::sys::io::FileSeek_obj::__register(); -::sys::io::FileOutput_obj::__register(); -::sys::io::FileInput_obj::__register(); -::sys::io::File_obj::__register(); -::sys::FileSystem_obj::__register(); -::sys::_FileSystem::FileKind_obj::__register(); -::pages::Psvg_obj::__register(); -::org::puremvc::haxe::patterns::observer::Observer_obj::__register(); -::org::puremvc::haxe::patterns::observer::Notification_obj::__register(); -::org::puremvc::haxe::interfaces::IObserver_obj::__register(); -::org::puremvc::haxe::interfaces::INotification_obj::__register(); -::org::puremvc::haxe::core::View_obj::__register(); -::org::puremvc::haxe::interfaces::IView_obj::__register(); -::org::puremvc::haxe::core::Model_obj::__register(); -::org::puremvc::haxe::interfaces::IModel_obj::__register(); -::org::puremvc::haxe::core::Controller_obj::__register(); -::org::puremvc::haxe::interfaces::IController_obj::__register(); -::nme::installer::Assets_obj::__register(); -::nme::VectorHelper_obj::__register(); -::nme::Lib_obj::__register(); -::native::utils::WeakRef_obj::__register(); -::native::utils::Float32Array_obj::__register(); -::native::utils::Endian_obj::__register(); -::native::utils::CompressionAlgorithm_obj::__register(); -::native::utils::ByteArray_obj::__register(); -::native::utils::IDataInput_obj::__register(); -::native::utils::ArrayBufferView_obj::__register(); -::native::utils::IMemoryRange_obj::__register(); -::native::text::FontType_obj::__register(); -::native::text::FontStyle_obj::__register(); -::native::text::Font_obj::__register(); -::native::net::URLVariables_obj::__register(); -::native::net::URLRequestMethod_obj::__register(); -::native::net::URLRequestHeader_obj::__register(); -::native::net::URLRequest_obj::__register(); -::native::net::URLLoaderDataFormat_obj::__register(); -::native::net::URLLoader_obj::__register(); -::native::media::SoundTransform_obj::__register(); -::native::media::SoundLoaderContext_obj::__register(); -::native::media::SoundChannel_obj::__register(); -::native::media::Sound_obj::__register(); -::native::media::ID3Info_obj::__register(); -::native::gl::Texture_obj::__register(); -::native::gl::Shader_obj::__register(); -::native::gl::Renderbuffer_obj::__register(); -::native::gl::Program_obj::__register(); -::native::gl::Framebuffer_obj::__register(); -::native::gl::Buffer_obj::__register(); -::native::gl::Object_obj::__register(); -::native::gl::GL_obj::__register(); -::native::geom::Vector3D_obj::__register(); -::native::geom::Transform_obj::__register(); -::native::geom::Rectangle_obj::__register(); -::native::geom::Point_obj::__register(); -::native::geom::Matrix3D_obj::__register(); -::native::geom::Matrix_obj::__register(); -::native::geom::ColorTransform_obj::__register(); -::native::filters::BitmapFilter_obj::__register(); -::native::events::SampleDataEvent_obj::__register(); -::native::events::ProgressEvent_obj::__register(); -::native::events::KeyboardEvent_obj::__register(); -::native::events::JoystickEvent_obj::__register(); -::native::events::IOErrorEvent_obj::__register(); -::native::events::HTTPStatusEvent_obj::__register(); -::native::events::FocusEvent_obj::__register(); -::native::events::EventPhase_obj::__register(); -::native::events::Listener_obj::__register(); -::native::events::ErrorEvent_obj::__register(); -::native::events::TextEvent_obj::__register(); -::native::errors::RangeError_obj::__register(); -::native::errors::EOFError_obj::__register(); -::native::errors::ArgumentError_obj::__register(); -::native::errors::Error_obj::__register(); -::native::display3D::textures::Texture_obj::__register(); -::native::display3D::textures::CubeTexture_obj::__register(); -::native::display3D::textures::TextureBase_obj::__register(); -::native::display3D::VertexBuffer3D_obj::__register(); -::native::display3D::Program3D_obj::__register(); -::native::display3D::IndexBuffer3D_obj::__register(); -::native::display3D::Context3DVertexBufferFormat_obj::__register(); -::native::display3D::Context3DTriangleFace_obj::__register(); -::native::display3D::Context3DTextureFormat_obj::__register(); -::native::display3D::Context3DStencilAction_obj::__register(); -::native::display3D::Context3DProgramType_obj::__register(); -::native::display3D::Context3DCompareMode_obj::__register(); -::native::display3D::Context3DClearMask_obj::__register(); -::native::display3D::Context3D_obj::__register(); -::native::display::TriangleCulling_obj::__register(); -::native::display::Tilesheet_obj::__register(); -::native::display::StageScaleMode_obj::__register(); -::native::display::StageQuality_obj::__register(); -::native::display::StageDisplayState_obj::__register(); -::native::display::StageAlign_obj::__register(); -::native::display::Stage3D_obj::__register(); -::native::display::TouchInfo_obj::__register(); -::native::display::Shape_obj::__register(); -::native::display::PixelSnapping_obj::__register(); -::native::display::OpenGLView_obj::__register(); -::native::display::MovieClip_obj::__register(); -::native::display::ManagedStage_obj::__register(); -::native::display::Stage_obj::__register(); -::native::events::TouchEvent_obj::__register(); -::native::events::MouseEvent_obj::__register(); -::native::events::Event_obj::__register(); -::native::display::IGraphicsData_obj::__register(); -::native::display::GraphicsPathWinding_obj::__register(); -::native::display::Graphics_obj::__register(); -::native::display::GradientType_obj::__register(); -::native::display::DirectRenderer_obj::__register(); -::native::display::BlendMode_obj::__register(); -::native::display::BitmapDataChannel_obj::__register(); -::native::display::OptimizedPerlin_obj::__register(); -::native::display::BitmapData_obj::__register(); -::native::display::Bitmap_obj::__register(); -::native::Lib_obj::__register(); -::haxe::xml::Fast_obj::__register(); -::haxe::xml::_Fast::NodeListAccess_obj::__register(); -::haxe::xml::_Fast::HasNodeAccess_obj::__register(); -::haxe::xml::_Fast::HasAttribAccess_obj::__register(); -::haxe::xml::_Fast::AttribAccess_obj::__register(); -::haxe::xml::_Fast::NodeAccess_obj::__register(); -::haxe::io::Output_obj::__register(); -::haxe::io::Input_obj::__register(); -::haxe::io::Error_obj::__register(); -::haxe::io::Eof_obj::__register(); -::haxe::io::BytesBuffer_obj::__register(); -::haxe::io::Bytes_obj::__register(); -::haxe::Timer_obj::__register(); -::haxe::Log_obj::__register(); -::haxe::BaseCode_obj::__register(); -::format::svg::Text_obj::__register(); -::format::svg::SVGRenderer_obj::__register(); -::format::svg::SVGData_obj::__register(); -::format::svg::RenderContext_obj::__register(); -::format::svg::ArcSegment_obj::__register(); -::format::svg::CubicSegment_obj::__register(); -::format::svg::QuadraticSegment_obj::__register(); -::format::svg::DrawSegment_obj::__register(); -::format::svg::MoveSegment_obj::__register(); -::format::svg::PathSegment_obj::__register(); -::format::svg::PathParser_obj::__register(); -::format::svg::Path_obj::__register(); -::format::svg::DisplayElement_obj::__register(); -::format::svg::Group_obj::__register(); -::format::svg::Grad_obj::__register(); -::format::svg::FillType_obj::__register(); -::format::gfx::LineStyle_obj::__register(); -::format::gfx::Gradient_obj::__register(); -::format::gfx::GfxTextFinder_obj::__register(); -::format::gfx::GfxGraphics_obj::__register(); -::format::gfx::GfxExtent_obj::__register(); -::format::gfx::GfxBytes_obj::__register(); -::native::display::SpreadMethod_obj::__register(); -::native::display::LineScaleMode_obj::__register(); -::native::display::JointStyle_obj::__register(); -::native::display::InterpolationMethod_obj::__register(); -::native::display::CapsStyle_obj::__register(); -::format::gfx::Gfx2Haxe_obj::__register(); -::format::gfx::Gfx_obj::__register(); -::format::SVG_obj::__register(); -::cpp::zip::Uncompress_obj::__register(); -::cpp::zip::Flush_obj::__register(); -::cpp::zip::Compress_obj::__register(); -::cpp::rtti::FieldNumericIntegerLookup_obj::__register(); -::ca::confidant::glory::view::constants::ControlConstants_obj::__register(); -::ca::confidant::glory::view::components::PageComponent_obj::__register(); -::ca::confidant::glory::view::components::ControlComponent_obj::__register(); -::ca::confidant::glory::view::components::ActorComponent_obj::__register(); -::ca::confidant::glory::view::SoundMediator_obj::__register(); -::ca::confidant::glory::view::PageMediator_obj::__register(); -::ca::confidant::glory::view::ControlComponentMediator_obj::__register(); -::ca::confidant::glory::view::ApplicationMediator_obj::__register(); -::ca::confidant::glory::view::ActorComponentMediator_obj::__register(); -::org::puremvc::haxe::patterns::mediator::Mediator_obj::__register(); -::org::puremvc::haxe::interfaces::IMediator_obj::__register(); -::ca::confidant::glory::model::TickerProxy_obj::__register(); -::ca::confidant::glory::model::PagesConfigProxy_obj::__register(); -::ca::confidant::glory::model::LoaderProxy_obj::__register(); -::ca::confidant::glory::model::ControlsRegistryProxy_obj::__register(); -::ca::confidant::glory::model::ActorComponentConfigProxy_obj::__register(); -::org::puremvc::haxe::patterns::proxy::Proxy_obj::__register(); -::org::puremvc::haxe::interfaces::IProxy_obj::__register(); -::ca::confidant::glory::controller::TimerEnableCommand_obj::__register(); -::ca::confidant::glory::controller::TimerDisableCommand_obj::__register(); -::ca::confidant::glory::controller::StartupCommand_obj::__register(); -::org::puremvc::haxe::patterns::command::MacroCommand_obj::__register(); -::ca::confidant::glory::controller::Startup2_Proxies_Command_obj::__register(); -::ca::confidant::glory::controller::Startup1_App_Command_obj::__register(); -::ca::confidant::glory::controller::Startup0_RegCommands_Command_obj::__register(); -::ca::confidant::glory::controller::RemovePageCommand_obj::__register(); -::ca::confidant::glory::controller::InitPageSoundsCommand_obj::__register(); -::ca::confidant::glory::controller::HandleAssetsLoadedCommand_obj::__register(); -::ca::confidant::glory::controller::GotoIntroCommand_obj::__register(); -::ca::confidant::glory::controller::DestroyPageSoundsCommand_obj::__register(); -::ca::confidant::glory::controller::ChangePageCommand_obj::__register(); -::ca::confidant::glory::controller::BuildPageCommand_obj::__register(); -::ca::confidant::glory::controller::BuildControlsCommand_obj::__register(); -::org::puremvc::haxe::patterns::command::SimpleCommand_obj::__register(); -::org::puremvc::haxe::interfaces::ICommand_obj::__register(); -::org::puremvc::haxe::patterns::observer::Notifier_obj::__register(); -::org::puremvc::haxe::interfaces::INotifier_obj::__register(); -::ca::confidant::glory::Tracer_obj::__register(); -::ca::confidant::glory::ApplicationFacade_obj::__register(); -::org::puremvc::haxe::patterns::facade::Facade_obj::__register(); -::org::puremvc::haxe::interfaces::IFacade_obj::__register(); -::Xml_obj::__register(); -::XmlType_obj::__register(); -::Type_obj::__register(); -::ValueType_obj::__register(); -::Sys_obj::__register(); -::StringTools_obj::__register(); -::StringBuf_obj::__register(); -::Std_obj::__register(); -::Reflect_obj::__register(); -::Main_obj::__register(); -::ca::confidant::glory::GloryFrameworkApp_obj::__register(); -::native::display::Sprite_obj::__register(); -::native::display::DisplayObjectContainer_obj::__register(); -::native::display::InteractiveObject_obj::__register(); -::native::display::DisplayObject_obj::__register(); -::native::Loader_obj::__register(); -::native::display::IBitmapDrawable_obj::__register(); -::native::events::EventDispatcher_obj::__register(); -::native::events::IEventDispatcher_obj::__register(); -::List_obj::__register(); -::IntIter_obj::__register(); -::IntHash_obj::__register(); -::Hash_obj::__register(); -::EReg_obj::__register(); -::cpp::Lib_obj::__register(); -::Date_obj::__register(); -::ApplicationMain_obj::__register(); -::Xml_obj::__init__(); -::native::utils::ByteArray_obj::__init__(); -::cpp::Lib_obj::__boot(); -::EReg_obj::__boot(); -::Xml_obj::__boot(); -::cpp::rtti::FieldNumericIntegerLookup_obj::__boot(); -::cpp::zip::Compress_obj::__boot(); -::cpp::zip::Flush_obj::__boot(); -::cpp::zip::Uncompress_obj::__boot(); -::haxe::Log_obj::__boot(); -::ApplicationMain_obj::__boot(); -::Date_obj::__boot(); -::Hash_obj::__boot(); -::IntHash_obj::__boot(); -::IntIter_obj::__boot(); -::List_obj::__boot(); -::native::events::IEventDispatcher_obj::__boot(); -::native::events::EventDispatcher_obj::__boot(); -::native::display::IBitmapDrawable_obj::__boot(); -::native::Loader_obj::__boot(); -::native::display::DisplayObject_obj::__boot(); -::native::display::InteractiveObject_obj::__boot(); -::native::display::DisplayObjectContainer_obj::__boot(); -::native::display::Sprite_obj::__boot(); -::ca::confidant::glory::GloryFrameworkApp_obj::__boot(); -::Main_obj::__boot(); -::Reflect_obj::__boot(); -::Std_obj::__boot(); -::StringBuf_obj::__boot(); -::StringTools_obj::__boot(); -::Sys_obj::__boot(); -::ValueType_obj::__boot(); -::Type_obj::__boot(); -::XmlType_obj::__boot(); -::org::puremvc::haxe::interfaces::IFacade_obj::__boot(); -::org::puremvc::haxe::patterns::facade::Facade_obj::__boot(); -::ca::confidant::glory::ApplicationFacade_obj::__boot(); -::ca::confidant::glory::Tracer_obj::__boot(); -::org::puremvc::haxe::interfaces::INotifier_obj::__boot(); -::org::puremvc::haxe::patterns::observer::Notifier_obj::__boot(); -::org::puremvc::haxe::interfaces::ICommand_obj::__boot(); -::org::puremvc::haxe::patterns::command::SimpleCommand_obj::__boot(); -::ca::confidant::glory::controller::BuildControlsCommand_obj::__boot(); -::ca::confidant::glory::controller::BuildPageCommand_obj::__boot(); -::ca::confidant::glory::controller::ChangePageCommand_obj::__boot(); -::ca::confidant::glory::controller::DestroyPageSoundsCommand_obj::__boot(); -::ca::confidant::glory::controller::GotoIntroCommand_obj::__boot(); -::ca::confidant::glory::controller::HandleAssetsLoadedCommand_obj::__boot(); -::ca::confidant::glory::controller::InitPageSoundsCommand_obj::__boot(); -::ca::confidant::glory::controller::RemovePageCommand_obj::__boot(); -::ca::confidant::glory::controller::Startup0_RegCommands_Command_obj::__boot(); -::ca::confidant::glory::controller::Startup1_App_Command_obj::__boot(); -::ca::confidant::glory::controller::Startup2_Proxies_Command_obj::__boot(); -::org::puremvc::haxe::patterns::command::MacroCommand_obj::__boot(); -::ca::confidant::glory::controller::StartupCommand_obj::__boot(); -::ca::confidant::glory::controller::TimerDisableCommand_obj::__boot(); -::ca::confidant::glory::controller::TimerEnableCommand_obj::__boot(); -::org::puremvc::haxe::interfaces::IProxy_obj::__boot(); -::org::puremvc::haxe::patterns::proxy::Proxy_obj::__boot(); -::ca::confidant::glory::model::ActorComponentConfigProxy_obj::__boot(); -::ca::confidant::glory::model::ControlsRegistryProxy_obj::__boot(); -::ca::confidant::glory::model::LoaderProxy_obj::__boot(); -::ca::confidant::glory::model::PagesConfigProxy_obj::__boot(); -::ca::confidant::glory::model::TickerProxy_obj::__boot(); -::org::puremvc::haxe::interfaces::IMediator_obj::__boot(); -::org::puremvc::haxe::patterns::mediator::Mediator_obj::__boot(); -::ca::confidant::glory::view::ActorComponentMediator_obj::__boot(); -::ca::confidant::glory::view::ApplicationMediator_obj::__boot(); -::ca::confidant::glory::view::ControlComponentMediator_obj::__boot(); -::ca::confidant::glory::view::PageMediator_obj::__boot(); -::ca::confidant::glory::view::SoundMediator_obj::__boot(); -::ca::confidant::glory::view::components::ActorComponent_obj::__boot(); -::ca::confidant::glory::view::components::ControlComponent_obj::__boot(); -::ca::confidant::glory::view::components::PageComponent_obj::__boot(); -::ca::confidant::glory::view::constants::ControlConstants_obj::__boot(); -::format::SVG_obj::__boot(); -::format::gfx::Gfx_obj::__boot(); -::format::gfx::Gfx2Haxe_obj::__boot(); -::native::display::CapsStyle_obj::__boot(); -::native::display::InterpolationMethod_obj::__boot(); -::native::display::JointStyle_obj::__boot(); -::native::display::LineScaleMode_obj::__boot(); -::native::display::SpreadMethod_obj::__boot(); -::format::gfx::GfxBytes_obj::__boot(); -::format::gfx::GfxExtent_obj::__boot(); -::format::gfx::GfxGraphics_obj::__boot(); -::format::gfx::GfxTextFinder_obj::__boot(); -::format::gfx::Gradient_obj::__boot(); -::format::gfx::LineStyle_obj::__boot(); -::format::svg::FillType_obj::__boot(); -::format::svg::Grad_obj::__boot(); -::format::svg::Group_obj::__boot(); -::format::svg::DisplayElement_obj::__boot(); -::format::svg::Path_obj::__boot(); -::format::svg::PathParser_obj::__boot(); -::format::svg::PathSegment_obj::__boot(); -::format::svg::MoveSegment_obj::__boot(); -::format::svg::DrawSegment_obj::__boot(); -::format::svg::QuadraticSegment_obj::__boot(); -::format::svg::CubicSegment_obj::__boot(); -::format::svg::ArcSegment_obj::__boot(); -::format::svg::RenderContext_obj::__boot(); -::format::svg::SVGData_obj::__boot(); -::format::svg::SVGRenderer_obj::__boot(); -::format::svg::Text_obj::__boot(); -::haxe::BaseCode_obj::__boot(); -::haxe::Timer_obj::__boot(); -::haxe::io::Bytes_obj::__boot(); -::haxe::io::BytesBuffer_obj::__boot(); -::haxe::io::Eof_obj::__boot(); -::haxe::io::Error_obj::__boot(); -::haxe::io::Input_obj::__boot(); -::haxe::io::Output_obj::__boot(); -::haxe::xml::_Fast::NodeAccess_obj::__boot(); -::haxe::xml::_Fast::AttribAccess_obj::__boot(); -::haxe::xml::_Fast::HasAttribAccess_obj::__boot(); -::haxe::xml::_Fast::HasNodeAccess_obj::__boot(); -::haxe::xml::_Fast::NodeListAccess_obj::__boot(); -::haxe::xml::Fast_obj::__boot(); -::native::Lib_obj::__boot(); -::native::display::Bitmap_obj::__boot(); -::native::display::BitmapData_obj::__boot(); -::native::display::OptimizedPerlin_obj::__boot(); -::native::display::BitmapDataChannel_obj::__boot(); -::native::display::BlendMode_obj::__boot(); -::native::display::DirectRenderer_obj::__boot(); -::native::display::GradientType_obj::__boot(); -::native::display::Graphics_obj::__boot(); -::native::display::GraphicsPathWinding_obj::__boot(); -::native::display::IGraphicsData_obj::__boot(); -::native::events::Event_obj::__boot(); -::native::events::MouseEvent_obj::__boot(); -::native::events::TouchEvent_obj::__boot(); -::native::display::Stage_obj::__boot(); -::native::display::ManagedStage_obj::__boot(); -::native::display::MovieClip_obj::__boot(); -::native::display::OpenGLView_obj::__boot(); -::native::display::PixelSnapping_obj::__boot(); -::native::display::Shape_obj::__boot(); -::native::display::TouchInfo_obj::__boot(); -::native::display::Stage3D_obj::__boot(); -::native::display::StageAlign_obj::__boot(); -::native::display::StageDisplayState_obj::__boot(); -::native::display::StageQuality_obj::__boot(); -::native::display::StageScaleMode_obj::__boot(); -::native::display::Tilesheet_obj::__boot(); -::native::display::TriangleCulling_obj::__boot(); -::native::display3D::Context3D_obj::__boot(); -::native::display3D::Context3DClearMask_obj::__boot(); -::native::display3D::Context3DCompareMode_obj::__boot(); -::native::display3D::Context3DProgramType_obj::__boot(); -::native::display3D::Context3DStencilAction_obj::__boot(); -::native::display3D::Context3DTextureFormat_obj::__boot(); -::native::display3D::Context3DTriangleFace_obj::__boot(); -::native::display3D::Context3DVertexBufferFormat_obj::__boot(); -::native::display3D::IndexBuffer3D_obj::__boot(); -::native::display3D::Program3D_obj::__boot(); -::native::display3D::VertexBuffer3D_obj::__boot(); -::native::display3D::textures::TextureBase_obj::__boot(); -::native::display3D::textures::CubeTexture_obj::__boot(); -::native::display3D::textures::Texture_obj::__boot(); -::native::errors::Error_obj::__boot(); -::native::errors::ArgumentError_obj::__boot(); -::native::errors::EOFError_obj::__boot(); -::native::errors::RangeError_obj::__boot(); -::native::events::TextEvent_obj::__boot(); -::native::events::ErrorEvent_obj::__boot(); -::native::events::Listener_obj::__boot(); -::native::events::EventPhase_obj::__boot(); -::native::events::FocusEvent_obj::__boot(); -::native::events::HTTPStatusEvent_obj::__boot(); -::native::events::IOErrorEvent_obj::__boot(); -::native::events::JoystickEvent_obj::__boot(); -::native::events::KeyboardEvent_obj::__boot(); -::native::events::ProgressEvent_obj::__boot(); -::native::events::SampleDataEvent_obj::__boot(); -::native::filters::BitmapFilter_obj::__boot(); -::native::geom::ColorTransform_obj::__boot(); -::native::geom::Matrix_obj::__boot(); -::native::geom::Matrix3D_obj::__boot(); -::native::geom::Point_obj::__boot(); -::native::geom::Rectangle_obj::__boot(); -::native::geom::Transform_obj::__boot(); -::native::geom::Vector3D_obj::__boot(); -::native::gl::GL_obj::__boot(); -::native::gl::Object_obj::__boot(); -::native::gl::Buffer_obj::__boot(); -::native::gl::Framebuffer_obj::__boot(); -::native::gl::Program_obj::__boot(); -::native::gl::Renderbuffer_obj::__boot(); -::native::gl::Shader_obj::__boot(); -::native::gl::Texture_obj::__boot(); -::native::media::ID3Info_obj::__boot(); -::native::media::Sound_obj::__boot(); -::native::media::SoundChannel_obj::__boot(); -::native::media::SoundLoaderContext_obj::__boot(); -::native::media::SoundTransform_obj::__boot(); -::native::net::URLLoader_obj::__boot(); -::native::net::URLLoaderDataFormat_obj::__boot(); -::native::net::URLRequest_obj::__boot(); -::native::net::URLRequestHeader_obj::__boot(); -::native::net::URLRequestMethod_obj::__boot(); -::native::net::URLVariables_obj::__boot(); -::native::text::Font_obj::__boot(); -::native::text::FontStyle_obj::__boot(); -::native::text::FontType_obj::__boot(); -::native::utils::IMemoryRange_obj::__boot(); -::native::utils::ArrayBufferView_obj::__boot(); -::native::utils::IDataInput_obj::__boot(); -::native::utils::ByteArray_obj::__boot(); -::native::utils::CompressionAlgorithm_obj::__boot(); -::native::utils::Endian_obj::__boot(); -::native::utils::Float32Array_obj::__boot(); -::native::utils::WeakRef_obj::__boot(); -::nme::Lib_obj::__boot(); -::nme::VectorHelper_obj::__boot(); -::nme::installer::Assets_obj::__boot(); -::org::puremvc::haxe::interfaces::IController_obj::__boot(); -::org::puremvc::haxe::core::Controller_obj::__boot(); -::org::puremvc::haxe::interfaces::IModel_obj::__boot(); -::org::puremvc::haxe::core::Model_obj::__boot(); -::org::puremvc::haxe::interfaces::IView_obj::__boot(); -::org::puremvc::haxe::core::View_obj::__boot(); -::org::puremvc::haxe::interfaces::INotification_obj::__boot(); -::org::puremvc::haxe::interfaces::IObserver_obj::__boot(); -::org::puremvc::haxe::patterns::observer::Notification_obj::__boot(); -::org::puremvc::haxe::patterns::observer::Observer_obj::__boot(); -::pages::Psvg_obj::__boot(); -::sys::_FileSystem::FileKind_obj::__boot(); -::sys::FileSystem_obj::__boot(); -::sys::io::File_obj::__boot(); -::sys::io::FileInput_obj::__boot(); -::sys::io::FileOutput_obj::__boot(); -::sys::io::FileSeek_obj::__boot(); -::sys::io::_Process::Stdin_obj::__boot(); -::sys::io::_Process::Stdout_obj::__boot(); -::sys::io::Process_obj::__boot(); -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/__files__.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/__files__.cpp deleted file mode 100644 index 795dbb6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/__files__.cpp +++ /dev/null @@ -1,186 +0,0 @@ -#include - -namespace hx { -const char *__hxcpp_all_files[] = { -#ifdef HXCPP_DEBUGGER - "/usr/lib/haxe/std/IntIter.hx", - "/usr/lib/haxe/std/List.hx", - "/usr/lib/haxe/std/StringTools.hx", - "/usr/lib/haxe/std/cpp/Lib.hx", - "/usr/lib/haxe/std/cpp/_std/Date.hx", - "/usr/lib/haxe/std/cpp/_std/EReg.hx", - "/usr/lib/haxe/std/cpp/_std/Hash.hx", - "/usr/lib/haxe/std/cpp/_std/IntHash.hx", - "/usr/lib/haxe/std/cpp/_std/Reflect.hx", - "/usr/lib/haxe/std/cpp/_std/Std.hx", - "/usr/lib/haxe/std/cpp/_std/StringBuf.hx", - "/usr/lib/haxe/std/cpp/_std/Sys.hx", - "/usr/lib/haxe/std/cpp/_std/Type.hx", - "/usr/lib/haxe/std/cpp/_std/Xml.hx", - "/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx", - "/usr/lib/haxe/std/cpp/_std/sys/io/File.hx", - "/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx", - "/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx", - "/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx", - "/usr/lib/haxe/std/cpp/zip/Compress.hx", - "/usr/lib/haxe/std/cpp/zip/Uncompress.hx", - "/usr/lib/haxe/std/haxe/BaseCode.hx", - "/usr/lib/haxe/std/haxe/Log.hx", - "/usr/lib/haxe/std/haxe/io/Bytes.hx", - "/usr/lib/haxe/std/haxe/io/BytesBuffer.hx", - "/usr/lib/haxe/std/haxe/io/Eof.hx", - "/usr/lib/haxe/std/haxe/io/Input.hx", - "/usr/lib/haxe/std/haxe/io/Output.hx", - "/usr/lib/haxe/std/haxe/xml/Fast.hx", - "ApplicationMain.hx", - "Main.hx", - "ca/confidant/glory/ApplicationFacade.hx", - "ca/confidant/glory/GloryFrameworkApp.hx", - "ca/confidant/glory/Tracer.hx", - "ca/confidant/glory/controller/BuildControlsCommand.hx", - "ca/confidant/glory/controller/BuildPageCommand.hx", - "ca/confidant/glory/controller/ChangePageCommand.hx", - "ca/confidant/glory/controller/DestroyPageSoundsCommand.hx", - "ca/confidant/glory/controller/GotoIntroCommand.hx", - "ca/confidant/glory/controller/HandleAssetsLoadedCommand.hx", - "ca/confidant/glory/controller/InitPageSoundsCommand.hx", - "ca/confidant/glory/controller/RemovePageCommand.hx", - "ca/confidant/glory/controller/Startup0_RegCommands_Command.hx", - "ca/confidant/glory/controller/Startup1_App_Command.hx", - "ca/confidant/glory/controller/Startup2_Proxies_Command.hx", - "ca/confidant/glory/controller/StartupCommand.hx", - "ca/confidant/glory/controller/TimerDisableCommand.hx", - "ca/confidant/glory/controller/TimerEnableCommand.hx", - "ca/confidant/glory/model/ActorComponentConfigProxy.hx", - "ca/confidant/glory/model/ControlsRegistryProxy.hx", - "ca/confidant/glory/model/LoaderProxy.hx", - "ca/confidant/glory/model/PagesConfigProxy.hx", - "ca/confidant/glory/model/TickerProxy.hx", - "ca/confidant/glory/view/ActorComponentMediator.hx", - "ca/confidant/glory/view/ApplicationMediator.hx", - "ca/confidant/glory/view/ControlComponentMediator.hx", - "ca/confidant/glory/view/PageMediator.hx", - "ca/confidant/glory/view/SoundMediator.hx", - "ca/confidant/glory/view/components/ActorComponent.hx", - "ca/confidant/glory/view/components/ControlComponent.hx", - "ca/confidant/glory/view/components/PageComponent.hx", - "ca/confidant/glory/view/constants/ControlConstants.hx", - "format/SVG.hx", - "format/gfx/Gfx.hx", - "format/gfx/Gfx2Haxe.hx", - "format/gfx/GfxBytes.hx", - "format/gfx/GfxExtent.hx", - "format/gfx/GfxGraphics.hx", - "format/gfx/GfxTextFinder.hx", - "format/gfx/Gradient.hx", - "format/gfx/LineStyle.hx", - "format/svg/Grad.hx", - "format/svg/Group.hx", - "format/svg/Path.hx", - "format/svg/PathParser.hx", - "format/svg/PathSegment.hx", - "format/svg/RenderContext.hx", - "format/svg/SVGData.hx", - "format/svg/SVGRenderer.hx", - "format/svg/Text.hx", - "haxe/Timer.hx", - "native/Lib.hx", - "native/Loader.hx", - "native/display/Bitmap.hx", - "native/display/BitmapData.hx", - "native/display/DirectRenderer.hx", - "native/display/DisplayObject.hx", - "native/display/DisplayObjectContainer.hx", - "native/display/Graphics.hx", - "native/display/IGraphicsData.hx", - "native/display/InteractiveObject.hx", - "native/display/ManagedStage.hx", - "native/display/MovieClip.hx", - "native/display/OpenGLView.hx", - "native/display/Shape.hx", - "native/display/Sprite.hx", - "native/display/Stage.hx", - "native/display/Stage3D.hx", - "native/display/Tilesheet.hx", - "native/display3D/Context3D.hx", - "native/display3D/IndexBuffer3D.hx", - "native/display3D/Program3D.hx", - "native/display3D/VertexBuffer3D.hx", - "native/display3D/textures/CubeTexture.hx", - "native/display3D/textures/Texture.hx", - "native/display3D/textures/TextureBase.hx", - "native/errors/ArgumentError.hx", - "native/errors/EOFError.hx", - "native/errors/Error.hx", - "native/errors/RangeError.hx", - "native/events/ErrorEvent.hx", - "native/events/Event.hx", - "native/events/EventDispatcher.hx", - "native/events/FocusEvent.hx", - "native/events/HTTPStatusEvent.hx", - "native/events/IOErrorEvent.hx", - "native/events/JoystickEvent.hx", - "native/events/KeyboardEvent.hx", - "native/events/MouseEvent.hx", - "native/events/ProgressEvent.hx", - "native/events/SampleDataEvent.hx", - "native/events/TextEvent.hx", - "native/events/TouchEvent.hx", - "native/filters/BitmapFilter.hx", - "native/geom/ColorTransform.hx", - "native/geom/Matrix.hx", - "native/geom/Matrix3D.hx", - "native/geom/Point.hx", - "native/geom/Rectangle.hx", - "native/geom/Transform.hx", - "native/geom/Vector3D.hx", - "native/gl/GL.hx", - "native/media/ID3Info.hx", - "native/media/Sound.hx", - "native/media/SoundChannel.hx", - "native/media/SoundLoaderContext.hx", - "native/media/SoundTransform.hx", - "native/net/URLLoader.hx", - "native/net/URLRequest.hx", - "native/net/URLRequestHeader.hx", - "native/net/URLVariables.hx", - "native/text/Font.hx", - "native/utils/ArrayBufferView.hx", - "native/utils/ByteArray.hx", - "native/utils/Float32Array.hx", - "native/utils/WeakRef.hx", - "nme/Lib.hx", - "nme/Vector.hx", - "nme/installer/Assets.hx", - "org/puremvc/haxe/core/Controller.hx", - "org/puremvc/haxe/core/Model.hx", - "org/puremvc/haxe/core/View.hx", - "org/puremvc/haxe/patterns/command/MacroCommand.hx", - "org/puremvc/haxe/patterns/command/SimpleCommand.hx", - "org/puremvc/haxe/patterns/facade/Facade.hx", - "org/puremvc/haxe/patterns/mediator/Mediator.hx", - "org/puremvc/haxe/patterns/observer/Notification.hx", - "org/puremvc/haxe/patterns/observer/Notifier.hx", - "org/puremvc/haxe/patterns/observer/Observer.hx", - "org/puremvc/haxe/patterns/proxy/Proxy.hx", - "pages/Psvg.hx", -#endif - 0 }; -const char *__hxcpp_class_path[] = { -#ifdef HXCPP_DEBUGGER - "/usr/lib/haxe/lib/nme/3,5,3/", - "/usr/lib/haxe/lib/actuate/1,52/", - "/usr/lib/haxe/lib/svg/1,02/", - "/Users/allan/git/Glory-Framework/Glory-Framework/src/", - "/Users/allan/git/Glory-Framework/Glory-Framework/", - "", - "/", - "/usr/lib/haxe/std/cpp/_std/", - "/usr/local/lib/haxe/std/cpp/_std/", - "/usr/lib/haxe/std/", - "/usr/local/lib/haxe/std/", - "/usr/lib/haxe/std/", - "/usr/local/lib/haxe/std/", -#endif - 0 }; -} // namespace hx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/__lib__.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/__lib__.cpp deleted file mode 100644 index 65a7b87..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/__lib__.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include - -#include - -#ifndef INCLUDED_ApplicationMain -#include -#endif - - -HX_BEGIN_LIB_MAIN - -::ApplicationMain_obj::main(); -HX_END_LIB_MAIN - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/__main__.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/__main__.cpp deleted file mode 100644 index 64b2257..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/__main__.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include - -#include - -#ifndef INCLUDED_ApplicationMain -#include -#endif - - -HX_BEGIN_MAIN - -::ApplicationMain_obj::main(); -HX_END_MAIN - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/__resources__.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/__resources__.cpp deleted file mode 100644 index c5a9b40..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/__resources__.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include - -hx::Resource __Resources[] ={ - {String(null()),0,0}}; - -namespace hx { Resource *GetResources() { return __Resources; } } - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/ApplicationFacade.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/ApplicationFacade.cpp deleted file mode 100644 index c717676..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/ApplicationFacade.cpp +++ /dev/null @@ -1,450 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_ApplicationFacade -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_StartupCommand -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_MacroCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_facade_Facade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ - -Void ApplicationFacade_obj::__construct() -{ -HX_STACK_PUSH("ApplicationFacade::new","ca/confidant/glory/ApplicationFacade.hx",15); -{ - HX_STACK_LINE(15) - super::__construct(); -} -; - return null(); -} - -ApplicationFacade_obj::~ApplicationFacade_obj() { } - -Dynamic ApplicationFacade_obj::__CreateEmpty() { return new ApplicationFacade_obj; } -hx::ObjectPtr< ApplicationFacade_obj > ApplicationFacade_obj::__new() -{ hx::ObjectPtr< ApplicationFacade_obj > result = new ApplicationFacade_obj(); - result->__construct(); - return result;} - -Dynamic ApplicationFacade_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ApplicationFacade_obj > result = new ApplicationFacade_obj(); - result->__construct(); - return result;} - -Void ApplicationFacade_obj::startup( ::ca::confidant::glory::GloryFrameworkApp app){ -{ - HX_STACK_PUSH("ApplicationFacade::startup","ca/confidant/glory/ApplicationFacade.hx",64); - HX_STACK_THIS(this); - HX_STACK_ARG(app,"app"); - HX_STACK_LINE(64) - this->sendNotification(HX_CSTRING("startup"),app,null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ApplicationFacade_obj,startup,(void)) - -Void ApplicationFacade_obj::initializeController( ){ -{ - HX_STACK_PUSH("ApplicationFacade::initializeController","ca/confidant/glory/ApplicationFacade.hx",57); - HX_STACK_THIS(this); - HX_STACK_LINE(58) - this->super::initializeController(); - HX_STACK_LINE(59) - this->registerCommand(HX_CSTRING("startup"),hx::ClassOf< ::ca::confidant::glory::controller::StartupCommand >()); - } -return null(); -} - - -::String ApplicationFacade_obj::STARTUP; - -::String ApplicationFacade_obj::MESSAGE; - -::String ApplicationFacade_obj::INIT_XML_LOAD; - -::String ApplicationFacade_obj::ASSETS_LOADED; - -::String ApplicationFacade_obj::PAGES_CONFIG_READY; - -::String ApplicationFacade_obj::CALL_EXTERNAL_FUNCTION; - -::String ApplicationFacade_obj::CONSOLE_LOG; - -::String ApplicationFacade_obj::STAGE_RESIZE; - -::String ApplicationFacade_obj::SET_ACTIVE_WIDGET; - -::String ApplicationFacade_obj::SET_CONTENT; - -::String ApplicationFacade_obj::BUILD_PAGE; - -::String ApplicationFacade_obj::REMOVE_PAGE; - -::String ApplicationFacade_obj::BUILD_CONTROLS; - -::String ApplicationFacade_obj::CHANGE_PAGE; - -::String ApplicationFacade_obj::HTTP_LINK; - -::String ApplicationFacade_obj::TIMER_TICK; - -::String ApplicationFacade_obj::TIMER_ENABLE; - -::String ApplicationFacade_obj::TIMER_DISABLE; - -::String ApplicationFacade_obj::PAN_LEFT; - -::String ApplicationFacade_obj::PAN_RIGHT; - -::String ApplicationFacade_obj::PAN_STOP; - -::String ApplicationFacade_obj::TOGGLE_OPTIONS; - -::String ApplicationFacade_obj::PLAY_SOUND; - -::String ApplicationFacade_obj::INIT_PAGE_SOUNDS; - -::String ApplicationFacade_obj::DESTROY_PAGE_SOUNDS; - -::ca::confidant::glory::ApplicationFacade ApplicationFacade_obj::instance; - -::ca::confidant::glory::ApplicationFacade ApplicationFacade_obj::getInstance( ){ - HX_STACK_PUSH("ApplicationFacade::getInstance","ca/confidant/glory/ApplicationFacade.hx",49); - HX_STACK_LINE(50) - if (((::ca::confidant::glory::ApplicationFacade_obj::instance == null()))){ - HX_STACK_LINE(51) - ::ca::confidant::glory::ApplicationFacade_obj::instance = ::ca::confidant::glory::ApplicationFacade_obj::__new(); - } - HX_STACK_LINE(52) - return ::ca::confidant::glory::ApplicationFacade_obj::instance; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(ApplicationFacade_obj,getInstance,return ) - - -ApplicationFacade_obj::ApplicationFacade_obj() -{ -} - -void ApplicationFacade_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ApplicationFacade); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ApplicationFacade_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ApplicationFacade_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"STARTUP") ) { return STARTUP; } - if (HX_FIELD_EQ(inName,"MESSAGE") ) { return MESSAGE; } - if (HX_FIELD_EQ(inName,"startup") ) { return startup_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"PAN_LEFT") ) { return PAN_LEFT; } - if (HX_FIELD_EQ(inName,"PAN_STOP") ) { return PAN_STOP; } - if (HX_FIELD_EQ(inName,"instance") ) { return instance; } - break; - case 9: - if (HX_FIELD_EQ(inName,"HTTP_LINK") ) { return HTTP_LINK; } - if (HX_FIELD_EQ(inName,"PAN_RIGHT") ) { return PAN_RIGHT; } - break; - case 10: - if (HX_FIELD_EQ(inName,"BUILD_PAGE") ) { return BUILD_PAGE; } - if (HX_FIELD_EQ(inName,"TIMER_TICK") ) { return TIMER_TICK; } - if (HX_FIELD_EQ(inName,"PLAY_SOUND") ) { return PLAY_SOUND; } - break; - case 11: - if (HX_FIELD_EQ(inName,"CONSOLE_LOG") ) { return CONSOLE_LOG; } - if (HX_FIELD_EQ(inName,"SET_CONTENT") ) { return SET_CONTENT; } - if (HX_FIELD_EQ(inName,"REMOVE_PAGE") ) { return REMOVE_PAGE; } - if (HX_FIELD_EQ(inName,"CHANGE_PAGE") ) { return CHANGE_PAGE; } - if (HX_FIELD_EQ(inName,"getInstance") ) { return getInstance_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"STAGE_RESIZE") ) { return STAGE_RESIZE; } - if (HX_FIELD_EQ(inName,"TIMER_ENABLE") ) { return TIMER_ENABLE; } - break; - case 13: - if (HX_FIELD_EQ(inName,"INIT_XML_LOAD") ) { return INIT_XML_LOAD; } - if (HX_FIELD_EQ(inName,"ASSETS_LOADED") ) { return ASSETS_LOADED; } - if (HX_FIELD_EQ(inName,"TIMER_DISABLE") ) { return TIMER_DISABLE; } - break; - case 14: - if (HX_FIELD_EQ(inName,"BUILD_CONTROLS") ) { return BUILD_CONTROLS; } - if (HX_FIELD_EQ(inName,"TOGGLE_OPTIONS") ) { return TOGGLE_OPTIONS; } - break; - case 16: - if (HX_FIELD_EQ(inName,"INIT_PAGE_SOUNDS") ) { return INIT_PAGE_SOUNDS; } - break; - case 17: - if (HX_FIELD_EQ(inName,"SET_ACTIVE_WIDGET") ) { return SET_ACTIVE_WIDGET; } - break; - case 18: - if (HX_FIELD_EQ(inName,"PAGES_CONFIG_READY") ) { return PAGES_CONFIG_READY; } - break; - case 19: - if (HX_FIELD_EQ(inName,"DESTROY_PAGE_SOUNDS") ) { return DESTROY_PAGE_SOUNDS; } - break; - case 20: - if (HX_FIELD_EQ(inName,"initializeController") ) { return initializeController_dyn(); } - break; - case 22: - if (HX_FIELD_EQ(inName,"CALL_EXTERNAL_FUNCTION") ) { return CALL_EXTERNAL_FUNCTION; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ApplicationFacade_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"STARTUP") ) { STARTUP=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MESSAGE") ) { MESSAGE=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"PAN_LEFT") ) { PAN_LEFT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"PAN_STOP") ) { PAN_STOP=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"instance") ) { instance=inValue.Cast< ::ca::confidant::glory::ApplicationFacade >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"HTTP_LINK") ) { HTTP_LINK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"PAN_RIGHT") ) { PAN_RIGHT=inValue.Cast< ::String >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"BUILD_PAGE") ) { BUILD_PAGE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TIMER_TICK") ) { TIMER_TICK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"PLAY_SOUND") ) { PLAY_SOUND=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"CONSOLE_LOG") ) { CONSOLE_LOG=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"SET_CONTENT") ) { SET_CONTENT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"REMOVE_PAGE") ) { REMOVE_PAGE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"CHANGE_PAGE") ) { CHANGE_PAGE=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"STAGE_RESIZE") ) { STAGE_RESIZE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TIMER_ENABLE") ) { TIMER_ENABLE=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"INIT_XML_LOAD") ) { INIT_XML_LOAD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"ASSETS_LOADED") ) { ASSETS_LOADED=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TIMER_DISABLE") ) { TIMER_DISABLE=inValue.Cast< ::String >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"BUILD_CONTROLS") ) { BUILD_CONTROLS=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TOGGLE_OPTIONS") ) { TOGGLE_OPTIONS=inValue.Cast< ::String >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"INIT_PAGE_SOUNDS") ) { INIT_PAGE_SOUNDS=inValue.Cast< ::String >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"SET_ACTIVE_WIDGET") ) { SET_ACTIVE_WIDGET=inValue.Cast< ::String >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"PAGES_CONFIG_READY") ) { PAGES_CONFIG_READY=inValue.Cast< ::String >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"DESTROY_PAGE_SOUNDS") ) { DESTROY_PAGE_SOUNDS=inValue.Cast< ::String >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"CALL_EXTERNAL_FUNCTION") ) { CALL_EXTERNAL_FUNCTION=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ApplicationFacade_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("STARTUP"), - HX_CSTRING("MESSAGE"), - HX_CSTRING("INIT_XML_LOAD"), - HX_CSTRING("ASSETS_LOADED"), - HX_CSTRING("PAGES_CONFIG_READY"), - HX_CSTRING("CALL_EXTERNAL_FUNCTION"), - HX_CSTRING("CONSOLE_LOG"), - HX_CSTRING("STAGE_RESIZE"), - HX_CSTRING("SET_ACTIVE_WIDGET"), - HX_CSTRING("SET_CONTENT"), - HX_CSTRING("BUILD_PAGE"), - HX_CSTRING("REMOVE_PAGE"), - HX_CSTRING("BUILD_CONTROLS"), - HX_CSTRING("CHANGE_PAGE"), - HX_CSTRING("HTTP_LINK"), - HX_CSTRING("TIMER_TICK"), - HX_CSTRING("TIMER_ENABLE"), - HX_CSTRING("TIMER_DISABLE"), - HX_CSTRING("PAN_LEFT"), - HX_CSTRING("PAN_RIGHT"), - HX_CSTRING("PAN_STOP"), - HX_CSTRING("TOGGLE_OPTIONS"), - HX_CSTRING("PLAY_SOUND"), - HX_CSTRING("INIT_PAGE_SOUNDS"), - HX_CSTRING("DESTROY_PAGE_SOUNDS"), - HX_CSTRING("instance"), - HX_CSTRING("getInstance"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("startup"), - HX_CSTRING("initializeController"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::STARTUP,"STARTUP"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::MESSAGE,"MESSAGE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::INIT_XML_LOAD,"INIT_XML_LOAD"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::ASSETS_LOADED,"ASSETS_LOADED"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::PAGES_CONFIG_READY,"PAGES_CONFIG_READY"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::CALL_EXTERNAL_FUNCTION,"CALL_EXTERNAL_FUNCTION"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::CONSOLE_LOG,"CONSOLE_LOG"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::STAGE_RESIZE,"STAGE_RESIZE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::SET_ACTIVE_WIDGET,"SET_ACTIVE_WIDGET"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::SET_CONTENT,"SET_CONTENT"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::BUILD_PAGE,"BUILD_PAGE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::REMOVE_PAGE,"REMOVE_PAGE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::BUILD_CONTROLS,"BUILD_CONTROLS"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::CHANGE_PAGE,"CHANGE_PAGE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::HTTP_LINK,"HTTP_LINK"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::TIMER_TICK,"TIMER_TICK"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::TIMER_ENABLE,"TIMER_ENABLE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::TIMER_DISABLE,"TIMER_DISABLE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::PAN_LEFT,"PAN_LEFT"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::PAN_RIGHT,"PAN_RIGHT"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::PAN_STOP,"PAN_STOP"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::TOGGLE_OPTIONS,"TOGGLE_OPTIONS"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::PLAY_SOUND,"PLAY_SOUND"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::INIT_PAGE_SOUNDS,"INIT_PAGE_SOUNDS"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::DESTROY_PAGE_SOUNDS,"DESTROY_PAGE_SOUNDS"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::instance,"instance"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::STARTUP,"STARTUP"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::MESSAGE,"MESSAGE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::INIT_XML_LOAD,"INIT_XML_LOAD"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::ASSETS_LOADED,"ASSETS_LOADED"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::PAGES_CONFIG_READY,"PAGES_CONFIG_READY"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::CALL_EXTERNAL_FUNCTION,"CALL_EXTERNAL_FUNCTION"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::CONSOLE_LOG,"CONSOLE_LOG"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::STAGE_RESIZE,"STAGE_RESIZE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::SET_ACTIVE_WIDGET,"SET_ACTIVE_WIDGET"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::SET_CONTENT,"SET_CONTENT"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::BUILD_PAGE,"BUILD_PAGE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::REMOVE_PAGE,"REMOVE_PAGE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::BUILD_CONTROLS,"BUILD_CONTROLS"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::CHANGE_PAGE,"CHANGE_PAGE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::HTTP_LINK,"HTTP_LINK"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::TIMER_TICK,"TIMER_TICK"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::TIMER_ENABLE,"TIMER_ENABLE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::TIMER_DISABLE,"TIMER_DISABLE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::PAN_LEFT,"PAN_LEFT"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::PAN_RIGHT,"PAN_RIGHT"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::PAN_STOP,"PAN_STOP"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::TOGGLE_OPTIONS,"TOGGLE_OPTIONS"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::PLAY_SOUND,"PLAY_SOUND"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::INIT_PAGE_SOUNDS,"INIT_PAGE_SOUNDS"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::DESTROY_PAGE_SOUNDS,"DESTROY_PAGE_SOUNDS"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::instance,"instance"); -}; - -Class ApplicationFacade_obj::__mClass; - -void ApplicationFacade_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.ApplicationFacade"), hx::TCanCast< ApplicationFacade_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ApplicationFacade_obj::__boot() -{ - STARTUP= HX_CSTRING("startup"); - MESSAGE= HX_CSTRING("message"); - INIT_XML_LOAD= HX_CSTRING("initXMLLoad"); - ASSETS_LOADED= HX_CSTRING("assetsLoaded"); - PAGES_CONFIG_READY= HX_CSTRING("pagesConfigReady"); - CALL_EXTERNAL_FUNCTION= HX_CSTRING("callExternalFunction"); - CONSOLE_LOG= HX_CSTRING("consoleLog"); - STAGE_RESIZE= HX_CSTRING("stageResize"); - SET_ACTIVE_WIDGET= HX_CSTRING("setActiveWidget"); - SET_CONTENT= HX_CSTRING("setContent"); - BUILD_PAGE= HX_CSTRING("buildPage"); - REMOVE_PAGE= HX_CSTRING("removePage"); - BUILD_CONTROLS= HX_CSTRING("buildControls"); - CHANGE_PAGE= HX_CSTRING("changePage"); - HTTP_LINK= HX_CSTRING("httpLink"); - TIMER_TICK= HX_CSTRING("timerTick"); - TIMER_ENABLE= HX_CSTRING("timerEnable"); - TIMER_DISABLE= HX_CSTRING("timerDisable"); - PAN_LEFT= HX_CSTRING("panLeft"); - PAN_RIGHT= HX_CSTRING("panRight"); - PAN_STOP= HX_CSTRING("panStop"); - TOGGLE_OPTIONS= HX_CSTRING("toggleOptions"); - PLAY_SOUND= HX_CSTRING("playSound"); - INIT_PAGE_SOUNDS= HX_CSTRING("initPageSounds"); - DESTROY_PAGE_SOUNDS= HX_CSTRING("destroyPageSounds"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/GloryFrameworkApp.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/GloryFrameworkApp.cpp deleted file mode 100644 index f922a1c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/GloryFrameworkApp.cpp +++ /dev/null @@ -1,170 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_ApplicationFacade -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_MovieClip -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_nme_Lib -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_facade_Facade -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ - -Void GloryFrameworkApp_obj::__construct() -{ -HX_STACK_PUSH("GloryFrameworkApp::new","ca/confidant/glory/GloryFrameworkApp.hx",14); -{ - HX_STACK_LINE(15) - super::__construct(); - HX_STACK_LINE(16) - ::ca::confidant::glory::ApplicationFacade facade = ::ca::confidant::glory::ApplicationFacade_obj::getInstance(); HX_STACK_VAR(facade,"facade"); - HX_STACK_LINE(17) - facade->sendNotification(HX_CSTRING("startup"),hx::ObjectPtr(this),null()); -} -; - return null(); -} - -GloryFrameworkApp_obj::~GloryFrameworkApp_obj() { } - -Dynamic GloryFrameworkApp_obj::__CreateEmpty() { return new GloryFrameworkApp_obj; } -hx::ObjectPtr< GloryFrameworkApp_obj > GloryFrameworkApp_obj::__new() -{ hx::ObjectPtr< GloryFrameworkApp_obj > result = new GloryFrameworkApp_obj(); - result->__construct(); - return result;} - -Dynamic GloryFrameworkApp_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GloryFrameworkApp_obj > result = new GloryFrameworkApp_obj(); - result->__construct(); - return result;} - -Void GloryFrameworkApp_obj::displayMessage( ::String m){ -{ - HX_STACK_PUSH("GloryFrameworkApp::displayMessage","ca/confidant/glory/GloryFrameworkApp.hx",26); - HX_STACK_THIS(this); - HX_STACK_ARG(m,"m"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(GloryFrameworkApp_obj,displayMessage,(void)) - -Void GloryFrameworkApp_obj::main( ){ -{ - HX_STACK_PUSH("GloryFrameworkApp::main","ca/confidant/glory/GloryFrameworkApp.hx",22); - HX_STACK_LINE(23) - ::ca::confidant::glory::GloryFrameworkApp app = ::ca::confidant::glory::GloryFrameworkApp_obj::__new(); HX_STACK_VAR(app,"app"); - HX_STACK_LINE(24) - ::nme::Lib_obj::get_current()->addChild(app); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(GloryFrameworkApp_obj,main,(void)) - - -GloryFrameworkApp_obj::GloryFrameworkApp_obj() -{ -} - -void GloryFrameworkApp_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GloryFrameworkApp); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void GloryFrameworkApp_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic GloryFrameworkApp_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"main") ) { return main_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"displayMessage") ) { return displayMessage_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GloryFrameworkApp_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void GloryFrameworkApp_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("main"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("displayMessage"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GloryFrameworkApp_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GloryFrameworkApp_obj::__mClass,"__mClass"); -}; - -Class GloryFrameworkApp_obj::__mClass; - -void GloryFrameworkApp_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.GloryFrameworkApp"), hx::TCanCast< GloryFrameworkApp_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GloryFrameworkApp_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/Tracer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/Tracer.cpp deleted file mode 100644 index f8aa409..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/Tracer.cpp +++ /dev/null @@ -1,123 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_Tracer -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ - -Void Tracer_obj::__construct() -{ - return null(); -} - -Tracer_obj::~Tracer_obj() { } - -Dynamic Tracer_obj::__CreateEmpty() { return new Tracer_obj; } -hx::ObjectPtr< Tracer_obj > Tracer_obj::__new() -{ hx::ObjectPtr< Tracer_obj > result = new Tracer_obj(); - result->__construct(); - return result;} - -Dynamic Tracer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Tracer_obj > result = new Tracer_obj(); - result->__construct(); - return result;} - -Void Tracer_obj::setRedirection( ){ -{ - HX_STACK_PUSH("Tracer::setRedirection","ca/confidant/glory/Tracer.hx",10); - HX_STACK_LINE(10) - ::haxe::Log_obj::trace = ::ca::confidant::glory::Tracer_obj::customTrace_dyn(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Tracer_obj,setRedirection,(void)) - -Void Tracer_obj::customTrace( Dynamic v,Dynamic inf){ -{ - HX_STACK_PUSH("Tracer::customTrace","ca/confidant/glory/Tracer.hx",14); - HX_STACK_ARG(v,"v"); - HX_STACK_ARG(inf,"inf"); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Tracer_obj,customTrace,(void)) - - -Tracer_obj::Tracer_obj() -{ -} - -void Tracer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Tracer); - HX_MARK_END_CLASS(); -} - -void Tracer_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Tracer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 11: - if (HX_FIELD_EQ(inName,"customTrace") ) { return customTrace_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"setRedirection") ) { return setRedirection_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Tracer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Tracer_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("setRedirection"), - HX_CSTRING("customTrace"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Tracer_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Tracer_obj::__mClass,"__mClass"); -}; - -Class Tracer_obj::__mClass; - -void Tracer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.Tracer"), hx::TCanCast< Tracer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Tracer_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/BuildControlsCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/BuildControlsCommand.cpp deleted file mode 100644 index 8bd7cad..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/BuildControlsCommand.cpp +++ /dev/null @@ -1,325 +0,0 @@ -#include - -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_BuildControlsCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ControlComponentMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ControlComponent -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#include -#endif -#ifndef INCLUDED_native_display_Bitmap -#include -#endif -#ifndef INCLUDED_native_display_BitmapData -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_PixelSnapping -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void BuildControlsCommand_obj::__construct() -{ -HX_STACK_PUSH("BuildControlsCommand::new","ca/confidant/glory/controller/BuildControlsCommand.hx",26); -{ - HX_STACK_LINE(26) - super::__construct(); -} -; - return null(); -} - -BuildControlsCommand_obj::~BuildControlsCommand_obj() { } - -Dynamic BuildControlsCommand_obj::__CreateEmpty() { return new BuildControlsCommand_obj; } -hx::ObjectPtr< BuildControlsCommand_obj > BuildControlsCommand_obj::__new() -{ hx::ObjectPtr< BuildControlsCommand_obj > result = new BuildControlsCommand_obj(); - result->__construct(); - return result;} - -Dynamic BuildControlsCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BuildControlsCommand_obj > result = new BuildControlsCommand_obj(); - result->__construct(); - return result;} - -Void BuildControlsCommand_obj::makeControl( ::haxe::xml::Fast actor){ -{ - HX_STACK_PUSH("BuildControlsCommand::makeControl","ca/confidant/glory/controller/BuildControlsCommand.hx",48); - HX_STACK_THIS(this); - HX_STACK_ARG(actor,"actor"); - HX_STACK_LINE(48) - try{ - HX_STACK_LINE(50) - ::String ext = (hx::TCast< String >::cast(actor->att->resolve(HX_CSTRING("src")))).substr((int)-3,null()); HX_STACK_VAR(ext,"ext"); - HX_STACK_LINE(51) - ::ca::confidant::glory::view::components::ControlComponent a = ::ca::confidant::glory::view::components::ControlComponent_obj::__new(::Std_obj::string(actor->att->resolve(HX_CSTRING("action")))); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(53) - if (((ext == HX_CSTRING("svg")))){ - HX_STACK_LINE(54) - ::String theText = this->lp->getText((HX_CSTRING("assets/") + actor->att->resolve(HX_CSTRING("src")))); HX_STACK_VAR(theText,"theText"); - HX_STACK_LINE(55) - a->addSVG(theText); - } - else{ - HX_STACK_LINE(57) - ::native::display::BitmapData imageData = this->lp->getBitmapData((HX_CSTRING("assets/") + actor->att->resolve(HX_CSTRING("src"))),true); HX_STACK_VAR(imageData,"imageData"); - HX_STACK_LINE(58) - ::native::display::Bitmap b = ::native::display::Bitmap_obj::__new(imageData,null(),null()); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(59) - a->addBitmap(b); - } - HX_STACK_LINE(62) - ::ca::confidant::glory::view::ControlComponentMediator acm = ::ca::confidant::glory::view::ControlComponentMediator_obj::__new(actor->att->resolve(HX_CSTRING("id")),a); HX_STACK_VAR(acm,"acm"); - HX_STACK_LINE(63) - this->facade->registerMediator(acm); - HX_STACK_LINE(64) - this->appMediator->addDisplayObject(a,null()); - HX_STACK_LINE(65) - this->csp->registerControl(a); - HX_STACK_LINE(66) - a->set_x(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("x")))); - HX_STACK_LINE(67) - a->set_y(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("y")))); - HX_STACK_LINE(68) - a->set_width(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("width")))); - HX_STACK_LINE(69) - a->set_height(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("height")))); - HX_STACK_LINE(70) - a->set_mouseEnabled(true); - HX_STACK_LINE(71) - a->useHandCursor = true; - HX_STACK_LINE(72) - a->buttonMode = true; - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(75) - ::haxe::Log_obj::trace(::Std_obj::string(e),hx::SourceInfo(HX_CSTRING("BuildControlsCommand.hx"),76,HX_CSTRING("ca.confidant.glory.controller.BuildControlsCommand"),HX_CSTRING("makeControl"))); - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BuildControlsCommand_obj,makeControl,(void)) - -Void BuildControlsCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("BuildControlsCommand::execute","ca/confidant/glory/controller/BuildControlsCommand.hx",33); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(34) - ::haxe::Log_obj::trace(HX_CSTRING("BuildControlsCommand"),hx::SourceInfo(HX_CSTRING("BuildControlsCommand.hx"),34,HX_CSTRING("ca.confidant.glory.controller.BuildControlsCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(35) - this->pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); - HX_STACK_LINE(36) - this->csp = hx::TCast< ca::confidant::glory::model::ControlsRegistryProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::ControlsRegistryProxy_obj::NAME)); - HX_STACK_LINE(37) - this->lp = hx::TCast< ca::confidant::glory::model::LoaderProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::LoaderProxy_obj::NAME)); - HX_STACK_LINE(38) - this->appMediator = hx::TCast< ca::confidant::glory::view::ApplicationMediator >::cast(this->facade->retrieveMediator(HX_CSTRING("ApplicationMediator"))); - HX_STACK_LINE(40) - ::List controlsList = this->pcp->getAppControls(); HX_STACK_VAR(controlsList,"controlsList"); - HX_STACK_LINE(41) - for(::cpp::FastIterator_obj< ::haxe::xml::Fast > *__it = ::cpp::CreateFastIterator< ::haxe::xml::Fast >(controlsList->iterator()); __it->hasNext(); ){ - ::haxe::xml::Fast thisControl = __it->next(); - this->makeControl(thisControl); - } - } -return null(); -} - - - -BuildControlsCommand_obj::BuildControlsCommand_obj() -{ -} - -void BuildControlsCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BuildControlsCommand); - HX_MARK_MEMBER_NAME(lp,"lp"); - HX_MARK_MEMBER_NAME(appMediator,"appMediator"); - HX_MARK_MEMBER_NAME(csp,"csp"); - HX_MARK_MEMBER_NAME(pcp,"pcp"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void BuildControlsCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(lp,"lp"); - HX_VISIT_MEMBER_NAME(appMediator,"appMediator"); - HX_VISIT_MEMBER_NAME(csp,"csp"); - HX_VISIT_MEMBER_NAME(pcp,"pcp"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic BuildControlsCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"lp") ) { return lp; } - break; - case 3: - if (HX_FIELD_EQ(inName,"csp") ) { return csp; } - if (HX_FIELD_EQ(inName,"pcp") ) { return pcp; } - break; - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"makeControl") ) { return makeControl_dyn(); } - if (HX_FIELD_EQ(inName,"appMediator") ) { return appMediator; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BuildControlsCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"lp") ) { lp=inValue.Cast< ::ca::confidant::glory::model::LoaderProxy >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"csp") ) { csp=inValue.Cast< ::ca::confidant::glory::model::ControlsRegistryProxy >(); return inValue; } - if (HX_FIELD_EQ(inName,"pcp") ) { pcp=inValue.Cast< ::ca::confidant::glory::model::PagesConfigProxy >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { appMediator=inValue.Cast< ::ca::confidant::glory::view::ApplicationMediator >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BuildControlsCommand_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("lp")); - outFields->push(HX_CSTRING("appMediator")); - outFields->push(HX_CSTRING("csp")); - outFields->push(HX_CSTRING("pcp")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("makeControl"), - HX_CSTRING("execute"), - HX_CSTRING("lp"), - HX_CSTRING("appMediator"), - HX_CSTRING("csp"), - HX_CSTRING("pcp"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BuildControlsCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BuildControlsCommand_obj::__mClass,"__mClass"); -}; - -Class BuildControlsCommand_obj::__mClass; - -void BuildControlsCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.BuildControlsCommand"), hx::TCanCast< BuildControlsCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BuildControlsCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/BuildPageCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/BuildPageCommand.cpp deleted file mode 100644 index 31982cb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/BuildPageCommand.cpp +++ /dev/null @@ -1,396 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_BuildPageCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_ActorComponentConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ActorComponentMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_PageMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_PageComponent -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasAttribAccess -#include -#endif -#ifndef INCLUDED_native_display_Bitmap -#include -#endif -#ifndef INCLUDED_native_display_BitmapData -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_PixelSnapping -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void BuildPageCommand_obj::__construct() -{ -HX_STACK_PUSH("BuildPageCommand::new","ca/confidant/glory/controller/BuildPageCommand.hx",37); -{ - HX_STACK_LINE(37) - super::__construct(); -} -; - return null(); -} - -BuildPageCommand_obj::~BuildPageCommand_obj() { } - -Dynamic BuildPageCommand_obj::__CreateEmpty() { return new BuildPageCommand_obj; } -hx::ObjectPtr< BuildPageCommand_obj > BuildPageCommand_obj::__new() -{ hx::ObjectPtr< BuildPageCommand_obj > result = new BuildPageCommand_obj(); - result->__construct(); - return result;} - -Dynamic BuildPageCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BuildPageCommand_obj > result = new BuildPageCommand_obj(); - result->__construct(); - return result;} - -::ca::confidant::glory::view::components::ActorComponent BuildPageCommand_obj::makeActor( ::haxe::xml::Fast actor){ - HX_STACK_PUSH("BuildPageCommand::makeActor","ca/confidant/glory/controller/BuildPageCommand.hx",96); - HX_STACK_THIS(this); - HX_STACK_ARG(actor,"actor"); - HX_STACK_LINE(98) - ::String ext = (hx::TCast< String >::cast(actor->att->resolve(HX_CSTRING("src")))).substr((int)-3,null()); HX_STACK_VAR(ext,"ext"); - HX_STACK_LINE(105) - ::ca::confidant::glory::view::components::ActorComponent a = ::ca::confidant::glory::view::components::ActorComponent_obj::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(109) - if (((ext == HX_CSTRING("svg")))){ - HX_STACK_LINE(110) - ::String theText = this->lp->getText((HX_CSTRING("assets/") + actor->att->resolve(HX_CSTRING("src")))); HX_STACK_VAR(theText,"theText"); - HX_STACK_LINE(111) - a->addSVG(theText); - } - else{ - HX_STACK_LINE(113) - ::native::display::BitmapData imageData = this->lp->getBitmapData((HX_CSTRING("assets/") + actor->att->resolve(HX_CSTRING("src"))),true); HX_STACK_VAR(imageData,"imageData"); - HX_STACK_LINE(114) - ::native::display::Bitmap b = ::native::display::Bitmap_obj::__new(imageData,null(),null()); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(115) - a->addBitmap(b); - } - HX_STACK_LINE(117) - ::String action; HX_STACK_VAR(action,"action"); - HX_STACK_LINE(118) - if ((actor->has->resolve(HX_CSTRING("action")))){ - HX_STACK_LINE(118) - action = ::Std_obj::string(actor->att->resolve(HX_CSTRING("action"))); - } - else{ - HX_STACK_LINE(120) - action = HX_CSTRING(""); - } - HX_STACK_LINE(123) - ::ca::confidant::glory::model::ActorComponentConfigProxy accp = ::ca::confidant::glory::model::ActorComponentConfigProxy_obj::__new(actor->att->resolve(HX_CSTRING("id")),::Std_obj::string(actor->att->resolve(HX_CSTRING("type"))),action); HX_STACK_VAR(accp,"accp"); - HX_STACK_LINE(124) - this->facade->registerProxy(accp); - HX_STACK_LINE(125) - ::ca::confidant::glory::view::ActorComponentMediator acm = ::ca::confidant::glory::view::ActorComponentMediator_obj::__new(actor->att->resolve(HX_CSTRING("id")),a,accp); HX_STACK_VAR(acm,"acm"); - HX_STACK_LINE(126) - this->facade->registerMediator(acm); - HX_STACK_LINE(128) - a->set_x(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("x")))); - HX_STACK_LINE(129) - a->set_y(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("y")))); - HX_STACK_LINE(130) - a->set_width(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("width")))); - HX_STACK_LINE(131) - a->set_height(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("height")))); - HX_STACK_LINE(132) - a->type = actor->att->resolve(HX_CSTRING("type")); - HX_STACK_LINE(133) - a->set_name(actor->att->resolve(HX_CSTRING("id"))); - HX_STACK_LINE(134) - if (((a->type == HX_CSTRING("control")))){ - HX_STACK_LINE(136) - a->set_mouseEnabled(true); - HX_STACK_LINE(137) - a->useHandCursor = true; - HX_STACK_LINE(138) - a->buttonMode = true; - } - HX_STACK_LINE(140) - return a; -} - - -HX_DEFINE_DYNAMIC_FUNC1(BuildPageCommand_obj,makeActor,return ) - -Void BuildPageCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("BuildPageCommand::execute","ca/confidant/glory/controller/BuildPageCommand.hx",42); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(43) - ::haxe::Log_obj::trace(HX_CSTRING("BuildPageCommand"),hx::SourceInfo(HX_CSTRING("BuildPageCommand.hx"),43,HX_CSTRING("ca.confidant.glory.controller.BuildPageCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(45) - this->pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); - HX_STACK_LINE(46) - this->lp = hx::TCast< ca::confidant::glory::model::LoaderProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::LoaderProxy_obj::NAME)); - HX_STACK_LINE(47) - this->appMediator = hx::TCast< ca::confidant::glory::view::ApplicationMediator >::cast(this->facade->retrieveMediator(HX_CSTRING("ApplicationMediator"))); - HX_STACK_LINE(48) - ::String pageId = hx::TCast< String >::cast(note->getBody()); HX_STACK_VAR(pageId,"pageId"); - HX_STACK_LINE(53) - ::String class_name = (HX_CSTRING("pages.P") + pageId); HX_STACK_VAR(class_name,"class_name"); - HX_STACK_LINE(54) - ::Class a_class = ::Type_obj::resolveClass(class_name); HX_STACK_VAR(a_class,"a_class"); - HX_STACK_LINE(55) - ::ca::confidant::glory::view::components::PageComponent s = ( (((a_class != null()))) ? ::ca::confidant::glory::view::components::PageComponent(::Type_obj::createInstance(a_class,Dynamic( Array_obj::__new()))) : ::ca::confidant::glory::view::components::PageComponent(::ca::confidant::glory::view::components::PageComponent_obj::__new()) ); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(57) - s->set_name(pageId); - HX_STACK_LINE(59) - if (((this->pcp->getPageById(pageId)->get(HX_CSTRING("type")) == HX_CSTRING("overlay")))){ - HX_STACK_LINE(59) - this->appMediator->addDisplayObject(s,(int)-1); - } - else{ - HX_STACK_LINE(62) - this->appMediator->addDisplayObject(s,(int)0); - } - HX_STACK_LINE(68) - ::ca::confidant::glory::view::PageMediator pm = ::ca::confidant::glory::view::PageMediator_obj::__new(pageId,s); HX_STACK_VAR(pm,"pm"); - HX_STACK_LINE(69) - this->facade->registerMediator(pm); - HX_STACK_LINE(71) - ::List actorsList = this->pcp->getPageActors(pageId); HX_STACK_VAR(actorsList,"actorsList"); - HX_STACK_LINE(73) - if (((actorsList->length > (int)0))){ - HX_STACK_LINE(73) - for(::cpp::FastIterator_obj< ::haxe::xml::Fast > *__it = ::cpp::CreateFastIterator< ::haxe::xml::Fast >(actorsList->iterator()); __it->hasNext(); ){ - ::haxe::xml::Fast thisActor = __it->next(); - s->addActor(thisActor->att->resolve(HX_CSTRING("id")),this->makeActor(thisActor)); - } - } - HX_STACK_LINE(80) - ::ca::confidant::glory::model::ControlsRegistryProxy crp = hx::TCast< ca::confidant::glory::model::ControlsRegistryProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::ControlsRegistryProxy_obj::NAME)); HX_STACK_VAR(crp,"crp"); - HX_STACK_LINE(81) - Array< ::native::display::DisplayObject > controls = crp->getControls(); HX_STACK_VAR(controls,"controls"); - HX_STACK_LINE(82) - { - HX_STACK_LINE(82) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(82) - while(((_g < controls->length))){ - HX_STACK_LINE(82) - ::native::display::DisplayObject thisControl = controls->__get(_g); HX_STACK_VAR(thisControl,"thisControl"); - HX_STACK_LINE(82) - ++(_g); - HX_STACK_LINE(83) - this->appMediator->getApp()->removeChild(thisControl); - HX_STACK_LINE(84) - this->appMediator->getApp()->addChild(thisControl); - } - } - HX_STACK_LINE(92) - this->sendNotification(HX_CSTRING("initPageSounds"),pageId,null()); - HX_STACK_LINE(94) - s->init(); - } -return null(); -} - - - -BuildPageCommand_obj::BuildPageCommand_obj() -{ -} - -void BuildPageCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BuildPageCommand); - HX_MARK_MEMBER_NAME(lp,"lp"); - HX_MARK_MEMBER_NAME(appMediator,"appMediator"); - HX_MARK_MEMBER_NAME(pcp,"pcp"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void BuildPageCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(lp,"lp"); - HX_VISIT_MEMBER_NAME(appMediator,"appMediator"); - HX_VISIT_MEMBER_NAME(pcp,"pcp"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic BuildPageCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"lp") ) { return lp; } - break; - case 3: - if (HX_FIELD_EQ(inName,"pcp") ) { return pcp; } - break; - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"makeActor") ) { return makeActor_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { return appMediator; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BuildPageCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"lp") ) { lp=inValue.Cast< ::ca::confidant::glory::model::LoaderProxy >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"pcp") ) { pcp=inValue.Cast< ::ca::confidant::glory::model::PagesConfigProxy >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { appMediator=inValue.Cast< ::ca::confidant::glory::view::ApplicationMediator >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BuildPageCommand_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("lp")); - outFields->push(HX_CSTRING("appMediator")); - outFields->push(HX_CSTRING("pcp")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("makeActor"), - HX_CSTRING("execute"), - HX_CSTRING("lp"), - HX_CSTRING("appMediator"), - HX_CSTRING("pcp"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BuildPageCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BuildPageCommand_obj::__mClass,"__mClass"); -}; - -Class BuildPageCommand_obj::__mClass; - -void BuildPageCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.BuildPageCommand"), hx::TCanCast< BuildPageCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BuildPageCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/ChangePageCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/ChangePageCommand.cpp deleted file mode 100644 index 70e9695..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/ChangePageCommand.cpp +++ /dev/null @@ -1,237 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_ChangePageCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void ChangePageCommand_obj::__construct() -{ -HX_STACK_PUSH("ChangePageCommand::new","ca/confidant/glory/controller/ChangePageCommand.hx",29); -{ - HX_STACK_LINE(29) - super::__construct(); -} -; - return null(); -} - -ChangePageCommand_obj::~ChangePageCommand_obj() { } - -Dynamic ChangePageCommand_obj::__CreateEmpty() { return new ChangePageCommand_obj; } -hx::ObjectPtr< ChangePageCommand_obj > ChangePageCommand_obj::__new() -{ hx::ObjectPtr< ChangePageCommand_obj > result = new ChangePageCommand_obj(); - result->__construct(); - return result;} - -Dynamic ChangePageCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ChangePageCommand_obj > result = new ChangePageCommand_obj(); - result->__construct(); - return result;} - -Void ChangePageCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("ChangePageCommand::execute","ca/confidant/glory/controller/ChangePageCommand.hx",35); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(36) - ::haxe::Log_obj::trace((HX_CSTRING("ChangePageCommand:") + ::Std_obj::string(note->getBody())),hx::SourceInfo(HX_CSTRING("ChangePageCommand.hx"),36,HX_CSTRING("ca.confidant.glory.controller.ChangePageCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(37) - this->pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); - HX_STACK_LINE(38) - this->appMediator = hx::TCast< ca::confidant::glory::view::ApplicationMediator >::cast(this->facade->retrieveMediator(HX_CSTRING("ApplicationMediator"))); - HX_STACK_LINE(39) - ::String action = hx::TCast< String >::cast(note->getBody()); HX_STACK_VAR(action,"action"); - HX_STACK_LINE(41) - ::String _switch_1 = (action); - if ( ( _switch_1==HX_CSTRING("pageForward"))){ - HX_STACK_LINE(44) - ::Hash nextPage = this->pcp->getNextPage(); HX_STACK_VAR(nextPage,"nextPage"); - HX_STACK_LINE(45) - if (((nextPage != null()))){ - HX_STACK_LINE(46) - this->sendNotification(HX_CSTRING("removePage"),this->pcp->getCurrentPage()->get(HX_CSTRING("id")),null()); - HX_STACK_LINE(47) - this->sendNotification(HX_CSTRING("buildPage"),nextPage->get(HX_CSTRING("id")),null()); - HX_STACK_LINE(48) - this->pcp->setCurrentPageById(nextPage->get(HX_CSTRING("id"))); - } - } - else if ( ( _switch_1==HX_CSTRING("pageBackward"))){ - HX_STACK_LINE(53) - ::Hash prevPage = this->pcp->getPreviousPage(); HX_STACK_VAR(prevPage,"prevPage"); - HX_STACK_LINE(54) - if (((prevPage != null()))){ - HX_STACK_LINE(55) - this->sendNotification(HX_CSTRING("removePage"),this->pcp->getCurrentPage()->get(HX_CSTRING("id")),null()); - HX_STACK_LINE(56) - this->sendNotification(HX_CSTRING("buildPage"),prevPage->get(HX_CSTRING("id")),null()); - HX_STACK_LINE(57) - this->pcp->setCurrentPageById(prevPage->get(HX_CSTRING("id"))); - } - } - else { - HX_STACK_LINE(62) - ::Hash p = this->pcp->getPageById(action); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(63) - bool overlay = (p->get(HX_CSTRING("type")) == HX_CSTRING("overlay")); HX_STACK_VAR(overlay,"overlay"); - HX_STACK_LINE(66) - if (((p != null()))){ - HX_STACK_LINE(68) - if ((!(overlay))){ - HX_STACK_LINE(68) - this->sendNotification(HX_CSTRING("removePage"),this->pcp->getCurrentPage()->get(HX_CSTRING("id")),null()); - } - HX_STACK_LINE(72) - this->sendNotification(HX_CSTRING("buildPage"),p->get(HX_CSTRING("id")),null()); - HX_STACK_LINE(73) - if ((!(overlay))){ - HX_STACK_LINE(73) - this->pcp->setCurrentPageById(p->get(HX_CSTRING("id"))); - } - } - } -; -; - } -return null(); -} - - - -ChangePageCommand_obj::ChangePageCommand_obj() -{ -} - -void ChangePageCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ChangePageCommand); - HX_MARK_MEMBER_NAME(appMediator,"appMediator"); - HX_MARK_MEMBER_NAME(pcp,"pcp"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ChangePageCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(appMediator,"appMediator"); - HX_VISIT_MEMBER_NAME(pcp,"pcp"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ChangePageCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"pcp") ) { return pcp; } - break; - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { return appMediator; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ChangePageCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"pcp") ) { pcp=inValue.Cast< ::ca::confidant::glory::model::PagesConfigProxy >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { appMediator=inValue.Cast< ::ca::confidant::glory::view::ApplicationMediator >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ChangePageCommand_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("appMediator")); - outFields->push(HX_CSTRING("pcp")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - HX_CSTRING("appMediator"), - HX_CSTRING("pcp"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ChangePageCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ChangePageCommand_obj::__mClass,"__mClass"); -}; - -Class ChangePageCommand_obj::__mClass; - -void ChangePageCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.ChangePageCommand"), hx::TCanCast< ChangePageCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ChangePageCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/DestroyPageSoundsCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/DestroyPageSoundsCommand.cpp deleted file mode 100644 index abaa7ec..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/DestroyPageSoundsCommand.cpp +++ /dev/null @@ -1,151 +0,0 @@ -#include - -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_DestroyPageSoundsCommand -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void DestroyPageSoundsCommand_obj::__construct() -{ -HX_STACK_PUSH("DestroyPageSoundsCommand::new","ca/confidant/glory/controller/DestroyPageSoundsCommand.hx",14); -{ - HX_STACK_LINE(14) - super::__construct(); -} -; - return null(); -} - -DestroyPageSoundsCommand_obj::~DestroyPageSoundsCommand_obj() { } - -Dynamic DestroyPageSoundsCommand_obj::__CreateEmpty() { return new DestroyPageSoundsCommand_obj; } -hx::ObjectPtr< DestroyPageSoundsCommand_obj > DestroyPageSoundsCommand_obj::__new() -{ hx::ObjectPtr< DestroyPageSoundsCommand_obj > result = new DestroyPageSoundsCommand_obj(); - result->__construct(); - return result;} - -Dynamic DestroyPageSoundsCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< DestroyPageSoundsCommand_obj > result = new DestroyPageSoundsCommand_obj(); - result->__construct(); - return result;} - -Void DestroyPageSoundsCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("DestroyPageSoundsCommand::execute","ca/confidant/glory/controller/DestroyPageSoundsCommand.hx",19); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(20) - ::haxe::Log_obj::trace(HX_CSTRING("RemovePageSoundsCommand"),hx::SourceInfo(HX_CSTRING("DestroyPageSoundsCommand.hx"),20,HX_CSTRING("ca.confidant.glory.controller.DestroyPageSoundsCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(22) - ::List sounds = hx::TCast< List >::cast(note->getBody()); HX_STACK_VAR(sounds,"sounds"); - HX_STACK_LINE(23) - if (((sounds->length > (int)0))){ - HX_STACK_LINE(23) - for(::cpp::FastIterator_obj< Dynamic > *__it = ::cpp::CreateFastIterator< Dynamic >(sounds->iterator()); __it->hasNext(); ){ - Dynamic thisSound = __it->next(); - this->facade->removeMediator(thisSound->__Field(HX_CSTRING("att"),true)->__Field(HX_CSTRING("id"),true)); - } - } - } -return null(); -} - - - -DestroyPageSoundsCommand_obj::DestroyPageSoundsCommand_obj() -{ -} - -void DestroyPageSoundsCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(DestroyPageSoundsCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void DestroyPageSoundsCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic DestroyPageSoundsCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic DestroyPageSoundsCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void DestroyPageSoundsCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(DestroyPageSoundsCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(DestroyPageSoundsCommand_obj::__mClass,"__mClass"); -}; - -Class DestroyPageSoundsCommand_obj::__mClass; - -void DestroyPageSoundsCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.DestroyPageSoundsCommand"), hx::TCanCast< DestroyPageSoundsCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void DestroyPageSoundsCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/GotoIntroCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/GotoIntroCommand.cpp deleted file mode 100644 index 138c022..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/GotoIntroCommand.cpp +++ /dev/null @@ -1,136 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_GotoIntroCommand -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void GotoIntroCommand_obj::__construct() -{ -HX_STACK_PUSH("GotoIntroCommand::new","ca/confidant/glory/controller/GotoIntroCommand.hx",20); -{ - HX_STACK_LINE(20) - super::__construct(); -} -; - return null(); -} - -GotoIntroCommand_obj::~GotoIntroCommand_obj() { } - -Dynamic GotoIntroCommand_obj::__CreateEmpty() { return new GotoIntroCommand_obj; } -hx::ObjectPtr< GotoIntroCommand_obj > GotoIntroCommand_obj::__new() -{ hx::ObjectPtr< GotoIntroCommand_obj > result = new GotoIntroCommand_obj(); - result->__construct(); - return result;} - -Dynamic GotoIntroCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GotoIntroCommand_obj > result = new GotoIntroCommand_obj(); - result->__construct(); - return result;} - -Void GotoIntroCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("GotoIntroCommand::execute","ca/confidant/glory/controller/GotoIntroCommand.hx",24); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(25) - ::haxe::Log_obj::trace(HX_CSTRING("GotoIntroCommand"),hx::SourceInfo(HX_CSTRING("GotoIntroCommand.hx"),25,HX_CSTRING("ca.confidant.glory.controller.GotoIntroCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(26) - this->sendNotification(HX_CSTRING("buildControls"),null(),null()); - HX_STACK_LINE(27) - this->sendNotification(HX_CSTRING("buildPage"),HX_CSTRING("title"),null()); - } -return null(); -} - - - -GotoIntroCommand_obj::GotoIntroCommand_obj() -{ -} - -void GotoIntroCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GotoIntroCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void GotoIntroCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic GotoIntroCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GotoIntroCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void GotoIntroCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GotoIntroCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GotoIntroCommand_obj::__mClass,"__mClass"); -}; - -Class GotoIntroCommand_obj::__mClass; - -void GotoIntroCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.GotoIntroCommand"), hx::TCanCast< GotoIntroCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GotoIntroCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.cpp deleted file mode 100644 index a522bff..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.cpp +++ /dev/null @@ -1,158 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_HandleAssetsLoadedCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void HandleAssetsLoadedCommand_obj::__construct() -{ -HX_STACK_PUSH("HandleAssetsLoadedCommand::new","ca/confidant/glory/controller/HandleAssetsLoadedCommand.hx",24); -{ - HX_STACK_LINE(24) - super::__construct(); -} -; - return null(); -} - -HandleAssetsLoadedCommand_obj::~HandleAssetsLoadedCommand_obj() { } - -Dynamic HandleAssetsLoadedCommand_obj::__CreateEmpty() { return new HandleAssetsLoadedCommand_obj; } -hx::ObjectPtr< HandleAssetsLoadedCommand_obj > HandleAssetsLoadedCommand_obj::__new() -{ hx::ObjectPtr< HandleAssetsLoadedCommand_obj > result = new HandleAssetsLoadedCommand_obj(); - result->__construct(); - return result;} - -Dynamic HandleAssetsLoadedCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< HandleAssetsLoadedCommand_obj > result = new HandleAssetsLoadedCommand_obj(); - result->__construct(); - return result;} - -Void HandleAssetsLoadedCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("HandleAssetsLoadedCommand::execute","ca/confidant/glory/controller/HandleAssetsLoadedCommand.hx",29); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(30) - ::haxe::Log_obj::trace(HX_CSTRING("HandleAssetsLoadedCommand"),hx::SourceInfo(HX_CSTRING("HandleAssetsLoadedCommand.hx"),30,HX_CSTRING("ca.confidant.glory.controller.HandleAssetsLoadedCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(31) - ::ca::confidant::glory::model::LoaderProxy lp = hx::TCast< ca::confidant::glory::model::LoaderProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::LoaderProxy_obj::NAME)); HX_STACK_VAR(lp,"lp"); - HX_STACK_LINE(33) - ::String assetID = hx::TCast< String >::cast(note->getBody()); HX_STACK_VAR(assetID,"assetID"); - HX_STACK_LINE(35) - if (((assetID == HX_CSTRING("xml")))){ - HX_STACK_LINE(36) - ::ca::confidant::glory::model::PagesConfigProxy pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); HX_STACK_VAR(pcp,"pcp"); - HX_STACK_LINE(37) - pcp->loadXML(lp->retrieveLoadedAsset(assetID)); - } - } -return null(); -} - - - -HandleAssetsLoadedCommand_obj::HandleAssetsLoadedCommand_obj() -{ -} - -void HandleAssetsLoadedCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(HandleAssetsLoadedCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void HandleAssetsLoadedCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic HandleAssetsLoadedCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic HandleAssetsLoadedCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void HandleAssetsLoadedCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(HandleAssetsLoadedCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(HandleAssetsLoadedCommand_obj::__mClass,"__mClass"); -}; - -Class HandleAssetsLoadedCommand_obj::__mClass; - -void HandleAssetsLoadedCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.HandleAssetsLoadedCommand"), hx::TCanCast< HandleAssetsLoadedCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void HandleAssetsLoadedCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/InitPageSoundsCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/InitPageSoundsCommand.cpp deleted file mode 100644 index 7c83270..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/InitPageSoundsCommand.cpp +++ /dev/null @@ -1,196 +0,0 @@ -#include - -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_InitPageSoundsCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_SoundMediator -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_media_Sound -#include -#endif -#ifndef INCLUDED_nme_installer_Assets -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void InitPageSoundsCommand_obj::__construct() -{ -HX_STACK_PUSH("InitPageSoundsCommand::new","ca/confidant/glory/controller/InitPageSoundsCommand.hx",15); -{ - HX_STACK_LINE(15) - super::__construct(); -} -; - return null(); -} - -InitPageSoundsCommand_obj::~InitPageSoundsCommand_obj() { } - -Dynamic InitPageSoundsCommand_obj::__CreateEmpty() { return new InitPageSoundsCommand_obj; } -hx::ObjectPtr< InitPageSoundsCommand_obj > InitPageSoundsCommand_obj::__new() -{ hx::ObjectPtr< InitPageSoundsCommand_obj > result = new InitPageSoundsCommand_obj(); - result->__construct(); - return result;} - -Dynamic InitPageSoundsCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< InitPageSoundsCommand_obj > result = new InitPageSoundsCommand_obj(); - result->__construct(); - return result;} - -Void InitPageSoundsCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("InitPageSoundsCommand::execute","ca/confidant/glory/controller/InitPageSoundsCommand.hx",20); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(21) - ::haxe::Log_obj::trace(HX_CSTRING("InitPageSoundsCommand"),hx::SourceInfo(HX_CSTRING("InitPageSoundsCommand.hx"),21,HX_CSTRING("ca.confidant.glory.controller.InitPageSoundsCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(22) - ::ca::confidant::glory::model::PagesConfigProxy pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); HX_STACK_VAR(pcp,"pcp"); - HX_STACK_LINE(23) - ::String pageId = hx::TCast< String >::cast(note->getBody()); HX_STACK_VAR(pageId,"pageId"); - HX_STACK_LINE(24) - ::List sounds = pcp->getPageSounds(pageId); HX_STACK_VAR(sounds,"sounds"); - HX_STACK_LINE(26) - if (((sounds->length > (int)0))){ - HX_STACK_LINE(26) - for(::cpp::FastIterator_obj< ::haxe::xml::Fast > *__it = ::cpp::CreateFastIterator< ::haxe::xml::Fast >(sounds->iterator()); __it->hasNext(); ){ - ::haxe::xml::Fast thisSound = __it->next(); - { - HX_STACK_LINE(28) - ::haxe::Log_obj::trace((HX_CSTRING("adding sound:") + thisSound->att->resolve(HX_CSTRING("src"))),hx::SourceInfo(HX_CSTRING("InitPageSoundsCommand.hx"),28,HX_CSTRING("ca.confidant.glory.controller.InitPageSoundsCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(29) - ::native::media::Sound s = ::nme::installer::Assets_obj::getSound((HX_CSTRING("assets/") + thisSound->att->resolve(HX_CSTRING("src")))); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(30) - this->facade->registerMediator(::ca::confidant::glory::view::SoundMediator_obj::__new(thisSound->att->resolve(HX_CSTRING("id")),s)); - } -; - } - } - } -return null(); -} - - - -InitPageSoundsCommand_obj::InitPageSoundsCommand_obj() -{ -} - -void InitPageSoundsCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(InitPageSoundsCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void InitPageSoundsCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic InitPageSoundsCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic InitPageSoundsCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void InitPageSoundsCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(InitPageSoundsCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(InitPageSoundsCommand_obj::__mClass,"__mClass"); -}; - -Class InitPageSoundsCommand_obj::__mClass; - -void InitPageSoundsCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.InitPageSoundsCommand"), hx::TCanCast< InitPageSoundsCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void InitPageSoundsCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/RemovePageCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/RemovePageCommand.cpp deleted file mode 100644 index 93abfd4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/RemovePageCommand.cpp +++ /dev/null @@ -1,241 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_RemovePageCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_PageMediator -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void RemovePageCommand_obj::__construct() -{ -HX_STACK_PUSH("RemovePageCommand::new","ca/confidant/glory/controller/RemovePageCommand.hx",25); -{ - HX_STACK_LINE(25) - super::__construct(); -} -; - return null(); -} - -RemovePageCommand_obj::~RemovePageCommand_obj() { } - -Dynamic RemovePageCommand_obj::__CreateEmpty() { return new RemovePageCommand_obj; } -hx::ObjectPtr< RemovePageCommand_obj > RemovePageCommand_obj::__new() -{ hx::ObjectPtr< RemovePageCommand_obj > result = new RemovePageCommand_obj(); - result->__construct(); - return result;} - -Dynamic RemovePageCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< RemovePageCommand_obj > result = new RemovePageCommand_obj(); - result->__construct(); - return result;} - -Void RemovePageCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("RemovePageCommand::execute","ca/confidant/glory/controller/RemovePageCommand.hx",31); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(32) - ::String pageId = hx::TCast< String >::cast(note->getBody()); HX_STACK_VAR(pageId,"pageId"); - HX_STACK_LINE(34) - this->pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); - HX_STACK_LINE(35) - this->appMediator = hx::TCast< ca::confidant::glory::view::ApplicationMediator >::cast(this->facade->retrieveMediator(HX_CSTRING("ApplicationMediator"))); - HX_STACK_LINE(36) - this->crp = hx::TCast< ca::confidant::glory::model::ControlsRegistryProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::ControlsRegistryProxy_obj::NAME)); - HX_STACK_LINE(41) - ::ca::confidant::glory::view::PageMediator pageMediator = hx::TCast< ca::confidant::glory::view::PageMediator >::cast(this->facade->retrieveMediator(pageId)); HX_STACK_VAR(pageMediator,"pageMediator"); - HX_STACK_LINE(42) - ::native::display::Sprite s = hx::TCast< native::display::Sprite >::cast(pageMediator->getViewComponent()); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(46) - while(((s->get_numChildren() > (int)0))){ - HX_STACK_LINE(47) - ::native::display::DisplayObject child = s->getChildAt((int)0); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(48) - if ((this->facade->hasMediator(child->get_name()))){ - HX_STACK_LINE(48) - this->facade->removeMediator(child->get_name()); - } - HX_STACK_LINE(51) - if ((this->facade->hasProxy(child->get_name()))){ - HX_STACK_LINE(51) - this->facade->removeProxy(child->get_name()); - } - HX_STACK_LINE(54) - s->removeChild(child); - HX_STACK_LINE(55) - child = null(); - } - HX_STACK_LINE(59) - pageMediator = null(); - HX_STACK_LINE(60) - this->facade->removeMediator(pageId); - HX_STACK_LINE(63) - this->appMediator->removeDisplayObject(s); - HX_STACK_LINE(64) - s = null(); - } -return null(); -} - - - -RemovePageCommand_obj::RemovePageCommand_obj() -{ -} - -void RemovePageCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(RemovePageCommand); - HX_MARK_MEMBER_NAME(crp,"crp"); - HX_MARK_MEMBER_NAME(appMediator,"appMediator"); - HX_MARK_MEMBER_NAME(pcp,"pcp"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void RemovePageCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(crp,"crp"); - HX_VISIT_MEMBER_NAME(appMediator,"appMediator"); - HX_VISIT_MEMBER_NAME(pcp,"pcp"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic RemovePageCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"crp") ) { return crp; } - if (HX_FIELD_EQ(inName,"pcp") ) { return pcp; } - break; - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { return appMediator; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic RemovePageCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"crp") ) { crp=inValue.Cast< ::ca::confidant::glory::model::ControlsRegistryProxy >(); return inValue; } - if (HX_FIELD_EQ(inName,"pcp") ) { pcp=inValue.Cast< ::ca::confidant::glory::model::PagesConfigProxy >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { appMediator=inValue.Cast< ::ca::confidant::glory::view::ApplicationMediator >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void RemovePageCommand_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("crp")); - outFields->push(HX_CSTRING("appMediator")); - outFields->push(HX_CSTRING("pcp")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - HX_CSTRING("crp"), - HX_CSTRING("appMediator"), - HX_CSTRING("pcp"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(RemovePageCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(RemovePageCommand_obj::__mClass,"__mClass"); -}; - -Class RemovePageCommand_obj::__mClass; - -void RemovePageCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.RemovePageCommand"), hx::TCanCast< RemovePageCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void RemovePageCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.cpp deleted file mode 100644 index 160815a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.cpp +++ /dev/null @@ -1,185 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_BuildControlsCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_BuildPageCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_ChangePageCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_DestroyPageSoundsCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_GotoIntroCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_HandleAssetsLoadedCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_InitPageSoundsCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_RemovePageCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_Startup0_RegCommands_Command -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_TimerDisableCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_TimerEnableCommand -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void Startup0_RegCommands_Command_obj::__construct() -{ -HX_STACK_PUSH("Startup0_RegCommands_Command::new","ca/confidant/glory/controller/Startup0_RegCommands_Command.hx",24); -{ - HX_STACK_LINE(24) - super::__construct(); -} -; - return null(); -} - -Startup0_RegCommands_Command_obj::~Startup0_RegCommands_Command_obj() { } - -Dynamic Startup0_RegCommands_Command_obj::__CreateEmpty() { return new Startup0_RegCommands_Command_obj; } -hx::ObjectPtr< Startup0_RegCommands_Command_obj > Startup0_RegCommands_Command_obj::__new() -{ hx::ObjectPtr< Startup0_RegCommands_Command_obj > result = new Startup0_RegCommands_Command_obj(); - result->__construct(); - return result;} - -Dynamic Startup0_RegCommands_Command_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Startup0_RegCommands_Command_obj > result = new Startup0_RegCommands_Command_obj(); - result->__construct(); - return result;} - -Void Startup0_RegCommands_Command_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("Startup0_RegCommands_Command::execute","ca/confidant/glory/controller/Startup0_RegCommands_Command.hx",28); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(29) - ::haxe::Log_obj::trace(HX_CSTRING("startup0"),hx::SourceInfo(HX_CSTRING("Startup0_RegCommands_Command.hx"),29,HX_CSTRING("ca.confidant.glory.controller.Startup0_RegCommands_Command"),HX_CSTRING("execute"))); - HX_STACK_LINE(30) - this->facade->registerCommand(HX_CSTRING("assetsLoaded"),hx::ClassOf< ::ca::confidant::glory::controller::HandleAssetsLoadedCommand >()); - HX_STACK_LINE(31) - this->facade->registerCommand(HX_CSTRING("pagesConfigReady"),hx::ClassOf< ::ca::confidant::glory::controller::GotoIntroCommand >()); - HX_STACK_LINE(32) - this->facade->registerCommand(HX_CSTRING("buildControls"),hx::ClassOf< ::ca::confidant::glory::controller::BuildControlsCommand >()); - HX_STACK_LINE(33) - this->facade->registerCommand(HX_CSTRING("buildPage"),hx::ClassOf< ::ca::confidant::glory::controller::BuildPageCommand >()); - HX_STACK_LINE(34) - this->facade->registerCommand(HX_CSTRING("removePage"),hx::ClassOf< ::ca::confidant::glory::controller::RemovePageCommand >()); - HX_STACK_LINE(35) - this->facade->registerCommand(HX_CSTRING("changePage"),hx::ClassOf< ::ca::confidant::glory::controller::ChangePageCommand >()); - HX_STACK_LINE(37) - this->facade->registerCommand(HX_CSTRING("timerEnable"),hx::ClassOf< ::ca::confidant::glory::controller::TimerEnableCommand >()); - HX_STACK_LINE(38) - this->facade->registerCommand(HX_CSTRING("timerDisable"),hx::ClassOf< ::ca::confidant::glory::controller::TimerDisableCommand >()); - HX_STACK_LINE(40) - this->facade->registerCommand(HX_CSTRING("initPageSounds"),hx::ClassOf< ::ca::confidant::glory::controller::InitPageSoundsCommand >()); - HX_STACK_LINE(41) - this->facade->registerCommand(HX_CSTRING("destroyPageSounds"),hx::ClassOf< ::ca::confidant::glory::controller::DestroyPageSoundsCommand >()); - } -return null(); -} - - - -Startup0_RegCommands_Command_obj::Startup0_RegCommands_Command_obj() -{ -} - -void Startup0_RegCommands_Command_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Startup0_RegCommands_Command); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Startup0_RegCommands_Command_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Startup0_RegCommands_Command_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Startup0_RegCommands_Command_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Startup0_RegCommands_Command_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Startup0_RegCommands_Command_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Startup0_RegCommands_Command_obj::__mClass,"__mClass"); -}; - -Class Startup0_RegCommands_Command_obj::__mClass; - -void Startup0_RegCommands_Command_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.Startup0_RegCommands_Command"), hx::TCanCast< Startup0_RegCommands_Command_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Startup0_RegCommands_Command_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/Startup1_App_Command.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/Startup1_App_Command.cpp deleted file mode 100644 index 9f9e8d0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/Startup1_App_Command.cpp +++ /dev/null @@ -1,174 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_Startup1_App_Command -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void Startup1_App_Command_obj::__construct() -{ -HX_STACK_PUSH("Startup1_App_Command::new","ca/confidant/glory/controller/Startup1_App_Command.hx",14); -{ - HX_STACK_LINE(14) - super::__construct(); -} -; - return null(); -} - -Startup1_App_Command_obj::~Startup1_App_Command_obj() { } - -Dynamic Startup1_App_Command_obj::__CreateEmpty() { return new Startup1_App_Command_obj; } -hx::ObjectPtr< Startup1_App_Command_obj > Startup1_App_Command_obj::__new() -{ hx::ObjectPtr< Startup1_App_Command_obj > result = new Startup1_App_Command_obj(); - result->__construct(); - return result;} - -Dynamic Startup1_App_Command_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Startup1_App_Command_obj > result = new Startup1_App_Command_obj(); - result->__construct(); - return result;} - -Void Startup1_App_Command_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("Startup1_App_Command::execute","ca/confidant/glory/controller/Startup1_App_Command.hx",18); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(19) - ::haxe::Log_obj::trace(HX_CSTRING("startup1"),hx::SourceInfo(HX_CSTRING("Startup1_App_Command.hx"),19,HX_CSTRING("ca.confidant.glory.controller.Startup1_App_Command"),HX_CSTRING("execute"))); - HX_STACK_LINE(20) - ::ca::confidant::glory::GloryFrameworkApp app = hx::TCast< ca::confidant::glory::GloryFrameworkApp >::cast(note->getBody()); HX_STACK_VAR(app,"app"); - HX_STACK_LINE(21) - ::ca::confidant::glory::view::ApplicationMediator appMediator = ::ca::confidant::glory::view::ApplicationMediator_obj::__new(app); HX_STACK_VAR(appMediator,"appMediator"); - HX_STACK_LINE(22) - this->facade->registerMediator(appMediator); - } -return null(); -} - - - -Startup1_App_Command_obj::Startup1_App_Command_obj() -{ -} - -void Startup1_App_Command_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Startup1_App_Command); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Startup1_App_Command_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Startup1_App_Command_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Startup1_App_Command_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Startup1_App_Command_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Startup1_App_Command_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Startup1_App_Command_obj::__mClass,"__mClass"); -}; - -Class Startup1_App_Command_obj::__mClass; - -void Startup1_App_Command_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.Startup1_App_Command"), hx::TCanCast< Startup1_App_Command_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Startup1_App_Command_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/Startup2_Proxies_Command.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/Startup2_Proxies_Command.cpp deleted file mode 100644 index 6f690cc..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/Startup2_Proxies_Command.cpp +++ /dev/null @@ -1,160 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_Startup2_Proxies_Command -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void Startup2_Proxies_Command_obj::__construct() -{ -HX_STACK_PUSH("Startup2_Proxies_Command::new","ca/confidant/glory/controller/Startup2_Proxies_Command.hx",18); -{ - HX_STACK_LINE(18) - super::__construct(); -} -; - return null(); -} - -Startup2_Proxies_Command_obj::~Startup2_Proxies_Command_obj() { } - -Dynamic Startup2_Proxies_Command_obj::__CreateEmpty() { return new Startup2_Proxies_Command_obj; } -hx::ObjectPtr< Startup2_Proxies_Command_obj > Startup2_Proxies_Command_obj::__new() -{ hx::ObjectPtr< Startup2_Proxies_Command_obj > result = new Startup2_Proxies_Command_obj(); - result->__construct(); - return result;} - -Dynamic Startup2_Proxies_Command_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Startup2_Proxies_Command_obj > result = new Startup2_Proxies_Command_obj(); - result->__construct(); - return result;} - -Void Startup2_Proxies_Command_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("Startup2_Proxies_Command::execute","ca/confidant/glory/controller/Startup2_Proxies_Command.hx",23); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(24) - ::haxe::Log_obj::trace(HX_CSTRING("startup2"),hx::SourceInfo(HX_CSTRING("Startup2_Proxies_Command.hx"),24,HX_CSTRING("ca.confidant.glory.controller.Startup2_Proxies_Command"),HX_CSTRING("execute"))); - HX_STACK_LINE(25) - this->facade->registerProxy(::ca::confidant::glory::model::PagesConfigProxy_obj::__new()); - HX_STACK_LINE(26) - this->facade->registerProxy(::ca::confidant::glory::model::ControlsRegistryProxy_obj::__new()); - HX_STACK_LINE(28) - ::ca::confidant::glory::model::LoaderProxy lp = ::ca::confidant::glory::model::LoaderProxy_obj::__new(); HX_STACK_VAR(lp,"lp"); - HX_STACK_LINE(29) - this->facade->registerProxy(lp); - HX_STACK_LINE(31) - lp->loadXML(HX_CSTRING("assets/config.xml")); - } -return null(); -} - - - -Startup2_Proxies_Command_obj::Startup2_Proxies_Command_obj() -{ -} - -void Startup2_Proxies_Command_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Startup2_Proxies_Command); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Startup2_Proxies_Command_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Startup2_Proxies_Command_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Startup2_Proxies_Command_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Startup2_Proxies_Command_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Startup2_Proxies_Command_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Startup2_Proxies_Command_obj::__mClass,"__mClass"); -}; - -Class Startup2_Proxies_Command_obj::__mClass; - -void Startup2_Proxies_Command_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.Startup2_Proxies_Command"), hx::TCanCast< Startup2_Proxies_Command_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Startup2_Proxies_Command_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/StartupCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/StartupCommand.cpp deleted file mode 100644 index f9983b4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/StartupCommand.cpp +++ /dev/null @@ -1,141 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_Startup0_RegCommands_Command -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_Startup1_App_Command -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_Startup2_Proxies_Command -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_StartupCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_MacroCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void StartupCommand_obj::__construct() -{ -HX_STACK_PUSH("StartupCommand::new","ca/confidant/glory/controller/StartupCommand.hx",15); -{ - HX_STACK_LINE(15) - super::__construct(); -} -; - return null(); -} - -StartupCommand_obj::~StartupCommand_obj() { } - -Dynamic StartupCommand_obj::__CreateEmpty() { return new StartupCommand_obj; } -hx::ObjectPtr< StartupCommand_obj > StartupCommand_obj::__new() -{ hx::ObjectPtr< StartupCommand_obj > result = new StartupCommand_obj(); - result->__construct(); - return result;} - -Dynamic StartupCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< StartupCommand_obj > result = new StartupCommand_obj(); - result->__construct(); - return result;} - -Void StartupCommand_obj::initializeMacroCommand( ){ -{ - HX_STACK_PUSH("StartupCommand::initializeMacroCommand","ca/confidant/glory/controller/StartupCommand.hx",20); - HX_STACK_THIS(this); - HX_STACK_LINE(22) - this->addSubCommand(hx::ClassOf< ::ca::confidant::glory::controller::Startup0_RegCommands_Command >()); - HX_STACK_LINE(23) - this->addSubCommand(hx::ClassOf< ::ca::confidant::glory::controller::Startup1_App_Command >()); - HX_STACK_LINE(24) - this->addSubCommand(hx::ClassOf< ::ca::confidant::glory::controller::Startup2_Proxies_Command >()); - } -return null(); -} - - - -StartupCommand_obj::StartupCommand_obj() -{ -} - -void StartupCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(StartupCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void StartupCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic StartupCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 22: - if (HX_FIELD_EQ(inName,"initializeMacroCommand") ) { return initializeMacroCommand_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic StartupCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void StartupCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("initializeMacroCommand"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StartupCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StartupCommand_obj::__mClass,"__mClass"); -}; - -Class StartupCommand_obj::__mClass; - -void StartupCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.StartupCommand"), hx::TCanCast< StartupCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void StartupCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/TimerDisableCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/TimerDisableCommand.cpp deleted file mode 100644 index 9560925..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/TimerDisableCommand.cpp +++ /dev/null @@ -1,153 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_TimerDisableCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_TickerProxy -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void TimerDisableCommand_obj::__construct() -{ -HX_STACK_PUSH("TimerDisableCommand::new","ca/confidant/glory/controller/TimerDisableCommand.hx",17); -{ - HX_STACK_LINE(17) - super::__construct(); -} -; - return null(); -} - -TimerDisableCommand_obj::~TimerDisableCommand_obj() { } - -Dynamic TimerDisableCommand_obj::__CreateEmpty() { return new TimerDisableCommand_obj; } -hx::ObjectPtr< TimerDisableCommand_obj > TimerDisableCommand_obj::__new() -{ hx::ObjectPtr< TimerDisableCommand_obj > result = new TimerDisableCommand_obj(); - result->__construct(); - return result;} - -Dynamic TimerDisableCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TimerDisableCommand_obj > result = new TimerDisableCommand_obj(); - result->__construct(); - return result;} - -Void TimerDisableCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("TimerDisableCommand::execute","ca/confidant/glory/controller/TimerDisableCommand.hx",21); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(22) - ::haxe::Log_obj::trace(HX_CSTRING("TimerDisableCommand"),hx::SourceInfo(HX_CSTRING("TimerDisableCommand.hx"),22,HX_CSTRING("ca.confidant.glory.controller.TimerDisableCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(23) - if ((this->facade->hasProxy(::ca::confidant::glory::model::TickerProxy_obj::NAME))){ - HX_STACK_LINE(25) - ::ca::confidant::glory::model::TickerProxy p; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(26) - p = hx::TCast< ca::confidant::glory::model::TickerProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::TickerProxy_obj::NAME)); - HX_STACK_LINE(27) - p->stopTimer(); - } - } -return null(); -} - - - -TimerDisableCommand_obj::TimerDisableCommand_obj() -{ -} - -void TimerDisableCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TimerDisableCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void TimerDisableCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic TimerDisableCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TimerDisableCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void TimerDisableCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TimerDisableCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TimerDisableCommand_obj::__mClass,"__mClass"); -}; - -Class TimerDisableCommand_obj::__mClass; - -void TimerDisableCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.TimerDisableCommand"), hx::TCanCast< TimerDisableCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TimerDisableCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/TimerEnableCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/TimerEnableCommand.cpp deleted file mode 100644 index fb6825f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/controller/TimerEnableCommand.cpp +++ /dev/null @@ -1,156 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_TimerEnableCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_TickerProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void TimerEnableCommand_obj::__construct() -{ -HX_STACK_PUSH("TimerEnableCommand::new","ca/confidant/glory/controller/TimerEnableCommand.hx",13); -{ - HX_STACK_LINE(13) - super::__construct(); -} -; - return null(); -} - -TimerEnableCommand_obj::~TimerEnableCommand_obj() { } - -Dynamic TimerEnableCommand_obj::__CreateEmpty() { return new TimerEnableCommand_obj; } -hx::ObjectPtr< TimerEnableCommand_obj > TimerEnableCommand_obj::__new() -{ hx::ObjectPtr< TimerEnableCommand_obj > result = new TimerEnableCommand_obj(); - result->__construct(); - return result;} - -Dynamic TimerEnableCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TimerEnableCommand_obj > result = new TimerEnableCommand_obj(); - result->__construct(); - return result;} - -Void TimerEnableCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("TimerEnableCommand::execute","ca/confidant/glory/controller/TimerEnableCommand.hx",21); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(23) - ::ca::confidant::glory::model::TickerProxy p; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(24) - if ((!(this->facade->hasProxy(::ca::confidant::glory::model::TickerProxy_obj::NAME)))){ - HX_STACK_LINE(26) - p = ::ca::confidant::glory::model::TickerProxy_obj::__new(); - HX_STACK_LINE(27) - this->facade->registerProxy(p); - } - else{ - HX_STACK_LINE(28) - p = hx::TCast< ca::confidant::glory::model::TickerProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::TickerProxy_obj::NAME)); - } - HX_STACK_LINE(32) - int interval = hx::TCast< Int >::cast(note->getBody()); HX_STACK_VAR(interval,"interval"); - HX_STACK_LINE(33) - p->startTimer(interval); - } -return null(); -} - - - -TimerEnableCommand_obj::TimerEnableCommand_obj() -{ -} - -void TimerEnableCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TimerEnableCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void TimerEnableCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic TimerEnableCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TimerEnableCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void TimerEnableCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TimerEnableCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TimerEnableCommand_obj::__mClass,"__mClass"); -}; - -Class TimerEnableCommand_obj::__mClass; - -void TimerEnableCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.TimerEnableCommand"), hx::TCanCast< TimerEnableCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TimerEnableCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/model/ActorComponentConfigProxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/model/ActorComponentConfigProxy.cpp deleted file mode 100644 index e06d64a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/model/ActorComponentConfigProxy.cpp +++ /dev/null @@ -1,136 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_model_ActorComponentConfigProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - -Void ActorComponentConfigProxy_obj::__construct(::String id,::String theType,::String __o_theAction) -{ -HX_STACK_PUSH("ActorComponentConfigProxy::new","ca/confidant/glory/model/ActorComponentConfigProxy.hx",21); -::String theAction = __o_theAction.Default(HX_CSTRING("")); -{ - HX_STACK_LINE(22) - super::__construct(id,null()); - HX_STACK_LINE(23) - this->type = theType; - HX_STACK_LINE(24) - this->action = theAction; -} -; - return null(); -} - -ActorComponentConfigProxy_obj::~ActorComponentConfigProxy_obj() { } - -Dynamic ActorComponentConfigProxy_obj::__CreateEmpty() { return new ActorComponentConfigProxy_obj; } -hx::ObjectPtr< ActorComponentConfigProxy_obj > ActorComponentConfigProxy_obj::__new(::String id,::String theType,::String __o_theAction) -{ hx::ObjectPtr< ActorComponentConfigProxy_obj > result = new ActorComponentConfigProxy_obj(); - result->__construct(id,theType,__o_theAction); - return result;} - -Dynamic ActorComponentConfigProxy_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ActorComponentConfigProxy_obj > result = new ActorComponentConfigProxy_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - - -ActorComponentConfigProxy_obj::ActorComponentConfigProxy_obj() -{ -} - -void ActorComponentConfigProxy_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ActorComponentConfigProxy); - HX_MARK_MEMBER_NAME(action,"action"); - HX_MARK_MEMBER_NAME(type,"type"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ActorComponentConfigProxy_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(action,"action"); - HX_VISIT_MEMBER_NAME(type,"type"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ActorComponentConfigProxy_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { return type; } - break; - case 6: - if (HX_FIELD_EQ(inName,"action") ) { return action; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ActorComponentConfigProxy_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"action") ) { action=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ActorComponentConfigProxy_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("action")); - outFields->push(HX_CSTRING("type")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("action"), - HX_CSTRING("type"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ActorComponentConfigProxy_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ActorComponentConfigProxy_obj::__mClass,"__mClass"); -}; - -Class ActorComponentConfigProxy_obj::__mClass; - -void ActorComponentConfigProxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.model.ActorComponentConfigProxy"), hx::TCanCast< ActorComponentConfigProxy_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ActorComponentConfigProxy_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/model/ControlsRegistryProxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/model/ControlsRegistryProxy.cpp deleted file mode 100644 index 9cdbb56..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/model/ControlsRegistryProxy.cpp +++ /dev/null @@ -1,194 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - -Void ControlsRegistryProxy_obj::__construct() -{ -HX_STACK_PUSH("ControlsRegistryProxy::new","ca/confidant/glory/model/ControlsRegistryProxy.hx",22); -{ - HX_STACK_LINE(23) - super::__construct(::ca::confidant::glory::model::ControlsRegistryProxy_obj::NAME,null()); - HX_STACK_LINE(25) - this->controls = Array_obj< ::native::display::DisplayObject >::__new(); - HX_STACK_LINE(26) - ::haxe::Log_obj::trace(HX_CSTRING("ControlsRegistryProxy!"),hx::SourceInfo(HX_CSTRING("ControlsRegistryProxy.hx"),26,HX_CSTRING("ca.confidant.glory.model.ControlsRegistryProxy"),HX_CSTRING("new"))); -} -; - return null(); -} - -ControlsRegistryProxy_obj::~ControlsRegistryProxy_obj() { } - -Dynamic ControlsRegistryProxy_obj::__CreateEmpty() { return new ControlsRegistryProxy_obj; } -hx::ObjectPtr< ControlsRegistryProxy_obj > ControlsRegistryProxy_obj::__new() -{ hx::ObjectPtr< ControlsRegistryProxy_obj > result = new ControlsRegistryProxy_obj(); - result->__construct(); - return result;} - -Dynamic ControlsRegistryProxy_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ControlsRegistryProxy_obj > result = new ControlsRegistryProxy_obj(); - result->__construct(); - return result;} - -Void ControlsRegistryProxy_obj::registerControl( ::native::display::DisplayObject d){ -{ - HX_STACK_PUSH("ControlsRegistryProxy::registerControl","ca/confidant/glory/model/ControlsRegistryProxy.hx",32); - HX_STACK_THIS(this); - HX_STACK_ARG(d,"d"); - HX_STACK_LINE(32) - this->controls->push(d); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ControlsRegistryProxy_obj,registerControl,(void)) - -Array< ::native::display::DisplayObject > ControlsRegistryProxy_obj::getControls( ){ - HX_STACK_PUSH("ControlsRegistryProxy::getControls","ca/confidant/glory/model/ControlsRegistryProxy.hx",28); - HX_STACK_THIS(this); - HX_STACK_LINE(29) - ::haxe::Log_obj::trace(HX_CSTRING("crp:getControls"),hx::SourceInfo(HX_CSTRING("ControlsRegistryProxy.hx"),29,HX_CSTRING("ca.confidant.glory.model.ControlsRegistryProxy"),HX_CSTRING("getControls"))); - HX_STACK_LINE(30) - return this->controls; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ControlsRegistryProxy_obj,getControls,return ) - -::String ControlsRegistryProxy_obj::NAME; - - -ControlsRegistryProxy_obj::ControlsRegistryProxy_obj() -{ -} - -void ControlsRegistryProxy_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ControlsRegistryProxy); - HX_MARK_MEMBER_NAME(controls,"controls"); - HX_MARK_MEMBER_NAME(currentPage,"currentPage"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ControlsRegistryProxy_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(controls,"controls"); - HX_VISIT_MEMBER_NAME(currentPage,"currentPage"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ControlsRegistryProxy_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - break; - case 8: - if (HX_FIELD_EQ(inName,"controls") ) { return controls; } - break; - case 11: - if (HX_FIELD_EQ(inName,"getControls") ) { return getControls_dyn(); } - if (HX_FIELD_EQ(inName,"currentPage") ) { return currentPage; } - break; - case 15: - if (HX_FIELD_EQ(inName,"registerControl") ) { return registerControl_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ControlsRegistryProxy_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"controls") ) { controls=inValue.Cast< Array< ::native::display::DisplayObject > >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"currentPage") ) { currentPage=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ControlsRegistryProxy_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("controls")); - outFields->push(HX_CSTRING("currentPage")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("registerControl"), - HX_CSTRING("getControls"), - HX_CSTRING("controls"), - HX_CSTRING("currentPage"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ControlsRegistryProxy_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ControlsRegistryProxy_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ControlsRegistryProxy_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ControlsRegistryProxy_obj::NAME,"NAME"); -}; - -Class ControlsRegistryProxy_obj::__mClass; - -void ControlsRegistryProxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.model.ControlsRegistryProxy"), hx::TCanCast< ControlsRegistryProxy_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ControlsRegistryProxy_obj::__boot() -{ - NAME= HX_CSTRING("ControlsRegistryProxy"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/model/LoaderProxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/model/LoaderProxy.cpp deleted file mode 100644 index de3fd91..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/model/LoaderProxy.cpp +++ /dev/null @@ -1,244 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_native_display_BitmapData -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_nme_installer_Assets -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - -Void LoaderProxy_obj::__construct() -{ -HX_STACK_PUSH("LoaderProxy::new","ca/confidant/glory/model/LoaderProxy.hx",28); -{ - HX_STACK_LINE(29) - super::__construct(::ca::confidant::glory::model::LoaderProxy_obj::NAME,null()); - HX_STACK_LINE(30) - this->loadedItems = ::Hash_obj::__new(); -} -; - return null(); -} - -LoaderProxy_obj::~LoaderProxy_obj() { } - -Dynamic LoaderProxy_obj::__CreateEmpty() { return new LoaderProxy_obj; } -hx::ObjectPtr< LoaderProxy_obj > LoaderProxy_obj::__new() -{ hx::ObjectPtr< LoaderProxy_obj > result = new LoaderProxy_obj(); - result->__construct(); - return result;} - -Dynamic LoaderProxy_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< LoaderProxy_obj > result = new LoaderProxy_obj(); - result->__construct(); - return result;} - -Void LoaderProxy_obj::loadAllAssets( ){ -{ - HX_STACK_PUSH("LoaderProxy::loadAllAssets","ca/confidant/glory/model/LoaderProxy.hx",69); - HX_STACK_THIS(this); - HX_STACK_LINE(69) - this->sendNotification(HX_CSTRING("assetsLoaded"),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(LoaderProxy_obj,loadAllAssets,(void)) - -::native::display::BitmapData LoaderProxy_obj::getBitmapData( ::String id,hx::Null< bool > __o_b){ -bool b = __o_b.Default(true); - HX_STACK_PUSH("LoaderProxy::getBitmapData","ca/confidant/glory/model/LoaderProxy.hx",60); - HX_STACK_THIS(this); - HX_STACK_ARG(id,"id"); - HX_STACK_ARG(b,"b"); -{ - HX_STACK_LINE(61) - ::native::display::BitmapData imageData = ::nme::installer::Assets_obj::getBitmapData(id,b); HX_STACK_VAR(imageData,"imageData"); - HX_STACK_LINE(62) - return imageData; - } -} - - -HX_DEFINE_DYNAMIC_FUNC2(LoaderProxy_obj,getBitmapData,return ) - -::String LoaderProxy_obj::getText( ::String id){ - HX_STACK_PUSH("LoaderProxy::getText","ca/confidant/glory/model/LoaderProxy.hx",55); - HX_STACK_THIS(this); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(56) - ::String theText = ::nme::installer::Assets_obj::getText(id); HX_STACK_VAR(theText,"theText"); - HX_STACK_LINE(57) - return theText; -} - - -HX_DEFINE_DYNAMIC_FUNC1(LoaderProxy_obj,getText,return ) - -Dynamic LoaderProxy_obj::retrieveLoadedAsset( ::String key){ - HX_STACK_PUSH("LoaderProxy::retrieveLoadedAsset","ca/confidant/glory/model/LoaderProxy.hx",48); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(50) - ::haxe::Log_obj::trace((HX_CSTRING("retrieving:") + key),hx::SourceInfo(HX_CSTRING("LoaderProxy.hx"),50,HX_CSTRING("ca.confidant.glory.model.LoaderProxy"),HX_CSTRING("retrieveLoadedAsset"))); - HX_STACK_LINE(51) - ::String r = this->loadedItems->get(key); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(52) - this->loadedItems->remove(key); - HX_STACK_LINE(53) - return r; -} - - -HX_DEFINE_DYNAMIC_FUNC1(LoaderProxy_obj,retrieveLoadedAsset,return ) - -Void LoaderProxy_obj::loadXML( ::String src){ -{ - HX_STACK_PUSH("LoaderProxy::loadXML","ca/confidant/glory/model/LoaderProxy.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(src,"src"); - HX_STACK_LINE(43) - ::String x = ::nme::installer::Assets_obj::getText(src); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(44) - this->loadedItems->set(HX_CSTRING("xml"),x); - HX_STACK_LINE(46) - this->sendNotification(HX_CSTRING("assetsLoaded"),HX_CSTRING("xml"),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(LoaderProxy_obj,loadXML,(void)) - -::String LoaderProxy_obj::NAME; - - -LoaderProxy_obj::LoaderProxy_obj() -{ -} - -void LoaderProxy_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(LoaderProxy); - HX_MARK_MEMBER_NAME(loadedItems,"loadedItems"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void LoaderProxy_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(loadedItems,"loadedItems"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic LoaderProxy_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getText") ) { return getText_dyn(); } - if (HX_FIELD_EQ(inName,"loadXML") ) { return loadXML_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"loadedItems") ) { return loadedItems; } - break; - case 13: - if (HX_FIELD_EQ(inName,"loadAllAssets") ) { return loadAllAssets_dyn(); } - if (HX_FIELD_EQ(inName,"getBitmapData") ) { return getBitmapData_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"retrieveLoadedAsset") ) { return retrieveLoadedAsset_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic LoaderProxy_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"loadedItems") ) { loadedItems=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void LoaderProxy_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("loadedItems")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("loadAllAssets"), - HX_CSTRING("getBitmapData"), - HX_CSTRING("getText"), - HX_CSTRING("retrieveLoadedAsset"), - HX_CSTRING("loadXML"), - HX_CSTRING("loadedItems"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(LoaderProxy_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(LoaderProxy_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(LoaderProxy_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(LoaderProxy_obj::NAME,"NAME"); -}; - -Class LoaderProxy_obj::__mClass; - -void LoaderProxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.model.LoaderProxy"), hx::TCanCast< LoaderProxy_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void LoaderProxy_obj::__boot() -{ - NAME= HX_CSTRING("LoaderProxy"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/model/PagesConfigProxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/model/PagesConfigProxy.cpp deleted file mode 100644 index 5796cae..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/model/PagesConfigProxy.cpp +++ /dev/null @@ -1,698 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_ValueType -#include -#endif -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasAttribAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasNodeAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_NodeAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_NodeListAccess -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - -Void PagesConfigProxy_obj::__construct() -{ -HX_STACK_PUSH("PagesConfigProxy::new","ca/confidant/glory/model/PagesConfigProxy.hx",34); -{ - HX_STACK_LINE(34) - super::__construct(HX_CSTRING("pagesConfigProxy"),null()); -} -; - return null(); -} - -PagesConfigProxy_obj::~PagesConfigProxy_obj() { } - -Dynamic PagesConfigProxy_obj::__CreateEmpty() { return new PagesConfigProxy_obj; } -hx::ObjectPtr< PagesConfigProxy_obj > PagesConfigProxy_obj::__new() -{ hx::ObjectPtr< PagesConfigProxy_obj > result = new PagesConfigProxy_obj(); - result->__construct(); - return result;} - -Dynamic PagesConfigProxy_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< PagesConfigProxy_obj > result = new PagesConfigProxy_obj(); - result->__construct(); - return result;} - -::Xml PagesConfigProxy_obj::pagesXML( ){ - HX_STACK_PUSH("PagesConfigProxy::pagesXML","ca/confidant/glory/model/PagesConfigProxy.hx",221); - HX_STACK_THIS(this); - HX_STACK_LINE(221) - return this->_pagesXML; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,pagesXML,return ) - -Dynamic PagesConfigProxy_obj::getConfigXML( int i){ - HX_STACK_PUSH("PagesConfigProxy::getConfigXML","ca/confidant/glory/model/PagesConfigProxy.hx",215); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); - HX_STACK_LINE(215) - return this->randomPicks->__GetItem(i)->__Field(HX_CSTRING("config"),true); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getConfigXML,return ) - -Void PagesConfigProxy_obj::parseXML( ){ -{ - HX_STACK_PUSH("PagesConfigProxy::parseXML","ca/confidant/glory/model/PagesConfigProxy.hx",179); - HX_STACK_THIS(this); - HX_STACK_LINE(180) - this->allPages = Array_obj< ::Hash >::__new(); - HX_STACK_LINE(182) - this->imageItems = Dynamic( Array_obj::__new() ); - HX_STACK_LINE(186) - for(::cpp::FastIterator_obj< ::haxe::xml::Fast > *__it = ::cpp::CreateFastIterator< ::haxe::xml::Fast >(this->fast->nodes->resolve(HX_CSTRING("page"))->iterator()); __it->hasNext(); ){ - ::haxe::xml::Fast thispage = __it->next(); - { - HX_STACK_LINE(187) - ::Hash h = ::Hash_obj::__new(); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(188) - if ((thispage->has->resolve(HX_CSTRING("id")))){ - HX_STACK_LINE(188) - h->set(HX_CSTRING("id"),thispage->att->resolve(HX_CSTRING("id"))); - } - HX_STACK_LINE(191) - if ((thispage->has->resolve(HX_CSTRING("src")))){ - HX_STACK_LINE(191) - h->set(HX_CSTRING("src"),thispage->att->resolve(HX_CSTRING("src"))); - } - HX_STACK_LINE(192) - if ((thispage->has->resolve(HX_CSTRING("type")))){ - HX_STACK_LINE(192) - h->set(HX_CSTRING("type"),thispage->att->resolve(HX_CSTRING("type"))); - } - HX_STACK_LINE(193) - if ((thispage->hasNode->resolve(HX_CSTRING("background")))){ - HX_STACK_LINE(193) - h->set(HX_CSTRING("background"),thispage->node->resolve(HX_CSTRING("background"))->att->resolve(HX_CSTRING("src"))); - } - HX_STACK_LINE(194) - if ((thispage->hasNode->resolve(HX_CSTRING("actor")))){ - HX_STACK_LINE(194) - h->set(HX_CSTRING("actors"),thispage->nodes->resolve(HX_CSTRING("actor"))); - } - HX_STACK_LINE(199) - if ((thispage->hasNode->resolve(HX_CSTRING("sound")))){ - HX_STACK_LINE(200) - ::haxe::Log_obj::trace((HX_CSTRING("hasSounds:") + thispage->att->resolve(HX_CSTRING("id"))),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),200,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("parseXML"))); - HX_STACK_LINE(201) - h->set(HX_CSTRING("sounds"),thispage->nodes->resolve(HX_CSTRING("sound"))); - } - HX_STACK_LINE(206) - this->allPages->push(h); - } -; - } - HX_STACK_LINE(211) - this->sendNotification(HX_CSTRING("pagesConfigReady"),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,parseXML,(void)) - -int PagesConfigProxy_obj::numpages( ){ - HX_STACK_PUSH("PagesConfigProxy::numpages","ca/confidant/glory/model/PagesConfigProxy.hx",175); - HX_STACK_THIS(this); - HX_STACK_LINE(175) - return this->allPages->length; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,numpages,return ) - -Dynamic PagesConfigProxy_obj::getPosition( int i){ - HX_STACK_PUSH("PagesConfigProxy::getPosition","ca/confidant/glory/model/PagesConfigProxy.hx",172); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); - HX_STACK_LINE(172) - return this->randomPositions->__GetItem(i); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getPosition,return ) - -::Hash PagesConfigProxy_obj::getPage( ::String pageId){ - HX_STACK_PUSH("PagesConfigProxy::getPage","ca/confidant/glory/model/PagesConfigProxy.hx",164); - HX_STACK_THIS(this); - HX_STACK_ARG(pageId,"pageId"); - HX_STACK_LINE(165) - { - HX_STACK_LINE(165) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::Hash > _g1 = this->allPages; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(165) - while(((_g < _g1->length))){ - HX_STACK_LINE(165) - ::Hash thispage = _g1->__get(_g); HX_STACK_VAR(thispage,"thispage"); - HX_STACK_LINE(165) - ++(_g); - HX_STACK_LINE(166) - if (((thispage->get(HX_CSTRING("id")) == pageId))){ - HX_STACK_LINE(166) - return thispage; - } - } - } - HX_STACK_LINE(170) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getPage,return ) - -::String PagesConfigProxy_obj::getActorHref( ::String controlId){ - HX_STACK_PUSH("PagesConfigProxy::getActorHref","ca/confidant/glory/model/PagesConfigProxy.hx",152); - HX_STACK_THIS(this); - HX_STACK_ARG(controlId,"controlId"); - HX_STACK_LINE(153) - if ((this->fast->node->resolve(HX_CSTRING("page"))->hasNode->resolve(HX_CSTRING("actor")))){ - HX_STACK_LINE(153) - for(::cpp::FastIterator_obj< ::haxe::xml::Fast > *__it = ::cpp::CreateFastIterator< ::haxe::xml::Fast >(this->fast->node->resolve(HX_CSTRING("page"))->nodes->resolve(HX_CSTRING("actor"))->iterator()); __it->hasNext(); ){ - ::haxe::xml::Fast node = __it->next(); - if (((node->att->resolve(HX_CSTRING("id")) == controlId))){ - HX_STACK_LINE(156) - return node->att->resolve(HX_CSTRING("href")); - } -; - } - } - HX_STACK_LINE(162) - return HX_CSTRING("#"); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getActorHref,return ) - -::String PagesConfigProxy_obj::getControlHref( ::String controlId){ - HX_STACK_PUSH("PagesConfigProxy::getControlHref","ca/confidant/glory/model/PagesConfigProxy.hx",140); - HX_STACK_THIS(this); - HX_STACK_ARG(controlId,"controlId"); - HX_STACK_LINE(141) - if ((this->fast->node->resolve(HX_CSTRING("controls"))->hasNode->resolve(HX_CSTRING("button")))){ - HX_STACK_LINE(141) - for(::cpp::FastIterator_obj< ::haxe::xml::Fast > *__it = ::cpp::CreateFastIterator< ::haxe::xml::Fast >(this->fast->node->resolve(HX_CSTRING("controls"))->nodes->resolve(HX_CSTRING("button"))->iterator()); __it->hasNext(); ){ - ::haxe::xml::Fast node = __it->next(); - if (((node->att->resolve(HX_CSTRING("id")) == controlId))){ - HX_STACK_LINE(144) - return node->att->resolve(HX_CSTRING("href")); - } -; - } - } - HX_STACK_LINE(150) - return HX_CSTRING("#"); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getControlHref,return ) - -::List PagesConfigProxy_obj::getAppControls( ){ - HX_STACK_PUSH("PagesConfigProxy::getAppControls","ca/confidant/glory/model/PagesConfigProxy.hx",133); - HX_STACK_THIS(this); - HX_STACK_LINE(134) - ::haxe::Log_obj::trace(HX_CSTRING("getAppControls"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),134,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getAppControls"))); - HX_STACK_LINE(135) - if ((this->fast->node->resolve(HX_CSTRING("controls"))->hasNode->resolve(HX_CSTRING("button")))){ - HX_STACK_LINE(135) - return this->fast->node->resolve(HX_CSTRING("controls"))->nodes->resolve(HX_CSTRING("button")); - } - HX_STACK_LINE(138) - return ::List_obj::__new(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,getAppControls,return ) - -::List PagesConfigProxy_obj::getPageSounds( ::String pageId){ - HX_STACK_PUSH("PagesConfigProxy::getPageSounds","ca/confidant/glory/model/PagesConfigProxy.hx",123); - HX_STACK_THIS(this); - HX_STACK_ARG(pageId,"pageId"); - HX_STACK_LINE(124) - ::Hash p = this->getPage(pageId); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(125) - if (((bool((p != null())) && bool((p->get(HX_CSTRING("sounds")) != null()))))){ - HX_STACK_LINE(126) - ::haxe::Log_obj::trace((HX_CSTRING("returning sounds!:") + ::Std_obj::string(::Type_obj::_typeof(p->get(HX_CSTRING("sounds"))))),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),126,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getPageSounds"))); - HX_STACK_LINE(127) - return p->get(HX_CSTRING("sounds")); - } - else{ - HX_STACK_LINE(129) - ::haxe::Log_obj::trace(HX_CSTRING("returning no sounds!"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),129,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getPageSounds"))); - HX_STACK_LINE(130) - return ::List_obj::__new(); - } - HX_STACK_LINE(125) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getPageSounds,return ) - -::List PagesConfigProxy_obj::getPageActors( ::String pageId){ - HX_STACK_PUSH("PagesConfigProxy::getPageActors","ca/confidant/glory/model/PagesConfigProxy.hx",112); - HX_STACK_THIS(this); - HX_STACK_ARG(pageId,"pageId"); - HX_STACK_LINE(113) - ::Hash p = this->getPage(pageId); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(114) - if (((bool((p != null())) && bool((p->get(HX_CSTRING("actors")) != null()))))){ - HX_STACK_LINE(115) - ::haxe::Log_obj::trace(HX_CSTRING("returning actors!"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),115,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getPageActors"))); - HX_STACK_LINE(116) - return p->get(HX_CSTRING("actors")); - } - else{ - HX_STACK_LINE(119) - ::haxe::Log_obj::trace(HX_CSTRING("returning empty!"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),119,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getPageActors"))); - HX_STACK_LINE(120) - return ::List_obj::__new(); - } - HX_STACK_LINE(114) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getPageActors,return ) - -::String PagesConfigProxy_obj::getBackground( ::String pageId){ - HX_STACK_PUSH("PagesConfigProxy::getBackground","ca/confidant/glory/model/PagesConfigProxy.hx",105); - HX_STACK_THIS(this); - HX_STACK_ARG(pageId,"pageId"); - HX_STACK_LINE(106) - ::Hash p = this->getPage(pageId); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(107) - if (((p != null()))){ - HX_STACK_LINE(107) - return p->get(HX_CSTRING("background")); - } - HX_STACK_LINE(110) - return HX_CSTRING(""); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getBackground,return ) - -::Hash PagesConfigProxy_obj::getPreviousPage( ){ - HX_STACK_PUSH("PagesConfigProxy::getPreviousPage","ca/confidant/glory/model/PagesConfigProxy.hx",87); - HX_STACK_THIS(this); - HX_STACK_LINE(89) - int j = (int)1; HX_STACK_VAR(j,"j"); - HX_STACK_LINE(91) - while((((this->currentPage - j) >= (int)0))){ - HX_STACK_LINE(91) - if (((this->allPages->__get((this->currentPage - j))->get(HX_CSTRING("type")) == HX_CSTRING("normal")))){ - HX_STACK_LINE(94) - ::haxe::Log_obj::trace(HX_CSTRING("normal"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),94,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getPreviousPage"))); - HX_STACK_LINE(95) - return this->allPages->__get((this->currentPage - j)); - } - else{ - HX_STACK_LINE(97) - ::haxe::Log_obj::trace(HX_CSTRING("notnormal"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),97,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getPreviousPage"))); - HX_STACK_LINE(98) - (j)++; - } - } - HX_STACK_LINE(102) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,getPreviousPage,return ) - -::Hash PagesConfigProxy_obj::getNextPage( ){ - HX_STACK_PUSH("PagesConfigProxy::getNextPage","ca/confidant/glory/model/PagesConfigProxy.hx",68); - HX_STACK_THIS(this); - HX_STACK_LINE(70) - int j = (int)1; HX_STACK_VAR(j,"j"); - HX_STACK_LINE(72) - while((((this->currentPage + j) < this->allPages->length))){ - HX_STACK_LINE(72) - if (((this->allPages->__get((this->currentPage + j))->get(HX_CSTRING("type")) == HX_CSTRING("normal")))){ - HX_STACK_LINE(75) - ::haxe::Log_obj::trace(HX_CSTRING("normal"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),75,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getNextPage"))); - HX_STACK_LINE(76) - return this->allPages->__get((this->currentPage + j)); - } - else{ - HX_STACK_LINE(78) - ::haxe::Log_obj::trace(HX_CSTRING("notnormal"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),78,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getNextPage"))); - HX_STACK_LINE(79) - (j)++; - } - } - HX_STACK_LINE(83) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,getNextPage,return ) - -::Hash PagesConfigProxy_obj::getPageById( ::String id){ - HX_STACK_PUSH("PagesConfigProxy::getPageById","ca/confidant/glory/model/PagesConfigProxy.hx",59); - HX_STACK_THIS(this); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(60) - { - HX_STACK_LINE(60) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->allPages->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(60) - while(((_g1 < _g))){ - HX_STACK_LINE(60) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(61) - if (((this->allPages->__get(i)->get(HX_CSTRING("id")) == id))){ - HX_STACK_LINE(61) - return this->allPages->__get(i); - } - } - } - HX_STACK_LINE(66) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getPageById,return ) - -Void PagesConfigProxy_obj::setCurrentPageById( ::String id){ -{ - HX_STACK_PUSH("PagesConfigProxy::setCurrentPageById","ca/confidant/glory/model/PagesConfigProxy.hx",52); - HX_STACK_THIS(this); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(53) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->allPages->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(53) - while(((_g1 < _g))){ - HX_STACK_LINE(53) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(54) - if (((this->allPages->__get(i)->get(HX_CSTRING("id")) == id))){ - HX_STACK_LINE(54) - this->currentPage = i; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,setCurrentPageById,(void)) - -::Hash PagesConfigProxy_obj::getCurrentPage( ){ - HX_STACK_PUSH("PagesConfigProxy::getCurrentPage","ca/confidant/glory/model/PagesConfigProxy.hx",49); - HX_STACK_THIS(this); - HX_STACK_LINE(49) - return this->allPages->__get(this->currentPage); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,getCurrentPage,return ) - -Void PagesConfigProxy_obj::loadXML( ::String rawXML){ -{ - HX_STACK_PUSH("PagesConfigProxy::loadXML","ca/confidant/glory/model/PagesConfigProxy.hx",39); - HX_STACK_THIS(this); - HX_STACK_ARG(rawXML,"rawXML"); - HX_STACK_LINE(40) - this->randomPicks = Dynamic( Array_obj::__new() ); - HX_STACK_LINE(41) - this->positions = Array_obj< ::Hash >::__new(); - HX_STACK_LINE(42) - this->randomPositions = Dynamic( Array_obj::__new() ); - HX_STACK_LINE(43) - this->currentPage = (int)0; - HX_STACK_LINE(44) - this->_pagesXML = ::Xml_obj::parse(rawXML); - HX_STACK_LINE(45) - this->fast = ::haxe::xml::Fast_obj::__new(this->_pagesXML->firstElement()); - HX_STACK_LINE(47) - this->parseXML(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,loadXML,(void)) - -::String PagesConfigProxy_obj::NAME; - - -PagesConfigProxy_obj::PagesConfigProxy_obj() -{ -} - -void PagesConfigProxy_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(PagesConfigProxy); - HX_MARK_MEMBER_NAME(currentPage,"currentPage"); - HX_MARK_MEMBER_NAME(chosenLayout,"chosenLayout"); - HX_MARK_MEMBER_NAME(chosenpages,"chosenpages"); - HX_MARK_MEMBER_NAME(randomPositions,"randomPositions"); - HX_MARK_MEMBER_NAME(positions,"positions"); - HX_MARK_MEMBER_NAME(randomPicks,"randomPicks"); - HX_MARK_MEMBER_NAME(imageItems,"imageItems"); - HX_MARK_MEMBER_NAME(allPages,"allPages"); - HX_MARK_MEMBER_NAME(fast,"fast"); - HX_MARK_MEMBER_NAME(_pagesXML,"_pagesXML"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void PagesConfigProxy_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(currentPage,"currentPage"); - HX_VISIT_MEMBER_NAME(chosenLayout,"chosenLayout"); - HX_VISIT_MEMBER_NAME(chosenpages,"chosenpages"); - HX_VISIT_MEMBER_NAME(randomPositions,"randomPositions"); - HX_VISIT_MEMBER_NAME(positions,"positions"); - HX_VISIT_MEMBER_NAME(randomPicks,"randomPicks"); - HX_VISIT_MEMBER_NAME(imageItems,"imageItems"); - HX_VISIT_MEMBER_NAME(allPages,"allPages"); - HX_VISIT_MEMBER_NAME(fast,"fast"); - HX_VISIT_MEMBER_NAME(_pagesXML,"_pagesXML"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic PagesConfigProxy_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - if (HX_FIELD_EQ(inName,"fast") ) { return fast; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getPage") ) { return getPage_dyn(); } - if (HX_FIELD_EQ(inName,"loadXML") ) { return loadXML_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"pagesXML") ) { return pagesXML_dyn(); } - if (HX_FIELD_EQ(inName,"parseXML") ) { return parseXML_dyn(); } - if (HX_FIELD_EQ(inName,"numpages") ) { return numpages_dyn(); } - if (HX_FIELD_EQ(inName,"allPages") ) { return allPages; } - break; - case 9: - if (HX_FIELD_EQ(inName,"positions") ) { return positions; } - if (HX_FIELD_EQ(inName,"_pagesXML") ) { return _pagesXML; } - break; - case 10: - if (HX_FIELD_EQ(inName,"imageItems") ) { return imageItems; } - break; - case 11: - if (HX_FIELD_EQ(inName,"getPosition") ) { return getPosition_dyn(); } - if (HX_FIELD_EQ(inName,"getNextPage") ) { return getNextPage_dyn(); } - if (HX_FIELD_EQ(inName,"getPageById") ) { return getPageById_dyn(); } - if (HX_FIELD_EQ(inName,"currentPage") ) { return currentPage; } - if (HX_FIELD_EQ(inName,"chosenpages") ) { return chosenpages; } - if (HX_FIELD_EQ(inName,"randomPicks") ) { return randomPicks; } - break; - case 12: - if (HX_FIELD_EQ(inName,"getConfigXML") ) { return getConfigXML_dyn(); } - if (HX_FIELD_EQ(inName,"getActorHref") ) { return getActorHref_dyn(); } - if (HX_FIELD_EQ(inName,"chosenLayout") ) { return chosenLayout; } - break; - case 13: - if (HX_FIELD_EQ(inName,"getPageSounds") ) { return getPageSounds_dyn(); } - if (HX_FIELD_EQ(inName,"getPageActors") ) { return getPageActors_dyn(); } - if (HX_FIELD_EQ(inName,"getBackground") ) { return getBackground_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"getControlHref") ) { return getControlHref_dyn(); } - if (HX_FIELD_EQ(inName,"getAppControls") ) { return getAppControls_dyn(); } - if (HX_FIELD_EQ(inName,"getCurrentPage") ) { return getCurrentPage_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"getPreviousPage") ) { return getPreviousPage_dyn(); } - if (HX_FIELD_EQ(inName,"randomPositions") ) { return randomPositions; } - break; - case 18: - if (HX_FIELD_EQ(inName,"setCurrentPageById") ) { return setCurrentPageById_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic PagesConfigProxy_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"fast") ) { fast=inValue.Cast< ::haxe::xml::Fast >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"allPages") ) { allPages=inValue.Cast< Array< ::Hash > >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"positions") ) { positions=inValue.Cast< Array< ::Hash > >(); return inValue; } - if (HX_FIELD_EQ(inName,"_pagesXML") ) { _pagesXML=inValue.Cast< ::Xml >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"imageItems") ) { imageItems=inValue.Cast< Dynamic >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"currentPage") ) { currentPage=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"chosenpages") ) { chosenpages=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"randomPicks") ) { randomPicks=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"chosenLayout") ) { chosenLayout=inValue.Cast< ::String >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"randomPositions") ) { randomPositions=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void PagesConfigProxy_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("currentPage")); - outFields->push(HX_CSTRING("chosenLayout")); - outFields->push(HX_CSTRING("chosenpages")); - outFields->push(HX_CSTRING("randomPositions")); - outFields->push(HX_CSTRING("positions")); - outFields->push(HX_CSTRING("randomPicks")); - outFields->push(HX_CSTRING("imageItems")); - outFields->push(HX_CSTRING("allPages")); - outFields->push(HX_CSTRING("fast")); - outFields->push(HX_CSTRING("_pagesXML")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("pagesXML"), - HX_CSTRING("getConfigXML"), - HX_CSTRING("parseXML"), - HX_CSTRING("numpages"), - HX_CSTRING("getPosition"), - HX_CSTRING("getPage"), - HX_CSTRING("getActorHref"), - HX_CSTRING("getControlHref"), - HX_CSTRING("getAppControls"), - HX_CSTRING("getPageSounds"), - HX_CSTRING("getPageActors"), - HX_CSTRING("getBackground"), - HX_CSTRING("getPreviousPage"), - HX_CSTRING("getNextPage"), - HX_CSTRING("getPageById"), - HX_CSTRING("setCurrentPageById"), - HX_CSTRING("getCurrentPage"), - HX_CSTRING("loadXML"), - HX_CSTRING("currentPage"), - HX_CSTRING("chosenLayout"), - HX_CSTRING("chosenpages"), - HX_CSTRING("randomPositions"), - HX_CSTRING("positions"), - HX_CSTRING("randomPicks"), - HX_CSTRING("imageItems"), - HX_CSTRING("allPages"), - HX_CSTRING("fast"), - HX_CSTRING("_pagesXML"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PagesConfigProxy_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(PagesConfigProxy_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PagesConfigProxy_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(PagesConfigProxy_obj::NAME,"NAME"); -}; - -Class PagesConfigProxy_obj::__mClass; - -void PagesConfigProxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"), hx::TCanCast< PagesConfigProxy_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void PagesConfigProxy_obj::__boot() -{ - NAME= HX_CSTRING("pagesConfigProxy"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/model/TickerProxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/model/TickerProxy.cpp deleted file mode 100644 index 797c0eb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/model/TickerProxy.cpp +++ /dev/null @@ -1,217 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_model_TickerProxy -#include -#endif -#ifndef INCLUDED_haxe_Timer -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - -Void TickerProxy_obj::__construct() -{ -HX_STACK_PUSH("TickerProxy::new","ca/confidant/glory/model/TickerProxy.hx",24); -{ - HX_STACK_LINE(24) - super::__construct(::ca::confidant::glory::model::TickerProxy_obj::NAME,null()); -} -; - return null(); -} - -TickerProxy_obj::~TickerProxy_obj() { } - -Dynamic TickerProxy_obj::__CreateEmpty() { return new TickerProxy_obj; } -hx::ObjectPtr< TickerProxy_obj > TickerProxy_obj::__new() -{ hx::ObjectPtr< TickerProxy_obj > result = new TickerProxy_obj(); - result->__construct(); - return result;} - -Dynamic TickerProxy_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TickerProxy_obj > result = new TickerProxy_obj(); - result->__construct(); - return result;} - -Void TickerProxy_obj::setInterval( int i){ -{ - HX_STACK_PUSH("TickerProxy::setInterval","ca/confidant/glory/model/TickerProxy.hx",40); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); - HX_STACK_LINE(40) - this->interval = i; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(TickerProxy_obj,setInterval,(void)) - -Void TickerProxy_obj::onTimerTick( ){ -{ - HX_STACK_PUSH("TickerProxy::onTimerTick","ca/confidant/glory/model/TickerProxy.hx",36); - HX_STACK_THIS(this); - HX_STACK_LINE(36) - this->sendNotification(HX_CSTRING("timerTick"),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(TickerProxy_obj,onTimerTick,(void)) - -Void TickerProxy_obj::stopTimer( ){ -{ - HX_STACK_PUSH("TickerProxy::stopTimer","ca/confidant/glory/model/TickerProxy.hx",33); - HX_STACK_THIS(this); - HX_STACK_LINE(33) - this->myTimer->stop(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(TickerProxy_obj,stopTimer,(void)) - -Void TickerProxy_obj::startTimer( hx::Null< int > __o_i){ -int i = __o_i.Default(0); - HX_STACK_PUSH("TickerProxy::startTimer","ca/confidant/glory/model/TickerProxy.hx",28); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); -{ - HX_STACK_LINE(30) - this->myTimer = ::haxe::Timer_obj::__new(this->interval); - HX_STACK_LINE(31) - this->myTimer->run = this->onTimerTick_dyn(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(TickerProxy_obj,startTimer,(void)) - -::String TickerProxy_obj::NAME; - - -TickerProxy_obj::TickerProxy_obj() -{ -} - -void TickerProxy_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TickerProxy); - HX_MARK_MEMBER_NAME(myTimer,"myTimer"); - HX_MARK_MEMBER_NAME(interval,"interval"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void TickerProxy_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(myTimer,"myTimer"); - HX_VISIT_MEMBER_NAME(interval,"interval"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic TickerProxy_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - break; - case 7: - if (HX_FIELD_EQ(inName,"myTimer") ) { return myTimer; } - break; - case 8: - if (HX_FIELD_EQ(inName,"interval") ) { return interval; } - break; - case 9: - if (HX_FIELD_EQ(inName,"stopTimer") ) { return stopTimer_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"startTimer") ) { return startTimer_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"setInterval") ) { return setInterval_dyn(); } - if (HX_FIELD_EQ(inName,"onTimerTick") ) { return onTimerTick_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TickerProxy_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"myTimer") ) { myTimer=inValue.Cast< ::haxe::Timer >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"interval") ) { interval=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void TickerProxy_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("myTimer")); - outFields->push(HX_CSTRING("interval")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("setInterval"), - HX_CSTRING("onTimerTick"), - HX_CSTRING("stopTimer"), - HX_CSTRING("startTimer"), - HX_CSTRING("myTimer"), - HX_CSTRING("interval"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TickerProxy_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(TickerProxy_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TickerProxy_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(TickerProxy_obj::NAME,"NAME"); -}; - -Class TickerProxy_obj::__mClass; - -void TickerProxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.model.TickerProxy"), hx::TCanCast< TickerProxy_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TickerProxy_obj::__boot() -{ - NAME= HX_CSTRING("TickerProxy"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/ActorComponentMediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/ActorComponentMediator.cpp deleted file mode 100644 index 2fa14e4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/ActorComponentMediator.cpp +++ /dev/null @@ -1,370 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_model_ActorComponentConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ActorComponentMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_MouseEvent -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - -Void ActorComponentMediator_obj::__construct(::String id,::ca::confidant::glory::view::components::ActorComponent viewComponent,::ca::confidant::glory::model::ActorComponentConfigProxy accp) -{ -HX_STACK_PUSH("ActorComponentMediator::new","ca/confidant/glory/view/ActorComponentMediator.hx",26); -{ - HX_STACK_LINE(27) - super::__construct(id,viewComponent); - HX_STACK_LINE(28) - this->config = accp; - HX_STACK_LINE(29) - this->addListeners(); -} -; - return null(); -} - -ActorComponentMediator_obj::~ActorComponentMediator_obj() { } - -Dynamic ActorComponentMediator_obj::__CreateEmpty() { return new ActorComponentMediator_obj; } -hx::ObjectPtr< ActorComponentMediator_obj > ActorComponentMediator_obj::__new(::String id,::ca::confidant::glory::view::components::ActorComponent viewComponent,::ca::confidant::glory::model::ActorComponentConfigProxy accp) -{ hx::ObjectPtr< ActorComponentMediator_obj > result = new ActorComponentMediator_obj(); - result->__construct(id,viewComponent,accp); - return result;} - -Dynamic ActorComponentMediator_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ActorComponentMediator_obj > result = new ActorComponentMediator_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -::ca::confidant::glory::view::components::ActorComponent ActorComponentMediator_obj::actor( ){ - HX_STACK_PUSH("ActorComponentMediator::actor","ca/confidant/glory/view/ActorComponentMediator.hx",131); - HX_STACK_THIS(this); - HX_STACK_LINE(131) - return this->viewComponent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ActorComponentMediator_obj,actor,return ) - -Void ActorComponentMediator_obj::onPanRight( Dynamic e){ -{ - HX_STACK_PUSH("ActorComponentMediator::onPanRight","ca/confidant/glory/view/ActorComponentMediator.hx",126); - HX_STACK_THIS(this); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(126) - this->actor()->set_x((this->actor()->get_x() - (int)4)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ActorComponentMediator_obj,onPanRight,(void)) - -Void ActorComponentMediator_obj::onPanLeft( Dynamic e){ -{ - HX_STACK_PUSH("ActorComponentMediator::onPanLeft","ca/confidant/glory/view/ActorComponentMediator.hx",120); - HX_STACK_THIS(this); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(120) - this->actor()->set_x((this->actor()->get_x() + (int)4)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ActorComponentMediator_obj,onPanLeft,(void)) - -Void ActorComponentMediator_obj::handleNotification( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("ActorComponentMediator::handleNotification","ca/confidant/glory/view/ActorComponentMediator.hx",103); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(103) - ::String _switch_1 = (note->getName()); - if ( ( _switch_1==HX_CSTRING("timerTick"))){ - } - else if ( ( _switch_1==HX_CSTRING("panLeft"))){ - HX_STACK_LINE(108) - this->actor()->addEventListener(::native::events::Event_obj::ENTER_FRAME,this->onPanLeft_dyn(),null(),null(),null()); - } - else if ( ( _switch_1==HX_CSTRING("panRight"))){ - HX_STACK_LINE(110) - this->actor()->addEventListener(::native::events::Event_obj::ENTER_FRAME,this->onPanRight_dyn(),null(),null(),null()); - } - else if ( ( _switch_1==HX_CSTRING("panStop"))){ - HX_STACK_LINE(113) - this->actor()->removeEventListener(::native::events::Event_obj::ENTER_FRAME,this->onPanRight_dyn(),null()); - HX_STACK_LINE(114) - this->actor()->removeEventListener(::native::events::Event_obj::ENTER_FRAME,this->onPanLeft_dyn(),null()); - } - } -return null(); -} - - -Array< ::String > ActorComponentMediator_obj::listNotificationInterests( ){ - HX_STACK_PUSH("ActorComponentMediator::listNotificationInterests","ca/confidant/glory/view/ActorComponentMediator.hx",93); - HX_STACK_THIS(this); - HX_STACK_LINE(93) - return Array_obj< ::String >::__new().Add(HX_CSTRING("timerTick")).Add(HX_CSTRING("panLeft")).Add(HX_CSTRING("panRight")).Add(HX_CSTRING("panStop")); -} - - -Void ActorComponentMediator_obj::onActorClicked( ::native::events::MouseEvent e){ -{ - HX_STACK_PUSH("ActorComponentMediator::onActorClicked","ca/confidant/glory/view/ActorComponentMediator.hx",46); - HX_STACK_THIS(this); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(47) - Dynamic a = e->get_currentTarget(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(48) - ::haxe::Log_obj::trace(a->__Field(HX_CSTRING("name"),true),hx::SourceInfo(HX_CSTRING("ActorComponentMediator.hx"),48,HX_CSTRING("ca.confidant.glory.view.ActorComponentMediator"),HX_CSTRING("onActorClicked"))); - HX_STACK_LINE(51) - ::String _switch_2 = (this->config->type); - if ( ( _switch_2==HX_CSTRING("control"))){ - HX_STACK_LINE(60) - ::ca::confidant::glory::model::PagesConfigProxy pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); HX_STACK_VAR(pcp,"pcp"); - HX_STACK_LINE(62) - Array< ::String > actionsArray = this->config->action.split(HX_CSTRING(",")); HX_STACK_VAR(actionsArray,"actionsArray"); - HX_STACK_LINE(64) - { - HX_STACK_LINE(64) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(64) - while(((_g < actionsArray->length))){ - HX_STACK_LINE(64) - ::String thisAction = actionsArray->__get(_g); HX_STACK_VAR(thisAction,"thisAction"); - HX_STACK_LINE(64) - ++(_g); - HX_STACK_LINE(66) - Array< ::String > actionArray = thisAction.split(HX_CSTRING(":")); HX_STACK_VAR(actionArray,"actionArray"); - HX_STACK_LINE(68) - ::String _switch_3 = (actionArray->__get((int)0)); - if ( ( _switch_3==HX_CSTRING("transitionOut"))){ - HX_STACK_LINE(69) - this->sendNotification(HX_CSTRING("removePage"),actionArray->__get((int)1),null()); - } - else if ( ( _switch_3==HX_CSTRING("pageSkipTo"))){ - HX_STACK_LINE(71) - this->sendNotification(HX_CSTRING("changePage"),actionArray->__get((int)1),null()); - } - else if ( ( _switch_3==HX_CSTRING("pageForward"))){ - HX_STACK_LINE(73) - this->sendNotification(HX_CSTRING("changePage"),HX_CSTRING("pageForward"),null()); - } - else if ( ( _switch_3==HX_CSTRING("pageBackward"))){ - HX_STACK_LINE(75) - this->sendNotification(HX_CSTRING("changePage"),HX_CSTRING("pageBackward"),null()); - } - else if ( ( _switch_3==HX_CSTRING("playSound"))){ - HX_STACK_LINE(77) - this->sendNotification(HX_CSTRING("playSound"),actionArray->__get((int)1),null()); - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ActorComponentMediator_obj,onActorClicked,(void)) - -Void ActorComponentMediator_obj::addListeners( ){ -{ - HX_STACK_PUSH("ActorComponentMediator::addListeners","ca/confidant/glory/view/ActorComponentMediator.hx",33); - HX_STACK_THIS(this); - HX_STACK_LINE(36) - this->actor()->addEventListener(::native::events::MouseEvent_obj::CLICK,this->onActorClicked_dyn(),null(),null(),null()); - HX_STACK_LINE(38) - this->actor()->set_mouseEnabled(true); - HX_STACK_LINE(39) - if (((this->type == HX_CSTRING("getURL")))){ - HX_STACK_LINE(41) - this->actor()->useHandCursor = true; - HX_STACK_LINE(42) - this->actor()->buttonMode = true; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ActorComponentMediator_obj,addListeners,(void)) - - -ActorComponentMediator_obj::ActorComponentMediator_obj() -{ -} - -void ActorComponentMediator_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ActorComponentMediator); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_MEMBER_NAME(config,"config"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ActorComponentMediator_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(type,"type"); - HX_VISIT_MEMBER_NAME(config,"config"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ActorComponentMediator_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { return type; } - break; - case 5: - if (HX_FIELD_EQ(inName,"actor") ) { return actor_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"config") ) { return config; } - break; - case 9: - if (HX_FIELD_EQ(inName,"onPanLeft") ) { return onPanLeft_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"onPanRight") ) { return onPanRight_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"addListeners") ) { return addListeners_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"onActorClicked") ) { return onActorClicked_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"handleNotification") ) { return handleNotification_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"listNotificationInterests") ) { return listNotificationInterests_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ActorComponentMediator_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"config") ) { config=inValue.Cast< ::ca::confidant::glory::model::ActorComponentConfigProxy >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ActorComponentMediator_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("type")); - outFields->push(HX_CSTRING("config")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("actor"), - HX_CSTRING("onPanRight"), - HX_CSTRING("onPanLeft"), - HX_CSTRING("handleNotification"), - HX_CSTRING("listNotificationInterests"), - HX_CSTRING("onActorClicked"), - HX_CSTRING("addListeners"), - HX_CSTRING("type"), - HX_CSTRING("config"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ActorComponentMediator_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ActorComponentMediator_obj::__mClass,"__mClass"); -}; - -Class ActorComponentMediator_obj::__mClass; - -void ActorComponentMediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.ActorComponentMediator"), hx::TCanCast< ActorComponentMediator_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ActorComponentMediator_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/ApplicationMediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/ApplicationMediator.cpp deleted file mode 100644 index fbe3258..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/ApplicationMediator.cpp +++ /dev/null @@ -1,320 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - -Void ApplicationMediator_obj::__construct(::ca::confidant::glory::GloryFrameworkApp viewComponent) -{ -HX_STACK_PUSH("ApplicationMediator::new","ca/confidant/glory/view/ApplicationMediator.hx",24); -{ - HX_STACK_LINE(25) - super::__construct(HX_CSTRING("ApplicationMediator"),viewComponent); - HX_STACK_LINE(26) - ::haxe::Log_obj::trace(HX_CSTRING("ApplicationMediator!"),hx::SourceInfo(HX_CSTRING("ApplicationMediator.hx"),26,HX_CSTRING("ca.confidant.glory.view.ApplicationMediator"),HX_CSTRING("new"))); -} -; - return null(); -} - -ApplicationMediator_obj::~ApplicationMediator_obj() { } - -Dynamic ApplicationMediator_obj::__CreateEmpty() { return new ApplicationMediator_obj; } -hx::ObjectPtr< ApplicationMediator_obj > ApplicationMediator_obj::__new(::ca::confidant::glory::GloryFrameworkApp viewComponent) -{ hx::ObjectPtr< ApplicationMediator_obj > result = new ApplicationMediator_obj(); - result->__construct(viewComponent); - return result;} - -Dynamic ApplicationMediator_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ApplicationMediator_obj > result = new ApplicationMediator_obj(); - result->__construct(inArgs[0]); - return result;} - -::ca::confidant::glory::GloryFrameworkApp ApplicationMediator_obj::getApp( ){ - HX_STACK_PUSH("ApplicationMediator::getApp","ca/confidant/glory/view/ApplicationMediator.hx",87); - HX_STACK_THIS(this); - HX_STACK_LINE(87) - return hx::TCast< ca::confidant::glory::GloryFrameworkApp >::cast(this->viewComponent); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ApplicationMediator_obj,getApp,return ) - -Void ApplicationMediator_obj::handleNotification( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("ApplicationMediator::handleNotification","ca/confidant/glory/view/ApplicationMediator.hx",73); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(73) - ::String _switch_1 = (note->getName()); - if ( ( _switch_1==HX_CSTRING("message"))){ - HX_STACK_LINE(76) - this->getApp()->displayMessage(hx::TCast< String >::cast(note->getBody())); - } - } -return null(); -} - - -int ApplicationMediator_obj::getIndex( ::native::display::DisplayObject d){ - HX_STACK_PUSH("ApplicationMediator::getIndex","ca/confidant/glory/view/ApplicationMediator.hx",69); - HX_STACK_THIS(this); - HX_STACK_ARG(d,"d"); - HX_STACK_LINE(69) - return this->getApp()->getChildIndex(d); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ApplicationMediator_obj,getIndex,return ) - -Void ApplicationMediator_obj::reportLayers( ){ -{ - HX_STACK_PUSH("ApplicationMediator::reportLayers","ca/confidant/glory/view/ApplicationMediator.hx",64); - HX_STACK_THIS(this); - HX_STACK_LINE(65) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->getApp()->get_numChildren(); HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(65) - while(((_g1 < _g))){ - HX_STACK_LINE(65) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(66) - ::haxe::Log_obj::trace((((HX_CSTRING("layer:") + this->getApp()->getChildAt(i)->get_name()) + HX_CSTRING(":")) + i),hx::SourceInfo(HX_CSTRING("ApplicationMediator.hx"),66,HX_CSTRING("ca.confidant.glory.view.ApplicationMediator"),HX_CSTRING("reportLayers"))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ApplicationMediator_obj,reportLayers,(void)) - -Void ApplicationMediator_obj::removeDisplayObject( ::native::display::DisplayObject d){ -{ - HX_STACK_PUSH("ApplicationMediator::removeDisplayObject","ca/confidant/glory/view/ApplicationMediator.hx",61); - HX_STACK_THIS(this); - HX_STACK_ARG(d,"d"); - HX_STACK_LINE(61) - this->getApp()->removeChild(d); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ApplicationMediator_obj,removeDisplayObject,(void)) - -Void ApplicationMediator_obj::addDisplayObject( ::native::display::DisplayObject d,hx::Null< int > __o_level){ -int level = __o_level.Default(-1); - HX_STACK_PUSH("ApplicationMediator::addDisplayObject","ca/confidant/glory/view/ApplicationMediator.hx",40); - HX_STACK_THIS(this); - HX_STACK_ARG(d,"d"); - HX_STACK_ARG(level,"level"); -{ - HX_STACK_LINE(40) - if (((level == (int)-1))){ - HX_STACK_LINE(42) - this->getApp()->addChild(d); - HX_STACK_LINE(43) - ::haxe::Log_obj::trace(HX_CSTRING("add at top"),hx::SourceInfo(HX_CSTRING("ApplicationMediator.hx"),43,HX_CSTRING("ca.confidant.glory.view.ApplicationMediator"),HX_CSTRING("addDisplayObject"))); - } - else{ - HX_STACK_LINE(45) - this->getApp()->addChildAt(d,level); - HX_STACK_LINE(46) - ::haxe::Log_obj::trace((HX_CSTRING("adding to level") + level),hx::SourceInfo(HX_CSTRING("ApplicationMediator.hx"),46,HX_CSTRING("ca.confidant.glory.view.ApplicationMediator"),HX_CSTRING("addDisplayObject"))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ApplicationMediator_obj,addDisplayObject,(void)) - -Array< ::String > ApplicationMediator_obj::listNotificationInterests( ){ - HX_STACK_PUSH("ApplicationMediator::listNotificationInterests","ca/confidant/glory/view/ApplicationMediator.hx",30); - HX_STACK_THIS(this); - HX_STACK_LINE(30) - return Array_obj< ::String >::__new().Add(HX_CSTRING("message")); -} - - -::String ApplicationMediator_obj::NAME; - - -ApplicationMediator_obj::ApplicationMediator_obj() -{ -} - -void ApplicationMediator_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ApplicationMediator); - HX_MARK_MEMBER_NAME(pagesConfigProxy,"pagesConfigProxy"); - HX_MARK_MEMBER_NAME(loaderProxy,"loaderProxy"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ApplicationMediator_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(pagesConfigProxy,"pagesConfigProxy"); - HX_VISIT_MEMBER_NAME(loaderProxy,"loaderProxy"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ApplicationMediator_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - break; - case 6: - if (HX_FIELD_EQ(inName,"getApp") ) { return getApp_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"getIndex") ) { return getIndex_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"loaderProxy") ) { return loaderProxy; } - break; - case 12: - if (HX_FIELD_EQ(inName,"reportLayers") ) { return reportLayers_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"addDisplayObject") ) { return addDisplayObject_dyn(); } - if (HX_FIELD_EQ(inName,"pagesConfigProxy") ) { return pagesConfigProxy; } - break; - case 18: - if (HX_FIELD_EQ(inName,"handleNotification") ) { return handleNotification_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"removeDisplayObject") ) { return removeDisplayObject_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"listNotificationInterests") ) { return listNotificationInterests_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ApplicationMediator_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"loaderProxy") ) { loaderProxy=inValue.Cast< ::ca::confidant::glory::model::LoaderProxy >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"pagesConfigProxy") ) { pagesConfigProxy=inValue.Cast< ::ca::confidant::glory::model::PagesConfigProxy >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ApplicationMediator_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("pagesConfigProxy")); - outFields->push(HX_CSTRING("loaderProxy")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getApp"), - HX_CSTRING("handleNotification"), - HX_CSTRING("getIndex"), - HX_CSTRING("reportLayers"), - HX_CSTRING("removeDisplayObject"), - HX_CSTRING("addDisplayObject"), - HX_CSTRING("listNotificationInterests"), - HX_CSTRING("pagesConfigProxy"), - HX_CSTRING("loaderProxy"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ApplicationMediator_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ApplicationMediator_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ApplicationMediator_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ApplicationMediator_obj::NAME,"NAME"); -}; - -Class ApplicationMediator_obj::__mClass; - -void ApplicationMediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.ApplicationMediator"), hx::TCanCast< ApplicationMediator_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ApplicationMediator_obj::__boot() -{ - NAME= HX_CSTRING("ApplicationMediator"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/ControlComponentMediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/ControlComponentMediator.cpp deleted file mode 100644 index 024ef89..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/ControlComponentMediator.cpp +++ /dev/null @@ -1,294 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_view_ControlComponentMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ControlComponent -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_MouseEvent -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - -Void ControlComponentMediator_obj::__construct(::String id,::ca::confidant::glory::view::components::ControlComponent viewComponent) -{ -HX_STACK_PUSH("ControlComponentMediator::new","ca/confidant/glory/view/ControlComponentMediator.hx",18); -{ - HX_STACK_LINE(19) - super::__construct(id,viewComponent); - HX_STACK_LINE(20) - this->addListeners(); -} -; - return null(); -} - -ControlComponentMediator_obj::~ControlComponentMediator_obj() { } - -Dynamic ControlComponentMediator_obj::__CreateEmpty() { return new ControlComponentMediator_obj; } -hx::ObjectPtr< ControlComponentMediator_obj > ControlComponentMediator_obj::__new(::String id,::ca::confidant::glory::view::components::ControlComponent viewComponent) -{ hx::ObjectPtr< ControlComponentMediator_obj > result = new ControlComponentMediator_obj(); - result->__construct(id,viewComponent); - return result;} - -Dynamic ControlComponentMediator_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ControlComponentMediator_obj > result = new ControlComponentMediator_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::ca::confidant::glory::view::components::ControlComponent ControlComponentMediator_obj::control( ){ - HX_STACK_PUSH("ControlComponentMediator::control","ca/confidant/glory/view/ControlComponentMediator.hx",87); - HX_STACK_THIS(this); - HX_STACK_LINE(87) - return this->viewComponent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ControlComponentMediator_obj,control,return ) - -Void ControlComponentMediator_obj::onControlClicked( ::native::events::MouseEvent e){ -{ - HX_STACK_PUSH("ControlComponentMediator::onControlClicked","ca/confidant/glory/view/ControlComponentMediator.hx",52); - HX_STACK_THIS(this); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(53) - Dynamic a = e->get_currentTarget(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(56) - Array< ::String > actionsArray = a->__Field(HX_CSTRING("action"),true)->__Field(HX_CSTRING("split"),true)(HX_CSTRING(",")); HX_STACK_VAR(actionsArray,"actionsArray"); - HX_STACK_LINE(61) - { - HX_STACK_LINE(61) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(61) - while(((_g < actionsArray->length))){ - HX_STACK_LINE(61) - ::String thisAction = actionsArray->__get(_g); HX_STACK_VAR(thisAction,"thisAction"); - HX_STACK_LINE(61) - ++(_g); - HX_STACK_LINE(63) - Array< ::String > actionArray = thisAction.split(HX_CSTRING(":")); HX_STACK_VAR(actionArray,"actionArray"); - HX_STACK_LINE(65) - ::String _switch_1 = (actionArray->__get((int)0)); - if ( ( _switch_1==HX_CSTRING("transitionOut"))){ - HX_STACK_LINE(66) - this->sendNotification(HX_CSTRING("removePage"),actionArray->__get((int)1),null()); - } - else if ( ( _switch_1==HX_CSTRING("pageSkipTo"))){ - HX_STACK_LINE(68) - this->sendNotification(HX_CSTRING("changePage"),actionArray->__get((int)1),null()); - } - else if ( ( _switch_1==HX_CSTRING("pageForward"))){ - HX_STACK_LINE(70) - this->sendNotification(HX_CSTRING("changePage"),HX_CSTRING("pageForward"),null()); - } - else if ( ( _switch_1==HX_CSTRING("pageBackward"))){ - HX_STACK_LINE(72) - this->sendNotification(HX_CSTRING("changePage"),HX_CSTRING("pageBackward"),null()); - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ControlComponentMediator_obj,onControlClicked,(void)) - -Void ControlComponentMediator_obj::onMouseUp( ::native::events::MouseEvent e){ -{ - HX_STACK_PUSH("ControlComponentMediator::onMouseUp","ca/confidant/glory/view/ControlComponentMediator.hx",42); - HX_STACK_THIS(this); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(43) - Dynamic a = e->get_currentTarget(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(44) - ::String _switch_2 = (a->__Field(HX_CSTRING("action"),true)); - if ( ( _switch_2==HX_CSTRING("panRight"))){ - HX_STACK_LINE(46) - ::haxe::Log_obj::trace(HX_CSTRING("onMouseUp"),hx::SourceInfo(HX_CSTRING("ControlComponentMediator.hx"),46,HX_CSTRING("ca.confidant.glory.view.ControlComponentMediator"),HX_CSTRING("onMouseUp"))); - HX_STACK_LINE(47) - this->sendNotification(HX_CSTRING("panStop"),null(),null()); - } - else if ( ( _switch_2==HX_CSTRING("panLeft"))){ - HX_STACK_LINE(48) - this->sendNotification(HX_CSTRING("panStop"),null(),null()); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ControlComponentMediator_obj,onMouseUp,(void)) - -Void ControlComponentMediator_obj::onMouseDown( ::native::events::MouseEvent e){ -{ - HX_STACK_PUSH("ControlComponentMediator::onMouseDown","ca/confidant/glory/view/ControlComponentMediator.hx",29); - HX_STACK_THIS(this); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(30) - Dynamic a = e->get_currentTarget(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(31) - ::String _switch_3 = (a->__Field(HX_CSTRING("action"),true)); - if ( ( _switch_3==HX_CSTRING("panRight"))){ - HX_STACK_LINE(33) - ::haxe::Log_obj::trace(HX_CSTRING("onMouseDown"),hx::SourceInfo(HX_CSTRING("ControlComponentMediator.hx"),33,HX_CSTRING("ca.confidant.glory.view.ControlComponentMediator"),HX_CSTRING("onMouseDown"))); - HX_STACK_LINE(35) - this->sendNotification(HX_CSTRING("panRight"),null(),null()); - } - else if ( ( _switch_3==HX_CSTRING("panLeft"))){ - HX_STACK_LINE(36) - this->sendNotification(HX_CSTRING("panLeft"),null(),null()); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ControlComponentMediator_obj,onMouseDown,(void)) - -Void ControlComponentMediator_obj::addListeners( ){ -{ - HX_STACK_PUSH("ControlComponentMediator::addListeners","ca/confidant/glory/view/ControlComponentMediator.hx",23); - HX_STACK_THIS(this); - HX_STACK_LINE(24) - this->control()->addEventListener(::native::events::MouseEvent_obj::CLICK,this->onControlClicked_dyn(),null(),null(),null()); - HX_STACK_LINE(25) - this->control()->addEventListener(::native::events::MouseEvent_obj::MOUSE_DOWN,this->onMouseDown_dyn(),null(),null(),null()); - HX_STACK_LINE(26) - this->control()->addEventListener(::native::events::MouseEvent_obj::MOUSE_UP,this->onMouseUp_dyn(),null(),null(),null()); - HX_STACK_LINE(27) - this->control()->addEventListener(::native::events::MouseEvent_obj::MOUSE_OUT,this->onMouseUp_dyn(),null(),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ControlComponentMediator_obj,addListeners,(void)) - - -ControlComponentMediator_obj::ControlComponentMediator_obj() -{ -} - -void ControlComponentMediator_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ControlComponentMediator); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ControlComponentMediator_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ControlComponentMediator_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"control") ) { return control_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"onMouseUp") ) { return onMouseUp_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"onMouseDown") ) { return onMouseDown_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"addListeners") ) { return addListeners_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"onControlClicked") ) { return onControlClicked_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ControlComponentMediator_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void ControlComponentMediator_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("control"), - HX_CSTRING("onControlClicked"), - HX_CSTRING("onMouseUp"), - HX_CSTRING("onMouseDown"), - HX_CSTRING("addListeners"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ControlComponentMediator_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ControlComponentMediator_obj::__mClass,"__mClass"); -}; - -Class ControlComponentMediator_obj::__mClass; - -void ControlComponentMediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.ControlComponentMediator"), hx::TCanCast< ControlComponentMediator_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ControlComponentMediator_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/PageMediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/PageMediator.cpp deleted file mode 100644 index fdef111..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/PageMediator.cpp +++ /dev/null @@ -1,148 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_view_PageMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_PageComponent -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - -Void PageMediator_obj::__construct(::String id,::ca::confidant::glory::view::components::PageComponent viewComponent) -{ -HX_STACK_PUSH("PageMediator::new","ca/confidant/glory/view/PageMediator.hx",19); -{ - HX_STACK_LINE(19) - super::__construct(id,viewComponent); -} -; - return null(); -} - -PageMediator_obj::~PageMediator_obj() { } - -Dynamic PageMediator_obj::__CreateEmpty() { return new PageMediator_obj; } -hx::ObjectPtr< PageMediator_obj > PageMediator_obj::__new(::String id,::ca::confidant::glory::view::components::PageComponent viewComponent) -{ hx::ObjectPtr< PageMediator_obj > result = new PageMediator_obj(); - result->__construct(id,viewComponent); - return result;} - -Dynamic PageMediator_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< PageMediator_obj > result = new PageMediator_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::ca::confidant::glory::view::components::PageComponent PageMediator_obj::page( ){ - HX_STACK_PUSH("PageMediator::page","ca/confidant/glory/view/PageMediator.hx",27); - HX_STACK_THIS(this); - HX_STACK_LINE(27) - return this->viewComponent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PageMediator_obj,page,return ) - - -PageMediator_obj::PageMediator_obj() -{ -} - -void PageMediator_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(PageMediator); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void PageMediator_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic PageMediator_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"page") ) { return page_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic PageMediator_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void PageMediator_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("page"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PageMediator_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PageMediator_obj::__mClass,"__mClass"); -}; - -Class PageMediator_obj::__mClass; - -void PageMediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.PageMediator"), hx::TCanCast< PageMediator_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void PageMediator_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/SoundMediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/SoundMediator.cpp deleted file mode 100644 index 351477a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/SoundMediator.cpp +++ /dev/null @@ -1,224 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_view_SoundMediator -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_media_Sound -#include -#endif -#ifndef INCLUDED_native_media_SoundChannel -#include -#endif -#ifndef INCLUDED_native_media_SoundTransform -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - -Void SoundMediator_obj::__construct(::String id,::native::media::Sound theSound) -{ -HX_STACK_PUSH("SoundMediator::new","ca/confidant/glory/view/SoundMediator.hx",18); -{ - HX_STACK_LINE(19) - super::__construct(id,theSound); - HX_STACK_LINE(20) - this->mySound = theSound; -} -; - return null(); -} - -SoundMediator_obj::~SoundMediator_obj() { } - -Dynamic SoundMediator_obj::__CreateEmpty() { return new SoundMediator_obj; } -hx::ObjectPtr< SoundMediator_obj > SoundMediator_obj::__new(::String id,::native::media::Sound theSound) -{ hx::ObjectPtr< SoundMediator_obj > result = new SoundMediator_obj(); - result->__construct(id,theSound); - return result;} - -Dynamic SoundMediator_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SoundMediator_obj > result = new SoundMediator_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::native::media::Sound SoundMediator_obj::sound( ){ - HX_STACK_PUSH("SoundMediator::sound","ca/confidant/glory/view/SoundMediator.hx",56); - HX_STACK_THIS(this); - HX_STACK_LINE(56) - return this->mySound; -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundMediator_obj,sound,return ) - -Void SoundMediator_obj::handleNotification( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("SoundMediator::handleNotification","ca/confidant/glory/view/SoundMediator.hx",38); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(38) - ::String _switch_1 = (note->getName()); - if ( ( _switch_1==HX_CSTRING("playSound"))){ - HX_STACK_LINE(41) - if (((this->mediatorName == note->getBody()))){ - HX_STACK_LINE(43) - if (((this->sc != null()))){ - HX_STACK_LINE(45) - this->sc->stop(); - HX_STACK_LINE(46) - this->sc = null(); - } - else{ - HX_STACK_LINE(47) - this->sc = this->mySound->play(null(),null(),null()); - } - } - } - } -return null(); -} - - -Array< ::String > SoundMediator_obj::listNotificationInterests( ){ - HX_STACK_PUSH("SoundMediator::listNotificationInterests","ca/confidant/glory/view/SoundMediator.hx",31); - HX_STACK_THIS(this); - HX_STACK_LINE(31) - return Array_obj< ::String >::__new().Add(HX_CSTRING("playSound")); -} - - -Void SoundMediator_obj::addListeners( ){ -{ - HX_STACK_PUSH("SoundMediator::addListeners","ca/confidant/glory/view/SoundMediator.hx",25); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundMediator_obj,addListeners,(void)) - - -SoundMediator_obj::SoundMediator_obj() -{ -} - -void SoundMediator_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SoundMediator); - HX_MARK_MEMBER_NAME(sc,"sc"); - HX_MARK_MEMBER_NAME(mySound,"mySound"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void SoundMediator_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(sc,"sc"); - HX_VISIT_MEMBER_NAME(mySound,"mySound"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic SoundMediator_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"sc") ) { return sc; } - break; - case 5: - if (HX_FIELD_EQ(inName,"sound") ) { return sound_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"mySound") ) { return mySound; } - break; - case 12: - if (HX_FIELD_EQ(inName,"addListeners") ) { return addListeners_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"handleNotification") ) { return handleNotification_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"listNotificationInterests") ) { return listNotificationInterests_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SoundMediator_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"sc") ) { sc=inValue.Cast< ::native::media::SoundChannel >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"mySound") ) { mySound=inValue.Cast< ::native::media::Sound >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SoundMediator_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("sc")); - outFields->push(HX_CSTRING("mySound")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("sound"), - HX_CSTRING("handleNotification"), - HX_CSTRING("listNotificationInterests"), - HX_CSTRING("addListeners"), - HX_CSTRING("sc"), - HX_CSTRING("mySound"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SoundMediator_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SoundMediator_obj::__mClass,"__mClass"); -}; - -Class SoundMediator_obj::__mClass; - -void SoundMediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.SoundMediator"), hx::TCanCast< SoundMediator_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SoundMediator_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/components/ActorComponent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/components/ActorComponent.cpp deleted file mode 100644 index 3a3dad1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/components/ActorComponent.cpp +++ /dev/null @@ -1,193 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#include -#endif -#ifndef INCLUDED_format_SVG -#include -#endif -#ifndef INCLUDED_native_display_Bitmap -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_Graphics -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace components{ - -Void ActorComponent_obj::__construct() -{ -HX_STACK_PUSH("ActorComponent::new","ca/confidant/glory/view/components/ActorComponent.hx",20); -{ - HX_STACK_LINE(21) - super::__construct(); - HX_STACK_LINE(23) - this->set_mouseEnabled(false); -} -; - return null(); -} - -ActorComponent_obj::~ActorComponent_obj() { } - -Dynamic ActorComponent_obj::__CreateEmpty() { return new ActorComponent_obj; } -hx::ObjectPtr< ActorComponent_obj > ActorComponent_obj::__new() -{ hx::ObjectPtr< ActorComponent_obj > result = new ActorComponent_obj(); - result->__construct(); - return result;} - -Dynamic ActorComponent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ActorComponent_obj > result = new ActorComponent_obj(); - result->__construct(); - return result;} - -Void ActorComponent_obj::addSVG( ::String t){ -{ - HX_STACK_PUSH("ActorComponent::addSVG","ca/confidant/glory/view/components/ActorComponent.hx",30); - HX_STACK_THIS(this); - HX_STACK_ARG(t,"t"); - HX_STACK_LINE(31) - ::format::SVG svg = ::format::SVG_obj::__new(t); HX_STACK_VAR(svg,"svg"); - HX_STACK_LINE(32) - svg->render(this->get_graphics(),null(),null(),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ActorComponent_obj,addSVG,(void)) - -Void ActorComponent_obj::addBitmap( ::native::display::Bitmap bMap){ -{ - HX_STACK_PUSH("ActorComponent::addBitmap","ca/confidant/glory/view/components/ActorComponent.hx",26); - HX_STACK_THIS(this); - HX_STACK_ARG(bMap,"bMap"); - HX_STACK_LINE(27) - this->defaultBitmap = bMap; - HX_STACK_LINE(28) - this->addChild(bMap); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ActorComponent_obj,addBitmap,(void)) - - -ActorComponent_obj::ActorComponent_obj() -{ -} - -void ActorComponent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ActorComponent); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_MEMBER_NAME(defaultBitmap,"defaultBitmap"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ActorComponent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(type,"type"); - HX_VISIT_MEMBER_NAME(defaultBitmap,"defaultBitmap"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ActorComponent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { return type; } - break; - case 6: - if (HX_FIELD_EQ(inName,"addSVG") ) { return addSVG_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"addBitmap") ) { return addBitmap_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"defaultBitmap") ) { return defaultBitmap; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ActorComponent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"defaultBitmap") ) { defaultBitmap=inValue.Cast< ::native::display::Bitmap >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ActorComponent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("type")); - outFields->push(HX_CSTRING("defaultBitmap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("addSVG"), - HX_CSTRING("addBitmap"), - HX_CSTRING("type"), - HX_CSTRING("defaultBitmap"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ActorComponent_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ActorComponent_obj::__mClass,"__mClass"); -}; - -Class ActorComponent_obj::__mClass; - -void ActorComponent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.components.ActorComponent"), hx::TCanCast< ActorComponent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ActorComponent_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace components diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/components/ControlComponent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/components/ControlComponent.cpp deleted file mode 100644 index a29118e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/components/ControlComponent.cpp +++ /dev/null @@ -1,191 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_view_components_ControlComponent -#include -#endif -#ifndef INCLUDED_format_SVG -#include -#endif -#ifndef INCLUDED_native_display_Bitmap -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_Graphics -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace components{ - -Void ControlComponent_obj::__construct(::String action) -{ -HX_STACK_PUSH("ControlComponent::new","ca/confidant/glory/view/components/ControlComponent.hx",17); -{ - HX_STACK_LINE(18) - super::__construct(); - HX_STACK_LINE(20) - this->action = action; -} -; - return null(); -} - -ControlComponent_obj::~ControlComponent_obj() { } - -Dynamic ControlComponent_obj::__CreateEmpty() { return new ControlComponent_obj; } -hx::ObjectPtr< ControlComponent_obj > ControlComponent_obj::__new(::String action) -{ hx::ObjectPtr< ControlComponent_obj > result = new ControlComponent_obj(); - result->__construct(action); - return result;} - -Dynamic ControlComponent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ControlComponent_obj > result = new ControlComponent_obj(); - result->__construct(inArgs[0]); - return result;} - -Void ControlComponent_obj::addSVG( ::String t){ -{ - HX_STACK_PUSH("ControlComponent::addSVG","ca/confidant/glory/view/components/ControlComponent.hx",27); - HX_STACK_THIS(this); - HX_STACK_ARG(t,"t"); - HX_STACK_LINE(28) - ::format::SVG svg = ::format::SVG_obj::__new(t); HX_STACK_VAR(svg,"svg"); - HX_STACK_LINE(29) - svg->render(this->get_graphics(),null(),null(),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ControlComponent_obj,addSVG,(void)) - -Void ControlComponent_obj::addBitmap( ::native::display::Bitmap bMap){ -{ - HX_STACK_PUSH("ControlComponent::addBitmap","ca/confidant/glory/view/components/ControlComponent.hx",23); - HX_STACK_THIS(this); - HX_STACK_ARG(bMap,"bMap"); - HX_STACK_LINE(24) - this->defaultBitmap = bMap; - HX_STACK_LINE(25) - this->addChild(bMap); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ControlComponent_obj,addBitmap,(void)) - - -ControlComponent_obj::ControlComponent_obj() -{ -} - -void ControlComponent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ControlComponent); - HX_MARK_MEMBER_NAME(action,"action"); - HX_MARK_MEMBER_NAME(defaultBitmap,"defaultBitmap"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ControlComponent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(action,"action"); - HX_VISIT_MEMBER_NAME(defaultBitmap,"defaultBitmap"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ControlComponent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"addSVG") ) { return addSVG_dyn(); } - if (HX_FIELD_EQ(inName,"action") ) { return action; } - break; - case 9: - if (HX_FIELD_EQ(inName,"addBitmap") ) { return addBitmap_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"defaultBitmap") ) { return defaultBitmap; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ControlComponent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"action") ) { action=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"defaultBitmap") ) { defaultBitmap=inValue.Cast< ::native::display::Bitmap >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ControlComponent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("action")); - outFields->push(HX_CSTRING("defaultBitmap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("addSVG"), - HX_CSTRING("addBitmap"), - HX_CSTRING("action"), - HX_CSTRING("defaultBitmap"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ControlComponent_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ControlComponent_obj::__mClass,"__mClass"); -}; - -Class ControlComponent_obj::__mClass; - -void ControlComponent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.components.ControlComponent"), hx::TCanCast< ControlComponent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ControlComponent_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace components diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/components/PageComponent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/components/PageComponent.cpp deleted file mode 100644 index b15368e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/components/PageComponent.cpp +++ /dev/null @@ -1,179 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_PageComponent -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace components{ - -Void PageComponent_obj::__construct() -{ -HX_STACK_PUSH("PageComponent::new","ca/confidant/glory/view/components/PageComponent.hx",14); -{ - HX_STACK_LINE(15) - super::__construct(); - HX_STACK_LINE(16) - this->myActors = ::Hash_obj::__new(); - HX_STACK_LINE(18) - ::haxe::Log_obj::trace(HX_CSTRING("new Page!"),hx::SourceInfo(HX_CSTRING("PageComponent.hx"),18,HX_CSTRING("ca.confidant.glory.view.components.PageComponent"),HX_CSTRING("new"))); -} -; - return null(); -} - -PageComponent_obj::~PageComponent_obj() { } - -Dynamic PageComponent_obj::__CreateEmpty() { return new PageComponent_obj; } -hx::ObjectPtr< PageComponent_obj > PageComponent_obj::__new() -{ hx::ObjectPtr< PageComponent_obj > result = new PageComponent_obj(); - result->__construct(); - return result;} - -Dynamic PageComponent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< PageComponent_obj > result = new PageComponent_obj(); - result->__construct(); - return result;} - -Void PageComponent_obj::init( ){ -{ - HX_STACK_PUSH("PageComponent::init","ca/confidant/glory/view/components/PageComponent.hx",29); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PageComponent_obj,init,(void)) - -Void PageComponent_obj::addActor( ::String key,::ca::confidant::glory::view::components::ActorComponent spr){ -{ - HX_STACK_PUSH("PageComponent::addActor","ca/confidant/glory/view/components/PageComponent.hx",21); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_ARG(spr,"spr"); - HX_STACK_LINE(22) - this->addChild(spr); - HX_STACK_LINE(23) - this->myActors->set(key,spr); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(PageComponent_obj,addActor,(void)) - - -PageComponent_obj::PageComponent_obj() -{ -} - -void PageComponent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(PageComponent); - HX_MARK_MEMBER_NAME(myActors,"myActors"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void PageComponent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(myActors,"myActors"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic PageComponent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"init") ) { return init_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"addActor") ) { return addActor_dyn(); } - if (HX_FIELD_EQ(inName,"myActors") ) { return myActors; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic PageComponent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"myActors") ) { myActors=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void PageComponent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("myActors")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("init"), - HX_CSTRING("addActor"), - HX_CSTRING("myActors"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PageComponent_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PageComponent_obj::__mClass,"__mClass"); -}; - -Class PageComponent_obj::__mClass; - -void PageComponent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.components.PageComponent"), hx::TCanCast< PageComponent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void PageComponent_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace components diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/constants/ControlConstants.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/constants/ControlConstants.cpp deleted file mode 100644 index 6884092..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/ca/confidant/glory/view/constants/ControlConstants.cpp +++ /dev/null @@ -1,205 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_view_constants_ControlConstants -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace constants{ - -Void ControlConstants_obj::__construct() -{ -HX_STACK_PUSH("ControlConstants::new","ca/confidant/glory/view/constants/ControlConstants.hx",18); -{ -} -; - return null(); -} - -ControlConstants_obj::~ControlConstants_obj() { } - -Dynamic ControlConstants_obj::__CreateEmpty() { return new ControlConstants_obj; } -hx::ObjectPtr< ControlConstants_obj > ControlConstants_obj::__new() -{ hx::ObjectPtr< ControlConstants_obj > result = new ControlConstants_obj(); - result->__construct(); - return result;} - -Dynamic ControlConstants_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ControlConstants_obj > result = new ControlConstants_obj(); - result->__construct(); - return result;} - -::String ControlConstants_obj::PAGE_FORWARD; - -::String ControlConstants_obj::PAGE_BACKWARD; - -::String ControlConstants_obj::PAGE_SKIP_TO; - -::String ControlConstants_obj::TOGGLE_MENU; - -::String ControlConstants_obj::GET_URL; - -::String ControlConstants_obj::PAN_RIGHT_CONTROL; - -::String ControlConstants_obj::PAN_LEFT_CONTROL; - -::String ControlConstants_obj::TRANSITION_OUT; - -::String ControlConstants_obj::TRANSITION_IN; - -::String ControlConstants_obj::CONTROL; - - -ControlConstants_obj::ControlConstants_obj() -{ -} - -void ControlConstants_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ControlConstants); - HX_MARK_END_CLASS(); -} - -void ControlConstants_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic ControlConstants_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"GET_URL") ) { return GET_URL; } - if (HX_FIELD_EQ(inName,"CONTROL") ) { return CONTROL; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TOGGLE_MENU") ) { return TOGGLE_MENU; } - break; - case 12: - if (HX_FIELD_EQ(inName,"PAGE_FORWARD") ) { return PAGE_FORWARD; } - if (HX_FIELD_EQ(inName,"PAGE_SKIP_TO") ) { return PAGE_SKIP_TO; } - break; - case 13: - if (HX_FIELD_EQ(inName,"PAGE_BACKWARD") ) { return PAGE_BACKWARD; } - if (HX_FIELD_EQ(inName,"TRANSITION_IN") ) { return TRANSITION_IN; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TRANSITION_OUT") ) { return TRANSITION_OUT; } - break; - case 16: - if (HX_FIELD_EQ(inName,"PAN_LEFT_CONTROL") ) { return PAN_LEFT_CONTROL; } - break; - case 17: - if (HX_FIELD_EQ(inName,"PAN_RIGHT_CONTROL") ) { return PAN_RIGHT_CONTROL; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ControlConstants_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"GET_URL") ) { GET_URL=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"CONTROL") ) { CONTROL=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TOGGLE_MENU") ) { TOGGLE_MENU=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"PAGE_FORWARD") ) { PAGE_FORWARD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"PAGE_SKIP_TO") ) { PAGE_SKIP_TO=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"PAGE_BACKWARD") ) { PAGE_BACKWARD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TRANSITION_IN") ) { TRANSITION_IN=inValue.Cast< ::String >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TRANSITION_OUT") ) { TRANSITION_OUT=inValue.Cast< ::String >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"PAN_LEFT_CONTROL") ) { PAN_LEFT_CONTROL=inValue.Cast< ::String >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"PAN_RIGHT_CONTROL") ) { PAN_RIGHT_CONTROL=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ControlConstants_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("PAGE_FORWARD"), - HX_CSTRING("PAGE_BACKWARD"), - HX_CSTRING("PAGE_SKIP_TO"), - HX_CSTRING("TOGGLE_MENU"), - HX_CSTRING("GET_URL"), - HX_CSTRING("PAN_RIGHT_CONTROL"), - HX_CSTRING("PAN_LEFT_CONTROL"), - HX_CSTRING("TRANSITION_OUT"), - HX_CSTRING("TRANSITION_IN"), - HX_CSTRING("CONTROL"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ControlConstants_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::PAGE_FORWARD,"PAGE_FORWARD"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::PAGE_BACKWARD,"PAGE_BACKWARD"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::PAGE_SKIP_TO,"PAGE_SKIP_TO"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::TOGGLE_MENU,"TOGGLE_MENU"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::GET_URL,"GET_URL"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::PAN_RIGHT_CONTROL,"PAN_RIGHT_CONTROL"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::PAN_LEFT_CONTROL,"PAN_LEFT_CONTROL"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::TRANSITION_OUT,"TRANSITION_OUT"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::TRANSITION_IN,"TRANSITION_IN"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::CONTROL,"CONTROL"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ControlConstants_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::PAGE_FORWARD,"PAGE_FORWARD"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::PAGE_BACKWARD,"PAGE_BACKWARD"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::PAGE_SKIP_TO,"PAGE_SKIP_TO"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::TOGGLE_MENU,"TOGGLE_MENU"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::GET_URL,"GET_URL"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::PAN_RIGHT_CONTROL,"PAN_RIGHT_CONTROL"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::PAN_LEFT_CONTROL,"PAN_LEFT_CONTROL"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::TRANSITION_OUT,"TRANSITION_OUT"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::TRANSITION_IN,"TRANSITION_IN"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::CONTROL,"CONTROL"); -}; - -Class ControlConstants_obj::__mClass; - -void ControlConstants_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.constants.ControlConstants"), hx::TCanCast< ControlConstants_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ControlConstants_obj::__boot() -{ - PAGE_FORWARD= HX_CSTRING("pageForward"); - PAGE_BACKWARD= HX_CSTRING("pageBackward"); - PAGE_SKIP_TO= HX_CSTRING("pageSkipTo"); - TOGGLE_MENU= HX_CSTRING("toggleMenu"); - GET_URL= HX_CSTRING("getURL"); - PAN_RIGHT_CONTROL= HX_CSTRING("panRight"); - PAN_LEFT_CONTROL= HX_CSTRING("panLeft"); - TRANSITION_OUT= HX_CSTRING("transitionOut"); - TRANSITION_IN= HX_CSTRING("transitionIn"); - CONTROL= HX_CSTRING("control"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace constants diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/cpp/Lib.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/cpp/Lib.cpp deleted file mode 100644 index 8182c29..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/cpp/Lib.cpp +++ /dev/null @@ -1,340 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -namespace cpp{ - -Void Lib_obj::__construct() -{ - return null(); -} - -Lib_obj::~Lib_obj() { } - -Dynamic Lib_obj::__CreateEmpty() { return new Lib_obj; } -hx::ObjectPtr< Lib_obj > Lib_obj::__new() -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -Dynamic Lib_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -Dynamic Lib_obj::load( ::String lib,::String prim,int nargs){ - HX_STACK_PUSH("Lib::load","/usr/lib/haxe/std/cpp/Lib.hx",32); - HX_STACK_ARG(lib,"lib"); - HX_STACK_ARG(prim,"prim"); - HX_STACK_ARG(nargs,"nargs"); - HX_STACK_LINE(32) - return ::cpp::Lib_obj::loadLazy(lib,prim,nargs); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Lib_obj,load,return ) - -Dynamic Lib_obj::loadLazy( ::String lib,::String prim,int nargs){ - HX_STACK_PUSH("Lib::loadLazy","/usr/lib/haxe/std/cpp/Lib.hx",44); - HX_STACK_ARG(lib,"lib"); - HX_STACK_ARG(prim,"prim"); - HX_STACK_ARG(nargs,"nargs"); - HX_STACK_LINE(45) - try{ - HX_STACK_LINE(45) - return ::__loadprim(lib,prim,nargs); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(47) - Dynamic e1 = Dynamic( Array_obj::__new().Add(e)); HX_STACK_VAR(e1,"e1"); - HX_STACK_LINE(47) - switch( (int)(nargs)){ - case (int)0: { - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_3_1,Dynamic,e1) - Void run(){ - HX_STACK_PUSH("*::_Function_3_1","/usr/lib/haxe/std/cpp/Lib.hx",49); - { - HX_STACK_LINE(49) - hx::Throw (e1->__GetItem((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC0((void)) - - HX_STACK_LINE(49) - return Dynamic(new _Function_3_1(e1)); - } - ;break; - case (int)2: { - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_3_1,Dynamic,e1) - Void run(Dynamic _1,Dynamic _2){ - HX_STACK_PUSH("*::_Function_3_1","/usr/lib/haxe/std/cpp/Lib.hx",50); - HX_STACK_ARG(_1,"_1"); - HX_STACK_ARG(_2,"_2"); - { - HX_STACK_LINE(50) - hx::Throw (e1->__GetItem((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC2((void)) - - HX_STACK_LINE(50) - return Dynamic(new _Function_3_1(e1)); - } - ;break; - case (int)3: { - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_3_1,Dynamic,e1) - Void run(Dynamic _1,Dynamic _2,Dynamic _3){ - HX_STACK_PUSH("*::_Function_3_1","/usr/lib/haxe/std/cpp/Lib.hx",51); - HX_STACK_ARG(_1,"_1"); - HX_STACK_ARG(_2,"_2"); - HX_STACK_ARG(_3,"_3"); - { - HX_STACK_LINE(51) - hx::Throw (e1->__GetItem((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC3((void)) - - HX_STACK_LINE(51) - return Dynamic(new _Function_3_1(e1)); - } - ;break; - case (int)4: { - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_3_1,Dynamic,e1) - Void run(Dynamic _1,Dynamic _2,Dynamic _3,Dynamic _4){ - HX_STACK_PUSH("*::_Function_3_1","/usr/lib/haxe/std/cpp/Lib.hx",52); - HX_STACK_ARG(_1,"_1"); - HX_STACK_ARG(_2,"_2"); - HX_STACK_ARG(_3,"_3"); - HX_STACK_ARG(_4,"_4"); - { - HX_STACK_LINE(52) - hx::Throw (e1->__GetItem((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC4((void)) - - HX_STACK_LINE(52) - return Dynamic(new _Function_3_1(e1)); - } - ;break; - case (int)5: { - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_3_1,Dynamic,e1) - Void run(Dynamic _1,Dynamic _2,Dynamic _3,Dynamic _4,Dynamic _5){ - HX_STACK_PUSH("*::_Function_3_1","/usr/lib/haxe/std/cpp/Lib.hx",53); - HX_STACK_ARG(_1,"_1"); - HX_STACK_ARG(_2,"_2"); - HX_STACK_ARG(_3,"_3"); - HX_STACK_ARG(_4,"_4"); - HX_STACK_ARG(_5,"_5"); - { - HX_STACK_LINE(53) - hx::Throw (e1->__GetItem((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC5((void)) - - HX_STACK_LINE(53) - return Dynamic(new _Function_3_1(e1)); - } - ;break; - default: { - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_3_1,Dynamic,e1) - Void run(Dynamic _1){ - HX_STACK_PUSH("*::_Function_3_1","/usr/lib/haxe/std/cpp/Lib.hx",54); - HX_STACK_ARG(_1,"_1"); - { - HX_STACK_LINE(54) - hx::Throw (e1->__GetItem((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - HX_STACK_LINE(54) - return Dynamic(new _Function_3_1(e1)); - } - } - } - } - } - HX_STACK_LINE(57) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Lib_obj,loadLazy,return ) - -Void Lib_obj::rethrow( Dynamic inExp){ -{ - HX_STACK_PUSH("Lib::rethrow","/usr/lib/haxe/std/cpp/Lib.hx",60); - HX_STACK_ARG(inExp,"inExp"); - HX_STACK_LINE(60) - hx::Throw (inExp); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,rethrow,(void)) - -Void Lib_obj::stringReference( Dynamic inExp){ -{ - HX_STACK_PUSH("Lib::stringReference","/usr/lib/haxe/std/cpp/Lib.hx",62); - HX_STACK_ARG(inExp,"inExp"); - HX_STACK_LINE(62) - hx::Throw (inExp); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,stringReference,(void)) - -Void Lib_obj::print( Dynamic v){ -{ - HX_STACK_PUSH("Lib::print","/usr/lib/haxe/std/cpp/Lib.hx",67); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(67) - ::__hxcpp_print(v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,print,(void)) - -Dynamic Lib_obj::haxeToNeko( Dynamic v){ - HX_STACK_PUSH("Lib::haxeToNeko","/usr/lib/haxe/std/cpp/Lib.hx",75); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(75) - return v; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,haxeToNeko,return ) - -Dynamic Lib_obj::nekoToHaxe( Dynamic v){ - HX_STACK_PUSH("Lib::nekoToHaxe","/usr/lib/haxe/std/cpp/Lib.hx",83); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(83) - return v; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,nekoToHaxe,return ) - -Void Lib_obj::println( Dynamic v){ -{ - HX_STACK_PUSH("Lib::println","/usr/lib/haxe/std/cpp/Lib.hx",89); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(89) - ::__hxcpp_println(v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,println,(void)) - - -Lib_obj::Lib_obj() -{ -} - -void Lib_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Lib); - HX_MARK_END_CLASS(); -} - -void Lib_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Lib_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"print") ) { return print_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"rethrow") ) { return rethrow_dyn(); } - if (HX_FIELD_EQ(inName,"println") ) { return println_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"loadLazy") ) { return loadLazy_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"haxeToNeko") ) { return haxeToNeko_dyn(); } - if (HX_FIELD_EQ(inName,"nekoToHaxe") ) { return nekoToHaxe_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"stringReference") ) { return stringReference_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Lib_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Lib_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("load"), - HX_CSTRING("loadLazy"), - HX_CSTRING("rethrow"), - HX_CSTRING("stringReference"), - HX_CSTRING("print"), - HX_CSTRING("haxeToNeko"), - HX_CSTRING("nekoToHaxe"), - HX_CSTRING("println"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); -}; - -Class Lib_obj::__mClass; - -void Lib_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("cpp.Lib"), hx::TCanCast< Lib_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Lib_obj::__boot() -{ -} - -} // end namespace cpp diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/cpp/rtti/FieldNumericIntegerLookup.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/cpp/rtti/FieldNumericIntegerLookup.cpp deleted file mode 100644 index 06a7477..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/cpp/rtti/FieldNumericIntegerLookup.cpp +++ /dev/null @@ -1,32 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_rtti_FieldNumericIntegerLookup -#include -#endif -namespace cpp{ -namespace rtti{ - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FieldNumericIntegerLookup_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FieldNumericIntegerLookup_obj::__mClass,"__mClass"); -}; - -Class FieldNumericIntegerLookup_obj::__mClass; - -void FieldNumericIntegerLookup_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("cpp.rtti.FieldNumericIntegerLookup"), hx::TCanCast< FieldNumericIntegerLookup_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void FieldNumericIntegerLookup_obj::__boot() -{ -} - -} // end namespace cpp -} // end namespace rtti diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/cpp/zip/Compress.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/cpp/zip/Compress.cpp deleted file mode 100644 index 6ffe722..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/cpp/zip/Compress.cpp +++ /dev/null @@ -1,252 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_cpp_zip_Compress -#include -#endif -#ifndef INCLUDED_cpp_zip_Flush -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -namespace cpp{ -namespace zip{ - -Void Compress_obj::__construct(int level) -{ -HX_STACK_PUSH("Compress::new","/usr/lib/haxe/std/cpp/zip/Compress.hx",31); -{ - HX_STACK_LINE(31) - this->s = ::cpp::zip::Compress_obj::_deflate_init(level); -} -; - return null(); -} - -Compress_obj::~Compress_obj() { } - -Dynamic Compress_obj::__CreateEmpty() { return new Compress_obj; } -hx::ObjectPtr< Compress_obj > Compress_obj::__new(int level) -{ hx::ObjectPtr< Compress_obj > result = new Compress_obj(); - result->__construct(level); - return result;} - -Dynamic Compress_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Compress_obj > result = new Compress_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Compress_obj::close( ){ -{ - HX_STACK_PUSH("Compress::close","/usr/lib/haxe/std/cpp/zip/Compress.hx",43); - HX_STACK_THIS(this); - HX_STACK_LINE(43) - ::cpp::zip::Compress_obj::_deflate_end(this->s); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Compress_obj,close,(void)) - -Void Compress_obj::setFlushMode( ::cpp::zip::Flush f){ -{ - HX_STACK_PUSH("Compress::setFlushMode","/usr/lib/haxe/std/cpp/zip/Compress.hx",39); - HX_STACK_THIS(this); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(39) - ::cpp::zip::Compress_obj::_set_flush_mode(this->s,::Std_obj::string(f)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Compress_obj,setFlushMode,(void)) - -Dynamic Compress_obj::execute( ::haxe::io::Bytes src,int srcPos,::haxe::io::Bytes dst,int dstPos){ - HX_STACK_PUSH("Compress::execute","/usr/lib/haxe/std/cpp/zip/Compress.hx",35); - HX_STACK_THIS(this); - HX_STACK_ARG(src,"src"); - HX_STACK_ARG(srcPos,"srcPos"); - HX_STACK_ARG(dst,"dst"); - HX_STACK_ARG(dstPos,"dstPos"); - HX_STACK_LINE(35) - return ::cpp::zip::Compress_obj::_deflate_buffer(this->s,src->b,srcPos,dst->b,dstPos); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Compress_obj,execute,return ) - -::haxe::io::Bytes Compress_obj::run( ::haxe::io::Bytes s,int level){ - HX_STACK_PUSH("Compress::run","/usr/lib/haxe/std/cpp/zip/Compress.hx",47); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(level,"level"); - HX_STACK_LINE(48) - ::cpp::zip::Compress c = ::cpp::zip::Compress_obj::__new(level); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(49) - c->setFlushMode(::cpp::zip::Flush_obj::FINISH_dyn()); - HX_STACK_LINE(50) - ::haxe::io::Bytes out = ::haxe::io::Bytes_obj::alloc(::cpp::zip::Compress_obj::_deflate_bound(c->s,s->length)); HX_STACK_VAR(out,"out"); - HX_STACK_LINE(51) - Dynamic r = c->execute(s,(int)0,out,(int)0); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(52) - c->close(); - HX_STACK_LINE(53) - if (((bool(!(r->__Field(HX_CSTRING("done"),true))) || bool((r->__Field(HX_CSTRING("read"),true) != s->length))))){ - HX_STACK_LINE(54) - hx::Throw (HX_CSTRING("Compression failed")); - } - HX_STACK_LINE(55) - return out->sub((int)0,r->__Field(HX_CSTRING("write"),true)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Compress_obj,run,return ) - -Dynamic Compress_obj::_deflate_init; - -Dynamic Compress_obj::_deflate_bound; - -Dynamic Compress_obj::_deflate_buffer; - -Dynamic Compress_obj::_deflate_end; - -Dynamic Compress_obj::_set_flush_mode; - - -Compress_obj::Compress_obj() -{ -} - -void Compress_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Compress); - HX_MARK_MEMBER_NAME(s,"s"); - HX_MARK_END_CLASS(); -} - -void Compress_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(s,"s"); -} - -Dynamic Compress_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"s") ) { return s; } - break; - case 3: - if (HX_FIELD_EQ(inName,"run") ) { return run_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_deflate_end") ) { return _deflate_end; } - if (HX_FIELD_EQ(inName,"setFlushMode") ) { return setFlushMode_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"_deflate_init") ) { return _deflate_init; } - break; - case 14: - if (HX_FIELD_EQ(inName,"_deflate_bound") ) { return _deflate_bound; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_deflate_buffer") ) { return _deflate_buffer; } - if (HX_FIELD_EQ(inName,"_set_flush_mode") ) { return _set_flush_mode; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Compress_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"s") ) { s=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_deflate_end") ) { _deflate_end=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"_deflate_init") ) { _deflate_init=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"_deflate_bound") ) { _deflate_bound=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_deflate_buffer") ) { _deflate_buffer=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"_set_flush_mode") ) { _set_flush_mode=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Compress_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("s")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("run"), - HX_CSTRING("_deflate_init"), - HX_CSTRING("_deflate_bound"), - HX_CSTRING("_deflate_buffer"), - HX_CSTRING("_deflate_end"), - HX_CSTRING("_set_flush_mode"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("close"), - HX_CSTRING("setFlushMode"), - HX_CSTRING("execute"), - HX_CSTRING("s"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Compress_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Compress_obj::_deflate_init,"_deflate_init"); - HX_MARK_MEMBER_NAME(Compress_obj::_deflate_bound,"_deflate_bound"); - HX_MARK_MEMBER_NAME(Compress_obj::_deflate_buffer,"_deflate_buffer"); - HX_MARK_MEMBER_NAME(Compress_obj::_deflate_end,"_deflate_end"); - HX_MARK_MEMBER_NAME(Compress_obj::_set_flush_mode,"_set_flush_mode"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Compress_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Compress_obj::_deflate_init,"_deflate_init"); - HX_VISIT_MEMBER_NAME(Compress_obj::_deflate_bound,"_deflate_bound"); - HX_VISIT_MEMBER_NAME(Compress_obj::_deflate_buffer,"_deflate_buffer"); - HX_VISIT_MEMBER_NAME(Compress_obj::_deflate_end,"_deflate_end"); - HX_VISIT_MEMBER_NAME(Compress_obj::_set_flush_mode,"_set_flush_mode"); -}; - -Class Compress_obj::__mClass; - -void Compress_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("cpp.zip.Compress"), hx::TCanCast< Compress_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Compress_obj::__boot() -{ - _deflate_init= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("deflate_init"),(int)1); - _deflate_bound= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("deflate_bound"),(int)2); - _deflate_buffer= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("deflate_buffer"),(int)5); - _deflate_end= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("deflate_end"),(int)1); - _set_flush_mode= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("set_flush_mode"),(int)2); -} - -} // end namespace cpp -} // end namespace zip diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/cpp/zip/Flush.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/cpp/zip/Flush.cpp deleted file mode 100644 index 50adb77..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/cpp/zip/Flush.cpp +++ /dev/null @@ -1,100 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_zip_Flush -#include -#endif -namespace cpp{ -namespace zip{ - -::cpp::zip::Flush Flush_obj::BLOCK; - -::cpp::zip::Flush Flush_obj::FINISH; - -::cpp::zip::Flush Flush_obj::FULL; - -::cpp::zip::Flush Flush_obj::NO; - -::cpp::zip::Flush Flush_obj::SYNC; - -HX_DEFINE_CREATE_ENUM(Flush_obj) - -int Flush_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BLOCK")) return 4; - if (inName==HX_CSTRING("FINISH")) return 3; - if (inName==HX_CSTRING("FULL")) return 2; - if (inName==HX_CSTRING("NO")) return 0; - if (inName==HX_CSTRING("SYNC")) return 1; - return super::__FindIndex(inName); -} - -int Flush_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BLOCK")) return 0; - if (inName==HX_CSTRING("FINISH")) return 0; - if (inName==HX_CSTRING("FULL")) return 0; - if (inName==HX_CSTRING("NO")) return 0; - if (inName==HX_CSTRING("SYNC")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic Flush_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BLOCK")) return BLOCK; - if (inName==HX_CSTRING("FINISH")) return FINISH; - if (inName==HX_CSTRING("FULL")) return FULL; - if (inName==HX_CSTRING("NO")) return NO; - if (inName==HX_CSTRING("SYNC")) return SYNC; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NO"), - HX_CSTRING("SYNC"), - HX_CSTRING("FULL"), - HX_CSTRING("FINISH"), - HX_CSTRING("BLOCK"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Flush_obj::BLOCK,"BLOCK"); - HX_MARK_MEMBER_NAME(Flush_obj::FINISH,"FINISH"); - HX_MARK_MEMBER_NAME(Flush_obj::FULL,"FULL"); - HX_MARK_MEMBER_NAME(Flush_obj::NO,"NO"); - HX_MARK_MEMBER_NAME(Flush_obj::SYNC,"SYNC"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Flush_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Flush_obj::BLOCK,"BLOCK"); - HX_VISIT_MEMBER_NAME(Flush_obj::FINISH,"FINISH"); - HX_VISIT_MEMBER_NAME(Flush_obj::FULL,"FULL"); - HX_VISIT_MEMBER_NAME(Flush_obj::NO,"NO"); - HX_VISIT_MEMBER_NAME(Flush_obj::SYNC,"SYNC"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class Flush_obj::__mClass; - -Dynamic __Create_Flush_obj() { return new Flush_obj; } - -void Flush_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("cpp.zip.Flush"), hx::TCanCast< Flush_obj >,sStaticFields,sMemberFields, - &__Create_Flush_obj, &__Create, - &super::__SGetClass(), &CreateFlush_obj, sMarkStatics, sVisitStatic); -} - -void Flush_obj::__boot() -{ -Static(BLOCK) = hx::CreateEnum< Flush_obj >(HX_CSTRING("BLOCK"),4); -Static(FINISH) = hx::CreateEnum< Flush_obj >(HX_CSTRING("FINISH"),3); -Static(FULL) = hx::CreateEnum< Flush_obj >(HX_CSTRING("FULL"),2); -Static(NO) = hx::CreateEnum< Flush_obj >(HX_CSTRING("NO"),0); -Static(SYNC) = hx::CreateEnum< Flush_obj >(HX_CSTRING("SYNC"),1); -} - - -} // end namespace cpp -} // end namespace zip diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/cpp/zip/Uncompress.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/cpp/zip/Uncompress.cpp deleted file mode 100644 index 92c81f8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/cpp/zip/Uncompress.cpp +++ /dev/null @@ -1,284 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_cpp_zip_Flush -#include -#endif -#ifndef INCLUDED_cpp_zip_Uncompress -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_BytesBuffer -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -namespace cpp{ -namespace zip{ - -Void Uncompress_obj::__construct(Dynamic windowBits) -{ -HX_STACK_PUSH("Uncompress::new","/usr/lib/haxe/std/cpp/zip/Uncompress.hx",30); -{ - HX_STACK_LINE(30) - this->s = ::cpp::zip::Uncompress_obj::_inflate_init(windowBits); -} -; - return null(); -} - -Uncompress_obj::~Uncompress_obj() { } - -Dynamic Uncompress_obj::__CreateEmpty() { return new Uncompress_obj; } -hx::ObjectPtr< Uncompress_obj > Uncompress_obj::__new(Dynamic windowBits) -{ hx::ObjectPtr< Uncompress_obj > result = new Uncompress_obj(); - result->__construct(windowBits); - return result;} - -Dynamic Uncompress_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Uncompress_obj > result = new Uncompress_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Uncompress_obj::close( ){ -{ - HX_STACK_PUSH("Uncompress::close","/usr/lib/haxe/std/cpp/zip/Uncompress.hx",42); - HX_STACK_THIS(this); - HX_STACK_LINE(42) - ::cpp::zip::Uncompress_obj::_inflate_end(this->s); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Uncompress_obj,close,(void)) - -Void Uncompress_obj::setFlushMode( ::cpp::zip::Flush f){ -{ - HX_STACK_PUSH("Uncompress::setFlushMode","/usr/lib/haxe/std/cpp/zip/Uncompress.hx",38); - HX_STACK_THIS(this); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(38) - ::cpp::zip::Uncompress_obj::_set_flush_mode(this->s,f->__Tag()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Uncompress_obj,setFlushMode,(void)) - -Dynamic Uncompress_obj::this_run( ::haxe::io::Bytes src,int srcPos,::haxe::io::Bytes dst,int dstPos){ - HX_STACK_PUSH("Uncompress::this_run","/usr/lib/haxe/std/cpp/zip/Uncompress.hx",34); - HX_STACK_THIS(this); - HX_STACK_ARG(src,"src"); - HX_STACK_ARG(srcPos,"srcPos"); - HX_STACK_ARG(dst,"dst"); - HX_STACK_ARG(dstPos,"dstPos"); - HX_STACK_LINE(34) - return ::cpp::zip::Uncompress_obj::_inflate_buffer(this->s,src->b,srcPos,dst->b,dstPos); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Uncompress_obj,this_run,return ) - -::haxe::io::Bytes Uncompress_obj::run( ::haxe::io::Bytes src,Dynamic bufsize){ - HX_STACK_PUSH("Uncompress::run","/usr/lib/haxe/std/cpp/zip/Uncompress.hx",46); - HX_STACK_ARG(src,"src"); - HX_STACK_ARG(bufsize,"bufsize"); - HX_STACK_LINE(47) - ::cpp::zip::Uncompress u = ::cpp::zip::Uncompress_obj::__new(null()); HX_STACK_VAR(u,"u"); - HX_STACK_LINE(48) - if (((bufsize == null()))){ - HX_STACK_LINE(48) - bufsize = (int)65536; - } - HX_STACK_LINE(49) - ::haxe::io::Bytes tmp = ::haxe::io::Bytes_obj::alloc(bufsize); HX_STACK_VAR(tmp,"tmp"); - HX_STACK_LINE(50) - ::haxe::io::BytesBuffer b = ::haxe::io::BytesBuffer_obj::__new(); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(51) - int pos = (int)0; HX_STACK_VAR(pos,"pos"); - HX_STACK_LINE(52) - u->setFlushMode(::cpp::zip::Flush_obj::SYNC_dyn()); - HX_STACK_LINE(53) - while((true)){ - HX_STACK_LINE(54) - Dynamic r = u->this_run(src,pos,tmp,(int)0); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(55) - { - HX_STACK_LINE(55) - int len = r->__Field(HX_CSTRING("write"),true); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(55) - if (((bool((len < (int)0)) || bool((len > tmp->length))))){ - HX_STACK_LINE(55) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(55) - Array< unsigned char > b1 = b->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(55) - Array< unsigned char > b2 = tmp->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(55) - { - HX_STACK_LINE(55) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = len; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(55) - while(((_g1 < _g))){ - HX_STACK_LINE(55) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(55) - b->b->push(b2->__get(i)); - } - } - } - HX_STACK_LINE(56) - hx::AddEq(pos,r->__Field(HX_CSTRING("read"),true)); - HX_STACK_LINE(57) - if ((r->__Field(HX_CSTRING("done"),true))){ - HX_STACK_LINE(58) - break; - } - } - HX_STACK_LINE(60) - u->close(); - HX_STACK_LINE(61) - return b->getBytes(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Uncompress_obj,run,return ) - -Dynamic Uncompress_obj::_inflate_init; - -Dynamic Uncompress_obj::_inflate_buffer; - -Dynamic Uncompress_obj::_inflate_end; - -Dynamic Uncompress_obj::_set_flush_mode; - - -Uncompress_obj::Uncompress_obj() -{ -} - -void Uncompress_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Uncompress); - HX_MARK_MEMBER_NAME(s,"s"); - HX_MARK_END_CLASS(); -} - -void Uncompress_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(s,"s"); -} - -Dynamic Uncompress_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"s") ) { return s; } - break; - case 3: - if (HX_FIELD_EQ(inName,"run") ) { return run_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"this_run") ) { return this_run_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_inflate_end") ) { return _inflate_end; } - if (HX_FIELD_EQ(inName,"setFlushMode") ) { return setFlushMode_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"_inflate_init") ) { return _inflate_init; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_inflate_buffer") ) { return _inflate_buffer; } - if (HX_FIELD_EQ(inName,"_set_flush_mode") ) { return _set_flush_mode; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Uncompress_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"s") ) { s=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_inflate_end") ) { _inflate_end=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"_inflate_init") ) { _inflate_init=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_inflate_buffer") ) { _inflate_buffer=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"_set_flush_mode") ) { _set_flush_mode=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Uncompress_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("s")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("run"), - HX_CSTRING("_inflate_init"), - HX_CSTRING("_inflate_buffer"), - HX_CSTRING("_inflate_end"), - HX_CSTRING("_set_flush_mode"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("close"), - HX_CSTRING("setFlushMode"), - HX_CSTRING("this_run"), - HX_CSTRING("s"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Uncompress_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Uncompress_obj::_inflate_init,"_inflate_init"); - HX_MARK_MEMBER_NAME(Uncompress_obj::_inflate_buffer,"_inflate_buffer"); - HX_MARK_MEMBER_NAME(Uncompress_obj::_inflate_end,"_inflate_end"); - HX_MARK_MEMBER_NAME(Uncompress_obj::_set_flush_mode,"_set_flush_mode"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Uncompress_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Uncompress_obj::_inflate_init,"_inflate_init"); - HX_VISIT_MEMBER_NAME(Uncompress_obj::_inflate_buffer,"_inflate_buffer"); - HX_VISIT_MEMBER_NAME(Uncompress_obj::_inflate_end,"_inflate_end"); - HX_VISIT_MEMBER_NAME(Uncompress_obj::_set_flush_mode,"_set_flush_mode"); -}; - -Class Uncompress_obj::__mClass; - -void Uncompress_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("cpp.zip.Uncompress"), hx::TCanCast< Uncompress_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Uncompress_obj::__boot() -{ - _inflate_init= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("inflate_init"),(int)1); - _inflate_buffer= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("inflate_buffer"),(int)5); - _inflate_end= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("inflate_end"),(int)1); - _set_flush_mode= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("set_flush_mode"),(int)2); -} - -} // end namespace cpp -} // end namespace zip diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/SVG.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/SVG.cpp deleted file mode 100644 index ed1f2a4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/SVG.cpp +++ /dev/null @@ -1,161 +0,0 @@ -#include - -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_format_SVG -#include -#endif -#ifndef INCLUDED_format_svg_Group -#include -#endif -#ifndef INCLUDED_format_svg_SVGData -#include -#endif -#ifndef INCLUDED_format_svg_SVGRenderer -#include -#endif -#ifndef INCLUDED_native_display_Graphics -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -#ifndef INCLUDED_native_geom_Rectangle -#include -#endif -namespace format{ - -Void SVG_obj::__construct(::String content) -{ -HX_STACK_PUSH("SVG::new","format/SVG.hx",17); -{ - HX_STACK_LINE(17) - this->data = ::format::svg::SVGData_obj::__new(::Xml_obj::parse(content),null()); -} -; - return null(); -} - -SVG_obj::~SVG_obj() { } - -Dynamic SVG_obj::__CreateEmpty() { return new SVG_obj; } -hx::ObjectPtr< SVG_obj > SVG_obj::__new(::String content) -{ hx::ObjectPtr< SVG_obj > result = new SVG_obj(); - result->__construct(content); - return result;} - -Dynamic SVG_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SVG_obj > result = new SVG_obj(); - result->__construct(inArgs[0]); - return result;} - -Void SVG_obj::render( ::native::display::Graphics graphics,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< int > __o_width,hx::Null< int > __o_height){ -Float x = __o_x.Default(0); -Float y = __o_y.Default(0); -int width = __o_width.Default(-1); -int height = __o_height.Default(-1); - HX_STACK_PUSH("SVG::render","format/SVG.hx",24); - HX_STACK_THIS(this); - HX_STACK_ARG(graphics,"graphics"); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); -{ - HX_STACK_LINE(26) - ::native::geom::Matrix matrix = ::native::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(matrix,"matrix"); - HX_STACK_LINE(27) - matrix->identity(); - HX_STACK_LINE(28) - matrix->translate(x,y); - HX_STACK_LINE(30) - if (((bool((width > (int)-1)) && bool((height > (int)-1))))){ - HX_STACK_LINE(30) - matrix->scale((Float(width) / Float(this->data->width)),(Float(height) / Float(this->data->height))); - } - HX_STACK_LINE(36) - ::format::svg::SVGRenderer renderer = ::format::svg::SVGRenderer_obj::__new(this->data,null()); HX_STACK_VAR(renderer,"renderer"); - HX_STACK_LINE(37) - renderer->render(graphics,matrix,null(),null(),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(SVG_obj,render,(void)) - - -SVG_obj::SVG_obj() -{ -} - -void SVG_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SVG); - HX_MARK_MEMBER_NAME(data,"data"); - HX_MARK_END_CLASS(); -} - -void SVG_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(data,"data"); -} - -Dynamic SVG_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"data") ) { return data; } - break; - case 6: - if (HX_FIELD_EQ(inName,"render") ) { return render_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SVG_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"data") ) { data=inValue.Cast< ::format::svg::SVGData >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SVG_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("data")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("render"), - HX_CSTRING("data"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SVG_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SVG_obj::__mClass,"__mClass"); -}; - -Class SVG_obj::__mClass; - -void SVG_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.SVG"), hx::TCanCast< SVG_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SVG_obj::__boot() -{ -} - -} // end namespace format diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/Gfx.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/Gfx.cpp deleted file mode 100644 index a161e5e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/Gfx.cpp +++ /dev/null @@ -1,285 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_gfx_LineStyle -#include -#endif -#ifndef INCLUDED_format_svg_Text -#include -#endif -namespace format{ -namespace gfx{ - -Void Gfx_obj::__construct() -{ -HX_STACK_PUSH("Gfx::new","format/gfx/Gfx.hx",15); -{ -} -; - return null(); -} - -Gfx_obj::~Gfx_obj() { } - -Dynamic Gfx_obj::__CreateEmpty() { return new Gfx_obj; } -hx::ObjectPtr< Gfx_obj > Gfx_obj::__new() -{ hx::ObjectPtr< Gfx_obj > result = new Gfx_obj(); - result->__construct(); - return result;} - -Dynamic Gfx_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Gfx_obj > result = new Gfx_obj(); - result->__construct(); - return result;} - -Void Gfx_obj::eof( ){ -{ - HX_STACK_PUSH("Gfx::eof","format/gfx/Gfx.hx",32); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Gfx_obj,eof,(void)) - -Void Gfx_obj::renderText( ::format::svg::Text text){ -{ - HX_STACK_PUSH("Gfx::renderText","format/gfx/Gfx.hx",30); - HX_STACK_THIS(this); - HX_STACK_ARG(text,"text"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Gfx_obj,renderText,(void)) - -Void Gfx_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("Gfx::curveTo","format/gfx/Gfx.hx",28); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Gfx_obj,curveTo,(void)) - -Void Gfx_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Gfx::lineTo","format/gfx/Gfx.hx",27); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Gfx_obj,lineTo,(void)) - -Void Gfx_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Gfx::moveTo","format/gfx/Gfx.hx",26); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Gfx_obj,moveTo,(void)) - -Void Gfx_obj::endLineStyle( ){ -{ - HX_STACK_PUSH("Gfx::endLineStyle","format/gfx/Gfx.hx",24); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Gfx_obj,endLineStyle,(void)) - -Void Gfx_obj::lineStyle( ::format::gfx::LineStyle style){ -{ - HX_STACK_PUSH("Gfx::lineStyle","format/gfx/Gfx.hx",23); - HX_STACK_THIS(this); - HX_STACK_ARG(style,"style"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Gfx_obj,lineStyle,(void)) - -Void Gfx_obj::endFill( ){ -{ - HX_STACK_PUSH("Gfx::endFill","format/gfx/Gfx.hx",21); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Gfx_obj,endFill,(void)) - -Void Gfx_obj::beginFill( int color,Float alpha){ -{ - HX_STACK_PUSH("Gfx::beginFill","format/gfx/Gfx.hx",20); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Gfx_obj,beginFill,(void)) - -Void Gfx_obj::beginGradientFill( ::format::gfx::Gradient grad){ -{ - HX_STACK_PUSH("Gfx::beginGradientFill","format/gfx/Gfx.hx",18); - HX_STACK_THIS(this); - HX_STACK_ARG(grad,"grad"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Gfx_obj,beginGradientFill,(void)) - -Void Gfx_obj::size( Float inWidth,Float inHeight){ -{ - HX_STACK_PUSH("Gfx::size","format/gfx/Gfx.hx",17); - HX_STACK_THIS(this); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Gfx_obj,size,(void)) - -bool Gfx_obj::geometryOnly( ){ - HX_STACK_PUSH("Gfx::geometryOnly","format/gfx/Gfx.hx",16); - HX_STACK_THIS(this); - HX_STACK_LINE(16) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Gfx_obj,geometryOnly,return ) - - -Gfx_obj::Gfx_obj() -{ -} - -void Gfx_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Gfx); - HX_MARK_END_CLASS(); -} - -void Gfx_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Gfx_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"eof") ) { return eof_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"size") ) { return size_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - if (HX_FIELD_EQ(inName,"endFill") ) { return endFill_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"lineStyle") ) { return lineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"beginFill") ) { return beginFill_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"renderText") ) { return renderText_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"endLineStyle") ) { return endLineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"geometryOnly") ) { return geometryOnly_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"beginGradientFill") ) { return beginGradientFill_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Gfx_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Gfx_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("eof"), - HX_CSTRING("renderText"), - HX_CSTRING("curveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("moveTo"), - HX_CSTRING("endLineStyle"), - HX_CSTRING("lineStyle"), - HX_CSTRING("endFill"), - HX_CSTRING("beginFill"), - HX_CSTRING("beginGradientFill"), - HX_CSTRING("size"), - HX_CSTRING("geometryOnly"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Gfx_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Gfx_obj::__mClass,"__mClass"); -}; - -Class Gfx_obj::__mClass; - -void Gfx_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.Gfx"), hx::TCanCast< Gfx_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Gfx_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/Gfx2Haxe.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/Gfx2Haxe.cpp deleted file mode 100644 index 287dcda..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/Gfx2Haxe.cpp +++ /dev/null @@ -1,307 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_Gfx2Haxe -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_gfx_LineStyle -#include -#endif -#ifndef INCLUDED_native_display_CapsStyle -#include -#endif -#ifndef INCLUDED_native_display_GradientType -#include -#endif -#ifndef INCLUDED_native_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_native_display_JointStyle -#include -#endif -#ifndef INCLUDED_native_display_LineScaleMode -#include -#endif -#ifndef INCLUDED_native_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -namespace format{ -namespace gfx{ - -Void Gfx2Haxe_obj::__construct() -{ -HX_STACK_PUSH("Gfx2Haxe::new","format/gfx/Gfx2Haxe.hx",17); -{ - HX_STACK_LINE(18) - super::__construct(); - HX_STACK_LINE(19) - this->commands = Array_obj< ::String >::__new(); -} -; - return null(); -} - -Gfx2Haxe_obj::~Gfx2Haxe_obj() { } - -Dynamic Gfx2Haxe_obj::__CreateEmpty() { return new Gfx2Haxe_obj; } -hx::ObjectPtr< Gfx2Haxe_obj > Gfx2Haxe_obj::__new() -{ hx::ObjectPtr< Gfx2Haxe_obj > result = new Gfx2Haxe_obj(); - result->__construct(); - return result;} - -Dynamic Gfx2Haxe_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Gfx2Haxe_obj > result = new Gfx2Haxe_obj(); - result->__construct(); - return result;} - -Void Gfx2Haxe_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("Gfx2Haxe::curveTo","format/gfx/Gfx2Haxe.hx",64); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(64) - this->commands->push(((((((((HX_CSTRING("g.curveTo(") + inCX) + HX_CSTRING(",")) + inCY) + HX_CSTRING(",")) + inX) + HX_CSTRING(",")) + inY) + HX_CSTRING(");"))); - } -return null(); -} - - -Void Gfx2Haxe_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Gfx2Haxe::lineTo","format/gfx/Gfx2Haxe.hx",62); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(62) - this->commands->push(((((HX_CSTRING("g.lineTo(") + inX) + HX_CSTRING(",")) + inY) + HX_CSTRING(");"))); - } -return null(); -} - - -Void Gfx2Haxe_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Gfx2Haxe::moveTo","format/gfx/Gfx2Haxe.hx",60); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(60) - this->commands->push(((((HX_CSTRING("g.moveTo(") + inX) + HX_CSTRING(",")) + inY) + HX_CSTRING(");"))); - } -return null(); -} - - -Void Gfx2Haxe_obj::endLineStyle( ){ -{ - HX_STACK_PUSH("Gfx2Haxe::endLineStyle","format/gfx/Gfx2Haxe.hx",57); - HX_STACK_THIS(this); - HX_STACK_LINE(57) - this->commands->push(HX_CSTRING("g.lineStyle();")); - } -return null(); -} - - -Void Gfx2Haxe_obj::lineStyle( ::format::gfx::LineStyle style){ -{ - HX_STACK_PUSH("Gfx2Haxe::lineStyle","format/gfx/Gfx2Haxe.hx",51); - HX_STACK_THIS(this); - HX_STACK_ARG(style,"style"); - HX_STACK_LINE(51) - this->commands->push((((((((((((((((HX_CSTRING("g.lineStyle(") + this->f2a(style->thickness)) + HX_CSTRING(",")) + style->color) + HX_CSTRING(",")) + this->f2a(style->alpha)) + HX_CSTRING(",")) + ::Std_obj::string(style->pixelHinting)) + HX_CSTRING(",")) + ::Std_obj::string(style->scaleMode)) + HX_CSTRING(",")) + ::Std_obj::string(style->capsStyle)) + HX_CSTRING(",")) + ::Std_obj::string(style->jointStyle)) + HX_CSTRING(",")) + this->f2a(style->miterLimit))); - } -return null(); -} - - -Void Gfx2Haxe_obj::endFill( ){ -{ - HX_STACK_PUSH("Gfx2Haxe::endFill","format/gfx/Gfx2Haxe.hx",47); - HX_STACK_THIS(this); - HX_STACK_LINE(47) - this->commands->push(HX_CSTRING("g.endFill();")); - } -return null(); -} - - -Void Gfx2Haxe_obj::beginFill( int color,Float alpha){ -{ - HX_STACK_PUSH("Gfx2Haxe::beginFill","format/gfx/Gfx2Haxe.hx",44); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); - HX_STACK_LINE(44) - this->commands->push(((((HX_CSTRING("g.beginFill(") + color) + HX_CSTRING(",")) + this->f2a(alpha)) + HX_CSTRING(");"))); - } -return null(); -} - - -Void Gfx2Haxe_obj::beginGradientFill( ::format::gfx::Gradient grad){ -{ - HX_STACK_PUSH("Gfx2Haxe::beginGradientFill","format/gfx/Gfx2Haxe.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(grad,"grad"); - HX_STACK_LINE(37) - this->commands->push(((((((((((((((((HX_CSTRING("g.beginGradientFill(") + ::Std_obj::string(grad->type)) + HX_CSTRING(",")) + ::Std_obj::string(grad->colors)) + HX_CSTRING(",")) + ::Std_obj::string(grad->alphas)) + HX_CSTRING(",")) + ::Std_obj::string(grad->ratios)) + HX_CSTRING(",")) + this->newMatrix(grad->matrix)) + HX_CSTRING(",")) + ::Std_obj::string(grad->spread)) + HX_CSTRING(",")) + ::Std_obj::string(grad->interp)) + HX_CSTRING(",")) + grad->focus) + HX_CSTRING(");"))); - } -return null(); -} - - -::String Gfx2Haxe_obj::newMatrix( ::native::geom::Matrix m){ - HX_STACK_PUSH("Gfx2Haxe::newMatrix","format/gfx/Gfx2Haxe.hx",31); - HX_STACK_THIS(this); - HX_STACK_ARG(m,"m"); - HX_STACK_LINE(31) - return ((((((((((((HX_CSTRING("new Matrix(") + this->f2a(m->a)) + HX_CSTRING(",")) + this->f2a(m->b)) + HX_CSTRING(",")) + this->f2a(m->c)) + HX_CSTRING(",")) + this->f2a(m->d)) + HX_CSTRING(",")) + this->f2a(m->tx)) + HX_CSTRING(",")) + this->f2a(m->ty)) + HX_CSTRING(")")); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Gfx2Haxe_obj,newMatrix,return ) - -::String Gfx2Haxe_obj::f2a( Float f){ - HX_STACK_PUSH("Gfx2Haxe::f2a","format/gfx/Gfx2Haxe.hx",23); - HX_STACK_THIS(this); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(24) - if (((::Math_obj::abs(f) < 0.000001))){ - HX_STACK_LINE(24) - return HX_CSTRING("0"); - } - HX_STACK_LINE(25) - if (((::Math_obj::abs(((int)1 - f)) < 0.000001))){ - HX_STACK_LINE(25) - return HX_CSTRING("1"); - } - HX_STACK_LINE(26) - return (f + HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Gfx2Haxe_obj,f2a,return ) - - -Gfx2Haxe_obj::Gfx2Haxe_obj() -{ -} - -void Gfx2Haxe_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Gfx2Haxe); - HX_MARK_MEMBER_NAME(commands,"commands"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Gfx2Haxe_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(commands,"commands"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Gfx2Haxe_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"f2a") ) { return f2a_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - if (HX_FIELD_EQ(inName,"endFill") ) { return endFill_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"commands") ) { return commands; } - break; - case 9: - if (HX_FIELD_EQ(inName,"lineStyle") ) { return lineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"beginFill") ) { return beginFill_dyn(); } - if (HX_FIELD_EQ(inName,"newMatrix") ) { return newMatrix_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"endLineStyle") ) { return endLineStyle_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"beginGradientFill") ) { return beginGradientFill_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Gfx2Haxe_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"commands") ) { commands=inValue.Cast< Array< ::String > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Gfx2Haxe_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("commands")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("curveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("moveTo"), - HX_CSTRING("endLineStyle"), - HX_CSTRING("lineStyle"), - HX_CSTRING("endFill"), - HX_CSTRING("beginFill"), - HX_CSTRING("beginGradientFill"), - HX_CSTRING("newMatrix"), - HX_CSTRING("f2a"), - HX_CSTRING("commands"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Gfx2Haxe_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Gfx2Haxe_obj::__mClass,"__mClass"); -}; - -Class Gfx2Haxe_obj::__mClass; - -void Gfx2Haxe_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.Gfx2Haxe"), hx::TCanCast< Gfx2Haxe_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Gfx2Haxe_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/GfxBytes.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/GfxBytes.cpp deleted file mode 100644 index 6d1071f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/GfxBytes.cpp +++ /dev/null @@ -1,1186 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_GfxBytes -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_gfx_LineStyle -#include -#endif -#ifndef INCLUDED_haxe_BaseCode -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_display_CapsStyle -#include -#endif -#ifndef INCLUDED_native_display_GradientType -#include -#endif -#ifndef INCLUDED_native_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_native_display_JointStyle -#include -#endif -#ifndef INCLUDED_native_display_LineScaleMode -#include -#endif -#ifndef INCLUDED_native_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_CompressionAlgorithm -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace format{ -namespace gfx{ - -Void GfxBytes_obj::__construct(::native::utils::ByteArray inBuffer,hx::Null< int > __o_inFlags) -{ -HX_STACK_PUSH("GfxBytes::new","format/gfx/GfxBytes.hx",40); -int inFlags = __o_inFlags.Default(0); -{ - HX_STACK_LINE(41) - super::__construct(); - HX_STACK_LINE(42) - this->buffer = ( (((inBuffer == null()))) ? ::native::utils::ByteArray(::native::utils::ByteArray_obj::__new(null())) : ::native::utils::ByteArray(inBuffer) ); -} -; - return null(); -} - -GfxBytes_obj::~GfxBytes_obj() { } - -Dynamic GfxBytes_obj::__CreateEmpty() { return new GfxBytes_obj; } -hx::ObjectPtr< GfxBytes_obj > GfxBytes_obj::__new(::native::utils::ByteArray inBuffer,hx::Null< int > __o_inFlags) -{ hx::ObjectPtr< GfxBytes_obj > result = new GfxBytes_obj(); - result->__construct(inBuffer,__o_inFlags); - return result;} - -Dynamic GfxBytes_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GfxBytes_obj > result = new GfxBytes_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -Void GfxBytes_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxBytes::curveTo","format/gfx/GfxBytes.hx",269); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(270) - { - HX_STACK_LINE(270) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(270) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(270) - _this->b[(_this->position)++] = (int)32; - } - HX_STACK_LINE(271) - this->buffer->writeFloat(inCX); - HX_STACK_LINE(272) - this->buffer->writeFloat(inCY); - HX_STACK_LINE(273) - this->buffer->writeFloat(inX); - HX_STACK_LINE(274) - this->buffer->writeFloat(inY); - } -return null(); -} - - -Void GfxBytes_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxBytes::lineTo","format/gfx/GfxBytes.hx",262); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(263) - { - HX_STACK_LINE(263) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(263) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(263) - _this->b[(_this->position)++] = (int)31; - } - HX_STACK_LINE(264) - this->buffer->writeFloat(inX); - HX_STACK_LINE(265) - this->buffer->writeFloat(inY); - } -return null(); -} - - -Void GfxBytes_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxBytes::moveTo","format/gfx/GfxBytes.hx",255); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(256) - { - HX_STACK_LINE(256) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(256) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(256) - _this->b[(_this->position)++] = (int)30; - } - HX_STACK_LINE(257) - this->buffer->writeFloat(inX); - HX_STACK_LINE(258) - this->buffer->writeFloat(inY); - } -return null(); -} - - -Void GfxBytes_obj::endLineStyle( ){ -{ - HX_STACK_PUSH("GfxBytes::endLineStyle","format/gfx/GfxBytes.hx",250); - HX_STACK_THIS(this); - HX_STACK_LINE(251) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(251) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(251) - _this->b[(_this->position)++] = (int)21; - } -return null(); -} - - -Void GfxBytes_obj::lineStyle( ::format::gfx::LineStyle style){ -{ - HX_STACK_PUSH("GfxBytes::lineStyle","format/gfx/GfxBytes.hx",237); - HX_STACK_THIS(this); - HX_STACK_ARG(style,"style"); - HX_STACK_LINE(238) - { - HX_STACK_LINE(238) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(238) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(238) - _this->b[(_this->position)++] = (int)20; - } - HX_STACK_LINE(239) - this->buffer->writeFloat(style->thickness); - HX_STACK_LINE(240) - this->writeRGB(style->color); - HX_STACK_LINE(241) - this->buffer->writeFloat(style->alpha); - HX_STACK_LINE(242) - { - HX_STACK_LINE(242) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(242) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(242) - _this->b[(_this->position)++] = ( ((style->pixelHinting)) ? int((int)1) : int((int)0) ); - } - HX_STACK_LINE(243) - { - HX_STACK_LINE(243) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(243) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(243) - _this->b[(_this->position)++] = style->scaleMode->__Index(); - } - HX_STACK_LINE(244) - { - HX_STACK_LINE(244) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(244) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(244) - _this->b[(_this->position)++] = style->capsStyle->__Index(); - } - HX_STACK_LINE(245) - { - HX_STACK_LINE(245) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(245) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(245) - _this->b[(_this->position)++] = style->jointStyle->__Index(); - } - HX_STACK_LINE(246) - this->buffer->writeFloat(style->miterLimit); - } -return null(); -} - - -Void GfxBytes_obj::endFill( ){ -{ - HX_STACK_PUSH("GfxBytes::endFill","format/gfx/GfxBytes.hx",232); - HX_STACK_THIS(this); - HX_STACK_LINE(233) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(233) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(233) - _this->b[(_this->position)++] = (int)12; - } -return null(); -} - - -Void GfxBytes_obj::beginFill( int color,Float alpha){ -{ - HX_STACK_PUSH("GfxBytes::beginFill","format/gfx/GfxBytes.hx",226); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); - HX_STACK_LINE(227) - { - HX_STACK_LINE(227) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(227) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(227) - _this->b[(_this->position)++] = (int)10; - } - HX_STACK_LINE(228) - this->writeRGB(color); - HX_STACK_LINE(229) - this->buffer->writeFloat(alpha); - } -return null(); -} - - -Void GfxBytes_obj::beginGradientFill( ::format::gfx::Gradient grad){ -{ - HX_STACK_PUSH("GfxBytes::beginGradientFill","format/gfx/GfxBytes.hx",204); - HX_STACK_THIS(this); - HX_STACK_ARG(grad,"grad"); - HX_STACK_LINE(205) - { - HX_STACK_LINE(205) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(205) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(205) - _this->b[(_this->position)++] = (int)11; - } - HX_STACK_LINE(206) - { - HX_STACK_LINE(206) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(206) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(206) - _this->b[(_this->position)++] = grad->type->__Index(); - } - HX_STACK_LINE(207) - { - HX_STACK_LINE(207) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(207) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(207) - _this->b[(_this->position)++] = grad->colors->length; - } - HX_STACK_LINE(208) - { - HX_STACK_LINE(208) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = grad->colors->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(208) - while(((_g1 < _g))){ - HX_STACK_LINE(208) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(210) - this->writeRGB(::Std_obj::_int(grad->colors->__get(i))); - HX_STACK_LINE(211) - { - HX_STACK_LINE(211) - Float inVal = (grad->alphas->__get(i) * 255.0); HX_STACK_VAR(inVal,"inVal"); - HX_STACK_LINE(211) - { - HX_STACK_LINE(211) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(211) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(211) - _this->b[(_this->position)++] = ( (((inVal < (int)0))) ? int((int)0) : int(( (((inVal > 255.0))) ? int((int)255) : int(::Std_obj::_int(inVal)) )) ); - } - } - HX_STACK_LINE(212) - { - HX_STACK_LINE(212) - Float inVal = grad->ratios->__get(i); HX_STACK_VAR(inVal,"inVal"); - HX_STACK_LINE(212) - { - HX_STACK_LINE(212) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(212) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(212) - _this->b[(_this->position)++] = ( (((inVal < (int)0))) ? int((int)0) : int(( (((inVal > 255.0))) ? int((int)255) : int(::Std_obj::_int(inVal)) )) ); - } - } - } - } - HX_STACK_LINE(214) - this->buffer->writeFloat(grad->matrix->a); - HX_STACK_LINE(215) - this->buffer->writeFloat(grad->matrix->b); - HX_STACK_LINE(216) - this->buffer->writeFloat(grad->matrix->c); - HX_STACK_LINE(217) - this->buffer->writeFloat(grad->matrix->d); - HX_STACK_LINE(218) - this->buffer->writeFloat(grad->matrix->tx); - HX_STACK_LINE(219) - this->buffer->writeFloat(grad->matrix->ty); - HX_STACK_LINE(220) - { - HX_STACK_LINE(220) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(220) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(220) - _this->b[(_this->position)++] = grad->spread->__Index(); - } - HX_STACK_LINE(221) - { - HX_STACK_LINE(221) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(221) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(221) - _this->b[(_this->position)++] = grad->interp->__Index(); - } - HX_STACK_LINE(222) - this->buffer->writeFloat(grad->focus); - } -return null(); -} - - -int GfxBytes_obj::readRGB( ){ - HX_STACK_PUSH("GfxBytes::readRGB","format/gfx/GfxBytes.hx",194); - HX_STACK_THIS(this); - struct _Function_1_1{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",195); - { - HX_STACK_LINE(195) - ::native::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(195) - int val = ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(195) - return ( (((((int(val) & int((int)128))) != (int)0))) ? int((val - (int)256)) : int(val) ); - } - return null(); - } - }; - HX_STACK_LINE(195) - int r = _Function_1_1::Block(this); HX_STACK_VAR(r,"r"); - struct _Function_1_2{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",196); - { - HX_STACK_LINE(196) - ::native::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(196) - int val = ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(196) - return ( (((((int(val) & int((int)128))) != (int)0))) ? int((val - (int)256)) : int(val) ); - } - return null(); - } - }; - HX_STACK_LINE(196) - int g = _Function_1_2::Block(this); HX_STACK_VAR(g,"g"); - struct _Function_1_3{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",197); - { - HX_STACK_LINE(197) - ::native::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(197) - int val = ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(197) - return ( (((((int(val) & int((int)128))) != (int)0))) ? int((val - (int)256)) : int(val) ); - } - return null(); - } - }; - HX_STACK_LINE(197) - int b = _Function_1_3::Block(this); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(198) - return (int((int((int(r) << int((int)16))) | int((int(g) << int((int)8))))) | int(b)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(GfxBytes_obj,readRGB,return ) - -Void GfxBytes_obj::writeRGB( int inVal){ -{ - HX_STACK_PUSH("GfxBytes::writeRGB","format/gfx/GfxBytes.hx",188); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(189) - { - HX_STACK_LINE(189) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(189) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(189) - _this->b[(_this->position)++] = (int((int(inVal) >> int((int)16))) & int((int)255)); - } - HX_STACK_LINE(190) - { - HX_STACK_LINE(190) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(190) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(190) - _this->b[(_this->position)++] = (int((int(inVal) >> int((int)8))) & int((int)255)); - } - HX_STACK_LINE(191) - { - HX_STACK_LINE(191) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(191) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(191) - _this->b[(_this->position)++] = (int(inVal) & int((int)255)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(GfxBytes_obj,writeRGB,(void)) - -Void GfxBytes_obj::pushClipped( Float inVal){ -{ - HX_STACK_PUSH("GfxBytes::pushClipped","format/gfx/GfxBytes.hx",184); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(185) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(185) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(185) - _this->b[(_this->position)++] = ( (((inVal < (int)0))) ? int((int)0) : int(( (((inVal > 255.0))) ? int((int)255) : int(::Std_obj::_int(inVal)) )) ); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(GfxBytes_obj,pushClipped,(void)) - -Void GfxBytes_obj::size( Float inWidth,Float inHeight){ -{ - HX_STACK_PUSH("GfxBytes::size","format/gfx/GfxBytes.hx",177); - HX_STACK_THIS(this); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_LINE(178) - { - HX_STACK_LINE(178) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(178) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(178) - _this->b[(_this->position)++] = (int)1; - } - HX_STACK_LINE(179) - this->buffer->writeFloat(inWidth); - HX_STACK_LINE(180) - this->buffer->writeFloat(inHeight); - } -return null(); -} - - -Void GfxBytes_obj::iterate( ::format::gfx::Gfx inGfx){ -{ - HX_STACK_PUSH("GfxBytes::iterate","format/gfx/GfxBytes.hx",95); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_LINE(96) - this->buffer->position = (int)0; - HX_STACK_LINE(97) - while((true)){ - struct _Function_2_1{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",99); - { - HX_STACK_LINE(99) - ::native::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(99) - int val = ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(99) - return ( (((((int(val) & int((int)128))) != (int)0))) ? int((val - (int)256)) : int(val) ); - } - return null(); - } - }; - HX_STACK_LINE(98) - switch( (int)(_Function_2_1::Block(this))){ - case (int)0: { - HX_STACK_LINE(101) - return null(); - } - ;break; - case (int)1: { - HX_STACK_LINE(105) - Float w = this->buffer->readFloat(); HX_STACK_VAR(w,"w"); - HX_STACK_LINE(106) - Float h = this->buffer->readFloat(); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(107) - inGfx->size(w,h); - } - ;break; - case (int)10: { - HX_STACK_LINE(110) - int col = this->readRGB(); HX_STACK_VAR(col,"col"); - HX_STACK_LINE(111) - Float alpha = this->buffer->readFloat(); HX_STACK_VAR(alpha,"alpha"); - HX_STACK_LINE(112) - inGfx->beginFill(col,alpha); - } - ;break; - case (int)11: { - HX_STACK_LINE(115) - ::format::gfx::Gradient grad = ::format::gfx::Gradient_obj::__new(); HX_STACK_VAR(grad,"grad"); - struct _Function_3_1{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",116); - { - HX_STACK_LINE(116) - ::native::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(116) - int val = ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(116) - return ( (((((int(val) & int((int)128))) != (int)0))) ? int((val - (int)256)) : int(val) ); - } - return null(); - } - }; - HX_STACK_LINE(116) - grad->type = ::Type_obj::createEnumIndex(hx::ClassOf< ::native::display::GradientType >(),_Function_3_1::Block(this),null()); - struct _Function_3_2{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",117); - { - HX_STACK_LINE(117) - ::native::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(117) - int val = ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(117) - return ( (((((int(val) & int((int)128))) != (int)0))) ? int((val - (int)256)) : int(val) ); - } - return null(); - } - }; - HX_STACK_LINE(117) - int len = _Function_3_2::Block(this); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(118) - { - HX_STACK_LINE(118) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(118) - while(((_g < len))){ - HX_STACK_LINE(118) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(120) - grad->colors->push(this->readRGB()); - struct _Function_5_1{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",121); - { - HX_STACK_LINE(121) - ::native::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(121) - int val = ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(121) - return ( (((((int(val) & int((int)128))) != (int)0))) ? int((val - (int)256)) : int(val) ); - } - return null(); - } - }; - HX_STACK_LINE(121) - grad->alphas->push((Float(_Function_5_1::Block(this)) / Float(255.0))); - struct _Function_5_2{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",122); - { - HX_STACK_LINE(122) - ::native::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(122) - int val = ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(122) - return ( (((((int(val) & int((int)128))) != (int)0))) ? int((val - (int)256)) : int(val) ); - } - return null(); - } - }; - HX_STACK_LINE(122) - grad->ratios->push(_Function_5_2::Block(this)); - } - } - HX_STACK_LINE(124) - grad->matrix->a = this->buffer->readFloat(); - HX_STACK_LINE(125) - grad->matrix->b = this->buffer->readFloat(); - HX_STACK_LINE(126) - grad->matrix->c = this->buffer->readFloat(); - HX_STACK_LINE(127) - grad->matrix->d = this->buffer->readFloat(); - HX_STACK_LINE(128) - grad->matrix->tx = this->buffer->readFloat(); - HX_STACK_LINE(129) - grad->matrix->ty = this->buffer->readFloat(); - struct _Function_3_3{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",130); - { - HX_STACK_LINE(130) - ::native::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(130) - int val = ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(130) - return ( (((((int(val) & int((int)128))) != (int)0))) ? int((val - (int)256)) : int(val) ); - } - return null(); - } - }; - HX_STACK_LINE(130) - grad->spread = ::format::gfx::GfxBytes_obj::spreadMethods->__get(_Function_3_3::Block(this)); - struct _Function_3_4{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",131); - { - HX_STACK_LINE(131) - ::native::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(131) - int val = ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(131) - return ( (((((int(val) & int((int)128))) != (int)0))) ? int((val - (int)256)) : int(val) ); - } - return null(); - } - }; - HX_STACK_LINE(131) - grad->interp = ::format::gfx::GfxBytes_obj::interpolationMethods->__get(_Function_3_4::Block(this)); - HX_STACK_LINE(132) - grad->focus = this->buffer->readFloat(); - HX_STACK_LINE(133) - inGfx->beginGradientFill(grad); - } - ;break; - case (int)12: { - HX_STACK_LINE(135) - inGfx->endFill(); - } - ;break; - case (int)20: { - HX_STACK_LINE(139) - ::format::gfx::LineStyle style = ::format::gfx::LineStyle_obj::__new(); HX_STACK_VAR(style,"style"); - HX_STACK_LINE(140) - style->thickness = this->buffer->readFloat(); - HX_STACK_LINE(141) - style->color = this->readRGB(); - HX_STACK_LINE(142) - style->alpha = this->buffer->readFloat(); - struct _Function_3_1{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",143); - { - HX_STACK_LINE(143) - ::native::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(143) - int val = ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(143) - return ( (((((int(val) & int((int)128))) != (int)0))) ? int((val - (int)256)) : int(val) ); - } - return null(); - } - }; - HX_STACK_LINE(143) - style->pixelHinting = (_Function_3_1::Block(this) > (int)0); - struct _Function_3_2{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",144); - { - HX_STACK_LINE(144) - ::native::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(144) - int val = ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(144) - return ( (((((int(val) & int((int)128))) != (int)0))) ? int((val - (int)256)) : int(val) ); - } - return null(); - } - }; - HX_STACK_LINE(144) - style->scaleMode = ::format::gfx::GfxBytes_obj::scaleModes->__get(_Function_3_2::Block(this)); - struct _Function_3_3{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",145); - { - HX_STACK_LINE(145) - ::native::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(145) - int val = ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(145) - return ( (((((int(val) & int((int)128))) != (int)0))) ? int((val - (int)256)) : int(val) ); - } - return null(); - } - }; - HX_STACK_LINE(145) - style->capsStyle = ::format::gfx::GfxBytes_obj::capsStyles->__get(_Function_3_3::Block(this)); - struct _Function_3_4{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",146); - { - HX_STACK_LINE(146) - ::native::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(146) - int val = ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(146) - return ( (((((int(val) & int((int)128))) != (int)0))) ? int((val - (int)256)) : int(val) ); - } - return null(); - } - }; - HX_STACK_LINE(146) - style->jointStyle = ::format::gfx::GfxBytes_obj::jointStyles->__get(_Function_3_4::Block(this)); - HX_STACK_LINE(147) - style->miterLimit = this->buffer->readFloat(); - HX_STACK_LINE(148) - inGfx->lineStyle(style); - } - ;break; - case (int)21: { - HX_STACK_LINE(150) - inGfx->endLineStyle(); - } - ;break; - case (int)30: { - HX_STACK_LINE(154) - Float x = this->buffer->readFloat(); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(155) - Float y = this->buffer->readFloat(); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(156) - inGfx->moveTo(x,y); - } - ;break; - case (int)31: { - HX_STACK_LINE(159) - Float x = this->buffer->readFloat(); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(160) - Float y = this->buffer->readFloat(); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(161) - inGfx->lineTo(x,y); - } - ;break; - case (int)32: { - HX_STACK_LINE(164) - Float cx = this->buffer->readFloat(); HX_STACK_VAR(cx,"cx"); - HX_STACK_LINE(165) - Float cy = this->buffer->readFloat(); HX_STACK_VAR(cy,"cy"); - HX_STACK_LINE(166) - Float x = this->buffer->readFloat(); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(167) - Float y = this->buffer->readFloat(); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(168) - inGfx->curveTo(cx,cy,x,y); - } - ;break; - default: { - HX_STACK_LINE(169) - hx::Throw (HX_CSTRING("Unknown gfx buffer format.")); - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(GfxBytes_obj,iterate,(void)) - -Void GfxBytes_obj::eof( ){ -{ - HX_STACK_PUSH("GfxBytes::eof","format/gfx/GfxBytes.hx",86); - HX_STACK_THIS(this); - HX_STACK_LINE(86) - ::native::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(86) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(86) - _this->b[(_this->position)++] = (int)0; - } -return null(); -} - - -::String GfxBytes_obj::toString( ){ - HX_STACK_PUSH("GfxBytes::toString","format/gfx/GfxBytes.hx",46); - HX_STACK_THIS(this); - HX_STACK_LINE(54) - ::native::utils::ByteArray buf = ::native::utils::ByteArray_obj::__new(this->buffer->length); HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(56) - this->buffer->position = (int)0; - HX_STACK_LINE(57) - this->buffer->readBytes(buf,null(),null()); - HX_STACK_LINE(58) - buf->compress(null()); - HX_STACK_LINE(59) - if (((::format::gfx::GfxBytes_obj::baseCoder == null()))){ - HX_STACK_LINE(60) - ::format::gfx::GfxBytes_obj::baseCoder = ::haxe::BaseCode_obj::__new(::haxe::io::Bytes_obj::ofString(::format::gfx::GfxBytes_obj::base64)); - } - HX_STACK_LINE(64) - return ::format::gfx::GfxBytes_obj::baseCoder->encodeBytes(buf)->toString(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(GfxBytes_obj,toString,return ) - -int GfxBytes_obj::_EOF; - -int GfxBytes_obj::SIZE; - -int GfxBytes_obj::BEGIN_FILL; - -int GfxBytes_obj::GRADIENT_FILL; - -int GfxBytes_obj::END_FILL; - -int GfxBytes_obj::LINE_STYLE; - -int GfxBytes_obj::END_LINE_STYLE; - -int GfxBytes_obj::MOVE; - -int GfxBytes_obj::LINE; - -int GfxBytes_obj::CURVE; - -::String GfxBytes_obj::base64; - -::haxe::BaseCode GfxBytes_obj::baseCoder; - -::format::gfx::GfxBytes GfxBytes_obj::fromString( ::String inString){ - HX_STACK_PUSH("GfxBytes::fromString","format/gfx/GfxBytes.hx",69); - HX_STACK_ARG(inString,"inString"); - HX_STACK_LINE(70) - if (((::format::gfx::GfxBytes_obj::baseCoder == null()))){ - HX_STACK_LINE(71) - ::format::gfx::GfxBytes_obj::baseCoder = ::haxe::BaseCode_obj::__new(::haxe::io::Bytes_obj::ofString(::format::gfx::GfxBytes_obj::base64)); - } - HX_STACK_LINE(78) - ::native::utils::ByteArray bytes = ::native::utils::ByteArray_obj::fromBytes(::format::gfx::GfxBytes_obj::baseCoder->decodeBytes(::haxe::io::Bytes_obj::ofString(inString))); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(81) - bytes->uncompress(null()); - HX_STACK_LINE(83) - return ::format::gfx::GfxBytes_obj::__new(bytes,null()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GfxBytes_obj,fromString,return ) - -Array< ::native::display::LineScaleMode > GfxBytes_obj::scaleModes; - -Array< ::native::display::CapsStyle > GfxBytes_obj::capsStyles; - -Array< ::native::display::JointStyle > GfxBytes_obj::jointStyles; - -Array< ::native::display::SpreadMethod > GfxBytes_obj::spreadMethods; - -Array< ::native::display::InterpolationMethod > GfxBytes_obj::interpolationMethods; - - -GfxBytes_obj::GfxBytes_obj() -{ -} - -void GfxBytes_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GfxBytes); - HX_MARK_MEMBER_NAME(buffer,"buffer"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void GfxBytes_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(buffer,"buffer"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic GfxBytes_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"EOF") ) { return _EOF; } - if (HX_FIELD_EQ(inName,"eof") ) { return eof_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"SIZE") ) { return SIZE; } - if (HX_FIELD_EQ(inName,"MOVE") ) { return MOVE; } - if (HX_FIELD_EQ(inName,"LINE") ) { return LINE; } - if (HX_FIELD_EQ(inName,"size") ) { return size_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"CURVE") ) { return CURVE; } - break; - case 6: - if (HX_FIELD_EQ(inName,"base64") ) { return base64; } - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - if (HX_FIELD_EQ(inName,"buffer") ) { return buffer; } - break; - case 7: - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - if (HX_FIELD_EQ(inName,"endFill") ) { return endFill_dyn(); } - if (HX_FIELD_EQ(inName,"readRGB") ) { return readRGB_dyn(); } - if (HX_FIELD_EQ(inName,"iterate") ) { return iterate_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"END_FILL") ) { return END_FILL; } - if (HX_FIELD_EQ(inName,"writeRGB") ) { return writeRGB_dyn(); } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"baseCoder") ) { return baseCoder; } - if (HX_FIELD_EQ(inName,"lineStyle") ) { return lineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"beginFill") ) { return beginFill_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"BEGIN_FILL") ) { return BEGIN_FILL; } - if (HX_FIELD_EQ(inName,"LINE_STYLE") ) { return LINE_STYLE; } - if (HX_FIELD_EQ(inName,"fromString") ) { return fromString_dyn(); } - if (HX_FIELD_EQ(inName,"scaleModes") ) { return scaleModes; } - if (HX_FIELD_EQ(inName,"capsStyles") ) { return capsStyles; } - break; - case 11: - if (HX_FIELD_EQ(inName,"jointStyles") ) { return jointStyles; } - if (HX_FIELD_EQ(inName,"pushClipped") ) { return pushClipped_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"endLineStyle") ) { return endLineStyle_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"GRADIENT_FILL") ) { return GRADIENT_FILL; } - if (HX_FIELD_EQ(inName,"spreadMethods") ) { return spreadMethods; } - break; - case 14: - if (HX_FIELD_EQ(inName,"END_LINE_STYLE") ) { return END_LINE_STYLE; } - break; - case 17: - if (HX_FIELD_EQ(inName,"beginGradientFill") ) { return beginGradientFill_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"interpolationMethods") ) { return interpolationMethods; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GfxBytes_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"EOF") ) { _EOF=inValue.Cast< int >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"SIZE") ) { SIZE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"MOVE") ) { MOVE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"LINE") ) { LINE=inValue.Cast< int >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"CURVE") ) { CURVE=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"base64") ) { base64=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"buffer") ) { buffer=inValue.Cast< ::native::utils::ByteArray >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"END_FILL") ) { END_FILL=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"baseCoder") ) { baseCoder=inValue.Cast< ::haxe::BaseCode >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"BEGIN_FILL") ) { BEGIN_FILL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"LINE_STYLE") ) { LINE_STYLE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"scaleModes") ) { scaleModes=inValue.Cast< Array< ::native::display::LineScaleMode > >(); return inValue; } - if (HX_FIELD_EQ(inName,"capsStyles") ) { capsStyles=inValue.Cast< Array< ::native::display::CapsStyle > >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"jointStyles") ) { jointStyles=inValue.Cast< Array< ::native::display::JointStyle > >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"GRADIENT_FILL") ) { GRADIENT_FILL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"spreadMethods") ) { spreadMethods=inValue.Cast< Array< ::native::display::SpreadMethod > >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"END_LINE_STYLE") ) { END_LINE_STYLE=inValue.Cast< int >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"interpolationMethods") ) { interpolationMethods=inValue.Cast< Array< ::native::display::InterpolationMethod > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void GfxBytes_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("buffer")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("EOF"), - HX_CSTRING("SIZE"), - HX_CSTRING("BEGIN_FILL"), - HX_CSTRING("GRADIENT_FILL"), - HX_CSTRING("END_FILL"), - HX_CSTRING("LINE_STYLE"), - HX_CSTRING("END_LINE_STYLE"), - HX_CSTRING("MOVE"), - HX_CSTRING("LINE"), - HX_CSTRING("CURVE"), - HX_CSTRING("base64"), - HX_CSTRING("baseCoder"), - HX_CSTRING("fromString"), - HX_CSTRING("scaleModes"), - HX_CSTRING("capsStyles"), - HX_CSTRING("jointStyles"), - HX_CSTRING("spreadMethods"), - HX_CSTRING("interpolationMethods"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("curveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("moveTo"), - HX_CSTRING("endLineStyle"), - HX_CSTRING("lineStyle"), - HX_CSTRING("endFill"), - HX_CSTRING("beginFill"), - HX_CSTRING("beginGradientFill"), - HX_CSTRING("readRGB"), - HX_CSTRING("writeRGB"), - HX_CSTRING("pushClipped"), - HX_CSTRING("size"), - HX_CSTRING("iterate"), - HX_CSTRING("eof"), - HX_CSTRING("toString"), - HX_CSTRING("buffer"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GfxBytes_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::_EOF,"EOF"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::SIZE,"SIZE"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::BEGIN_FILL,"BEGIN_FILL"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::GRADIENT_FILL,"GRADIENT_FILL"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::END_FILL,"END_FILL"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::LINE_STYLE,"LINE_STYLE"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::END_LINE_STYLE,"END_LINE_STYLE"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::MOVE,"MOVE"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::LINE,"LINE"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::CURVE,"CURVE"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::base64,"base64"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::baseCoder,"baseCoder"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::scaleModes,"scaleModes"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::capsStyles,"capsStyles"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::jointStyles,"jointStyles"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::spreadMethods,"spreadMethods"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::interpolationMethods,"interpolationMethods"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GfxBytes_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::_EOF,"EOF"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::SIZE,"SIZE"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::BEGIN_FILL,"BEGIN_FILL"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::GRADIENT_FILL,"GRADIENT_FILL"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::END_FILL,"END_FILL"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::LINE_STYLE,"LINE_STYLE"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::END_LINE_STYLE,"END_LINE_STYLE"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::MOVE,"MOVE"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::LINE,"LINE"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::CURVE,"CURVE"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::base64,"base64"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::baseCoder,"baseCoder"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::scaleModes,"scaleModes"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::capsStyles,"capsStyles"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::jointStyles,"jointStyles"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::spreadMethods,"spreadMethods"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::interpolationMethods,"interpolationMethods"); -}; - -Class GfxBytes_obj::__mClass; - -void GfxBytes_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.GfxBytes"), hx::TCanCast< GfxBytes_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GfxBytes_obj::__boot() -{ - _EOF= (int)0; - SIZE= (int)1; - BEGIN_FILL= (int)10; - GRADIENT_FILL= (int)11; - END_FILL= (int)12; - LINE_STYLE= (int)20; - END_LINE_STYLE= (int)21; - MOVE= (int)30; - LINE= (int)31; - CURVE= (int)32; - base64= HX_CSTRING("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"); - scaleModes= Array_obj< ::native::display::LineScaleMode >::__new().Add(::native::display::LineScaleMode_obj::NORMAL_dyn()).Add(::native::display::LineScaleMode_obj::NONE_dyn()).Add(::native::display::LineScaleMode_obj::VERTICAL_dyn()).Add(::native::display::LineScaleMode_obj::HORIZONTAL_dyn()); - capsStyles= Array_obj< ::native::display::CapsStyle >::__new().Add(::native::display::CapsStyle_obj::ROUND_dyn()).Add(::native::display::CapsStyle_obj::NONE_dyn()).Add(::native::display::CapsStyle_obj::SQUARE_dyn()); - jointStyles= Array_obj< ::native::display::JointStyle >::__new().Add(::native::display::JointStyle_obj::ROUND_dyn()).Add(::native::display::JointStyle_obj::MITER_dyn()).Add(::native::display::JointStyle_obj::BEVEL_dyn()); - spreadMethods= Array_obj< ::native::display::SpreadMethod >::__new().Add(::native::display::SpreadMethod_obj::PAD_dyn()).Add(::native::display::SpreadMethod_obj::REPEAT_dyn()).Add(::native::display::SpreadMethod_obj::REFLECT_dyn()); - interpolationMethods= Array_obj< ::native::display::InterpolationMethod >::__new().Add(::native::display::InterpolationMethod_obj::RGB_dyn()).Add(::native::display::InterpolationMethod_obj::LINEAR_RGB_dyn()); -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/GfxExtent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/GfxExtent.cpp deleted file mode 100644 index 52a5c90..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/GfxExtent.cpp +++ /dev/null @@ -1,220 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_GfxExtent -#include -#endif -#ifndef INCLUDED_native_geom_Rectangle -#include -#endif -namespace format{ -namespace gfx{ - -Void GfxExtent_obj::__construct() -{ -HX_STACK_PUSH("GfxExtent::new","format/gfx/GfxExtent.hx",11); -{ - HX_STACK_LINE(12) - super::__construct(); - HX_STACK_LINE(13) - this->extent = null(); -} -; - return null(); -} - -GfxExtent_obj::~GfxExtent_obj() { } - -Dynamic GfxExtent_obj::__CreateEmpty() { return new GfxExtent_obj; } -hx::ObjectPtr< GfxExtent_obj > GfxExtent_obj::__new() -{ hx::ObjectPtr< GfxExtent_obj > result = new GfxExtent_obj(); - result->__construct(); - return result;} - -Dynamic GfxExtent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GfxExtent_obj > result = new GfxExtent_obj(); - result->__construct(); - return result;} - -Void GfxExtent_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxExtent::curveTo","format/gfx/GfxExtent.hx",40); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(41) - this->addExtent(inCX,inCY); - HX_STACK_LINE(42) - this->addExtent(inX,inY); - } -return null(); -} - - -Void GfxExtent_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxExtent::lineTo","format/gfx/GfxExtent.hx",36); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(36) - this->addExtent(inX,inY); - } -return null(); -} - - -Void GfxExtent_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxExtent::moveTo","format/gfx/GfxExtent.hx",32); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(32) - this->addExtent(inX,inY); - } -return null(); -} - - -bool GfxExtent_obj::geometryOnly( ){ - HX_STACK_PUSH("GfxExtent::geometryOnly","format/gfx/GfxExtent.hx",30); - HX_STACK_THIS(this); - HX_STACK_LINE(30) - return true; -} - - -Void GfxExtent_obj::addExtent( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxExtent::addExtent","format/gfx/GfxExtent.hx",17); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(18) - if (((this->extent == null()))){ - HX_STACK_LINE(20) - this->extent = ::native::geom::Rectangle_obj::__new(inX,inY,(int)0,(int)0); - HX_STACK_LINE(21) - return null(); - } - HX_STACK_LINE(23) - if (((inX < this->extent->get_left()))){ - HX_STACK_LINE(23) - this->extent->set_left(inX); - } - HX_STACK_LINE(24) - if (((inX > this->extent->get_right()))){ - HX_STACK_LINE(24) - this->extent->set_right(inX); - } - HX_STACK_LINE(25) - if (((inY < this->extent->get_top()))){ - HX_STACK_LINE(25) - this->extent->set_top(inY); - } - HX_STACK_LINE(26) - if (((inY > this->extent->get_bottom()))){ - HX_STACK_LINE(26) - this->extent->set_bottom(inY); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(GfxExtent_obj,addExtent,(void)) - - -GfxExtent_obj::GfxExtent_obj() -{ -} - -void GfxExtent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GfxExtent); - HX_MARK_MEMBER_NAME(extent,"extent"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void GfxExtent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(extent,"extent"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic GfxExtent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - if (HX_FIELD_EQ(inName,"extent") ) { return extent; } - break; - case 7: - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"addExtent") ) { return addExtent_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"geometryOnly") ) { return geometryOnly_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GfxExtent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"extent") ) { extent=inValue.Cast< ::native::geom::Rectangle >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void GfxExtent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("extent")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("curveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("moveTo"), - HX_CSTRING("geometryOnly"), - HX_CSTRING("addExtent"), - HX_CSTRING("extent"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GfxExtent_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GfxExtent_obj::__mClass,"__mClass"); -}; - -Class GfxExtent_obj::__mClass; - -void GfxExtent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.GfxExtent"), hx::TCanCast< GfxExtent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GfxExtent_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/GfxGraphics.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/GfxGraphics.cpp deleted file mode 100644 index 152edb0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/GfxGraphics.cpp +++ /dev/null @@ -1,266 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_GfxGraphics -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_gfx_LineStyle -#include -#endif -#ifndef INCLUDED_native_display_CapsStyle -#include -#endif -#ifndef INCLUDED_native_display_GradientType -#include -#endif -#ifndef INCLUDED_native_display_Graphics -#include -#endif -#ifndef INCLUDED_native_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_native_display_JointStyle -#include -#endif -#ifndef INCLUDED_native_display_LineScaleMode -#include -#endif -#ifndef INCLUDED_native_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -namespace format{ -namespace gfx{ - -Void GfxGraphics_obj::__construct(::native::display::Graphics inGraphics) -{ -HX_STACK_PUSH("GfxGraphics::new","format/gfx/GfxGraphics.hx",18); -{ - HX_STACK_LINE(19) - super::__construct(); - HX_STACK_LINE(20) - this->graphics = inGraphics; -} -; - return null(); -} - -GfxGraphics_obj::~GfxGraphics_obj() { } - -Dynamic GfxGraphics_obj::__CreateEmpty() { return new GfxGraphics_obj; } -hx::ObjectPtr< GfxGraphics_obj > GfxGraphics_obj::__new(::native::display::Graphics inGraphics) -{ hx::ObjectPtr< GfxGraphics_obj > result = new GfxGraphics_obj(); - result->__construct(inGraphics); - return result;} - -Dynamic GfxGraphics_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GfxGraphics_obj > result = new GfxGraphics_obj(); - result->__construct(inArgs[0]); - return result;} - -Void GfxGraphics_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxGraphics::curveTo","format/gfx/GfxGraphics.hx",40); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(40) - this->graphics->curveTo(inCX,inCY,inX,inY); - } -return null(); -} - - -Void GfxGraphics_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxGraphics::lineTo","format/gfx/GfxGraphics.hx",38); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(38) - this->graphics->lineTo(inX,inY); - } -return null(); -} - - -Void GfxGraphics_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxGraphics::moveTo","format/gfx/GfxGraphics.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(37) - this->graphics->moveTo(inX,inY); - } -return null(); -} - - -Void GfxGraphics_obj::endLineStyle( ){ -{ - HX_STACK_PUSH("GfxGraphics::endLineStyle","format/gfx/GfxGraphics.hx",35); - HX_STACK_THIS(this); - HX_STACK_LINE(35) - this->graphics->lineStyle(null(),null(),null(),null(),null(),null(),null(),null()); - } -return null(); -} - - -Void GfxGraphics_obj::lineStyle( ::format::gfx::LineStyle style){ -{ - HX_STACK_PUSH("GfxGraphics::lineStyle","format/gfx/GfxGraphics.hx",32); - HX_STACK_THIS(this); - HX_STACK_ARG(style,"style"); - HX_STACK_LINE(32) - this->graphics->lineStyle(style->thickness,style->color,style->alpha,style->pixelHinting,style->scaleMode,style->capsStyle,style->jointStyle,style->miterLimit); - } -return null(); -} - - -Void GfxGraphics_obj::endFill( ){ -{ - HX_STACK_PUSH("GfxGraphics::endFill","format/gfx/GfxGraphics.hx",29); - HX_STACK_THIS(this); - HX_STACK_LINE(29) - this->graphics->endFill(); - } -return null(); -} - - -Void GfxGraphics_obj::beginFill( int color,Float alpha){ -{ - HX_STACK_PUSH("GfxGraphics::beginFill","format/gfx/GfxGraphics.hx",28); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); - HX_STACK_LINE(28) - this->graphics->beginFill(color,alpha); - } -return null(); -} - - -Void GfxGraphics_obj::beginGradientFill( ::format::gfx::Gradient grad){ -{ - HX_STACK_PUSH("GfxGraphics::beginGradientFill","format/gfx/GfxGraphics.hx",24); - HX_STACK_THIS(this); - HX_STACK_ARG(grad,"grad"); - HX_STACK_LINE(24) - this->graphics->beginGradientFill(grad->type,grad->colors,grad->alphas,grad->ratios,grad->matrix,grad->spread,grad->interp,grad->focus); - } -return null(); -} - - - -GfxGraphics_obj::GfxGraphics_obj() -{ -} - -void GfxGraphics_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GfxGraphics); - HX_MARK_MEMBER_NAME(graphics,"graphics"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void GfxGraphics_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(graphics,"graphics"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic GfxGraphics_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - if (HX_FIELD_EQ(inName,"endFill") ) { return endFill_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"graphics") ) { return graphics; } - break; - case 9: - if (HX_FIELD_EQ(inName,"lineStyle") ) { return lineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"beginFill") ) { return beginFill_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"endLineStyle") ) { return endLineStyle_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"beginGradientFill") ) { return beginGradientFill_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GfxGraphics_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"graphics") ) { graphics=inValue.Cast< ::native::display::Graphics >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void GfxGraphics_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("graphics")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("curveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("moveTo"), - HX_CSTRING("endLineStyle"), - HX_CSTRING("lineStyle"), - HX_CSTRING("endFill"), - HX_CSTRING("beginFill"), - HX_CSTRING("beginGradientFill"), - HX_CSTRING("graphics"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GfxGraphics_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GfxGraphics_obj::__mClass,"__mClass"); -}; - -Class GfxGraphics_obj::__mClass; - -void GfxGraphics_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.GfxGraphics"), hx::TCanCast< GfxGraphics_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GfxGraphics_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/GfxTextFinder.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/GfxTextFinder.cpp deleted file mode 100644 index 5c23d0d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/GfxTextFinder.cpp +++ /dev/null @@ -1,142 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_GfxTextFinder -#include -#endif -#ifndef INCLUDED_format_svg_Text -#include -#endif -namespace format{ -namespace gfx{ - -Void GfxTextFinder_obj::__construct() -{ -HX_STACK_PUSH("GfxTextFinder::new","format/gfx/GfxTextFinder.hx",9); -{ - HX_STACK_LINE(9) - super::__construct(); -} -; - return null(); -} - -GfxTextFinder_obj::~GfxTextFinder_obj() { } - -Dynamic GfxTextFinder_obj::__CreateEmpty() { return new GfxTextFinder_obj; } -hx::ObjectPtr< GfxTextFinder_obj > GfxTextFinder_obj::__new() -{ hx::ObjectPtr< GfxTextFinder_obj > result = new GfxTextFinder_obj(); - result->__construct(); - return result;} - -Dynamic GfxTextFinder_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GfxTextFinder_obj > result = new GfxTextFinder_obj(); - result->__construct(); - return result;} - -Void GfxTextFinder_obj::renderText( ::format::svg::Text inText){ -{ - HX_STACK_PUSH("GfxTextFinder::renderText","format/gfx/GfxTextFinder.hx",12); - HX_STACK_THIS(this); - HX_STACK_ARG(inText,"inText"); - HX_STACK_LINE(12) - if (((this->text == null()))){ - HX_STACK_LINE(12) - this->text = inText; - } - } -return null(); -} - - -bool GfxTextFinder_obj::geometryOnly( ){ - HX_STACK_PUSH("GfxTextFinder::geometryOnly","format/gfx/GfxTextFinder.hx",11); - HX_STACK_THIS(this); - HX_STACK_LINE(11) - return true; -} - - - -GfxTextFinder_obj::GfxTextFinder_obj() -{ -} - -void GfxTextFinder_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GfxTextFinder); - HX_MARK_MEMBER_NAME(text,"text"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void GfxTextFinder_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(text,"text"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic GfxTextFinder_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"text") ) { return text; } - break; - case 10: - if (HX_FIELD_EQ(inName,"renderText") ) { return renderText_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"geometryOnly") ) { return geometryOnly_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GfxTextFinder_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"text") ) { text=inValue.Cast< ::format::svg::Text >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void GfxTextFinder_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("text")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("renderText"), - HX_CSTRING("geometryOnly"), - HX_CSTRING("text"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GfxTextFinder_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GfxTextFinder_obj::__mClass,"__mClass"); -}; - -Class GfxTextFinder_obj::__mClass; - -void GfxTextFinder_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.GfxTextFinder"), hx::TCanCast< GfxTextFinder_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GfxTextFinder_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/Gradient.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/Gradient.cpp deleted file mode 100644 index ddc834a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/Gradient.cpp +++ /dev/null @@ -1,179 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_native_display_GradientType -#include -#endif -#ifndef INCLUDED_native_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_native_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -namespace format{ -namespace gfx{ - -Void Gradient_obj::__construct() -{ -HX_STACK_PUSH("Gradient::new","format/gfx/Gradient.hx",14); -{ - HX_STACK_LINE(15) - this->type = ::native::display::GradientType_obj::LINEAR_dyn(); - HX_STACK_LINE(16) - this->colors = Array_obj< int >::__new(); - HX_STACK_LINE(17) - this->alphas = Array_obj< Float >::__new(); - HX_STACK_LINE(18) - this->ratios = Array_obj< int >::__new(); - HX_STACK_LINE(19) - this->matrix = ::native::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - HX_STACK_LINE(20) - this->spread = ::native::display::SpreadMethod_obj::PAD_dyn(); - HX_STACK_LINE(21) - this->interp = ::native::display::InterpolationMethod_obj::RGB_dyn(); - HX_STACK_LINE(22) - this->focus = 0.0; -} -; - return null(); -} - -Gradient_obj::~Gradient_obj() { } - -Dynamic Gradient_obj::__CreateEmpty() { return new Gradient_obj; } -hx::ObjectPtr< Gradient_obj > Gradient_obj::__new() -{ hx::ObjectPtr< Gradient_obj > result = new Gradient_obj(); - result->__construct(); - return result;} - -Dynamic Gradient_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Gradient_obj > result = new Gradient_obj(); - result->__construct(); - return result;} - - -Gradient_obj::Gradient_obj() -{ -} - -void Gradient_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Gradient); - HX_MARK_MEMBER_NAME(focus,"focus"); - HX_MARK_MEMBER_NAME(interp,"interp"); - HX_MARK_MEMBER_NAME(spread,"spread"); - HX_MARK_MEMBER_NAME(matrix,"matrix"); - HX_MARK_MEMBER_NAME(ratios,"ratios"); - HX_MARK_MEMBER_NAME(alphas,"alphas"); - HX_MARK_MEMBER_NAME(colors,"colors"); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_END_CLASS(); -} - -void Gradient_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(focus,"focus"); - HX_VISIT_MEMBER_NAME(interp,"interp"); - HX_VISIT_MEMBER_NAME(spread,"spread"); - HX_VISIT_MEMBER_NAME(matrix,"matrix"); - HX_VISIT_MEMBER_NAME(ratios,"ratios"); - HX_VISIT_MEMBER_NAME(alphas,"alphas"); - HX_VISIT_MEMBER_NAME(colors,"colors"); - HX_VISIT_MEMBER_NAME(type,"type"); -} - -Dynamic Gradient_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { return type; } - break; - case 5: - if (HX_FIELD_EQ(inName,"focus") ) { return focus; } - break; - case 6: - if (HX_FIELD_EQ(inName,"interp") ) { return interp; } - if (HX_FIELD_EQ(inName,"spread") ) { return spread; } - if (HX_FIELD_EQ(inName,"matrix") ) { return matrix; } - if (HX_FIELD_EQ(inName,"ratios") ) { return ratios; } - if (HX_FIELD_EQ(inName,"alphas") ) { return alphas; } - if (HX_FIELD_EQ(inName,"colors") ) { return colors; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Gradient_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::native::display::GradientType >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"focus") ) { focus=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"interp") ) { interp=inValue.Cast< ::native::display::InterpolationMethod >(); return inValue; } - if (HX_FIELD_EQ(inName,"spread") ) { spread=inValue.Cast< ::native::display::SpreadMethod >(); return inValue; } - if (HX_FIELD_EQ(inName,"matrix") ) { matrix=inValue.Cast< ::native::geom::Matrix >(); return inValue; } - if (HX_FIELD_EQ(inName,"ratios") ) { ratios=inValue.Cast< Array< int > >(); return inValue; } - if (HX_FIELD_EQ(inName,"alphas") ) { alphas=inValue.Cast< Array< Float > >(); return inValue; } - if (HX_FIELD_EQ(inName,"colors") ) { colors=inValue.Cast< Array< int > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Gradient_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("focus")); - outFields->push(HX_CSTRING("interp")); - outFields->push(HX_CSTRING("spread")); - outFields->push(HX_CSTRING("matrix")); - outFields->push(HX_CSTRING("ratios")); - outFields->push(HX_CSTRING("alphas")); - outFields->push(HX_CSTRING("colors")); - outFields->push(HX_CSTRING("type")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("focus"), - HX_CSTRING("interp"), - HX_CSTRING("spread"), - HX_CSTRING("matrix"), - HX_CSTRING("ratios"), - HX_CSTRING("alphas"), - HX_CSTRING("colors"), - HX_CSTRING("type"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Gradient_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Gradient_obj::__mClass,"__mClass"); -}; - -Class Gradient_obj::__mClass; - -void Gradient_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.Gradient"), hx::TCanCast< Gradient_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Gradient_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/LineStyle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/LineStyle.cpp deleted file mode 100644 index be11e98..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/gfx/LineStyle.cpp +++ /dev/null @@ -1,180 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_LineStyle -#include -#endif -#ifndef INCLUDED_native_display_CapsStyle -#include -#endif -#ifndef INCLUDED_native_display_JointStyle -#include -#endif -#ifndef INCLUDED_native_display_LineScaleMode -#include -#endif -namespace format{ -namespace gfx{ - -Void LineStyle_obj::__construct() -{ -HX_STACK_PUSH("LineStyle::new","format/gfx/LineStyle.hx",19); -{ - HX_STACK_LINE(20) - this->thickness = 1.0; - HX_STACK_LINE(21) - this->color = (int)0; - HX_STACK_LINE(22) - this->alpha = 1.0; - HX_STACK_LINE(23) - this->pixelHinting = false; - HX_STACK_LINE(24) - this->scaleMode = ::native::display::LineScaleMode_obj::NORMAL_dyn(); - HX_STACK_LINE(25) - this->capsStyle = ::native::display::CapsStyle_obj::ROUND_dyn(); - HX_STACK_LINE(26) - this->jointStyle = ::native::display::JointStyle_obj::ROUND_dyn(); - HX_STACK_LINE(27) - this->miterLimit = 3.0; -} -; - return null(); -} - -LineStyle_obj::~LineStyle_obj() { } - -Dynamic LineStyle_obj::__CreateEmpty() { return new LineStyle_obj; } -hx::ObjectPtr< LineStyle_obj > LineStyle_obj::__new() -{ hx::ObjectPtr< LineStyle_obj > result = new LineStyle_obj(); - result->__construct(); - return result;} - -Dynamic LineStyle_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< LineStyle_obj > result = new LineStyle_obj(); - result->__construct(); - return result;} - - -LineStyle_obj::LineStyle_obj() -{ -} - -void LineStyle_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(LineStyle); - HX_MARK_MEMBER_NAME(miterLimit,"miterLimit"); - HX_MARK_MEMBER_NAME(jointStyle,"jointStyle"); - HX_MARK_MEMBER_NAME(capsStyle,"capsStyle"); - HX_MARK_MEMBER_NAME(scaleMode,"scaleMode"); - HX_MARK_MEMBER_NAME(pixelHinting,"pixelHinting"); - HX_MARK_MEMBER_NAME(alpha,"alpha"); - HX_MARK_MEMBER_NAME(color,"color"); - HX_MARK_MEMBER_NAME(thickness,"thickness"); - HX_MARK_END_CLASS(); -} - -void LineStyle_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(miterLimit,"miterLimit"); - HX_VISIT_MEMBER_NAME(jointStyle,"jointStyle"); - HX_VISIT_MEMBER_NAME(capsStyle,"capsStyle"); - HX_VISIT_MEMBER_NAME(scaleMode,"scaleMode"); - HX_VISIT_MEMBER_NAME(pixelHinting,"pixelHinting"); - HX_VISIT_MEMBER_NAME(alpha,"alpha"); - HX_VISIT_MEMBER_NAME(color,"color"); - HX_VISIT_MEMBER_NAME(thickness,"thickness"); -} - -Dynamic LineStyle_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"alpha") ) { return alpha; } - if (HX_FIELD_EQ(inName,"color") ) { return color; } - break; - case 9: - if (HX_FIELD_EQ(inName,"capsStyle") ) { return capsStyle; } - if (HX_FIELD_EQ(inName,"scaleMode") ) { return scaleMode; } - if (HX_FIELD_EQ(inName,"thickness") ) { return thickness; } - break; - case 10: - if (HX_FIELD_EQ(inName,"miterLimit") ) { return miterLimit; } - if (HX_FIELD_EQ(inName,"jointStyle") ) { return jointStyle; } - break; - case 12: - if (HX_FIELD_EQ(inName,"pixelHinting") ) { return pixelHinting; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic LineStyle_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"alpha") ) { alpha=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"color") ) { color=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"capsStyle") ) { capsStyle=inValue.Cast< ::native::display::CapsStyle >(); return inValue; } - if (HX_FIELD_EQ(inName,"scaleMode") ) { scaleMode=inValue.Cast< ::native::display::LineScaleMode >(); return inValue; } - if (HX_FIELD_EQ(inName,"thickness") ) { thickness=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"miterLimit") ) { miterLimit=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"jointStyle") ) { jointStyle=inValue.Cast< ::native::display::JointStyle >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"pixelHinting") ) { pixelHinting=inValue.Cast< bool >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void LineStyle_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("miterLimit")); - outFields->push(HX_CSTRING("jointStyle")); - outFields->push(HX_CSTRING("capsStyle")); - outFields->push(HX_CSTRING("scaleMode")); - outFields->push(HX_CSTRING("pixelHinting")); - outFields->push(HX_CSTRING("alpha")); - outFields->push(HX_CSTRING("color")); - outFields->push(HX_CSTRING("thickness")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("miterLimit"), - HX_CSTRING("jointStyle"), - HX_CSTRING("capsStyle"), - HX_CSTRING("scaleMode"), - HX_CSTRING("pixelHinting"), - HX_CSTRING("alpha"), - HX_CSTRING("color"), - HX_CSTRING("thickness"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(LineStyle_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(LineStyle_obj::__mClass,"__mClass"); -}; - -Class LineStyle_obj::__mClass; - -void LineStyle_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.LineStyle"), hx::TCanCast< LineStyle_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void LineStyle_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/ArcSegment.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/ArcSegment.cpp deleted file mode 100644 index 9762da3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/ArcSegment.cpp +++ /dev/null @@ -1,368 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_svg_ArcSegment -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -namespace format{ -namespace svg{ - -Void ArcSegment_obj::__construct(Float inX1,Float inY1,Float inRX,Float inRY,Float inRotation,bool inLargeArc,bool inSweep,Float x,Float y) -{ -HX_STACK_PUSH("ArcSegment::new","format/svg/PathSegment.hx",233); -{ - HX_STACK_LINE(234) - this->x1 = inX1; - HX_STACK_LINE(235) - this->y1 = inY1; - HX_STACK_LINE(236) - super::__construct(x,y); - HX_STACK_LINE(237) - this->rx = inRX; - HX_STACK_LINE(238) - this->ry = inRY; - HX_STACK_LINE(239) - this->phi = inRotation; - HX_STACK_LINE(240) - this->fA = inLargeArc; - HX_STACK_LINE(241) - this->fS = inSweep; -} -; - return null(); -} - -ArcSegment_obj::~ArcSegment_obj() { } - -Dynamic ArcSegment_obj::__CreateEmpty() { return new ArcSegment_obj; } -hx::ObjectPtr< ArcSegment_obj > ArcSegment_obj::__new(Float inX1,Float inY1,Float inRX,Float inRY,Float inRotation,bool inLargeArc,bool inSweep,Float x,Float y) -{ hx::ObjectPtr< ArcSegment_obj > result = new ArcSegment_obj(); - result->__construct(inX1,inY1,inRX,inRY,inRotation,inLargeArc,inSweep,x,y); - return result;} - -Dynamic ArcSegment_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ArcSegment_obj > result = new ArcSegment_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7],inArgs[8]); - return result;} - -int ArcSegment_obj::getType( ){ - HX_STACK_PUSH("ArcSegment::getType","format/svg/PathSegment.hx",360); - HX_STACK_THIS(this); - HX_STACK_LINE(360) - return (int)5; -} - - -Void ArcSegment_obj::toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext){ -{ - HX_STACK_PUSH("ArcSegment::toGfx","format/svg/PathSegment.hx",245); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(ioContext,"ioContext"); - HX_STACK_LINE(246) - if (((bool((this->x1 == this->x)) && bool((this->y1 == this->y))))){ - HX_STACK_LINE(247) - return null(); - } - HX_STACK_LINE(248) - ioContext->setLast(this->x,this->y); - HX_STACK_LINE(249) - if (((bool((this->rx == (int)0)) || bool((this->ry == (int)0))))){ - HX_STACK_LINE(251) - inGfx->lineTo(ioContext->lastX,ioContext->lastY); - HX_STACK_LINE(252) - return null(); - } - HX_STACK_LINE(254) - if (((this->rx < (int)0))){ - HX_STACK_LINE(254) - this->rx = -(this->rx); - } - HX_STACK_LINE(255) - if (((this->ry < (int)0))){ - HX_STACK_LINE(255) - this->ry = -(this->ry); - } - HX_STACK_LINE(258) - Float p = (Float((this->phi * ::Math_obj::PI)) / Float(180.0)); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(259) - Float cos = ::Math_obj::cos(p); HX_STACK_VAR(cos,"cos"); - HX_STACK_LINE(260) - Float sin = ::Math_obj::sin(p); HX_STACK_VAR(sin,"sin"); - HX_STACK_LINE(263) - Float dx = (((this->x1 - this->x)) * 0.5); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(264) - Float dy = (((this->y1 - this->y)) * 0.5); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(265) - Float x1_ = ((cos * dx) + (sin * dy)); HX_STACK_VAR(x1_,"x1_"); - HX_STACK_LINE(266) - Float y1_ = ((-(sin) * dx) + (cos * dy)); HX_STACK_VAR(y1_,"y1_"); - HX_STACK_LINE(269) - Float rx2 = (this->rx * this->rx); HX_STACK_VAR(rx2,"rx2"); - HX_STACK_LINE(270) - Float ry2 = (this->ry * this->ry); HX_STACK_VAR(ry2,"ry2"); - HX_STACK_LINE(271) - Float x1_2 = (x1_ * x1_); HX_STACK_VAR(x1_2,"x1_2"); - HX_STACK_LINE(272) - Float y1_2 = (y1_ * y1_); HX_STACK_VAR(y1_2,"y1_2"); - HX_STACK_LINE(273) - Float s = (Float(((((rx2 * ry2) - (rx2 * y1_2)) - (ry2 * x1_2)))) / Float((((rx2 * y1_2) + (ry2 * x1_2))))); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(275) - if (((s < (int)0))){ - HX_STACK_LINE(276) - s = (int)0; - } - else{ - HX_STACK_LINE(277) - if (((this->fA == this->fS))){ - HX_STACK_LINE(278) - s = -(::Math_obj::sqrt(s)); - } - else{ - HX_STACK_LINE(280) - s = ::Math_obj::sqrt(s); - } - } - HX_STACK_LINE(282) - Float cx_ = (Float(((s * this->rx) * y1_)) / Float(this->ry)); HX_STACK_VAR(cx_,"cx_"); - HX_STACK_LINE(283) - Float cy_ = (Float(((-(s) * this->ry) * x1_)) / Float(this->rx)); HX_STACK_VAR(cy_,"cy_"); - HX_STACK_LINE(288) - Float xm = (((this->x1 + this->x)) * 0.5); HX_STACK_VAR(xm,"xm"); - HX_STACK_LINE(289) - Float ym = (((this->y1 + this->y)) * 0.5); HX_STACK_VAR(ym,"ym"); - HX_STACK_LINE(291) - Float cx = (((cos * cx_) - (sin * cy_)) + xm); HX_STACK_VAR(cx,"cx"); - HX_STACK_LINE(292) - Float cy = (((sin * cx_) + (cos * cy_)) + ym); HX_STACK_VAR(cy,"cy"); - HX_STACK_LINE(294) - Float theta = ::Math_obj::atan2((Float(((y1_ - cy_))) / Float(this->ry)),(Float(((x1_ - cx_))) / Float(this->rx))); HX_STACK_VAR(theta,"theta"); - HX_STACK_LINE(295) - Float dtheta = (::Math_obj::atan2((Float(((-(y1_) - cy_))) / Float(this->ry)),(Float(((-(x1_) - cx_))) / Float(this->rx))) - theta); HX_STACK_VAR(dtheta,"dtheta"); - HX_STACK_LINE(297) - if (((bool(this->fS) && bool((dtheta < (int)0))))){ - HX_STACK_LINE(298) - hx::AddEq(dtheta,(2.0 * ::Math_obj::PI)); - } - else{ - HX_STACK_LINE(299) - if (((bool(!(this->fS)) && bool((dtheta > (int)0))))){ - HX_STACK_LINE(300) - hx::SubEq(dtheta,(2.0 * ::Math_obj::PI)); - } - } - HX_STACK_LINE(303) - ::native::geom::Matrix m = ioContext->matrix; HX_STACK_VAR(m,"m"); - HX_STACK_LINE(316) - Float Txc; HX_STACK_VAR(Txc,"Txc"); - HX_STACK_LINE(317) - Float Txs; HX_STACK_VAR(Txs,"Txs"); - HX_STACK_LINE(318) - Float Tx0; HX_STACK_VAR(Tx0,"Tx0"); - HX_STACK_LINE(319) - Float Tyc; HX_STACK_VAR(Tyc,"Tyc"); - HX_STACK_LINE(320) - Float Tys; HX_STACK_VAR(Tys,"Tys"); - HX_STACK_LINE(321) - Float Ty0; HX_STACK_VAR(Ty0,"Ty0"); - HX_STACK_LINE(322) - if (((m != null()))){ - HX_STACK_LINE(324) - Txc = (m->a * this->rx); - HX_STACK_LINE(325) - Txs = (m->c * this->ry); - HX_STACK_LINE(326) - Tx0 = (((m->a * cx) + (m->c * cy)) + m->tx); - HX_STACK_LINE(327) - Tyc = (m->b * this->rx); - HX_STACK_LINE(328) - Tys = (m->d * this->ry); - HX_STACK_LINE(329) - Ty0 = (((m->b * cx) + (m->d * cy)) + m->ty); - } - else{ - HX_STACK_LINE(333) - Txc = this->rx; - HX_STACK_LINE(334) - Txs = (int)0; - HX_STACK_LINE(335) - Tx0 = (cx + m->tx); - HX_STACK_LINE(336) - Tyc = (int)0; - HX_STACK_LINE(337) - Tys = this->ry; - HX_STACK_LINE(338) - Ty0 = (cy + m->ty); - } - HX_STACK_LINE(341) - Float len = (::Math_obj::abs(dtheta) * ::Math_obj::sqrt(((((Txc * Txc) + (Txs * Txs)) + (Tyc * Tyc)) + (Tys * Tys)))); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(343) - hx::MultEq(len,(int)5); - HX_STACK_LINE(344) - int steps = ::Math_obj::round(len); HX_STACK_VAR(steps,"steps"); - HX_STACK_LINE(347) - if (((steps > (int)1))){ - HX_STACK_LINE(349) - hx::DivEq(dtheta,steps); - HX_STACK_LINE(350) - { - HX_STACK_LINE(350) - int _g1 = (int)1; HX_STACK_VAR(_g1,"_g1"); - int _g = (steps - (int)1); HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(350) - while(((_g1 < _g))){ - HX_STACK_LINE(350) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(352) - Float c = ::Math_obj::cos(theta); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(353) - Float s1 = ::Math_obj::sin(theta); HX_STACK_VAR(s1,"s1"); - HX_STACK_LINE(354) - hx::AddEq(theta,dtheta); - HX_STACK_LINE(355) - inGfx->lineTo((((Txc * c) + (Txs * s1)) + Tx0),(((Tyc * c) + (Tys * s1)) + Ty0)); - } - } - } - HX_STACK_LINE(358) - inGfx->lineTo(ioContext->lastX,ioContext->lastY); - } -return null(); -} - - - -ArcSegment_obj::ArcSegment_obj() -{ -} - -void ArcSegment_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ArcSegment); - HX_MARK_MEMBER_NAME(fS,"fS"); - HX_MARK_MEMBER_NAME(fA,"fA"); - HX_MARK_MEMBER_NAME(phi,"phi"); - HX_MARK_MEMBER_NAME(ry,"ry"); - HX_MARK_MEMBER_NAME(rx,"rx"); - HX_MARK_MEMBER_NAME(y1,"y1"); - HX_MARK_MEMBER_NAME(x1,"x1"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ArcSegment_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(fS,"fS"); - HX_VISIT_MEMBER_NAME(fA,"fA"); - HX_VISIT_MEMBER_NAME(phi,"phi"); - HX_VISIT_MEMBER_NAME(ry,"ry"); - HX_VISIT_MEMBER_NAME(rx,"rx"); - HX_VISIT_MEMBER_NAME(y1,"y1"); - HX_VISIT_MEMBER_NAME(x1,"x1"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ArcSegment_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"fS") ) { return fS; } - if (HX_FIELD_EQ(inName,"fA") ) { return fA; } - if (HX_FIELD_EQ(inName,"ry") ) { return ry; } - if (HX_FIELD_EQ(inName,"rx") ) { return rx; } - if (HX_FIELD_EQ(inName,"y1") ) { return y1; } - if (HX_FIELD_EQ(inName,"x1") ) { return x1; } - break; - case 3: - if (HX_FIELD_EQ(inName,"phi") ) { return phi; } - break; - case 5: - if (HX_FIELD_EQ(inName,"toGfx") ) { return toGfx_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ArcSegment_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"fS") ) { fS=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"fA") ) { fA=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"ry") ) { ry=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"rx") ) { rx=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"y1") ) { y1=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x1") ) { x1=inValue.Cast< Float >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"phi") ) { phi=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ArcSegment_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("fS")); - outFields->push(HX_CSTRING("fA")); - outFields->push(HX_CSTRING("phi")); - outFields->push(HX_CSTRING("ry")); - outFields->push(HX_CSTRING("rx")); - outFields->push(HX_CSTRING("y1")); - outFields->push(HX_CSTRING("x1")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - HX_CSTRING("toGfx"), - HX_CSTRING("fS"), - HX_CSTRING("fA"), - HX_CSTRING("phi"), - HX_CSTRING("ry"), - HX_CSTRING("rx"), - HX_CSTRING("y1"), - HX_CSTRING("x1"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ArcSegment_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ArcSegment_obj::__mClass,"__mClass"); -}; - -Class ArcSegment_obj::__mClass; - -void ArcSegment_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.ArcSegment"), hx::TCanCast< ArcSegment_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ArcSegment_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/CubicSegment.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/CubicSegment.cpp deleted file mode 100644 index 06c0810..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/CubicSegment.cpp +++ /dev/null @@ -1,339 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_svg_CubicSegment -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_QuadraticSegment -#include -#endif -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -namespace format{ -namespace svg{ - -Void CubicSegment_obj::__construct(Float inCX1,Float inCY1,Float inCX2,Float inCY2,Float inX,Float inY) -{ -HX_STACK_PUSH("CubicSegment::new","format/svg/PathSegment.hx",93); -{ - HX_STACK_LINE(94) - super::__construct(inX,inY); - HX_STACK_LINE(95) - this->cx1 = inCX1; - HX_STACK_LINE(96) - this->cy1 = inCY1; - HX_STACK_LINE(97) - this->cx2 = inCX2; - HX_STACK_LINE(98) - this->cy2 = inCY2; -} -; - return null(); -} - -CubicSegment_obj::~CubicSegment_obj() { } - -Dynamic CubicSegment_obj::__CreateEmpty() { return new CubicSegment_obj; } -hx::ObjectPtr< CubicSegment_obj > CubicSegment_obj::__new(Float inCX1,Float inCY1,Float inCX2,Float inCY2,Float inX,Float inY) -{ hx::ObjectPtr< CubicSegment_obj > result = new CubicSegment_obj(); - result->__construct(inCX1,inCY1,inCX2,inCY2,inX,inY); - return result;} - -Dynamic CubicSegment_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< CubicSegment_obj > result = new CubicSegment_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5]); - return result;} - -int CubicSegment_obj::getType( ){ - HX_STACK_PUSH("CubicSegment::getType","format/svg/PathSegment.hx",218); - HX_STACK_THIS(this); - HX_STACK_LINE(218) - return (int)4; -} - - -Array< ::format::svg::QuadraticSegment > CubicSegment_obj::toQuadratics( Float tx0,Float ty0){ - HX_STACK_PUSH("CubicSegment::toQuadratics","format/svg/PathSegment.hx",170); - HX_STACK_THIS(this); - HX_STACK_ARG(tx0,"tx0"); - HX_STACK_ARG(ty0,"ty0"); - HX_STACK_LINE(171) - Array< ::format::svg::QuadraticSegment > result = Array_obj< ::format::svg::QuadraticSegment >::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(174) - Float pa_x = this->Interp(tx0,this->cx1,0.75); HX_STACK_VAR(pa_x,"pa_x"); - HX_STACK_LINE(175) - Float pa_y = this->Interp(ty0,this->cy1,0.75); HX_STACK_VAR(pa_y,"pa_y"); - HX_STACK_LINE(176) - Float pb_x = this->Interp(this->x,this->cx2,0.75); HX_STACK_VAR(pb_x,"pb_x"); - HX_STACK_LINE(177) - Float pb_y = this->Interp(this->y,this->cy2,0.75); HX_STACK_VAR(pb_y,"pb_y"); - HX_STACK_LINE(180) - Float dx = (Float(((this->x - tx0))) / Float((int)16)); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(181) - Float dy = (Float(((this->y - ty0))) / Float((int)16)); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(184) - Float pcx_1 = this->Interp(tx0,this->cx1,0.375); HX_STACK_VAR(pcx_1,"pcx_1"); - HX_STACK_LINE(185) - Float pcy_1 = this->Interp(ty0,this->cy1,0.375); HX_STACK_VAR(pcy_1,"pcy_1"); - HX_STACK_LINE(188) - Float pcx_2 = (this->Interp(pa_x,pb_x,0.375) - dx); HX_STACK_VAR(pcx_2,"pcx_2"); - HX_STACK_LINE(189) - Float pcy_2 = (this->Interp(pa_y,pb_y,0.375) - dy); HX_STACK_VAR(pcy_2,"pcy_2"); - HX_STACK_LINE(192) - Float pcx_3 = (this->Interp(pb_x,pa_x,0.375) + dx); HX_STACK_VAR(pcx_3,"pcx_3"); - HX_STACK_LINE(193) - Float pcy_3 = (this->Interp(pb_y,pa_y,0.375) + dy); HX_STACK_VAR(pcy_3,"pcy_3"); - HX_STACK_LINE(196) - Float pcx_4 = this->Interp(this->x,this->cx2,0.375); HX_STACK_VAR(pcx_4,"pcx_4"); - HX_STACK_LINE(197) - Float pcy_4 = this->Interp(this->y,this->cy2,0.375); HX_STACK_VAR(pcy_4,"pcy_4"); - HX_STACK_LINE(200) - Float pax_1 = (((pcx_1 + pcx_2)) * 0.5); HX_STACK_VAR(pax_1,"pax_1"); - HX_STACK_LINE(201) - Float pay_1 = (((pcy_1 + pcy_2)) * 0.5); HX_STACK_VAR(pay_1,"pay_1"); - HX_STACK_LINE(203) - Float pax_2 = (((pa_x + pb_x)) * 0.5); HX_STACK_VAR(pax_2,"pax_2"); - HX_STACK_LINE(204) - Float pay_2 = (((pa_y + pb_y)) * 0.5); HX_STACK_VAR(pay_2,"pay_2"); - HX_STACK_LINE(206) - Float pax_3 = (((pcx_3 + pcx_4)) * 0.5); HX_STACK_VAR(pax_3,"pax_3"); - HX_STACK_LINE(207) - Float pay_3 = (((pcy_3 + pcy_4)) * 0.5); HX_STACK_VAR(pay_3,"pay_3"); - HX_STACK_LINE(210) - result->push(::format::svg::QuadraticSegment_obj::__new(pcx_1,pcy_1,pax_1,pay_1)); - HX_STACK_LINE(211) - result->push(::format::svg::QuadraticSegment_obj::__new(pcx_2,pcy_2,pax_2,pay_2)); - HX_STACK_LINE(212) - result->push(::format::svg::QuadraticSegment_obj::__new(pcx_3,pcy_3,pax_3,pay_3)); - HX_STACK_LINE(213) - result->push(::format::svg::QuadraticSegment_obj::__new(pcx_4,pcy_4,this->x,this->y)); - HX_STACK_LINE(214) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC2(CubicSegment_obj,toQuadratics,return ) - -Void CubicSegment_obj::toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext){ -{ - HX_STACK_PUSH("CubicSegment::toGfx","format/svg/PathSegment.hx",110); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(ioContext,"ioContext"); - HX_STACK_LINE(112) - Float tx0 = ioContext->lastX; HX_STACK_VAR(tx0,"tx0"); - HX_STACK_LINE(113) - Float ty0 = ioContext->lastY; HX_STACK_VAR(ty0,"ty0"); - HX_STACK_LINE(115) - Float tx1 = ioContext->transX(this->cx1,this->cy1); HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(116) - Float ty1 = ioContext->transY(this->cx1,this->cy1); HX_STACK_VAR(ty1,"ty1"); - HX_STACK_LINE(117) - Float tx2 = ioContext->transX(this->cx2,this->cy2); HX_STACK_VAR(tx2,"tx2"); - HX_STACK_LINE(118) - Float ty2 = ioContext->transY(this->cx2,this->cy2); HX_STACK_VAR(ty2,"ty2"); - HX_STACK_LINE(120) - ioContext->setLast(this->x,this->y); - HX_STACK_LINE(121) - Float tx3 = ioContext->lastX; HX_STACK_VAR(tx3,"tx3"); - HX_STACK_LINE(122) - Float ty3 = ioContext->lastY; HX_STACK_VAR(ty3,"ty3"); - HX_STACK_LINE(126) - Float pa_x = this->Interp(tx0,tx1,0.75); HX_STACK_VAR(pa_x,"pa_x"); - HX_STACK_LINE(127) - Float pa_y = this->Interp(ty0,ty1,0.75); HX_STACK_VAR(pa_y,"pa_y"); - HX_STACK_LINE(128) - Float pb_x = this->Interp(tx3,tx2,0.75); HX_STACK_VAR(pb_x,"pb_x"); - HX_STACK_LINE(129) - Float pb_y = this->Interp(ty3,ty2,0.75); HX_STACK_VAR(pb_y,"pb_y"); - HX_STACK_LINE(132) - Float dx = (Float(((tx3 - tx0))) / Float((int)16)); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(133) - Float dy = (Float(((ty3 - ty0))) / Float((int)16)); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(136) - Float pcx_1 = this->Interp(tx0,tx1,0.375); HX_STACK_VAR(pcx_1,"pcx_1"); - HX_STACK_LINE(137) - Float pcy_1 = this->Interp(ty0,ty1,0.375); HX_STACK_VAR(pcy_1,"pcy_1"); - HX_STACK_LINE(140) - Float pcx_2 = (this->Interp(pa_x,pb_x,0.375) - dx); HX_STACK_VAR(pcx_2,"pcx_2"); - HX_STACK_LINE(141) - Float pcy_2 = (this->Interp(pa_y,pb_y,0.375) - dy); HX_STACK_VAR(pcy_2,"pcy_2"); - HX_STACK_LINE(144) - Float pcx_3 = (this->Interp(pb_x,pa_x,0.375) + dx); HX_STACK_VAR(pcx_3,"pcx_3"); - HX_STACK_LINE(145) - Float pcy_3 = (this->Interp(pb_y,pa_y,0.375) + dy); HX_STACK_VAR(pcy_3,"pcy_3"); - HX_STACK_LINE(148) - Float pcx_4 = this->Interp(tx3,tx2,0.375); HX_STACK_VAR(pcx_4,"pcx_4"); - HX_STACK_LINE(149) - Float pcy_4 = this->Interp(ty3,ty2,0.375); HX_STACK_VAR(pcy_4,"pcy_4"); - HX_STACK_LINE(152) - Float pax_1 = (((pcx_1 + pcx_2)) * 0.5); HX_STACK_VAR(pax_1,"pax_1"); - HX_STACK_LINE(153) - Float pay_1 = (((pcy_1 + pcy_2)) * 0.5); HX_STACK_VAR(pay_1,"pay_1"); - HX_STACK_LINE(155) - Float pax_2 = (((pa_x + pb_x)) * 0.5); HX_STACK_VAR(pax_2,"pax_2"); - HX_STACK_LINE(156) - Float pay_2 = (((pa_y + pb_y)) * 0.5); HX_STACK_VAR(pay_2,"pay_2"); - HX_STACK_LINE(158) - Float pax_3 = (((pcx_3 + pcx_4)) * 0.5); HX_STACK_VAR(pax_3,"pax_3"); - HX_STACK_LINE(159) - Float pay_3 = (((pcy_3 + pcy_4)) * 0.5); HX_STACK_VAR(pay_3,"pay_3"); - HX_STACK_LINE(162) - inGfx->curveTo(pcx_1,pcy_1,pax_1,pay_1); - HX_STACK_LINE(163) - inGfx->curveTo(pcx_2,pcy_2,pax_2,pay_2); - HX_STACK_LINE(164) - inGfx->curveTo(pcx_3,pcy_3,pax_3,pay_3); - HX_STACK_LINE(165) - inGfx->curveTo(pcx_4,pcy_4,tx3,ty3); - } -return null(); -} - - -Float CubicSegment_obj::Interp( Float a,Float b,Float frac){ - HX_STACK_PUSH("CubicSegment::Interp","format/svg/PathSegment.hx",105); - HX_STACK_THIS(this); - HX_STACK_ARG(a,"a"); - HX_STACK_ARG(b,"b"); - HX_STACK_ARG(frac,"frac"); - HX_STACK_LINE(105) - return (a + (((b - a)) * frac)); -} - - -HX_DEFINE_DYNAMIC_FUNC3(CubicSegment_obj,Interp,return ) - -Float CubicSegment_obj::prevCY( ){ - HX_STACK_PUSH("CubicSegment::prevCY","format/svg/PathSegment.hx",102); - HX_STACK_THIS(this); - HX_STACK_LINE(102) - return this->cy2; -} - - -Float CubicSegment_obj::prevCX( ){ - HX_STACK_PUSH("CubicSegment::prevCX","format/svg/PathSegment.hx",101); - HX_STACK_THIS(this); - HX_STACK_LINE(101) - return this->cx2; -} - - - -CubicSegment_obj::CubicSegment_obj() -{ -} - -void CubicSegment_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(CubicSegment); - HX_MARK_MEMBER_NAME(cy2,"cy2"); - HX_MARK_MEMBER_NAME(cx2,"cx2"); - HX_MARK_MEMBER_NAME(cy1,"cy1"); - HX_MARK_MEMBER_NAME(cx1,"cx1"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void CubicSegment_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(cy2,"cy2"); - HX_VISIT_MEMBER_NAME(cx2,"cx2"); - HX_VISIT_MEMBER_NAME(cy1,"cy1"); - HX_VISIT_MEMBER_NAME(cx1,"cx1"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic CubicSegment_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"cy2") ) { return cy2; } - if (HX_FIELD_EQ(inName,"cx2") ) { return cx2; } - if (HX_FIELD_EQ(inName,"cy1") ) { return cy1; } - if (HX_FIELD_EQ(inName,"cx1") ) { return cx1; } - break; - case 5: - if (HX_FIELD_EQ(inName,"toGfx") ) { return toGfx_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"Interp") ) { return Interp_dyn(); } - if (HX_FIELD_EQ(inName,"prevCY") ) { return prevCY_dyn(); } - if (HX_FIELD_EQ(inName,"prevCX") ) { return prevCX_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"toQuadratics") ) { return toQuadratics_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic CubicSegment_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"cy2") ) { cy2=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"cx2") ) { cx2=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"cy1") ) { cy1=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"cx1") ) { cx1=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void CubicSegment_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("cy2")); - outFields->push(HX_CSTRING("cx2")); - outFields->push(HX_CSTRING("cy1")); - outFields->push(HX_CSTRING("cx1")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - HX_CSTRING("toQuadratics"), - HX_CSTRING("toGfx"), - HX_CSTRING("Interp"), - HX_CSTRING("prevCY"), - HX_CSTRING("prevCX"), - HX_CSTRING("cy2"), - HX_CSTRING("cx2"), - HX_CSTRING("cy1"), - HX_CSTRING("cx1"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(CubicSegment_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(CubicSegment_obj::__mClass,"__mClass"); -}; - -Class CubicSegment_obj::__mClass; - -void CubicSegment_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.CubicSegment"), hx::TCanCast< CubicSegment_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void CubicSegment_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/DisplayElement.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/DisplayElement.cpp deleted file mode 100644 index d33ef9c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/DisplayElement.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_format_svg_DisplayElement -#include -#endif -#ifndef INCLUDED_format_svg_Group -#include -#endif -#ifndef INCLUDED_format_svg_Path -#include -#endif -#ifndef INCLUDED_format_svg_Text -#include -#endif -namespace format{ -namespace svg{ - -::format::svg::DisplayElement DisplayElement_obj::DisplayGroup(::format::svg::Group group) - { return hx::CreateEnum< DisplayElement_obj >(HX_CSTRING("DisplayGroup"),1,hx::DynamicArray(0,1).Add(group)); } - -::format::svg::DisplayElement DisplayElement_obj::DisplayPath(::format::svg::Path path) - { return hx::CreateEnum< DisplayElement_obj >(HX_CSTRING("DisplayPath"),0,hx::DynamicArray(0,1).Add(path)); } - -::format::svg::DisplayElement DisplayElement_obj::DisplayText(::format::svg::Text text) - { return hx::CreateEnum< DisplayElement_obj >(HX_CSTRING("DisplayText"),2,hx::DynamicArray(0,1).Add(text)); } - -HX_DEFINE_CREATE_ENUM(DisplayElement_obj) - -int DisplayElement_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("DisplayGroup")) return 1; - if (inName==HX_CSTRING("DisplayPath")) return 0; - if (inName==HX_CSTRING("DisplayText")) return 2; - return super::__FindIndex(inName); -} - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(DisplayElement_obj,DisplayGroup,return) - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(DisplayElement_obj,DisplayPath,return) - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(DisplayElement_obj,DisplayText,return) - -int DisplayElement_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("DisplayGroup")) return 1; - if (inName==HX_CSTRING("DisplayPath")) return 1; - if (inName==HX_CSTRING("DisplayText")) return 1; - return super::__FindArgCount(inName); -} - -Dynamic DisplayElement_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("DisplayGroup")) return DisplayGroup_dyn(); - if (inName==HX_CSTRING("DisplayPath")) return DisplayPath_dyn(); - if (inName==HX_CSTRING("DisplayText")) return DisplayText_dyn(); - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("DisplayPath"), - HX_CSTRING("DisplayGroup"), - HX_CSTRING("DisplayText"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(DisplayElement_obj::__mClass,"__mClass"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class DisplayElement_obj::__mClass; - -Dynamic __Create_DisplayElement_obj() { return new DisplayElement_obj; } - -void DisplayElement_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.DisplayElement"), hx::TCanCast< DisplayElement_obj >,sStaticFields,sMemberFields, - &__Create_DisplayElement_obj, &__Create, - &super::__SGetClass(), &CreateDisplayElement_obj, sMarkStatics, sVisitStatic); -} - -void DisplayElement_obj::__boot() -{ -} - - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/DrawSegment.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/DrawSegment.cpp deleted file mode 100644 index dd72f2a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/DrawSegment.cpp +++ /dev/null @@ -1,134 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_svg_DrawSegment -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -namespace format{ -namespace svg{ - -Void DrawSegment_obj::__construct(Float inX,Float inY) -{ -HX_STACK_PUSH("DrawSegment::new","format/svg/PathSegment.hx",50); -{ - HX_STACK_LINE(50) - super::__construct(inX,inY); -} -; - return null(); -} - -DrawSegment_obj::~DrawSegment_obj() { } - -Dynamic DrawSegment_obj::__CreateEmpty() { return new DrawSegment_obj; } -hx::ObjectPtr< DrawSegment_obj > DrawSegment_obj::__new(Float inX,Float inY) -{ hx::ObjectPtr< DrawSegment_obj > result = new DrawSegment_obj(); - result->__construct(inX,inY); - return result;} - -Dynamic DrawSegment_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< DrawSegment_obj > result = new DrawSegment_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -int DrawSegment_obj::getType( ){ - HX_STACK_PUSH("DrawSegment::getType","format/svg/PathSegment.hx",57); - HX_STACK_THIS(this); - HX_STACK_LINE(57) - return (int)2; -} - - -Void DrawSegment_obj::toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext){ -{ - HX_STACK_PUSH("DrawSegment::toGfx","format/svg/PathSegment.hx",52); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(ioContext,"ioContext"); - HX_STACK_LINE(53) - ioContext->setLast(this->x,this->y); - HX_STACK_LINE(54) - inGfx->lineTo(ioContext->lastX,ioContext->lastY); - } -return null(); -} - - - -DrawSegment_obj::DrawSegment_obj() -{ -} - -void DrawSegment_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(DrawSegment); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void DrawSegment_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic DrawSegment_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"toGfx") ) { return toGfx_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic DrawSegment_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void DrawSegment_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - HX_CSTRING("toGfx"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(DrawSegment_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(DrawSegment_obj::__mClass,"__mClass"); -}; - -Class DrawSegment_obj::__mClass; - -void DrawSegment_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.DrawSegment"), hx::TCanCast< DrawSegment_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void DrawSegment_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/FillType.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/FillType.cpp deleted file mode 100644 index 2294907..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/FillType.cpp +++ /dev/null @@ -1,88 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_svg_FillType -#include -#endif -#ifndef INCLUDED_format_svg_Grad -#include -#endif -namespace format{ -namespace svg{ - -::format::svg::FillType FillType_obj::FillGrad(::format::svg::Grad grad) - { return hx::CreateEnum< FillType_obj >(HX_CSTRING("FillGrad"),0,hx::DynamicArray(0,1).Add(grad)); } - -::format::svg::FillType FillType_obj::FillNone; - -::format::svg::FillType FillType_obj::FillSolid(int colour) - { return hx::CreateEnum< FillType_obj >(HX_CSTRING("FillSolid"),1,hx::DynamicArray(0,1).Add(colour)); } - -HX_DEFINE_CREATE_ENUM(FillType_obj) - -int FillType_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("FillGrad")) return 0; - if (inName==HX_CSTRING("FillNone")) return 2; - if (inName==HX_CSTRING("FillSolid")) return 1; - return super::__FindIndex(inName); -} - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FillType_obj,FillGrad,return) - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FillType_obj,FillSolid,return) - -int FillType_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("FillGrad")) return 1; - if (inName==HX_CSTRING("FillNone")) return 0; - if (inName==HX_CSTRING("FillSolid")) return 1; - return super::__FindArgCount(inName); -} - -Dynamic FillType_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("FillGrad")) return FillGrad_dyn(); - if (inName==HX_CSTRING("FillNone")) return FillNone; - if (inName==HX_CSTRING("FillSolid")) return FillSolid_dyn(); - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("FillGrad"), - HX_CSTRING("FillSolid"), - HX_CSTRING("FillNone"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FillType_obj::FillNone,"FillNone"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FillType_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FillType_obj::FillNone,"FillNone"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class FillType_obj::__mClass; - -Dynamic __Create_FillType_obj() { return new FillType_obj; } - -void FillType_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.FillType"), hx::TCanCast< FillType_obj >,sStaticFields,sMemberFields, - &__Create_FillType_obj, &__Create, - &super::__SGetClass(), &CreateFillType_obj, sMarkStatics, sVisitStatic); -} - -void FillType_obj::__boot() -{ -Static(FillNone) = hx::CreateEnum< FillType_obj >(HX_CSTRING("FillNone"),2); -} - - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/Grad.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/Grad.cpp deleted file mode 100644 index 14962d7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/Grad.cpp +++ /dev/null @@ -1,225 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_svg_Grad -#include -#endif -#ifndef INCLUDED_native_display_GradientType -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -namespace format{ -namespace svg{ - -Void Grad_obj::__construct(::native::display::GradientType inType) -{ -HX_STACK_PUSH("Grad::new","format/svg/Grad.hx",23); -{ - HX_STACK_LINE(24) - super::__construct(); - HX_STACK_LINE(25) - this->type = inType; - HX_STACK_LINE(26) - this->radius = 0.0; - HX_STACK_LINE(27) - this->gradMatrix = ::native::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - HX_STACK_LINE(28) - this->x1 = 0.0; - HX_STACK_LINE(29) - this->y1 = 0.0; - HX_STACK_LINE(30) - this->x2 = 0.0; - HX_STACK_LINE(31) - this->y2 = 0.0; -} -; - return null(); -} - -Grad_obj::~Grad_obj() { } - -Dynamic Grad_obj::__CreateEmpty() { return new Grad_obj; } -hx::ObjectPtr< Grad_obj > Grad_obj::__new(::native::display::GradientType inType) -{ hx::ObjectPtr< Grad_obj > result = new Grad_obj(); - result->__construct(inType); - return result;} - -Dynamic Grad_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Grad_obj > result = new Grad_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Grad_obj::updateMatrix( ::native::geom::Matrix inMatrix){ -{ - HX_STACK_PUSH("Grad::updateMatrix","format/svg/Grad.hx",35); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_LINE(36) - Float dx = (this->x2 - this->x1); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(37) - Float dy = (this->y2 - this->y1); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(38) - Float theta = ::Math_obj::atan2(dy,dx); HX_STACK_VAR(theta,"theta"); - HX_STACK_LINE(39) - Float len = ::Math_obj::sqrt(((dx * dx) + (dy * dy))); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(41) - ::native::geom::Matrix mtx = ::native::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(mtx,"mtx"); - HX_STACK_LINE(43) - if (((this->type == ::native::display::GradientType_obj::LINEAR_dyn()))){ - HX_STACK_LINE(45) - mtx->createGradientBox(1.0,1.0,null(),null(),null()); - HX_STACK_LINE(46) - mtx->scale(len,len); - } - else{ - HX_STACK_LINE(50) - if (((this->radius != 0.0))){ - HX_STACK_LINE(51) - this->focus = (Float(len) / Float(this->radius)); - } - HX_STACK_LINE(53) - mtx->createGradientBox(1.0,1.0,null(),null(),null()); - HX_STACK_LINE(54) - mtx->translate(-0.5,-0.5); - HX_STACK_LINE(55) - mtx->scale((this->radius * (int)2),(this->radius * (int)2)); - } - HX_STACK_LINE(58) - mtx->rotate(theta); - HX_STACK_LINE(59) - mtx->translate(this->x1,this->y1); - HX_STACK_LINE(60) - mtx->concat(this->gradMatrix); - HX_STACK_LINE(61) - mtx->concat(inMatrix); - HX_STACK_LINE(62) - this->matrix = mtx; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Grad_obj,updateMatrix,(void)) - - -Grad_obj::Grad_obj() -{ -} - -void Grad_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Grad); - HX_MARK_MEMBER_NAME(y2,"y2"); - HX_MARK_MEMBER_NAME(x2,"x2"); - HX_MARK_MEMBER_NAME(y1,"y1"); - HX_MARK_MEMBER_NAME(x1,"x1"); - HX_MARK_MEMBER_NAME(radius,"radius"); - HX_MARK_MEMBER_NAME(gradMatrix,"gradMatrix"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Grad_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(y2,"y2"); - HX_VISIT_MEMBER_NAME(x2,"x2"); - HX_VISIT_MEMBER_NAME(y1,"y1"); - HX_VISIT_MEMBER_NAME(x1,"x1"); - HX_VISIT_MEMBER_NAME(radius,"radius"); - HX_VISIT_MEMBER_NAME(gradMatrix,"gradMatrix"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Grad_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"y2") ) { return y2; } - if (HX_FIELD_EQ(inName,"x2") ) { return x2; } - if (HX_FIELD_EQ(inName,"y1") ) { return y1; } - if (HX_FIELD_EQ(inName,"x1") ) { return x1; } - break; - case 6: - if (HX_FIELD_EQ(inName,"radius") ) { return radius; } - break; - case 10: - if (HX_FIELD_EQ(inName,"gradMatrix") ) { return gradMatrix; } - break; - case 12: - if (HX_FIELD_EQ(inName,"updateMatrix") ) { return updateMatrix_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Grad_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"y2") ) { y2=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x2") ) { x2=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"y1") ) { y1=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x1") ) { x1=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"radius") ) { radius=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"gradMatrix") ) { gradMatrix=inValue.Cast< ::native::geom::Matrix >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Grad_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("y2")); - outFields->push(HX_CSTRING("x2")); - outFields->push(HX_CSTRING("y1")); - outFields->push(HX_CSTRING("x1")); - outFields->push(HX_CSTRING("radius")); - outFields->push(HX_CSTRING("gradMatrix")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("updateMatrix"), - HX_CSTRING("y2"), - HX_CSTRING("x2"), - HX_CSTRING("y1"), - HX_CSTRING("x1"), - HX_CSTRING("radius"), - HX_CSTRING("gradMatrix"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Grad_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Grad_obj::__mClass,"__mClass"); -}; - -Class Grad_obj::__mClass; - -void Grad_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.Grad"), hx::TCanCast< Grad_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Grad_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/Group.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/Group.cpp deleted file mode 100644 index 00d5057..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/Group.cpp +++ /dev/null @@ -1,178 +0,0 @@ -#include - -#ifndef INCLUDED_format_svg_DisplayElement -#include -#endif -#ifndef INCLUDED_format_svg_Group -#include -#endif -namespace format{ -namespace svg{ - -Void Group_obj::__construct() -{ -HX_STACK_PUSH("Group::new","format/svg/Group.hx",7); -{ - HX_STACK_LINE(8) - this->name = HX_CSTRING(""); - HX_STACK_LINE(9) - this->children = Array_obj< ::format::svg::DisplayElement >::__new(); -} -; - return null(); -} - -Group_obj::~Group_obj() { } - -Dynamic Group_obj::__CreateEmpty() { return new Group_obj; } -hx::ObjectPtr< Group_obj > Group_obj::__new() -{ hx::ObjectPtr< Group_obj > result = new Group_obj(); - result->__construct(); - return result;} - -Dynamic Group_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Group_obj > result = new Group_obj(); - result->__construct(); - return result;} - -::format::svg::Group Group_obj::findGroup( ::String inName){ - HX_STACK_PUSH("Group::findGroup","format/svg/Group.hx",14); - HX_STACK_THIS(this); - HX_STACK_ARG(inName,"inName"); - HX_STACK_LINE(15) - { - HX_STACK_LINE(15) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::format::svg::DisplayElement > _g1 = this->children; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(15) - while(((_g < _g1->length))){ - HX_STACK_LINE(15) - ::format::svg::DisplayElement child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(15) - ++(_g); - HX_STACK_LINE(16) - { - ::format::svg::DisplayElement _switch_1 = (child); - switch((_switch_1)->GetIndex()){ - case 1: { - ::format::svg::Group group = _switch_1->__Param(0); -{ - HX_STACK_LINE(18) - if (((group->name == inName))){ - HX_STACK_LINE(20) - return group; - } - } - } - ;break; - default: { - } - } - } - } - } - HX_STACK_LINE(23) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Group_obj,findGroup,return ) - -bool Group_obj::hasGroup( ::String inName){ - HX_STACK_PUSH("Group::hasGroup","format/svg/Group.hx",12); - HX_STACK_THIS(this); - HX_STACK_ARG(inName,"inName"); - HX_STACK_LINE(12) - return (this->findGroup(inName) != null()); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Group_obj,hasGroup,return ) - - -Group_obj::Group_obj() -{ -} - -void Group_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Group); - HX_MARK_MEMBER_NAME(children,"children"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_END_CLASS(); -} - -void Group_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(children,"children"); - HX_VISIT_MEMBER_NAME(name,"name"); -} - -Dynamic Group_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 8: - if (HX_FIELD_EQ(inName,"children") ) { return children; } - if (HX_FIELD_EQ(inName,"hasGroup") ) { return hasGroup_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"findGroup") ) { return findGroup_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Group_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"children") ) { children=inValue.Cast< Array< ::format::svg::DisplayElement > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Group_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("children")); - outFields->push(HX_CSTRING("name")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("children"), - HX_CSTRING("name"), - HX_CSTRING("findGroup"), - HX_CSTRING("hasGroup"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Group_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Group_obj::__mClass,"__mClass"); -}; - -Class Group_obj::__mClass; - -void Group_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.Group"), hx::TCanCast< Group_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Group_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/MoveSegment.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/MoveSegment.cpp deleted file mode 100644 index 59f41c3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/MoveSegment.cpp +++ /dev/null @@ -1,109 +0,0 @@ -#include - -#ifndef INCLUDED_format_svg_MoveSegment -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -namespace format{ -namespace svg{ - -Void MoveSegment_obj::__construct(Float inX,Float inY) -{ -HX_STACK_PUSH("MoveSegment::new","format/svg/PathSegment.hx",43); -{ - HX_STACK_LINE(43) - super::__construct(inX,inY); -} -; - return null(); -} - -MoveSegment_obj::~MoveSegment_obj() { } - -Dynamic MoveSegment_obj::__CreateEmpty() { return new MoveSegment_obj; } -hx::ObjectPtr< MoveSegment_obj > MoveSegment_obj::__new(Float inX,Float inY) -{ hx::ObjectPtr< MoveSegment_obj > result = new MoveSegment_obj(); - result->__construct(inX,inY); - return result;} - -Dynamic MoveSegment_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< MoveSegment_obj > result = new MoveSegment_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -int MoveSegment_obj::getType( ){ - HX_STACK_PUSH("MoveSegment::getType","format/svg/PathSegment.hx",44); - HX_STACK_THIS(this); - HX_STACK_LINE(44) - return (int)1; -} - - - -MoveSegment_obj::MoveSegment_obj() -{ -} - -void MoveSegment_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(MoveSegment); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void MoveSegment_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic MoveSegment_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic MoveSegment_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void MoveSegment_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(MoveSegment_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(MoveSegment_obj::__mClass,"__mClass"); -}; - -Class MoveSegment_obj::__mClass; - -void MoveSegment_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.MoveSegment"), hx::TCanCast< MoveSegment_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void MoveSegment_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/Path.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/Path.cpp deleted file mode 100644 index cf251e1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/Path.cpp +++ /dev/null @@ -1,210 +0,0 @@ -#include - -#ifndef INCLUDED_format_svg_FillType -#include -#endif -#ifndef INCLUDED_format_svg_Path -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_native_display_CapsStyle -#include -#endif -#ifndef INCLUDED_native_display_JointStyle -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -namespace format{ -namespace svg{ - -Void Path_obj::__construct() -{ -HX_STACK_PUSH("Path::new","format/svg/Path.hx",15); -{ -} -; - return null(); -} - -Path_obj::~Path_obj() { } - -Dynamic Path_obj::__CreateEmpty() { return new Path_obj; } -hx::ObjectPtr< Path_obj > Path_obj::__new() -{ hx::ObjectPtr< Path_obj > result = new Path_obj(); - result->__construct(); - return result;} - -Dynamic Path_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Path_obj > result = new Path_obj(); - result->__construct(); - return result;} - - -Path_obj::Path_obj() -{ -} - -void Path_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Path); - HX_MARK_MEMBER_NAME(segments,"segments"); - HX_MARK_MEMBER_NAME(miter_limit,"miter_limit"); - HX_MARK_MEMBER_NAME(joint_style,"joint_style"); - HX_MARK_MEMBER_NAME(stroke_caps,"stroke_caps"); - HX_MARK_MEMBER_NAME(stroke_width,"stroke_width"); - HX_MARK_MEMBER_NAME(stroke_colour,"stroke_colour"); - HX_MARK_MEMBER_NAME(stroke_alpha,"stroke_alpha"); - HX_MARK_MEMBER_NAME(fill_alpha,"fill_alpha"); - HX_MARK_MEMBER_NAME(fill,"fill"); - HX_MARK_MEMBER_NAME(font_size,"font_size"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_MEMBER_NAME(matrix,"matrix"); - HX_MARK_END_CLASS(); -} - -void Path_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(segments,"segments"); - HX_VISIT_MEMBER_NAME(miter_limit,"miter_limit"); - HX_VISIT_MEMBER_NAME(joint_style,"joint_style"); - HX_VISIT_MEMBER_NAME(stroke_caps,"stroke_caps"); - HX_VISIT_MEMBER_NAME(stroke_width,"stroke_width"); - HX_VISIT_MEMBER_NAME(stroke_colour,"stroke_colour"); - HX_VISIT_MEMBER_NAME(stroke_alpha,"stroke_alpha"); - HX_VISIT_MEMBER_NAME(fill_alpha,"fill_alpha"); - HX_VISIT_MEMBER_NAME(fill,"fill"); - HX_VISIT_MEMBER_NAME(font_size,"font_size"); - HX_VISIT_MEMBER_NAME(name,"name"); - HX_VISIT_MEMBER_NAME(matrix,"matrix"); -} - -Dynamic Path_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"fill") ) { return fill; } - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 6: - if (HX_FIELD_EQ(inName,"matrix") ) { return matrix; } - break; - case 8: - if (HX_FIELD_EQ(inName,"segments") ) { return segments; } - break; - case 9: - if (HX_FIELD_EQ(inName,"font_size") ) { return font_size; } - break; - case 10: - if (HX_FIELD_EQ(inName,"fill_alpha") ) { return fill_alpha; } - break; - case 11: - if (HX_FIELD_EQ(inName,"miter_limit") ) { return miter_limit; } - if (HX_FIELD_EQ(inName,"joint_style") ) { return joint_style; } - if (HX_FIELD_EQ(inName,"stroke_caps") ) { return stroke_caps; } - break; - case 12: - if (HX_FIELD_EQ(inName,"stroke_width") ) { return stroke_width; } - if (HX_FIELD_EQ(inName,"stroke_alpha") ) { return stroke_alpha; } - break; - case 13: - if (HX_FIELD_EQ(inName,"stroke_colour") ) { return stroke_colour; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Path_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"fill") ) { fill=inValue.Cast< ::format::svg::FillType >(); return inValue; } - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"matrix") ) { matrix=inValue.Cast< ::native::geom::Matrix >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"segments") ) { segments=inValue.Cast< Array< ::format::svg::PathSegment > >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"font_size") ) { font_size=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"fill_alpha") ) { fill_alpha=inValue.Cast< Float >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"miter_limit") ) { miter_limit=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"joint_style") ) { joint_style=inValue.Cast< ::native::display::JointStyle >(); return inValue; } - if (HX_FIELD_EQ(inName,"stroke_caps") ) { stroke_caps=inValue.Cast< ::native::display::CapsStyle >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"stroke_width") ) { stroke_width=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"stroke_alpha") ) { stroke_alpha=inValue.Cast< Float >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"stroke_colour") ) { stroke_colour=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Path_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("segments")); - outFields->push(HX_CSTRING("miter_limit")); - outFields->push(HX_CSTRING("joint_style")); - outFields->push(HX_CSTRING("stroke_caps")); - outFields->push(HX_CSTRING("stroke_width")); - outFields->push(HX_CSTRING("stroke_colour")); - outFields->push(HX_CSTRING("stroke_alpha")); - outFields->push(HX_CSTRING("fill_alpha")); - outFields->push(HX_CSTRING("fill")); - outFields->push(HX_CSTRING("font_size")); - outFields->push(HX_CSTRING("name")); - outFields->push(HX_CSTRING("matrix")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("segments"), - HX_CSTRING("miter_limit"), - HX_CSTRING("joint_style"), - HX_CSTRING("stroke_caps"), - HX_CSTRING("stroke_width"), - HX_CSTRING("stroke_colour"), - HX_CSTRING("stroke_alpha"), - HX_CSTRING("fill_alpha"), - HX_CSTRING("fill"), - HX_CSTRING("font_size"), - HX_CSTRING("name"), - HX_CSTRING("matrix"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Path_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Path_obj::__mClass,"__mClass"); -}; - -Class Path_obj::__mClass; - -void Path_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.Path"), hx::TCanCast< Path_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Path_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/PathParser.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/PathParser.cpp deleted file mode 100644 index fa0d73a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/PathParser.cpp +++ /dev/null @@ -1,884 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_format_svg_ArcSegment -#include -#endif -#ifndef INCLUDED_format_svg_CubicSegment -#include -#endif -#ifndef INCLUDED_format_svg_DrawSegment -#include -#endif -#ifndef INCLUDED_format_svg_MoveSegment -#include -#endif -#ifndef INCLUDED_format_svg_PathParser -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_QuadraticSegment -#include -#endif -namespace format{ -namespace svg{ - -Void PathParser_obj::__construct() -{ -HX_STACK_PUSH("PathParser::new","format/svg/PathParser.hx",48); -{ - HX_STACK_LINE(48) - if (((::format::svg::PathParser_obj::sCommandArgs == null()))){ - HX_STACK_LINE(51) - ::format::svg::PathParser_obj::sCommandArgs = Array_obj< int >::__new(); - HX_STACK_LINE(52) - { - HX_STACK_LINE(52) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(52) - while(((_g < (int)128))){ - HX_STACK_LINE(52) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(53) - ::format::svg::PathParser_obj::sCommandArgs[i] = this->commandArgs(i); - } - } - } -} -; - return null(); -} - -PathParser_obj::~PathParser_obj() { } - -Dynamic PathParser_obj::__CreateEmpty() { return new PathParser_obj; } -hx::ObjectPtr< PathParser_obj > PathParser_obj::__new() -{ hx::ObjectPtr< PathParser_obj > result = new PathParser_obj(); - result->__construct(); - return result;} - -Dynamic PathParser_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< PathParser_obj > result = new PathParser_obj(); - result->__construct(); - return result;} - -::format::svg::PathSegment PathParser_obj::createCommand( int code,Array< Float > a){ - HX_STACK_PUSH("PathParser::createCommand","format/svg/PathParser.hx",227); - HX_STACK_THIS(this); - HX_STACK_ARG(code,"code"); - HX_STACK_ARG(a,"a"); - HX_STACK_LINE(228) - int _switch_1 = (code); - if ( ( _switch_1==::format::svg::PathParser_obj::MOVE)){ - HX_STACK_LINE(231) - this->lastMoveX = a->__get((int)0); - HX_STACK_LINE(232) - this->lastMoveY = a->__get((int)1); - HX_STACK_LINE(233) - return ::format::svg::MoveSegment_obj::__new(this->lastMoveX,this->lastMoveY); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::MOVER)){ - HX_STACK_LINE(235) - this->lastMoveX = (a->__get((int)0) + this->prevX()); - HX_STACK_LINE(236) - this->lastMoveY = (a->__get((int)1) + this->prevY()); - HX_STACK_LINE(237) - return ::format::svg::MoveSegment_obj::__new(this->lastMoveX,this->lastMoveY); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::LINE)){ - HX_STACK_LINE(238) - return ::format::svg::DrawSegment_obj::__new(a->__get((int)0),a->__get((int)1)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::LINER)){ - HX_STACK_LINE(239) - return ::format::svg::DrawSegment_obj::__new((a->__get((int)0) + this->prevX()),(a->__get((int)1) + this->prevY())); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::HLINE)){ - HX_STACK_LINE(240) - return ::format::svg::DrawSegment_obj::__new(a->__get((int)0),this->prevY()); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::HLINER)){ - HX_STACK_LINE(241) - return ::format::svg::DrawSegment_obj::__new((a->__get((int)0) + this->prevX()),this->prevY()); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::VLINE)){ - HX_STACK_LINE(242) - return ::format::svg::DrawSegment_obj::__new(this->prevX(),a->__get((int)0)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::VLINER)){ - HX_STACK_LINE(243) - return ::format::svg::DrawSegment_obj::__new(this->prevX(),(a->__get((int)0) + this->prevY())); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::CUBIC)){ - HX_STACK_LINE(244) - return ::format::svg::CubicSegment_obj::__new(a->__get((int)0),a->__get((int)1),a->__get((int)2),a->__get((int)3),a->__get((int)4),a->__get((int)5)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::CUBICR)){ - HX_STACK_LINE(247) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(248) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(249) - return ::format::svg::CubicSegment_obj::__new((a->__get((int)0) + rx),(a->__get((int)1) + ry),(a->__get((int)2) + rx),(a->__get((int)3) + ry),(a->__get((int)4) + rx),(a->__get((int)5) + ry)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::SCUBIC)){ - HX_STACK_LINE(251) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(252) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(253) - return ::format::svg::CubicSegment_obj::__new(((rx * (int)2) - this->prevCX()),((ry * (int)2) - this->prevCY()),a->__get((int)0),a->__get((int)1),a->__get((int)2),a->__get((int)3)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::SCUBICR)){ - HX_STACK_LINE(255) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(256) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(257) - return ::format::svg::CubicSegment_obj::__new(((rx * (int)2) - this->prevCX()),((ry * (int)2) - this->prevCY()),(a->__get((int)0) + rx),(a->__get((int)1) + ry),(a->__get((int)2) + rx),(a->__get((int)3) + ry)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::QUAD)){ - HX_STACK_LINE(258) - return ::format::svg::QuadraticSegment_obj::__new(a->__get((int)0),a->__get((int)1),a->__get((int)2),a->__get((int)3)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::QUADR)){ - HX_STACK_LINE(260) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(261) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(262) - return ::format::svg::QuadraticSegment_obj::__new((a->__get((int)0) + rx),(a->__get((int)1) + ry),(a->__get((int)2) + rx),(a->__get((int)3) + ry)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::SQUAD)){ - HX_STACK_LINE(264) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(265) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(266) - return ::format::svg::QuadraticSegment_obj::__new(((rx * (int)2) - this->prevCX()),((rx * (int)2) - this->prevCY()),a->__get((int)2),a->__get((int)3)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::SQUADR)){ - HX_STACK_LINE(268) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(269) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(270) - return ::format::svg::QuadraticSegment_obj::__new(((rx * (int)2) - this->prevCX()),((ry * (int)2) - this->prevCY()),(a->__get((int)0) + rx),(a->__get((int)1) + ry)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::ARC)){ - HX_STACK_LINE(271) - return ::format::svg::ArcSegment_obj::__new(this->prevX(),this->prevY(),a->__get((int)0),a->__get((int)1),a->__get((int)2),(a->__get((int)3) != 0.),(a->__get((int)4) != 0.),a->__get((int)5),a->__get((int)6)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::ARCR)){ - HX_STACK_LINE(274) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(275) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(276) - return ::format::svg::ArcSegment_obj::__new(rx,ry,a->__get((int)0),a->__get((int)1),a->__get((int)2),(a->__get((int)3) != 0.),(a->__get((int)4) != 0.),(a->__get((int)5) + rx),(a->__get((int)6) + ry)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::CLOSE)){ - HX_STACK_LINE(277) - return ::format::svg::DrawSegment_obj::__new(this->lastMoveX,this->lastMoveY); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::CLOSER)){ - HX_STACK_LINE(280) - return ::format::svg::DrawSegment_obj::__new(this->lastMoveX,this->lastMoveY); - } - HX_STACK_LINE(284) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(PathParser_obj,createCommand,return ) - -Float PathParser_obj::prevCY( ){ - HX_STACK_PUSH("PathParser::prevCY","format/svg/PathParser.hx",224); - HX_STACK_THIS(this); - HX_STACK_LINE(224) - return ( (((this->prev != null()))) ? Float(this->prev->prevCY()) : Float((int)0) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathParser_obj,prevCY,return ) - -Float PathParser_obj::prevCX( ){ - HX_STACK_PUSH("PathParser::prevCX","format/svg/PathParser.hx",223); - HX_STACK_THIS(this); - HX_STACK_LINE(223) - return ( (((this->prev != null()))) ? Float(this->prev->prevCX()) : Float((int)0) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathParser_obj,prevCX,return ) - -Float PathParser_obj::prevY( ){ - HX_STACK_PUSH("PathParser::prevY","format/svg/PathParser.hx",222); - HX_STACK_THIS(this); - HX_STACK_LINE(222) - return ( (((this->prev != null()))) ? Float(this->prev->prevY()) : Float((int)0) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathParser_obj,prevY,return ) - -Float PathParser_obj::prevX( ){ - HX_STACK_PUSH("PathParser::prevX","format/svg/PathParser.hx",221); - HX_STACK_THIS(this); - HX_STACK_LINE(221) - return ( (((this->prev != null()))) ? Float(this->prev->prevX()) : Float((int)0) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathParser_obj,prevX,return ) - -int PathParser_obj::commandArgs( int inCode){ - HX_STACK_PUSH("PathParser::commandArgs","format/svg/PathParser.hx",196); - HX_STACK_THIS(this); - HX_STACK_ARG(inCode,"inCode"); - HX_STACK_LINE(197) - if (((inCode == (int)10))){ - HX_STACK_LINE(197) - return ::format::svg::PathParser_obj::SEPARATOR; - } - HX_STACK_LINE(199) - ::String str = ::String::fromCharCode(inCode).toUpperCase(); HX_STACK_VAR(str,"str"); - HX_STACK_LINE(200) - if (((bool((str >= HX_CSTRING("0"))) && bool((str <= HX_CSTRING("9")))))){ - HX_STACK_LINE(201) - return ::format::svg::PathParser_obj::FLOAT; - } - HX_STACK_LINE(203) - ::String _switch_2 = (str); - if ( ( _switch_2==HX_CSTRING("Z"))){ - HX_STACK_LINE(205) - return (int)0; - } - else if ( ( _switch_2==HX_CSTRING("H")) || ( _switch_2==HX_CSTRING("V"))){ - HX_STACK_LINE(206) - return (int)1; - } - else if ( ( _switch_2==HX_CSTRING("M")) || ( _switch_2==HX_CSTRING("L")) || ( _switch_2==HX_CSTRING("T"))){ - HX_STACK_LINE(207) - return (int)2; - } - else if ( ( _switch_2==HX_CSTRING("S")) || ( _switch_2==HX_CSTRING("Q"))){ - HX_STACK_LINE(208) - return (int)4; - } - else if ( ( _switch_2==HX_CSTRING("C"))){ - HX_STACK_LINE(209) - return (int)6; - } - else if ( ( _switch_2==HX_CSTRING("A"))){ - HX_STACK_LINE(210) - return (int)7; - } - else if ( ( _switch_2==HX_CSTRING("\t")) || ( _switch_2==HX_CSTRING("\n")) || ( _switch_2==HX_CSTRING(" ")) || ( _switch_2==HX_CSTRING("\r")) || ( _switch_2==HX_CSTRING(","))){ - HX_STACK_LINE(211) - return ::format::svg::PathParser_obj::SEPARATOR; - } - else if ( ( _switch_2==HX_CSTRING("-"))){ - HX_STACK_LINE(212) - return ::format::svg::PathParser_obj::FLOAT_SIGN; - } - else if ( ( _switch_2==HX_CSTRING("+"))){ - HX_STACK_LINE(213) - return ::format::svg::PathParser_obj::FLOAT_SIGN; - } - else if ( ( _switch_2==HX_CSTRING("E")) || ( _switch_2==HX_CSTRING("e"))){ - HX_STACK_LINE(214) - return ::format::svg::PathParser_obj::FLOAT_EXP; - } - else if ( ( _switch_2==HX_CSTRING("."))){ - HX_STACK_LINE(215) - return ::format::svg::PathParser_obj::FLOAT_DOT; - } - HX_STACK_LINE(218) - return ::format::svg::PathParser_obj::UNKNOWN; -} - - -HX_DEFINE_DYNAMIC_FUNC1(PathParser_obj,commandArgs,return ) - -Array< ::format::svg::PathSegment > PathParser_obj::parse( ::String pathToParse,bool inConvertCubics){ - HX_STACK_PUSH("PathParser::parse","format/svg/PathParser.hx",57); - HX_STACK_THIS(this); - HX_STACK_ARG(pathToParse,"pathToParse"); - HX_STACK_ARG(inConvertCubics,"inConvertCubics"); - HX_STACK_LINE(58) - this->lastMoveX = this->lastMoveY = (int)0; - HX_STACK_LINE(59) - int pos = (int)0; HX_STACK_VAR(pos,"pos"); - HX_STACK_LINE(60) - Array< Float > args = Array_obj< Float >::__new(); HX_STACK_VAR(args,"args"); - HX_STACK_LINE(61) - Array< ::format::svg::PathSegment > segments = Array_obj< ::format::svg::PathSegment >::__new(); HX_STACK_VAR(segments,"segments"); - HX_STACK_LINE(62) - int current_command_pos = (int)0; HX_STACK_VAR(current_command_pos,"current_command_pos"); - HX_STACK_LINE(63) - int current_command = (int)-1; HX_STACK_VAR(current_command,"current_command"); - HX_STACK_LINE(64) - int current_args = (int)-1; HX_STACK_VAR(current_args,"current_args"); - HX_STACK_LINE(66) - this->prev = null(); - HX_STACK_LINE(68) - int len = pathToParse.length; HX_STACK_VAR(len,"len"); - HX_STACK_LINE(69) - bool finished = false; HX_STACK_VAR(finished,"finished"); - HX_STACK_LINE(70) - while(((pos <= len))){ - HX_STACK_LINE(72) - Dynamic code = ( (((pos == len))) ? Dynamic((int)32) : Dynamic(pathToParse.charCodeAt(pos)) ); HX_STACK_VAR(code,"code"); - HX_STACK_LINE(73) - int command = ( (((bool((code > (int)0)) && bool((code < (int)128))))) ? int(::format::svg::PathParser_obj::sCommandArgs->__get(code)) : int(::format::svg::PathParser_obj::UNKNOWN) ); HX_STACK_VAR(command,"command"); - HX_STACK_LINE(75) - if (((command == ::format::svg::PathParser_obj::UNKNOWN))){ - HX_STACK_LINE(76) - hx::Throw (((HX_CSTRING("failed parsing path near '") + pathToParse.substr(pos,null())) + HX_CSTRING("'"))); - } - HX_STACK_LINE(78) - if (((command == ::format::svg::PathParser_obj::SEPARATOR))){ - HX_STACK_LINE(79) - (pos)++; - } - else{ - HX_STACK_LINE(82) - if (((command <= ::format::svg::PathParser_obj::FLOAT))){ - HX_STACK_LINE(84) - int end = (pos + (int)1); HX_STACK_VAR(end,"end"); - HX_STACK_LINE(85) - int e_pos = (int)-1; HX_STACK_VAR(e_pos,"e_pos"); - HX_STACK_LINE(86) - bool seen_dot = (command == ::format::svg::PathParser_obj::FLOAT_DOT); HX_STACK_VAR(seen_dot,"seen_dot"); - HX_STACK_LINE(87) - if (((command == ::format::svg::PathParser_obj::FLOAT_EXP))){ - HX_STACK_LINE(89) - e_pos = (int)0; - HX_STACK_LINE(90) - seen_dot = true; - } - HX_STACK_LINE(92) - while(((end < pathToParse.length))){ - HX_STACK_LINE(94) - Dynamic ch = pathToParse.charCodeAt(end); HX_STACK_VAR(ch,"ch"); - HX_STACK_LINE(95) - int code1 = ( (((bool((ch < (int)0)) || bool((ch > (int)127))))) ? int(::format::svg::PathParser_obj::UNKNOWN) : int(::format::svg::PathParser_obj::sCommandArgs->__get(ch)) ); HX_STACK_VAR(code1,"code1"); - HX_STACK_LINE(96) - if (((code1 > ::format::svg::PathParser_obj::FLOAT))){ - HX_STACK_LINE(97) - break; - } - HX_STACK_LINE(98) - if (((bool((code1 == ::format::svg::PathParser_obj::FLOAT_DOT)) && bool(seen_dot)))){ - HX_STACK_LINE(99) - break; - } - HX_STACK_LINE(100) - if (((e_pos >= (int)0))){ - HX_STACK_LINE(102) - if (((code1 == ::format::svg::PathParser_obj::FLOAT_SIGN))){ - HX_STACK_LINE(103) - if (((e_pos != (int)0))){ - HX_STACK_LINE(105) - break; - } - } - else{ - HX_STACK_LINE(107) - if (((code1 != ::format::svg::PathParser_obj::FLOAT))){ - HX_STACK_LINE(108) - break; - } - } - HX_STACK_LINE(109) - (e_pos)++; - } - else{ - HX_STACK_LINE(111) - if (((code1 == ::format::svg::PathParser_obj::FLOAT_EXP))){ - HX_STACK_LINE(113) - if (((e_pos >= (int)0))){ - HX_STACK_LINE(114) - break; - } - HX_STACK_LINE(115) - e_pos = (int)0; - HX_STACK_LINE(116) - seen_dot = true; - } - else{ - HX_STACK_LINE(118) - if (((code1 == ::format::svg::PathParser_obj::FLOAT_SIGN))){ - HX_STACK_LINE(119) - break; - } - } - } - HX_STACK_LINE(120) - (end)++; - } - HX_STACK_LINE(122) - if (((current_command < (int)0))){ - } - else{ - HX_STACK_LINE(129) - Float f = ::Std_obj::parseFloat(pathToParse.substr(pos,(end - pos))); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(130) - args->push(f); - } - HX_STACK_LINE(132) - pos = end; - } - else{ - HX_STACK_LINE(136) - current_command = code; - HX_STACK_LINE(137) - current_args = command; - HX_STACK_LINE(138) - finished = false; - HX_STACK_LINE(139) - current_command_pos = pos; - HX_STACK_LINE(140) - args = Array_obj< Float >::__new(); - HX_STACK_LINE(141) - (pos)++; - } - } - HX_STACK_LINE(144) - Float px = 0.0; HX_STACK_VAR(px,"px"); - HX_STACK_LINE(145) - Float py = 0.0; HX_STACK_VAR(py,"py"); - HX_STACK_LINE(146) - if (((current_command >= (int)0))){ - HX_STACK_LINE(147) - if (((current_args == args->length))){ - HX_STACK_LINE(150) - if (((bool(inConvertCubics) && bool((this->prev != null()))))){ - HX_STACK_LINE(152) - px = this->prev->prevX(); - HX_STACK_LINE(153) - py = this->prev->prevY(); - } - HX_STACK_LINE(155) - this->prev = this->createCommand(current_command,args); - HX_STACK_LINE(156) - if (((this->prev == null()))){ - HX_STACK_LINE(157) - hx::Throw (((((HX_CSTRING("Unknown command ") + ::String::fromCharCode(current_command)) + HX_CSTRING(" near '")) + pathToParse.substr(current_command_pos,null())) + HX_CSTRING("'"))); - } - HX_STACK_LINE(159) - if (((bool(inConvertCubics) && bool((this->prev->getType() == (int)4))))){ - HX_STACK_LINE(161) - ::format::svg::CubicSegment cubic = this->prev; HX_STACK_VAR(cubic,"cubic"); - HX_STACK_LINE(162) - Array< ::format::svg::QuadraticSegment > quads = cubic->toQuadratics(px,py); HX_STACK_VAR(quads,"quads"); - HX_STACK_LINE(163) - { - HX_STACK_LINE(163) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(163) - while(((_g < quads->length))){ - HX_STACK_LINE(163) - ::format::svg::QuadraticSegment q = quads->__get(_g); HX_STACK_VAR(q,"q"); - HX_STACK_LINE(163) - ++(_g); - HX_STACK_LINE(164) - segments->push(q); - } - } - } - else{ - HX_STACK_LINE(167) - segments->push(this->prev); - } - HX_STACK_LINE(169) - finished = true; - HX_STACK_LINE(170) - if (((current_args == (int)0))){ - HX_STACK_LINE(172) - current_args = (int)-1; - HX_STACK_LINE(173) - current_command = (int)-1; - } - else{ - HX_STACK_LINE(175) - if (((current_command == ::format::svg::PathParser_obj::MOVE))){ - HX_STACK_LINE(176) - current_command = ::format::svg::PathParser_obj::LINE; - } - else{ - HX_STACK_LINE(177) - if (((current_command == ::format::svg::PathParser_obj::MOVER))){ - HX_STACK_LINE(178) - current_command = ::format::svg::PathParser_obj::LINER; - } - } - } - HX_STACK_LINE(180) - current_command_pos = pos; - HX_STACK_LINE(181) - args = Array_obj< Float >::__new(); - } - } - } - HX_STACK_LINE(186) - if (((bool((current_command >= (int)0)) && bool(!(finished))))){ - HX_STACK_LINE(187) - hx::Throw (((((((HX_CSTRING("Unfinished command (") + args->length) + HX_CSTRING("/")) + current_args) + HX_CSTRING(") near '")) + pathToParse.substr(current_command_pos,null())) + HX_CSTRING("'"))); - } - HX_STACK_LINE(192) - return segments; -} - - -HX_DEFINE_DYNAMIC_FUNC2(PathParser_obj,parse,return ) - -Array< int > PathParser_obj::sCommandArgs; - -Dynamic PathParser_obj::MOVE; - -Dynamic PathParser_obj::MOVER; - -Dynamic PathParser_obj::LINE; - -Dynamic PathParser_obj::LINER; - -Dynamic PathParser_obj::HLINE; - -Dynamic PathParser_obj::HLINER; - -Dynamic PathParser_obj::VLINE; - -Dynamic PathParser_obj::VLINER; - -Dynamic PathParser_obj::CUBIC; - -Dynamic PathParser_obj::CUBICR; - -Dynamic PathParser_obj::SCUBIC; - -Dynamic PathParser_obj::SCUBICR; - -Dynamic PathParser_obj::QUAD; - -Dynamic PathParser_obj::QUADR; - -Dynamic PathParser_obj::SQUAD; - -Dynamic PathParser_obj::SQUADR; - -Dynamic PathParser_obj::ARC; - -Dynamic PathParser_obj::ARCR; - -Dynamic PathParser_obj::CLOSE; - -Dynamic PathParser_obj::CLOSER; - -int PathParser_obj::UNKNOWN; - -int PathParser_obj::SEPARATOR; - -int PathParser_obj::FLOAT; - -int PathParser_obj::FLOAT_SIGN; - -int PathParser_obj::FLOAT_DOT; - -int PathParser_obj::FLOAT_EXP; - - -PathParser_obj::PathParser_obj() -{ -} - -void PathParser_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(PathParser); - HX_MARK_MEMBER_NAME(prev,"prev"); - HX_MARK_MEMBER_NAME(lastMoveY,"lastMoveY"); - HX_MARK_MEMBER_NAME(lastMoveX,"lastMoveX"); - HX_MARK_END_CLASS(); -} - -void PathParser_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(prev,"prev"); - HX_VISIT_MEMBER_NAME(lastMoveY,"lastMoveY"); - HX_VISIT_MEMBER_NAME(lastMoveX,"lastMoveX"); -} - -Dynamic PathParser_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"ARC") ) { return ARC; } - break; - case 4: - if (HX_FIELD_EQ(inName,"MOVE") ) { return MOVE; } - if (HX_FIELD_EQ(inName,"LINE") ) { return LINE; } - if (HX_FIELD_EQ(inName,"QUAD") ) { return QUAD; } - if (HX_FIELD_EQ(inName,"ARCR") ) { return ARCR; } - if (HX_FIELD_EQ(inName,"prev") ) { return prev; } - break; - case 5: - if (HX_FIELD_EQ(inName,"MOVER") ) { return MOVER; } - if (HX_FIELD_EQ(inName,"LINER") ) { return LINER; } - if (HX_FIELD_EQ(inName,"HLINE") ) { return HLINE; } - if (HX_FIELD_EQ(inName,"VLINE") ) { return VLINE; } - if (HX_FIELD_EQ(inName,"CUBIC") ) { return CUBIC; } - if (HX_FIELD_EQ(inName,"QUADR") ) { return QUADR; } - if (HX_FIELD_EQ(inName,"SQUAD") ) { return SQUAD; } - if (HX_FIELD_EQ(inName,"CLOSE") ) { return CLOSE; } - if (HX_FIELD_EQ(inName,"FLOAT") ) { return FLOAT; } - if (HX_FIELD_EQ(inName,"prevY") ) { return prevY_dyn(); } - if (HX_FIELD_EQ(inName,"prevX") ) { return prevX_dyn(); } - if (HX_FIELD_EQ(inName,"parse") ) { return parse_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"HLINER") ) { return HLINER; } - if (HX_FIELD_EQ(inName,"VLINER") ) { return VLINER; } - if (HX_FIELD_EQ(inName,"CUBICR") ) { return CUBICR; } - if (HX_FIELD_EQ(inName,"SCUBIC") ) { return SCUBIC; } - if (HX_FIELD_EQ(inName,"SQUADR") ) { return SQUADR; } - if (HX_FIELD_EQ(inName,"CLOSER") ) { return CLOSER; } - if (HX_FIELD_EQ(inName,"prevCY") ) { return prevCY_dyn(); } - if (HX_FIELD_EQ(inName,"prevCX") ) { return prevCX_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"SCUBICR") ) { return SCUBICR; } - if (HX_FIELD_EQ(inName,"UNKNOWN") ) { return UNKNOWN; } - break; - case 9: - if (HX_FIELD_EQ(inName,"SEPARATOR") ) { return SEPARATOR; } - if (HX_FIELD_EQ(inName,"FLOAT_DOT") ) { return FLOAT_DOT; } - if (HX_FIELD_EQ(inName,"FLOAT_EXP") ) { return FLOAT_EXP; } - if (HX_FIELD_EQ(inName,"lastMoveY") ) { return lastMoveY; } - if (HX_FIELD_EQ(inName,"lastMoveX") ) { return lastMoveX; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FLOAT_SIGN") ) { return FLOAT_SIGN; } - break; - case 11: - if (HX_FIELD_EQ(inName,"commandArgs") ) { return commandArgs_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"sCommandArgs") ) { return sCommandArgs; } - break; - case 13: - if (HX_FIELD_EQ(inName,"createCommand") ) { return createCommand_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic PathParser_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"ARC") ) { ARC=inValue.Cast< Dynamic >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"MOVE") ) { MOVE=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"LINE") ) { LINE=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"QUAD") ) { QUAD=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"ARCR") ) { ARCR=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"prev") ) { prev=inValue.Cast< ::format::svg::PathSegment >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"MOVER") ) { MOVER=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"LINER") ) { LINER=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"HLINE") ) { HLINE=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"VLINE") ) { VLINE=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"CUBIC") ) { CUBIC=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"QUADR") ) { QUADR=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"SQUAD") ) { SQUAD=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"CLOSE") ) { CLOSE=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"FLOAT") ) { FLOAT=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"HLINER") ) { HLINER=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"VLINER") ) { VLINER=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"CUBICR") ) { CUBICR=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"SCUBIC") ) { SCUBIC=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"SQUADR") ) { SQUADR=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"CLOSER") ) { CLOSER=inValue.Cast< Dynamic >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"SCUBICR") ) { SCUBICR=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"UNKNOWN") ) { UNKNOWN=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"SEPARATOR") ) { SEPARATOR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FLOAT_DOT") ) { FLOAT_DOT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FLOAT_EXP") ) { FLOAT_EXP=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"lastMoveY") ) { lastMoveY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"lastMoveX") ) { lastMoveX=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FLOAT_SIGN") ) { FLOAT_SIGN=inValue.Cast< int >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sCommandArgs") ) { sCommandArgs=inValue.Cast< Array< int > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void PathParser_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("prev")); - outFields->push(HX_CSTRING("lastMoveY")); - outFields->push(HX_CSTRING("lastMoveX")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("sCommandArgs"), - HX_CSTRING("MOVE"), - HX_CSTRING("MOVER"), - HX_CSTRING("LINE"), - HX_CSTRING("LINER"), - HX_CSTRING("HLINE"), - HX_CSTRING("HLINER"), - HX_CSTRING("VLINE"), - HX_CSTRING("VLINER"), - HX_CSTRING("CUBIC"), - HX_CSTRING("CUBICR"), - HX_CSTRING("SCUBIC"), - HX_CSTRING("SCUBICR"), - HX_CSTRING("QUAD"), - HX_CSTRING("QUADR"), - HX_CSTRING("SQUAD"), - HX_CSTRING("SQUADR"), - HX_CSTRING("ARC"), - HX_CSTRING("ARCR"), - HX_CSTRING("CLOSE"), - HX_CSTRING("CLOSER"), - HX_CSTRING("UNKNOWN"), - HX_CSTRING("SEPARATOR"), - HX_CSTRING("FLOAT"), - HX_CSTRING("FLOAT_SIGN"), - HX_CSTRING("FLOAT_DOT"), - HX_CSTRING("FLOAT_EXP"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("createCommand"), - HX_CSTRING("prevCY"), - HX_CSTRING("prevCX"), - HX_CSTRING("prevY"), - HX_CSTRING("prevX"), - HX_CSTRING("commandArgs"), - HX_CSTRING("parse"), - HX_CSTRING("prev"), - HX_CSTRING("lastMoveY"), - HX_CSTRING("lastMoveX"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PathParser_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(PathParser_obj::sCommandArgs,"sCommandArgs"); - HX_MARK_MEMBER_NAME(PathParser_obj::MOVE,"MOVE"); - HX_MARK_MEMBER_NAME(PathParser_obj::MOVER,"MOVER"); - HX_MARK_MEMBER_NAME(PathParser_obj::LINE,"LINE"); - HX_MARK_MEMBER_NAME(PathParser_obj::LINER,"LINER"); - HX_MARK_MEMBER_NAME(PathParser_obj::HLINE,"HLINE"); - HX_MARK_MEMBER_NAME(PathParser_obj::HLINER,"HLINER"); - HX_MARK_MEMBER_NAME(PathParser_obj::VLINE,"VLINE"); - HX_MARK_MEMBER_NAME(PathParser_obj::VLINER,"VLINER"); - HX_MARK_MEMBER_NAME(PathParser_obj::CUBIC,"CUBIC"); - HX_MARK_MEMBER_NAME(PathParser_obj::CUBICR,"CUBICR"); - HX_MARK_MEMBER_NAME(PathParser_obj::SCUBIC,"SCUBIC"); - HX_MARK_MEMBER_NAME(PathParser_obj::SCUBICR,"SCUBICR"); - HX_MARK_MEMBER_NAME(PathParser_obj::QUAD,"QUAD"); - HX_MARK_MEMBER_NAME(PathParser_obj::QUADR,"QUADR"); - HX_MARK_MEMBER_NAME(PathParser_obj::SQUAD,"SQUAD"); - HX_MARK_MEMBER_NAME(PathParser_obj::SQUADR,"SQUADR"); - HX_MARK_MEMBER_NAME(PathParser_obj::ARC,"ARC"); - HX_MARK_MEMBER_NAME(PathParser_obj::ARCR,"ARCR"); - HX_MARK_MEMBER_NAME(PathParser_obj::CLOSE,"CLOSE"); - HX_MARK_MEMBER_NAME(PathParser_obj::CLOSER,"CLOSER"); - HX_MARK_MEMBER_NAME(PathParser_obj::UNKNOWN,"UNKNOWN"); - HX_MARK_MEMBER_NAME(PathParser_obj::SEPARATOR,"SEPARATOR"); - HX_MARK_MEMBER_NAME(PathParser_obj::FLOAT,"FLOAT"); - HX_MARK_MEMBER_NAME(PathParser_obj::FLOAT_SIGN,"FLOAT_SIGN"); - HX_MARK_MEMBER_NAME(PathParser_obj::FLOAT_DOT,"FLOAT_DOT"); - HX_MARK_MEMBER_NAME(PathParser_obj::FLOAT_EXP,"FLOAT_EXP"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PathParser_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(PathParser_obj::sCommandArgs,"sCommandArgs"); - HX_VISIT_MEMBER_NAME(PathParser_obj::MOVE,"MOVE"); - HX_VISIT_MEMBER_NAME(PathParser_obj::MOVER,"MOVER"); - HX_VISIT_MEMBER_NAME(PathParser_obj::LINE,"LINE"); - HX_VISIT_MEMBER_NAME(PathParser_obj::LINER,"LINER"); - HX_VISIT_MEMBER_NAME(PathParser_obj::HLINE,"HLINE"); - HX_VISIT_MEMBER_NAME(PathParser_obj::HLINER,"HLINER"); - HX_VISIT_MEMBER_NAME(PathParser_obj::VLINE,"VLINE"); - HX_VISIT_MEMBER_NAME(PathParser_obj::VLINER,"VLINER"); - HX_VISIT_MEMBER_NAME(PathParser_obj::CUBIC,"CUBIC"); - HX_VISIT_MEMBER_NAME(PathParser_obj::CUBICR,"CUBICR"); - HX_VISIT_MEMBER_NAME(PathParser_obj::SCUBIC,"SCUBIC"); - HX_VISIT_MEMBER_NAME(PathParser_obj::SCUBICR,"SCUBICR"); - HX_VISIT_MEMBER_NAME(PathParser_obj::QUAD,"QUAD"); - HX_VISIT_MEMBER_NAME(PathParser_obj::QUADR,"QUADR"); - HX_VISIT_MEMBER_NAME(PathParser_obj::SQUAD,"SQUAD"); - HX_VISIT_MEMBER_NAME(PathParser_obj::SQUADR,"SQUADR"); - HX_VISIT_MEMBER_NAME(PathParser_obj::ARC,"ARC"); - HX_VISIT_MEMBER_NAME(PathParser_obj::ARCR,"ARCR"); - HX_VISIT_MEMBER_NAME(PathParser_obj::CLOSE,"CLOSE"); - HX_VISIT_MEMBER_NAME(PathParser_obj::CLOSER,"CLOSER"); - HX_VISIT_MEMBER_NAME(PathParser_obj::UNKNOWN,"UNKNOWN"); - HX_VISIT_MEMBER_NAME(PathParser_obj::SEPARATOR,"SEPARATOR"); - HX_VISIT_MEMBER_NAME(PathParser_obj::FLOAT,"FLOAT"); - HX_VISIT_MEMBER_NAME(PathParser_obj::FLOAT_SIGN,"FLOAT_SIGN"); - HX_VISIT_MEMBER_NAME(PathParser_obj::FLOAT_DOT,"FLOAT_DOT"); - HX_VISIT_MEMBER_NAME(PathParser_obj::FLOAT_EXP,"FLOAT_EXP"); -}; - -Class PathParser_obj::__mClass; - -void PathParser_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.PathParser"), hx::TCanCast< PathParser_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void PathParser_obj::__boot() -{ - MOVE= HX_CSTRING("M").charCodeAt((int)0); - MOVER= HX_CSTRING("m").charCodeAt((int)0); - LINE= HX_CSTRING("L").charCodeAt((int)0); - LINER= HX_CSTRING("l").charCodeAt((int)0); - HLINE= HX_CSTRING("H").charCodeAt((int)0); - HLINER= HX_CSTRING("h").charCodeAt((int)0); - VLINE= HX_CSTRING("V").charCodeAt((int)0); - VLINER= HX_CSTRING("v").charCodeAt((int)0); - CUBIC= HX_CSTRING("C").charCodeAt((int)0); - CUBICR= HX_CSTRING("c").charCodeAt((int)0); - SCUBIC= HX_CSTRING("S").charCodeAt((int)0); - SCUBICR= HX_CSTRING("s").charCodeAt((int)0); - QUAD= HX_CSTRING("Q").charCodeAt((int)0); - QUADR= HX_CSTRING("q").charCodeAt((int)0); - SQUAD= HX_CSTRING("T").charCodeAt((int)0); - SQUADR= HX_CSTRING("t").charCodeAt((int)0); - ARC= HX_CSTRING("A").charCodeAt((int)0); - ARCR= HX_CSTRING("a").charCodeAt((int)0); - CLOSE= HX_CSTRING("Z").charCodeAt((int)0); - CLOSER= HX_CSTRING("z").charCodeAt((int)0); - UNKNOWN= (int)-1; - SEPARATOR= (int)-2; - FLOAT= (int)-3; - FLOAT_SIGN= (int)-4; - FLOAT_DOT= (int)-5; - FLOAT_EXP= (int)-6; -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/PathSegment.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/PathSegment.cpp deleted file mode 100644 index 8b74127..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/PathSegment.cpp +++ /dev/null @@ -1,256 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -namespace format{ -namespace svg{ - -Void PathSegment_obj::__construct(Float inX,Float inY) -{ -HX_STACK_PUSH("PathSegment::new","format/svg/PathSegment.hx",20); -{ - HX_STACK_LINE(21) - this->x = inX; - HX_STACK_LINE(22) - this->y = inY; -} -; - return null(); -} - -PathSegment_obj::~PathSegment_obj() { } - -Dynamic PathSegment_obj::__CreateEmpty() { return new PathSegment_obj; } -hx::ObjectPtr< PathSegment_obj > PathSegment_obj::__new(Float inX,Float inY) -{ hx::ObjectPtr< PathSegment_obj > result = new PathSegment_obj(); - result->__construct(inX,inY); - return result;} - -Dynamic PathSegment_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< PathSegment_obj > result = new PathSegment_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -Void PathSegment_obj::toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext){ -{ - HX_STACK_PUSH("PathSegment::toGfx","format/svg/PathSegment.hx",32); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(ioContext,"ioContext"); - HX_STACK_LINE(33) - ioContext->setLast(this->x,this->y); - HX_STACK_LINE(34) - ioContext->firstX = ioContext->lastX; - HX_STACK_LINE(35) - ioContext->firstY = ioContext->lastY; - HX_STACK_LINE(36) - inGfx->moveTo(ioContext->lastX,ioContext->lastY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(PathSegment_obj,toGfx,(void)) - -Float PathSegment_obj::prevCY( ){ - HX_STACK_PUSH("PathSegment::prevCY","format/svg/PathSegment.hx",29); - HX_STACK_THIS(this); - HX_STACK_LINE(29) - return this->y; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathSegment_obj,prevCY,return ) - -Float PathSegment_obj::prevCX( ){ - HX_STACK_PUSH("PathSegment::prevCX","format/svg/PathSegment.hx",28); - HX_STACK_THIS(this); - HX_STACK_LINE(28) - return this->x; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathSegment_obj,prevCX,return ) - -Float PathSegment_obj::prevY( ){ - HX_STACK_PUSH("PathSegment::prevY","format/svg/PathSegment.hx",27); - HX_STACK_THIS(this); - HX_STACK_LINE(27) - return this->y; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathSegment_obj,prevY,return ) - -Float PathSegment_obj::prevX( ){ - HX_STACK_PUSH("PathSegment::prevX","format/svg/PathSegment.hx",26); - HX_STACK_THIS(this); - HX_STACK_LINE(26) - return this->x; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathSegment_obj,prevX,return ) - -int PathSegment_obj::getType( ){ - HX_STACK_PUSH("PathSegment::getType","format/svg/PathSegment.hx",24); - HX_STACK_THIS(this); - HX_STACK_LINE(24) - return (int)0; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathSegment_obj,getType,return ) - -int PathSegment_obj::MOVE; - -int PathSegment_obj::DRAW; - -int PathSegment_obj::CURVE; - -int PathSegment_obj::CUBIC; - -int PathSegment_obj::ARC; - - -PathSegment_obj::PathSegment_obj() -{ -} - -void PathSegment_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(PathSegment); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_END_CLASS(); -} - -void PathSegment_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); -} - -Dynamic PathSegment_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 3: - if (HX_FIELD_EQ(inName,"ARC") ) { return ARC; } - break; - case 4: - if (HX_FIELD_EQ(inName,"MOVE") ) { return MOVE; } - if (HX_FIELD_EQ(inName,"DRAW") ) { return DRAW; } - break; - case 5: - if (HX_FIELD_EQ(inName,"CURVE") ) { return CURVE; } - if (HX_FIELD_EQ(inName,"CUBIC") ) { return CUBIC; } - if (HX_FIELD_EQ(inName,"toGfx") ) { return toGfx_dyn(); } - if (HX_FIELD_EQ(inName,"prevY") ) { return prevY_dyn(); } - if (HX_FIELD_EQ(inName,"prevX") ) { return prevX_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"prevCY") ) { return prevCY_dyn(); } - if (HX_FIELD_EQ(inName,"prevCX") ) { return prevCX_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic PathSegment_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"ARC") ) { ARC=inValue.Cast< int >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"MOVE") ) { MOVE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DRAW") ) { DRAW=inValue.Cast< int >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"CURVE") ) { CURVE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"CUBIC") ) { CUBIC=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void PathSegment_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("MOVE"), - HX_CSTRING("DRAW"), - HX_CSTRING("CURVE"), - HX_CSTRING("CUBIC"), - HX_CSTRING("ARC"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toGfx"), - HX_CSTRING("prevCY"), - HX_CSTRING("prevCX"), - HX_CSTRING("prevY"), - HX_CSTRING("prevX"), - HX_CSTRING("getType"), - HX_CSTRING("y"), - HX_CSTRING("x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PathSegment_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(PathSegment_obj::MOVE,"MOVE"); - HX_MARK_MEMBER_NAME(PathSegment_obj::DRAW,"DRAW"); - HX_MARK_MEMBER_NAME(PathSegment_obj::CURVE,"CURVE"); - HX_MARK_MEMBER_NAME(PathSegment_obj::CUBIC,"CUBIC"); - HX_MARK_MEMBER_NAME(PathSegment_obj::ARC,"ARC"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PathSegment_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(PathSegment_obj::MOVE,"MOVE"); - HX_VISIT_MEMBER_NAME(PathSegment_obj::DRAW,"DRAW"); - HX_VISIT_MEMBER_NAME(PathSegment_obj::CURVE,"CURVE"); - HX_VISIT_MEMBER_NAME(PathSegment_obj::CUBIC,"CUBIC"); - HX_VISIT_MEMBER_NAME(PathSegment_obj::ARC,"ARC"); -}; - -Class PathSegment_obj::__mClass; - -void PathSegment_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.PathSegment"), hx::TCanCast< PathSegment_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void PathSegment_obj::__boot() -{ - MOVE= (int)1; - DRAW= (int)2; - CURVE= (int)3; - CUBIC= (int)4; - ARC= (int)5; -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/QuadraticSegment.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/QuadraticSegment.cpp deleted file mode 100644 index ae5c7e6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/QuadraticSegment.cpp +++ /dev/null @@ -1,177 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_QuadraticSegment -#include -#endif -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -namespace format{ -namespace svg{ - -Void QuadraticSegment_obj::__construct(Float inCX,Float inCY,Float inX,Float inY) -{ -HX_STACK_PUSH("QuadraticSegment::new","format/svg/PathSegment.hx",66); -{ - HX_STACK_LINE(67) - super::__construct(inX,inY); - HX_STACK_LINE(68) - this->cx = inCX; - HX_STACK_LINE(69) - this->cy = inCY; -} -; - return null(); -} - -QuadraticSegment_obj::~QuadraticSegment_obj() { } - -Dynamic QuadraticSegment_obj::__CreateEmpty() { return new QuadraticSegment_obj; } -hx::ObjectPtr< QuadraticSegment_obj > QuadraticSegment_obj::__new(Float inCX,Float inCY,Float inX,Float inY) -{ hx::ObjectPtr< QuadraticSegment_obj > result = new QuadraticSegment_obj(); - result->__construct(inCX,inCY,inX,inY); - return result;} - -Dynamic QuadraticSegment_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< QuadraticSegment_obj > result = new QuadraticSegment_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -int QuadraticSegment_obj::getType( ){ - HX_STACK_PUSH("QuadraticSegment::getType","format/svg/PathSegment.hx",82); - HX_STACK_THIS(this); - HX_STACK_LINE(82) - return (int)3; -} - - -Void QuadraticSegment_obj::toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext){ -{ - HX_STACK_PUSH("QuadraticSegment::toGfx","format/svg/PathSegment.hx",76); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(ioContext,"ioContext"); - HX_STACK_LINE(77) - ioContext->setLast(this->x,this->y); - HX_STACK_LINE(78) - inGfx->curveTo(ioContext->transX(this->cx,this->cy),ioContext->transY(this->cx,this->cy),ioContext->lastX,ioContext->lastY); - } -return null(); -} - - -Float QuadraticSegment_obj::prevCY( ){ - HX_STACK_PUSH("QuadraticSegment::prevCY","format/svg/PathSegment.hx",73); - HX_STACK_THIS(this); - HX_STACK_LINE(73) - return this->cy; -} - - -Float QuadraticSegment_obj::prevCX( ){ - HX_STACK_PUSH("QuadraticSegment::prevCX","format/svg/PathSegment.hx",72); - HX_STACK_THIS(this); - HX_STACK_LINE(72) - return this->cx; -} - - - -QuadraticSegment_obj::QuadraticSegment_obj() -{ -} - -void QuadraticSegment_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(QuadraticSegment); - HX_MARK_MEMBER_NAME(cy,"cy"); - HX_MARK_MEMBER_NAME(cx,"cx"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void QuadraticSegment_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(cy,"cy"); - HX_VISIT_MEMBER_NAME(cx,"cx"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic QuadraticSegment_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"cy") ) { return cy; } - if (HX_FIELD_EQ(inName,"cx") ) { return cx; } - break; - case 5: - if (HX_FIELD_EQ(inName,"toGfx") ) { return toGfx_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"prevCY") ) { return prevCY_dyn(); } - if (HX_FIELD_EQ(inName,"prevCX") ) { return prevCX_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic QuadraticSegment_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"cy") ) { cy=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"cx") ) { cx=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void QuadraticSegment_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("cy")); - outFields->push(HX_CSTRING("cx")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - HX_CSTRING("toGfx"), - HX_CSTRING("prevCY"), - HX_CSTRING("prevCX"), - HX_CSTRING("cy"), - HX_CSTRING("cx"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(QuadraticSegment_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(QuadraticSegment_obj::__mClass,"__mClass"); -}; - -Class QuadraticSegment_obj::__mClass; - -void QuadraticSegment_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.QuadraticSegment"), hx::TCanCast< QuadraticSegment_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void QuadraticSegment_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/RenderContext.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/RenderContext.cpp deleted file mode 100644 index a4104ac..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/RenderContext.cpp +++ /dev/null @@ -1,246 +0,0 @@ -#include - -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -#ifndef INCLUDED_native_geom_Rectangle -#include -#endif -namespace format{ -namespace svg{ - -Void RenderContext_obj::__construct(::native::geom::Matrix inMatrix,::native::geom::Rectangle inRect,Dynamic inW,Dynamic inH) -{ -HX_STACK_PUSH("RenderContext::new","format/svg/RenderContext.hx",9); -{ - HX_STACK_LINE(10) - this->matrix = inMatrix; - HX_STACK_LINE(11) - this->rect = inRect; - HX_STACK_LINE(12) - this->rectW = ( (((inW != null()))) ? Dynamic(inW) : Dynamic(( (((inRect != null()))) ? Float(inRect->width) : Float((int)1) )) ); - HX_STACK_LINE(13) - this->rectH = ( (((inH != null()))) ? Dynamic(inH) : Dynamic(( (((inRect != null()))) ? Float(inRect->height) : Float((int)1) )) ); - HX_STACK_LINE(14) - this->firstX = (int)0; - HX_STACK_LINE(15) - this->firstY = (int)0; - HX_STACK_LINE(16) - this->lastX = (int)0; - HX_STACK_LINE(17) - this->lastY = (int)0; -} -; - return null(); -} - -RenderContext_obj::~RenderContext_obj() { } - -Dynamic RenderContext_obj::__CreateEmpty() { return new RenderContext_obj; } -hx::ObjectPtr< RenderContext_obj > RenderContext_obj::__new(::native::geom::Matrix inMatrix,::native::geom::Rectangle inRect,Dynamic inW,Dynamic inH) -{ hx::ObjectPtr< RenderContext_obj > result = new RenderContext_obj(); - result->__construct(inMatrix,inRect,inW,inH); - return result;} - -Dynamic RenderContext_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< RenderContext_obj > result = new RenderContext_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -Void RenderContext_obj::setLast( Float inX,Float inY){ -{ - HX_STACK_PUSH("RenderContext::setLast","format/svg/RenderContext.hx",44); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(45) - this->lastX = this->transX(inX,inY); - HX_STACK_LINE(46) - this->lastY = this->transY(inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(RenderContext_obj,setLast,(void)) - -Float RenderContext_obj::transY( Float inX,Float inY){ - HX_STACK_PUSH("RenderContext::transY","format/svg/RenderContext.hx",31); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(32) - if (((bool((this->rect != null())) && bool((inY > this->rect->y))))){ - HX_STACK_LINE(33) - if (((inY > this->rect->get_right()))){ - HX_STACK_LINE(35) - hx::AddEq(inY,(this->rectH - this->rect->height)); - } - else{ - HX_STACK_LINE(37) - inY = (this->rect->y + (Float((this->rectH * ((inY - this->rect->y)))) / Float(this->rect->height))); - } - } - HX_STACK_LINE(39) - return (((inX * this->matrix->b) + (inY * this->matrix->d)) + this->matrix->ty); -} - - -HX_DEFINE_DYNAMIC_FUNC2(RenderContext_obj,transY,return ) - -Float RenderContext_obj::transX( Float inX,Float inY){ - HX_STACK_PUSH("RenderContext::transX","format/svg/RenderContext.hx",20); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(21) - if (((bool((this->rect != null())) && bool((inX > this->rect->x))))){ - HX_STACK_LINE(22) - if (((inX > this->rect->get_right()))){ - HX_STACK_LINE(24) - hx::AddEq(inX,(this->rectW - this->rect->width)); - } - else{ - HX_STACK_LINE(26) - inX = (this->rect->x + (Float((this->rectW * ((inX - this->rect->x)))) / Float(this->rect->width))); - } - } - HX_STACK_LINE(28) - return (((inX * this->matrix->a) + (inY * this->matrix->c)) + this->matrix->tx); -} - - -HX_DEFINE_DYNAMIC_FUNC2(RenderContext_obj,transX,return ) - - -RenderContext_obj::RenderContext_obj() -{ -} - -void RenderContext_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(RenderContext); - HX_MARK_MEMBER_NAME(lastY,"lastY"); - HX_MARK_MEMBER_NAME(lastX,"lastX"); - HX_MARK_MEMBER_NAME(firstY,"firstY"); - HX_MARK_MEMBER_NAME(firstX,"firstX"); - HX_MARK_MEMBER_NAME(rectH,"rectH"); - HX_MARK_MEMBER_NAME(rectW,"rectW"); - HX_MARK_MEMBER_NAME(rect,"rect"); - HX_MARK_MEMBER_NAME(matrix,"matrix"); - HX_MARK_END_CLASS(); -} - -void RenderContext_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(lastY,"lastY"); - HX_VISIT_MEMBER_NAME(lastX,"lastX"); - HX_VISIT_MEMBER_NAME(firstY,"firstY"); - HX_VISIT_MEMBER_NAME(firstX,"firstX"); - HX_VISIT_MEMBER_NAME(rectH,"rectH"); - HX_VISIT_MEMBER_NAME(rectW,"rectW"); - HX_VISIT_MEMBER_NAME(rect,"rect"); - HX_VISIT_MEMBER_NAME(matrix,"matrix"); -} - -Dynamic RenderContext_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"rect") ) { return rect; } - break; - case 5: - if (HX_FIELD_EQ(inName,"lastY") ) { return lastY; } - if (HX_FIELD_EQ(inName,"lastX") ) { return lastX; } - if (HX_FIELD_EQ(inName,"rectH") ) { return rectH; } - if (HX_FIELD_EQ(inName,"rectW") ) { return rectW; } - break; - case 6: - if (HX_FIELD_EQ(inName,"firstY") ) { return firstY; } - if (HX_FIELD_EQ(inName,"firstX") ) { return firstX; } - if (HX_FIELD_EQ(inName,"matrix") ) { return matrix; } - if (HX_FIELD_EQ(inName,"transY") ) { return transY_dyn(); } - if (HX_FIELD_EQ(inName,"transX") ) { return transX_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"setLast") ) { return setLast_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic RenderContext_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"rect") ) { rect=inValue.Cast< ::native::geom::Rectangle >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"lastY") ) { lastY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"lastX") ) { lastX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"rectH") ) { rectH=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"rectW") ) { rectW=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"firstY") ) { firstY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"firstX") ) { firstX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"matrix") ) { matrix=inValue.Cast< ::native::geom::Matrix >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void RenderContext_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("lastY")); - outFields->push(HX_CSTRING("lastX")); - outFields->push(HX_CSTRING("firstY")); - outFields->push(HX_CSTRING("firstX")); - outFields->push(HX_CSTRING("rectH")); - outFields->push(HX_CSTRING("rectW")); - outFields->push(HX_CSTRING("rect")); - outFields->push(HX_CSTRING("matrix")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("lastY"), - HX_CSTRING("lastX"), - HX_CSTRING("firstY"), - HX_CSTRING("firstX"), - HX_CSTRING("rectH"), - HX_CSTRING("rectW"), - HX_CSTRING("rect"), - HX_CSTRING("matrix"), - HX_CSTRING("setLast"), - HX_CSTRING("transY"), - HX_CSTRING("transX"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(RenderContext_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(RenderContext_obj::__mClass,"__mClass"); -}; - -Class RenderContext_obj::__mClass; - -void RenderContext_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.RenderContext"), hx::TCanCast< RenderContext_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void RenderContext_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/SVGData.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/SVGData.cpp deleted file mode 100644 index 8f76953..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/SVGData.cpp +++ /dev/null @@ -1,1154 +0,0 @@ -#include - -#ifndef INCLUDED_EReg -#include -#endif -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_svg_DisplayElement -#include -#endif -#ifndef INCLUDED_format_svg_DrawSegment -#include -#endif -#ifndef INCLUDED_format_svg_FillType -#include -#endif -#ifndef INCLUDED_format_svg_Grad -#include -#endif -#ifndef INCLUDED_format_svg_Group -#include -#endif -#ifndef INCLUDED_format_svg_MoveSegment -#include -#endif -#ifndef INCLUDED_format_svg_Path -#include -#endif -#ifndef INCLUDED_format_svg_PathParser -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_QuadraticSegment -#include -#endif -#ifndef INCLUDED_format_svg_SVGData -#include -#endif -#ifndef INCLUDED_format_svg_Text -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_native_display_CapsStyle -#include -#endif -#ifndef INCLUDED_native_display_GradientType -#include -#endif -#ifndef INCLUDED_native_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_native_display_JointStyle -#include -#endif -#ifndef INCLUDED_native_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -namespace format{ -namespace svg{ - -Void SVGData_obj::__construct(::Xml inXML,hx::Null< bool > __o_inConvertCubics) -{ -HX_STACK_PUSH("SVGData::new","format/svg/SVGData.hx",42); -bool inConvertCubics = __o_inConvertCubics.Default(false); -{ - HX_STACK_LINE(44) - super::__construct(); - HX_STACK_LINE(46) - ::Xml svg = inXML->firstElement(); HX_STACK_VAR(svg,"svg"); - HX_STACK_LINE(48) - if (((bool((svg == null())) || bool((bool((svg->getNodeName() != HX_CSTRING("svg"))) && bool((svg->getNodeName() != HX_CSTRING("svg:svg")))))))){ - HX_STACK_LINE(49) - hx::Throw (((HX_CSTRING("Not an SVG file (") + (( (((svg == null()))) ? ::String(HX_CSTRING("null")) : ::String(svg->getNodeName()) ))) + HX_CSTRING(")"))); - } - HX_STACK_LINE(51) - this->mGrads = ::Hash_obj::__new(); - HX_STACK_LINE(52) - this->mPathParser = ::format::svg::PathParser_obj::__new(); - HX_STACK_LINE(53) - this->mConvertCubics = inConvertCubics; - HX_STACK_LINE(55) - this->width = this->getFloatStyle(HX_CSTRING("width"),svg,null(),0.0); - HX_STACK_LINE(56) - this->height = this->getFloatStyle(HX_CSTRING("height"),svg,null(),0.0); - HX_STACK_LINE(58) - if (((bool((this->width == (int)0)) && bool((this->height == (int)0))))){ - HX_STACK_LINE(59) - this->width = this->height = (int)400; - } - else{ - HX_STACK_LINE(60) - if (((this->width == (int)0))){ - HX_STACK_LINE(61) - this->width = this->height; - } - else{ - HX_STACK_LINE(62) - if (((this->height == (int)0))){ - HX_STACK_LINE(63) - this->height = this->width; - } - } - } - HX_STACK_LINE(65) - this->loadGroup(hx::ObjectPtr(this),svg,::native::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()),null()); -} -; - return null(); -} - -SVGData_obj::~SVGData_obj() { } - -Dynamic SVGData_obj::__CreateEmpty() { return new SVGData_obj; } -hx::ObjectPtr< SVGData_obj > SVGData_obj::__new(::Xml inXML,hx::Null< bool > __o_inConvertCubics) -{ hx::ObjectPtr< SVGData_obj > result = new SVGData_obj(); - result->__construct(inXML,__o_inConvertCubics); - return result;} - -Dynamic SVGData_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SVGData_obj > result = new SVGData_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::format::svg::Text SVGData_obj::loadText( ::Xml inText,::native::geom::Matrix matrix,::Hash inStyles){ - HX_STACK_PUSH("SVGData::loadText","format/svg/SVGData.hx",590); - HX_STACK_THIS(this); - HX_STACK_ARG(inText,"inText"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_LINE(592) - if ((inText->exists(HX_CSTRING("transform")))){ - HX_STACK_LINE(594) - matrix = matrix->clone(); - HX_STACK_LINE(595) - this->applyTransform(matrix,inText->get(HX_CSTRING("transform"))); - } - HX_STACK_LINE(599) - ::Hash styles = this->getStyles(inText,inStyles); HX_STACK_VAR(styles,"styles"); - HX_STACK_LINE(600) - ::format::svg::Text text = ::format::svg::Text_obj::__new(); HX_STACK_VAR(text,"text"); - HX_STACK_LINE(602) - text->matrix = matrix; - HX_STACK_LINE(603) - text->name = ( ((inText->exists(HX_CSTRING("id")))) ? ::String(inText->get(HX_CSTRING("id"))) : ::String(HX_CSTRING("")) ); - HX_STACK_LINE(604) - text->x = this->getFloat(inText,HX_CSTRING("x"),0.0); - HX_STACK_LINE(605) - text->y = this->getFloat(inText,HX_CSTRING("y"),0.0); - HX_STACK_LINE(606) - text->fill = this->getFillStyle(HX_CSTRING("fill"),inText,styles); - HX_STACK_LINE(607) - text->fill_alpha = this->getFloatStyle(HX_CSTRING("fill-opacity"),inText,styles,1.0); - HX_STACK_LINE(608) - text->stroke_alpha = this->getFloatStyle(HX_CSTRING("stroke-opacity"),inText,styles,1.0); - HX_STACK_LINE(609) - text->stroke_colour = this->getStrokeStyle(HX_CSTRING("stroke"),inText,styles,null()); - HX_STACK_LINE(610) - text->stroke_width = this->getFloatStyle(HX_CSTRING("stroke-width"),inText,styles,1.0); - HX_STACK_LINE(611) - text->font_family = this->getStyle(HX_CSTRING("font-family"),inText,styles,HX_CSTRING("")); - HX_STACK_LINE(612) - text->font_size = this->getFloatStyle(HX_CSTRING("font-size"),inText,styles,(int)12); - HX_STACK_LINE(613) - text->letter_spacing = this->getFloatStyle(HX_CSTRING("letter-spacing"),inText,styles,(int)0); - HX_STACK_LINE(614) - text->kerning = this->getFloatStyle(HX_CSTRING("kerning"),inText,styles,(int)0); - HX_STACK_LINE(616) - ::String string = HX_CSTRING(""); HX_STACK_VAR(string,"string"); - HX_STACK_LINE(618) - for(::cpp::FastIterator_obj< ::Xml > *__it = ::cpp::CreateFastIterator< ::Xml >(inText->elements()); __it->hasNext(); ){ - ::Xml el = __it->next(); - hx::AddEq(string,el->toString()); - } - HX_STACK_LINE(625) - text->text = string; - HX_STACK_LINE(626) - return text; -} - - -HX_DEFINE_DYNAMIC_FUNC3(SVGData_obj,loadText,return ) - -::format::svg::Path SVGData_obj::loadPath( ::Xml inPath,::native::geom::Matrix matrix,::Hash inStyles,bool inIsRect,bool inIsEllipse){ - HX_STACK_PUSH("SVGData::loadPath","format/svg/SVGData.hx",488); - HX_STACK_THIS(this); - HX_STACK_ARG(inPath,"inPath"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_ARG(inIsRect,"inIsRect"); - HX_STACK_ARG(inIsEllipse,"inIsEllipse"); - HX_STACK_LINE(490) - if ((inPath->exists(HX_CSTRING("transform")))){ - HX_STACK_LINE(492) - matrix = matrix->clone(); - HX_STACK_LINE(493) - this->applyTransform(matrix,inPath->get(HX_CSTRING("transform"))); - } - HX_STACK_LINE(497) - ::Hash styles = this->getStyles(inPath,inStyles); HX_STACK_VAR(styles,"styles"); - HX_STACK_LINE(498) - ::String name = ( ((inPath->exists(HX_CSTRING("id")))) ? ::String(inPath->get(HX_CSTRING("id"))) : ::String(HX_CSTRING("")) ); HX_STACK_VAR(name,"name"); - HX_STACK_LINE(499) - ::format::svg::Path path = ::format::svg::Path_obj::__new(); HX_STACK_VAR(path,"path"); - HX_STACK_LINE(501) - path->fill = this->getFillStyle(HX_CSTRING("fill"),inPath,styles); - HX_STACK_LINE(502) - path->fill_alpha = this->getFloatStyle(HX_CSTRING("fill-opacity"),inPath,styles,1.0); - HX_STACK_LINE(503) - path->stroke_alpha = this->getFloatStyle(HX_CSTRING("stroke-opacity"),inPath,styles,1.0); - HX_STACK_LINE(504) - path->stroke_colour = this->getStrokeStyle(HX_CSTRING("stroke"),inPath,styles,null()); - HX_STACK_LINE(505) - path->stroke_width = this->getFloatStyle(HX_CSTRING("stroke-width"),inPath,styles,1.0); - HX_STACK_LINE(506) - path->stroke_caps = ::native::display::CapsStyle_obj::ROUND_dyn(); - HX_STACK_LINE(507) - path->joint_style = ::native::display::JointStyle_obj::ROUND_dyn(); - HX_STACK_LINE(508) - path->miter_limit = this->getFloatStyle(HX_CSTRING("stroke-miterlimit"),inPath,styles,3.0); - HX_STACK_LINE(509) - path->segments = Array_obj< ::format::svg::PathSegment >::__new(); - HX_STACK_LINE(510) - path->matrix = matrix; - HX_STACK_LINE(511) - path->name = name; - HX_STACK_LINE(513) - if ((inIsRect)){ - HX_STACK_LINE(515) - Float x = ( ((inPath->exists(HX_CSTRING("x")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("x")))) : Float((int)0) ); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(516) - Float y = ( ((inPath->exists(HX_CSTRING("y")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("y")))) : Float((int)0) ); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(517) - Float w = ::Std_obj::parseFloat(inPath->get(HX_CSTRING("width"))); HX_STACK_VAR(w,"w"); - HX_STACK_LINE(518) - Float h = ::Std_obj::parseFloat(inPath->get(HX_CSTRING("height"))); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(519) - Float rx = ( ((inPath->exists(HX_CSTRING("rx")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("rx")))) : Float(0.0) ); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(520) - Float ry = ( ((inPath->exists(HX_CSTRING("ry")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("ry")))) : Float(0.0) ); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(522) - if (((bool((rx == (int)0)) || bool((ry == (int)0))))){ - HX_STACK_LINE(524) - path->segments->push(::format::svg::MoveSegment_obj::__new(x,y)); - HX_STACK_LINE(525) - path->segments->push(::format::svg::DrawSegment_obj::__new((x + w),y)); - HX_STACK_LINE(526) - path->segments->push(::format::svg::DrawSegment_obj::__new((x + w),(y + h))); - HX_STACK_LINE(527) - path->segments->push(::format::svg::DrawSegment_obj::__new(x,(y + h))); - HX_STACK_LINE(528) - path->segments->push(::format::svg::DrawSegment_obj::__new(x,y)); - } - else{ - HX_STACK_LINE(532) - path->segments->push(::format::svg::MoveSegment_obj::__new(x,(y + ry))); - HX_STACK_LINE(535) - path->segments->push(::format::svg::QuadraticSegment_obj::__new(x,y,(x + rx),y)); - HX_STACK_LINE(536) - path->segments->push(::format::svg::DrawSegment_obj::__new(((x + w) - rx),y)); - HX_STACK_LINE(539) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x + w),y,(x + w),(y + rx))); - HX_STACK_LINE(540) - path->segments->push(::format::svg::DrawSegment_obj::__new((x + w),((y + h) - ry))); - HX_STACK_LINE(543) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x + w),(y + h),((x + w) - rx),(y + h))); - HX_STACK_LINE(544) - path->segments->push(::format::svg::DrawSegment_obj::__new((x + rx),(y + h))); - HX_STACK_LINE(547) - path->segments->push(::format::svg::QuadraticSegment_obj::__new(x,(y + h),x,((y + h) - ry))); - HX_STACK_LINE(548) - path->segments->push(::format::svg::DrawSegment_obj::__new(x,(y + ry))); - } - } - else{ - HX_STACK_LINE(552) - if ((inIsEllipse)){ - HX_STACK_LINE(554) - Float x = ( ((inPath->exists(HX_CSTRING("cx")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("cx")))) : Float((int)0) ); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(555) - Float y = ( ((inPath->exists(HX_CSTRING("cy")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("cy")))) : Float((int)0) ); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(556) - Float w = ( ((inPath->exists(HX_CSTRING("rx")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("rx")))) : Float(0.0) ); HX_STACK_VAR(w,"w"); - HX_STACK_LINE(557) - Float w_ = (w * ::format::svg::SVGData_obj::SIN45); HX_STACK_VAR(w_,"w_"); - HX_STACK_LINE(558) - Float cw_ = (w * ::format::svg::SVGData_obj::TAN22); HX_STACK_VAR(cw_,"cw_"); - HX_STACK_LINE(559) - Float h = ( ((inPath->exists(HX_CSTRING("ry")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("ry")))) : Float(0.0) ); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(560) - Float h_ = (h * ::format::svg::SVGData_obj::SIN45); HX_STACK_VAR(h_,"h_"); - HX_STACK_LINE(561) - Float ch_ = (h * ::format::svg::SVGData_obj::TAN22); HX_STACK_VAR(ch_,"ch_"); - HX_STACK_LINE(563) - path->segments->push(::format::svg::MoveSegment_obj::__new((x + w),y)); - HX_STACK_LINE(564) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x + w),(y + ch_),(x + w_),(y + h_))); - HX_STACK_LINE(565) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x + cw_),(y + h),x,(y + h))); - HX_STACK_LINE(566) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x - cw_),(y + h),(x - w_),(y + h_))); - HX_STACK_LINE(567) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x - w),(y + ch_),(x - w),y)); - HX_STACK_LINE(568) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x - w),(y - ch_),(x - w_),(y - h_))); - HX_STACK_LINE(569) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x - cw_),(y - h),x,(y - h))); - HX_STACK_LINE(570) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x + cw_),(y - h),(x + w_),(y - h_))); - HX_STACK_LINE(571) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x + w),(y - ch_),(x + w),y)); - } - else{ - HX_STACK_LINE(575) - ::String d = ( ((inPath->exists(HX_CSTRING("points")))) ? ::String(((HX_CSTRING("M") + inPath->get(HX_CSTRING("points"))) + HX_CSTRING("z"))) : ::String(inPath->get(HX_CSTRING("d"))) ); HX_STACK_VAR(d,"d"); - HX_STACK_LINE(577) - { - HX_STACK_LINE(577) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::format::svg::PathSegment > _g1 = this->mPathParser->parse(d,this->mConvertCubics); HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(577) - while(((_g < _g1->length))){ - HX_STACK_LINE(577) - ::format::svg::PathSegment segment = _g1->__get(_g); HX_STACK_VAR(segment,"segment"); - HX_STACK_LINE(577) - ++(_g); - HX_STACK_LINE(579) - path->segments->push(segment); - } - } - } - } - HX_STACK_LINE(585) - return path; -} - - -HX_DEFINE_DYNAMIC_FUNC5(SVGData_obj,loadPath,return ) - -::format::svg::Group SVGData_obj::loadGroup( ::format::svg::Group g,::Xml inG,::native::geom::Matrix matrix,::Hash inStyles){ - HX_STACK_PUSH("SVGData::loadGroup","format/svg/SVGData.hx",416); - HX_STACK_THIS(this); - HX_STACK_ARG(g,"g"); - HX_STACK_ARG(inG,"inG"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_LINE(418) - if ((inG->exists(HX_CSTRING("transform")))){ - HX_STACK_LINE(420) - matrix = matrix->clone(); - HX_STACK_LINE(421) - this->applyTransform(matrix,inG->get(HX_CSTRING("transform"))); - } - HX_STACK_LINE(425) - if ((inG->exists(HX_CSTRING("inkscape:label")))){ - HX_STACK_LINE(425) - g->name = inG->get(HX_CSTRING("inkscape:label")); - } - else{ - HX_STACK_LINE(429) - if ((inG->exists(HX_CSTRING("id")))){ - HX_STACK_LINE(429) - g->name = inG->get(HX_CSTRING("id")); - } - } - HX_STACK_LINE(435) - ::Hash styles = this->getStyles(inG,inStyles); HX_STACK_VAR(styles,"styles"); - HX_STACK_LINE(437) - for(::cpp::FastIterator_obj< ::Xml > *__it = ::cpp::CreateFastIterator< ::Xml >(inG->elements()); __it->hasNext(); ){ - ::Xml el = __it->next(); - { - HX_STACK_LINE(439) - ::String name = el->getNodeName(); HX_STACK_VAR(name,"name"); - HX_STACK_LINE(441) - if (((name.substr((int)0,(int)4) == HX_CSTRING("svg:")))){ - HX_STACK_LINE(441) - name = name.substr((int)4,null()); - } - HX_STACK_LINE(447) - if (((name == HX_CSTRING("defs")))){ - HX_STACK_LINE(447) - this->loadDefs(el); - } - else{ - HX_STACK_LINE(451) - if (((name == HX_CSTRING("g")))){ - HX_STACK_LINE(451) - g->children->push(::format::svg::DisplayElement_obj::DisplayGroup(this->loadGroup(::format::svg::Group_obj::__new(),el,matrix,styles))); - } - else{ - HX_STACK_LINE(455) - if (((name == HX_CSTRING("path")))){ - HX_STACK_LINE(455) - g->children->push(::format::svg::DisplayElement_obj::DisplayPath(this->loadPath(el,matrix,styles,false,false))); - } - else{ - HX_STACK_LINE(459) - if (((name == HX_CSTRING("rect")))){ - HX_STACK_LINE(459) - g->children->push(::format::svg::DisplayElement_obj::DisplayPath(this->loadPath(el,matrix,styles,true,false))); - } - else{ - HX_STACK_LINE(463) - if (((name == HX_CSTRING("polygon")))){ - HX_STACK_LINE(463) - g->children->push(::format::svg::DisplayElement_obj::DisplayPath(this->loadPath(el,matrix,styles,false,false))); - } - else{ - HX_STACK_LINE(467) - if (((name == HX_CSTRING("ellipse")))){ - HX_STACK_LINE(467) - g->children->push(::format::svg::DisplayElement_obj::DisplayPath(this->loadPath(el,matrix,styles,false,true))); - } - else{ - HX_STACK_LINE(471) - if (((name == HX_CSTRING("text")))){ - HX_STACK_LINE(471) - g->children->push(::format::svg::DisplayElement_obj::DisplayText(this->loadText(el,matrix,styles))); - } - else{ - } - } - } - } - } - } - } - } -; - } - HX_STACK_LINE(483) - return g; -} - - -HX_DEFINE_DYNAMIC_FUNC4(SVGData_obj,loadGroup,return ) - -Void SVGData_obj::loadGradient( ::Xml inGrad,::native::display::GradientType inType,bool inCrossLink){ -{ - HX_STACK_PUSH("SVGData::loadGradient","format/svg/SVGData.hx",343); - HX_STACK_THIS(this); - HX_STACK_ARG(inGrad,"inGrad"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(inCrossLink,"inCrossLink"); - HX_STACK_LINE(345) - ::String name = inGrad->get(HX_CSTRING("id")); HX_STACK_VAR(name,"name"); - HX_STACK_LINE(346) - ::format::svg::Grad grad = ::format::svg::Grad_obj::__new(inType); HX_STACK_VAR(grad,"grad"); - HX_STACK_LINE(348) - if (((bool(inCrossLink) && bool(inGrad->exists(HX_CSTRING("xlink:href")))))){ - HX_STACK_LINE(350) - ::String xlink = inGrad->get(HX_CSTRING("xlink:href")); HX_STACK_VAR(xlink,"xlink"); - HX_STACK_LINE(352) - if (((xlink.charAt((int)0) != HX_CSTRING("#")))){ - HX_STACK_LINE(353) - hx::Throw ((HX_CSTRING("xlink - unkown syntax : ") + xlink)); - } - HX_STACK_LINE(355) - ::format::svg::Grad base = this->mGrads->get(xlink.substr((int)1,null())); HX_STACK_VAR(base,"base"); - HX_STACK_LINE(357) - if (((base != null()))){ - HX_STACK_LINE(359) - grad->colors = base->colors; - HX_STACK_LINE(360) - grad->alphas = base->alphas; - HX_STACK_LINE(361) - grad->ratios = base->ratios; - HX_STACK_LINE(362) - grad->gradMatrix = base->gradMatrix->clone(); - HX_STACK_LINE(363) - grad->spread = base->spread; - HX_STACK_LINE(364) - grad->interp = base->interp; - HX_STACK_LINE(365) - grad->radius = base->radius; - } - else{ - HX_STACK_LINE(367) - hx::Throw ((HX_CSTRING("Unknown xlink : ") + xlink)); - } - } - HX_STACK_LINE(375) - if ((inGrad->exists(HX_CSTRING("x1")))){ - HX_STACK_LINE(377) - grad->x1 = this->getFloat(inGrad,HX_CSTRING("x1"),null()); - HX_STACK_LINE(378) - grad->y1 = this->getFloat(inGrad,HX_CSTRING("y1"),null()); - HX_STACK_LINE(379) - grad->x2 = this->getFloat(inGrad,HX_CSTRING("x2"),null()); - HX_STACK_LINE(380) - grad->y2 = this->getFloat(inGrad,HX_CSTRING("y2"),null()); - } - else{ - HX_STACK_LINE(384) - grad->x1 = this->getFloat(inGrad,HX_CSTRING("cx"),null()); - HX_STACK_LINE(385) - grad->y1 = this->getFloat(inGrad,HX_CSTRING("cy"),null()); - HX_STACK_LINE(386) - grad->x2 = this->getFloat(inGrad,HX_CSTRING("fx"),grad->x1); - HX_STACK_LINE(387) - grad->y2 = this->getFloat(inGrad,HX_CSTRING("fy"),grad->y1); - } - HX_STACK_LINE(391) - grad->radius = this->getFloat(inGrad,HX_CSTRING("r"),null()); - HX_STACK_LINE(393) - if ((inGrad->exists(HX_CSTRING("gradientTransform")))){ - HX_STACK_LINE(393) - this->applyTransform(grad->gradMatrix,inGrad->get(HX_CSTRING("gradientTransform"))); - } - HX_STACK_LINE(401) - for(::cpp::FastIterator_obj< ::Xml > *__it = ::cpp::CreateFastIterator< ::Xml >(inGrad->elements()); __it->hasNext(); ){ - ::Xml stop = __it->next(); - { - HX_STACK_LINE(403) - ::Hash styles = this->getStyles(stop,null()); HX_STACK_VAR(styles,"styles"); - HX_STACK_LINE(405) - grad->colors->push(this->getColorStyle(HX_CSTRING("stop-color"),stop,styles,(int)0)); - HX_STACK_LINE(406) - grad->alphas->push(this->getFloatStyle(HX_CSTRING("stop-opacity"),stop,styles,1.0)); - HX_STACK_LINE(407) - grad->ratios->push(::Std_obj::_int((::Std_obj::parseFloat(stop->get(HX_CSTRING("offset"))) * 255.0))); - } -; - } - HX_STACK_LINE(411) - this->mGrads->set(name,grad); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(SVGData_obj,loadGradient,(void)) - -Void SVGData_obj::loadDefs( ::Xml inXML){ -{ - HX_STACK_PUSH("SVGData::loadDefs","format/svg/SVGData.hx",310); - HX_STACK_THIS(this); - HX_STACK_ARG(inXML,"inXML"); - HX_STACK_LINE(314) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(314) - while(((_g < (int)2))){ - HX_STACK_LINE(314) - int pass = (_g)++; HX_STACK_VAR(pass,"pass"); - HX_STACK_LINE(316) - for(::cpp::FastIterator_obj< ::Xml > *__it = ::cpp::CreateFastIterator< ::Xml >(inXML->elements()); __it->hasNext(); ){ - ::Xml def = __it->next(); - { - HX_STACK_LINE(318) - ::String name = def->getNodeName(); HX_STACK_VAR(name,"name"); - HX_STACK_LINE(320) - if (((name.substr((int)0,(int)4) == HX_CSTRING("svg:")))){ - HX_STACK_LINE(320) - name = name.substr((int)4,null()); - } - HX_STACK_LINE(326) - if (((name == HX_CSTRING("linearGradient")))){ - HX_STACK_LINE(326) - this->loadGradient(def,::native::display::GradientType_obj::LINEAR_dyn(),(pass == (int)1)); - } - else{ - HX_STACK_LINE(330) - if (((name == HX_CSTRING("radialGradient")))){ - HX_STACK_LINE(330) - this->loadGradient(def,::native::display::GradientType_obj::RADIAL_dyn(),(pass == (int)1)); - } - } - } -; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGData_obj,loadDefs,(void)) - -::Hash SVGData_obj::getStyles( ::Xml inNode,::Hash inPrevStyles){ - HX_STACK_PUSH("SVGData::getStyles","format/svg/SVGData.hx",275); - HX_STACK_THIS(this); - HX_STACK_ARG(inNode,"inNode"); - HX_STACK_ARG(inPrevStyles,"inPrevStyles"); - HX_STACK_LINE(277) - if ((!(inNode->exists(HX_CSTRING("style"))))){ - HX_STACK_LINE(278) - return inPrevStyles; - } - HX_STACK_LINE(280) - ::Hash styles = ::Hash_obj::__new(); HX_STACK_VAR(styles,"styles"); - HX_STACK_LINE(282) - if (((inPrevStyles != null()))){ - HX_STACK_LINE(282) - for(::cpp::FastIterator_obj< ::String > *__it = ::cpp::CreateFastIterator< ::String >(inPrevStyles->keys()); __it->hasNext(); ){ - ::String s = __it->next(); - styles->set(s,inPrevStyles->get(s)); - } - } - HX_STACK_LINE(292) - ::String style = inNode->get(HX_CSTRING("style")); HX_STACK_VAR(style,"style"); - HX_STACK_LINE(293) - Array< ::String > strings = ::format::svg::SVGData_obj::mStyleSplit->split(style); HX_STACK_VAR(strings,"strings"); - HX_STACK_LINE(295) - { - HX_STACK_LINE(295) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(295) - while(((_g < strings->length))){ - HX_STACK_LINE(295) - ::String s = strings->__get(_g); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(295) - ++(_g); - HX_STACK_LINE(297) - if ((::format::svg::SVGData_obj::mStyleValue->match(s))){ - HX_STACK_LINE(297) - styles->set(::format::svg::SVGData_obj::mStyleValue->matched((int)1),::format::svg::SVGData_obj::mStyleValue->matched((int)2)); - } - } - } - HX_STACK_LINE(305) - return styles; -} - - -HX_DEFINE_DYNAMIC_FUNC2(SVGData_obj,getStyles,return ) - -::String SVGData_obj::getStyle( ::String inKey,::Xml inNode,::Hash inStyles,::String inDefault){ - HX_STACK_PUSH("SVGData::getStyle","format/svg/SVGData.hx",256); - HX_STACK_THIS(this); - HX_STACK_ARG(inKey,"inKey"); - HX_STACK_ARG(inNode,"inNode"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_ARG(inDefault,"inDefault"); - HX_STACK_LINE(258) - if (((bool((inNode != null())) && bool(inNode->exists(inKey))))){ - HX_STACK_LINE(258) - return inNode->get(inKey); - } - HX_STACK_LINE(264) - if (((bool((inStyles != null())) && bool(inStyles->exists(inKey))))){ - HX_STACK_LINE(264) - return inStyles->get(inKey); - } - HX_STACK_LINE(270) - return inDefault; -} - - -HX_DEFINE_DYNAMIC_FUNC4(SVGData_obj,getStyle,return ) - -Dynamic SVGData_obj::getStrokeStyle( ::String inKey,::Xml inNode,::Hash inStyles,Dynamic inDefault){ - HX_STACK_PUSH("SVGData::getStrokeStyle","format/svg/SVGData.hx",229); - HX_STACK_THIS(this); - HX_STACK_ARG(inKey,"inKey"); - HX_STACK_ARG(inNode,"inNode"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_ARG(inDefault,"inDefault"); - HX_STACK_LINE(231) - ::String s = this->getStyle(inKey,inNode,inStyles,HX_CSTRING("")); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(233) - if (((s == HX_CSTRING("")))){ - HX_STACK_LINE(233) - return inDefault; - } - HX_STACK_LINE(239) - if (((s == HX_CSTRING("none")))){ - HX_STACK_LINE(239) - return null(); - } - HX_STACK_LINE(245) - if (((s.charAt((int)0) == HX_CSTRING("#")))){ - HX_STACK_LINE(245) - return ::Std_obj::parseInt((HX_CSTRING("0x") + s.substr((int)1,null()))); - } - HX_STACK_LINE(251) - return ::Std_obj::parseInt(s); -} - - -HX_DEFINE_DYNAMIC_FUNC4(SVGData_obj,getStrokeStyle,return ) - -Float SVGData_obj::getFloatStyle( ::String inKey,::Xml inNode,::Hash inStyles,Float inDefault){ - HX_STACK_PUSH("SVGData::getFloatStyle","format/svg/SVGData.hx",214); - HX_STACK_THIS(this); - HX_STACK_ARG(inKey,"inKey"); - HX_STACK_ARG(inNode,"inNode"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_ARG(inDefault,"inDefault"); - HX_STACK_LINE(216) - ::String s = this->getStyle(inKey,inNode,inStyles,HX_CSTRING("")); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(218) - if (((s == HX_CSTRING("")))){ - HX_STACK_LINE(218) - return inDefault; - } - HX_STACK_LINE(224) - return ::Std_obj::parseFloat(s); -} - - -HX_DEFINE_DYNAMIC_FUNC4(SVGData_obj,getFloatStyle,return ) - -Float SVGData_obj::getFloat( ::Xml inXML,::String inName,hx::Null< Float > __o_inDef){ -Float inDef = __o_inDef.Default(0.0); - HX_STACK_PUSH("SVGData::getFloat","format/svg/SVGData.hx",204); - HX_STACK_THIS(this); - HX_STACK_ARG(inXML,"inXML"); - HX_STACK_ARG(inName,"inName"); - HX_STACK_ARG(inDef,"inDef"); -{ - HX_STACK_LINE(206) - if ((inXML->exists(inName))){ - HX_STACK_LINE(207) - return ::Std_obj::parseFloat(inXML->get(inName)); - } - HX_STACK_LINE(209) - return inDef; - } -} - - -HX_DEFINE_DYNAMIC_FUNC3(SVGData_obj,getFloat,return ) - -::format::svg::FillType SVGData_obj::getFillStyle( ::String inKey,::Xml inNode,::Hash inStyles){ - HX_STACK_PUSH("SVGData::getFillStyle","format/svg/SVGData.hx",161); - HX_STACK_THIS(this); - HX_STACK_ARG(inKey,"inKey"); - HX_STACK_ARG(inNode,"inNode"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_LINE(163) - ::String s = this->getStyle(inKey,inNode,inStyles,HX_CSTRING("")); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(165) - if (((s == HX_CSTRING("")))){ - HX_STACK_LINE(165) - return ::format::svg::SVGData_obj::defaultFill; - } - HX_STACK_LINE(171) - if (((s.charAt((int)0) == HX_CSTRING("#")))){ - HX_STACK_LINE(171) - return ::format::svg::FillType_obj::FillSolid(::Std_obj::parseInt((HX_CSTRING("0x") + s.substr((int)1,null())))); - } - HX_STACK_LINE(177) - if (((s == HX_CSTRING("none")))){ - HX_STACK_LINE(177) - return ::format::svg::FillType_obj::FillNone_dyn(); - } - HX_STACK_LINE(183) - if ((::format::svg::SVGData_obj::mURLMatch->match(s))){ - HX_STACK_LINE(185) - ::String url = ::format::svg::SVGData_obj::mURLMatch->matched((int)1); HX_STACK_VAR(url,"url"); - HX_STACK_LINE(187) - if ((this->mGrads->exists(url))){ - HX_STACK_LINE(187) - return ::format::svg::FillType_obj::FillGrad(this->mGrads->get(url)); - } - HX_STACK_LINE(193) - hx::Throw ((HX_CSTRING("Unknown url:") + url)); - } - HX_STACK_LINE(197) - hx::Throw ((HX_CSTRING("Unknown fill string:") + s)); - HX_STACK_LINE(199) - return ::format::svg::FillType_obj::FillNone_dyn(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(SVGData_obj,getFillStyle,return ) - -int SVGData_obj::getColorStyle( ::String inKey,::Xml inNode,::Hash inStyles,int inDefault){ - HX_STACK_PUSH("SVGData::getColorStyle","format/svg/SVGData.hx",140); - HX_STACK_THIS(this); - HX_STACK_ARG(inKey,"inKey"); - HX_STACK_ARG(inNode,"inNode"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_ARG(inDefault,"inDefault"); - HX_STACK_LINE(142) - ::String s = this->getStyle(inKey,inNode,inStyles,HX_CSTRING("")); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(144) - if (((s == HX_CSTRING("")))){ - HX_STACK_LINE(144) - return inDefault; - } - HX_STACK_LINE(150) - if (((s.charAt((int)0) == HX_CSTRING("#")))){ - HX_STACK_LINE(150) - return ::Std_obj::parseInt((HX_CSTRING("0x") + s.substr((int)1,null()))); - } - HX_STACK_LINE(156) - return ::Std_obj::parseInt(s); -} - - -HX_DEFINE_DYNAMIC_FUNC4(SVGData_obj,getColorStyle,return ) - -Void SVGData_obj::dumpGroup( ::format::svg::Group g,::String indent){ -{ - HX_STACK_PUSH("SVGData::dumpGroup","format/svg/SVGData.hx",120); - HX_STACK_THIS(this); - HX_STACK_ARG(g,"g"); - HX_STACK_ARG(indent,"indent"); - HX_STACK_LINE(122) - ::haxe::Log_obj::trace(((indent + HX_CSTRING("Group:")) + g->name),hx::SourceInfo(HX_CSTRING("SVGData.hx"),122,HX_CSTRING("format.svg.SVGData"),HX_CSTRING("dumpGroup"))); - HX_STACK_LINE(123) - hx::AddEq(indent,HX_CSTRING(" ")); - HX_STACK_LINE(125) - { - HX_STACK_LINE(125) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::format::svg::DisplayElement > _g1 = g->children; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(125) - while(((_g < _g1->length))){ - HX_STACK_LINE(125) - ::format::svg::DisplayElement e = _g1->__get(_g); HX_STACK_VAR(e,"e"); - HX_STACK_LINE(125) - ++(_g); - HX_STACK_LINE(127) - { - ::format::svg::DisplayElement _switch_1 = (e); - switch((_switch_1)->GetIndex()){ - case 0: { - ::format::svg::Path path = _switch_1->__Param(0); -{ - HX_STACK_LINE(129) - ::haxe::Log_obj::trace((((indent + HX_CSTRING("Path")) + HX_CSTRING(" ")) + ::Std_obj::string(path->matrix)),hx::SourceInfo(HX_CSTRING("SVGData.hx"),129,HX_CSTRING("format.svg.SVGData"),HX_CSTRING("dumpGroup"))); - } - } - ;break; - case 1: { - ::format::svg::Group group = _switch_1->__Param(0); -{ - HX_STACK_LINE(130) - this->dumpGroup(group,(indent + HX_CSTRING(" "))); - } - } - ;break; - case 2: { - ::format::svg::Text text = _switch_1->__Param(0); -{ - HX_STACK_LINE(131) - ::haxe::Log_obj::trace(((indent + HX_CSTRING("Text ")) + text->text),hx::SourceInfo(HX_CSTRING("SVGData.hx"),131,HX_CSTRING("format.svg.SVGData"),HX_CSTRING("dumpGroup"))); - } - } - ;break; - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(SVGData_obj,dumpGroup,(void)) - -Float SVGData_obj::applyTransform( ::native::geom::Matrix ioMatrix,::String inTrans){ - HX_STACK_PUSH("SVGData::applyTransform","format/svg/SVGData.hx",70); - HX_STACK_THIS(this); - HX_STACK_ARG(ioMatrix,"ioMatrix"); - HX_STACK_ARG(inTrans,"inTrans"); - HX_STACK_LINE(72) - Float scale = 1.0; HX_STACK_VAR(scale,"scale"); - HX_STACK_LINE(74) - if ((::format::svg::SVGData_obj::mTranslateMatch->match(inTrans))){ - HX_STACK_LINE(75) - ioMatrix->translate(::Std_obj::parseFloat(::format::svg::SVGData_obj::mTranslateMatch->matched((int)1)),::Std_obj::parseFloat(::format::svg::SVGData_obj::mTranslateMatch->matched((int)2))); - } - else{ - HX_STACK_LINE(80) - if ((::format::svg::SVGData_obj::mScaleMatch->match(inTrans))){ - HX_STACK_LINE(83) - Float s = ::Std_obj::parseFloat(::format::svg::SVGData_obj::mScaleMatch->matched((int)1)); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(84) - ioMatrix->scale(s,s); - HX_STACK_LINE(85) - scale = s; - } - else{ - HX_STACK_LINE(87) - if ((::format::svg::SVGData_obj::mMatrixMatch->match(inTrans))){ - HX_STACK_LINE(89) - ::native::geom::Matrix m = ::native::geom::Matrix_obj::__new(::Std_obj::parseFloat(::format::svg::SVGData_obj::mMatrixMatch->matched((int)1)),::Std_obj::parseFloat(::format::svg::SVGData_obj::mMatrixMatch->matched((int)2)),::Std_obj::parseFloat(::format::svg::SVGData_obj::mMatrixMatch->matched((int)3)),::Std_obj::parseFloat(::format::svg::SVGData_obj::mMatrixMatch->matched((int)4)),::Std_obj::parseFloat(::format::svg::SVGData_obj::mMatrixMatch->matched((int)5)),::Std_obj::parseFloat(::format::svg::SVGData_obj::mMatrixMatch->matched((int)6))); HX_STACK_VAR(m,"m"); - HX_STACK_LINE(98) - m->concat(ioMatrix); - HX_STACK_LINE(100) - ioMatrix->a = m->a; - HX_STACK_LINE(101) - ioMatrix->b = m->b; - HX_STACK_LINE(102) - ioMatrix->c = m->c; - HX_STACK_LINE(103) - ioMatrix->d = m->d; - HX_STACK_LINE(104) - ioMatrix->tx = m->tx; - HX_STACK_LINE(105) - ioMatrix->ty = m->ty; - HX_STACK_LINE(107) - scale = ::Math_obj::sqrt(((ioMatrix->a * ioMatrix->a) + (ioMatrix->c * ioMatrix->c))); - } - else{ - HX_STACK_LINE(109) - ::haxe::Log_obj::trace((HX_CSTRING("Warning, unknown transform:") + inTrans),hx::SourceInfo(HX_CSTRING("SVGData.hx"),111,HX_CSTRING("format.svg.SVGData"),HX_CSTRING("applyTransform"))); - } - } - } - HX_STACK_LINE(115) - return scale; -} - - -HX_DEFINE_DYNAMIC_FUNC2(SVGData_obj,applyTransform,return ) - -Float SVGData_obj::SIN45; - -Float SVGData_obj::TAN22; - -::EReg SVGData_obj::mStyleSplit; - -::EReg SVGData_obj::mStyleValue; - -::EReg SVGData_obj::mTranslateMatch; - -::EReg SVGData_obj::mScaleMatch; - -::EReg SVGData_obj::mMatrixMatch; - -::EReg SVGData_obj::mURLMatch; - -::format::svg::FillType SVGData_obj::defaultFill; - - -SVGData_obj::SVGData_obj() -{ -} - -void SVGData_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SVGData); - HX_MARK_MEMBER_NAME(mPathParser,"mPathParser"); - HX_MARK_MEMBER_NAME(mGrads,"mGrads"); - HX_MARK_MEMBER_NAME(mConvertCubics,"mConvertCubics"); - HX_MARK_MEMBER_NAME(width,"width"); - HX_MARK_MEMBER_NAME(height,"height"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void SVGData_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mPathParser,"mPathParser"); - HX_VISIT_MEMBER_NAME(mGrads,"mGrads"); - HX_VISIT_MEMBER_NAME(mConvertCubics,"mConvertCubics"); - HX_VISIT_MEMBER_NAME(width,"width"); - HX_VISIT_MEMBER_NAME(height,"height"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic SVGData_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"SIN45") ) { return SIN45; } - if (HX_FIELD_EQ(inName,"TAN22") ) { return TAN22; } - if (HX_FIELD_EQ(inName,"width") ) { return width; } - break; - case 6: - if (HX_FIELD_EQ(inName,"mGrads") ) { return mGrads; } - if (HX_FIELD_EQ(inName,"height") ) { return height; } - break; - case 8: - if (HX_FIELD_EQ(inName,"loadText") ) { return loadText_dyn(); } - if (HX_FIELD_EQ(inName,"loadPath") ) { return loadPath_dyn(); } - if (HX_FIELD_EQ(inName,"loadDefs") ) { return loadDefs_dyn(); } - if (HX_FIELD_EQ(inName,"getStyle") ) { return getStyle_dyn(); } - if (HX_FIELD_EQ(inName,"getFloat") ) { return getFloat_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"mURLMatch") ) { return mURLMatch; } - if (HX_FIELD_EQ(inName,"loadGroup") ) { return loadGroup_dyn(); } - if (HX_FIELD_EQ(inName,"getStyles") ) { return getStyles_dyn(); } - if (HX_FIELD_EQ(inName,"dumpGroup") ) { return dumpGroup_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"mStyleSplit") ) { return mStyleSplit; } - if (HX_FIELD_EQ(inName,"mStyleValue") ) { return mStyleValue; } - if (HX_FIELD_EQ(inName,"mScaleMatch") ) { return mScaleMatch; } - if (HX_FIELD_EQ(inName,"defaultFill") ) { return defaultFill; } - if (HX_FIELD_EQ(inName,"mPathParser") ) { return mPathParser; } - break; - case 12: - if (HX_FIELD_EQ(inName,"mMatrixMatch") ) { return mMatrixMatch; } - if (HX_FIELD_EQ(inName,"loadGradient") ) { return loadGradient_dyn(); } - if (HX_FIELD_EQ(inName,"getFillStyle") ) { return getFillStyle_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"getFloatStyle") ) { return getFloatStyle_dyn(); } - if (HX_FIELD_EQ(inName,"getColorStyle") ) { return getColorStyle_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"getStrokeStyle") ) { return getStrokeStyle_dyn(); } - if (HX_FIELD_EQ(inName,"applyTransform") ) { return applyTransform_dyn(); } - if (HX_FIELD_EQ(inName,"mConvertCubics") ) { return mConvertCubics; } - break; - case 15: - if (HX_FIELD_EQ(inName,"mTranslateMatch") ) { return mTranslateMatch; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SVGData_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"SIN45") ) { SIN45=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"TAN22") ) { TAN22=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"width") ) { width=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"mGrads") ) { mGrads=inValue.Cast< ::Hash >(); return inValue; } - if (HX_FIELD_EQ(inName,"height") ) { height=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"mURLMatch") ) { mURLMatch=inValue.Cast< ::EReg >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"mStyleSplit") ) { mStyleSplit=inValue.Cast< ::EReg >(); return inValue; } - if (HX_FIELD_EQ(inName,"mStyleValue") ) { mStyleValue=inValue.Cast< ::EReg >(); return inValue; } - if (HX_FIELD_EQ(inName,"mScaleMatch") ) { mScaleMatch=inValue.Cast< ::EReg >(); return inValue; } - if (HX_FIELD_EQ(inName,"defaultFill") ) { defaultFill=inValue.Cast< ::format::svg::FillType >(); return inValue; } - if (HX_FIELD_EQ(inName,"mPathParser") ) { mPathParser=inValue.Cast< ::format::svg::PathParser >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"mMatrixMatch") ) { mMatrixMatch=inValue.Cast< ::EReg >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"mConvertCubics") ) { mConvertCubics=inValue.Cast< bool >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"mTranslateMatch") ) { mTranslateMatch=inValue.Cast< ::EReg >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SVGData_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mPathParser")); - outFields->push(HX_CSTRING("mGrads")); - outFields->push(HX_CSTRING("mConvertCubics")); - outFields->push(HX_CSTRING("width")); - outFields->push(HX_CSTRING("height")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("SIN45"), - HX_CSTRING("TAN22"), - HX_CSTRING("mStyleSplit"), - HX_CSTRING("mStyleValue"), - HX_CSTRING("mTranslateMatch"), - HX_CSTRING("mScaleMatch"), - HX_CSTRING("mMatrixMatch"), - HX_CSTRING("mURLMatch"), - HX_CSTRING("defaultFill"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("loadText"), - HX_CSTRING("loadPath"), - HX_CSTRING("loadGroup"), - HX_CSTRING("loadGradient"), - HX_CSTRING("loadDefs"), - HX_CSTRING("getStyles"), - HX_CSTRING("getStyle"), - HX_CSTRING("getStrokeStyle"), - HX_CSTRING("getFloatStyle"), - HX_CSTRING("getFloat"), - HX_CSTRING("getFillStyle"), - HX_CSTRING("getColorStyle"), - HX_CSTRING("dumpGroup"), - HX_CSTRING("applyTransform"), - HX_CSTRING("mPathParser"), - HX_CSTRING("mGrads"), - HX_CSTRING("mConvertCubics"), - HX_CSTRING("width"), - HX_CSTRING("height"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SVGData_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(SVGData_obj::SIN45,"SIN45"); - HX_MARK_MEMBER_NAME(SVGData_obj::TAN22,"TAN22"); - HX_MARK_MEMBER_NAME(SVGData_obj::mStyleSplit,"mStyleSplit"); - HX_MARK_MEMBER_NAME(SVGData_obj::mStyleValue,"mStyleValue"); - HX_MARK_MEMBER_NAME(SVGData_obj::mTranslateMatch,"mTranslateMatch"); - HX_MARK_MEMBER_NAME(SVGData_obj::mScaleMatch,"mScaleMatch"); - HX_MARK_MEMBER_NAME(SVGData_obj::mMatrixMatch,"mMatrixMatch"); - HX_MARK_MEMBER_NAME(SVGData_obj::mURLMatch,"mURLMatch"); - HX_MARK_MEMBER_NAME(SVGData_obj::defaultFill,"defaultFill"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SVGData_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(SVGData_obj::SIN45,"SIN45"); - HX_VISIT_MEMBER_NAME(SVGData_obj::TAN22,"TAN22"); - HX_VISIT_MEMBER_NAME(SVGData_obj::mStyleSplit,"mStyleSplit"); - HX_VISIT_MEMBER_NAME(SVGData_obj::mStyleValue,"mStyleValue"); - HX_VISIT_MEMBER_NAME(SVGData_obj::mTranslateMatch,"mTranslateMatch"); - HX_VISIT_MEMBER_NAME(SVGData_obj::mScaleMatch,"mScaleMatch"); - HX_VISIT_MEMBER_NAME(SVGData_obj::mMatrixMatch,"mMatrixMatch"); - HX_VISIT_MEMBER_NAME(SVGData_obj::mURLMatch,"mURLMatch"); - HX_VISIT_MEMBER_NAME(SVGData_obj::defaultFill,"defaultFill"); -}; - -Class SVGData_obj::__mClass; - -void SVGData_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.SVGData"), hx::TCanCast< SVGData_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SVGData_obj::__boot() -{ - SIN45= 0.70710678118654752440084436210485; - TAN22= 0.4142135623730950488016887242097; - mStyleSplit= ::EReg_obj::__new(HX_CSTRING(";"),HX_CSTRING("g")); - mStyleValue= ::EReg_obj::__new(HX_CSTRING("\\s*(.*)\\s*:\\s*(.*)\\s*"),HX_CSTRING("")); - mTranslateMatch= ::EReg_obj::__new(HX_CSTRING("translate\\((.*),(.*)\\)"),HX_CSTRING("")); - mScaleMatch= ::EReg_obj::__new(HX_CSTRING("scale\\((.*)\\)"),HX_CSTRING("")); - mMatrixMatch= ::EReg_obj::__new(HX_CSTRING("matrix\\((.*),(.*),(.*),(.*),(.*),(.*)\\)"),HX_CSTRING("")); - mURLMatch= ::EReg_obj::__new(HX_CSTRING("url\\(#(.*)\\)"),HX_CSTRING("")); - defaultFill= ::format::svg::FillType_obj::FillSolid((int)0); -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/SVGRenderer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/SVGRenderer.cpp deleted file mode 100644 index 382a49c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/SVGRenderer.cpp +++ /dev/null @@ -1,939 +0,0 @@ -#include - -#ifndef INCLUDED_EReg -#include -#endif -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_Gfx2Haxe -#include -#endif -#ifndef INCLUDED_format_gfx_GfxBytes -#include -#endif -#ifndef INCLUDED_format_gfx_GfxExtent -#include -#endif -#ifndef INCLUDED_format_gfx_GfxGraphics -#include -#endif -#ifndef INCLUDED_format_gfx_GfxTextFinder -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_gfx_LineStyle -#include -#endif -#ifndef INCLUDED_format_svg_DisplayElement -#include -#endif -#ifndef INCLUDED_format_svg_FillType -#include -#endif -#ifndef INCLUDED_format_svg_Grad -#include -#endif -#ifndef INCLUDED_format_svg_Group -#include -#endif -#ifndef INCLUDED_format_svg_Path -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -#ifndef INCLUDED_format_svg_SVGData -#include -#endif -#ifndef INCLUDED_format_svg_SVGRenderer -#include -#endif -#ifndef INCLUDED_format_svg_Text -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_display_BitmapData -#include -#endif -#ifndef INCLUDED_native_display_BlendMode -#include -#endif -#ifndef INCLUDED_native_display_CapsStyle -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_Graphics -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_JointStyle -#include -#endif -#ifndef INCLUDED_native_display_Shape -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -#ifndef INCLUDED_native_geom_Rectangle -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace format{ -namespace svg{ - -Void SVGRenderer_obj::__construct(::format::svg::SVGData inSvg,::String inLayer) -{ -HX_STACK_PUSH("SVGRenderer::new","format/svg/SVGRenderer.hx",46); -{ - HX_STACK_LINE(47) - this->mSvg = inSvg; - HX_STACK_LINE(49) - this->width = this->mSvg->width; - HX_STACK_LINE(50) - this->height = this->mSvg->height; - HX_STACK_LINE(51) - this->mRoot = this->mSvg; - HX_STACK_LINE(52) - if (((inLayer != null()))){ - HX_STACK_LINE(54) - this->mRoot = this->mSvg->findGroup(inLayer); - HX_STACK_LINE(55) - if (((this->mRoot == null()))){ - HX_STACK_LINE(56) - hx::Throw ((HX_CSTRING("Could not find SVG group: ") + inLayer)); - } - } -} -; - return null(); -} - -SVGRenderer_obj::~SVGRenderer_obj() { } - -Dynamic SVGRenderer_obj::__CreateEmpty() { return new SVGRenderer_obj; } -hx::ObjectPtr< SVGRenderer_obj > SVGRenderer_obj::__new(::format::svg::SVGData inSvg,::String inLayer) -{ hx::ObjectPtr< SVGRenderer_obj > result = new SVGRenderer_obj(); - result->__construct(inSvg,inLayer); - return result;} - -Dynamic SVGRenderer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SVGRenderer_obj > result = new SVGRenderer_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::native::display::BitmapData SVGRenderer_obj::renderBitmap( ::native::geom::Rectangle inRect,hx::Null< Float > __o_inScale){ -Float inScale = __o_inScale.Default(1.0); - HX_STACK_PUSH("SVGRenderer::renderBitmap","format/svg/SVGRenderer.hx",309); - HX_STACK_THIS(this); - HX_STACK_ARG(inRect,"inRect"); - HX_STACK_ARG(inScale,"inScale"); -{ - HX_STACK_LINE(310) - this->mMatrix = ::native::geom::Matrix_obj::__new(inScale,(int)0,(int)0,inScale,(-(inRect->x) * inScale),(-(inRect->y) * inScale)); - HX_STACK_LINE(312) - int w = ::Std_obj::_int(::Math_obj::ceil(( (((inRect == null()))) ? Float(this->width) : Float((inRect->width * inScale)) ))); HX_STACK_VAR(w,"w"); - HX_STACK_LINE(313) - int h = ::Std_obj::_int(::Math_obj::ceil(( (((inRect == null()))) ? Float(this->width) : Float((inRect->height * inScale)) ))); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(315) - ::native::display::BitmapData bmp = ::native::display::BitmapData_obj::__new(w,h,true,(int)0,null()); HX_STACK_VAR(bmp,"bmp"); - HX_STACK_LINE(317) - ::native::display::Shape shape = ::native::display::Shape_obj::__new(); HX_STACK_VAR(shape,"shape"); - HX_STACK_LINE(318) - this->mGfx = ::format::gfx::GfxGraphics_obj::__new(shape->get_graphics()); - HX_STACK_LINE(320) - this->mGroupPath = Array_obj< ::String >::__new(); - HX_STACK_LINE(321) - this->iterateGroup(this->mRoot,true); - HX_STACK_LINE(323) - bmp->draw(shape,null(),null(),null(),null(),null()); - HX_STACK_LINE(324) - this->mGfx = null(); - HX_STACK_LINE(326) - return bmp; - } -} - - -HX_DEFINE_DYNAMIC_FUNC2(SVGRenderer_obj,renderBitmap,return ) - -::native::display::Shape SVGRenderer_obj::namedShape( ::String inName){ - HX_STACK_PUSH("SVGRenderer::namedShape","format/svg/SVGRenderer.hx",302); - HX_STACK_THIS(this); - HX_STACK_ARG(inName,"inName"); - HX_STACK_LINE(302) - Array< ::String > inName1 = Array_obj< ::String >::__new().Add(inName); HX_STACK_VAR(inName1,"inName1"); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_1_1,Array< ::String >,inName1) - bool run(::String name,Array< ::String > _){ - HX_STACK_PUSH("*::_Function_1_1","format/svg/SVGRenderer.hx",304); - HX_STACK_ARG(name,"name"); - HX_STACK_ARG(_,"_"); - { - HX_STACK_LINE(304) - return (name == inName1->__get((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC2(return) - - HX_STACK_LINE(303) - return this->createShape(null(), Dynamic(new _Function_1_1(inName1)),null()); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGRenderer_obj,namedShape,return ) - -::native::display::Shape SVGRenderer_obj::createShape( ::native::geom::Matrix inMatrix,Dynamic inFilter,::native::geom::Rectangle inScale9){ - HX_STACK_PUSH("SVGRenderer::createShape","format/svg/SVGRenderer.hx",296); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(inScale9,"inScale9"); - HX_STACK_LINE(297) - ::native::display::Shape shape = ::native::display::Shape_obj::__new(); HX_STACK_VAR(shape,"shape"); - HX_STACK_LINE(298) - this->renderObject(shape,shape->get_graphics(),inMatrix,inFilter,inScale9); - HX_STACK_LINE(299) - return shape; -} - - -HX_DEFINE_DYNAMIC_FUNC3(SVGRenderer_obj,createShape,return ) - -Void SVGRenderer_obj::renderSprite( ::native::display::Sprite inObj,::native::geom::Matrix inMatrix,Dynamic inFilter,::native::geom::Rectangle inScale9){ -{ - HX_STACK_PUSH("SVGRenderer::renderSprite","format/svg/SVGRenderer.hx",291); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(inScale9,"inScale9"); - HX_STACK_LINE(291) - this->renderObject(inObj,inObj->get_graphics(),inMatrix,inFilter,inScale9); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(SVGRenderer_obj,renderSprite,(void)) - -Void SVGRenderer_obj::renderObject( ::native::display::DisplayObject inObj,::native::display::Graphics inGfx,::native::geom::Matrix inMatrix,Dynamic inFilter,::native::geom::Rectangle inScale9){ -{ - HX_STACK_PUSH("SVGRenderer::renderObject","format/svg/SVGRenderer.hx",277); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(inScale9,"inScale9"); - HX_STACK_LINE(278) - this->render(inGfx,inMatrix,inFilter,inScale9,null(),null()); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_1) - bool run(::String _,Array< ::String > groups){ - HX_STACK_PUSH("*::_Function_1_1","format/svg/SVGRenderer.hx",279); - HX_STACK_ARG(_,"_"); - HX_STACK_ARG(groups,"groups"); - { - HX_STACK_LINE(279) - return (groups->__get((int)1) == HX_CSTRING(".scale9")); - } - return null(); - } - HX_END_LOCAL_FUNC2(return) - - HX_STACK_LINE(279) - ::native::geom::Rectangle rect = this->getExtent(inMatrix, Dynamic(new _Function_1_1()),null()); HX_STACK_VAR(rect,"rect"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(SVGRenderer_obj,renderObject,(void)) - -::native::geom::Rectangle SVGRenderer_obj::getMatchingRect( ::EReg inMatch){ - HX_STACK_PUSH("SVGRenderer::getMatchingRect","format/svg/SVGRenderer.hx",268); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatch,"inMatch"); - HX_STACK_LINE(268) - Array< ::EReg > inMatch1 = Array_obj< ::EReg >::__new().Add(inMatch); HX_STACK_VAR(inMatch1,"inMatch1"); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_1_1,Array< ::EReg >,inMatch1) - bool run(::String _,Array< ::String > groups){ - HX_STACK_PUSH("*::_Function_1_1","format/svg/SVGRenderer.hx",270); - HX_STACK_ARG(_,"_"); - HX_STACK_ARG(groups,"groups"); - { - HX_STACK_LINE(270) - return (bool((groups->__get((int)1) != null())) && bool(inMatch1->__get((int)0)->match(groups->__get((int)1)))); - } - return null(); - } - HX_END_LOCAL_FUNC2(return) - - HX_STACK_LINE(269) - return this->getExtent(null(), Dynamic(new _Function_1_1(inMatch1)),false); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGRenderer_obj,getMatchingRect,return ) - -::format::svg::Text SVGRenderer_obj::findText( Dynamic inFilter){ - HX_STACK_PUSH("SVGRenderer::findText","format/svg/SVGRenderer.hx",259); - HX_STACK_THIS(this); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_LINE(260) - this->mFilter = inFilter; - HX_STACK_LINE(261) - this->mGroupPath = Array_obj< ::String >::__new(); - HX_STACK_LINE(262) - ::format::gfx::GfxTextFinder finder = ::format::gfx::GfxTextFinder_obj::__new(); HX_STACK_VAR(finder,"finder"); - HX_STACK_LINE(263) - this->mGfx = finder; - HX_STACK_LINE(264) - this->iterateGroup(this->mRoot,false); - HX_STACK_LINE(265) - return finder->text; -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGRenderer_obj,findText,return ) - -::native::geom::Rectangle SVGRenderer_obj::getExtent( ::native::geom::Matrix inMatrix,Dynamic inFilter,Dynamic inIgnoreDot){ - HX_STACK_PUSH("SVGRenderer::getExtent","format/svg/SVGRenderer.hx",240); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(inIgnoreDot,"inIgnoreDot"); - HX_STACK_LINE(241) - if (((inIgnoreDot == null()))){ - HX_STACK_LINE(242) - inIgnoreDot = (inFilter == null()); - } - HX_STACK_LINE(243) - ::format::gfx::GfxExtent gfx = ::format::gfx::GfxExtent_obj::__new(); HX_STACK_VAR(gfx,"gfx"); - HX_STACK_LINE(244) - this->mGfx = gfx; - HX_STACK_LINE(245) - if (((inMatrix == null()))){ - HX_STACK_LINE(246) - this->mMatrix = ::native::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - } - else{ - HX_STACK_LINE(248) - this->mMatrix = inMatrix->clone(); - } - HX_STACK_LINE(250) - this->mFilter = inFilter; - HX_STACK_LINE(251) - this->mGroupPath = Array_obj< ::String >::__new(); - HX_STACK_LINE(253) - this->iterateGroup(this->mRoot,inIgnoreDot); - HX_STACK_LINE(255) - return gfx->extent; -} - - -HX_DEFINE_DYNAMIC_FUNC3(SVGRenderer_obj,getExtent,return ) - -Void SVGRenderer_obj::renderRect0( ::native::display::Graphics inGfx,Dynamic inFilter,::native::geom::Rectangle scaleRect,::native::geom::Rectangle inBounds,::native::geom::Rectangle inRect){ -{ - HX_STACK_PUSH("SVGRenderer::renderRect0","format/svg/SVGRenderer.hx",221); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(scaleRect,"scaleRect"); - HX_STACK_ARG(inBounds,"inBounds"); - HX_STACK_ARG(inRect,"inRect"); - HX_STACK_LINE(222) - ::native::geom::Matrix matrix = ::native::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(matrix,"matrix"); - HX_STACK_LINE(223) - matrix->tx = -(inBounds->x); - HX_STACK_LINE(224) - matrix->ty = -(inBounds->y); - HX_STACK_LINE(225) - if (((scaleRect != null()))){ - HX_STACK_LINE(227) - Float extraX = (inRect->width - ((inBounds->width - scaleRect->width))); HX_STACK_VAR(extraX,"extraX"); - HX_STACK_LINE(228) - Float extraY = (inRect->height - ((inBounds->height - scaleRect->height))); HX_STACK_VAR(extraY,"extraY"); - HX_STACK_LINE(229) - this->render(inGfx,matrix,inFilter,scaleRect,extraX,extraY); - } - else{ - HX_STACK_LINE(232) - this->render(inGfx,matrix,inFilter,null(),null(),null()); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(SVGRenderer_obj,renderRect0,(void)) - -Void SVGRenderer_obj::renderRect( ::native::display::Graphics inGfx,Dynamic inFilter,::native::geom::Rectangle scaleRect,::native::geom::Rectangle inBounds,::native::geom::Rectangle inRect){ -{ - HX_STACK_PUSH("SVGRenderer::renderRect","format/svg/SVGRenderer.hx",206); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(scaleRect,"scaleRect"); - HX_STACK_ARG(inBounds,"inBounds"); - HX_STACK_ARG(inRect,"inRect"); - HX_STACK_LINE(207) - ::native::geom::Matrix matrix = ::native::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(matrix,"matrix"); - HX_STACK_LINE(208) - matrix->tx = (inRect->x - inBounds->x); - HX_STACK_LINE(209) - matrix->ty = (inRect->y - inBounds->y); - HX_STACK_LINE(210) - if (((scaleRect != null()))){ - HX_STACK_LINE(212) - Float extraX = (inRect->width - ((inBounds->width - scaleRect->width))); HX_STACK_VAR(extraX,"extraX"); - HX_STACK_LINE(213) - Float extraY = (inRect->height - ((inBounds->height - scaleRect->height))); HX_STACK_VAR(extraY,"extraY"); - HX_STACK_LINE(214) - this->render(inGfx,matrix,inFilter,scaleRect,extraX,extraY); - } - else{ - HX_STACK_LINE(217) - this->render(inGfx,matrix,inFilter,null(),null(),null()); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(SVGRenderer_obj,renderRect,(void)) - -Void SVGRenderer_obj::render( ::native::display::Graphics inGfx,::native::geom::Matrix inMatrix,Dynamic inFilter,::native::geom::Rectangle inScaleRect,Dynamic inScaleW,Dynamic inScaleH){ -{ - HX_STACK_PUSH("SVGRenderer::render","format/svg/SVGRenderer.hx",189); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(inScaleRect,"inScaleRect"); - HX_STACK_ARG(inScaleW,"inScaleW"); - HX_STACK_ARG(inScaleH,"inScaleH"); - HX_STACK_LINE(191) - this->mGfx = ::format::gfx::GfxGraphics_obj::__new(inGfx); - HX_STACK_LINE(192) - if (((inMatrix == null()))){ - HX_STACK_LINE(193) - this->mMatrix = ::native::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - } - else{ - HX_STACK_LINE(195) - this->mMatrix = inMatrix->clone(); - } - HX_STACK_LINE(197) - this->mScaleRect = inScaleRect; - HX_STACK_LINE(198) - this->mScaleW = inScaleW; - HX_STACK_LINE(199) - this->mScaleH = inScaleH; - HX_STACK_LINE(200) - this->mFilter = inFilter; - HX_STACK_LINE(201) - this->mGroupPath = Array_obj< ::String >::__new(); - HX_STACK_LINE(203) - this->iterateGroup(this->mRoot,(inFilter == null())); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(SVGRenderer_obj,render,(void)) - -Void SVGRenderer_obj::iterateGroup( ::format::svg::Group inGroup,bool inIgnoreDot){ -{ - HX_STACK_PUSH("SVGRenderer::iterateGroup","format/svg/SVGRenderer.hx",159); - HX_STACK_THIS(this); - HX_STACK_ARG(inGroup,"inGroup"); - HX_STACK_ARG(inIgnoreDot,"inIgnoreDot"); - HX_STACK_LINE(161) - if (((bool((bool(inIgnoreDot) && bool((inGroup->name != null())))) && bool((inGroup->name.substr((int)0,(int)1) == HX_CSTRING(".")))))){ - HX_STACK_LINE(162) - return null(); - } - HX_STACK_LINE(164) - this->mGroupPath->push(inGroup->name); - HX_STACK_LINE(168) - { - HX_STACK_LINE(168) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::format::svg::DisplayElement > _g1 = inGroup->children; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(168) - while(((_g < _g1->length))){ - HX_STACK_LINE(168) - ::format::svg::DisplayElement child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(168) - ++(_g); - HX_STACK_LINE(170) - { - ::format::svg::DisplayElement _switch_1 = (child); - switch((_switch_1)->GetIndex()){ - case 1: { - ::format::svg::Group group = _switch_1->__Param(0); -{ - HX_STACK_LINE(172) - this->iterateGroup(group,inIgnoreDot); - } - } - ;break; - case 0: { - ::format::svg::Path path = _switch_1->__Param(0); -{ - HX_STACK_LINE(174) - this->iteratePath(path); - } - } - ;break; - case 2: { - ::format::svg::Text text = _switch_1->__Param(0); -{ - HX_STACK_LINE(176) - this->iterateText(text); - } - } - ;break; - } - } - } - } - HX_STACK_LINE(181) - this->mGroupPath->pop(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(SVGRenderer_obj,iterateGroup,(void)) - -Void SVGRenderer_obj::iteratePath( ::format::svg::Path inPath){ -{ - HX_STACK_PUSH("SVGRenderer::iteratePath","format/svg/SVGRenderer.hx",95); - HX_STACK_THIS(this); - HX_STACK_ARG(inPath,"inPath"); - HX_STACK_LINE(96) - if (((bool((this->mFilter_dyn() != null())) && bool(!(this->mFilter(inPath->name,this->mGroupPath)))))){ - HX_STACK_LINE(97) - return null(); - } - HX_STACK_LINE(99) - if (((bool((inPath->segments->length == (int)0)) || bool((this->mGfx == null()))))){ - HX_STACK_LINE(100) - return null(); - } - HX_STACK_LINE(101) - Float px = 0.0; HX_STACK_VAR(px,"px"); - HX_STACK_LINE(102) - Float py = 0.0; HX_STACK_VAR(py,"py"); - HX_STACK_LINE(104) - ::native::geom::Matrix m = inPath->matrix->clone(); HX_STACK_VAR(m,"m"); - HX_STACK_LINE(105) - m->concat(this->mMatrix); - HX_STACK_LINE(106) - ::format::svg::RenderContext context = ::format::svg::RenderContext_obj::__new(m,this->mScaleRect,this->mScaleW,this->mScaleH); HX_STACK_VAR(context,"context"); - HX_STACK_LINE(108) - bool geomOnly = this->mGfx->geometryOnly(); HX_STACK_VAR(geomOnly,"geomOnly"); - HX_STACK_LINE(109) - if ((!(geomOnly))){ - HX_STACK_LINE(116) - inPath->segments->__get((int)0)->toGfx(this->mGfx,context); - HX_STACK_LINE(118) - { - ::format::svg::FillType _switch_2 = (inPath->fill); - switch((_switch_2)->GetIndex()){ - case 0: { - ::format::svg::Grad grad = _switch_2->__Param(0); -{ - HX_STACK_LINE(121) - grad->updateMatrix(m); - HX_STACK_LINE(122) - this->mGfx->beginGradientFill(grad); - } - } - ;break; - case 1: { - int colour = _switch_2->__Param(0); -{ - HX_STACK_LINE(123) - this->mGfx->beginFill(colour,inPath->fill_alpha); - } - } - ;break; - case 2: { - } - ;break; - } - } - HX_STACK_LINE(130) - if (((inPath->stroke_colour == null()))){ - } - else{ - HX_STACK_LINE(136) - ::format::gfx::LineStyle style = ::format::gfx::LineStyle_obj::__new(); HX_STACK_VAR(style,"style"); - HX_STACK_LINE(137) - Float scale = ::Math_obj::sqrt(((m->a * m->a) + (m->c * m->c))); HX_STACK_VAR(scale,"scale"); - HX_STACK_LINE(138) - style->thickness = (inPath->stroke_width * scale); - HX_STACK_LINE(139) - style->alpha = inPath->stroke_alpha; - HX_STACK_LINE(140) - style->color = inPath->stroke_colour; - HX_STACK_LINE(141) - style->capsStyle = inPath->stroke_caps; - HX_STACK_LINE(142) - style->jointStyle = inPath->joint_style; - HX_STACK_LINE(143) - style->miterLimit = inPath->miter_limit; - HX_STACK_LINE(144) - this->mGfx->lineStyle(style); - } - } - HX_STACK_LINE(149) - { - HX_STACK_LINE(149) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::format::svg::PathSegment > _g1 = inPath->segments; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(149) - while(((_g < _g1->length))){ - HX_STACK_LINE(149) - ::format::svg::PathSegment segment = _g1->__get(_g); HX_STACK_VAR(segment,"segment"); - HX_STACK_LINE(149) - ++(_g); - HX_STACK_LINE(150) - segment->toGfx(this->mGfx,context); - } - } - HX_STACK_LINE(152) - this->mGfx->endFill(); - HX_STACK_LINE(153) - this->mGfx->endLineStyle(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGRenderer_obj,iteratePath,(void)) - -Void SVGRenderer_obj::iterateText( ::format::svg::Text inText){ -{ - HX_STACK_PUSH("SVGRenderer::iterateText","format/svg/SVGRenderer.hx",88); - HX_STACK_THIS(this); - HX_STACK_ARG(inText,"inText"); - HX_STACK_LINE(89) - if (((bool((this->mFilter_dyn() != null())) && bool(!(this->mFilter(inText->name,this->mGroupPath)))))){ - HX_STACK_LINE(90) - return null(); - } - HX_STACK_LINE(91) - this->mGfx->renderText(inText); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGRenderer_obj,iterateText,(void)) - -bool SVGRenderer_obj::hasGroup( ::String inName){ - HX_STACK_PUSH("SVGRenderer::hasGroup","format/svg/SVGRenderer.hx",83); - HX_STACK_THIS(this); - HX_STACK_ARG(inName,"inName"); - HX_STACK_LINE(83) - return this->mRoot->hasGroup(inName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGRenderer_obj,hasGroup,return ) - -Dynamic SVGRenderer_obj::iterate( Dynamic inGfx,Dynamic inFilter){ - HX_STACK_PUSH("SVGRenderer::iterate","format/svg/SVGRenderer.hx",72); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_LINE(73) - this->mGfx = inGfx; - HX_STACK_LINE(74) - this->mMatrix = ::native::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - HX_STACK_LINE(75) - this->mFilter = inFilter; - HX_STACK_LINE(76) - this->mGroupPath = Array_obj< ::String >::__new(); - HX_STACK_LINE(77) - this->mGfx->size(this->width,this->height); - HX_STACK_LINE(78) - this->iterateGroup(this->mRoot,true); - HX_STACK_LINE(79) - this->mGfx->eof(); - HX_STACK_LINE(80) - return inGfx; -} - - -HX_DEFINE_DYNAMIC_FUNC2(SVGRenderer_obj,iterate,return ) - -Array< ::String > SVGRenderer_obj::toHaxe( ::Xml inXML,Dynamic inFilter){ - HX_STACK_PUSH("SVGRenderer::toHaxe","format/svg/SVGRenderer.hx",61); - HX_STACK_ARG(inXML,"inXML"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_LINE(61) - return ::format::svg::SVGRenderer_obj::__new(::format::svg::SVGData_obj::__new(inXML,true),null())->iterate(::format::gfx::Gfx2Haxe_obj::__new(),inFilter)->__Field(HX_CSTRING("commands"),true); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(SVGRenderer_obj,toHaxe,return ) - -::format::gfx::GfxBytes SVGRenderer_obj::toBytes( ::Xml inXML,Dynamic inFilter){ - HX_STACK_PUSH("SVGRenderer::toBytes","format/svg/SVGRenderer.hx",66); - HX_STACK_ARG(inXML,"inXML"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_LINE(66) - return ::format::svg::SVGRenderer_obj::__new(::format::svg::SVGData_obj::__new(inXML,true),null())->iterate(::format::gfx::GfxBytes_obj::__new(null(),null()),inFilter); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(SVGRenderer_obj,toBytes,return ) - - -SVGRenderer_obj::SVGRenderer_obj() -{ -} - -void SVGRenderer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SVGRenderer); - HX_MARK_MEMBER_NAME(mGroupPath,"mGroupPath"); - HX_MARK_MEMBER_NAME(mFilter,"mFilter"); - HX_MARK_MEMBER_NAME(mScaleH,"mScaleH"); - HX_MARK_MEMBER_NAME(mScaleW,"mScaleW"); - HX_MARK_MEMBER_NAME(mScaleRect,"mScaleRect"); - HX_MARK_MEMBER_NAME(mMatrix,"mMatrix"); - HX_MARK_MEMBER_NAME(mGfx,"mGfx"); - HX_MARK_MEMBER_NAME(mRoot,"mRoot"); - HX_MARK_MEMBER_NAME(mSvg,"mSvg"); - HX_MARK_MEMBER_NAME(height,"height"); - HX_MARK_MEMBER_NAME(width,"width"); - HX_MARK_END_CLASS(); -} - -void SVGRenderer_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mGroupPath,"mGroupPath"); - HX_VISIT_MEMBER_NAME(mFilter,"mFilter"); - HX_VISIT_MEMBER_NAME(mScaleH,"mScaleH"); - HX_VISIT_MEMBER_NAME(mScaleW,"mScaleW"); - HX_VISIT_MEMBER_NAME(mScaleRect,"mScaleRect"); - HX_VISIT_MEMBER_NAME(mMatrix,"mMatrix"); - HX_VISIT_MEMBER_NAME(mGfx,"mGfx"); - HX_VISIT_MEMBER_NAME(mRoot,"mRoot"); - HX_VISIT_MEMBER_NAME(mSvg,"mSvg"); - HX_VISIT_MEMBER_NAME(height,"height"); - HX_VISIT_MEMBER_NAME(width,"width"); -} - -Dynamic SVGRenderer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"mGfx") ) { return mGfx; } - if (HX_FIELD_EQ(inName,"mSvg") ) { return mSvg; } - break; - case 5: - if (HX_FIELD_EQ(inName,"mRoot") ) { return mRoot; } - if (HX_FIELD_EQ(inName,"width") ) { return width; } - break; - case 6: - if (HX_FIELD_EQ(inName,"toHaxe") ) { return toHaxe_dyn(); } - if (HX_FIELD_EQ(inName,"render") ) { return render_dyn(); } - if (HX_FIELD_EQ(inName,"height") ) { return height; } - break; - case 7: - if (HX_FIELD_EQ(inName,"toBytes") ) { return toBytes_dyn(); } - if (HX_FIELD_EQ(inName,"iterate") ) { return iterate_dyn(); } - if (HX_FIELD_EQ(inName,"mFilter") ) { return mFilter; } - if (HX_FIELD_EQ(inName,"mScaleH") ) { return mScaleH; } - if (HX_FIELD_EQ(inName,"mScaleW") ) { return mScaleW; } - if (HX_FIELD_EQ(inName,"mMatrix") ) { return mMatrix; } - break; - case 8: - if (HX_FIELD_EQ(inName,"findText") ) { return findText_dyn(); } - if (HX_FIELD_EQ(inName,"hasGroup") ) { return hasGroup_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"getExtent") ) { return getExtent_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"namedShape") ) { return namedShape_dyn(); } - if (HX_FIELD_EQ(inName,"renderRect") ) { return renderRect_dyn(); } - if (HX_FIELD_EQ(inName,"mGroupPath") ) { return mGroupPath; } - if (HX_FIELD_EQ(inName,"mScaleRect") ) { return mScaleRect; } - break; - case 11: - if (HX_FIELD_EQ(inName,"createShape") ) { return createShape_dyn(); } - if (HX_FIELD_EQ(inName,"renderRect0") ) { return renderRect0_dyn(); } - if (HX_FIELD_EQ(inName,"iteratePath") ) { return iteratePath_dyn(); } - if (HX_FIELD_EQ(inName,"iterateText") ) { return iterateText_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"renderBitmap") ) { return renderBitmap_dyn(); } - if (HX_FIELD_EQ(inName,"renderSprite") ) { return renderSprite_dyn(); } - if (HX_FIELD_EQ(inName,"renderObject") ) { return renderObject_dyn(); } - if (HX_FIELD_EQ(inName,"iterateGroup") ) { return iterateGroup_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"getMatchingRect") ) { return getMatchingRect_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SVGRenderer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"mGfx") ) { mGfx=inValue.Cast< ::format::gfx::Gfx >(); return inValue; } - if (HX_FIELD_EQ(inName,"mSvg") ) { mSvg=inValue.Cast< ::format::svg::SVGData >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"mRoot") ) { mRoot=inValue.Cast< ::format::svg::Group >(); return inValue; } - if (HX_FIELD_EQ(inName,"width") ) { width=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"height") ) { height=inValue.Cast< Float >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"mFilter") ) { mFilter=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"mScaleH") ) { mScaleH=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"mScaleW") ) { mScaleW=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"mMatrix") ) { mMatrix=inValue.Cast< ::native::geom::Matrix >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"mGroupPath") ) { mGroupPath=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"mScaleRect") ) { mScaleRect=inValue.Cast< ::native::geom::Rectangle >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SVGRenderer_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mGroupPath")); - outFields->push(HX_CSTRING("mScaleH")); - outFields->push(HX_CSTRING("mScaleW")); - outFields->push(HX_CSTRING("mScaleRect")); - outFields->push(HX_CSTRING("mMatrix")); - outFields->push(HX_CSTRING("mGfx")); - outFields->push(HX_CSTRING("mRoot")); - outFields->push(HX_CSTRING("mSvg")); - outFields->push(HX_CSTRING("height")); - outFields->push(HX_CSTRING("width")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("toHaxe"), - HX_CSTRING("toBytes"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("renderBitmap"), - HX_CSTRING("namedShape"), - HX_CSTRING("createShape"), - HX_CSTRING("renderSprite"), - HX_CSTRING("renderObject"), - HX_CSTRING("getMatchingRect"), - HX_CSTRING("findText"), - HX_CSTRING("getExtent"), - HX_CSTRING("renderRect0"), - HX_CSTRING("renderRect"), - HX_CSTRING("render"), - HX_CSTRING("iterateGroup"), - HX_CSTRING("iteratePath"), - HX_CSTRING("iterateText"), - HX_CSTRING("hasGroup"), - HX_CSTRING("iterate"), - HX_CSTRING("mGroupPath"), - HX_CSTRING("mFilter"), - HX_CSTRING("mScaleH"), - HX_CSTRING("mScaleW"), - HX_CSTRING("mScaleRect"), - HX_CSTRING("mMatrix"), - HX_CSTRING("mGfx"), - HX_CSTRING("mRoot"), - HX_CSTRING("mSvg"), - HX_CSTRING("height"), - HX_CSTRING("width"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SVGRenderer_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SVGRenderer_obj::__mClass,"__mClass"); -}; - -Class SVGRenderer_obj::__mClass; - -void SVGRenderer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.SVGRenderer"), hx::TCanCast< SVGRenderer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SVGRenderer_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/Text.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/Text.cpp deleted file mode 100644 index c4b2be7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/format/svg/Text.cpp +++ /dev/null @@ -1,221 +0,0 @@ -#include - -#ifndef INCLUDED_format_svg_FillType -#include -#endif -#ifndef INCLUDED_format_svg_Text -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -namespace format{ -namespace svg{ - -Void Text_obj::__construct() -{ -HX_STACK_PUSH("Text::new","format/svg/Text.hx",8); -{ -} -; - return null(); -} - -Text_obj::~Text_obj() { } - -Dynamic Text_obj::__CreateEmpty() { return new Text_obj; } -hx::ObjectPtr< Text_obj > Text_obj::__new() -{ hx::ObjectPtr< Text_obj > result = new Text_obj(); - result->__construct(); - return result;} - -Dynamic Text_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Text_obj > result = new Text_obj(); - result->__construct(); - return result;} - - -Text_obj::Text_obj() -{ -} - -void Text_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Text); - HX_MARK_MEMBER_NAME(letter_spacing,"letter_spacing"); - HX_MARK_MEMBER_NAME(kerning,"kerning"); - HX_MARK_MEMBER_NAME(font_size,"font_size"); - HX_MARK_MEMBER_NAME(font_family,"font_family"); - HX_MARK_MEMBER_NAME(stroke_width,"stroke_width"); - HX_MARK_MEMBER_NAME(stroke_colour,"stroke_colour"); - HX_MARK_MEMBER_NAME(stroke_alpha,"stroke_alpha"); - HX_MARK_MEMBER_NAME(fill_alpha,"fill_alpha"); - HX_MARK_MEMBER_NAME(fill,"fill"); - HX_MARK_MEMBER_NAME(text,"text"); - HX_MARK_MEMBER_NAME(matrix,"matrix"); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_END_CLASS(); -} - -void Text_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(letter_spacing,"letter_spacing"); - HX_VISIT_MEMBER_NAME(kerning,"kerning"); - HX_VISIT_MEMBER_NAME(font_size,"font_size"); - HX_VISIT_MEMBER_NAME(font_family,"font_family"); - HX_VISIT_MEMBER_NAME(stroke_width,"stroke_width"); - HX_VISIT_MEMBER_NAME(stroke_colour,"stroke_colour"); - HX_VISIT_MEMBER_NAME(stroke_alpha,"stroke_alpha"); - HX_VISIT_MEMBER_NAME(fill_alpha,"fill_alpha"); - HX_VISIT_MEMBER_NAME(fill,"fill"); - HX_VISIT_MEMBER_NAME(text,"text"); - HX_VISIT_MEMBER_NAME(matrix,"matrix"); - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(name,"name"); -} - -Dynamic Text_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 4: - if (HX_FIELD_EQ(inName,"fill") ) { return fill; } - if (HX_FIELD_EQ(inName,"text") ) { return text; } - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 6: - if (HX_FIELD_EQ(inName,"matrix") ) { return matrix; } - break; - case 7: - if (HX_FIELD_EQ(inName,"kerning") ) { return kerning; } - break; - case 9: - if (HX_FIELD_EQ(inName,"font_size") ) { return font_size; } - break; - case 10: - if (HX_FIELD_EQ(inName,"fill_alpha") ) { return fill_alpha; } - break; - case 11: - if (HX_FIELD_EQ(inName,"font_family") ) { return font_family; } - break; - case 12: - if (HX_FIELD_EQ(inName,"stroke_width") ) { return stroke_width; } - if (HX_FIELD_EQ(inName,"stroke_alpha") ) { return stroke_alpha; } - break; - case 13: - if (HX_FIELD_EQ(inName,"stroke_colour") ) { return stroke_colour; } - break; - case 14: - if (HX_FIELD_EQ(inName,"letter_spacing") ) { return letter_spacing; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Text_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"fill") ) { fill=inValue.Cast< ::format::svg::FillType >(); return inValue; } - if (HX_FIELD_EQ(inName,"text") ) { text=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"matrix") ) { matrix=inValue.Cast< ::native::geom::Matrix >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"kerning") ) { kerning=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"font_size") ) { font_size=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"fill_alpha") ) { fill_alpha=inValue.Cast< Float >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"font_family") ) { font_family=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"stroke_width") ) { stroke_width=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"stroke_alpha") ) { stroke_alpha=inValue.Cast< Float >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"stroke_colour") ) { stroke_colour=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"letter_spacing") ) { letter_spacing=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Text_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("letter_spacing")); - outFields->push(HX_CSTRING("kerning")); - outFields->push(HX_CSTRING("font_size")); - outFields->push(HX_CSTRING("font_family")); - outFields->push(HX_CSTRING("stroke_width")); - outFields->push(HX_CSTRING("stroke_colour")); - outFields->push(HX_CSTRING("stroke_alpha")); - outFields->push(HX_CSTRING("fill_alpha")); - outFields->push(HX_CSTRING("fill")); - outFields->push(HX_CSTRING("text")); - outFields->push(HX_CSTRING("matrix")); - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("name")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("letter_spacing"), - HX_CSTRING("kerning"), - HX_CSTRING("font_size"), - HX_CSTRING("font_family"), - HX_CSTRING("stroke_width"), - HX_CSTRING("stroke_colour"), - HX_CSTRING("stroke_alpha"), - HX_CSTRING("fill_alpha"), - HX_CSTRING("fill"), - HX_CSTRING("text"), - HX_CSTRING("matrix"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("name"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Text_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Text_obj::__mClass,"__mClass"); -}; - -Class Text_obj::__mClass; - -void Text_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.Text"), hx::TCanCast< Text_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Text_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/BaseCode.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/BaseCode.cpp deleted file mode 100644 index d8b7f5d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/BaseCode.cpp +++ /dev/null @@ -1,360 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_BaseCode -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -namespace haxe{ - -Void BaseCode_obj::__construct(::haxe::io::Bytes base) -{ -HX_STACK_PUSH("BaseCode::new","/usr/lib/haxe/std/haxe/BaseCode.hx",33); -{ - HX_STACK_LINE(34) - int len = base->length; HX_STACK_VAR(len,"len"); - HX_STACK_LINE(35) - int nbits = (int)1; HX_STACK_VAR(nbits,"nbits"); - HX_STACK_LINE(36) - while(((len > (int((int)1) << int(nbits))))){ - HX_STACK_LINE(37) - (nbits)++; - } - HX_STACK_LINE(38) - if (((bool((nbits > (int)8)) || bool((len != (int((int)1) << int(nbits))))))){ - HX_STACK_LINE(39) - hx::Throw (HX_CSTRING("BaseCode : base length must be a power of two.")); - } - HX_STACK_LINE(40) - this->base = base; - HX_STACK_LINE(41) - this->nbits = nbits; -} -; - return null(); -} - -BaseCode_obj::~BaseCode_obj() { } - -Dynamic BaseCode_obj::__CreateEmpty() { return new BaseCode_obj; } -hx::ObjectPtr< BaseCode_obj > BaseCode_obj::__new(::haxe::io::Bytes base) -{ hx::ObjectPtr< BaseCode_obj > result = new BaseCode_obj(); - result->__construct(base); - return result;} - -Dynamic BaseCode_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BaseCode_obj > result = new BaseCode_obj(); - result->__construct(inArgs[0]); - return result;} - -::String BaseCode_obj::decodeString( ::String s){ - HX_STACK_PUSH("BaseCode::decodeString","/usr/lib/haxe/std/haxe/BaseCode.hx",119); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(119) - return this->decodeBytes(::haxe::io::Bytes_obj::ofString(s))->toString(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BaseCode_obj,decodeString,return ) - -::String BaseCode_obj::encodeString( ::String s){ - HX_STACK_PUSH("BaseCode::encodeString","/usr/lib/haxe/std/haxe/BaseCode.hx",111); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(111) - return this->encodeBytes(::haxe::io::Bytes_obj::ofString(s))->toString(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BaseCode_obj,encodeString,return ) - -::haxe::io::Bytes BaseCode_obj::decodeBytes( ::haxe::io::Bytes b){ - HX_STACK_PUSH("BaseCode::decodeBytes","/usr/lib/haxe/std/haxe/BaseCode.hx",81); - HX_STACK_THIS(this); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(85) - int nbits = this->nbits; HX_STACK_VAR(nbits,"nbits"); - HX_STACK_LINE(86) - ::haxe::io::Bytes base = this->base; HX_STACK_VAR(base,"base"); - HX_STACK_LINE(87) - if (((this->tbl == null()))){ - HX_STACK_LINE(87) - this->initTable(); - } - HX_STACK_LINE(88) - Array< int > tbl = this->tbl; HX_STACK_VAR(tbl,"tbl"); - HX_STACK_LINE(89) - int size = (int((b->length * nbits)) >> int((int)3)); HX_STACK_VAR(size,"size"); - HX_STACK_LINE(90) - ::haxe::io::Bytes out = ::haxe::io::Bytes_obj::alloc(size); HX_STACK_VAR(out,"out"); - HX_STACK_LINE(91) - int buf = (int)0; HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(92) - int curbits = (int)0; HX_STACK_VAR(curbits,"curbits"); - HX_STACK_LINE(93) - int pin = (int)0; HX_STACK_VAR(pin,"pin"); - HX_STACK_LINE(94) - int pout = (int)0; HX_STACK_VAR(pout,"pout"); - HX_STACK_LINE(95) - while(((pout < size))){ - HX_STACK_LINE(96) - while(((curbits < (int)8))){ - HX_STACK_LINE(97) - hx::AddEq(curbits,nbits); - HX_STACK_LINE(98) - hx::ShlEq(buf,nbits); - HX_STACK_LINE(99) - int i = tbl->__get(b->b->__get((pin)++)); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(100) - if (((i == (int)-1))){ - HX_STACK_LINE(101) - hx::Throw (HX_CSTRING("BaseCode : invalid encoded char")); - } - HX_STACK_LINE(102) - hx::OrEq(buf,i); - } - HX_STACK_LINE(104) - hx::SubEq(curbits,(int)8); - HX_STACK_LINE(105) - out->b[(pout)++] = (int((int(buf) >> int(curbits))) & int((int)255)); - } - HX_STACK_LINE(107) - return out; -} - - -HX_DEFINE_DYNAMIC_FUNC1(BaseCode_obj,decodeBytes,return ) - -Void BaseCode_obj::initTable( ){ -{ - HX_STACK_PUSH("BaseCode::initTable","/usr/lib/haxe/std/haxe/BaseCode.hx",72); - HX_STACK_THIS(this); - HX_STACK_LINE(73) - Array< int > tbl = Array_obj< int >::__new(); HX_STACK_VAR(tbl,"tbl"); - HX_STACK_LINE(74) - { - HX_STACK_LINE(74) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(74) - while(((_g < (int)256))){ - HX_STACK_LINE(74) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(75) - tbl[i] = (int)-1; - } - } - HX_STACK_LINE(76) - { - HX_STACK_LINE(76) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->base->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(76) - while(((_g1 < _g))){ - HX_STACK_LINE(76) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(77) - tbl[this->base->b->__get(i)] = i; - } - } - HX_STACK_LINE(78) - this->tbl = tbl; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BaseCode_obj,initTable,(void)) - -::haxe::io::Bytes BaseCode_obj::encodeBytes( ::haxe::io::Bytes b){ - HX_STACK_PUSH("BaseCode::encodeBytes","/usr/lib/haxe/std/haxe/BaseCode.hx",44); - HX_STACK_THIS(this); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(48) - int nbits = this->nbits; HX_STACK_VAR(nbits,"nbits"); - HX_STACK_LINE(49) - ::haxe::io::Bytes base = this->base; HX_STACK_VAR(base,"base"); - HX_STACK_LINE(50) - int size = ::Std_obj::_int((Float((b->length * (int)8)) / Float(nbits))); HX_STACK_VAR(size,"size"); - HX_STACK_LINE(51) - ::haxe::io::Bytes out = ::haxe::io::Bytes_obj::alloc((size + (( (((hx::Mod((b->length * (int)8),nbits) == (int)0))) ? int((int)0) : int((int)1) )))); HX_STACK_VAR(out,"out"); - HX_STACK_LINE(52) - int buf = (int)0; HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(53) - int curbits = (int)0; HX_STACK_VAR(curbits,"curbits"); - HX_STACK_LINE(54) - int mask = (((int((int)1) << int(nbits))) - (int)1); HX_STACK_VAR(mask,"mask"); - HX_STACK_LINE(55) - int pin = (int)0; HX_STACK_VAR(pin,"pin"); - HX_STACK_LINE(56) - int pout = (int)0; HX_STACK_VAR(pout,"pout"); - HX_STACK_LINE(57) - while(((pout < size))){ - HX_STACK_LINE(58) - while(((curbits < nbits))){ - HX_STACK_LINE(59) - hx::AddEq(curbits,(int)8); - HX_STACK_LINE(60) - hx::ShlEq(buf,(int)8); - HX_STACK_LINE(61) - hx::OrEq(buf,b->b->__get((pin)++)); - } - HX_STACK_LINE(63) - hx::SubEq(curbits,nbits); - HX_STACK_LINE(64) - out->b[(pout)++] = base->b->__get((int((int(buf) >> int(curbits))) & int(mask))); - } - HX_STACK_LINE(66) - if (((curbits > (int)0))){ - HX_STACK_LINE(67) - out->b[(pout)++] = base->b->__get((int((int(buf) << int((nbits - curbits)))) & int(mask))); - } - HX_STACK_LINE(68) - return out; -} - - -HX_DEFINE_DYNAMIC_FUNC1(BaseCode_obj,encodeBytes,return ) - -::String BaseCode_obj::encode( ::String s,::String base){ - HX_STACK_PUSH("BaseCode::encode","/usr/lib/haxe/std/haxe/BaseCode.hx",127); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(base,"base"); - HX_STACK_LINE(128) - ::haxe::BaseCode b = ::haxe::BaseCode_obj::__new(::haxe::io::Bytes_obj::ofString(base)); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(129) - return b->encodeString(s); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BaseCode_obj,encode,return ) - -::String BaseCode_obj::decode( ::String s,::String base){ - HX_STACK_PUSH("BaseCode::decode","/usr/lib/haxe/std/haxe/BaseCode.hx",132); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(base,"base"); - HX_STACK_LINE(133) - ::haxe::BaseCode b = ::haxe::BaseCode_obj::__new(::haxe::io::Bytes_obj::ofString(base)); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(134) - return b->decodeString(s); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BaseCode_obj,decode,return ) - - -BaseCode_obj::BaseCode_obj() -{ -} - -void BaseCode_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BaseCode); - HX_MARK_MEMBER_NAME(tbl,"tbl"); - HX_MARK_MEMBER_NAME(nbits,"nbits"); - HX_MARK_MEMBER_NAME(base,"base"); - HX_MARK_END_CLASS(); -} - -void BaseCode_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(tbl,"tbl"); - HX_VISIT_MEMBER_NAME(nbits,"nbits"); - HX_VISIT_MEMBER_NAME(base,"base"); -} - -Dynamic BaseCode_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"tbl") ) { return tbl; } - break; - case 4: - if (HX_FIELD_EQ(inName,"base") ) { return base; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nbits") ) { return nbits; } - break; - case 6: - if (HX_FIELD_EQ(inName,"encode") ) { return encode_dyn(); } - if (HX_FIELD_EQ(inName,"decode") ) { return decode_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"initTable") ) { return initTable_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"decodeBytes") ) { return decodeBytes_dyn(); } - if (HX_FIELD_EQ(inName,"encodeBytes") ) { return encodeBytes_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"decodeString") ) { return decodeString_dyn(); } - if (HX_FIELD_EQ(inName,"encodeString") ) { return encodeString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BaseCode_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"tbl") ) { tbl=inValue.Cast< Array< int > >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"base") ) { base=inValue.Cast< ::haxe::io::Bytes >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nbits") ) { nbits=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BaseCode_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("tbl")); - outFields->push(HX_CSTRING("nbits")); - outFields->push(HX_CSTRING("base")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("encode"), - HX_CSTRING("decode"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("decodeString"), - HX_CSTRING("encodeString"), - HX_CSTRING("decodeBytes"), - HX_CSTRING("initTable"), - HX_CSTRING("encodeBytes"), - HX_CSTRING("tbl"), - HX_CSTRING("nbits"), - HX_CSTRING("base"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BaseCode_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BaseCode_obj::__mClass,"__mClass"); -}; - -Class BaseCode_obj::__mClass; - -void BaseCode_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.BaseCode"), hx::TCanCast< BaseCode_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BaseCode_obj::__boot() -{ -} - -} // end namespace haxe diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/Log.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/Log.cpp deleted file mode 100644 index 0641766..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/Log.cpp +++ /dev/null @@ -1,131 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_Log -#include -#endif -namespace haxe{ - -Void Log_obj::__construct() -{ - return null(); -} - -Log_obj::~Log_obj() { } - -Dynamic Log_obj::__CreateEmpty() { return new Log_obj; } -hx::ObjectPtr< Log_obj > Log_obj::__new() -{ hx::ObjectPtr< Log_obj > result = new Log_obj(); - result->__construct(); - return result;} - -Dynamic Log_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Log_obj > result = new Log_obj(); - result->__construct(); - return result;} - -HX_BEGIN_DEFAULT_FUNC(__default_trace,Log_obj) -Void run(Dynamic v,Dynamic infos){ -{ - HX_STACK_PUSH("Log::trace","/usr/lib/haxe/std/haxe/Log.hx",29); - HX_STACK_ARG(v,"v"); - HX_STACK_ARG(infos,"infos"); - HX_STACK_LINE(29) - __trace(v,infos); - } -return null(); -} -HX_END_LOCAL_FUNC2((void)) -HX_END_DEFAULT_FUNC - -Dynamic Log_obj::trace; - -HX_BEGIN_DEFAULT_FUNC(__default_clear,Log_obj) -Void run(){ -{ - HX_STACK_PUSH("Log::clear","/usr/lib/haxe/std/haxe/Log.hx",54); - } -return null(); -} -HX_END_LOCAL_FUNC0((void)) -HX_END_DEFAULT_FUNC - -Dynamic Log_obj::clear; - - -Log_obj::Log_obj() -{ -} - -void Log_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Log); - HX_MARK_END_CLASS(); -} - -void Log_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Log_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"trace") ) { return trace; } - if (HX_FIELD_EQ(inName,"clear") ) { return clear; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Log_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"trace") ) { trace=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"clear") ) { clear=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Log_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("trace"), - HX_CSTRING("clear"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Log_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Log_obj::trace,"trace"); - HX_MARK_MEMBER_NAME(Log_obj::clear,"clear"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Log_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Log_obj::trace,"trace"); - HX_VISIT_MEMBER_NAME(Log_obj::clear,"clear"); -}; - -Class Log_obj::__mClass; - -void Log_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.Log"), hx::TCanCast< Log_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Log_obj::__boot() -{ - trace = new __default_trace; - - clear = new __default_clear; - -} - -} // end namespace haxe diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/Timer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/Timer.cpp deleted file mode 100644 index 1d0de0c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/Timer.cpp +++ /dev/null @@ -1,361 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_Timer -#include -#endif -#ifndef INCLUDED_native_Loader -#include -#endif -namespace haxe{ - -Void Timer_obj::__construct(Float time) -{ -HX_STACK_PUSH("Timer::new","haxe/Timer.hx",113); -{ - HX_STACK_LINE(115) - this->mTime = time; - HX_STACK_LINE(116) - ::haxe::Timer_obj::sRunningTimers->push(hx::ObjectPtr(this)); - HX_STACK_LINE(117) - this->mFireAt = (::haxe::Timer_obj::GetMS() + this->mTime); - HX_STACK_LINE(118) - this->mRunning = true; -} -; - return null(); -} - -Timer_obj::~Timer_obj() { } - -Dynamic Timer_obj::__CreateEmpty() { return new Timer_obj; } -hx::ObjectPtr< Timer_obj > Timer_obj::__new(Float time) -{ hx::ObjectPtr< Timer_obj > result = new Timer_obj(); - result->__construct(time); - return result;} - -Dynamic Timer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Timer_obj > result = new Timer_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Timer_obj::nmeCheck( Float inTime){ -{ - HX_STACK_PUSH("Timer::nmeCheck","haxe/Timer.hx",181); - HX_STACK_THIS(this); - HX_STACK_ARG(inTime,"inTime"); - HX_STACK_LINE(181) - if (((inTime >= this->mFireAt))){ - HX_STACK_LINE(185) - hx::AddEq(this->mFireAt,this->mTime); - HX_STACK_LINE(186) - this->run(); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Timer_obj,nmeCheck,(void)) - -Void Timer_obj::stop( ){ -{ - HX_STACK_PUSH("Timer::stop","haxe/Timer.hx",139); - HX_STACK_THIS(this); - HX_STACK_LINE(139) - if ((this->mRunning)){ - HX_STACK_LINE(143) - this->mRunning = false; - HX_STACK_LINE(144) - ::haxe::Timer_obj::sRunningTimers->remove(hx::ObjectPtr(this)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Timer_obj,stop,(void)) - -HX_BEGIN_DEFAULT_FUNC(__default_run,Timer_obj) -Void run(){ -{ - HX_STACK_PUSH("Timer::run","haxe/Timer.hx",132); - HX_STACK_THIS(this); - } -return null(); -} -HX_END_LOCAL_FUNC0((void)) -HX_END_DEFAULT_FUNC - -Array< ::haxe::Timer > Timer_obj::sRunningTimers; - -Dynamic Timer_obj::measure( Dynamic f,Dynamic pos){ - HX_STACK_PUSH("Timer::measure","haxe/Timer.hx",123); - HX_STACK_ARG(f,"f"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(124) - Float t0 = ::haxe::Timer_obj::stamp(); HX_STACK_VAR(t0,"t0"); - HX_STACK_LINE(125) - Dynamic r = f(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(126) - ::haxe::Log_obj::trace(((::haxe::Timer_obj::stamp() - t0) + HX_CSTRING("s")),pos); - HX_STACK_LINE(127) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Timer_obj,measure,return ) - -Float Timer_obj::nmeNextWake( Float limit){ - HX_STACK_PUSH("Timer::nmeNextWake","haxe/Timer.hx",154); - HX_STACK_ARG(limit,"limit"); - HX_STACK_LINE(156) - Float now = (::haxe::Timer_obj::nme_time_stamp() * 1000.0); HX_STACK_VAR(now,"now"); - HX_STACK_LINE(158) - { - HX_STACK_LINE(158) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::haxe::Timer > _g1 = ::haxe::Timer_obj::sRunningTimers; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(158) - while(((_g < _g1->length))){ - HX_STACK_LINE(158) - ::haxe::Timer timer = _g1->__get(_g); HX_STACK_VAR(timer,"timer"); - HX_STACK_LINE(158) - ++(_g); - HX_STACK_LINE(160) - Float sleep = (timer->mFireAt - now); HX_STACK_VAR(sleep,"sleep"); - HX_STACK_LINE(162) - if (((sleep < limit))){ - HX_STACK_LINE(164) - limit = sleep; - HX_STACK_LINE(166) - if (((limit < (int)0))){ - HX_STACK_LINE(166) - return (int)0; - } - } - } - } - HX_STACK_LINE(176) - return (limit * 0.001); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Timer_obj,nmeNextWake,return ) - -Void Timer_obj::nmeCheckTimers( ){ -{ - HX_STACK_PUSH("Timer::nmeCheckTimers","haxe/Timer.hx",196); - HX_STACK_LINE(198) - Float now = ::haxe::Timer_obj::GetMS(); HX_STACK_VAR(now,"now"); - HX_STACK_LINE(200) - { - HX_STACK_LINE(200) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::haxe::Timer > _g1 = ::haxe::Timer_obj::sRunningTimers; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(200) - while(((_g < _g1->length))){ - HX_STACK_LINE(200) - ::haxe::Timer timer = _g1->__get(_g); HX_STACK_VAR(timer,"timer"); - HX_STACK_LINE(200) - ++(_g); - HX_STACK_LINE(202) - timer->nmeCheck(now); - } - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Timer_obj,nmeCheckTimers,(void)) - -Float Timer_obj::GetMS( ){ - HX_STACK_PUSH("Timer::GetMS","haxe/Timer.hx",209); - HX_STACK_LINE(209) - return (::haxe::Timer_obj::stamp() * 1000.0); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Timer_obj,GetMS,return ) - -::haxe::Timer Timer_obj::delay( Dynamic f,int time){ - HX_STACK_PUSH("Timer::delay","haxe/Timer.hx",217); - HX_STACK_ARG(f,"f"); - HX_STACK_ARG(time,"time"); - HX_STACK_LINE(217) - Dynamic f1 = Dynamic( Array_obj::__new().Add(f)); HX_STACK_VAR(f1,"f1"); - HX_STACK_LINE(219) - Array< ::haxe::Timer > t = Array_obj< ::haxe::Timer >::__new().Add(::haxe::Timer_obj::__new(time)); HX_STACK_VAR(t,"t"); - - HX_BEGIN_LOCAL_FUNC_S2(hx::LocalFunc,_Function_1_1,Array< ::haxe::Timer >,t,Dynamic,f1) - Void run(){ - HX_STACK_PUSH("*::_Function_1_1","haxe/Timer.hx",221); - { - HX_STACK_LINE(222) - t->__get((int)0)->stop(); - HX_STACK_LINE(223) - f1->__GetItem((int)0)().Cast< Void >(); - } - return null(); - } - HX_END_LOCAL_FUNC0((void)) - - HX_STACK_LINE(221) - t->__get((int)0)->run = Dynamic(new _Function_1_1(t,f1)); - HX_STACK_LINE(226) - return t->__get((int)0); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Timer_obj,delay,return ) - -Float Timer_obj::stamp( ){ - HX_STACK_PUSH("Timer::stamp","haxe/Timer.hx",231); - HX_STACK_LINE(231) - return ::haxe::Timer_obj::nme_time_stamp(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Timer_obj,stamp,return ) - -Dynamic Timer_obj::nme_time_stamp; - - -Timer_obj::Timer_obj() -{ - run = new __default_run(this); -} - -void Timer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Timer); - HX_MARK_MEMBER_NAME(run,"run"); - HX_MARK_MEMBER_NAME(mRunning,"mRunning"); - HX_MARK_MEMBER_NAME(mFireAt,"mFireAt"); - HX_MARK_MEMBER_NAME(mTime,"mTime"); - HX_MARK_END_CLASS(); -} - -void Timer_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(run,"run"); - HX_VISIT_MEMBER_NAME(mRunning,"mRunning"); - HX_VISIT_MEMBER_NAME(mFireAt,"mFireAt"); - HX_VISIT_MEMBER_NAME(mTime,"mTime"); -} - -Dynamic Timer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"run") ) { return run; } - break; - case 4: - if (HX_FIELD_EQ(inName,"stop") ) { return stop_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"GetMS") ) { return GetMS_dyn(); } - if (HX_FIELD_EQ(inName,"delay") ) { return delay_dyn(); } - if (HX_FIELD_EQ(inName,"stamp") ) { return stamp_dyn(); } - if (HX_FIELD_EQ(inName,"mTime") ) { return mTime; } - break; - case 7: - if (HX_FIELD_EQ(inName,"measure") ) { return measure_dyn(); } - if (HX_FIELD_EQ(inName,"mFireAt") ) { return mFireAt; } - break; - case 8: - if (HX_FIELD_EQ(inName,"nmeCheck") ) { return nmeCheck_dyn(); } - if (HX_FIELD_EQ(inName,"mRunning") ) { return mRunning; } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeNextWake") ) { return nmeNextWake_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"sRunningTimers") ) { return sRunningTimers; } - if (HX_FIELD_EQ(inName,"nmeCheckTimers") ) { return nmeCheckTimers_dyn(); } - if (HX_FIELD_EQ(inName,"nme_time_stamp") ) { return nme_time_stamp; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Timer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"run") ) { run=inValue.Cast< Dynamic >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"mTime") ) { mTime=inValue.Cast< Float >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"mFireAt") ) { mFireAt=inValue.Cast< Float >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"mRunning") ) { mRunning=inValue.Cast< bool >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"sRunningTimers") ) { sRunningTimers=inValue.Cast< Array< ::haxe::Timer > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_time_stamp") ) { nme_time_stamp=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Timer_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mRunning")); - outFields->push(HX_CSTRING("mFireAt")); - outFields->push(HX_CSTRING("mTime")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("sRunningTimers"), - HX_CSTRING("measure"), - HX_CSTRING("nmeNextWake"), - HX_CSTRING("nmeCheckTimers"), - HX_CSTRING("GetMS"), - HX_CSTRING("delay"), - HX_CSTRING("stamp"), - HX_CSTRING("nme_time_stamp"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeCheck"), - HX_CSTRING("stop"), - HX_CSTRING("run"), - HX_CSTRING("mRunning"), - HX_CSTRING("mFireAt"), - HX_CSTRING("mTime"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Timer_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Timer_obj::sRunningTimers,"sRunningTimers"); - HX_MARK_MEMBER_NAME(Timer_obj::nme_time_stamp,"nme_time_stamp"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Timer_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Timer_obj::sRunningTimers,"sRunningTimers"); - HX_VISIT_MEMBER_NAME(Timer_obj::nme_time_stamp,"nme_time_stamp"); -}; - -Class Timer_obj::__mClass; - -void Timer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.Timer"), hx::TCanCast< Timer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Timer_obj::__boot() -{ - sRunningTimers= Array_obj< ::haxe::Timer >::__new(); - nme_time_stamp= ::native::Loader_obj::load(HX_CSTRING("nme_time_stamp"),(int)0); -} - -} // end namespace haxe diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/io/Bytes.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/io/Bytes.cpp deleted file mode 100644 index 3b45b20..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/io/Bytes.cpp +++ /dev/null @@ -1,420 +0,0 @@ -#include - -#ifndef INCLUDED_StringBuf -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -namespace haxe{ -namespace io{ - -Void Bytes_obj::__construct(int length,Array< unsigned char > b) -{ -HX_STACK_PUSH("Bytes::new","/usr/lib/haxe/std/haxe/io/Bytes.hx",32); -{ - HX_STACK_LINE(33) - this->length = length; - HX_STACK_LINE(34) - this->b = b; -} -; - return null(); -} - -Bytes_obj::~Bytes_obj() { } - -Dynamic Bytes_obj::__CreateEmpty() { return new Bytes_obj; } -hx::ObjectPtr< Bytes_obj > Bytes_obj::__new(int length,Array< unsigned char > b) -{ hx::ObjectPtr< Bytes_obj > result = new Bytes_obj(); - result->__construct(length,b); - return result;} - -Dynamic Bytes_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Bytes_obj > result = new Bytes_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -Array< unsigned char > Bytes_obj::getData( ){ - HX_STACK_PUSH("Bytes::getData","/usr/lib/haxe/std/haxe/io/Bytes.hx",255); - HX_STACK_THIS(this); - HX_STACK_LINE(255) - return this->b; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Bytes_obj,getData,return ) - -::String Bytes_obj::toHex( ){ - HX_STACK_PUSH("Bytes::toHex","/usr/lib/haxe/std/haxe/io/Bytes.hx",241); - HX_STACK_THIS(this); - HX_STACK_LINE(242) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(243) - Array< Dynamic > chars = Array_obj< Dynamic >::__new(); HX_STACK_VAR(chars,"chars"); - HX_STACK_LINE(244) - ::String str = HX_CSTRING("0123456789abcdef"); HX_STACK_VAR(str,"str"); - HX_STACK_LINE(245) - { - HX_STACK_LINE(245) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = str.length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(245) - while(((_g1 < _g))){ - HX_STACK_LINE(245) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(246) - chars->push(str.charCodeAt(i)); - } - } - HX_STACK_LINE(247) - { - HX_STACK_LINE(247) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(247) - while(((_g1 < _g))){ - HX_STACK_LINE(247) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(248) - int c = this->b->__get(i); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(249) - { - HX_STACK_LINE(249) - int c1 = chars->__get((int(c) >> int((int)4))); HX_STACK_VAR(c1,"c1"); - HX_STACK_LINE(249) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode(c1); - } - HX_STACK_LINE(250) - { - HX_STACK_LINE(250) - int c1 = chars->__get((int(c) & int((int)15))); HX_STACK_VAR(c1,"c1"); - HX_STACK_LINE(250) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode(c1); - } - } - } - HX_STACK_LINE(252) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Bytes_obj,toHex,return ) - -::String Bytes_obj::toString( ){ - HX_STACK_PUSH("Bytes::toString","/usr/lib/haxe/std/haxe/io/Bytes.hx",218); - HX_STACK_THIS(this); - HX_STACK_LINE(218) - return this->readString((int)0,this->length); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Bytes_obj,toString,return ) - -::String Bytes_obj::readString( int pos,int len){ - HX_STACK_PUSH("Bytes::readString","/usr/lib/haxe/std/haxe/io/Bytes.hx",168); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(170) - if (((bool((bool((pos < (int)0)) || bool((len < (int)0)))) || bool(((pos + len) > this->length))))){ - HX_STACK_LINE(170) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(182) - ::String result = HX_CSTRING(""); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(183) - ::__hxcpp_string_of_bytes(this->b,result,pos,len); - HX_STACK_LINE(184) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC2(Bytes_obj,readString,return ) - -int Bytes_obj::compare( ::haxe::io::Bytes other){ - HX_STACK_PUSH("Bytes::compare","/usr/lib/haxe/std/haxe/io/Bytes.hx",130); - HX_STACK_THIS(this); - HX_STACK_ARG(other,"other"); - HX_STACK_LINE(154) - Array< unsigned char > b1 = this->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(155) - Array< unsigned char > b2 = other->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(156) - int len = ( (((this->length < other->length))) ? int(this->length) : int(other->length) ); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(157) - { - HX_STACK_LINE(157) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(157) - while(((_g < len))){ - HX_STACK_LINE(157) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(158) - if (((b1->__get(i) != b2->__get(i)))){ - HX_STACK_LINE(160) - return (b1->__get(i) - b2->__get(i)); - } - } - } - HX_STACK_LINE(164) - return (this->length - other->length); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Bytes_obj,compare,return ) - -::haxe::io::Bytes Bytes_obj::sub( int pos,int len){ - HX_STACK_PUSH("Bytes::sub","/usr/lib/haxe/std/haxe/io/Bytes.hx",103); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(105) - if (((bool((bool((pos < (int)0)) || bool((len < (int)0)))) || bool(((pos + len) > this->length))))){ - HX_STACK_LINE(105) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(126) - return ::haxe::io::Bytes_obj::__new(len,this->b->slice(pos,(pos + len))); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Bytes_obj,sub,return ) - -Void Bytes_obj::blit( int pos,::haxe::io::Bytes src,int srcpos,int len){ -{ - HX_STACK_PUSH("Bytes::blit","/usr/lib/haxe/std/haxe/io/Bytes.hx",71); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(src,"src"); - HX_STACK_ARG(srcpos,"srcpos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(73) - if (((bool((bool((bool((bool((pos < (int)0)) || bool((srcpos < (int)0)))) || bool((len < (int)0)))) || bool(((pos + len) > this->length)))) || bool(((srcpos + len) > src->length))))){ - HX_STACK_LINE(73) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(88) - Array< unsigned char > b1 = this->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(89) - Array< unsigned char > b2 = src->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(90) - if (((bool((b1 == b2)) && bool((pos > srcpos))))){ - HX_STACK_LINE(91) - int i = len; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(92) - while(((i > (int)0))){ - HX_STACK_LINE(93) - (i)--; - HX_STACK_LINE(94) - b1[(i + pos)] = b2->__get((i + srcpos)); - } - HX_STACK_LINE(96) - return null(); - } - HX_STACK_LINE(98) - { - HX_STACK_LINE(98) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(98) - while(((_g < len))){ - HX_STACK_LINE(98) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(99) - b1[(i + pos)] = b2->__get((i + srcpos)); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Bytes_obj,blit,(void)) - -Void Bytes_obj::set( int pos,int v){ -{ - HX_STACK_PUSH("Bytes::set","/usr/lib/haxe/std/haxe/io/Bytes.hx",53); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(53) - this->b[pos] = v; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Bytes_obj,set,(void)) - -int Bytes_obj::get( int pos){ - HX_STACK_PUSH("Bytes::get","/usr/lib/haxe/std/haxe/io/Bytes.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(37) - return this->b->__get(pos); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Bytes_obj,get,return ) - -::haxe::io::Bytes Bytes_obj::alloc( int length){ - HX_STACK_PUSH("Bytes::alloc","/usr/lib/haxe/std/haxe/io/Bytes.hx",259); - HX_STACK_ARG(length,"length"); - HX_STACK_LINE(276) - Array< unsigned char > a = Array_obj< unsigned char >::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(277) - if (((length > (int)0))){ - HX_STACK_LINE(277) - a[(length - (int)1)] = (int)0; - } - HX_STACK_LINE(278) - return ::haxe::io::Bytes_obj::__new(length,a); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Bytes_obj,alloc,return ) - -::haxe::io::Bytes Bytes_obj::ofString( ::String s){ - HX_STACK_PUSH("Bytes::ofString","/usr/lib/haxe/std/haxe/io/Bytes.hx",291); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(302) - Array< unsigned char > a = Array_obj< unsigned char >::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(303) - ::__hxcpp_bytes_of_string(a,s); - HX_STACK_LINE(304) - return ::haxe::io::Bytes_obj::__new(a->length,a); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Bytes_obj,ofString,return ) - -::haxe::io::Bytes Bytes_obj::ofData( Array< unsigned char > b){ - HX_STACK_PUSH("Bytes::ofData","/usr/lib/haxe/std/haxe/io/Bytes.hx",340); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(340) - return ::haxe::io::Bytes_obj::__new(b->length,b); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Bytes_obj,ofData,return ) - - -Bytes_obj::Bytes_obj() -{ -} - -void Bytes_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Bytes); - HX_MARK_MEMBER_NAME(b,"b"); - HX_MARK_MEMBER_NAME(length,"length"); - HX_MARK_END_CLASS(); -} - -void Bytes_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(b,"b"); - HX_VISIT_MEMBER_NAME(length,"length"); -} - -Dynamic Bytes_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"b") ) { return b; } - break; - case 3: - if (HX_FIELD_EQ(inName,"sub") ) { return sub_dyn(); } - if (HX_FIELD_EQ(inName,"set") ) { return set_dyn(); } - if (HX_FIELD_EQ(inName,"get") ) { return get_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"blit") ) { return blit_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"alloc") ) { return alloc_dyn(); } - if (HX_FIELD_EQ(inName,"toHex") ) { return toHex_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"ofData") ) { return ofData_dyn(); } - if (HX_FIELD_EQ(inName,"length") ) { return length; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getData") ) { return getData_dyn(); } - if (HX_FIELD_EQ(inName,"compare") ) { return compare_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"ofString") ) { return ofString_dyn(); } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"readString") ) { return readString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Bytes_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"b") ) { b=inValue.Cast< Array< unsigned char > >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { length=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Bytes_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("b")); - outFields->push(HX_CSTRING("length")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("alloc"), - HX_CSTRING("ofString"), - HX_CSTRING("ofData"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getData"), - HX_CSTRING("toHex"), - HX_CSTRING("toString"), - HX_CSTRING("readString"), - HX_CSTRING("compare"), - HX_CSTRING("sub"), - HX_CSTRING("blit"), - HX_CSTRING("set"), - HX_CSTRING("get"), - HX_CSTRING("b"), - HX_CSTRING("length"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Bytes_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Bytes_obj::__mClass,"__mClass"); -}; - -Class Bytes_obj::__mClass; - -void Bytes_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.Bytes"), hx::TCanCast< Bytes_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Bytes_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/io/BytesBuffer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/io/BytesBuffer.cpp deleted file mode 100644 index 47c1905..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/io/BytesBuffer.cpp +++ /dev/null @@ -1,216 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_BytesBuffer -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -namespace haxe{ -namespace io{ - -Void BytesBuffer_obj::__construct() -{ -HX_STACK_PUSH("BytesBuffer::new","/usr/lib/haxe/std/haxe/io/BytesBuffer.hx",45); -{ - HX_STACK_LINE(45) - this->b = Array_obj< unsigned char >::__new(); -} -; - return null(); -} - -BytesBuffer_obj::~BytesBuffer_obj() { } - -Dynamic BytesBuffer_obj::__CreateEmpty() { return new BytesBuffer_obj; } -hx::ObjectPtr< BytesBuffer_obj > BytesBuffer_obj::__new() -{ hx::ObjectPtr< BytesBuffer_obj > result = new BytesBuffer_obj(); - result->__construct(); - return result;} - -Dynamic BytesBuffer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BytesBuffer_obj > result = new BytesBuffer_obj(); - result->__construct(); - return result;} - -::haxe::io::Bytes BytesBuffer_obj::getBytes( ){ - HX_STACK_PUSH("BytesBuffer::getBytes","/usr/lib/haxe/std/haxe/io/BytesBuffer.hx",126); - HX_STACK_THIS(this); - HX_STACK_LINE(142) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::__new(this->b->length,this->b); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(144) - this->b = null(); - HX_STACK_LINE(145) - return bytes; -} - - -HX_DEFINE_DYNAMIC_FUNC0(BytesBuffer_obj,getBytes,return ) - -Void BytesBuffer_obj::addBytes( ::haxe::io::Bytes src,int pos,int len){ -{ - HX_STACK_PUSH("BytesBuffer::addBytes","/usr/lib/haxe/std/haxe/io/BytesBuffer.hx",100); - HX_STACK_THIS(this); - HX_STACK_ARG(src,"src"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(102) - if (((bool((bool((pos < (int)0)) || bool((len < (int)0)))) || bool(((pos + len) > src->length))))){ - HX_STACK_LINE(102) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(115) - Array< unsigned char > b1 = this->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(116) - Array< unsigned char > b2 = src->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(117) - { - HX_STACK_LINE(117) - int _g1 = pos; HX_STACK_VAR(_g1,"_g1"); - int _g = (pos + len); HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(117) - while(((_g1 < _g))){ - HX_STACK_LINE(117) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(118) - this->b->push(b2->__get(i)); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(BytesBuffer_obj,addBytes,(void)) - -Void BytesBuffer_obj::add( ::haxe::io::Bytes src){ -{ - HX_STACK_PUSH("BytesBuffer::add","/usr/lib/haxe/std/haxe/io/BytesBuffer.hx",81); - HX_STACK_THIS(this); - HX_STACK_ARG(src,"src"); - HX_STACK_LINE(93) - Array< unsigned char > b1 = this->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(94) - Array< unsigned char > b2 = src->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(95) - { - HX_STACK_LINE(95) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = src->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(95) - while(((_g1 < _g))){ - HX_STACK_LINE(95) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(96) - this->b->push(b2->__get(i)); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BytesBuffer_obj,add,(void)) - -Void BytesBuffer_obj::addByte( int byte){ -{ - HX_STACK_PUSH("BytesBuffer::addByte","/usr/lib/haxe/std/haxe/io/BytesBuffer.hx",63); - HX_STACK_THIS(this); - HX_STACK_ARG(byte,"byte"); - HX_STACK_LINE(63) - this->b->push(byte); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BytesBuffer_obj,addByte,(void)) - - -BytesBuffer_obj::BytesBuffer_obj() -{ -} - -void BytesBuffer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BytesBuffer); - HX_MARK_MEMBER_NAME(b,"b"); - HX_MARK_END_CLASS(); -} - -void BytesBuffer_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(b,"b"); -} - -Dynamic BytesBuffer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"b") ) { return b; } - break; - case 3: - if (HX_FIELD_EQ(inName,"add") ) { return add_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"addByte") ) { return addByte_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"getBytes") ) { return getBytes_dyn(); } - if (HX_FIELD_EQ(inName,"addBytes") ) { return addBytes_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BytesBuffer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"b") ) { b=inValue.Cast< Array< unsigned char > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BytesBuffer_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("b")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getBytes"), - HX_CSTRING("addBytes"), - HX_CSTRING("add"), - HX_CSTRING("addByte"), - HX_CSTRING("b"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BytesBuffer_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BytesBuffer_obj::__mClass,"__mClass"); -}; - -Class BytesBuffer_obj::__mClass; - -void BytesBuffer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.BytesBuffer"), hx::TCanCast< BytesBuffer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BytesBuffer_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/io/Eof.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/io/Eof.cpp deleted file mode 100644 index 086eb38..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/io/Eof.cpp +++ /dev/null @@ -1,104 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Eof -#include -#endif -namespace haxe{ -namespace io{ - -Void Eof_obj::__construct() -{ -HX_STACK_PUSH("Eof::new","/usr/lib/haxe/std/haxe/io/Eof.hx",31); -{ -} -; - return null(); -} - -Eof_obj::~Eof_obj() { } - -Dynamic Eof_obj::__CreateEmpty() { return new Eof_obj; } -hx::ObjectPtr< Eof_obj > Eof_obj::__new() -{ hx::ObjectPtr< Eof_obj > result = new Eof_obj(); - result->__construct(); - return result;} - -Dynamic Eof_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Eof_obj > result = new Eof_obj(); - result->__construct(); - return result;} - -::String Eof_obj::toString( ){ - HX_STACK_PUSH("Eof::toString","/usr/lib/haxe/std/haxe/io/Eof.hx",33); - HX_STACK_THIS(this); - HX_STACK_LINE(33) - return HX_CSTRING("Eof"); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Eof_obj,toString,return ) - - -Eof_obj::Eof_obj() -{ -} - -void Eof_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Eof); - HX_MARK_END_CLASS(); -} - -void Eof_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Eof_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Eof_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Eof_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Eof_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Eof_obj::__mClass,"__mClass"); -}; - -Class Eof_obj::__mClass; - -void Eof_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.Eof"), hx::TCanCast< Eof_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Eof_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/io/Error.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/io/Error.cpp deleted file mode 100644 index f245d9e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/io/Error.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Error -#include -#endif -namespace haxe{ -namespace io{ - -::haxe::io::Error Error_obj::Blocked; - -::haxe::io::Error Error_obj::Custom(Dynamic e) - { return hx::CreateEnum< Error_obj >(HX_CSTRING("Custom"),3,hx::DynamicArray(0,1).Add(e)); } - -::haxe::io::Error Error_obj::OutsideBounds; - -::haxe::io::Error Error_obj::Overflow; - -HX_DEFINE_CREATE_ENUM(Error_obj) - -int Error_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("Blocked")) return 0; - if (inName==HX_CSTRING("Custom")) return 3; - if (inName==HX_CSTRING("OutsideBounds")) return 2; - if (inName==HX_CSTRING("Overflow")) return 1; - return super::__FindIndex(inName); -} - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Error_obj,Custom,return) - -int Error_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("Blocked")) return 0; - if (inName==HX_CSTRING("Custom")) return 1; - if (inName==HX_CSTRING("OutsideBounds")) return 0; - if (inName==HX_CSTRING("Overflow")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic Error_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("Blocked")) return Blocked; - if (inName==HX_CSTRING("Custom")) return Custom_dyn(); - if (inName==HX_CSTRING("OutsideBounds")) return OutsideBounds; - if (inName==HX_CSTRING("Overflow")) return Overflow; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("Blocked"), - HX_CSTRING("Overflow"), - HX_CSTRING("OutsideBounds"), - HX_CSTRING("Custom"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Error_obj::Blocked,"Blocked"); - HX_MARK_MEMBER_NAME(Error_obj::OutsideBounds,"OutsideBounds"); - HX_MARK_MEMBER_NAME(Error_obj::Overflow,"Overflow"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Error_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Error_obj::Blocked,"Blocked"); - HX_VISIT_MEMBER_NAME(Error_obj::OutsideBounds,"OutsideBounds"); - HX_VISIT_MEMBER_NAME(Error_obj::Overflow,"Overflow"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class Error_obj::__mClass; - -Dynamic __Create_Error_obj() { return new Error_obj; } - -void Error_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.Error"), hx::TCanCast< Error_obj >,sStaticFields,sMemberFields, - &__Create_Error_obj, &__Create, - &super::__SGetClass(), &CreateError_obj, sMarkStatics, sVisitStatic); -} - -void Error_obj::__boot() -{ -Static(Blocked) = hx::CreateEnum< Error_obj >(HX_CSTRING("Blocked"),0); -Static(OutsideBounds) = hx::CreateEnum< Error_obj >(HX_CSTRING("OutsideBounds"),2); -Static(Overflow) = hx::CreateEnum< Error_obj >(HX_CSTRING("Overflow"),1); -} - - -} // end namespace haxe -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/io/Input.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/io/Input.cpp deleted file mode 100644 index 8ee4015..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/io/Input.cpp +++ /dev/null @@ -1,651 +0,0 @@ -#include - -#ifndef INCLUDED_StringBuf -#include -#endif -#ifndef INCLUDED_cpp_CppInt32__ -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_BytesBuffer -#include -#endif -#ifndef INCLUDED_haxe_io_Eof -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -namespace haxe{ -namespace io{ - -Void Input_obj::__construct() -{ - return null(); -} - -Input_obj::~Input_obj() { } - -Dynamic Input_obj::__CreateEmpty() { return new Input_obj; } -hx::ObjectPtr< Input_obj > Input_obj::__new() -{ hx::ObjectPtr< Input_obj > result = new Input_obj(); - result->__construct(); - return result;} - -Dynamic Input_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Input_obj > result = new Input_obj(); - result->__construct(); - return result;} - -::String Input_obj::readString( int len){ - HX_STACK_PUSH("Input::readString","/usr/lib/haxe/std/haxe/io/Input.hx",408); - HX_STACK_THIS(this); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(409) - ::haxe::io::Bytes b = ::haxe::io::Bytes_obj::alloc(len); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(410) - this->readFullBytes(b,(int)0,len); - HX_STACK_LINE(414) - return b->toString(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Input_obj,readString,return ) - -::cpp::CppInt32__ Input_obj::readInt32( ){ - HX_STACK_PUSH("Input::readInt32","/usr/lib/haxe/std/haxe/io/Input.hx",393); - HX_STACK_THIS(this); - HX_STACK_LINE(394) - int ch1 = this->readByte(); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(395) - int ch2 = this->readByte(); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(396) - int ch3 = this->readByte(); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(397) - int ch4 = this->readByte(); HX_STACK_VAR(ch4,"ch4"); - HX_STACK_LINE(404) - return ( ((this->bigEndian)) ? ::cpp::CppInt32__(::cpp::CppInt32___obj::make((int((int(ch1) << int((int)8))) | int(ch2)),(int((int(ch3) << int((int)8))) | int(ch4)))) : ::cpp::CppInt32__(::cpp::CppInt32___obj::make((int((int(ch4) << int((int)8))) | int(ch3)),(int((int(ch2) << int((int)8))) | int(ch1)))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readInt32,return ) - -int Input_obj::readUInt30( ){ - HX_STACK_PUSH("Input::readUInt30","/usr/lib/haxe/std/haxe/io/Input.hx",384); - HX_STACK_THIS(this); - HX_STACK_LINE(385) - int ch1 = this->readByte(); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(386) - int ch2 = this->readByte(); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(387) - int ch3 = this->readByte(); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(388) - int ch4 = this->readByte(); HX_STACK_VAR(ch4,"ch4"); - HX_STACK_LINE(389) - if ((((( ((this->bigEndian)) ? int(ch1) : int(ch4) )) >= (int)64))){ - HX_STACK_LINE(389) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(390) - return ( ((this->bigEndian)) ? int((int((int((int(ch4) | int((int(ch3) << int((int)8))))) | int((int(ch2) << int((int)16))))) | int((int(ch1) << int((int)24))))) : int((int((int((int(ch1) | int((int(ch2) << int((int)8))))) | int((int(ch3) << int((int)16))))) | int((int(ch4) << int((int)24))))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readUInt30,return ) - -int Input_obj::readInt31( ){ - HX_STACK_PUSH("Input::readInt31","/usr/lib/haxe/std/haxe/io/Input.hx",367); - HX_STACK_THIS(this); - HX_STACK_LINE(368) - int ch1; HX_STACK_VAR(ch1,"ch1"); - int ch2; HX_STACK_VAR(ch2,"ch2"); - int ch3; HX_STACK_VAR(ch3,"ch3"); - int ch4; HX_STACK_VAR(ch4,"ch4"); - HX_STACK_LINE(369) - if ((this->bigEndian)){ - HX_STACK_LINE(370) - ch4 = this->readByte(); - HX_STACK_LINE(371) - ch3 = this->readByte(); - HX_STACK_LINE(372) - ch2 = this->readByte(); - HX_STACK_LINE(373) - ch1 = this->readByte(); - } - else{ - HX_STACK_LINE(375) - ch1 = this->readByte(); - HX_STACK_LINE(376) - ch2 = this->readByte(); - HX_STACK_LINE(377) - ch3 = this->readByte(); - HX_STACK_LINE(378) - ch4 = this->readByte(); - } - HX_STACK_LINE(380) - if ((((((int(ch4) & int((int)128))) == (int)0) != ((((int(ch4) & int((int)64))) == (int)0))))){ - HX_STACK_LINE(380) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(381) - return (int((int((int(ch1) | int((int(ch2) << int((int)8))))) | int((int(ch3) << int((int)16))))) | int((int(ch4) << int((int)24)))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readInt31,return ) - -int Input_obj::readUInt24( ){ - HX_STACK_PUSH("Input::readUInt24","/usr/lib/haxe/std/haxe/io/Input.hx",360); - HX_STACK_THIS(this); - HX_STACK_LINE(361) - int ch1 = this->readByte(); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(362) - int ch2 = this->readByte(); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(363) - int ch3 = this->readByte(); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(364) - return ( ((this->bigEndian)) ? int((int((int(ch3) | int((int(ch2) << int((int)8))))) | int((int(ch1) << int((int)16))))) : int((int((int(ch1) | int((int(ch2) << int((int)8))))) | int((int(ch3) << int((int)16))))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readUInt24,return ) - -int Input_obj::readInt24( ){ - HX_STACK_PUSH("Input::readInt24","/usr/lib/haxe/std/haxe/io/Input.hx",350); - HX_STACK_THIS(this); - HX_STACK_LINE(351) - int ch1 = this->readByte(); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(352) - int ch2 = this->readByte(); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(353) - int ch3 = this->readByte(); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(354) - int n = ( ((this->bigEndian)) ? int((int((int(ch3) | int((int(ch2) << int((int)8))))) | int((int(ch1) << int((int)16))))) : int((int((int(ch1) | int((int(ch2) << int((int)8))))) | int((int(ch3) << int((int)16))))) ); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(355) - if (((((int(n) & int((int)8388608))) != (int)0))){ - HX_STACK_LINE(356) - return (n - (int)16777216); - } - HX_STACK_LINE(357) - return n; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readInt24,return ) - -int Input_obj::readUInt16( ){ - HX_STACK_PUSH("Input::readUInt16","/usr/lib/haxe/std/haxe/io/Input.hx",344); - HX_STACK_THIS(this); - HX_STACK_LINE(345) - int ch1 = this->readByte(); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(346) - int ch2 = this->readByte(); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(347) - return ( ((this->bigEndian)) ? int((int(ch2) | int((int(ch1) << int((int)8))))) : int((int(ch1) | int((int(ch2) << int((int)8))))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readUInt16,return ) - -int Input_obj::readInt16( ){ - HX_STACK_PUSH("Input::readInt16","/usr/lib/haxe/std/haxe/io/Input.hx",335); - HX_STACK_THIS(this); - HX_STACK_LINE(336) - int ch1 = this->readByte(); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(337) - int ch2 = this->readByte(); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(338) - int n = ( ((this->bigEndian)) ? int((int(ch2) | int((int(ch1) << int((int)8))))) : int((int(ch1) | int((int(ch2) << int((int)8))))) ); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(339) - if (((((int(n) & int((int)32768))) != (int)0))){ - HX_STACK_LINE(340) - return (n - (int)65536); - } - HX_STACK_LINE(341) - return n; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readInt16,return ) - -int Input_obj::readInt8( ){ - HX_STACK_PUSH("Input::readInt8","/usr/lib/haxe/std/haxe/io/Input.hx",328); - HX_STACK_THIS(this); - HX_STACK_LINE(329) - int n = this->readByte(); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(330) - if (((n >= (int)128))){ - HX_STACK_LINE(331) - return (n - (int)256); - } - HX_STACK_LINE(332) - return n; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readInt8,return ) - -Float Input_obj::readDouble( ){ - HX_STACK_PUSH("Input::readDouble","/usr/lib/haxe/std/haxe/io/Input.hx",255); - HX_STACK_THIS(this); - HX_STACK_LINE(255) - return ::haxe::io::Input_obj::_double_of_bytes(this->read((int)8)->b,this->bigEndian); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readDouble,return ) - -Float Input_obj::readFloat( ){ - HX_STACK_PUSH("Input::readFloat","/usr/lib/haxe/std/haxe/io/Input.hx",201); - HX_STACK_THIS(this); - HX_STACK_LINE(201) - return ::haxe::io::Input_obj::_float_of_bytes(this->read((int)4)->b,this->bigEndian); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readFloat,return ) - -::String Input_obj::readLine( ){ - HX_STACK_PUSH("Input::readLine","/usr/lib/haxe/std/haxe/io/Input.hx",184); - HX_STACK_THIS(this); - HX_STACK_LINE(185) - ::StringBuf buf = ::StringBuf_obj::__new(); HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(186) - int last; HX_STACK_VAR(last,"last"); - HX_STACK_LINE(187) - ::String s; HX_STACK_VAR(s,"s"); - HX_STACK_LINE(188) - try{ - HX_STACK_LINE(189) - while((((last = this->readByte()) != (int)10))){ - HX_STACK_LINE(190) - hx::IndexRef((buf->b).mPtr,buf->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode(last); - } - HX_STACK_LINE(191) - s = buf->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); - HX_STACK_LINE(192) - if (((s.charCodeAt((s.length - (int)1)) == (int)13))){ - HX_STACK_LINE(192) - s = s.substr((int)0,(int)-1); - } - } - catch(Dynamic __e){ - if (__e.IsClass< ::haxe::io::Eof >() ){ - ::haxe::io::Eof e = __e;{ - HX_STACK_LINE(194) - s = buf->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); - HX_STACK_LINE(195) - if (((s.length == (int)0))){ - HX_STACK_LINE(196) - hx::Throw (e); - } - } - } - else throw(__e); - } - HX_STACK_LINE(198) - return s; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readLine,return ) - -::String Input_obj::readUntil( int end){ - HX_STACK_PUSH("Input::readUntil","/usr/lib/haxe/std/haxe/io/Input.hx",176); - HX_STACK_THIS(this); - HX_STACK_ARG(end,"end"); - HX_STACK_LINE(177) - ::StringBuf buf = ::StringBuf_obj::__new(); HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(178) - int last; HX_STACK_VAR(last,"last"); - HX_STACK_LINE(179) - while((((last = this->readByte()) != end))){ - HX_STACK_LINE(180) - hx::IndexRef((buf->b).mPtr,buf->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode(last); - } - HX_STACK_LINE(181) - return buf->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Input_obj,readUntil,return ) - -::haxe::io::Bytes Input_obj::read( int nbytes){ - HX_STACK_PUSH("Input::read","/usr/lib/haxe/std/haxe/io/Input.hx",164); - HX_STACK_THIS(this); - HX_STACK_ARG(nbytes,"nbytes"); - HX_STACK_LINE(165) - ::haxe::io::Bytes s = ::haxe::io::Bytes_obj::alloc(nbytes); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(166) - int p = (int)0; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(167) - while(((nbytes > (int)0))){ - HX_STACK_LINE(168) - int k = this->readBytes(s,p,nbytes); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(169) - if (((k == (int)0))){ - HX_STACK_LINE(169) - hx::Throw (::haxe::io::Error_obj::Blocked_dyn()); - } - HX_STACK_LINE(170) - hx::AddEq(p,k); - HX_STACK_LINE(171) - hx::SubEq(nbytes,k); - } - HX_STACK_LINE(173) - return s; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Input_obj,read,return ) - -Void Input_obj::readFullBytes( ::haxe::io::Bytes s,int pos,int len){ -{ - HX_STACK_PUSH("Input::readFullBytes","/usr/lib/haxe/std/haxe/io/Input.hx",156); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(156) - while(((len > (int)0))){ - HX_STACK_LINE(158) - int k = this->readBytes(s,pos,len); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(159) - hx::AddEq(pos,k); - HX_STACK_LINE(160) - hx::SubEq(len,k); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Input_obj,readFullBytes,(void)) - -::haxe::io::Bytes Input_obj::readAll( Dynamic bufsize){ - HX_STACK_PUSH("Input::readAll","/usr/lib/haxe/std/haxe/io/Input.hx",80); - HX_STACK_THIS(this); - HX_STACK_ARG(bufsize,"bufsize"); - HX_STACK_LINE(81) - if (((bufsize == null()))){ - HX_STACK_LINE(85) - bufsize = (int)16384; - } - HX_STACK_LINE(141) - ::haxe::io::Bytes buf = ::haxe::io::Bytes_obj::alloc(bufsize); HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(142) - ::haxe::io::BytesBuffer total = ::haxe::io::BytesBuffer_obj::__new(); HX_STACK_VAR(total,"total"); - HX_STACK_LINE(143) - try{ - HX_STACK_LINE(143) - while((true)){ - HX_STACK_LINE(145) - int len = this->readBytes(buf,(int)0,bufsize); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(146) - if (((len == (int)0))){ - HX_STACK_LINE(147) - hx::Throw (::haxe::io::Error_obj::Blocked_dyn()); - } - HX_STACK_LINE(148) - { - HX_STACK_LINE(148) - if (((bool((len < (int)0)) || bool((len > buf->length))))){ - HX_STACK_LINE(148) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(148) - Array< unsigned char > b1 = total->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(148) - Array< unsigned char > b2 = buf->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(148) - { - HX_STACK_LINE(148) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = len; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(148) - while(((_g1 < _g))){ - HX_STACK_LINE(148) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(148) - total->b->push(b2->__get(i)); - } - } - } - } - } - catch(Dynamic __e){ - if (__e.IsClass< ::haxe::io::Eof >() ){ - ::haxe::io::Eof e = __e;{ - } - } - else throw(__e); - } - HX_STACK_LINE(152) - return total->getBytes(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Input_obj,readAll,return ) - -bool Input_obj::setEndian( bool b){ - HX_STACK_PUSH("Input::setEndian","/usr/lib/haxe/std/haxe/io/Input.hx",73); - HX_STACK_THIS(this); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(74) - this->bigEndian = b; - HX_STACK_LINE(75) - return b; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Input_obj,setEndian,return ) - -Void Input_obj::close( ){ -{ - HX_STACK_PUSH("Input::close","/usr/lib/haxe/std/haxe/io/Input.hx",70); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,close,(void)) - -int Input_obj::readBytes( ::haxe::io::Bytes s,int pos,int len){ - HX_STACK_PUSH("Input::readBytes","/usr/lib/haxe/std/haxe/io/Input.hx",49); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(50) - int k = len; HX_STACK_VAR(k,"k"); - HX_STACK_LINE(51) - Array< unsigned char > b = s->b; HX_STACK_VAR(b,"b"); - HX_STACK_LINE(52) - if (((bool((bool((pos < (int)0)) || bool((len < (int)0)))) || bool(((pos + len) > s->length))))){ - HX_STACK_LINE(53) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(54) - while(((k > (int)0))){ - HX_STACK_LINE(60) - b[pos] = this->readByte(); - HX_STACK_LINE(64) - (pos)++; - HX_STACK_LINE(65) - (k)--; - } - HX_STACK_LINE(67) - return len; -} - - -HX_DEFINE_DYNAMIC_FUNC3(Input_obj,readBytes,return ) - -int Input_obj::readByte( ){ - HX_STACK_PUSH("Input::readByte","/usr/lib/haxe/std/haxe/io/Input.hx",40); - HX_STACK_THIS(this); - HX_STACK_LINE(42) - hx::Throw (HX_CSTRING("Not implemented")); - HX_STACK_LINE(43) - return (int)0; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readByte,return ) - -Dynamic Input_obj::_float_of_bytes; - -Dynamic Input_obj::_double_of_bytes; - - -Input_obj::Input_obj() -{ -} - -void Input_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Input); - HX_MARK_MEMBER_NAME(bigEndian,"bigEndian"); - HX_MARK_END_CLASS(); -} - -void Input_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(bigEndian,"bigEndian"); -} - -Dynamic Input_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"read") ) { return read_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"readAll") ) { return readAll_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"readInt8") ) { return readInt8_dyn(); } - if (HX_FIELD_EQ(inName,"readLine") ) { return readLine_dyn(); } - if (HX_FIELD_EQ(inName,"readByte") ) { return readByte_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"readInt32") ) { return readInt32_dyn(); } - if (HX_FIELD_EQ(inName,"readInt31") ) { return readInt31_dyn(); } - if (HX_FIELD_EQ(inName,"readInt24") ) { return readInt24_dyn(); } - if (HX_FIELD_EQ(inName,"readInt16") ) { return readInt16_dyn(); } - if (HX_FIELD_EQ(inName,"readFloat") ) { return readFloat_dyn(); } - if (HX_FIELD_EQ(inName,"readUntil") ) { return readUntil_dyn(); } - if (HX_FIELD_EQ(inName,"setEndian") ) { return setEndian_dyn(); } - if (HX_FIELD_EQ(inName,"readBytes") ) { return readBytes_dyn(); } - if (HX_FIELD_EQ(inName,"bigEndian") ) { return bigEndian; } - break; - case 10: - if (HX_FIELD_EQ(inName,"readString") ) { return readString_dyn(); } - if (HX_FIELD_EQ(inName,"readUInt30") ) { return readUInt30_dyn(); } - if (HX_FIELD_EQ(inName,"readUInt24") ) { return readUInt24_dyn(); } - if (HX_FIELD_EQ(inName,"readUInt16") ) { return readUInt16_dyn(); } - if (HX_FIELD_EQ(inName,"readDouble") ) { return readDouble_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"readFullBytes") ) { return readFullBytes_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"_float_of_bytes") ) { return _float_of_bytes; } - break; - case 16: - if (HX_FIELD_EQ(inName,"_double_of_bytes") ) { return _double_of_bytes; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Input_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"bigEndian") ) { if (inCallProp) return setEndian(inValue);bigEndian=inValue.Cast< bool >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_float_of_bytes") ) { _float_of_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"_double_of_bytes") ) { _double_of_bytes=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Input_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("bigEndian")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("_float_of_bytes"), - HX_CSTRING("_double_of_bytes"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("readString"), - HX_CSTRING("readInt32"), - HX_CSTRING("readUInt30"), - HX_CSTRING("readInt31"), - HX_CSTRING("readUInt24"), - HX_CSTRING("readInt24"), - HX_CSTRING("readUInt16"), - HX_CSTRING("readInt16"), - HX_CSTRING("readInt8"), - HX_CSTRING("readDouble"), - HX_CSTRING("readFloat"), - HX_CSTRING("readLine"), - HX_CSTRING("readUntil"), - HX_CSTRING("read"), - HX_CSTRING("readFullBytes"), - HX_CSTRING("readAll"), - HX_CSTRING("setEndian"), - HX_CSTRING("close"), - HX_CSTRING("readBytes"), - HX_CSTRING("readByte"), - HX_CSTRING("bigEndian"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Input_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Input_obj::_float_of_bytes,"_float_of_bytes"); - HX_MARK_MEMBER_NAME(Input_obj::_double_of_bytes,"_double_of_bytes"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Input_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Input_obj::_float_of_bytes,"_float_of_bytes"); - HX_VISIT_MEMBER_NAME(Input_obj::_double_of_bytes,"_double_of_bytes"); -}; - -Class Input_obj::__mClass; - -void Input_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.Input"), hx::TCanCast< Input_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Input_obj::__boot() -{ - _float_of_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("float_of_bytes"),(int)2); - _double_of_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("double_of_bytes"),(int)2); -} - -} // end namespace haxe -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/io/Output.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/io/Output.cpp deleted file mode 100644 index c3f67b4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/io/Output.cpp +++ /dev/null @@ -1,679 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_cpp_CppInt32__ -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Eof -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -#ifndef INCLUDED_haxe_io_Output -#include -#endif -namespace haxe{ -namespace io{ - -Void Output_obj::__construct() -{ - return null(); -} - -Output_obj::~Output_obj() { } - -Dynamic Output_obj::__CreateEmpty() { return new Output_obj; } -hx::ObjectPtr< Output_obj > Output_obj::__new() -{ hx::ObjectPtr< Output_obj > result = new Output_obj(); - result->__construct(); - return result;} - -Dynamic Output_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Output_obj > result = new Output_obj(); - result->__construct(); - return result;} - -Void Output_obj::writeString( ::String s){ -{ - HX_STACK_PUSH("Output::writeString","/usr/lib/haxe/std/haxe/io/Output.hx",348); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(352) - ::haxe::io::Bytes b = ::haxe::io::Bytes_obj::ofString(s); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(354) - this->writeFullBytes(b,(int)0,b->length); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeString,(void)) - -Void Output_obj::writeInput( ::haxe::io::Input i,Dynamic bufsize){ -{ - HX_STACK_PUSH("Output::writeInput","/usr/lib/haxe/std/haxe/io/Output.hx",326); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); - HX_STACK_ARG(bufsize,"bufsize"); - HX_STACK_LINE(327) - if (((bufsize == null()))){ - HX_STACK_LINE(328) - bufsize = (int)4096; - } - HX_STACK_LINE(329) - ::haxe::io::Bytes buf = ::haxe::io::Bytes_obj::alloc(bufsize); HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(330) - try{ - HX_STACK_LINE(330) - while((true)){ - HX_STACK_LINE(332) - int len = i->readBytes(buf,(int)0,bufsize); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(333) - if (((len == (int)0))){ - HX_STACK_LINE(334) - hx::Throw (::haxe::io::Error_obj::Blocked_dyn()); - } - HX_STACK_LINE(335) - int p = (int)0; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(336) - while(((len > (int)0))){ - HX_STACK_LINE(337) - int k = this->writeBytes(buf,p,len); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(338) - if (((k == (int)0))){ - HX_STACK_LINE(339) - hx::Throw (::haxe::io::Error_obj::Blocked_dyn()); - } - HX_STACK_LINE(340) - hx::AddEq(p,k); - HX_STACK_LINE(341) - hx::SubEq(len,k); - } - } - } - catch(Dynamic __e){ - if (__e.IsClass< ::haxe::io::Eof >() ){ - ::haxe::io::Eof e = __e;{ - } - } - else throw(__e); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Output_obj,writeInput,(void)) - -Void Output_obj::prepare( int nbytes){ -{ - HX_STACK_PUSH("Output::prepare","/usr/lib/haxe/std/haxe/io/Output.hx",323); - HX_STACK_THIS(this); - HX_STACK_ARG(nbytes,"nbytes"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,prepare,(void)) - -Void Output_obj::writeInt32( ::cpp::CppInt32__ x){ -{ - HX_STACK_PUSH("Output::writeInt32","/usr/lib/haxe/std/haxe/io/Output.hx",303); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(303) - if ((this->bigEndian)){ - HX_STACK_LINE(305) - this->writeByte(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::ushr(x,(int)24))); - HX_STACK_LINE(306) - this->writeByte((int(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::ushr(x,(int)16))) & int((int)255))); - HX_STACK_LINE(307) - this->writeByte((int(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::ushr(x,(int)8))) & int((int)255))); - HX_STACK_LINE(308) - this->writeByte(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::_and(x,::cpp::CppInt32___obj::ofInt((int)255)))); - } - else{ - HX_STACK_LINE(310) - this->writeByte(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::_and(x,::cpp::CppInt32___obj::ofInt((int)255)))); - HX_STACK_LINE(311) - this->writeByte((int(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::ushr(x,(int)8))) & int((int)255))); - HX_STACK_LINE(312) - this->writeByte((int(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::ushr(x,(int)16))) & int((int)255))); - HX_STACK_LINE(313) - this->writeByte(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::ushr(x,(int)24))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeInt32,(void)) - -Void Output_obj::writeUInt30( int x){ -{ - HX_STACK_PUSH("Output::writeUInt30","/usr/lib/haxe/std/haxe/io/Output.hx",288); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(289) - if (((bool((x < (int)0)) || bool((x >= (int)1073741824))))){ - HX_STACK_LINE(289) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(290) - if ((this->bigEndian)){ - HX_STACK_LINE(291) - this->writeByte(hx::UShr(x,(int)24)); - HX_STACK_LINE(292) - this->writeByte((int((int(x) >> int((int)16))) & int((int)255))); - HX_STACK_LINE(293) - this->writeByte((int((int(x) >> int((int)8))) & int((int)255))); - HX_STACK_LINE(294) - this->writeByte((int(x) & int((int)255))); - } - else{ - HX_STACK_LINE(296) - this->writeByte((int(x) & int((int)255))); - HX_STACK_LINE(297) - this->writeByte((int((int(x) >> int((int)8))) & int((int)255))); - HX_STACK_LINE(298) - this->writeByte((int((int(x) >> int((int)16))) & int((int)255))); - HX_STACK_LINE(299) - this->writeByte(hx::UShr(x,(int)24)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeUInt30,(void)) - -Void Output_obj::writeInt31( int x){ -{ - HX_STACK_PUSH("Output::writeInt31","/usr/lib/haxe/std/haxe/io/Output.hx",271); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(273) - if (((bool((x < (int)-1073741824)) || bool((x >= (int)1073741824))))){ - HX_STACK_LINE(273) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(275) - if ((this->bigEndian)){ - HX_STACK_LINE(276) - this->writeByte(hx::UShr(x,(int)24)); - HX_STACK_LINE(277) - this->writeByte((int((int(x) >> int((int)16))) & int((int)255))); - HX_STACK_LINE(278) - this->writeByte((int((int(x) >> int((int)8))) & int((int)255))); - HX_STACK_LINE(279) - this->writeByte((int(x) & int((int)255))); - } - else{ - HX_STACK_LINE(281) - this->writeByte((int(x) & int((int)255))); - HX_STACK_LINE(282) - this->writeByte((int((int(x) >> int((int)8))) & int((int)255))); - HX_STACK_LINE(283) - this->writeByte((int((int(x) >> int((int)16))) & int((int)255))); - HX_STACK_LINE(284) - this->writeByte(hx::UShr(x,(int)24)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeInt31,(void)) - -Void Output_obj::writeUInt24( int x){ -{ - HX_STACK_PUSH("Output::writeUInt24","/usr/lib/haxe/std/haxe/io/Output.hx",258); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(259) - if (((bool((x < (int)0)) || bool((x >= (int)16777216))))){ - HX_STACK_LINE(259) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(260) - if ((this->bigEndian)){ - HX_STACK_LINE(261) - this->writeByte((int(x) >> int((int)16))); - HX_STACK_LINE(262) - this->writeByte((int((int(x) >> int((int)8))) & int((int)255))); - HX_STACK_LINE(263) - this->writeByte((int(x) & int((int)255))); - } - else{ - HX_STACK_LINE(265) - this->writeByte((int(x) & int((int)255))); - HX_STACK_LINE(266) - this->writeByte((int((int(x) >> int((int)8))) & int((int)255))); - HX_STACK_LINE(267) - this->writeByte((int(x) >> int((int)16))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeUInt24,(void)) - -Void Output_obj::writeInt24( int x){ -{ - HX_STACK_PUSH("Output::writeInt24","/usr/lib/haxe/std/haxe/io/Output.hx",253); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(254) - if (((bool((x < (int)-8388608)) || bool((x >= (int)8388608))))){ - HX_STACK_LINE(254) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(255) - this->writeUInt24((int(x) & int((int)16777215))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeInt24,(void)) - -Void Output_obj::writeUInt16( int x){ -{ - HX_STACK_PUSH("Output::writeUInt16","/usr/lib/haxe/std/haxe/io/Output.hx",242); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(243) - if (((bool((x < (int)0)) || bool((x >= (int)65536))))){ - HX_STACK_LINE(243) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(244) - if ((this->bigEndian)){ - HX_STACK_LINE(245) - this->writeByte((int(x) >> int((int)8))); - HX_STACK_LINE(246) - this->writeByte((int(x) & int((int)255))); - } - else{ - HX_STACK_LINE(248) - this->writeByte((int(x) & int((int)255))); - HX_STACK_LINE(249) - this->writeByte((int(x) >> int((int)8))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeUInt16,(void)) - -Void Output_obj::writeInt16( int x){ -{ - HX_STACK_PUSH("Output::writeInt16","/usr/lib/haxe/std/haxe/io/Output.hx",237); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(238) - if (((bool((x < (int)-32768)) || bool((x >= (int)32768))))){ - HX_STACK_LINE(238) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(239) - this->writeUInt16((int(x) & int((int)65535))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeInt16,(void)) - -Void Output_obj::writeInt8( int x){ -{ - HX_STACK_PUSH("Output::writeInt8","/usr/lib/haxe/std/haxe/io/Output.hx",231); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(232) - if (((bool((x < (int)-128)) || bool((x >= (int)128))))){ - HX_STACK_LINE(233) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(234) - this->writeByte((int(x) & int((int)255))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeInt8,(void)) - -Void Output_obj::writeDouble( Float x){ -{ - HX_STACK_PUSH("Output::writeDouble","/usr/lib/haxe/std/haxe/io/Output.hx",154); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(154) - this->write(::haxe::io::Bytes_obj::ofData(::haxe::io::Output_obj::_double_bytes(x,this->bigEndian))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeDouble,(void)) - -Void Output_obj::writeFloat( Float x){ -{ - HX_STACK_PUSH("Output::writeFloat","/usr/lib/haxe/std/haxe/io/Output.hx",100); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(100) - this->write(::haxe::io::Bytes_obj::ofData(::haxe::io::Output_obj::_float_bytes(x,this->bigEndian))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeFloat,(void)) - -Void Output_obj::writeFullBytes( ::haxe::io::Bytes s,int pos,int len){ -{ - HX_STACK_PUSH("Output::writeFullBytes","/usr/lib/haxe/std/haxe/io/Output.hx",92); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(92) - while(((len > (int)0))){ - HX_STACK_LINE(94) - int k = this->writeBytes(s,pos,len); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(95) - hx::AddEq(pos,k); - HX_STACK_LINE(96) - hx::SubEq(len,k); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Output_obj,writeFullBytes,(void)) - -Void Output_obj::write( ::haxe::io::Bytes s){ -{ - HX_STACK_PUSH("Output::write","/usr/lib/haxe/std/haxe/io/Output.hx",81); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(82) - int l = s->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(83) - int p = (int)0; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(84) - while(((l > (int)0))){ - HX_STACK_LINE(85) - int k = this->writeBytes(s,p,l); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(86) - if (((k == (int)0))){ - HX_STACK_LINE(86) - hx::Throw (::haxe::io::Error_obj::Blocked_dyn()); - } - HX_STACK_LINE(87) - hx::AddEq(p,k); - HX_STACK_LINE(88) - hx::SubEq(l,k); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,write,(void)) - -bool Output_obj::setEndian( bool b){ - HX_STACK_PUSH("Output::setEndian","/usr/lib/haxe/std/haxe/io/Output.hx",74); - HX_STACK_THIS(this); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(75) - this->bigEndian = b; - HX_STACK_LINE(76) - return b; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,setEndian,return ) - -Void Output_obj::close( ){ -{ - HX_STACK_PUSH("Output::close","/usr/lib/haxe/std/haxe/io/Output.hx",71); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Output_obj,close,(void)) - -Void Output_obj::flush( ){ -{ - HX_STACK_PUSH("Output::flush","/usr/lib/haxe/std/haxe/io/Output.hx",68); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Output_obj,flush,(void)) - -int Output_obj::writeBytes( ::haxe::io::Bytes s,int pos,int len){ - HX_STACK_PUSH("Output::writeBytes","/usr/lib/haxe/std/haxe/io/Output.hx",45); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(46) - int k = len; HX_STACK_VAR(k,"k"); - HX_STACK_LINE(47) - Array< unsigned char > b = s->b; HX_STACK_VAR(b,"b"); - HX_STACK_LINE(49) - if (((bool((bool((pos < (int)0)) || bool((len < (int)0)))) || bool(((pos + len) > s->length))))){ - HX_STACK_LINE(50) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(52) - while(((k > (int)0))){ - HX_STACK_LINE(58) - this->writeByte(b->__get(pos)); - HX_STACK_LINE(62) - (pos)++; - HX_STACK_LINE(63) - (k)--; - } - HX_STACK_LINE(65) - return len; -} - - -HX_DEFINE_DYNAMIC_FUNC3(Output_obj,writeBytes,return ) - -Void Output_obj::writeByte( int c){ -{ - HX_STACK_PUSH("Output::writeByte","/usr/lib/haxe/std/haxe/io/Output.hx",41); - HX_STACK_THIS(this); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(41) - hx::Throw (HX_CSTRING("Not implemented")); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeByte,(void)) - -Float Output_obj::LN2; - -Dynamic Output_obj::_float_bytes; - -Dynamic Output_obj::_double_bytes; - - -Output_obj::Output_obj() -{ -} - -void Output_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Output); - HX_MARK_MEMBER_NAME(bigEndian,"bigEndian"); - HX_MARK_END_CLASS(); -} - -void Output_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(bigEndian,"bigEndian"); -} - -Dynamic Output_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"LN2") ) { return LN2; } - break; - case 5: - if (HX_FIELD_EQ(inName,"write") ) { return write_dyn(); } - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"flush") ) { return flush_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"prepare") ) { return prepare_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"writeInt8") ) { return writeInt8_dyn(); } - if (HX_FIELD_EQ(inName,"setEndian") ) { return setEndian_dyn(); } - if (HX_FIELD_EQ(inName,"writeByte") ) { return writeByte_dyn(); } - if (HX_FIELD_EQ(inName,"bigEndian") ) { return bigEndian; } - break; - case 10: - if (HX_FIELD_EQ(inName,"writeInput") ) { return writeInput_dyn(); } - if (HX_FIELD_EQ(inName,"writeInt32") ) { return writeInt32_dyn(); } - if (HX_FIELD_EQ(inName,"writeInt31") ) { return writeInt31_dyn(); } - if (HX_FIELD_EQ(inName,"writeInt24") ) { return writeInt24_dyn(); } - if (HX_FIELD_EQ(inName,"writeInt16") ) { return writeInt16_dyn(); } - if (HX_FIELD_EQ(inName,"writeFloat") ) { return writeFloat_dyn(); } - if (HX_FIELD_EQ(inName,"writeBytes") ) { return writeBytes_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"writeString") ) { return writeString_dyn(); } - if (HX_FIELD_EQ(inName,"writeUInt30") ) { return writeUInt30_dyn(); } - if (HX_FIELD_EQ(inName,"writeUInt24") ) { return writeUInt24_dyn(); } - if (HX_FIELD_EQ(inName,"writeUInt16") ) { return writeUInt16_dyn(); } - if (HX_FIELD_EQ(inName,"writeDouble") ) { return writeDouble_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_float_bytes") ) { return _float_bytes; } - break; - case 13: - if (HX_FIELD_EQ(inName,"_double_bytes") ) { return _double_bytes; } - break; - case 14: - if (HX_FIELD_EQ(inName,"writeFullBytes") ) { return writeFullBytes_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Output_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"LN2") ) { LN2=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"bigEndian") ) { if (inCallProp) return setEndian(inValue);bigEndian=inValue.Cast< bool >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_float_bytes") ) { _float_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"_double_bytes") ) { _double_bytes=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Output_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("bigEndian")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("LN2"), - HX_CSTRING("_float_bytes"), - HX_CSTRING("_double_bytes"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("writeString"), - HX_CSTRING("writeInput"), - HX_CSTRING("prepare"), - HX_CSTRING("writeInt32"), - HX_CSTRING("writeUInt30"), - HX_CSTRING("writeInt31"), - HX_CSTRING("writeUInt24"), - HX_CSTRING("writeInt24"), - HX_CSTRING("writeUInt16"), - HX_CSTRING("writeInt16"), - HX_CSTRING("writeInt8"), - HX_CSTRING("writeDouble"), - HX_CSTRING("writeFloat"), - HX_CSTRING("writeFullBytes"), - HX_CSTRING("write"), - HX_CSTRING("setEndian"), - HX_CSTRING("close"), - HX_CSTRING("flush"), - HX_CSTRING("writeBytes"), - HX_CSTRING("writeByte"), - HX_CSTRING("bigEndian"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Output_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Output_obj::LN2,"LN2"); - HX_MARK_MEMBER_NAME(Output_obj::_float_bytes,"_float_bytes"); - HX_MARK_MEMBER_NAME(Output_obj::_double_bytes,"_double_bytes"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Output_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Output_obj::LN2,"LN2"); - HX_VISIT_MEMBER_NAME(Output_obj::_float_bytes,"_float_bytes"); - HX_VISIT_MEMBER_NAME(Output_obj::_double_bytes,"_double_bytes"); -}; - -Class Output_obj::__mClass; - -void Output_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.Output"), hx::TCanCast< Output_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Output_obj::__boot() -{ - LN2= ::Math_obj::log((int)2); - _float_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("float_bytes"),(int)2); - _double_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("double_bytes"),(int)2); -} - -} // end namespace haxe -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/xml/Fast.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/xml/Fast.cpp deleted file mode 100644 index 08023af..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/xml/Fast.cpp +++ /dev/null @@ -1,349 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_StringBuf -#include -#endif -#ifndef INCLUDED_StringTools -#include -#endif -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_XmlType -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasAttribAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasNodeAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_NodeAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_NodeListAccess -#include -#endif -namespace haxe{ -namespace xml{ - -Void Fast_obj::__construct(::Xml x) -{ -HX_STACK_PUSH("Fast::new","/usr/lib/haxe/std/haxe/xml/Fast.hx",125); -{ - HX_STACK_LINE(126) - if (((bool((x->nodeType != ::Xml_obj::Document)) && bool((x->nodeType != ::Xml_obj::Element))))){ - HX_STACK_LINE(127) - hx::Throw ((HX_CSTRING("Invalid nodeType ") + ::Std_obj::string(x->nodeType))); - } - HX_STACK_LINE(128) - this->x = x; - HX_STACK_LINE(129) - this->node = ::haxe::xml::_Fast::NodeAccess_obj::__new(x); - HX_STACK_LINE(130) - this->nodes = ::haxe::xml::_Fast::NodeListAccess_obj::__new(x); - HX_STACK_LINE(131) - this->att = ::haxe::xml::_Fast::AttribAccess_obj::__new(x); - HX_STACK_LINE(132) - this->has = ::haxe::xml::_Fast::HasAttribAccess_obj::__new(x); - HX_STACK_LINE(133) - this->hasNode = ::haxe::xml::_Fast::HasNodeAccess_obj::__new(x); -} -; - return null(); -} - -Fast_obj::~Fast_obj() { } - -Dynamic Fast_obj::__CreateEmpty() { return new Fast_obj; } -hx::ObjectPtr< Fast_obj > Fast_obj::__new(::Xml x) -{ hx::ObjectPtr< Fast_obj > result = new Fast_obj(); - result->__construct(x); - return result;} - -Dynamic Fast_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Fast_obj > result = new Fast_obj(); - result->__construct(inArgs[0]); - return result;} - -Dynamic Fast_obj::getElements( ){ - HX_STACK_PUSH("Fast::getElements","/usr/lib/haxe/std/haxe/xml/Fast.hx",167); - HX_STACK_THIS(this); - HX_STACK_LINE(168) - Dynamic it = Dynamic( Array_obj::__new().Add(this->x->elements())); HX_STACK_VAR(it,"it"); - struct _Function_1_1{ - inline static Dynamic Block( Dynamic &it){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/haxe/xml/Fast.hx",169); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("hasNext") , it->__GetItem((int)0)->__Field(HX_CSTRING("hasNext"),true),false); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_2_1,Dynamic,it) - ::haxe::xml::Fast run(){ - HX_STACK_PUSH("*::_Function_2_1","/usr/lib/haxe/std/haxe/xml/Fast.hx",171); - { - HX_STACK_LINE(172) - ::Xml x = it->__GetItem((int)0)->__Field(HX_CSTRING("next"),true)(); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(173) - if (((x == null()))){ - HX_STACK_LINE(174) - return null(); - } - HX_STACK_LINE(175) - return ::haxe::xml::Fast_obj::__new(x); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("next") , Dynamic(new _Function_2_1(it)),true); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(169) - return _Function_1_1::Block(it); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Fast_obj,getElements,return ) - -::String Fast_obj::getInnerHTML( ){ - HX_STACK_PUSH("Fast::getInnerHTML","/usr/lib/haxe/std/haxe/xml/Fast.hx",160); - HX_STACK_THIS(this); - HX_STACK_LINE(161) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(162) - for(::cpp::FastIterator_obj< ::Xml > *__it = ::cpp::CreateFastIterator< ::Xml >(this->x->iterator()); __it->hasNext(); ){ - ::Xml x = __it->next(); - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = x->toString(); - } - HX_STACK_LINE(164) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Fast_obj,getInnerHTML,return ) - -::String Fast_obj::getInnerData( ){ - HX_STACK_PUSH("Fast::getInnerData","/usr/lib/haxe/std/haxe/xml/Fast.hx",140); - HX_STACK_THIS(this); - HX_STACK_LINE(141) - Dynamic it = this->x->iterator(); HX_STACK_VAR(it,"it"); - HX_STACK_LINE(142) - if ((!(it->__Field(HX_CSTRING("hasNext"),true)()))){ - HX_STACK_LINE(143) - hx::Throw ((this->getName() + HX_CSTRING(" does not have data"))); - } - HX_STACK_LINE(144) - ::Xml v = it->__Field(HX_CSTRING("next"),true)(); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(145) - ::Xml n = it->__Field(HX_CSTRING("next"),true)(); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(146) - if (((n != null()))){ - HX_STACK_LINE(148) - if (((bool((bool((v->nodeType == ::Xml_obj::PCData)) && bool((n->nodeType == ::Xml_obj::CData)))) && bool((::StringTools_obj::trim(v->getNodeValue()) == HX_CSTRING("")))))){ - HX_STACK_LINE(149) - ::Xml n2 = it->__Field(HX_CSTRING("next"),true)(); HX_STACK_VAR(n2,"n2"); - HX_STACK_LINE(150) - if (((bool((n2 == null())) || bool((bool((bool((n2->nodeType == ::Xml_obj::PCData)) && bool((::StringTools_obj::trim(n2->getNodeValue()) == HX_CSTRING(""))))) && bool((it->__Field(HX_CSTRING("next"),true)() == null()))))))){ - HX_STACK_LINE(151) - return n->getNodeValue(); - } - } - HX_STACK_LINE(153) - hx::Throw ((this->getName() + HX_CSTRING(" does not only have data"))); - } - HX_STACK_LINE(155) - if (((bool((v->nodeType != ::Xml_obj::PCData)) && bool((v->nodeType != ::Xml_obj::CData))))){ - HX_STACK_LINE(156) - hx::Throw ((this->getName() + HX_CSTRING(" does not have data"))); - } - HX_STACK_LINE(157) - return v->getNodeValue(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Fast_obj,getInnerData,return ) - -::String Fast_obj::getName( ){ - HX_STACK_PUSH("Fast::getName","/usr/lib/haxe/std/haxe/xml/Fast.hx",136); - HX_STACK_THIS(this); - HX_STACK_LINE(136) - return ( (((this->x->nodeType == ::Xml_obj::Document))) ? ::String(HX_CSTRING("Document")) : ::String(this->x->getNodeName()) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Fast_obj,getName,return ) - - -Fast_obj::Fast_obj() -{ -} - -void Fast_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Fast); - HX_MARK_MEMBER_NAME(elements,"elements"); - HX_MARK_MEMBER_NAME(hasNode,"hasNode"); - HX_MARK_MEMBER_NAME(has,"has"); - HX_MARK_MEMBER_NAME(att,"att"); - HX_MARK_MEMBER_NAME(nodes,"nodes"); - HX_MARK_MEMBER_NAME(node,"node"); - HX_MARK_MEMBER_NAME(innerHTML,"innerHTML"); - HX_MARK_MEMBER_NAME(innerData,"innerData"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_END_CLASS(); -} - -void Fast_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(elements,"elements"); - HX_VISIT_MEMBER_NAME(hasNode,"hasNode"); - HX_VISIT_MEMBER_NAME(has,"has"); - HX_VISIT_MEMBER_NAME(att,"att"); - HX_VISIT_MEMBER_NAME(nodes,"nodes"); - HX_VISIT_MEMBER_NAME(node,"node"); - HX_VISIT_MEMBER_NAME(innerHTML,"innerHTML"); - HX_VISIT_MEMBER_NAME(innerData,"innerData"); - HX_VISIT_MEMBER_NAME(name,"name"); - HX_VISIT_MEMBER_NAME(x,"x"); -} - -Dynamic Fast_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 3: - if (HX_FIELD_EQ(inName,"has") ) { return has; } - if (HX_FIELD_EQ(inName,"att") ) { return att; } - break; - case 4: - if (HX_FIELD_EQ(inName,"node") ) { return node; } - if (HX_FIELD_EQ(inName,"name") ) { return inCallProp ? getName() : name; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nodes") ) { return nodes; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getName") ) { return getName_dyn(); } - if (HX_FIELD_EQ(inName,"hasNode") ) { return hasNode; } - break; - case 8: - if (HX_FIELD_EQ(inName,"elements") ) { return inCallProp ? getElements() : elements; } - break; - case 9: - if (HX_FIELD_EQ(inName,"innerHTML") ) { return inCallProp ? getInnerHTML() : innerHTML; } - if (HX_FIELD_EQ(inName,"innerData") ) { return inCallProp ? getInnerData() : innerData; } - break; - case 11: - if (HX_FIELD_EQ(inName,"getElements") ) { return getElements_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"getInnerHTML") ) { return getInnerHTML_dyn(); } - if (HX_FIELD_EQ(inName,"getInnerData") ) { return getInnerData_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Fast_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< ::Xml >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"has") ) { has=inValue.Cast< ::haxe::xml::_Fast::HasAttribAccess >(); return inValue; } - if (HX_FIELD_EQ(inName,"att") ) { att=inValue.Cast< ::haxe::xml::_Fast::AttribAccess >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"node") ) { node=inValue.Cast< ::haxe::xml::_Fast::NodeAccess >(); return inValue; } - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nodes") ) { nodes=inValue.Cast< ::haxe::xml::_Fast::NodeListAccess >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"hasNode") ) { hasNode=inValue.Cast< ::haxe::xml::_Fast::HasNodeAccess >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"elements") ) { elements=inValue.Cast< Dynamic >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"innerHTML") ) { innerHTML=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"innerData") ) { innerData=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Fast_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("elements")); - outFields->push(HX_CSTRING("hasNode")); - outFields->push(HX_CSTRING("has")); - outFields->push(HX_CSTRING("att")); - outFields->push(HX_CSTRING("nodes")); - outFields->push(HX_CSTRING("node")); - outFields->push(HX_CSTRING("innerHTML")); - outFields->push(HX_CSTRING("innerData")); - outFields->push(HX_CSTRING("name")); - outFields->push(HX_CSTRING("x")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getElements"), - HX_CSTRING("getInnerHTML"), - HX_CSTRING("getInnerData"), - HX_CSTRING("getName"), - HX_CSTRING("elements"), - HX_CSTRING("hasNode"), - HX_CSTRING("has"), - HX_CSTRING("att"), - HX_CSTRING("nodes"), - HX_CSTRING("node"), - HX_CSTRING("innerHTML"), - HX_CSTRING("innerData"), - HX_CSTRING("name"), - HX_CSTRING("x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Fast_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Fast_obj::__mClass,"__mClass"); -}; - -Class Fast_obj::__mClass; - -void Fast_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.xml.Fast"), hx::TCanCast< Fast_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Fast_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace xml diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/xml/_Fast/AttribAccess.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/xml/_Fast/AttribAccess.cpp deleted file mode 100644 index ec7a752..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/xml/_Fast/AttribAccess.cpp +++ /dev/null @@ -1,145 +0,0 @@ -#include - -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_XmlType -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#include -#endif -namespace haxe{ -namespace xml{ -namespace _Fast{ - -Void AttribAccess_obj::__construct(::Xml x) -{ -HX_STACK_PUSH("AttribAccess::new","/usr/lib/haxe/std/haxe/xml/Fast.hx",50); -{ - HX_STACK_LINE(50) - this->__x = x; -} -; - return null(); -} - -AttribAccess_obj::~AttribAccess_obj() { } - -Dynamic AttribAccess_obj::__CreateEmpty() { return new AttribAccess_obj; } -hx::ObjectPtr< AttribAccess_obj > AttribAccess_obj::__new(::Xml x) -{ hx::ObjectPtr< AttribAccess_obj > result = new AttribAccess_obj(); - result->__construct(x); - return result;} - -Dynamic AttribAccess_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< AttribAccess_obj > result = new AttribAccess_obj(); - result->__construct(inArgs[0]); - return result;} - -::String AttribAccess_obj::resolve( ::String name){ - HX_STACK_PUSH("AttribAccess::resolve","/usr/lib/haxe/std/haxe/xml/Fast.hx",54); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(55) - if (((this->__x->nodeType == ::Xml_obj::Document))){ - HX_STACK_LINE(56) - hx::Throw ((HX_CSTRING("Cannot access document attribute ") + name)); - } - HX_STACK_LINE(57) - ::String v = this->__x->get(name); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(58) - if (((v == null()))){ - HX_STACK_LINE(59) - hx::Throw (((this->__x->getNodeName() + HX_CSTRING(" is missing attribute ")) + name)); - } - HX_STACK_LINE(60) - return v; -} - - -HX_DEFINE_DYNAMIC_FUNC1(AttribAccess_obj,resolve,return ) - - -AttribAccess_obj::AttribAccess_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void AttribAccess_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(AttribAccess); - HX_MARK_DYNAMIC; - HX_MARK_MEMBER_NAME(__x,"__x"); - HX_MARK_END_CLASS(); -} - -void AttribAccess_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; - HX_VISIT_MEMBER_NAME(__x,"__x"); -} - -Dynamic AttribAccess_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { return __x; } - break; - case 7: - if (HX_FIELD_EQ(inName,"resolve") ) { return resolve_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic AttribAccess_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { __x=inValue.Cast< ::Xml >(); return inValue; } - } - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void AttribAccess_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__x")); - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("resolve"), - HX_CSTRING("__x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(AttribAccess_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(AttribAccess_obj::__mClass,"__mClass"); -}; - -Class AttribAccess_obj::__mClass; - -void AttribAccess_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.xml._Fast.AttribAccess"), hx::TCanCast< AttribAccess_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void AttribAccess_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/xml/_Fast/HasAttribAccess.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/xml/_Fast/HasAttribAccess.cpp deleted file mode 100644 index d763c45..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/xml/_Fast/HasAttribAccess.cpp +++ /dev/null @@ -1,138 +0,0 @@ -#include - -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_XmlType -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasAttribAccess -#include -#endif -namespace haxe{ -namespace xml{ -namespace _Fast{ - -Void HasAttribAccess_obj::__construct(::Xml x) -{ -HX_STACK_PUSH("HasAttribAccess::new","/usr/lib/haxe/std/haxe/xml/Fast.hx",69); -{ - HX_STACK_LINE(69) - this->__x = x; -} -; - return null(); -} - -HasAttribAccess_obj::~HasAttribAccess_obj() { } - -Dynamic HasAttribAccess_obj::__CreateEmpty() { return new HasAttribAccess_obj; } -hx::ObjectPtr< HasAttribAccess_obj > HasAttribAccess_obj::__new(::Xml x) -{ hx::ObjectPtr< HasAttribAccess_obj > result = new HasAttribAccess_obj(); - result->__construct(x); - return result;} - -Dynamic HasAttribAccess_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< HasAttribAccess_obj > result = new HasAttribAccess_obj(); - result->__construct(inArgs[0]); - return result;} - -bool HasAttribAccess_obj::resolve( ::String name){ - HX_STACK_PUSH("HasAttribAccess::resolve","/usr/lib/haxe/std/haxe/xml/Fast.hx",73); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(74) - if (((this->__x->nodeType == ::Xml_obj::Document))){ - HX_STACK_LINE(75) - hx::Throw ((HX_CSTRING("Cannot access document attribute ") + name)); - } - HX_STACK_LINE(76) - return this->__x->exists(name); -} - - -HX_DEFINE_DYNAMIC_FUNC1(HasAttribAccess_obj,resolve,return ) - - -HasAttribAccess_obj::HasAttribAccess_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void HasAttribAccess_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(HasAttribAccess); - HX_MARK_DYNAMIC; - HX_MARK_MEMBER_NAME(__x,"__x"); - HX_MARK_END_CLASS(); -} - -void HasAttribAccess_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; - HX_VISIT_MEMBER_NAME(__x,"__x"); -} - -Dynamic HasAttribAccess_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { return __x; } - break; - case 7: - if (HX_FIELD_EQ(inName,"resolve") ) { return resolve_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic HasAttribAccess_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { __x=inValue.Cast< ::Xml >(); return inValue; } - } - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void HasAttribAccess_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__x")); - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("resolve"), - HX_CSTRING("__x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(HasAttribAccess_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(HasAttribAccess_obj::__mClass,"__mClass"); -}; - -Class HasAttribAccess_obj::__mClass; - -void HasAttribAccess_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.xml._Fast.HasAttribAccess"), hx::TCanCast< HasAttribAccess_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void HasAttribAccess_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/xml/_Fast/HasNodeAccess.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/xml/_Fast/HasNodeAccess.cpp deleted file mode 100644 index a8de795..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/xml/_Fast/HasNodeAccess.cpp +++ /dev/null @@ -1,130 +0,0 @@ -#include - -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasNodeAccess -#include -#endif -namespace haxe{ -namespace xml{ -namespace _Fast{ - -Void HasNodeAccess_obj::__construct(::Xml x) -{ -HX_STACK_PUSH("HasNodeAccess::new","/usr/lib/haxe/std/haxe/xml/Fast.hx",85); -{ - HX_STACK_LINE(85) - this->__x = x; -} -; - return null(); -} - -HasNodeAccess_obj::~HasNodeAccess_obj() { } - -Dynamic HasNodeAccess_obj::__CreateEmpty() { return new HasNodeAccess_obj; } -hx::ObjectPtr< HasNodeAccess_obj > HasNodeAccess_obj::__new(::Xml x) -{ hx::ObjectPtr< HasNodeAccess_obj > result = new HasNodeAccess_obj(); - result->__construct(x); - return result;} - -Dynamic HasNodeAccess_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< HasNodeAccess_obj > result = new HasNodeAccess_obj(); - result->__construct(inArgs[0]); - return result;} - -bool HasNodeAccess_obj::resolve( ::String name){ - HX_STACK_PUSH("HasNodeAccess::resolve","/usr/lib/haxe/std/haxe/xml/Fast.hx",89); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(89) - return this->__x->elementsNamed(name)->__Field(HX_CSTRING("hasNext"),true)(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(HasNodeAccess_obj,resolve,return ) - - -HasNodeAccess_obj::HasNodeAccess_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void HasNodeAccess_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(HasNodeAccess); - HX_MARK_DYNAMIC; - HX_MARK_MEMBER_NAME(__x,"__x"); - HX_MARK_END_CLASS(); -} - -void HasNodeAccess_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; - HX_VISIT_MEMBER_NAME(__x,"__x"); -} - -Dynamic HasNodeAccess_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { return __x; } - break; - case 7: - if (HX_FIELD_EQ(inName,"resolve") ) { return resolve_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic HasNodeAccess_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { __x=inValue.Cast< ::Xml >(); return inValue; } - } - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void HasNodeAccess_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__x")); - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("resolve"), - HX_CSTRING("__x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(HasNodeAccess_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(HasNodeAccess_obj::__mClass,"__mClass"); -}; - -Class HasNodeAccess_obj::__mClass; - -void HasNodeAccess_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.xml._Fast.HasNodeAccess"), hx::TCanCast< HasNodeAccess_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void HasNodeAccess_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/xml/_Fast/NodeAccess.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/xml/_Fast/NodeAccess.cpp deleted file mode 100644 index 1130f41..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/xml/_Fast/NodeAccess.cpp +++ /dev/null @@ -1,145 +0,0 @@ -#include - -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_XmlType -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_NodeAccess -#include -#endif -namespace haxe{ -namespace xml{ -namespace _Fast{ - -Void NodeAccess_obj::__construct(::Xml x) -{ -HX_STACK_PUSH("NodeAccess::new","/usr/lib/haxe/std/haxe/xml/Fast.hx",31); -{ - HX_STACK_LINE(31) - this->__x = x; -} -; - return null(); -} - -NodeAccess_obj::~NodeAccess_obj() { } - -Dynamic NodeAccess_obj::__CreateEmpty() { return new NodeAccess_obj; } -hx::ObjectPtr< NodeAccess_obj > NodeAccess_obj::__new(::Xml x) -{ hx::ObjectPtr< NodeAccess_obj > result = new NodeAccess_obj(); - result->__construct(x); - return result;} - -Dynamic NodeAccess_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< NodeAccess_obj > result = new NodeAccess_obj(); - result->__construct(inArgs[0]); - return result;} - -::haxe::xml::Fast NodeAccess_obj::resolve( ::String name){ - HX_STACK_PUSH("NodeAccess::resolve","/usr/lib/haxe/std/haxe/xml/Fast.hx",35); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(36) - ::Xml x = this->__x->elementsNamed(name)->__Field(HX_CSTRING("next"),true)(); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(37) - if (((x == null()))){ - HX_STACK_LINE(38) - ::String xname = ( (((this->__x->nodeType == ::Xml_obj::Document))) ? ::String(HX_CSTRING("Document")) : ::String(this->__x->getNodeName()) ); HX_STACK_VAR(xname,"xname"); - HX_STACK_LINE(39) - hx::Throw (((xname + HX_CSTRING(" is missing element ")) + name)); - } - HX_STACK_LINE(41) - return ::haxe::xml::Fast_obj::__new(x); -} - - -HX_DEFINE_DYNAMIC_FUNC1(NodeAccess_obj,resolve,return ) - - -NodeAccess_obj::NodeAccess_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void NodeAccess_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(NodeAccess); - HX_MARK_DYNAMIC; - HX_MARK_MEMBER_NAME(__x,"__x"); - HX_MARK_END_CLASS(); -} - -void NodeAccess_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; - HX_VISIT_MEMBER_NAME(__x,"__x"); -} - -Dynamic NodeAccess_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { return __x; } - break; - case 7: - if (HX_FIELD_EQ(inName,"resolve") ) { return resolve_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic NodeAccess_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { __x=inValue.Cast< ::Xml >(); return inValue; } - } - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void NodeAccess_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__x")); - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("resolve"), - HX_CSTRING("__x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(NodeAccess_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(NodeAccess_obj::__mClass,"__mClass"); -}; - -Class NodeAccess_obj::__mClass; - -void NodeAccess_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.xml._Fast.NodeAccess"), hx::TCanCast< NodeAccess_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void NodeAccess_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/xml/_Fast/NodeListAccess.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/xml/_Fast/NodeListAccess.cpp deleted file mode 100644 index 784487a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/haxe/xml/_Fast/NodeListAccess.cpp +++ /dev/null @@ -1,143 +0,0 @@ -#include - -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_NodeListAccess -#include -#endif -namespace haxe{ -namespace xml{ -namespace _Fast{ - -Void NodeListAccess_obj::__construct(::Xml x) -{ -HX_STACK_PUSH("NodeListAccess::new","/usr/lib/haxe/std/haxe/xml/Fast.hx",99); -{ - HX_STACK_LINE(99) - this->__x = x; -} -; - return null(); -} - -NodeListAccess_obj::~NodeListAccess_obj() { } - -Dynamic NodeListAccess_obj::__CreateEmpty() { return new NodeListAccess_obj; } -hx::ObjectPtr< NodeListAccess_obj > NodeListAccess_obj::__new(::Xml x) -{ hx::ObjectPtr< NodeListAccess_obj > result = new NodeListAccess_obj(); - result->__construct(x); - return result;} - -Dynamic NodeListAccess_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< NodeListAccess_obj > result = new NodeListAccess_obj(); - result->__construct(inArgs[0]); - return result;} - -::List NodeListAccess_obj::resolve( ::String name){ - HX_STACK_PUSH("NodeListAccess::resolve","/usr/lib/haxe/std/haxe/xml/Fast.hx",103); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(104) - ::List l = ::List_obj::__new(); HX_STACK_VAR(l,"l"); - HX_STACK_LINE(105) - for(::cpp::FastIterator_obj< ::Xml > *__it = ::cpp::CreateFastIterator< ::Xml >(this->__x->elementsNamed(name)); __it->hasNext(); ){ - ::Xml x = __it->next(); - l->add(::haxe::xml::Fast_obj::__new(x)); - } - HX_STACK_LINE(107) - return l; -} - - -HX_DEFINE_DYNAMIC_FUNC1(NodeListAccess_obj,resolve,return ) - - -NodeListAccess_obj::NodeListAccess_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void NodeListAccess_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(NodeListAccess); - HX_MARK_DYNAMIC; - HX_MARK_MEMBER_NAME(__x,"__x"); - HX_MARK_END_CLASS(); -} - -void NodeListAccess_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; - HX_VISIT_MEMBER_NAME(__x,"__x"); -} - -Dynamic NodeListAccess_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { return __x; } - break; - case 7: - if (HX_FIELD_EQ(inName,"resolve") ) { return resolve_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic NodeListAccess_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { __x=inValue.Cast< ::Xml >(); return inValue; } - } - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void NodeListAccess_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__x")); - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("resolve"), - HX_CSTRING("__x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(NodeListAccess_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(NodeListAccess_obj::__mClass,"__mClass"); -}; - -Class NodeListAccess_obj::__mClass; - -void NodeListAccess_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.xml._Fast.NodeListAccess"), hx::TCanCast< NodeListAccess_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void NodeListAccess_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/Lib.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/Lib.cpp deleted file mode 100644 index e647dd2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/Lib.cpp +++ /dev/null @@ -1,722 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_Timer -#include -#endif -#ifndef INCLUDED_native_Lib -#include -#endif -#ifndef INCLUDED_native_Loader -#include -#endif -#ifndef INCLUDED_native_display_BitmapData -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_ManagedStage -#include -#endif -#ifndef INCLUDED_native_display_MovieClip -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_display_Stage -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_net_URLRequest -#include -#endif -namespace native{ - -Void Lib_obj::__construct() -{ - return null(); -} - -Lib_obj::~Lib_obj() { } - -Dynamic Lib_obj::__CreateEmpty() { return new Lib_obj; } -hx::ObjectPtr< Lib_obj > Lib_obj::__new() -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -Dynamic Lib_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -int Lib_obj::FULLSCREEN; - -int Lib_obj::BORDERLESS; - -int Lib_obj::RESIZABLE; - -int Lib_obj::HARDWARE; - -int Lib_obj::VSYNC; - -int Lib_obj::HW_AA; - -int Lib_obj::HW_AA_HIRES; - -int Lib_obj::ALLOW_SHADERS; - -int Lib_obj::REQUIRE_SHADERS; - -int Lib_obj::DEPTH_BUFFER; - -int Lib_obj::STENCIL_BUFFER; - -::native::display::MovieClip Lib_obj::current; - -int Lib_obj::initHeight; - -int Lib_obj::initWidth; - -::native::display::Stage Lib_obj::stage; - -::native::display::MovieClip Lib_obj::nmeCurrent; - -Dynamic Lib_obj::nmeMainFrame; - -::native::display::Stage Lib_obj::nmeStage; - -bool Lib_obj::sIsInit; - -::String Lib_obj::company; - -::String Lib_obj::version; - -::String Lib_obj::packageName; - -::String Lib_obj::file; - -Void Lib_obj::close( ){ -{ - HX_STACK_PUSH("Lib::close","native/Lib.hx",51); - HX_STACK_LINE(53) - Dynamic close = ::native::Loader_obj::load(HX_CSTRING("nme_close"),(int)0); HX_STACK_VAR(close,"close"); - HX_STACK_LINE(54) - close(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,close,(void)) - -Void Lib_obj::create( Dynamic inOnLoaded,int inWidth,int inHeight,hx::Null< Float > __o_inFrameRate,hx::Null< int > __o_inColour,hx::Null< int > __o_inFlags,::String __o_inTitle,::native::display::BitmapData inIcon){ -Float inFrameRate = __o_inFrameRate.Default(60.0); -int inColour = __o_inColour.Default(16777215); -int inFlags = __o_inFlags.Default(15); -::String inTitle = __o_inTitle.Default(HX_CSTRING("NME")); - HX_STACK_PUSH("Lib::create","native/Lib.hx",59); - HX_STACK_ARG(inOnLoaded,"inOnLoaded"); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_ARG(inFrameRate,"inFrameRate"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_ARG(inFlags,"inFlags"); - HX_STACK_ARG(inTitle,"inTitle"); - HX_STACK_ARG(inIcon,"inIcon"); -{ - HX_STACK_LINE(59) - Array< int > inColour1 = Array_obj< int >::__new().Add(inColour); HX_STACK_VAR(inColour1,"inColour1"); - HX_STACK_LINE(59) - Array< Float > inFrameRate1 = Array_obj< Float >::__new().Add(inFrameRate); HX_STACK_VAR(inFrameRate1,"inFrameRate1"); - HX_STACK_LINE(59) - Array< int > inHeight1 = Array_obj< int >::__new().Add(inHeight); HX_STACK_VAR(inHeight1,"inHeight1"); - HX_STACK_LINE(59) - Array< int > inWidth1 = Array_obj< int >::__new().Add(inWidth); HX_STACK_VAR(inWidth1,"inWidth1"); - HX_STACK_LINE(59) - Dynamic inOnLoaded1 = Dynamic( Array_obj::__new().Add(inOnLoaded)); HX_STACK_VAR(inOnLoaded1,"inOnLoaded1"); - HX_STACK_LINE(61) - if ((::native::Lib_obj::sIsInit)){ - HX_STACK_LINE(61) - hx::Throw (HX_CSTRING("nme.Lib.create called multiple times. This function is automatically called by the project code.")); - } - HX_STACK_LINE(67) - ::native::Lib_obj::sIsInit = true; - HX_STACK_LINE(68) - ::native::Lib_obj::initWidth = inWidth1->__get((int)0); - HX_STACK_LINE(69) - ::native::Lib_obj::initHeight = inHeight1->__get((int)0); - HX_STACK_LINE(71) - Dynamic create_main_frame = ::native::Loader_obj::load(HX_CSTRING("nme_create_main_frame"),(int)-1); HX_STACK_VAR(create_main_frame,"create_main_frame"); - - HX_BEGIN_LOCAL_FUNC_S5(hx::LocalFunc,_Function_1_1,Dynamic,inOnLoaded1,Array< int >,inHeight1,Array< int >,inColour1,Array< int >,inWidth1,Array< Float >,inFrameRate1) - Void run(Dynamic inFrameHandle){ - HX_STACK_PUSH("*::_Function_1_1","native/Lib.hx",73); - HX_STACK_ARG(inFrameHandle,"inFrameHandle"); - { - HX_STACK_LINE(76) - ::native::Lib_obj::nmeMainFrame = inFrameHandle; - HX_STACK_LINE(77) - Dynamic stage_handle = ::native::Lib_obj::nme_get_frame_stage(::native::Lib_obj::nmeMainFrame); HX_STACK_VAR(stage_handle,"stage_handle"); - HX_STACK_LINE(79) - ::native::Lib_obj::nmeStage = ::native::display::Stage_obj::__new(stage_handle,inWidth1->__get((int)0),inHeight1->__get((int)0)); - HX_STACK_LINE(80) - ::native::Lib_obj::nmeStage->set_frameRate(inFrameRate1->__get((int)0)); - HX_STACK_LINE(81) - ::native::Lib_obj::nmeStage->set_opaqueBackground(inColour1->__get((int)0)); - HX_STACK_LINE(82) - ::native::Lib_obj::nmeStage->onQuit = ::native::Lib_obj::close_dyn(); - HX_STACK_LINE(84) - if (((::native::Lib_obj::nmeCurrent != null()))){ - HX_STACK_LINE(85) - ::native::Lib_obj::nmeStage->addChild(::native::Lib_obj::nmeCurrent); - } - HX_STACK_LINE(87) - inOnLoaded1->__GetItem((int)0)().Cast< Void >(); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - HX_STACK_LINE(73) - create_main_frame( Dynamic(new _Function_1_1(inOnLoaded1,inHeight1,inColour1,inWidth1,inFrameRate1)),inWidth1->__get((int)0),inHeight1->__get((int)0),inFlags,inTitle,( (((inIcon == null()))) ? Dynamic(null()) : Dynamic(inIcon->nmeHandle) )); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC8(Lib_obj,create,(void)) - -::native::display::ManagedStage Lib_obj::createManagedStage( int inWidth,int inHeight,hx::Null< int > __o_inFlags){ -int inFlags = __o_inFlags.Default(0); - HX_STACK_PUSH("Lib::createManagedStage","native/Lib.hx",96); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_ARG(inFlags,"inFlags"); -{ - HX_STACK_LINE(98) - ::native::Lib_obj::initWidth = inWidth; - HX_STACK_LINE(99) - ::native::Lib_obj::initHeight = inHeight; - HX_STACK_LINE(101) - ::native::display::ManagedStage result = ::native::display::ManagedStage_obj::__new(inWidth,inHeight,inFlags); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(102) - ::native::Lib_obj::nmeStage = result; - HX_STACK_LINE(104) - return result; - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Lib_obj,createManagedStage,return ) - -Void Lib_obj::exit( ){ -{ - HX_STACK_PUSH("Lib::exit","native/Lib.hx",109); - HX_STACK_LINE(111) - Dynamic quit = ::native::Lib_obj::get_stage()->onQuit_dyn(); HX_STACK_VAR(quit,"quit"); - HX_STACK_LINE(113) - if (((quit != null()))){ - HX_STACK_LINE(113) - quit().Cast< Void >(); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,exit,(void)) - -Void Lib_obj::forceClose( ){ -{ - HX_STACK_PUSH("Lib::forceClose","native/Lib.hx",130); - HX_STACK_LINE(133) - Dynamic terminate = ::native::Loader_obj::load(HX_CSTRING("nme_terminate"),(int)0); HX_STACK_VAR(terminate,"terminate"); - HX_STACK_LINE(134) - terminate(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,forceClose,(void)) - -int Lib_obj::getTimer( ){ - HX_STACK_PUSH("Lib::getTimer","native/Lib.hx",139); - HX_STACK_LINE(139) - return ::Std_obj::_int((::haxe::Timer_obj::stamp() * 1000.0)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,getTimer,return ) - -Void Lib_obj::getURL( ::native::net::URLRequest url,::String target){ -{ - HX_STACK_PUSH("Lib::getURL","native/Lib.hx",147); - HX_STACK_ARG(url,"url"); - HX_STACK_ARG(target,"target"); - HX_STACK_LINE(147) - ::native::Lib_obj::nme_get_url(url->url); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Lib_obj,getURL,(void)) - -Void Lib_obj::nmeSetCurrentStage( ::native::display::Stage inStage){ -{ - HX_STACK_PUSH("Lib::nmeSetCurrentStage","native/Lib.hx",154); - HX_STACK_ARG(inStage,"inStage"); - HX_STACK_LINE(154) - ::native::Lib_obj::nmeStage = inStage; - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,nmeSetCurrentStage,(void)) - -Void Lib_obj::pause( ){ -{ - HX_STACK_PUSH("Lib::pause","native/Lib.hx",161); - HX_STACK_LINE(161) - ::native::Lib_obj::nme_pause_animation(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,pause,(void)) - -Void Lib_obj::postUICallback( Dynamic inCallback){ -{ - HX_STACK_PUSH("Lib::postUICallback","native/Lib.hx",168); - HX_STACK_ARG(inCallback,"inCallback"); - HX_STACK_LINE(168) - inCallback().Cast< Void >(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,postUICallback,(void)) - -Void Lib_obj::resume( ){ -{ - HX_STACK_PUSH("Lib::resume","native/Lib.hx",181); - HX_STACK_LINE(181) - ::native::Lib_obj::nme_resume_animation(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,resume,(void)) - -Void Lib_obj::setIcon( ::String path){ -{ - HX_STACK_PUSH("Lib::setIcon","native/Lib.hx",196); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(199) - Dynamic set_icon = ::native::Loader_obj::load(HX_CSTRING("nme_set_icon"),(int)1); HX_STACK_VAR(set_icon,"set_icon"); - HX_STACK_LINE(200) - set_icon(path); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,setIcon,(void)) - -Void Lib_obj::setPackage( ::String inCompany,::String inFile,::String inPack,::String inVersion){ -{ - HX_STACK_PUSH("Lib::setPackage","native/Lib.hx",205); - HX_STACK_ARG(inCompany,"inCompany"); - HX_STACK_ARG(inFile,"inFile"); - HX_STACK_ARG(inPack,"inPack"); - HX_STACK_ARG(inVersion,"inVersion"); - HX_STACK_LINE(207) - ::native::Lib_obj::company = inCompany; - HX_STACK_LINE(208) - ::native::Lib_obj::file = inFile; - HX_STACK_LINE(209) - ::native::Lib_obj::packageName = inPack; - HX_STACK_LINE(210) - ::native::Lib_obj::version = inVersion; - HX_STACK_LINE(212) - ::native::Lib_obj::nme_set_package(inCompany,inFile,inPack,inVersion); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(Lib_obj,setPackage,(void)) - -::native::display::MovieClip Lib_obj::get_current( ){ - HX_STACK_PUSH("Lib::get_current","native/Lib.hx",224); - HX_STACK_LINE(226) - if (((::native::Lib_obj::nmeCurrent == null()))){ - HX_STACK_LINE(228) - ::native::Lib_obj::nmeCurrent = ::native::display::MovieClip_obj::__new(); - HX_STACK_LINE(230) - if (((::native::Lib_obj::nmeStage != null()))){ - HX_STACK_LINE(231) - ::native::Lib_obj::nmeStage->addChild(::native::Lib_obj::nmeCurrent); - } - } - HX_STACK_LINE(235) - return ::native::Lib_obj::nmeCurrent; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,get_current,return ) - -::native::display::Stage Lib_obj::get_stage( ){ - HX_STACK_PUSH("Lib::get_stage","native/Lib.hx",240); - HX_STACK_LINE(242) - if (((::native::Lib_obj::nmeStage == null()))){ - HX_STACK_LINE(243) - hx::Throw (HX_CSTRING("Error : stage can't be accessed until init is called")); - } - HX_STACK_LINE(245) - return ::native::Lib_obj::nmeStage; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,get_stage,return ) - -Dynamic Lib_obj::nme_set_package; - -Dynamic Lib_obj::nme_get_frame_stage; - -Dynamic Lib_obj::nme_get_url; - -Dynamic Lib_obj::nme_pause_animation; - -Dynamic Lib_obj::nme_resume_animation; - - -Lib_obj::Lib_obj() -{ -} - -void Lib_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Lib); - HX_MARK_END_CLASS(); -} - -void Lib_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Lib_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"file") ) { return file; } - if (HX_FIELD_EQ(inName,"exit") ) { return exit_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"VSYNC") ) { return VSYNC; } - if (HX_FIELD_EQ(inName,"HW_AA") ) { return HW_AA; } - if (HX_FIELD_EQ(inName,"stage") ) { return inCallProp ? get_stage() : stage; } - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"pause") ) { return pause_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"create") ) { return create_dyn(); } - if (HX_FIELD_EQ(inName,"getURL") ) { return getURL_dyn(); } - if (HX_FIELD_EQ(inName,"resume") ) { return resume_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"current") ) { return inCallProp ? get_current() : current; } - if (HX_FIELD_EQ(inName,"sIsInit") ) { return sIsInit; } - if (HX_FIELD_EQ(inName,"company") ) { return company; } - if (HX_FIELD_EQ(inName,"version") ) { return version; } - if (HX_FIELD_EQ(inName,"setIcon") ) { return setIcon_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { return HARDWARE; } - if (HX_FIELD_EQ(inName,"nmeStage") ) { return nmeStage; } - if (HX_FIELD_EQ(inName,"getTimer") ) { return getTimer_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"RESIZABLE") ) { return RESIZABLE; } - if (HX_FIELD_EQ(inName,"initWidth") ) { return initWidth; } - if (HX_FIELD_EQ(inName,"get_stage") ) { return get_stage_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"FULLSCREEN") ) { return FULLSCREEN; } - if (HX_FIELD_EQ(inName,"BORDERLESS") ) { return BORDERLESS; } - if (HX_FIELD_EQ(inName,"initHeight") ) { return initHeight; } - if (HX_FIELD_EQ(inName,"nmeCurrent") ) { return nmeCurrent; } - if (HX_FIELD_EQ(inName,"forceClose") ) { return forceClose_dyn(); } - if (HX_FIELD_EQ(inName,"setPackage") ) { return setPackage_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"HW_AA_HIRES") ) { return HW_AA_HIRES; } - if (HX_FIELD_EQ(inName,"packageName") ) { return packageName; } - if (HX_FIELD_EQ(inName,"get_current") ) { return get_current_dyn(); } - if (HX_FIELD_EQ(inName,"nme_get_url") ) { return nme_get_url; } - break; - case 12: - if (HX_FIELD_EQ(inName,"DEPTH_BUFFER") ) { return DEPTH_BUFFER; } - if (HX_FIELD_EQ(inName,"nmeMainFrame") ) { return nmeMainFrame; } - break; - case 13: - if (HX_FIELD_EQ(inName,"ALLOW_SHADERS") ) { return ALLOW_SHADERS; } - break; - case 14: - if (HX_FIELD_EQ(inName,"STENCIL_BUFFER") ) { return STENCIL_BUFFER; } - if (HX_FIELD_EQ(inName,"postUICallback") ) { return postUICallback_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"REQUIRE_SHADERS") ) { return REQUIRE_SHADERS; } - if (HX_FIELD_EQ(inName,"nme_set_package") ) { return nme_set_package; } - break; - case 18: - if (HX_FIELD_EQ(inName,"createManagedStage") ) { return createManagedStage_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetCurrentStage") ) { return nmeSetCurrentStage_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_get_frame_stage") ) { return nme_get_frame_stage; } - if (HX_FIELD_EQ(inName,"nme_pause_animation") ) { return nme_pause_animation; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_resume_animation") ) { return nme_resume_animation; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Lib_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"file") ) { file=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"VSYNC") ) { VSYNC=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"HW_AA") ) { HW_AA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"stage") ) { stage=inValue.Cast< ::native::display::Stage >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"current") ) { current=inValue.Cast< ::native::display::MovieClip >(); return inValue; } - if (HX_FIELD_EQ(inName,"sIsInit") ) { sIsInit=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"company") ) { company=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"version") ) { version=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { HARDWARE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeStage") ) { nmeStage=inValue.Cast< ::native::display::Stage >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"RESIZABLE") ) { RESIZABLE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"initWidth") ) { initWidth=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FULLSCREEN") ) { FULLSCREEN=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BORDERLESS") ) { BORDERLESS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"initHeight") ) { initHeight=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeCurrent") ) { nmeCurrent=inValue.Cast< ::native::display::MovieClip >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"HW_AA_HIRES") ) { HW_AA_HIRES=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"packageName") ) { packageName=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_get_url") ) { nme_get_url=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"DEPTH_BUFFER") ) { DEPTH_BUFFER=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeMainFrame") ) { nmeMainFrame=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"ALLOW_SHADERS") ) { ALLOW_SHADERS=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"STENCIL_BUFFER") ) { STENCIL_BUFFER=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"REQUIRE_SHADERS") ) { REQUIRE_SHADERS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_set_package") ) { nme_set_package=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_get_frame_stage") ) { nme_get_frame_stage=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_pause_animation") ) { nme_pause_animation=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_resume_animation") ) { nme_resume_animation=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Lib_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("FULLSCREEN"), - HX_CSTRING("BORDERLESS"), - HX_CSTRING("RESIZABLE"), - HX_CSTRING("HARDWARE"), - HX_CSTRING("VSYNC"), - HX_CSTRING("HW_AA"), - HX_CSTRING("HW_AA_HIRES"), - HX_CSTRING("ALLOW_SHADERS"), - HX_CSTRING("REQUIRE_SHADERS"), - HX_CSTRING("DEPTH_BUFFER"), - HX_CSTRING("STENCIL_BUFFER"), - HX_CSTRING("current"), - HX_CSTRING("initHeight"), - HX_CSTRING("initWidth"), - HX_CSTRING("stage"), - HX_CSTRING("nmeCurrent"), - HX_CSTRING("nmeMainFrame"), - HX_CSTRING("nmeStage"), - HX_CSTRING("sIsInit"), - HX_CSTRING("company"), - HX_CSTRING("version"), - HX_CSTRING("packageName"), - HX_CSTRING("file"), - HX_CSTRING("close"), - HX_CSTRING("create"), - HX_CSTRING("createManagedStage"), - HX_CSTRING("exit"), - HX_CSTRING("forceClose"), - HX_CSTRING("getTimer"), - HX_CSTRING("getURL"), - HX_CSTRING("nmeSetCurrentStage"), - HX_CSTRING("pause"), - HX_CSTRING("postUICallback"), - HX_CSTRING("resume"), - HX_CSTRING("setIcon"), - HX_CSTRING("setPackage"), - HX_CSTRING("get_current"), - HX_CSTRING("get_stage"), - HX_CSTRING("nme_set_package"), - HX_CSTRING("nme_get_frame_stage"), - HX_CSTRING("nme_get_url"), - HX_CSTRING("nme_pause_animation"), - HX_CSTRING("nme_resume_animation"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Lib_obj::FULLSCREEN,"FULLSCREEN"); - HX_MARK_MEMBER_NAME(Lib_obj::BORDERLESS,"BORDERLESS"); - HX_MARK_MEMBER_NAME(Lib_obj::RESIZABLE,"RESIZABLE"); - HX_MARK_MEMBER_NAME(Lib_obj::HARDWARE,"HARDWARE"); - HX_MARK_MEMBER_NAME(Lib_obj::VSYNC,"VSYNC"); - HX_MARK_MEMBER_NAME(Lib_obj::HW_AA,"HW_AA"); - HX_MARK_MEMBER_NAME(Lib_obj::HW_AA_HIRES,"HW_AA_HIRES"); - HX_MARK_MEMBER_NAME(Lib_obj::ALLOW_SHADERS,"ALLOW_SHADERS"); - HX_MARK_MEMBER_NAME(Lib_obj::REQUIRE_SHADERS,"REQUIRE_SHADERS"); - HX_MARK_MEMBER_NAME(Lib_obj::DEPTH_BUFFER,"DEPTH_BUFFER"); - HX_MARK_MEMBER_NAME(Lib_obj::STENCIL_BUFFER,"STENCIL_BUFFER"); - HX_MARK_MEMBER_NAME(Lib_obj::current,"current"); - HX_MARK_MEMBER_NAME(Lib_obj::initHeight,"initHeight"); - HX_MARK_MEMBER_NAME(Lib_obj::initWidth,"initWidth"); - HX_MARK_MEMBER_NAME(Lib_obj::stage,"stage"); - HX_MARK_MEMBER_NAME(Lib_obj::nmeCurrent,"nmeCurrent"); - HX_MARK_MEMBER_NAME(Lib_obj::nmeMainFrame,"nmeMainFrame"); - HX_MARK_MEMBER_NAME(Lib_obj::nmeStage,"nmeStage"); - HX_MARK_MEMBER_NAME(Lib_obj::sIsInit,"sIsInit"); - HX_MARK_MEMBER_NAME(Lib_obj::company,"company"); - HX_MARK_MEMBER_NAME(Lib_obj::version,"version"); - HX_MARK_MEMBER_NAME(Lib_obj::packageName,"packageName"); - HX_MARK_MEMBER_NAME(Lib_obj::file,"file"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_set_package,"nme_set_package"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_get_frame_stage,"nme_get_frame_stage"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_get_url,"nme_get_url"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_pause_animation,"nme_pause_animation"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_resume_animation,"nme_resume_animation"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Lib_obj::FULLSCREEN,"FULLSCREEN"); - HX_VISIT_MEMBER_NAME(Lib_obj::BORDERLESS,"BORDERLESS"); - HX_VISIT_MEMBER_NAME(Lib_obj::RESIZABLE,"RESIZABLE"); - HX_VISIT_MEMBER_NAME(Lib_obj::HARDWARE,"HARDWARE"); - HX_VISIT_MEMBER_NAME(Lib_obj::VSYNC,"VSYNC"); - HX_VISIT_MEMBER_NAME(Lib_obj::HW_AA,"HW_AA"); - HX_VISIT_MEMBER_NAME(Lib_obj::HW_AA_HIRES,"HW_AA_HIRES"); - HX_VISIT_MEMBER_NAME(Lib_obj::ALLOW_SHADERS,"ALLOW_SHADERS"); - HX_VISIT_MEMBER_NAME(Lib_obj::REQUIRE_SHADERS,"REQUIRE_SHADERS"); - HX_VISIT_MEMBER_NAME(Lib_obj::DEPTH_BUFFER,"DEPTH_BUFFER"); - HX_VISIT_MEMBER_NAME(Lib_obj::STENCIL_BUFFER,"STENCIL_BUFFER"); - HX_VISIT_MEMBER_NAME(Lib_obj::current,"current"); - HX_VISIT_MEMBER_NAME(Lib_obj::initHeight,"initHeight"); - HX_VISIT_MEMBER_NAME(Lib_obj::initWidth,"initWidth"); - HX_VISIT_MEMBER_NAME(Lib_obj::stage,"stage"); - HX_VISIT_MEMBER_NAME(Lib_obj::nmeCurrent,"nmeCurrent"); - HX_VISIT_MEMBER_NAME(Lib_obj::nmeMainFrame,"nmeMainFrame"); - HX_VISIT_MEMBER_NAME(Lib_obj::nmeStage,"nmeStage"); - HX_VISIT_MEMBER_NAME(Lib_obj::sIsInit,"sIsInit"); - HX_VISIT_MEMBER_NAME(Lib_obj::company,"company"); - HX_VISIT_MEMBER_NAME(Lib_obj::version,"version"); - HX_VISIT_MEMBER_NAME(Lib_obj::packageName,"packageName"); - HX_VISIT_MEMBER_NAME(Lib_obj::file,"file"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_set_package,"nme_set_package"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_get_frame_stage,"nme_get_frame_stage"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_get_url,"nme_get_url"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_pause_animation,"nme_pause_animation"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_resume_animation,"nme_resume_animation"); -}; - -Class Lib_obj::__mClass; - -void Lib_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.Lib"), hx::TCanCast< Lib_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Lib_obj::__boot() -{ - FULLSCREEN= (int)1; - BORDERLESS= (int)2; - RESIZABLE= (int)4; - HARDWARE= (int)8; - VSYNC= (int)16; - HW_AA= (int)32; - HW_AA_HIRES= (int)96; - ALLOW_SHADERS= (int)128; - REQUIRE_SHADERS= (int)256; - DEPTH_BUFFER= (int)512; - STENCIL_BUFFER= (int)1024; - nmeCurrent= null(); - nmeMainFrame= null(); - nmeStage= null(); - sIsInit= false; - nme_set_package= ::native::Loader_obj::load(HX_CSTRING("nme_set_package"),(int)4); - nme_get_frame_stage= ::native::Loader_obj::load(HX_CSTRING("nme_get_frame_stage"),(int)1); - nme_get_url= ::native::Loader_obj::load(HX_CSTRING("nme_get_url"),(int)1); - nme_pause_animation= ::native::Loader_obj::load(HX_CSTRING("nme_pause_animation"),(int)0); - nme_resume_animation= ::native::Loader_obj::load(HX_CSTRING("nme_resume_animation"),(int)0); -} - -} // end namespace native diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/Loader.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/Loader.cpp deleted file mode 100644 index aeb76e3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/Loader.cpp +++ /dev/null @@ -1,123 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_native_Loader -#include -#endif -namespace native{ - -Void Loader_obj::__construct() -{ - return null(); -} - -Loader_obj::~Loader_obj() { } - -Dynamic Loader_obj::__CreateEmpty() { return new Loader_obj; } -hx::ObjectPtr< Loader_obj > Loader_obj::__new() -{ hx::ObjectPtr< Loader_obj > result = new Loader_obj(); - result->__construct(); - return result;} - -Dynamic Loader_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Loader_obj > result = new Loader_obj(); - result->__construct(); - return result;} - -bool Loader_obj::moduleInit; - -::String Loader_obj::moduleName; - -Dynamic Loader_obj::load( ::String func,int args){ - HX_STACK_PUSH("Loader::load","native/Loader.hx",20); - HX_STACK_ARG(func,"func"); - HX_STACK_ARG(args,"args"); - HX_STACK_LINE(20) - return ::cpp::Lib_obj::load(HX_CSTRING("nme"),func,args); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Loader_obj,load,return ) - - -Loader_obj::Loader_obj() -{ -} - -void Loader_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Loader); - HX_MARK_END_CLASS(); -} - -void Loader_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Loader_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"moduleInit") ) { return moduleInit; } - if (HX_FIELD_EQ(inName,"moduleName") ) { return moduleName; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Loader_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"moduleInit") ) { moduleInit=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"moduleName") ) { moduleName=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Loader_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("moduleInit"), - HX_CSTRING("moduleName"), - HX_CSTRING("load"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Loader_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Loader_obj::moduleInit,"moduleInit"); - HX_MARK_MEMBER_NAME(Loader_obj::moduleName,"moduleName"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Loader_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Loader_obj::moduleInit,"moduleInit"); - HX_VISIT_MEMBER_NAME(Loader_obj::moduleName,"moduleName"); -}; - -Class Loader_obj::__mClass; - -void Loader_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.Loader"), hx::TCanCast< Loader_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Loader_obj::__boot() -{ - moduleInit= false; - moduleName= HX_CSTRING(""); -} - -} // end namespace native diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Bitmap.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Bitmap.cpp deleted file mode 100644 index 0865ca9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Bitmap.cpp +++ /dev/null @@ -1,229 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_Bitmap -#include -#endif -#ifndef INCLUDED_native_display_BitmapData -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_Graphics -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_PixelSnapping -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -namespace native{ -namespace display{ - -Void Bitmap_obj::__construct(::native::display::BitmapData bitmapData,::native::display::PixelSnapping pixelSnapping,hx::Null< bool > __o_smoothing) -{ -HX_STACK_PUSH("Bitmap::new","native/display/Bitmap.hx",17); -bool smoothing = __o_smoothing.Default(false); -{ - HX_STACK_LINE(19) - super::__construct(::native::display::DisplayObject_obj::nme_create_display_object(),HX_CSTRING("Bitmap")); - HX_STACK_LINE(21) - this->set_pixelSnapping(( (((pixelSnapping == null()))) ? ::native::display::PixelSnapping(::native::display::PixelSnapping_obj::AUTO_dyn()) : ::native::display::PixelSnapping(pixelSnapping) )); - HX_STACK_LINE(22) - this->set_smoothing(smoothing); - HX_STACK_LINE(24) - if (((bitmapData != null()))){ - HX_STACK_LINE(24) - this->set_bitmapData(bitmapData); - } - else{ - HX_STACK_LINE(28) - if (((this->bitmapData != null()))){ - HX_STACK_LINE(28) - this->nmeRebuild(); - } - } -} -; - return null(); -} - -Bitmap_obj::~Bitmap_obj() { } - -Dynamic Bitmap_obj::__CreateEmpty() { return new Bitmap_obj; } -hx::ObjectPtr< Bitmap_obj > Bitmap_obj::__new(::native::display::BitmapData bitmapData,::native::display::PixelSnapping pixelSnapping,hx::Null< bool > __o_smoothing) -{ hx::ObjectPtr< Bitmap_obj > result = new Bitmap_obj(); - result->__construct(bitmapData,pixelSnapping,__o_smoothing); - return result;} - -Dynamic Bitmap_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Bitmap_obj > result = new Bitmap_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -bool Bitmap_obj::set_smoothing( bool inSmooth){ - HX_STACK_PUSH("Bitmap::set_smoothing","native/display/Bitmap.hx",74); - HX_STACK_THIS(this); - HX_STACK_ARG(inSmooth,"inSmooth"); - HX_STACK_LINE(76) - this->smoothing = inSmooth; - HX_STACK_LINE(77) - this->nmeRebuild(); - HX_STACK_LINE(79) - return inSmooth; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Bitmap_obj,set_smoothing,return ) - -::native::display::BitmapData Bitmap_obj::set_bitmapData( ::native::display::BitmapData inBitmapData){ - HX_STACK_PUSH("Bitmap::set_bitmapData","native/display/Bitmap.hx",64); - HX_STACK_THIS(this); - HX_STACK_ARG(inBitmapData,"inBitmapData"); - HX_STACK_LINE(66) - this->bitmapData = inBitmapData; - HX_STACK_LINE(67) - this->nmeRebuild(); - HX_STACK_LINE(69) - return inBitmapData; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Bitmap_obj,set_bitmapData,return ) - -Void Bitmap_obj::nmeRebuild( ){ -{ - HX_STACK_PUSH("Bitmap::nmeRebuild","native/display/Bitmap.hx",37); - HX_STACK_THIS(this); - HX_STACK_LINE(37) - if (((bool((this->nmeHandle != null())) && bool((this->bitmapData != null()))))){ - HX_STACK_LINE(41) - ::native::display::Graphics gfx = this->get_graphics(); HX_STACK_VAR(gfx,"gfx"); - HX_STACK_LINE(42) - gfx->clear(); - HX_STACK_LINE(44) - if (((this->bitmapData != null()))){ - HX_STACK_LINE(46) - gfx->beginBitmapFill(this->bitmapData,null(),false,this->smoothing); - HX_STACK_LINE(47) - gfx->drawRect((int)0,(int)0,this->bitmapData->get_width(),this->bitmapData->get_height()); - HX_STACK_LINE(48) - gfx->endFill(); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Bitmap_obj,nmeRebuild,(void)) - - -Bitmap_obj::Bitmap_obj() -{ -} - -void Bitmap_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Bitmap); - HX_MARK_MEMBER_NAME(mGraphics,"mGraphics"); - HX_MARK_MEMBER_NAME(smoothing,"smoothing"); - HX_MARK_MEMBER_NAME(bitmapData,"bitmapData"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Bitmap_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mGraphics,"mGraphics"); - HX_VISIT_MEMBER_NAME(smoothing,"smoothing"); - HX_VISIT_MEMBER_NAME(bitmapData,"bitmapData"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Bitmap_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"mGraphics") ) { return mGraphics; } - if (HX_FIELD_EQ(inName,"smoothing") ) { return smoothing; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeRebuild") ) { return nmeRebuild_dyn(); } - if (HX_FIELD_EQ(inName,"bitmapData") ) { return bitmapData; } - break; - case 13: - if (HX_FIELD_EQ(inName,"set_smoothing") ) { return set_smoothing_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"set_bitmapData") ) { return set_bitmapData_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Bitmap_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"mGraphics") ) { mGraphics=inValue.Cast< ::native::display::Graphics >(); return inValue; } - if (HX_FIELD_EQ(inName,"smoothing") ) { if (inCallProp) return set_smoothing(inValue);smoothing=inValue.Cast< bool >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"bitmapData") ) { if (inCallProp) return set_bitmapData(inValue);bitmapData=inValue.Cast< ::native::display::BitmapData >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Bitmap_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mGraphics")); - outFields->push(HX_CSTRING("smoothing")); - outFields->push(HX_CSTRING("bitmapData")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("set_smoothing"), - HX_CSTRING("set_bitmapData"), - HX_CSTRING("nmeRebuild"), - HX_CSTRING("mGraphics"), - HX_CSTRING("smoothing"), - HX_CSTRING("bitmapData"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Bitmap_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Bitmap_obj::__mClass,"__mClass"); -}; - -Class Bitmap_obj::__mClass; - -void Bitmap_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.Bitmap"), hx::TCanCast< Bitmap_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Bitmap_obj::__boot() -{ -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/BitmapData.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/BitmapData.cpp deleted file mode 100644 index ada071e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/BitmapData.cpp +++ /dev/null @@ -1,1499 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_Loader -#include -#endif -#ifndef INCLUDED_native_display_BitmapData -#include -#endif -#ifndef INCLUDED_native_display_BlendMode -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_OptimizedPerlin -#include -#endif -#ifndef INCLUDED_native_filters_BitmapFilter -#include -#endif -#ifndef INCLUDED_native_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -#ifndef INCLUDED_native_geom_Point -#include -#endif -#ifndef INCLUDED_native_geom_Rectangle -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace native{ -namespace display{ - -Void BitmapData_obj::__construct(int inWidth,int inHeight,hx::Null< bool > __o_inTransparent,Dynamic inFillRGBA,Dynamic inGPUMode) -{ -HX_STACK_PUSH("BitmapData::new","native/display/BitmapData.hx",40); -bool inTransparent = __o_inTransparent.Default(true); -{ - HX_STACK_LINE(42) - int fill_col; HX_STACK_VAR(fill_col,"fill_col"); - HX_STACK_LINE(43) - int fill_alpha; HX_STACK_VAR(fill_alpha,"fill_alpha"); - HX_STACK_LINE(45) - if (((inFillRGBA == null()))){ - HX_STACK_LINE(47) - fill_col = (int)16777215; - HX_STACK_LINE(48) - fill_alpha = (int)255; - } - else{ - struct _Function_2_1{ - inline static int Block( Dynamic &inFillRGBA){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",52); - { - HX_STACK_LINE(52) - int v = inFillRGBA; HX_STACK_VAR(v,"v"); - HX_STACK_LINE(52) - return (int(v) & int((int)16777215)); - } - return null(); - } - }; - HX_STACK_LINE(52) - fill_col = _Function_2_1::Block(inFillRGBA); - struct _Function_2_2{ - inline static int Block( Dynamic &inFillRGBA){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",53); - { - HX_STACK_LINE(53) - int v = inFillRGBA; HX_STACK_VAR(v,"v"); - HX_STACK_LINE(53) - return hx::UShr(v,(int)24); - } - return null(); - } - }; - HX_STACK_LINE(53) - fill_alpha = _Function_2_2::Block(inFillRGBA); - } - HX_STACK_LINE(57) - if (((bool((inWidth < (int)1)) || bool((inHeight < (int)1))))){ - HX_STACK_LINE(57) - this->nmeHandle = null(); - } - else{ - HX_STACK_LINE(63) - int flags = ::native::display::BitmapData_obj::HARDWARE; HX_STACK_VAR(flags,"flags"); - HX_STACK_LINE(65) - if ((inTransparent)){ - HX_STACK_LINE(65) - hx::OrEq(flags,::native::display::BitmapData_obj::TRANSPARENT); - } - HX_STACK_LINE(67) - this->nmeHandle = ::native::display::BitmapData_obj::nme_bitmap_data_create(inWidth,inHeight,flags,fill_col,fill_alpha,inGPUMode); - } -} -; - return null(); -} - -BitmapData_obj::~BitmapData_obj() { } - -Dynamic BitmapData_obj::__CreateEmpty() { return new BitmapData_obj; } -hx::ObjectPtr< BitmapData_obj > BitmapData_obj::__new(int inWidth,int inHeight,hx::Null< bool > __o_inTransparent,Dynamic inFillRGBA,Dynamic inGPUMode) -{ hx::ObjectPtr< BitmapData_obj > result = new BitmapData_obj(); - result->__construct(inWidth,inHeight,__o_inTransparent,inFillRGBA,inGPUMode); - return result;} - -Dynamic BitmapData_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BitmapData_obj > result = new BitmapData_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4]); - return result;} - -hx::Object *BitmapData_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::native::display::IBitmapDrawable_obj)) return operator ::native::display::IBitmapDrawable_obj *(); - return super::__ToInterface(inType); -} - -bool BitmapData_obj::get_transparent( ){ - HX_STACK_PUSH("BitmapData::get_transparent","native/display/BitmapData.hx",418); - HX_STACK_THIS(this); - HX_STACK_LINE(418) - return ::native::display::BitmapData_obj::nme_bitmap_data_get_transparent(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,get_transparent,return ) - -int BitmapData_obj::get_height( ){ - HX_STACK_PUSH("BitmapData::get_height","native/display/BitmapData.hx",417); - HX_STACK_THIS(this); - HX_STACK_LINE(417) - return ::native::display::BitmapData_obj::nme_bitmap_data_height(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,get_height,return ) - -int BitmapData_obj::get_width( ){ - HX_STACK_PUSH("BitmapData::get_width","native/display/BitmapData.hx",416); - HX_STACK_THIS(this); - HX_STACK_LINE(416) - return ::native::display::BitmapData_obj::nme_bitmap_data_width(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,get_width,return ) - -::native::geom::Rectangle BitmapData_obj::get_rect( ){ - HX_STACK_PUSH("BitmapData::get_rect","native/display/BitmapData.hx",415); - HX_STACK_THIS(this); - HX_STACK_LINE(415) - return ::native::geom::Rectangle_obj::__new((int)0,(int)0,this->get_width(),this->get_height()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,get_rect,return ) - -Void BitmapData_obj::noise( int randomSeed,hx::Null< int > __o_low,hx::Null< int > __o_high,hx::Null< int > __o_channelOptions,hx::Null< bool > __o_grayScale){ -int low = __o_low.Default(0); -int high = __o_high.Default(255); -int channelOptions = __o_channelOptions.Default(7); -bool grayScale = __o_grayScale.Default(false); - HX_STACK_PUSH("BitmapData::noise","native/display/BitmapData.hx",401); - HX_STACK_THIS(this); - HX_STACK_ARG(randomSeed,"randomSeed"); - HX_STACK_ARG(low,"low"); - HX_STACK_ARG(high,"high"); - HX_STACK_ARG(channelOptions,"channelOptions"); - HX_STACK_ARG(grayScale,"grayScale"); -{ - HX_STACK_LINE(401) - ::native::display::BitmapData_obj::nme_bitmap_data_noise(this->nmeHandle,randomSeed,low,high,channelOptions,grayScale); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(BitmapData_obj,noise,(void)) - -Void BitmapData_obj::setFormat( int format){ -{ - HX_STACK_PUSH("BitmapData::setFormat","native/display/BitmapData.hx",394); - HX_STACK_THIS(this); - HX_STACK_ARG(format,"format"); - HX_STACK_LINE(394) - ::native::display::BitmapData_obj::nme_bitmap_data_set_format(this->nmeHandle,format); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,setFormat,(void)) - -Void BitmapData_obj::unlock( ::native::geom::Rectangle changeRect){ -{ - HX_STACK_PUSH("BitmapData::unlock","native/display/BitmapData.hx",387); - HX_STACK_THIS(this); - HX_STACK_ARG(changeRect,"changeRect"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,unlock,(void)) - -Void BitmapData_obj::setVector( ::native::geom::Rectangle rect,Array< int > inPixels){ -{ - HX_STACK_PUSH("BitmapData::setVector","native/display/BitmapData.hx",369); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(inPixels,"inPixels"); - HX_STACK_LINE(371) - int count = ::Std_obj::_int((rect->width * rect->height)); HX_STACK_VAR(count,"count"); - HX_STACK_LINE(373) - if (((inPixels->length < count))){ - HX_STACK_LINE(373) - return null(); - } - HX_STACK_LINE(376) - ::native::display::BitmapData_obj::nme_bitmap_data_set_array(this->nmeHandle,rect,inPixels); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,setVector,(void)) - -Void BitmapData_obj::setPixels( ::native::geom::Rectangle rect,::native::utils::ByteArray pixels){ -{ - HX_STACK_PUSH("BitmapData::setPixels","native/display/BitmapData.hx",359); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(pixels,"pixels"); - HX_STACK_LINE(361) - int size = ::Std_obj::_int(((rect->width * rect->height) * (int)4)); HX_STACK_VAR(size,"size"); - HX_STACK_LINE(362) - pixels->checkData(::Std_obj::_int(size)); - HX_STACK_LINE(363) - ::native::display::BitmapData_obj::nme_bitmap_data_set_bytes(this->nmeHandle,rect,pixels,pixels->position); - HX_STACK_LINE(364) - hx::AddEq(pixels->position,size); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,setPixels,(void)) - -Void BitmapData_obj::setPixel32( int inX,int inY,int inColour){ -{ - HX_STACK_PUSH("BitmapData::setPixel32","native/display/BitmapData.hx",348); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_LINE(348) - ::native::display::BitmapData_obj::nme_bitmap_data_set_pixel32(this->nmeHandle,inX,inY,inColour); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(BitmapData_obj,setPixel32,(void)) - -Void BitmapData_obj::setPixel( int inX,int inY,int inColour){ -{ - HX_STACK_PUSH("BitmapData::setPixel","native/display/BitmapData.hx",341); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_LINE(341) - ::native::display::BitmapData_obj::nme_bitmap_data_set_pixel(this->nmeHandle,inX,inY,inColour); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(BitmapData_obj,setPixel,(void)) - -Void BitmapData_obj::setFlags( int inFlags){ -{ - HX_STACK_PUSH("BitmapData::setFlags","native/display/BitmapData.hx",333); - HX_STACK_THIS(this); - HX_STACK_ARG(inFlags,"inFlags"); - HX_STACK_LINE(333) - ::native::display::BitmapData_obj::nme_bitmap_data_set_flags(this->nmeHandle,inFlags); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,setFlags,(void)) - -Void BitmapData_obj::scroll( int inDX,int inDY){ -{ - HX_STACK_PUSH("BitmapData::scroll","native/display/BitmapData.hx",326); - HX_STACK_THIS(this); - HX_STACK_ARG(inDX,"inDX"); - HX_STACK_ARG(inDY,"inDY"); - HX_STACK_LINE(326) - ::native::display::BitmapData_obj::nme_bitmap_data_scroll(this->nmeHandle,inDX,inDY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,scroll,(void)) - -Void BitmapData_obj::perlinNoise( Float baseX,Float baseY,int numOctaves,int randomSeed,bool stitch,bool fractalNoise,hx::Null< int > __o_channelOptions,hx::Null< bool > __o_grayScale,Array< ::native::geom::Point > offsets){ -int channelOptions = __o_channelOptions.Default(7); -bool grayScale = __o_grayScale.Default(false); - HX_STACK_PUSH("BitmapData::perlinNoise","native/display/BitmapData.hx",318); - HX_STACK_THIS(this); - HX_STACK_ARG(baseX,"baseX"); - HX_STACK_ARG(baseY,"baseY"); - HX_STACK_ARG(numOctaves,"numOctaves"); - HX_STACK_ARG(randomSeed,"randomSeed"); - HX_STACK_ARG(stitch,"stitch"); - HX_STACK_ARG(fractalNoise,"fractalNoise"); - HX_STACK_ARG(channelOptions,"channelOptions"); - HX_STACK_ARG(grayScale,"grayScale"); - HX_STACK_ARG(offsets,"offsets"); -{ - HX_STACK_LINE(320) - ::native::display::OptimizedPerlin perlin = ::native::display::OptimizedPerlin_obj::__new(randomSeed,numOctaves,null()); HX_STACK_VAR(perlin,"perlin"); - HX_STACK_LINE(321) - perlin->fill(hx::ObjectPtr(this),baseX,baseY,(int)0,null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC9(BitmapData_obj,perlinNoise,(void)) - -Void BitmapData_obj::nmeDrawToSurface( Dynamic inSurface,::native::geom::Matrix matrix,::native::geom::ColorTransform colorTransform,::String blendMode,::native::geom::Rectangle clipRect,bool smoothing){ -{ - HX_STACK_PUSH("BitmapData::nmeDrawToSurface","native/display/BitmapData.hx",310); - HX_STACK_THIS(this); - HX_STACK_ARG(inSurface,"inSurface"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(colorTransform,"colorTransform"); - HX_STACK_ARG(blendMode,"blendMode"); - HX_STACK_ARG(clipRect,"clipRect"); - HX_STACK_ARG(smoothing,"smoothing"); - HX_STACK_LINE(310) - ::native::display::BitmapData_obj::nme_render_surface_to_surface(inSurface,this->nmeHandle,matrix,colorTransform,blendMode,clipRect,smoothing); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(BitmapData_obj,nmeDrawToSurface,(void)) - -Void BitmapData_obj::lock( ){ -{ - HX_STACK_PUSH("BitmapData::lock","native/display/BitmapData.hx",303); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,lock,(void)) - -Array< int > BitmapData_obj::getVector( ::native::geom::Rectangle rect){ - HX_STACK_PUSH("BitmapData::getVector","native/display/BitmapData.hx",256); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_LINE(258) - int pixels = ::Std_obj::_int((rect->width * rect->height)); HX_STACK_VAR(pixels,"pixels"); - HX_STACK_LINE(260) - if (((pixels < (int)1))){ - HX_STACK_LINE(260) - return Array_obj< int >::__new(); - } - HX_STACK_LINE(262) - Array< int > result = Array_obj< int >::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(263) - result[(pixels - (int)1)] = (int)0; - HX_STACK_LINE(266) - ::native::display::BitmapData_obj::nme_bitmap_data_get_array(this->nmeHandle,rect,result); - HX_STACK_LINE(273) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,getVector,return ) - -::native::utils::ByteArray BitmapData_obj::getPixels( ::native::geom::Rectangle rect){ - HX_STACK_PUSH("BitmapData::getPixels","native/display/BitmapData.hx",247); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_LINE(249) - ::native::utils::ByteArray result = ::native::display::BitmapData_obj::nme_bitmap_data_get_pixels(this->nmeHandle,rect); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(250) - if (((result != null()))){ - HX_STACK_LINE(250) - result->position = result->length; - } - HX_STACK_LINE(251) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,getPixels,return ) - -int BitmapData_obj::getPixel32( int x,int y){ - HX_STACK_PUSH("BitmapData::getPixel32","native/display/BitmapData.hx",236); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_LINE(236) - return ::native::display::BitmapData_obj::nme_bitmap_data_get_pixel32(this->nmeHandle,x,y); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,getPixel32,return ) - -int BitmapData_obj::getPixel( int x,int y){ - HX_STACK_PUSH("BitmapData::getPixel","native/display/BitmapData.hx",229); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_LINE(229) - return ::native::display::BitmapData_obj::nme_bitmap_data_get_pixel(this->nmeHandle,x,y); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,getPixel,return ) - -::native::geom::Rectangle BitmapData_obj::getColorBoundsRect( int mask,int color,hx::Null< bool > __o_findColor){ -bool findColor = __o_findColor.Default(true); - HX_STACK_PUSH("BitmapData::getColorBoundsRect","native/display/BitmapData.hx",220); - HX_STACK_THIS(this); - HX_STACK_ARG(mask,"mask"); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(findColor,"findColor"); -{ - HX_STACK_LINE(222) - ::native::geom::Rectangle result = ::native::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(223) - ::native::display::BitmapData_obj::nme_bitmap_data_get_color_bounds_rect(this->nmeHandle,mask,color,findColor,result); - HX_STACK_LINE(224) - return result; - } -} - - -HX_DEFINE_DYNAMIC_FUNC3(BitmapData_obj,getColorBoundsRect,return ) - -::native::geom::Rectangle BitmapData_obj::generateFilterRect( ::native::geom::Rectangle sourceRect,::native::filters::BitmapFilter filter){ - HX_STACK_PUSH("BitmapData::generateFilterRect","native/display/BitmapData.hx",211); - HX_STACK_THIS(this); - HX_STACK_ARG(sourceRect,"sourceRect"); - HX_STACK_ARG(filter,"filter"); - HX_STACK_LINE(213) - ::native::geom::Rectangle result = ::native::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(214) - ::native::display::BitmapData_obj::nme_bitmap_data_generate_filter_rect(sourceRect,filter,result); - HX_STACK_LINE(215) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,generateFilterRect,return ) - -Void BitmapData_obj::fillRectEx( ::native::geom::Rectangle rect,int inColour,hx::Null< int > __o_inAlpha){ -int inAlpha = __o_inAlpha.Default(255); - HX_STACK_PUSH("BitmapData::fillRectEx","native/display/BitmapData.hx",204); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_ARG(inAlpha,"inAlpha"); -{ - HX_STACK_LINE(204) - ::native::display::BitmapData_obj::nme_bitmap_data_fill(this->nmeHandle,rect,inColour,inAlpha); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(BitmapData_obj,fillRectEx,(void)) - -Void BitmapData_obj::fillRect( ::native::geom::Rectangle rect,int inColour){ -{ - HX_STACK_PUSH("BitmapData::fillRect","native/display/BitmapData.hx",195); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_LINE(197) - int a = hx::UShr(inColour,(int)24); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(198) - int c = (int(inColour) & int((int)16777215)); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(199) - ::native::display::BitmapData_obj::nme_bitmap_data_fill(this->nmeHandle,rect,c,a); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,fillRect,(void)) - -::native::utils::ByteArray BitmapData_obj::encode( ::String inFormat,hx::Null< Float > __o_inQuality){ -Float inQuality = __o_inQuality.Default(0.9); - HX_STACK_PUSH("BitmapData::encode","native/display/BitmapData.hx",166); - HX_STACK_THIS(this); - HX_STACK_ARG(inFormat,"inFormat"); - HX_STACK_ARG(inQuality,"inQuality"); -{ - HX_STACK_LINE(166) - return ::native::display::BitmapData_obj::nme_bitmap_data_encode(this->nmeHandle,inFormat,inQuality); - } -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,encode,return ) - -Void BitmapData_obj::dumpBits( ){ -{ - HX_STACK_PUSH("BitmapData::dumpBits","native/display/BitmapData.hx",159); - HX_STACK_THIS(this); - HX_STACK_LINE(159) - ::native::display::BitmapData_obj::nme_bitmap_data_dump_bits(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,dumpBits,(void)) - -Void BitmapData_obj::draw( ::native::display::IBitmapDrawable source,::native::geom::Matrix matrix,::native::geom::ColorTransform colorTransform,::native::display::BlendMode blendMode,::native::geom::Rectangle clipRect,hx::Null< bool > __o_smoothing){ -bool smoothing = __o_smoothing.Default(false); - HX_STACK_PUSH("BitmapData::draw","native/display/BitmapData.hx",152); - HX_STACK_THIS(this); - HX_STACK_ARG(source,"source"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(colorTransform,"colorTransform"); - HX_STACK_ARG(blendMode,"blendMode"); - HX_STACK_ARG(clipRect,"clipRect"); - HX_STACK_ARG(smoothing,"smoothing"); -{ - HX_STACK_LINE(152) - source->nmeDrawToSurface(this->nmeHandle,matrix,colorTransform,::Std_obj::string(blendMode),clipRect,smoothing); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(BitmapData_obj,draw,(void)) - -Void BitmapData_obj::dispose( ){ -{ - HX_STACK_PUSH("BitmapData::dispose","native/display/BitmapData.hx",145); - HX_STACK_THIS(this); - HX_STACK_LINE(145) - this->nmeHandle = null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,dispose,(void)) - -Void BitmapData_obj::destroyHardwareSurface( ){ -{ - HX_STACK_PUSH("BitmapData::destroyHardwareSurface","native/display/BitmapData.hx",137); - HX_STACK_THIS(this); - HX_STACK_LINE(137) - ::native::display::BitmapData_obj::nme_bitmap_data_destroy_hardware_surface(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,destroyHardwareSurface,(void)) - -Void BitmapData_obj::createHardwareSurface( ){ -{ - HX_STACK_PUSH("BitmapData::createHardwareSurface","native/display/BitmapData.hx",130); - HX_STACK_THIS(this); - HX_STACK_LINE(130) - ::native::display::BitmapData_obj::nme_bitmap_data_create_hardware_surface(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,createHardwareSurface,(void)) - -Void BitmapData_obj::copyPixels( ::native::display::BitmapData sourceBitmapData,::native::geom::Rectangle sourceRect,::native::geom::Point destPoint,::native::display::BitmapData alphaBitmapData,::native::geom::Point alphaPoint,hx::Null< bool > __o_mergeAlpha){ -bool mergeAlpha = __o_mergeAlpha.Default(false); - HX_STACK_PUSH("BitmapData::copyPixels","native/display/BitmapData.hx",111); - HX_STACK_THIS(this); - HX_STACK_ARG(sourceBitmapData,"sourceBitmapData"); - HX_STACK_ARG(sourceRect,"sourceRect"); - HX_STACK_ARG(destPoint,"destPoint"); - HX_STACK_ARG(alphaBitmapData,"alphaBitmapData"); - HX_STACK_ARG(alphaPoint,"alphaPoint"); - HX_STACK_ARG(mergeAlpha,"mergeAlpha"); -{ - HX_STACK_LINE(111) - ::native::display::BitmapData_obj::nme_bitmap_data_copy(sourceBitmapData->nmeHandle,sourceRect,this->nmeHandle,destPoint,mergeAlpha); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(BitmapData_obj,copyPixels,(void)) - -Void BitmapData_obj::copyChannel( ::native::display::BitmapData sourceBitmapData,::native::geom::Rectangle sourceRect,::native::geom::Point destPoint,int inSourceChannel,int inDestChannel){ -{ - HX_STACK_PUSH("BitmapData::copyChannel","native/display/BitmapData.hx",104); - HX_STACK_THIS(this); - HX_STACK_ARG(sourceBitmapData,"sourceBitmapData"); - HX_STACK_ARG(sourceRect,"sourceRect"); - HX_STACK_ARG(destPoint,"destPoint"); - HX_STACK_ARG(inSourceChannel,"inSourceChannel"); - HX_STACK_ARG(inDestChannel,"inDestChannel"); - HX_STACK_LINE(104) - ::native::display::BitmapData_obj::nme_bitmap_data_copy_channel(sourceBitmapData->nmeHandle,sourceRect,this->nmeHandle,destPoint,inSourceChannel,inDestChannel); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(BitmapData_obj,copyChannel,(void)) - -Void BitmapData_obj::colorTransform( ::native::geom::Rectangle rect,::native::geom::ColorTransform colorTransform){ -{ - HX_STACK_PUSH("BitmapData::colorTransform","native/display/BitmapData.hx",97); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(colorTransform,"colorTransform"); - HX_STACK_LINE(97) - ::native::display::BitmapData_obj::nme_bitmap_data_color_transform(this->nmeHandle,rect,colorTransform); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,colorTransform,(void)) - -::native::display::BitmapData BitmapData_obj::clone( ){ - HX_STACK_PUSH("BitmapData::clone","native/display/BitmapData.hx",88); - HX_STACK_THIS(this); - HX_STACK_LINE(90) - ::native::display::BitmapData bm = ::native::display::BitmapData_obj::__new((int)0,(int)0,null(),null(),null()); HX_STACK_VAR(bm,"bm"); - HX_STACK_LINE(91) - bm->nmeHandle = ::native::display::BitmapData_obj::nme_bitmap_data_clone(this->nmeHandle); - HX_STACK_LINE(92) - return bm; -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,clone,return ) - -Void BitmapData_obj::clear( int color){ -{ - HX_STACK_PUSH("BitmapData::clear","native/display/BitmapData.hx",81); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_LINE(81) - ::native::display::BitmapData_obj::nme_bitmap_data_clear(this->nmeHandle,color); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,clear,(void)) - -Void BitmapData_obj::applyFilter( ::native::display::BitmapData sourceBitmapData,::native::geom::Rectangle sourceRect,::native::geom::Point destPoint,::native::filters::BitmapFilter filter){ -{ - HX_STACK_PUSH("BitmapData::applyFilter","native/display/BitmapData.hx",74); - HX_STACK_THIS(this); - HX_STACK_ARG(sourceBitmapData,"sourceBitmapData"); - HX_STACK_ARG(sourceRect,"sourceRect"); - HX_STACK_ARG(destPoint,"destPoint"); - HX_STACK_ARG(filter,"filter"); - HX_STACK_LINE(74) - ::native::display::BitmapData_obj::nme_bitmap_data_apply_filter(this->nmeHandle,sourceBitmapData->nmeHandle,sourceRect,destPoint,filter); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(BitmapData_obj,applyFilter,(void)) - -int BitmapData_obj::CLEAR; - -int BitmapData_obj::BLACK; - -int BitmapData_obj::WHITE; - -int BitmapData_obj::RED; - -int BitmapData_obj::GREEN; - -int BitmapData_obj::BLUE; - -::String BitmapData_obj::PNG; - -::String BitmapData_obj::JPG; - -int BitmapData_obj::TRANSPARENT; - -int BitmapData_obj::HARDWARE; - -int BitmapData_obj::FORMAT_8888; - -int BitmapData_obj::FORMAT_4444; - -int BitmapData_obj::FORMAT_565; - -int BitmapData_obj::createColor( int inRGB,hx::Null< int > __o_inAlpha){ -int inAlpha = __o_inAlpha.Default(255); - HX_STACK_PUSH("BitmapData::createColor","native/display/BitmapData.hx",118); - HX_STACK_ARG(inRGB,"inRGB"); - HX_STACK_ARG(inAlpha,"inAlpha"); -{ - HX_STACK_LINE(118) - return (int(inRGB) | int((int(inAlpha) << int((int)24)))); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,createColor,return ) - -int BitmapData_obj::extractAlpha( int v){ - HX_STACK_PUSH("BitmapData::extractAlpha","native/display/BitmapData.hx",173); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(173) - return hx::UShr(v,(int)24); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,extractAlpha,return ) - -int BitmapData_obj::extractColor( int v){ - HX_STACK_PUSH("BitmapData::extractColor","native/display/BitmapData.hx",184); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(184) - return (int(v) & int((int)16777215)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,extractColor,return ) - -::native::display::BitmapData BitmapData_obj::load( ::String inFilename,hx::Null< int > __o_format){ -int format = __o_format.Default(0); - HX_STACK_PUSH("BitmapData::load","native/display/BitmapData.hx",278); - HX_STACK_ARG(inFilename,"inFilename"); - HX_STACK_ARG(format,"format"); -{ - HX_STACK_LINE(280) - ::native::display::BitmapData result = ::native::display::BitmapData_obj::__new((int)0,(int)0,null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(281) - result->nmeHandle = ::native::display::BitmapData_obj::nme_bitmap_data_load(inFilename,format); - HX_STACK_LINE(282) - return result; - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,load,return ) - -::native::display::BitmapData BitmapData_obj::loadFromBytes( ::native::utils::ByteArray inBytes,::native::utils::ByteArray inRawAlpha){ - HX_STACK_PUSH("BitmapData::loadFromBytes","native/display/BitmapData.hx",287); - HX_STACK_ARG(inBytes,"inBytes"); - HX_STACK_ARG(inRawAlpha,"inRawAlpha"); - HX_STACK_LINE(289) - ::native::display::BitmapData result = ::native::display::BitmapData_obj::__new((int)0,(int)0,null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(290) - result->nmeHandle = ::native::display::BitmapData_obj::nme_bitmap_data_from_bytes(inBytes,inRawAlpha); - HX_STACK_LINE(291) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,loadFromBytes,return ) - -::native::display::BitmapData BitmapData_obj::loadFromHaxeBytes( ::haxe::io::Bytes inBytes,::haxe::io::Bytes inRawAlpha){ - HX_STACK_PUSH("BitmapData::loadFromHaxeBytes","native/display/BitmapData.hx",296); - HX_STACK_ARG(inBytes,"inBytes"); - HX_STACK_ARG(inRawAlpha,"inRawAlpha"); - HX_STACK_LINE(296) - return ::native::display::BitmapData_obj::loadFromBytes(::native::utils::ByteArray_obj::fromBytes(inBytes),( (((inRawAlpha == null()))) ? ::native::utils::ByteArray(null()) : ::native::utils::ByteArray(::native::utils::ByteArray_obj::fromBytes(inRawAlpha)) )); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,loadFromHaxeBytes,return ) - -Dynamic BitmapData_obj::nme_bitmap_data_create; - -Dynamic BitmapData_obj::nme_bitmap_data_load; - -Dynamic BitmapData_obj::nme_bitmap_data_from_bytes; - -Dynamic BitmapData_obj::nme_bitmap_data_clear; - -Dynamic BitmapData_obj::nme_bitmap_data_clone; - -Dynamic BitmapData_obj::nme_bitmap_data_apply_filter; - -Dynamic BitmapData_obj::nme_bitmap_data_color_transform; - -Dynamic BitmapData_obj::nme_bitmap_data_copy; - -Dynamic BitmapData_obj::nme_bitmap_data_copy_channel; - -Dynamic BitmapData_obj::nme_bitmap_data_fill; - -Dynamic BitmapData_obj::nme_bitmap_data_get_pixels; - -Dynamic BitmapData_obj::nme_bitmap_data_get_pixel; - -Dynamic BitmapData_obj::nme_bitmap_data_get_pixel32; - -Dynamic BitmapData_obj::nme_bitmap_data_get_pixel_rgba; - -Dynamic BitmapData_obj::nme_bitmap_data_get_array; - -Dynamic BitmapData_obj::nme_bitmap_data_get_color_bounds_rect; - -Dynamic BitmapData_obj::nme_bitmap_data_scroll; - -Dynamic BitmapData_obj::nme_bitmap_data_set_pixel; - -Dynamic BitmapData_obj::nme_bitmap_data_set_pixel32; - -Dynamic BitmapData_obj::nme_bitmap_data_set_pixel_rgba; - -Dynamic BitmapData_obj::nme_bitmap_data_set_bytes; - -Dynamic BitmapData_obj::nme_bitmap_data_set_format; - -Dynamic BitmapData_obj::nme_bitmap_data_set_array; - -Dynamic BitmapData_obj::nme_bitmap_data_create_hardware_surface; - -Dynamic BitmapData_obj::nme_bitmap_data_destroy_hardware_surface; - -Dynamic BitmapData_obj::nme_bitmap_data_generate_filter_rect; - -Dynamic BitmapData_obj::nme_render_surface_to_surface; - -Dynamic BitmapData_obj::nme_bitmap_data_height; - -Dynamic BitmapData_obj::nme_bitmap_data_width; - -Dynamic BitmapData_obj::nme_bitmap_data_get_transparent; - -Dynamic BitmapData_obj::nme_bitmap_data_set_flags; - -Dynamic BitmapData_obj::nme_bitmap_data_encode; - -Dynamic BitmapData_obj::nme_bitmap_data_dump_bits; - -Dynamic BitmapData_obj::nme_bitmap_data_noise; - - -BitmapData_obj::BitmapData_obj() -{ -} - -void BitmapData_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BitmapData); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(width,"width"); - HX_MARK_MEMBER_NAME(transparent,"transparent"); - HX_MARK_MEMBER_NAME(rect,"rect"); - HX_MARK_MEMBER_NAME(height,"height"); - HX_MARK_END_CLASS(); -} - -void BitmapData_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(width,"width"); - HX_VISIT_MEMBER_NAME(transparent,"transparent"); - HX_VISIT_MEMBER_NAME(rect,"rect"); - HX_VISIT_MEMBER_NAME(height,"height"); -} - -Dynamic BitmapData_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"RED") ) { return RED; } - if (HX_FIELD_EQ(inName,"PNG") ) { return PNG; } - if (HX_FIELD_EQ(inName,"JPG") ) { return JPG; } - break; - case 4: - if (HX_FIELD_EQ(inName,"BLUE") ) { return BLUE; } - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - if (HX_FIELD_EQ(inName,"lock") ) { return lock_dyn(); } - if (HX_FIELD_EQ(inName,"draw") ) { return draw_dyn(); } - if (HX_FIELD_EQ(inName,"rect") ) { return inCallProp ? get_rect() : rect; } - break; - case 5: - if (HX_FIELD_EQ(inName,"CLEAR") ) { return CLEAR; } - if (HX_FIELD_EQ(inName,"BLACK") ) { return BLACK; } - if (HX_FIELD_EQ(inName,"WHITE") ) { return WHITE; } - if (HX_FIELD_EQ(inName,"GREEN") ) { return GREEN; } - if (HX_FIELD_EQ(inName,"noise") ) { return noise_dyn(); } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - if (HX_FIELD_EQ(inName,"clear") ) { return clear_dyn(); } - if (HX_FIELD_EQ(inName,"width") ) { return inCallProp ? get_width() : width; } - break; - case 6: - if (HX_FIELD_EQ(inName,"unlock") ) { return unlock_dyn(); } - if (HX_FIELD_EQ(inName,"scroll") ) { return scroll_dyn(); } - if (HX_FIELD_EQ(inName,"encode") ) { return encode_dyn(); } - if (HX_FIELD_EQ(inName,"height") ) { return inCallProp ? get_height() : height; } - break; - case 7: - if (HX_FIELD_EQ(inName,"dispose") ) { return dispose_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { return HARDWARE; } - if (HX_FIELD_EQ(inName,"get_rect") ) { return get_rect_dyn(); } - if (HX_FIELD_EQ(inName,"setPixel") ) { return setPixel_dyn(); } - if (HX_FIELD_EQ(inName,"setFlags") ) { return setFlags_dyn(); } - if (HX_FIELD_EQ(inName,"getPixel") ) { return getPixel_dyn(); } - if (HX_FIELD_EQ(inName,"fillRect") ) { return fillRect_dyn(); } - if (HX_FIELD_EQ(inName,"dumpBits") ) { return dumpBits_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"get_width") ) { return get_width_dyn(); } - if (HX_FIELD_EQ(inName,"setFormat") ) { return setFormat_dyn(); } - if (HX_FIELD_EQ(inName,"setVector") ) { return setVector_dyn(); } - if (HX_FIELD_EQ(inName,"setPixels") ) { return setPixels_dyn(); } - if (HX_FIELD_EQ(inName,"getVector") ) { return getVector_dyn(); } - if (HX_FIELD_EQ(inName,"getPixels") ) { return getPixels_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FORMAT_565") ) { return FORMAT_565; } - if (HX_FIELD_EQ(inName,"get_height") ) { return get_height_dyn(); } - if (HX_FIELD_EQ(inName,"setPixel32") ) { return setPixel32_dyn(); } - if (HX_FIELD_EQ(inName,"getPixel32") ) { return getPixel32_dyn(); } - if (HX_FIELD_EQ(inName,"fillRectEx") ) { return fillRectEx_dyn(); } - if (HX_FIELD_EQ(inName,"copyPixels") ) { return copyPixels_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"TRANSPARENT") ) { return TRANSPARENT; } - if (HX_FIELD_EQ(inName,"FORMAT_8888") ) { return FORMAT_8888; } - if (HX_FIELD_EQ(inName,"FORMAT_4444") ) { return FORMAT_4444; } - if (HX_FIELD_EQ(inName,"createColor") ) { return createColor_dyn(); } - if (HX_FIELD_EQ(inName,"perlinNoise") ) { return perlinNoise_dyn(); } - if (HX_FIELD_EQ(inName,"copyChannel") ) { return copyChannel_dyn(); } - if (HX_FIELD_EQ(inName,"applyFilter") ) { return applyFilter_dyn(); } - if (HX_FIELD_EQ(inName,"transparent") ) { return inCallProp ? get_transparent() : transparent; } - break; - case 12: - if (HX_FIELD_EQ(inName,"extractAlpha") ) { return extractAlpha_dyn(); } - if (HX_FIELD_EQ(inName,"extractColor") ) { return extractColor_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"loadFromBytes") ) { return loadFromBytes_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"colorTransform") ) { return colorTransform_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"get_transparent") ) { return get_transparent_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeDrawToSurface") ) { return nmeDrawToSurface_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"loadFromHaxeBytes") ) { return loadFromHaxeBytes_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"getColorBoundsRect") ) { return getColorBoundsRect_dyn(); } - if (HX_FIELD_EQ(inName,"generateFilterRect") ) { return generateFilterRect_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_load") ) { return nme_bitmap_data_load; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_copy") ) { return nme_bitmap_data_copy; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_fill") ) { return nme_bitmap_data_fill; } - break; - case 21: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_clear") ) { return nme_bitmap_data_clear; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_clone") ) { return nme_bitmap_data_clone; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_width") ) { return nme_bitmap_data_width; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_noise") ) { return nme_bitmap_data_noise; } - if (HX_FIELD_EQ(inName,"createHardwareSurface") ) { return createHardwareSurface_dyn(); } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_create") ) { return nme_bitmap_data_create; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_scroll") ) { return nme_bitmap_data_scroll; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_height") ) { return nme_bitmap_data_height; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_encode") ) { return nme_bitmap_data_encode; } - if (HX_FIELD_EQ(inName,"destroyHardwareSurface") ) { return destroyHardwareSurface_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel") ) { return nme_bitmap_data_get_pixel; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_array") ) { return nme_bitmap_data_get_array; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel") ) { return nme_bitmap_data_set_pixel; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_bytes") ) { return nme_bitmap_data_set_bytes; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_array") ) { return nme_bitmap_data_set_array; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_flags") ) { return nme_bitmap_data_set_flags; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_dump_bits") ) { return nme_bitmap_data_dump_bits; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_from_bytes") ) { return nme_bitmap_data_from_bytes; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixels") ) { return nme_bitmap_data_get_pixels; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_format") ) { return nme_bitmap_data_set_format; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel32") ) { return nme_bitmap_data_get_pixel32; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel32") ) { return nme_bitmap_data_set_pixel32; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_apply_filter") ) { return nme_bitmap_data_apply_filter; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_copy_channel") ) { return nme_bitmap_data_copy_channel; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_render_surface_to_surface") ) { return nme_render_surface_to_surface; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel_rgba") ) { return nme_bitmap_data_get_pixel_rgba; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel_rgba") ) { return nme_bitmap_data_set_pixel_rgba; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_color_transform") ) { return nme_bitmap_data_color_transform; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_transparent") ) { return nme_bitmap_data_get_transparent; } - break; - case 36: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_generate_filter_rect") ) { return nme_bitmap_data_generate_filter_rect; } - break; - case 37: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_color_bounds_rect") ) { return nme_bitmap_data_get_color_bounds_rect; } - break; - case 39: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_create_hardware_surface") ) { return nme_bitmap_data_create_hardware_surface; } - break; - case 40: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_destroy_hardware_surface") ) { return nme_bitmap_data_destroy_hardware_surface; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BitmapData_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"RED") ) { RED=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"PNG") ) { PNG=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"JPG") ) { JPG=inValue.Cast< ::String >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"BLUE") ) { BLUE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"rect") ) { rect=inValue.Cast< ::native::geom::Rectangle >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"CLEAR") ) { CLEAR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BLACK") ) { BLACK=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"WHITE") ) { WHITE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"GREEN") ) { GREEN=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"width") ) { width=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"height") ) { height=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { HARDWARE=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FORMAT_565") ) { FORMAT_565=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TRANSPARENT") ) { TRANSPARENT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FORMAT_8888") ) { FORMAT_8888=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FORMAT_4444") ) { FORMAT_4444=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"transparent") ) { transparent=inValue.Cast< bool >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_load") ) { nme_bitmap_data_load=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_copy") ) { nme_bitmap_data_copy=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_fill") ) { nme_bitmap_data_fill=inValue.Cast< Dynamic >(); return inValue; } - break; - case 21: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_clear") ) { nme_bitmap_data_clear=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_clone") ) { nme_bitmap_data_clone=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_width") ) { nme_bitmap_data_width=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_noise") ) { nme_bitmap_data_noise=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_create") ) { nme_bitmap_data_create=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_scroll") ) { nme_bitmap_data_scroll=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_height") ) { nme_bitmap_data_height=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_encode") ) { nme_bitmap_data_encode=inValue.Cast< Dynamic >(); return inValue; } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel") ) { nme_bitmap_data_get_pixel=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_array") ) { nme_bitmap_data_get_array=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel") ) { nme_bitmap_data_set_pixel=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_bytes") ) { nme_bitmap_data_set_bytes=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_array") ) { nme_bitmap_data_set_array=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_flags") ) { nme_bitmap_data_set_flags=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_dump_bits") ) { nme_bitmap_data_dump_bits=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_from_bytes") ) { nme_bitmap_data_from_bytes=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixels") ) { nme_bitmap_data_get_pixels=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_format") ) { nme_bitmap_data_set_format=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel32") ) { nme_bitmap_data_get_pixel32=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel32") ) { nme_bitmap_data_set_pixel32=inValue.Cast< Dynamic >(); return inValue; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_apply_filter") ) { nme_bitmap_data_apply_filter=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_copy_channel") ) { nme_bitmap_data_copy_channel=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_render_surface_to_surface") ) { nme_render_surface_to_surface=inValue.Cast< Dynamic >(); return inValue; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel_rgba") ) { nme_bitmap_data_get_pixel_rgba=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel_rgba") ) { nme_bitmap_data_set_pixel_rgba=inValue.Cast< Dynamic >(); return inValue; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_color_transform") ) { nme_bitmap_data_color_transform=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_transparent") ) { nme_bitmap_data_get_transparent=inValue.Cast< Dynamic >(); return inValue; } - break; - case 36: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_generate_filter_rect") ) { nme_bitmap_data_generate_filter_rect=inValue.Cast< Dynamic >(); return inValue; } - break; - case 37: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_color_bounds_rect") ) { nme_bitmap_data_get_color_bounds_rect=inValue.Cast< Dynamic >(); return inValue; } - break; - case 39: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_create_hardware_surface") ) { nme_bitmap_data_create_hardware_surface=inValue.Cast< Dynamic >(); return inValue; } - break; - case 40: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_destroy_hardware_surface") ) { nme_bitmap_data_destroy_hardware_surface=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BitmapData_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("width")); - outFields->push(HX_CSTRING("transparent")); - outFields->push(HX_CSTRING("rect")); - outFields->push(HX_CSTRING("height")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("CLEAR"), - HX_CSTRING("BLACK"), - HX_CSTRING("WHITE"), - HX_CSTRING("RED"), - HX_CSTRING("GREEN"), - HX_CSTRING("BLUE"), - HX_CSTRING("PNG"), - HX_CSTRING("JPG"), - HX_CSTRING("TRANSPARENT"), - HX_CSTRING("HARDWARE"), - HX_CSTRING("FORMAT_8888"), - HX_CSTRING("FORMAT_4444"), - HX_CSTRING("FORMAT_565"), - HX_CSTRING("createColor"), - HX_CSTRING("extractAlpha"), - HX_CSTRING("extractColor"), - HX_CSTRING("load"), - HX_CSTRING("loadFromBytes"), - HX_CSTRING("loadFromHaxeBytes"), - HX_CSTRING("nme_bitmap_data_create"), - HX_CSTRING("nme_bitmap_data_load"), - HX_CSTRING("nme_bitmap_data_from_bytes"), - HX_CSTRING("nme_bitmap_data_clear"), - HX_CSTRING("nme_bitmap_data_clone"), - HX_CSTRING("nme_bitmap_data_apply_filter"), - HX_CSTRING("nme_bitmap_data_color_transform"), - HX_CSTRING("nme_bitmap_data_copy"), - HX_CSTRING("nme_bitmap_data_copy_channel"), - HX_CSTRING("nme_bitmap_data_fill"), - HX_CSTRING("nme_bitmap_data_get_pixels"), - HX_CSTRING("nme_bitmap_data_get_pixel"), - HX_CSTRING("nme_bitmap_data_get_pixel32"), - HX_CSTRING("nme_bitmap_data_get_pixel_rgba"), - HX_CSTRING("nme_bitmap_data_get_array"), - HX_CSTRING("nme_bitmap_data_get_color_bounds_rect"), - HX_CSTRING("nme_bitmap_data_scroll"), - HX_CSTRING("nme_bitmap_data_set_pixel"), - HX_CSTRING("nme_bitmap_data_set_pixel32"), - HX_CSTRING("nme_bitmap_data_set_pixel_rgba"), - HX_CSTRING("nme_bitmap_data_set_bytes"), - HX_CSTRING("nme_bitmap_data_set_format"), - HX_CSTRING("nme_bitmap_data_set_array"), - HX_CSTRING("nme_bitmap_data_create_hardware_surface"), - HX_CSTRING("nme_bitmap_data_destroy_hardware_surface"), - HX_CSTRING("nme_bitmap_data_generate_filter_rect"), - HX_CSTRING("nme_render_surface_to_surface"), - HX_CSTRING("nme_bitmap_data_height"), - HX_CSTRING("nme_bitmap_data_width"), - HX_CSTRING("nme_bitmap_data_get_transparent"), - HX_CSTRING("nme_bitmap_data_set_flags"), - HX_CSTRING("nme_bitmap_data_encode"), - HX_CSTRING("nme_bitmap_data_dump_bits"), - HX_CSTRING("nme_bitmap_data_noise"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("get_transparent"), - HX_CSTRING("get_height"), - HX_CSTRING("get_width"), - HX_CSTRING("get_rect"), - HX_CSTRING("noise"), - HX_CSTRING("setFormat"), - HX_CSTRING("unlock"), - HX_CSTRING("setVector"), - HX_CSTRING("setPixels"), - HX_CSTRING("setPixel32"), - HX_CSTRING("setPixel"), - HX_CSTRING("setFlags"), - HX_CSTRING("scroll"), - HX_CSTRING("perlinNoise"), - HX_CSTRING("nmeDrawToSurface"), - HX_CSTRING("lock"), - HX_CSTRING("getVector"), - HX_CSTRING("getPixels"), - HX_CSTRING("getPixel32"), - HX_CSTRING("getPixel"), - HX_CSTRING("getColorBoundsRect"), - HX_CSTRING("generateFilterRect"), - HX_CSTRING("fillRectEx"), - HX_CSTRING("fillRect"), - HX_CSTRING("encode"), - HX_CSTRING("dumpBits"), - HX_CSTRING("draw"), - HX_CSTRING("dispose"), - HX_CSTRING("destroyHardwareSurface"), - HX_CSTRING("createHardwareSurface"), - HX_CSTRING("copyPixels"), - HX_CSTRING("copyChannel"), - HX_CSTRING("colorTransform"), - HX_CSTRING("clone"), - HX_CSTRING("clear"), - HX_CSTRING("applyFilter"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("width"), - HX_CSTRING("transparent"), - HX_CSTRING("rect"), - HX_CSTRING("height"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BitmapData_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(BitmapData_obj::CLEAR,"CLEAR"); - HX_MARK_MEMBER_NAME(BitmapData_obj::BLACK,"BLACK"); - HX_MARK_MEMBER_NAME(BitmapData_obj::WHITE,"WHITE"); - HX_MARK_MEMBER_NAME(BitmapData_obj::RED,"RED"); - HX_MARK_MEMBER_NAME(BitmapData_obj::GREEN,"GREEN"); - HX_MARK_MEMBER_NAME(BitmapData_obj::BLUE,"BLUE"); - HX_MARK_MEMBER_NAME(BitmapData_obj::PNG,"PNG"); - HX_MARK_MEMBER_NAME(BitmapData_obj::JPG,"JPG"); - HX_MARK_MEMBER_NAME(BitmapData_obj::TRANSPARENT,"TRANSPARENT"); - HX_MARK_MEMBER_NAME(BitmapData_obj::HARDWARE,"HARDWARE"); - HX_MARK_MEMBER_NAME(BitmapData_obj::FORMAT_8888,"FORMAT_8888"); - HX_MARK_MEMBER_NAME(BitmapData_obj::FORMAT_4444,"FORMAT_4444"); - HX_MARK_MEMBER_NAME(BitmapData_obj::FORMAT_565,"FORMAT_565"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_create,"nme_bitmap_data_create"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_load,"nme_bitmap_data_load"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_from_bytes,"nme_bitmap_data_from_bytes"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_clear,"nme_bitmap_data_clear"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_clone,"nme_bitmap_data_clone"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_apply_filter,"nme_bitmap_data_apply_filter"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_color_transform,"nme_bitmap_data_color_transform"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_copy,"nme_bitmap_data_copy"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_copy_channel,"nme_bitmap_data_copy_channel"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_fill,"nme_bitmap_data_fill"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixels,"nme_bitmap_data_get_pixels"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel,"nme_bitmap_data_get_pixel"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel32,"nme_bitmap_data_get_pixel32"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel_rgba,"nme_bitmap_data_get_pixel_rgba"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_array,"nme_bitmap_data_get_array"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_color_bounds_rect,"nme_bitmap_data_get_color_bounds_rect"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_scroll,"nme_bitmap_data_scroll"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel,"nme_bitmap_data_set_pixel"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel32,"nme_bitmap_data_set_pixel32"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel_rgba,"nme_bitmap_data_set_pixel_rgba"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_bytes,"nme_bitmap_data_set_bytes"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_format,"nme_bitmap_data_set_format"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_array,"nme_bitmap_data_set_array"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_create_hardware_surface,"nme_bitmap_data_create_hardware_surface"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_destroy_hardware_surface,"nme_bitmap_data_destroy_hardware_surface"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_generate_filter_rect,"nme_bitmap_data_generate_filter_rect"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_render_surface_to_surface,"nme_render_surface_to_surface"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_height,"nme_bitmap_data_height"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_width,"nme_bitmap_data_width"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_transparent,"nme_bitmap_data_get_transparent"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_flags,"nme_bitmap_data_set_flags"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_encode,"nme_bitmap_data_encode"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_dump_bits,"nme_bitmap_data_dump_bits"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_noise,"nme_bitmap_data_noise"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BitmapData_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::CLEAR,"CLEAR"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::BLACK,"BLACK"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::WHITE,"WHITE"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::RED,"RED"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::GREEN,"GREEN"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::BLUE,"BLUE"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::PNG,"PNG"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::JPG,"JPG"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::TRANSPARENT,"TRANSPARENT"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::HARDWARE,"HARDWARE"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::FORMAT_8888,"FORMAT_8888"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::FORMAT_4444,"FORMAT_4444"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::FORMAT_565,"FORMAT_565"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_create,"nme_bitmap_data_create"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_load,"nme_bitmap_data_load"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_from_bytes,"nme_bitmap_data_from_bytes"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_clear,"nme_bitmap_data_clear"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_clone,"nme_bitmap_data_clone"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_apply_filter,"nme_bitmap_data_apply_filter"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_color_transform,"nme_bitmap_data_color_transform"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_copy,"nme_bitmap_data_copy"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_copy_channel,"nme_bitmap_data_copy_channel"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_fill,"nme_bitmap_data_fill"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixels,"nme_bitmap_data_get_pixels"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel,"nme_bitmap_data_get_pixel"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel32,"nme_bitmap_data_get_pixel32"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel_rgba,"nme_bitmap_data_get_pixel_rgba"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_array,"nme_bitmap_data_get_array"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_color_bounds_rect,"nme_bitmap_data_get_color_bounds_rect"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_scroll,"nme_bitmap_data_scroll"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel,"nme_bitmap_data_set_pixel"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel32,"nme_bitmap_data_set_pixel32"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel_rgba,"nme_bitmap_data_set_pixel_rgba"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_bytes,"nme_bitmap_data_set_bytes"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_format,"nme_bitmap_data_set_format"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_array,"nme_bitmap_data_set_array"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_create_hardware_surface,"nme_bitmap_data_create_hardware_surface"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_destroy_hardware_surface,"nme_bitmap_data_destroy_hardware_surface"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_generate_filter_rect,"nme_bitmap_data_generate_filter_rect"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_render_surface_to_surface,"nme_render_surface_to_surface"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_height,"nme_bitmap_data_height"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_width,"nme_bitmap_data_width"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_transparent,"nme_bitmap_data_get_transparent"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_flags,"nme_bitmap_data_set_flags"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_encode,"nme_bitmap_data_encode"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_dump_bits,"nme_bitmap_data_dump_bits"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_noise,"nme_bitmap_data_noise"); -}; - -Class BitmapData_obj::__mClass; - -void BitmapData_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.BitmapData"), hx::TCanCast< BitmapData_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BitmapData_obj::__boot() -{ - CLEAR= (int)0; -struct _Function_0_1{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",18); - { - HX_STACK_LINE(18) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(18) - return (int((int)0) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - BLACK= _Function_0_1::Block(); -struct _Function_0_2{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",19); - { - HX_STACK_LINE(19) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(19) - return (int((int)0) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - WHITE= _Function_0_2::Block(); -struct _Function_0_3{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",20); - { - HX_STACK_LINE(20) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(20) - return (int((int)16711680) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - RED= _Function_0_3::Block(); -struct _Function_0_4{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",21); - { - HX_STACK_LINE(21) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(21) - return (int((int)65280) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - GREEN= _Function_0_4::Block(); -struct _Function_0_5{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",22); - { - HX_STACK_LINE(22) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(22) - return (int((int)255) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - BLUE= _Function_0_5::Block(); - PNG= HX_CSTRING("png"); - JPG= HX_CSTRING("jpg"); - TRANSPARENT= (int)1; - HARDWARE= (int)2; - FORMAT_8888= (int)0; - FORMAT_4444= (int)1; - FORMAT_565= (int)2; - nme_bitmap_data_create= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_create"),(int)-1); - nme_bitmap_data_load= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_load"),(int)2); - nme_bitmap_data_from_bytes= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_from_bytes"),(int)2); - nme_bitmap_data_clear= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_clear"),(int)2); - nme_bitmap_data_clone= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_clone"),(int)1); - nme_bitmap_data_apply_filter= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_apply_filter"),(int)5); - nme_bitmap_data_color_transform= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_color_transform"),(int)3); - nme_bitmap_data_copy= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_copy"),(int)5); - nme_bitmap_data_copy_channel= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_copy_channel"),(int)-1); - nme_bitmap_data_fill= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_fill"),(int)4); - nme_bitmap_data_get_pixels= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_pixels"),(int)2); - nme_bitmap_data_get_pixel= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_pixel"),(int)3); - nme_bitmap_data_get_pixel32= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_pixel32"),(int)3); - nme_bitmap_data_get_pixel_rgba= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_pixel_rgba"),(int)3); - nme_bitmap_data_get_array= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_array"),(int)3); - nme_bitmap_data_get_color_bounds_rect= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_color_bounds_rect"),(int)5); - nme_bitmap_data_scroll= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_scroll"),(int)3); - nme_bitmap_data_set_pixel= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_pixel"),(int)4); - nme_bitmap_data_set_pixel32= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_pixel32"),(int)4); - nme_bitmap_data_set_pixel_rgba= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_pixel_rgba"),(int)4); - nme_bitmap_data_set_bytes= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_bytes"),(int)4); - nme_bitmap_data_set_format= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_format"),(int)2); - nme_bitmap_data_set_array= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_array"),(int)3); - nme_bitmap_data_create_hardware_surface= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_create_hardware_surface"),(int)1); - nme_bitmap_data_destroy_hardware_surface= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_destroy_hardware_surface"),(int)1); - nme_bitmap_data_generate_filter_rect= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_generate_filter_rect"),(int)3); - nme_render_surface_to_surface= ::native::Loader_obj::load(HX_CSTRING("nme_render_surface_to_surface"),(int)-1); - nme_bitmap_data_height= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_height"),(int)1); - nme_bitmap_data_width= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_width"),(int)1); - nme_bitmap_data_get_transparent= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_transparent"),(int)1); - nme_bitmap_data_set_flags= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_flags"),(int)1); - nme_bitmap_data_encode= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_encode"),(int)3); - nme_bitmap_data_dump_bits= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_dump_bits"),(int)1); - nme_bitmap_data_noise= ::native::Loader_obj::load(HX_CSTRING("nme_bitmap_data_noise"),(int)-1); -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/BitmapDataChannel.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/BitmapDataChannel.cpp deleted file mode 100644 index d998a7c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/BitmapDataChannel.cpp +++ /dev/null @@ -1,131 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_BitmapDataChannel -#include -#endif -namespace native{ -namespace display{ - -Void BitmapDataChannel_obj::__construct() -{ - return null(); -} - -BitmapDataChannel_obj::~BitmapDataChannel_obj() { } - -Dynamic BitmapDataChannel_obj::__CreateEmpty() { return new BitmapDataChannel_obj; } -hx::ObjectPtr< BitmapDataChannel_obj > BitmapDataChannel_obj::__new() -{ hx::ObjectPtr< BitmapDataChannel_obj > result = new BitmapDataChannel_obj(); - result->__construct(); - return result;} - -Dynamic BitmapDataChannel_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BitmapDataChannel_obj > result = new BitmapDataChannel_obj(); - result->__construct(); - return result;} - -int BitmapDataChannel_obj::ALPHA; - -int BitmapDataChannel_obj::BLUE; - -int BitmapDataChannel_obj::GREEN; - -int BitmapDataChannel_obj::RED; - - -BitmapDataChannel_obj::BitmapDataChannel_obj() -{ -} - -void BitmapDataChannel_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BitmapDataChannel); - HX_MARK_END_CLASS(); -} - -void BitmapDataChannel_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic BitmapDataChannel_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"RED") ) { return RED; } - break; - case 4: - if (HX_FIELD_EQ(inName,"BLUE") ) { return BLUE; } - break; - case 5: - if (HX_FIELD_EQ(inName,"ALPHA") ) { return ALPHA; } - if (HX_FIELD_EQ(inName,"GREEN") ) { return GREEN; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BitmapDataChannel_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"RED") ) { RED=inValue.Cast< int >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"BLUE") ) { BLUE=inValue.Cast< int >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"ALPHA") ) { ALPHA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"GREEN") ) { GREEN=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BitmapDataChannel_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("ALPHA"), - HX_CSTRING("BLUE"), - HX_CSTRING("GREEN"), - HX_CSTRING("RED"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::ALPHA,"ALPHA"); - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::BLUE,"BLUE"); - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::GREEN,"GREEN"); - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::RED,"RED"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::ALPHA,"ALPHA"); - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::BLUE,"BLUE"); - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::GREEN,"GREEN"); - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::RED,"RED"); -}; - -Class BitmapDataChannel_obj::__mClass; - -void BitmapDataChannel_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.BitmapDataChannel"), hx::TCanCast< BitmapDataChannel_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BitmapDataChannel_obj::__boot() -{ - ALPHA= (int)8; - BLUE= (int)4; - GREEN= (int)2; - RED= (int)1; -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/BlendMode.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/BlendMode.cpp deleted file mode 100644 index cf663c5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/BlendMode.cpp +++ /dev/null @@ -1,181 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_BlendMode -#include -#endif -namespace native{ -namespace display{ - -::native::display::BlendMode BlendMode_obj::ADD; - -::native::display::BlendMode BlendMode_obj::ALPHA; - -::native::display::BlendMode BlendMode_obj::DARKEN; - -::native::display::BlendMode BlendMode_obj::DIFFERENCE; - -::native::display::BlendMode BlendMode_obj::ERASE; - -::native::display::BlendMode BlendMode_obj::HARDLIGHT; - -::native::display::BlendMode BlendMode_obj::INVERT; - -::native::display::BlendMode BlendMode_obj::LAYER; - -::native::display::BlendMode BlendMode_obj::LIGHTEN; - -::native::display::BlendMode BlendMode_obj::MULTIPLY; - -::native::display::BlendMode BlendMode_obj::NORMAL; - -::native::display::BlendMode BlendMode_obj::OVERLAY; - -::native::display::BlendMode BlendMode_obj::SCREEN; - -::native::display::BlendMode BlendMode_obj::SUBTRACT; - -HX_DEFINE_CREATE_ENUM(BlendMode_obj) - -int BlendMode_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("ADD")) return 7; - if (inName==HX_CSTRING("ALPHA")) return 10; - if (inName==HX_CSTRING("DARKEN")) return 5; - if (inName==HX_CSTRING("DIFFERENCE")) return 6; - if (inName==HX_CSTRING("ERASE")) return 11; - if (inName==HX_CSTRING("HARDLIGHT")) return 13; - if (inName==HX_CSTRING("INVERT")) return 9; - if (inName==HX_CSTRING("LAYER")) return 1; - if (inName==HX_CSTRING("LIGHTEN")) return 4; - if (inName==HX_CSTRING("MULTIPLY")) return 2; - if (inName==HX_CSTRING("NORMAL")) return 0; - if (inName==HX_CSTRING("OVERLAY")) return 12; - if (inName==HX_CSTRING("SCREEN")) return 3; - if (inName==HX_CSTRING("SUBTRACT")) return 8; - return super::__FindIndex(inName); -} - -int BlendMode_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("ADD")) return 0; - if (inName==HX_CSTRING("ALPHA")) return 0; - if (inName==HX_CSTRING("DARKEN")) return 0; - if (inName==HX_CSTRING("DIFFERENCE")) return 0; - if (inName==HX_CSTRING("ERASE")) return 0; - if (inName==HX_CSTRING("HARDLIGHT")) return 0; - if (inName==HX_CSTRING("INVERT")) return 0; - if (inName==HX_CSTRING("LAYER")) return 0; - if (inName==HX_CSTRING("LIGHTEN")) return 0; - if (inName==HX_CSTRING("MULTIPLY")) return 0; - if (inName==HX_CSTRING("NORMAL")) return 0; - if (inName==HX_CSTRING("OVERLAY")) return 0; - if (inName==HX_CSTRING("SCREEN")) return 0; - if (inName==HX_CSTRING("SUBTRACT")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic BlendMode_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("ADD")) return ADD; - if (inName==HX_CSTRING("ALPHA")) return ALPHA; - if (inName==HX_CSTRING("DARKEN")) return DARKEN; - if (inName==HX_CSTRING("DIFFERENCE")) return DIFFERENCE; - if (inName==HX_CSTRING("ERASE")) return ERASE; - if (inName==HX_CSTRING("HARDLIGHT")) return HARDLIGHT; - if (inName==HX_CSTRING("INVERT")) return INVERT; - if (inName==HX_CSTRING("LAYER")) return LAYER; - if (inName==HX_CSTRING("LIGHTEN")) return LIGHTEN; - if (inName==HX_CSTRING("MULTIPLY")) return MULTIPLY; - if (inName==HX_CSTRING("NORMAL")) return NORMAL; - if (inName==HX_CSTRING("OVERLAY")) return OVERLAY; - if (inName==HX_CSTRING("SCREEN")) return SCREEN; - if (inName==HX_CSTRING("SUBTRACT")) return SUBTRACT; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NORMAL"), - HX_CSTRING("LAYER"), - HX_CSTRING("MULTIPLY"), - HX_CSTRING("SCREEN"), - HX_CSTRING("LIGHTEN"), - HX_CSTRING("DARKEN"), - HX_CSTRING("DIFFERENCE"), - HX_CSTRING("ADD"), - HX_CSTRING("SUBTRACT"), - HX_CSTRING("INVERT"), - HX_CSTRING("ALPHA"), - HX_CSTRING("ERASE"), - HX_CSTRING("OVERLAY"), - HX_CSTRING("HARDLIGHT"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BlendMode_obj::ADD,"ADD"); - HX_MARK_MEMBER_NAME(BlendMode_obj::ALPHA,"ALPHA"); - HX_MARK_MEMBER_NAME(BlendMode_obj::DARKEN,"DARKEN"); - HX_MARK_MEMBER_NAME(BlendMode_obj::DIFFERENCE,"DIFFERENCE"); - HX_MARK_MEMBER_NAME(BlendMode_obj::ERASE,"ERASE"); - HX_MARK_MEMBER_NAME(BlendMode_obj::HARDLIGHT,"HARDLIGHT"); - HX_MARK_MEMBER_NAME(BlendMode_obj::INVERT,"INVERT"); - HX_MARK_MEMBER_NAME(BlendMode_obj::LAYER,"LAYER"); - HX_MARK_MEMBER_NAME(BlendMode_obj::LIGHTEN,"LIGHTEN"); - HX_MARK_MEMBER_NAME(BlendMode_obj::MULTIPLY,"MULTIPLY"); - HX_MARK_MEMBER_NAME(BlendMode_obj::NORMAL,"NORMAL"); - HX_MARK_MEMBER_NAME(BlendMode_obj::OVERLAY,"OVERLAY"); - HX_MARK_MEMBER_NAME(BlendMode_obj::SCREEN,"SCREEN"); - HX_MARK_MEMBER_NAME(BlendMode_obj::SUBTRACT,"SUBTRACT"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BlendMode_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::ADD,"ADD"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::ALPHA,"ALPHA"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::DARKEN,"DARKEN"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::DIFFERENCE,"DIFFERENCE"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::ERASE,"ERASE"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::HARDLIGHT,"HARDLIGHT"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::INVERT,"INVERT"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::LAYER,"LAYER"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::LIGHTEN,"LIGHTEN"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::MULTIPLY,"MULTIPLY"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::NORMAL,"NORMAL"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::OVERLAY,"OVERLAY"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::SCREEN,"SCREEN"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::SUBTRACT,"SUBTRACT"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class BlendMode_obj::__mClass; - -Dynamic __Create_BlendMode_obj() { return new BlendMode_obj; } - -void BlendMode_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.BlendMode"), hx::TCanCast< BlendMode_obj >,sStaticFields,sMemberFields, - &__Create_BlendMode_obj, &__Create, - &super::__SGetClass(), &CreateBlendMode_obj, sMarkStatics, sVisitStatic); -} - -void BlendMode_obj::__boot() -{ -Static(ADD) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("ADD"),7); -Static(ALPHA) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("ALPHA"),10); -Static(DARKEN) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("DARKEN"),5); -Static(DIFFERENCE) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("DIFFERENCE"),6); -Static(ERASE) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("ERASE"),11); -Static(HARDLIGHT) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("HARDLIGHT"),13); -Static(INVERT) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("INVERT"),9); -Static(LAYER) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("LAYER"),1); -Static(LIGHTEN) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("LIGHTEN"),4); -Static(MULTIPLY) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("MULTIPLY"),2); -Static(NORMAL) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("NORMAL"),0); -Static(OVERLAY) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("OVERLAY"),12); -Static(SCREEN) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("SCREEN"),3); -Static(SUBTRACT) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("SUBTRACT"),8); -} - - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/CapsStyle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/CapsStyle.cpp deleted file mode 100644 index 6ee061f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/CapsStyle.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_CapsStyle -#include -#endif -namespace native{ -namespace display{ - -::native::display::CapsStyle CapsStyle_obj::NONE; - -::native::display::CapsStyle CapsStyle_obj::ROUND; - -::native::display::CapsStyle CapsStyle_obj::SQUARE; - -HX_DEFINE_CREATE_ENUM(CapsStyle_obj) - -int CapsStyle_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("NONE")) return 1; - if (inName==HX_CSTRING("ROUND")) return 0; - if (inName==HX_CSTRING("SQUARE")) return 2; - return super::__FindIndex(inName); -} - -int CapsStyle_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("NONE")) return 0; - if (inName==HX_CSTRING("ROUND")) return 0; - if (inName==HX_CSTRING("SQUARE")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic CapsStyle_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("NONE")) return NONE; - if (inName==HX_CSTRING("ROUND")) return ROUND; - if (inName==HX_CSTRING("SQUARE")) return SQUARE; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("ROUND"), - HX_CSTRING("NONE"), - HX_CSTRING("SQUARE"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(CapsStyle_obj::NONE,"NONE"); - HX_MARK_MEMBER_NAME(CapsStyle_obj::ROUND,"ROUND"); - HX_MARK_MEMBER_NAME(CapsStyle_obj::SQUARE,"SQUARE"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(CapsStyle_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(CapsStyle_obj::NONE,"NONE"); - HX_VISIT_MEMBER_NAME(CapsStyle_obj::ROUND,"ROUND"); - HX_VISIT_MEMBER_NAME(CapsStyle_obj::SQUARE,"SQUARE"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class CapsStyle_obj::__mClass; - -Dynamic __Create_CapsStyle_obj() { return new CapsStyle_obj; } - -void CapsStyle_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.CapsStyle"), hx::TCanCast< CapsStyle_obj >,sStaticFields,sMemberFields, - &__Create_CapsStyle_obj, &__Create, - &super::__SGetClass(), &CreateCapsStyle_obj, sMarkStatics, sVisitStatic); -} - -void CapsStyle_obj::__boot() -{ -Static(NONE) = hx::CreateEnum< CapsStyle_obj >(HX_CSTRING("NONE"),1); -Static(ROUND) = hx::CreateEnum< CapsStyle_obj >(HX_CSTRING("ROUND"),0); -Static(SQUARE) = hx::CreateEnum< CapsStyle_obj >(HX_CSTRING("SQUARE"),2); -} - - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/DirectRenderer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/DirectRenderer.cpp deleted file mode 100644 index b8e3894..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/DirectRenderer.cpp +++ /dev/null @@ -1,216 +0,0 @@ -#include - -#ifndef INCLUDED_native_Loader -#include -#endif -#ifndef INCLUDED_native_display_DirectRenderer -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_geom_Rectangle -#include -#endif -namespace native{ -namespace display{ - -Void DirectRenderer_obj::__construct(::String __o_inType) -{ -HX_STACK_PUSH("DirectRenderer::new","native/display/DirectRenderer.hx",12); -::String inType = __o_inType.Default(HX_CSTRING("DirectRenderer")); -{ - HX_STACK_LINE(12) - Array< ::native::display::DirectRenderer > _g = Array_obj< ::native::display::DirectRenderer >::__new().Add(hx::ObjectPtr(this)); HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(14) - super::__construct(::native::display::DirectRenderer_obj::nme_direct_renderer_create(),inType); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_1_1,Array< ::native::display::DirectRenderer >,_g) - Void run(Dynamic _){ - HX_STACK_PUSH("*::_Function_1_1","native/display/DirectRenderer.hx",16); - HX_STACK_ARG(_,"_"); - { - HX_STACK_LINE(16) - ::native::display::DirectRenderer_obj::nme_direct_renderer_set(_g->__get((int)0)->nmeHandle,_g->__get((int)0)->nmeOnRender_dyn()); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - HX_STACK_LINE(16) - this->addEventListener(::native::events::Event_obj::ADDED_TO_STAGE, Dynamic(new _Function_1_1(_g)),null(),null(),null()); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_1_2,Array< ::native::display::DirectRenderer >,_g) - Void run(Dynamic _){ - HX_STACK_PUSH("*::_Function_1_2","native/display/DirectRenderer.hx",17); - HX_STACK_ARG(_,"_"); - { - HX_STACK_LINE(17) - ::native::display::DirectRenderer_obj::nme_direct_renderer_set(_g->__get((int)0)->nmeHandle,null()); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - HX_STACK_LINE(17) - this->addEventListener(::native::events::Event_obj::REMOVED_FROM_STAGE, Dynamic(new _Function_1_2(_g)),null(),null(),null()); -} -; - return null(); -} - -DirectRenderer_obj::~DirectRenderer_obj() { } - -Dynamic DirectRenderer_obj::__CreateEmpty() { return new DirectRenderer_obj; } -hx::ObjectPtr< DirectRenderer_obj > DirectRenderer_obj::__new(::String __o_inType) -{ hx::ObjectPtr< DirectRenderer_obj > result = new DirectRenderer_obj(); - result->__construct(__o_inType); - return result;} - -Dynamic DirectRenderer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< DirectRenderer_obj > result = new DirectRenderer_obj(); - result->__construct(inArgs[0]); - return result;} - -HX_BEGIN_DEFAULT_FUNC(__default_render,DirectRenderer_obj) -Void run(::native::geom::Rectangle inRect){ -{ - HX_STACK_PUSH("DirectRenderer::render","native/display/DirectRenderer.hx",29); - HX_STACK_THIS(this); - HX_STACK_ARG(inRect,"inRect"); - } -return null(); -} -HX_END_LOCAL_FUNC1((void)) -HX_END_DEFAULT_FUNC - -Void DirectRenderer_obj::nmeOnRender( Dynamic inRect){ -{ - HX_STACK_PUSH("DirectRenderer::nmeOnRender","native/display/DirectRenderer.hx",22); - HX_STACK_THIS(this); - HX_STACK_ARG(inRect,"inRect"); - HX_STACK_LINE(22) - if (((this->render_dyn() != null()))){ - HX_STACK_LINE(24) - this->render(::native::geom::Rectangle_obj::__new(inRect->__Field(HX_CSTRING("x"),true),inRect->__Field(HX_CSTRING("y"),true),inRect->__Field(HX_CSTRING("width"),true),inRect->__Field(HX_CSTRING("height"),true))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DirectRenderer_obj,nmeOnRender,(void)) - -Dynamic DirectRenderer_obj::nme_direct_renderer_create; - -Dynamic DirectRenderer_obj::nme_direct_renderer_set; - - -DirectRenderer_obj::DirectRenderer_obj() -{ - render = new __default_render(this); -} - -void DirectRenderer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(DirectRenderer); - HX_MARK_MEMBER_NAME(render,"render"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void DirectRenderer_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(render,"render"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic DirectRenderer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"render") ) { return render; } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeOnRender") ) { return nmeOnRender_dyn(); } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_direct_renderer_set") ) { return nme_direct_renderer_set; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_direct_renderer_create") ) { return nme_direct_renderer_create; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic DirectRenderer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"render") ) { render=inValue.Cast< Dynamic >(); return inValue; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_direct_renderer_set") ) { nme_direct_renderer_set=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_direct_renderer_create") ) { nme_direct_renderer_create=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void DirectRenderer_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_direct_renderer_create"), - HX_CSTRING("nme_direct_renderer_set"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("render"), - HX_CSTRING("nmeOnRender"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(DirectRenderer_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(DirectRenderer_obj::nme_direct_renderer_create,"nme_direct_renderer_create"); - HX_MARK_MEMBER_NAME(DirectRenderer_obj::nme_direct_renderer_set,"nme_direct_renderer_set"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(DirectRenderer_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(DirectRenderer_obj::nme_direct_renderer_create,"nme_direct_renderer_create"); - HX_VISIT_MEMBER_NAME(DirectRenderer_obj::nme_direct_renderer_set,"nme_direct_renderer_set"); -}; - -Class DirectRenderer_obj::__mClass; - -void DirectRenderer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.DirectRenderer"), hx::TCanCast< DirectRenderer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void DirectRenderer_obj::__boot() -{ - nme_direct_renderer_create= ::native::Loader_obj::load(HX_CSTRING("nme_direct_renderer_create"),(int)0); - nme_direct_renderer_set= ::native::Loader_obj::load(HX_CSTRING("nme_direct_renderer_set"),(int)2); -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/DisplayObject.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/DisplayObject.cpp deleted file mode 100644 index 621cad7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/DisplayObject.cpp +++ /dev/null @@ -1,2137 +0,0 @@ -#include - -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_native_Loader -#include -#endif -#ifndef INCLUDED_native_display_BlendMode -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_Graphics -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_PixelSnapping -#include -#endif -#ifndef INCLUDED_native_display_Stage -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_EventPhase -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -#ifndef INCLUDED_native_geom_Point -#include -#endif -#ifndef INCLUDED_native_geom_Rectangle -#include -#endif -#ifndef INCLUDED_native_geom_Transform -#include -#endif -namespace native{ -namespace display{ - -Void DisplayObject_obj::__construct(Dynamic inHandle,::String inType) -{ -HX_STACK_PUSH("DisplayObject::new","native/display/DisplayObject.hx",56); -{ - HX_STACK_LINE(58) - super::__construct(hx::ObjectPtr(this)); - HX_STACK_LINE(60) - this->nmeParent = null(); - HX_STACK_LINE(61) - this->nmeHandle = inHandle; - HX_STACK_LINE(62) - this->nmeID = ::native::display::DisplayObject_obj::nme_display_object_get_id(this->nmeHandle); - HX_STACK_LINE(63) - this->set_name(((inType + HX_CSTRING(" ")) + this->nmeID)); -} -; - return null(); -} - -DisplayObject_obj::~DisplayObject_obj() { } - -Dynamic DisplayObject_obj::__CreateEmpty() { return new DisplayObject_obj; } -hx::ObjectPtr< DisplayObject_obj > DisplayObject_obj::__new(Dynamic inHandle,::String inType) -{ hx::ObjectPtr< DisplayObject_obj > result = new DisplayObject_obj(); - result->__construct(inHandle,inType); - return result;} - -Dynamic DisplayObject_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< DisplayObject_obj > result = new DisplayObject_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -hx::Object *DisplayObject_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::native::display::IBitmapDrawable_obj)) return operator ::native::display::IBitmapDrawable_obj *(); - return super::__ToInterface(inType); -} - -Float DisplayObject_obj::set_y( Float inVal){ - HX_STACK_PUSH("DisplayObject::set_y","native/display/DisplayObject.hx",688); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(690) - ::native::display::DisplayObject_obj::nme_display_object_set_y(this->nmeHandle,inVal); - HX_STACK_LINE(691) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_y,return ) - -Float DisplayObject_obj::get_y( ){ - HX_STACK_PUSH("DisplayObject::get_y","native/display/DisplayObject.hx",687); - HX_STACK_THIS(this); - HX_STACK_LINE(687) - return ::native::display::DisplayObject_obj::nme_display_object_get_y(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_y,return ) - -Float DisplayObject_obj::set_x( Float inVal){ - HX_STACK_PUSH("DisplayObject::set_x","native/display/DisplayObject.hx",679); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(681) - ::native::display::DisplayObject_obj::nme_display_object_set_x(this->nmeHandle,inVal); - HX_STACK_LINE(682) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_x,return ) - -Float DisplayObject_obj::get_x( ){ - HX_STACK_PUSH("DisplayObject::get_x","native/display/DisplayObject.hx",678); - HX_STACK_THIS(this); - HX_STACK_LINE(678) - return ::native::display::DisplayObject_obj::nme_display_object_get_x(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_x,return ) - -Float DisplayObject_obj::set_width( Float inVal){ - HX_STACK_PUSH("DisplayObject::set_width","native/display/DisplayObject.hx",670); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(672) - ::native::display::DisplayObject_obj::nme_display_object_set_width(this->nmeHandle,inVal); - HX_STACK_LINE(673) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_width,return ) - -Float DisplayObject_obj::get_width( ){ - HX_STACK_PUSH("DisplayObject::get_width","native/display/DisplayObject.hx",669); - HX_STACK_THIS(this); - HX_STACK_LINE(669) - return ::native::display::DisplayObject_obj::nme_display_object_get_width(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_width,return ) - -bool DisplayObject_obj::set_visible( bool inVal){ - HX_STACK_PUSH("DisplayObject::set_visible","native/display/DisplayObject.hx",661); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(663) - ::native::display::DisplayObject_obj::nme_display_object_set_visible(this->nmeHandle,inVal); - HX_STACK_LINE(664) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_visible,return ) - -bool DisplayObject_obj::get_visible( ){ - HX_STACK_PUSH("DisplayObject::get_visible","native/display/DisplayObject.hx",660); - HX_STACK_THIS(this); - HX_STACK_LINE(660) - return ::native::display::DisplayObject_obj::nme_display_object_get_visible(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_visible,return ) - -::native::geom::Transform DisplayObject_obj::set_transform( ::native::geom::Transform inTransform){ - HX_STACK_PUSH("DisplayObject::set_transform","native/display/DisplayObject.hx",651); - HX_STACK_THIS(this); - HX_STACK_ARG(inTransform,"inTransform"); - HX_STACK_LINE(653) - this->nmeSetMatrix(inTransform->get_matrix()); - HX_STACK_LINE(654) - this->nmeSetColorTransform(inTransform->get_colorTransform()); - HX_STACK_LINE(655) - return inTransform; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_transform,return ) - -::native::geom::Transform DisplayObject_obj::get_transform( ){ - HX_STACK_PUSH("DisplayObject::get_transform","native/display/DisplayObject.hx",650); - HX_STACK_THIS(this); - HX_STACK_LINE(650) - return ::native::geom::Transform_obj::__new(hx::ObjectPtr(this)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_transform,return ) - -::native::display::Stage DisplayObject_obj::get_stage( ){ - HX_STACK_PUSH("DisplayObject::get_stage","native/display/DisplayObject.hx",640); - HX_STACK_THIS(this); - HX_STACK_LINE(642) - if (((this->nmeParent != null()))){ - HX_STACK_LINE(643) - return this->nmeParent->get_stage(); - } - HX_STACK_LINE(645) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_stage,return ) - -::native::geom::Rectangle DisplayObject_obj::set_scrollRect( ::native::geom::Rectangle inRect){ - HX_STACK_PUSH("DisplayObject::set_scrollRect","native/display/DisplayObject.hx",631); - HX_STACK_THIS(this); - HX_STACK_ARG(inRect,"inRect"); - HX_STACK_LINE(633) - this->nmeScrollRect = ( (((inRect == null()))) ? ::native::geom::Rectangle(null()) : ::native::geom::Rectangle(inRect->clone()) ); - HX_STACK_LINE(634) - ::native::display::DisplayObject_obj::nme_display_object_set_scroll_rect(this->nmeHandle,this->nmeScrollRect); - HX_STACK_LINE(635) - return inRect; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_scrollRect,return ) - -::native::geom::Rectangle DisplayObject_obj::get_scrollRect( ){ - HX_STACK_PUSH("DisplayObject::get_scrollRect","native/display/DisplayObject.hx",630); - HX_STACK_THIS(this); - HX_STACK_LINE(630) - return ( (((this->nmeScrollRect == null()))) ? ::native::geom::Rectangle(null()) : ::native::geom::Rectangle(this->nmeScrollRect->clone()) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_scrollRect,return ) - -Float DisplayObject_obj::set_scaleY( Float inVal){ - HX_STACK_PUSH("DisplayObject::set_scaleY","native/display/DisplayObject.hx",622); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(624) - ::native::display::DisplayObject_obj::nme_display_object_set_scale_y(this->nmeHandle,inVal); - HX_STACK_LINE(625) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_scaleY,return ) - -Float DisplayObject_obj::get_scaleY( ){ - HX_STACK_PUSH("DisplayObject::get_scaleY","native/display/DisplayObject.hx",621); - HX_STACK_THIS(this); - HX_STACK_LINE(621) - return ::native::display::DisplayObject_obj::nme_display_object_get_scale_y(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_scaleY,return ) - -Float DisplayObject_obj::set_scaleX( Float inVal){ - HX_STACK_PUSH("DisplayObject::set_scaleX","native/display/DisplayObject.hx",613); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(615) - ::native::display::DisplayObject_obj::nme_display_object_set_scale_x(this->nmeHandle,inVal); - HX_STACK_LINE(616) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_scaleX,return ) - -Float DisplayObject_obj::get_scaleX( ){ - HX_STACK_PUSH("DisplayObject::get_scaleX","native/display/DisplayObject.hx",612); - HX_STACK_THIS(this); - HX_STACK_LINE(612) - return ::native::display::DisplayObject_obj::nme_display_object_get_scale_x(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_scaleX,return ) - -::native::geom::Rectangle DisplayObject_obj::set_scale9Grid( ::native::geom::Rectangle inRect){ - HX_STACK_PUSH("DisplayObject::set_scale9Grid","native/display/DisplayObject.hx",603); - HX_STACK_THIS(this); - HX_STACK_ARG(inRect,"inRect"); - HX_STACK_LINE(605) - this->nmeScale9Grid = ( (((inRect == null()))) ? ::native::geom::Rectangle(null()) : ::native::geom::Rectangle(inRect->clone()) ); - HX_STACK_LINE(606) - ::native::display::DisplayObject_obj::nme_display_object_set_scale9_grid(this->nmeHandle,this->nmeScale9Grid); - HX_STACK_LINE(607) - return inRect; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_scale9Grid,return ) - -::native::geom::Rectangle DisplayObject_obj::get_scale9Grid( ){ - HX_STACK_PUSH("DisplayObject::get_scale9Grid","native/display/DisplayObject.hx",602); - HX_STACK_THIS(this); - HX_STACK_LINE(602) - return ( (((this->nmeScale9Grid == null()))) ? ::native::geom::Rectangle(null()) : ::native::geom::Rectangle(this->nmeScale9Grid->clone()) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_scale9Grid,return ) - -Float DisplayObject_obj::set_rotation( Float inVal){ - HX_STACK_PUSH("DisplayObject::set_rotation","native/display/DisplayObject.hx",594); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(596) - ::native::display::DisplayObject_obj::nme_display_object_set_rotation(this->nmeHandle,inVal); - HX_STACK_LINE(597) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_rotation,return ) - -Float DisplayObject_obj::get_rotation( ){ - HX_STACK_PUSH("DisplayObject::get_rotation","native/display/DisplayObject.hx",593); - HX_STACK_THIS(this); - HX_STACK_LINE(593) - return ::native::display::DisplayObject_obj::nme_display_object_get_rotation(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_rotation,return ) - -::native::display::DisplayObjectContainer DisplayObject_obj::get_parent( ){ - HX_STACK_PUSH("DisplayObject::get_parent","native/display/DisplayObject.hx",590); - HX_STACK_THIS(this); - HX_STACK_LINE(590) - return this->nmeParent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_parent,return ) - -::String DisplayObject_obj::set_name( ::String inVal){ - HX_STACK_PUSH("DisplayObject::set_name","native/display/DisplayObject.hx",582); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(584) - ::native::display::DisplayObject_obj::nme_display_object_set_name(this->nmeHandle,inVal); - HX_STACK_LINE(585) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_name,return ) - -::String DisplayObject_obj::get_name( ){ - HX_STACK_PUSH("DisplayObject::get_name","native/display/DisplayObject.hx",581); - HX_STACK_THIS(this); - HX_STACK_LINE(581) - return ::native::display::DisplayObject_obj::nme_display_object_get_name(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_name,return ) - -Float DisplayObject_obj::get_mouseY( ){ - HX_STACK_PUSH("DisplayObject::get_mouseY","native/display/DisplayObject.hx",578); - HX_STACK_THIS(this); - HX_STACK_LINE(578) - return ::native::display::DisplayObject_obj::nme_display_object_get_mouse_y(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_mouseY,return ) - -Float DisplayObject_obj::get_mouseX( ){ - HX_STACK_PUSH("DisplayObject::get_mouseX","native/display/DisplayObject.hx",577); - HX_STACK_THIS(this); - HX_STACK_LINE(577) - return ::native::display::DisplayObject_obj::nme_display_object_get_mouse_x(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_mouseX,return ) - -::native::display::DisplayObject DisplayObject_obj::set_mask( ::native::display::DisplayObject inObject){ - HX_STACK_PUSH("DisplayObject::set_mask","native/display/DisplayObject.hx",568); - HX_STACK_THIS(this); - HX_STACK_ARG(inObject,"inObject"); - HX_STACK_LINE(570) - this->mask = inObject; - HX_STACK_LINE(571) - ::native::display::DisplayObject_obj::nme_display_object_set_mask(this->nmeHandle,( (((inObject == null()))) ? Dynamic(null()) : Dynamic(inObject->nmeHandle) )); - HX_STACK_LINE(572) - return inObject; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_mask,return ) - -Float DisplayObject_obj::set_height( Float inVal){ - HX_STACK_PUSH("DisplayObject::set_height","native/display/DisplayObject.hx",560); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(562) - ::native::display::DisplayObject_obj::nme_display_object_set_height(this->nmeHandle,inVal); - HX_STACK_LINE(563) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_height,return ) - -Float DisplayObject_obj::get_height( ){ - HX_STACK_PUSH("DisplayObject::get_height","native/display/DisplayObject.hx",559); - HX_STACK_THIS(this); - HX_STACK_LINE(559) - return ::native::display::DisplayObject_obj::nme_display_object_get_height(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_height,return ) - -::native::display::Graphics DisplayObject_obj::get_graphics( ){ - HX_STACK_PUSH("DisplayObject::get_graphics","native/display/DisplayObject.hx",549); - HX_STACK_THIS(this); - HX_STACK_LINE(551) - if (((this->nmeGraphicsCache == null()))){ - HX_STACK_LINE(552) - this->nmeGraphicsCache = ::native::display::Graphics_obj::__new(::native::display::DisplayObject_obj::nme_display_object_get_graphics(this->nmeHandle)); - } - HX_STACK_LINE(554) - return this->nmeGraphicsCache; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_graphics,return ) - -Dynamic DisplayObject_obj::set_filters( Dynamic inFilters){ - HX_STACK_PUSH("DisplayObject::set_filters","native/display/DisplayObject.hx",527); - HX_STACK_THIS(this); - HX_STACK_ARG(inFilters,"inFilters"); - HX_STACK_LINE(529) - if (((inFilters == null()))){ - HX_STACK_LINE(529) - this->nmeFilters = null(); - } - else{ - HX_STACK_LINE(535) - this->nmeFilters = Dynamic( Array_obj::__new() ); - HX_STACK_LINE(537) - { - HX_STACK_LINE(537) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(537) - while(((_g < inFilters->__Field(HX_CSTRING("length"),true)))){ - HX_STACK_LINE(537) - Dynamic filter = inFilters->__GetItem(_g); HX_STACK_VAR(filter,"filter"); - HX_STACK_LINE(537) - ++(_g); - HX_STACK_LINE(538) - this->nmeFilters->__Field(HX_CSTRING("push"),true)(filter->__Field(HX_CSTRING("clone"),true)()); - } - } - } - HX_STACK_LINE(542) - ::native::display::DisplayObject_obj::nme_display_object_set_filters(this->nmeHandle,this->nmeFilters); - HX_STACK_LINE(544) - return inFilters; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_filters,return ) - -Dynamic DisplayObject_obj::get_filters( ){ - HX_STACK_PUSH("DisplayObject::get_filters","native/display/DisplayObject.hx",513); - HX_STACK_THIS(this); - HX_STACK_LINE(515) - if (((this->nmeFilters == null()))){ - HX_STACK_LINE(515) - return Dynamic( Array_obj::__new()); - } - HX_STACK_LINE(517) - Dynamic result = Dynamic( Array_obj::__new() ); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(519) - { - HX_STACK_LINE(519) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Dynamic _g1 = this->nmeFilters; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(519) - while(((_g < _g1->__Field(HX_CSTRING("length"),true)))){ - HX_STACK_LINE(519) - Dynamic filter = _g1->__GetItem(_g); HX_STACK_VAR(filter,"filter"); - HX_STACK_LINE(519) - ++(_g); - HX_STACK_LINE(520) - result->__Field(HX_CSTRING("push"),true)(filter->__Field(HX_CSTRING("clone"),true)()); - } - } - HX_STACK_LINE(522) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_filters,return ) - -::native::display::PixelSnapping DisplayObject_obj::set_pixelSnapping( ::native::display::PixelSnapping inVal){ - HX_STACK_PUSH("DisplayObject::set_pixelSnapping","native/display/DisplayObject.hx",496); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(498) - if (((inVal == null()))){ - HX_STACK_LINE(498) - ::native::display::DisplayObject_obj::nme_display_object_set_pixel_snapping(this->nmeHandle,(int)0); - } - else{ - HX_STACK_LINE(502) - ::native::display::DisplayObject_obj::nme_display_object_set_pixel_snapping(this->nmeHandle,inVal->__Index()); - } - HX_STACK_LINE(508) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_pixelSnapping,return ) - -::native::display::PixelSnapping DisplayObject_obj::get_pixelSnapping( ){ - HX_STACK_PUSH("DisplayObject::get_pixelSnapping","native/display/DisplayObject.hx",488); - HX_STACK_THIS(this); - HX_STACK_LINE(490) - int val = ::native::display::DisplayObject_obj::nme_display_object_get_pixel_snapping(this->nmeHandle); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(491) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::native::display::PixelSnapping >(),val,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_pixelSnapping,return ) - -bool DisplayObject_obj::set_pedanticBitmapCaching( bool inVal){ - HX_STACK_PUSH("DisplayObject::set_pedanticBitmapCaching","native/display/DisplayObject.hx",480); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(482) - ::native::display::DisplayObject_obj::nme_display_object_set_pedantic_bitmap_caching(this->nmeHandle,inVal); - HX_STACK_LINE(483) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_pedanticBitmapCaching,return ) - -bool DisplayObject_obj::get_pedanticBitmapCaching( ){ - HX_STACK_PUSH("DisplayObject::get_pedanticBitmapCaching","native/display/DisplayObject.hx",479); - HX_STACK_THIS(this); - HX_STACK_LINE(479) - return ::native::display::DisplayObject_obj::nme_display_object_get_pedantic_bitmap_caching(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_pedanticBitmapCaching,return ) - -bool DisplayObject_obj::set_cacheAsBitmap( bool inVal){ - HX_STACK_PUSH("DisplayObject::set_cacheAsBitmap","native/display/DisplayObject.hx",472); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(474) - ::native::display::DisplayObject_obj::nme_display_object_set_cache_as_bitmap(this->nmeHandle,inVal); - HX_STACK_LINE(475) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_cacheAsBitmap,return ) - -bool DisplayObject_obj::get_cacheAsBitmap( ){ - HX_STACK_PUSH("DisplayObject::get_cacheAsBitmap","native/display/DisplayObject.hx",471); - HX_STACK_THIS(this); - HX_STACK_LINE(471) - return ::native::display::DisplayObject_obj::nme_display_object_get_cache_as_bitmap(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_cacheAsBitmap,return ) - -::native::display::BlendMode DisplayObject_obj::set_blendMode( ::native::display::BlendMode inMode){ - HX_STACK_PUSH("DisplayObject::set_blendMode","native/display/DisplayObject.hx",463); - HX_STACK_THIS(this); - HX_STACK_ARG(inMode,"inMode"); - HX_STACK_LINE(465) - ::native::display::DisplayObject_obj::nme_display_object_set_blend_mode(this->nmeHandle,inMode->__Index()); - HX_STACK_LINE(466) - return inMode; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_blendMode,return ) - -::native::display::BlendMode DisplayObject_obj::get_blendMode( ){ - HX_STACK_PUSH("DisplayObject::get_blendMode","native/display/DisplayObject.hx",455); - HX_STACK_THIS(this); - HX_STACK_LINE(457) - int i = ::native::display::DisplayObject_obj::nme_display_object_get_blend_mode(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(458) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::native::display::BlendMode >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_blendMode,return ) - -Dynamic DisplayObject_obj::set_opaqueBackground( Dynamic inBG){ - HX_STACK_PUSH("DisplayObject::set_opaqueBackground","native/display/DisplayObject.hx",443); - HX_STACK_THIS(this); - HX_STACK_ARG(inBG,"inBG"); - HX_STACK_LINE(445) - if (((inBG == null()))){ - HX_STACK_LINE(446) - ::native::display::DisplayObject_obj::nme_display_object_set_bg(this->nmeHandle,(int)0); - } - else{ - HX_STACK_LINE(448) - ::native::display::DisplayObject_obj::nme_display_object_set_bg(this->nmeHandle,inBG); - } - HX_STACK_LINE(450) - return inBG; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_opaqueBackground,return ) - -Dynamic DisplayObject_obj::get_opaqueBackground( ){ - HX_STACK_PUSH("DisplayObject::get_opaqueBackground","native/display/DisplayObject.hx",432); - HX_STACK_THIS(this); - HX_STACK_LINE(434) - int i = ::native::display::DisplayObject_obj::nme_display_object_get_bg(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(435) - if (((((int(i) & int((int)16777216))) == (int)0))){ - HX_STACK_LINE(436) - return null(); - } - HX_STACK_LINE(438) - return (int(i) & int((int)16777215)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_opaqueBackground,return ) - -Float DisplayObject_obj::set_alpha( Float inAlpha){ - HX_STACK_PUSH("DisplayObject::set_alpha","native/display/DisplayObject.hx",424); - HX_STACK_THIS(this); - HX_STACK_ARG(inAlpha,"inAlpha"); - HX_STACK_LINE(426) - ::native::display::DisplayObject_obj::nme_display_object_set_alpha(this->nmeHandle,inAlpha); - HX_STACK_LINE(427) - return inAlpha; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,set_alpha,return ) - -Float DisplayObject_obj::get_alpha( ){ - HX_STACK_PUSH("DisplayObject::get_alpha","native/display/DisplayObject.hx",423); - HX_STACK_THIS(this); - HX_STACK_LINE(423) - return ::native::display::DisplayObject_obj::nme_display_object_get_alpha(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,get_alpha,return ) - -::String DisplayObject_obj::toString( ){ - HX_STACK_PUSH("DisplayObject::toString","native/display/DisplayObject.hx",409); - HX_STACK_THIS(this); - HX_STACK_LINE(409) - return this->get_name(); -} - - -::native::display::DisplayObjectContainer DisplayObject_obj::nmeSetParent( ::native::display::DisplayObjectContainer inParent){ - HX_STACK_PUSH("DisplayObject::nmeSetParent","native/display/DisplayObject.hx",379); - HX_STACK_THIS(this); - HX_STACK_ARG(inParent,"inParent"); - HX_STACK_LINE(381) - if (((inParent == this->nmeParent))){ - HX_STACK_LINE(382) - return inParent; - } - HX_STACK_LINE(384) - if (((this->nmeParent != null()))){ - HX_STACK_LINE(385) - this->nmeParent->nmeRemoveChildFromArray(hx::ObjectPtr(this)); - } - HX_STACK_LINE(387) - if (((bool((this->nmeParent == null())) && bool((inParent != null()))))){ - HX_STACK_LINE(389) - this->nmeParent = inParent; - HX_STACK_LINE(390) - this->nmeOnAdded(hx::ObjectPtr(this),(this->get_stage() != null())); - } - else{ - HX_STACK_LINE(392) - if (((bool((this->nmeParent != null())) && bool((inParent == null()))))){ - HX_STACK_LINE(394) - bool was_on_stage = (this->get_stage() != null()); HX_STACK_VAR(was_on_stage,"was_on_stage"); - HX_STACK_LINE(395) - this->nmeParent = inParent; - HX_STACK_LINE(396) - this->nmeOnRemoved(hx::ObjectPtr(this),was_on_stage); - } - else{ - HX_STACK_LINE(398) - this->nmeParent = inParent; - } - } - HX_STACK_LINE(404) - return inParent; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetParent,return ) - -Void DisplayObject_obj::nmeSetMatrix( ::native::geom::Matrix inMatrix){ -{ - HX_STACK_PUSH("DisplayObject::nmeSetMatrix","native/display/DisplayObject.hx",372); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_LINE(372) - ::native::display::DisplayObject_obj::nme_display_object_set_matrix(this->nmeHandle,inMatrix); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetMatrix,(void)) - -Void DisplayObject_obj::nmeSetColorTransform( ::native::geom::ColorTransform inTrans){ -{ - HX_STACK_PUSH("DisplayObject::nmeSetColorTransform","native/display/DisplayObject.hx",365); - HX_STACK_THIS(this); - HX_STACK_ARG(inTrans,"inTrans"); - HX_STACK_LINE(365) - ::native::display::DisplayObject_obj::nme_display_object_set_color_transform(this->nmeHandle,inTrans); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetColorTransform,(void)) - -Void DisplayObject_obj::nmeOnRemoved( ::native::display::DisplayObject inObj,bool inWasOnStage){ -{ - HX_STACK_PUSH("DisplayObject::nmeOnRemoved","native/display/DisplayObject.hx",344); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inWasOnStage,"inWasOnStage"); - HX_STACK_LINE(346) - if (((inObj == hx::ObjectPtr(this)))){ - HX_STACK_LINE(348) - ::native::events::Event evt = ::native::events::Event_obj::__new(::native::events::Event_obj::REMOVED,true,false); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(349) - evt->set_target(inObj); - HX_STACK_LINE(350) - this->dispatchEvent(evt); - } - HX_STACK_LINE(354) - if ((inWasOnStage)){ - HX_STACK_LINE(356) - ::native::events::Event evt = ::native::events::Event_obj::__new(::native::events::Event_obj::REMOVED_FROM_STAGE,false,false); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(357) - evt->set_target(inObj); - HX_STACK_LINE(358) - this->dispatchEvent(evt); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObject_obj,nmeOnRemoved,(void)) - -Void DisplayObject_obj::nmeOnAdded( ::native::display::DisplayObject inObj,bool inIsOnStage){ -{ - HX_STACK_PUSH("DisplayObject::nmeOnAdded","native/display/DisplayObject.hx",323); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inIsOnStage,"inIsOnStage"); - HX_STACK_LINE(325) - if (((inObj == hx::ObjectPtr(this)))){ - HX_STACK_LINE(327) - ::native::events::Event evt = ::native::events::Event_obj::__new(::native::events::Event_obj::ADDED,true,false); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(328) - evt->set_target(inObj); - HX_STACK_LINE(329) - this->dispatchEvent(evt); - } - HX_STACK_LINE(333) - if ((inIsOnStage)){ - HX_STACK_LINE(335) - ::native::events::Event evt = ::native::events::Event_obj::__new(::native::events::Event_obj::ADDED_TO_STAGE,false,false); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(336) - evt->set_target(inObj); - HX_STACK_LINE(337) - this->dispatchEvent(evt); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObject_obj,nmeOnAdded,(void)) - -::native::geom::Rectangle DisplayObject_obj::nmeGetPixelBounds( ){ - HX_STACK_PUSH("DisplayObject::nmeGetPixelBounds","native/display/DisplayObject.hx",314); - HX_STACK_THIS(this); - HX_STACK_LINE(316) - ::native::geom::Rectangle rect = ::native::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(rect,"rect"); - HX_STACK_LINE(317) - ::native::display::DisplayObject_obj::nme_display_object_get_pixel_bounds(this->nmeHandle,rect); - HX_STACK_LINE(318) - return rect; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetPixelBounds,return ) - -Void DisplayObject_obj::nmeGetObjectsUnderPoint( ::native::geom::Point point,Array< ::native::display::DisplayObject > result){ -{ - HX_STACK_PUSH("DisplayObject::nmeGetObjectsUnderPoint","native/display/DisplayObject.hx",306); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_ARG(result,"result"); - HX_STACK_LINE(306) - if ((::native::display::DisplayObject_obj::nme_display_object_hit_test_point(this->nmeHandle,point->x,point->y,true,false))){ - HX_STACK_LINE(309) - result->push(hx::ObjectPtr(this)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObject_obj,nmeGetObjectsUnderPoint,(void)) - -::native::geom::Matrix DisplayObject_obj::nmeGetMatrix( ){ - HX_STACK_PUSH("DisplayObject::nmeGetMatrix","native/display/DisplayObject.hx",297); - HX_STACK_THIS(this); - HX_STACK_LINE(299) - ::native::geom::Matrix mtx = ::native::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(mtx,"mtx"); - HX_STACK_LINE(300) - ::native::display::DisplayObject_obj::nme_display_object_get_matrix(this->nmeHandle,mtx,false); - HX_STACK_LINE(301) - return mtx; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetMatrix,return ) - -Void DisplayObject_obj::nmeGetInteractiveObjectStack( Array< ::native::display::InteractiveObject > outStack){ -{ - HX_STACK_PUSH("DisplayObject::nmeGetInteractiveObjectStack","native/display/DisplayObject.hx",284); - HX_STACK_THIS(this); - HX_STACK_ARG(outStack,"outStack"); - HX_STACK_LINE(286) - ::native::display::InteractiveObject io = this->nmeAsInteractiveObject(); HX_STACK_VAR(io,"io"); - HX_STACK_LINE(288) - if (((io != null()))){ - HX_STACK_LINE(289) - outStack->push(io); - } - HX_STACK_LINE(291) - if (((this->nmeParent != null()))){ - HX_STACK_LINE(292) - this->nmeParent->nmeGetInteractiveObjectStack(outStack); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeGetInteractiveObjectStack,(void)) - -::native::geom::Matrix DisplayObject_obj::nmeGetConcatenatedMatrix( ){ - HX_STACK_PUSH("DisplayObject::nmeGetConcatenatedMatrix","native/display/DisplayObject.hx",275); - HX_STACK_THIS(this); - HX_STACK_LINE(277) - ::native::geom::Matrix mtx = ::native::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(mtx,"mtx"); - HX_STACK_LINE(278) - ::native::display::DisplayObject_obj::nme_display_object_get_matrix(this->nmeHandle,mtx,true); - HX_STACK_LINE(279) - return mtx; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetConcatenatedMatrix,return ) - -::native::geom::ColorTransform DisplayObject_obj::nmeGetConcatenatedColorTransform( ){ - HX_STACK_PUSH("DisplayObject::nmeGetConcatenatedColorTransform","native/display/DisplayObject.hx",266); - HX_STACK_THIS(this); - HX_STACK_LINE(268) - ::native::geom::ColorTransform trans = ::native::geom::ColorTransform_obj::__new(null(),null(),null(),null(),null(),null(),null(),null()); HX_STACK_VAR(trans,"trans"); - HX_STACK_LINE(269) - ::native::display::DisplayObject_obj::nme_display_object_get_color_transform(this->nmeHandle,trans,true); - HX_STACK_LINE(270) - return trans; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetConcatenatedColorTransform,return ) - -::native::geom::ColorTransform DisplayObject_obj::nmeGetColorTransform( ){ - HX_STACK_PUSH("DisplayObject::nmeGetColorTransform","native/display/DisplayObject.hx",257); - HX_STACK_THIS(this); - HX_STACK_LINE(259) - ::native::geom::ColorTransform trans = ::native::geom::ColorTransform_obj::__new(null(),null(),null(),null(),null(),null(),null(),null()); HX_STACK_VAR(trans,"trans"); - HX_STACK_LINE(260) - ::native::display::DisplayObject_obj::nme_display_object_get_color_transform(this->nmeHandle,trans,false); - HX_STACK_LINE(261) - return trans; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetColorTransform,return ) - -Void DisplayObject_obj::nmeFireEvent( ::native::events::Event inEvt){ -{ - HX_STACK_PUSH("DisplayObject::nmeFireEvent","native/display/DisplayObject.hx",201); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvt,"inEvt"); - HX_STACK_LINE(203) - Array< ::native::display::InteractiveObject > stack = Array_obj< ::native::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(205) - if (((this->nmeParent != null()))){ - HX_STACK_LINE(206) - this->nmeParent->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(208) - int l = stack->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(210) - if (((l > (int)0))){ - HX_STACK_LINE(213) - inEvt->nmeSetPhase(::native::events::EventPhase_obj::CAPTURING_PHASE); - HX_STACK_LINE(214) - stack->reverse(); - HX_STACK_LINE(216) - { - HX_STACK_LINE(216) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(216) - while(((_g < stack->length))){ - HX_STACK_LINE(216) - ::native::display::InteractiveObject obj = stack->__get(_g); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(216) - ++(_g); - HX_STACK_LINE(218) - inEvt->set_currentTarget(obj); - HX_STACK_LINE(219) - obj->nmeDispatchEvent(inEvt); - HX_STACK_LINE(221) - if ((inEvt->nmeGetIsCancelled())){ - HX_STACK_LINE(222) - return null(); - } - } - } - } - HX_STACK_LINE(229) - inEvt->nmeSetPhase(::native::events::EventPhase_obj::AT_TARGET); - HX_STACK_LINE(230) - inEvt->set_currentTarget(hx::ObjectPtr(this)); - HX_STACK_LINE(231) - this->nmeDispatchEvent(inEvt); - HX_STACK_LINE(233) - if ((inEvt->nmeGetIsCancelled())){ - HX_STACK_LINE(234) - return null(); - } - HX_STACK_LINE(237) - if ((inEvt->get_bubbles())){ - HX_STACK_LINE(239) - inEvt->nmeSetPhase(::native::events::EventPhase_obj::BUBBLING_PHASE); - HX_STACK_LINE(240) - stack->reverse(); - HX_STACK_LINE(242) - { - HX_STACK_LINE(242) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(242) - while(((_g < stack->length))){ - HX_STACK_LINE(242) - ::native::display::InteractiveObject obj = stack->__get(_g); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(242) - ++(_g); - HX_STACK_LINE(244) - inEvt->set_currentTarget(obj); - HX_STACK_LINE(245) - obj->nmeDispatchEvent(inEvt); - HX_STACK_LINE(247) - if ((inEvt->nmeGetIsCancelled())){ - HX_STACK_LINE(248) - return null(); - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeFireEvent,(void)) - -::native::display::DisplayObject DisplayObject_obj::nmeFindByID( int inID){ - HX_STACK_PUSH("DisplayObject::nmeFindByID","native/display/DisplayObject.hx",192); - HX_STACK_THIS(this); - HX_STACK_ARG(inID,"inID"); - HX_STACK_LINE(194) - if (((this->nmeID == inID))){ - HX_STACK_LINE(195) - return hx::ObjectPtr(this); - } - HX_STACK_LINE(196) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeFindByID,return ) - -Void DisplayObject_obj::nmeDrawToSurface( Dynamic inSurface,::native::geom::Matrix matrix,::native::geom::ColorTransform colorTransform,::String blendMode,::native::geom::Rectangle clipRect,bool smoothing){ -{ - HX_STACK_PUSH("DisplayObject::nmeDrawToSurface","native/display/DisplayObject.hx",184); - HX_STACK_THIS(this); - HX_STACK_ARG(inSurface,"inSurface"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(colorTransform,"colorTransform"); - HX_STACK_ARG(blendMode,"blendMode"); - HX_STACK_ARG(clipRect,"clipRect"); - HX_STACK_ARG(smoothing,"smoothing"); - HX_STACK_LINE(184) - ::native::display::DisplayObject_obj::nme_display_object_draw_to_surface(this->nmeHandle,inSurface,matrix,colorTransform,blendMode,clipRect); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(DisplayObject_obj,nmeDrawToSurface,(void)) - -bool DisplayObject_obj::nmeDispatchEvent( ::native::events::Event inEvt){ - HX_STACK_PUSH("DisplayObject::nmeDispatchEvent","native/display/DisplayObject.hx",170); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvt,"inEvt"); - HX_STACK_LINE(172) - if (((inEvt->get_target() == null()))){ - HX_STACK_LINE(172) - inEvt->set_target(hx::ObjectPtr(this)); - } - HX_STACK_LINE(178) - inEvt->set_currentTarget(hx::ObjectPtr(this)); - HX_STACK_LINE(179) - return this->super::dispatchEvent(inEvt); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeDispatchEvent,return ) - -Void DisplayObject_obj::nmeBroadcast( ::native::events::Event inEvt){ -{ - HX_STACK_PUSH("DisplayObject::nmeBroadcast","native/display/DisplayObject.hx",163); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvt,"inEvt"); - HX_STACK_LINE(163) - this->nmeDispatchEvent(inEvt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeBroadcast,(void)) - -::native::display::InteractiveObject DisplayObject_obj::nmeAsInteractiveObject( ){ - HX_STACK_PUSH("DisplayObject::nmeAsInteractiveObject","native/display/DisplayObject.hx",156); - HX_STACK_THIS(this); - HX_STACK_LINE(156) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeAsInteractiveObject,return ) - -::native::geom::Point DisplayObject_obj::localToGlobal( ::native::geom::Point inLocal){ - HX_STACK_PUSH("DisplayObject::localToGlobal","native/display/DisplayObject.hx",147); - HX_STACK_THIS(this); - HX_STACK_ARG(inLocal,"inLocal"); - HX_STACK_LINE(149) - ::native::geom::Point result = inLocal->clone(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(150) - ::native::display::DisplayObject_obj::nme_display_object_local_to_global(this->nmeHandle,result); - HX_STACK_LINE(151) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,localToGlobal,return ) - -bool DisplayObject_obj::hitTestPoint( Float x,Float y,hx::Null< bool > __o_shapeFlag){ -bool shapeFlag = __o_shapeFlag.Default(false); - HX_STACK_PUSH("DisplayObject::hitTestPoint","native/display/DisplayObject.hx",140); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(shapeFlag,"shapeFlag"); -{ - HX_STACK_LINE(140) - return ::native::display::DisplayObject_obj::nme_display_object_hit_test_point(this->nmeHandle,x,y,shapeFlag,true); - } -} - - -HX_DEFINE_DYNAMIC_FUNC3(DisplayObject_obj,hitTestPoint,return ) - -bool DisplayObject_obj::hitTestObject( ::native::display::DisplayObject object){ - HX_STACK_PUSH("DisplayObject::hitTestObject","native/display/DisplayObject.hx",113); - HX_STACK_THIS(this); - HX_STACK_ARG(object,"object"); - HX_STACK_LINE(115) - if (((bool((bool((object != null())) && bool((object->get_parent() != null())))) && bool((this->get_parent() != null()))))){ - HX_STACK_LINE(117) - ::native::geom::Matrix currentMatrix = this->get_transform()->get_concatenatedMatrix(); HX_STACK_VAR(currentMatrix,"currentMatrix"); - HX_STACK_LINE(118) - ::native::geom::Matrix targetMatrix = object->get_transform()->get_concatenatedMatrix(); HX_STACK_VAR(targetMatrix,"targetMatrix"); - HX_STACK_LINE(120) - ::native::geom::Point xPoint = ::native::geom::Point_obj::__new((int)1,(int)0); HX_STACK_VAR(xPoint,"xPoint"); - HX_STACK_LINE(121) - ::native::geom::Point yPoint = ::native::geom::Point_obj::__new((int)0,(int)1); HX_STACK_VAR(yPoint,"yPoint"); - HX_STACK_LINE(123) - Float currentWidth = (this->get_width() * currentMatrix->deltaTransformPoint(xPoint)->get_length()); HX_STACK_VAR(currentWidth,"currentWidth"); - HX_STACK_LINE(124) - Float currentHeight = (this->get_height() * currentMatrix->deltaTransformPoint(yPoint)->get_length()); HX_STACK_VAR(currentHeight,"currentHeight"); - HX_STACK_LINE(125) - Float targetWidth = (object->get_width() * targetMatrix->deltaTransformPoint(xPoint)->get_length()); HX_STACK_VAR(targetWidth,"targetWidth"); - HX_STACK_LINE(126) - Float targetHeight = (object->get_height() * targetMatrix->deltaTransformPoint(yPoint)->get_length()); HX_STACK_VAR(targetHeight,"targetHeight"); - HX_STACK_LINE(128) - ::native::geom::Rectangle currentRect = ::native::geom::Rectangle_obj::__new(currentMatrix->tx,currentMatrix->ty,currentWidth,currentHeight); HX_STACK_VAR(currentRect,"currentRect"); - HX_STACK_LINE(129) - ::native::geom::Rectangle targetRect = ::native::geom::Rectangle_obj::__new(targetMatrix->tx,targetMatrix->ty,targetWidth,targetHeight); HX_STACK_VAR(targetRect,"targetRect"); - HX_STACK_LINE(131) - return currentRect->intersects(targetRect); - } - HX_STACK_LINE(135) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,hitTestObject,return ) - -::native::geom::Point DisplayObject_obj::globalToLocal( ::native::geom::Point inGlobal){ - HX_STACK_PUSH("DisplayObject::globalToLocal","native/display/DisplayObject.hx",104); - HX_STACK_THIS(this); - HX_STACK_ARG(inGlobal,"inGlobal"); - HX_STACK_LINE(106) - ::native::geom::Point result = inGlobal->clone(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(107) - ::native::display::DisplayObject_obj::nme_display_object_global_to_local(this->nmeHandle,result); - HX_STACK_LINE(108) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,globalToLocal,return ) - -::native::geom::Rectangle DisplayObject_obj::getRect( ::native::display::DisplayObject targetCoordinateSpace){ - HX_STACK_PUSH("DisplayObject::getRect","native/display/DisplayObject.hx",95); - HX_STACK_THIS(this); - HX_STACK_ARG(targetCoordinateSpace,"targetCoordinateSpace"); - HX_STACK_LINE(97) - ::native::geom::Rectangle result = ::native::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(98) - ::native::display::DisplayObject_obj::nme_display_object_get_bounds(this->nmeHandle,targetCoordinateSpace->nmeHandle,result,false); - HX_STACK_LINE(99) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,getRect,return ) - -::native::geom::Rectangle DisplayObject_obj::getBounds( ::native::display::DisplayObject targetCoordinateSpace){ - HX_STACK_PUSH("DisplayObject::getBounds","native/display/DisplayObject.hx",86); - HX_STACK_THIS(this); - HX_STACK_ARG(targetCoordinateSpace,"targetCoordinateSpace"); - HX_STACK_LINE(88) - ::native::geom::Rectangle result = ::native::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(89) - ::native::display::DisplayObject_obj::nme_display_object_get_bounds(this->nmeHandle,targetCoordinateSpace->nmeHandle,result,true); - HX_STACK_LINE(90) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,getBounds,return ) - -bool DisplayObject_obj::dispatchEvent( ::native::events::Event event){ - HX_STACK_PUSH("DisplayObject::dispatchEvent","native/display/DisplayObject.hx",68); - HX_STACK_THIS(this); - HX_STACK_ARG(event,"event"); - HX_STACK_LINE(70) - bool result = this->nmeDispatchEvent(event); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(72) - if ((event->nmeGetIsCancelled())){ - HX_STACK_LINE(73) - return true; - } - HX_STACK_LINE(75) - if (((bool(event->get_bubbles()) && bool((this->get_parent() != null()))))){ - HX_STACK_LINE(75) - this->get_parent()->dispatchEvent(event); - } - HX_STACK_LINE(81) - return result; -} - - -Dynamic DisplayObject_obj::nme_create_display_object; - -Dynamic DisplayObject_obj::nme_display_object_get_graphics; - -Dynamic DisplayObject_obj::nme_display_object_draw_to_surface; - -Dynamic DisplayObject_obj::nme_display_object_get_id; - -Dynamic DisplayObject_obj::nme_display_object_get_x; - -Dynamic DisplayObject_obj::nme_display_object_set_x; - -Dynamic DisplayObject_obj::nme_display_object_get_y; - -Dynamic DisplayObject_obj::nme_display_object_set_y; - -Dynamic DisplayObject_obj::nme_display_object_get_scale_x; - -Dynamic DisplayObject_obj::nme_display_object_set_scale_x; - -Dynamic DisplayObject_obj::nme_display_object_get_scale_y; - -Dynamic DisplayObject_obj::nme_display_object_set_scale_y; - -Dynamic DisplayObject_obj::nme_display_object_get_mouse_x; - -Dynamic DisplayObject_obj::nme_display_object_get_mouse_y; - -Dynamic DisplayObject_obj::nme_display_object_get_rotation; - -Dynamic DisplayObject_obj::nme_display_object_set_rotation; - -Dynamic DisplayObject_obj::nme_display_object_get_bg; - -Dynamic DisplayObject_obj::nme_display_object_set_bg; - -Dynamic DisplayObject_obj::nme_display_object_get_name; - -Dynamic DisplayObject_obj::nme_display_object_set_name; - -Dynamic DisplayObject_obj::nme_display_object_get_width; - -Dynamic DisplayObject_obj::nme_display_object_set_width; - -Dynamic DisplayObject_obj::nme_display_object_get_height; - -Dynamic DisplayObject_obj::nme_display_object_set_height; - -Dynamic DisplayObject_obj::nme_display_object_get_alpha; - -Dynamic DisplayObject_obj::nme_display_object_set_alpha; - -Dynamic DisplayObject_obj::nme_display_object_get_blend_mode; - -Dynamic DisplayObject_obj::nme_display_object_set_blend_mode; - -Dynamic DisplayObject_obj::nme_display_object_get_cache_as_bitmap; - -Dynamic DisplayObject_obj::nme_display_object_set_cache_as_bitmap; - -Dynamic DisplayObject_obj::nme_display_object_get_pedantic_bitmap_caching; - -Dynamic DisplayObject_obj::nme_display_object_set_pedantic_bitmap_caching; - -Dynamic DisplayObject_obj::nme_display_object_get_pixel_snapping; - -Dynamic DisplayObject_obj::nme_display_object_set_pixel_snapping; - -Dynamic DisplayObject_obj::nme_display_object_get_visible; - -Dynamic DisplayObject_obj::nme_display_object_set_visible; - -Dynamic DisplayObject_obj::nme_display_object_set_filters; - -Dynamic DisplayObject_obj::nme_display_object_global_to_local; - -Dynamic DisplayObject_obj::nme_display_object_local_to_global; - -Dynamic DisplayObject_obj::nme_display_object_set_scale9_grid; - -Dynamic DisplayObject_obj::nme_display_object_set_scroll_rect; - -Dynamic DisplayObject_obj::nme_display_object_set_mask; - -Dynamic DisplayObject_obj::nme_display_object_set_matrix; - -Dynamic DisplayObject_obj::nme_display_object_get_matrix; - -Dynamic DisplayObject_obj::nme_display_object_get_color_transform; - -Dynamic DisplayObject_obj::nme_display_object_set_color_transform; - -Dynamic DisplayObject_obj::nme_display_object_get_pixel_bounds; - -Dynamic DisplayObject_obj::nme_display_object_get_bounds; - -Dynamic DisplayObject_obj::nme_display_object_hit_test_point; - - -DisplayObject_obj::DisplayObject_obj() -{ -} - -void DisplayObject_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(DisplayObject); - HX_MARK_MEMBER_NAME(nmeScrollRect,"nmeScrollRect"); - HX_MARK_MEMBER_NAME(nmeScale9Grid,"nmeScale9Grid"); - HX_MARK_MEMBER_NAME(nmeParent,"nmeParent"); - HX_MARK_MEMBER_NAME(nmeID,"nmeID"); - HX_MARK_MEMBER_NAME(nmeGraphicsCache,"nmeGraphicsCache"); - HX_MARK_MEMBER_NAME(nmeFilters,"nmeFilters"); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(width,"width"); - HX_MARK_MEMBER_NAME(visible,"visible"); - HX_MARK_MEMBER_NAME(transform,"transform"); - HX_MARK_MEMBER_NAME(stage,"stage"); - HX_MARK_MEMBER_NAME(scrollRect,"scrollRect"); - HX_MARK_MEMBER_NAME(scaleY,"scaleY"); - HX_MARK_MEMBER_NAME(scaleX,"scaleX"); - HX_MARK_MEMBER_NAME(scale9Grid,"scale9Grid"); - HX_MARK_MEMBER_NAME(rotation,"rotation"); - HX_MARK_MEMBER_NAME(parent,"parent"); - HX_MARK_MEMBER_NAME(opaqueBackground,"opaqueBackground"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_MEMBER_NAME(mouseY,"mouseY"); - HX_MARK_MEMBER_NAME(mouseX,"mouseX"); - HX_MARK_MEMBER_NAME(mask,"mask"); - HX_MARK_MEMBER_NAME(height,"height"); - HX_MARK_MEMBER_NAME(graphics,"graphics"); - HX_MARK_MEMBER_NAME(filters,"filters"); - HX_MARK_MEMBER_NAME(pixelSnapping,"pixelSnapping"); - HX_MARK_MEMBER_NAME(pedanticBitmapCaching,"pedanticBitmapCaching"); - HX_MARK_MEMBER_NAME(cacheAsBitmap,"cacheAsBitmap"); - HX_MARK_MEMBER_NAME(blendMode,"blendMode"); - HX_MARK_MEMBER_NAME(alpha,"alpha"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void DisplayObject_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeScrollRect,"nmeScrollRect"); - HX_VISIT_MEMBER_NAME(nmeScale9Grid,"nmeScale9Grid"); - HX_VISIT_MEMBER_NAME(nmeParent,"nmeParent"); - HX_VISIT_MEMBER_NAME(nmeID,"nmeID"); - HX_VISIT_MEMBER_NAME(nmeGraphicsCache,"nmeGraphicsCache"); - HX_VISIT_MEMBER_NAME(nmeFilters,"nmeFilters"); - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(width,"width"); - HX_VISIT_MEMBER_NAME(visible,"visible"); - HX_VISIT_MEMBER_NAME(transform,"transform"); - HX_VISIT_MEMBER_NAME(stage,"stage"); - HX_VISIT_MEMBER_NAME(scrollRect,"scrollRect"); - HX_VISIT_MEMBER_NAME(scaleY,"scaleY"); - HX_VISIT_MEMBER_NAME(scaleX,"scaleX"); - HX_VISIT_MEMBER_NAME(scale9Grid,"scale9Grid"); - HX_VISIT_MEMBER_NAME(rotation,"rotation"); - HX_VISIT_MEMBER_NAME(parent,"parent"); - HX_VISIT_MEMBER_NAME(opaqueBackground,"opaqueBackground"); - HX_VISIT_MEMBER_NAME(name,"name"); - HX_VISIT_MEMBER_NAME(mouseY,"mouseY"); - HX_VISIT_MEMBER_NAME(mouseX,"mouseX"); - HX_VISIT_MEMBER_NAME(mask,"mask"); - HX_VISIT_MEMBER_NAME(height,"height"); - HX_VISIT_MEMBER_NAME(graphics,"graphics"); - HX_VISIT_MEMBER_NAME(filters,"filters"); - HX_VISIT_MEMBER_NAME(pixelSnapping,"pixelSnapping"); - HX_VISIT_MEMBER_NAME(pedanticBitmapCaching,"pedanticBitmapCaching"); - HX_VISIT_MEMBER_NAME(cacheAsBitmap,"cacheAsBitmap"); - HX_VISIT_MEMBER_NAME(blendMode,"blendMode"); - HX_VISIT_MEMBER_NAME(alpha,"alpha"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic DisplayObject_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return inCallProp ? get_y() : y; } - if (HX_FIELD_EQ(inName,"x") ) { return inCallProp ? get_x() : x; } - break; - case 4: - if (HX_FIELD_EQ(inName,"name") ) { return inCallProp ? get_name() : name; } - if (HX_FIELD_EQ(inName,"mask") ) { return mask; } - break; - case 5: - if (HX_FIELD_EQ(inName,"set_y") ) { return set_y_dyn(); } - if (HX_FIELD_EQ(inName,"get_y") ) { return get_y_dyn(); } - if (HX_FIELD_EQ(inName,"set_x") ) { return set_x_dyn(); } - if (HX_FIELD_EQ(inName,"get_x") ) { return get_x_dyn(); } - if (HX_FIELD_EQ(inName,"nmeID") ) { return nmeID; } - if (HX_FIELD_EQ(inName,"width") ) { return inCallProp ? get_width() : width; } - if (HX_FIELD_EQ(inName,"stage") ) { return inCallProp ? get_stage() : stage; } - if (HX_FIELD_EQ(inName,"alpha") ) { return inCallProp ? get_alpha() : alpha; } - break; - case 6: - if (HX_FIELD_EQ(inName,"scaleY") ) { return inCallProp ? get_scaleY() : scaleY; } - if (HX_FIELD_EQ(inName,"scaleX") ) { return inCallProp ? get_scaleX() : scaleX; } - if (HX_FIELD_EQ(inName,"parent") ) { return inCallProp ? get_parent() : parent; } - if (HX_FIELD_EQ(inName,"mouseY") ) { return inCallProp ? get_mouseY() : mouseY; } - if (HX_FIELD_EQ(inName,"mouseX") ) { return inCallProp ? get_mouseX() : mouseX; } - if (HX_FIELD_EQ(inName,"height") ) { return inCallProp ? get_height() : height; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getRect") ) { return getRect_dyn(); } - if (HX_FIELD_EQ(inName,"visible") ) { return inCallProp ? get_visible() : visible; } - if (HX_FIELD_EQ(inName,"filters") ) { return inCallProp ? get_filters() : filters; } - break; - case 8: - if (HX_FIELD_EQ(inName,"set_name") ) { return set_name_dyn(); } - if (HX_FIELD_EQ(inName,"get_name") ) { return get_name_dyn(); } - if (HX_FIELD_EQ(inName,"set_mask") ) { return set_mask_dyn(); } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"rotation") ) { return inCallProp ? get_rotation() : rotation; } - if (HX_FIELD_EQ(inName,"graphics") ) { return inCallProp ? get_graphics() : graphics; } - break; - case 9: - if (HX_FIELD_EQ(inName,"set_width") ) { return set_width_dyn(); } - if (HX_FIELD_EQ(inName,"get_width") ) { return get_width_dyn(); } - if (HX_FIELD_EQ(inName,"get_stage") ) { return get_stage_dyn(); } - if (HX_FIELD_EQ(inName,"set_alpha") ) { return set_alpha_dyn(); } - if (HX_FIELD_EQ(inName,"get_alpha") ) { return get_alpha_dyn(); } - if (HX_FIELD_EQ(inName,"getBounds") ) { return getBounds_dyn(); } - if (HX_FIELD_EQ(inName,"nmeParent") ) { return nmeParent; } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - if (HX_FIELD_EQ(inName,"transform") ) { return inCallProp ? get_transform() : transform; } - if (HX_FIELD_EQ(inName,"blendMode") ) { return inCallProp ? get_blendMode() : blendMode; } - break; - case 10: - if (HX_FIELD_EQ(inName,"set_scaleY") ) { return set_scaleY_dyn(); } - if (HX_FIELD_EQ(inName,"get_scaleY") ) { return get_scaleY_dyn(); } - if (HX_FIELD_EQ(inName,"set_scaleX") ) { return set_scaleX_dyn(); } - if (HX_FIELD_EQ(inName,"get_scaleX") ) { return get_scaleX_dyn(); } - if (HX_FIELD_EQ(inName,"get_parent") ) { return get_parent_dyn(); } - if (HX_FIELD_EQ(inName,"get_mouseY") ) { return get_mouseY_dyn(); } - if (HX_FIELD_EQ(inName,"get_mouseX") ) { return get_mouseX_dyn(); } - if (HX_FIELD_EQ(inName,"set_height") ) { return set_height_dyn(); } - if (HX_FIELD_EQ(inName,"get_height") ) { return get_height_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnAdded") ) { return nmeOnAdded_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFilters") ) { return nmeFilters; } - if (HX_FIELD_EQ(inName,"scrollRect") ) { return inCallProp ? get_scrollRect() : scrollRect; } - if (HX_FIELD_EQ(inName,"scale9Grid") ) { return inCallProp ? get_scale9Grid() : scale9Grid; } - break; - case 11: - if (HX_FIELD_EQ(inName,"set_visible") ) { return set_visible_dyn(); } - if (HX_FIELD_EQ(inName,"get_visible") ) { return get_visible_dyn(); } - if (HX_FIELD_EQ(inName,"set_filters") ) { return set_filters_dyn(); } - if (HX_FIELD_EQ(inName,"get_filters") ) { return get_filters_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFindByID") ) { return nmeFindByID_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"set_rotation") ) { return set_rotation_dyn(); } - if (HX_FIELD_EQ(inName,"get_rotation") ) { return get_rotation_dyn(); } - if (HX_FIELD_EQ(inName,"get_graphics") ) { return get_graphics_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetParent") ) { return nmeSetParent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetMatrix") ) { return nmeSetMatrix_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnRemoved") ) { return nmeOnRemoved_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMatrix") ) { return nmeGetMatrix_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFireEvent") ) { return nmeFireEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeBroadcast") ) { return nmeBroadcast_dyn(); } - if (HX_FIELD_EQ(inName,"hitTestPoint") ) { return hitTestPoint_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"set_transform") ) { return set_transform_dyn(); } - if (HX_FIELD_EQ(inName,"get_transform") ) { return get_transform_dyn(); } - if (HX_FIELD_EQ(inName,"set_blendMode") ) { return set_blendMode_dyn(); } - if (HX_FIELD_EQ(inName,"get_blendMode") ) { return get_blendMode_dyn(); } - if (HX_FIELD_EQ(inName,"localToGlobal") ) { return localToGlobal_dyn(); } - if (HX_FIELD_EQ(inName,"hitTestObject") ) { return hitTestObject_dyn(); } - if (HX_FIELD_EQ(inName,"globalToLocal") ) { return globalToLocal_dyn(); } - if (HX_FIELD_EQ(inName,"dispatchEvent") ) { return dispatchEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeScrollRect") ) { return nmeScrollRect; } - if (HX_FIELD_EQ(inName,"nmeScale9Grid") ) { return nmeScale9Grid; } - if (HX_FIELD_EQ(inName,"pixelSnapping") ) { return inCallProp ? get_pixelSnapping() : pixelSnapping; } - if (HX_FIELD_EQ(inName,"cacheAsBitmap") ) { return inCallProp ? get_cacheAsBitmap() : cacheAsBitmap; } - break; - case 14: - if (HX_FIELD_EQ(inName,"set_scrollRect") ) { return set_scrollRect_dyn(); } - if (HX_FIELD_EQ(inName,"get_scrollRect") ) { return get_scrollRect_dyn(); } - if (HX_FIELD_EQ(inName,"set_scale9Grid") ) { return set_scale9Grid_dyn(); } - if (HX_FIELD_EQ(inName,"get_scale9Grid") ) { return get_scale9Grid_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeDrawToSurface") ) { return nmeDrawToSurface_dyn(); } - if (HX_FIELD_EQ(inName,"nmeDispatchEvent") ) { return nmeDispatchEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGraphicsCache") ) { return nmeGraphicsCache; } - if (HX_FIELD_EQ(inName,"opaqueBackground") ) { return inCallProp ? get_opaqueBackground() : opaqueBackground; } - break; - case 17: - if (HX_FIELD_EQ(inName,"set_pixelSnapping") ) { return set_pixelSnapping_dyn(); } - if (HX_FIELD_EQ(inName,"get_pixelSnapping") ) { return get_pixelSnapping_dyn(); } - if (HX_FIELD_EQ(inName,"set_cacheAsBitmap") ) { return set_cacheAsBitmap_dyn(); } - if (HX_FIELD_EQ(inName,"get_cacheAsBitmap") ) { return get_cacheAsBitmap_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetPixelBounds") ) { return nmeGetPixelBounds_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"set_opaqueBackground") ) { return set_opaqueBackground_dyn(); } - if (HX_FIELD_EQ(inName,"get_opaqueBackground") ) { return get_opaqueBackground_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetColorTransform") ) { return nmeSetColorTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetColorTransform") ) { return nmeGetColorTransform_dyn(); } - break; - case 21: - if (HX_FIELD_EQ(inName,"pedanticBitmapCaching") ) { return inCallProp ? get_pedanticBitmapCaching() : pedanticBitmapCaching; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nmeAsInteractiveObject") ) { return nmeAsInteractiveObject_dyn(); } - break; - case 23: - if (HX_FIELD_EQ(inName,"nmeGetObjectsUnderPoint") ) { return nmeGetObjectsUnderPoint_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_display_object_get_x") ) { return nme_display_object_get_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_x") ) { return nme_display_object_set_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_y") ) { return nme_display_object_get_y; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_y") ) { return nme_display_object_set_y; } - if (HX_FIELD_EQ(inName,"nmeGetConcatenatedMatrix") ) { return nmeGetConcatenatedMatrix_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_create_display_object") ) { return nme_create_display_object; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_id") ) { return nme_display_object_get_id; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_bg") ) { return nme_display_object_get_bg; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_bg") ) { return nme_display_object_set_bg; } - if (HX_FIELD_EQ(inName,"set_pedanticBitmapCaching") ) { return set_pedanticBitmapCaching_dyn(); } - if (HX_FIELD_EQ(inName,"get_pedanticBitmapCaching") ) { return get_pedanticBitmapCaching_dyn(); } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_display_object_get_name") ) { return nme_display_object_get_name; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_name") ) { return nme_display_object_set_name; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_mask") ) { return nme_display_object_set_mask; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_display_object_get_width") ) { return nme_display_object_get_width; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_width") ) { return nme_display_object_set_width; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_alpha") ) { return nme_display_object_get_alpha; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_alpha") ) { return nme_display_object_set_alpha; } - if (HX_FIELD_EQ(inName,"nmeGetInteractiveObjectStack") ) { return nmeGetInteractiveObjectStack_dyn(); } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_display_object_get_height") ) { return nme_display_object_get_height; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_height") ) { return nme_display_object_set_height; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_matrix") ) { return nme_display_object_set_matrix; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_matrix") ) { return nme_display_object_get_matrix; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_bounds") ) { return nme_display_object_get_bounds; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_display_object_get_scale_x") ) { return nme_display_object_get_scale_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale_x") ) { return nme_display_object_set_scale_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_scale_y") ) { return nme_display_object_get_scale_y; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale_y") ) { return nme_display_object_set_scale_y; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_mouse_x") ) { return nme_display_object_get_mouse_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_mouse_y") ) { return nme_display_object_get_mouse_y; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_visible") ) { return nme_display_object_get_visible; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_visible") ) { return nme_display_object_set_visible; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_filters") ) { return nme_display_object_set_filters; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_display_object_get_graphics") ) { return nme_display_object_get_graphics; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_rotation") ) { return nme_display_object_get_rotation; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_rotation") ) { return nme_display_object_set_rotation; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nmeGetConcatenatedColorTransform") ) { return nmeGetConcatenatedColorTransform_dyn(); } - break; - case 33: - if (HX_FIELD_EQ(inName,"nme_display_object_get_blend_mode") ) { return nme_display_object_get_blend_mode; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_blend_mode") ) { return nme_display_object_set_blend_mode; } - if (HX_FIELD_EQ(inName,"nme_display_object_hit_test_point") ) { return nme_display_object_hit_test_point; } - break; - case 34: - if (HX_FIELD_EQ(inName,"nme_display_object_draw_to_surface") ) { return nme_display_object_draw_to_surface; } - if (HX_FIELD_EQ(inName,"nme_display_object_global_to_local") ) { return nme_display_object_global_to_local; } - if (HX_FIELD_EQ(inName,"nme_display_object_local_to_global") ) { return nme_display_object_local_to_global; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale9_grid") ) { return nme_display_object_set_scale9_grid; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scroll_rect") ) { return nme_display_object_set_scroll_rect; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pixel_bounds") ) { return nme_display_object_get_pixel_bounds; } - break; - case 37: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pixel_snapping") ) { return nme_display_object_get_pixel_snapping; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_pixel_snapping") ) { return nme_display_object_set_pixel_snapping; } - break; - case 38: - if (HX_FIELD_EQ(inName,"nme_display_object_get_cache_as_bitmap") ) { return nme_display_object_get_cache_as_bitmap; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_cache_as_bitmap") ) { return nme_display_object_set_cache_as_bitmap; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_color_transform") ) { return nme_display_object_get_color_transform; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_color_transform") ) { return nme_display_object_set_color_transform; } - break; - case 46: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pedantic_bitmap_caching") ) { return nme_display_object_get_pedantic_bitmap_caching; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_pedantic_bitmap_caching") ) { return nme_display_object_set_pedantic_bitmap_caching; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic DisplayObject_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { if (inCallProp) return set_y(inValue);y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { if (inCallProp) return set_x(inValue);x=inValue.Cast< Float >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"name") ) { if (inCallProp) return set_name(inValue);name=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"mask") ) { if (inCallProp) return set_mask(inValue);mask=inValue.Cast< ::native::display::DisplayObject >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nmeID") ) { nmeID=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"width") ) { if (inCallProp) return set_width(inValue);width=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"stage") ) { stage=inValue.Cast< ::native::display::Stage >(); return inValue; } - if (HX_FIELD_EQ(inName,"alpha") ) { if (inCallProp) return set_alpha(inValue);alpha=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"scaleY") ) { if (inCallProp) return set_scaleY(inValue);scaleY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"scaleX") ) { if (inCallProp) return set_scaleX(inValue);scaleX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"parent") ) { parent=inValue.Cast< ::native::display::DisplayObjectContainer >(); return inValue; } - if (HX_FIELD_EQ(inName,"mouseY") ) { mouseY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"mouseX") ) { mouseX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"height") ) { if (inCallProp) return set_height(inValue);height=inValue.Cast< Float >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"visible") ) { if (inCallProp) return set_visible(inValue);visible=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"filters") ) { if (inCallProp) return set_filters(inValue);filters=inValue.Cast< Dynamic >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"rotation") ) { if (inCallProp) return set_rotation(inValue);rotation=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"graphics") ) { graphics=inValue.Cast< ::native::display::Graphics >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeParent") ) { nmeParent=inValue.Cast< ::native::display::DisplayObjectContainer >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"transform") ) { if (inCallProp) return set_transform(inValue);transform=inValue.Cast< ::native::geom::Transform >(); return inValue; } - if (HX_FIELD_EQ(inName,"blendMode") ) { if (inCallProp) return set_blendMode(inValue);blendMode=inValue.Cast< ::native::display::BlendMode >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeFilters") ) { nmeFilters=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"scrollRect") ) { if (inCallProp) return set_scrollRect(inValue);scrollRect=inValue.Cast< ::native::geom::Rectangle >(); return inValue; } - if (HX_FIELD_EQ(inName,"scale9Grid") ) { if (inCallProp) return set_scale9Grid(inValue);scale9Grid=inValue.Cast< ::native::geom::Rectangle >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"nmeScrollRect") ) { nmeScrollRect=inValue.Cast< ::native::geom::Rectangle >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeScale9Grid") ) { nmeScale9Grid=inValue.Cast< ::native::geom::Rectangle >(); return inValue; } - if (HX_FIELD_EQ(inName,"pixelSnapping") ) { if (inCallProp) return set_pixelSnapping(inValue);pixelSnapping=inValue.Cast< ::native::display::PixelSnapping >(); return inValue; } - if (HX_FIELD_EQ(inName,"cacheAsBitmap") ) { if (inCallProp) return set_cacheAsBitmap(inValue);cacheAsBitmap=inValue.Cast< bool >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeGraphicsCache") ) { nmeGraphicsCache=inValue.Cast< ::native::display::Graphics >(); return inValue; } - if (HX_FIELD_EQ(inName,"opaqueBackground") ) { if (inCallProp) return set_opaqueBackground(inValue);opaqueBackground=inValue.Cast< Dynamic >(); return inValue; } - break; - case 21: - if (HX_FIELD_EQ(inName,"pedanticBitmapCaching") ) { if (inCallProp) return set_pedanticBitmapCaching(inValue);pedanticBitmapCaching=inValue.Cast< bool >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_display_object_get_x") ) { nme_display_object_get_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_x") ) { nme_display_object_set_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_y") ) { nme_display_object_get_y=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_y") ) { nme_display_object_set_y=inValue.Cast< Dynamic >(); return inValue; } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_create_display_object") ) { nme_create_display_object=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_id") ) { nme_display_object_get_id=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_bg") ) { nme_display_object_get_bg=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_bg") ) { nme_display_object_set_bg=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_display_object_get_name") ) { nme_display_object_get_name=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_name") ) { nme_display_object_set_name=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_mask") ) { nme_display_object_set_mask=inValue.Cast< Dynamic >(); return inValue; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_display_object_get_width") ) { nme_display_object_get_width=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_width") ) { nme_display_object_set_width=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_alpha") ) { nme_display_object_get_alpha=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_alpha") ) { nme_display_object_set_alpha=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_display_object_get_height") ) { nme_display_object_get_height=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_height") ) { nme_display_object_set_height=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_matrix") ) { nme_display_object_set_matrix=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_matrix") ) { nme_display_object_get_matrix=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_bounds") ) { nme_display_object_get_bounds=inValue.Cast< Dynamic >(); return inValue; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_display_object_get_scale_x") ) { nme_display_object_get_scale_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale_x") ) { nme_display_object_set_scale_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_scale_y") ) { nme_display_object_get_scale_y=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale_y") ) { nme_display_object_set_scale_y=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_mouse_x") ) { nme_display_object_get_mouse_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_mouse_y") ) { nme_display_object_get_mouse_y=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_visible") ) { nme_display_object_get_visible=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_visible") ) { nme_display_object_set_visible=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_filters") ) { nme_display_object_set_filters=inValue.Cast< Dynamic >(); return inValue; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_display_object_get_graphics") ) { nme_display_object_get_graphics=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_rotation") ) { nme_display_object_get_rotation=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_rotation") ) { nme_display_object_set_rotation=inValue.Cast< Dynamic >(); return inValue; } - break; - case 33: - if (HX_FIELD_EQ(inName,"nme_display_object_get_blend_mode") ) { nme_display_object_get_blend_mode=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_blend_mode") ) { nme_display_object_set_blend_mode=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_hit_test_point") ) { nme_display_object_hit_test_point=inValue.Cast< Dynamic >(); return inValue; } - break; - case 34: - if (HX_FIELD_EQ(inName,"nme_display_object_draw_to_surface") ) { nme_display_object_draw_to_surface=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_global_to_local") ) { nme_display_object_global_to_local=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_local_to_global") ) { nme_display_object_local_to_global=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale9_grid") ) { nme_display_object_set_scale9_grid=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scroll_rect") ) { nme_display_object_set_scroll_rect=inValue.Cast< Dynamic >(); return inValue; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pixel_bounds") ) { nme_display_object_get_pixel_bounds=inValue.Cast< Dynamic >(); return inValue; } - break; - case 37: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pixel_snapping") ) { nme_display_object_get_pixel_snapping=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_pixel_snapping") ) { nme_display_object_set_pixel_snapping=inValue.Cast< Dynamic >(); return inValue; } - break; - case 38: - if (HX_FIELD_EQ(inName,"nme_display_object_get_cache_as_bitmap") ) { nme_display_object_get_cache_as_bitmap=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_cache_as_bitmap") ) { nme_display_object_set_cache_as_bitmap=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_color_transform") ) { nme_display_object_get_color_transform=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_color_transform") ) { nme_display_object_set_color_transform=inValue.Cast< Dynamic >(); return inValue; } - break; - case 46: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pedantic_bitmap_caching") ) { nme_display_object_get_pedantic_bitmap_caching=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_pedantic_bitmap_caching") ) { nme_display_object_set_pedantic_bitmap_caching=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void DisplayObject_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeScrollRect")); - outFields->push(HX_CSTRING("nmeScale9Grid")); - outFields->push(HX_CSTRING("nmeParent")); - outFields->push(HX_CSTRING("nmeID")); - outFields->push(HX_CSTRING("nmeGraphicsCache")); - outFields->push(HX_CSTRING("nmeFilters")); - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("width")); - outFields->push(HX_CSTRING("visible")); - outFields->push(HX_CSTRING("transform")); - outFields->push(HX_CSTRING("stage")); - outFields->push(HX_CSTRING("scrollRect")); - outFields->push(HX_CSTRING("scaleY")); - outFields->push(HX_CSTRING("scaleX")); - outFields->push(HX_CSTRING("scale9Grid")); - outFields->push(HX_CSTRING("rotation")); - outFields->push(HX_CSTRING("parent")); - outFields->push(HX_CSTRING("opaqueBackground")); - outFields->push(HX_CSTRING("name")); - outFields->push(HX_CSTRING("mouseY")); - outFields->push(HX_CSTRING("mouseX")); - outFields->push(HX_CSTRING("mask")); - outFields->push(HX_CSTRING("height")); - outFields->push(HX_CSTRING("graphics")); - outFields->push(HX_CSTRING("filters")); - outFields->push(HX_CSTRING("pixelSnapping")); - outFields->push(HX_CSTRING("pedanticBitmapCaching")); - outFields->push(HX_CSTRING("cacheAsBitmap")); - outFields->push(HX_CSTRING("blendMode")); - outFields->push(HX_CSTRING("alpha")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_create_display_object"), - HX_CSTRING("nme_display_object_get_graphics"), - HX_CSTRING("nme_display_object_draw_to_surface"), - HX_CSTRING("nme_display_object_get_id"), - HX_CSTRING("nme_display_object_get_x"), - HX_CSTRING("nme_display_object_set_x"), - HX_CSTRING("nme_display_object_get_y"), - HX_CSTRING("nme_display_object_set_y"), - HX_CSTRING("nme_display_object_get_scale_x"), - HX_CSTRING("nme_display_object_set_scale_x"), - HX_CSTRING("nme_display_object_get_scale_y"), - HX_CSTRING("nme_display_object_set_scale_y"), - HX_CSTRING("nme_display_object_get_mouse_x"), - HX_CSTRING("nme_display_object_get_mouse_y"), - HX_CSTRING("nme_display_object_get_rotation"), - HX_CSTRING("nme_display_object_set_rotation"), - HX_CSTRING("nme_display_object_get_bg"), - HX_CSTRING("nme_display_object_set_bg"), - HX_CSTRING("nme_display_object_get_name"), - HX_CSTRING("nme_display_object_set_name"), - HX_CSTRING("nme_display_object_get_width"), - HX_CSTRING("nme_display_object_set_width"), - HX_CSTRING("nme_display_object_get_height"), - HX_CSTRING("nme_display_object_set_height"), - HX_CSTRING("nme_display_object_get_alpha"), - HX_CSTRING("nme_display_object_set_alpha"), - HX_CSTRING("nme_display_object_get_blend_mode"), - HX_CSTRING("nme_display_object_set_blend_mode"), - HX_CSTRING("nme_display_object_get_cache_as_bitmap"), - HX_CSTRING("nme_display_object_set_cache_as_bitmap"), - HX_CSTRING("nme_display_object_get_pedantic_bitmap_caching"), - HX_CSTRING("nme_display_object_set_pedantic_bitmap_caching"), - HX_CSTRING("nme_display_object_get_pixel_snapping"), - HX_CSTRING("nme_display_object_set_pixel_snapping"), - HX_CSTRING("nme_display_object_get_visible"), - HX_CSTRING("nme_display_object_set_visible"), - HX_CSTRING("nme_display_object_set_filters"), - HX_CSTRING("nme_display_object_global_to_local"), - HX_CSTRING("nme_display_object_local_to_global"), - HX_CSTRING("nme_display_object_set_scale9_grid"), - HX_CSTRING("nme_display_object_set_scroll_rect"), - HX_CSTRING("nme_display_object_set_mask"), - HX_CSTRING("nme_display_object_set_matrix"), - HX_CSTRING("nme_display_object_get_matrix"), - HX_CSTRING("nme_display_object_get_color_transform"), - HX_CSTRING("nme_display_object_set_color_transform"), - HX_CSTRING("nme_display_object_get_pixel_bounds"), - HX_CSTRING("nme_display_object_get_bounds"), - HX_CSTRING("nme_display_object_hit_test_point"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("set_y"), - HX_CSTRING("get_y"), - HX_CSTRING("set_x"), - HX_CSTRING("get_x"), - HX_CSTRING("set_width"), - HX_CSTRING("get_width"), - HX_CSTRING("set_visible"), - HX_CSTRING("get_visible"), - HX_CSTRING("set_transform"), - HX_CSTRING("get_transform"), - HX_CSTRING("get_stage"), - HX_CSTRING("set_scrollRect"), - HX_CSTRING("get_scrollRect"), - HX_CSTRING("set_scaleY"), - HX_CSTRING("get_scaleY"), - HX_CSTRING("set_scaleX"), - HX_CSTRING("get_scaleX"), - HX_CSTRING("set_scale9Grid"), - HX_CSTRING("get_scale9Grid"), - HX_CSTRING("set_rotation"), - HX_CSTRING("get_rotation"), - HX_CSTRING("get_parent"), - HX_CSTRING("set_name"), - HX_CSTRING("get_name"), - HX_CSTRING("get_mouseY"), - HX_CSTRING("get_mouseX"), - HX_CSTRING("set_mask"), - HX_CSTRING("set_height"), - HX_CSTRING("get_height"), - HX_CSTRING("get_graphics"), - HX_CSTRING("set_filters"), - HX_CSTRING("get_filters"), - HX_CSTRING("set_pixelSnapping"), - HX_CSTRING("get_pixelSnapping"), - HX_CSTRING("set_pedanticBitmapCaching"), - HX_CSTRING("get_pedanticBitmapCaching"), - HX_CSTRING("set_cacheAsBitmap"), - HX_CSTRING("get_cacheAsBitmap"), - HX_CSTRING("set_blendMode"), - HX_CSTRING("get_blendMode"), - HX_CSTRING("set_opaqueBackground"), - HX_CSTRING("get_opaqueBackground"), - HX_CSTRING("set_alpha"), - HX_CSTRING("get_alpha"), - HX_CSTRING("toString"), - HX_CSTRING("nmeSetParent"), - HX_CSTRING("nmeSetMatrix"), - HX_CSTRING("nmeSetColorTransform"), - HX_CSTRING("nmeOnRemoved"), - HX_CSTRING("nmeOnAdded"), - HX_CSTRING("nmeGetPixelBounds"), - HX_CSTRING("nmeGetObjectsUnderPoint"), - HX_CSTRING("nmeGetMatrix"), - HX_CSTRING("nmeGetInteractiveObjectStack"), - HX_CSTRING("nmeGetConcatenatedMatrix"), - HX_CSTRING("nmeGetConcatenatedColorTransform"), - HX_CSTRING("nmeGetColorTransform"), - HX_CSTRING("nmeFireEvent"), - HX_CSTRING("nmeFindByID"), - HX_CSTRING("nmeDrawToSurface"), - HX_CSTRING("nmeDispatchEvent"), - HX_CSTRING("nmeBroadcast"), - HX_CSTRING("nmeAsInteractiveObject"), - HX_CSTRING("localToGlobal"), - HX_CSTRING("hitTestPoint"), - HX_CSTRING("hitTestObject"), - HX_CSTRING("globalToLocal"), - HX_CSTRING("getRect"), - HX_CSTRING("getBounds"), - HX_CSTRING("dispatchEvent"), - HX_CSTRING("nmeScrollRect"), - HX_CSTRING("nmeScale9Grid"), - HX_CSTRING("nmeParent"), - HX_CSTRING("nmeID"), - HX_CSTRING("nmeGraphicsCache"), - HX_CSTRING("nmeFilters"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("width"), - HX_CSTRING("visible"), - HX_CSTRING("transform"), - HX_CSTRING("stage"), - HX_CSTRING("scrollRect"), - HX_CSTRING("scaleY"), - HX_CSTRING("scaleX"), - HX_CSTRING("scale9Grid"), - HX_CSTRING("rotation"), - HX_CSTRING("parent"), - HX_CSTRING("opaqueBackground"), - HX_CSTRING("name"), - HX_CSTRING("mouseY"), - HX_CSTRING("mouseX"), - HX_CSTRING("mask"), - HX_CSTRING("height"), - HX_CSTRING("graphics"), - HX_CSTRING("filters"), - HX_CSTRING("pixelSnapping"), - HX_CSTRING("pedanticBitmapCaching"), - HX_CSTRING("cacheAsBitmap"), - HX_CSTRING("blendMode"), - HX_CSTRING("alpha"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(DisplayObject_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_create_display_object,"nme_create_display_object"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_graphics,"nme_display_object_get_graphics"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_draw_to_surface,"nme_display_object_draw_to_surface"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_id,"nme_display_object_get_id"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_x,"nme_display_object_get_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_x,"nme_display_object_set_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_y,"nme_display_object_get_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_y,"nme_display_object_set_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_scale_x,"nme_display_object_get_scale_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale_x,"nme_display_object_set_scale_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_scale_y,"nme_display_object_get_scale_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale_y,"nme_display_object_set_scale_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_mouse_x,"nme_display_object_get_mouse_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_mouse_y,"nme_display_object_get_mouse_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_rotation,"nme_display_object_get_rotation"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_rotation,"nme_display_object_set_rotation"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_bg,"nme_display_object_get_bg"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_bg,"nme_display_object_set_bg"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_name,"nme_display_object_get_name"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_name,"nme_display_object_set_name"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_width,"nme_display_object_get_width"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_width,"nme_display_object_set_width"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_height,"nme_display_object_get_height"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_height,"nme_display_object_set_height"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_alpha,"nme_display_object_get_alpha"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_alpha,"nme_display_object_set_alpha"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_blend_mode,"nme_display_object_get_blend_mode"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_blend_mode,"nme_display_object_set_blend_mode"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_cache_as_bitmap,"nme_display_object_get_cache_as_bitmap"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_cache_as_bitmap,"nme_display_object_set_cache_as_bitmap"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pedantic_bitmap_caching,"nme_display_object_get_pedantic_bitmap_caching"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_pedantic_bitmap_caching,"nme_display_object_set_pedantic_bitmap_caching"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pixel_snapping,"nme_display_object_get_pixel_snapping"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_pixel_snapping,"nme_display_object_set_pixel_snapping"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_visible,"nme_display_object_get_visible"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_visible,"nme_display_object_set_visible"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_filters,"nme_display_object_set_filters"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_global_to_local,"nme_display_object_global_to_local"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_local_to_global,"nme_display_object_local_to_global"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale9_grid,"nme_display_object_set_scale9_grid"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scroll_rect,"nme_display_object_set_scroll_rect"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_mask,"nme_display_object_set_mask"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_matrix,"nme_display_object_set_matrix"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_matrix,"nme_display_object_get_matrix"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_color_transform,"nme_display_object_get_color_transform"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_color_transform,"nme_display_object_set_color_transform"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pixel_bounds,"nme_display_object_get_pixel_bounds"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_bounds,"nme_display_object_get_bounds"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_hit_test_point,"nme_display_object_hit_test_point"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(DisplayObject_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_create_display_object,"nme_create_display_object"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_graphics,"nme_display_object_get_graphics"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_draw_to_surface,"nme_display_object_draw_to_surface"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_id,"nme_display_object_get_id"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_x,"nme_display_object_get_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_x,"nme_display_object_set_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_y,"nme_display_object_get_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_y,"nme_display_object_set_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_scale_x,"nme_display_object_get_scale_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale_x,"nme_display_object_set_scale_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_scale_y,"nme_display_object_get_scale_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale_y,"nme_display_object_set_scale_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_mouse_x,"nme_display_object_get_mouse_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_mouse_y,"nme_display_object_get_mouse_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_rotation,"nme_display_object_get_rotation"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_rotation,"nme_display_object_set_rotation"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_bg,"nme_display_object_get_bg"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_bg,"nme_display_object_set_bg"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_name,"nme_display_object_get_name"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_name,"nme_display_object_set_name"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_width,"nme_display_object_get_width"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_width,"nme_display_object_set_width"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_height,"nme_display_object_get_height"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_height,"nme_display_object_set_height"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_alpha,"nme_display_object_get_alpha"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_alpha,"nme_display_object_set_alpha"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_blend_mode,"nme_display_object_get_blend_mode"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_blend_mode,"nme_display_object_set_blend_mode"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_cache_as_bitmap,"nme_display_object_get_cache_as_bitmap"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_cache_as_bitmap,"nme_display_object_set_cache_as_bitmap"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pedantic_bitmap_caching,"nme_display_object_get_pedantic_bitmap_caching"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_pedantic_bitmap_caching,"nme_display_object_set_pedantic_bitmap_caching"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pixel_snapping,"nme_display_object_get_pixel_snapping"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_pixel_snapping,"nme_display_object_set_pixel_snapping"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_visible,"nme_display_object_get_visible"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_visible,"nme_display_object_set_visible"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_filters,"nme_display_object_set_filters"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_global_to_local,"nme_display_object_global_to_local"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_local_to_global,"nme_display_object_local_to_global"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale9_grid,"nme_display_object_set_scale9_grid"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scroll_rect,"nme_display_object_set_scroll_rect"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_mask,"nme_display_object_set_mask"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_matrix,"nme_display_object_set_matrix"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_matrix,"nme_display_object_get_matrix"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_color_transform,"nme_display_object_get_color_transform"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_color_transform,"nme_display_object_set_color_transform"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pixel_bounds,"nme_display_object_get_pixel_bounds"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_bounds,"nme_display_object_get_bounds"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_hit_test_point,"nme_display_object_hit_test_point"); -}; - -Class DisplayObject_obj::__mClass; - -void DisplayObject_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.DisplayObject"), hx::TCanCast< DisplayObject_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void DisplayObject_obj::__boot() -{ - nme_create_display_object= ::native::Loader_obj::load(HX_CSTRING("nme_create_display_object"),(int)0); - nme_display_object_get_graphics= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_graphics"),(int)1); - nme_display_object_draw_to_surface= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_draw_to_surface"),(int)-1); - nme_display_object_get_id= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_id"),(int)1); - nme_display_object_get_x= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_x"),(int)1); - nme_display_object_set_x= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_x"),(int)2); - nme_display_object_get_y= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_y"),(int)1); - nme_display_object_set_y= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_y"),(int)2); - nme_display_object_get_scale_x= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_scale_x"),(int)1); - nme_display_object_set_scale_x= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_scale_x"),(int)2); - nme_display_object_get_scale_y= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_scale_y"),(int)1); - nme_display_object_set_scale_y= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_scale_y"),(int)2); - nme_display_object_get_mouse_x= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_mouse_x"),(int)1); - nme_display_object_get_mouse_y= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_mouse_y"),(int)1); - nme_display_object_get_rotation= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_rotation"),(int)1); - nme_display_object_set_rotation= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_rotation"),(int)2); - nme_display_object_get_bg= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_bg"),(int)1); - nme_display_object_set_bg= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_bg"),(int)2); - nme_display_object_get_name= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_name"),(int)1); - nme_display_object_set_name= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_name"),(int)2); - nme_display_object_get_width= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_width"),(int)1); - nme_display_object_set_width= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_width"),(int)2); - nme_display_object_get_height= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_height"),(int)1); - nme_display_object_set_height= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_height"),(int)2); - nme_display_object_get_alpha= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_alpha"),(int)1); - nme_display_object_set_alpha= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_alpha"),(int)2); - nme_display_object_get_blend_mode= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_blend_mode"),(int)1); - nme_display_object_set_blend_mode= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_blend_mode"),(int)2); - nme_display_object_get_cache_as_bitmap= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_cache_as_bitmap"),(int)1); - nme_display_object_set_cache_as_bitmap= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_cache_as_bitmap"),(int)2); - nme_display_object_get_pedantic_bitmap_caching= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_pedantic_bitmap_caching"),(int)1); - nme_display_object_set_pedantic_bitmap_caching= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_pedantic_bitmap_caching"),(int)2); - nme_display_object_get_pixel_snapping= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_pixel_snapping"),(int)1); - nme_display_object_set_pixel_snapping= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_pixel_snapping"),(int)2); - nme_display_object_get_visible= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_visible"),(int)1); - nme_display_object_set_visible= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_visible"),(int)2); - nme_display_object_set_filters= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_filters"),(int)2); - nme_display_object_global_to_local= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_global_to_local"),(int)2); - nme_display_object_local_to_global= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_local_to_global"),(int)2); - nme_display_object_set_scale9_grid= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_scale9_grid"),(int)2); - nme_display_object_set_scroll_rect= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_scroll_rect"),(int)2); - nme_display_object_set_mask= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_mask"),(int)2); - nme_display_object_set_matrix= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_matrix"),(int)2); - nme_display_object_get_matrix= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_matrix"),(int)3); - nme_display_object_get_color_transform= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_color_transform"),(int)3); - nme_display_object_set_color_transform= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_color_transform"),(int)2); - nme_display_object_get_pixel_bounds= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_pixel_bounds"),(int)2); - nme_display_object_get_bounds= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_bounds"),(int)4); - nme_display_object_hit_test_point= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_hit_test_point"),(int)5); -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/DisplayObjectContainer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/DisplayObjectContainer.cpp deleted file mode 100644 index 2c16f67..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/DisplayObjectContainer.cpp +++ /dev/null @@ -1,1202 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_native_Loader -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_errors_ArgumentError -#include -#endif -#ifndef INCLUDED_native_errors_Error -#include -#endif -#ifndef INCLUDED_native_errors_RangeError -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_geom_Point -#include -#endif -namespace native{ -namespace display{ - -Void DisplayObjectContainer_obj::__construct(Dynamic inHandle,::String inType) -{ -HX_STACK_PUSH("DisplayObjectContainer::new","native/display/DisplayObjectContainer.hx",22); -{ - HX_STACK_LINE(24) - super::__construct(inHandle,inType); - HX_STACK_LINE(25) - this->nmeChildren = Array_obj< ::native::display::DisplayObject >::__new(); -} -; - return null(); -} - -DisplayObjectContainer_obj::~DisplayObjectContainer_obj() { } - -Dynamic DisplayObjectContainer_obj::__CreateEmpty() { return new DisplayObjectContainer_obj; } -hx::ObjectPtr< DisplayObjectContainer_obj > DisplayObjectContainer_obj::__new(Dynamic inHandle,::String inType) -{ hx::ObjectPtr< DisplayObjectContainer_obj > result = new DisplayObjectContainer_obj(); - result->__construct(inHandle,inType); - return result;} - -Dynamic DisplayObjectContainer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< DisplayObjectContainer_obj > result = new DisplayObjectContainer_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -bool DisplayObjectContainer_obj::set_tabChildren( bool inValue){ - HX_STACK_PUSH("DisplayObjectContainer::set_tabChildren","native/display/DisplayObjectContainer.hx",397); - HX_STACK_THIS(this); - HX_STACK_ARG(inValue,"inValue"); - HX_STACK_LINE(397) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,set_tabChildren,return ) - -bool DisplayObjectContainer_obj::get_tabChildren( ){ - HX_STACK_PUSH("DisplayObjectContainer::get_tabChildren","native/display/DisplayObjectContainer.hx",396); - HX_STACK_THIS(this); - HX_STACK_LINE(396) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObjectContainer_obj,get_tabChildren,return ) - -int DisplayObjectContainer_obj::get_numChildren( ){ - HX_STACK_PUSH("DisplayObjectContainer::get_numChildren","native/display/DisplayObjectContainer.hx",395); - HX_STACK_THIS(this); - HX_STACK_LINE(395) - return this->nmeChildren->length; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObjectContainer_obj,get_numChildren,return ) - -bool DisplayObjectContainer_obj::set_mouseChildren( bool inVal){ - HX_STACK_PUSH("DisplayObjectContainer::set_mouseChildren","native/display/DisplayObjectContainer.hx",387); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(389) - ::native::display::DisplayObjectContainer_obj::nme_doc_set_mouse_children(this->nmeHandle,inVal); - HX_STACK_LINE(390) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,set_mouseChildren,return ) - -bool DisplayObjectContainer_obj::get_mouseChildren( ){ - HX_STACK_PUSH("DisplayObjectContainer::get_mouseChildren","native/display/DisplayObjectContainer.hx",386); - HX_STACK_THIS(this); - HX_STACK_LINE(386) - return ::native::display::DisplayObjectContainer_obj::nme_doc_get_mouse_children(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObjectContainer_obj,get_mouseChildren,return ) - -Void DisplayObjectContainer_obj::swapChildrenAt( int index1,int index2){ -{ - HX_STACK_PUSH("DisplayObjectContainer::swapChildrenAt","native/display/DisplayObjectContainer.hx",372); - HX_STACK_THIS(this); - HX_STACK_ARG(index1,"index1"); - HX_STACK_ARG(index2,"index2"); - HX_STACK_LINE(374) - if (((bool((bool((bool((index1 < (int)0)) || bool((index2 < (int)0)))) || bool((index1 > this->nmeChildren->length)))) || bool((index2 > this->nmeChildren->length))))){ - HX_STACK_LINE(374) - hx::Throw (::native::errors::RangeError_obj::__new(HX_CSTRING("swapChildrenAt : index out of bounds"))); - } - HX_STACK_LINE(374) - if (((index1 != index2))){ - HX_STACK_LINE(374) - ::native::display::DisplayObject tmp = this->nmeChildren->__get(index1); HX_STACK_VAR(tmp,"tmp"); - HX_STACK_LINE(374) - this->nmeChildren[index1] = this->nmeChildren->__get(index2); - HX_STACK_LINE(374) - this->nmeChildren[index2] = tmp; - HX_STACK_LINE(374) - ::native::display::DisplayObjectContainer_obj::nme_doc_swap_children(this->nmeHandle,index1,index2); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,swapChildrenAt,(void)) - -Void DisplayObjectContainer_obj::swapChildren( ::native::display::DisplayObject child1,::native::display::DisplayObject child2){ -{ - HX_STACK_PUSH("DisplayObjectContainer::swapChildren","native/display/DisplayObjectContainer.hx",361); - HX_STACK_THIS(this); - HX_STACK_ARG(child1,"child1"); - HX_STACK_ARG(child2,"child2"); - HX_STACK_LINE(363) - int idx1 = this->nmeGetChildIndex(child1); HX_STACK_VAR(idx1,"idx1"); - HX_STACK_LINE(364) - int idx2 = this->nmeGetChildIndex(child2); HX_STACK_VAR(idx2,"idx2"); - HX_STACK_LINE(365) - if (((bool((idx1 < (int)0)) || bool((idx2 < (int)0))))){ - HX_STACK_LINE(366) - hx::Throw (HX_CSTRING("swapChildren:Could not find children")); - } - HX_STACK_LINE(367) - { - HX_STACK_LINE(367) - if (((bool((bool((bool((idx1 < (int)0)) || bool((idx2 < (int)0)))) || bool((idx1 > this->nmeChildren->length)))) || bool((idx2 > this->nmeChildren->length))))){ - HX_STACK_LINE(367) - hx::Throw (::native::errors::RangeError_obj::__new(HX_CSTRING("swapChildrenAt : index out of bounds"))); - } - HX_STACK_LINE(367) - if (((idx1 != idx2))){ - HX_STACK_LINE(367) - ::native::display::DisplayObject tmp = this->nmeChildren->__get(idx1); HX_STACK_VAR(tmp,"tmp"); - HX_STACK_LINE(367) - this->nmeChildren[idx1] = this->nmeChildren->__get(idx2); - HX_STACK_LINE(367) - this->nmeChildren[idx2] = tmp; - HX_STACK_LINE(367) - ::native::display::DisplayObjectContainer_obj::nme_doc_swap_children(this->nmeHandle,idx1,idx2); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,swapChildren,(void)) - -Void DisplayObjectContainer_obj::setChildIndex( ::native::display::DisplayObject child,int index){ -{ - HX_STACK_PUSH("DisplayObjectContainer::setChildIndex","native/display/DisplayObjectContainer.hx",354); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(356) - if (((index > this->nmeChildren->length))){ - HX_STACK_LINE(356) - hx::Throw ((HX_CSTRING("Invalid index position ") + index)); - } - HX_STACK_LINE(356) - ::native::display::DisplayObject s = null(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(356) - int orig = this->nmeGetChildIndex(child); HX_STACK_VAR(orig,"orig"); - HX_STACK_LINE(356) - if (((orig < (int)0))){ - HX_STACK_LINE(356) - ::String msg = ((HX_CSTRING("setChildIndex : object ") + child->toString()) + HX_CSTRING(" not found.")); HX_STACK_VAR(msg,"msg"); - HX_STACK_LINE(356) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(356) - int realindex = (int)-1; HX_STACK_VAR(realindex,"realindex"); - HX_STACK_LINE(356) - { - HX_STACK_LINE(356) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->nmeChildren->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(356) - while(((_g1 < _g))){ - HX_STACK_LINE(356) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(356) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(356) - realindex = i; - HX_STACK_LINE(356) - break; - } - } - } - HX_STACK_LINE(356) - if (((realindex != (int)-1))){ - HX_STACK_LINE(356) - hx::AddEq(msg,(HX_CSTRING("Internal error: Real child index was ") + ::Std_obj::string(realindex))); - } - else{ - HX_STACK_LINE(356) - hx::AddEq(msg,HX_CSTRING("Internal error: Child was not in nmeChildren array!")); - } - } - HX_STACK_LINE(356) - hx::Throw (msg); - } - HX_STACK_LINE(356) - ::native::display::DisplayObjectContainer_obj::nme_doc_set_child_index(this->nmeHandle,child->nmeHandle,index); - HX_STACK_LINE(356) - if (((index < orig))){ - HX_STACK_LINE(356) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(356) - while(((i > index))){ - HX_STACK_LINE(356) - this->nmeChildren[i] = this->nmeChildren->__get((i - (int)1)); - HX_STACK_LINE(356) - (i)--; - } - HX_STACK_LINE(356) - this->nmeChildren[index] = child; - } - else{ - HX_STACK_LINE(356) - if (((orig < index))){ - HX_STACK_LINE(356) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(356) - while(((i < index))){ - HX_STACK_LINE(356) - this->nmeChildren[i] = this->nmeChildren->__get((i + (int)1)); - HX_STACK_LINE(356) - (i)++; - } - HX_STACK_LINE(356) - this->nmeChildren[index] = child; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,setChildIndex,(void)) - -::native::display::DisplayObject DisplayObjectContainer_obj::removeChildAt( int index){ - HX_STACK_PUSH("DisplayObjectContainer::removeChildAt","native/display/DisplayObjectContainer.hx",339); - HX_STACK_THIS(this); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(341) - if (((bool((index >= (int)0)) && bool((index < this->nmeChildren->length))))){ - HX_STACK_LINE(343) - ::native::display::DisplayObject result = this->nmeChildren->__get(index); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(344) - result->nmeSetParent(null()); - HX_STACK_LINE(345) - return result; - } - HX_STACK_LINE(349) - hx::Throw (::native::errors::ArgumentError_obj::__new(HX_CSTRING("The supplied DisplayObject must be a child of the caller."),null())); - HX_STACK_LINE(349) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,removeChildAt,return ) - -::native::display::DisplayObject DisplayObjectContainer_obj::removeChild( ::native::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::removeChild","native/display/DisplayObjectContainer.hx",321); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(323) - int c = this->nmeGetChildIndex(child); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(325) - if (((c >= (int)0))){ - HX_STACK_LINE(327) - child->nmeSetParent(null()); - HX_STACK_LINE(328) - return child; - } - HX_STACK_LINE(334) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,removeChild,return ) - -Void DisplayObjectContainer_obj::nmeSwapChildrenAt( int index1,int index2){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeSwapChildrenAt","native/display/DisplayObjectContainer.hx",304); - HX_STACK_THIS(this); - HX_STACK_ARG(index1,"index1"); - HX_STACK_ARG(index2,"index2"); - HX_STACK_LINE(306) - if (((bool((bool((bool((index1 < (int)0)) || bool((index2 < (int)0)))) || bool((index1 > this->nmeChildren->length)))) || bool((index2 > this->nmeChildren->length))))){ - HX_STACK_LINE(307) - hx::Throw (::native::errors::RangeError_obj::__new(HX_CSTRING("swapChildrenAt : index out of bounds"))); - } - HX_STACK_LINE(309) - if (((index1 != index2))){ - HX_STACK_LINE(311) - ::native::display::DisplayObject tmp = this->nmeChildren->__get(index1); HX_STACK_VAR(tmp,"tmp"); - HX_STACK_LINE(312) - this->nmeChildren[index1] = this->nmeChildren->__get(index2); - HX_STACK_LINE(313) - this->nmeChildren[index2] = tmp; - HX_STACK_LINE(314) - ::native::display::DisplayObjectContainer_obj::nme_doc_swap_children(this->nmeHandle,index1,index2); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,nmeSwapChildrenAt,(void)) - -Void DisplayObjectContainer_obj::nmeSetChildIndex( ::native::display::DisplayObject child,int index){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeSetChildIndex","native/display/DisplayObjectContainer.hx",234); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(236) - if (((index > this->nmeChildren->length))){ - HX_STACK_LINE(237) - hx::Throw ((HX_CSTRING("Invalid index position ") + index)); - } - HX_STACK_LINE(239) - ::native::display::DisplayObject s = null(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(240) - int orig = this->nmeGetChildIndex(child); HX_STACK_VAR(orig,"orig"); - HX_STACK_LINE(242) - if (((orig < (int)0))){ - HX_STACK_LINE(244) - ::String msg = ((HX_CSTRING("setChildIndex : object ") + child->toString()) + HX_CSTRING(" not found.")); HX_STACK_VAR(msg,"msg"); - HX_STACK_LINE(246) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(248) - int realindex = (int)-1; HX_STACK_VAR(realindex,"realindex"); - HX_STACK_LINE(250) - { - HX_STACK_LINE(250) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->nmeChildren->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(250) - while(((_g1 < _g))){ - HX_STACK_LINE(250) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(252) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(254) - realindex = i; - HX_STACK_LINE(255) - break; - } - } - } - HX_STACK_LINE(261) - if (((realindex != (int)-1))){ - HX_STACK_LINE(262) - hx::AddEq(msg,(HX_CSTRING("Internal error: Real child index was ") + ::Std_obj::string(realindex))); - } - else{ - HX_STACK_LINE(264) - hx::AddEq(msg,HX_CSTRING("Internal error: Child was not in nmeChildren array!")); - } - } - HX_STACK_LINE(268) - hx::Throw (msg); - } - HX_STACK_LINE(272) - ::native::display::DisplayObjectContainer_obj::nme_doc_set_child_index(this->nmeHandle,child->nmeHandle,index); - HX_STACK_LINE(274) - if (((index < orig))){ - HX_STACK_LINE(276) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(278) - while(((i > index))){ - HX_STACK_LINE(280) - this->nmeChildren[i] = this->nmeChildren->__get((i - (int)1)); - HX_STACK_LINE(281) - (i)--; - } - HX_STACK_LINE(285) - this->nmeChildren[index] = child; - } - else{ - HX_STACK_LINE(287) - if (((orig < index))){ - HX_STACK_LINE(289) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(290) - while(((i < index))){ - HX_STACK_LINE(292) - this->nmeChildren[i] = this->nmeChildren->__get((i + (int)1)); - HX_STACK_LINE(293) - (i)++; - } - HX_STACK_LINE(297) - this->nmeChildren[index] = child; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,nmeSetChildIndex,(void)) - -Void DisplayObjectContainer_obj::nmeRemoveChildFromArray( ::native::display::DisplayObject child){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeRemoveChildFromArray","native/display/DisplayObjectContainer.hx",220); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(222) - int i = this->nmeGetChildIndex(child); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(224) - if (((i >= (int)0))){ - HX_STACK_LINE(226) - ::native::display::DisplayObjectContainer_obj::nme_doc_remove_child(this->nmeHandle,i); - HX_STACK_LINE(227) - this->nmeChildren->splice(i,(int)1); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,nmeRemoveChildFromArray,(void)) - -Void DisplayObjectContainer_obj::nmeOnRemoved( ::native::display::DisplayObject inObj,bool inWasOnStage){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeOnRemoved","native/display/DisplayObjectContainer.hx",210); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inWasOnStage,"inWasOnStage"); - HX_STACK_LINE(212) - this->super::nmeOnRemoved(inObj,inWasOnStage); - HX_STACK_LINE(214) - { - HX_STACK_LINE(214) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::native::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(214) - while(((_g < _g1->length))){ - HX_STACK_LINE(214) - ::native::display::DisplayObject child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(214) - ++(_g); - HX_STACK_LINE(215) - child->nmeOnRemoved(inObj,inWasOnStage); - } - } - } -return null(); -} - - -Void DisplayObjectContainer_obj::nmeOnAdded( ::native::display::DisplayObject inObj,bool inIsOnStage){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeOnAdded","native/display/DisplayObjectContainer.hx",200); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inIsOnStage,"inIsOnStage"); - HX_STACK_LINE(202) - this->super::nmeOnAdded(inObj,inIsOnStage); - HX_STACK_LINE(204) - { - HX_STACK_LINE(204) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::native::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(204) - while(((_g < _g1->length))){ - HX_STACK_LINE(204) - ::native::display::DisplayObject child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(204) - ++(_g); - HX_STACK_LINE(205) - child->nmeOnAdded(inObj,inIsOnStage); - } - } - } -return null(); -} - - -Void DisplayObjectContainer_obj::nmeGetObjectsUnderPoint( ::native::geom::Point point,Array< ::native::display::DisplayObject > result){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeGetObjectsUnderPoint","native/display/DisplayObjectContainer.hx",190); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_ARG(result,"result"); - HX_STACK_LINE(192) - this->super::nmeGetObjectsUnderPoint(point,result); - HX_STACK_LINE(194) - { - HX_STACK_LINE(194) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::native::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(194) - while(((_g < _g1->length))){ - HX_STACK_LINE(194) - ::native::display::DisplayObject child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(194) - ++(_g); - HX_STACK_LINE(195) - child->nmeGetObjectsUnderPoint(point,result); - } - } - } -return null(); -} - - -int DisplayObjectContainer_obj::nmeGetChildIndex( ::native::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::nmeGetChildIndex","native/display/DisplayObjectContainer.hx",180); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(182) - { - HX_STACK_LINE(182) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->nmeChildren->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(182) - while(((_g1 < _g))){ - HX_STACK_LINE(182) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(183) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(184) - return i; - } - } - } - HX_STACK_LINE(185) - return (int)-1; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,nmeGetChildIndex,return ) - -::native::display::DisplayObject DisplayObjectContainer_obj::nmeFindByID( int inID){ - HX_STACK_PUSH("DisplayObjectContainer::nmeFindByID","native/display/DisplayObjectContainer.hx",161); - HX_STACK_THIS(this); - HX_STACK_ARG(inID,"inID"); - HX_STACK_LINE(163) - if (((this->nmeID == inID))){ - HX_STACK_LINE(164) - return hx::ObjectPtr(this); - } - HX_STACK_LINE(166) - { - HX_STACK_LINE(166) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::native::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(166) - while(((_g < _g1->length))){ - HX_STACK_LINE(166) - ::native::display::DisplayObject child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(166) - ++(_g); - HX_STACK_LINE(168) - ::native::display::DisplayObject found = child->nmeFindByID(inID); HX_STACK_VAR(found,"found"); - HX_STACK_LINE(170) - if (((found != null()))){ - HX_STACK_LINE(171) - return found; - } - } - } - HX_STACK_LINE(175) - return this->super::nmeFindByID(inID); -} - - -Void DisplayObjectContainer_obj::nmeBroadcast( ::native::events::Event inEvt){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeBroadcast","native/display/DisplayObjectContainer.hx",133); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvt,"inEvt"); - HX_STACK_LINE(135) - int i = (int)0; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(137) - if (((this->nmeChildren->length > (int)0))){ - HX_STACK_LINE(138) - while((true)){ - HX_STACK_LINE(140) - ::native::display::DisplayObject child = this->nmeChildren->__get(i); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(141) - child->nmeBroadcast(inEvt); - HX_STACK_LINE(143) - if (((i >= this->nmeChildren->length))){ - HX_STACK_LINE(144) - break; - } - HX_STACK_LINE(146) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(148) - (i)++; - HX_STACK_LINE(149) - if (((i >= this->nmeChildren->length))){ - HX_STACK_LINE(150) - break; - } - } - } - } - HX_STACK_LINE(156) - this->super::nmeBroadcast(inEvt); - } -return null(); -} - - -Void DisplayObjectContainer_obj::nmeAddChild( ::native::display::DisplayObject child){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeAddChild","native/display/DisplayObjectContainer.hx",110); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(112) - if (((child == hx::ObjectPtr(this)))){ - HX_STACK_LINE(112) - hx::Throw (HX_CSTRING("Adding to self")); - } - HX_STACK_LINE(118) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(118) - this->setChildIndex(child,(this->nmeChildren->length - (int)1)); - } - else{ - HX_STACK_LINE(124) - child->nmeSetParent(hx::ObjectPtr(this)); - HX_STACK_LINE(125) - this->nmeChildren->push(child); - HX_STACK_LINE(126) - ::native::display::DisplayObjectContainer_obj::nme_doc_add_child(this->nmeHandle,child->nmeHandle); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,nmeAddChild,(void)) - -Array< ::native::display::DisplayObject > DisplayObjectContainer_obj::getObjectsUnderPoint( ::native::geom::Point point){ - HX_STACK_PUSH("DisplayObjectContainer::getObjectsUnderPoint","native/display/DisplayObjectContainer.hx",101); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(103) - Array< ::native::display::DisplayObject > result = Array_obj< ::native::display::DisplayObject >::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(104) - this->nmeGetObjectsUnderPoint(point,result); - HX_STACK_LINE(105) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,getObjectsUnderPoint,return ) - -int DisplayObjectContainer_obj::getChildIndex( ::native::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::getChildIndex","native/display/DisplayObjectContainer.hx",94); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(94) - return this->nmeGetChildIndex(child); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,getChildIndex,return ) - -::native::display::DisplayObject DisplayObjectContainer_obj::getChildByName( ::String name){ - HX_STACK_PUSH("DisplayObjectContainer::getChildByName","native/display/DisplayObjectContainer.hx",84); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(86) - { - HX_STACK_LINE(86) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::native::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(86) - while(((_g < _g1->length))){ - HX_STACK_LINE(86) - ::native::display::DisplayObject c = _g1->__get(_g); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(86) - ++(_g); - HX_STACK_LINE(87) - if (((name == c->get_name()))){ - HX_STACK_LINE(88) - return c; - } - } - } - HX_STACK_LINE(89) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,getChildByName,return ) - -::native::display::DisplayObject DisplayObjectContainer_obj::getChildAt( int index){ - HX_STACK_PUSH("DisplayObjectContainer::getChildAt","native/display/DisplayObjectContainer.hx",71); - HX_STACK_THIS(this); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(73) - if (((bool((index >= (int)0)) && bool((index < this->nmeChildren->length))))){ - HX_STACK_LINE(74) - return this->nmeChildren->__get(index); - } - HX_STACK_LINE(77) - hx::Throw (::native::errors::RangeError_obj::__new((((HX_CSTRING("getChildAt : index out of bounds ") + index) + HX_CSTRING("/")) + this->nmeChildren->length))); - HX_STACK_LINE(79) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,getChildAt,return ) - -bool DisplayObjectContainer_obj::contains( ::native::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::contains","native/display/DisplayObjectContainer.hx",54); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(56) - if (((child == null()))){ - HX_STACK_LINE(57) - return false; - } - HX_STACK_LINE(59) - if (((hx::ObjectPtr(this) == child))){ - HX_STACK_LINE(60) - return true; - } - HX_STACK_LINE(62) - { - HX_STACK_LINE(62) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::native::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(62) - while(((_g < _g1->length))){ - HX_STACK_LINE(62) - ::native::display::DisplayObject c = _g1->__get(_g); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(62) - ++(_g); - HX_STACK_LINE(63) - if (((c == child))){ - HX_STACK_LINE(64) - return true; - } - } - } - HX_STACK_LINE(66) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,contains,return ) - -bool DisplayObjectContainer_obj::areInaccessibleObjectsUnderPoint( ::native::geom::Point point){ - HX_STACK_PUSH("DisplayObjectContainer::areInaccessibleObjectsUnderPoint","native/display/DisplayObjectContainer.hx",47); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(47) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,areInaccessibleObjectsUnderPoint,return ) - -::native::display::DisplayObject DisplayObjectContainer_obj::addChildAt( ::native::display::DisplayObject child,int index){ - HX_STACK_PUSH("DisplayObjectContainer::addChildAt","native/display/DisplayObjectContainer.hx",38); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(40) - { - HX_STACK_LINE(40) - if (((child == hx::ObjectPtr(this)))){ - HX_STACK_LINE(40) - hx::Throw (HX_CSTRING("Adding to self")); - } - HX_STACK_LINE(40) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(40) - this->setChildIndex(child,(this->nmeChildren->length - (int)1)); - } - else{ - HX_STACK_LINE(40) - child->nmeSetParent(hx::ObjectPtr(this)); - HX_STACK_LINE(40) - this->nmeChildren->push(child); - HX_STACK_LINE(40) - ::native::display::DisplayObjectContainer_obj::nme_doc_add_child(this->nmeHandle,child->nmeHandle); - } - } - HX_STACK_LINE(41) - { - HX_STACK_LINE(41) - if (((index > this->nmeChildren->length))){ - HX_STACK_LINE(41) - hx::Throw ((HX_CSTRING("Invalid index position ") + index)); - } - HX_STACK_LINE(41) - ::native::display::DisplayObject s = null(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(41) - int orig = this->nmeGetChildIndex(child); HX_STACK_VAR(orig,"orig"); - HX_STACK_LINE(41) - if (((orig < (int)0))){ - HX_STACK_LINE(41) - ::String msg = ((HX_CSTRING("setChildIndex : object ") + child->toString()) + HX_CSTRING(" not found.")); HX_STACK_VAR(msg,"msg"); - HX_STACK_LINE(41) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(41) - int realindex = (int)-1; HX_STACK_VAR(realindex,"realindex"); - HX_STACK_LINE(41) - { - HX_STACK_LINE(41) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->nmeChildren->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(41) - while(((_g1 < _g))){ - HX_STACK_LINE(41) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(41) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(41) - realindex = i; - HX_STACK_LINE(41) - break; - } - } - } - HX_STACK_LINE(41) - if (((realindex != (int)-1))){ - HX_STACK_LINE(41) - hx::AddEq(msg,(HX_CSTRING("Internal error: Real child index was ") + ::Std_obj::string(realindex))); - } - else{ - HX_STACK_LINE(41) - hx::AddEq(msg,HX_CSTRING("Internal error: Child was not in nmeChildren array!")); - } - } - HX_STACK_LINE(41) - hx::Throw (msg); - } - HX_STACK_LINE(41) - ::native::display::DisplayObjectContainer_obj::nme_doc_set_child_index(this->nmeHandle,child->nmeHandle,index); - HX_STACK_LINE(41) - if (((index < orig))){ - HX_STACK_LINE(41) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(41) - while(((i > index))){ - HX_STACK_LINE(41) - this->nmeChildren[i] = this->nmeChildren->__get((i - (int)1)); - HX_STACK_LINE(41) - (i)--; - } - HX_STACK_LINE(41) - this->nmeChildren[index] = child; - } - else{ - HX_STACK_LINE(41) - if (((orig < index))){ - HX_STACK_LINE(41) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(41) - while(((i < index))){ - HX_STACK_LINE(41) - this->nmeChildren[i] = this->nmeChildren->__get((i + (int)1)); - HX_STACK_LINE(41) - (i)++; - } - HX_STACK_LINE(41) - this->nmeChildren[index] = child; - } - } - } - HX_STACK_LINE(42) - return child; -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,addChildAt,return ) - -::native::display::DisplayObject DisplayObjectContainer_obj::addChild( ::native::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::addChild","native/display/DisplayObjectContainer.hx",30); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(32) - { - HX_STACK_LINE(32) - if (((child == hx::ObjectPtr(this)))){ - HX_STACK_LINE(32) - hx::Throw (HX_CSTRING("Adding to self")); - } - HX_STACK_LINE(32) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(32) - this->setChildIndex(child,(this->nmeChildren->length - (int)1)); - } - else{ - HX_STACK_LINE(32) - child->nmeSetParent(hx::ObjectPtr(this)); - HX_STACK_LINE(32) - this->nmeChildren->push(child); - HX_STACK_LINE(32) - ::native::display::DisplayObjectContainer_obj::nme_doc_add_child(this->nmeHandle,child->nmeHandle); - } - } - HX_STACK_LINE(33) - return child; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,addChild,return ) - -Dynamic DisplayObjectContainer_obj::nme_create_display_object_container; - -Dynamic DisplayObjectContainer_obj::nme_doc_add_child; - -Dynamic DisplayObjectContainer_obj::nme_doc_remove_child; - -Dynamic DisplayObjectContainer_obj::nme_doc_set_child_index; - -Dynamic DisplayObjectContainer_obj::nme_doc_get_mouse_children; - -Dynamic DisplayObjectContainer_obj::nme_doc_set_mouse_children; - -Dynamic DisplayObjectContainer_obj::nme_doc_swap_children; - - -DisplayObjectContainer_obj::DisplayObjectContainer_obj() -{ -} - -void DisplayObjectContainer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(DisplayObjectContainer); - HX_MARK_MEMBER_NAME(nmeChildren,"nmeChildren"); - HX_MARK_MEMBER_NAME(tabChildren,"tabChildren"); - HX_MARK_MEMBER_NAME(numChildren,"numChildren"); - HX_MARK_MEMBER_NAME(mouseChildren,"mouseChildren"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void DisplayObjectContainer_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeChildren,"nmeChildren"); - HX_VISIT_MEMBER_NAME(tabChildren,"tabChildren"); - HX_VISIT_MEMBER_NAME(numChildren,"numChildren"); - HX_VISIT_MEMBER_NAME(mouseChildren,"mouseChildren"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic DisplayObjectContainer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"contains") ) { return contains_dyn(); } - if (HX_FIELD_EQ(inName,"addChild") ) { return addChild_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeOnAdded") ) { return nmeOnAdded_dyn(); } - if (HX_FIELD_EQ(inName,"getChildAt") ) { return getChildAt_dyn(); } - if (HX_FIELD_EQ(inName,"addChildAt") ) { return addChildAt_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"removeChild") ) { return removeChild_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFindByID") ) { return nmeFindByID_dyn(); } - if (HX_FIELD_EQ(inName,"nmeAddChild") ) { return nmeAddChild_dyn(); } - if (HX_FIELD_EQ(inName,"nmeChildren") ) { return nmeChildren; } - if (HX_FIELD_EQ(inName,"tabChildren") ) { return inCallProp ? get_tabChildren() : tabChildren; } - if (HX_FIELD_EQ(inName,"numChildren") ) { return inCallProp ? get_numChildren() : numChildren; } - break; - case 12: - if (HX_FIELD_EQ(inName,"swapChildren") ) { return swapChildren_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnRemoved") ) { return nmeOnRemoved_dyn(); } - if (HX_FIELD_EQ(inName,"nmeBroadcast") ) { return nmeBroadcast_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"setChildIndex") ) { return setChildIndex_dyn(); } - if (HX_FIELD_EQ(inName,"removeChildAt") ) { return removeChildAt_dyn(); } - if (HX_FIELD_EQ(inName,"getChildIndex") ) { return getChildIndex_dyn(); } - if (HX_FIELD_EQ(inName,"mouseChildren") ) { return inCallProp ? get_mouseChildren() : mouseChildren; } - break; - case 14: - if (HX_FIELD_EQ(inName,"swapChildrenAt") ) { return swapChildrenAt_dyn(); } - if (HX_FIELD_EQ(inName,"getChildByName") ) { return getChildByName_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"set_tabChildren") ) { return set_tabChildren_dyn(); } - if (HX_FIELD_EQ(inName,"get_tabChildren") ) { return get_tabChildren_dyn(); } - if (HX_FIELD_EQ(inName,"get_numChildren") ) { return get_numChildren_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeSetChildIndex") ) { return nmeSetChildIndex_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetChildIndex") ) { return nmeGetChildIndex_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_doc_add_child") ) { return nme_doc_add_child; } - if (HX_FIELD_EQ(inName,"set_mouseChildren") ) { return set_mouseChildren_dyn(); } - if (HX_FIELD_EQ(inName,"get_mouseChildren") ) { return get_mouseChildren_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSwapChildrenAt") ) { return nmeSwapChildrenAt_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_doc_remove_child") ) { return nme_doc_remove_child; } - if (HX_FIELD_EQ(inName,"getObjectsUnderPoint") ) { return getObjectsUnderPoint_dyn(); } - break; - case 21: - if (HX_FIELD_EQ(inName,"nme_doc_swap_children") ) { return nme_doc_swap_children; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_doc_set_child_index") ) { return nme_doc_set_child_index; } - if (HX_FIELD_EQ(inName,"nmeRemoveChildFromArray") ) { return nmeRemoveChildFromArray_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetObjectsUnderPoint") ) { return nmeGetObjectsUnderPoint_dyn(); } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_doc_get_mouse_children") ) { return nme_doc_get_mouse_children; } - if (HX_FIELD_EQ(inName,"nme_doc_set_mouse_children") ) { return nme_doc_set_mouse_children; } - break; - case 32: - if (HX_FIELD_EQ(inName,"areInaccessibleObjectsUnderPoint") ) { return areInaccessibleObjectsUnderPoint_dyn(); } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_create_display_object_container") ) { return nme_create_display_object_container; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic DisplayObjectContainer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 11: - if (HX_FIELD_EQ(inName,"nmeChildren") ) { nmeChildren=inValue.Cast< Array< ::native::display::DisplayObject > >(); return inValue; } - if (HX_FIELD_EQ(inName,"tabChildren") ) { if (inCallProp) return set_tabChildren(inValue);tabChildren=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"numChildren") ) { numChildren=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"mouseChildren") ) { if (inCallProp) return set_mouseChildren(inValue);mouseChildren=inValue.Cast< bool >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_doc_add_child") ) { nme_doc_add_child=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_doc_remove_child") ) { nme_doc_remove_child=inValue.Cast< Dynamic >(); return inValue; } - break; - case 21: - if (HX_FIELD_EQ(inName,"nme_doc_swap_children") ) { nme_doc_swap_children=inValue.Cast< Dynamic >(); return inValue; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_doc_set_child_index") ) { nme_doc_set_child_index=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_doc_get_mouse_children") ) { nme_doc_get_mouse_children=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_doc_set_mouse_children") ) { nme_doc_set_mouse_children=inValue.Cast< Dynamic >(); return inValue; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_create_display_object_container") ) { nme_create_display_object_container=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void DisplayObjectContainer_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeChildren")); - outFields->push(HX_CSTRING("tabChildren")); - outFields->push(HX_CSTRING("numChildren")); - outFields->push(HX_CSTRING("mouseChildren")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_create_display_object_container"), - HX_CSTRING("nme_doc_add_child"), - HX_CSTRING("nme_doc_remove_child"), - HX_CSTRING("nme_doc_set_child_index"), - HX_CSTRING("nme_doc_get_mouse_children"), - HX_CSTRING("nme_doc_set_mouse_children"), - HX_CSTRING("nme_doc_swap_children"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("set_tabChildren"), - HX_CSTRING("get_tabChildren"), - HX_CSTRING("get_numChildren"), - HX_CSTRING("set_mouseChildren"), - HX_CSTRING("get_mouseChildren"), - HX_CSTRING("swapChildrenAt"), - HX_CSTRING("swapChildren"), - HX_CSTRING("setChildIndex"), - HX_CSTRING("removeChildAt"), - HX_CSTRING("removeChild"), - HX_CSTRING("nmeSwapChildrenAt"), - HX_CSTRING("nmeSetChildIndex"), - HX_CSTRING("nmeRemoveChildFromArray"), - HX_CSTRING("nmeOnRemoved"), - HX_CSTRING("nmeOnAdded"), - HX_CSTRING("nmeGetObjectsUnderPoint"), - HX_CSTRING("nmeGetChildIndex"), - HX_CSTRING("nmeFindByID"), - HX_CSTRING("nmeBroadcast"), - HX_CSTRING("nmeAddChild"), - HX_CSTRING("getObjectsUnderPoint"), - HX_CSTRING("getChildIndex"), - HX_CSTRING("getChildByName"), - HX_CSTRING("getChildAt"), - HX_CSTRING("contains"), - HX_CSTRING("areInaccessibleObjectsUnderPoint"), - HX_CSTRING("addChildAt"), - HX_CSTRING("addChild"), - HX_CSTRING("nmeChildren"), - HX_CSTRING("tabChildren"), - HX_CSTRING("numChildren"), - HX_CSTRING("mouseChildren"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_create_display_object_container,"nme_create_display_object_container"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_add_child,"nme_doc_add_child"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_remove_child,"nme_doc_remove_child"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_set_child_index,"nme_doc_set_child_index"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_get_mouse_children,"nme_doc_get_mouse_children"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_set_mouse_children,"nme_doc_set_mouse_children"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_swap_children,"nme_doc_swap_children"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_create_display_object_container,"nme_create_display_object_container"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_add_child,"nme_doc_add_child"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_remove_child,"nme_doc_remove_child"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_set_child_index,"nme_doc_set_child_index"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_get_mouse_children,"nme_doc_get_mouse_children"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_set_mouse_children,"nme_doc_set_mouse_children"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_swap_children,"nme_doc_swap_children"); -}; - -Class DisplayObjectContainer_obj::__mClass; - -void DisplayObjectContainer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.DisplayObjectContainer"), hx::TCanCast< DisplayObjectContainer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void DisplayObjectContainer_obj::__boot() -{ - nme_create_display_object_container= ::native::Loader_obj::load(HX_CSTRING("nme_create_display_object_container"),(int)0); - nme_doc_add_child= ::native::Loader_obj::load(HX_CSTRING("nme_doc_add_child"),(int)2); - nme_doc_remove_child= ::native::Loader_obj::load(HX_CSTRING("nme_doc_remove_child"),(int)2); - nme_doc_set_child_index= ::native::Loader_obj::load(HX_CSTRING("nme_doc_set_child_index"),(int)3); - nme_doc_get_mouse_children= ::native::Loader_obj::load(HX_CSTRING("nme_doc_get_mouse_children"),(int)1); - nme_doc_set_mouse_children= ::native::Loader_obj::load(HX_CSTRING("nme_doc_set_mouse_children"),(int)2); - nme_doc_swap_children= ::native::Loader_obj::load(HX_CSTRING("nme_doc_swap_children"),(int)3); -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/GradientType.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/GradientType.cpp deleted file mode 100644 index e4218fd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/GradientType.cpp +++ /dev/null @@ -1,73 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_GradientType -#include -#endif -namespace native{ -namespace display{ - -::native::display::GradientType GradientType_obj::LINEAR; - -::native::display::GradientType GradientType_obj::RADIAL; - -HX_DEFINE_CREATE_ENUM(GradientType_obj) - -int GradientType_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("LINEAR")) return 1; - if (inName==HX_CSTRING("RADIAL")) return 0; - return super::__FindIndex(inName); -} - -int GradientType_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("LINEAR")) return 0; - if (inName==HX_CSTRING("RADIAL")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic GradientType_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("LINEAR")) return LINEAR; - if (inName==HX_CSTRING("RADIAL")) return RADIAL; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("RADIAL"), - HX_CSTRING("LINEAR"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GradientType_obj::LINEAR,"LINEAR"); - HX_MARK_MEMBER_NAME(GradientType_obj::RADIAL,"RADIAL"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GradientType_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(GradientType_obj::LINEAR,"LINEAR"); - HX_VISIT_MEMBER_NAME(GradientType_obj::RADIAL,"RADIAL"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class GradientType_obj::__mClass; - -Dynamic __Create_GradientType_obj() { return new GradientType_obj; } - -void GradientType_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.GradientType"), hx::TCanCast< GradientType_obj >,sStaticFields,sMemberFields, - &__Create_GradientType_obj, &__Create, - &super::__SGetClass(), &CreateGradientType_obj, sMarkStatics, sVisitStatic); -} - -void GradientType_obj::__boot() -{ -Static(LINEAR) = hx::CreateEnum< GradientType_obj >(HX_CSTRING("LINEAR"),1); -Static(RADIAL) = hx::CreateEnum< GradientType_obj >(HX_CSTRING("RADIAL"),0); -} - - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Graphics.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Graphics.cpp deleted file mode 100644 index a9019e8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Graphics.cpp +++ /dev/null @@ -1,935 +0,0 @@ -#include - -#ifndef INCLUDED_native_Loader -#include -#endif -#ifndef INCLUDED_native_display_BitmapData -#include -#endif -#ifndef INCLUDED_native_display_CapsStyle -#include -#endif -#ifndef INCLUDED_native_display_GradientType -#include -#endif -#ifndef INCLUDED_native_display_Graphics -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_IGraphicsData -#include -#endif -#ifndef INCLUDED_native_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_native_display_JointStyle -#include -#endif -#ifndef INCLUDED_native_display_LineScaleMode -#include -#endif -#ifndef INCLUDED_native_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_native_display_Tilesheet -#include -#endif -#ifndef INCLUDED_native_display_TriangleCulling -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -namespace native{ -namespace display{ - -Void Graphics_obj::__construct(Dynamic inHandle) -{ -HX_STACK_PUSH("Graphics::new","native/display/Graphics.hx",24); -{ - HX_STACK_LINE(24) - this->nmeHandle = inHandle; -} -; - return null(); -} - -Graphics_obj::~Graphics_obj() { } - -Dynamic Graphics_obj::__CreateEmpty() { return new Graphics_obj; } -hx::ObjectPtr< Graphics_obj > Graphics_obj::__new(Dynamic inHandle) -{ hx::ObjectPtr< Graphics_obj > result = new Graphics_obj(); - result->__construct(inHandle); - return result;} - -Dynamic Graphics_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Graphics_obj > result = new Graphics_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Graphics_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Graphics::moveTo","native/display/Graphics.hx",203); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(203) - ::native::display::Graphics_obj::nme_gfx_move_to(this->nmeHandle,inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Graphics_obj,moveTo,(void)) - -Void Graphics_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Graphics::lineTo","native/display/Graphics.hx",196); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(196) - ::native::display::Graphics_obj::nme_gfx_line_to(this->nmeHandle,inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Graphics_obj,lineTo,(void)) - -Void Graphics_obj::lineStyle( Dynamic thickness,hx::Null< int > __o_color,hx::Null< Float > __o_alpha,hx::Null< bool > __o_pixelHinting,::native::display::LineScaleMode scaleMode,::native::display::CapsStyle caps,::native::display::JointStyle joints,hx::Null< Float > __o_miterLimit){ -int color = __o_color.Default(0); -Float alpha = __o_alpha.Default(1.0); -bool pixelHinting = __o_pixelHinting.Default(false); -Float miterLimit = __o_miterLimit.Default(3); - HX_STACK_PUSH("Graphics::lineStyle","native/display/Graphics.hx",189); - HX_STACK_THIS(this); - HX_STACK_ARG(thickness,"thickness"); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); - HX_STACK_ARG(pixelHinting,"pixelHinting"); - HX_STACK_ARG(scaleMode,"scaleMode"); - HX_STACK_ARG(caps,"caps"); - HX_STACK_ARG(joints,"joints"); - HX_STACK_ARG(miterLimit,"miterLimit"); -{ - HX_STACK_LINE(189) - ::native::display::Graphics_obj::nme_gfx_line_style(this->nmeHandle,thickness,color,alpha,pixelHinting,( (((scaleMode == null()))) ? int((int)0) : int(scaleMode->__Index()) ),( (((caps == null()))) ? int((int)0) : int(caps->__Index()) ),( (((joints == null()))) ? int((int)0) : int(joints->__Index()) ),miterLimit); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC8(Graphics_obj,lineStyle,(void)) - -Void Graphics_obj::lineGradientStyle( ::native::display::GradientType type,Dynamic colors,Dynamic alphas,Dynamic ratios,::native::geom::Matrix matrix,::native::display::SpreadMethod spreadMethod,::native::display::InterpolationMethod interpolationMethod,hx::Null< Float > __o_focalPointRatio){ -Float focalPointRatio = __o_focalPointRatio.Default(0.0); - HX_STACK_PUSH("Graphics::lineGradientStyle","native/display/Graphics.hx",175); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(colors,"colors"); - HX_STACK_ARG(alphas,"alphas"); - HX_STACK_ARG(ratios,"ratios"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(spreadMethod,"spreadMethod"); - HX_STACK_ARG(interpolationMethod,"interpolationMethod"); - HX_STACK_ARG(focalPointRatio,"focalPointRatio"); -{ - HX_STACK_LINE(177) - if (((matrix == null()))){ - HX_STACK_LINE(179) - matrix = ::native::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - HX_STACK_LINE(180) - matrix->createGradientBox((int)200,(int)200,(int)0,(int)-100,(int)-100); - } - HX_STACK_LINE(184) - ::native::display::Graphics_obj::nme_gfx_line_gradient_fill(this->nmeHandle,type->__Index(),colors,alphas,ratios,matrix,( (((spreadMethod == null()))) ? int((int)0) : int(spreadMethod->__Index()) ),( (((interpolationMethod == null()))) ? int((int)0) : int(interpolationMethod->__Index()) ),focalPointRatio); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC8(Graphics_obj,lineGradientStyle,(void)) - -Void Graphics_obj::lineBitmapStyle( ::native::display::BitmapData bitmap,::native::geom::Matrix matrix,hx::Null< bool > __o_repeat,hx::Null< bool > __o_smooth){ -bool repeat = __o_repeat.Default(true); -bool smooth = __o_smooth.Default(false); - HX_STACK_PUSH("Graphics::lineBitmapStyle","native/display/Graphics.hx",168); - HX_STACK_THIS(this); - HX_STACK_ARG(bitmap,"bitmap"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(repeat,"repeat"); - HX_STACK_ARG(smooth,"smooth"); -{ - HX_STACK_LINE(168) - ::native::display::Graphics_obj::nme_gfx_line_bitmap_fill(this->nmeHandle,bitmap->nmeHandle,matrix,repeat,smooth); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,lineBitmapStyle,(void)) - -Void Graphics_obj::endFill( ){ -{ - HX_STACK_PUSH("Graphics::endFill","native/display/Graphics.hx",161); - HX_STACK_THIS(this); - HX_STACK_LINE(161) - ::native::display::Graphics_obj::nme_gfx_end_fill(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Graphics_obj,endFill,(void)) - -Void Graphics_obj::drawTriangles( Array< Float > vertices,Array< int > indices,Array< Float > uvtData,::native::display::TriangleCulling culling,Array< int > colours,hx::Null< int > __o_blendMode,Array< Float > viewport){ -int blendMode = __o_blendMode.Default(0); - HX_STACK_PUSH("Graphics::drawTriangles","native/display/Graphics.hx",153); - HX_STACK_THIS(this); - HX_STACK_ARG(vertices,"vertices"); - HX_STACK_ARG(indices,"indices"); - HX_STACK_ARG(uvtData,"uvtData"); - HX_STACK_ARG(culling,"culling"); - HX_STACK_ARG(colours,"colours"); - HX_STACK_ARG(blendMode,"blendMode"); - HX_STACK_ARG(viewport,"viewport"); -{ - HX_STACK_LINE(155) - int cull = ( (((culling == null()))) ? int((int)0) : int((culling->__Index() - (int)1)) ); HX_STACK_VAR(cull,"cull"); - HX_STACK_LINE(156) - ::native::display::Graphics_obj::nme_gfx_draw_triangles(this->nmeHandle,vertices,indices,uvtData,cull,colours,blendMode,viewport); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC7(Graphics_obj,drawTriangles,(void)) - -Void Graphics_obj::drawTiles( ::native::display::Tilesheet sheet,Array< Float > inXYID,hx::Null< bool > __o_inSmooth,hx::Null< int > __o_inFlags){ -bool inSmooth = __o_inSmooth.Default(false); -int inFlags = __o_inFlags.Default(0); - HX_STACK_PUSH("Graphics::drawTiles","native/display/Graphics.hx",141); - HX_STACK_THIS(this); - HX_STACK_ARG(sheet,"sheet"); - HX_STACK_ARG(inXYID,"inXYID"); - HX_STACK_ARG(inSmooth,"inSmooth"); - HX_STACK_ARG(inFlags,"inFlags"); -{ - HX_STACK_LINE(143) - this->beginBitmapFill(sheet->nmeBitmap,null(),false,inSmooth); - HX_STACK_LINE(145) - if ((inSmooth)){ - HX_STACK_LINE(146) - hx::OrEq(inFlags,(int)4096); - } - HX_STACK_LINE(148) - ::native::display::Graphics_obj::nme_gfx_draw_tiles(this->nmeHandle,sheet->nmeHandle,inXYID,inFlags); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,drawTiles,(void)) - -Void Graphics_obj::drawPath( Array< int > commands,Array< Float > data,::String __o_winding){ -::String winding = __o_winding.Default(HX_CSTRING("evenOdd")); - HX_STACK_PUSH("Graphics::drawPath","native/display/Graphics.hx",134); - HX_STACK_THIS(this); - HX_STACK_ARG(commands,"commands"); - HX_STACK_ARG(data,"data"); - HX_STACK_ARG(winding,"winding"); -{ - HX_STACK_LINE(134) - ::native::display::Graphics_obj::nme_gfx_draw_path(this->nmeHandle,commands,data,(winding == HX_CSTRING("evenOdd"))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Graphics_obj,drawPath,(void)) - -Void Graphics_obj::drawRoundRect( Float inX,Float inY,Float inWidth,Float inHeight,Float inRadX,Dynamic inRadY){ -{ - HX_STACK_PUSH("Graphics::drawRoundRect","native/display/Graphics.hx",127); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_ARG(inRadX,"inRadX"); - HX_STACK_ARG(inRadY,"inRadY"); - HX_STACK_LINE(127) - ::native::display::Graphics_obj::nme_gfx_draw_round_rect(this->nmeHandle,inX,inY,inWidth,inHeight,inRadX,( (((inRadY == null()))) ? Dynamic(inRadX) : Dynamic(inRadY) )); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(Graphics_obj,drawRoundRect,(void)) - -Void Graphics_obj::drawRect( Float inX,Float inY,Float inWidth,Float inHeight){ -{ - HX_STACK_PUSH("Graphics::drawRect","native/display/Graphics.hx",120); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_LINE(120) - ::native::display::Graphics_obj::nme_gfx_draw_rect(this->nmeHandle,inX,inY,inWidth,inHeight); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,drawRect,(void)) - -Void Graphics_obj::drawPoints( Array< Float > inXY,Array< int > inPointRGBA,hx::Null< int > __o_inDefaultRGBA,hx::Null< Float > __o_inSize){ -int inDefaultRGBA = __o_inDefaultRGBA.Default(-1); -Float inSize = __o_inSize.Default(-1.0); - HX_STACK_PUSH("Graphics::drawPoints","native/display/Graphics.hx",113); - HX_STACK_THIS(this); - HX_STACK_ARG(inXY,"inXY"); - HX_STACK_ARG(inPointRGBA,"inPointRGBA"); - HX_STACK_ARG(inDefaultRGBA,"inDefaultRGBA"); - HX_STACK_ARG(inSize,"inSize"); -{ - HX_STACK_LINE(113) - ::native::display::Graphics_obj::nme_gfx_draw_points(this->nmeHandle,inXY,inPointRGBA,inDefaultRGBA,false,inSize); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,drawPoints,(void)) - -Void Graphics_obj::drawGraphicsDatum( ::native::display::IGraphicsData graphicsDatum){ -{ - HX_STACK_PUSH("Graphics::drawGraphicsDatum","native/display/Graphics.hx",106); - HX_STACK_THIS(this); - HX_STACK_ARG(graphicsDatum,"graphicsDatum"); - HX_STACK_LINE(106) - ::native::display::Graphics_obj::nme_gfx_draw_datum(this->nmeHandle,graphicsDatum->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Graphics_obj,drawGraphicsDatum,(void)) - -Void Graphics_obj::drawGraphicsData( Array< ::native::display::IGraphicsData > graphicsData){ -{ - HX_STACK_PUSH("Graphics::drawGraphicsData","native/display/Graphics.hx",94); - HX_STACK_THIS(this); - HX_STACK_ARG(graphicsData,"graphicsData"); - HX_STACK_LINE(96) - Dynamic handles = Dynamic( Array_obj::__new() ); HX_STACK_VAR(handles,"handles"); - HX_STACK_LINE(98) - { - HX_STACK_LINE(98) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(98) - while(((_g < graphicsData->length))){ - HX_STACK_LINE(98) - ::native::display::IGraphicsData datum = graphicsData->__get(_g); HX_STACK_VAR(datum,"datum"); - HX_STACK_LINE(98) - ++(_g); - HX_STACK_LINE(99) - handles->__Field(HX_CSTRING("push"),true)(datum->nmeHandle); - } - } - HX_STACK_LINE(101) - ::native::display::Graphics_obj::nme_gfx_draw_data(this->nmeHandle,handles); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Graphics_obj,drawGraphicsData,(void)) - -Void Graphics_obj::drawEllipse( Float inX,Float inY,Float inWidth,Float inHeight){ -{ - HX_STACK_PUSH("Graphics::drawEllipse","native/display/Graphics.hx",87); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_LINE(87) - ::native::display::Graphics_obj::nme_gfx_draw_ellipse(this->nmeHandle,inX,inY,inWidth,inHeight); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,drawEllipse,(void)) - -Void Graphics_obj::drawCircle( Float inX,Float inY,Float inRadius){ -{ - HX_STACK_PUSH("Graphics::drawCircle","native/display/Graphics.hx",80); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inRadius,"inRadius"); - HX_STACK_LINE(80) - ::native::display::Graphics_obj::nme_gfx_draw_ellipse(this->nmeHandle,(inX - inRadius),(inY - inRadius),(inRadius * (int)2),(inRadius * (int)2)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Graphics_obj,drawCircle,(void)) - -Void Graphics_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("Graphics::curveTo","native/display/Graphics.hx",73); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(73) - ::native::display::Graphics_obj::nme_gfx_curve_to(this->nmeHandle,inCX,inCY,inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,curveTo,(void)) - -Void Graphics_obj::clear( ){ -{ - HX_STACK_PUSH("Graphics::clear","native/display/Graphics.hx",66); - HX_STACK_THIS(this); - HX_STACK_LINE(66) - ::native::display::Graphics_obj::nme_gfx_clear(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Graphics_obj,clear,(void)) - -Void Graphics_obj::beginGradientFill( ::native::display::GradientType type,Dynamic colors,Dynamic alphas,Dynamic ratios,::native::geom::Matrix matrix,::native::display::SpreadMethod spreadMethod,::native::display::InterpolationMethod interpolationMethod,hx::Null< Float > __o_focalPointRatio){ -Float focalPointRatio = __o_focalPointRatio.Default(0.0); - HX_STACK_PUSH("Graphics::beginGradientFill","native/display/Graphics.hx",52); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(colors,"colors"); - HX_STACK_ARG(alphas,"alphas"); - HX_STACK_ARG(ratios,"ratios"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(spreadMethod,"spreadMethod"); - HX_STACK_ARG(interpolationMethod,"interpolationMethod"); - HX_STACK_ARG(focalPointRatio,"focalPointRatio"); -{ - HX_STACK_LINE(54) - if (((matrix == null()))){ - HX_STACK_LINE(56) - matrix = ::native::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - HX_STACK_LINE(57) - matrix->createGradientBox((int)200,(int)200,(int)0,(int)-100,(int)-100); - } - HX_STACK_LINE(61) - ::native::display::Graphics_obj::nme_gfx_begin_gradient_fill(this->nmeHandle,type->__Index(),colors,alphas,ratios,matrix,( (((spreadMethod == null()))) ? int((int)0) : int(spreadMethod->__Index()) ),( (((interpolationMethod == null()))) ? int((int)0) : int(interpolationMethod->__Index()) ),focalPointRatio); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC8(Graphics_obj,beginGradientFill,(void)) - -Void Graphics_obj::beginFill( int color,hx::Null< Float > __o_alpha){ -Float alpha = __o_alpha.Default(1.0); - HX_STACK_PUSH("Graphics::beginFill","native/display/Graphics.hx",45); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); -{ - HX_STACK_LINE(45) - ::native::display::Graphics_obj::nme_gfx_begin_fill(this->nmeHandle,color,alpha); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Graphics_obj,beginFill,(void)) - -Void Graphics_obj::beginBitmapFill( ::native::display::BitmapData bitmap,::native::geom::Matrix matrix,hx::Null< bool > __o_repeat,hx::Null< bool > __o_smooth){ -bool repeat = __o_repeat.Default(true); -bool smooth = __o_smooth.Default(false); - HX_STACK_PUSH("Graphics::beginBitmapFill","native/display/Graphics.hx",38); - HX_STACK_THIS(this); - HX_STACK_ARG(bitmap,"bitmap"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(repeat,"repeat"); - HX_STACK_ARG(smooth,"smooth"); -{ - HX_STACK_LINE(38) - ::native::display::Graphics_obj::nme_gfx_begin_bitmap_fill(this->nmeHandle,bitmap->nmeHandle,matrix,repeat,smooth); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,beginBitmapFill,(void)) - -Void Graphics_obj::arcTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("Graphics::arcTo","native/display/Graphics.hx",31); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(31) - ::native::display::Graphics_obj::nme_gfx_arc_to(this->nmeHandle,inCX,inCY,inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,arcTo,(void)) - -int Graphics_obj::TILE_SCALE; - -int Graphics_obj::TILE_ROTATION; - -int Graphics_obj::TILE_RGB; - -int Graphics_obj::TILE_ALPHA; - -int Graphics_obj::TILE_TRANS_2x2; - -int Graphics_obj::TILE_SMOOTH; - -int Graphics_obj::TILE_BLEND_NORMAL; - -int Graphics_obj::TILE_BLEND_ADD; - -int Graphics_obj::RGBA( int inRGB,hx::Null< int > __o_inA){ -int inA = __o_inA.Default(255); - HX_STACK_PUSH("Graphics::RGBA","native/display/Graphics.hx",210); - HX_STACK_ARG(inRGB,"inRGB"); - HX_STACK_ARG(inA,"inA"); -{ - HX_STACK_LINE(210) - return (int(inRGB) | int((int(inA) << int((int)24)))); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Graphics_obj,RGBA,return ) - -Dynamic Graphics_obj::nme_gfx_clear; - -Dynamic Graphics_obj::nme_gfx_begin_fill; - -Dynamic Graphics_obj::nme_gfx_begin_bitmap_fill; - -Dynamic Graphics_obj::nme_gfx_line_bitmap_fill; - -Dynamic Graphics_obj::nme_gfx_begin_gradient_fill; - -Dynamic Graphics_obj::nme_gfx_line_gradient_fill; - -Dynamic Graphics_obj::nme_gfx_end_fill; - -Dynamic Graphics_obj::nme_gfx_line_style; - -Dynamic Graphics_obj::nme_gfx_move_to; - -Dynamic Graphics_obj::nme_gfx_line_to; - -Dynamic Graphics_obj::nme_gfx_curve_to; - -Dynamic Graphics_obj::nme_gfx_arc_to; - -Dynamic Graphics_obj::nme_gfx_draw_ellipse; - -Dynamic Graphics_obj::nme_gfx_draw_data; - -Dynamic Graphics_obj::nme_gfx_draw_datum; - -Dynamic Graphics_obj::nme_gfx_draw_rect; - -Dynamic Graphics_obj::nme_gfx_draw_path; - -Dynamic Graphics_obj::nme_gfx_draw_tiles; - -Dynamic Graphics_obj::nme_gfx_draw_points; - -Dynamic Graphics_obj::nme_gfx_draw_round_rect; - -Dynamic Graphics_obj::nme_gfx_draw_triangles; - - -Graphics_obj::Graphics_obj() -{ -} - -void Graphics_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Graphics); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_END_CLASS(); -} - -void Graphics_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); -} - -Dynamic Graphics_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"RGBA") ) { return RGBA_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"clear") ) { return clear_dyn(); } - if (HX_FIELD_EQ(inName,"arcTo") ) { return arcTo_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"endFill") ) { return endFill_dyn(); } - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"TILE_RGB") ) { return TILE_RGB; } - if (HX_FIELD_EQ(inName,"drawPath") ) { return drawPath_dyn(); } - if (HX_FIELD_EQ(inName,"drawRect") ) { return drawRect_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"lineStyle") ) { return lineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"drawTiles") ) { return drawTiles_dyn(); } - if (HX_FIELD_EQ(inName,"beginFill") ) { return beginFill_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TILE_SCALE") ) { return TILE_SCALE; } - if (HX_FIELD_EQ(inName,"TILE_ALPHA") ) { return TILE_ALPHA; } - if (HX_FIELD_EQ(inName,"drawPoints") ) { return drawPoints_dyn(); } - if (HX_FIELD_EQ(inName,"drawCircle") ) { return drawCircle_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"TILE_SMOOTH") ) { return TILE_SMOOTH; } - if (HX_FIELD_EQ(inName,"drawEllipse") ) { return drawEllipse_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"TILE_ROTATION") ) { return TILE_ROTATION; } - if (HX_FIELD_EQ(inName,"nme_gfx_clear") ) { return nme_gfx_clear; } - if (HX_FIELD_EQ(inName,"drawTriangles") ) { return drawTriangles_dyn(); } - if (HX_FIELD_EQ(inName,"drawRoundRect") ) { return drawRoundRect_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"TILE_TRANS_2x2") ) { return TILE_TRANS_2x2; } - if (HX_FIELD_EQ(inName,"TILE_BLEND_ADD") ) { return TILE_BLEND_ADD; } - if (HX_FIELD_EQ(inName,"nme_gfx_arc_to") ) { return nme_gfx_arc_to; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_gfx_move_to") ) { return nme_gfx_move_to; } - if (HX_FIELD_EQ(inName,"nme_gfx_line_to") ) { return nme_gfx_line_to; } - if (HX_FIELD_EQ(inName,"lineBitmapStyle") ) { return lineBitmapStyle_dyn(); } - if (HX_FIELD_EQ(inName,"beginBitmapFill") ) { return beginBitmapFill_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_gfx_end_fill") ) { return nme_gfx_end_fill; } - if (HX_FIELD_EQ(inName,"nme_gfx_curve_to") ) { return nme_gfx_curve_to; } - if (HX_FIELD_EQ(inName,"drawGraphicsData") ) { return drawGraphicsData_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"TILE_BLEND_NORMAL") ) { return TILE_BLEND_NORMAL; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_data") ) { return nme_gfx_draw_data; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_rect") ) { return nme_gfx_draw_rect; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_path") ) { return nme_gfx_draw_path; } - if (HX_FIELD_EQ(inName,"lineGradientStyle") ) { return lineGradientStyle_dyn(); } - if (HX_FIELD_EQ(inName,"drawGraphicsDatum") ) { return drawGraphicsDatum_dyn(); } - if (HX_FIELD_EQ(inName,"beginGradientFill") ) { return beginGradientFill_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_fill") ) { return nme_gfx_begin_fill; } - if (HX_FIELD_EQ(inName,"nme_gfx_line_style") ) { return nme_gfx_line_style; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_datum") ) { return nme_gfx_draw_datum; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_tiles") ) { return nme_gfx_draw_tiles; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_points") ) { return nme_gfx_draw_points; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_ellipse") ) { return nme_gfx_draw_ellipse; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_triangles") ) { return nme_gfx_draw_triangles; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_round_rect") ) { return nme_gfx_draw_round_rect; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_gfx_line_bitmap_fill") ) { return nme_gfx_line_bitmap_fill; } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_bitmap_fill") ) { return nme_gfx_begin_bitmap_fill; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_gfx_line_gradient_fill") ) { return nme_gfx_line_gradient_fill; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_gradient_fill") ) { return nme_gfx_begin_gradient_fill; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Graphics_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"TILE_RGB") ) { TILE_RGB=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TILE_SCALE") ) { TILE_SCALE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TILE_ALPHA") ) { TILE_ALPHA=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TILE_SMOOTH") ) { TILE_SMOOTH=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"TILE_ROTATION") ) { TILE_ROTATION=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_clear") ) { nme_gfx_clear=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TILE_TRANS_2x2") ) { TILE_TRANS_2x2=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TILE_BLEND_ADD") ) { TILE_BLEND_ADD=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_arc_to") ) { nme_gfx_arc_to=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_gfx_move_to") ) { nme_gfx_move_to=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_line_to") ) { nme_gfx_line_to=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_gfx_end_fill") ) { nme_gfx_end_fill=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_curve_to") ) { nme_gfx_curve_to=inValue.Cast< Dynamic >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"TILE_BLEND_NORMAL") ) { TILE_BLEND_NORMAL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_data") ) { nme_gfx_draw_data=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_rect") ) { nme_gfx_draw_rect=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_path") ) { nme_gfx_draw_path=inValue.Cast< Dynamic >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_fill") ) { nme_gfx_begin_fill=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_line_style") ) { nme_gfx_line_style=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_datum") ) { nme_gfx_draw_datum=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_tiles") ) { nme_gfx_draw_tiles=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_points") ) { nme_gfx_draw_points=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_ellipse") ) { nme_gfx_draw_ellipse=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_triangles") ) { nme_gfx_draw_triangles=inValue.Cast< Dynamic >(); return inValue; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_round_rect") ) { nme_gfx_draw_round_rect=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_gfx_line_bitmap_fill") ) { nme_gfx_line_bitmap_fill=inValue.Cast< Dynamic >(); return inValue; } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_bitmap_fill") ) { nme_gfx_begin_bitmap_fill=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_gfx_line_gradient_fill") ) { nme_gfx_line_gradient_fill=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_gradient_fill") ) { nme_gfx_begin_gradient_fill=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Graphics_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeHandle")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("TILE_SCALE"), - HX_CSTRING("TILE_ROTATION"), - HX_CSTRING("TILE_RGB"), - HX_CSTRING("TILE_ALPHA"), - HX_CSTRING("TILE_TRANS_2x2"), - HX_CSTRING("TILE_SMOOTH"), - HX_CSTRING("TILE_BLEND_NORMAL"), - HX_CSTRING("TILE_BLEND_ADD"), - HX_CSTRING("RGBA"), - HX_CSTRING("nme_gfx_clear"), - HX_CSTRING("nme_gfx_begin_fill"), - HX_CSTRING("nme_gfx_begin_bitmap_fill"), - HX_CSTRING("nme_gfx_line_bitmap_fill"), - HX_CSTRING("nme_gfx_begin_gradient_fill"), - HX_CSTRING("nme_gfx_line_gradient_fill"), - HX_CSTRING("nme_gfx_end_fill"), - HX_CSTRING("nme_gfx_line_style"), - HX_CSTRING("nme_gfx_move_to"), - HX_CSTRING("nme_gfx_line_to"), - HX_CSTRING("nme_gfx_curve_to"), - HX_CSTRING("nme_gfx_arc_to"), - HX_CSTRING("nme_gfx_draw_ellipse"), - HX_CSTRING("nme_gfx_draw_data"), - HX_CSTRING("nme_gfx_draw_datum"), - HX_CSTRING("nme_gfx_draw_rect"), - HX_CSTRING("nme_gfx_draw_path"), - HX_CSTRING("nme_gfx_draw_tiles"), - HX_CSTRING("nme_gfx_draw_points"), - HX_CSTRING("nme_gfx_draw_round_rect"), - HX_CSTRING("nme_gfx_draw_triangles"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("moveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("lineStyle"), - HX_CSTRING("lineGradientStyle"), - HX_CSTRING("lineBitmapStyle"), - HX_CSTRING("endFill"), - HX_CSTRING("drawTriangles"), - HX_CSTRING("drawTiles"), - HX_CSTRING("drawPath"), - HX_CSTRING("drawRoundRect"), - HX_CSTRING("drawRect"), - HX_CSTRING("drawPoints"), - HX_CSTRING("drawGraphicsDatum"), - HX_CSTRING("drawGraphicsData"), - HX_CSTRING("drawEllipse"), - HX_CSTRING("drawCircle"), - HX_CSTRING("curveTo"), - HX_CSTRING("clear"), - HX_CSTRING("beginGradientFill"), - HX_CSTRING("beginFill"), - HX_CSTRING("beginBitmapFill"), - HX_CSTRING("arcTo"), - HX_CSTRING("nmeHandle"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Graphics_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_SCALE,"TILE_SCALE"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_ROTATION,"TILE_ROTATION"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_RGB,"TILE_RGB"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_ALPHA,"TILE_ALPHA"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_TRANS_2x2,"TILE_TRANS_2x2"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_SMOOTH,"TILE_SMOOTH"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_BLEND_NORMAL,"TILE_BLEND_NORMAL"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_BLEND_ADD,"TILE_BLEND_ADD"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_clear,"nme_gfx_clear"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_begin_fill,"nme_gfx_begin_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_begin_bitmap_fill,"nme_gfx_begin_bitmap_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_line_bitmap_fill,"nme_gfx_line_bitmap_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_begin_gradient_fill,"nme_gfx_begin_gradient_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_line_gradient_fill,"nme_gfx_line_gradient_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_end_fill,"nme_gfx_end_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_line_style,"nme_gfx_line_style"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_move_to,"nme_gfx_move_to"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_line_to,"nme_gfx_line_to"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_curve_to,"nme_gfx_curve_to"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_arc_to,"nme_gfx_arc_to"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_ellipse,"nme_gfx_draw_ellipse"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_data,"nme_gfx_draw_data"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_datum,"nme_gfx_draw_datum"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_rect,"nme_gfx_draw_rect"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_path,"nme_gfx_draw_path"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_tiles,"nme_gfx_draw_tiles"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_points,"nme_gfx_draw_points"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_round_rect,"nme_gfx_draw_round_rect"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_triangles,"nme_gfx_draw_triangles"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Graphics_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_SCALE,"TILE_SCALE"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_ROTATION,"TILE_ROTATION"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_RGB,"TILE_RGB"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_ALPHA,"TILE_ALPHA"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_TRANS_2x2,"TILE_TRANS_2x2"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_SMOOTH,"TILE_SMOOTH"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_BLEND_NORMAL,"TILE_BLEND_NORMAL"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_BLEND_ADD,"TILE_BLEND_ADD"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_clear,"nme_gfx_clear"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_begin_fill,"nme_gfx_begin_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_begin_bitmap_fill,"nme_gfx_begin_bitmap_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_line_bitmap_fill,"nme_gfx_line_bitmap_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_begin_gradient_fill,"nme_gfx_begin_gradient_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_line_gradient_fill,"nme_gfx_line_gradient_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_end_fill,"nme_gfx_end_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_line_style,"nme_gfx_line_style"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_move_to,"nme_gfx_move_to"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_line_to,"nme_gfx_line_to"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_curve_to,"nme_gfx_curve_to"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_arc_to,"nme_gfx_arc_to"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_ellipse,"nme_gfx_draw_ellipse"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_data,"nme_gfx_draw_data"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_datum,"nme_gfx_draw_datum"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_rect,"nme_gfx_draw_rect"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_path,"nme_gfx_draw_path"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_tiles,"nme_gfx_draw_tiles"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_points,"nme_gfx_draw_points"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_round_rect,"nme_gfx_draw_round_rect"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_triangles,"nme_gfx_draw_triangles"); -}; - -Class Graphics_obj::__mClass; - -void Graphics_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.Graphics"), hx::TCanCast< Graphics_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Graphics_obj::__boot() -{ - TILE_SCALE= (int)1; - TILE_ROTATION= (int)2; - TILE_RGB= (int)4; - TILE_ALPHA= (int)8; - TILE_TRANS_2x2= (int)16; - TILE_SMOOTH= (int)4096; - TILE_BLEND_NORMAL= (int)0; - TILE_BLEND_ADD= (int)65536; - nme_gfx_clear= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_clear"),(int)1); - nme_gfx_begin_fill= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_begin_fill"),(int)3); - nme_gfx_begin_bitmap_fill= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_begin_bitmap_fill"),(int)5); - nme_gfx_line_bitmap_fill= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_line_bitmap_fill"),(int)5); - nme_gfx_begin_gradient_fill= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_begin_gradient_fill"),(int)-1); - nme_gfx_line_gradient_fill= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_line_gradient_fill"),(int)-1); - nme_gfx_end_fill= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_end_fill"),(int)1); - nme_gfx_line_style= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_line_style"),(int)-1); - nme_gfx_move_to= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_move_to"),(int)3); - nme_gfx_line_to= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_line_to"),(int)3); - nme_gfx_curve_to= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_curve_to"),(int)5); - nme_gfx_arc_to= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_arc_to"),(int)5); - nme_gfx_draw_ellipse= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_draw_ellipse"),(int)5); - nme_gfx_draw_data= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_draw_data"),(int)2); - nme_gfx_draw_datum= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_draw_datum"),(int)2); - nme_gfx_draw_rect= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_draw_rect"),(int)5); - nme_gfx_draw_path= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_draw_path"),(int)4); - nme_gfx_draw_tiles= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_draw_tiles"),(int)4); - nme_gfx_draw_points= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_draw_points"),(int)-1); - nme_gfx_draw_round_rect= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_draw_round_rect"),(int)-1); - nme_gfx_draw_triangles= ::native::Loader_obj::load(HX_CSTRING("nme_gfx_draw_triangles"),(int)-1); -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/GraphicsPathWinding.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/GraphicsPathWinding.cpp deleted file mode 100644 index 79554ef..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/GraphicsPathWinding.cpp +++ /dev/null @@ -1,107 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_GraphicsPathWinding -#include -#endif -namespace native{ -namespace display{ - -Void GraphicsPathWinding_obj::__construct() -{ - return null(); -} - -GraphicsPathWinding_obj::~GraphicsPathWinding_obj() { } - -Dynamic GraphicsPathWinding_obj::__CreateEmpty() { return new GraphicsPathWinding_obj; } -hx::ObjectPtr< GraphicsPathWinding_obj > GraphicsPathWinding_obj::__new() -{ hx::ObjectPtr< GraphicsPathWinding_obj > result = new GraphicsPathWinding_obj(); - result->__construct(); - return result;} - -Dynamic GraphicsPathWinding_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GraphicsPathWinding_obj > result = new GraphicsPathWinding_obj(); - result->__construct(); - return result;} - -::String GraphicsPathWinding_obj::EVEN_ODD; - -::String GraphicsPathWinding_obj::NON_ZERO; - - -GraphicsPathWinding_obj::GraphicsPathWinding_obj() -{ -} - -void GraphicsPathWinding_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GraphicsPathWinding); - HX_MARK_END_CLASS(); -} - -void GraphicsPathWinding_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic GraphicsPathWinding_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"EVEN_ODD") ) { return EVEN_ODD; } - if (HX_FIELD_EQ(inName,"NON_ZERO") ) { return NON_ZERO; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GraphicsPathWinding_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"EVEN_ODD") ) { EVEN_ODD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"NON_ZERO") ) { NON_ZERO=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void GraphicsPathWinding_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("EVEN_ODD"), - HX_CSTRING("NON_ZERO"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GraphicsPathWinding_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(GraphicsPathWinding_obj::EVEN_ODD,"EVEN_ODD"); - HX_MARK_MEMBER_NAME(GraphicsPathWinding_obj::NON_ZERO,"NON_ZERO"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GraphicsPathWinding_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(GraphicsPathWinding_obj::EVEN_ODD,"EVEN_ODD"); - HX_VISIT_MEMBER_NAME(GraphicsPathWinding_obj::NON_ZERO,"NON_ZERO"); -}; - -Class GraphicsPathWinding_obj::__mClass; - -void GraphicsPathWinding_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.GraphicsPathWinding"), hx::TCanCast< GraphicsPathWinding_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GraphicsPathWinding_obj::__boot() -{ - EVEN_ODD= HX_CSTRING("evenOdd"); - NON_ZERO= HX_CSTRING("nonZero"); -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/IBitmapDrawable.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/IBitmapDrawable.cpp deleted file mode 100644 index 5b675a8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/IBitmapDrawable.cpp +++ /dev/null @@ -1,43 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -#ifndef INCLUDED_native_geom_Rectangle -#include -#endif -namespace native{ -namespace display{ - -HX_DEFINE_DYNAMIC_FUNC6(IBitmapDrawable_obj,nmeDrawToSurface,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IBitmapDrawable_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IBitmapDrawable_obj::__mClass,"__mClass"); -}; - -Class IBitmapDrawable_obj::__mClass; - -void IBitmapDrawable_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.IBitmapDrawable"), hx::TCanCast< IBitmapDrawable_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IBitmapDrawable_obj::__boot() -{ -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/IGraphicsData.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/IGraphicsData.cpp deleted file mode 100644 index 041d60b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/IGraphicsData.cpp +++ /dev/null @@ -1,103 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_IGraphicsData -#include -#endif -namespace native{ -namespace display{ - -Void IGraphicsData_obj::__construct(Dynamic inHandle) -{ -HX_STACK_PUSH("IGraphicsData::new","native/display/IGraphicsData.hx",10); -{ - HX_STACK_LINE(10) - this->nmeHandle = inHandle; -} -; - return null(); -} - -IGraphicsData_obj::~IGraphicsData_obj() { } - -Dynamic IGraphicsData_obj::__CreateEmpty() { return new IGraphicsData_obj; } -hx::ObjectPtr< IGraphicsData_obj > IGraphicsData_obj::__new(Dynamic inHandle) -{ hx::ObjectPtr< IGraphicsData_obj > result = new IGraphicsData_obj(); - result->__construct(inHandle); - return result;} - -Dynamic IGraphicsData_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< IGraphicsData_obj > result = new IGraphicsData_obj(); - result->__construct(inArgs[0]); - return result;} - - -IGraphicsData_obj::IGraphicsData_obj() -{ -} - -void IGraphicsData_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(IGraphicsData); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_END_CLASS(); -} - -void IGraphicsData_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); -} - -Dynamic IGraphicsData_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic IGraphicsData_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void IGraphicsData_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeHandle")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeHandle"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IGraphicsData_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IGraphicsData_obj::__mClass,"__mClass"); -}; - -Class IGraphicsData_obj::__mClass; - -void IGraphicsData_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.IGraphicsData"), hx::TCanCast< IGraphicsData_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IGraphicsData_obj::__boot() -{ -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/InteractiveObject.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/InteractiveObject.cpp deleted file mode 100644 index 912535f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/InteractiveObject.cpp +++ /dev/null @@ -1,341 +0,0 @@ -#include - -#ifndef INCLUDED_native_Loader -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -namespace native{ -namespace display{ - -Void InteractiveObject_obj::__construct(Dynamic inHandle,::String inType) -{ -HX_STACK_PUSH("InteractiveObject::new","native/display/InteractiveObject.hx",18); -{ - HX_STACK_LINE(20) - this->doubleClickEnabled = false; - HX_STACK_LINE(21) - this->nmeMouseEnabled = true; - HX_STACK_LINE(23) - super::__construct(inHandle,inType); -} -; - return null(); -} - -InteractiveObject_obj::~InteractiveObject_obj() { } - -Dynamic InteractiveObject_obj::__CreateEmpty() { return new InteractiveObject_obj; } -hx::ObjectPtr< InteractiveObject_obj > InteractiveObject_obj::__new(Dynamic inHandle,::String inType) -{ hx::ObjectPtr< InteractiveObject_obj > result = new InteractiveObject_obj(); - result->__construct(inHandle,inType); - return result;} - -Dynamic InteractiveObject_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< InteractiveObject_obj > result = new InteractiveObject_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -bool InteractiveObject_obj::get_needsSoftKeyboard( ){ - HX_STACK_PUSH("InteractiveObject::get_needsSoftKeyboard","native/display/InteractiveObject.hx",82); - HX_STACK_THIS(this); - HX_STACK_LINE(82) - return ::native::display::InteractiveObject_obj::nme_display_object_get_needs_soft_keyboard(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(InteractiveObject_obj,get_needsSoftKeyboard,return ) - -bool InteractiveObject_obj::set_needsSoftKeyboard( bool inVal){ - HX_STACK_PUSH("InteractiveObject::set_needsSoftKeyboard","native/display/InteractiveObject.hx",74); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(76) - ::native::display::InteractiveObject_obj::nme_display_object_set_needs_soft_keyboard(this->nmeHandle,inVal); - HX_STACK_LINE(77) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(InteractiveObject_obj,set_needsSoftKeyboard,return ) - -bool InteractiveObject_obj::get_moveForSoftKeyboard( ){ - HX_STACK_PUSH("InteractiveObject::get_moveForSoftKeyboard","native/display/InteractiveObject.hx",67); - HX_STACK_THIS(this); - HX_STACK_LINE(67) - return ::native::display::InteractiveObject_obj::nme_display_object_get_moves_for_soft_keyboard(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(InteractiveObject_obj,get_moveForSoftKeyboard,return ) - -bool InteractiveObject_obj::set_moveForSoftKeyboard( bool inVal){ - HX_STACK_PUSH("InteractiveObject::set_moveForSoftKeyboard","native/display/InteractiveObject.hx",59); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(61) - ::native::display::InteractiveObject_obj::nme_display_object_set_moves_for_soft_keyboard(this->nmeHandle,inVal); - HX_STACK_LINE(62) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(InteractiveObject_obj,set_moveForSoftKeyboard,return ) - -bool InteractiveObject_obj::set_mouseEnabled( bool inVal){ - HX_STACK_PUSH("InteractiveObject::set_mouseEnabled","native/display/InteractiveObject.hx",50); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(52) - this->nmeMouseEnabled = inVal; - HX_STACK_LINE(53) - ::native::display::InteractiveObject_obj::nme_display_object_set_mouse_enabled(this->nmeHandle,inVal); - HX_STACK_LINE(54) - return this->nmeMouseEnabled; -} - - -HX_DEFINE_DYNAMIC_FUNC1(InteractiveObject_obj,set_mouseEnabled,return ) - -bool InteractiveObject_obj::get_mouseEnabled( ){ - HX_STACK_PUSH("InteractiveObject::get_mouseEnabled","native/display/InteractiveObject.hx",49); - HX_STACK_THIS(this); - HX_STACK_LINE(49) - return this->nmeMouseEnabled; -} - - -HX_DEFINE_DYNAMIC_FUNC0(InteractiveObject_obj,get_mouseEnabled,return ) - -bool InteractiveObject_obj::requestSoftKeyboard( ){ - HX_STACK_PUSH("InteractiveObject::requestSoftKeyboard","native/display/InteractiveObject.hx",35); - HX_STACK_THIS(this); - HX_STACK_LINE(35) - return ::native::display::InteractiveObject_obj::nme_display_object_request_soft_keyboard(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(InteractiveObject_obj,requestSoftKeyboard,return ) - -::native::display::InteractiveObject InteractiveObject_obj::nmeAsInteractiveObject( ){ - HX_STACK_PUSH("InteractiveObject::nmeAsInteractiveObject","native/display/InteractiveObject.hx",28); - HX_STACK_THIS(this); - HX_STACK_LINE(28) - return hx::ObjectPtr(this); -} - - -Dynamic InteractiveObject_obj::nme_display_object_set_mouse_enabled; - -Dynamic InteractiveObject_obj::nme_display_object_set_needs_soft_keyboard; - -Dynamic InteractiveObject_obj::nme_display_object_get_needs_soft_keyboard; - -Dynamic InteractiveObject_obj::nme_display_object_set_moves_for_soft_keyboard; - -Dynamic InteractiveObject_obj::nme_display_object_get_moves_for_soft_keyboard; - -Dynamic InteractiveObject_obj::nme_display_object_request_soft_keyboard; - - -InteractiveObject_obj::InteractiveObject_obj() -{ -} - -void InteractiveObject_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(InteractiveObject); - HX_MARK_MEMBER_NAME(nmeMouseEnabled,"nmeMouseEnabled"); - HX_MARK_MEMBER_NAME(needsSoftKeyboard,"needsSoftKeyboard"); - HX_MARK_MEMBER_NAME(moveForSoftKeyboard,"moveForSoftKeyboard"); - HX_MARK_MEMBER_NAME(mouseEnabled,"mouseEnabled"); - HX_MARK_MEMBER_NAME(doubleClickEnabled,"doubleClickEnabled"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void InteractiveObject_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeMouseEnabled,"nmeMouseEnabled"); - HX_VISIT_MEMBER_NAME(needsSoftKeyboard,"needsSoftKeyboard"); - HX_VISIT_MEMBER_NAME(moveForSoftKeyboard,"moveForSoftKeyboard"); - HX_VISIT_MEMBER_NAME(mouseEnabled,"mouseEnabled"); - HX_VISIT_MEMBER_NAME(doubleClickEnabled,"doubleClickEnabled"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic InteractiveObject_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 12: - if (HX_FIELD_EQ(inName,"mouseEnabled") ) { return inCallProp ? get_mouseEnabled() : mouseEnabled; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeMouseEnabled") ) { return nmeMouseEnabled; } - break; - case 16: - if (HX_FIELD_EQ(inName,"set_mouseEnabled") ) { return set_mouseEnabled_dyn(); } - if (HX_FIELD_EQ(inName,"get_mouseEnabled") ) { return get_mouseEnabled_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"needsSoftKeyboard") ) { return inCallProp ? get_needsSoftKeyboard() : needsSoftKeyboard; } - break; - case 18: - if (HX_FIELD_EQ(inName,"doubleClickEnabled") ) { return doubleClickEnabled; } - break; - case 19: - if (HX_FIELD_EQ(inName,"requestSoftKeyboard") ) { return requestSoftKeyboard_dyn(); } - if (HX_FIELD_EQ(inName,"moveForSoftKeyboard") ) { return inCallProp ? get_moveForSoftKeyboard() : moveForSoftKeyboard; } - break; - case 21: - if (HX_FIELD_EQ(inName,"get_needsSoftKeyboard") ) { return get_needsSoftKeyboard_dyn(); } - if (HX_FIELD_EQ(inName,"set_needsSoftKeyboard") ) { return set_needsSoftKeyboard_dyn(); } - break; - case 22: - if (HX_FIELD_EQ(inName,"nmeAsInteractiveObject") ) { return nmeAsInteractiveObject_dyn(); } - break; - case 23: - if (HX_FIELD_EQ(inName,"get_moveForSoftKeyboard") ) { return get_moveForSoftKeyboard_dyn(); } - if (HX_FIELD_EQ(inName,"set_moveForSoftKeyboard") ) { return set_moveForSoftKeyboard_dyn(); } - break; - case 36: - if (HX_FIELD_EQ(inName,"nme_display_object_set_mouse_enabled") ) { return nme_display_object_set_mouse_enabled; } - break; - case 40: - if (HX_FIELD_EQ(inName,"nme_display_object_request_soft_keyboard") ) { return nme_display_object_request_soft_keyboard; } - break; - case 42: - if (HX_FIELD_EQ(inName,"nme_display_object_set_needs_soft_keyboard") ) { return nme_display_object_set_needs_soft_keyboard; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_needs_soft_keyboard") ) { return nme_display_object_get_needs_soft_keyboard; } - break; - case 46: - if (HX_FIELD_EQ(inName,"nme_display_object_set_moves_for_soft_keyboard") ) { return nme_display_object_set_moves_for_soft_keyboard; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_moves_for_soft_keyboard") ) { return nme_display_object_get_moves_for_soft_keyboard; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic InteractiveObject_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 12: - if (HX_FIELD_EQ(inName,"mouseEnabled") ) { if (inCallProp) return set_mouseEnabled(inValue);mouseEnabled=inValue.Cast< bool >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeMouseEnabled") ) { nmeMouseEnabled=inValue.Cast< bool >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"needsSoftKeyboard") ) { if (inCallProp) return set_needsSoftKeyboard(inValue);needsSoftKeyboard=inValue.Cast< bool >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"doubleClickEnabled") ) { doubleClickEnabled=inValue.Cast< bool >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"moveForSoftKeyboard") ) { if (inCallProp) return set_moveForSoftKeyboard(inValue);moveForSoftKeyboard=inValue.Cast< bool >(); return inValue; } - break; - case 36: - if (HX_FIELD_EQ(inName,"nme_display_object_set_mouse_enabled") ) { nme_display_object_set_mouse_enabled=inValue.Cast< Dynamic >(); return inValue; } - break; - case 40: - if (HX_FIELD_EQ(inName,"nme_display_object_request_soft_keyboard") ) { nme_display_object_request_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - break; - case 42: - if (HX_FIELD_EQ(inName,"nme_display_object_set_needs_soft_keyboard") ) { nme_display_object_set_needs_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_needs_soft_keyboard") ) { nme_display_object_get_needs_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - break; - case 46: - if (HX_FIELD_EQ(inName,"nme_display_object_set_moves_for_soft_keyboard") ) { nme_display_object_set_moves_for_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_moves_for_soft_keyboard") ) { nme_display_object_get_moves_for_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void InteractiveObject_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeMouseEnabled")); - outFields->push(HX_CSTRING("needsSoftKeyboard")); - outFields->push(HX_CSTRING("moveForSoftKeyboard")); - outFields->push(HX_CSTRING("mouseEnabled")); - outFields->push(HX_CSTRING("doubleClickEnabled")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_display_object_set_mouse_enabled"), - HX_CSTRING("nme_display_object_set_needs_soft_keyboard"), - HX_CSTRING("nme_display_object_get_needs_soft_keyboard"), - HX_CSTRING("nme_display_object_set_moves_for_soft_keyboard"), - HX_CSTRING("nme_display_object_get_moves_for_soft_keyboard"), - HX_CSTRING("nme_display_object_request_soft_keyboard"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("get_needsSoftKeyboard"), - HX_CSTRING("set_needsSoftKeyboard"), - HX_CSTRING("get_moveForSoftKeyboard"), - HX_CSTRING("set_moveForSoftKeyboard"), - HX_CSTRING("set_mouseEnabled"), - HX_CSTRING("get_mouseEnabled"), - HX_CSTRING("requestSoftKeyboard"), - HX_CSTRING("nmeAsInteractiveObject"), - HX_CSTRING("nmeMouseEnabled"), - HX_CSTRING("needsSoftKeyboard"), - HX_CSTRING("moveForSoftKeyboard"), - HX_CSTRING("mouseEnabled"), - HX_CSTRING("doubleClickEnabled"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(InteractiveObject_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_mouse_enabled,"nme_display_object_set_mouse_enabled"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_needs_soft_keyboard,"nme_display_object_set_needs_soft_keyboard"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_get_needs_soft_keyboard,"nme_display_object_get_needs_soft_keyboard"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_moves_for_soft_keyboard,"nme_display_object_set_moves_for_soft_keyboard"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_get_moves_for_soft_keyboard,"nme_display_object_get_moves_for_soft_keyboard"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_request_soft_keyboard,"nme_display_object_request_soft_keyboard"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_mouse_enabled,"nme_display_object_set_mouse_enabled"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_needs_soft_keyboard,"nme_display_object_set_needs_soft_keyboard"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_get_needs_soft_keyboard,"nme_display_object_get_needs_soft_keyboard"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_moves_for_soft_keyboard,"nme_display_object_set_moves_for_soft_keyboard"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_get_moves_for_soft_keyboard,"nme_display_object_get_moves_for_soft_keyboard"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_request_soft_keyboard,"nme_display_object_request_soft_keyboard"); -}; - -Class InteractiveObject_obj::__mClass; - -void InteractiveObject_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.InteractiveObject"), hx::TCanCast< InteractiveObject_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void InteractiveObject_obj::__boot() -{ - nme_display_object_set_mouse_enabled= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_mouse_enabled"),(int)2); - nme_display_object_set_needs_soft_keyboard= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_needs_soft_keyboard"),(int)2); - nme_display_object_get_needs_soft_keyboard= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_needs_soft_keyboard"),(int)1); - nme_display_object_set_moves_for_soft_keyboard= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_set_moves_for_soft_keyboard"),(int)2); - nme_display_object_get_moves_for_soft_keyboard= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_get_moves_for_soft_keyboard"),(int)1); - nme_display_object_request_soft_keyboard= ::native::Loader_obj::load(HX_CSTRING("nme_display_object_request_soft_keyboard"),(int)1); -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/InterpolationMethod.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/InterpolationMethod.cpp deleted file mode 100644 index 3eae875..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/InterpolationMethod.cpp +++ /dev/null @@ -1,73 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_InterpolationMethod -#include -#endif -namespace native{ -namespace display{ - -::native::display::InterpolationMethod InterpolationMethod_obj::LINEAR_RGB; - -::native::display::InterpolationMethod InterpolationMethod_obj::RGB; - -HX_DEFINE_CREATE_ENUM(InterpolationMethod_obj) - -int InterpolationMethod_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("LINEAR_RGB")) return 1; - if (inName==HX_CSTRING("RGB")) return 0; - return super::__FindIndex(inName); -} - -int InterpolationMethod_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("LINEAR_RGB")) return 0; - if (inName==HX_CSTRING("RGB")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic InterpolationMethod_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("LINEAR_RGB")) return LINEAR_RGB; - if (inName==HX_CSTRING("RGB")) return RGB; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("RGB"), - HX_CSTRING("LINEAR_RGB"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(InterpolationMethod_obj::LINEAR_RGB,"LINEAR_RGB"); - HX_MARK_MEMBER_NAME(InterpolationMethod_obj::RGB,"RGB"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(InterpolationMethod_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(InterpolationMethod_obj::LINEAR_RGB,"LINEAR_RGB"); - HX_VISIT_MEMBER_NAME(InterpolationMethod_obj::RGB,"RGB"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class InterpolationMethod_obj::__mClass; - -Dynamic __Create_InterpolationMethod_obj() { return new InterpolationMethod_obj; } - -void InterpolationMethod_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.InterpolationMethod"), hx::TCanCast< InterpolationMethod_obj >,sStaticFields,sMemberFields, - &__Create_InterpolationMethod_obj, &__Create, - &super::__SGetClass(), &CreateInterpolationMethod_obj, sMarkStatics, sVisitStatic); -} - -void InterpolationMethod_obj::__boot() -{ -Static(LINEAR_RGB) = hx::CreateEnum< InterpolationMethod_obj >(HX_CSTRING("LINEAR_RGB"),1); -Static(RGB) = hx::CreateEnum< InterpolationMethod_obj >(HX_CSTRING("RGB"),0); -} - - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/JointStyle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/JointStyle.cpp deleted file mode 100644 index c7038ef..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/JointStyle.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_JointStyle -#include -#endif -namespace native{ -namespace display{ - -::native::display::JointStyle JointStyle_obj::BEVEL; - -::native::display::JointStyle JointStyle_obj::MITER; - -::native::display::JointStyle JointStyle_obj::ROUND; - -HX_DEFINE_CREATE_ENUM(JointStyle_obj) - -int JointStyle_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BEVEL")) return 2; - if (inName==HX_CSTRING("MITER")) return 1; - if (inName==HX_CSTRING("ROUND")) return 0; - return super::__FindIndex(inName); -} - -int JointStyle_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BEVEL")) return 0; - if (inName==HX_CSTRING("MITER")) return 0; - if (inName==HX_CSTRING("ROUND")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic JointStyle_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BEVEL")) return BEVEL; - if (inName==HX_CSTRING("MITER")) return MITER; - if (inName==HX_CSTRING("ROUND")) return ROUND; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("ROUND"), - HX_CSTRING("MITER"), - HX_CSTRING("BEVEL"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(JointStyle_obj::BEVEL,"BEVEL"); - HX_MARK_MEMBER_NAME(JointStyle_obj::MITER,"MITER"); - HX_MARK_MEMBER_NAME(JointStyle_obj::ROUND,"ROUND"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(JointStyle_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(JointStyle_obj::BEVEL,"BEVEL"); - HX_VISIT_MEMBER_NAME(JointStyle_obj::MITER,"MITER"); - HX_VISIT_MEMBER_NAME(JointStyle_obj::ROUND,"ROUND"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class JointStyle_obj::__mClass; - -Dynamic __Create_JointStyle_obj() { return new JointStyle_obj; } - -void JointStyle_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.JointStyle"), hx::TCanCast< JointStyle_obj >,sStaticFields,sMemberFields, - &__Create_JointStyle_obj, &__Create, - &super::__SGetClass(), &CreateJointStyle_obj, sMarkStatics, sVisitStatic); -} - -void JointStyle_obj::__boot() -{ -Static(BEVEL) = hx::CreateEnum< JointStyle_obj >(HX_CSTRING("BEVEL"),2); -Static(MITER) = hx::CreateEnum< JointStyle_obj >(HX_CSTRING("MITER"),1); -Static(ROUND) = hx::CreateEnum< JointStyle_obj >(HX_CSTRING("ROUND"),0); -} - - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/LineScaleMode.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/LineScaleMode.cpp deleted file mode 100644 index f1740f1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/LineScaleMode.cpp +++ /dev/null @@ -1,100 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_LineScaleMode -#include -#endif -namespace native{ -namespace display{ - -::native::display::LineScaleMode LineScaleMode_obj::HORIZONTAL; - -::native::display::LineScaleMode LineScaleMode_obj::NONE; - -::native::display::LineScaleMode LineScaleMode_obj::NORMAL; - -::native::display::LineScaleMode LineScaleMode_obj::OPENGL; - -::native::display::LineScaleMode LineScaleMode_obj::VERTICAL; - -HX_DEFINE_CREATE_ENUM(LineScaleMode_obj) - -int LineScaleMode_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("HORIZONTAL")) return 3; - if (inName==HX_CSTRING("NONE")) return 1; - if (inName==HX_CSTRING("NORMAL")) return 0; - if (inName==HX_CSTRING("OPENGL")) return 4; - if (inName==HX_CSTRING("VERTICAL")) return 2; - return super::__FindIndex(inName); -} - -int LineScaleMode_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("HORIZONTAL")) return 0; - if (inName==HX_CSTRING("NONE")) return 0; - if (inName==HX_CSTRING("NORMAL")) return 0; - if (inName==HX_CSTRING("OPENGL")) return 0; - if (inName==HX_CSTRING("VERTICAL")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic LineScaleMode_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("HORIZONTAL")) return HORIZONTAL; - if (inName==HX_CSTRING("NONE")) return NONE; - if (inName==HX_CSTRING("NORMAL")) return NORMAL; - if (inName==HX_CSTRING("OPENGL")) return OPENGL; - if (inName==HX_CSTRING("VERTICAL")) return VERTICAL; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NORMAL"), - HX_CSTRING("NONE"), - HX_CSTRING("VERTICAL"), - HX_CSTRING("HORIZONTAL"), - HX_CSTRING("OPENGL"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(LineScaleMode_obj::HORIZONTAL,"HORIZONTAL"); - HX_MARK_MEMBER_NAME(LineScaleMode_obj::NONE,"NONE"); - HX_MARK_MEMBER_NAME(LineScaleMode_obj::NORMAL,"NORMAL"); - HX_MARK_MEMBER_NAME(LineScaleMode_obj::OPENGL,"OPENGL"); - HX_MARK_MEMBER_NAME(LineScaleMode_obj::VERTICAL,"VERTICAL"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::HORIZONTAL,"HORIZONTAL"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::NONE,"NONE"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::NORMAL,"NORMAL"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::OPENGL,"OPENGL"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::VERTICAL,"VERTICAL"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class LineScaleMode_obj::__mClass; - -Dynamic __Create_LineScaleMode_obj() { return new LineScaleMode_obj; } - -void LineScaleMode_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.LineScaleMode"), hx::TCanCast< LineScaleMode_obj >,sStaticFields,sMemberFields, - &__Create_LineScaleMode_obj, &__Create, - &super::__SGetClass(), &CreateLineScaleMode_obj, sMarkStatics, sVisitStatic); -} - -void LineScaleMode_obj::__boot() -{ -Static(HORIZONTAL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("HORIZONTAL"),3); -Static(NONE) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("NONE"),1); -Static(NORMAL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("NORMAL"),0); -Static(OPENGL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("OPENGL"),4); -Static(VERTICAL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("VERTICAL"),2); -} - - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/ManagedStage.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/ManagedStage.cpp deleted file mode 100644 index 5b69fa8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/ManagedStage.cpp +++ /dev/null @@ -1,581 +0,0 @@ -#include - -#ifndef INCLUDED_native_Loader -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_ManagedStage -#include -#endif -#ifndef INCLUDED_native_display_Stage -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -namespace native{ -namespace display{ - -Void ManagedStage_obj::__construct(int inWidth,int inHeight,hx::Null< int > __o_inFlags) -{ -HX_STACK_PUSH("ManagedStage::new","native/display/ManagedStage.hx",41); -int inFlags = __o_inFlags.Default(0); -{ - HX_STACK_LINE(41) - super::__construct(::native::display::ManagedStage_obj::nme_managed_stage_create(inWidth,inHeight,inFlags),inWidth,inHeight); -} -; - return null(); -} - -ManagedStage_obj::~ManagedStage_obj() { } - -Dynamic ManagedStage_obj::__CreateEmpty() { return new ManagedStage_obj; } -hx::ObjectPtr< ManagedStage_obj > ManagedStage_obj::__new(int inWidth,int inHeight,hx::Null< int > __o_inFlags) -{ hx::ObjectPtr< ManagedStage_obj > result = new ManagedStage_obj(); - result->__construct(inWidth,inHeight,__o_inFlags); - return result;} - -Dynamic ManagedStage_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ManagedStage_obj > result = new ManagedStage_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -HX_BEGIN_DEFAULT_FUNC(__default_setNextWake,ManagedStage_obj) -Void run(Float inDelay){ -{ - HX_STACK_PUSH("ManagedStage::setNextWake","native/display/ManagedStage.hx",104); - HX_STACK_THIS(this); - HX_STACK_ARG(inDelay,"inDelay"); - } -return null(); -} -HX_END_LOCAL_FUNC1((void)) -HX_END_DEFAULT_FUNC - -Void ManagedStage_obj::sendQuit( ){ -{ - HX_STACK_PUSH("ManagedStage::sendQuit","native/display/ManagedStage.hx",97); - HX_STACK_THIS(this); - struct _Function_1_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","native/display/ManagedStage.hx",99); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("type") , (int)10,false); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(97) - this->pumpEvent(_Function_1_1::Block()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ManagedStage_obj,sendQuit,(void)) - -Void ManagedStage_obj::resize( int inWidth,int inHeight){ -{ - HX_STACK_PUSH("ManagedStage::resize","native/display/ManagedStage.hx",90); - HX_STACK_THIS(this); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - struct _Function_1_1{ - inline static Dynamic Block( int &inWidth,int &inHeight){ - HX_STACK_PUSH("*::closure","native/display/ManagedStage.hx",92); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("type") , (int)8,false); - __result->Add(HX_CSTRING("x") , inWidth,false); - __result->Add(HX_CSTRING("y") , inHeight,false); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(90) - this->pumpEvent(_Function_1_1::Block(inWidth,inHeight)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ManagedStage_obj,resize,(void)) - -Void ManagedStage_obj::pumpEvent( Dynamic inEvent){ -{ - HX_STACK_PUSH("ManagedStage::pumpEvent","native/display/ManagedStage.hx",83); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(83) - ::native::display::ManagedStage_obj::nme_managed_stage_pump_event(this->nmeHandle,inEvent); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ManagedStage_obj,pumpEvent,(void)) - -Void ManagedStage_obj::nmeRender( bool inSendEnterFrame){ -{ - HX_STACK_PUSH("ManagedStage::nmeRender","native/display/ManagedStage.hx",74); - HX_STACK_THIS(this); - HX_STACK_ARG(inSendEnterFrame,"inSendEnterFrame"); - HX_STACK_LINE(76) - this->beginRender(); - HX_STACK_LINE(77) - this->super::nmeRender(inSendEnterFrame); - HX_STACK_LINE(78) - this->endRender(); - } -return null(); -} - - -Float ManagedStage_obj::nmeDoProcessStageEvent( Dynamic inEvent){ - HX_STACK_PUSH("ManagedStage::nmeDoProcessStageEvent","native/display/ManagedStage.hx",62); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(64) - this->nmePollTimers(); - HX_STACK_LINE(66) - Float wake = this->super::nmeDoProcessStageEvent(inEvent); HX_STACK_VAR(wake,"wake"); - HX_STACK_LINE(67) - this->setNextWake(wake); - HX_STACK_LINE(69) - return wake; -} - - -HX_BEGIN_DEFAULT_FUNC(__default_endRender,ManagedStage_obj) -Void run(){ -{ - HX_STACK_PUSH("ManagedStage::endRender","native/display/ManagedStage.hx",55); - HX_STACK_THIS(this); - } -return null(); -} -HX_END_LOCAL_FUNC0((void)) -HX_END_DEFAULT_FUNC - -HX_BEGIN_DEFAULT_FUNC(__default_beginRender,ManagedStage_obj) -Void run(){ -{ - HX_STACK_PUSH("ManagedStage::beginRender","native/display/ManagedStage.hx",48); - HX_STACK_THIS(this); - } -return null(); -} -HX_END_LOCAL_FUNC0((void)) -HX_END_DEFAULT_FUNC - -int ManagedStage_obj::etUnknown; - -int ManagedStage_obj::etKeyDown; - -int ManagedStage_obj::etChar; - -int ManagedStage_obj::etKeyUp; - -int ManagedStage_obj::etMouseMove; - -int ManagedStage_obj::etMouseDown; - -int ManagedStage_obj::etMouseClick; - -int ManagedStage_obj::etMouseUp; - -int ManagedStage_obj::etResize; - -int ManagedStage_obj::etPoll; - -int ManagedStage_obj::etQuit; - -int ManagedStage_obj::etFocus; - -int ManagedStage_obj::etShouldRotate; - -int ManagedStage_obj::etDestroyHandler; - -int ManagedStage_obj::etRedraw; - -int ManagedStage_obj::etTouchBegin; - -int ManagedStage_obj::etTouchMove; - -int ManagedStage_obj::etTouchEnd; - -int ManagedStage_obj::etTouchTap; - -int ManagedStage_obj::etChange; - -int ManagedStage_obj::efLeftDown; - -int ManagedStage_obj::efShiftDown; - -int ManagedStage_obj::efCtrlDown; - -int ManagedStage_obj::efAltDown; - -int ManagedStage_obj::efCommandDown; - -int ManagedStage_obj::efMiddleDown; - -int ManagedStage_obj::efRightDown; - -int ManagedStage_obj::efLocationRight; - -int ManagedStage_obj::efPrimaryTouch; - -Dynamic ManagedStage_obj::nme_managed_stage_create; - -Dynamic ManagedStage_obj::nme_managed_stage_pump_event; - - -ManagedStage_obj::ManagedStage_obj() -{ - setNextWake = new __default_setNextWake(this); - endRender = new __default_endRender(this); - beginRender = new __default_beginRender(this); -} - -void ManagedStage_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ManagedStage); - HX_MARK_MEMBER_NAME(setNextWake,"setNextWake"); - HX_MARK_MEMBER_NAME(endRender,"endRender"); - HX_MARK_MEMBER_NAME(beginRender,"beginRender"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ManagedStage_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(setNextWake,"setNextWake"); - HX_VISIT_MEMBER_NAME(endRender,"endRender"); - HX_VISIT_MEMBER_NAME(beginRender,"beginRender"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ManagedStage_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"etChar") ) { return etChar; } - if (HX_FIELD_EQ(inName,"etPoll") ) { return etPoll; } - if (HX_FIELD_EQ(inName,"etQuit") ) { return etQuit; } - if (HX_FIELD_EQ(inName,"resize") ) { return resize_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"etKeyUp") ) { return etKeyUp; } - if (HX_FIELD_EQ(inName,"etFocus") ) { return etFocus; } - break; - case 8: - if (HX_FIELD_EQ(inName,"etResize") ) { return etResize; } - if (HX_FIELD_EQ(inName,"etRedraw") ) { return etRedraw; } - if (HX_FIELD_EQ(inName,"etChange") ) { return etChange; } - if (HX_FIELD_EQ(inName,"sendQuit") ) { return sendQuit_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"etUnknown") ) { return etUnknown; } - if (HX_FIELD_EQ(inName,"etKeyDown") ) { return etKeyDown; } - if (HX_FIELD_EQ(inName,"etMouseUp") ) { return etMouseUp; } - if (HX_FIELD_EQ(inName,"efAltDown") ) { return efAltDown; } - if (HX_FIELD_EQ(inName,"pumpEvent") ) { return pumpEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeRender") ) { return nmeRender_dyn(); } - if (HX_FIELD_EQ(inName,"endRender") ) { return endRender; } - break; - case 10: - if (HX_FIELD_EQ(inName,"etTouchEnd") ) { return etTouchEnd; } - if (HX_FIELD_EQ(inName,"etTouchTap") ) { return etTouchTap; } - if (HX_FIELD_EQ(inName,"efLeftDown") ) { return efLeftDown; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { return efCtrlDown; } - break; - case 11: - if (HX_FIELD_EQ(inName,"etMouseMove") ) { return etMouseMove; } - if (HX_FIELD_EQ(inName,"etMouseDown") ) { return etMouseDown; } - if (HX_FIELD_EQ(inName,"etTouchMove") ) { return etTouchMove; } - if (HX_FIELD_EQ(inName,"efShiftDown") ) { return efShiftDown; } - if (HX_FIELD_EQ(inName,"efRightDown") ) { return efRightDown; } - if (HX_FIELD_EQ(inName,"setNextWake") ) { return setNextWake; } - if (HX_FIELD_EQ(inName,"beginRender") ) { return beginRender; } - break; - case 12: - if (HX_FIELD_EQ(inName,"etMouseClick") ) { return etMouseClick; } - if (HX_FIELD_EQ(inName,"etTouchBegin") ) { return etTouchBegin; } - if (HX_FIELD_EQ(inName,"efMiddleDown") ) { return efMiddleDown; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { return efCommandDown; } - break; - case 14: - if (HX_FIELD_EQ(inName,"etShouldRotate") ) { return etShouldRotate; } - if (HX_FIELD_EQ(inName,"efPrimaryTouch") ) { return efPrimaryTouch; } - break; - case 15: - if (HX_FIELD_EQ(inName,"efLocationRight") ) { return efLocationRight; } - break; - case 16: - if (HX_FIELD_EQ(inName,"etDestroyHandler") ) { return etDestroyHandler; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nmeDoProcessStageEvent") ) { return nmeDoProcessStageEvent_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_managed_stage_create") ) { return nme_managed_stage_create; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_managed_stage_pump_event") ) { return nme_managed_stage_pump_event; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ManagedStage_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"etChar") ) { etChar=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etPoll") ) { etPoll=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etQuit") ) { etQuit=inValue.Cast< int >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"etKeyUp") ) { etKeyUp=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etFocus") ) { etFocus=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"etResize") ) { etResize=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etRedraw") ) { etRedraw=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etChange") ) { etChange=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"etUnknown") ) { etUnknown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etKeyDown") ) { etKeyDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etMouseUp") ) { etMouseUp=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efAltDown") ) { efAltDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"endRender") ) { endRender=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"etTouchEnd") ) { etTouchEnd=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etTouchTap") ) { etTouchTap=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efLeftDown") ) { efLeftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { efCtrlDown=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"etMouseMove") ) { etMouseMove=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etMouseDown") ) { etMouseDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etTouchMove") ) { etTouchMove=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efShiftDown") ) { efShiftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efRightDown") ) { efRightDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"setNextWake") ) { setNextWake=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"beginRender") ) { beginRender=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"etMouseClick") ) { etMouseClick=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etTouchBegin") ) { etTouchBegin=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efMiddleDown") ) { efMiddleDown=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { efCommandDown=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"etShouldRotate") ) { etShouldRotate=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efPrimaryTouch") ) { efPrimaryTouch=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"efLocationRight") ) { efLocationRight=inValue.Cast< int >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"etDestroyHandler") ) { etDestroyHandler=inValue.Cast< int >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_managed_stage_create") ) { nme_managed_stage_create=inValue.Cast< Dynamic >(); return inValue; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_managed_stage_pump_event") ) { nme_managed_stage_pump_event=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ManagedStage_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("etUnknown"), - HX_CSTRING("etKeyDown"), - HX_CSTRING("etChar"), - HX_CSTRING("etKeyUp"), - HX_CSTRING("etMouseMove"), - HX_CSTRING("etMouseDown"), - HX_CSTRING("etMouseClick"), - HX_CSTRING("etMouseUp"), - HX_CSTRING("etResize"), - HX_CSTRING("etPoll"), - HX_CSTRING("etQuit"), - HX_CSTRING("etFocus"), - HX_CSTRING("etShouldRotate"), - HX_CSTRING("etDestroyHandler"), - HX_CSTRING("etRedraw"), - HX_CSTRING("etTouchBegin"), - HX_CSTRING("etTouchMove"), - HX_CSTRING("etTouchEnd"), - HX_CSTRING("etTouchTap"), - HX_CSTRING("etChange"), - HX_CSTRING("efLeftDown"), - HX_CSTRING("efShiftDown"), - HX_CSTRING("efCtrlDown"), - HX_CSTRING("efAltDown"), - HX_CSTRING("efCommandDown"), - HX_CSTRING("efMiddleDown"), - HX_CSTRING("efRightDown"), - HX_CSTRING("efLocationRight"), - HX_CSTRING("efPrimaryTouch"), - HX_CSTRING("nme_managed_stage_create"), - HX_CSTRING("nme_managed_stage_pump_event"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("setNextWake"), - HX_CSTRING("sendQuit"), - HX_CSTRING("resize"), - HX_CSTRING("pumpEvent"), - HX_CSTRING("nmeRender"), - HX_CSTRING("nmeDoProcessStageEvent"), - HX_CSTRING("endRender"), - HX_CSTRING("beginRender"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ManagedStage_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etUnknown,"etUnknown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etKeyDown,"etKeyDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etChar,"etChar"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etKeyUp,"etKeyUp"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etMouseMove,"etMouseMove"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etMouseDown,"etMouseDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etMouseClick,"etMouseClick"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etMouseUp,"etMouseUp"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etResize,"etResize"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etPoll,"etPoll"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etQuit,"etQuit"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etFocus,"etFocus"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etShouldRotate,"etShouldRotate"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etDestroyHandler,"etDestroyHandler"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etRedraw,"etRedraw"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etTouchBegin,"etTouchBegin"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etTouchMove,"etTouchMove"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etTouchEnd,"etTouchEnd"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etTouchTap,"etTouchTap"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etChange,"etChange"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efLeftDown,"efLeftDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efShiftDown,"efShiftDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efCtrlDown,"efCtrlDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efAltDown,"efAltDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efCommandDown,"efCommandDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efMiddleDown,"efMiddleDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efRightDown,"efRightDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efLocationRight,"efLocationRight"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efPrimaryTouch,"efPrimaryTouch"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::nme_managed_stage_create,"nme_managed_stage_create"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::nme_managed_stage_pump_event,"nme_managed_stage_pump_event"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ManagedStage_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etUnknown,"etUnknown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etKeyDown,"etKeyDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etChar,"etChar"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etKeyUp,"etKeyUp"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etMouseMove,"etMouseMove"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etMouseDown,"etMouseDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etMouseClick,"etMouseClick"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etMouseUp,"etMouseUp"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etResize,"etResize"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etPoll,"etPoll"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etQuit,"etQuit"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etFocus,"etFocus"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etShouldRotate,"etShouldRotate"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etDestroyHandler,"etDestroyHandler"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etRedraw,"etRedraw"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etTouchBegin,"etTouchBegin"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etTouchMove,"etTouchMove"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etTouchEnd,"etTouchEnd"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etTouchTap,"etTouchTap"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etChange,"etChange"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efLeftDown,"efLeftDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efShiftDown,"efShiftDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efCtrlDown,"efCtrlDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efAltDown,"efAltDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efCommandDown,"efCommandDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efMiddleDown,"efMiddleDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efRightDown,"efRightDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efLocationRight,"efLocationRight"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efPrimaryTouch,"efPrimaryTouch"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::nme_managed_stage_create,"nme_managed_stage_create"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::nme_managed_stage_pump_event,"nme_managed_stage_pump_event"); -}; - -Class ManagedStage_obj::__mClass; - -void ManagedStage_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.ManagedStage"), hx::TCanCast< ManagedStage_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ManagedStage_obj::__boot() -{ - etUnknown= (int)0; - etKeyDown= (int)1; - etChar= (int)2; - etKeyUp= (int)3; - etMouseMove= (int)4; - etMouseDown= (int)5; - etMouseClick= (int)6; - etMouseUp= (int)7; - etResize= (int)8; - etPoll= (int)9; - etQuit= (int)10; - etFocus= (int)11; - etShouldRotate= (int)12; - etDestroyHandler= (int)13; - etRedraw= (int)14; - etTouchBegin= (int)15; - etTouchMove= (int)16; - etTouchEnd= (int)17; - etTouchTap= (int)18; - etChange= (int)19; - efLeftDown= (int)1; - efShiftDown= (int)2; - efCtrlDown= (int)4; - efAltDown= (int)8; - efCommandDown= (int)16; - efMiddleDown= (int)32; - efRightDown= (int)64; - efLocationRight= (int)16384; - efPrimaryTouch= (int)32768; - nme_managed_stage_create= ::native::Loader_obj::load(HX_CSTRING("nme_managed_stage_create"),(int)3); - nme_managed_stage_pump_event= ::native::Loader_obj::load(HX_CSTRING("nme_managed_stage_pump_event"),(int)2); -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/MovieClip.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/MovieClip.cpp deleted file mode 100644 index d17588a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/MovieClip.cpp +++ /dev/null @@ -1,282 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_MovieClip -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -namespace native{ -namespace display{ - -Void MovieClip_obj::__construct() -{ -HX_STACK_PUSH("MovieClip::new","native/display/MovieClip.hx",16); -{ - HX_STACK_LINE(18) - super::__construct(); - HX_STACK_LINE(20) - this->mCurrentFrame = (int)0; - HX_STACK_LINE(21) - this->mTotalFrames = (int)0; -} -; - return null(); -} - -MovieClip_obj::~MovieClip_obj() { } - -Dynamic MovieClip_obj::__CreateEmpty() { return new MovieClip_obj; } -hx::ObjectPtr< MovieClip_obj > MovieClip_obj::__new() -{ hx::ObjectPtr< MovieClip_obj > result = new MovieClip_obj(); - result->__construct(); - return result;} - -Dynamic MovieClip_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< MovieClip_obj > result = new MovieClip_obj(); - result->__construct(); - return result;} - -int MovieClip_obj::get_totalFrames( ){ - HX_STACK_PUSH("MovieClip::get_totalFrames","native/display/MovieClip.hx",70); - HX_STACK_THIS(this); - HX_STACK_LINE(70) - return this->mTotalFrames; -} - - -HX_DEFINE_DYNAMIC_FUNC0(MovieClip_obj,get_totalFrames,return ) - -int MovieClip_obj::get_framesLoaded( ){ - HX_STACK_PUSH("MovieClip::get_framesLoaded","native/display/MovieClip.hx",69); - HX_STACK_THIS(this); - HX_STACK_LINE(69) - return this->mTotalFrames; -} - - -HX_DEFINE_DYNAMIC_FUNC0(MovieClip_obj,get_framesLoaded,return ) - -int MovieClip_obj::get_currentFrame( ){ - HX_STACK_PUSH("MovieClip::get_currentFrame","native/display/MovieClip.hx",68); - HX_STACK_THIS(this); - HX_STACK_LINE(68) - return this->mCurrentFrame; -} - - -HX_DEFINE_DYNAMIC_FUNC0(MovieClip_obj,get_currentFrame,return ) - -Void MovieClip_obj::stop( ){ -{ - HX_STACK_PUSH("MovieClip::stop","native/display/MovieClip.hx",54); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(MovieClip_obj,stop,(void)) - -Void MovieClip_obj::play( ){ -{ - HX_STACK_PUSH("MovieClip::play","native/display/MovieClip.hx",47); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(MovieClip_obj,play,(void)) - -::String MovieClip_obj::nmeGetType( ){ - HX_STACK_PUSH("MovieClip::nmeGetType","native/display/MovieClip.hx",40); - HX_STACK_THIS(this); - HX_STACK_LINE(40) - return HX_CSTRING("MovieClip"); -} - - -Void MovieClip_obj::gotoAndStop( Dynamic frame,::String scene){ -{ - HX_STACK_PUSH("MovieClip::gotoAndStop","native/display/MovieClip.hx",33); - HX_STACK_THIS(this); - HX_STACK_ARG(frame,"frame"); - HX_STACK_ARG(scene,"scene"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(MovieClip_obj,gotoAndStop,(void)) - -Void MovieClip_obj::gotoAndPlay( Dynamic frame,::String scene){ -{ - HX_STACK_PUSH("MovieClip::gotoAndPlay","native/display/MovieClip.hx",26); - HX_STACK_THIS(this); - HX_STACK_ARG(frame,"frame"); - HX_STACK_ARG(scene,"scene"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(MovieClip_obj,gotoAndPlay,(void)) - - -MovieClip_obj::MovieClip_obj() -{ -} - -void MovieClip_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(MovieClip); - HX_MARK_MEMBER_NAME(mTotalFrames,"mTotalFrames"); - HX_MARK_MEMBER_NAME(mCurrentFrame,"mCurrentFrame"); - HX_MARK_MEMBER_NAME(totalFrames,"totalFrames"); - HX_MARK_MEMBER_NAME(framesLoaded,"framesLoaded"); - HX_MARK_MEMBER_NAME(enabled,"enabled"); - HX_MARK_MEMBER_NAME(currentFrame,"currentFrame"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void MovieClip_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mTotalFrames,"mTotalFrames"); - HX_VISIT_MEMBER_NAME(mCurrentFrame,"mCurrentFrame"); - HX_VISIT_MEMBER_NAME(totalFrames,"totalFrames"); - HX_VISIT_MEMBER_NAME(framesLoaded,"framesLoaded"); - HX_VISIT_MEMBER_NAME(enabled,"enabled"); - HX_VISIT_MEMBER_NAME(currentFrame,"currentFrame"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic MovieClip_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"stop") ) { return stop_dyn(); } - if (HX_FIELD_EQ(inName,"play") ) { return play_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"enabled") ) { return enabled; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeGetType") ) { return nmeGetType_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"gotoAndStop") ) { return gotoAndStop_dyn(); } - if (HX_FIELD_EQ(inName,"gotoAndPlay") ) { return gotoAndPlay_dyn(); } - if (HX_FIELD_EQ(inName,"totalFrames") ) { return inCallProp ? get_totalFrames() : totalFrames; } - break; - case 12: - if (HX_FIELD_EQ(inName,"mTotalFrames") ) { return mTotalFrames; } - if (HX_FIELD_EQ(inName,"framesLoaded") ) { return inCallProp ? get_framesLoaded() : framesLoaded; } - if (HX_FIELD_EQ(inName,"currentFrame") ) { return inCallProp ? get_currentFrame() : currentFrame; } - break; - case 13: - if (HX_FIELD_EQ(inName,"mCurrentFrame") ) { return mCurrentFrame; } - break; - case 15: - if (HX_FIELD_EQ(inName,"get_totalFrames") ) { return get_totalFrames_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"get_framesLoaded") ) { return get_framesLoaded_dyn(); } - if (HX_FIELD_EQ(inName,"get_currentFrame") ) { return get_currentFrame_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic MovieClip_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"enabled") ) { enabled=inValue.Cast< bool >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"totalFrames") ) { totalFrames=inValue.Cast< int >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"mTotalFrames") ) { mTotalFrames=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"framesLoaded") ) { framesLoaded=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"currentFrame") ) { currentFrame=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"mCurrentFrame") ) { mCurrentFrame=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void MovieClip_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mTotalFrames")); - outFields->push(HX_CSTRING("mCurrentFrame")); - outFields->push(HX_CSTRING("totalFrames")); - outFields->push(HX_CSTRING("framesLoaded")); - outFields->push(HX_CSTRING("enabled")); - outFields->push(HX_CSTRING("currentFrame")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("get_totalFrames"), - HX_CSTRING("get_framesLoaded"), - HX_CSTRING("get_currentFrame"), - HX_CSTRING("stop"), - HX_CSTRING("play"), - HX_CSTRING("nmeGetType"), - HX_CSTRING("gotoAndStop"), - HX_CSTRING("gotoAndPlay"), - HX_CSTRING("mTotalFrames"), - HX_CSTRING("mCurrentFrame"), - HX_CSTRING("totalFrames"), - HX_CSTRING("framesLoaded"), - HX_CSTRING("enabled"), - HX_CSTRING("currentFrame"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(MovieClip_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(MovieClip_obj::__mClass,"__mClass"); -}; - -Class MovieClip_obj::__mClass; - -void MovieClip_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.MovieClip"), hx::TCanCast< MovieClip_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void MovieClip_obj::__boot() -{ -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/OpenGLView.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/OpenGLView.cpp deleted file mode 100644 index 446aee4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/OpenGLView.cpp +++ /dev/null @@ -1,134 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_DirectRenderer -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_OpenGLView -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -namespace native{ -namespace display{ - -Void OpenGLView_obj::__construct() -{ -HX_STACK_PUSH("OpenGLView::new","native/display/OpenGLView.hx",19); -{ - HX_STACK_LINE(19) - super::__construct(HX_CSTRING("OpenGLView")); -} -; - return null(); -} - -OpenGLView_obj::~OpenGLView_obj() { } - -Dynamic OpenGLView_obj::__CreateEmpty() { return new OpenGLView_obj; } -hx::ObjectPtr< OpenGLView_obj > OpenGLView_obj::__new() -{ hx::ObjectPtr< OpenGLView_obj > result = new OpenGLView_obj(); - result->__construct(); - return result;} - -Dynamic OpenGLView_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< OpenGLView_obj > result = new OpenGLView_obj(); - result->__construct(); - return result;} - -::String OpenGLView_obj::CONTEXT_LOST; - -::String OpenGLView_obj::CONTEXT_RESTORED; - - -OpenGLView_obj::OpenGLView_obj() -{ -} - -void OpenGLView_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(OpenGLView); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void OpenGLView_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic OpenGLView_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 12: - if (HX_FIELD_EQ(inName,"CONTEXT_LOST") ) { return CONTEXT_LOST; } - break; - case 16: - if (HX_FIELD_EQ(inName,"CONTEXT_RESTORED") ) { return CONTEXT_RESTORED; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic OpenGLView_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 12: - if (HX_FIELD_EQ(inName,"CONTEXT_LOST") ) { CONTEXT_LOST=inValue.Cast< ::String >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"CONTEXT_RESTORED") ) { CONTEXT_RESTORED=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void OpenGLView_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("CONTEXT_LOST"), - HX_CSTRING("CONTEXT_RESTORED"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(OpenGLView_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(OpenGLView_obj::CONTEXT_LOST,"CONTEXT_LOST"); - HX_MARK_MEMBER_NAME(OpenGLView_obj::CONTEXT_RESTORED,"CONTEXT_RESTORED"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(OpenGLView_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(OpenGLView_obj::CONTEXT_LOST,"CONTEXT_LOST"); - HX_VISIT_MEMBER_NAME(OpenGLView_obj::CONTEXT_RESTORED,"CONTEXT_RESTORED"); -}; - -Class OpenGLView_obj::__mClass; - -void OpenGLView_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.OpenGLView"), hx::TCanCast< OpenGLView_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void OpenGLView_obj::__boot() -{ - CONTEXT_LOST= HX_CSTRING("glcontextlost"); - CONTEXT_RESTORED= HX_CSTRING("glcontextrestored"); -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/OptimizedPerlin.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/OptimizedPerlin.cpp deleted file mode 100644 index 757ca91..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/OptimizedPerlin.cpp +++ /dev/null @@ -1,594 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_native_display_BitmapData -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_OptimizedPerlin -#include -#endif -namespace native{ -namespace display{ - -Void OptimizedPerlin_obj::__construct(hx::Null< int > __o_seed,hx::Null< int > __o_octaves,hx::Null< Float > __o_falloff) -{ -HX_STACK_PUSH("OptimizedPerlin::new","native/display/BitmapData.hx",543); -int seed = __o_seed.Default(123); -int octaves = __o_octaves.Default(4); -Float falloff = __o_falloff.Default(0.5); -{ - HX_STACK_LINE(545) - this->baseFactor = 0.015625; - HX_STACK_LINE(546) - this->seedOffset(seed); - HX_STACK_LINE(547) - this->octFreqPers(falloff); -} -; - return null(); -} - -OptimizedPerlin_obj::~OptimizedPerlin_obj() { } - -Dynamic OptimizedPerlin_obj::__CreateEmpty() { return new OptimizedPerlin_obj; } -hx::ObjectPtr< OptimizedPerlin_obj > OptimizedPerlin_obj::__new(hx::Null< int > __o_seed,hx::Null< int > __o_octaves,hx::Null< Float > __o_falloff) -{ hx::ObjectPtr< OptimizedPerlin_obj > result = new OptimizedPerlin_obj(); - result->__construct(__o_seed,__o_octaves,__o_falloff); - return result;} - -Dynamic OptimizedPerlin_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< OptimizedPerlin_obj > result = new OptimizedPerlin_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -Void OptimizedPerlin_obj::seedOffset( int iSeed){ -{ - HX_STACK_PUSH("OptimizedPerlin::seedOffset","native/display/BitmapData.hx",692); - HX_STACK_THIS(this); - HX_STACK_ARG(iSeed,"iSeed"); - HX_STACK_LINE(699) - this->iXoffset = iSeed = ::Std_obj::_int(hx::Mod((iSeed * 16807.),(int)2147483647)); - HX_STACK_LINE(700) - this->iYoffset = iSeed = ::Std_obj::_int(hx::Mod((iSeed * 16807.),(int)2147483647)); - HX_STACK_LINE(701) - this->iZoffset = iSeed = ::Std_obj::_int(hx::Mod((iSeed * 16807.),(int)2147483647)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(OptimizedPerlin_obj,seedOffset,(void)) - -Void OptimizedPerlin_obj::octFreqPers( Float fPersistence){ -{ - HX_STACK_PUSH("OptimizedPerlin::octFreqPers","native/display/BitmapData.hx",669); - HX_STACK_THIS(this); - HX_STACK_ARG(fPersistence,"fPersistence"); - HX_STACK_LINE(671) - Float fFreq; HX_STACK_VAR(fFreq,"fFreq"); - Float fPers; HX_STACK_VAR(fPers,"fPers"); - HX_STACK_LINE(673) - this->aOctFreq = Array_obj< Float >::__new(); - HX_STACK_LINE(674) - this->aOctPers = Array_obj< Float >::__new(); - HX_STACK_LINE(675) - this->fPersMax = (int)0; - HX_STACK_LINE(677) - { - HX_STACK_LINE(677) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->octaves; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(677) - while(((_g1 < _g))){ - HX_STACK_LINE(677) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(679) - fFreq = ::Math_obj::pow((int)2,i); - HX_STACK_LINE(680) - fPers = ::Math_obj::pow(fPersistence,i); - HX_STACK_LINE(681) - hx::AddEq(this->fPersMax,fPers); - HX_STACK_LINE(682) - this->aOctFreq->push(fFreq); - HX_STACK_LINE(683) - this->aOctPers->push(fPers); - } - } - HX_STACK_LINE(687) - this->fPersMax = (Float((int)1) / Float(this->fPersMax)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(OptimizedPerlin_obj,octFreqPers,(void)) - -Void OptimizedPerlin_obj::fill( ::native::display::BitmapData bitmap,Float _x,Float _y,Float _z,Dynamic _){ -{ - HX_STACK_PUSH("OptimizedPerlin::fill","native/display/BitmapData.hx",552); - HX_STACK_THIS(this); - HX_STACK_ARG(bitmap,"bitmap"); - HX_STACK_ARG(_x,"_x"); - HX_STACK_ARG(_y,"_y"); - HX_STACK_ARG(_z,"_z"); - HX_STACK_ARG(_,"_"); - HX_STACK_LINE(554) - Float baseX; HX_STACK_VAR(baseX,"baseX"); - HX_STACK_LINE(556) - baseX = ((_x * this->baseFactor) + this->iXoffset); - HX_STACK_LINE(557) - _y = ((_y * this->baseFactor) + this->iYoffset); - HX_STACK_LINE(558) - _z = ((_z * this->baseFactor) + this->iZoffset); - HX_STACK_LINE(560) - int width = bitmap->get_width(); HX_STACK_VAR(width,"width"); - HX_STACK_LINE(561) - int height = bitmap->get_height(); HX_STACK_VAR(height,"height"); - HX_STACK_LINE(563) - Array< int > p = ::native::display::OptimizedPerlin_obj::P; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(564) - int octaves = this->octaves; HX_STACK_VAR(octaves,"octaves"); - HX_STACK_LINE(565) - Array< Float > aOctFreq = this->aOctFreq; HX_STACK_VAR(aOctFreq,"aOctFreq"); - HX_STACK_LINE(566) - Array< Float > aOctPers = this->aOctPers; HX_STACK_VAR(aOctPers,"aOctPers"); - HX_STACK_LINE(568) - { - HX_STACK_LINE(568) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(568) - while(((_g < height))){ - HX_STACK_LINE(568) - int py = (_g)++; HX_STACK_VAR(py,"py"); - HX_STACK_LINE(570) - _x = baseX; - HX_STACK_LINE(572) - { - HX_STACK_LINE(572) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(572) - while(((_g1 < width))){ - HX_STACK_LINE(572) - int px = (_g1)++; HX_STACK_VAR(px,"px"); - HX_STACK_LINE(574) - Float s = 0.; HX_STACK_VAR(s,"s"); - HX_STACK_LINE(576) - { - HX_STACK_LINE(576) - int _g2 = (int)0; HX_STACK_VAR(_g2,"_g2"); - HX_STACK_LINE(576) - while(((_g2 < octaves))){ - HX_STACK_LINE(576) - int i = (_g2)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(578) - Float fFreq = aOctFreq->__get(i); HX_STACK_VAR(fFreq,"fFreq"); - HX_STACK_LINE(579) - Float fPers = aOctPers->__get(i); HX_STACK_VAR(fPers,"fPers"); - HX_STACK_LINE(581) - Float x = (_x * fFreq); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(582) - Float y = (_y * fFreq); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(583) - Float z = (_z * fFreq); HX_STACK_VAR(z,"z"); - HX_STACK_LINE(585) - Float xf = (x - hx::Mod(x,(int)1)); HX_STACK_VAR(xf,"xf"); - HX_STACK_LINE(586) - Float yf = (y - hx::Mod(y,(int)1)); HX_STACK_VAR(yf,"yf"); - HX_STACK_LINE(587) - Float zf = (z - hx::Mod(z,(int)1)); HX_STACK_VAR(zf,"zf"); - HX_STACK_LINE(589) - int X = (int(::Std_obj::_int(xf)) & int((int)255)); HX_STACK_VAR(X,"X"); - HX_STACK_LINE(590) - int Y = (int(::Std_obj::_int(yf)) & int((int)255)); HX_STACK_VAR(Y,"Y"); - HX_STACK_LINE(591) - int Z = (int(::Std_obj::_int(zf)) & int((int)255)); HX_STACK_VAR(Z,"Z"); - HX_STACK_LINE(593) - hx::SubEq(x,xf); - HX_STACK_LINE(594) - hx::SubEq(y,yf); - HX_STACK_LINE(595) - hx::SubEq(z,zf); - HX_STACK_LINE(597) - Float u = (((x * x) * x) * (((x * (((x * (int)6) - (int)15))) + (int)10))); HX_STACK_VAR(u,"u"); - HX_STACK_LINE(598) - Float v = (((y * y) * y) * (((y * (((y * (int)6) - (int)15))) + (int)10))); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(599) - Float w = (((z * z) * z) * (((z * (((z * (int)6) - (int)15))) + (int)10))); HX_STACK_VAR(w,"w"); - HX_STACK_LINE(601) - int A = (p->__get(X) + Y); HX_STACK_VAR(A,"A"); - HX_STACK_LINE(602) - int AA = (p->__get(A) + Z); HX_STACK_VAR(AA,"AA"); - HX_STACK_LINE(603) - int AB = (p->__get((A + (int)1)) + Z); HX_STACK_VAR(AB,"AB"); - HX_STACK_LINE(604) - int B = (p->__get((X + (int)1)) + Y); HX_STACK_VAR(B,"B"); - HX_STACK_LINE(605) - int BA = (p->__get(B) + Z); HX_STACK_VAR(BA,"BA"); - HX_STACK_LINE(606) - int BB = (p->__get((B + (int)1)) + Z); HX_STACK_VAR(BB,"BB"); - HX_STACK_LINE(608) - Float x1 = (x - (int)1); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(609) - Float y1 = (y - (int)1); HX_STACK_VAR(y1,"y1"); - HX_STACK_LINE(610) - Float z1 = (z - (int)1); HX_STACK_VAR(z1,"z1"); - HX_STACK_LINE(612) - int hash = (int(p->__get((BB + (int)1))) & int((int)15)); HX_STACK_VAR(hash,"hash"); - struct _Function_7_1{ - inline static Float Block( Float &y1,Float &x1,int &hash){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",613); - { - HX_STACK_LINE(613) - return ( (((hash < (int)8))) ? Float(x1) : Float(y1) ); - } - return null(); - } - }; - struct _Function_7_2{ - inline static Float Block( Float &y1,Float &x1,int &hash,Float &z1){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",613); - { - HX_STACK_LINE(613) - return ( (((hash < (int)4))) ? Float(y1) : Float(( (((hash == (int)12))) ? Float(x1) : Float(z1) )) ); - } - return null(); - } - }; - HX_STACK_LINE(613) - Float g1 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_1::Block(y1,x1,hash)) : Float(( (((hash < (int)8))) ? Float(-(x1)) : Float(-(y1)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_2::Block(y1,x1,hash,z1)) : Float(( (((hash < (int)4))) ? Float(-(y1)) : Float(( (((hash == (int)14))) ? Float(-(x1)) : Float(-(z1)) )) )) ))); HX_STACK_VAR(g1,"g1"); - HX_STACK_LINE(615) - hash = (int(p->__get((AB + (int)1))) & int((int)15)); - struct _Function_7_3{ - inline static Float Block( Float &y1,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",616); - { - HX_STACK_LINE(616) - return ( (((hash < (int)8))) ? Float(x) : Float(y1) ); - } - return null(); - } - }; - struct _Function_7_4{ - inline static Float Block( Float &y1,int &hash,Float &x,Float &z1){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",616); - { - HX_STACK_LINE(616) - return ( (((hash < (int)4))) ? Float(y1) : Float(( (((hash == (int)12))) ? Float(x) : Float(z1) )) ); - } - return null(); - } - }; - HX_STACK_LINE(616) - Float g2 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_3::Block(y1,hash,x)) : Float(( (((hash < (int)8))) ? Float(-(x)) : Float(-(y1)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_4::Block(y1,hash,x,z1)) : Float(( (((hash < (int)4))) ? Float(-(y1)) : Float(( (((hash == (int)14))) ? Float(-(x)) : Float(-(z1)) )) )) ))); HX_STACK_VAR(g2,"g2"); - HX_STACK_LINE(618) - hash = (int(p->__get((BA + (int)1))) & int((int)15)); - struct _Function_7_5{ - inline static Float Block( Float &x1,Float &y,int &hash){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",619); - { - HX_STACK_LINE(619) - return ( (((hash < (int)8))) ? Float(x1) : Float(y) ); - } - return null(); - } - }; - struct _Function_7_6{ - inline static Float Block( Float &y,Float &x1,int &hash,Float &z1){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",619); - { - HX_STACK_LINE(619) - return ( (((hash < (int)4))) ? Float(y) : Float(( (((hash == (int)12))) ? Float(x1) : Float(z1) )) ); - } - return null(); - } - }; - HX_STACK_LINE(619) - Float g3 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_5::Block(x1,y,hash)) : Float(( (((hash < (int)8))) ? Float(-(x1)) : Float(-(y)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_6::Block(y,x1,hash,z1)) : Float(( (((hash < (int)4))) ? Float(-(y)) : Float(( (((hash == (int)14))) ? Float(-(x1)) : Float(-(z1)) )) )) ))); HX_STACK_VAR(g3,"g3"); - HX_STACK_LINE(621) - hash = (int(p->__get((AA + (int)1))) & int((int)15)); - struct _Function_7_7{ - inline static Float Block( Float &y,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",622); - { - HX_STACK_LINE(622) - return ( (((hash < (int)8))) ? Float(x) : Float(y) ); - } - return null(); - } - }; - struct _Function_7_8{ - inline static Float Block( Float &y,int &hash,Float &x,Float &z1){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",622); - { - HX_STACK_LINE(622) - return ( (((hash < (int)4))) ? Float(y) : Float(( (((hash == (int)12))) ? Float(x) : Float(z1) )) ); - } - return null(); - } - }; - HX_STACK_LINE(622) - Float g4 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_7::Block(y,hash,x)) : Float(( (((hash < (int)8))) ? Float(-(x)) : Float(-(y)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_8::Block(y,hash,x,z1)) : Float(( (((hash < (int)4))) ? Float(-(y)) : Float(( (((hash == (int)14))) ? Float(-(x)) : Float(-(z1)) )) )) ))); HX_STACK_VAR(g4,"g4"); - HX_STACK_LINE(624) - hash = (int(p->__get(BB)) & int((int)15)); - struct _Function_7_9{ - inline static Float Block( Float &y1,Float &x1,int &hash){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",625); - { - HX_STACK_LINE(625) - return ( (((hash < (int)8))) ? Float(x1) : Float(y1) ); - } - return null(); - } - }; - struct _Function_7_10{ - inline static Float Block( Float &y1,Float &z,Float &x1,int &hash){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",625); - { - HX_STACK_LINE(625) - return ( (((hash < (int)4))) ? Float(y1) : Float(( (((hash == (int)12))) ? Float(x1) : Float(z) )) ); - } - return null(); - } - }; - HX_STACK_LINE(625) - Float g5 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_9::Block(y1,x1,hash)) : Float(( (((hash < (int)8))) ? Float(-(x1)) : Float(-(y1)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_10::Block(y1,z,x1,hash)) : Float(( (((hash < (int)4))) ? Float(-(y1)) : Float(( (((hash == (int)14))) ? Float(-(x1)) : Float(-(z)) )) )) ))); HX_STACK_VAR(g5,"g5"); - HX_STACK_LINE(627) - hash = (int(p->__get(AB)) & int((int)15)); - struct _Function_7_11{ - inline static Float Block( Float &y1,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",628); - { - HX_STACK_LINE(628) - return ( (((hash < (int)8))) ? Float(x) : Float(y1) ); - } - return null(); - } - }; - struct _Function_7_12{ - inline static Float Block( Float &y1,Float &z,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",628); - { - HX_STACK_LINE(628) - return ( (((hash < (int)4))) ? Float(y1) : Float(( (((hash == (int)12))) ? Float(x) : Float(z) )) ); - } - return null(); - } - }; - HX_STACK_LINE(628) - Float g6 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_11::Block(y1,hash,x)) : Float(( (((hash < (int)8))) ? Float(-(x)) : Float(-(y1)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_12::Block(y1,z,hash,x)) : Float(( (((hash < (int)4))) ? Float(-(y1)) : Float(( (((hash == (int)14))) ? Float(-(x)) : Float(-(z)) )) )) ))); HX_STACK_VAR(g6,"g6"); - HX_STACK_LINE(630) - hash = (int(p->__get(BA)) & int((int)15)); - struct _Function_7_13{ - inline static Float Block( Float &x1,Float &y,int &hash){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",631); - { - HX_STACK_LINE(631) - return ( (((hash < (int)8))) ? Float(x1) : Float(y) ); - } - return null(); - } - }; - struct _Function_7_14{ - inline static Float Block( Float &z,Float &y,Float &x1,int &hash){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",631); - { - HX_STACK_LINE(631) - return ( (((hash < (int)4))) ? Float(y) : Float(( (((hash == (int)12))) ? Float(x1) : Float(z) )) ); - } - return null(); - } - }; - HX_STACK_LINE(631) - Float g7 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_13::Block(x1,y,hash)) : Float(( (((hash < (int)8))) ? Float(-(x1)) : Float(-(y)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_14::Block(z,y,x1,hash)) : Float(( (((hash < (int)4))) ? Float(-(y)) : Float(( (((hash == (int)14))) ? Float(-(x1)) : Float(-(z)) )) )) ))); HX_STACK_VAR(g7,"g7"); - HX_STACK_LINE(633) - hash = (int(p->__get(AA)) & int((int)15)); - struct _Function_7_15{ - inline static Float Block( Float &y,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",634); - { - HX_STACK_LINE(634) - return ( (((hash < (int)8))) ? Float(x) : Float(y) ); - } - return null(); - } - }; - struct _Function_7_16{ - inline static Float Block( Float &z,Float &y,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","native/display/BitmapData.hx",634); - { - HX_STACK_LINE(634) - return ( (((hash < (int)4))) ? Float(y) : Float(( (((hash == (int)12))) ? Float(x) : Float(z) )) ); - } - return null(); - } - }; - HX_STACK_LINE(634) - Float g8 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_15::Block(y,hash,x)) : Float(( (((hash < (int)8))) ? Float(-(x)) : Float(-(y)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_16::Block(z,y,hash,x)) : Float(( (((hash < (int)4))) ? Float(-(y)) : Float(( (((hash == (int)14))) ? Float(-(x)) : Float(-(z)) )) )) ))); HX_STACK_VAR(g8,"g8"); - HX_STACK_LINE(636) - hx::AddEq(g2,(u * ((g1 - g2)))); - HX_STACK_LINE(637) - hx::AddEq(g4,(u * ((g3 - g4)))); - HX_STACK_LINE(638) - hx::AddEq(g6,(u * ((g5 - g6)))); - HX_STACK_LINE(639) - hx::AddEq(g8,(u * ((g7 - g8)))); - HX_STACK_LINE(641) - hx::AddEq(g4,(v * ((g2 - g4)))); - HX_STACK_LINE(642) - hx::AddEq(g8,(v * ((g6 - g8)))); - HX_STACK_LINE(644) - hx::AddEq(s,(((g8 + (w * ((g4 - g8))))) * fPers)); - } - } - HX_STACK_LINE(648) - int color = ::Std_obj::_int(((((s * this->fPersMax) + (int)1)) * (int)128)); HX_STACK_VAR(color,"color"); - HX_STACK_LINE(653) - int pixel = (int((int((int((int)-16777216) | int((int(color) << int((int)16))))) | int((int(color) << int((int)8))))) | int(color)); HX_STACK_VAR(pixel,"pixel"); - HX_STACK_LINE(656) - bitmap->setPixel32(px,py,pixel); - HX_STACK_LINE(658) - hx::AddEq(_x,this->baseFactor); - } - } - HX_STACK_LINE(662) - hx::AddEq(_y,this->baseFactor); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(OptimizedPerlin_obj,fill,(void)) - -Array< int > OptimizedPerlin_obj::P; - - -OptimizedPerlin_obj::OptimizedPerlin_obj() -{ -} - -void OptimizedPerlin_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(OptimizedPerlin); - HX_MARK_MEMBER_NAME(baseFactor,"baseFactor"); - HX_MARK_MEMBER_NAME(iZoffset,"iZoffset"); - HX_MARK_MEMBER_NAME(iYoffset,"iYoffset"); - HX_MARK_MEMBER_NAME(iXoffset,"iXoffset"); - HX_MARK_MEMBER_NAME(fPersMax,"fPersMax"); - HX_MARK_MEMBER_NAME(aOctPers,"aOctPers"); - HX_MARK_MEMBER_NAME(aOctFreq,"aOctFreq"); - HX_MARK_MEMBER_NAME(octaves,"octaves"); - HX_MARK_END_CLASS(); -} - -void OptimizedPerlin_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(baseFactor,"baseFactor"); - HX_VISIT_MEMBER_NAME(iZoffset,"iZoffset"); - HX_VISIT_MEMBER_NAME(iYoffset,"iYoffset"); - HX_VISIT_MEMBER_NAME(iXoffset,"iXoffset"); - HX_VISIT_MEMBER_NAME(fPersMax,"fPersMax"); - HX_VISIT_MEMBER_NAME(aOctPers,"aOctPers"); - HX_VISIT_MEMBER_NAME(aOctFreq,"aOctFreq"); - HX_VISIT_MEMBER_NAME(octaves,"octaves"); -} - -Dynamic OptimizedPerlin_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"P") ) { return P; } - break; - case 4: - if (HX_FIELD_EQ(inName,"fill") ) { return fill_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"octaves") ) { return octaves; } - break; - case 8: - if (HX_FIELD_EQ(inName,"iZoffset") ) { return iZoffset; } - if (HX_FIELD_EQ(inName,"iYoffset") ) { return iYoffset; } - if (HX_FIELD_EQ(inName,"iXoffset") ) { return iXoffset; } - if (HX_FIELD_EQ(inName,"fPersMax") ) { return fPersMax; } - if (HX_FIELD_EQ(inName,"aOctPers") ) { return aOctPers; } - if (HX_FIELD_EQ(inName,"aOctFreq") ) { return aOctFreq; } - break; - case 10: - if (HX_FIELD_EQ(inName,"seedOffset") ) { return seedOffset_dyn(); } - if (HX_FIELD_EQ(inName,"baseFactor") ) { return baseFactor; } - break; - case 11: - if (HX_FIELD_EQ(inName,"octFreqPers") ) { return octFreqPers_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic OptimizedPerlin_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"P") ) { P=inValue.Cast< Array< int > >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"octaves") ) { octaves=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"iZoffset") ) { iZoffset=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"iYoffset") ) { iYoffset=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"iXoffset") ) { iXoffset=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"fPersMax") ) { fPersMax=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"aOctPers") ) { aOctPers=inValue.Cast< Array< Float > >(); return inValue; } - if (HX_FIELD_EQ(inName,"aOctFreq") ) { aOctFreq=inValue.Cast< Array< Float > >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"baseFactor") ) { baseFactor=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void OptimizedPerlin_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("baseFactor")); - outFields->push(HX_CSTRING("iZoffset")); - outFields->push(HX_CSTRING("iYoffset")); - outFields->push(HX_CSTRING("iXoffset")); - outFields->push(HX_CSTRING("fPersMax")); - outFields->push(HX_CSTRING("aOctPers")); - outFields->push(HX_CSTRING("aOctFreq")); - outFields->push(HX_CSTRING("octaves")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("P"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("seedOffset"), - HX_CSTRING("octFreqPers"), - HX_CSTRING("fill"), - HX_CSTRING("baseFactor"), - HX_CSTRING("iZoffset"), - HX_CSTRING("iYoffset"), - HX_CSTRING("iXoffset"), - HX_CSTRING("fPersMax"), - HX_CSTRING("aOctPers"), - HX_CSTRING("aOctFreq"), - HX_CSTRING("octaves"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(OptimizedPerlin_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(OptimizedPerlin_obj::P,"P"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(OptimizedPerlin_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(OptimizedPerlin_obj::P,"P"); -}; - -Class OptimizedPerlin_obj::__mClass; - -void OptimizedPerlin_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.OptimizedPerlin"), hx::TCanCast< OptimizedPerlin_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void OptimizedPerlin_obj::__boot() -{ - P= Array_obj< int >::__new().Add((int)151).Add((int)160).Add((int)137).Add((int)91).Add((int)90).Add((int)15).Add((int)131).Add((int)13).Add((int)201).Add((int)95).Add((int)96).Add((int)53).Add((int)194).Add((int)233).Add((int)7).Add((int)225).Add((int)140).Add((int)36).Add((int)103).Add((int)30).Add((int)69).Add((int)142).Add((int)8).Add((int)99).Add((int)37).Add((int)240).Add((int)21).Add((int)10).Add((int)23).Add((int)190).Add((int)6).Add((int)148).Add((int)247).Add((int)120).Add((int)234).Add((int)75).Add((int)0).Add((int)26).Add((int)197).Add((int)62).Add((int)94).Add((int)252).Add((int)219).Add((int)203).Add((int)117).Add((int)35).Add((int)11).Add((int)32).Add((int)57).Add((int)177).Add((int)33).Add((int)88).Add((int)237).Add((int)149).Add((int)56).Add((int)87).Add((int)174).Add((int)20).Add((int)125).Add((int)136).Add((int)171).Add((int)168).Add((int)68).Add((int)175).Add((int)74).Add((int)165).Add((int)71).Add((int)134).Add((int)139).Add((int)48).Add((int)27).Add((int)166).Add((int)77).Add((int)146).Add((int)158).Add((int)231).Add((int)83).Add((int)111).Add((int)229).Add((int)122).Add((int)60).Add((int)211).Add((int)133).Add((int)230).Add((int)220).Add((int)105).Add((int)92).Add((int)41).Add((int)55).Add((int)46).Add((int)245).Add((int)40).Add((int)244).Add((int)102).Add((int)143).Add((int)54).Add((int)65).Add((int)25).Add((int)63).Add((int)161).Add((int)1).Add((int)216).Add((int)80).Add((int)73).Add((int)209).Add((int)76).Add((int)132).Add((int)187).Add((int)208).Add((int)89).Add((int)18).Add((int)169).Add((int)200).Add((int)196).Add((int)135).Add((int)130).Add((int)116).Add((int)188).Add((int)159).Add((int)86).Add((int)164).Add((int)100).Add((int)109).Add((int)198).Add((int)173).Add((int)186).Add((int)3).Add((int)64).Add((int)52).Add((int)217).Add((int)226).Add((int)250).Add((int)124).Add((int)123).Add((int)5).Add((int)202).Add((int)38).Add((int)147).Add((int)118).Add((int)126).Add((int)255).Add((int)82).Add((int)85).Add((int)212).Add((int)207).Add((int)206).Add((int)59).Add((int)227).Add((int)47).Add((int)16).Add((int)58).Add((int)17).Add((int)182).Add((int)189).Add((int)28).Add((int)42).Add((int)223).Add((int)183).Add((int)170).Add((int)213).Add((int)119).Add((int)248).Add((int)152).Add((int)2).Add((int)44).Add((int)154).Add((int)163).Add((int)70).Add((int)221).Add((int)153).Add((int)101).Add((int)155).Add((int)167).Add((int)43).Add((int)172).Add((int)9).Add((int)129).Add((int)22).Add((int)39).Add((int)253).Add((int)19).Add((int)98).Add((int)108).Add((int)110).Add((int)79).Add((int)113).Add((int)224).Add((int)232).Add((int)178).Add((int)185).Add((int)112).Add((int)104).Add((int)218).Add((int)246).Add((int)97).Add((int)228).Add((int)251).Add((int)34).Add((int)242).Add((int)193).Add((int)238).Add((int)210).Add((int)144).Add((int)12).Add((int)191).Add((int)179).Add((int)162).Add((int)241).Add((int)81).Add((int)51).Add((int)145).Add((int)235).Add((int)249).Add((int)14).Add((int)239).Add((int)107).Add((int)49).Add((int)192).Add((int)214).Add((int)31).Add((int)181).Add((int)199).Add((int)106).Add((int)157).Add((int)184).Add((int)84).Add((int)204).Add((int)176).Add((int)115).Add((int)121).Add((int)50).Add((int)45).Add((int)127).Add((int)4).Add((int)150).Add((int)254).Add((int)138).Add((int)236).Add((int)205).Add((int)93).Add((int)222).Add((int)114).Add((int)67).Add((int)29).Add((int)24).Add((int)72).Add((int)243).Add((int)141).Add((int)128).Add((int)195).Add((int)78).Add((int)66).Add((int)215).Add((int)61).Add((int)156).Add((int)180).Add((int)151).Add((int)160).Add((int)137).Add((int)91).Add((int)90).Add((int)15).Add((int)131).Add((int)13).Add((int)201).Add((int)95).Add((int)96).Add((int)53).Add((int)194).Add((int)233).Add((int)7).Add((int)225).Add((int)140).Add((int)36).Add((int)103).Add((int)30).Add((int)69).Add((int)142).Add((int)8).Add((int)99).Add((int)37).Add((int)240).Add((int)21).Add((int)10).Add((int)23).Add((int)190).Add((int)6).Add((int)148).Add((int)247).Add((int)120).Add((int)234).Add((int)75).Add((int)0).Add((int)26).Add((int)197).Add((int)62).Add((int)94).Add((int)252).Add((int)219).Add((int)203).Add((int)117).Add((int)35).Add((int)11).Add((int)32).Add((int)57).Add((int)177).Add((int)33).Add((int)88).Add((int)237).Add((int)149).Add((int)56).Add((int)87).Add((int)174).Add((int)20).Add((int)125).Add((int)136).Add((int)171).Add((int)168).Add((int)68).Add((int)175).Add((int)74).Add((int)165).Add((int)71).Add((int)134).Add((int)139).Add((int)48).Add((int)27).Add((int)166).Add((int)77).Add((int)146).Add((int)158).Add((int)231).Add((int)83).Add((int)111).Add((int)229).Add((int)122).Add((int)60).Add((int)211).Add((int)133).Add((int)230).Add((int)220).Add((int)105).Add((int)92).Add((int)41).Add((int)55).Add((int)46).Add((int)245).Add((int)40).Add((int)244).Add((int)102).Add((int)143).Add((int)54).Add((int)65).Add((int)25).Add((int)63).Add((int)161).Add((int)1).Add((int)216).Add((int)80).Add((int)73).Add((int)209).Add((int)76).Add((int)132).Add((int)187).Add((int)208).Add((int)89).Add((int)18).Add((int)169).Add((int)200).Add((int)196).Add((int)135).Add((int)130).Add((int)116).Add((int)188).Add((int)159).Add((int)86).Add((int)164).Add((int)100).Add((int)109).Add((int)198).Add((int)173).Add((int)186).Add((int)3).Add((int)64).Add((int)52).Add((int)217).Add((int)226).Add((int)250).Add((int)124).Add((int)123).Add((int)5).Add((int)202).Add((int)38).Add((int)147).Add((int)118).Add((int)126).Add((int)255).Add((int)82).Add((int)85).Add((int)212).Add((int)207).Add((int)206).Add((int)59).Add((int)227).Add((int)47).Add((int)16).Add((int)58).Add((int)17).Add((int)182).Add((int)189).Add((int)28).Add((int)42).Add((int)223).Add((int)183).Add((int)170).Add((int)213).Add((int)119).Add((int)248).Add((int)152).Add((int)2).Add((int)44).Add((int)154).Add((int)163).Add((int)70).Add((int)221).Add((int)153).Add((int)101).Add((int)155).Add((int)167).Add((int)43).Add((int)172).Add((int)9).Add((int)129).Add((int)22).Add((int)39).Add((int)253).Add((int)19).Add((int)98).Add((int)108).Add((int)110).Add((int)79).Add((int)113).Add((int)224).Add((int)232).Add((int)178).Add((int)185).Add((int)112).Add((int)104).Add((int)218).Add((int)246).Add((int)97).Add((int)228).Add((int)251).Add((int)34).Add((int)242).Add((int)193).Add((int)238).Add((int)210).Add((int)144).Add((int)12).Add((int)191).Add((int)179).Add((int)162).Add((int)241).Add((int)81).Add((int)51).Add((int)145).Add((int)235).Add((int)249).Add((int)14).Add((int)239).Add((int)107).Add((int)49).Add((int)192).Add((int)214).Add((int)31).Add((int)181).Add((int)199).Add((int)106).Add((int)157).Add((int)184).Add((int)84).Add((int)204).Add((int)176).Add((int)115).Add((int)121).Add((int)50).Add((int)45).Add((int)127).Add((int)4).Add((int)150).Add((int)254).Add((int)138).Add((int)236).Add((int)205).Add((int)93).Add((int)222).Add((int)114).Add((int)67).Add((int)29).Add((int)24).Add((int)72).Add((int)243).Add((int)141).Add((int)128).Add((int)195).Add((int)78).Add((int)66).Add((int)215).Add((int)61).Add((int)156).Add((int)180); -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/PixelSnapping.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/PixelSnapping.cpp deleted file mode 100644 index 44de936..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/PixelSnapping.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_PixelSnapping -#include -#endif -namespace native{ -namespace display{ - -::native::display::PixelSnapping PixelSnapping_obj::ALWAYS; - -::native::display::PixelSnapping PixelSnapping_obj::AUTO; - -::native::display::PixelSnapping PixelSnapping_obj::NEVER; - -HX_DEFINE_CREATE_ENUM(PixelSnapping_obj) - -int PixelSnapping_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("ALWAYS")) return 2; - if (inName==HX_CSTRING("AUTO")) return 1; - if (inName==HX_CSTRING("NEVER")) return 0; - return super::__FindIndex(inName); -} - -int PixelSnapping_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("ALWAYS")) return 0; - if (inName==HX_CSTRING("AUTO")) return 0; - if (inName==HX_CSTRING("NEVER")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic PixelSnapping_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("ALWAYS")) return ALWAYS; - if (inName==HX_CSTRING("AUTO")) return AUTO; - if (inName==HX_CSTRING("NEVER")) return NEVER; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NEVER"), - HX_CSTRING("AUTO"), - HX_CSTRING("ALWAYS"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PixelSnapping_obj::ALWAYS,"ALWAYS"); - HX_MARK_MEMBER_NAME(PixelSnapping_obj::AUTO,"AUTO"); - HX_MARK_MEMBER_NAME(PixelSnapping_obj::NEVER,"NEVER"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PixelSnapping_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(PixelSnapping_obj::ALWAYS,"ALWAYS"); - HX_VISIT_MEMBER_NAME(PixelSnapping_obj::AUTO,"AUTO"); - HX_VISIT_MEMBER_NAME(PixelSnapping_obj::NEVER,"NEVER"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class PixelSnapping_obj::__mClass; - -Dynamic __Create_PixelSnapping_obj() { return new PixelSnapping_obj; } - -void PixelSnapping_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.PixelSnapping"), hx::TCanCast< PixelSnapping_obj >,sStaticFields,sMemberFields, - &__Create_PixelSnapping_obj, &__Create, - &super::__SGetClass(), &CreatePixelSnapping_obj, sMarkStatics, sVisitStatic); -} - -void PixelSnapping_obj::__boot() -{ -Static(ALWAYS) = hx::CreateEnum< PixelSnapping_obj >(HX_CSTRING("ALWAYS"),2); -Static(AUTO) = hx::CreateEnum< PixelSnapping_obj >(HX_CSTRING("AUTO"),1); -Static(NEVER) = hx::CreateEnum< PixelSnapping_obj >(HX_CSTRING("NEVER"),0); -} - - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Shape.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Shape.cpp deleted file mode 100644 index 62a170b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Shape.cpp +++ /dev/null @@ -1,105 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_Shape -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -namespace native{ -namespace display{ - -Void Shape_obj::__construct() -{ -HX_STACK_PUSH("Shape::new","native/display/Shape.hx",7); -{ - HX_STACK_LINE(7) - super::__construct(::native::display::DisplayObject_obj::nme_create_display_object(),HX_CSTRING("Shape")); -} -; - return null(); -} - -Shape_obj::~Shape_obj() { } - -Dynamic Shape_obj::__CreateEmpty() { return new Shape_obj; } -hx::ObjectPtr< Shape_obj > Shape_obj::__new() -{ hx::ObjectPtr< Shape_obj > result = new Shape_obj(); - result->__construct(); - return result;} - -Dynamic Shape_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Shape_obj > result = new Shape_obj(); - result->__construct(); - return result;} - - -Shape_obj::Shape_obj() -{ -} - -void Shape_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Shape); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Shape_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Shape_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic Shape_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Shape_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Shape_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Shape_obj::__mClass,"__mClass"); -}; - -Class Shape_obj::__mClass; - -void Shape_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.Shape"), hx::TCanCast< Shape_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Shape_obj::__boot() -{ -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/SpreadMethod.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/SpreadMethod.cpp deleted file mode 100644 index 836c692..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/SpreadMethod.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_SpreadMethod -#include -#endif -namespace native{ -namespace display{ - -::native::display::SpreadMethod SpreadMethod_obj::PAD; - -::native::display::SpreadMethod SpreadMethod_obj::REFLECT; - -::native::display::SpreadMethod SpreadMethod_obj::REPEAT; - -HX_DEFINE_CREATE_ENUM(SpreadMethod_obj) - -int SpreadMethod_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("PAD")) return 0; - if (inName==HX_CSTRING("REFLECT")) return 2; - if (inName==HX_CSTRING("REPEAT")) return 1; - return super::__FindIndex(inName); -} - -int SpreadMethod_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("PAD")) return 0; - if (inName==HX_CSTRING("REFLECT")) return 0; - if (inName==HX_CSTRING("REPEAT")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic SpreadMethod_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("PAD")) return PAD; - if (inName==HX_CSTRING("REFLECT")) return REFLECT; - if (inName==HX_CSTRING("REPEAT")) return REPEAT; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("PAD"), - HX_CSTRING("REPEAT"), - HX_CSTRING("REFLECT"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SpreadMethod_obj::PAD,"PAD"); - HX_MARK_MEMBER_NAME(SpreadMethod_obj::REFLECT,"REFLECT"); - HX_MARK_MEMBER_NAME(SpreadMethod_obj::REPEAT,"REPEAT"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SpreadMethod_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(SpreadMethod_obj::PAD,"PAD"); - HX_VISIT_MEMBER_NAME(SpreadMethod_obj::REFLECT,"REFLECT"); - HX_VISIT_MEMBER_NAME(SpreadMethod_obj::REPEAT,"REPEAT"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class SpreadMethod_obj::__mClass; - -Dynamic __Create_SpreadMethod_obj() { return new SpreadMethod_obj; } - -void SpreadMethod_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.SpreadMethod"), hx::TCanCast< SpreadMethod_obj >,sStaticFields,sMemberFields, - &__Create_SpreadMethod_obj, &__Create, - &super::__SGetClass(), &CreateSpreadMethod_obj, sMarkStatics, sVisitStatic); -} - -void SpreadMethod_obj::__boot() -{ -Static(PAD) = hx::CreateEnum< SpreadMethod_obj >(HX_CSTRING("PAD"),0); -Static(REFLECT) = hx::CreateEnum< SpreadMethod_obj >(HX_CSTRING("REFLECT"),2); -Static(REPEAT) = hx::CreateEnum< SpreadMethod_obj >(HX_CSTRING("REPEAT"),1); -} - - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Sprite.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Sprite.cpp deleted file mode 100644 index 7bc1ca3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Sprite.cpp +++ /dev/null @@ -1,201 +0,0 @@ -#include - -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_display_Stage -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_geom_Rectangle -#include -#endif -namespace native{ -namespace display{ - -Void Sprite_obj::__construct() -{ -HX_STACK_PUSH("Sprite::new","native/display/Sprite.hx",14); -{ - HX_STACK_LINE(14) - super::__construct(::native::display::DisplayObjectContainer_obj::nme_create_display_object_container(),this->nmeGetType()); -} -; - return null(); -} - -Sprite_obj::~Sprite_obj() { } - -Dynamic Sprite_obj::__CreateEmpty() { return new Sprite_obj; } -hx::ObjectPtr< Sprite_obj > Sprite_obj::__new() -{ hx::ObjectPtr< Sprite_obj > result = new Sprite_obj(); - result->__construct(); - return result;} - -Dynamic Sprite_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Sprite_obj > result = new Sprite_obj(); - result->__construct(); - return result;} - -Void Sprite_obj::stopDrag( ){ -{ - HX_STACK_PUSH("Sprite::stopDrag","native/display/Sprite.hx",38); - HX_STACK_THIS(this); - HX_STACK_LINE(38) - if (((this->get_stage() != null()))){ - HX_STACK_LINE(41) - this->get_stage()->nmeStopDrag(hx::ObjectPtr(this)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sprite_obj,stopDrag,(void)) - -Void Sprite_obj::startDrag( hx::Null< bool > __o_lockCenter,::native::geom::Rectangle bounds){ -bool lockCenter = __o_lockCenter.Default(false); - HX_STACK_PUSH("Sprite::startDrag","native/display/Sprite.hx",30); - HX_STACK_THIS(this); - HX_STACK_ARG(lockCenter,"lockCenter"); - HX_STACK_ARG(bounds,"bounds"); -{ - HX_STACK_LINE(30) - if (((this->get_stage() != null()))){ - HX_STACK_LINE(33) - this->get_stage()->nmeStartDrag(hx::ObjectPtr(this),lockCenter,bounds); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Sprite_obj,startDrag,(void)) - -::String Sprite_obj::nmeGetType( ){ - HX_STACK_PUSH("Sprite::nmeGetType","native/display/Sprite.hx",21); - HX_STACK_THIS(this); - HX_STACK_LINE(23) - ::String type = ::Type_obj::getClassName(::Type_obj::getClass(hx::ObjectPtr(this))); HX_STACK_VAR(type,"type"); - HX_STACK_LINE(24) - int pos = type.lastIndexOf(HX_CSTRING("."),null()); HX_STACK_VAR(pos,"pos"); - HX_STACK_LINE(25) - return ( (((pos >= (int)0))) ? ::String(type.substr((pos + (int)1),null())) : ::String(type) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sprite_obj,nmeGetType,return ) - - -Sprite_obj::Sprite_obj() -{ -} - -void Sprite_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Sprite); - HX_MARK_MEMBER_NAME(useHandCursor,"useHandCursor"); - HX_MARK_MEMBER_NAME(buttonMode,"buttonMode"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Sprite_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(useHandCursor,"useHandCursor"); - HX_VISIT_MEMBER_NAME(buttonMode,"buttonMode"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Sprite_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"stopDrag") ) { return stopDrag_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"startDrag") ) { return startDrag_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeGetType") ) { return nmeGetType_dyn(); } - if (HX_FIELD_EQ(inName,"buttonMode") ) { return buttonMode; } - break; - case 13: - if (HX_FIELD_EQ(inName,"useHandCursor") ) { return useHandCursor; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Sprite_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"buttonMode") ) { buttonMode=inValue.Cast< bool >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"useHandCursor") ) { useHandCursor=inValue.Cast< bool >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Sprite_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("useHandCursor")); - outFields->push(HX_CSTRING("buttonMode")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("stopDrag"), - HX_CSTRING("startDrag"), - HX_CSTRING("nmeGetType"), - HX_CSTRING("useHandCursor"), - HX_CSTRING("buttonMode"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Sprite_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Sprite_obj::__mClass,"__mClass"); -}; - -Class Sprite_obj::__mClass; - -void Sprite_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.Sprite"), hx::TCanCast< Sprite_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Sprite_obj::__boot() -{ -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Stage.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Stage.cpp deleted file mode 100644 index 7fd8e93..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Stage.cpp +++ /dev/null @@ -1,2267 +0,0 @@ -#include - -#ifndef INCLUDED_IntHash -#include -#endif -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_Timer -#include -#endif -#ifndef INCLUDED_native_Loader -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_display_Stage -#include -#endif -#ifndef INCLUDED_native_display_Stage3D -#include -#endif -#ifndef INCLUDED_native_display_StageAlign -#include -#endif -#ifndef INCLUDED_native_display_StageDisplayState -#include -#endif -#ifndef INCLUDED_native_display_StageQuality -#include -#endif -#ifndef INCLUDED_native_display_StageScaleMode -#include -#endif -#ifndef INCLUDED_native_display_TouchInfo -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_FocusEvent -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_JoystickEvent -#include -#endif -#ifndef INCLUDED_native_events_KeyboardEvent -#include -#endif -#ifndef INCLUDED_native_events_MouseEvent -#include -#endif -#ifndef INCLUDED_native_events_TouchEvent -#include -#endif -#ifndef INCLUDED_native_geom_Point -#include -#endif -#ifndef INCLUDED_native_geom_Rectangle -#include -#endif -#ifndef INCLUDED_native_media_SoundChannel -#include -#endif -#ifndef INCLUDED_native_net_URLLoader -#include -#endif -namespace native{ -namespace display{ - -Void Stage_obj::__construct(Dynamic inHandle,int inWidth,int inHeight) -{ -HX_STACK_PUSH("Stage::new","native/display/Stage.hx",86); -{ - HX_STACK_LINE(88) - super::__construct(inHandle,HX_CSTRING("Stage")); - HX_STACK_LINE(90) - this->nmeMouseOverObjects = Array_obj< ::native::display::InteractiveObject >::__new(); - HX_STACK_LINE(91) - this->nmeFocusOverObjects = Array_obj< ::native::display::InteractiveObject >::__new(); - HX_STACK_LINE(92) - this->active = true; - HX_STACK_LINE(93) - this->pauseWhenDeactivated = true; - HX_STACK_LINE(98) - this->renderRequest = null(); - HX_STACK_LINE(101) - ::native::display::Stage_obj::nme_set_stage_handler(this->nmeHandle,this->nmeProcessStageEvent_dyn(),inWidth,inHeight); - HX_STACK_LINE(102) - this->nmeInvalid = false; - HX_STACK_LINE(103) - this->nmeLastRender = (int)0; - HX_STACK_LINE(104) - this->nmeLastDown = Array_obj< ::native::display::InteractiveObject >::__new(); - HX_STACK_LINE(105) - this->nmeLastClickTime = 0.0; - HX_STACK_LINE(106) - this->set_frameRate((int)100); - HX_STACK_LINE(107) - this->nmeTouchInfo = ::IntHash_obj::__new(); - HX_STACK_LINE(108) - this->nmeJoyAxisData = ::IntHash_obj::__new(); - HX_STACK_LINE(110) - this->stage3Ds = Array_obj< ::native::display::Stage3D >::__new(); - HX_STACK_LINE(111) - this->stage3Ds->push(::native::display::Stage3D_obj::__new()); -} -; - return null(); -} - -Stage_obj::~Stage_obj() { } - -Dynamic Stage_obj::__CreateEmpty() { return new Stage_obj; } -hx::ObjectPtr< Stage_obj > Stage_obj::__new(Dynamic inHandle,int inWidth,int inHeight) -{ hx::ObjectPtr< Stage_obj > result = new Stage_obj(); - result->__construct(inHandle,inWidth,inHeight); - return result;} - -Dynamic Stage_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Stage_obj > result = new Stage_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -int Stage_obj::get_stageWidth( ){ - HX_STACK_PUSH("Stage::get_stageWidth","native/display/Stage.hx",982); - HX_STACK_THIS(this); - HX_STACK_LINE(982) - return ::Std_obj::_int(hx::TCast< Float >::cast(::native::display::Stage_obj::nme_stage_get_stage_width(this->nmeHandle))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,get_stageWidth,return ) - -int Stage_obj::get_stageHeight( ){ - HX_STACK_PUSH("Stage::get_stageHeight","native/display/Stage.hx",975); - HX_STACK_THIS(this); - HX_STACK_LINE(975) - return ::Std_obj::_int(hx::TCast< Float >::cast(::native::display::Stage_obj::nme_stage_get_stage_height(this->nmeHandle))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,get_stageHeight,return ) - -bool Stage_obj::set_stageFocusRect( bool inVal){ - HX_STACK_PUSH("Stage::set_stageFocusRect","native/display/Stage.hx",967); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(969) - ::native::display::Stage_obj::nme_stage_set_focus_rect(this->nmeHandle,inVal); - HX_STACK_LINE(970) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,set_stageFocusRect,return ) - -bool Stage_obj::get_stageFocusRect( ){ - HX_STACK_PUSH("Stage::get_stageFocusRect","native/display/Stage.hx",966); - HX_STACK_THIS(this); - HX_STACK_LINE(966) - return ::native::display::Stage_obj::nme_stage_get_focus_rect(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,get_stageFocusRect,return ) - -::native::display::Stage Stage_obj::get_stage( ){ - HX_STACK_PUSH("Stage::get_stage","native/display/Stage.hx",959); - HX_STACK_THIS(this); - HX_STACK_LINE(959) - return hx::ObjectPtr(this); -} - - -::native::display::StageScaleMode Stage_obj::set_scaleMode( ::native::display::StageScaleMode inMode){ - HX_STACK_PUSH("Stage::set_scaleMode","native/display/Stage.hx",951); - HX_STACK_THIS(this); - HX_STACK_ARG(inMode,"inMode"); - HX_STACK_LINE(953) - ::native::display::Stage_obj::nme_stage_set_scale_mode(this->nmeHandle,inMode->__Index()); - HX_STACK_LINE(954) - return inMode; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,set_scaleMode,return ) - -::native::display::StageScaleMode Stage_obj::get_scaleMode( ){ - HX_STACK_PUSH("Stage::get_scaleMode","native/display/Stage.hx",943); - HX_STACK_THIS(this); - HX_STACK_LINE(945) - int i = ::native::display::Stage_obj::nme_stage_get_scale_mode(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(946) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::native::display::StageScaleMode >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,get_scaleMode,return ) - -::native::display::StageQuality Stage_obj::set_quality( ::native::display::StageQuality inQuality){ - HX_STACK_PUSH("Stage::set_quality","native/display/Stage.hx",935); - HX_STACK_THIS(this); - HX_STACK_ARG(inQuality,"inQuality"); - HX_STACK_LINE(937) - ::native::display::Stage_obj::nme_stage_set_quality(this->nmeHandle,inQuality->__Index()); - HX_STACK_LINE(938) - return inQuality; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,set_quality,return ) - -::native::display::StageQuality Stage_obj::get_quality( ){ - HX_STACK_PUSH("Stage::get_quality","native/display/Stage.hx",927); - HX_STACK_THIS(this); - HX_STACK_LINE(929) - int i = ::native::display::Stage_obj::nme_stage_get_quality(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(930) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::native::display::StageQuality >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,get_quality,return ) - -bool Stage_obj::get_isOpenGL( ){ - HX_STACK_PUSH("Stage::get_isOpenGL","native/display/Stage.hx",920); - HX_STACK_THIS(this); - HX_STACK_LINE(920) - return ::native::display::Stage_obj::nme_stage_is_opengl(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,get_isOpenGL,return ) - -Float Stage_obj::set_frameRate( Float inRate){ - HX_STACK_PUSH("Stage::set_frameRate","native/display/Stage.hx",911); - HX_STACK_THIS(this); - HX_STACK_ARG(inRate,"inRate"); - HX_STACK_LINE(913) - this->frameRate = inRate; - HX_STACK_LINE(914) - this->nmeFramePeriod = ( (((this->frameRate <= (int)0))) ? Float(this->frameRate) : Float((Float(1.0) / Float(this->frameRate))) ); - HX_STACK_LINE(915) - return inRate; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,set_frameRate,return ) - -::native::display::InteractiveObject Stage_obj::set_focus( ::native::display::InteractiveObject inObject){ - HX_STACK_PUSH("Stage::set_focus","native/display/Stage.hx",900); - HX_STACK_THIS(this); - HX_STACK_ARG(inObject,"inObject"); - HX_STACK_LINE(902) - if (((inObject == null()))){ - HX_STACK_LINE(903) - ::native::display::Stage_obj::nme_stage_set_focus(this->nmeHandle,null(),(int)0); - } - else{ - HX_STACK_LINE(905) - ::native::display::Stage_obj::nme_stage_set_focus(this->nmeHandle,inObject->nmeHandle,(int)0); - } - HX_STACK_LINE(906) - return inObject; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,set_focus,return ) - -::native::display::InteractiveObject Stage_obj::get_focus( ){ - HX_STACK_PUSH("Stage::get_focus","native/display/Stage.hx",891); - HX_STACK_THIS(this); - HX_STACK_LINE(893) - int id = ::native::display::Stage_obj::nme_stage_get_focus_id(this->nmeHandle); HX_STACK_VAR(id,"id"); - HX_STACK_LINE(894) - ::native::display::DisplayObject obj = this->nmeFindByID(id); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(895) - return obj; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,get_focus,return ) - -Float Stage_obj::get_dpiScale( ){ - HX_STACK_PUSH("Stage::get_dpiScale","native/display/Stage.hx",884); - HX_STACK_THIS(this); - HX_STACK_LINE(884) - return ::native::display::Stage_obj::nme_stage_get_dpi_scale(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,get_dpiScale,return ) - -::native::display::StageDisplayState Stage_obj::set_displayState( ::native::display::StageDisplayState inState){ - HX_STACK_PUSH("Stage::set_displayState","native/display/Stage.hx",876); - HX_STACK_THIS(this); - HX_STACK_ARG(inState,"inState"); - HX_STACK_LINE(878) - ::native::display::Stage_obj::nme_stage_set_display_state(this->nmeHandle,inState->__Index()); - HX_STACK_LINE(879) - return inState; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,set_displayState,return ) - -::native::display::StageDisplayState Stage_obj::get_displayState( ){ - HX_STACK_PUSH("Stage::get_displayState","native/display/Stage.hx",868); - HX_STACK_THIS(this); - HX_STACK_LINE(870) - int i = ::native::display::Stage_obj::nme_stage_get_display_state(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(871) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::native::display::StageDisplayState >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,get_displayState,return ) - -::native::display::StageAlign Stage_obj::set_align( ::native::display::StageAlign inMode){ - HX_STACK_PUSH("Stage::set_align","native/display/Stage.hx",860); - HX_STACK_THIS(this); - HX_STACK_ARG(inMode,"inMode"); - HX_STACK_LINE(862) - ::native::display::Stage_obj::nme_stage_set_align(this->nmeHandle,inMode->__Index()); - HX_STACK_LINE(863) - return inMode; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,set_align,return ) - -::native::display::StageAlign Stage_obj::get_align( ){ - HX_STACK_PUSH("Stage::get_align","native/display/Stage.hx",852); - HX_STACK_THIS(this); - HX_STACK_LINE(854) - int i = ::native::display::Stage_obj::nme_stage_get_align(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(855) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::native::display::StageAlign >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,get_align,return ) - -Void Stage_obj::showCursor( bool inShow){ -{ - HX_STACK_PUSH("Stage::showCursor","native/display/Stage.hx",838); - HX_STACK_THIS(this); - HX_STACK_ARG(inShow,"inShow"); - HX_STACK_LINE(838) - ::native::display::Stage_obj::nme_stage_show_cursor(this->nmeHandle,inShow); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,showCursor,(void)) - -Float Stage_obj::nmeUpdateNextWake( ){ - HX_STACK_PUSH("Stage::nmeUpdateNextWake","native/display/Stage.hx",801); - HX_STACK_THIS(this); - HX_STACK_LINE(804) - Float next_wake = ::haxe::Timer_obj::nmeNextWake(315000000.0); HX_STACK_VAR(next_wake,"next_wake"); - HX_STACK_LINE(806) - if (((bool((next_wake > 0.001)) && bool((::native::media::SoundChannel_obj::nmeDynamicSoundCount > (int)0))))){ - HX_STACK_LINE(807) - next_wake = 0.001; - } - HX_STACK_LINE(809) - if (((bool((next_wake > 0.02)) && bool(((bool(::native::media::SoundChannel_obj::nmeCompletePending()) || bool(::native::net::URLLoader_obj::nmeLoadPending()))))))){ - HX_STACK_LINE(809) - next_wake = ( (((bool(this->active) || bool(!(this->pauseWhenDeactivated))))) ? Float(0.020) : Float(0.500) ); - } - HX_STACK_LINE(815) - next_wake = this->nmeNextFrameDue(next_wake); - HX_STACK_LINE(816) - ::native::display::Stage_obj::nme_stage_set_next_wake(this->nmeHandle,next_wake); - HX_STACK_LINE(818) - return next_wake; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeUpdateNextWake,return ) - -Void Stage_obj::nmeStopDrag( ::native::display::Sprite sprite){ -{ - HX_STACK_PUSH("Stage::nmeStopDrag","native/display/Stage.hx",793); - HX_STACK_THIS(this); - HX_STACK_ARG(sprite,"sprite"); - HX_STACK_LINE(795) - this->nmeDragBounds = null(); - HX_STACK_LINE(796) - this->nmeDragObject = null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeStopDrag,(void)) - -Void Stage_obj::nmeStartDrag( ::native::display::Sprite sprite,bool lockCenter,::native::geom::Rectangle bounds){ -{ - HX_STACK_PUSH("Stage::nmeStartDrag","native/display/Stage.hx",764); - HX_STACK_THIS(this); - HX_STACK_ARG(sprite,"sprite"); - HX_STACK_ARG(lockCenter,"lockCenter"); - HX_STACK_ARG(bounds,"bounds"); - HX_STACK_LINE(766) - this->nmeDragBounds = ( (((bounds == null()))) ? ::native::geom::Rectangle(null()) : ::native::geom::Rectangle(bounds->clone()) ); - HX_STACK_LINE(767) - this->nmeDragObject = sprite; - HX_STACK_LINE(769) - if (((this->nmeDragObject != null()))){ - HX_STACK_LINE(769) - if ((lockCenter)){ - HX_STACK_LINE(773) - this->nmeDragOffsetX = (Float(-(this->nmeDragObject->get_width())) / Float((int)2)); - HX_STACK_LINE(774) - this->nmeDragOffsetY = (Float(-(this->nmeDragObject->get_height())) / Float((int)2)); - } - else{ - HX_STACK_LINE(778) - ::native::geom::Point mouse = ::native::geom::Point_obj::__new(this->get_mouseX(),this->get_mouseY()); HX_STACK_VAR(mouse,"mouse"); - HX_STACK_LINE(779) - ::native::display::DisplayObjectContainer p = this->nmeDragObject->get_parent(); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(780) - if (((p != null()))){ - HX_STACK_LINE(781) - mouse = p->globalToLocal(mouse); - } - HX_STACK_LINE(783) - this->nmeDragOffsetX = (this->nmeDragObject->get_x() - mouse->x); - HX_STACK_LINE(784) - this->nmeDragOffsetY = (this->nmeDragObject->get_y() - mouse->y); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Stage_obj,nmeStartDrag,(void)) - -Void Stage_obj::nmeSetActive( bool inActive){ -{ - HX_STACK_PUSH("Stage::nmeSetActive","native/display/Stage.hx",745); - HX_STACK_THIS(this); - HX_STACK_ARG(inActive,"inActive"); - HX_STACK_LINE(745) - if (((inActive != this->active))){ - HX_STACK_LINE(750) - this->active = inActive; - HX_STACK_LINE(751) - if ((!(this->active))){ - HX_STACK_LINE(752) - this->nmeLastRender = ::haxe::Timer_obj::stamp(); - } - HX_STACK_LINE(754) - ::native::events::Event evt = ::native::events::Event_obj::__new(( ((inActive)) ? ::String(::native::events::Event_obj::ACTIVATE) : ::String(::native::events::Event_obj::DEACTIVATE) ),null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(755) - this->nmeBroadcast(evt); - HX_STACK_LINE(756) - if ((inActive)){ - HX_STACK_LINE(757) - this->nmePollTimers(); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetActive,(void)) - -Void Stage_obj::nmeRender( bool inSendEnterFrame){ -{ - HX_STACK_PUSH("Stage::nmeRender","native/display/Stage.hx",723); - HX_STACK_THIS(this); - HX_STACK_ARG(inSendEnterFrame,"inSendEnterFrame"); - HX_STACK_LINE(725) - if ((!(this->active))){ - HX_STACK_LINE(726) - return null(); - } - HX_STACK_LINE(729) - if ((inSendEnterFrame)){ - HX_STACK_LINE(729) - this->nmeBroadcast(::native::events::Event_obj::__new(::native::events::Event_obj::ENTER_FRAME,null(),null())); - } - HX_STACK_LINE(733) - if ((this->nmeInvalid)){ - HX_STACK_LINE(735) - this->nmeInvalid = false; - HX_STACK_LINE(736) - this->nmeBroadcast(::native::events::Event_obj::__new(::native::events::Event_obj::RENDER,null(),null())); - } - HX_STACK_LINE(740) - ::native::display::Stage_obj::nme_render_stage(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeRender,(void)) - -Void Stage_obj::nmePollTimers( ){ -{ - HX_STACK_PUSH("Stage::nmePollTimers","native/display/Stage.hx",712); - HX_STACK_THIS(this); - HX_STACK_LINE(715) - ::haxe::Timer_obj::nmeCheckTimers(); - HX_STACK_LINE(716) - ::native::media::SoundChannel_obj::nmePollComplete(); - HX_STACK_LINE(717) - ::native::net::URLLoader_obj::nmePollData(); - HX_STACK_LINE(718) - this->nmeCheckRender(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmePollTimers,(void)) - -Void Stage_obj::nmeOnTouch( Dynamic inEvent,::String inType,::native::display::TouchInfo touchInfo){ -{ - HX_STACK_PUSH("Stage::nmeOnTouch","native/display/Stage.hx",668); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(touchInfo,"touchInfo"); - HX_STACK_LINE(670) - Array< ::native::display::InteractiveObject > stack = Array_obj< ::native::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(671) - ::native::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(673) - if (((obj != null()))){ - HX_STACK_LINE(674) - obj->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(676) - if (((stack->length > (int)0))){ - HX_STACK_LINE(678) - ::native::display::InteractiveObject obj1 = stack->__get((int)0); HX_STACK_VAR(obj1,"obj1"); - HX_STACK_LINE(679) - stack->reverse(); - HX_STACK_LINE(680) - ::native::geom::Point local = obj1->globalToLocal(::native::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true))); HX_STACK_VAR(local,"local"); - HX_STACK_LINE(681) - ::native::events::TouchEvent evt = ::native::events::TouchEvent_obj::nmeCreate(inType,inEvent,local,obj1,inEvent->__Field(HX_CSTRING("sx"),true),inEvent->__Field(HX_CSTRING("sy"),true)); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(682) - evt->touchPointID = inEvent->__Field(HX_CSTRING("value"),true); - HX_STACK_LINE(683) - evt->isPrimaryTouchPoint = (((int(inEvent->__Field(HX_CSTRING("flags"),true)) & int((int)32768))) > (int)0); - HX_STACK_LINE(685) - this->nmeCheckInOuts(evt,stack,touchInfo); - HX_STACK_LINE(686) - obj1->nmeFireEvent(evt); - HX_STACK_LINE(688) - if (((bool(evt->isPrimaryTouchPoint) && bool((inType == ::native::events::TouchEvent_obj::TOUCH_MOVE))))){ - HX_STACK_LINE(690) - if (((this->nmeDragObject != null()))){ - HX_STACK_LINE(691) - this->nmeDrag(::native::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true))); - } - HX_STACK_LINE(693) - ::native::events::MouseEvent evt1 = ::native::events::MouseEvent_obj::nmeCreate(::native::events::MouseEvent_obj::MOUSE_MOVE,inEvent,local,obj1); HX_STACK_VAR(evt1,"evt1"); - HX_STACK_LINE(694) - obj1->nmeFireEvent(evt1); - } - } - else{ - HX_STACK_LINE(701) - ::native::events::TouchEvent evt = ::native::events::TouchEvent_obj::nmeCreate(inType,inEvent,::native::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true)),null(),inEvent->__Field(HX_CSTRING("sx"),true),inEvent->__Field(HX_CSTRING("sy"),true)); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(702) - evt->touchPointID = inEvent->__Field(HX_CSTRING("value"),true); - HX_STACK_LINE(703) - evt->isPrimaryTouchPoint = (((int(inEvent->__Field(HX_CSTRING("flags"),true)) & int((int)32768))) > (int)0); - HX_STACK_LINE(705) - this->nmeCheckInOuts(evt,stack,touchInfo); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Stage_obj,nmeOnTouch,(void)) - -Void Stage_obj::nmeOnResize( Float inW,Float inH){ -{ - HX_STACK_PUSH("Stage::nmeOnResize","native/display/Stage.hx",660); - HX_STACK_THIS(this); - HX_STACK_ARG(inW,"inW"); - HX_STACK_ARG(inH,"inH"); - HX_STACK_LINE(662) - ::native::events::Event evt = ::native::events::Event_obj::__new(::native::events::Event_obj::RESIZE,null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(663) - this->nmeDispatchEvent(evt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Stage_obj,nmeOnResize,(void)) - -Void Stage_obj::nmeOnMouse( Dynamic inEvent,::String inType,bool inFromMouse){ -{ - HX_STACK_PUSH("Stage::nmeOnMouse","native/display/Stage.hx",562); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(inFromMouse,"inFromMouse"); - HX_STACK_LINE(564) - ::String type = inType; HX_STACK_VAR(type,"type"); - HX_STACK_LINE(565) - int button = inEvent->__Field(HX_CSTRING("value"),true); HX_STACK_VAR(button,"button"); - HX_STACK_LINE(567) - if ((!(inFromMouse))){ - HX_STACK_LINE(568) - button = (int)0; - } - HX_STACK_LINE(570) - int wheel = (int)0; HX_STACK_VAR(wheel,"wheel"); - HX_STACK_LINE(572) - if (((inType == ::native::events::MouseEvent_obj::MOUSE_DOWN))){ - HX_STACK_LINE(574) - if (((button > (int)2))){ - HX_STACK_LINE(575) - return null(); - } - HX_STACK_LINE(576) - type = ::native::display::Stage_obj::sDownEvents->__get(button); - } - else{ - HX_STACK_LINE(578) - if (((inType == ::native::events::MouseEvent_obj::MOUSE_UP))){ - HX_STACK_LINE(578) - if (((button > (int)2))){ - HX_STACK_LINE(582) - type = ::native::events::MouseEvent_obj::MOUSE_WHEEL; - HX_STACK_LINE(583) - wheel = ( (((button == (int)3))) ? int((int)1) : int((int)-1) ); - } - else{ - HX_STACK_LINE(585) - type = ::native::display::Stage_obj::sUpEvents->__get(button); - } - } - } - HX_STACK_LINE(593) - if (((this->nmeDragObject != null()))){ - HX_STACK_LINE(594) - this->nmeDrag(::native::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true))); - } - HX_STACK_LINE(596) - Array< ::native::display::InteractiveObject > stack = Array_obj< ::native::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(597) - ::native::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(599) - if (((obj != null()))){ - HX_STACK_LINE(600) - obj->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(602) - ::native::geom::Point local = null(); HX_STACK_VAR(local,"local"); - HX_STACK_LINE(603) - if (((stack->length > (int)0))){ - HX_STACK_LINE(605) - ::native::display::InteractiveObject obj1 = stack->__get((int)0); HX_STACK_VAR(obj1,"obj1"); - HX_STACK_LINE(606) - stack->reverse(); - HX_STACK_LINE(607) - local = obj1->globalToLocal(::native::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true))); - HX_STACK_LINE(608) - ::native::events::MouseEvent evt = ::native::events::MouseEvent_obj::nmeCreate(type,inEvent,local,obj1); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(609) - evt->delta = wheel; - HX_STACK_LINE(610) - if ((inFromMouse)){ - HX_STACK_LINE(611) - this->nmeCheckInOuts(evt,stack,null()); - } - HX_STACK_LINE(612) - obj1->nmeFireEvent(evt); - } - else{ - HX_STACK_LINE(617) - local = ::native::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true)); - HX_STACK_LINE(618) - ::native::events::MouseEvent evt = ::native::events::MouseEvent_obj::nmeCreate(type,inEvent,local,null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(619) - evt->delta = wheel; - HX_STACK_LINE(620) - if ((inFromMouse)){ - HX_STACK_LINE(621) - this->nmeCheckInOuts(evt,stack,null()); - } - } - HX_STACK_LINE(625) - ::native::display::InteractiveObject click_obj = ( (((stack->length > (int)0))) ? ::native::display::InteractiveObject(stack->__get((stack->length - (int)1))) : ::native::display::InteractiveObject(hx::ObjectPtr(this)) ); HX_STACK_VAR(click_obj,"click_obj"); - HX_STACK_LINE(626) - if (((bool((inType == ::native::events::MouseEvent_obj::MOUSE_DOWN)) && bool((button < (int)3))))){ - HX_STACK_LINE(626) - this->nmeLastDown[button] = click_obj; - } - else{ - HX_STACK_LINE(630) - if (((bool((inType == ::native::events::MouseEvent_obj::MOUSE_UP)) && bool((button < (int)3))))){ - HX_STACK_LINE(632) - if (((click_obj == this->nmeLastDown->__get(button)))){ - HX_STACK_LINE(634) - ::native::events::MouseEvent evt = ::native::events::MouseEvent_obj::nmeCreate(::native::display::Stage_obj::sClickEvents->__get(button),inEvent,local,click_obj); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(635) - click_obj->nmeFireEvent(evt); - HX_STACK_LINE(637) - if (((bool((button == (int)0)) && bool(click_obj->doubleClickEnabled)))){ - HX_STACK_LINE(639) - Float now = ::haxe::Timer_obj::stamp(); HX_STACK_VAR(now,"now"); - HX_STACK_LINE(640) - if ((((now - this->nmeLastClickTime) < 0.25))){ - HX_STACK_LINE(642) - ::native::events::MouseEvent evt1 = ::native::events::MouseEvent_obj::nmeCreate(::native::events::MouseEvent_obj::DOUBLE_CLICK,inEvent,local,click_obj); HX_STACK_VAR(evt1,"evt1"); - HX_STACK_LINE(643) - click_obj->nmeFireEvent(evt1); - } - HX_STACK_LINE(647) - this->nmeLastClickTime = now; - } - } - HX_STACK_LINE(653) - this->nmeLastDown[button] = null(); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Stage_obj,nmeOnMouse,(void)) - -Void Stage_obj::nmeOnKey( Dynamic inEvent,::String inType){ -{ - HX_STACK_PUSH("Stage::nmeOnKey","native/display/Stage.hx",539); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_LINE(541) - Array< ::native::display::InteractiveObject > stack = Array_obj< ::native::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(542) - ::native::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(544) - if (((obj != null()))){ - HX_STACK_LINE(545) - obj->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(547) - if (((stack->length > (int)0))){ - HX_STACK_LINE(549) - ::native::display::InteractiveObject obj1 = stack->__get((int)0); HX_STACK_VAR(obj1,"obj1"); - HX_STACK_LINE(550) - int flags = inEvent->__Field(HX_CSTRING("flags"),true); HX_STACK_VAR(flags,"flags"); - HX_STACK_LINE(551) - ::native::events::KeyboardEvent evt = ::native::events::KeyboardEvent_obj::__new(inType,true,true,inEvent->__Field(HX_CSTRING("code"),true),inEvent->__Field(HX_CSTRING("value"),true),( (((((int(flags) & int(::native::display::Stage_obj::efLocationRight))) == (int)0))) ? int((int)1) : int((int)0) ),(((int(flags) & int(::native::display::Stage_obj::efCtrlDown))) != (int)0),(((int(flags) & int(::native::display::Stage_obj::efAltDown))) != (int)0),(((int(flags) & int(::native::display::Stage_obj::efShiftDown))) != (int)0),null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(552) - obj1->nmeFireEvent(evt); - HX_STACK_LINE(554) - if ((evt->nmeGetIsCancelled())){ - HX_STACK_LINE(555) - inEvent->__FieldRef(HX_CSTRING("result")) = (int)1; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Stage_obj,nmeOnKey,(void)) - -Void Stage_obj::nmeOnJoystick( Dynamic inEvent,::String inType){ -{ - HX_STACK_PUSH("Stage::nmeOnJoystick","native/display/Stage.hx",470); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_LINE(472) - ::native::events::JoystickEvent evt = null(); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(474) - ::String _switch_1 = (inType); - if ( ( _switch_1==HX_CSTRING("axisMove"))){ - HX_STACK_LINE(477) - Array< Float > data = this->nmeJoyAxisData->get(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(data,"data"); - HX_STACK_LINE(478) - if (((data == null()))){ - HX_STACK_LINE(478) - data = Array_obj< Float >::__new().Add(0.0).Add(0.0).Add(0.0).Add(0.0); - } - HX_STACK_LINE(484) - Float value = (Float(inEvent->__Field(HX_CSTRING("value"),true)) / Float((int)32767)); HX_STACK_VAR(value,"value"); - HX_STACK_LINE(485) - if (((value < (int)-1))){ - HX_STACK_LINE(485) - value = (int)-1; - } - HX_STACK_LINE(487) - while(((data->length < inEvent->__Field(HX_CSTRING("code"),true)))){ - HX_STACK_LINE(487) - data->push((int)0); - } - HX_STACK_LINE(493) - data[inEvent->__Field(HX_CSTRING("code"),true)] = value; - HX_STACK_LINE(495) - evt = ::native::events::JoystickEvent_obj::__new(inType,false,false,inEvent->__Field(HX_CSTRING("id"),true),(int)0,data->__get((int)0),data->__get((int)1),data->__get((int)2)); - HX_STACK_LINE(496) - evt->axis = data->copy(); - HX_STACK_LINE(498) - this->nmeJoyAxisData->set(inEvent->__Field(HX_CSTRING("id"),true),data); - } - else if ( ( _switch_1==HX_CSTRING("ballMove"))){ - HX_STACK_LINE(500) - evt = ::native::events::JoystickEvent_obj::__new(inType,false,false,inEvent->__Field(HX_CSTRING("id"),true),inEvent->__Field(HX_CSTRING("code"),true),inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true),null()); - } - else if ( ( _switch_1==HX_CSTRING("hatMove"))){ - HX_STACK_LINE(504) - int x = (int)0; HX_STACK_VAR(x,"x"); - HX_STACK_LINE(505) - int y = (int)0; HX_STACK_VAR(y,"y"); - HX_STACK_LINE(507) - if (((((int(inEvent->__Field(HX_CSTRING("value"),true)) & int((int)1))) != (int)0))){ - HX_STACK_LINE(507) - y = (int)-1; - } - else{ - HX_STACK_LINE(511) - if (((((int(inEvent->__Field(HX_CSTRING("value"),true)) & int((int)4))) != (int)0))){ - HX_STACK_LINE(511) - y = (int)1; - } - } - HX_STACK_LINE(517) - if (((((int(inEvent->__Field(HX_CSTRING("value"),true)) & int((int)2))) != (int)0))){ - HX_STACK_LINE(517) - x = (int)1; - } - else{ - HX_STACK_LINE(521) - if (((((int(inEvent->__Field(HX_CSTRING("value"),true)) & int((int)8))) != (int)0))){ - HX_STACK_LINE(521) - x = (int)-1; - } - } - HX_STACK_LINE(527) - evt = ::native::events::JoystickEvent_obj::__new(inType,false,false,inEvent->__Field(HX_CSTRING("id"),true),inEvent->__Field(HX_CSTRING("code"),true),x,y,null()); - } - else { - HX_STACK_LINE(529) - evt = ::native::events::JoystickEvent_obj::__new(inType,false,false,inEvent->__Field(HX_CSTRING("id"),true),inEvent->__Field(HX_CSTRING("code"),true),null(),null(),null()); - } -; -; - HX_STACK_LINE(534) - this->nmeDispatchEvent(evt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Stage_obj,nmeOnJoystick,(void)) - -Void Stage_obj::nmeOnFocus( Dynamic inEvent){ -{ - HX_STACK_PUSH("Stage::nmeOnFocus","native/display/Stage.hx",440); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(442) - Array< ::native::display::InteractiveObject > stack = Array_obj< ::native::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(443) - ::native::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(445) - if (((obj != null()))){ - HX_STACK_LINE(446) - obj->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(448) - if (((bool((stack->length > (int)0)) && bool(((bool((inEvent->__Field(HX_CSTRING("value"),true) == (int)1)) || bool((inEvent->__Field(HX_CSTRING("value"),true) == (int)2)))))))){ - HX_STACK_LINE(450) - ::native::display::InteractiveObject obj1 = stack->__get((int)0); HX_STACK_VAR(obj1,"obj1"); - HX_STACK_LINE(451) - ::native::events::FocusEvent evt = ::native::events::FocusEvent_obj::__new(( (((inEvent->__Field(HX_CSTRING("value"),true) == (int)1))) ? ::String(::native::events::FocusEvent_obj::MOUSE_FOCUS_CHANGE) : ::String(::native::events::FocusEvent_obj::KEY_FOCUS_CHANGE) ),true,true,( (((this->nmeFocusOverObjects->length == (int)0))) ? ::native::display::InteractiveObject(null()) : ::native::display::InteractiveObject(this->nmeFocusOverObjects->__get((int)0)) ),(inEvent->__Field(HX_CSTRING("flags"),true) > (int)0),inEvent->__Field(HX_CSTRING("code"),true),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(452) - obj1->nmeFireEvent(evt); - HX_STACK_LINE(454) - if ((evt->nmeGetIsCancelled())){ - HX_STACK_LINE(456) - inEvent->__FieldRef(HX_CSTRING("result")) = (int)1; - HX_STACK_LINE(457) - return null(); - } - } - HX_STACK_LINE(463) - stack->reverse(); - HX_STACK_LINE(465) - this->nmeCheckFocusInOuts(inEvent,stack); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeOnFocus,(void)) - -Void Stage_obj::nmeOnChange( Dynamic inEvent){ -{ - HX_STACK_PUSH("Stage::nmeOnChange","native/display/Stage.hx",431); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(433) - ::native::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(434) - if (((obj != null()))){ - HX_STACK_LINE(435) - obj->nmeFireEvent(::native::events::Event_obj::__new(::native::events::Event_obj::CHANGE,null(),null())); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeOnChange,(void)) - -Float Stage_obj::nmeNextFrameDue( Float inOtherTimers){ - HX_STACK_PUSH("Stage::nmeNextFrameDue","native/display/Stage.hx",413); - HX_STACK_THIS(this); - HX_STACK_ARG(inOtherTimers,"inOtherTimers"); - HX_STACK_LINE(415) - if (((bool(!(this->active)) && bool(this->pauseWhenDeactivated)))){ - HX_STACK_LINE(416) - return inOtherTimers; - } - HX_STACK_LINE(418) - if (((this->frameRate > (int)0))){ - HX_STACK_LINE(420) - Float next = (((this->nmeLastRender + this->nmeFramePeriod) - ::haxe::Timer_obj::stamp()) - ::native::display::Stage_obj::nmeEarlyWakeup); HX_STACK_VAR(next,"next"); - HX_STACK_LINE(421) - if (((next < inOtherTimers))){ - HX_STACK_LINE(422) - return next; - } - } - HX_STACK_LINE(426) - return inOtherTimers; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeNextFrameDue,return ) - -Void Stage_obj::nmeDrag( ::native::geom::Point inMouse){ -{ - HX_STACK_PUSH("Stage::nmeDrag","native/display/Stage.hx",388); - HX_STACK_THIS(this); - HX_STACK_ARG(inMouse,"inMouse"); - HX_STACK_LINE(390) - ::native::display::DisplayObjectContainer p = this->nmeDragObject->get_parent(); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(391) - if (((p != null()))){ - HX_STACK_LINE(392) - inMouse = p->globalToLocal(inMouse); - } - HX_STACK_LINE(394) - Float x = (inMouse->x + this->nmeDragOffsetX); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(395) - Float y = (inMouse->y + this->nmeDragOffsetY); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(397) - if (((this->nmeDragBounds != null()))){ - HX_STACK_LINE(399) - if (((x < this->nmeDragBounds->x))){ - HX_STACK_LINE(399) - x = this->nmeDragBounds->x; - } - else{ - HX_STACK_LINE(400) - if (((x > this->nmeDragBounds->get_right()))){ - HX_STACK_LINE(400) - x = this->nmeDragBounds->get_right(); - } - } - HX_STACK_LINE(402) - if (((y < this->nmeDragBounds->y))){ - HX_STACK_LINE(402) - y = this->nmeDragBounds->y; - } - else{ - HX_STACK_LINE(403) - if (((y > this->nmeDragBounds->get_bottom()))){ - HX_STACK_LINE(403) - y = this->nmeDragBounds->get_bottom(); - } - } - } - HX_STACK_LINE(407) - this->nmeDragObject->set_x(x); - HX_STACK_LINE(408) - this->nmeDragObject->set_y(y); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeDrag,(void)) - -Dynamic Stage_obj::nmeProcessStageEvent( Dynamic inEvent){ - HX_STACK_PUSH("Stage::nmeProcessStageEvent","native/display/Stage.hx",380); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(382) - this->nmeDoProcessStageEvent(inEvent); - HX_STACK_LINE(383) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeProcessStageEvent,return ) - -Void Stage_obj::dummyTrace( ){ -{ - HX_STACK_PUSH("Stage::dummyTrace","native/display/Stage.hx",373); - HX_STACK_THIS(this); - HX_STACK_LINE(373) - ::haxe::Log_obj::trace(HX_CSTRING(""),hx::SourceInfo(HX_CSTRING("Stage.hx"),373,HX_CSTRING("native.display.Stage"),HX_CSTRING("dummyTrace"))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,dummyTrace,(void)) - -Float Stage_obj::nmeDoProcessStageEvent( Dynamic inEvent){ - HX_STACK_PUSH("Stage::nmeDoProcessStageEvent","native/display/Stage.hx",256); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(258) - Float result = 0.0; HX_STACK_VAR(result,"result"); - HX_STACK_LINE(260) - int type = ::Std_obj::_int(::Reflect_obj::field(inEvent,HX_CSTRING("type"))); HX_STACK_VAR(type,"type"); - HX_STACK_LINE(262) - switch( (int)(type)){ - case (int)2: { - HX_STACK_LINE(264) - if (((this->onKey_dyn() != null()))){ - HX_STACK_LINE(266) - this->onKey(inEvent->__Field(HX_CSTRING("code"),true),inEvent->__Field(HX_CSTRING("down"),true),inEvent->__Field(HX_CSTRING("char"),true),inEvent->__Field(HX_CSTRING("flags"),true)); - } - } - ;break; - case (int)1: { - HX_STACK_LINE(268) - this->nmeOnKey(inEvent,::native::events::KeyboardEvent_obj::KEY_DOWN); - } - ;break; - case (int)3: { - HX_STACK_LINE(271) - this->nmeOnKey(inEvent,::native::events::KeyboardEvent_obj::KEY_UP); - } - ;break; - case (int)4: { - HX_STACK_LINE(274) - this->nmeOnMouse(inEvent,::native::events::MouseEvent_obj::MOUSE_MOVE,true); - } - ;break; - case (int)5: { - HX_STACK_LINE(277) - this->nmeOnMouse(inEvent,::native::events::MouseEvent_obj::MOUSE_DOWN,true); - } - ;break; - case (int)6: { - HX_STACK_LINE(280) - this->nmeOnMouse(inEvent,::native::events::MouseEvent_obj::CLICK,true); - } - ;break; - case (int)7: { - HX_STACK_LINE(283) - this->nmeOnMouse(inEvent,::native::events::MouseEvent_obj::MOUSE_UP,true); - } - ;break; - case (int)8: { - HX_STACK_LINE(287) - this->nmeOnResize(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true)); - HX_STACK_LINE(288) - if (((this->renderRequest_dyn() == null()))){ - HX_STACK_LINE(289) - this->nmeRender(false); - } - } - ;break; - case (int)9: { - HX_STACK_LINE(291) - this->nmePollTimers(); - } - ;break; - case (int)10: { - HX_STACK_LINE(294) - if (((this->onQuit_dyn() != null()))){ - HX_STACK_LINE(296) - this->onQuit(); - } - } - ;break; - case (int)11: { - HX_STACK_LINE(298) - this->nmeOnFocus(inEvent); - } - ;break; - case (int)12: { - HX_STACK_LINE(301) - if ((::native::display::Stage_obj::shouldRotateInterface(inEvent->__Field(HX_CSTRING("value"),true)))){ - HX_STACK_LINE(303) - inEvent->__FieldRef(HX_CSTRING("result")) = (int)2; - } - } - ;break; - case (int)14: { - HX_STACK_LINE(305) - this->nmeRender(true); - } - ;break; - case (int)15: { - HX_STACK_LINE(309) - ::native::display::TouchInfo touchInfo = ::native::display::TouchInfo_obj::__new(); HX_STACK_VAR(touchInfo,"touchInfo"); - HX_STACK_LINE(310) - this->nmeTouchInfo->set(inEvent->__Field(HX_CSTRING("value"),true),touchInfo); - HX_STACK_LINE(311) - this->nmeOnTouch(inEvent,::native::events::TouchEvent_obj::TOUCH_BEGIN,touchInfo); - HX_STACK_LINE(313) - if (((((int(inEvent->__Field(HX_CSTRING("flags"),true)) & int((int)32768))) > (int)0))){ - HX_STACK_LINE(314) - this->nmeOnMouse(inEvent,::native::events::MouseEvent_obj::MOUSE_DOWN,false); - } - } - ;break; - case (int)16: { - HX_STACK_LINE(317) - ::native::display::TouchInfo touchInfo = this->nmeTouchInfo->get(inEvent->__Field(HX_CSTRING("value"),true)); HX_STACK_VAR(touchInfo,"touchInfo"); - HX_STACK_LINE(318) - this->nmeOnTouch(inEvent,::native::events::TouchEvent_obj::TOUCH_MOVE,touchInfo); - } - ;break; - case (int)17: { - HX_STACK_LINE(321) - ::native::display::TouchInfo touchInfo = this->nmeTouchInfo->get(inEvent->__Field(HX_CSTRING("value"),true)); HX_STACK_VAR(touchInfo,"touchInfo"); - HX_STACK_LINE(322) - this->nmeOnTouch(inEvent,::native::events::TouchEvent_obj::TOUCH_END,touchInfo); - HX_STACK_LINE(323) - this->nmeTouchInfo->remove(inEvent->__Field(HX_CSTRING("value"),true)); - HX_STACK_LINE(325) - if (((((int(inEvent->__Field(HX_CSTRING("flags"),true)) & int((int)32768))) > (int)0))){ - HX_STACK_LINE(326) - this->nmeOnMouse(inEvent,::native::events::MouseEvent_obj::MOUSE_UP,false); - } - } - ;break; - case (int)18: { - } - ;break; - case (int)19: { - HX_STACK_LINE(331) - this->nmeOnChange(inEvent); - } - ;break; - case (int)20: { - HX_STACK_LINE(334) - this->nmeSetActive(true); - } - ;break; - case (int)21: { - HX_STACK_LINE(337) - this->nmeSetActive(false); - } - ;break; - case (int)22: { - HX_STACK_LINE(341) - ::native::events::Event evt = ::native::events::Event_obj::__new(::native::events::FocusEvent_obj::FOCUS_IN,null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(342) - this->nmeBroadcast(evt); - } - ;break; - case (int)23: { - HX_STACK_LINE(345) - ::native::events::Event evt = ::native::events::Event_obj::__new(::native::events::FocusEvent_obj::FOCUS_OUT,null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(346) - this->nmeBroadcast(evt); - } - ;break; - case (int)24: { - HX_STACK_LINE(348) - this->nmeOnJoystick(inEvent,HX_CSTRING("axisMove")); - } - ;break; - case (int)25: { - HX_STACK_LINE(351) - this->nmeOnJoystick(inEvent,HX_CSTRING("ballMove")); - } - ;break; - case (int)26: { - HX_STACK_LINE(354) - this->nmeOnJoystick(inEvent,HX_CSTRING("hatMove")); - } - ;break; - case (int)27: { - HX_STACK_LINE(357) - this->nmeOnJoystick(inEvent,HX_CSTRING("buttonDown")); - } - ;break; - case (int)28: { - HX_STACK_LINE(360) - this->nmeOnJoystick(inEvent,HX_CSTRING("buttonUp")); - } - ;break; - } - HX_STACK_LINE(366) - result = this->nmeUpdateNextWake(); - HX_STACK_LINE(368) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeDoProcessStageEvent,return ) - -Void Stage_obj::nmeCheckRender( ){ -{ - HX_STACK_PUSH("Stage::nmeCheckRender","native/display/Stage.hx",235); - HX_STACK_THIS(this); - HX_STACK_LINE(235) - if (((this->frameRate > (int)0))){ - HX_STACK_LINE(240) - Float now = ::haxe::Timer_obj::stamp(); HX_STACK_VAR(now,"now"); - HX_STACK_LINE(241) - if (((now >= (this->nmeLastRender + this->nmeFramePeriod)))){ - HX_STACK_LINE(243) - this->nmeLastRender = now; - HX_STACK_LINE(244) - if (((this->renderRequest_dyn() != null()))){ - HX_STACK_LINE(245) - this->renderRequest(); - } - else{ - HX_STACK_LINE(247) - this->nmeRender(true); - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeCheckRender,(void)) - -bool Stage_obj::nmeCheckInOuts( ::native::events::MouseEvent inEvent,Array< ::native::display::InteractiveObject > inStack,::native::display::TouchInfo touchInfo){ - HX_STACK_PUSH("Stage::nmeCheckInOuts","native/display/Stage.hx",179); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inStack,"inStack"); - HX_STACK_ARG(touchInfo,"touchInfo"); - HX_STACK_LINE(181) - Array< ::native::display::InteractiveObject > prev = ( (((touchInfo == null()))) ? Array< ::native::display::InteractiveObject >(this->nmeMouseOverObjects) : Array< ::native::display::InteractiveObject >(touchInfo->touchOverObjects) ); HX_STACK_VAR(prev,"prev"); - HX_STACK_LINE(182) - Array< ::String > events = ( (((touchInfo == null()))) ? Array< ::String >(::native::display::Stage_obj::nmeMouseChanges) : Array< ::String >(::native::display::Stage_obj::nmeTouchChanges) ); HX_STACK_VAR(events,"events"); - HX_STACK_LINE(184) - int new_n = inStack->length; HX_STACK_VAR(new_n,"new_n"); - HX_STACK_LINE(185) - ::native::display::InteractiveObject new_obj = ( (((new_n > (int)0))) ? ::native::display::InteractiveObject(inStack->__get((new_n - (int)1))) : ::native::display::InteractiveObject(null()) ); HX_STACK_VAR(new_obj,"new_obj"); - HX_STACK_LINE(186) - int old_n = prev->length; HX_STACK_VAR(old_n,"old_n"); - HX_STACK_LINE(187) - ::native::display::InteractiveObject old_obj = ( (((old_n > (int)0))) ? ::native::display::InteractiveObject(prev->__get((old_n - (int)1))) : ::native::display::InteractiveObject(null()) ); HX_STACK_VAR(old_obj,"old_obj"); - HX_STACK_LINE(189) - if (((new_obj != old_obj))){ - HX_STACK_LINE(192) - if (((old_obj != null()))){ - HX_STACK_LINE(193) - old_obj->nmeFireEvent(inEvent->nmeCreateSimilar(events->__get((int)0),new_obj,old_obj)); - } - HX_STACK_LINE(195) - if (((new_obj != null()))){ - HX_STACK_LINE(196) - new_obj->nmeFireEvent(inEvent->nmeCreateSimilar(events->__get((int)1),old_obj,null())); - } - HX_STACK_LINE(199) - int common = (int)0; HX_STACK_VAR(common,"common"); - HX_STACK_LINE(200) - while(((bool((bool((common < new_n)) && bool((common < old_n)))) && bool((inStack->__get(common) == prev->__get(common)))))){ - HX_STACK_LINE(201) - (common)++; - } - HX_STACK_LINE(203) - ::native::events::MouseEvent rollOut = inEvent->nmeCreateSimilar(events->__get((int)2),new_obj,old_obj); HX_STACK_VAR(rollOut,"rollOut"); - HX_STACK_LINE(204) - int i = (old_n - (int)1); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(205) - while(((i >= common))){ - HX_STACK_LINE(207) - prev->__get(i)->nmeDispatchEvent(rollOut); - HX_STACK_LINE(208) - (i)--; - } - HX_STACK_LINE(212) - ::native::events::MouseEvent rollOver = inEvent->nmeCreateSimilar(events->__get((int)3),old_obj,null()); HX_STACK_VAR(rollOver,"rollOver"); - HX_STACK_LINE(213) - int i1 = (new_n - (int)1); HX_STACK_VAR(i1,"i1"); - HX_STACK_LINE(214) - while(((i1 >= common))){ - HX_STACK_LINE(216) - inStack->__get(i1)->nmeDispatchEvent(rollOver); - HX_STACK_LINE(217) - (i1)--; - } - HX_STACK_LINE(221) - if (((touchInfo == null()))){ - HX_STACK_LINE(222) - this->nmeMouseOverObjects = inStack; - } - else{ - HX_STACK_LINE(224) - touchInfo->touchOverObjects = inStack; - } - HX_STACK_LINE(226) - return false; - } - HX_STACK_LINE(230) - return true; -} - - -HX_DEFINE_DYNAMIC_FUNC3(Stage_obj,nmeCheckInOuts,return ) - -Void Stage_obj::nmeCheckFocusInOuts( Dynamic inEvent,Array< ::native::display::InteractiveObject > inStack){ -{ - HX_STACK_PUSH("Stage::nmeCheckFocusInOuts","native/display/Stage.hx",137); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inStack,"inStack"); - HX_STACK_LINE(140) - int new_n = inStack->length; HX_STACK_VAR(new_n,"new_n"); - HX_STACK_LINE(141) - ::native::display::InteractiveObject new_obj = ( (((new_n > (int)0))) ? ::native::display::InteractiveObject(inStack->__get((new_n - (int)1))) : ::native::display::InteractiveObject(null()) ); HX_STACK_VAR(new_obj,"new_obj"); - HX_STACK_LINE(142) - int old_n = this->nmeFocusOverObjects->length; HX_STACK_VAR(old_n,"old_n"); - HX_STACK_LINE(143) - ::native::display::InteractiveObject old_obj = ( (((old_n > (int)0))) ? ::native::display::InteractiveObject(this->nmeFocusOverObjects->__get((old_n - (int)1))) : ::native::display::InteractiveObject(null()) ); HX_STACK_VAR(old_obj,"old_obj"); - HX_STACK_LINE(145) - if (((new_obj != old_obj))){ - HX_STACK_LINE(148) - int common = (int)0; HX_STACK_VAR(common,"common"); - HX_STACK_LINE(149) - while(((bool((bool((common < new_n)) && bool((common < old_n)))) && bool((inStack->__get(common) == this->nmeFocusOverObjects->__get(common)))))){ - HX_STACK_LINE(150) - (common)++; - } - HX_STACK_LINE(152) - ::native::events::FocusEvent focusOut = ::native::events::FocusEvent_obj::__new(::native::events::FocusEvent_obj::FOCUS_OUT,false,false,new_obj,(inEvent->__Field(HX_CSTRING("flags"),true) > (int)0),inEvent->__Field(HX_CSTRING("code"),true),null()); HX_STACK_VAR(focusOut,"focusOut"); - HX_STACK_LINE(154) - int i = (old_n - (int)1); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(155) - while(((i >= common))){ - HX_STACK_LINE(157) - this->nmeFocusOverObjects->__get(i)->nmeDispatchEvent(focusOut); - HX_STACK_LINE(158) - (i)--; - } - HX_STACK_LINE(162) - ::native::events::FocusEvent focusIn = ::native::events::FocusEvent_obj::__new(::native::events::FocusEvent_obj::FOCUS_IN,false,false,old_obj,(inEvent->__Field(HX_CSTRING("flags"),true) > (int)0),inEvent->__Field(HX_CSTRING("code"),true),null()); HX_STACK_VAR(focusIn,"focusIn"); - HX_STACK_LINE(163) - int i1 = (new_n - (int)1); HX_STACK_VAR(i1,"i1"); - HX_STACK_LINE(165) - while(((i1 >= common))){ - HX_STACK_LINE(167) - inStack->__get(i1)->nmeDispatchEvent(focusIn); - HX_STACK_LINE(168) - (i1)--; - } - HX_STACK_LINE(172) - this->nmeFocusOverObjects = inStack; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Stage_obj,nmeCheckFocusInOuts,(void)) - -Void Stage_obj::invalidate( ){ -{ - HX_STACK_PUSH("Stage::invalidate","native/display/Stage.hx",130); - HX_STACK_THIS(this); - HX_STACK_LINE(130) - this->nmeInvalid = true; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,invalidate,(void)) - -Float Stage_obj::nmeEarlyWakeup; - -int Stage_obj::OrientationPortrait; - -int Stage_obj::OrientationPortraitUpsideDown; - -int Stage_obj::OrientationLandscapeRight; - -int Stage_obj::OrientationLandscapeLeft; - -int Stage_obj::OrientationFaceUp; - -int Stage_obj::OrientationFaceDown; - -int Stage_obj::efLeftDown; - -int Stage_obj::efShiftDown; - -int Stage_obj::efCtrlDown; - -int Stage_obj::efAltDown; - -int Stage_obj::efCommandDown; - -int Stage_obj::efLocationRight; - -int Stage_obj::efNoNativeClick; - -Array< ::String > Stage_obj::nmeMouseChanges; - -Array< ::String > Stage_obj::nmeTouchChanges; - -Array< ::String > Stage_obj::sClickEvents; - -Array< ::String > Stage_obj::sDownEvents; - -Array< ::String > Stage_obj::sUpEvents; - -HX_BEGIN_DEFAULT_FUNC(__default_getOrientation,Stage_obj) -int run(){ - HX_STACK_PUSH("Stage::getOrientation","native/display/Stage.hx",116); - HX_STACK_LINE(116) - return ::native::display::Stage_obj::nme_stage_get_orientation(); -} -HX_END_LOCAL_FUNC0(return ) -HX_END_DEFAULT_FUNC - -Dynamic Stage_obj::getOrientation; - -HX_BEGIN_DEFAULT_FUNC(__default_getNormalOrientation,Stage_obj) -int run(){ - HX_STACK_PUSH("Stage::getNormalOrientation","native/display/Stage.hx",123); - HX_STACK_LINE(123) - return ::native::display::Stage_obj::nme_stage_get_normal_orientation(); -} -HX_END_LOCAL_FUNC0(return ) -HX_END_DEFAULT_FUNC - -Dynamic Stage_obj::getNormalOrientation; - -Void Stage_obj::setFixedOrientation( int inOrientation){ -{ - HX_STACK_PUSH("Stage::setFixedOrientation","native/display/Stage.hx",823); - HX_STACK_ARG(inOrientation,"inOrientation"); - HX_STACK_LINE(823) - ::native::display::Stage_obj::nme_stage_set_fixed_orientation(inOrientation); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,setFixedOrientation,(void)) - -HX_BEGIN_DEFAULT_FUNC(__default_shouldRotateInterface,Stage_obj) -bool run(int inOrientation){ - HX_STACK_PUSH("Stage::shouldRotateInterface","native/display/Stage.hx",831); - HX_STACK_ARG(inOrientation,"inOrientation"); - HX_STACK_LINE(831) - return (inOrientation == ::native::display::Stage_obj::OrientationPortrait); -} -HX_END_LOCAL_FUNC1(return ) -HX_END_DEFAULT_FUNC - -Dynamic Stage_obj::shouldRotateInterface; - -Dynamic Stage_obj::nme_set_stage_handler; - -Dynamic Stage_obj::nme_render_stage; - -Dynamic Stage_obj::nme_stage_get_focus_id; - -Dynamic Stage_obj::nme_stage_set_focus; - -Dynamic Stage_obj::nme_stage_get_focus_rect; - -Dynamic Stage_obj::nme_stage_set_focus_rect; - -Dynamic Stage_obj::nme_stage_is_opengl; - -Dynamic Stage_obj::nme_stage_get_stage_width; - -Dynamic Stage_obj::nme_stage_get_stage_height; - -Dynamic Stage_obj::nme_stage_get_dpi_scale; - -Dynamic Stage_obj::nme_stage_get_scale_mode; - -Dynamic Stage_obj::nme_stage_set_scale_mode; - -Dynamic Stage_obj::nme_stage_get_align; - -Dynamic Stage_obj::nme_stage_set_align; - -Dynamic Stage_obj::nme_stage_get_quality; - -Dynamic Stage_obj::nme_stage_set_quality; - -Dynamic Stage_obj::nme_stage_get_display_state; - -Dynamic Stage_obj::nme_stage_set_display_state; - -Dynamic Stage_obj::nme_stage_set_next_wake; - -Dynamic Stage_obj::nme_stage_request_render; - -Dynamic Stage_obj::nme_stage_show_cursor; - -Dynamic Stage_obj::nme_stage_set_fixed_orientation; - -Dynamic Stage_obj::nme_stage_get_orientation; - -Dynamic Stage_obj::nme_stage_get_normal_orientation; - - -Stage_obj::Stage_obj() -{ -} - -void Stage_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Stage); - HX_MARK_MEMBER_NAME(nmeTouchInfo,"nmeTouchInfo"); - HX_MARK_MEMBER_NAME(nmeMouseOverObjects,"nmeMouseOverObjects"); - HX_MARK_MEMBER_NAME(nmeLastRender,"nmeLastRender"); - HX_MARK_MEMBER_NAME(nmeLastDown,"nmeLastDown"); - HX_MARK_MEMBER_NAME(nmeLastClickTime,"nmeLastClickTime"); - HX_MARK_MEMBER_NAME(nmeInvalid,"nmeInvalid"); - HX_MARK_MEMBER_NAME(nmeFramePeriod,"nmeFramePeriod"); - HX_MARK_MEMBER_NAME(nmeFocusOverObjects,"nmeFocusOverObjects"); - HX_MARK_MEMBER_NAME(nmeDragOffsetY,"nmeDragOffsetY"); - HX_MARK_MEMBER_NAME(nmeDragOffsetX,"nmeDragOffsetX"); - HX_MARK_MEMBER_NAME(nmeDragObject,"nmeDragObject"); - HX_MARK_MEMBER_NAME(nmeDragBounds,"nmeDragBounds"); - HX_MARK_MEMBER_NAME(nmeJoyAxisData,"nmeJoyAxisData"); - HX_MARK_MEMBER_NAME(stage3Ds,"stage3Ds"); - HX_MARK_MEMBER_NAME(stageWidth,"stageWidth"); - HX_MARK_MEMBER_NAME(stageHeight,"stageHeight"); - HX_MARK_MEMBER_NAME(stageFocusRect,"stageFocusRect"); - HX_MARK_MEMBER_NAME(scaleMode,"scaleMode"); - HX_MARK_MEMBER_NAME(renderRequest,"renderRequest"); - HX_MARK_MEMBER_NAME(quality,"quality"); - HX_MARK_MEMBER_NAME(pauseWhenDeactivated,"pauseWhenDeactivated"); - HX_MARK_MEMBER_NAME(onQuit,"onQuit"); - HX_MARK_MEMBER_NAME(onKey,"onKey"); - HX_MARK_MEMBER_NAME(isOpenGL,"isOpenGL"); - HX_MARK_MEMBER_NAME(frameRate,"frameRate"); - HX_MARK_MEMBER_NAME(focus,"focus"); - HX_MARK_MEMBER_NAME(dpiScale,"dpiScale"); - HX_MARK_MEMBER_NAME(displayState,"displayState"); - HX_MARK_MEMBER_NAME(align,"align"); - HX_MARK_MEMBER_NAME(active,"active"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Stage_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeTouchInfo,"nmeTouchInfo"); - HX_VISIT_MEMBER_NAME(nmeMouseOverObjects,"nmeMouseOverObjects"); - HX_VISIT_MEMBER_NAME(nmeLastRender,"nmeLastRender"); - HX_VISIT_MEMBER_NAME(nmeLastDown,"nmeLastDown"); - HX_VISIT_MEMBER_NAME(nmeLastClickTime,"nmeLastClickTime"); - HX_VISIT_MEMBER_NAME(nmeInvalid,"nmeInvalid"); - HX_VISIT_MEMBER_NAME(nmeFramePeriod,"nmeFramePeriod"); - HX_VISIT_MEMBER_NAME(nmeFocusOverObjects,"nmeFocusOverObjects"); - HX_VISIT_MEMBER_NAME(nmeDragOffsetY,"nmeDragOffsetY"); - HX_VISIT_MEMBER_NAME(nmeDragOffsetX,"nmeDragOffsetX"); - HX_VISIT_MEMBER_NAME(nmeDragObject,"nmeDragObject"); - HX_VISIT_MEMBER_NAME(nmeDragBounds,"nmeDragBounds"); - HX_VISIT_MEMBER_NAME(nmeJoyAxisData,"nmeJoyAxisData"); - HX_VISIT_MEMBER_NAME(stage3Ds,"stage3Ds"); - HX_VISIT_MEMBER_NAME(stageWidth,"stageWidth"); - HX_VISIT_MEMBER_NAME(stageHeight,"stageHeight"); - HX_VISIT_MEMBER_NAME(stageFocusRect,"stageFocusRect"); - HX_VISIT_MEMBER_NAME(scaleMode,"scaleMode"); - HX_VISIT_MEMBER_NAME(renderRequest,"renderRequest"); - HX_VISIT_MEMBER_NAME(quality,"quality"); - HX_VISIT_MEMBER_NAME(pauseWhenDeactivated,"pauseWhenDeactivated"); - HX_VISIT_MEMBER_NAME(onQuit,"onQuit"); - HX_VISIT_MEMBER_NAME(onKey,"onKey"); - HX_VISIT_MEMBER_NAME(isOpenGL,"isOpenGL"); - HX_VISIT_MEMBER_NAME(frameRate,"frameRate"); - HX_VISIT_MEMBER_NAME(focus,"focus"); - HX_VISIT_MEMBER_NAME(dpiScale,"dpiScale"); - HX_VISIT_MEMBER_NAME(displayState,"displayState"); - HX_VISIT_MEMBER_NAME(align,"align"); - HX_VISIT_MEMBER_NAME(active,"active"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Stage_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"onKey") ) { return onKey; } - if (HX_FIELD_EQ(inName,"focus") ) { return inCallProp ? get_focus() : focus; } - if (HX_FIELD_EQ(inName,"align") ) { return inCallProp ? get_align() : align; } - break; - case 6: - if (HX_FIELD_EQ(inName,"onQuit") ) { return onQuit; } - if (HX_FIELD_EQ(inName,"active") ) { return active; } - break; - case 7: - if (HX_FIELD_EQ(inName,"nmeDrag") ) { return nmeDrag_dyn(); } - if (HX_FIELD_EQ(inName,"quality") ) { return inCallProp ? get_quality() : quality; } - break; - case 8: - if (HX_FIELD_EQ(inName,"nmeOnKey") ) { return nmeOnKey_dyn(); } - if (HX_FIELD_EQ(inName,"stage3Ds") ) { return stage3Ds; } - if (HX_FIELD_EQ(inName,"isOpenGL") ) { return inCallProp ? get_isOpenGL() : isOpenGL; } - if (HX_FIELD_EQ(inName,"dpiScale") ) { return inCallProp ? get_dpiScale() : dpiScale; } - break; - case 9: - if (HX_FIELD_EQ(inName,"efAltDown") ) { return efAltDown; } - if (HX_FIELD_EQ(inName,"sUpEvents") ) { return sUpEvents; } - if (HX_FIELD_EQ(inName,"get_stage") ) { return get_stage_dyn(); } - if (HX_FIELD_EQ(inName,"set_focus") ) { return set_focus_dyn(); } - if (HX_FIELD_EQ(inName,"get_focus") ) { return get_focus_dyn(); } - if (HX_FIELD_EQ(inName,"set_align") ) { return set_align_dyn(); } - if (HX_FIELD_EQ(inName,"get_align") ) { return get_align_dyn(); } - if (HX_FIELD_EQ(inName,"nmeRender") ) { return nmeRender_dyn(); } - if (HX_FIELD_EQ(inName,"scaleMode") ) { return inCallProp ? get_scaleMode() : scaleMode; } - if (HX_FIELD_EQ(inName,"frameRate") ) { return frameRate; } - break; - case 10: - if (HX_FIELD_EQ(inName,"efLeftDown") ) { return efLeftDown; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { return efCtrlDown; } - if (HX_FIELD_EQ(inName,"showCursor") ) { return showCursor_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnTouch") ) { return nmeOnTouch_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnMouse") ) { return nmeOnMouse_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnFocus") ) { return nmeOnFocus_dyn(); } - if (HX_FIELD_EQ(inName,"dummyTrace") ) { return dummyTrace_dyn(); } - if (HX_FIELD_EQ(inName,"invalidate") ) { return invalidate_dyn(); } - if (HX_FIELD_EQ(inName,"nmeInvalid") ) { return nmeInvalid; } - if (HX_FIELD_EQ(inName,"stageWidth") ) { return inCallProp ? get_stageWidth() : stageWidth; } - break; - case 11: - if (HX_FIELD_EQ(inName,"efShiftDown") ) { return efShiftDown; } - if (HX_FIELD_EQ(inName,"sDownEvents") ) { return sDownEvents; } - if (HX_FIELD_EQ(inName,"set_quality") ) { return set_quality_dyn(); } - if (HX_FIELD_EQ(inName,"get_quality") ) { return get_quality_dyn(); } - if (HX_FIELD_EQ(inName,"nmeStopDrag") ) { return nmeStopDrag_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnResize") ) { return nmeOnResize_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnChange") ) { return nmeOnChange_dyn(); } - if (HX_FIELD_EQ(inName,"nmeLastDown") ) { return nmeLastDown; } - if (HX_FIELD_EQ(inName,"stageHeight") ) { return inCallProp ? get_stageHeight() : stageHeight; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sClickEvents") ) { return sClickEvents; } - if (HX_FIELD_EQ(inName,"get_isOpenGL") ) { return get_isOpenGL_dyn(); } - if (HX_FIELD_EQ(inName,"get_dpiScale") ) { return get_dpiScale_dyn(); } - if (HX_FIELD_EQ(inName,"nmeStartDrag") ) { return nmeStartDrag_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetActive") ) { return nmeSetActive_dyn(); } - if (HX_FIELD_EQ(inName,"nmeTouchInfo") ) { return nmeTouchInfo; } - if (HX_FIELD_EQ(inName,"displayState") ) { return inCallProp ? get_displayState() : displayState; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { return efCommandDown; } - if (HX_FIELD_EQ(inName,"set_scaleMode") ) { return set_scaleMode_dyn(); } - if (HX_FIELD_EQ(inName,"get_scaleMode") ) { return get_scaleMode_dyn(); } - if (HX_FIELD_EQ(inName,"set_frameRate") ) { return set_frameRate_dyn(); } - if (HX_FIELD_EQ(inName,"nmePollTimers") ) { return nmePollTimers_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnJoystick") ) { return nmeOnJoystick_dyn(); } - if (HX_FIELD_EQ(inName,"nmeLastRender") ) { return nmeLastRender; } - if (HX_FIELD_EQ(inName,"nmeDragObject") ) { return nmeDragObject; } - if (HX_FIELD_EQ(inName,"nmeDragBounds") ) { return nmeDragBounds; } - if (HX_FIELD_EQ(inName,"renderRequest") ) { return renderRequest; } - break; - case 14: - if (HX_FIELD_EQ(inName,"nmeEarlyWakeup") ) { return nmeEarlyWakeup; } - if (HX_FIELD_EQ(inName,"getOrientation") ) { return getOrientation; } - if (HX_FIELD_EQ(inName,"get_stageWidth") ) { return get_stageWidth_dyn(); } - if (HX_FIELD_EQ(inName,"nmeCheckRender") ) { return nmeCheckRender_dyn(); } - if (HX_FIELD_EQ(inName,"nmeCheckInOuts") ) { return nmeCheckInOuts_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFramePeriod") ) { return nmeFramePeriod; } - if (HX_FIELD_EQ(inName,"nmeDragOffsetY") ) { return nmeDragOffsetY; } - if (HX_FIELD_EQ(inName,"nmeDragOffsetX") ) { return nmeDragOffsetX; } - if (HX_FIELD_EQ(inName,"nmeJoyAxisData") ) { return nmeJoyAxisData; } - if (HX_FIELD_EQ(inName,"stageFocusRect") ) { return inCallProp ? get_stageFocusRect() : stageFocusRect; } - break; - case 15: - if (HX_FIELD_EQ(inName,"efLocationRight") ) { return efLocationRight; } - if (HX_FIELD_EQ(inName,"efNoNativeClick") ) { return efNoNativeClick; } - if (HX_FIELD_EQ(inName,"nmeMouseChanges") ) { return nmeMouseChanges; } - if (HX_FIELD_EQ(inName,"nmeTouchChanges") ) { return nmeTouchChanges; } - if (HX_FIELD_EQ(inName,"get_stageHeight") ) { return get_stageHeight_dyn(); } - if (HX_FIELD_EQ(inName,"nmeNextFrameDue") ) { return nmeNextFrameDue_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_render_stage") ) { return nme_render_stage; } - if (HX_FIELD_EQ(inName,"set_displayState") ) { return set_displayState_dyn(); } - if (HX_FIELD_EQ(inName,"get_displayState") ) { return get_displayState_dyn(); } - if (HX_FIELD_EQ(inName,"nmeLastClickTime") ) { return nmeLastClickTime; } - break; - case 17: - if (HX_FIELD_EQ(inName,"OrientationFaceUp") ) { return OrientationFaceUp; } - if (HX_FIELD_EQ(inName,"nmeUpdateNextWake") ) { return nmeUpdateNextWake_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"set_stageFocusRect") ) { return set_stageFocusRect_dyn(); } - if (HX_FIELD_EQ(inName,"get_stageFocusRect") ) { return get_stageFocusRect_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"OrientationPortrait") ) { return OrientationPortrait; } - if (HX_FIELD_EQ(inName,"OrientationFaceDown") ) { return OrientationFaceDown; } - if (HX_FIELD_EQ(inName,"setFixedOrientation") ) { return setFixedOrientation_dyn(); } - if (HX_FIELD_EQ(inName,"nme_stage_set_focus") ) { return nme_stage_set_focus; } - if (HX_FIELD_EQ(inName,"nme_stage_is_opengl") ) { return nme_stage_is_opengl; } - if (HX_FIELD_EQ(inName,"nme_stage_get_align") ) { return nme_stage_get_align; } - if (HX_FIELD_EQ(inName,"nme_stage_set_align") ) { return nme_stage_set_align; } - if (HX_FIELD_EQ(inName,"nmeCheckFocusInOuts") ) { return nmeCheckFocusInOuts_dyn(); } - if (HX_FIELD_EQ(inName,"nmeMouseOverObjects") ) { return nmeMouseOverObjects; } - if (HX_FIELD_EQ(inName,"nmeFocusOverObjects") ) { return nmeFocusOverObjects; } - break; - case 20: - if (HX_FIELD_EQ(inName,"getNormalOrientation") ) { return getNormalOrientation; } - if (HX_FIELD_EQ(inName,"nmeProcessStageEvent") ) { return nmeProcessStageEvent_dyn(); } - if (HX_FIELD_EQ(inName,"pauseWhenDeactivated") ) { return pauseWhenDeactivated; } - break; - case 21: - if (HX_FIELD_EQ(inName,"shouldRotateInterface") ) { return shouldRotateInterface; } - if (HX_FIELD_EQ(inName,"nme_set_stage_handler") ) { return nme_set_stage_handler; } - if (HX_FIELD_EQ(inName,"nme_stage_get_quality") ) { return nme_stage_get_quality; } - if (HX_FIELD_EQ(inName,"nme_stage_set_quality") ) { return nme_stage_set_quality; } - if (HX_FIELD_EQ(inName,"nme_stage_show_cursor") ) { return nme_stage_show_cursor; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_stage_get_focus_id") ) { return nme_stage_get_focus_id; } - if (HX_FIELD_EQ(inName,"nmeDoProcessStageEvent") ) { return nmeDoProcessStageEvent_dyn(); } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_stage_get_dpi_scale") ) { return nme_stage_get_dpi_scale; } - if (HX_FIELD_EQ(inName,"nme_stage_set_next_wake") ) { return nme_stage_set_next_wake; } - break; - case 24: - if (HX_FIELD_EQ(inName,"OrientationLandscapeLeft") ) { return OrientationLandscapeLeft; } - if (HX_FIELD_EQ(inName,"nme_stage_get_focus_rect") ) { return nme_stage_get_focus_rect; } - if (HX_FIELD_EQ(inName,"nme_stage_set_focus_rect") ) { return nme_stage_set_focus_rect; } - if (HX_FIELD_EQ(inName,"nme_stage_get_scale_mode") ) { return nme_stage_get_scale_mode; } - if (HX_FIELD_EQ(inName,"nme_stage_set_scale_mode") ) { return nme_stage_set_scale_mode; } - if (HX_FIELD_EQ(inName,"nme_stage_request_render") ) { return nme_stage_request_render; } - break; - case 25: - if (HX_FIELD_EQ(inName,"OrientationLandscapeRight") ) { return OrientationLandscapeRight; } - if (HX_FIELD_EQ(inName,"nme_stage_get_stage_width") ) { return nme_stage_get_stage_width; } - if (HX_FIELD_EQ(inName,"nme_stage_get_orientation") ) { return nme_stage_get_orientation; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_stage_get_stage_height") ) { return nme_stage_get_stage_height; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_stage_get_display_state") ) { return nme_stage_get_display_state; } - if (HX_FIELD_EQ(inName,"nme_stage_set_display_state") ) { return nme_stage_set_display_state; } - break; - case 29: - if (HX_FIELD_EQ(inName,"OrientationPortraitUpsideDown") ) { return OrientationPortraitUpsideDown; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_stage_set_fixed_orientation") ) { return nme_stage_set_fixed_orientation; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nme_stage_get_normal_orientation") ) { return nme_stage_get_normal_orientation; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Stage_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"onKey") ) { onKey=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"focus") ) { if (inCallProp) return set_focus(inValue);focus=inValue.Cast< ::native::display::InteractiveObject >(); return inValue; } - if (HX_FIELD_EQ(inName,"align") ) { if (inCallProp) return set_align(inValue);align=inValue.Cast< ::native::display::StageAlign >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"onQuit") ) { onQuit=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"active") ) { active=inValue.Cast< bool >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"quality") ) { if (inCallProp) return set_quality(inValue);quality=inValue.Cast< ::native::display::StageQuality >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"stage3Ds") ) { stage3Ds=inValue.Cast< Array< ::native::display::Stage3D > >(); return inValue; } - if (HX_FIELD_EQ(inName,"isOpenGL") ) { isOpenGL=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"dpiScale") ) { dpiScale=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"efAltDown") ) { efAltDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"sUpEvents") ) { sUpEvents=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"scaleMode") ) { if (inCallProp) return set_scaleMode(inValue);scaleMode=inValue.Cast< ::native::display::StageScaleMode >(); return inValue; } - if (HX_FIELD_EQ(inName,"frameRate") ) { if (inCallProp) return set_frameRate(inValue);frameRate=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"efLeftDown") ) { efLeftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { efCtrlDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeInvalid") ) { nmeInvalid=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"stageWidth") ) { stageWidth=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"efShiftDown") ) { efShiftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"sDownEvents") ) { sDownEvents=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeLastDown") ) { nmeLastDown=inValue.Cast< Array< ::native::display::InteractiveObject > >(); return inValue; } - if (HX_FIELD_EQ(inName,"stageHeight") ) { stageHeight=inValue.Cast< int >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sClickEvents") ) { sClickEvents=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeTouchInfo") ) { nmeTouchInfo=inValue.Cast< ::IntHash >(); return inValue; } - if (HX_FIELD_EQ(inName,"displayState") ) { if (inCallProp) return set_displayState(inValue);displayState=inValue.Cast< ::native::display::StageDisplayState >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { efCommandDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeLastRender") ) { nmeLastRender=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDragObject") ) { nmeDragObject=inValue.Cast< ::native::display::Sprite >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDragBounds") ) { nmeDragBounds=inValue.Cast< ::native::geom::Rectangle >(); return inValue; } - if (HX_FIELD_EQ(inName,"renderRequest") ) { renderRequest=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"nmeEarlyWakeup") ) { nmeEarlyWakeup=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"getOrientation") ) { getOrientation=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeFramePeriod") ) { nmeFramePeriod=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDragOffsetY") ) { nmeDragOffsetY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDragOffsetX") ) { nmeDragOffsetX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeJoyAxisData") ) { nmeJoyAxisData=inValue.Cast< ::IntHash >(); return inValue; } - if (HX_FIELD_EQ(inName,"stageFocusRect") ) { if (inCallProp) return set_stageFocusRect(inValue);stageFocusRect=inValue.Cast< bool >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"efLocationRight") ) { efLocationRight=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efNoNativeClick") ) { efNoNativeClick=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeMouseChanges") ) { nmeMouseChanges=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeTouchChanges") ) { nmeTouchChanges=inValue.Cast< Array< ::String > >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_render_stage") ) { nme_render_stage=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeLastClickTime") ) { nmeLastClickTime=inValue.Cast< Float >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"OrientationFaceUp") ) { OrientationFaceUp=inValue.Cast< int >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"OrientationPortrait") ) { OrientationPortrait=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"OrientationFaceDown") ) { OrientationFaceDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_focus") ) { nme_stage_set_focus=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_is_opengl") ) { nme_stage_is_opengl=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_align") ) { nme_stage_get_align=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_align") ) { nme_stage_set_align=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeMouseOverObjects") ) { nmeMouseOverObjects=inValue.Cast< Array< ::native::display::InteractiveObject > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeFocusOverObjects") ) { nmeFocusOverObjects=inValue.Cast< Array< ::native::display::InteractiveObject > >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"getNormalOrientation") ) { getNormalOrientation=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"pauseWhenDeactivated") ) { pauseWhenDeactivated=inValue.Cast< bool >(); return inValue; } - break; - case 21: - if (HX_FIELD_EQ(inName,"shouldRotateInterface") ) { shouldRotateInterface=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_set_stage_handler") ) { nme_set_stage_handler=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_quality") ) { nme_stage_get_quality=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_quality") ) { nme_stage_set_quality=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_show_cursor") ) { nme_stage_show_cursor=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_stage_get_focus_id") ) { nme_stage_get_focus_id=inValue.Cast< Dynamic >(); return inValue; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_stage_get_dpi_scale") ) { nme_stage_get_dpi_scale=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_next_wake") ) { nme_stage_set_next_wake=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"OrientationLandscapeLeft") ) { OrientationLandscapeLeft=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_focus_rect") ) { nme_stage_get_focus_rect=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_focus_rect") ) { nme_stage_set_focus_rect=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_scale_mode") ) { nme_stage_get_scale_mode=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_scale_mode") ) { nme_stage_set_scale_mode=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_request_render") ) { nme_stage_request_render=inValue.Cast< Dynamic >(); return inValue; } - break; - case 25: - if (HX_FIELD_EQ(inName,"OrientationLandscapeRight") ) { OrientationLandscapeRight=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_stage_width") ) { nme_stage_get_stage_width=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_orientation") ) { nme_stage_get_orientation=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_stage_get_stage_height") ) { nme_stage_get_stage_height=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_stage_get_display_state") ) { nme_stage_get_display_state=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_display_state") ) { nme_stage_set_display_state=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"OrientationPortraitUpsideDown") ) { OrientationPortraitUpsideDown=inValue.Cast< int >(); return inValue; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_stage_set_fixed_orientation") ) { nme_stage_set_fixed_orientation=inValue.Cast< Dynamic >(); return inValue; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nme_stage_get_normal_orientation") ) { nme_stage_get_normal_orientation=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Stage_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeTouchInfo")); - outFields->push(HX_CSTRING("nmeMouseOverObjects")); - outFields->push(HX_CSTRING("nmeLastRender")); - outFields->push(HX_CSTRING("nmeLastDown")); - outFields->push(HX_CSTRING("nmeLastClickTime")); - outFields->push(HX_CSTRING("nmeInvalid")); - outFields->push(HX_CSTRING("nmeFramePeriod")); - outFields->push(HX_CSTRING("nmeFocusOverObjects")); - outFields->push(HX_CSTRING("nmeDragOffsetY")); - outFields->push(HX_CSTRING("nmeDragOffsetX")); - outFields->push(HX_CSTRING("nmeDragObject")); - outFields->push(HX_CSTRING("nmeDragBounds")); - outFields->push(HX_CSTRING("nmeJoyAxisData")); - outFields->push(HX_CSTRING("stage3Ds")); - outFields->push(HX_CSTRING("stageWidth")); - outFields->push(HX_CSTRING("stageHeight")); - outFields->push(HX_CSTRING("stageFocusRect")); - outFields->push(HX_CSTRING("scaleMode")); - outFields->push(HX_CSTRING("quality")); - outFields->push(HX_CSTRING("pauseWhenDeactivated")); - outFields->push(HX_CSTRING("isOpenGL")); - outFields->push(HX_CSTRING("frameRate")); - outFields->push(HX_CSTRING("focus")); - outFields->push(HX_CSTRING("dpiScale")); - outFields->push(HX_CSTRING("displayState")); - outFields->push(HX_CSTRING("align")); - outFields->push(HX_CSTRING("active")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nmeEarlyWakeup"), - HX_CSTRING("OrientationPortrait"), - HX_CSTRING("OrientationPortraitUpsideDown"), - HX_CSTRING("OrientationLandscapeRight"), - HX_CSTRING("OrientationLandscapeLeft"), - HX_CSTRING("OrientationFaceUp"), - HX_CSTRING("OrientationFaceDown"), - HX_CSTRING("efLeftDown"), - HX_CSTRING("efShiftDown"), - HX_CSTRING("efCtrlDown"), - HX_CSTRING("efAltDown"), - HX_CSTRING("efCommandDown"), - HX_CSTRING("efLocationRight"), - HX_CSTRING("efNoNativeClick"), - HX_CSTRING("nmeMouseChanges"), - HX_CSTRING("nmeTouchChanges"), - HX_CSTRING("sClickEvents"), - HX_CSTRING("sDownEvents"), - HX_CSTRING("sUpEvents"), - HX_CSTRING("getOrientation"), - HX_CSTRING("getNormalOrientation"), - HX_CSTRING("setFixedOrientation"), - HX_CSTRING("shouldRotateInterface"), - HX_CSTRING("nme_set_stage_handler"), - HX_CSTRING("nme_render_stage"), - HX_CSTRING("nme_stage_get_focus_id"), - HX_CSTRING("nme_stage_set_focus"), - HX_CSTRING("nme_stage_get_focus_rect"), - HX_CSTRING("nme_stage_set_focus_rect"), - HX_CSTRING("nme_stage_is_opengl"), - HX_CSTRING("nme_stage_get_stage_width"), - HX_CSTRING("nme_stage_get_stage_height"), - HX_CSTRING("nme_stage_get_dpi_scale"), - HX_CSTRING("nme_stage_get_scale_mode"), - HX_CSTRING("nme_stage_set_scale_mode"), - HX_CSTRING("nme_stage_get_align"), - HX_CSTRING("nme_stage_set_align"), - HX_CSTRING("nme_stage_get_quality"), - HX_CSTRING("nme_stage_set_quality"), - HX_CSTRING("nme_stage_get_display_state"), - HX_CSTRING("nme_stage_set_display_state"), - HX_CSTRING("nme_stage_set_next_wake"), - HX_CSTRING("nme_stage_request_render"), - HX_CSTRING("nme_stage_show_cursor"), - HX_CSTRING("nme_stage_set_fixed_orientation"), - HX_CSTRING("nme_stage_get_orientation"), - HX_CSTRING("nme_stage_get_normal_orientation"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("get_stageWidth"), - HX_CSTRING("get_stageHeight"), - HX_CSTRING("set_stageFocusRect"), - HX_CSTRING("get_stageFocusRect"), - HX_CSTRING("get_stage"), - HX_CSTRING("set_scaleMode"), - HX_CSTRING("get_scaleMode"), - HX_CSTRING("set_quality"), - HX_CSTRING("get_quality"), - HX_CSTRING("get_isOpenGL"), - HX_CSTRING("set_frameRate"), - HX_CSTRING("set_focus"), - HX_CSTRING("get_focus"), - HX_CSTRING("get_dpiScale"), - HX_CSTRING("set_displayState"), - HX_CSTRING("get_displayState"), - HX_CSTRING("set_align"), - HX_CSTRING("get_align"), - HX_CSTRING("showCursor"), - HX_CSTRING("nmeUpdateNextWake"), - HX_CSTRING("nmeStopDrag"), - HX_CSTRING("nmeStartDrag"), - HX_CSTRING("nmeSetActive"), - HX_CSTRING("nmeRender"), - HX_CSTRING("nmePollTimers"), - HX_CSTRING("nmeOnTouch"), - HX_CSTRING("nmeOnResize"), - HX_CSTRING("nmeOnMouse"), - HX_CSTRING("nmeOnKey"), - HX_CSTRING("nmeOnJoystick"), - HX_CSTRING("nmeOnFocus"), - HX_CSTRING("nmeOnChange"), - HX_CSTRING("nmeNextFrameDue"), - HX_CSTRING("nmeDrag"), - HX_CSTRING("nmeProcessStageEvent"), - HX_CSTRING("dummyTrace"), - HX_CSTRING("nmeDoProcessStageEvent"), - HX_CSTRING("nmeCheckRender"), - HX_CSTRING("nmeCheckInOuts"), - HX_CSTRING("nmeCheckFocusInOuts"), - HX_CSTRING("invalidate"), - HX_CSTRING("nmeTouchInfo"), - HX_CSTRING("nmeMouseOverObjects"), - HX_CSTRING("nmeLastRender"), - HX_CSTRING("nmeLastDown"), - HX_CSTRING("nmeLastClickTime"), - HX_CSTRING("nmeInvalid"), - HX_CSTRING("nmeFramePeriod"), - HX_CSTRING("nmeFocusOverObjects"), - HX_CSTRING("nmeDragOffsetY"), - HX_CSTRING("nmeDragOffsetX"), - HX_CSTRING("nmeDragObject"), - HX_CSTRING("nmeDragBounds"), - HX_CSTRING("nmeJoyAxisData"), - HX_CSTRING("stage3Ds"), - HX_CSTRING("stageWidth"), - HX_CSTRING("stageHeight"), - HX_CSTRING("stageFocusRect"), - HX_CSTRING("scaleMode"), - HX_CSTRING("renderRequest"), - HX_CSTRING("quality"), - HX_CSTRING("pauseWhenDeactivated"), - HX_CSTRING("onQuit"), - HX_CSTRING("onKey"), - HX_CSTRING("isOpenGL"), - HX_CSTRING("frameRate"), - HX_CSTRING("focus"), - HX_CSTRING("dpiScale"), - HX_CSTRING("displayState"), - HX_CSTRING("align"), - HX_CSTRING("active"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Stage_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Stage_obj::nmeEarlyWakeup,"nmeEarlyWakeup"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationPortrait,"OrientationPortrait"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationPortraitUpsideDown,"OrientationPortraitUpsideDown"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationLandscapeRight,"OrientationLandscapeRight"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationLandscapeLeft,"OrientationLandscapeLeft"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationFaceUp,"OrientationFaceUp"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationFaceDown,"OrientationFaceDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efLeftDown,"efLeftDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efShiftDown,"efShiftDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efCtrlDown,"efCtrlDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efAltDown,"efAltDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efCommandDown,"efCommandDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efLocationRight,"efLocationRight"); - HX_MARK_MEMBER_NAME(Stage_obj::efNoNativeClick,"efNoNativeClick"); - HX_MARK_MEMBER_NAME(Stage_obj::nmeMouseChanges,"nmeMouseChanges"); - HX_MARK_MEMBER_NAME(Stage_obj::nmeTouchChanges,"nmeTouchChanges"); - HX_MARK_MEMBER_NAME(Stage_obj::sClickEvents,"sClickEvents"); - HX_MARK_MEMBER_NAME(Stage_obj::sDownEvents,"sDownEvents"); - HX_MARK_MEMBER_NAME(Stage_obj::sUpEvents,"sUpEvents"); - HX_MARK_MEMBER_NAME(Stage_obj::getOrientation,"getOrientation"); - HX_MARK_MEMBER_NAME(Stage_obj::getNormalOrientation,"getNormalOrientation"); - HX_MARK_MEMBER_NAME(Stage_obj::shouldRotateInterface,"shouldRotateInterface"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_set_stage_handler,"nme_set_stage_handler"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_render_stage,"nme_render_stage"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_focus_id,"nme_stage_get_focus_id"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_focus,"nme_stage_set_focus"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_focus_rect,"nme_stage_get_focus_rect"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_focus_rect,"nme_stage_set_focus_rect"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_is_opengl,"nme_stage_is_opengl"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_stage_width,"nme_stage_get_stage_width"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_stage_height,"nme_stage_get_stage_height"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_dpi_scale,"nme_stage_get_dpi_scale"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_scale_mode,"nme_stage_get_scale_mode"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_scale_mode,"nme_stage_set_scale_mode"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_align,"nme_stage_get_align"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_align,"nme_stage_set_align"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_quality,"nme_stage_get_quality"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_quality,"nme_stage_set_quality"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_display_state,"nme_stage_get_display_state"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_display_state,"nme_stage_set_display_state"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_next_wake,"nme_stage_set_next_wake"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_request_render,"nme_stage_request_render"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_show_cursor,"nme_stage_show_cursor"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_fixed_orientation,"nme_stage_set_fixed_orientation"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_orientation,"nme_stage_get_orientation"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_normal_orientation,"nme_stage_get_normal_orientation"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Stage_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Stage_obj::nmeEarlyWakeup,"nmeEarlyWakeup"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationPortrait,"OrientationPortrait"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationPortraitUpsideDown,"OrientationPortraitUpsideDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationLandscapeRight,"OrientationLandscapeRight"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationLandscapeLeft,"OrientationLandscapeLeft"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationFaceUp,"OrientationFaceUp"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationFaceDown,"OrientationFaceDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efLeftDown,"efLeftDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efShiftDown,"efShiftDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efCtrlDown,"efCtrlDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efAltDown,"efAltDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efCommandDown,"efCommandDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efLocationRight,"efLocationRight"); - HX_VISIT_MEMBER_NAME(Stage_obj::efNoNativeClick,"efNoNativeClick"); - HX_VISIT_MEMBER_NAME(Stage_obj::nmeMouseChanges,"nmeMouseChanges"); - HX_VISIT_MEMBER_NAME(Stage_obj::nmeTouchChanges,"nmeTouchChanges"); - HX_VISIT_MEMBER_NAME(Stage_obj::sClickEvents,"sClickEvents"); - HX_VISIT_MEMBER_NAME(Stage_obj::sDownEvents,"sDownEvents"); - HX_VISIT_MEMBER_NAME(Stage_obj::sUpEvents,"sUpEvents"); - HX_VISIT_MEMBER_NAME(Stage_obj::getOrientation,"getOrientation"); - HX_VISIT_MEMBER_NAME(Stage_obj::getNormalOrientation,"getNormalOrientation"); - HX_VISIT_MEMBER_NAME(Stage_obj::shouldRotateInterface,"shouldRotateInterface"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_set_stage_handler,"nme_set_stage_handler"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_render_stage,"nme_render_stage"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_focus_id,"nme_stage_get_focus_id"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_focus,"nme_stage_set_focus"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_focus_rect,"nme_stage_get_focus_rect"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_focus_rect,"nme_stage_set_focus_rect"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_is_opengl,"nme_stage_is_opengl"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_stage_width,"nme_stage_get_stage_width"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_stage_height,"nme_stage_get_stage_height"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_dpi_scale,"nme_stage_get_dpi_scale"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_scale_mode,"nme_stage_get_scale_mode"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_scale_mode,"nme_stage_set_scale_mode"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_align,"nme_stage_get_align"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_align,"nme_stage_set_align"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_quality,"nme_stage_get_quality"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_quality,"nme_stage_set_quality"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_display_state,"nme_stage_get_display_state"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_display_state,"nme_stage_set_display_state"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_next_wake,"nme_stage_set_next_wake"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_request_render,"nme_stage_request_render"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_show_cursor,"nme_stage_show_cursor"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_fixed_orientation,"nme_stage_set_fixed_orientation"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_orientation,"nme_stage_get_orientation"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_normal_orientation,"nme_stage_get_normal_orientation"); -}; - -Class Stage_obj::__mClass; - -void Stage_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.Stage"), hx::TCanCast< Stage_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Stage_obj::__boot() -{ - nmeEarlyWakeup= 0.005; - OrientationPortrait= (int)1; - OrientationPortraitUpsideDown= (int)2; - OrientationLandscapeRight= (int)3; - OrientationLandscapeLeft= (int)4; - OrientationFaceUp= (int)5; - OrientationFaceDown= (int)6; - efLeftDown= (int)1; - efShiftDown= (int)2; - efCtrlDown= (int)4; - efAltDown= (int)8; - efCommandDown= (int)16; - efLocationRight= (int)16384; - efNoNativeClick= (int)65536; - nmeMouseChanges= Array_obj< ::String >::__new().Add(::native::events::MouseEvent_obj::MOUSE_OUT).Add(::native::events::MouseEvent_obj::MOUSE_OVER).Add(::native::events::MouseEvent_obj::ROLL_OUT).Add(::native::events::MouseEvent_obj::ROLL_OVER); - nmeTouchChanges= Array_obj< ::String >::__new().Add(::native::events::TouchEvent_obj::TOUCH_OUT).Add(::native::events::TouchEvent_obj::TOUCH_OVER).Add(::native::events::TouchEvent_obj::TOUCH_ROLL_OUT).Add(::native::events::TouchEvent_obj::TOUCH_ROLL_OVER); - sClickEvents= Array_obj< ::String >::__new().Add(HX_CSTRING("click")).Add(HX_CSTRING("middleClick")).Add(HX_CSTRING("rightClick")); - sDownEvents= Array_obj< ::String >::__new().Add(HX_CSTRING("mouseDown")).Add(HX_CSTRING("middleMouseDown")).Add(HX_CSTRING("rightMouseDown")); - sUpEvents= Array_obj< ::String >::__new().Add(HX_CSTRING("mouseUp")).Add(HX_CSTRING("middleMouseUp")).Add(HX_CSTRING("rightMouseUp")); - getOrientation = new __default_getOrientation; - - getNormalOrientation = new __default_getNormalOrientation; - - shouldRotateInterface = new __default_shouldRotateInterface; - - nme_set_stage_handler= ::native::Loader_obj::load(HX_CSTRING("nme_set_stage_handler"),(int)4); - nme_render_stage= ::native::Loader_obj::load(HX_CSTRING("nme_render_stage"),(int)1); - nme_stage_get_focus_id= ::native::Loader_obj::load(HX_CSTRING("nme_stage_get_focus_id"),(int)1); - nme_stage_set_focus= ::native::Loader_obj::load(HX_CSTRING("nme_stage_set_focus"),(int)3); - nme_stage_get_focus_rect= ::native::Loader_obj::load(HX_CSTRING("nme_stage_get_focus_rect"),(int)1); - nme_stage_set_focus_rect= ::native::Loader_obj::load(HX_CSTRING("nme_stage_set_focus_rect"),(int)2); - nme_stage_is_opengl= ::native::Loader_obj::load(HX_CSTRING("nme_stage_is_opengl"),(int)1); - nme_stage_get_stage_width= ::native::Loader_obj::load(HX_CSTRING("nme_stage_get_stage_width"),(int)1); - nme_stage_get_stage_height= ::native::Loader_obj::load(HX_CSTRING("nme_stage_get_stage_height"),(int)1); - nme_stage_get_dpi_scale= ::native::Loader_obj::load(HX_CSTRING("nme_stage_get_dpi_scale"),(int)1); - nme_stage_get_scale_mode= ::native::Loader_obj::load(HX_CSTRING("nme_stage_get_scale_mode"),(int)1); - nme_stage_set_scale_mode= ::native::Loader_obj::load(HX_CSTRING("nme_stage_set_scale_mode"),(int)2); - nme_stage_get_align= ::native::Loader_obj::load(HX_CSTRING("nme_stage_get_align"),(int)1); - nme_stage_set_align= ::native::Loader_obj::load(HX_CSTRING("nme_stage_set_align"),(int)2); - nme_stage_get_quality= ::native::Loader_obj::load(HX_CSTRING("nme_stage_get_quality"),(int)1); - nme_stage_set_quality= ::native::Loader_obj::load(HX_CSTRING("nme_stage_set_quality"),(int)2); - nme_stage_get_display_state= ::native::Loader_obj::load(HX_CSTRING("nme_stage_get_display_state"),(int)1); - nme_stage_set_display_state= ::native::Loader_obj::load(HX_CSTRING("nme_stage_set_display_state"),(int)2); - nme_stage_set_next_wake= ::native::Loader_obj::load(HX_CSTRING("nme_stage_set_next_wake"),(int)2); - nme_stage_request_render= ::native::Loader_obj::load(HX_CSTRING("nme_stage_request_render"),(int)0); - nme_stage_show_cursor= ::native::Loader_obj::load(HX_CSTRING("nme_stage_show_cursor"),(int)2); - nme_stage_set_fixed_orientation= ::native::Loader_obj::load(HX_CSTRING("nme_stage_set_fixed_orientation"),(int)1); - nme_stage_get_orientation= ::native::Loader_obj::load(HX_CSTRING("nme_stage_get_orientation"),(int)0); - nme_stage_get_normal_orientation= ::native::Loader_obj::load(HX_CSTRING("nme_stage_get_normal_orientation"),(int)0); -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Stage3D.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Stage3D.cpp deleted file mode 100644 index bfd0ca4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Stage3D.cpp +++ /dev/null @@ -1,164 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_Stage3D -#include -#endif -#ifndef INCLUDED_native_display3D_Context3D -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -namespace native{ -namespace display{ - -Void Stage3D_obj::__construct() -{ -HX_STACK_PUSH("Stage3D::new","native/display/Stage3D.hx",19); -{ - HX_STACK_LINE(19) - super::__construct(null()); -} -; - return null(); -} - -Stage3D_obj::~Stage3D_obj() { } - -Dynamic Stage3D_obj::__CreateEmpty() { return new Stage3D_obj; } -hx::ObjectPtr< Stage3D_obj > Stage3D_obj::__new() -{ hx::ObjectPtr< Stage3D_obj > result = new Stage3D_obj(); - result->__construct(); - return result;} - -Dynamic Stage3D_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Stage3D_obj > result = new Stage3D_obj(); - result->__construct(); - return result;} - -Void Stage3D_obj::requestContext3D( ::String __o_context3DRenderMode){ -::String context3DRenderMode = __o_context3DRenderMode.Default(HX_CSTRING("")); - HX_STACK_PUSH("Stage3D::requestContext3D","native/display/Stage3D.hx",26); - HX_STACK_THIS(this); - HX_STACK_ARG(context3DRenderMode,"context3DRenderMode"); -{ - HX_STACK_LINE(28) - this->context3D = ::native::display3D::Context3D_obj::__new(); - HX_STACK_LINE(29) - this->dispatchEvent(::native::events::Event_obj::__new(::native::events::Event_obj::CONTEXT3D_CREATE,null(),null())); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage3D_obj,requestContext3D,(void)) - - -Stage3D_obj::Stage3D_obj() -{ -} - -void Stage3D_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Stage3D); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(visible,"visible"); - HX_MARK_MEMBER_NAME(context3D,"context3D"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Stage3D_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(visible,"visible"); - HX_VISIT_MEMBER_NAME(context3D,"context3D"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Stage3D_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 7: - if (HX_FIELD_EQ(inName,"visible") ) { return visible; } - break; - case 9: - if (HX_FIELD_EQ(inName,"context3D") ) { return context3D; } - break; - case 16: - if (HX_FIELD_EQ(inName,"requestContext3D") ) { return requestContext3D_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Stage3D_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"visible") ) { visible=inValue.Cast< bool >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"context3D") ) { context3D=inValue.Cast< ::native::display3D::Context3D >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Stage3D_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("visible")); - outFields->push(HX_CSTRING("context3D")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("requestContext3D"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("visible"), - HX_CSTRING("context3D"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Stage3D_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Stage3D_obj::__mClass,"__mClass"); -}; - -Class Stage3D_obj::__mClass; - -void Stage3D_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.Stage3D"), hx::TCanCast< Stage3D_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Stage3D_obj::__boot() -{ -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/StageAlign.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/StageAlign.cpp deleted file mode 100644 index 33843df..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/StageAlign.cpp +++ /dev/null @@ -1,127 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_StageAlign -#include -#endif -namespace native{ -namespace display{ - -::native::display::StageAlign StageAlign_obj::BOTTOM; - -::native::display::StageAlign StageAlign_obj::BOTTOM_LEFT; - -::native::display::StageAlign StageAlign_obj::BOTTOM_RIGHT; - -::native::display::StageAlign StageAlign_obj::LEFT; - -::native::display::StageAlign StageAlign_obj::RIGHT; - -::native::display::StageAlign StageAlign_obj::TOP; - -::native::display::StageAlign StageAlign_obj::TOP_LEFT; - -::native::display::StageAlign StageAlign_obj::TOP_RIGHT; - -HX_DEFINE_CREATE_ENUM(StageAlign_obj) - -int StageAlign_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BOTTOM")) return 7; - if (inName==HX_CSTRING("BOTTOM_LEFT")) return 6; - if (inName==HX_CSTRING("BOTTOM_RIGHT")) return 5; - if (inName==HX_CSTRING("LEFT")) return 4; - if (inName==HX_CSTRING("RIGHT")) return 3; - if (inName==HX_CSTRING("TOP")) return 2; - if (inName==HX_CSTRING("TOP_LEFT")) return 1; - if (inName==HX_CSTRING("TOP_RIGHT")) return 0; - return super::__FindIndex(inName); -} - -int StageAlign_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BOTTOM")) return 0; - if (inName==HX_CSTRING("BOTTOM_LEFT")) return 0; - if (inName==HX_CSTRING("BOTTOM_RIGHT")) return 0; - if (inName==HX_CSTRING("LEFT")) return 0; - if (inName==HX_CSTRING("RIGHT")) return 0; - if (inName==HX_CSTRING("TOP")) return 0; - if (inName==HX_CSTRING("TOP_LEFT")) return 0; - if (inName==HX_CSTRING("TOP_RIGHT")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic StageAlign_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BOTTOM")) return BOTTOM; - if (inName==HX_CSTRING("BOTTOM_LEFT")) return BOTTOM_LEFT; - if (inName==HX_CSTRING("BOTTOM_RIGHT")) return BOTTOM_RIGHT; - if (inName==HX_CSTRING("LEFT")) return LEFT; - if (inName==HX_CSTRING("RIGHT")) return RIGHT; - if (inName==HX_CSTRING("TOP")) return TOP; - if (inName==HX_CSTRING("TOP_LEFT")) return TOP_LEFT; - if (inName==HX_CSTRING("TOP_RIGHT")) return TOP_RIGHT; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("TOP_RIGHT"), - HX_CSTRING("TOP_LEFT"), - HX_CSTRING("TOP"), - HX_CSTRING("RIGHT"), - HX_CSTRING("LEFT"), - HX_CSTRING("BOTTOM_RIGHT"), - HX_CSTRING("BOTTOM_LEFT"), - HX_CSTRING("BOTTOM"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StageAlign_obj::BOTTOM,"BOTTOM"); - HX_MARK_MEMBER_NAME(StageAlign_obj::BOTTOM_LEFT,"BOTTOM_LEFT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::BOTTOM_RIGHT,"BOTTOM_RIGHT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::LEFT,"LEFT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::RIGHT,"RIGHT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::TOP,"TOP"); - HX_MARK_MEMBER_NAME(StageAlign_obj::TOP_LEFT,"TOP_LEFT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::TOP_RIGHT,"TOP_RIGHT"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StageAlign_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::BOTTOM,"BOTTOM"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::BOTTOM_LEFT,"BOTTOM_LEFT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::BOTTOM_RIGHT,"BOTTOM_RIGHT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::LEFT,"LEFT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::RIGHT,"RIGHT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::TOP,"TOP"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::TOP_LEFT,"TOP_LEFT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::TOP_RIGHT,"TOP_RIGHT"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class StageAlign_obj::__mClass; - -Dynamic __Create_StageAlign_obj() { return new StageAlign_obj; } - -void StageAlign_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.StageAlign"), hx::TCanCast< StageAlign_obj >,sStaticFields,sMemberFields, - &__Create_StageAlign_obj, &__Create, - &super::__SGetClass(), &CreateStageAlign_obj, sMarkStatics, sVisitStatic); -} - -void StageAlign_obj::__boot() -{ -Static(BOTTOM) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("BOTTOM"),7); -Static(BOTTOM_LEFT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("BOTTOM_LEFT"),6); -Static(BOTTOM_RIGHT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("BOTTOM_RIGHT"),5); -Static(LEFT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("LEFT"),4); -Static(RIGHT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("RIGHT"),3); -Static(TOP) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("TOP"),2); -Static(TOP_LEFT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("TOP_LEFT"),1); -Static(TOP_RIGHT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("TOP_RIGHT"),0); -} - - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/StageDisplayState.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/StageDisplayState.cpp deleted file mode 100644 index 9faddc0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/StageDisplayState.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_StageDisplayState -#include -#endif -namespace native{ -namespace display{ - -::native::display::StageDisplayState StageDisplayState_obj::FULL_SCREEN; - -::native::display::StageDisplayState StageDisplayState_obj::FULL_SCREEN_INTERACTIVE; - -::native::display::StageDisplayState StageDisplayState_obj::NORMAL; - -HX_DEFINE_CREATE_ENUM(StageDisplayState_obj) - -int StageDisplayState_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("FULL_SCREEN")) return 1; - if (inName==HX_CSTRING("FULL_SCREEN_INTERACTIVE")) return 2; - if (inName==HX_CSTRING("NORMAL")) return 0; - return super::__FindIndex(inName); -} - -int StageDisplayState_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("FULL_SCREEN")) return 0; - if (inName==HX_CSTRING("FULL_SCREEN_INTERACTIVE")) return 0; - if (inName==HX_CSTRING("NORMAL")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic StageDisplayState_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("FULL_SCREEN")) return FULL_SCREEN; - if (inName==HX_CSTRING("FULL_SCREEN_INTERACTIVE")) return FULL_SCREEN_INTERACTIVE; - if (inName==HX_CSTRING("NORMAL")) return NORMAL; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NORMAL"), - HX_CSTRING("FULL_SCREEN"), - HX_CSTRING("FULL_SCREEN_INTERACTIVE"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StageDisplayState_obj::FULL_SCREEN,"FULL_SCREEN"); - HX_MARK_MEMBER_NAME(StageDisplayState_obj::FULL_SCREEN_INTERACTIVE,"FULL_SCREEN_INTERACTIVE"); - HX_MARK_MEMBER_NAME(StageDisplayState_obj::NORMAL,"NORMAL"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StageDisplayState_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(StageDisplayState_obj::FULL_SCREEN,"FULL_SCREEN"); - HX_VISIT_MEMBER_NAME(StageDisplayState_obj::FULL_SCREEN_INTERACTIVE,"FULL_SCREEN_INTERACTIVE"); - HX_VISIT_MEMBER_NAME(StageDisplayState_obj::NORMAL,"NORMAL"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class StageDisplayState_obj::__mClass; - -Dynamic __Create_StageDisplayState_obj() { return new StageDisplayState_obj; } - -void StageDisplayState_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.StageDisplayState"), hx::TCanCast< StageDisplayState_obj >,sStaticFields,sMemberFields, - &__Create_StageDisplayState_obj, &__Create, - &super::__SGetClass(), &CreateStageDisplayState_obj, sMarkStatics, sVisitStatic); -} - -void StageDisplayState_obj::__boot() -{ -Static(FULL_SCREEN) = hx::CreateEnum< StageDisplayState_obj >(HX_CSTRING("FULL_SCREEN"),1); -Static(FULL_SCREEN_INTERACTIVE) = hx::CreateEnum< StageDisplayState_obj >(HX_CSTRING("FULL_SCREEN_INTERACTIVE"),2); -Static(NORMAL) = hx::CreateEnum< StageDisplayState_obj >(HX_CSTRING("NORMAL"),0); -} - - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/StageQuality.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/StageQuality.cpp deleted file mode 100644 index 191ec23..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/StageQuality.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_StageQuality -#include -#endif -namespace native{ -namespace display{ - -::native::display::StageQuality StageQuality_obj::BEST; - -::native::display::StageQuality StageQuality_obj::HIGH; - -::native::display::StageQuality StageQuality_obj::LOW; - -::native::display::StageQuality StageQuality_obj::MEDIUM; - -HX_DEFINE_CREATE_ENUM(StageQuality_obj) - -int StageQuality_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BEST")) return 3; - if (inName==HX_CSTRING("HIGH")) return 2; - if (inName==HX_CSTRING("LOW")) return 0; - if (inName==HX_CSTRING("MEDIUM")) return 1; - return super::__FindIndex(inName); -} - -int StageQuality_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BEST")) return 0; - if (inName==HX_CSTRING("HIGH")) return 0; - if (inName==HX_CSTRING("LOW")) return 0; - if (inName==HX_CSTRING("MEDIUM")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic StageQuality_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BEST")) return BEST; - if (inName==HX_CSTRING("HIGH")) return HIGH; - if (inName==HX_CSTRING("LOW")) return LOW; - if (inName==HX_CSTRING("MEDIUM")) return MEDIUM; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("LOW"), - HX_CSTRING("MEDIUM"), - HX_CSTRING("HIGH"), - HX_CSTRING("BEST"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StageQuality_obj::BEST,"BEST"); - HX_MARK_MEMBER_NAME(StageQuality_obj::HIGH,"HIGH"); - HX_MARK_MEMBER_NAME(StageQuality_obj::LOW,"LOW"); - HX_MARK_MEMBER_NAME(StageQuality_obj::MEDIUM,"MEDIUM"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StageQuality_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(StageQuality_obj::BEST,"BEST"); - HX_VISIT_MEMBER_NAME(StageQuality_obj::HIGH,"HIGH"); - HX_VISIT_MEMBER_NAME(StageQuality_obj::LOW,"LOW"); - HX_VISIT_MEMBER_NAME(StageQuality_obj::MEDIUM,"MEDIUM"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class StageQuality_obj::__mClass; - -Dynamic __Create_StageQuality_obj() { return new StageQuality_obj; } - -void StageQuality_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.StageQuality"), hx::TCanCast< StageQuality_obj >,sStaticFields,sMemberFields, - &__Create_StageQuality_obj, &__Create, - &super::__SGetClass(), &CreateStageQuality_obj, sMarkStatics, sVisitStatic); -} - -void StageQuality_obj::__boot() -{ -Static(BEST) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("BEST"),3); -Static(HIGH) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("HIGH"),2); -Static(LOW) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("LOW"),0); -Static(MEDIUM) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("MEDIUM"),1); -} - - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/StageScaleMode.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/StageScaleMode.cpp deleted file mode 100644 index e009934..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/StageScaleMode.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_StageScaleMode -#include -#endif -namespace native{ -namespace display{ - -::native::display::StageScaleMode StageScaleMode_obj::EXACT_FIT; - -::native::display::StageScaleMode StageScaleMode_obj::NO_BORDER; - -::native::display::StageScaleMode StageScaleMode_obj::NO_SCALE; - -::native::display::StageScaleMode StageScaleMode_obj::SHOW_ALL; - -HX_DEFINE_CREATE_ENUM(StageScaleMode_obj) - -int StageScaleMode_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("EXACT_FIT")) return 3; - if (inName==HX_CSTRING("NO_BORDER")) return 2; - if (inName==HX_CSTRING("NO_SCALE")) return 1; - if (inName==HX_CSTRING("SHOW_ALL")) return 0; - return super::__FindIndex(inName); -} - -int StageScaleMode_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("EXACT_FIT")) return 0; - if (inName==HX_CSTRING("NO_BORDER")) return 0; - if (inName==HX_CSTRING("NO_SCALE")) return 0; - if (inName==HX_CSTRING("SHOW_ALL")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic StageScaleMode_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("EXACT_FIT")) return EXACT_FIT; - if (inName==HX_CSTRING("NO_BORDER")) return NO_BORDER; - if (inName==HX_CSTRING("NO_SCALE")) return NO_SCALE; - if (inName==HX_CSTRING("SHOW_ALL")) return SHOW_ALL; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("SHOW_ALL"), - HX_CSTRING("NO_SCALE"), - HX_CSTRING("NO_BORDER"), - HX_CSTRING("EXACT_FIT"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StageScaleMode_obj::EXACT_FIT,"EXACT_FIT"); - HX_MARK_MEMBER_NAME(StageScaleMode_obj::NO_BORDER,"NO_BORDER"); - HX_MARK_MEMBER_NAME(StageScaleMode_obj::NO_SCALE,"NO_SCALE"); - HX_MARK_MEMBER_NAME(StageScaleMode_obj::SHOW_ALL,"SHOW_ALL"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::EXACT_FIT,"EXACT_FIT"); - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::NO_BORDER,"NO_BORDER"); - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::NO_SCALE,"NO_SCALE"); - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::SHOW_ALL,"SHOW_ALL"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class StageScaleMode_obj::__mClass; - -Dynamic __Create_StageScaleMode_obj() { return new StageScaleMode_obj; } - -void StageScaleMode_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.StageScaleMode"), hx::TCanCast< StageScaleMode_obj >,sStaticFields,sMemberFields, - &__Create_StageScaleMode_obj, &__Create, - &super::__SGetClass(), &CreateStageScaleMode_obj, sMarkStatics, sVisitStatic); -} - -void StageScaleMode_obj::__boot() -{ -Static(EXACT_FIT) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("EXACT_FIT"),3); -Static(NO_BORDER) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("NO_BORDER"),2); -Static(NO_SCALE) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("NO_SCALE"),1); -Static(SHOW_ALL) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("SHOW_ALL"),0); -} - - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Tilesheet.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Tilesheet.cpp deleted file mode 100644 index eb7eee0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/Tilesheet.cpp +++ /dev/null @@ -1,269 +0,0 @@ -#include - -#ifndef INCLUDED_native_Loader -#include -#endif -#ifndef INCLUDED_native_display_BitmapData -#include -#endif -#ifndef INCLUDED_native_display_Graphics -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_Tilesheet -#include -#endif -#ifndef INCLUDED_native_geom_Point -#include -#endif -#ifndef INCLUDED_native_geom_Rectangle -#include -#endif -namespace native{ -namespace display{ - -Void Tilesheet_obj::__construct(::native::display::BitmapData inImage) -{ -HX_STACK_PUSH("Tilesheet::new","native/display/Tilesheet.hx",25); -{ - HX_STACK_LINE(27) - this->nmeBitmap = inImage; - HX_STACK_LINE(28) - this->nmeHandle = ::native::display::Tilesheet_obj::nme_tilesheet_create(inImage->nmeHandle); -} -; - return null(); -} - -Tilesheet_obj::~Tilesheet_obj() { } - -Dynamic Tilesheet_obj::__CreateEmpty() { return new Tilesheet_obj; } -hx::ObjectPtr< Tilesheet_obj > Tilesheet_obj::__new(::native::display::BitmapData inImage) -{ hx::ObjectPtr< Tilesheet_obj > result = new Tilesheet_obj(); - result->__construct(inImage); - return result;} - -Dynamic Tilesheet_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Tilesheet_obj > result = new Tilesheet_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Tilesheet_obj::drawTiles( ::native::display::Graphics graphics,Array< Float > tileData,hx::Null< bool > __o_smooth,hx::Null< int > __o_flags){ -bool smooth = __o_smooth.Default(false); -int flags = __o_flags.Default(0); - HX_STACK_PUSH("Tilesheet::drawTiles","native/display/Tilesheet.hx",40); - HX_STACK_THIS(this); - HX_STACK_ARG(graphics,"graphics"); - HX_STACK_ARG(tileData,"tileData"); - HX_STACK_ARG(smooth,"smooth"); - HX_STACK_ARG(flags,"flags"); -{ - HX_STACK_LINE(40) - graphics->drawTiles(hx::ObjectPtr(this),tileData,smooth,flags); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Tilesheet_obj,drawTiles,(void)) - -Void Tilesheet_obj::addTileRect( ::native::geom::Rectangle rectangle,::native::geom::Point centerPoint){ -{ - HX_STACK_PUSH("Tilesheet::addTileRect","native/display/Tilesheet.hx",33); - HX_STACK_THIS(this); - HX_STACK_ARG(rectangle,"rectangle"); - HX_STACK_ARG(centerPoint,"centerPoint"); - HX_STACK_LINE(33) - ::native::display::Tilesheet_obj::nme_tilesheet_add_rect(this->nmeHandle,rectangle,centerPoint); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Tilesheet_obj,addTileRect,(void)) - -int Tilesheet_obj::TILE_SCALE; - -int Tilesheet_obj::TILE_ROTATION; - -int Tilesheet_obj::TILE_RGB; - -int Tilesheet_obj::TILE_ALPHA; - -int Tilesheet_obj::TILE_TRANS_2x2; - -int Tilesheet_obj::TILE_BLEND_NORMAL; - -int Tilesheet_obj::TILE_BLEND_ADD; - -Dynamic Tilesheet_obj::nme_tilesheet_create; - -Dynamic Tilesheet_obj::nme_tilesheet_add_rect; - - -Tilesheet_obj::Tilesheet_obj() -{ -} - -void Tilesheet_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Tilesheet); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(nmeBitmap,"nmeBitmap"); - HX_MARK_END_CLASS(); -} - -void Tilesheet_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(nmeBitmap,"nmeBitmap"); -} - -Dynamic Tilesheet_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"TILE_RGB") ) { return TILE_RGB; } - break; - case 9: - if (HX_FIELD_EQ(inName,"drawTiles") ) { return drawTiles_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - if (HX_FIELD_EQ(inName,"nmeBitmap") ) { return nmeBitmap; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TILE_SCALE") ) { return TILE_SCALE; } - if (HX_FIELD_EQ(inName,"TILE_ALPHA") ) { return TILE_ALPHA; } - break; - case 11: - if (HX_FIELD_EQ(inName,"addTileRect") ) { return addTileRect_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"TILE_ROTATION") ) { return TILE_ROTATION; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TILE_TRANS_2x2") ) { return TILE_TRANS_2x2; } - if (HX_FIELD_EQ(inName,"TILE_BLEND_ADD") ) { return TILE_BLEND_ADD; } - break; - case 17: - if (HX_FIELD_EQ(inName,"TILE_BLEND_NORMAL") ) { return TILE_BLEND_NORMAL; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_tilesheet_create") ) { return nme_tilesheet_create; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_tilesheet_add_rect") ) { return nme_tilesheet_add_rect; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Tilesheet_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"TILE_RGB") ) { TILE_RGB=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeBitmap") ) { nmeBitmap=inValue.Cast< ::native::display::BitmapData >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TILE_SCALE") ) { TILE_SCALE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TILE_ALPHA") ) { TILE_ALPHA=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"TILE_ROTATION") ) { TILE_ROTATION=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TILE_TRANS_2x2") ) { TILE_TRANS_2x2=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TILE_BLEND_ADD") ) { TILE_BLEND_ADD=inValue.Cast< int >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"TILE_BLEND_NORMAL") ) { TILE_BLEND_NORMAL=inValue.Cast< int >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_tilesheet_create") ) { nme_tilesheet_create=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_tilesheet_add_rect") ) { nme_tilesheet_add_rect=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Tilesheet_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("nmeBitmap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("TILE_SCALE"), - HX_CSTRING("TILE_ROTATION"), - HX_CSTRING("TILE_RGB"), - HX_CSTRING("TILE_ALPHA"), - HX_CSTRING("TILE_TRANS_2x2"), - HX_CSTRING("TILE_BLEND_NORMAL"), - HX_CSTRING("TILE_BLEND_ADD"), - HX_CSTRING("nme_tilesheet_create"), - HX_CSTRING("nme_tilesheet_add_rect"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("drawTiles"), - HX_CSTRING("addTileRect"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("nmeBitmap"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Tilesheet_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_SCALE,"TILE_SCALE"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_ROTATION,"TILE_ROTATION"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_RGB,"TILE_RGB"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_ALPHA,"TILE_ALPHA"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_TRANS_2x2,"TILE_TRANS_2x2"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_BLEND_NORMAL,"TILE_BLEND_NORMAL"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_BLEND_ADD,"TILE_BLEND_ADD"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::nme_tilesheet_create,"nme_tilesheet_create"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::nme_tilesheet_add_rect,"nme_tilesheet_add_rect"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Tilesheet_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_SCALE,"TILE_SCALE"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_ROTATION,"TILE_ROTATION"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_RGB,"TILE_RGB"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_ALPHA,"TILE_ALPHA"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_TRANS_2x2,"TILE_TRANS_2x2"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_BLEND_NORMAL,"TILE_BLEND_NORMAL"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_BLEND_ADD,"TILE_BLEND_ADD"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::nme_tilesheet_create,"nme_tilesheet_create"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::nme_tilesheet_add_rect,"nme_tilesheet_add_rect"); -}; - -Class Tilesheet_obj::__mClass; - -void Tilesheet_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.Tilesheet"), hx::TCanCast< Tilesheet_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Tilesheet_obj::__boot() -{ - TILE_SCALE= (int)1; - TILE_ROTATION= (int)2; - TILE_RGB= (int)4; - TILE_ALPHA= (int)8; - TILE_TRANS_2x2= (int)16; - TILE_BLEND_NORMAL= (int)0; - TILE_BLEND_ADD= (int)65536; - nme_tilesheet_create= ::native::Loader_obj::load(HX_CSTRING("nme_tilesheet_create"),(int)1); - nme_tilesheet_add_rect= ::native::Loader_obj::load(HX_CSTRING("nme_tilesheet_add_rect"),(int)3); -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/TouchInfo.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/TouchInfo.cpp deleted file mode 100644 index e4d38d8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/TouchInfo.cpp +++ /dev/null @@ -1,118 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_TouchInfo -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -namespace native{ -namespace display{ - -Void TouchInfo_obj::__construct() -{ -HX_STACK_PUSH("TouchInfo::new","native/display/Stage.hx",1031); -{ - HX_STACK_LINE(1031) - this->touchOverObjects = Array_obj< ::native::display::InteractiveObject >::__new(); -} -; - return null(); -} - -TouchInfo_obj::~TouchInfo_obj() { } - -Dynamic TouchInfo_obj::__CreateEmpty() { return new TouchInfo_obj; } -hx::ObjectPtr< TouchInfo_obj > TouchInfo_obj::__new() -{ hx::ObjectPtr< TouchInfo_obj > result = new TouchInfo_obj(); - result->__construct(); - return result;} - -Dynamic TouchInfo_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TouchInfo_obj > result = new TouchInfo_obj(); - result->__construct(); - return result;} - - -TouchInfo_obj::TouchInfo_obj() -{ -} - -void TouchInfo_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TouchInfo); - HX_MARK_MEMBER_NAME(touchOverObjects,"touchOverObjects"); - HX_MARK_END_CLASS(); -} - -void TouchInfo_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(touchOverObjects,"touchOverObjects"); -} - -Dynamic TouchInfo_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 16: - if (HX_FIELD_EQ(inName,"touchOverObjects") ) { return touchOverObjects; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TouchInfo_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 16: - if (HX_FIELD_EQ(inName,"touchOverObjects") ) { touchOverObjects=inValue.Cast< Array< ::native::display::InteractiveObject > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void TouchInfo_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("touchOverObjects")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("touchOverObjects"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TouchInfo_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TouchInfo_obj::__mClass,"__mClass"); -}; - -Class TouchInfo_obj::__mClass; - -void TouchInfo_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.TouchInfo"), hx::TCanCast< TouchInfo_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TouchInfo_obj::__boot() -{ -} - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/TriangleCulling.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/TriangleCulling.cpp deleted file mode 100644 index 5a3a5be..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display/TriangleCulling.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_TriangleCulling -#include -#endif -namespace native{ -namespace display{ - -::native::display::TriangleCulling TriangleCulling_obj::NEGATIVE; - -::native::display::TriangleCulling TriangleCulling_obj::NONE; - -::native::display::TriangleCulling TriangleCulling_obj::POSITIVE; - -HX_DEFINE_CREATE_ENUM(TriangleCulling_obj) - -int TriangleCulling_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("NEGATIVE")) return 2; - if (inName==HX_CSTRING("NONE")) return 1; - if (inName==HX_CSTRING("POSITIVE")) return 0; - return super::__FindIndex(inName); -} - -int TriangleCulling_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("NEGATIVE")) return 0; - if (inName==HX_CSTRING("NONE")) return 0; - if (inName==HX_CSTRING("POSITIVE")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic TriangleCulling_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("NEGATIVE")) return NEGATIVE; - if (inName==HX_CSTRING("NONE")) return NONE; - if (inName==HX_CSTRING("POSITIVE")) return POSITIVE; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("POSITIVE"), - HX_CSTRING("NONE"), - HX_CSTRING("NEGATIVE"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TriangleCulling_obj::NEGATIVE,"NEGATIVE"); - HX_MARK_MEMBER_NAME(TriangleCulling_obj::NONE,"NONE"); - HX_MARK_MEMBER_NAME(TriangleCulling_obj::POSITIVE,"POSITIVE"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TriangleCulling_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(TriangleCulling_obj::NEGATIVE,"NEGATIVE"); - HX_VISIT_MEMBER_NAME(TriangleCulling_obj::NONE,"NONE"); - HX_VISIT_MEMBER_NAME(TriangleCulling_obj::POSITIVE,"POSITIVE"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class TriangleCulling_obj::__mClass; - -Dynamic __Create_TriangleCulling_obj() { return new TriangleCulling_obj; } - -void TriangleCulling_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display.TriangleCulling"), hx::TCanCast< TriangleCulling_obj >,sStaticFields,sMemberFields, - &__Create_TriangleCulling_obj, &__Create, - &super::__SGetClass(), &CreateTriangleCulling_obj, sMarkStatics, sVisitStatic); -} - -void TriangleCulling_obj::__boot() -{ -Static(NEGATIVE) = hx::CreateEnum< TriangleCulling_obj >(HX_CSTRING("NEGATIVE"),2); -Static(NONE) = hx::CreateEnum< TriangleCulling_obj >(HX_CSTRING("NONE"),1); -Static(POSITIVE) = hx::CreateEnum< TriangleCulling_obj >(HX_CSTRING("POSITIVE"),0); -} - - -} // end namespace native -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3D.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3D.cpp deleted file mode 100644 index d8e6d5e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3D.cpp +++ /dev/null @@ -1,968 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_Lib -#include -#endif -#ifndef INCLUDED_native_display_BitmapData -#include -#endif -#ifndef INCLUDED_native_display_DirectRenderer -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_MovieClip -#include -#endif -#ifndef INCLUDED_native_display_OpenGLView -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_display_Stage -#include -#endif -#ifndef INCLUDED_native_display3D_Context3D -#include -#endif -#ifndef INCLUDED_native_display3D_Context3DCompareMode -#include -#endif -#ifndef INCLUDED_native_display3D_Context3DProgramType -#include -#endif -#ifndef INCLUDED_native_display3D_Context3DStencilAction -#include -#endif -#ifndef INCLUDED_native_display3D_Context3DTextureFormat -#include -#endif -#ifndef INCLUDED_native_display3D_Context3DTriangleFace -#include -#endif -#ifndef INCLUDED_native_display3D_Context3DVertexBufferFormat -#include -#endif -#ifndef INCLUDED_native_display3D_IndexBuffer3D -#include -#endif -#ifndef INCLUDED_native_display3D_Program3D -#include -#endif -#ifndef INCLUDED_native_display3D_VertexBuffer3D -#include -#endif -#ifndef INCLUDED_native_display3D_textures_CubeTexture -#include -#endif -#ifndef INCLUDED_native_display3D_textures_Texture -#include -#endif -#ifndef INCLUDED_native_display3D_textures_TextureBase -#include -#endif -#ifndef INCLUDED_native_errors_Error -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_geom_Matrix3D -#include -#endif -#ifndef INCLUDED_native_geom_Rectangle -#include -#endif -#ifndef INCLUDED_native_gl_Buffer -#include -#endif -#ifndef INCLUDED_native_gl_GL -#include -#endif -#ifndef INCLUDED_native_gl_Object -#include -#endif -#ifndef INCLUDED_native_gl_Program -#include -#endif -#ifndef INCLUDED_native_gl_Texture -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace native{ -namespace display3D{ - -Void Context3D_obj::__construct() -{ -HX_STACK_PUSH("Context3D::new","native/display3D/Context3D.hx",36); -{ - HX_STACK_LINE(38) - ::native::display::Stage stage = ::native::Lib_obj::get_current()->get_stage(); HX_STACK_VAR(stage,"stage"); - HX_STACK_LINE(40) - this->ogl = ::native::display::OpenGLView_obj::__new(); - HX_STACK_LINE(41) - this->ogl->set_scrollRect(::native::geom::Rectangle_obj::__new((int)0,(int)0,stage->get_stageWidth(),stage->get_stageHeight())); - HX_STACK_LINE(42) - this->ogl->set_width(stage->get_stageWidth()); - HX_STACK_LINE(43) - this->ogl->set_height(stage->get_stageHeight()); - HX_STACK_LINE(45) - stage->addChildAt(this->ogl,(int)0); -} -; - return null(); -} - -Context3D_obj::~Context3D_obj() { } - -Dynamic Context3D_obj::__CreateEmpty() { return new Context3D_obj; } -hx::ObjectPtr< Context3D_obj > Context3D_obj::__new() -{ hx::ObjectPtr< Context3D_obj > result = new Context3D_obj(); - result->__construct(); - return result;} - -Dynamic Context3D_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Context3D_obj > result = new Context3D_obj(); - result->__construct(); - return result;} - -Void Context3D_obj::updateBlendStatus( ){ -{ - HX_STACK_PUSH("Context3D::updateBlendStatus","native/display3D/Context3D.hx",373); - HX_STACK_THIS(this); - HX_STACK_LINE(373) - if ((this->blendEnabled)){ - HX_STACK_LINE(377) - ::native::gl::GL_obj::enable((int)3042); - HX_STACK_LINE(378) - ::native::gl::GL_obj::blendEquation((int)32774); - HX_STACK_LINE(379) - ::native::gl::GL_obj::blendFunc(this->blendSourceFactor,this->blendDestinationFactor); - } - else{ - HX_STACK_LINE(381) - ::native::gl::GL_obj::disable((int)3042); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Context3D_obj,updateBlendStatus,(void)) - -Void Context3D_obj::setVertexBufferAt( int index,::native::display3D::VertexBuffer3D buffer,hx::Null< int > __o_bufferOffset,::native::display3D::Context3DVertexBufferFormat format){ -int bufferOffset = __o_bufferOffset.Default(0); - HX_STACK_PUSH("Context3D::setVertexBufferAt","native/display3D/Context3D.hx",322); - HX_STACK_THIS(this); - HX_STACK_ARG(index,"index"); - HX_STACK_ARG(buffer,"buffer"); - HX_STACK_ARG(bufferOffset,"bufferOffset"); - HX_STACK_ARG(format,"format"); -{ - HX_STACK_LINE(324) - int location = ::native::gl::GL_obj::getAttribLocation(this->currentProgram->glProgram,(HX_CSTRING("va") + index)); HX_STACK_VAR(location,"location"); - HX_STACK_LINE(325) - ::native::gl::GL_obj::bindBuffer((int)34962,buffer->glBuffer); - HX_STACK_LINE(327) - int dimension = (int)4; HX_STACK_VAR(dimension,"dimension"); - HX_STACK_LINE(328) - int type = (int)5126; HX_STACK_VAR(type,"type"); - HX_STACK_LINE(329) - int numBytes = (int)4; HX_STACK_VAR(numBytes,"numBytes"); - HX_STACK_LINE(331) - if (((format == ::native::display3D::Context3DVertexBufferFormat_obj::BYTES_4_dyn()))){ - HX_STACK_LINE(333) - dimension = (int)4; - HX_STACK_LINE(334) - type = (int)5126; - HX_STACK_LINE(335) - numBytes = (int)4; - } - else{ - HX_STACK_LINE(337) - if (((format == ::native::display3D::Context3DVertexBufferFormat_obj::FLOAT_1_dyn()))){ - HX_STACK_LINE(339) - dimension = (int)1; - HX_STACK_LINE(340) - type = (int)5126; - HX_STACK_LINE(341) - numBytes = (int)4; - } - else{ - HX_STACK_LINE(343) - if (((format == ::native::display3D::Context3DVertexBufferFormat_obj::FLOAT_2_dyn()))){ - HX_STACK_LINE(345) - dimension = (int)2; - HX_STACK_LINE(346) - type = (int)5126; - HX_STACK_LINE(347) - numBytes = (int)4; - } - else{ - HX_STACK_LINE(349) - if (((format == ::native::display3D::Context3DVertexBufferFormat_obj::FLOAT_3_dyn()))){ - HX_STACK_LINE(351) - dimension = (int)3; - HX_STACK_LINE(352) - type = (int)5126; - HX_STACK_LINE(353) - numBytes = (int)4; - } - else{ - HX_STACK_LINE(355) - if (((format == ::native::display3D::Context3DVertexBufferFormat_obj::FLOAT_4_dyn()))){ - HX_STACK_LINE(357) - dimension = (int)4; - HX_STACK_LINE(358) - type = (int)5126; - HX_STACK_LINE(359) - numBytes = (int)4; - } - else{ - HX_STACK_LINE(361) - hx::Throw (((HX_CSTRING("Buffer format ") + ::Std_obj::string(format)) + HX_CSTRING(" is not supported"))); - } - } - } - } - } - HX_STACK_LINE(367) - ::native::gl::GL_obj::vertexAttribPointer(location,dimension,type,false,(buffer->data32PerVertex * numBytes),(bufferOffset * numBytes)); - HX_STACK_LINE(368) - ::native::gl::GL_obj::enableVertexAttribArray(location); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Context3D_obj,setVertexBufferAt,(void)) - -Void Context3D_obj::setTextureAt( int sampler,::native::display3D::textures::TextureBase texture){ -{ - HX_STACK_PUSH("Context3D::setTextureAt","native/display3D/Context3D.hx",298); - HX_STACK_THIS(this); - HX_STACK_ARG(sampler,"sampler"); - HX_STACK_ARG(texture,"texture"); - HX_STACK_LINE(298) - if ((::Std_obj::is(texture,hx::ClassOf< ::native::display3D::textures::Texture >()))){ - HX_STACK_LINE(302) - Dynamic location = ::native::gl::GL_obj::getUniformLocation(this->currentProgram->glProgram,(HX_CSTRING("fs") + sampler)); HX_STACK_VAR(location,"location"); - HX_STACK_LINE(305) - ::native::gl::GL_obj::activeTexture((int)33984); - HX_STACK_LINE(307) - ::native::gl::GL_obj::bindTexture((int)3553,(hx::TCast< native::display3D::textures::Texture >::cast(texture))->glTexture); - HX_STACK_LINE(308) - ::native::gl::GL_obj::uniform1i(location,(int)0); - HX_STACK_LINE(311) - ::native::gl::GL_obj::texParameteri((int)3553,(int)10242,(int)33071); - HX_STACK_LINE(312) - ::native::gl::GL_obj::texParameteri((int)3553,(int)10243,(int)33071); - HX_STACK_LINE(313) - ::native::gl::GL_obj::texParameteri((int)3553,(int)10241,(int)9729); - HX_STACK_LINE(314) - ::native::gl::GL_obj::texParameteri((int)3553,(int)10240,(int)9729); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Context3D_obj,setTextureAt,(void)) - -Void Context3D_obj::setStencilReferenceValue( int referenceValue,hx::Null< int > __o_readMask,hx::Null< int > __o_writeMask){ -int readMask = __o_readMask.Default(255); -int writeMask = __o_writeMask.Default(255); - HX_STACK_PUSH("Context3D::setStencilReferenceValue","native/display3D/Context3D.hx",291); - HX_STACK_THIS(this); - HX_STACK_ARG(referenceValue,"referenceValue"); - HX_STACK_ARG(readMask,"readMask"); - HX_STACK_ARG(writeMask,"writeMask"); -{ - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Context3D_obj,setStencilReferenceValue,(void)) - -Void Context3D_obj::setStencilActions( ::native::display3D::Context3DTriangleFace triangleFace,::native::display3D::Context3DCompareMode compareMode,::native::display3D::Context3DStencilAction actionOnBothPass,::native::display3D::Context3DStencilAction actionOnDepthFail,::native::display3D::Context3DStencilAction actionOnDepthPassStencilFail){ -{ - HX_STACK_PUSH("Context3D::setStencilActions","native/display3D/Context3D.hx",284); - HX_STACK_THIS(this); - HX_STACK_ARG(triangleFace,"triangleFace"); - HX_STACK_ARG(compareMode,"compareMode"); - HX_STACK_ARG(actionOnBothPass,"actionOnBothPass"); - HX_STACK_ARG(actionOnDepthFail,"actionOnDepthFail"); - HX_STACK_ARG(actionOnDepthPassStencilFail,"actionOnDepthPassStencilFail"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(Context3D_obj,setStencilActions,(void)) - -Void Context3D_obj::setScissorRectangle( ::native::geom::Rectangle rectangle){ -{ - HX_STACK_PUSH("Context3D::setScissorRectangle","native/display3D/Context3D.hx",277); - HX_STACK_THIS(this); - HX_STACK_ARG(rectangle,"rectangle"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Context3D_obj,setScissorRectangle,(void)) - -Void Context3D_obj::setRenderToTexture( ::native::display3D::textures::TextureBase texture,hx::Null< bool > __o_enableDepthAndStencil,hx::Null< int > __o_antiAlias,hx::Null< int > __o_surfaceSelector){ -bool enableDepthAndStencil = __o_enableDepthAndStencil.Default(false); -int antiAlias = __o_antiAlias.Default(0); -int surfaceSelector = __o_surfaceSelector.Default(0); - HX_STACK_PUSH("Context3D::setRenderToTexture","native/display3D/Context3D.hx",270); - HX_STACK_THIS(this); - HX_STACK_ARG(texture,"texture"); - HX_STACK_ARG(enableDepthAndStencil,"enableDepthAndStencil"); - HX_STACK_ARG(antiAlias,"antiAlias"); - HX_STACK_ARG(surfaceSelector,"surfaceSelector"); -{ - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Context3D_obj,setRenderToTexture,(void)) - -Void Context3D_obj::setRenderToBackBuffer( ){ -{ - HX_STACK_PUSH("Context3D::setRenderToBackBuffer","native/display3D/Context3D.hx",263); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Context3D_obj,setRenderToBackBuffer,(void)) - -Void Context3D_obj::setRenderMethod( Dynamic func){ -{ - HX_STACK_PUSH("Context3D::setRenderMethod","native/display3D/Context3D.hx",256); - HX_STACK_THIS(this); - HX_STACK_ARG(func,"func"); - HX_STACK_LINE(256) - this->ogl->render = func; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Context3D_obj,setRenderMethod,(void)) - -Void Context3D_obj::setProgramConstantsFromVector( ::native::display3D::Context3DProgramType programType,int firstRegister,Array< Float > data,hx::Null< int > __o_numRegisters){ -int numRegisters = __o_numRegisters.Default(-1); - HX_STACK_PUSH("Context3D::setProgramConstantsFromVector","native/display3D/Context3D.hx",247); - HX_STACK_THIS(this); - HX_STACK_ARG(programType,"programType"); - HX_STACK_ARG(firstRegister,"firstRegister"); - HX_STACK_ARG(data,"data"); - HX_STACK_ARG(numRegisters,"numRegisters"); -{ - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Context3D_obj,setProgramConstantsFromVector,(void)) - -Void Context3D_obj::setProgramConstantsFromMatrix( int programType,int firstRegister,::native::geom::Matrix3D matrix,hx::Null< bool > __o_transposedMatrix){ -bool transposedMatrix = __o_transposedMatrix.Default(false); - HX_STACK_PUSH("Context3D::setProgramConstantsFromMatrix","native/display3D/Context3D.hx",231); - HX_STACK_THIS(this); - HX_STACK_ARG(programType,"programType"); - HX_STACK_ARG(firstRegister,"firstRegister"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(transposedMatrix,"transposedMatrix"); -{ - struct _Function_1_1{ - inline static ::String Block( int &programType){ - HX_STACK_PUSH("*::closure","native/display3D/Context3D.hx",233); - { - HX_STACK_LINE(233) - switch( (int)(programType)){ - case (int)35633: { - HX_STACK_LINE(235) - return HX_CSTRING("vc"); - } - ;break; - case (int)35632: { - HX_STACK_LINE(236) - return HX_CSTRING("fc"); - } - ;break; - default: { - HX_STACK_LINE(237) - return hx::Throw (((HX_CSTRING("Program Type ") + programType) + HX_CSTRING(" not supported"))); - } - } - } - return null(); - } - }; - HX_STACK_LINE(233) - ::String uniformPrefix = _Function_1_1::Block(programType); HX_STACK_VAR(uniformPrefix,"uniformPrefix"); - HX_STACK_LINE(241) - Dynamic location = ::native::gl::GL_obj::getUniformLocation(this->currentProgram->glProgram,(uniformPrefix + firstRegister)); HX_STACK_VAR(location,"location"); - HX_STACK_LINE(242) - ::native::gl::GL_obj::uniformMatrix3D(location,!(transposedMatrix),matrix); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Context3D_obj,setProgramConstantsFromMatrix,(void)) - -Void Context3D_obj::setProgramConstantsFromByteArray( ::native::display3D::Context3DProgramType programType,int firstRegister,int numRegisters,::native::utils::ByteArray data,int byteArrayOffset){ -{ - HX_STACK_PUSH("Context3D::setProgramConstantsFromByteArray","native/display3D/Context3D.hx",222); - HX_STACK_THIS(this); - HX_STACK_ARG(programType,"programType"); - HX_STACK_ARG(firstRegister,"firstRegister"); - HX_STACK_ARG(numRegisters,"numRegisters"); - HX_STACK_ARG(data,"data"); - HX_STACK_ARG(byteArrayOffset,"byteArrayOffset"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(Context3D_obj,setProgramConstantsFromByteArray,(void)) - -Void Context3D_obj::setProgram( ::native::display3D::Program3D program3D){ -{ - HX_STACK_PUSH("Context3D::setProgram","native/display3D/Context3D.hx",206); - HX_STACK_THIS(this); - HX_STACK_ARG(program3D,"program3D"); - HX_STACK_LINE(208) - ::native::gl::Program glProgram = null(); HX_STACK_VAR(glProgram,"glProgram"); - HX_STACK_LINE(210) - if (((program3D != null()))){ - HX_STACK_LINE(210) - glProgram = program3D->glProgram; - } - HX_STACK_LINE(216) - ::native::gl::GL_obj::useProgram(glProgram); - HX_STACK_LINE(217) - this->currentProgram = program3D; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Context3D_obj,setProgram,(void)) - -Void Context3D_obj::setDepthTest( bool depthMask,int passCompareMode){ -{ - HX_STACK_PUSH("Context3D::setDepthTest","native/display3D/Context3D.hx",193); - HX_STACK_THIS(this); - HX_STACK_ARG(depthMask,"depthMask"); - HX_STACK_ARG(passCompareMode,"passCompareMode"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Context3D_obj,setDepthTest,(void)) - -Void Context3D_obj::setCulling( int triangleFaceToCull){ -{ - HX_STACK_PUSH("Context3D::setCulling","native/display3D/Context3D.hx",183); - HX_STACK_THIS(this); - HX_STACK_ARG(triangleFaceToCull,"triangleFaceToCull"); - HX_STACK_LINE(185) - ::native::gl::GL_obj::cullFace(triangleFaceToCull); - HX_STACK_LINE(186) - ::native::gl::GL_obj::enable((int)2884); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Context3D_obj,setCulling,(void)) - -Void Context3D_obj::setColorMask( bool red,bool green,bool blue,bool alpha){ -{ - HX_STACK_PUSH("Context3D::setColorMask","native/display3D/Context3D.hx",174); - HX_STACK_THIS(this); - HX_STACK_ARG(red,"red"); - HX_STACK_ARG(green,"green"); - HX_STACK_ARG(blue,"blue"); - HX_STACK_ARG(alpha,"alpha"); - HX_STACK_LINE(174) - ::native::gl::GL_obj::colorMask(red,green,blue,alpha); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Context3D_obj,setColorMask,(void)) - -Void Context3D_obj::setBlendFactors( int sourceFactor,int destinationFactor){ -{ - HX_STACK_PUSH("Context3D::setBlendFactors","native/display3D/Context3D.hx",163); - HX_STACK_THIS(this); - HX_STACK_ARG(sourceFactor,"sourceFactor"); - HX_STACK_ARG(destinationFactor,"destinationFactor"); - HX_STACK_LINE(165) - this->blendEnabled = true; - HX_STACK_LINE(166) - this->blendSourceFactor = sourceFactor; - HX_STACK_LINE(167) - this->blendDestinationFactor = destinationFactor; - HX_STACK_LINE(169) - this->updateBlendStatus(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Context3D_obj,setBlendFactors,(void)) - -Void Context3D_obj::present( ){ -{ - HX_STACK_PUSH("Context3D::present","native/display3D/Context3D.hx",153); - HX_STACK_THIS(this); - HX_STACK_LINE(155) - this->drawing = false; - HX_STACK_LINE(156) - ::native::gl::GL_obj::useProgram(null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Context3D_obj,present,(void)) - -Void Context3D_obj::drawTriangles( ::native::display3D::IndexBuffer3D indexBuffer,hx::Null< int > __o_firstIndex,hx::Null< int > __o_numTriangles){ -int firstIndex = __o_firstIndex.Default(0); -int numTriangles = __o_numTriangles.Default(-1); - HX_STACK_PUSH("Context3D::drawTriangles","native/display3D/Context3D.hx",128); - HX_STACK_THIS(this); - HX_STACK_ARG(indexBuffer,"indexBuffer"); - HX_STACK_ARG(firstIndex,"firstIndex"); - HX_STACK_ARG(numTriangles,"numTriangles"); -{ - HX_STACK_LINE(130) - if ((!(this->drawing))){ - HX_STACK_LINE(130) - hx::Throw (::native::errors::Error_obj::__new(HX_CSTRING("Need to clear before drawing if the buffer has not been cleared since the last present() call."),null())); - } - HX_STACK_LINE(136) - int numIndices; HX_STACK_VAR(numIndices,"numIndices"); - HX_STACK_LINE(138) - if (((numTriangles == (int)-1))){ - HX_STACK_LINE(138) - numIndices = indexBuffer->numIndices; - } - else{ - HX_STACK_LINE(142) - numIndices = (numTriangles * (int)3); - } - HX_STACK_LINE(148) - ::native::gl::GL_obj::drawElements((int)4,numIndices,(int)5123,firstIndex); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Context3D_obj,drawTriangles,(void)) - -Void Context3D_obj::drawToBitmapData( ::native::display::BitmapData destination){ -{ - HX_STACK_PUSH("Context3D::drawToBitmapData","native/display3D/Context3D.hx",121); - HX_STACK_THIS(this); - HX_STACK_ARG(destination,"destination"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Context3D_obj,drawToBitmapData,(void)) - -Void Context3D_obj::dispose( ){ -{ - HX_STACK_PUSH("Context3D::dispose","native/display3D/Context3D.hx",114); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Context3D_obj,dispose,(void)) - -::native::display3D::VertexBuffer3D Context3D_obj::createVertexBuffer( int numVertices,int data32PerVertex){ - HX_STACK_PUSH("Context3D::createVertexBuffer","native/display3D/Context3D.hx",107); - HX_STACK_THIS(this); - HX_STACK_ARG(numVertices,"numVertices"); - HX_STACK_ARG(data32PerVertex,"data32PerVertex"); - HX_STACK_LINE(107) - return ::native::display3D::VertexBuffer3D_obj::__new(::native::gl::GL_obj::createBuffer(),numVertices,data32PerVertex); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Context3D_obj,createVertexBuffer,return ) - -::native::display3D::textures::Texture Context3D_obj::createTexture( int width,int height,::native::display3D::Context3DTextureFormat format,bool optimizeForRenderToTexture,hx::Null< int > __o_streamingLevels){ -int streamingLevels = __o_streamingLevels.Default(0); - HX_STACK_PUSH("Context3D::createTexture","native/display3D/Context3D.hx",100); - HX_STACK_THIS(this); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); - HX_STACK_ARG(format,"format"); - HX_STACK_ARG(optimizeForRenderToTexture,"optimizeForRenderToTexture"); - HX_STACK_ARG(streamingLevels,"streamingLevels"); -{ - HX_STACK_LINE(100) - return ::native::display3D::textures::Texture_obj::__new(::native::gl::GL_obj::createTexture()); - } -} - - -HX_DEFINE_DYNAMIC_FUNC5(Context3D_obj,createTexture,return ) - -::native::display3D::Program3D Context3D_obj::createProgram( ){ - HX_STACK_PUSH("Context3D::createProgram","native/display3D/Context3D.hx",93); - HX_STACK_THIS(this); - HX_STACK_LINE(93) - return ::native::display3D::Program3D_obj::__new(::native::gl::GL_obj::createProgram()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Context3D_obj,createProgram,return ) - -::native::display3D::IndexBuffer3D Context3D_obj::createIndexBuffer( int numIndices){ - HX_STACK_PUSH("Context3D::createIndexBuffer","native/display3D/Context3D.hx",86); - HX_STACK_THIS(this); - HX_STACK_ARG(numIndices,"numIndices"); - HX_STACK_LINE(86) - return ::native::display3D::IndexBuffer3D_obj::__new(::native::gl::GL_obj::createBuffer(),numIndices); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Context3D_obj,createIndexBuffer,return ) - -::native::display3D::textures::CubeTexture Context3D_obj::createCubeTexture( int size,::native::display3D::Context3DTextureFormat format,bool optimizeForRenderToTexture,hx::Null< int > __o_streamingLevels){ -int streamingLevels = __o_streamingLevels.Default(0); - HX_STACK_PUSH("Context3D::createCubeTexture","native/display3D/Context3D.hx",77); - HX_STACK_THIS(this); - HX_STACK_ARG(size,"size"); - HX_STACK_ARG(format,"format"); - HX_STACK_ARG(optimizeForRenderToTexture,"optimizeForRenderToTexture"); - HX_STACK_ARG(streamingLevels,"streamingLevels"); -{ - HX_STACK_LINE(77) - return null(); - } -} - - -HX_DEFINE_DYNAMIC_FUNC4(Context3D_obj,createCubeTexture,return ) - -Void Context3D_obj::configureBackBuffer( int width,int height,int antiAlias,hx::Null< bool > __o_enableDepthAndStencil){ -bool enableDepthAndStencil = __o_enableDepthAndStencil.Default(true); - HX_STACK_PUSH("Context3D::configureBackBuffer","native/display3D/Context3D.hx",70); - HX_STACK_THIS(this); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); - HX_STACK_ARG(antiAlias,"antiAlias"); - HX_STACK_ARG(enableDepthAndStencil,"enableDepthAndStencil"); -{ - HX_STACK_LINE(70) - this->ogl->set_scrollRect(::native::geom::Rectangle_obj::__new((int)0,(int)0,width,height)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Context3D_obj,configureBackBuffer,(void)) - -Void Context3D_obj::clear( hx::Null< Float > __o_red,hx::Null< Float > __o_green,hx::Null< Float > __o_blue,hx::Null< Float > __o_alpha,hx::Null< Float > __o_depth,hx::Null< int > __o_stencil,hx::Null< int > __o_mask){ -Float red = __o_red.Default(0); -Float green = __o_green.Default(0); -Float blue = __o_blue.Default(0); -Float alpha = __o_alpha.Default(1); -Float depth = __o_depth.Default(1); -int stencil = __o_stencil.Default(0); -int mask = __o_mask.Default(17664); - HX_STACK_PUSH("Context3D::clear","native/display3D/Context3D.hx",50); - HX_STACK_THIS(this); - HX_STACK_ARG(red,"red"); - HX_STACK_ARG(green,"green"); - HX_STACK_ARG(blue,"blue"); - HX_STACK_ARG(alpha,"alpha"); - HX_STACK_ARG(depth,"depth"); - HX_STACK_ARG(stencil,"stencil"); - HX_STACK_ARG(mask,"mask"); -{ - HX_STACK_LINE(52) - if ((!(this->drawing))){ - HX_STACK_LINE(54) - this->updateBlendStatus(); - HX_STACK_LINE(55) - this->drawing = true; - } - HX_STACK_LINE(61) - ::native::gl::GL_obj::clearColor(red,green,blue,alpha); - HX_STACK_LINE(62) - ::native::gl::GL_obj::clearDepth(depth); - HX_STACK_LINE(63) - ::native::gl::GL_obj::clearStencil(stencil); - HX_STACK_LINE(65) - ::native::gl::GL_obj::clear(mask); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC7(Context3D_obj,clear,(void)) - - -Context3D_obj::Context3D_obj() -{ -} - -void Context3D_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Context3D); - HX_MARK_MEMBER_NAME(drawing,"drawing"); - HX_MARK_MEMBER_NAME(blendSourceFactor,"blendSourceFactor"); - HX_MARK_MEMBER_NAME(blendEnabled,"blendEnabled"); - HX_MARK_MEMBER_NAME(blendDestinationFactor,"blendDestinationFactor"); - HX_MARK_MEMBER_NAME(ogl,"ogl"); - HX_MARK_MEMBER_NAME(currentProgram,"currentProgram"); - HX_MARK_MEMBER_NAME(enableErrorChecking,"enableErrorChecking"); - HX_MARK_MEMBER_NAME(driverInfo,"driverInfo"); - HX_MARK_END_CLASS(); -} - -void Context3D_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(drawing,"drawing"); - HX_VISIT_MEMBER_NAME(blendSourceFactor,"blendSourceFactor"); - HX_VISIT_MEMBER_NAME(blendEnabled,"blendEnabled"); - HX_VISIT_MEMBER_NAME(blendDestinationFactor,"blendDestinationFactor"); - HX_VISIT_MEMBER_NAME(ogl,"ogl"); - HX_VISIT_MEMBER_NAME(currentProgram,"currentProgram"); - HX_VISIT_MEMBER_NAME(enableErrorChecking,"enableErrorChecking"); - HX_VISIT_MEMBER_NAME(driverInfo,"driverInfo"); -} - -Dynamic Context3D_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"ogl") ) { return ogl; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clear") ) { return clear_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"present") ) { return present_dyn(); } - if (HX_FIELD_EQ(inName,"dispose") ) { return dispose_dyn(); } - if (HX_FIELD_EQ(inName,"drawing") ) { return drawing; } - break; - case 10: - if (HX_FIELD_EQ(inName,"setProgram") ) { return setProgram_dyn(); } - if (HX_FIELD_EQ(inName,"setCulling") ) { return setCulling_dyn(); } - if (HX_FIELD_EQ(inName,"driverInfo") ) { return driverInfo; } - break; - case 12: - if (HX_FIELD_EQ(inName,"setTextureAt") ) { return setTextureAt_dyn(); } - if (HX_FIELD_EQ(inName,"setDepthTest") ) { return setDepthTest_dyn(); } - if (HX_FIELD_EQ(inName,"setColorMask") ) { return setColorMask_dyn(); } - if (HX_FIELD_EQ(inName,"blendEnabled") ) { return blendEnabled; } - break; - case 13: - if (HX_FIELD_EQ(inName,"drawTriangles") ) { return drawTriangles_dyn(); } - if (HX_FIELD_EQ(inName,"createTexture") ) { return createTexture_dyn(); } - if (HX_FIELD_EQ(inName,"createProgram") ) { return createProgram_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"currentProgram") ) { return currentProgram; } - break; - case 15: - if (HX_FIELD_EQ(inName,"setRenderMethod") ) { return setRenderMethod_dyn(); } - if (HX_FIELD_EQ(inName,"setBlendFactors") ) { return setBlendFactors_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"drawToBitmapData") ) { return drawToBitmapData_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"updateBlendStatus") ) { return updateBlendStatus_dyn(); } - if (HX_FIELD_EQ(inName,"setVertexBufferAt") ) { return setVertexBufferAt_dyn(); } - if (HX_FIELD_EQ(inName,"setStencilActions") ) { return setStencilActions_dyn(); } - if (HX_FIELD_EQ(inName,"createIndexBuffer") ) { return createIndexBuffer_dyn(); } - if (HX_FIELD_EQ(inName,"createCubeTexture") ) { return createCubeTexture_dyn(); } - if (HX_FIELD_EQ(inName,"blendSourceFactor") ) { return blendSourceFactor; } - break; - case 18: - if (HX_FIELD_EQ(inName,"setRenderToTexture") ) { return setRenderToTexture_dyn(); } - if (HX_FIELD_EQ(inName,"createVertexBuffer") ) { return createVertexBuffer_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"setScissorRectangle") ) { return setScissorRectangle_dyn(); } - if (HX_FIELD_EQ(inName,"configureBackBuffer") ) { return configureBackBuffer_dyn(); } - if (HX_FIELD_EQ(inName,"enableErrorChecking") ) { return enableErrorChecking; } - break; - case 21: - if (HX_FIELD_EQ(inName,"setRenderToBackBuffer") ) { return setRenderToBackBuffer_dyn(); } - break; - case 22: - if (HX_FIELD_EQ(inName,"blendDestinationFactor") ) { return blendDestinationFactor; } - break; - case 24: - if (HX_FIELD_EQ(inName,"setStencilReferenceValue") ) { return setStencilReferenceValue_dyn(); } - break; - case 29: - if (HX_FIELD_EQ(inName,"setProgramConstantsFromVector") ) { return setProgramConstantsFromVector_dyn(); } - if (HX_FIELD_EQ(inName,"setProgramConstantsFromMatrix") ) { return setProgramConstantsFromMatrix_dyn(); } - break; - case 32: - if (HX_FIELD_EQ(inName,"setProgramConstantsFromByteArray") ) { return setProgramConstantsFromByteArray_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Context3D_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"ogl") ) { ogl=inValue.Cast< ::native::display::OpenGLView >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"drawing") ) { drawing=inValue.Cast< bool >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"driverInfo") ) { driverInfo=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"blendEnabled") ) { blendEnabled=inValue.Cast< bool >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"currentProgram") ) { currentProgram=inValue.Cast< ::native::display3D::Program3D >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"blendSourceFactor") ) { blendSourceFactor=inValue.Cast< int >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"enableErrorChecking") ) { enableErrorChecking=inValue.Cast< bool >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"blendDestinationFactor") ) { blendDestinationFactor=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Context3D_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("drawing")); - outFields->push(HX_CSTRING("blendSourceFactor")); - outFields->push(HX_CSTRING("blendEnabled")); - outFields->push(HX_CSTRING("blendDestinationFactor")); - outFields->push(HX_CSTRING("ogl")); - outFields->push(HX_CSTRING("currentProgram")); - outFields->push(HX_CSTRING("enableErrorChecking")); - outFields->push(HX_CSTRING("driverInfo")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("updateBlendStatus"), - HX_CSTRING("setVertexBufferAt"), - HX_CSTRING("setTextureAt"), - HX_CSTRING("setStencilReferenceValue"), - HX_CSTRING("setStencilActions"), - HX_CSTRING("setScissorRectangle"), - HX_CSTRING("setRenderToTexture"), - HX_CSTRING("setRenderToBackBuffer"), - HX_CSTRING("setRenderMethod"), - HX_CSTRING("setProgramConstantsFromVector"), - HX_CSTRING("setProgramConstantsFromMatrix"), - HX_CSTRING("setProgramConstantsFromByteArray"), - HX_CSTRING("setProgram"), - HX_CSTRING("setDepthTest"), - HX_CSTRING("setCulling"), - HX_CSTRING("setColorMask"), - HX_CSTRING("setBlendFactors"), - HX_CSTRING("present"), - HX_CSTRING("drawTriangles"), - HX_CSTRING("drawToBitmapData"), - HX_CSTRING("dispose"), - HX_CSTRING("createVertexBuffer"), - HX_CSTRING("createTexture"), - HX_CSTRING("createProgram"), - HX_CSTRING("createIndexBuffer"), - HX_CSTRING("createCubeTexture"), - HX_CSTRING("configureBackBuffer"), - HX_CSTRING("clear"), - HX_CSTRING("drawing"), - HX_CSTRING("blendSourceFactor"), - HX_CSTRING("blendEnabled"), - HX_CSTRING("blendDestinationFactor"), - HX_CSTRING("ogl"), - HX_CSTRING("currentProgram"), - HX_CSTRING("enableErrorChecking"), - HX_CSTRING("driverInfo"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Context3D_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Context3D_obj::__mClass,"__mClass"); -}; - -Class Context3D_obj::__mClass; - -void Context3D_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display3D.Context3D"), hx::TCanCast< Context3D_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Context3D_obj::__boot() -{ -} - -} // end namespace native -} // end namespace display3D diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DClearMask.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DClearMask.cpp deleted file mode 100644 index a350c7c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DClearMask.cpp +++ /dev/null @@ -1,131 +0,0 @@ -#include - -#ifndef INCLUDED_native_display3D_Context3DClearMask -#include -#endif -namespace native{ -namespace display3D{ - -Void Context3DClearMask_obj::__construct() -{ - return null(); -} - -Context3DClearMask_obj::~Context3DClearMask_obj() { } - -Dynamic Context3DClearMask_obj::__CreateEmpty() { return new Context3DClearMask_obj; } -hx::ObjectPtr< Context3DClearMask_obj > Context3DClearMask_obj::__new() -{ hx::ObjectPtr< Context3DClearMask_obj > result = new Context3DClearMask_obj(); - result->__construct(); - return result;} - -Dynamic Context3DClearMask_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Context3DClearMask_obj > result = new Context3DClearMask_obj(); - result->__construct(); - return result;} - -int Context3DClearMask_obj::ALL; - -int Context3DClearMask_obj::COLOR; - -int Context3DClearMask_obj::DEPTH; - -int Context3DClearMask_obj::STENCIL; - - -Context3DClearMask_obj::Context3DClearMask_obj() -{ -} - -void Context3DClearMask_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Context3DClearMask); - HX_MARK_END_CLASS(); -} - -void Context3DClearMask_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Context3DClearMask_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"ALL") ) { return ALL; } - break; - case 5: - if (HX_FIELD_EQ(inName,"COLOR") ) { return COLOR; } - if (HX_FIELD_EQ(inName,"DEPTH") ) { return DEPTH; } - break; - case 7: - if (HX_FIELD_EQ(inName,"STENCIL") ) { return STENCIL; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Context3DClearMask_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"ALL") ) { ALL=inValue.Cast< int >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"COLOR") ) { COLOR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DEPTH") ) { DEPTH=inValue.Cast< int >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"STENCIL") ) { STENCIL=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Context3DClearMask_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("ALL"), - HX_CSTRING("COLOR"), - HX_CSTRING("DEPTH"), - HX_CSTRING("STENCIL"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Context3DClearMask_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Context3DClearMask_obj::ALL,"ALL"); - HX_MARK_MEMBER_NAME(Context3DClearMask_obj::COLOR,"COLOR"); - HX_MARK_MEMBER_NAME(Context3DClearMask_obj::DEPTH,"DEPTH"); - HX_MARK_MEMBER_NAME(Context3DClearMask_obj::STENCIL,"STENCIL"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Context3DClearMask_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Context3DClearMask_obj::ALL,"ALL"); - HX_VISIT_MEMBER_NAME(Context3DClearMask_obj::COLOR,"COLOR"); - HX_VISIT_MEMBER_NAME(Context3DClearMask_obj::DEPTH,"DEPTH"); - HX_VISIT_MEMBER_NAME(Context3DClearMask_obj::STENCIL,"STENCIL"); -}; - -Class Context3DClearMask_obj::__mClass; - -void Context3DClearMask_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display3D.Context3DClearMask"), hx::TCanCast< Context3DClearMask_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Context3DClearMask_obj::__boot() -{ - ALL= (int)17664; - COLOR= (int)16384; - DEPTH= (int)256; - STENCIL= (int)1024; -} - -} // end namespace native -} // end namespace display3D diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DCompareMode.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DCompareMode.cpp deleted file mode 100644 index 8964f79..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DCompareMode.cpp +++ /dev/null @@ -1,179 +0,0 @@ -#include - -#ifndef INCLUDED_native_display3D_Context3DCompareMode -#include -#endif -namespace native{ -namespace display3D{ - -Void Context3DCompareMode_obj::__construct() -{ - return null(); -} - -Context3DCompareMode_obj::~Context3DCompareMode_obj() { } - -Dynamic Context3DCompareMode_obj::__CreateEmpty() { return new Context3DCompareMode_obj; } -hx::ObjectPtr< Context3DCompareMode_obj > Context3DCompareMode_obj::__new() -{ hx::ObjectPtr< Context3DCompareMode_obj > result = new Context3DCompareMode_obj(); - result->__construct(); - return result;} - -Dynamic Context3DCompareMode_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Context3DCompareMode_obj > result = new Context3DCompareMode_obj(); - result->__construct(); - return result;} - -int Context3DCompareMode_obj::ALWAYS; - -int Context3DCompareMode_obj::EQUAL; - -int Context3DCompareMode_obj::GREATER; - -int Context3DCompareMode_obj::GREATER_EQUAL; - -int Context3DCompareMode_obj::LESS; - -int Context3DCompareMode_obj::LESS_EQUAL; - -int Context3DCompareMode_obj::NEVER; - -int Context3DCompareMode_obj::NOT_EQUAL; - - -Context3DCompareMode_obj::Context3DCompareMode_obj() -{ -} - -void Context3DCompareMode_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Context3DCompareMode); - HX_MARK_END_CLASS(); -} - -void Context3DCompareMode_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Context3DCompareMode_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"LESS") ) { return LESS; } - break; - case 5: - if (HX_FIELD_EQ(inName,"EQUAL") ) { return EQUAL; } - if (HX_FIELD_EQ(inName,"NEVER") ) { return NEVER; } - break; - case 6: - if (HX_FIELD_EQ(inName,"ALWAYS") ) { return ALWAYS; } - break; - case 7: - if (HX_FIELD_EQ(inName,"GREATER") ) { return GREATER; } - break; - case 9: - if (HX_FIELD_EQ(inName,"NOT_EQUAL") ) { return NOT_EQUAL; } - break; - case 10: - if (HX_FIELD_EQ(inName,"LESS_EQUAL") ) { return LESS_EQUAL; } - break; - case 13: - if (HX_FIELD_EQ(inName,"GREATER_EQUAL") ) { return GREATER_EQUAL; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Context3DCompareMode_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"LESS") ) { LESS=inValue.Cast< int >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"EQUAL") ) { EQUAL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"NEVER") ) { NEVER=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"ALWAYS") ) { ALWAYS=inValue.Cast< int >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"GREATER") ) { GREATER=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"NOT_EQUAL") ) { NOT_EQUAL=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"LESS_EQUAL") ) { LESS_EQUAL=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"GREATER_EQUAL") ) { GREATER_EQUAL=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Context3DCompareMode_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("ALWAYS"), - HX_CSTRING("EQUAL"), - HX_CSTRING("GREATER"), - HX_CSTRING("GREATER_EQUAL"), - HX_CSTRING("LESS"), - HX_CSTRING("LESS_EQUAL"), - HX_CSTRING("NEVER"), - HX_CSTRING("NOT_EQUAL"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Context3DCompareMode_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Context3DCompareMode_obj::ALWAYS,"ALWAYS"); - HX_MARK_MEMBER_NAME(Context3DCompareMode_obj::EQUAL,"EQUAL"); - HX_MARK_MEMBER_NAME(Context3DCompareMode_obj::GREATER,"GREATER"); - HX_MARK_MEMBER_NAME(Context3DCompareMode_obj::GREATER_EQUAL,"GREATER_EQUAL"); - HX_MARK_MEMBER_NAME(Context3DCompareMode_obj::LESS,"LESS"); - HX_MARK_MEMBER_NAME(Context3DCompareMode_obj::LESS_EQUAL,"LESS_EQUAL"); - HX_MARK_MEMBER_NAME(Context3DCompareMode_obj::NEVER,"NEVER"); - HX_MARK_MEMBER_NAME(Context3DCompareMode_obj::NOT_EQUAL,"NOT_EQUAL"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Context3DCompareMode_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Context3DCompareMode_obj::ALWAYS,"ALWAYS"); - HX_VISIT_MEMBER_NAME(Context3DCompareMode_obj::EQUAL,"EQUAL"); - HX_VISIT_MEMBER_NAME(Context3DCompareMode_obj::GREATER,"GREATER"); - HX_VISIT_MEMBER_NAME(Context3DCompareMode_obj::GREATER_EQUAL,"GREATER_EQUAL"); - HX_VISIT_MEMBER_NAME(Context3DCompareMode_obj::LESS,"LESS"); - HX_VISIT_MEMBER_NAME(Context3DCompareMode_obj::LESS_EQUAL,"LESS_EQUAL"); - HX_VISIT_MEMBER_NAME(Context3DCompareMode_obj::NEVER,"NEVER"); - HX_VISIT_MEMBER_NAME(Context3DCompareMode_obj::NOT_EQUAL,"NOT_EQUAL"); -}; - -Class Context3DCompareMode_obj::__mClass; - -void Context3DCompareMode_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display3D.Context3DCompareMode"), hx::TCanCast< Context3DCompareMode_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Context3DCompareMode_obj::__boot() -{ - ALWAYS= (int)519; - EQUAL= (int)514; - GREATER= (int)516; - GREATER_EQUAL= (int)518; - LESS= (int)513; - LESS_EQUAL= (int)515; - NEVER= (int)512; - NOT_EQUAL= (int)517; -} - -} // end namespace native -} // end namespace display3D diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DProgramType.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DProgramType.cpp deleted file mode 100644 index 0a30d7d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DProgramType.cpp +++ /dev/null @@ -1,111 +0,0 @@ -#include - -#ifndef INCLUDED_native_display3D_Context3DProgramType -#include -#endif -namespace native{ -namespace display3D{ - -Void Context3DProgramType_obj::__construct() -{ - return null(); -} - -Context3DProgramType_obj::~Context3DProgramType_obj() { } - -Dynamic Context3DProgramType_obj::__CreateEmpty() { return new Context3DProgramType_obj; } -hx::ObjectPtr< Context3DProgramType_obj > Context3DProgramType_obj::__new() -{ hx::ObjectPtr< Context3DProgramType_obj > result = new Context3DProgramType_obj(); - result->__construct(); - return result;} - -Dynamic Context3DProgramType_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Context3DProgramType_obj > result = new Context3DProgramType_obj(); - result->__construct(); - return result;} - -int Context3DProgramType_obj::VERTEX; - -int Context3DProgramType_obj::FRAGMENT; - - -Context3DProgramType_obj::Context3DProgramType_obj() -{ -} - -void Context3DProgramType_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Context3DProgramType); - HX_MARK_END_CLASS(); -} - -void Context3DProgramType_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Context3DProgramType_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"VERTEX") ) { return VERTEX; } - break; - case 8: - if (HX_FIELD_EQ(inName,"FRAGMENT") ) { return FRAGMENT; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Context3DProgramType_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"VERTEX") ) { VERTEX=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"FRAGMENT") ) { FRAGMENT=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Context3DProgramType_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("VERTEX"), - HX_CSTRING("FRAGMENT"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Context3DProgramType_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Context3DProgramType_obj::VERTEX,"VERTEX"); - HX_MARK_MEMBER_NAME(Context3DProgramType_obj::FRAGMENT,"FRAGMENT"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Context3DProgramType_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Context3DProgramType_obj::VERTEX,"VERTEX"); - HX_VISIT_MEMBER_NAME(Context3DProgramType_obj::FRAGMENT,"FRAGMENT"); -}; - -Class Context3DProgramType_obj::__mClass; - -void Context3DProgramType_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display3D.Context3DProgramType"), hx::TCanCast< Context3DProgramType_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Context3DProgramType_obj::__boot() -{ - VERTEX= (int)35633; - FRAGMENT= (int)35632; -} - -} // end namespace native -} // end namespace display3D diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DStencilAction.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DStencilAction.cpp deleted file mode 100644 index 1676d33..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DStencilAction.cpp +++ /dev/null @@ -1,127 +0,0 @@ -#include - -#ifndef INCLUDED_native_display3D_Context3DStencilAction -#include -#endif -namespace native{ -namespace display3D{ - -::native::display3D::Context3DStencilAction Context3DStencilAction_obj::DECREMENT_SATURATE; - -::native::display3D::Context3DStencilAction Context3DStencilAction_obj::DECREMENT_WRAP; - -::native::display3D::Context3DStencilAction Context3DStencilAction_obj::INCREMENT_SATURATE; - -::native::display3D::Context3DStencilAction Context3DStencilAction_obj::INCREMENT_WRAP; - -::native::display3D::Context3DStencilAction Context3DStencilAction_obj::INVERT; - -::native::display3D::Context3DStencilAction Context3DStencilAction_obj::KEEP; - -::native::display3D::Context3DStencilAction Context3DStencilAction_obj::SET; - -::native::display3D::Context3DStencilAction Context3DStencilAction_obj::ZERO; - -HX_DEFINE_CREATE_ENUM(Context3DStencilAction_obj) - -int Context3DStencilAction_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("DECREMENT_SATURATE")) return 0; - if (inName==HX_CSTRING("DECREMENT_WRAP")) return 1; - if (inName==HX_CSTRING("INCREMENT_SATURATE")) return 2; - if (inName==HX_CSTRING("INCREMENT_WRAP")) return 3; - if (inName==HX_CSTRING("INVERT")) return 4; - if (inName==HX_CSTRING("KEEP")) return 5; - if (inName==HX_CSTRING("SET")) return 6; - if (inName==HX_CSTRING("ZERO")) return 7; - return super::__FindIndex(inName); -} - -int Context3DStencilAction_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("DECREMENT_SATURATE")) return 0; - if (inName==HX_CSTRING("DECREMENT_WRAP")) return 0; - if (inName==HX_CSTRING("INCREMENT_SATURATE")) return 0; - if (inName==HX_CSTRING("INCREMENT_WRAP")) return 0; - if (inName==HX_CSTRING("INVERT")) return 0; - if (inName==HX_CSTRING("KEEP")) return 0; - if (inName==HX_CSTRING("SET")) return 0; - if (inName==HX_CSTRING("ZERO")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic Context3DStencilAction_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("DECREMENT_SATURATE")) return DECREMENT_SATURATE; - if (inName==HX_CSTRING("DECREMENT_WRAP")) return DECREMENT_WRAP; - if (inName==HX_CSTRING("INCREMENT_SATURATE")) return INCREMENT_SATURATE; - if (inName==HX_CSTRING("INCREMENT_WRAP")) return INCREMENT_WRAP; - if (inName==HX_CSTRING("INVERT")) return INVERT; - if (inName==HX_CSTRING("KEEP")) return KEEP; - if (inName==HX_CSTRING("SET")) return SET; - if (inName==HX_CSTRING("ZERO")) return ZERO; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("DECREMENT_SATURATE"), - HX_CSTRING("DECREMENT_WRAP"), - HX_CSTRING("INCREMENT_SATURATE"), - HX_CSTRING("INCREMENT_WRAP"), - HX_CSTRING("INVERT"), - HX_CSTRING("KEEP"), - HX_CSTRING("SET"), - HX_CSTRING("ZERO"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Context3DStencilAction_obj::DECREMENT_SATURATE,"DECREMENT_SATURATE"); - HX_MARK_MEMBER_NAME(Context3DStencilAction_obj::DECREMENT_WRAP,"DECREMENT_WRAP"); - HX_MARK_MEMBER_NAME(Context3DStencilAction_obj::INCREMENT_SATURATE,"INCREMENT_SATURATE"); - HX_MARK_MEMBER_NAME(Context3DStencilAction_obj::INCREMENT_WRAP,"INCREMENT_WRAP"); - HX_MARK_MEMBER_NAME(Context3DStencilAction_obj::INVERT,"INVERT"); - HX_MARK_MEMBER_NAME(Context3DStencilAction_obj::KEEP,"KEEP"); - HX_MARK_MEMBER_NAME(Context3DStencilAction_obj::SET,"SET"); - HX_MARK_MEMBER_NAME(Context3DStencilAction_obj::ZERO,"ZERO"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Context3DStencilAction_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Context3DStencilAction_obj::DECREMENT_SATURATE,"DECREMENT_SATURATE"); - HX_VISIT_MEMBER_NAME(Context3DStencilAction_obj::DECREMENT_WRAP,"DECREMENT_WRAP"); - HX_VISIT_MEMBER_NAME(Context3DStencilAction_obj::INCREMENT_SATURATE,"INCREMENT_SATURATE"); - HX_VISIT_MEMBER_NAME(Context3DStencilAction_obj::INCREMENT_WRAP,"INCREMENT_WRAP"); - HX_VISIT_MEMBER_NAME(Context3DStencilAction_obj::INVERT,"INVERT"); - HX_VISIT_MEMBER_NAME(Context3DStencilAction_obj::KEEP,"KEEP"); - HX_VISIT_MEMBER_NAME(Context3DStencilAction_obj::SET,"SET"); - HX_VISIT_MEMBER_NAME(Context3DStencilAction_obj::ZERO,"ZERO"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class Context3DStencilAction_obj::__mClass; - -Dynamic __Create_Context3DStencilAction_obj() { return new Context3DStencilAction_obj; } - -void Context3DStencilAction_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display3D.Context3DStencilAction"), hx::TCanCast< Context3DStencilAction_obj >,sStaticFields,sMemberFields, - &__Create_Context3DStencilAction_obj, &__Create, - &super::__SGetClass(), &CreateContext3DStencilAction_obj, sMarkStatics, sVisitStatic); -} - -void Context3DStencilAction_obj::__boot() -{ -Static(DECREMENT_SATURATE) = hx::CreateEnum< Context3DStencilAction_obj >(HX_CSTRING("DECREMENT_SATURATE"),0); -Static(DECREMENT_WRAP) = hx::CreateEnum< Context3DStencilAction_obj >(HX_CSTRING("DECREMENT_WRAP"),1); -Static(INCREMENT_SATURATE) = hx::CreateEnum< Context3DStencilAction_obj >(HX_CSTRING("INCREMENT_SATURATE"),2); -Static(INCREMENT_WRAP) = hx::CreateEnum< Context3DStencilAction_obj >(HX_CSTRING("INCREMENT_WRAP"),3); -Static(INVERT) = hx::CreateEnum< Context3DStencilAction_obj >(HX_CSTRING("INVERT"),4); -Static(KEEP) = hx::CreateEnum< Context3DStencilAction_obj >(HX_CSTRING("KEEP"),5); -Static(SET) = hx::CreateEnum< Context3DStencilAction_obj >(HX_CSTRING("SET"),6); -Static(ZERO) = hx::CreateEnum< Context3DStencilAction_obj >(HX_CSTRING("ZERO"),7); -} - - -} // end namespace native -} // end namespace display3D diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DTextureFormat.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DTextureFormat.cpp deleted file mode 100644 index e18cdd0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DTextureFormat.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_native_display3D_Context3DTextureFormat -#include -#endif -namespace native{ -namespace display3D{ - -::native::display3D::Context3DTextureFormat Context3DTextureFormat_obj::BGRA; - -::native::display3D::Context3DTextureFormat Context3DTextureFormat_obj::COMPRESSED; - -::native::display3D::Context3DTextureFormat Context3DTextureFormat_obj::COMPRESSED_ALPHA; - -HX_DEFINE_CREATE_ENUM(Context3DTextureFormat_obj) - -int Context3DTextureFormat_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BGRA")) return 0; - if (inName==HX_CSTRING("COMPRESSED")) return 1; - if (inName==HX_CSTRING("COMPRESSED_ALPHA")) return 2; - return super::__FindIndex(inName); -} - -int Context3DTextureFormat_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BGRA")) return 0; - if (inName==HX_CSTRING("COMPRESSED")) return 0; - if (inName==HX_CSTRING("COMPRESSED_ALPHA")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic Context3DTextureFormat_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BGRA")) return BGRA; - if (inName==HX_CSTRING("COMPRESSED")) return COMPRESSED; - if (inName==HX_CSTRING("COMPRESSED_ALPHA")) return COMPRESSED_ALPHA; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("BGRA"), - HX_CSTRING("COMPRESSED"), - HX_CSTRING("COMPRESSED_ALPHA"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Context3DTextureFormat_obj::BGRA,"BGRA"); - HX_MARK_MEMBER_NAME(Context3DTextureFormat_obj::COMPRESSED,"COMPRESSED"); - HX_MARK_MEMBER_NAME(Context3DTextureFormat_obj::COMPRESSED_ALPHA,"COMPRESSED_ALPHA"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Context3DTextureFormat_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Context3DTextureFormat_obj::BGRA,"BGRA"); - HX_VISIT_MEMBER_NAME(Context3DTextureFormat_obj::COMPRESSED,"COMPRESSED"); - HX_VISIT_MEMBER_NAME(Context3DTextureFormat_obj::COMPRESSED_ALPHA,"COMPRESSED_ALPHA"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class Context3DTextureFormat_obj::__mClass; - -Dynamic __Create_Context3DTextureFormat_obj() { return new Context3DTextureFormat_obj; } - -void Context3DTextureFormat_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display3D.Context3DTextureFormat"), hx::TCanCast< Context3DTextureFormat_obj >,sStaticFields,sMemberFields, - &__Create_Context3DTextureFormat_obj, &__Create, - &super::__SGetClass(), &CreateContext3DTextureFormat_obj, sMarkStatics, sVisitStatic); -} - -void Context3DTextureFormat_obj::__boot() -{ -Static(BGRA) = hx::CreateEnum< Context3DTextureFormat_obj >(HX_CSTRING("BGRA"),0); -Static(COMPRESSED) = hx::CreateEnum< Context3DTextureFormat_obj >(HX_CSTRING("COMPRESSED"),1); -Static(COMPRESSED_ALPHA) = hx::CreateEnum< Context3DTextureFormat_obj >(HX_CSTRING("COMPRESSED_ALPHA"),2); -} - - -} // end namespace native -} // end namespace display3D diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DTriangleFace.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DTriangleFace.cpp deleted file mode 100644 index 4f5f57a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DTriangleFace.cpp +++ /dev/null @@ -1,131 +0,0 @@ -#include - -#ifndef INCLUDED_native_display3D_Context3DTriangleFace -#include -#endif -namespace native{ -namespace display3D{ - -Void Context3DTriangleFace_obj::__construct() -{ - return null(); -} - -Context3DTriangleFace_obj::~Context3DTriangleFace_obj() { } - -Dynamic Context3DTriangleFace_obj::__CreateEmpty() { return new Context3DTriangleFace_obj; } -hx::ObjectPtr< Context3DTriangleFace_obj > Context3DTriangleFace_obj::__new() -{ hx::ObjectPtr< Context3DTriangleFace_obj > result = new Context3DTriangleFace_obj(); - result->__construct(); - return result;} - -Dynamic Context3DTriangleFace_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Context3DTriangleFace_obj > result = new Context3DTriangleFace_obj(); - result->__construct(); - return result;} - -int Context3DTriangleFace_obj::BACK; - -int Context3DTriangleFace_obj::FRONT; - -int Context3DTriangleFace_obj::FRONT_AND_BACK; - -int Context3DTriangleFace_obj::NONE; - - -Context3DTriangleFace_obj::Context3DTriangleFace_obj() -{ -} - -void Context3DTriangleFace_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Context3DTriangleFace); - HX_MARK_END_CLASS(); -} - -void Context3DTriangleFace_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Context3DTriangleFace_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"BACK") ) { return BACK; } - if (HX_FIELD_EQ(inName,"NONE") ) { return NONE; } - break; - case 5: - if (HX_FIELD_EQ(inName,"FRONT") ) { return FRONT; } - break; - case 14: - if (HX_FIELD_EQ(inName,"FRONT_AND_BACK") ) { return FRONT_AND_BACK; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Context3DTriangleFace_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"BACK") ) { BACK=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"NONE") ) { NONE=inValue.Cast< int >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"FRONT") ) { FRONT=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"FRONT_AND_BACK") ) { FRONT_AND_BACK=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Context3DTriangleFace_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("BACK"), - HX_CSTRING("FRONT"), - HX_CSTRING("FRONT_AND_BACK"), - HX_CSTRING("NONE"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Context3DTriangleFace_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Context3DTriangleFace_obj::BACK,"BACK"); - HX_MARK_MEMBER_NAME(Context3DTriangleFace_obj::FRONT,"FRONT"); - HX_MARK_MEMBER_NAME(Context3DTriangleFace_obj::FRONT_AND_BACK,"FRONT_AND_BACK"); - HX_MARK_MEMBER_NAME(Context3DTriangleFace_obj::NONE,"NONE"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Context3DTriangleFace_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Context3DTriangleFace_obj::BACK,"BACK"); - HX_VISIT_MEMBER_NAME(Context3DTriangleFace_obj::FRONT,"FRONT"); - HX_VISIT_MEMBER_NAME(Context3DTriangleFace_obj::FRONT_AND_BACK,"FRONT_AND_BACK"); - HX_VISIT_MEMBER_NAME(Context3DTriangleFace_obj::NONE,"NONE"); -}; - -Class Context3DTriangleFace_obj::__mClass; - -void Context3DTriangleFace_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display3D.Context3DTriangleFace"), hx::TCanCast< Context3DTriangleFace_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Context3DTriangleFace_obj::__boot() -{ - BACK= (int)1028; - FRONT= (int)1029; - FRONT_AND_BACK= (int)1032; - NONE= (int)0; -} - -} // end namespace native -} // end namespace display3D diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DVertexBufferFormat.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DVertexBufferFormat.cpp deleted file mode 100644 index 0c13e2d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Context3DVertexBufferFormat.cpp +++ /dev/null @@ -1,100 +0,0 @@ -#include - -#ifndef INCLUDED_native_display3D_Context3DVertexBufferFormat -#include -#endif -namespace native{ -namespace display3D{ - -::native::display3D::Context3DVertexBufferFormat Context3DVertexBufferFormat_obj::BYTES_4; - -::native::display3D::Context3DVertexBufferFormat Context3DVertexBufferFormat_obj::FLOAT_1; - -::native::display3D::Context3DVertexBufferFormat Context3DVertexBufferFormat_obj::FLOAT_2; - -::native::display3D::Context3DVertexBufferFormat Context3DVertexBufferFormat_obj::FLOAT_3; - -::native::display3D::Context3DVertexBufferFormat Context3DVertexBufferFormat_obj::FLOAT_4; - -HX_DEFINE_CREATE_ENUM(Context3DVertexBufferFormat_obj) - -int Context3DVertexBufferFormat_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BYTES_4")) return 0; - if (inName==HX_CSTRING("FLOAT_1")) return 1; - if (inName==HX_CSTRING("FLOAT_2")) return 2; - if (inName==HX_CSTRING("FLOAT_3")) return 3; - if (inName==HX_CSTRING("FLOAT_4")) return 4; - return super::__FindIndex(inName); -} - -int Context3DVertexBufferFormat_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BYTES_4")) return 0; - if (inName==HX_CSTRING("FLOAT_1")) return 0; - if (inName==HX_CSTRING("FLOAT_2")) return 0; - if (inName==HX_CSTRING("FLOAT_3")) return 0; - if (inName==HX_CSTRING("FLOAT_4")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic Context3DVertexBufferFormat_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BYTES_4")) return BYTES_4; - if (inName==HX_CSTRING("FLOAT_1")) return FLOAT_1; - if (inName==HX_CSTRING("FLOAT_2")) return FLOAT_2; - if (inName==HX_CSTRING("FLOAT_3")) return FLOAT_3; - if (inName==HX_CSTRING("FLOAT_4")) return FLOAT_4; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("BYTES_4"), - HX_CSTRING("FLOAT_1"), - HX_CSTRING("FLOAT_2"), - HX_CSTRING("FLOAT_3"), - HX_CSTRING("FLOAT_4"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Context3DVertexBufferFormat_obj::BYTES_4,"BYTES_4"); - HX_MARK_MEMBER_NAME(Context3DVertexBufferFormat_obj::FLOAT_1,"FLOAT_1"); - HX_MARK_MEMBER_NAME(Context3DVertexBufferFormat_obj::FLOAT_2,"FLOAT_2"); - HX_MARK_MEMBER_NAME(Context3DVertexBufferFormat_obj::FLOAT_3,"FLOAT_3"); - HX_MARK_MEMBER_NAME(Context3DVertexBufferFormat_obj::FLOAT_4,"FLOAT_4"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Context3DVertexBufferFormat_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Context3DVertexBufferFormat_obj::BYTES_4,"BYTES_4"); - HX_VISIT_MEMBER_NAME(Context3DVertexBufferFormat_obj::FLOAT_1,"FLOAT_1"); - HX_VISIT_MEMBER_NAME(Context3DVertexBufferFormat_obj::FLOAT_2,"FLOAT_2"); - HX_VISIT_MEMBER_NAME(Context3DVertexBufferFormat_obj::FLOAT_3,"FLOAT_3"); - HX_VISIT_MEMBER_NAME(Context3DVertexBufferFormat_obj::FLOAT_4,"FLOAT_4"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class Context3DVertexBufferFormat_obj::__mClass; - -Dynamic __Create_Context3DVertexBufferFormat_obj() { return new Context3DVertexBufferFormat_obj; } - -void Context3DVertexBufferFormat_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display3D.Context3DVertexBufferFormat"), hx::TCanCast< Context3DVertexBufferFormat_obj >,sStaticFields,sMemberFields, - &__Create_Context3DVertexBufferFormat_obj, &__Create, - &super::__SGetClass(), &CreateContext3DVertexBufferFormat_obj, sMarkStatics, sVisitStatic); -} - -void Context3DVertexBufferFormat_obj::__boot() -{ -Static(BYTES_4) = hx::CreateEnum< Context3DVertexBufferFormat_obj >(HX_CSTRING("BYTES_4"),0); -Static(FLOAT_1) = hx::CreateEnum< Context3DVertexBufferFormat_obj >(HX_CSTRING("FLOAT_1"),1); -Static(FLOAT_2) = hx::CreateEnum< Context3DVertexBufferFormat_obj >(HX_CSTRING("FLOAT_2"),2); -Static(FLOAT_3) = hx::CreateEnum< Context3DVertexBufferFormat_obj >(HX_CSTRING("FLOAT_3"),3); -Static(FLOAT_4) = hx::CreateEnum< Context3DVertexBufferFormat_obj >(HX_CSTRING("FLOAT_4"),4); -} - - -} // end namespace native -} // end namespace display3D diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/IndexBuffer3D.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/IndexBuffer3D.cpp deleted file mode 100644 index 9d07d57..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/IndexBuffer3D.cpp +++ /dev/null @@ -1,177 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_display3D_IndexBuffer3D -#include -#endif -#ifndef INCLUDED_native_gl_Buffer -#include -#endif -#ifndef INCLUDED_native_gl_GL -#include -#endif -#ifndef INCLUDED_native_gl_Object -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace native{ -namespace display3D{ - -Void IndexBuffer3D_obj::__construct(::native::gl::Buffer glBuffer,int numIndices) -{ -HX_STACK_PUSH("IndexBuffer3D::new","native/display3D/IndexBuffer3D.hx",16); -{ - HX_STACK_LINE(18) - this->glBuffer = glBuffer; - HX_STACK_LINE(19) - this->numIndices = numIndices; -} -; - return null(); -} - -IndexBuffer3D_obj::~IndexBuffer3D_obj() { } - -Dynamic IndexBuffer3D_obj::__CreateEmpty() { return new IndexBuffer3D_obj; } -hx::ObjectPtr< IndexBuffer3D_obj > IndexBuffer3D_obj::__new(::native::gl::Buffer glBuffer,int numIndices) -{ hx::ObjectPtr< IndexBuffer3D_obj > result = new IndexBuffer3D_obj(); - result->__construct(glBuffer,numIndices); - return result;} - -Dynamic IndexBuffer3D_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< IndexBuffer3D_obj > result = new IndexBuffer3D_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -Void IndexBuffer3D_obj::uploadFromVector( Array< int > data,int startOffset,int count){ -{ - HX_STACK_PUSH("IndexBuffer3D::uploadFromVector","native/display3D/IndexBuffer3D.hx",34); - HX_STACK_THIS(this); - HX_STACK_ARG(data,"data"); - HX_STACK_ARG(startOffset,"startOffset"); - HX_STACK_ARG(count,"count"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(IndexBuffer3D_obj,uploadFromVector,(void)) - -Void IndexBuffer3D_obj::uploadFromByteArray( ::native::utils::ByteArray byteArray,int byteArrayOffset,int startOffset,int count){ -{ - HX_STACK_PUSH("IndexBuffer3D::uploadFromByteArray","native/display3D/IndexBuffer3D.hx",24); - HX_STACK_THIS(this); - HX_STACK_ARG(byteArray,"byteArray"); - HX_STACK_ARG(byteArrayOffset,"byteArrayOffset"); - HX_STACK_ARG(startOffset,"startOffset"); - HX_STACK_ARG(count,"count"); - HX_STACK_LINE(28) - ::native::gl::GL_obj::bindBuffer((int)34963,this->glBuffer); - HX_STACK_LINE(29) - ::native::gl::GL_obj::bufferData((int)34963,byteArray,(int)35044); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(IndexBuffer3D_obj,uploadFromByteArray,(void)) - - -IndexBuffer3D_obj::IndexBuffer3D_obj() -{ -} - -void IndexBuffer3D_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(IndexBuffer3D); - HX_MARK_MEMBER_NAME(numIndices,"numIndices"); - HX_MARK_MEMBER_NAME(glBuffer,"glBuffer"); - HX_MARK_END_CLASS(); -} - -void IndexBuffer3D_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(numIndices,"numIndices"); - HX_VISIT_MEMBER_NAME(glBuffer,"glBuffer"); -} - -Dynamic IndexBuffer3D_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"glBuffer") ) { return glBuffer; } - break; - case 10: - if (HX_FIELD_EQ(inName,"numIndices") ) { return numIndices; } - break; - case 16: - if (HX_FIELD_EQ(inName,"uploadFromVector") ) { return uploadFromVector_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"uploadFromByteArray") ) { return uploadFromByteArray_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic IndexBuffer3D_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"glBuffer") ) { glBuffer=inValue.Cast< ::native::gl::Buffer >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"numIndices") ) { numIndices=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void IndexBuffer3D_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("numIndices")); - outFields->push(HX_CSTRING("glBuffer")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("uploadFromVector"), - HX_CSTRING("uploadFromByteArray"), - HX_CSTRING("numIndices"), - HX_CSTRING("glBuffer"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IndexBuffer3D_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IndexBuffer3D_obj::__mClass,"__mClass"); -}; - -Class IndexBuffer3D_obj::__mClass; - -void IndexBuffer3D_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display3D.IndexBuffer3D"), hx::TCanCast< IndexBuffer3D_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IndexBuffer3D_obj::__boot() -{ -} - -} // end namespace native -} // end namespace display3D diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Program3D.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Program3D.cpp deleted file mode 100644 index bab0f6d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/Program3D.cpp +++ /dev/null @@ -1,163 +0,0 @@ -#include - -#ifndef INCLUDED_native_display3D_Program3D -#include -#endif -#ifndef INCLUDED_native_gl_GL -#include -#endif -#ifndef INCLUDED_native_gl_Object -#include -#endif -#ifndef INCLUDED_native_gl_Program -#include -#endif -#ifndef INCLUDED_native_gl_Shader -#include -#endif -namespace native{ -namespace display3D{ - -Void Program3D_obj::__construct(::native::gl::Program program) -{ -HX_STACK_PUSH("Program3D::new","native/display3D/Program3D.hx",13); -{ - HX_STACK_LINE(13) - this->glProgram = program; -} -; - return null(); -} - -Program3D_obj::~Program3D_obj() { } - -Dynamic Program3D_obj::__CreateEmpty() { return new Program3D_obj; } -hx::ObjectPtr< Program3D_obj > Program3D_obj::__new(::native::gl::Program program) -{ hx::ObjectPtr< Program3D_obj > result = new Program3D_obj(); - result->__construct(program); - return result;} - -Dynamic Program3D_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Program3D_obj > result = new Program3D_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Program3D_obj::upload( ::native::gl::Shader vertexShader,::native::gl::Shader fragmentShader){ -{ - HX_STACK_PUSH("Program3D::upload","native/display3D/Program3D.hx",29); - HX_STACK_THIS(this); - HX_STACK_ARG(vertexShader,"vertexShader"); - HX_STACK_ARG(fragmentShader,"fragmentShader"); - HX_STACK_LINE(31) - ::native::gl::GL_obj::attachShader(this->glProgram,vertexShader); - HX_STACK_LINE(32) - ::native::gl::GL_obj::attachShader(this->glProgram,fragmentShader); - HX_STACK_LINE(33) - ::native::gl::GL_obj::linkProgram(this->glProgram); - HX_STACK_LINE(35) - if (((::native::gl::GL_obj::getProgramParameter(this->glProgram,(int)35714) == (int)0))){ - HX_STACK_LINE(37) - ::String result = ::native::gl::GL_obj::getProgramInfoLog(this->glProgram); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(38) - if (((result != HX_CSTRING("")))){ - HX_STACK_LINE(38) - hx::Throw (result); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Program3D_obj,upload,(void)) - -Void Program3D_obj::dispose( ){ -{ - HX_STACK_PUSH("Program3D::dispose","native/display3D/Program3D.hx",20); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Program3D_obj,dispose,(void)) - - -Program3D_obj::Program3D_obj() -{ -} - -void Program3D_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Program3D); - HX_MARK_MEMBER_NAME(glProgram,"glProgram"); - HX_MARK_END_CLASS(); -} - -void Program3D_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(glProgram,"glProgram"); -} - -Dynamic Program3D_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"upload") ) { return upload_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"dispose") ) { return dispose_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"glProgram") ) { return glProgram; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Program3D_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"glProgram") ) { glProgram=inValue.Cast< ::native::gl::Program >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Program3D_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("glProgram")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("upload"), - HX_CSTRING("dispose"), - HX_CSTRING("glProgram"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Program3D_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Program3D_obj::__mClass,"__mClass"); -}; - -Class Program3D_obj::__mClass; - -void Program3D_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display3D.Program3D"), hx::TCanCast< Program3D_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Program3D_obj::__boot() -{ -} - -} // end namespace native -} // end namespace display3D diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/VertexBuffer3D.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/VertexBuffer3D.cpp deleted file mode 100644 index 8d0b28d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/VertexBuffer3D.cpp +++ /dev/null @@ -1,204 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_display3D_VertexBuffer3D -#include -#endif -#ifndef INCLUDED_native_gl_Buffer -#include -#endif -#ifndef INCLUDED_native_gl_GL -#include -#endif -#ifndef INCLUDED_native_gl_Object -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace native{ -namespace display3D{ - -Void VertexBuffer3D_obj::__construct(::native::gl::Buffer glBuffer,int numVertices,int data32PerVertex) -{ -HX_STACK_PUSH("VertexBuffer3D::new","native/display3D/VertexBuffer3D.hx",17); -{ - HX_STACK_LINE(19) - this->glBuffer = glBuffer; - HX_STACK_LINE(20) - this->numVertices = numVertices; - HX_STACK_LINE(21) - this->data32PerVertex = data32PerVertex; -} -; - return null(); -} - -VertexBuffer3D_obj::~VertexBuffer3D_obj() { } - -Dynamic VertexBuffer3D_obj::__CreateEmpty() { return new VertexBuffer3D_obj; } -hx::ObjectPtr< VertexBuffer3D_obj > VertexBuffer3D_obj::__new(::native::gl::Buffer glBuffer,int numVertices,int data32PerVertex) -{ hx::ObjectPtr< VertexBuffer3D_obj > result = new VertexBuffer3D_obj(); - result->__construct(glBuffer,numVertices,data32PerVertex); - return result;} - -Dynamic VertexBuffer3D_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< VertexBuffer3D_obj > result = new VertexBuffer3D_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -Void VertexBuffer3D_obj::uploadFromVector( Array< Float > data,int startVertex,int numVertices){ -{ - HX_STACK_PUSH("VertexBuffer3D::uploadFromVector","native/display3D/VertexBuffer3D.hx",43); - HX_STACK_THIS(this); - HX_STACK_ARG(data,"data"); - HX_STACK_ARG(startVertex,"startVertex"); - HX_STACK_ARG(numVertices,"numVertices"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(VertexBuffer3D_obj,uploadFromVector,(void)) - -Void VertexBuffer3D_obj::uploadFromByteArray( ::native::utils::ByteArray byteArray,int byteArrayOffset,int startOffset,int count){ -{ - HX_STACK_PUSH("VertexBuffer3D::uploadFromByteArray","native/display3D/VertexBuffer3D.hx",33); - HX_STACK_THIS(this); - HX_STACK_ARG(byteArray,"byteArray"); - HX_STACK_ARG(byteArrayOffset,"byteArrayOffset"); - HX_STACK_ARG(startOffset,"startOffset"); - HX_STACK_ARG(count,"count"); - HX_STACK_LINE(37) - ::native::gl::GL_obj::bindBuffer((int)34962,this->glBuffer); - HX_STACK_LINE(38) - ::native::gl::GL_obj::bufferData((int)34962,byteArray,(int)35044); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(VertexBuffer3D_obj,uploadFromByteArray,(void)) - -Void VertexBuffer3D_obj::dispose( ){ -{ - HX_STACK_PUSH("VertexBuffer3D::dispose","native/display3D/VertexBuffer3D.hx",26); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(VertexBuffer3D_obj,dispose,(void)) - - -VertexBuffer3D_obj::VertexBuffer3D_obj() -{ -} - -void VertexBuffer3D_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(VertexBuffer3D); - HX_MARK_MEMBER_NAME(numVertices,"numVertices"); - HX_MARK_MEMBER_NAME(glBuffer,"glBuffer"); - HX_MARK_MEMBER_NAME(data32PerVertex,"data32PerVertex"); - HX_MARK_END_CLASS(); -} - -void VertexBuffer3D_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(numVertices,"numVertices"); - HX_VISIT_MEMBER_NAME(glBuffer,"glBuffer"); - HX_VISIT_MEMBER_NAME(data32PerVertex,"data32PerVertex"); -} - -Dynamic VertexBuffer3D_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"dispose") ) { return dispose_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"glBuffer") ) { return glBuffer; } - break; - case 11: - if (HX_FIELD_EQ(inName,"numVertices") ) { return numVertices; } - break; - case 15: - if (HX_FIELD_EQ(inName,"data32PerVertex") ) { return data32PerVertex; } - break; - case 16: - if (HX_FIELD_EQ(inName,"uploadFromVector") ) { return uploadFromVector_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"uploadFromByteArray") ) { return uploadFromByteArray_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic VertexBuffer3D_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"glBuffer") ) { glBuffer=inValue.Cast< ::native::gl::Buffer >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"numVertices") ) { numVertices=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"data32PerVertex") ) { data32PerVertex=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void VertexBuffer3D_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("numVertices")); - outFields->push(HX_CSTRING("glBuffer")); - outFields->push(HX_CSTRING("data32PerVertex")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("uploadFromVector"), - HX_CSTRING("uploadFromByteArray"), - HX_CSTRING("dispose"), - HX_CSTRING("numVertices"), - HX_CSTRING("glBuffer"), - HX_CSTRING("data32PerVertex"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(VertexBuffer3D_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(VertexBuffer3D_obj::__mClass,"__mClass"); -}; - -Class VertexBuffer3D_obj::__mClass; - -void VertexBuffer3D_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display3D.VertexBuffer3D"), hx::TCanCast< VertexBuffer3D_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void VertexBuffer3D_obj::__boot() -{ -} - -} // end namespace native -} // end namespace display3D diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/textures/CubeTexture.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/textures/CubeTexture.cpp deleted file mode 100644 index 721634d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/textures/CubeTexture.cpp +++ /dev/null @@ -1,181 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_display_BitmapData -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display3D_textures_CubeTexture -#include -#endif -#ifndef INCLUDED_native_display3D_textures_TextureBase -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace native{ -namespace display3D{ -namespace textures{ - -Void CubeTexture_obj::__construct() -{ -HX_STACK_PUSH("CubeTexture::new","native/display3D/textures/CubeTexture.hx",11); -{ - HX_STACK_LINE(11) - super::__construct(); -} -; - return null(); -} - -CubeTexture_obj::~CubeTexture_obj() { } - -Dynamic CubeTexture_obj::__CreateEmpty() { return new CubeTexture_obj; } -hx::ObjectPtr< CubeTexture_obj > CubeTexture_obj::__new() -{ hx::ObjectPtr< CubeTexture_obj > result = new CubeTexture_obj(); - result->__construct(); - return result;} - -Dynamic CubeTexture_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< CubeTexture_obj > result = new CubeTexture_obj(); - result->__construct(); - return result;} - -Void CubeTexture_obj::uploadFromByteArray( ::native::utils::ByteArray data,int byteArrayOffset,int side,hx::Null< int > __o_miplevel){ -int miplevel = __o_miplevel.Default(0); - HX_STACK_PUSH("CubeTexture::uploadFromByteArray","native/display3D/textures/CubeTexture.hx",32); - HX_STACK_THIS(this); - HX_STACK_ARG(data,"data"); - HX_STACK_ARG(byteArrayOffset,"byteArrayOffset"); - HX_STACK_ARG(side,"side"); - HX_STACK_ARG(miplevel,"miplevel"); -{ - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(CubeTexture_obj,uploadFromByteArray,(void)) - -Void CubeTexture_obj::uploadFromBitmapData( ::native::display::BitmapData source,int side,hx::Null< int > __o_miplevel){ -int miplevel = __o_miplevel.Default(0); - HX_STACK_PUSH("CubeTexture::uploadFromBitmapData","native/display3D/textures/CubeTexture.hx",25); - HX_STACK_THIS(this); - HX_STACK_ARG(source,"source"); - HX_STACK_ARG(side,"side"); - HX_STACK_ARG(miplevel,"miplevel"); -{ - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(CubeTexture_obj,uploadFromBitmapData,(void)) - -Void CubeTexture_obj::uploadCompressedTextureFromByteArray( ::native::utils::ByteArray data,int byteArrayOffset,hx::Null< bool > __o_async){ -bool async = __o_async.Default(false); - HX_STACK_PUSH("CubeTexture::uploadCompressedTextureFromByteArray","native/display3D/textures/CubeTexture.hx",18); - HX_STACK_THIS(this); - HX_STACK_ARG(data,"data"); - HX_STACK_ARG(byteArrayOffset,"byteArrayOffset"); - HX_STACK_ARG(async,"async"); -{ - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(CubeTexture_obj,uploadCompressedTextureFromByteArray,(void)) - - -CubeTexture_obj::CubeTexture_obj() -{ -} - -void CubeTexture_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(CubeTexture); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void CubeTexture_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic CubeTexture_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 19: - if (HX_FIELD_EQ(inName,"uploadFromByteArray") ) { return uploadFromByteArray_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"uploadFromBitmapData") ) { return uploadFromBitmapData_dyn(); } - break; - case 36: - if (HX_FIELD_EQ(inName,"uploadCompressedTextureFromByteArray") ) { return uploadCompressedTextureFromByteArray_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic CubeTexture_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void CubeTexture_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("uploadFromByteArray"), - HX_CSTRING("uploadFromBitmapData"), - HX_CSTRING("uploadCompressedTextureFromByteArray"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(CubeTexture_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(CubeTexture_obj::__mClass,"__mClass"); -}; - -Class CubeTexture_obj::__mClass; - -void CubeTexture_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display3D.textures.CubeTexture"), hx::TCanCast< CubeTexture_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void CubeTexture_obj::__boot() -{ -} - -} // end namespace native -} // end namespace display3D -} // end namespace textures diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/textures/Texture.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/textures/Texture.cpp deleted file mode 100644 index 4ed5fc0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/textures/Texture.cpp +++ /dev/null @@ -1,241 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_display_BitmapData -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display3D_textures_Texture -#include -#endif -#ifndef INCLUDED_native_display3D_textures_TextureBase -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_geom_Rectangle -#include -#endif -#ifndef INCLUDED_native_gl_GL -#include -#endif -#ifndef INCLUDED_native_gl_Object -#include -#endif -#ifndef INCLUDED_native_gl_Texture -#include -#endif -#ifndef INCLUDED_native_utils_ArrayBufferView -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace native{ -namespace display3D{ -namespace textures{ - -Void Texture_obj::__construct(::native::gl::Texture glTexture) -{ -HX_STACK_PUSH("Texture::new","native/display3D/textures/Texture.hx",18); -{ - HX_STACK_LINE(20) - super::__construct(); - HX_STACK_LINE(22) - this->glTexture = glTexture; -} -; - return null(); -} - -Texture_obj::~Texture_obj() { } - -Dynamic Texture_obj::__CreateEmpty() { return new Texture_obj; } -hx::ObjectPtr< Texture_obj > Texture_obj::__new(::native::gl::Texture glTexture) -{ hx::ObjectPtr< Texture_obj > result = new Texture_obj(); - result->__construct(glTexture); - return result;} - -Dynamic Texture_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Texture_obj > result = new Texture_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Texture_obj::uploadFromByteArray( ::native::utils::ByteArray data,int byteArrayOffset,hx::Null< int > __o_miplevel){ -int miplevel = __o_miplevel.Default(0); - HX_STACK_PUSH("Texture::uploadFromByteArray","native/display3D/textures/Texture.hx",60); - HX_STACK_THIS(this); - HX_STACK_ARG(data,"data"); - HX_STACK_ARG(byteArrayOffset,"byteArrayOffset"); - HX_STACK_ARG(miplevel,"miplevel"); -{ - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Texture_obj,uploadFromByteArray,(void)) - -Void Texture_obj::uploadFromBitmapData( ::native::display::BitmapData bitmapData,hx::Null< int > __o_miplevel){ -int miplevel = __o_miplevel.Default(0); - HX_STACK_PUSH("Texture::uploadFromBitmapData","native/display3D/textures/Texture.hx",34); - HX_STACK_THIS(this); - HX_STACK_ARG(bitmapData,"bitmapData"); - HX_STACK_ARG(miplevel,"miplevel"); -{ - HX_STACK_LINE(36) - ::native::gl::GL_obj::bindTexture((int)3553,this->glTexture); - HX_STACK_LINE(38) - ::native::utils::ByteArray p = bitmapData->getPixels(::native::geom::Rectangle_obj::__new((int)0,(int)0,bitmapData->get_width(),bitmapData->get_height())); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(39) - int num = (bitmapData->get_width() * bitmapData->get_height()); HX_STACK_VAR(num,"num"); - HX_STACK_LINE(41) - { - HX_STACK_LINE(41) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(41) - while(((_g < num))){ - HX_STACK_LINE(41) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(43) - int alpha = p->__get((i * (int)4)); HX_STACK_VAR(alpha,"alpha"); - HX_STACK_LINE(44) - int red = p->__get(((i * (int)4) + (int)1)); HX_STACK_VAR(red,"red"); - HX_STACK_LINE(45) - int green = p->__get(((i * (int)4) + (int)2)); HX_STACK_VAR(green,"green"); - HX_STACK_LINE(46) - int blue = p->__get(((i * (int)4) + (int)3)); HX_STACK_VAR(blue,"blue"); - HX_STACK_LINE(48) - hx::__ArrayImplRef(p,(i * (int)4)) = red; - HX_STACK_LINE(49) - hx::__ArrayImplRef(p,((i * (int)4) + (int)1)) = green; - HX_STACK_LINE(50) - hx::__ArrayImplRef(p,((i * (int)4) + (int)2)) = blue; - HX_STACK_LINE(51) - hx::__ArrayImplRef(p,((i * (int)4) + (int)3)) = alpha; - } - } - HX_STACK_LINE(55) - ::native::gl::GL_obj::texImage2D((int)3553,(int)0,(int)6408,bitmapData->get_width(),bitmapData->get_height(),(int)0,(int)6408,(int)5121,::native::utils::ArrayBufferView_obj::__new(p,(int)0,null())); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Texture_obj,uploadFromBitmapData,(void)) - -Void Texture_obj::uploadCompressedTextureFromByteArray( ::native::utils::ByteArray data,int byteArrayOffset,hx::Null< bool > __o_async){ -bool async = __o_async.Default(false); - HX_STACK_PUSH("Texture::uploadCompressedTextureFromByteArray","native/display3D/textures/Texture.hx",27); - HX_STACK_THIS(this); - HX_STACK_ARG(data,"data"); - HX_STACK_ARG(byteArrayOffset,"byteArrayOffset"); - HX_STACK_ARG(async,"async"); -{ - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Texture_obj,uploadCompressedTextureFromByteArray,(void)) - - -Texture_obj::Texture_obj() -{ -} - -void Texture_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Texture); - HX_MARK_MEMBER_NAME(glTexture,"glTexture"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Texture_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(glTexture,"glTexture"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Texture_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"glTexture") ) { return glTexture; } - break; - case 19: - if (HX_FIELD_EQ(inName,"uploadFromByteArray") ) { return uploadFromByteArray_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"uploadFromBitmapData") ) { return uploadFromBitmapData_dyn(); } - break; - case 36: - if (HX_FIELD_EQ(inName,"uploadCompressedTextureFromByteArray") ) { return uploadCompressedTextureFromByteArray_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Texture_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"glTexture") ) { glTexture=inValue.Cast< ::native::gl::Texture >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Texture_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("glTexture")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("uploadFromByteArray"), - HX_CSTRING("uploadFromBitmapData"), - HX_CSTRING("uploadCompressedTextureFromByteArray"), - HX_CSTRING("glTexture"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Texture_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Texture_obj::__mClass,"__mClass"); -}; - -Class Texture_obj::__mClass; - -void Texture_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display3D.textures.Texture"), hx::TCanCast< Texture_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Texture_obj::__boot() -{ -} - -} // end namespace native -} // end namespace display3D -} // end namespace textures diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/textures/TextureBase.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/textures/TextureBase.cpp deleted file mode 100644 index efda7ed..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/display3D/textures/TextureBase.cpp +++ /dev/null @@ -1,117 +0,0 @@ -#include - -#ifndef INCLUDED_native_display3D_textures_TextureBase -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -namespace native{ -namespace display3D{ -namespace textures{ - -Void TextureBase_obj::__construct() -{ -HX_STACK_PUSH("TextureBase::new","native/display3D/textures/TextureBase.hx",10); -{ - HX_STACK_LINE(10) - super::__construct(null()); -} -; - return null(); -} - -TextureBase_obj::~TextureBase_obj() { } - -Dynamic TextureBase_obj::__CreateEmpty() { return new TextureBase_obj; } -hx::ObjectPtr< TextureBase_obj > TextureBase_obj::__new() -{ hx::ObjectPtr< TextureBase_obj > result = new TextureBase_obj(); - result->__construct(); - return result;} - -Dynamic TextureBase_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TextureBase_obj > result = new TextureBase_obj(); - result->__construct(); - return result;} - -Void TextureBase_obj::dispose( ){ -{ - HX_STACK_PUSH("TextureBase::dispose","native/display3D/textures/TextureBase.hx",17); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(TextureBase_obj,dispose,(void)) - - -TextureBase_obj::TextureBase_obj() -{ -} - -void TextureBase_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TextureBase); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void TextureBase_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic TextureBase_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"dispose") ) { return dispose_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TextureBase_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void TextureBase_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("dispose"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TextureBase_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TextureBase_obj::__mClass,"__mClass"); -}; - -Class TextureBase_obj::__mClass; - -void TextureBase_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.display3D.textures.TextureBase"), hx::TCanCast< TextureBase_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TextureBase_obj::__boot() -{ -} - -} // end namespace native -} // end namespace display3D -} // end namespace textures diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/errors/ArgumentError.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/errors/ArgumentError.cpp deleted file mode 100644 index 5f70bc1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/errors/ArgumentError.cpp +++ /dev/null @@ -1,96 +0,0 @@ -#include - -#ifndef INCLUDED_native_errors_ArgumentError -#include -#endif -#ifndef INCLUDED_native_errors_Error -#include -#endif -namespace native{ -namespace errors{ - -Void ArgumentError_obj::__construct(Dynamic inMessage,Dynamic id) -{ -HX_STACK_PUSH("ArgumentError::new","native/errors/ArgumentError.hx",4); -{ - HX_STACK_LINE(4) - super::__construct(inMessage,id); -} -; - return null(); -} - -ArgumentError_obj::~ArgumentError_obj() { } - -Dynamic ArgumentError_obj::__CreateEmpty() { return new ArgumentError_obj; } -hx::ObjectPtr< ArgumentError_obj > ArgumentError_obj::__new(Dynamic inMessage,Dynamic id) -{ hx::ObjectPtr< ArgumentError_obj > result = new ArgumentError_obj(); - result->__construct(inMessage,id); - return result;} - -Dynamic ArgumentError_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ArgumentError_obj > result = new ArgumentError_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - - -ArgumentError_obj::ArgumentError_obj() -{ -} - -void ArgumentError_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ArgumentError); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ArgumentError_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ArgumentError_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic ArgumentError_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void ArgumentError_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ArgumentError_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ArgumentError_obj::__mClass,"__mClass"); -}; - -Class ArgumentError_obj::__mClass; - -void ArgumentError_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.errors.ArgumentError"), hx::TCanCast< ArgumentError_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ArgumentError_obj::__boot() -{ -} - -} // end namespace native -} // end namespace errors diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/errors/EOFError.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/errors/EOFError.cpp deleted file mode 100644 index 841ccdd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/errors/EOFError.cpp +++ /dev/null @@ -1,96 +0,0 @@ -#include - -#ifndef INCLUDED_native_errors_EOFError -#include -#endif -#ifndef INCLUDED_native_errors_Error -#include -#endif -namespace native{ -namespace errors{ - -Void EOFError_obj::__construct() -{ -HX_STACK_PUSH("EOFError::new","native/errors/EOFError.hx",7); -{ - HX_STACK_LINE(7) - super::__construct(HX_CSTRING("End of file was encountered"),(int)2030); -} -; - return null(); -} - -EOFError_obj::~EOFError_obj() { } - -Dynamic EOFError_obj::__CreateEmpty() { return new EOFError_obj; } -hx::ObjectPtr< EOFError_obj > EOFError_obj::__new() -{ hx::ObjectPtr< EOFError_obj > result = new EOFError_obj(); - result->__construct(); - return result;} - -Dynamic EOFError_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< EOFError_obj > result = new EOFError_obj(); - result->__construct(); - return result;} - - -EOFError_obj::EOFError_obj() -{ -} - -void EOFError_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(EOFError); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void EOFError_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic EOFError_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic EOFError_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void EOFError_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(EOFError_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(EOFError_obj::__mClass,"__mClass"); -}; - -Class EOFError_obj::__mClass; - -void EOFError_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.errors.EOFError"), hx::TCanCast< EOFError_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void EOFError_obj::__boot() -{ -} - -} // end namespace native -} // end namespace errors diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/errors/Error.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/errors/Error.cpp deleted file mode 100644 index 5c236ca..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/errors/Error.cpp +++ /dev/null @@ -1,150 +0,0 @@ -#include - -#ifndef INCLUDED_native_errors_Error -#include -#endif -namespace native{ -namespace errors{ - -Void Error_obj::__construct(Dynamic inMessage,Dynamic __o_id) -{ -HX_STACK_PUSH("Error::new","native/errors/Error.hx",12); -Dynamic id = __o_id.Default(0); -{ - HX_STACK_LINE(14) - this->message = inMessage; - HX_STACK_LINE(15) - this->errorID = id; -} -; - return null(); -} - -Error_obj::~Error_obj() { } - -Dynamic Error_obj::__CreateEmpty() { return new Error_obj; } -hx::ObjectPtr< Error_obj > Error_obj::__new(Dynamic inMessage,Dynamic __o_id) -{ hx::ObjectPtr< Error_obj > result = new Error_obj(); - result->__construct(inMessage,__o_id); - return result;} - -Dynamic Error_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Error_obj > result = new Error_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::String Error_obj::toString( ){ - HX_STACK_PUSH("Error::toString","native/errors/Error.hx",27); - HX_STACK_THIS(this); - HX_STACK_LINE(27) - return this->message; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Error_obj,toString,return ) - -::String Error_obj::getStackTrace( ){ - HX_STACK_PUSH("Error::getStackTrace","native/errors/Error.hx",20); - HX_STACK_THIS(this); - HX_STACK_LINE(20) - return HX_CSTRING(""); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Error_obj,getStackTrace,return ) - - -Error_obj::Error_obj() -{ -} - -void Error_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Error); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_MEMBER_NAME(message,"message"); - HX_MARK_MEMBER_NAME(errorID,"errorID"); - HX_MARK_END_CLASS(); -} - -void Error_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(name,"name"); - HX_VISIT_MEMBER_NAME(message,"message"); - HX_VISIT_MEMBER_NAME(errorID,"errorID"); -} - -Dynamic Error_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 7: - if (HX_FIELD_EQ(inName,"message") ) { return message; } - if (HX_FIELD_EQ(inName,"errorID") ) { return errorID; } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"getStackTrace") ) { return getStackTrace_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Error_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< Dynamic >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"message") ) { message=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"errorID") ) { errorID=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Error_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("name")); - outFields->push(HX_CSTRING("message")); - outFields->push(HX_CSTRING("errorID")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("getStackTrace"), - HX_CSTRING("name"), - HX_CSTRING("message"), - HX_CSTRING("errorID"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Error_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Error_obj::__mClass,"__mClass"); -}; - -Class Error_obj::__mClass; - -void Error_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.errors.Error"), hx::TCanCast< Error_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Error_obj::__boot() -{ -} - -} // end namespace native -} // end namespace errors diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/errors/RangeError.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/errors/RangeError.cpp deleted file mode 100644 index 02abfaa..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/errors/RangeError.cpp +++ /dev/null @@ -1,97 +0,0 @@ -#include - -#ifndef INCLUDED_native_errors_Error -#include -#endif -#ifndef INCLUDED_native_errors_RangeError -#include -#endif -namespace native{ -namespace errors{ - -Void RangeError_obj::__construct(::String __o_inMessage) -{ -HX_STACK_PUSH("RangeError::new","native/errors/RangeError.hx",7); -::String inMessage = __o_inMessage.Default(HX_CSTRING("")); -{ - HX_STACK_LINE(7) - super::__construct(inMessage,(int)0); -} -; - return null(); -} - -RangeError_obj::~RangeError_obj() { } - -Dynamic RangeError_obj::__CreateEmpty() { return new RangeError_obj; } -hx::ObjectPtr< RangeError_obj > RangeError_obj::__new(::String __o_inMessage) -{ hx::ObjectPtr< RangeError_obj > result = new RangeError_obj(); - result->__construct(__o_inMessage); - return result;} - -Dynamic RangeError_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< RangeError_obj > result = new RangeError_obj(); - result->__construct(inArgs[0]); - return result;} - - -RangeError_obj::RangeError_obj() -{ -} - -void RangeError_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(RangeError); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void RangeError_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic RangeError_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic RangeError_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void RangeError_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(RangeError_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(RangeError_obj::__mClass,"__mClass"); -}; - -Class RangeError_obj::__mClass; - -void RangeError_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.errors.RangeError"), hx::TCanCast< RangeError_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void RangeError_obj::__boot() -{ -} - -} // end namespace native -} // end namespace errors diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/ErrorEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/ErrorEvent.cpp deleted file mode 100644 index 26dbbcf..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/ErrorEvent.cpp +++ /dev/null @@ -1,154 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_native_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_TextEvent -#include -#endif -namespace native{ -namespace events{ - -Void ErrorEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id) -{ -HX_STACK_PUSH("ErrorEvent::new","native/events/ErrorEvent.hx",12); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -::String text = __o_text.Default(HX_CSTRING("")); -int id = __o_id.Default(0); -{ - HX_STACK_LINE(14) - super::__construct(type,bubbles,cancelable,text); - HX_STACK_LINE(15) - this->errorID = id; -} -; - return null(); -} - -ErrorEvent_obj::~ErrorEvent_obj() { } - -Dynamic ErrorEvent_obj::__CreateEmpty() { return new ErrorEvent_obj; } -hx::ObjectPtr< ErrorEvent_obj > ErrorEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id) -{ hx::ObjectPtr< ErrorEvent_obj > result = new ErrorEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_text,__o_id); - return result;} - -Dynamic ErrorEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ErrorEvent_obj > result = new ErrorEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4]); - return result;} - -::String ErrorEvent_obj::toString( ){ - HX_STACK_PUSH("ErrorEvent::toString","native/events/ErrorEvent.hx",27); - HX_STACK_THIS(this); - HX_STACK_LINE(27) - return ((((((((((HX_CSTRING("[ErrorEvent type=") + this->get_type()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->get_bubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->get_cancelable())) + HX_CSTRING(" text=")) + this->text) + HX_CSTRING(" errorID=")) + this->errorID) + HX_CSTRING("]")); -} - - -::native::events::Event ErrorEvent_obj::clone( ){ - HX_STACK_PUSH("ErrorEvent::clone","native/events/ErrorEvent.hx",20); - HX_STACK_THIS(this); - HX_STACK_LINE(20) - return ::native::events::ErrorEvent_obj::__new(this->get_type(),this->get_bubbles(),this->get_cancelable(),this->text,this->errorID); -} - - -::String ErrorEvent_obj::ERROR; - - -ErrorEvent_obj::ErrorEvent_obj() -{ -} - -void ErrorEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ErrorEvent); - HX_MARK_MEMBER_NAME(errorID,"errorID"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ErrorEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(errorID,"errorID"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ErrorEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"ERROR") ) { return ERROR; } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"errorID") ) { return errorID; } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ErrorEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"ERROR") ) { ERROR=inValue.Cast< ::String >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"errorID") ) { errorID=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ErrorEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("errorID")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("ERROR"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("errorID"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ErrorEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ErrorEvent_obj::ERROR,"ERROR"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ErrorEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ErrorEvent_obj::ERROR,"ERROR"); -}; - -Class ErrorEvent_obj::__mClass; - -void ErrorEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.events.ErrorEvent"), hx::TCanCast< ErrorEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ErrorEvent_obj::__boot() -{ - ERROR= HX_CSTRING("error"); -} - -} // end namespace native -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/Event.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/Event.cpp deleted file mode 100644 index 7ce017f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/Event.cpp +++ /dev/null @@ -1,671 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_EventPhase -#include -#endif -namespace native{ -namespace events{ - -Void Event_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable) -{ -HX_STACK_PUSH("Event::new","native/events/Event.hx",51); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -{ - HX_STACK_LINE(53) - this->_type = type; - HX_STACK_LINE(54) - this->_bubbles = bubbles; - HX_STACK_LINE(55) - this->_cancelable = cancelable; - HX_STACK_LINE(56) - this->nmeIsCancelled = false; - HX_STACK_LINE(57) - this->nmeIsCancelledNow = false; - HX_STACK_LINE(58) - this->_target = null(); - HX_STACK_LINE(59) - this->_currentTarget = null(); - HX_STACK_LINE(60) - this->_eventPhase = ::native::events::EventPhase_obj::AT_TARGET; -} -; - return null(); -} - -Event_obj::~Event_obj() { } - -Dynamic Event_obj::__CreateEmpty() { return new Event_obj; } -hx::ObjectPtr< Event_obj > Event_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable) -{ hx::ObjectPtr< Event_obj > result = new Event_obj(); - result->__construct(type,__o_bubbles,__o_cancelable); - return result;} - -Dynamic Event_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Event_obj > result = new Event_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -::String Event_obj::get_type( ){ - HX_STACK_PUSH("Event::get_type","native/events/Event.hx",131); - HX_STACK_THIS(this); - HX_STACK_LINE(131) - return this->_type; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,get_type,return ) - -Dynamic Event_obj::set_target( Dynamic v){ - HX_STACK_PUSH("Event::set_target","native/events/Event.hx",130); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(130) - this->_target = v; - HX_STACK_LINE(130) - return v; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Event_obj,set_target,return ) - -Dynamic Event_obj::get_target( ){ - HX_STACK_PUSH("Event::get_target","native/events/Event.hx",129); - HX_STACK_THIS(this); - HX_STACK_LINE(129) - return this->_target; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,get_target,return ) - -int Event_obj::get_eventPhase( ){ - HX_STACK_PUSH("Event::get_eventPhase","native/events/Event.hx",128); - HX_STACK_THIS(this); - HX_STACK_LINE(128) - return this->_eventPhase; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,get_eventPhase,return ) - -Dynamic Event_obj::set_currentTarget( Dynamic v){ - HX_STACK_PUSH("Event::set_currentTarget","native/events/Event.hx",127); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(127) - this->_currentTarget = v; - HX_STACK_LINE(127) - return v; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Event_obj,set_currentTarget,return ) - -Dynamic Event_obj::get_currentTarget( ){ - HX_STACK_PUSH("Event::get_currentTarget","native/events/Event.hx",126); - HX_STACK_THIS(this); - HX_STACK_LINE(126) - return this->_currentTarget; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,get_currentTarget,return ) - -bool Event_obj::get_cancelable( ){ - HX_STACK_PUSH("Event::get_cancelable","native/events/Event.hx",125); - HX_STACK_THIS(this); - HX_STACK_LINE(125) - return this->_cancelable; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,get_cancelable,return ) - -bool Event_obj::get_bubbles( ){ - HX_STACK_PUSH("Event::get_bubbles","native/events/Event.hx",124); - HX_STACK_THIS(this); - HX_STACK_LINE(124) - return this->_bubbles; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,get_bubbles,return ) - -::String Event_obj::toString( ){ - HX_STACK_PUSH("Event::toString","native/events/Event.hx",110); - HX_STACK_THIS(this); - HX_STACK_LINE(110) - return ((((((HX_CSTRING("[Event type=") + this->get_type()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->get_bubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->get_cancelable())) + HX_CSTRING("]")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,toString,return ) - -Void Event_obj::stopPropagation( ){ -{ - HX_STACK_PUSH("Event::stopPropagation","native/events/Event.hx",102); - HX_STACK_THIS(this); - HX_STACK_LINE(102) - if ((this->get_cancelable())){ - HX_STACK_LINE(105) - this->nmeIsCancelled = true; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,stopPropagation,(void)) - -Void Event_obj::stopImmediatePropagation( ){ -{ - HX_STACK_PUSH("Event::stopImmediatePropagation","native/events/Event.hx",94); - HX_STACK_THIS(this); - HX_STACK_LINE(94) - if ((this->get_cancelable())){ - HX_STACK_LINE(97) - this->nmeIsCancelledNow = this->nmeIsCancelled = true; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,stopImmediatePropagation,(void)) - -Void Event_obj::nmeSetPhase( int inPhase){ -{ - HX_STACK_PUSH("Event::nmeSetPhase","native/events/Event.hx",86); - HX_STACK_THIS(this); - HX_STACK_ARG(inPhase,"inPhase"); - HX_STACK_LINE(86) - this->_eventPhase = inPhase; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Event_obj,nmeSetPhase,(void)) - -bool Event_obj::nmeGetIsCancelledNow( ){ - HX_STACK_PUSH("Event::nmeGetIsCancelledNow","native/events/Event.hx",79); - HX_STACK_THIS(this); - HX_STACK_LINE(79) - return this->nmeIsCancelledNow; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetIsCancelledNow,return ) - -bool Event_obj::nmeGetIsCancelled( ){ - HX_STACK_PUSH("Event::nmeGetIsCancelled","native/events/Event.hx",72); - HX_STACK_THIS(this); - HX_STACK_LINE(72) - return this->nmeIsCancelled; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetIsCancelled,return ) - -::native::events::Event Event_obj::clone( ){ - HX_STACK_PUSH("Event::clone","native/events/Event.hx",65); - HX_STACK_THIS(this); - HX_STACK_LINE(65) - return ::native::events::Event_obj::__new(this->get_type(),this->get_bubbles(),this->get_cancelable()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,clone,return ) - -::String Event_obj::ACTIVATE; - -::String Event_obj::ADDED; - -::String Event_obj::ADDED_TO_STAGE; - -::String Event_obj::CANCEL; - -::String Event_obj::CHANGE; - -::String Event_obj::CLOSE; - -::String Event_obj::COMPLETE; - -::String Event_obj::CONNECT; - -::String Event_obj::CONTEXT3D_CREATE; - -::String Event_obj::DEACTIVATE; - -::String Event_obj::ENTER_FRAME; - -::String Event_obj::ID3; - -::String Event_obj::INIT; - -::String Event_obj::MOUSE_LEAVE; - -::String Event_obj::OPEN; - -::String Event_obj::REMOVED; - -::String Event_obj::REMOVED_FROM_STAGE; - -::String Event_obj::RENDER; - -::String Event_obj::RESIZE; - -::String Event_obj::SCROLL; - -::String Event_obj::SELECT; - -::String Event_obj::SOUND_COMPLETE; - -::String Event_obj::TAB_CHILDREN_CHANGE; - -::String Event_obj::TAB_ENABLED_CHANGE; - -::String Event_obj::TAB_INDEX_CHANGE; - -::String Event_obj::UNLOAD; - - -Event_obj::Event_obj() -{ -} - -void Event_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Event); - HX_MARK_MEMBER_NAME(nmeIsCancelledNow,"nmeIsCancelledNow"); - HX_MARK_MEMBER_NAME(nmeIsCancelled,"nmeIsCancelled"); - HX_MARK_MEMBER_NAME(_type,"_type"); - HX_MARK_MEMBER_NAME(_target,"_target"); - HX_MARK_MEMBER_NAME(_eventPhase,"_eventPhase"); - HX_MARK_MEMBER_NAME(_currentTarget,"_currentTarget"); - HX_MARK_MEMBER_NAME(_cancelable,"_cancelable"); - HX_MARK_MEMBER_NAME(_bubbles,"_bubbles"); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_MEMBER_NAME(target,"target"); - HX_MARK_MEMBER_NAME(eventPhase,"eventPhase"); - HX_MARK_MEMBER_NAME(currentTarget,"currentTarget"); - HX_MARK_MEMBER_NAME(cancelable,"cancelable"); - HX_MARK_MEMBER_NAME(bubbles,"bubbles"); - HX_MARK_END_CLASS(); -} - -void Event_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeIsCancelledNow,"nmeIsCancelledNow"); - HX_VISIT_MEMBER_NAME(nmeIsCancelled,"nmeIsCancelled"); - HX_VISIT_MEMBER_NAME(_type,"_type"); - HX_VISIT_MEMBER_NAME(_target,"_target"); - HX_VISIT_MEMBER_NAME(_eventPhase,"_eventPhase"); - HX_VISIT_MEMBER_NAME(_currentTarget,"_currentTarget"); - HX_VISIT_MEMBER_NAME(_cancelable,"_cancelable"); - HX_VISIT_MEMBER_NAME(_bubbles,"_bubbles"); - HX_VISIT_MEMBER_NAME(type,"type"); - HX_VISIT_MEMBER_NAME(target,"target"); - HX_VISIT_MEMBER_NAME(eventPhase,"eventPhase"); - HX_VISIT_MEMBER_NAME(currentTarget,"currentTarget"); - HX_VISIT_MEMBER_NAME(cancelable,"cancelable"); - HX_VISIT_MEMBER_NAME(bubbles,"bubbles"); -} - -Dynamic Event_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"ID3") ) { return ID3; } - break; - case 4: - if (HX_FIELD_EQ(inName,"INIT") ) { return INIT; } - if (HX_FIELD_EQ(inName,"OPEN") ) { return OPEN; } - if (HX_FIELD_EQ(inName,"type") ) { return inCallProp ? get_type() : type; } - break; - case 5: - if (HX_FIELD_EQ(inName,"ADDED") ) { return ADDED; } - if (HX_FIELD_EQ(inName,"CLOSE") ) { return CLOSE; } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - if (HX_FIELD_EQ(inName,"_type") ) { return _type; } - break; - case 6: - if (HX_FIELD_EQ(inName,"CANCEL") ) { return CANCEL; } - if (HX_FIELD_EQ(inName,"CHANGE") ) { return CHANGE; } - if (HX_FIELD_EQ(inName,"RENDER") ) { return RENDER; } - if (HX_FIELD_EQ(inName,"RESIZE") ) { return RESIZE; } - if (HX_FIELD_EQ(inName,"SCROLL") ) { return SCROLL; } - if (HX_FIELD_EQ(inName,"SELECT") ) { return SELECT; } - if (HX_FIELD_EQ(inName,"UNLOAD") ) { return UNLOAD; } - if (HX_FIELD_EQ(inName,"target") ) { return inCallProp ? get_target() : target; } - break; - case 7: - if (HX_FIELD_EQ(inName,"CONNECT") ) { return CONNECT; } - if (HX_FIELD_EQ(inName,"REMOVED") ) { return REMOVED; } - if (HX_FIELD_EQ(inName,"_target") ) { return _target; } - if (HX_FIELD_EQ(inName,"bubbles") ) { return inCallProp ? get_bubbles() : bubbles; } - break; - case 8: - if (HX_FIELD_EQ(inName,"ACTIVATE") ) { return ACTIVATE; } - if (HX_FIELD_EQ(inName,"COMPLETE") ) { return COMPLETE; } - if (HX_FIELD_EQ(inName,"get_type") ) { return get_type_dyn(); } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"_bubbles") ) { return _bubbles; } - break; - case 10: - if (HX_FIELD_EQ(inName,"DEACTIVATE") ) { return DEACTIVATE; } - if (HX_FIELD_EQ(inName,"set_target") ) { return set_target_dyn(); } - if (HX_FIELD_EQ(inName,"get_target") ) { return get_target_dyn(); } - if (HX_FIELD_EQ(inName,"eventPhase") ) { return inCallProp ? get_eventPhase() : eventPhase; } - if (HX_FIELD_EQ(inName,"cancelable") ) { return inCallProp ? get_cancelable() : cancelable; } - break; - case 11: - if (HX_FIELD_EQ(inName,"ENTER_FRAME") ) { return ENTER_FRAME; } - if (HX_FIELD_EQ(inName,"MOUSE_LEAVE") ) { return MOUSE_LEAVE; } - if (HX_FIELD_EQ(inName,"get_bubbles") ) { return get_bubbles_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetPhase") ) { return nmeSetPhase_dyn(); } - if (HX_FIELD_EQ(inName,"_eventPhase") ) { return _eventPhase; } - if (HX_FIELD_EQ(inName,"_cancelable") ) { return _cancelable; } - break; - case 13: - if (HX_FIELD_EQ(inName,"currentTarget") ) { return inCallProp ? get_currentTarget() : currentTarget; } - break; - case 14: - if (HX_FIELD_EQ(inName,"ADDED_TO_STAGE") ) { return ADDED_TO_STAGE; } - if (HX_FIELD_EQ(inName,"SOUND_COMPLETE") ) { return SOUND_COMPLETE; } - if (HX_FIELD_EQ(inName,"get_eventPhase") ) { return get_eventPhase_dyn(); } - if (HX_FIELD_EQ(inName,"get_cancelable") ) { return get_cancelable_dyn(); } - if (HX_FIELD_EQ(inName,"nmeIsCancelled") ) { return nmeIsCancelled; } - if (HX_FIELD_EQ(inName,"_currentTarget") ) { return _currentTarget; } - break; - case 15: - if (HX_FIELD_EQ(inName,"stopPropagation") ) { return stopPropagation_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"CONTEXT3D_CREATE") ) { return CONTEXT3D_CREATE; } - if (HX_FIELD_EQ(inName,"TAB_INDEX_CHANGE") ) { return TAB_INDEX_CHANGE; } - break; - case 17: - if (HX_FIELD_EQ(inName,"set_currentTarget") ) { return set_currentTarget_dyn(); } - if (HX_FIELD_EQ(inName,"get_currentTarget") ) { return get_currentTarget_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetIsCancelled") ) { return nmeGetIsCancelled_dyn(); } - if (HX_FIELD_EQ(inName,"nmeIsCancelledNow") ) { return nmeIsCancelledNow; } - break; - case 18: - if (HX_FIELD_EQ(inName,"REMOVED_FROM_STAGE") ) { return REMOVED_FROM_STAGE; } - if (HX_FIELD_EQ(inName,"TAB_ENABLED_CHANGE") ) { return TAB_ENABLED_CHANGE; } - break; - case 19: - if (HX_FIELD_EQ(inName,"TAB_CHILDREN_CHANGE") ) { return TAB_CHILDREN_CHANGE; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeGetIsCancelledNow") ) { return nmeGetIsCancelledNow_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"stopImmediatePropagation") ) { return stopImmediatePropagation_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Event_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"ID3") ) { ID3=inValue.Cast< ::String >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"INIT") ) { INIT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"OPEN") ) { OPEN=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"ADDED") ) { ADDED=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"CLOSE") ) { CLOSE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_type") ) { _type=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"CANCEL") ) { CANCEL=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"CHANGE") ) { CHANGE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"RENDER") ) { RENDER=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"RESIZE") ) { RESIZE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"SCROLL") ) { SCROLL=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"SELECT") ) { SELECT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"UNLOAD") ) { UNLOAD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"target") ) { if (inCallProp) return set_target(inValue);target=inValue.Cast< Dynamic >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"CONNECT") ) { CONNECT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"REMOVED") ) { REMOVED=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_target") ) { _target=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"bubbles") ) { bubbles=inValue.Cast< bool >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"ACTIVATE") ) { ACTIVATE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"COMPLETE") ) { COMPLETE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_bubbles") ) { _bubbles=inValue.Cast< bool >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"DEACTIVATE") ) { DEACTIVATE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"eventPhase") ) { eventPhase=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"cancelable") ) { cancelable=inValue.Cast< bool >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"ENTER_FRAME") ) { ENTER_FRAME=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MOUSE_LEAVE") ) { MOUSE_LEAVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_eventPhase") ) { _eventPhase=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"_cancelable") ) { _cancelable=inValue.Cast< bool >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"currentTarget") ) { if (inCallProp) return set_currentTarget(inValue);currentTarget=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"ADDED_TO_STAGE") ) { ADDED_TO_STAGE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"SOUND_COMPLETE") ) { SOUND_COMPLETE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeIsCancelled") ) { nmeIsCancelled=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"_currentTarget") ) { _currentTarget=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"CONTEXT3D_CREATE") ) { CONTEXT3D_CREATE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TAB_INDEX_CHANGE") ) { TAB_INDEX_CHANGE=inValue.Cast< ::String >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeIsCancelledNow") ) { nmeIsCancelledNow=inValue.Cast< bool >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"REMOVED_FROM_STAGE") ) { REMOVED_FROM_STAGE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TAB_ENABLED_CHANGE") ) { TAB_ENABLED_CHANGE=inValue.Cast< ::String >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"TAB_CHILDREN_CHANGE") ) { TAB_CHILDREN_CHANGE=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Event_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeIsCancelledNow")); - outFields->push(HX_CSTRING("nmeIsCancelled")); - outFields->push(HX_CSTRING("_type")); - outFields->push(HX_CSTRING("_target")); - outFields->push(HX_CSTRING("_eventPhase")); - outFields->push(HX_CSTRING("_currentTarget")); - outFields->push(HX_CSTRING("_cancelable")); - outFields->push(HX_CSTRING("_bubbles")); - outFields->push(HX_CSTRING("type")); - outFields->push(HX_CSTRING("target")); - outFields->push(HX_CSTRING("eventPhase")); - outFields->push(HX_CSTRING("currentTarget")); - outFields->push(HX_CSTRING("cancelable")); - outFields->push(HX_CSTRING("bubbles")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("ACTIVATE"), - HX_CSTRING("ADDED"), - HX_CSTRING("ADDED_TO_STAGE"), - HX_CSTRING("CANCEL"), - HX_CSTRING("CHANGE"), - HX_CSTRING("CLOSE"), - HX_CSTRING("COMPLETE"), - HX_CSTRING("CONNECT"), - HX_CSTRING("CONTEXT3D_CREATE"), - HX_CSTRING("DEACTIVATE"), - HX_CSTRING("ENTER_FRAME"), - HX_CSTRING("ID3"), - HX_CSTRING("INIT"), - HX_CSTRING("MOUSE_LEAVE"), - HX_CSTRING("OPEN"), - HX_CSTRING("REMOVED"), - HX_CSTRING("REMOVED_FROM_STAGE"), - HX_CSTRING("RENDER"), - HX_CSTRING("RESIZE"), - HX_CSTRING("SCROLL"), - HX_CSTRING("SELECT"), - HX_CSTRING("SOUND_COMPLETE"), - HX_CSTRING("TAB_CHILDREN_CHANGE"), - HX_CSTRING("TAB_ENABLED_CHANGE"), - HX_CSTRING("TAB_INDEX_CHANGE"), - HX_CSTRING("UNLOAD"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("get_type"), - HX_CSTRING("set_target"), - HX_CSTRING("get_target"), - HX_CSTRING("get_eventPhase"), - HX_CSTRING("set_currentTarget"), - HX_CSTRING("get_currentTarget"), - HX_CSTRING("get_cancelable"), - HX_CSTRING("get_bubbles"), - HX_CSTRING("toString"), - HX_CSTRING("stopPropagation"), - HX_CSTRING("stopImmediatePropagation"), - HX_CSTRING("nmeSetPhase"), - HX_CSTRING("nmeGetIsCancelledNow"), - HX_CSTRING("nmeGetIsCancelled"), - HX_CSTRING("clone"), - HX_CSTRING("nmeIsCancelledNow"), - HX_CSTRING("nmeIsCancelled"), - HX_CSTRING("_type"), - HX_CSTRING("_target"), - HX_CSTRING("_eventPhase"), - HX_CSTRING("_currentTarget"), - HX_CSTRING("_cancelable"), - HX_CSTRING("_bubbles"), - HX_CSTRING("type"), - HX_CSTRING("target"), - HX_CSTRING("eventPhase"), - HX_CSTRING("currentTarget"), - HX_CSTRING("cancelable"), - HX_CSTRING("bubbles"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Event_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Event_obj::ACTIVATE,"ACTIVATE"); - HX_MARK_MEMBER_NAME(Event_obj::ADDED,"ADDED"); - HX_MARK_MEMBER_NAME(Event_obj::ADDED_TO_STAGE,"ADDED_TO_STAGE"); - HX_MARK_MEMBER_NAME(Event_obj::CANCEL,"CANCEL"); - HX_MARK_MEMBER_NAME(Event_obj::CHANGE,"CHANGE"); - HX_MARK_MEMBER_NAME(Event_obj::CLOSE,"CLOSE"); - HX_MARK_MEMBER_NAME(Event_obj::COMPLETE,"COMPLETE"); - HX_MARK_MEMBER_NAME(Event_obj::CONNECT,"CONNECT"); - HX_MARK_MEMBER_NAME(Event_obj::CONTEXT3D_CREATE,"CONTEXT3D_CREATE"); - HX_MARK_MEMBER_NAME(Event_obj::DEACTIVATE,"DEACTIVATE"); - HX_MARK_MEMBER_NAME(Event_obj::ENTER_FRAME,"ENTER_FRAME"); - HX_MARK_MEMBER_NAME(Event_obj::ID3,"ID3"); - HX_MARK_MEMBER_NAME(Event_obj::INIT,"INIT"); - HX_MARK_MEMBER_NAME(Event_obj::MOUSE_LEAVE,"MOUSE_LEAVE"); - HX_MARK_MEMBER_NAME(Event_obj::OPEN,"OPEN"); - HX_MARK_MEMBER_NAME(Event_obj::REMOVED,"REMOVED"); - HX_MARK_MEMBER_NAME(Event_obj::REMOVED_FROM_STAGE,"REMOVED_FROM_STAGE"); - HX_MARK_MEMBER_NAME(Event_obj::RENDER,"RENDER"); - HX_MARK_MEMBER_NAME(Event_obj::RESIZE,"RESIZE"); - HX_MARK_MEMBER_NAME(Event_obj::SCROLL,"SCROLL"); - HX_MARK_MEMBER_NAME(Event_obj::SELECT,"SELECT"); - HX_MARK_MEMBER_NAME(Event_obj::SOUND_COMPLETE,"SOUND_COMPLETE"); - HX_MARK_MEMBER_NAME(Event_obj::TAB_CHILDREN_CHANGE,"TAB_CHILDREN_CHANGE"); - HX_MARK_MEMBER_NAME(Event_obj::TAB_ENABLED_CHANGE,"TAB_ENABLED_CHANGE"); - HX_MARK_MEMBER_NAME(Event_obj::TAB_INDEX_CHANGE,"TAB_INDEX_CHANGE"); - HX_MARK_MEMBER_NAME(Event_obj::UNLOAD,"UNLOAD"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Event_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Event_obj::ACTIVATE,"ACTIVATE"); - HX_VISIT_MEMBER_NAME(Event_obj::ADDED,"ADDED"); - HX_VISIT_MEMBER_NAME(Event_obj::ADDED_TO_STAGE,"ADDED_TO_STAGE"); - HX_VISIT_MEMBER_NAME(Event_obj::CANCEL,"CANCEL"); - HX_VISIT_MEMBER_NAME(Event_obj::CHANGE,"CHANGE"); - HX_VISIT_MEMBER_NAME(Event_obj::CLOSE,"CLOSE"); - HX_VISIT_MEMBER_NAME(Event_obj::COMPLETE,"COMPLETE"); - HX_VISIT_MEMBER_NAME(Event_obj::CONNECT,"CONNECT"); - HX_VISIT_MEMBER_NAME(Event_obj::CONTEXT3D_CREATE,"CONTEXT3D_CREATE"); - HX_VISIT_MEMBER_NAME(Event_obj::DEACTIVATE,"DEACTIVATE"); - HX_VISIT_MEMBER_NAME(Event_obj::ENTER_FRAME,"ENTER_FRAME"); - HX_VISIT_MEMBER_NAME(Event_obj::ID3,"ID3"); - HX_VISIT_MEMBER_NAME(Event_obj::INIT,"INIT"); - HX_VISIT_MEMBER_NAME(Event_obj::MOUSE_LEAVE,"MOUSE_LEAVE"); - HX_VISIT_MEMBER_NAME(Event_obj::OPEN,"OPEN"); - HX_VISIT_MEMBER_NAME(Event_obj::REMOVED,"REMOVED"); - HX_VISIT_MEMBER_NAME(Event_obj::REMOVED_FROM_STAGE,"REMOVED_FROM_STAGE"); - HX_VISIT_MEMBER_NAME(Event_obj::RENDER,"RENDER"); - HX_VISIT_MEMBER_NAME(Event_obj::RESIZE,"RESIZE"); - HX_VISIT_MEMBER_NAME(Event_obj::SCROLL,"SCROLL"); - HX_VISIT_MEMBER_NAME(Event_obj::SELECT,"SELECT"); - HX_VISIT_MEMBER_NAME(Event_obj::SOUND_COMPLETE,"SOUND_COMPLETE"); - HX_VISIT_MEMBER_NAME(Event_obj::TAB_CHILDREN_CHANGE,"TAB_CHILDREN_CHANGE"); - HX_VISIT_MEMBER_NAME(Event_obj::TAB_ENABLED_CHANGE,"TAB_ENABLED_CHANGE"); - HX_VISIT_MEMBER_NAME(Event_obj::TAB_INDEX_CHANGE,"TAB_INDEX_CHANGE"); - HX_VISIT_MEMBER_NAME(Event_obj::UNLOAD,"UNLOAD"); -}; - -Class Event_obj::__mClass; - -void Event_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.events.Event"), hx::TCanCast< Event_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Event_obj::__boot() -{ - ACTIVATE= HX_CSTRING("activate"); - ADDED= HX_CSTRING("added"); - ADDED_TO_STAGE= HX_CSTRING("addedToStage"); - CANCEL= HX_CSTRING("cancel"); - CHANGE= HX_CSTRING("change"); - CLOSE= HX_CSTRING("close"); - COMPLETE= HX_CSTRING("complete"); - CONNECT= HX_CSTRING("connect"); - CONTEXT3D_CREATE= HX_CSTRING("context3DCreate"); - DEACTIVATE= HX_CSTRING("deactivate"); - ENTER_FRAME= HX_CSTRING("enterFrame"); - ID3= HX_CSTRING("id3"); - INIT= HX_CSTRING("init"); - MOUSE_LEAVE= HX_CSTRING("mouseLeave"); - OPEN= HX_CSTRING("open"); - REMOVED= HX_CSTRING("removed"); - REMOVED_FROM_STAGE= HX_CSTRING("removedFromStage"); - RENDER= HX_CSTRING("render"); - RESIZE= HX_CSTRING("resize"); - SCROLL= HX_CSTRING("scroll"); - SELECT= HX_CSTRING("select"); - SOUND_COMPLETE= HX_CSTRING("soundComplete"); - TAB_CHILDREN_CHANGE= HX_CSTRING("tabChildrenChange"); - TAB_ENABLED_CHANGE= HX_CSTRING("tabEnabledChange"); - TAB_INDEX_CHANGE= HX_CSTRING("tabIndexChange"); - UNLOAD= HX_CSTRING("unload"); -} - -} // end namespace native -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/EventDispatcher.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/EventDispatcher.cpp deleted file mode 100644 index eccb1d8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/EventDispatcher.cpp +++ /dev/null @@ -1,419 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_native_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_EventPhase -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IOErrorEvent -#include -#endif -#ifndef INCLUDED_native_events_Listener -#include -#endif -#ifndef INCLUDED_native_events_TextEvent -#include -#endif -#ifndef INCLUDED_native_utils_WeakRef -#include -#endif -namespace native{ -namespace events{ - -Void EventDispatcher_obj::__construct(::native::events::IEventDispatcher target) -{ -HX_STACK_PUSH("EventDispatcher::new","native/events/EventDispatcher.hx",16); -{ - HX_STACK_LINE(18) - this->nmeTarget = ( (((target == null()))) ? ::native::events::IEventDispatcher(hx::ObjectPtr(this)) : ::native::events::IEventDispatcher(target) ); - HX_STACK_LINE(19) - this->nmeEventMap = null(); -} -; - return null(); -} - -EventDispatcher_obj::~EventDispatcher_obj() { } - -Dynamic EventDispatcher_obj::__CreateEmpty() { return new EventDispatcher_obj; } -hx::ObjectPtr< EventDispatcher_obj > EventDispatcher_obj::__new(::native::events::IEventDispatcher target) -{ hx::ObjectPtr< EventDispatcher_obj > result = new EventDispatcher_obj(); - result->__construct(target); - return result;} - -Dynamic EventDispatcher_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< EventDispatcher_obj > result = new EventDispatcher_obj(); - result->__construct(inArgs[0]); - return result;} - -hx::Object *EventDispatcher_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::native::events::IEventDispatcher_obj)) return operator ::native::events::IEventDispatcher_obj *(); - return super::__ToInterface(inType); -} - -bool EventDispatcher_obj::willTrigger( ::String type){ - HX_STACK_PUSH("EventDispatcher::willTrigger","native/events/EventDispatcher.hx",165); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_LINE(167) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(168) - return false; - } - HX_STACK_LINE(170) - return this->nmeEventMap->exists(type); -} - - -HX_DEFINE_DYNAMIC_FUNC1(EventDispatcher_obj,willTrigger,return ) - -::String EventDispatcher_obj::toString( ){ - HX_STACK_PUSH("EventDispatcher::toString","native/events/EventDispatcher.hx",158); - HX_STACK_THIS(this); - HX_STACK_LINE(158) - return ((HX_CSTRING("[object ") + ::Type_obj::getClassName(::Type_obj::getClass(hx::ObjectPtr(this)))) + HX_CSTRING("]")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EventDispatcher_obj,toString,return ) - -Void EventDispatcher_obj::removeEventListener( ::String type,Dynamic listener,hx::Null< bool > __o_capture){ -bool capture = __o_capture.Default(false); - HX_STACK_PUSH("EventDispatcher::removeEventListener","native/events/EventDispatcher.hx",130); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(listener,"listener"); - HX_STACK_ARG(capture,"capture"); -{ - HX_STACK_LINE(132) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(133) - return null(); - } - HX_STACK_LINE(135) - if ((!(this->nmeEventMap->exists(type)))){ - HX_STACK_LINE(135) - return null(); - } - HX_STACK_LINE(137) - Array< ::native::utils::WeakRef > list = this->nmeEventMap->get(type); HX_STACK_VAR(list,"list"); - HX_STACK_LINE(138) - { - HX_STACK_LINE(138) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = list->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(138) - while(((_g1 < _g))){ - HX_STACK_LINE(138) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(140) - if (((list->__get(i) != null()))){ - HX_STACK_LINE(142) - ::native::events::Listener li = list->__get(i)->get(); HX_STACK_VAR(li,"li"); - HX_STACK_LINE(143) - if (((bool((li != null())) && bool(li->Is(listener,capture))))){ - HX_STACK_LINE(146) - list[i] = null(); - HX_STACK_LINE(147) - return null(); - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(EventDispatcher_obj,removeEventListener,(void)) - -bool EventDispatcher_obj::hasEventListener( ::String type){ - HX_STACK_PUSH("EventDispatcher::hasEventListener","native/events/EventDispatcher.hx",109); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_LINE(111) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(112) - return false; - } - HX_STACK_LINE(114) - Array< ::native::utils::WeakRef > h = this->nmeEventMap->get(type); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(115) - if (((h != null()))){ - HX_STACK_LINE(117) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(117) - while(((_g < h->length))){ - HX_STACK_LINE(117) - ::native::utils::WeakRef item = h->__get(_g); HX_STACK_VAR(item,"item"); - HX_STACK_LINE(117) - ++(_g); - HX_STACK_LINE(119) - if (((item != null()))){ - HX_STACK_LINE(119) - return true; - } - } - } - HX_STACK_LINE(125) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(EventDispatcher_obj,hasEventListener,return ) - -Void EventDispatcher_obj::DispatchIOErrorEvent( ){ -{ - HX_STACK_PUSH("EventDispatcher::DispatchIOErrorEvent","native/events/EventDispatcher.hx",101); - HX_STACK_THIS(this); - HX_STACK_LINE(103) - ::native::events::IOErrorEvent evt = ::native::events::IOErrorEvent_obj::__new(::native::events::IOErrorEvent_obj::IO_ERROR,null(),null(),null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(104) - this->dispatchEvent(evt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EventDispatcher_obj,DispatchIOErrorEvent,(void)) - -bool EventDispatcher_obj::dispatchEvent( ::native::events::Event event){ - HX_STACK_PUSH("EventDispatcher::dispatchEvent","native/events/EventDispatcher.hx",49); - HX_STACK_THIS(this); - HX_STACK_ARG(event,"event"); - HX_STACK_LINE(51) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(52) - return false; - } - HX_STACK_LINE(54) - if (((event->get_target() == null()))){ - HX_STACK_LINE(55) - event->set_target(this->nmeTarget); - } - HX_STACK_LINE(57) - if (((event->get_currentTarget() == null()))){ - HX_STACK_LINE(58) - event->set_currentTarget(this->nmeTarget); - } - HX_STACK_LINE(60) - Array< ::native::utils::WeakRef > list = this->nmeEventMap->get(event->get_type()); HX_STACK_VAR(list,"list"); - HX_STACK_LINE(61) - bool capture = (event->get_eventPhase() == ::native::events::EventPhase_obj::CAPTURING_PHASE); HX_STACK_VAR(capture,"capture"); - HX_STACK_LINE(63) - if (((list != null()))){ - HX_STACK_LINE(65) - int idx = (int)0; HX_STACK_VAR(idx,"idx"); - HX_STACK_LINE(66) - while(((idx < list->length))){ - HX_STACK_LINE(68) - ::native::utils::WeakRef list_item = list->__get(idx); HX_STACK_VAR(list_item,"list_item"); - HX_STACK_LINE(69) - ::native::events::Listener listener = ( (((list_item != null()))) ? ::native::events::Listener(list_item->get()) : ::native::events::Listener(null()) ); HX_STACK_VAR(listener,"listener"); - HX_STACK_LINE(71) - if (((listener == null()))){ - HX_STACK_LINE(71) - list->splice(idx,(int)1); - } - else{ - HX_STACK_LINE(78) - if (((listener->mUseCapture == capture))){ - HX_STACK_LINE(80) - listener->dispatchEvent(event); - HX_STACK_LINE(81) - if ((event->nmeGetIsCancelledNow())){ - HX_STACK_LINE(82) - return true; - } - } - HX_STACK_LINE(86) - (idx)++; - } - } - HX_STACK_LINE(92) - return true; - } - HX_STACK_LINE(96) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(EventDispatcher_obj,dispatchEvent,return ) - -Void EventDispatcher_obj::DispatchCompleteEvent( ){ -{ - HX_STACK_PUSH("EventDispatcher::DispatchCompleteEvent","native/events/EventDispatcher.hx",41); - HX_STACK_THIS(this); - HX_STACK_LINE(43) - ::native::events::Event evt = ::native::events::Event_obj::__new(::native::events::Event_obj::COMPLETE,null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(44) - this->dispatchEvent(evt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EventDispatcher_obj,DispatchCompleteEvent,(void)) - -Void EventDispatcher_obj::addEventListener( ::String type,Dynamic listener,hx::Null< bool > __o_useCapture,hx::Null< int > __o_priority,hx::Null< bool > __o_useWeakReference){ -bool useCapture = __o_useCapture.Default(false); -int priority = __o_priority.Default(0); -bool useWeakReference = __o_useWeakReference.Default(false); - HX_STACK_PUSH("EventDispatcher::addEventListener","native/events/EventDispatcher.hx",24); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(listener,"listener"); - HX_STACK_ARG(useCapture,"useCapture"); - HX_STACK_ARG(priority,"priority"); - HX_STACK_ARG(useWeakReference,"useWeakReference"); -{ - HX_STACK_LINE(26) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(27) - this->nmeEventMap = ::Hash_obj::__new(); - } - HX_STACK_LINE(29) - Array< ::native::utils::WeakRef > list = this->nmeEventMap->get(type); HX_STACK_VAR(list,"list"); - HX_STACK_LINE(30) - if (((list == null()))){ - HX_STACK_LINE(31) - list = Array_obj< ::native::utils::WeakRef >::__new(); - HX_STACK_LINE(32) - this->nmeEventMap->set(type,list); - } - HX_STACK_LINE(35) - ::native::events::Listener l = ::native::events::Listener_obj::__new(listener,useCapture,priority); HX_STACK_VAR(l,"l"); - HX_STACK_LINE(36) - list->push(::native::utils::WeakRef_obj::__new(l,useWeakReference)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(EventDispatcher_obj,addEventListener,(void)) - - -EventDispatcher_obj::EventDispatcher_obj() -{ -} - -void EventDispatcher_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(EventDispatcher); - HX_MARK_MEMBER_NAME(nmeTarget,"nmeTarget"); - HX_MARK_MEMBER_NAME(nmeEventMap,"nmeEventMap"); - HX_MARK_END_CLASS(); -} - -void EventDispatcher_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeTarget,"nmeTarget"); - HX_VISIT_MEMBER_NAME(nmeEventMap,"nmeEventMap"); -} - -Dynamic EventDispatcher_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeTarget") ) { return nmeTarget; } - break; - case 11: - if (HX_FIELD_EQ(inName,"willTrigger") ) { return willTrigger_dyn(); } - if (HX_FIELD_EQ(inName,"nmeEventMap") ) { return nmeEventMap; } - break; - case 13: - if (HX_FIELD_EQ(inName,"dispatchEvent") ) { return dispatchEvent_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"hasEventListener") ) { return hasEventListener_dyn(); } - if (HX_FIELD_EQ(inName,"addEventListener") ) { return addEventListener_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"removeEventListener") ) { return removeEventListener_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"DispatchIOErrorEvent") ) { return DispatchIOErrorEvent_dyn(); } - break; - case 21: - if (HX_FIELD_EQ(inName,"DispatchCompleteEvent") ) { return DispatchCompleteEvent_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic EventDispatcher_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"nmeTarget") ) { nmeTarget=inValue.Cast< ::native::events::IEventDispatcher >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeEventMap") ) { nmeEventMap=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void EventDispatcher_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeTarget")); - outFields->push(HX_CSTRING("nmeEventMap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("willTrigger"), - HX_CSTRING("toString"), - HX_CSTRING("removeEventListener"), - HX_CSTRING("hasEventListener"), - HX_CSTRING("DispatchIOErrorEvent"), - HX_CSTRING("dispatchEvent"), - HX_CSTRING("DispatchCompleteEvent"), - HX_CSTRING("addEventListener"), - HX_CSTRING("nmeTarget"), - HX_CSTRING("nmeEventMap"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(EventDispatcher_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(EventDispatcher_obj::__mClass,"__mClass"); -}; - -Class EventDispatcher_obj::__mClass; - -void EventDispatcher_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.events.EventDispatcher"), hx::TCanCast< EventDispatcher_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void EventDispatcher_obj::__boot() -{ -} - -} // end namespace native -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/EventPhase.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/EventPhase.cpp deleted file mode 100644 index a85c439..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/EventPhase.cpp +++ /dev/null @@ -1,123 +0,0 @@ -#include - -#ifndef INCLUDED_native_events_EventPhase -#include -#endif -namespace native{ -namespace events{ - -Void EventPhase_obj::__construct() -{ - return null(); -} - -EventPhase_obj::~EventPhase_obj() { } - -Dynamic EventPhase_obj::__CreateEmpty() { return new EventPhase_obj; } -hx::ObjectPtr< EventPhase_obj > EventPhase_obj::__new() -{ hx::ObjectPtr< EventPhase_obj > result = new EventPhase_obj(); - result->__construct(); - return result;} - -Dynamic EventPhase_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< EventPhase_obj > result = new EventPhase_obj(); - result->__construct(); - return result;} - -int EventPhase_obj::CAPTURING_PHASE; - -int EventPhase_obj::AT_TARGET; - -int EventPhase_obj::BUBBLING_PHASE; - - -EventPhase_obj::EventPhase_obj() -{ -} - -void EventPhase_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(EventPhase); - HX_MARK_END_CLASS(); -} - -void EventPhase_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic EventPhase_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"AT_TARGET") ) { return AT_TARGET; } - break; - case 14: - if (HX_FIELD_EQ(inName,"BUBBLING_PHASE") ) { return BUBBLING_PHASE; } - break; - case 15: - if (HX_FIELD_EQ(inName,"CAPTURING_PHASE") ) { return CAPTURING_PHASE; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic EventPhase_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"AT_TARGET") ) { AT_TARGET=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"BUBBLING_PHASE") ) { BUBBLING_PHASE=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"CAPTURING_PHASE") ) { CAPTURING_PHASE=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void EventPhase_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("CAPTURING_PHASE"), - HX_CSTRING("AT_TARGET"), - HX_CSTRING("BUBBLING_PHASE"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(EventPhase_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(EventPhase_obj::CAPTURING_PHASE,"CAPTURING_PHASE"); - HX_MARK_MEMBER_NAME(EventPhase_obj::AT_TARGET,"AT_TARGET"); - HX_MARK_MEMBER_NAME(EventPhase_obj::BUBBLING_PHASE,"BUBBLING_PHASE"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(EventPhase_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(EventPhase_obj::CAPTURING_PHASE,"CAPTURING_PHASE"); - HX_VISIT_MEMBER_NAME(EventPhase_obj::AT_TARGET,"AT_TARGET"); - HX_VISIT_MEMBER_NAME(EventPhase_obj::BUBBLING_PHASE,"BUBBLING_PHASE"); -}; - -Class EventPhase_obj::__mClass; - -void EventPhase_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.events.EventPhase"), hx::TCanCast< EventPhase_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void EventPhase_obj::__boot() -{ - CAPTURING_PHASE= (int)0; - AT_TARGET= (int)1; - BUBBLING_PHASE= (int)2; -} - -} // end namespace native -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/FocusEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/FocusEvent.cpp deleted file mode 100644 index 57b2c3e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/FocusEvent.cpp +++ /dev/null @@ -1,223 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_FocusEvent -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -namespace native{ -namespace events{ - -Void FocusEvent_obj::__construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::native::display::InteractiveObject relatedObject,hx::Null< bool > __o_shiftKey,hx::Null< int > __o_keyCode,::String __o_direction) -{ -HX_STACK_PUSH("FocusEvent::new","native/events/FocusEvent.hx",20); -bool bubbles = __o_bubbles.Default(true); -bool cancelable = __o_cancelable.Default(false); -bool shiftKey = __o_shiftKey.Default(false); -int keyCode = __o_keyCode.Default(0); -::String direction = __o_direction.Default(HX_CSTRING("none")); -{ - HX_STACK_LINE(22) - super::__construct(inType,bubbles,cancelable); - HX_STACK_LINE(24) - this->relatedObject = relatedObject; - HX_STACK_LINE(25) - this->keyCode = keyCode; - HX_STACK_LINE(26) - this->shiftKey = shiftKey; -} -; - return null(); -} - -FocusEvent_obj::~FocusEvent_obj() { } - -Dynamic FocusEvent_obj::__CreateEmpty() { return new FocusEvent_obj; } -hx::ObjectPtr< FocusEvent_obj > FocusEvent_obj::__new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::native::display::InteractiveObject relatedObject,hx::Null< bool > __o_shiftKey,hx::Null< int > __o_keyCode,::String __o_direction) -{ hx::ObjectPtr< FocusEvent_obj > result = new FocusEvent_obj(); - result->__construct(inType,__o_bubbles,__o_cancelable,relatedObject,__o_shiftKey,__o_keyCode,__o_direction); - return result;} - -Dynamic FocusEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< FocusEvent_obj > result = new FocusEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6]); - return result;} - -::String FocusEvent_obj::toString( ){ - HX_STACK_PUSH("FocusEvent::toString","native/events/FocusEvent.hx",38); - HX_STACK_THIS(this); - HX_STACK_LINE(38) - return ((((((((((((HX_CSTRING("[FocusEvent type=") + this->get_type()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->get_bubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->get_cancelable())) + HX_CSTRING(" relatedObject=")) + ::Std_obj::string(this->relatedObject)) + HX_CSTRING(" shiftKey=")) + ::Std_obj::string(this->shiftKey)) + HX_CSTRING(" keyCode=")) + this->keyCode) + HX_CSTRING("]")); -} - - -::native::events::Event FocusEvent_obj::clone( ){ - HX_STACK_PUSH("FocusEvent::clone","native/events/FocusEvent.hx",31); - HX_STACK_THIS(this); - HX_STACK_LINE(31) - return ::native::events::FocusEvent_obj::__new(this->get_type(),this->get_bubbles(),this->get_cancelable(),this->relatedObject,this->shiftKey,this->keyCode,null()); -} - - -::String FocusEvent_obj::FOCUS_IN; - -::String FocusEvent_obj::FOCUS_OUT; - -::String FocusEvent_obj::KEY_FOCUS_CHANGE; - -::String FocusEvent_obj::MOUSE_FOCUS_CHANGE; - - -FocusEvent_obj::FocusEvent_obj() -{ -} - -void FocusEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(FocusEvent); - HX_MARK_MEMBER_NAME(shiftKey,"shiftKey"); - HX_MARK_MEMBER_NAME(relatedObject,"relatedObject"); - HX_MARK_MEMBER_NAME(keyCode,"keyCode"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void FocusEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(shiftKey,"shiftKey"); - HX_VISIT_MEMBER_NAME(relatedObject,"relatedObject"); - HX_VISIT_MEMBER_NAME(keyCode,"keyCode"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic FocusEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"keyCode") ) { return keyCode; } - break; - case 8: - if (HX_FIELD_EQ(inName,"FOCUS_IN") ) { return FOCUS_IN; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"shiftKey") ) { return shiftKey; } - break; - case 9: - if (HX_FIELD_EQ(inName,"FOCUS_OUT") ) { return FOCUS_OUT; } - break; - case 13: - if (HX_FIELD_EQ(inName,"relatedObject") ) { return relatedObject; } - break; - case 16: - if (HX_FIELD_EQ(inName,"KEY_FOCUS_CHANGE") ) { return KEY_FOCUS_CHANGE; } - break; - case 18: - if (HX_FIELD_EQ(inName,"MOUSE_FOCUS_CHANGE") ) { return MOUSE_FOCUS_CHANGE; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic FocusEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"keyCode") ) { keyCode=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"FOCUS_IN") ) { FOCUS_IN=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"shiftKey") ) { shiftKey=inValue.Cast< bool >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"FOCUS_OUT") ) { FOCUS_OUT=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"relatedObject") ) { relatedObject=inValue.Cast< ::native::display::InteractiveObject >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"KEY_FOCUS_CHANGE") ) { KEY_FOCUS_CHANGE=inValue.Cast< ::String >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"MOUSE_FOCUS_CHANGE") ) { MOUSE_FOCUS_CHANGE=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void FocusEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("shiftKey")); - outFields->push(HX_CSTRING("relatedObject")); - outFields->push(HX_CSTRING("keyCode")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("FOCUS_IN"), - HX_CSTRING("FOCUS_OUT"), - HX_CSTRING("KEY_FOCUS_CHANGE"), - HX_CSTRING("MOUSE_FOCUS_CHANGE"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("shiftKey"), - HX_CSTRING("relatedObject"), - HX_CSTRING("keyCode"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FocusEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(FocusEvent_obj::FOCUS_IN,"FOCUS_IN"); - HX_MARK_MEMBER_NAME(FocusEvent_obj::FOCUS_OUT,"FOCUS_OUT"); - HX_MARK_MEMBER_NAME(FocusEvent_obj::KEY_FOCUS_CHANGE,"KEY_FOCUS_CHANGE"); - HX_MARK_MEMBER_NAME(FocusEvent_obj::MOUSE_FOCUS_CHANGE,"MOUSE_FOCUS_CHANGE"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FocusEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FocusEvent_obj::FOCUS_IN,"FOCUS_IN"); - HX_VISIT_MEMBER_NAME(FocusEvent_obj::FOCUS_OUT,"FOCUS_OUT"); - HX_VISIT_MEMBER_NAME(FocusEvent_obj::KEY_FOCUS_CHANGE,"KEY_FOCUS_CHANGE"); - HX_VISIT_MEMBER_NAME(FocusEvent_obj::MOUSE_FOCUS_CHANGE,"MOUSE_FOCUS_CHANGE"); -}; - -Class FocusEvent_obj::__mClass; - -void FocusEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.events.FocusEvent"), hx::TCanCast< FocusEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void FocusEvent_obj::__boot() -{ - FOCUS_IN= HX_CSTRING("focusIn"); - FOCUS_OUT= HX_CSTRING("focusOut"); - KEY_FOCUS_CHANGE= HX_CSTRING("keyFocusChange"); - MOUSE_FOCUS_CHANGE= HX_CSTRING("mouseFocusChange"); -} - -} // end namespace native -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/HTTPStatusEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/HTTPStatusEvent.cpp deleted file mode 100644 index 9cb3d4b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/HTTPStatusEvent.cpp +++ /dev/null @@ -1,152 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_HTTPStatusEvent -#include -#endif -namespace native{ -namespace events{ - -Void HTTPStatusEvent_obj::__construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_status) -{ -HX_STACK_PUSH("HTTPStatusEvent::new","native/events/HTTPStatusEvent.hx",12); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -int status = __o_status.Default(0); -{ - HX_STACK_LINE(14) - super::__construct(inType,bubbles,cancelable); - HX_STACK_LINE(16) - this->status = status; -} -; - return null(); -} - -HTTPStatusEvent_obj::~HTTPStatusEvent_obj() { } - -Dynamic HTTPStatusEvent_obj::__CreateEmpty() { return new HTTPStatusEvent_obj; } -hx::ObjectPtr< HTTPStatusEvent_obj > HTTPStatusEvent_obj::__new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_status) -{ hx::ObjectPtr< HTTPStatusEvent_obj > result = new HTTPStatusEvent_obj(); - result->__construct(inType,__o_bubbles,__o_cancelable,__o_status); - return result;} - -Dynamic HTTPStatusEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< HTTPStatusEvent_obj > result = new HTTPStatusEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -::String HTTPStatusEvent_obj::toString( ){ - HX_STACK_PUSH("HTTPStatusEvent::toString","native/events/HTTPStatusEvent.hx",28); - HX_STACK_THIS(this); - HX_STACK_LINE(28) - return ((((((((HX_CSTRING("[HTTPStatusEvent type=") + this->get_type()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->get_bubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->get_cancelable())) + HX_CSTRING(" status=")) + this->status) + HX_CSTRING("]")); -} - - -::native::events::Event HTTPStatusEvent_obj::clone( ){ - HX_STACK_PUSH("HTTPStatusEvent::clone","native/events/HTTPStatusEvent.hx",21); - HX_STACK_THIS(this); - HX_STACK_LINE(21) - return ::native::events::HTTPStatusEvent_obj::__new(this->get_type(),this->get_bubbles(),this->get_cancelable(),this->status); -} - - -::String HTTPStatusEvent_obj::HTTP_STATUS; - - -HTTPStatusEvent_obj::HTTPStatusEvent_obj() -{ -} - -void HTTPStatusEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(HTTPStatusEvent); - HX_MARK_MEMBER_NAME(status,"status"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void HTTPStatusEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(status,"status"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic HTTPStatusEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"status") ) { return status; } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"HTTP_STATUS") ) { return HTTP_STATUS; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic HTTPStatusEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"status") ) { status=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"HTTP_STATUS") ) { HTTP_STATUS=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void HTTPStatusEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("status")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("HTTP_STATUS"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("status"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(HTTPStatusEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(HTTPStatusEvent_obj::HTTP_STATUS,"HTTP_STATUS"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(HTTPStatusEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(HTTPStatusEvent_obj::HTTP_STATUS,"HTTP_STATUS"); -}; - -Class HTTPStatusEvent_obj::__mClass; - -void HTTPStatusEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.events.HTTPStatusEvent"), hx::TCanCast< HTTPStatusEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void HTTPStatusEvent_obj::__boot() -{ - HTTP_STATUS= HX_CSTRING("httpStatus"); -} - -} // end namespace native -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/IEventDispatcher.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/IEventDispatcher.cpp deleted file mode 100644 index b0a5051..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/IEventDispatcher.cpp +++ /dev/null @@ -1,45 +0,0 @@ -#include - -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -namespace native{ -namespace events{ - -HX_DEFINE_DYNAMIC_FUNC1(IEventDispatcher_obj,willTrigger,return ) - -HX_DEFINE_DYNAMIC_FUNC3(IEventDispatcher_obj,removeEventListener,) - -HX_DEFINE_DYNAMIC_FUNC1(IEventDispatcher_obj,hasEventListener,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IEventDispatcher_obj,dispatchEvent,return ) - -HX_DEFINE_DYNAMIC_FUNC5(IEventDispatcher_obj,addEventListener,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IEventDispatcher_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IEventDispatcher_obj::__mClass,"__mClass"); -}; - -Class IEventDispatcher_obj::__mClass; - -void IEventDispatcher_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.events.IEventDispatcher"), hx::TCanCast< IEventDispatcher_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IEventDispatcher_obj::__boot() -{ -} - -} // end namespace native -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/IOErrorEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/IOErrorEvent.cpp deleted file mode 100644 index 0b173bd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/IOErrorEvent.cpp +++ /dev/null @@ -1,145 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_native_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_IOErrorEvent -#include -#endif -#ifndef INCLUDED_native_events_TextEvent -#include -#endif -namespace native{ -namespace events{ - -Void IOErrorEvent_obj::__construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id) -{ -HX_STACK_PUSH("IOErrorEvent::new","native/events/IOErrorEvent.hx",10); -bool bubbles = __o_bubbles.Default(true); -bool cancelable = __o_cancelable.Default(false); -::String text = __o_text.Default(HX_CSTRING("")); -int id = __o_id.Default(0); -{ - HX_STACK_LINE(10) - super::__construct(inType,bubbles,cancelable,text,id); -} -; - return null(); -} - -IOErrorEvent_obj::~IOErrorEvent_obj() { } - -Dynamic IOErrorEvent_obj::__CreateEmpty() { return new IOErrorEvent_obj; } -hx::ObjectPtr< IOErrorEvent_obj > IOErrorEvent_obj::__new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id) -{ hx::ObjectPtr< IOErrorEvent_obj > result = new IOErrorEvent_obj(); - result->__construct(inType,__o_bubbles,__o_cancelable,__o_text,__o_id); - return result;} - -Dynamic IOErrorEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< IOErrorEvent_obj > result = new IOErrorEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4]); - return result;} - -::String IOErrorEvent_obj::toString( ){ - HX_STACK_PUSH("IOErrorEvent::toString","native/events/IOErrorEvent.hx",24); - HX_STACK_THIS(this); - HX_STACK_LINE(24) - return ((((((((((HX_CSTRING("[IOErrorEvent type=") + this->get_type()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->get_bubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->get_cancelable())) + HX_CSTRING(" text=")) + this->text) + HX_CSTRING(" errorID=")) + this->errorID) + HX_CSTRING("]")); -} - - -::native::events::Event IOErrorEvent_obj::clone( ){ - HX_STACK_PUSH("IOErrorEvent::clone","native/events/IOErrorEvent.hx",17); - HX_STACK_THIS(this); - HX_STACK_LINE(17) - return ::native::events::IOErrorEvent_obj::__new(this->get_type(),this->get_bubbles(),this->get_cancelable(),this->text,this->errorID); -} - - -::String IOErrorEvent_obj::IO_ERROR; - - -IOErrorEvent_obj::IOErrorEvent_obj() -{ -} - -void IOErrorEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(IOErrorEvent); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void IOErrorEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic IOErrorEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"IO_ERROR") ) { return IO_ERROR; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic IOErrorEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"IO_ERROR") ) { IO_ERROR=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void IOErrorEvent_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("IO_ERROR"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IOErrorEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(IOErrorEvent_obj::IO_ERROR,"IO_ERROR"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IOErrorEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(IOErrorEvent_obj::IO_ERROR,"IO_ERROR"); -}; - -Class IOErrorEvent_obj::__mClass; - -void IOErrorEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.events.IOErrorEvent"), hx::TCanCast< IOErrorEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IOErrorEvent_obj::__boot() -{ - IO_ERROR= HX_CSTRING("ioError"); -} - -} // end namespace native -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/JoystickEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/JoystickEvent.cpp deleted file mode 100644 index 89a164e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/JoystickEvent.cpp +++ /dev/null @@ -1,246 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_JoystickEvent -#include -#endif -namespace native{ -namespace events{ - -Void JoystickEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_device,hx::Null< int > __o_id,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< Float > __o_z) -{ -HX_STACK_PUSH("JoystickEvent::new","native/events/JoystickEvent.hx",21); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -int device = __o_device.Default(0); -int id = __o_id.Default(0); -Float x = __o_x.Default(0); -Float y = __o_y.Default(0); -Float z = __o_z.Default(0); -{ - HX_STACK_LINE(23) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(25) - this->device = device; - HX_STACK_LINE(26) - this->id = id; - HX_STACK_LINE(27) - this->x = x; - HX_STACK_LINE(28) - this->y = y; - HX_STACK_LINE(29) - this->z = z; - HX_STACK_LINE(31) - this->axis = Array_obj< Float >::__new().Add(x).Add(y).Add(z); -} -; - return null(); -} - -JoystickEvent_obj::~JoystickEvent_obj() { } - -Dynamic JoystickEvent_obj::__CreateEmpty() { return new JoystickEvent_obj; } -hx::ObjectPtr< JoystickEvent_obj > JoystickEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_device,hx::Null< int > __o_id,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< Float > __o_z) -{ hx::ObjectPtr< JoystickEvent_obj > result = new JoystickEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_device,__o_id,__o_x,__o_y,__o_z); - return result;} - -Dynamic JoystickEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< JoystickEvent_obj > result = new JoystickEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7]); - return result;} - -::String JoystickEvent_obj::toString( ){ - HX_STACK_PUSH("JoystickEvent::toString","native/events/JoystickEvent.hx",43); - HX_STACK_THIS(this); - HX_STACK_LINE(43) - return ((((((((((((((((HX_CSTRING("[JoystickEvent type=") + this->get_type()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->get_bubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->get_cancelable())) + HX_CSTRING(" device=")) + this->device) + HX_CSTRING(" id=")) + this->id) + HX_CSTRING(" x=")) + this->x) + HX_CSTRING(" y=")) + this->y) + HX_CSTRING(" z=")) + this->z) + HX_CSTRING("]")); -} - - -::native::events::Event JoystickEvent_obj::clone( ){ - HX_STACK_PUSH("JoystickEvent::clone","native/events/JoystickEvent.hx",36); - HX_STACK_THIS(this); - HX_STACK_LINE(36) - return ::native::events::JoystickEvent_obj::__new(this->get_type(),this->get_bubbles(),this->get_cancelable(),this->device,this->id,this->x,this->y,this->z); -} - - -::String JoystickEvent_obj::AXIS_MOVE; - -::String JoystickEvent_obj::BALL_MOVE; - -::String JoystickEvent_obj::BUTTON_DOWN; - -::String JoystickEvent_obj::BUTTON_UP; - -::String JoystickEvent_obj::HAT_MOVE; - - -JoystickEvent_obj::JoystickEvent_obj() -{ -} - -void JoystickEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(JoystickEvent); - HX_MARK_MEMBER_NAME(z,"z"); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(id,"id"); - HX_MARK_MEMBER_NAME(device,"device"); - HX_MARK_MEMBER_NAME(axis,"axis"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void JoystickEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(z,"z"); - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(id,"id"); - HX_VISIT_MEMBER_NAME(device,"device"); - HX_VISIT_MEMBER_NAME(axis,"axis"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic JoystickEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"z") ) { return z; } - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 2: - if (HX_FIELD_EQ(inName,"id") ) { return id; } - break; - case 4: - if (HX_FIELD_EQ(inName,"axis") ) { return axis; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"device") ) { return device; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HAT_MOVE") ) { return HAT_MOVE; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"AXIS_MOVE") ) { return AXIS_MOVE; } - if (HX_FIELD_EQ(inName,"BALL_MOVE") ) { return BALL_MOVE; } - if (HX_FIELD_EQ(inName,"BUTTON_UP") ) { return BUTTON_UP; } - break; - case 11: - if (HX_FIELD_EQ(inName,"BUTTON_DOWN") ) { return BUTTON_DOWN; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic JoystickEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"z") ) { z=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 2: - if (HX_FIELD_EQ(inName,"id") ) { id=inValue.Cast< int >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"axis") ) { axis=inValue.Cast< Array< Float > >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"device") ) { device=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HAT_MOVE") ) { HAT_MOVE=inValue.Cast< ::String >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"AXIS_MOVE") ) { AXIS_MOVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"BALL_MOVE") ) { BALL_MOVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"BUTTON_UP") ) { BUTTON_UP=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"BUTTON_DOWN") ) { BUTTON_DOWN=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void JoystickEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("z")); - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("id")); - outFields->push(HX_CSTRING("device")); - outFields->push(HX_CSTRING("axis")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("AXIS_MOVE"), - HX_CSTRING("BALL_MOVE"), - HX_CSTRING("BUTTON_DOWN"), - HX_CSTRING("BUTTON_UP"), - HX_CSTRING("HAT_MOVE"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("z"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("id"), - HX_CSTRING("device"), - HX_CSTRING("axis"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(JoystickEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::AXIS_MOVE,"AXIS_MOVE"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::BALL_MOVE,"BALL_MOVE"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::BUTTON_DOWN,"BUTTON_DOWN"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::BUTTON_UP,"BUTTON_UP"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::HAT_MOVE,"HAT_MOVE"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::AXIS_MOVE,"AXIS_MOVE"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::BALL_MOVE,"BALL_MOVE"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::BUTTON_DOWN,"BUTTON_DOWN"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::BUTTON_UP,"BUTTON_UP"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::HAT_MOVE,"HAT_MOVE"); -}; - -Class JoystickEvent_obj::__mClass; - -void JoystickEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.events.JoystickEvent"), hx::TCanCast< JoystickEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void JoystickEvent_obj::__boot() -{ - AXIS_MOVE= HX_CSTRING("axisMove"); - BALL_MOVE= HX_CSTRING("ballMove"); - BUTTON_DOWN= HX_CSTRING("buttonDown"); - BUTTON_UP= HX_CSTRING("buttonUp"); - HAT_MOVE= HX_CSTRING("hatMove"); -} - -} // end namespace native -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/KeyboardEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/KeyboardEvent.cpp deleted file mode 100644 index f2f1915..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/KeyboardEvent.cpp +++ /dev/null @@ -1,233 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_KeyboardEvent -#include -#endif -namespace native{ -namespace events{ - -Void KeyboardEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_charCodeValue,hx::Null< int > __o_keyCodeValue,hx::Null< int > __o_keyLocationValue,hx::Null< bool > __o_ctrlKeyValue,hx::Null< bool > __o_altKeyValue,hx::Null< bool > __o_shiftKeyValue,hx::Null< bool > __o_controlKeyValue,hx::Null< bool > __o_commandKeyValue) -{ -HX_STACK_PUSH("KeyboardEvent::new","native/events/KeyboardEvent.hx",20); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -int charCodeValue = __o_charCodeValue.Default(0); -int keyCodeValue = __o_keyCodeValue.Default(0); -int keyLocationValue = __o_keyLocationValue.Default(0); -bool ctrlKeyValue = __o_ctrlKeyValue.Default(false); -bool altKeyValue = __o_altKeyValue.Default(false); -bool shiftKeyValue = __o_shiftKeyValue.Default(false); -bool controlKeyValue = __o_controlKeyValue.Default(false); -bool commandKeyValue = __o_commandKeyValue.Default(false); -{ - HX_STACK_LINE(22) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(24) - this->keyCode = keyCodeValue; - HX_STACK_LINE(25) - this->keyLocation = keyLocationValue; - HX_STACK_LINE(26) - this->charCode = charCodeValue; - HX_STACK_LINE(28) - this->shiftKey = shiftKeyValue; - HX_STACK_LINE(29) - this->altKey = altKeyValue; - HX_STACK_LINE(30) - this->controlKey = controlKeyValue; - HX_STACK_LINE(31) - this->commandKey = commandKeyValue; - HX_STACK_LINE(32) - this->ctrlKey = (bool((bool(ctrlKeyValue) || bool(this->controlKey))) || bool(this->commandKey)); -} -; - return null(); -} - -KeyboardEvent_obj::~KeyboardEvent_obj() { } - -Dynamic KeyboardEvent_obj::__CreateEmpty() { return new KeyboardEvent_obj; } -hx::ObjectPtr< KeyboardEvent_obj > KeyboardEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_charCodeValue,hx::Null< int > __o_keyCodeValue,hx::Null< int > __o_keyLocationValue,hx::Null< bool > __o_ctrlKeyValue,hx::Null< bool > __o_altKeyValue,hx::Null< bool > __o_shiftKeyValue,hx::Null< bool > __o_controlKeyValue,hx::Null< bool > __o_commandKeyValue) -{ hx::ObjectPtr< KeyboardEvent_obj > result = new KeyboardEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_charCodeValue,__o_keyCodeValue,__o_keyLocationValue,__o_ctrlKeyValue,__o_altKeyValue,__o_shiftKeyValue,__o_controlKeyValue,__o_commandKeyValue); - return result;} - -Dynamic KeyboardEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< KeyboardEvent_obj > result = new KeyboardEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7],inArgs[8],inArgs[9],inArgs[10]); - return result;} - -::String KeyboardEvent_obj::toString( ){ - HX_STACK_PUSH("KeyboardEvent::toString","native/events/KeyboardEvent.hx",44); - HX_STACK_THIS(this); - HX_STACK_LINE(44) - return ((((((((((((((((((HX_CSTRING("[KeyboardEvent type=") + this->get_type()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->get_bubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->get_cancelable())) + HX_CSTRING(" charCode=")) + this->charCode) + HX_CSTRING(" keyCode=")) + this->keyCode) + HX_CSTRING(" keyLocation=")) + this->keyLocation) + HX_CSTRING(" ctrlKey=")) + ::Std_obj::string(this->ctrlKey)) + HX_CSTRING(" altKey=")) + ::Std_obj::string(this->altKey)) + HX_CSTRING(" shiftKey=")) + ::Std_obj::string(this->shiftKey)) + HX_CSTRING("]")); -} - - -::native::events::Event KeyboardEvent_obj::clone( ){ - HX_STACK_PUSH("KeyboardEvent::clone","native/events/KeyboardEvent.hx",37); - HX_STACK_THIS(this); - HX_STACK_LINE(37) - return ::native::events::KeyboardEvent_obj::__new(this->get_type(),this->get_bubbles(),this->get_cancelable(),this->charCode,this->keyCode,this->keyLocation,this->ctrlKey,this->altKey,this->shiftKey,this->controlKey,this->commandKey); -} - - -::String KeyboardEvent_obj::KEY_DOWN; - -::String KeyboardEvent_obj::KEY_UP; - - -KeyboardEvent_obj::KeyboardEvent_obj() -{ -} - -void KeyboardEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(KeyboardEvent); - HX_MARK_MEMBER_NAME(shiftKey,"shiftKey"); - HX_MARK_MEMBER_NAME(keyLocation,"keyLocation"); - HX_MARK_MEMBER_NAME(keyCode,"keyCode"); - HX_MARK_MEMBER_NAME(commandKey,"commandKey"); - HX_MARK_MEMBER_NAME(controlKey,"controlKey"); - HX_MARK_MEMBER_NAME(ctrlKey,"ctrlKey"); - HX_MARK_MEMBER_NAME(charCode,"charCode"); - HX_MARK_MEMBER_NAME(altKey,"altKey"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void KeyboardEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(shiftKey,"shiftKey"); - HX_VISIT_MEMBER_NAME(keyLocation,"keyLocation"); - HX_VISIT_MEMBER_NAME(keyCode,"keyCode"); - HX_VISIT_MEMBER_NAME(commandKey,"commandKey"); - HX_VISIT_MEMBER_NAME(controlKey,"controlKey"); - HX_VISIT_MEMBER_NAME(ctrlKey,"ctrlKey"); - HX_VISIT_MEMBER_NAME(charCode,"charCode"); - HX_VISIT_MEMBER_NAME(altKey,"altKey"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic KeyboardEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"KEY_UP") ) { return KEY_UP; } - if (HX_FIELD_EQ(inName,"altKey") ) { return altKey; } - break; - case 7: - if (HX_FIELD_EQ(inName,"keyCode") ) { return keyCode; } - if (HX_FIELD_EQ(inName,"ctrlKey") ) { return ctrlKey; } - break; - case 8: - if (HX_FIELD_EQ(inName,"KEY_DOWN") ) { return KEY_DOWN; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"shiftKey") ) { return shiftKey; } - if (HX_FIELD_EQ(inName,"charCode") ) { return charCode; } - break; - case 10: - if (HX_FIELD_EQ(inName,"commandKey") ) { return commandKey; } - if (HX_FIELD_EQ(inName,"controlKey") ) { return controlKey; } - break; - case 11: - if (HX_FIELD_EQ(inName,"keyLocation") ) { return keyLocation; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic KeyboardEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"KEY_UP") ) { KEY_UP=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"altKey") ) { altKey=inValue.Cast< bool >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"keyCode") ) { keyCode=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ctrlKey") ) { ctrlKey=inValue.Cast< bool >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"KEY_DOWN") ) { KEY_DOWN=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"shiftKey") ) { shiftKey=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"charCode") ) { charCode=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"commandKey") ) { commandKey=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"controlKey") ) { controlKey=inValue.Cast< bool >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"keyLocation") ) { keyLocation=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void KeyboardEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("shiftKey")); - outFields->push(HX_CSTRING("keyLocation")); - outFields->push(HX_CSTRING("keyCode")); - outFields->push(HX_CSTRING("commandKey")); - outFields->push(HX_CSTRING("controlKey")); - outFields->push(HX_CSTRING("ctrlKey")); - outFields->push(HX_CSTRING("charCode")); - outFields->push(HX_CSTRING("altKey")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("KEY_DOWN"), - HX_CSTRING("KEY_UP"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("shiftKey"), - HX_CSTRING("keyLocation"), - HX_CSTRING("keyCode"), - HX_CSTRING("commandKey"), - HX_CSTRING("controlKey"), - HX_CSTRING("ctrlKey"), - HX_CSTRING("charCode"), - HX_CSTRING("altKey"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(KeyboardEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(KeyboardEvent_obj::KEY_DOWN,"KEY_DOWN"); - HX_MARK_MEMBER_NAME(KeyboardEvent_obj::KEY_UP,"KEY_UP"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(KeyboardEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(KeyboardEvent_obj::KEY_DOWN,"KEY_DOWN"); - HX_VISIT_MEMBER_NAME(KeyboardEvent_obj::KEY_UP,"KEY_UP"); -}; - -Class KeyboardEvent_obj::__mClass; - -void KeyboardEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.events.KeyboardEvent"), hx::TCanCast< KeyboardEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void KeyboardEvent_obj::__boot() -{ - KEY_DOWN= HX_CSTRING("keyDown"); - KEY_UP= HX_CSTRING("keyUp"); -} - -} // end namespace native -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/Listener.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/Listener.cpp deleted file mode 100644 index eadc02a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/Listener.cpp +++ /dev/null @@ -1,190 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_Listener -#include -#endif -namespace native{ -namespace events{ - -Void Listener_obj::__construct(Dynamic inListener,bool inUseCapture,int inPriority) -{ -HX_STACK_PUSH("Listener::new","native/events/EventDispatcher.hx",189); -{ - HX_STACK_LINE(191) - this->mListner = inListener; - HX_STACK_LINE(192) - this->mUseCapture = inUseCapture; - HX_STACK_LINE(193) - this->mPriority = inPriority; - HX_STACK_LINE(194) - this->mID = (::native::events::Listener_obj::sIDs)++; -} -; - return null(); -} - -Listener_obj::~Listener_obj() { } - -Dynamic Listener_obj::__CreateEmpty() { return new Listener_obj; } -hx::ObjectPtr< Listener_obj > Listener_obj::__new(Dynamic inListener,bool inUseCapture,int inPriority) -{ hx::ObjectPtr< Listener_obj > result = new Listener_obj(); - result->__construct(inListener,inUseCapture,inPriority); - return result;} - -Dynamic Listener_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Listener_obj > result = new Listener_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -bool Listener_obj::Is( Dynamic inListener,bool inCapture){ - HX_STACK_PUSH("Listener::Is","native/events/EventDispatcher.hx",206); - HX_STACK_THIS(this); - HX_STACK_ARG(inListener,"inListener"); - HX_STACK_ARG(inCapture,"inCapture"); - HX_STACK_LINE(206) - return (bool(::Reflect_obj::compareMethods(this->mListner_dyn(),inListener)) && bool((this->mUseCapture == inCapture))); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Listener_obj,Is,return ) - -Void Listener_obj::dispatchEvent( ::native::events::Event event){ -{ - HX_STACK_PUSH("Listener::dispatchEvent","native/events/EventDispatcher.hx",199); - HX_STACK_THIS(this); - HX_STACK_ARG(event,"event"); - HX_STACK_LINE(199) - this->mListner(event); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Listener_obj,dispatchEvent,(void)) - -int Listener_obj::sIDs; - - -Listener_obj::Listener_obj() -{ -} - -void Listener_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Listener); - HX_MARK_MEMBER_NAME(mUseCapture,"mUseCapture"); - HX_MARK_MEMBER_NAME(mPriority,"mPriority"); - HX_MARK_MEMBER_NAME(mListner,"mListner"); - HX_MARK_MEMBER_NAME(mID,"mID"); - HX_MARK_END_CLASS(); -} - -void Listener_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mUseCapture,"mUseCapture"); - HX_VISIT_MEMBER_NAME(mPriority,"mPriority"); - HX_VISIT_MEMBER_NAME(mListner,"mListner"); - HX_VISIT_MEMBER_NAME(mID,"mID"); -} - -Dynamic Listener_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"Is") ) { return Is_dyn(); } - break; - case 3: - if (HX_FIELD_EQ(inName,"mID") ) { return mID; } - break; - case 4: - if (HX_FIELD_EQ(inName,"sIDs") ) { return sIDs; } - break; - case 8: - if (HX_FIELD_EQ(inName,"mListner") ) { return mListner; } - break; - case 9: - if (HX_FIELD_EQ(inName,"mPriority") ) { return mPriority; } - break; - case 11: - if (HX_FIELD_EQ(inName,"mUseCapture") ) { return mUseCapture; } - break; - case 13: - if (HX_FIELD_EQ(inName,"dispatchEvent") ) { return dispatchEvent_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Listener_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"mID") ) { mID=inValue.Cast< int >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"sIDs") ) { sIDs=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"mListner") ) { mListner=inValue.Cast< Dynamic >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"mPriority") ) { mPriority=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"mUseCapture") ) { mUseCapture=inValue.Cast< bool >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Listener_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mUseCapture")); - outFields->push(HX_CSTRING("mPriority")); - outFields->push(HX_CSTRING("mID")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("sIDs"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("Is"), - HX_CSTRING("dispatchEvent"), - HX_CSTRING("mUseCapture"), - HX_CSTRING("mPriority"), - HX_CSTRING("mListner"), - HX_CSTRING("mID"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Listener_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Listener_obj::sIDs,"sIDs"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Listener_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Listener_obj::sIDs,"sIDs"); -}; - -Class Listener_obj::__mClass; - -void Listener_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.events.Listener"), hx::TCanCast< Listener_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Listener_obj::__boot() -{ - sIDs= (int)1; -} - -} // end namespace native -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/MouseEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/MouseEvent.cpp deleted file mode 100644 index 5d7b380..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/MouseEvent.cpp +++ /dev/null @@ -1,526 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_MouseEvent -#include -#endif -#ifndef INCLUDED_native_geom_Point -#include -#endif -namespace native{ -namespace events{ - -Void MouseEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_localX,hx::Null< Float > __o_localY,::native::display::InteractiveObject relatedObject,hx::Null< bool > __o_ctrlKey,hx::Null< bool > __o_altKey,hx::Null< bool > __o_shiftKey,hx::Null< bool > __o_buttonDown,hx::Null< int > __o_delta,hx::Null< bool > __o_commandKey,hx::Null< int > __o_clickCount) -{ -HX_STACK_PUSH("MouseEvent::new","native/events/MouseEvent.hx",48); -bool bubbles = __o_bubbles.Default(true); -bool cancelable = __o_cancelable.Default(false); -Float localX = __o_localX.Default(0); -Float localY = __o_localY.Default(0); -bool ctrlKey = __o_ctrlKey.Default(false); -bool altKey = __o_altKey.Default(false); -bool shiftKey = __o_shiftKey.Default(false); -bool buttonDown = __o_buttonDown.Default(false); -int delta = __o_delta.Default(0); -bool commandKey = __o_commandKey.Default(false); -int clickCount = __o_clickCount.Default(0); -{ - HX_STACK_LINE(50) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(52) - this->localX = localX; - HX_STACK_LINE(53) - this->localY = localY; - HX_STACK_LINE(54) - this->relatedObject = relatedObject; - HX_STACK_LINE(55) - this->ctrlKey = ctrlKey; - HX_STACK_LINE(56) - this->altKey = altKey; - HX_STACK_LINE(57) - this->shiftKey = shiftKey; - HX_STACK_LINE(58) - this->buttonDown = buttonDown; - HX_STACK_LINE(59) - this->delta = delta; - HX_STACK_LINE(60) - this->commandKey = commandKey; - HX_STACK_LINE(61) - this->clickCount = clickCount; -} -; - return null(); -} - -MouseEvent_obj::~MouseEvent_obj() { } - -Dynamic MouseEvent_obj::__CreateEmpty() { return new MouseEvent_obj; } -hx::ObjectPtr< MouseEvent_obj > MouseEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_localX,hx::Null< Float > __o_localY,::native::display::InteractiveObject relatedObject,hx::Null< bool > __o_ctrlKey,hx::Null< bool > __o_altKey,hx::Null< bool > __o_shiftKey,hx::Null< bool > __o_buttonDown,hx::Null< int > __o_delta,hx::Null< bool > __o_commandKey,hx::Null< int > __o_clickCount) -{ hx::ObjectPtr< MouseEvent_obj > result = new MouseEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_localX,__o_localY,relatedObject,__o_ctrlKey,__o_altKey,__o_shiftKey,__o_buttonDown,__o_delta,__o_commandKey,__o_clickCount); - return result;} - -Dynamic MouseEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< MouseEvent_obj > result = new MouseEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7],inArgs[8],inArgs[9],inArgs[10],inArgs[11],inArgs[12]); - return result;} - -Void MouseEvent_obj::updateAfterEvent( ){ -{ - HX_STACK_PUSH("MouseEvent::updateAfterEvent","native/events/MouseEvent.hx",107); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(MouseEvent_obj,updateAfterEvent,(void)) - -::String MouseEvent_obj::toString( ){ - HX_STACK_PUSH("MouseEvent::toString","native/events/MouseEvent.hx",100); - HX_STACK_THIS(this); - HX_STACK_LINE(100) - return ((((((((((((((((((((((HX_CSTRING("[MouseEvent type=") + this->get_type()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->get_bubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->get_cancelable())) + HX_CSTRING(" localX=")) + this->localX) + HX_CSTRING(" localY=")) + this->localY) + HX_CSTRING(" relatedObject=")) + ::Std_obj::string(this->relatedObject)) + HX_CSTRING(" ctrlKey=")) + ::Std_obj::string(this->ctrlKey)) + HX_CSTRING(" altKey=")) + ::Std_obj::string(this->altKey)) + HX_CSTRING(" shiftKey=")) + ::Std_obj::string(this->shiftKey)) + HX_CSTRING(" buttonDown=")) + ::Std_obj::string(this->buttonDown)) + HX_CSTRING(" delta=")) + this->delta) + HX_CSTRING("]")); -} - - -::native::events::MouseEvent MouseEvent_obj::nmeCreateSimilar( ::String inType,::native::display::InteractiveObject related,::native::display::InteractiveObject targ){ - HX_STACK_PUSH("MouseEvent::nmeCreateSimilar","native/events/MouseEvent.hx",85); - HX_STACK_THIS(this); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(related,"related"); - HX_STACK_ARG(targ,"targ"); - HX_STACK_LINE(87) - ::native::events::MouseEvent result = ::native::events::MouseEvent_obj::__new(inType,this->get_bubbles(),this->get_cancelable(),this->localX,this->localY,( (((related == null()))) ? ::native::display::InteractiveObject(this->relatedObject) : ::native::display::InteractiveObject(related) ),this->ctrlKey,this->altKey,this->shiftKey,this->buttonDown,this->delta,this->commandKey,this->clickCount); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(89) - result->stageX = this->stageX; - HX_STACK_LINE(90) - result->stageY = this->stageY; - HX_STACK_LINE(92) - if (((targ != null()))){ - HX_STACK_LINE(93) - result->set_target(targ); - } - HX_STACK_LINE(95) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC3(MouseEvent_obj,nmeCreateSimilar,return ) - -::native::events::Event MouseEvent_obj::clone( ){ - HX_STACK_PUSH("MouseEvent::clone","native/events/MouseEvent.hx",66); - HX_STACK_THIS(this); - HX_STACK_LINE(66) - return ::native::events::MouseEvent_obj::__new(this->get_type(),this->get_bubbles(),this->get_cancelable(),this->localX,this->localY,this->relatedObject,this->ctrlKey,this->altKey,this->shiftKey,this->buttonDown,this->delta,this->commandKey,this->clickCount); -} - - -::String MouseEvent_obj::DOUBLE_CLICK; - -::String MouseEvent_obj::CLICK; - -::String MouseEvent_obj::MIDDLE_CLICK; - -::String MouseEvent_obj::MIDDLE_MOUSE_DOWN; - -::String MouseEvent_obj::MIDDLE_MOUSE_UP; - -::String MouseEvent_obj::MOUSE_DOWN; - -::String MouseEvent_obj::MOUSE_MOVE; - -::String MouseEvent_obj::MOUSE_OUT; - -::String MouseEvent_obj::MOUSE_OVER; - -::String MouseEvent_obj::MOUSE_UP; - -::String MouseEvent_obj::MOUSE_WHEEL; - -::String MouseEvent_obj::RIGHT_CLICK; - -::String MouseEvent_obj::RIGHT_MOUSE_DOWN; - -::String MouseEvent_obj::RIGHT_MOUSE_UP; - -::String MouseEvent_obj::ROLL_OUT; - -::String MouseEvent_obj::ROLL_OVER; - -int MouseEvent_obj::efLeftDown; - -int MouseEvent_obj::efShiftDown; - -int MouseEvent_obj::efCtrlDown; - -int MouseEvent_obj::efAltDown; - -int MouseEvent_obj::efCommandDown; - -::native::events::MouseEvent MouseEvent_obj::nmeCreate( ::String inType,Dynamic inEvent,::native::geom::Point inLocal,::native::display::InteractiveObject inTarget){ - HX_STACK_PUSH("MouseEvent::nmeCreate","native/events/MouseEvent.hx",73); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inLocal,"inLocal"); - HX_STACK_ARG(inTarget,"inTarget"); - HX_STACK_LINE(75) - int flags = inEvent->__Field(HX_CSTRING("flags"),true); HX_STACK_VAR(flags,"flags"); - HX_STACK_LINE(76) - ::native::events::MouseEvent evt = ::native::events::MouseEvent_obj::__new(inType,true,false,inLocal->x,inLocal->y,null(),(((int(flags) & int(::native::events::MouseEvent_obj::efCtrlDown))) != (int)0),(((int(flags) & int(::native::events::MouseEvent_obj::efAltDown))) != (int)0),(((int(flags) & int(::native::events::MouseEvent_obj::efShiftDown))) != (int)0),(((int(flags) & int(::native::events::MouseEvent_obj::efLeftDown))) != (int)0),(int)0,null(),(int)0); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(77) - evt->stageX = inEvent->__Field(HX_CSTRING("x"),true); - HX_STACK_LINE(78) - evt->stageY = inEvent->__Field(HX_CSTRING("y"),true); - HX_STACK_LINE(79) - evt->set_target(inTarget); - HX_STACK_LINE(80) - return evt; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(MouseEvent_obj,nmeCreate,return ) - - -MouseEvent_obj::MouseEvent_obj() -{ -} - -void MouseEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(MouseEvent); - HX_MARK_MEMBER_NAME(stageY,"stageY"); - HX_MARK_MEMBER_NAME(stageX,"stageX"); - HX_MARK_MEMBER_NAME(shiftKey,"shiftKey"); - HX_MARK_MEMBER_NAME(relatedObject,"relatedObject"); - HX_MARK_MEMBER_NAME(localY,"localY"); - HX_MARK_MEMBER_NAME(localX,"localX"); - HX_MARK_MEMBER_NAME(delta,"delta"); - HX_MARK_MEMBER_NAME(ctrlKey,"ctrlKey"); - HX_MARK_MEMBER_NAME(commandKey,"commandKey"); - HX_MARK_MEMBER_NAME(clickCount,"clickCount"); - HX_MARK_MEMBER_NAME(buttonDown,"buttonDown"); - HX_MARK_MEMBER_NAME(altKey,"altKey"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void MouseEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(stageY,"stageY"); - HX_VISIT_MEMBER_NAME(stageX,"stageX"); - HX_VISIT_MEMBER_NAME(shiftKey,"shiftKey"); - HX_VISIT_MEMBER_NAME(relatedObject,"relatedObject"); - HX_VISIT_MEMBER_NAME(localY,"localY"); - HX_VISIT_MEMBER_NAME(localX,"localX"); - HX_VISIT_MEMBER_NAME(delta,"delta"); - HX_VISIT_MEMBER_NAME(ctrlKey,"ctrlKey"); - HX_VISIT_MEMBER_NAME(commandKey,"commandKey"); - HX_VISIT_MEMBER_NAME(clickCount,"clickCount"); - HX_VISIT_MEMBER_NAME(buttonDown,"buttonDown"); - HX_VISIT_MEMBER_NAME(altKey,"altKey"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic MouseEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"CLICK") ) { return CLICK; } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - if (HX_FIELD_EQ(inName,"delta") ) { return delta; } - break; - case 6: - if (HX_FIELD_EQ(inName,"stageY") ) { return stageY; } - if (HX_FIELD_EQ(inName,"stageX") ) { return stageX; } - if (HX_FIELD_EQ(inName,"localY") ) { return localY; } - if (HX_FIELD_EQ(inName,"localX") ) { return localX; } - if (HX_FIELD_EQ(inName,"altKey") ) { return altKey; } - break; - case 7: - if (HX_FIELD_EQ(inName,"ctrlKey") ) { return ctrlKey; } - break; - case 8: - if (HX_FIELD_EQ(inName,"MOUSE_UP") ) { return MOUSE_UP; } - if (HX_FIELD_EQ(inName,"ROLL_OUT") ) { return ROLL_OUT; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"shiftKey") ) { return shiftKey; } - break; - case 9: - if (HX_FIELD_EQ(inName,"MOUSE_OUT") ) { return MOUSE_OUT; } - if (HX_FIELD_EQ(inName,"ROLL_OVER") ) { return ROLL_OVER; } - if (HX_FIELD_EQ(inName,"efAltDown") ) { return efAltDown; } - if (HX_FIELD_EQ(inName,"nmeCreate") ) { return nmeCreate_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"MOUSE_DOWN") ) { return MOUSE_DOWN; } - if (HX_FIELD_EQ(inName,"MOUSE_MOVE") ) { return MOUSE_MOVE; } - if (HX_FIELD_EQ(inName,"MOUSE_OVER") ) { return MOUSE_OVER; } - if (HX_FIELD_EQ(inName,"efLeftDown") ) { return efLeftDown; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { return efCtrlDown; } - if (HX_FIELD_EQ(inName,"commandKey") ) { return commandKey; } - if (HX_FIELD_EQ(inName,"clickCount") ) { return clickCount; } - if (HX_FIELD_EQ(inName,"buttonDown") ) { return buttonDown; } - break; - case 11: - if (HX_FIELD_EQ(inName,"MOUSE_WHEEL") ) { return MOUSE_WHEEL; } - if (HX_FIELD_EQ(inName,"RIGHT_CLICK") ) { return RIGHT_CLICK; } - if (HX_FIELD_EQ(inName,"efShiftDown") ) { return efShiftDown; } - break; - case 12: - if (HX_FIELD_EQ(inName,"DOUBLE_CLICK") ) { return DOUBLE_CLICK; } - if (HX_FIELD_EQ(inName,"MIDDLE_CLICK") ) { return MIDDLE_CLICK; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { return efCommandDown; } - if (HX_FIELD_EQ(inName,"relatedObject") ) { return relatedObject; } - break; - case 14: - if (HX_FIELD_EQ(inName,"RIGHT_MOUSE_UP") ) { return RIGHT_MOUSE_UP; } - break; - case 15: - if (HX_FIELD_EQ(inName,"MIDDLE_MOUSE_UP") ) { return MIDDLE_MOUSE_UP; } - break; - case 16: - if (HX_FIELD_EQ(inName,"RIGHT_MOUSE_DOWN") ) { return RIGHT_MOUSE_DOWN; } - if (HX_FIELD_EQ(inName,"updateAfterEvent") ) { return updateAfterEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeCreateSimilar") ) { return nmeCreateSimilar_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"MIDDLE_MOUSE_DOWN") ) { return MIDDLE_MOUSE_DOWN; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic MouseEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"CLICK") ) { CLICK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"delta") ) { delta=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"stageY") ) { stageY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"stageX") ) { stageX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"localY") ) { localY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"localX") ) { localX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"altKey") ) { altKey=inValue.Cast< bool >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"ctrlKey") ) { ctrlKey=inValue.Cast< bool >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"MOUSE_UP") ) { MOUSE_UP=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"ROLL_OUT") ) { ROLL_OUT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"shiftKey") ) { shiftKey=inValue.Cast< bool >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"MOUSE_OUT") ) { MOUSE_OUT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"ROLL_OVER") ) { ROLL_OVER=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"efAltDown") ) { efAltDown=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"MOUSE_DOWN") ) { MOUSE_DOWN=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MOUSE_MOVE") ) { MOUSE_MOVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MOUSE_OVER") ) { MOUSE_OVER=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"efLeftDown") ) { efLeftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { efCtrlDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"commandKey") ) { commandKey=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"clickCount") ) { clickCount=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"buttonDown") ) { buttonDown=inValue.Cast< bool >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"MOUSE_WHEEL") ) { MOUSE_WHEEL=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"RIGHT_CLICK") ) { RIGHT_CLICK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"efShiftDown") ) { efShiftDown=inValue.Cast< int >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"DOUBLE_CLICK") ) { DOUBLE_CLICK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MIDDLE_CLICK") ) { MIDDLE_CLICK=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { efCommandDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"relatedObject") ) { relatedObject=inValue.Cast< ::native::display::InteractiveObject >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"RIGHT_MOUSE_UP") ) { RIGHT_MOUSE_UP=inValue.Cast< ::String >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"MIDDLE_MOUSE_UP") ) { MIDDLE_MOUSE_UP=inValue.Cast< ::String >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"RIGHT_MOUSE_DOWN") ) { RIGHT_MOUSE_DOWN=inValue.Cast< ::String >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"MIDDLE_MOUSE_DOWN") ) { MIDDLE_MOUSE_DOWN=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void MouseEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("stageY")); - outFields->push(HX_CSTRING("stageX")); - outFields->push(HX_CSTRING("shiftKey")); - outFields->push(HX_CSTRING("relatedObject")); - outFields->push(HX_CSTRING("localY")); - outFields->push(HX_CSTRING("localX")); - outFields->push(HX_CSTRING("delta")); - outFields->push(HX_CSTRING("ctrlKey")); - outFields->push(HX_CSTRING("commandKey")); - outFields->push(HX_CSTRING("clickCount")); - outFields->push(HX_CSTRING("buttonDown")); - outFields->push(HX_CSTRING("altKey")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("DOUBLE_CLICK"), - HX_CSTRING("CLICK"), - HX_CSTRING("MIDDLE_CLICK"), - HX_CSTRING("MIDDLE_MOUSE_DOWN"), - HX_CSTRING("MIDDLE_MOUSE_UP"), - HX_CSTRING("MOUSE_DOWN"), - HX_CSTRING("MOUSE_MOVE"), - HX_CSTRING("MOUSE_OUT"), - HX_CSTRING("MOUSE_OVER"), - HX_CSTRING("MOUSE_UP"), - HX_CSTRING("MOUSE_WHEEL"), - HX_CSTRING("RIGHT_CLICK"), - HX_CSTRING("RIGHT_MOUSE_DOWN"), - HX_CSTRING("RIGHT_MOUSE_UP"), - HX_CSTRING("ROLL_OUT"), - HX_CSTRING("ROLL_OVER"), - HX_CSTRING("efLeftDown"), - HX_CSTRING("efShiftDown"), - HX_CSTRING("efCtrlDown"), - HX_CSTRING("efAltDown"), - HX_CSTRING("efCommandDown"), - HX_CSTRING("nmeCreate"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("updateAfterEvent"), - HX_CSTRING("toString"), - HX_CSTRING("nmeCreateSimilar"), - HX_CSTRING("clone"), - HX_CSTRING("stageY"), - HX_CSTRING("stageX"), - HX_CSTRING("shiftKey"), - HX_CSTRING("relatedObject"), - HX_CSTRING("localY"), - HX_CSTRING("localX"), - HX_CSTRING("delta"), - HX_CSTRING("ctrlKey"), - HX_CSTRING("commandKey"), - HX_CSTRING("clickCount"), - HX_CSTRING("buttonDown"), - HX_CSTRING("altKey"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(MouseEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::DOUBLE_CLICK,"DOUBLE_CLICK"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::CLICK,"CLICK"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MIDDLE_CLICK,"MIDDLE_CLICK"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MIDDLE_MOUSE_DOWN,"MIDDLE_MOUSE_DOWN"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MIDDLE_MOUSE_UP,"MIDDLE_MOUSE_UP"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_DOWN,"MOUSE_DOWN"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_MOVE,"MOUSE_MOVE"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_OUT,"MOUSE_OUT"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_OVER,"MOUSE_OVER"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_UP,"MOUSE_UP"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_WHEEL,"MOUSE_WHEEL"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::RIGHT_CLICK,"RIGHT_CLICK"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::RIGHT_MOUSE_DOWN,"RIGHT_MOUSE_DOWN"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::RIGHT_MOUSE_UP,"RIGHT_MOUSE_UP"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::ROLL_OUT,"ROLL_OUT"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::ROLL_OVER,"ROLL_OVER"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efLeftDown,"efLeftDown"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efShiftDown,"efShiftDown"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efCtrlDown,"efCtrlDown"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efAltDown,"efAltDown"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efCommandDown,"efCommandDown"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(MouseEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::DOUBLE_CLICK,"DOUBLE_CLICK"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::CLICK,"CLICK"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MIDDLE_CLICK,"MIDDLE_CLICK"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MIDDLE_MOUSE_DOWN,"MIDDLE_MOUSE_DOWN"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MIDDLE_MOUSE_UP,"MIDDLE_MOUSE_UP"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_DOWN,"MOUSE_DOWN"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_MOVE,"MOUSE_MOVE"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_OUT,"MOUSE_OUT"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_OVER,"MOUSE_OVER"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_UP,"MOUSE_UP"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_WHEEL,"MOUSE_WHEEL"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::RIGHT_CLICK,"RIGHT_CLICK"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::RIGHT_MOUSE_DOWN,"RIGHT_MOUSE_DOWN"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::RIGHT_MOUSE_UP,"RIGHT_MOUSE_UP"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::ROLL_OUT,"ROLL_OUT"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::ROLL_OVER,"ROLL_OVER"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efLeftDown,"efLeftDown"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efShiftDown,"efShiftDown"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efCtrlDown,"efCtrlDown"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efAltDown,"efAltDown"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efCommandDown,"efCommandDown"); -}; - -Class MouseEvent_obj::__mClass; - -void MouseEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.events.MouseEvent"), hx::TCanCast< MouseEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void MouseEvent_obj::__boot() -{ - DOUBLE_CLICK= HX_CSTRING("doubleClick"); - CLICK= HX_CSTRING("click"); - MIDDLE_CLICK= HX_CSTRING("middleClick"); - MIDDLE_MOUSE_DOWN= HX_CSTRING("middleMouseDown"); - MIDDLE_MOUSE_UP= HX_CSTRING("middleMouseUp"); - MOUSE_DOWN= HX_CSTRING("mouseDown"); - MOUSE_MOVE= HX_CSTRING("mouseMove"); - MOUSE_OUT= HX_CSTRING("mouseOut"); - MOUSE_OVER= HX_CSTRING("mouseOver"); - MOUSE_UP= HX_CSTRING("mouseUp"); - MOUSE_WHEEL= HX_CSTRING("mouseWheel"); - RIGHT_CLICK= HX_CSTRING("rightClick"); - RIGHT_MOUSE_DOWN= HX_CSTRING("rightMouseDown"); - RIGHT_MOUSE_UP= HX_CSTRING("rightMouseUp"); - ROLL_OUT= HX_CSTRING("rollOut"); - ROLL_OVER= HX_CSTRING("rollOver"); - efLeftDown= (int)1; - efShiftDown= (int)2; - efCtrlDown= (int)4; - efAltDown= (int)8; - efCommandDown= (int)16; -} - -} // end namespace native -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/ProgressEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/ProgressEvent.cpp deleted file mode 100644 index 6ba87c3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/ProgressEvent.cpp +++ /dev/null @@ -1,171 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_ProgressEvent -#include -#endif -namespace native{ -namespace events{ - -Void ProgressEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_bytesLoaded,hx::Null< int > __o_bytesTotal) -{ -HX_STACK_PUSH("ProgressEvent::new","native/events/ProgressEvent.hx",14); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -int bytesLoaded = __o_bytesLoaded.Default(0); -int bytesTotal = __o_bytesTotal.Default(0); -{ - HX_STACK_LINE(16) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(18) - this->bytesLoaded = bytesLoaded; - HX_STACK_LINE(19) - this->bytesTotal = bytesTotal; -} -; - return null(); -} - -ProgressEvent_obj::~ProgressEvent_obj() { } - -Dynamic ProgressEvent_obj::__CreateEmpty() { return new ProgressEvent_obj; } -hx::ObjectPtr< ProgressEvent_obj > ProgressEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_bytesLoaded,hx::Null< int > __o_bytesTotal) -{ hx::ObjectPtr< ProgressEvent_obj > result = new ProgressEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_bytesLoaded,__o_bytesTotal); - return result;} - -Dynamic ProgressEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ProgressEvent_obj > result = new ProgressEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4]); - return result;} - -::String ProgressEvent_obj::toString( ){ - HX_STACK_PUSH("ProgressEvent::toString","native/events/ProgressEvent.hx",31); - HX_STACK_THIS(this); - HX_STACK_LINE(31) - return ((((((((((HX_CSTRING("[ProgressEvent type=") + this->get_type()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->get_bubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->get_cancelable())) + HX_CSTRING(" bytesLoaded=")) + this->bytesLoaded) + HX_CSTRING(" bytesTotal=")) + this->bytesTotal) + HX_CSTRING("]")); -} - - -::native::events::Event ProgressEvent_obj::clone( ){ - HX_STACK_PUSH("ProgressEvent::clone","native/events/ProgressEvent.hx",24); - HX_STACK_THIS(this); - HX_STACK_LINE(24) - return ::native::events::ProgressEvent_obj::__new(this->get_type(),this->get_bubbles(),this->get_cancelable(),this->bytesLoaded,this->bytesTotal); -} - - -::String ProgressEvent_obj::PROGRESS; - -::String ProgressEvent_obj::SOCKET_DATA; - - -ProgressEvent_obj::ProgressEvent_obj() -{ -} - -void ProgressEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ProgressEvent); - HX_MARK_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_MARK_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ProgressEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_VISIT_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ProgressEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"PROGRESS") ) { return PROGRESS; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"bytesTotal") ) { return bytesTotal; } - break; - case 11: - if (HX_FIELD_EQ(inName,"SOCKET_DATA") ) { return SOCKET_DATA; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { return bytesLoaded; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ProgressEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"PROGRESS") ) { PROGRESS=inValue.Cast< ::String >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"bytesTotal") ) { bytesTotal=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"SOCKET_DATA") ) { SOCKET_DATA=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { bytesLoaded=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ProgressEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("bytesTotal")); - outFields->push(HX_CSTRING("bytesLoaded")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("PROGRESS"), - HX_CSTRING("SOCKET_DATA"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("bytesTotal"), - HX_CSTRING("bytesLoaded"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ProgressEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ProgressEvent_obj::PROGRESS,"PROGRESS"); - HX_MARK_MEMBER_NAME(ProgressEvent_obj::SOCKET_DATA,"SOCKET_DATA"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ProgressEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ProgressEvent_obj::PROGRESS,"PROGRESS"); - HX_VISIT_MEMBER_NAME(ProgressEvent_obj::SOCKET_DATA,"SOCKET_DATA"); -}; - -Class ProgressEvent_obj::__mClass; - -void ProgressEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.events.ProgressEvent"), hx::TCanCast< ProgressEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ProgressEvent_obj::__boot() -{ - PROGRESS= HX_CSTRING("progress"); - SOCKET_DATA= HX_CSTRING("socketData"); -} - -} // end namespace native -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/SampleDataEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/SampleDataEvent.cpp deleted file mode 100644 index 180e01f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/SampleDataEvent.cpp +++ /dev/null @@ -1,175 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_SampleDataEvent -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace native{ -namespace events{ - -Void SampleDataEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable) -{ -HX_STACK_PUSH("SampleDataEvent::new","native/events/SampleDataEvent.hx",15); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -{ - HX_STACK_LINE(17) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(19) - this->data = ::native::utils::ByteArray_obj::__new(null()); - HX_STACK_LINE(20) - this->data->bigEndian = false; - HX_STACK_LINE(21) - this->position = 0.0; -} -; - return null(); -} - -SampleDataEvent_obj::~SampleDataEvent_obj() { } - -Dynamic SampleDataEvent_obj::__CreateEmpty() { return new SampleDataEvent_obj; } -hx::ObjectPtr< SampleDataEvent_obj > SampleDataEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable) -{ hx::ObjectPtr< SampleDataEvent_obj > result = new SampleDataEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable); - return result;} - -Dynamic SampleDataEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SampleDataEvent_obj > result = new SampleDataEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -::String SampleDataEvent_obj::toString( ){ - HX_STACK_PUSH("SampleDataEvent::toString","native/events/SampleDataEvent.hx",33); - HX_STACK_THIS(this); - HX_STACK_LINE(33) - return ((((((HX_CSTRING("[SampleDataEvent type=") + this->get_type()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->get_bubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->get_cancelable())) + HX_CSTRING("]")); -} - - -::native::events::Event SampleDataEvent_obj::clone( ){ - HX_STACK_PUSH("SampleDataEvent::clone","native/events/SampleDataEvent.hx",26); - HX_STACK_THIS(this); - HX_STACK_LINE(26) - return ::native::events::SampleDataEvent_obj::__new(this->get_type(),this->get_bubbles(),this->get_cancelable()); -} - - -::String SampleDataEvent_obj::SAMPLE_DATA; - - -SampleDataEvent_obj::SampleDataEvent_obj() -{ -} - -void SampleDataEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SampleDataEvent); - HX_MARK_MEMBER_NAME(position,"position"); - HX_MARK_MEMBER_NAME(data,"data"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void SampleDataEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(position,"position"); - HX_VISIT_MEMBER_NAME(data,"data"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic SampleDataEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"data") ) { return data; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"position") ) { return position; } - break; - case 11: - if (HX_FIELD_EQ(inName,"SAMPLE_DATA") ) { return SAMPLE_DATA; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SampleDataEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"data") ) { data=inValue.Cast< ::native::utils::ByteArray >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"position") ) { position=inValue.Cast< Float >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"SAMPLE_DATA") ) { SAMPLE_DATA=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SampleDataEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("position")); - outFields->push(HX_CSTRING("data")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("SAMPLE_DATA"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("position"), - HX_CSTRING("data"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SampleDataEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(SampleDataEvent_obj::SAMPLE_DATA,"SAMPLE_DATA"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SampleDataEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(SampleDataEvent_obj::SAMPLE_DATA,"SAMPLE_DATA"); -}; - -Class SampleDataEvent_obj::__mClass; - -void SampleDataEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.events.SampleDataEvent"), hx::TCanCast< SampleDataEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SampleDataEvent_obj::__boot() -{ - SAMPLE_DATA= HX_CSTRING("sampleData"); -} - -} // end namespace native -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/TextEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/TextEvent.cpp deleted file mode 100644 index fcfbb69..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/TextEvent.cpp +++ /dev/null @@ -1,160 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_TextEvent -#include -#endif -namespace native{ -namespace events{ - -Void TextEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text) -{ -HX_STACK_PUSH("TextEvent::new","native/events/TextEvent.hx",13); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -::String text = __o_text.Default(HX_CSTRING("")); -{ - HX_STACK_LINE(15) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(17) - this->text = text; -} -; - return null(); -} - -TextEvent_obj::~TextEvent_obj() { } - -Dynamic TextEvent_obj::__CreateEmpty() { return new TextEvent_obj; } -hx::ObjectPtr< TextEvent_obj > TextEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text) -{ hx::ObjectPtr< TextEvent_obj > result = new TextEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_text); - return result;} - -Dynamic TextEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TextEvent_obj > result = new TextEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -::String TextEvent_obj::toString( ){ - HX_STACK_PUSH("TextEvent::toString","native/events/TextEvent.hx",29); - HX_STACK_THIS(this); - HX_STACK_LINE(29) - return ((((((((HX_CSTRING("[TextEvent type=") + this->get_type()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->get_bubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->get_cancelable())) + HX_CSTRING(" text=")) + this->text) + HX_CSTRING("]")); -} - - -::native::events::Event TextEvent_obj::clone( ){ - HX_STACK_PUSH("TextEvent::clone","native/events/TextEvent.hx",22); - HX_STACK_THIS(this); - HX_STACK_LINE(22) - return ::native::events::TextEvent_obj::__new(this->get_type(),this->get_bubbles(),this->get_cancelable(),this->text); -} - - -::String TextEvent_obj::LINK; - -::String TextEvent_obj::TEXT_INPUT; - - -TextEvent_obj::TextEvent_obj() -{ -} - -void TextEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TextEvent); - HX_MARK_MEMBER_NAME(text,"text"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void TextEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(text,"text"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic TextEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"LINK") ) { return LINK; } - if (HX_FIELD_EQ(inName,"text") ) { return text; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"TEXT_INPUT") ) { return TEXT_INPUT; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TextEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"LINK") ) { LINK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"text") ) { text=inValue.Cast< ::String >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TEXT_INPUT") ) { TEXT_INPUT=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void TextEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("text")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("LINK"), - HX_CSTRING("TEXT_INPUT"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("text"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TextEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(TextEvent_obj::LINK,"LINK"); - HX_MARK_MEMBER_NAME(TextEvent_obj::TEXT_INPUT,"TEXT_INPUT"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TextEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(TextEvent_obj::LINK,"LINK"); - HX_VISIT_MEMBER_NAME(TextEvent_obj::TEXT_INPUT,"TEXT_INPUT"); -}; - -Class TextEvent_obj::__mClass; - -void TextEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.events.TextEvent"), hx::TCanCast< TextEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TextEvent_obj::__boot() -{ - LINK= HX_CSTRING("link"); - TEXT_INPUT= HX_CSTRING("textInput"); -} - -} // end namespace native -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/TouchEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/TouchEvent.cpp deleted file mode 100644 index 9221fb0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/events/TouchEvent.cpp +++ /dev/null @@ -1,313 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_MouseEvent -#include -#endif -#ifndef INCLUDED_native_events_TouchEvent -#include -#endif -#ifndef INCLUDED_native_geom_Point -#include -#endif -namespace native{ -namespace events{ - -Void TouchEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_in_localX,hx::Null< Float > __o_in_localY,hx::Null< Float > __o_in_sizeX,hx::Null< Float > __o_in_sizeY,::native::display::InteractiveObject in_relatedObject,hx::Null< bool > __o_in_ctrlKey,hx::Null< bool > __o_in_altKey,hx::Null< bool > __o_in_shiftKey,hx::Null< bool > __o_in_buttonDown,hx::Null< int > __o_in_delta,hx::Null< bool > __o_in_commandKey,hx::Null< int > __o_in_clickCount) -{ -HX_STACK_PUSH("TouchEvent::new","native/events/TouchEvent.hx",27); -bool bubbles = __o_bubbles.Default(true); -bool cancelable = __o_cancelable.Default(false); -Float in_localX = __o_in_localX.Default(0); -Float in_localY = __o_in_localY.Default(0); -Float in_sizeX = __o_in_sizeX.Default(1); -Float in_sizeY = __o_in_sizeY.Default(1); -bool in_ctrlKey = __o_in_ctrlKey.Default(false); -bool in_altKey = __o_in_altKey.Default(false); -bool in_shiftKey = __o_in_shiftKey.Default(false); -bool in_buttonDown = __o_in_buttonDown.Default(false); -int in_delta = __o_in_delta.Default(0); -bool in_commandKey = __o_in_commandKey.Default(false); -int in_clickCount = __o_in_clickCount.Default(0); -{ - HX_STACK_LINE(29) - super::__construct(type,bubbles,cancelable,in_localX,in_localY,in_relatedObject,in_ctrlKey,in_altKey,in_shiftKey,in_buttonDown,in_delta,in_commandKey,in_clickCount); - HX_STACK_LINE(31) - this->touchPointID = (int)0; - HX_STACK_LINE(32) - this->isPrimaryTouchPoint = true; - HX_STACK_LINE(33) - this->sizeX = in_sizeX; - HX_STACK_LINE(34) - this->sizeY = in_sizeY; -} -; - return null(); -} - -TouchEvent_obj::~TouchEvent_obj() { } - -Dynamic TouchEvent_obj::__CreateEmpty() { return new TouchEvent_obj; } -hx::ObjectPtr< TouchEvent_obj > TouchEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_in_localX,hx::Null< Float > __o_in_localY,hx::Null< Float > __o_in_sizeX,hx::Null< Float > __o_in_sizeY,::native::display::InteractiveObject in_relatedObject,hx::Null< bool > __o_in_ctrlKey,hx::Null< bool > __o_in_altKey,hx::Null< bool > __o_in_shiftKey,hx::Null< bool > __o_in_buttonDown,hx::Null< int > __o_in_delta,hx::Null< bool > __o_in_commandKey,hx::Null< int > __o_in_clickCount) -{ hx::ObjectPtr< TouchEvent_obj > result = new TouchEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_in_localX,__o_in_localY,__o_in_sizeX,__o_in_sizeY,in_relatedObject,__o_in_ctrlKey,__o_in_altKey,__o_in_shiftKey,__o_in_buttonDown,__o_in_delta,__o_in_commandKey,__o_in_clickCount); - return result;} - -Dynamic TouchEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TouchEvent_obj > result = new TouchEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7],inArgs[8],inArgs[9],inArgs[10],inArgs[11],inArgs[12],inArgs[13],inArgs[14]); - return result;} - -::native::events::MouseEvent TouchEvent_obj::nmeCreateSimilar( ::String inType,::native::display::InteractiveObject related,::native::display::InteractiveObject targ){ - HX_STACK_PUSH("TouchEvent::nmeCreateSimilar","native/events/TouchEvent.hx",51); - HX_STACK_THIS(this); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(related,"related"); - HX_STACK_ARG(targ,"targ"); - HX_STACK_LINE(53) - ::native::events::TouchEvent result = ::native::events::TouchEvent_obj::__new(inType,this->get_bubbles(),this->get_cancelable(),this->localX,this->localY,this->sizeX,this->sizeY,( (((related == null()))) ? ::native::display::InteractiveObject(this->relatedObject) : ::native::display::InteractiveObject(related) ),this->ctrlKey,this->altKey,this->shiftKey,this->buttonDown,this->delta,this->commandKey,this->clickCount); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(55) - result->touchPointID = this->touchPointID; - HX_STACK_LINE(56) - result->isPrimaryTouchPoint = this->isPrimaryTouchPoint; - HX_STACK_LINE(57) - if (((targ != null()))){ - HX_STACK_LINE(58) - result->set_target(targ); - } - HX_STACK_LINE(59) - return result; -} - - -::String TouchEvent_obj::TOUCH_BEGIN; - -::String TouchEvent_obj::TOUCH_END; - -::String TouchEvent_obj::TOUCH_MOVE; - -::String TouchEvent_obj::TOUCH_OUT; - -::String TouchEvent_obj::TOUCH_OVER; - -::String TouchEvent_obj::TOUCH_ROLL_OUT; - -::String TouchEvent_obj::TOUCH_ROLL_OVER; - -::String TouchEvent_obj::TOUCH_TAP; - -::native::events::TouchEvent TouchEvent_obj::nmeCreate( ::String inType,Dynamic inEvent,::native::geom::Point inLocal,::native::display::InteractiveObject inTarget,Float sizeX,Float sizeY){ - HX_STACK_PUSH("TouchEvent::nmeCreate","native/events/TouchEvent.hx",39); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inLocal,"inLocal"); - HX_STACK_ARG(inTarget,"inTarget"); - HX_STACK_ARG(sizeX,"sizeX"); - HX_STACK_ARG(sizeY,"sizeY"); - HX_STACK_LINE(41) - int flags = inEvent->__Field(HX_CSTRING("flags"),true); HX_STACK_VAR(flags,"flags"); - HX_STACK_LINE(42) - ::native::events::TouchEvent evt = ::native::events::TouchEvent_obj::__new(inType,true,false,inLocal->x,inLocal->y,sizeX,sizeY,null(),(((int(flags) & int(::native::events::MouseEvent_obj::efCtrlDown))) != (int)0),(((int(flags) & int(::native::events::MouseEvent_obj::efAltDown))) != (int)0),(((int(flags) & int(::native::events::MouseEvent_obj::efShiftDown))) != (int)0),(((int(flags) & int(::native::events::MouseEvent_obj::efLeftDown))) != (int)0),(int)0,null(),(int)0); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(43) - evt->stageX = inEvent->__Field(HX_CSTRING("x"),true); - HX_STACK_LINE(44) - evt->stageY = inEvent->__Field(HX_CSTRING("y"),true); - HX_STACK_LINE(45) - evt->set_target(inTarget); - HX_STACK_LINE(46) - return evt; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC6(TouchEvent_obj,nmeCreate,return ) - - -TouchEvent_obj::TouchEvent_obj() -{ -} - -void TouchEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TouchEvent); - HX_MARK_MEMBER_NAME(sizeY,"sizeY"); - HX_MARK_MEMBER_NAME(sizeX,"sizeX"); - HX_MARK_MEMBER_NAME(touchPointID,"touchPointID"); - HX_MARK_MEMBER_NAME(isPrimaryTouchPoint,"isPrimaryTouchPoint"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void TouchEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(sizeY,"sizeY"); - HX_VISIT_MEMBER_NAME(sizeX,"sizeX"); - HX_VISIT_MEMBER_NAME(touchPointID,"touchPointID"); - HX_VISIT_MEMBER_NAME(isPrimaryTouchPoint,"isPrimaryTouchPoint"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic TouchEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"sizeY") ) { return sizeY; } - if (HX_FIELD_EQ(inName,"sizeX") ) { return sizeX; } - break; - case 9: - if (HX_FIELD_EQ(inName,"TOUCH_END") ) { return TOUCH_END; } - if (HX_FIELD_EQ(inName,"TOUCH_OUT") ) { return TOUCH_OUT; } - if (HX_FIELD_EQ(inName,"TOUCH_TAP") ) { return TOUCH_TAP; } - if (HX_FIELD_EQ(inName,"nmeCreate") ) { return nmeCreate_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"TOUCH_MOVE") ) { return TOUCH_MOVE; } - if (HX_FIELD_EQ(inName,"TOUCH_OVER") ) { return TOUCH_OVER; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TOUCH_BEGIN") ) { return TOUCH_BEGIN; } - break; - case 12: - if (HX_FIELD_EQ(inName,"touchPointID") ) { return touchPointID; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TOUCH_ROLL_OUT") ) { return TOUCH_ROLL_OUT; } - break; - case 15: - if (HX_FIELD_EQ(inName,"TOUCH_ROLL_OVER") ) { return TOUCH_ROLL_OVER; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeCreateSimilar") ) { return nmeCreateSimilar_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"isPrimaryTouchPoint") ) { return isPrimaryTouchPoint; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TouchEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"sizeY") ) { sizeY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"sizeX") ) { sizeX=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"TOUCH_END") ) { TOUCH_END=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TOUCH_OUT") ) { TOUCH_OUT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TOUCH_TAP") ) { TOUCH_TAP=inValue.Cast< ::String >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TOUCH_MOVE") ) { TOUCH_MOVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TOUCH_OVER") ) { TOUCH_OVER=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TOUCH_BEGIN") ) { TOUCH_BEGIN=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"touchPointID") ) { touchPointID=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TOUCH_ROLL_OUT") ) { TOUCH_ROLL_OUT=inValue.Cast< ::String >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"TOUCH_ROLL_OVER") ) { TOUCH_ROLL_OVER=inValue.Cast< ::String >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"isPrimaryTouchPoint") ) { isPrimaryTouchPoint=inValue.Cast< bool >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void TouchEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("sizeY")); - outFields->push(HX_CSTRING("sizeX")); - outFields->push(HX_CSTRING("touchPointID")); - outFields->push(HX_CSTRING("isPrimaryTouchPoint")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("TOUCH_BEGIN"), - HX_CSTRING("TOUCH_END"), - HX_CSTRING("TOUCH_MOVE"), - HX_CSTRING("TOUCH_OUT"), - HX_CSTRING("TOUCH_OVER"), - HX_CSTRING("TOUCH_ROLL_OUT"), - HX_CSTRING("TOUCH_ROLL_OVER"), - HX_CSTRING("TOUCH_TAP"), - HX_CSTRING("nmeCreate"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeCreateSimilar"), - HX_CSTRING("sizeY"), - HX_CSTRING("sizeX"), - HX_CSTRING("touchPointID"), - HX_CSTRING("isPrimaryTouchPoint"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TouchEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_BEGIN,"TOUCH_BEGIN"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_END,"TOUCH_END"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_MOVE,"TOUCH_MOVE"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_OUT,"TOUCH_OUT"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_OVER,"TOUCH_OVER"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_ROLL_OUT,"TOUCH_ROLL_OUT"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_ROLL_OVER,"TOUCH_ROLL_OVER"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_TAP,"TOUCH_TAP"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TouchEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_BEGIN,"TOUCH_BEGIN"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_END,"TOUCH_END"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_MOVE,"TOUCH_MOVE"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_OUT,"TOUCH_OUT"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_OVER,"TOUCH_OVER"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_ROLL_OUT,"TOUCH_ROLL_OUT"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_ROLL_OVER,"TOUCH_ROLL_OVER"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_TAP,"TOUCH_TAP"); -}; - -Class TouchEvent_obj::__mClass; - -void TouchEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.events.TouchEvent"), hx::TCanCast< TouchEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TouchEvent_obj::__boot() -{ - TOUCH_BEGIN= HX_CSTRING("touchBegin"); - TOUCH_END= HX_CSTRING("touchEnd"); - TOUCH_MOVE= HX_CSTRING("touchMove"); - TOUCH_OUT= HX_CSTRING("touchOut"); - TOUCH_OVER= HX_CSTRING("touchOver"); - TOUCH_ROLL_OUT= HX_CSTRING("touchRollOut"); - TOUCH_ROLL_OVER= HX_CSTRING("touchRollOver"); - TOUCH_TAP= HX_CSTRING("touchTap"); -} - -} // end namespace native -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/filters/BitmapFilter.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/filters/BitmapFilter.cpp deleted file mode 100644 index f60a807..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/filters/BitmapFilter.cpp +++ /dev/null @@ -1,119 +0,0 @@ -#include - -#ifndef INCLUDED_native_filters_BitmapFilter -#include -#endif -namespace native{ -namespace filters{ - -Void BitmapFilter_obj::__construct(::String inType) -{ -HX_STACK_PUSH("BitmapFilter::new","native/filters/BitmapFilter.hx",10); -{ - HX_STACK_LINE(10) - this->type = inType; -} -; - return null(); -} - -BitmapFilter_obj::~BitmapFilter_obj() { } - -Dynamic BitmapFilter_obj::__CreateEmpty() { return new BitmapFilter_obj; } -hx::ObjectPtr< BitmapFilter_obj > BitmapFilter_obj::__new(::String inType) -{ hx::ObjectPtr< BitmapFilter_obj > result = new BitmapFilter_obj(); - result->__construct(inType); - return result;} - -Dynamic BitmapFilter_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BitmapFilter_obj > result = new BitmapFilter_obj(); - result->__construct(inArgs[0]); - return result;} - -::native::filters::BitmapFilter BitmapFilter_obj::clone( ){ - HX_STACK_PUSH("BitmapFilter::clone","native/filters/BitmapFilter.hx",17); - HX_STACK_THIS(this); - HX_STACK_LINE(19) - hx::Throw (HX_CSTRING("clone not implemented")); - HX_STACK_LINE(20) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapFilter_obj,clone,return ) - - -BitmapFilter_obj::BitmapFilter_obj() -{ -} - -void BitmapFilter_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BitmapFilter); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_END_CLASS(); -} - -void BitmapFilter_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(type,"type"); -} - -Dynamic BitmapFilter_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { return type; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BitmapFilter_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BitmapFilter_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("type")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("clone"), - HX_CSTRING("type"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BitmapFilter_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BitmapFilter_obj::__mClass,"__mClass"); -}; - -Class BitmapFilter_obj::__mClass; - -void BitmapFilter_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.filters.BitmapFilter"), hx::TCanCast< BitmapFilter_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BitmapFilter_obj::__boot() -{ -} - -} // end namespace native -} // end namespace filters diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/ColorTransform.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/ColorTransform.cpp deleted file mode 100644 index 8de6e82..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/ColorTransform.cpp +++ /dev/null @@ -1,261 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_native_geom_ColorTransform -#include -#endif -namespace native{ -namespace geom{ - -Void ColorTransform_obj::__construct(hx::Null< Float > __o_inRedMultiplier,hx::Null< Float > __o_inGreenMultiplier,hx::Null< Float > __o_inBlueMultiplier,hx::Null< Float > __o_inAlphaMultiplier,hx::Null< Float > __o_inRedOffset,hx::Null< Float > __o_inGreenOffset,hx::Null< Float > __o_inBlueOffset,hx::Null< Float > __o_inAlphaOffset) -{ -HX_STACK_PUSH("ColorTransform::new","native/geom/ColorTransform.hx",18); -Float inRedMultiplier = __o_inRedMultiplier.Default(1.0); -Float inGreenMultiplier = __o_inGreenMultiplier.Default(1.0); -Float inBlueMultiplier = __o_inBlueMultiplier.Default(1.0); -Float inAlphaMultiplier = __o_inAlphaMultiplier.Default(1.0); -Float inRedOffset = __o_inRedOffset.Default(0.0); -Float inGreenOffset = __o_inGreenOffset.Default(0.0); -Float inBlueOffset = __o_inBlueOffset.Default(0.0); -Float inAlphaOffset = __o_inAlphaOffset.Default(0.0); -{ - HX_STACK_LINE(20) - this->redMultiplier = inRedMultiplier; - HX_STACK_LINE(21) - this->greenMultiplier = inGreenMultiplier; - HX_STACK_LINE(22) - this->blueMultiplier = inBlueMultiplier; - HX_STACK_LINE(23) - this->alphaMultiplier = inAlphaMultiplier; - HX_STACK_LINE(24) - this->redOffset = inRedOffset; - HX_STACK_LINE(25) - this->greenOffset = inGreenOffset; - HX_STACK_LINE(26) - this->blueOffset = inBlueOffset; - HX_STACK_LINE(27) - this->alphaOffset = inAlphaOffset; -} -; - return null(); -} - -ColorTransform_obj::~ColorTransform_obj() { } - -Dynamic ColorTransform_obj::__CreateEmpty() { return new ColorTransform_obj; } -hx::ObjectPtr< ColorTransform_obj > ColorTransform_obj::__new(hx::Null< Float > __o_inRedMultiplier,hx::Null< Float > __o_inGreenMultiplier,hx::Null< Float > __o_inBlueMultiplier,hx::Null< Float > __o_inAlphaMultiplier,hx::Null< Float > __o_inRedOffset,hx::Null< Float > __o_inGreenOffset,hx::Null< Float > __o_inBlueOffset,hx::Null< Float > __o_inAlphaOffset) -{ hx::ObjectPtr< ColorTransform_obj > result = new ColorTransform_obj(); - result->__construct(__o_inRedMultiplier,__o_inGreenMultiplier,__o_inBlueMultiplier,__o_inAlphaMultiplier,__o_inRedOffset,__o_inGreenOffset,__o_inBlueOffset,__o_inAlphaOffset); - return result;} - -Dynamic ColorTransform_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ColorTransform_obj > result = new ColorTransform_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7]); - return result;} - -int ColorTransform_obj::set_color( int value){ - HX_STACK_PUSH("ColorTransform::set_color","native/geom/ColorTransform.hx",56); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(58) - this->redOffset = (int((int(value) >> int((int)16))) & int((int)255)); - HX_STACK_LINE(59) - this->greenOffset = (int((int(value) >> int((int)8))) & int((int)255)); - HX_STACK_LINE(60) - this->blueOffset = (int(value) & int((int)255)); - HX_STACK_LINE(62) - this->redMultiplier = (int)0; - HX_STACK_LINE(63) - this->greenMultiplier = (int)0; - HX_STACK_LINE(64) - this->blueMultiplier = (int)0; - HX_STACK_LINE(66) - return this->get_color(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ColorTransform_obj,set_color,return ) - -int ColorTransform_obj::get_color( ){ - HX_STACK_PUSH("ColorTransform::get_color","native/geom/ColorTransform.hx",49); - HX_STACK_THIS(this); - HX_STACK_LINE(49) - return (int((int((int(::Std_obj::_int(this->redOffset)) << int((int)16))) | int((int(::Std_obj::_int(this->greenOffset)) << int((int)8))))) | int(::Std_obj::_int(this->blueOffset))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ColorTransform_obj,get_color,return ) - -Void ColorTransform_obj::concat( ::native::geom::ColorTransform second){ -{ - HX_STACK_PUSH("ColorTransform::concat","native/geom/ColorTransform.hx",32); - HX_STACK_THIS(this); - HX_STACK_ARG(second,"second"); - HX_STACK_LINE(34) - hx::AddEq(this->redMultiplier,second->redMultiplier); - HX_STACK_LINE(35) - hx::AddEq(this->greenMultiplier,second->greenMultiplier); - HX_STACK_LINE(36) - hx::AddEq(this->blueMultiplier,second->blueMultiplier); - HX_STACK_LINE(37) - hx::AddEq(this->alphaMultiplier,second->alphaMultiplier); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ColorTransform_obj,concat,(void)) - - -ColorTransform_obj::ColorTransform_obj() -{ -} - -void ColorTransform_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ColorTransform); - HX_MARK_MEMBER_NAME(redOffset,"redOffset"); - HX_MARK_MEMBER_NAME(redMultiplier,"redMultiplier"); - HX_MARK_MEMBER_NAME(greenOffset,"greenOffset"); - HX_MARK_MEMBER_NAME(greenMultiplier,"greenMultiplier"); - HX_MARK_MEMBER_NAME(color,"color"); - HX_MARK_MEMBER_NAME(blueOffset,"blueOffset"); - HX_MARK_MEMBER_NAME(blueMultiplier,"blueMultiplier"); - HX_MARK_MEMBER_NAME(alphaOffset,"alphaOffset"); - HX_MARK_MEMBER_NAME(alphaMultiplier,"alphaMultiplier"); - HX_MARK_END_CLASS(); -} - -void ColorTransform_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(redOffset,"redOffset"); - HX_VISIT_MEMBER_NAME(redMultiplier,"redMultiplier"); - HX_VISIT_MEMBER_NAME(greenOffset,"greenOffset"); - HX_VISIT_MEMBER_NAME(greenMultiplier,"greenMultiplier"); - HX_VISIT_MEMBER_NAME(color,"color"); - HX_VISIT_MEMBER_NAME(blueOffset,"blueOffset"); - HX_VISIT_MEMBER_NAME(blueMultiplier,"blueMultiplier"); - HX_VISIT_MEMBER_NAME(alphaOffset,"alphaOffset"); - HX_VISIT_MEMBER_NAME(alphaMultiplier,"alphaMultiplier"); -} - -Dynamic ColorTransform_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"color") ) { return inCallProp ? get_color() : color; } - break; - case 6: - if (HX_FIELD_EQ(inName,"concat") ) { return concat_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"set_color") ) { return set_color_dyn(); } - if (HX_FIELD_EQ(inName,"get_color") ) { return get_color_dyn(); } - if (HX_FIELD_EQ(inName,"redOffset") ) { return redOffset; } - break; - case 10: - if (HX_FIELD_EQ(inName,"blueOffset") ) { return blueOffset; } - break; - case 11: - if (HX_FIELD_EQ(inName,"greenOffset") ) { return greenOffset; } - if (HX_FIELD_EQ(inName,"alphaOffset") ) { return alphaOffset; } - break; - case 13: - if (HX_FIELD_EQ(inName,"redMultiplier") ) { return redMultiplier; } - break; - case 14: - if (HX_FIELD_EQ(inName,"blueMultiplier") ) { return blueMultiplier; } - break; - case 15: - if (HX_FIELD_EQ(inName,"greenMultiplier") ) { return greenMultiplier; } - if (HX_FIELD_EQ(inName,"alphaMultiplier") ) { return alphaMultiplier; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ColorTransform_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"color") ) { if (inCallProp) return set_color(inValue);color=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"redOffset") ) { redOffset=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"blueOffset") ) { blueOffset=inValue.Cast< Float >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"greenOffset") ) { greenOffset=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"alphaOffset") ) { alphaOffset=inValue.Cast< Float >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"redMultiplier") ) { redMultiplier=inValue.Cast< Float >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"blueMultiplier") ) { blueMultiplier=inValue.Cast< Float >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"greenMultiplier") ) { greenMultiplier=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"alphaMultiplier") ) { alphaMultiplier=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ColorTransform_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("redOffset")); - outFields->push(HX_CSTRING("redMultiplier")); - outFields->push(HX_CSTRING("greenOffset")); - outFields->push(HX_CSTRING("greenMultiplier")); - outFields->push(HX_CSTRING("color")); - outFields->push(HX_CSTRING("blueOffset")); - outFields->push(HX_CSTRING("blueMultiplier")); - outFields->push(HX_CSTRING("alphaOffset")); - outFields->push(HX_CSTRING("alphaMultiplier")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("set_color"), - HX_CSTRING("get_color"), - HX_CSTRING("concat"), - HX_CSTRING("redOffset"), - HX_CSTRING("redMultiplier"), - HX_CSTRING("greenOffset"), - HX_CSTRING("greenMultiplier"), - HX_CSTRING("color"), - HX_CSTRING("blueOffset"), - HX_CSTRING("blueMultiplier"), - HX_CSTRING("alphaOffset"), - HX_CSTRING("alphaMultiplier"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ColorTransform_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ColorTransform_obj::__mClass,"__mClass"); -}; - -Class ColorTransform_obj::__mClass; - -void ColorTransform_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.geom.ColorTransform"), hx::TCanCast< ColorTransform_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ColorTransform_obj::__boot() -{ -} - -} // end namespace native -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/Matrix.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/Matrix.cpp deleted file mode 100644 index 1f03024..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/Matrix.cpp +++ /dev/null @@ -1,561 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -#ifndef INCLUDED_native_geom_Point -#include -#endif -namespace native{ -namespace geom{ - -Void Matrix_obj::__construct(Dynamic in_a,Dynamic in_b,Dynamic in_c,Dynamic in_d,Dynamic in_tx,Dynamic in_ty) -{ -HX_STACK_PUSH("Matrix::new","native/geom/Matrix.hx",21); -{ - HX_STACK_LINE(23) - this->a = ( (((in_a == null()))) ? Dynamic(1.0) : Dynamic(in_a) ); - HX_STACK_LINE(24) - this->b = ( (((in_b == null()))) ? Dynamic(0.0) : Dynamic(in_b) ); - HX_STACK_LINE(25) - this->c = ( (((in_c == null()))) ? Dynamic(0.0) : Dynamic(in_c) ); - HX_STACK_LINE(26) - this->d = ( (((in_d == null()))) ? Dynamic(1.0) : Dynamic(in_d) ); - HX_STACK_LINE(27) - this->tx = ( (((in_tx == null()))) ? Dynamic(0.0) : Dynamic(in_tx) ); - HX_STACK_LINE(28) - this->ty = ( (((in_ty == null()))) ? Dynamic(0.0) : Dynamic(in_ty) ); -} -; - return null(); -} - -Matrix_obj::~Matrix_obj() { } - -Dynamic Matrix_obj::__CreateEmpty() { return new Matrix_obj; } -hx::ObjectPtr< Matrix_obj > Matrix_obj::__new(Dynamic in_a,Dynamic in_b,Dynamic in_c,Dynamic in_d,Dynamic in_tx,Dynamic in_ty) -{ hx::ObjectPtr< Matrix_obj > result = new Matrix_obj(); - result->__construct(in_a,in_b,in_c,in_d,in_tx,in_ty); - return result;} - -Dynamic Matrix_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Matrix_obj > result = new Matrix_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5]); - return result;} - -Void Matrix_obj::translate( Float inDX,Float inDY){ -{ - HX_STACK_PUSH("Matrix::translate","native/geom/Matrix.hx",247); - HX_STACK_THIS(this); - HX_STACK_ARG(inDX,"inDX"); - HX_STACK_ARG(inDY,"inDY"); - HX_STACK_LINE(249) - hx::AddEq(this->tx,inDX); - HX_STACK_LINE(250) - hx::AddEq(this->ty,inDY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Matrix_obj,translate,(void)) - -::native::geom::Point Matrix_obj::transformPoint( ::native::geom::Point inPos){ - HX_STACK_PUSH("Matrix::transformPoint","native/geom/Matrix.hx",240); - HX_STACK_THIS(this); - HX_STACK_ARG(inPos,"inPos"); - HX_STACK_LINE(240) - return ::native::geom::Point_obj::__new((((inPos->x * this->a) + (inPos->y * this->c)) + this->tx),(((inPos->x * this->b) + (inPos->y * this->d)) + this->ty)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,transformPoint,return ) - -Void Matrix_obj::setRotation( Float inTheta,Dynamic inScale){ -{ - HX_STACK_PUSH("Matrix::setRotation","native/geom/Matrix.hx",229); - HX_STACK_THIS(this); - HX_STACK_ARG(inTheta,"inTheta"); - HX_STACK_ARG(inScale,"inScale"); - HX_STACK_LINE(231) - Float scale = ( (((inScale == null()))) ? Dynamic(1.0) : Dynamic(inScale) ); HX_STACK_VAR(scale,"scale"); - HX_STACK_LINE(232) - this->a = (::Math_obj::cos(inTheta) * scale); - HX_STACK_LINE(233) - this->c = (::Math_obj::sin(inTheta) * scale); - HX_STACK_LINE(234) - this->b = -(this->c); - HX_STACK_LINE(235) - this->d = this->a; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Matrix_obj,setRotation,(void)) - -Void Matrix_obj::scale( Float inSX,Float inSY){ -{ - HX_STACK_PUSH("Matrix::scale","native/geom/Matrix.hx",215); - HX_STACK_THIS(this); - HX_STACK_ARG(inSX,"inSX"); - HX_STACK_ARG(inSY,"inSY"); - HX_STACK_LINE(217) - hx::MultEq(this->a,inSX); - HX_STACK_LINE(218) - hx::MultEq(this->b,inSY); - HX_STACK_LINE(220) - hx::MultEq(this->c,inSX); - HX_STACK_LINE(221) - hx::MultEq(this->d,inSY); - HX_STACK_LINE(223) - hx::MultEq(this->tx,inSX); - HX_STACK_LINE(224) - hx::MultEq(this->ty,inSY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Matrix_obj,scale,(void)) - -Void Matrix_obj::rotate( Float inTheta){ -{ - HX_STACK_PUSH("Matrix::rotate","native/geom/Matrix.hx",188); - HX_STACK_THIS(this); - HX_STACK_ARG(inTheta,"inTheta"); - HX_STACK_LINE(190) - Float cos = ::Math_obj::cos(inTheta); HX_STACK_VAR(cos,"cos"); - HX_STACK_LINE(191) - Float sin = ::Math_obj::sin(inTheta); HX_STACK_VAR(sin,"sin"); - HX_STACK_LINE(193) - Float a1 = ((this->a * cos) - (this->b * sin)); HX_STACK_VAR(a1,"a1"); - HX_STACK_LINE(194) - this->b = ((this->a * sin) + (this->b * cos)); - HX_STACK_LINE(195) - this->a = a1; - HX_STACK_LINE(197) - Float c1 = ((this->c * cos) - (this->d * sin)); HX_STACK_VAR(c1,"c1"); - HX_STACK_LINE(198) - this->d = ((this->c * sin) + (this->d * cos)); - HX_STACK_LINE(199) - this->c = c1; - HX_STACK_LINE(201) - Float tx1 = ((this->tx * cos) - (this->ty * sin)); HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(202) - this->ty = ((this->tx * sin) + (this->ty * cos)); - HX_STACK_LINE(203) - this->tx = tx1; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,rotate,(void)) - -::native::geom::Matrix Matrix_obj::mult( ::native::geom::Matrix m){ - HX_STACK_PUSH("Matrix::mult","native/geom/Matrix.hx",159); - HX_STACK_THIS(this); - HX_STACK_ARG(m,"m"); - HX_STACK_LINE(161) - ::native::geom::Matrix result = ::native::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(163) - result->a = ((this->a * m->a) + (this->b * m->c)); - HX_STACK_LINE(164) - result->b = ((this->a * m->b) + (this->b * m->d)); - HX_STACK_LINE(165) - result->c = ((this->c * m->a) + (this->d * m->c)); - HX_STACK_LINE(166) - result->d = ((this->c * m->b) + (this->d * m->d)); - HX_STACK_LINE(168) - result->tx = (((this->tx * m->a) + (this->ty * m->c)) + m->tx); - HX_STACK_LINE(169) - result->ty = (((this->tx * m->b) + (this->ty * m->d)) + m->ty); - HX_STACK_LINE(171) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,mult,return ) - -::native::geom::Matrix Matrix_obj::invert( ){ - HX_STACK_PUSH("Matrix::invert","native/geom/Matrix.hx",129); - HX_STACK_THIS(this); - HX_STACK_LINE(131) - Float norm = ((this->a * this->d) - (this->b * this->c)); HX_STACK_VAR(norm,"norm"); - HX_STACK_LINE(133) - if (((norm == (int)0))){ - HX_STACK_LINE(135) - this->a = this->b = this->c = this->d = (int)0; - HX_STACK_LINE(136) - this->tx = -(this->tx); - HX_STACK_LINE(137) - this->ty = -(this->ty); - } - else{ - HX_STACK_LINE(141) - norm = (Float(1.0) / Float(norm)); - HX_STACK_LINE(142) - Float a1 = (this->d * norm); HX_STACK_VAR(a1,"a1"); - HX_STACK_LINE(143) - this->d = (this->a * norm); - HX_STACK_LINE(144) - this->a = a1; - HX_STACK_LINE(145) - hx::MultEq(this->b,-(norm)); - HX_STACK_LINE(146) - hx::MultEq(this->c,-(norm)); - HX_STACK_LINE(148) - Float tx1 = ((-(this->a) * this->tx) - (this->c * this->ty)); HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(149) - this->ty = ((-(this->b) * this->tx) - (this->d * this->ty)); - HX_STACK_LINE(150) - this->tx = tx1; - } - HX_STACK_LINE(154) - return hx::ObjectPtr(this); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix_obj,invert,return ) - -Void Matrix_obj::identity( ){ -{ - HX_STACK_PUSH("Matrix::identity","native/geom/Matrix.hx",117); - HX_STACK_THIS(this); - HX_STACK_LINE(119) - this->a = (int)1; - HX_STACK_LINE(120) - this->b = (int)0; - HX_STACK_LINE(121) - this->c = (int)0; - HX_STACK_LINE(122) - this->d = (int)1; - HX_STACK_LINE(123) - this->tx = (int)0; - HX_STACK_LINE(124) - this->ty = (int)0; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix_obj,identity,(void)) - -::native::geom::Point Matrix_obj::deltaTransformPoint( ::native::geom::Point point){ - HX_STACK_PUSH("Matrix::deltaTransformPoint","native/geom/Matrix.hx",110); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(110) - return ::native::geom::Point_obj::__new(((point->x * this->a) + (point->y * this->c)),((point->x * this->b) + (point->y * this->d))); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,deltaTransformPoint,return ) - -Void Matrix_obj::createGradientBox( Float in_width,Float in_height,Dynamic rotation,Dynamic in_tx,Dynamic in_ty){ -{ - HX_STACK_PUSH("Matrix::createGradientBox","native/geom/Matrix.hx",83); - HX_STACK_THIS(this); - HX_STACK_ARG(in_width,"in_width"); - HX_STACK_ARG(in_height,"in_height"); - HX_STACK_ARG(rotation,"rotation"); - HX_STACK_ARG(in_tx,"in_tx"); - HX_STACK_ARG(in_ty,"in_ty"); - HX_STACK_LINE(85) - this->a = (Float(in_width) / Float(1638.4)); - HX_STACK_LINE(86) - this->d = (Float(in_height) / Float(1638.4)); - HX_STACK_LINE(89) - if (((bool((rotation != null())) && bool((rotation != 0.0))))){ - HX_STACK_LINE(91) - Float cos = ::Math_obj::cos(rotation); HX_STACK_VAR(cos,"cos"); - HX_STACK_LINE(92) - Float sin = ::Math_obj::sin(rotation); HX_STACK_VAR(sin,"sin"); - HX_STACK_LINE(93) - this->b = (sin * this->d); - HX_STACK_LINE(94) - this->c = (-(sin) * this->a); - HX_STACK_LINE(95) - hx::MultEq(this->a,cos); - HX_STACK_LINE(96) - hx::MultEq(this->d,cos); - } - else{ - HX_STACK_LINE(98) - this->b = this->c = (int)0; - } - HX_STACK_LINE(104) - this->tx = ( (((in_tx != null()))) ? Float((in_tx + (Float(in_width) / Float((int)2)))) : Float((Float(in_width) / Float((int)2))) ); - HX_STACK_LINE(105) - this->ty = ( (((in_ty != null()))) ? Float((in_ty + (Float(in_height) / Float((int)2)))) : Float((Float(in_height) / Float((int)2))) ); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(Matrix_obj,createGradientBox,(void)) - -Void Matrix_obj::createBox( Float scaleX,Float scaleY,Dynamic rotation,Dynamic tx,Dynamic ty){ -{ - HX_STACK_PUSH("Matrix::createBox","native/geom/Matrix.hx",72); - HX_STACK_THIS(this); - HX_STACK_ARG(scaleX,"scaleX"); - HX_STACK_ARG(scaleY,"scaleY"); - HX_STACK_ARG(rotation,"rotation"); - HX_STACK_ARG(tx,"tx"); - HX_STACK_ARG(ty,"ty"); - HX_STACK_LINE(74) - this->a = scaleX; - HX_STACK_LINE(75) - this->d = scaleY; - HX_STACK_LINE(76) - this->b = ( (((rotation == null()))) ? Dynamic(0.0) : Dynamic(rotation) ); - HX_STACK_LINE(77) - this->tx = ( (((tx == null()))) ? Dynamic(0.0) : Dynamic(tx) ); - HX_STACK_LINE(78) - this->ty = ( (((ty == null()))) ? Dynamic(0.0) : Dynamic(ty) ); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(Matrix_obj,createBox,(void)) - -Void Matrix_obj::concat( ::native::geom::Matrix m){ -{ - HX_STACK_PUSH("Matrix::concat","native/geom/Matrix.hx",54); - HX_STACK_THIS(this); - HX_STACK_ARG(m,"m"); - HX_STACK_LINE(56) - Float a1 = ((this->a * m->a) + (this->b * m->c)); HX_STACK_VAR(a1,"a1"); - HX_STACK_LINE(57) - this->b = ((this->a * m->b) + (this->b * m->d)); - HX_STACK_LINE(58) - this->a = a1; - HX_STACK_LINE(60) - Float c1 = ((this->c * m->a) + (this->d * m->c)); HX_STACK_VAR(c1,"c1"); - HX_STACK_LINE(61) - this->d = ((this->c * m->b) + (this->d * m->d)); - HX_STACK_LINE(63) - this->c = c1; - HX_STACK_LINE(65) - Float tx1 = (((this->tx * m->a) + (this->ty * m->c)) + m->tx); HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(66) - this->ty = (((this->tx * m->b) + (this->ty * m->d)) + m->ty); - HX_STACK_LINE(67) - this->tx = tx1; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,concat,(void)) - -::native::geom::Matrix Matrix_obj::clone( ){ - HX_STACK_PUSH("Matrix::clone","native/geom/Matrix.hx",33); - HX_STACK_THIS(this); - HX_STACK_LINE(33) - return ::native::geom::Matrix_obj::__new(this->a,this->b,this->c,this->d,this->tx,this->ty); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix_obj,clone,return ) - - -Matrix_obj::Matrix_obj() -{ -} - -void Matrix_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Matrix); - HX_MARK_MEMBER_NAME(ty,"ty"); - HX_MARK_MEMBER_NAME(tx,"tx"); - HX_MARK_MEMBER_NAME(d,"d"); - HX_MARK_MEMBER_NAME(c,"c"); - HX_MARK_MEMBER_NAME(b,"b"); - HX_MARK_MEMBER_NAME(a,"a"); - HX_MARK_END_CLASS(); -} - -void Matrix_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(ty,"ty"); - HX_VISIT_MEMBER_NAME(tx,"tx"); - HX_VISIT_MEMBER_NAME(d,"d"); - HX_VISIT_MEMBER_NAME(c,"c"); - HX_VISIT_MEMBER_NAME(b,"b"); - HX_VISIT_MEMBER_NAME(a,"a"); -} - -Dynamic Matrix_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"d") ) { return d; } - if (HX_FIELD_EQ(inName,"c") ) { return c; } - if (HX_FIELD_EQ(inName,"b") ) { return b; } - if (HX_FIELD_EQ(inName,"a") ) { return a; } - break; - case 2: - if (HX_FIELD_EQ(inName,"ty") ) { return ty; } - if (HX_FIELD_EQ(inName,"tx") ) { return tx; } - break; - case 4: - if (HX_FIELD_EQ(inName,"mult") ) { return mult_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"scale") ) { return scale_dyn(); } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"rotate") ) { return rotate_dyn(); } - if (HX_FIELD_EQ(inName,"invert") ) { return invert_dyn(); } - if (HX_FIELD_EQ(inName,"concat") ) { return concat_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"identity") ) { return identity_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"translate") ) { return translate_dyn(); } - if (HX_FIELD_EQ(inName,"createBox") ) { return createBox_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"setRotation") ) { return setRotation_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"transformPoint") ) { return transformPoint_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"createGradientBox") ) { return createGradientBox_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"deltaTransformPoint") ) { return deltaTransformPoint_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -static int __id_translate = __hxcpp_field_to_id("translate"); -static int __id_transformPoint = __hxcpp_field_to_id("transformPoint"); -static int __id_setRotation = __hxcpp_field_to_id("setRotation"); -static int __id_scale = __hxcpp_field_to_id("scale"); -static int __id_rotate = __hxcpp_field_to_id("rotate"); -static int __id_mult = __hxcpp_field_to_id("mult"); -static int __id_invert = __hxcpp_field_to_id("invert"); -static int __id_identity = __hxcpp_field_to_id("identity"); -static int __id_deltaTransformPoint = __hxcpp_field_to_id("deltaTransformPoint"); -static int __id_createGradientBox = __hxcpp_field_to_id("createGradientBox"); -static int __id_createBox = __hxcpp_field_to_id("createBox"); -static int __id_concat = __hxcpp_field_to_id("concat"); -static int __id_clone = __hxcpp_field_to_id("clone"); -static int __id_ty = __hxcpp_field_to_id("ty"); -static int __id_tx = __hxcpp_field_to_id("tx"); -static int __id_d = __hxcpp_field_to_id("d"); -static int __id_c = __hxcpp_field_to_id("c"); -static int __id_b = __hxcpp_field_to_id("b"); -static int __id_a = __hxcpp_field_to_id("a"); - - -double Matrix_obj::__INumField(int inFieldID) -{ - if (inFieldID==__id_translate) return translate_dyn(); - if (inFieldID==__id_transformPoint) return transformPoint_dyn(); - if (inFieldID==__id_setRotation) return setRotation_dyn(); - if (inFieldID==__id_scale) return scale_dyn(); - if (inFieldID==__id_rotate) return rotate_dyn(); - if (inFieldID==__id_mult) return mult_dyn(); - if (inFieldID==__id_invert) return invert_dyn(); - if (inFieldID==__id_identity) return identity_dyn(); - if (inFieldID==__id_deltaTransformPoint) return deltaTransformPoint_dyn(); - if (inFieldID==__id_createGradientBox) return createGradientBox_dyn(); - if (inFieldID==__id_createBox) return createBox_dyn(); - if (inFieldID==__id_concat) return concat_dyn(); - if (inFieldID==__id_clone) return clone_dyn(); - if (inFieldID==__id_ty) return ty; - if (inFieldID==__id_tx) return tx; - if (inFieldID==__id_d) return d; - if (inFieldID==__id_c) return c; - if (inFieldID==__id_b) return b; - if (inFieldID==__id_a) return a; - return super::__INumField(inFieldID); -} - -Dynamic Matrix_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"d") ) { d=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"c") ) { c=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"b") ) { b=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"a") ) { a=inValue.Cast< Float >(); return inValue; } - break; - case 2: - if (HX_FIELD_EQ(inName,"ty") ) { ty=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"tx") ) { tx=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Matrix_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("ty")); - outFields->push(HX_CSTRING("tx")); - outFields->push(HX_CSTRING("d")); - outFields->push(HX_CSTRING("c")); - outFields->push(HX_CSTRING("b")); - outFields->push(HX_CSTRING("a")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("translate"), - HX_CSTRING("transformPoint"), - HX_CSTRING("setRotation"), - HX_CSTRING("scale"), - HX_CSTRING("rotate"), - HX_CSTRING("mult"), - HX_CSTRING("invert"), - HX_CSTRING("identity"), - HX_CSTRING("deltaTransformPoint"), - HX_CSTRING("createGradientBox"), - HX_CSTRING("createBox"), - HX_CSTRING("concat"), - HX_CSTRING("clone"), - HX_CSTRING("ty"), - HX_CSTRING("tx"), - HX_CSTRING("d"), - HX_CSTRING("c"), - HX_CSTRING("b"), - HX_CSTRING("a"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Matrix_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Matrix_obj::__mClass,"__mClass"); -}; - -Class Matrix_obj::__mClass; - -void Matrix_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.geom.Matrix"), hx::TCanCast< Matrix_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Matrix_obj::__boot() -{ -} - -} // end namespace native -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/Matrix3D.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/Matrix3D.cpp deleted file mode 100644 index efbf865..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/Matrix3D.cpp +++ /dev/null @@ -1,1408 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_native_geom_Matrix3D -#include -#endif -#ifndef INCLUDED_native_geom_Vector3D -#include -#endif -namespace native{ -namespace geom{ - -Void Matrix3D_obj::__construct(Array< Float > v) -{ -HX_STACK_PUSH("Matrix3D::new","native/geom/Matrix3D.hx",15); -{ - HX_STACK_LINE(15) - if (((bool((v != null())) && bool((v->length == (int)16))))){ - HX_STACK_LINE(17) - this->rawData = v; - } - else{ - HX_STACK_LINE(21) - this->rawData = Array_obj< Float >::__new().Add(1.0).Add(0.0).Add(0.0).Add(0.0).Add(0.0).Add(1.0).Add(0.0).Add(0.0).Add(0.0).Add(0.0).Add(1.0).Add(0.0).Add(0.0).Add(0.0).Add(0.0).Add(1.0); - } -} -; - return null(); -} - -Matrix3D_obj::~Matrix3D_obj() { } - -Dynamic Matrix3D_obj::__CreateEmpty() { return new Matrix3D_obj; } -hx::ObjectPtr< Matrix3D_obj > Matrix3D_obj::__new(Array< Float > v) -{ hx::ObjectPtr< Matrix3D_obj > result = new Matrix3D_obj(); - result->__construct(v); - return result;} - -Dynamic Matrix3D_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Matrix3D_obj > result = new Matrix3D_obj(); - result->__construct(inArgs[0]); - return result;} - -::native::geom::Vector3D Matrix3D_obj::set_position( ::native::geom::Vector3D val){ - HX_STACK_PUSH("Matrix3D::set_position","native/geom/Matrix3D.hx",551); - HX_STACK_THIS(this); - HX_STACK_ARG(val,"val"); - HX_STACK_LINE(553) - this->rawData[(int)12] = val->x; - HX_STACK_LINE(554) - this->rawData[(int)13] = val->y; - HX_STACK_LINE(555) - this->rawData[(int)14] = val->z; - HX_STACK_LINE(556) - return val; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix3D_obj,set_position,return ) - -::native::geom::Vector3D Matrix3D_obj::get_position( ){ - HX_STACK_PUSH("Matrix3D::get_position","native/geom/Matrix3D.hx",544); - HX_STACK_THIS(this); - HX_STACK_LINE(544) - return ::native::geom::Vector3D_obj::__new(this->rawData->__get((int)12),this->rawData->__get((int)13),this->rawData->__get((int)14),null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix3D_obj,get_position,return ) - -Float Matrix3D_obj::get_determinant( ){ - HX_STACK_PUSH("Matrix3D::get_determinant","native/geom/Matrix3D.hx",532); - HX_STACK_THIS(this); - HX_STACK_LINE(532) - return ((int)-1 * ((((((((((this->rawData->__get((int)0) * this->rawData->__get((int)5)) - (this->rawData->__get((int)4) * this->rawData->__get((int)1)))) * (((this->rawData->__get((int)10) * this->rawData->__get((int)15)) - (this->rawData->__get((int)14) * this->rawData->__get((int)11))))) - ((((this->rawData->__get((int)0) * this->rawData->__get((int)9)) - (this->rawData->__get((int)8) * this->rawData->__get((int)1)))) * (((this->rawData->__get((int)6) * this->rawData->__get((int)15)) - (this->rawData->__get((int)14) * this->rawData->__get((int)7)))))) + ((((this->rawData->__get((int)0) * this->rawData->__get((int)13)) - (this->rawData->__get((int)12) * this->rawData->__get((int)1)))) * (((this->rawData->__get((int)6) * this->rawData->__get((int)11)) - (this->rawData->__get((int)10) * this->rawData->__get((int)7)))))) + ((((this->rawData->__get((int)4) * this->rawData->__get((int)9)) - (this->rawData->__get((int)8) * this->rawData->__get((int)5)))) * (((this->rawData->__get((int)2) * this->rawData->__get((int)15)) - (this->rawData->__get((int)14) * this->rawData->__get((int)3)))))) - ((((this->rawData->__get((int)4) * this->rawData->__get((int)13)) - (this->rawData->__get((int)12) * this->rawData->__get((int)5)))) * (((this->rawData->__get((int)2) * this->rawData->__get((int)11)) - (this->rawData->__get((int)10) * this->rawData->__get((int)3)))))) + ((((this->rawData->__get((int)8) * this->rawData->__get((int)13)) - (this->rawData->__get((int)12) * this->rawData->__get((int)9)))) * (((this->rawData->__get((int)2) * this->rawData->__get((int)7)) - (this->rawData->__get((int)6) * this->rawData->__get((int)3)))))))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix3D_obj,get_determinant,return ) - -Void Matrix3D_obj::transpose( ){ -{ - HX_STACK_PUSH("Matrix3D::transpose","native/geom/Matrix3D.hx",506); - HX_STACK_THIS(this); - HX_STACK_LINE(508) - Array< Float > oRawData = this->rawData->copy(); HX_STACK_VAR(oRawData,"oRawData"); - HX_STACK_LINE(509) - this->rawData[(int)1] = oRawData->__get((int)4); - HX_STACK_LINE(510) - this->rawData[(int)2] = oRawData->__get((int)8); - HX_STACK_LINE(511) - this->rawData[(int)3] = oRawData->__get((int)12); - HX_STACK_LINE(512) - this->rawData[(int)4] = oRawData->__get((int)1); - HX_STACK_LINE(513) - this->rawData[(int)6] = oRawData->__get((int)9); - HX_STACK_LINE(514) - this->rawData[(int)7] = oRawData->__get((int)13); - HX_STACK_LINE(515) - this->rawData[(int)8] = oRawData->__get((int)2); - HX_STACK_LINE(516) - this->rawData[(int)9] = oRawData->__get((int)6); - HX_STACK_LINE(517) - this->rawData[(int)11] = oRawData->__get((int)14); - HX_STACK_LINE(518) - this->rawData[(int)12] = oRawData->__get((int)3); - HX_STACK_LINE(519) - this->rawData[(int)13] = oRawData->__get((int)7); - HX_STACK_LINE(520) - this->rawData[(int)14] = oRawData->__get((int)11); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix3D_obj,transpose,(void)) - -Void Matrix3D_obj::transformVectors( Array< Float > vin,Array< Float > vout){ -{ - HX_STACK_PUSH("Matrix3D::transformVectors","native/geom/Matrix3D.hx",490); - HX_STACK_THIS(this); - HX_STACK_ARG(vin,"vin"); - HX_STACK_ARG(vout,"vout"); - HX_STACK_LINE(492) - int i = (int)0; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(493) - while((((i + (int)3) <= vin->length))){ - HX_STACK_LINE(495) - Float x = vin->__get(i); HX_STACK_VAR(x,"x"); - Float y = vin->__get((i + (int)1)); HX_STACK_VAR(y,"y"); - Float z = vin->__get((i + (int)2)); HX_STACK_VAR(z,"z"); - HX_STACK_LINE(496) - vout[i] = ((((x * this->rawData->__get((int)0)) + (y * this->rawData->__get((int)4))) + (z * this->rawData->__get((int)8))) + this->rawData->__get((int)12)); - HX_STACK_LINE(497) - vout[(i + (int)1)] = ((((x * this->rawData->__get((int)1)) + (y * this->rawData->__get((int)5))) + (z * this->rawData->__get((int)9))) + this->rawData->__get((int)13)); - HX_STACK_LINE(498) - vout[(i + (int)2)] = ((((x * this->rawData->__get((int)2)) + (y * this->rawData->__get((int)6))) + (z * this->rawData->__get((int)10))) + this->rawData->__get((int)14)); - HX_STACK_LINE(499) - hx::AddEq(i,(int)3); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Matrix3D_obj,transformVectors,(void)) - -::native::geom::Vector3D Matrix3D_obj::transformVector( ::native::geom::Vector3D v){ - HX_STACK_PUSH("Matrix3D::transformVector","native/geom/Matrix3D.hx",478); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(480) - Float x = v->x; HX_STACK_VAR(x,"x"); - Float y = v->y; HX_STACK_VAR(y,"y"); - Float z = v->z; HX_STACK_VAR(z,"z"); - HX_STACK_LINE(481) - return ::native::geom::Vector3D_obj::__new(((((x * this->rawData->__get((int)0)) + (y * this->rawData->__get((int)4))) + (z * this->rawData->__get((int)8))) + this->rawData->__get((int)12)),((((x * this->rawData->__get((int)1)) + (y * this->rawData->__get((int)5))) + (z * this->rawData->__get((int)9))) + this->rawData->__get((int)13)),((((x * this->rawData->__get((int)2)) + (y * this->rawData->__get((int)6))) + (z * this->rawData->__get((int)10))) + this->rawData->__get((int)14)),(int)1); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix3D_obj,transformVector,return ) - -bool Matrix3D_obj::recompose( Array< ::native::geom::Vector3D > components){ - HX_STACK_PUSH("Matrix3D::recompose","native/geom/Matrix3D.hx",455); - HX_STACK_THIS(this); - HX_STACK_ARG(components,"components"); - HX_STACK_LINE(457) - if (((bool((bool((bool((components->length < (int)3)) || bool((components->__get((int)2)->x == (int)0)))) || bool((components->__get((int)2)->y == (int)0)))) || bool((components->__get((int)2)->z == (int)0))))){ - HX_STACK_LINE(457) - return false; - } - HX_STACK_LINE(459) - { - HX_STACK_LINE(459) - this->rawData[(int)0] = (int)1; - HX_STACK_LINE(459) - this->rawData[(int)1] = (int)0; - HX_STACK_LINE(459) - this->rawData[(int)2] = (int)0; - HX_STACK_LINE(459) - this->rawData[(int)3] = (int)0; - HX_STACK_LINE(459) - this->rawData[(int)4] = (int)0; - HX_STACK_LINE(459) - this->rawData[(int)5] = (int)1; - HX_STACK_LINE(459) - this->rawData[(int)6] = (int)0; - HX_STACK_LINE(459) - this->rawData[(int)7] = (int)0; - HX_STACK_LINE(459) - this->rawData[(int)8] = (int)0; - HX_STACK_LINE(459) - this->rawData[(int)9] = (int)0; - HX_STACK_LINE(459) - this->rawData[(int)10] = (int)1; - HX_STACK_LINE(459) - this->rawData[(int)11] = (int)0; - HX_STACK_LINE(459) - this->rawData[(int)12] = (int)0; - HX_STACK_LINE(459) - this->rawData[(int)13] = (int)0; - HX_STACK_LINE(459) - this->rawData[(int)14] = (int)0; - HX_STACK_LINE(459) - this->rawData[(int)15] = (int)1; - } - HX_STACK_LINE(460) - this->append(::native::geom::Matrix3D_obj::__new(Array_obj< Float >::__new().Add(components->__get((int)2)->x).Add(0.0).Add(0.0).Add(0.0).Add(0.0).Add(components->__get((int)2)->y).Add(0.0).Add(0.0).Add(0.0).Add(0.0).Add(components->__get((int)2)->z).Add(0.0).Add(0.0).Add(0.0).Add(0.0).Add(1.0))); - HX_STACK_LINE(462) - Float angle; HX_STACK_VAR(angle,"angle"); - HX_STACK_LINE(463) - angle = -(components->__get((int)1)->x); - HX_STACK_LINE(464) - this->append(::native::geom::Matrix3D_obj::__new(Array_obj< Float >::__new().Add((int)1).Add((int)0).Add((int)0).Add((int)0).Add((int)0).Add(::Math_obj::cos(angle)).Add(-(::Math_obj::sin(angle))).Add((int)0).Add((int)0).Add(::Math_obj::sin(angle)).Add(::Math_obj::cos(angle)).Add((int)0).Add((int)0).Add((int)0).Add((int)0).Add((int)0))); - HX_STACK_LINE(465) - angle = -(components->__get((int)1)->y); - HX_STACK_LINE(466) - this->append(::native::geom::Matrix3D_obj::__new(Array_obj< Float >::__new().Add(::Math_obj::cos(angle)).Add((int)0).Add(::Math_obj::sin(angle)).Add((int)0).Add((int)0).Add((int)1).Add((int)0).Add((int)0).Add(-(::Math_obj::sin(angle))).Add((int)0).Add(::Math_obj::cos(angle)).Add((int)0).Add((int)0).Add((int)0).Add((int)0).Add((int)0))); - HX_STACK_LINE(467) - angle = -(components->__get((int)1)->z); - HX_STACK_LINE(468) - this->append(::native::geom::Matrix3D_obj::__new(Array_obj< Float >::__new().Add(::Math_obj::cos(angle)).Add(-(::Math_obj::sin(angle))).Add((int)0).Add((int)0).Add(::Math_obj::sin(angle)).Add(::Math_obj::cos(angle)).Add((int)0).Add((int)0).Add((int)0).Add((int)0).Add((int)1).Add((int)0).Add((int)0).Add((int)0).Add((int)0).Add((int)0))); - HX_STACK_LINE(470) - { - HX_STACK_LINE(470) - ::native::geom::Vector3D val = components->__get((int)0); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(470) - this->rawData[(int)12] = val->x; - HX_STACK_LINE(470) - this->rawData[(int)13] = val->y; - HX_STACK_LINE(470) - this->rawData[(int)14] = val->z; - HX_STACK_LINE(470) - val; - } - HX_STACK_LINE(471) - this->rawData[(int)15] = (int)1; - HX_STACK_LINE(473) - return true; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix3D_obj,recompose,return ) - -Void Matrix3D_obj::prependTranslation( Float x,Float y,Float z){ -{ - HX_STACK_PUSH("Matrix3D::prependTranslation","native/geom/Matrix3D.hx",446); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(z,"z"); - HX_STACK_LINE(448) - ::native::geom::Matrix3D m = ::native::geom::Matrix3D_obj::__new(null()); HX_STACK_VAR(m,"m"); - HX_STACK_LINE(449) - { - HX_STACK_LINE(449) - ::native::geom::Vector3D val = ::native::geom::Vector3D_obj::__new(x,y,z,null()); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(449) - m->rawData[(int)12] = val->x; - HX_STACK_LINE(449) - m->rawData[(int)13] = val->y; - HX_STACK_LINE(449) - m->rawData[(int)14] = val->z; - HX_STACK_LINE(449) - val; - } - HX_STACK_LINE(450) - { - HX_STACK_LINE(450) - Float m111 = m->rawData->__get((int)0); HX_STACK_VAR(m111,"m111"); - Float m121 = m->rawData->__get((int)4); HX_STACK_VAR(m121,"m121"); - Float m131 = m->rawData->__get((int)8); HX_STACK_VAR(m131,"m131"); - Float m141 = m->rawData->__get((int)12); HX_STACK_VAR(m141,"m141"); - Float m112 = m->rawData->__get((int)1); HX_STACK_VAR(m112,"m112"); - Float m122 = m->rawData->__get((int)5); HX_STACK_VAR(m122,"m122"); - Float m132 = m->rawData->__get((int)9); HX_STACK_VAR(m132,"m132"); - Float m142 = m->rawData->__get((int)13); HX_STACK_VAR(m142,"m142"); - Float m113 = m->rawData->__get((int)2); HX_STACK_VAR(m113,"m113"); - Float m123 = m->rawData->__get((int)6); HX_STACK_VAR(m123,"m123"); - Float m133 = m->rawData->__get((int)10); HX_STACK_VAR(m133,"m133"); - Float m143 = m->rawData->__get((int)14); HX_STACK_VAR(m143,"m143"); - Float m114 = m->rawData->__get((int)3); HX_STACK_VAR(m114,"m114"); - Float m124 = m->rawData->__get((int)7); HX_STACK_VAR(m124,"m124"); - Float m134 = m->rawData->__get((int)11); HX_STACK_VAR(m134,"m134"); - Float m144 = m->rawData->__get((int)15); HX_STACK_VAR(m144,"m144"); - Float m211 = this->rawData->__get((int)0); HX_STACK_VAR(m211,"m211"); - Float m221 = this->rawData->__get((int)4); HX_STACK_VAR(m221,"m221"); - Float m231 = this->rawData->__get((int)8); HX_STACK_VAR(m231,"m231"); - Float m241 = this->rawData->__get((int)12); HX_STACK_VAR(m241,"m241"); - Float m212 = this->rawData->__get((int)1); HX_STACK_VAR(m212,"m212"); - Float m222 = this->rawData->__get((int)5); HX_STACK_VAR(m222,"m222"); - Float m232 = this->rawData->__get((int)9); HX_STACK_VAR(m232,"m232"); - Float m242 = this->rawData->__get((int)13); HX_STACK_VAR(m242,"m242"); - Float m213 = this->rawData->__get((int)2); HX_STACK_VAR(m213,"m213"); - Float m223 = this->rawData->__get((int)6); HX_STACK_VAR(m223,"m223"); - Float m233 = this->rawData->__get((int)10); HX_STACK_VAR(m233,"m233"); - Float m243 = this->rawData->__get((int)14); HX_STACK_VAR(m243,"m243"); - Float m214 = this->rawData->__get((int)3); HX_STACK_VAR(m214,"m214"); - Float m224 = this->rawData->__get((int)7); HX_STACK_VAR(m224,"m224"); - Float m234 = this->rawData->__get((int)11); HX_STACK_VAR(m234,"m234"); - Float m244 = this->rawData->__get((int)15); HX_STACK_VAR(m244,"m244"); - HX_STACK_LINE(450) - this->rawData[(int)0] = ((((m111 * m211) + (m112 * m221)) + (m113 * m231)) + (m114 * m241)); - HX_STACK_LINE(450) - this->rawData[(int)1] = ((((m111 * m212) + (m112 * m222)) + (m113 * m232)) + (m114 * m242)); - HX_STACK_LINE(450) - this->rawData[(int)2] = ((((m111 * m213) + (m112 * m223)) + (m113 * m233)) + (m114 * m243)); - HX_STACK_LINE(450) - this->rawData[(int)3] = ((((m111 * m214) + (m112 * m224)) + (m113 * m234)) + (m114 * m244)); - HX_STACK_LINE(450) - this->rawData[(int)4] = ((((m121 * m211) + (m122 * m221)) + (m123 * m231)) + (m124 * m241)); - HX_STACK_LINE(450) - this->rawData[(int)5] = ((((m121 * m212) + (m122 * m222)) + (m123 * m232)) + (m124 * m242)); - HX_STACK_LINE(450) - this->rawData[(int)6] = ((((m121 * m213) + (m122 * m223)) + (m123 * m233)) + (m124 * m243)); - HX_STACK_LINE(450) - this->rawData[(int)7] = ((((m121 * m214) + (m122 * m224)) + (m123 * m234)) + (m124 * m244)); - HX_STACK_LINE(450) - this->rawData[(int)8] = ((((m131 * m211) + (m132 * m221)) + (m133 * m231)) + (m134 * m241)); - HX_STACK_LINE(450) - this->rawData[(int)9] = ((((m131 * m212) + (m132 * m222)) + (m133 * m232)) + (m134 * m242)); - HX_STACK_LINE(450) - this->rawData[(int)10] = ((((m131 * m213) + (m132 * m223)) + (m133 * m233)) + (m134 * m243)); - HX_STACK_LINE(450) - this->rawData[(int)11] = ((((m131 * m214) + (m132 * m224)) + (m133 * m234)) + (m134 * m244)); - HX_STACK_LINE(450) - this->rawData[(int)12] = ((((m141 * m211) + (m142 * m221)) + (m143 * m231)) + (m144 * m241)); - HX_STACK_LINE(450) - this->rawData[(int)13] = ((((m141 * m212) + (m142 * m222)) + (m143 * m232)) + (m144 * m242)); - HX_STACK_LINE(450) - this->rawData[(int)14] = ((((m141 * m213) + (m142 * m223)) + (m143 * m233)) + (m144 * m243)); - HX_STACK_LINE(450) - this->rawData[(int)15] = ((((m141 * m214) + (m142 * m224)) + (m143 * m234)) + (m144 * m244)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Matrix3D_obj,prependTranslation,(void)) - -Void Matrix3D_obj::prependScale( Float xScale,Float yScale,Float zScale){ -{ - HX_STACK_PUSH("Matrix3D::prependScale","native/geom/Matrix3D.hx",439); - HX_STACK_THIS(this); - HX_STACK_ARG(xScale,"xScale"); - HX_STACK_ARG(yScale,"yScale"); - HX_STACK_ARG(zScale,"zScale"); - HX_STACK_LINE(441) - ::native::geom::Matrix3D rhs = ::native::geom::Matrix3D_obj::__new(Array_obj< Float >::__new().Add(xScale).Add(0.0).Add(0.0).Add(0.0).Add(0.0).Add(yScale).Add(0.0).Add(0.0).Add(0.0).Add(0.0).Add(zScale).Add(0.0).Add(0.0).Add(0.0).Add(0.0).Add(1.0)); HX_STACK_VAR(rhs,"rhs"); - HX_STACK_LINE(441) - Float m111 = rhs->rawData->__get((int)0); HX_STACK_VAR(m111,"m111"); - Float m121 = rhs->rawData->__get((int)4); HX_STACK_VAR(m121,"m121"); - Float m131 = rhs->rawData->__get((int)8); HX_STACK_VAR(m131,"m131"); - Float m141 = rhs->rawData->__get((int)12); HX_STACK_VAR(m141,"m141"); - Float m112 = rhs->rawData->__get((int)1); HX_STACK_VAR(m112,"m112"); - Float m122 = rhs->rawData->__get((int)5); HX_STACK_VAR(m122,"m122"); - Float m132 = rhs->rawData->__get((int)9); HX_STACK_VAR(m132,"m132"); - Float m142 = rhs->rawData->__get((int)13); HX_STACK_VAR(m142,"m142"); - Float m113 = rhs->rawData->__get((int)2); HX_STACK_VAR(m113,"m113"); - Float m123 = rhs->rawData->__get((int)6); HX_STACK_VAR(m123,"m123"); - Float m133 = rhs->rawData->__get((int)10); HX_STACK_VAR(m133,"m133"); - Float m143 = rhs->rawData->__get((int)14); HX_STACK_VAR(m143,"m143"); - Float m114 = rhs->rawData->__get((int)3); HX_STACK_VAR(m114,"m114"); - Float m124 = rhs->rawData->__get((int)7); HX_STACK_VAR(m124,"m124"); - Float m134 = rhs->rawData->__get((int)11); HX_STACK_VAR(m134,"m134"); - Float m144 = rhs->rawData->__get((int)15); HX_STACK_VAR(m144,"m144"); - Float m211 = this->rawData->__get((int)0); HX_STACK_VAR(m211,"m211"); - Float m221 = this->rawData->__get((int)4); HX_STACK_VAR(m221,"m221"); - Float m231 = this->rawData->__get((int)8); HX_STACK_VAR(m231,"m231"); - Float m241 = this->rawData->__get((int)12); HX_STACK_VAR(m241,"m241"); - Float m212 = this->rawData->__get((int)1); HX_STACK_VAR(m212,"m212"); - Float m222 = this->rawData->__get((int)5); HX_STACK_VAR(m222,"m222"); - Float m232 = this->rawData->__get((int)9); HX_STACK_VAR(m232,"m232"); - Float m242 = this->rawData->__get((int)13); HX_STACK_VAR(m242,"m242"); - Float m213 = this->rawData->__get((int)2); HX_STACK_VAR(m213,"m213"); - Float m223 = this->rawData->__get((int)6); HX_STACK_VAR(m223,"m223"); - Float m233 = this->rawData->__get((int)10); HX_STACK_VAR(m233,"m233"); - Float m243 = this->rawData->__get((int)14); HX_STACK_VAR(m243,"m243"); - Float m214 = this->rawData->__get((int)3); HX_STACK_VAR(m214,"m214"); - Float m224 = this->rawData->__get((int)7); HX_STACK_VAR(m224,"m224"); - Float m234 = this->rawData->__get((int)11); HX_STACK_VAR(m234,"m234"); - Float m244 = this->rawData->__get((int)15); HX_STACK_VAR(m244,"m244"); - HX_STACK_LINE(441) - this->rawData[(int)0] = ((((m111 * m211) + (m112 * m221)) + (m113 * m231)) + (m114 * m241)); - HX_STACK_LINE(441) - this->rawData[(int)1] = ((((m111 * m212) + (m112 * m222)) + (m113 * m232)) + (m114 * m242)); - HX_STACK_LINE(441) - this->rawData[(int)2] = ((((m111 * m213) + (m112 * m223)) + (m113 * m233)) + (m114 * m243)); - HX_STACK_LINE(441) - this->rawData[(int)3] = ((((m111 * m214) + (m112 * m224)) + (m113 * m234)) + (m114 * m244)); - HX_STACK_LINE(441) - this->rawData[(int)4] = ((((m121 * m211) + (m122 * m221)) + (m123 * m231)) + (m124 * m241)); - HX_STACK_LINE(441) - this->rawData[(int)5] = ((((m121 * m212) + (m122 * m222)) + (m123 * m232)) + (m124 * m242)); - HX_STACK_LINE(441) - this->rawData[(int)6] = ((((m121 * m213) + (m122 * m223)) + (m123 * m233)) + (m124 * m243)); - HX_STACK_LINE(441) - this->rawData[(int)7] = ((((m121 * m214) + (m122 * m224)) + (m123 * m234)) + (m124 * m244)); - HX_STACK_LINE(441) - this->rawData[(int)8] = ((((m131 * m211) + (m132 * m221)) + (m133 * m231)) + (m134 * m241)); - HX_STACK_LINE(441) - this->rawData[(int)9] = ((((m131 * m212) + (m132 * m222)) + (m133 * m232)) + (m134 * m242)); - HX_STACK_LINE(441) - this->rawData[(int)10] = ((((m131 * m213) + (m132 * m223)) + (m133 * m233)) + (m134 * m243)); - HX_STACK_LINE(441) - this->rawData[(int)11] = ((((m131 * m214) + (m132 * m224)) + (m133 * m234)) + (m134 * m244)); - HX_STACK_LINE(441) - this->rawData[(int)12] = ((((m141 * m211) + (m142 * m221)) + (m143 * m231)) + (m144 * m241)); - HX_STACK_LINE(441) - this->rawData[(int)13] = ((((m141 * m212) + (m142 * m222)) + (m143 * m232)) + (m144 * m242)); - HX_STACK_LINE(441) - this->rawData[(int)14] = ((((m141 * m213) + (m142 * m223)) + (m143 * m233)) + (m144 * m243)); - HX_STACK_LINE(441) - this->rawData[(int)15] = ((((m141 * m214) + (m142 * m224)) + (m143 * m234)) + (m144 * m244)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Matrix3D_obj,prependScale,(void)) - -Void Matrix3D_obj::prependRotation( Float degrees,::native::geom::Vector3D axis,::native::geom::Vector3D pivotPoint){ -{ - HX_STACK_PUSH("Matrix3D::prependRotation","native/geom/Matrix3D.hx",423); - HX_STACK_THIS(this); - HX_STACK_ARG(degrees,"degrees"); - HX_STACK_ARG(axis,"axis"); - HX_STACK_ARG(pivotPoint,"pivotPoint"); - struct _Function_1_1{ - inline static ::native::geom::Matrix3D Block( ::native::geom::Vector3D &axis,Float °rees){ - HX_STACK_PUSH("*::closure","native/geom/Matrix3D.hx",425); - { - HX_STACK_LINE(425) - ::native::geom::Matrix3D m = ::native::geom::Matrix3D_obj::__new(null()); HX_STACK_VAR(m,"m"); - HX_STACK_LINE(425) - ::native::geom::Vector3D a1 = ::native::geom::Vector3D_obj::__new(axis->x,axis->y,axis->z,null()); HX_STACK_VAR(a1,"a1"); - HX_STACK_LINE(425) - Float rad = (-(degrees) * ((Float(::Math_obj::PI) / Float((int)180)))); HX_STACK_VAR(rad,"rad"); - HX_STACK_LINE(425) - Float c = ::Math_obj::cos(rad); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(425) - Float s = ::Math_obj::sin(rad); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(425) - Float t = (1.0 - c); HX_STACK_VAR(t,"t"); - HX_STACK_LINE(425) - m->rawData[(int)0] = (c + ((a1->x * a1->x) * t)); - HX_STACK_LINE(425) - m->rawData[(int)5] = (c + ((a1->y * a1->y) * t)); - HX_STACK_LINE(425) - m->rawData[(int)10] = (c + ((a1->z * a1->z) * t)); - HX_STACK_LINE(425) - Float tmp1 = ((a1->x * a1->y) * t); HX_STACK_VAR(tmp1,"tmp1"); - HX_STACK_LINE(425) - Float tmp2 = (a1->z * s); HX_STACK_VAR(tmp2,"tmp2"); - HX_STACK_LINE(425) - m->rawData[(int)4] = (tmp1 + tmp2); - HX_STACK_LINE(425) - m->rawData[(int)1] = (tmp1 - tmp2); - HX_STACK_LINE(425) - tmp1 = ((a1->x * a1->z) * t); - HX_STACK_LINE(425) - tmp2 = (a1->y * s); - HX_STACK_LINE(425) - m->rawData[(int)8] = (tmp1 - tmp2); - HX_STACK_LINE(425) - m->rawData[(int)2] = (tmp1 + tmp2); - HX_STACK_LINE(425) - tmp1 = ((a1->y * a1->z) * t); - HX_STACK_LINE(425) - tmp2 = (a1->x * s); - HX_STACK_LINE(425) - m->rawData[(int)9] = (tmp1 + tmp2); - HX_STACK_LINE(425) - m->rawData[(int)6] = (tmp1 - tmp2); - HX_STACK_LINE(425) - return m; - } - return null(); - } - }; - HX_STACK_LINE(425) - ::native::geom::Matrix3D m = _Function_1_1::Block(axis,degrees); HX_STACK_VAR(m,"m"); - HX_STACK_LINE(427) - if (((pivotPoint != null()))){ - HX_STACK_LINE(429) - ::native::geom::Vector3D p = pivotPoint; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(430) - { - HX_STACK_LINE(430) - hx::AddEq(m->rawData[(int)12],p->x); - HX_STACK_LINE(430) - hx::AddEq(m->rawData[(int)13],p->y); - HX_STACK_LINE(430) - hx::AddEq(m->rawData[(int)14],p->z); - } - } - HX_STACK_LINE(434) - { - HX_STACK_LINE(434) - Float m111 = m->rawData->__get((int)0); HX_STACK_VAR(m111,"m111"); - Float m121 = m->rawData->__get((int)4); HX_STACK_VAR(m121,"m121"); - Float m131 = m->rawData->__get((int)8); HX_STACK_VAR(m131,"m131"); - Float m141 = m->rawData->__get((int)12); HX_STACK_VAR(m141,"m141"); - Float m112 = m->rawData->__get((int)1); HX_STACK_VAR(m112,"m112"); - Float m122 = m->rawData->__get((int)5); HX_STACK_VAR(m122,"m122"); - Float m132 = m->rawData->__get((int)9); HX_STACK_VAR(m132,"m132"); - Float m142 = m->rawData->__get((int)13); HX_STACK_VAR(m142,"m142"); - Float m113 = m->rawData->__get((int)2); HX_STACK_VAR(m113,"m113"); - Float m123 = m->rawData->__get((int)6); HX_STACK_VAR(m123,"m123"); - Float m133 = m->rawData->__get((int)10); HX_STACK_VAR(m133,"m133"); - Float m143 = m->rawData->__get((int)14); HX_STACK_VAR(m143,"m143"); - Float m114 = m->rawData->__get((int)3); HX_STACK_VAR(m114,"m114"); - Float m124 = m->rawData->__get((int)7); HX_STACK_VAR(m124,"m124"); - Float m134 = m->rawData->__get((int)11); HX_STACK_VAR(m134,"m134"); - Float m144 = m->rawData->__get((int)15); HX_STACK_VAR(m144,"m144"); - Float m211 = this->rawData->__get((int)0); HX_STACK_VAR(m211,"m211"); - Float m221 = this->rawData->__get((int)4); HX_STACK_VAR(m221,"m221"); - Float m231 = this->rawData->__get((int)8); HX_STACK_VAR(m231,"m231"); - Float m241 = this->rawData->__get((int)12); HX_STACK_VAR(m241,"m241"); - Float m212 = this->rawData->__get((int)1); HX_STACK_VAR(m212,"m212"); - Float m222 = this->rawData->__get((int)5); HX_STACK_VAR(m222,"m222"); - Float m232 = this->rawData->__get((int)9); HX_STACK_VAR(m232,"m232"); - Float m242 = this->rawData->__get((int)13); HX_STACK_VAR(m242,"m242"); - Float m213 = this->rawData->__get((int)2); HX_STACK_VAR(m213,"m213"); - Float m223 = this->rawData->__get((int)6); HX_STACK_VAR(m223,"m223"); - Float m233 = this->rawData->__get((int)10); HX_STACK_VAR(m233,"m233"); - Float m243 = this->rawData->__get((int)14); HX_STACK_VAR(m243,"m243"); - Float m214 = this->rawData->__get((int)3); HX_STACK_VAR(m214,"m214"); - Float m224 = this->rawData->__get((int)7); HX_STACK_VAR(m224,"m224"); - Float m234 = this->rawData->__get((int)11); HX_STACK_VAR(m234,"m234"); - Float m244 = this->rawData->__get((int)15); HX_STACK_VAR(m244,"m244"); - HX_STACK_LINE(434) - this->rawData[(int)0] = ((((m111 * m211) + (m112 * m221)) + (m113 * m231)) + (m114 * m241)); - HX_STACK_LINE(434) - this->rawData[(int)1] = ((((m111 * m212) + (m112 * m222)) + (m113 * m232)) + (m114 * m242)); - HX_STACK_LINE(434) - this->rawData[(int)2] = ((((m111 * m213) + (m112 * m223)) + (m113 * m233)) + (m114 * m243)); - HX_STACK_LINE(434) - this->rawData[(int)3] = ((((m111 * m214) + (m112 * m224)) + (m113 * m234)) + (m114 * m244)); - HX_STACK_LINE(434) - this->rawData[(int)4] = ((((m121 * m211) + (m122 * m221)) + (m123 * m231)) + (m124 * m241)); - HX_STACK_LINE(434) - this->rawData[(int)5] = ((((m121 * m212) + (m122 * m222)) + (m123 * m232)) + (m124 * m242)); - HX_STACK_LINE(434) - this->rawData[(int)6] = ((((m121 * m213) + (m122 * m223)) + (m123 * m233)) + (m124 * m243)); - HX_STACK_LINE(434) - this->rawData[(int)7] = ((((m121 * m214) + (m122 * m224)) + (m123 * m234)) + (m124 * m244)); - HX_STACK_LINE(434) - this->rawData[(int)8] = ((((m131 * m211) + (m132 * m221)) + (m133 * m231)) + (m134 * m241)); - HX_STACK_LINE(434) - this->rawData[(int)9] = ((((m131 * m212) + (m132 * m222)) + (m133 * m232)) + (m134 * m242)); - HX_STACK_LINE(434) - this->rawData[(int)10] = ((((m131 * m213) + (m132 * m223)) + (m133 * m233)) + (m134 * m243)); - HX_STACK_LINE(434) - this->rawData[(int)11] = ((((m131 * m214) + (m132 * m224)) + (m133 * m234)) + (m134 * m244)); - HX_STACK_LINE(434) - this->rawData[(int)12] = ((((m141 * m211) + (m142 * m221)) + (m143 * m231)) + (m144 * m241)); - HX_STACK_LINE(434) - this->rawData[(int)13] = ((((m141 * m212) + (m142 * m222)) + (m143 * m232)) + (m144 * m242)); - HX_STACK_LINE(434) - this->rawData[(int)14] = ((((m141 * m213) + (m142 * m223)) + (m143 * m233)) + (m144 * m243)); - HX_STACK_LINE(434) - this->rawData[(int)15] = ((((m141 * m214) + (m142 * m224)) + (m143 * m234)) + (m144 * m244)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Matrix3D_obj,prependRotation,(void)) - -Void Matrix3D_obj::prepend( ::native::geom::Matrix3D rhs){ -{ - HX_STACK_PUSH("Matrix3D::prepend","native/geom/Matrix3D.hx",389); - HX_STACK_THIS(this); - HX_STACK_ARG(rhs,"rhs"); - HX_STACK_LINE(391) - Float m111 = rhs->rawData->__get((int)0); HX_STACK_VAR(m111,"m111"); - Float m121 = rhs->rawData->__get((int)4); HX_STACK_VAR(m121,"m121"); - Float m131 = rhs->rawData->__get((int)8); HX_STACK_VAR(m131,"m131"); - Float m141 = rhs->rawData->__get((int)12); HX_STACK_VAR(m141,"m141"); - Float m112 = rhs->rawData->__get((int)1); HX_STACK_VAR(m112,"m112"); - Float m122 = rhs->rawData->__get((int)5); HX_STACK_VAR(m122,"m122"); - Float m132 = rhs->rawData->__get((int)9); HX_STACK_VAR(m132,"m132"); - Float m142 = rhs->rawData->__get((int)13); HX_STACK_VAR(m142,"m142"); - Float m113 = rhs->rawData->__get((int)2); HX_STACK_VAR(m113,"m113"); - Float m123 = rhs->rawData->__get((int)6); HX_STACK_VAR(m123,"m123"); - Float m133 = rhs->rawData->__get((int)10); HX_STACK_VAR(m133,"m133"); - Float m143 = rhs->rawData->__get((int)14); HX_STACK_VAR(m143,"m143"); - Float m114 = rhs->rawData->__get((int)3); HX_STACK_VAR(m114,"m114"); - Float m124 = rhs->rawData->__get((int)7); HX_STACK_VAR(m124,"m124"); - Float m134 = rhs->rawData->__get((int)11); HX_STACK_VAR(m134,"m134"); - Float m144 = rhs->rawData->__get((int)15); HX_STACK_VAR(m144,"m144"); - Float m211 = this->rawData->__get((int)0); HX_STACK_VAR(m211,"m211"); - Float m221 = this->rawData->__get((int)4); HX_STACK_VAR(m221,"m221"); - Float m231 = this->rawData->__get((int)8); HX_STACK_VAR(m231,"m231"); - Float m241 = this->rawData->__get((int)12); HX_STACK_VAR(m241,"m241"); - Float m212 = this->rawData->__get((int)1); HX_STACK_VAR(m212,"m212"); - Float m222 = this->rawData->__get((int)5); HX_STACK_VAR(m222,"m222"); - Float m232 = this->rawData->__get((int)9); HX_STACK_VAR(m232,"m232"); - Float m242 = this->rawData->__get((int)13); HX_STACK_VAR(m242,"m242"); - Float m213 = this->rawData->__get((int)2); HX_STACK_VAR(m213,"m213"); - Float m223 = this->rawData->__get((int)6); HX_STACK_VAR(m223,"m223"); - Float m233 = this->rawData->__get((int)10); HX_STACK_VAR(m233,"m233"); - Float m243 = this->rawData->__get((int)14); HX_STACK_VAR(m243,"m243"); - Float m214 = this->rawData->__get((int)3); HX_STACK_VAR(m214,"m214"); - Float m224 = this->rawData->__get((int)7); HX_STACK_VAR(m224,"m224"); - Float m234 = this->rawData->__get((int)11); HX_STACK_VAR(m234,"m234"); - Float m244 = this->rawData->__get((int)15); HX_STACK_VAR(m244,"m244"); - HX_STACK_LINE(400) - this->rawData[(int)0] = ((((m111 * m211) + (m112 * m221)) + (m113 * m231)) + (m114 * m241)); - HX_STACK_LINE(401) - this->rawData[(int)1] = ((((m111 * m212) + (m112 * m222)) + (m113 * m232)) + (m114 * m242)); - HX_STACK_LINE(402) - this->rawData[(int)2] = ((((m111 * m213) + (m112 * m223)) + (m113 * m233)) + (m114 * m243)); - HX_STACK_LINE(403) - this->rawData[(int)3] = ((((m111 * m214) + (m112 * m224)) + (m113 * m234)) + (m114 * m244)); - HX_STACK_LINE(405) - this->rawData[(int)4] = ((((m121 * m211) + (m122 * m221)) + (m123 * m231)) + (m124 * m241)); - HX_STACK_LINE(406) - this->rawData[(int)5] = ((((m121 * m212) + (m122 * m222)) + (m123 * m232)) + (m124 * m242)); - HX_STACK_LINE(407) - this->rawData[(int)6] = ((((m121 * m213) + (m122 * m223)) + (m123 * m233)) + (m124 * m243)); - HX_STACK_LINE(408) - this->rawData[(int)7] = ((((m121 * m214) + (m122 * m224)) + (m123 * m234)) + (m124 * m244)); - HX_STACK_LINE(410) - this->rawData[(int)8] = ((((m131 * m211) + (m132 * m221)) + (m133 * m231)) + (m134 * m241)); - HX_STACK_LINE(411) - this->rawData[(int)9] = ((((m131 * m212) + (m132 * m222)) + (m133 * m232)) + (m134 * m242)); - HX_STACK_LINE(412) - this->rawData[(int)10] = ((((m131 * m213) + (m132 * m223)) + (m133 * m233)) + (m134 * m243)); - HX_STACK_LINE(413) - this->rawData[(int)11] = ((((m131 * m214) + (m132 * m224)) + (m133 * m234)) + (m134 * m244)); - HX_STACK_LINE(415) - this->rawData[(int)12] = ((((m141 * m211) + (m142 * m221)) + (m143 * m231)) + (m144 * m241)); - HX_STACK_LINE(416) - this->rawData[(int)13] = ((((m141 * m212) + (m142 * m222)) + (m143 * m232)) + (m144 * m242)); - HX_STACK_LINE(417) - this->rawData[(int)14] = ((((m141 * m213) + (m142 * m223)) + (m143 * m233)) + (m144 * m243)); - HX_STACK_LINE(418) - this->rawData[(int)15] = ((((m141 * m214) + (m142 * m224)) + (m143 * m234)) + (m144 * m244)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix3D_obj,prepend,(void)) - -bool Matrix3D_obj::invert( ){ - HX_STACK_PUSH("Matrix3D::invert","native/geom/Matrix3D.hx",298); - HX_STACK_THIS(this); - HX_STACK_LINE(300) - Float d = ((int)-1 * ((((((((((this->rawData->__get((int)0) * this->rawData->__get((int)5)) - (this->rawData->__get((int)4) * this->rawData->__get((int)1)))) * (((this->rawData->__get((int)10) * this->rawData->__get((int)15)) - (this->rawData->__get((int)14) * this->rawData->__get((int)11))))) - ((((this->rawData->__get((int)0) * this->rawData->__get((int)9)) - (this->rawData->__get((int)8) * this->rawData->__get((int)1)))) * (((this->rawData->__get((int)6) * this->rawData->__get((int)15)) - (this->rawData->__get((int)14) * this->rawData->__get((int)7)))))) + ((((this->rawData->__get((int)0) * this->rawData->__get((int)13)) - (this->rawData->__get((int)12) * this->rawData->__get((int)1)))) * (((this->rawData->__get((int)6) * this->rawData->__get((int)11)) - (this->rawData->__get((int)10) * this->rawData->__get((int)7)))))) + ((((this->rawData->__get((int)4) * this->rawData->__get((int)9)) - (this->rawData->__get((int)8) * this->rawData->__get((int)5)))) * (((this->rawData->__get((int)2) * this->rawData->__get((int)15)) - (this->rawData->__get((int)14) * this->rawData->__get((int)3)))))) - ((((this->rawData->__get((int)4) * this->rawData->__get((int)13)) - (this->rawData->__get((int)12) * this->rawData->__get((int)5)))) * (((this->rawData->__get((int)2) * this->rawData->__get((int)11)) - (this->rawData->__get((int)10) * this->rawData->__get((int)3)))))) + ((((this->rawData->__get((int)8) * this->rawData->__get((int)13)) - (this->rawData->__get((int)12) * this->rawData->__get((int)9)))) * (((this->rawData->__get((int)2) * this->rawData->__get((int)7)) - (this->rawData->__get((int)6) * this->rawData->__get((int)3)))))))); HX_STACK_VAR(d,"d"); - HX_STACK_LINE(301) - bool invertable = (::Math_obj::abs(d) > 0.00000000001); HX_STACK_VAR(invertable,"invertable"); - HX_STACK_LINE(303) - if ((invertable)){ - HX_STACK_LINE(305) - d = (Float((int)-1) / Float(d)); - HX_STACK_LINE(306) - Float m11 = this->rawData->__get((int)0); HX_STACK_VAR(m11,"m11"); - HX_STACK_LINE(306) - Float m21 = this->rawData->__get((int)4); HX_STACK_VAR(m21,"m21"); - HX_STACK_LINE(306) - Float m31 = this->rawData->__get((int)8); HX_STACK_VAR(m31,"m31"); - HX_STACK_LINE(306) - Float m41 = this->rawData->__get((int)12); HX_STACK_VAR(m41,"m41"); - HX_STACK_LINE(307) - Float m12 = this->rawData->__get((int)1); HX_STACK_VAR(m12,"m12"); - HX_STACK_LINE(307) - Float m22 = this->rawData->__get((int)5); HX_STACK_VAR(m22,"m22"); - HX_STACK_LINE(307) - Float m32 = this->rawData->__get((int)9); HX_STACK_VAR(m32,"m32"); - HX_STACK_LINE(307) - Float m42 = this->rawData->__get((int)13); HX_STACK_VAR(m42,"m42"); - HX_STACK_LINE(308) - Float m13 = this->rawData->__get((int)2); HX_STACK_VAR(m13,"m13"); - HX_STACK_LINE(308) - Float m23 = this->rawData->__get((int)6); HX_STACK_VAR(m23,"m23"); - HX_STACK_LINE(308) - Float m33 = this->rawData->__get((int)10); HX_STACK_VAR(m33,"m33"); - HX_STACK_LINE(308) - Float m43 = this->rawData->__get((int)14); HX_STACK_VAR(m43,"m43"); - HX_STACK_LINE(309) - Float m14 = this->rawData->__get((int)3); HX_STACK_VAR(m14,"m14"); - HX_STACK_LINE(309) - Float m24 = this->rawData->__get((int)7); HX_STACK_VAR(m24,"m24"); - HX_STACK_LINE(309) - Float m34 = this->rawData->__get((int)11); HX_STACK_VAR(m34,"m34"); - HX_STACK_LINE(309) - Float m44 = this->rawData->__get((int)15); HX_STACK_VAR(m44,"m44"); - HX_STACK_LINE(311) - this->rawData[(int)0] = (d * ((((m22 * (((m33 * m44) - (m43 * m34)))) - (m32 * (((m23 * m44) - (m43 * m24))))) + (m42 * (((m23 * m34) - (m33 * m24))))))); - HX_STACK_LINE(312) - this->rawData[(int)1] = (-(d) * ((((m12 * (((m33 * m44) - (m43 * m34)))) - (m32 * (((m13 * m44) - (m43 * m14))))) + (m42 * (((m13 * m34) - (m33 * m14))))))); - HX_STACK_LINE(313) - this->rawData[(int)2] = (d * ((((m12 * (((m23 * m44) - (m43 * m24)))) - (m22 * (((m13 * m44) - (m43 * m14))))) + (m42 * (((m13 * m24) - (m23 * m14))))))); - HX_STACK_LINE(314) - this->rawData[(int)3] = (-(d) * ((((m12 * (((m23 * m34) - (m33 * m24)))) - (m22 * (((m13 * m34) - (m33 * m14))))) + (m32 * (((m13 * m24) - (m23 * m14))))))); - HX_STACK_LINE(315) - this->rawData[(int)4] = (-(d) * ((((m21 * (((m33 * m44) - (m43 * m34)))) - (m31 * (((m23 * m44) - (m43 * m24))))) + (m41 * (((m23 * m34) - (m33 * m24))))))); - HX_STACK_LINE(316) - this->rawData[(int)5] = (d * ((((m11 * (((m33 * m44) - (m43 * m34)))) - (m31 * (((m13 * m44) - (m43 * m14))))) + (m41 * (((m13 * m34) - (m33 * m14))))))); - HX_STACK_LINE(317) - this->rawData[(int)6] = (-(d) * ((((m11 * (((m23 * m44) - (m43 * m24)))) - (m21 * (((m13 * m44) - (m43 * m14))))) + (m41 * (((m13 * m24) - (m23 * m14))))))); - HX_STACK_LINE(318) - this->rawData[(int)7] = (d * ((((m11 * (((m23 * m34) - (m33 * m24)))) - (m21 * (((m13 * m34) - (m33 * m14))))) + (m31 * (((m13 * m24) - (m23 * m14))))))); - HX_STACK_LINE(319) - this->rawData[(int)8] = (d * ((((m21 * (((m32 * m44) - (m42 * m34)))) - (m31 * (((m22 * m44) - (m42 * m24))))) + (m41 * (((m22 * m34) - (m32 * m24))))))); - HX_STACK_LINE(320) - this->rawData[(int)9] = (-(d) * ((((m11 * (((m32 * m44) - (m42 * m34)))) - (m31 * (((m12 * m44) - (m42 * m14))))) + (m41 * (((m12 * m34) - (m32 * m14))))))); - HX_STACK_LINE(321) - this->rawData[(int)10] = (d * ((((m11 * (((m22 * m44) - (m42 * m24)))) - (m21 * (((m12 * m44) - (m42 * m14))))) + (m41 * (((m12 * m24) - (m22 * m14))))))); - HX_STACK_LINE(322) - this->rawData[(int)11] = (-(d) * ((((m11 * (((m22 * m34) - (m32 * m24)))) - (m21 * (((m12 * m34) - (m32 * m14))))) + (m31 * (((m12 * m24) - (m22 * m14))))))); - HX_STACK_LINE(323) - this->rawData[(int)12] = (-(d) * ((((m21 * (((m32 * m43) - (m42 * m33)))) - (m31 * (((m22 * m43) - (m42 * m23))))) + (m41 * (((m22 * m33) - (m32 * m23))))))); - HX_STACK_LINE(324) - this->rawData[(int)13] = (d * ((((m11 * (((m32 * m43) - (m42 * m33)))) - (m31 * (((m12 * m43) - (m42 * m13))))) + (m41 * (((m12 * m33) - (m32 * m13))))))); - HX_STACK_LINE(325) - this->rawData[(int)14] = (-(d) * ((((m11 * (((m22 * m43) - (m42 * m23)))) - (m21 * (((m12 * m43) - (m42 * m13))))) + (m41 * (((m12 * m23) - (m22 * m13))))))); - HX_STACK_LINE(326) - this->rawData[(int)15] = (d * ((((m11 * (((m22 * m33) - (m32 * m23)))) - (m21 * (((m12 * m33) - (m32 * m13))))) + (m31 * (((m12 * m23) - (m22 * m13))))))); - } - HX_STACK_LINE(330) - return invertable; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix3D_obj,invert,return ) - -Void Matrix3D_obj::interpolateTo( ::native::geom::Matrix3D toMat,Float percent){ -{ - HX_STACK_PUSH("Matrix3D::interpolateTo","native/geom/Matrix3D.hx",287); - HX_STACK_THIS(this); - HX_STACK_ARG(toMat,"toMat"); - HX_STACK_ARG(percent,"percent"); - HX_STACK_LINE(289) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(289) - while(((_g < (int)16))){ - HX_STACK_LINE(289) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(291) - this->rawData[i] = (this->rawData->__get(i) + (((toMat->rawData->__get(i) - this->rawData->__get(i))) * percent)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Matrix3D_obj,interpolateTo,(void)) - -Void Matrix3D_obj::identity( ){ -{ - HX_STACK_PUSH("Matrix3D::identity","native/geom/Matrix3D.hx",250); - HX_STACK_THIS(this); - HX_STACK_LINE(252) - this->rawData[(int)0] = (int)1; - HX_STACK_LINE(253) - this->rawData[(int)1] = (int)0; - HX_STACK_LINE(254) - this->rawData[(int)2] = (int)0; - HX_STACK_LINE(255) - this->rawData[(int)3] = (int)0; - HX_STACK_LINE(256) - this->rawData[(int)4] = (int)0; - HX_STACK_LINE(257) - this->rawData[(int)5] = (int)1; - HX_STACK_LINE(258) - this->rawData[(int)6] = (int)0; - HX_STACK_LINE(259) - this->rawData[(int)7] = (int)0; - HX_STACK_LINE(260) - this->rawData[(int)8] = (int)0; - HX_STACK_LINE(261) - this->rawData[(int)9] = (int)0; - HX_STACK_LINE(262) - this->rawData[(int)10] = (int)1; - HX_STACK_LINE(263) - this->rawData[(int)11] = (int)0; - HX_STACK_LINE(264) - this->rawData[(int)12] = (int)0; - HX_STACK_LINE(265) - this->rawData[(int)13] = (int)0; - HX_STACK_LINE(266) - this->rawData[(int)14] = (int)0; - HX_STACK_LINE(267) - this->rawData[(int)15] = (int)1; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix3D_obj,identity,(void)) - -::native::geom::Vector3D Matrix3D_obj::deltaTransformVector( ::native::geom::Vector3D v){ - HX_STACK_PUSH("Matrix3D::deltaTransformVector","native/geom/Matrix3D.hx",206); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(208) - Float x = v->x; HX_STACK_VAR(x,"x"); - Float y = v->y; HX_STACK_VAR(y,"y"); - Float z = v->z; HX_STACK_VAR(z,"z"); - HX_STACK_LINE(209) - return ::native::geom::Vector3D_obj::__new(((((x * this->rawData->__get((int)0)) + (y * this->rawData->__get((int)1))) + (z * this->rawData->__get((int)2))) + this->rawData->__get((int)3)),((((x * this->rawData->__get((int)4)) + (y * this->rawData->__get((int)5))) + (z * this->rawData->__get((int)6))) + this->rawData->__get((int)7)),((((x * this->rawData->__get((int)8)) + (y * this->rawData->__get((int)9))) + (z * this->rawData->__get((int)10))) + this->rawData->__get((int)11)),(int)0); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix3D_obj,deltaTransformVector,return ) - -Array< ::native::geom::Vector3D > Matrix3D_obj::decompose( ){ - HX_STACK_PUSH("Matrix3D::decompose","native/geom/Matrix3D.hx",147); - HX_STACK_THIS(this); - HX_STACK_LINE(149) - Array< ::native::geom::Vector3D > vec = Array_obj< ::native::geom::Vector3D >::__new(); HX_STACK_VAR(vec,"vec"); - HX_STACK_LINE(150) - ::native::geom::Matrix3D m = ::native::geom::Matrix3D_obj::__new(this->rawData->copy()); HX_STACK_VAR(m,"m"); - HX_STACK_LINE(151) - Array< Float > mr = m->rawData; HX_STACK_VAR(mr,"mr"); - HX_STACK_LINE(153) - ::native::geom::Vector3D pos = ::native::geom::Vector3D_obj::__new(mr->__get((int)12),mr->__get((int)13),mr->__get((int)14),null()); HX_STACK_VAR(pos,"pos"); - HX_STACK_LINE(154) - mr[(int)12] = (int)0; - HX_STACK_LINE(155) - mr[(int)13] = (int)0; - HX_STACK_LINE(156) - mr[(int)14] = (int)0; - HX_STACK_LINE(158) - ::native::geom::Vector3D scale = ::native::geom::Vector3D_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(scale,"scale"); - HX_STACK_LINE(160) - scale->x = ::Math_obj::sqrt((((mr->__get((int)0) * mr->__get((int)0)) + (mr->__get((int)1) * mr->__get((int)1))) + (mr->__get((int)2) * mr->__get((int)2)))); - HX_STACK_LINE(161) - scale->y = ::Math_obj::sqrt((((mr->__get((int)4) * mr->__get((int)4)) + (mr->__get((int)5) * mr->__get((int)5))) + (mr->__get((int)6) * mr->__get((int)6)))); - HX_STACK_LINE(162) - scale->z = ::Math_obj::sqrt((((mr->__get((int)8) * mr->__get((int)8)) + (mr->__get((int)9) * mr->__get((int)9))) + (mr->__get((int)10) * mr->__get((int)10)))); - HX_STACK_LINE(164) - if ((((((mr->__get((int)0) * (((mr->__get((int)5) * mr->__get((int)10)) - (mr->__get((int)6) * mr->__get((int)9))))) - (mr->__get((int)1) * (((mr->__get((int)4) * mr->__get((int)10)) - (mr->__get((int)6) * mr->__get((int)8)))))) + (mr->__get((int)2) * (((mr->__get((int)4) * mr->__get((int)9)) - (mr->__get((int)5) * mr->__get((int)8)))))) < (int)0))){ - HX_STACK_LINE(164) - scale->z = -(scale->z); - } - HX_STACK_LINE(170) - hx::DivEq(mr[(int)0],scale->x); - HX_STACK_LINE(171) - hx::DivEq(mr[(int)1],scale->x); - HX_STACK_LINE(172) - hx::DivEq(mr[(int)2],scale->x); - HX_STACK_LINE(173) - hx::DivEq(mr[(int)4],scale->y); - HX_STACK_LINE(174) - hx::DivEq(mr[(int)5],scale->y); - HX_STACK_LINE(175) - hx::DivEq(mr[(int)6],scale->y); - HX_STACK_LINE(176) - hx::DivEq(mr[(int)8],scale->z); - HX_STACK_LINE(177) - hx::DivEq(mr[(int)9],scale->z); - HX_STACK_LINE(178) - hx::DivEq(mr[(int)10],scale->z); - HX_STACK_LINE(180) - ::native::geom::Vector3D rot = ::native::geom::Vector3D_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(rot,"rot"); - HX_STACK_LINE(182) - rot->y = ::Math_obj::asin(-(mr->__get((int)2))); - HX_STACK_LINE(184) - Float C = ::Math_obj::cos(rot->y); HX_STACK_VAR(C,"C"); - HX_STACK_LINE(185) - if (((C > (int)0))){ - HX_STACK_LINE(187) - rot->x = ::Math_obj::atan2(mr->__get((int)6),mr->__get((int)10)); - HX_STACK_LINE(188) - rot->z = ::Math_obj::atan2(mr->__get((int)1),mr->__get((int)0)); - } - else{ - HX_STACK_LINE(192) - rot->z = (int)0; - HX_STACK_LINE(193) - rot->x = ::Math_obj::atan2(mr->__get((int)4),mr->__get((int)5)); - } - HX_STACK_LINE(197) - vec->push(pos); - HX_STACK_LINE(198) - vec->push(rot); - HX_STACK_LINE(199) - vec->push(scale); - HX_STACK_LINE(201) - return vec; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix3D_obj,decompose,return ) - -::native::geom::Matrix3D Matrix3D_obj::clone( ){ - HX_STACK_PUSH("Matrix3D::clone","native/geom/Matrix3D.hx",96); - HX_STACK_THIS(this); - HX_STACK_LINE(96) - return ::native::geom::Matrix3D_obj::__new(this->rawData->copy()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix3D_obj,clone,return ) - -Void Matrix3D_obj::appendTranslation( Float x,Float y,Float z){ -{ - HX_STACK_PUSH("Matrix3D::appendTranslation","native/geom/Matrix3D.hx",87); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(z,"z"); - HX_STACK_LINE(89) - hx::AddEq(this->rawData[(int)12],x); - HX_STACK_LINE(90) - hx::AddEq(this->rawData[(int)13],y); - HX_STACK_LINE(91) - hx::AddEq(this->rawData[(int)14],z); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Matrix3D_obj,appendTranslation,(void)) - -Void Matrix3D_obj::appendScale( Float xScale,Float yScale,Float zScale){ -{ - HX_STACK_PUSH("Matrix3D::appendScale","native/geom/Matrix3D.hx",80); - HX_STACK_THIS(this); - HX_STACK_ARG(xScale,"xScale"); - HX_STACK_ARG(yScale,"yScale"); - HX_STACK_ARG(zScale,"zScale"); - HX_STACK_LINE(80) - this->append(::native::geom::Matrix3D_obj::__new(Array_obj< Float >::__new().Add(xScale).Add(0.0).Add(0.0).Add(0.0).Add(0.0).Add(yScale).Add(0.0).Add(0.0).Add(0.0).Add(0.0).Add(zScale).Add(0.0).Add(0.0).Add(0.0).Add(0.0).Add(1.0))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Matrix3D_obj,appendScale,(void)) - -Void Matrix3D_obj::appendRotation( Float degrees,::native::geom::Vector3D axis,::native::geom::Vector3D pivotPoint){ -{ - HX_STACK_PUSH("Matrix3D::appendRotation","native/geom/Matrix3D.hx",64); - HX_STACK_THIS(this); - HX_STACK_ARG(degrees,"degrees"); - HX_STACK_ARG(axis,"axis"); - HX_STACK_ARG(pivotPoint,"pivotPoint"); - struct _Function_1_1{ - inline static ::native::geom::Matrix3D Block( ::native::geom::Vector3D &axis,Float °rees){ - HX_STACK_PUSH("*::closure","native/geom/Matrix3D.hx",66); - { - HX_STACK_LINE(66) - ::native::geom::Matrix3D m = ::native::geom::Matrix3D_obj::__new(null()); HX_STACK_VAR(m,"m"); - HX_STACK_LINE(66) - ::native::geom::Vector3D a1 = ::native::geom::Vector3D_obj::__new(axis->x,axis->y,axis->z,null()); HX_STACK_VAR(a1,"a1"); - HX_STACK_LINE(66) - Float rad = (-(degrees) * ((Float(::Math_obj::PI) / Float((int)180)))); HX_STACK_VAR(rad,"rad"); - HX_STACK_LINE(66) - Float c = ::Math_obj::cos(rad); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(66) - Float s = ::Math_obj::sin(rad); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(66) - Float t = (1.0 - c); HX_STACK_VAR(t,"t"); - HX_STACK_LINE(66) - m->rawData[(int)0] = (c + ((a1->x * a1->x) * t)); - HX_STACK_LINE(66) - m->rawData[(int)5] = (c + ((a1->y * a1->y) * t)); - HX_STACK_LINE(66) - m->rawData[(int)10] = (c + ((a1->z * a1->z) * t)); - HX_STACK_LINE(66) - Float tmp1 = ((a1->x * a1->y) * t); HX_STACK_VAR(tmp1,"tmp1"); - HX_STACK_LINE(66) - Float tmp2 = (a1->z * s); HX_STACK_VAR(tmp2,"tmp2"); - HX_STACK_LINE(66) - m->rawData[(int)4] = (tmp1 + tmp2); - HX_STACK_LINE(66) - m->rawData[(int)1] = (tmp1 - tmp2); - HX_STACK_LINE(66) - tmp1 = ((a1->x * a1->z) * t); - HX_STACK_LINE(66) - tmp2 = (a1->y * s); - HX_STACK_LINE(66) - m->rawData[(int)8] = (tmp1 - tmp2); - HX_STACK_LINE(66) - m->rawData[(int)2] = (tmp1 + tmp2); - HX_STACK_LINE(66) - tmp1 = ((a1->y * a1->z) * t); - HX_STACK_LINE(66) - tmp2 = (a1->x * s); - HX_STACK_LINE(66) - m->rawData[(int)9] = (tmp1 + tmp2); - HX_STACK_LINE(66) - m->rawData[(int)6] = (tmp1 - tmp2); - HX_STACK_LINE(66) - return m; - } - return null(); - } - }; - HX_STACK_LINE(66) - ::native::geom::Matrix3D m = _Function_1_1::Block(axis,degrees); HX_STACK_VAR(m,"m"); - HX_STACK_LINE(68) - if (((pivotPoint != null()))){ - HX_STACK_LINE(70) - ::native::geom::Vector3D p = pivotPoint; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(71) - { - HX_STACK_LINE(71) - hx::AddEq(m->rawData[(int)12],p->x); - HX_STACK_LINE(71) - hx::AddEq(m->rawData[(int)13],p->y); - HX_STACK_LINE(71) - hx::AddEq(m->rawData[(int)14],p->z); - } - } - HX_STACK_LINE(75) - this->append(m); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Matrix3D_obj,appendRotation,(void)) - -Void Matrix3D_obj::append( ::native::geom::Matrix3D lhs){ -{ - HX_STACK_PUSH("Matrix3D::append","native/geom/Matrix3D.hx",30); - HX_STACK_THIS(this); - HX_STACK_ARG(lhs,"lhs"); - HX_STACK_LINE(32) - Float m111 = this->rawData->__get((int)0); HX_STACK_VAR(m111,"m111"); - Float m121 = this->rawData->__get((int)4); HX_STACK_VAR(m121,"m121"); - Float m131 = this->rawData->__get((int)8); HX_STACK_VAR(m131,"m131"); - Float m141 = this->rawData->__get((int)12); HX_STACK_VAR(m141,"m141"); - Float m112 = this->rawData->__get((int)1); HX_STACK_VAR(m112,"m112"); - Float m122 = this->rawData->__get((int)5); HX_STACK_VAR(m122,"m122"); - Float m132 = this->rawData->__get((int)9); HX_STACK_VAR(m132,"m132"); - Float m142 = this->rawData->__get((int)13); HX_STACK_VAR(m142,"m142"); - Float m113 = this->rawData->__get((int)2); HX_STACK_VAR(m113,"m113"); - Float m123 = this->rawData->__get((int)6); HX_STACK_VAR(m123,"m123"); - Float m133 = this->rawData->__get((int)10); HX_STACK_VAR(m133,"m133"); - Float m143 = this->rawData->__get((int)14); HX_STACK_VAR(m143,"m143"); - Float m114 = this->rawData->__get((int)3); HX_STACK_VAR(m114,"m114"); - Float m124 = this->rawData->__get((int)7); HX_STACK_VAR(m124,"m124"); - Float m134 = this->rawData->__get((int)11); HX_STACK_VAR(m134,"m134"); - Float m144 = this->rawData->__get((int)15); HX_STACK_VAR(m144,"m144"); - Float m211 = lhs->rawData->__get((int)0); HX_STACK_VAR(m211,"m211"); - Float m221 = lhs->rawData->__get((int)4); HX_STACK_VAR(m221,"m221"); - Float m231 = lhs->rawData->__get((int)8); HX_STACK_VAR(m231,"m231"); - Float m241 = lhs->rawData->__get((int)12); HX_STACK_VAR(m241,"m241"); - Float m212 = lhs->rawData->__get((int)1); HX_STACK_VAR(m212,"m212"); - Float m222 = lhs->rawData->__get((int)5); HX_STACK_VAR(m222,"m222"); - Float m232 = lhs->rawData->__get((int)9); HX_STACK_VAR(m232,"m232"); - Float m242 = lhs->rawData->__get((int)13); HX_STACK_VAR(m242,"m242"); - Float m213 = lhs->rawData->__get((int)2); HX_STACK_VAR(m213,"m213"); - Float m223 = lhs->rawData->__get((int)6); HX_STACK_VAR(m223,"m223"); - Float m233 = lhs->rawData->__get((int)10); HX_STACK_VAR(m233,"m233"); - Float m243 = lhs->rawData->__get((int)14); HX_STACK_VAR(m243,"m243"); - Float m214 = lhs->rawData->__get((int)3); HX_STACK_VAR(m214,"m214"); - Float m224 = lhs->rawData->__get((int)7); HX_STACK_VAR(m224,"m224"); - Float m234 = lhs->rawData->__get((int)11); HX_STACK_VAR(m234,"m234"); - Float m244 = lhs->rawData->__get((int)15); HX_STACK_VAR(m244,"m244"); - HX_STACK_LINE(41) - this->rawData[(int)0] = ((((m111 * m211) + (m112 * m221)) + (m113 * m231)) + (m114 * m241)); - HX_STACK_LINE(42) - this->rawData[(int)1] = ((((m111 * m212) + (m112 * m222)) + (m113 * m232)) + (m114 * m242)); - HX_STACK_LINE(43) - this->rawData[(int)2] = ((((m111 * m213) + (m112 * m223)) + (m113 * m233)) + (m114 * m243)); - HX_STACK_LINE(44) - this->rawData[(int)3] = ((((m111 * m214) + (m112 * m224)) + (m113 * m234)) + (m114 * m244)); - HX_STACK_LINE(46) - this->rawData[(int)4] = ((((m121 * m211) + (m122 * m221)) + (m123 * m231)) + (m124 * m241)); - HX_STACK_LINE(47) - this->rawData[(int)5] = ((((m121 * m212) + (m122 * m222)) + (m123 * m232)) + (m124 * m242)); - HX_STACK_LINE(48) - this->rawData[(int)6] = ((((m121 * m213) + (m122 * m223)) + (m123 * m233)) + (m124 * m243)); - HX_STACK_LINE(49) - this->rawData[(int)7] = ((((m121 * m214) + (m122 * m224)) + (m123 * m234)) + (m124 * m244)); - HX_STACK_LINE(51) - this->rawData[(int)8] = ((((m131 * m211) + (m132 * m221)) + (m133 * m231)) + (m134 * m241)); - HX_STACK_LINE(52) - this->rawData[(int)9] = ((((m131 * m212) + (m132 * m222)) + (m133 * m232)) + (m134 * m242)); - HX_STACK_LINE(53) - this->rawData[(int)10] = ((((m131 * m213) + (m132 * m223)) + (m133 * m233)) + (m134 * m243)); - HX_STACK_LINE(54) - this->rawData[(int)11] = ((((m131 * m214) + (m132 * m224)) + (m133 * m234)) + (m134 * m244)); - HX_STACK_LINE(56) - this->rawData[(int)12] = ((((m141 * m211) + (m142 * m221)) + (m143 * m231)) + (m144 * m241)); - HX_STACK_LINE(57) - this->rawData[(int)13] = ((((m141 * m212) + (m142 * m222)) + (m143 * m232)) + (m144 * m242)); - HX_STACK_LINE(58) - this->rawData[(int)14] = ((((m141 * m213) + (m142 * m223)) + (m143 * m233)) + (m144 * m243)); - HX_STACK_LINE(59) - this->rawData[(int)15] = ((((m141 * m214) + (m142 * m224)) + (m143 * m234)) + (m144 * m244)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix3D_obj,append,(void)) - -::native::geom::Matrix3D Matrix3D_obj::create2D( Float x,Float y,hx::Null< Float > __o_scale,hx::Null< Float > __o_rotation){ -Float scale = __o_scale.Default(1); -Float rotation = __o_rotation.Default(0); - HX_STACK_PUSH("Matrix3D::create2D","native/geom/Matrix3D.hx",103); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(scale,"scale"); - HX_STACK_ARG(rotation,"rotation"); -{ - HX_STACK_LINE(105) - Float theta = (Float((rotation * ::Math_obj::PI)) / Float(180.0)); HX_STACK_VAR(theta,"theta"); - HX_STACK_LINE(106) - Float c = ::Math_obj::cos(theta); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(107) - Float s = ::Math_obj::sin(theta); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(109) - return ::native::geom::Matrix3D_obj::__new(Array_obj< Float >::__new().Add((c * scale)).Add((-(s) * scale)).Add((int)0).Add((int)0).Add((s * scale)).Add((c * scale)).Add((int)0).Add((int)0).Add((int)0).Add((int)0).Add((int)1).Add((int)0).Add(x).Add(y).Add((int)0).Add((int)1)); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(Matrix3D_obj,create2D,return ) - -::native::geom::Matrix3D Matrix3D_obj::createABCD( Float a,Float b,Float c,Float d,Float tx,Float ty){ - HX_STACK_PUSH("Matrix3D::createABCD","native/geom/Matrix3D.hx",119); - HX_STACK_ARG(a,"a"); - HX_STACK_ARG(b,"b"); - HX_STACK_ARG(c,"c"); - HX_STACK_ARG(d,"d"); - HX_STACK_ARG(tx,"tx"); - HX_STACK_ARG(ty,"ty"); - HX_STACK_LINE(119) - return ::native::geom::Matrix3D_obj::__new(Array_obj< Float >::__new().Add(a).Add(b).Add((int)0).Add((int)0).Add(c).Add(d).Add((int)0).Add((int)0).Add((int)0).Add((int)0).Add((int)1).Add((int)0).Add(tx).Add(ty).Add((int)0).Add((int)1)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC6(Matrix3D_obj,createABCD,return ) - -::native::geom::Matrix3D Matrix3D_obj::createOrtho( Float x0,Float x1,Float y0,Float y1,Float zNear,Float zFar){ - HX_STACK_PUSH("Matrix3D::createOrtho","native/geom/Matrix3D.hx",131); - HX_STACK_ARG(x0,"x0"); - HX_STACK_ARG(x1,"x1"); - HX_STACK_ARG(y0,"y0"); - HX_STACK_ARG(y1,"y1"); - HX_STACK_ARG(zNear,"zNear"); - HX_STACK_ARG(zFar,"zFar"); - HX_STACK_LINE(133) - Float sx = (Float(1.0) / Float(((x1 - x0)))); HX_STACK_VAR(sx,"sx"); - HX_STACK_LINE(134) - Float sy = (Float(1.0) / Float(((y1 - y0)))); HX_STACK_VAR(sy,"sy"); - HX_STACK_LINE(135) - Float sz = (Float(1.0) / Float(((zFar - zNear)))); HX_STACK_VAR(sz,"sz"); - HX_STACK_LINE(137) - return ::native::geom::Matrix3D_obj::__new(Array_obj< Float >::__new().Add((2.0 * sx)).Add((int)0).Add((int)0).Add((int)0).Add((int)0).Add((2.0 * sy)).Add((int)0).Add((int)0).Add((int)0).Add((int)0).Add((-2. * sz)).Add((int)0).Add((-(((x0 + x1))) * sx)).Add((-(((y0 + y1))) * sy)).Add((-(((zNear + zFar))) * sz)).Add((int)1)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC6(Matrix3D_obj,createOrtho,return ) - -::native::geom::Matrix3D Matrix3D_obj::getAxisRotation( Float x,Float y,Float z,Float degrees){ - HX_STACK_PUSH("Matrix3D::getAxisRotation","native/geom/Matrix3D.hx",218); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(z,"z"); - HX_STACK_ARG(degrees,"degrees"); - HX_STACK_LINE(220) - ::native::geom::Matrix3D m = ::native::geom::Matrix3D_obj::__new(null()); HX_STACK_VAR(m,"m"); - HX_STACK_LINE(222) - ::native::geom::Vector3D a1 = ::native::geom::Vector3D_obj::__new(x,y,z,null()); HX_STACK_VAR(a1,"a1"); - HX_STACK_LINE(223) - Float rad = (-(degrees) * ((Float(::Math_obj::PI) / Float((int)180)))); HX_STACK_VAR(rad,"rad"); - HX_STACK_LINE(224) - Float c = ::Math_obj::cos(rad); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(225) - Float s = ::Math_obj::sin(rad); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(226) - Float t = (1.0 - c); HX_STACK_VAR(t,"t"); - HX_STACK_LINE(228) - m->rawData[(int)0] = (c + ((a1->x * a1->x) * t)); - HX_STACK_LINE(229) - m->rawData[(int)5] = (c + ((a1->y * a1->y) * t)); - HX_STACK_LINE(230) - m->rawData[(int)10] = (c + ((a1->z * a1->z) * t)); - HX_STACK_LINE(232) - Float tmp1 = ((a1->x * a1->y) * t); HX_STACK_VAR(tmp1,"tmp1"); - HX_STACK_LINE(233) - Float tmp2 = (a1->z * s); HX_STACK_VAR(tmp2,"tmp2"); - HX_STACK_LINE(234) - m->rawData[(int)4] = (tmp1 + tmp2); - HX_STACK_LINE(235) - m->rawData[(int)1] = (tmp1 - tmp2); - HX_STACK_LINE(236) - tmp1 = ((a1->x * a1->z) * t); - HX_STACK_LINE(237) - tmp2 = (a1->y * s); - HX_STACK_LINE(238) - m->rawData[(int)8] = (tmp1 - tmp2); - HX_STACK_LINE(239) - m->rawData[(int)2] = (tmp1 + tmp2); - HX_STACK_LINE(240) - tmp1 = ((a1->y * a1->z) * t); - HX_STACK_LINE(241) - tmp2 = (a1->x * s); - HX_STACK_LINE(242) - m->rawData[(int)9] = (tmp1 + tmp2); - HX_STACK_LINE(243) - m->rawData[(int)6] = (tmp1 - tmp2); - HX_STACK_LINE(245) - return m; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(Matrix3D_obj,getAxisRotation,return ) - -::native::geom::Matrix3D Matrix3D_obj::interpolate( ::native::geom::Matrix3D thisMat,::native::geom::Matrix3D toMat,Float percent){ - HX_STACK_PUSH("Matrix3D::interpolate","native/geom/Matrix3D.hx",272); - HX_STACK_ARG(thisMat,"thisMat"); - HX_STACK_ARG(toMat,"toMat"); - HX_STACK_ARG(percent,"percent"); - HX_STACK_LINE(274) - ::native::geom::Matrix3D m = ::native::geom::Matrix3D_obj::__new(null()); HX_STACK_VAR(m,"m"); - HX_STACK_LINE(276) - { - HX_STACK_LINE(276) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(276) - while(((_g < (int)16))){ - HX_STACK_LINE(276) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(278) - m->rawData[i] = (thisMat->rawData->__get(i) + (((toMat->rawData->__get(i) - thisMat->rawData->__get(i))) * percent)); - } - } - HX_STACK_LINE(282) - return m; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Matrix3D_obj,interpolate,return ) - - -Matrix3D_obj::Matrix3D_obj() -{ -} - -void Matrix3D_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Matrix3D); - HX_MARK_MEMBER_NAME(rawData,"rawData"); - HX_MARK_MEMBER_NAME(position,"position"); - HX_MARK_MEMBER_NAME(determinant,"determinant"); - HX_MARK_END_CLASS(); -} - -void Matrix3D_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(rawData,"rawData"); - HX_VISIT_MEMBER_NAME(position,"position"); - HX_VISIT_MEMBER_NAME(determinant,"determinant"); -} - -Dynamic Matrix3D_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"invert") ) { return invert_dyn(); } - if (HX_FIELD_EQ(inName,"append") ) { return append_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"prepend") ) { return prepend_dyn(); } - if (HX_FIELD_EQ(inName,"rawData") ) { return rawData; } - break; - case 8: - if (HX_FIELD_EQ(inName,"create2D") ) { return create2D_dyn(); } - if (HX_FIELD_EQ(inName,"identity") ) { return identity_dyn(); } - if (HX_FIELD_EQ(inName,"position") ) { return inCallProp ? get_position() : position; } - break; - case 9: - if (HX_FIELD_EQ(inName,"transpose") ) { return transpose_dyn(); } - if (HX_FIELD_EQ(inName,"recompose") ) { return recompose_dyn(); } - if (HX_FIELD_EQ(inName,"decompose") ) { return decompose_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"createABCD") ) { return createABCD_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"createOrtho") ) { return createOrtho_dyn(); } - if (HX_FIELD_EQ(inName,"interpolate") ) { return interpolate_dyn(); } - if (HX_FIELD_EQ(inName,"appendScale") ) { return appendScale_dyn(); } - if (HX_FIELD_EQ(inName,"determinant") ) { return inCallProp ? get_determinant() : determinant; } - break; - case 12: - if (HX_FIELD_EQ(inName,"set_position") ) { return set_position_dyn(); } - if (HX_FIELD_EQ(inName,"get_position") ) { return get_position_dyn(); } - if (HX_FIELD_EQ(inName,"prependScale") ) { return prependScale_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"interpolateTo") ) { return interpolateTo_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"appendRotation") ) { return appendRotation_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"getAxisRotation") ) { return getAxisRotation_dyn(); } - if (HX_FIELD_EQ(inName,"get_determinant") ) { return get_determinant_dyn(); } - if (HX_FIELD_EQ(inName,"transformVector") ) { return transformVector_dyn(); } - if (HX_FIELD_EQ(inName,"prependRotation") ) { return prependRotation_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"transformVectors") ) { return transformVectors_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"appendTranslation") ) { return appendTranslation_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"prependTranslation") ) { return prependTranslation_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"deltaTransformVector") ) { return deltaTransformVector_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Matrix3D_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"rawData") ) { rawData=inValue.Cast< Array< Float > >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"position") ) { if (inCallProp) return set_position(inValue);position=inValue.Cast< ::native::geom::Vector3D >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"determinant") ) { determinant=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Matrix3D_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("rawData")); - outFields->push(HX_CSTRING("position")); - outFields->push(HX_CSTRING("determinant")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("create2D"), - HX_CSTRING("createABCD"), - HX_CSTRING("createOrtho"), - HX_CSTRING("getAxisRotation"), - HX_CSTRING("interpolate"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("set_position"), - HX_CSTRING("get_position"), - HX_CSTRING("get_determinant"), - HX_CSTRING("transpose"), - HX_CSTRING("transformVectors"), - HX_CSTRING("transformVector"), - HX_CSTRING("recompose"), - HX_CSTRING("prependTranslation"), - HX_CSTRING("prependScale"), - HX_CSTRING("prependRotation"), - HX_CSTRING("prepend"), - HX_CSTRING("invert"), - HX_CSTRING("interpolateTo"), - HX_CSTRING("identity"), - HX_CSTRING("deltaTransformVector"), - HX_CSTRING("decompose"), - HX_CSTRING("clone"), - HX_CSTRING("appendTranslation"), - HX_CSTRING("appendScale"), - HX_CSTRING("appendRotation"), - HX_CSTRING("append"), - HX_CSTRING("rawData"), - HX_CSTRING("position"), - HX_CSTRING("determinant"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Matrix3D_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Matrix3D_obj::__mClass,"__mClass"); -}; - -Class Matrix3D_obj::__mClass; - -void Matrix3D_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.geom.Matrix3D"), hx::TCanCast< Matrix3D_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Matrix3D_obj::__boot() -{ -} - -} // end namespace native -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/Point.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/Point.cpp deleted file mode 100644 index bbf7cf5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/Point.cpp +++ /dev/null @@ -1,303 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_native_geom_Point -#include -#endif -namespace native{ -namespace geom{ - -Void Point_obj::__construct(hx::Null< Float > __o_inX,hx::Null< Float > __o_inY) -{ -HX_STACK_PUSH("Point::new","native/geom/Point.hx",12); -Float inX = __o_inX.Default(0); -Float inY = __o_inY.Default(0); -{ - HX_STACK_LINE(14) - this->x = inX; - HX_STACK_LINE(15) - this->y = inY; -} -; - return null(); -} - -Point_obj::~Point_obj() { } - -Dynamic Point_obj::__CreateEmpty() { return new Point_obj; } -hx::ObjectPtr< Point_obj > Point_obj::__new(hx::Null< Float > __o_inX,hx::Null< Float > __o_inY) -{ hx::ObjectPtr< Point_obj > result = new Point_obj(); - result->__construct(__o_inX,__o_inY); - return result;} - -Dynamic Point_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Point_obj > result = new Point_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -Float Point_obj::get_length( ){ - HX_STACK_PUSH("Point::get_length","native/geom/Point.hx",110); - HX_STACK_THIS(this); - HX_STACK_LINE(110) - return ::Math_obj::sqrt(((this->x * this->x) + (this->y * this->y))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Point_obj,get_length,return ) - -::String Point_obj::toString( ){ - HX_STACK_PUSH("Point::toString","native/geom/Point.hx",96); - HX_STACK_THIS(this); - HX_STACK_LINE(96) - return ((((HX_CSTRING("(x=") + this->x) + HX_CSTRING(", y=")) + this->y) + HX_CSTRING(")")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Point_obj,toString,return ) - -::native::geom::Point Point_obj::subtract( ::native::geom::Point v){ - HX_STACK_PUSH("Point::subtract","native/geom/Point.hx",89); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(89) - return ::native::geom::Point_obj::__new((this->x - v->x),(this->y - v->y)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Point_obj,subtract,return ) - -Void Point_obj::offset( Float dx,Float dy){ -{ - HX_STACK_PUSH("Point::offset","native/geom/Point.hx",74); - HX_STACK_THIS(this); - HX_STACK_ARG(dx,"dx"); - HX_STACK_ARG(dy,"dy"); - HX_STACK_LINE(76) - hx::AddEq(this->x,dx); - HX_STACK_LINE(77) - hx::AddEq(this->y,dy); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Point_obj,offset,(void)) - -Void Point_obj::normalize( Float thickness){ -{ - HX_STACK_PUSH("Point::normalize","native/geom/Point.hx",57); - HX_STACK_THIS(this); - HX_STACK_ARG(thickness,"thickness"); - HX_STACK_LINE(57) - if (((bool((this->x == (int)0)) && bool((this->y == (int)0))))){ - HX_STACK_LINE(59) - return null(); - } - else{ - HX_STACK_LINE(65) - Float norm = (Float(thickness) / Float(::Math_obj::sqrt(((this->x * this->x) + (this->y * this->y))))); HX_STACK_VAR(norm,"norm"); - HX_STACK_LINE(66) - hx::MultEq(this->x,norm); - HX_STACK_LINE(67) - hx::MultEq(this->y,norm); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Point_obj,normalize,(void)) - -bool Point_obj::equals( ::native::geom::Point toCompare){ - HX_STACK_PUSH("Point::equals","native/geom/Point.hx",43); - HX_STACK_THIS(this); - HX_STACK_ARG(toCompare,"toCompare"); - HX_STACK_LINE(43) - return (bool((toCompare->x == this->x)) && bool((toCompare->y == this->y))); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Point_obj,equals,return ) - -::native::geom::Point Point_obj::clone( ){ - HX_STACK_PUSH("Point::clone","native/geom/Point.hx",27); - HX_STACK_THIS(this); - HX_STACK_LINE(27) - return ::native::geom::Point_obj::__new(this->x,this->y); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Point_obj,clone,return ) - -::native::geom::Point Point_obj::add( ::native::geom::Point v){ - HX_STACK_PUSH("Point::add","native/geom/Point.hx",20); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(20) - return ::native::geom::Point_obj::__new((v->x + this->x),(v->y + this->y)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Point_obj,add,return ) - -Float Point_obj::distance( ::native::geom::Point pt1,::native::geom::Point pt2){ - HX_STACK_PUSH("Point::distance","native/geom/Point.hx",34); - HX_STACK_ARG(pt1,"pt1"); - HX_STACK_ARG(pt2,"pt2"); - HX_STACK_LINE(36) - Float dx = (pt1->x - pt2->x); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(37) - Float dy = (pt1->y - pt2->y); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(38) - return ::Math_obj::sqrt(((dx * dx) + (dy * dy))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Point_obj,distance,return ) - -::native::geom::Point Point_obj::interpolate( ::native::geom::Point pt1,::native::geom::Point pt2,Float f){ - HX_STACK_PUSH("Point::interpolate","native/geom/Point.hx",50); - HX_STACK_ARG(pt1,"pt1"); - HX_STACK_ARG(pt2,"pt2"); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(50) - return ::native::geom::Point_obj::__new((pt2->x + (f * ((pt1->x - pt2->x)))),(pt2->y + (f * ((pt1->y - pt2->y))))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Point_obj,interpolate,return ) - -::native::geom::Point Point_obj::polar( Float len,Float angle){ - HX_STACK_PUSH("Point::polar","native/geom/Point.hx",82); - HX_STACK_ARG(len,"len"); - HX_STACK_ARG(angle,"angle"); - HX_STACK_LINE(82) - return ::native::geom::Point_obj::__new((len * ::Math_obj::cos(angle)),(len * ::Math_obj::sin(angle))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Point_obj,polar,return ) - - -Point_obj::Point_obj() -{ -} - -void Point_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Point); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(length,"length"); - HX_MARK_END_CLASS(); -} - -void Point_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(length,"length"); -} - -Dynamic Point_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 3: - if (HX_FIELD_EQ(inName,"add") ) { return add_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"polar") ) { return polar_dyn(); } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"offset") ) { return offset_dyn(); } - if (HX_FIELD_EQ(inName,"equals") ) { return equals_dyn(); } - if (HX_FIELD_EQ(inName,"length") ) { return inCallProp ? get_length() : length; } - break; - case 8: - if (HX_FIELD_EQ(inName,"distance") ) { return distance_dyn(); } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"subtract") ) { return subtract_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"normalize") ) { return normalize_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"get_length") ) { return get_length_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"interpolate") ) { return interpolate_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Point_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { length=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Point_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("length")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("distance"), - HX_CSTRING("interpolate"), - HX_CSTRING("polar"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("get_length"), - HX_CSTRING("toString"), - HX_CSTRING("subtract"), - HX_CSTRING("offset"), - HX_CSTRING("normalize"), - HX_CSTRING("equals"), - HX_CSTRING("clone"), - HX_CSTRING("add"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("length"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Point_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Point_obj::__mClass,"__mClass"); -}; - -Class Point_obj::__mClass; - -void Point_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.geom.Point"), hx::TCanCast< Point_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Point_obj::__boot() -{ -} - -} // end namespace native -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/Rectangle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/Rectangle.cpp deleted file mode 100644 index c047635..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/Rectangle.cpp +++ /dev/null @@ -1,791 +0,0 @@ -#include - -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -#ifndef INCLUDED_native_geom_Point -#include -#endif -#ifndef INCLUDED_native_geom_Rectangle -#include -#endif -namespace native{ -namespace geom{ - -Void Rectangle_obj::__construct(Dynamic inX,Dynamic inY,Dynamic inWidth,Dynamic inHeight) -{ -HX_STACK_PUSH("Rectangle::new","native/geom/Rectangle.hx",20); -{ - HX_STACK_LINE(22) - this->x = ( (((inX == null()))) ? Dynamic((int)0) : Dynamic(inX) ); - HX_STACK_LINE(23) - this->y = ( (((inY == null()))) ? Dynamic((int)0) : Dynamic(inY) ); - HX_STACK_LINE(24) - this->width = ( (((inWidth == null()))) ? Dynamic((int)0) : Dynamic(inWidth) ); - HX_STACK_LINE(25) - this->height = ( (((inHeight == null()))) ? Dynamic((int)0) : Dynamic(inHeight) ); -} -; - return null(); -} - -Rectangle_obj::~Rectangle_obj() { } - -Dynamic Rectangle_obj::__CreateEmpty() { return new Rectangle_obj; } -hx::ObjectPtr< Rectangle_obj > Rectangle_obj::__new(Dynamic inX,Dynamic inY,Dynamic inWidth,Dynamic inHeight) -{ hx::ObjectPtr< Rectangle_obj > result = new Rectangle_obj(); - result->__construct(inX,inY,inWidth,inHeight); - return result;} - -Dynamic Rectangle_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Rectangle_obj > result = new Rectangle_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -::native::geom::Point Rectangle_obj::set_topLeft( ::native::geom::Point p){ - HX_STACK_PUSH("Rectangle::set_topLeft","native/geom/Rectangle.hx",231); - HX_STACK_THIS(this); - HX_STACK_ARG(p,"p"); - HX_STACK_LINE(231) - this->x = p->x; - HX_STACK_LINE(231) - this->y = p->y; - HX_STACK_LINE(231) - return p->clone(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,set_topLeft,return ) - -::native::geom::Point Rectangle_obj::get_topLeft( ){ - HX_STACK_PUSH("Rectangle::get_topLeft","native/geom/Rectangle.hx",230); - HX_STACK_THIS(this); - HX_STACK_LINE(230) - return ::native::geom::Point_obj::__new(this->x,this->y); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,get_topLeft,return ) - -Float Rectangle_obj::set_top( Float t){ - HX_STACK_PUSH("Rectangle::set_top","native/geom/Rectangle.hx",229); - HX_STACK_THIS(this); - HX_STACK_ARG(t,"t"); - HX_STACK_LINE(229) - hx::SubEq(this->height,(t - this->y)); - HX_STACK_LINE(229) - this->y = t; - HX_STACK_LINE(229) - return t; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,set_top,return ) - -Float Rectangle_obj::get_top( ){ - HX_STACK_PUSH("Rectangle::get_top","native/geom/Rectangle.hx",228); - HX_STACK_THIS(this); - HX_STACK_LINE(228) - return this->y; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,get_top,return ) - -::native::geom::Point Rectangle_obj::set_size( ::native::geom::Point p){ - HX_STACK_PUSH("Rectangle::set_size","native/geom/Rectangle.hx",227); - HX_STACK_THIS(this); - HX_STACK_ARG(p,"p"); - HX_STACK_LINE(227) - this->width = p->x; - HX_STACK_LINE(227) - this->height = p->y; - HX_STACK_LINE(227) - return p->clone(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,set_size,return ) - -::native::geom::Point Rectangle_obj::get_size( ){ - HX_STACK_PUSH("Rectangle::get_size","native/geom/Rectangle.hx",226); - HX_STACK_THIS(this); - HX_STACK_LINE(226) - return ::native::geom::Point_obj::__new(this->width,this->height); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,get_size,return ) - -Float Rectangle_obj::set_right( Float r){ - HX_STACK_PUSH("Rectangle::set_right","native/geom/Rectangle.hx",225); - HX_STACK_THIS(this); - HX_STACK_ARG(r,"r"); - HX_STACK_LINE(225) - this->width = (r - this->x); - HX_STACK_LINE(225) - return r; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,set_right,return ) - -Float Rectangle_obj::get_right( ){ - HX_STACK_PUSH("Rectangle::get_right","native/geom/Rectangle.hx",224); - HX_STACK_THIS(this); - HX_STACK_LINE(224) - return (this->x + this->width); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,get_right,return ) - -Float Rectangle_obj::set_left( Float l){ - HX_STACK_PUSH("Rectangle::set_left","native/geom/Rectangle.hx",223); - HX_STACK_THIS(this); - HX_STACK_ARG(l,"l"); - HX_STACK_LINE(223) - hx::SubEq(this->width,(l - this->x)); - HX_STACK_LINE(223) - this->x = l; - HX_STACK_LINE(223) - return l; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,set_left,return ) - -Float Rectangle_obj::get_left( ){ - HX_STACK_PUSH("Rectangle::get_left","native/geom/Rectangle.hx",222); - HX_STACK_THIS(this); - HX_STACK_LINE(222) - return this->x; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,get_left,return ) - -::native::geom::Point Rectangle_obj::set_bottomRight( ::native::geom::Point p){ - HX_STACK_PUSH("Rectangle::set_bottomRight","native/geom/Rectangle.hx",221); - HX_STACK_THIS(this); - HX_STACK_ARG(p,"p"); - HX_STACK_LINE(221) - this->width = (p->x - this->x); - HX_STACK_LINE(221) - this->height = (p->y - this->y); - HX_STACK_LINE(221) - return p->clone(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,set_bottomRight,return ) - -::native::geom::Point Rectangle_obj::get_bottomRight( ){ - HX_STACK_PUSH("Rectangle::get_bottomRight","native/geom/Rectangle.hx",220); - HX_STACK_THIS(this); - HX_STACK_LINE(220) - return ::native::geom::Point_obj::__new((this->x + this->width),(this->y + this->height)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,get_bottomRight,return ) - -Float Rectangle_obj::set_bottom( Float b){ - HX_STACK_PUSH("Rectangle::set_bottom","native/geom/Rectangle.hx",219); - HX_STACK_THIS(this); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(219) - this->height = (b - this->y); - HX_STACK_LINE(219) - return b; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,set_bottom,return ) - -Float Rectangle_obj::get_bottom( ){ - HX_STACK_PUSH("Rectangle::get_bottom","native/geom/Rectangle.hx",218); - HX_STACK_THIS(this); - HX_STACK_LINE(218) - return (this->y + this->height); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,get_bottom,return ) - -::native::geom::Rectangle Rectangle_obj::_union( ::native::geom::Rectangle toUnion){ - HX_STACK_PUSH("Rectangle::union","native/geom/Rectangle.hx",200); - HX_STACK_THIS(this); - HX_STACK_ARG(toUnion,"toUnion"); - HX_STACK_LINE(202) - Float x0 = ( (((this->x > toUnion->x))) ? Float(toUnion->x) : Float(this->x) ); HX_STACK_VAR(x0,"x0"); - HX_STACK_LINE(203) - Float x1 = ( (((this->get_right() < toUnion->get_right()))) ? Float(toUnion->get_right()) : Float(this->get_right()) ); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(204) - Float y0 = ( (((this->y > toUnion->y))) ? Float(toUnion->y) : Float(this->y) ); HX_STACK_VAR(y0,"y0"); - HX_STACK_LINE(205) - Float y1 = ( (((this->get_bottom() < toUnion->get_bottom()))) ? Float(toUnion->get_bottom()) : Float(this->get_bottom()) ); HX_STACK_VAR(y1,"y1"); - HX_STACK_LINE(206) - return ::native::geom::Rectangle_obj::__new(x0,y0,(x1 - x0),(y1 - y0)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,_union,return ) - -::native::geom::Rectangle Rectangle_obj::transform( ::native::geom::Matrix m){ - HX_STACK_PUSH("Rectangle::transform","native/geom/Rectangle.hx",167); - HX_STACK_THIS(this); - HX_STACK_ARG(m,"m"); - HX_STACK_LINE(169) - Float tx0 = ((m->a * this->x) + (m->c * this->y)); HX_STACK_VAR(tx0,"tx0"); - HX_STACK_LINE(170) - Float tx1 = tx0; HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(171) - Float ty0 = ((m->b * this->x) + (m->d * this->y)); HX_STACK_VAR(ty0,"ty0"); - HX_STACK_LINE(172) - Float ty1 = tx0; HX_STACK_VAR(ty1,"ty1"); - HX_STACK_LINE(174) - Float tx = ((m->a * ((this->x + this->width))) + (m->c * this->y)); HX_STACK_VAR(tx,"tx"); - HX_STACK_LINE(175) - Float ty = ((m->b * ((this->x + this->width))) + (m->d * this->y)); HX_STACK_VAR(ty,"ty"); - HX_STACK_LINE(176) - if (((tx < tx0))){ - HX_STACK_LINE(176) - tx0 = tx; - } - HX_STACK_LINE(177) - if (((ty < ty0))){ - HX_STACK_LINE(177) - ty0 = ty; - } - HX_STACK_LINE(178) - if (((tx > tx1))){ - HX_STACK_LINE(178) - tx1 = tx; - } - HX_STACK_LINE(179) - if (((ty > ty1))){ - HX_STACK_LINE(179) - ty1 = ty; - } - HX_STACK_LINE(181) - tx = ((m->a * ((this->x + this->width))) + (m->c * ((this->y + this->height)))); - HX_STACK_LINE(182) - ty = ((m->b * ((this->x + this->width))) + (m->d * ((this->y + this->height)))); - HX_STACK_LINE(183) - if (((tx < tx0))){ - HX_STACK_LINE(183) - tx0 = tx; - } - HX_STACK_LINE(184) - if (((ty < ty0))){ - HX_STACK_LINE(184) - ty0 = ty; - } - HX_STACK_LINE(185) - if (((tx > tx1))){ - HX_STACK_LINE(185) - tx1 = tx; - } - HX_STACK_LINE(186) - if (((ty > ty1))){ - HX_STACK_LINE(186) - ty1 = ty; - } - HX_STACK_LINE(188) - tx = ((m->a * this->x) + (m->c * ((this->y + this->height)))); - HX_STACK_LINE(189) - ty = ((m->b * this->x) + (m->d * ((this->y + this->height)))); - HX_STACK_LINE(190) - if (((tx < tx0))){ - HX_STACK_LINE(190) - tx0 = tx; - } - HX_STACK_LINE(191) - if (((ty < ty0))){ - HX_STACK_LINE(191) - ty0 = ty; - } - HX_STACK_LINE(192) - if (((tx > tx1))){ - HX_STACK_LINE(192) - tx1 = tx; - } - HX_STACK_LINE(193) - if (((ty > ty1))){ - HX_STACK_LINE(193) - ty1 = ty; - } - HX_STACK_LINE(195) - return ::native::geom::Rectangle_obj::__new((tx0 + m->tx),(ty0 + m->ty),(tx1 - tx0),(ty1 - ty0)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,transform,return ) - -Void Rectangle_obj::setEmpty( ){ -{ - HX_STACK_PUSH("Rectangle::setEmpty","native/geom/Rectangle.hx",160); - HX_STACK_THIS(this); - HX_STACK_LINE(160) - this->x = this->y = this->width = this->height = (int)0; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,setEmpty,(void)) - -Void Rectangle_obj::offsetPoint( ::native::geom::Point point){ -{ - HX_STACK_PUSH("Rectangle::offsetPoint","native/geom/Rectangle.hx",152); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(154) - hx::AddEq(this->x,point->x); - HX_STACK_LINE(155) - hx::AddEq(this->y,point->y); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,offsetPoint,(void)) - -Void Rectangle_obj::offset( Float dx,Float dy){ -{ - HX_STACK_PUSH("Rectangle::offset","native/geom/Rectangle.hx",144); - HX_STACK_THIS(this); - HX_STACK_ARG(dx,"dx"); - HX_STACK_ARG(dy,"dy"); - HX_STACK_LINE(146) - hx::AddEq(this->x,dx); - HX_STACK_LINE(147) - hx::AddEq(this->y,dy); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Rectangle_obj,offset,(void)) - -bool Rectangle_obj::isEmpty( ){ - HX_STACK_PUSH("Rectangle::isEmpty","native/geom/Rectangle.hx",137); - HX_STACK_THIS(this); - HX_STACK_LINE(137) - return (bool((this->width == (int)0)) && bool((this->height == (int)0))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,isEmpty,return ) - -bool Rectangle_obj::intersects( ::native::geom::Rectangle toIntersect){ - HX_STACK_PUSH("Rectangle::intersects","native/geom/Rectangle.hx",123); - HX_STACK_THIS(this); - HX_STACK_ARG(toIntersect,"toIntersect"); - HX_STACK_LINE(125) - Float x0 = ( (((this->x < toIntersect->x))) ? Float(toIntersect->x) : Float(this->x) ); HX_STACK_VAR(x0,"x0"); - HX_STACK_LINE(126) - Float x1 = ( (((this->get_right() > toIntersect->get_right()))) ? Float(toIntersect->get_right()) : Float(this->get_right()) ); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(127) - if (((x1 <= x0))){ - HX_STACK_LINE(128) - return false; - } - HX_STACK_LINE(130) - Float y0 = ( (((this->y < toIntersect->y))) ? Float(toIntersect->y) : Float(this->y) ); HX_STACK_VAR(y0,"y0"); - HX_STACK_LINE(131) - Float y1 = ( (((this->get_bottom() > toIntersect->get_bottom()))) ? Float(toIntersect->get_bottom()) : Float(this->get_bottom()) ); HX_STACK_VAR(y1,"y1"); - HX_STACK_LINE(132) - return (y1 > y0); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,intersects,return ) - -::native::geom::Rectangle Rectangle_obj::intersection( ::native::geom::Rectangle toIntersect){ - HX_STACK_PUSH("Rectangle::intersection","native/geom/Rectangle.hx",107); - HX_STACK_THIS(this); - HX_STACK_ARG(toIntersect,"toIntersect"); - HX_STACK_LINE(109) - Float x0 = ( (((this->x < toIntersect->x))) ? Float(toIntersect->x) : Float(this->x) ); HX_STACK_VAR(x0,"x0"); - HX_STACK_LINE(110) - Float x1 = ( (((this->get_right() > toIntersect->get_right()))) ? Float(toIntersect->get_right()) : Float(this->get_right()) ); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(111) - if (((x1 <= x0))){ - HX_STACK_LINE(112) - return ::native::geom::Rectangle_obj::__new(null(),null(),null(),null()); - } - HX_STACK_LINE(114) - Float y0 = ( (((this->y < toIntersect->y))) ? Float(toIntersect->y) : Float(this->y) ); HX_STACK_VAR(y0,"y0"); - HX_STACK_LINE(115) - Float y1 = ( (((this->get_bottom() > toIntersect->get_bottom()))) ? Float(toIntersect->get_bottom()) : Float(this->get_bottom()) ); HX_STACK_VAR(y1,"y1"); - HX_STACK_LINE(116) - if (((y1 <= y0))){ - HX_STACK_LINE(117) - return ::native::geom::Rectangle_obj::__new(null(),null(),null(),null()); - } - HX_STACK_LINE(119) - return ::native::geom::Rectangle_obj::__new(x0,y0,(x1 - x0),(y1 - y0)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,intersection,return ) - -Void Rectangle_obj::inflatePoint( ::native::geom::Point point){ -{ - HX_STACK_PUSH("Rectangle::inflatePoint","native/geom/Rectangle.hx",100); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(100) - this->inflate(point->x,point->y); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,inflatePoint,(void)) - -Void Rectangle_obj::inflate( Float dx,Float dy){ -{ - HX_STACK_PUSH("Rectangle::inflate","native/geom/Rectangle.hx",92); - HX_STACK_THIS(this); - HX_STACK_ARG(dx,"dx"); - HX_STACK_ARG(dy,"dy"); - HX_STACK_LINE(94) - hx::SubEq(this->x,dx); - HX_STACK_LINE(94) - hx::AddEq(this->width,(dx * (int)2)); - HX_STACK_LINE(95) - hx::SubEq(this->y,dy); - HX_STACK_LINE(95) - hx::AddEq(this->height,(dy * (int)2)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Rectangle_obj,inflate,(void)) - -Void Rectangle_obj::extendBounds( ::native::geom::Rectangle r){ -{ - HX_STACK_PUSH("Rectangle::extendBounds","native/geom/Rectangle.hx",65); - HX_STACK_THIS(this); - HX_STACK_ARG(r,"r"); - HX_STACK_LINE(67) - Float dx = (this->x - r->x); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(68) - if (((dx > (int)0))){ - HX_STACK_LINE(70) - hx::SubEq(this->x,dx); - HX_STACK_LINE(71) - hx::AddEq(this->width,dx); - } - HX_STACK_LINE(75) - Float dy = (this->y - r->y); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(76) - if (((dy > (int)0))){ - HX_STACK_LINE(78) - hx::SubEq(this->y,dy); - HX_STACK_LINE(79) - hx::AddEq(this->height,dy); - } - HX_STACK_LINE(83) - if (((r->get_right() > this->get_right()))){ - HX_STACK_LINE(84) - this->set_right(r->get_right()); - } - HX_STACK_LINE(86) - if (((r->get_bottom() > this->get_bottom()))){ - HX_STACK_LINE(87) - this->set_bottom(r->get_bottom()); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,extendBounds,(void)) - -bool Rectangle_obj::equals( ::native::geom::Rectangle toCompare){ - HX_STACK_PUSH("Rectangle::equals","native/geom/Rectangle.hx",58); - HX_STACK_THIS(this); - HX_STACK_ARG(toCompare,"toCompare"); - HX_STACK_LINE(58) - return (bool((bool((bool((this->x == toCompare->x)) && bool((this->y == toCompare->y)))) && bool((this->width == toCompare->width)))) && bool((this->height == toCompare->height))); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,equals,return ) - -bool Rectangle_obj::containsRect( ::native::geom::Rectangle rect){ - HX_STACK_PUSH("Rectangle::containsRect","native/geom/Rectangle.hx",51); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_LINE(51) - return (bool(this->contains(rect->x,rect->y)) && bool(this->containsPoint(rect->get_bottomRight()))); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,containsRect,return ) - -bool Rectangle_obj::containsPoint( ::native::geom::Point point){ - HX_STACK_PUSH("Rectangle::containsPoint","native/geom/Rectangle.hx",44); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(44) - return this->contains(point->x,point->y); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,containsPoint,return ) - -bool Rectangle_obj::contains( Float inX,Float inY){ - HX_STACK_PUSH("Rectangle::contains","native/geom/Rectangle.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(37) - return (bool((bool((bool((inX >= this->x)) && bool((inY >= this->y)))) && bool((inX < this->get_right())))) && bool((inY < this->get_bottom()))); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Rectangle_obj,contains,return ) - -::native::geom::Rectangle Rectangle_obj::clone( ){ - HX_STACK_PUSH("Rectangle::clone","native/geom/Rectangle.hx",30); - HX_STACK_THIS(this); - HX_STACK_LINE(30) - return ::native::geom::Rectangle_obj::__new(this->x,this->y,this->width,this->height); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,clone,return ) - - -Rectangle_obj::Rectangle_obj() -{ -} - -void Rectangle_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Rectangle); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(width,"width"); - HX_MARK_MEMBER_NAME(topLeft,"topLeft"); - HX_MARK_MEMBER_NAME(top,"top"); - HX_MARK_MEMBER_NAME(size,"size"); - HX_MARK_MEMBER_NAME(right,"right"); - HX_MARK_MEMBER_NAME(left,"left"); - HX_MARK_MEMBER_NAME(height,"height"); - HX_MARK_MEMBER_NAME(bottomRight,"bottomRight"); - HX_MARK_MEMBER_NAME(bottom,"bottom"); - HX_MARK_END_CLASS(); -} - -void Rectangle_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(width,"width"); - HX_VISIT_MEMBER_NAME(topLeft,"topLeft"); - HX_VISIT_MEMBER_NAME(top,"top"); - HX_VISIT_MEMBER_NAME(size,"size"); - HX_VISIT_MEMBER_NAME(right,"right"); - HX_VISIT_MEMBER_NAME(left,"left"); - HX_VISIT_MEMBER_NAME(height,"height"); - HX_VISIT_MEMBER_NAME(bottomRight,"bottomRight"); - HX_VISIT_MEMBER_NAME(bottom,"bottom"); -} - -Dynamic Rectangle_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 3: - if (HX_FIELD_EQ(inName,"top") ) { return inCallProp ? get_top() : top; } - break; - case 4: - if (HX_FIELD_EQ(inName,"size") ) { return inCallProp ? get_size() : size; } - if (HX_FIELD_EQ(inName,"left") ) { return inCallProp ? get_left() : left; } - break; - case 5: - if (HX_FIELD_EQ(inName,"union") ) { return _union_dyn(); } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - if (HX_FIELD_EQ(inName,"width") ) { return width; } - if (HX_FIELD_EQ(inName,"right") ) { return inCallProp ? get_right() : right; } - break; - case 6: - if (HX_FIELD_EQ(inName,"offset") ) { return offset_dyn(); } - if (HX_FIELD_EQ(inName,"equals") ) { return equals_dyn(); } - if (HX_FIELD_EQ(inName,"height") ) { return height; } - if (HX_FIELD_EQ(inName,"bottom") ) { return inCallProp ? get_bottom() : bottom; } - break; - case 7: - if (HX_FIELD_EQ(inName,"set_top") ) { return set_top_dyn(); } - if (HX_FIELD_EQ(inName,"get_top") ) { return get_top_dyn(); } - if (HX_FIELD_EQ(inName,"isEmpty") ) { return isEmpty_dyn(); } - if (HX_FIELD_EQ(inName,"inflate") ) { return inflate_dyn(); } - if (HX_FIELD_EQ(inName,"topLeft") ) { return inCallProp ? get_topLeft() : topLeft; } - break; - case 8: - if (HX_FIELD_EQ(inName,"set_size") ) { return set_size_dyn(); } - if (HX_FIELD_EQ(inName,"get_size") ) { return get_size_dyn(); } - if (HX_FIELD_EQ(inName,"set_left") ) { return set_left_dyn(); } - if (HX_FIELD_EQ(inName,"get_left") ) { return get_left_dyn(); } - if (HX_FIELD_EQ(inName,"setEmpty") ) { return setEmpty_dyn(); } - if (HX_FIELD_EQ(inName,"contains") ) { return contains_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"set_right") ) { return set_right_dyn(); } - if (HX_FIELD_EQ(inName,"get_right") ) { return get_right_dyn(); } - if (HX_FIELD_EQ(inName,"transform") ) { return transform_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"set_bottom") ) { return set_bottom_dyn(); } - if (HX_FIELD_EQ(inName,"get_bottom") ) { return get_bottom_dyn(); } - if (HX_FIELD_EQ(inName,"intersects") ) { return intersects_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"set_topLeft") ) { return set_topLeft_dyn(); } - if (HX_FIELD_EQ(inName,"get_topLeft") ) { return get_topLeft_dyn(); } - if (HX_FIELD_EQ(inName,"offsetPoint") ) { return offsetPoint_dyn(); } - if (HX_FIELD_EQ(inName,"bottomRight") ) { return inCallProp ? get_bottomRight() : bottomRight; } - break; - case 12: - if (HX_FIELD_EQ(inName,"intersection") ) { return intersection_dyn(); } - if (HX_FIELD_EQ(inName,"inflatePoint") ) { return inflatePoint_dyn(); } - if (HX_FIELD_EQ(inName,"extendBounds") ) { return extendBounds_dyn(); } - if (HX_FIELD_EQ(inName,"containsRect") ) { return containsRect_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"containsPoint") ) { return containsPoint_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"set_bottomRight") ) { return set_bottomRight_dyn(); } - if (HX_FIELD_EQ(inName,"get_bottomRight") ) { return get_bottomRight_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Rectangle_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"top") ) { if (inCallProp) return set_top(inValue);top=inValue.Cast< Float >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"size") ) { if (inCallProp) return set_size(inValue);size=inValue.Cast< ::native::geom::Point >(); return inValue; } - if (HX_FIELD_EQ(inName,"left") ) { if (inCallProp) return set_left(inValue);left=inValue.Cast< Float >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"width") ) { width=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"right") ) { if (inCallProp) return set_right(inValue);right=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"height") ) { height=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"bottom") ) { if (inCallProp) return set_bottom(inValue);bottom=inValue.Cast< Float >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"topLeft") ) { if (inCallProp) return set_topLeft(inValue);topLeft=inValue.Cast< ::native::geom::Point >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"bottomRight") ) { if (inCallProp) return set_bottomRight(inValue);bottomRight=inValue.Cast< ::native::geom::Point >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Rectangle_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("width")); - outFields->push(HX_CSTRING("topLeft")); - outFields->push(HX_CSTRING("top")); - outFields->push(HX_CSTRING("size")); - outFields->push(HX_CSTRING("right")); - outFields->push(HX_CSTRING("left")); - outFields->push(HX_CSTRING("height")); - outFields->push(HX_CSTRING("bottomRight")); - outFields->push(HX_CSTRING("bottom")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("set_topLeft"), - HX_CSTRING("get_topLeft"), - HX_CSTRING("set_top"), - HX_CSTRING("get_top"), - HX_CSTRING("set_size"), - HX_CSTRING("get_size"), - HX_CSTRING("set_right"), - HX_CSTRING("get_right"), - HX_CSTRING("set_left"), - HX_CSTRING("get_left"), - HX_CSTRING("set_bottomRight"), - HX_CSTRING("get_bottomRight"), - HX_CSTRING("set_bottom"), - HX_CSTRING("get_bottom"), - HX_CSTRING("union"), - HX_CSTRING("transform"), - HX_CSTRING("setEmpty"), - HX_CSTRING("offsetPoint"), - HX_CSTRING("offset"), - HX_CSTRING("isEmpty"), - HX_CSTRING("intersects"), - HX_CSTRING("intersection"), - HX_CSTRING("inflatePoint"), - HX_CSTRING("inflate"), - HX_CSTRING("extendBounds"), - HX_CSTRING("equals"), - HX_CSTRING("containsRect"), - HX_CSTRING("containsPoint"), - HX_CSTRING("contains"), - HX_CSTRING("clone"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("width"), - HX_CSTRING("topLeft"), - HX_CSTRING("top"), - HX_CSTRING("size"), - HX_CSTRING("right"), - HX_CSTRING("left"), - HX_CSTRING("height"), - HX_CSTRING("bottomRight"), - HX_CSTRING("bottom"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Rectangle_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Rectangle_obj::__mClass,"__mClass"); -}; - -Class Rectangle_obj::__mClass; - -void Rectangle_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.geom.Rectangle"), hx::TCanCast< Rectangle_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Rectangle_obj::__boot() -{ -} - -} // end namespace native -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/Transform.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/Transform.cpp deleted file mode 100644 index 2e5ca76..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/Transform.cpp +++ /dev/null @@ -1,268 +0,0 @@ -#include - -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_native_geom_Matrix -#include -#endif -#ifndef INCLUDED_native_geom_Rectangle -#include -#endif -#ifndef INCLUDED_native_geom_Transform -#include -#endif -namespace native{ -namespace geom{ - -Void Transform_obj::__construct(::native::display::DisplayObject inParent) -{ -HX_STACK_PUSH("Transform::new","native/geom/Transform.hx",19); -{ - HX_STACK_LINE(19) - this->nmeObj = inParent; -} -; - return null(); -} - -Transform_obj::~Transform_obj() { } - -Dynamic Transform_obj::__CreateEmpty() { return new Transform_obj; } -hx::ObjectPtr< Transform_obj > Transform_obj::__new(::native::display::DisplayObject inParent) -{ hx::ObjectPtr< Transform_obj > result = new Transform_obj(); - result->__construct(inParent); - return result;} - -Dynamic Transform_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Transform_obj > result = new Transform_obj(); - result->__construct(inArgs[0]); - return result;} - -::native::geom::Rectangle Transform_obj::get_pixelBounds( ){ - HX_STACK_PUSH("Transform::get_pixelBounds","native/geom/Transform.hx",39); - HX_STACK_THIS(this); - HX_STACK_LINE(39) - return this->nmeObj->nmeGetPixelBounds(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,get_pixelBounds,return ) - -::native::geom::Matrix Transform_obj::set_matrix( ::native::geom::Matrix inMatrix){ - HX_STACK_PUSH("Transform::set_matrix","native/geom/Transform.hx",38); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_LINE(38) - this->nmeObj->nmeSetMatrix(inMatrix); - HX_STACK_LINE(38) - return inMatrix; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Transform_obj,set_matrix,return ) - -::native::geom::Matrix Transform_obj::get_matrix( ){ - HX_STACK_PUSH("Transform::get_matrix","native/geom/Transform.hx",37); - HX_STACK_THIS(this); - HX_STACK_LINE(37) - return this->nmeObj->nmeGetMatrix(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,get_matrix,return ) - -::native::geom::Matrix Transform_obj::get_concatenatedMatrix( ){ - HX_STACK_PUSH("Transform::get_concatenatedMatrix","native/geom/Transform.hx",36); - HX_STACK_THIS(this); - HX_STACK_LINE(36) - return this->nmeObj->nmeGetConcatenatedMatrix(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,get_concatenatedMatrix,return ) - -::native::geom::ColorTransform Transform_obj::get_concatenatedColorTransform( ){ - HX_STACK_PUSH("Transform::get_concatenatedColorTransform","native/geom/Transform.hx",35); - HX_STACK_THIS(this); - HX_STACK_LINE(35) - return this->nmeObj->nmeGetConcatenatedColorTransform(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,get_concatenatedColorTransform,return ) - -::native::geom::ColorTransform Transform_obj::set_colorTransform( ::native::geom::ColorTransform inTrans){ - HX_STACK_PUSH("Transform::set_colorTransform","native/geom/Transform.hx",34); - HX_STACK_THIS(this); - HX_STACK_ARG(inTrans,"inTrans"); - HX_STACK_LINE(34) - this->nmeObj->nmeSetColorTransform(inTrans); - HX_STACK_LINE(34) - return inTrans; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Transform_obj,set_colorTransform,return ) - -::native::geom::ColorTransform Transform_obj::get_colorTransform( ){ - HX_STACK_PUSH("Transform::get_colorTransform","native/geom/Transform.hx",33); - HX_STACK_THIS(this); - HX_STACK_LINE(33) - return this->nmeObj->nmeGetColorTransform(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,get_colorTransform,return ) - - -Transform_obj::Transform_obj() -{ -} - -void Transform_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Transform); - HX_MARK_MEMBER_NAME(nmeObj,"nmeObj"); - HX_MARK_MEMBER_NAME(pixelBounds,"pixelBounds"); - HX_MARK_MEMBER_NAME(matrix,"matrix"); - HX_MARK_MEMBER_NAME(concatenatedMatrix,"concatenatedMatrix"); - HX_MARK_MEMBER_NAME(concatenatedColorTransform,"concatenatedColorTransform"); - HX_MARK_MEMBER_NAME(colorTransform,"colorTransform"); - HX_MARK_END_CLASS(); -} - -void Transform_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeObj,"nmeObj"); - HX_VISIT_MEMBER_NAME(pixelBounds,"pixelBounds"); - HX_VISIT_MEMBER_NAME(matrix,"matrix"); - HX_VISIT_MEMBER_NAME(concatenatedMatrix,"concatenatedMatrix"); - HX_VISIT_MEMBER_NAME(concatenatedColorTransform,"concatenatedColorTransform"); - HX_VISIT_MEMBER_NAME(colorTransform,"colorTransform"); -} - -Dynamic Transform_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"nmeObj") ) { return nmeObj; } - if (HX_FIELD_EQ(inName,"matrix") ) { return inCallProp ? get_matrix() : matrix; } - break; - case 10: - if (HX_FIELD_EQ(inName,"set_matrix") ) { return set_matrix_dyn(); } - if (HX_FIELD_EQ(inName,"get_matrix") ) { return get_matrix_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"pixelBounds") ) { return inCallProp ? get_pixelBounds() : pixelBounds; } - break; - case 14: - if (HX_FIELD_EQ(inName,"colorTransform") ) { return inCallProp ? get_colorTransform() : colorTransform; } - break; - case 15: - if (HX_FIELD_EQ(inName,"get_pixelBounds") ) { return get_pixelBounds_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"set_colorTransform") ) { return set_colorTransform_dyn(); } - if (HX_FIELD_EQ(inName,"get_colorTransform") ) { return get_colorTransform_dyn(); } - if (HX_FIELD_EQ(inName,"concatenatedMatrix") ) { return inCallProp ? get_concatenatedMatrix() : concatenatedMatrix; } - break; - case 22: - if (HX_FIELD_EQ(inName,"get_concatenatedMatrix") ) { return get_concatenatedMatrix_dyn(); } - break; - case 26: - if (HX_FIELD_EQ(inName,"concatenatedColorTransform") ) { return inCallProp ? get_concatenatedColorTransform() : concatenatedColorTransform; } - break; - case 30: - if (HX_FIELD_EQ(inName,"get_concatenatedColorTransform") ) { return get_concatenatedColorTransform_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Transform_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"nmeObj") ) { nmeObj=inValue.Cast< ::native::display::DisplayObject >(); return inValue; } - if (HX_FIELD_EQ(inName,"matrix") ) { if (inCallProp) return set_matrix(inValue);matrix=inValue.Cast< ::native::geom::Matrix >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"pixelBounds") ) { pixelBounds=inValue.Cast< ::native::geom::Rectangle >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"colorTransform") ) { if (inCallProp) return set_colorTransform(inValue);colorTransform=inValue.Cast< ::native::geom::ColorTransform >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"concatenatedMatrix") ) { concatenatedMatrix=inValue.Cast< ::native::geom::Matrix >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"concatenatedColorTransform") ) { concatenatedColorTransform=inValue.Cast< ::native::geom::ColorTransform >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Transform_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeObj")); - outFields->push(HX_CSTRING("pixelBounds")); - outFields->push(HX_CSTRING("matrix")); - outFields->push(HX_CSTRING("concatenatedMatrix")); - outFields->push(HX_CSTRING("concatenatedColorTransform")); - outFields->push(HX_CSTRING("colorTransform")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("get_pixelBounds"), - HX_CSTRING("set_matrix"), - HX_CSTRING("get_matrix"), - HX_CSTRING("get_concatenatedMatrix"), - HX_CSTRING("get_concatenatedColorTransform"), - HX_CSTRING("set_colorTransform"), - HX_CSTRING("get_colorTransform"), - HX_CSTRING("nmeObj"), - HX_CSTRING("pixelBounds"), - HX_CSTRING("matrix"), - HX_CSTRING("concatenatedMatrix"), - HX_CSTRING("concatenatedColorTransform"), - HX_CSTRING("colorTransform"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Transform_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Transform_obj::__mClass,"__mClass"); -}; - -Class Transform_obj::__mClass; - -void Transform_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.geom.Transform"), hx::TCanCast< Transform_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Transform_obj::__boot() -{ -} - -} // end namespace native -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/Vector3D.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/Vector3D.cpp deleted file mode 100644 index 70f3db0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/geom/Vector3D.cpp +++ /dev/null @@ -1,550 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_native_geom_Vector3D -#include -#endif -namespace native{ -namespace geom{ - -Void Vector3D_obj::__construct(Dynamic __o_x,Dynamic __o_y,Dynamic __o_z,Dynamic __o_w) -{ -HX_STACK_PUSH("Vector3D::new","native/geom/Vector3D.hx",19); -Dynamic x = __o_x.Default(0.); -Dynamic y = __o_y.Default(0.); -Dynamic z = __o_z.Default(0.); -Dynamic w = __o_w.Default(0.); -{ - HX_STACK_LINE(21) - this->w = w; - HX_STACK_LINE(22) - this->x = x; - HX_STACK_LINE(23) - this->y = y; - HX_STACK_LINE(24) - this->z = z; -} -; - return null(); -} - -Vector3D_obj::~Vector3D_obj() { } - -Dynamic Vector3D_obj::__CreateEmpty() { return new Vector3D_obj; } -hx::ObjectPtr< Vector3D_obj > Vector3D_obj::__new(Dynamic __o_x,Dynamic __o_y,Dynamic __o_z,Dynamic __o_w) -{ hx::ObjectPtr< Vector3D_obj > result = new Vector3D_obj(); - result->__construct(__o_x,__o_y,__o_z,__o_w); - return result;} - -Dynamic Vector3D_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Vector3D_obj > result = new Vector3D_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -Float Vector3D_obj::get_lengthSquared( ){ - HX_STACK_PUSH("Vector3D::get_lengthSquared","native/geom/Vector3D.hx",175); - HX_STACK_THIS(this); - HX_STACK_LINE(175) - return (((this->x * this->x) + (this->y * this->y)) + (this->z * this->z)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Vector3D_obj,get_lengthSquared,return ) - -Float Vector3D_obj::get_length( ){ - HX_STACK_PUSH("Vector3D::get_length","native/geom/Vector3D.hx",174); - HX_STACK_THIS(this); - HX_STACK_LINE(174) - return ::Math_obj::sqrt((((this->x * this->x) + (this->y * this->y)) + (this->z * this->z))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Vector3D_obj,get_length,return ) - -::String Vector3D_obj::toString( ){ - HX_STACK_PUSH("Vector3D::toString","native/geom/Vector3D.hx",160); - HX_STACK_THIS(this); - HX_STACK_LINE(160) - return ((((((HX_CSTRING("Vector3D(") + this->x) + HX_CSTRING(", ")) + this->y) + HX_CSTRING(", ")) + this->z) + HX_CSTRING(")")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Vector3D_obj,toString,return ) - -::native::geom::Vector3D Vector3D_obj::subtract( ::native::geom::Vector3D a){ - HX_STACK_PUSH("Vector3D::subtract","native/geom/Vector3D.hx",153); - HX_STACK_THIS(this); - HX_STACK_ARG(a,"a"); - HX_STACK_LINE(153) - return ::native::geom::Vector3D_obj::__new((this->x - a->x),(this->y - a->y),(this->z - a->z),null()); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Vector3D_obj,subtract,return ) - -Void Vector3D_obj::scaleBy( Float s){ -{ - HX_STACK_PUSH("Vector3D::scaleBy","native/geom/Vector3D.hx",144); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(146) - hx::MultEq(this->x,s); - HX_STACK_LINE(147) - hx::MultEq(this->y,s); - HX_STACK_LINE(148) - hx::MultEq(this->z,s); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Vector3D_obj,scaleBy,(void)) - -Void Vector3D_obj::project( ){ -{ - HX_STACK_PUSH("Vector3D::project","native/geom/Vector3D.hx",135); - HX_STACK_THIS(this); - HX_STACK_LINE(137) - hx::DivEq(this->x,this->w); - HX_STACK_LINE(138) - hx::DivEq(this->y,this->w); - HX_STACK_LINE(139) - hx::DivEq(this->z,this->w); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Vector3D_obj,project,(void)) - -Float Vector3D_obj::normalize( ){ - HX_STACK_PUSH("Vector3D::normalize","native/geom/Vector3D.hx",120); - HX_STACK_THIS(this); - HX_STACK_LINE(122) - Float l = ::Math_obj::sqrt((((this->x * this->x) + (this->y * this->y)) + (this->z * this->z))); HX_STACK_VAR(l,"l"); - HX_STACK_LINE(124) - if (((l != (int)0))){ - HX_STACK_LINE(125) - hx::DivEq(this->x,l); - HX_STACK_LINE(126) - hx::DivEq(this->y,l); - HX_STACK_LINE(127) - hx::DivEq(this->z,l); - } - HX_STACK_LINE(130) - return l; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Vector3D_obj,normalize,return ) - -Void Vector3D_obj::negate( ){ -{ - HX_STACK_PUSH("Vector3D::negate","native/geom/Vector3D.hx",111); - HX_STACK_THIS(this); - HX_STACK_LINE(113) - hx::MultEq(this->x,(int)-1); - HX_STACK_LINE(114) - hx::MultEq(this->y,(int)-1); - HX_STACK_LINE(115) - hx::MultEq(this->z,(int)-1); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Vector3D_obj,negate,(void)) - -bool Vector3D_obj::nearEquals( ::native::geom::Vector3D toCompare,Float tolerance,Dynamic __o_allFour){ -Dynamic allFour = __o_allFour.Default(false); - HX_STACK_PUSH("Vector3D::nearEquals","native/geom/Vector3D.hx",104); - HX_STACK_THIS(this); - HX_STACK_ARG(toCompare,"toCompare"); - HX_STACK_ARG(tolerance,"tolerance"); - HX_STACK_ARG(allFour,"allFour"); -{ - HX_STACK_LINE(104) - return (bool((bool((bool((::Math_obj::abs((this->x - toCompare->x)) < tolerance)) && bool((::Math_obj::abs((this->y - toCompare->y)) < tolerance)))) && bool((::Math_obj::abs((this->z - toCompare->z)) < tolerance)))) && bool(((bool(!(allFour)) || bool((::Math_obj::abs((this->w - toCompare->w)) < tolerance)))))); - } -} - - -HX_DEFINE_DYNAMIC_FUNC3(Vector3D_obj,nearEquals,return ) - -Void Vector3D_obj::incrementBy( ::native::geom::Vector3D a){ -{ - HX_STACK_PUSH("Vector3D::incrementBy","native/geom/Vector3D.hx",95); - HX_STACK_THIS(this); - HX_STACK_ARG(a,"a"); - HX_STACK_LINE(97) - hx::AddEq(this->x,a->x); - HX_STACK_LINE(98) - hx::AddEq(this->y,a->y); - HX_STACK_LINE(99) - hx::AddEq(this->z,a->z); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Vector3D_obj,incrementBy,(void)) - -bool Vector3D_obj::equals( ::native::geom::Vector3D toCompare,Dynamic __o_allFour){ -Dynamic allFour = __o_allFour.Default(false); - HX_STACK_PUSH("Vector3D::equals","native/geom/Vector3D.hx",88); - HX_STACK_THIS(this); - HX_STACK_ARG(toCompare,"toCompare"); - HX_STACK_ARG(allFour,"allFour"); -{ - HX_STACK_LINE(88) - return (bool((bool((bool((this->x == toCompare->x)) && bool((this->y == toCompare->y)))) && bool((this->z == toCompare->z)))) && bool(((bool(!(allFour)) || bool((this->w == toCompare->w)))))); - } -} - - -HX_DEFINE_DYNAMIC_FUNC2(Vector3D_obj,equals,return ) - -Float Vector3D_obj::dotProduct( ::native::geom::Vector3D a){ - HX_STACK_PUSH("Vector3D::dotProduct","native/geom/Vector3D.hx",81); - HX_STACK_THIS(this); - HX_STACK_ARG(a,"a"); - HX_STACK_LINE(81) - return (((this->x * a->x) + (this->y * a->y)) + (this->z * a->z)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Vector3D_obj,dotProduct,return ) - -Void Vector3D_obj::decrementBy( ::native::geom::Vector3D a){ -{ - HX_STACK_PUSH("Vector3D::decrementBy","native/geom/Vector3D.hx",61); - HX_STACK_THIS(this); - HX_STACK_ARG(a,"a"); - HX_STACK_LINE(63) - hx::SubEq(this->x,a->x); - HX_STACK_LINE(64) - hx::SubEq(this->y,a->y); - HX_STACK_LINE(65) - hx::SubEq(this->z,a->z); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Vector3D_obj,decrementBy,(void)) - -::native::geom::Vector3D Vector3D_obj::crossProduct( ::native::geom::Vector3D a){ - HX_STACK_PUSH("Vector3D::crossProduct","native/geom/Vector3D.hx",54); - HX_STACK_THIS(this); - HX_STACK_ARG(a,"a"); - HX_STACK_LINE(54) - return ::native::geom::Vector3D_obj::__new(((this->y * a->z) - (this->z * a->y)),((this->z * a->x) - (this->x * a->z)),((this->x * a->y) - (this->y * a->x)),(int)1); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Vector3D_obj,crossProduct,return ) - -::native::geom::Vector3D Vector3D_obj::clone( ){ - HX_STACK_PUSH("Vector3D::clone","native/geom/Vector3D.hx",47); - HX_STACK_THIS(this); - HX_STACK_LINE(47) - return ::native::geom::Vector3D_obj::__new(this->x,this->y,this->z,this->w); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Vector3D_obj,clone,return ) - -::native::geom::Vector3D Vector3D_obj::add( ::native::geom::Vector3D a){ - HX_STACK_PUSH("Vector3D::add","native/geom/Vector3D.hx",29); - HX_STACK_THIS(this); - HX_STACK_ARG(a,"a"); - HX_STACK_LINE(29) - return ::native::geom::Vector3D_obj::__new((this->x + a->x),(this->y + a->y),(this->z + a->z),null()); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Vector3D_obj,add,return ) - -::native::geom::Vector3D Vector3D_obj::X_AXIS; - -::native::geom::Vector3D Vector3D_obj::Y_AXIS; - -::native::geom::Vector3D Vector3D_obj::Z_AXIS; - -Float Vector3D_obj::angleBetween( ::native::geom::Vector3D a,::native::geom::Vector3D b){ - HX_STACK_PUSH("Vector3D::angleBetween","native/geom/Vector3D.hx",36); - HX_STACK_ARG(a,"a"); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(38) - ::native::geom::Vector3D a0 = ::native::geom::Vector3D_obj::__new(a->x,a->y,a->z,a->w); HX_STACK_VAR(a0,"a0"); - HX_STACK_LINE(39) - { - HX_STACK_LINE(39) - Float l = ::Math_obj::sqrt((((a0->x * a0->x) + (a0->y * a0->y)) + (a0->z * a0->z))); HX_STACK_VAR(l,"l"); - HX_STACK_LINE(39) - if (((l != (int)0))){ - HX_STACK_LINE(39) - hx::DivEq(a0->x,l); - HX_STACK_LINE(39) - hx::DivEq(a0->y,l); - HX_STACK_LINE(39) - hx::DivEq(a0->z,l); - } - HX_STACK_LINE(39) - l; - } - HX_STACK_LINE(40) - ::native::geom::Vector3D b0 = ::native::geom::Vector3D_obj::__new(b->x,b->y,b->z,b->w); HX_STACK_VAR(b0,"b0"); - HX_STACK_LINE(41) - { - HX_STACK_LINE(41) - Float l = ::Math_obj::sqrt((((b0->x * b0->x) + (b0->y * b0->y)) + (b0->z * b0->z))); HX_STACK_VAR(l,"l"); - HX_STACK_LINE(41) - if (((l != (int)0))){ - HX_STACK_LINE(41) - hx::DivEq(b0->x,l); - HX_STACK_LINE(41) - hx::DivEq(b0->y,l); - HX_STACK_LINE(41) - hx::DivEq(b0->z,l); - } - HX_STACK_LINE(41) - l; - } - HX_STACK_LINE(42) - return ::Math_obj::acos((((a0->x * b0->x) + (a0->y * b0->y)) + (a0->z * b0->z))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Vector3D_obj,angleBetween,return ) - -Float Vector3D_obj::distance( ::native::geom::Vector3D pt1,::native::geom::Vector3D pt2){ - HX_STACK_PUSH("Vector3D::distance","native/geom/Vector3D.hx",70); - HX_STACK_ARG(pt1,"pt1"); - HX_STACK_ARG(pt2,"pt2"); - HX_STACK_LINE(72) - Float x = (pt2->x - pt1->x); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(73) - Float y = (pt2->y - pt1->y); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(74) - Float z = (pt2->z - pt1->z); HX_STACK_VAR(z,"z"); - HX_STACK_LINE(76) - return ::Math_obj::sqrt((((x * x) + (y * y)) + (z * z))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Vector3D_obj,distance,return ) - -::native::geom::Vector3D Vector3D_obj::get_X_AXIS( ){ - HX_STACK_PUSH("Vector3D::get_X_AXIS","native/geom/Vector3D.hx",176); - HX_STACK_LINE(176) - return ::native::geom::Vector3D_obj::__new((int)1,(int)0,(int)0,null()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Vector3D_obj,get_X_AXIS,return ) - -::native::geom::Vector3D Vector3D_obj::get_Y_AXIS( ){ - HX_STACK_PUSH("Vector3D::get_Y_AXIS","native/geom/Vector3D.hx",177); - HX_STACK_LINE(177) - return ::native::geom::Vector3D_obj::__new((int)0,(int)1,(int)0,null()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Vector3D_obj,get_Y_AXIS,return ) - -::native::geom::Vector3D Vector3D_obj::get_Z_AXIS( ){ - HX_STACK_PUSH("Vector3D::get_Z_AXIS","native/geom/Vector3D.hx",178); - HX_STACK_LINE(178) - return ::native::geom::Vector3D_obj::__new((int)0,(int)0,(int)1,null()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Vector3D_obj,get_Z_AXIS,return ) - - -Vector3D_obj::Vector3D_obj() -{ -} - -void Vector3D_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Vector3D); - HX_MARK_MEMBER_NAME(z,"z"); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(w,"w"); - HX_MARK_MEMBER_NAME(lengthSquared,"lengthSquared"); - HX_MARK_MEMBER_NAME(length,"length"); - HX_MARK_END_CLASS(); -} - -void Vector3D_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(z,"z"); - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(w,"w"); - HX_VISIT_MEMBER_NAME(lengthSquared,"lengthSquared"); - HX_VISIT_MEMBER_NAME(length,"length"); -} - -Dynamic Vector3D_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"z") ) { return z; } - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - if (HX_FIELD_EQ(inName,"w") ) { return w; } - break; - case 3: - if (HX_FIELD_EQ(inName,"add") ) { return add_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"X_AXIS") ) { return inCallProp ? get_X_AXIS() : X_AXIS; } - if (HX_FIELD_EQ(inName,"Y_AXIS") ) { return inCallProp ? get_Y_AXIS() : Y_AXIS; } - if (HX_FIELD_EQ(inName,"Z_AXIS") ) { return inCallProp ? get_Z_AXIS() : Z_AXIS; } - if (HX_FIELD_EQ(inName,"negate") ) { return negate_dyn(); } - if (HX_FIELD_EQ(inName,"equals") ) { return equals_dyn(); } - if (HX_FIELD_EQ(inName,"length") ) { return inCallProp ? get_length() : length; } - break; - case 7: - if (HX_FIELD_EQ(inName,"scaleBy") ) { return scaleBy_dyn(); } - if (HX_FIELD_EQ(inName,"project") ) { return project_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"distance") ) { return distance_dyn(); } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"subtract") ) { return subtract_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"normalize") ) { return normalize_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"get_X_AXIS") ) { return get_X_AXIS_dyn(); } - if (HX_FIELD_EQ(inName,"get_Y_AXIS") ) { return get_Y_AXIS_dyn(); } - if (HX_FIELD_EQ(inName,"get_Z_AXIS") ) { return get_Z_AXIS_dyn(); } - if (HX_FIELD_EQ(inName,"get_length") ) { return get_length_dyn(); } - if (HX_FIELD_EQ(inName,"nearEquals") ) { return nearEquals_dyn(); } - if (HX_FIELD_EQ(inName,"dotProduct") ) { return dotProduct_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"incrementBy") ) { return incrementBy_dyn(); } - if (HX_FIELD_EQ(inName,"decrementBy") ) { return decrementBy_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"angleBetween") ) { return angleBetween_dyn(); } - if (HX_FIELD_EQ(inName,"crossProduct") ) { return crossProduct_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"lengthSquared") ) { return inCallProp ? get_lengthSquared() : lengthSquared; } - break; - case 17: - if (HX_FIELD_EQ(inName,"get_lengthSquared") ) { return get_lengthSquared_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Vector3D_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"z") ) { z=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"w") ) { w=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"X_AXIS") ) { X_AXIS=inValue.Cast< ::native::geom::Vector3D >(); return inValue; } - if (HX_FIELD_EQ(inName,"Y_AXIS") ) { Y_AXIS=inValue.Cast< ::native::geom::Vector3D >(); return inValue; } - if (HX_FIELD_EQ(inName,"Z_AXIS") ) { Z_AXIS=inValue.Cast< ::native::geom::Vector3D >(); return inValue; } - if (HX_FIELD_EQ(inName,"length") ) { length=inValue.Cast< Float >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"lengthSquared") ) { lengthSquared=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Vector3D_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("z")); - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("w")); - outFields->push(HX_CSTRING("lengthSquared")); - outFields->push(HX_CSTRING("length")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("X_AXIS"), - HX_CSTRING("Y_AXIS"), - HX_CSTRING("Z_AXIS"), - HX_CSTRING("angleBetween"), - HX_CSTRING("distance"), - HX_CSTRING("get_X_AXIS"), - HX_CSTRING("get_Y_AXIS"), - HX_CSTRING("get_Z_AXIS"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("get_lengthSquared"), - HX_CSTRING("get_length"), - HX_CSTRING("toString"), - HX_CSTRING("subtract"), - HX_CSTRING("scaleBy"), - HX_CSTRING("project"), - HX_CSTRING("normalize"), - HX_CSTRING("negate"), - HX_CSTRING("nearEquals"), - HX_CSTRING("incrementBy"), - HX_CSTRING("equals"), - HX_CSTRING("dotProduct"), - HX_CSTRING("decrementBy"), - HX_CSTRING("crossProduct"), - HX_CSTRING("clone"), - HX_CSTRING("add"), - HX_CSTRING("z"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("w"), - HX_CSTRING("lengthSquared"), - HX_CSTRING("length"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Vector3D_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Vector3D_obj::X_AXIS,"X_AXIS"); - HX_MARK_MEMBER_NAME(Vector3D_obj::Y_AXIS,"Y_AXIS"); - HX_MARK_MEMBER_NAME(Vector3D_obj::Z_AXIS,"Z_AXIS"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Vector3D_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Vector3D_obj::X_AXIS,"X_AXIS"); - HX_VISIT_MEMBER_NAME(Vector3D_obj::Y_AXIS,"Y_AXIS"); - HX_VISIT_MEMBER_NAME(Vector3D_obj::Z_AXIS,"Z_AXIS"); -}; - -Class Vector3D_obj::__mClass; - -void Vector3D_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.geom.Vector3D"), hx::TCanCast< Vector3D_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Vector3D_obj::__boot() -{ -} - -} // end namespace native -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Buffer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Buffer.cpp deleted file mode 100644 index 80f05ed..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Buffer.cpp +++ /dev/null @@ -1,109 +0,0 @@ -#include - -#ifndef INCLUDED_native_gl_Buffer -#include -#endif -#ifndef INCLUDED_native_gl_Object -#include -#endif -namespace native{ -namespace gl{ - -Void Buffer_obj::__construct(int inVersion,Dynamic inId) -{ -HX_STACK_PUSH("Buffer::new","native/gl/GL.hx",1606); -{ - HX_STACK_LINE(1606) - super::__construct(inVersion,inId); -} -; - return null(); -} - -Buffer_obj::~Buffer_obj() { } - -Dynamic Buffer_obj::__CreateEmpty() { return new Buffer_obj; } -hx::ObjectPtr< Buffer_obj > Buffer_obj::__new(int inVersion,Dynamic inId) -{ hx::ObjectPtr< Buffer_obj > result = new Buffer_obj(); - result->__construct(inVersion,inId); - return result;} - -Dynamic Buffer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Buffer_obj > result = new Buffer_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::String Buffer_obj::getType( ){ - HX_STACK_PUSH("Buffer::getType","native/gl/GL.hx",1607); - HX_STACK_THIS(this); - HX_STACK_LINE(1607) - return HX_CSTRING("Buffer"); -} - - - -Buffer_obj::Buffer_obj() -{ -} - -void Buffer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Buffer); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Buffer_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Buffer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Buffer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Buffer_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Buffer_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Buffer_obj::__mClass,"__mClass"); -}; - -Class Buffer_obj::__mClass; - -void Buffer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.gl.Buffer"), hx::TCanCast< Buffer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Buffer_obj::__boot() -{ -} - -} // end namespace native -} // end namespace gl diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Framebuffer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Framebuffer.cpp deleted file mode 100644 index cc780d1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Framebuffer.cpp +++ /dev/null @@ -1,109 +0,0 @@ -#include - -#ifndef INCLUDED_native_gl_Framebuffer -#include -#endif -#ifndef INCLUDED_native_gl_Object -#include -#endif -namespace native{ -namespace gl{ - -Void Framebuffer_obj::__construct(int inVersion,Dynamic inId) -{ -HX_STACK_PUSH("Framebuffer::new","native/gl/GL.hx",1614); -{ - HX_STACK_LINE(1614) - super::__construct(inVersion,inId); -} -; - return null(); -} - -Framebuffer_obj::~Framebuffer_obj() { } - -Dynamic Framebuffer_obj::__CreateEmpty() { return new Framebuffer_obj; } -hx::ObjectPtr< Framebuffer_obj > Framebuffer_obj::__new(int inVersion,Dynamic inId) -{ hx::ObjectPtr< Framebuffer_obj > result = new Framebuffer_obj(); - result->__construct(inVersion,inId); - return result;} - -Dynamic Framebuffer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Framebuffer_obj > result = new Framebuffer_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::String Framebuffer_obj::getType( ){ - HX_STACK_PUSH("Framebuffer::getType","native/gl/GL.hx",1615); - HX_STACK_THIS(this); - HX_STACK_LINE(1615) - return HX_CSTRING("Framebuffer"); -} - - - -Framebuffer_obj::Framebuffer_obj() -{ -} - -void Framebuffer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Framebuffer); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Framebuffer_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Framebuffer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Framebuffer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Framebuffer_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Framebuffer_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Framebuffer_obj::__mClass,"__mClass"); -}; - -Class Framebuffer_obj::__mClass; - -void Framebuffer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.gl.Framebuffer"), hx::TCanCast< Framebuffer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Framebuffer_obj::__boot() -{ -} - -} // end namespace native -} // end namespace gl diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/GL.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/GL.cpp deleted file mode 100644 index 03afa9d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/GL.cpp +++ /dev/null @@ -1,5923 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_Lib -#include -#endif -#ifndef INCLUDED_native_Loader -#include -#endif -#ifndef INCLUDED_native_display_BitmapData -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_MovieClip -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_display_Stage -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_geom_Matrix3D -#include -#endif -#ifndef INCLUDED_native_gl_Buffer -#include -#endif -#ifndef INCLUDED_native_gl_Framebuffer -#include -#endif -#ifndef INCLUDED_native_gl_GL -#include -#endif -#ifndef INCLUDED_native_gl_Object -#include -#endif -#ifndef INCLUDED_native_gl_Program -#include -#endif -#ifndef INCLUDED_native_gl_Renderbuffer -#include -#endif -#ifndef INCLUDED_native_gl_Shader -#include -#endif -#ifndef INCLUDED_native_gl_Texture -#include -#endif -#ifndef INCLUDED_native_utils_ArrayBufferView -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_Float32Array -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace native{ -namespace gl{ - -Void GL_obj::__construct() -{ - return null(); -} - -GL_obj::~GL_obj() { } - -Dynamic GL_obj::__CreateEmpty() { return new GL_obj; } -hx::ObjectPtr< GL_obj > GL_obj::__new() -{ hx::ObjectPtr< GL_obj > result = new GL_obj(); - result->__construct(); - return result;} - -Dynamic GL_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GL_obj > result = new GL_obj(); - result->__construct(); - return result;} - -int GL_obj::DEPTH_BUFFER_BIT; - -int GL_obj::STENCIL_BUFFER_BIT; - -int GL_obj::COLOR_BUFFER_BIT; - -int GL_obj::POINTS; - -int GL_obj::LINES; - -int GL_obj::LINE_LOOP; - -int GL_obj::LINE_STRIP; - -int GL_obj::TRIANGLES; - -int GL_obj::TRIANGLE_STRIP; - -int GL_obj::TRIANGLE_FAN; - -int GL_obj::ZERO; - -int GL_obj::ONE; - -int GL_obj::SRC_COLOR; - -int GL_obj::ONE_MINUS_SRC_COLOR; - -int GL_obj::SRC_ALPHA; - -int GL_obj::ONE_MINUS_SRC_ALPHA; - -int GL_obj::DST_ALPHA; - -int GL_obj::ONE_MINUS_DST_ALPHA; - -int GL_obj::DST_COLOR; - -int GL_obj::ONE_MINUS_DST_COLOR; - -int GL_obj::SRC_ALPHA_SATURATE; - -int GL_obj::FUNC_ADD; - -int GL_obj::BLEND_EQUATION; - -int GL_obj::BLEND_EQUATION_RGB; - -int GL_obj::BLEND_EQUATION_ALPHA; - -int GL_obj::FUNC_SUBTRACT; - -int GL_obj::FUNC_REVERSE_SUBTRACT; - -int GL_obj::BLEND_DST_RGB; - -int GL_obj::BLEND_SRC_RGB; - -int GL_obj::BLEND_DST_ALPHA; - -int GL_obj::BLEND_SRC_ALPHA; - -int GL_obj::CONSTANT_COLOR; - -int GL_obj::ONE_MINUS_CONSTANT_COLOR; - -int GL_obj::CONSTANT_ALPHA; - -int GL_obj::ONE_MINUS_CONSTANT_ALPHA; - -int GL_obj::BLEND_COLOR; - -int GL_obj::ARRAY_BUFFER; - -int GL_obj::ELEMENT_ARRAY_BUFFER; - -int GL_obj::ARRAY_BUFFER_BINDING; - -int GL_obj::ELEMENT_ARRAY_BUFFER_BINDING; - -int GL_obj::STREAM_DRAW; - -int GL_obj::STATIC_DRAW; - -int GL_obj::DYNAMIC_DRAW; - -int GL_obj::BUFFER_SIZE; - -int GL_obj::BUFFER_USAGE; - -int GL_obj::CURRENT_VERTEX_ATTRIB; - -int GL_obj::FRONT; - -int GL_obj::BACK; - -int GL_obj::FRONT_AND_BACK; - -int GL_obj::CULL_FACE; - -int GL_obj::BLEND; - -int GL_obj::DITHER; - -int GL_obj::STENCIL_TEST; - -int GL_obj::DEPTH_TEST; - -int GL_obj::SCISSOR_TEST; - -int GL_obj::POLYGON_OFFSET_FILL; - -int GL_obj::SAMPLE_ALPHA_TO_COVERAGE; - -int GL_obj::SAMPLE_COVERAGE; - -int GL_obj::NO_ERROR; - -int GL_obj::INVALID_ENUM; - -int GL_obj::INVALID_VALUE; - -int GL_obj::INVALID_OPERATION; - -int GL_obj::OUT_OF_MEMORY; - -int GL_obj::CW; - -int GL_obj::CCW; - -int GL_obj::LINE_WIDTH; - -int GL_obj::ALIASED_POINT_SIZE_RANGE; - -int GL_obj::ALIASED_LINE_WIDTH_RANGE; - -int GL_obj::CULL_FACE_MODE; - -int GL_obj::FRONT_FACE; - -int GL_obj::DEPTH_RANGE; - -int GL_obj::DEPTH_WRITEMASK; - -int GL_obj::DEPTH_CLEAR_VALUE; - -int GL_obj::DEPTH_FUNC; - -int GL_obj::STENCIL_CLEAR_VALUE; - -int GL_obj::STENCIL_FUNC; - -int GL_obj::STENCIL_FAIL; - -int GL_obj::STENCIL_PASS_DEPTH_FAIL; - -int GL_obj::STENCIL_PASS_DEPTH_PASS; - -int GL_obj::STENCIL_REF; - -int GL_obj::STENCIL_VALUE_MASK; - -int GL_obj::STENCIL_WRITEMASK; - -int GL_obj::STENCIL_BACK_FUNC; - -int GL_obj::STENCIL_BACK_FAIL; - -int GL_obj::STENCIL_BACK_PASS_DEPTH_FAIL; - -int GL_obj::STENCIL_BACK_PASS_DEPTH_PASS; - -int GL_obj::STENCIL_BACK_REF; - -int GL_obj::STENCIL_BACK_VALUE_MASK; - -int GL_obj::STENCIL_BACK_WRITEMASK; - -int GL_obj::VIEWPORT; - -int GL_obj::SCISSOR_BOX; - -int GL_obj::COLOR_CLEAR_VALUE; - -int GL_obj::COLOR_WRITEMASK; - -int GL_obj::UNPACK_ALIGNMENT; - -int GL_obj::PACK_ALIGNMENT; - -int GL_obj::MAX_TEXTURE_SIZE; - -int GL_obj::MAX_VIEWPORT_DIMS; - -int GL_obj::SUBPIXEL_BITS; - -int GL_obj::RED_BITS; - -int GL_obj::GREEN_BITS; - -int GL_obj::BLUE_BITS; - -int GL_obj::ALPHA_BITS; - -int GL_obj::DEPTH_BITS; - -int GL_obj::STENCIL_BITS; - -int GL_obj::POLYGON_OFFSET_UNITS; - -int GL_obj::POLYGON_OFFSET_FACTOR; - -int GL_obj::TEXTURE_BINDING_2D; - -int GL_obj::SAMPLE_BUFFERS; - -int GL_obj::SAMPLES; - -int GL_obj::SAMPLE_COVERAGE_VALUE; - -int GL_obj::SAMPLE_COVERAGE_INVERT; - -int GL_obj::COMPRESSED_TEXTURE_FORMATS; - -int GL_obj::DONT_CARE; - -int GL_obj::FASTEST; - -int GL_obj::NICEST; - -int GL_obj::GENERATE_MIPMAP_HINT; - -int GL_obj::BYTE; - -int GL_obj::UNSIGNED_BYTE; - -int GL_obj::SHORT; - -int GL_obj::UNSIGNED_SHORT; - -int GL_obj::INT; - -int GL_obj::UNSIGNED_INT; - -int GL_obj::FLOAT; - -int GL_obj::DEPTH_COMPONENT; - -int GL_obj::ALPHA; - -int GL_obj::RGB; - -int GL_obj::RGBA; - -int GL_obj::LUMINANCE; - -int GL_obj::LUMINANCE_ALPHA; - -int GL_obj::UNSIGNED_SHORT_4_4_4_4; - -int GL_obj::UNSIGNED_SHORT_5_5_5_1; - -int GL_obj::UNSIGNED_SHORT_5_6_5; - -int GL_obj::FRAGMENT_SHADER; - -int GL_obj::VERTEX_SHADER; - -int GL_obj::MAX_VERTEX_ATTRIBS; - -int GL_obj::MAX_VERTEX_UNIFORM_VECTORS; - -int GL_obj::MAX_VARYING_VECTORS; - -int GL_obj::MAX_COMBINED_TEXTURE_IMAGE_UNITS; - -int GL_obj::MAX_VERTEX_TEXTURE_IMAGE_UNITS; - -int GL_obj::MAX_TEXTURE_IMAGE_UNITS; - -int GL_obj::MAX_FRAGMENT_UNIFORM_VECTORS; - -int GL_obj::SHADER_TYPE; - -int GL_obj::DELETE_STATUS; - -int GL_obj::LINK_STATUS; - -int GL_obj::VALIDATE_STATUS; - -int GL_obj::ATTACHED_SHADERS; - -int GL_obj::ACTIVE_UNIFORMS; - -int GL_obj::ACTIVE_ATTRIBUTES; - -int GL_obj::SHADING_LANGUAGE_VERSION; - -int GL_obj::CURRENT_PROGRAM; - -int GL_obj::NEVER; - -int GL_obj::LESS; - -int GL_obj::EQUAL; - -int GL_obj::LEQUAL; - -int GL_obj::GREATER; - -int GL_obj::NOTEQUAL; - -int GL_obj::GEQUAL; - -int GL_obj::ALWAYS; - -int GL_obj::KEEP; - -int GL_obj::REPLACE; - -int GL_obj::INCR; - -int GL_obj::DECR; - -int GL_obj::INVERT; - -int GL_obj::INCR_WRAP; - -int GL_obj::DECR_WRAP; - -int GL_obj::VENDOR; - -int GL_obj::RENDERER; - -int GL_obj::VERSION; - -int GL_obj::NEAREST; - -int GL_obj::LINEAR; - -int GL_obj::NEAREST_MIPMAP_NEAREST; - -int GL_obj::LINEAR_MIPMAP_NEAREST; - -int GL_obj::NEAREST_MIPMAP_LINEAR; - -int GL_obj::LINEAR_MIPMAP_LINEAR; - -int GL_obj::TEXTURE_MAG_FILTER; - -int GL_obj::TEXTURE_MIN_FILTER; - -int GL_obj::TEXTURE_WRAP_S; - -int GL_obj::TEXTURE_WRAP_T; - -int GL_obj::TEXTURE_2D; - -int GL_obj::TEXTURE; - -int GL_obj::TEXTURE_CUBE_MAP; - -int GL_obj::TEXTURE_BINDING_CUBE_MAP; - -int GL_obj::TEXTURE_CUBE_MAP_POSITIVE_X; - -int GL_obj::TEXTURE_CUBE_MAP_NEGATIVE_X; - -int GL_obj::TEXTURE_CUBE_MAP_POSITIVE_Y; - -int GL_obj::TEXTURE_CUBE_MAP_NEGATIVE_Y; - -int GL_obj::TEXTURE_CUBE_MAP_POSITIVE_Z; - -int GL_obj::TEXTURE_CUBE_MAP_NEGATIVE_Z; - -int GL_obj::MAX_CUBE_MAP_TEXTURE_SIZE; - -int GL_obj::TEXTURE0; - -int GL_obj::TEXTURE1; - -int GL_obj::TEXTURE2; - -int GL_obj::TEXTURE3; - -int GL_obj::TEXTURE4; - -int GL_obj::TEXTURE5; - -int GL_obj::TEXTURE6; - -int GL_obj::TEXTURE7; - -int GL_obj::TEXTURE8; - -int GL_obj::TEXTURE9; - -int GL_obj::TEXTURE10; - -int GL_obj::TEXTURE11; - -int GL_obj::TEXTURE12; - -int GL_obj::TEXTURE13; - -int GL_obj::TEXTURE14; - -int GL_obj::TEXTURE15; - -int GL_obj::TEXTURE16; - -int GL_obj::TEXTURE17; - -int GL_obj::TEXTURE18; - -int GL_obj::TEXTURE19; - -int GL_obj::TEXTURE20; - -int GL_obj::TEXTURE21; - -int GL_obj::TEXTURE22; - -int GL_obj::TEXTURE23; - -int GL_obj::TEXTURE24; - -int GL_obj::TEXTURE25; - -int GL_obj::TEXTURE26; - -int GL_obj::TEXTURE27; - -int GL_obj::TEXTURE28; - -int GL_obj::TEXTURE29; - -int GL_obj::TEXTURE30; - -int GL_obj::TEXTURE31; - -int GL_obj::ACTIVE_TEXTURE; - -int GL_obj::REPEAT; - -int GL_obj::CLAMP_TO_EDGE; - -int GL_obj::MIRRORED_REPEAT; - -int GL_obj::FLOAT_VEC2; - -int GL_obj::FLOAT_VEC3; - -int GL_obj::FLOAT_VEC4; - -int GL_obj::INT_VEC2; - -int GL_obj::INT_VEC3; - -int GL_obj::INT_VEC4; - -int GL_obj::BOOL; - -int GL_obj::BOOL_VEC2; - -int GL_obj::BOOL_VEC3; - -int GL_obj::BOOL_VEC4; - -int GL_obj::FLOAT_MAT2; - -int GL_obj::FLOAT_MAT3; - -int GL_obj::FLOAT_MAT4; - -int GL_obj::SAMPLER_2D; - -int GL_obj::SAMPLER_CUBE; - -int GL_obj::VERTEX_ATTRIB_ARRAY_ENABLED; - -int GL_obj::VERTEX_ATTRIB_ARRAY_SIZE; - -int GL_obj::VERTEX_ATTRIB_ARRAY_STRIDE; - -int GL_obj::VERTEX_ATTRIB_ARRAY_TYPE; - -int GL_obj::VERTEX_ATTRIB_ARRAY_NORMALIZED; - -int GL_obj::VERTEX_ATTRIB_ARRAY_POINTER; - -int GL_obj::VERTEX_ATTRIB_ARRAY_BUFFER_BINDING; - -int GL_obj::COMPILE_STATUS; - -int GL_obj::LOW_FLOAT; - -int GL_obj::MEDIUM_FLOAT; - -int GL_obj::HIGH_FLOAT; - -int GL_obj::LOW_INT; - -int GL_obj::MEDIUM_INT; - -int GL_obj::HIGH_INT; - -int GL_obj::FRAMEBUFFER; - -int GL_obj::RENDERBUFFER; - -int GL_obj::RGBA4; - -int GL_obj::RGB5_A1; - -int GL_obj::RGB565; - -int GL_obj::DEPTH_COMPONENT16; - -int GL_obj::STENCIL_INDEX; - -int GL_obj::STENCIL_INDEX8; - -int GL_obj::DEPTH_STENCIL; - -int GL_obj::RENDERBUFFER_WIDTH; - -int GL_obj::RENDERBUFFER_HEIGHT; - -int GL_obj::RENDERBUFFER_INTERNAL_FORMAT; - -int GL_obj::RENDERBUFFER_RED_SIZE; - -int GL_obj::RENDERBUFFER_GREEN_SIZE; - -int GL_obj::RENDERBUFFER_BLUE_SIZE; - -int GL_obj::RENDERBUFFER_ALPHA_SIZE; - -int GL_obj::RENDERBUFFER_DEPTH_SIZE; - -int GL_obj::RENDERBUFFER_STENCIL_SIZE; - -int GL_obj::FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE; - -int GL_obj::FRAMEBUFFER_ATTACHMENT_OBJECT_NAME; - -int GL_obj::FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL; - -int GL_obj::FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE; - -int GL_obj::COLOR_ATTACHMENT0; - -int GL_obj::DEPTH_ATTACHMENT; - -int GL_obj::STENCIL_ATTACHMENT; - -int GL_obj::DEPTH_STENCIL_ATTACHMENT; - -int GL_obj::NONE; - -int GL_obj::FRAMEBUFFER_COMPLETE; - -int GL_obj::FRAMEBUFFER_INCOMPLETE_ATTACHMENT; - -int GL_obj::FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT; - -int GL_obj::FRAMEBUFFER_INCOMPLETE_DIMENSIONS; - -int GL_obj::FRAMEBUFFER_UNSUPPORTED; - -int GL_obj::FRAMEBUFFER_BINDING; - -int GL_obj::RENDERBUFFER_BINDING; - -int GL_obj::MAX_RENDERBUFFER_SIZE; - -int GL_obj::INVALID_FRAMEBUFFER_OPERATION; - -int GL_obj::UNPACK_FLIP_Y_WEBGL; - -int GL_obj::UNPACK_PREMULTIPLY_ALPHA_WEBGL; - -int GL_obj::CONTEXT_LOST_WEBGL; - -int GL_obj::UNPACK_COLORSPACE_CONVERSION_WEBGL; - -int GL_obj::BROWSER_DEFAULT_WEBGL; - -int GL_obj::drawingBufferHeight; - -int GL_obj::drawingBufferWidth; - -int GL_obj::version; - -Void GL_obj::activeTexture( int texture){ -{ - HX_STACK_PUSH("GL::activeTexture","native/gl/GL.hx",440); - HX_STACK_ARG(texture,"texture"); - HX_STACK_LINE(440) - ::native::gl::GL_obj::nme_gl_active_texture(texture); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,activeTexture,(void)) - -Void GL_obj::attachShader( ::native::gl::Program program,::native::gl::Shader shader){ -{ - HX_STACK_PUSH("GL::attachShader","native/gl/GL.hx",443); - HX_STACK_ARG(program,"program"); - HX_STACK_ARG(shader,"shader"); - HX_STACK_LINE(445) - program->attach(shader); - HX_STACK_LINE(446) - ::native::gl::GL_obj::nme_gl_attach_shader(program->id,shader->id); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,attachShader,(void)) - -Void GL_obj::bindAttribLocation( ::native::gl::Program program,int index,::String name){ -{ - HX_STACK_PUSH("GL::bindAttribLocation","native/gl/GL.hx",451); - HX_STACK_ARG(program,"program"); - HX_STACK_ARG(index,"index"); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(451) - ::native::gl::GL_obj::nme_gl_bind_attrib_location(program->id,index,name); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(GL_obj,bindAttribLocation,(void)) - -Void GL_obj::bindBitmapDataTexture( ::native::display::BitmapData texture){ -{ - HX_STACK_PUSH("GL::bindBitmapDataTexture","native/gl/GL.hx",458); - HX_STACK_ARG(texture,"texture"); - HX_STACK_LINE(458) - ::native::gl::GL_obj::nme_gl_bind_bitmap_data_texture(texture->nmeHandle); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,bindBitmapDataTexture,(void)) - -Void GL_obj::bindBuffer( int target,::native::gl::Buffer buffer){ -{ - HX_STACK_PUSH("GL::bindBuffer","native/gl/GL.hx",465); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(buffer,"buffer"); - HX_STACK_LINE(465) - ::native::gl::GL_obj::nme_gl_bind_buffer(target,( (((buffer == null()))) ? int((int)0) : int(buffer->id) )); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,bindBuffer,(void)) - -Void GL_obj::bindFramebuffer( int target,::native::gl::Framebuffer framebuffer){ -{ - HX_STACK_PUSH("GL::bindFramebuffer","native/gl/GL.hx",472); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(framebuffer,"framebuffer"); - HX_STACK_LINE(472) - ::native::gl::GL_obj::nme_gl_bind_framebuffer(target,( (((framebuffer == null()))) ? int((int)0) : int(framebuffer->id) )); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,bindFramebuffer,(void)) - -Void GL_obj::bindRenderbuffer( int target,::native::gl::Renderbuffer renderbuffer){ -{ - HX_STACK_PUSH("GL::bindRenderbuffer","native/gl/GL.hx",479); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(renderbuffer,"renderbuffer"); - HX_STACK_LINE(479) - ::native::gl::GL_obj::nme_gl_bind_renderbuffer(target,( (((renderbuffer == null()))) ? int((int)0) : int(renderbuffer->id) )); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,bindRenderbuffer,(void)) - -Void GL_obj::bindTexture( int target,::native::gl::Texture texture){ -{ - HX_STACK_PUSH("GL::bindTexture","native/gl/GL.hx",486); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(texture,"texture"); - HX_STACK_LINE(486) - ::native::gl::GL_obj::nme_gl_bind_texture(target,( (((texture == null()))) ? int((int)0) : int(texture->id) )); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,bindTexture,(void)) - -Void GL_obj::blendColor( Float red,Float green,Float blue,Float alpha){ -{ - HX_STACK_PUSH("GL::blendColor","native/gl/GL.hx",493); - HX_STACK_ARG(red,"red"); - HX_STACK_ARG(green,"green"); - HX_STACK_ARG(blue,"blue"); - HX_STACK_ARG(alpha,"alpha"); - HX_STACK_LINE(493) - ::native::gl::GL_obj::nme_gl_blend_color(red,green,blue,alpha); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(GL_obj,blendColor,(void)) - -Void GL_obj::blendEquation( int mode){ -{ - HX_STACK_PUSH("GL::blendEquation","native/gl/GL.hx",500); - HX_STACK_ARG(mode,"mode"); - HX_STACK_LINE(500) - ::native::gl::GL_obj::nme_gl_blend_equation(mode); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,blendEquation,(void)) - -Void GL_obj::blendEquationSeparate( int modeRGB,int modeAlpha){ -{ - HX_STACK_PUSH("GL::blendEquationSeparate","native/gl/GL.hx",507); - HX_STACK_ARG(modeRGB,"modeRGB"); - HX_STACK_ARG(modeAlpha,"modeAlpha"); - HX_STACK_LINE(507) - ::native::gl::GL_obj::nme_gl_blend_equation_separate(modeRGB,modeAlpha); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,blendEquationSeparate,(void)) - -Void GL_obj::blendFunc( int sfactor,int dfactor){ -{ - HX_STACK_PUSH("GL::blendFunc","native/gl/GL.hx",514); - HX_STACK_ARG(sfactor,"sfactor"); - HX_STACK_ARG(dfactor,"dfactor"); - HX_STACK_LINE(514) - ::native::gl::GL_obj::nme_gl_blend_func(sfactor,dfactor); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,blendFunc,(void)) - -Void GL_obj::blendFuncSeparate( int srcRGB,int dstRGB,int srcAlpha,int dstAlpha){ -{ - HX_STACK_PUSH("GL::blendFuncSeparate","native/gl/GL.hx",521); - HX_STACK_ARG(srcRGB,"srcRGB"); - HX_STACK_ARG(dstRGB,"dstRGB"); - HX_STACK_ARG(srcAlpha,"srcAlpha"); - HX_STACK_ARG(dstAlpha,"dstAlpha"); - HX_STACK_LINE(521) - ::native::gl::GL_obj::nme_gl_blend_func_separate(srcRGB,dstRGB,srcAlpha,dstAlpha); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(GL_obj,blendFuncSeparate,(void)) - -Void GL_obj::bufferData( int target,::native::utils::IMemoryRange data,int usage){ -{ - HX_STACK_PUSH("GL::bufferData","native/gl/GL.hx",528); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(data,"data"); - HX_STACK_ARG(usage,"usage"); - HX_STACK_LINE(528) - ::native::gl::GL_obj::nme_gl_buffer_data(target,data->getByteBuffer(),data->getStart(),data->getLength(),usage); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(GL_obj,bufferData,(void)) - -Void GL_obj::bufferSubData( int target,int offset,::native::utils::IMemoryRange data){ -{ - HX_STACK_PUSH("GL::bufferSubData","native/gl/GL.hx",535); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(offset,"offset"); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(535) - ::native::gl::GL_obj::nme_gl_buffer_sub_data(target,offset,data->getByteBuffer(),data->getStart(),data->getLength()); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(GL_obj,bufferSubData,(void)) - -int GL_obj::checkFramebufferStatus( int target){ - HX_STACK_PUSH("GL::checkFramebufferStatus","native/gl/GL.hx",542); - HX_STACK_ARG(target,"target"); - HX_STACK_LINE(542) - return ::native::gl::GL_obj::nme_gl_check_framebuffer_status(target); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,checkFramebufferStatus,return ) - -Void GL_obj::clear( int mask){ -{ - HX_STACK_PUSH("GL::clear","native/gl/GL.hx",549); - HX_STACK_ARG(mask,"mask"); - HX_STACK_LINE(549) - ::native::gl::GL_obj::nme_gl_clear(mask); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,clear,(void)) - -Void GL_obj::clearColor( Float red,Float green,Float blue,Float alpha){ -{ - HX_STACK_PUSH("GL::clearColor","native/gl/GL.hx",556); - HX_STACK_ARG(red,"red"); - HX_STACK_ARG(green,"green"); - HX_STACK_ARG(blue,"blue"); - HX_STACK_ARG(alpha,"alpha"); - HX_STACK_LINE(556) - ::native::gl::GL_obj::nme_gl_clear_color(red,green,blue,alpha); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(GL_obj,clearColor,(void)) - -Void GL_obj::clearDepth( Float depth){ -{ - HX_STACK_PUSH("GL::clearDepth","native/gl/GL.hx",563); - HX_STACK_ARG(depth,"depth"); - HX_STACK_LINE(563) - ::native::gl::GL_obj::nme_gl_clear_depth(depth); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,clearDepth,(void)) - -Void GL_obj::clearStencil( int s){ -{ - HX_STACK_PUSH("GL::clearStencil","native/gl/GL.hx",570); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(570) - ::native::gl::GL_obj::nme_gl_clear_stencil(s); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,clearStencil,(void)) - -Void GL_obj::colorMask( bool red,bool green,bool blue,bool alpha){ -{ - HX_STACK_PUSH("GL::colorMask","native/gl/GL.hx",577); - HX_STACK_ARG(red,"red"); - HX_STACK_ARG(green,"green"); - HX_STACK_ARG(blue,"blue"); - HX_STACK_ARG(alpha,"alpha"); - HX_STACK_LINE(577) - ::native::gl::GL_obj::nme_gl_color_mask(red,green,blue,alpha); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(GL_obj,colorMask,(void)) - -Void GL_obj::compileShader( ::native::gl::Shader shader){ -{ - HX_STACK_PUSH("GL::compileShader","native/gl/GL.hx",584); - HX_STACK_ARG(shader,"shader"); - HX_STACK_LINE(584) - ::native::gl::GL_obj::nme_gl_compile_shader(shader->id); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,compileShader,(void)) - -Void GL_obj::compressedTexImage2D( int target,int level,int internalformat,int width,int height,int border,::native::utils::IMemoryRange data){ -{ - HX_STACK_PUSH("GL::compressedTexImage2D","native/gl/GL.hx",591); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(level,"level"); - HX_STACK_ARG(internalformat,"internalformat"); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); - HX_STACK_ARG(border,"border"); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(591) - ::native::gl::GL_obj::nme_gl_compressed_tex_image_2d(target,level,internalformat,width,height,border,( (((data == null()))) ? ::native::utils::ByteArray(null()) : ::native::utils::ByteArray(data->getByteBuffer()) ),( (((data == null()))) ? Dynamic(null()) : Dynamic(data->getStart()) )); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC7(GL_obj,compressedTexImage2D,(void)) - -Void GL_obj::compressedTexSubImage2D( int target,int level,int xoffset,int yoffset,int width,int height,int format,::native::utils::IMemoryRange data){ -{ - HX_STACK_PUSH("GL::compressedTexSubImage2D","native/gl/GL.hx",598); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(level,"level"); - HX_STACK_ARG(xoffset,"xoffset"); - HX_STACK_ARG(yoffset,"yoffset"); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); - HX_STACK_ARG(format,"format"); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(598) - ::native::gl::GL_obj::nme_gl_compressed_tex_sub_image_2d(target,level,xoffset,yoffset,width,height,format,( (((data == null()))) ? ::native::utils::ByteArray(null()) : ::native::utils::ByteArray(data->getByteBuffer()) ),( (((data == null()))) ? Dynamic(null()) : Dynamic(data->getStart()) )); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC8(GL_obj,compressedTexSubImage2D,(void)) - -Void GL_obj::copyTexImage2D( int target,int level,int internalformat,int x,int y,int width,int height,int border){ -{ - HX_STACK_PUSH("GL::copyTexImage2D","native/gl/GL.hx",605); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(level,"level"); - HX_STACK_ARG(internalformat,"internalformat"); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); - HX_STACK_ARG(border,"border"); - HX_STACK_LINE(605) - ::native::gl::GL_obj::nme_gl_copy_tex_image_2d(target,level,internalformat,x,y,width,height,border); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC8(GL_obj,copyTexImage2D,(void)) - -Void GL_obj::copyTexSubImage2D( int target,int level,int xoffset,int yoffset,int x,int y,int width,int height){ -{ - HX_STACK_PUSH("GL::copyTexSubImage2D","native/gl/GL.hx",612); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(level,"level"); - HX_STACK_ARG(xoffset,"xoffset"); - HX_STACK_ARG(yoffset,"yoffset"); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); - HX_STACK_LINE(612) - ::native::gl::GL_obj::nme_gl_copy_tex_sub_image_2d(target,level,xoffset,yoffset,x,y,width,height); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC8(GL_obj,copyTexSubImage2D,(void)) - -::native::gl::Buffer GL_obj::createBuffer( ){ - HX_STACK_PUSH("GL::createBuffer","native/gl/GL.hx",619); - HX_STACK_LINE(619) - return ::native::gl::Buffer_obj::__new(::native::gl::GL_obj::get_version(),::native::gl::GL_obj::nme_gl_create_buffer()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(GL_obj,createBuffer,return ) - -::native::gl::Framebuffer GL_obj::createFramebuffer( ){ - HX_STACK_PUSH("GL::createFramebuffer","native/gl/GL.hx",626); - HX_STACK_LINE(626) - return ::native::gl::Framebuffer_obj::__new(::native::gl::GL_obj::get_version(),::native::gl::GL_obj::nme_gl_create_framebuffer()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(GL_obj,createFramebuffer,return ) - -::native::gl::Program GL_obj::createProgram( ){ - HX_STACK_PUSH("GL::createProgram","native/gl/GL.hx",633); - HX_STACK_LINE(633) - return ::native::gl::Program_obj::__new(::native::gl::GL_obj::get_version(),::native::gl::GL_obj::nme_gl_create_program()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(GL_obj,createProgram,return ) - -::native::gl::Renderbuffer GL_obj::createRenderbuffer( ){ - HX_STACK_PUSH("GL::createRenderbuffer","native/gl/GL.hx",640); - HX_STACK_LINE(640) - return ::native::gl::Renderbuffer_obj::__new(::native::gl::GL_obj::get_version(),::native::gl::GL_obj::nme_gl_create_render_buffer()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(GL_obj,createRenderbuffer,return ) - -::native::gl::Shader GL_obj::createShader( int type){ - HX_STACK_PUSH("GL::createShader","native/gl/GL.hx",647); - HX_STACK_ARG(type,"type"); - HX_STACK_LINE(647) - return ::native::gl::Shader_obj::__new(::native::gl::GL_obj::get_version(),::native::gl::GL_obj::nme_gl_create_shader(type)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,createShader,return ) - -::native::gl::Texture GL_obj::createTexture( ){ - HX_STACK_PUSH("GL::createTexture","native/gl/GL.hx",654); - HX_STACK_LINE(654) - return ::native::gl::Texture_obj::__new(::native::gl::GL_obj::get_version(),::native::gl::GL_obj::nme_gl_create_texture()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(GL_obj,createTexture,return ) - -Void GL_obj::cullFace( int mode){ -{ - HX_STACK_PUSH("GL::cullFace","native/gl/GL.hx",661); - HX_STACK_ARG(mode,"mode"); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,cullFace,(void)) - -Void GL_obj::deleteBuffer( ::native::gl::Buffer buffer){ -{ - HX_STACK_PUSH("GL::deleteBuffer","native/gl/GL.hx",668); - HX_STACK_ARG(buffer,"buffer"); - HX_STACK_LINE(670) - ::native::gl::GL_obj::nme_gl_delete_buffer(buffer->id); - HX_STACK_LINE(671) - buffer->invalidate(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,deleteBuffer,(void)) - -Void GL_obj::deleteFramebuffer( ::native::gl::Framebuffer framebuffer){ -{ - HX_STACK_PUSH("GL::deleteFramebuffer","native/gl/GL.hx",676); - HX_STACK_ARG(framebuffer,"framebuffer"); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,deleteFramebuffer,(void)) - -Void GL_obj::deleteProgram( ::native::gl::Program program){ -{ - HX_STACK_PUSH("GL::deleteProgram","native/gl/GL.hx",683); - HX_STACK_ARG(program,"program"); - HX_STACK_LINE(685) - ::native::gl::GL_obj::nme_gl_delete_program(program->id); - HX_STACK_LINE(686) - program->invalidate(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,deleteProgram,(void)) - -Void GL_obj::deleteRenderbuffer( ::native::gl::Renderbuffer renderbuffer){ -{ - HX_STACK_PUSH("GL::deleteRenderbuffer","native/gl/GL.hx",691); - HX_STACK_ARG(renderbuffer,"renderbuffer"); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,deleteRenderbuffer,(void)) - -Void GL_obj::deleteShader( ::native::gl::Shader shader){ -{ - HX_STACK_PUSH("GL::deleteShader","native/gl/GL.hx",698); - HX_STACK_ARG(shader,"shader"); - HX_STACK_LINE(700) - ::native::gl::GL_obj::nme_gl_delete_shader(shader->id); - HX_STACK_LINE(701) - shader->invalidate(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,deleteShader,(void)) - -Void GL_obj::deleteTexture( ::native::gl::Texture texture){ -{ - HX_STACK_PUSH("GL::deleteTexture","native/gl/GL.hx",706); - HX_STACK_ARG(texture,"texture"); - HX_STACK_LINE(708) - ::native::gl::GL_obj::nme_gl_delete_texture(texture->id); - HX_STACK_LINE(709) - texture->invalidate(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,deleteTexture,(void)) - -Void GL_obj::depthFunc( int func){ -{ - HX_STACK_PUSH("GL::depthFunc","native/gl/GL.hx",714); - HX_STACK_ARG(func,"func"); - HX_STACK_LINE(714) - ::native::gl::GL_obj::nme_gl_depth_func(func); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,depthFunc,(void)) - -Void GL_obj::depthMask( bool flag){ -{ - HX_STACK_PUSH("GL::depthMask","native/gl/GL.hx",721); - HX_STACK_ARG(flag,"flag"); - HX_STACK_LINE(721) - ::native::gl::GL_obj::nme_gl_depth_mask(flag); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,depthMask,(void)) - -Void GL_obj::depthRange( Float zNear,Float zFar){ -{ - HX_STACK_PUSH("GL::depthRange","native/gl/GL.hx",728); - HX_STACK_ARG(zNear,"zNear"); - HX_STACK_ARG(zFar,"zFar"); - HX_STACK_LINE(728) - ::native::gl::GL_obj::nme_gl_depth_range(zNear,zFar); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,depthRange,(void)) - -Void GL_obj::detachShader( ::native::gl::Program program,::native::gl::Shader shader){ -{ - HX_STACK_PUSH("GL::detachShader","native/gl/GL.hx",735); - HX_STACK_ARG(program,"program"); - HX_STACK_ARG(shader,"shader"); - HX_STACK_LINE(735) - ::native::gl::GL_obj::nme_gl_detach_shader(program->id,shader->id); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,detachShader,(void)) - -Void GL_obj::disable( int cap){ -{ - HX_STACK_PUSH("GL::disable","native/gl/GL.hx",742); - HX_STACK_ARG(cap,"cap"); - HX_STACK_LINE(742) - ::native::gl::GL_obj::nme_gl_disable(cap); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,disable,(void)) - -Void GL_obj::disableVertexAttribArray( int index){ -{ - HX_STACK_PUSH("GL::disableVertexAttribArray","native/gl/GL.hx",749); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(749) - ::native::gl::GL_obj::nme_gl_disable_vertex_attrib_array(index); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,disableVertexAttribArray,(void)) - -Void GL_obj::drawArrays( int mode,int first,int count){ -{ - HX_STACK_PUSH("GL::drawArrays","native/gl/GL.hx",756); - HX_STACK_ARG(mode,"mode"); - HX_STACK_ARG(first,"first"); - HX_STACK_ARG(count,"count"); - HX_STACK_LINE(756) - ::native::gl::GL_obj::nme_gl_draw_arrays(mode,first,count); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(GL_obj,drawArrays,(void)) - -Void GL_obj::drawElements( int mode,int count,int type,int offset){ -{ - HX_STACK_PUSH("GL::drawElements","native/gl/GL.hx",763); - HX_STACK_ARG(mode,"mode"); - HX_STACK_ARG(count,"count"); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(offset,"offset"); - HX_STACK_LINE(763) - ::native::gl::GL_obj::nme_gl_draw_elements(mode,count,type,offset); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(GL_obj,drawElements,(void)) - -Void GL_obj::enable( int cap){ -{ - HX_STACK_PUSH("GL::enable","native/gl/GL.hx",770); - HX_STACK_ARG(cap,"cap"); - HX_STACK_LINE(770) - ::native::gl::GL_obj::nme_gl_enable(cap); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,enable,(void)) - -Void GL_obj::enableVertexAttribArray( int index){ -{ - HX_STACK_PUSH("GL::enableVertexAttribArray","native/gl/GL.hx",777); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(777) - ::native::gl::GL_obj::nme_gl_enable_vertex_attrib_array(index); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,enableVertexAttribArray,(void)) - -Void GL_obj::finish( ){ -{ - HX_STACK_PUSH("GL::finish","native/gl/GL.hx",784); - HX_STACK_LINE(784) - ::native::gl::GL_obj::nme_gl_finish(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(GL_obj,finish,(void)) - -Void GL_obj::flush( ){ -{ - HX_STACK_PUSH("GL::flush","native/gl/GL.hx",791); - HX_STACK_LINE(791) - ::native::gl::GL_obj::nme_gl_flush(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(GL_obj,flush,(void)) - -Void GL_obj::framebufferRenderbuffer( int target,int attachment,int renderbuffertarget,::native::gl::Renderbuffer renderbuffer){ -{ - HX_STACK_PUSH("GL::framebufferRenderbuffer","native/gl/GL.hx",798); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(attachment,"attachment"); - HX_STACK_ARG(renderbuffertarget,"renderbuffertarget"); - HX_STACK_ARG(renderbuffer,"renderbuffer"); - HX_STACK_LINE(798) - ::native::gl::GL_obj::nme_gl_framebuffer_renderbuffer(target,attachment,renderbuffertarget,renderbuffer->id); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(GL_obj,framebufferRenderbuffer,(void)) - -Void GL_obj::framebufferTexture2D( int target,int attachment,int textarget,::native::gl::Texture texture,int level){ -{ - HX_STACK_PUSH("GL::framebufferTexture2D","native/gl/GL.hx",805); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(attachment,"attachment"); - HX_STACK_ARG(textarget,"textarget"); - HX_STACK_ARG(texture,"texture"); - HX_STACK_ARG(level,"level"); - HX_STACK_LINE(805) - ::native::gl::GL_obj::nme_gl_framebuffer_texture2D(target,attachment,textarget,texture->id,level); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC5(GL_obj,framebufferTexture2D,(void)) - -Void GL_obj::frontFace( int mode){ -{ - HX_STACK_PUSH("GL::frontFace","native/gl/GL.hx",812); - HX_STACK_ARG(mode,"mode"); - HX_STACK_LINE(812) - ::native::gl::GL_obj::nme_gl_front_face(mode); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,frontFace,(void)) - -Void GL_obj::generateMipmap( int target){ -{ - HX_STACK_PUSH("GL::generateMipmap","native/gl/GL.hx",819); - HX_STACK_ARG(target,"target"); - HX_STACK_LINE(819) - ::native::gl::GL_obj::nme_gl_generate_mipmap(target); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,generateMipmap,(void)) - -Dynamic GL_obj::getActiveAttrib( ::native::gl::Program program,int index){ - HX_STACK_PUSH("GL::getActiveAttrib","native/gl/GL.hx",826); - HX_STACK_ARG(program,"program"); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(826) - return ::native::gl::GL_obj::nme_gl_get_active_attrib(program->id,index); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,getActiveAttrib,return ) - -Dynamic GL_obj::getActiveUniform( ::native::gl::Program program,int index){ - HX_STACK_PUSH("GL::getActiveUniform","native/gl/GL.hx",833); - HX_STACK_ARG(program,"program"); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(833) - return ::native::gl::GL_obj::nme_gl_get_active_uniform(program->id,index); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,getActiveUniform,return ) - -Array< ::native::gl::Shader > GL_obj::getAttachedShaders( ::native::gl::Program program){ - HX_STACK_PUSH("GL::getAttachedShaders","native/gl/GL.hx",840); - HX_STACK_ARG(program,"program"); - HX_STACK_LINE(840) - return program->getShaders(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,getAttachedShaders,return ) - -int GL_obj::getAttribLocation( ::native::gl::Program program,::String name){ - HX_STACK_PUSH("GL::getAttribLocation","native/gl/GL.hx",847); - HX_STACK_ARG(program,"program"); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(847) - return ::native::gl::GL_obj::nme_gl_get_attrib_location(program->id,name); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,getAttribLocation,return ) - -Dynamic GL_obj::getBufferParameter( int target,int pname){ - HX_STACK_PUSH("GL::getBufferParameter","native/gl/GL.hx",854); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(pname,"pname"); - HX_STACK_LINE(854) - return ::native::gl::GL_obj::nme_gl_get_buffer_paramerter(target,pname); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,getBufferParameter,return ) - -Dynamic GL_obj::getContextAttributes( ){ - HX_STACK_PUSH("GL::getContextAttributes","native/gl/GL.hx",861); - HX_STACK_LINE(863) - Dynamic base = ::native::gl::GL_obj::nme_gl_get_context_attributes(); HX_STACK_VAR(base,"base"); - HX_STACK_LINE(864) - base->__FieldRef(HX_CSTRING("premultipliedAlpha")) = false; - HX_STACK_LINE(865) - base->__FieldRef(HX_CSTRING("preserveDrawingBuffer")) = false; - HX_STACK_LINE(866) - return base; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(GL_obj,getContextAttributes,return ) - -int GL_obj::getError( ){ - HX_STACK_PUSH("GL::getError","native/gl/GL.hx",871); - HX_STACK_LINE(871) - return ::native::gl::GL_obj::nme_gl_get_error(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(GL_obj,getError,return ) - -Dynamic GL_obj::getExtension( ::String name){ - HX_STACK_PUSH("GL::getExtension","native/gl/GL.hx",878); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(878) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,getExtension,return ) - -Dynamic GL_obj::getFramebufferAttachmentParameter( int target,int attachment,int pname){ - HX_STACK_PUSH("GL::getFramebufferAttachmentParameter","native/gl/GL.hx",886); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(attachment,"attachment"); - HX_STACK_ARG(pname,"pname"); - HX_STACK_LINE(886) - return ::native::gl::GL_obj::nme_gl_get_framebuffer_attachment_parameter(target,attachment,pname); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(GL_obj,getFramebufferAttachmentParameter,return ) - -Dynamic GL_obj::getParameter( int pname){ - HX_STACK_PUSH("GL::getParameter","native/gl/GL.hx",893); - HX_STACK_ARG(pname,"pname"); - HX_STACK_LINE(893) - return ::native::gl::GL_obj::nme_gl_get_parameter(pname); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,getParameter,return ) - -::String GL_obj::getProgramInfoLog( ::native::gl::Program program){ - HX_STACK_PUSH("GL::getProgramInfoLog","native/gl/GL.hx",900); - HX_STACK_ARG(program,"program"); - HX_STACK_LINE(900) - return ::native::gl::GL_obj::nme_gl_get_program_info_log(program->id); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,getProgramInfoLog,return ) - -int GL_obj::getProgramParameter( ::native::gl::Program program,int pname){ - HX_STACK_PUSH("GL::getProgramParameter","native/gl/GL.hx",907); - HX_STACK_ARG(program,"program"); - HX_STACK_ARG(pname,"pname"); - HX_STACK_LINE(907) - return ::native::gl::GL_obj::nme_gl_get_program_parameter(program->id,pname); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,getProgramParameter,return ) - -Dynamic GL_obj::getRenderbufferParameter( int target,int pname){ - HX_STACK_PUSH("GL::getRenderbufferParameter","native/gl/GL.hx",914); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(pname,"pname"); - HX_STACK_LINE(914) - return ::native::gl::GL_obj::nme_gl_get_render_buffer_parameter(target,pname); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,getRenderbufferParameter,return ) - -::String GL_obj::getShaderInfoLog( ::native::gl::Shader shader){ - HX_STACK_PUSH("GL::getShaderInfoLog","native/gl/GL.hx",921); - HX_STACK_ARG(shader,"shader"); - HX_STACK_LINE(921) - return ::native::gl::GL_obj::nme_gl_get_shader_info_log(shader->id); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,getShaderInfoLog,return ) - -int GL_obj::getShaderParameter( ::native::gl::Shader shader,int pname){ - HX_STACK_PUSH("GL::getShaderParameter","native/gl/GL.hx",928); - HX_STACK_ARG(shader,"shader"); - HX_STACK_ARG(pname,"pname"); - HX_STACK_LINE(928) - return ::native::gl::GL_obj::nme_gl_get_shader_parameter(shader->id,pname); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,getShaderParameter,return ) - -Dynamic GL_obj::getShaderPrecisionFormat( int shadertype,int precisiontype){ - HX_STACK_PUSH("GL::getShaderPrecisionFormat","native/gl/GL.hx",935); - HX_STACK_ARG(shadertype,"shadertype"); - HX_STACK_ARG(precisiontype,"precisiontype"); - HX_STACK_LINE(935) - return ::native::gl::GL_obj::nme_gl_get_shader_precision_format(shadertype,precisiontype); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,getShaderPrecisionFormat,return ) - -::String GL_obj::getShaderSource( ::native::gl::Shader shader){ - HX_STACK_PUSH("GL::getShaderSource","native/gl/GL.hx",942); - HX_STACK_ARG(shader,"shader"); - HX_STACK_LINE(942) - return ::native::gl::GL_obj::nme_gl_get_shader_source(shader->id); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,getShaderSource,return ) - -Array< ::String > GL_obj::getSupportedExtensions( ){ - HX_STACK_PUSH("GL::getSupportedExtensions","native/gl/GL.hx",949); - HX_STACK_LINE(951) - Array< ::String > result = Array_obj< ::String >::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(952) - ::native::gl::GL_obj::nme_gl_get_supported_extensions(result); - HX_STACK_LINE(953) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(GL_obj,getSupportedExtensions,return ) - -Dynamic GL_obj::getTexParameter( int target,int pname){ - HX_STACK_PUSH("GL::getTexParameter","native/gl/GL.hx",958); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(pname,"pname"); - HX_STACK_LINE(958) - return ::native::gl::GL_obj::nme_gl_get_tex_parameter(target,pname); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,getTexParameter,return ) - -Dynamic GL_obj::getUniform( ::native::gl::Program program,Dynamic location){ - HX_STACK_PUSH("GL::getUniform","native/gl/GL.hx",965); - HX_STACK_ARG(program,"program"); - HX_STACK_ARG(location,"location"); - HX_STACK_LINE(965) - return ::native::gl::GL_obj::nme_gl_get_uniform(program->id,location); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,getUniform,return ) - -Dynamic GL_obj::getUniformLocation( ::native::gl::Program program,::String name){ - HX_STACK_PUSH("GL::getUniformLocation","native/gl/GL.hx",972); - HX_STACK_ARG(program,"program"); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(972) - return ::native::gl::GL_obj::nme_gl_get_uniform_location(program->id,name); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,getUniformLocation,return ) - -Dynamic GL_obj::getVertexAttrib( int index,int pname){ - HX_STACK_PUSH("GL::getVertexAttrib","native/gl/GL.hx",979); - HX_STACK_ARG(index,"index"); - HX_STACK_ARG(pname,"pname"); - HX_STACK_LINE(979) - return ::native::gl::GL_obj::nme_gl_get_vertex_attrib(index,pname); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,getVertexAttrib,return ) - -int GL_obj::getVertexAttribOffset( int index,int pname){ - HX_STACK_PUSH("GL::getVertexAttribOffset","native/gl/GL.hx",986); - HX_STACK_ARG(index,"index"); - HX_STACK_ARG(pname,"pname"); - HX_STACK_LINE(986) - return ::native::gl::GL_obj::nme_gl_get_vertex_attrib_offset(index,pname); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,getVertexAttribOffset,return ) - -Void GL_obj::hint( int target,int mode){ -{ - HX_STACK_PUSH("GL::hint","native/gl/GL.hx",993); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(mode,"mode"); - HX_STACK_LINE(993) - ::native::gl::GL_obj::nme_gl_hint(target,mode); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,hint,(void)) - -bool GL_obj::isBuffer( ::native::gl::Buffer buffer){ - HX_STACK_PUSH("GL::isBuffer","native/gl/GL.hx",1000); - HX_STACK_ARG(buffer,"buffer"); - HX_STACK_LINE(1000) - return (bool((bool((buffer != null())) && bool((buffer->id > (int)0)))) && bool(::native::gl::GL_obj::nme_gl_is_buffer(buffer->id))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,isBuffer,return ) - -bool GL_obj::isEnabled( int cap){ - HX_STACK_PUSH("GL::isEnabled","native/gl/GL.hx",1011); - HX_STACK_ARG(cap,"cap"); - HX_STACK_LINE(1011) - return ::native::gl::GL_obj::nme_gl_is_enabled(cap); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,isEnabled,return ) - -bool GL_obj::isFramebuffer( ::native::gl::Framebuffer framebuffer){ - HX_STACK_PUSH("GL::isFramebuffer","native/gl/GL.hx",1018); - HX_STACK_ARG(framebuffer,"framebuffer"); - HX_STACK_LINE(1018) - return (bool((bool((framebuffer != null())) && bool((framebuffer->id > (int)0)))) && bool(::native::gl::GL_obj::nme_gl_is_framebuffer(framebuffer->id))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,isFramebuffer,return ) - -bool GL_obj::isProgram( ::native::gl::Program program){ - HX_STACK_PUSH("GL::isProgram","native/gl/GL.hx",1025); - HX_STACK_ARG(program,"program"); - HX_STACK_LINE(1025) - return (bool((bool((program != null())) && bool((program->id > (int)0)))) && bool(::native::gl::GL_obj::nme_gl_is_program(program->id))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,isProgram,return ) - -bool GL_obj::isRenderbuffer( ::native::gl::Renderbuffer renderbuffer){ - HX_STACK_PUSH("GL::isRenderbuffer","native/gl/GL.hx",1032); - HX_STACK_ARG(renderbuffer,"renderbuffer"); - HX_STACK_LINE(1032) - return (bool((bool((renderbuffer != null())) && bool((renderbuffer->id > (int)0)))) && bool(::native::gl::GL_obj::nme_gl_is_renderbuffer(renderbuffer->id))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,isRenderbuffer,return ) - -bool GL_obj::isShader( ::native::gl::Shader shader){ - HX_STACK_PUSH("GL::isShader","native/gl/GL.hx",1039); - HX_STACK_ARG(shader,"shader"); - HX_STACK_LINE(1039) - return (bool((bool((shader != null())) && bool((shader->id > (int)0)))) && bool(::native::gl::GL_obj::nme_gl_is_shader(shader->id))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,isShader,return ) - -bool GL_obj::isTexture( ::native::gl::Texture texture){ - HX_STACK_PUSH("GL::isTexture","native/gl/GL.hx",1046); - HX_STACK_ARG(texture,"texture"); - HX_STACK_LINE(1046) - return (bool((bool((texture != null())) && bool((texture->id > (int)0)))) && bool(::native::gl::GL_obj::nme_gl_is_texture(texture->id))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,isTexture,return ) - -Void GL_obj::lineWidth( Float width){ -{ - HX_STACK_PUSH("GL::lineWidth","native/gl/GL.hx",1053); - HX_STACK_ARG(width,"width"); - HX_STACK_LINE(1053) - ::native::gl::GL_obj::nme_gl_line_width(width); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,lineWidth,(void)) - -Void GL_obj::linkProgram( ::native::gl::Program program){ -{ - HX_STACK_PUSH("GL::linkProgram","native/gl/GL.hx",1060); - HX_STACK_ARG(program,"program"); - HX_STACK_LINE(1060) - ::native::gl::GL_obj::nme_gl_link_program(program->id); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,linkProgram,(void)) - -Dynamic GL_obj::load( ::String inName,int inArgCount){ - HX_STACK_PUSH("GL::load","native/gl/GL.hx",1067); - HX_STACK_ARG(inName,"inName"); - HX_STACK_ARG(inArgCount,"inArgCount"); - HX_STACK_LINE(1067) - try{ - HX_STACK_LINE(1069) - return ::native::Loader_obj::load(inName,inArgCount); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(1075) - ::haxe::Log_obj::trace(e,hx::SourceInfo(HX_CSTRING("GL.hx"),1075,HX_CSTRING("native.gl.GL"),HX_CSTRING("load"))); - HX_STACK_LINE(1076) - return null(); - } - } - } - HX_STACK_LINE(1067) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,load,return ) - -Void GL_obj::pixelStorei( int pname,int param){ -{ - HX_STACK_PUSH("GL::pixelStorei","native/gl/GL.hx",1083); - HX_STACK_ARG(pname,"pname"); - HX_STACK_ARG(param,"param"); - HX_STACK_LINE(1083) - ::native::gl::GL_obj::nme_gl_pixel_storei(pname,param); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,pixelStorei,(void)) - -Void GL_obj::polygonOffset( Float factor,Float units){ -{ - HX_STACK_PUSH("GL::polygonOffset","native/gl/GL.hx",1090); - HX_STACK_ARG(factor,"factor"); - HX_STACK_ARG(units,"units"); - HX_STACK_LINE(1090) - ::native::gl::GL_obj::nme_gl_polygon_offset(factor,units); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,polygonOffset,(void)) - -Void GL_obj::readPixels( int x,int y,int width,int height,int format,int type,::native::utils::ByteArray pixels){ -{ - HX_STACK_PUSH("GL::readPixels","native/gl/GL.hx",1097); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); - HX_STACK_ARG(format,"format"); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(pixels,"pixels"); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC7(GL_obj,readPixels,(void)) - -Void GL_obj::renderbufferStorage( int target,int internalformat,int width,int height){ -{ - HX_STACK_PUSH("GL::renderbufferStorage","native/gl/GL.hx",1104); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(internalformat,"internalformat"); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); - HX_STACK_LINE(1104) - ::native::gl::GL_obj::nme_gl_renderbuffer_storage(target,internalformat,width,height); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(GL_obj,renderbufferStorage,(void)) - -Void GL_obj::sampleCoverage( Float value,bool invert){ -{ - HX_STACK_PUSH("GL::sampleCoverage","native/gl/GL.hx",1111); - HX_STACK_ARG(value,"value"); - HX_STACK_ARG(invert,"invert"); - HX_STACK_LINE(1111) - ::native::gl::GL_obj::nme_gl_sample_coverage(value,invert); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,sampleCoverage,(void)) - -Void GL_obj::scissor( int x,int y,int width,int height){ -{ - HX_STACK_PUSH("GL::scissor","native/gl/GL.hx",1118); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); - HX_STACK_LINE(1118) - ::native::gl::GL_obj::nme_gl_scissor(x,y,width,height); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(GL_obj,scissor,(void)) - -Void GL_obj::shaderSource( ::native::gl::Shader shader,::String source){ -{ - HX_STACK_PUSH("GL::shaderSource","native/gl/GL.hx",1125); - HX_STACK_ARG(shader,"shader"); - HX_STACK_ARG(source,"source"); - HX_STACK_LINE(1125) - ::native::gl::GL_obj::nme_gl_shader_source(shader->id,source); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,shaderSource,(void)) - -Void GL_obj::stencilFunc( int func,int ref,int mask){ -{ - HX_STACK_PUSH("GL::stencilFunc","native/gl/GL.hx",1132); - HX_STACK_ARG(func,"func"); - HX_STACK_ARG(ref,"ref"); - HX_STACK_ARG(mask,"mask"); - HX_STACK_LINE(1132) - ::native::gl::GL_obj::nme_gl_stencil_func(func,ref,mask); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(GL_obj,stencilFunc,(void)) - -Void GL_obj::stencilFuncSeparate( int face,int func,int ref,int mask){ -{ - HX_STACK_PUSH("GL::stencilFuncSeparate","native/gl/GL.hx",1139); - HX_STACK_ARG(face,"face"); - HX_STACK_ARG(func,"func"); - HX_STACK_ARG(ref,"ref"); - HX_STACK_ARG(mask,"mask"); - HX_STACK_LINE(1139) - ::native::gl::GL_obj::nme_gl_stencil_func_separate(face,func,ref,mask); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(GL_obj,stencilFuncSeparate,(void)) - -Void GL_obj::stencilMask( int mask){ -{ - HX_STACK_PUSH("GL::stencilMask","native/gl/GL.hx",1146); - HX_STACK_ARG(mask,"mask"); - HX_STACK_LINE(1146) - ::native::gl::GL_obj::nme_gl_stencil_mask(mask); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,stencilMask,(void)) - -Void GL_obj::stencilMaskSeparate( int face,int mask){ -{ - HX_STACK_PUSH("GL::stencilMaskSeparate","native/gl/GL.hx",1153); - HX_STACK_ARG(face,"face"); - HX_STACK_ARG(mask,"mask"); - HX_STACK_LINE(1153) - ::native::gl::GL_obj::nme_gl_stencil_mask_separate(face,mask); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,stencilMaskSeparate,(void)) - -Void GL_obj::stencilOp( int fail,int zfail,int zpass){ -{ - HX_STACK_PUSH("GL::stencilOp","native/gl/GL.hx",1160); - HX_STACK_ARG(fail,"fail"); - HX_STACK_ARG(zfail,"zfail"); - HX_STACK_ARG(zpass,"zpass"); - HX_STACK_LINE(1160) - ::native::gl::GL_obj::nme_gl_stencil_op(fail,zfail,zpass); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(GL_obj,stencilOp,(void)) - -Void GL_obj::stencilOpSeparate( int face,int fail,int zfail,int zpass){ -{ - HX_STACK_PUSH("GL::stencilOpSeparate","native/gl/GL.hx",1167); - HX_STACK_ARG(face,"face"); - HX_STACK_ARG(fail,"fail"); - HX_STACK_ARG(zfail,"zfail"); - HX_STACK_ARG(zpass,"zpass"); - HX_STACK_LINE(1167) - ::native::gl::GL_obj::nme_gl_stencil_op_separate(face,fail,zfail,zpass); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(GL_obj,stencilOpSeparate,(void)) - -Void GL_obj::texImage2D( int target,int level,int internalformat,int width,int height,int border,int format,int type,::native::utils::ArrayBufferView pixels){ -{ - HX_STACK_PUSH("GL::texImage2D","native/gl/GL.hx",1174); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(level,"level"); - HX_STACK_ARG(internalformat,"internalformat"); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); - HX_STACK_ARG(border,"border"); - HX_STACK_ARG(format,"format"); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(pixels,"pixels"); - HX_STACK_LINE(1174) - ::native::gl::GL_obj::nme_gl_tex_image_2d(target,level,internalformat,width,height,border,format,type,( (((pixels == null()))) ? ::native::utils::ByteArray(null()) : ::native::utils::ByteArray(pixels->getByteBuffer()) ),( (((pixels == null()))) ? Dynamic(null()) : Dynamic(pixels->getStart()) )); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC9(GL_obj,texImage2D,(void)) - -Void GL_obj::texParameterf( int target,int pname,Float param){ -{ - HX_STACK_PUSH("GL::texParameterf","native/gl/GL.hx",1181); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(pname,"pname"); - HX_STACK_ARG(param,"param"); - HX_STACK_LINE(1181) - ::native::gl::GL_obj::nme_gl_tex_parameterf(target,pname,param); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(GL_obj,texParameterf,(void)) - -Void GL_obj::texParameteri( int target,int pname,int param){ -{ - HX_STACK_PUSH("GL::texParameteri","native/gl/GL.hx",1188); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(pname,"pname"); - HX_STACK_ARG(param,"param"); - HX_STACK_LINE(1188) - ::native::gl::GL_obj::nme_gl_tex_parameteri(target,pname,param); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(GL_obj,texParameteri,(void)) - -Void GL_obj::texSubImage2D( int target,int level,int xoffset,int yoffset,int width,int height,int format,int type,::native::utils::ByteArray pixels){ -{ - HX_STACK_PUSH("GL::texSubImage2D","native/gl/GL.hx",1195); - HX_STACK_ARG(target,"target"); - HX_STACK_ARG(level,"level"); - HX_STACK_ARG(xoffset,"xoffset"); - HX_STACK_ARG(yoffset,"yoffset"); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); - HX_STACK_ARG(format,"format"); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(pixels,"pixels"); - HX_STACK_LINE(1195) - ::native::gl::GL_obj::nme_gl_tex_sub_image_2d(target,level,xoffset,yoffset,width,height,format,type,( (((pixels == null()))) ? ::native::utils::ByteArray(null()) : ::native::utils::ByteArray(pixels->getByteBuffer()) ),( (((pixels == null()))) ? Dynamic(null()) : Dynamic(pixels->getStart()) )); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC9(GL_obj,texSubImage2D,(void)) - -Void GL_obj::uniform1f( Dynamic location,Float x){ -{ - HX_STACK_PUSH("GL::uniform1f","native/gl/GL.hx",1202); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(1202) - ::native::gl::GL_obj::nme_gl_uniform1f(location,x); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,uniform1f,(void)) - -Void GL_obj::uniform1fv( Dynamic location,Array< Float > x){ -{ - HX_STACK_PUSH("GL::uniform1fv","native/gl/GL.hx",1209); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(1209) - ::native::gl::GL_obj::nme_gl_uniform1fv(location,x); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,uniform1fv,(void)) - -Void GL_obj::uniform1i( Dynamic location,int x){ -{ - HX_STACK_PUSH("GL::uniform1i","native/gl/GL.hx",1216); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(1216) - ::native::gl::GL_obj::nme_gl_uniform1i(location,x); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,uniform1i,(void)) - -Void GL_obj::uniform1iv( Dynamic location,Array< int > v){ -{ - HX_STACK_PUSH("GL::uniform1iv","native/gl/GL.hx",1223); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(1223) - ::native::gl::GL_obj::nme_gl_uniform1iv(location,v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,uniform1iv,(void)) - -Void GL_obj::uniform2f( Dynamic location,Float x,Float y){ -{ - HX_STACK_PUSH("GL::uniform2f","native/gl/GL.hx",1230); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_LINE(1230) - ::native::gl::GL_obj::nme_gl_uniform2f(location,x,y); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(GL_obj,uniform2f,(void)) - -Void GL_obj::uniform2fv( Dynamic location,Array< Float > v){ -{ - HX_STACK_PUSH("GL::uniform2fv","native/gl/GL.hx",1237); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(1237) - ::native::gl::GL_obj::nme_gl_uniform2fv(location,v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,uniform2fv,(void)) - -Void GL_obj::uniform2i( Dynamic location,int x,int y){ -{ - HX_STACK_PUSH("GL::uniform2i","native/gl/GL.hx",1244); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_LINE(1244) - ::native::gl::GL_obj::nme_gl_uniform2i(location,x,y); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(GL_obj,uniform2i,(void)) - -Void GL_obj::uniform2iv( Dynamic location,Array< int > v){ -{ - HX_STACK_PUSH("GL::uniform2iv","native/gl/GL.hx",1251); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(1251) - ::native::gl::GL_obj::nme_gl_uniform2iv(location,v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,uniform2iv,(void)) - -Void GL_obj::uniform3f( Dynamic location,Float x,Float y,Float z){ -{ - HX_STACK_PUSH("GL::uniform3f","native/gl/GL.hx",1258); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(z,"z"); - HX_STACK_LINE(1258) - ::native::gl::GL_obj::nme_gl_uniform3f(location,x,y,z); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(GL_obj,uniform3f,(void)) - -Void GL_obj::uniform3fv( Dynamic location,Array< Float > v){ -{ - HX_STACK_PUSH("GL::uniform3fv","native/gl/GL.hx",1265); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(1265) - ::native::gl::GL_obj::nme_gl_uniform3fv(location,v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,uniform3fv,(void)) - -Void GL_obj::uniform3i( Dynamic location,int x,int y,int z){ -{ - HX_STACK_PUSH("GL::uniform3i","native/gl/GL.hx",1272); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(z,"z"); - HX_STACK_LINE(1272) - ::native::gl::GL_obj::nme_gl_uniform3i(location,x,y,z); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(GL_obj,uniform3i,(void)) - -Void GL_obj::uniform3iv( Dynamic location,Array< int > v){ -{ - HX_STACK_PUSH("GL::uniform3iv","native/gl/GL.hx",1279); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(1279) - ::native::gl::GL_obj::nme_gl_uniform3iv(location,v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,uniform3iv,(void)) - -Void GL_obj::uniform4f( Dynamic location,Float x,Float y,Float z,Float w){ -{ - HX_STACK_PUSH("GL::uniform4f","native/gl/GL.hx",1286); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(z,"z"); - HX_STACK_ARG(w,"w"); - HX_STACK_LINE(1286) - ::native::gl::GL_obj::nme_gl_uniform4f(location,x,y,z,w); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC5(GL_obj,uniform4f,(void)) - -Void GL_obj::uniform4fv( Dynamic location,Array< Float > v){ -{ - HX_STACK_PUSH("GL::uniform4fv","native/gl/GL.hx",1293); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(1293) - ::native::gl::GL_obj::nme_gl_uniform4fv(location,v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,uniform4fv,(void)) - -Void GL_obj::uniform4i( Dynamic location,int x,int y,int z,int w){ -{ - HX_STACK_PUSH("GL::uniform4i","native/gl/GL.hx",1300); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(z,"z"); - HX_STACK_ARG(w,"w"); - HX_STACK_LINE(1300) - ::native::gl::GL_obj::nme_gl_uniform4i(location,x,y,z,w); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC5(GL_obj,uniform4i,(void)) - -Void GL_obj::uniform4iv( Dynamic location,Array< int > v){ -{ - HX_STACK_PUSH("GL::uniform4iv","native/gl/GL.hx",1307); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(1307) - ::native::gl::GL_obj::nme_gl_uniform4iv(location,v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,uniform4iv,(void)) - -Void GL_obj::uniformMatrix2fv( Dynamic location,bool transpose,::native::utils::Float32Array v){ -{ - HX_STACK_PUSH("GL::uniformMatrix2fv","native/gl/GL.hx",1314); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(transpose,"transpose"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(1314) - ::native::gl::GL_obj::nme_gl_uniform_matrix(location,transpose,v->getByteBuffer(),(int)2); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(GL_obj,uniformMatrix2fv,(void)) - -Void GL_obj::uniformMatrix3fv( Dynamic location,bool transpose,::native::utils::Float32Array v){ -{ - HX_STACK_PUSH("GL::uniformMatrix3fv","native/gl/GL.hx",1321); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(transpose,"transpose"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(1321) - ::native::gl::GL_obj::nme_gl_uniform_matrix(location,transpose,v->getByteBuffer(),(int)3); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(GL_obj,uniformMatrix3fv,(void)) - -Void GL_obj::uniformMatrix4fv( Dynamic location,bool transpose,::native::utils::Float32Array v){ -{ - HX_STACK_PUSH("GL::uniformMatrix4fv","native/gl/GL.hx",1328); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(transpose,"transpose"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(1328) - ::native::gl::GL_obj::nme_gl_uniform_matrix(location,transpose,v->getByteBuffer(),(int)4); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(GL_obj,uniformMatrix4fv,(void)) - -Void GL_obj::uniformMatrix3D( Dynamic location,bool transpose,::native::geom::Matrix3D matrix){ -{ - HX_STACK_PUSH("GL::uniformMatrix3D","native/gl/GL.hx",1335); - HX_STACK_ARG(location,"location"); - HX_STACK_ARG(transpose,"transpose"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_LINE(1335) - ::native::gl::GL_obj::nme_gl_uniform_matrix(location,transpose,::native::utils::Float32Array_obj::fromMatrix(matrix)->getByteBuffer(),(int)4); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(GL_obj,uniformMatrix3D,(void)) - -Void GL_obj::useProgram( ::native::gl::Program program){ -{ - HX_STACK_PUSH("GL::useProgram","native/gl/GL.hx",1342); - HX_STACK_ARG(program,"program"); - HX_STACK_LINE(1342) - ::native::gl::GL_obj::nme_gl_use_program(( (((program == null()))) ? int((int)0) : int(program->id) )); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,useProgram,(void)) - -Void GL_obj::validateProgram( ::native::gl::Program program){ -{ - HX_STACK_PUSH("GL::validateProgram","native/gl/GL.hx",1349); - HX_STACK_ARG(program,"program"); - HX_STACK_LINE(1349) - ::native::gl::GL_obj::nme_gl_validate_program(program->id); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GL_obj,validateProgram,(void)) - -Void GL_obj::vertexAttrib1f( int indx,Float x){ -{ - HX_STACK_PUSH("GL::vertexAttrib1f","native/gl/GL.hx",1356); - HX_STACK_ARG(indx,"indx"); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(1356) - ::native::gl::GL_obj::nme_gl_vertex_attrib1f(indx,x); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,vertexAttrib1f,(void)) - -Void GL_obj::vertexAttrib1fv( int indx,Array< Float > values){ -{ - HX_STACK_PUSH("GL::vertexAttrib1fv","native/gl/GL.hx",1363); - HX_STACK_ARG(indx,"indx"); - HX_STACK_ARG(values,"values"); - HX_STACK_LINE(1363) - ::native::gl::GL_obj::nme_gl_vertex_attrib1fv(indx,values); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,vertexAttrib1fv,(void)) - -Void GL_obj::vertexAttrib2f( int indx,Float x,Float y){ -{ - HX_STACK_PUSH("GL::vertexAttrib2f","native/gl/GL.hx",1370); - HX_STACK_ARG(indx,"indx"); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_LINE(1370) - ::native::gl::GL_obj::nme_gl_vertex_attrib2f(indx,x,y); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(GL_obj,vertexAttrib2f,(void)) - -Void GL_obj::vertexAttrib2fv( int indx,Array< Float > values){ -{ - HX_STACK_PUSH("GL::vertexAttrib2fv","native/gl/GL.hx",1377); - HX_STACK_ARG(indx,"indx"); - HX_STACK_ARG(values,"values"); - HX_STACK_LINE(1377) - ::native::gl::GL_obj::nme_gl_vertex_attrib2fv(indx,values); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,vertexAttrib2fv,(void)) - -Void GL_obj::vertexAttrib3f( int indx,Float x,Float y,Float z){ -{ - HX_STACK_PUSH("GL::vertexAttrib3f","native/gl/GL.hx",1384); - HX_STACK_ARG(indx,"indx"); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(z,"z"); - HX_STACK_LINE(1384) - ::native::gl::GL_obj::nme_gl_vertex_attrib3f(indx,x,y,z); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(GL_obj,vertexAttrib3f,(void)) - -Void GL_obj::vertexAttrib3fv( int indx,Array< Float > values){ -{ - HX_STACK_PUSH("GL::vertexAttrib3fv","native/gl/GL.hx",1391); - HX_STACK_ARG(indx,"indx"); - HX_STACK_ARG(values,"values"); - HX_STACK_LINE(1391) - ::native::gl::GL_obj::nme_gl_vertex_attrib3fv(indx,values); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,vertexAttrib3fv,(void)) - -Void GL_obj::vertexAttrib4f( int indx,Float x,Float y,Float z,Float w){ -{ - HX_STACK_PUSH("GL::vertexAttrib4f","native/gl/GL.hx",1398); - HX_STACK_ARG(indx,"indx"); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(z,"z"); - HX_STACK_ARG(w,"w"); - HX_STACK_LINE(1398) - ::native::gl::GL_obj::nme_gl_vertex_attrib4f(indx,x,y,z,w); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC5(GL_obj,vertexAttrib4f,(void)) - -Void GL_obj::vertexAttrib4fv( int indx,Array< Float > values){ -{ - HX_STACK_PUSH("GL::vertexAttrib4fv","native/gl/GL.hx",1405); - HX_STACK_ARG(indx,"indx"); - HX_STACK_ARG(values,"values"); - HX_STACK_LINE(1405) - ::native::gl::GL_obj::nme_gl_vertex_attrib4fv(indx,values); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(GL_obj,vertexAttrib4fv,(void)) - -Void GL_obj::vertexAttribPointer( int indx,int size,int type,bool normalized,int stride,int offset){ -{ - HX_STACK_PUSH("GL::vertexAttribPointer","native/gl/GL.hx",1412); - HX_STACK_ARG(indx,"indx"); - HX_STACK_ARG(size,"size"); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(normalized,"normalized"); - HX_STACK_ARG(stride,"stride"); - HX_STACK_ARG(offset,"offset"); - HX_STACK_LINE(1412) - ::native::gl::GL_obj::nme_gl_vertex_attrib_pointer(indx,size,type,normalized,stride,offset); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC6(GL_obj,vertexAttribPointer,(void)) - -Void GL_obj::viewport( int x,int y,int width,int height){ -{ - HX_STACK_PUSH("GL::viewport","native/gl/GL.hx",1419); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); - HX_STACK_LINE(1419) - ::native::gl::GL_obj::nme_gl_viewport(x,y,width,height); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(GL_obj,viewport,(void)) - -int GL_obj::get_drawingBufferHeight( ){ - HX_STACK_PUSH("GL::get_drawingBufferHeight","native/gl/GL.hx",1433); - HX_STACK_LINE(1433) - return ::native::Lib_obj::get_current()->get_stage()->get_stageHeight(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(GL_obj,get_drawingBufferHeight,return ) - -int GL_obj::get_drawingBufferWidth( ){ - HX_STACK_PUSH("GL::get_drawingBufferWidth","native/gl/GL.hx",1434); - HX_STACK_LINE(1434) - return ::native::Lib_obj::get_current()->get_stage()->get_stageWidth(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(GL_obj,get_drawingBufferWidth,return ) - -int GL_obj::get_version( ){ - HX_STACK_PUSH("GL::get_version","native/gl/GL.hx",1435); - HX_STACK_LINE(1435) - return ::native::gl::GL_obj::nme_gl_version(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(GL_obj,get_version,return ) - -Dynamic GL_obj::nme_gl_active_texture; - -Dynamic GL_obj::nme_gl_attach_shader; - -Dynamic GL_obj::nme_gl_bind_attrib_location; - -Dynamic GL_obj::nme_gl_bind_bitmap_data_texture; - -Dynamic GL_obj::nme_gl_bind_buffer; - -Dynamic GL_obj::nme_gl_bind_framebuffer; - -Dynamic GL_obj::nme_gl_bind_renderbuffer; - -Dynamic GL_obj::nme_gl_bind_texture; - -Dynamic GL_obj::nme_gl_blend_color; - -Dynamic GL_obj::nme_gl_blend_equation; - -Dynamic GL_obj::nme_gl_blend_equation_separate; - -Dynamic GL_obj::nme_gl_blend_func; - -Dynamic GL_obj::nme_gl_blend_func_separate; - -Dynamic GL_obj::nme_gl_buffer_data; - -Dynamic GL_obj::nme_gl_buffer_sub_data; - -Dynamic GL_obj::nme_gl_check_framebuffer_status; - -Dynamic GL_obj::nme_gl_clear; - -Dynamic GL_obj::nme_gl_clear_color; - -Dynamic GL_obj::nme_gl_clear_depth; - -Dynamic GL_obj::nme_gl_clear_stencil; - -Dynamic GL_obj::nme_gl_color_mask; - -Dynamic GL_obj::nme_gl_compile_shader; - -Dynamic GL_obj::nme_gl_compressed_tex_image_2d; - -Dynamic GL_obj::nme_gl_compressed_tex_sub_image_2d; - -Dynamic GL_obj::nme_gl_copy_tex_image_2d; - -Dynamic GL_obj::nme_gl_copy_tex_sub_image_2d; - -Dynamic GL_obj::nme_gl_create_buffer; - -Dynamic GL_obj::nme_gl_create_framebuffer; - -Dynamic GL_obj::nme_gl_create_program; - -Dynamic GL_obj::nme_gl_create_render_buffer; - -Dynamic GL_obj::nme_gl_create_shader; - -Dynamic GL_obj::nme_gl_create_texture; - -Dynamic GL_obj::nme_gl_delete_buffer; - -Dynamic GL_obj::nme_gl_delete_program; - -Dynamic GL_obj::nme_gl_delete_shader; - -Dynamic GL_obj::nme_gl_delete_texture; - -Dynamic GL_obj::nme_gl_depth_func; - -Dynamic GL_obj::nme_gl_depth_mask; - -Dynamic GL_obj::nme_gl_depth_range; - -Dynamic GL_obj::nme_gl_detach_shader; - -Dynamic GL_obj::nme_gl_disable; - -Dynamic GL_obj::nme_gl_disable_vertex_attrib_array; - -Dynamic GL_obj::nme_gl_draw_arrays; - -Dynamic GL_obj::nme_gl_draw_elements; - -Dynamic GL_obj::nme_gl_enable; - -Dynamic GL_obj::nme_gl_enable_vertex_attrib_array; - -Dynamic GL_obj::nme_gl_finish; - -Dynamic GL_obj::nme_gl_flush; - -Dynamic GL_obj::nme_gl_framebuffer_renderbuffer; - -Dynamic GL_obj::nme_gl_framebuffer_texture2D; - -Dynamic GL_obj::nme_gl_front_face; - -Dynamic GL_obj::nme_gl_generate_mipmap; - -Dynamic GL_obj::nme_gl_get_active_attrib; - -Dynamic GL_obj::nme_gl_get_active_uniform; - -Dynamic GL_obj::nme_gl_get_attrib_location; - -Dynamic GL_obj::nme_gl_get_buffer_paramerter; - -Dynamic GL_obj::nme_gl_get_context_attributes; - -Dynamic GL_obj::nme_gl_get_error; - -Dynamic GL_obj::nme_gl_get_framebuffer_attachment_parameter; - -Dynamic GL_obj::nme_gl_get_parameter; - -Dynamic GL_obj::nme_gl_get_program_info_log; - -Dynamic GL_obj::nme_gl_get_program_parameter; - -Dynamic GL_obj::nme_gl_get_render_buffer_parameter; - -Dynamic GL_obj::nme_gl_get_shader_info_log; - -Dynamic GL_obj::nme_gl_get_shader_parameter; - -Dynamic GL_obj::nme_gl_get_shader_precision_format; - -Dynamic GL_obj::nme_gl_get_shader_source; - -Dynamic GL_obj::nme_gl_get_supported_extensions; - -Dynamic GL_obj::nme_gl_get_tex_parameter; - -Dynamic GL_obj::nme_gl_get_uniform; - -Dynamic GL_obj::nme_gl_get_uniform_location; - -Dynamic GL_obj::nme_gl_get_vertex_attrib; - -Dynamic GL_obj::nme_gl_get_vertex_attrib_offset; - -Dynamic GL_obj::nme_gl_hint; - -Dynamic GL_obj::nme_gl_is_buffer; - -Dynamic GL_obj::nme_gl_is_enabled; - -Dynamic GL_obj::nme_gl_is_framebuffer; - -Dynamic GL_obj::nme_gl_is_program; - -Dynamic GL_obj::nme_gl_is_renderbuffer; - -Dynamic GL_obj::nme_gl_is_shader; - -Dynamic GL_obj::nme_gl_is_texture; - -Dynamic GL_obj::nme_gl_line_width; - -Dynamic GL_obj::nme_gl_link_program; - -Dynamic GL_obj::nme_gl_pixel_storei; - -Dynamic GL_obj::nme_gl_polygon_offset; - -Dynamic GL_obj::nme_gl_renderbuffer_storage; - -Dynamic GL_obj::nme_gl_sample_coverage; - -Dynamic GL_obj::nme_gl_scissor; - -Dynamic GL_obj::nme_gl_shader_source; - -Dynamic GL_obj::nme_gl_stencil_func; - -Dynamic GL_obj::nme_gl_stencil_func_separate; - -Dynamic GL_obj::nme_gl_stencil_mask; - -Dynamic GL_obj::nme_gl_stencil_mask_separate; - -Dynamic GL_obj::nme_gl_stencil_op; - -Dynamic GL_obj::nme_gl_stencil_op_separate; - -Dynamic GL_obj::nme_gl_tex_image_2d; - -Dynamic GL_obj::nme_gl_tex_parameterf; - -Dynamic GL_obj::nme_gl_tex_parameteri; - -Dynamic GL_obj::nme_gl_tex_sub_image_2d; - -Dynamic GL_obj::nme_gl_uniform1f; - -Dynamic GL_obj::nme_gl_uniform1fv; - -Dynamic GL_obj::nme_gl_uniform1i; - -Dynamic GL_obj::nme_gl_uniform1iv; - -Dynamic GL_obj::nme_gl_uniform2f; - -Dynamic GL_obj::nme_gl_uniform2fv; - -Dynamic GL_obj::nme_gl_uniform2i; - -Dynamic GL_obj::nme_gl_uniform2iv; - -Dynamic GL_obj::nme_gl_uniform3f; - -Dynamic GL_obj::nme_gl_uniform3fv; - -Dynamic GL_obj::nme_gl_uniform3i; - -Dynamic GL_obj::nme_gl_uniform3iv; - -Dynamic GL_obj::nme_gl_uniform4f; - -Dynamic GL_obj::nme_gl_uniform4fv; - -Dynamic GL_obj::nme_gl_uniform4i; - -Dynamic GL_obj::nme_gl_uniform4iv; - -Dynamic GL_obj::nme_gl_uniform_matrix; - -Dynamic GL_obj::nme_gl_use_program; - -Dynamic GL_obj::nme_gl_validate_program; - -Dynamic GL_obj::nme_gl_version; - -Dynamic GL_obj::nme_gl_vertex_attrib1f; - -Dynamic GL_obj::nme_gl_vertex_attrib1fv; - -Dynamic GL_obj::nme_gl_vertex_attrib2f; - -Dynamic GL_obj::nme_gl_vertex_attrib2fv; - -Dynamic GL_obj::nme_gl_vertex_attrib3f; - -Dynamic GL_obj::nme_gl_vertex_attrib3fv; - -Dynamic GL_obj::nme_gl_vertex_attrib4f; - -Dynamic GL_obj::nme_gl_vertex_attrib4fv; - -Dynamic GL_obj::nme_gl_vertex_attrib_pointer; - -Dynamic GL_obj::nme_gl_viewport; - - -GL_obj::GL_obj() -{ -} - -void GL_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GL); - HX_MARK_END_CLASS(); -} - -void GL_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic GL_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"CW") ) { return CW; } - break; - case 3: - if (HX_FIELD_EQ(inName,"ONE") ) { return ONE; } - if (HX_FIELD_EQ(inName,"CCW") ) { return CCW; } - if (HX_FIELD_EQ(inName,"INT") ) { return INT; } - if (HX_FIELD_EQ(inName,"RGB") ) { return RGB; } - break; - case 4: - if (HX_FIELD_EQ(inName,"ZERO") ) { return ZERO; } - if (HX_FIELD_EQ(inName,"BACK") ) { return BACK; } - if (HX_FIELD_EQ(inName,"BYTE") ) { return BYTE; } - if (HX_FIELD_EQ(inName,"RGBA") ) { return RGBA; } - if (HX_FIELD_EQ(inName,"LESS") ) { return LESS; } - if (HX_FIELD_EQ(inName,"KEEP") ) { return KEEP; } - if (HX_FIELD_EQ(inName,"INCR") ) { return INCR; } - if (HX_FIELD_EQ(inName,"DECR") ) { return DECR; } - if (HX_FIELD_EQ(inName,"BOOL") ) { return BOOL; } - if (HX_FIELD_EQ(inName,"NONE") ) { return NONE; } - if (HX_FIELD_EQ(inName,"hint") ) { return hint_dyn(); } - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"LINES") ) { return LINES; } - if (HX_FIELD_EQ(inName,"FRONT") ) { return FRONT; } - if (HX_FIELD_EQ(inName,"BLEND") ) { return BLEND; } - if (HX_FIELD_EQ(inName,"SHORT") ) { return SHORT; } - if (HX_FIELD_EQ(inName,"FLOAT") ) { return FLOAT; } - if (HX_FIELD_EQ(inName,"ALPHA") ) { return ALPHA; } - if (HX_FIELD_EQ(inName,"NEVER") ) { return NEVER; } - if (HX_FIELD_EQ(inName,"EQUAL") ) { return EQUAL; } - if (HX_FIELD_EQ(inName,"RGBA4") ) { return RGBA4; } - if (HX_FIELD_EQ(inName,"clear") ) { return clear_dyn(); } - if (HX_FIELD_EQ(inName,"flush") ) { return flush_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"POINTS") ) { return POINTS; } - if (HX_FIELD_EQ(inName,"DITHER") ) { return DITHER; } - if (HX_FIELD_EQ(inName,"NICEST") ) { return NICEST; } - if (HX_FIELD_EQ(inName,"LEQUAL") ) { return LEQUAL; } - if (HX_FIELD_EQ(inName,"GEQUAL") ) { return GEQUAL; } - if (HX_FIELD_EQ(inName,"ALWAYS") ) { return ALWAYS; } - if (HX_FIELD_EQ(inName,"INVERT") ) { return INVERT; } - if (HX_FIELD_EQ(inName,"VENDOR") ) { return VENDOR; } - if (HX_FIELD_EQ(inName,"LINEAR") ) { return LINEAR; } - if (HX_FIELD_EQ(inName,"REPEAT") ) { return REPEAT; } - if (HX_FIELD_EQ(inName,"RGB565") ) { return RGB565; } - if (HX_FIELD_EQ(inName,"enable") ) { return enable_dyn(); } - if (HX_FIELD_EQ(inName,"finish") ) { return finish_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"SAMPLES") ) { return SAMPLES; } - if (HX_FIELD_EQ(inName,"FASTEST") ) { return FASTEST; } - if (HX_FIELD_EQ(inName,"GREATER") ) { return GREATER; } - if (HX_FIELD_EQ(inName,"REPLACE") ) { return REPLACE; } - if (HX_FIELD_EQ(inName,"VERSION") ) { return VERSION; } - if (HX_FIELD_EQ(inName,"NEAREST") ) { return NEAREST; } - if (HX_FIELD_EQ(inName,"TEXTURE") ) { return TEXTURE; } - if (HX_FIELD_EQ(inName,"LOW_INT") ) { return LOW_INT; } - if (HX_FIELD_EQ(inName,"RGB5_A1") ) { return RGB5_A1; } - if (HX_FIELD_EQ(inName,"version") ) { return inCallProp ? get_version() : version; } - if (HX_FIELD_EQ(inName,"disable") ) { return disable_dyn(); } - if (HX_FIELD_EQ(inName,"scissor") ) { return scissor_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"FUNC_ADD") ) { return FUNC_ADD; } - if (HX_FIELD_EQ(inName,"NO_ERROR") ) { return NO_ERROR; } - if (HX_FIELD_EQ(inName,"VIEWPORT") ) { return VIEWPORT; } - if (HX_FIELD_EQ(inName,"RED_BITS") ) { return RED_BITS; } - if (HX_FIELD_EQ(inName,"NOTEQUAL") ) { return NOTEQUAL; } - if (HX_FIELD_EQ(inName,"RENDERER") ) { return RENDERER; } - if (HX_FIELD_EQ(inName,"TEXTURE0") ) { return TEXTURE0; } - if (HX_FIELD_EQ(inName,"TEXTURE1") ) { return TEXTURE1; } - if (HX_FIELD_EQ(inName,"TEXTURE2") ) { return TEXTURE2; } - if (HX_FIELD_EQ(inName,"TEXTURE3") ) { return TEXTURE3; } - if (HX_FIELD_EQ(inName,"TEXTURE4") ) { return TEXTURE4; } - if (HX_FIELD_EQ(inName,"TEXTURE5") ) { return TEXTURE5; } - if (HX_FIELD_EQ(inName,"TEXTURE6") ) { return TEXTURE6; } - if (HX_FIELD_EQ(inName,"TEXTURE7") ) { return TEXTURE7; } - if (HX_FIELD_EQ(inName,"TEXTURE8") ) { return TEXTURE8; } - if (HX_FIELD_EQ(inName,"TEXTURE9") ) { return TEXTURE9; } - if (HX_FIELD_EQ(inName,"INT_VEC2") ) { return INT_VEC2; } - if (HX_FIELD_EQ(inName,"INT_VEC3") ) { return INT_VEC3; } - if (HX_FIELD_EQ(inName,"INT_VEC4") ) { return INT_VEC4; } - if (HX_FIELD_EQ(inName,"HIGH_INT") ) { return HIGH_INT; } - if (HX_FIELD_EQ(inName,"cullFace") ) { return cullFace_dyn(); } - if (HX_FIELD_EQ(inName,"getError") ) { return getError_dyn(); } - if (HX_FIELD_EQ(inName,"isBuffer") ) { return isBuffer_dyn(); } - if (HX_FIELD_EQ(inName,"isShader") ) { return isShader_dyn(); } - if (HX_FIELD_EQ(inName,"viewport") ) { return viewport_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"LINE_LOOP") ) { return LINE_LOOP; } - if (HX_FIELD_EQ(inName,"TRIANGLES") ) { return TRIANGLES; } - if (HX_FIELD_EQ(inName,"SRC_COLOR") ) { return SRC_COLOR; } - if (HX_FIELD_EQ(inName,"SRC_ALPHA") ) { return SRC_ALPHA; } - if (HX_FIELD_EQ(inName,"DST_ALPHA") ) { return DST_ALPHA; } - if (HX_FIELD_EQ(inName,"DST_COLOR") ) { return DST_COLOR; } - if (HX_FIELD_EQ(inName,"CULL_FACE") ) { return CULL_FACE; } - if (HX_FIELD_EQ(inName,"BLUE_BITS") ) { return BLUE_BITS; } - if (HX_FIELD_EQ(inName,"DONT_CARE") ) { return DONT_CARE; } - if (HX_FIELD_EQ(inName,"LUMINANCE") ) { return LUMINANCE; } - if (HX_FIELD_EQ(inName,"INCR_WRAP") ) { return INCR_WRAP; } - if (HX_FIELD_EQ(inName,"DECR_WRAP") ) { return DECR_WRAP; } - if (HX_FIELD_EQ(inName,"TEXTURE10") ) { return TEXTURE10; } - if (HX_FIELD_EQ(inName,"TEXTURE11") ) { return TEXTURE11; } - if (HX_FIELD_EQ(inName,"TEXTURE12") ) { return TEXTURE12; } - if (HX_FIELD_EQ(inName,"TEXTURE13") ) { return TEXTURE13; } - if (HX_FIELD_EQ(inName,"TEXTURE14") ) { return TEXTURE14; } - if (HX_FIELD_EQ(inName,"TEXTURE15") ) { return TEXTURE15; } - if (HX_FIELD_EQ(inName,"TEXTURE16") ) { return TEXTURE16; } - if (HX_FIELD_EQ(inName,"TEXTURE17") ) { return TEXTURE17; } - if (HX_FIELD_EQ(inName,"TEXTURE18") ) { return TEXTURE18; } - if (HX_FIELD_EQ(inName,"TEXTURE19") ) { return TEXTURE19; } - if (HX_FIELD_EQ(inName,"TEXTURE20") ) { return TEXTURE20; } - if (HX_FIELD_EQ(inName,"TEXTURE21") ) { return TEXTURE21; } - if (HX_FIELD_EQ(inName,"TEXTURE22") ) { return TEXTURE22; } - if (HX_FIELD_EQ(inName,"TEXTURE23") ) { return TEXTURE23; } - if (HX_FIELD_EQ(inName,"TEXTURE24") ) { return TEXTURE24; } - if (HX_FIELD_EQ(inName,"TEXTURE25") ) { return TEXTURE25; } - if (HX_FIELD_EQ(inName,"TEXTURE26") ) { return TEXTURE26; } - if (HX_FIELD_EQ(inName,"TEXTURE27") ) { return TEXTURE27; } - if (HX_FIELD_EQ(inName,"TEXTURE28") ) { return TEXTURE28; } - if (HX_FIELD_EQ(inName,"TEXTURE29") ) { return TEXTURE29; } - if (HX_FIELD_EQ(inName,"TEXTURE30") ) { return TEXTURE30; } - if (HX_FIELD_EQ(inName,"TEXTURE31") ) { return TEXTURE31; } - if (HX_FIELD_EQ(inName,"BOOL_VEC2") ) { return BOOL_VEC2; } - if (HX_FIELD_EQ(inName,"BOOL_VEC3") ) { return BOOL_VEC3; } - if (HX_FIELD_EQ(inName,"BOOL_VEC4") ) { return BOOL_VEC4; } - if (HX_FIELD_EQ(inName,"LOW_FLOAT") ) { return LOW_FLOAT; } - if (HX_FIELD_EQ(inName,"blendFunc") ) { return blendFunc_dyn(); } - if (HX_FIELD_EQ(inName,"colorMask") ) { return colorMask_dyn(); } - if (HX_FIELD_EQ(inName,"depthFunc") ) { return depthFunc_dyn(); } - if (HX_FIELD_EQ(inName,"depthMask") ) { return depthMask_dyn(); } - if (HX_FIELD_EQ(inName,"frontFace") ) { return frontFace_dyn(); } - if (HX_FIELD_EQ(inName,"isEnabled") ) { return isEnabled_dyn(); } - if (HX_FIELD_EQ(inName,"isProgram") ) { return isProgram_dyn(); } - if (HX_FIELD_EQ(inName,"isTexture") ) { return isTexture_dyn(); } - if (HX_FIELD_EQ(inName,"lineWidth") ) { return lineWidth_dyn(); } - if (HX_FIELD_EQ(inName,"stencilOp") ) { return stencilOp_dyn(); } - if (HX_FIELD_EQ(inName,"uniform1f") ) { return uniform1f_dyn(); } - if (HX_FIELD_EQ(inName,"uniform1i") ) { return uniform1i_dyn(); } - if (HX_FIELD_EQ(inName,"uniform2f") ) { return uniform2f_dyn(); } - if (HX_FIELD_EQ(inName,"uniform2i") ) { return uniform2i_dyn(); } - if (HX_FIELD_EQ(inName,"uniform3f") ) { return uniform3f_dyn(); } - if (HX_FIELD_EQ(inName,"uniform3i") ) { return uniform3i_dyn(); } - if (HX_FIELD_EQ(inName,"uniform4f") ) { return uniform4f_dyn(); } - if (HX_FIELD_EQ(inName,"uniform4i") ) { return uniform4i_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"LINE_STRIP") ) { return LINE_STRIP; } - if (HX_FIELD_EQ(inName,"DEPTH_TEST") ) { return DEPTH_TEST; } - if (HX_FIELD_EQ(inName,"LINE_WIDTH") ) { return LINE_WIDTH; } - if (HX_FIELD_EQ(inName,"FRONT_FACE") ) { return FRONT_FACE; } - if (HX_FIELD_EQ(inName,"DEPTH_FUNC") ) { return DEPTH_FUNC; } - if (HX_FIELD_EQ(inName,"GREEN_BITS") ) { return GREEN_BITS; } - if (HX_FIELD_EQ(inName,"ALPHA_BITS") ) { return ALPHA_BITS; } - if (HX_FIELD_EQ(inName,"DEPTH_BITS") ) { return DEPTH_BITS; } - if (HX_FIELD_EQ(inName,"TEXTURE_2D") ) { return TEXTURE_2D; } - if (HX_FIELD_EQ(inName,"FLOAT_VEC2") ) { return FLOAT_VEC2; } - if (HX_FIELD_EQ(inName,"FLOAT_VEC3") ) { return FLOAT_VEC3; } - if (HX_FIELD_EQ(inName,"FLOAT_VEC4") ) { return FLOAT_VEC4; } - if (HX_FIELD_EQ(inName,"FLOAT_MAT2") ) { return FLOAT_MAT2; } - if (HX_FIELD_EQ(inName,"FLOAT_MAT3") ) { return FLOAT_MAT3; } - if (HX_FIELD_EQ(inName,"FLOAT_MAT4") ) { return FLOAT_MAT4; } - if (HX_FIELD_EQ(inName,"SAMPLER_2D") ) { return SAMPLER_2D; } - if (HX_FIELD_EQ(inName,"HIGH_FLOAT") ) { return HIGH_FLOAT; } - if (HX_FIELD_EQ(inName,"MEDIUM_INT") ) { return MEDIUM_INT; } - if (HX_FIELD_EQ(inName,"bindBuffer") ) { return bindBuffer_dyn(); } - if (HX_FIELD_EQ(inName,"blendColor") ) { return blendColor_dyn(); } - if (HX_FIELD_EQ(inName,"bufferData") ) { return bufferData_dyn(); } - if (HX_FIELD_EQ(inName,"clearColor") ) { return clearColor_dyn(); } - if (HX_FIELD_EQ(inName,"clearDepth") ) { return clearDepth_dyn(); } - if (HX_FIELD_EQ(inName,"depthRange") ) { return depthRange_dyn(); } - if (HX_FIELD_EQ(inName,"drawArrays") ) { return drawArrays_dyn(); } - if (HX_FIELD_EQ(inName,"getUniform") ) { return getUniform_dyn(); } - if (HX_FIELD_EQ(inName,"readPixels") ) { return readPixels_dyn(); } - if (HX_FIELD_EQ(inName,"texImage2D") ) { return texImage2D_dyn(); } - if (HX_FIELD_EQ(inName,"uniform1fv") ) { return uniform1fv_dyn(); } - if (HX_FIELD_EQ(inName,"uniform1iv") ) { return uniform1iv_dyn(); } - if (HX_FIELD_EQ(inName,"uniform2fv") ) { return uniform2fv_dyn(); } - if (HX_FIELD_EQ(inName,"uniform2iv") ) { return uniform2iv_dyn(); } - if (HX_FIELD_EQ(inName,"uniform3fv") ) { return uniform3fv_dyn(); } - if (HX_FIELD_EQ(inName,"uniform3iv") ) { return uniform3iv_dyn(); } - if (HX_FIELD_EQ(inName,"uniform4fv") ) { return uniform4fv_dyn(); } - if (HX_FIELD_EQ(inName,"uniform4iv") ) { return uniform4iv_dyn(); } - if (HX_FIELD_EQ(inName,"useProgram") ) { return useProgram_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"BLEND_COLOR") ) { return BLEND_COLOR; } - if (HX_FIELD_EQ(inName,"STREAM_DRAW") ) { return STREAM_DRAW; } - if (HX_FIELD_EQ(inName,"STATIC_DRAW") ) { return STATIC_DRAW; } - if (HX_FIELD_EQ(inName,"BUFFER_SIZE") ) { return BUFFER_SIZE; } - if (HX_FIELD_EQ(inName,"DEPTH_RANGE") ) { return DEPTH_RANGE; } - if (HX_FIELD_EQ(inName,"STENCIL_REF") ) { return STENCIL_REF; } - if (HX_FIELD_EQ(inName,"SCISSOR_BOX") ) { return SCISSOR_BOX; } - if (HX_FIELD_EQ(inName,"SHADER_TYPE") ) { return SHADER_TYPE; } - if (HX_FIELD_EQ(inName,"LINK_STATUS") ) { return LINK_STATUS; } - if (HX_FIELD_EQ(inName,"FRAMEBUFFER") ) { return FRAMEBUFFER; } - if (HX_FIELD_EQ(inName,"bindTexture") ) { return bindTexture_dyn(); } - if (HX_FIELD_EQ(inName,"linkProgram") ) { return linkProgram_dyn(); } - if (HX_FIELD_EQ(inName,"pixelStorei") ) { return pixelStorei_dyn(); } - if (HX_FIELD_EQ(inName,"stencilFunc") ) { return stencilFunc_dyn(); } - if (HX_FIELD_EQ(inName,"stencilMask") ) { return stencilMask_dyn(); } - if (HX_FIELD_EQ(inName,"get_version") ) { return get_version_dyn(); } - if (HX_FIELD_EQ(inName,"nme_gl_hint") ) { return nme_gl_hint; } - break; - case 12: - if (HX_FIELD_EQ(inName,"TRIANGLE_FAN") ) { return TRIANGLE_FAN; } - if (HX_FIELD_EQ(inName,"ARRAY_BUFFER") ) { return ARRAY_BUFFER; } - if (HX_FIELD_EQ(inName,"DYNAMIC_DRAW") ) { return DYNAMIC_DRAW; } - if (HX_FIELD_EQ(inName,"BUFFER_USAGE") ) { return BUFFER_USAGE; } - if (HX_FIELD_EQ(inName,"STENCIL_TEST") ) { return STENCIL_TEST; } - if (HX_FIELD_EQ(inName,"SCISSOR_TEST") ) { return SCISSOR_TEST; } - if (HX_FIELD_EQ(inName,"INVALID_ENUM") ) { return INVALID_ENUM; } - if (HX_FIELD_EQ(inName,"STENCIL_FUNC") ) { return STENCIL_FUNC; } - if (HX_FIELD_EQ(inName,"STENCIL_FAIL") ) { return STENCIL_FAIL; } - if (HX_FIELD_EQ(inName,"STENCIL_BITS") ) { return STENCIL_BITS; } - if (HX_FIELD_EQ(inName,"UNSIGNED_INT") ) { return UNSIGNED_INT; } - if (HX_FIELD_EQ(inName,"SAMPLER_CUBE") ) { return SAMPLER_CUBE; } - if (HX_FIELD_EQ(inName,"MEDIUM_FLOAT") ) { return MEDIUM_FLOAT; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER") ) { return RENDERBUFFER; } - if (HX_FIELD_EQ(inName,"attachShader") ) { return attachShader_dyn(); } - if (HX_FIELD_EQ(inName,"clearStencil") ) { return clearStencil_dyn(); } - if (HX_FIELD_EQ(inName,"createBuffer") ) { return createBuffer_dyn(); } - if (HX_FIELD_EQ(inName,"createShader") ) { return createShader_dyn(); } - if (HX_FIELD_EQ(inName,"deleteBuffer") ) { return deleteBuffer_dyn(); } - if (HX_FIELD_EQ(inName,"deleteShader") ) { return deleteShader_dyn(); } - if (HX_FIELD_EQ(inName,"detachShader") ) { return detachShader_dyn(); } - if (HX_FIELD_EQ(inName,"drawElements") ) { return drawElements_dyn(); } - if (HX_FIELD_EQ(inName,"getExtension") ) { return getExtension_dyn(); } - if (HX_FIELD_EQ(inName,"getParameter") ) { return getParameter_dyn(); } - if (HX_FIELD_EQ(inName,"shaderSource") ) { return shaderSource_dyn(); } - if (HX_FIELD_EQ(inName,"nme_gl_clear") ) { return nme_gl_clear; } - if (HX_FIELD_EQ(inName,"nme_gl_flush") ) { return nme_gl_flush; } - break; - case 13: - if (HX_FIELD_EQ(inName,"FUNC_SUBTRACT") ) { return FUNC_SUBTRACT; } - if (HX_FIELD_EQ(inName,"BLEND_DST_RGB") ) { return BLEND_DST_RGB; } - if (HX_FIELD_EQ(inName,"BLEND_SRC_RGB") ) { return BLEND_SRC_RGB; } - if (HX_FIELD_EQ(inName,"INVALID_VALUE") ) { return INVALID_VALUE; } - if (HX_FIELD_EQ(inName,"OUT_OF_MEMORY") ) { return OUT_OF_MEMORY; } - if (HX_FIELD_EQ(inName,"SUBPIXEL_BITS") ) { return SUBPIXEL_BITS; } - if (HX_FIELD_EQ(inName,"UNSIGNED_BYTE") ) { return UNSIGNED_BYTE; } - if (HX_FIELD_EQ(inName,"VERTEX_SHADER") ) { return VERTEX_SHADER; } - if (HX_FIELD_EQ(inName,"DELETE_STATUS") ) { return DELETE_STATUS; } - if (HX_FIELD_EQ(inName,"CLAMP_TO_EDGE") ) { return CLAMP_TO_EDGE; } - if (HX_FIELD_EQ(inName,"STENCIL_INDEX") ) { return STENCIL_INDEX; } - if (HX_FIELD_EQ(inName,"DEPTH_STENCIL") ) { return DEPTH_STENCIL; } - if (HX_FIELD_EQ(inName,"activeTexture") ) { return activeTexture_dyn(); } - if (HX_FIELD_EQ(inName,"blendEquation") ) { return blendEquation_dyn(); } - if (HX_FIELD_EQ(inName,"bufferSubData") ) { return bufferSubData_dyn(); } - if (HX_FIELD_EQ(inName,"compileShader") ) { return compileShader_dyn(); } - if (HX_FIELD_EQ(inName,"createProgram") ) { return createProgram_dyn(); } - if (HX_FIELD_EQ(inName,"createTexture") ) { return createTexture_dyn(); } - if (HX_FIELD_EQ(inName,"deleteProgram") ) { return deleteProgram_dyn(); } - if (HX_FIELD_EQ(inName,"deleteTexture") ) { return deleteTexture_dyn(); } - if (HX_FIELD_EQ(inName,"isFramebuffer") ) { return isFramebuffer_dyn(); } - if (HX_FIELD_EQ(inName,"polygonOffset") ) { return polygonOffset_dyn(); } - if (HX_FIELD_EQ(inName,"texParameterf") ) { return texParameterf_dyn(); } - if (HX_FIELD_EQ(inName,"texParameteri") ) { return texParameteri_dyn(); } - if (HX_FIELD_EQ(inName,"texSubImage2D") ) { return texSubImage2D_dyn(); } - if (HX_FIELD_EQ(inName,"nme_gl_enable") ) { return nme_gl_enable; } - if (HX_FIELD_EQ(inName,"nme_gl_finish") ) { return nme_gl_finish; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TRIANGLE_STRIP") ) { return TRIANGLE_STRIP; } - if (HX_FIELD_EQ(inName,"BLEND_EQUATION") ) { return BLEND_EQUATION; } - if (HX_FIELD_EQ(inName,"CONSTANT_COLOR") ) { return CONSTANT_COLOR; } - if (HX_FIELD_EQ(inName,"CONSTANT_ALPHA") ) { return CONSTANT_ALPHA; } - if (HX_FIELD_EQ(inName,"FRONT_AND_BACK") ) { return FRONT_AND_BACK; } - if (HX_FIELD_EQ(inName,"CULL_FACE_MODE") ) { return CULL_FACE_MODE; } - if (HX_FIELD_EQ(inName,"PACK_ALIGNMENT") ) { return PACK_ALIGNMENT; } - if (HX_FIELD_EQ(inName,"SAMPLE_BUFFERS") ) { return SAMPLE_BUFFERS; } - if (HX_FIELD_EQ(inName,"UNSIGNED_SHORT") ) { return UNSIGNED_SHORT; } - if (HX_FIELD_EQ(inName,"TEXTURE_WRAP_S") ) { return TEXTURE_WRAP_S; } - if (HX_FIELD_EQ(inName,"TEXTURE_WRAP_T") ) { return TEXTURE_WRAP_T; } - if (HX_FIELD_EQ(inName,"ACTIVE_TEXTURE") ) { return ACTIVE_TEXTURE; } - if (HX_FIELD_EQ(inName,"COMPILE_STATUS") ) { return COMPILE_STATUS; } - if (HX_FIELD_EQ(inName,"STENCIL_INDEX8") ) { return STENCIL_INDEX8; } - if (HX_FIELD_EQ(inName,"copyTexImage2D") ) { return copyTexImage2D_dyn(); } - if (HX_FIELD_EQ(inName,"generateMipmap") ) { return generateMipmap_dyn(); } - if (HX_FIELD_EQ(inName,"isRenderbuffer") ) { return isRenderbuffer_dyn(); } - if (HX_FIELD_EQ(inName,"sampleCoverage") ) { return sampleCoverage_dyn(); } - if (HX_FIELD_EQ(inName,"vertexAttrib1f") ) { return vertexAttrib1f_dyn(); } - if (HX_FIELD_EQ(inName,"vertexAttrib2f") ) { return vertexAttrib2f_dyn(); } - if (HX_FIELD_EQ(inName,"vertexAttrib3f") ) { return vertexAttrib3f_dyn(); } - if (HX_FIELD_EQ(inName,"vertexAttrib4f") ) { return vertexAttrib4f_dyn(); } - if (HX_FIELD_EQ(inName,"nme_gl_disable") ) { return nme_gl_disable; } - if (HX_FIELD_EQ(inName,"nme_gl_scissor") ) { return nme_gl_scissor; } - if (HX_FIELD_EQ(inName,"nme_gl_version") ) { return nme_gl_version; } - break; - case 15: - if (HX_FIELD_EQ(inName,"BLEND_DST_ALPHA") ) { return BLEND_DST_ALPHA; } - if (HX_FIELD_EQ(inName,"BLEND_SRC_ALPHA") ) { return BLEND_SRC_ALPHA; } - if (HX_FIELD_EQ(inName,"SAMPLE_COVERAGE") ) { return SAMPLE_COVERAGE; } - if (HX_FIELD_EQ(inName,"DEPTH_WRITEMASK") ) { return DEPTH_WRITEMASK; } - if (HX_FIELD_EQ(inName,"COLOR_WRITEMASK") ) { return COLOR_WRITEMASK; } - if (HX_FIELD_EQ(inName,"DEPTH_COMPONENT") ) { return DEPTH_COMPONENT; } - if (HX_FIELD_EQ(inName,"LUMINANCE_ALPHA") ) { return LUMINANCE_ALPHA; } - if (HX_FIELD_EQ(inName,"FRAGMENT_SHADER") ) { return FRAGMENT_SHADER; } - if (HX_FIELD_EQ(inName,"VALIDATE_STATUS") ) { return VALIDATE_STATUS; } - if (HX_FIELD_EQ(inName,"ACTIVE_UNIFORMS") ) { return ACTIVE_UNIFORMS; } - if (HX_FIELD_EQ(inName,"CURRENT_PROGRAM") ) { return CURRENT_PROGRAM; } - if (HX_FIELD_EQ(inName,"MIRRORED_REPEAT") ) { return MIRRORED_REPEAT; } - if (HX_FIELD_EQ(inName,"bindFramebuffer") ) { return bindFramebuffer_dyn(); } - if (HX_FIELD_EQ(inName,"getActiveAttrib") ) { return getActiveAttrib_dyn(); } - if (HX_FIELD_EQ(inName,"getShaderSource") ) { return getShaderSource_dyn(); } - if (HX_FIELD_EQ(inName,"getTexParameter") ) { return getTexParameter_dyn(); } - if (HX_FIELD_EQ(inName,"getVertexAttrib") ) { return getVertexAttrib_dyn(); } - if (HX_FIELD_EQ(inName,"uniformMatrix3D") ) { return uniformMatrix3D_dyn(); } - if (HX_FIELD_EQ(inName,"validateProgram") ) { return validateProgram_dyn(); } - if (HX_FIELD_EQ(inName,"vertexAttrib1fv") ) { return vertexAttrib1fv_dyn(); } - if (HX_FIELD_EQ(inName,"vertexAttrib2fv") ) { return vertexAttrib2fv_dyn(); } - if (HX_FIELD_EQ(inName,"vertexAttrib3fv") ) { return vertexAttrib3fv_dyn(); } - if (HX_FIELD_EQ(inName,"vertexAttrib4fv") ) { return vertexAttrib4fv_dyn(); } - if (HX_FIELD_EQ(inName,"nme_gl_viewport") ) { return nme_gl_viewport; } - break; - case 16: - if (HX_FIELD_EQ(inName,"DEPTH_BUFFER_BIT") ) { return DEPTH_BUFFER_BIT; } - if (HX_FIELD_EQ(inName,"COLOR_BUFFER_BIT") ) { return COLOR_BUFFER_BIT; } - if (HX_FIELD_EQ(inName,"STENCIL_BACK_REF") ) { return STENCIL_BACK_REF; } - if (HX_FIELD_EQ(inName,"UNPACK_ALIGNMENT") ) { return UNPACK_ALIGNMENT; } - if (HX_FIELD_EQ(inName,"MAX_TEXTURE_SIZE") ) { return MAX_TEXTURE_SIZE; } - if (HX_FIELD_EQ(inName,"ATTACHED_SHADERS") ) { return ATTACHED_SHADERS; } - if (HX_FIELD_EQ(inName,"TEXTURE_CUBE_MAP") ) { return TEXTURE_CUBE_MAP; } - if (HX_FIELD_EQ(inName,"DEPTH_ATTACHMENT") ) { return DEPTH_ATTACHMENT; } - if (HX_FIELD_EQ(inName,"bindRenderbuffer") ) { return bindRenderbuffer_dyn(); } - if (HX_FIELD_EQ(inName,"getActiveUniform") ) { return getActiveUniform_dyn(); } - if (HX_FIELD_EQ(inName,"getShaderInfoLog") ) { return getShaderInfoLog_dyn(); } - if (HX_FIELD_EQ(inName,"uniformMatrix2fv") ) { return uniformMatrix2fv_dyn(); } - if (HX_FIELD_EQ(inName,"uniformMatrix3fv") ) { return uniformMatrix3fv_dyn(); } - if (HX_FIELD_EQ(inName,"uniformMatrix4fv") ) { return uniformMatrix4fv_dyn(); } - if (HX_FIELD_EQ(inName,"nme_gl_get_error") ) { return nme_gl_get_error; } - if (HX_FIELD_EQ(inName,"nme_gl_is_buffer") ) { return nme_gl_is_buffer; } - if (HX_FIELD_EQ(inName,"nme_gl_is_shader") ) { return nme_gl_is_shader; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform1f") ) { return nme_gl_uniform1f; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform1i") ) { return nme_gl_uniform1i; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform2f") ) { return nme_gl_uniform2f; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform2i") ) { return nme_gl_uniform2i; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform3f") ) { return nme_gl_uniform3f; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform3i") ) { return nme_gl_uniform3i; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform4f") ) { return nme_gl_uniform4f; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform4i") ) { return nme_gl_uniform4i; } - break; - case 17: - if (HX_FIELD_EQ(inName,"INVALID_OPERATION") ) { return INVALID_OPERATION; } - if (HX_FIELD_EQ(inName,"DEPTH_CLEAR_VALUE") ) { return DEPTH_CLEAR_VALUE; } - if (HX_FIELD_EQ(inName,"STENCIL_WRITEMASK") ) { return STENCIL_WRITEMASK; } - if (HX_FIELD_EQ(inName,"STENCIL_BACK_FUNC") ) { return STENCIL_BACK_FUNC; } - if (HX_FIELD_EQ(inName,"STENCIL_BACK_FAIL") ) { return STENCIL_BACK_FAIL; } - if (HX_FIELD_EQ(inName,"COLOR_CLEAR_VALUE") ) { return COLOR_CLEAR_VALUE; } - if (HX_FIELD_EQ(inName,"MAX_VIEWPORT_DIMS") ) { return MAX_VIEWPORT_DIMS; } - if (HX_FIELD_EQ(inName,"ACTIVE_ATTRIBUTES") ) { return ACTIVE_ATTRIBUTES; } - if (HX_FIELD_EQ(inName,"DEPTH_COMPONENT16") ) { return DEPTH_COMPONENT16; } - if (HX_FIELD_EQ(inName,"COLOR_ATTACHMENT0") ) { return COLOR_ATTACHMENT0; } - if (HX_FIELD_EQ(inName,"blendFuncSeparate") ) { return blendFuncSeparate_dyn(); } - if (HX_FIELD_EQ(inName,"copyTexSubImage2D") ) { return copyTexSubImage2D_dyn(); } - if (HX_FIELD_EQ(inName,"createFramebuffer") ) { return createFramebuffer_dyn(); } - if (HX_FIELD_EQ(inName,"deleteFramebuffer") ) { return deleteFramebuffer_dyn(); } - if (HX_FIELD_EQ(inName,"getAttribLocation") ) { return getAttribLocation_dyn(); } - if (HX_FIELD_EQ(inName,"getProgramInfoLog") ) { return getProgramInfoLog_dyn(); } - if (HX_FIELD_EQ(inName,"stencilOpSeparate") ) { return stencilOpSeparate_dyn(); } - if (HX_FIELD_EQ(inName,"nme_gl_blend_func") ) { return nme_gl_blend_func; } - if (HX_FIELD_EQ(inName,"nme_gl_color_mask") ) { return nme_gl_color_mask; } - if (HX_FIELD_EQ(inName,"nme_gl_depth_func") ) { return nme_gl_depth_func; } - if (HX_FIELD_EQ(inName,"nme_gl_depth_mask") ) { return nme_gl_depth_mask; } - if (HX_FIELD_EQ(inName,"nme_gl_front_face") ) { return nme_gl_front_face; } - if (HX_FIELD_EQ(inName,"nme_gl_is_enabled") ) { return nme_gl_is_enabled; } - if (HX_FIELD_EQ(inName,"nme_gl_is_program") ) { return nme_gl_is_program; } - if (HX_FIELD_EQ(inName,"nme_gl_is_texture") ) { return nme_gl_is_texture; } - if (HX_FIELD_EQ(inName,"nme_gl_line_width") ) { return nme_gl_line_width; } - if (HX_FIELD_EQ(inName,"nme_gl_stencil_op") ) { return nme_gl_stencil_op; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform1fv") ) { return nme_gl_uniform1fv; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform1iv") ) { return nme_gl_uniform1iv; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform2fv") ) { return nme_gl_uniform2fv; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform2iv") ) { return nme_gl_uniform2iv; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform3fv") ) { return nme_gl_uniform3fv; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform3iv") ) { return nme_gl_uniform3iv; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform4fv") ) { return nme_gl_uniform4fv; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform4iv") ) { return nme_gl_uniform4iv; } - break; - case 18: - if (HX_FIELD_EQ(inName,"STENCIL_BUFFER_BIT") ) { return STENCIL_BUFFER_BIT; } - if (HX_FIELD_EQ(inName,"SRC_ALPHA_SATURATE") ) { return SRC_ALPHA_SATURATE; } - if (HX_FIELD_EQ(inName,"BLEND_EQUATION_RGB") ) { return BLEND_EQUATION_RGB; } - if (HX_FIELD_EQ(inName,"STENCIL_VALUE_MASK") ) { return STENCIL_VALUE_MASK; } - if (HX_FIELD_EQ(inName,"TEXTURE_BINDING_2D") ) { return TEXTURE_BINDING_2D; } - if (HX_FIELD_EQ(inName,"MAX_VERTEX_ATTRIBS") ) { return MAX_VERTEX_ATTRIBS; } - if (HX_FIELD_EQ(inName,"TEXTURE_MAG_FILTER") ) { return TEXTURE_MAG_FILTER; } - if (HX_FIELD_EQ(inName,"TEXTURE_MIN_FILTER") ) { return TEXTURE_MIN_FILTER; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_WIDTH") ) { return RENDERBUFFER_WIDTH; } - if (HX_FIELD_EQ(inName,"STENCIL_ATTACHMENT") ) { return STENCIL_ATTACHMENT; } - if (HX_FIELD_EQ(inName,"CONTEXT_LOST_WEBGL") ) { return CONTEXT_LOST_WEBGL; } - if (HX_FIELD_EQ(inName,"drawingBufferWidth") ) { return inCallProp ? get_drawingBufferWidth() : drawingBufferWidth; } - if (HX_FIELD_EQ(inName,"bindAttribLocation") ) { return bindAttribLocation_dyn(); } - if (HX_FIELD_EQ(inName,"createRenderbuffer") ) { return createRenderbuffer_dyn(); } - if (HX_FIELD_EQ(inName,"deleteRenderbuffer") ) { return deleteRenderbuffer_dyn(); } - if (HX_FIELD_EQ(inName,"getAttachedShaders") ) { return getAttachedShaders_dyn(); } - if (HX_FIELD_EQ(inName,"getBufferParameter") ) { return getBufferParameter_dyn(); } - if (HX_FIELD_EQ(inName,"getShaderParameter") ) { return getShaderParameter_dyn(); } - if (HX_FIELD_EQ(inName,"getUniformLocation") ) { return getUniformLocation_dyn(); } - if (HX_FIELD_EQ(inName,"nme_gl_bind_buffer") ) { return nme_gl_bind_buffer; } - if (HX_FIELD_EQ(inName,"nme_gl_blend_color") ) { return nme_gl_blend_color; } - if (HX_FIELD_EQ(inName,"nme_gl_buffer_data") ) { return nme_gl_buffer_data; } - if (HX_FIELD_EQ(inName,"nme_gl_clear_color") ) { return nme_gl_clear_color; } - if (HX_FIELD_EQ(inName,"nme_gl_clear_depth") ) { return nme_gl_clear_depth; } - if (HX_FIELD_EQ(inName,"nme_gl_depth_range") ) { return nme_gl_depth_range; } - if (HX_FIELD_EQ(inName,"nme_gl_draw_arrays") ) { return nme_gl_draw_arrays; } - if (HX_FIELD_EQ(inName,"nme_gl_get_uniform") ) { return nme_gl_get_uniform; } - if (HX_FIELD_EQ(inName,"nme_gl_use_program") ) { return nme_gl_use_program; } - break; - case 19: - if (HX_FIELD_EQ(inName,"ONE_MINUS_SRC_COLOR") ) { return ONE_MINUS_SRC_COLOR; } - if (HX_FIELD_EQ(inName,"ONE_MINUS_SRC_ALPHA") ) { return ONE_MINUS_SRC_ALPHA; } - if (HX_FIELD_EQ(inName,"ONE_MINUS_DST_ALPHA") ) { return ONE_MINUS_DST_ALPHA; } - if (HX_FIELD_EQ(inName,"ONE_MINUS_DST_COLOR") ) { return ONE_MINUS_DST_COLOR; } - if (HX_FIELD_EQ(inName,"POLYGON_OFFSET_FILL") ) { return POLYGON_OFFSET_FILL; } - if (HX_FIELD_EQ(inName,"STENCIL_CLEAR_VALUE") ) { return STENCIL_CLEAR_VALUE; } - if (HX_FIELD_EQ(inName,"MAX_VARYING_VECTORS") ) { return MAX_VARYING_VECTORS; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_HEIGHT") ) { return RENDERBUFFER_HEIGHT; } - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_BINDING") ) { return FRAMEBUFFER_BINDING; } - if (HX_FIELD_EQ(inName,"UNPACK_FLIP_Y_WEBGL") ) { return UNPACK_FLIP_Y_WEBGL; } - if (HX_FIELD_EQ(inName,"drawingBufferHeight") ) { return inCallProp ? get_drawingBufferHeight() : drawingBufferHeight; } - if (HX_FIELD_EQ(inName,"getProgramParameter") ) { return getProgramParameter_dyn(); } - if (HX_FIELD_EQ(inName,"renderbufferStorage") ) { return renderbufferStorage_dyn(); } - if (HX_FIELD_EQ(inName,"stencilFuncSeparate") ) { return stencilFuncSeparate_dyn(); } - if (HX_FIELD_EQ(inName,"stencilMaskSeparate") ) { return stencilMaskSeparate_dyn(); } - if (HX_FIELD_EQ(inName,"vertexAttribPointer") ) { return vertexAttribPointer_dyn(); } - if (HX_FIELD_EQ(inName,"nme_gl_bind_texture") ) { return nme_gl_bind_texture; } - if (HX_FIELD_EQ(inName,"nme_gl_link_program") ) { return nme_gl_link_program; } - if (HX_FIELD_EQ(inName,"nme_gl_pixel_storei") ) { return nme_gl_pixel_storei; } - if (HX_FIELD_EQ(inName,"nme_gl_stencil_func") ) { return nme_gl_stencil_func; } - if (HX_FIELD_EQ(inName,"nme_gl_stencil_mask") ) { return nme_gl_stencil_mask; } - if (HX_FIELD_EQ(inName,"nme_gl_tex_image_2d") ) { return nme_gl_tex_image_2d; } - break; - case 20: - if (HX_FIELD_EQ(inName,"BLEND_EQUATION_ALPHA") ) { return BLEND_EQUATION_ALPHA; } - if (HX_FIELD_EQ(inName,"ELEMENT_ARRAY_BUFFER") ) { return ELEMENT_ARRAY_BUFFER; } - if (HX_FIELD_EQ(inName,"ARRAY_BUFFER_BINDING") ) { return ARRAY_BUFFER_BINDING; } - if (HX_FIELD_EQ(inName,"POLYGON_OFFSET_UNITS") ) { return POLYGON_OFFSET_UNITS; } - if (HX_FIELD_EQ(inName,"GENERATE_MIPMAP_HINT") ) { return GENERATE_MIPMAP_HINT; } - if (HX_FIELD_EQ(inName,"UNSIGNED_SHORT_5_6_5") ) { return UNSIGNED_SHORT_5_6_5; } - if (HX_FIELD_EQ(inName,"LINEAR_MIPMAP_LINEAR") ) { return LINEAR_MIPMAP_LINEAR; } - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_COMPLETE") ) { return FRAMEBUFFER_COMPLETE; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_BINDING") ) { return RENDERBUFFER_BINDING; } - if (HX_FIELD_EQ(inName,"compressedTexImage2D") ) { return compressedTexImage2D_dyn(); } - if (HX_FIELD_EQ(inName,"framebufferTexture2D") ) { return framebufferTexture2D_dyn(); } - if (HX_FIELD_EQ(inName,"getContextAttributes") ) { return getContextAttributes_dyn(); } - if (HX_FIELD_EQ(inName,"nme_gl_attach_shader") ) { return nme_gl_attach_shader; } - if (HX_FIELD_EQ(inName,"nme_gl_clear_stencil") ) { return nme_gl_clear_stencil; } - if (HX_FIELD_EQ(inName,"nme_gl_create_buffer") ) { return nme_gl_create_buffer; } - if (HX_FIELD_EQ(inName,"nme_gl_create_shader") ) { return nme_gl_create_shader; } - if (HX_FIELD_EQ(inName,"nme_gl_delete_buffer") ) { return nme_gl_delete_buffer; } - if (HX_FIELD_EQ(inName,"nme_gl_delete_shader") ) { return nme_gl_delete_shader; } - if (HX_FIELD_EQ(inName,"nme_gl_detach_shader") ) { return nme_gl_detach_shader; } - if (HX_FIELD_EQ(inName,"nme_gl_draw_elements") ) { return nme_gl_draw_elements; } - if (HX_FIELD_EQ(inName,"nme_gl_get_parameter") ) { return nme_gl_get_parameter; } - if (HX_FIELD_EQ(inName,"nme_gl_shader_source") ) { return nme_gl_shader_source; } - break; - case 21: - if (HX_FIELD_EQ(inName,"FUNC_REVERSE_SUBTRACT") ) { return FUNC_REVERSE_SUBTRACT; } - if (HX_FIELD_EQ(inName,"CURRENT_VERTEX_ATTRIB") ) { return CURRENT_VERTEX_ATTRIB; } - if (HX_FIELD_EQ(inName,"POLYGON_OFFSET_FACTOR") ) { return POLYGON_OFFSET_FACTOR; } - if (HX_FIELD_EQ(inName,"SAMPLE_COVERAGE_VALUE") ) { return SAMPLE_COVERAGE_VALUE; } - if (HX_FIELD_EQ(inName,"LINEAR_MIPMAP_NEAREST") ) { return LINEAR_MIPMAP_NEAREST; } - if (HX_FIELD_EQ(inName,"NEAREST_MIPMAP_LINEAR") ) { return NEAREST_MIPMAP_LINEAR; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_RED_SIZE") ) { return RENDERBUFFER_RED_SIZE; } - if (HX_FIELD_EQ(inName,"MAX_RENDERBUFFER_SIZE") ) { return MAX_RENDERBUFFER_SIZE; } - if (HX_FIELD_EQ(inName,"BROWSER_DEFAULT_WEBGL") ) { return BROWSER_DEFAULT_WEBGL; } - if (HX_FIELD_EQ(inName,"bindBitmapDataTexture") ) { return bindBitmapDataTexture_dyn(); } - if (HX_FIELD_EQ(inName,"blendEquationSeparate") ) { return blendEquationSeparate_dyn(); } - if (HX_FIELD_EQ(inName,"getVertexAttribOffset") ) { return getVertexAttribOffset_dyn(); } - if (HX_FIELD_EQ(inName,"nme_gl_active_texture") ) { return nme_gl_active_texture; } - if (HX_FIELD_EQ(inName,"nme_gl_blend_equation") ) { return nme_gl_blend_equation; } - if (HX_FIELD_EQ(inName,"nme_gl_compile_shader") ) { return nme_gl_compile_shader; } - if (HX_FIELD_EQ(inName,"nme_gl_create_program") ) { return nme_gl_create_program; } - if (HX_FIELD_EQ(inName,"nme_gl_create_texture") ) { return nme_gl_create_texture; } - if (HX_FIELD_EQ(inName,"nme_gl_delete_program") ) { return nme_gl_delete_program; } - if (HX_FIELD_EQ(inName,"nme_gl_delete_texture") ) { return nme_gl_delete_texture; } - if (HX_FIELD_EQ(inName,"nme_gl_is_framebuffer") ) { return nme_gl_is_framebuffer; } - if (HX_FIELD_EQ(inName,"nme_gl_polygon_offset") ) { return nme_gl_polygon_offset; } - if (HX_FIELD_EQ(inName,"nme_gl_tex_parameterf") ) { return nme_gl_tex_parameterf; } - if (HX_FIELD_EQ(inName,"nme_gl_tex_parameteri") ) { return nme_gl_tex_parameteri; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform_matrix") ) { return nme_gl_uniform_matrix; } - break; - case 22: - if (HX_FIELD_EQ(inName,"STENCIL_BACK_WRITEMASK") ) { return STENCIL_BACK_WRITEMASK; } - if (HX_FIELD_EQ(inName,"SAMPLE_COVERAGE_INVERT") ) { return SAMPLE_COVERAGE_INVERT; } - if (HX_FIELD_EQ(inName,"UNSIGNED_SHORT_4_4_4_4") ) { return UNSIGNED_SHORT_4_4_4_4; } - if (HX_FIELD_EQ(inName,"UNSIGNED_SHORT_5_5_5_1") ) { return UNSIGNED_SHORT_5_5_5_1; } - if (HX_FIELD_EQ(inName,"NEAREST_MIPMAP_NEAREST") ) { return NEAREST_MIPMAP_NEAREST; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_BLUE_SIZE") ) { return RENDERBUFFER_BLUE_SIZE; } - if (HX_FIELD_EQ(inName,"checkFramebufferStatus") ) { return checkFramebufferStatus_dyn(); } - if (HX_FIELD_EQ(inName,"getSupportedExtensions") ) { return getSupportedExtensions_dyn(); } - if (HX_FIELD_EQ(inName,"get_drawingBufferWidth") ) { return get_drawingBufferWidth_dyn(); } - if (HX_FIELD_EQ(inName,"nme_gl_buffer_sub_data") ) { return nme_gl_buffer_sub_data; } - if (HX_FIELD_EQ(inName,"nme_gl_generate_mipmap") ) { return nme_gl_generate_mipmap; } - if (HX_FIELD_EQ(inName,"nme_gl_is_renderbuffer") ) { return nme_gl_is_renderbuffer; } - if (HX_FIELD_EQ(inName,"nme_gl_sample_coverage") ) { return nme_gl_sample_coverage; } - if (HX_FIELD_EQ(inName,"nme_gl_vertex_attrib1f") ) { return nme_gl_vertex_attrib1f; } - if (HX_FIELD_EQ(inName,"nme_gl_vertex_attrib2f") ) { return nme_gl_vertex_attrib2f; } - if (HX_FIELD_EQ(inName,"nme_gl_vertex_attrib3f") ) { return nme_gl_vertex_attrib3f; } - if (HX_FIELD_EQ(inName,"nme_gl_vertex_attrib4f") ) { return nme_gl_vertex_attrib4f; } - break; - case 23: - if (HX_FIELD_EQ(inName,"STENCIL_PASS_DEPTH_FAIL") ) { return STENCIL_PASS_DEPTH_FAIL; } - if (HX_FIELD_EQ(inName,"STENCIL_PASS_DEPTH_PASS") ) { return STENCIL_PASS_DEPTH_PASS; } - if (HX_FIELD_EQ(inName,"STENCIL_BACK_VALUE_MASK") ) { return STENCIL_BACK_VALUE_MASK; } - if (HX_FIELD_EQ(inName,"MAX_TEXTURE_IMAGE_UNITS") ) { return MAX_TEXTURE_IMAGE_UNITS; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_GREEN_SIZE") ) { return RENDERBUFFER_GREEN_SIZE; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_ALPHA_SIZE") ) { return RENDERBUFFER_ALPHA_SIZE; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_DEPTH_SIZE") ) { return RENDERBUFFER_DEPTH_SIZE; } - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_UNSUPPORTED") ) { return FRAMEBUFFER_UNSUPPORTED; } - if (HX_FIELD_EQ(inName,"compressedTexSubImage2D") ) { return compressedTexSubImage2D_dyn(); } - if (HX_FIELD_EQ(inName,"enableVertexAttribArray") ) { return enableVertexAttribArray_dyn(); } - if (HX_FIELD_EQ(inName,"framebufferRenderbuffer") ) { return framebufferRenderbuffer_dyn(); } - if (HX_FIELD_EQ(inName,"get_drawingBufferHeight") ) { return get_drawingBufferHeight_dyn(); } - if (HX_FIELD_EQ(inName,"nme_gl_bind_framebuffer") ) { return nme_gl_bind_framebuffer; } - if (HX_FIELD_EQ(inName,"nme_gl_tex_sub_image_2d") ) { return nme_gl_tex_sub_image_2d; } - if (HX_FIELD_EQ(inName,"nme_gl_validate_program") ) { return nme_gl_validate_program; } - if (HX_FIELD_EQ(inName,"nme_gl_vertex_attrib1fv") ) { return nme_gl_vertex_attrib1fv; } - if (HX_FIELD_EQ(inName,"nme_gl_vertex_attrib2fv") ) { return nme_gl_vertex_attrib2fv; } - if (HX_FIELD_EQ(inName,"nme_gl_vertex_attrib3fv") ) { return nme_gl_vertex_attrib3fv; } - if (HX_FIELD_EQ(inName,"nme_gl_vertex_attrib4fv") ) { return nme_gl_vertex_attrib4fv; } - break; - case 24: - if (HX_FIELD_EQ(inName,"ONE_MINUS_CONSTANT_COLOR") ) { return ONE_MINUS_CONSTANT_COLOR; } - if (HX_FIELD_EQ(inName,"ONE_MINUS_CONSTANT_ALPHA") ) { return ONE_MINUS_CONSTANT_ALPHA; } - if (HX_FIELD_EQ(inName,"SAMPLE_ALPHA_TO_COVERAGE") ) { return SAMPLE_ALPHA_TO_COVERAGE; } - if (HX_FIELD_EQ(inName,"ALIASED_POINT_SIZE_RANGE") ) { return ALIASED_POINT_SIZE_RANGE; } - if (HX_FIELD_EQ(inName,"ALIASED_LINE_WIDTH_RANGE") ) { return ALIASED_LINE_WIDTH_RANGE; } - if (HX_FIELD_EQ(inName,"SHADING_LANGUAGE_VERSION") ) { return SHADING_LANGUAGE_VERSION; } - if (HX_FIELD_EQ(inName,"TEXTURE_BINDING_CUBE_MAP") ) { return TEXTURE_BINDING_CUBE_MAP; } - if (HX_FIELD_EQ(inName,"VERTEX_ATTRIB_ARRAY_SIZE") ) { return VERTEX_ATTRIB_ARRAY_SIZE; } - if (HX_FIELD_EQ(inName,"VERTEX_ATTRIB_ARRAY_TYPE") ) { return VERTEX_ATTRIB_ARRAY_TYPE; } - if (HX_FIELD_EQ(inName,"DEPTH_STENCIL_ATTACHMENT") ) { return DEPTH_STENCIL_ATTACHMENT; } - if (HX_FIELD_EQ(inName,"disableVertexAttribArray") ) { return disableVertexAttribArray_dyn(); } - if (HX_FIELD_EQ(inName,"getRenderbufferParameter") ) { return getRenderbufferParameter_dyn(); } - if (HX_FIELD_EQ(inName,"getShaderPrecisionFormat") ) { return getShaderPrecisionFormat_dyn(); } - if (HX_FIELD_EQ(inName,"nme_gl_bind_renderbuffer") ) { return nme_gl_bind_renderbuffer; } - if (HX_FIELD_EQ(inName,"nme_gl_copy_tex_image_2d") ) { return nme_gl_copy_tex_image_2d; } - if (HX_FIELD_EQ(inName,"nme_gl_get_active_attrib") ) { return nme_gl_get_active_attrib; } - if (HX_FIELD_EQ(inName,"nme_gl_get_shader_source") ) { return nme_gl_get_shader_source; } - if (HX_FIELD_EQ(inName,"nme_gl_get_tex_parameter") ) { return nme_gl_get_tex_parameter; } - if (HX_FIELD_EQ(inName,"nme_gl_get_vertex_attrib") ) { return nme_gl_get_vertex_attrib; } - break; - case 25: - if (HX_FIELD_EQ(inName,"MAX_CUBE_MAP_TEXTURE_SIZE") ) { return MAX_CUBE_MAP_TEXTURE_SIZE; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_STENCIL_SIZE") ) { return RENDERBUFFER_STENCIL_SIZE; } - if (HX_FIELD_EQ(inName,"nme_gl_create_framebuffer") ) { return nme_gl_create_framebuffer; } - if (HX_FIELD_EQ(inName,"nme_gl_get_active_uniform") ) { return nme_gl_get_active_uniform; } - break; - case 26: - if (HX_FIELD_EQ(inName,"COMPRESSED_TEXTURE_FORMATS") ) { return COMPRESSED_TEXTURE_FORMATS; } - if (HX_FIELD_EQ(inName,"MAX_VERTEX_UNIFORM_VECTORS") ) { return MAX_VERTEX_UNIFORM_VECTORS; } - if (HX_FIELD_EQ(inName,"VERTEX_ATTRIB_ARRAY_STRIDE") ) { return VERTEX_ATTRIB_ARRAY_STRIDE; } - if (HX_FIELD_EQ(inName,"nme_gl_blend_func_separate") ) { return nme_gl_blend_func_separate; } - if (HX_FIELD_EQ(inName,"nme_gl_get_attrib_location") ) { return nme_gl_get_attrib_location; } - if (HX_FIELD_EQ(inName,"nme_gl_get_shader_info_log") ) { return nme_gl_get_shader_info_log; } - if (HX_FIELD_EQ(inName,"nme_gl_stencil_op_separate") ) { return nme_gl_stencil_op_separate; } - break; - case 27: - if (HX_FIELD_EQ(inName,"TEXTURE_CUBE_MAP_POSITIVE_X") ) { return TEXTURE_CUBE_MAP_POSITIVE_X; } - if (HX_FIELD_EQ(inName,"TEXTURE_CUBE_MAP_NEGATIVE_X") ) { return TEXTURE_CUBE_MAP_NEGATIVE_X; } - if (HX_FIELD_EQ(inName,"TEXTURE_CUBE_MAP_POSITIVE_Y") ) { return TEXTURE_CUBE_MAP_POSITIVE_Y; } - if (HX_FIELD_EQ(inName,"TEXTURE_CUBE_MAP_NEGATIVE_Y") ) { return TEXTURE_CUBE_MAP_NEGATIVE_Y; } - if (HX_FIELD_EQ(inName,"TEXTURE_CUBE_MAP_POSITIVE_Z") ) { return TEXTURE_CUBE_MAP_POSITIVE_Z; } - if (HX_FIELD_EQ(inName,"TEXTURE_CUBE_MAP_NEGATIVE_Z") ) { return TEXTURE_CUBE_MAP_NEGATIVE_Z; } - if (HX_FIELD_EQ(inName,"VERTEX_ATTRIB_ARRAY_ENABLED") ) { return VERTEX_ATTRIB_ARRAY_ENABLED; } - if (HX_FIELD_EQ(inName,"VERTEX_ATTRIB_ARRAY_POINTER") ) { return VERTEX_ATTRIB_ARRAY_POINTER; } - if (HX_FIELD_EQ(inName,"nme_gl_bind_attrib_location") ) { return nme_gl_bind_attrib_location; } - if (HX_FIELD_EQ(inName,"nme_gl_create_render_buffer") ) { return nme_gl_create_render_buffer; } - if (HX_FIELD_EQ(inName,"nme_gl_get_program_info_log") ) { return nme_gl_get_program_info_log; } - if (HX_FIELD_EQ(inName,"nme_gl_get_shader_parameter") ) { return nme_gl_get_shader_parameter; } - if (HX_FIELD_EQ(inName,"nme_gl_get_uniform_location") ) { return nme_gl_get_uniform_location; } - if (HX_FIELD_EQ(inName,"nme_gl_renderbuffer_storage") ) { return nme_gl_renderbuffer_storage; } - break; - case 28: - if (HX_FIELD_EQ(inName,"ELEMENT_ARRAY_BUFFER_BINDING") ) { return ELEMENT_ARRAY_BUFFER_BINDING; } - if (HX_FIELD_EQ(inName,"STENCIL_BACK_PASS_DEPTH_FAIL") ) { return STENCIL_BACK_PASS_DEPTH_FAIL; } - if (HX_FIELD_EQ(inName,"STENCIL_BACK_PASS_DEPTH_PASS") ) { return STENCIL_BACK_PASS_DEPTH_PASS; } - if (HX_FIELD_EQ(inName,"MAX_FRAGMENT_UNIFORM_VECTORS") ) { return MAX_FRAGMENT_UNIFORM_VECTORS; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_INTERNAL_FORMAT") ) { return RENDERBUFFER_INTERNAL_FORMAT; } - if (HX_FIELD_EQ(inName,"nme_gl_copy_tex_sub_image_2d") ) { return nme_gl_copy_tex_sub_image_2d; } - if (HX_FIELD_EQ(inName,"nme_gl_framebuffer_texture2D") ) { return nme_gl_framebuffer_texture2D; } - if (HX_FIELD_EQ(inName,"nme_gl_get_buffer_paramerter") ) { return nme_gl_get_buffer_paramerter; } - if (HX_FIELD_EQ(inName,"nme_gl_get_program_parameter") ) { return nme_gl_get_program_parameter; } - if (HX_FIELD_EQ(inName,"nme_gl_stencil_func_separate") ) { return nme_gl_stencil_func_separate; } - if (HX_FIELD_EQ(inName,"nme_gl_stencil_mask_separate") ) { return nme_gl_stencil_mask_separate; } - if (HX_FIELD_EQ(inName,"nme_gl_vertex_attrib_pointer") ) { return nme_gl_vertex_attrib_pointer; } - break; - case 29: - if (HX_FIELD_EQ(inName,"INVALID_FRAMEBUFFER_OPERATION") ) { return INVALID_FRAMEBUFFER_OPERATION; } - if (HX_FIELD_EQ(inName,"nme_gl_get_context_attributes") ) { return nme_gl_get_context_attributes; } - break; - case 30: - if (HX_FIELD_EQ(inName,"MAX_VERTEX_TEXTURE_IMAGE_UNITS") ) { return MAX_VERTEX_TEXTURE_IMAGE_UNITS; } - if (HX_FIELD_EQ(inName,"VERTEX_ATTRIB_ARRAY_NORMALIZED") ) { return VERTEX_ATTRIB_ARRAY_NORMALIZED; } - if (HX_FIELD_EQ(inName,"UNPACK_PREMULTIPLY_ALPHA_WEBGL") ) { return UNPACK_PREMULTIPLY_ALPHA_WEBGL; } - if (HX_FIELD_EQ(inName,"nme_gl_blend_equation_separate") ) { return nme_gl_blend_equation_separate; } - if (HX_FIELD_EQ(inName,"nme_gl_compressed_tex_image_2d") ) { return nme_gl_compressed_tex_image_2d; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_gl_bind_bitmap_data_texture") ) { return nme_gl_bind_bitmap_data_texture; } - if (HX_FIELD_EQ(inName,"nme_gl_check_framebuffer_status") ) { return nme_gl_check_framebuffer_status; } - if (HX_FIELD_EQ(inName,"nme_gl_framebuffer_renderbuffer") ) { return nme_gl_framebuffer_renderbuffer; } - if (HX_FIELD_EQ(inName,"nme_gl_get_supported_extensions") ) { return nme_gl_get_supported_extensions; } - if (HX_FIELD_EQ(inName,"nme_gl_get_vertex_attrib_offset") ) { return nme_gl_get_vertex_attrib_offset; } - break; - case 32: - if (HX_FIELD_EQ(inName,"MAX_COMBINED_TEXTURE_IMAGE_UNITS") ) { return MAX_COMBINED_TEXTURE_IMAGE_UNITS; } - break; - case 33: - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_INCOMPLETE_ATTACHMENT") ) { return FRAMEBUFFER_INCOMPLETE_ATTACHMENT; } - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_INCOMPLETE_DIMENSIONS") ) { return FRAMEBUFFER_INCOMPLETE_DIMENSIONS; } - if (HX_FIELD_EQ(inName,"getFramebufferAttachmentParameter") ) { return getFramebufferAttachmentParameter_dyn(); } - if (HX_FIELD_EQ(inName,"nme_gl_enable_vertex_attrib_array") ) { return nme_gl_enable_vertex_attrib_array; } - break; - case 34: - if (HX_FIELD_EQ(inName,"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING") ) { return VERTEX_ATTRIB_ARRAY_BUFFER_BINDING; } - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE") ) { return FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE; } - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME") ) { return FRAMEBUFFER_ATTACHMENT_OBJECT_NAME; } - if (HX_FIELD_EQ(inName,"UNPACK_COLORSPACE_CONVERSION_WEBGL") ) { return UNPACK_COLORSPACE_CONVERSION_WEBGL; } - if (HX_FIELD_EQ(inName,"nme_gl_compressed_tex_sub_image_2d") ) { return nme_gl_compressed_tex_sub_image_2d; } - if (HX_FIELD_EQ(inName,"nme_gl_disable_vertex_attrib_array") ) { return nme_gl_disable_vertex_attrib_array; } - if (HX_FIELD_EQ(inName,"nme_gl_get_render_buffer_parameter") ) { return nme_gl_get_render_buffer_parameter; } - if (HX_FIELD_EQ(inName,"nme_gl_get_shader_precision_format") ) { return nme_gl_get_shader_precision_format; } - break; - case 36: - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL") ) { return FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL; } - break; - case 41: - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT") ) { return FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT; } - break; - case 43: - if (HX_FIELD_EQ(inName,"nme_gl_get_framebuffer_attachment_parameter") ) { return nme_gl_get_framebuffer_attachment_parameter; } - break; - case 44: - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE") ) { return FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GL_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"CW") ) { CW=inValue.Cast< int >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"ONE") ) { ONE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"CCW") ) { CCW=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"INT") ) { INT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"RGB") ) { RGB=inValue.Cast< int >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"ZERO") ) { ZERO=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BACK") ) { BACK=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BYTE") ) { BYTE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"RGBA") ) { RGBA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"LESS") ) { LESS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"KEEP") ) { KEEP=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"INCR") ) { INCR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DECR") ) { DECR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BOOL") ) { BOOL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"NONE") ) { NONE=inValue.Cast< int >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"LINES") ) { LINES=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FRONT") ) { FRONT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BLEND") ) { BLEND=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"SHORT") ) { SHORT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FLOAT") ) { FLOAT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ALPHA") ) { ALPHA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"NEVER") ) { NEVER=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"EQUAL") ) { EQUAL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"RGBA4") ) { RGBA4=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"POINTS") ) { POINTS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DITHER") ) { DITHER=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"NICEST") ) { NICEST=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"LEQUAL") ) { LEQUAL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"GEQUAL") ) { GEQUAL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ALWAYS") ) { ALWAYS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"INVERT") ) { INVERT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"VENDOR") ) { VENDOR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"LINEAR") ) { LINEAR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"REPEAT") ) { REPEAT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"RGB565") ) { RGB565=inValue.Cast< int >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"SAMPLES") ) { SAMPLES=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FASTEST") ) { FASTEST=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"GREATER") ) { GREATER=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"REPLACE") ) { REPLACE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"VERSION") ) { VERSION=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"NEAREST") ) { NEAREST=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE") ) { TEXTURE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"LOW_INT") ) { LOW_INT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"RGB5_A1") ) { RGB5_A1=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"version") ) { version=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"FUNC_ADD") ) { FUNC_ADD=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"NO_ERROR") ) { NO_ERROR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"VIEWPORT") ) { VIEWPORT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"RED_BITS") ) { RED_BITS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"NOTEQUAL") ) { NOTEQUAL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"RENDERER") ) { RENDERER=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE0") ) { TEXTURE0=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE1") ) { TEXTURE1=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE2") ) { TEXTURE2=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE3") ) { TEXTURE3=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE4") ) { TEXTURE4=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE5") ) { TEXTURE5=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE6") ) { TEXTURE6=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE7") ) { TEXTURE7=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE8") ) { TEXTURE8=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE9") ) { TEXTURE9=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"INT_VEC2") ) { INT_VEC2=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"INT_VEC3") ) { INT_VEC3=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"INT_VEC4") ) { INT_VEC4=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"HIGH_INT") ) { HIGH_INT=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"LINE_LOOP") ) { LINE_LOOP=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TRIANGLES") ) { TRIANGLES=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"SRC_COLOR") ) { SRC_COLOR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"SRC_ALPHA") ) { SRC_ALPHA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DST_ALPHA") ) { DST_ALPHA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DST_COLOR") ) { DST_COLOR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"CULL_FACE") ) { CULL_FACE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BLUE_BITS") ) { BLUE_BITS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DONT_CARE") ) { DONT_CARE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"LUMINANCE") ) { LUMINANCE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"INCR_WRAP") ) { INCR_WRAP=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DECR_WRAP") ) { DECR_WRAP=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE10") ) { TEXTURE10=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE11") ) { TEXTURE11=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE12") ) { TEXTURE12=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE13") ) { TEXTURE13=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE14") ) { TEXTURE14=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE15") ) { TEXTURE15=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE16") ) { TEXTURE16=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE17") ) { TEXTURE17=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE18") ) { TEXTURE18=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE19") ) { TEXTURE19=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE20") ) { TEXTURE20=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE21") ) { TEXTURE21=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE22") ) { TEXTURE22=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE23") ) { TEXTURE23=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE24") ) { TEXTURE24=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE25") ) { TEXTURE25=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE26") ) { TEXTURE26=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE27") ) { TEXTURE27=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE28") ) { TEXTURE28=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE29") ) { TEXTURE29=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE30") ) { TEXTURE30=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE31") ) { TEXTURE31=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BOOL_VEC2") ) { BOOL_VEC2=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BOOL_VEC3") ) { BOOL_VEC3=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BOOL_VEC4") ) { BOOL_VEC4=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"LOW_FLOAT") ) { LOW_FLOAT=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"LINE_STRIP") ) { LINE_STRIP=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DEPTH_TEST") ) { DEPTH_TEST=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"LINE_WIDTH") ) { LINE_WIDTH=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FRONT_FACE") ) { FRONT_FACE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DEPTH_FUNC") ) { DEPTH_FUNC=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"GREEN_BITS") ) { GREEN_BITS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ALPHA_BITS") ) { ALPHA_BITS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DEPTH_BITS") ) { DEPTH_BITS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE_2D") ) { TEXTURE_2D=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FLOAT_VEC2") ) { FLOAT_VEC2=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FLOAT_VEC3") ) { FLOAT_VEC3=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FLOAT_VEC4") ) { FLOAT_VEC4=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FLOAT_MAT2") ) { FLOAT_MAT2=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FLOAT_MAT3") ) { FLOAT_MAT3=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FLOAT_MAT4") ) { FLOAT_MAT4=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"SAMPLER_2D") ) { SAMPLER_2D=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"HIGH_FLOAT") ) { HIGH_FLOAT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"MEDIUM_INT") ) { MEDIUM_INT=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"BLEND_COLOR") ) { BLEND_COLOR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STREAM_DRAW") ) { STREAM_DRAW=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STATIC_DRAW") ) { STATIC_DRAW=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BUFFER_SIZE") ) { BUFFER_SIZE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DEPTH_RANGE") ) { DEPTH_RANGE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STENCIL_REF") ) { STENCIL_REF=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"SCISSOR_BOX") ) { SCISSOR_BOX=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"SHADER_TYPE") ) { SHADER_TYPE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"LINK_STATUS") ) { LINK_STATUS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FRAMEBUFFER") ) { FRAMEBUFFER=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_hint") ) { nme_gl_hint=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"TRIANGLE_FAN") ) { TRIANGLE_FAN=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ARRAY_BUFFER") ) { ARRAY_BUFFER=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DYNAMIC_DRAW") ) { DYNAMIC_DRAW=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BUFFER_USAGE") ) { BUFFER_USAGE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STENCIL_TEST") ) { STENCIL_TEST=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"SCISSOR_TEST") ) { SCISSOR_TEST=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"INVALID_ENUM") ) { INVALID_ENUM=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STENCIL_FUNC") ) { STENCIL_FUNC=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STENCIL_FAIL") ) { STENCIL_FAIL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STENCIL_BITS") ) { STENCIL_BITS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"UNSIGNED_INT") ) { UNSIGNED_INT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"SAMPLER_CUBE") ) { SAMPLER_CUBE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"MEDIUM_FLOAT") ) { MEDIUM_FLOAT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER") ) { RENDERBUFFER=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_clear") ) { nme_gl_clear=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_flush") ) { nme_gl_flush=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"FUNC_SUBTRACT") ) { FUNC_SUBTRACT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BLEND_DST_RGB") ) { BLEND_DST_RGB=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BLEND_SRC_RGB") ) { BLEND_SRC_RGB=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"INVALID_VALUE") ) { INVALID_VALUE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"OUT_OF_MEMORY") ) { OUT_OF_MEMORY=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"SUBPIXEL_BITS") ) { SUBPIXEL_BITS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"UNSIGNED_BYTE") ) { UNSIGNED_BYTE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"VERTEX_SHADER") ) { VERTEX_SHADER=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DELETE_STATUS") ) { DELETE_STATUS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"CLAMP_TO_EDGE") ) { CLAMP_TO_EDGE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STENCIL_INDEX") ) { STENCIL_INDEX=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DEPTH_STENCIL") ) { DEPTH_STENCIL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_enable") ) { nme_gl_enable=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_finish") ) { nme_gl_finish=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TRIANGLE_STRIP") ) { TRIANGLE_STRIP=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BLEND_EQUATION") ) { BLEND_EQUATION=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"CONSTANT_COLOR") ) { CONSTANT_COLOR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"CONSTANT_ALPHA") ) { CONSTANT_ALPHA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FRONT_AND_BACK") ) { FRONT_AND_BACK=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"CULL_FACE_MODE") ) { CULL_FACE_MODE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"PACK_ALIGNMENT") ) { PACK_ALIGNMENT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"SAMPLE_BUFFERS") ) { SAMPLE_BUFFERS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"UNSIGNED_SHORT") ) { UNSIGNED_SHORT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE_WRAP_S") ) { TEXTURE_WRAP_S=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE_WRAP_T") ) { TEXTURE_WRAP_T=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ACTIVE_TEXTURE") ) { ACTIVE_TEXTURE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"COMPILE_STATUS") ) { COMPILE_STATUS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STENCIL_INDEX8") ) { STENCIL_INDEX8=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_disable") ) { nme_gl_disable=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_scissor") ) { nme_gl_scissor=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_version") ) { nme_gl_version=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"BLEND_DST_ALPHA") ) { BLEND_DST_ALPHA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BLEND_SRC_ALPHA") ) { BLEND_SRC_ALPHA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"SAMPLE_COVERAGE") ) { SAMPLE_COVERAGE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DEPTH_WRITEMASK") ) { DEPTH_WRITEMASK=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"COLOR_WRITEMASK") ) { COLOR_WRITEMASK=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DEPTH_COMPONENT") ) { DEPTH_COMPONENT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"LUMINANCE_ALPHA") ) { LUMINANCE_ALPHA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FRAGMENT_SHADER") ) { FRAGMENT_SHADER=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"VALIDATE_STATUS") ) { VALIDATE_STATUS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ACTIVE_UNIFORMS") ) { ACTIVE_UNIFORMS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"CURRENT_PROGRAM") ) { CURRENT_PROGRAM=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"MIRRORED_REPEAT") ) { MIRRORED_REPEAT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_viewport") ) { nme_gl_viewport=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"DEPTH_BUFFER_BIT") ) { DEPTH_BUFFER_BIT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"COLOR_BUFFER_BIT") ) { COLOR_BUFFER_BIT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STENCIL_BACK_REF") ) { STENCIL_BACK_REF=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"UNPACK_ALIGNMENT") ) { UNPACK_ALIGNMENT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"MAX_TEXTURE_SIZE") ) { MAX_TEXTURE_SIZE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ATTACHED_SHADERS") ) { ATTACHED_SHADERS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE_CUBE_MAP") ) { TEXTURE_CUBE_MAP=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DEPTH_ATTACHMENT") ) { DEPTH_ATTACHMENT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_error") ) { nme_gl_get_error=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_is_buffer") ) { nme_gl_is_buffer=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_is_shader") ) { nme_gl_is_shader=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform1f") ) { nme_gl_uniform1f=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform1i") ) { nme_gl_uniform1i=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform2f") ) { nme_gl_uniform2f=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform2i") ) { nme_gl_uniform2i=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform3f") ) { nme_gl_uniform3f=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform3i") ) { nme_gl_uniform3i=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform4f") ) { nme_gl_uniform4f=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform4i") ) { nme_gl_uniform4i=inValue.Cast< Dynamic >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"INVALID_OPERATION") ) { INVALID_OPERATION=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DEPTH_CLEAR_VALUE") ) { DEPTH_CLEAR_VALUE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STENCIL_WRITEMASK") ) { STENCIL_WRITEMASK=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STENCIL_BACK_FUNC") ) { STENCIL_BACK_FUNC=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STENCIL_BACK_FAIL") ) { STENCIL_BACK_FAIL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"COLOR_CLEAR_VALUE") ) { COLOR_CLEAR_VALUE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"MAX_VIEWPORT_DIMS") ) { MAX_VIEWPORT_DIMS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ACTIVE_ATTRIBUTES") ) { ACTIVE_ATTRIBUTES=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DEPTH_COMPONENT16") ) { DEPTH_COMPONENT16=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"COLOR_ATTACHMENT0") ) { COLOR_ATTACHMENT0=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_blend_func") ) { nme_gl_blend_func=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_color_mask") ) { nme_gl_color_mask=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_depth_func") ) { nme_gl_depth_func=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_depth_mask") ) { nme_gl_depth_mask=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_front_face") ) { nme_gl_front_face=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_is_enabled") ) { nme_gl_is_enabled=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_is_program") ) { nme_gl_is_program=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_is_texture") ) { nme_gl_is_texture=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_line_width") ) { nme_gl_line_width=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_stencil_op") ) { nme_gl_stencil_op=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform1fv") ) { nme_gl_uniform1fv=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform1iv") ) { nme_gl_uniform1iv=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform2fv") ) { nme_gl_uniform2fv=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform2iv") ) { nme_gl_uniform2iv=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform3fv") ) { nme_gl_uniform3fv=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform3iv") ) { nme_gl_uniform3iv=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform4fv") ) { nme_gl_uniform4fv=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform4iv") ) { nme_gl_uniform4iv=inValue.Cast< Dynamic >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"STENCIL_BUFFER_BIT") ) { STENCIL_BUFFER_BIT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"SRC_ALPHA_SATURATE") ) { SRC_ALPHA_SATURATE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BLEND_EQUATION_RGB") ) { BLEND_EQUATION_RGB=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STENCIL_VALUE_MASK") ) { STENCIL_VALUE_MASK=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE_BINDING_2D") ) { TEXTURE_BINDING_2D=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"MAX_VERTEX_ATTRIBS") ) { MAX_VERTEX_ATTRIBS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE_MAG_FILTER") ) { TEXTURE_MAG_FILTER=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE_MIN_FILTER") ) { TEXTURE_MIN_FILTER=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_WIDTH") ) { RENDERBUFFER_WIDTH=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STENCIL_ATTACHMENT") ) { STENCIL_ATTACHMENT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"CONTEXT_LOST_WEBGL") ) { CONTEXT_LOST_WEBGL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"drawingBufferWidth") ) { drawingBufferWidth=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_bind_buffer") ) { nme_gl_bind_buffer=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_blend_color") ) { nme_gl_blend_color=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_buffer_data") ) { nme_gl_buffer_data=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_clear_color") ) { nme_gl_clear_color=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_clear_depth") ) { nme_gl_clear_depth=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_depth_range") ) { nme_gl_depth_range=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_draw_arrays") ) { nme_gl_draw_arrays=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_uniform") ) { nme_gl_get_uniform=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_use_program") ) { nme_gl_use_program=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"ONE_MINUS_SRC_COLOR") ) { ONE_MINUS_SRC_COLOR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ONE_MINUS_SRC_ALPHA") ) { ONE_MINUS_SRC_ALPHA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ONE_MINUS_DST_ALPHA") ) { ONE_MINUS_DST_ALPHA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ONE_MINUS_DST_COLOR") ) { ONE_MINUS_DST_COLOR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"POLYGON_OFFSET_FILL") ) { POLYGON_OFFSET_FILL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STENCIL_CLEAR_VALUE") ) { STENCIL_CLEAR_VALUE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"MAX_VARYING_VECTORS") ) { MAX_VARYING_VECTORS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_HEIGHT") ) { RENDERBUFFER_HEIGHT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_BINDING") ) { FRAMEBUFFER_BINDING=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"UNPACK_FLIP_Y_WEBGL") ) { UNPACK_FLIP_Y_WEBGL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"drawingBufferHeight") ) { drawingBufferHeight=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_bind_texture") ) { nme_gl_bind_texture=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_link_program") ) { nme_gl_link_program=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_pixel_storei") ) { nme_gl_pixel_storei=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_stencil_func") ) { nme_gl_stencil_func=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_stencil_mask") ) { nme_gl_stencil_mask=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_tex_image_2d") ) { nme_gl_tex_image_2d=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"BLEND_EQUATION_ALPHA") ) { BLEND_EQUATION_ALPHA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ELEMENT_ARRAY_BUFFER") ) { ELEMENT_ARRAY_BUFFER=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ARRAY_BUFFER_BINDING") ) { ARRAY_BUFFER_BINDING=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"POLYGON_OFFSET_UNITS") ) { POLYGON_OFFSET_UNITS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"GENERATE_MIPMAP_HINT") ) { GENERATE_MIPMAP_HINT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"UNSIGNED_SHORT_5_6_5") ) { UNSIGNED_SHORT_5_6_5=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"LINEAR_MIPMAP_LINEAR") ) { LINEAR_MIPMAP_LINEAR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_COMPLETE") ) { FRAMEBUFFER_COMPLETE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_BINDING") ) { RENDERBUFFER_BINDING=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_attach_shader") ) { nme_gl_attach_shader=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_clear_stencil") ) { nme_gl_clear_stencil=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_create_buffer") ) { nme_gl_create_buffer=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_create_shader") ) { nme_gl_create_shader=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_delete_buffer") ) { nme_gl_delete_buffer=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_delete_shader") ) { nme_gl_delete_shader=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_detach_shader") ) { nme_gl_detach_shader=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_draw_elements") ) { nme_gl_draw_elements=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_parameter") ) { nme_gl_get_parameter=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_shader_source") ) { nme_gl_shader_source=inValue.Cast< Dynamic >(); return inValue; } - break; - case 21: - if (HX_FIELD_EQ(inName,"FUNC_REVERSE_SUBTRACT") ) { FUNC_REVERSE_SUBTRACT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"CURRENT_VERTEX_ATTRIB") ) { CURRENT_VERTEX_ATTRIB=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"POLYGON_OFFSET_FACTOR") ) { POLYGON_OFFSET_FACTOR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"SAMPLE_COVERAGE_VALUE") ) { SAMPLE_COVERAGE_VALUE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"LINEAR_MIPMAP_NEAREST") ) { LINEAR_MIPMAP_NEAREST=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"NEAREST_MIPMAP_LINEAR") ) { NEAREST_MIPMAP_LINEAR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_RED_SIZE") ) { RENDERBUFFER_RED_SIZE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"MAX_RENDERBUFFER_SIZE") ) { MAX_RENDERBUFFER_SIZE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BROWSER_DEFAULT_WEBGL") ) { BROWSER_DEFAULT_WEBGL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_active_texture") ) { nme_gl_active_texture=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_blend_equation") ) { nme_gl_blend_equation=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_compile_shader") ) { nme_gl_compile_shader=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_create_program") ) { nme_gl_create_program=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_create_texture") ) { nme_gl_create_texture=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_delete_program") ) { nme_gl_delete_program=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_delete_texture") ) { nme_gl_delete_texture=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_is_framebuffer") ) { nme_gl_is_framebuffer=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_polygon_offset") ) { nme_gl_polygon_offset=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_tex_parameterf") ) { nme_gl_tex_parameterf=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_tex_parameteri") ) { nme_gl_tex_parameteri=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_uniform_matrix") ) { nme_gl_uniform_matrix=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"STENCIL_BACK_WRITEMASK") ) { STENCIL_BACK_WRITEMASK=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"SAMPLE_COVERAGE_INVERT") ) { SAMPLE_COVERAGE_INVERT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"UNSIGNED_SHORT_4_4_4_4") ) { UNSIGNED_SHORT_4_4_4_4=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"UNSIGNED_SHORT_5_5_5_1") ) { UNSIGNED_SHORT_5_5_5_1=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"NEAREST_MIPMAP_NEAREST") ) { NEAREST_MIPMAP_NEAREST=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_BLUE_SIZE") ) { RENDERBUFFER_BLUE_SIZE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_buffer_sub_data") ) { nme_gl_buffer_sub_data=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_generate_mipmap") ) { nme_gl_generate_mipmap=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_is_renderbuffer") ) { nme_gl_is_renderbuffer=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_sample_coverage") ) { nme_gl_sample_coverage=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_vertex_attrib1f") ) { nme_gl_vertex_attrib1f=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_vertex_attrib2f") ) { nme_gl_vertex_attrib2f=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_vertex_attrib3f") ) { nme_gl_vertex_attrib3f=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_vertex_attrib4f") ) { nme_gl_vertex_attrib4f=inValue.Cast< Dynamic >(); return inValue; } - break; - case 23: - if (HX_FIELD_EQ(inName,"STENCIL_PASS_DEPTH_FAIL") ) { STENCIL_PASS_DEPTH_FAIL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STENCIL_PASS_DEPTH_PASS") ) { STENCIL_PASS_DEPTH_PASS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STENCIL_BACK_VALUE_MASK") ) { STENCIL_BACK_VALUE_MASK=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"MAX_TEXTURE_IMAGE_UNITS") ) { MAX_TEXTURE_IMAGE_UNITS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_GREEN_SIZE") ) { RENDERBUFFER_GREEN_SIZE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_ALPHA_SIZE") ) { RENDERBUFFER_ALPHA_SIZE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_DEPTH_SIZE") ) { RENDERBUFFER_DEPTH_SIZE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_UNSUPPORTED") ) { FRAMEBUFFER_UNSUPPORTED=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_bind_framebuffer") ) { nme_gl_bind_framebuffer=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_tex_sub_image_2d") ) { nme_gl_tex_sub_image_2d=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_validate_program") ) { nme_gl_validate_program=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_vertex_attrib1fv") ) { nme_gl_vertex_attrib1fv=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_vertex_attrib2fv") ) { nme_gl_vertex_attrib2fv=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_vertex_attrib3fv") ) { nme_gl_vertex_attrib3fv=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_vertex_attrib4fv") ) { nme_gl_vertex_attrib4fv=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"ONE_MINUS_CONSTANT_COLOR") ) { ONE_MINUS_CONSTANT_COLOR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ONE_MINUS_CONSTANT_ALPHA") ) { ONE_MINUS_CONSTANT_ALPHA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"SAMPLE_ALPHA_TO_COVERAGE") ) { SAMPLE_ALPHA_TO_COVERAGE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ALIASED_POINT_SIZE_RANGE") ) { ALIASED_POINT_SIZE_RANGE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ALIASED_LINE_WIDTH_RANGE") ) { ALIASED_LINE_WIDTH_RANGE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"SHADING_LANGUAGE_VERSION") ) { SHADING_LANGUAGE_VERSION=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE_BINDING_CUBE_MAP") ) { TEXTURE_BINDING_CUBE_MAP=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"VERTEX_ATTRIB_ARRAY_SIZE") ) { VERTEX_ATTRIB_ARRAY_SIZE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"VERTEX_ATTRIB_ARRAY_TYPE") ) { VERTEX_ATTRIB_ARRAY_TYPE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DEPTH_STENCIL_ATTACHMENT") ) { DEPTH_STENCIL_ATTACHMENT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_bind_renderbuffer") ) { nme_gl_bind_renderbuffer=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_copy_tex_image_2d") ) { nme_gl_copy_tex_image_2d=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_active_attrib") ) { nme_gl_get_active_attrib=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_shader_source") ) { nme_gl_get_shader_source=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_tex_parameter") ) { nme_gl_get_tex_parameter=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_vertex_attrib") ) { nme_gl_get_vertex_attrib=inValue.Cast< Dynamic >(); return inValue; } - break; - case 25: - if (HX_FIELD_EQ(inName,"MAX_CUBE_MAP_TEXTURE_SIZE") ) { MAX_CUBE_MAP_TEXTURE_SIZE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_STENCIL_SIZE") ) { RENDERBUFFER_STENCIL_SIZE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_create_framebuffer") ) { nme_gl_create_framebuffer=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_active_uniform") ) { nme_gl_get_active_uniform=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"COMPRESSED_TEXTURE_FORMATS") ) { COMPRESSED_TEXTURE_FORMATS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"MAX_VERTEX_UNIFORM_VECTORS") ) { MAX_VERTEX_UNIFORM_VECTORS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"VERTEX_ATTRIB_ARRAY_STRIDE") ) { VERTEX_ATTRIB_ARRAY_STRIDE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_blend_func_separate") ) { nme_gl_blend_func_separate=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_attrib_location") ) { nme_gl_get_attrib_location=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_shader_info_log") ) { nme_gl_get_shader_info_log=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_stencil_op_separate") ) { nme_gl_stencil_op_separate=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"TEXTURE_CUBE_MAP_POSITIVE_X") ) { TEXTURE_CUBE_MAP_POSITIVE_X=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE_CUBE_MAP_NEGATIVE_X") ) { TEXTURE_CUBE_MAP_NEGATIVE_X=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE_CUBE_MAP_POSITIVE_Y") ) { TEXTURE_CUBE_MAP_POSITIVE_Y=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE_CUBE_MAP_NEGATIVE_Y") ) { TEXTURE_CUBE_MAP_NEGATIVE_Y=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE_CUBE_MAP_POSITIVE_Z") ) { TEXTURE_CUBE_MAP_POSITIVE_Z=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TEXTURE_CUBE_MAP_NEGATIVE_Z") ) { TEXTURE_CUBE_MAP_NEGATIVE_Z=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"VERTEX_ATTRIB_ARRAY_ENABLED") ) { VERTEX_ATTRIB_ARRAY_ENABLED=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"VERTEX_ATTRIB_ARRAY_POINTER") ) { VERTEX_ATTRIB_ARRAY_POINTER=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_bind_attrib_location") ) { nme_gl_bind_attrib_location=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_create_render_buffer") ) { nme_gl_create_render_buffer=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_program_info_log") ) { nme_gl_get_program_info_log=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_shader_parameter") ) { nme_gl_get_shader_parameter=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_uniform_location") ) { nme_gl_get_uniform_location=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_renderbuffer_storage") ) { nme_gl_renderbuffer_storage=inValue.Cast< Dynamic >(); return inValue; } - break; - case 28: - if (HX_FIELD_EQ(inName,"ELEMENT_ARRAY_BUFFER_BINDING") ) { ELEMENT_ARRAY_BUFFER_BINDING=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STENCIL_BACK_PASS_DEPTH_FAIL") ) { STENCIL_BACK_PASS_DEPTH_FAIL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"STENCIL_BACK_PASS_DEPTH_PASS") ) { STENCIL_BACK_PASS_DEPTH_PASS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"MAX_FRAGMENT_UNIFORM_VECTORS") ) { MAX_FRAGMENT_UNIFORM_VECTORS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"RENDERBUFFER_INTERNAL_FORMAT") ) { RENDERBUFFER_INTERNAL_FORMAT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_copy_tex_sub_image_2d") ) { nme_gl_copy_tex_sub_image_2d=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_framebuffer_texture2D") ) { nme_gl_framebuffer_texture2D=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_buffer_paramerter") ) { nme_gl_get_buffer_paramerter=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_program_parameter") ) { nme_gl_get_program_parameter=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_stencil_func_separate") ) { nme_gl_stencil_func_separate=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_stencil_mask_separate") ) { nme_gl_stencil_mask_separate=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_vertex_attrib_pointer") ) { nme_gl_vertex_attrib_pointer=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"INVALID_FRAMEBUFFER_OPERATION") ) { INVALID_FRAMEBUFFER_OPERATION=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_context_attributes") ) { nme_gl_get_context_attributes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 30: - if (HX_FIELD_EQ(inName,"MAX_VERTEX_TEXTURE_IMAGE_UNITS") ) { MAX_VERTEX_TEXTURE_IMAGE_UNITS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"VERTEX_ATTRIB_ARRAY_NORMALIZED") ) { VERTEX_ATTRIB_ARRAY_NORMALIZED=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"UNPACK_PREMULTIPLY_ALPHA_WEBGL") ) { UNPACK_PREMULTIPLY_ALPHA_WEBGL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_blend_equation_separate") ) { nme_gl_blend_equation_separate=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_compressed_tex_image_2d") ) { nme_gl_compressed_tex_image_2d=inValue.Cast< Dynamic >(); return inValue; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_gl_bind_bitmap_data_texture") ) { nme_gl_bind_bitmap_data_texture=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_check_framebuffer_status") ) { nme_gl_check_framebuffer_status=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_framebuffer_renderbuffer") ) { nme_gl_framebuffer_renderbuffer=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_supported_extensions") ) { nme_gl_get_supported_extensions=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_vertex_attrib_offset") ) { nme_gl_get_vertex_attrib_offset=inValue.Cast< Dynamic >(); return inValue; } - break; - case 32: - if (HX_FIELD_EQ(inName,"MAX_COMBINED_TEXTURE_IMAGE_UNITS") ) { MAX_COMBINED_TEXTURE_IMAGE_UNITS=inValue.Cast< int >(); return inValue; } - break; - case 33: - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_INCOMPLETE_ATTACHMENT") ) { FRAMEBUFFER_INCOMPLETE_ATTACHMENT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_INCOMPLETE_DIMENSIONS") ) { FRAMEBUFFER_INCOMPLETE_DIMENSIONS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_enable_vertex_attrib_array") ) { nme_gl_enable_vertex_attrib_array=inValue.Cast< Dynamic >(); return inValue; } - break; - case 34: - if (HX_FIELD_EQ(inName,"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING") ) { VERTEX_ATTRIB_ARRAY_BUFFER_BINDING=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE") ) { FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME") ) { FRAMEBUFFER_ATTACHMENT_OBJECT_NAME=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"UNPACK_COLORSPACE_CONVERSION_WEBGL") ) { UNPACK_COLORSPACE_CONVERSION_WEBGL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_compressed_tex_sub_image_2d") ) { nme_gl_compressed_tex_sub_image_2d=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_disable_vertex_attrib_array") ) { nme_gl_disable_vertex_attrib_array=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_render_buffer_parameter") ) { nme_gl_get_render_buffer_parameter=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gl_get_shader_precision_format") ) { nme_gl_get_shader_precision_format=inValue.Cast< Dynamic >(); return inValue; } - break; - case 36: - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL") ) { FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL=inValue.Cast< int >(); return inValue; } - break; - case 41: - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT") ) { FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT=inValue.Cast< int >(); return inValue; } - break; - case 43: - if (HX_FIELD_EQ(inName,"nme_gl_get_framebuffer_attachment_parameter") ) { nme_gl_get_framebuffer_attachment_parameter=inValue.Cast< Dynamic >(); return inValue; } - break; - case 44: - if (HX_FIELD_EQ(inName,"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE") ) { FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void GL_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("DEPTH_BUFFER_BIT"), - HX_CSTRING("STENCIL_BUFFER_BIT"), - HX_CSTRING("COLOR_BUFFER_BIT"), - HX_CSTRING("POINTS"), - HX_CSTRING("LINES"), - HX_CSTRING("LINE_LOOP"), - HX_CSTRING("LINE_STRIP"), - HX_CSTRING("TRIANGLES"), - HX_CSTRING("TRIANGLE_STRIP"), - HX_CSTRING("TRIANGLE_FAN"), - HX_CSTRING("ZERO"), - HX_CSTRING("ONE"), - HX_CSTRING("SRC_COLOR"), - HX_CSTRING("ONE_MINUS_SRC_COLOR"), - HX_CSTRING("SRC_ALPHA"), - HX_CSTRING("ONE_MINUS_SRC_ALPHA"), - HX_CSTRING("DST_ALPHA"), - HX_CSTRING("ONE_MINUS_DST_ALPHA"), - HX_CSTRING("DST_COLOR"), - HX_CSTRING("ONE_MINUS_DST_COLOR"), - HX_CSTRING("SRC_ALPHA_SATURATE"), - HX_CSTRING("FUNC_ADD"), - HX_CSTRING("BLEND_EQUATION"), - HX_CSTRING("BLEND_EQUATION_RGB"), - HX_CSTRING("BLEND_EQUATION_ALPHA"), - HX_CSTRING("FUNC_SUBTRACT"), - HX_CSTRING("FUNC_REVERSE_SUBTRACT"), - HX_CSTRING("BLEND_DST_RGB"), - HX_CSTRING("BLEND_SRC_RGB"), - HX_CSTRING("BLEND_DST_ALPHA"), - HX_CSTRING("BLEND_SRC_ALPHA"), - HX_CSTRING("CONSTANT_COLOR"), - HX_CSTRING("ONE_MINUS_CONSTANT_COLOR"), - HX_CSTRING("CONSTANT_ALPHA"), - HX_CSTRING("ONE_MINUS_CONSTANT_ALPHA"), - HX_CSTRING("BLEND_COLOR"), - HX_CSTRING("ARRAY_BUFFER"), - HX_CSTRING("ELEMENT_ARRAY_BUFFER"), - HX_CSTRING("ARRAY_BUFFER_BINDING"), - HX_CSTRING("ELEMENT_ARRAY_BUFFER_BINDING"), - HX_CSTRING("STREAM_DRAW"), - HX_CSTRING("STATIC_DRAW"), - HX_CSTRING("DYNAMIC_DRAW"), - HX_CSTRING("BUFFER_SIZE"), - HX_CSTRING("BUFFER_USAGE"), - HX_CSTRING("CURRENT_VERTEX_ATTRIB"), - HX_CSTRING("FRONT"), - HX_CSTRING("BACK"), - HX_CSTRING("FRONT_AND_BACK"), - HX_CSTRING("CULL_FACE"), - HX_CSTRING("BLEND"), - HX_CSTRING("DITHER"), - HX_CSTRING("STENCIL_TEST"), - HX_CSTRING("DEPTH_TEST"), - HX_CSTRING("SCISSOR_TEST"), - HX_CSTRING("POLYGON_OFFSET_FILL"), - HX_CSTRING("SAMPLE_ALPHA_TO_COVERAGE"), - HX_CSTRING("SAMPLE_COVERAGE"), - HX_CSTRING("NO_ERROR"), - HX_CSTRING("INVALID_ENUM"), - HX_CSTRING("INVALID_VALUE"), - HX_CSTRING("INVALID_OPERATION"), - HX_CSTRING("OUT_OF_MEMORY"), - HX_CSTRING("CW"), - HX_CSTRING("CCW"), - HX_CSTRING("LINE_WIDTH"), - HX_CSTRING("ALIASED_POINT_SIZE_RANGE"), - HX_CSTRING("ALIASED_LINE_WIDTH_RANGE"), - HX_CSTRING("CULL_FACE_MODE"), - HX_CSTRING("FRONT_FACE"), - HX_CSTRING("DEPTH_RANGE"), - HX_CSTRING("DEPTH_WRITEMASK"), - HX_CSTRING("DEPTH_CLEAR_VALUE"), - HX_CSTRING("DEPTH_FUNC"), - HX_CSTRING("STENCIL_CLEAR_VALUE"), - HX_CSTRING("STENCIL_FUNC"), - HX_CSTRING("STENCIL_FAIL"), - HX_CSTRING("STENCIL_PASS_DEPTH_FAIL"), - HX_CSTRING("STENCIL_PASS_DEPTH_PASS"), - HX_CSTRING("STENCIL_REF"), - HX_CSTRING("STENCIL_VALUE_MASK"), - HX_CSTRING("STENCIL_WRITEMASK"), - HX_CSTRING("STENCIL_BACK_FUNC"), - HX_CSTRING("STENCIL_BACK_FAIL"), - HX_CSTRING("STENCIL_BACK_PASS_DEPTH_FAIL"), - HX_CSTRING("STENCIL_BACK_PASS_DEPTH_PASS"), - HX_CSTRING("STENCIL_BACK_REF"), - HX_CSTRING("STENCIL_BACK_VALUE_MASK"), - HX_CSTRING("STENCIL_BACK_WRITEMASK"), - HX_CSTRING("VIEWPORT"), - HX_CSTRING("SCISSOR_BOX"), - HX_CSTRING("COLOR_CLEAR_VALUE"), - HX_CSTRING("COLOR_WRITEMASK"), - HX_CSTRING("UNPACK_ALIGNMENT"), - HX_CSTRING("PACK_ALIGNMENT"), - HX_CSTRING("MAX_TEXTURE_SIZE"), - HX_CSTRING("MAX_VIEWPORT_DIMS"), - HX_CSTRING("SUBPIXEL_BITS"), - HX_CSTRING("RED_BITS"), - HX_CSTRING("GREEN_BITS"), - HX_CSTRING("BLUE_BITS"), - HX_CSTRING("ALPHA_BITS"), - HX_CSTRING("DEPTH_BITS"), - HX_CSTRING("STENCIL_BITS"), - HX_CSTRING("POLYGON_OFFSET_UNITS"), - HX_CSTRING("POLYGON_OFFSET_FACTOR"), - HX_CSTRING("TEXTURE_BINDING_2D"), - HX_CSTRING("SAMPLE_BUFFERS"), - HX_CSTRING("SAMPLES"), - HX_CSTRING("SAMPLE_COVERAGE_VALUE"), - HX_CSTRING("SAMPLE_COVERAGE_INVERT"), - HX_CSTRING("COMPRESSED_TEXTURE_FORMATS"), - HX_CSTRING("DONT_CARE"), - HX_CSTRING("FASTEST"), - HX_CSTRING("NICEST"), - HX_CSTRING("GENERATE_MIPMAP_HINT"), - HX_CSTRING("BYTE"), - HX_CSTRING("UNSIGNED_BYTE"), - HX_CSTRING("SHORT"), - HX_CSTRING("UNSIGNED_SHORT"), - HX_CSTRING("INT"), - HX_CSTRING("UNSIGNED_INT"), - HX_CSTRING("FLOAT"), - HX_CSTRING("DEPTH_COMPONENT"), - HX_CSTRING("ALPHA"), - HX_CSTRING("RGB"), - HX_CSTRING("RGBA"), - HX_CSTRING("LUMINANCE"), - HX_CSTRING("LUMINANCE_ALPHA"), - HX_CSTRING("UNSIGNED_SHORT_4_4_4_4"), - HX_CSTRING("UNSIGNED_SHORT_5_5_5_1"), - HX_CSTRING("UNSIGNED_SHORT_5_6_5"), - HX_CSTRING("FRAGMENT_SHADER"), - HX_CSTRING("VERTEX_SHADER"), - HX_CSTRING("MAX_VERTEX_ATTRIBS"), - HX_CSTRING("MAX_VERTEX_UNIFORM_VECTORS"), - HX_CSTRING("MAX_VARYING_VECTORS"), - HX_CSTRING("MAX_COMBINED_TEXTURE_IMAGE_UNITS"), - HX_CSTRING("MAX_VERTEX_TEXTURE_IMAGE_UNITS"), - HX_CSTRING("MAX_TEXTURE_IMAGE_UNITS"), - HX_CSTRING("MAX_FRAGMENT_UNIFORM_VECTORS"), - HX_CSTRING("SHADER_TYPE"), - HX_CSTRING("DELETE_STATUS"), - HX_CSTRING("LINK_STATUS"), - HX_CSTRING("VALIDATE_STATUS"), - HX_CSTRING("ATTACHED_SHADERS"), - HX_CSTRING("ACTIVE_UNIFORMS"), - HX_CSTRING("ACTIVE_ATTRIBUTES"), - HX_CSTRING("SHADING_LANGUAGE_VERSION"), - HX_CSTRING("CURRENT_PROGRAM"), - HX_CSTRING("NEVER"), - HX_CSTRING("LESS"), - HX_CSTRING("EQUAL"), - HX_CSTRING("LEQUAL"), - HX_CSTRING("GREATER"), - HX_CSTRING("NOTEQUAL"), - HX_CSTRING("GEQUAL"), - HX_CSTRING("ALWAYS"), - HX_CSTRING("KEEP"), - HX_CSTRING("REPLACE"), - HX_CSTRING("INCR"), - HX_CSTRING("DECR"), - HX_CSTRING("INVERT"), - HX_CSTRING("INCR_WRAP"), - HX_CSTRING("DECR_WRAP"), - HX_CSTRING("VENDOR"), - HX_CSTRING("RENDERER"), - HX_CSTRING("VERSION"), - HX_CSTRING("NEAREST"), - HX_CSTRING("LINEAR"), - HX_CSTRING("NEAREST_MIPMAP_NEAREST"), - HX_CSTRING("LINEAR_MIPMAP_NEAREST"), - HX_CSTRING("NEAREST_MIPMAP_LINEAR"), - HX_CSTRING("LINEAR_MIPMAP_LINEAR"), - HX_CSTRING("TEXTURE_MAG_FILTER"), - HX_CSTRING("TEXTURE_MIN_FILTER"), - HX_CSTRING("TEXTURE_WRAP_S"), - HX_CSTRING("TEXTURE_WRAP_T"), - HX_CSTRING("TEXTURE_2D"), - HX_CSTRING("TEXTURE"), - HX_CSTRING("TEXTURE_CUBE_MAP"), - HX_CSTRING("TEXTURE_BINDING_CUBE_MAP"), - HX_CSTRING("TEXTURE_CUBE_MAP_POSITIVE_X"), - HX_CSTRING("TEXTURE_CUBE_MAP_NEGATIVE_X"), - HX_CSTRING("TEXTURE_CUBE_MAP_POSITIVE_Y"), - HX_CSTRING("TEXTURE_CUBE_MAP_NEGATIVE_Y"), - HX_CSTRING("TEXTURE_CUBE_MAP_POSITIVE_Z"), - HX_CSTRING("TEXTURE_CUBE_MAP_NEGATIVE_Z"), - HX_CSTRING("MAX_CUBE_MAP_TEXTURE_SIZE"), - HX_CSTRING("TEXTURE0"), - HX_CSTRING("TEXTURE1"), - HX_CSTRING("TEXTURE2"), - HX_CSTRING("TEXTURE3"), - HX_CSTRING("TEXTURE4"), - HX_CSTRING("TEXTURE5"), - HX_CSTRING("TEXTURE6"), - HX_CSTRING("TEXTURE7"), - HX_CSTRING("TEXTURE8"), - HX_CSTRING("TEXTURE9"), - HX_CSTRING("TEXTURE10"), - HX_CSTRING("TEXTURE11"), - HX_CSTRING("TEXTURE12"), - HX_CSTRING("TEXTURE13"), - HX_CSTRING("TEXTURE14"), - HX_CSTRING("TEXTURE15"), - HX_CSTRING("TEXTURE16"), - HX_CSTRING("TEXTURE17"), - HX_CSTRING("TEXTURE18"), - HX_CSTRING("TEXTURE19"), - HX_CSTRING("TEXTURE20"), - HX_CSTRING("TEXTURE21"), - HX_CSTRING("TEXTURE22"), - HX_CSTRING("TEXTURE23"), - HX_CSTRING("TEXTURE24"), - HX_CSTRING("TEXTURE25"), - HX_CSTRING("TEXTURE26"), - HX_CSTRING("TEXTURE27"), - HX_CSTRING("TEXTURE28"), - HX_CSTRING("TEXTURE29"), - HX_CSTRING("TEXTURE30"), - HX_CSTRING("TEXTURE31"), - HX_CSTRING("ACTIVE_TEXTURE"), - HX_CSTRING("REPEAT"), - HX_CSTRING("CLAMP_TO_EDGE"), - HX_CSTRING("MIRRORED_REPEAT"), - HX_CSTRING("FLOAT_VEC2"), - HX_CSTRING("FLOAT_VEC3"), - HX_CSTRING("FLOAT_VEC4"), - HX_CSTRING("INT_VEC2"), - HX_CSTRING("INT_VEC3"), - HX_CSTRING("INT_VEC4"), - HX_CSTRING("BOOL"), - HX_CSTRING("BOOL_VEC2"), - HX_CSTRING("BOOL_VEC3"), - HX_CSTRING("BOOL_VEC4"), - HX_CSTRING("FLOAT_MAT2"), - HX_CSTRING("FLOAT_MAT3"), - HX_CSTRING("FLOAT_MAT4"), - HX_CSTRING("SAMPLER_2D"), - HX_CSTRING("SAMPLER_CUBE"), - HX_CSTRING("VERTEX_ATTRIB_ARRAY_ENABLED"), - HX_CSTRING("VERTEX_ATTRIB_ARRAY_SIZE"), - HX_CSTRING("VERTEX_ATTRIB_ARRAY_STRIDE"), - HX_CSTRING("VERTEX_ATTRIB_ARRAY_TYPE"), - HX_CSTRING("VERTEX_ATTRIB_ARRAY_NORMALIZED"), - HX_CSTRING("VERTEX_ATTRIB_ARRAY_POINTER"), - HX_CSTRING("VERTEX_ATTRIB_ARRAY_BUFFER_BINDING"), - HX_CSTRING("COMPILE_STATUS"), - HX_CSTRING("LOW_FLOAT"), - HX_CSTRING("MEDIUM_FLOAT"), - HX_CSTRING("HIGH_FLOAT"), - HX_CSTRING("LOW_INT"), - HX_CSTRING("MEDIUM_INT"), - HX_CSTRING("HIGH_INT"), - HX_CSTRING("FRAMEBUFFER"), - HX_CSTRING("RENDERBUFFER"), - HX_CSTRING("RGBA4"), - HX_CSTRING("RGB5_A1"), - HX_CSTRING("RGB565"), - HX_CSTRING("DEPTH_COMPONENT16"), - HX_CSTRING("STENCIL_INDEX"), - HX_CSTRING("STENCIL_INDEX8"), - HX_CSTRING("DEPTH_STENCIL"), - HX_CSTRING("RENDERBUFFER_WIDTH"), - HX_CSTRING("RENDERBUFFER_HEIGHT"), - HX_CSTRING("RENDERBUFFER_INTERNAL_FORMAT"), - HX_CSTRING("RENDERBUFFER_RED_SIZE"), - HX_CSTRING("RENDERBUFFER_GREEN_SIZE"), - HX_CSTRING("RENDERBUFFER_BLUE_SIZE"), - HX_CSTRING("RENDERBUFFER_ALPHA_SIZE"), - HX_CSTRING("RENDERBUFFER_DEPTH_SIZE"), - HX_CSTRING("RENDERBUFFER_STENCIL_SIZE"), - HX_CSTRING("FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE"), - HX_CSTRING("FRAMEBUFFER_ATTACHMENT_OBJECT_NAME"), - HX_CSTRING("FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL"), - HX_CSTRING("FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE"), - HX_CSTRING("COLOR_ATTACHMENT0"), - HX_CSTRING("DEPTH_ATTACHMENT"), - HX_CSTRING("STENCIL_ATTACHMENT"), - HX_CSTRING("DEPTH_STENCIL_ATTACHMENT"), - HX_CSTRING("NONE"), - HX_CSTRING("FRAMEBUFFER_COMPLETE"), - HX_CSTRING("FRAMEBUFFER_INCOMPLETE_ATTACHMENT"), - HX_CSTRING("FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"), - HX_CSTRING("FRAMEBUFFER_INCOMPLETE_DIMENSIONS"), - HX_CSTRING("FRAMEBUFFER_UNSUPPORTED"), - HX_CSTRING("FRAMEBUFFER_BINDING"), - HX_CSTRING("RENDERBUFFER_BINDING"), - HX_CSTRING("MAX_RENDERBUFFER_SIZE"), - HX_CSTRING("INVALID_FRAMEBUFFER_OPERATION"), - HX_CSTRING("UNPACK_FLIP_Y_WEBGL"), - HX_CSTRING("UNPACK_PREMULTIPLY_ALPHA_WEBGL"), - HX_CSTRING("CONTEXT_LOST_WEBGL"), - HX_CSTRING("UNPACK_COLORSPACE_CONVERSION_WEBGL"), - HX_CSTRING("BROWSER_DEFAULT_WEBGL"), - HX_CSTRING("drawingBufferHeight"), - HX_CSTRING("drawingBufferWidth"), - HX_CSTRING("version"), - HX_CSTRING("activeTexture"), - HX_CSTRING("attachShader"), - HX_CSTRING("bindAttribLocation"), - HX_CSTRING("bindBitmapDataTexture"), - HX_CSTRING("bindBuffer"), - HX_CSTRING("bindFramebuffer"), - HX_CSTRING("bindRenderbuffer"), - HX_CSTRING("bindTexture"), - HX_CSTRING("blendColor"), - HX_CSTRING("blendEquation"), - HX_CSTRING("blendEquationSeparate"), - HX_CSTRING("blendFunc"), - HX_CSTRING("blendFuncSeparate"), - HX_CSTRING("bufferData"), - HX_CSTRING("bufferSubData"), - HX_CSTRING("checkFramebufferStatus"), - HX_CSTRING("clear"), - HX_CSTRING("clearColor"), - HX_CSTRING("clearDepth"), - HX_CSTRING("clearStencil"), - HX_CSTRING("colorMask"), - HX_CSTRING("compileShader"), - HX_CSTRING("compressedTexImage2D"), - HX_CSTRING("compressedTexSubImage2D"), - HX_CSTRING("copyTexImage2D"), - HX_CSTRING("copyTexSubImage2D"), - HX_CSTRING("createBuffer"), - HX_CSTRING("createFramebuffer"), - HX_CSTRING("createProgram"), - HX_CSTRING("createRenderbuffer"), - HX_CSTRING("createShader"), - HX_CSTRING("createTexture"), - HX_CSTRING("cullFace"), - HX_CSTRING("deleteBuffer"), - HX_CSTRING("deleteFramebuffer"), - HX_CSTRING("deleteProgram"), - HX_CSTRING("deleteRenderbuffer"), - HX_CSTRING("deleteShader"), - HX_CSTRING("deleteTexture"), - HX_CSTRING("depthFunc"), - HX_CSTRING("depthMask"), - HX_CSTRING("depthRange"), - HX_CSTRING("detachShader"), - HX_CSTRING("disable"), - HX_CSTRING("disableVertexAttribArray"), - HX_CSTRING("drawArrays"), - HX_CSTRING("drawElements"), - HX_CSTRING("enable"), - HX_CSTRING("enableVertexAttribArray"), - HX_CSTRING("finish"), - HX_CSTRING("flush"), - HX_CSTRING("framebufferRenderbuffer"), - HX_CSTRING("framebufferTexture2D"), - HX_CSTRING("frontFace"), - HX_CSTRING("generateMipmap"), - HX_CSTRING("getActiveAttrib"), - HX_CSTRING("getActiveUniform"), - HX_CSTRING("getAttachedShaders"), - HX_CSTRING("getAttribLocation"), - HX_CSTRING("getBufferParameter"), - HX_CSTRING("getContextAttributes"), - HX_CSTRING("getError"), - HX_CSTRING("getExtension"), - HX_CSTRING("getFramebufferAttachmentParameter"), - HX_CSTRING("getParameter"), - HX_CSTRING("getProgramInfoLog"), - HX_CSTRING("getProgramParameter"), - HX_CSTRING("getRenderbufferParameter"), - HX_CSTRING("getShaderInfoLog"), - HX_CSTRING("getShaderParameter"), - HX_CSTRING("getShaderPrecisionFormat"), - HX_CSTRING("getShaderSource"), - HX_CSTRING("getSupportedExtensions"), - HX_CSTRING("getTexParameter"), - HX_CSTRING("getUniform"), - HX_CSTRING("getUniformLocation"), - HX_CSTRING("getVertexAttrib"), - HX_CSTRING("getVertexAttribOffset"), - HX_CSTRING("hint"), - HX_CSTRING("isBuffer"), - HX_CSTRING("isEnabled"), - HX_CSTRING("isFramebuffer"), - HX_CSTRING("isProgram"), - HX_CSTRING("isRenderbuffer"), - HX_CSTRING("isShader"), - HX_CSTRING("isTexture"), - HX_CSTRING("lineWidth"), - HX_CSTRING("linkProgram"), - HX_CSTRING("load"), - HX_CSTRING("pixelStorei"), - HX_CSTRING("polygonOffset"), - HX_CSTRING("readPixels"), - HX_CSTRING("renderbufferStorage"), - HX_CSTRING("sampleCoverage"), - HX_CSTRING("scissor"), - HX_CSTRING("shaderSource"), - HX_CSTRING("stencilFunc"), - HX_CSTRING("stencilFuncSeparate"), - HX_CSTRING("stencilMask"), - HX_CSTRING("stencilMaskSeparate"), - HX_CSTRING("stencilOp"), - HX_CSTRING("stencilOpSeparate"), - HX_CSTRING("texImage2D"), - HX_CSTRING("texParameterf"), - HX_CSTRING("texParameteri"), - HX_CSTRING("texSubImage2D"), - HX_CSTRING("uniform1f"), - HX_CSTRING("uniform1fv"), - HX_CSTRING("uniform1i"), - HX_CSTRING("uniform1iv"), - HX_CSTRING("uniform2f"), - HX_CSTRING("uniform2fv"), - HX_CSTRING("uniform2i"), - HX_CSTRING("uniform2iv"), - HX_CSTRING("uniform3f"), - HX_CSTRING("uniform3fv"), - HX_CSTRING("uniform3i"), - HX_CSTRING("uniform3iv"), - HX_CSTRING("uniform4f"), - HX_CSTRING("uniform4fv"), - HX_CSTRING("uniform4i"), - HX_CSTRING("uniform4iv"), - HX_CSTRING("uniformMatrix2fv"), - HX_CSTRING("uniformMatrix3fv"), - HX_CSTRING("uniformMatrix4fv"), - HX_CSTRING("uniformMatrix3D"), - HX_CSTRING("useProgram"), - HX_CSTRING("validateProgram"), - HX_CSTRING("vertexAttrib1f"), - HX_CSTRING("vertexAttrib1fv"), - HX_CSTRING("vertexAttrib2f"), - HX_CSTRING("vertexAttrib2fv"), - HX_CSTRING("vertexAttrib3f"), - HX_CSTRING("vertexAttrib3fv"), - HX_CSTRING("vertexAttrib4f"), - HX_CSTRING("vertexAttrib4fv"), - HX_CSTRING("vertexAttribPointer"), - HX_CSTRING("viewport"), - HX_CSTRING("get_drawingBufferHeight"), - HX_CSTRING("get_drawingBufferWidth"), - HX_CSTRING("get_version"), - HX_CSTRING("nme_gl_active_texture"), - HX_CSTRING("nme_gl_attach_shader"), - HX_CSTRING("nme_gl_bind_attrib_location"), - HX_CSTRING("nme_gl_bind_bitmap_data_texture"), - HX_CSTRING("nme_gl_bind_buffer"), - HX_CSTRING("nme_gl_bind_framebuffer"), - HX_CSTRING("nme_gl_bind_renderbuffer"), - HX_CSTRING("nme_gl_bind_texture"), - HX_CSTRING("nme_gl_blend_color"), - HX_CSTRING("nme_gl_blend_equation"), - HX_CSTRING("nme_gl_blend_equation_separate"), - HX_CSTRING("nme_gl_blend_func"), - HX_CSTRING("nme_gl_blend_func_separate"), - HX_CSTRING("nme_gl_buffer_data"), - HX_CSTRING("nme_gl_buffer_sub_data"), - HX_CSTRING("nme_gl_check_framebuffer_status"), - HX_CSTRING("nme_gl_clear"), - HX_CSTRING("nme_gl_clear_color"), - HX_CSTRING("nme_gl_clear_depth"), - HX_CSTRING("nme_gl_clear_stencil"), - HX_CSTRING("nme_gl_color_mask"), - HX_CSTRING("nme_gl_compile_shader"), - HX_CSTRING("nme_gl_compressed_tex_image_2d"), - HX_CSTRING("nme_gl_compressed_tex_sub_image_2d"), - HX_CSTRING("nme_gl_copy_tex_image_2d"), - HX_CSTRING("nme_gl_copy_tex_sub_image_2d"), - HX_CSTRING("nme_gl_create_buffer"), - HX_CSTRING("nme_gl_create_framebuffer"), - HX_CSTRING("nme_gl_create_program"), - HX_CSTRING("nme_gl_create_render_buffer"), - HX_CSTRING("nme_gl_create_shader"), - HX_CSTRING("nme_gl_create_texture"), - HX_CSTRING("nme_gl_delete_buffer"), - HX_CSTRING("nme_gl_delete_program"), - HX_CSTRING("nme_gl_delete_shader"), - HX_CSTRING("nme_gl_delete_texture"), - HX_CSTRING("nme_gl_depth_func"), - HX_CSTRING("nme_gl_depth_mask"), - HX_CSTRING("nme_gl_depth_range"), - HX_CSTRING("nme_gl_detach_shader"), - HX_CSTRING("nme_gl_disable"), - HX_CSTRING("nme_gl_disable_vertex_attrib_array"), - HX_CSTRING("nme_gl_draw_arrays"), - HX_CSTRING("nme_gl_draw_elements"), - HX_CSTRING("nme_gl_enable"), - HX_CSTRING("nme_gl_enable_vertex_attrib_array"), - HX_CSTRING("nme_gl_finish"), - HX_CSTRING("nme_gl_flush"), - HX_CSTRING("nme_gl_framebuffer_renderbuffer"), - HX_CSTRING("nme_gl_framebuffer_texture2D"), - HX_CSTRING("nme_gl_front_face"), - HX_CSTRING("nme_gl_generate_mipmap"), - HX_CSTRING("nme_gl_get_active_attrib"), - HX_CSTRING("nme_gl_get_active_uniform"), - HX_CSTRING("nme_gl_get_attrib_location"), - HX_CSTRING("nme_gl_get_buffer_paramerter"), - HX_CSTRING("nme_gl_get_context_attributes"), - HX_CSTRING("nme_gl_get_error"), - HX_CSTRING("nme_gl_get_framebuffer_attachment_parameter"), - HX_CSTRING("nme_gl_get_parameter"), - HX_CSTRING("nme_gl_get_program_info_log"), - HX_CSTRING("nme_gl_get_program_parameter"), - HX_CSTRING("nme_gl_get_render_buffer_parameter"), - HX_CSTRING("nme_gl_get_shader_info_log"), - HX_CSTRING("nme_gl_get_shader_parameter"), - HX_CSTRING("nme_gl_get_shader_precision_format"), - HX_CSTRING("nme_gl_get_shader_source"), - HX_CSTRING("nme_gl_get_supported_extensions"), - HX_CSTRING("nme_gl_get_tex_parameter"), - HX_CSTRING("nme_gl_get_uniform"), - HX_CSTRING("nme_gl_get_uniform_location"), - HX_CSTRING("nme_gl_get_vertex_attrib"), - HX_CSTRING("nme_gl_get_vertex_attrib_offset"), - HX_CSTRING("nme_gl_hint"), - HX_CSTRING("nme_gl_is_buffer"), - HX_CSTRING("nme_gl_is_enabled"), - HX_CSTRING("nme_gl_is_framebuffer"), - HX_CSTRING("nme_gl_is_program"), - HX_CSTRING("nme_gl_is_renderbuffer"), - HX_CSTRING("nme_gl_is_shader"), - HX_CSTRING("nme_gl_is_texture"), - HX_CSTRING("nme_gl_line_width"), - HX_CSTRING("nme_gl_link_program"), - HX_CSTRING("nme_gl_pixel_storei"), - HX_CSTRING("nme_gl_polygon_offset"), - HX_CSTRING("nme_gl_renderbuffer_storage"), - HX_CSTRING("nme_gl_sample_coverage"), - HX_CSTRING("nme_gl_scissor"), - HX_CSTRING("nme_gl_shader_source"), - HX_CSTRING("nme_gl_stencil_func"), - HX_CSTRING("nme_gl_stencil_func_separate"), - HX_CSTRING("nme_gl_stencil_mask"), - HX_CSTRING("nme_gl_stencil_mask_separate"), - HX_CSTRING("nme_gl_stencil_op"), - HX_CSTRING("nme_gl_stencil_op_separate"), - HX_CSTRING("nme_gl_tex_image_2d"), - HX_CSTRING("nme_gl_tex_parameterf"), - HX_CSTRING("nme_gl_tex_parameteri"), - HX_CSTRING("nme_gl_tex_sub_image_2d"), - HX_CSTRING("nme_gl_uniform1f"), - HX_CSTRING("nme_gl_uniform1fv"), - HX_CSTRING("nme_gl_uniform1i"), - HX_CSTRING("nme_gl_uniform1iv"), - HX_CSTRING("nme_gl_uniform2f"), - HX_CSTRING("nme_gl_uniform2fv"), - HX_CSTRING("nme_gl_uniform2i"), - HX_CSTRING("nme_gl_uniform2iv"), - HX_CSTRING("nme_gl_uniform3f"), - HX_CSTRING("nme_gl_uniform3fv"), - HX_CSTRING("nme_gl_uniform3i"), - HX_CSTRING("nme_gl_uniform3iv"), - HX_CSTRING("nme_gl_uniform4f"), - HX_CSTRING("nme_gl_uniform4fv"), - HX_CSTRING("nme_gl_uniform4i"), - HX_CSTRING("nme_gl_uniform4iv"), - HX_CSTRING("nme_gl_uniform_matrix"), - HX_CSTRING("nme_gl_use_program"), - HX_CSTRING("nme_gl_validate_program"), - HX_CSTRING("nme_gl_version"), - HX_CSTRING("nme_gl_vertex_attrib1f"), - HX_CSTRING("nme_gl_vertex_attrib1fv"), - HX_CSTRING("nme_gl_vertex_attrib2f"), - HX_CSTRING("nme_gl_vertex_attrib2fv"), - HX_CSTRING("nme_gl_vertex_attrib3f"), - HX_CSTRING("nme_gl_vertex_attrib3fv"), - HX_CSTRING("nme_gl_vertex_attrib4f"), - HX_CSTRING("nme_gl_vertex_attrib4fv"), - HX_CSTRING("nme_gl_vertex_attrib_pointer"), - HX_CSTRING("nme_gl_viewport"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GL_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(GL_obj::DEPTH_BUFFER_BIT,"DEPTH_BUFFER_BIT"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_BUFFER_BIT,"STENCIL_BUFFER_BIT"); - HX_MARK_MEMBER_NAME(GL_obj::COLOR_BUFFER_BIT,"COLOR_BUFFER_BIT"); - HX_MARK_MEMBER_NAME(GL_obj::POINTS,"POINTS"); - HX_MARK_MEMBER_NAME(GL_obj::LINES,"LINES"); - HX_MARK_MEMBER_NAME(GL_obj::LINE_LOOP,"LINE_LOOP"); - HX_MARK_MEMBER_NAME(GL_obj::LINE_STRIP,"LINE_STRIP"); - HX_MARK_MEMBER_NAME(GL_obj::TRIANGLES,"TRIANGLES"); - HX_MARK_MEMBER_NAME(GL_obj::TRIANGLE_STRIP,"TRIANGLE_STRIP"); - HX_MARK_MEMBER_NAME(GL_obj::TRIANGLE_FAN,"TRIANGLE_FAN"); - HX_MARK_MEMBER_NAME(GL_obj::ZERO,"ZERO"); - HX_MARK_MEMBER_NAME(GL_obj::ONE,"ONE"); - HX_MARK_MEMBER_NAME(GL_obj::SRC_COLOR,"SRC_COLOR"); - HX_MARK_MEMBER_NAME(GL_obj::ONE_MINUS_SRC_COLOR,"ONE_MINUS_SRC_COLOR"); - HX_MARK_MEMBER_NAME(GL_obj::SRC_ALPHA,"SRC_ALPHA"); - HX_MARK_MEMBER_NAME(GL_obj::ONE_MINUS_SRC_ALPHA,"ONE_MINUS_SRC_ALPHA"); - HX_MARK_MEMBER_NAME(GL_obj::DST_ALPHA,"DST_ALPHA"); - HX_MARK_MEMBER_NAME(GL_obj::ONE_MINUS_DST_ALPHA,"ONE_MINUS_DST_ALPHA"); - HX_MARK_MEMBER_NAME(GL_obj::DST_COLOR,"DST_COLOR"); - HX_MARK_MEMBER_NAME(GL_obj::ONE_MINUS_DST_COLOR,"ONE_MINUS_DST_COLOR"); - HX_MARK_MEMBER_NAME(GL_obj::SRC_ALPHA_SATURATE,"SRC_ALPHA_SATURATE"); - HX_MARK_MEMBER_NAME(GL_obj::FUNC_ADD,"FUNC_ADD"); - HX_MARK_MEMBER_NAME(GL_obj::BLEND_EQUATION,"BLEND_EQUATION"); - HX_MARK_MEMBER_NAME(GL_obj::BLEND_EQUATION_RGB,"BLEND_EQUATION_RGB"); - HX_MARK_MEMBER_NAME(GL_obj::BLEND_EQUATION_ALPHA,"BLEND_EQUATION_ALPHA"); - HX_MARK_MEMBER_NAME(GL_obj::FUNC_SUBTRACT,"FUNC_SUBTRACT"); - HX_MARK_MEMBER_NAME(GL_obj::FUNC_REVERSE_SUBTRACT,"FUNC_REVERSE_SUBTRACT"); - HX_MARK_MEMBER_NAME(GL_obj::BLEND_DST_RGB,"BLEND_DST_RGB"); - HX_MARK_MEMBER_NAME(GL_obj::BLEND_SRC_RGB,"BLEND_SRC_RGB"); - HX_MARK_MEMBER_NAME(GL_obj::BLEND_DST_ALPHA,"BLEND_DST_ALPHA"); - HX_MARK_MEMBER_NAME(GL_obj::BLEND_SRC_ALPHA,"BLEND_SRC_ALPHA"); - HX_MARK_MEMBER_NAME(GL_obj::CONSTANT_COLOR,"CONSTANT_COLOR"); - HX_MARK_MEMBER_NAME(GL_obj::ONE_MINUS_CONSTANT_COLOR,"ONE_MINUS_CONSTANT_COLOR"); - HX_MARK_MEMBER_NAME(GL_obj::CONSTANT_ALPHA,"CONSTANT_ALPHA"); - HX_MARK_MEMBER_NAME(GL_obj::ONE_MINUS_CONSTANT_ALPHA,"ONE_MINUS_CONSTANT_ALPHA"); - HX_MARK_MEMBER_NAME(GL_obj::BLEND_COLOR,"BLEND_COLOR"); - HX_MARK_MEMBER_NAME(GL_obj::ARRAY_BUFFER,"ARRAY_BUFFER"); - HX_MARK_MEMBER_NAME(GL_obj::ELEMENT_ARRAY_BUFFER,"ELEMENT_ARRAY_BUFFER"); - HX_MARK_MEMBER_NAME(GL_obj::ARRAY_BUFFER_BINDING,"ARRAY_BUFFER_BINDING"); - HX_MARK_MEMBER_NAME(GL_obj::ELEMENT_ARRAY_BUFFER_BINDING,"ELEMENT_ARRAY_BUFFER_BINDING"); - HX_MARK_MEMBER_NAME(GL_obj::STREAM_DRAW,"STREAM_DRAW"); - HX_MARK_MEMBER_NAME(GL_obj::STATIC_DRAW,"STATIC_DRAW"); - HX_MARK_MEMBER_NAME(GL_obj::DYNAMIC_DRAW,"DYNAMIC_DRAW"); - HX_MARK_MEMBER_NAME(GL_obj::BUFFER_SIZE,"BUFFER_SIZE"); - HX_MARK_MEMBER_NAME(GL_obj::BUFFER_USAGE,"BUFFER_USAGE"); - HX_MARK_MEMBER_NAME(GL_obj::CURRENT_VERTEX_ATTRIB,"CURRENT_VERTEX_ATTRIB"); - HX_MARK_MEMBER_NAME(GL_obj::FRONT,"FRONT"); - HX_MARK_MEMBER_NAME(GL_obj::BACK,"BACK"); - HX_MARK_MEMBER_NAME(GL_obj::FRONT_AND_BACK,"FRONT_AND_BACK"); - HX_MARK_MEMBER_NAME(GL_obj::CULL_FACE,"CULL_FACE"); - HX_MARK_MEMBER_NAME(GL_obj::BLEND,"BLEND"); - HX_MARK_MEMBER_NAME(GL_obj::DITHER,"DITHER"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_TEST,"STENCIL_TEST"); - HX_MARK_MEMBER_NAME(GL_obj::DEPTH_TEST,"DEPTH_TEST"); - HX_MARK_MEMBER_NAME(GL_obj::SCISSOR_TEST,"SCISSOR_TEST"); - HX_MARK_MEMBER_NAME(GL_obj::POLYGON_OFFSET_FILL,"POLYGON_OFFSET_FILL"); - HX_MARK_MEMBER_NAME(GL_obj::SAMPLE_ALPHA_TO_COVERAGE,"SAMPLE_ALPHA_TO_COVERAGE"); - HX_MARK_MEMBER_NAME(GL_obj::SAMPLE_COVERAGE,"SAMPLE_COVERAGE"); - HX_MARK_MEMBER_NAME(GL_obj::NO_ERROR,"NO_ERROR"); - HX_MARK_MEMBER_NAME(GL_obj::INVALID_ENUM,"INVALID_ENUM"); - HX_MARK_MEMBER_NAME(GL_obj::INVALID_VALUE,"INVALID_VALUE"); - HX_MARK_MEMBER_NAME(GL_obj::INVALID_OPERATION,"INVALID_OPERATION"); - HX_MARK_MEMBER_NAME(GL_obj::OUT_OF_MEMORY,"OUT_OF_MEMORY"); - HX_MARK_MEMBER_NAME(GL_obj::CW,"CW"); - HX_MARK_MEMBER_NAME(GL_obj::CCW,"CCW"); - HX_MARK_MEMBER_NAME(GL_obj::LINE_WIDTH,"LINE_WIDTH"); - HX_MARK_MEMBER_NAME(GL_obj::ALIASED_POINT_SIZE_RANGE,"ALIASED_POINT_SIZE_RANGE"); - HX_MARK_MEMBER_NAME(GL_obj::ALIASED_LINE_WIDTH_RANGE,"ALIASED_LINE_WIDTH_RANGE"); - HX_MARK_MEMBER_NAME(GL_obj::CULL_FACE_MODE,"CULL_FACE_MODE"); - HX_MARK_MEMBER_NAME(GL_obj::FRONT_FACE,"FRONT_FACE"); - HX_MARK_MEMBER_NAME(GL_obj::DEPTH_RANGE,"DEPTH_RANGE"); - HX_MARK_MEMBER_NAME(GL_obj::DEPTH_WRITEMASK,"DEPTH_WRITEMASK"); - HX_MARK_MEMBER_NAME(GL_obj::DEPTH_CLEAR_VALUE,"DEPTH_CLEAR_VALUE"); - HX_MARK_MEMBER_NAME(GL_obj::DEPTH_FUNC,"DEPTH_FUNC"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_CLEAR_VALUE,"STENCIL_CLEAR_VALUE"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_FUNC,"STENCIL_FUNC"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_FAIL,"STENCIL_FAIL"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_PASS_DEPTH_FAIL,"STENCIL_PASS_DEPTH_FAIL"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_PASS_DEPTH_PASS,"STENCIL_PASS_DEPTH_PASS"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_REF,"STENCIL_REF"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_VALUE_MASK,"STENCIL_VALUE_MASK"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_WRITEMASK,"STENCIL_WRITEMASK"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_BACK_FUNC,"STENCIL_BACK_FUNC"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_BACK_FAIL,"STENCIL_BACK_FAIL"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_BACK_PASS_DEPTH_FAIL,"STENCIL_BACK_PASS_DEPTH_FAIL"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_BACK_PASS_DEPTH_PASS,"STENCIL_BACK_PASS_DEPTH_PASS"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_BACK_REF,"STENCIL_BACK_REF"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_BACK_VALUE_MASK,"STENCIL_BACK_VALUE_MASK"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_BACK_WRITEMASK,"STENCIL_BACK_WRITEMASK"); - HX_MARK_MEMBER_NAME(GL_obj::VIEWPORT,"VIEWPORT"); - HX_MARK_MEMBER_NAME(GL_obj::SCISSOR_BOX,"SCISSOR_BOX"); - HX_MARK_MEMBER_NAME(GL_obj::COLOR_CLEAR_VALUE,"COLOR_CLEAR_VALUE"); - HX_MARK_MEMBER_NAME(GL_obj::COLOR_WRITEMASK,"COLOR_WRITEMASK"); - HX_MARK_MEMBER_NAME(GL_obj::UNPACK_ALIGNMENT,"UNPACK_ALIGNMENT"); - HX_MARK_MEMBER_NAME(GL_obj::PACK_ALIGNMENT,"PACK_ALIGNMENT"); - HX_MARK_MEMBER_NAME(GL_obj::MAX_TEXTURE_SIZE,"MAX_TEXTURE_SIZE"); - HX_MARK_MEMBER_NAME(GL_obj::MAX_VIEWPORT_DIMS,"MAX_VIEWPORT_DIMS"); - HX_MARK_MEMBER_NAME(GL_obj::SUBPIXEL_BITS,"SUBPIXEL_BITS"); - HX_MARK_MEMBER_NAME(GL_obj::RED_BITS,"RED_BITS"); - HX_MARK_MEMBER_NAME(GL_obj::GREEN_BITS,"GREEN_BITS"); - HX_MARK_MEMBER_NAME(GL_obj::BLUE_BITS,"BLUE_BITS"); - HX_MARK_MEMBER_NAME(GL_obj::ALPHA_BITS,"ALPHA_BITS"); - HX_MARK_MEMBER_NAME(GL_obj::DEPTH_BITS,"DEPTH_BITS"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_BITS,"STENCIL_BITS"); - HX_MARK_MEMBER_NAME(GL_obj::POLYGON_OFFSET_UNITS,"POLYGON_OFFSET_UNITS"); - HX_MARK_MEMBER_NAME(GL_obj::POLYGON_OFFSET_FACTOR,"POLYGON_OFFSET_FACTOR"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE_BINDING_2D,"TEXTURE_BINDING_2D"); - HX_MARK_MEMBER_NAME(GL_obj::SAMPLE_BUFFERS,"SAMPLE_BUFFERS"); - HX_MARK_MEMBER_NAME(GL_obj::SAMPLES,"SAMPLES"); - HX_MARK_MEMBER_NAME(GL_obj::SAMPLE_COVERAGE_VALUE,"SAMPLE_COVERAGE_VALUE"); - HX_MARK_MEMBER_NAME(GL_obj::SAMPLE_COVERAGE_INVERT,"SAMPLE_COVERAGE_INVERT"); - HX_MARK_MEMBER_NAME(GL_obj::COMPRESSED_TEXTURE_FORMATS,"COMPRESSED_TEXTURE_FORMATS"); - HX_MARK_MEMBER_NAME(GL_obj::DONT_CARE,"DONT_CARE"); - HX_MARK_MEMBER_NAME(GL_obj::FASTEST,"FASTEST"); - HX_MARK_MEMBER_NAME(GL_obj::NICEST,"NICEST"); - HX_MARK_MEMBER_NAME(GL_obj::GENERATE_MIPMAP_HINT,"GENERATE_MIPMAP_HINT"); - HX_MARK_MEMBER_NAME(GL_obj::BYTE,"BYTE"); - HX_MARK_MEMBER_NAME(GL_obj::UNSIGNED_BYTE,"UNSIGNED_BYTE"); - HX_MARK_MEMBER_NAME(GL_obj::SHORT,"SHORT"); - HX_MARK_MEMBER_NAME(GL_obj::UNSIGNED_SHORT,"UNSIGNED_SHORT"); - HX_MARK_MEMBER_NAME(GL_obj::INT,"INT"); - HX_MARK_MEMBER_NAME(GL_obj::UNSIGNED_INT,"UNSIGNED_INT"); - HX_MARK_MEMBER_NAME(GL_obj::FLOAT,"FLOAT"); - HX_MARK_MEMBER_NAME(GL_obj::DEPTH_COMPONENT,"DEPTH_COMPONENT"); - HX_MARK_MEMBER_NAME(GL_obj::ALPHA,"ALPHA"); - HX_MARK_MEMBER_NAME(GL_obj::RGB,"RGB"); - HX_MARK_MEMBER_NAME(GL_obj::RGBA,"RGBA"); - HX_MARK_MEMBER_NAME(GL_obj::LUMINANCE,"LUMINANCE"); - HX_MARK_MEMBER_NAME(GL_obj::LUMINANCE_ALPHA,"LUMINANCE_ALPHA"); - HX_MARK_MEMBER_NAME(GL_obj::UNSIGNED_SHORT_4_4_4_4,"UNSIGNED_SHORT_4_4_4_4"); - HX_MARK_MEMBER_NAME(GL_obj::UNSIGNED_SHORT_5_5_5_1,"UNSIGNED_SHORT_5_5_5_1"); - HX_MARK_MEMBER_NAME(GL_obj::UNSIGNED_SHORT_5_6_5,"UNSIGNED_SHORT_5_6_5"); - HX_MARK_MEMBER_NAME(GL_obj::FRAGMENT_SHADER,"FRAGMENT_SHADER"); - HX_MARK_MEMBER_NAME(GL_obj::VERTEX_SHADER,"VERTEX_SHADER"); - HX_MARK_MEMBER_NAME(GL_obj::MAX_VERTEX_ATTRIBS,"MAX_VERTEX_ATTRIBS"); - HX_MARK_MEMBER_NAME(GL_obj::MAX_VERTEX_UNIFORM_VECTORS,"MAX_VERTEX_UNIFORM_VECTORS"); - HX_MARK_MEMBER_NAME(GL_obj::MAX_VARYING_VECTORS,"MAX_VARYING_VECTORS"); - HX_MARK_MEMBER_NAME(GL_obj::MAX_COMBINED_TEXTURE_IMAGE_UNITS,"MAX_COMBINED_TEXTURE_IMAGE_UNITS"); - HX_MARK_MEMBER_NAME(GL_obj::MAX_VERTEX_TEXTURE_IMAGE_UNITS,"MAX_VERTEX_TEXTURE_IMAGE_UNITS"); - HX_MARK_MEMBER_NAME(GL_obj::MAX_TEXTURE_IMAGE_UNITS,"MAX_TEXTURE_IMAGE_UNITS"); - HX_MARK_MEMBER_NAME(GL_obj::MAX_FRAGMENT_UNIFORM_VECTORS,"MAX_FRAGMENT_UNIFORM_VECTORS"); - HX_MARK_MEMBER_NAME(GL_obj::SHADER_TYPE,"SHADER_TYPE"); - HX_MARK_MEMBER_NAME(GL_obj::DELETE_STATUS,"DELETE_STATUS"); - HX_MARK_MEMBER_NAME(GL_obj::LINK_STATUS,"LINK_STATUS"); - HX_MARK_MEMBER_NAME(GL_obj::VALIDATE_STATUS,"VALIDATE_STATUS"); - HX_MARK_MEMBER_NAME(GL_obj::ATTACHED_SHADERS,"ATTACHED_SHADERS"); - HX_MARK_MEMBER_NAME(GL_obj::ACTIVE_UNIFORMS,"ACTIVE_UNIFORMS"); - HX_MARK_MEMBER_NAME(GL_obj::ACTIVE_ATTRIBUTES,"ACTIVE_ATTRIBUTES"); - HX_MARK_MEMBER_NAME(GL_obj::SHADING_LANGUAGE_VERSION,"SHADING_LANGUAGE_VERSION"); - HX_MARK_MEMBER_NAME(GL_obj::CURRENT_PROGRAM,"CURRENT_PROGRAM"); - HX_MARK_MEMBER_NAME(GL_obj::NEVER,"NEVER"); - HX_MARK_MEMBER_NAME(GL_obj::LESS,"LESS"); - HX_MARK_MEMBER_NAME(GL_obj::EQUAL,"EQUAL"); - HX_MARK_MEMBER_NAME(GL_obj::LEQUAL,"LEQUAL"); - HX_MARK_MEMBER_NAME(GL_obj::GREATER,"GREATER"); - HX_MARK_MEMBER_NAME(GL_obj::NOTEQUAL,"NOTEQUAL"); - HX_MARK_MEMBER_NAME(GL_obj::GEQUAL,"GEQUAL"); - HX_MARK_MEMBER_NAME(GL_obj::ALWAYS,"ALWAYS"); - HX_MARK_MEMBER_NAME(GL_obj::KEEP,"KEEP"); - HX_MARK_MEMBER_NAME(GL_obj::REPLACE,"REPLACE"); - HX_MARK_MEMBER_NAME(GL_obj::INCR,"INCR"); - HX_MARK_MEMBER_NAME(GL_obj::DECR,"DECR"); - HX_MARK_MEMBER_NAME(GL_obj::INVERT,"INVERT"); - HX_MARK_MEMBER_NAME(GL_obj::INCR_WRAP,"INCR_WRAP"); - HX_MARK_MEMBER_NAME(GL_obj::DECR_WRAP,"DECR_WRAP"); - HX_MARK_MEMBER_NAME(GL_obj::VENDOR,"VENDOR"); - HX_MARK_MEMBER_NAME(GL_obj::RENDERER,"RENDERER"); - HX_MARK_MEMBER_NAME(GL_obj::VERSION,"VERSION"); - HX_MARK_MEMBER_NAME(GL_obj::NEAREST,"NEAREST"); - HX_MARK_MEMBER_NAME(GL_obj::LINEAR,"LINEAR"); - HX_MARK_MEMBER_NAME(GL_obj::NEAREST_MIPMAP_NEAREST,"NEAREST_MIPMAP_NEAREST"); - HX_MARK_MEMBER_NAME(GL_obj::LINEAR_MIPMAP_NEAREST,"LINEAR_MIPMAP_NEAREST"); - HX_MARK_MEMBER_NAME(GL_obj::NEAREST_MIPMAP_LINEAR,"NEAREST_MIPMAP_LINEAR"); - HX_MARK_MEMBER_NAME(GL_obj::LINEAR_MIPMAP_LINEAR,"LINEAR_MIPMAP_LINEAR"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE_MAG_FILTER,"TEXTURE_MAG_FILTER"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE_MIN_FILTER,"TEXTURE_MIN_FILTER"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE_WRAP_S,"TEXTURE_WRAP_S"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE_WRAP_T,"TEXTURE_WRAP_T"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE_2D,"TEXTURE_2D"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE,"TEXTURE"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE_CUBE_MAP,"TEXTURE_CUBE_MAP"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE_BINDING_CUBE_MAP,"TEXTURE_BINDING_CUBE_MAP"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE_CUBE_MAP_POSITIVE_X,"TEXTURE_CUBE_MAP_POSITIVE_X"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE_CUBE_MAP_NEGATIVE_X,"TEXTURE_CUBE_MAP_NEGATIVE_X"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE_CUBE_MAP_POSITIVE_Y,"TEXTURE_CUBE_MAP_POSITIVE_Y"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE_CUBE_MAP_NEGATIVE_Y,"TEXTURE_CUBE_MAP_NEGATIVE_Y"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE_CUBE_MAP_POSITIVE_Z,"TEXTURE_CUBE_MAP_POSITIVE_Z"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE_CUBE_MAP_NEGATIVE_Z,"TEXTURE_CUBE_MAP_NEGATIVE_Z"); - HX_MARK_MEMBER_NAME(GL_obj::MAX_CUBE_MAP_TEXTURE_SIZE,"MAX_CUBE_MAP_TEXTURE_SIZE"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE0,"TEXTURE0"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE1,"TEXTURE1"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE2,"TEXTURE2"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE3,"TEXTURE3"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE4,"TEXTURE4"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE5,"TEXTURE5"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE6,"TEXTURE6"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE7,"TEXTURE7"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE8,"TEXTURE8"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE9,"TEXTURE9"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE10,"TEXTURE10"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE11,"TEXTURE11"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE12,"TEXTURE12"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE13,"TEXTURE13"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE14,"TEXTURE14"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE15,"TEXTURE15"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE16,"TEXTURE16"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE17,"TEXTURE17"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE18,"TEXTURE18"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE19,"TEXTURE19"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE20,"TEXTURE20"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE21,"TEXTURE21"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE22,"TEXTURE22"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE23,"TEXTURE23"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE24,"TEXTURE24"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE25,"TEXTURE25"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE26,"TEXTURE26"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE27,"TEXTURE27"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE28,"TEXTURE28"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE29,"TEXTURE29"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE30,"TEXTURE30"); - HX_MARK_MEMBER_NAME(GL_obj::TEXTURE31,"TEXTURE31"); - HX_MARK_MEMBER_NAME(GL_obj::ACTIVE_TEXTURE,"ACTIVE_TEXTURE"); - HX_MARK_MEMBER_NAME(GL_obj::REPEAT,"REPEAT"); - HX_MARK_MEMBER_NAME(GL_obj::CLAMP_TO_EDGE,"CLAMP_TO_EDGE"); - HX_MARK_MEMBER_NAME(GL_obj::MIRRORED_REPEAT,"MIRRORED_REPEAT"); - HX_MARK_MEMBER_NAME(GL_obj::FLOAT_VEC2,"FLOAT_VEC2"); - HX_MARK_MEMBER_NAME(GL_obj::FLOAT_VEC3,"FLOAT_VEC3"); - HX_MARK_MEMBER_NAME(GL_obj::FLOAT_VEC4,"FLOAT_VEC4"); - HX_MARK_MEMBER_NAME(GL_obj::INT_VEC2,"INT_VEC2"); - HX_MARK_MEMBER_NAME(GL_obj::INT_VEC3,"INT_VEC3"); - HX_MARK_MEMBER_NAME(GL_obj::INT_VEC4,"INT_VEC4"); - HX_MARK_MEMBER_NAME(GL_obj::BOOL,"BOOL"); - HX_MARK_MEMBER_NAME(GL_obj::BOOL_VEC2,"BOOL_VEC2"); - HX_MARK_MEMBER_NAME(GL_obj::BOOL_VEC3,"BOOL_VEC3"); - HX_MARK_MEMBER_NAME(GL_obj::BOOL_VEC4,"BOOL_VEC4"); - HX_MARK_MEMBER_NAME(GL_obj::FLOAT_MAT2,"FLOAT_MAT2"); - HX_MARK_MEMBER_NAME(GL_obj::FLOAT_MAT3,"FLOAT_MAT3"); - HX_MARK_MEMBER_NAME(GL_obj::FLOAT_MAT4,"FLOAT_MAT4"); - HX_MARK_MEMBER_NAME(GL_obj::SAMPLER_2D,"SAMPLER_2D"); - HX_MARK_MEMBER_NAME(GL_obj::SAMPLER_CUBE,"SAMPLER_CUBE"); - HX_MARK_MEMBER_NAME(GL_obj::VERTEX_ATTRIB_ARRAY_ENABLED,"VERTEX_ATTRIB_ARRAY_ENABLED"); - HX_MARK_MEMBER_NAME(GL_obj::VERTEX_ATTRIB_ARRAY_SIZE,"VERTEX_ATTRIB_ARRAY_SIZE"); - HX_MARK_MEMBER_NAME(GL_obj::VERTEX_ATTRIB_ARRAY_STRIDE,"VERTEX_ATTRIB_ARRAY_STRIDE"); - HX_MARK_MEMBER_NAME(GL_obj::VERTEX_ATTRIB_ARRAY_TYPE,"VERTEX_ATTRIB_ARRAY_TYPE"); - HX_MARK_MEMBER_NAME(GL_obj::VERTEX_ATTRIB_ARRAY_NORMALIZED,"VERTEX_ATTRIB_ARRAY_NORMALIZED"); - HX_MARK_MEMBER_NAME(GL_obj::VERTEX_ATTRIB_ARRAY_POINTER,"VERTEX_ATTRIB_ARRAY_POINTER"); - HX_MARK_MEMBER_NAME(GL_obj::VERTEX_ATTRIB_ARRAY_BUFFER_BINDING,"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING"); - HX_MARK_MEMBER_NAME(GL_obj::COMPILE_STATUS,"COMPILE_STATUS"); - HX_MARK_MEMBER_NAME(GL_obj::LOW_FLOAT,"LOW_FLOAT"); - HX_MARK_MEMBER_NAME(GL_obj::MEDIUM_FLOAT,"MEDIUM_FLOAT"); - HX_MARK_MEMBER_NAME(GL_obj::HIGH_FLOAT,"HIGH_FLOAT"); - HX_MARK_MEMBER_NAME(GL_obj::LOW_INT,"LOW_INT"); - HX_MARK_MEMBER_NAME(GL_obj::MEDIUM_INT,"MEDIUM_INT"); - HX_MARK_MEMBER_NAME(GL_obj::HIGH_INT,"HIGH_INT"); - HX_MARK_MEMBER_NAME(GL_obj::FRAMEBUFFER,"FRAMEBUFFER"); - HX_MARK_MEMBER_NAME(GL_obj::RENDERBUFFER,"RENDERBUFFER"); - HX_MARK_MEMBER_NAME(GL_obj::RGBA4,"RGBA4"); - HX_MARK_MEMBER_NAME(GL_obj::RGB5_A1,"RGB5_A1"); - HX_MARK_MEMBER_NAME(GL_obj::RGB565,"RGB565"); - HX_MARK_MEMBER_NAME(GL_obj::DEPTH_COMPONENT16,"DEPTH_COMPONENT16"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_INDEX,"STENCIL_INDEX"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_INDEX8,"STENCIL_INDEX8"); - HX_MARK_MEMBER_NAME(GL_obj::DEPTH_STENCIL,"DEPTH_STENCIL"); - HX_MARK_MEMBER_NAME(GL_obj::RENDERBUFFER_WIDTH,"RENDERBUFFER_WIDTH"); - HX_MARK_MEMBER_NAME(GL_obj::RENDERBUFFER_HEIGHT,"RENDERBUFFER_HEIGHT"); - HX_MARK_MEMBER_NAME(GL_obj::RENDERBUFFER_INTERNAL_FORMAT,"RENDERBUFFER_INTERNAL_FORMAT"); - HX_MARK_MEMBER_NAME(GL_obj::RENDERBUFFER_RED_SIZE,"RENDERBUFFER_RED_SIZE"); - HX_MARK_MEMBER_NAME(GL_obj::RENDERBUFFER_GREEN_SIZE,"RENDERBUFFER_GREEN_SIZE"); - HX_MARK_MEMBER_NAME(GL_obj::RENDERBUFFER_BLUE_SIZE,"RENDERBUFFER_BLUE_SIZE"); - HX_MARK_MEMBER_NAME(GL_obj::RENDERBUFFER_ALPHA_SIZE,"RENDERBUFFER_ALPHA_SIZE"); - HX_MARK_MEMBER_NAME(GL_obj::RENDERBUFFER_DEPTH_SIZE,"RENDERBUFFER_DEPTH_SIZE"); - HX_MARK_MEMBER_NAME(GL_obj::RENDERBUFFER_STENCIL_SIZE,"RENDERBUFFER_STENCIL_SIZE"); - HX_MARK_MEMBER_NAME(GL_obj::FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE,"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE"); - HX_MARK_MEMBER_NAME(GL_obj::FRAMEBUFFER_ATTACHMENT_OBJECT_NAME,"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME"); - HX_MARK_MEMBER_NAME(GL_obj::FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL,"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL"); - HX_MARK_MEMBER_NAME(GL_obj::FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE,"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE"); - HX_MARK_MEMBER_NAME(GL_obj::COLOR_ATTACHMENT0,"COLOR_ATTACHMENT0"); - HX_MARK_MEMBER_NAME(GL_obj::DEPTH_ATTACHMENT,"DEPTH_ATTACHMENT"); - HX_MARK_MEMBER_NAME(GL_obj::STENCIL_ATTACHMENT,"STENCIL_ATTACHMENT"); - HX_MARK_MEMBER_NAME(GL_obj::DEPTH_STENCIL_ATTACHMENT,"DEPTH_STENCIL_ATTACHMENT"); - HX_MARK_MEMBER_NAME(GL_obj::NONE,"NONE"); - HX_MARK_MEMBER_NAME(GL_obj::FRAMEBUFFER_COMPLETE,"FRAMEBUFFER_COMPLETE"); - HX_MARK_MEMBER_NAME(GL_obj::FRAMEBUFFER_INCOMPLETE_ATTACHMENT,"FRAMEBUFFER_INCOMPLETE_ATTACHMENT"); - HX_MARK_MEMBER_NAME(GL_obj::FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT,"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"); - HX_MARK_MEMBER_NAME(GL_obj::FRAMEBUFFER_INCOMPLETE_DIMENSIONS,"FRAMEBUFFER_INCOMPLETE_DIMENSIONS"); - HX_MARK_MEMBER_NAME(GL_obj::FRAMEBUFFER_UNSUPPORTED,"FRAMEBUFFER_UNSUPPORTED"); - HX_MARK_MEMBER_NAME(GL_obj::FRAMEBUFFER_BINDING,"FRAMEBUFFER_BINDING"); - HX_MARK_MEMBER_NAME(GL_obj::RENDERBUFFER_BINDING,"RENDERBUFFER_BINDING"); - HX_MARK_MEMBER_NAME(GL_obj::MAX_RENDERBUFFER_SIZE,"MAX_RENDERBUFFER_SIZE"); - HX_MARK_MEMBER_NAME(GL_obj::INVALID_FRAMEBUFFER_OPERATION,"INVALID_FRAMEBUFFER_OPERATION"); - HX_MARK_MEMBER_NAME(GL_obj::UNPACK_FLIP_Y_WEBGL,"UNPACK_FLIP_Y_WEBGL"); - HX_MARK_MEMBER_NAME(GL_obj::UNPACK_PREMULTIPLY_ALPHA_WEBGL,"UNPACK_PREMULTIPLY_ALPHA_WEBGL"); - HX_MARK_MEMBER_NAME(GL_obj::CONTEXT_LOST_WEBGL,"CONTEXT_LOST_WEBGL"); - HX_MARK_MEMBER_NAME(GL_obj::UNPACK_COLORSPACE_CONVERSION_WEBGL,"UNPACK_COLORSPACE_CONVERSION_WEBGL"); - HX_MARK_MEMBER_NAME(GL_obj::BROWSER_DEFAULT_WEBGL,"BROWSER_DEFAULT_WEBGL"); - HX_MARK_MEMBER_NAME(GL_obj::drawingBufferHeight,"drawingBufferHeight"); - HX_MARK_MEMBER_NAME(GL_obj::drawingBufferWidth,"drawingBufferWidth"); - HX_MARK_MEMBER_NAME(GL_obj::version,"version"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_active_texture,"nme_gl_active_texture"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_attach_shader,"nme_gl_attach_shader"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_bind_attrib_location,"nme_gl_bind_attrib_location"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_bind_bitmap_data_texture,"nme_gl_bind_bitmap_data_texture"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_bind_buffer,"nme_gl_bind_buffer"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_bind_framebuffer,"nme_gl_bind_framebuffer"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_bind_renderbuffer,"nme_gl_bind_renderbuffer"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_bind_texture,"nme_gl_bind_texture"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_blend_color,"nme_gl_blend_color"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_blend_equation,"nme_gl_blend_equation"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_blend_equation_separate,"nme_gl_blend_equation_separate"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_blend_func,"nme_gl_blend_func"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_blend_func_separate,"nme_gl_blend_func_separate"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_buffer_data,"nme_gl_buffer_data"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_buffer_sub_data,"nme_gl_buffer_sub_data"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_check_framebuffer_status,"nme_gl_check_framebuffer_status"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_clear,"nme_gl_clear"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_clear_color,"nme_gl_clear_color"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_clear_depth,"nme_gl_clear_depth"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_clear_stencil,"nme_gl_clear_stencil"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_color_mask,"nme_gl_color_mask"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_compile_shader,"nme_gl_compile_shader"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_compressed_tex_image_2d,"nme_gl_compressed_tex_image_2d"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_compressed_tex_sub_image_2d,"nme_gl_compressed_tex_sub_image_2d"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_copy_tex_image_2d,"nme_gl_copy_tex_image_2d"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_copy_tex_sub_image_2d,"nme_gl_copy_tex_sub_image_2d"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_create_buffer,"nme_gl_create_buffer"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_create_framebuffer,"nme_gl_create_framebuffer"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_create_program,"nme_gl_create_program"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_create_render_buffer,"nme_gl_create_render_buffer"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_create_shader,"nme_gl_create_shader"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_create_texture,"nme_gl_create_texture"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_delete_buffer,"nme_gl_delete_buffer"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_delete_program,"nme_gl_delete_program"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_delete_shader,"nme_gl_delete_shader"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_delete_texture,"nme_gl_delete_texture"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_depth_func,"nme_gl_depth_func"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_depth_mask,"nme_gl_depth_mask"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_depth_range,"nme_gl_depth_range"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_detach_shader,"nme_gl_detach_shader"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_disable,"nme_gl_disable"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_disable_vertex_attrib_array,"nme_gl_disable_vertex_attrib_array"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_draw_arrays,"nme_gl_draw_arrays"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_draw_elements,"nme_gl_draw_elements"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_enable,"nme_gl_enable"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_enable_vertex_attrib_array,"nme_gl_enable_vertex_attrib_array"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_finish,"nme_gl_finish"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_flush,"nme_gl_flush"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_framebuffer_renderbuffer,"nme_gl_framebuffer_renderbuffer"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_framebuffer_texture2D,"nme_gl_framebuffer_texture2D"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_front_face,"nme_gl_front_face"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_generate_mipmap,"nme_gl_generate_mipmap"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_active_attrib,"nme_gl_get_active_attrib"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_active_uniform,"nme_gl_get_active_uniform"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_attrib_location,"nme_gl_get_attrib_location"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_buffer_paramerter,"nme_gl_get_buffer_paramerter"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_context_attributes,"nme_gl_get_context_attributes"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_error,"nme_gl_get_error"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_framebuffer_attachment_parameter,"nme_gl_get_framebuffer_attachment_parameter"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_parameter,"nme_gl_get_parameter"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_program_info_log,"nme_gl_get_program_info_log"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_program_parameter,"nme_gl_get_program_parameter"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_render_buffer_parameter,"nme_gl_get_render_buffer_parameter"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_shader_info_log,"nme_gl_get_shader_info_log"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_shader_parameter,"nme_gl_get_shader_parameter"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_shader_precision_format,"nme_gl_get_shader_precision_format"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_shader_source,"nme_gl_get_shader_source"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_supported_extensions,"nme_gl_get_supported_extensions"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_tex_parameter,"nme_gl_get_tex_parameter"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_uniform,"nme_gl_get_uniform"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_uniform_location,"nme_gl_get_uniform_location"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_vertex_attrib,"nme_gl_get_vertex_attrib"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_get_vertex_attrib_offset,"nme_gl_get_vertex_attrib_offset"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_hint,"nme_gl_hint"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_is_buffer,"nme_gl_is_buffer"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_is_enabled,"nme_gl_is_enabled"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_is_framebuffer,"nme_gl_is_framebuffer"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_is_program,"nme_gl_is_program"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_is_renderbuffer,"nme_gl_is_renderbuffer"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_is_shader,"nme_gl_is_shader"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_is_texture,"nme_gl_is_texture"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_line_width,"nme_gl_line_width"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_link_program,"nme_gl_link_program"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_pixel_storei,"nme_gl_pixel_storei"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_polygon_offset,"nme_gl_polygon_offset"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_renderbuffer_storage,"nme_gl_renderbuffer_storage"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_sample_coverage,"nme_gl_sample_coverage"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_scissor,"nme_gl_scissor"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_shader_source,"nme_gl_shader_source"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_stencil_func,"nme_gl_stencil_func"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_stencil_func_separate,"nme_gl_stencil_func_separate"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_stencil_mask,"nme_gl_stencil_mask"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_stencil_mask_separate,"nme_gl_stencil_mask_separate"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_stencil_op,"nme_gl_stencil_op"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_stencil_op_separate,"nme_gl_stencil_op_separate"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_tex_image_2d,"nme_gl_tex_image_2d"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_tex_parameterf,"nme_gl_tex_parameterf"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_tex_parameteri,"nme_gl_tex_parameteri"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_tex_sub_image_2d,"nme_gl_tex_sub_image_2d"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_uniform1f,"nme_gl_uniform1f"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_uniform1fv,"nme_gl_uniform1fv"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_uniform1i,"nme_gl_uniform1i"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_uniform1iv,"nme_gl_uniform1iv"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_uniform2f,"nme_gl_uniform2f"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_uniform2fv,"nme_gl_uniform2fv"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_uniform2i,"nme_gl_uniform2i"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_uniform2iv,"nme_gl_uniform2iv"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_uniform3f,"nme_gl_uniform3f"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_uniform3fv,"nme_gl_uniform3fv"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_uniform3i,"nme_gl_uniform3i"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_uniform3iv,"nme_gl_uniform3iv"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_uniform4f,"nme_gl_uniform4f"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_uniform4fv,"nme_gl_uniform4fv"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_uniform4i,"nme_gl_uniform4i"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_uniform4iv,"nme_gl_uniform4iv"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_uniform_matrix,"nme_gl_uniform_matrix"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_use_program,"nme_gl_use_program"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_validate_program,"nme_gl_validate_program"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_version,"nme_gl_version"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_vertex_attrib1f,"nme_gl_vertex_attrib1f"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_vertex_attrib1fv,"nme_gl_vertex_attrib1fv"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_vertex_attrib2f,"nme_gl_vertex_attrib2f"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_vertex_attrib2fv,"nme_gl_vertex_attrib2fv"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_vertex_attrib3f,"nme_gl_vertex_attrib3f"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_vertex_attrib3fv,"nme_gl_vertex_attrib3fv"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_vertex_attrib4f,"nme_gl_vertex_attrib4f"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_vertex_attrib4fv,"nme_gl_vertex_attrib4fv"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_vertex_attrib_pointer,"nme_gl_vertex_attrib_pointer"); - HX_MARK_MEMBER_NAME(GL_obj::nme_gl_viewport,"nme_gl_viewport"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GL_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(GL_obj::DEPTH_BUFFER_BIT,"DEPTH_BUFFER_BIT"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_BUFFER_BIT,"STENCIL_BUFFER_BIT"); - HX_VISIT_MEMBER_NAME(GL_obj::COLOR_BUFFER_BIT,"COLOR_BUFFER_BIT"); - HX_VISIT_MEMBER_NAME(GL_obj::POINTS,"POINTS"); - HX_VISIT_MEMBER_NAME(GL_obj::LINES,"LINES"); - HX_VISIT_MEMBER_NAME(GL_obj::LINE_LOOP,"LINE_LOOP"); - HX_VISIT_MEMBER_NAME(GL_obj::LINE_STRIP,"LINE_STRIP"); - HX_VISIT_MEMBER_NAME(GL_obj::TRIANGLES,"TRIANGLES"); - HX_VISIT_MEMBER_NAME(GL_obj::TRIANGLE_STRIP,"TRIANGLE_STRIP"); - HX_VISIT_MEMBER_NAME(GL_obj::TRIANGLE_FAN,"TRIANGLE_FAN"); - HX_VISIT_MEMBER_NAME(GL_obj::ZERO,"ZERO"); - HX_VISIT_MEMBER_NAME(GL_obj::ONE,"ONE"); - HX_VISIT_MEMBER_NAME(GL_obj::SRC_COLOR,"SRC_COLOR"); - HX_VISIT_MEMBER_NAME(GL_obj::ONE_MINUS_SRC_COLOR,"ONE_MINUS_SRC_COLOR"); - HX_VISIT_MEMBER_NAME(GL_obj::SRC_ALPHA,"SRC_ALPHA"); - HX_VISIT_MEMBER_NAME(GL_obj::ONE_MINUS_SRC_ALPHA,"ONE_MINUS_SRC_ALPHA"); - HX_VISIT_MEMBER_NAME(GL_obj::DST_ALPHA,"DST_ALPHA"); - HX_VISIT_MEMBER_NAME(GL_obj::ONE_MINUS_DST_ALPHA,"ONE_MINUS_DST_ALPHA"); - HX_VISIT_MEMBER_NAME(GL_obj::DST_COLOR,"DST_COLOR"); - HX_VISIT_MEMBER_NAME(GL_obj::ONE_MINUS_DST_COLOR,"ONE_MINUS_DST_COLOR"); - HX_VISIT_MEMBER_NAME(GL_obj::SRC_ALPHA_SATURATE,"SRC_ALPHA_SATURATE"); - HX_VISIT_MEMBER_NAME(GL_obj::FUNC_ADD,"FUNC_ADD"); - HX_VISIT_MEMBER_NAME(GL_obj::BLEND_EQUATION,"BLEND_EQUATION"); - HX_VISIT_MEMBER_NAME(GL_obj::BLEND_EQUATION_RGB,"BLEND_EQUATION_RGB"); - HX_VISIT_MEMBER_NAME(GL_obj::BLEND_EQUATION_ALPHA,"BLEND_EQUATION_ALPHA"); - HX_VISIT_MEMBER_NAME(GL_obj::FUNC_SUBTRACT,"FUNC_SUBTRACT"); - HX_VISIT_MEMBER_NAME(GL_obj::FUNC_REVERSE_SUBTRACT,"FUNC_REVERSE_SUBTRACT"); - HX_VISIT_MEMBER_NAME(GL_obj::BLEND_DST_RGB,"BLEND_DST_RGB"); - HX_VISIT_MEMBER_NAME(GL_obj::BLEND_SRC_RGB,"BLEND_SRC_RGB"); - HX_VISIT_MEMBER_NAME(GL_obj::BLEND_DST_ALPHA,"BLEND_DST_ALPHA"); - HX_VISIT_MEMBER_NAME(GL_obj::BLEND_SRC_ALPHA,"BLEND_SRC_ALPHA"); - HX_VISIT_MEMBER_NAME(GL_obj::CONSTANT_COLOR,"CONSTANT_COLOR"); - HX_VISIT_MEMBER_NAME(GL_obj::ONE_MINUS_CONSTANT_COLOR,"ONE_MINUS_CONSTANT_COLOR"); - HX_VISIT_MEMBER_NAME(GL_obj::CONSTANT_ALPHA,"CONSTANT_ALPHA"); - HX_VISIT_MEMBER_NAME(GL_obj::ONE_MINUS_CONSTANT_ALPHA,"ONE_MINUS_CONSTANT_ALPHA"); - HX_VISIT_MEMBER_NAME(GL_obj::BLEND_COLOR,"BLEND_COLOR"); - HX_VISIT_MEMBER_NAME(GL_obj::ARRAY_BUFFER,"ARRAY_BUFFER"); - HX_VISIT_MEMBER_NAME(GL_obj::ELEMENT_ARRAY_BUFFER,"ELEMENT_ARRAY_BUFFER"); - HX_VISIT_MEMBER_NAME(GL_obj::ARRAY_BUFFER_BINDING,"ARRAY_BUFFER_BINDING"); - HX_VISIT_MEMBER_NAME(GL_obj::ELEMENT_ARRAY_BUFFER_BINDING,"ELEMENT_ARRAY_BUFFER_BINDING"); - HX_VISIT_MEMBER_NAME(GL_obj::STREAM_DRAW,"STREAM_DRAW"); - HX_VISIT_MEMBER_NAME(GL_obj::STATIC_DRAW,"STATIC_DRAW"); - HX_VISIT_MEMBER_NAME(GL_obj::DYNAMIC_DRAW,"DYNAMIC_DRAW"); - HX_VISIT_MEMBER_NAME(GL_obj::BUFFER_SIZE,"BUFFER_SIZE"); - HX_VISIT_MEMBER_NAME(GL_obj::BUFFER_USAGE,"BUFFER_USAGE"); - HX_VISIT_MEMBER_NAME(GL_obj::CURRENT_VERTEX_ATTRIB,"CURRENT_VERTEX_ATTRIB"); - HX_VISIT_MEMBER_NAME(GL_obj::FRONT,"FRONT"); - HX_VISIT_MEMBER_NAME(GL_obj::BACK,"BACK"); - HX_VISIT_MEMBER_NAME(GL_obj::FRONT_AND_BACK,"FRONT_AND_BACK"); - HX_VISIT_MEMBER_NAME(GL_obj::CULL_FACE,"CULL_FACE"); - HX_VISIT_MEMBER_NAME(GL_obj::BLEND,"BLEND"); - HX_VISIT_MEMBER_NAME(GL_obj::DITHER,"DITHER"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_TEST,"STENCIL_TEST"); - HX_VISIT_MEMBER_NAME(GL_obj::DEPTH_TEST,"DEPTH_TEST"); - HX_VISIT_MEMBER_NAME(GL_obj::SCISSOR_TEST,"SCISSOR_TEST"); - HX_VISIT_MEMBER_NAME(GL_obj::POLYGON_OFFSET_FILL,"POLYGON_OFFSET_FILL"); - HX_VISIT_MEMBER_NAME(GL_obj::SAMPLE_ALPHA_TO_COVERAGE,"SAMPLE_ALPHA_TO_COVERAGE"); - HX_VISIT_MEMBER_NAME(GL_obj::SAMPLE_COVERAGE,"SAMPLE_COVERAGE"); - HX_VISIT_MEMBER_NAME(GL_obj::NO_ERROR,"NO_ERROR"); - HX_VISIT_MEMBER_NAME(GL_obj::INVALID_ENUM,"INVALID_ENUM"); - HX_VISIT_MEMBER_NAME(GL_obj::INVALID_VALUE,"INVALID_VALUE"); - HX_VISIT_MEMBER_NAME(GL_obj::INVALID_OPERATION,"INVALID_OPERATION"); - HX_VISIT_MEMBER_NAME(GL_obj::OUT_OF_MEMORY,"OUT_OF_MEMORY"); - HX_VISIT_MEMBER_NAME(GL_obj::CW,"CW"); - HX_VISIT_MEMBER_NAME(GL_obj::CCW,"CCW"); - HX_VISIT_MEMBER_NAME(GL_obj::LINE_WIDTH,"LINE_WIDTH"); - HX_VISIT_MEMBER_NAME(GL_obj::ALIASED_POINT_SIZE_RANGE,"ALIASED_POINT_SIZE_RANGE"); - HX_VISIT_MEMBER_NAME(GL_obj::ALIASED_LINE_WIDTH_RANGE,"ALIASED_LINE_WIDTH_RANGE"); - HX_VISIT_MEMBER_NAME(GL_obj::CULL_FACE_MODE,"CULL_FACE_MODE"); - HX_VISIT_MEMBER_NAME(GL_obj::FRONT_FACE,"FRONT_FACE"); - HX_VISIT_MEMBER_NAME(GL_obj::DEPTH_RANGE,"DEPTH_RANGE"); - HX_VISIT_MEMBER_NAME(GL_obj::DEPTH_WRITEMASK,"DEPTH_WRITEMASK"); - HX_VISIT_MEMBER_NAME(GL_obj::DEPTH_CLEAR_VALUE,"DEPTH_CLEAR_VALUE"); - HX_VISIT_MEMBER_NAME(GL_obj::DEPTH_FUNC,"DEPTH_FUNC"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_CLEAR_VALUE,"STENCIL_CLEAR_VALUE"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_FUNC,"STENCIL_FUNC"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_FAIL,"STENCIL_FAIL"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_PASS_DEPTH_FAIL,"STENCIL_PASS_DEPTH_FAIL"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_PASS_DEPTH_PASS,"STENCIL_PASS_DEPTH_PASS"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_REF,"STENCIL_REF"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_VALUE_MASK,"STENCIL_VALUE_MASK"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_WRITEMASK,"STENCIL_WRITEMASK"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_BACK_FUNC,"STENCIL_BACK_FUNC"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_BACK_FAIL,"STENCIL_BACK_FAIL"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_BACK_PASS_DEPTH_FAIL,"STENCIL_BACK_PASS_DEPTH_FAIL"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_BACK_PASS_DEPTH_PASS,"STENCIL_BACK_PASS_DEPTH_PASS"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_BACK_REF,"STENCIL_BACK_REF"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_BACK_VALUE_MASK,"STENCIL_BACK_VALUE_MASK"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_BACK_WRITEMASK,"STENCIL_BACK_WRITEMASK"); - HX_VISIT_MEMBER_NAME(GL_obj::VIEWPORT,"VIEWPORT"); - HX_VISIT_MEMBER_NAME(GL_obj::SCISSOR_BOX,"SCISSOR_BOX"); - HX_VISIT_MEMBER_NAME(GL_obj::COLOR_CLEAR_VALUE,"COLOR_CLEAR_VALUE"); - HX_VISIT_MEMBER_NAME(GL_obj::COLOR_WRITEMASK,"COLOR_WRITEMASK"); - HX_VISIT_MEMBER_NAME(GL_obj::UNPACK_ALIGNMENT,"UNPACK_ALIGNMENT"); - HX_VISIT_MEMBER_NAME(GL_obj::PACK_ALIGNMENT,"PACK_ALIGNMENT"); - HX_VISIT_MEMBER_NAME(GL_obj::MAX_TEXTURE_SIZE,"MAX_TEXTURE_SIZE"); - HX_VISIT_MEMBER_NAME(GL_obj::MAX_VIEWPORT_DIMS,"MAX_VIEWPORT_DIMS"); - HX_VISIT_MEMBER_NAME(GL_obj::SUBPIXEL_BITS,"SUBPIXEL_BITS"); - HX_VISIT_MEMBER_NAME(GL_obj::RED_BITS,"RED_BITS"); - HX_VISIT_MEMBER_NAME(GL_obj::GREEN_BITS,"GREEN_BITS"); - HX_VISIT_MEMBER_NAME(GL_obj::BLUE_BITS,"BLUE_BITS"); - HX_VISIT_MEMBER_NAME(GL_obj::ALPHA_BITS,"ALPHA_BITS"); - HX_VISIT_MEMBER_NAME(GL_obj::DEPTH_BITS,"DEPTH_BITS"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_BITS,"STENCIL_BITS"); - HX_VISIT_MEMBER_NAME(GL_obj::POLYGON_OFFSET_UNITS,"POLYGON_OFFSET_UNITS"); - HX_VISIT_MEMBER_NAME(GL_obj::POLYGON_OFFSET_FACTOR,"POLYGON_OFFSET_FACTOR"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE_BINDING_2D,"TEXTURE_BINDING_2D"); - HX_VISIT_MEMBER_NAME(GL_obj::SAMPLE_BUFFERS,"SAMPLE_BUFFERS"); - HX_VISIT_MEMBER_NAME(GL_obj::SAMPLES,"SAMPLES"); - HX_VISIT_MEMBER_NAME(GL_obj::SAMPLE_COVERAGE_VALUE,"SAMPLE_COVERAGE_VALUE"); - HX_VISIT_MEMBER_NAME(GL_obj::SAMPLE_COVERAGE_INVERT,"SAMPLE_COVERAGE_INVERT"); - HX_VISIT_MEMBER_NAME(GL_obj::COMPRESSED_TEXTURE_FORMATS,"COMPRESSED_TEXTURE_FORMATS"); - HX_VISIT_MEMBER_NAME(GL_obj::DONT_CARE,"DONT_CARE"); - HX_VISIT_MEMBER_NAME(GL_obj::FASTEST,"FASTEST"); - HX_VISIT_MEMBER_NAME(GL_obj::NICEST,"NICEST"); - HX_VISIT_MEMBER_NAME(GL_obj::GENERATE_MIPMAP_HINT,"GENERATE_MIPMAP_HINT"); - HX_VISIT_MEMBER_NAME(GL_obj::BYTE,"BYTE"); - HX_VISIT_MEMBER_NAME(GL_obj::UNSIGNED_BYTE,"UNSIGNED_BYTE"); - HX_VISIT_MEMBER_NAME(GL_obj::SHORT,"SHORT"); - HX_VISIT_MEMBER_NAME(GL_obj::UNSIGNED_SHORT,"UNSIGNED_SHORT"); - HX_VISIT_MEMBER_NAME(GL_obj::INT,"INT"); - HX_VISIT_MEMBER_NAME(GL_obj::UNSIGNED_INT,"UNSIGNED_INT"); - HX_VISIT_MEMBER_NAME(GL_obj::FLOAT,"FLOAT"); - HX_VISIT_MEMBER_NAME(GL_obj::DEPTH_COMPONENT,"DEPTH_COMPONENT"); - HX_VISIT_MEMBER_NAME(GL_obj::ALPHA,"ALPHA"); - HX_VISIT_MEMBER_NAME(GL_obj::RGB,"RGB"); - HX_VISIT_MEMBER_NAME(GL_obj::RGBA,"RGBA"); - HX_VISIT_MEMBER_NAME(GL_obj::LUMINANCE,"LUMINANCE"); - HX_VISIT_MEMBER_NAME(GL_obj::LUMINANCE_ALPHA,"LUMINANCE_ALPHA"); - HX_VISIT_MEMBER_NAME(GL_obj::UNSIGNED_SHORT_4_4_4_4,"UNSIGNED_SHORT_4_4_4_4"); - HX_VISIT_MEMBER_NAME(GL_obj::UNSIGNED_SHORT_5_5_5_1,"UNSIGNED_SHORT_5_5_5_1"); - HX_VISIT_MEMBER_NAME(GL_obj::UNSIGNED_SHORT_5_6_5,"UNSIGNED_SHORT_5_6_5"); - HX_VISIT_MEMBER_NAME(GL_obj::FRAGMENT_SHADER,"FRAGMENT_SHADER"); - HX_VISIT_MEMBER_NAME(GL_obj::VERTEX_SHADER,"VERTEX_SHADER"); - HX_VISIT_MEMBER_NAME(GL_obj::MAX_VERTEX_ATTRIBS,"MAX_VERTEX_ATTRIBS"); - HX_VISIT_MEMBER_NAME(GL_obj::MAX_VERTEX_UNIFORM_VECTORS,"MAX_VERTEX_UNIFORM_VECTORS"); - HX_VISIT_MEMBER_NAME(GL_obj::MAX_VARYING_VECTORS,"MAX_VARYING_VECTORS"); - HX_VISIT_MEMBER_NAME(GL_obj::MAX_COMBINED_TEXTURE_IMAGE_UNITS,"MAX_COMBINED_TEXTURE_IMAGE_UNITS"); - HX_VISIT_MEMBER_NAME(GL_obj::MAX_VERTEX_TEXTURE_IMAGE_UNITS,"MAX_VERTEX_TEXTURE_IMAGE_UNITS"); - HX_VISIT_MEMBER_NAME(GL_obj::MAX_TEXTURE_IMAGE_UNITS,"MAX_TEXTURE_IMAGE_UNITS"); - HX_VISIT_MEMBER_NAME(GL_obj::MAX_FRAGMENT_UNIFORM_VECTORS,"MAX_FRAGMENT_UNIFORM_VECTORS"); - HX_VISIT_MEMBER_NAME(GL_obj::SHADER_TYPE,"SHADER_TYPE"); - HX_VISIT_MEMBER_NAME(GL_obj::DELETE_STATUS,"DELETE_STATUS"); - HX_VISIT_MEMBER_NAME(GL_obj::LINK_STATUS,"LINK_STATUS"); - HX_VISIT_MEMBER_NAME(GL_obj::VALIDATE_STATUS,"VALIDATE_STATUS"); - HX_VISIT_MEMBER_NAME(GL_obj::ATTACHED_SHADERS,"ATTACHED_SHADERS"); - HX_VISIT_MEMBER_NAME(GL_obj::ACTIVE_UNIFORMS,"ACTIVE_UNIFORMS"); - HX_VISIT_MEMBER_NAME(GL_obj::ACTIVE_ATTRIBUTES,"ACTIVE_ATTRIBUTES"); - HX_VISIT_MEMBER_NAME(GL_obj::SHADING_LANGUAGE_VERSION,"SHADING_LANGUAGE_VERSION"); - HX_VISIT_MEMBER_NAME(GL_obj::CURRENT_PROGRAM,"CURRENT_PROGRAM"); - HX_VISIT_MEMBER_NAME(GL_obj::NEVER,"NEVER"); - HX_VISIT_MEMBER_NAME(GL_obj::LESS,"LESS"); - HX_VISIT_MEMBER_NAME(GL_obj::EQUAL,"EQUAL"); - HX_VISIT_MEMBER_NAME(GL_obj::LEQUAL,"LEQUAL"); - HX_VISIT_MEMBER_NAME(GL_obj::GREATER,"GREATER"); - HX_VISIT_MEMBER_NAME(GL_obj::NOTEQUAL,"NOTEQUAL"); - HX_VISIT_MEMBER_NAME(GL_obj::GEQUAL,"GEQUAL"); - HX_VISIT_MEMBER_NAME(GL_obj::ALWAYS,"ALWAYS"); - HX_VISIT_MEMBER_NAME(GL_obj::KEEP,"KEEP"); - HX_VISIT_MEMBER_NAME(GL_obj::REPLACE,"REPLACE"); - HX_VISIT_MEMBER_NAME(GL_obj::INCR,"INCR"); - HX_VISIT_MEMBER_NAME(GL_obj::DECR,"DECR"); - HX_VISIT_MEMBER_NAME(GL_obj::INVERT,"INVERT"); - HX_VISIT_MEMBER_NAME(GL_obj::INCR_WRAP,"INCR_WRAP"); - HX_VISIT_MEMBER_NAME(GL_obj::DECR_WRAP,"DECR_WRAP"); - HX_VISIT_MEMBER_NAME(GL_obj::VENDOR,"VENDOR"); - HX_VISIT_MEMBER_NAME(GL_obj::RENDERER,"RENDERER"); - HX_VISIT_MEMBER_NAME(GL_obj::VERSION,"VERSION"); - HX_VISIT_MEMBER_NAME(GL_obj::NEAREST,"NEAREST"); - HX_VISIT_MEMBER_NAME(GL_obj::LINEAR,"LINEAR"); - HX_VISIT_MEMBER_NAME(GL_obj::NEAREST_MIPMAP_NEAREST,"NEAREST_MIPMAP_NEAREST"); - HX_VISIT_MEMBER_NAME(GL_obj::LINEAR_MIPMAP_NEAREST,"LINEAR_MIPMAP_NEAREST"); - HX_VISIT_MEMBER_NAME(GL_obj::NEAREST_MIPMAP_LINEAR,"NEAREST_MIPMAP_LINEAR"); - HX_VISIT_MEMBER_NAME(GL_obj::LINEAR_MIPMAP_LINEAR,"LINEAR_MIPMAP_LINEAR"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE_MAG_FILTER,"TEXTURE_MAG_FILTER"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE_MIN_FILTER,"TEXTURE_MIN_FILTER"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE_WRAP_S,"TEXTURE_WRAP_S"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE_WRAP_T,"TEXTURE_WRAP_T"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE_2D,"TEXTURE_2D"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE,"TEXTURE"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE_CUBE_MAP,"TEXTURE_CUBE_MAP"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE_BINDING_CUBE_MAP,"TEXTURE_BINDING_CUBE_MAP"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE_CUBE_MAP_POSITIVE_X,"TEXTURE_CUBE_MAP_POSITIVE_X"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE_CUBE_MAP_NEGATIVE_X,"TEXTURE_CUBE_MAP_NEGATIVE_X"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE_CUBE_MAP_POSITIVE_Y,"TEXTURE_CUBE_MAP_POSITIVE_Y"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE_CUBE_MAP_NEGATIVE_Y,"TEXTURE_CUBE_MAP_NEGATIVE_Y"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE_CUBE_MAP_POSITIVE_Z,"TEXTURE_CUBE_MAP_POSITIVE_Z"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE_CUBE_MAP_NEGATIVE_Z,"TEXTURE_CUBE_MAP_NEGATIVE_Z"); - HX_VISIT_MEMBER_NAME(GL_obj::MAX_CUBE_MAP_TEXTURE_SIZE,"MAX_CUBE_MAP_TEXTURE_SIZE"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE0,"TEXTURE0"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE1,"TEXTURE1"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE2,"TEXTURE2"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE3,"TEXTURE3"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE4,"TEXTURE4"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE5,"TEXTURE5"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE6,"TEXTURE6"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE7,"TEXTURE7"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE8,"TEXTURE8"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE9,"TEXTURE9"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE10,"TEXTURE10"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE11,"TEXTURE11"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE12,"TEXTURE12"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE13,"TEXTURE13"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE14,"TEXTURE14"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE15,"TEXTURE15"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE16,"TEXTURE16"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE17,"TEXTURE17"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE18,"TEXTURE18"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE19,"TEXTURE19"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE20,"TEXTURE20"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE21,"TEXTURE21"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE22,"TEXTURE22"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE23,"TEXTURE23"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE24,"TEXTURE24"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE25,"TEXTURE25"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE26,"TEXTURE26"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE27,"TEXTURE27"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE28,"TEXTURE28"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE29,"TEXTURE29"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE30,"TEXTURE30"); - HX_VISIT_MEMBER_NAME(GL_obj::TEXTURE31,"TEXTURE31"); - HX_VISIT_MEMBER_NAME(GL_obj::ACTIVE_TEXTURE,"ACTIVE_TEXTURE"); - HX_VISIT_MEMBER_NAME(GL_obj::REPEAT,"REPEAT"); - HX_VISIT_MEMBER_NAME(GL_obj::CLAMP_TO_EDGE,"CLAMP_TO_EDGE"); - HX_VISIT_MEMBER_NAME(GL_obj::MIRRORED_REPEAT,"MIRRORED_REPEAT"); - HX_VISIT_MEMBER_NAME(GL_obj::FLOAT_VEC2,"FLOAT_VEC2"); - HX_VISIT_MEMBER_NAME(GL_obj::FLOAT_VEC3,"FLOAT_VEC3"); - HX_VISIT_MEMBER_NAME(GL_obj::FLOAT_VEC4,"FLOAT_VEC4"); - HX_VISIT_MEMBER_NAME(GL_obj::INT_VEC2,"INT_VEC2"); - HX_VISIT_MEMBER_NAME(GL_obj::INT_VEC3,"INT_VEC3"); - HX_VISIT_MEMBER_NAME(GL_obj::INT_VEC4,"INT_VEC4"); - HX_VISIT_MEMBER_NAME(GL_obj::BOOL,"BOOL"); - HX_VISIT_MEMBER_NAME(GL_obj::BOOL_VEC2,"BOOL_VEC2"); - HX_VISIT_MEMBER_NAME(GL_obj::BOOL_VEC3,"BOOL_VEC3"); - HX_VISIT_MEMBER_NAME(GL_obj::BOOL_VEC4,"BOOL_VEC4"); - HX_VISIT_MEMBER_NAME(GL_obj::FLOAT_MAT2,"FLOAT_MAT2"); - HX_VISIT_MEMBER_NAME(GL_obj::FLOAT_MAT3,"FLOAT_MAT3"); - HX_VISIT_MEMBER_NAME(GL_obj::FLOAT_MAT4,"FLOAT_MAT4"); - HX_VISIT_MEMBER_NAME(GL_obj::SAMPLER_2D,"SAMPLER_2D"); - HX_VISIT_MEMBER_NAME(GL_obj::SAMPLER_CUBE,"SAMPLER_CUBE"); - HX_VISIT_MEMBER_NAME(GL_obj::VERTEX_ATTRIB_ARRAY_ENABLED,"VERTEX_ATTRIB_ARRAY_ENABLED"); - HX_VISIT_MEMBER_NAME(GL_obj::VERTEX_ATTRIB_ARRAY_SIZE,"VERTEX_ATTRIB_ARRAY_SIZE"); - HX_VISIT_MEMBER_NAME(GL_obj::VERTEX_ATTRIB_ARRAY_STRIDE,"VERTEX_ATTRIB_ARRAY_STRIDE"); - HX_VISIT_MEMBER_NAME(GL_obj::VERTEX_ATTRIB_ARRAY_TYPE,"VERTEX_ATTRIB_ARRAY_TYPE"); - HX_VISIT_MEMBER_NAME(GL_obj::VERTEX_ATTRIB_ARRAY_NORMALIZED,"VERTEX_ATTRIB_ARRAY_NORMALIZED"); - HX_VISIT_MEMBER_NAME(GL_obj::VERTEX_ATTRIB_ARRAY_POINTER,"VERTEX_ATTRIB_ARRAY_POINTER"); - HX_VISIT_MEMBER_NAME(GL_obj::VERTEX_ATTRIB_ARRAY_BUFFER_BINDING,"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING"); - HX_VISIT_MEMBER_NAME(GL_obj::COMPILE_STATUS,"COMPILE_STATUS"); - HX_VISIT_MEMBER_NAME(GL_obj::LOW_FLOAT,"LOW_FLOAT"); - HX_VISIT_MEMBER_NAME(GL_obj::MEDIUM_FLOAT,"MEDIUM_FLOAT"); - HX_VISIT_MEMBER_NAME(GL_obj::HIGH_FLOAT,"HIGH_FLOAT"); - HX_VISIT_MEMBER_NAME(GL_obj::LOW_INT,"LOW_INT"); - HX_VISIT_MEMBER_NAME(GL_obj::MEDIUM_INT,"MEDIUM_INT"); - HX_VISIT_MEMBER_NAME(GL_obj::HIGH_INT,"HIGH_INT"); - HX_VISIT_MEMBER_NAME(GL_obj::FRAMEBUFFER,"FRAMEBUFFER"); - HX_VISIT_MEMBER_NAME(GL_obj::RENDERBUFFER,"RENDERBUFFER"); - HX_VISIT_MEMBER_NAME(GL_obj::RGBA4,"RGBA4"); - HX_VISIT_MEMBER_NAME(GL_obj::RGB5_A1,"RGB5_A1"); - HX_VISIT_MEMBER_NAME(GL_obj::RGB565,"RGB565"); - HX_VISIT_MEMBER_NAME(GL_obj::DEPTH_COMPONENT16,"DEPTH_COMPONENT16"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_INDEX,"STENCIL_INDEX"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_INDEX8,"STENCIL_INDEX8"); - HX_VISIT_MEMBER_NAME(GL_obj::DEPTH_STENCIL,"DEPTH_STENCIL"); - HX_VISIT_MEMBER_NAME(GL_obj::RENDERBUFFER_WIDTH,"RENDERBUFFER_WIDTH"); - HX_VISIT_MEMBER_NAME(GL_obj::RENDERBUFFER_HEIGHT,"RENDERBUFFER_HEIGHT"); - HX_VISIT_MEMBER_NAME(GL_obj::RENDERBUFFER_INTERNAL_FORMAT,"RENDERBUFFER_INTERNAL_FORMAT"); - HX_VISIT_MEMBER_NAME(GL_obj::RENDERBUFFER_RED_SIZE,"RENDERBUFFER_RED_SIZE"); - HX_VISIT_MEMBER_NAME(GL_obj::RENDERBUFFER_GREEN_SIZE,"RENDERBUFFER_GREEN_SIZE"); - HX_VISIT_MEMBER_NAME(GL_obj::RENDERBUFFER_BLUE_SIZE,"RENDERBUFFER_BLUE_SIZE"); - HX_VISIT_MEMBER_NAME(GL_obj::RENDERBUFFER_ALPHA_SIZE,"RENDERBUFFER_ALPHA_SIZE"); - HX_VISIT_MEMBER_NAME(GL_obj::RENDERBUFFER_DEPTH_SIZE,"RENDERBUFFER_DEPTH_SIZE"); - HX_VISIT_MEMBER_NAME(GL_obj::RENDERBUFFER_STENCIL_SIZE,"RENDERBUFFER_STENCIL_SIZE"); - HX_VISIT_MEMBER_NAME(GL_obj::FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE,"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE"); - HX_VISIT_MEMBER_NAME(GL_obj::FRAMEBUFFER_ATTACHMENT_OBJECT_NAME,"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME"); - HX_VISIT_MEMBER_NAME(GL_obj::FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL,"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL"); - HX_VISIT_MEMBER_NAME(GL_obj::FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE,"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE"); - HX_VISIT_MEMBER_NAME(GL_obj::COLOR_ATTACHMENT0,"COLOR_ATTACHMENT0"); - HX_VISIT_MEMBER_NAME(GL_obj::DEPTH_ATTACHMENT,"DEPTH_ATTACHMENT"); - HX_VISIT_MEMBER_NAME(GL_obj::STENCIL_ATTACHMENT,"STENCIL_ATTACHMENT"); - HX_VISIT_MEMBER_NAME(GL_obj::DEPTH_STENCIL_ATTACHMENT,"DEPTH_STENCIL_ATTACHMENT"); - HX_VISIT_MEMBER_NAME(GL_obj::NONE,"NONE"); - HX_VISIT_MEMBER_NAME(GL_obj::FRAMEBUFFER_COMPLETE,"FRAMEBUFFER_COMPLETE"); - HX_VISIT_MEMBER_NAME(GL_obj::FRAMEBUFFER_INCOMPLETE_ATTACHMENT,"FRAMEBUFFER_INCOMPLETE_ATTACHMENT"); - HX_VISIT_MEMBER_NAME(GL_obj::FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT,"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"); - HX_VISIT_MEMBER_NAME(GL_obj::FRAMEBUFFER_INCOMPLETE_DIMENSIONS,"FRAMEBUFFER_INCOMPLETE_DIMENSIONS"); - HX_VISIT_MEMBER_NAME(GL_obj::FRAMEBUFFER_UNSUPPORTED,"FRAMEBUFFER_UNSUPPORTED"); - HX_VISIT_MEMBER_NAME(GL_obj::FRAMEBUFFER_BINDING,"FRAMEBUFFER_BINDING"); - HX_VISIT_MEMBER_NAME(GL_obj::RENDERBUFFER_BINDING,"RENDERBUFFER_BINDING"); - HX_VISIT_MEMBER_NAME(GL_obj::MAX_RENDERBUFFER_SIZE,"MAX_RENDERBUFFER_SIZE"); - HX_VISIT_MEMBER_NAME(GL_obj::INVALID_FRAMEBUFFER_OPERATION,"INVALID_FRAMEBUFFER_OPERATION"); - HX_VISIT_MEMBER_NAME(GL_obj::UNPACK_FLIP_Y_WEBGL,"UNPACK_FLIP_Y_WEBGL"); - HX_VISIT_MEMBER_NAME(GL_obj::UNPACK_PREMULTIPLY_ALPHA_WEBGL,"UNPACK_PREMULTIPLY_ALPHA_WEBGL"); - HX_VISIT_MEMBER_NAME(GL_obj::CONTEXT_LOST_WEBGL,"CONTEXT_LOST_WEBGL"); - HX_VISIT_MEMBER_NAME(GL_obj::UNPACK_COLORSPACE_CONVERSION_WEBGL,"UNPACK_COLORSPACE_CONVERSION_WEBGL"); - HX_VISIT_MEMBER_NAME(GL_obj::BROWSER_DEFAULT_WEBGL,"BROWSER_DEFAULT_WEBGL"); - HX_VISIT_MEMBER_NAME(GL_obj::drawingBufferHeight,"drawingBufferHeight"); - HX_VISIT_MEMBER_NAME(GL_obj::drawingBufferWidth,"drawingBufferWidth"); - HX_VISIT_MEMBER_NAME(GL_obj::version,"version"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_active_texture,"nme_gl_active_texture"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_attach_shader,"nme_gl_attach_shader"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_bind_attrib_location,"nme_gl_bind_attrib_location"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_bind_bitmap_data_texture,"nme_gl_bind_bitmap_data_texture"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_bind_buffer,"nme_gl_bind_buffer"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_bind_framebuffer,"nme_gl_bind_framebuffer"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_bind_renderbuffer,"nme_gl_bind_renderbuffer"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_bind_texture,"nme_gl_bind_texture"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_blend_color,"nme_gl_blend_color"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_blend_equation,"nme_gl_blend_equation"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_blend_equation_separate,"nme_gl_blend_equation_separate"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_blend_func,"nme_gl_blend_func"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_blend_func_separate,"nme_gl_blend_func_separate"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_buffer_data,"nme_gl_buffer_data"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_buffer_sub_data,"nme_gl_buffer_sub_data"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_check_framebuffer_status,"nme_gl_check_framebuffer_status"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_clear,"nme_gl_clear"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_clear_color,"nme_gl_clear_color"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_clear_depth,"nme_gl_clear_depth"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_clear_stencil,"nme_gl_clear_stencil"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_color_mask,"nme_gl_color_mask"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_compile_shader,"nme_gl_compile_shader"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_compressed_tex_image_2d,"nme_gl_compressed_tex_image_2d"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_compressed_tex_sub_image_2d,"nme_gl_compressed_tex_sub_image_2d"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_copy_tex_image_2d,"nme_gl_copy_tex_image_2d"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_copy_tex_sub_image_2d,"nme_gl_copy_tex_sub_image_2d"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_create_buffer,"nme_gl_create_buffer"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_create_framebuffer,"nme_gl_create_framebuffer"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_create_program,"nme_gl_create_program"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_create_render_buffer,"nme_gl_create_render_buffer"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_create_shader,"nme_gl_create_shader"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_create_texture,"nme_gl_create_texture"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_delete_buffer,"nme_gl_delete_buffer"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_delete_program,"nme_gl_delete_program"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_delete_shader,"nme_gl_delete_shader"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_delete_texture,"nme_gl_delete_texture"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_depth_func,"nme_gl_depth_func"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_depth_mask,"nme_gl_depth_mask"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_depth_range,"nme_gl_depth_range"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_detach_shader,"nme_gl_detach_shader"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_disable,"nme_gl_disable"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_disable_vertex_attrib_array,"nme_gl_disable_vertex_attrib_array"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_draw_arrays,"nme_gl_draw_arrays"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_draw_elements,"nme_gl_draw_elements"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_enable,"nme_gl_enable"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_enable_vertex_attrib_array,"nme_gl_enable_vertex_attrib_array"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_finish,"nme_gl_finish"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_flush,"nme_gl_flush"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_framebuffer_renderbuffer,"nme_gl_framebuffer_renderbuffer"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_framebuffer_texture2D,"nme_gl_framebuffer_texture2D"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_front_face,"nme_gl_front_face"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_generate_mipmap,"nme_gl_generate_mipmap"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_active_attrib,"nme_gl_get_active_attrib"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_active_uniform,"nme_gl_get_active_uniform"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_attrib_location,"nme_gl_get_attrib_location"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_buffer_paramerter,"nme_gl_get_buffer_paramerter"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_context_attributes,"nme_gl_get_context_attributes"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_error,"nme_gl_get_error"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_framebuffer_attachment_parameter,"nme_gl_get_framebuffer_attachment_parameter"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_parameter,"nme_gl_get_parameter"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_program_info_log,"nme_gl_get_program_info_log"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_program_parameter,"nme_gl_get_program_parameter"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_render_buffer_parameter,"nme_gl_get_render_buffer_parameter"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_shader_info_log,"nme_gl_get_shader_info_log"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_shader_parameter,"nme_gl_get_shader_parameter"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_shader_precision_format,"nme_gl_get_shader_precision_format"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_shader_source,"nme_gl_get_shader_source"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_supported_extensions,"nme_gl_get_supported_extensions"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_tex_parameter,"nme_gl_get_tex_parameter"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_uniform,"nme_gl_get_uniform"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_uniform_location,"nme_gl_get_uniform_location"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_vertex_attrib,"nme_gl_get_vertex_attrib"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_get_vertex_attrib_offset,"nme_gl_get_vertex_attrib_offset"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_hint,"nme_gl_hint"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_is_buffer,"nme_gl_is_buffer"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_is_enabled,"nme_gl_is_enabled"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_is_framebuffer,"nme_gl_is_framebuffer"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_is_program,"nme_gl_is_program"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_is_renderbuffer,"nme_gl_is_renderbuffer"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_is_shader,"nme_gl_is_shader"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_is_texture,"nme_gl_is_texture"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_line_width,"nme_gl_line_width"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_link_program,"nme_gl_link_program"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_pixel_storei,"nme_gl_pixel_storei"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_polygon_offset,"nme_gl_polygon_offset"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_renderbuffer_storage,"nme_gl_renderbuffer_storage"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_sample_coverage,"nme_gl_sample_coverage"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_scissor,"nme_gl_scissor"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_shader_source,"nme_gl_shader_source"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_stencil_func,"nme_gl_stencil_func"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_stencil_func_separate,"nme_gl_stencil_func_separate"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_stencil_mask,"nme_gl_stencil_mask"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_stencil_mask_separate,"nme_gl_stencil_mask_separate"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_stencil_op,"nme_gl_stencil_op"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_stencil_op_separate,"nme_gl_stencil_op_separate"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_tex_image_2d,"nme_gl_tex_image_2d"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_tex_parameterf,"nme_gl_tex_parameterf"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_tex_parameteri,"nme_gl_tex_parameteri"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_tex_sub_image_2d,"nme_gl_tex_sub_image_2d"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_uniform1f,"nme_gl_uniform1f"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_uniform1fv,"nme_gl_uniform1fv"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_uniform1i,"nme_gl_uniform1i"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_uniform1iv,"nme_gl_uniform1iv"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_uniform2f,"nme_gl_uniform2f"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_uniform2fv,"nme_gl_uniform2fv"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_uniform2i,"nme_gl_uniform2i"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_uniform2iv,"nme_gl_uniform2iv"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_uniform3f,"nme_gl_uniform3f"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_uniform3fv,"nme_gl_uniform3fv"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_uniform3i,"nme_gl_uniform3i"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_uniform3iv,"nme_gl_uniform3iv"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_uniform4f,"nme_gl_uniform4f"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_uniform4fv,"nme_gl_uniform4fv"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_uniform4i,"nme_gl_uniform4i"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_uniform4iv,"nme_gl_uniform4iv"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_uniform_matrix,"nme_gl_uniform_matrix"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_use_program,"nme_gl_use_program"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_validate_program,"nme_gl_validate_program"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_version,"nme_gl_version"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_vertex_attrib1f,"nme_gl_vertex_attrib1f"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_vertex_attrib1fv,"nme_gl_vertex_attrib1fv"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_vertex_attrib2f,"nme_gl_vertex_attrib2f"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_vertex_attrib2fv,"nme_gl_vertex_attrib2fv"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_vertex_attrib3f,"nme_gl_vertex_attrib3f"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_vertex_attrib3fv,"nme_gl_vertex_attrib3fv"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_vertex_attrib4f,"nme_gl_vertex_attrib4f"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_vertex_attrib4fv,"nme_gl_vertex_attrib4fv"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_vertex_attrib_pointer,"nme_gl_vertex_attrib_pointer"); - HX_VISIT_MEMBER_NAME(GL_obj::nme_gl_viewport,"nme_gl_viewport"); -}; - -Class GL_obj::__mClass; - -void GL_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.gl.GL"), hx::TCanCast< GL_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GL_obj::__boot() -{ - DEPTH_BUFFER_BIT= (int)256; - STENCIL_BUFFER_BIT= (int)1024; - COLOR_BUFFER_BIT= (int)16384; - POINTS= (int)0; - LINES= (int)1; - LINE_LOOP= (int)2; - LINE_STRIP= (int)3; - TRIANGLES= (int)4; - TRIANGLE_STRIP= (int)5; - TRIANGLE_FAN= (int)6; - ZERO= (int)0; - ONE= (int)1; - SRC_COLOR= (int)768; - ONE_MINUS_SRC_COLOR= (int)769; - SRC_ALPHA= (int)770; - ONE_MINUS_SRC_ALPHA= (int)771; - DST_ALPHA= (int)772; - ONE_MINUS_DST_ALPHA= (int)773; - DST_COLOR= (int)774; - ONE_MINUS_DST_COLOR= (int)775; - SRC_ALPHA_SATURATE= (int)776; - FUNC_ADD= (int)32774; - BLEND_EQUATION= (int)32777; - BLEND_EQUATION_RGB= (int)32777; - BLEND_EQUATION_ALPHA= (int)34877; - FUNC_SUBTRACT= (int)32778; - FUNC_REVERSE_SUBTRACT= (int)32779; - BLEND_DST_RGB= (int)32968; - BLEND_SRC_RGB= (int)32969; - BLEND_DST_ALPHA= (int)32970; - BLEND_SRC_ALPHA= (int)32971; - CONSTANT_COLOR= (int)32769; - ONE_MINUS_CONSTANT_COLOR= (int)32770; - CONSTANT_ALPHA= (int)32771; - ONE_MINUS_CONSTANT_ALPHA= (int)32772; - BLEND_COLOR= (int)32773; - ARRAY_BUFFER= (int)34962; - ELEMENT_ARRAY_BUFFER= (int)34963; - ARRAY_BUFFER_BINDING= (int)34964; - ELEMENT_ARRAY_BUFFER_BINDING= (int)34965; - STREAM_DRAW= (int)35040; - STATIC_DRAW= (int)35044; - DYNAMIC_DRAW= (int)35048; - BUFFER_SIZE= (int)34660; - BUFFER_USAGE= (int)34661; - CURRENT_VERTEX_ATTRIB= (int)34342; - FRONT= (int)1028; - BACK= (int)1029; - FRONT_AND_BACK= (int)1032; - CULL_FACE= (int)2884; - BLEND= (int)3042; - DITHER= (int)3024; - STENCIL_TEST= (int)2960; - DEPTH_TEST= (int)2929; - SCISSOR_TEST= (int)3089; - POLYGON_OFFSET_FILL= (int)32823; - SAMPLE_ALPHA_TO_COVERAGE= (int)32926; - SAMPLE_COVERAGE= (int)32928; - NO_ERROR= (int)0; - INVALID_ENUM= (int)1280; - INVALID_VALUE= (int)1281; - INVALID_OPERATION= (int)1282; - OUT_OF_MEMORY= (int)1285; - CW= (int)2304; - CCW= (int)2305; - LINE_WIDTH= (int)2849; - ALIASED_POINT_SIZE_RANGE= (int)33901; - ALIASED_LINE_WIDTH_RANGE= (int)33902; - CULL_FACE_MODE= (int)2885; - FRONT_FACE= (int)2886; - DEPTH_RANGE= (int)2928; - DEPTH_WRITEMASK= (int)2930; - DEPTH_CLEAR_VALUE= (int)2931; - DEPTH_FUNC= (int)2932; - STENCIL_CLEAR_VALUE= (int)2961; - STENCIL_FUNC= (int)2962; - STENCIL_FAIL= (int)2964; - STENCIL_PASS_DEPTH_FAIL= (int)2965; - STENCIL_PASS_DEPTH_PASS= (int)2966; - STENCIL_REF= (int)2967; - STENCIL_VALUE_MASK= (int)2963; - STENCIL_WRITEMASK= (int)2968; - STENCIL_BACK_FUNC= (int)34816; - STENCIL_BACK_FAIL= (int)34817; - STENCIL_BACK_PASS_DEPTH_FAIL= (int)34818; - STENCIL_BACK_PASS_DEPTH_PASS= (int)34819; - STENCIL_BACK_REF= (int)36003; - STENCIL_BACK_VALUE_MASK= (int)36004; - STENCIL_BACK_WRITEMASK= (int)36005; - VIEWPORT= (int)2978; - SCISSOR_BOX= (int)3088; - COLOR_CLEAR_VALUE= (int)3106; - COLOR_WRITEMASK= (int)3107; - UNPACK_ALIGNMENT= (int)3317; - PACK_ALIGNMENT= (int)3333; - MAX_TEXTURE_SIZE= (int)3379; - MAX_VIEWPORT_DIMS= (int)3386; - SUBPIXEL_BITS= (int)3408; - RED_BITS= (int)3410; - GREEN_BITS= (int)3411; - BLUE_BITS= (int)3412; - ALPHA_BITS= (int)3413; - DEPTH_BITS= (int)3414; - STENCIL_BITS= (int)3415; - POLYGON_OFFSET_UNITS= (int)10752; - POLYGON_OFFSET_FACTOR= (int)32824; - TEXTURE_BINDING_2D= (int)32873; - SAMPLE_BUFFERS= (int)32936; - SAMPLES= (int)32937; - SAMPLE_COVERAGE_VALUE= (int)32938; - SAMPLE_COVERAGE_INVERT= (int)32939; - COMPRESSED_TEXTURE_FORMATS= (int)34467; - DONT_CARE= (int)4352; - FASTEST= (int)4353; - NICEST= (int)4354; - GENERATE_MIPMAP_HINT= (int)33170; - BYTE= (int)5120; - UNSIGNED_BYTE= (int)5121; - SHORT= (int)5122; - UNSIGNED_SHORT= (int)5123; - INT= (int)5124; - UNSIGNED_INT= (int)5125; - FLOAT= (int)5126; - DEPTH_COMPONENT= (int)6402; - ALPHA= (int)6406; - RGB= (int)6407; - RGBA= (int)6408; - LUMINANCE= (int)6409; - LUMINANCE_ALPHA= (int)6410; - UNSIGNED_SHORT_4_4_4_4= (int)32819; - UNSIGNED_SHORT_5_5_5_1= (int)32820; - UNSIGNED_SHORT_5_6_5= (int)33635; - FRAGMENT_SHADER= (int)35632; - VERTEX_SHADER= (int)35633; - MAX_VERTEX_ATTRIBS= (int)34921; - MAX_VERTEX_UNIFORM_VECTORS= (int)36347; - MAX_VARYING_VECTORS= (int)36348; - MAX_COMBINED_TEXTURE_IMAGE_UNITS= (int)35661; - MAX_VERTEX_TEXTURE_IMAGE_UNITS= (int)35660; - MAX_TEXTURE_IMAGE_UNITS= (int)34930; - MAX_FRAGMENT_UNIFORM_VECTORS= (int)36349; - SHADER_TYPE= (int)35663; - DELETE_STATUS= (int)35712; - LINK_STATUS= (int)35714; - VALIDATE_STATUS= (int)35715; - ATTACHED_SHADERS= (int)35717; - ACTIVE_UNIFORMS= (int)35718; - ACTIVE_ATTRIBUTES= (int)35721; - SHADING_LANGUAGE_VERSION= (int)35724; - CURRENT_PROGRAM= (int)35725; - NEVER= (int)512; - LESS= (int)513; - EQUAL= (int)514; - LEQUAL= (int)515; - GREATER= (int)516; - NOTEQUAL= (int)517; - GEQUAL= (int)518; - ALWAYS= (int)519; - KEEP= (int)7680; - REPLACE= (int)7681; - INCR= (int)7682; - DECR= (int)7683; - INVERT= (int)5386; - INCR_WRAP= (int)34055; - DECR_WRAP= (int)34056; - VENDOR= (int)7936; - RENDERER= (int)7937; - VERSION= (int)7938; - NEAREST= (int)9728; - LINEAR= (int)9729; - NEAREST_MIPMAP_NEAREST= (int)9984; - LINEAR_MIPMAP_NEAREST= (int)9985; - NEAREST_MIPMAP_LINEAR= (int)9986; - LINEAR_MIPMAP_LINEAR= (int)9987; - TEXTURE_MAG_FILTER= (int)10240; - TEXTURE_MIN_FILTER= (int)10241; - TEXTURE_WRAP_S= (int)10242; - TEXTURE_WRAP_T= (int)10243; - TEXTURE_2D= (int)3553; - TEXTURE= (int)5890; - TEXTURE_CUBE_MAP= (int)34067; - TEXTURE_BINDING_CUBE_MAP= (int)34068; - TEXTURE_CUBE_MAP_POSITIVE_X= (int)34069; - TEXTURE_CUBE_MAP_NEGATIVE_X= (int)34070; - TEXTURE_CUBE_MAP_POSITIVE_Y= (int)34071; - TEXTURE_CUBE_MAP_NEGATIVE_Y= (int)34072; - TEXTURE_CUBE_MAP_POSITIVE_Z= (int)34073; - TEXTURE_CUBE_MAP_NEGATIVE_Z= (int)34074; - MAX_CUBE_MAP_TEXTURE_SIZE= (int)34076; - TEXTURE0= (int)33984; - TEXTURE1= (int)33985; - TEXTURE2= (int)33986; - TEXTURE3= (int)33987; - TEXTURE4= (int)33988; - TEXTURE5= (int)33989; - TEXTURE6= (int)33990; - TEXTURE7= (int)33991; - TEXTURE8= (int)33992; - TEXTURE9= (int)33993; - TEXTURE10= (int)33994; - TEXTURE11= (int)33995; - TEXTURE12= (int)33996; - TEXTURE13= (int)33997; - TEXTURE14= (int)33998; - TEXTURE15= (int)33999; - TEXTURE16= (int)34000; - TEXTURE17= (int)34001; - TEXTURE18= (int)34002; - TEXTURE19= (int)34003; - TEXTURE20= (int)34004; - TEXTURE21= (int)34005; - TEXTURE22= (int)34006; - TEXTURE23= (int)34007; - TEXTURE24= (int)34008; - TEXTURE25= (int)34009; - TEXTURE26= (int)34010; - TEXTURE27= (int)34011; - TEXTURE28= (int)34012; - TEXTURE29= (int)34013; - TEXTURE30= (int)34014; - TEXTURE31= (int)34015; - ACTIVE_TEXTURE= (int)34016; - REPEAT= (int)10497; - CLAMP_TO_EDGE= (int)33071; - MIRRORED_REPEAT= (int)33648; - FLOAT_VEC2= (int)35664; - FLOAT_VEC3= (int)35665; - FLOAT_VEC4= (int)35666; - INT_VEC2= (int)35667; - INT_VEC3= (int)35668; - INT_VEC4= (int)35669; - BOOL= (int)35670; - BOOL_VEC2= (int)35671; - BOOL_VEC3= (int)35672; - BOOL_VEC4= (int)35673; - FLOAT_MAT2= (int)35674; - FLOAT_MAT3= (int)35675; - FLOAT_MAT4= (int)35676; - SAMPLER_2D= (int)35678; - SAMPLER_CUBE= (int)35680; - VERTEX_ATTRIB_ARRAY_ENABLED= (int)34338; - VERTEX_ATTRIB_ARRAY_SIZE= (int)34339; - VERTEX_ATTRIB_ARRAY_STRIDE= (int)34340; - VERTEX_ATTRIB_ARRAY_TYPE= (int)34341; - VERTEX_ATTRIB_ARRAY_NORMALIZED= (int)34922; - VERTEX_ATTRIB_ARRAY_POINTER= (int)34373; - VERTEX_ATTRIB_ARRAY_BUFFER_BINDING= (int)34975; - COMPILE_STATUS= (int)35713; - LOW_FLOAT= (int)36336; - MEDIUM_FLOAT= (int)36337; - HIGH_FLOAT= (int)36338; - LOW_INT= (int)36339; - MEDIUM_INT= (int)36340; - HIGH_INT= (int)36341; - FRAMEBUFFER= (int)36160; - RENDERBUFFER= (int)36161; - RGBA4= (int)32854; - RGB5_A1= (int)32855; - RGB565= (int)36194; - DEPTH_COMPONENT16= (int)33189; - STENCIL_INDEX= (int)6401; - STENCIL_INDEX8= (int)36168; - DEPTH_STENCIL= (int)34041; - RENDERBUFFER_WIDTH= (int)36162; - RENDERBUFFER_HEIGHT= (int)36163; - RENDERBUFFER_INTERNAL_FORMAT= (int)36164; - RENDERBUFFER_RED_SIZE= (int)36176; - RENDERBUFFER_GREEN_SIZE= (int)36177; - RENDERBUFFER_BLUE_SIZE= (int)36178; - RENDERBUFFER_ALPHA_SIZE= (int)36179; - RENDERBUFFER_DEPTH_SIZE= (int)36180; - RENDERBUFFER_STENCIL_SIZE= (int)36181; - FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE= (int)36048; - FRAMEBUFFER_ATTACHMENT_OBJECT_NAME= (int)36049; - FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL= (int)36050; - FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE= (int)36051; - COLOR_ATTACHMENT0= (int)36064; - DEPTH_ATTACHMENT= (int)36096; - STENCIL_ATTACHMENT= (int)36128; - DEPTH_STENCIL_ATTACHMENT= (int)33306; - NONE= (int)0; - FRAMEBUFFER_COMPLETE= (int)36053; - FRAMEBUFFER_INCOMPLETE_ATTACHMENT= (int)36054; - FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT= (int)36055; - FRAMEBUFFER_INCOMPLETE_DIMENSIONS= (int)36057; - FRAMEBUFFER_UNSUPPORTED= (int)36061; - FRAMEBUFFER_BINDING= (int)36006; - RENDERBUFFER_BINDING= (int)36007; - MAX_RENDERBUFFER_SIZE= (int)34024; - INVALID_FRAMEBUFFER_OPERATION= (int)1286; - UNPACK_FLIP_Y_WEBGL= (int)37440; - UNPACK_PREMULTIPLY_ALPHA_WEBGL= (int)37441; - CONTEXT_LOST_WEBGL= (int)37442; - UNPACK_COLORSPACE_CONVERSION_WEBGL= (int)37443; - BROWSER_DEFAULT_WEBGL= (int)37444; - nme_gl_active_texture= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_active_texture"),(int)1); - nme_gl_attach_shader= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_attach_shader"),(int)2); - nme_gl_bind_attrib_location= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_bind_attrib_location"),(int)3); - nme_gl_bind_bitmap_data_texture= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_bind_bitmap_data_texture"),(int)1); - nme_gl_bind_buffer= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_bind_buffer"),(int)2); - nme_gl_bind_framebuffer= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_bind_framebuffer"),(int)2); - nme_gl_bind_renderbuffer= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_bind_renderbuffer"),(int)2); - nme_gl_bind_texture= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_bind_texture"),(int)2); - nme_gl_blend_color= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_blend_color"),(int)4); - nme_gl_blend_equation= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_blend_equation"),(int)1); - nme_gl_blend_equation_separate= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_blend_equation_separate"),(int)2); - nme_gl_blend_func= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_blend_func"),(int)2); - nme_gl_blend_func_separate= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_blend_func_separate"),(int)4); - nme_gl_buffer_data= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_buffer_data"),(int)5); - nme_gl_buffer_sub_data= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_buffer_sub_data"),(int)5); - nme_gl_check_framebuffer_status= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_check_framebuffer_status"),(int)1); - nme_gl_clear= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_clear"),(int)1); - nme_gl_clear_color= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_clear_color"),(int)4); - nme_gl_clear_depth= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_clear_depth"),(int)1); - nme_gl_clear_stencil= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_clear_stencil"),(int)1); - nme_gl_color_mask= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_color_mask"),(int)4); - nme_gl_compile_shader= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_compile_shader"),(int)1); - nme_gl_compressed_tex_image_2d= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_compressed_tex_image_2d"),(int)-1); - nme_gl_compressed_tex_sub_image_2d= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_compressed_tex_sub_image_2d"),(int)-1); - nme_gl_copy_tex_image_2d= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_copy_tex_image_2d"),(int)-1); - nme_gl_copy_tex_sub_image_2d= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_copy_tex_sub_image_2d"),(int)-1); - nme_gl_create_buffer= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_create_buffer"),(int)0); - nme_gl_create_framebuffer= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_create_framebuffer"),(int)0); - nme_gl_create_program= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_create_program"),(int)0); - nme_gl_create_render_buffer= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_create_render_buffer"),(int)0); - nme_gl_create_shader= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_create_shader"),(int)1); - nme_gl_create_texture= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_create_texture"),(int)0); - nme_gl_delete_buffer= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_delete_buffer"),(int)1); - nme_gl_delete_program= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_delete_program"),(int)1); - nme_gl_delete_shader= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_delete_shader"),(int)1); - nme_gl_delete_texture= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_delete_texture"),(int)1); - nme_gl_depth_func= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_depth_func"),(int)1); - nme_gl_depth_mask= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_depth_func"),(int)1); - nme_gl_depth_range= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_depth_range"),(int)2); - nme_gl_detach_shader= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_detach_shader"),(int)2); - nme_gl_disable= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_disable"),(int)1); - nme_gl_disable_vertex_attrib_array= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_disable_vertex_attrib_array"),(int)1); - nme_gl_draw_arrays= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_draw_arrays"),(int)3); - nme_gl_draw_elements= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_draw_elements"),(int)4); - nme_gl_enable= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_enable"),(int)1); - nme_gl_enable_vertex_attrib_array= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_enable_vertex_attrib_array"),(int)1); - nme_gl_finish= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_finish"),(int)0); - nme_gl_flush= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_flush"),(int)0); - nme_gl_framebuffer_renderbuffer= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_framebuffer_renderbuffer"),(int)4); - nme_gl_framebuffer_texture2D= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_framebuffer_texture2D"),(int)5); - nme_gl_front_face= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_front_face"),(int)1); - nme_gl_generate_mipmap= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_generate_mipmap"),(int)1); - nme_gl_get_active_attrib= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_active_attrib"),(int)2); - nme_gl_get_active_uniform= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_active_uniform"),(int)2); - nme_gl_get_attrib_location= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_attrib_location"),(int)2); - nme_gl_get_buffer_paramerter= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_buffer_paramerter"),(int)2); - nme_gl_get_context_attributes= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_context_attributes"),(int)0); - nme_gl_get_error= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_error"),(int)0); - nme_gl_get_framebuffer_attachment_parameter= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_framebuffer_attachment_parameter"),(int)3); - nme_gl_get_parameter= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_parameter"),(int)1); - nme_gl_get_program_info_log= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_program_info_log"),(int)1); - nme_gl_get_program_parameter= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_program_parameter"),(int)2); - nme_gl_get_render_buffer_parameter= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_render_buffer_parameter"),(int)2); - nme_gl_get_shader_info_log= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_shader_info_log"),(int)1); - nme_gl_get_shader_parameter= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_shader_parameter"),(int)2); - nme_gl_get_shader_precision_format= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_shader_precision_format"),(int)2); - nme_gl_get_shader_source= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_shader_source"),(int)1); - nme_gl_get_supported_extensions= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_supported_extensions"),(int)1); - nme_gl_get_tex_parameter= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_tex_parameter"),(int)2); - nme_gl_get_uniform= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_uniform"),(int)2); - nme_gl_get_uniform_location= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_uniform_location"),(int)2); - nme_gl_get_vertex_attrib= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_vertex_attrib"),(int)2); - nme_gl_get_vertex_attrib_offset= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_get_vertex_attrib_offset"),(int)2); - nme_gl_hint= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_hint"),(int)2); - nme_gl_is_buffer= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_is_buffer"),(int)1); - nme_gl_is_enabled= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_is_enabled"),(int)1); - nme_gl_is_framebuffer= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_is_framebuffer"),(int)1); - nme_gl_is_program= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_is_program"),(int)1); - nme_gl_is_renderbuffer= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_is_renderbuffer"),(int)1); - nme_gl_is_shader= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_is_shader"),(int)1); - nme_gl_is_texture= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_is_texture"),(int)1); - nme_gl_line_width= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_line_width"),(int)1); - nme_gl_link_program= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_link_program"),(int)1); - nme_gl_pixel_storei= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_pixel_storei"),(int)2); - nme_gl_polygon_offset= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_polygon_offset"),(int)2); - nme_gl_renderbuffer_storage= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_renderbuffer_storage"),(int)4); - nme_gl_sample_coverage= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_sample_coverage"),(int)2); - nme_gl_scissor= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_scissor"),(int)4); - nme_gl_shader_source= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_shader_source"),(int)2); - nme_gl_stencil_func= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_stencil_func"),(int)3); - nme_gl_stencil_func_separate= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_stencil_func_separate"),(int)4); - nme_gl_stencil_mask= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_stencil_mask"),(int)1); - nme_gl_stencil_mask_separate= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_stencil_mask_separate"),(int)2); - nme_gl_stencil_op= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_stencil_op"),(int)3); - nme_gl_stencil_op_separate= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_stencil_op_separate"),(int)4); - nme_gl_tex_image_2d= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_tex_image_2d"),(int)-1); - nme_gl_tex_parameterf= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_tex_parameterf"),(int)3); - nme_gl_tex_parameteri= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_tex_parameteri"),(int)3); - nme_gl_tex_sub_image_2d= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_tex_sub_image_2d"),(int)-1); - nme_gl_uniform1f= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_uniform1f"),(int)2); - nme_gl_uniform1fv= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_uniform1fv"),(int)2); - nme_gl_uniform1i= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_uniform1i"),(int)2); - nme_gl_uniform1iv= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_uniform1iv"),(int)2); - nme_gl_uniform2f= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_uniform2f"),(int)3); - nme_gl_uniform2fv= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_uniform2fv"),(int)2); - nme_gl_uniform2i= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_uniform2i"),(int)3); - nme_gl_uniform2iv= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_uniform2iv"),(int)2); - nme_gl_uniform3f= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_uniform3f"),(int)4); - nme_gl_uniform3fv= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_uniform3fv"),(int)2); - nme_gl_uniform3i= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_uniform3i"),(int)4); - nme_gl_uniform3iv= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_uniform3iv"),(int)2); - nme_gl_uniform4f= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_uniform4f"),(int)5); - nme_gl_uniform4fv= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_uniform4fv"),(int)2); - nme_gl_uniform4i= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_uniform4i"),(int)5); - nme_gl_uniform4iv= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_uniform4iv"),(int)2); - nme_gl_uniform_matrix= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_uniform_matrix"),(int)4); - nme_gl_use_program= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_use_program"),(int)1); - nme_gl_validate_program= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_validate_program"),(int)1); - nme_gl_version= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_version"),(int)0); - nme_gl_vertex_attrib1f= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_vertex_attrib1f"),(int)2); - nme_gl_vertex_attrib1fv= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_vertex_attrib1fv"),(int)2); - nme_gl_vertex_attrib2f= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_vertex_attrib2f"),(int)3); - nme_gl_vertex_attrib2fv= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_vertex_attrib2fv"),(int)2); - nme_gl_vertex_attrib3f= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_vertex_attrib3f"),(int)4); - nme_gl_vertex_attrib3fv= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_vertex_attrib3fv"),(int)2); - nme_gl_vertex_attrib4f= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_vertex_attrib4f"),(int)5); - nme_gl_vertex_attrib4fv= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_vertex_attrib4fv"),(int)2); - nme_gl_vertex_attrib_pointer= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_vertex_attrib_pointer"),(int)-1); - nme_gl_viewport= ::native::gl::GL_obj::load(HX_CSTRING("nme_gl_viewport"),(int)4); -} - -} // end namespace native -} // end namespace gl diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Object.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Object.cpp deleted file mode 100644 index db010ac..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Object.cpp +++ /dev/null @@ -1,236 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_native_gl_GL -#include -#endif -#ifndef INCLUDED_native_gl_Object -#include -#endif -namespace native{ -namespace gl{ - -Void Object_obj::__construct(int inVersion,Dynamic inId) -{ -HX_STACK_PUSH("Object::new","native/gl/GL.hx",1589); -{ - HX_STACK_LINE(1589) - this->version = inVersion; - HX_STACK_LINE(1589) - this->id = inId; -} -; - return null(); -} - -Object_obj::~Object_obj() { } - -Dynamic Object_obj::__CreateEmpty() { return new Object_obj; } -hx::ObjectPtr< Object_obj > Object_obj::__new(int inVersion,Dynamic inId) -{ hx::ObjectPtr< Object_obj > result = new Object_obj(); - result->__construct(inVersion,inId); - return result;} - -Dynamic Object_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Object_obj > result = new Object_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -bool Object_obj::get_valid( ){ - HX_STACK_PUSH("Object::get_valid","native/gl/GL.hx",1598); - HX_STACK_THIS(this); - HX_STACK_LINE(1598) - return this->isValid(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Object_obj,get_valid,return ) - -bool Object_obj::get_invalidated( ){ - HX_STACK_PUSH("Object::get_invalidated","native/gl/GL.hx",1597); - HX_STACK_THIS(this); - HX_STACK_LINE(1597) - return this->isInvalid(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Object_obj,get_invalidated,return ) - -bool Object_obj::isInvalid( ){ - HX_STACK_PUSH("Object::isInvalid","native/gl/GL.hx",1594); - HX_STACK_THIS(this); - HX_STACK_LINE(1594) - return !(this->isValid()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Object_obj,isInvalid,return ) - -bool Object_obj::isValid( ){ - HX_STACK_PUSH("Object::isValid","native/gl/GL.hx",1593); - HX_STACK_THIS(this); - HX_STACK_LINE(1593) - return (bool((this->id != null())) && bool((this->version == ::native::gl::GL_obj::get_version()))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Object_obj,isValid,return ) - -::String Object_obj::toString( ){ - HX_STACK_PUSH("Object::toString","native/gl/GL.hx",1592); - HX_STACK_THIS(this); - HX_STACK_LINE(1592) - return (((this->getType() + HX_CSTRING("(")) + ::Std_obj::string(this->id)) + HX_CSTRING(")")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Object_obj,toString,return ) - -Void Object_obj::invalidate( ){ -{ - HX_STACK_PUSH("Object::invalidate","native/gl/GL.hx",1591); - HX_STACK_THIS(this); - HX_STACK_LINE(1591) - this->id = null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Object_obj,invalidate,(void)) - -::String Object_obj::getType( ){ - HX_STACK_PUSH("Object::getType","native/gl/GL.hx",1590); - HX_STACK_THIS(this); - HX_STACK_LINE(1590) - return HX_CSTRING("GLObject"); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Object_obj,getType,return ) - - -Object_obj::Object_obj() -{ -} - -void Object_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Object); - HX_MARK_MEMBER_NAME(version,"version"); - HX_MARK_MEMBER_NAME(valid,"valid"); - HX_MARK_MEMBER_NAME(invalidated,"invalidated"); - HX_MARK_MEMBER_NAME(id,"id"); - HX_MARK_END_CLASS(); -} - -void Object_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(version,"version"); - HX_VISIT_MEMBER_NAME(valid,"valid"); - HX_VISIT_MEMBER_NAME(invalidated,"invalidated"); - HX_VISIT_MEMBER_NAME(id,"id"); -} - -Dynamic Object_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"id") ) { return id; } - break; - case 5: - if (HX_FIELD_EQ(inName,"valid") ) { return inCallProp ? get_valid() : valid; } - break; - case 7: - if (HX_FIELD_EQ(inName,"isValid") ) { return isValid_dyn(); } - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - if (HX_FIELD_EQ(inName,"version") ) { return version; } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"get_valid") ) { return get_valid_dyn(); } - if (HX_FIELD_EQ(inName,"isInvalid") ) { return isInvalid_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"invalidate") ) { return invalidate_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"invalidated") ) { return inCallProp ? get_invalidated() : invalidated; } - break; - case 15: - if (HX_FIELD_EQ(inName,"get_invalidated") ) { return get_invalidated_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Object_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"id") ) { id=inValue.Cast< Dynamic >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"valid") ) { valid=inValue.Cast< bool >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"version") ) { version=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"invalidated") ) { invalidated=inValue.Cast< bool >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Object_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("version")); - outFields->push(HX_CSTRING("valid")); - outFields->push(HX_CSTRING("invalidated")); - outFields->push(HX_CSTRING("id")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("get_valid"), - HX_CSTRING("get_invalidated"), - HX_CSTRING("isInvalid"), - HX_CSTRING("isValid"), - HX_CSTRING("toString"), - HX_CSTRING("invalidate"), - HX_CSTRING("getType"), - HX_CSTRING("version"), - HX_CSTRING("valid"), - HX_CSTRING("invalidated"), - HX_CSTRING("id"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Object_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Object_obj::__mClass,"__mClass"); -}; - -Class Object_obj::__mClass; - -void Object_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.gl.Object"), hx::TCanCast< Object_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Object_obj::__boot() -{ -} - -} // end namespace native -} // end namespace gl diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Program.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Program.cpp deleted file mode 100644 index 226d159..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Program.cpp +++ /dev/null @@ -1,155 +0,0 @@ -#include - -#ifndef INCLUDED_native_gl_Object -#include -#endif -#ifndef INCLUDED_native_gl_Program -#include -#endif -#ifndef INCLUDED_native_gl_Shader -#include -#endif -namespace native{ -namespace gl{ - -Void Program_obj::__construct(int inVersion,Dynamic inId) -{ -HX_STACK_PUSH("Program::new","native/gl/GL.hx",1626); -{ - HX_STACK_LINE(1628) - super::__construct(inVersion,inId); - HX_STACK_LINE(1629) - this->shaders = Array_obj< ::native::gl::Shader >::__new(); -} -; - return null(); -} - -Program_obj::~Program_obj() { } - -Dynamic Program_obj::__CreateEmpty() { return new Program_obj; } -hx::ObjectPtr< Program_obj > Program_obj::__new(int inVersion,Dynamic inId) -{ hx::ObjectPtr< Program_obj > result = new Program_obj(); - result->__construct(inVersion,inId); - return result;} - -Dynamic Program_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Program_obj > result = new Program_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -Array< ::native::gl::Shader > Program_obj::getShaders( ){ - HX_STACK_PUSH("Program::getShaders","native/gl/GL.hx",1636); - HX_STACK_THIS(this); - HX_STACK_LINE(1636) - return this->shaders->copy(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Program_obj,getShaders,return ) - -::String Program_obj::getType( ){ - HX_STACK_PUSH("Program::getType","native/gl/GL.hx",1635); - HX_STACK_THIS(this); - HX_STACK_LINE(1635) - return HX_CSTRING("Program"); -} - - -Void Program_obj::attach( ::native::gl::Shader s){ -{ - HX_STACK_PUSH("Program::attach","native/gl/GL.hx",1634); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(1634) - this->shaders->push(s); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Program_obj,attach,(void)) - - -Program_obj::Program_obj() -{ -} - -void Program_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Program); - HX_MARK_MEMBER_NAME(shaders,"shaders"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Program_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(shaders,"shaders"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Program_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"attach") ) { return attach_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - if (HX_FIELD_EQ(inName,"shaders") ) { return shaders; } - break; - case 10: - if (HX_FIELD_EQ(inName,"getShaders") ) { return getShaders_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Program_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"shaders") ) { shaders=inValue.Cast< Array< ::native::gl::Shader > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Program_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("shaders")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getShaders"), - HX_CSTRING("getType"), - HX_CSTRING("attach"), - HX_CSTRING("shaders"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Program_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Program_obj::__mClass,"__mClass"); -}; - -Class Program_obj::__mClass; - -void Program_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.gl.Program"), hx::TCanCast< Program_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Program_obj::__boot() -{ -} - -} // end namespace native -} // end namespace gl diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Renderbuffer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Renderbuffer.cpp deleted file mode 100644 index 4fcc1cc..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Renderbuffer.cpp +++ /dev/null @@ -1,109 +0,0 @@ -#include - -#ifndef INCLUDED_native_gl_Object -#include -#endif -#ifndef INCLUDED_native_gl_Renderbuffer -#include -#endif -namespace native{ -namespace gl{ - -Void Renderbuffer_obj::__construct(int inVersion,Dynamic inId) -{ -HX_STACK_PUSH("Renderbuffer::new","native/gl/GL.hx",1644); -{ - HX_STACK_LINE(1644) - super::__construct(inVersion,inId); -} -; - return null(); -} - -Renderbuffer_obj::~Renderbuffer_obj() { } - -Dynamic Renderbuffer_obj::__CreateEmpty() { return new Renderbuffer_obj; } -hx::ObjectPtr< Renderbuffer_obj > Renderbuffer_obj::__new(int inVersion,Dynamic inId) -{ hx::ObjectPtr< Renderbuffer_obj > result = new Renderbuffer_obj(); - result->__construct(inVersion,inId); - return result;} - -Dynamic Renderbuffer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Renderbuffer_obj > result = new Renderbuffer_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::String Renderbuffer_obj::getType( ){ - HX_STACK_PUSH("Renderbuffer::getType","native/gl/GL.hx",1645); - HX_STACK_THIS(this); - HX_STACK_LINE(1645) - return HX_CSTRING("Renderbuffer"); -} - - - -Renderbuffer_obj::Renderbuffer_obj() -{ -} - -void Renderbuffer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Renderbuffer); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Renderbuffer_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Renderbuffer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Renderbuffer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Renderbuffer_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Renderbuffer_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Renderbuffer_obj::__mClass,"__mClass"); -}; - -Class Renderbuffer_obj::__mClass; - -void Renderbuffer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.gl.Renderbuffer"), hx::TCanCast< Renderbuffer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Renderbuffer_obj::__boot() -{ -} - -} // end namespace native -} // end namespace gl diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Shader.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Shader.cpp deleted file mode 100644 index a0d5408..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Shader.cpp +++ /dev/null @@ -1,109 +0,0 @@ -#include - -#ifndef INCLUDED_native_gl_Object -#include -#endif -#ifndef INCLUDED_native_gl_Shader -#include -#endif -namespace native{ -namespace gl{ - -Void Shader_obj::__construct(int inVersion,Dynamic inId) -{ -HX_STACK_PUSH("Shader::new","native/gl/GL.hx",1652); -{ - HX_STACK_LINE(1652) - super::__construct(inVersion,inId); -} -; - return null(); -} - -Shader_obj::~Shader_obj() { } - -Dynamic Shader_obj::__CreateEmpty() { return new Shader_obj; } -hx::ObjectPtr< Shader_obj > Shader_obj::__new(int inVersion,Dynamic inId) -{ hx::ObjectPtr< Shader_obj > result = new Shader_obj(); - result->__construct(inVersion,inId); - return result;} - -Dynamic Shader_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Shader_obj > result = new Shader_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::String Shader_obj::getType( ){ - HX_STACK_PUSH("Shader::getType","native/gl/GL.hx",1653); - HX_STACK_THIS(this); - HX_STACK_LINE(1653) - return HX_CSTRING("Shader"); -} - - - -Shader_obj::Shader_obj() -{ -} - -void Shader_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Shader); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Shader_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Shader_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Shader_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Shader_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Shader_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Shader_obj::__mClass,"__mClass"); -}; - -Class Shader_obj::__mClass; - -void Shader_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.gl.Shader"), hx::TCanCast< Shader_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Shader_obj::__boot() -{ -} - -} // end namespace native -} // end namespace gl diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Texture.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Texture.cpp deleted file mode 100644 index 1e41569..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/gl/Texture.cpp +++ /dev/null @@ -1,109 +0,0 @@ -#include - -#ifndef INCLUDED_native_gl_Object -#include -#endif -#ifndef INCLUDED_native_gl_Texture -#include -#endif -namespace native{ -namespace gl{ - -Void Texture_obj::__construct(int inVersion,Dynamic inId) -{ -HX_STACK_PUSH("Texture::new","native/gl/GL.hx",1660); -{ - HX_STACK_LINE(1660) - super::__construct(inVersion,inId); -} -; - return null(); -} - -Texture_obj::~Texture_obj() { } - -Dynamic Texture_obj::__CreateEmpty() { return new Texture_obj; } -hx::ObjectPtr< Texture_obj > Texture_obj::__new(int inVersion,Dynamic inId) -{ hx::ObjectPtr< Texture_obj > result = new Texture_obj(); - result->__construct(inVersion,inId); - return result;} - -Dynamic Texture_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Texture_obj > result = new Texture_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::String Texture_obj::getType( ){ - HX_STACK_PUSH("Texture::getType","native/gl/GL.hx",1661); - HX_STACK_THIS(this); - HX_STACK_LINE(1661) - return HX_CSTRING("Texture"); -} - - - -Texture_obj::Texture_obj() -{ -} - -void Texture_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Texture); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Texture_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Texture_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Texture_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Texture_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Texture_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Texture_obj::__mClass,"__mClass"); -}; - -Class Texture_obj::__mClass; - -void Texture_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.gl.Texture"), hx::TCanCast< Texture_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Texture_obj::__boot() -{ -} - -} // end namespace native -} // end namespace gl diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/media/ID3Info.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/media/ID3Info.cpp deleted file mode 100644 index 6521ec8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/media/ID3Info.cpp +++ /dev/null @@ -1,153 +0,0 @@ -#include - -#ifndef INCLUDED_native_media_ID3Info -#include -#endif -namespace native{ -namespace media{ - -Void ID3Info_obj::__construct() -{ -HX_STACK_PUSH("ID3Info::new","native/media/ID3Info.hx",16); -{ -} -; - return null(); -} - -ID3Info_obj::~ID3Info_obj() { } - -Dynamic ID3Info_obj::__CreateEmpty() { return new ID3Info_obj; } -hx::ObjectPtr< ID3Info_obj > ID3Info_obj::__new() -{ hx::ObjectPtr< ID3Info_obj > result = new ID3Info_obj(); - result->__construct(); - return result;} - -Dynamic ID3Info_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ID3Info_obj > result = new ID3Info_obj(); - result->__construct(); - return result;} - - -ID3Info_obj::ID3Info_obj() -{ -} - -void ID3Info_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ID3Info); - HX_MARK_MEMBER_NAME(year,"year"); - HX_MARK_MEMBER_NAME(track,"track"); - HX_MARK_MEMBER_NAME(songName,"songName"); - HX_MARK_MEMBER_NAME(genre,"genre"); - HX_MARK_MEMBER_NAME(comment,"comment"); - HX_MARK_MEMBER_NAME(artist,"artist"); - HX_MARK_MEMBER_NAME(album,"album"); - HX_MARK_END_CLASS(); -} - -void ID3Info_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(year,"year"); - HX_VISIT_MEMBER_NAME(track,"track"); - HX_VISIT_MEMBER_NAME(songName,"songName"); - HX_VISIT_MEMBER_NAME(genre,"genre"); - HX_VISIT_MEMBER_NAME(comment,"comment"); - HX_VISIT_MEMBER_NAME(artist,"artist"); - HX_VISIT_MEMBER_NAME(album,"album"); -} - -Dynamic ID3Info_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"year") ) { return year; } - break; - case 5: - if (HX_FIELD_EQ(inName,"track") ) { return track; } - if (HX_FIELD_EQ(inName,"genre") ) { return genre; } - if (HX_FIELD_EQ(inName,"album") ) { return album; } - break; - case 6: - if (HX_FIELD_EQ(inName,"artist") ) { return artist; } - break; - case 7: - if (HX_FIELD_EQ(inName,"comment") ) { return comment; } - break; - case 8: - if (HX_FIELD_EQ(inName,"songName") ) { return songName; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ID3Info_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"year") ) { year=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"track") ) { track=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"genre") ) { genre=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"album") ) { album=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"artist") ) { artist=inValue.Cast< ::String >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"comment") ) { comment=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"songName") ) { songName=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ID3Info_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("year")); - outFields->push(HX_CSTRING("track")); - outFields->push(HX_CSTRING("songName")); - outFields->push(HX_CSTRING("genre")); - outFields->push(HX_CSTRING("comment")); - outFields->push(HX_CSTRING("artist")); - outFields->push(HX_CSTRING("album")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("year"), - HX_CSTRING("track"), - HX_CSTRING("songName"), - HX_CSTRING("genre"), - HX_CSTRING("comment"), - HX_CSTRING("artist"), - HX_CSTRING("album"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ID3Info_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ID3Info_obj::__mClass,"__mClass"); -}; - -Class ID3Info_obj::__mClass; - -void ID3Info_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.media.ID3Info"), hx::TCanCast< ID3Info_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ID3Info_obj::__boot() -{ -} - -} // end namespace native -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/media/Sound.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/media/Sound.cpp deleted file mode 100644 index 6cde01c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/media/Sound.cpp +++ /dev/null @@ -1,721 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_Loader -#include -#endif -#ifndef INCLUDED_native_errors_Error -#include -#endif -#ifndef INCLUDED_native_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IOErrorEvent -#include -#endif -#ifndef INCLUDED_native_events_SampleDataEvent -#include -#endif -#ifndef INCLUDED_native_events_TextEvent -#include -#endif -#ifndef INCLUDED_native_media_ID3Info -#include -#endif -#ifndef INCLUDED_native_media_Sound -#include -#endif -#ifndef INCLUDED_native_media_SoundChannel -#include -#endif -#ifndef INCLUDED_native_media_SoundLoaderContext -#include -#endif -#ifndef INCLUDED_native_media_SoundTransform -#include -#endif -#ifndef INCLUDED_native_net_URLRequest -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace native{ -namespace media{ - -Void Sound_obj::__construct(::native::net::URLRequest stream,::native::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic) -{ -HX_STACK_PUSH("Sound::new","native/media/Sound.hx",30); -bool forcePlayAsMusic = __o_forcePlayAsMusic.Default(false); -{ - HX_STACK_LINE(32) - super::__construct(null()); - HX_STACK_LINE(34) - this->bytesLoaded = this->bytesTotal = (int)0; - HX_STACK_LINE(35) - this->nmeLoading = false; - HX_STACK_LINE(36) - this->nmeDynamicSound = false; - HX_STACK_LINE(38) - if (((stream != null()))){ - HX_STACK_LINE(39) - this->load(stream,context,forcePlayAsMusic); - } -} -; - return null(); -} - -Sound_obj::~Sound_obj() { } - -Dynamic Sound_obj::__CreateEmpty() { return new Sound_obj; } -hx::ObjectPtr< Sound_obj > Sound_obj::__new(::native::net::URLRequest stream,::native::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic) -{ hx::ObjectPtr< Sound_obj > result = new Sound_obj(); - result->__construct(stream,context,__o_forcePlayAsMusic); - return result;} - -Dynamic Sound_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Sound_obj > result = new Sound_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -Float Sound_obj::get_length( ){ - HX_STACK_PUSH("Sound::get_length","native/media/Sound.hx",249); - HX_STACK_THIS(this); - HX_STACK_LINE(251) - if (((bool((this->nmeHandle == null())) || bool(this->nmeLoading)))){ - HX_STACK_LINE(252) - return (int)0; - } - HX_STACK_LINE(254) - return ::native::media::Sound_obj::nme_sound_get_length(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,get_length,return ) - -bool Sound_obj::get_isBuffering( ){ - HX_STACK_PUSH("Sound::get_isBuffering","native/media/Sound.hx",241); - HX_STACK_THIS(this); - HX_STACK_LINE(243) - this->nmeCheckLoading(); - HX_STACK_LINE(244) - return (bool(this->nmeLoading) && bool((this->nmeHandle == null()))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,get_isBuffering,return ) - -::native::media::ID3Info Sound_obj::get_id3( ){ - HX_STACK_PUSH("Sound::get_id3","native/media/Sound.hx",227); - HX_STACK_THIS(this); - HX_STACK_LINE(229) - this->nmeCheckLoading(); - HX_STACK_LINE(231) - if (((bool((this->nmeHandle == null())) || bool(this->nmeLoading)))){ - HX_STACK_LINE(232) - return null(); - } - HX_STACK_LINE(234) - ::native::media::ID3Info id3 = ::native::media::ID3Info_obj::__new(); HX_STACK_VAR(id3,"id3"); - HX_STACK_LINE(235) - ::native::media::Sound_obj::nme_sound_get_id3(this->nmeHandle,id3); - HX_STACK_LINE(236) - return id3; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,get_id3,return ) - -::native::media::SoundChannel Sound_obj::play( hx::Null< Float > __o_startTime,hx::Null< int > __o_loops,::native::media::SoundTransform sndTransform){ -Float startTime = __o_startTime.Default(0); -int loops = __o_loops.Default(0); - HX_STACK_PUSH("Sound::play","native/media/Sound.hx",186); - HX_STACK_THIS(this); - HX_STACK_ARG(startTime,"startTime"); - HX_STACK_ARG(loops,"loops"); - HX_STACK_ARG(sndTransform,"sndTransform"); -{ - HX_STACK_LINE(188) - this->nmeCheckLoading(); - HX_STACK_LINE(190) - if ((this->nmeDynamicSound)){ - HX_STACK_LINE(192) - ::native::events::SampleDataEvent request = ::native::events::SampleDataEvent_obj::__new(::native::events::SampleDataEvent_obj::SAMPLE_DATA,null(),null()); HX_STACK_VAR(request,"request"); - HX_STACK_LINE(193) - this->dispatchEvent(request); - HX_STACK_LINE(195) - if (((request->data->length > (int)0))){ - HX_STACK_LINE(195) - this->nmeHandle = ::native::media::Sound_obj::nme_sound_channel_create_dynamic(request->data,sndTransform); - } - HX_STACK_LINE(201) - if (((this->nmeHandle == null()))){ - HX_STACK_LINE(202) - return null(); - } - HX_STACK_LINE(204) - ::native::media::SoundChannel result = ::native::media::SoundChannel_obj::createDynamic(this->nmeHandle,sndTransform,hx::ObjectPtr(this)); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(205) - this->nmeHandle = null(); - HX_STACK_LINE(206) - return result; - } - else{ - HX_STACK_LINE(210) - if (((bool((this->nmeHandle == null())) || bool(this->nmeLoading)))){ - HX_STACK_LINE(211) - return null(); - } - HX_STACK_LINE(213) - return ::native::media::SoundChannel_obj::__new(this->nmeHandle,startTime,loops,sndTransform); - } - HX_STACK_LINE(190) - return null(); - } -} - - -HX_DEFINE_DYNAMIC_FUNC3(Sound_obj,play,return ) - -Void Sound_obj::nmeOnError( ::String msg){ -{ - HX_STACK_PUSH("Sound::nmeOnError","native/media/Sound.hx",177); - HX_STACK_THIS(this); - HX_STACK_ARG(msg,"msg"); - HX_STACK_LINE(179) - this->dispatchEvent(::native::events::IOErrorEvent_obj::__new(::native::events::IOErrorEvent_obj::IO_ERROR,true,false,msg,null())); - HX_STACK_LINE(180) - this->nmeHandle = null(); - HX_STACK_LINE(181) - this->nmeLoading = true; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Sound_obj,nmeOnError,(void)) - -Void Sound_obj::nmeCheckLoading( ){ -{ - HX_STACK_PUSH("Sound::nmeCheckLoading","native/media/Sound.hx",152); - HX_STACK_THIS(this); - HX_STACK_LINE(152) - if (((bool((bool(!(this->nmeDynamicSound)) && bool(this->nmeLoading))) && bool((this->nmeHandle != null()))))){ - HX_STACK_LINE(156) - Dynamic status = ::native::media::Sound_obj::nme_sound_get_status(this->nmeHandle); HX_STACK_VAR(status,"status"); - HX_STACK_LINE(158) - if (((status == null()))){ - HX_STACK_LINE(159) - hx::Throw (HX_CSTRING("Could not get sound status")); - } - HX_STACK_LINE(161) - this->bytesLoaded = status->__Field(HX_CSTRING("bytesLoaded"),true); - HX_STACK_LINE(162) - this->bytesTotal = status->__Field(HX_CSTRING("bytesTotal"),true); - HX_STACK_LINE(164) - this->nmeLoading = (this->bytesLoaded < this->bytesTotal); - HX_STACK_LINE(166) - if (((status->__Field(HX_CSTRING("error"),true) != null()))){ - HX_STACK_LINE(166) - hx::Throw (status->__Field(HX_CSTRING("error"),true)); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,nmeCheckLoading,(void)) - -Void Sound_obj::loadPCMFromByteArray( ::native::utils::ByteArray Bytes,int samples,::String __o_format,hx::Null< bool > __o_stereo,hx::Null< Float > __o_sampleRate){ -::String format = __o_format.Default(HX_CSTRING("float")); -bool stereo = __o_stereo.Default(true); -Float sampleRate = __o_sampleRate.Default(44100.0); - HX_STACK_PUSH("Sound::loadPCMFromByteArray","native/media/Sound.hx",107); - HX_STACK_THIS(this); - HX_STACK_ARG(Bytes,"Bytes"); - HX_STACK_ARG(samples,"samples"); - HX_STACK_ARG(format,"format"); - HX_STACK_ARG(stereo,"stereo"); - HX_STACK_ARG(sampleRate,"sampleRate"); -{ - HX_STACK_LINE(110) - ::native::utils::ByteArray wav = ::native::utils::ByteArray_obj::__new(null()); HX_STACK_VAR(wav,"wav"); - HX_STACK_LINE(111) - wav->set_endian(HX_CSTRING("littleEndian")); - struct _Function_1_1{ - inline static int Block( ::String &format){ - HX_STACK_PUSH("*::closure","native/media/Sound.hx",113); - { - HX_STACK_LINE(113) - ::String _switch_1 = (format); - if ( ( _switch_1==HX_CSTRING("float"))){ - HX_STACK_LINE(114) - return (int)3; - } - else if ( ( _switch_1==HX_CSTRING("short"))){ - HX_STACK_LINE(115) - return (int)1; - } - else { - HX_STACK_LINE(116) - return hx::Throw (::native::errors::Error_obj::__new(HX_CSTRING("Unsupported format $format"),null())); - } -; -; - } - return null(); - } - }; - HX_STACK_LINE(113) - int AudioFormat = _Function_1_1::Block(format); HX_STACK_VAR(AudioFormat,"AudioFormat"); - HX_STACK_LINE(119) - int NumChannels = ( ((stereo)) ? int((int)2) : int((int)1) ); HX_STACK_VAR(NumChannels,"NumChannels"); - HX_STACK_LINE(120) - int SampleRate = ::Std_obj::_int(sampleRate); HX_STACK_VAR(SampleRate,"SampleRate"); - struct _Function_1_2{ - inline static int Block( ::String &format){ - HX_STACK_PUSH("*::closure","native/media/Sound.hx",121); - { - HX_STACK_LINE(121) - ::String _switch_2 = (format); - if ( ( _switch_2==HX_CSTRING("float"))){ - HX_STACK_LINE(122) - return (int)32; - } - else if ( ( _switch_2==HX_CSTRING("short"))){ - HX_STACK_LINE(123) - return (int)16; - } - else { - HX_STACK_LINE(124) - return hx::Throw (::native::errors::Error_obj::__new(HX_CSTRING("Unsupported format $format"),null())); - } -; -; - } - return null(); - } - }; - HX_STACK_LINE(121) - int BitsPerSample = _Function_1_2::Block(format); HX_STACK_VAR(BitsPerSample,"BitsPerSample"); - HX_STACK_LINE(127) - int ByteRate = ::Std_obj::_int((Float(((SampleRate * NumChannels) * BitsPerSample)) / Float((int)8))); HX_STACK_VAR(ByteRate,"ByteRate"); - HX_STACK_LINE(128) - int BlockAlign = ::Std_obj::_int((Float((NumChannels * BitsPerSample)) / Float((int)8))); HX_STACK_VAR(BlockAlign,"BlockAlign"); - HX_STACK_LINE(129) - int NumSamples = ::Std_obj::_int((Float(Bytes->length) / Float(BlockAlign))); HX_STACK_VAR(NumSamples,"NumSamples"); - HX_STACK_LINE(131) - wav->writeUTFBytes(HX_CSTRING("RIFF")); - HX_STACK_LINE(132) - wav->writeInt(((int)36 + Bytes->length)); - HX_STACK_LINE(133) - wav->writeUTFBytes(HX_CSTRING("WAVE")); - HX_STACK_LINE(134) - wav->writeUTFBytes(HX_CSTRING("fmt ")); - HX_STACK_LINE(135) - wav->writeInt((int)16); - HX_STACK_LINE(136) - wav->writeShort(AudioFormat); - HX_STACK_LINE(137) - wav->writeShort(NumChannels); - HX_STACK_LINE(138) - wav->writeInt(SampleRate); - HX_STACK_LINE(139) - wav->writeInt(ByteRate); - HX_STACK_LINE(140) - wav->writeShort(BlockAlign); - HX_STACK_LINE(141) - wav->writeShort(BitsPerSample); - HX_STACK_LINE(142) - wav->writeUTFBytes(HX_CSTRING("data")); - HX_STACK_LINE(143) - wav->writeInt(Bytes->length); - HX_STACK_LINE(144) - wav->writeBytes(Bytes,(int)0,Bytes->length); - HX_STACK_LINE(146) - wav->position = (int)0; - HX_STACK_LINE(147) - this->loadCompressedDataFromByteArray(wav,wav->length,null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(Sound_obj,loadPCMFromByteArray,(void)) - -Void Sound_obj::loadCompressedDataFromByteArray( ::native::utils::ByteArray bytes,int length,hx::Null< bool > __o_forcePlayAsMusic){ -bool forcePlayAsMusic = __o_forcePlayAsMusic.Default(false); - HX_STACK_PUSH("Sound::loadCompressedDataFromByteArray","native/media/Sound.hx",93); - HX_STACK_THIS(this); - HX_STACK_ARG(bytes,"bytes"); - HX_STACK_ARG(length,"length"); - HX_STACK_ARG(forcePlayAsMusic,"forcePlayAsMusic"); -{ - HX_STACK_LINE(95) - this->bytesLoaded = this->bytesTotal = length; - HX_STACK_LINE(96) - this->nmeHandle = ::native::media::Sound_obj::nme_sound_from_data(bytes->b,length,forcePlayAsMusic); - HX_STACK_LINE(98) - if (((this->nmeHandle == null()))){ - HX_STACK_LINE(98) - hx::Throw ((HX_CSTRING("Could not load buffer with length: ") + length)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Sound_obj,loadCompressedDataFromByteArray,(void)) - -Void Sound_obj::load( ::native::net::URLRequest stream,::native::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic){ -bool forcePlayAsMusic = __o_forcePlayAsMusic.Default(false); - HX_STACK_PUSH("Sound::load","native/media/Sound.hx",72); - HX_STACK_THIS(this); - HX_STACK_ARG(stream,"stream"); - HX_STACK_ARG(context,"context"); - HX_STACK_ARG(forcePlayAsMusic,"forcePlayAsMusic"); -{ - HX_STACK_LINE(74) - this->bytesLoaded = this->bytesTotal = (int)0; - HX_STACK_LINE(75) - this->nmeHandle = ::native::media::Sound_obj::nme_sound_from_file(stream->url,forcePlayAsMusic); - HX_STACK_LINE(77) - if (((this->nmeHandle == null()))){ - HX_STACK_LINE(77) - hx::Throw ((HX_CSTRING("Could not load:") + stream->url)); - } - else{ - HX_STACK_LINE(83) - this->url = stream->url; - HX_STACK_LINE(84) - this->nmeLoading = true; - HX_STACK_LINE(85) - this->nmeLoading = false; - HX_STACK_LINE(86) - this->nmeCheckLoading(); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Sound_obj,load,(void)) - -Void Sound_obj::close( ){ -{ - HX_STACK_PUSH("Sound::close","native/media/Sound.hx",61); - HX_STACK_THIS(this); - HX_STACK_LINE(63) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(64) - ::native::media::Sound_obj::nme_sound_close(this->nmeHandle); - } - HX_STACK_LINE(66) - this->nmeHandle = (int)0; - HX_STACK_LINE(67) - this->nmeLoading = false; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,close,(void)) - -Void Sound_obj::addEventListener( ::String type,Dynamic listener,hx::Null< bool > __o_useCapture,hx::Null< int > __o_priority,hx::Null< bool > __o_useWeakReference){ -bool useCapture = __o_useCapture.Default(false); -int priority = __o_priority.Default(0); -bool useWeakReference = __o_useWeakReference.Default(false); - HX_STACK_PUSH("Sound::addEventListener","native/media/Sound.hx",44); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(listener,"listener"); - HX_STACK_ARG(useCapture,"useCapture"); - HX_STACK_ARG(priority,"priority"); - HX_STACK_ARG(useWeakReference,"useWeakReference"); -{ - HX_STACK_LINE(46) - this->super::addEventListener(type,listener,useCapture,priority,useWeakReference); - HX_STACK_LINE(48) - if (((type == ::native::events::SampleDataEvent_obj::SAMPLE_DATA))){ - HX_STACK_LINE(50) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(51) - hx::Throw (HX_CSTRING("Can't use dynamic sound once file loaded")); - } - HX_STACK_LINE(53) - this->nmeDynamicSound = true; - HX_STACK_LINE(54) - this->nmeLoading = false; - } - } -return null(); -} - - -Dynamic Sound_obj::nme_sound_from_file; - -Dynamic Sound_obj::nme_sound_from_data; - -Dynamic Sound_obj::nme_sound_get_id3; - -Dynamic Sound_obj::nme_sound_get_length; - -Dynamic Sound_obj::nme_sound_close; - -Dynamic Sound_obj::nme_sound_get_status; - -Dynamic Sound_obj::nme_sound_channel_create_dynamic; - - -Sound_obj::Sound_obj() -{ -} - -void Sound_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Sound); - HX_MARK_MEMBER_NAME(nmeDynamicSound,"nmeDynamicSound"); - HX_MARK_MEMBER_NAME(nmeLoading,"nmeLoading"); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(url,"url"); - HX_MARK_MEMBER_NAME(length,"length"); - HX_MARK_MEMBER_NAME(isBuffering,"isBuffering"); - HX_MARK_MEMBER_NAME(id3,"id3"); - HX_MARK_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_MARK_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Sound_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeDynamicSound,"nmeDynamicSound"); - HX_VISIT_MEMBER_NAME(nmeLoading,"nmeLoading"); - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(url,"url"); - HX_VISIT_MEMBER_NAME(length,"length"); - HX_VISIT_MEMBER_NAME(isBuffering,"isBuffering"); - HX_VISIT_MEMBER_NAME(id3,"id3"); - HX_VISIT_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_VISIT_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Sound_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"url") ) { return url; } - if (HX_FIELD_EQ(inName,"id3") ) { return inCallProp ? get_id3() : id3; } - break; - case 4: - if (HX_FIELD_EQ(inName,"play") ) { return play_dyn(); } - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { return inCallProp ? get_length() : length; } - break; - case 7: - if (HX_FIELD_EQ(inName,"get_id3") ) { return get_id3_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - break; - case 10: - if (HX_FIELD_EQ(inName,"get_length") ) { return get_length_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnError") ) { return nmeOnError_dyn(); } - if (HX_FIELD_EQ(inName,"nmeLoading") ) { return nmeLoading; } - if (HX_FIELD_EQ(inName,"bytesTotal") ) { return bytesTotal; } - break; - case 11: - if (HX_FIELD_EQ(inName,"isBuffering") ) { return inCallProp ? get_isBuffering() : isBuffering; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { return bytesLoaded; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_sound_close") ) { return nme_sound_close; } - if (HX_FIELD_EQ(inName,"get_isBuffering") ) { return get_isBuffering_dyn(); } - if (HX_FIELD_EQ(inName,"nmeCheckLoading") ) { return nmeCheckLoading_dyn(); } - if (HX_FIELD_EQ(inName,"nmeDynamicSound") ) { return nmeDynamicSound; } - break; - case 16: - if (HX_FIELD_EQ(inName,"addEventListener") ) { return addEventListener_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_sound_get_id3") ) { return nme_sound_get_id3; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_sound_from_file") ) { return nme_sound_from_file; } - if (HX_FIELD_EQ(inName,"nme_sound_from_data") ) { return nme_sound_from_data; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_sound_get_length") ) { return nme_sound_get_length; } - if (HX_FIELD_EQ(inName,"nme_sound_get_status") ) { return nme_sound_get_status; } - if (HX_FIELD_EQ(inName,"loadPCMFromByteArray") ) { return loadPCMFromByteArray_dyn(); } - break; - case 31: - if (HX_FIELD_EQ(inName,"loadCompressedDataFromByteArray") ) { return loadCompressedDataFromByteArray_dyn(); } - break; - case 32: - if (HX_FIELD_EQ(inName,"nme_sound_channel_create_dynamic") ) { return nme_sound_channel_create_dynamic; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Sound_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"url") ) { url=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"id3") ) { id3=inValue.Cast< ::native::media::ID3Info >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { length=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeLoading") ) { nmeLoading=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesTotal") ) { bytesTotal=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"isBuffering") ) { isBuffering=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { bytesLoaded=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_sound_close") ) { nme_sound_close=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDynamicSound") ) { nmeDynamicSound=inValue.Cast< bool >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_sound_get_id3") ) { nme_sound_get_id3=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_sound_from_file") ) { nme_sound_from_file=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_sound_from_data") ) { nme_sound_from_data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_sound_get_length") ) { nme_sound_get_length=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_sound_get_status") ) { nme_sound_get_status=inValue.Cast< Dynamic >(); return inValue; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nme_sound_channel_create_dynamic") ) { nme_sound_channel_create_dynamic=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Sound_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeDynamicSound")); - outFields->push(HX_CSTRING("nmeLoading")); - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("url")); - outFields->push(HX_CSTRING("length")); - outFields->push(HX_CSTRING("isBuffering")); - outFields->push(HX_CSTRING("id3")); - outFields->push(HX_CSTRING("bytesTotal")); - outFields->push(HX_CSTRING("bytesLoaded")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_sound_from_file"), - HX_CSTRING("nme_sound_from_data"), - HX_CSTRING("nme_sound_get_id3"), - HX_CSTRING("nme_sound_get_length"), - HX_CSTRING("nme_sound_close"), - HX_CSTRING("nme_sound_get_status"), - HX_CSTRING("nme_sound_channel_create_dynamic"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("get_length"), - HX_CSTRING("get_isBuffering"), - HX_CSTRING("get_id3"), - HX_CSTRING("play"), - HX_CSTRING("nmeOnError"), - HX_CSTRING("nmeCheckLoading"), - HX_CSTRING("loadPCMFromByteArray"), - HX_CSTRING("loadCompressedDataFromByteArray"), - HX_CSTRING("load"), - HX_CSTRING("close"), - HX_CSTRING("addEventListener"), - HX_CSTRING("nmeDynamicSound"), - HX_CSTRING("nmeLoading"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("url"), - HX_CSTRING("length"), - HX_CSTRING("isBuffering"), - HX_CSTRING("id3"), - HX_CSTRING("bytesTotal"), - HX_CSTRING("bytesLoaded"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Sound_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_from_file,"nme_sound_from_file"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_from_data,"nme_sound_from_data"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_get_id3,"nme_sound_get_id3"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_get_length,"nme_sound_get_length"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_close,"nme_sound_close"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_get_status,"nme_sound_get_status"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_channel_create_dynamic,"nme_sound_channel_create_dynamic"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Sound_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_from_file,"nme_sound_from_file"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_from_data,"nme_sound_from_data"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_get_id3,"nme_sound_get_id3"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_get_length,"nme_sound_get_length"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_close,"nme_sound_close"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_get_status,"nme_sound_get_status"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_channel_create_dynamic,"nme_sound_channel_create_dynamic"); -}; - -Class Sound_obj::__mClass; - -void Sound_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.media.Sound"), hx::TCanCast< Sound_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Sound_obj::__boot() -{ - nme_sound_from_file= ::native::Loader_obj::load(HX_CSTRING("nme_sound_from_file"),(int)2); - nme_sound_from_data= ::native::Loader_obj::load(HX_CSTRING("nme_sound_from_data"),(int)3); - nme_sound_get_id3= ::native::Loader_obj::load(HX_CSTRING("nme_sound_get_id3"),(int)2); - nme_sound_get_length= ::native::Loader_obj::load(HX_CSTRING("nme_sound_get_length"),(int)1); - nme_sound_close= ::native::Loader_obj::load(HX_CSTRING("nme_sound_close"),(int)1); - nme_sound_get_status= ::native::Loader_obj::load(HX_CSTRING("nme_sound_get_status"),(int)1); - nme_sound_channel_create_dynamic= ::native::Loader_obj::load(HX_CSTRING("nme_sound_channel_create_dynamic"),(int)2); -} - -} // end namespace native -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/media/SoundChannel.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/media/SoundChannel.cpp deleted file mode 100644 index e310623..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/media/SoundChannel.cpp +++ /dev/null @@ -1,554 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_Loader -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_SampleDataEvent -#include -#endif -#ifndef INCLUDED_native_media_SoundChannel -#include -#endif -#ifndef INCLUDED_native_media_SoundTransform -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace native{ -namespace media{ - -Void SoundChannel_obj::__construct(Dynamic inSoundHandle,Float startTime,int loops,::native::media::SoundTransform sndTransform) -{ -HX_STACK_PUSH("SoundChannel::new","native/media/SoundChannel.hx",27); -{ - HX_STACK_LINE(29) - super::__construct(null()); - HX_STACK_LINE(31) - if (((sndTransform != null()))){ - HX_STACK_LINE(31) - this->nmeTransform = sndTransform->clone(); - } - HX_STACK_LINE(37) - if (((inSoundHandle != null()))){ - HX_STACK_LINE(38) - this->nmeHandle = ::native::media::SoundChannel_obj::nme_sound_channel_create(inSoundHandle,startTime,loops,this->nmeTransform); - } - HX_STACK_LINE(40) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(41) - ::native::media::SoundChannel_obj::nmeIncompleteList->push(hx::ObjectPtr(this)); - } -} -; - return null(); -} - -SoundChannel_obj::~SoundChannel_obj() { } - -Dynamic SoundChannel_obj::__CreateEmpty() { return new SoundChannel_obj; } -hx::ObjectPtr< SoundChannel_obj > SoundChannel_obj::__new(Dynamic inSoundHandle,Float startTime,int loops,::native::media::SoundTransform sndTransform) -{ hx::ObjectPtr< SoundChannel_obj > result = new SoundChannel_obj(); - result->__construct(inSoundHandle,startTime,loops,sndTransform); - return result;} - -Dynamic SoundChannel_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SoundChannel_obj > result = new SoundChannel_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -::native::media::SoundTransform SoundChannel_obj::set_soundTransform( ::native::media::SoundTransform inTransform){ - HX_STACK_PUSH("SoundChannel::set_soundTransform","native/media/SoundChannel.hx",163); - HX_STACK_THIS(this); - HX_STACK_ARG(inTransform,"inTransform"); - HX_STACK_LINE(165) - this->nmeTransform = inTransform->clone(); - HX_STACK_LINE(166) - ::native::media::SoundChannel_obj::nme_sound_channel_set_transform(this->nmeHandle,this->nmeTransform); - HX_STACK_LINE(168) - return inTransform; -} - - -HX_DEFINE_DYNAMIC_FUNC1(SoundChannel_obj,set_soundTransform,return ) - -::native::media::SoundTransform SoundChannel_obj::get_soundTransform( ){ - HX_STACK_PUSH("SoundChannel::get_soundTransform","native/media/SoundChannel.hx",150); - HX_STACK_THIS(this); - HX_STACK_LINE(152) - if (((this->nmeTransform == null()))){ - HX_STACK_LINE(152) - this->nmeTransform = ::native::media::SoundTransform_obj::__new(null(),null()); - } - HX_STACK_LINE(158) - return this->nmeTransform->clone(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,get_soundTransform,return ) - -Float SoundChannel_obj::get_position( ){ - HX_STACK_PUSH("SoundChannel::get_position","native/media/SoundChannel.hx",147); - HX_STACK_THIS(this); - HX_STACK_LINE(147) - return ::native::media::SoundChannel_obj::nme_sound_channel_get_position(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,get_position,return ) - -Float SoundChannel_obj::get_rightPeak( ){ - HX_STACK_PUSH("SoundChannel::get_rightPeak","native/media/SoundChannel.hx",146); - HX_STACK_THIS(this); - HX_STACK_LINE(146) - return ::native::media::SoundChannel_obj::nme_sound_channel_get_right(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,get_rightPeak,return ) - -Float SoundChannel_obj::get_leftPeak( ){ - HX_STACK_PUSH("SoundChannel::get_leftPeak","native/media/SoundChannel.hx",145); - HX_STACK_THIS(this); - HX_STACK_LINE(145) - return ::native::media::SoundChannel_obj::nme_sound_channel_get_left(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,get_leftPeak,return ) - -Void SoundChannel_obj::stop( ){ -{ - HX_STACK_PUSH("SoundChannel::stop","native/media/SoundChannel.hx",130); - HX_STACK_THIS(this); - HX_STACK_LINE(132) - ::native::media::SoundChannel_obj::nme_sound_channel_stop(this->nmeHandle); - HX_STACK_LINE(133) - this->nmeHandle = null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,stop,(void)) - -bool SoundChannel_obj::nmeCheckComplete( ){ - HX_STACK_PUSH("SoundChannel::nmeCheckComplete","native/media/SoundChannel.hx",60); - HX_STACK_THIS(this); - HX_STACK_LINE(62) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(64) - if (((bool((this->nmeDataProvider != null())) && bool(::native::media::SoundChannel_obj::nme_sound_channel_needs_data(this->nmeHandle))))){ - HX_STACK_LINE(66) - ::native::events::SampleDataEvent request = ::native::events::SampleDataEvent_obj::__new(::native::events::SampleDataEvent_obj::SAMPLE_DATA,null(),null()); HX_STACK_VAR(request,"request"); - HX_STACK_LINE(67) - request->position = ::native::media::SoundChannel_obj::nme_sound_channel_get_data_position(this->nmeHandle); - HX_STACK_LINE(68) - this->nmeDataProvider->dispatchEvent(request); - HX_STACK_LINE(70) - if (((request->data->length > (int)0))){ - HX_STACK_LINE(70) - ::native::media::SoundChannel_obj::nme_sound_channel_add_data(this->nmeHandle,request->data); - } - } - HX_STACK_LINE(78) - if ((::native::media::SoundChannel_obj::nme_sound_channel_is_complete(this->nmeHandle))){ - HX_STACK_LINE(80) - this->nmeHandle = null(); - HX_STACK_LINE(81) - if (((this->nmeDataProvider != null()))){ - HX_STACK_LINE(81) - (::native::media::SoundChannel_obj::nmeDynamicSoundCount)--; - } - HX_STACK_LINE(87) - ::native::events::Event complete = ::native::events::Event_obj::__new(::native::events::Event_obj::SOUND_COMPLETE,null(),null()); HX_STACK_VAR(complete,"complete"); - HX_STACK_LINE(88) - this->dispatchEvent(complete); - HX_STACK_LINE(89) - return true; - } - } - HX_STACK_LINE(95) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeCheckComplete,return ) - -int SoundChannel_obj::nmeDynamicSoundCount; - -Array< ::native::media::SoundChannel > SoundChannel_obj::nmeIncompleteList; - -::native::media::SoundChannel SoundChannel_obj::createDynamic( Dynamic inSoundHandle,::native::media::SoundTransform sndTransform,::native::events::EventDispatcher dataProvider){ - HX_STACK_PUSH("SoundChannel::createDynamic","native/media/SoundChannel.hx",46); - HX_STACK_ARG(inSoundHandle,"inSoundHandle"); - HX_STACK_ARG(sndTransform,"sndTransform"); - HX_STACK_ARG(dataProvider,"dataProvider"); - HX_STACK_LINE(48) - ::native::media::SoundChannel result = ::native::media::SoundChannel_obj::__new(null(),(int)0,(int)0,sndTransform); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(50) - result->nmeDataProvider = dataProvider; - HX_STACK_LINE(51) - result->nmeHandle = inSoundHandle; - HX_STACK_LINE(52) - ::native::media::SoundChannel_obj::nmeIncompleteList->push(result); - HX_STACK_LINE(53) - (::native::media::SoundChannel_obj::nmeDynamicSoundCount)++; - HX_STACK_LINE(55) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(SoundChannel_obj,createDynamic,return ) - -bool SoundChannel_obj::nmeCompletePending( ){ - HX_STACK_PUSH("SoundChannel::nmeCompletePending","native/media/SoundChannel.hx",100); - HX_STACK_LINE(100) - return (::native::media::SoundChannel_obj::nmeIncompleteList->length > (int)0); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeCompletePending,return ) - -Void SoundChannel_obj::nmePollComplete( ){ -{ - HX_STACK_PUSH("SoundChannel::nmePollComplete","native/media/SoundChannel.hx",107); - HX_STACK_LINE(107) - if (((::native::media::SoundChannel_obj::nmeIncompleteList->length > (int)0))){ - HX_STACK_LINE(111) - Array< ::native::media::SoundChannel > incomplete = Array_obj< ::native::media::SoundChannel >::__new(); HX_STACK_VAR(incomplete,"incomplete"); - HX_STACK_LINE(113) - { - HX_STACK_LINE(113) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::native::media::SoundChannel > _g1 = ::native::media::SoundChannel_obj::nmeIncompleteList; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(113) - while(((_g < _g1->length))){ - HX_STACK_LINE(113) - ::native::media::SoundChannel channel = _g1->__get(_g); HX_STACK_VAR(channel,"channel"); - HX_STACK_LINE(113) - ++(_g); - HX_STACK_LINE(115) - if ((!(channel->nmeCheckComplete()))){ - HX_STACK_LINE(115) - incomplete->push(channel); - } - } - } - HX_STACK_LINE(123) - ::native::media::SoundChannel_obj::nmeIncompleteList = incomplete; - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmePollComplete,(void)) - -Dynamic SoundChannel_obj::nme_sound_channel_is_complete; - -Dynamic SoundChannel_obj::nme_sound_channel_get_left; - -Dynamic SoundChannel_obj::nme_sound_channel_get_right; - -Dynamic SoundChannel_obj::nme_sound_channel_get_position; - -Dynamic SoundChannel_obj::nme_sound_channel_get_data_position; - -Dynamic SoundChannel_obj::nme_sound_channel_stop; - -Dynamic SoundChannel_obj::nme_sound_channel_create; - -Dynamic SoundChannel_obj::nme_sound_channel_set_transform; - -Dynamic SoundChannel_obj::nme_sound_channel_needs_data; - -Dynamic SoundChannel_obj::nme_sound_channel_add_data; - - -SoundChannel_obj::SoundChannel_obj() -{ -} - -void SoundChannel_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SoundChannel); - HX_MARK_MEMBER_NAME(nmeDataProvider,"nmeDataProvider"); - HX_MARK_MEMBER_NAME(nmeTransform,"nmeTransform"); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(soundTransform,"soundTransform"); - HX_MARK_MEMBER_NAME(position,"position"); - HX_MARK_MEMBER_NAME(rightPeak,"rightPeak"); - HX_MARK_MEMBER_NAME(leftPeak,"leftPeak"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void SoundChannel_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeDataProvider,"nmeDataProvider"); - HX_VISIT_MEMBER_NAME(nmeTransform,"nmeTransform"); - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(soundTransform,"soundTransform"); - HX_VISIT_MEMBER_NAME(position,"position"); - HX_VISIT_MEMBER_NAME(rightPeak,"rightPeak"); - HX_VISIT_MEMBER_NAME(leftPeak,"leftPeak"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic SoundChannel_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"stop") ) { return stop_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"position") ) { return inCallProp ? get_position() : position; } - if (HX_FIELD_EQ(inName,"leftPeak") ) { return inCallProp ? get_leftPeak() : leftPeak; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - if (HX_FIELD_EQ(inName,"rightPeak") ) { return inCallProp ? get_rightPeak() : rightPeak; } - break; - case 12: - if (HX_FIELD_EQ(inName,"get_position") ) { return get_position_dyn(); } - if (HX_FIELD_EQ(inName,"get_leftPeak") ) { return get_leftPeak_dyn(); } - if (HX_FIELD_EQ(inName,"nmeTransform") ) { return nmeTransform; } - break; - case 13: - if (HX_FIELD_EQ(inName,"createDynamic") ) { return createDynamic_dyn(); } - if (HX_FIELD_EQ(inName,"get_rightPeak") ) { return get_rightPeak_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"soundTransform") ) { return inCallProp ? get_soundTransform() : soundTransform; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmePollComplete") ) { return nmePollComplete_dyn(); } - if (HX_FIELD_EQ(inName,"nmeDataProvider") ) { return nmeDataProvider; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeCheckComplete") ) { return nmeCheckComplete_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeIncompleteList") ) { return nmeIncompleteList; } - break; - case 18: - if (HX_FIELD_EQ(inName,"nmeCompletePending") ) { return nmeCompletePending_dyn(); } - if (HX_FIELD_EQ(inName,"set_soundTransform") ) { return set_soundTransform_dyn(); } - if (HX_FIELD_EQ(inName,"get_soundTransform") ) { return get_soundTransform_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeDynamicSoundCount") ) { return nmeDynamicSoundCount; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_sound_channel_stop") ) { return nme_sound_channel_stop; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_sound_channel_create") ) { return nme_sound_channel_create; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_left") ) { return nme_sound_channel_get_left; } - if (HX_FIELD_EQ(inName,"nme_sound_channel_add_data") ) { return nme_sound_channel_add_data; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_right") ) { return nme_sound_channel_get_right; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_sound_channel_needs_data") ) { return nme_sound_channel_needs_data; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_sound_channel_is_complete") ) { return nme_sound_channel_is_complete; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_position") ) { return nme_sound_channel_get_position; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_sound_channel_set_transform") ) { return nme_sound_channel_set_transform; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_data_position") ) { return nme_sound_channel_get_data_position; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SoundChannel_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"position") ) { position=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"leftPeak") ) { leftPeak=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"rightPeak") ) { rightPeak=inValue.Cast< Float >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeTransform") ) { nmeTransform=inValue.Cast< ::native::media::SoundTransform >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"soundTransform") ) { if (inCallProp) return set_soundTransform(inValue);soundTransform=inValue.Cast< ::native::media::SoundTransform >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeDataProvider") ) { nmeDataProvider=inValue.Cast< ::native::events::EventDispatcher >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeIncompleteList") ) { nmeIncompleteList=inValue.Cast< Array< ::native::media::SoundChannel > >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeDynamicSoundCount") ) { nmeDynamicSoundCount=inValue.Cast< int >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_sound_channel_stop") ) { nme_sound_channel_stop=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_sound_channel_create") ) { nme_sound_channel_create=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_left") ) { nme_sound_channel_get_left=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_sound_channel_add_data") ) { nme_sound_channel_add_data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_right") ) { nme_sound_channel_get_right=inValue.Cast< Dynamic >(); return inValue; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_sound_channel_needs_data") ) { nme_sound_channel_needs_data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_sound_channel_is_complete") ) { nme_sound_channel_is_complete=inValue.Cast< Dynamic >(); return inValue; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_position") ) { nme_sound_channel_get_position=inValue.Cast< Dynamic >(); return inValue; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_sound_channel_set_transform") ) { nme_sound_channel_set_transform=inValue.Cast< Dynamic >(); return inValue; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_data_position") ) { nme_sound_channel_get_data_position=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SoundChannel_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeDataProvider")); - outFields->push(HX_CSTRING("nmeTransform")); - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("soundTransform")); - outFields->push(HX_CSTRING("position")); - outFields->push(HX_CSTRING("rightPeak")); - outFields->push(HX_CSTRING("leftPeak")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nmeDynamicSoundCount"), - HX_CSTRING("nmeIncompleteList"), - HX_CSTRING("createDynamic"), - HX_CSTRING("nmeCompletePending"), - HX_CSTRING("nmePollComplete"), - HX_CSTRING("nme_sound_channel_is_complete"), - HX_CSTRING("nme_sound_channel_get_left"), - HX_CSTRING("nme_sound_channel_get_right"), - HX_CSTRING("nme_sound_channel_get_position"), - HX_CSTRING("nme_sound_channel_get_data_position"), - HX_CSTRING("nme_sound_channel_stop"), - HX_CSTRING("nme_sound_channel_create"), - HX_CSTRING("nme_sound_channel_set_transform"), - HX_CSTRING("nme_sound_channel_needs_data"), - HX_CSTRING("nme_sound_channel_add_data"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("set_soundTransform"), - HX_CSTRING("get_soundTransform"), - HX_CSTRING("get_position"), - HX_CSTRING("get_rightPeak"), - HX_CSTRING("get_leftPeak"), - HX_CSTRING("stop"), - HX_CSTRING("nmeCheckComplete"), - HX_CSTRING("nmeDataProvider"), - HX_CSTRING("nmeTransform"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("soundTransform"), - HX_CSTRING("position"), - HX_CSTRING("rightPeak"), - HX_CSTRING("leftPeak"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SoundChannel_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nmeDynamicSoundCount,"nmeDynamicSoundCount"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nmeIncompleteList,"nmeIncompleteList"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_is_complete,"nme_sound_channel_is_complete"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_left,"nme_sound_channel_get_left"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_right,"nme_sound_channel_get_right"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_position,"nme_sound_channel_get_position"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_data_position,"nme_sound_channel_get_data_position"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_stop,"nme_sound_channel_stop"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_create,"nme_sound_channel_create"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_set_transform,"nme_sound_channel_set_transform"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_needs_data,"nme_sound_channel_needs_data"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_add_data,"nme_sound_channel_add_data"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SoundChannel_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nmeDynamicSoundCount,"nmeDynamicSoundCount"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nmeIncompleteList,"nmeIncompleteList"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_is_complete,"nme_sound_channel_is_complete"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_left,"nme_sound_channel_get_left"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_right,"nme_sound_channel_get_right"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_position,"nme_sound_channel_get_position"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_data_position,"nme_sound_channel_get_data_position"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_stop,"nme_sound_channel_stop"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_create,"nme_sound_channel_create"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_set_transform,"nme_sound_channel_set_transform"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_needs_data,"nme_sound_channel_needs_data"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_add_data,"nme_sound_channel_add_data"); -}; - -Class SoundChannel_obj::__mClass; - -void SoundChannel_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.media.SoundChannel"), hx::TCanCast< SoundChannel_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SoundChannel_obj::__boot() -{ - nmeDynamicSoundCount= (int)0; - nmeIncompleteList= Array_obj< ::native::media::SoundChannel >::__new(); - nme_sound_channel_is_complete= ::native::Loader_obj::load(HX_CSTRING("nme_sound_channel_is_complete"),(int)1); - nme_sound_channel_get_left= ::native::Loader_obj::load(HX_CSTRING("nme_sound_channel_get_left"),(int)1); - nme_sound_channel_get_right= ::native::Loader_obj::load(HX_CSTRING("nme_sound_channel_get_right"),(int)1); - nme_sound_channel_get_position= ::native::Loader_obj::load(HX_CSTRING("nme_sound_channel_get_position"),(int)1); - nme_sound_channel_get_data_position= ::native::Loader_obj::load(HX_CSTRING("nme_sound_channel_get_data_position"),(int)1); - nme_sound_channel_stop= ::native::Loader_obj::load(HX_CSTRING("nme_sound_channel_stop"),(int)1); - nme_sound_channel_create= ::native::Loader_obj::load(HX_CSTRING("nme_sound_channel_create"),(int)4); - nme_sound_channel_set_transform= ::native::Loader_obj::load(HX_CSTRING("nme_sound_channel_set_transform"),(int)2); - nme_sound_channel_needs_data= ::native::Loader_obj::load(HX_CSTRING("nme_sound_channel_needs_data"),(int)1); - nme_sound_channel_add_data= ::native::Loader_obj::load(HX_CSTRING("nme_sound_channel_add_data"),(int)2); -} - -} // end namespace native -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/media/SoundLoaderContext.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/media/SoundLoaderContext.cpp deleted file mode 100644 index 4f1760d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/media/SoundLoaderContext.cpp +++ /dev/null @@ -1,89 +0,0 @@ -#include - -#ifndef INCLUDED_native_media_SoundLoaderContext -#include -#endif -namespace native{ -namespace media{ - -Void SoundLoaderContext_obj::__construct() -{ -HX_STACK_PUSH("SoundLoaderContext::new","native/media/SoundLoaderContext.hx",7); -{ -} -; - return null(); -} - -SoundLoaderContext_obj::~SoundLoaderContext_obj() { } - -Dynamic SoundLoaderContext_obj::__CreateEmpty() { return new SoundLoaderContext_obj; } -hx::ObjectPtr< SoundLoaderContext_obj > SoundLoaderContext_obj::__new() -{ hx::ObjectPtr< SoundLoaderContext_obj > result = new SoundLoaderContext_obj(); - result->__construct(); - return result;} - -Dynamic SoundLoaderContext_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SoundLoaderContext_obj > result = new SoundLoaderContext_obj(); - result->__construct(); - return result;} - - -SoundLoaderContext_obj::SoundLoaderContext_obj() -{ -} - -void SoundLoaderContext_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SoundLoaderContext); - HX_MARK_END_CLASS(); -} - -void SoundLoaderContext_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic SoundLoaderContext_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic SoundLoaderContext_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void SoundLoaderContext_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SoundLoaderContext_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SoundLoaderContext_obj::__mClass,"__mClass"); -}; - -Class SoundLoaderContext_obj::__mClass; - -void SoundLoaderContext_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.media.SoundLoaderContext"), hx::TCanCast< SoundLoaderContext_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SoundLoaderContext_obj::__boot() -{ -} - -} // end namespace native -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/media/SoundTransform.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/media/SoundTransform.cpp deleted file mode 100644 index 8d4b5dd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/media/SoundTransform.cpp +++ /dev/null @@ -1,131 +0,0 @@ -#include - -#ifndef INCLUDED_native_media_SoundTransform -#include -#endif -namespace native{ -namespace media{ - -Void SoundTransform_obj::__construct(hx::Null< Float > __o_vol,hx::Null< Float > __o_panning) -{ -HX_STACK_PUSH("SoundTransform::new","native/media/SoundTransform.hx",11); -Float vol = __o_vol.Default(1.0); -Float panning = __o_panning.Default(0.0); -{ - HX_STACK_LINE(13) - this->volume = vol; - HX_STACK_LINE(14) - this->pan = panning; -} -; - return null(); -} - -SoundTransform_obj::~SoundTransform_obj() { } - -Dynamic SoundTransform_obj::__CreateEmpty() { return new SoundTransform_obj; } -hx::ObjectPtr< SoundTransform_obj > SoundTransform_obj::__new(hx::Null< Float > __o_vol,hx::Null< Float > __o_panning) -{ hx::ObjectPtr< SoundTransform_obj > result = new SoundTransform_obj(); - result->__construct(__o_vol,__o_panning); - return result;} - -Dynamic SoundTransform_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SoundTransform_obj > result = new SoundTransform_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::native::media::SoundTransform SoundTransform_obj::clone( ){ - HX_STACK_PUSH("SoundTransform::clone","native/media/SoundTransform.hx",19); - HX_STACK_THIS(this); - HX_STACK_LINE(19) - return ::native::media::SoundTransform_obj::__new(this->volume,this->pan); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundTransform_obj,clone,return ) - - -SoundTransform_obj::SoundTransform_obj() -{ -} - -void SoundTransform_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SoundTransform); - HX_MARK_MEMBER_NAME(volume,"volume"); - HX_MARK_MEMBER_NAME(pan,"pan"); - HX_MARK_END_CLASS(); -} - -void SoundTransform_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(volume,"volume"); - HX_VISIT_MEMBER_NAME(pan,"pan"); -} - -Dynamic SoundTransform_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"pan") ) { return pan; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"volume") ) { return volume; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SoundTransform_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"pan") ) { pan=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"volume") ) { volume=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SoundTransform_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("volume")); - outFields->push(HX_CSTRING("pan")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("clone"), - HX_CSTRING("volume"), - HX_CSTRING("pan"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SoundTransform_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SoundTransform_obj::__mClass,"__mClass"); -}; - -Class SoundTransform_obj::__mClass; - -void SoundTransform_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.media.SoundTransform"), hx::TCanCast< SoundTransform_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SoundTransform_obj::__boot() -{ -} - -} // end namespace native -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/net/URLLoader.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/net/URLLoader.cpp deleted file mode 100644 index d0bd5a4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/net/URLLoader.cpp +++ /dev/null @@ -1,705 +0,0 @@ -#include - -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_Loader -#include -#endif -#ifndef INCLUDED_native_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_native_events_Event -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_HTTPStatusEvent -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IOErrorEvent -#include -#endif -#ifndef INCLUDED_native_events_ProgressEvent -#include -#endif -#ifndef INCLUDED_native_events_TextEvent -#include -#endif -#ifndef INCLUDED_native_net_URLLoader -#include -#endif -#ifndef INCLUDED_native_net_URLLoaderDataFormat -#include -#endif -#ifndef INCLUDED_native_net_URLRequest -#include -#endif -#ifndef INCLUDED_native_net_URLVariables -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace native{ -namespace net{ - -Void URLLoader_obj::__construct(::native::net::URLRequest request) -{ -HX_STACK_PUSH("URLLoader::new","native/net/URLLoader.hx",43); -{ - HX_STACK_LINE(45) - super::__construct(null()); - HX_STACK_LINE(47) - this->nmeHandle = (int)0; - HX_STACK_LINE(48) - this->bytesLoaded = (int)0; - HX_STACK_LINE(49) - this->bytesTotal = (int)-1; - HX_STACK_LINE(50) - this->state = (int)0; - HX_STACK_LINE(51) - this->dataFormat = ::native::net::URLLoaderDataFormat_obj::TEXT_dyn(); - HX_STACK_LINE(53) - if (((request != null()))){ - HX_STACK_LINE(54) - this->load(request); - } -} -; - return null(); -} - -URLLoader_obj::~URLLoader_obj() { } - -Dynamic URLLoader_obj::__CreateEmpty() { return new URLLoader_obj; } -hx::ObjectPtr< URLLoader_obj > URLLoader_obj::__new(::native::net::URLRequest request) -{ hx::ObjectPtr< URLLoader_obj > result = new URLLoader_obj(); - result->__construct(request); - return result;} - -Dynamic URLLoader_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLLoader_obj > result = new URLLoader_obj(); - result->__construct(inArgs[0]); - return result;} - -Void URLLoader_obj::update( ){ -{ - HX_STACK_PUSH("URLLoader::update","native/net/URLLoader.hx",197); - HX_STACK_THIS(this); - HX_STACK_LINE(197) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(201) - int old_loaded = this->bytesLoaded; HX_STACK_VAR(old_loaded,"old_loaded"); - HX_STACK_LINE(202) - int old_total = this->bytesTotal; HX_STACK_VAR(old_total,"old_total"); - HX_STACK_LINE(203) - ::native::net::URLLoader_obj::nme_curl_update_loader(this->nmeHandle,hx::ObjectPtr(this)); - HX_STACK_LINE(205) - if (((bool((old_total < (int)0)) && bool((this->bytesTotal > (int)0))))){ - HX_STACK_LINE(205) - this->dispatchEvent(::native::events::Event_obj::__new(::native::events::Event_obj::OPEN,null(),null())); - } - HX_STACK_LINE(211) - if (((bool((this->bytesTotal > (int)0)) && bool((this->bytesLoaded != old_loaded))))){ - HX_STACK_LINE(211) - this->dispatchEvent(::native::events::ProgressEvent_obj::__new(HX_CSTRING("progress"),false,false,this->bytesLoaded,this->bytesTotal)); - } - HX_STACK_LINE(217) - int code = ::native::net::URLLoader_obj::nme_curl_get_code(this->nmeHandle); HX_STACK_VAR(code,"code"); - HX_STACK_LINE(219) - if (((this->state == (int)3))){ - HX_STACK_LINE(221) - this->dispatchHTTPStatus(code); - HX_STACK_LINE(223) - if (((code < (int)400))){ - HX_STACK_LINE(225) - ::native::utils::ByteArray bytes = ::native::net::URLLoader_obj::nme_curl_get_data(this->nmeHandle); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(227) - { - ::native::net::URLLoaderDataFormat _switch_1 = (this->dataFormat); - switch((_switch_1)->GetIndex()){ - case 1: case 2: { - HX_STACK_LINE(228) - this->data = ( (((bytes == null()))) ? ::String(HX_CSTRING("")) : ::String(bytes->asString()) ); - } - ;break; - default: { - HX_STACK_LINE(230) - this->data = bytes; - } - } - } - HX_STACK_LINE(234) - this->nmeDataComplete(); - } - else{ - HX_STACK_LINE(239) - ::native::events::IOErrorEvent evt = ::native::events::IOErrorEvent_obj::__new(::native::events::IOErrorEvent_obj::IO_ERROR,true,false,(HX_CSTRING("HTTP status code ") + ::Std_obj::string(code)),code); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(240) - this->nmeHandle = null(); - HX_STACK_LINE(241) - this->dispatchEvent(evt); - } - } - else{ - HX_STACK_LINE(245) - if (((this->state == (int)4))){ - HX_STACK_LINE(247) - this->dispatchHTTPStatus(code); - HX_STACK_LINE(249) - ::native::events::IOErrorEvent evt = ::native::events::IOErrorEvent_obj::__new(::native::events::IOErrorEvent_obj::IO_ERROR,true,false,::native::net::URLLoader_obj::nme_curl_get_error_message(this->nmeHandle),code); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(250) - this->nmeHandle = null(); - HX_STACK_LINE(251) - this->dispatchEvent(evt); - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,update,(void)) - -Void URLLoader_obj::dispatchHTTPStatus( int code){ -{ - HX_STACK_PUSH("URLLoader::dispatchHTTPStatus","native/net/URLLoader.hx",190); - HX_STACK_THIS(this); - HX_STACK_ARG(code,"code"); - HX_STACK_LINE(190) - this->dispatchEvent(::native::events::HTTPStatusEvent_obj::__new(::native::events::HTTPStatusEvent_obj::HTTP_STATUS,false,false,code)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(URLLoader_obj,dispatchHTTPStatus,(void)) - -Void URLLoader_obj::onError( ::String msg){ -{ - HX_STACK_PUSH("URLLoader::onError","native/net/URLLoader.hx",182); - HX_STACK_THIS(this); - HX_STACK_ARG(msg,"msg"); - HX_STACK_LINE(184) - ::native::net::URLLoader_obj::activeLoaders->remove(hx::ObjectPtr(this)); - HX_STACK_LINE(185) - this->dispatchEvent(::native::events::IOErrorEvent_obj::__new(::native::events::IOErrorEvent_obj::IO_ERROR,true,false,msg,null())); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(URLLoader_obj,onError,(void)) - -Void URLLoader_obj::nmeDataComplete( ){ -{ - HX_STACK_PUSH("URLLoader::nmeDataComplete","native/net/URLLoader.hx",134); - HX_STACK_THIS(this); - HX_STACK_LINE(136) - ::native::net::URLLoader_obj::activeLoaders->remove(hx::ObjectPtr(this)); - HX_STACK_LINE(138) - if (((this->nmeOnComplete_dyn() != null()))){ - HX_STACK_LINE(138) - if ((this->nmeOnComplete(this->data))){ - HX_STACK_LINE(141) - this->dispatchEvent(::native::events::Event_obj::__new(::native::events::Event_obj::COMPLETE,null(),null())); - } - else{ - HX_STACK_LINE(143) - this->DispatchIOErrorEvent(); - } - } - else{ - HX_STACK_LINE(145) - this->dispatchEvent(::native::events::Event_obj::__new(::native::events::Event_obj::COMPLETE,null(),null())); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,nmeDataComplete,(void)) - -Void URLLoader_obj::load( ::native::net::URLRequest request){ -{ - HX_STACK_PUSH("URLLoader::load","native/net/URLLoader.hx",87); - HX_STACK_THIS(this); - HX_STACK_ARG(request,"request"); - HX_STACK_LINE(89) - this->state = (int)1; - HX_STACK_LINE(90) - ::String pref = request->url.substr((int)0,(int)7); HX_STACK_VAR(pref,"pref"); - HX_STACK_LINE(92) - if (((bool((pref != HX_CSTRING("http://"))) && bool((pref != HX_CSTRING("https:/")))))){ - HX_STACK_LINE(94) - try{ - HX_STACK_LINE(96) - ::native::utils::ByteArray bytes = ::native::utils::ByteArray_obj::readFile(request->url); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(98) - if (((bytes == null()))){ - HX_STACK_LINE(99) - hx::Throw (((HX_CSTRING("Could not open file \"") + request->url) + HX_CSTRING("\""))); - } - HX_STACK_LINE(101) - { - ::native::net::URLLoaderDataFormat _switch_2 = (this->dataFormat); - switch((_switch_2)->GetIndex()){ - case 1: { - HX_STACK_LINE(102) - this->data = bytes->asString(); - } - ;break; - case 2: { - HX_STACK_LINE(104) - this->data = ::native::net::URLVariables_obj::__new(bytes->asString()); - } - ;break; - default: { - HX_STACK_LINE(106) - this->data = bytes; - } - } - } - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(112) - this->onError(e); - HX_STACK_LINE(113) - return null(); - } - } - } - HX_STACK_LINE(117) - this->nmeDataComplete(); - } - else{ - HX_STACK_LINE(121) - request->nmePrepare(); - HX_STACK_LINE(122) - this->nmeHandle = ::native::net::URLLoader_obj::nme_curl_create(request); - HX_STACK_LINE(124) - if (((this->nmeHandle == null()))){ - HX_STACK_LINE(125) - this->onError(HX_CSTRING("Could not open URL")); - } - else{ - HX_STACK_LINE(127) - ::native::net::URLLoader_obj::activeLoaders->push(hx::ObjectPtr(this)); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(URLLoader_obj,load,(void)) - -Array< ::String > URLLoader_obj::getCookies( ){ - HX_STACK_PUSH("URLLoader::getCookies","native/net/URLLoader.hx",66); - HX_STACK_THIS(this); - HX_STACK_LINE(66) - return ::native::net::URLLoader_obj::nme_curl_get_cookies(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,getCookies,return ) - -Void URLLoader_obj::close( ){ -{ - HX_STACK_PUSH("URLLoader::close","native/net/URLLoader.hx",59); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,close,(void)) - -::List URLLoader_obj::activeLoaders; - -int URLLoader_obj::urlInvalid; - -int URLLoader_obj::urlInit; - -int URLLoader_obj::urlLoading; - -int URLLoader_obj::urlComplete; - -int URLLoader_obj::urlError; - -bool URLLoader_obj::hasActive( ){ - HX_STACK_PUSH("URLLoader::hasActive","native/net/URLLoader.hx",73); - HX_STACK_LINE(73) - return !(::native::net::URLLoader_obj::activeLoaders->isEmpty()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,hasActive,return ) - -Void URLLoader_obj::initialize( ::String inCACertFilePath){ -{ - HX_STACK_PUSH("URLLoader::initialize","native/net/URLLoader.hx",80); - HX_STACK_ARG(inCACertFilePath,"inCACertFilePath"); - HX_STACK_LINE(80) - ::native::net::URLLoader_obj::nme_curl_initialize(inCACertFilePath); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(URLLoader_obj,initialize,(void)) - -bool URLLoader_obj::nmeLoadPending( ){ - HX_STACK_PUSH("URLLoader::nmeLoadPending","native/net/URLLoader.hx",154); - HX_STACK_LINE(154) - return !(::native::net::URLLoader_obj::activeLoaders->isEmpty()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,nmeLoadPending,return ) - -Void URLLoader_obj::nmePollData( ){ -{ - HX_STACK_PUSH("URLLoader::nmePollData","native/net/URLLoader.hx",161); - HX_STACK_LINE(161) - if ((!(::native::net::URLLoader_obj::activeLoaders->isEmpty()))){ - HX_STACK_LINE(165) - ::native::net::URLLoader_obj::nme_curl_process_loaders(); - HX_STACK_LINE(166) - ::List oldLoaders = ::native::net::URLLoader_obj::activeLoaders; HX_STACK_VAR(oldLoaders,"oldLoaders"); - HX_STACK_LINE(167) - ::native::net::URLLoader_obj::activeLoaders = ::List_obj::__new(); - HX_STACK_LINE(169) - for(::cpp::FastIterator_obj< ::native::net::URLLoader > *__it = ::cpp::CreateFastIterator< ::native::net::URLLoader >(oldLoaders->iterator()); __it->hasNext(); ){ - ::native::net::URLLoader loader = __it->next(); - { - HX_STACK_LINE(171) - loader->update(); - HX_STACK_LINE(172) - if (((loader->state == (int)2))){ - HX_STACK_LINE(173) - ::native::net::URLLoader_obj::activeLoaders->push(loader); - } - } -; - } - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,nmePollData,(void)) - -Dynamic URLLoader_obj::nme_curl_create; - -Dynamic URLLoader_obj::nme_curl_process_loaders; - -Dynamic URLLoader_obj::nme_curl_update_loader; - -Dynamic URLLoader_obj::nme_curl_get_code; - -Dynamic URLLoader_obj::nme_curl_get_error_message; - -Dynamic URLLoader_obj::nme_curl_get_data; - -Dynamic URLLoader_obj::nme_curl_get_cookies; - -Dynamic URLLoader_obj::nme_curl_initialize; - - -URLLoader_obj::URLLoader_obj() -{ -} - -void URLLoader_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLLoader); - HX_MARK_MEMBER_NAME(nmeOnComplete,"nmeOnComplete"); - HX_MARK_MEMBER_NAME(state,"state"); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(dataFormat,"dataFormat"); - HX_MARK_MEMBER_NAME(data,"data"); - HX_MARK_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_MARK_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void URLLoader_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeOnComplete,"nmeOnComplete"); - HX_VISIT_MEMBER_NAME(state,"state"); - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(dataFormat,"dataFormat"); - HX_VISIT_MEMBER_NAME(data,"data"); - HX_VISIT_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_VISIT_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic URLLoader_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - if (HX_FIELD_EQ(inName,"data") ) { return data; } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"state") ) { return state; } - break; - case 6: - if (HX_FIELD_EQ(inName,"update") ) { return update_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"urlInit") ) { return urlInit; } - if (HX_FIELD_EQ(inName,"onError") ) { return onError_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"urlError") ) { return urlError; } - break; - case 9: - if (HX_FIELD_EQ(inName,"hasActive") ) { return hasActive_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - break; - case 10: - if (HX_FIELD_EQ(inName,"urlInvalid") ) { return urlInvalid; } - if (HX_FIELD_EQ(inName,"urlLoading") ) { return urlLoading; } - if (HX_FIELD_EQ(inName,"initialize") ) { return initialize_dyn(); } - if (HX_FIELD_EQ(inName,"getCookies") ) { return getCookies_dyn(); } - if (HX_FIELD_EQ(inName,"dataFormat") ) { return dataFormat; } - if (HX_FIELD_EQ(inName,"bytesTotal") ) { return bytesTotal; } - break; - case 11: - if (HX_FIELD_EQ(inName,"urlComplete") ) { return urlComplete; } - if (HX_FIELD_EQ(inName,"nmePollData") ) { return nmePollData_dyn(); } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { return bytesLoaded; } - break; - case 13: - if (HX_FIELD_EQ(inName,"activeLoaders") ) { return activeLoaders; } - if (HX_FIELD_EQ(inName,"nmeOnComplete") ) { return nmeOnComplete; } - break; - case 14: - if (HX_FIELD_EQ(inName,"nmeLoadPending") ) { return nmeLoadPending_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_curl_create") ) { return nme_curl_create; } - if (HX_FIELD_EQ(inName,"nmeDataComplete") ) { return nmeDataComplete_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_curl_get_code") ) { return nme_curl_get_code; } - if (HX_FIELD_EQ(inName,"nme_curl_get_data") ) { return nme_curl_get_data; } - break; - case 18: - if (HX_FIELD_EQ(inName,"dispatchHTTPStatus") ) { return dispatchHTTPStatus_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_curl_initialize") ) { return nme_curl_initialize; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_curl_get_cookies") ) { return nme_curl_get_cookies; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_curl_update_loader") ) { return nme_curl_update_loader; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_curl_process_loaders") ) { return nme_curl_process_loaders; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_curl_get_error_message") ) { return nme_curl_get_error_message; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic URLLoader_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"data") ) { data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"state") ) { state=inValue.Cast< int >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"urlInit") ) { urlInit=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"urlError") ) { urlError=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"urlInvalid") ) { urlInvalid=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"urlLoading") ) { urlLoading=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"dataFormat") ) { dataFormat=inValue.Cast< ::native::net::URLLoaderDataFormat >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesTotal") ) { bytesTotal=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"urlComplete") ) { urlComplete=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { bytesLoaded=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"activeLoaders") ) { activeLoaders=inValue.Cast< ::List >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeOnComplete") ) { nmeOnComplete=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_curl_create") ) { nme_curl_create=inValue.Cast< Dynamic >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_curl_get_code") ) { nme_curl_get_code=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_curl_get_data") ) { nme_curl_get_data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_curl_initialize") ) { nme_curl_initialize=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_curl_get_cookies") ) { nme_curl_get_cookies=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_curl_update_loader") ) { nme_curl_update_loader=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_curl_process_loaders") ) { nme_curl_process_loaders=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_curl_get_error_message") ) { nme_curl_get_error_message=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void URLLoader_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("state")); - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("dataFormat")); - outFields->push(HX_CSTRING("data")); - outFields->push(HX_CSTRING("bytesTotal")); - outFields->push(HX_CSTRING("bytesLoaded")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("activeLoaders"), - HX_CSTRING("urlInvalid"), - HX_CSTRING("urlInit"), - HX_CSTRING("urlLoading"), - HX_CSTRING("urlComplete"), - HX_CSTRING("urlError"), - HX_CSTRING("hasActive"), - HX_CSTRING("initialize"), - HX_CSTRING("nmeLoadPending"), - HX_CSTRING("nmePollData"), - HX_CSTRING("nme_curl_create"), - HX_CSTRING("nme_curl_process_loaders"), - HX_CSTRING("nme_curl_update_loader"), - HX_CSTRING("nme_curl_get_code"), - HX_CSTRING("nme_curl_get_error_message"), - HX_CSTRING("nme_curl_get_data"), - HX_CSTRING("nme_curl_get_cookies"), - HX_CSTRING("nme_curl_initialize"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("update"), - HX_CSTRING("dispatchHTTPStatus"), - HX_CSTRING("onError"), - HX_CSTRING("nmeDataComplete"), - HX_CSTRING("load"), - HX_CSTRING("getCookies"), - HX_CSTRING("close"), - HX_CSTRING("nmeOnComplete"), - HX_CSTRING("state"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("dataFormat"), - HX_CSTRING("data"), - HX_CSTRING("bytesTotal"), - HX_CSTRING("bytesLoaded"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLLoader_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(URLLoader_obj::activeLoaders,"activeLoaders"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlInvalid,"urlInvalid"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlInit,"urlInit"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlLoading,"urlLoading"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlComplete,"urlComplete"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlError,"urlError"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_create,"nme_curl_create"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_process_loaders,"nme_curl_process_loaders"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_update_loader,"nme_curl_update_loader"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_get_code,"nme_curl_get_code"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_get_error_message,"nme_curl_get_error_message"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_get_data,"nme_curl_get_data"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_get_cookies,"nme_curl_get_cookies"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_initialize,"nme_curl_initialize"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLLoader_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::activeLoaders,"activeLoaders"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlInvalid,"urlInvalid"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlInit,"urlInit"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlLoading,"urlLoading"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlComplete,"urlComplete"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlError,"urlError"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_create,"nme_curl_create"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_process_loaders,"nme_curl_process_loaders"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_update_loader,"nme_curl_update_loader"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_get_code,"nme_curl_get_code"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_get_error_message,"nme_curl_get_error_message"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_get_data,"nme_curl_get_data"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_get_cookies,"nme_curl_get_cookies"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_initialize,"nme_curl_initialize"); -}; - -Class URLLoader_obj::__mClass; - -void URLLoader_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.net.URLLoader"), hx::TCanCast< URLLoader_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLLoader_obj::__boot() -{ - activeLoaders= ::List_obj::__new(); - urlInvalid= (int)0; - urlInit= (int)1; - urlLoading= (int)2; - urlComplete= (int)3; - urlError= (int)4; - nme_curl_create= ::native::Loader_obj::load(HX_CSTRING("nme_curl_create"),(int)1); - nme_curl_process_loaders= ::native::Loader_obj::load(HX_CSTRING("nme_curl_process_loaders"),(int)0); - nme_curl_update_loader= ::native::Loader_obj::load(HX_CSTRING("nme_curl_update_loader"),(int)2); - nme_curl_get_code= ::native::Loader_obj::load(HX_CSTRING("nme_curl_get_code"),(int)1); - nme_curl_get_error_message= ::native::Loader_obj::load(HX_CSTRING("nme_curl_get_error_message"),(int)1); - nme_curl_get_data= ::native::Loader_obj::load(HX_CSTRING("nme_curl_get_data"),(int)1); - nme_curl_get_cookies= ::native::Loader_obj::load(HX_CSTRING("nme_curl_get_cookies"),(int)1); - nme_curl_initialize= ::native::Loader_obj::load(HX_CSTRING("nme_curl_initialize"),(int)1); -} - -} // end namespace native -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/net/URLLoaderDataFormat.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/net/URLLoaderDataFormat.cpp deleted file mode 100644 index 1d596a2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/net/URLLoaderDataFormat.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_native_net_URLLoaderDataFormat -#include -#endif -namespace native{ -namespace net{ - -::native::net::URLLoaderDataFormat URLLoaderDataFormat_obj::BINARY; - -::native::net::URLLoaderDataFormat URLLoaderDataFormat_obj::TEXT; - -::native::net::URLLoaderDataFormat URLLoaderDataFormat_obj::VARIABLES; - -HX_DEFINE_CREATE_ENUM(URLLoaderDataFormat_obj) - -int URLLoaderDataFormat_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BINARY")) return 0; - if (inName==HX_CSTRING("TEXT")) return 1; - if (inName==HX_CSTRING("VARIABLES")) return 2; - return super::__FindIndex(inName); -} - -int URLLoaderDataFormat_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BINARY")) return 0; - if (inName==HX_CSTRING("TEXT")) return 0; - if (inName==HX_CSTRING("VARIABLES")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic URLLoaderDataFormat_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BINARY")) return BINARY; - if (inName==HX_CSTRING("TEXT")) return TEXT; - if (inName==HX_CSTRING("VARIABLES")) return VARIABLES; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("BINARY"), - HX_CSTRING("TEXT"), - HX_CSTRING("VARIABLES"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLLoaderDataFormat_obj::BINARY,"BINARY"); - HX_MARK_MEMBER_NAME(URLLoaderDataFormat_obj::TEXT,"TEXT"); - HX_MARK_MEMBER_NAME(URLLoaderDataFormat_obj::VARIABLES,"VARIABLES"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLLoaderDataFormat_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(URLLoaderDataFormat_obj::BINARY,"BINARY"); - HX_VISIT_MEMBER_NAME(URLLoaderDataFormat_obj::TEXT,"TEXT"); - HX_VISIT_MEMBER_NAME(URLLoaderDataFormat_obj::VARIABLES,"VARIABLES"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class URLLoaderDataFormat_obj::__mClass; - -Dynamic __Create_URLLoaderDataFormat_obj() { return new URLLoaderDataFormat_obj; } - -void URLLoaderDataFormat_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.net.URLLoaderDataFormat"), hx::TCanCast< URLLoaderDataFormat_obj >,sStaticFields,sMemberFields, - &__Create_URLLoaderDataFormat_obj, &__Create, - &super::__SGetClass(), &CreateURLLoaderDataFormat_obj, sMarkStatics, sVisitStatic); -} - -void URLLoaderDataFormat_obj::__boot() -{ -Static(BINARY) = hx::CreateEnum< URLLoaderDataFormat_obj >(HX_CSTRING("BINARY"),0); -Static(TEXT) = hx::CreateEnum< URLLoaderDataFormat_obj >(HX_CSTRING("TEXT"),1); -Static(VARIABLES) = hx::CreateEnum< URLLoaderDataFormat_obj >(HX_CSTRING("VARIABLES"),2); -} - - -} // end namespace native -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/net/URLRequest.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/net/URLRequest.cpp deleted file mode 100644 index d8d1e1d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/net/URLRequest.cpp +++ /dev/null @@ -1,412 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_net_URLRequest -#include -#endif -#ifndef INCLUDED_native_net_URLRequestHeader -#include -#endif -#ifndef INCLUDED_native_net_URLVariables -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace native{ -namespace net{ - -Void URLRequest_obj::__construct(::String inURL) -{ -HX_STACK_PUSH("URLRequest::new","native/net/URLRequest.hx",30); -{ - HX_STACK_LINE(32) - if (((inURL != null()))){ - HX_STACK_LINE(33) - this->url = inURL; - } - HX_STACK_LINE(35) - this->requestHeaders = Array_obj< ::native::net::URLRequestHeader >::__new(); - HX_STACK_LINE(36) - this->method = HX_CSTRING("GET"); - HX_STACK_LINE(38) - this->verbose = false; - HX_STACK_LINE(39) - this->cookieString = HX_CSTRING(""); - HX_STACK_LINE(40) - this->authType = (int)0; - HX_STACK_LINE(41) - this->contentType = HX_CSTRING("application/x-www-form-urlencoded"); - HX_STACK_LINE(42) - this->credentials = HX_CSTRING(""); -} -; - return null(); -} - -URLRequest_obj::~URLRequest_obj() { } - -Dynamic URLRequest_obj::__CreateEmpty() { return new URLRequest_obj; } -hx::ObjectPtr< URLRequest_obj > URLRequest_obj::__new(::String inURL) -{ hx::ObjectPtr< URLRequest_obj > result = new URLRequest_obj(); - result->__construct(inURL); - return result;} - -Dynamic URLRequest_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLRequest_obj > result = new URLRequest_obj(); - result->__construct(inArgs[0]); - return result;} - -Void URLRequest_obj::nmePrepare( ){ -{ - HX_STACK_PUSH("URLRequest::nmePrepare","native/net/URLRequest.hx",63); - HX_STACK_THIS(this); - HX_STACK_LINE(63) - if (((this->data == null()))){ - HX_STACK_LINE(65) - this->nmeBytes = ::native::utils::ByteArray_obj::__new(null()); - } - else{ - HX_STACK_LINE(69) - if ((::Std_obj::is(this->data,hx::ClassOf< ::native::utils::ByteArray >()))){ - HX_STACK_LINE(69) - this->nmeBytes = this->data; - } - else{ - HX_STACK_LINE(73) - if ((::Std_obj::is(this->data,hx::ClassOf< ::native::net::URLVariables >()))){ - HX_STACK_LINE(75) - ::native::net::URLVariables vars = this->data; HX_STACK_VAR(vars,"vars"); - HX_STACK_LINE(76) - ::String str = vars->toString(); HX_STACK_VAR(str,"str"); - HX_STACK_LINE(77) - this->nmeBytes = ::native::utils::ByteArray_obj::__new(null()); - HX_STACK_LINE(78) - this->nmeBytes->writeUTFBytes(str); - } - else{ - HX_STACK_LINE(80) - if ((::Std_obj::is(this->data,hx::ClassOf< ::String >()))){ - HX_STACK_LINE(82) - ::String str = this->data; HX_STACK_VAR(str,"str"); - HX_STACK_LINE(83) - this->nmeBytes = ::native::utils::ByteArray_obj::__new(null()); - HX_STACK_LINE(84) - this->nmeBytes->writeUTFBytes(str); - } - else{ - HX_STACK_LINE(86) - if ((::Std_obj::is(this->data,hx::ClassOf< ::Dynamic >()))){ - HX_STACK_LINE(88) - ::native::net::URLVariables vars = ::native::net::URLVariables_obj::__new(null()); HX_STACK_VAR(vars,"vars"); - HX_STACK_LINE(90) - { - HX_STACK_LINE(90) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::String > _g1 = ::Reflect_obj::fields(this->data); HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(90) - while(((_g < _g1->length))){ - HX_STACK_LINE(90) - ::String i = _g1->__get(_g); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(90) - ++(_g); - HX_STACK_LINE(91) - if (((vars != null()))){ - HX_STACK_LINE(91) - vars->__SetField(i,::Reflect_obj::field(this->data,i),false); - } - } - } - HX_STACK_LINE(93) - ::String str = vars->toString(); HX_STACK_VAR(str,"str"); - HX_STACK_LINE(94) - this->nmeBytes = ::native::utils::ByteArray_obj::__new(null()); - HX_STACK_LINE(95) - this->nmeBytes->writeUTFBytes(str); - } - else{ - HX_STACK_LINE(97) - hx::Throw (HX_CSTRING("Unknown data type")); - } - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLRequest_obj,nmePrepare,(void)) - -Void URLRequest_obj::digestAuth( ::String inUser,::String inPasswd){ -{ - HX_STACK_PUSH("URLRequest::digestAuth","native/net/URLRequest.hx",55); - HX_STACK_THIS(this); - HX_STACK_ARG(inUser,"inUser"); - HX_STACK_ARG(inPasswd,"inPasswd"); - HX_STACK_LINE(57) - this->authType = (int)2; - HX_STACK_LINE(58) - this->credentials = ((inUser + HX_CSTRING(":")) + inPasswd); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(URLRequest_obj,digestAuth,(void)) - -Void URLRequest_obj::basicAuth( ::String inUser,::String inPasswd){ -{ - HX_STACK_PUSH("URLRequest::basicAuth","native/net/URLRequest.hx",47); - HX_STACK_THIS(this); - HX_STACK_ARG(inUser,"inUser"); - HX_STACK_ARG(inPasswd,"inPasswd"); - HX_STACK_LINE(49) - this->authType = (int)1; - HX_STACK_LINE(50) - this->credentials = ((inUser + HX_CSTRING(":")) + inPasswd); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(URLRequest_obj,basicAuth,(void)) - -int URLRequest_obj::AUTH_BASIC; - -int URLRequest_obj::AUTH_DIGEST; - -int URLRequest_obj::AUTH_GSSNEGOTIATE; - -int URLRequest_obj::AUTH_NTLM; - -int URLRequest_obj::AUTH_DIGEST_IE; - -int URLRequest_obj::AUTH_DIGEST_ANY; - - -URLRequest_obj::URLRequest_obj() -{ -} - -void URLRequest_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLRequest); - HX_MARK_MEMBER_NAME(nmeBytes,"nmeBytes"); - HX_MARK_MEMBER_NAME(credentials,"credentials"); - HX_MARK_MEMBER_NAME(data,"data"); - HX_MARK_MEMBER_NAME(contentType,"contentType"); - HX_MARK_MEMBER_NAME(method,"method"); - HX_MARK_MEMBER_NAME(verbose,"verbose"); - HX_MARK_MEMBER_NAME(cookieString,"cookieString"); - HX_MARK_MEMBER_NAME(authType,"authType"); - HX_MARK_MEMBER_NAME(requestHeaders,"requestHeaders"); - HX_MARK_MEMBER_NAME(url,"url"); - HX_MARK_END_CLASS(); -} - -void URLRequest_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeBytes,"nmeBytes"); - HX_VISIT_MEMBER_NAME(credentials,"credentials"); - HX_VISIT_MEMBER_NAME(data,"data"); - HX_VISIT_MEMBER_NAME(contentType,"contentType"); - HX_VISIT_MEMBER_NAME(method,"method"); - HX_VISIT_MEMBER_NAME(verbose,"verbose"); - HX_VISIT_MEMBER_NAME(cookieString,"cookieString"); - HX_VISIT_MEMBER_NAME(authType,"authType"); - HX_VISIT_MEMBER_NAME(requestHeaders,"requestHeaders"); - HX_VISIT_MEMBER_NAME(url,"url"); -} - -Dynamic URLRequest_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"url") ) { return url; } - break; - case 4: - if (HX_FIELD_EQ(inName,"data") ) { return data; } - break; - case 6: - if (HX_FIELD_EQ(inName,"method") ) { return method; } - break; - case 7: - if (HX_FIELD_EQ(inName,"verbose") ) { return verbose; } - break; - case 8: - if (HX_FIELD_EQ(inName,"nmeBytes") ) { return nmeBytes; } - if (HX_FIELD_EQ(inName,"authType") ) { return authType; } - break; - case 9: - if (HX_FIELD_EQ(inName,"AUTH_NTLM") ) { return AUTH_NTLM; } - if (HX_FIELD_EQ(inName,"basicAuth") ) { return basicAuth_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"AUTH_BASIC") ) { return AUTH_BASIC; } - if (HX_FIELD_EQ(inName,"nmePrepare") ) { return nmePrepare_dyn(); } - if (HX_FIELD_EQ(inName,"digestAuth") ) { return digestAuth_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST") ) { return AUTH_DIGEST; } - if (HX_FIELD_EQ(inName,"credentials") ) { return credentials; } - if (HX_FIELD_EQ(inName,"contentType") ) { return contentType; } - break; - case 12: - if (HX_FIELD_EQ(inName,"cookieString") ) { return cookieString; } - break; - case 14: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST_IE") ) { return AUTH_DIGEST_IE; } - if (HX_FIELD_EQ(inName,"requestHeaders") ) { return requestHeaders; } - break; - case 15: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST_ANY") ) { return AUTH_DIGEST_ANY; } - break; - case 17: - if (HX_FIELD_EQ(inName,"AUTH_GSSNEGOTIATE") ) { return AUTH_GSSNEGOTIATE; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic URLRequest_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"url") ) { url=inValue.Cast< ::String >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"data") ) { data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"method") ) { method=inValue.Cast< ::String >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"verbose") ) { verbose=inValue.Cast< bool >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"nmeBytes") ) { nmeBytes=inValue.Cast< ::native::utils::ByteArray >(); return inValue; } - if (HX_FIELD_EQ(inName,"authType") ) { authType=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"AUTH_NTLM") ) { AUTH_NTLM=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"AUTH_BASIC") ) { AUTH_BASIC=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST") ) { AUTH_DIGEST=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"credentials") ) { credentials=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"contentType") ) { contentType=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"cookieString") ) { cookieString=inValue.Cast< ::String >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST_IE") ) { AUTH_DIGEST_IE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"requestHeaders") ) { requestHeaders=inValue.Cast< Array< ::native::net::URLRequestHeader > >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST_ANY") ) { AUTH_DIGEST_ANY=inValue.Cast< int >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"AUTH_GSSNEGOTIATE") ) { AUTH_GSSNEGOTIATE=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void URLRequest_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeBytes")); - outFields->push(HX_CSTRING("credentials")); - outFields->push(HX_CSTRING("data")); - outFields->push(HX_CSTRING("contentType")); - outFields->push(HX_CSTRING("method")); - outFields->push(HX_CSTRING("verbose")); - outFields->push(HX_CSTRING("cookieString")); - outFields->push(HX_CSTRING("authType")); - outFields->push(HX_CSTRING("requestHeaders")); - outFields->push(HX_CSTRING("url")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("AUTH_BASIC"), - HX_CSTRING("AUTH_DIGEST"), - HX_CSTRING("AUTH_GSSNEGOTIATE"), - HX_CSTRING("AUTH_NTLM"), - HX_CSTRING("AUTH_DIGEST_IE"), - HX_CSTRING("AUTH_DIGEST_ANY"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmePrepare"), - HX_CSTRING("digestAuth"), - HX_CSTRING("basicAuth"), - HX_CSTRING("nmeBytes"), - HX_CSTRING("credentials"), - HX_CSTRING("data"), - HX_CSTRING("contentType"), - HX_CSTRING("method"), - HX_CSTRING("verbose"), - HX_CSTRING("cookieString"), - HX_CSTRING("authType"), - HX_CSTRING("requestHeaders"), - HX_CSTRING("url"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLRequest_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_BASIC,"AUTH_BASIC"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST,"AUTH_DIGEST"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_GSSNEGOTIATE,"AUTH_GSSNEGOTIATE"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_NTLM,"AUTH_NTLM"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST_IE,"AUTH_DIGEST_IE"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST_ANY,"AUTH_DIGEST_ANY"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLRequest_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_BASIC,"AUTH_BASIC"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST,"AUTH_DIGEST"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_GSSNEGOTIATE,"AUTH_GSSNEGOTIATE"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_NTLM,"AUTH_NTLM"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST_IE,"AUTH_DIGEST_IE"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST_ANY,"AUTH_DIGEST_ANY"); -}; - -Class URLRequest_obj::__mClass; - -void URLRequest_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.net.URLRequest"), hx::TCanCast< URLRequest_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLRequest_obj::__boot() -{ - AUTH_BASIC= (int)1; - AUTH_DIGEST= (int)2; - AUTH_GSSNEGOTIATE= (int)4; - AUTH_NTLM= (int)8; - AUTH_DIGEST_IE= (int)16; - AUTH_DIGEST_ANY= (int)15; -} - -} // end namespace native -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/net/URLRequestHeader.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/net/URLRequestHeader.cpp deleted file mode 100644 index 9b0d887..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/net/URLRequestHeader.cpp +++ /dev/null @@ -1,115 +0,0 @@ -#include - -#ifndef INCLUDED_native_net_URLRequestHeader -#include -#endif -namespace native{ -namespace net{ - -Void URLRequestHeader_obj::__construct(::String name,::String value) -{ -HX_STACK_PUSH("URLRequestHeader::new","native/net/URLRequestHeader.hx",11); -{ - HX_STACK_LINE(13) - this->name = name; - HX_STACK_LINE(14) - this->value = value; -} -; - return null(); -} - -URLRequestHeader_obj::~URLRequestHeader_obj() { } - -Dynamic URLRequestHeader_obj::__CreateEmpty() { return new URLRequestHeader_obj; } -hx::ObjectPtr< URLRequestHeader_obj > URLRequestHeader_obj::__new(::String name,::String value) -{ hx::ObjectPtr< URLRequestHeader_obj > result = new URLRequestHeader_obj(); - result->__construct(name,value); - return result;} - -Dynamic URLRequestHeader_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLRequestHeader_obj > result = new URLRequestHeader_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - - -URLRequestHeader_obj::URLRequestHeader_obj() -{ -} - -void URLRequestHeader_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLRequestHeader); - HX_MARK_MEMBER_NAME(value,"value"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_END_CLASS(); -} - -void URLRequestHeader_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(value,"value"); - HX_VISIT_MEMBER_NAME(name,"name"); -} - -Dynamic URLRequestHeader_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 5: - if (HX_FIELD_EQ(inName,"value") ) { return value; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic URLRequestHeader_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"value") ) { value=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void URLRequestHeader_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("value")); - outFields->push(HX_CSTRING("name")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("value"), - HX_CSTRING("name"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLRequestHeader_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLRequestHeader_obj::__mClass,"__mClass"); -}; - -Class URLRequestHeader_obj::__mClass; - -void URLRequestHeader_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.net.URLRequestHeader"), hx::TCanCast< URLRequestHeader_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLRequestHeader_obj::__boot() -{ -} - -} // end namespace native -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/net/URLRequestMethod.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/net/URLRequestMethod.cpp deleted file mode 100644 index dfddea2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/net/URLRequestMethod.cpp +++ /dev/null @@ -1,151 +0,0 @@ -#include - -#ifndef INCLUDED_native_net_URLRequestMethod -#include -#endif -namespace native{ -namespace net{ - -Void URLRequestMethod_obj::__construct() -{ - return null(); -} - -URLRequestMethod_obj::~URLRequestMethod_obj() { } - -Dynamic URLRequestMethod_obj::__CreateEmpty() { return new URLRequestMethod_obj; } -hx::ObjectPtr< URLRequestMethod_obj > URLRequestMethod_obj::__new() -{ hx::ObjectPtr< URLRequestMethod_obj > result = new URLRequestMethod_obj(); - result->__construct(); - return result;} - -Dynamic URLRequestMethod_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLRequestMethod_obj > result = new URLRequestMethod_obj(); - result->__construct(); - return result;} - -::String URLRequestMethod_obj::DELETE; - -::String URLRequestMethod_obj::GET; - -::String URLRequestMethod_obj::HEAD; - -::String URLRequestMethod_obj::OPTIONS; - -::String URLRequestMethod_obj::POST; - -::String URLRequestMethod_obj::PUT; - - -URLRequestMethod_obj::URLRequestMethod_obj() -{ -} - -void URLRequestMethod_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLRequestMethod); - HX_MARK_END_CLASS(); -} - -void URLRequestMethod_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic URLRequestMethod_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"GET") ) { return GET; } - if (HX_FIELD_EQ(inName,"PUT") ) { return PUT; } - break; - case 4: - if (HX_FIELD_EQ(inName,"HEAD") ) { return HEAD; } - if (HX_FIELD_EQ(inName,"POST") ) { return POST; } - break; - case 6: - if (HX_FIELD_EQ(inName,"DELETE") ) { return DELETE; } - break; - case 7: - if (HX_FIELD_EQ(inName,"OPTIONS") ) { return OPTIONS; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic URLRequestMethod_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"GET") ) { GET=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"PUT") ) { PUT=inValue.Cast< ::String >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"HEAD") ) { HEAD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"POST") ) { POST=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"DELETE") ) { DELETE=inValue.Cast< ::String >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"OPTIONS") ) { OPTIONS=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void URLRequestMethod_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("DELETE"), - HX_CSTRING("GET"), - HX_CSTRING("HEAD"), - HX_CSTRING("OPTIONS"), - HX_CSTRING("POST"), - HX_CSTRING("PUT"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::DELETE,"DELETE"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::GET,"GET"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::HEAD,"HEAD"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::OPTIONS,"OPTIONS"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::POST,"POST"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::PUT,"PUT"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::DELETE,"DELETE"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::GET,"GET"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::HEAD,"HEAD"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::OPTIONS,"OPTIONS"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::POST,"POST"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::PUT,"PUT"); -}; - -Class URLRequestMethod_obj::__mClass; - -void URLRequestMethod_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.net.URLRequestMethod"), hx::TCanCast< URLRequestMethod_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLRequestMethod_obj::__boot() -{ - DELETE= HX_CSTRING("DELETE"); - GET= HX_CSTRING("GET"); - HEAD= HX_CSTRING("HEAD"); - OPTIONS= HX_CSTRING("OPTIONS"); - POST= HX_CSTRING("POST"); - PUT= HX_CSTRING("PUT"); -} - -} // end namespace native -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/net/URLVariables.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/net/URLVariables.cpp deleted file mode 100644 index caa2f92..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/net/URLVariables.cpp +++ /dev/null @@ -1,200 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_StringTools -#include -#endif -#ifndef INCLUDED_native_net_URLVariables -#include -#endif -namespace native{ -namespace net{ - -Void URLVariables_obj::__construct(::String inEncoded) -{ -HX_STACK_PUSH("URLVariables::new","native/net/URLVariables.hx",7); -{ - HX_STACK_LINE(7) - if (((inEncoded != null()))){ - HX_STACK_LINE(10) - this->decode(inEncoded); - } -} -; - return null(); -} - -URLVariables_obj::~URLVariables_obj() { } - -Dynamic URLVariables_obj::__CreateEmpty() { return new URLVariables_obj; } -hx::ObjectPtr< URLVariables_obj > URLVariables_obj::__new(::String inEncoded) -{ hx::ObjectPtr< URLVariables_obj > result = new URLVariables_obj(); - result->__construct(inEncoded); - return result;} - -Dynamic URLVariables_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLVariables_obj > result = new URLVariables_obj(); - result->__construct(inArgs[0]); - return result;} - -::String URLVariables_obj::toString( ){ - HX_STACK_PUSH("URLVariables::toString","native/net/URLVariables.hx",38); - HX_STACK_THIS(this); - HX_STACK_LINE(40) - Array< ::String > result = Array_obj< ::String >::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(41) - Array< ::String > fields = ::Reflect_obj::fields(hx::ObjectPtr(this)); HX_STACK_VAR(fields,"fields"); - HX_STACK_LINE(43) - { - HX_STACK_LINE(43) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(43) - while(((_g < fields->length))){ - HX_STACK_LINE(43) - ::String f = fields->__get(_g); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(43) - ++(_g); - HX_STACK_LINE(44) - result->push(((::StringTools_obj::urlEncode(f) + HX_CSTRING("=")) + ::StringTools_obj::urlEncode(::Reflect_obj::field(hx::ObjectPtr(this),f)))); - } - } - HX_STACK_LINE(46) - return result->join(HX_CSTRING("&")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLVariables_obj,toString,return ) - -Void URLVariables_obj::decode( ::String inVars){ -{ - HX_STACK_PUSH("URLVariables::decode","native/net/URLVariables.hx",15); - HX_STACK_THIS(this); - HX_STACK_ARG(inVars,"inVars"); - HX_STACK_LINE(17) - Array< ::String > fields = ::Reflect_obj::fields(hx::ObjectPtr(this)); HX_STACK_VAR(fields,"fields"); - HX_STACK_LINE(19) - { - HX_STACK_LINE(19) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(19) - while(((_g < fields->length))){ - HX_STACK_LINE(19) - ::String f = fields->__get(_g); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(19) - ++(_g); - HX_STACK_LINE(20) - ::Reflect_obj::deleteField(hx::ObjectPtr(this),f); - } - } - HX_STACK_LINE(22) - Array< ::String > fields1 = inVars.split(HX_CSTRING(";"))->join(HX_CSTRING("&")).split(HX_CSTRING("&")); HX_STACK_VAR(fields1,"fields1"); - HX_STACK_LINE(24) - { - HX_STACK_LINE(24) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(24) - while(((_g < fields1->length))){ - HX_STACK_LINE(24) - ::String f = fields1->__get(_g); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(24) - ++(_g); - HX_STACK_LINE(26) - int eq = f.indexOf(HX_CSTRING("="),null()); HX_STACK_VAR(eq,"eq"); - HX_STACK_LINE(28) - if (((eq > (int)0))){ - HX_STACK_LINE(29) - this->__SetField(::StringTools_obj::urlDecode(f.substr((int)0,eq)),::StringTools_obj::urlDecode(f.substr((eq + (int)1),null())),false); - } - else{ - HX_STACK_LINE(30) - if (((eq != (int)0))){ - HX_STACK_LINE(31) - this->__SetField(::StringTools_obj::urlDecode(f),HX_CSTRING(""),false); - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(URLVariables_obj,decode,(void)) - - -URLVariables_obj::URLVariables_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void URLVariables_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLVariables); - HX_MARK_DYNAMIC; - HX_MARK_END_CLASS(); -} - -void URLVariables_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; -} - -Dynamic URLVariables_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"decode") ) { return decode_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic URLVariables_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void URLVariables_obj::__GetFields(Array< ::String> &outFields) -{ - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("decode"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLVariables_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLVariables_obj::__mClass,"__mClass"); -}; - -Class URLVariables_obj::__mClass; - -void URLVariables_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.net.URLVariables"), hx::TCanCast< URLVariables_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLVariables_obj::__boot() -{ -} - -} // end namespace native -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/text/Font.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/text/Font.cpp deleted file mode 100644 index a426770..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/text/Font.cpp +++ /dev/null @@ -1,139 +0,0 @@ -#include - -#ifndef INCLUDED_native_text_Font -#include -#endif -#ifndef INCLUDED_native_text_FontStyle -#include -#endif -#ifndef INCLUDED_native_text_FontType -#include -#endif -namespace native{ -namespace text{ - -Void Font_obj::__construct(::String inFilename) -{ -HX_STACK_PUSH("Font::new","native/text/Font.hx",16); -{ - HX_STACK_LINE(16) - this->fontName = inFilename; -} -; - return null(); -} - -Font_obj::~Font_obj() { } - -Dynamic Font_obj::__CreateEmpty() { return new Font_obj; } -hx::ObjectPtr< Font_obj > Font_obj::__new(::String inFilename) -{ hx::ObjectPtr< Font_obj > result = new Font_obj(); - result->__construct(inFilename); - return result;} - -Dynamic Font_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Font_obj > result = new Font_obj(); - result->__construct(inArgs[0]); - return result;} - -Dynamic Font_obj::load( ::String inFilename){ - HX_STACK_PUSH("Font::load","native/text/Font.hx",25); - HX_STACK_ARG(inFilename,"inFilename"); - HX_STACK_LINE(25) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Font_obj,load,return ) - - -Font_obj::Font_obj() -{ -} - -void Font_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Font); - HX_MARK_MEMBER_NAME(fontType,"fontType"); - HX_MARK_MEMBER_NAME(fontStyle,"fontStyle"); - HX_MARK_MEMBER_NAME(fontName,"fontName"); - HX_MARK_END_CLASS(); -} - -void Font_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(fontType,"fontType"); - HX_VISIT_MEMBER_NAME(fontStyle,"fontStyle"); - HX_VISIT_MEMBER_NAME(fontName,"fontName"); -} - -Dynamic Font_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"fontType") ) { return fontType; } - if (HX_FIELD_EQ(inName,"fontName") ) { return fontName; } - break; - case 9: - if (HX_FIELD_EQ(inName,"fontStyle") ) { return fontStyle; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Font_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"fontType") ) { fontType=inValue.Cast< ::native::text::FontType >(); return inValue; } - if (HX_FIELD_EQ(inName,"fontName") ) { fontName=inValue.Cast< ::String >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"fontStyle") ) { fontStyle=inValue.Cast< ::native::text::FontStyle >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Font_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("fontType")); - outFields->push(HX_CSTRING("fontStyle")); - outFields->push(HX_CSTRING("fontName")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("load"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("fontType"), - HX_CSTRING("fontStyle"), - HX_CSTRING("fontName"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Font_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Font_obj::__mClass,"__mClass"); -}; - -Class Font_obj::__mClass; - -void Font_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.text.Font"), hx::TCanCast< Font_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Font_obj::__boot() -{ -} - -} // end namespace native -} // end namespace text diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/text/FontStyle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/text/FontStyle.cpp deleted file mode 100644 index b7b70de..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/text/FontStyle.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_native_text_FontStyle -#include -#endif -namespace native{ -namespace text{ - -::native::text::FontStyle FontStyle_obj::BOLD; - -::native::text::FontStyle FontStyle_obj::BOLD_ITALIC; - -::native::text::FontStyle FontStyle_obj::ITALIC; - -::native::text::FontStyle FontStyle_obj::REGULAR; - -HX_DEFINE_CREATE_ENUM(FontStyle_obj) - -int FontStyle_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BOLD")) return 0; - if (inName==HX_CSTRING("BOLD_ITALIC")) return 1; - if (inName==HX_CSTRING("ITALIC")) return 2; - if (inName==HX_CSTRING("REGULAR")) return 3; - return super::__FindIndex(inName); -} - -int FontStyle_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BOLD")) return 0; - if (inName==HX_CSTRING("BOLD_ITALIC")) return 0; - if (inName==HX_CSTRING("ITALIC")) return 0; - if (inName==HX_CSTRING("REGULAR")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic FontStyle_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BOLD")) return BOLD; - if (inName==HX_CSTRING("BOLD_ITALIC")) return BOLD_ITALIC; - if (inName==HX_CSTRING("ITALIC")) return ITALIC; - if (inName==HX_CSTRING("REGULAR")) return REGULAR; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("BOLD"), - HX_CSTRING("BOLD_ITALIC"), - HX_CSTRING("ITALIC"), - HX_CSTRING("REGULAR"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FontStyle_obj::BOLD,"BOLD"); - HX_MARK_MEMBER_NAME(FontStyle_obj::BOLD_ITALIC,"BOLD_ITALIC"); - HX_MARK_MEMBER_NAME(FontStyle_obj::ITALIC,"ITALIC"); - HX_MARK_MEMBER_NAME(FontStyle_obj::REGULAR,"REGULAR"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FontStyle_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FontStyle_obj::BOLD,"BOLD"); - HX_VISIT_MEMBER_NAME(FontStyle_obj::BOLD_ITALIC,"BOLD_ITALIC"); - HX_VISIT_MEMBER_NAME(FontStyle_obj::ITALIC,"ITALIC"); - HX_VISIT_MEMBER_NAME(FontStyle_obj::REGULAR,"REGULAR"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class FontStyle_obj::__mClass; - -Dynamic __Create_FontStyle_obj() { return new FontStyle_obj; } - -void FontStyle_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.text.FontStyle"), hx::TCanCast< FontStyle_obj >,sStaticFields,sMemberFields, - &__Create_FontStyle_obj, &__Create, - &super::__SGetClass(), &CreateFontStyle_obj, sMarkStatics, sVisitStatic); -} - -void FontStyle_obj::__boot() -{ -Static(BOLD) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("BOLD"),0); -Static(BOLD_ITALIC) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("BOLD_ITALIC"),1); -Static(ITALIC) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("ITALIC"),2); -Static(REGULAR) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("REGULAR"),3); -} - - -} // end namespace native -} // end namespace text diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/text/FontType.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/text/FontType.cpp deleted file mode 100644 index e727041..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/text/FontType.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_native_text_FontType -#include -#endif -namespace native{ -namespace text{ - -::native::text::FontType FontType_obj::DEVICE; - -::native::text::FontType FontType_obj::EMBEDDED; - -::native::text::FontType FontType_obj::EMBEDDED_CFF; - -HX_DEFINE_CREATE_ENUM(FontType_obj) - -int FontType_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("DEVICE")) return 0; - if (inName==HX_CSTRING("EMBEDDED")) return 1; - if (inName==HX_CSTRING("EMBEDDED_CFF")) return 2; - return super::__FindIndex(inName); -} - -int FontType_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("DEVICE")) return 0; - if (inName==HX_CSTRING("EMBEDDED")) return 0; - if (inName==HX_CSTRING("EMBEDDED_CFF")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic FontType_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("DEVICE")) return DEVICE; - if (inName==HX_CSTRING("EMBEDDED")) return EMBEDDED; - if (inName==HX_CSTRING("EMBEDDED_CFF")) return EMBEDDED_CFF; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("DEVICE"), - HX_CSTRING("EMBEDDED"), - HX_CSTRING("EMBEDDED_CFF"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FontType_obj::DEVICE,"DEVICE"); - HX_MARK_MEMBER_NAME(FontType_obj::EMBEDDED,"EMBEDDED"); - HX_MARK_MEMBER_NAME(FontType_obj::EMBEDDED_CFF,"EMBEDDED_CFF"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FontType_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FontType_obj::DEVICE,"DEVICE"); - HX_VISIT_MEMBER_NAME(FontType_obj::EMBEDDED,"EMBEDDED"); - HX_VISIT_MEMBER_NAME(FontType_obj::EMBEDDED_CFF,"EMBEDDED_CFF"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class FontType_obj::__mClass; - -Dynamic __Create_FontType_obj() { return new FontType_obj; } - -void FontType_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.text.FontType"), hx::TCanCast< FontType_obj >,sStaticFields,sMemberFields, - &__Create_FontType_obj, &__Create, - &super::__SGetClass(), &CreateFontType_obj, sMarkStatics, sVisitStatic); -} - -void FontType_obj::__boot() -{ -Static(DEVICE) = hx::CreateEnum< FontType_obj >(HX_CSTRING("DEVICE"),0); -Static(EMBEDDED) = hx::CreateEnum< FontType_obj >(HX_CSTRING("EMBEDDED"),1); -Static(EMBEDDED_CFF) = hx::CreateEnum< FontType_obj >(HX_CSTRING("EMBEDDED_CFF"),2); -} - - -} // end namespace native -} // end namespace text diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/ArrayBufferView.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/ArrayBufferView.cpp deleted file mode 100644 index a317aa2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/ArrayBufferView.cpp +++ /dev/null @@ -1,285 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_utils_ArrayBufferView -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace native{ -namespace utils{ - -Void ArrayBufferView_obj::__construct(Dynamic inLengthOrBuffer,hx::Null< int > __o_inByteOffset,Dynamic inLength) -{ -HX_STACK_PUSH("ArrayBufferView::new","native/utils/ArrayBufferView.hx",23); -int inByteOffset = __o_inByteOffset.Default(0); -{ - HX_STACK_LINE(25) - if ((::Std_obj::is(inLengthOrBuffer,hx::ClassOf< ::Int >()))){ - HX_STACK_LINE(27) - this->byteLength = ::Std_obj::_int(inLengthOrBuffer); - HX_STACK_LINE(28) - this->byteOffset = (int)0; - HX_STACK_LINE(29) - this->buffer = ::native::utils::ByteArray_obj::__new(::Std_obj::_int(inLengthOrBuffer)); - } - else{ - HX_STACK_LINE(33) - this->buffer = inLengthOrBuffer; - HX_STACK_LINE(35) - if (((this->buffer == null()))){ - HX_STACK_LINE(36) - hx::Throw (HX_CSTRING("Invalid input buffer")); - } - HX_STACK_LINE(38) - this->byteOffset = inByteOffset; - HX_STACK_LINE(40) - if (((this->byteOffset > this->buffer->length))){ - HX_STACK_LINE(41) - hx::Throw (HX_CSTRING("Invalid starting position")); - } - HX_STACK_LINE(43) - if (((inLength == null()))){ - HX_STACK_LINE(43) - this->byteLength = (this->buffer->length - inByteOffset); - } - else{ - HX_STACK_LINE(49) - this->byteLength = inLength; - HX_STACK_LINE(51) - if ((((this->byteLength + this->byteOffset) > this->buffer->length))){ - HX_STACK_LINE(52) - hx::Throw (HX_CSTRING("Invalid buffer length")); - } - } - } - HX_STACK_LINE(58) - this->buffer->bigEndian = false; - HX_STACK_LINE(61) - this->bytes = this->buffer->b; -} -; - return null(); -} - -ArrayBufferView_obj::~ArrayBufferView_obj() { } - -Dynamic ArrayBufferView_obj::__CreateEmpty() { return new ArrayBufferView_obj; } -hx::ObjectPtr< ArrayBufferView_obj > ArrayBufferView_obj::__new(Dynamic inLengthOrBuffer,hx::Null< int > __o_inByteOffset,Dynamic inLength) -{ hx::ObjectPtr< ArrayBufferView_obj > result = new ArrayBufferView_obj(); - result->__construct(inLengthOrBuffer,__o_inByteOffset,inLength); - return result;} - -Dynamic ArrayBufferView_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ArrayBufferView_obj > result = new ArrayBufferView_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -hx::Object *ArrayBufferView_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::native::utils::IMemoryRange_obj)) return operator ::native::utils::IMemoryRange_obj *(); - return super::__ToInterface(inType); -} - -Void ArrayBufferView_obj::setFloat32( int bytePos,Float v){ -{ - HX_STACK_PUSH("ArrayBufferView::setFloat32","native/utils/ArrayBufferView.hx",89); - HX_STACK_THIS(this); - HX_STACK_ARG(bytePos,"bytePos"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(92) - if ((((bytePos - bytePos) > (int)4))){ - HX_STACK_LINE(92) - hx::Throw (::native::utils::ArrayBufferView_obj::invalidDataIndex); - } - HX_STACK_LINE(96) - ::__hxcpp_memory_set_float(this->bytes,(bytePos + this->byteOffset),v); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ArrayBufferView_obj,setFloat32,(void)) - -Float ArrayBufferView_obj::getFloat32( int bytePos){ - HX_STACK_PUSH("ArrayBufferView::getFloat32","native/utils/ArrayBufferView.hx",73); - HX_STACK_THIS(this); - HX_STACK_ARG(bytePos,"bytePos"); - HX_STACK_LINE(76) - if ((((bytePos - bytePos) > (int)4))){ - HX_STACK_LINE(76) - hx::Throw (::native::utils::ArrayBufferView_obj::invalidDataIndex); - } - HX_STACK_LINE(80) - return ::__hxcpp_memory_get_float(this->bytes,(bytePos + this->byteOffset)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ArrayBufferView_obj,getFloat32,return ) - -int ArrayBufferView_obj::getLength( ){ - HX_STACK_PUSH("ArrayBufferView::getLength","native/utils/ArrayBufferView.hx",70); - HX_STACK_THIS(this); - HX_STACK_LINE(70) - return this->byteLength; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ArrayBufferView_obj,getLength,return ) - -int ArrayBufferView_obj::getStart( ){ - HX_STACK_PUSH("ArrayBufferView::getStart","native/utils/ArrayBufferView.hx",69); - HX_STACK_THIS(this); - HX_STACK_LINE(69) - return this->byteOffset; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ArrayBufferView_obj,getStart,return ) - -::native::utils::ByteArray ArrayBufferView_obj::getByteBuffer( ){ - HX_STACK_PUSH("ArrayBufferView::getByteBuffer","native/utils/ArrayBufferView.hx",68); - HX_STACK_THIS(this); - HX_STACK_LINE(68) - return this->buffer; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ArrayBufferView_obj,getByteBuffer,return ) - -::String ArrayBufferView_obj::invalidDataIndex; - - -ArrayBufferView_obj::ArrayBufferView_obj() -{ -} - -void ArrayBufferView_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ArrayBufferView); - HX_MARK_MEMBER_NAME(bytes,"bytes"); - HX_MARK_MEMBER_NAME(byteLength,"byteLength"); - HX_MARK_MEMBER_NAME(byteOffset,"byteOffset"); - HX_MARK_MEMBER_NAME(buffer,"buffer"); - HX_MARK_END_CLASS(); -} - -void ArrayBufferView_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(bytes,"bytes"); - HX_VISIT_MEMBER_NAME(byteLength,"byteLength"); - HX_VISIT_MEMBER_NAME(byteOffset,"byteOffset"); - HX_VISIT_MEMBER_NAME(buffer,"buffer"); -} - -Dynamic ArrayBufferView_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"bytes") ) { return bytes; } - break; - case 6: - if (HX_FIELD_EQ(inName,"buffer") ) { return buffer; } - break; - case 8: - if (HX_FIELD_EQ(inName,"getStart") ) { return getStart_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"getLength") ) { return getLength_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"setFloat32") ) { return setFloat32_dyn(); } - if (HX_FIELD_EQ(inName,"getFloat32") ) { return getFloat32_dyn(); } - if (HX_FIELD_EQ(inName,"byteLength") ) { return byteLength; } - if (HX_FIELD_EQ(inName,"byteOffset") ) { return byteOffset; } - break; - case 13: - if (HX_FIELD_EQ(inName,"getByteBuffer") ) { return getByteBuffer_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"invalidDataIndex") ) { return invalidDataIndex; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ArrayBufferView_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"bytes") ) { bytes=inValue.Cast< Array< unsigned char > >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"buffer") ) { buffer=inValue.Cast< ::native::utils::ByteArray >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"byteLength") ) { byteLength=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"byteOffset") ) { byteOffset=inValue.Cast< int >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"invalidDataIndex") ) { invalidDataIndex=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ArrayBufferView_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("bytes")); - outFields->push(HX_CSTRING("byteLength")); - outFields->push(HX_CSTRING("byteOffset")); - outFields->push(HX_CSTRING("buffer")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("invalidDataIndex"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("setFloat32"), - HX_CSTRING("getFloat32"), - HX_CSTRING("getLength"), - HX_CSTRING("getStart"), - HX_CSTRING("getByteBuffer"), - HX_CSTRING("bytes"), - HX_CSTRING("byteLength"), - HX_CSTRING("byteOffset"), - HX_CSTRING("buffer"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ArrayBufferView_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ArrayBufferView_obj::invalidDataIndex,"invalidDataIndex"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ArrayBufferView_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ArrayBufferView_obj::invalidDataIndex,"invalidDataIndex"); -}; - -Class ArrayBufferView_obj::__mClass; - -void ArrayBufferView_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.utils.ArrayBufferView"), hx::TCanCast< ArrayBufferView_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ArrayBufferView_obj::__boot() -{ - invalidDataIndex= HX_CSTRING("Invalid data index"); -} - -} // end namespace native -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/ByteArray.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/ByteArray.cpp deleted file mode 100644 index bc4d5ce..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/ByteArray.cpp +++ /dev/null @@ -1,1356 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_cpp_zip_Compress -#include -#endif -#ifndef INCLUDED_cpp_zip_Uncompress -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_Loader -#include -#endif -#ifndef INCLUDED_native_errors_EOFError -#include -#endif -#ifndef INCLUDED_native_errors_Error -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_CompressionAlgorithm -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace native{ -namespace utils{ - -Void ByteArray_obj::__construct(hx::Null< int > __o_inSize) -{ -HX_STACK_PUSH("ByteArray::new","native/utils/ByteArray.hx",37); -int inSize = __o_inSize.Default(0); -{ - HX_STACK_LINE(39) - this->bigEndian = true; - HX_STACK_LINE(40) - this->position = (int)0; - HX_STACK_LINE(42) - if (((inSize >= (int)0))){ - HX_STACK_LINE(49) - Array< unsigned char > data = Array_obj< unsigned char >::__new(); HX_STACK_VAR(data,"data"); - HX_STACK_LINE(50) - if (((inSize > (int)0))){ - HX_STACK_LINE(51) - data[(inSize - (int)1)] = (int)0; - } - HX_STACK_LINE(52) - super::__construct(inSize,data); - } -} -; - return null(); -} - -ByteArray_obj::~ByteArray_obj() { } - -Dynamic ByteArray_obj::__CreateEmpty() { return new ByteArray_obj; } -hx::ObjectPtr< ByteArray_obj > ByteArray_obj::__new(hx::Null< int > __o_inSize) -{ hx::ObjectPtr< ByteArray_obj > result = new ByteArray_obj(); - result->__construct(__o_inSize); - return result;} - -Dynamic ByteArray_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ByteArray_obj > result = new ByteArray_obj(); - result->__construct(inArgs[0]); - return result;} - -hx::Object *ByteArray_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::native::utils::IMemoryRange_obj)) return operator ::native::utils::IMemoryRange_obj *(); - if (inType==typeid( ::native::utils::IDataInput_obj)) return operator ::native::utils::IDataInput_obj *(); - return super::__ToInterface(inType); -} - -void ByteArray_obj::__init__() { -HX_STACK_PUSH("ByteArray::__init__","native/utils/ByteArray.hx",74); -{ - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_1) - ::native::utils::ByteArray run(int inLen){ - HX_STACK_PUSH("*::_Function_1_1","native/utils/ByteArray.hx",76); - HX_STACK_ARG(inLen,"inLen"); - { - HX_STACK_LINE(76) - return ::native::utils::ByteArray_obj::__new(inLen); - } - return null(); - } - HX_END_LOCAL_FUNC1(return) - - HX_STACK_LINE(76) - Dynamic factory = Dynamic(new _Function_1_1()); HX_STACK_VAR(factory,"factory"); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_2) - Void run(::native::utils::ByteArray inArray,int inLen){ - HX_STACK_PUSH("*::_Function_1_2","native/utils/ByteArray.hx",77); - HX_STACK_ARG(inArray,"inArray"); - HX_STACK_ARG(inLen,"inLen"); - { - HX_STACK_LINE(79) - if (((inLen > (int)0))){ - HX_STACK_LINE(80) - inArray->__Field(HX_CSTRING("ensureElem"),true)((inLen - (int)1),true); - } - HX_STACK_LINE(81) - inArray->__FieldRef(HX_CSTRING("length")) = inLen; - } - return null(); - } - HX_END_LOCAL_FUNC2((void)) - - HX_STACK_LINE(77) - Dynamic resize = Dynamic(new _Function_1_2()); HX_STACK_VAR(resize,"resize"); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_3) - Array< unsigned char > run(::native::utils::ByteArray inArray){ - HX_STACK_PUSH("*::_Function_1_3","native/utils/ByteArray.hx",85); - HX_STACK_ARG(inArray,"inArray"); - { - HX_STACK_LINE(85) - return ( (((inArray == null()))) ? Array< unsigned char >(null()) : Array< unsigned char >(inArray->__Field(HX_CSTRING("b"),true)) ); - } - return null(); - } - HX_END_LOCAL_FUNC1(return) - - HX_STACK_LINE(85) - Dynamic bytes = Dynamic(new _Function_1_3()); HX_STACK_VAR(bytes,"bytes"); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_4) - int run(::native::utils::ByteArray inArray){ - HX_STACK_PUSH("*::_Function_1_4","native/utils/ByteArray.hx",86); - HX_STACK_ARG(inArray,"inArray"); - { - HX_STACK_LINE(86) - return ( (((inArray == null()))) ? int((int)0) : int(inArray->__Field(HX_CSTRING("length"),true)) ); - } - return null(); - } - HX_END_LOCAL_FUNC1(return) - - HX_STACK_LINE(86) - Dynamic slen = Dynamic(new _Function_1_4()); HX_STACK_VAR(slen,"slen"); - HX_STACK_LINE(88) - Dynamic init = ::native::Loader_obj::load(HX_CSTRING("nme_byte_array_init"),(int)4); HX_STACK_VAR(init,"init"); - HX_STACK_LINE(89) - init(factory,slen,resize,bytes); -} -} - -::String ByteArray_obj::set_endian( ::String s){ - HX_STACK_PUSH("ByteArray::set_endian","native/utils/ByteArray.hx",670); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(670) - this->bigEndian = (s == HX_CSTRING("bigEndian")); - HX_STACK_LINE(670) - return s; -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,set_endian,return ) - -::String ByteArray_obj::get_endian( ){ - HX_STACK_PUSH("ByteArray::get_endian","native/utils/ByteArray.hx",669); - HX_STACK_THIS(this); - HX_STACK_LINE(669) - return ( ((this->bigEndian)) ? ::String(HX_CSTRING("bigEndian")) : ::String(HX_CSTRING("littleEndian")) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,get_endian,return ) - -int ByteArray_obj::get_byteLength( ){ - HX_STACK_PUSH("ByteArray::get_byteLength","native/utils/ByteArray.hx",668); - HX_STACK_THIS(this); - HX_STACK_LINE(668) - return this->length; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,get_byteLength,return ) - -int ByteArray_obj::get_bytesAvailable( ){ - HX_STACK_PUSH("ByteArray::get_bytesAvailable","native/utils/ByteArray.hx",667); - HX_STACK_THIS(this); - HX_STACK_LINE(667) - return (this->length - this->position); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,get_bytesAvailable,return ) - -Void ByteArray_obj::writeUTFBytes( ::String s){ -{ - HX_STACK_PUSH("ByteArray::writeUTFBytes","native/utils/ByteArray.hx",647); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(652) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::ofString(s); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(655) - this->writeBytes(bytes,null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeUTFBytes,(void)) - -Void ByteArray_obj::writeUTF( ::String s){ -{ - HX_STACK_PUSH("ByteArray::writeUTF","native/utils/ByteArray.hx",633); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(638) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::ofString(s); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(641) - this->writeShort(bytes->length); - HX_STACK_LINE(642) - this->writeBytes(bytes,null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeUTF,(void)) - -Void ByteArray_obj::writeUnsignedInt( int value){ -{ - HX_STACK_PUSH("ByteArray::writeUnsignedInt","native/utils/ByteArray.hx",626); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(626) - this->writeInt(value); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeUnsignedInt,(void)) - -Void ByteArray_obj::writeShort( int value){ -{ - HX_STACK_PUSH("ByteArray::writeShort","native/utils/ByteArray.hx",607); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(609) - this->ensureElem((this->position + (int)1),true); - HX_STACK_LINE(611) - if ((this->bigEndian)){ - HX_STACK_LINE(613) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)8))); - HX_STACK_LINE(614) - this->b->__unsafe_set((this->position)++,value); - } - else{ - HX_STACK_LINE(618) - this->b->__unsafe_set((this->position)++,value); - HX_STACK_LINE(619) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)8))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeShort,(void)) - -Void ByteArray_obj::writeInt( int value){ -{ - HX_STACK_PUSH("ByteArray::writeInt","native/utils/ByteArray.hx",580); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(582) - this->ensureElem((this->position + (int)3),true); - HX_STACK_LINE(584) - if ((this->bigEndian)){ - HX_STACK_LINE(586) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)24))); - HX_STACK_LINE(587) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)16))); - HX_STACK_LINE(588) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)8))); - HX_STACK_LINE(589) - this->b->__unsafe_set((this->position)++,value); - } - else{ - HX_STACK_LINE(593) - this->b->__unsafe_set((this->position)++,value); - HX_STACK_LINE(594) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)8))); - HX_STACK_LINE(595) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)16))); - HX_STACK_LINE(596) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)24))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeInt,(void)) - -Void ByteArray_obj::writeFloat( Float x){ -{ - HX_STACK_PUSH("ByteArray::writeFloat","native/utils/ByteArray.hx",567); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(572) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::ofData(::native::utils::ByteArray_obj::_float_bytes(x,this->bigEndian)); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(575) - this->writeBytes(bytes,null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeFloat,(void)) - -Void ByteArray_obj::writeFile( ::String inString){ -{ - HX_STACK_PUSH("ByteArray::writeFile","native/utils/ByteArray.hx",559); - HX_STACK_THIS(this); - HX_STACK_ARG(inString,"inString"); - HX_STACK_LINE(559) - ::native::utils::ByteArray_obj::nme_byte_array_overwrite_file(inString,hx::ObjectPtr(this)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeFile,(void)) - -Void ByteArray_obj::writeDouble( Float x){ -{ - HX_STACK_PUSH("ByteArray::writeDouble","native/utils/ByteArray.hx",545); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(550) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::ofData(::native::utils::ByteArray_obj::_double_bytes(x,this->bigEndian)); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(553) - this->writeBytes(bytes,null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeDouble,(void)) - -Void ByteArray_obj::writeBytes( ::haxe::io::Bytes bytes,hx::Null< int > __o_inOffset,hx::Null< int > __o_inLength){ -int inOffset = __o_inOffset.Default(0); -int inLength = __o_inLength.Default(0); - HX_STACK_PUSH("ByteArray::writeBytes","native/utils/ByteArray.hx",534); - HX_STACK_THIS(this); - HX_STACK_ARG(bytes,"bytes"); - HX_STACK_ARG(inOffset,"inOffset"); - HX_STACK_ARG(inLength,"inLength"); -{ - HX_STACK_LINE(536) - if (((inLength == (int)0))){ - HX_STACK_LINE(536) - inLength = (bytes->length - inOffset); - } - HX_STACK_LINE(537) - this->ensureElem(((this->position + inLength) - (int)1),true); - HX_STACK_LINE(538) - int opos = this->position; HX_STACK_VAR(opos,"opos"); - HX_STACK_LINE(539) - hx::AddEq(this->position,inLength); - HX_STACK_LINE(540) - this->blit(opos,bytes,inOffset,inLength); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(ByteArray_obj,writeBytes,(void)) - -Void ByteArray_obj::writeByte( int value){ -{ - HX_STACK_PUSH("ByteArray::writeByte","native/utils/ByteArray.hx",521); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(523) - this->ensureElem(this->position,true); - HX_STACK_LINE(526) - this->b[(this->position)++] = value; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeByte,(void)) - -Void ByteArray_obj::writeBoolean( bool value){ -{ - HX_STACK_PUSH("ByteArray::writeBoolean","native/utils/ByteArray.hx",514); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(514) - { - HX_STACK_LINE(516) - this->ensureElem(this->position,true); - HX_STACK_LINE(516) - this->b[(this->position)++] = ( ((value)) ? int((int)1) : int((int)0) ); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeBoolean,(void)) - -Void ByteArray_obj::write_uncheck( int inByte){ -{ - HX_STACK_PUSH("ByteArray::write_uncheck","native/utils/ByteArray.hx",503); - HX_STACK_THIS(this); - HX_STACK_ARG(inByte,"inByte"); - HX_STACK_LINE(503) - this->b->__unsafe_set((this->position)++,inByte); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,write_uncheck,(void)) - -Void ByteArray_obj::uncompress( ::native::utils::CompressionAlgorithm algorithm){ -{ - HX_STACK_PUSH("ByteArray::uncompress","native/utils/ByteArray.hx",459); - HX_STACK_THIS(this); - HX_STACK_ARG(algorithm,"algorithm"); - HX_STACK_LINE(461) - if (((algorithm == null()))){ - HX_STACK_LINE(461) - algorithm = ::native::utils::CompressionAlgorithm_obj::GZIP_dyn(); - } - HX_STACK_LINE(466) - ::native::utils::ByteArray src = hx::ObjectPtr(this); HX_STACK_VAR(src,"src"); - HX_STACK_LINE(469) - ::haxe::io::Bytes result; HX_STACK_VAR(result,"result"); - HX_STACK_LINE(471) - if (((algorithm == ::native::utils::CompressionAlgorithm_obj::LZMA_dyn()))){ - HX_STACK_LINE(471) - result = ::haxe::io::Bytes_obj::ofData(::native::utils::ByteArray_obj::nme_lzma_decode(src->b)); - } - else{ - struct _Function_2_1{ - inline static int Block( ::native::utils::CompressionAlgorithm &algorithm){ - HX_STACK_PUSH("*::closure","native/utils/ByteArray.hx",477); - { - HX_STACK_LINE(477) - { - ::native::utils::CompressionAlgorithm _switch_1 = (algorithm); - switch((_switch_1)->GetIndex()){ - case 0: { - HX_STACK_LINE(479) - return (int)-15; - } - ;break; - case 3: { - HX_STACK_LINE(480) - return (int)31; - } - ;break; - default: { - HX_STACK_LINE(481) - return (int)15; - } - } - } - } - return null(); - } - }; - HX_STACK_LINE(477) - int windowBits = _Function_2_1::Block(algorithm); HX_STACK_VAR(windowBits,"windowBits"); - HX_STACK_LINE(488) - result = ::cpp::zip::Uncompress_obj::run(src,null()); - } - HX_STACK_LINE(493) - this->b = result->b; - HX_STACK_LINE(494) - this->length = result->length; - HX_STACK_LINE(495) - this->position = (int)0; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,uncompress,(void)) - -int ByteArray_obj::ThrowEOFi( ){ - HX_STACK_PUSH("ByteArray::ThrowEOFi","native/utils/ByteArray.hx",451); - HX_STACK_THIS(this); - HX_STACK_LINE(453) - hx::Throw (::native::errors::EOFError_obj::__new()); - HX_STACK_LINE(454) - return (int)0; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,ThrowEOFi,return ) - -::native::utils::ByteArray ByteArray_obj::slice( int inBegin,Dynamic inEnd){ - HX_STACK_PUSH("ByteArray::slice","native/utils/ByteArray.hx",415); - HX_STACK_THIS(this); - HX_STACK_ARG(inBegin,"inBegin"); - HX_STACK_ARG(inEnd,"inEnd"); - HX_STACK_LINE(417) - int begin = inBegin; HX_STACK_VAR(begin,"begin"); - HX_STACK_LINE(419) - if (((begin < (int)0))){ - HX_STACK_LINE(421) - hx::AddEq(begin,this->length); - HX_STACK_LINE(422) - if (((begin < (int)0))){ - HX_STACK_LINE(423) - begin = (int)0; - } - } - HX_STACK_LINE(427) - int end = ( (((inEnd == null()))) ? Dynamic(this->length) : Dynamic(inEnd) ); HX_STACK_VAR(end,"end"); - HX_STACK_LINE(429) - if (((end < (int)0))){ - HX_STACK_LINE(431) - hx::AddEq(end,this->length); - HX_STACK_LINE(433) - if (((end < (int)0))){ - HX_STACK_LINE(434) - end = (int)0; - } - } - HX_STACK_LINE(438) - if (((begin >= end))){ - HX_STACK_LINE(439) - return ::native::utils::ByteArray_obj::__new(null()); - } - HX_STACK_LINE(441) - ::native::utils::ByteArray result = ::native::utils::ByteArray_obj::__new((end - begin)); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(443) - int opos = this->position; HX_STACK_VAR(opos,"opos"); - HX_STACK_LINE(444) - result->blit((int)0,hx::ObjectPtr(this),begin,(end - begin)); - HX_STACK_LINE(446) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC2(ByteArray_obj,slice,return ) - -Void ByteArray_obj::setLength( int inLength){ -{ - HX_STACK_PUSH("ByteArray::setLength","native/utils/ByteArray.hx",405); - HX_STACK_THIS(this); - HX_STACK_ARG(inLength,"inLength"); - HX_STACK_LINE(407) - if (((inLength > (int)0))){ - HX_STACK_LINE(408) - this->ensureElem((inLength - (int)1),false); - } - HX_STACK_LINE(409) - this->length = inLength; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,setLength,(void)) - -::String ByteArray_obj::readUTFBytes( int inLen){ - HX_STACK_PUSH("ByteArray::readUTFBytes","native/utils/ByteArray.hx",386); - HX_STACK_THIS(this); - HX_STACK_ARG(inLen,"inLen"); - HX_STACK_LINE(388) - if ((((this->position + inLen) > this->length))){ - HX_STACK_LINE(389) - this->ThrowEOFi(); - } - HX_STACK_LINE(391) - int p = this->position; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(392) - hx::AddEq(this->position,inLen); - HX_STACK_LINE(397) - ::String result = HX_CSTRING(""); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(398) - ::__hxcpp_string_of_bytes(this->b,result,p,inLen); - HX_STACK_LINE(399) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,readUTFBytes,return ) - -::String ByteArray_obj::readUTF( ){ - HX_STACK_PUSH("ByteArray::readUTF","native/utils/ByteArray.hx",378); - HX_STACK_THIS(this); - HX_STACK_LINE(380) - int len = this->readUnsignedShort(); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(381) - return this->readUTFBytes(len); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readUTF,return ) - -int ByteArray_obj::readUnsignedShort( ){ - HX_STACK_PUSH("ByteArray::readUnsignedShort","native/utils/ByteArray.hx",368); - HX_STACK_THIS(this); - HX_STACK_LINE(370) - int ch1 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(371) - int ch2 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(373) - return ( ((this->bigEndian)) ? int((int((int(ch1) << int((int)8))) | int(ch2))) : int((((int(ch2) << int((int)8))) + ch1)) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readUnsignedShort,return ) - -int ByteArray_obj::readUnsignedInt( ){ - HX_STACK_PUSH("ByteArray::readUnsignedInt","native/utils/ByteArray.hx",356); - HX_STACK_THIS(this); - HX_STACK_LINE(358) - int ch1 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(359) - int ch2 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(360) - int ch3 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(361) - int ch4 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch4,"ch4"); - HX_STACK_LINE(363) - return ( ((this->bigEndian)) ? int((int((int((int((int(ch1) << int((int)24))) | int((int(ch2) << int((int)16))))) | int((int(ch3) << int((int)8))))) | int(ch4))) : int((int((int((int((int(ch4) << int((int)24))) | int((int(ch3) << int((int)16))))) | int((int(ch2) << int((int)8))))) | int(ch1))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readUnsignedInt,return ) - -int ByteArray_obj::readUnsignedByte( ){ - HX_STACK_PUSH("ByteArray::readUnsignedByte","native/utils/ByteArray.hx",349); - HX_STACK_THIS(this); - HX_STACK_LINE(349) - return ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readUnsignedByte,return ) - -int ByteArray_obj::readShort( ){ - HX_STACK_PUSH("ByteArray::readShort","native/utils/ByteArray.hx",337); - HX_STACK_THIS(this); - HX_STACK_LINE(339) - int ch1 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(340) - int ch2 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(342) - int val = ( ((this->bigEndian)) ? int((int((int(ch1) << int((int)8))) | int(ch2))) : int((int((int(ch2) << int((int)8))) | int(ch1))) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(344) - return ( (((((int(val) & int((int)32768))) != (int)0))) ? int((val - (int)65536)) : int(val) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readShort,return ) - -::String ByteArray_obj::readMultiByte( int inLen,::String charSet){ - HX_STACK_PUSH("ByteArray::readMultiByte","native/utils/ByteArray.hx",329); - HX_STACK_THIS(this); - HX_STACK_ARG(inLen,"inLen"); - HX_STACK_ARG(charSet,"charSet"); - HX_STACK_LINE(329) - return this->readUTFBytes(inLen); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ByteArray_obj,readMultiByte,return ) - -int ByteArray_obj::readInt( ){ - HX_STACK_PUSH("ByteArray::readInt","native/utils/ByteArray.hx",317); - HX_STACK_THIS(this); - HX_STACK_LINE(319) - int ch1 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(320) - int ch2 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(321) - int ch3 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(322) - int ch4 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch4,"ch4"); - HX_STACK_LINE(324) - return ( ((this->bigEndian)) ? int((int((int((int((int(ch1) << int((int)24))) | int((int(ch2) << int((int)16))))) | int((int(ch3) << int((int)8))))) | int(ch4))) : int((int((int((int((int(ch4) << int((int)24))) | int((int(ch3) << int((int)16))))) | int((int(ch2) << int((int)8))))) | int(ch1))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readInt,return ) - -Float ByteArray_obj::readFloat( ){ - HX_STACK_PUSH("ByteArray::readFloat","native/utils/ByteArray.hx",300); - HX_STACK_THIS(this); - HX_STACK_LINE(302) - if ((((this->position + (int)4) > this->length))){ - HX_STACK_LINE(303) - this->ThrowEOFi(); - } - HX_STACK_LINE(308) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::__new((int)4,this->b->slice(this->position,(this->position + (int)4))); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(311) - hx::AddEq(this->position,(int)4); - HX_STACK_LINE(312) - return ::native::utils::ByteArray_obj::_float_of_bytes(bytes->b,this->bigEndian); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readFloat,return ) - -Float ByteArray_obj::readDouble( ){ - HX_STACK_PUSH("ByteArray::readDouble","native/utils/ByteArray.hx",274); - HX_STACK_THIS(this); - HX_STACK_LINE(276) - if ((((this->position + (int)8) > this->length))){ - HX_STACK_LINE(277) - this->ThrowEOFi(); - } - HX_STACK_LINE(282) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::__new((int)8,this->b->slice(this->position,(this->position + (int)8))); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(285) - hx::AddEq(this->position,(int)8); - HX_STACK_LINE(286) - return ::native::utils::ByteArray_obj::_double_of_bytes(bytes->b,this->bigEndian); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readDouble,return ) - -Void ByteArray_obj::readBytes( ::native::utils::ByteArray outData,hx::Null< int > __o_inOffset,hx::Null< int > __o_inLen){ -int inOffset = __o_inOffset.Default(0); -int inLen = __o_inLen.Default(0); - HX_STACK_PUSH("ByteArray::readBytes","native/utils/ByteArray.hx",248); - HX_STACK_THIS(this); - HX_STACK_ARG(outData,"outData"); - HX_STACK_ARG(inOffset,"inOffset"); - HX_STACK_ARG(inLen,"inLen"); -{ - HX_STACK_LINE(250) - if (((inLen == (int)0))){ - HX_STACK_LINE(251) - inLen = (this->length - this->position); - } - HX_STACK_LINE(253) - if ((((this->position + inLen) > this->length))){ - HX_STACK_LINE(254) - this->ThrowEOFi(); - } - HX_STACK_LINE(256) - if (((outData->length < (inOffset + inLen)))){ - HX_STACK_LINE(257) - outData->ensureElem(((inOffset + inLen) - (int)1),true); - } - HX_STACK_LINE(262) - Array< unsigned char > b1 = this->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(263) - Array< unsigned char > b2 = outData->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(264) - int p = this->position; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(265) - { - HX_STACK_LINE(265) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(265) - while(((_g < inLen))){ - HX_STACK_LINE(265) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(266) - b2[(inOffset + i)] = b1->__get((p + i)); - } - } - HX_STACK_LINE(269) - hx::AddEq(this->position,inLen); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(ByteArray_obj,readBytes,(void)) - -int ByteArray_obj::readByte( ){ - HX_STACK_PUSH("ByteArray::readByte","native/utils/ByteArray.hx",240); - HX_STACK_THIS(this); - HX_STACK_LINE(242) - int val = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(243) - return ( (((((int(val) & int((int)128))) != (int)0))) ? int((val - (int)256)) : int(val) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readByte,return ) - -bool ByteArray_obj::readBoolean( ){ - HX_STACK_PUSH("ByteArray::readBoolean","native/utils/ByteArray.hx",233); - HX_STACK_THIS(this); - HX_STACK_LINE(233) - return ( ((((this->position + (int)1) < this->length))) ? bool((this->b->__get((this->position)++) != (int)0)) : bool((this->ThrowEOFi() != (int)0)) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readBoolean,return ) - -Void ByteArray_obj::inflate( ){ -{ - HX_STACK_PUSH("ByteArray::inflate","native/utils/ByteArray.hx",226); - HX_STACK_THIS(this); - HX_STACK_LINE(226) - this->uncompress(::native::utils::CompressionAlgorithm_obj::DEFLATE_dyn()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,inflate,(void)) - -int ByteArray_obj::getStart( ){ - HX_STACK_PUSH("ByteArray::getStart","native/utils/ByteArray.hx",223); - HX_STACK_THIS(this); - HX_STACK_LINE(223) - return (int)0; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,getStart,return ) - -::native::utils::ByteArray ByteArray_obj::getByteBuffer( ){ - HX_STACK_PUSH("ByteArray::getByteBuffer","native/utils/ByteArray.hx",222); - HX_STACK_THIS(this); - HX_STACK_LINE(222) - return hx::ObjectPtr(this); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,getByteBuffer,return ) - -int ByteArray_obj::getLength( ){ - HX_STACK_PUSH("ByteArray::getLength","native/utils/ByteArray.hx",218); - HX_STACK_THIS(this); - HX_STACK_LINE(218) - return this->length; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,getLength,return ) - -Void ByteArray_obj::ensureElem( int inSize,bool inUpdateLenght){ -{ - HX_STACK_PUSH("ByteArray::ensureElem","native/utils/ByteArray.hx",179); - HX_STACK_THIS(this); - HX_STACK_ARG(inSize,"inSize"); - HX_STACK_ARG(inUpdateLenght,"inUpdateLenght"); - HX_STACK_LINE(181) - int len = (inSize + (int)1); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(193) - if (((this->b->length < len))){ - HX_STACK_LINE(194) - this->b->__SetSize(len); - } - HX_STACK_LINE(197) - if (((bool(inUpdateLenght) && bool((this->length < len))))){ - HX_STACK_LINE(198) - this->length = len; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ByteArray_obj,ensureElem,(void)) - -Void ByteArray_obj::deflate( ){ -{ - HX_STACK_PUSH("ByteArray::deflate","native/utils/ByteArray.hx",172); - HX_STACK_THIS(this); - HX_STACK_LINE(172) - this->compress(::native::utils::CompressionAlgorithm_obj::DEFLATE_dyn()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,deflate,(void)) - -Void ByteArray_obj::compress( ::native::utils::CompressionAlgorithm algorithm){ -{ - HX_STACK_PUSH("ByteArray::compress","native/utils/ByteArray.hx",130); - HX_STACK_THIS(this); - HX_STACK_ARG(algorithm,"algorithm"); - HX_STACK_LINE(135) - ::native::utils::ByteArray src = hx::ObjectPtr(this); HX_STACK_VAR(src,"src"); - HX_STACK_LINE(138) - ::haxe::io::Bytes result; HX_STACK_VAR(result,"result"); - HX_STACK_LINE(140) - if (((algorithm == ::native::utils::CompressionAlgorithm_obj::LZMA_dyn()))){ - HX_STACK_LINE(140) - result = ::haxe::io::Bytes_obj::ofData(::native::utils::ByteArray_obj::nme_lzma_encode(src->b)); - } - else{ - struct _Function_2_1{ - inline static int Block( ::native::utils::CompressionAlgorithm &algorithm){ - HX_STACK_PUSH("*::closure","native/utils/ByteArray.hx",146); - { - HX_STACK_LINE(146) - { - ::native::utils::CompressionAlgorithm _switch_2 = (algorithm); - switch((_switch_2)->GetIndex()){ - case 0: { - HX_STACK_LINE(148) - return (int)-15; - } - ;break; - case 3: { - HX_STACK_LINE(149) - return (int)31; - } - ;break; - default: { - HX_STACK_LINE(150) - return (int)15; - } - } - } - } - return null(); - } - }; - HX_STACK_LINE(146) - int windowBits = _Function_2_1::Block(algorithm); HX_STACK_VAR(windowBits,"windowBits"); - HX_STACK_LINE(157) - result = ::cpp::zip::Compress_obj::run(src,(int)8); - } - HX_STACK_LINE(162) - this->b = result->b; - HX_STACK_LINE(163) - this->length = result->length; - HX_STACK_LINE(164) - this->position = this->length; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,compress,(void)) - -Void ByteArray_obj::clear( ){ -{ - HX_STACK_PUSH("ByteArray::clear","native/utils/ByteArray.hx",122); - HX_STACK_THIS(this); - HX_STACK_LINE(124) - this->position = (int)0; - HX_STACK_LINE(125) - this->length = (int)0; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,clear,(void)) - -Void ByteArray_obj::checkData( int inLength){ -{ - HX_STACK_PUSH("ByteArray::checkData","native/utils/ByteArray.hx",114); - HX_STACK_THIS(this); - HX_STACK_ARG(inLength,"inLength"); - HX_STACK_LINE(114) - if ((((inLength + this->position) > this->length))){ - HX_STACK_LINE(117) - this->ThrowEOFi(); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,checkData,(void)) - -::String ByteArray_obj::asString( ){ - HX_STACK_PUSH("ByteArray::asString","native/utils/ByteArray.hx",107); - HX_STACK_THIS(this); - HX_STACK_LINE(107) - return this->readUTFBytes(this->length); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,asString,return ) - -Void ByteArray_obj::__set( int pos,int v){ -{ - HX_STACK_PUSH("ByteArray::__set","native/utils/ByteArray.hx",95); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(95) - this->b[pos] = v; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ByteArray_obj,__set,(void)) - -int ByteArray_obj::__get( int pos){ - HX_STACK_PUSH("ByteArray::__get","native/utils/ByteArray.hx",60); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(60) - return this->b->__get(pos); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,__get,return ) - -::native::utils::ByteArray ByteArray_obj::fromBytes( ::haxe::io::Bytes inBytes){ - HX_STACK_PUSH("ByteArray::fromBytes","native/utils/ByteArray.hx",203); - HX_STACK_ARG(inBytes,"inBytes"); - HX_STACK_LINE(205) - ::native::utils::ByteArray result = ::native::utils::ByteArray_obj::__new((int)-1); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(206) - result->b = inBytes->b; - HX_STACK_LINE(207) - result->length = inBytes->length; - HX_STACK_LINE(213) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,fromBytes,return ) - -::native::utils::ByteArray ByteArray_obj::readFile( ::String inString){ - HX_STACK_PUSH("ByteArray::readFile","native/utils/ByteArray.hx",292); - HX_STACK_ARG(inString,"inString"); - HX_STACK_LINE(292) - return ::native::utils::ByteArray_obj::nme_byte_array_read_file(inString); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,readFile,return ) - -Dynamic ByteArray_obj::_double_bytes; - -Dynamic ByteArray_obj::_double_of_bytes; - -Dynamic ByteArray_obj::_float_bytes; - -Dynamic ByteArray_obj::_float_of_bytes; - -Dynamic ByteArray_obj::nme_byte_array_overwrite_file; - -Dynamic ByteArray_obj::nme_byte_array_read_file; - -Dynamic ByteArray_obj::nme_lzma_encode; - -Dynamic ByteArray_obj::nme_lzma_decode; - - -ByteArray_obj::ByteArray_obj() -{ -} - -void ByteArray_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ByteArray); - HX_MARK_MEMBER_NAME(byteLength,"byteLength"); - HX_MARK_MEMBER_NAME(position,"position"); - HX_MARK_MEMBER_NAME(endian,"endian"); - HX_MARK_MEMBER_NAME(bytesAvailable,"bytesAvailable"); - HX_MARK_MEMBER_NAME(bigEndian,"bigEndian"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ByteArray_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(byteLength,"byteLength"); - HX_VISIT_MEMBER_NAME(position,"position"); - HX_VISIT_MEMBER_NAME(endian,"endian"); - HX_VISIT_MEMBER_NAME(bytesAvailable,"bytesAvailable"); - HX_VISIT_MEMBER_NAME(bigEndian,"bigEndian"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ByteArray_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"slice") ) { return slice_dyn(); } - if (HX_FIELD_EQ(inName,"clear") ) { return clear_dyn(); } - if (HX_FIELD_EQ(inName,"__set") ) { return __set_dyn(); } - if (HX_FIELD_EQ(inName,"__get") ) { return __get_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"endian") ) { return inCallProp ? get_endian() : endian; } - break; - case 7: - if (HX_FIELD_EQ(inName,"readUTF") ) { return readUTF_dyn(); } - if (HX_FIELD_EQ(inName,"readInt") ) { return readInt_dyn(); } - if (HX_FIELD_EQ(inName,"inflate") ) { return inflate_dyn(); } - if (HX_FIELD_EQ(inName,"deflate") ) { return deflate_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"readFile") ) { return readFile_dyn(); } - if (HX_FIELD_EQ(inName,"writeUTF") ) { return writeUTF_dyn(); } - if (HX_FIELD_EQ(inName,"writeInt") ) { return writeInt_dyn(); } - if (HX_FIELD_EQ(inName,"readByte") ) { return readByte_dyn(); } - if (HX_FIELD_EQ(inName,"getStart") ) { return getStart_dyn(); } - if (HX_FIELD_EQ(inName,"compress") ) { return compress_dyn(); } - if (HX_FIELD_EQ(inName,"asString") ) { return asString_dyn(); } - if (HX_FIELD_EQ(inName,"position") ) { return position; } - break; - case 9: - if (HX_FIELD_EQ(inName,"fromBytes") ) { return fromBytes_dyn(); } - if (HX_FIELD_EQ(inName,"writeFile") ) { return writeFile_dyn(); } - if (HX_FIELD_EQ(inName,"writeByte") ) { return writeByte_dyn(); } - if (HX_FIELD_EQ(inName,"ThrowEOFi") ) { return ThrowEOFi_dyn(); } - if (HX_FIELD_EQ(inName,"setLength") ) { return setLength_dyn(); } - if (HX_FIELD_EQ(inName,"readShort") ) { return readShort_dyn(); } - if (HX_FIELD_EQ(inName,"readFloat") ) { return readFloat_dyn(); } - if (HX_FIELD_EQ(inName,"readBytes") ) { return readBytes_dyn(); } - if (HX_FIELD_EQ(inName,"getLength") ) { return getLength_dyn(); } - if (HX_FIELD_EQ(inName,"checkData") ) { return checkData_dyn(); } - if (HX_FIELD_EQ(inName,"bigEndian") ) { return bigEndian; } - break; - case 10: - if (HX_FIELD_EQ(inName,"set_endian") ) { return set_endian_dyn(); } - if (HX_FIELD_EQ(inName,"get_endian") ) { return get_endian_dyn(); } - if (HX_FIELD_EQ(inName,"writeShort") ) { return writeShort_dyn(); } - if (HX_FIELD_EQ(inName,"writeFloat") ) { return writeFloat_dyn(); } - if (HX_FIELD_EQ(inName,"writeBytes") ) { return writeBytes_dyn(); } - if (HX_FIELD_EQ(inName,"uncompress") ) { return uncompress_dyn(); } - if (HX_FIELD_EQ(inName,"readDouble") ) { return readDouble_dyn(); } - if (HX_FIELD_EQ(inName,"ensureElem") ) { return ensureElem_dyn(); } - if (HX_FIELD_EQ(inName,"byteLength") ) { return inCallProp ? get_byteLength() : byteLength; } - break; - case 11: - if (HX_FIELD_EQ(inName,"writeDouble") ) { return writeDouble_dyn(); } - if (HX_FIELD_EQ(inName,"readBoolean") ) { return readBoolean_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_float_bytes") ) { return _float_bytes; } - if (HX_FIELD_EQ(inName,"writeBoolean") ) { return writeBoolean_dyn(); } - if (HX_FIELD_EQ(inName,"readUTFBytes") ) { return readUTFBytes_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"_double_bytes") ) { return _double_bytes; } - if (HX_FIELD_EQ(inName,"writeUTFBytes") ) { return writeUTFBytes_dyn(); } - if (HX_FIELD_EQ(inName,"write_uncheck") ) { return write_uncheck_dyn(); } - if (HX_FIELD_EQ(inName,"readMultiByte") ) { return readMultiByte_dyn(); } - if (HX_FIELD_EQ(inName,"getByteBuffer") ) { return getByteBuffer_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"get_byteLength") ) { return get_byteLength_dyn(); } - if (HX_FIELD_EQ(inName,"bytesAvailable") ) { return inCallProp ? get_bytesAvailable() : bytesAvailable; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_float_of_bytes") ) { return _float_of_bytes; } - if (HX_FIELD_EQ(inName,"nme_lzma_encode") ) { return nme_lzma_encode; } - if (HX_FIELD_EQ(inName,"nme_lzma_decode") ) { return nme_lzma_decode; } - if (HX_FIELD_EQ(inName,"readUnsignedInt") ) { return readUnsignedInt_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"_double_of_bytes") ) { return _double_of_bytes; } - if (HX_FIELD_EQ(inName,"writeUnsignedInt") ) { return writeUnsignedInt_dyn(); } - if (HX_FIELD_EQ(inName,"readUnsignedByte") ) { return readUnsignedByte_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"readUnsignedShort") ) { return readUnsignedShort_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"get_bytesAvailable") ) { return get_bytesAvailable_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_byte_array_read_file") ) { return nme_byte_array_read_file; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_byte_array_overwrite_file") ) { return nme_byte_array_overwrite_file; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ByteArray_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"endian") ) { if (inCallProp) return set_endian(inValue);endian=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"position") ) { position=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"bigEndian") ) { bigEndian=inValue.Cast< bool >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"byteLength") ) { byteLength=inValue.Cast< int >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_float_bytes") ) { _float_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"_double_bytes") ) { _double_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"bytesAvailable") ) { bytesAvailable=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_float_of_bytes") ) { _float_of_bytes=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_lzma_encode") ) { nme_lzma_encode=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_lzma_decode") ) { nme_lzma_decode=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"_double_of_bytes") ) { _double_of_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_byte_array_read_file") ) { nme_byte_array_read_file=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_byte_array_overwrite_file") ) { nme_byte_array_overwrite_file=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ByteArray_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("byteLength")); - outFields->push(HX_CSTRING("position")); - outFields->push(HX_CSTRING("endian")); - outFields->push(HX_CSTRING("bytesAvailable")); - outFields->push(HX_CSTRING("bigEndian")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("fromBytes"), - HX_CSTRING("readFile"), - HX_CSTRING("_double_bytes"), - HX_CSTRING("_double_of_bytes"), - HX_CSTRING("_float_bytes"), - HX_CSTRING("_float_of_bytes"), - HX_CSTRING("nme_byte_array_overwrite_file"), - HX_CSTRING("nme_byte_array_read_file"), - HX_CSTRING("nme_lzma_encode"), - HX_CSTRING("nme_lzma_decode"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("set_endian"), - HX_CSTRING("get_endian"), - HX_CSTRING("get_byteLength"), - HX_CSTRING("get_bytesAvailable"), - HX_CSTRING("writeUTFBytes"), - HX_CSTRING("writeUTF"), - HX_CSTRING("writeUnsignedInt"), - HX_CSTRING("writeShort"), - HX_CSTRING("writeInt"), - HX_CSTRING("writeFloat"), - HX_CSTRING("writeFile"), - HX_CSTRING("writeDouble"), - HX_CSTRING("writeBytes"), - HX_CSTRING("writeByte"), - HX_CSTRING("writeBoolean"), - HX_CSTRING("write_uncheck"), - HX_CSTRING("uncompress"), - HX_CSTRING("ThrowEOFi"), - HX_CSTRING("slice"), - HX_CSTRING("setLength"), - HX_CSTRING("readUTFBytes"), - HX_CSTRING("readUTF"), - HX_CSTRING("readUnsignedShort"), - HX_CSTRING("readUnsignedInt"), - HX_CSTRING("readUnsignedByte"), - HX_CSTRING("readShort"), - HX_CSTRING("readMultiByte"), - HX_CSTRING("readInt"), - HX_CSTRING("readFloat"), - HX_CSTRING("readDouble"), - HX_CSTRING("readBytes"), - HX_CSTRING("readByte"), - HX_CSTRING("readBoolean"), - HX_CSTRING("inflate"), - HX_CSTRING("getStart"), - HX_CSTRING("getByteBuffer"), - HX_CSTRING("getLength"), - HX_CSTRING("ensureElem"), - HX_CSTRING("deflate"), - HX_CSTRING("compress"), - HX_CSTRING("clear"), - HX_CSTRING("checkData"), - HX_CSTRING("asString"), - HX_CSTRING("__set"), - HX_CSTRING("__get"), - HX_CSTRING("byteLength"), - HX_CSTRING("position"), - HX_CSTRING("endian"), - HX_CSTRING("bytesAvailable"), - HX_CSTRING("bigEndian"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ByteArray_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ByteArray_obj::_double_bytes,"_double_bytes"); - HX_MARK_MEMBER_NAME(ByteArray_obj::_double_of_bytes,"_double_of_bytes"); - HX_MARK_MEMBER_NAME(ByteArray_obj::_float_bytes,"_float_bytes"); - HX_MARK_MEMBER_NAME(ByteArray_obj::_float_of_bytes,"_float_of_bytes"); - HX_MARK_MEMBER_NAME(ByteArray_obj::nme_byte_array_overwrite_file,"nme_byte_array_overwrite_file"); - HX_MARK_MEMBER_NAME(ByteArray_obj::nme_byte_array_read_file,"nme_byte_array_read_file"); - HX_MARK_MEMBER_NAME(ByteArray_obj::nme_lzma_encode,"nme_lzma_encode"); - HX_MARK_MEMBER_NAME(ByteArray_obj::nme_lzma_decode,"nme_lzma_decode"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ByteArray_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::_double_bytes,"_double_bytes"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::_double_of_bytes,"_double_of_bytes"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::_float_bytes,"_float_bytes"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::_float_of_bytes,"_float_of_bytes"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::nme_byte_array_overwrite_file,"nme_byte_array_overwrite_file"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::nme_byte_array_read_file,"nme_byte_array_read_file"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::nme_lzma_encode,"nme_lzma_encode"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::nme_lzma_decode,"nme_lzma_decode"); -}; - -Class ByteArray_obj::__mClass; - -void ByteArray_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.utils.ByteArray"), hx::TCanCast< ByteArray_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ByteArray_obj::__boot() -{ - _double_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("double_bytes"),(int)2); - _double_of_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("double_of_bytes"),(int)2); - _float_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("float_bytes"),(int)2); - _float_of_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("float_of_bytes"),(int)2); - nme_byte_array_overwrite_file= ::native::Loader_obj::load(HX_CSTRING("nme_byte_array_overwrite_file"),(int)2); - nme_byte_array_read_file= ::native::Loader_obj::load(HX_CSTRING("nme_byte_array_read_file"),(int)1); - nme_lzma_encode= ::native::Loader_obj::load(HX_CSTRING("nme_lzma_encode"),(int)1); - nme_lzma_decode= ::native::Loader_obj::load(HX_CSTRING("nme_lzma_decode"),(int)1); -} - -} // end namespace native -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/CompressionAlgorithm.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/CompressionAlgorithm.cpp deleted file mode 100644 index 41b3383..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/CompressionAlgorithm.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_native_utils_CompressionAlgorithm -#include -#endif -namespace native{ -namespace utils{ - -::native::utils::CompressionAlgorithm CompressionAlgorithm_obj::DEFLATE; - -::native::utils::CompressionAlgorithm CompressionAlgorithm_obj::GZIP; - -::native::utils::CompressionAlgorithm CompressionAlgorithm_obj::LZMA; - -::native::utils::CompressionAlgorithm CompressionAlgorithm_obj::ZLIB; - -HX_DEFINE_CREATE_ENUM(CompressionAlgorithm_obj) - -int CompressionAlgorithm_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("DEFLATE")) return 0; - if (inName==HX_CSTRING("GZIP")) return 3; - if (inName==HX_CSTRING("LZMA")) return 2; - if (inName==HX_CSTRING("ZLIB")) return 1; - return super::__FindIndex(inName); -} - -int CompressionAlgorithm_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("DEFLATE")) return 0; - if (inName==HX_CSTRING("GZIP")) return 0; - if (inName==HX_CSTRING("LZMA")) return 0; - if (inName==HX_CSTRING("ZLIB")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic CompressionAlgorithm_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("DEFLATE")) return DEFLATE; - if (inName==HX_CSTRING("GZIP")) return GZIP; - if (inName==HX_CSTRING("LZMA")) return LZMA; - if (inName==HX_CSTRING("ZLIB")) return ZLIB; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("DEFLATE"), - HX_CSTRING("ZLIB"), - HX_CSTRING("LZMA"), - HX_CSTRING("GZIP"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(CompressionAlgorithm_obj::DEFLATE,"DEFLATE"); - HX_MARK_MEMBER_NAME(CompressionAlgorithm_obj::GZIP,"GZIP"); - HX_MARK_MEMBER_NAME(CompressionAlgorithm_obj::LZMA,"LZMA"); - HX_MARK_MEMBER_NAME(CompressionAlgorithm_obj::ZLIB,"ZLIB"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(CompressionAlgorithm_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(CompressionAlgorithm_obj::DEFLATE,"DEFLATE"); - HX_VISIT_MEMBER_NAME(CompressionAlgorithm_obj::GZIP,"GZIP"); - HX_VISIT_MEMBER_NAME(CompressionAlgorithm_obj::LZMA,"LZMA"); - HX_VISIT_MEMBER_NAME(CompressionAlgorithm_obj::ZLIB,"ZLIB"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class CompressionAlgorithm_obj::__mClass; - -Dynamic __Create_CompressionAlgorithm_obj() { return new CompressionAlgorithm_obj; } - -void CompressionAlgorithm_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.utils.CompressionAlgorithm"), hx::TCanCast< CompressionAlgorithm_obj >,sStaticFields,sMemberFields, - &__Create_CompressionAlgorithm_obj, &__Create, - &super::__SGetClass(), &CreateCompressionAlgorithm_obj, sMarkStatics, sVisitStatic); -} - -void CompressionAlgorithm_obj::__boot() -{ -Static(DEFLATE) = hx::CreateEnum< CompressionAlgorithm_obj >(HX_CSTRING("DEFLATE"),0); -Static(GZIP) = hx::CreateEnum< CompressionAlgorithm_obj >(HX_CSTRING("GZIP"),3); -Static(LZMA) = hx::CreateEnum< CompressionAlgorithm_obj >(HX_CSTRING("LZMA"),2); -Static(ZLIB) = hx::CreateEnum< CompressionAlgorithm_obj >(HX_CSTRING("ZLIB"),1); -} - - -} // end namespace native -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/Endian.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/Endian.cpp deleted file mode 100644 index c977267..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/Endian.cpp +++ /dev/null @@ -1,111 +0,0 @@ -#include - -#ifndef INCLUDED_native_utils_Endian -#include -#endif -namespace native{ -namespace utils{ - -Void Endian_obj::__construct() -{ - return null(); -} - -Endian_obj::~Endian_obj() { } - -Dynamic Endian_obj::__CreateEmpty() { return new Endian_obj; } -hx::ObjectPtr< Endian_obj > Endian_obj::__new() -{ hx::ObjectPtr< Endian_obj > result = new Endian_obj(); - result->__construct(); - return result;} - -Dynamic Endian_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Endian_obj > result = new Endian_obj(); - result->__construct(); - return result;} - -::String Endian_obj::_BIG_ENDIAN; - -::String Endian_obj::_LITTLE_ENDIAN; - - -Endian_obj::Endian_obj() -{ -} - -void Endian_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Endian); - HX_MARK_END_CLASS(); -} - -void Endian_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Endian_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"BIG_ENDIAN") ) { return _BIG_ENDIAN; } - break; - case 13: - if (HX_FIELD_EQ(inName,"LITTLE_ENDIAN") ) { return _LITTLE_ENDIAN; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Endian_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"BIG_ENDIAN") ) { _BIG_ENDIAN=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"LITTLE_ENDIAN") ) { _LITTLE_ENDIAN=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Endian_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("BIG_ENDIAN"), - HX_CSTRING("LITTLE_ENDIAN"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Endian_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Endian_obj::_BIG_ENDIAN,"BIG_ENDIAN"); - HX_MARK_MEMBER_NAME(Endian_obj::_LITTLE_ENDIAN,"LITTLE_ENDIAN"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Endian_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Endian_obj::_BIG_ENDIAN,"BIG_ENDIAN"); - HX_VISIT_MEMBER_NAME(Endian_obj::_LITTLE_ENDIAN,"LITTLE_ENDIAN"); -}; - -Class Endian_obj::__mClass; - -void Endian_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.utils.Endian"), hx::TCanCast< Endian_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Endian_obj::__boot() -{ - _BIG_ENDIAN= HX_CSTRING("bigEndian"); - _LITTLE_ENDIAN= HX_CSTRING("littleEndian"); -} - -} // end namespace native -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/Float32Array.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/Float32Array.cpp deleted file mode 100644 index 01c4f4d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/Float32Array.cpp +++ /dev/null @@ -1,245 +0,0 @@ -#include - -#ifndef INCLUDED_native_geom_Matrix3D -#include -#endif -#ifndef INCLUDED_native_utils_ArrayBufferView -#include -#endif -#ifndef INCLUDED_native_utils_Float32Array -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace native{ -namespace utils{ - -Void Float32Array_obj::__construct(Dynamic inBufferOrArray,hx::Null< int > __o_inStart,Dynamic inLen) -{ -HX_STACK_PUSH("Float32Array::new","native/utils/Float32Array.hx",17); -int inStart = __o_inStart.Default(0); -{ - HX_STACK_LINE(19) - this->BYTES_PER_ELEMENT = (int)4; - HX_STACK_LINE(20) - Array< Float > floats = inBufferOrArray; HX_STACK_VAR(floats,"floats"); - HX_STACK_LINE(22) - if (((floats != null()))){ - HX_STACK_LINE(24) - this->length = floats->length; - HX_STACK_LINE(26) - super::__construct((int(this->length) << int((int)2)),null(),null()); - HX_STACK_LINE(32) - { - HX_STACK_LINE(32) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(32) - while(((_g1 < _g))){ - HX_STACK_LINE(32) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(35) - ::__hxcpp_memory_set_float(this->bytes,(int(i) << int((int)2)),floats->__get(i)); - } - } - } - else{ - HX_STACK_LINE(44) - super::__construct(inBufferOrArray,inStart,inLen); - HX_STACK_LINE(46) - if (((((int(this->byteLength) & int((int)3))) > (int)0))){ - HX_STACK_LINE(47) - hx::Throw (HX_CSTRING("Invalid array size")); - } - HX_STACK_LINE(49) - this->length = (int(this->byteLength) >> int((int)2)); - HX_STACK_LINE(50) - if (((this->length != (int(this->byteLength) << int((int)2))))){ - HX_STACK_LINE(51) - hx::Throw (HX_CSTRING("Invalid length multiple")); - } - } -} -; - return null(); -} - -Float32Array_obj::~Float32Array_obj() { } - -Dynamic Float32Array_obj::__CreateEmpty() { return new Float32Array_obj; } -hx::ObjectPtr< Float32Array_obj > Float32Array_obj::__new(Dynamic inBufferOrArray,hx::Null< int > __o_inStart,Dynamic inLen) -{ hx::ObjectPtr< Float32Array_obj > result = new Float32Array_obj(); - result->__construct(inBufferOrArray,__o_inStart,inLen); - return result;} - -Dynamic Float32Array_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Float32Array_obj > result = new Float32Array_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -Void Float32Array_obj::__set( int index,Float v){ -{ - HX_STACK_PUSH("Float32Array::__set","native/utils/Float32Array.hx",66); - HX_STACK_THIS(this); - HX_STACK_ARG(index,"index"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(66) - int bytePos = (int(index) << int((int)2)); HX_STACK_VAR(bytePos,"bytePos"); - HX_STACK_LINE(66) - if ((((bytePos - bytePos) > (int)4))){ - HX_STACK_LINE(66) - hx::Throw (::native::utils::ArrayBufferView_obj::invalidDataIndex); - } - HX_STACK_LINE(66) - ::__hxcpp_memory_set_float(this->bytes,(bytePos + this->byteOffset),v); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Float32Array_obj,__set,(void)) - -Float Float32Array_obj::__get( int index){ - HX_STACK_PUSH("Float32Array::__get","native/utils/Float32Array.hx",65); - HX_STACK_THIS(this); - HX_STACK_ARG(index,"index"); - struct _Function_1_1{ - inline static Float Block( int &index,::native::utils::Float32Array_obj *__this){ - HX_STACK_PUSH("*::closure","native/utils/Float32Array.hx",65); - { - HX_STACK_LINE(65) - int bytePos = (int(index) << int((int)2)); HX_STACK_VAR(bytePos,"bytePos"); - HX_STACK_LINE(65) - if ((((bytePos - bytePos) > (int)4))){ - HX_STACK_LINE(65) - hx::Throw (::native::utils::ArrayBufferView_obj::invalidDataIndex); - } - HX_STACK_LINE(65) - return ::__hxcpp_memory_get_float(__this->bytes,(bytePos + __this->byteOffset)); - } - return null(); - } - }; - HX_STACK_LINE(65) - return _Function_1_1::Block(index,this); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Float32Array_obj,__get,return ) - -int Float32Array_obj::SBYTES_PER_ELEMENT; - -::native::utils::Float32Array Float32Array_obj::fromMatrix( ::native::geom::Matrix3D inMatrix){ - HX_STACK_PUSH("Float32Array::fromMatrix","native/utils/Float32Array.hx",58); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_LINE(58) - return ::native::utils::Float32Array_obj::__new(inMatrix->rawData,null(),null()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Float32Array_obj,fromMatrix,return ) - - -Float32Array_obj::Float32Array_obj() -{ -} - -void Float32Array_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Float32Array); - HX_MARK_MEMBER_NAME(length,"length"); - HX_MARK_MEMBER_NAME(BYTES_PER_ELEMENT,"BYTES_PER_ELEMENT"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Float32Array_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(length,"length"); - HX_VISIT_MEMBER_NAME(BYTES_PER_ELEMENT,"BYTES_PER_ELEMENT"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Float32Array_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"__set") ) { return __set_dyn(); } - if (HX_FIELD_EQ(inName,"__get") ) { return __get_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { return length; } - break; - case 10: - if (HX_FIELD_EQ(inName,"fromMatrix") ) { return fromMatrix_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"BYTES_PER_ELEMENT") ) { return BYTES_PER_ELEMENT; } - break; - case 18: - if (HX_FIELD_EQ(inName,"SBYTES_PER_ELEMENT") ) { return SBYTES_PER_ELEMENT; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Float32Array_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"length") ) { length=inValue.Cast< int >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"BYTES_PER_ELEMENT") ) { BYTES_PER_ELEMENT=inValue.Cast< int >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"SBYTES_PER_ELEMENT") ) { SBYTES_PER_ELEMENT=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Float32Array_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("length")); - outFields->push(HX_CSTRING("BYTES_PER_ELEMENT")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("SBYTES_PER_ELEMENT"), - HX_CSTRING("fromMatrix"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("__set"), - HX_CSTRING("__get"), - HX_CSTRING("length"), - HX_CSTRING("BYTES_PER_ELEMENT"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Float32Array_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Float32Array_obj::SBYTES_PER_ELEMENT,"SBYTES_PER_ELEMENT"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Float32Array_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Float32Array_obj::SBYTES_PER_ELEMENT,"SBYTES_PER_ELEMENT"); -}; - -Class Float32Array_obj::__mClass; - -void Float32Array_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.utils.Float32Array"), hx::TCanCast< Float32Array_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Float32Array_obj::__boot() -{ - SBYTES_PER_ELEMENT= (int)4; -} - -} // end namespace native -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/IDataInput.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/IDataInput.cpp deleted file mode 100644 index 2f3035e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/IDataInput.cpp +++ /dev/null @@ -1,71 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace native{ -namespace utils{ - -HX_DEFINE_DYNAMIC_FUNC1(IDataInput_obj,set_endian,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,get_endian,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,get_bytesAvailable,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IDataInput_obj,readUTFBytes,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readUTF,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readUnsignedShort,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readUnsignedInt,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readUnsignedByte,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readShort,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readInt,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readFloat,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readDouble,return ) - -HX_DEFINE_DYNAMIC_FUNC3(IDataInput_obj,readBytes,) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readByte,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readBoolean,return ) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IDataInput_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IDataInput_obj::__mClass,"__mClass"); -}; - -Class IDataInput_obj::__mClass; - -void IDataInput_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.utils.IDataInput"), hx::TCanCast< IDataInput_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IDataInput_obj::__boot() -{ -} - -} // end namespace native -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/IMemoryRange.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/IMemoryRange.cpp deleted file mode 100644 index f14f719..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/IMemoryRange.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -namespace native{ -namespace utils{ - -HX_DEFINE_DYNAMIC_FUNC0(IMemoryRange_obj,getLength,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IMemoryRange_obj,getStart,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IMemoryRange_obj,getByteBuffer,return ) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IMemoryRange_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IMemoryRange_obj::__mClass,"__mClass"); -}; - -Class IMemoryRange_obj::__mClass; - -void IMemoryRange_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.utils.IMemoryRange"), hx::TCanCast< IMemoryRange_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IMemoryRange_obj::__boot() -{ -} - -} // end namespace native -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/WeakRef.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/WeakRef.cpp deleted file mode 100644 index 0227f95..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/native/utils/WeakRef.cpp +++ /dev/null @@ -1,201 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_native_Loader -#include -#endif -#ifndef INCLUDED_native_utils_WeakRef -#include -#endif -namespace native{ -namespace utils{ - -Void WeakRef_obj::__construct(Dynamic inObject,hx::Null< bool > __o_inMakeWeak) -{ -HX_STACK_PUSH("WeakRef::new","native/utils/WeakRef.hx",15); -bool inMakeWeak = __o_inMakeWeak.Default(true); -{ - HX_STACK_LINE(15) - if ((inMakeWeak)){ - HX_STACK_LINE(19) - this->weakRef = ::native::utils::WeakRef_obj::nme_weak_ref_create(hx::ObjectPtr(this),inObject); - HX_STACK_LINE(20) - this->hardRef = null(); - } - else{ - HX_STACK_LINE(24) - this->weakRef = (int)-1; - HX_STACK_LINE(25) - this->hardRef = inObject; - } -} -; - return null(); -} - -WeakRef_obj::~WeakRef_obj() { } - -Dynamic WeakRef_obj::__CreateEmpty() { return new WeakRef_obj; } -hx::ObjectPtr< WeakRef_obj > WeakRef_obj::__new(Dynamic inObject,hx::Null< bool > __o_inMakeWeak) -{ hx::ObjectPtr< WeakRef_obj > result = new WeakRef_obj(); - result->__construct(inObject,__o_inMakeWeak); - return result;} - -Dynamic WeakRef_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< WeakRef_obj > result = new WeakRef_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::String WeakRef_obj::toString( ){ - HX_STACK_PUSH("WeakRef::toString","native/utils/WeakRef.hx",49); - HX_STACK_THIS(this); - HX_STACK_LINE(51) - if (((this->hardRef == null()))){ - HX_STACK_LINE(52) - return (HX_CSTRING("") + ::Std_obj::string(this->hardRef)); - } - HX_STACK_LINE(54) - return ((HX_CSTRING("WeakRef(") + this->weakRef) + HX_CSTRING(")")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(WeakRef_obj,toString,return ) - -Dynamic WeakRef_obj::get( ){ - HX_STACK_PUSH("WeakRef::get","native/utils/WeakRef.hx",32); - HX_STACK_THIS(this); - HX_STACK_LINE(34) - if (((this->hardRef != null()))){ - HX_STACK_LINE(35) - return this->hardRef; - } - HX_STACK_LINE(37) - if (((this->weakRef < (int)0))){ - HX_STACK_LINE(38) - return null(); - } - HX_STACK_LINE(40) - Dynamic result = ::native::utils::WeakRef_obj::nme_weak_ref_get(this->weakRef); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(41) - if (((result == null()))){ - HX_STACK_LINE(42) - this->weakRef = (int)-1; - } - HX_STACK_LINE(44) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC0(WeakRef_obj,get,return ) - -Dynamic WeakRef_obj::nme_weak_ref_create; - -Dynamic WeakRef_obj::nme_weak_ref_get; - - -WeakRef_obj::WeakRef_obj() -{ -} - -void WeakRef_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(WeakRef); - HX_MARK_MEMBER_NAME(weakRef,"weakRef"); - HX_MARK_MEMBER_NAME(hardRef,"hardRef"); - HX_MARK_END_CLASS(); -} - -void WeakRef_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(weakRef,"weakRef"); - HX_VISIT_MEMBER_NAME(hardRef,"hardRef"); -} - -Dynamic WeakRef_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"get") ) { return get_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"weakRef") ) { return weakRef; } - if (HX_FIELD_EQ(inName,"hardRef") ) { return hardRef; } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_weak_ref_get") ) { return nme_weak_ref_get; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_weak_ref_create") ) { return nme_weak_ref_create; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic WeakRef_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"weakRef") ) { weakRef=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"hardRef") ) { hardRef=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_weak_ref_get") ) { nme_weak_ref_get=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_weak_ref_create") ) { nme_weak_ref_create=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void WeakRef_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("weakRef")); - outFields->push(HX_CSTRING("hardRef")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_weak_ref_create"), - HX_CSTRING("nme_weak_ref_get"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("get"), - HX_CSTRING("weakRef"), - HX_CSTRING("hardRef"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(WeakRef_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(WeakRef_obj::nme_weak_ref_create,"nme_weak_ref_create"); - HX_MARK_MEMBER_NAME(WeakRef_obj::nme_weak_ref_get,"nme_weak_ref_get"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(WeakRef_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(WeakRef_obj::nme_weak_ref_create,"nme_weak_ref_create"); - HX_VISIT_MEMBER_NAME(WeakRef_obj::nme_weak_ref_get,"nme_weak_ref_get"); -}; - -Class WeakRef_obj::__mClass; - -void WeakRef_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("native.utils.WeakRef"), hx::TCanCast< WeakRef_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void WeakRef_obj::__boot() -{ - nme_weak_ref_create= ::native::Loader_obj::load(HX_CSTRING("nme_weak_ref_create"),(int)2); - nme_weak_ref_get= ::native::Loader_obj::load(HX_CSTRING("nme_weak_ref_get"),(int)1); -} - -} // end namespace native -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/Lib.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/Lib.cpp deleted file mode 100644 index 012c999..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/Lib.cpp +++ /dev/null @@ -1,696 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_Timer -#include -#endif -#ifndef INCLUDED_neash_Lib -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_ManagedStage -#include -#endif -#ifndef INCLUDED_neash_display_MovieClip -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_net_URLRequest -#include -#endif -namespace neash{ - -Void Lib_obj::__construct() -{ - return null(); -} - -Lib_obj::~Lib_obj() { } - -Dynamic Lib_obj::__CreateEmpty() { return new Lib_obj; } -hx::ObjectPtr< Lib_obj > Lib_obj::__new() -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -Dynamic Lib_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -int Lib_obj::FULLSCREEN; - -int Lib_obj::BORDERLESS; - -int Lib_obj::RESIZABLE; - -int Lib_obj::HARDWARE; - -int Lib_obj::VSYNC; - -int Lib_obj::HW_AA; - -int Lib_obj::HW_AA_HIRES; - -int Lib_obj::ALLOW_SHADERS; - -::neash::display::MovieClip Lib_obj::current; - -int Lib_obj::initHeight; - -int Lib_obj::initWidth; - -::neash::display::Stage Lib_obj::stage; - -::neash::display::MovieClip Lib_obj::nmeCurrent; - -Dynamic Lib_obj::nmeMainFrame; - -::neash::display::Stage Lib_obj::nmeStage; - -bool Lib_obj::sIsInit; - -::String Lib_obj::company; - -::String Lib_obj::version; - -::String Lib_obj::packageName; - -::String Lib_obj::file; - -Void Lib_obj::close( ){ -{ - HX_STACK_PUSH("Lib::close","neash/Lib.hx",48); - HX_STACK_LINE(49) - Dynamic close = ::neash::Loader_obj::load(HX_CSTRING("nme_close"),(int)0); HX_STACK_VAR(close,"close"); - HX_STACK_LINE(50) - close(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,close,(void)) - -Void Lib_obj::create( Dynamic inOnLoaded,int inWidth,int inHeight,hx::Null< Float > __o_inFrameRate,hx::Null< int > __o_inColour,hx::Null< int > __o_inFlags,::String __o_inTitle,::neash::display::BitmapData inIcon){ -Float inFrameRate = __o_inFrameRate.Default(60.0); -int inColour = __o_inColour.Default(16777215); -int inFlags = __o_inFlags.Default(15); -::String inTitle = __o_inTitle.Default(HX_CSTRING("NME")); - HX_STACK_PUSH("Lib::create","neash/Lib.hx",54); - HX_STACK_ARG(inOnLoaded,"inOnLoaded"); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_ARG(inFrameRate,"inFrameRate"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_ARG(inFlags,"inFlags"); - HX_STACK_ARG(inTitle,"inTitle"); - HX_STACK_ARG(inIcon,"inIcon"); -{ - HX_STACK_LINE(54) - Array< int > inColour1 = Array_obj< int >::__new().Add(inColour); HX_STACK_VAR(inColour1,"inColour1"); - HX_STACK_LINE(54) - Array< Float > inFrameRate1 = Array_obj< Float >::__new().Add(inFrameRate); HX_STACK_VAR(inFrameRate1,"inFrameRate1"); - HX_STACK_LINE(54) - Array< int > inHeight1 = Array_obj< int >::__new().Add(inHeight); HX_STACK_VAR(inHeight1,"inHeight1"); - HX_STACK_LINE(54) - Array< int > inWidth1 = Array_obj< int >::__new().Add(inWidth); HX_STACK_VAR(inWidth1,"inWidth1"); - HX_STACK_LINE(54) - Dynamic inOnLoaded1 = Dynamic( Array_obj::__new().Add(inOnLoaded)); HX_STACK_VAR(inOnLoaded1,"inOnLoaded1"); - HX_STACK_LINE(56) - if ((::neash::Lib_obj::sIsInit)){ - HX_STACK_LINE(57) - hx::Throw (HX_CSTRING("nme.Lib.create called multiple times. This function is automatically called by the project code.")); - } - HX_STACK_LINE(60) - ::neash::Lib_obj::sIsInit = true; - HX_STACK_LINE(61) - ::neash::Lib_obj::initWidth = inWidth1->__get((int)0); - HX_STACK_LINE(62) - ::neash::Lib_obj::initHeight = inHeight1->__get((int)0); - HX_STACK_LINE(63) - Dynamic create_main_frame = ::neash::Loader_obj::load(HX_CSTRING("nme_create_main_frame"),(int)-1); HX_STACK_VAR(create_main_frame,"create_main_frame"); - - HX_BEGIN_LOCAL_FUNC_S5(hx::LocalFunc,_Function_1_1,Dynamic,inOnLoaded1,Array< int >,inHeight1,Array< int >,inColour1,Array< int >,inWidth1,Array< Float >,inFrameRate1) - Void run(Dynamic inFrameHandle){ - HX_STACK_PUSH("*::_Function_1_1","neash/Lib.hx",65); - HX_STACK_ARG(inFrameHandle,"inFrameHandle"); - { - HX_STACK_LINE(67) - ::neash::Lib_obj::nmeMainFrame = inFrameHandle; - HX_STACK_LINE(68) - Dynamic stage_handle = ::neash::Lib_obj::nme_get_frame_stage(::neash::Lib_obj::nmeMainFrame); HX_STACK_VAR(stage_handle,"stage_handle"); - HX_STACK_LINE(69) - ::neash::Lib_obj::nmeStage = ::neash::display::Stage_obj::__new(stage_handle,inWidth1->__get((int)0),inHeight1->__get((int)0)); - HX_STACK_LINE(70) - ::neash::Lib_obj::nmeStage->nmeSetFrameRate(inFrameRate1->__get((int)0)); - HX_STACK_LINE(71) - ::neash::Lib_obj::nmeStage->nmeSetBG(inColour1->__get((int)0)); - HX_STACK_LINE(72) - ::neash::Lib_obj::nmeStage->onQuit = ::neash::Lib_obj::close_dyn(); - HX_STACK_LINE(73) - if (((::neash::Lib_obj::nmeCurrent != null()))){ - HX_STACK_LINE(74) - ::neash::Lib_obj::nmeStage->addChild(::neash::Lib_obj::nmeCurrent); - } - HX_STACK_LINE(75) - inOnLoaded1->__GetItem((int)0)().Cast< Void >(); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - HX_STACK_LINE(64) - create_main_frame( Dynamic(new _Function_1_1(inOnLoaded1,inHeight1,inColour1,inWidth1,inFrameRate1)),inWidth1->__get((int)0),inHeight1->__get((int)0),inFlags,inTitle,( (((inIcon == null()))) ? Dynamic(null()) : Dynamic(inIcon->nmeHandle) )); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC8(Lib_obj,create,(void)) - -::neash::display::ManagedStage Lib_obj::createManagedStage( int inWidth,int inHeight,hx::Null< int > __o_inFlags){ -int inFlags = __o_inFlags.Default(0); - HX_STACK_PUSH("Lib::createManagedStage","neash/Lib.hx",83); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_ARG(inFlags,"inFlags"); -{ - HX_STACK_LINE(84) - ::neash::Lib_obj::initWidth = inWidth; - HX_STACK_LINE(85) - ::neash::Lib_obj::initHeight = inHeight; - HX_STACK_LINE(86) - ::neash::display::ManagedStage result = ::neash::display::ManagedStage_obj::__new(inWidth,inHeight,inFlags); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(87) - ::neash::Lib_obj::nmeStage = result; - HX_STACK_LINE(88) - return result; - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Lib_obj,createManagedStage,return ) - -Void Lib_obj::exit( ){ -{ - HX_STACK_PUSH("Lib::exit","neash/Lib.hx",93); - HX_STACK_LINE(94) - Dynamic quit = ::neash::Lib_obj::nmeGetStage()->onQuit_dyn(); HX_STACK_VAR(quit,"quit"); - HX_STACK_LINE(95) - if (((quit != null()))){ - HX_STACK_LINE(96) - quit().Cast< Void >(); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,exit,(void)) - -Void Lib_obj::forceClose( ){ -{ - HX_STACK_PUSH("Lib::forceClose","neash/Lib.hx",109); - HX_STACK_LINE(111) - Dynamic terminate = ::neash::Loader_obj::load(HX_CSTRING("nme_terminate"),(int)0); HX_STACK_VAR(terminate,"terminate"); - HX_STACK_LINE(112) - terminate(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,forceClose,(void)) - -int Lib_obj::getTimer( ){ - HX_STACK_PUSH("Lib::getTimer","neash/Lib.hx",117); - HX_STACK_LINE(117) - return ::Std_obj::_int((::haxe::Timer_obj::stamp() * 1000.0)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,getTimer,return ) - -Void Lib_obj::getURL( ::neash::net::URLRequest url,::String target){ -{ - HX_STACK_PUSH("Lib::getURL","neash/Lib.hx",124); - HX_STACK_ARG(url,"url"); - HX_STACK_ARG(target,"target"); - HX_STACK_LINE(124) - ::neash::Lib_obj::nme_get_url(url->url); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Lib_obj,getURL,(void)) - -Void Lib_obj::nmeSetCurrentStage( ::neash::display::Stage inStage){ -{ - HX_STACK_PUSH("Lib::nmeSetCurrentStage","neash/Lib.hx",133); - HX_STACK_ARG(inStage,"inStage"); - HX_STACK_LINE(133) - ::neash::Lib_obj::nmeStage = inStage; - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,nmeSetCurrentStage,(void)) - -Void Lib_obj::pause( ){ -{ - HX_STACK_PUSH("Lib::pause","neash/Lib.hx",139); - HX_STACK_LINE(139) - ::neash::Lib_obj::nme_pause_animation(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,pause,(void)) - -Void Lib_obj::postUICallback( Dynamic inCallback){ -{ - HX_STACK_PUSH("Lib::postUICallback","neash/Lib.hx",145); - HX_STACK_ARG(inCallback,"inCallback"); - HX_STACK_LINE(145) - inCallback().Cast< Void >(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,postUICallback,(void)) - -Void Lib_obj::resume( ){ -{ - HX_STACK_PUSH("Lib::resume","neash/Lib.hx",157); - HX_STACK_LINE(157) - ::neash::Lib_obj::nme_resume_animation(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,resume,(void)) - -Void Lib_obj::setIcon( ::String path){ -{ - HX_STACK_PUSH("Lib::setIcon","neash/Lib.hx",170); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(172) - Dynamic set_icon = ::neash::Loader_obj::load(HX_CSTRING("nme_set_icon"),(int)1); HX_STACK_VAR(set_icon,"set_icon"); - HX_STACK_LINE(173) - set_icon(path); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,setIcon,(void)) - -Void Lib_obj::setPackage( ::String inCompany,::String inFile,::String inPack,::String inVersion){ -{ - HX_STACK_PUSH("Lib::setPackage","neash/Lib.hx",177); - HX_STACK_ARG(inCompany,"inCompany"); - HX_STACK_ARG(inFile,"inFile"); - HX_STACK_ARG(inPack,"inPack"); - HX_STACK_ARG(inVersion,"inVersion"); - HX_STACK_LINE(178) - ::neash::Lib_obj::company = inCompany; - HX_STACK_LINE(179) - ::neash::Lib_obj::file = inFile; - HX_STACK_LINE(180) - ::neash::Lib_obj::packageName = inPack; - HX_STACK_LINE(181) - ::neash::Lib_obj::version = inVersion; - HX_STACK_LINE(182) - ::neash::Lib_obj::nme_set_package(inCompany,inFile,inPack,inVersion); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(Lib_obj,setPackage,(void)) - -::neash::display::MovieClip Lib_obj::nmeGetCurrent( ){ - HX_STACK_PUSH("Lib::nmeGetCurrent","neash/Lib.hx",189); - HX_STACK_LINE(190) - if (((::neash::Lib_obj::nmeCurrent == null()))){ - HX_STACK_LINE(192) - ::neash::Lib_obj::nmeCurrent = ::neash::display::MovieClip_obj::__new(); - HX_STACK_LINE(193) - if (((::neash::Lib_obj::nmeStage != null()))){ - HX_STACK_LINE(194) - ::neash::Lib_obj::nmeStage->addChild(::neash::Lib_obj::nmeCurrent); - } - } - HX_STACK_LINE(196) - return ::neash::Lib_obj::nmeCurrent; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetCurrent,return ) - -::neash::display::Stage Lib_obj::nmeGetStage( ){ - HX_STACK_PUSH("Lib::nmeGetStage","neash/Lib.hx",201); - HX_STACK_LINE(202) - if (((::neash::Lib_obj::nmeStage == null()))){ - HX_STACK_LINE(203) - hx::Throw (HX_CSTRING("Error : stage can't be accessed until init is called")); - } - HX_STACK_LINE(204) - return ::neash::Lib_obj::nmeStage; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetStage,return ) - -Dynamic Lib_obj::nme_set_package; - -Dynamic Lib_obj::nme_get_frame_stage; - -Dynamic Lib_obj::nme_get_url; - -Dynamic Lib_obj::nme_pause_animation; - -Dynamic Lib_obj::nme_resume_animation; - - -Lib_obj::Lib_obj() -{ -} - -void Lib_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Lib); - HX_MARK_END_CLASS(); -} - -void Lib_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Lib_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"file") ) { return file; } - if (HX_FIELD_EQ(inName,"exit") ) { return exit_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"VSYNC") ) { return VSYNC; } - if (HX_FIELD_EQ(inName,"HW_AA") ) { return HW_AA; } - if (HX_FIELD_EQ(inName,"stage") ) { return inCallProp ? nmeGetStage() : stage; } - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"pause") ) { return pause_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"create") ) { return create_dyn(); } - if (HX_FIELD_EQ(inName,"getURL") ) { return getURL_dyn(); } - if (HX_FIELD_EQ(inName,"resume") ) { return resume_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"current") ) { return inCallProp ? nmeGetCurrent() : current; } - if (HX_FIELD_EQ(inName,"sIsInit") ) { return sIsInit; } - if (HX_FIELD_EQ(inName,"company") ) { return company; } - if (HX_FIELD_EQ(inName,"version") ) { return version; } - if (HX_FIELD_EQ(inName,"setIcon") ) { return setIcon_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { return HARDWARE; } - if (HX_FIELD_EQ(inName,"nmeStage") ) { return nmeStage; } - if (HX_FIELD_EQ(inName,"getTimer") ) { return getTimer_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"RESIZABLE") ) { return RESIZABLE; } - if (HX_FIELD_EQ(inName,"initWidth") ) { return initWidth; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FULLSCREEN") ) { return FULLSCREEN; } - if (HX_FIELD_EQ(inName,"BORDERLESS") ) { return BORDERLESS; } - if (HX_FIELD_EQ(inName,"initHeight") ) { return initHeight; } - if (HX_FIELD_EQ(inName,"nmeCurrent") ) { return nmeCurrent; } - if (HX_FIELD_EQ(inName,"forceClose") ) { return forceClose_dyn(); } - if (HX_FIELD_EQ(inName,"setPackage") ) { return setPackage_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"HW_AA_HIRES") ) { return HW_AA_HIRES; } - if (HX_FIELD_EQ(inName,"packageName") ) { return packageName; } - if (HX_FIELD_EQ(inName,"nmeGetStage") ) { return nmeGetStage_dyn(); } - if (HX_FIELD_EQ(inName,"nme_get_url") ) { return nme_get_url; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeMainFrame") ) { return nmeMainFrame; } - break; - case 13: - if (HX_FIELD_EQ(inName,"ALLOW_SHADERS") ) { return ALLOW_SHADERS; } - if (HX_FIELD_EQ(inName,"nmeGetCurrent") ) { return nmeGetCurrent_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"postUICallback") ) { return postUICallback_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_set_package") ) { return nme_set_package; } - break; - case 18: - if (HX_FIELD_EQ(inName,"createManagedStage") ) { return createManagedStage_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetCurrentStage") ) { return nmeSetCurrentStage_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_get_frame_stage") ) { return nme_get_frame_stage; } - if (HX_FIELD_EQ(inName,"nme_pause_animation") ) { return nme_pause_animation; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_resume_animation") ) { return nme_resume_animation; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Lib_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"file") ) { file=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"VSYNC") ) { VSYNC=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"HW_AA") ) { HW_AA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"stage") ) { stage=inValue.Cast< ::neash::display::Stage >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"current") ) { current=inValue.Cast< ::neash::display::MovieClip >(); return inValue; } - if (HX_FIELD_EQ(inName,"sIsInit") ) { sIsInit=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"company") ) { company=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"version") ) { version=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { HARDWARE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeStage") ) { nmeStage=inValue.Cast< ::neash::display::Stage >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"RESIZABLE") ) { RESIZABLE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"initWidth") ) { initWidth=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FULLSCREEN") ) { FULLSCREEN=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BORDERLESS") ) { BORDERLESS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"initHeight") ) { initHeight=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeCurrent") ) { nmeCurrent=inValue.Cast< ::neash::display::MovieClip >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"HW_AA_HIRES") ) { HW_AA_HIRES=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"packageName") ) { packageName=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_get_url") ) { nme_get_url=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeMainFrame") ) { nmeMainFrame=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"ALLOW_SHADERS") ) { ALLOW_SHADERS=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_set_package") ) { nme_set_package=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_get_frame_stage") ) { nme_get_frame_stage=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_pause_animation") ) { nme_pause_animation=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_resume_animation") ) { nme_resume_animation=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Lib_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("FULLSCREEN"), - HX_CSTRING("BORDERLESS"), - HX_CSTRING("RESIZABLE"), - HX_CSTRING("HARDWARE"), - HX_CSTRING("VSYNC"), - HX_CSTRING("HW_AA"), - HX_CSTRING("HW_AA_HIRES"), - HX_CSTRING("ALLOW_SHADERS"), - HX_CSTRING("current"), - HX_CSTRING("initHeight"), - HX_CSTRING("initWidth"), - HX_CSTRING("stage"), - HX_CSTRING("nmeCurrent"), - HX_CSTRING("nmeMainFrame"), - HX_CSTRING("nmeStage"), - HX_CSTRING("sIsInit"), - HX_CSTRING("company"), - HX_CSTRING("version"), - HX_CSTRING("packageName"), - HX_CSTRING("file"), - HX_CSTRING("close"), - HX_CSTRING("create"), - HX_CSTRING("createManagedStage"), - HX_CSTRING("exit"), - HX_CSTRING("forceClose"), - HX_CSTRING("getTimer"), - HX_CSTRING("getURL"), - HX_CSTRING("nmeSetCurrentStage"), - HX_CSTRING("pause"), - HX_CSTRING("postUICallback"), - HX_CSTRING("resume"), - HX_CSTRING("setIcon"), - HX_CSTRING("setPackage"), - HX_CSTRING("nmeGetCurrent"), - HX_CSTRING("nmeGetStage"), - HX_CSTRING("nme_set_package"), - HX_CSTRING("nme_get_frame_stage"), - HX_CSTRING("nme_get_url"), - HX_CSTRING("nme_pause_animation"), - HX_CSTRING("nme_resume_animation"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Lib_obj::FULLSCREEN,"FULLSCREEN"); - HX_MARK_MEMBER_NAME(Lib_obj::BORDERLESS,"BORDERLESS"); - HX_MARK_MEMBER_NAME(Lib_obj::RESIZABLE,"RESIZABLE"); - HX_MARK_MEMBER_NAME(Lib_obj::HARDWARE,"HARDWARE"); - HX_MARK_MEMBER_NAME(Lib_obj::VSYNC,"VSYNC"); - HX_MARK_MEMBER_NAME(Lib_obj::HW_AA,"HW_AA"); - HX_MARK_MEMBER_NAME(Lib_obj::HW_AA_HIRES,"HW_AA_HIRES"); - HX_MARK_MEMBER_NAME(Lib_obj::ALLOW_SHADERS,"ALLOW_SHADERS"); - HX_MARK_MEMBER_NAME(Lib_obj::current,"current"); - HX_MARK_MEMBER_NAME(Lib_obj::initHeight,"initHeight"); - HX_MARK_MEMBER_NAME(Lib_obj::initWidth,"initWidth"); - HX_MARK_MEMBER_NAME(Lib_obj::stage,"stage"); - HX_MARK_MEMBER_NAME(Lib_obj::nmeCurrent,"nmeCurrent"); - HX_MARK_MEMBER_NAME(Lib_obj::nmeMainFrame,"nmeMainFrame"); - HX_MARK_MEMBER_NAME(Lib_obj::nmeStage,"nmeStage"); - HX_MARK_MEMBER_NAME(Lib_obj::sIsInit,"sIsInit"); - HX_MARK_MEMBER_NAME(Lib_obj::company,"company"); - HX_MARK_MEMBER_NAME(Lib_obj::version,"version"); - HX_MARK_MEMBER_NAME(Lib_obj::packageName,"packageName"); - HX_MARK_MEMBER_NAME(Lib_obj::file,"file"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_set_package,"nme_set_package"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_get_frame_stage,"nme_get_frame_stage"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_get_url,"nme_get_url"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_pause_animation,"nme_pause_animation"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_resume_animation,"nme_resume_animation"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Lib_obj::FULLSCREEN,"FULLSCREEN"); - HX_VISIT_MEMBER_NAME(Lib_obj::BORDERLESS,"BORDERLESS"); - HX_VISIT_MEMBER_NAME(Lib_obj::RESIZABLE,"RESIZABLE"); - HX_VISIT_MEMBER_NAME(Lib_obj::HARDWARE,"HARDWARE"); - HX_VISIT_MEMBER_NAME(Lib_obj::VSYNC,"VSYNC"); - HX_VISIT_MEMBER_NAME(Lib_obj::HW_AA,"HW_AA"); - HX_VISIT_MEMBER_NAME(Lib_obj::HW_AA_HIRES,"HW_AA_HIRES"); - HX_VISIT_MEMBER_NAME(Lib_obj::ALLOW_SHADERS,"ALLOW_SHADERS"); - HX_VISIT_MEMBER_NAME(Lib_obj::current,"current"); - HX_VISIT_MEMBER_NAME(Lib_obj::initHeight,"initHeight"); - HX_VISIT_MEMBER_NAME(Lib_obj::initWidth,"initWidth"); - HX_VISIT_MEMBER_NAME(Lib_obj::stage,"stage"); - HX_VISIT_MEMBER_NAME(Lib_obj::nmeCurrent,"nmeCurrent"); - HX_VISIT_MEMBER_NAME(Lib_obj::nmeMainFrame,"nmeMainFrame"); - HX_VISIT_MEMBER_NAME(Lib_obj::nmeStage,"nmeStage"); - HX_VISIT_MEMBER_NAME(Lib_obj::sIsInit,"sIsInit"); - HX_VISIT_MEMBER_NAME(Lib_obj::company,"company"); - HX_VISIT_MEMBER_NAME(Lib_obj::version,"version"); - HX_VISIT_MEMBER_NAME(Lib_obj::packageName,"packageName"); - HX_VISIT_MEMBER_NAME(Lib_obj::file,"file"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_set_package,"nme_set_package"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_get_frame_stage,"nme_get_frame_stage"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_get_url,"nme_get_url"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_pause_animation,"nme_pause_animation"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_resume_animation,"nme_resume_animation"); -}; - -Class Lib_obj::__mClass; - -void Lib_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.Lib"), hx::TCanCast< Lib_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Lib_obj::__boot() -{ - FULLSCREEN= (int)1; - BORDERLESS= (int)2; - RESIZABLE= (int)4; - HARDWARE= (int)8; - VSYNC= (int)16; - HW_AA= (int)32; - HW_AA_HIRES= (int)96; - ALLOW_SHADERS= (int)128; - nmeCurrent= null(); - nmeMainFrame= null(); - nmeStage= null(); - sIsInit= false; - nme_set_package= ::neash::Loader_obj::load(HX_CSTRING("nme_set_package"),(int)4); - nme_get_frame_stage= ::neash::Loader_obj::load(HX_CSTRING("nme_get_frame_stage"),(int)1); - nme_get_url= ::neash::Loader_obj::load(HX_CSTRING("nme_get_url"),(int)1); - nme_pause_animation= ::neash::Loader_obj::load(HX_CSTRING("nme_pause_animation"),(int)0); - nme_resume_animation= ::neash::Loader_obj::load(HX_CSTRING("nme_resume_animation"),(int)0); -} - -} // end namespace neash diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/Loader.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/Loader.cpp deleted file mode 100644 index a6f4f46..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/Loader.cpp +++ /dev/null @@ -1,123 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -namespace neash{ - -Void Loader_obj::__construct() -{ - return null(); -} - -Loader_obj::~Loader_obj() { } - -Dynamic Loader_obj::__CreateEmpty() { return new Loader_obj; } -hx::ObjectPtr< Loader_obj > Loader_obj::__new() -{ hx::ObjectPtr< Loader_obj > result = new Loader_obj(); - result->__construct(); - return result;} - -Dynamic Loader_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Loader_obj > result = new Loader_obj(); - result->__construct(); - return result;} - -bool Loader_obj::moduleInit; - -::String Loader_obj::moduleName; - -Dynamic Loader_obj::load( ::String func,int args){ - HX_STACK_PUSH("Loader::load","neash/Loader.hx",23); - HX_STACK_ARG(func,"func"); - HX_STACK_ARG(args,"args"); - HX_STACK_LINE(23) - return ::cpp::Lib_obj::load(HX_CSTRING("nme"),func,args); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Loader_obj,load,return ) - - -Loader_obj::Loader_obj() -{ -} - -void Loader_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Loader); - HX_MARK_END_CLASS(); -} - -void Loader_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Loader_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"moduleInit") ) { return moduleInit; } - if (HX_FIELD_EQ(inName,"moduleName") ) { return moduleName; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Loader_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"moduleInit") ) { moduleInit=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"moduleName") ) { moduleName=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Loader_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("moduleInit"), - HX_CSTRING("moduleName"), - HX_CSTRING("load"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Loader_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Loader_obj::moduleInit,"moduleInit"); - HX_MARK_MEMBER_NAME(Loader_obj::moduleName,"moduleName"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Loader_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Loader_obj::moduleInit,"moduleInit"); - HX_VISIT_MEMBER_NAME(Loader_obj::moduleName,"moduleName"); -}; - -Class Loader_obj::__mClass; - -void Loader_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.Loader"), hx::TCanCast< Loader_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Loader_obj::__boot() -{ - moduleInit= false; - moduleName= HX_CSTRING(""); -} - -} // end namespace neash diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/Bitmap.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/Bitmap.cpp deleted file mode 100644 index 35b7e54..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/Bitmap.cpp +++ /dev/null @@ -1,229 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_Bitmap -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_PixelSnapping -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace neash{ -namespace display{ - -Void Bitmap_obj::__construct(::neash::display::BitmapData bitmapData,::neash::display::PixelSnapping pixelSnapping,hx::Null< bool > __o_smoothing) -{ -HX_STACK_PUSH("Bitmap::new","neash/display/Bitmap.hx",28); -bool smoothing = __o_smoothing.Default(false); -{ - HX_STACK_LINE(29) - super::__construct(::neash::display::DisplayObject_obj::nme_create_display_object(),HX_CSTRING("Bitmap")); - HX_STACK_LINE(31) - this->nmeSetPixelSnapping(( (((pixelSnapping == null()))) ? ::neash::display::PixelSnapping(::neash::display::PixelSnapping_obj::AUTO_dyn()) : ::neash::display::PixelSnapping(pixelSnapping) )); - HX_STACK_LINE(32) - this->nmeSetSmoothing(smoothing); - HX_STACK_LINE(34) - if (((bitmapData != null()))){ - HX_STACK_LINE(35) - this->nmeSetBitmapData(bitmapData); - } - else{ - HX_STACK_LINE(38) - if (((this->bitmapData != null()))){ - HX_STACK_LINE(39) - this->nmeRebuild(); - } - } -} -; - return null(); -} - -Bitmap_obj::~Bitmap_obj() { } - -Dynamic Bitmap_obj::__CreateEmpty() { return new Bitmap_obj; } -hx::ObjectPtr< Bitmap_obj > Bitmap_obj::__new(::neash::display::BitmapData bitmapData,::neash::display::PixelSnapping pixelSnapping,hx::Null< bool > __o_smoothing) -{ hx::ObjectPtr< Bitmap_obj > result = new Bitmap_obj(); - result->__construct(bitmapData,pixelSnapping,__o_smoothing); - return result;} - -Dynamic Bitmap_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Bitmap_obj > result = new Bitmap_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -bool Bitmap_obj::nmeSetSmoothing( bool inSmooth){ - HX_STACK_PUSH("Bitmap::nmeSetSmoothing","neash/display/Bitmap.hx",77); - HX_STACK_THIS(this); - HX_STACK_ARG(inSmooth,"inSmooth"); - HX_STACK_LINE(78) - this->smoothing = inSmooth; - HX_STACK_LINE(79) - this->nmeRebuild(); - HX_STACK_LINE(81) - return inSmooth; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Bitmap_obj,nmeSetSmoothing,return ) - -::neash::display::BitmapData Bitmap_obj::nmeSetBitmapData( ::neash::display::BitmapData inBitmapData){ - HX_STACK_PUSH("Bitmap::nmeSetBitmapData","neash/display/Bitmap.hx",68); - HX_STACK_THIS(this); - HX_STACK_ARG(inBitmapData,"inBitmapData"); - HX_STACK_LINE(69) - this->bitmapData = inBitmapData; - HX_STACK_LINE(70) - this->nmeRebuild(); - HX_STACK_LINE(72) - return inBitmapData; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Bitmap_obj,nmeSetBitmapData,return ) - -Void Bitmap_obj::nmeRebuild( ){ -{ - HX_STACK_PUSH("Bitmap::nmeRebuild","neash/display/Bitmap.hx",46); - HX_STACK_THIS(this); - HX_STACK_LINE(46) - if (((bool((this->nmeHandle != null())) && bool((this->bitmapData != null()))))){ - HX_STACK_LINE(49) - ::neash::display::Graphics gfx = this->nmeGetGraphics(); HX_STACK_VAR(gfx,"gfx"); - HX_STACK_LINE(50) - gfx->clear(); - HX_STACK_LINE(52) - if (((this->bitmapData != null()))){ - HX_STACK_LINE(54) - gfx->beginBitmapFill(this->bitmapData,null(),false,this->smoothing); - HX_STACK_LINE(55) - gfx->drawRect((int)0,(int)0,this->bitmapData->nmeGetWidth(),this->bitmapData->nmeGetHeight()); - HX_STACK_LINE(56) - gfx->endFill(); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Bitmap_obj,nmeRebuild,(void)) - - -Bitmap_obj::Bitmap_obj() -{ -} - -void Bitmap_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Bitmap); - HX_MARK_MEMBER_NAME(mGraphics,"mGraphics"); - HX_MARK_MEMBER_NAME(smoothing,"smoothing"); - HX_MARK_MEMBER_NAME(bitmapData,"bitmapData"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Bitmap_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mGraphics,"mGraphics"); - HX_VISIT_MEMBER_NAME(smoothing,"smoothing"); - HX_VISIT_MEMBER_NAME(bitmapData,"bitmapData"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Bitmap_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"mGraphics") ) { return mGraphics; } - if (HX_FIELD_EQ(inName,"smoothing") ) { return smoothing; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeRebuild") ) { return nmeRebuild_dyn(); } - if (HX_FIELD_EQ(inName,"bitmapData") ) { return bitmapData; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeSetSmoothing") ) { return nmeSetSmoothing_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeSetBitmapData") ) { return nmeSetBitmapData_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Bitmap_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"mGraphics") ) { mGraphics=inValue.Cast< ::neash::display::Graphics >(); return inValue; } - if (HX_FIELD_EQ(inName,"smoothing") ) { if (inCallProp) return nmeSetSmoothing(inValue);smoothing=inValue.Cast< bool >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"bitmapData") ) { if (inCallProp) return nmeSetBitmapData(inValue);bitmapData=inValue.Cast< ::neash::display::BitmapData >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Bitmap_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mGraphics")); - outFields->push(HX_CSTRING("smoothing")); - outFields->push(HX_CSTRING("bitmapData")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetSmoothing"), - HX_CSTRING("nmeSetBitmapData"), - HX_CSTRING("nmeRebuild"), - HX_CSTRING("mGraphics"), - HX_CSTRING("smoothing"), - HX_CSTRING("bitmapData"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Bitmap_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Bitmap_obj::__mClass,"__mClass"); -}; - -Class Bitmap_obj::__mClass; - -void Bitmap_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.Bitmap"), hx::TCanCast< Bitmap_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Bitmap_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/BitmapData.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/BitmapData.cpp deleted file mode 100644 index ef24f96..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/BitmapData.cpp +++ /dev/null @@ -1,1491 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_OptimizedPerlin -#include -#endif -#ifndef INCLUDED_neash_filters_BitmapFilter -#include -#endif -#ifndef INCLUDED_neash_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace display{ - -Void BitmapData_obj::__construct(int inWidth,int inHeight,hx::Null< bool > __o_inTransparent,Dynamic inFillRGBA) -{ -HX_STACK_PUSH("BitmapData::new","neash/display/BitmapData.hx",64); -bool inTransparent = __o_inTransparent.Default(true); -{ - HX_STACK_LINE(65) - int fill_col; HX_STACK_VAR(fill_col,"fill_col"); - HX_STACK_LINE(66) - int fill_alpha; HX_STACK_VAR(fill_alpha,"fill_alpha"); - HX_STACK_LINE(68) - if (((inFillRGBA == null()))){ - HX_STACK_LINE(70) - fill_col = (int)16777215; - HX_STACK_LINE(71) - fill_alpha = (int)255; - } - else{ - struct _Function_2_1{ - inline static int Block( Dynamic &inFillRGBA){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",75); - { - HX_STACK_LINE(75) - int v = inFillRGBA; HX_STACK_VAR(v,"v"); - HX_STACK_LINE(75) - return (int(v) & int((int)16777215)); - } - return null(); - } - }; - HX_STACK_LINE(75) - fill_col = _Function_2_1::Block(inFillRGBA); - struct _Function_2_2{ - inline static int Block( Dynamic &inFillRGBA){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",76); - { - HX_STACK_LINE(76) - int v = inFillRGBA; HX_STACK_VAR(v,"v"); - HX_STACK_LINE(76) - return hx::UShr(v,(int)24); - } - return null(); - } - }; - HX_STACK_LINE(76) - fill_alpha = _Function_2_2::Block(inFillRGBA); - } - HX_STACK_LINE(79) - if (((bool((inWidth < (int)1)) || bool((inHeight < (int)1))))){ - HX_STACK_LINE(80) - this->nmeHandle = null(); - } - else{ - HX_STACK_LINE(85) - int flags = ::neash::display::BitmapData_obj::HARDWARE; HX_STACK_VAR(flags,"flags"); - HX_STACK_LINE(87) - if ((inTransparent)){ - HX_STACK_LINE(88) - hx::OrEq(flags,::neash::display::BitmapData_obj::TRANSPARENT); - } - HX_STACK_LINE(90) - this->nmeHandle = ::neash::display::BitmapData_obj::nme_bitmap_data_create(inWidth,inHeight,flags,fill_col,fill_alpha); - } -} -; - return null(); -} - -BitmapData_obj::~BitmapData_obj() { } - -Dynamic BitmapData_obj::__CreateEmpty() { return new BitmapData_obj; } -hx::ObjectPtr< BitmapData_obj > BitmapData_obj::__new(int inWidth,int inHeight,hx::Null< bool > __o_inTransparent,Dynamic inFillRGBA) -{ hx::ObjectPtr< BitmapData_obj > result = new BitmapData_obj(); - result->__construct(inWidth,inHeight,__o_inTransparent,inFillRGBA); - return result;} - -Dynamic BitmapData_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BitmapData_obj > result = new BitmapData_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -hx::Object *BitmapData_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::neash::display::IBitmapDrawable_obj)) return operator ::neash::display::IBitmapDrawable_obj *(); - return super::__ToInterface(inType); -} - -bool BitmapData_obj::nmeGetTransparent( ){ - HX_STACK_PUSH("BitmapData::nmeGetTransparent","neash/display/BitmapData.hx",459); - HX_STACK_THIS(this); - HX_STACK_LINE(459) - return ::neash::display::BitmapData_obj::nme_bitmap_data_get_transparent(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,nmeGetTransparent,return ) - -int BitmapData_obj::nmeGetHeight( ){ - HX_STACK_PUSH("BitmapData::nmeGetHeight","neash/display/BitmapData.hx",458); - HX_STACK_THIS(this); - HX_STACK_LINE(458) - return ::neash::display::BitmapData_obj::nme_bitmap_data_height(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,nmeGetHeight,return ) - -int BitmapData_obj::nmeGetWidth( ){ - HX_STACK_PUSH("BitmapData::nmeGetWidth","neash/display/BitmapData.hx",457); - HX_STACK_THIS(this); - HX_STACK_LINE(457) - return ::neash::display::BitmapData_obj::nme_bitmap_data_width(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,nmeGetWidth,return ) - -::neash::geom::Rectangle BitmapData_obj::nmeGetRect( ){ - HX_STACK_PUSH("BitmapData::nmeGetRect","neash/display/BitmapData.hx",456); - HX_STACK_THIS(this); - HX_STACK_LINE(456) - return ::neash::geom::Rectangle_obj::__new((int)0,(int)0,this->nmeGetWidth(),this->nmeGetHeight()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,nmeGetRect,return ) - -Void BitmapData_obj::noise( int randomSeed,hx::Null< int > __o_low,hx::Null< int > __o_high,hx::Null< int > __o_channelOptions,hx::Null< bool > __o_grayScale){ -int low = __o_low.Default(0); -int high = __o_high.Default(255); -int channelOptions = __o_channelOptions.Default(7); -bool grayScale = __o_grayScale.Default(false); - HX_STACK_PUSH("BitmapData::noise","neash/display/BitmapData.hx",448); - HX_STACK_THIS(this); - HX_STACK_ARG(randomSeed,"randomSeed"); - HX_STACK_ARG(low,"low"); - HX_STACK_ARG(high,"high"); - HX_STACK_ARG(channelOptions,"channelOptions"); - HX_STACK_ARG(grayScale,"grayScale"); -{ - HX_STACK_LINE(448) - ::neash::display::BitmapData_obj::nme_bitmap_data_noise(this->nmeHandle,randomSeed,low,high,channelOptions,grayScale); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(BitmapData_obj,noise,(void)) - -Void BitmapData_obj::setFormat( int format){ -{ - HX_STACK_PUSH("BitmapData::setFormat","neash/display/BitmapData.hx",444); - HX_STACK_THIS(this); - HX_STACK_ARG(format,"format"); - HX_STACK_LINE(444) - ::neash::display::BitmapData_obj::nme_bitmap_data_set_format(this->nmeHandle,format); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,setFormat,(void)) - -Void BitmapData_obj::unlock( ::neash::geom::Rectangle changeRect){ -{ - HX_STACK_PUSH("BitmapData::unlock","neash/display/BitmapData.hx",439); - HX_STACK_THIS(this); - HX_STACK_ARG(changeRect,"changeRect"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,unlock,(void)) - -Void BitmapData_obj::setVector( ::neash::geom::Rectangle rect,Array< int > inPixels){ -{ - HX_STACK_PUSH("BitmapData::setVector","neash/display/BitmapData.hx",422); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(inPixels,"inPixels"); - HX_STACK_LINE(423) - int count = ::Std_obj::_int((rect->width * rect->height)); HX_STACK_VAR(count,"count"); - HX_STACK_LINE(424) - if (((inPixels->length < count))){ - HX_STACK_LINE(425) - return null(); - } - HX_STACK_LINE(428) - ::neash::display::BitmapData_obj::nme_bitmap_data_set_array(this->nmeHandle,rect,inPixels); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,setVector,(void)) - -Void BitmapData_obj::setPixels( ::neash::geom::Rectangle rect,::neash::utils::ByteArray pixels){ -{ - HX_STACK_PUSH("BitmapData::setPixels","neash/display/BitmapData.hx",413); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(pixels,"pixels"); - HX_STACK_LINE(414) - int size = ::Std_obj::_int(((rect->width * rect->height) * (int)4)); HX_STACK_VAR(size,"size"); - HX_STACK_LINE(415) - pixels->checkData(::Std_obj::_int(size)); - HX_STACK_LINE(416) - ::neash::display::BitmapData_obj::nme_bitmap_data_set_bytes(this->nmeHandle,rect,pixels,pixels->position); - HX_STACK_LINE(417) - hx::AddEq(pixels->position,size); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,setPixels,(void)) - -Void BitmapData_obj::setPixel32( int inX,int inY,int inColour){ -{ - HX_STACK_PUSH("BitmapData::setPixel32","neash/display/BitmapData.hx",403); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_LINE(403) - ::neash::display::BitmapData_obj::nme_bitmap_data_set_pixel32(this->nmeHandle,inX,inY,inColour); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(BitmapData_obj,setPixel32,(void)) - -Void BitmapData_obj::setPixel( int inX,int inY,int inColour){ -{ - HX_STACK_PUSH("BitmapData::setPixel","neash/display/BitmapData.hx",397); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_LINE(397) - ::neash::display::BitmapData_obj::nme_bitmap_data_set_pixel(this->nmeHandle,inX,inY,inColour); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(BitmapData_obj,setPixel,(void)) - -Void BitmapData_obj::setFlags( int inFlags){ -{ - HX_STACK_PUSH("BitmapData::setFlags","neash/display/BitmapData.hx",390); - HX_STACK_THIS(this); - HX_STACK_ARG(inFlags,"inFlags"); - HX_STACK_LINE(390) - ::neash::display::BitmapData_obj::nme_bitmap_data_set_flags(this->nmeHandle,inFlags); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,setFlags,(void)) - -Void BitmapData_obj::scroll( int inDX,int inDY){ -{ - HX_STACK_PUSH("BitmapData::scroll","neash/display/BitmapData.hx",384); - HX_STACK_THIS(this); - HX_STACK_ARG(inDX,"inDX"); - HX_STACK_ARG(inDY,"inDY"); - HX_STACK_LINE(384) - ::neash::display::BitmapData_obj::nme_bitmap_data_scroll(this->nmeHandle,inDX,inDY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,scroll,(void)) - -Void BitmapData_obj::perlinNoise( Float baseX,Float baseY,int numOctaves,int randomSeed,bool stitch,bool fractalNoise,hx::Null< int > __o_channelOptions,hx::Null< bool > __o_grayScale,Array< ::neash::geom::Point > offsets){ -int channelOptions = __o_channelOptions.Default(7); -bool grayScale = __o_grayScale.Default(false); - HX_STACK_PUSH("BitmapData::perlinNoise","neash/display/BitmapData.hx",377); - HX_STACK_THIS(this); - HX_STACK_ARG(baseX,"baseX"); - HX_STACK_ARG(baseY,"baseY"); - HX_STACK_ARG(numOctaves,"numOctaves"); - HX_STACK_ARG(randomSeed,"randomSeed"); - HX_STACK_ARG(stitch,"stitch"); - HX_STACK_ARG(fractalNoise,"fractalNoise"); - HX_STACK_ARG(channelOptions,"channelOptions"); - HX_STACK_ARG(grayScale,"grayScale"); - HX_STACK_ARG(offsets,"offsets"); -{ - HX_STACK_LINE(378) - ::neash::display::OptimizedPerlin perlin = ::neash::display::OptimizedPerlin_obj::__new(randomSeed,numOctaves,null()); HX_STACK_VAR(perlin,"perlin"); - HX_STACK_LINE(379) - perlin->fill(hx::ObjectPtr(this),baseX,baseY,(int)0,null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC9(BitmapData_obj,perlinNoise,(void)) - -Void BitmapData_obj::nmeDrawToSurface( Dynamic inSurface,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,bool smoothing){ -{ - HX_STACK_PUSH("BitmapData::nmeDrawToSurface","neash/display/BitmapData.hx",370); - HX_STACK_THIS(this); - HX_STACK_ARG(inSurface,"inSurface"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(colorTransform,"colorTransform"); - HX_STACK_ARG(blendMode,"blendMode"); - HX_STACK_ARG(clipRect,"clipRect"); - HX_STACK_ARG(smoothing,"smoothing"); - HX_STACK_LINE(370) - ::neash::display::BitmapData_obj::nme_render_surface_to_surface(inSurface,this->nmeHandle,matrix,colorTransform,blendMode,clipRect,smoothing); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(BitmapData_obj,nmeDrawToSurface,(void)) - -Void BitmapData_obj::lock( ){ -{ - HX_STACK_PUSH("BitmapData::lock","neash/display/BitmapData.hx",364); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,lock,(void)) - -Array< int > BitmapData_obj::getVector( ::neash::geom::Rectangle rect){ - HX_STACK_PUSH("BitmapData::getVector","neash/display/BitmapData.hx",297); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_LINE(298) - int pixels = ::Std_obj::_int((rect->width * rect->height)); HX_STACK_VAR(pixels,"pixels"); - HX_STACK_LINE(300) - if (((pixels < (int)1))){ - HX_STACK_LINE(301) - return Array_obj< int >::__new(); - } - HX_STACK_LINE(303) - Array< int > result = Array_obj< int >::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(304) - result[(pixels - (int)1)] = (int)0; - HX_STACK_LINE(307) - ::neash::display::BitmapData_obj::nme_bitmap_data_get_array(this->nmeHandle,rect,result); - HX_STACK_LINE(315) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,getVector,return ) - -::neash::utils::ByteArray BitmapData_obj::getPixels( ::neash::geom::Rectangle rect){ - HX_STACK_PUSH("BitmapData::getPixels","neash/display/BitmapData.hx",286); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_LINE(287) - ::neash::utils::ByteArray result = ::neash::display::BitmapData_obj::nme_bitmap_data_get_pixels(this->nmeHandle,rect); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(289) - if (((result != null()))){ - HX_STACK_LINE(290) - result->position = result->length; - } - HX_STACK_LINE(292) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,getPixels,return ) - -int BitmapData_obj::getPixel32( int x,int y){ - HX_STACK_PUSH("BitmapData::getPixel32","neash/display/BitmapData.hx",276); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_LINE(276) - return ::neash::display::BitmapData_obj::nme_bitmap_data_get_pixel32(this->nmeHandle,x,y); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,getPixel32,return ) - -int BitmapData_obj::getPixel( int x,int y){ - HX_STACK_PUSH("BitmapData::getPixel","neash/display/BitmapData.hx",270); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_LINE(270) - return ::neash::display::BitmapData_obj::nme_bitmap_data_get_pixel(this->nmeHandle,x,y); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,getPixel,return ) - -::neash::geom::Rectangle BitmapData_obj::getColorBoundsRect( int mask,int color,hx::Null< bool > __o_findColor){ -bool findColor = __o_findColor.Default(true); - HX_STACK_PUSH("BitmapData::getColorBoundsRect","neash/display/BitmapData.hx",262); - HX_STACK_THIS(this); - HX_STACK_ARG(mask,"mask"); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(findColor,"findColor"); -{ - HX_STACK_LINE(263) - ::neash::geom::Rectangle result = ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(264) - ::neash::display::BitmapData_obj::nme_bitmap_data_get_color_bounds_rect(this->nmeHandle,mask,color,findColor,result); - HX_STACK_LINE(265) - return result; - } -} - - -HX_DEFINE_DYNAMIC_FUNC3(BitmapData_obj,getColorBoundsRect,return ) - -::neash::geom::Rectangle BitmapData_obj::generateFilterRect( ::neash::geom::Rectangle sourceRect,::neash::filters::BitmapFilter filter){ - HX_STACK_PUSH("BitmapData::generateFilterRect","neash/display/BitmapData.hx",254); - HX_STACK_THIS(this); - HX_STACK_ARG(sourceRect,"sourceRect"); - HX_STACK_ARG(filter,"filter"); - HX_STACK_LINE(255) - ::neash::geom::Rectangle result = ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(256) - ::neash::display::BitmapData_obj::nme_bitmap_data_generate_filter_rect(sourceRect,filter,result); - HX_STACK_LINE(257) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,generateFilterRect,return ) - -Void BitmapData_obj::fillRectEx( ::neash::geom::Rectangle rect,int inColour,hx::Null< int > __o_inAlpha){ -int inAlpha = __o_inAlpha.Default(255); - HX_STACK_PUSH("BitmapData::fillRectEx","neash/display/BitmapData.hx",248); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_ARG(inAlpha,"inAlpha"); -{ - HX_STACK_LINE(248) - ::neash::display::BitmapData_obj::nme_bitmap_data_fill(this->nmeHandle,rect,inColour,inAlpha); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(BitmapData_obj,fillRectEx,(void)) - -Void BitmapData_obj::fillRect( ::neash::geom::Rectangle rect,int inColour){ -{ - HX_STACK_PUSH("BitmapData::fillRect","neash/display/BitmapData.hx",240); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_LINE(241) - int a = hx::UShr(inColour,(int)24); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(242) - int c = (int(inColour) & int((int)16777215)); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(243) - ::neash::display::BitmapData_obj::nme_bitmap_data_fill(this->nmeHandle,rect,c,a); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,fillRect,(void)) - -::neash::utils::ByteArray BitmapData_obj::encode( ::String inFormat,hx::Null< Float > __o_inQuality){ -Float inQuality = __o_inQuality.Default(0.9); - HX_STACK_PUSH("BitmapData::encode","neash/display/BitmapData.hx",214); - HX_STACK_THIS(this); - HX_STACK_ARG(inFormat,"inFormat"); - HX_STACK_ARG(inQuality,"inQuality"); -{ - HX_STACK_LINE(214) - return ::neash::display::BitmapData_obj::nme_bitmap_data_encode(this->nmeHandle,inFormat,inQuality); - } -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,encode,return ) - -Void BitmapData_obj::dumpBits( ){ -{ - HX_STACK_PUSH("BitmapData::dumpBits","neash/display/BitmapData.hx",208); - HX_STACK_THIS(this); - HX_STACK_LINE(208) - ::neash::display::BitmapData_obj::nme_bitmap_data_dump_bits(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,dumpBits,(void)) - -Void BitmapData_obj::draw( ::neash::display::IBitmapDrawable source,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,hx::Null< bool > __o_smoothing){ -bool smoothing = __o_smoothing.Default(false); - HX_STACK_PUSH("BitmapData::draw","neash/display/BitmapData.hx",202); - HX_STACK_THIS(this); - HX_STACK_ARG(source,"source"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(colorTransform,"colorTransform"); - HX_STACK_ARG(blendMode,"blendMode"); - HX_STACK_ARG(clipRect,"clipRect"); - HX_STACK_ARG(smoothing,"smoothing"); -{ - HX_STACK_LINE(202) - source->nmeDrawToSurface(this->nmeHandle,matrix,colorTransform,blendMode,clipRect,smoothing); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(BitmapData_obj,draw,(void)) - -Void BitmapData_obj::dispose( ){ -{ - HX_STACK_PUSH("BitmapData::dispose","neash/display/BitmapData.hx",196); - HX_STACK_THIS(this); - HX_STACK_LINE(196) - this->nmeHandle = null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,dispose,(void)) - -Void BitmapData_obj::destroyHardwareSurface( ){ -{ - HX_STACK_PUSH("BitmapData::destroyHardwareSurface","neash/display/BitmapData.hx",189); - HX_STACK_THIS(this); - HX_STACK_LINE(189) - ::neash::display::BitmapData_obj::nme_bitmap_data_destroy_hardware_surface(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,destroyHardwareSurface,(void)) - -Void BitmapData_obj::createHardwareSurface( ){ -{ - HX_STACK_PUSH("BitmapData::createHardwareSurface","neash/display/BitmapData.hx",183); - HX_STACK_THIS(this); - HX_STACK_LINE(183) - ::neash::display::BitmapData_obj::nme_bitmap_data_create_hardware_surface(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,createHardwareSurface,(void)) - -Void BitmapData_obj::copyPixels( ::neash::display::BitmapData sourceBitmapData,::neash::geom::Rectangle sourceRect,::neash::geom::Point destPoint,::neash::display::BitmapData alphaBitmapData,::neash::geom::Point alphaPoint,hx::Null< bool > __o_mergeAlpha){ -bool mergeAlpha = __o_mergeAlpha.Default(false); - HX_STACK_PUSH("BitmapData::copyPixels","neash/display/BitmapData.hx",166); - HX_STACK_THIS(this); - HX_STACK_ARG(sourceBitmapData,"sourceBitmapData"); - HX_STACK_ARG(sourceRect,"sourceRect"); - HX_STACK_ARG(destPoint,"destPoint"); - HX_STACK_ARG(alphaBitmapData,"alphaBitmapData"); - HX_STACK_ARG(alphaPoint,"alphaPoint"); - HX_STACK_ARG(mergeAlpha,"mergeAlpha"); -{ - HX_STACK_LINE(166) - ::neash::display::BitmapData_obj::nme_bitmap_data_copy(sourceBitmapData->nmeHandle,sourceRect,this->nmeHandle,destPoint,mergeAlpha); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(BitmapData_obj,copyPixels,(void)) - -Void BitmapData_obj::copyChannel( ::neash::display::BitmapData sourceBitmapData,::neash::geom::Rectangle sourceRect,::neash::geom::Point destPoint,int inSourceChannel,int inDestChannel){ -{ - HX_STACK_PUSH("BitmapData::copyChannel","neash/display/BitmapData.hx",151); - HX_STACK_THIS(this); - HX_STACK_ARG(sourceBitmapData,"sourceBitmapData"); - HX_STACK_ARG(sourceRect,"sourceRect"); - HX_STACK_ARG(destPoint,"destPoint"); - HX_STACK_ARG(inSourceChannel,"inSourceChannel"); - HX_STACK_ARG(inDestChannel,"inDestChannel"); - HX_STACK_LINE(151) - ::neash::display::BitmapData_obj::nme_bitmap_data_copy_channel(sourceBitmapData->nmeHandle,sourceRect,this->nmeHandle,destPoint,inSourceChannel,inDestChannel); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(BitmapData_obj,copyChannel,(void)) - -Void BitmapData_obj::colorTransform( ::neash::geom::Rectangle rect,::neash::geom::ColorTransform colorTransform){ -{ - HX_STACK_PUSH("BitmapData::colorTransform","neash/display/BitmapData.hx",137); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(colorTransform,"colorTransform"); - HX_STACK_LINE(137) - ::neash::display::BitmapData_obj::nme_bitmap_data_color_transform(this->nmeHandle,rect,colorTransform); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,colorTransform,(void)) - -::neash::display::BitmapData BitmapData_obj::clone( ){ - HX_STACK_PUSH("BitmapData::clone","neash/display/BitmapData.hx",124); - HX_STACK_THIS(this); - HX_STACK_LINE(125) - ::neash::display::BitmapData bm = ::neash::display::BitmapData_obj::__new((int)0,(int)0,null(),null()); HX_STACK_VAR(bm,"bm"); - HX_STACK_LINE(126) - bm->nmeHandle = ::neash::display::BitmapData_obj::nme_bitmap_data_clone(this->nmeHandle); - HX_STACK_LINE(127) - return bm; -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,clone,return ) - -Void BitmapData_obj::clear( int color){ -{ - HX_STACK_PUSH("BitmapData::clear","neash/display/BitmapData.hx",114); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_LINE(114) - ::neash::display::BitmapData_obj::nme_bitmap_data_clear(this->nmeHandle,color); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,clear,(void)) - -Void BitmapData_obj::applyFilter( ::neash::display::BitmapData sourceBitmapData,::neash::geom::Rectangle sourceRect,::neash::geom::Point destPoint,::neash::filters::BitmapFilter filter){ -{ - HX_STACK_PUSH("BitmapData::applyFilter","neash/display/BitmapData.hx",104); - HX_STACK_THIS(this); - HX_STACK_ARG(sourceBitmapData,"sourceBitmapData"); - HX_STACK_ARG(sourceRect,"sourceRect"); - HX_STACK_ARG(destPoint,"destPoint"); - HX_STACK_ARG(filter,"filter"); - HX_STACK_LINE(104) - ::neash::display::BitmapData_obj::nme_bitmap_data_apply_filter(this->nmeHandle,sourceBitmapData->nmeHandle,sourceRect,destPoint,filter); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(BitmapData_obj,applyFilter,(void)) - -int BitmapData_obj::CLEAR; - -int BitmapData_obj::BLACK; - -int BitmapData_obj::WHITE; - -int BitmapData_obj::RED; - -int BitmapData_obj::GREEN; - -int BitmapData_obj::BLUE; - -::String BitmapData_obj::PNG; - -::String BitmapData_obj::JPG; - -int BitmapData_obj::TRANSPARENT; - -int BitmapData_obj::HARDWARE; - -int BitmapData_obj::FORMAT_8888; - -int BitmapData_obj::FORMAT_4444; - -int BitmapData_obj::FORMAT_565; - -int BitmapData_obj::createColor( int inRGB,hx::Null< int > __o_inAlpha){ -int inAlpha = __o_inAlpha.Default(255); - HX_STACK_PUSH("BitmapData::createColor","neash/display/BitmapData.hx",172); - HX_STACK_ARG(inRGB,"inRGB"); - HX_STACK_ARG(inAlpha,"inAlpha"); -{ - HX_STACK_LINE(172) - return (int(inRGB) | int((int(inAlpha) << int((int)24)))); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,createColor,return ) - -int BitmapData_obj::extractAlpha( int v){ - HX_STACK_PUSH("BitmapData::extractAlpha","neash/display/BitmapData.hx",220); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(220) - return hx::UShr(v,(int)24); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,extractAlpha,return ) - -int BitmapData_obj::extractColor( int v){ - HX_STACK_PUSH("BitmapData::extractColor","neash/display/BitmapData.hx",230); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(230) - return (int(v) & int((int)16777215)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,extractColor,return ) - -::neash::display::BitmapData BitmapData_obj::load( ::String inFilename,hx::Null< int > __o_format){ -int format = __o_format.Default(0); - HX_STACK_PUSH("BitmapData::load","neash/display/BitmapData.hx",326); - HX_STACK_ARG(inFilename,"inFilename"); - HX_STACK_ARG(format,"format"); -{ - HX_STACK_LINE(327) - ::neash::display::BitmapData result = ::neash::display::BitmapData_obj::__new((int)0,(int)0,null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(328) - result->nmeHandle = ::neash::display::BitmapData_obj::nme_bitmap_data_load(inFilename,format); - HX_STACK_LINE(329) - return result; - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,load,return ) - -::neash::display::BitmapData BitmapData_obj::loadFromBytes( ::neash::utils::ByteArray inBytes,::neash::utils::ByteArray inRawAlpha){ - HX_STACK_PUSH("BitmapData::loadFromBytes","neash/display/BitmapData.hx",342); - HX_STACK_ARG(inBytes,"inBytes"); - HX_STACK_ARG(inRawAlpha,"inRawAlpha"); - HX_STACK_LINE(343) - ::neash::display::BitmapData result = ::neash::display::BitmapData_obj::__new((int)0,(int)0,null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(344) - result->nmeHandle = ::neash::display::BitmapData_obj::nme_bitmap_data_from_bytes(inBytes,inRawAlpha); - HX_STACK_LINE(345) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,loadFromBytes,return ) - -::neash::display::BitmapData BitmapData_obj::loadFromHaxeBytes( ::haxe::io::Bytes inBytes,::haxe::io::Bytes inRawAlpha){ - HX_STACK_PUSH("BitmapData::loadFromHaxeBytes","neash/display/BitmapData.hx",358); - HX_STACK_ARG(inBytes,"inBytes"); - HX_STACK_ARG(inRawAlpha,"inRawAlpha"); - HX_STACK_LINE(358) - return ::neash::display::BitmapData_obj::loadFromBytes(::neash::utils::ByteArray_obj::fromBytes(inBytes),( (((inRawAlpha == null()))) ? ::neash::utils::ByteArray(null()) : ::neash::utils::ByteArray(::neash::utils::ByteArray_obj::fromBytes(inRawAlpha)) )); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,loadFromHaxeBytes,return ) - -Dynamic BitmapData_obj::nme_bitmap_data_create; - -Dynamic BitmapData_obj::nme_bitmap_data_load; - -Dynamic BitmapData_obj::nme_bitmap_data_from_bytes; - -Dynamic BitmapData_obj::nme_bitmap_data_clear; - -Dynamic BitmapData_obj::nme_bitmap_data_clone; - -Dynamic BitmapData_obj::nme_bitmap_data_apply_filter; - -Dynamic BitmapData_obj::nme_bitmap_data_color_transform; - -Dynamic BitmapData_obj::nme_bitmap_data_copy; - -Dynamic BitmapData_obj::nme_bitmap_data_copy_channel; - -Dynamic BitmapData_obj::nme_bitmap_data_fill; - -Dynamic BitmapData_obj::nme_bitmap_data_get_pixels; - -Dynamic BitmapData_obj::nme_bitmap_data_get_pixel; - -Dynamic BitmapData_obj::nme_bitmap_data_get_pixel32; - -Dynamic BitmapData_obj::nme_bitmap_data_get_pixel_rgba; - -Dynamic BitmapData_obj::nme_bitmap_data_get_array; - -Dynamic BitmapData_obj::nme_bitmap_data_get_color_bounds_rect; - -Dynamic BitmapData_obj::nme_bitmap_data_scroll; - -Dynamic BitmapData_obj::nme_bitmap_data_set_pixel; - -Dynamic BitmapData_obj::nme_bitmap_data_set_pixel32; - -Dynamic BitmapData_obj::nme_bitmap_data_set_pixel_rgba; - -Dynamic BitmapData_obj::nme_bitmap_data_set_bytes; - -Dynamic BitmapData_obj::nme_bitmap_data_set_format; - -Dynamic BitmapData_obj::nme_bitmap_data_set_array; - -Dynamic BitmapData_obj::nme_bitmap_data_create_hardware_surface; - -Dynamic BitmapData_obj::nme_bitmap_data_destroy_hardware_surface; - -Dynamic BitmapData_obj::nme_bitmap_data_generate_filter_rect; - -Dynamic BitmapData_obj::nme_render_surface_to_surface; - -Dynamic BitmapData_obj::nme_bitmap_data_height; - -Dynamic BitmapData_obj::nme_bitmap_data_width; - -Dynamic BitmapData_obj::nme_bitmap_data_get_transparent; - -Dynamic BitmapData_obj::nme_bitmap_data_set_flags; - -Dynamic BitmapData_obj::nme_bitmap_data_encode; - -Dynamic BitmapData_obj::nme_bitmap_data_dump_bits; - -Dynamic BitmapData_obj::nme_bitmap_data_noise; - - -BitmapData_obj::BitmapData_obj() -{ -} - -void BitmapData_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BitmapData); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(width,"width"); - HX_MARK_MEMBER_NAME(transparent,"transparent"); - HX_MARK_MEMBER_NAME(rect,"rect"); - HX_MARK_MEMBER_NAME(height,"height"); - HX_MARK_END_CLASS(); -} - -void BitmapData_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(width,"width"); - HX_VISIT_MEMBER_NAME(transparent,"transparent"); - HX_VISIT_MEMBER_NAME(rect,"rect"); - HX_VISIT_MEMBER_NAME(height,"height"); -} - -Dynamic BitmapData_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"RED") ) { return RED; } - if (HX_FIELD_EQ(inName,"PNG") ) { return PNG; } - if (HX_FIELD_EQ(inName,"JPG") ) { return JPG; } - break; - case 4: - if (HX_FIELD_EQ(inName,"BLUE") ) { return BLUE; } - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - if (HX_FIELD_EQ(inName,"lock") ) { return lock_dyn(); } - if (HX_FIELD_EQ(inName,"draw") ) { return draw_dyn(); } - if (HX_FIELD_EQ(inName,"rect") ) { return inCallProp ? nmeGetRect() : rect; } - break; - case 5: - if (HX_FIELD_EQ(inName,"CLEAR") ) { return CLEAR; } - if (HX_FIELD_EQ(inName,"BLACK") ) { return BLACK; } - if (HX_FIELD_EQ(inName,"WHITE") ) { return WHITE; } - if (HX_FIELD_EQ(inName,"GREEN") ) { return GREEN; } - if (HX_FIELD_EQ(inName,"noise") ) { return noise_dyn(); } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - if (HX_FIELD_EQ(inName,"clear") ) { return clear_dyn(); } - if (HX_FIELD_EQ(inName,"width") ) { return inCallProp ? nmeGetWidth() : width; } - break; - case 6: - if (HX_FIELD_EQ(inName,"unlock") ) { return unlock_dyn(); } - if (HX_FIELD_EQ(inName,"scroll") ) { return scroll_dyn(); } - if (HX_FIELD_EQ(inName,"encode") ) { return encode_dyn(); } - if (HX_FIELD_EQ(inName,"height") ) { return inCallProp ? nmeGetHeight() : height; } - break; - case 7: - if (HX_FIELD_EQ(inName,"dispose") ) { return dispose_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { return HARDWARE; } - if (HX_FIELD_EQ(inName,"setPixel") ) { return setPixel_dyn(); } - if (HX_FIELD_EQ(inName,"setFlags") ) { return setFlags_dyn(); } - if (HX_FIELD_EQ(inName,"getPixel") ) { return getPixel_dyn(); } - if (HX_FIELD_EQ(inName,"fillRect") ) { return fillRect_dyn(); } - if (HX_FIELD_EQ(inName,"dumpBits") ) { return dumpBits_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"setFormat") ) { return setFormat_dyn(); } - if (HX_FIELD_EQ(inName,"setVector") ) { return setVector_dyn(); } - if (HX_FIELD_EQ(inName,"setPixels") ) { return setPixels_dyn(); } - if (HX_FIELD_EQ(inName,"getVector") ) { return getVector_dyn(); } - if (HX_FIELD_EQ(inName,"getPixels") ) { return getPixels_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FORMAT_565") ) { return FORMAT_565; } - if (HX_FIELD_EQ(inName,"nmeGetRect") ) { return nmeGetRect_dyn(); } - if (HX_FIELD_EQ(inName,"setPixel32") ) { return setPixel32_dyn(); } - if (HX_FIELD_EQ(inName,"getPixel32") ) { return getPixel32_dyn(); } - if (HX_FIELD_EQ(inName,"fillRectEx") ) { return fillRectEx_dyn(); } - if (HX_FIELD_EQ(inName,"copyPixels") ) { return copyPixels_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"TRANSPARENT") ) { return TRANSPARENT; } - if (HX_FIELD_EQ(inName,"FORMAT_8888") ) { return FORMAT_8888; } - if (HX_FIELD_EQ(inName,"FORMAT_4444") ) { return FORMAT_4444; } - if (HX_FIELD_EQ(inName,"createColor") ) { return createColor_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetWidth") ) { return nmeGetWidth_dyn(); } - if (HX_FIELD_EQ(inName,"perlinNoise") ) { return perlinNoise_dyn(); } - if (HX_FIELD_EQ(inName,"copyChannel") ) { return copyChannel_dyn(); } - if (HX_FIELD_EQ(inName,"applyFilter") ) { return applyFilter_dyn(); } - if (HX_FIELD_EQ(inName,"transparent") ) { return inCallProp ? nmeGetTransparent() : transparent; } - break; - case 12: - if (HX_FIELD_EQ(inName,"extractAlpha") ) { return extractAlpha_dyn(); } - if (HX_FIELD_EQ(inName,"extractColor") ) { return extractColor_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetHeight") ) { return nmeGetHeight_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"loadFromBytes") ) { return loadFromBytes_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"colorTransform") ) { return colorTransform_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeDrawToSurface") ) { return nmeDrawToSurface_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"loadFromHaxeBytes") ) { return loadFromHaxeBytes_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTransparent") ) { return nmeGetTransparent_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"getColorBoundsRect") ) { return getColorBoundsRect_dyn(); } - if (HX_FIELD_EQ(inName,"generateFilterRect") ) { return generateFilterRect_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_load") ) { return nme_bitmap_data_load; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_copy") ) { return nme_bitmap_data_copy; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_fill") ) { return nme_bitmap_data_fill; } - break; - case 21: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_clear") ) { return nme_bitmap_data_clear; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_clone") ) { return nme_bitmap_data_clone; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_width") ) { return nme_bitmap_data_width; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_noise") ) { return nme_bitmap_data_noise; } - if (HX_FIELD_EQ(inName,"createHardwareSurface") ) { return createHardwareSurface_dyn(); } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_create") ) { return nme_bitmap_data_create; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_scroll") ) { return nme_bitmap_data_scroll; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_height") ) { return nme_bitmap_data_height; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_encode") ) { return nme_bitmap_data_encode; } - if (HX_FIELD_EQ(inName,"destroyHardwareSurface") ) { return destroyHardwareSurface_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel") ) { return nme_bitmap_data_get_pixel; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_array") ) { return nme_bitmap_data_get_array; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel") ) { return nme_bitmap_data_set_pixel; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_bytes") ) { return nme_bitmap_data_set_bytes; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_array") ) { return nme_bitmap_data_set_array; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_flags") ) { return nme_bitmap_data_set_flags; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_dump_bits") ) { return nme_bitmap_data_dump_bits; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_from_bytes") ) { return nme_bitmap_data_from_bytes; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixels") ) { return nme_bitmap_data_get_pixels; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_format") ) { return nme_bitmap_data_set_format; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel32") ) { return nme_bitmap_data_get_pixel32; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel32") ) { return nme_bitmap_data_set_pixel32; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_apply_filter") ) { return nme_bitmap_data_apply_filter; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_copy_channel") ) { return nme_bitmap_data_copy_channel; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_render_surface_to_surface") ) { return nme_render_surface_to_surface; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel_rgba") ) { return nme_bitmap_data_get_pixel_rgba; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel_rgba") ) { return nme_bitmap_data_set_pixel_rgba; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_color_transform") ) { return nme_bitmap_data_color_transform; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_transparent") ) { return nme_bitmap_data_get_transparent; } - break; - case 36: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_generate_filter_rect") ) { return nme_bitmap_data_generate_filter_rect; } - break; - case 37: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_color_bounds_rect") ) { return nme_bitmap_data_get_color_bounds_rect; } - break; - case 39: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_create_hardware_surface") ) { return nme_bitmap_data_create_hardware_surface; } - break; - case 40: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_destroy_hardware_surface") ) { return nme_bitmap_data_destroy_hardware_surface; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BitmapData_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"RED") ) { RED=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"PNG") ) { PNG=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"JPG") ) { JPG=inValue.Cast< ::String >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"BLUE") ) { BLUE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"rect") ) { rect=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"CLEAR") ) { CLEAR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BLACK") ) { BLACK=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"WHITE") ) { WHITE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"GREEN") ) { GREEN=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"width") ) { width=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"height") ) { height=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { HARDWARE=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FORMAT_565") ) { FORMAT_565=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TRANSPARENT") ) { TRANSPARENT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FORMAT_8888") ) { FORMAT_8888=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FORMAT_4444") ) { FORMAT_4444=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"transparent") ) { transparent=inValue.Cast< bool >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_load") ) { nme_bitmap_data_load=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_copy") ) { nme_bitmap_data_copy=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_fill") ) { nme_bitmap_data_fill=inValue.Cast< Dynamic >(); return inValue; } - break; - case 21: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_clear") ) { nme_bitmap_data_clear=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_clone") ) { nme_bitmap_data_clone=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_width") ) { nme_bitmap_data_width=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_noise") ) { nme_bitmap_data_noise=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_create") ) { nme_bitmap_data_create=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_scroll") ) { nme_bitmap_data_scroll=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_height") ) { nme_bitmap_data_height=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_encode") ) { nme_bitmap_data_encode=inValue.Cast< Dynamic >(); return inValue; } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel") ) { nme_bitmap_data_get_pixel=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_array") ) { nme_bitmap_data_get_array=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel") ) { nme_bitmap_data_set_pixel=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_bytes") ) { nme_bitmap_data_set_bytes=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_array") ) { nme_bitmap_data_set_array=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_flags") ) { nme_bitmap_data_set_flags=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_dump_bits") ) { nme_bitmap_data_dump_bits=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_from_bytes") ) { nme_bitmap_data_from_bytes=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixels") ) { nme_bitmap_data_get_pixels=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_format") ) { nme_bitmap_data_set_format=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel32") ) { nme_bitmap_data_get_pixel32=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel32") ) { nme_bitmap_data_set_pixel32=inValue.Cast< Dynamic >(); return inValue; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_apply_filter") ) { nme_bitmap_data_apply_filter=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_copy_channel") ) { nme_bitmap_data_copy_channel=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_render_surface_to_surface") ) { nme_render_surface_to_surface=inValue.Cast< Dynamic >(); return inValue; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel_rgba") ) { nme_bitmap_data_get_pixel_rgba=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel_rgba") ) { nme_bitmap_data_set_pixel_rgba=inValue.Cast< Dynamic >(); return inValue; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_color_transform") ) { nme_bitmap_data_color_transform=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_transparent") ) { nme_bitmap_data_get_transparent=inValue.Cast< Dynamic >(); return inValue; } - break; - case 36: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_generate_filter_rect") ) { nme_bitmap_data_generate_filter_rect=inValue.Cast< Dynamic >(); return inValue; } - break; - case 37: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_color_bounds_rect") ) { nme_bitmap_data_get_color_bounds_rect=inValue.Cast< Dynamic >(); return inValue; } - break; - case 39: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_create_hardware_surface") ) { nme_bitmap_data_create_hardware_surface=inValue.Cast< Dynamic >(); return inValue; } - break; - case 40: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_destroy_hardware_surface") ) { nme_bitmap_data_destroy_hardware_surface=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BitmapData_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("width")); - outFields->push(HX_CSTRING("transparent")); - outFields->push(HX_CSTRING("rect")); - outFields->push(HX_CSTRING("height")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("CLEAR"), - HX_CSTRING("BLACK"), - HX_CSTRING("WHITE"), - HX_CSTRING("RED"), - HX_CSTRING("GREEN"), - HX_CSTRING("BLUE"), - HX_CSTRING("PNG"), - HX_CSTRING("JPG"), - HX_CSTRING("TRANSPARENT"), - HX_CSTRING("HARDWARE"), - HX_CSTRING("FORMAT_8888"), - HX_CSTRING("FORMAT_4444"), - HX_CSTRING("FORMAT_565"), - HX_CSTRING("createColor"), - HX_CSTRING("extractAlpha"), - HX_CSTRING("extractColor"), - HX_CSTRING("load"), - HX_CSTRING("loadFromBytes"), - HX_CSTRING("loadFromHaxeBytes"), - HX_CSTRING("nme_bitmap_data_create"), - HX_CSTRING("nme_bitmap_data_load"), - HX_CSTRING("nme_bitmap_data_from_bytes"), - HX_CSTRING("nme_bitmap_data_clear"), - HX_CSTRING("nme_bitmap_data_clone"), - HX_CSTRING("nme_bitmap_data_apply_filter"), - HX_CSTRING("nme_bitmap_data_color_transform"), - HX_CSTRING("nme_bitmap_data_copy"), - HX_CSTRING("nme_bitmap_data_copy_channel"), - HX_CSTRING("nme_bitmap_data_fill"), - HX_CSTRING("nme_bitmap_data_get_pixels"), - HX_CSTRING("nme_bitmap_data_get_pixel"), - HX_CSTRING("nme_bitmap_data_get_pixel32"), - HX_CSTRING("nme_bitmap_data_get_pixel_rgba"), - HX_CSTRING("nme_bitmap_data_get_array"), - HX_CSTRING("nme_bitmap_data_get_color_bounds_rect"), - HX_CSTRING("nme_bitmap_data_scroll"), - HX_CSTRING("nme_bitmap_data_set_pixel"), - HX_CSTRING("nme_bitmap_data_set_pixel32"), - HX_CSTRING("nme_bitmap_data_set_pixel_rgba"), - HX_CSTRING("nme_bitmap_data_set_bytes"), - HX_CSTRING("nme_bitmap_data_set_format"), - HX_CSTRING("nme_bitmap_data_set_array"), - HX_CSTRING("nme_bitmap_data_create_hardware_surface"), - HX_CSTRING("nme_bitmap_data_destroy_hardware_surface"), - HX_CSTRING("nme_bitmap_data_generate_filter_rect"), - HX_CSTRING("nme_render_surface_to_surface"), - HX_CSTRING("nme_bitmap_data_height"), - HX_CSTRING("nme_bitmap_data_width"), - HX_CSTRING("nme_bitmap_data_get_transparent"), - HX_CSTRING("nme_bitmap_data_set_flags"), - HX_CSTRING("nme_bitmap_data_encode"), - HX_CSTRING("nme_bitmap_data_dump_bits"), - HX_CSTRING("nme_bitmap_data_noise"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetTransparent"), - HX_CSTRING("nmeGetHeight"), - HX_CSTRING("nmeGetWidth"), - HX_CSTRING("nmeGetRect"), - HX_CSTRING("noise"), - HX_CSTRING("setFormat"), - HX_CSTRING("unlock"), - HX_CSTRING("setVector"), - HX_CSTRING("setPixels"), - HX_CSTRING("setPixel32"), - HX_CSTRING("setPixel"), - HX_CSTRING("setFlags"), - HX_CSTRING("scroll"), - HX_CSTRING("perlinNoise"), - HX_CSTRING("nmeDrawToSurface"), - HX_CSTRING("lock"), - HX_CSTRING("getVector"), - HX_CSTRING("getPixels"), - HX_CSTRING("getPixel32"), - HX_CSTRING("getPixel"), - HX_CSTRING("getColorBoundsRect"), - HX_CSTRING("generateFilterRect"), - HX_CSTRING("fillRectEx"), - HX_CSTRING("fillRect"), - HX_CSTRING("encode"), - HX_CSTRING("dumpBits"), - HX_CSTRING("draw"), - HX_CSTRING("dispose"), - HX_CSTRING("destroyHardwareSurface"), - HX_CSTRING("createHardwareSurface"), - HX_CSTRING("copyPixels"), - HX_CSTRING("copyChannel"), - HX_CSTRING("colorTransform"), - HX_CSTRING("clone"), - HX_CSTRING("clear"), - HX_CSTRING("applyFilter"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("width"), - HX_CSTRING("transparent"), - HX_CSTRING("rect"), - HX_CSTRING("height"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BitmapData_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(BitmapData_obj::CLEAR,"CLEAR"); - HX_MARK_MEMBER_NAME(BitmapData_obj::BLACK,"BLACK"); - HX_MARK_MEMBER_NAME(BitmapData_obj::WHITE,"WHITE"); - HX_MARK_MEMBER_NAME(BitmapData_obj::RED,"RED"); - HX_MARK_MEMBER_NAME(BitmapData_obj::GREEN,"GREEN"); - HX_MARK_MEMBER_NAME(BitmapData_obj::BLUE,"BLUE"); - HX_MARK_MEMBER_NAME(BitmapData_obj::PNG,"PNG"); - HX_MARK_MEMBER_NAME(BitmapData_obj::JPG,"JPG"); - HX_MARK_MEMBER_NAME(BitmapData_obj::TRANSPARENT,"TRANSPARENT"); - HX_MARK_MEMBER_NAME(BitmapData_obj::HARDWARE,"HARDWARE"); - HX_MARK_MEMBER_NAME(BitmapData_obj::FORMAT_8888,"FORMAT_8888"); - HX_MARK_MEMBER_NAME(BitmapData_obj::FORMAT_4444,"FORMAT_4444"); - HX_MARK_MEMBER_NAME(BitmapData_obj::FORMAT_565,"FORMAT_565"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_create,"nme_bitmap_data_create"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_load,"nme_bitmap_data_load"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_from_bytes,"nme_bitmap_data_from_bytes"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_clear,"nme_bitmap_data_clear"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_clone,"nme_bitmap_data_clone"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_apply_filter,"nme_bitmap_data_apply_filter"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_color_transform,"nme_bitmap_data_color_transform"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_copy,"nme_bitmap_data_copy"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_copy_channel,"nme_bitmap_data_copy_channel"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_fill,"nme_bitmap_data_fill"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixels,"nme_bitmap_data_get_pixels"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel,"nme_bitmap_data_get_pixel"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel32,"nme_bitmap_data_get_pixel32"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel_rgba,"nme_bitmap_data_get_pixel_rgba"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_array,"nme_bitmap_data_get_array"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_color_bounds_rect,"nme_bitmap_data_get_color_bounds_rect"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_scroll,"nme_bitmap_data_scroll"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel,"nme_bitmap_data_set_pixel"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel32,"nme_bitmap_data_set_pixel32"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel_rgba,"nme_bitmap_data_set_pixel_rgba"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_bytes,"nme_bitmap_data_set_bytes"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_format,"nme_bitmap_data_set_format"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_array,"nme_bitmap_data_set_array"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_create_hardware_surface,"nme_bitmap_data_create_hardware_surface"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_destroy_hardware_surface,"nme_bitmap_data_destroy_hardware_surface"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_generate_filter_rect,"nme_bitmap_data_generate_filter_rect"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_render_surface_to_surface,"nme_render_surface_to_surface"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_height,"nme_bitmap_data_height"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_width,"nme_bitmap_data_width"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_transparent,"nme_bitmap_data_get_transparent"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_flags,"nme_bitmap_data_set_flags"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_encode,"nme_bitmap_data_encode"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_dump_bits,"nme_bitmap_data_dump_bits"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_noise,"nme_bitmap_data_noise"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BitmapData_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::CLEAR,"CLEAR"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::BLACK,"BLACK"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::WHITE,"WHITE"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::RED,"RED"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::GREEN,"GREEN"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::BLUE,"BLUE"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::PNG,"PNG"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::JPG,"JPG"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::TRANSPARENT,"TRANSPARENT"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::HARDWARE,"HARDWARE"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::FORMAT_8888,"FORMAT_8888"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::FORMAT_4444,"FORMAT_4444"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::FORMAT_565,"FORMAT_565"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_create,"nme_bitmap_data_create"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_load,"nme_bitmap_data_load"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_from_bytes,"nme_bitmap_data_from_bytes"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_clear,"nme_bitmap_data_clear"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_clone,"nme_bitmap_data_clone"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_apply_filter,"nme_bitmap_data_apply_filter"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_color_transform,"nme_bitmap_data_color_transform"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_copy,"nme_bitmap_data_copy"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_copy_channel,"nme_bitmap_data_copy_channel"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_fill,"nme_bitmap_data_fill"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixels,"nme_bitmap_data_get_pixels"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel,"nme_bitmap_data_get_pixel"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel32,"nme_bitmap_data_get_pixel32"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel_rgba,"nme_bitmap_data_get_pixel_rgba"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_array,"nme_bitmap_data_get_array"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_color_bounds_rect,"nme_bitmap_data_get_color_bounds_rect"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_scroll,"nme_bitmap_data_scroll"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel,"nme_bitmap_data_set_pixel"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel32,"nme_bitmap_data_set_pixel32"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel_rgba,"nme_bitmap_data_set_pixel_rgba"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_bytes,"nme_bitmap_data_set_bytes"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_format,"nme_bitmap_data_set_format"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_array,"nme_bitmap_data_set_array"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_create_hardware_surface,"nme_bitmap_data_create_hardware_surface"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_destroy_hardware_surface,"nme_bitmap_data_destroy_hardware_surface"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_generate_filter_rect,"nme_bitmap_data_generate_filter_rect"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_render_surface_to_surface,"nme_render_surface_to_surface"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_height,"nme_bitmap_data_height"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_width,"nme_bitmap_data_width"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_transparent,"nme_bitmap_data_get_transparent"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_flags,"nme_bitmap_data_set_flags"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_encode,"nme_bitmap_data_encode"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_dump_bits,"nme_bitmap_data_dump_bits"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_noise,"nme_bitmap_data_noise"); -}; - -Class BitmapData_obj::__mClass; - -void BitmapData_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.BitmapData"), hx::TCanCast< BitmapData_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BitmapData_obj::__boot() -{ - CLEAR= (int)0; -struct _Function_0_1{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",23); - { - HX_STACK_LINE(23) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(23) - return (int((int)0) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - BLACK= _Function_0_1::Block(); -struct _Function_0_2{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",24); - { - HX_STACK_LINE(24) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(24) - return (int((int)0) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - WHITE= _Function_0_2::Block(); -struct _Function_0_3{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",25); - { - HX_STACK_LINE(25) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(25) - return (int((int)16711680) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - RED= _Function_0_3::Block(); -struct _Function_0_4{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",26); - { - HX_STACK_LINE(26) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(26) - return (int((int)65280) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - GREEN= _Function_0_4::Block(); -struct _Function_0_5{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",27); - { - HX_STACK_LINE(27) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(27) - return (int((int)255) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - BLUE= _Function_0_5::Block(); - PNG= HX_CSTRING("png"); - JPG= HX_CSTRING("jpg"); - TRANSPARENT= (int)1; - HARDWARE= (int)2; - FORMAT_8888= (int)0; - FORMAT_4444= (int)1; - FORMAT_565= (int)2; - nme_bitmap_data_create= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_create"),(int)5); - nme_bitmap_data_load= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_load"),(int)2); - nme_bitmap_data_from_bytes= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_from_bytes"),(int)2); - nme_bitmap_data_clear= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_clear"),(int)2); - nme_bitmap_data_clone= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_clone"),(int)1); - nme_bitmap_data_apply_filter= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_apply_filter"),(int)5); - nme_bitmap_data_color_transform= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_color_transform"),(int)3); - nme_bitmap_data_copy= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_copy"),(int)5); - nme_bitmap_data_copy_channel= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_copy_channel"),(int)-1); - nme_bitmap_data_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_fill"),(int)4); - nme_bitmap_data_get_pixels= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_pixels"),(int)2); - nme_bitmap_data_get_pixel= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_pixel"),(int)3); - nme_bitmap_data_get_pixel32= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_pixel32"),(int)3); - nme_bitmap_data_get_pixel_rgba= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_pixel_rgba"),(int)3); - nme_bitmap_data_get_array= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_array"),(int)3); - nme_bitmap_data_get_color_bounds_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_color_bounds_rect"),(int)5); - nme_bitmap_data_scroll= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_scroll"),(int)3); - nme_bitmap_data_set_pixel= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_pixel"),(int)4); - nme_bitmap_data_set_pixel32= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_pixel32"),(int)4); - nme_bitmap_data_set_pixel_rgba= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_pixel_rgba"),(int)4); - nme_bitmap_data_set_bytes= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_bytes"),(int)4); - nme_bitmap_data_set_format= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_format"),(int)2); - nme_bitmap_data_set_array= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_array"),(int)3); - nme_bitmap_data_create_hardware_surface= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_create_hardware_surface"),(int)1); - nme_bitmap_data_destroy_hardware_surface= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_destroy_hardware_surface"),(int)1); - nme_bitmap_data_generate_filter_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_generate_filter_rect"),(int)3); - nme_render_surface_to_surface= ::neash::Loader_obj::load(HX_CSTRING("nme_render_surface_to_surface"),(int)-1); - nme_bitmap_data_height= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_height"),(int)1); - nme_bitmap_data_width= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_width"),(int)1); - nme_bitmap_data_get_transparent= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_transparent"),(int)1); - nme_bitmap_data_set_flags= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_flags"),(int)1); - nme_bitmap_data_encode= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_encode"),(int)3); - nme_bitmap_data_dump_bits= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_dump_bits"),(int)1); - nme_bitmap_data_noise= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_noise"),(int)-1); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/BitmapDataChannel.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/BitmapDataChannel.cpp deleted file mode 100644 index 86fe3ed..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/BitmapDataChannel.cpp +++ /dev/null @@ -1,131 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_BitmapDataChannel -#include -#endif -namespace neash{ -namespace display{ - -Void BitmapDataChannel_obj::__construct() -{ - return null(); -} - -BitmapDataChannel_obj::~BitmapDataChannel_obj() { } - -Dynamic BitmapDataChannel_obj::__CreateEmpty() { return new BitmapDataChannel_obj; } -hx::ObjectPtr< BitmapDataChannel_obj > BitmapDataChannel_obj::__new() -{ hx::ObjectPtr< BitmapDataChannel_obj > result = new BitmapDataChannel_obj(); - result->__construct(); - return result;} - -Dynamic BitmapDataChannel_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BitmapDataChannel_obj > result = new BitmapDataChannel_obj(); - result->__construct(); - return result;} - -int BitmapDataChannel_obj::ALPHA; - -int BitmapDataChannel_obj::BLUE; - -int BitmapDataChannel_obj::GREEN; - -int BitmapDataChannel_obj::RED; - - -BitmapDataChannel_obj::BitmapDataChannel_obj() -{ -} - -void BitmapDataChannel_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BitmapDataChannel); - HX_MARK_END_CLASS(); -} - -void BitmapDataChannel_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic BitmapDataChannel_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"RED") ) { return RED; } - break; - case 4: - if (HX_FIELD_EQ(inName,"BLUE") ) { return BLUE; } - break; - case 5: - if (HX_FIELD_EQ(inName,"ALPHA") ) { return ALPHA; } - if (HX_FIELD_EQ(inName,"GREEN") ) { return GREEN; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BitmapDataChannel_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"RED") ) { RED=inValue.Cast< int >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"BLUE") ) { BLUE=inValue.Cast< int >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"ALPHA") ) { ALPHA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"GREEN") ) { GREEN=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BitmapDataChannel_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("ALPHA"), - HX_CSTRING("BLUE"), - HX_CSTRING("GREEN"), - HX_CSTRING("RED"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::ALPHA,"ALPHA"); - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::BLUE,"BLUE"); - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::GREEN,"GREEN"); - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::RED,"RED"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::ALPHA,"ALPHA"); - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::BLUE,"BLUE"); - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::GREEN,"GREEN"); - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::RED,"RED"); -}; - -Class BitmapDataChannel_obj::__mClass; - -void BitmapDataChannel_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.BitmapDataChannel"), hx::TCanCast< BitmapDataChannel_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BitmapDataChannel_obj::__boot() -{ - ALPHA= (int)8; - BLUE= (int)4; - GREEN= (int)2; - RED= (int)1; -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/BlendMode.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/BlendMode.cpp deleted file mode 100644 index 19051b1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/BlendMode.cpp +++ /dev/null @@ -1,181 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_BlendMode -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::BlendMode BlendMode_obj::ADD; - -::neash::display::BlendMode BlendMode_obj::ALPHA; - -::neash::display::BlendMode BlendMode_obj::DARKEN; - -::neash::display::BlendMode BlendMode_obj::DIFFERENCE; - -::neash::display::BlendMode BlendMode_obj::ERASE; - -::neash::display::BlendMode BlendMode_obj::HARDLIGHT; - -::neash::display::BlendMode BlendMode_obj::INVERT; - -::neash::display::BlendMode BlendMode_obj::LAYER; - -::neash::display::BlendMode BlendMode_obj::LIGHTEN; - -::neash::display::BlendMode BlendMode_obj::MULTIPLY; - -::neash::display::BlendMode BlendMode_obj::NORMAL; - -::neash::display::BlendMode BlendMode_obj::OVERLAY; - -::neash::display::BlendMode BlendMode_obj::SCREEN; - -::neash::display::BlendMode BlendMode_obj::SUBTRACT; - -HX_DEFINE_CREATE_ENUM(BlendMode_obj) - -int BlendMode_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("ADD")) return 7; - if (inName==HX_CSTRING("ALPHA")) return 10; - if (inName==HX_CSTRING("DARKEN")) return 5; - if (inName==HX_CSTRING("DIFFERENCE")) return 6; - if (inName==HX_CSTRING("ERASE")) return 11; - if (inName==HX_CSTRING("HARDLIGHT")) return 13; - if (inName==HX_CSTRING("INVERT")) return 9; - if (inName==HX_CSTRING("LAYER")) return 1; - if (inName==HX_CSTRING("LIGHTEN")) return 4; - if (inName==HX_CSTRING("MULTIPLY")) return 2; - if (inName==HX_CSTRING("NORMAL")) return 0; - if (inName==HX_CSTRING("OVERLAY")) return 12; - if (inName==HX_CSTRING("SCREEN")) return 3; - if (inName==HX_CSTRING("SUBTRACT")) return 8; - return super::__FindIndex(inName); -} - -int BlendMode_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("ADD")) return 0; - if (inName==HX_CSTRING("ALPHA")) return 0; - if (inName==HX_CSTRING("DARKEN")) return 0; - if (inName==HX_CSTRING("DIFFERENCE")) return 0; - if (inName==HX_CSTRING("ERASE")) return 0; - if (inName==HX_CSTRING("HARDLIGHT")) return 0; - if (inName==HX_CSTRING("INVERT")) return 0; - if (inName==HX_CSTRING("LAYER")) return 0; - if (inName==HX_CSTRING("LIGHTEN")) return 0; - if (inName==HX_CSTRING("MULTIPLY")) return 0; - if (inName==HX_CSTRING("NORMAL")) return 0; - if (inName==HX_CSTRING("OVERLAY")) return 0; - if (inName==HX_CSTRING("SCREEN")) return 0; - if (inName==HX_CSTRING("SUBTRACT")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic BlendMode_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("ADD")) return ADD; - if (inName==HX_CSTRING("ALPHA")) return ALPHA; - if (inName==HX_CSTRING("DARKEN")) return DARKEN; - if (inName==HX_CSTRING("DIFFERENCE")) return DIFFERENCE; - if (inName==HX_CSTRING("ERASE")) return ERASE; - if (inName==HX_CSTRING("HARDLIGHT")) return HARDLIGHT; - if (inName==HX_CSTRING("INVERT")) return INVERT; - if (inName==HX_CSTRING("LAYER")) return LAYER; - if (inName==HX_CSTRING("LIGHTEN")) return LIGHTEN; - if (inName==HX_CSTRING("MULTIPLY")) return MULTIPLY; - if (inName==HX_CSTRING("NORMAL")) return NORMAL; - if (inName==HX_CSTRING("OVERLAY")) return OVERLAY; - if (inName==HX_CSTRING("SCREEN")) return SCREEN; - if (inName==HX_CSTRING("SUBTRACT")) return SUBTRACT; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NORMAL"), - HX_CSTRING("LAYER"), - HX_CSTRING("MULTIPLY"), - HX_CSTRING("SCREEN"), - HX_CSTRING("LIGHTEN"), - HX_CSTRING("DARKEN"), - HX_CSTRING("DIFFERENCE"), - HX_CSTRING("ADD"), - HX_CSTRING("SUBTRACT"), - HX_CSTRING("INVERT"), - HX_CSTRING("ALPHA"), - HX_CSTRING("ERASE"), - HX_CSTRING("OVERLAY"), - HX_CSTRING("HARDLIGHT"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BlendMode_obj::ADD,"ADD"); - HX_MARK_MEMBER_NAME(BlendMode_obj::ALPHA,"ALPHA"); - HX_MARK_MEMBER_NAME(BlendMode_obj::DARKEN,"DARKEN"); - HX_MARK_MEMBER_NAME(BlendMode_obj::DIFFERENCE,"DIFFERENCE"); - HX_MARK_MEMBER_NAME(BlendMode_obj::ERASE,"ERASE"); - HX_MARK_MEMBER_NAME(BlendMode_obj::HARDLIGHT,"HARDLIGHT"); - HX_MARK_MEMBER_NAME(BlendMode_obj::INVERT,"INVERT"); - HX_MARK_MEMBER_NAME(BlendMode_obj::LAYER,"LAYER"); - HX_MARK_MEMBER_NAME(BlendMode_obj::LIGHTEN,"LIGHTEN"); - HX_MARK_MEMBER_NAME(BlendMode_obj::MULTIPLY,"MULTIPLY"); - HX_MARK_MEMBER_NAME(BlendMode_obj::NORMAL,"NORMAL"); - HX_MARK_MEMBER_NAME(BlendMode_obj::OVERLAY,"OVERLAY"); - HX_MARK_MEMBER_NAME(BlendMode_obj::SCREEN,"SCREEN"); - HX_MARK_MEMBER_NAME(BlendMode_obj::SUBTRACT,"SUBTRACT"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BlendMode_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::ADD,"ADD"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::ALPHA,"ALPHA"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::DARKEN,"DARKEN"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::DIFFERENCE,"DIFFERENCE"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::ERASE,"ERASE"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::HARDLIGHT,"HARDLIGHT"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::INVERT,"INVERT"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::LAYER,"LAYER"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::LIGHTEN,"LIGHTEN"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::MULTIPLY,"MULTIPLY"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::NORMAL,"NORMAL"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::OVERLAY,"OVERLAY"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::SCREEN,"SCREEN"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::SUBTRACT,"SUBTRACT"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class BlendMode_obj::__mClass; - -Dynamic __Create_BlendMode_obj() { return new BlendMode_obj; } - -void BlendMode_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.BlendMode"), hx::TCanCast< BlendMode_obj >,sStaticFields,sMemberFields, - &__Create_BlendMode_obj, &__Create, - &super::__SGetClass(), &CreateBlendMode_obj, sMarkStatics, sVisitStatic); -} - -void BlendMode_obj::__boot() -{ -Static(ADD) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("ADD"),7); -Static(ALPHA) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("ALPHA"),10); -Static(DARKEN) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("DARKEN"),5); -Static(DIFFERENCE) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("DIFFERENCE"),6); -Static(ERASE) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("ERASE"),11); -Static(HARDLIGHT) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("HARDLIGHT"),13); -Static(INVERT) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("INVERT"),9); -Static(LAYER) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("LAYER"),1); -Static(LIGHTEN) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("LIGHTEN"),4); -Static(MULTIPLY) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("MULTIPLY"),2); -Static(NORMAL) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("NORMAL"),0); -Static(OVERLAY) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("OVERLAY"),12); -Static(SCREEN) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("SCREEN"),3); -Static(SUBTRACT) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("SUBTRACT"),8); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/CapsStyle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/CapsStyle.cpp deleted file mode 100644 index e715776..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/CapsStyle.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::CapsStyle CapsStyle_obj::NONE; - -::neash::display::CapsStyle CapsStyle_obj::ROUND; - -::neash::display::CapsStyle CapsStyle_obj::SQUARE; - -HX_DEFINE_CREATE_ENUM(CapsStyle_obj) - -int CapsStyle_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("NONE")) return 1; - if (inName==HX_CSTRING("ROUND")) return 0; - if (inName==HX_CSTRING("SQUARE")) return 2; - return super::__FindIndex(inName); -} - -int CapsStyle_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("NONE")) return 0; - if (inName==HX_CSTRING("ROUND")) return 0; - if (inName==HX_CSTRING("SQUARE")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic CapsStyle_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("NONE")) return NONE; - if (inName==HX_CSTRING("ROUND")) return ROUND; - if (inName==HX_CSTRING("SQUARE")) return SQUARE; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("ROUND"), - HX_CSTRING("NONE"), - HX_CSTRING("SQUARE"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(CapsStyle_obj::NONE,"NONE"); - HX_MARK_MEMBER_NAME(CapsStyle_obj::ROUND,"ROUND"); - HX_MARK_MEMBER_NAME(CapsStyle_obj::SQUARE,"SQUARE"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(CapsStyle_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(CapsStyle_obj::NONE,"NONE"); - HX_VISIT_MEMBER_NAME(CapsStyle_obj::ROUND,"ROUND"); - HX_VISIT_MEMBER_NAME(CapsStyle_obj::SQUARE,"SQUARE"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class CapsStyle_obj::__mClass; - -Dynamic __Create_CapsStyle_obj() { return new CapsStyle_obj; } - -void CapsStyle_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.CapsStyle"), hx::TCanCast< CapsStyle_obj >,sStaticFields,sMemberFields, - &__Create_CapsStyle_obj, &__Create, - &super::__SGetClass(), &CreateCapsStyle_obj, sMarkStatics, sVisitStatic); -} - -void CapsStyle_obj::__boot() -{ -Static(NONE) = hx::CreateEnum< CapsStyle_obj >(HX_CSTRING("NONE"),1); -Static(ROUND) = hx::CreateEnum< CapsStyle_obj >(HX_CSTRING("ROUND"),0); -Static(SQUARE) = hx::CreateEnum< CapsStyle_obj >(HX_CSTRING("SQUARE"),2); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/DisplayObject.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/DisplayObject.cpp deleted file mode 100644 index b72e6b0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/DisplayObject.cpp +++ /dev/null @@ -1,2139 +0,0 @@ -#include - -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_BlendMode -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_PixelSnapping -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_EventPhase -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -#ifndef INCLUDED_neash_geom_Transform -#include -#endif -namespace neash{ -namespace display{ - -Void DisplayObject_obj::__construct(Dynamic inHandle,::String inType) -{ -HX_STACK_PUSH("DisplayObject::new","neash/display/DisplayObject.hx",186); -{ - HX_STACK_LINE(187) - super::__construct(hx::ObjectPtr(this)); - HX_STACK_LINE(189) - this->nmeParent = null(); - HX_STACK_LINE(190) - this->nmeHandle = inHandle; - HX_STACK_LINE(191) - this->nmeID = ::neash::display::DisplayObject_obj::nme_display_object_get_id(this->nmeHandle); - HX_STACK_LINE(192) - this->nmeSetName(((inType + HX_CSTRING(" ")) + this->nmeID)); -} -; - return null(); -} - -DisplayObject_obj::~DisplayObject_obj() { } - -Dynamic DisplayObject_obj::__CreateEmpty() { return new DisplayObject_obj; } -hx::ObjectPtr< DisplayObject_obj > DisplayObject_obj::__new(Dynamic inHandle,::String inType) -{ hx::ObjectPtr< DisplayObject_obj > result = new DisplayObject_obj(); - result->__construct(inHandle,inType); - return result;} - -Dynamic DisplayObject_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< DisplayObject_obj > result = new DisplayObject_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -hx::Object *DisplayObject_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::neash::display::IBitmapDrawable_obj)) return operator ::neash::display::IBitmapDrawable_obj *(); - return super::__ToInterface(inType); -} - -Float DisplayObject_obj::nmeSetY( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetY","neash/display/DisplayObject.hx",762); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(763) - ::neash::display::DisplayObject_obj::nme_display_object_set_y(this->nmeHandle,inVal); - HX_STACK_LINE(764) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetY,return ) - -Float DisplayObject_obj::nmeGetY( ){ - HX_STACK_PUSH("DisplayObject::nmeGetY","neash/display/DisplayObject.hx",760); - HX_STACK_THIS(this); - HX_STACK_LINE(760) - return ::neash::display::DisplayObject_obj::nme_display_object_get_y(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetY,return ) - -Float DisplayObject_obj::nmeSetX( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetX","neash/display/DisplayObject.hx",754); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(755) - ::neash::display::DisplayObject_obj::nme_display_object_set_x(this->nmeHandle,inVal); - HX_STACK_LINE(756) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetX,return ) - -Float DisplayObject_obj::nmeGetX( ){ - HX_STACK_PUSH("DisplayObject::nmeGetX","neash/display/DisplayObject.hx",752); - HX_STACK_THIS(this); - HX_STACK_LINE(752) - return ::neash::display::DisplayObject_obj::nme_display_object_get_x(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetX,return ) - -Float DisplayObject_obj::nmeSetWidth( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetWidth","neash/display/DisplayObject.hx",746); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(747) - ::neash::display::DisplayObject_obj::nme_display_object_set_width(this->nmeHandle,inVal); - HX_STACK_LINE(748) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetWidth,return ) - -Float DisplayObject_obj::nmeGetWidth( ){ - HX_STACK_PUSH("DisplayObject::nmeGetWidth","neash/display/DisplayObject.hx",744); - HX_STACK_THIS(this); - HX_STACK_LINE(744) - return ::neash::display::DisplayObject_obj::nme_display_object_get_width(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetWidth,return ) - -bool DisplayObject_obj::nmeSetVisible( bool inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetVisible","neash/display/DisplayObject.hx",738); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(739) - ::neash::display::DisplayObject_obj::nme_display_object_set_visible(this->nmeHandle,inVal); - HX_STACK_LINE(740) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetVisible,return ) - -bool DisplayObject_obj::nmeGetVisible( ){ - HX_STACK_PUSH("DisplayObject::nmeGetVisible","neash/display/DisplayObject.hx",736); - HX_STACK_THIS(this); - HX_STACK_LINE(736) - return ::neash::display::DisplayObject_obj::nme_display_object_get_visible(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetVisible,return ) - -::neash::geom::Transform DisplayObject_obj::nmeSetTransform( ::neash::geom::Transform inTransform){ - HX_STACK_PUSH("DisplayObject::nmeSetTransform","neash/display/DisplayObject.hx",729); - HX_STACK_THIS(this); - HX_STACK_ARG(inTransform,"inTransform"); - HX_STACK_LINE(730) - this->nmeSetMatrix(inTransform->nmeGetMatrix()); - HX_STACK_LINE(731) - this->nmeSetColorTransform(inTransform->nmeGetColorTransform()); - HX_STACK_LINE(732) - return inTransform; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetTransform,return ) - -::neash::geom::Transform DisplayObject_obj::nmeGetTransform( ){ - HX_STACK_PUSH("DisplayObject::nmeGetTransform","neash/display/DisplayObject.hx",727); - HX_STACK_THIS(this); - HX_STACK_LINE(727) - return ::neash::geom::Transform_obj::__new(hx::ObjectPtr(this)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetTransform,return ) - -::neash::display::Stage DisplayObject_obj::nmeGetStage( ){ - HX_STACK_PUSH("DisplayObject::nmeGetStage","neash/display/DisplayObject.hx",719); - HX_STACK_THIS(this); - HX_STACK_LINE(720) - if (((this->nmeParent != null()))){ - HX_STACK_LINE(721) - return this->nmeParent->nmeGetStage(); - } - HX_STACK_LINE(723) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetStage,return ) - -::neash::geom::Rectangle DisplayObject_obj::nmeSetScrollRect( ::neash::geom::Rectangle inRect){ - HX_STACK_PUSH("DisplayObject::nmeSetScrollRect","neash/display/DisplayObject.hx",711); - HX_STACK_THIS(this); - HX_STACK_ARG(inRect,"inRect"); - HX_STACK_LINE(712) - this->nmeScrollRect = ( (((inRect == null()))) ? ::neash::geom::Rectangle(null()) : ::neash::geom::Rectangle(inRect->clone()) ); - HX_STACK_LINE(713) - ::neash::display::DisplayObject_obj::nme_display_object_set_scroll_rect(this->nmeHandle,this->nmeScrollRect); - HX_STACK_LINE(714) - return inRect; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetScrollRect,return ) - -::neash::geom::Rectangle DisplayObject_obj::nmeGetScrollRect( ){ - HX_STACK_PUSH("DisplayObject::nmeGetScrollRect","neash/display/DisplayObject.hx",709); - HX_STACK_THIS(this); - HX_STACK_LINE(709) - return ( (((this->nmeScrollRect == null()))) ? ::neash::geom::Rectangle(null()) : ::neash::geom::Rectangle(this->nmeScrollRect->clone()) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetScrollRect,return ) - -Float DisplayObject_obj::nmeSetScaleY( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetScaleY","neash/display/DisplayObject.hx",703); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(704) - ::neash::display::DisplayObject_obj::nme_display_object_set_scale_y(this->nmeHandle,inVal); - HX_STACK_LINE(705) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetScaleY,return ) - -Float DisplayObject_obj::nmeGetScaleY( ){ - HX_STACK_PUSH("DisplayObject::nmeGetScaleY","neash/display/DisplayObject.hx",701); - HX_STACK_THIS(this); - HX_STACK_LINE(701) - return ::neash::display::DisplayObject_obj::nme_display_object_get_scale_y(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetScaleY,return ) - -Float DisplayObject_obj::nmeSetScaleX( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetScaleX","neash/display/DisplayObject.hx",695); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(696) - ::neash::display::DisplayObject_obj::nme_display_object_set_scale_x(this->nmeHandle,inVal); - HX_STACK_LINE(697) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetScaleX,return ) - -Float DisplayObject_obj::nmeGetScaleX( ){ - HX_STACK_PUSH("DisplayObject::nmeGetScaleX","neash/display/DisplayObject.hx",693); - HX_STACK_THIS(this); - HX_STACK_LINE(693) - return ::neash::display::DisplayObject_obj::nme_display_object_get_scale_x(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetScaleX,return ) - -::neash::geom::Rectangle DisplayObject_obj::nmeSetScale9Grid( ::neash::geom::Rectangle inRect){ - HX_STACK_PUSH("DisplayObject::nmeSetScale9Grid","neash/display/DisplayObject.hx",686); - HX_STACK_THIS(this); - HX_STACK_ARG(inRect,"inRect"); - HX_STACK_LINE(687) - this->nmeScale9Grid = ( (((inRect == null()))) ? ::neash::geom::Rectangle(null()) : ::neash::geom::Rectangle(inRect->clone()) ); - HX_STACK_LINE(688) - ::neash::display::DisplayObject_obj::nme_display_object_set_scale9_grid(this->nmeHandle,this->nmeScale9Grid); - HX_STACK_LINE(689) - return inRect; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetScale9Grid,return ) - -::neash::geom::Rectangle DisplayObject_obj::nmeGetScale9Grid( ){ - HX_STACK_PUSH("DisplayObject::nmeGetScale9Grid","neash/display/DisplayObject.hx",684); - HX_STACK_THIS(this); - HX_STACK_LINE(684) - return ( (((this->nmeScale9Grid == null()))) ? ::neash::geom::Rectangle(null()) : ::neash::geom::Rectangle(this->nmeScale9Grid->clone()) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetScale9Grid,return ) - -Float DisplayObject_obj::nmeSetRotation( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetRotation","neash/display/DisplayObject.hx",678); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(679) - ::neash::display::DisplayObject_obj::nme_display_object_set_rotation(this->nmeHandle,inVal); - HX_STACK_LINE(680) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetRotation,return ) - -Float DisplayObject_obj::nmeGetRotation( ){ - HX_STACK_PUSH("DisplayObject::nmeGetRotation","neash/display/DisplayObject.hx",676); - HX_STACK_THIS(this); - HX_STACK_LINE(676) - return ::neash::display::DisplayObject_obj::nme_display_object_get_rotation(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetRotation,return ) - -::neash::display::DisplayObjectContainer DisplayObject_obj::nmeSetParent( ::neash::display::DisplayObjectContainer inParent){ - HX_STACK_PUSH("DisplayObject::nmeSetParent","neash/display/DisplayObject.hx",649); - HX_STACK_THIS(this); - HX_STACK_ARG(inParent,"inParent"); - HX_STACK_LINE(650) - if (((inParent == this->nmeParent))){ - HX_STACK_LINE(651) - return inParent; - } - HX_STACK_LINE(653) - if (((this->nmeParent != null()))){ - HX_STACK_LINE(654) - this->nmeParent->nmeRemoveChildFromArray(hx::ObjectPtr(this)); - } - HX_STACK_LINE(656) - if (((bool((this->nmeParent == null())) && bool((inParent != null()))))){ - HX_STACK_LINE(658) - this->nmeParent = inParent; - HX_STACK_LINE(659) - this->nmeOnAdded(hx::ObjectPtr(this),(this->nmeGetStage() != null())); - } - else{ - HX_STACK_LINE(661) - if (((bool((this->nmeParent != null())) && bool((inParent == null()))))){ - HX_STACK_LINE(663) - bool was_on_stage = (this->nmeGetStage() != null()); HX_STACK_VAR(was_on_stage,"was_on_stage"); - HX_STACK_LINE(664) - this->nmeParent = inParent; - HX_STACK_LINE(665) - this->nmeOnRemoved(hx::ObjectPtr(this),was_on_stage); - } - else{ - HX_STACK_LINE(668) - this->nmeParent = inParent; - } - } - HX_STACK_LINE(672) - return inParent; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetParent,return ) - -::neash::display::DisplayObjectContainer DisplayObject_obj::nmeGetParent( ){ - HX_STACK_PUSH("DisplayObject::nmeGetParent","neash/display/DisplayObject.hx",645); - HX_STACK_THIS(this); - HX_STACK_LINE(645) - return this->nmeParent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetParent,return ) - -::String DisplayObject_obj::nmeSetName( ::String inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetName","neash/display/DisplayObject.hx",639); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(640) - ::neash::display::DisplayObject_obj::nme_display_object_set_name(this->nmeHandle,inVal); - HX_STACK_LINE(641) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetName,return ) - -::String DisplayObject_obj::nmeGetName( ){ - HX_STACK_PUSH("DisplayObject::nmeGetName","neash/display/DisplayObject.hx",637); - HX_STACK_THIS(this); - HX_STACK_LINE(637) - return ::neash::display::DisplayObject_obj::nme_display_object_get_name(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetName,return ) - -Float DisplayObject_obj::nmeGetMouseY( ){ - HX_STACK_PUSH("DisplayObject::nmeGetMouseY","neash/display/DisplayObject.hx",634); - HX_STACK_THIS(this); - HX_STACK_LINE(634) - return ::neash::display::DisplayObject_obj::nme_display_object_get_mouse_y(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetMouseY,return ) - -Float DisplayObject_obj::nmeGetMouseX( ){ - HX_STACK_PUSH("DisplayObject::nmeGetMouseX","neash/display/DisplayObject.hx",633); - HX_STACK_THIS(this); - HX_STACK_LINE(633) - return ::neash::display::DisplayObject_obj::nme_display_object_get_mouse_x(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetMouseX,return ) - -::neash::display::DisplayObject DisplayObject_obj::nmeSetMask( ::neash::display::DisplayObject inObject){ - HX_STACK_PUSH("DisplayObject::nmeSetMask","neash/display/DisplayObject.hx",626); - HX_STACK_THIS(this); - HX_STACK_ARG(inObject,"inObject"); - HX_STACK_LINE(627) - this->mask = inObject; - HX_STACK_LINE(628) - ::neash::display::DisplayObject_obj::nme_display_object_set_mask(this->nmeHandle,( (((inObject == null()))) ? Dynamic(null()) : Dynamic(inObject->nmeHandle) )); - HX_STACK_LINE(629) - return inObject; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetMask,return ) - -Float DisplayObject_obj::nmeSetHeight( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetHeight","neash/display/DisplayObject.hx",619); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(620) - ::neash::display::DisplayObject_obj::nme_display_object_set_height(this->nmeHandle,inVal); - HX_STACK_LINE(621) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetHeight,return ) - -Float DisplayObject_obj::nmeGetHeight( ){ - HX_STACK_PUSH("DisplayObject::nmeGetHeight","neash/display/DisplayObject.hx",617); - HX_STACK_THIS(this); - HX_STACK_LINE(617) - return ::neash::display::DisplayObject_obj::nme_display_object_get_height(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetHeight,return ) - -::neash::display::Graphics DisplayObject_obj::nmeGetGraphics( ){ - HX_STACK_PUSH("DisplayObject::nmeGetGraphics","neash/display/DisplayObject.hx",610); - HX_STACK_THIS(this); - HX_STACK_LINE(611) - if (((this->nmeGraphicsCache == null()))){ - HX_STACK_LINE(612) - this->nmeGraphicsCache = ::neash::display::Graphics_obj::__new(::neash::display::DisplayObject_obj::nme_display_object_get_graphics(this->nmeHandle)); - } - HX_STACK_LINE(613) - return this->nmeGraphicsCache; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetGraphics,return ) - -Dynamic DisplayObject_obj::nmeSetFilters( Dynamic inFilters){ - HX_STACK_PUSH("DisplayObject::nmeSetFilters","neash/display/DisplayObject.hx",590); - HX_STACK_THIS(this); - HX_STACK_ARG(inFilters,"inFilters"); - HX_STACK_LINE(591) - if (((inFilters == null()))){ - HX_STACK_LINE(592) - this->nmeFilters = null(); - } - else{ - HX_STACK_LINE(597) - this->nmeFilters = Dynamic( Array_obj::__new() ); - HX_STACK_LINE(599) - { - HX_STACK_LINE(599) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(599) - while(((_g < inFilters->__Field(HX_CSTRING("length"),true)))){ - HX_STACK_LINE(599) - Dynamic filter = inFilters->__GetItem(_g); HX_STACK_VAR(filter,"filter"); - HX_STACK_LINE(599) - ++(_g); - HX_STACK_LINE(600) - this->nmeFilters->__Field(HX_CSTRING("push"),true)(filter->__Field(HX_CSTRING("clone"),true)()); - } - } - } - HX_STACK_LINE(603) - ::neash::display::DisplayObject_obj::nme_display_object_set_filters(this->nmeHandle,this->nmeFilters); - HX_STACK_LINE(605) - return inFilters; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetFilters,return ) - -Dynamic DisplayObject_obj::nmeGetFilters( ){ - HX_STACK_PUSH("DisplayObject::nmeGetFilters","neash/display/DisplayObject.hx",577); - HX_STACK_THIS(this); - HX_STACK_LINE(578) - if (((this->nmeFilters == null()))){ - HX_STACK_LINE(578) - return Dynamic( Array_obj::__new()); - } - HX_STACK_LINE(580) - Dynamic result = Dynamic( Array_obj::__new() ); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(582) - { - HX_STACK_LINE(582) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Dynamic _g1 = this->nmeFilters; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(582) - while(((_g < _g1->__Field(HX_CSTRING("length"),true)))){ - HX_STACK_LINE(582) - Dynamic filter = _g1->__GetItem(_g); HX_STACK_VAR(filter,"filter"); - HX_STACK_LINE(582) - ++(_g); - HX_STACK_LINE(583) - result->__Field(HX_CSTRING("push"),true)(filter->__Field(HX_CSTRING("clone"),true)()); - } - } - HX_STACK_LINE(585) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetFilters,return ) - -::neash::display::PixelSnapping DisplayObject_obj::nmeSetPixelSnapping( ::neash::display::PixelSnapping inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetPixelSnapping","neash/display/DisplayObject.hx",569); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(570) - if (((inVal == null()))){ - HX_STACK_LINE(571) - ::neash::display::DisplayObject_obj::nme_display_object_set_pixel_snapping(this->nmeHandle,(int)0); - } - HX_STACK_LINE(572) - ::neash::display::DisplayObject_obj::nme_display_object_set_pixel_snapping(this->nmeHandle,inVal->__Index()); - HX_STACK_LINE(573) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetPixelSnapping,return ) - -::neash::display::PixelSnapping DisplayObject_obj::nmeGetPixelSnapping( ){ - HX_STACK_PUSH("DisplayObject::nmeGetPixelSnapping","neash/display/DisplayObject.hx",564); - HX_STACK_THIS(this); - HX_STACK_LINE(565) - int val = ::neash::display::DisplayObject_obj::nme_display_object_get_pixel_snapping(this->nmeHandle); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(566) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::PixelSnapping >(),val,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetPixelSnapping,return ) - -bool DisplayObject_obj::nmeSetPedanticBitmapCaching( bool inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetPedanticBitmapCaching","neash/display/DisplayObject.hx",559); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(560) - ::neash::display::DisplayObject_obj::nme_display_object_set_pedantic_bitmap_caching(this->nmeHandle,inVal); - HX_STACK_LINE(561) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetPedanticBitmapCaching,return ) - -bool DisplayObject_obj::nmeGetPedanticBitmapCaching( ){ - HX_STACK_PUSH("DisplayObject::nmeGetPedanticBitmapCaching","neash/display/DisplayObject.hx",557); - HX_STACK_THIS(this); - HX_STACK_LINE(557) - return ::neash::display::DisplayObject_obj::nme_display_object_get_pedantic_bitmap_caching(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetPedanticBitmapCaching,return ) - -bool DisplayObject_obj::nmeSetCacheAsBitmap( bool inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetCacheAsBitmap","neash/display/DisplayObject.hx",552); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(553) - ::neash::display::DisplayObject_obj::nme_display_object_set_cache_as_bitmap(this->nmeHandle,inVal); - HX_STACK_LINE(554) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetCacheAsBitmap,return ) - -bool DisplayObject_obj::nmeGetCacheAsBitmap( ){ - HX_STACK_PUSH("DisplayObject::nmeGetCacheAsBitmap","neash/display/DisplayObject.hx",550); - HX_STACK_THIS(this); - HX_STACK_LINE(550) - return ::neash::display::DisplayObject_obj::nme_display_object_get_cache_as_bitmap(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetCacheAsBitmap,return ) - -::neash::display::BlendMode DisplayObject_obj::nmeSetBlendMode( ::neash::display::BlendMode inMode){ - HX_STACK_PUSH("DisplayObject::nmeSetBlendMode","neash/display/DisplayObject.hx",544); - HX_STACK_THIS(this); - HX_STACK_ARG(inMode,"inMode"); - HX_STACK_LINE(545) - ::neash::display::DisplayObject_obj::nme_display_object_set_blend_mode(this->nmeHandle,inMode->__Index()); - HX_STACK_LINE(546) - return inMode; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetBlendMode,return ) - -::neash::display::BlendMode DisplayObject_obj::nmeGetBlendMode( ){ - HX_STACK_PUSH("DisplayObject::nmeGetBlendMode","neash/display/DisplayObject.hx",537); - HX_STACK_THIS(this); - HX_STACK_LINE(538) - int i = ::neash::display::DisplayObject_obj::nme_display_object_get_blend_mode(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(539) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::BlendMode >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetBlendMode,return ) - -Dynamic DisplayObject_obj::nmeSetBG( Dynamic inBG){ - HX_STACK_PUSH("DisplayObject::nmeSetBG","neash/display/DisplayObject.hx",526); - HX_STACK_THIS(this); - HX_STACK_ARG(inBG,"inBG"); - HX_STACK_LINE(527) - if (((inBG == null()))){ - HX_STACK_LINE(528) - ::neash::display::DisplayObject_obj::nme_display_object_set_bg(this->nmeHandle,(int)0); - } - else{ - HX_STACK_LINE(530) - ::neash::display::DisplayObject_obj::nme_display_object_set_bg(this->nmeHandle,inBG); - } - HX_STACK_LINE(532) - return inBG; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetBG,return ) - -Dynamic DisplayObject_obj::nmeGetBG( ){ - HX_STACK_PUSH("DisplayObject::nmeGetBG","neash/display/DisplayObject.hx",516); - HX_STACK_THIS(this); - HX_STACK_LINE(517) - int i = ::neash::display::DisplayObject_obj::nme_display_object_get_bg(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(518) - if (((((int(i) & int((int)16777216))) == (int)0))){ - HX_STACK_LINE(519) - return null(); - } - HX_STACK_LINE(521) - return (int(i) & int((int)16777215)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetBG,return ) - -Float DisplayObject_obj::nmeSetAlpha( Float inAlpha){ - HX_STACK_PUSH("DisplayObject::nmeSetAlpha","neash/display/DisplayObject.hx",509); - HX_STACK_THIS(this); - HX_STACK_ARG(inAlpha,"inAlpha"); - HX_STACK_LINE(510) - ::neash::display::DisplayObject_obj::nme_display_object_set_alpha(this->nmeHandle,inAlpha); - HX_STACK_LINE(511) - return inAlpha; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetAlpha,return ) - -Float DisplayObject_obj::nmeGetAlpha( ){ - HX_STACK_PUSH("DisplayObject::nmeGetAlpha","neash/display/DisplayObject.hx",507); - HX_STACK_THIS(this); - HX_STACK_LINE(507) - return ::neash::display::DisplayObject_obj::nme_display_object_get_alpha(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetAlpha,return ) - -::String DisplayObject_obj::toString( ){ - HX_STACK_PUSH("DisplayObject::toString","neash/display/DisplayObject.hx",497); - HX_STACK_THIS(this); - HX_STACK_LINE(497) - return this->nmeGetName(); -} - - -Void DisplayObject_obj::nmeSetMatrix( ::neash::geom::Matrix inMatrix){ -{ - HX_STACK_PUSH("DisplayObject::nmeSetMatrix","neash/display/DisplayObject.hx",488); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_LINE(488) - ::neash::display::DisplayObject_obj::nme_display_object_set_matrix(this->nmeHandle,inMatrix); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetMatrix,(void)) - -Void DisplayObject_obj::nmeSetColorTransform( ::neash::geom::ColorTransform inTrans){ -{ - HX_STACK_PUSH("DisplayObject::nmeSetColorTransform","neash/display/DisplayObject.hx",482); - HX_STACK_THIS(this); - HX_STACK_ARG(inTrans,"inTrans"); - HX_STACK_LINE(482) - ::neash::display::DisplayObject_obj::nme_display_object_set_color_transform(this->nmeHandle,inTrans); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetColorTransform,(void)) - -Void DisplayObject_obj::nmeOnRemoved( ::neash::display::DisplayObject inObj,bool inWasOnStage){ -{ - HX_STACK_PUSH("DisplayObject::nmeOnRemoved","neash/display/DisplayObject.hx",464); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inWasOnStage,"inWasOnStage"); - HX_STACK_LINE(465) - if (((inObj == hx::ObjectPtr(this)))){ - HX_STACK_LINE(467) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::Event_obj::REMOVED,true,false); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(468) - evt->nmeSetTarget(inObj); - HX_STACK_LINE(469) - this->dispatchEvent(evt); - } - HX_STACK_LINE(472) - if ((inWasOnStage)){ - HX_STACK_LINE(474) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::Event_obj::REMOVED_FROM_STAGE,false,false); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(475) - evt->nmeSetTarget(inObj); - HX_STACK_LINE(476) - this->dispatchEvent(evt); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObject_obj,nmeOnRemoved,(void)) - -Void DisplayObject_obj::nmeOnAdded( ::neash::display::DisplayObject inObj,bool inIsOnStage){ -{ - HX_STACK_PUSH("DisplayObject::nmeOnAdded","neash/display/DisplayObject.hx",446); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inIsOnStage,"inIsOnStage"); - HX_STACK_LINE(447) - if (((inObj == hx::ObjectPtr(this)))){ - HX_STACK_LINE(449) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::Event_obj::ADDED,true,false); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(450) - evt->nmeSetTarget(inObj); - HX_STACK_LINE(451) - this->dispatchEvent(evt); - } - HX_STACK_LINE(454) - if ((inIsOnStage)){ - HX_STACK_LINE(456) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::Event_obj::ADDED_TO_STAGE,false,false); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(457) - evt->nmeSetTarget(inObj); - HX_STACK_LINE(458) - this->dispatchEvent(evt); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObject_obj,nmeOnAdded,(void)) - -::neash::geom::Rectangle DisplayObject_obj::nmeGetPixelBounds( ){ - HX_STACK_PUSH("DisplayObject::nmeGetPixelBounds","neash/display/DisplayObject.hx",438); - HX_STACK_THIS(this); - HX_STACK_LINE(439) - ::neash::geom::Rectangle rect = ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(rect,"rect"); - HX_STACK_LINE(440) - ::neash::display::DisplayObject_obj::nme_display_object_get_pixel_bounds(this->nmeHandle,rect); - HX_STACK_LINE(441) - return rect; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetPixelBounds,return ) - -Void DisplayObject_obj::nmeGetObjectsUnderPoint( ::neash::geom::Point point,Array< ::neash::display::DisplayObject > result){ -{ - HX_STACK_PUSH("DisplayObject::nmeGetObjectsUnderPoint","neash/display/DisplayObject.hx",431); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_ARG(result,"result"); - HX_STACK_LINE(431) - if ((::neash::display::DisplayObject_obj::nme_display_object_hit_test_point(this->nmeHandle,point->x,point->y,true,false))){ - HX_STACK_LINE(433) - result->push(hx::ObjectPtr(this)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObject_obj,nmeGetObjectsUnderPoint,(void)) - -::neash::geom::Matrix DisplayObject_obj::nmeGetMatrix( ){ - HX_STACK_PUSH("DisplayObject::nmeGetMatrix","neash/display/DisplayObject.hx",423); - HX_STACK_THIS(this); - HX_STACK_LINE(424) - ::neash::geom::Matrix mtx = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(mtx,"mtx"); - HX_STACK_LINE(425) - ::neash::display::DisplayObject_obj::nme_display_object_get_matrix(this->nmeHandle,mtx,false); - HX_STACK_LINE(426) - return mtx; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetMatrix,return ) - -Void DisplayObject_obj::nmeGetInteractiveObjectStack( Array< ::neash::display::InteractiveObject > outStack){ -{ - HX_STACK_PUSH("DisplayObject::nmeGetInteractiveObjectStack","neash/display/DisplayObject.hx",411); - HX_STACK_THIS(this); - HX_STACK_ARG(outStack,"outStack"); - HX_STACK_LINE(412) - ::neash::display::InteractiveObject io = this->nmeAsInteractiveObject(); HX_STACK_VAR(io,"io"); - HX_STACK_LINE(414) - if (((io != null()))){ - HX_STACK_LINE(415) - outStack->push(io); - } - HX_STACK_LINE(417) - if (((this->nmeParent != null()))){ - HX_STACK_LINE(418) - this->nmeParent->nmeGetInteractiveObjectStack(outStack); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeGetInteractiveObjectStack,(void)) - -::neash::geom::Matrix DisplayObject_obj::nmeGetConcatenatedMatrix( ){ - HX_STACK_PUSH("DisplayObject::nmeGetConcatenatedMatrix","neash/display/DisplayObject.hx",403); - HX_STACK_THIS(this); - HX_STACK_LINE(404) - ::neash::geom::Matrix mtx = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(mtx,"mtx"); - HX_STACK_LINE(405) - ::neash::display::DisplayObject_obj::nme_display_object_get_matrix(this->nmeHandle,mtx,true); - HX_STACK_LINE(406) - return mtx; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetConcatenatedMatrix,return ) - -::neash::geom::ColorTransform DisplayObject_obj::nmeGetConcatenatedColorTransform( ){ - HX_STACK_PUSH("DisplayObject::nmeGetConcatenatedColorTransform","neash/display/DisplayObject.hx",395); - HX_STACK_THIS(this); - HX_STACK_LINE(396) - ::neash::geom::ColorTransform trans = ::neash::geom::ColorTransform_obj::__new(null(),null(),null(),null(),null(),null(),null(),null()); HX_STACK_VAR(trans,"trans"); - HX_STACK_LINE(397) - ::neash::display::DisplayObject_obj::nme_display_object_get_color_transform(this->nmeHandle,trans,true); - HX_STACK_LINE(398) - return trans; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetConcatenatedColorTransform,return ) - -::neash::geom::ColorTransform DisplayObject_obj::nmeGetColorTransform( ){ - HX_STACK_PUSH("DisplayObject::nmeGetColorTransform","neash/display/DisplayObject.hx",387); - HX_STACK_THIS(this); - HX_STACK_LINE(388) - ::neash::geom::ColorTransform trans = ::neash::geom::ColorTransform_obj::__new(null(),null(),null(),null(),null(),null(),null(),null()); HX_STACK_VAR(trans,"trans"); - HX_STACK_LINE(389) - ::neash::display::DisplayObject_obj::nme_display_object_get_color_transform(this->nmeHandle,trans,false); - HX_STACK_LINE(390) - return trans; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetColorTransform,return ) - -Void DisplayObject_obj::nmeFireEvent( ::neash::events::Event inEvt){ -{ - HX_STACK_PUSH("DisplayObject::nmeFireEvent","neash/display/DisplayObject.hx",335); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvt,"inEvt"); - HX_STACK_LINE(336) - Array< ::neash::display::InteractiveObject > stack = Array_obj< ::neash::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(338) - if (((this->nmeParent != null()))){ - HX_STACK_LINE(339) - this->nmeParent->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(341) - int l = stack->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(343) - if (((l > (int)0))){ - HX_STACK_LINE(346) - inEvt->nmeSetPhase(::neash::events::EventPhase_obj::CAPTURING_PHASE); - HX_STACK_LINE(347) - stack->reverse(); - HX_STACK_LINE(349) - { - HX_STACK_LINE(349) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(349) - while(((_g < stack->length))){ - HX_STACK_LINE(349) - ::neash::display::InteractiveObject obj = stack->__get(_g); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(349) - ++(_g); - HX_STACK_LINE(351) - inEvt->nmeSetCurrentTarget(obj); - HX_STACK_LINE(352) - obj->nmeDispatchEvent(inEvt); - HX_STACK_LINE(354) - if ((inEvt->nmeGetIsCancelled())){ - HX_STACK_LINE(355) - return null(); - } - } - } - } - HX_STACK_LINE(361) - inEvt->nmeSetPhase(::neash::events::EventPhase_obj::AT_TARGET); - HX_STACK_LINE(362) - inEvt->nmeSetCurrentTarget(hx::ObjectPtr(this)); - HX_STACK_LINE(363) - this->nmeDispatchEvent(inEvt); - HX_STACK_LINE(365) - if ((inEvt->nmeGetIsCancelled())){ - HX_STACK_LINE(366) - return null(); - } - HX_STACK_LINE(369) - if ((inEvt->nmeGetBubbles())){ - HX_STACK_LINE(371) - inEvt->nmeSetPhase(::neash::events::EventPhase_obj::BUBBLING_PHASE); - HX_STACK_LINE(372) - stack->reverse(); - HX_STACK_LINE(374) - { - HX_STACK_LINE(374) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(374) - while(((_g < stack->length))){ - HX_STACK_LINE(374) - ::neash::display::InteractiveObject obj = stack->__get(_g); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(374) - ++(_g); - HX_STACK_LINE(376) - inEvt->nmeSetCurrentTarget(obj); - HX_STACK_LINE(377) - obj->nmeDispatchEvent(inEvt); - HX_STACK_LINE(379) - if ((inEvt->nmeGetIsCancelled())){ - HX_STACK_LINE(380) - return null(); - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeFireEvent,(void)) - -::neash::display::DisplayObject DisplayObject_obj::nmeFindByID( int inID){ - HX_STACK_PUSH("DisplayObject::nmeFindByID","neash/display/DisplayObject.hx",327); - HX_STACK_THIS(this); - HX_STACK_ARG(inID,"inID"); - HX_STACK_LINE(328) - if (((this->nmeID == inID))){ - HX_STACK_LINE(329) - return hx::ObjectPtr(this); - } - HX_STACK_LINE(330) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeFindByID,return ) - -Void DisplayObject_obj::nmeDrawToSurface( Dynamic inSurface,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,bool smoothing){ -{ - HX_STACK_PUSH("DisplayObject::nmeDrawToSurface","neash/display/DisplayObject.hx",320); - HX_STACK_THIS(this); - HX_STACK_ARG(inSurface,"inSurface"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(colorTransform,"colorTransform"); - HX_STACK_ARG(blendMode,"blendMode"); - HX_STACK_ARG(clipRect,"clipRect"); - HX_STACK_ARG(smoothing,"smoothing"); - HX_STACK_LINE(320) - ::neash::display::DisplayObject_obj::nme_display_object_draw_to_surface(this->nmeHandle,inSurface,matrix,colorTransform,blendMode,clipRect); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(DisplayObject_obj,nmeDrawToSurface,(void)) - -bool DisplayObject_obj::nmeDispatchEvent( ::neash::events::Event inEvt){ - HX_STACK_PUSH("DisplayObject::nmeDispatchEvent","neash/display/DisplayObject.hx",309); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvt,"inEvt"); - HX_STACK_LINE(310) - if (((inEvt->nmeGetTarget() == null()))){ - HX_STACK_LINE(311) - inEvt->nmeSetTarget(hx::ObjectPtr(this)); - } - HX_STACK_LINE(314) - inEvt->nmeSetCurrentTarget(hx::ObjectPtr(this)); - HX_STACK_LINE(315) - return this->super::dispatchEvent(inEvt); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeDispatchEvent,return ) - -Void DisplayObject_obj::nmeBroadcast( ::neash::events::Event inEvt){ -{ - HX_STACK_PUSH("DisplayObject::nmeBroadcast","neash/display/DisplayObject.hx",303); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvt,"inEvt"); - HX_STACK_LINE(303) - this->nmeDispatchEvent(inEvt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeBroadcast,(void)) - -::neash::display::InteractiveObject DisplayObject_obj::nmeAsInteractiveObject( ){ - HX_STACK_PUSH("DisplayObject::nmeAsInteractiveObject","neash/display/DisplayObject.hx",297); - HX_STACK_THIS(this); - HX_STACK_LINE(297) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeAsInteractiveObject,return ) - -::neash::geom::Point DisplayObject_obj::localToGlobal( ::neash::geom::Point inLocal){ - HX_STACK_PUSH("DisplayObject::localToGlobal","neash/display/DisplayObject.hx",289); - HX_STACK_THIS(this); - HX_STACK_ARG(inLocal,"inLocal"); - HX_STACK_LINE(290) - ::neash::geom::Point result = inLocal->clone(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(291) - ::neash::display::DisplayObject_obj::nme_display_object_local_to_global(this->nmeHandle,result); - HX_STACK_LINE(292) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,localToGlobal,return ) - -::neash::geom::Rectangle DisplayObject_obj::getRect( ::neash::display::DisplayObject targetCoordinateSpace){ - HX_STACK_PUSH("DisplayObject::getRect","neash/display/DisplayObject.hx",274); - HX_STACK_THIS(this); - HX_STACK_ARG(targetCoordinateSpace,"targetCoordinateSpace"); - HX_STACK_LINE(275) - ::neash::geom::Rectangle result = ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(276) - ::neash::display::DisplayObject_obj::nme_display_object_get_bounds(this->nmeHandle,targetCoordinateSpace->nmeHandle,result,false); - HX_STACK_LINE(277) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,getRect,return ) - -::neash::geom::Rectangle DisplayObject_obj::getBounds( ::neash::display::DisplayObject targetCoordinateSpace){ - HX_STACK_PUSH("DisplayObject::getBounds","neash/display/DisplayObject.hx",267); - HX_STACK_THIS(this); - HX_STACK_ARG(targetCoordinateSpace,"targetCoordinateSpace"); - HX_STACK_LINE(268) - ::neash::geom::Rectangle result = ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(269) - ::neash::display::DisplayObject_obj::nme_display_object_get_bounds(this->nmeHandle,targetCoordinateSpace->nmeHandle,result,true); - HX_STACK_LINE(270) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,getBounds,return ) - -bool DisplayObject_obj::hitTestPoint( Float x,Float y,hx::Null< bool > __o_shapeFlag){ -bool shapeFlag = __o_shapeFlag.Default(false); - HX_STACK_PUSH("DisplayObject::hitTestPoint","neash/display/DisplayObject.hx",262); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(shapeFlag,"shapeFlag"); -{ - HX_STACK_LINE(262) - return ::neash::display::DisplayObject_obj::nme_display_object_hit_test_point(this->nmeHandle,x,y,shapeFlag,true); - } -} - - -HX_DEFINE_DYNAMIC_FUNC3(DisplayObject_obj,hitTestPoint,return ) - -bool DisplayObject_obj::hitTestObject( ::neash::display::DisplayObject object){ - HX_STACK_PUSH("DisplayObject::hitTestObject","neash/display/DisplayObject.hx",226); - HX_STACK_THIS(this); - HX_STACK_ARG(object,"object"); - HX_STACK_LINE(227) - if (((bool((bool((object != null())) && bool((object->nmeGetParent() != null())))) && bool((this->nmeGetParent() != null()))))){ - HX_STACK_LINE(229) - ::neash::geom::Matrix currentMatrix = this->nmeGetTransform()->nmeGetConcatenatedMatrix(); HX_STACK_VAR(currentMatrix,"currentMatrix"); - HX_STACK_LINE(230) - ::neash::geom::Matrix targetMatrix = object->nmeGetTransform()->nmeGetConcatenatedMatrix(); HX_STACK_VAR(targetMatrix,"targetMatrix"); - HX_STACK_LINE(232) - ::neash::geom::Point xPoint = ::neash::geom::Point_obj::__new((int)1,(int)0); HX_STACK_VAR(xPoint,"xPoint"); - HX_STACK_LINE(233) - ::neash::geom::Point yPoint = ::neash::geom::Point_obj::__new((int)0,(int)1); HX_STACK_VAR(yPoint,"yPoint"); - HX_STACK_LINE(235) - Float currentWidth = (this->nmeGetWidth() * currentMatrix->deltaTransformPoint(xPoint)->nmeGetLength()); HX_STACK_VAR(currentWidth,"currentWidth"); - HX_STACK_LINE(236) - Float currentHeight = (this->nmeGetHeight() * currentMatrix->deltaTransformPoint(yPoint)->nmeGetLength()); HX_STACK_VAR(currentHeight,"currentHeight"); - HX_STACK_LINE(237) - Float targetWidth = (object->nmeGetWidth() * targetMatrix->deltaTransformPoint(xPoint)->nmeGetLength()); HX_STACK_VAR(targetWidth,"targetWidth"); - HX_STACK_LINE(238) - Float targetHeight = (object->nmeGetHeight() * targetMatrix->deltaTransformPoint(yPoint)->nmeGetLength()); HX_STACK_VAR(targetHeight,"targetHeight"); - HX_STACK_LINE(240) - ::neash::geom::Rectangle currentRect = ::neash::geom::Rectangle_obj::__new(currentMatrix->tx,currentMatrix->ty,currentWidth,currentHeight); HX_STACK_VAR(currentRect,"currentRect"); - HX_STACK_LINE(241) - ::neash::geom::Rectangle targetRect = ::neash::geom::Rectangle_obj::__new(targetMatrix->tx,targetMatrix->ty,targetWidth,targetHeight); HX_STACK_VAR(targetRect,"targetRect"); - HX_STACK_LINE(243) - return currentRect->intersects(targetRect); - } - HX_STACK_LINE(246) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,hitTestObject,return ) - -::neash::geom::Point DisplayObject_obj::globalToLocal( ::neash::geom::Point inGlobal){ - HX_STACK_PUSH("DisplayObject::globalToLocal","neash/display/DisplayObject.hx",218); - HX_STACK_THIS(this); - HX_STACK_ARG(inGlobal,"inGlobal"); - HX_STACK_LINE(219) - ::neash::geom::Point result = inGlobal->clone(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(220) - ::neash::display::DisplayObject_obj::nme_display_object_global_to_local(this->nmeHandle,result); - HX_STACK_LINE(221) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,globalToLocal,return ) - -bool DisplayObject_obj::dispatchEvent( ::neash::events::Event event){ - HX_STACK_PUSH("DisplayObject::dispatchEvent","neash/display/DisplayObject.hx",196); - HX_STACK_THIS(this); - HX_STACK_ARG(event,"event"); - HX_STACK_LINE(198) - bool result = this->nmeDispatchEvent(event); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(200) - if ((event->nmeGetIsCancelled())){ - HX_STACK_LINE(201) - return true; - } - HX_STACK_LINE(203) - if (((bool(event->nmeGetBubbles()) && bool((this->nmeGetParent() != null()))))){ - HX_STACK_LINE(204) - this->nmeGetParent()->dispatchEvent(event); - } - HX_STACK_LINE(208) - return result; -} - - -Dynamic DisplayObject_obj::nme_create_display_object; - -Dynamic DisplayObject_obj::nme_display_object_get_graphics; - -Dynamic DisplayObject_obj::nme_display_object_draw_to_surface; - -Dynamic DisplayObject_obj::nme_display_object_get_id; - -Dynamic DisplayObject_obj::nme_display_object_get_x; - -Dynamic DisplayObject_obj::nme_display_object_set_x; - -Dynamic DisplayObject_obj::nme_display_object_get_y; - -Dynamic DisplayObject_obj::nme_display_object_set_y; - -Dynamic DisplayObject_obj::nme_display_object_get_scale_x; - -Dynamic DisplayObject_obj::nme_display_object_set_scale_x; - -Dynamic DisplayObject_obj::nme_display_object_get_scale_y; - -Dynamic DisplayObject_obj::nme_display_object_set_scale_y; - -Dynamic DisplayObject_obj::nme_display_object_get_mouse_x; - -Dynamic DisplayObject_obj::nme_display_object_get_mouse_y; - -Dynamic DisplayObject_obj::nme_display_object_get_rotation; - -Dynamic DisplayObject_obj::nme_display_object_set_rotation; - -Dynamic DisplayObject_obj::nme_display_object_get_bg; - -Dynamic DisplayObject_obj::nme_display_object_set_bg; - -Dynamic DisplayObject_obj::nme_display_object_get_name; - -Dynamic DisplayObject_obj::nme_display_object_set_name; - -Dynamic DisplayObject_obj::nme_display_object_get_width; - -Dynamic DisplayObject_obj::nme_display_object_set_width; - -Dynamic DisplayObject_obj::nme_display_object_get_height; - -Dynamic DisplayObject_obj::nme_display_object_set_height; - -Dynamic DisplayObject_obj::nme_display_object_get_alpha; - -Dynamic DisplayObject_obj::nme_display_object_set_alpha; - -Dynamic DisplayObject_obj::nme_display_object_get_blend_mode; - -Dynamic DisplayObject_obj::nme_display_object_set_blend_mode; - -Dynamic DisplayObject_obj::nme_display_object_get_cache_as_bitmap; - -Dynamic DisplayObject_obj::nme_display_object_set_cache_as_bitmap; - -Dynamic DisplayObject_obj::nme_display_object_get_pedantic_bitmap_caching; - -Dynamic DisplayObject_obj::nme_display_object_set_pedantic_bitmap_caching; - -Dynamic DisplayObject_obj::nme_display_object_get_pixel_snapping; - -Dynamic DisplayObject_obj::nme_display_object_set_pixel_snapping; - -Dynamic DisplayObject_obj::nme_display_object_get_visible; - -Dynamic DisplayObject_obj::nme_display_object_set_visible; - -Dynamic DisplayObject_obj::nme_display_object_set_filters; - -Dynamic DisplayObject_obj::nme_display_object_global_to_local; - -Dynamic DisplayObject_obj::nme_display_object_local_to_global; - -Dynamic DisplayObject_obj::nme_display_object_set_scale9_grid; - -Dynamic DisplayObject_obj::nme_display_object_set_scroll_rect; - -Dynamic DisplayObject_obj::nme_display_object_set_mask; - -Dynamic DisplayObject_obj::nme_display_object_set_matrix; - -Dynamic DisplayObject_obj::nme_display_object_get_matrix; - -Dynamic DisplayObject_obj::nme_display_object_get_color_transform; - -Dynamic DisplayObject_obj::nme_display_object_set_color_transform; - -Dynamic DisplayObject_obj::nme_display_object_get_pixel_bounds; - -Dynamic DisplayObject_obj::nme_display_object_get_bounds; - -Dynamic DisplayObject_obj::nme_display_object_hit_test_point; - - -DisplayObject_obj::DisplayObject_obj() -{ -} - -void DisplayObject_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(DisplayObject); - HX_MARK_MEMBER_NAME(nmeScrollRect,"nmeScrollRect"); - HX_MARK_MEMBER_NAME(nmeScale9Grid,"nmeScale9Grid"); - HX_MARK_MEMBER_NAME(nmeParent,"nmeParent"); - HX_MARK_MEMBER_NAME(nmeID,"nmeID"); - HX_MARK_MEMBER_NAME(nmeGraphicsCache,"nmeGraphicsCache"); - HX_MARK_MEMBER_NAME(nmeFilters,"nmeFilters"); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(width,"width"); - HX_MARK_MEMBER_NAME(visible,"visible"); - HX_MARK_MEMBER_NAME(transform,"transform"); - HX_MARK_MEMBER_NAME(stage,"stage"); - HX_MARK_MEMBER_NAME(scrollRect,"scrollRect"); - HX_MARK_MEMBER_NAME(scaleY,"scaleY"); - HX_MARK_MEMBER_NAME(scaleX,"scaleX"); - HX_MARK_MEMBER_NAME(scale9Grid,"scale9Grid"); - HX_MARK_MEMBER_NAME(rotation,"rotation"); - HX_MARK_MEMBER_NAME(parent,"parent"); - HX_MARK_MEMBER_NAME(opaqueBackground,"opaqueBackground"); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_MEMBER_NAME(mouseY,"mouseY"); - HX_MARK_MEMBER_NAME(mouseX,"mouseX"); - HX_MARK_MEMBER_NAME(mask,"mask"); - HX_MARK_MEMBER_NAME(height,"height"); - HX_MARK_MEMBER_NAME(graphics,"graphics"); - HX_MARK_MEMBER_NAME(filters,"filters"); - HX_MARK_MEMBER_NAME(pixelSnapping,"pixelSnapping"); - HX_MARK_MEMBER_NAME(pedanticBitmapCaching,"pedanticBitmapCaching"); - HX_MARK_MEMBER_NAME(cacheAsBitmap,"cacheAsBitmap"); - HX_MARK_MEMBER_NAME(blendMode,"blendMode"); - HX_MARK_MEMBER_NAME(alpha,"alpha"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void DisplayObject_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeScrollRect,"nmeScrollRect"); - HX_VISIT_MEMBER_NAME(nmeScale9Grid,"nmeScale9Grid"); - HX_VISIT_MEMBER_NAME(nmeParent,"nmeParent"); - HX_VISIT_MEMBER_NAME(nmeID,"nmeID"); - HX_VISIT_MEMBER_NAME(nmeGraphicsCache,"nmeGraphicsCache"); - HX_VISIT_MEMBER_NAME(nmeFilters,"nmeFilters"); - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(width,"width"); - HX_VISIT_MEMBER_NAME(visible,"visible"); - HX_VISIT_MEMBER_NAME(transform,"transform"); - HX_VISIT_MEMBER_NAME(stage,"stage"); - HX_VISIT_MEMBER_NAME(scrollRect,"scrollRect"); - HX_VISIT_MEMBER_NAME(scaleY,"scaleY"); - HX_VISIT_MEMBER_NAME(scaleX,"scaleX"); - HX_VISIT_MEMBER_NAME(scale9Grid,"scale9Grid"); - HX_VISIT_MEMBER_NAME(rotation,"rotation"); - HX_VISIT_MEMBER_NAME(parent,"parent"); - HX_VISIT_MEMBER_NAME(opaqueBackground,"opaqueBackground"); - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(name,"name"); - HX_VISIT_MEMBER_NAME(mouseY,"mouseY"); - HX_VISIT_MEMBER_NAME(mouseX,"mouseX"); - HX_VISIT_MEMBER_NAME(mask,"mask"); - HX_VISIT_MEMBER_NAME(height,"height"); - HX_VISIT_MEMBER_NAME(graphics,"graphics"); - HX_VISIT_MEMBER_NAME(filters,"filters"); - HX_VISIT_MEMBER_NAME(pixelSnapping,"pixelSnapping"); - HX_VISIT_MEMBER_NAME(pedanticBitmapCaching,"pedanticBitmapCaching"); - HX_VISIT_MEMBER_NAME(cacheAsBitmap,"cacheAsBitmap"); - HX_VISIT_MEMBER_NAME(blendMode,"blendMode"); - HX_VISIT_MEMBER_NAME(alpha,"alpha"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic DisplayObject_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return inCallProp ? nmeGetY() : y; } - if (HX_FIELD_EQ(inName,"x") ) { return inCallProp ? nmeGetX() : x; } - break; - case 4: - if (HX_FIELD_EQ(inName,"name") ) { return inCallProp ? nmeGetName() : name; } - if (HX_FIELD_EQ(inName,"mask") ) { return mask; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nmeID") ) { return nmeID; } - if (HX_FIELD_EQ(inName,"width") ) { return inCallProp ? nmeGetWidth() : width; } - if (HX_FIELD_EQ(inName,"stage") ) { return inCallProp ? nmeGetStage() : stage; } - if (HX_FIELD_EQ(inName,"alpha") ) { return inCallProp ? nmeGetAlpha() : alpha; } - break; - case 6: - if (HX_FIELD_EQ(inName,"scaleY") ) { return inCallProp ? nmeGetScaleY() : scaleY; } - if (HX_FIELD_EQ(inName,"scaleX") ) { return inCallProp ? nmeGetScaleX() : scaleX; } - if (HX_FIELD_EQ(inName,"parent") ) { return inCallProp ? nmeGetParent() : parent; } - if (HX_FIELD_EQ(inName,"mouseY") ) { return inCallProp ? nmeGetMouseY() : mouseY; } - if (HX_FIELD_EQ(inName,"mouseX") ) { return inCallProp ? nmeGetMouseX() : mouseX; } - if (HX_FIELD_EQ(inName,"height") ) { return inCallProp ? nmeGetHeight() : height; } - break; - case 7: - if (HX_FIELD_EQ(inName,"nmeSetY") ) { return nmeSetY_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetY") ) { return nmeGetY_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetX") ) { return nmeSetX_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetX") ) { return nmeGetX_dyn(); } - if (HX_FIELD_EQ(inName,"getRect") ) { return getRect_dyn(); } - if (HX_FIELD_EQ(inName,"visible") ) { return inCallProp ? nmeGetVisible() : visible; } - if (HX_FIELD_EQ(inName,"filters") ) { return inCallProp ? nmeGetFilters() : filters; } - break; - case 8: - if (HX_FIELD_EQ(inName,"nmeSetBG") ) { return nmeSetBG_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetBG") ) { return nmeGetBG_dyn(); } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"rotation") ) { return inCallProp ? nmeGetRotation() : rotation; } - if (HX_FIELD_EQ(inName,"graphics") ) { return inCallProp ? nmeGetGraphics() : graphics; } - break; - case 9: - if (HX_FIELD_EQ(inName,"getBounds") ) { return getBounds_dyn(); } - if (HX_FIELD_EQ(inName,"nmeParent") ) { return nmeParent; } - if (HX_FIELD_EQ(inName,"transform") ) { return inCallProp ? nmeGetTransform() : transform; } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - if (HX_FIELD_EQ(inName,"blendMode") ) { return inCallProp ? nmeGetBlendMode() : blendMode; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeSetName") ) { return nmeSetName_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetName") ) { return nmeGetName_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetMask") ) { return nmeSetMask_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnAdded") ) { return nmeOnAdded_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFilters") ) { return nmeFilters; } - if (HX_FIELD_EQ(inName,"scrollRect") ) { return inCallProp ? nmeGetScrollRect() : scrollRect; } - if (HX_FIELD_EQ(inName,"scale9Grid") ) { return inCallProp ? nmeGetScale9Grid() : scale9Grid; } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeSetWidth") ) { return nmeSetWidth_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetWidth") ) { return nmeGetWidth_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetStage") ) { return nmeGetStage_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetAlpha") ) { return nmeSetAlpha_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetAlpha") ) { return nmeGetAlpha_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFindByID") ) { return nmeFindByID_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeSetScaleY") ) { return nmeSetScaleY_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetScaleY") ) { return nmeGetScaleY_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetScaleX") ) { return nmeSetScaleX_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetScaleX") ) { return nmeGetScaleX_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetParent") ) { return nmeSetParent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetParent") ) { return nmeGetParent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMouseY") ) { return nmeGetMouseY_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMouseX") ) { return nmeGetMouseX_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetHeight") ) { return nmeSetHeight_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetHeight") ) { return nmeGetHeight_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetMatrix") ) { return nmeSetMatrix_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnRemoved") ) { return nmeOnRemoved_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMatrix") ) { return nmeGetMatrix_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFireEvent") ) { return nmeFireEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeBroadcast") ) { return nmeBroadcast_dyn(); } - if (HX_FIELD_EQ(inName,"hitTestPoint") ) { return hitTestPoint_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"nmeSetVisible") ) { return nmeSetVisible_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetVisible") ) { return nmeGetVisible_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetFilters") ) { return nmeSetFilters_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetFilters") ) { return nmeGetFilters_dyn(); } - if (HX_FIELD_EQ(inName,"localToGlobal") ) { return localToGlobal_dyn(); } - if (HX_FIELD_EQ(inName,"hitTestObject") ) { return hitTestObject_dyn(); } - if (HX_FIELD_EQ(inName,"globalToLocal") ) { return globalToLocal_dyn(); } - if (HX_FIELD_EQ(inName,"dispatchEvent") ) { return dispatchEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeScrollRect") ) { return nmeScrollRect; } - if (HX_FIELD_EQ(inName,"nmeScale9Grid") ) { return nmeScale9Grid; } - if (HX_FIELD_EQ(inName,"pixelSnapping") ) { return inCallProp ? nmeGetPixelSnapping() : pixelSnapping; } - if (HX_FIELD_EQ(inName,"cacheAsBitmap") ) { return inCallProp ? nmeGetCacheAsBitmap() : cacheAsBitmap; } - break; - case 14: - if (HX_FIELD_EQ(inName,"nmeSetRotation") ) { return nmeSetRotation_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetRotation") ) { return nmeGetRotation_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetGraphics") ) { return nmeGetGraphics_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeSetTransform") ) { return nmeSetTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTransform") ) { return nmeGetTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetBlendMode") ) { return nmeSetBlendMode_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetBlendMode") ) { return nmeGetBlendMode_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeSetScrollRect") ) { return nmeSetScrollRect_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetScrollRect") ) { return nmeGetScrollRect_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetScale9Grid") ) { return nmeSetScale9Grid_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetScale9Grid") ) { return nmeGetScale9Grid_dyn(); } - if (HX_FIELD_EQ(inName,"nmeDrawToSurface") ) { return nmeDrawToSurface_dyn(); } - if (HX_FIELD_EQ(inName,"nmeDispatchEvent") ) { return nmeDispatchEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGraphicsCache") ) { return nmeGraphicsCache; } - if (HX_FIELD_EQ(inName,"opaqueBackground") ) { return inCallProp ? nmeGetBG() : opaqueBackground; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeGetPixelBounds") ) { return nmeGetPixelBounds_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"nmeSetPixelSnapping") ) { return nmeSetPixelSnapping_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetPixelSnapping") ) { return nmeGetPixelSnapping_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetCacheAsBitmap") ) { return nmeSetCacheAsBitmap_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetCacheAsBitmap") ) { return nmeGetCacheAsBitmap_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeSetColorTransform") ) { return nmeSetColorTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetColorTransform") ) { return nmeGetColorTransform_dyn(); } - break; - case 21: - if (HX_FIELD_EQ(inName,"pedanticBitmapCaching") ) { return inCallProp ? nmeGetPedanticBitmapCaching() : pedanticBitmapCaching; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nmeAsInteractiveObject") ) { return nmeAsInteractiveObject_dyn(); } - break; - case 23: - if (HX_FIELD_EQ(inName,"nmeGetObjectsUnderPoint") ) { return nmeGetObjectsUnderPoint_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_display_object_get_x") ) { return nme_display_object_get_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_x") ) { return nme_display_object_set_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_y") ) { return nme_display_object_get_y; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_y") ) { return nme_display_object_set_y; } - if (HX_FIELD_EQ(inName,"nmeGetConcatenatedMatrix") ) { return nmeGetConcatenatedMatrix_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_create_display_object") ) { return nme_create_display_object; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_id") ) { return nme_display_object_get_id; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_bg") ) { return nme_display_object_get_bg; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_bg") ) { return nme_display_object_set_bg; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_display_object_get_name") ) { return nme_display_object_get_name; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_name") ) { return nme_display_object_set_name; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_mask") ) { return nme_display_object_set_mask; } - if (HX_FIELD_EQ(inName,"nmeSetPedanticBitmapCaching") ) { return nmeSetPedanticBitmapCaching_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetPedanticBitmapCaching") ) { return nmeGetPedanticBitmapCaching_dyn(); } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_display_object_get_width") ) { return nme_display_object_get_width; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_width") ) { return nme_display_object_set_width; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_alpha") ) { return nme_display_object_get_alpha; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_alpha") ) { return nme_display_object_set_alpha; } - if (HX_FIELD_EQ(inName,"nmeGetInteractiveObjectStack") ) { return nmeGetInteractiveObjectStack_dyn(); } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_display_object_get_height") ) { return nme_display_object_get_height; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_height") ) { return nme_display_object_set_height; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_matrix") ) { return nme_display_object_set_matrix; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_matrix") ) { return nme_display_object_get_matrix; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_bounds") ) { return nme_display_object_get_bounds; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_display_object_get_scale_x") ) { return nme_display_object_get_scale_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale_x") ) { return nme_display_object_set_scale_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_scale_y") ) { return nme_display_object_get_scale_y; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale_y") ) { return nme_display_object_set_scale_y; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_mouse_x") ) { return nme_display_object_get_mouse_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_mouse_y") ) { return nme_display_object_get_mouse_y; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_visible") ) { return nme_display_object_get_visible; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_visible") ) { return nme_display_object_set_visible; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_filters") ) { return nme_display_object_set_filters; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_display_object_get_graphics") ) { return nme_display_object_get_graphics; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_rotation") ) { return nme_display_object_get_rotation; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_rotation") ) { return nme_display_object_set_rotation; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nmeGetConcatenatedColorTransform") ) { return nmeGetConcatenatedColorTransform_dyn(); } - break; - case 33: - if (HX_FIELD_EQ(inName,"nme_display_object_get_blend_mode") ) { return nme_display_object_get_blend_mode; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_blend_mode") ) { return nme_display_object_set_blend_mode; } - if (HX_FIELD_EQ(inName,"nme_display_object_hit_test_point") ) { return nme_display_object_hit_test_point; } - break; - case 34: - if (HX_FIELD_EQ(inName,"nme_display_object_draw_to_surface") ) { return nme_display_object_draw_to_surface; } - if (HX_FIELD_EQ(inName,"nme_display_object_global_to_local") ) { return nme_display_object_global_to_local; } - if (HX_FIELD_EQ(inName,"nme_display_object_local_to_global") ) { return nme_display_object_local_to_global; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale9_grid") ) { return nme_display_object_set_scale9_grid; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scroll_rect") ) { return nme_display_object_set_scroll_rect; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pixel_bounds") ) { return nme_display_object_get_pixel_bounds; } - break; - case 37: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pixel_snapping") ) { return nme_display_object_get_pixel_snapping; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_pixel_snapping") ) { return nme_display_object_set_pixel_snapping; } - break; - case 38: - if (HX_FIELD_EQ(inName,"nme_display_object_get_cache_as_bitmap") ) { return nme_display_object_get_cache_as_bitmap; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_cache_as_bitmap") ) { return nme_display_object_set_cache_as_bitmap; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_color_transform") ) { return nme_display_object_get_color_transform; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_color_transform") ) { return nme_display_object_set_color_transform; } - break; - case 46: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pedantic_bitmap_caching") ) { return nme_display_object_get_pedantic_bitmap_caching; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_pedantic_bitmap_caching") ) { return nme_display_object_set_pedantic_bitmap_caching; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic DisplayObject_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { if (inCallProp) return nmeSetY(inValue);y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { if (inCallProp) return nmeSetX(inValue);x=inValue.Cast< Float >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"name") ) { if (inCallProp) return nmeSetName(inValue);name=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"mask") ) { if (inCallProp) return nmeSetMask(inValue);mask=inValue.Cast< ::neash::display::DisplayObject >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nmeID") ) { nmeID=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"width") ) { if (inCallProp) return nmeSetWidth(inValue);width=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"stage") ) { stage=inValue.Cast< ::neash::display::Stage >(); return inValue; } - if (HX_FIELD_EQ(inName,"alpha") ) { if (inCallProp) return nmeSetAlpha(inValue);alpha=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"scaleY") ) { if (inCallProp) return nmeSetScaleY(inValue);scaleY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"scaleX") ) { if (inCallProp) return nmeSetScaleX(inValue);scaleX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"parent") ) { parent=inValue.Cast< ::neash::display::DisplayObjectContainer >(); return inValue; } - if (HX_FIELD_EQ(inName,"mouseY") ) { mouseY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"mouseX") ) { mouseX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"height") ) { if (inCallProp) return nmeSetHeight(inValue);height=inValue.Cast< Float >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"visible") ) { if (inCallProp) return nmeSetVisible(inValue);visible=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"filters") ) { if (inCallProp) return nmeSetFilters(inValue);filters=inValue.Cast< Dynamic >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"rotation") ) { if (inCallProp) return nmeSetRotation(inValue);rotation=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"graphics") ) { graphics=inValue.Cast< ::neash::display::Graphics >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeParent") ) { nmeParent=inValue.Cast< ::neash::display::DisplayObjectContainer >(); return inValue; } - if (HX_FIELD_EQ(inName,"transform") ) { if (inCallProp) return nmeSetTransform(inValue);transform=inValue.Cast< ::neash::geom::Transform >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"blendMode") ) { if (inCallProp) return nmeSetBlendMode(inValue);blendMode=inValue.Cast< ::neash::display::BlendMode >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeFilters") ) { nmeFilters=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"scrollRect") ) { if (inCallProp) return nmeSetScrollRect(inValue);scrollRect=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - if (HX_FIELD_EQ(inName,"scale9Grid") ) { if (inCallProp) return nmeSetScale9Grid(inValue);scale9Grid=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"nmeScrollRect") ) { nmeScrollRect=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeScale9Grid") ) { nmeScale9Grid=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - if (HX_FIELD_EQ(inName,"pixelSnapping") ) { if (inCallProp) return nmeSetPixelSnapping(inValue);pixelSnapping=inValue.Cast< ::neash::display::PixelSnapping >(); return inValue; } - if (HX_FIELD_EQ(inName,"cacheAsBitmap") ) { if (inCallProp) return nmeSetCacheAsBitmap(inValue);cacheAsBitmap=inValue.Cast< bool >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeGraphicsCache") ) { nmeGraphicsCache=inValue.Cast< ::neash::display::Graphics >(); return inValue; } - if (HX_FIELD_EQ(inName,"opaqueBackground") ) { if (inCallProp) return nmeSetBG(inValue);opaqueBackground=inValue.Cast< Dynamic >(); return inValue; } - break; - case 21: - if (HX_FIELD_EQ(inName,"pedanticBitmapCaching") ) { if (inCallProp) return nmeSetPedanticBitmapCaching(inValue);pedanticBitmapCaching=inValue.Cast< bool >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_display_object_get_x") ) { nme_display_object_get_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_x") ) { nme_display_object_set_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_y") ) { nme_display_object_get_y=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_y") ) { nme_display_object_set_y=inValue.Cast< Dynamic >(); return inValue; } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_create_display_object") ) { nme_create_display_object=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_id") ) { nme_display_object_get_id=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_bg") ) { nme_display_object_get_bg=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_bg") ) { nme_display_object_set_bg=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_display_object_get_name") ) { nme_display_object_get_name=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_name") ) { nme_display_object_set_name=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_mask") ) { nme_display_object_set_mask=inValue.Cast< Dynamic >(); return inValue; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_display_object_get_width") ) { nme_display_object_get_width=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_width") ) { nme_display_object_set_width=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_alpha") ) { nme_display_object_get_alpha=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_alpha") ) { nme_display_object_set_alpha=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_display_object_get_height") ) { nme_display_object_get_height=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_height") ) { nme_display_object_set_height=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_matrix") ) { nme_display_object_set_matrix=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_matrix") ) { nme_display_object_get_matrix=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_bounds") ) { nme_display_object_get_bounds=inValue.Cast< Dynamic >(); return inValue; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_display_object_get_scale_x") ) { nme_display_object_get_scale_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale_x") ) { nme_display_object_set_scale_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_scale_y") ) { nme_display_object_get_scale_y=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale_y") ) { nme_display_object_set_scale_y=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_mouse_x") ) { nme_display_object_get_mouse_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_mouse_y") ) { nme_display_object_get_mouse_y=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_visible") ) { nme_display_object_get_visible=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_visible") ) { nme_display_object_set_visible=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_filters") ) { nme_display_object_set_filters=inValue.Cast< Dynamic >(); return inValue; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_display_object_get_graphics") ) { nme_display_object_get_graphics=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_rotation") ) { nme_display_object_get_rotation=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_rotation") ) { nme_display_object_set_rotation=inValue.Cast< Dynamic >(); return inValue; } - break; - case 33: - if (HX_FIELD_EQ(inName,"nme_display_object_get_blend_mode") ) { nme_display_object_get_blend_mode=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_blend_mode") ) { nme_display_object_set_blend_mode=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_hit_test_point") ) { nme_display_object_hit_test_point=inValue.Cast< Dynamic >(); return inValue; } - break; - case 34: - if (HX_FIELD_EQ(inName,"nme_display_object_draw_to_surface") ) { nme_display_object_draw_to_surface=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_global_to_local") ) { nme_display_object_global_to_local=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_local_to_global") ) { nme_display_object_local_to_global=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale9_grid") ) { nme_display_object_set_scale9_grid=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scroll_rect") ) { nme_display_object_set_scroll_rect=inValue.Cast< Dynamic >(); return inValue; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pixel_bounds") ) { nme_display_object_get_pixel_bounds=inValue.Cast< Dynamic >(); return inValue; } - break; - case 37: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pixel_snapping") ) { nme_display_object_get_pixel_snapping=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_pixel_snapping") ) { nme_display_object_set_pixel_snapping=inValue.Cast< Dynamic >(); return inValue; } - break; - case 38: - if (HX_FIELD_EQ(inName,"nme_display_object_get_cache_as_bitmap") ) { nme_display_object_get_cache_as_bitmap=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_cache_as_bitmap") ) { nme_display_object_set_cache_as_bitmap=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_color_transform") ) { nme_display_object_get_color_transform=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_color_transform") ) { nme_display_object_set_color_transform=inValue.Cast< Dynamic >(); return inValue; } - break; - case 46: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pedantic_bitmap_caching") ) { nme_display_object_get_pedantic_bitmap_caching=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_pedantic_bitmap_caching") ) { nme_display_object_set_pedantic_bitmap_caching=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void DisplayObject_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeScrollRect")); - outFields->push(HX_CSTRING("nmeScale9Grid")); - outFields->push(HX_CSTRING("nmeParent")); - outFields->push(HX_CSTRING("nmeID")); - outFields->push(HX_CSTRING("nmeGraphicsCache")); - outFields->push(HX_CSTRING("nmeFilters")); - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("width")); - outFields->push(HX_CSTRING("visible")); - outFields->push(HX_CSTRING("transform")); - outFields->push(HX_CSTRING("stage")); - outFields->push(HX_CSTRING("scrollRect")); - outFields->push(HX_CSTRING("scaleY")); - outFields->push(HX_CSTRING("scaleX")); - outFields->push(HX_CSTRING("scale9Grid")); - outFields->push(HX_CSTRING("rotation")); - outFields->push(HX_CSTRING("parent")); - outFields->push(HX_CSTRING("opaqueBackground")); - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("name")); - outFields->push(HX_CSTRING("mouseY")); - outFields->push(HX_CSTRING("mouseX")); - outFields->push(HX_CSTRING("mask")); - outFields->push(HX_CSTRING("height")); - outFields->push(HX_CSTRING("graphics")); - outFields->push(HX_CSTRING("filters")); - outFields->push(HX_CSTRING("pixelSnapping")); - outFields->push(HX_CSTRING("pedanticBitmapCaching")); - outFields->push(HX_CSTRING("cacheAsBitmap")); - outFields->push(HX_CSTRING("blendMode")); - outFields->push(HX_CSTRING("alpha")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_create_display_object"), - HX_CSTRING("nme_display_object_get_graphics"), - HX_CSTRING("nme_display_object_draw_to_surface"), - HX_CSTRING("nme_display_object_get_id"), - HX_CSTRING("nme_display_object_get_x"), - HX_CSTRING("nme_display_object_set_x"), - HX_CSTRING("nme_display_object_get_y"), - HX_CSTRING("nme_display_object_set_y"), - HX_CSTRING("nme_display_object_get_scale_x"), - HX_CSTRING("nme_display_object_set_scale_x"), - HX_CSTRING("nme_display_object_get_scale_y"), - HX_CSTRING("nme_display_object_set_scale_y"), - HX_CSTRING("nme_display_object_get_mouse_x"), - HX_CSTRING("nme_display_object_get_mouse_y"), - HX_CSTRING("nme_display_object_get_rotation"), - HX_CSTRING("nme_display_object_set_rotation"), - HX_CSTRING("nme_display_object_get_bg"), - HX_CSTRING("nme_display_object_set_bg"), - HX_CSTRING("nme_display_object_get_name"), - HX_CSTRING("nme_display_object_set_name"), - HX_CSTRING("nme_display_object_get_width"), - HX_CSTRING("nme_display_object_set_width"), - HX_CSTRING("nme_display_object_get_height"), - HX_CSTRING("nme_display_object_set_height"), - HX_CSTRING("nme_display_object_get_alpha"), - HX_CSTRING("nme_display_object_set_alpha"), - HX_CSTRING("nme_display_object_get_blend_mode"), - HX_CSTRING("nme_display_object_set_blend_mode"), - HX_CSTRING("nme_display_object_get_cache_as_bitmap"), - HX_CSTRING("nme_display_object_set_cache_as_bitmap"), - HX_CSTRING("nme_display_object_get_pedantic_bitmap_caching"), - HX_CSTRING("nme_display_object_set_pedantic_bitmap_caching"), - HX_CSTRING("nme_display_object_get_pixel_snapping"), - HX_CSTRING("nme_display_object_set_pixel_snapping"), - HX_CSTRING("nme_display_object_get_visible"), - HX_CSTRING("nme_display_object_set_visible"), - HX_CSTRING("nme_display_object_set_filters"), - HX_CSTRING("nme_display_object_global_to_local"), - HX_CSTRING("nme_display_object_local_to_global"), - HX_CSTRING("nme_display_object_set_scale9_grid"), - HX_CSTRING("nme_display_object_set_scroll_rect"), - HX_CSTRING("nme_display_object_set_mask"), - HX_CSTRING("nme_display_object_set_matrix"), - HX_CSTRING("nme_display_object_get_matrix"), - HX_CSTRING("nme_display_object_get_color_transform"), - HX_CSTRING("nme_display_object_set_color_transform"), - HX_CSTRING("nme_display_object_get_pixel_bounds"), - HX_CSTRING("nme_display_object_get_bounds"), - HX_CSTRING("nme_display_object_hit_test_point"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetY"), - HX_CSTRING("nmeGetY"), - HX_CSTRING("nmeSetX"), - HX_CSTRING("nmeGetX"), - HX_CSTRING("nmeSetWidth"), - HX_CSTRING("nmeGetWidth"), - HX_CSTRING("nmeSetVisible"), - HX_CSTRING("nmeGetVisible"), - HX_CSTRING("nmeSetTransform"), - HX_CSTRING("nmeGetTransform"), - HX_CSTRING("nmeGetStage"), - HX_CSTRING("nmeSetScrollRect"), - HX_CSTRING("nmeGetScrollRect"), - HX_CSTRING("nmeSetScaleY"), - HX_CSTRING("nmeGetScaleY"), - HX_CSTRING("nmeSetScaleX"), - HX_CSTRING("nmeGetScaleX"), - HX_CSTRING("nmeSetScale9Grid"), - HX_CSTRING("nmeGetScale9Grid"), - HX_CSTRING("nmeSetRotation"), - HX_CSTRING("nmeGetRotation"), - HX_CSTRING("nmeSetParent"), - HX_CSTRING("nmeGetParent"), - HX_CSTRING("nmeSetName"), - HX_CSTRING("nmeGetName"), - HX_CSTRING("nmeGetMouseY"), - HX_CSTRING("nmeGetMouseX"), - HX_CSTRING("nmeSetMask"), - HX_CSTRING("nmeSetHeight"), - HX_CSTRING("nmeGetHeight"), - HX_CSTRING("nmeGetGraphics"), - HX_CSTRING("nmeSetFilters"), - HX_CSTRING("nmeGetFilters"), - HX_CSTRING("nmeSetPixelSnapping"), - HX_CSTRING("nmeGetPixelSnapping"), - HX_CSTRING("nmeSetPedanticBitmapCaching"), - HX_CSTRING("nmeGetPedanticBitmapCaching"), - HX_CSTRING("nmeSetCacheAsBitmap"), - HX_CSTRING("nmeGetCacheAsBitmap"), - HX_CSTRING("nmeSetBlendMode"), - HX_CSTRING("nmeGetBlendMode"), - HX_CSTRING("nmeSetBG"), - HX_CSTRING("nmeGetBG"), - HX_CSTRING("nmeSetAlpha"), - HX_CSTRING("nmeGetAlpha"), - HX_CSTRING("toString"), - HX_CSTRING("nmeSetMatrix"), - HX_CSTRING("nmeSetColorTransform"), - HX_CSTRING("nmeOnRemoved"), - HX_CSTRING("nmeOnAdded"), - HX_CSTRING("nmeGetPixelBounds"), - HX_CSTRING("nmeGetObjectsUnderPoint"), - HX_CSTRING("nmeGetMatrix"), - HX_CSTRING("nmeGetInteractiveObjectStack"), - HX_CSTRING("nmeGetConcatenatedMatrix"), - HX_CSTRING("nmeGetConcatenatedColorTransform"), - HX_CSTRING("nmeGetColorTransform"), - HX_CSTRING("nmeFireEvent"), - HX_CSTRING("nmeFindByID"), - HX_CSTRING("nmeDrawToSurface"), - HX_CSTRING("nmeDispatchEvent"), - HX_CSTRING("nmeBroadcast"), - HX_CSTRING("nmeAsInteractiveObject"), - HX_CSTRING("localToGlobal"), - HX_CSTRING("getRect"), - HX_CSTRING("getBounds"), - HX_CSTRING("hitTestPoint"), - HX_CSTRING("hitTestObject"), - HX_CSTRING("globalToLocal"), - HX_CSTRING("dispatchEvent"), - HX_CSTRING("nmeScrollRect"), - HX_CSTRING("nmeScale9Grid"), - HX_CSTRING("nmeParent"), - HX_CSTRING("nmeID"), - HX_CSTRING("nmeGraphicsCache"), - HX_CSTRING("nmeFilters"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("width"), - HX_CSTRING("visible"), - HX_CSTRING("transform"), - HX_CSTRING("stage"), - HX_CSTRING("scrollRect"), - HX_CSTRING("scaleY"), - HX_CSTRING("scaleX"), - HX_CSTRING("scale9Grid"), - HX_CSTRING("rotation"), - HX_CSTRING("parent"), - HX_CSTRING("opaqueBackground"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("name"), - HX_CSTRING("mouseY"), - HX_CSTRING("mouseX"), - HX_CSTRING("mask"), - HX_CSTRING("height"), - HX_CSTRING("graphics"), - HX_CSTRING("filters"), - HX_CSTRING("pixelSnapping"), - HX_CSTRING("pedanticBitmapCaching"), - HX_CSTRING("cacheAsBitmap"), - HX_CSTRING("blendMode"), - HX_CSTRING("alpha"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(DisplayObject_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_create_display_object,"nme_create_display_object"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_graphics,"nme_display_object_get_graphics"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_draw_to_surface,"nme_display_object_draw_to_surface"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_id,"nme_display_object_get_id"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_x,"nme_display_object_get_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_x,"nme_display_object_set_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_y,"nme_display_object_get_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_y,"nme_display_object_set_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_scale_x,"nme_display_object_get_scale_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale_x,"nme_display_object_set_scale_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_scale_y,"nme_display_object_get_scale_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale_y,"nme_display_object_set_scale_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_mouse_x,"nme_display_object_get_mouse_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_mouse_y,"nme_display_object_get_mouse_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_rotation,"nme_display_object_get_rotation"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_rotation,"nme_display_object_set_rotation"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_bg,"nme_display_object_get_bg"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_bg,"nme_display_object_set_bg"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_name,"nme_display_object_get_name"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_name,"nme_display_object_set_name"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_width,"nme_display_object_get_width"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_width,"nme_display_object_set_width"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_height,"nme_display_object_get_height"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_height,"nme_display_object_set_height"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_alpha,"nme_display_object_get_alpha"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_alpha,"nme_display_object_set_alpha"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_blend_mode,"nme_display_object_get_blend_mode"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_blend_mode,"nme_display_object_set_blend_mode"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_cache_as_bitmap,"nme_display_object_get_cache_as_bitmap"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_cache_as_bitmap,"nme_display_object_set_cache_as_bitmap"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pedantic_bitmap_caching,"nme_display_object_get_pedantic_bitmap_caching"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_pedantic_bitmap_caching,"nme_display_object_set_pedantic_bitmap_caching"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pixel_snapping,"nme_display_object_get_pixel_snapping"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_pixel_snapping,"nme_display_object_set_pixel_snapping"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_visible,"nme_display_object_get_visible"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_visible,"nme_display_object_set_visible"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_filters,"nme_display_object_set_filters"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_global_to_local,"nme_display_object_global_to_local"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_local_to_global,"nme_display_object_local_to_global"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale9_grid,"nme_display_object_set_scale9_grid"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scroll_rect,"nme_display_object_set_scroll_rect"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_mask,"nme_display_object_set_mask"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_matrix,"nme_display_object_set_matrix"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_matrix,"nme_display_object_get_matrix"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_color_transform,"nme_display_object_get_color_transform"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_color_transform,"nme_display_object_set_color_transform"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pixel_bounds,"nme_display_object_get_pixel_bounds"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_bounds,"nme_display_object_get_bounds"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_hit_test_point,"nme_display_object_hit_test_point"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(DisplayObject_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_create_display_object,"nme_create_display_object"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_graphics,"nme_display_object_get_graphics"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_draw_to_surface,"nme_display_object_draw_to_surface"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_id,"nme_display_object_get_id"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_x,"nme_display_object_get_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_x,"nme_display_object_set_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_y,"nme_display_object_get_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_y,"nme_display_object_set_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_scale_x,"nme_display_object_get_scale_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale_x,"nme_display_object_set_scale_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_scale_y,"nme_display_object_get_scale_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale_y,"nme_display_object_set_scale_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_mouse_x,"nme_display_object_get_mouse_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_mouse_y,"nme_display_object_get_mouse_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_rotation,"nme_display_object_get_rotation"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_rotation,"nme_display_object_set_rotation"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_bg,"nme_display_object_get_bg"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_bg,"nme_display_object_set_bg"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_name,"nme_display_object_get_name"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_name,"nme_display_object_set_name"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_width,"nme_display_object_get_width"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_width,"nme_display_object_set_width"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_height,"nme_display_object_get_height"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_height,"nme_display_object_set_height"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_alpha,"nme_display_object_get_alpha"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_alpha,"nme_display_object_set_alpha"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_blend_mode,"nme_display_object_get_blend_mode"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_blend_mode,"nme_display_object_set_blend_mode"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_cache_as_bitmap,"nme_display_object_get_cache_as_bitmap"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_cache_as_bitmap,"nme_display_object_set_cache_as_bitmap"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pedantic_bitmap_caching,"nme_display_object_get_pedantic_bitmap_caching"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_pedantic_bitmap_caching,"nme_display_object_set_pedantic_bitmap_caching"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pixel_snapping,"nme_display_object_get_pixel_snapping"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_pixel_snapping,"nme_display_object_set_pixel_snapping"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_visible,"nme_display_object_get_visible"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_visible,"nme_display_object_set_visible"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_filters,"nme_display_object_set_filters"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_global_to_local,"nme_display_object_global_to_local"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_local_to_global,"nme_display_object_local_to_global"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale9_grid,"nme_display_object_set_scale9_grid"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scroll_rect,"nme_display_object_set_scroll_rect"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_mask,"nme_display_object_set_mask"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_matrix,"nme_display_object_set_matrix"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_matrix,"nme_display_object_get_matrix"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_color_transform,"nme_display_object_get_color_transform"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_color_transform,"nme_display_object_set_color_transform"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pixel_bounds,"nme_display_object_get_pixel_bounds"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_bounds,"nme_display_object_get_bounds"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_hit_test_point,"nme_display_object_hit_test_point"); -}; - -Class DisplayObject_obj::__mClass; - -void DisplayObject_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.DisplayObject"), hx::TCanCast< DisplayObject_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void DisplayObject_obj::__boot() -{ - nme_create_display_object= ::neash::Loader_obj::load(HX_CSTRING("nme_create_display_object"),(int)0); - nme_display_object_get_graphics= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_graphics"),(int)1); - nme_display_object_draw_to_surface= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_draw_to_surface"),(int)-1); - nme_display_object_get_id= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_id"),(int)1); - nme_display_object_get_x= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_x"),(int)1); - nme_display_object_set_x= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_x"),(int)2); - nme_display_object_get_y= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_y"),(int)1); - nme_display_object_set_y= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_y"),(int)2); - nme_display_object_get_scale_x= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_scale_x"),(int)1); - nme_display_object_set_scale_x= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_scale_x"),(int)2); - nme_display_object_get_scale_y= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_scale_y"),(int)1); - nme_display_object_set_scale_y= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_scale_y"),(int)2); - nme_display_object_get_mouse_x= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_mouse_x"),(int)1); - nme_display_object_get_mouse_y= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_mouse_y"),(int)1); - nme_display_object_get_rotation= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_rotation"),(int)1); - nme_display_object_set_rotation= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_rotation"),(int)2); - nme_display_object_get_bg= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_bg"),(int)1); - nme_display_object_set_bg= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_bg"),(int)2); - nme_display_object_get_name= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_name"),(int)1); - nme_display_object_set_name= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_name"),(int)2); - nme_display_object_get_width= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_width"),(int)1); - nme_display_object_set_width= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_width"),(int)2); - nme_display_object_get_height= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_height"),(int)1); - nme_display_object_set_height= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_height"),(int)2); - nme_display_object_get_alpha= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_alpha"),(int)1); - nme_display_object_set_alpha= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_alpha"),(int)2); - nme_display_object_get_blend_mode= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_blend_mode"),(int)1); - nme_display_object_set_blend_mode= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_blend_mode"),(int)2); - nme_display_object_get_cache_as_bitmap= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_cache_as_bitmap"),(int)1); - nme_display_object_set_cache_as_bitmap= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_cache_as_bitmap"),(int)2); - nme_display_object_get_pedantic_bitmap_caching= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_pedantic_bitmap_caching"),(int)1); - nme_display_object_set_pedantic_bitmap_caching= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_pedantic_bitmap_caching"),(int)2); - nme_display_object_get_pixel_snapping= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_pixel_snapping"),(int)1); - nme_display_object_set_pixel_snapping= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_pixel_snapping"),(int)2); - nme_display_object_get_visible= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_visible"),(int)1); - nme_display_object_set_visible= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_visible"),(int)2); - nme_display_object_set_filters= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_filters"),(int)2); - nme_display_object_global_to_local= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_global_to_local"),(int)2); - nme_display_object_local_to_global= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_local_to_global"),(int)2); - nme_display_object_set_scale9_grid= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_scale9_grid"),(int)2); - nme_display_object_set_scroll_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_scroll_rect"),(int)2); - nme_display_object_set_mask= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_mask"),(int)2); - nme_display_object_set_matrix= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_matrix"),(int)2); - nme_display_object_get_matrix= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_matrix"),(int)3); - nme_display_object_get_color_transform= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_color_transform"),(int)3); - nme_display_object_set_color_transform= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_color_transform"),(int)2); - nme_display_object_get_pixel_bounds= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_pixel_bounds"),(int)2); - nme_display_object_get_bounds= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_bounds"),(int)4); - nme_display_object_hit_test_point= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_hit_test_point"),(int)5); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/DisplayObjectContainer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/DisplayObjectContainer.cpp deleted file mode 100644 index cd986fb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/DisplayObjectContainer.cpp +++ /dev/null @@ -1,1202 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_errors_ArgumentError -#include -#endif -#ifndef INCLUDED_neash_errors_Error -#include -#endif -#ifndef INCLUDED_neash_errors_RangeError -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -namespace neash{ -namespace display{ - -Void DisplayObjectContainer_obj::__construct(Dynamic inHandle,::String inType) -{ -HX_STACK_PUSH("DisplayObjectContainer::new","neash/display/DisplayObjectContainer.hx",23); -{ - HX_STACK_LINE(24) - super::__construct(inHandle,inType); - HX_STACK_LINE(25) - this->nmeChildren = Array_obj< ::neash::display::DisplayObject >::__new(); -} -; - return null(); -} - -DisplayObjectContainer_obj::~DisplayObjectContainer_obj() { } - -Dynamic DisplayObjectContainer_obj::__CreateEmpty() { return new DisplayObjectContainer_obj; } -hx::ObjectPtr< DisplayObjectContainer_obj > DisplayObjectContainer_obj::__new(Dynamic inHandle,::String inType) -{ hx::ObjectPtr< DisplayObjectContainer_obj > result = new DisplayObjectContainer_obj(); - result->__construct(inHandle,inType); - return result;} - -Dynamic DisplayObjectContainer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< DisplayObjectContainer_obj > result = new DisplayObjectContainer_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -bool DisplayObjectContainer_obj::nmeSetTabChildren( bool inValue){ - HX_STACK_PUSH("DisplayObjectContainer::nmeSetTabChildren","neash/display/DisplayObjectContainer.hx",355); - HX_STACK_THIS(this); - HX_STACK_ARG(inValue,"inValue"); - HX_STACK_LINE(355) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,nmeSetTabChildren,return ) - -bool DisplayObjectContainer_obj::nmeGetTabChildren( ){ - HX_STACK_PUSH("DisplayObjectContainer::nmeGetTabChildren","neash/display/DisplayObjectContainer.hx",354); - HX_STACK_THIS(this); - HX_STACK_LINE(354) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObjectContainer_obj,nmeGetTabChildren,return ) - -int DisplayObjectContainer_obj::nmeGetNumChildren( ){ - HX_STACK_PUSH("DisplayObjectContainer::nmeGetNumChildren","neash/display/DisplayObjectContainer.hx",353); - HX_STACK_THIS(this); - HX_STACK_LINE(353) - return this->nmeChildren->length; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObjectContainer_obj,nmeGetNumChildren,return ) - -bool DisplayObjectContainer_obj::nmeSetMouseChildren( bool inVal){ - HX_STACK_PUSH("DisplayObjectContainer::nmeSetMouseChildren","neash/display/DisplayObjectContainer.hx",347); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(348) - ::neash::display::DisplayObjectContainer_obj::nme_doc_set_mouse_children(this->nmeHandle,inVal); - HX_STACK_LINE(349) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,nmeSetMouseChildren,return ) - -bool DisplayObjectContainer_obj::nmeGetMouseChildren( ){ - HX_STACK_PUSH("DisplayObjectContainer::nmeGetMouseChildren","neash/display/DisplayObjectContainer.hx",345); - HX_STACK_THIS(this); - HX_STACK_LINE(345) - return ::neash::display::DisplayObjectContainer_obj::nme_doc_get_mouse_children(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObjectContainer_obj,nmeGetMouseChildren,return ) - -Void DisplayObjectContainer_obj::swapChildrenAt( int index1,int index2){ -{ - HX_STACK_PUSH("DisplayObjectContainer::swapChildrenAt","neash/display/DisplayObjectContainer.hx",335); - HX_STACK_THIS(this); - HX_STACK_ARG(index1,"index1"); - HX_STACK_ARG(index2,"index2"); - HX_STACK_LINE(336) - if (((bool((bool((bool((index1 < (int)0)) || bool((index2 < (int)0)))) || bool((index1 > this->nmeChildren->length)))) || bool((index2 > this->nmeChildren->length))))){ - HX_STACK_LINE(336) - hx::Throw (::neash::errors::RangeError_obj::__new(HX_CSTRING("swapChildrenAt : index out of bounds"))); - } - HX_STACK_LINE(336) - if (((index1 != index2))){ - HX_STACK_LINE(336) - ::neash::display::DisplayObject tmp = this->nmeChildren->__get(index1); HX_STACK_VAR(tmp,"tmp"); - HX_STACK_LINE(336) - this->nmeChildren[index1] = this->nmeChildren->__get(index2); - HX_STACK_LINE(336) - this->nmeChildren[index2] = tmp; - HX_STACK_LINE(336) - ::neash::display::DisplayObjectContainer_obj::nme_doc_swap_children(this->nmeHandle,index1,index2); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,swapChildrenAt,(void)) - -Void DisplayObjectContainer_obj::swapChildren( ::neash::display::DisplayObject child1,::neash::display::DisplayObject child2){ -{ - HX_STACK_PUSH("DisplayObjectContainer::swapChildren","neash/display/DisplayObjectContainer.hx",325); - HX_STACK_THIS(this); - HX_STACK_ARG(child1,"child1"); - HX_STACK_ARG(child2,"child2"); - HX_STACK_LINE(326) - int idx1 = this->nmeGetChildIndex(child1); HX_STACK_VAR(idx1,"idx1"); - HX_STACK_LINE(327) - int idx2 = this->nmeGetChildIndex(child2); HX_STACK_VAR(idx2,"idx2"); - HX_STACK_LINE(328) - if (((bool((idx1 < (int)0)) || bool((idx2 < (int)0))))){ - HX_STACK_LINE(329) - hx::Throw (HX_CSTRING("swapChildren:Could not find children")); - } - HX_STACK_LINE(330) - { - HX_STACK_LINE(330) - if (((bool((bool((bool((idx1 < (int)0)) || bool((idx2 < (int)0)))) || bool((idx1 > this->nmeChildren->length)))) || bool((idx2 > this->nmeChildren->length))))){ - HX_STACK_LINE(330) - hx::Throw (::neash::errors::RangeError_obj::__new(HX_CSTRING("swapChildrenAt : index out of bounds"))); - } - HX_STACK_LINE(330) - if (((idx1 != idx2))){ - HX_STACK_LINE(330) - ::neash::display::DisplayObject tmp = this->nmeChildren->__get(idx1); HX_STACK_VAR(tmp,"tmp"); - HX_STACK_LINE(330) - this->nmeChildren[idx1] = this->nmeChildren->__get(idx2); - HX_STACK_LINE(330) - this->nmeChildren[idx2] = tmp; - HX_STACK_LINE(330) - ::neash::display::DisplayObjectContainer_obj::nme_doc_swap_children(this->nmeHandle,idx1,idx2); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,swapChildren,(void)) - -Void DisplayObjectContainer_obj::setChildIndex( ::neash::display::DisplayObject child,int index){ -{ - HX_STACK_PUSH("DisplayObjectContainer::setChildIndex","neash/display/DisplayObjectContainer.hx",319); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(320) - if (((index > this->nmeChildren->length))){ - HX_STACK_LINE(320) - hx::Throw ((HX_CSTRING("Invalid index position ") + index)); - } - HX_STACK_LINE(320) - ::neash::display::DisplayObject s = null(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(320) - int orig = this->nmeGetChildIndex(child); HX_STACK_VAR(orig,"orig"); - HX_STACK_LINE(320) - if (((orig < (int)0))){ - HX_STACK_LINE(320) - ::String msg = ((HX_CSTRING("setChildIndex : object ") + child->toString()) + HX_CSTRING(" not found.")); HX_STACK_VAR(msg,"msg"); - HX_STACK_LINE(320) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(320) - int realindex = (int)-1; HX_STACK_VAR(realindex,"realindex"); - HX_STACK_LINE(320) - { - HX_STACK_LINE(320) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->nmeChildren->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(320) - while(((_g1 < _g))){ - HX_STACK_LINE(320) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(320) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(320) - realindex = i; - HX_STACK_LINE(320) - break; - } - } - } - HX_STACK_LINE(320) - if (((realindex != (int)-1))){ - HX_STACK_LINE(320) - hx::AddEq(msg,(HX_CSTRING("Internal error: Real child index was ") + ::Std_obj::string(realindex))); - } - else{ - HX_STACK_LINE(320) - hx::AddEq(msg,HX_CSTRING("Internal error: Child was not in nmeChildren array!")); - } - } - HX_STACK_LINE(320) - hx::Throw (msg); - } - HX_STACK_LINE(320) - ::neash::display::DisplayObjectContainer_obj::nme_doc_set_child_index(this->nmeHandle,child->nmeHandle,index); - HX_STACK_LINE(320) - if (((index < orig))){ - HX_STACK_LINE(320) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(320) - while(((i > index))){ - HX_STACK_LINE(320) - this->nmeChildren[i] = this->nmeChildren->__get((i - (int)1)); - HX_STACK_LINE(320) - (i)--; - } - HX_STACK_LINE(320) - this->nmeChildren[index] = child; - } - else{ - HX_STACK_LINE(320) - if (((orig < index))){ - HX_STACK_LINE(320) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(320) - while(((i < index))){ - HX_STACK_LINE(320) - this->nmeChildren[i] = this->nmeChildren->__get((i + (int)1)); - HX_STACK_LINE(320) - (i)++; - } - HX_STACK_LINE(320) - this->nmeChildren[index] = child; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,setChildIndex,(void)) - -::neash::display::DisplayObject DisplayObjectContainer_obj::removeChildAt( int index){ - HX_STACK_PUSH("DisplayObjectContainer::removeChildAt","neash/display/DisplayObjectContainer.hx",306); - HX_STACK_THIS(this); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(307) - if (((bool((index >= (int)0)) && bool((index < this->nmeChildren->length))))){ - HX_STACK_LINE(309) - ::neash::display::DisplayObject result = this->nmeChildren->__get(index); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(310) - result->nmeSetParent(null()); - HX_STACK_LINE(311) - return result; - } - HX_STACK_LINE(314) - hx::Throw (::neash::errors::ArgumentError_obj::__new(HX_CSTRING("The supplied DisplayObject must be a child of the caller."),null())); - HX_STACK_LINE(314) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,removeChildAt,return ) - -::neash::display::DisplayObject DisplayObjectContainer_obj::removeChild( ::neash::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::removeChild","neash/display/DisplayObjectContainer.hx",290); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(291) - int c = this->nmeGetChildIndex(child); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(293) - if (((c >= (int)0))){ - HX_STACK_LINE(295) - child->nmeSetParent(null()); - HX_STACK_LINE(296) - return child; - } - HX_STACK_LINE(301) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,removeChild,return ) - -Void DisplayObjectContainer_obj::nmeSwapChildrenAt( int index1,int index2){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeSwapChildrenAt","neash/display/DisplayObjectContainer.hx",275); - HX_STACK_THIS(this); - HX_STACK_ARG(index1,"index1"); - HX_STACK_ARG(index2,"index2"); - HX_STACK_LINE(276) - if (((bool((bool((bool((index1 < (int)0)) || bool((index2 < (int)0)))) || bool((index1 > this->nmeChildren->length)))) || bool((index2 > this->nmeChildren->length))))){ - HX_STACK_LINE(277) - hx::Throw (::neash::errors::RangeError_obj::__new(HX_CSTRING("swapChildrenAt : index out of bounds"))); - } - HX_STACK_LINE(279) - if (((index1 != index2))){ - HX_STACK_LINE(281) - ::neash::display::DisplayObject tmp = this->nmeChildren->__get(index1); HX_STACK_VAR(tmp,"tmp"); - HX_STACK_LINE(282) - this->nmeChildren[index1] = this->nmeChildren->__get(index2); - HX_STACK_LINE(283) - this->nmeChildren[index2] = tmp; - HX_STACK_LINE(284) - ::neash::display::DisplayObjectContainer_obj::nme_doc_swap_children(this->nmeHandle,index1,index2); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,nmeSwapChildrenAt,(void)) - -Void DisplayObjectContainer_obj::nmeSetChildIndex( ::neash::display::DisplayObject child,int index){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeSetChildIndex","neash/display/DisplayObjectContainer.hx",212); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(213) - if (((index > this->nmeChildren->length))){ - HX_STACK_LINE(214) - hx::Throw ((HX_CSTRING("Invalid index position ") + index)); - } - HX_STACK_LINE(216) - ::neash::display::DisplayObject s = null(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(217) - int orig = this->nmeGetChildIndex(child); HX_STACK_VAR(orig,"orig"); - HX_STACK_LINE(219) - if (((orig < (int)0))){ - HX_STACK_LINE(221) - ::String msg = ((HX_CSTRING("setChildIndex : object ") + child->toString()) + HX_CSTRING(" not found.")); HX_STACK_VAR(msg,"msg"); - HX_STACK_LINE(223) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(225) - int realindex = (int)-1; HX_STACK_VAR(realindex,"realindex"); - HX_STACK_LINE(227) - { - HX_STACK_LINE(227) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->nmeChildren->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(227) - while(((_g1 < _g))){ - HX_STACK_LINE(227) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(229) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(231) - realindex = i; - HX_STACK_LINE(232) - break; - } - } - } - HX_STACK_LINE(236) - if (((realindex != (int)-1))){ - HX_STACK_LINE(237) - hx::AddEq(msg,(HX_CSTRING("Internal error: Real child index was ") + ::Std_obj::string(realindex))); - } - else{ - HX_STACK_LINE(239) - hx::AddEq(msg,HX_CSTRING("Internal error: Child was not in nmeChildren array!")); - } - } - HX_STACK_LINE(242) - hx::Throw (msg); - } - HX_STACK_LINE(245) - ::neash::display::DisplayObjectContainer_obj::nme_doc_set_child_index(this->nmeHandle,child->nmeHandle,index); - HX_STACK_LINE(247) - if (((index < orig))){ - HX_STACK_LINE(249) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(251) - while(((i > index))){ - HX_STACK_LINE(253) - this->nmeChildren[i] = this->nmeChildren->__get((i - (int)1)); - HX_STACK_LINE(254) - (i)--; - } - HX_STACK_LINE(257) - this->nmeChildren[index] = child; - } - else{ - HX_STACK_LINE(260) - if (((orig < index))){ - HX_STACK_LINE(262) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(263) - while(((i < index))){ - HX_STACK_LINE(265) - this->nmeChildren[i] = this->nmeChildren->__get((i + (int)1)); - HX_STACK_LINE(266) - (i)++; - } - HX_STACK_LINE(269) - this->nmeChildren[index] = child; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,nmeSetChildIndex,(void)) - -Void DisplayObjectContainer_obj::nmeRemoveChildFromArray( ::neash::display::DisplayObject child){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeRemoveChildFromArray","neash/display/DisplayObjectContainer.hx",200); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(201) - int i = this->nmeGetChildIndex(child); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(203) - if (((i >= (int)0))){ - HX_STACK_LINE(205) - ::neash::display::DisplayObjectContainer_obj::nme_doc_remove_child(this->nmeHandle,i); - HX_STACK_LINE(206) - this->nmeChildren->splice(i,(int)1); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,nmeRemoveChildFromArray,(void)) - -Void DisplayObjectContainer_obj::nmeOnRemoved( ::neash::display::DisplayObject inObj,bool inWasOnStage){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeOnRemoved","neash/display/DisplayObjectContainer.hx",191); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inWasOnStage,"inWasOnStage"); - HX_STACK_LINE(192) - this->super::nmeOnRemoved(inObj,inWasOnStage); - HX_STACK_LINE(194) - { - HX_STACK_LINE(194) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(194) - while(((_g < _g1->length))){ - HX_STACK_LINE(194) - ::neash::display::DisplayObject child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(194) - ++(_g); - HX_STACK_LINE(195) - child->nmeOnRemoved(inObj,inWasOnStage); - } - } - } -return null(); -} - - -Void DisplayObjectContainer_obj::nmeOnAdded( ::neash::display::DisplayObject inObj,bool inIsOnStage){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeOnAdded","neash/display/DisplayObjectContainer.hx",182); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inIsOnStage,"inIsOnStage"); - HX_STACK_LINE(183) - this->super::nmeOnAdded(inObj,inIsOnStage); - HX_STACK_LINE(185) - { - HX_STACK_LINE(185) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(185) - while(((_g < _g1->length))){ - HX_STACK_LINE(185) - ::neash::display::DisplayObject child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(185) - ++(_g); - HX_STACK_LINE(186) - child->nmeOnAdded(inObj,inIsOnStage); - } - } - } -return null(); -} - - -Void DisplayObjectContainer_obj::nmeGetObjectsUnderPoint( ::neash::geom::Point point,Array< ::neash::display::DisplayObject > result){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeGetObjectsUnderPoint","neash/display/DisplayObjectContainer.hx",173); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_ARG(result,"result"); - HX_STACK_LINE(174) - this->super::nmeGetObjectsUnderPoint(point,result); - HX_STACK_LINE(176) - { - HX_STACK_LINE(176) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(176) - while(((_g < _g1->length))){ - HX_STACK_LINE(176) - ::neash::display::DisplayObject child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(176) - ++(_g); - HX_STACK_LINE(177) - child->nmeGetObjectsUnderPoint(point,result); - } - } - } -return null(); -} - - -int DisplayObjectContainer_obj::nmeGetChildIndex( ::neash::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::nmeGetChildIndex","neash/display/DisplayObjectContainer.hx",164); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(165) - { - HX_STACK_LINE(165) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->nmeChildren->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(165) - while(((_g1 < _g))){ - HX_STACK_LINE(165) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(166) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(167) - return i; - } - } - } - HX_STACK_LINE(168) - return (int)-1; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,nmeGetChildIndex,return ) - -::neash::display::DisplayObject DisplayObjectContainer_obj::nmeFindByID( int inID){ - HX_STACK_PUSH("DisplayObjectContainer::nmeFindByID","neash/display/DisplayObjectContainer.hx",147); - HX_STACK_THIS(this); - HX_STACK_ARG(inID,"inID"); - HX_STACK_LINE(148) - if (((this->nmeID == inID))){ - HX_STACK_LINE(149) - return hx::ObjectPtr(this); - } - HX_STACK_LINE(151) - { - HX_STACK_LINE(151) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(151) - while(((_g < _g1->length))){ - HX_STACK_LINE(151) - ::neash::display::DisplayObject child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(151) - ++(_g); - HX_STACK_LINE(153) - ::neash::display::DisplayObject found = child->nmeFindByID(inID); HX_STACK_VAR(found,"found"); - HX_STACK_LINE(155) - if (((found != null()))){ - HX_STACK_LINE(156) - return found; - } - } - } - HX_STACK_LINE(159) - return this->super::nmeFindByID(inID); -} - - -Void DisplayObjectContainer_obj::nmeBroadcast( ::neash::events::Event inEvt){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeBroadcast","neash/display/DisplayObjectContainer.hx",122); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvt,"inEvt"); - HX_STACK_LINE(123) - int i = (int)0; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(125) - if (((this->nmeChildren->length > (int)0))){ - HX_STACK_LINE(126) - while((true)){ - HX_STACK_LINE(128) - ::neash::display::DisplayObject child = this->nmeChildren->__get(i); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(129) - child->nmeBroadcast(inEvt); - HX_STACK_LINE(131) - if (((i >= this->nmeChildren->length))){ - HX_STACK_LINE(132) - break; - } - HX_STACK_LINE(134) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(136) - (i)++; - HX_STACK_LINE(137) - if (((i >= this->nmeChildren->length))){ - HX_STACK_LINE(138) - break; - } - } - } - } - HX_STACK_LINE(142) - this->super::nmeBroadcast(inEvt); - } -return null(); -} - - -Void DisplayObjectContainer_obj::nmeAddChild( ::neash::display::DisplayObject child){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeAddChild","neash/display/DisplayObjectContainer.hx",102); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(103) - if (((child == hx::ObjectPtr(this)))){ - HX_STACK_LINE(104) - hx::Throw (HX_CSTRING("Adding to self")); - } - HX_STACK_LINE(108) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(109) - this->setChildIndex(child,(this->nmeChildren->length - (int)1)); - } - else{ - HX_STACK_LINE(114) - child->nmeSetParent(hx::ObjectPtr(this)); - HX_STACK_LINE(115) - this->nmeChildren->push(child); - HX_STACK_LINE(116) - ::neash::display::DisplayObjectContainer_obj::nme_doc_add_child(this->nmeHandle,child->nmeHandle); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,nmeAddChild,(void)) - -Array< ::neash::display::DisplayObject > DisplayObjectContainer_obj::getObjectsUnderPoint( ::neash::geom::Point point){ - HX_STACK_PUSH("DisplayObjectContainer::getObjectsUnderPoint","neash/display/DisplayObjectContainer.hx",94); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(95) - Array< ::neash::display::DisplayObject > result = Array_obj< ::neash::display::DisplayObject >::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(96) - this->nmeGetObjectsUnderPoint(point,result); - HX_STACK_LINE(97) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,getObjectsUnderPoint,return ) - -int DisplayObjectContainer_obj::getChildIndex( ::neash::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::getChildIndex","neash/display/DisplayObjectContainer.hx",88); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(88) - return this->nmeGetChildIndex(child); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,getChildIndex,return ) - -::neash::display::DisplayObject DisplayObjectContainer_obj::getChildByName( ::String name){ - HX_STACK_PUSH("DisplayObjectContainer::getChildByName","neash/display/DisplayObjectContainer.hx",79); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(80) - { - HX_STACK_LINE(80) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(80) - while(((_g < _g1->length))){ - HX_STACK_LINE(80) - ::neash::display::DisplayObject c = _g1->__get(_g); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(80) - ++(_g); - HX_STACK_LINE(81) - if (((name == c->nmeGetName()))){ - HX_STACK_LINE(82) - return c; - } - } - } - HX_STACK_LINE(83) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,getChildByName,return ) - -::neash::display::DisplayObject DisplayObjectContainer_obj::getChildAt( int index){ - HX_STACK_PUSH("DisplayObjectContainer::getChildAt","neash/display/DisplayObjectContainer.hx",67); - HX_STACK_THIS(this); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(68) - if (((bool((index >= (int)0)) && bool((index < this->nmeChildren->length))))){ - HX_STACK_LINE(69) - return this->nmeChildren->__get(index); - } - HX_STACK_LINE(72) - hx::Throw (::neash::errors::RangeError_obj::__new((((HX_CSTRING("getChildAt : index out of bounds ") + index) + HX_CSTRING("/")) + this->nmeChildren->length))); - HX_STACK_LINE(74) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,getChildAt,return ) - -bool DisplayObjectContainer_obj::contains( ::neash::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::contains","neash/display/DisplayObjectContainer.hx",51); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(52) - if (((child == null()))){ - HX_STACK_LINE(53) - return false; - } - HX_STACK_LINE(55) - if (((hx::ObjectPtr(this) == child))){ - HX_STACK_LINE(56) - return true; - } - HX_STACK_LINE(58) - { - HX_STACK_LINE(58) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(58) - while(((_g < _g1->length))){ - HX_STACK_LINE(58) - ::neash::display::DisplayObject c = _g1->__get(_g); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(58) - ++(_g); - HX_STACK_LINE(59) - if (((c == child))){ - HX_STACK_LINE(60) - return true; - } - } - } - HX_STACK_LINE(62) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,contains,return ) - -bool DisplayObjectContainer_obj::areInaccessibleObjectsUnderPoint( ::neash::geom::Point point){ - HX_STACK_PUSH("DisplayObjectContainer::areInaccessibleObjectsUnderPoint","neash/display/DisplayObjectContainer.hx",45); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(45) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,areInaccessibleObjectsUnderPoint,return ) - -::neash::display::DisplayObject DisplayObjectContainer_obj::addChildAt( ::neash::display::DisplayObject child,int index){ - HX_STACK_PUSH("DisplayObjectContainer::addChildAt","neash/display/DisplayObjectContainer.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(38) - { - HX_STACK_LINE(38) - if (((child == hx::ObjectPtr(this)))){ - HX_STACK_LINE(38) - hx::Throw (HX_CSTRING("Adding to self")); - } - HX_STACK_LINE(38) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(38) - this->setChildIndex(child,(this->nmeChildren->length - (int)1)); - } - else{ - HX_STACK_LINE(38) - child->nmeSetParent(hx::ObjectPtr(this)); - HX_STACK_LINE(38) - this->nmeChildren->push(child); - HX_STACK_LINE(38) - ::neash::display::DisplayObjectContainer_obj::nme_doc_add_child(this->nmeHandle,child->nmeHandle); - } - } - HX_STACK_LINE(39) - { - HX_STACK_LINE(39) - if (((index > this->nmeChildren->length))){ - HX_STACK_LINE(39) - hx::Throw ((HX_CSTRING("Invalid index position ") + index)); - } - HX_STACK_LINE(39) - ::neash::display::DisplayObject s = null(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(39) - int orig = this->nmeGetChildIndex(child); HX_STACK_VAR(orig,"orig"); - HX_STACK_LINE(39) - if (((orig < (int)0))){ - HX_STACK_LINE(39) - ::String msg = ((HX_CSTRING("setChildIndex : object ") + child->toString()) + HX_CSTRING(" not found.")); HX_STACK_VAR(msg,"msg"); - HX_STACK_LINE(39) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(39) - int realindex = (int)-1; HX_STACK_VAR(realindex,"realindex"); - HX_STACK_LINE(39) - { - HX_STACK_LINE(39) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->nmeChildren->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(39) - while(((_g1 < _g))){ - HX_STACK_LINE(39) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(39) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(39) - realindex = i; - HX_STACK_LINE(39) - break; - } - } - } - HX_STACK_LINE(39) - if (((realindex != (int)-1))){ - HX_STACK_LINE(39) - hx::AddEq(msg,(HX_CSTRING("Internal error: Real child index was ") + ::Std_obj::string(realindex))); - } - else{ - HX_STACK_LINE(39) - hx::AddEq(msg,HX_CSTRING("Internal error: Child was not in nmeChildren array!")); - } - } - HX_STACK_LINE(39) - hx::Throw (msg); - } - HX_STACK_LINE(39) - ::neash::display::DisplayObjectContainer_obj::nme_doc_set_child_index(this->nmeHandle,child->nmeHandle,index); - HX_STACK_LINE(39) - if (((index < orig))){ - HX_STACK_LINE(39) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(39) - while(((i > index))){ - HX_STACK_LINE(39) - this->nmeChildren[i] = this->nmeChildren->__get((i - (int)1)); - HX_STACK_LINE(39) - (i)--; - } - HX_STACK_LINE(39) - this->nmeChildren[index] = child; - } - else{ - HX_STACK_LINE(39) - if (((orig < index))){ - HX_STACK_LINE(39) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(39) - while(((i < index))){ - HX_STACK_LINE(39) - this->nmeChildren[i] = this->nmeChildren->__get((i + (int)1)); - HX_STACK_LINE(39) - (i)++; - } - HX_STACK_LINE(39) - this->nmeChildren[index] = child; - } - } - } - HX_STACK_LINE(40) - return child; -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,addChildAt,return ) - -::neash::display::DisplayObject DisplayObjectContainer_obj::addChild( ::neash::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::addChild","neash/display/DisplayObjectContainer.hx",30); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(31) - { - HX_STACK_LINE(31) - if (((child == hx::ObjectPtr(this)))){ - HX_STACK_LINE(31) - hx::Throw (HX_CSTRING("Adding to self")); - } - HX_STACK_LINE(31) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(31) - this->setChildIndex(child,(this->nmeChildren->length - (int)1)); - } - else{ - HX_STACK_LINE(31) - child->nmeSetParent(hx::ObjectPtr(this)); - HX_STACK_LINE(31) - this->nmeChildren->push(child); - HX_STACK_LINE(31) - ::neash::display::DisplayObjectContainer_obj::nme_doc_add_child(this->nmeHandle,child->nmeHandle); - } - } - HX_STACK_LINE(32) - return child; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,addChild,return ) - -Dynamic DisplayObjectContainer_obj::nme_create_display_object_container; - -Dynamic DisplayObjectContainer_obj::nme_doc_add_child; - -Dynamic DisplayObjectContainer_obj::nme_doc_remove_child; - -Dynamic DisplayObjectContainer_obj::nme_doc_set_child_index; - -Dynamic DisplayObjectContainer_obj::nme_doc_get_mouse_children; - -Dynamic DisplayObjectContainer_obj::nme_doc_set_mouse_children; - -Dynamic DisplayObjectContainer_obj::nme_doc_swap_children; - - -DisplayObjectContainer_obj::DisplayObjectContainer_obj() -{ -} - -void DisplayObjectContainer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(DisplayObjectContainer); - HX_MARK_MEMBER_NAME(nmeChildren,"nmeChildren"); - HX_MARK_MEMBER_NAME(tabChildren,"tabChildren"); - HX_MARK_MEMBER_NAME(numChildren,"numChildren"); - HX_MARK_MEMBER_NAME(mouseChildren,"mouseChildren"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void DisplayObjectContainer_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeChildren,"nmeChildren"); - HX_VISIT_MEMBER_NAME(tabChildren,"tabChildren"); - HX_VISIT_MEMBER_NAME(numChildren,"numChildren"); - HX_VISIT_MEMBER_NAME(mouseChildren,"mouseChildren"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic DisplayObjectContainer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"contains") ) { return contains_dyn(); } - if (HX_FIELD_EQ(inName,"addChild") ) { return addChild_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeOnAdded") ) { return nmeOnAdded_dyn(); } - if (HX_FIELD_EQ(inName,"getChildAt") ) { return getChildAt_dyn(); } - if (HX_FIELD_EQ(inName,"addChildAt") ) { return addChildAt_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"removeChild") ) { return removeChild_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFindByID") ) { return nmeFindByID_dyn(); } - if (HX_FIELD_EQ(inName,"nmeAddChild") ) { return nmeAddChild_dyn(); } - if (HX_FIELD_EQ(inName,"nmeChildren") ) { return nmeChildren; } - if (HX_FIELD_EQ(inName,"tabChildren") ) { return inCallProp ? nmeGetTabChildren() : tabChildren; } - if (HX_FIELD_EQ(inName,"numChildren") ) { return inCallProp ? nmeGetNumChildren() : numChildren; } - break; - case 12: - if (HX_FIELD_EQ(inName,"swapChildren") ) { return swapChildren_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnRemoved") ) { return nmeOnRemoved_dyn(); } - if (HX_FIELD_EQ(inName,"nmeBroadcast") ) { return nmeBroadcast_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"setChildIndex") ) { return setChildIndex_dyn(); } - if (HX_FIELD_EQ(inName,"removeChildAt") ) { return removeChildAt_dyn(); } - if (HX_FIELD_EQ(inName,"getChildIndex") ) { return getChildIndex_dyn(); } - if (HX_FIELD_EQ(inName,"mouseChildren") ) { return inCallProp ? nmeGetMouseChildren() : mouseChildren; } - break; - case 14: - if (HX_FIELD_EQ(inName,"swapChildrenAt") ) { return swapChildrenAt_dyn(); } - if (HX_FIELD_EQ(inName,"getChildByName") ) { return getChildByName_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeSetChildIndex") ) { return nmeSetChildIndex_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetChildIndex") ) { return nmeGetChildIndex_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_doc_add_child") ) { return nme_doc_add_child; } - if (HX_FIELD_EQ(inName,"nmeSetTabChildren") ) { return nmeSetTabChildren_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTabChildren") ) { return nmeGetTabChildren_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetNumChildren") ) { return nmeGetNumChildren_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSwapChildrenAt") ) { return nmeSwapChildrenAt_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"nmeSetMouseChildren") ) { return nmeSetMouseChildren_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMouseChildren") ) { return nmeGetMouseChildren_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_doc_remove_child") ) { return nme_doc_remove_child; } - if (HX_FIELD_EQ(inName,"getObjectsUnderPoint") ) { return getObjectsUnderPoint_dyn(); } - break; - case 21: - if (HX_FIELD_EQ(inName,"nme_doc_swap_children") ) { return nme_doc_swap_children; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_doc_set_child_index") ) { return nme_doc_set_child_index; } - if (HX_FIELD_EQ(inName,"nmeRemoveChildFromArray") ) { return nmeRemoveChildFromArray_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetObjectsUnderPoint") ) { return nmeGetObjectsUnderPoint_dyn(); } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_doc_get_mouse_children") ) { return nme_doc_get_mouse_children; } - if (HX_FIELD_EQ(inName,"nme_doc_set_mouse_children") ) { return nme_doc_set_mouse_children; } - break; - case 32: - if (HX_FIELD_EQ(inName,"areInaccessibleObjectsUnderPoint") ) { return areInaccessibleObjectsUnderPoint_dyn(); } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_create_display_object_container") ) { return nme_create_display_object_container; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic DisplayObjectContainer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 11: - if (HX_FIELD_EQ(inName,"nmeChildren") ) { nmeChildren=inValue.Cast< Array< ::neash::display::DisplayObject > >(); return inValue; } - if (HX_FIELD_EQ(inName,"tabChildren") ) { if (inCallProp) return nmeSetTabChildren(inValue);tabChildren=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"numChildren") ) { numChildren=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"mouseChildren") ) { if (inCallProp) return nmeSetMouseChildren(inValue);mouseChildren=inValue.Cast< bool >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_doc_add_child") ) { nme_doc_add_child=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_doc_remove_child") ) { nme_doc_remove_child=inValue.Cast< Dynamic >(); return inValue; } - break; - case 21: - if (HX_FIELD_EQ(inName,"nme_doc_swap_children") ) { nme_doc_swap_children=inValue.Cast< Dynamic >(); return inValue; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_doc_set_child_index") ) { nme_doc_set_child_index=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_doc_get_mouse_children") ) { nme_doc_get_mouse_children=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_doc_set_mouse_children") ) { nme_doc_set_mouse_children=inValue.Cast< Dynamic >(); return inValue; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_create_display_object_container") ) { nme_create_display_object_container=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void DisplayObjectContainer_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeChildren")); - outFields->push(HX_CSTRING("tabChildren")); - outFields->push(HX_CSTRING("numChildren")); - outFields->push(HX_CSTRING("mouseChildren")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_create_display_object_container"), - HX_CSTRING("nme_doc_add_child"), - HX_CSTRING("nme_doc_remove_child"), - HX_CSTRING("nme_doc_set_child_index"), - HX_CSTRING("nme_doc_get_mouse_children"), - HX_CSTRING("nme_doc_set_mouse_children"), - HX_CSTRING("nme_doc_swap_children"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetTabChildren"), - HX_CSTRING("nmeGetTabChildren"), - HX_CSTRING("nmeGetNumChildren"), - HX_CSTRING("nmeSetMouseChildren"), - HX_CSTRING("nmeGetMouseChildren"), - HX_CSTRING("swapChildrenAt"), - HX_CSTRING("swapChildren"), - HX_CSTRING("setChildIndex"), - HX_CSTRING("removeChildAt"), - HX_CSTRING("removeChild"), - HX_CSTRING("nmeSwapChildrenAt"), - HX_CSTRING("nmeSetChildIndex"), - HX_CSTRING("nmeRemoveChildFromArray"), - HX_CSTRING("nmeOnRemoved"), - HX_CSTRING("nmeOnAdded"), - HX_CSTRING("nmeGetObjectsUnderPoint"), - HX_CSTRING("nmeGetChildIndex"), - HX_CSTRING("nmeFindByID"), - HX_CSTRING("nmeBroadcast"), - HX_CSTRING("nmeAddChild"), - HX_CSTRING("getObjectsUnderPoint"), - HX_CSTRING("getChildIndex"), - HX_CSTRING("getChildByName"), - HX_CSTRING("getChildAt"), - HX_CSTRING("contains"), - HX_CSTRING("areInaccessibleObjectsUnderPoint"), - HX_CSTRING("addChildAt"), - HX_CSTRING("addChild"), - HX_CSTRING("nmeChildren"), - HX_CSTRING("tabChildren"), - HX_CSTRING("numChildren"), - HX_CSTRING("mouseChildren"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_create_display_object_container,"nme_create_display_object_container"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_add_child,"nme_doc_add_child"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_remove_child,"nme_doc_remove_child"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_set_child_index,"nme_doc_set_child_index"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_get_mouse_children,"nme_doc_get_mouse_children"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_set_mouse_children,"nme_doc_set_mouse_children"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_swap_children,"nme_doc_swap_children"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_create_display_object_container,"nme_create_display_object_container"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_add_child,"nme_doc_add_child"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_remove_child,"nme_doc_remove_child"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_set_child_index,"nme_doc_set_child_index"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_get_mouse_children,"nme_doc_get_mouse_children"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_set_mouse_children,"nme_doc_set_mouse_children"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_swap_children,"nme_doc_swap_children"); -}; - -Class DisplayObjectContainer_obj::__mClass; - -void DisplayObjectContainer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.DisplayObjectContainer"), hx::TCanCast< DisplayObjectContainer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void DisplayObjectContainer_obj::__boot() -{ - nme_create_display_object_container= ::neash::Loader_obj::load(HX_CSTRING("nme_create_display_object_container"),(int)0); - nme_doc_add_child= ::neash::Loader_obj::load(HX_CSTRING("nme_doc_add_child"),(int)2); - nme_doc_remove_child= ::neash::Loader_obj::load(HX_CSTRING("nme_doc_remove_child"),(int)2); - nme_doc_set_child_index= ::neash::Loader_obj::load(HX_CSTRING("nme_doc_set_child_index"),(int)3); - nme_doc_get_mouse_children= ::neash::Loader_obj::load(HX_CSTRING("nme_doc_get_mouse_children"),(int)1); - nme_doc_set_mouse_children= ::neash::Loader_obj::load(HX_CSTRING("nme_doc_set_mouse_children"),(int)2); - nme_doc_swap_children= ::neash::Loader_obj::load(HX_CSTRING("nme_doc_swap_children"),(int)3); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/GradientType.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/GradientType.cpp deleted file mode 100644 index f1286f3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/GradientType.cpp +++ /dev/null @@ -1,73 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_GradientType -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::GradientType GradientType_obj::LINEAR; - -::neash::display::GradientType GradientType_obj::RADIAL; - -HX_DEFINE_CREATE_ENUM(GradientType_obj) - -int GradientType_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("LINEAR")) return 1; - if (inName==HX_CSTRING("RADIAL")) return 0; - return super::__FindIndex(inName); -} - -int GradientType_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("LINEAR")) return 0; - if (inName==HX_CSTRING("RADIAL")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic GradientType_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("LINEAR")) return LINEAR; - if (inName==HX_CSTRING("RADIAL")) return RADIAL; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("RADIAL"), - HX_CSTRING("LINEAR"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GradientType_obj::LINEAR,"LINEAR"); - HX_MARK_MEMBER_NAME(GradientType_obj::RADIAL,"RADIAL"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GradientType_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(GradientType_obj::LINEAR,"LINEAR"); - HX_VISIT_MEMBER_NAME(GradientType_obj::RADIAL,"RADIAL"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class GradientType_obj::__mClass; - -Dynamic __Create_GradientType_obj() { return new GradientType_obj; } - -void GradientType_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.GradientType"), hx::TCanCast< GradientType_obj >,sStaticFields,sMemberFields, - &__Create_GradientType_obj, &__Create, - &super::__SGetClass(), &CreateGradientType_obj, sMarkStatics, sVisitStatic); -} - -void GradientType_obj::__boot() -{ -Static(LINEAR) = hx::CreateEnum< GradientType_obj >(HX_CSTRING("LINEAR"),1); -Static(RADIAL) = hx::CreateEnum< GradientType_obj >(HX_CSTRING("RADIAL"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/Graphics.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/Graphics.cpp deleted file mode 100644 index 8142ec0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/Graphics.cpp +++ /dev/null @@ -1,935 +0,0 @@ -#include - -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -#ifndef INCLUDED_neash_display_GradientType -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_IGraphicsData -#include -#endif -#ifndef INCLUDED_neash_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -#ifndef INCLUDED_neash_display_LineScaleMode -#include -#endif -#ifndef INCLUDED_neash_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_neash_display_Tilesheet -#include -#endif -#ifndef INCLUDED_neash_display_TriangleCulling -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace neash{ -namespace display{ - -Void Graphics_obj::__construct(Dynamic inHandle) -{ -HX_STACK_PUSH("Graphics::new","neash/display/Graphics.hx",28); -{ - HX_STACK_LINE(28) - this->nmeHandle = inHandle; -} -; - return null(); -} - -Graphics_obj::~Graphics_obj() { } - -Dynamic Graphics_obj::__CreateEmpty() { return new Graphics_obj; } -hx::ObjectPtr< Graphics_obj > Graphics_obj::__new(Dynamic inHandle) -{ hx::ObjectPtr< Graphics_obj > result = new Graphics_obj(); - result->__construct(inHandle); - return result;} - -Dynamic Graphics_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Graphics_obj > result = new Graphics_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Graphics_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Graphics::moveTo","neash/display/Graphics.hx",185); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(185) - ::neash::display::Graphics_obj::nme_gfx_move_to(this->nmeHandle,inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Graphics_obj,moveTo,(void)) - -Void Graphics_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Graphics::lineTo","neash/display/Graphics.hx",179); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(179) - ::neash::display::Graphics_obj::nme_gfx_line_to(this->nmeHandle,inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Graphics_obj,lineTo,(void)) - -Void Graphics_obj::lineStyle( Dynamic thickness,hx::Null< int > __o_color,hx::Null< Float > __o_alpha,hx::Null< bool > __o_pixelHinting,::neash::display::LineScaleMode scaleMode,::neash::display::CapsStyle caps,::neash::display::JointStyle joints,hx::Null< Float > __o_miterLimit){ -int color = __o_color.Default(0); -Float alpha = __o_alpha.Default(1.0); -bool pixelHinting = __o_pixelHinting.Default(false); -Float miterLimit = __o_miterLimit.Default(3); - HX_STACK_PUSH("Graphics::lineStyle","neash/display/Graphics.hx",173); - HX_STACK_THIS(this); - HX_STACK_ARG(thickness,"thickness"); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); - HX_STACK_ARG(pixelHinting,"pixelHinting"); - HX_STACK_ARG(scaleMode,"scaleMode"); - HX_STACK_ARG(caps,"caps"); - HX_STACK_ARG(joints,"joints"); - HX_STACK_ARG(miterLimit,"miterLimit"); -{ - HX_STACK_LINE(173) - ::neash::display::Graphics_obj::nme_gfx_line_style(this->nmeHandle,thickness,color,alpha,pixelHinting,( (((scaleMode == null()))) ? int((int)0) : int(scaleMode->__Index()) ),( (((caps == null()))) ? int((int)0) : int(caps->__Index()) ),( (((joints == null()))) ? int((int)0) : int(joints->__Index()) ),miterLimit); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC8(Graphics_obj,lineStyle,(void)) - -Void Graphics_obj::lineGradientStyle( ::neash::display::GradientType type,Dynamic colors,Dynamic alphas,Dynamic ratios,::neash::geom::Matrix matrix,::neash::display::SpreadMethod spreadMethod,::neash::display::InterpolationMethod interpolationMethod,hx::Null< Float > __o_focalPointRatio){ -Float focalPointRatio = __o_focalPointRatio.Default(0.0); - HX_STACK_PUSH("Graphics::lineGradientStyle","neash/display/Graphics.hx",161); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(colors,"colors"); - HX_STACK_ARG(alphas,"alphas"); - HX_STACK_ARG(ratios,"ratios"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(spreadMethod,"spreadMethod"); - HX_STACK_ARG(interpolationMethod,"interpolationMethod"); - HX_STACK_ARG(focalPointRatio,"focalPointRatio"); -{ - HX_STACK_LINE(162) - if (((matrix == null()))){ - HX_STACK_LINE(164) - matrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - HX_STACK_LINE(165) - matrix->createGradientBox((int)200,(int)200,(int)0,(int)-100,(int)-100); - } - HX_STACK_LINE(168) - ::neash::display::Graphics_obj::nme_gfx_line_gradient_fill(this->nmeHandle,type->__Index(),colors,alphas,ratios,matrix,( (((spreadMethod == null()))) ? int((int)0) : int(spreadMethod->__Index()) ),( (((interpolationMethod == null()))) ? int((int)0) : int(interpolationMethod->__Index()) ),focalPointRatio); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC8(Graphics_obj,lineGradientStyle,(void)) - -Void Graphics_obj::lineBitmapStyle( ::neash::display::BitmapData bitmap,::neash::geom::Matrix matrix,hx::Null< bool > __o_repeat,hx::Null< bool > __o_smooth){ -bool repeat = __o_repeat.Default(true); -bool smooth = __o_smooth.Default(false); - HX_STACK_PUSH("Graphics::lineBitmapStyle","neash/display/Graphics.hx",155); - HX_STACK_THIS(this); - HX_STACK_ARG(bitmap,"bitmap"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(repeat,"repeat"); - HX_STACK_ARG(smooth,"smooth"); -{ - HX_STACK_LINE(155) - ::neash::display::Graphics_obj::nme_gfx_line_bitmap_fill(this->nmeHandle,bitmap->nmeHandle,matrix,repeat,smooth); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,lineBitmapStyle,(void)) - -Void Graphics_obj::endFill( ){ -{ - HX_STACK_PUSH("Graphics::endFill","neash/display/Graphics.hx",149); - HX_STACK_THIS(this); - HX_STACK_LINE(149) - ::neash::display::Graphics_obj::nme_gfx_end_fill(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Graphics_obj,endFill,(void)) - -Void Graphics_obj::drawTriangles( Array< Float > vertices,Array< int > indices,Array< Float > uvtData,::neash::display::TriangleCulling culling,Array< int > colours,hx::Null< int > __o_blendMode,Array< Float > viewport){ -int blendMode = __o_blendMode.Default(0); - HX_STACK_PUSH("Graphics::drawTriangles","neash/display/Graphics.hx",142); - HX_STACK_THIS(this); - HX_STACK_ARG(vertices,"vertices"); - HX_STACK_ARG(indices,"indices"); - HX_STACK_ARG(uvtData,"uvtData"); - HX_STACK_ARG(culling,"culling"); - HX_STACK_ARG(colours,"colours"); - HX_STACK_ARG(blendMode,"blendMode"); - HX_STACK_ARG(viewport,"viewport"); -{ - HX_STACK_LINE(143) - int cull = ( (((culling == null()))) ? int((int)0) : int((culling->__Index() - (int)1)) ); HX_STACK_VAR(cull,"cull"); - HX_STACK_LINE(144) - ::neash::display::Graphics_obj::nme_gfx_draw_triangles(this->nmeHandle,vertices,indices,uvtData,cull,colours,blendMode,viewport); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC7(Graphics_obj,drawTriangles,(void)) - -Void Graphics_obj::drawTiles( ::neash::display::Tilesheet sheet,Array< Float > inXYID,hx::Null< bool > __o_inSmooth,hx::Null< int > __o_inFlags){ -bool inSmooth = __o_inSmooth.Default(false); -int inFlags = __o_inFlags.Default(0); - HX_STACK_PUSH("Graphics::drawTiles","neash/display/Graphics.hx",131); - HX_STACK_THIS(this); - HX_STACK_ARG(sheet,"sheet"); - HX_STACK_ARG(inXYID,"inXYID"); - HX_STACK_ARG(inSmooth,"inSmooth"); - HX_STACK_ARG(inFlags,"inFlags"); -{ - HX_STACK_LINE(132) - this->beginBitmapFill(sheet->nmeBitmap,null(),false,inSmooth); - HX_STACK_LINE(134) - if ((inSmooth)){ - HX_STACK_LINE(135) - hx::OrEq(inFlags,(int)4096); - } - HX_STACK_LINE(137) - ::neash::display::Graphics_obj::nme_gfx_draw_tiles(this->nmeHandle,sheet->nmeHandle,inXYID,inFlags); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,drawTiles,(void)) - -Void Graphics_obj::drawPath( Array< int > commands,Array< Float > data,::String __o_winding){ -::String winding = __o_winding.Default(HX_CSTRING("evenOdd")); - HX_STACK_PUSH("Graphics::drawPath","neash/display/Graphics.hx",122); - HX_STACK_THIS(this); - HX_STACK_ARG(commands,"commands"); - HX_STACK_ARG(data,"data"); - HX_STACK_ARG(winding,"winding"); -{ - HX_STACK_LINE(122) - ::neash::display::Graphics_obj::nme_gfx_draw_path(this->nmeHandle,commands,data,(winding == HX_CSTRING("evenOdd"))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Graphics_obj,drawPath,(void)) - -Void Graphics_obj::drawRoundRect( Float inX,Float inY,Float inWidth,Float inHeight,Float inRadX,Dynamic inRadY){ -{ - HX_STACK_PUSH("Graphics::drawRoundRect","neash/display/Graphics.hx",117); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_ARG(inRadX,"inRadX"); - HX_STACK_ARG(inRadY,"inRadY"); - HX_STACK_LINE(117) - ::neash::display::Graphics_obj::nme_gfx_draw_round_rect(this->nmeHandle,inX,inY,inWidth,inHeight,inRadX,( (((inRadY == null()))) ? Dynamic(inRadX) : Dynamic(inRadY) )); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(Graphics_obj,drawRoundRect,(void)) - -Void Graphics_obj::drawRect( Float inX,Float inY,Float inWidth,Float inHeight){ -{ - HX_STACK_PUSH("Graphics::drawRect","neash/display/Graphics.hx",111); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_LINE(111) - ::neash::display::Graphics_obj::nme_gfx_draw_rect(this->nmeHandle,inX,inY,inWidth,inHeight); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,drawRect,(void)) - -Void Graphics_obj::drawPoints( Array< Float > inXY,Array< int > inPointRGBA,hx::Null< int > __o_inDefaultRGBA,hx::Null< Float > __o_inSize){ -int inDefaultRGBA = __o_inDefaultRGBA.Default(-1); -Float inSize = __o_inSize.Default(-1.0); - HX_STACK_PUSH("Graphics::drawPoints","neash/display/Graphics.hx",105); - HX_STACK_THIS(this); - HX_STACK_ARG(inXY,"inXY"); - HX_STACK_ARG(inPointRGBA,"inPointRGBA"); - HX_STACK_ARG(inDefaultRGBA,"inDefaultRGBA"); - HX_STACK_ARG(inSize,"inSize"); -{ - HX_STACK_LINE(105) - ::neash::display::Graphics_obj::nme_gfx_draw_points(this->nmeHandle,inXY,inPointRGBA,inDefaultRGBA,false,inSize); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,drawPoints,(void)) - -Void Graphics_obj::drawGraphicsDatum( ::neash::display::IGraphicsData graphicsDatum){ -{ - HX_STACK_PUSH("Graphics::drawGraphicsDatum","neash/display/Graphics.hx",99); - HX_STACK_THIS(this); - HX_STACK_ARG(graphicsDatum,"graphicsDatum"); - HX_STACK_LINE(99) - ::neash::display::Graphics_obj::nme_gfx_draw_datum(this->nmeHandle,graphicsDatum->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Graphics_obj,drawGraphicsDatum,(void)) - -Void Graphics_obj::drawGraphicsData( Array< ::neash::display::IGraphicsData > graphicsData){ -{ - HX_STACK_PUSH("Graphics::drawGraphicsData","neash/display/Graphics.hx",88); - HX_STACK_THIS(this); - HX_STACK_ARG(graphicsData,"graphicsData"); - HX_STACK_LINE(89) - Dynamic handles = Dynamic( Array_obj::__new() ); HX_STACK_VAR(handles,"handles"); - HX_STACK_LINE(91) - { - HX_STACK_LINE(91) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(91) - while(((_g < graphicsData->length))){ - HX_STACK_LINE(91) - ::neash::display::IGraphicsData datum = graphicsData->__get(_g); HX_STACK_VAR(datum,"datum"); - HX_STACK_LINE(91) - ++(_g); - HX_STACK_LINE(92) - handles->__Field(HX_CSTRING("push"),true)(datum->nmeHandle); - } - } - HX_STACK_LINE(94) - ::neash::display::Graphics_obj::nme_gfx_draw_data(this->nmeHandle,handles); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Graphics_obj,drawGraphicsData,(void)) - -Void Graphics_obj::drawEllipse( Float inX,Float inY,Float inWidth,Float inHeight){ -{ - HX_STACK_PUSH("Graphics::drawEllipse","neash/display/Graphics.hx",82); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_LINE(82) - ::neash::display::Graphics_obj::nme_gfx_draw_ellipse(this->nmeHandle,inX,inY,inWidth,inHeight); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,drawEllipse,(void)) - -Void Graphics_obj::drawCircle( Float inX,Float inY,Float inRadius){ -{ - HX_STACK_PUSH("Graphics::drawCircle","neash/display/Graphics.hx",76); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inRadius,"inRadius"); - HX_STACK_LINE(76) - ::neash::display::Graphics_obj::nme_gfx_draw_ellipse(this->nmeHandle,(inX - inRadius),(inY - inRadius),(inRadius * (int)2),(inRadius * (int)2)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Graphics_obj,drawCircle,(void)) - -Void Graphics_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("Graphics::curveTo","neash/display/Graphics.hx",70); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(70) - ::neash::display::Graphics_obj::nme_gfx_curve_to(this->nmeHandle,inCX,inCY,inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,curveTo,(void)) - -Void Graphics_obj::clear( ){ -{ - HX_STACK_PUSH("Graphics::clear","neash/display/Graphics.hx",64); - HX_STACK_THIS(this); - HX_STACK_LINE(64) - ::neash::display::Graphics_obj::nme_gfx_clear(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Graphics_obj,clear,(void)) - -Void Graphics_obj::beginGradientFill( ::neash::display::GradientType type,Dynamic colors,Dynamic alphas,Dynamic ratios,::neash::geom::Matrix matrix,::neash::display::SpreadMethod spreadMethod,::neash::display::InterpolationMethod interpolationMethod,hx::Null< Float > __o_focalPointRatio){ -Float focalPointRatio = __o_focalPointRatio.Default(0.0); - HX_STACK_PUSH("Graphics::beginGradientFill","neash/display/Graphics.hx",52); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(colors,"colors"); - HX_STACK_ARG(alphas,"alphas"); - HX_STACK_ARG(ratios,"ratios"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(spreadMethod,"spreadMethod"); - HX_STACK_ARG(interpolationMethod,"interpolationMethod"); - HX_STACK_ARG(focalPointRatio,"focalPointRatio"); -{ - HX_STACK_LINE(53) - if (((matrix == null()))){ - HX_STACK_LINE(55) - matrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - HX_STACK_LINE(56) - matrix->createGradientBox((int)200,(int)200,(int)0,(int)-100,(int)-100); - } - HX_STACK_LINE(59) - ::neash::display::Graphics_obj::nme_gfx_begin_gradient_fill(this->nmeHandle,type->__Index(),colors,alphas,ratios,matrix,( (((spreadMethod == null()))) ? int((int)0) : int(spreadMethod->__Index()) ),( (((interpolationMethod == null()))) ? int((int)0) : int(interpolationMethod->__Index()) ),focalPointRatio); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC8(Graphics_obj,beginGradientFill,(void)) - -Void Graphics_obj::beginFill( int color,hx::Null< Float > __o_alpha){ -Float alpha = __o_alpha.Default(1.0); - HX_STACK_PUSH("Graphics::beginFill","neash/display/Graphics.hx",46); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); -{ - HX_STACK_LINE(46) - ::neash::display::Graphics_obj::nme_gfx_begin_fill(this->nmeHandle,color,alpha); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Graphics_obj,beginFill,(void)) - -Void Graphics_obj::beginBitmapFill( ::neash::display::BitmapData bitmap,::neash::geom::Matrix matrix,hx::Null< bool > __o_repeat,hx::Null< bool > __o_smooth){ -bool repeat = __o_repeat.Default(true); -bool smooth = __o_smooth.Default(false); - HX_STACK_PUSH("Graphics::beginBitmapFill","neash/display/Graphics.hx",40); - HX_STACK_THIS(this); - HX_STACK_ARG(bitmap,"bitmap"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(repeat,"repeat"); - HX_STACK_ARG(smooth,"smooth"); -{ - HX_STACK_LINE(40) - ::neash::display::Graphics_obj::nme_gfx_begin_bitmap_fill(this->nmeHandle,bitmap->nmeHandle,matrix,repeat,smooth); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,beginBitmapFill,(void)) - -Void Graphics_obj::arcTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("Graphics::arcTo","neash/display/Graphics.hx",34); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(34) - ::neash::display::Graphics_obj::nme_gfx_arc_to(this->nmeHandle,inCX,inCY,inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,arcTo,(void)) - -int Graphics_obj::TILE_SCALE; - -int Graphics_obj::TILE_ROTATION; - -int Graphics_obj::TILE_RGB; - -int Graphics_obj::TILE_ALPHA; - -int Graphics_obj::TILE_TRANS_2x2; - -int Graphics_obj::TILE_SMOOTH; - -int Graphics_obj::TILE_BLEND_NORMAL; - -int Graphics_obj::TILE_BLEND_ADD; - -int Graphics_obj::RGBA( int inRGB,hx::Null< int > __o_inA){ -int inA = __o_inA.Default(255); - HX_STACK_PUSH("Graphics::RGBA","neash/display/Graphics.hx",191); - HX_STACK_ARG(inRGB,"inRGB"); - HX_STACK_ARG(inA,"inA"); -{ - HX_STACK_LINE(191) - return (int(inRGB) | int((int(inA) << int((int)24)))); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Graphics_obj,RGBA,return ) - -Dynamic Graphics_obj::nme_gfx_clear; - -Dynamic Graphics_obj::nme_gfx_begin_fill; - -Dynamic Graphics_obj::nme_gfx_begin_bitmap_fill; - -Dynamic Graphics_obj::nme_gfx_line_bitmap_fill; - -Dynamic Graphics_obj::nme_gfx_begin_gradient_fill; - -Dynamic Graphics_obj::nme_gfx_line_gradient_fill; - -Dynamic Graphics_obj::nme_gfx_end_fill; - -Dynamic Graphics_obj::nme_gfx_line_style; - -Dynamic Graphics_obj::nme_gfx_move_to; - -Dynamic Graphics_obj::nme_gfx_line_to; - -Dynamic Graphics_obj::nme_gfx_curve_to; - -Dynamic Graphics_obj::nme_gfx_arc_to; - -Dynamic Graphics_obj::nme_gfx_draw_ellipse; - -Dynamic Graphics_obj::nme_gfx_draw_data; - -Dynamic Graphics_obj::nme_gfx_draw_datum; - -Dynamic Graphics_obj::nme_gfx_draw_rect; - -Dynamic Graphics_obj::nme_gfx_draw_path; - -Dynamic Graphics_obj::nme_gfx_draw_tiles; - -Dynamic Graphics_obj::nme_gfx_draw_points; - -Dynamic Graphics_obj::nme_gfx_draw_round_rect; - -Dynamic Graphics_obj::nme_gfx_draw_triangles; - - -Graphics_obj::Graphics_obj() -{ -} - -void Graphics_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Graphics); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_END_CLASS(); -} - -void Graphics_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); -} - -Dynamic Graphics_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"RGBA") ) { return RGBA_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"clear") ) { return clear_dyn(); } - if (HX_FIELD_EQ(inName,"arcTo") ) { return arcTo_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"endFill") ) { return endFill_dyn(); } - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"TILE_RGB") ) { return TILE_RGB; } - if (HX_FIELD_EQ(inName,"drawPath") ) { return drawPath_dyn(); } - if (HX_FIELD_EQ(inName,"drawRect") ) { return drawRect_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"lineStyle") ) { return lineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"drawTiles") ) { return drawTiles_dyn(); } - if (HX_FIELD_EQ(inName,"beginFill") ) { return beginFill_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TILE_SCALE") ) { return TILE_SCALE; } - if (HX_FIELD_EQ(inName,"TILE_ALPHA") ) { return TILE_ALPHA; } - if (HX_FIELD_EQ(inName,"drawPoints") ) { return drawPoints_dyn(); } - if (HX_FIELD_EQ(inName,"drawCircle") ) { return drawCircle_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"TILE_SMOOTH") ) { return TILE_SMOOTH; } - if (HX_FIELD_EQ(inName,"drawEllipse") ) { return drawEllipse_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"TILE_ROTATION") ) { return TILE_ROTATION; } - if (HX_FIELD_EQ(inName,"nme_gfx_clear") ) { return nme_gfx_clear; } - if (HX_FIELD_EQ(inName,"drawTriangles") ) { return drawTriangles_dyn(); } - if (HX_FIELD_EQ(inName,"drawRoundRect") ) { return drawRoundRect_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"TILE_TRANS_2x2") ) { return TILE_TRANS_2x2; } - if (HX_FIELD_EQ(inName,"TILE_BLEND_ADD") ) { return TILE_BLEND_ADD; } - if (HX_FIELD_EQ(inName,"nme_gfx_arc_to") ) { return nme_gfx_arc_to; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_gfx_move_to") ) { return nme_gfx_move_to; } - if (HX_FIELD_EQ(inName,"nme_gfx_line_to") ) { return nme_gfx_line_to; } - if (HX_FIELD_EQ(inName,"lineBitmapStyle") ) { return lineBitmapStyle_dyn(); } - if (HX_FIELD_EQ(inName,"beginBitmapFill") ) { return beginBitmapFill_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_gfx_end_fill") ) { return nme_gfx_end_fill; } - if (HX_FIELD_EQ(inName,"nme_gfx_curve_to") ) { return nme_gfx_curve_to; } - if (HX_FIELD_EQ(inName,"drawGraphicsData") ) { return drawGraphicsData_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"TILE_BLEND_NORMAL") ) { return TILE_BLEND_NORMAL; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_data") ) { return nme_gfx_draw_data; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_rect") ) { return nme_gfx_draw_rect; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_path") ) { return nme_gfx_draw_path; } - if (HX_FIELD_EQ(inName,"lineGradientStyle") ) { return lineGradientStyle_dyn(); } - if (HX_FIELD_EQ(inName,"drawGraphicsDatum") ) { return drawGraphicsDatum_dyn(); } - if (HX_FIELD_EQ(inName,"beginGradientFill") ) { return beginGradientFill_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_fill") ) { return nme_gfx_begin_fill; } - if (HX_FIELD_EQ(inName,"nme_gfx_line_style") ) { return nme_gfx_line_style; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_datum") ) { return nme_gfx_draw_datum; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_tiles") ) { return nme_gfx_draw_tiles; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_points") ) { return nme_gfx_draw_points; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_ellipse") ) { return nme_gfx_draw_ellipse; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_triangles") ) { return nme_gfx_draw_triangles; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_round_rect") ) { return nme_gfx_draw_round_rect; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_gfx_line_bitmap_fill") ) { return nme_gfx_line_bitmap_fill; } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_bitmap_fill") ) { return nme_gfx_begin_bitmap_fill; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_gfx_line_gradient_fill") ) { return nme_gfx_line_gradient_fill; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_gradient_fill") ) { return nme_gfx_begin_gradient_fill; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Graphics_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"TILE_RGB") ) { TILE_RGB=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TILE_SCALE") ) { TILE_SCALE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TILE_ALPHA") ) { TILE_ALPHA=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TILE_SMOOTH") ) { TILE_SMOOTH=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"TILE_ROTATION") ) { TILE_ROTATION=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_clear") ) { nme_gfx_clear=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TILE_TRANS_2x2") ) { TILE_TRANS_2x2=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TILE_BLEND_ADD") ) { TILE_BLEND_ADD=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_arc_to") ) { nme_gfx_arc_to=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_gfx_move_to") ) { nme_gfx_move_to=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_line_to") ) { nme_gfx_line_to=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_gfx_end_fill") ) { nme_gfx_end_fill=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_curve_to") ) { nme_gfx_curve_to=inValue.Cast< Dynamic >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"TILE_BLEND_NORMAL") ) { TILE_BLEND_NORMAL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_data") ) { nme_gfx_draw_data=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_rect") ) { nme_gfx_draw_rect=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_path") ) { nme_gfx_draw_path=inValue.Cast< Dynamic >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_fill") ) { nme_gfx_begin_fill=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_line_style") ) { nme_gfx_line_style=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_datum") ) { nme_gfx_draw_datum=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_tiles") ) { nme_gfx_draw_tiles=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_points") ) { nme_gfx_draw_points=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_ellipse") ) { nme_gfx_draw_ellipse=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_triangles") ) { nme_gfx_draw_triangles=inValue.Cast< Dynamic >(); return inValue; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_round_rect") ) { nme_gfx_draw_round_rect=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_gfx_line_bitmap_fill") ) { nme_gfx_line_bitmap_fill=inValue.Cast< Dynamic >(); return inValue; } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_bitmap_fill") ) { nme_gfx_begin_bitmap_fill=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_gfx_line_gradient_fill") ) { nme_gfx_line_gradient_fill=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_gradient_fill") ) { nme_gfx_begin_gradient_fill=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Graphics_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeHandle")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("TILE_SCALE"), - HX_CSTRING("TILE_ROTATION"), - HX_CSTRING("TILE_RGB"), - HX_CSTRING("TILE_ALPHA"), - HX_CSTRING("TILE_TRANS_2x2"), - HX_CSTRING("TILE_SMOOTH"), - HX_CSTRING("TILE_BLEND_NORMAL"), - HX_CSTRING("TILE_BLEND_ADD"), - HX_CSTRING("RGBA"), - HX_CSTRING("nme_gfx_clear"), - HX_CSTRING("nme_gfx_begin_fill"), - HX_CSTRING("nme_gfx_begin_bitmap_fill"), - HX_CSTRING("nme_gfx_line_bitmap_fill"), - HX_CSTRING("nme_gfx_begin_gradient_fill"), - HX_CSTRING("nme_gfx_line_gradient_fill"), - HX_CSTRING("nme_gfx_end_fill"), - HX_CSTRING("nme_gfx_line_style"), - HX_CSTRING("nme_gfx_move_to"), - HX_CSTRING("nme_gfx_line_to"), - HX_CSTRING("nme_gfx_curve_to"), - HX_CSTRING("nme_gfx_arc_to"), - HX_CSTRING("nme_gfx_draw_ellipse"), - HX_CSTRING("nme_gfx_draw_data"), - HX_CSTRING("nme_gfx_draw_datum"), - HX_CSTRING("nme_gfx_draw_rect"), - HX_CSTRING("nme_gfx_draw_path"), - HX_CSTRING("nme_gfx_draw_tiles"), - HX_CSTRING("nme_gfx_draw_points"), - HX_CSTRING("nme_gfx_draw_round_rect"), - HX_CSTRING("nme_gfx_draw_triangles"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("moveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("lineStyle"), - HX_CSTRING("lineGradientStyle"), - HX_CSTRING("lineBitmapStyle"), - HX_CSTRING("endFill"), - HX_CSTRING("drawTriangles"), - HX_CSTRING("drawTiles"), - HX_CSTRING("drawPath"), - HX_CSTRING("drawRoundRect"), - HX_CSTRING("drawRect"), - HX_CSTRING("drawPoints"), - HX_CSTRING("drawGraphicsDatum"), - HX_CSTRING("drawGraphicsData"), - HX_CSTRING("drawEllipse"), - HX_CSTRING("drawCircle"), - HX_CSTRING("curveTo"), - HX_CSTRING("clear"), - HX_CSTRING("beginGradientFill"), - HX_CSTRING("beginFill"), - HX_CSTRING("beginBitmapFill"), - HX_CSTRING("arcTo"), - HX_CSTRING("nmeHandle"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Graphics_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_SCALE,"TILE_SCALE"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_ROTATION,"TILE_ROTATION"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_RGB,"TILE_RGB"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_ALPHA,"TILE_ALPHA"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_TRANS_2x2,"TILE_TRANS_2x2"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_SMOOTH,"TILE_SMOOTH"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_BLEND_NORMAL,"TILE_BLEND_NORMAL"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_BLEND_ADD,"TILE_BLEND_ADD"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_clear,"nme_gfx_clear"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_begin_fill,"nme_gfx_begin_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_begin_bitmap_fill,"nme_gfx_begin_bitmap_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_line_bitmap_fill,"nme_gfx_line_bitmap_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_begin_gradient_fill,"nme_gfx_begin_gradient_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_line_gradient_fill,"nme_gfx_line_gradient_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_end_fill,"nme_gfx_end_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_line_style,"nme_gfx_line_style"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_move_to,"nme_gfx_move_to"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_line_to,"nme_gfx_line_to"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_curve_to,"nme_gfx_curve_to"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_arc_to,"nme_gfx_arc_to"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_ellipse,"nme_gfx_draw_ellipse"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_data,"nme_gfx_draw_data"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_datum,"nme_gfx_draw_datum"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_rect,"nme_gfx_draw_rect"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_path,"nme_gfx_draw_path"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_tiles,"nme_gfx_draw_tiles"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_points,"nme_gfx_draw_points"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_round_rect,"nme_gfx_draw_round_rect"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_triangles,"nme_gfx_draw_triangles"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Graphics_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_SCALE,"TILE_SCALE"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_ROTATION,"TILE_ROTATION"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_RGB,"TILE_RGB"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_ALPHA,"TILE_ALPHA"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_TRANS_2x2,"TILE_TRANS_2x2"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_SMOOTH,"TILE_SMOOTH"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_BLEND_NORMAL,"TILE_BLEND_NORMAL"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_BLEND_ADD,"TILE_BLEND_ADD"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_clear,"nme_gfx_clear"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_begin_fill,"nme_gfx_begin_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_begin_bitmap_fill,"nme_gfx_begin_bitmap_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_line_bitmap_fill,"nme_gfx_line_bitmap_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_begin_gradient_fill,"nme_gfx_begin_gradient_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_line_gradient_fill,"nme_gfx_line_gradient_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_end_fill,"nme_gfx_end_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_line_style,"nme_gfx_line_style"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_move_to,"nme_gfx_move_to"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_line_to,"nme_gfx_line_to"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_curve_to,"nme_gfx_curve_to"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_arc_to,"nme_gfx_arc_to"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_ellipse,"nme_gfx_draw_ellipse"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_data,"nme_gfx_draw_data"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_datum,"nme_gfx_draw_datum"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_rect,"nme_gfx_draw_rect"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_path,"nme_gfx_draw_path"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_tiles,"nme_gfx_draw_tiles"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_points,"nme_gfx_draw_points"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_round_rect,"nme_gfx_draw_round_rect"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_triangles,"nme_gfx_draw_triangles"); -}; - -Class Graphics_obj::__mClass; - -void Graphics_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.Graphics"), hx::TCanCast< Graphics_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Graphics_obj::__boot() -{ - TILE_SCALE= (int)1; - TILE_ROTATION= (int)2; - TILE_RGB= (int)4; - TILE_ALPHA= (int)8; - TILE_TRANS_2x2= (int)16; - TILE_SMOOTH= (int)4096; - TILE_BLEND_NORMAL= (int)0; - TILE_BLEND_ADD= (int)65536; - nme_gfx_clear= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_clear"),(int)1); - nme_gfx_begin_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_begin_fill"),(int)3); - nme_gfx_begin_bitmap_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_begin_bitmap_fill"),(int)5); - nme_gfx_line_bitmap_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_line_bitmap_fill"),(int)5); - nme_gfx_begin_gradient_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_begin_gradient_fill"),(int)-1); - nme_gfx_line_gradient_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_line_gradient_fill"),(int)-1); - nme_gfx_end_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_end_fill"),(int)1); - nme_gfx_line_style= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_line_style"),(int)-1); - nme_gfx_move_to= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_move_to"),(int)3); - nme_gfx_line_to= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_line_to"),(int)3); - nme_gfx_curve_to= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_curve_to"),(int)5); - nme_gfx_arc_to= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_arc_to"),(int)5); - nme_gfx_draw_ellipse= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_ellipse"),(int)5); - nme_gfx_draw_data= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_data"),(int)2); - nme_gfx_draw_datum= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_datum"),(int)2); - nme_gfx_draw_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_rect"),(int)5); - nme_gfx_draw_path= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_path"),(int)4); - nme_gfx_draw_tiles= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_tiles"),(int)4); - nme_gfx_draw_points= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_points"),(int)-1); - nme_gfx_draw_round_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_round_rect"),(int)-1); - nme_gfx_draw_triangles= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_triangles"),(int)-1); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/GraphicsPathWinding.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/GraphicsPathWinding.cpp deleted file mode 100644 index 06c4c5c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/GraphicsPathWinding.cpp +++ /dev/null @@ -1,107 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_GraphicsPathWinding -#include -#endif -namespace neash{ -namespace display{ - -Void GraphicsPathWinding_obj::__construct() -{ - return null(); -} - -GraphicsPathWinding_obj::~GraphicsPathWinding_obj() { } - -Dynamic GraphicsPathWinding_obj::__CreateEmpty() { return new GraphicsPathWinding_obj; } -hx::ObjectPtr< GraphicsPathWinding_obj > GraphicsPathWinding_obj::__new() -{ hx::ObjectPtr< GraphicsPathWinding_obj > result = new GraphicsPathWinding_obj(); - result->__construct(); - return result;} - -Dynamic GraphicsPathWinding_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GraphicsPathWinding_obj > result = new GraphicsPathWinding_obj(); - result->__construct(); - return result;} - -::String GraphicsPathWinding_obj::EVEN_ODD; - -::String GraphicsPathWinding_obj::NON_ZERO; - - -GraphicsPathWinding_obj::GraphicsPathWinding_obj() -{ -} - -void GraphicsPathWinding_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GraphicsPathWinding); - HX_MARK_END_CLASS(); -} - -void GraphicsPathWinding_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic GraphicsPathWinding_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"EVEN_ODD") ) { return EVEN_ODD; } - if (HX_FIELD_EQ(inName,"NON_ZERO") ) { return NON_ZERO; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GraphicsPathWinding_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"EVEN_ODD") ) { EVEN_ODD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"NON_ZERO") ) { NON_ZERO=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void GraphicsPathWinding_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("EVEN_ODD"), - HX_CSTRING("NON_ZERO"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GraphicsPathWinding_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(GraphicsPathWinding_obj::EVEN_ODD,"EVEN_ODD"); - HX_MARK_MEMBER_NAME(GraphicsPathWinding_obj::NON_ZERO,"NON_ZERO"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GraphicsPathWinding_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(GraphicsPathWinding_obj::EVEN_ODD,"EVEN_ODD"); - HX_VISIT_MEMBER_NAME(GraphicsPathWinding_obj::NON_ZERO,"NON_ZERO"); -}; - -Class GraphicsPathWinding_obj::__mClass; - -void GraphicsPathWinding_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.GraphicsPathWinding"), hx::TCanCast< GraphicsPathWinding_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GraphicsPathWinding_obj::__boot() -{ - EVEN_ODD= HX_CSTRING("evenOdd"); - NON_ZERO= HX_CSTRING("nonZero"); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/IBitmapDrawable.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/IBitmapDrawable.cpp deleted file mode 100644 index ed94d99..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/IBitmapDrawable.cpp +++ /dev/null @@ -1,43 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -namespace neash{ -namespace display{ - -HX_DEFINE_DYNAMIC_FUNC6(IBitmapDrawable_obj,nmeDrawToSurface,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IBitmapDrawable_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IBitmapDrawable_obj::__mClass,"__mClass"); -}; - -Class IBitmapDrawable_obj::__mClass; - -void IBitmapDrawable_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.IBitmapDrawable"), hx::TCanCast< IBitmapDrawable_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IBitmapDrawable_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/IGraphicsData.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/IGraphicsData.cpp deleted file mode 100644 index 2957ccd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/IGraphicsData.cpp +++ /dev/null @@ -1,103 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_IGraphicsData -#include -#endif -namespace neash{ -namespace display{ - -Void IGraphicsData_obj::__construct(Dynamic inHandle) -{ -HX_STACK_PUSH("IGraphicsData::new","neash/display/IGraphicsData.hx",11); -{ - HX_STACK_LINE(11) - this->nmeHandle = inHandle; -} -; - return null(); -} - -IGraphicsData_obj::~IGraphicsData_obj() { } - -Dynamic IGraphicsData_obj::__CreateEmpty() { return new IGraphicsData_obj; } -hx::ObjectPtr< IGraphicsData_obj > IGraphicsData_obj::__new(Dynamic inHandle) -{ hx::ObjectPtr< IGraphicsData_obj > result = new IGraphicsData_obj(); - result->__construct(inHandle); - return result;} - -Dynamic IGraphicsData_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< IGraphicsData_obj > result = new IGraphicsData_obj(); - result->__construct(inArgs[0]); - return result;} - - -IGraphicsData_obj::IGraphicsData_obj() -{ -} - -void IGraphicsData_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(IGraphicsData); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_END_CLASS(); -} - -void IGraphicsData_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); -} - -Dynamic IGraphicsData_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic IGraphicsData_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void IGraphicsData_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeHandle")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeHandle"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IGraphicsData_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IGraphicsData_obj::__mClass,"__mClass"); -}; - -Class IGraphicsData_obj::__mClass; - -void IGraphicsData_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.IGraphicsData"), hx::TCanCast< IGraphicsData_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IGraphicsData_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/InteractiveObject.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/InteractiveObject.cpp deleted file mode 100644 index f72e4b6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/InteractiveObject.cpp +++ /dev/null @@ -1,339 +0,0 @@ -#include - -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace display{ - -Void InteractiveObject_obj::__construct(Dynamic inHandle,::String inType) -{ -HX_STACK_PUSH("InteractiveObject::new","neash/display/InteractiveObject.hx",19); -{ - HX_STACK_LINE(20) - this->doubleClickEnabled = false; - HX_STACK_LINE(21) - this->nmeMouseEnabled = true; - HX_STACK_LINE(23) - super::__construct(inHandle,inType); -} -; - return null(); -} - -InteractiveObject_obj::~InteractiveObject_obj() { } - -Dynamic InteractiveObject_obj::__CreateEmpty() { return new InteractiveObject_obj; } -hx::ObjectPtr< InteractiveObject_obj > InteractiveObject_obj::__new(Dynamic inHandle,::String inType) -{ hx::ObjectPtr< InteractiveObject_obj > result = new InteractiveObject_obj(); - result->__construct(inHandle,inType); - return result;} - -Dynamic InteractiveObject_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< InteractiveObject_obj > result = new InteractiveObject_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -bool InteractiveObject_obj::nmeGetNeedsSoftKeyboard( ){ - HX_STACK_PUSH("InteractiveObject::nmeGetNeedsSoftKeyboard","neash/display/InteractiveObject.hx",74); - HX_STACK_THIS(this); - HX_STACK_LINE(74) - return ::neash::display::InteractiveObject_obj::nme_display_object_get_needs_soft_keyboard(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(InteractiveObject_obj,nmeGetNeedsSoftKeyboard,return ) - -bool InteractiveObject_obj::nmeSetNeedsSoftKeyboard( bool inVal){ - HX_STACK_PUSH("InteractiveObject::nmeSetNeedsSoftKeyboard","neash/display/InteractiveObject.hx",67); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(68) - ::neash::display::InteractiveObject_obj::nme_display_object_set_needs_soft_keyboard(this->nmeHandle,inVal); - HX_STACK_LINE(69) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(InteractiveObject_obj,nmeSetNeedsSoftKeyboard,return ) - -bool InteractiveObject_obj::nmeGetMoveForSoftKeyboard( ){ - HX_STACK_PUSH("InteractiveObject::nmeGetMoveForSoftKeyboard","neash/display/InteractiveObject.hx",61); - HX_STACK_THIS(this); - HX_STACK_LINE(61) - return ::neash::display::InteractiveObject_obj::nme_display_object_get_moves_for_soft_keyboard(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(InteractiveObject_obj,nmeGetMoveForSoftKeyboard,return ) - -bool InteractiveObject_obj::nmeSetMoveForSoftKeyboard( bool inVal){ - HX_STACK_PUSH("InteractiveObject::nmeSetMoveForSoftKeyboard","neash/display/InteractiveObject.hx",54); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(55) - ::neash::display::InteractiveObject_obj::nme_display_object_set_moves_for_soft_keyboard(this->nmeHandle,inVal); - HX_STACK_LINE(56) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(InteractiveObject_obj,nmeSetMoveForSoftKeyboard,return ) - -bool InteractiveObject_obj::nmeSetMouseEnabled( bool inVal){ - HX_STACK_PUSH("InteractiveObject::nmeSetMouseEnabled","neash/display/InteractiveObject.hx",46); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(47) - this->nmeMouseEnabled = inVal; - HX_STACK_LINE(48) - ::neash::display::InteractiveObject_obj::nme_display_object_set_mouse_enabled(this->nmeHandle,inVal); - HX_STACK_LINE(49) - return this->nmeMouseEnabled; -} - - -HX_DEFINE_DYNAMIC_FUNC1(InteractiveObject_obj,nmeSetMouseEnabled,return ) - -bool InteractiveObject_obj::nmeGetMouseEnabled( ){ - HX_STACK_PUSH("InteractiveObject::nmeGetMouseEnabled","neash/display/InteractiveObject.hx",44); - HX_STACK_THIS(this); - HX_STACK_LINE(44) - return this->nmeMouseEnabled; -} - - -HX_DEFINE_DYNAMIC_FUNC0(InteractiveObject_obj,nmeGetMouseEnabled,return ) - -bool InteractiveObject_obj::requestSoftKeyboard( ){ - HX_STACK_PUSH("InteractiveObject::requestSoftKeyboard","neash/display/InteractiveObject.hx",34); - HX_STACK_THIS(this); - HX_STACK_LINE(34) - return ::neash::display::InteractiveObject_obj::nme_display_object_request_soft_keyboard(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(InteractiveObject_obj,requestSoftKeyboard,return ) - -::neash::display::InteractiveObject InteractiveObject_obj::nmeAsInteractiveObject( ){ - HX_STACK_PUSH("InteractiveObject::nmeAsInteractiveObject","neash/display/InteractiveObject.hx",28); - HX_STACK_THIS(this); - HX_STACK_LINE(28) - return hx::ObjectPtr(this); -} - - -Dynamic InteractiveObject_obj::nme_display_object_set_mouse_enabled; - -Dynamic InteractiveObject_obj::nme_display_object_set_needs_soft_keyboard; - -Dynamic InteractiveObject_obj::nme_display_object_get_needs_soft_keyboard; - -Dynamic InteractiveObject_obj::nme_display_object_set_moves_for_soft_keyboard; - -Dynamic InteractiveObject_obj::nme_display_object_get_moves_for_soft_keyboard; - -Dynamic InteractiveObject_obj::nme_display_object_request_soft_keyboard; - - -InteractiveObject_obj::InteractiveObject_obj() -{ -} - -void InteractiveObject_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(InteractiveObject); - HX_MARK_MEMBER_NAME(nmeMouseEnabled,"nmeMouseEnabled"); - HX_MARK_MEMBER_NAME(needsSoftKeyboard,"needsSoftKeyboard"); - HX_MARK_MEMBER_NAME(moveForSoftKeyboard,"moveForSoftKeyboard"); - HX_MARK_MEMBER_NAME(mouseEnabled,"mouseEnabled"); - HX_MARK_MEMBER_NAME(doubleClickEnabled,"doubleClickEnabled"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void InteractiveObject_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeMouseEnabled,"nmeMouseEnabled"); - HX_VISIT_MEMBER_NAME(needsSoftKeyboard,"needsSoftKeyboard"); - HX_VISIT_MEMBER_NAME(moveForSoftKeyboard,"moveForSoftKeyboard"); - HX_VISIT_MEMBER_NAME(mouseEnabled,"mouseEnabled"); - HX_VISIT_MEMBER_NAME(doubleClickEnabled,"doubleClickEnabled"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic InteractiveObject_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 12: - if (HX_FIELD_EQ(inName,"mouseEnabled") ) { return inCallProp ? nmeGetMouseEnabled() : mouseEnabled; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeMouseEnabled") ) { return nmeMouseEnabled; } - break; - case 17: - if (HX_FIELD_EQ(inName,"needsSoftKeyboard") ) { return inCallProp ? nmeGetNeedsSoftKeyboard() : needsSoftKeyboard; } - break; - case 18: - if (HX_FIELD_EQ(inName,"nmeSetMouseEnabled") ) { return nmeSetMouseEnabled_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMouseEnabled") ) { return nmeGetMouseEnabled_dyn(); } - if (HX_FIELD_EQ(inName,"doubleClickEnabled") ) { return doubleClickEnabled; } - break; - case 19: - if (HX_FIELD_EQ(inName,"requestSoftKeyboard") ) { return requestSoftKeyboard_dyn(); } - if (HX_FIELD_EQ(inName,"moveForSoftKeyboard") ) { return inCallProp ? nmeGetMoveForSoftKeyboard() : moveForSoftKeyboard; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nmeAsInteractiveObject") ) { return nmeAsInteractiveObject_dyn(); } - break; - case 23: - if (HX_FIELD_EQ(inName,"nmeGetNeedsSoftKeyboard") ) { return nmeGetNeedsSoftKeyboard_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetNeedsSoftKeyboard") ) { return nmeSetNeedsSoftKeyboard_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"nmeGetMoveForSoftKeyboard") ) { return nmeGetMoveForSoftKeyboard_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetMoveForSoftKeyboard") ) { return nmeSetMoveForSoftKeyboard_dyn(); } - break; - case 36: - if (HX_FIELD_EQ(inName,"nme_display_object_set_mouse_enabled") ) { return nme_display_object_set_mouse_enabled; } - break; - case 40: - if (HX_FIELD_EQ(inName,"nme_display_object_request_soft_keyboard") ) { return nme_display_object_request_soft_keyboard; } - break; - case 42: - if (HX_FIELD_EQ(inName,"nme_display_object_set_needs_soft_keyboard") ) { return nme_display_object_set_needs_soft_keyboard; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_needs_soft_keyboard") ) { return nme_display_object_get_needs_soft_keyboard; } - break; - case 46: - if (HX_FIELD_EQ(inName,"nme_display_object_set_moves_for_soft_keyboard") ) { return nme_display_object_set_moves_for_soft_keyboard; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_moves_for_soft_keyboard") ) { return nme_display_object_get_moves_for_soft_keyboard; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic InteractiveObject_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 12: - if (HX_FIELD_EQ(inName,"mouseEnabled") ) { if (inCallProp) return nmeSetMouseEnabled(inValue);mouseEnabled=inValue.Cast< bool >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeMouseEnabled") ) { nmeMouseEnabled=inValue.Cast< bool >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"needsSoftKeyboard") ) { if (inCallProp) return nmeSetNeedsSoftKeyboard(inValue);needsSoftKeyboard=inValue.Cast< bool >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"doubleClickEnabled") ) { doubleClickEnabled=inValue.Cast< bool >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"moveForSoftKeyboard") ) { if (inCallProp) return nmeSetMoveForSoftKeyboard(inValue);moveForSoftKeyboard=inValue.Cast< bool >(); return inValue; } - break; - case 36: - if (HX_FIELD_EQ(inName,"nme_display_object_set_mouse_enabled") ) { nme_display_object_set_mouse_enabled=inValue.Cast< Dynamic >(); return inValue; } - break; - case 40: - if (HX_FIELD_EQ(inName,"nme_display_object_request_soft_keyboard") ) { nme_display_object_request_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - break; - case 42: - if (HX_FIELD_EQ(inName,"nme_display_object_set_needs_soft_keyboard") ) { nme_display_object_set_needs_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_needs_soft_keyboard") ) { nme_display_object_get_needs_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - break; - case 46: - if (HX_FIELD_EQ(inName,"nme_display_object_set_moves_for_soft_keyboard") ) { nme_display_object_set_moves_for_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_moves_for_soft_keyboard") ) { nme_display_object_get_moves_for_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void InteractiveObject_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeMouseEnabled")); - outFields->push(HX_CSTRING("needsSoftKeyboard")); - outFields->push(HX_CSTRING("moveForSoftKeyboard")); - outFields->push(HX_CSTRING("mouseEnabled")); - outFields->push(HX_CSTRING("doubleClickEnabled")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_display_object_set_mouse_enabled"), - HX_CSTRING("nme_display_object_set_needs_soft_keyboard"), - HX_CSTRING("nme_display_object_get_needs_soft_keyboard"), - HX_CSTRING("nme_display_object_set_moves_for_soft_keyboard"), - HX_CSTRING("nme_display_object_get_moves_for_soft_keyboard"), - HX_CSTRING("nme_display_object_request_soft_keyboard"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetNeedsSoftKeyboard"), - HX_CSTRING("nmeSetNeedsSoftKeyboard"), - HX_CSTRING("nmeGetMoveForSoftKeyboard"), - HX_CSTRING("nmeSetMoveForSoftKeyboard"), - HX_CSTRING("nmeSetMouseEnabled"), - HX_CSTRING("nmeGetMouseEnabled"), - HX_CSTRING("requestSoftKeyboard"), - HX_CSTRING("nmeAsInteractiveObject"), - HX_CSTRING("nmeMouseEnabled"), - HX_CSTRING("needsSoftKeyboard"), - HX_CSTRING("moveForSoftKeyboard"), - HX_CSTRING("mouseEnabled"), - HX_CSTRING("doubleClickEnabled"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(InteractiveObject_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_mouse_enabled,"nme_display_object_set_mouse_enabled"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_needs_soft_keyboard,"nme_display_object_set_needs_soft_keyboard"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_get_needs_soft_keyboard,"nme_display_object_get_needs_soft_keyboard"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_moves_for_soft_keyboard,"nme_display_object_set_moves_for_soft_keyboard"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_get_moves_for_soft_keyboard,"nme_display_object_get_moves_for_soft_keyboard"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_request_soft_keyboard,"nme_display_object_request_soft_keyboard"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_mouse_enabled,"nme_display_object_set_mouse_enabled"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_needs_soft_keyboard,"nme_display_object_set_needs_soft_keyboard"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_get_needs_soft_keyboard,"nme_display_object_get_needs_soft_keyboard"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_moves_for_soft_keyboard,"nme_display_object_set_moves_for_soft_keyboard"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_get_moves_for_soft_keyboard,"nme_display_object_get_moves_for_soft_keyboard"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_request_soft_keyboard,"nme_display_object_request_soft_keyboard"); -}; - -Class InteractiveObject_obj::__mClass; - -void InteractiveObject_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.InteractiveObject"), hx::TCanCast< InteractiveObject_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void InteractiveObject_obj::__boot() -{ - nme_display_object_set_mouse_enabled= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_mouse_enabled"),(int)2); - nme_display_object_set_needs_soft_keyboard= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_needs_soft_keyboard"),(int)2); - nme_display_object_get_needs_soft_keyboard= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_needs_soft_keyboard"),(int)1); - nme_display_object_set_moves_for_soft_keyboard= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_moves_for_soft_keyboard"),(int)2); - nme_display_object_get_moves_for_soft_keyboard= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_moves_for_soft_keyboard"),(int)1); - nme_display_object_request_soft_keyboard= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_request_soft_keyboard"),(int)1); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/InterpolationMethod.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/InterpolationMethod.cpp deleted file mode 100644 index 8d6cdb5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/InterpolationMethod.cpp +++ /dev/null @@ -1,73 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_InterpolationMethod -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::InterpolationMethod InterpolationMethod_obj::LINEAR_RGB; - -::neash::display::InterpolationMethod InterpolationMethod_obj::RGB; - -HX_DEFINE_CREATE_ENUM(InterpolationMethod_obj) - -int InterpolationMethod_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("LINEAR_RGB")) return 1; - if (inName==HX_CSTRING("RGB")) return 0; - return super::__FindIndex(inName); -} - -int InterpolationMethod_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("LINEAR_RGB")) return 0; - if (inName==HX_CSTRING("RGB")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic InterpolationMethod_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("LINEAR_RGB")) return LINEAR_RGB; - if (inName==HX_CSTRING("RGB")) return RGB; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("RGB"), - HX_CSTRING("LINEAR_RGB"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(InterpolationMethod_obj::LINEAR_RGB,"LINEAR_RGB"); - HX_MARK_MEMBER_NAME(InterpolationMethod_obj::RGB,"RGB"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(InterpolationMethod_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(InterpolationMethod_obj::LINEAR_RGB,"LINEAR_RGB"); - HX_VISIT_MEMBER_NAME(InterpolationMethod_obj::RGB,"RGB"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class InterpolationMethod_obj::__mClass; - -Dynamic __Create_InterpolationMethod_obj() { return new InterpolationMethod_obj; } - -void InterpolationMethod_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.InterpolationMethod"), hx::TCanCast< InterpolationMethod_obj >,sStaticFields,sMemberFields, - &__Create_InterpolationMethod_obj, &__Create, - &super::__SGetClass(), &CreateInterpolationMethod_obj, sMarkStatics, sVisitStatic); -} - -void InterpolationMethod_obj::__boot() -{ -Static(LINEAR_RGB) = hx::CreateEnum< InterpolationMethod_obj >(HX_CSTRING("LINEAR_RGB"),1); -Static(RGB) = hx::CreateEnum< InterpolationMethod_obj >(HX_CSTRING("RGB"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/JointStyle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/JointStyle.cpp deleted file mode 100644 index 33f4e21..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/JointStyle.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::JointStyle JointStyle_obj::BEVEL; - -::neash::display::JointStyle JointStyle_obj::MITER; - -::neash::display::JointStyle JointStyle_obj::ROUND; - -HX_DEFINE_CREATE_ENUM(JointStyle_obj) - -int JointStyle_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BEVEL")) return 2; - if (inName==HX_CSTRING("MITER")) return 1; - if (inName==HX_CSTRING("ROUND")) return 0; - return super::__FindIndex(inName); -} - -int JointStyle_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BEVEL")) return 0; - if (inName==HX_CSTRING("MITER")) return 0; - if (inName==HX_CSTRING("ROUND")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic JointStyle_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BEVEL")) return BEVEL; - if (inName==HX_CSTRING("MITER")) return MITER; - if (inName==HX_CSTRING("ROUND")) return ROUND; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("ROUND"), - HX_CSTRING("MITER"), - HX_CSTRING("BEVEL"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(JointStyle_obj::BEVEL,"BEVEL"); - HX_MARK_MEMBER_NAME(JointStyle_obj::MITER,"MITER"); - HX_MARK_MEMBER_NAME(JointStyle_obj::ROUND,"ROUND"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(JointStyle_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(JointStyle_obj::BEVEL,"BEVEL"); - HX_VISIT_MEMBER_NAME(JointStyle_obj::MITER,"MITER"); - HX_VISIT_MEMBER_NAME(JointStyle_obj::ROUND,"ROUND"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class JointStyle_obj::__mClass; - -Dynamic __Create_JointStyle_obj() { return new JointStyle_obj; } - -void JointStyle_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.JointStyle"), hx::TCanCast< JointStyle_obj >,sStaticFields,sMemberFields, - &__Create_JointStyle_obj, &__Create, - &super::__SGetClass(), &CreateJointStyle_obj, sMarkStatics, sVisitStatic); -} - -void JointStyle_obj::__boot() -{ -Static(BEVEL) = hx::CreateEnum< JointStyle_obj >(HX_CSTRING("BEVEL"),2); -Static(MITER) = hx::CreateEnum< JointStyle_obj >(HX_CSTRING("MITER"),1); -Static(ROUND) = hx::CreateEnum< JointStyle_obj >(HX_CSTRING("ROUND"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/LineScaleMode.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/LineScaleMode.cpp deleted file mode 100644 index 7802626..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/LineScaleMode.cpp +++ /dev/null @@ -1,100 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_LineScaleMode -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::LineScaleMode LineScaleMode_obj::HORIZONTAL; - -::neash::display::LineScaleMode LineScaleMode_obj::NONE; - -::neash::display::LineScaleMode LineScaleMode_obj::NORMAL; - -::neash::display::LineScaleMode LineScaleMode_obj::OPENGL; - -::neash::display::LineScaleMode LineScaleMode_obj::VERTICAL; - -HX_DEFINE_CREATE_ENUM(LineScaleMode_obj) - -int LineScaleMode_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("HORIZONTAL")) return 3; - if (inName==HX_CSTRING("NONE")) return 1; - if (inName==HX_CSTRING("NORMAL")) return 0; - if (inName==HX_CSTRING("OPENGL")) return 4; - if (inName==HX_CSTRING("VERTICAL")) return 2; - return super::__FindIndex(inName); -} - -int LineScaleMode_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("HORIZONTAL")) return 0; - if (inName==HX_CSTRING("NONE")) return 0; - if (inName==HX_CSTRING("NORMAL")) return 0; - if (inName==HX_CSTRING("OPENGL")) return 0; - if (inName==HX_CSTRING("VERTICAL")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic LineScaleMode_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("HORIZONTAL")) return HORIZONTAL; - if (inName==HX_CSTRING("NONE")) return NONE; - if (inName==HX_CSTRING("NORMAL")) return NORMAL; - if (inName==HX_CSTRING("OPENGL")) return OPENGL; - if (inName==HX_CSTRING("VERTICAL")) return VERTICAL; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NORMAL"), - HX_CSTRING("NONE"), - HX_CSTRING("VERTICAL"), - HX_CSTRING("HORIZONTAL"), - HX_CSTRING("OPENGL"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(LineScaleMode_obj::HORIZONTAL,"HORIZONTAL"); - HX_MARK_MEMBER_NAME(LineScaleMode_obj::NONE,"NONE"); - HX_MARK_MEMBER_NAME(LineScaleMode_obj::NORMAL,"NORMAL"); - HX_MARK_MEMBER_NAME(LineScaleMode_obj::OPENGL,"OPENGL"); - HX_MARK_MEMBER_NAME(LineScaleMode_obj::VERTICAL,"VERTICAL"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::HORIZONTAL,"HORIZONTAL"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::NONE,"NONE"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::NORMAL,"NORMAL"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::OPENGL,"OPENGL"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::VERTICAL,"VERTICAL"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class LineScaleMode_obj::__mClass; - -Dynamic __Create_LineScaleMode_obj() { return new LineScaleMode_obj; } - -void LineScaleMode_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.LineScaleMode"), hx::TCanCast< LineScaleMode_obj >,sStaticFields,sMemberFields, - &__Create_LineScaleMode_obj, &__Create, - &super::__SGetClass(), &CreateLineScaleMode_obj, sMarkStatics, sVisitStatic); -} - -void LineScaleMode_obj::__boot() -{ -Static(HORIZONTAL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("HORIZONTAL"),3); -Static(NONE) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("NONE"),1); -Static(NORMAL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("NORMAL"),0); -Static(OPENGL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("OPENGL"),4); -Static(VERTICAL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("VERTICAL"),2); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/ManagedStage.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/ManagedStage.cpp deleted file mode 100644 index e8e4be9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/ManagedStage.cpp +++ /dev/null @@ -1,581 +0,0 @@ -#include - -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_ManagedStage -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace display{ - -Void ManagedStage_obj::__construct(int inWidth,int inHeight,hx::Null< int > __o_inFlags) -{ -HX_STACK_PUSH("ManagedStage::new","neash/display/ManagedStage.hx",42); -int inFlags = __o_inFlags.Default(0); -{ - HX_STACK_LINE(42) - super::__construct(::neash::display::ManagedStage_obj::nme_managed_stage_create(inWidth,inHeight,inFlags),inWidth,inHeight); -} -; - return null(); -} - -ManagedStage_obj::~ManagedStage_obj() { } - -Dynamic ManagedStage_obj::__CreateEmpty() { return new ManagedStage_obj; } -hx::ObjectPtr< ManagedStage_obj > ManagedStage_obj::__new(int inWidth,int inHeight,hx::Null< int > __o_inFlags) -{ hx::ObjectPtr< ManagedStage_obj > result = new ManagedStage_obj(); - result->__construct(inWidth,inHeight,__o_inFlags); - return result;} - -Dynamic ManagedStage_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ManagedStage_obj > result = new ManagedStage_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -HX_BEGIN_DEFAULT_FUNC(__default_setNextWake,ManagedStage_obj) -Void run(Float inDelay){ -{ - HX_STACK_PUSH("ManagedStage::setNextWake","neash/display/ManagedStage.hx",100); - HX_STACK_THIS(this); - HX_STACK_ARG(inDelay,"inDelay"); - } -return null(); -} -HX_END_LOCAL_FUNC1((void)) -HX_END_DEFAULT_FUNC - -Void ManagedStage_obj::sendQuit( ){ -{ - HX_STACK_PUSH("ManagedStage::sendQuit","neash/display/ManagedStage.hx",94); - HX_STACK_THIS(this); - struct _Function_1_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","neash/display/ManagedStage.hx",95); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("type") , (int)10,false); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(94) - this->pumpEvent(_Function_1_1::Block()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ManagedStage_obj,sendQuit,(void)) - -Void ManagedStage_obj::resize( int inWidth,int inHeight){ -{ - HX_STACK_PUSH("ManagedStage::resize","neash/display/ManagedStage.hx",88); - HX_STACK_THIS(this); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - struct _Function_1_1{ - inline static Dynamic Block( int &inWidth,int &inHeight){ - HX_STACK_PUSH("*::closure","neash/display/ManagedStage.hx",89); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("type") , (int)8,false); - __result->Add(HX_CSTRING("x") , inWidth,false); - __result->Add(HX_CSTRING("y") , inHeight,false); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(88) - this->pumpEvent(_Function_1_1::Block(inWidth,inHeight)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ManagedStage_obj,resize,(void)) - -Void ManagedStage_obj::pumpEvent( Dynamic inEvent){ -{ - HX_STACK_PUSH("ManagedStage::pumpEvent","neash/display/ManagedStage.hx",82); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(82) - ::neash::display::ManagedStage_obj::nme_managed_stage_pump_event(this->nmeHandle,inEvent); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ManagedStage_obj,pumpEvent,(void)) - -Void ManagedStage_obj::nmeRender( bool inSendEnterFrame){ -{ - HX_STACK_PUSH("ManagedStage::nmeRender","neash/display/ManagedStage.hx",74); - HX_STACK_THIS(this); - HX_STACK_ARG(inSendEnterFrame,"inSendEnterFrame"); - HX_STACK_LINE(75) - this->beginRender(); - HX_STACK_LINE(76) - this->super::nmeRender(inSendEnterFrame); - HX_STACK_LINE(77) - this->endRender(); - } -return null(); -} - - -Float ManagedStage_obj::nmeDoProcessStageEvent( Dynamic inEvent){ - HX_STACK_PUSH("ManagedStage::nmeDoProcessStageEvent","neash/display/ManagedStage.hx",60); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(61) - this->nmePollTimers(); - HX_STACK_LINE(63) - Float wake = this->super::nmeDoProcessStageEvent(inEvent); HX_STACK_VAR(wake,"wake"); - HX_STACK_LINE(64) - this->setNextWake(wake); - HX_STACK_LINE(66) - return wake; -} - - -HX_BEGIN_DEFAULT_FUNC(__default_endRender,ManagedStage_obj) -Void run(){ -{ - HX_STACK_PUSH("ManagedStage::endRender","neash/display/ManagedStage.hx",54); - HX_STACK_THIS(this); - } -return null(); -} -HX_END_LOCAL_FUNC0((void)) -HX_END_DEFAULT_FUNC - -HX_BEGIN_DEFAULT_FUNC(__default_beginRender,ManagedStage_obj) -Void run(){ -{ - HX_STACK_PUSH("ManagedStage::beginRender","neash/display/ManagedStage.hx",48); - HX_STACK_THIS(this); - } -return null(); -} -HX_END_LOCAL_FUNC0((void)) -HX_END_DEFAULT_FUNC - -int ManagedStage_obj::etUnknown; - -int ManagedStage_obj::etKeyDown; - -int ManagedStage_obj::etChar; - -int ManagedStage_obj::etKeyUp; - -int ManagedStage_obj::etMouseMove; - -int ManagedStage_obj::etMouseDown; - -int ManagedStage_obj::etMouseClick; - -int ManagedStage_obj::etMouseUp; - -int ManagedStage_obj::etResize; - -int ManagedStage_obj::etPoll; - -int ManagedStage_obj::etQuit; - -int ManagedStage_obj::etFocus; - -int ManagedStage_obj::etShouldRotate; - -int ManagedStage_obj::etDestroyHandler; - -int ManagedStage_obj::etRedraw; - -int ManagedStage_obj::etTouchBegin; - -int ManagedStage_obj::etTouchMove; - -int ManagedStage_obj::etTouchEnd; - -int ManagedStage_obj::etTouchTap; - -int ManagedStage_obj::etChange; - -int ManagedStage_obj::efLeftDown; - -int ManagedStage_obj::efShiftDown; - -int ManagedStage_obj::efCtrlDown; - -int ManagedStage_obj::efAltDown; - -int ManagedStage_obj::efCommandDown; - -int ManagedStage_obj::efMiddleDown; - -int ManagedStage_obj::efRightDown; - -int ManagedStage_obj::efLocationRight; - -int ManagedStage_obj::efPrimaryTouch; - -Dynamic ManagedStage_obj::nme_managed_stage_create; - -Dynamic ManagedStage_obj::nme_managed_stage_pump_event; - - -ManagedStage_obj::ManagedStage_obj() -{ - setNextWake = new __default_setNextWake(this); - endRender = new __default_endRender(this); - beginRender = new __default_beginRender(this); -} - -void ManagedStage_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ManagedStage); - HX_MARK_MEMBER_NAME(setNextWake,"setNextWake"); - HX_MARK_MEMBER_NAME(endRender,"endRender"); - HX_MARK_MEMBER_NAME(beginRender,"beginRender"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ManagedStage_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(setNextWake,"setNextWake"); - HX_VISIT_MEMBER_NAME(endRender,"endRender"); - HX_VISIT_MEMBER_NAME(beginRender,"beginRender"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ManagedStage_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"etChar") ) { return etChar; } - if (HX_FIELD_EQ(inName,"etPoll") ) { return etPoll; } - if (HX_FIELD_EQ(inName,"etQuit") ) { return etQuit; } - if (HX_FIELD_EQ(inName,"resize") ) { return resize_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"etKeyUp") ) { return etKeyUp; } - if (HX_FIELD_EQ(inName,"etFocus") ) { return etFocus; } - break; - case 8: - if (HX_FIELD_EQ(inName,"etResize") ) { return etResize; } - if (HX_FIELD_EQ(inName,"etRedraw") ) { return etRedraw; } - if (HX_FIELD_EQ(inName,"etChange") ) { return etChange; } - if (HX_FIELD_EQ(inName,"sendQuit") ) { return sendQuit_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"etUnknown") ) { return etUnknown; } - if (HX_FIELD_EQ(inName,"etKeyDown") ) { return etKeyDown; } - if (HX_FIELD_EQ(inName,"etMouseUp") ) { return etMouseUp; } - if (HX_FIELD_EQ(inName,"efAltDown") ) { return efAltDown; } - if (HX_FIELD_EQ(inName,"pumpEvent") ) { return pumpEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeRender") ) { return nmeRender_dyn(); } - if (HX_FIELD_EQ(inName,"endRender") ) { return endRender; } - break; - case 10: - if (HX_FIELD_EQ(inName,"etTouchEnd") ) { return etTouchEnd; } - if (HX_FIELD_EQ(inName,"etTouchTap") ) { return etTouchTap; } - if (HX_FIELD_EQ(inName,"efLeftDown") ) { return efLeftDown; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { return efCtrlDown; } - break; - case 11: - if (HX_FIELD_EQ(inName,"etMouseMove") ) { return etMouseMove; } - if (HX_FIELD_EQ(inName,"etMouseDown") ) { return etMouseDown; } - if (HX_FIELD_EQ(inName,"etTouchMove") ) { return etTouchMove; } - if (HX_FIELD_EQ(inName,"efShiftDown") ) { return efShiftDown; } - if (HX_FIELD_EQ(inName,"efRightDown") ) { return efRightDown; } - if (HX_FIELD_EQ(inName,"setNextWake") ) { return setNextWake; } - if (HX_FIELD_EQ(inName,"beginRender") ) { return beginRender; } - break; - case 12: - if (HX_FIELD_EQ(inName,"etMouseClick") ) { return etMouseClick; } - if (HX_FIELD_EQ(inName,"etTouchBegin") ) { return etTouchBegin; } - if (HX_FIELD_EQ(inName,"efMiddleDown") ) { return efMiddleDown; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { return efCommandDown; } - break; - case 14: - if (HX_FIELD_EQ(inName,"etShouldRotate") ) { return etShouldRotate; } - if (HX_FIELD_EQ(inName,"efPrimaryTouch") ) { return efPrimaryTouch; } - break; - case 15: - if (HX_FIELD_EQ(inName,"efLocationRight") ) { return efLocationRight; } - break; - case 16: - if (HX_FIELD_EQ(inName,"etDestroyHandler") ) { return etDestroyHandler; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nmeDoProcessStageEvent") ) { return nmeDoProcessStageEvent_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_managed_stage_create") ) { return nme_managed_stage_create; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_managed_stage_pump_event") ) { return nme_managed_stage_pump_event; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ManagedStage_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"etChar") ) { etChar=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etPoll") ) { etPoll=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etQuit") ) { etQuit=inValue.Cast< int >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"etKeyUp") ) { etKeyUp=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etFocus") ) { etFocus=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"etResize") ) { etResize=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etRedraw") ) { etRedraw=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etChange") ) { etChange=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"etUnknown") ) { etUnknown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etKeyDown") ) { etKeyDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etMouseUp") ) { etMouseUp=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efAltDown") ) { efAltDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"endRender") ) { endRender=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"etTouchEnd") ) { etTouchEnd=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etTouchTap") ) { etTouchTap=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efLeftDown") ) { efLeftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { efCtrlDown=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"etMouseMove") ) { etMouseMove=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etMouseDown") ) { etMouseDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etTouchMove") ) { etTouchMove=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efShiftDown") ) { efShiftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efRightDown") ) { efRightDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"setNextWake") ) { setNextWake=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"beginRender") ) { beginRender=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"etMouseClick") ) { etMouseClick=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etTouchBegin") ) { etTouchBegin=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efMiddleDown") ) { efMiddleDown=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { efCommandDown=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"etShouldRotate") ) { etShouldRotate=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efPrimaryTouch") ) { efPrimaryTouch=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"efLocationRight") ) { efLocationRight=inValue.Cast< int >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"etDestroyHandler") ) { etDestroyHandler=inValue.Cast< int >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_managed_stage_create") ) { nme_managed_stage_create=inValue.Cast< Dynamic >(); return inValue; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_managed_stage_pump_event") ) { nme_managed_stage_pump_event=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ManagedStage_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("etUnknown"), - HX_CSTRING("etKeyDown"), - HX_CSTRING("etChar"), - HX_CSTRING("etKeyUp"), - HX_CSTRING("etMouseMove"), - HX_CSTRING("etMouseDown"), - HX_CSTRING("etMouseClick"), - HX_CSTRING("etMouseUp"), - HX_CSTRING("etResize"), - HX_CSTRING("etPoll"), - HX_CSTRING("etQuit"), - HX_CSTRING("etFocus"), - HX_CSTRING("etShouldRotate"), - HX_CSTRING("etDestroyHandler"), - HX_CSTRING("etRedraw"), - HX_CSTRING("etTouchBegin"), - HX_CSTRING("etTouchMove"), - HX_CSTRING("etTouchEnd"), - HX_CSTRING("etTouchTap"), - HX_CSTRING("etChange"), - HX_CSTRING("efLeftDown"), - HX_CSTRING("efShiftDown"), - HX_CSTRING("efCtrlDown"), - HX_CSTRING("efAltDown"), - HX_CSTRING("efCommandDown"), - HX_CSTRING("efMiddleDown"), - HX_CSTRING("efRightDown"), - HX_CSTRING("efLocationRight"), - HX_CSTRING("efPrimaryTouch"), - HX_CSTRING("nme_managed_stage_create"), - HX_CSTRING("nme_managed_stage_pump_event"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("setNextWake"), - HX_CSTRING("sendQuit"), - HX_CSTRING("resize"), - HX_CSTRING("pumpEvent"), - HX_CSTRING("nmeRender"), - HX_CSTRING("nmeDoProcessStageEvent"), - HX_CSTRING("endRender"), - HX_CSTRING("beginRender"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ManagedStage_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etUnknown,"etUnknown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etKeyDown,"etKeyDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etChar,"etChar"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etKeyUp,"etKeyUp"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etMouseMove,"etMouseMove"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etMouseDown,"etMouseDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etMouseClick,"etMouseClick"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etMouseUp,"etMouseUp"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etResize,"etResize"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etPoll,"etPoll"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etQuit,"etQuit"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etFocus,"etFocus"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etShouldRotate,"etShouldRotate"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etDestroyHandler,"etDestroyHandler"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etRedraw,"etRedraw"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etTouchBegin,"etTouchBegin"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etTouchMove,"etTouchMove"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etTouchEnd,"etTouchEnd"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etTouchTap,"etTouchTap"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etChange,"etChange"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efLeftDown,"efLeftDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efShiftDown,"efShiftDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efCtrlDown,"efCtrlDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efAltDown,"efAltDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efCommandDown,"efCommandDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efMiddleDown,"efMiddleDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efRightDown,"efRightDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efLocationRight,"efLocationRight"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efPrimaryTouch,"efPrimaryTouch"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::nme_managed_stage_create,"nme_managed_stage_create"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::nme_managed_stage_pump_event,"nme_managed_stage_pump_event"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ManagedStage_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etUnknown,"etUnknown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etKeyDown,"etKeyDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etChar,"etChar"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etKeyUp,"etKeyUp"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etMouseMove,"etMouseMove"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etMouseDown,"etMouseDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etMouseClick,"etMouseClick"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etMouseUp,"etMouseUp"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etResize,"etResize"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etPoll,"etPoll"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etQuit,"etQuit"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etFocus,"etFocus"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etShouldRotate,"etShouldRotate"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etDestroyHandler,"etDestroyHandler"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etRedraw,"etRedraw"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etTouchBegin,"etTouchBegin"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etTouchMove,"etTouchMove"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etTouchEnd,"etTouchEnd"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etTouchTap,"etTouchTap"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etChange,"etChange"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efLeftDown,"efLeftDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efShiftDown,"efShiftDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efCtrlDown,"efCtrlDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efAltDown,"efAltDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efCommandDown,"efCommandDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efMiddleDown,"efMiddleDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efRightDown,"efRightDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efLocationRight,"efLocationRight"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efPrimaryTouch,"efPrimaryTouch"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::nme_managed_stage_create,"nme_managed_stage_create"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::nme_managed_stage_pump_event,"nme_managed_stage_pump_event"); -}; - -Class ManagedStage_obj::__mClass; - -void ManagedStage_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.ManagedStage"), hx::TCanCast< ManagedStage_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ManagedStage_obj::__boot() -{ - etUnknown= (int)0; - etKeyDown= (int)1; - etChar= (int)2; - etKeyUp= (int)3; - etMouseMove= (int)4; - etMouseDown= (int)5; - etMouseClick= (int)6; - etMouseUp= (int)7; - etResize= (int)8; - etPoll= (int)9; - etQuit= (int)10; - etFocus= (int)11; - etShouldRotate= (int)12; - etDestroyHandler= (int)13; - etRedraw= (int)14; - etTouchBegin= (int)15; - etTouchMove= (int)16; - etTouchEnd= (int)17; - etTouchTap= (int)18; - etChange= (int)19; - efLeftDown= (int)1; - efShiftDown= (int)2; - efCtrlDown= (int)4; - efAltDown= (int)8; - efCommandDown= (int)16; - efMiddleDown= (int)32; - efRightDown= (int)64; - efLocationRight= (int)16384; - efPrimaryTouch= (int)32768; - nme_managed_stage_create= ::neash::Loader_obj::load(HX_CSTRING("nme_managed_stage_create"),(int)2); - nme_managed_stage_pump_event= ::neash::Loader_obj::load(HX_CSTRING("nme_managed_stage_pump_event"),(int)2); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/MovieClip.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/MovieClip.cpp deleted file mode 100644 index e4aa4e1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/MovieClip.cpp +++ /dev/null @@ -1,270 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_MovieClip -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace display{ - -Void MovieClip_obj::__construct() -{ -HX_STACK_PUSH("MovieClip::new","neash/display/MovieClip.hx",17); -{ - HX_STACK_LINE(18) - super::__construct(); - HX_STACK_LINE(19) - this->mCurrentFrame = (int)0; - HX_STACK_LINE(20) - this->mTotalFrames = (int)0; -} -; - return null(); -} - -MovieClip_obj::~MovieClip_obj() { } - -Dynamic MovieClip_obj::__CreateEmpty() { return new MovieClip_obj; } -hx::ObjectPtr< MovieClip_obj > MovieClip_obj::__new() -{ hx::ObjectPtr< MovieClip_obj > result = new MovieClip_obj(); - result->__construct(); - return result;} - -Dynamic MovieClip_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< MovieClip_obj > result = new MovieClip_obj(); - result->__construct(); - return result;} - -int MovieClip_obj::nmeGetTotalFrames( ){ - HX_STACK_PUSH("MovieClip::nmeGetTotalFrames","neash/display/MovieClip.hx",60); - HX_STACK_THIS(this); - HX_STACK_LINE(60) - return this->mTotalFrames; -} - - -HX_DEFINE_DYNAMIC_FUNC0(MovieClip_obj,nmeGetTotalFrames,return ) - -int MovieClip_obj::nmeGetCurrentFrame( ){ - HX_STACK_PUSH("MovieClip::nmeGetCurrentFrame","neash/display/MovieClip.hx",59); - HX_STACK_THIS(this); - HX_STACK_LINE(59) - return this->mCurrentFrame; -} - - -HX_DEFINE_DYNAMIC_FUNC0(MovieClip_obj,nmeGetCurrentFrame,return ) - -Void MovieClip_obj::stop( ){ -{ - HX_STACK_PUSH("MovieClip::stop","neash/display/MovieClip.hx",49); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(MovieClip_obj,stop,(void)) - -Void MovieClip_obj::play( ){ -{ - HX_STACK_PUSH("MovieClip::play","neash/display/MovieClip.hx",43); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(MovieClip_obj,play,(void)) - -::String MovieClip_obj::nmeGetType( ){ - HX_STACK_PUSH("MovieClip::nmeGetType","neash/display/MovieClip.hx",37); - HX_STACK_THIS(this); - HX_STACK_LINE(37) - return HX_CSTRING("MovieClip"); -} - - -Void MovieClip_obj::gotoAndStop( Dynamic frame,::String scene){ -{ - HX_STACK_PUSH("MovieClip::gotoAndStop","neash/display/MovieClip.hx",31); - HX_STACK_THIS(this); - HX_STACK_ARG(frame,"frame"); - HX_STACK_ARG(scene,"scene"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(MovieClip_obj,gotoAndStop,(void)) - -Void MovieClip_obj::gotoAndPlay( Dynamic frame,::String scene){ -{ - HX_STACK_PUSH("MovieClip::gotoAndPlay","neash/display/MovieClip.hx",25); - HX_STACK_THIS(this); - HX_STACK_ARG(frame,"frame"); - HX_STACK_ARG(scene,"scene"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(MovieClip_obj,gotoAndPlay,(void)) - - -MovieClip_obj::MovieClip_obj() -{ -} - -void MovieClip_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(MovieClip); - HX_MARK_MEMBER_NAME(mTotalFrames,"mTotalFrames"); - HX_MARK_MEMBER_NAME(mCurrentFrame,"mCurrentFrame"); - HX_MARK_MEMBER_NAME(totalFrames,"totalFrames"); - HX_MARK_MEMBER_NAME(framesLoaded,"framesLoaded"); - HX_MARK_MEMBER_NAME(enabled,"enabled"); - HX_MARK_MEMBER_NAME(currentFrame,"currentFrame"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void MovieClip_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mTotalFrames,"mTotalFrames"); - HX_VISIT_MEMBER_NAME(mCurrentFrame,"mCurrentFrame"); - HX_VISIT_MEMBER_NAME(totalFrames,"totalFrames"); - HX_VISIT_MEMBER_NAME(framesLoaded,"framesLoaded"); - HX_VISIT_MEMBER_NAME(enabled,"enabled"); - HX_VISIT_MEMBER_NAME(currentFrame,"currentFrame"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic MovieClip_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"stop") ) { return stop_dyn(); } - if (HX_FIELD_EQ(inName,"play") ) { return play_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"enabled") ) { return enabled; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeGetType") ) { return nmeGetType_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"gotoAndStop") ) { return gotoAndStop_dyn(); } - if (HX_FIELD_EQ(inName,"gotoAndPlay") ) { return gotoAndPlay_dyn(); } - if (HX_FIELD_EQ(inName,"totalFrames") ) { return inCallProp ? nmeGetTotalFrames() : totalFrames; } - break; - case 12: - if (HX_FIELD_EQ(inName,"mTotalFrames") ) { return mTotalFrames; } - if (HX_FIELD_EQ(inName,"framesLoaded") ) { return inCallProp ? nmeGetTotalFrames() : framesLoaded; } - if (HX_FIELD_EQ(inName,"currentFrame") ) { return inCallProp ? nmeGetCurrentFrame() : currentFrame; } - break; - case 13: - if (HX_FIELD_EQ(inName,"mCurrentFrame") ) { return mCurrentFrame; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeGetTotalFrames") ) { return nmeGetTotalFrames_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"nmeGetCurrentFrame") ) { return nmeGetCurrentFrame_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic MovieClip_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"enabled") ) { enabled=inValue.Cast< bool >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"totalFrames") ) { totalFrames=inValue.Cast< int >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"mTotalFrames") ) { mTotalFrames=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"framesLoaded") ) { framesLoaded=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"currentFrame") ) { currentFrame=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"mCurrentFrame") ) { mCurrentFrame=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void MovieClip_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mTotalFrames")); - outFields->push(HX_CSTRING("mCurrentFrame")); - outFields->push(HX_CSTRING("totalFrames")); - outFields->push(HX_CSTRING("framesLoaded")); - outFields->push(HX_CSTRING("enabled")); - outFields->push(HX_CSTRING("currentFrame")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetTotalFrames"), - HX_CSTRING("nmeGetCurrentFrame"), - HX_CSTRING("stop"), - HX_CSTRING("play"), - HX_CSTRING("nmeGetType"), - HX_CSTRING("gotoAndStop"), - HX_CSTRING("gotoAndPlay"), - HX_CSTRING("mTotalFrames"), - HX_CSTRING("mCurrentFrame"), - HX_CSTRING("totalFrames"), - HX_CSTRING("framesLoaded"), - HX_CSTRING("enabled"), - HX_CSTRING("currentFrame"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(MovieClip_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(MovieClip_obj::__mClass,"__mClass"); -}; - -Class MovieClip_obj::__mClass; - -void MovieClip_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.MovieClip"), hx::TCanCast< MovieClip_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void MovieClip_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/OptimizedPerlin.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/OptimizedPerlin.cpp deleted file mode 100644 index f7cf19f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/OptimizedPerlin.cpp +++ /dev/null @@ -1,594 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_OptimizedPerlin -#include -#endif -namespace neash{ -namespace display{ - -Void OptimizedPerlin_obj::__construct(hx::Null< int > __o_seed,hx::Null< int > __o_octaves,hx::Null< Float > __o_falloff) -{ -HX_STACK_PUSH("OptimizedPerlin::new","neash/display/BitmapData.hx",582); -int seed = __o_seed.Default(123); -int octaves = __o_octaves.Default(4); -Float falloff = __o_falloff.Default(0.5); -{ - HX_STACK_LINE(583) - this->baseFactor = 0.015625; - HX_STACK_LINE(584) - this->seedOffset(seed); - HX_STACK_LINE(585) - this->octFreqPers(falloff); -} -; - return null(); -} - -OptimizedPerlin_obj::~OptimizedPerlin_obj() { } - -Dynamic OptimizedPerlin_obj::__CreateEmpty() { return new OptimizedPerlin_obj; } -hx::ObjectPtr< OptimizedPerlin_obj > OptimizedPerlin_obj::__new(hx::Null< int > __o_seed,hx::Null< int > __o_octaves,hx::Null< Float > __o_falloff) -{ hx::ObjectPtr< OptimizedPerlin_obj > result = new OptimizedPerlin_obj(); - result->__construct(__o_seed,__o_octaves,__o_falloff); - return result;} - -Dynamic OptimizedPerlin_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< OptimizedPerlin_obj > result = new OptimizedPerlin_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -Void OptimizedPerlin_obj::seedOffset( int iSeed){ -{ - HX_STACK_PUSH("OptimizedPerlin::seedOffset","neash/display/BitmapData.hx",722); - HX_STACK_THIS(this); - HX_STACK_ARG(iSeed,"iSeed"); - HX_STACK_LINE(728) - this->iXoffset = iSeed = ::Std_obj::_int(hx::Mod((iSeed * 16807.),(int)2147483647)); - HX_STACK_LINE(729) - this->iYoffset = iSeed = ::Std_obj::_int(hx::Mod((iSeed * 16807.),(int)2147483647)); - HX_STACK_LINE(730) - this->iZoffset = iSeed = ::Std_obj::_int(hx::Mod((iSeed * 16807.),(int)2147483647)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(OptimizedPerlin_obj,seedOffset,(void)) - -Void OptimizedPerlin_obj::octFreqPers( Float fPersistence){ -{ - HX_STACK_PUSH("OptimizedPerlin::octFreqPers","neash/display/BitmapData.hx",703); - HX_STACK_THIS(this); - HX_STACK_ARG(fPersistence,"fPersistence"); - HX_STACK_LINE(704) - Float fFreq; HX_STACK_VAR(fFreq,"fFreq"); - Float fPers; HX_STACK_VAR(fPers,"fPers"); - HX_STACK_LINE(706) - this->aOctFreq = Array_obj< Float >::__new(); - HX_STACK_LINE(707) - this->aOctPers = Array_obj< Float >::__new(); - HX_STACK_LINE(708) - this->fPersMax = (int)0; - HX_STACK_LINE(710) - { - HX_STACK_LINE(710) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->octaves; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(710) - while(((_g1 < _g))){ - HX_STACK_LINE(710) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(711) - fFreq = ::Math_obj::pow((int)2,i); - HX_STACK_LINE(712) - fPers = ::Math_obj::pow(fPersistence,i); - HX_STACK_LINE(713) - hx::AddEq(this->fPersMax,fPers); - HX_STACK_LINE(714) - this->aOctFreq->push(fFreq); - HX_STACK_LINE(715) - this->aOctPers->push(fPers); - } - } - HX_STACK_LINE(718) - this->fPersMax = (Float((int)1) / Float(this->fPersMax)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(OptimizedPerlin_obj,octFreqPers,(void)) - -Void OptimizedPerlin_obj::fill( ::neash::display::BitmapData bitmap,Float _x,Float _y,Float _z,Dynamic _){ -{ - HX_STACK_PUSH("OptimizedPerlin::fill","neash/display/BitmapData.hx",590); - HX_STACK_THIS(this); - HX_STACK_ARG(bitmap,"bitmap"); - HX_STACK_ARG(_x,"_x"); - HX_STACK_ARG(_y,"_y"); - HX_STACK_ARG(_z,"_z"); - HX_STACK_ARG(_,"_"); - HX_STACK_LINE(591) - Float baseX; HX_STACK_VAR(baseX,"baseX"); - HX_STACK_LINE(593) - baseX = ((_x * this->baseFactor) + this->iXoffset); - HX_STACK_LINE(594) - _y = ((_y * this->baseFactor) + this->iYoffset); - HX_STACK_LINE(595) - _z = ((_z * this->baseFactor) + this->iZoffset); - HX_STACK_LINE(597) - int width = bitmap->nmeGetWidth(); HX_STACK_VAR(width,"width"); - HX_STACK_LINE(598) - int height = bitmap->nmeGetHeight(); HX_STACK_VAR(height,"height"); - HX_STACK_LINE(600) - Array< int > p = ::neash::display::OptimizedPerlin_obj::P; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(601) - int octaves = this->octaves; HX_STACK_VAR(octaves,"octaves"); - HX_STACK_LINE(602) - Array< Float > aOctFreq = this->aOctFreq; HX_STACK_VAR(aOctFreq,"aOctFreq"); - HX_STACK_LINE(603) - Array< Float > aOctPers = this->aOctPers; HX_STACK_VAR(aOctPers,"aOctPers"); - HX_STACK_LINE(605) - { - HX_STACK_LINE(605) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(605) - while(((_g < height))){ - HX_STACK_LINE(605) - int py = (_g)++; HX_STACK_VAR(py,"py"); - HX_STACK_LINE(607) - _x = baseX; - HX_STACK_LINE(609) - { - HX_STACK_LINE(609) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(609) - while(((_g1 < width))){ - HX_STACK_LINE(609) - int px = (_g1)++; HX_STACK_VAR(px,"px"); - HX_STACK_LINE(611) - Float s = 0.; HX_STACK_VAR(s,"s"); - HX_STACK_LINE(613) - { - HX_STACK_LINE(613) - int _g2 = (int)0; HX_STACK_VAR(_g2,"_g2"); - HX_STACK_LINE(613) - while(((_g2 < octaves))){ - HX_STACK_LINE(613) - int i = (_g2)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(615) - Float fFreq = aOctFreq->__get(i); HX_STACK_VAR(fFreq,"fFreq"); - HX_STACK_LINE(616) - Float fPers = aOctPers->__get(i); HX_STACK_VAR(fPers,"fPers"); - HX_STACK_LINE(618) - Float x = (_x * fFreq); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(619) - Float y = (_y * fFreq); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(620) - Float z = (_z * fFreq); HX_STACK_VAR(z,"z"); - HX_STACK_LINE(622) - Float xf = (x - hx::Mod(x,(int)1)); HX_STACK_VAR(xf,"xf"); - HX_STACK_LINE(623) - Float yf = (y - hx::Mod(y,(int)1)); HX_STACK_VAR(yf,"yf"); - HX_STACK_LINE(624) - Float zf = (z - hx::Mod(z,(int)1)); HX_STACK_VAR(zf,"zf"); - HX_STACK_LINE(626) - int X = (int(::Std_obj::_int(xf)) & int((int)255)); HX_STACK_VAR(X,"X"); - HX_STACK_LINE(627) - int Y = (int(::Std_obj::_int(yf)) & int((int)255)); HX_STACK_VAR(Y,"Y"); - HX_STACK_LINE(628) - int Z = (int(::Std_obj::_int(zf)) & int((int)255)); HX_STACK_VAR(Z,"Z"); - HX_STACK_LINE(630) - hx::SubEq(x,xf); - HX_STACK_LINE(631) - hx::SubEq(y,yf); - HX_STACK_LINE(632) - hx::SubEq(z,zf); - HX_STACK_LINE(634) - Float u = (((x * x) * x) * (((x * (((x * (int)6) - (int)15))) + (int)10))); HX_STACK_VAR(u,"u"); - HX_STACK_LINE(635) - Float v = (((y * y) * y) * (((y * (((y * (int)6) - (int)15))) + (int)10))); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(636) - Float w = (((z * z) * z) * (((z * (((z * (int)6) - (int)15))) + (int)10))); HX_STACK_VAR(w,"w"); - HX_STACK_LINE(638) - int A = (p->__get(X) + Y); HX_STACK_VAR(A,"A"); - HX_STACK_LINE(639) - int AA = (p->__get(A) + Z); HX_STACK_VAR(AA,"AA"); - HX_STACK_LINE(640) - int AB = (p->__get((A + (int)1)) + Z); HX_STACK_VAR(AB,"AB"); - HX_STACK_LINE(641) - int B = (p->__get((X + (int)1)) + Y); HX_STACK_VAR(B,"B"); - HX_STACK_LINE(642) - int BA = (p->__get(B) + Z); HX_STACK_VAR(BA,"BA"); - HX_STACK_LINE(643) - int BB = (p->__get((B + (int)1)) + Z); HX_STACK_VAR(BB,"BB"); - HX_STACK_LINE(645) - Float x1 = (x - (int)1); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(646) - Float y1 = (y - (int)1); HX_STACK_VAR(y1,"y1"); - HX_STACK_LINE(647) - Float z1 = (z - (int)1); HX_STACK_VAR(z1,"z1"); - HX_STACK_LINE(649) - int hash = (int(p->__get((BB + (int)1))) & int((int)15)); HX_STACK_VAR(hash,"hash"); - struct _Function_7_1{ - inline static Float Block( Float &y1,Float &x1,int &hash){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",650); - { - HX_STACK_LINE(650) - return ( (((hash < (int)8))) ? Float(x1) : Float(y1) ); - } - return null(); - } - }; - struct _Function_7_2{ - inline static Float Block( Float &y1,Float &x1,int &hash,Float &z1){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",650); - { - HX_STACK_LINE(650) - return ( (((hash < (int)4))) ? Float(y1) : Float(( (((hash == (int)12))) ? Float(x1) : Float(z1) )) ); - } - return null(); - } - }; - HX_STACK_LINE(650) - Float g1 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_1::Block(y1,x1,hash)) : Float(( (((hash < (int)8))) ? Float(-(x1)) : Float(-(y1)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_2::Block(y1,x1,hash,z1)) : Float(( (((hash < (int)4))) ? Float(-(y1)) : Float(( (((hash == (int)14))) ? Float(-(x1)) : Float(-(z1)) )) )) ))); HX_STACK_VAR(g1,"g1"); - HX_STACK_LINE(652) - hash = (int(p->__get((AB + (int)1))) & int((int)15)); - struct _Function_7_3{ - inline static Float Block( Float &y1,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",653); - { - HX_STACK_LINE(653) - return ( (((hash < (int)8))) ? Float(x) : Float(y1) ); - } - return null(); - } - }; - struct _Function_7_4{ - inline static Float Block( Float &y1,int &hash,Float &x,Float &z1){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",653); - { - HX_STACK_LINE(653) - return ( (((hash < (int)4))) ? Float(y1) : Float(( (((hash == (int)12))) ? Float(x) : Float(z1) )) ); - } - return null(); - } - }; - HX_STACK_LINE(653) - Float g2 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_3::Block(y1,hash,x)) : Float(( (((hash < (int)8))) ? Float(-(x)) : Float(-(y1)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_4::Block(y1,hash,x,z1)) : Float(( (((hash < (int)4))) ? Float(-(y1)) : Float(( (((hash == (int)14))) ? Float(-(x)) : Float(-(z1)) )) )) ))); HX_STACK_VAR(g2,"g2"); - HX_STACK_LINE(655) - hash = (int(p->__get((BA + (int)1))) & int((int)15)); - struct _Function_7_5{ - inline static Float Block( Float &x1,Float &y,int &hash){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",656); - { - HX_STACK_LINE(656) - return ( (((hash < (int)8))) ? Float(x1) : Float(y) ); - } - return null(); - } - }; - struct _Function_7_6{ - inline static Float Block( Float &y,Float &x1,int &hash,Float &z1){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",656); - { - HX_STACK_LINE(656) - return ( (((hash < (int)4))) ? Float(y) : Float(( (((hash == (int)12))) ? Float(x1) : Float(z1) )) ); - } - return null(); - } - }; - HX_STACK_LINE(656) - Float g3 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_5::Block(x1,y,hash)) : Float(( (((hash < (int)8))) ? Float(-(x1)) : Float(-(y)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_6::Block(y,x1,hash,z1)) : Float(( (((hash < (int)4))) ? Float(-(y)) : Float(( (((hash == (int)14))) ? Float(-(x1)) : Float(-(z1)) )) )) ))); HX_STACK_VAR(g3,"g3"); - HX_STACK_LINE(658) - hash = (int(p->__get((AA + (int)1))) & int((int)15)); - struct _Function_7_7{ - inline static Float Block( Float &y,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",659); - { - HX_STACK_LINE(659) - return ( (((hash < (int)8))) ? Float(x) : Float(y) ); - } - return null(); - } - }; - struct _Function_7_8{ - inline static Float Block( Float &y,int &hash,Float &x,Float &z1){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",659); - { - HX_STACK_LINE(659) - return ( (((hash < (int)4))) ? Float(y) : Float(( (((hash == (int)12))) ? Float(x) : Float(z1) )) ); - } - return null(); - } - }; - HX_STACK_LINE(659) - Float g4 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_7::Block(y,hash,x)) : Float(( (((hash < (int)8))) ? Float(-(x)) : Float(-(y)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_8::Block(y,hash,x,z1)) : Float(( (((hash < (int)4))) ? Float(-(y)) : Float(( (((hash == (int)14))) ? Float(-(x)) : Float(-(z1)) )) )) ))); HX_STACK_VAR(g4,"g4"); - HX_STACK_LINE(661) - hash = (int(p->__get(BB)) & int((int)15)); - struct _Function_7_9{ - inline static Float Block( Float &y1,Float &x1,int &hash){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",662); - { - HX_STACK_LINE(662) - return ( (((hash < (int)8))) ? Float(x1) : Float(y1) ); - } - return null(); - } - }; - struct _Function_7_10{ - inline static Float Block( Float &y1,Float &z,Float &x1,int &hash){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",662); - { - HX_STACK_LINE(662) - return ( (((hash < (int)4))) ? Float(y1) : Float(( (((hash == (int)12))) ? Float(x1) : Float(z) )) ); - } - return null(); - } - }; - HX_STACK_LINE(662) - Float g5 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_9::Block(y1,x1,hash)) : Float(( (((hash < (int)8))) ? Float(-(x1)) : Float(-(y1)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_10::Block(y1,z,x1,hash)) : Float(( (((hash < (int)4))) ? Float(-(y1)) : Float(( (((hash == (int)14))) ? Float(-(x1)) : Float(-(z)) )) )) ))); HX_STACK_VAR(g5,"g5"); - HX_STACK_LINE(664) - hash = (int(p->__get(AB)) & int((int)15)); - struct _Function_7_11{ - inline static Float Block( Float &y1,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",665); - { - HX_STACK_LINE(665) - return ( (((hash < (int)8))) ? Float(x) : Float(y1) ); - } - return null(); - } - }; - struct _Function_7_12{ - inline static Float Block( Float &y1,Float &z,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",665); - { - HX_STACK_LINE(665) - return ( (((hash < (int)4))) ? Float(y1) : Float(( (((hash == (int)12))) ? Float(x) : Float(z) )) ); - } - return null(); - } - }; - HX_STACK_LINE(665) - Float g6 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_11::Block(y1,hash,x)) : Float(( (((hash < (int)8))) ? Float(-(x)) : Float(-(y1)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_12::Block(y1,z,hash,x)) : Float(( (((hash < (int)4))) ? Float(-(y1)) : Float(( (((hash == (int)14))) ? Float(-(x)) : Float(-(z)) )) )) ))); HX_STACK_VAR(g6,"g6"); - HX_STACK_LINE(667) - hash = (int(p->__get(BA)) & int((int)15)); - struct _Function_7_13{ - inline static Float Block( Float &x1,Float &y,int &hash){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",668); - { - HX_STACK_LINE(668) - return ( (((hash < (int)8))) ? Float(x1) : Float(y) ); - } - return null(); - } - }; - struct _Function_7_14{ - inline static Float Block( Float &z,Float &y,Float &x1,int &hash){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",668); - { - HX_STACK_LINE(668) - return ( (((hash < (int)4))) ? Float(y) : Float(( (((hash == (int)12))) ? Float(x1) : Float(z) )) ); - } - return null(); - } - }; - HX_STACK_LINE(668) - Float g7 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_13::Block(x1,y,hash)) : Float(( (((hash < (int)8))) ? Float(-(x1)) : Float(-(y)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_14::Block(z,y,x1,hash)) : Float(( (((hash < (int)4))) ? Float(-(y)) : Float(( (((hash == (int)14))) ? Float(-(x1)) : Float(-(z)) )) )) ))); HX_STACK_VAR(g7,"g7"); - HX_STACK_LINE(670) - hash = (int(p->__get(AA)) & int((int)15)); - struct _Function_7_15{ - inline static Float Block( Float &y,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",671); - { - HX_STACK_LINE(671) - return ( (((hash < (int)8))) ? Float(x) : Float(y) ); - } - return null(); - } - }; - struct _Function_7_16{ - inline static Float Block( Float &z,Float &y,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",671); - { - HX_STACK_LINE(671) - return ( (((hash < (int)4))) ? Float(y) : Float(( (((hash == (int)12))) ? Float(x) : Float(z) )) ); - } - return null(); - } - }; - HX_STACK_LINE(671) - Float g8 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_15::Block(y,hash,x)) : Float(( (((hash < (int)8))) ? Float(-(x)) : Float(-(y)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_16::Block(z,y,hash,x)) : Float(( (((hash < (int)4))) ? Float(-(y)) : Float(( (((hash == (int)14))) ? Float(-(x)) : Float(-(z)) )) )) ))); HX_STACK_VAR(g8,"g8"); - HX_STACK_LINE(673) - hx::AddEq(g2,(u * ((g1 - g2)))); - HX_STACK_LINE(674) - hx::AddEq(g4,(u * ((g3 - g4)))); - HX_STACK_LINE(675) - hx::AddEq(g6,(u * ((g5 - g6)))); - HX_STACK_LINE(676) - hx::AddEq(g8,(u * ((g7 - g8)))); - HX_STACK_LINE(678) - hx::AddEq(g4,(v * ((g2 - g4)))); - HX_STACK_LINE(679) - hx::AddEq(g8,(v * ((g6 - g8)))); - HX_STACK_LINE(681) - hx::AddEq(s,(((g8 + (w * ((g4 - g8))))) * fPers)); - } - } - HX_STACK_LINE(684) - int color = ::Std_obj::_int(((((s * this->fPersMax) + (int)1)) * (int)128)); HX_STACK_VAR(color,"color"); - HX_STACK_LINE(689) - int pixel = (int((int((int((int)-16777216) | int((int(color) << int((int)16))))) | int((int(color) << int((int)8))))) | int(color)); HX_STACK_VAR(pixel,"pixel"); - HX_STACK_LINE(692) - bitmap->setPixel32(px,py,pixel); - HX_STACK_LINE(694) - hx::AddEq(_x,this->baseFactor); - } - } - HX_STACK_LINE(697) - hx::AddEq(_y,this->baseFactor); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(OptimizedPerlin_obj,fill,(void)) - -Array< int > OptimizedPerlin_obj::P; - - -OptimizedPerlin_obj::OptimizedPerlin_obj() -{ -} - -void OptimizedPerlin_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(OptimizedPerlin); - HX_MARK_MEMBER_NAME(baseFactor,"baseFactor"); - HX_MARK_MEMBER_NAME(iZoffset,"iZoffset"); - HX_MARK_MEMBER_NAME(iYoffset,"iYoffset"); - HX_MARK_MEMBER_NAME(iXoffset,"iXoffset"); - HX_MARK_MEMBER_NAME(fPersMax,"fPersMax"); - HX_MARK_MEMBER_NAME(aOctPers,"aOctPers"); - HX_MARK_MEMBER_NAME(aOctFreq,"aOctFreq"); - HX_MARK_MEMBER_NAME(octaves,"octaves"); - HX_MARK_END_CLASS(); -} - -void OptimizedPerlin_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(baseFactor,"baseFactor"); - HX_VISIT_MEMBER_NAME(iZoffset,"iZoffset"); - HX_VISIT_MEMBER_NAME(iYoffset,"iYoffset"); - HX_VISIT_MEMBER_NAME(iXoffset,"iXoffset"); - HX_VISIT_MEMBER_NAME(fPersMax,"fPersMax"); - HX_VISIT_MEMBER_NAME(aOctPers,"aOctPers"); - HX_VISIT_MEMBER_NAME(aOctFreq,"aOctFreq"); - HX_VISIT_MEMBER_NAME(octaves,"octaves"); -} - -Dynamic OptimizedPerlin_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"P") ) { return P; } - break; - case 4: - if (HX_FIELD_EQ(inName,"fill") ) { return fill_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"octaves") ) { return octaves; } - break; - case 8: - if (HX_FIELD_EQ(inName,"iZoffset") ) { return iZoffset; } - if (HX_FIELD_EQ(inName,"iYoffset") ) { return iYoffset; } - if (HX_FIELD_EQ(inName,"iXoffset") ) { return iXoffset; } - if (HX_FIELD_EQ(inName,"fPersMax") ) { return fPersMax; } - if (HX_FIELD_EQ(inName,"aOctPers") ) { return aOctPers; } - if (HX_FIELD_EQ(inName,"aOctFreq") ) { return aOctFreq; } - break; - case 10: - if (HX_FIELD_EQ(inName,"seedOffset") ) { return seedOffset_dyn(); } - if (HX_FIELD_EQ(inName,"baseFactor") ) { return baseFactor; } - break; - case 11: - if (HX_FIELD_EQ(inName,"octFreqPers") ) { return octFreqPers_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic OptimizedPerlin_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"P") ) { P=inValue.Cast< Array< int > >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"octaves") ) { octaves=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"iZoffset") ) { iZoffset=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"iYoffset") ) { iYoffset=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"iXoffset") ) { iXoffset=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"fPersMax") ) { fPersMax=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"aOctPers") ) { aOctPers=inValue.Cast< Array< Float > >(); return inValue; } - if (HX_FIELD_EQ(inName,"aOctFreq") ) { aOctFreq=inValue.Cast< Array< Float > >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"baseFactor") ) { baseFactor=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void OptimizedPerlin_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("baseFactor")); - outFields->push(HX_CSTRING("iZoffset")); - outFields->push(HX_CSTRING("iYoffset")); - outFields->push(HX_CSTRING("iXoffset")); - outFields->push(HX_CSTRING("fPersMax")); - outFields->push(HX_CSTRING("aOctPers")); - outFields->push(HX_CSTRING("aOctFreq")); - outFields->push(HX_CSTRING("octaves")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("P"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("seedOffset"), - HX_CSTRING("octFreqPers"), - HX_CSTRING("fill"), - HX_CSTRING("baseFactor"), - HX_CSTRING("iZoffset"), - HX_CSTRING("iYoffset"), - HX_CSTRING("iXoffset"), - HX_CSTRING("fPersMax"), - HX_CSTRING("aOctPers"), - HX_CSTRING("aOctFreq"), - HX_CSTRING("octaves"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(OptimizedPerlin_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(OptimizedPerlin_obj::P,"P"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(OptimizedPerlin_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(OptimizedPerlin_obj::P,"P"); -}; - -Class OptimizedPerlin_obj::__mClass; - -void OptimizedPerlin_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.OptimizedPerlin"), hx::TCanCast< OptimizedPerlin_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void OptimizedPerlin_obj::__boot() -{ - P= Array_obj< int >::__new().Add((int)151).Add((int)160).Add((int)137).Add((int)91).Add((int)90).Add((int)15).Add((int)131).Add((int)13).Add((int)201).Add((int)95).Add((int)96).Add((int)53).Add((int)194).Add((int)233).Add((int)7).Add((int)225).Add((int)140).Add((int)36).Add((int)103).Add((int)30).Add((int)69).Add((int)142).Add((int)8).Add((int)99).Add((int)37).Add((int)240).Add((int)21).Add((int)10).Add((int)23).Add((int)190).Add((int)6).Add((int)148).Add((int)247).Add((int)120).Add((int)234).Add((int)75).Add((int)0).Add((int)26).Add((int)197).Add((int)62).Add((int)94).Add((int)252).Add((int)219).Add((int)203).Add((int)117).Add((int)35).Add((int)11).Add((int)32).Add((int)57).Add((int)177).Add((int)33).Add((int)88).Add((int)237).Add((int)149).Add((int)56).Add((int)87).Add((int)174).Add((int)20).Add((int)125).Add((int)136).Add((int)171).Add((int)168).Add((int)68).Add((int)175).Add((int)74).Add((int)165).Add((int)71).Add((int)134).Add((int)139).Add((int)48).Add((int)27).Add((int)166).Add((int)77).Add((int)146).Add((int)158).Add((int)231).Add((int)83).Add((int)111).Add((int)229).Add((int)122).Add((int)60).Add((int)211).Add((int)133).Add((int)230).Add((int)220).Add((int)105).Add((int)92).Add((int)41).Add((int)55).Add((int)46).Add((int)245).Add((int)40).Add((int)244).Add((int)102).Add((int)143).Add((int)54).Add((int)65).Add((int)25).Add((int)63).Add((int)161).Add((int)1).Add((int)216).Add((int)80).Add((int)73).Add((int)209).Add((int)76).Add((int)132).Add((int)187).Add((int)208).Add((int)89).Add((int)18).Add((int)169).Add((int)200).Add((int)196).Add((int)135).Add((int)130).Add((int)116).Add((int)188).Add((int)159).Add((int)86).Add((int)164).Add((int)100).Add((int)109).Add((int)198).Add((int)173).Add((int)186).Add((int)3).Add((int)64).Add((int)52).Add((int)217).Add((int)226).Add((int)250).Add((int)124).Add((int)123).Add((int)5).Add((int)202).Add((int)38).Add((int)147).Add((int)118).Add((int)126).Add((int)255).Add((int)82).Add((int)85).Add((int)212).Add((int)207).Add((int)206).Add((int)59).Add((int)227).Add((int)47).Add((int)16).Add((int)58).Add((int)17).Add((int)182).Add((int)189).Add((int)28).Add((int)42).Add((int)223).Add((int)183).Add((int)170).Add((int)213).Add((int)119).Add((int)248).Add((int)152).Add((int)2).Add((int)44).Add((int)154).Add((int)163).Add((int)70).Add((int)221).Add((int)153).Add((int)101).Add((int)155).Add((int)167).Add((int)43).Add((int)172).Add((int)9).Add((int)129).Add((int)22).Add((int)39).Add((int)253).Add((int)19).Add((int)98).Add((int)108).Add((int)110).Add((int)79).Add((int)113).Add((int)224).Add((int)232).Add((int)178).Add((int)185).Add((int)112).Add((int)104).Add((int)218).Add((int)246).Add((int)97).Add((int)228).Add((int)251).Add((int)34).Add((int)242).Add((int)193).Add((int)238).Add((int)210).Add((int)144).Add((int)12).Add((int)191).Add((int)179).Add((int)162).Add((int)241).Add((int)81).Add((int)51).Add((int)145).Add((int)235).Add((int)249).Add((int)14).Add((int)239).Add((int)107).Add((int)49).Add((int)192).Add((int)214).Add((int)31).Add((int)181).Add((int)199).Add((int)106).Add((int)157).Add((int)184).Add((int)84).Add((int)204).Add((int)176).Add((int)115).Add((int)121).Add((int)50).Add((int)45).Add((int)127).Add((int)4).Add((int)150).Add((int)254).Add((int)138).Add((int)236).Add((int)205).Add((int)93).Add((int)222).Add((int)114).Add((int)67).Add((int)29).Add((int)24).Add((int)72).Add((int)243).Add((int)141).Add((int)128).Add((int)195).Add((int)78).Add((int)66).Add((int)215).Add((int)61).Add((int)156).Add((int)180).Add((int)151).Add((int)160).Add((int)137).Add((int)91).Add((int)90).Add((int)15).Add((int)131).Add((int)13).Add((int)201).Add((int)95).Add((int)96).Add((int)53).Add((int)194).Add((int)233).Add((int)7).Add((int)225).Add((int)140).Add((int)36).Add((int)103).Add((int)30).Add((int)69).Add((int)142).Add((int)8).Add((int)99).Add((int)37).Add((int)240).Add((int)21).Add((int)10).Add((int)23).Add((int)190).Add((int)6).Add((int)148).Add((int)247).Add((int)120).Add((int)234).Add((int)75).Add((int)0).Add((int)26).Add((int)197).Add((int)62).Add((int)94).Add((int)252).Add((int)219).Add((int)203).Add((int)117).Add((int)35).Add((int)11).Add((int)32).Add((int)57).Add((int)177).Add((int)33).Add((int)88).Add((int)237).Add((int)149).Add((int)56).Add((int)87).Add((int)174).Add((int)20).Add((int)125).Add((int)136).Add((int)171).Add((int)168).Add((int)68).Add((int)175).Add((int)74).Add((int)165).Add((int)71).Add((int)134).Add((int)139).Add((int)48).Add((int)27).Add((int)166).Add((int)77).Add((int)146).Add((int)158).Add((int)231).Add((int)83).Add((int)111).Add((int)229).Add((int)122).Add((int)60).Add((int)211).Add((int)133).Add((int)230).Add((int)220).Add((int)105).Add((int)92).Add((int)41).Add((int)55).Add((int)46).Add((int)245).Add((int)40).Add((int)244).Add((int)102).Add((int)143).Add((int)54).Add((int)65).Add((int)25).Add((int)63).Add((int)161).Add((int)1).Add((int)216).Add((int)80).Add((int)73).Add((int)209).Add((int)76).Add((int)132).Add((int)187).Add((int)208).Add((int)89).Add((int)18).Add((int)169).Add((int)200).Add((int)196).Add((int)135).Add((int)130).Add((int)116).Add((int)188).Add((int)159).Add((int)86).Add((int)164).Add((int)100).Add((int)109).Add((int)198).Add((int)173).Add((int)186).Add((int)3).Add((int)64).Add((int)52).Add((int)217).Add((int)226).Add((int)250).Add((int)124).Add((int)123).Add((int)5).Add((int)202).Add((int)38).Add((int)147).Add((int)118).Add((int)126).Add((int)255).Add((int)82).Add((int)85).Add((int)212).Add((int)207).Add((int)206).Add((int)59).Add((int)227).Add((int)47).Add((int)16).Add((int)58).Add((int)17).Add((int)182).Add((int)189).Add((int)28).Add((int)42).Add((int)223).Add((int)183).Add((int)170).Add((int)213).Add((int)119).Add((int)248).Add((int)152).Add((int)2).Add((int)44).Add((int)154).Add((int)163).Add((int)70).Add((int)221).Add((int)153).Add((int)101).Add((int)155).Add((int)167).Add((int)43).Add((int)172).Add((int)9).Add((int)129).Add((int)22).Add((int)39).Add((int)253).Add((int)19).Add((int)98).Add((int)108).Add((int)110).Add((int)79).Add((int)113).Add((int)224).Add((int)232).Add((int)178).Add((int)185).Add((int)112).Add((int)104).Add((int)218).Add((int)246).Add((int)97).Add((int)228).Add((int)251).Add((int)34).Add((int)242).Add((int)193).Add((int)238).Add((int)210).Add((int)144).Add((int)12).Add((int)191).Add((int)179).Add((int)162).Add((int)241).Add((int)81).Add((int)51).Add((int)145).Add((int)235).Add((int)249).Add((int)14).Add((int)239).Add((int)107).Add((int)49).Add((int)192).Add((int)214).Add((int)31).Add((int)181).Add((int)199).Add((int)106).Add((int)157).Add((int)184).Add((int)84).Add((int)204).Add((int)176).Add((int)115).Add((int)121).Add((int)50).Add((int)45).Add((int)127).Add((int)4).Add((int)150).Add((int)254).Add((int)138).Add((int)236).Add((int)205).Add((int)93).Add((int)222).Add((int)114).Add((int)67).Add((int)29).Add((int)24).Add((int)72).Add((int)243).Add((int)141).Add((int)128).Add((int)195).Add((int)78).Add((int)66).Add((int)215).Add((int)61).Add((int)156).Add((int)180); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/PixelSnapping.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/PixelSnapping.cpp deleted file mode 100644 index 6c2aa2d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/PixelSnapping.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_PixelSnapping -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::PixelSnapping PixelSnapping_obj::ALWAYS; - -::neash::display::PixelSnapping PixelSnapping_obj::AUTO; - -::neash::display::PixelSnapping PixelSnapping_obj::NEVER; - -HX_DEFINE_CREATE_ENUM(PixelSnapping_obj) - -int PixelSnapping_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("ALWAYS")) return 2; - if (inName==HX_CSTRING("AUTO")) return 1; - if (inName==HX_CSTRING("NEVER")) return 0; - return super::__FindIndex(inName); -} - -int PixelSnapping_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("ALWAYS")) return 0; - if (inName==HX_CSTRING("AUTO")) return 0; - if (inName==HX_CSTRING("NEVER")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic PixelSnapping_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("ALWAYS")) return ALWAYS; - if (inName==HX_CSTRING("AUTO")) return AUTO; - if (inName==HX_CSTRING("NEVER")) return NEVER; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NEVER"), - HX_CSTRING("AUTO"), - HX_CSTRING("ALWAYS"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PixelSnapping_obj::ALWAYS,"ALWAYS"); - HX_MARK_MEMBER_NAME(PixelSnapping_obj::AUTO,"AUTO"); - HX_MARK_MEMBER_NAME(PixelSnapping_obj::NEVER,"NEVER"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PixelSnapping_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(PixelSnapping_obj::ALWAYS,"ALWAYS"); - HX_VISIT_MEMBER_NAME(PixelSnapping_obj::AUTO,"AUTO"); - HX_VISIT_MEMBER_NAME(PixelSnapping_obj::NEVER,"NEVER"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class PixelSnapping_obj::__mClass; - -Dynamic __Create_PixelSnapping_obj() { return new PixelSnapping_obj; } - -void PixelSnapping_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.PixelSnapping"), hx::TCanCast< PixelSnapping_obj >,sStaticFields,sMemberFields, - &__Create_PixelSnapping_obj, &__Create, - &super::__SGetClass(), &CreatePixelSnapping_obj, sMarkStatics, sVisitStatic); -} - -void PixelSnapping_obj::__boot() -{ -Static(ALWAYS) = hx::CreateEnum< PixelSnapping_obj >(HX_CSTRING("ALWAYS"),2); -Static(AUTO) = hx::CreateEnum< PixelSnapping_obj >(HX_CSTRING("AUTO"),1); -Static(NEVER) = hx::CreateEnum< PixelSnapping_obj >(HX_CSTRING("NEVER"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/Shape.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/Shape.cpp deleted file mode 100644 index 0c30799..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/Shape.cpp +++ /dev/null @@ -1,105 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_Shape -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace display{ - -Void Shape_obj::__construct() -{ -HX_STACK_PUSH("Shape::new","neash/display/Shape.hx",8); -{ - HX_STACK_LINE(8) - super::__construct(::neash::display::DisplayObject_obj::nme_create_display_object(),HX_CSTRING("Shape")); -} -; - return null(); -} - -Shape_obj::~Shape_obj() { } - -Dynamic Shape_obj::__CreateEmpty() { return new Shape_obj; } -hx::ObjectPtr< Shape_obj > Shape_obj::__new() -{ hx::ObjectPtr< Shape_obj > result = new Shape_obj(); - result->__construct(); - return result;} - -Dynamic Shape_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Shape_obj > result = new Shape_obj(); - result->__construct(); - return result;} - - -Shape_obj::Shape_obj() -{ -} - -void Shape_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Shape); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Shape_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Shape_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic Shape_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Shape_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Shape_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Shape_obj::__mClass,"__mClass"); -}; - -Class Shape_obj::__mClass; - -void Shape_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.Shape"), hx::TCanCast< Shape_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Shape_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/SpreadMethod.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/SpreadMethod.cpp deleted file mode 100644 index 2215363..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/SpreadMethod.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_SpreadMethod -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::SpreadMethod SpreadMethod_obj::PAD; - -::neash::display::SpreadMethod SpreadMethod_obj::REFLECT; - -::neash::display::SpreadMethod SpreadMethod_obj::REPEAT; - -HX_DEFINE_CREATE_ENUM(SpreadMethod_obj) - -int SpreadMethod_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("PAD")) return 0; - if (inName==HX_CSTRING("REFLECT")) return 2; - if (inName==HX_CSTRING("REPEAT")) return 1; - return super::__FindIndex(inName); -} - -int SpreadMethod_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("PAD")) return 0; - if (inName==HX_CSTRING("REFLECT")) return 0; - if (inName==HX_CSTRING("REPEAT")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic SpreadMethod_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("PAD")) return PAD; - if (inName==HX_CSTRING("REFLECT")) return REFLECT; - if (inName==HX_CSTRING("REPEAT")) return REPEAT; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("PAD"), - HX_CSTRING("REPEAT"), - HX_CSTRING("REFLECT"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SpreadMethod_obj::PAD,"PAD"); - HX_MARK_MEMBER_NAME(SpreadMethod_obj::REFLECT,"REFLECT"); - HX_MARK_MEMBER_NAME(SpreadMethod_obj::REPEAT,"REPEAT"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SpreadMethod_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(SpreadMethod_obj::PAD,"PAD"); - HX_VISIT_MEMBER_NAME(SpreadMethod_obj::REFLECT,"REFLECT"); - HX_VISIT_MEMBER_NAME(SpreadMethod_obj::REPEAT,"REPEAT"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class SpreadMethod_obj::__mClass; - -Dynamic __Create_SpreadMethod_obj() { return new SpreadMethod_obj; } - -void SpreadMethod_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.SpreadMethod"), hx::TCanCast< SpreadMethod_obj >,sStaticFields,sMemberFields, - &__Create_SpreadMethod_obj, &__Create, - &super::__SGetClass(), &CreateSpreadMethod_obj, sMarkStatics, sVisitStatic); -} - -void SpreadMethod_obj::__boot() -{ -Static(PAD) = hx::CreateEnum< SpreadMethod_obj >(HX_CSTRING("PAD"),0); -Static(REFLECT) = hx::CreateEnum< SpreadMethod_obj >(HX_CSTRING("REFLECT"),2); -Static(REPEAT) = hx::CreateEnum< SpreadMethod_obj >(HX_CSTRING("REPEAT"),1); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/Sprite.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/Sprite.cpp deleted file mode 100644 index 736ce6d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/Sprite.cpp +++ /dev/null @@ -1,201 +0,0 @@ -#include - -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -namespace neash{ -namespace display{ - -Void Sprite_obj::__construct() -{ -HX_STACK_PUSH("Sprite::new","neash/display/Sprite.hx",18); -{ - HX_STACK_LINE(18) - super::__construct(::neash::display::DisplayObjectContainer_obj::nme_create_display_object_container(),this->nmeGetType()); -} -; - return null(); -} - -Sprite_obj::~Sprite_obj() { } - -Dynamic Sprite_obj::__CreateEmpty() { return new Sprite_obj; } -hx::ObjectPtr< Sprite_obj > Sprite_obj::__new() -{ hx::ObjectPtr< Sprite_obj > result = new Sprite_obj(); - result->__construct(); - return result;} - -Dynamic Sprite_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Sprite_obj > result = new Sprite_obj(); - result->__construct(); - return result;} - -Void Sprite_obj::stopDrag( ){ -{ - HX_STACK_PUSH("Sprite::stopDrag","neash/display/Sprite.hx",39); - HX_STACK_THIS(this); - HX_STACK_LINE(39) - if (((this->nmeGetStage() != null()))){ - HX_STACK_LINE(41) - this->nmeGetStage()->nmeStopDrag(hx::ObjectPtr(this)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sprite_obj,stopDrag,(void)) - -Void Sprite_obj::startDrag( hx::Null< bool > __o_lockCenter,::neash::geom::Rectangle bounds){ -bool lockCenter = __o_lockCenter.Default(false); - HX_STACK_PUSH("Sprite::startDrag","neash/display/Sprite.hx",32); - HX_STACK_THIS(this); - HX_STACK_ARG(lockCenter,"lockCenter"); - HX_STACK_ARG(bounds,"bounds"); -{ - HX_STACK_LINE(32) - if (((this->nmeGetStage() != null()))){ - HX_STACK_LINE(34) - this->nmeGetStage()->nmeStartDrag(hx::ObjectPtr(this),lockCenter,bounds); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Sprite_obj,startDrag,(void)) - -::String Sprite_obj::nmeGetType( ){ - HX_STACK_PUSH("Sprite::nmeGetType","neash/display/Sprite.hx",24); - HX_STACK_THIS(this); - HX_STACK_LINE(25) - ::String type = ::Type_obj::getClassName(::Type_obj::getClass(hx::ObjectPtr(this))); HX_STACK_VAR(type,"type"); - HX_STACK_LINE(26) - int pos = type.lastIndexOf(HX_CSTRING("."),null()); HX_STACK_VAR(pos,"pos"); - HX_STACK_LINE(27) - return ( (((pos >= (int)0))) ? ::String(type.substr((pos + (int)1),null())) : ::String(type) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sprite_obj,nmeGetType,return ) - - -Sprite_obj::Sprite_obj() -{ -} - -void Sprite_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Sprite); - HX_MARK_MEMBER_NAME(useHandCursor,"useHandCursor"); - HX_MARK_MEMBER_NAME(buttonMode,"buttonMode"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Sprite_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(useHandCursor,"useHandCursor"); - HX_VISIT_MEMBER_NAME(buttonMode,"buttonMode"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Sprite_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"stopDrag") ) { return stopDrag_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"startDrag") ) { return startDrag_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeGetType") ) { return nmeGetType_dyn(); } - if (HX_FIELD_EQ(inName,"buttonMode") ) { return buttonMode; } - break; - case 13: - if (HX_FIELD_EQ(inName,"useHandCursor") ) { return useHandCursor; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Sprite_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"buttonMode") ) { buttonMode=inValue.Cast< bool >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"useHandCursor") ) { useHandCursor=inValue.Cast< bool >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Sprite_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("useHandCursor")); - outFields->push(HX_CSTRING("buttonMode")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("stopDrag"), - HX_CSTRING("startDrag"), - HX_CSTRING("nmeGetType"), - HX_CSTRING("useHandCursor"), - HX_CSTRING("buttonMode"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Sprite_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Sprite_obj::__mClass,"__mClass"); -}; - -Class Sprite_obj::__mClass; - -void Sprite_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.Sprite"), hx::TCanCast< Sprite_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Sprite_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/Stage.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/Stage.cpp deleted file mode 100644 index d924ef8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/Stage.cpp +++ /dev/null @@ -1,2276 +0,0 @@ -#include - -#ifndef INCLUDED_IntHash -#include -#endif -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_Timer -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_display_StageAlign -#include -#endif -#ifndef INCLUDED_neash_display_StageDisplayState -#include -#endif -#ifndef INCLUDED_neash_display_StageQuality -#include -#endif -#ifndef INCLUDED_neash_display_StageScaleMode -#include -#endif -#ifndef INCLUDED_neash_display_TouchInfo -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_FocusEvent -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_JoystickEvent -#include -#endif -#ifndef INCLUDED_neash_events_KeyboardEvent -#include -#endif -#ifndef INCLUDED_neash_events_MouseEvent -#include -#endif -#ifndef INCLUDED_neash_events_TouchEvent -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -#ifndef INCLUDED_neash_media_SoundChannel -#include -#endif -#ifndef INCLUDED_neash_net_URLLoader -#include -#endif -namespace neash{ -namespace display{ - -Void Stage_obj::__construct(Dynamic inHandle,int inWidth,int inHeight) -{ -HX_STACK_PUSH("Stage::new","neash/display/Stage.hx",85); -{ - HX_STACK_LINE(86) - super::__construct(inHandle,HX_CSTRING("Stage")); - HX_STACK_LINE(87) - this->nmeMouseOverObjects = Array_obj< ::neash::display::InteractiveObject >::__new(); - HX_STACK_LINE(88) - this->nmeFocusOverObjects = Array_obj< ::neash::display::InteractiveObject >::__new(); - HX_STACK_LINE(89) - this->active = true; - HX_STACK_LINE(90) - this->pauseWhenDeactivated = true; - HX_STACK_LINE(95) - this->renderRequest = null(); - HX_STACK_LINE(98) - ::neash::display::Stage_obj::nme_set_stage_handler(this->nmeHandle,this->nmeProcessStageEvent_dyn(),inWidth,inHeight); - HX_STACK_LINE(99) - this->nmeInvalid = false; - HX_STACK_LINE(100) - this->nmeLastRender = (int)0; - HX_STACK_LINE(101) - this->nmeLastDown = Array_obj< ::neash::display::InteractiveObject >::__new(); - HX_STACK_LINE(102) - this->nmeLastClickTime = 0.0; - HX_STACK_LINE(103) - this->nmeSetFrameRate((int)100); - HX_STACK_LINE(104) - this->nmeTouchInfo = ::IntHash_obj::__new(); - HX_STACK_LINE(105) - this->nmeJoyAxisData = ::IntHash_obj::__new(); -} -; - return null(); -} - -Stage_obj::~Stage_obj() { } - -Dynamic Stage_obj::__CreateEmpty() { return new Stage_obj; } -hx::ObjectPtr< Stage_obj > Stage_obj::__new(Dynamic inHandle,int inWidth,int inHeight) -{ hx::ObjectPtr< Stage_obj > result = new Stage_obj(); - result->__construct(inHandle,inWidth,inHeight); - return result;} - -Dynamic Stage_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Stage_obj > result = new Stage_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -int Stage_obj::nmeGetStageWidth( ){ - HX_STACK_PUSH("Stage::nmeGetStageWidth","neash/display/Stage.hx",873); - HX_STACK_THIS(this); - HX_STACK_LINE(873) - return ::Std_obj::_int(hx::TCast< Float >::cast(::neash::display::Stage_obj::nme_stage_get_stage_width(this->nmeHandle))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetStageWidth,return ) - -int Stage_obj::nmeGetStageHeight( ){ - HX_STACK_PUSH("Stage::nmeGetStageHeight","neash/display/Stage.hx",867); - HX_STACK_THIS(this); - HX_STACK_LINE(867) - return ::Std_obj::_int(hx::TCast< Float >::cast(::neash::display::Stage_obj::nme_stage_get_stage_height(this->nmeHandle))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetStageHeight,return ) - -bool Stage_obj::nmeSetStageFocusRect( bool inVal){ - HX_STACK_PUSH("Stage::nmeSetStageFocusRect","neash/display/Stage.hx",860); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(861) - ::neash::display::Stage_obj::nme_stage_set_focus_rect(this->nmeHandle,inVal); - HX_STACK_LINE(862) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetStageFocusRect,return ) - -bool Stage_obj::nmeGetStageFocusRect( ){ - HX_STACK_PUSH("Stage::nmeGetStageFocusRect","neash/display/Stage.hx",858); - HX_STACK_THIS(this); - HX_STACK_LINE(858) - return ::neash::display::Stage_obj::nme_stage_get_focus_rect(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetStageFocusRect,return ) - -::neash::display::StageScaleMode Stage_obj::nmeSetScaleMode( ::neash::display::StageScaleMode inMode){ - HX_STACK_PUSH("Stage::nmeSetScaleMode","neash/display/Stage.hx",852); - HX_STACK_THIS(this); - HX_STACK_ARG(inMode,"inMode"); - HX_STACK_LINE(853) - ::neash::display::Stage_obj::nme_stage_set_scale_mode(this->nmeHandle,inMode->__Index()); - HX_STACK_LINE(854) - return inMode; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetScaleMode,return ) - -::neash::display::StageScaleMode Stage_obj::nmeGetScaleMode( ){ - HX_STACK_PUSH("Stage::nmeGetScaleMode","neash/display/Stage.hx",845); - HX_STACK_THIS(this); - HX_STACK_LINE(846) - int i = ::neash::display::Stage_obj::nme_stage_get_scale_mode(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(847) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::StageScaleMode >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetScaleMode,return ) - -::neash::display::StageQuality Stage_obj::nmeSetQuality( ::neash::display::StageQuality inQuality){ - HX_STACK_PUSH("Stage::nmeSetQuality","neash/display/Stage.hx",838); - HX_STACK_THIS(this); - HX_STACK_ARG(inQuality,"inQuality"); - HX_STACK_LINE(839) - ::neash::display::Stage_obj::nme_stage_set_quality(this->nmeHandle,inQuality->__Index()); - HX_STACK_LINE(840) - return inQuality; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetQuality,return ) - -::neash::display::StageQuality Stage_obj::nmeGetQuality( ){ - HX_STACK_PUSH("Stage::nmeGetQuality","neash/display/Stage.hx",831); - HX_STACK_THIS(this); - HX_STACK_LINE(832) - int i = ::neash::display::Stage_obj::nme_stage_get_quality(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(833) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::StageQuality >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetQuality,return ) - -bool Stage_obj::nmeIsOpenGL( ){ - HX_STACK_PUSH("Stage::nmeIsOpenGL","neash/display/Stage.hx",825); - HX_STACK_THIS(this); - HX_STACK_LINE(825) - return ::neash::display::Stage_obj::nme_stage_is_opengl(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeIsOpenGL,return ) - -Float Stage_obj::nmeSetFrameRate( Float inRate){ - HX_STACK_PUSH("Stage::nmeSetFrameRate","neash/display/Stage.hx",817); - HX_STACK_THIS(this); - HX_STACK_ARG(inRate,"inRate"); - HX_STACK_LINE(818) - this->frameRate = inRate; - HX_STACK_LINE(819) - this->nmeFramePeriod = ( (((this->frameRate <= (int)0))) ? Float(this->frameRate) : Float((Float(1.0) / Float(this->frameRate))) ); - HX_STACK_LINE(820) - return inRate; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetFrameRate,return ) - -::neash::display::InteractiveObject Stage_obj::nmeSetFocus( ::neash::display::InteractiveObject inObject){ - HX_STACK_PUSH("Stage::nmeSetFocus","neash/display/Stage.hx",807); - HX_STACK_THIS(this); - HX_STACK_ARG(inObject,"inObject"); - HX_STACK_LINE(808) - if (((inObject == null()))){ - HX_STACK_LINE(809) - ::neash::display::Stage_obj::nme_stage_set_focus(this->nmeHandle,null(),(int)0); - } - else{ - HX_STACK_LINE(811) - ::neash::display::Stage_obj::nme_stage_set_focus(this->nmeHandle,inObject->nmeHandle,(int)0); - } - HX_STACK_LINE(812) - return inObject; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetFocus,return ) - -::neash::display::InteractiveObject Stage_obj::nmeGetFocus( ){ - HX_STACK_PUSH("Stage::nmeGetFocus","neash/display/Stage.hx",799); - HX_STACK_THIS(this); - HX_STACK_LINE(800) - int id = ::neash::display::Stage_obj::nme_stage_get_focus_id(this->nmeHandle); HX_STACK_VAR(id,"id"); - HX_STACK_LINE(801) - ::neash::display::DisplayObject obj = this->nmeFindByID(id); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(802) - return obj; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetFocus,return ) - -Float Stage_obj::nmeGetDPIScale( ){ - HX_STACK_PUSH("Stage::nmeGetDPIScale","neash/display/Stage.hx",793); - HX_STACK_THIS(this); - HX_STACK_LINE(793) - return ::neash::display::Stage_obj::nme_stage_get_dpi_scale(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetDPIScale,return ) - -::neash::display::StageDisplayState Stage_obj::nmeSetDisplayState( ::neash::display::StageDisplayState inState){ - HX_STACK_PUSH("Stage::nmeSetDisplayState","neash/display/Stage.hx",786); - HX_STACK_THIS(this); - HX_STACK_ARG(inState,"inState"); - HX_STACK_LINE(787) - ::neash::display::Stage_obj::nme_stage_set_display_state(this->nmeHandle,inState->__Index()); - HX_STACK_LINE(788) - return inState; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetDisplayState,return ) - -::neash::display::StageDisplayState Stage_obj::nmeGetDisplayState( ){ - HX_STACK_PUSH("Stage::nmeGetDisplayState","neash/display/Stage.hx",779); - HX_STACK_THIS(this); - HX_STACK_LINE(780) - int i = ::neash::display::Stage_obj::nme_stage_get_display_state(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(781) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::StageDisplayState >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetDisplayState,return ) - -::neash::display::StageAlign Stage_obj::nmeSetAlign( ::neash::display::StageAlign inMode){ - HX_STACK_PUSH("Stage::nmeSetAlign","neash/display/Stage.hx",772); - HX_STACK_THIS(this); - HX_STACK_ARG(inMode,"inMode"); - HX_STACK_LINE(773) - ::neash::display::Stage_obj::nme_stage_set_align(this->nmeHandle,inMode->__Index()); - HX_STACK_LINE(774) - return inMode; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetAlign,return ) - -::neash::display::StageAlign Stage_obj::nmeGetAlign( ){ - HX_STACK_PUSH("Stage::nmeGetAlign","neash/display/Stage.hx",765); - HX_STACK_THIS(this); - HX_STACK_LINE(766) - int i = ::neash::display::Stage_obj::nme_stage_get_align(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(767) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::StageAlign >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetAlign,return ) - -Void Stage_obj::showCursor( bool inShow){ -{ - HX_STACK_PUSH("Stage::showCursor","neash/display/Stage.hx",754); - HX_STACK_THIS(this); - HX_STACK_ARG(inShow,"inShow"); - HX_STACK_LINE(754) - ::neash::display::Stage_obj::nme_stage_show_cursor(this->nmeHandle,inShow); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,showCursor,(void)) - -Float Stage_obj::nmeUpdateNextWake( ){ - HX_STACK_PUSH("Stage::nmeUpdateNextWake","neash/display/Stage.hx",725); - HX_STACK_THIS(this); - HX_STACK_LINE(727) - Float next_wake = ::haxe::Timer_obj::nmeNextWake(315000000.0); HX_STACK_VAR(next_wake,"next_wake"); - HX_STACK_LINE(728) - if (((bool((next_wake > 0.001)) && bool((::neash::media::SoundChannel_obj::nmeDynamicSoundCount > (int)0))))){ - HX_STACK_LINE(729) - next_wake = 0.001; - } - HX_STACK_LINE(730) - if (((bool((next_wake > 0.02)) && bool(((bool(::neash::media::SoundChannel_obj::nmeCompletePending()) || bool(::neash::net::URLLoader_obj::nmeLoadPending()))))))){ - HX_STACK_LINE(731) - next_wake = ( (((bool(this->active) || bool(!(this->pauseWhenDeactivated))))) ? Float(0.020) : Float(0.500) ); - } - HX_STACK_LINE(734) - next_wake = this->nmeNextFrameDue(next_wake); - HX_STACK_LINE(735) - ::neash::display::Stage_obj::nme_stage_set_next_wake(this->nmeHandle,next_wake); - HX_STACK_LINE(736) - return next_wake; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeUpdateNextWake,return ) - -Void Stage_obj::nmeStopDrag( ::neash::display::Sprite sprite){ -{ - HX_STACK_PUSH("Stage::nmeStopDrag","neash/display/Stage.hx",718); - HX_STACK_THIS(this); - HX_STACK_ARG(sprite,"sprite"); - HX_STACK_LINE(719) - this->nmeDragBounds = null(); - HX_STACK_LINE(720) - this->nmeDragObject = null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeStopDrag,(void)) - -Void Stage_obj::nmeStartDrag( ::neash::display::Sprite sprite,bool lockCenter,::neash::geom::Rectangle bounds){ -{ - HX_STACK_PUSH("Stage::nmeStartDrag","neash/display/Stage.hx",692); - HX_STACK_THIS(this); - HX_STACK_ARG(sprite,"sprite"); - HX_STACK_ARG(lockCenter,"lockCenter"); - HX_STACK_ARG(bounds,"bounds"); - HX_STACK_LINE(693) - this->nmeDragBounds = ( (((bounds == null()))) ? ::neash::geom::Rectangle(null()) : ::neash::geom::Rectangle(bounds->clone()) ); - HX_STACK_LINE(694) - this->nmeDragObject = sprite; - HX_STACK_LINE(696) - if (((this->nmeDragObject != null()))){ - HX_STACK_LINE(697) - if ((lockCenter)){ - HX_STACK_LINE(700) - this->nmeDragOffsetX = (Float(-(this->nmeDragObject->nmeGetWidth())) / Float((int)2)); - HX_STACK_LINE(701) - this->nmeDragOffsetY = (Float(-(this->nmeDragObject->nmeGetHeight())) / Float((int)2)); - } - else{ - HX_STACK_LINE(705) - ::neash::geom::Point mouse = ::neash::geom::Point_obj::__new(this->nmeGetMouseX(),this->nmeGetMouseY()); HX_STACK_VAR(mouse,"mouse"); - HX_STACK_LINE(706) - ::neash::display::DisplayObjectContainer p = this->nmeDragObject->nmeGetParent(); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(707) - if (((p != null()))){ - HX_STACK_LINE(708) - mouse = p->globalToLocal(mouse); - } - HX_STACK_LINE(710) - this->nmeDragOffsetX = (this->nmeDragObject->nmeGetX() - mouse->x); - HX_STACK_LINE(711) - this->nmeDragOffsetY = (this->nmeDragObject->nmeGetY() - mouse->y); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Stage_obj,nmeStartDrag,(void)) - -Void Stage_obj::nmeSetActive( bool inActive){ -{ - HX_STACK_PUSH("Stage::nmeSetActive","neash/display/Stage.hx",675); - HX_STACK_THIS(this); - HX_STACK_ARG(inActive,"inActive"); - HX_STACK_LINE(675) - if (((inActive != this->active))){ - HX_STACK_LINE(679) - this->active = inActive; - HX_STACK_LINE(680) - if ((!(this->active))){ - HX_STACK_LINE(681) - this->nmeLastRender = ::haxe::Timer_obj::stamp(); - } - HX_STACK_LINE(683) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(( ((inActive)) ? ::String(::neash::events::Event_obj::ACTIVATE) : ::String(::neash::events::Event_obj::DEACTIVATE) ),null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(684) - this->nmeBroadcast(evt); - HX_STACK_LINE(685) - if ((inActive)){ - HX_STACK_LINE(686) - this->nmePollTimers(); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetActive,(void)) - -Void Stage_obj::nmeRender( bool inSendEnterFrame){ -{ - HX_STACK_PUSH("Stage::nmeRender","neash/display/Stage.hx",656); - HX_STACK_THIS(this); - HX_STACK_ARG(inSendEnterFrame,"inSendEnterFrame"); - HX_STACK_LINE(657) - if ((!(this->active))){ - HX_STACK_LINE(658) - return null(); - } - HX_STACK_LINE(661) - if ((inSendEnterFrame)){ - HX_STACK_LINE(662) - this->nmeBroadcast(::neash::events::Event_obj::__new(::neash::events::Event_obj::ENTER_FRAME,null(),null())); - } - HX_STACK_LINE(665) - if ((this->nmeInvalid)){ - HX_STACK_LINE(667) - this->nmeInvalid = false; - HX_STACK_LINE(668) - this->nmeBroadcast(::neash::events::Event_obj::__new(::neash::events::Event_obj::RENDER,null(),null())); - } - HX_STACK_LINE(670) - ::neash::display::Stage_obj::nme_render_stage(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeRender,(void)) - -Void Stage_obj::nmePollTimers( ){ -{ - HX_STACK_PUSH("Stage::nmePollTimers","neash/display/Stage.hx",646); - HX_STACK_THIS(this); - HX_STACK_LINE(648) - ::haxe::Timer_obj::nmeCheckTimers(); - HX_STACK_LINE(649) - ::neash::media::SoundChannel_obj::nmePollComplete(); - HX_STACK_LINE(650) - ::neash::net::URLLoader_obj::nmePollData(); - HX_STACK_LINE(651) - this->nmeCheckRender(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmePollTimers,(void)) - -Void Stage_obj::nmeOnTouch( Dynamic inEvent,::String inType,::neash::display::TouchInfo touchInfo){ -{ - HX_STACK_PUSH("Stage::nmeOnTouch","neash/display/Stage.hx",607); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(touchInfo,"touchInfo"); - HX_STACK_LINE(608) - Array< ::neash::display::InteractiveObject > stack = Array_obj< ::neash::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(609) - ::neash::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(610) - if (((obj != null()))){ - HX_STACK_LINE(611) - obj->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(613) - if (((stack->length > (int)0))){ - HX_STACK_LINE(615) - ::neash::display::InteractiveObject obj1 = stack->__get((int)0); HX_STACK_VAR(obj1,"obj1"); - HX_STACK_LINE(616) - stack->reverse(); - HX_STACK_LINE(617) - ::neash::geom::Point local = obj1->globalToLocal(::neash::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true))); HX_STACK_VAR(local,"local"); - HX_STACK_LINE(618) - ::neash::events::TouchEvent evt = ::neash::events::TouchEvent_obj::nmeCreate(inType,inEvent,local,obj1,inEvent->__Field(HX_CSTRING("sx"),true),inEvent->__Field(HX_CSTRING("sy"),true)); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(619) - evt->touchPointID = inEvent->__Field(HX_CSTRING("value"),true); - HX_STACK_LINE(620) - evt->isPrimaryTouchPoint = (((int(inEvent->__Field(HX_CSTRING("flags"),true)) & int((int)32768))) > (int)0); - HX_STACK_LINE(622) - this->nmeCheckInOuts(evt,stack,touchInfo); - HX_STACK_LINE(623) - obj1->nmeFireEvent(evt); - HX_STACK_LINE(624) - if (((bool(evt->isPrimaryTouchPoint) && bool((inType == ::neash::events::TouchEvent_obj::TOUCH_MOVE))))){ - HX_STACK_LINE(626) - if (((this->nmeDragObject != null()))){ - HX_STACK_LINE(627) - this->nmeDrag(::neash::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true))); - } - HX_STACK_LINE(629) - ::neash::events::MouseEvent evt1 = ::neash::events::MouseEvent_obj::nmeCreate(::neash::events::MouseEvent_obj::MOUSE_MOVE,inEvent,local,obj1); HX_STACK_VAR(evt1,"evt1"); - HX_STACK_LINE(630) - obj1->nmeFireEvent(evt1); - } - } - else{ - HX_STACK_LINE(636) - ::neash::events::TouchEvent evt = ::neash::events::TouchEvent_obj::nmeCreate(inType,inEvent,::neash::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true)),null(),inEvent->__Field(HX_CSTRING("sx"),true),inEvent->__Field(HX_CSTRING("sy"),true)); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(637) - evt->touchPointID = inEvent->__Field(HX_CSTRING("value"),true); - HX_STACK_LINE(638) - evt->isPrimaryTouchPoint = (((int(inEvent->__Field(HX_CSTRING("flags"),true)) & int((int)32768))) > (int)0); - HX_STACK_LINE(640) - this->nmeCheckInOuts(evt,stack,touchInfo); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Stage_obj,nmeOnTouch,(void)) - -Void Stage_obj::nmeOnResize( Float inW,Float inH){ -{ - HX_STACK_PUSH("Stage::nmeOnResize","neash/display/Stage.hx",600); - HX_STACK_THIS(this); - HX_STACK_ARG(inW,"inW"); - HX_STACK_ARG(inH,"inH"); - HX_STACK_LINE(601) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::Event_obj::RESIZE,null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(602) - this->nmeDispatchEvent(evt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Stage_obj,nmeOnResize,(void)) - -Void Stage_obj::nmeOnMouse( Dynamic inEvent,::String inType,bool inFromMouse){ -{ - HX_STACK_PUSH("Stage::nmeOnMouse","neash/display/Stage.hx",517); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(inFromMouse,"inFromMouse"); - HX_STACK_LINE(518) - ::String type = inType; HX_STACK_VAR(type,"type"); - HX_STACK_LINE(519) - int button = inEvent->__Field(HX_CSTRING("value"),true); HX_STACK_VAR(button,"button"); - HX_STACK_LINE(520) - if ((!(inFromMouse))){ - HX_STACK_LINE(521) - button = (int)0; - } - HX_STACK_LINE(522) - int wheel = (int)0; HX_STACK_VAR(wheel,"wheel"); - HX_STACK_LINE(523) - if (((inType == ::neash::events::MouseEvent_obj::MOUSE_DOWN))){ - HX_STACK_LINE(525) - if (((button > (int)2))){ - HX_STACK_LINE(526) - return null(); - } - HX_STACK_LINE(527) - type = ::neash::display::Stage_obj::sDownEvents->__get(button); - } - else{ - HX_STACK_LINE(529) - if (((inType == ::neash::events::MouseEvent_obj::MOUSE_UP))){ - HX_STACK_LINE(530) - if (((button > (int)2))){ - HX_STACK_LINE(533) - type = ::neash::events::MouseEvent_obj::MOUSE_WHEEL; - HX_STACK_LINE(534) - wheel = ( (((button == (int)3))) ? int((int)1) : int((int)-1) ); - } - else{ - HX_STACK_LINE(538) - type = ::neash::display::Stage_obj::sUpEvents->__get(button); - } - } - } - HX_STACK_LINE(541) - if (((this->nmeDragObject != null()))){ - HX_STACK_LINE(542) - this->nmeDrag(::neash::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true))); - } - HX_STACK_LINE(544) - Array< ::neash::display::InteractiveObject > stack = Array_obj< ::neash::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(545) - ::neash::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(546) - if (((obj != null()))){ - HX_STACK_LINE(547) - obj->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(549) - ::neash::geom::Point local = null(); HX_STACK_VAR(local,"local"); - HX_STACK_LINE(550) - if (((stack->length > (int)0))){ - HX_STACK_LINE(552) - ::neash::display::InteractiveObject obj1 = stack->__get((int)0); HX_STACK_VAR(obj1,"obj1"); - HX_STACK_LINE(553) - stack->reverse(); - HX_STACK_LINE(554) - local = obj1->globalToLocal(::neash::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true))); - HX_STACK_LINE(555) - ::neash::events::MouseEvent evt = ::neash::events::MouseEvent_obj::nmeCreate(type,inEvent,local,obj1); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(556) - evt->delta = wheel; - HX_STACK_LINE(557) - if ((inFromMouse)){ - HX_STACK_LINE(558) - this->nmeCheckInOuts(evt,stack,null()); - } - HX_STACK_LINE(559) - obj1->nmeFireEvent(evt); - } - else{ - HX_STACK_LINE(564) - local = ::neash::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true)); - HX_STACK_LINE(565) - ::neash::events::MouseEvent evt = ::neash::events::MouseEvent_obj::nmeCreate(type,inEvent,local,null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(566) - evt->delta = wheel; - HX_STACK_LINE(567) - if ((inFromMouse)){ - HX_STACK_LINE(568) - this->nmeCheckInOuts(evt,stack,null()); - } - } - HX_STACK_LINE(571) - ::neash::display::InteractiveObject click_obj = ( (((stack->length > (int)0))) ? ::neash::display::InteractiveObject(stack->__get((stack->length - (int)1))) : ::neash::display::InteractiveObject(hx::ObjectPtr(this)) ); HX_STACK_VAR(click_obj,"click_obj"); - HX_STACK_LINE(572) - if (((bool((inType == ::neash::events::MouseEvent_obj::MOUSE_DOWN)) && bool((button < (int)3))))){ - HX_STACK_LINE(573) - this->nmeLastDown[button] = click_obj; - } - else{ - HX_STACK_LINE(576) - if (((bool((inType == ::neash::events::MouseEvent_obj::MOUSE_UP)) && bool((button < (int)3))))){ - HX_STACK_LINE(578) - if (((click_obj == this->nmeLastDown->__get(button)))){ - HX_STACK_LINE(580) - ::neash::events::MouseEvent evt = ::neash::events::MouseEvent_obj::nmeCreate(::neash::display::Stage_obj::sClickEvents->__get(button),inEvent,local,click_obj); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(581) - click_obj->nmeFireEvent(evt); - HX_STACK_LINE(583) - if (((bool((button == (int)0)) && bool(click_obj->doubleClickEnabled)))){ - HX_STACK_LINE(585) - Float now = ::haxe::Timer_obj::stamp(); HX_STACK_VAR(now,"now"); - HX_STACK_LINE(586) - if ((((now - this->nmeLastClickTime) < 0.25))){ - HX_STACK_LINE(588) - ::neash::events::MouseEvent evt1 = ::neash::events::MouseEvent_obj::nmeCreate(::neash::events::MouseEvent_obj::DOUBLE_CLICK,inEvent,local,click_obj); HX_STACK_VAR(evt1,"evt1"); - HX_STACK_LINE(589) - click_obj->nmeFireEvent(evt1); - } - HX_STACK_LINE(591) - this->nmeLastClickTime = now; - } - } - HX_STACK_LINE(594) - this->nmeLastDown[button] = null(); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Stage_obj,nmeOnMouse,(void)) - -Void Stage_obj::nmeOnKey( Dynamic inEvent,::String inType){ -{ - HX_STACK_PUSH("Stage::nmeOnKey","neash/display/Stage.hx",499); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_LINE(500) - Array< ::neash::display::InteractiveObject > stack = Array_obj< ::neash::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(501) - ::neash::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(502) - if (((obj != null()))){ - HX_STACK_LINE(503) - obj->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(504) - if (((stack->length > (int)0))){ - HX_STACK_LINE(506) - ::neash::display::InteractiveObject obj1 = stack->__get((int)0); HX_STACK_VAR(obj1,"obj1"); - HX_STACK_LINE(507) - int flags = inEvent->__Field(HX_CSTRING("flags"),true); HX_STACK_VAR(flags,"flags"); - HX_STACK_LINE(508) - ::neash::events::KeyboardEvent evt = ::neash::events::KeyboardEvent_obj::__new(inType,true,true,inEvent->__Field(HX_CSTRING("code"),true),inEvent->__Field(HX_CSTRING("value"),true),( (((((int(flags) & int(::neash::display::Stage_obj::efLocationRight))) == (int)0))) ? int((int)1) : int((int)0) ),(((int(flags) & int(::neash::display::Stage_obj::efCtrlDown))) != (int)0),(((int(flags) & int(::neash::display::Stage_obj::efAltDown))) != (int)0),(((int(flags) & int(::neash::display::Stage_obj::efShiftDown))) != (int)0),null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(509) - obj1->nmeFireEvent(evt); - HX_STACK_LINE(510) - if ((evt->nmeGetIsCancelled())){ - HX_STACK_LINE(511) - inEvent->__FieldRef(HX_CSTRING("result")) = (int)1; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Stage_obj,nmeOnKey,(void)) - -Void Stage_obj::nmeOnJoystick( Dynamic inEvent,::String inType){ -{ - HX_STACK_PUSH("Stage::nmeOnJoystick","neash/display/Stage.hx",439); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_LINE(440) - ::neash::events::JoystickEvent evt = null(); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(441) - ::String _switch_1 = (inType); - if ( ( _switch_1==::neash::events::JoystickEvent_obj::AXIS_MOVE)){ - HX_STACK_LINE(444) - Dynamic data = this->nmeJoyAxisData->get(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(data,"data"); - HX_STACK_LINE(445) - if (((data == null()))){ - struct _Function_3_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","neash/display/Stage.hx",447); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("x") , 0.0,false); - __result->Add(HX_CSTRING("y") , 0.0,false); - __result->Add(HX_CSTRING("z") , 0.0,false); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(446) - data = _Function_3_1::Block(); - } - HX_STACK_LINE(450) - Float value = (Float(inEvent->__Field(HX_CSTRING("value"),true)) / Float((int)32767)); HX_STACK_VAR(value,"value"); - HX_STACK_LINE(451) - if (((value < (int)-1))){ - HX_STACK_LINE(451) - value = (int)-1; - } - HX_STACK_LINE(453) - switch( (int)(inEvent->__Field(HX_CSTRING("code"),true))){ - case (int)0: { - HX_STACK_LINE(455) - data->__FieldRef(HX_CSTRING("x")) = value; - } - ;break; - case (int)1: { - HX_STACK_LINE(456) - data->__FieldRef(HX_CSTRING("y")) = value; - } - ;break; - case (int)2: { - HX_STACK_LINE(457) - data->__FieldRef(HX_CSTRING("z")) = value; - } - ;break; - } - HX_STACK_LINE(460) - evt = ::neash::events::JoystickEvent_obj::__new(inType,false,false,inEvent->__Field(HX_CSTRING("id"),true),(int)0,data->__Field(HX_CSTRING("x"),true),data->__Field(HX_CSTRING("y"),true),data->__Field(HX_CSTRING("z"),true)); - HX_STACK_LINE(462) - this->nmeJoyAxisData->set(inEvent->__Field(HX_CSTRING("id"),true),data); - } - else if ( ( _switch_1==::neash::events::JoystickEvent_obj::BALL_MOVE)){ - HX_STACK_LINE(464) - evt = ::neash::events::JoystickEvent_obj::__new(inType,false,false,inEvent->__Field(HX_CSTRING("id"),true),inEvent->__Field(HX_CSTRING("code"),true),inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true),null()); - } - else if ( ( _switch_1==::neash::events::JoystickEvent_obj::HAT_MOVE)){ - HX_STACK_LINE(468) - int x = (int)0; HX_STACK_VAR(x,"x"); - HX_STACK_LINE(469) - int y = (int)0; HX_STACK_VAR(y,"y"); - HX_STACK_LINE(471) - if (((((int(inEvent->__Field(HX_CSTRING("value"),true)) & int((int)1))) != (int)0))){ - HX_STACK_LINE(472) - y = (int)-1; - } - else{ - HX_STACK_LINE(475) - if (((((int(inEvent->__Field(HX_CSTRING("value"),true)) & int((int)4))) != (int)0))){ - HX_STACK_LINE(476) - y = (int)1; - } - } - HX_STACK_LINE(480) - if (((((int(inEvent->__Field(HX_CSTRING("value"),true)) & int((int)2))) != (int)0))){ - HX_STACK_LINE(481) - x = (int)1; - } - else{ - HX_STACK_LINE(484) - if (((((int(inEvent->__Field(HX_CSTRING("value"),true)) & int((int)8))) != (int)0))){ - HX_STACK_LINE(485) - x = (int)-1; - } - } - HX_STACK_LINE(489) - evt = ::neash::events::JoystickEvent_obj::__new(inType,false,false,inEvent->__Field(HX_CSTRING("id"),true),inEvent->__Field(HX_CSTRING("code"),true),x,y,null()); - } - else { - HX_STACK_LINE(491) - evt = ::neash::events::JoystickEvent_obj::__new(inType,false,false,inEvent->__Field(HX_CSTRING("id"),true),inEvent->__Field(HX_CSTRING("code"),true),null(),null(),null()); - } -; -; - HX_STACK_LINE(494) - this->nmeDispatchEvent(evt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Stage_obj,nmeOnJoystick,(void)) - -Void Stage_obj::nmeOnFocus( Dynamic inEvent){ -{ - HX_STACK_PUSH("Stage::nmeOnFocus","neash/display/Stage.hx",415); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(416) - Array< ::neash::display::InteractiveObject > stack = Array_obj< ::neash::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(417) - ::neash::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(418) - if (((obj != null()))){ - HX_STACK_LINE(419) - obj->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(420) - if (((bool((stack->length > (int)0)) && bool(((bool((inEvent->__Field(HX_CSTRING("value"),true) == (int)1)) || bool((inEvent->__Field(HX_CSTRING("value"),true) == (int)2)))))))){ - HX_STACK_LINE(422) - ::neash::display::InteractiveObject obj1 = stack->__get((int)0); HX_STACK_VAR(obj1,"obj1"); - HX_STACK_LINE(423) - ::neash::events::FocusEvent evt = ::neash::events::FocusEvent_obj::__new(( (((inEvent->__Field(HX_CSTRING("value"),true) == (int)1))) ? ::String(::neash::events::FocusEvent_obj::MOUSE_FOCUS_CHANGE) : ::String(::neash::events::FocusEvent_obj::KEY_FOCUS_CHANGE) ),true,true,( (((this->nmeFocusOverObjects->length == (int)0))) ? ::neash::display::InteractiveObject(null()) : ::neash::display::InteractiveObject(this->nmeFocusOverObjects->__get((int)0)) ),(inEvent->__Field(HX_CSTRING("flags"),true) > (int)0),inEvent->__Field(HX_CSTRING("code"),true),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(424) - obj1->nmeFireEvent(evt); - HX_STACK_LINE(425) - if ((evt->nmeGetIsCancelled())){ - HX_STACK_LINE(427) - inEvent->__FieldRef(HX_CSTRING("result")) = (int)1; - HX_STACK_LINE(428) - return null(); - } - } - HX_STACK_LINE(432) - stack->reverse(); - HX_STACK_LINE(434) - this->nmeCheckFocusInOuts(inEvent,stack); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeOnFocus,(void)) - -Void Stage_obj::nmeOnChange( Dynamic inEvent){ -{ - HX_STACK_PUSH("Stage::nmeOnChange","neash/display/Stage.hx",407); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(408) - ::neash::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(409) - if (((obj != null()))){ - HX_STACK_LINE(410) - obj->nmeFireEvent(::neash::events::Event_obj::__new(::neash::events::Event_obj::CHANGE,null(),null())); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeOnChange,(void)) - -Float Stage_obj::nmeNextFrameDue( Float inOtherTimers){ - HX_STACK_PUSH("Stage::nmeNextFrameDue","neash/display/Stage.hx",393); - HX_STACK_THIS(this); - HX_STACK_ARG(inOtherTimers,"inOtherTimers"); - HX_STACK_LINE(394) - if (((bool(!(this->active)) && bool(this->pauseWhenDeactivated)))){ - HX_STACK_LINE(395) - return inOtherTimers; - } - HX_STACK_LINE(396) - if (((this->frameRate > (int)0))){ - HX_STACK_LINE(398) - Float next = (((this->nmeLastRender + this->nmeFramePeriod) - ::haxe::Timer_obj::stamp()) - ::neash::display::Stage_obj::nmeEarlyWakeup); HX_STACK_VAR(next,"next"); - HX_STACK_LINE(399) - if (((next < inOtherTimers))){ - HX_STACK_LINE(400) - return next; - } - } - HX_STACK_LINE(402) - return inOtherTimers; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeNextFrameDue,return ) - -::neash::display::Stage Stage_obj::nmeGetStage( ){ - HX_STACK_PUSH("Stage::nmeGetStage","neash/display/Stage.hx",387); - HX_STACK_THIS(this); - HX_STACK_LINE(387) - return hx::ObjectPtr(this); -} - - -Void Stage_obj::nmeDrag( ::neash::geom::Point inMouse){ -{ - HX_STACK_PUSH("Stage::nmeDrag","neash/display/Stage.hx",364); - HX_STACK_THIS(this); - HX_STACK_ARG(inMouse,"inMouse"); - HX_STACK_LINE(365) - ::neash::display::DisplayObjectContainer p = this->nmeDragObject->nmeGetParent(); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(366) - if (((p != null()))){ - HX_STACK_LINE(367) - inMouse = p->globalToLocal(inMouse); - } - HX_STACK_LINE(369) - Float x = (inMouse->x + this->nmeDragOffsetX); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(370) - Float y = (inMouse->y + this->nmeDragOffsetY); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(372) - if (((this->nmeDragBounds != null()))){ - HX_STACK_LINE(374) - if (((x < this->nmeDragBounds->x))){ - HX_STACK_LINE(374) - x = this->nmeDragBounds->x; - } - else{ - HX_STACK_LINE(375) - if (((x > this->nmeDragBounds->nmeGetRight()))){ - HX_STACK_LINE(375) - x = this->nmeDragBounds->nmeGetRight(); - } - } - HX_STACK_LINE(377) - if (((y < this->nmeDragBounds->y))){ - HX_STACK_LINE(377) - y = this->nmeDragBounds->y; - } - else{ - HX_STACK_LINE(378) - if (((y > this->nmeDragBounds->nmeGetBottom()))){ - HX_STACK_LINE(378) - y = this->nmeDragBounds->nmeGetBottom(); - } - } - } - HX_STACK_LINE(381) - this->nmeDragObject->nmeSetX(x); - HX_STACK_LINE(382) - this->nmeDragObject->nmeSetY(y); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeDrag,(void)) - -Dynamic Stage_obj::nmeProcessStageEvent( Dynamic inEvent){ - HX_STACK_PUSH("Stage::nmeProcessStageEvent","neash/display/Stage.hx",357); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(358) - this->nmeDoProcessStageEvent(inEvent); - HX_STACK_LINE(359) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeProcessStageEvent,return ) - -Void Stage_obj::dummyTrace( ){ -{ - HX_STACK_PUSH("Stage::dummyTrace","neash/display/Stage.hx",350); - HX_STACK_THIS(this); - HX_STACK_LINE(350) - ::haxe::Log_obj::trace(HX_CSTRING(""),hx::SourceInfo(HX_CSTRING("Stage.hx"),350,HX_CSTRING("neash.display.Stage"),HX_CSTRING("dummyTrace"))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,dummyTrace,(void)) - -Float Stage_obj::nmeDoProcessStageEvent( Dynamic inEvent){ - HX_STACK_PUSH("Stage::nmeDoProcessStageEvent","neash/display/Stage.hx",235); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(236) - Float result = 0.0; HX_STACK_VAR(result,"result"); - HX_STACK_LINE(238) - int type = ::Std_obj::_int(::Reflect_obj::field(inEvent,HX_CSTRING("type"))); HX_STACK_VAR(type,"type"); - HX_STACK_LINE(240) - switch( (int)(type)){ - case (int)2: { - HX_STACK_LINE(242) - if (((this->onKey_dyn() != null()))){ - HX_STACK_LINE(244) - this->onKey(inEvent->__Field(HX_CSTRING("code"),true),inEvent->__Field(HX_CSTRING("down"),true),inEvent->__Field(HX_CSTRING("char"),true),inEvent->__Field(HX_CSTRING("flags"),true)); - } - } - ;break; - case (int)1: { - HX_STACK_LINE(246) - this->nmeOnKey(inEvent,::neash::events::KeyboardEvent_obj::KEY_DOWN); - } - ;break; - case (int)3: { - HX_STACK_LINE(249) - this->nmeOnKey(inEvent,::neash::events::KeyboardEvent_obj::KEY_UP); - } - ;break; - case (int)4: { - HX_STACK_LINE(252) - this->nmeOnMouse(inEvent,::neash::events::MouseEvent_obj::MOUSE_MOVE,true); - } - ;break; - case (int)5: { - HX_STACK_LINE(255) - this->nmeOnMouse(inEvent,::neash::events::MouseEvent_obj::MOUSE_DOWN,true); - } - ;break; - case (int)6: { - HX_STACK_LINE(258) - this->nmeOnMouse(inEvent,::neash::events::MouseEvent_obj::CLICK,true); - } - ;break; - case (int)7: { - HX_STACK_LINE(261) - this->nmeOnMouse(inEvent,::neash::events::MouseEvent_obj::MOUSE_UP,true); - } - ;break; - case (int)8: { - HX_STACK_LINE(265) - this->nmeOnResize(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true)); - HX_STACK_LINE(266) - if (((this->renderRequest_dyn() == null()))){ - HX_STACK_LINE(267) - this->nmeRender(false); - } - } - ;break; - case (int)9: { - HX_STACK_LINE(269) - this->nmePollTimers(); - } - ;break; - case (int)10: { - HX_STACK_LINE(272) - if (((this->onQuit_dyn() != null()))){ - HX_STACK_LINE(274) - this->onQuit(); - } - } - ;break; - case (int)11: { - HX_STACK_LINE(276) - this->nmeOnFocus(inEvent); - } - ;break; - case (int)12: { - HX_STACK_LINE(279) - if ((::neash::display::Stage_obj::shouldRotateInterface(inEvent->__Field(HX_CSTRING("value"),true)))){ - HX_STACK_LINE(281) - inEvent->__FieldRef(HX_CSTRING("result")) = (int)2; - } - } - ;break; - case (int)14: { - HX_STACK_LINE(283) - this->nmeRender(true); - } - ;break; - case (int)15: { - HX_STACK_LINE(287) - ::neash::display::TouchInfo touchInfo = ::neash::display::TouchInfo_obj::__new(); HX_STACK_VAR(touchInfo,"touchInfo"); - HX_STACK_LINE(288) - this->nmeTouchInfo->set(inEvent->__Field(HX_CSTRING("value"),true),touchInfo); - HX_STACK_LINE(289) - this->nmeOnTouch(inEvent,::neash::events::TouchEvent_obj::TOUCH_BEGIN,touchInfo); - HX_STACK_LINE(291) - if (((((int(inEvent->__Field(HX_CSTRING("flags"),true)) & int((int)32768))) > (int)0))){ - HX_STACK_LINE(292) - this->nmeOnMouse(inEvent,::neash::events::MouseEvent_obj::MOUSE_DOWN,false); - } - } - ;break; - case (int)16: { - HX_STACK_LINE(295) - ::neash::display::TouchInfo touchInfo = this->nmeTouchInfo->get(inEvent->__Field(HX_CSTRING("value"),true)); HX_STACK_VAR(touchInfo,"touchInfo"); - HX_STACK_LINE(296) - this->nmeOnTouch(inEvent,::neash::events::TouchEvent_obj::TOUCH_MOVE,touchInfo); - } - ;break; - case (int)17: { - HX_STACK_LINE(299) - ::neash::display::TouchInfo touchInfo = this->nmeTouchInfo->get(inEvent->__Field(HX_CSTRING("value"),true)); HX_STACK_VAR(touchInfo,"touchInfo"); - HX_STACK_LINE(300) - this->nmeOnTouch(inEvent,::neash::events::TouchEvent_obj::TOUCH_END,touchInfo); - HX_STACK_LINE(301) - this->nmeTouchInfo->remove(inEvent->__Field(HX_CSTRING("value"),true)); - HX_STACK_LINE(303) - if (((((int(inEvent->__Field(HX_CSTRING("flags"),true)) & int((int)32768))) > (int)0))){ - HX_STACK_LINE(304) - this->nmeOnMouse(inEvent,::neash::events::MouseEvent_obj::MOUSE_UP,false); - } - } - ;break; - case (int)18: { - } - ;break; - case (int)19: { - HX_STACK_LINE(309) - this->nmeOnChange(inEvent); - } - ;break; - case (int)20: { - HX_STACK_LINE(312) - this->nmeSetActive(true); - } - ;break; - case (int)21: { - HX_STACK_LINE(315) - this->nmeSetActive(false); - } - ;break; - case (int)22: { - HX_STACK_LINE(319) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::FocusEvent_obj::FOCUS_IN,null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(320) - this->nmeBroadcast(evt); - } - ;break; - case (int)23: { - HX_STACK_LINE(323) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::FocusEvent_obj::FOCUS_OUT,null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(324) - this->nmeBroadcast(evt); - } - ;break; - case (int)24: { - HX_STACK_LINE(326) - this->nmeOnJoystick(inEvent,::neash::events::JoystickEvent_obj::AXIS_MOVE); - } - ;break; - case (int)25: { - HX_STACK_LINE(329) - this->nmeOnJoystick(inEvent,::neash::events::JoystickEvent_obj::BALL_MOVE); - } - ;break; - case (int)26: { - HX_STACK_LINE(332) - this->nmeOnJoystick(inEvent,::neash::events::JoystickEvent_obj::HAT_MOVE); - } - ;break; - case (int)27: { - HX_STACK_LINE(335) - this->nmeOnJoystick(inEvent,::neash::events::JoystickEvent_obj::BUTTON_DOWN); - } - ;break; - case (int)28: { - HX_STACK_LINE(338) - this->nmeOnJoystick(inEvent,::neash::events::JoystickEvent_obj::BUTTON_UP); - } - ;break; - } - HX_STACK_LINE(344) - result = this->nmeUpdateNextWake(); - HX_STACK_LINE(347) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeDoProcessStageEvent,return ) - -Void Stage_obj::nmeCheckRender( ){ -{ - HX_STACK_PUSH("Stage::nmeCheckRender","neash/display/Stage.hx",217); - HX_STACK_THIS(this); - HX_STACK_LINE(217) - if (((this->frameRate > (int)0))){ - HX_STACK_LINE(221) - Float now = ::haxe::Timer_obj::stamp(); HX_STACK_VAR(now,"now"); - HX_STACK_LINE(222) - if (((now >= (this->nmeLastRender + this->nmeFramePeriod)))){ - HX_STACK_LINE(224) - this->nmeLastRender = now; - HX_STACK_LINE(225) - if (((this->renderRequest_dyn() != null()))){ - HX_STACK_LINE(226) - this->renderRequest(); - } - else{ - HX_STACK_LINE(228) - this->nmeRender(true); - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeCheckRender,(void)) - -bool Stage_obj::nmeCheckInOuts( ::neash::events::MouseEvent inEvent,Array< ::neash::display::InteractiveObject > inStack,::neash::display::TouchInfo touchInfo){ - HX_STACK_PUSH("Stage::nmeCheckInOuts","neash/display/Stage.hx",165); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inStack,"inStack"); - HX_STACK_ARG(touchInfo,"touchInfo"); - HX_STACK_LINE(166) - Array< ::neash::display::InteractiveObject > prev = ( (((touchInfo == null()))) ? Array< ::neash::display::InteractiveObject >(this->nmeMouseOverObjects) : Array< ::neash::display::InteractiveObject >(touchInfo->touchOverObjects) ); HX_STACK_VAR(prev,"prev"); - HX_STACK_LINE(167) - Array< ::String > events = ( (((touchInfo == null()))) ? Array< ::String >(::neash::display::Stage_obj::nmeMouseChanges) : Array< ::String >(::neash::display::Stage_obj::nmeTouchChanges) ); HX_STACK_VAR(events,"events"); - HX_STACK_LINE(169) - int new_n = inStack->length; HX_STACK_VAR(new_n,"new_n"); - HX_STACK_LINE(170) - ::neash::display::InteractiveObject new_obj = ( (((new_n > (int)0))) ? ::neash::display::InteractiveObject(inStack->__get((new_n - (int)1))) : ::neash::display::InteractiveObject(null()) ); HX_STACK_VAR(new_obj,"new_obj"); - HX_STACK_LINE(171) - int old_n = prev->length; HX_STACK_VAR(old_n,"old_n"); - HX_STACK_LINE(172) - ::neash::display::InteractiveObject old_obj = ( (((old_n > (int)0))) ? ::neash::display::InteractiveObject(prev->__get((old_n - (int)1))) : ::neash::display::InteractiveObject(null()) ); HX_STACK_VAR(old_obj,"old_obj"); - HX_STACK_LINE(174) - if (((new_obj != old_obj))){ - HX_STACK_LINE(177) - if (((old_obj != null()))){ - HX_STACK_LINE(178) - old_obj->nmeFireEvent(inEvent->nmeCreateSimilar(events->__get((int)0),new_obj,old_obj)); - } - HX_STACK_LINE(180) - if (((new_obj != null()))){ - HX_STACK_LINE(181) - new_obj->nmeFireEvent(inEvent->nmeCreateSimilar(events->__get((int)1),old_obj,null())); - } - HX_STACK_LINE(184) - int common = (int)0; HX_STACK_VAR(common,"common"); - HX_STACK_LINE(185) - while(((bool((bool((common < new_n)) && bool((common < old_n)))) && bool((inStack->__get(common) == prev->__get(common)))))){ - HX_STACK_LINE(186) - (common)++; - } - HX_STACK_LINE(188) - ::neash::events::MouseEvent rollOut = inEvent->nmeCreateSimilar(events->__get((int)2),new_obj,old_obj); HX_STACK_VAR(rollOut,"rollOut"); - HX_STACK_LINE(189) - int i = (old_n - (int)1); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(190) - while(((i >= common))){ - HX_STACK_LINE(192) - prev->__get(i)->nmeDispatchEvent(rollOut); - HX_STACK_LINE(193) - (i)--; - } - HX_STACK_LINE(196) - ::neash::events::MouseEvent rollOver = inEvent->nmeCreateSimilar(events->__get((int)3),old_obj,null()); HX_STACK_VAR(rollOver,"rollOver"); - HX_STACK_LINE(197) - int i1 = (new_n - (int)1); HX_STACK_VAR(i1,"i1"); - HX_STACK_LINE(198) - while(((i1 >= common))){ - HX_STACK_LINE(200) - inStack->__get(i1)->nmeDispatchEvent(rollOver); - HX_STACK_LINE(201) - (i1)--; - } - HX_STACK_LINE(204) - if (((touchInfo == null()))){ - HX_STACK_LINE(205) - this->nmeMouseOverObjects = inStack; - } - else{ - HX_STACK_LINE(207) - touchInfo->touchOverObjects = inStack; - } - HX_STACK_LINE(209) - return false; - } - HX_STACK_LINE(212) - return true; -} - - -HX_DEFINE_DYNAMIC_FUNC3(Stage_obj,nmeCheckInOuts,return ) - -Void Stage_obj::nmeCheckFocusInOuts( Dynamic inEvent,Array< ::neash::display::InteractiveObject > inStack){ -{ - HX_STACK_PUSH("Stage::nmeCheckFocusInOuts","neash/display/Stage.hx",127); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inStack,"inStack"); - HX_STACK_LINE(129) - int new_n = inStack->length; HX_STACK_VAR(new_n,"new_n"); - HX_STACK_LINE(130) - ::neash::display::InteractiveObject new_obj = ( (((new_n > (int)0))) ? ::neash::display::InteractiveObject(inStack->__get((new_n - (int)1))) : ::neash::display::InteractiveObject(null()) ); HX_STACK_VAR(new_obj,"new_obj"); - HX_STACK_LINE(131) - int old_n = this->nmeFocusOverObjects->length; HX_STACK_VAR(old_n,"old_n"); - HX_STACK_LINE(132) - ::neash::display::InteractiveObject old_obj = ( (((old_n > (int)0))) ? ::neash::display::InteractiveObject(this->nmeFocusOverObjects->__get((old_n - (int)1))) : ::neash::display::InteractiveObject(null()) ); HX_STACK_VAR(old_obj,"old_obj"); - HX_STACK_LINE(134) - if (((new_obj != old_obj))){ - HX_STACK_LINE(137) - int common = (int)0; HX_STACK_VAR(common,"common"); - HX_STACK_LINE(138) - while(((bool((bool((common < new_n)) && bool((common < old_n)))) && bool((inStack->__get(common) == this->nmeFocusOverObjects->__get(common)))))){ - HX_STACK_LINE(139) - (common)++; - } - HX_STACK_LINE(141) - ::neash::events::FocusEvent focusOut = ::neash::events::FocusEvent_obj::__new(::neash::events::FocusEvent_obj::FOCUS_OUT,false,false,new_obj,(inEvent->__Field(HX_CSTRING("flags"),true) > (int)0),inEvent->__Field(HX_CSTRING("code"),true),null()); HX_STACK_VAR(focusOut,"focusOut"); - HX_STACK_LINE(143) - int i = (old_n - (int)1); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(144) - while(((i >= common))){ - HX_STACK_LINE(146) - this->nmeFocusOverObjects->__get(i)->nmeDispatchEvent(focusOut); - HX_STACK_LINE(147) - (i)--; - } - HX_STACK_LINE(150) - ::neash::events::FocusEvent focusIn = ::neash::events::FocusEvent_obj::__new(::neash::events::FocusEvent_obj::FOCUS_IN,false,false,old_obj,(inEvent->__Field(HX_CSTRING("flags"),true) > (int)0),inEvent->__Field(HX_CSTRING("code"),true),null()); HX_STACK_VAR(focusIn,"focusIn"); - HX_STACK_LINE(151) - int i1 = (new_n - (int)1); HX_STACK_VAR(i1,"i1"); - HX_STACK_LINE(153) - while(((i1 >= common))){ - HX_STACK_LINE(155) - inStack->__get(i1)->nmeDispatchEvent(focusIn); - HX_STACK_LINE(156) - (i1)--; - } - HX_STACK_LINE(159) - this->nmeFocusOverObjects = inStack; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Stage_obj,nmeCheckFocusInOuts,(void)) - -Void Stage_obj::invalidate( ){ -{ - HX_STACK_PUSH("Stage::invalidate","neash/display/Stage.hx",121); - HX_STACK_THIS(this); - HX_STACK_LINE(121) - this->nmeInvalid = true; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,invalidate,(void)) - -Float Stage_obj::nmeEarlyWakeup; - -int Stage_obj::OrientationPortrait; - -int Stage_obj::OrientationPortraitUpsideDown; - -int Stage_obj::OrientationLandscapeRight; - -int Stage_obj::OrientationLandscapeLeft; - -int Stage_obj::OrientationFaceUp; - -int Stage_obj::OrientationFaceDown; - -int Stage_obj::efLeftDown; - -int Stage_obj::efShiftDown; - -int Stage_obj::efCtrlDown; - -int Stage_obj::efAltDown; - -int Stage_obj::efCommandDown; - -int Stage_obj::efLocationRight; - -int Stage_obj::efNoNativeClick; - -Array< ::String > Stage_obj::nmeMouseChanges; - -Array< ::String > Stage_obj::nmeTouchChanges; - -Array< ::String > Stage_obj::sClickEvents; - -Array< ::String > Stage_obj::sDownEvents; - -Array< ::String > Stage_obj::sUpEvents; - -HX_BEGIN_DEFAULT_FUNC(__default_getOrientation,Stage_obj) -int run(){ - HX_STACK_PUSH("Stage::getOrientation","neash/display/Stage.hx",110); - HX_STACK_LINE(110) - return ::neash::display::Stage_obj::nme_stage_get_orientation(); -} -HX_END_LOCAL_FUNC0(return ) -HX_END_DEFAULT_FUNC - -Dynamic Stage_obj::getOrientation; - -HX_BEGIN_DEFAULT_FUNC(__default_getNormalOrientation,Stage_obj) -int run(){ - HX_STACK_PUSH("Stage::getNormalOrientation","neash/display/Stage.hx",115); - HX_STACK_LINE(115) - return ::neash::display::Stage_obj::nme_stage_get_normal_orientation(); -} -HX_END_LOCAL_FUNC0(return ) -HX_END_DEFAULT_FUNC - -Dynamic Stage_obj::getNormalOrientation; - -Void Stage_obj::setFixedOrientation( int inOrientation){ -{ - HX_STACK_PUSH("Stage::setFixedOrientation","neash/display/Stage.hx",741); - HX_STACK_ARG(inOrientation,"inOrientation"); - HX_STACK_LINE(741) - ::neash::display::Stage_obj::nme_stage_set_fixed_orientation(inOrientation); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,setFixedOrientation,(void)) - -HX_BEGIN_DEFAULT_FUNC(__default_shouldRotateInterface,Stage_obj) -bool run(int inOrientation){ - HX_STACK_PUSH("Stage::shouldRotateInterface","neash/display/Stage.hx",748); - HX_STACK_ARG(inOrientation,"inOrientation"); - HX_STACK_LINE(748) - return (inOrientation == ::neash::display::Stage_obj::OrientationPortrait); -} -HX_END_LOCAL_FUNC1(return ) -HX_END_DEFAULT_FUNC - -Dynamic Stage_obj::shouldRotateInterface; - -Dynamic Stage_obj::nme_set_stage_handler; - -Dynamic Stage_obj::nme_render_stage; - -Dynamic Stage_obj::nme_stage_get_focus_id; - -Dynamic Stage_obj::nme_stage_set_focus; - -Dynamic Stage_obj::nme_stage_get_focus_rect; - -Dynamic Stage_obj::nme_stage_set_focus_rect; - -Dynamic Stage_obj::nme_stage_is_opengl; - -Dynamic Stage_obj::nme_stage_get_stage_width; - -Dynamic Stage_obj::nme_stage_get_stage_height; - -Dynamic Stage_obj::nme_stage_get_dpi_scale; - -Dynamic Stage_obj::nme_stage_get_scale_mode; - -Dynamic Stage_obj::nme_stage_set_scale_mode; - -Dynamic Stage_obj::nme_stage_get_align; - -Dynamic Stage_obj::nme_stage_set_align; - -Dynamic Stage_obj::nme_stage_get_quality; - -Dynamic Stage_obj::nme_stage_set_quality; - -Dynamic Stage_obj::nme_stage_get_display_state; - -Dynamic Stage_obj::nme_stage_set_display_state; - -Dynamic Stage_obj::nme_stage_set_next_wake; - -Dynamic Stage_obj::nme_stage_request_render; - -Dynamic Stage_obj::nme_stage_show_cursor; - -Dynamic Stage_obj::nme_stage_set_fixed_orientation; - -Dynamic Stage_obj::nme_stage_get_orientation; - -Dynamic Stage_obj::nme_stage_get_normal_orientation; - - -Stage_obj::Stage_obj() -{ -} - -void Stage_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Stage); - HX_MARK_MEMBER_NAME(nmeTouchInfo,"nmeTouchInfo"); - HX_MARK_MEMBER_NAME(nmeMouseOverObjects,"nmeMouseOverObjects"); - HX_MARK_MEMBER_NAME(nmeLastRender,"nmeLastRender"); - HX_MARK_MEMBER_NAME(nmeLastDown,"nmeLastDown"); - HX_MARK_MEMBER_NAME(nmeLastClickTime,"nmeLastClickTime"); - HX_MARK_MEMBER_NAME(nmeInvalid,"nmeInvalid"); - HX_MARK_MEMBER_NAME(nmeFramePeriod,"nmeFramePeriod"); - HX_MARK_MEMBER_NAME(nmeFocusOverObjects,"nmeFocusOverObjects"); - HX_MARK_MEMBER_NAME(nmeDragOffsetY,"nmeDragOffsetY"); - HX_MARK_MEMBER_NAME(nmeDragOffsetX,"nmeDragOffsetX"); - HX_MARK_MEMBER_NAME(nmeDragObject,"nmeDragObject"); - HX_MARK_MEMBER_NAME(nmeDragBounds,"nmeDragBounds"); - HX_MARK_MEMBER_NAME(nmeJoyAxisData,"nmeJoyAxisData"); - HX_MARK_MEMBER_NAME(stageWidth,"stageWidth"); - HX_MARK_MEMBER_NAME(stageHeight,"stageHeight"); - HX_MARK_MEMBER_NAME(stageFocusRect,"stageFocusRect"); - HX_MARK_MEMBER_NAME(scaleMode,"scaleMode"); - HX_MARK_MEMBER_NAME(renderRequest,"renderRequest"); - HX_MARK_MEMBER_NAME(quality,"quality"); - HX_MARK_MEMBER_NAME(pauseWhenDeactivated,"pauseWhenDeactivated"); - HX_MARK_MEMBER_NAME(onQuit,"onQuit"); - HX_MARK_MEMBER_NAME(onKey,"onKey"); - HX_MARK_MEMBER_NAME(isOpenGL,"isOpenGL"); - HX_MARK_MEMBER_NAME(frameRate,"frameRate"); - HX_MARK_MEMBER_NAME(focus,"focus"); - HX_MARK_MEMBER_NAME(dpiScale,"dpiScale"); - HX_MARK_MEMBER_NAME(displayState,"displayState"); - HX_MARK_MEMBER_NAME(align,"align"); - HX_MARK_MEMBER_NAME(active,"active"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Stage_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeTouchInfo,"nmeTouchInfo"); - HX_VISIT_MEMBER_NAME(nmeMouseOverObjects,"nmeMouseOverObjects"); - HX_VISIT_MEMBER_NAME(nmeLastRender,"nmeLastRender"); - HX_VISIT_MEMBER_NAME(nmeLastDown,"nmeLastDown"); - HX_VISIT_MEMBER_NAME(nmeLastClickTime,"nmeLastClickTime"); - HX_VISIT_MEMBER_NAME(nmeInvalid,"nmeInvalid"); - HX_VISIT_MEMBER_NAME(nmeFramePeriod,"nmeFramePeriod"); - HX_VISIT_MEMBER_NAME(nmeFocusOverObjects,"nmeFocusOverObjects"); - HX_VISIT_MEMBER_NAME(nmeDragOffsetY,"nmeDragOffsetY"); - HX_VISIT_MEMBER_NAME(nmeDragOffsetX,"nmeDragOffsetX"); - HX_VISIT_MEMBER_NAME(nmeDragObject,"nmeDragObject"); - HX_VISIT_MEMBER_NAME(nmeDragBounds,"nmeDragBounds"); - HX_VISIT_MEMBER_NAME(nmeJoyAxisData,"nmeJoyAxisData"); - HX_VISIT_MEMBER_NAME(stageWidth,"stageWidth"); - HX_VISIT_MEMBER_NAME(stageHeight,"stageHeight"); - HX_VISIT_MEMBER_NAME(stageFocusRect,"stageFocusRect"); - HX_VISIT_MEMBER_NAME(scaleMode,"scaleMode"); - HX_VISIT_MEMBER_NAME(renderRequest,"renderRequest"); - HX_VISIT_MEMBER_NAME(quality,"quality"); - HX_VISIT_MEMBER_NAME(pauseWhenDeactivated,"pauseWhenDeactivated"); - HX_VISIT_MEMBER_NAME(onQuit,"onQuit"); - HX_VISIT_MEMBER_NAME(onKey,"onKey"); - HX_VISIT_MEMBER_NAME(isOpenGL,"isOpenGL"); - HX_VISIT_MEMBER_NAME(frameRate,"frameRate"); - HX_VISIT_MEMBER_NAME(focus,"focus"); - HX_VISIT_MEMBER_NAME(dpiScale,"dpiScale"); - HX_VISIT_MEMBER_NAME(displayState,"displayState"); - HX_VISIT_MEMBER_NAME(align,"align"); - HX_VISIT_MEMBER_NAME(active,"active"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Stage_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"onKey") ) { return onKey; } - if (HX_FIELD_EQ(inName,"focus") ) { return inCallProp ? nmeGetFocus() : focus; } - if (HX_FIELD_EQ(inName,"align") ) { return inCallProp ? nmeGetAlign() : align; } - break; - case 6: - if (HX_FIELD_EQ(inName,"onQuit") ) { return onQuit; } - if (HX_FIELD_EQ(inName,"active") ) { return active; } - break; - case 7: - if (HX_FIELD_EQ(inName,"nmeDrag") ) { return nmeDrag_dyn(); } - if (HX_FIELD_EQ(inName,"quality") ) { return inCallProp ? nmeGetQuality() : quality; } - break; - case 8: - if (HX_FIELD_EQ(inName,"nmeOnKey") ) { return nmeOnKey_dyn(); } - if (HX_FIELD_EQ(inName,"isOpenGL") ) { return inCallProp ? nmeIsOpenGL() : isOpenGL; } - if (HX_FIELD_EQ(inName,"dpiScale") ) { return inCallProp ? nmeGetDPIScale() : dpiScale; } - break; - case 9: - if (HX_FIELD_EQ(inName,"efAltDown") ) { return efAltDown; } - if (HX_FIELD_EQ(inName,"sUpEvents") ) { return sUpEvents; } - if (HX_FIELD_EQ(inName,"nmeRender") ) { return nmeRender_dyn(); } - if (HX_FIELD_EQ(inName,"scaleMode") ) { return inCallProp ? nmeGetScaleMode() : scaleMode; } - if (HX_FIELD_EQ(inName,"frameRate") ) { return frameRate; } - break; - case 10: - if (HX_FIELD_EQ(inName,"efLeftDown") ) { return efLeftDown; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { return efCtrlDown; } - if (HX_FIELD_EQ(inName,"showCursor") ) { return showCursor_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnTouch") ) { return nmeOnTouch_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnMouse") ) { return nmeOnMouse_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnFocus") ) { return nmeOnFocus_dyn(); } - if (HX_FIELD_EQ(inName,"dummyTrace") ) { return dummyTrace_dyn(); } - if (HX_FIELD_EQ(inName,"invalidate") ) { return invalidate_dyn(); } - if (HX_FIELD_EQ(inName,"nmeInvalid") ) { return nmeInvalid; } - if (HX_FIELD_EQ(inName,"stageWidth") ) { return inCallProp ? nmeGetStageWidth() : stageWidth; } - break; - case 11: - if (HX_FIELD_EQ(inName,"efShiftDown") ) { return efShiftDown; } - if (HX_FIELD_EQ(inName,"sDownEvents") ) { return sDownEvents; } - if (HX_FIELD_EQ(inName,"nmeIsOpenGL") ) { return nmeIsOpenGL_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetFocus") ) { return nmeSetFocus_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetFocus") ) { return nmeGetFocus_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetAlign") ) { return nmeSetAlign_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetAlign") ) { return nmeGetAlign_dyn(); } - if (HX_FIELD_EQ(inName,"nmeStopDrag") ) { return nmeStopDrag_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnResize") ) { return nmeOnResize_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnChange") ) { return nmeOnChange_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetStage") ) { return nmeGetStage_dyn(); } - if (HX_FIELD_EQ(inName,"nmeLastDown") ) { return nmeLastDown; } - if (HX_FIELD_EQ(inName,"stageHeight") ) { return inCallProp ? nmeGetStageHeight() : stageHeight; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sClickEvents") ) { return sClickEvents; } - if (HX_FIELD_EQ(inName,"nmeStartDrag") ) { return nmeStartDrag_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetActive") ) { return nmeSetActive_dyn(); } - if (HX_FIELD_EQ(inName,"nmeTouchInfo") ) { return nmeTouchInfo; } - if (HX_FIELD_EQ(inName,"displayState") ) { return inCallProp ? nmeGetDisplayState() : displayState; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { return efCommandDown; } - if (HX_FIELD_EQ(inName,"nmeSetQuality") ) { return nmeSetQuality_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetQuality") ) { return nmeGetQuality_dyn(); } - if (HX_FIELD_EQ(inName,"nmePollTimers") ) { return nmePollTimers_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnJoystick") ) { return nmeOnJoystick_dyn(); } - if (HX_FIELD_EQ(inName,"nmeLastRender") ) { return nmeLastRender; } - if (HX_FIELD_EQ(inName,"nmeDragObject") ) { return nmeDragObject; } - if (HX_FIELD_EQ(inName,"nmeDragBounds") ) { return nmeDragBounds; } - if (HX_FIELD_EQ(inName,"renderRequest") ) { return renderRequest; } - break; - case 14: - if (HX_FIELD_EQ(inName,"nmeEarlyWakeup") ) { return nmeEarlyWakeup; } - if (HX_FIELD_EQ(inName,"getOrientation") ) { return getOrientation; } - if (HX_FIELD_EQ(inName,"nmeGetDPIScale") ) { return nmeGetDPIScale_dyn(); } - if (HX_FIELD_EQ(inName,"nmeCheckRender") ) { return nmeCheckRender_dyn(); } - if (HX_FIELD_EQ(inName,"nmeCheckInOuts") ) { return nmeCheckInOuts_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFramePeriod") ) { return nmeFramePeriod; } - if (HX_FIELD_EQ(inName,"nmeDragOffsetY") ) { return nmeDragOffsetY; } - if (HX_FIELD_EQ(inName,"nmeDragOffsetX") ) { return nmeDragOffsetX; } - if (HX_FIELD_EQ(inName,"nmeJoyAxisData") ) { return nmeJoyAxisData; } - if (HX_FIELD_EQ(inName,"stageFocusRect") ) { return inCallProp ? nmeGetStageFocusRect() : stageFocusRect; } - break; - case 15: - if (HX_FIELD_EQ(inName,"efLocationRight") ) { return efLocationRight; } - if (HX_FIELD_EQ(inName,"efNoNativeClick") ) { return efNoNativeClick; } - if (HX_FIELD_EQ(inName,"nmeMouseChanges") ) { return nmeMouseChanges; } - if (HX_FIELD_EQ(inName,"nmeTouchChanges") ) { return nmeTouchChanges; } - if (HX_FIELD_EQ(inName,"nmeSetScaleMode") ) { return nmeSetScaleMode_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetScaleMode") ) { return nmeGetScaleMode_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetFrameRate") ) { return nmeSetFrameRate_dyn(); } - if (HX_FIELD_EQ(inName,"nmeNextFrameDue") ) { return nmeNextFrameDue_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_render_stage") ) { return nme_render_stage; } - if (HX_FIELD_EQ(inName,"nmeGetStageWidth") ) { return nmeGetStageWidth_dyn(); } - if (HX_FIELD_EQ(inName,"nmeLastClickTime") ) { return nmeLastClickTime; } - break; - case 17: - if (HX_FIELD_EQ(inName,"OrientationFaceUp") ) { return OrientationFaceUp; } - if (HX_FIELD_EQ(inName,"nmeGetStageHeight") ) { return nmeGetStageHeight_dyn(); } - if (HX_FIELD_EQ(inName,"nmeUpdateNextWake") ) { return nmeUpdateNextWake_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"nmeSetDisplayState") ) { return nmeSetDisplayState_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetDisplayState") ) { return nmeGetDisplayState_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"OrientationPortrait") ) { return OrientationPortrait; } - if (HX_FIELD_EQ(inName,"OrientationFaceDown") ) { return OrientationFaceDown; } - if (HX_FIELD_EQ(inName,"setFixedOrientation") ) { return setFixedOrientation_dyn(); } - if (HX_FIELD_EQ(inName,"nme_stage_set_focus") ) { return nme_stage_set_focus; } - if (HX_FIELD_EQ(inName,"nme_stage_is_opengl") ) { return nme_stage_is_opengl; } - if (HX_FIELD_EQ(inName,"nme_stage_get_align") ) { return nme_stage_get_align; } - if (HX_FIELD_EQ(inName,"nme_stage_set_align") ) { return nme_stage_set_align; } - if (HX_FIELD_EQ(inName,"nmeCheckFocusInOuts") ) { return nmeCheckFocusInOuts_dyn(); } - if (HX_FIELD_EQ(inName,"nmeMouseOverObjects") ) { return nmeMouseOverObjects; } - if (HX_FIELD_EQ(inName,"nmeFocusOverObjects") ) { return nmeFocusOverObjects; } - break; - case 20: - if (HX_FIELD_EQ(inName,"getNormalOrientation") ) { return getNormalOrientation; } - if (HX_FIELD_EQ(inName,"nmeSetStageFocusRect") ) { return nmeSetStageFocusRect_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetStageFocusRect") ) { return nmeGetStageFocusRect_dyn(); } - if (HX_FIELD_EQ(inName,"nmeProcessStageEvent") ) { return nmeProcessStageEvent_dyn(); } - if (HX_FIELD_EQ(inName,"pauseWhenDeactivated") ) { return pauseWhenDeactivated; } - break; - case 21: - if (HX_FIELD_EQ(inName,"shouldRotateInterface") ) { return shouldRotateInterface; } - if (HX_FIELD_EQ(inName,"nme_set_stage_handler") ) { return nme_set_stage_handler; } - if (HX_FIELD_EQ(inName,"nme_stage_get_quality") ) { return nme_stage_get_quality; } - if (HX_FIELD_EQ(inName,"nme_stage_set_quality") ) { return nme_stage_set_quality; } - if (HX_FIELD_EQ(inName,"nme_stage_show_cursor") ) { return nme_stage_show_cursor; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_stage_get_focus_id") ) { return nme_stage_get_focus_id; } - if (HX_FIELD_EQ(inName,"nmeDoProcessStageEvent") ) { return nmeDoProcessStageEvent_dyn(); } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_stage_get_dpi_scale") ) { return nme_stage_get_dpi_scale; } - if (HX_FIELD_EQ(inName,"nme_stage_set_next_wake") ) { return nme_stage_set_next_wake; } - break; - case 24: - if (HX_FIELD_EQ(inName,"OrientationLandscapeLeft") ) { return OrientationLandscapeLeft; } - if (HX_FIELD_EQ(inName,"nme_stage_get_focus_rect") ) { return nme_stage_get_focus_rect; } - if (HX_FIELD_EQ(inName,"nme_stage_set_focus_rect") ) { return nme_stage_set_focus_rect; } - if (HX_FIELD_EQ(inName,"nme_stage_get_scale_mode") ) { return nme_stage_get_scale_mode; } - if (HX_FIELD_EQ(inName,"nme_stage_set_scale_mode") ) { return nme_stage_set_scale_mode; } - if (HX_FIELD_EQ(inName,"nme_stage_request_render") ) { return nme_stage_request_render; } - break; - case 25: - if (HX_FIELD_EQ(inName,"OrientationLandscapeRight") ) { return OrientationLandscapeRight; } - if (HX_FIELD_EQ(inName,"nme_stage_get_stage_width") ) { return nme_stage_get_stage_width; } - if (HX_FIELD_EQ(inName,"nme_stage_get_orientation") ) { return nme_stage_get_orientation; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_stage_get_stage_height") ) { return nme_stage_get_stage_height; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_stage_get_display_state") ) { return nme_stage_get_display_state; } - if (HX_FIELD_EQ(inName,"nme_stage_set_display_state") ) { return nme_stage_set_display_state; } - break; - case 29: - if (HX_FIELD_EQ(inName,"OrientationPortraitUpsideDown") ) { return OrientationPortraitUpsideDown; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_stage_set_fixed_orientation") ) { return nme_stage_set_fixed_orientation; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nme_stage_get_normal_orientation") ) { return nme_stage_get_normal_orientation; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Stage_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"onKey") ) { onKey=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"focus") ) { if (inCallProp) return nmeSetFocus(inValue);focus=inValue.Cast< ::neash::display::InteractiveObject >(); return inValue; } - if (HX_FIELD_EQ(inName,"align") ) { if (inCallProp) return nmeSetAlign(inValue);align=inValue.Cast< ::neash::display::StageAlign >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"onQuit") ) { onQuit=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"active") ) { active=inValue.Cast< bool >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"quality") ) { if (inCallProp) return nmeSetQuality(inValue);quality=inValue.Cast< ::neash::display::StageQuality >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"isOpenGL") ) { isOpenGL=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"dpiScale") ) { dpiScale=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"efAltDown") ) { efAltDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"sUpEvents") ) { sUpEvents=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"scaleMode") ) { if (inCallProp) return nmeSetScaleMode(inValue);scaleMode=inValue.Cast< ::neash::display::StageScaleMode >(); return inValue; } - if (HX_FIELD_EQ(inName,"frameRate") ) { if (inCallProp) return nmeSetFrameRate(inValue);frameRate=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"efLeftDown") ) { efLeftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { efCtrlDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeInvalid") ) { nmeInvalid=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"stageWidth") ) { stageWidth=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"efShiftDown") ) { efShiftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"sDownEvents") ) { sDownEvents=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeLastDown") ) { nmeLastDown=inValue.Cast< Array< ::neash::display::InteractiveObject > >(); return inValue; } - if (HX_FIELD_EQ(inName,"stageHeight") ) { stageHeight=inValue.Cast< int >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sClickEvents") ) { sClickEvents=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeTouchInfo") ) { nmeTouchInfo=inValue.Cast< ::IntHash >(); return inValue; } - if (HX_FIELD_EQ(inName,"displayState") ) { if (inCallProp) return nmeSetDisplayState(inValue);displayState=inValue.Cast< ::neash::display::StageDisplayState >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { efCommandDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeLastRender") ) { nmeLastRender=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDragObject") ) { nmeDragObject=inValue.Cast< ::neash::display::Sprite >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDragBounds") ) { nmeDragBounds=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - if (HX_FIELD_EQ(inName,"renderRequest") ) { renderRequest=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"nmeEarlyWakeup") ) { nmeEarlyWakeup=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"getOrientation") ) { getOrientation=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeFramePeriod") ) { nmeFramePeriod=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDragOffsetY") ) { nmeDragOffsetY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDragOffsetX") ) { nmeDragOffsetX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeJoyAxisData") ) { nmeJoyAxisData=inValue.Cast< ::IntHash >(); return inValue; } - if (HX_FIELD_EQ(inName,"stageFocusRect") ) { if (inCallProp) return nmeSetStageFocusRect(inValue);stageFocusRect=inValue.Cast< bool >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"efLocationRight") ) { efLocationRight=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efNoNativeClick") ) { efNoNativeClick=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeMouseChanges") ) { nmeMouseChanges=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeTouchChanges") ) { nmeTouchChanges=inValue.Cast< Array< ::String > >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_render_stage") ) { nme_render_stage=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeLastClickTime") ) { nmeLastClickTime=inValue.Cast< Float >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"OrientationFaceUp") ) { OrientationFaceUp=inValue.Cast< int >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"OrientationPortrait") ) { OrientationPortrait=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"OrientationFaceDown") ) { OrientationFaceDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_focus") ) { nme_stage_set_focus=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_is_opengl") ) { nme_stage_is_opengl=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_align") ) { nme_stage_get_align=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_align") ) { nme_stage_set_align=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeMouseOverObjects") ) { nmeMouseOverObjects=inValue.Cast< Array< ::neash::display::InteractiveObject > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeFocusOverObjects") ) { nmeFocusOverObjects=inValue.Cast< Array< ::neash::display::InteractiveObject > >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"getNormalOrientation") ) { getNormalOrientation=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"pauseWhenDeactivated") ) { pauseWhenDeactivated=inValue.Cast< bool >(); return inValue; } - break; - case 21: - if (HX_FIELD_EQ(inName,"shouldRotateInterface") ) { shouldRotateInterface=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_set_stage_handler") ) { nme_set_stage_handler=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_quality") ) { nme_stage_get_quality=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_quality") ) { nme_stage_set_quality=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_show_cursor") ) { nme_stage_show_cursor=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_stage_get_focus_id") ) { nme_stage_get_focus_id=inValue.Cast< Dynamic >(); return inValue; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_stage_get_dpi_scale") ) { nme_stage_get_dpi_scale=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_next_wake") ) { nme_stage_set_next_wake=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"OrientationLandscapeLeft") ) { OrientationLandscapeLeft=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_focus_rect") ) { nme_stage_get_focus_rect=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_focus_rect") ) { nme_stage_set_focus_rect=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_scale_mode") ) { nme_stage_get_scale_mode=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_scale_mode") ) { nme_stage_set_scale_mode=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_request_render") ) { nme_stage_request_render=inValue.Cast< Dynamic >(); return inValue; } - break; - case 25: - if (HX_FIELD_EQ(inName,"OrientationLandscapeRight") ) { OrientationLandscapeRight=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_stage_width") ) { nme_stage_get_stage_width=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_orientation") ) { nme_stage_get_orientation=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_stage_get_stage_height") ) { nme_stage_get_stage_height=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_stage_get_display_state") ) { nme_stage_get_display_state=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_display_state") ) { nme_stage_set_display_state=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"OrientationPortraitUpsideDown") ) { OrientationPortraitUpsideDown=inValue.Cast< int >(); return inValue; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_stage_set_fixed_orientation") ) { nme_stage_set_fixed_orientation=inValue.Cast< Dynamic >(); return inValue; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nme_stage_get_normal_orientation") ) { nme_stage_get_normal_orientation=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Stage_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeTouchInfo")); - outFields->push(HX_CSTRING("nmeMouseOverObjects")); - outFields->push(HX_CSTRING("nmeLastRender")); - outFields->push(HX_CSTRING("nmeLastDown")); - outFields->push(HX_CSTRING("nmeLastClickTime")); - outFields->push(HX_CSTRING("nmeInvalid")); - outFields->push(HX_CSTRING("nmeFramePeriod")); - outFields->push(HX_CSTRING("nmeFocusOverObjects")); - outFields->push(HX_CSTRING("nmeDragOffsetY")); - outFields->push(HX_CSTRING("nmeDragOffsetX")); - outFields->push(HX_CSTRING("nmeDragObject")); - outFields->push(HX_CSTRING("nmeDragBounds")); - outFields->push(HX_CSTRING("nmeJoyAxisData")); - outFields->push(HX_CSTRING("stageWidth")); - outFields->push(HX_CSTRING("stageHeight")); - outFields->push(HX_CSTRING("stageFocusRect")); - outFields->push(HX_CSTRING("scaleMode")); - outFields->push(HX_CSTRING("quality")); - outFields->push(HX_CSTRING("pauseWhenDeactivated")); - outFields->push(HX_CSTRING("isOpenGL")); - outFields->push(HX_CSTRING("frameRate")); - outFields->push(HX_CSTRING("focus")); - outFields->push(HX_CSTRING("dpiScale")); - outFields->push(HX_CSTRING("displayState")); - outFields->push(HX_CSTRING("align")); - outFields->push(HX_CSTRING("active")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nmeEarlyWakeup"), - HX_CSTRING("OrientationPortrait"), - HX_CSTRING("OrientationPortraitUpsideDown"), - HX_CSTRING("OrientationLandscapeRight"), - HX_CSTRING("OrientationLandscapeLeft"), - HX_CSTRING("OrientationFaceUp"), - HX_CSTRING("OrientationFaceDown"), - HX_CSTRING("efLeftDown"), - HX_CSTRING("efShiftDown"), - HX_CSTRING("efCtrlDown"), - HX_CSTRING("efAltDown"), - HX_CSTRING("efCommandDown"), - HX_CSTRING("efLocationRight"), - HX_CSTRING("efNoNativeClick"), - HX_CSTRING("nmeMouseChanges"), - HX_CSTRING("nmeTouchChanges"), - HX_CSTRING("sClickEvents"), - HX_CSTRING("sDownEvents"), - HX_CSTRING("sUpEvents"), - HX_CSTRING("getOrientation"), - HX_CSTRING("getNormalOrientation"), - HX_CSTRING("setFixedOrientation"), - HX_CSTRING("shouldRotateInterface"), - HX_CSTRING("nme_set_stage_handler"), - HX_CSTRING("nme_render_stage"), - HX_CSTRING("nme_stage_get_focus_id"), - HX_CSTRING("nme_stage_set_focus"), - HX_CSTRING("nme_stage_get_focus_rect"), - HX_CSTRING("nme_stage_set_focus_rect"), - HX_CSTRING("nme_stage_is_opengl"), - HX_CSTRING("nme_stage_get_stage_width"), - HX_CSTRING("nme_stage_get_stage_height"), - HX_CSTRING("nme_stage_get_dpi_scale"), - HX_CSTRING("nme_stage_get_scale_mode"), - HX_CSTRING("nme_stage_set_scale_mode"), - HX_CSTRING("nme_stage_get_align"), - HX_CSTRING("nme_stage_set_align"), - HX_CSTRING("nme_stage_get_quality"), - HX_CSTRING("nme_stage_set_quality"), - HX_CSTRING("nme_stage_get_display_state"), - HX_CSTRING("nme_stage_set_display_state"), - HX_CSTRING("nme_stage_set_next_wake"), - HX_CSTRING("nme_stage_request_render"), - HX_CSTRING("nme_stage_show_cursor"), - HX_CSTRING("nme_stage_set_fixed_orientation"), - HX_CSTRING("nme_stage_get_orientation"), - HX_CSTRING("nme_stage_get_normal_orientation"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetStageWidth"), - HX_CSTRING("nmeGetStageHeight"), - HX_CSTRING("nmeSetStageFocusRect"), - HX_CSTRING("nmeGetStageFocusRect"), - HX_CSTRING("nmeSetScaleMode"), - HX_CSTRING("nmeGetScaleMode"), - HX_CSTRING("nmeSetQuality"), - HX_CSTRING("nmeGetQuality"), - HX_CSTRING("nmeIsOpenGL"), - HX_CSTRING("nmeSetFrameRate"), - HX_CSTRING("nmeSetFocus"), - HX_CSTRING("nmeGetFocus"), - HX_CSTRING("nmeGetDPIScale"), - HX_CSTRING("nmeSetDisplayState"), - HX_CSTRING("nmeGetDisplayState"), - HX_CSTRING("nmeSetAlign"), - HX_CSTRING("nmeGetAlign"), - HX_CSTRING("showCursor"), - HX_CSTRING("nmeUpdateNextWake"), - HX_CSTRING("nmeStopDrag"), - HX_CSTRING("nmeStartDrag"), - HX_CSTRING("nmeSetActive"), - HX_CSTRING("nmeRender"), - HX_CSTRING("nmePollTimers"), - HX_CSTRING("nmeOnTouch"), - HX_CSTRING("nmeOnResize"), - HX_CSTRING("nmeOnMouse"), - HX_CSTRING("nmeOnKey"), - HX_CSTRING("nmeOnJoystick"), - HX_CSTRING("nmeOnFocus"), - HX_CSTRING("nmeOnChange"), - HX_CSTRING("nmeNextFrameDue"), - HX_CSTRING("nmeGetStage"), - HX_CSTRING("nmeDrag"), - HX_CSTRING("nmeProcessStageEvent"), - HX_CSTRING("dummyTrace"), - HX_CSTRING("nmeDoProcessStageEvent"), - HX_CSTRING("nmeCheckRender"), - HX_CSTRING("nmeCheckInOuts"), - HX_CSTRING("nmeCheckFocusInOuts"), - HX_CSTRING("invalidate"), - HX_CSTRING("nmeTouchInfo"), - HX_CSTRING("nmeMouseOverObjects"), - HX_CSTRING("nmeLastRender"), - HX_CSTRING("nmeLastDown"), - HX_CSTRING("nmeLastClickTime"), - HX_CSTRING("nmeInvalid"), - HX_CSTRING("nmeFramePeriod"), - HX_CSTRING("nmeFocusOverObjects"), - HX_CSTRING("nmeDragOffsetY"), - HX_CSTRING("nmeDragOffsetX"), - HX_CSTRING("nmeDragObject"), - HX_CSTRING("nmeDragBounds"), - HX_CSTRING("nmeJoyAxisData"), - HX_CSTRING("stageWidth"), - HX_CSTRING("stageHeight"), - HX_CSTRING("stageFocusRect"), - HX_CSTRING("scaleMode"), - HX_CSTRING("renderRequest"), - HX_CSTRING("quality"), - HX_CSTRING("pauseWhenDeactivated"), - HX_CSTRING("onQuit"), - HX_CSTRING("onKey"), - HX_CSTRING("isOpenGL"), - HX_CSTRING("frameRate"), - HX_CSTRING("focus"), - HX_CSTRING("dpiScale"), - HX_CSTRING("displayState"), - HX_CSTRING("align"), - HX_CSTRING("active"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Stage_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Stage_obj::nmeEarlyWakeup,"nmeEarlyWakeup"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationPortrait,"OrientationPortrait"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationPortraitUpsideDown,"OrientationPortraitUpsideDown"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationLandscapeRight,"OrientationLandscapeRight"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationLandscapeLeft,"OrientationLandscapeLeft"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationFaceUp,"OrientationFaceUp"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationFaceDown,"OrientationFaceDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efLeftDown,"efLeftDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efShiftDown,"efShiftDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efCtrlDown,"efCtrlDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efAltDown,"efAltDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efCommandDown,"efCommandDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efLocationRight,"efLocationRight"); - HX_MARK_MEMBER_NAME(Stage_obj::efNoNativeClick,"efNoNativeClick"); - HX_MARK_MEMBER_NAME(Stage_obj::nmeMouseChanges,"nmeMouseChanges"); - HX_MARK_MEMBER_NAME(Stage_obj::nmeTouchChanges,"nmeTouchChanges"); - HX_MARK_MEMBER_NAME(Stage_obj::sClickEvents,"sClickEvents"); - HX_MARK_MEMBER_NAME(Stage_obj::sDownEvents,"sDownEvents"); - HX_MARK_MEMBER_NAME(Stage_obj::sUpEvents,"sUpEvents"); - HX_MARK_MEMBER_NAME(Stage_obj::getOrientation,"getOrientation"); - HX_MARK_MEMBER_NAME(Stage_obj::getNormalOrientation,"getNormalOrientation"); - HX_MARK_MEMBER_NAME(Stage_obj::shouldRotateInterface,"shouldRotateInterface"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_set_stage_handler,"nme_set_stage_handler"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_render_stage,"nme_render_stage"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_focus_id,"nme_stage_get_focus_id"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_focus,"nme_stage_set_focus"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_focus_rect,"nme_stage_get_focus_rect"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_focus_rect,"nme_stage_set_focus_rect"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_is_opengl,"nme_stage_is_opengl"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_stage_width,"nme_stage_get_stage_width"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_stage_height,"nme_stage_get_stage_height"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_dpi_scale,"nme_stage_get_dpi_scale"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_scale_mode,"nme_stage_get_scale_mode"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_scale_mode,"nme_stage_set_scale_mode"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_align,"nme_stage_get_align"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_align,"nme_stage_set_align"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_quality,"nme_stage_get_quality"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_quality,"nme_stage_set_quality"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_display_state,"nme_stage_get_display_state"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_display_state,"nme_stage_set_display_state"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_next_wake,"nme_stage_set_next_wake"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_request_render,"nme_stage_request_render"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_show_cursor,"nme_stage_show_cursor"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_fixed_orientation,"nme_stage_set_fixed_orientation"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_orientation,"nme_stage_get_orientation"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_normal_orientation,"nme_stage_get_normal_orientation"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Stage_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Stage_obj::nmeEarlyWakeup,"nmeEarlyWakeup"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationPortrait,"OrientationPortrait"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationPortraitUpsideDown,"OrientationPortraitUpsideDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationLandscapeRight,"OrientationLandscapeRight"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationLandscapeLeft,"OrientationLandscapeLeft"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationFaceUp,"OrientationFaceUp"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationFaceDown,"OrientationFaceDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efLeftDown,"efLeftDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efShiftDown,"efShiftDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efCtrlDown,"efCtrlDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efAltDown,"efAltDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efCommandDown,"efCommandDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efLocationRight,"efLocationRight"); - HX_VISIT_MEMBER_NAME(Stage_obj::efNoNativeClick,"efNoNativeClick"); - HX_VISIT_MEMBER_NAME(Stage_obj::nmeMouseChanges,"nmeMouseChanges"); - HX_VISIT_MEMBER_NAME(Stage_obj::nmeTouchChanges,"nmeTouchChanges"); - HX_VISIT_MEMBER_NAME(Stage_obj::sClickEvents,"sClickEvents"); - HX_VISIT_MEMBER_NAME(Stage_obj::sDownEvents,"sDownEvents"); - HX_VISIT_MEMBER_NAME(Stage_obj::sUpEvents,"sUpEvents"); - HX_VISIT_MEMBER_NAME(Stage_obj::getOrientation,"getOrientation"); - HX_VISIT_MEMBER_NAME(Stage_obj::getNormalOrientation,"getNormalOrientation"); - HX_VISIT_MEMBER_NAME(Stage_obj::shouldRotateInterface,"shouldRotateInterface"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_set_stage_handler,"nme_set_stage_handler"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_render_stage,"nme_render_stage"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_focus_id,"nme_stage_get_focus_id"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_focus,"nme_stage_set_focus"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_focus_rect,"nme_stage_get_focus_rect"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_focus_rect,"nme_stage_set_focus_rect"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_is_opengl,"nme_stage_is_opengl"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_stage_width,"nme_stage_get_stage_width"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_stage_height,"nme_stage_get_stage_height"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_dpi_scale,"nme_stage_get_dpi_scale"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_scale_mode,"nme_stage_get_scale_mode"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_scale_mode,"nme_stage_set_scale_mode"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_align,"nme_stage_get_align"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_align,"nme_stage_set_align"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_quality,"nme_stage_get_quality"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_quality,"nme_stage_set_quality"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_display_state,"nme_stage_get_display_state"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_display_state,"nme_stage_set_display_state"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_next_wake,"nme_stage_set_next_wake"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_request_render,"nme_stage_request_render"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_show_cursor,"nme_stage_show_cursor"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_fixed_orientation,"nme_stage_set_fixed_orientation"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_orientation,"nme_stage_get_orientation"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_normal_orientation,"nme_stage_get_normal_orientation"); -}; - -Class Stage_obj::__mClass; - -void Stage_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.Stage"), hx::TCanCast< Stage_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Stage_obj::__boot() -{ - nmeEarlyWakeup= 0.005; - OrientationPortrait= (int)1; - OrientationPortraitUpsideDown= (int)2; - OrientationLandscapeRight= (int)3; - OrientationLandscapeLeft= (int)4; - OrientationFaceUp= (int)5; - OrientationFaceDown= (int)6; - efLeftDown= (int)1; - efShiftDown= (int)2; - efCtrlDown= (int)4; - efAltDown= (int)8; - efCommandDown= (int)16; - efLocationRight= (int)16384; - efNoNativeClick= (int)65536; - nmeMouseChanges= Array_obj< ::String >::__new().Add(::neash::events::MouseEvent_obj::MOUSE_OUT).Add(::neash::events::MouseEvent_obj::MOUSE_OVER).Add(::neash::events::MouseEvent_obj::ROLL_OUT).Add(::neash::events::MouseEvent_obj::ROLL_OVER); - nmeTouchChanges= Array_obj< ::String >::__new().Add(::neash::events::TouchEvent_obj::TOUCH_OUT).Add(::neash::events::TouchEvent_obj::TOUCH_OVER).Add(::neash::events::TouchEvent_obj::TOUCH_ROLL_OUT).Add(::neash::events::TouchEvent_obj::TOUCH_ROLL_OVER); - sClickEvents= Array_obj< ::String >::__new().Add(HX_CSTRING("click")).Add(HX_CSTRING("middleClick")).Add(HX_CSTRING("rightClick")); - sDownEvents= Array_obj< ::String >::__new().Add(HX_CSTRING("mouseDown")).Add(HX_CSTRING("middleMouseDown")).Add(HX_CSTRING("rightMouseDown")); - sUpEvents= Array_obj< ::String >::__new().Add(HX_CSTRING("mouseUp")).Add(HX_CSTRING("middleMouseUp")).Add(HX_CSTRING("rightMouseUp")); - getOrientation = new __default_getOrientation; - - getNormalOrientation = new __default_getNormalOrientation; - - shouldRotateInterface = new __default_shouldRotateInterface; - - nme_set_stage_handler= ::neash::Loader_obj::load(HX_CSTRING("nme_set_stage_handler"),(int)4); - nme_render_stage= ::neash::Loader_obj::load(HX_CSTRING("nme_render_stage"),(int)1); - nme_stage_get_focus_id= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_focus_id"),(int)1); - nme_stage_set_focus= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_focus"),(int)3); - nme_stage_get_focus_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_focus_rect"),(int)1); - nme_stage_set_focus_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_focus_rect"),(int)2); - nme_stage_is_opengl= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_is_opengl"),(int)1); - nme_stage_get_stage_width= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_stage_width"),(int)1); - nme_stage_get_stage_height= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_stage_height"),(int)1); - nme_stage_get_dpi_scale= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_dpi_scale"),(int)1); - nme_stage_get_scale_mode= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_scale_mode"),(int)1); - nme_stage_set_scale_mode= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_scale_mode"),(int)2); - nme_stage_get_align= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_align"),(int)1); - nme_stage_set_align= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_align"),(int)2); - nme_stage_get_quality= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_quality"),(int)1); - nme_stage_set_quality= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_quality"),(int)2); - nme_stage_get_display_state= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_display_state"),(int)1); - nme_stage_set_display_state= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_display_state"),(int)2); - nme_stage_set_next_wake= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_next_wake"),(int)2); - nme_stage_request_render= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_request_render"),(int)0); - nme_stage_show_cursor= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_show_cursor"),(int)2); - nme_stage_set_fixed_orientation= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_fixed_orientation"),(int)1); - nme_stage_get_orientation= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_orientation"),(int)0); - nme_stage_get_normal_orientation= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_normal_orientation"),(int)0); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/StageAlign.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/StageAlign.cpp deleted file mode 100644 index beeb7d6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/StageAlign.cpp +++ /dev/null @@ -1,127 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_StageAlign -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::StageAlign StageAlign_obj::BOTTOM; - -::neash::display::StageAlign StageAlign_obj::BOTTOM_LEFT; - -::neash::display::StageAlign StageAlign_obj::BOTTOM_RIGHT; - -::neash::display::StageAlign StageAlign_obj::LEFT; - -::neash::display::StageAlign StageAlign_obj::RIGHT; - -::neash::display::StageAlign StageAlign_obj::TOP; - -::neash::display::StageAlign StageAlign_obj::TOP_LEFT; - -::neash::display::StageAlign StageAlign_obj::TOP_RIGHT; - -HX_DEFINE_CREATE_ENUM(StageAlign_obj) - -int StageAlign_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BOTTOM")) return 7; - if (inName==HX_CSTRING("BOTTOM_LEFT")) return 6; - if (inName==HX_CSTRING("BOTTOM_RIGHT")) return 5; - if (inName==HX_CSTRING("LEFT")) return 4; - if (inName==HX_CSTRING("RIGHT")) return 3; - if (inName==HX_CSTRING("TOP")) return 2; - if (inName==HX_CSTRING("TOP_LEFT")) return 1; - if (inName==HX_CSTRING("TOP_RIGHT")) return 0; - return super::__FindIndex(inName); -} - -int StageAlign_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BOTTOM")) return 0; - if (inName==HX_CSTRING("BOTTOM_LEFT")) return 0; - if (inName==HX_CSTRING("BOTTOM_RIGHT")) return 0; - if (inName==HX_CSTRING("LEFT")) return 0; - if (inName==HX_CSTRING("RIGHT")) return 0; - if (inName==HX_CSTRING("TOP")) return 0; - if (inName==HX_CSTRING("TOP_LEFT")) return 0; - if (inName==HX_CSTRING("TOP_RIGHT")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic StageAlign_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BOTTOM")) return BOTTOM; - if (inName==HX_CSTRING("BOTTOM_LEFT")) return BOTTOM_LEFT; - if (inName==HX_CSTRING("BOTTOM_RIGHT")) return BOTTOM_RIGHT; - if (inName==HX_CSTRING("LEFT")) return LEFT; - if (inName==HX_CSTRING("RIGHT")) return RIGHT; - if (inName==HX_CSTRING("TOP")) return TOP; - if (inName==HX_CSTRING("TOP_LEFT")) return TOP_LEFT; - if (inName==HX_CSTRING("TOP_RIGHT")) return TOP_RIGHT; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("TOP_RIGHT"), - HX_CSTRING("TOP_LEFT"), - HX_CSTRING("TOP"), - HX_CSTRING("RIGHT"), - HX_CSTRING("LEFT"), - HX_CSTRING("BOTTOM_RIGHT"), - HX_CSTRING("BOTTOM_LEFT"), - HX_CSTRING("BOTTOM"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StageAlign_obj::BOTTOM,"BOTTOM"); - HX_MARK_MEMBER_NAME(StageAlign_obj::BOTTOM_LEFT,"BOTTOM_LEFT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::BOTTOM_RIGHT,"BOTTOM_RIGHT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::LEFT,"LEFT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::RIGHT,"RIGHT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::TOP,"TOP"); - HX_MARK_MEMBER_NAME(StageAlign_obj::TOP_LEFT,"TOP_LEFT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::TOP_RIGHT,"TOP_RIGHT"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StageAlign_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::BOTTOM,"BOTTOM"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::BOTTOM_LEFT,"BOTTOM_LEFT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::BOTTOM_RIGHT,"BOTTOM_RIGHT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::LEFT,"LEFT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::RIGHT,"RIGHT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::TOP,"TOP"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::TOP_LEFT,"TOP_LEFT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::TOP_RIGHT,"TOP_RIGHT"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class StageAlign_obj::__mClass; - -Dynamic __Create_StageAlign_obj() { return new StageAlign_obj; } - -void StageAlign_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.StageAlign"), hx::TCanCast< StageAlign_obj >,sStaticFields,sMemberFields, - &__Create_StageAlign_obj, &__Create, - &super::__SGetClass(), &CreateStageAlign_obj, sMarkStatics, sVisitStatic); -} - -void StageAlign_obj::__boot() -{ -Static(BOTTOM) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("BOTTOM"),7); -Static(BOTTOM_LEFT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("BOTTOM_LEFT"),6); -Static(BOTTOM_RIGHT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("BOTTOM_RIGHT"),5); -Static(LEFT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("LEFT"),4); -Static(RIGHT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("RIGHT"),3); -Static(TOP) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("TOP"),2); -Static(TOP_LEFT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("TOP_LEFT"),1); -Static(TOP_RIGHT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("TOP_RIGHT"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/StageDisplayState.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/StageDisplayState.cpp deleted file mode 100644 index e9bf2d1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/StageDisplayState.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_StageDisplayState -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::StageDisplayState StageDisplayState_obj::FULL_SCREEN; - -::neash::display::StageDisplayState StageDisplayState_obj::FULL_SCREEN_INTERACTIVE; - -::neash::display::StageDisplayState StageDisplayState_obj::NORMAL; - -HX_DEFINE_CREATE_ENUM(StageDisplayState_obj) - -int StageDisplayState_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("FULL_SCREEN")) return 1; - if (inName==HX_CSTRING("FULL_SCREEN_INTERACTIVE")) return 2; - if (inName==HX_CSTRING("NORMAL")) return 0; - return super::__FindIndex(inName); -} - -int StageDisplayState_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("FULL_SCREEN")) return 0; - if (inName==HX_CSTRING("FULL_SCREEN_INTERACTIVE")) return 0; - if (inName==HX_CSTRING("NORMAL")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic StageDisplayState_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("FULL_SCREEN")) return FULL_SCREEN; - if (inName==HX_CSTRING("FULL_SCREEN_INTERACTIVE")) return FULL_SCREEN_INTERACTIVE; - if (inName==HX_CSTRING("NORMAL")) return NORMAL; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NORMAL"), - HX_CSTRING("FULL_SCREEN"), - HX_CSTRING("FULL_SCREEN_INTERACTIVE"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StageDisplayState_obj::FULL_SCREEN,"FULL_SCREEN"); - HX_MARK_MEMBER_NAME(StageDisplayState_obj::FULL_SCREEN_INTERACTIVE,"FULL_SCREEN_INTERACTIVE"); - HX_MARK_MEMBER_NAME(StageDisplayState_obj::NORMAL,"NORMAL"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StageDisplayState_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(StageDisplayState_obj::FULL_SCREEN,"FULL_SCREEN"); - HX_VISIT_MEMBER_NAME(StageDisplayState_obj::FULL_SCREEN_INTERACTIVE,"FULL_SCREEN_INTERACTIVE"); - HX_VISIT_MEMBER_NAME(StageDisplayState_obj::NORMAL,"NORMAL"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class StageDisplayState_obj::__mClass; - -Dynamic __Create_StageDisplayState_obj() { return new StageDisplayState_obj; } - -void StageDisplayState_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.StageDisplayState"), hx::TCanCast< StageDisplayState_obj >,sStaticFields,sMemberFields, - &__Create_StageDisplayState_obj, &__Create, - &super::__SGetClass(), &CreateStageDisplayState_obj, sMarkStatics, sVisitStatic); -} - -void StageDisplayState_obj::__boot() -{ -Static(FULL_SCREEN) = hx::CreateEnum< StageDisplayState_obj >(HX_CSTRING("FULL_SCREEN"),1); -Static(FULL_SCREEN_INTERACTIVE) = hx::CreateEnum< StageDisplayState_obj >(HX_CSTRING("FULL_SCREEN_INTERACTIVE"),2); -Static(NORMAL) = hx::CreateEnum< StageDisplayState_obj >(HX_CSTRING("NORMAL"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/StageQuality.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/StageQuality.cpp deleted file mode 100644 index 571faa4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/StageQuality.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_StageQuality -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::StageQuality StageQuality_obj::BEST; - -::neash::display::StageQuality StageQuality_obj::HIGH; - -::neash::display::StageQuality StageQuality_obj::LOW; - -::neash::display::StageQuality StageQuality_obj::MEDIUM; - -HX_DEFINE_CREATE_ENUM(StageQuality_obj) - -int StageQuality_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BEST")) return 3; - if (inName==HX_CSTRING("HIGH")) return 2; - if (inName==HX_CSTRING("LOW")) return 0; - if (inName==HX_CSTRING("MEDIUM")) return 1; - return super::__FindIndex(inName); -} - -int StageQuality_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BEST")) return 0; - if (inName==HX_CSTRING("HIGH")) return 0; - if (inName==HX_CSTRING("LOW")) return 0; - if (inName==HX_CSTRING("MEDIUM")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic StageQuality_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BEST")) return BEST; - if (inName==HX_CSTRING("HIGH")) return HIGH; - if (inName==HX_CSTRING("LOW")) return LOW; - if (inName==HX_CSTRING("MEDIUM")) return MEDIUM; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("LOW"), - HX_CSTRING("MEDIUM"), - HX_CSTRING("HIGH"), - HX_CSTRING("BEST"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StageQuality_obj::BEST,"BEST"); - HX_MARK_MEMBER_NAME(StageQuality_obj::HIGH,"HIGH"); - HX_MARK_MEMBER_NAME(StageQuality_obj::LOW,"LOW"); - HX_MARK_MEMBER_NAME(StageQuality_obj::MEDIUM,"MEDIUM"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StageQuality_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(StageQuality_obj::BEST,"BEST"); - HX_VISIT_MEMBER_NAME(StageQuality_obj::HIGH,"HIGH"); - HX_VISIT_MEMBER_NAME(StageQuality_obj::LOW,"LOW"); - HX_VISIT_MEMBER_NAME(StageQuality_obj::MEDIUM,"MEDIUM"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class StageQuality_obj::__mClass; - -Dynamic __Create_StageQuality_obj() { return new StageQuality_obj; } - -void StageQuality_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.StageQuality"), hx::TCanCast< StageQuality_obj >,sStaticFields,sMemberFields, - &__Create_StageQuality_obj, &__Create, - &super::__SGetClass(), &CreateStageQuality_obj, sMarkStatics, sVisitStatic); -} - -void StageQuality_obj::__boot() -{ -Static(BEST) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("BEST"),3); -Static(HIGH) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("HIGH"),2); -Static(LOW) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("LOW"),0); -Static(MEDIUM) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("MEDIUM"),1); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/StageScaleMode.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/StageScaleMode.cpp deleted file mode 100644 index 4021d57..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/StageScaleMode.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_StageScaleMode -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::StageScaleMode StageScaleMode_obj::EXACT_FIT; - -::neash::display::StageScaleMode StageScaleMode_obj::NO_BORDER; - -::neash::display::StageScaleMode StageScaleMode_obj::NO_SCALE; - -::neash::display::StageScaleMode StageScaleMode_obj::SHOW_ALL; - -HX_DEFINE_CREATE_ENUM(StageScaleMode_obj) - -int StageScaleMode_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("EXACT_FIT")) return 3; - if (inName==HX_CSTRING("NO_BORDER")) return 2; - if (inName==HX_CSTRING("NO_SCALE")) return 1; - if (inName==HX_CSTRING("SHOW_ALL")) return 0; - return super::__FindIndex(inName); -} - -int StageScaleMode_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("EXACT_FIT")) return 0; - if (inName==HX_CSTRING("NO_BORDER")) return 0; - if (inName==HX_CSTRING("NO_SCALE")) return 0; - if (inName==HX_CSTRING("SHOW_ALL")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic StageScaleMode_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("EXACT_FIT")) return EXACT_FIT; - if (inName==HX_CSTRING("NO_BORDER")) return NO_BORDER; - if (inName==HX_CSTRING("NO_SCALE")) return NO_SCALE; - if (inName==HX_CSTRING("SHOW_ALL")) return SHOW_ALL; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("SHOW_ALL"), - HX_CSTRING("NO_SCALE"), - HX_CSTRING("NO_BORDER"), - HX_CSTRING("EXACT_FIT"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StageScaleMode_obj::EXACT_FIT,"EXACT_FIT"); - HX_MARK_MEMBER_NAME(StageScaleMode_obj::NO_BORDER,"NO_BORDER"); - HX_MARK_MEMBER_NAME(StageScaleMode_obj::NO_SCALE,"NO_SCALE"); - HX_MARK_MEMBER_NAME(StageScaleMode_obj::SHOW_ALL,"SHOW_ALL"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::EXACT_FIT,"EXACT_FIT"); - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::NO_BORDER,"NO_BORDER"); - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::NO_SCALE,"NO_SCALE"); - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::SHOW_ALL,"SHOW_ALL"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class StageScaleMode_obj::__mClass; - -Dynamic __Create_StageScaleMode_obj() { return new StageScaleMode_obj; } - -void StageScaleMode_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.StageScaleMode"), hx::TCanCast< StageScaleMode_obj >,sStaticFields,sMemberFields, - &__Create_StageScaleMode_obj, &__Create, - &super::__SGetClass(), &CreateStageScaleMode_obj, sMarkStatics, sVisitStatic); -} - -void StageScaleMode_obj::__boot() -{ -Static(EXACT_FIT) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("EXACT_FIT"),3); -Static(NO_BORDER) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("NO_BORDER"),2); -Static(NO_SCALE) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("NO_SCALE"),1); -Static(SHOW_ALL) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("SHOW_ALL"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/Tilesheet.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/Tilesheet.cpp deleted file mode 100644 index e8e5486..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/Tilesheet.cpp +++ /dev/null @@ -1,269 +0,0 @@ -#include - -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_Tilesheet -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -namespace neash{ -namespace display{ - -Void Tilesheet_obj::__construct(::neash::display::BitmapData inImage) -{ -HX_STACK_PUSH("Tilesheet::new","neash/display/Tilesheet.hx",27); -{ - HX_STACK_LINE(28) - this->nmeBitmap = inImage; - HX_STACK_LINE(29) - this->nmeHandle = ::neash::display::Tilesheet_obj::nme_tilesheet_create(inImage->nmeHandle); -} -; - return null(); -} - -Tilesheet_obj::~Tilesheet_obj() { } - -Dynamic Tilesheet_obj::__CreateEmpty() { return new Tilesheet_obj; } -hx::ObjectPtr< Tilesheet_obj > Tilesheet_obj::__new(::neash::display::BitmapData inImage) -{ hx::ObjectPtr< Tilesheet_obj > result = new Tilesheet_obj(); - result->__construct(inImage); - return result;} - -Dynamic Tilesheet_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Tilesheet_obj > result = new Tilesheet_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Tilesheet_obj::drawTiles( ::neash::display::Graphics graphics,Array< Float > tileData,hx::Null< bool > __o_smooth,hx::Null< int > __o_flags){ -bool smooth = __o_smooth.Default(false); -int flags = __o_flags.Default(0); - HX_STACK_PUSH("Tilesheet::drawTiles","neash/display/Tilesheet.hx",59); - HX_STACK_THIS(this); - HX_STACK_ARG(graphics,"graphics"); - HX_STACK_ARG(tileData,"tileData"); - HX_STACK_ARG(smooth,"smooth"); - HX_STACK_ARG(flags,"flags"); -{ - HX_STACK_LINE(59) - graphics->drawTiles(hx::ObjectPtr(this),tileData,smooth,flags); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Tilesheet_obj,drawTiles,(void)) - -Void Tilesheet_obj::addTileRect( ::neash::geom::Rectangle rectangle,::neash::geom::Point centerPoint){ -{ - HX_STACK_PUSH("Tilesheet::addTileRect","neash/display/Tilesheet.hx",34); - HX_STACK_THIS(this); - HX_STACK_ARG(rectangle,"rectangle"); - HX_STACK_ARG(centerPoint,"centerPoint"); - HX_STACK_LINE(34) - ::neash::display::Tilesheet_obj::nme_tilesheet_add_rect(this->nmeHandle,rectangle,centerPoint); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Tilesheet_obj,addTileRect,(void)) - -int Tilesheet_obj::TILE_SCALE; - -int Tilesheet_obj::TILE_ROTATION; - -int Tilesheet_obj::TILE_RGB; - -int Tilesheet_obj::TILE_ALPHA; - -int Tilesheet_obj::TILE_TRANS_2x2; - -int Tilesheet_obj::TILE_BLEND_NORMAL; - -int Tilesheet_obj::TILE_BLEND_ADD; - -Dynamic Tilesheet_obj::nme_tilesheet_create; - -Dynamic Tilesheet_obj::nme_tilesheet_add_rect; - - -Tilesheet_obj::Tilesheet_obj() -{ -} - -void Tilesheet_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Tilesheet); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(nmeBitmap,"nmeBitmap"); - HX_MARK_END_CLASS(); -} - -void Tilesheet_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(nmeBitmap,"nmeBitmap"); -} - -Dynamic Tilesheet_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"TILE_RGB") ) { return TILE_RGB; } - break; - case 9: - if (HX_FIELD_EQ(inName,"drawTiles") ) { return drawTiles_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - if (HX_FIELD_EQ(inName,"nmeBitmap") ) { return nmeBitmap; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TILE_SCALE") ) { return TILE_SCALE; } - if (HX_FIELD_EQ(inName,"TILE_ALPHA") ) { return TILE_ALPHA; } - break; - case 11: - if (HX_FIELD_EQ(inName,"addTileRect") ) { return addTileRect_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"TILE_ROTATION") ) { return TILE_ROTATION; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TILE_TRANS_2x2") ) { return TILE_TRANS_2x2; } - if (HX_FIELD_EQ(inName,"TILE_BLEND_ADD") ) { return TILE_BLEND_ADD; } - break; - case 17: - if (HX_FIELD_EQ(inName,"TILE_BLEND_NORMAL") ) { return TILE_BLEND_NORMAL; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_tilesheet_create") ) { return nme_tilesheet_create; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_tilesheet_add_rect") ) { return nme_tilesheet_add_rect; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Tilesheet_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"TILE_RGB") ) { TILE_RGB=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeBitmap") ) { nmeBitmap=inValue.Cast< ::neash::display::BitmapData >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TILE_SCALE") ) { TILE_SCALE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TILE_ALPHA") ) { TILE_ALPHA=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"TILE_ROTATION") ) { TILE_ROTATION=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TILE_TRANS_2x2") ) { TILE_TRANS_2x2=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TILE_BLEND_ADD") ) { TILE_BLEND_ADD=inValue.Cast< int >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"TILE_BLEND_NORMAL") ) { TILE_BLEND_NORMAL=inValue.Cast< int >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_tilesheet_create") ) { nme_tilesheet_create=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_tilesheet_add_rect") ) { nme_tilesheet_add_rect=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Tilesheet_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("nmeBitmap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("TILE_SCALE"), - HX_CSTRING("TILE_ROTATION"), - HX_CSTRING("TILE_RGB"), - HX_CSTRING("TILE_ALPHA"), - HX_CSTRING("TILE_TRANS_2x2"), - HX_CSTRING("TILE_BLEND_NORMAL"), - HX_CSTRING("TILE_BLEND_ADD"), - HX_CSTRING("nme_tilesheet_create"), - HX_CSTRING("nme_tilesheet_add_rect"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("drawTiles"), - HX_CSTRING("addTileRect"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("nmeBitmap"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Tilesheet_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_SCALE,"TILE_SCALE"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_ROTATION,"TILE_ROTATION"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_RGB,"TILE_RGB"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_ALPHA,"TILE_ALPHA"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_TRANS_2x2,"TILE_TRANS_2x2"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_BLEND_NORMAL,"TILE_BLEND_NORMAL"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_BLEND_ADD,"TILE_BLEND_ADD"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::nme_tilesheet_create,"nme_tilesheet_create"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::nme_tilesheet_add_rect,"nme_tilesheet_add_rect"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Tilesheet_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_SCALE,"TILE_SCALE"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_ROTATION,"TILE_ROTATION"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_RGB,"TILE_RGB"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_ALPHA,"TILE_ALPHA"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_TRANS_2x2,"TILE_TRANS_2x2"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_BLEND_NORMAL,"TILE_BLEND_NORMAL"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_BLEND_ADD,"TILE_BLEND_ADD"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::nme_tilesheet_create,"nme_tilesheet_create"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::nme_tilesheet_add_rect,"nme_tilesheet_add_rect"); -}; - -Class Tilesheet_obj::__mClass; - -void Tilesheet_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.Tilesheet"), hx::TCanCast< Tilesheet_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Tilesheet_obj::__boot() -{ - TILE_SCALE= (int)1; - TILE_ROTATION= (int)2; - TILE_RGB= (int)4; - TILE_ALPHA= (int)8; - TILE_TRANS_2x2= (int)16; - TILE_BLEND_NORMAL= (int)0; - TILE_BLEND_ADD= (int)65536; - nme_tilesheet_create= ::neash::Loader_obj::load(HX_CSTRING("nme_tilesheet_create"),(int)1); - nme_tilesheet_add_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_tilesheet_add_rect"),(int)3); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/TouchInfo.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/TouchInfo.cpp deleted file mode 100644 index 86a4616..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/TouchInfo.cpp +++ /dev/null @@ -1,118 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_TouchInfo -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace display{ - -Void TouchInfo_obj::__construct() -{ -HX_STACK_PUSH("TouchInfo::new","neash/display/Stage.hx",926); -{ - HX_STACK_LINE(926) - this->touchOverObjects = Array_obj< ::neash::display::InteractiveObject >::__new(); -} -; - return null(); -} - -TouchInfo_obj::~TouchInfo_obj() { } - -Dynamic TouchInfo_obj::__CreateEmpty() { return new TouchInfo_obj; } -hx::ObjectPtr< TouchInfo_obj > TouchInfo_obj::__new() -{ hx::ObjectPtr< TouchInfo_obj > result = new TouchInfo_obj(); - result->__construct(); - return result;} - -Dynamic TouchInfo_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TouchInfo_obj > result = new TouchInfo_obj(); - result->__construct(); - return result;} - - -TouchInfo_obj::TouchInfo_obj() -{ -} - -void TouchInfo_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TouchInfo); - HX_MARK_MEMBER_NAME(touchOverObjects,"touchOverObjects"); - HX_MARK_END_CLASS(); -} - -void TouchInfo_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(touchOverObjects,"touchOverObjects"); -} - -Dynamic TouchInfo_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 16: - if (HX_FIELD_EQ(inName,"touchOverObjects") ) { return touchOverObjects; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TouchInfo_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 16: - if (HX_FIELD_EQ(inName,"touchOverObjects") ) { touchOverObjects=inValue.Cast< Array< ::neash::display::InteractiveObject > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void TouchInfo_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("touchOverObjects")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("touchOverObjects"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TouchInfo_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TouchInfo_obj::__mClass,"__mClass"); -}; - -Class TouchInfo_obj::__mClass; - -void TouchInfo_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.TouchInfo"), hx::TCanCast< TouchInfo_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TouchInfo_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/TriangleCulling.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/TriangleCulling.cpp deleted file mode 100644 index 2548403..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/display/TriangleCulling.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_TriangleCulling -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::TriangleCulling TriangleCulling_obj::NEGATIVE; - -::neash::display::TriangleCulling TriangleCulling_obj::NONE; - -::neash::display::TriangleCulling TriangleCulling_obj::POSITIVE; - -HX_DEFINE_CREATE_ENUM(TriangleCulling_obj) - -int TriangleCulling_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("NEGATIVE")) return 2; - if (inName==HX_CSTRING("NONE")) return 1; - if (inName==HX_CSTRING("POSITIVE")) return 0; - return super::__FindIndex(inName); -} - -int TriangleCulling_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("NEGATIVE")) return 0; - if (inName==HX_CSTRING("NONE")) return 0; - if (inName==HX_CSTRING("POSITIVE")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic TriangleCulling_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("NEGATIVE")) return NEGATIVE; - if (inName==HX_CSTRING("NONE")) return NONE; - if (inName==HX_CSTRING("POSITIVE")) return POSITIVE; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("POSITIVE"), - HX_CSTRING("NONE"), - HX_CSTRING("NEGATIVE"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TriangleCulling_obj::NEGATIVE,"NEGATIVE"); - HX_MARK_MEMBER_NAME(TriangleCulling_obj::NONE,"NONE"); - HX_MARK_MEMBER_NAME(TriangleCulling_obj::POSITIVE,"POSITIVE"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TriangleCulling_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(TriangleCulling_obj::NEGATIVE,"NEGATIVE"); - HX_VISIT_MEMBER_NAME(TriangleCulling_obj::NONE,"NONE"); - HX_VISIT_MEMBER_NAME(TriangleCulling_obj::POSITIVE,"POSITIVE"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class TriangleCulling_obj::__mClass; - -Dynamic __Create_TriangleCulling_obj() { return new TriangleCulling_obj; } - -void TriangleCulling_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.TriangleCulling"), hx::TCanCast< TriangleCulling_obj >,sStaticFields,sMemberFields, - &__Create_TriangleCulling_obj, &__Create, - &super::__SGetClass(), &CreateTriangleCulling_obj, sMarkStatics, sVisitStatic); -} - -void TriangleCulling_obj::__boot() -{ -Static(NEGATIVE) = hx::CreateEnum< TriangleCulling_obj >(HX_CSTRING("NEGATIVE"),2); -Static(NONE) = hx::CreateEnum< TriangleCulling_obj >(HX_CSTRING("NONE"),1); -Static(POSITIVE) = hx::CreateEnum< TriangleCulling_obj >(HX_CSTRING("POSITIVE"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/errors/ArgumentError.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/errors/ArgumentError.cpp deleted file mode 100644 index b14fcc2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/errors/ArgumentError.cpp +++ /dev/null @@ -1,96 +0,0 @@ -#include - -#ifndef INCLUDED_neash_errors_ArgumentError -#include -#endif -#ifndef INCLUDED_neash_errors_Error -#include -#endif -namespace neash{ -namespace errors{ - -Void ArgumentError_obj::__construct(Dynamic inMessage,Dynamic id) -{ -HX_STACK_PUSH("ArgumentError::new","neash/errors/ArgumentError.hx",4); -{ - HX_STACK_LINE(4) - super::__construct(inMessage,id); -} -; - return null(); -} - -ArgumentError_obj::~ArgumentError_obj() { } - -Dynamic ArgumentError_obj::__CreateEmpty() { return new ArgumentError_obj; } -hx::ObjectPtr< ArgumentError_obj > ArgumentError_obj::__new(Dynamic inMessage,Dynamic id) -{ hx::ObjectPtr< ArgumentError_obj > result = new ArgumentError_obj(); - result->__construct(inMessage,id); - return result;} - -Dynamic ArgumentError_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ArgumentError_obj > result = new ArgumentError_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - - -ArgumentError_obj::ArgumentError_obj() -{ -} - -void ArgumentError_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ArgumentError); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ArgumentError_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ArgumentError_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic ArgumentError_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void ArgumentError_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ArgumentError_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ArgumentError_obj::__mClass,"__mClass"); -}; - -Class ArgumentError_obj::__mClass; - -void ArgumentError_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.errors.ArgumentError"), hx::TCanCast< ArgumentError_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ArgumentError_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace errors diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/errors/EOFError.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/errors/EOFError.cpp deleted file mode 100644 index 0789c0c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/errors/EOFError.cpp +++ /dev/null @@ -1,96 +0,0 @@ -#include - -#ifndef INCLUDED_neash_errors_EOFError -#include -#endif -#ifndef INCLUDED_neash_errors_Error -#include -#endif -namespace neash{ -namespace errors{ - -Void EOFError_obj::__construct() -{ -HX_STACK_PUSH("EOFError::new","neash/errors/EOFError.hx",8); -{ - HX_STACK_LINE(8) - super::__construct(HX_CSTRING("End of file was encountered"),(int)2030); -} -; - return null(); -} - -EOFError_obj::~EOFError_obj() { } - -Dynamic EOFError_obj::__CreateEmpty() { return new EOFError_obj; } -hx::ObjectPtr< EOFError_obj > EOFError_obj::__new() -{ hx::ObjectPtr< EOFError_obj > result = new EOFError_obj(); - result->__construct(); - return result;} - -Dynamic EOFError_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< EOFError_obj > result = new EOFError_obj(); - result->__construct(); - return result;} - - -EOFError_obj::EOFError_obj() -{ -} - -void EOFError_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(EOFError); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void EOFError_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic EOFError_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic EOFError_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void EOFError_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(EOFError_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(EOFError_obj::__mClass,"__mClass"); -}; - -Class EOFError_obj::__mClass; - -void EOFError_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.errors.EOFError"), hx::TCanCast< EOFError_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void EOFError_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace errors diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/errors/Error.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/errors/Error.cpp deleted file mode 100644 index 2e4b578..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/errors/Error.cpp +++ /dev/null @@ -1,150 +0,0 @@ -#include - -#ifndef INCLUDED_neash_errors_Error -#include -#endif -namespace neash{ -namespace errors{ - -Void Error_obj::__construct(Dynamic inMessage,Dynamic __o_id) -{ -HX_STACK_PUSH("Error::new","neash/errors/Error.hx",12); -Dynamic id = __o_id.Default(0); -{ - HX_STACK_LINE(13) - this->message = inMessage; - HX_STACK_LINE(14) - this->errorID = id; -} -; - return null(); -} - -Error_obj::~Error_obj() { } - -Dynamic Error_obj::__CreateEmpty() { return new Error_obj; } -hx::ObjectPtr< Error_obj > Error_obj::__new(Dynamic inMessage,Dynamic __o_id) -{ hx::ObjectPtr< Error_obj > result = new Error_obj(); - result->__construct(inMessage,__o_id); - return result;} - -Dynamic Error_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Error_obj > result = new Error_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::String Error_obj::toString( ){ - HX_STACK_PUSH("Error::toString","neash/errors/Error.hx",25); - HX_STACK_THIS(this); - HX_STACK_LINE(25) - return this->message; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Error_obj,toString,return ) - -::String Error_obj::getStackTrace( ){ - HX_STACK_PUSH("Error::getStackTrace","neash/errors/Error.hx",19); - HX_STACK_THIS(this); - HX_STACK_LINE(19) - return HX_CSTRING(""); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Error_obj,getStackTrace,return ) - - -Error_obj::Error_obj() -{ -} - -void Error_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Error); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_MEMBER_NAME(message,"message"); - HX_MARK_MEMBER_NAME(errorID,"errorID"); - HX_MARK_END_CLASS(); -} - -void Error_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(name,"name"); - HX_VISIT_MEMBER_NAME(message,"message"); - HX_VISIT_MEMBER_NAME(errorID,"errorID"); -} - -Dynamic Error_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 7: - if (HX_FIELD_EQ(inName,"message") ) { return message; } - if (HX_FIELD_EQ(inName,"errorID") ) { return errorID; } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"getStackTrace") ) { return getStackTrace_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Error_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< Dynamic >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"message") ) { message=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"errorID") ) { errorID=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Error_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("name")); - outFields->push(HX_CSTRING("message")); - outFields->push(HX_CSTRING("errorID")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("getStackTrace"), - HX_CSTRING("name"), - HX_CSTRING("message"), - HX_CSTRING("errorID"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Error_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Error_obj::__mClass,"__mClass"); -}; - -Class Error_obj::__mClass; - -void Error_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.errors.Error"), hx::TCanCast< Error_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Error_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace errors diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/errors/RangeError.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/errors/RangeError.cpp deleted file mode 100644 index ffe0838..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/errors/RangeError.cpp +++ /dev/null @@ -1,97 +0,0 @@ -#include - -#ifndef INCLUDED_neash_errors_Error -#include -#endif -#ifndef INCLUDED_neash_errors_RangeError -#include -#endif -namespace neash{ -namespace errors{ - -Void RangeError_obj::__construct(::String __o_inMessage) -{ -HX_STACK_PUSH("RangeError::new","neash/errors/RangeError.hx",8); -::String inMessage = __o_inMessage.Default(HX_CSTRING("")); -{ - HX_STACK_LINE(8) - super::__construct(inMessage,(int)0); -} -; - return null(); -} - -RangeError_obj::~RangeError_obj() { } - -Dynamic RangeError_obj::__CreateEmpty() { return new RangeError_obj; } -hx::ObjectPtr< RangeError_obj > RangeError_obj::__new(::String __o_inMessage) -{ hx::ObjectPtr< RangeError_obj > result = new RangeError_obj(); - result->__construct(__o_inMessage); - return result;} - -Dynamic RangeError_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< RangeError_obj > result = new RangeError_obj(); - result->__construct(inArgs[0]); - return result;} - - -RangeError_obj::RangeError_obj() -{ -} - -void RangeError_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(RangeError); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void RangeError_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic RangeError_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic RangeError_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void RangeError_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(RangeError_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(RangeError_obj::__mClass,"__mClass"); -}; - -Class RangeError_obj::__mClass; - -void RangeError_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.errors.RangeError"), hx::TCanCast< RangeError_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void RangeError_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace errors diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/ErrorEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/ErrorEvent.cpp deleted file mode 100644 index c431cd1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/ErrorEvent.cpp +++ /dev/null @@ -1,144 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_TextEvent -#include -#endif -namespace neash{ -namespace events{ - -Void ErrorEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id) -{ -HX_STACK_PUSH("ErrorEvent::new","neash/events/ErrorEvent.hx",11); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -::String text = __o_text.Default(HX_CSTRING("")); -int id = __o_id.Default(0); -{ - HX_STACK_LINE(12) - super::__construct(type,bubbles,cancelable,text); - HX_STACK_LINE(13) - this->errorID = id; -} -; - return null(); -} - -ErrorEvent_obj::~ErrorEvent_obj() { } - -Dynamic ErrorEvent_obj::__CreateEmpty() { return new ErrorEvent_obj; } -hx::ObjectPtr< ErrorEvent_obj > ErrorEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id) -{ hx::ObjectPtr< ErrorEvent_obj > result = new ErrorEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_text,__o_id); - return result;} - -Dynamic ErrorEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ErrorEvent_obj > result = new ErrorEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4]); - return result;} - -::String ErrorEvent_obj::toString( ){ - HX_STACK_PUSH("ErrorEvent::toString","neash/events/ErrorEvent.hx",24); - HX_STACK_THIS(this); - HX_STACK_LINE(24) - return ((((((((((HX_CSTRING("[ErrorEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" text=")) + this->text) + HX_CSTRING(" errorID=")) + this->errorID) + HX_CSTRING("]")); -} - - -::neash::events::Event ErrorEvent_obj::clone( ){ - HX_STACK_PUSH("ErrorEvent::clone","neash/events/ErrorEvent.hx",18); - HX_STACK_THIS(this); - HX_STACK_LINE(18) - return ::neash::events::ErrorEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->text,this->errorID); -} - - - -ErrorEvent_obj::ErrorEvent_obj() -{ -} - -void ErrorEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ErrorEvent); - HX_MARK_MEMBER_NAME(errorID,"errorID"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ErrorEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(errorID,"errorID"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ErrorEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"errorID") ) { return errorID; } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ErrorEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"errorID") ) { errorID=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ErrorEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("errorID")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("errorID"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ErrorEvent_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ErrorEvent_obj::__mClass,"__mClass"); -}; - -Class ErrorEvent_obj::__mClass; - -void ErrorEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.ErrorEvent"), hx::TCanCast< ErrorEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ErrorEvent_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/Event.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/Event.cpp deleted file mode 100644 index ad7071e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/Event.cpp +++ /dev/null @@ -1,665 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventPhase -#include -#endif -namespace neash{ -namespace events{ - -Void Event_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable) -{ -HX_STACK_PUSH("Event::new","neash/events/Event.hx",51); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -{ - HX_STACK_LINE(52) - this->_type = type; - HX_STACK_LINE(53) - this->_bubbles = bubbles; - HX_STACK_LINE(54) - this->_cancelable = cancelable; - HX_STACK_LINE(55) - this->nmeIsCancelled = false; - HX_STACK_LINE(56) - this->nmeIsCancelledNow = false; - HX_STACK_LINE(57) - this->_target = null(); - HX_STACK_LINE(58) - this->_currentTarget = null(); - HX_STACK_LINE(59) - this->_eventPhase = ::neash::events::EventPhase_obj::AT_TARGET; -} -; - return null(); -} - -Event_obj::~Event_obj() { } - -Dynamic Event_obj::__CreateEmpty() { return new Event_obj; } -hx::ObjectPtr< Event_obj > Event_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable) -{ hx::ObjectPtr< Event_obj > result = new Event_obj(); - result->__construct(type,__o_bubbles,__o_cancelable); - return result;} - -Dynamic Event_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Event_obj > result = new Event_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -::String Event_obj::nmeGetType( ){ - HX_STACK_PUSH("Event::nmeGetType","neash/events/Event.hx",120); - HX_STACK_THIS(this); - HX_STACK_LINE(120) - return this->_type; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetType,return ) - -Dynamic Event_obj::nmeSetTarget( Dynamic v){ - HX_STACK_PUSH("Event::nmeSetTarget","neash/events/Event.hx",119); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(119) - this->_target = v; - HX_STACK_LINE(119) - return v; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Event_obj,nmeSetTarget,return ) - -Dynamic Event_obj::nmeGetTarget( ){ - HX_STACK_PUSH("Event::nmeGetTarget","neash/events/Event.hx",118); - HX_STACK_THIS(this); - HX_STACK_LINE(118) - return this->_target; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetTarget,return ) - -int Event_obj::nmeGetEventPhase( ){ - HX_STACK_PUSH("Event::nmeGetEventPhase","neash/events/Event.hx",117); - HX_STACK_THIS(this); - HX_STACK_LINE(117) - return this->_eventPhase; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetEventPhase,return ) - -Dynamic Event_obj::nmeSetCurrentTarget( Dynamic v){ - HX_STACK_PUSH("Event::nmeSetCurrentTarget","neash/events/Event.hx",116); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(116) - this->_currentTarget = v; - HX_STACK_LINE(116) - return v; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Event_obj,nmeSetCurrentTarget,return ) - -Dynamic Event_obj::nmeGetCurrentTarget( ){ - HX_STACK_PUSH("Event::nmeGetCurrentTarget","neash/events/Event.hx",115); - HX_STACK_THIS(this); - HX_STACK_LINE(115) - return this->_currentTarget; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetCurrentTarget,return ) - -bool Event_obj::nmeGetCancelable( ){ - HX_STACK_PUSH("Event::nmeGetCancelable","neash/events/Event.hx",114); - HX_STACK_THIS(this); - HX_STACK_LINE(114) - return this->_cancelable; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetCancelable,return ) - -bool Event_obj::nmeGetBubbles( ){ - HX_STACK_PUSH("Event::nmeGetBubbles","neash/events/Event.hx",113); - HX_STACK_THIS(this); - HX_STACK_LINE(113) - return this->_bubbles; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetBubbles,return ) - -::String Event_obj::toString( ){ - HX_STACK_PUSH("Event::toString","neash/events/Event.hx",103); - HX_STACK_THIS(this); - HX_STACK_LINE(103) - return ((((((HX_CSTRING("[Event type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING("]")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,toString,return ) - -Void Event_obj::stopPropagation( ){ -{ - HX_STACK_PUSH("Event::stopPropagation","neash/events/Event.hx",96); - HX_STACK_THIS(this); - HX_STACK_LINE(96) - if ((this->nmeGetCancelable())){ - HX_STACK_LINE(98) - this->nmeIsCancelled = true; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,stopPropagation,(void)) - -Void Event_obj::stopImmediatePropagation( ){ -{ - HX_STACK_PUSH("Event::stopImmediatePropagation","neash/events/Event.hx",89); - HX_STACK_THIS(this); - HX_STACK_LINE(89) - if ((this->nmeGetCancelable())){ - HX_STACK_LINE(91) - this->nmeIsCancelledNow = this->nmeIsCancelled = true; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,stopImmediatePropagation,(void)) - -Void Event_obj::nmeSetPhase( int inPhase){ -{ - HX_STACK_PUSH("Event::nmeSetPhase","neash/events/Event.hx",82); - HX_STACK_THIS(this); - HX_STACK_ARG(inPhase,"inPhase"); - HX_STACK_LINE(82) - this->_eventPhase = inPhase; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Event_obj,nmeSetPhase,(void)) - -bool Event_obj::nmeGetIsCancelledNow( ){ - HX_STACK_PUSH("Event::nmeGetIsCancelledNow","neash/events/Event.hx",76); - HX_STACK_THIS(this); - HX_STACK_LINE(76) - return this->nmeIsCancelledNow; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetIsCancelledNow,return ) - -bool Event_obj::nmeGetIsCancelled( ){ - HX_STACK_PUSH("Event::nmeGetIsCancelled","neash/events/Event.hx",70); - HX_STACK_THIS(this); - HX_STACK_LINE(70) - return this->nmeIsCancelled; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetIsCancelled,return ) - -::neash::events::Event Event_obj::clone( ){ - HX_STACK_PUSH("Event::clone","neash/events/Event.hx",64); - HX_STACK_THIS(this); - HX_STACK_LINE(64) - return ::neash::events::Event_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,clone,return ) - -::String Event_obj::ACTIVATE; - -::String Event_obj::ADDED; - -::String Event_obj::ADDED_TO_STAGE; - -::String Event_obj::CANCEL; - -::String Event_obj::CHANGE; - -::String Event_obj::CLOSE; - -::String Event_obj::COMPLETE; - -::String Event_obj::CONNECT; - -::String Event_obj::DEACTIVATE; - -::String Event_obj::ENTER_FRAME; - -::String Event_obj::ID3; - -::String Event_obj::INIT; - -::String Event_obj::MOUSE_LEAVE; - -::String Event_obj::OPEN; - -::String Event_obj::REMOVED; - -::String Event_obj::REMOVED_FROM_STAGE; - -::String Event_obj::RENDER; - -::String Event_obj::RESIZE; - -::String Event_obj::SCROLL; - -::String Event_obj::SELECT; - -::String Event_obj::SOUND_COMPLETE; - -::String Event_obj::TAB_CHILDREN_CHANGE; - -::String Event_obj::TAB_ENABLED_CHANGE; - -::String Event_obj::TAB_INDEX_CHANGE; - -::String Event_obj::UNLOAD; - - -Event_obj::Event_obj() -{ -} - -void Event_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Event); - HX_MARK_MEMBER_NAME(nmeIsCancelledNow,"nmeIsCancelledNow"); - HX_MARK_MEMBER_NAME(nmeIsCancelled,"nmeIsCancelled"); - HX_MARK_MEMBER_NAME(_type,"_type"); - HX_MARK_MEMBER_NAME(_target,"_target"); - HX_MARK_MEMBER_NAME(_eventPhase,"_eventPhase"); - HX_MARK_MEMBER_NAME(_currentTarget,"_currentTarget"); - HX_MARK_MEMBER_NAME(_cancelable,"_cancelable"); - HX_MARK_MEMBER_NAME(_bubbles,"_bubbles"); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_MEMBER_NAME(target,"target"); - HX_MARK_MEMBER_NAME(eventPhase,"eventPhase"); - HX_MARK_MEMBER_NAME(currentTarget,"currentTarget"); - HX_MARK_MEMBER_NAME(cancelable,"cancelable"); - HX_MARK_MEMBER_NAME(bubbles,"bubbles"); - HX_MARK_END_CLASS(); -} - -void Event_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeIsCancelledNow,"nmeIsCancelledNow"); - HX_VISIT_MEMBER_NAME(nmeIsCancelled,"nmeIsCancelled"); - HX_VISIT_MEMBER_NAME(_type,"_type"); - HX_VISIT_MEMBER_NAME(_target,"_target"); - HX_VISIT_MEMBER_NAME(_eventPhase,"_eventPhase"); - HX_VISIT_MEMBER_NAME(_currentTarget,"_currentTarget"); - HX_VISIT_MEMBER_NAME(_cancelable,"_cancelable"); - HX_VISIT_MEMBER_NAME(_bubbles,"_bubbles"); - HX_VISIT_MEMBER_NAME(type,"type"); - HX_VISIT_MEMBER_NAME(target,"target"); - HX_VISIT_MEMBER_NAME(eventPhase,"eventPhase"); - HX_VISIT_MEMBER_NAME(currentTarget,"currentTarget"); - HX_VISIT_MEMBER_NAME(cancelable,"cancelable"); - HX_VISIT_MEMBER_NAME(bubbles,"bubbles"); -} - -Dynamic Event_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"ID3") ) { return ID3; } - break; - case 4: - if (HX_FIELD_EQ(inName,"INIT") ) { return INIT; } - if (HX_FIELD_EQ(inName,"OPEN") ) { return OPEN; } - if (HX_FIELD_EQ(inName,"type") ) { return inCallProp ? nmeGetType() : type; } - break; - case 5: - if (HX_FIELD_EQ(inName,"ADDED") ) { return ADDED; } - if (HX_FIELD_EQ(inName,"CLOSE") ) { return CLOSE; } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - if (HX_FIELD_EQ(inName,"_type") ) { return _type; } - break; - case 6: - if (HX_FIELD_EQ(inName,"CANCEL") ) { return CANCEL; } - if (HX_FIELD_EQ(inName,"CHANGE") ) { return CHANGE; } - if (HX_FIELD_EQ(inName,"RENDER") ) { return RENDER; } - if (HX_FIELD_EQ(inName,"RESIZE") ) { return RESIZE; } - if (HX_FIELD_EQ(inName,"SCROLL") ) { return SCROLL; } - if (HX_FIELD_EQ(inName,"SELECT") ) { return SELECT; } - if (HX_FIELD_EQ(inName,"UNLOAD") ) { return UNLOAD; } - if (HX_FIELD_EQ(inName,"target") ) { return inCallProp ? nmeGetTarget() : target; } - break; - case 7: - if (HX_FIELD_EQ(inName,"CONNECT") ) { return CONNECT; } - if (HX_FIELD_EQ(inName,"REMOVED") ) { return REMOVED; } - if (HX_FIELD_EQ(inName,"_target") ) { return _target; } - if (HX_FIELD_EQ(inName,"bubbles") ) { return inCallProp ? nmeGetBubbles() : bubbles; } - break; - case 8: - if (HX_FIELD_EQ(inName,"ACTIVATE") ) { return ACTIVATE; } - if (HX_FIELD_EQ(inName,"COMPLETE") ) { return COMPLETE; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"_bubbles") ) { return _bubbles; } - break; - case 10: - if (HX_FIELD_EQ(inName,"DEACTIVATE") ) { return DEACTIVATE; } - if (HX_FIELD_EQ(inName,"nmeGetType") ) { return nmeGetType_dyn(); } - if (HX_FIELD_EQ(inName,"eventPhase") ) { return inCallProp ? nmeGetEventPhase() : eventPhase; } - if (HX_FIELD_EQ(inName,"cancelable") ) { return inCallProp ? nmeGetCancelable() : cancelable; } - break; - case 11: - if (HX_FIELD_EQ(inName,"ENTER_FRAME") ) { return ENTER_FRAME; } - if (HX_FIELD_EQ(inName,"MOUSE_LEAVE") ) { return MOUSE_LEAVE; } - if (HX_FIELD_EQ(inName,"nmeSetPhase") ) { return nmeSetPhase_dyn(); } - if (HX_FIELD_EQ(inName,"_eventPhase") ) { return _eventPhase; } - if (HX_FIELD_EQ(inName,"_cancelable") ) { return _cancelable; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeSetTarget") ) { return nmeSetTarget_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTarget") ) { return nmeGetTarget_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"nmeGetBubbles") ) { return nmeGetBubbles_dyn(); } - if (HX_FIELD_EQ(inName,"currentTarget") ) { return inCallProp ? nmeGetCurrentTarget() : currentTarget; } - break; - case 14: - if (HX_FIELD_EQ(inName,"ADDED_TO_STAGE") ) { return ADDED_TO_STAGE; } - if (HX_FIELD_EQ(inName,"SOUND_COMPLETE") ) { return SOUND_COMPLETE; } - if (HX_FIELD_EQ(inName,"nmeIsCancelled") ) { return nmeIsCancelled; } - if (HX_FIELD_EQ(inName,"_currentTarget") ) { return _currentTarget; } - break; - case 15: - if (HX_FIELD_EQ(inName,"stopPropagation") ) { return stopPropagation_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"TAB_INDEX_CHANGE") ) { return TAB_INDEX_CHANGE; } - if (HX_FIELD_EQ(inName,"nmeGetEventPhase") ) { return nmeGetEventPhase_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetCancelable") ) { return nmeGetCancelable_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeGetIsCancelled") ) { return nmeGetIsCancelled_dyn(); } - if (HX_FIELD_EQ(inName,"nmeIsCancelledNow") ) { return nmeIsCancelledNow; } - break; - case 18: - if (HX_FIELD_EQ(inName,"REMOVED_FROM_STAGE") ) { return REMOVED_FROM_STAGE; } - if (HX_FIELD_EQ(inName,"TAB_ENABLED_CHANGE") ) { return TAB_ENABLED_CHANGE; } - break; - case 19: - if (HX_FIELD_EQ(inName,"TAB_CHILDREN_CHANGE") ) { return TAB_CHILDREN_CHANGE; } - if (HX_FIELD_EQ(inName,"nmeSetCurrentTarget") ) { return nmeSetCurrentTarget_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetCurrentTarget") ) { return nmeGetCurrentTarget_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeGetIsCancelledNow") ) { return nmeGetIsCancelledNow_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"stopImmediatePropagation") ) { return stopImmediatePropagation_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Event_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"ID3") ) { ID3=inValue.Cast< ::String >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"INIT") ) { INIT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"OPEN") ) { OPEN=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"ADDED") ) { ADDED=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"CLOSE") ) { CLOSE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_type") ) { _type=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"CANCEL") ) { CANCEL=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"CHANGE") ) { CHANGE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"RENDER") ) { RENDER=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"RESIZE") ) { RESIZE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"SCROLL") ) { SCROLL=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"SELECT") ) { SELECT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"UNLOAD") ) { UNLOAD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"target") ) { if (inCallProp) return nmeSetTarget(inValue);target=inValue.Cast< Dynamic >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"CONNECT") ) { CONNECT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"REMOVED") ) { REMOVED=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_target") ) { _target=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"bubbles") ) { bubbles=inValue.Cast< bool >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"ACTIVATE") ) { ACTIVATE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"COMPLETE") ) { COMPLETE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_bubbles") ) { _bubbles=inValue.Cast< bool >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"DEACTIVATE") ) { DEACTIVATE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"eventPhase") ) { eventPhase=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"cancelable") ) { cancelable=inValue.Cast< bool >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"ENTER_FRAME") ) { ENTER_FRAME=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MOUSE_LEAVE") ) { MOUSE_LEAVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_eventPhase") ) { _eventPhase=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"_cancelable") ) { _cancelable=inValue.Cast< bool >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"currentTarget") ) { if (inCallProp) return nmeSetCurrentTarget(inValue);currentTarget=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"ADDED_TO_STAGE") ) { ADDED_TO_STAGE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"SOUND_COMPLETE") ) { SOUND_COMPLETE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeIsCancelled") ) { nmeIsCancelled=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"_currentTarget") ) { _currentTarget=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"TAB_INDEX_CHANGE") ) { TAB_INDEX_CHANGE=inValue.Cast< ::String >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeIsCancelledNow") ) { nmeIsCancelledNow=inValue.Cast< bool >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"REMOVED_FROM_STAGE") ) { REMOVED_FROM_STAGE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TAB_ENABLED_CHANGE") ) { TAB_ENABLED_CHANGE=inValue.Cast< ::String >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"TAB_CHILDREN_CHANGE") ) { TAB_CHILDREN_CHANGE=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Event_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeIsCancelledNow")); - outFields->push(HX_CSTRING("nmeIsCancelled")); - outFields->push(HX_CSTRING("_type")); - outFields->push(HX_CSTRING("_target")); - outFields->push(HX_CSTRING("_eventPhase")); - outFields->push(HX_CSTRING("_currentTarget")); - outFields->push(HX_CSTRING("_cancelable")); - outFields->push(HX_CSTRING("_bubbles")); - outFields->push(HX_CSTRING("type")); - outFields->push(HX_CSTRING("target")); - outFields->push(HX_CSTRING("eventPhase")); - outFields->push(HX_CSTRING("currentTarget")); - outFields->push(HX_CSTRING("cancelable")); - outFields->push(HX_CSTRING("bubbles")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("ACTIVATE"), - HX_CSTRING("ADDED"), - HX_CSTRING("ADDED_TO_STAGE"), - HX_CSTRING("CANCEL"), - HX_CSTRING("CHANGE"), - HX_CSTRING("CLOSE"), - HX_CSTRING("COMPLETE"), - HX_CSTRING("CONNECT"), - HX_CSTRING("DEACTIVATE"), - HX_CSTRING("ENTER_FRAME"), - HX_CSTRING("ID3"), - HX_CSTRING("INIT"), - HX_CSTRING("MOUSE_LEAVE"), - HX_CSTRING("OPEN"), - HX_CSTRING("REMOVED"), - HX_CSTRING("REMOVED_FROM_STAGE"), - HX_CSTRING("RENDER"), - HX_CSTRING("RESIZE"), - HX_CSTRING("SCROLL"), - HX_CSTRING("SELECT"), - HX_CSTRING("SOUND_COMPLETE"), - HX_CSTRING("TAB_CHILDREN_CHANGE"), - HX_CSTRING("TAB_ENABLED_CHANGE"), - HX_CSTRING("TAB_INDEX_CHANGE"), - HX_CSTRING("UNLOAD"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetType"), - HX_CSTRING("nmeSetTarget"), - HX_CSTRING("nmeGetTarget"), - HX_CSTRING("nmeGetEventPhase"), - HX_CSTRING("nmeSetCurrentTarget"), - HX_CSTRING("nmeGetCurrentTarget"), - HX_CSTRING("nmeGetCancelable"), - HX_CSTRING("nmeGetBubbles"), - HX_CSTRING("toString"), - HX_CSTRING("stopPropagation"), - HX_CSTRING("stopImmediatePropagation"), - HX_CSTRING("nmeSetPhase"), - HX_CSTRING("nmeGetIsCancelledNow"), - HX_CSTRING("nmeGetIsCancelled"), - HX_CSTRING("clone"), - HX_CSTRING("nmeIsCancelledNow"), - HX_CSTRING("nmeIsCancelled"), - HX_CSTRING("_type"), - HX_CSTRING("_target"), - HX_CSTRING("_eventPhase"), - HX_CSTRING("_currentTarget"), - HX_CSTRING("_cancelable"), - HX_CSTRING("_bubbles"), - HX_CSTRING("type"), - HX_CSTRING("target"), - HX_CSTRING("eventPhase"), - HX_CSTRING("currentTarget"), - HX_CSTRING("cancelable"), - HX_CSTRING("bubbles"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Event_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Event_obj::ACTIVATE,"ACTIVATE"); - HX_MARK_MEMBER_NAME(Event_obj::ADDED,"ADDED"); - HX_MARK_MEMBER_NAME(Event_obj::ADDED_TO_STAGE,"ADDED_TO_STAGE"); - HX_MARK_MEMBER_NAME(Event_obj::CANCEL,"CANCEL"); - HX_MARK_MEMBER_NAME(Event_obj::CHANGE,"CHANGE"); - HX_MARK_MEMBER_NAME(Event_obj::CLOSE,"CLOSE"); - HX_MARK_MEMBER_NAME(Event_obj::COMPLETE,"COMPLETE"); - HX_MARK_MEMBER_NAME(Event_obj::CONNECT,"CONNECT"); - HX_MARK_MEMBER_NAME(Event_obj::DEACTIVATE,"DEACTIVATE"); - HX_MARK_MEMBER_NAME(Event_obj::ENTER_FRAME,"ENTER_FRAME"); - HX_MARK_MEMBER_NAME(Event_obj::ID3,"ID3"); - HX_MARK_MEMBER_NAME(Event_obj::INIT,"INIT"); - HX_MARK_MEMBER_NAME(Event_obj::MOUSE_LEAVE,"MOUSE_LEAVE"); - HX_MARK_MEMBER_NAME(Event_obj::OPEN,"OPEN"); - HX_MARK_MEMBER_NAME(Event_obj::REMOVED,"REMOVED"); - HX_MARK_MEMBER_NAME(Event_obj::REMOVED_FROM_STAGE,"REMOVED_FROM_STAGE"); - HX_MARK_MEMBER_NAME(Event_obj::RENDER,"RENDER"); - HX_MARK_MEMBER_NAME(Event_obj::RESIZE,"RESIZE"); - HX_MARK_MEMBER_NAME(Event_obj::SCROLL,"SCROLL"); - HX_MARK_MEMBER_NAME(Event_obj::SELECT,"SELECT"); - HX_MARK_MEMBER_NAME(Event_obj::SOUND_COMPLETE,"SOUND_COMPLETE"); - HX_MARK_MEMBER_NAME(Event_obj::TAB_CHILDREN_CHANGE,"TAB_CHILDREN_CHANGE"); - HX_MARK_MEMBER_NAME(Event_obj::TAB_ENABLED_CHANGE,"TAB_ENABLED_CHANGE"); - HX_MARK_MEMBER_NAME(Event_obj::TAB_INDEX_CHANGE,"TAB_INDEX_CHANGE"); - HX_MARK_MEMBER_NAME(Event_obj::UNLOAD,"UNLOAD"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Event_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Event_obj::ACTIVATE,"ACTIVATE"); - HX_VISIT_MEMBER_NAME(Event_obj::ADDED,"ADDED"); - HX_VISIT_MEMBER_NAME(Event_obj::ADDED_TO_STAGE,"ADDED_TO_STAGE"); - HX_VISIT_MEMBER_NAME(Event_obj::CANCEL,"CANCEL"); - HX_VISIT_MEMBER_NAME(Event_obj::CHANGE,"CHANGE"); - HX_VISIT_MEMBER_NAME(Event_obj::CLOSE,"CLOSE"); - HX_VISIT_MEMBER_NAME(Event_obj::COMPLETE,"COMPLETE"); - HX_VISIT_MEMBER_NAME(Event_obj::CONNECT,"CONNECT"); - HX_VISIT_MEMBER_NAME(Event_obj::DEACTIVATE,"DEACTIVATE"); - HX_VISIT_MEMBER_NAME(Event_obj::ENTER_FRAME,"ENTER_FRAME"); - HX_VISIT_MEMBER_NAME(Event_obj::ID3,"ID3"); - HX_VISIT_MEMBER_NAME(Event_obj::INIT,"INIT"); - HX_VISIT_MEMBER_NAME(Event_obj::MOUSE_LEAVE,"MOUSE_LEAVE"); - HX_VISIT_MEMBER_NAME(Event_obj::OPEN,"OPEN"); - HX_VISIT_MEMBER_NAME(Event_obj::REMOVED,"REMOVED"); - HX_VISIT_MEMBER_NAME(Event_obj::REMOVED_FROM_STAGE,"REMOVED_FROM_STAGE"); - HX_VISIT_MEMBER_NAME(Event_obj::RENDER,"RENDER"); - HX_VISIT_MEMBER_NAME(Event_obj::RESIZE,"RESIZE"); - HX_VISIT_MEMBER_NAME(Event_obj::SCROLL,"SCROLL"); - HX_VISIT_MEMBER_NAME(Event_obj::SELECT,"SELECT"); - HX_VISIT_MEMBER_NAME(Event_obj::SOUND_COMPLETE,"SOUND_COMPLETE"); - HX_VISIT_MEMBER_NAME(Event_obj::TAB_CHILDREN_CHANGE,"TAB_CHILDREN_CHANGE"); - HX_VISIT_MEMBER_NAME(Event_obj::TAB_ENABLED_CHANGE,"TAB_ENABLED_CHANGE"); - HX_VISIT_MEMBER_NAME(Event_obj::TAB_INDEX_CHANGE,"TAB_INDEX_CHANGE"); - HX_VISIT_MEMBER_NAME(Event_obj::UNLOAD,"UNLOAD"); -}; - -Class Event_obj::__mClass; - -void Event_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.Event"), hx::TCanCast< Event_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Event_obj::__boot() -{ - ACTIVATE= HX_CSTRING("activate"); - ADDED= HX_CSTRING("added"); - ADDED_TO_STAGE= HX_CSTRING("addedToStage"); - CANCEL= HX_CSTRING("cancel"); - CHANGE= HX_CSTRING("change"); - CLOSE= HX_CSTRING("close"); - COMPLETE= HX_CSTRING("complete"); - CONNECT= HX_CSTRING("connect"); - DEACTIVATE= HX_CSTRING("deactivate"); - ENTER_FRAME= HX_CSTRING("enterFrame"); - ID3= HX_CSTRING("id3"); - INIT= HX_CSTRING("init"); - MOUSE_LEAVE= HX_CSTRING("mouseLeave"); - OPEN= HX_CSTRING("open"); - REMOVED= HX_CSTRING("removed"); - REMOVED_FROM_STAGE= HX_CSTRING("removedFromStage"); - RENDER= HX_CSTRING("render"); - RESIZE= HX_CSTRING("resize"); - SCROLL= HX_CSTRING("scroll"); - SELECT= HX_CSTRING("select"); - SOUND_COMPLETE= HX_CSTRING("soundComplete"); - TAB_CHILDREN_CHANGE= HX_CSTRING("tabChildrenChange"); - TAB_ENABLED_CHANGE= HX_CSTRING("tabEnabledChange"); - TAB_INDEX_CHANGE= HX_CSTRING("tabIndexChange"); - UNLOAD= HX_CSTRING("unload"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/EventDispatcher.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/EventDispatcher.cpp deleted file mode 100644 index f04782f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/EventDispatcher.cpp +++ /dev/null @@ -1,419 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_neash_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_EventPhase -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IOErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_Listener -#include -#endif -#ifndef INCLUDED_neash_events_TextEvent -#include -#endif -#ifndef INCLUDED_neash_utils_WeakRef -#include -#endif -namespace neash{ -namespace events{ - -Void EventDispatcher_obj::__construct(::neash::events::IEventDispatcher target) -{ -HX_STACK_PUSH("EventDispatcher::new","neash/events/EventDispatcher.hx",17); -{ - HX_STACK_LINE(18) - this->nmeTarget = ( (((target == null()))) ? ::neash::events::IEventDispatcher(hx::ObjectPtr(this)) : ::neash::events::IEventDispatcher(target) ); - HX_STACK_LINE(19) - this->nmeEventMap = null(); -} -; - return null(); -} - -EventDispatcher_obj::~EventDispatcher_obj() { } - -Dynamic EventDispatcher_obj::__CreateEmpty() { return new EventDispatcher_obj; } -hx::ObjectPtr< EventDispatcher_obj > EventDispatcher_obj::__new(::neash::events::IEventDispatcher target) -{ hx::ObjectPtr< EventDispatcher_obj > result = new EventDispatcher_obj(); - result->__construct(target); - return result;} - -Dynamic EventDispatcher_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< EventDispatcher_obj > result = new EventDispatcher_obj(); - result->__construct(inArgs[0]); - return result;} - -hx::Object *EventDispatcher_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::neash::events::IEventDispatcher_obj)) return operator ::neash::events::IEventDispatcher_obj *(); - return super::__ToInterface(inType); -} - -bool EventDispatcher_obj::willTrigger( ::String type){ - HX_STACK_PUSH("EventDispatcher::willTrigger","neash/events/EventDispatcher.hx",151); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_LINE(152) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(153) - return false; - } - HX_STACK_LINE(154) - return this->nmeEventMap->exists(type); -} - - -HX_DEFINE_DYNAMIC_FUNC1(EventDispatcher_obj,willTrigger,return ) - -::String EventDispatcher_obj::toString( ){ - HX_STACK_PUSH("EventDispatcher::toString","neash/events/EventDispatcher.hx",145); - HX_STACK_THIS(this); - HX_STACK_LINE(145) - return ((HX_CSTRING("[object ") + ::Type_obj::getClassName(::Type_obj::getClass(hx::ObjectPtr(this)))) + HX_CSTRING("]")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EventDispatcher_obj,toString,return ) - -Void EventDispatcher_obj::removeEventListener( ::String type,Dynamic listener,hx::Null< bool > __o_capture){ -bool capture = __o_capture.Default(false); - HX_STACK_PUSH("EventDispatcher::removeEventListener","neash/events/EventDispatcher.hx",121); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(listener,"listener"); - HX_STACK_ARG(capture,"capture"); -{ - HX_STACK_LINE(122) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(123) - return null(); - } - HX_STACK_LINE(125) - if ((!(this->nmeEventMap->exists(type)))){ - HX_STACK_LINE(125) - return null(); - } - HX_STACK_LINE(127) - Array< ::neash::utils::WeakRef > list = this->nmeEventMap->get(type); HX_STACK_VAR(list,"list"); - HX_STACK_LINE(128) - { - HX_STACK_LINE(128) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = list->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(128) - while(((_g1 < _g))){ - HX_STACK_LINE(128) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(130) - if (((list->__get(i) != null()))){ - HX_STACK_LINE(132) - ::neash::events::Listener li = list->__get(i)->get(); HX_STACK_VAR(li,"li"); - HX_STACK_LINE(133) - if ((li->Is(listener,capture))){ - HX_STACK_LINE(136) - list[i] = null(); - HX_STACK_LINE(137) - return null(); - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(EventDispatcher_obj,removeEventListener,(void)) - -bool EventDispatcher_obj::hasEventListener( ::String type){ - HX_STACK_PUSH("EventDispatcher::hasEventListener","neash/events/EventDispatcher.hx",107); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_LINE(108) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(109) - return false; - } - HX_STACK_LINE(110) - Array< ::neash::utils::WeakRef > h = this->nmeEventMap->get(type); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(111) - if (((h != null()))){ - HX_STACK_LINE(112) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(112) - while(((_g < h->length))){ - HX_STACK_LINE(112) - ::neash::utils::WeakRef item = h->__get(_g); HX_STACK_VAR(item,"item"); - HX_STACK_LINE(112) - ++(_g); - HX_STACK_LINE(113) - if (((item != null()))){ - HX_STACK_LINE(113) - return true; - } - } - } - HX_STACK_LINE(116) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(EventDispatcher_obj,hasEventListener,return ) - -Void EventDispatcher_obj::DispatchIOErrorEvent( ){ -{ - HX_STACK_PUSH("EventDispatcher::DispatchIOErrorEvent","neash/events/EventDispatcher.hx",100); - HX_STACK_THIS(this); - HX_STACK_LINE(101) - ::neash::events::IOErrorEvent evt = ::neash::events::IOErrorEvent_obj::__new(::neash::events::IOErrorEvent_obj::IO_ERROR,null(),null(),null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(102) - this->dispatchEvent(evt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EventDispatcher_obj,DispatchIOErrorEvent,(void)) - -bool EventDispatcher_obj::dispatchEvent( ::neash::events::Event event){ - HX_STACK_PUSH("EventDispatcher::dispatchEvent","neash/events/EventDispatcher.hx",51); - HX_STACK_THIS(this); - HX_STACK_ARG(event,"event"); - HX_STACK_LINE(52) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(53) - return false; - } - HX_STACK_LINE(54) - if (((event->nmeGetTarget() == null()))){ - HX_STACK_LINE(55) - event->nmeSetTarget(this->nmeTarget); - } - HX_STACK_LINE(57) - if (((event->nmeGetCurrentTarget() == null()))){ - HX_STACK_LINE(58) - event->nmeSetCurrentTarget(this->nmeTarget); - } - HX_STACK_LINE(60) - Array< ::neash::utils::WeakRef > list = this->nmeEventMap->get(event->nmeGetType()); HX_STACK_VAR(list,"list"); - HX_STACK_LINE(61) - bool capture = (event->nmeGetEventPhase() == ::neash::events::EventPhase_obj::CAPTURING_PHASE); HX_STACK_VAR(capture,"capture"); - HX_STACK_LINE(63) - if (((list != null()))){ - HX_STACK_LINE(65) - int idx = (int)0; HX_STACK_VAR(idx,"idx"); - HX_STACK_LINE(66) - while(((idx < list->length))){ - HX_STACK_LINE(68) - ::neash::utils::WeakRef list_item = list->__get(idx); HX_STACK_VAR(list_item,"list_item"); - HX_STACK_LINE(69) - ::neash::events::Listener listener = ( (((list_item != null()))) ? ::neash::events::Listener(list_item->get()) : ::neash::events::Listener(null()) ); HX_STACK_VAR(listener,"listener"); - HX_STACK_LINE(71) - if (((listener == null()))){ - HX_STACK_LINE(72) - list->splice(idx,(int)1); - } - else{ - HX_STACK_LINE(78) - if (((listener->mUseCapture == capture))){ - HX_STACK_LINE(80) - listener->dispatchEvent(event); - HX_STACK_LINE(81) - if ((event->nmeGetIsCancelledNow())){ - HX_STACK_LINE(82) - return true; - } - } - HX_STACK_LINE(84) - (idx)++; - } - } - HX_STACK_LINE(88) - return true; - } - HX_STACK_LINE(91) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(EventDispatcher_obj,dispatchEvent,return ) - -Void EventDispatcher_obj::DispatchCompleteEvent( ){ -{ - HX_STACK_PUSH("EventDispatcher::DispatchCompleteEvent","neash/events/EventDispatcher.hx",44); - HX_STACK_THIS(this); - HX_STACK_LINE(45) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::Event_obj::COMPLETE,null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(46) - this->dispatchEvent(evt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EventDispatcher_obj,DispatchCompleteEvent,(void)) - -Void EventDispatcher_obj::addEventListener( ::String type,Dynamic listener,hx::Null< bool > __o_useCapture,hx::Null< int > __o_priority,hx::Null< bool > __o_useWeakReference){ -bool useCapture = __o_useCapture.Default(false); -int priority = __o_priority.Default(0); -bool useWeakReference = __o_useWeakReference.Default(false); - HX_STACK_PUSH("EventDispatcher::addEventListener","neash/events/EventDispatcher.hx",24); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(listener,"listener"); - HX_STACK_ARG(useCapture,"useCapture"); - HX_STACK_ARG(priority,"priority"); - HX_STACK_ARG(useWeakReference,"useWeakReference"); -{ - HX_STACK_LINE(25) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(26) - this->nmeEventMap = ::Hash_obj::__new(); - } - HX_STACK_LINE(27) - Array< ::neash::utils::WeakRef > list = this->nmeEventMap->get(type); HX_STACK_VAR(list,"list"); - HX_STACK_LINE(28) - if (((list == null()))){ - HX_STACK_LINE(30) - list = Array_obj< ::neash::utils::WeakRef >::__new(); - HX_STACK_LINE(31) - this->nmeEventMap->set(type,list); - } - HX_STACK_LINE(34) - ::neash::events::Listener l = ::neash::events::Listener_obj::__new(listener,useCapture,priority); HX_STACK_VAR(l,"l"); - HX_STACK_LINE(35) - list->push(::neash::utils::WeakRef_obj::__new(l,useWeakReference)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(EventDispatcher_obj,addEventListener,(void)) - - -EventDispatcher_obj::EventDispatcher_obj() -{ -} - -void EventDispatcher_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(EventDispatcher); - HX_MARK_MEMBER_NAME(nmeTarget,"nmeTarget"); - HX_MARK_MEMBER_NAME(nmeEventMap,"nmeEventMap"); - HX_MARK_END_CLASS(); -} - -void EventDispatcher_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeTarget,"nmeTarget"); - HX_VISIT_MEMBER_NAME(nmeEventMap,"nmeEventMap"); -} - -Dynamic EventDispatcher_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeTarget") ) { return nmeTarget; } - break; - case 11: - if (HX_FIELD_EQ(inName,"willTrigger") ) { return willTrigger_dyn(); } - if (HX_FIELD_EQ(inName,"nmeEventMap") ) { return nmeEventMap; } - break; - case 13: - if (HX_FIELD_EQ(inName,"dispatchEvent") ) { return dispatchEvent_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"hasEventListener") ) { return hasEventListener_dyn(); } - if (HX_FIELD_EQ(inName,"addEventListener") ) { return addEventListener_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"removeEventListener") ) { return removeEventListener_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"DispatchIOErrorEvent") ) { return DispatchIOErrorEvent_dyn(); } - break; - case 21: - if (HX_FIELD_EQ(inName,"DispatchCompleteEvent") ) { return DispatchCompleteEvent_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic EventDispatcher_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"nmeTarget") ) { nmeTarget=inValue.Cast< ::neash::events::IEventDispatcher >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeEventMap") ) { nmeEventMap=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void EventDispatcher_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeTarget")); - outFields->push(HX_CSTRING("nmeEventMap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("willTrigger"), - HX_CSTRING("toString"), - HX_CSTRING("removeEventListener"), - HX_CSTRING("hasEventListener"), - HX_CSTRING("DispatchIOErrorEvent"), - HX_CSTRING("dispatchEvent"), - HX_CSTRING("DispatchCompleteEvent"), - HX_CSTRING("addEventListener"), - HX_CSTRING("nmeTarget"), - HX_CSTRING("nmeEventMap"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(EventDispatcher_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(EventDispatcher_obj::__mClass,"__mClass"); -}; - -Class EventDispatcher_obj::__mClass; - -void EventDispatcher_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.EventDispatcher"), hx::TCanCast< EventDispatcher_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void EventDispatcher_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/EventPhase.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/EventPhase.cpp deleted file mode 100644 index 396cb87..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/EventPhase.cpp +++ /dev/null @@ -1,123 +0,0 @@ -#include - -#ifndef INCLUDED_neash_events_EventPhase -#include -#endif -namespace neash{ -namespace events{ - -Void EventPhase_obj::__construct() -{ - return null(); -} - -EventPhase_obj::~EventPhase_obj() { } - -Dynamic EventPhase_obj::__CreateEmpty() { return new EventPhase_obj; } -hx::ObjectPtr< EventPhase_obj > EventPhase_obj::__new() -{ hx::ObjectPtr< EventPhase_obj > result = new EventPhase_obj(); - result->__construct(); - return result;} - -Dynamic EventPhase_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< EventPhase_obj > result = new EventPhase_obj(); - result->__construct(); - return result;} - -int EventPhase_obj::CAPTURING_PHASE; - -int EventPhase_obj::AT_TARGET; - -int EventPhase_obj::BUBBLING_PHASE; - - -EventPhase_obj::EventPhase_obj() -{ -} - -void EventPhase_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(EventPhase); - HX_MARK_END_CLASS(); -} - -void EventPhase_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic EventPhase_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"AT_TARGET") ) { return AT_TARGET; } - break; - case 14: - if (HX_FIELD_EQ(inName,"BUBBLING_PHASE") ) { return BUBBLING_PHASE; } - break; - case 15: - if (HX_FIELD_EQ(inName,"CAPTURING_PHASE") ) { return CAPTURING_PHASE; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic EventPhase_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"AT_TARGET") ) { AT_TARGET=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"BUBBLING_PHASE") ) { BUBBLING_PHASE=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"CAPTURING_PHASE") ) { CAPTURING_PHASE=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void EventPhase_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("CAPTURING_PHASE"), - HX_CSTRING("AT_TARGET"), - HX_CSTRING("BUBBLING_PHASE"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(EventPhase_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(EventPhase_obj::CAPTURING_PHASE,"CAPTURING_PHASE"); - HX_MARK_MEMBER_NAME(EventPhase_obj::AT_TARGET,"AT_TARGET"); - HX_MARK_MEMBER_NAME(EventPhase_obj::BUBBLING_PHASE,"BUBBLING_PHASE"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(EventPhase_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(EventPhase_obj::CAPTURING_PHASE,"CAPTURING_PHASE"); - HX_VISIT_MEMBER_NAME(EventPhase_obj::AT_TARGET,"AT_TARGET"); - HX_VISIT_MEMBER_NAME(EventPhase_obj::BUBBLING_PHASE,"BUBBLING_PHASE"); -}; - -Class EventPhase_obj::__mClass; - -void EventPhase_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.EventPhase"), hx::TCanCast< EventPhase_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void EventPhase_obj::__boot() -{ - CAPTURING_PHASE= (int)0; - AT_TARGET= (int)1; - BUBBLING_PHASE= (int)2; -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/FocusEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/FocusEvent.cpp deleted file mode 100644 index fe200e0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/FocusEvent.cpp +++ /dev/null @@ -1,223 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_FocusEvent -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace events{ - -Void FocusEvent_obj::__construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_shiftKey,hx::Null< int > __o_keyCode,::String __o_direction) -{ -HX_STACK_PUSH("FocusEvent::new","neash/events/FocusEvent.hx",21); -bool bubbles = __o_bubbles.Default(true); -bool cancelable = __o_cancelable.Default(false); -bool shiftKey = __o_shiftKey.Default(false); -int keyCode = __o_keyCode.Default(0); -::String direction = __o_direction.Default(HX_CSTRING("none")); -{ - HX_STACK_LINE(22) - super::__construct(inType,bubbles,cancelable); - HX_STACK_LINE(23) - this->relatedObject = relatedObject; - HX_STACK_LINE(24) - this->keyCode = keyCode; - HX_STACK_LINE(25) - this->shiftKey = shiftKey; -} -; - return null(); -} - -FocusEvent_obj::~FocusEvent_obj() { } - -Dynamic FocusEvent_obj::__CreateEmpty() { return new FocusEvent_obj; } -hx::ObjectPtr< FocusEvent_obj > FocusEvent_obj::__new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_shiftKey,hx::Null< int > __o_keyCode,::String __o_direction) -{ hx::ObjectPtr< FocusEvent_obj > result = new FocusEvent_obj(); - result->__construct(inType,__o_bubbles,__o_cancelable,relatedObject,__o_shiftKey,__o_keyCode,__o_direction); - return result;} - -Dynamic FocusEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< FocusEvent_obj > result = new FocusEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6]); - return result;} - -::String FocusEvent_obj::toString( ){ - HX_STACK_PUSH("FocusEvent::toString","neash/events/FocusEvent.hx",36); - HX_STACK_THIS(this); - HX_STACK_LINE(36) - return ((((((((((((HX_CSTRING("[FocusEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" relatedObject=")) + ::Std_obj::string(this->relatedObject)) + HX_CSTRING(" shiftKey=")) + ::Std_obj::string(this->shiftKey)) + HX_CSTRING(" keyCode=")) + this->keyCode) + HX_CSTRING("]")); -} - - -::neash::events::Event FocusEvent_obj::clone( ){ - HX_STACK_PUSH("FocusEvent::clone","neash/events/FocusEvent.hx",30); - HX_STACK_THIS(this); - HX_STACK_LINE(30) - return ::neash::events::FocusEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->relatedObject,this->shiftKey,this->keyCode,null()); -} - - -::String FocusEvent_obj::FOCUS_IN; - -::String FocusEvent_obj::FOCUS_OUT; - -::String FocusEvent_obj::KEY_FOCUS_CHANGE; - -::String FocusEvent_obj::MOUSE_FOCUS_CHANGE; - - -FocusEvent_obj::FocusEvent_obj() -{ -} - -void FocusEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(FocusEvent); - HX_MARK_MEMBER_NAME(shiftKey,"shiftKey"); - HX_MARK_MEMBER_NAME(relatedObject,"relatedObject"); - HX_MARK_MEMBER_NAME(keyCode,"keyCode"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void FocusEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(shiftKey,"shiftKey"); - HX_VISIT_MEMBER_NAME(relatedObject,"relatedObject"); - HX_VISIT_MEMBER_NAME(keyCode,"keyCode"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic FocusEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"keyCode") ) { return keyCode; } - break; - case 8: - if (HX_FIELD_EQ(inName,"FOCUS_IN") ) { return FOCUS_IN; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"shiftKey") ) { return shiftKey; } - break; - case 9: - if (HX_FIELD_EQ(inName,"FOCUS_OUT") ) { return FOCUS_OUT; } - break; - case 13: - if (HX_FIELD_EQ(inName,"relatedObject") ) { return relatedObject; } - break; - case 16: - if (HX_FIELD_EQ(inName,"KEY_FOCUS_CHANGE") ) { return KEY_FOCUS_CHANGE; } - break; - case 18: - if (HX_FIELD_EQ(inName,"MOUSE_FOCUS_CHANGE") ) { return MOUSE_FOCUS_CHANGE; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic FocusEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"keyCode") ) { keyCode=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"FOCUS_IN") ) { FOCUS_IN=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"shiftKey") ) { shiftKey=inValue.Cast< bool >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"FOCUS_OUT") ) { FOCUS_OUT=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"relatedObject") ) { relatedObject=inValue.Cast< ::neash::display::InteractiveObject >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"KEY_FOCUS_CHANGE") ) { KEY_FOCUS_CHANGE=inValue.Cast< ::String >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"MOUSE_FOCUS_CHANGE") ) { MOUSE_FOCUS_CHANGE=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void FocusEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("shiftKey")); - outFields->push(HX_CSTRING("relatedObject")); - outFields->push(HX_CSTRING("keyCode")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("FOCUS_IN"), - HX_CSTRING("FOCUS_OUT"), - HX_CSTRING("KEY_FOCUS_CHANGE"), - HX_CSTRING("MOUSE_FOCUS_CHANGE"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("shiftKey"), - HX_CSTRING("relatedObject"), - HX_CSTRING("keyCode"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FocusEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(FocusEvent_obj::FOCUS_IN,"FOCUS_IN"); - HX_MARK_MEMBER_NAME(FocusEvent_obj::FOCUS_OUT,"FOCUS_OUT"); - HX_MARK_MEMBER_NAME(FocusEvent_obj::KEY_FOCUS_CHANGE,"KEY_FOCUS_CHANGE"); - HX_MARK_MEMBER_NAME(FocusEvent_obj::MOUSE_FOCUS_CHANGE,"MOUSE_FOCUS_CHANGE"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FocusEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FocusEvent_obj::FOCUS_IN,"FOCUS_IN"); - HX_VISIT_MEMBER_NAME(FocusEvent_obj::FOCUS_OUT,"FOCUS_OUT"); - HX_VISIT_MEMBER_NAME(FocusEvent_obj::KEY_FOCUS_CHANGE,"KEY_FOCUS_CHANGE"); - HX_VISIT_MEMBER_NAME(FocusEvent_obj::MOUSE_FOCUS_CHANGE,"MOUSE_FOCUS_CHANGE"); -}; - -Class FocusEvent_obj::__mClass; - -void FocusEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.FocusEvent"), hx::TCanCast< FocusEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void FocusEvent_obj::__boot() -{ - FOCUS_IN= HX_CSTRING("focusIn"); - FOCUS_OUT= HX_CSTRING("focusOut"); - KEY_FOCUS_CHANGE= HX_CSTRING("keyFocusChange"); - MOUSE_FOCUS_CHANGE= HX_CSTRING("mouseFocusChange"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/HTTPStatusEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/HTTPStatusEvent.cpp deleted file mode 100644 index 75448c0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/HTTPStatusEvent.cpp +++ /dev/null @@ -1,152 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_HTTPStatusEvent -#include -#endif -namespace neash{ -namespace events{ - -Void HTTPStatusEvent_obj::__construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_status) -{ -HX_STACK_PUSH("HTTPStatusEvent::new","neash/events/HTTPStatusEvent.hx",12); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -int status = __o_status.Default(0); -{ - HX_STACK_LINE(13) - super::__construct(inType,bubbles,cancelable); - HX_STACK_LINE(14) - this->status = status; -} -; - return null(); -} - -HTTPStatusEvent_obj::~HTTPStatusEvent_obj() { } - -Dynamic HTTPStatusEvent_obj::__CreateEmpty() { return new HTTPStatusEvent_obj; } -hx::ObjectPtr< HTTPStatusEvent_obj > HTTPStatusEvent_obj::__new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_status) -{ hx::ObjectPtr< HTTPStatusEvent_obj > result = new HTTPStatusEvent_obj(); - result->__construct(inType,__o_bubbles,__o_cancelable,__o_status); - return result;} - -Dynamic HTTPStatusEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< HTTPStatusEvent_obj > result = new HTTPStatusEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -::String HTTPStatusEvent_obj::toString( ){ - HX_STACK_PUSH("HTTPStatusEvent::toString","neash/events/HTTPStatusEvent.hx",25); - HX_STACK_THIS(this); - HX_STACK_LINE(25) - return ((((((((HX_CSTRING("[HTTPStatusEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" status=")) + this->status) + HX_CSTRING("]")); -} - - -::neash::events::Event HTTPStatusEvent_obj::clone( ){ - HX_STACK_PUSH("HTTPStatusEvent::clone","neash/events/HTTPStatusEvent.hx",19); - HX_STACK_THIS(this); - HX_STACK_LINE(19) - return ::neash::events::HTTPStatusEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->status); -} - - -::String HTTPStatusEvent_obj::HTTP_STATUS; - - -HTTPStatusEvent_obj::HTTPStatusEvent_obj() -{ -} - -void HTTPStatusEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(HTTPStatusEvent); - HX_MARK_MEMBER_NAME(status,"status"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void HTTPStatusEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(status,"status"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic HTTPStatusEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"status") ) { return status; } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"HTTP_STATUS") ) { return HTTP_STATUS; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic HTTPStatusEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"status") ) { status=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"HTTP_STATUS") ) { HTTP_STATUS=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void HTTPStatusEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("status")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("HTTP_STATUS"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("status"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(HTTPStatusEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(HTTPStatusEvent_obj::HTTP_STATUS,"HTTP_STATUS"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(HTTPStatusEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(HTTPStatusEvent_obj::HTTP_STATUS,"HTTP_STATUS"); -}; - -Class HTTPStatusEvent_obj::__mClass; - -void HTTPStatusEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.HTTPStatusEvent"), hx::TCanCast< HTTPStatusEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void HTTPStatusEvent_obj::__boot() -{ - HTTP_STATUS= HX_CSTRING("httpStatus"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/IEventDispatcher.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/IEventDispatcher.cpp deleted file mode 100644 index cc1d4c6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/IEventDispatcher.cpp +++ /dev/null @@ -1,45 +0,0 @@ -#include - -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace events{ - -HX_DEFINE_DYNAMIC_FUNC1(IEventDispatcher_obj,willTrigger,return ) - -HX_DEFINE_DYNAMIC_FUNC3(IEventDispatcher_obj,removeEventListener,) - -HX_DEFINE_DYNAMIC_FUNC1(IEventDispatcher_obj,hasEventListener,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IEventDispatcher_obj,dispatchEvent,return ) - -HX_DEFINE_DYNAMIC_FUNC5(IEventDispatcher_obj,addEventListener,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IEventDispatcher_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IEventDispatcher_obj::__mClass,"__mClass"); -}; - -Class IEventDispatcher_obj::__mClass; - -void IEventDispatcher_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.IEventDispatcher"), hx::TCanCast< IEventDispatcher_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IEventDispatcher_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/IOErrorEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/IOErrorEvent.cpp deleted file mode 100644 index 321d423..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/IOErrorEvent.cpp +++ /dev/null @@ -1,145 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_IOErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_TextEvent -#include -#endif -namespace neash{ -namespace events{ - -Void IOErrorEvent_obj::__construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id) -{ -HX_STACK_PUSH("IOErrorEvent::new","neash/events/IOErrorEvent.hx",11); -bool bubbles = __o_bubbles.Default(true); -bool cancelable = __o_cancelable.Default(false); -::String text = __o_text.Default(HX_CSTRING("")); -int id = __o_id.Default(0); -{ - HX_STACK_LINE(11) - super::__construct(inType,bubbles,cancelable,text,id); -} -; - return null(); -} - -IOErrorEvent_obj::~IOErrorEvent_obj() { } - -Dynamic IOErrorEvent_obj::__CreateEmpty() { return new IOErrorEvent_obj; } -hx::ObjectPtr< IOErrorEvent_obj > IOErrorEvent_obj::__new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id) -{ hx::ObjectPtr< IOErrorEvent_obj > result = new IOErrorEvent_obj(); - result->__construct(inType,__o_bubbles,__o_cancelable,__o_text,__o_id); - return result;} - -Dynamic IOErrorEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< IOErrorEvent_obj > result = new IOErrorEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4]); - return result;} - -::String IOErrorEvent_obj::toString( ){ - HX_STACK_PUSH("IOErrorEvent::toString","neash/events/IOErrorEvent.hx",23); - HX_STACK_THIS(this); - HX_STACK_LINE(23) - return ((((((((((HX_CSTRING("[IOErrorEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" text=")) + this->text) + HX_CSTRING(" errorID=")) + this->errorID) + HX_CSTRING("]")); -} - - -::neash::events::Event IOErrorEvent_obj::clone( ){ - HX_STACK_PUSH("IOErrorEvent::clone","neash/events/IOErrorEvent.hx",17); - HX_STACK_THIS(this); - HX_STACK_LINE(17) - return ::neash::events::IOErrorEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->text,this->errorID); -} - - -::String IOErrorEvent_obj::IO_ERROR; - - -IOErrorEvent_obj::IOErrorEvent_obj() -{ -} - -void IOErrorEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(IOErrorEvent); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void IOErrorEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic IOErrorEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"IO_ERROR") ) { return IO_ERROR; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic IOErrorEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"IO_ERROR") ) { IO_ERROR=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void IOErrorEvent_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("IO_ERROR"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IOErrorEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(IOErrorEvent_obj::IO_ERROR,"IO_ERROR"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IOErrorEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(IOErrorEvent_obj::IO_ERROR,"IO_ERROR"); -}; - -Class IOErrorEvent_obj::__mClass; - -void IOErrorEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.IOErrorEvent"), hx::TCanCast< IOErrorEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IOErrorEvent_obj::__boot() -{ - IO_ERROR= HX_CSTRING("ioError"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/JoystickEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/JoystickEvent.cpp deleted file mode 100644 index efd3a6d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/JoystickEvent.cpp +++ /dev/null @@ -1,234 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_JoystickEvent -#include -#endif -namespace neash{ -namespace events{ - -Void JoystickEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_device,hx::Null< int > __o_id,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< Float > __o_z) -{ -HX_STACK_PUSH("JoystickEvent::new","neash/events/JoystickEvent.hx",21); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -int device = __o_device.Default(0); -int id = __o_id.Default(0); -Float x = __o_x.Default(0); -Float y = __o_y.Default(0); -Float z = __o_z.Default(0); -{ - HX_STACK_LINE(22) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(24) - this->device = device; - HX_STACK_LINE(25) - this->id = id; - HX_STACK_LINE(26) - this->x = x; - HX_STACK_LINE(27) - this->y = y; - HX_STACK_LINE(28) - this->z = z; -} -; - return null(); -} - -JoystickEvent_obj::~JoystickEvent_obj() { } - -Dynamic JoystickEvent_obj::__CreateEmpty() { return new JoystickEvent_obj; } -hx::ObjectPtr< JoystickEvent_obj > JoystickEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_device,hx::Null< int > __o_id,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< Float > __o_z) -{ hx::ObjectPtr< JoystickEvent_obj > result = new JoystickEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_device,__o_id,__o_x,__o_y,__o_z); - return result;} - -Dynamic JoystickEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< JoystickEvent_obj > result = new JoystickEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7]); - return result;} - -::String JoystickEvent_obj::toString( ){ - HX_STACK_PUSH("JoystickEvent::toString","neash/events/JoystickEvent.hx",39); - HX_STACK_THIS(this); - HX_STACK_LINE(39) - return ((((((((((((((((HX_CSTRING("[JoystickEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" device=")) + this->device) + HX_CSTRING(" id=")) + this->id) + HX_CSTRING(" x=")) + this->x) + HX_CSTRING(" y=")) + this->y) + HX_CSTRING(" z=")) + this->z) + HX_CSTRING("]")); -} - - -::neash::events::Event JoystickEvent_obj::clone( ){ - HX_STACK_PUSH("JoystickEvent::clone","neash/events/JoystickEvent.hx",33); - HX_STACK_THIS(this); - HX_STACK_LINE(33) - return ::neash::events::JoystickEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->device,this->id,this->x,this->y,this->z); -} - - -::String JoystickEvent_obj::AXIS_MOVE; - -::String JoystickEvent_obj::BALL_MOVE; - -::String JoystickEvent_obj::BUTTON_DOWN; - -::String JoystickEvent_obj::BUTTON_UP; - -::String JoystickEvent_obj::HAT_MOVE; - - -JoystickEvent_obj::JoystickEvent_obj() -{ -} - -void JoystickEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(JoystickEvent); - HX_MARK_MEMBER_NAME(z,"z"); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(id,"id"); - HX_MARK_MEMBER_NAME(device,"device"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void JoystickEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(z,"z"); - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(id,"id"); - HX_VISIT_MEMBER_NAME(device,"device"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic JoystickEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"z") ) { return z; } - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 2: - if (HX_FIELD_EQ(inName,"id") ) { return id; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"device") ) { return device; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HAT_MOVE") ) { return HAT_MOVE; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"AXIS_MOVE") ) { return AXIS_MOVE; } - if (HX_FIELD_EQ(inName,"BALL_MOVE") ) { return BALL_MOVE; } - if (HX_FIELD_EQ(inName,"BUTTON_UP") ) { return BUTTON_UP; } - break; - case 11: - if (HX_FIELD_EQ(inName,"BUTTON_DOWN") ) { return BUTTON_DOWN; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic JoystickEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"z") ) { z=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 2: - if (HX_FIELD_EQ(inName,"id") ) { id=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"device") ) { device=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HAT_MOVE") ) { HAT_MOVE=inValue.Cast< ::String >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"AXIS_MOVE") ) { AXIS_MOVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"BALL_MOVE") ) { BALL_MOVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"BUTTON_UP") ) { BUTTON_UP=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"BUTTON_DOWN") ) { BUTTON_DOWN=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void JoystickEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("z")); - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("id")); - outFields->push(HX_CSTRING("device")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("AXIS_MOVE"), - HX_CSTRING("BALL_MOVE"), - HX_CSTRING("BUTTON_DOWN"), - HX_CSTRING("BUTTON_UP"), - HX_CSTRING("HAT_MOVE"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("z"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("id"), - HX_CSTRING("device"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(JoystickEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::AXIS_MOVE,"AXIS_MOVE"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::BALL_MOVE,"BALL_MOVE"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::BUTTON_DOWN,"BUTTON_DOWN"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::BUTTON_UP,"BUTTON_UP"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::HAT_MOVE,"HAT_MOVE"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::AXIS_MOVE,"AXIS_MOVE"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::BALL_MOVE,"BALL_MOVE"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::BUTTON_DOWN,"BUTTON_DOWN"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::BUTTON_UP,"BUTTON_UP"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::HAT_MOVE,"HAT_MOVE"); -}; - -Class JoystickEvent_obj::__mClass; - -void JoystickEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.JoystickEvent"), hx::TCanCast< JoystickEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void JoystickEvent_obj::__boot() -{ - AXIS_MOVE= HX_CSTRING("axisMove"); - BALL_MOVE= HX_CSTRING("ballMove"); - BUTTON_DOWN= HX_CSTRING("buttonDown"); - BUTTON_UP= HX_CSTRING("buttonUp"); - HAT_MOVE= HX_CSTRING("hatMove"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/KeyboardEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/KeyboardEvent.cpp deleted file mode 100644 index ae5163c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/KeyboardEvent.cpp +++ /dev/null @@ -1,233 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_KeyboardEvent -#include -#endif -namespace neash{ -namespace events{ - -Void KeyboardEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_charCodeValue,hx::Null< int > __o_keyCodeValue,hx::Null< int > __o_keyLocationValue,hx::Null< bool > __o_ctrlKeyValue,hx::Null< bool > __o_altKeyValue,hx::Null< bool > __o_shiftKeyValue,hx::Null< bool > __o_controlKeyValue,hx::Null< bool > __o_commandKeyValue) -{ -HX_STACK_PUSH("KeyboardEvent::new","neash/events/KeyboardEvent.hx",21); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -int charCodeValue = __o_charCodeValue.Default(0); -int keyCodeValue = __o_keyCodeValue.Default(0); -int keyLocationValue = __o_keyLocationValue.Default(0); -bool ctrlKeyValue = __o_ctrlKeyValue.Default(false); -bool altKeyValue = __o_altKeyValue.Default(false); -bool shiftKeyValue = __o_shiftKeyValue.Default(false); -bool controlKeyValue = __o_controlKeyValue.Default(false); -bool commandKeyValue = __o_commandKeyValue.Default(false); -{ - HX_STACK_LINE(22) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(24) - this->keyCode = keyCodeValue; - HX_STACK_LINE(25) - this->keyLocation = keyLocationValue; - HX_STACK_LINE(26) - this->charCode = charCodeValue; - HX_STACK_LINE(28) - this->shiftKey = shiftKeyValue; - HX_STACK_LINE(29) - this->altKey = altKeyValue; - HX_STACK_LINE(30) - this->controlKey = controlKeyValue; - HX_STACK_LINE(31) - this->commandKey = commandKeyValue; - HX_STACK_LINE(32) - this->ctrlKey = (bool((bool(ctrlKeyValue) || bool(this->controlKey))) || bool(this->commandKey)); -} -; - return null(); -} - -KeyboardEvent_obj::~KeyboardEvent_obj() { } - -Dynamic KeyboardEvent_obj::__CreateEmpty() { return new KeyboardEvent_obj; } -hx::ObjectPtr< KeyboardEvent_obj > KeyboardEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_charCodeValue,hx::Null< int > __o_keyCodeValue,hx::Null< int > __o_keyLocationValue,hx::Null< bool > __o_ctrlKeyValue,hx::Null< bool > __o_altKeyValue,hx::Null< bool > __o_shiftKeyValue,hx::Null< bool > __o_controlKeyValue,hx::Null< bool > __o_commandKeyValue) -{ hx::ObjectPtr< KeyboardEvent_obj > result = new KeyboardEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_charCodeValue,__o_keyCodeValue,__o_keyLocationValue,__o_ctrlKeyValue,__o_altKeyValue,__o_shiftKeyValue,__o_controlKeyValue,__o_commandKeyValue); - return result;} - -Dynamic KeyboardEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< KeyboardEvent_obj > result = new KeyboardEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7],inArgs[8],inArgs[9],inArgs[10]); - return result;} - -::String KeyboardEvent_obj::toString( ){ - HX_STACK_PUSH("KeyboardEvent::toString","neash/events/KeyboardEvent.hx",43); - HX_STACK_THIS(this); - HX_STACK_LINE(43) - return ((((((((((((((((((HX_CSTRING("[KeyboardEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" charCode=")) + this->charCode) + HX_CSTRING(" keyCode=")) + this->keyCode) + HX_CSTRING(" keyLocation=")) + this->keyLocation) + HX_CSTRING(" ctrlKey=")) + ::Std_obj::string(this->ctrlKey)) + HX_CSTRING(" altKey=")) + ::Std_obj::string(this->altKey)) + HX_CSTRING(" shiftKey=")) + ::Std_obj::string(this->shiftKey)) + HX_CSTRING("]")); -} - - -::neash::events::Event KeyboardEvent_obj::clone( ){ - HX_STACK_PUSH("KeyboardEvent::clone","neash/events/KeyboardEvent.hx",37); - HX_STACK_THIS(this); - HX_STACK_LINE(37) - return ::neash::events::KeyboardEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->charCode,this->keyCode,this->keyLocation,this->ctrlKey,this->altKey,this->shiftKey,this->controlKey,this->commandKey); -} - - -::String KeyboardEvent_obj::KEY_DOWN; - -::String KeyboardEvent_obj::KEY_UP; - - -KeyboardEvent_obj::KeyboardEvent_obj() -{ -} - -void KeyboardEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(KeyboardEvent); - HX_MARK_MEMBER_NAME(shiftKey,"shiftKey"); - HX_MARK_MEMBER_NAME(keyLocation,"keyLocation"); - HX_MARK_MEMBER_NAME(keyCode,"keyCode"); - HX_MARK_MEMBER_NAME(commandKey,"commandKey"); - HX_MARK_MEMBER_NAME(controlKey,"controlKey"); - HX_MARK_MEMBER_NAME(ctrlKey,"ctrlKey"); - HX_MARK_MEMBER_NAME(charCode,"charCode"); - HX_MARK_MEMBER_NAME(altKey,"altKey"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void KeyboardEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(shiftKey,"shiftKey"); - HX_VISIT_MEMBER_NAME(keyLocation,"keyLocation"); - HX_VISIT_MEMBER_NAME(keyCode,"keyCode"); - HX_VISIT_MEMBER_NAME(commandKey,"commandKey"); - HX_VISIT_MEMBER_NAME(controlKey,"controlKey"); - HX_VISIT_MEMBER_NAME(ctrlKey,"ctrlKey"); - HX_VISIT_MEMBER_NAME(charCode,"charCode"); - HX_VISIT_MEMBER_NAME(altKey,"altKey"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic KeyboardEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"KEY_UP") ) { return KEY_UP; } - if (HX_FIELD_EQ(inName,"altKey") ) { return altKey; } - break; - case 7: - if (HX_FIELD_EQ(inName,"keyCode") ) { return keyCode; } - if (HX_FIELD_EQ(inName,"ctrlKey") ) { return ctrlKey; } - break; - case 8: - if (HX_FIELD_EQ(inName,"KEY_DOWN") ) { return KEY_DOWN; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"shiftKey") ) { return shiftKey; } - if (HX_FIELD_EQ(inName,"charCode") ) { return charCode; } - break; - case 10: - if (HX_FIELD_EQ(inName,"commandKey") ) { return commandKey; } - if (HX_FIELD_EQ(inName,"controlKey") ) { return controlKey; } - break; - case 11: - if (HX_FIELD_EQ(inName,"keyLocation") ) { return keyLocation; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic KeyboardEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"KEY_UP") ) { KEY_UP=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"altKey") ) { altKey=inValue.Cast< bool >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"keyCode") ) { keyCode=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ctrlKey") ) { ctrlKey=inValue.Cast< bool >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"KEY_DOWN") ) { KEY_DOWN=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"shiftKey") ) { shiftKey=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"charCode") ) { charCode=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"commandKey") ) { commandKey=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"controlKey") ) { controlKey=inValue.Cast< bool >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"keyLocation") ) { keyLocation=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void KeyboardEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("shiftKey")); - outFields->push(HX_CSTRING("keyLocation")); - outFields->push(HX_CSTRING("keyCode")); - outFields->push(HX_CSTRING("commandKey")); - outFields->push(HX_CSTRING("controlKey")); - outFields->push(HX_CSTRING("ctrlKey")); - outFields->push(HX_CSTRING("charCode")); - outFields->push(HX_CSTRING("altKey")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("KEY_DOWN"), - HX_CSTRING("KEY_UP"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("shiftKey"), - HX_CSTRING("keyLocation"), - HX_CSTRING("keyCode"), - HX_CSTRING("commandKey"), - HX_CSTRING("controlKey"), - HX_CSTRING("ctrlKey"), - HX_CSTRING("charCode"), - HX_CSTRING("altKey"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(KeyboardEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(KeyboardEvent_obj::KEY_DOWN,"KEY_DOWN"); - HX_MARK_MEMBER_NAME(KeyboardEvent_obj::KEY_UP,"KEY_UP"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(KeyboardEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(KeyboardEvent_obj::KEY_DOWN,"KEY_DOWN"); - HX_VISIT_MEMBER_NAME(KeyboardEvent_obj::KEY_UP,"KEY_UP"); -}; - -Class KeyboardEvent_obj::__mClass; - -void KeyboardEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.KeyboardEvent"), hx::TCanCast< KeyboardEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void KeyboardEvent_obj::__boot() -{ - KEY_DOWN= HX_CSTRING("keyDown"); - KEY_UP= HX_CSTRING("keyUp"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/Listener.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/Listener.cpp deleted file mode 100644 index 39d838f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/Listener.cpp +++ /dev/null @@ -1,190 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_Listener -#include -#endif -namespace neash{ -namespace events{ - -Void Listener_obj::__construct(Dynamic inListener,bool inUseCapture,int inPriority) -{ -HX_STACK_PUSH("Listener::new","neash/events/EventDispatcher.hx",172); -{ - HX_STACK_LINE(173) - this->mListner = inListener; - HX_STACK_LINE(174) - this->mUseCapture = inUseCapture; - HX_STACK_LINE(175) - this->mPriority = inPriority; - HX_STACK_LINE(176) - this->mID = (::neash::events::Listener_obj::sIDs)++; -} -; - return null(); -} - -Listener_obj::~Listener_obj() { } - -Dynamic Listener_obj::__CreateEmpty() { return new Listener_obj; } -hx::ObjectPtr< Listener_obj > Listener_obj::__new(Dynamic inListener,bool inUseCapture,int inPriority) -{ hx::ObjectPtr< Listener_obj > result = new Listener_obj(); - result->__construct(inListener,inUseCapture,inPriority); - return result;} - -Dynamic Listener_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Listener_obj > result = new Listener_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -bool Listener_obj::Is( Dynamic inListener,bool inCapture){ - HX_STACK_PUSH("Listener::Is","neash/events/EventDispatcher.hx",187); - HX_STACK_THIS(this); - HX_STACK_ARG(inListener,"inListener"); - HX_STACK_ARG(inCapture,"inCapture"); - HX_STACK_LINE(187) - return (bool(::Reflect_obj::compareMethods(this->mListner_dyn(),inListener)) && bool((this->mUseCapture == inCapture))); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Listener_obj,Is,return ) - -Void Listener_obj::dispatchEvent( ::neash::events::Event event){ -{ - HX_STACK_PUSH("Listener::dispatchEvent","neash/events/EventDispatcher.hx",181); - HX_STACK_THIS(this); - HX_STACK_ARG(event,"event"); - HX_STACK_LINE(181) - this->mListner(event); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Listener_obj,dispatchEvent,(void)) - -int Listener_obj::sIDs; - - -Listener_obj::Listener_obj() -{ -} - -void Listener_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Listener); - HX_MARK_MEMBER_NAME(mUseCapture,"mUseCapture"); - HX_MARK_MEMBER_NAME(mPriority,"mPriority"); - HX_MARK_MEMBER_NAME(mListner,"mListner"); - HX_MARK_MEMBER_NAME(mID,"mID"); - HX_MARK_END_CLASS(); -} - -void Listener_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mUseCapture,"mUseCapture"); - HX_VISIT_MEMBER_NAME(mPriority,"mPriority"); - HX_VISIT_MEMBER_NAME(mListner,"mListner"); - HX_VISIT_MEMBER_NAME(mID,"mID"); -} - -Dynamic Listener_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"Is") ) { return Is_dyn(); } - break; - case 3: - if (HX_FIELD_EQ(inName,"mID") ) { return mID; } - break; - case 4: - if (HX_FIELD_EQ(inName,"sIDs") ) { return sIDs; } - break; - case 8: - if (HX_FIELD_EQ(inName,"mListner") ) { return mListner; } - break; - case 9: - if (HX_FIELD_EQ(inName,"mPriority") ) { return mPriority; } - break; - case 11: - if (HX_FIELD_EQ(inName,"mUseCapture") ) { return mUseCapture; } - break; - case 13: - if (HX_FIELD_EQ(inName,"dispatchEvent") ) { return dispatchEvent_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Listener_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"mID") ) { mID=inValue.Cast< int >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"sIDs") ) { sIDs=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"mListner") ) { mListner=inValue.Cast< Dynamic >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"mPriority") ) { mPriority=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"mUseCapture") ) { mUseCapture=inValue.Cast< bool >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Listener_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mUseCapture")); - outFields->push(HX_CSTRING("mPriority")); - outFields->push(HX_CSTRING("mID")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("sIDs"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("Is"), - HX_CSTRING("dispatchEvent"), - HX_CSTRING("mUseCapture"), - HX_CSTRING("mPriority"), - HX_CSTRING("mListner"), - HX_CSTRING("mID"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Listener_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Listener_obj::sIDs,"sIDs"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Listener_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Listener_obj::sIDs,"sIDs"); -}; - -Class Listener_obj::__mClass; - -void Listener_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.Listener"), hx::TCanCast< Listener_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Listener_obj::__boot() -{ - sIDs= (int)1; -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/MouseEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/MouseEvent.cpp deleted file mode 100644 index eda17f7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/MouseEvent.cpp +++ /dev/null @@ -1,526 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_MouseEvent -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -namespace neash{ -namespace events{ - -Void MouseEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_localX,hx::Null< Float > __o_localY,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_ctrlKey,hx::Null< bool > __o_altKey,hx::Null< bool > __o_shiftKey,hx::Null< bool > __o_buttonDown,hx::Null< int > __o_delta,hx::Null< bool > __o_commandKey,hx::Null< int > __o_clickCount) -{ -HX_STACK_PUSH("MouseEvent::new","neash/events/MouseEvent.hx",49); -bool bubbles = __o_bubbles.Default(true); -bool cancelable = __o_cancelable.Default(false); -Float localX = __o_localX.Default(0); -Float localY = __o_localY.Default(0); -bool ctrlKey = __o_ctrlKey.Default(false); -bool altKey = __o_altKey.Default(false); -bool shiftKey = __o_shiftKey.Default(false); -bool buttonDown = __o_buttonDown.Default(false); -int delta = __o_delta.Default(0); -bool commandKey = __o_commandKey.Default(false); -int clickCount = __o_clickCount.Default(0); -{ - HX_STACK_LINE(50) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(51) - this->localX = localX; - HX_STACK_LINE(52) - this->localY = localY; - HX_STACK_LINE(53) - this->relatedObject = relatedObject; - HX_STACK_LINE(54) - this->ctrlKey = ctrlKey; - HX_STACK_LINE(55) - this->altKey = altKey; - HX_STACK_LINE(56) - this->shiftKey = shiftKey; - HX_STACK_LINE(57) - this->buttonDown = buttonDown; - HX_STACK_LINE(58) - this->delta = delta; - HX_STACK_LINE(59) - this->commandKey = commandKey; - HX_STACK_LINE(60) - this->clickCount = clickCount; -} -; - return null(); -} - -MouseEvent_obj::~MouseEvent_obj() { } - -Dynamic MouseEvent_obj::__CreateEmpty() { return new MouseEvent_obj; } -hx::ObjectPtr< MouseEvent_obj > MouseEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_localX,hx::Null< Float > __o_localY,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_ctrlKey,hx::Null< bool > __o_altKey,hx::Null< bool > __o_shiftKey,hx::Null< bool > __o_buttonDown,hx::Null< int > __o_delta,hx::Null< bool > __o_commandKey,hx::Null< int > __o_clickCount) -{ hx::ObjectPtr< MouseEvent_obj > result = new MouseEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_localX,__o_localY,relatedObject,__o_ctrlKey,__o_altKey,__o_shiftKey,__o_buttonDown,__o_delta,__o_commandKey,__o_clickCount); - return result;} - -Dynamic MouseEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< MouseEvent_obj > result = new MouseEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7],inArgs[8],inArgs[9],inArgs[10],inArgs[11],inArgs[12]); - return result;} - -Void MouseEvent_obj::updateAfterEvent( ){ -{ - HX_STACK_PUSH("MouseEvent::updateAfterEvent","neash/events/MouseEvent.hx",100); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(MouseEvent_obj,updateAfterEvent,(void)) - -::String MouseEvent_obj::toString( ){ - HX_STACK_PUSH("MouseEvent::toString","neash/events/MouseEvent.hx",94); - HX_STACK_THIS(this); - HX_STACK_LINE(94) - return ((((((((((((((((((((((HX_CSTRING("[MouseEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" localX=")) + this->localX) + HX_CSTRING(" localY=")) + this->localY) + HX_CSTRING(" relatedObject=")) + ::Std_obj::string(this->relatedObject)) + HX_CSTRING(" ctrlKey=")) + ::Std_obj::string(this->ctrlKey)) + HX_CSTRING(" altKey=")) + ::Std_obj::string(this->altKey)) + HX_CSTRING(" shiftKey=")) + ::Std_obj::string(this->shiftKey)) + HX_CSTRING(" buttonDown=")) + ::Std_obj::string(this->buttonDown)) + HX_CSTRING(" delta=")) + this->delta) + HX_CSTRING("]")); -} - - -::neash::events::MouseEvent MouseEvent_obj::nmeCreateSimilar( ::String inType,::neash::display::InteractiveObject related,::neash::display::InteractiveObject targ){ - HX_STACK_PUSH("MouseEvent::nmeCreateSimilar","neash/events/MouseEvent.hx",82); - HX_STACK_THIS(this); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(related,"related"); - HX_STACK_ARG(targ,"targ"); - HX_STACK_LINE(83) - ::neash::events::MouseEvent result = ::neash::events::MouseEvent_obj::__new(inType,this->nmeGetBubbles(),this->nmeGetCancelable(),this->localX,this->localY,( (((related == null()))) ? ::neash::display::InteractiveObject(this->relatedObject) : ::neash::display::InteractiveObject(related) ),this->ctrlKey,this->altKey,this->shiftKey,this->buttonDown,this->delta,this->commandKey,this->clickCount); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(85) - result->stageX = this->stageX; - HX_STACK_LINE(86) - result->stageY = this->stageY; - HX_STACK_LINE(87) - if (((targ != null()))){ - HX_STACK_LINE(88) - result->nmeSetTarget(targ); - } - HX_STACK_LINE(89) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC3(MouseEvent_obj,nmeCreateSimilar,return ) - -::neash::events::Event MouseEvent_obj::clone( ){ - HX_STACK_PUSH("MouseEvent::clone","neash/events/MouseEvent.hx",65); - HX_STACK_THIS(this); - HX_STACK_LINE(65) - return ::neash::events::MouseEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->localX,this->localY,this->relatedObject,this->ctrlKey,this->altKey,this->shiftKey,this->buttonDown,this->delta,this->commandKey,this->clickCount); -} - - -::String MouseEvent_obj::DOUBLE_CLICK; - -::String MouseEvent_obj::CLICK; - -::String MouseEvent_obj::MIDDLE_CLICK; - -::String MouseEvent_obj::MIDDLE_MOUSE_DOWN; - -::String MouseEvent_obj::MIDDLE_MOUSE_UP; - -::String MouseEvent_obj::MOUSE_DOWN; - -::String MouseEvent_obj::MOUSE_MOVE; - -::String MouseEvent_obj::MOUSE_OUT; - -::String MouseEvent_obj::MOUSE_OVER; - -::String MouseEvent_obj::MOUSE_UP; - -::String MouseEvent_obj::MOUSE_WHEEL; - -::String MouseEvent_obj::RIGHT_CLICK; - -::String MouseEvent_obj::RIGHT_MOUSE_DOWN; - -::String MouseEvent_obj::RIGHT_MOUSE_UP; - -::String MouseEvent_obj::ROLL_OUT; - -::String MouseEvent_obj::ROLL_OVER; - -int MouseEvent_obj::efLeftDown; - -int MouseEvent_obj::efShiftDown; - -int MouseEvent_obj::efCtrlDown; - -int MouseEvent_obj::efAltDown; - -int MouseEvent_obj::efCommandDown; - -::neash::events::MouseEvent MouseEvent_obj::nmeCreate( ::String inType,Dynamic inEvent,::neash::geom::Point inLocal,::neash::display::InteractiveObject inTarget){ - HX_STACK_PUSH("MouseEvent::nmeCreate","neash/events/MouseEvent.hx",71); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inLocal,"inLocal"); - HX_STACK_ARG(inTarget,"inTarget"); - HX_STACK_LINE(72) - int flags = inEvent->__Field(HX_CSTRING("flags"),true); HX_STACK_VAR(flags,"flags"); - HX_STACK_LINE(73) - ::neash::events::MouseEvent evt = ::neash::events::MouseEvent_obj::__new(inType,true,false,inLocal->x,inLocal->y,null(),(((int(flags) & int(::neash::events::MouseEvent_obj::efCtrlDown))) != (int)0),(((int(flags) & int(::neash::events::MouseEvent_obj::efAltDown))) != (int)0),(((int(flags) & int(::neash::events::MouseEvent_obj::efShiftDown))) != (int)0),(((int(flags) & int(::neash::events::MouseEvent_obj::efLeftDown))) != (int)0),(int)0,null(),(int)0); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(74) - evt->stageX = inEvent->__Field(HX_CSTRING("x"),true); - HX_STACK_LINE(75) - evt->stageY = inEvent->__Field(HX_CSTRING("y"),true); - HX_STACK_LINE(76) - evt->nmeSetTarget(inTarget); - HX_STACK_LINE(77) - return evt; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(MouseEvent_obj,nmeCreate,return ) - - -MouseEvent_obj::MouseEvent_obj() -{ -} - -void MouseEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(MouseEvent); - HX_MARK_MEMBER_NAME(stageY,"stageY"); - HX_MARK_MEMBER_NAME(stageX,"stageX"); - HX_MARK_MEMBER_NAME(shiftKey,"shiftKey"); - HX_MARK_MEMBER_NAME(relatedObject,"relatedObject"); - HX_MARK_MEMBER_NAME(localY,"localY"); - HX_MARK_MEMBER_NAME(localX,"localX"); - HX_MARK_MEMBER_NAME(delta,"delta"); - HX_MARK_MEMBER_NAME(ctrlKey,"ctrlKey"); - HX_MARK_MEMBER_NAME(commandKey,"commandKey"); - HX_MARK_MEMBER_NAME(clickCount,"clickCount"); - HX_MARK_MEMBER_NAME(buttonDown,"buttonDown"); - HX_MARK_MEMBER_NAME(altKey,"altKey"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void MouseEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(stageY,"stageY"); - HX_VISIT_MEMBER_NAME(stageX,"stageX"); - HX_VISIT_MEMBER_NAME(shiftKey,"shiftKey"); - HX_VISIT_MEMBER_NAME(relatedObject,"relatedObject"); - HX_VISIT_MEMBER_NAME(localY,"localY"); - HX_VISIT_MEMBER_NAME(localX,"localX"); - HX_VISIT_MEMBER_NAME(delta,"delta"); - HX_VISIT_MEMBER_NAME(ctrlKey,"ctrlKey"); - HX_VISIT_MEMBER_NAME(commandKey,"commandKey"); - HX_VISIT_MEMBER_NAME(clickCount,"clickCount"); - HX_VISIT_MEMBER_NAME(buttonDown,"buttonDown"); - HX_VISIT_MEMBER_NAME(altKey,"altKey"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic MouseEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"CLICK") ) { return CLICK; } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - if (HX_FIELD_EQ(inName,"delta") ) { return delta; } - break; - case 6: - if (HX_FIELD_EQ(inName,"stageY") ) { return stageY; } - if (HX_FIELD_EQ(inName,"stageX") ) { return stageX; } - if (HX_FIELD_EQ(inName,"localY") ) { return localY; } - if (HX_FIELD_EQ(inName,"localX") ) { return localX; } - if (HX_FIELD_EQ(inName,"altKey") ) { return altKey; } - break; - case 7: - if (HX_FIELD_EQ(inName,"ctrlKey") ) { return ctrlKey; } - break; - case 8: - if (HX_FIELD_EQ(inName,"MOUSE_UP") ) { return MOUSE_UP; } - if (HX_FIELD_EQ(inName,"ROLL_OUT") ) { return ROLL_OUT; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"shiftKey") ) { return shiftKey; } - break; - case 9: - if (HX_FIELD_EQ(inName,"MOUSE_OUT") ) { return MOUSE_OUT; } - if (HX_FIELD_EQ(inName,"ROLL_OVER") ) { return ROLL_OVER; } - if (HX_FIELD_EQ(inName,"efAltDown") ) { return efAltDown; } - if (HX_FIELD_EQ(inName,"nmeCreate") ) { return nmeCreate_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"MOUSE_DOWN") ) { return MOUSE_DOWN; } - if (HX_FIELD_EQ(inName,"MOUSE_MOVE") ) { return MOUSE_MOVE; } - if (HX_FIELD_EQ(inName,"MOUSE_OVER") ) { return MOUSE_OVER; } - if (HX_FIELD_EQ(inName,"efLeftDown") ) { return efLeftDown; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { return efCtrlDown; } - if (HX_FIELD_EQ(inName,"commandKey") ) { return commandKey; } - if (HX_FIELD_EQ(inName,"clickCount") ) { return clickCount; } - if (HX_FIELD_EQ(inName,"buttonDown") ) { return buttonDown; } - break; - case 11: - if (HX_FIELD_EQ(inName,"MOUSE_WHEEL") ) { return MOUSE_WHEEL; } - if (HX_FIELD_EQ(inName,"RIGHT_CLICK") ) { return RIGHT_CLICK; } - if (HX_FIELD_EQ(inName,"efShiftDown") ) { return efShiftDown; } - break; - case 12: - if (HX_FIELD_EQ(inName,"DOUBLE_CLICK") ) { return DOUBLE_CLICK; } - if (HX_FIELD_EQ(inName,"MIDDLE_CLICK") ) { return MIDDLE_CLICK; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { return efCommandDown; } - if (HX_FIELD_EQ(inName,"relatedObject") ) { return relatedObject; } - break; - case 14: - if (HX_FIELD_EQ(inName,"RIGHT_MOUSE_UP") ) { return RIGHT_MOUSE_UP; } - break; - case 15: - if (HX_FIELD_EQ(inName,"MIDDLE_MOUSE_UP") ) { return MIDDLE_MOUSE_UP; } - break; - case 16: - if (HX_FIELD_EQ(inName,"RIGHT_MOUSE_DOWN") ) { return RIGHT_MOUSE_DOWN; } - if (HX_FIELD_EQ(inName,"updateAfterEvent") ) { return updateAfterEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeCreateSimilar") ) { return nmeCreateSimilar_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"MIDDLE_MOUSE_DOWN") ) { return MIDDLE_MOUSE_DOWN; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic MouseEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"CLICK") ) { CLICK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"delta") ) { delta=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"stageY") ) { stageY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"stageX") ) { stageX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"localY") ) { localY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"localX") ) { localX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"altKey") ) { altKey=inValue.Cast< bool >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"ctrlKey") ) { ctrlKey=inValue.Cast< bool >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"MOUSE_UP") ) { MOUSE_UP=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"ROLL_OUT") ) { ROLL_OUT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"shiftKey") ) { shiftKey=inValue.Cast< bool >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"MOUSE_OUT") ) { MOUSE_OUT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"ROLL_OVER") ) { ROLL_OVER=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"efAltDown") ) { efAltDown=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"MOUSE_DOWN") ) { MOUSE_DOWN=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MOUSE_MOVE") ) { MOUSE_MOVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MOUSE_OVER") ) { MOUSE_OVER=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"efLeftDown") ) { efLeftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { efCtrlDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"commandKey") ) { commandKey=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"clickCount") ) { clickCount=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"buttonDown") ) { buttonDown=inValue.Cast< bool >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"MOUSE_WHEEL") ) { MOUSE_WHEEL=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"RIGHT_CLICK") ) { RIGHT_CLICK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"efShiftDown") ) { efShiftDown=inValue.Cast< int >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"DOUBLE_CLICK") ) { DOUBLE_CLICK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MIDDLE_CLICK") ) { MIDDLE_CLICK=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { efCommandDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"relatedObject") ) { relatedObject=inValue.Cast< ::neash::display::InteractiveObject >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"RIGHT_MOUSE_UP") ) { RIGHT_MOUSE_UP=inValue.Cast< ::String >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"MIDDLE_MOUSE_UP") ) { MIDDLE_MOUSE_UP=inValue.Cast< ::String >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"RIGHT_MOUSE_DOWN") ) { RIGHT_MOUSE_DOWN=inValue.Cast< ::String >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"MIDDLE_MOUSE_DOWN") ) { MIDDLE_MOUSE_DOWN=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void MouseEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("stageY")); - outFields->push(HX_CSTRING("stageX")); - outFields->push(HX_CSTRING("shiftKey")); - outFields->push(HX_CSTRING("relatedObject")); - outFields->push(HX_CSTRING("localY")); - outFields->push(HX_CSTRING("localX")); - outFields->push(HX_CSTRING("delta")); - outFields->push(HX_CSTRING("ctrlKey")); - outFields->push(HX_CSTRING("commandKey")); - outFields->push(HX_CSTRING("clickCount")); - outFields->push(HX_CSTRING("buttonDown")); - outFields->push(HX_CSTRING("altKey")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("DOUBLE_CLICK"), - HX_CSTRING("CLICK"), - HX_CSTRING("MIDDLE_CLICK"), - HX_CSTRING("MIDDLE_MOUSE_DOWN"), - HX_CSTRING("MIDDLE_MOUSE_UP"), - HX_CSTRING("MOUSE_DOWN"), - HX_CSTRING("MOUSE_MOVE"), - HX_CSTRING("MOUSE_OUT"), - HX_CSTRING("MOUSE_OVER"), - HX_CSTRING("MOUSE_UP"), - HX_CSTRING("MOUSE_WHEEL"), - HX_CSTRING("RIGHT_CLICK"), - HX_CSTRING("RIGHT_MOUSE_DOWN"), - HX_CSTRING("RIGHT_MOUSE_UP"), - HX_CSTRING("ROLL_OUT"), - HX_CSTRING("ROLL_OVER"), - HX_CSTRING("efLeftDown"), - HX_CSTRING("efShiftDown"), - HX_CSTRING("efCtrlDown"), - HX_CSTRING("efAltDown"), - HX_CSTRING("efCommandDown"), - HX_CSTRING("nmeCreate"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("updateAfterEvent"), - HX_CSTRING("toString"), - HX_CSTRING("nmeCreateSimilar"), - HX_CSTRING("clone"), - HX_CSTRING("stageY"), - HX_CSTRING("stageX"), - HX_CSTRING("shiftKey"), - HX_CSTRING("relatedObject"), - HX_CSTRING("localY"), - HX_CSTRING("localX"), - HX_CSTRING("delta"), - HX_CSTRING("ctrlKey"), - HX_CSTRING("commandKey"), - HX_CSTRING("clickCount"), - HX_CSTRING("buttonDown"), - HX_CSTRING("altKey"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(MouseEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::DOUBLE_CLICK,"DOUBLE_CLICK"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::CLICK,"CLICK"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MIDDLE_CLICK,"MIDDLE_CLICK"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MIDDLE_MOUSE_DOWN,"MIDDLE_MOUSE_DOWN"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MIDDLE_MOUSE_UP,"MIDDLE_MOUSE_UP"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_DOWN,"MOUSE_DOWN"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_MOVE,"MOUSE_MOVE"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_OUT,"MOUSE_OUT"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_OVER,"MOUSE_OVER"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_UP,"MOUSE_UP"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_WHEEL,"MOUSE_WHEEL"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::RIGHT_CLICK,"RIGHT_CLICK"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::RIGHT_MOUSE_DOWN,"RIGHT_MOUSE_DOWN"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::RIGHT_MOUSE_UP,"RIGHT_MOUSE_UP"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::ROLL_OUT,"ROLL_OUT"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::ROLL_OVER,"ROLL_OVER"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efLeftDown,"efLeftDown"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efShiftDown,"efShiftDown"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efCtrlDown,"efCtrlDown"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efAltDown,"efAltDown"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efCommandDown,"efCommandDown"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(MouseEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::DOUBLE_CLICK,"DOUBLE_CLICK"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::CLICK,"CLICK"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MIDDLE_CLICK,"MIDDLE_CLICK"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MIDDLE_MOUSE_DOWN,"MIDDLE_MOUSE_DOWN"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MIDDLE_MOUSE_UP,"MIDDLE_MOUSE_UP"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_DOWN,"MOUSE_DOWN"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_MOVE,"MOUSE_MOVE"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_OUT,"MOUSE_OUT"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_OVER,"MOUSE_OVER"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_UP,"MOUSE_UP"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_WHEEL,"MOUSE_WHEEL"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::RIGHT_CLICK,"RIGHT_CLICK"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::RIGHT_MOUSE_DOWN,"RIGHT_MOUSE_DOWN"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::RIGHT_MOUSE_UP,"RIGHT_MOUSE_UP"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::ROLL_OUT,"ROLL_OUT"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::ROLL_OVER,"ROLL_OVER"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efLeftDown,"efLeftDown"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efShiftDown,"efShiftDown"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efCtrlDown,"efCtrlDown"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efAltDown,"efAltDown"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efCommandDown,"efCommandDown"); -}; - -Class MouseEvent_obj::__mClass; - -void MouseEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.MouseEvent"), hx::TCanCast< MouseEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void MouseEvent_obj::__boot() -{ - DOUBLE_CLICK= HX_CSTRING("doubleClick"); - CLICK= HX_CSTRING("click"); - MIDDLE_CLICK= HX_CSTRING("middleClick"); - MIDDLE_MOUSE_DOWN= HX_CSTRING("middleMouseDown"); - MIDDLE_MOUSE_UP= HX_CSTRING("middleMouseUp"); - MOUSE_DOWN= HX_CSTRING("mouseDown"); - MOUSE_MOVE= HX_CSTRING("mouseMove"); - MOUSE_OUT= HX_CSTRING("mouseOut"); - MOUSE_OVER= HX_CSTRING("mouseOver"); - MOUSE_UP= HX_CSTRING("mouseUp"); - MOUSE_WHEEL= HX_CSTRING("mouseWheel"); - RIGHT_CLICK= HX_CSTRING("rightClick"); - RIGHT_MOUSE_DOWN= HX_CSTRING("rightMouseDown"); - RIGHT_MOUSE_UP= HX_CSTRING("rightMouseUp"); - ROLL_OUT= HX_CSTRING("rollOut"); - ROLL_OVER= HX_CSTRING("rollOver"); - efLeftDown= (int)1; - efShiftDown= (int)2; - efCtrlDown= (int)4; - efAltDown= (int)8; - efCommandDown= (int)16; -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/ProgressEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/ProgressEvent.cpp deleted file mode 100644 index f8e0cd2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/ProgressEvent.cpp +++ /dev/null @@ -1,171 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_ProgressEvent -#include -#endif -namespace neash{ -namespace events{ - -Void ProgressEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_bytesLoaded,hx::Null< int > __o_bytesTotal) -{ -HX_STACK_PUSH("ProgressEvent::new","neash/events/ProgressEvent.hx",15); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -int bytesLoaded = __o_bytesLoaded.Default(0); -int bytesTotal = __o_bytesTotal.Default(0); -{ - HX_STACK_LINE(16) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(17) - this->bytesLoaded = bytesLoaded; - HX_STACK_LINE(18) - this->bytesTotal = bytesTotal; -} -; - return null(); -} - -ProgressEvent_obj::~ProgressEvent_obj() { } - -Dynamic ProgressEvent_obj::__CreateEmpty() { return new ProgressEvent_obj; } -hx::ObjectPtr< ProgressEvent_obj > ProgressEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_bytesLoaded,hx::Null< int > __o_bytesTotal) -{ hx::ObjectPtr< ProgressEvent_obj > result = new ProgressEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_bytesLoaded,__o_bytesTotal); - return result;} - -Dynamic ProgressEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ProgressEvent_obj > result = new ProgressEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4]); - return result;} - -::String ProgressEvent_obj::toString( ){ - HX_STACK_PUSH("ProgressEvent::toString","neash/events/ProgressEvent.hx",29); - HX_STACK_THIS(this); - HX_STACK_LINE(29) - return ((((((((((HX_CSTRING("[ProgressEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" bytesLoaded=")) + this->bytesLoaded) + HX_CSTRING(" bytesTotal=")) + this->bytesTotal) + HX_CSTRING("]")); -} - - -::neash::events::Event ProgressEvent_obj::clone( ){ - HX_STACK_PUSH("ProgressEvent::clone","neash/events/ProgressEvent.hx",23); - HX_STACK_THIS(this); - HX_STACK_LINE(23) - return ::neash::events::ProgressEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->bytesLoaded,this->bytesTotal); -} - - -::String ProgressEvent_obj::PROGRESS; - -::String ProgressEvent_obj::SOCKET_DATA; - - -ProgressEvent_obj::ProgressEvent_obj() -{ -} - -void ProgressEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ProgressEvent); - HX_MARK_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_MARK_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ProgressEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_VISIT_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ProgressEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"PROGRESS") ) { return PROGRESS; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"bytesTotal") ) { return bytesTotal; } - break; - case 11: - if (HX_FIELD_EQ(inName,"SOCKET_DATA") ) { return SOCKET_DATA; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { return bytesLoaded; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ProgressEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"PROGRESS") ) { PROGRESS=inValue.Cast< ::String >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"bytesTotal") ) { bytesTotal=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"SOCKET_DATA") ) { SOCKET_DATA=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { bytesLoaded=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ProgressEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("bytesTotal")); - outFields->push(HX_CSTRING("bytesLoaded")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("PROGRESS"), - HX_CSTRING("SOCKET_DATA"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("bytesTotal"), - HX_CSTRING("bytesLoaded"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ProgressEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ProgressEvent_obj::PROGRESS,"PROGRESS"); - HX_MARK_MEMBER_NAME(ProgressEvent_obj::SOCKET_DATA,"SOCKET_DATA"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ProgressEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ProgressEvent_obj::PROGRESS,"PROGRESS"); - HX_VISIT_MEMBER_NAME(ProgressEvent_obj::SOCKET_DATA,"SOCKET_DATA"); -}; - -Class ProgressEvent_obj::__mClass; - -void ProgressEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.ProgressEvent"), hx::TCanCast< ProgressEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ProgressEvent_obj::__boot() -{ - PROGRESS= HX_CSTRING("progress"); - SOCKET_DATA= HX_CSTRING("socketData"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/SampleDataEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/SampleDataEvent.cpp deleted file mode 100644 index 998c46c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/SampleDataEvent.cpp +++ /dev/null @@ -1,172 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_SampleDataEvent -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace events{ - -Void SampleDataEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable) -{ -HX_STACK_PUSH("SampleDataEvent::new","neash/events/SampleDataEvent.hx",17); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -{ - HX_STACK_LINE(18) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(19) - this->data = ::neash::utils::ByteArray_obj::__new(null()); - HX_STACK_LINE(20) - this->data->bigEndian = false; - HX_STACK_LINE(21) - this->position = 0.0; -} -; - return null(); -} - -SampleDataEvent_obj::~SampleDataEvent_obj() { } - -Dynamic SampleDataEvent_obj::__CreateEmpty() { return new SampleDataEvent_obj; } -hx::ObjectPtr< SampleDataEvent_obj > SampleDataEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable) -{ hx::ObjectPtr< SampleDataEvent_obj > result = new SampleDataEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable); - return result;} - -Dynamic SampleDataEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SampleDataEvent_obj > result = new SampleDataEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -::String SampleDataEvent_obj::toString( ){ - HX_STACK_PUSH("SampleDataEvent::toString","neash/events/SampleDataEvent.hx",32); - HX_STACK_THIS(this); - HX_STACK_LINE(32) - return ((((((HX_CSTRING("[SampleDataEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING("]")); -} - - -::neash::events::Event SampleDataEvent_obj::clone( ){ - HX_STACK_PUSH("SampleDataEvent::clone","neash/events/SampleDataEvent.hx",26); - HX_STACK_THIS(this); - HX_STACK_LINE(26) - return ::neash::events::SampleDataEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable()); -} - - -::String SampleDataEvent_obj::SAMPLE_DATA; - - -SampleDataEvent_obj::SampleDataEvent_obj() -{ -} - -void SampleDataEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SampleDataEvent); - HX_MARK_MEMBER_NAME(position,"position"); - HX_MARK_MEMBER_NAME(data,"data"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void SampleDataEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(position,"position"); - HX_VISIT_MEMBER_NAME(data,"data"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic SampleDataEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"data") ) { return data; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"position") ) { return position; } - break; - case 11: - if (HX_FIELD_EQ(inName,"SAMPLE_DATA") ) { return SAMPLE_DATA; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SampleDataEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"data") ) { data=inValue.Cast< ::neash::utils::ByteArray >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"position") ) { position=inValue.Cast< Float >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"SAMPLE_DATA") ) { SAMPLE_DATA=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SampleDataEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("position")); - outFields->push(HX_CSTRING("data")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("SAMPLE_DATA"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("position"), - HX_CSTRING("data"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SampleDataEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(SampleDataEvent_obj::SAMPLE_DATA,"SAMPLE_DATA"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SampleDataEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(SampleDataEvent_obj::SAMPLE_DATA,"SAMPLE_DATA"); -}; - -Class SampleDataEvent_obj::__mClass; - -void SampleDataEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.SampleDataEvent"), hx::TCanCast< SampleDataEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SampleDataEvent_obj::__boot() -{ - SAMPLE_DATA= HX_CSTRING("sampleData"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/TextEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/TextEvent.cpp deleted file mode 100644 index 36ff8e7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/TextEvent.cpp +++ /dev/null @@ -1,160 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_TextEvent -#include -#endif -namespace neash{ -namespace events{ - -Void TextEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text) -{ -HX_STACK_PUSH("TextEvent::new","neash/events/TextEvent.hx",14); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -::String text = __o_text.Default(HX_CSTRING("")); -{ - HX_STACK_LINE(15) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(16) - this->text = text; -} -; - return null(); -} - -TextEvent_obj::~TextEvent_obj() { } - -Dynamic TextEvent_obj::__CreateEmpty() { return new TextEvent_obj; } -hx::ObjectPtr< TextEvent_obj > TextEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text) -{ hx::ObjectPtr< TextEvent_obj > result = new TextEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_text); - return result;} - -Dynamic TextEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TextEvent_obj > result = new TextEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -::String TextEvent_obj::toString( ){ - HX_STACK_PUSH("TextEvent::toString","neash/events/TextEvent.hx",27); - HX_STACK_THIS(this); - HX_STACK_LINE(27) - return ((((((((HX_CSTRING("[TextEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" text=")) + this->text) + HX_CSTRING("]")); -} - - -::neash::events::Event TextEvent_obj::clone( ){ - HX_STACK_PUSH("TextEvent::clone","neash/events/TextEvent.hx",21); - HX_STACK_THIS(this); - HX_STACK_LINE(21) - return ::neash::events::TextEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->text); -} - - -::String TextEvent_obj::LINK; - -::String TextEvent_obj::TEXT_INPUT; - - -TextEvent_obj::TextEvent_obj() -{ -} - -void TextEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TextEvent); - HX_MARK_MEMBER_NAME(text,"text"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void TextEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(text,"text"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic TextEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"LINK") ) { return LINK; } - if (HX_FIELD_EQ(inName,"text") ) { return text; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"TEXT_INPUT") ) { return TEXT_INPUT; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TextEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"LINK") ) { LINK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"text") ) { text=inValue.Cast< ::String >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TEXT_INPUT") ) { TEXT_INPUT=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void TextEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("text")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("LINK"), - HX_CSTRING("TEXT_INPUT"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("text"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TextEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(TextEvent_obj::LINK,"LINK"); - HX_MARK_MEMBER_NAME(TextEvent_obj::TEXT_INPUT,"TEXT_INPUT"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TextEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(TextEvent_obj::LINK,"LINK"); - HX_VISIT_MEMBER_NAME(TextEvent_obj::TEXT_INPUT,"TEXT_INPUT"); -}; - -Class TextEvent_obj::__mClass; - -void TextEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.TextEvent"), hx::TCanCast< TextEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TextEvent_obj::__boot() -{ - LINK= HX_CSTRING("link"); - TEXT_INPUT= HX_CSTRING("textInput"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/TouchEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/TouchEvent.cpp deleted file mode 100644 index 1f94ddf..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/events/TouchEvent.cpp +++ /dev/null @@ -1,313 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_MouseEvent -#include -#endif -#ifndef INCLUDED_neash_events_TouchEvent -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -namespace neash{ -namespace events{ - -Void TouchEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_in_localX,hx::Null< Float > __o_in_localY,hx::Null< Float > __o_in_sizeX,hx::Null< Float > __o_in_sizeY,::neash::display::InteractiveObject in_relatedObject,hx::Null< bool > __o_in_ctrlKey,hx::Null< bool > __o_in_altKey,hx::Null< bool > __o_in_shiftKey,hx::Null< bool > __o_in_buttonDown,hx::Null< int > __o_in_delta,hx::Null< bool > __o_in_commandKey,hx::Null< int > __o_in_clickCount) -{ -HX_STACK_PUSH("TouchEvent::new","neash/events/TouchEvent.hx",27); -bool bubbles = __o_bubbles.Default(true); -bool cancelable = __o_cancelable.Default(false); -Float in_localX = __o_in_localX.Default(0); -Float in_localY = __o_in_localY.Default(0); -Float in_sizeX = __o_in_sizeX.Default(1); -Float in_sizeY = __o_in_sizeY.Default(1); -bool in_ctrlKey = __o_in_ctrlKey.Default(false); -bool in_altKey = __o_in_altKey.Default(false); -bool in_shiftKey = __o_in_shiftKey.Default(false); -bool in_buttonDown = __o_in_buttonDown.Default(false); -int in_delta = __o_in_delta.Default(0); -bool in_commandKey = __o_in_commandKey.Default(false); -int in_clickCount = __o_in_clickCount.Default(0); -{ - HX_STACK_LINE(28) - super::__construct(type,bubbles,cancelable,in_localX,in_localY,in_relatedObject,in_ctrlKey,in_altKey,in_shiftKey,in_buttonDown,in_delta,in_commandKey,in_clickCount); - HX_STACK_LINE(29) - this->touchPointID = (int)0; - HX_STACK_LINE(30) - this->isPrimaryTouchPoint = true; - HX_STACK_LINE(31) - this->sizeX = in_sizeX; - HX_STACK_LINE(32) - this->sizeY = in_sizeY; -} -; - return null(); -} - -TouchEvent_obj::~TouchEvent_obj() { } - -Dynamic TouchEvent_obj::__CreateEmpty() { return new TouchEvent_obj; } -hx::ObjectPtr< TouchEvent_obj > TouchEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_in_localX,hx::Null< Float > __o_in_localY,hx::Null< Float > __o_in_sizeX,hx::Null< Float > __o_in_sizeY,::neash::display::InteractiveObject in_relatedObject,hx::Null< bool > __o_in_ctrlKey,hx::Null< bool > __o_in_altKey,hx::Null< bool > __o_in_shiftKey,hx::Null< bool > __o_in_buttonDown,hx::Null< int > __o_in_delta,hx::Null< bool > __o_in_commandKey,hx::Null< int > __o_in_clickCount) -{ hx::ObjectPtr< TouchEvent_obj > result = new TouchEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_in_localX,__o_in_localY,__o_in_sizeX,__o_in_sizeY,in_relatedObject,__o_in_ctrlKey,__o_in_altKey,__o_in_shiftKey,__o_in_buttonDown,__o_in_delta,__o_in_commandKey,__o_in_clickCount); - return result;} - -Dynamic TouchEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TouchEvent_obj > result = new TouchEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7],inArgs[8],inArgs[9],inArgs[10],inArgs[11],inArgs[12],inArgs[13],inArgs[14]); - return result;} - -::neash::events::MouseEvent TouchEvent_obj::nmeCreateSimilar( ::String inType,::neash::display::InteractiveObject related,::neash::display::InteractiveObject targ){ - HX_STACK_PUSH("TouchEvent::nmeCreateSimilar","neash/events/TouchEvent.hx",48); - HX_STACK_THIS(this); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(related,"related"); - HX_STACK_ARG(targ,"targ"); - HX_STACK_LINE(49) - ::neash::events::TouchEvent result = ::neash::events::TouchEvent_obj::__new(inType,this->nmeGetBubbles(),this->nmeGetCancelable(),this->localX,this->localY,this->sizeX,this->sizeY,( (((related == null()))) ? ::neash::display::InteractiveObject(this->relatedObject) : ::neash::display::InteractiveObject(related) ),this->ctrlKey,this->altKey,this->shiftKey,this->buttonDown,this->delta,this->commandKey,this->clickCount); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(51) - result->touchPointID = this->touchPointID; - HX_STACK_LINE(52) - result->isPrimaryTouchPoint = this->isPrimaryTouchPoint; - HX_STACK_LINE(53) - if (((targ != null()))){ - HX_STACK_LINE(54) - result->nmeSetTarget(targ); - } - HX_STACK_LINE(55) - return result; -} - - -::String TouchEvent_obj::TOUCH_BEGIN; - -::String TouchEvent_obj::TOUCH_END; - -::String TouchEvent_obj::TOUCH_MOVE; - -::String TouchEvent_obj::TOUCH_OUT; - -::String TouchEvent_obj::TOUCH_OVER; - -::String TouchEvent_obj::TOUCH_ROLL_OUT; - -::String TouchEvent_obj::TOUCH_ROLL_OVER; - -::String TouchEvent_obj::TOUCH_TAP; - -::neash::events::TouchEvent TouchEvent_obj::nmeCreate( ::String inType,Dynamic inEvent,::neash::geom::Point inLocal,::neash::display::InteractiveObject inTarget,Float sizeX,Float sizeY){ - HX_STACK_PUSH("TouchEvent::nmeCreate","neash/events/TouchEvent.hx",37); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inLocal,"inLocal"); - HX_STACK_ARG(inTarget,"inTarget"); - HX_STACK_ARG(sizeX,"sizeX"); - HX_STACK_ARG(sizeY,"sizeY"); - HX_STACK_LINE(38) - int flags = inEvent->__Field(HX_CSTRING("flags"),true); HX_STACK_VAR(flags,"flags"); - HX_STACK_LINE(39) - ::neash::events::TouchEvent evt = ::neash::events::TouchEvent_obj::__new(inType,true,false,inLocal->x,inLocal->y,sizeX,sizeY,null(),(((int(flags) & int(::neash::events::MouseEvent_obj::efCtrlDown))) != (int)0),(((int(flags) & int(::neash::events::MouseEvent_obj::efAltDown))) != (int)0),(((int(flags) & int(::neash::events::MouseEvent_obj::efShiftDown))) != (int)0),(((int(flags) & int(::neash::events::MouseEvent_obj::efLeftDown))) != (int)0),(int)0,null(),(int)0); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(40) - evt->stageX = inEvent->__Field(HX_CSTRING("x"),true); - HX_STACK_LINE(41) - evt->stageY = inEvent->__Field(HX_CSTRING("y"),true); - HX_STACK_LINE(42) - evt->nmeSetTarget(inTarget); - HX_STACK_LINE(43) - return evt; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC6(TouchEvent_obj,nmeCreate,return ) - - -TouchEvent_obj::TouchEvent_obj() -{ -} - -void TouchEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TouchEvent); - HX_MARK_MEMBER_NAME(sizeY,"sizeY"); - HX_MARK_MEMBER_NAME(sizeX,"sizeX"); - HX_MARK_MEMBER_NAME(touchPointID,"touchPointID"); - HX_MARK_MEMBER_NAME(isPrimaryTouchPoint,"isPrimaryTouchPoint"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void TouchEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(sizeY,"sizeY"); - HX_VISIT_MEMBER_NAME(sizeX,"sizeX"); - HX_VISIT_MEMBER_NAME(touchPointID,"touchPointID"); - HX_VISIT_MEMBER_NAME(isPrimaryTouchPoint,"isPrimaryTouchPoint"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic TouchEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"sizeY") ) { return sizeY; } - if (HX_FIELD_EQ(inName,"sizeX") ) { return sizeX; } - break; - case 9: - if (HX_FIELD_EQ(inName,"TOUCH_END") ) { return TOUCH_END; } - if (HX_FIELD_EQ(inName,"TOUCH_OUT") ) { return TOUCH_OUT; } - if (HX_FIELD_EQ(inName,"TOUCH_TAP") ) { return TOUCH_TAP; } - if (HX_FIELD_EQ(inName,"nmeCreate") ) { return nmeCreate_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"TOUCH_MOVE") ) { return TOUCH_MOVE; } - if (HX_FIELD_EQ(inName,"TOUCH_OVER") ) { return TOUCH_OVER; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TOUCH_BEGIN") ) { return TOUCH_BEGIN; } - break; - case 12: - if (HX_FIELD_EQ(inName,"touchPointID") ) { return touchPointID; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TOUCH_ROLL_OUT") ) { return TOUCH_ROLL_OUT; } - break; - case 15: - if (HX_FIELD_EQ(inName,"TOUCH_ROLL_OVER") ) { return TOUCH_ROLL_OVER; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeCreateSimilar") ) { return nmeCreateSimilar_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"isPrimaryTouchPoint") ) { return isPrimaryTouchPoint; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TouchEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"sizeY") ) { sizeY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"sizeX") ) { sizeX=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"TOUCH_END") ) { TOUCH_END=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TOUCH_OUT") ) { TOUCH_OUT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TOUCH_TAP") ) { TOUCH_TAP=inValue.Cast< ::String >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TOUCH_MOVE") ) { TOUCH_MOVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TOUCH_OVER") ) { TOUCH_OVER=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TOUCH_BEGIN") ) { TOUCH_BEGIN=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"touchPointID") ) { touchPointID=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TOUCH_ROLL_OUT") ) { TOUCH_ROLL_OUT=inValue.Cast< ::String >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"TOUCH_ROLL_OVER") ) { TOUCH_ROLL_OVER=inValue.Cast< ::String >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"isPrimaryTouchPoint") ) { isPrimaryTouchPoint=inValue.Cast< bool >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void TouchEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("sizeY")); - outFields->push(HX_CSTRING("sizeX")); - outFields->push(HX_CSTRING("touchPointID")); - outFields->push(HX_CSTRING("isPrimaryTouchPoint")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("TOUCH_BEGIN"), - HX_CSTRING("TOUCH_END"), - HX_CSTRING("TOUCH_MOVE"), - HX_CSTRING("TOUCH_OUT"), - HX_CSTRING("TOUCH_OVER"), - HX_CSTRING("TOUCH_ROLL_OUT"), - HX_CSTRING("TOUCH_ROLL_OVER"), - HX_CSTRING("TOUCH_TAP"), - HX_CSTRING("nmeCreate"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeCreateSimilar"), - HX_CSTRING("sizeY"), - HX_CSTRING("sizeX"), - HX_CSTRING("touchPointID"), - HX_CSTRING("isPrimaryTouchPoint"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TouchEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_BEGIN,"TOUCH_BEGIN"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_END,"TOUCH_END"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_MOVE,"TOUCH_MOVE"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_OUT,"TOUCH_OUT"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_OVER,"TOUCH_OVER"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_ROLL_OUT,"TOUCH_ROLL_OUT"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_ROLL_OVER,"TOUCH_ROLL_OVER"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_TAP,"TOUCH_TAP"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TouchEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_BEGIN,"TOUCH_BEGIN"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_END,"TOUCH_END"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_MOVE,"TOUCH_MOVE"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_OUT,"TOUCH_OUT"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_OVER,"TOUCH_OVER"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_ROLL_OUT,"TOUCH_ROLL_OUT"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_ROLL_OVER,"TOUCH_ROLL_OVER"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_TAP,"TOUCH_TAP"); -}; - -Class TouchEvent_obj::__mClass; - -void TouchEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.TouchEvent"), hx::TCanCast< TouchEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TouchEvent_obj::__boot() -{ - TOUCH_BEGIN= HX_CSTRING("touchBegin"); - TOUCH_END= HX_CSTRING("touchEnd"); - TOUCH_MOVE= HX_CSTRING("touchMove"); - TOUCH_OUT= HX_CSTRING("touchOut"); - TOUCH_OVER= HX_CSTRING("touchOver"); - TOUCH_ROLL_OUT= HX_CSTRING("touchRollOut"); - TOUCH_ROLL_OVER= HX_CSTRING("touchRollOver"); - TOUCH_TAP= HX_CSTRING("touchTap"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/filters/BitmapFilter.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/filters/BitmapFilter.cpp deleted file mode 100644 index 72205d7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/filters/BitmapFilter.cpp +++ /dev/null @@ -1,119 +0,0 @@ -#include - -#ifndef INCLUDED_neash_filters_BitmapFilter -#include -#endif -namespace neash{ -namespace filters{ - -Void BitmapFilter_obj::__construct(::String inType) -{ -HX_STACK_PUSH("BitmapFilter::new","neash/filters/BitmapFilter.hx",11); -{ - HX_STACK_LINE(11) - this->type = inType; -} -; - return null(); -} - -BitmapFilter_obj::~BitmapFilter_obj() { } - -Dynamic BitmapFilter_obj::__CreateEmpty() { return new BitmapFilter_obj; } -hx::ObjectPtr< BitmapFilter_obj > BitmapFilter_obj::__new(::String inType) -{ hx::ObjectPtr< BitmapFilter_obj > result = new BitmapFilter_obj(); - result->__construct(inType); - return result;} - -Dynamic BitmapFilter_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BitmapFilter_obj > result = new BitmapFilter_obj(); - result->__construct(inArgs[0]); - return result;} - -::neash::filters::BitmapFilter BitmapFilter_obj::clone( ){ - HX_STACK_PUSH("BitmapFilter::clone","neash/filters/BitmapFilter.hx",17); - HX_STACK_THIS(this); - HX_STACK_LINE(18) - hx::Throw (HX_CSTRING("clone not implemented")); - HX_STACK_LINE(19) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapFilter_obj,clone,return ) - - -BitmapFilter_obj::BitmapFilter_obj() -{ -} - -void BitmapFilter_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BitmapFilter); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_END_CLASS(); -} - -void BitmapFilter_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(type,"type"); -} - -Dynamic BitmapFilter_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { return type; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BitmapFilter_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BitmapFilter_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("type")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("clone"), - HX_CSTRING("type"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BitmapFilter_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BitmapFilter_obj::__mClass,"__mClass"); -}; - -Class BitmapFilter_obj::__mClass; - -void BitmapFilter_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.filters.BitmapFilter"), hx::TCanCast< BitmapFilter_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BitmapFilter_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace filters diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/geom/ColorTransform.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/geom/ColorTransform.cpp deleted file mode 100644 index d5032fa..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/geom/ColorTransform.cpp +++ /dev/null @@ -1,261 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_geom_ColorTransform -#include -#endif -namespace neash{ -namespace geom{ - -Void ColorTransform_obj::__construct(hx::Null< Float > __o_inRedMultiplier,hx::Null< Float > __o_inGreenMultiplier,hx::Null< Float > __o_inBlueMultiplier,hx::Null< Float > __o_inAlphaMultiplier,hx::Null< Float > __o_inRedOffset,hx::Null< Float > __o_inGreenOffset,hx::Null< Float > __o_inBlueOffset,hx::Null< Float > __o_inAlphaOffset) -{ -HX_STACK_PUSH("ColorTransform::new","neash/geom/ColorTransform.hx",24); -Float inRedMultiplier = __o_inRedMultiplier.Default(1.0); -Float inGreenMultiplier = __o_inGreenMultiplier.Default(1.0); -Float inBlueMultiplier = __o_inBlueMultiplier.Default(1.0); -Float inAlphaMultiplier = __o_inAlphaMultiplier.Default(1.0); -Float inRedOffset = __o_inRedOffset.Default(0.0); -Float inGreenOffset = __o_inGreenOffset.Default(0.0); -Float inBlueOffset = __o_inBlueOffset.Default(0.0); -Float inAlphaOffset = __o_inAlphaOffset.Default(0.0); -{ - HX_STACK_LINE(25) - this->redMultiplier = inRedMultiplier; - HX_STACK_LINE(26) - this->greenMultiplier = inGreenMultiplier; - HX_STACK_LINE(27) - this->blueMultiplier = inBlueMultiplier; - HX_STACK_LINE(28) - this->alphaMultiplier = inAlphaMultiplier; - HX_STACK_LINE(29) - this->redOffset = inRedOffset; - HX_STACK_LINE(30) - this->greenOffset = inGreenOffset; - HX_STACK_LINE(31) - this->blueOffset = inBlueOffset; - HX_STACK_LINE(32) - this->alphaOffset = inAlphaOffset; -} -; - return null(); -} - -ColorTransform_obj::~ColorTransform_obj() { } - -Dynamic ColorTransform_obj::__CreateEmpty() { return new ColorTransform_obj; } -hx::ObjectPtr< ColorTransform_obj > ColorTransform_obj::__new(hx::Null< Float > __o_inRedMultiplier,hx::Null< Float > __o_inGreenMultiplier,hx::Null< Float > __o_inBlueMultiplier,hx::Null< Float > __o_inAlphaMultiplier,hx::Null< Float > __o_inRedOffset,hx::Null< Float > __o_inGreenOffset,hx::Null< Float > __o_inBlueOffset,hx::Null< Float > __o_inAlphaOffset) -{ hx::ObjectPtr< ColorTransform_obj > result = new ColorTransform_obj(); - result->__construct(__o_inRedMultiplier,__o_inGreenMultiplier,__o_inBlueMultiplier,__o_inAlphaMultiplier,__o_inRedOffset,__o_inGreenOffset,__o_inBlueOffset,__o_inAlphaOffset); - return result;} - -Dynamic ColorTransform_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ColorTransform_obj > result = new ColorTransform_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7]); - return result;} - -int ColorTransform_obj::nmeSetColor( int value){ - HX_STACK_PUSH("ColorTransform::nmeSetColor","neash/geom/ColorTransform.hx",55); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(56) - this->redOffset = (int((int(value) >> int((int)16))) & int((int)255)); - HX_STACK_LINE(57) - this->greenOffset = (int((int(value) >> int((int)8))) & int((int)255)); - HX_STACK_LINE(58) - this->blueOffset = (int(value) & int((int)255)); - HX_STACK_LINE(60) - this->redMultiplier = (int)0; - HX_STACK_LINE(61) - this->greenMultiplier = (int)0; - HX_STACK_LINE(62) - this->blueMultiplier = (int)0; - HX_STACK_LINE(64) - return this->nmeGetColor(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ColorTransform_obj,nmeSetColor,return ) - -int ColorTransform_obj::nmeGetColor( ){ - HX_STACK_PUSH("ColorTransform::nmeGetColor","neash/geom/ColorTransform.hx",49); - HX_STACK_THIS(this); - HX_STACK_LINE(49) - return (int((int((int(::Std_obj::_int(this->redOffset)) << int((int)16))) | int((int(::Std_obj::_int(this->greenOffset)) << int((int)8))))) | int(::Std_obj::_int(this->blueOffset))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ColorTransform_obj,nmeGetColor,return ) - -Void ColorTransform_obj::concat( ::neash::geom::ColorTransform second){ -{ - HX_STACK_PUSH("ColorTransform::concat","neash/geom/ColorTransform.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(second,"second"); - HX_STACK_LINE(38) - hx::AddEq(this->redMultiplier,second->redMultiplier); - HX_STACK_LINE(39) - hx::AddEq(this->greenMultiplier,second->greenMultiplier); - HX_STACK_LINE(40) - hx::AddEq(this->blueMultiplier,second->blueMultiplier); - HX_STACK_LINE(41) - hx::AddEq(this->alphaMultiplier,second->alphaMultiplier); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ColorTransform_obj,concat,(void)) - - -ColorTransform_obj::ColorTransform_obj() -{ -} - -void ColorTransform_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ColorTransform); - HX_MARK_MEMBER_NAME(redOffset,"redOffset"); - HX_MARK_MEMBER_NAME(redMultiplier,"redMultiplier"); - HX_MARK_MEMBER_NAME(greenOffset,"greenOffset"); - HX_MARK_MEMBER_NAME(greenMultiplier,"greenMultiplier"); - HX_MARK_MEMBER_NAME(color,"color"); - HX_MARK_MEMBER_NAME(blueOffset,"blueOffset"); - HX_MARK_MEMBER_NAME(blueMultiplier,"blueMultiplier"); - HX_MARK_MEMBER_NAME(alphaOffset,"alphaOffset"); - HX_MARK_MEMBER_NAME(alphaMultiplier,"alphaMultiplier"); - HX_MARK_END_CLASS(); -} - -void ColorTransform_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(redOffset,"redOffset"); - HX_VISIT_MEMBER_NAME(redMultiplier,"redMultiplier"); - HX_VISIT_MEMBER_NAME(greenOffset,"greenOffset"); - HX_VISIT_MEMBER_NAME(greenMultiplier,"greenMultiplier"); - HX_VISIT_MEMBER_NAME(color,"color"); - HX_VISIT_MEMBER_NAME(blueOffset,"blueOffset"); - HX_VISIT_MEMBER_NAME(blueMultiplier,"blueMultiplier"); - HX_VISIT_MEMBER_NAME(alphaOffset,"alphaOffset"); - HX_VISIT_MEMBER_NAME(alphaMultiplier,"alphaMultiplier"); -} - -Dynamic ColorTransform_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"color") ) { return inCallProp ? nmeGetColor() : color; } - break; - case 6: - if (HX_FIELD_EQ(inName,"concat") ) { return concat_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"redOffset") ) { return redOffset; } - break; - case 10: - if (HX_FIELD_EQ(inName,"blueOffset") ) { return blueOffset; } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeSetColor") ) { return nmeSetColor_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetColor") ) { return nmeGetColor_dyn(); } - if (HX_FIELD_EQ(inName,"greenOffset") ) { return greenOffset; } - if (HX_FIELD_EQ(inName,"alphaOffset") ) { return alphaOffset; } - break; - case 13: - if (HX_FIELD_EQ(inName,"redMultiplier") ) { return redMultiplier; } - break; - case 14: - if (HX_FIELD_EQ(inName,"blueMultiplier") ) { return blueMultiplier; } - break; - case 15: - if (HX_FIELD_EQ(inName,"greenMultiplier") ) { return greenMultiplier; } - if (HX_FIELD_EQ(inName,"alphaMultiplier") ) { return alphaMultiplier; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ColorTransform_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"color") ) { if (inCallProp) return nmeSetColor(inValue);color=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"redOffset") ) { redOffset=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"blueOffset") ) { blueOffset=inValue.Cast< Float >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"greenOffset") ) { greenOffset=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"alphaOffset") ) { alphaOffset=inValue.Cast< Float >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"redMultiplier") ) { redMultiplier=inValue.Cast< Float >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"blueMultiplier") ) { blueMultiplier=inValue.Cast< Float >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"greenMultiplier") ) { greenMultiplier=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"alphaMultiplier") ) { alphaMultiplier=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ColorTransform_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("redOffset")); - outFields->push(HX_CSTRING("redMultiplier")); - outFields->push(HX_CSTRING("greenOffset")); - outFields->push(HX_CSTRING("greenMultiplier")); - outFields->push(HX_CSTRING("color")); - outFields->push(HX_CSTRING("blueOffset")); - outFields->push(HX_CSTRING("blueMultiplier")); - outFields->push(HX_CSTRING("alphaOffset")); - outFields->push(HX_CSTRING("alphaMultiplier")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetColor"), - HX_CSTRING("nmeGetColor"), - HX_CSTRING("concat"), - HX_CSTRING("redOffset"), - HX_CSTRING("redMultiplier"), - HX_CSTRING("greenOffset"), - HX_CSTRING("greenMultiplier"), - HX_CSTRING("color"), - HX_CSTRING("blueOffset"), - HX_CSTRING("blueMultiplier"), - HX_CSTRING("alphaOffset"), - HX_CSTRING("alphaMultiplier"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ColorTransform_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ColorTransform_obj::__mClass,"__mClass"); -}; - -Class ColorTransform_obj::__mClass; - -void ColorTransform_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.geom.ColorTransform"), hx::TCanCast< ColorTransform_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ColorTransform_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/geom/Matrix.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/geom/Matrix.cpp deleted file mode 100644 index 533e9d1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/geom/Matrix.cpp +++ /dev/null @@ -1,561 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -namespace neash{ -namespace geom{ - -Void Matrix_obj::__construct(Dynamic in_a,Dynamic in_b,Dynamic in_c,Dynamic in_d,Dynamic in_tx,Dynamic in_ty) -{ -HX_STACK_PUSH("Matrix::new","neash/geom/Matrix.hx",26); -{ - HX_STACK_LINE(27) - this->a = ( (((in_a == null()))) ? Dynamic(1.0) : Dynamic(in_a) ); - HX_STACK_LINE(28) - this->b = ( (((in_b == null()))) ? Dynamic(0.0) : Dynamic(in_b) ); - HX_STACK_LINE(29) - this->c = ( (((in_c == null()))) ? Dynamic(0.0) : Dynamic(in_c) ); - HX_STACK_LINE(30) - this->d = ( (((in_d == null()))) ? Dynamic(1.0) : Dynamic(in_d) ); - HX_STACK_LINE(31) - this->tx = ( (((in_tx == null()))) ? Dynamic(0.0) : Dynamic(in_tx) ); - HX_STACK_LINE(32) - this->ty = ( (((in_ty == null()))) ? Dynamic(0.0) : Dynamic(in_ty) ); -} -; - return null(); -} - -Matrix_obj::~Matrix_obj() { } - -Dynamic Matrix_obj::__CreateEmpty() { return new Matrix_obj; } -hx::ObjectPtr< Matrix_obj > Matrix_obj::__new(Dynamic in_a,Dynamic in_b,Dynamic in_c,Dynamic in_d,Dynamic in_tx,Dynamic in_ty) -{ hx::ObjectPtr< Matrix_obj > result = new Matrix_obj(); - result->__construct(in_a,in_b,in_c,in_d,in_tx,in_ty); - return result;} - -Dynamic Matrix_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Matrix_obj > result = new Matrix_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5]); - return result;} - -Void Matrix_obj::translate( Float inDX,Float inDY){ -{ - HX_STACK_PUSH("Matrix::translate","neash/geom/Matrix.hx",237); - HX_STACK_THIS(this); - HX_STACK_ARG(inDX,"inDX"); - HX_STACK_ARG(inDY,"inDY"); - HX_STACK_LINE(238) - hx::AddEq(this->tx,inDX); - HX_STACK_LINE(239) - hx::AddEq(this->ty,inDY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Matrix_obj,translate,(void)) - -::neash::geom::Point Matrix_obj::transformPoint( ::neash::geom::Point inPos){ - HX_STACK_PUSH("Matrix::transformPoint","neash/geom/Matrix.hx",231); - HX_STACK_THIS(this); - HX_STACK_ARG(inPos,"inPos"); - HX_STACK_LINE(231) - return ::neash::geom::Point_obj::__new((((inPos->x * this->a) + (inPos->y * this->c)) + this->tx),(((inPos->x * this->b) + (inPos->y * this->d)) + this->ty)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,transformPoint,return ) - -Void Matrix_obj::setRotation( Float inTheta,Dynamic inScale){ -{ - HX_STACK_PUSH("Matrix::setRotation","neash/geom/Matrix.hx",221); - HX_STACK_THIS(this); - HX_STACK_ARG(inTheta,"inTheta"); - HX_STACK_ARG(inScale,"inScale"); - HX_STACK_LINE(222) - Float scale = ( (((inScale == null()))) ? Dynamic(1.0) : Dynamic(inScale) ); HX_STACK_VAR(scale,"scale"); - HX_STACK_LINE(223) - this->a = (::Math_obj::cos(inTheta) * scale); - HX_STACK_LINE(224) - this->c = (::Math_obj::sin(inTheta) * scale); - HX_STACK_LINE(225) - this->b = -(this->c); - HX_STACK_LINE(226) - this->d = this->a; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Matrix_obj,setRotation,(void)) - -Void Matrix_obj::scale( Float inSX,Float inSY){ -{ - HX_STACK_PUSH("Matrix::scale","neash/geom/Matrix.hx",208); - HX_STACK_THIS(this); - HX_STACK_ARG(inSX,"inSX"); - HX_STACK_ARG(inSY,"inSY"); - HX_STACK_LINE(209) - hx::MultEq(this->a,inSX); - HX_STACK_LINE(210) - hx::MultEq(this->b,inSY); - HX_STACK_LINE(212) - hx::MultEq(this->c,inSX); - HX_STACK_LINE(213) - hx::MultEq(this->d,inSY); - HX_STACK_LINE(215) - hx::MultEq(this->tx,inSX); - HX_STACK_LINE(216) - hx::MultEq(this->ty,inSY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Matrix_obj,scale,(void)) - -Void Matrix_obj::rotate( Float inTheta){ -{ - HX_STACK_PUSH("Matrix::rotate","neash/geom/Matrix.hx",182); - HX_STACK_THIS(this); - HX_STACK_ARG(inTheta,"inTheta"); - HX_STACK_LINE(183) - Float cos = ::Math_obj::cos(inTheta); HX_STACK_VAR(cos,"cos"); - HX_STACK_LINE(184) - Float sin = ::Math_obj::sin(inTheta); HX_STACK_VAR(sin,"sin"); - HX_STACK_LINE(186) - Float a1 = ((this->a * cos) - (this->b * sin)); HX_STACK_VAR(a1,"a1"); - HX_STACK_LINE(187) - this->b = ((this->a * sin) + (this->b * cos)); - HX_STACK_LINE(188) - this->a = a1; - HX_STACK_LINE(190) - Float c1 = ((this->c * cos) - (this->d * sin)); HX_STACK_VAR(c1,"c1"); - HX_STACK_LINE(191) - this->d = ((this->c * sin) + (this->d * cos)); - HX_STACK_LINE(192) - this->c = c1; - HX_STACK_LINE(194) - Float tx1 = ((this->tx * cos) - (this->ty * sin)); HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(195) - this->ty = ((this->tx * sin) + (this->ty * cos)); - HX_STACK_LINE(196) - this->tx = tx1; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,rotate,(void)) - -::neash::geom::Matrix Matrix_obj::mult( ::neash::geom::Matrix m){ - HX_STACK_PUSH("Matrix::mult","neash/geom/Matrix.hx",154); - HX_STACK_THIS(this); - HX_STACK_ARG(m,"m"); - HX_STACK_LINE(155) - ::neash::geom::Matrix result = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(157) - result->a = ((this->a * m->a) + (this->b * m->c)); - HX_STACK_LINE(158) - result->b = ((this->a * m->b) + (this->b * m->d)); - HX_STACK_LINE(159) - result->c = ((this->c * m->a) + (this->d * m->c)); - HX_STACK_LINE(160) - result->d = ((this->c * m->b) + (this->d * m->d)); - HX_STACK_LINE(162) - result->tx = (((this->tx * m->a) + (this->ty * m->c)) + m->tx); - HX_STACK_LINE(163) - result->ty = (((this->tx * m->b) + (this->ty * m->d)) + m->ty); - HX_STACK_LINE(165) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,mult,return ) - -::neash::geom::Matrix Matrix_obj::invert( ){ - HX_STACK_PUSH("Matrix::invert","neash/geom/Matrix.hx",126); - HX_STACK_THIS(this); - HX_STACK_LINE(127) - Float norm = ((this->a * this->d) - (this->b * this->c)); HX_STACK_VAR(norm,"norm"); - HX_STACK_LINE(129) - if (((norm == (int)0))){ - HX_STACK_LINE(131) - this->a = this->b = this->c = this->d = (int)0; - HX_STACK_LINE(132) - this->tx = -(this->tx); - HX_STACK_LINE(133) - this->ty = -(this->ty); - } - else{ - HX_STACK_LINE(137) - norm = (Float(1.0) / Float(norm)); - HX_STACK_LINE(138) - Float a1 = (this->d * norm); HX_STACK_VAR(a1,"a1"); - HX_STACK_LINE(139) - this->d = (this->a * norm); - HX_STACK_LINE(140) - this->a = a1; - HX_STACK_LINE(141) - hx::MultEq(this->b,-(norm)); - HX_STACK_LINE(142) - hx::MultEq(this->c,-(norm)); - HX_STACK_LINE(144) - Float tx1 = ((-(this->a) * this->tx) - (this->c * this->ty)); HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(145) - this->ty = ((-(this->b) * this->tx) - (this->d * this->ty)); - HX_STACK_LINE(146) - this->tx = tx1; - } - HX_STACK_LINE(149) - return hx::ObjectPtr(this); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix_obj,invert,return ) - -Void Matrix_obj::identity( ){ -{ - HX_STACK_PUSH("Matrix::identity","neash/geom/Matrix.hx",115); - HX_STACK_THIS(this); - HX_STACK_LINE(116) - this->a = (int)1; - HX_STACK_LINE(117) - this->b = (int)0; - HX_STACK_LINE(118) - this->c = (int)0; - HX_STACK_LINE(119) - this->d = (int)1; - HX_STACK_LINE(120) - this->tx = (int)0; - HX_STACK_LINE(121) - this->ty = (int)0; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix_obj,identity,(void)) - -::neash::geom::Point Matrix_obj::deltaTransformPoint( ::neash::geom::Point point){ - HX_STACK_PUSH("Matrix::deltaTransformPoint","neash/geom/Matrix.hx",109); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(109) - return ::neash::geom::Point_obj::__new(((point->x * this->a) + (point->y * this->c)),((point->x * this->b) + (point->y * this->d))); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,deltaTransformPoint,return ) - -Void Matrix_obj::createGradientBox( Float in_width,Float in_height,Dynamic rotation,Dynamic in_tx,Dynamic in_ty){ -{ - HX_STACK_PUSH("Matrix::createGradientBox","neash/geom/Matrix.hx",84); - HX_STACK_THIS(this); - HX_STACK_ARG(in_width,"in_width"); - HX_STACK_ARG(in_height,"in_height"); - HX_STACK_ARG(rotation,"rotation"); - HX_STACK_ARG(in_tx,"in_tx"); - HX_STACK_ARG(in_ty,"in_ty"); - HX_STACK_LINE(85) - this->a = (Float(in_width) / Float(1638.4)); - HX_STACK_LINE(86) - this->d = (Float(in_height) / Float(1638.4)); - HX_STACK_LINE(89) - if (((bool((rotation != null())) && bool((rotation != 0.0))))){ - HX_STACK_LINE(91) - Float cos = ::Math_obj::cos(rotation); HX_STACK_VAR(cos,"cos"); - HX_STACK_LINE(92) - Float sin = ::Math_obj::sin(rotation); HX_STACK_VAR(sin,"sin"); - HX_STACK_LINE(93) - this->b = (sin * this->d); - HX_STACK_LINE(94) - this->c = (-(sin) * this->a); - HX_STACK_LINE(95) - hx::MultEq(this->a,cos); - HX_STACK_LINE(96) - hx::MultEq(this->d,cos); - } - else{ - HX_STACK_LINE(99) - this->b = this->c = (int)0; - } - HX_STACK_LINE(103) - this->tx = ( (((in_tx != null()))) ? Float((in_tx + (Float(in_width) / Float((int)2)))) : Float((Float(in_width) / Float((int)2))) ); - HX_STACK_LINE(104) - this->ty = ( (((in_ty != null()))) ? Float((in_ty + (Float(in_height) / Float((int)2)))) : Float((Float(in_height) / Float((int)2))) ); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(Matrix_obj,createGradientBox,(void)) - -Void Matrix_obj::createBox( Float scaleX,Float scaleY,Dynamic rotation,Dynamic tx,Dynamic ty){ -{ - HX_STACK_PUSH("Matrix::createBox","neash/geom/Matrix.hx",74); - HX_STACK_THIS(this); - HX_STACK_ARG(scaleX,"scaleX"); - HX_STACK_ARG(scaleY,"scaleY"); - HX_STACK_ARG(rotation,"rotation"); - HX_STACK_ARG(tx,"tx"); - HX_STACK_ARG(ty,"ty"); - HX_STACK_LINE(75) - this->a = scaleX; - HX_STACK_LINE(76) - this->d = scaleY; - HX_STACK_LINE(77) - this->b = ( (((rotation == null()))) ? Dynamic(0.0) : Dynamic(rotation) ); - HX_STACK_LINE(78) - this->tx = ( (((tx == null()))) ? Dynamic(0.0) : Dynamic(tx) ); - HX_STACK_LINE(79) - this->ty = ( (((ty == null()))) ? Dynamic(0.0) : Dynamic(ty) ); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(Matrix_obj,createBox,(void)) - -Void Matrix_obj::concat( ::neash::geom::Matrix m){ -{ - HX_STACK_PUSH("Matrix::concat","neash/geom/Matrix.hx",57); - HX_STACK_THIS(this); - HX_STACK_ARG(m,"m"); - HX_STACK_LINE(58) - Float a1 = ((this->a * m->a) + (this->b * m->c)); HX_STACK_VAR(a1,"a1"); - HX_STACK_LINE(59) - this->b = ((this->a * m->b) + (this->b * m->d)); - HX_STACK_LINE(60) - this->a = a1; - HX_STACK_LINE(62) - Float c1 = ((this->c * m->a) + (this->d * m->c)); HX_STACK_VAR(c1,"c1"); - HX_STACK_LINE(63) - this->d = ((this->c * m->b) + (this->d * m->d)); - HX_STACK_LINE(65) - this->c = c1; - HX_STACK_LINE(67) - Float tx1 = (((this->tx * m->a) + (this->ty * m->c)) + m->tx); HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(68) - this->ty = (((this->tx * m->b) + (this->ty * m->d)) + m->ty); - HX_STACK_LINE(69) - this->tx = tx1; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,concat,(void)) - -::neash::geom::Matrix Matrix_obj::clone( ){ - HX_STACK_PUSH("Matrix::clone","neash/geom/Matrix.hx",37); - HX_STACK_THIS(this); - HX_STACK_LINE(37) - return ::neash::geom::Matrix_obj::__new(this->a,this->b,this->c,this->d,this->tx,this->ty); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix_obj,clone,return ) - - -Matrix_obj::Matrix_obj() -{ -} - -void Matrix_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Matrix); - HX_MARK_MEMBER_NAME(ty,"ty"); - HX_MARK_MEMBER_NAME(tx,"tx"); - HX_MARK_MEMBER_NAME(d,"d"); - HX_MARK_MEMBER_NAME(c,"c"); - HX_MARK_MEMBER_NAME(b,"b"); - HX_MARK_MEMBER_NAME(a,"a"); - HX_MARK_END_CLASS(); -} - -void Matrix_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(ty,"ty"); - HX_VISIT_MEMBER_NAME(tx,"tx"); - HX_VISIT_MEMBER_NAME(d,"d"); - HX_VISIT_MEMBER_NAME(c,"c"); - HX_VISIT_MEMBER_NAME(b,"b"); - HX_VISIT_MEMBER_NAME(a,"a"); -} - -Dynamic Matrix_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"d") ) { return d; } - if (HX_FIELD_EQ(inName,"c") ) { return c; } - if (HX_FIELD_EQ(inName,"b") ) { return b; } - if (HX_FIELD_EQ(inName,"a") ) { return a; } - break; - case 2: - if (HX_FIELD_EQ(inName,"ty") ) { return ty; } - if (HX_FIELD_EQ(inName,"tx") ) { return tx; } - break; - case 4: - if (HX_FIELD_EQ(inName,"mult") ) { return mult_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"scale") ) { return scale_dyn(); } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"rotate") ) { return rotate_dyn(); } - if (HX_FIELD_EQ(inName,"invert") ) { return invert_dyn(); } - if (HX_FIELD_EQ(inName,"concat") ) { return concat_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"identity") ) { return identity_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"translate") ) { return translate_dyn(); } - if (HX_FIELD_EQ(inName,"createBox") ) { return createBox_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"setRotation") ) { return setRotation_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"transformPoint") ) { return transformPoint_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"createGradientBox") ) { return createGradientBox_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"deltaTransformPoint") ) { return deltaTransformPoint_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -static int __id_translate = __hxcpp_field_to_id("translate"); -static int __id_transformPoint = __hxcpp_field_to_id("transformPoint"); -static int __id_setRotation = __hxcpp_field_to_id("setRotation"); -static int __id_scale = __hxcpp_field_to_id("scale"); -static int __id_rotate = __hxcpp_field_to_id("rotate"); -static int __id_mult = __hxcpp_field_to_id("mult"); -static int __id_invert = __hxcpp_field_to_id("invert"); -static int __id_identity = __hxcpp_field_to_id("identity"); -static int __id_deltaTransformPoint = __hxcpp_field_to_id("deltaTransformPoint"); -static int __id_createGradientBox = __hxcpp_field_to_id("createGradientBox"); -static int __id_createBox = __hxcpp_field_to_id("createBox"); -static int __id_concat = __hxcpp_field_to_id("concat"); -static int __id_clone = __hxcpp_field_to_id("clone"); -static int __id_ty = __hxcpp_field_to_id("ty"); -static int __id_tx = __hxcpp_field_to_id("tx"); -static int __id_d = __hxcpp_field_to_id("d"); -static int __id_c = __hxcpp_field_to_id("c"); -static int __id_b = __hxcpp_field_to_id("b"); -static int __id_a = __hxcpp_field_to_id("a"); - - -double Matrix_obj::__INumField(int inFieldID) -{ - if (inFieldID==__id_translate) return translate_dyn(); - if (inFieldID==__id_transformPoint) return transformPoint_dyn(); - if (inFieldID==__id_setRotation) return setRotation_dyn(); - if (inFieldID==__id_scale) return scale_dyn(); - if (inFieldID==__id_rotate) return rotate_dyn(); - if (inFieldID==__id_mult) return mult_dyn(); - if (inFieldID==__id_invert) return invert_dyn(); - if (inFieldID==__id_identity) return identity_dyn(); - if (inFieldID==__id_deltaTransformPoint) return deltaTransformPoint_dyn(); - if (inFieldID==__id_createGradientBox) return createGradientBox_dyn(); - if (inFieldID==__id_createBox) return createBox_dyn(); - if (inFieldID==__id_concat) return concat_dyn(); - if (inFieldID==__id_clone) return clone_dyn(); - if (inFieldID==__id_ty) return ty; - if (inFieldID==__id_tx) return tx; - if (inFieldID==__id_d) return d; - if (inFieldID==__id_c) return c; - if (inFieldID==__id_b) return b; - if (inFieldID==__id_a) return a; - return super::__INumField(inFieldID); -} - -Dynamic Matrix_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"d") ) { d=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"c") ) { c=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"b") ) { b=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"a") ) { a=inValue.Cast< Float >(); return inValue; } - break; - case 2: - if (HX_FIELD_EQ(inName,"ty") ) { ty=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"tx") ) { tx=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Matrix_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("ty")); - outFields->push(HX_CSTRING("tx")); - outFields->push(HX_CSTRING("d")); - outFields->push(HX_CSTRING("c")); - outFields->push(HX_CSTRING("b")); - outFields->push(HX_CSTRING("a")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("translate"), - HX_CSTRING("transformPoint"), - HX_CSTRING("setRotation"), - HX_CSTRING("scale"), - HX_CSTRING("rotate"), - HX_CSTRING("mult"), - HX_CSTRING("invert"), - HX_CSTRING("identity"), - HX_CSTRING("deltaTransformPoint"), - HX_CSTRING("createGradientBox"), - HX_CSTRING("createBox"), - HX_CSTRING("concat"), - HX_CSTRING("clone"), - HX_CSTRING("ty"), - HX_CSTRING("tx"), - HX_CSTRING("d"), - HX_CSTRING("c"), - HX_CSTRING("b"), - HX_CSTRING("a"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Matrix_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Matrix_obj::__mClass,"__mClass"); -}; - -Class Matrix_obj::__mClass; - -void Matrix_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.geom.Matrix"), hx::TCanCast< Matrix_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Matrix_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/geom/Point.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/geom/Point.cpp deleted file mode 100644 index 964a986..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/geom/Point.cpp +++ /dev/null @@ -1,291 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -namespace neash{ -namespace geom{ - -Void Point_obj::__construct(hx::Null< Float > __o_inX,hx::Null< Float > __o_inY) -{ -HX_STACK_PUSH("Point::new","neash/geom/Point.hx",39); -Float inX = __o_inX.Default(0); -Float inY = __o_inY.Default(0); -{ - HX_STACK_LINE(40) - this->x = inX; - HX_STACK_LINE(41) - this->y = inY; -} -; - return null(); -} - -Point_obj::~Point_obj() { } - -Dynamic Point_obj::__CreateEmpty() { return new Point_obj; } -hx::ObjectPtr< Point_obj > Point_obj::__new(hx::Null< Float > __o_inX,hx::Null< Float > __o_inY) -{ hx::ObjectPtr< Point_obj > result = new Point_obj(); - result->__construct(__o_inX,__o_inY); - return result;} - -Dynamic Point_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Point_obj > result = new Point_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -Float Point_obj::nmeGetLength( ){ - HX_STACK_PUSH("Point::nmeGetLength","neash/geom/Point.hx",117); - HX_STACK_THIS(this); - HX_STACK_LINE(117) - return ::Math_obj::sqrt(((this->x * this->x) + (this->y * this->y))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Point_obj,nmeGetLength,return ) - -::neash::geom::Point Point_obj::subtract( ::neash::geom::Point v){ - HX_STACK_PUSH("Point::subtract","neash/geom/Point.hx",106); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(106) - return ::neash::geom::Point_obj::__new((this->x - v->x),(this->y - v->y)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Point_obj,subtract,return ) - -Void Point_obj::offset( Float dx,Float dy){ -{ - HX_STACK_PUSH("Point::offset","neash/geom/Point.hx",93); - HX_STACK_THIS(this); - HX_STACK_ARG(dx,"dx"); - HX_STACK_ARG(dy,"dy"); - HX_STACK_LINE(94) - hx::AddEq(this->x,dx); - HX_STACK_LINE(95) - hx::AddEq(this->y,dy); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Point_obj,offset,(void)) - -Void Point_obj::normalize( Float thickness){ -{ - HX_STACK_PUSH("Point::normalize","neash/geom/Point.hx",78); - HX_STACK_THIS(this); - HX_STACK_ARG(thickness,"thickness"); - HX_STACK_LINE(78) - if (((bool((this->x == (int)0)) && bool((this->y == (int)0))))){ - HX_STACK_LINE(80) - return null(); - } - else{ - HX_STACK_LINE(85) - Float norm = (Float(thickness) / Float(::Math_obj::sqrt(((this->x * this->x) + (this->y * this->y))))); HX_STACK_VAR(norm,"norm"); - HX_STACK_LINE(86) - hx::MultEq(this->x,norm); - HX_STACK_LINE(87) - hx::MultEq(this->y,norm); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Point_obj,normalize,(void)) - -bool Point_obj::equals( ::neash::geom::Point toCompare){ - HX_STACK_PUSH("Point::equals","neash/geom/Point.hx",66); - HX_STACK_THIS(this); - HX_STACK_ARG(toCompare,"toCompare"); - HX_STACK_LINE(66) - return (bool((toCompare->x == this->x)) && bool((toCompare->y == this->y))); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Point_obj,equals,return ) - -::neash::geom::Point Point_obj::clone( ){ - HX_STACK_PUSH("Point::clone","neash/geom/Point.hx",52); - HX_STACK_THIS(this); - HX_STACK_LINE(52) - return ::neash::geom::Point_obj::__new(this->x,this->y); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Point_obj,clone,return ) - -::neash::geom::Point Point_obj::add( ::neash::geom::Point v){ - HX_STACK_PUSH("Point::add","neash/geom/Point.hx",46); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(46) - return ::neash::geom::Point_obj::__new((v->x + this->x),(v->y + this->y)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Point_obj,add,return ) - -Float Point_obj::distance( ::neash::geom::Point pt1,::neash::geom::Point pt2){ - HX_STACK_PUSH("Point::distance","neash/geom/Point.hx",58); - HX_STACK_ARG(pt1,"pt1"); - HX_STACK_ARG(pt2,"pt2"); - HX_STACK_LINE(59) - Float dx = (pt1->x - pt2->x); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(60) - Float dy = (pt1->y - pt2->y); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(61) - return ::Math_obj::sqrt(((dx * dx) + (dy * dy))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Point_obj,distance,return ) - -::neash::geom::Point Point_obj::interpolate( ::neash::geom::Point pt1,::neash::geom::Point pt2,Float f){ - HX_STACK_PUSH("Point::interpolate","neash/geom/Point.hx",72); - HX_STACK_ARG(pt1,"pt1"); - HX_STACK_ARG(pt2,"pt2"); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(72) - return ::neash::geom::Point_obj::__new((pt2->x + (f * ((pt1->x - pt2->x)))),(pt2->y + (f * ((pt1->y - pt2->y))))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Point_obj,interpolate,return ) - -::neash::geom::Point Point_obj::polar( Float len,Float angle){ - HX_STACK_PUSH("Point::polar","neash/geom/Point.hx",100); - HX_STACK_ARG(len,"len"); - HX_STACK_ARG(angle,"angle"); - HX_STACK_LINE(100) - return ::neash::geom::Point_obj::__new((len * ::Math_obj::cos(angle)),(len * ::Math_obj::sin(angle))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Point_obj,polar,return ) - - -Point_obj::Point_obj() -{ -} - -void Point_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Point); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(length,"length"); - HX_MARK_END_CLASS(); -} - -void Point_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(length,"length"); -} - -Dynamic Point_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 3: - if (HX_FIELD_EQ(inName,"add") ) { return add_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"polar") ) { return polar_dyn(); } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"offset") ) { return offset_dyn(); } - if (HX_FIELD_EQ(inName,"equals") ) { return equals_dyn(); } - if (HX_FIELD_EQ(inName,"length") ) { return inCallProp ? nmeGetLength() : length; } - break; - case 8: - if (HX_FIELD_EQ(inName,"distance") ) { return distance_dyn(); } - if (HX_FIELD_EQ(inName,"subtract") ) { return subtract_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"normalize") ) { return normalize_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"interpolate") ) { return interpolate_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeGetLength") ) { return nmeGetLength_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Point_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { length=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Point_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("length")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("distance"), - HX_CSTRING("interpolate"), - HX_CSTRING("polar"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetLength"), - HX_CSTRING("subtract"), - HX_CSTRING("offset"), - HX_CSTRING("normalize"), - HX_CSTRING("equals"), - HX_CSTRING("clone"), - HX_CSTRING("add"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("length"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Point_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Point_obj::__mClass,"__mClass"); -}; - -Class Point_obj::__mClass; - -void Point_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.geom.Point"), hx::TCanCast< Point_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Point_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/geom/Rectangle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/geom/Rectangle.cpp deleted file mode 100644 index 342b658..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/geom/Rectangle.cpp +++ /dev/null @@ -1,791 +0,0 @@ -#include - -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -namespace neash{ -namespace geom{ - -Void Rectangle_obj::__construct(Dynamic inX,Dynamic inY,Dynamic inWidth,Dynamic inHeight) -{ -HX_STACK_PUSH("Rectangle::new","neash/geom/Rectangle.hx",44); -{ - HX_STACK_LINE(45) - this->x = ( (((inX == null()))) ? Dynamic((int)0) : Dynamic(inX) ); - HX_STACK_LINE(46) - this->y = ( (((inY == null()))) ? Dynamic((int)0) : Dynamic(inY) ); - HX_STACK_LINE(47) - this->width = ( (((inWidth == null()))) ? Dynamic((int)0) : Dynamic(inWidth) ); - HX_STACK_LINE(48) - this->height = ( (((inHeight == null()))) ? Dynamic((int)0) : Dynamic(inHeight) ); -} -; - return null(); -} - -Rectangle_obj::~Rectangle_obj() { } - -Dynamic Rectangle_obj::__CreateEmpty() { return new Rectangle_obj; } -hx::ObjectPtr< Rectangle_obj > Rectangle_obj::__new(Dynamic inX,Dynamic inY,Dynamic inWidth,Dynamic inHeight) -{ hx::ObjectPtr< Rectangle_obj > result = new Rectangle_obj(); - result->__construct(inX,inY,inWidth,inHeight); - return result;} - -Dynamic Rectangle_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Rectangle_obj > result = new Rectangle_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -::neash::geom::Point Rectangle_obj::nmeSetTopLeft( ::neash::geom::Point p){ - HX_STACK_PUSH("Rectangle::nmeSetTopLeft","neash/geom/Rectangle.hx",231); - HX_STACK_THIS(this); - HX_STACK_ARG(p,"p"); - HX_STACK_LINE(231) - this->x = p->x; - HX_STACK_LINE(231) - this->y = p->y; - HX_STACK_LINE(231) - return p->clone(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetTopLeft,return ) - -::neash::geom::Point Rectangle_obj::nmeGetTopLeft( ){ - HX_STACK_PUSH("Rectangle::nmeGetTopLeft","neash/geom/Rectangle.hx",230); - HX_STACK_THIS(this); - HX_STACK_LINE(230) - return ::neash::geom::Point_obj::__new(this->x,this->y); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetTopLeft,return ) - -Float Rectangle_obj::nmeSetTop( Float t){ - HX_STACK_PUSH("Rectangle::nmeSetTop","neash/geom/Rectangle.hx",229); - HX_STACK_THIS(this); - HX_STACK_ARG(t,"t"); - HX_STACK_LINE(229) - hx::SubEq(this->height,(t - this->y)); - HX_STACK_LINE(229) - this->y = t; - HX_STACK_LINE(229) - return t; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetTop,return ) - -Float Rectangle_obj::nmeGetTop( ){ - HX_STACK_PUSH("Rectangle::nmeGetTop","neash/geom/Rectangle.hx",228); - HX_STACK_THIS(this); - HX_STACK_LINE(228) - return this->y; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetTop,return ) - -::neash::geom::Point Rectangle_obj::nmeSetSize( ::neash::geom::Point p){ - HX_STACK_PUSH("Rectangle::nmeSetSize","neash/geom/Rectangle.hx",227); - HX_STACK_THIS(this); - HX_STACK_ARG(p,"p"); - HX_STACK_LINE(227) - this->width = p->x; - HX_STACK_LINE(227) - this->height = p->y; - HX_STACK_LINE(227) - return p->clone(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetSize,return ) - -::neash::geom::Point Rectangle_obj::nmeGetSize( ){ - HX_STACK_PUSH("Rectangle::nmeGetSize","neash/geom/Rectangle.hx",226); - HX_STACK_THIS(this); - HX_STACK_LINE(226) - return ::neash::geom::Point_obj::__new(this->width,this->height); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetSize,return ) - -Float Rectangle_obj::nmeSetRight( Float r){ - HX_STACK_PUSH("Rectangle::nmeSetRight","neash/geom/Rectangle.hx",225); - HX_STACK_THIS(this); - HX_STACK_ARG(r,"r"); - HX_STACK_LINE(225) - this->width = (r - this->x); - HX_STACK_LINE(225) - return r; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetRight,return ) - -Float Rectangle_obj::nmeGetRight( ){ - HX_STACK_PUSH("Rectangle::nmeGetRight","neash/geom/Rectangle.hx",224); - HX_STACK_THIS(this); - HX_STACK_LINE(224) - return (this->x + this->width); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetRight,return ) - -Float Rectangle_obj::nmeSetLeft( Float l){ - HX_STACK_PUSH("Rectangle::nmeSetLeft","neash/geom/Rectangle.hx",223); - HX_STACK_THIS(this); - HX_STACK_ARG(l,"l"); - HX_STACK_LINE(223) - hx::SubEq(this->width,(l - this->x)); - HX_STACK_LINE(223) - this->x = l; - HX_STACK_LINE(223) - return l; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetLeft,return ) - -Float Rectangle_obj::nmeGetLeft( ){ - HX_STACK_PUSH("Rectangle::nmeGetLeft","neash/geom/Rectangle.hx",222); - HX_STACK_THIS(this); - HX_STACK_LINE(222) - return this->x; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetLeft,return ) - -::neash::geom::Point Rectangle_obj::nmeSetBottomRight( ::neash::geom::Point p){ - HX_STACK_PUSH("Rectangle::nmeSetBottomRight","neash/geom/Rectangle.hx",221); - HX_STACK_THIS(this); - HX_STACK_ARG(p,"p"); - HX_STACK_LINE(221) - this->width = (p->x - this->x); - HX_STACK_LINE(221) - this->height = (p->y - this->y); - HX_STACK_LINE(221) - return p->clone(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetBottomRight,return ) - -::neash::geom::Point Rectangle_obj::nmeGetBottomRight( ){ - HX_STACK_PUSH("Rectangle::nmeGetBottomRight","neash/geom/Rectangle.hx",220); - HX_STACK_THIS(this); - HX_STACK_LINE(220) - return ::neash::geom::Point_obj::__new((this->x + this->width),(this->y + this->height)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetBottomRight,return ) - -Float Rectangle_obj::nmeSetBottom( Float b){ - HX_STACK_PUSH("Rectangle::nmeSetBottom","neash/geom/Rectangle.hx",219); - HX_STACK_THIS(this); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(219) - this->height = (b - this->y); - HX_STACK_LINE(219) - return b; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetBottom,return ) - -Float Rectangle_obj::nmeGetBottom( ){ - HX_STACK_PUSH("Rectangle::nmeGetBottom","neash/geom/Rectangle.hx",218); - HX_STACK_THIS(this); - HX_STACK_LINE(218) - return (this->y + this->height); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetBottom,return ) - -::neash::geom::Rectangle Rectangle_obj::_union( ::neash::geom::Rectangle toUnion){ - HX_STACK_PUSH("Rectangle::union","neash/geom/Rectangle.hx",204); - HX_STACK_THIS(this); - HX_STACK_ARG(toUnion,"toUnion"); - HX_STACK_LINE(205) - Float x0 = ( (((this->x > toUnion->x))) ? Float(toUnion->x) : Float(this->x) ); HX_STACK_VAR(x0,"x0"); - HX_STACK_LINE(206) - Float x1 = ( (((this->nmeGetRight() < toUnion->nmeGetRight()))) ? Float(toUnion->nmeGetRight()) : Float(this->nmeGetRight()) ); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(207) - Float y0 = ( (((this->y > toUnion->y))) ? Float(toUnion->y) : Float(this->y) ); HX_STACK_VAR(y0,"y0"); - HX_STACK_LINE(208) - Float y1 = ( (((this->nmeGetBottom() < toUnion->nmeGetBottom()))) ? Float(toUnion->nmeGetBottom()) : Float(this->nmeGetBottom()) ); HX_STACK_VAR(y1,"y1"); - HX_STACK_LINE(209) - return ::neash::geom::Rectangle_obj::__new(x0,y0,(x1 - x0),(y1 - y0)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,_union,return ) - -::neash::geom::Rectangle Rectangle_obj::transform( ::neash::geom::Matrix m){ - HX_STACK_PUSH("Rectangle::transform","neash/geom/Rectangle.hx",172); - HX_STACK_THIS(this); - HX_STACK_ARG(m,"m"); - HX_STACK_LINE(173) - Float tx0 = ((m->a * this->x) + (m->c * this->y)); HX_STACK_VAR(tx0,"tx0"); - HX_STACK_LINE(174) - Float tx1 = tx0; HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(175) - Float ty0 = ((m->b * this->x) + (m->d * this->y)); HX_STACK_VAR(ty0,"ty0"); - HX_STACK_LINE(176) - Float ty1 = tx0; HX_STACK_VAR(ty1,"ty1"); - HX_STACK_LINE(178) - Float tx = ((m->a * ((this->x + this->width))) + (m->c * this->y)); HX_STACK_VAR(tx,"tx"); - HX_STACK_LINE(179) - Float ty = ((m->b * ((this->x + this->width))) + (m->d * this->y)); HX_STACK_VAR(ty,"ty"); - HX_STACK_LINE(180) - if (((tx < tx0))){ - HX_STACK_LINE(180) - tx0 = tx; - } - HX_STACK_LINE(181) - if (((ty < ty0))){ - HX_STACK_LINE(181) - ty0 = ty; - } - HX_STACK_LINE(182) - if (((tx > tx1))){ - HX_STACK_LINE(182) - tx1 = tx; - } - HX_STACK_LINE(183) - if (((ty > ty1))){ - HX_STACK_LINE(183) - ty1 = ty; - } - HX_STACK_LINE(185) - tx = ((m->a * ((this->x + this->width))) + (m->c * ((this->y + this->height)))); - HX_STACK_LINE(186) - ty = ((m->b * ((this->x + this->width))) + (m->d * ((this->y + this->height)))); - HX_STACK_LINE(187) - if (((tx < tx0))){ - HX_STACK_LINE(187) - tx0 = tx; - } - HX_STACK_LINE(188) - if (((ty < ty0))){ - HX_STACK_LINE(188) - ty0 = ty; - } - HX_STACK_LINE(189) - if (((tx > tx1))){ - HX_STACK_LINE(189) - tx1 = tx; - } - HX_STACK_LINE(190) - if (((ty > ty1))){ - HX_STACK_LINE(190) - ty1 = ty; - } - HX_STACK_LINE(192) - tx = ((m->a * this->x) + (m->c * ((this->y + this->height)))); - HX_STACK_LINE(193) - ty = ((m->b * this->x) + (m->d * ((this->y + this->height)))); - HX_STACK_LINE(194) - if (((tx < tx0))){ - HX_STACK_LINE(194) - tx0 = tx; - } - HX_STACK_LINE(195) - if (((ty < ty0))){ - HX_STACK_LINE(195) - ty0 = ty; - } - HX_STACK_LINE(196) - if (((tx > tx1))){ - HX_STACK_LINE(196) - tx1 = tx; - } - HX_STACK_LINE(197) - if (((ty > ty1))){ - HX_STACK_LINE(197) - ty1 = ty; - } - HX_STACK_LINE(199) - return ::neash::geom::Rectangle_obj::__new((tx0 + m->tx),(ty0 + m->ty),(tx1 - tx0),(ty1 - ty0)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,transform,return ) - -Void Rectangle_obj::setEmpty( ){ -{ - HX_STACK_PUSH("Rectangle::setEmpty","neash/geom/Rectangle.hx",166); - HX_STACK_THIS(this); - HX_STACK_LINE(166) - this->x = this->y = this->width = this->height = (int)0; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,setEmpty,(void)) - -Void Rectangle_obj::offsetPoint( ::neash::geom::Point point){ -{ - HX_STACK_PUSH("Rectangle::offsetPoint","neash/geom/Rectangle.hx",159); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(160) - hx::AddEq(this->x,point->x); - HX_STACK_LINE(161) - hx::AddEq(this->y,point->y); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,offsetPoint,(void)) - -Void Rectangle_obj::offset( Float dx,Float dy){ -{ - HX_STACK_PUSH("Rectangle::offset","neash/geom/Rectangle.hx",152); - HX_STACK_THIS(this); - HX_STACK_ARG(dx,"dx"); - HX_STACK_ARG(dy,"dy"); - HX_STACK_LINE(153) - hx::AddEq(this->x,dx); - HX_STACK_LINE(154) - hx::AddEq(this->y,dy); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Rectangle_obj,offset,(void)) - -bool Rectangle_obj::isEmpty( ){ - HX_STACK_PUSH("Rectangle::isEmpty","neash/geom/Rectangle.hx",146); - HX_STACK_THIS(this); - HX_STACK_LINE(146) - return (bool((this->width == (int)0)) && bool((this->height == (int)0))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,isEmpty,return ) - -bool Rectangle_obj::intersects( ::neash::geom::Rectangle toIntersect){ - HX_STACK_PUSH("Rectangle::intersects","neash/geom/Rectangle.hx",133); - HX_STACK_THIS(this); - HX_STACK_ARG(toIntersect,"toIntersect"); - HX_STACK_LINE(134) - Float x0 = ( (((this->x < toIntersect->x))) ? Float(toIntersect->x) : Float(this->x) ); HX_STACK_VAR(x0,"x0"); - HX_STACK_LINE(135) - Float x1 = ( (((this->nmeGetRight() > toIntersect->nmeGetRight()))) ? Float(toIntersect->nmeGetRight()) : Float(this->nmeGetRight()) ); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(136) - if (((x1 <= x0))){ - HX_STACK_LINE(137) - return false; - } - HX_STACK_LINE(139) - Float y0 = ( (((this->y < toIntersect->y))) ? Float(toIntersect->y) : Float(this->y) ); HX_STACK_VAR(y0,"y0"); - HX_STACK_LINE(140) - Float y1 = ( (((this->nmeGetBottom() > toIntersect->nmeGetBottom()))) ? Float(toIntersect->nmeGetBottom()) : Float(this->nmeGetBottom()) ); HX_STACK_VAR(y1,"y1"); - HX_STACK_LINE(141) - return (y1 > y0); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,intersects,return ) - -::neash::geom::Rectangle Rectangle_obj::intersection( ::neash::geom::Rectangle toIntersect){ - HX_STACK_PUSH("Rectangle::intersection","neash/geom/Rectangle.hx",117); - HX_STACK_THIS(this); - HX_STACK_ARG(toIntersect,"toIntersect"); - HX_STACK_LINE(118) - Float x0 = ( (((this->x < toIntersect->x))) ? Float(toIntersect->x) : Float(this->x) ); HX_STACK_VAR(x0,"x0"); - HX_STACK_LINE(119) - Float x1 = ( (((this->nmeGetRight() > toIntersect->nmeGetRight()))) ? Float(toIntersect->nmeGetRight()) : Float(this->nmeGetRight()) ); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(120) - if (((x1 <= x0))){ - HX_STACK_LINE(121) - return ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); - } - HX_STACK_LINE(123) - Float y0 = ( (((this->y < toIntersect->y))) ? Float(toIntersect->y) : Float(this->y) ); HX_STACK_VAR(y0,"y0"); - HX_STACK_LINE(124) - Float y1 = ( (((this->nmeGetBottom() > toIntersect->nmeGetBottom()))) ? Float(toIntersect->nmeGetBottom()) : Float(this->nmeGetBottom()) ); HX_STACK_VAR(y1,"y1"); - HX_STACK_LINE(125) - if (((y1 <= y0))){ - HX_STACK_LINE(126) - return ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); - } - HX_STACK_LINE(128) - return ::neash::geom::Rectangle_obj::__new(x0,y0,(x1 - x0),(y1 - y0)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,intersection,return ) - -Void Rectangle_obj::inflatePoint( ::neash::geom::Point point){ -{ - HX_STACK_PUSH("Rectangle::inflatePoint","neash/geom/Rectangle.hx",111); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(111) - this->inflate(point->x,point->y); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,inflatePoint,(void)) - -Void Rectangle_obj::inflate( Float dx,Float dy){ -{ - HX_STACK_PUSH("Rectangle::inflate","neash/geom/Rectangle.hx",104); - HX_STACK_THIS(this); - HX_STACK_ARG(dx,"dx"); - HX_STACK_ARG(dy,"dy"); - HX_STACK_LINE(105) - hx::SubEq(this->x,dx); - HX_STACK_LINE(105) - hx::AddEq(this->width,(dx * (int)2)); - HX_STACK_LINE(106) - hx::SubEq(this->y,dy); - HX_STACK_LINE(106) - hx::AddEq(this->height,(dy * (int)2)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Rectangle_obj,inflate,(void)) - -Void Rectangle_obj::extendBounds( ::neash::geom::Rectangle r){ -{ - HX_STACK_PUSH("Rectangle::extendBounds","neash/geom/Rectangle.hx",83); - HX_STACK_THIS(this); - HX_STACK_ARG(r,"r"); - HX_STACK_LINE(84) - Float dx = (this->x - r->x); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(85) - if (((dx > (int)0))){ - HX_STACK_LINE(87) - hx::SubEq(this->x,dx); - HX_STACK_LINE(88) - hx::AddEq(this->width,dx); - } - HX_STACK_LINE(90) - Float dy = (this->y - r->y); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(91) - if (((dy > (int)0))){ - HX_STACK_LINE(93) - hx::SubEq(this->y,dy); - HX_STACK_LINE(94) - hx::AddEq(this->height,dy); - } - HX_STACK_LINE(96) - if (((r->nmeGetRight() > this->nmeGetRight()))){ - HX_STACK_LINE(97) - this->nmeSetRight(r->nmeGetRight()); - } - HX_STACK_LINE(98) - if (((r->nmeGetBottom() > this->nmeGetBottom()))){ - HX_STACK_LINE(99) - this->nmeSetBottom(r->nmeGetBottom()); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,extendBounds,(void)) - -bool Rectangle_obj::equals( ::neash::geom::Rectangle toCompare){ - HX_STACK_PUSH("Rectangle::equals","neash/geom/Rectangle.hx",77); - HX_STACK_THIS(this); - HX_STACK_ARG(toCompare,"toCompare"); - HX_STACK_LINE(77) - return (bool((bool((bool((this->x == toCompare->x)) && bool((this->y == toCompare->y)))) && bool((this->width == toCompare->width)))) && bool((this->height == toCompare->height))); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,equals,return ) - -bool Rectangle_obj::containsRect( ::neash::geom::Rectangle rect){ - HX_STACK_PUSH("Rectangle::containsRect","neash/geom/Rectangle.hx",71); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_LINE(71) - return (bool(this->contains(rect->x,rect->y)) && bool(this->containsPoint(rect->nmeGetBottomRight()))); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,containsRect,return ) - -bool Rectangle_obj::containsPoint( ::neash::geom::Point point){ - HX_STACK_PUSH("Rectangle::containsPoint","neash/geom/Rectangle.hx",65); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(65) - return this->contains(point->x,point->y); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,containsPoint,return ) - -bool Rectangle_obj::contains( Float inX,Float inY){ - HX_STACK_PUSH("Rectangle::contains","neash/geom/Rectangle.hx",59); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(59) - return (bool((bool((bool((inX >= this->x)) && bool((inY >= this->y)))) && bool((inX < this->nmeGetRight())))) && bool((inY < this->nmeGetBottom()))); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Rectangle_obj,contains,return ) - -::neash::geom::Rectangle Rectangle_obj::clone( ){ - HX_STACK_PUSH("Rectangle::clone","neash/geom/Rectangle.hx",53); - HX_STACK_THIS(this); - HX_STACK_LINE(53) - return ::neash::geom::Rectangle_obj::__new(this->x,this->y,this->width,this->height); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,clone,return ) - - -Rectangle_obj::Rectangle_obj() -{ -} - -void Rectangle_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Rectangle); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(width,"width"); - HX_MARK_MEMBER_NAME(topLeft,"topLeft"); - HX_MARK_MEMBER_NAME(top,"top"); - HX_MARK_MEMBER_NAME(size,"size"); - HX_MARK_MEMBER_NAME(right,"right"); - HX_MARK_MEMBER_NAME(left,"left"); - HX_MARK_MEMBER_NAME(height,"height"); - HX_MARK_MEMBER_NAME(bottomRight,"bottomRight"); - HX_MARK_MEMBER_NAME(bottom,"bottom"); - HX_MARK_END_CLASS(); -} - -void Rectangle_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(width,"width"); - HX_VISIT_MEMBER_NAME(topLeft,"topLeft"); - HX_VISIT_MEMBER_NAME(top,"top"); - HX_VISIT_MEMBER_NAME(size,"size"); - HX_VISIT_MEMBER_NAME(right,"right"); - HX_VISIT_MEMBER_NAME(left,"left"); - HX_VISIT_MEMBER_NAME(height,"height"); - HX_VISIT_MEMBER_NAME(bottomRight,"bottomRight"); - HX_VISIT_MEMBER_NAME(bottom,"bottom"); -} - -Dynamic Rectangle_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 3: - if (HX_FIELD_EQ(inName,"top") ) { return inCallProp ? nmeGetTop() : top; } - break; - case 4: - if (HX_FIELD_EQ(inName,"size") ) { return inCallProp ? nmeGetTopLeft() : size; } - if (HX_FIELD_EQ(inName,"left") ) { return inCallProp ? nmeGetLeft() : left; } - break; - case 5: - if (HX_FIELD_EQ(inName,"union") ) { return _union_dyn(); } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - if (HX_FIELD_EQ(inName,"width") ) { return width; } - if (HX_FIELD_EQ(inName,"right") ) { return inCallProp ? nmeGetRight() : right; } - break; - case 6: - if (HX_FIELD_EQ(inName,"offset") ) { return offset_dyn(); } - if (HX_FIELD_EQ(inName,"equals") ) { return equals_dyn(); } - if (HX_FIELD_EQ(inName,"height") ) { return height; } - if (HX_FIELD_EQ(inName,"bottom") ) { return inCallProp ? nmeGetBottom() : bottom; } - break; - case 7: - if (HX_FIELD_EQ(inName,"isEmpty") ) { return isEmpty_dyn(); } - if (HX_FIELD_EQ(inName,"inflate") ) { return inflate_dyn(); } - if (HX_FIELD_EQ(inName,"topLeft") ) { return inCallProp ? nmeGetTopLeft() : topLeft; } - break; - case 8: - if (HX_FIELD_EQ(inName,"setEmpty") ) { return setEmpty_dyn(); } - if (HX_FIELD_EQ(inName,"contains") ) { return contains_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeSetTop") ) { return nmeSetTop_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTop") ) { return nmeGetTop_dyn(); } - if (HX_FIELD_EQ(inName,"transform") ) { return transform_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeSetSize") ) { return nmeSetSize_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetSize") ) { return nmeGetSize_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetLeft") ) { return nmeSetLeft_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetLeft") ) { return nmeGetLeft_dyn(); } - if (HX_FIELD_EQ(inName,"intersects") ) { return intersects_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeSetRight") ) { return nmeSetRight_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetRight") ) { return nmeGetRight_dyn(); } - if (HX_FIELD_EQ(inName,"offsetPoint") ) { return offsetPoint_dyn(); } - if (HX_FIELD_EQ(inName,"bottomRight") ) { return inCallProp ? nmeGetBottomRight() : bottomRight; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeSetBottom") ) { return nmeSetBottom_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetBottom") ) { return nmeGetBottom_dyn(); } - if (HX_FIELD_EQ(inName,"intersection") ) { return intersection_dyn(); } - if (HX_FIELD_EQ(inName,"inflatePoint") ) { return inflatePoint_dyn(); } - if (HX_FIELD_EQ(inName,"extendBounds") ) { return extendBounds_dyn(); } - if (HX_FIELD_EQ(inName,"containsRect") ) { return containsRect_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"nmeSetTopLeft") ) { return nmeSetTopLeft_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTopLeft") ) { return nmeGetTopLeft_dyn(); } - if (HX_FIELD_EQ(inName,"containsPoint") ) { return containsPoint_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeSetBottomRight") ) { return nmeSetBottomRight_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetBottomRight") ) { return nmeGetBottomRight_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Rectangle_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"top") ) { if (inCallProp) return nmeSetTop(inValue);top=inValue.Cast< Float >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"size") ) { if (inCallProp) return nmeSetTopLeft(inValue);size=inValue.Cast< ::neash::geom::Point >(); return inValue; } - if (HX_FIELD_EQ(inName,"left") ) { if (inCallProp) return nmeSetLeft(inValue);left=inValue.Cast< Float >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"width") ) { width=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"right") ) { if (inCallProp) return nmeSetRight(inValue);right=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"height") ) { height=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"bottom") ) { if (inCallProp) return nmeSetBottom(inValue);bottom=inValue.Cast< Float >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"topLeft") ) { if (inCallProp) return nmeSetTopLeft(inValue);topLeft=inValue.Cast< ::neash::geom::Point >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"bottomRight") ) { if (inCallProp) return nmeSetBottomRight(inValue);bottomRight=inValue.Cast< ::neash::geom::Point >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Rectangle_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("width")); - outFields->push(HX_CSTRING("topLeft")); - outFields->push(HX_CSTRING("top")); - outFields->push(HX_CSTRING("size")); - outFields->push(HX_CSTRING("right")); - outFields->push(HX_CSTRING("left")); - outFields->push(HX_CSTRING("height")); - outFields->push(HX_CSTRING("bottomRight")); - outFields->push(HX_CSTRING("bottom")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetTopLeft"), - HX_CSTRING("nmeGetTopLeft"), - HX_CSTRING("nmeSetTop"), - HX_CSTRING("nmeGetTop"), - HX_CSTRING("nmeSetSize"), - HX_CSTRING("nmeGetSize"), - HX_CSTRING("nmeSetRight"), - HX_CSTRING("nmeGetRight"), - HX_CSTRING("nmeSetLeft"), - HX_CSTRING("nmeGetLeft"), - HX_CSTRING("nmeSetBottomRight"), - HX_CSTRING("nmeGetBottomRight"), - HX_CSTRING("nmeSetBottom"), - HX_CSTRING("nmeGetBottom"), - HX_CSTRING("union"), - HX_CSTRING("transform"), - HX_CSTRING("setEmpty"), - HX_CSTRING("offsetPoint"), - HX_CSTRING("offset"), - HX_CSTRING("isEmpty"), - HX_CSTRING("intersects"), - HX_CSTRING("intersection"), - HX_CSTRING("inflatePoint"), - HX_CSTRING("inflate"), - HX_CSTRING("extendBounds"), - HX_CSTRING("equals"), - HX_CSTRING("containsRect"), - HX_CSTRING("containsPoint"), - HX_CSTRING("contains"), - HX_CSTRING("clone"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("width"), - HX_CSTRING("topLeft"), - HX_CSTRING("top"), - HX_CSTRING("size"), - HX_CSTRING("right"), - HX_CSTRING("left"), - HX_CSTRING("height"), - HX_CSTRING("bottomRight"), - HX_CSTRING("bottom"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Rectangle_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Rectangle_obj::__mClass,"__mClass"); -}; - -Class Rectangle_obj::__mClass; - -void Rectangle_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.geom.Rectangle"), hx::TCanCast< Rectangle_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Rectangle_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/geom/Transform.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/geom/Transform.cpp deleted file mode 100644 index 9863a2f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/geom/Transform.cpp +++ /dev/null @@ -1,270 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -#ifndef INCLUDED_neash_geom_Transform -#include -#endif -namespace neash{ -namespace geom{ - -Void Transform_obj::__construct(::neash::display::DisplayObject inParent) -{ -HX_STACK_PUSH("Transform::new","neash/geom/Transform.hx",20); -{ - HX_STACK_LINE(20) - this->nmeObj = inParent; -} -; - return null(); -} - -Transform_obj::~Transform_obj() { } - -Dynamic Transform_obj::__CreateEmpty() { return new Transform_obj; } -hx::ObjectPtr< Transform_obj > Transform_obj::__new(::neash::display::DisplayObject inParent) -{ hx::ObjectPtr< Transform_obj > result = new Transform_obj(); - result->__construct(inParent); - return result;} - -Dynamic Transform_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Transform_obj > result = new Transform_obj(); - result->__construct(inArgs[0]); - return result;} - -::neash::geom::Rectangle Transform_obj::nmeGetPixelBounds( ){ - HX_STACK_PUSH("Transform::nmeGetPixelBounds","neash/geom/Transform.hx",36); - HX_STACK_THIS(this); - HX_STACK_LINE(36) - return this->nmeObj->nmeGetPixelBounds(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,nmeGetPixelBounds,return ) - -::neash::geom::Matrix Transform_obj::nmeSetMatrix( ::neash::geom::Matrix inMatrix){ - HX_STACK_PUSH("Transform::nmeSetMatrix","neash/geom/Transform.hx",35); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_LINE(35) - this->nmeObj->nmeSetMatrix(inMatrix); - HX_STACK_LINE(35) - return inMatrix; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Transform_obj,nmeSetMatrix,return ) - -::neash::geom::Matrix Transform_obj::nmeGetMatrix( ){ - HX_STACK_PUSH("Transform::nmeGetMatrix","neash/geom/Transform.hx",34); - HX_STACK_THIS(this); - HX_STACK_LINE(34) - return this->nmeObj->nmeGetMatrix(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,nmeGetMatrix,return ) - -::neash::geom::Matrix Transform_obj::nmeGetConcatenatedMatrix( ){ - HX_STACK_PUSH("Transform::nmeGetConcatenatedMatrix","neash/geom/Transform.hx",33); - HX_STACK_THIS(this); - HX_STACK_LINE(33) - return this->nmeObj->nmeGetConcatenatedMatrix(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,nmeGetConcatenatedMatrix,return ) - -::neash::geom::ColorTransform Transform_obj::nmeGetConcatenatedColorTransform( ){ - HX_STACK_PUSH("Transform::nmeGetConcatenatedColorTransform","neash/geom/Transform.hx",32); - HX_STACK_THIS(this); - HX_STACK_LINE(32) - return this->nmeObj->nmeGetConcatenatedColorTransform(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,nmeGetConcatenatedColorTransform,return ) - -::neash::geom::ColorTransform Transform_obj::nmeSetColorTransform( ::neash::geom::ColorTransform inTrans){ - HX_STACK_PUSH("Transform::nmeSetColorTransform","neash/geom/Transform.hx",31); - HX_STACK_THIS(this); - HX_STACK_ARG(inTrans,"inTrans"); - HX_STACK_LINE(31) - this->nmeObj->nmeSetColorTransform(inTrans); - HX_STACK_LINE(31) - return inTrans; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Transform_obj,nmeSetColorTransform,return ) - -::neash::geom::ColorTransform Transform_obj::nmeGetColorTransform( ){ - HX_STACK_PUSH("Transform::nmeGetColorTransform","neash/geom/Transform.hx",30); - HX_STACK_THIS(this); - HX_STACK_LINE(30) - return this->nmeObj->nmeGetColorTransform(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,nmeGetColorTransform,return ) - - -Transform_obj::Transform_obj() -{ -} - -void Transform_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Transform); - HX_MARK_MEMBER_NAME(nmeObj,"nmeObj"); - HX_MARK_MEMBER_NAME(pixelBounds,"pixelBounds"); - HX_MARK_MEMBER_NAME(matrix,"matrix"); - HX_MARK_MEMBER_NAME(concatenatedMatrix,"concatenatedMatrix"); - HX_MARK_MEMBER_NAME(concatenatedColorTransform,"concatenatedColorTransform"); - HX_MARK_MEMBER_NAME(colorTransform,"colorTransform"); - HX_MARK_END_CLASS(); -} - -void Transform_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeObj,"nmeObj"); - HX_VISIT_MEMBER_NAME(pixelBounds,"pixelBounds"); - HX_VISIT_MEMBER_NAME(matrix,"matrix"); - HX_VISIT_MEMBER_NAME(concatenatedMatrix,"concatenatedMatrix"); - HX_VISIT_MEMBER_NAME(concatenatedColorTransform,"concatenatedColorTransform"); - HX_VISIT_MEMBER_NAME(colorTransform,"colorTransform"); -} - -Dynamic Transform_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"nmeObj") ) { return nmeObj; } - if (HX_FIELD_EQ(inName,"matrix") ) { return inCallProp ? nmeGetMatrix() : matrix; } - break; - case 11: - if (HX_FIELD_EQ(inName,"pixelBounds") ) { return inCallProp ? nmeGetPixelBounds() : pixelBounds; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeSetMatrix") ) { return nmeSetMatrix_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMatrix") ) { return nmeGetMatrix_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"colorTransform") ) { return inCallProp ? nmeGetColorTransform() : colorTransform; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeGetPixelBounds") ) { return nmeGetPixelBounds_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"concatenatedMatrix") ) { return inCallProp ? nmeGetConcatenatedMatrix() : concatenatedMatrix; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeSetColorTransform") ) { return nmeSetColorTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetColorTransform") ) { return nmeGetColorTransform_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"nmeGetConcatenatedMatrix") ) { return nmeGetConcatenatedMatrix_dyn(); } - break; - case 26: - if (HX_FIELD_EQ(inName,"concatenatedColorTransform") ) { return inCallProp ? nmeGetConcatenatedColorTransform() : concatenatedColorTransform; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nmeGetConcatenatedColorTransform") ) { return nmeGetConcatenatedColorTransform_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Transform_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"nmeObj") ) { nmeObj=inValue.Cast< ::neash::display::DisplayObject >(); return inValue; } - if (HX_FIELD_EQ(inName,"matrix") ) { if (inCallProp) return nmeSetMatrix(inValue);matrix=inValue.Cast< ::neash::geom::Matrix >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"pixelBounds") ) { pixelBounds=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"colorTransform") ) { if (inCallProp) return nmeSetColorTransform(inValue);colorTransform=inValue.Cast< ::neash::geom::ColorTransform >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"concatenatedMatrix") ) { concatenatedMatrix=inValue.Cast< ::neash::geom::Matrix >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"concatenatedColorTransform") ) { concatenatedColorTransform=inValue.Cast< ::neash::geom::ColorTransform >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Transform_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeObj")); - outFields->push(HX_CSTRING("pixelBounds")); - outFields->push(HX_CSTRING("matrix")); - outFields->push(HX_CSTRING("concatenatedMatrix")); - outFields->push(HX_CSTRING("concatenatedColorTransform")); - outFields->push(HX_CSTRING("colorTransform")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetPixelBounds"), - HX_CSTRING("nmeSetMatrix"), - HX_CSTRING("nmeGetMatrix"), - HX_CSTRING("nmeGetConcatenatedMatrix"), - HX_CSTRING("nmeGetConcatenatedColorTransform"), - HX_CSTRING("nmeSetColorTransform"), - HX_CSTRING("nmeGetColorTransform"), - HX_CSTRING("nmeObj"), - HX_CSTRING("pixelBounds"), - HX_CSTRING("matrix"), - HX_CSTRING("concatenatedMatrix"), - HX_CSTRING("concatenatedColorTransform"), - HX_CSTRING("colorTransform"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Transform_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Transform_obj::__mClass,"__mClass"); -}; - -Class Transform_obj::__mClass; - -void Transform_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.geom.Transform"), hx::TCanCast< Transform_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Transform_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/media/ID3Info.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/media/ID3Info.cpp deleted file mode 100644 index eebc6ac..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/media/ID3Info.cpp +++ /dev/null @@ -1,153 +0,0 @@ -#include - -#ifndef INCLUDED_neash_media_ID3Info -#include -#endif -namespace neash{ -namespace media{ - -Void ID3Info_obj::__construct() -{ -HX_STACK_PUSH("ID3Info::new","neash/media/ID3Info.hx",16); -{ -} -; - return null(); -} - -ID3Info_obj::~ID3Info_obj() { } - -Dynamic ID3Info_obj::__CreateEmpty() { return new ID3Info_obj; } -hx::ObjectPtr< ID3Info_obj > ID3Info_obj::__new() -{ hx::ObjectPtr< ID3Info_obj > result = new ID3Info_obj(); - result->__construct(); - return result;} - -Dynamic ID3Info_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ID3Info_obj > result = new ID3Info_obj(); - result->__construct(); - return result;} - - -ID3Info_obj::ID3Info_obj() -{ -} - -void ID3Info_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ID3Info); - HX_MARK_MEMBER_NAME(year,"year"); - HX_MARK_MEMBER_NAME(track,"track"); - HX_MARK_MEMBER_NAME(songName,"songName"); - HX_MARK_MEMBER_NAME(genre,"genre"); - HX_MARK_MEMBER_NAME(comment,"comment"); - HX_MARK_MEMBER_NAME(artist,"artist"); - HX_MARK_MEMBER_NAME(album,"album"); - HX_MARK_END_CLASS(); -} - -void ID3Info_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(year,"year"); - HX_VISIT_MEMBER_NAME(track,"track"); - HX_VISIT_MEMBER_NAME(songName,"songName"); - HX_VISIT_MEMBER_NAME(genre,"genre"); - HX_VISIT_MEMBER_NAME(comment,"comment"); - HX_VISIT_MEMBER_NAME(artist,"artist"); - HX_VISIT_MEMBER_NAME(album,"album"); -} - -Dynamic ID3Info_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"year") ) { return year; } - break; - case 5: - if (HX_FIELD_EQ(inName,"track") ) { return track; } - if (HX_FIELD_EQ(inName,"genre") ) { return genre; } - if (HX_FIELD_EQ(inName,"album") ) { return album; } - break; - case 6: - if (HX_FIELD_EQ(inName,"artist") ) { return artist; } - break; - case 7: - if (HX_FIELD_EQ(inName,"comment") ) { return comment; } - break; - case 8: - if (HX_FIELD_EQ(inName,"songName") ) { return songName; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ID3Info_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"year") ) { year=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"track") ) { track=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"genre") ) { genre=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"album") ) { album=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"artist") ) { artist=inValue.Cast< ::String >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"comment") ) { comment=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"songName") ) { songName=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ID3Info_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("year")); - outFields->push(HX_CSTRING("track")); - outFields->push(HX_CSTRING("songName")); - outFields->push(HX_CSTRING("genre")); - outFields->push(HX_CSTRING("comment")); - outFields->push(HX_CSTRING("artist")); - outFields->push(HX_CSTRING("album")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("year"), - HX_CSTRING("track"), - HX_CSTRING("songName"), - HX_CSTRING("genre"), - HX_CSTRING("comment"), - HX_CSTRING("artist"), - HX_CSTRING("album"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ID3Info_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ID3Info_obj::__mClass,"__mClass"); -}; - -Class ID3Info_obj::__mClass; - -void ID3Info_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.media.ID3Info"), hx::TCanCast< ID3Info_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ID3Info_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/media/Sound.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/media/Sound.cpp deleted file mode 100644 index 4f7b806..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/media/Sound.cpp +++ /dev/null @@ -1,718 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_errors_Error -#include -#endif -#ifndef INCLUDED_neash_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IOErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_SampleDataEvent -#include -#endif -#ifndef INCLUDED_neash_events_TextEvent -#include -#endif -#ifndef INCLUDED_neash_media_ID3Info -#include -#endif -#ifndef INCLUDED_neash_media_Sound -#include -#endif -#ifndef INCLUDED_neash_media_SoundChannel -#include -#endif -#ifndef INCLUDED_neash_media_SoundLoaderContext -#include -#endif -#ifndef INCLUDED_neash_media_SoundTransform -#include -#endif -#ifndef INCLUDED_neash_net_URLRequest -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace media{ - -Void Sound_obj::__construct(::neash::net::URLRequest stream,::neash::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic) -{ -HX_STACK_PUSH("Sound::new","neash/media/Sound.hx",31); -bool forcePlayAsMusic = __o_forcePlayAsMusic.Default(false); -{ - HX_STACK_LINE(32) - super::__construct(null()); - HX_STACK_LINE(33) - this->bytesLoaded = this->bytesTotal = (int)0; - HX_STACK_LINE(34) - this->nmeLoading = false; - HX_STACK_LINE(35) - this->nmeDynamicSound = false; - HX_STACK_LINE(36) - if (((stream != null()))){ - HX_STACK_LINE(37) - this->load(stream,context,forcePlayAsMusic); - } -} -; - return null(); -} - -Sound_obj::~Sound_obj() { } - -Dynamic Sound_obj::__CreateEmpty() { return new Sound_obj; } -hx::ObjectPtr< Sound_obj > Sound_obj::__new(::neash::net::URLRequest stream,::neash::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic) -{ hx::ObjectPtr< Sound_obj > result = new Sound_obj(); - result->__construct(stream,context,__o_forcePlayAsMusic); - return result;} - -Dynamic Sound_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Sound_obj > result = new Sound_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -Float Sound_obj::nmeGetLength( ){ - HX_STACK_PUSH("Sound::nmeGetLength","neash/media/Sound.hx",207); - HX_STACK_THIS(this); - HX_STACK_LINE(208) - if (((bool((this->nmeHandle == null())) || bool(this->nmeLoading)))){ - HX_STACK_LINE(209) - return (int)0; - } - HX_STACK_LINE(210) - return ::neash::media::Sound_obj::nme_sound_get_length(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,nmeGetLength,return ) - -bool Sound_obj::nmeGetIsBuffering( ){ - HX_STACK_PUSH("Sound::nmeGetIsBuffering","neash/media/Sound.hx",200); - HX_STACK_THIS(this); - HX_STACK_LINE(201) - this->nmeCheckLoading(); - HX_STACK_LINE(202) - return (bool(this->nmeLoading) && bool((this->nmeHandle == null()))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,nmeGetIsBuffering,return ) - -::neash::media::ID3Info Sound_obj::nmeGetID3( ){ - HX_STACK_PUSH("Sound::nmeGetID3","neash/media/Sound.hx",189); - HX_STACK_THIS(this); - HX_STACK_LINE(190) - this->nmeCheckLoading(); - HX_STACK_LINE(191) - if (((bool((this->nmeHandle == null())) || bool(this->nmeLoading)))){ - HX_STACK_LINE(192) - return null(); - } - HX_STACK_LINE(193) - ::neash::media::ID3Info id3 = ::neash::media::ID3Info_obj::__new(); HX_STACK_VAR(id3,"id3"); - HX_STACK_LINE(194) - ::neash::media::Sound_obj::nme_sound_get_id3(this->nmeHandle,id3); - HX_STACK_LINE(195) - return id3; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,nmeGetID3,return ) - -::neash::media::SoundChannel Sound_obj::play( hx::Null< Float > __o_startTime,hx::Null< int > __o_loops,::neash::media::SoundTransform sndTransform){ -Float startTime = __o_startTime.Default(0); -int loops = __o_loops.Default(0); - HX_STACK_PUSH("Sound::play","neash/media/Sound.hx",158); - HX_STACK_THIS(this); - HX_STACK_ARG(startTime,"startTime"); - HX_STACK_ARG(loops,"loops"); - HX_STACK_ARG(sndTransform,"sndTransform"); -{ - HX_STACK_LINE(159) - this->nmeCheckLoading(); - HX_STACK_LINE(160) - if ((this->nmeDynamicSound)){ - HX_STACK_LINE(162) - ::neash::events::SampleDataEvent request = ::neash::events::SampleDataEvent_obj::__new(::neash::events::SampleDataEvent_obj::SAMPLE_DATA,null(),null()); HX_STACK_VAR(request,"request"); - HX_STACK_LINE(163) - this->dispatchEvent(request); - HX_STACK_LINE(164) - if (((request->data->length > (int)0))){ - HX_STACK_LINE(165) - this->nmeHandle = ::neash::media::Sound_obj::nme_sound_channel_create_dynamic(request->data,sndTransform); - } - HX_STACK_LINE(168) - if (((this->nmeHandle == null()))){ - HX_STACK_LINE(169) - return null(); - } - HX_STACK_LINE(170) - ::neash::media::SoundChannel result = ::neash::media::SoundChannel_obj::createDynamic(this->nmeHandle,sndTransform,hx::ObjectPtr(this)); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(171) - this->nmeHandle = null(); - HX_STACK_LINE(172) - return result; - } - else{ - HX_STACK_LINE(176) - if (((bool((this->nmeHandle == null())) || bool(this->nmeLoading)))){ - HX_STACK_LINE(177) - return null(); - } - HX_STACK_LINE(178) - return ::neash::media::SoundChannel_obj::__new(this->nmeHandle,startTime,loops,sndTransform); - } - HX_STACK_LINE(160) - return null(); - } -} - - -HX_DEFINE_DYNAMIC_FUNC3(Sound_obj,play,return ) - -Void Sound_obj::nmeOnError( ::String msg){ -{ - HX_STACK_PUSH("Sound::nmeOnError","neash/media/Sound.hx",150); - HX_STACK_THIS(this); - HX_STACK_ARG(msg,"msg"); - HX_STACK_LINE(151) - this->dispatchEvent(::neash::events::IOErrorEvent_obj::__new(::neash::events::IOErrorEvent_obj::IO_ERROR,true,false,msg,null())); - HX_STACK_LINE(152) - this->nmeHandle = null(); - HX_STACK_LINE(153) - this->nmeLoading = true; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Sound_obj,nmeOnError,(void)) - -Void Sound_obj::nmeCheckLoading( ){ -{ - HX_STACK_PUSH("Sound::nmeCheckLoading","neash/media/Sound.hx",131); - HX_STACK_THIS(this); - HX_STACK_LINE(131) - if (((bool((bool(!(this->nmeDynamicSound)) && bool(this->nmeLoading))) && bool((this->nmeHandle != null()))))){ - HX_STACK_LINE(134) - Dynamic status = ::neash::media::Sound_obj::nme_sound_get_status(this->nmeHandle); HX_STACK_VAR(status,"status"); - HX_STACK_LINE(135) - if (((status == null()))){ - HX_STACK_LINE(136) - hx::Throw (HX_CSTRING("Could not get sound status")); - } - HX_STACK_LINE(137) - this->bytesLoaded = status->__Field(HX_CSTRING("bytesLoaded"),true); - HX_STACK_LINE(138) - this->bytesTotal = status->__Field(HX_CSTRING("bytesTotal"),true); - HX_STACK_LINE(140) - this->nmeLoading = (this->bytesLoaded < this->bytesTotal); - HX_STACK_LINE(141) - if (((status->__Field(HX_CSTRING("error"),true) != null()))){ - HX_STACK_LINE(142) - hx::Throw (status->__Field(HX_CSTRING("error"),true)); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,nmeCheckLoading,(void)) - -Void Sound_obj::loadPCMFromByteArray( ::neash::utils::ByteArray Bytes,int samples,::String __o_format,hx::Null< bool > __o_stereo,hx::Null< Float > __o_sampleRate){ -::String format = __o_format.Default(HX_CSTRING("float")); -bool stereo = __o_stereo.Default(true); -Float sampleRate = __o_sampleRate.Default(44100.0); - HX_STACK_PUSH("Sound::loadPCMFromByteArray","neash/media/Sound.hx",89); - HX_STACK_THIS(this); - HX_STACK_ARG(Bytes,"Bytes"); - HX_STACK_ARG(samples,"samples"); - HX_STACK_ARG(format,"format"); - HX_STACK_ARG(stereo,"stereo"); - HX_STACK_ARG(sampleRate,"sampleRate"); -{ - HX_STACK_LINE(92) - ::neash::utils::ByteArray wav = ::neash::utils::ByteArray_obj::__new(null()); HX_STACK_VAR(wav,"wav"); - HX_STACK_LINE(93) - wav->nmeSetEndian(HX_CSTRING("littleEndian")); - struct _Function_1_1{ - inline static int Block( ::String &format){ - HX_STACK_PUSH("*::closure","neash/media/Sound.hx",95); - { - HX_STACK_LINE(95) - ::String _switch_1 = (format); - if ( ( _switch_1==HX_CSTRING("float"))){ - HX_STACK_LINE(96) - return (int)3; - } - else if ( ( _switch_1==HX_CSTRING("short"))){ - HX_STACK_LINE(97) - return (int)1; - } - else { - HX_STACK_LINE(98) - return hx::Throw (::neash::errors::Error_obj::__new((HX_CSTRING("Unsupported format ") + format),null())); - } -; -; - } - return null(); - } - }; - HX_STACK_LINE(95) - int AudioFormat = _Function_1_1::Block(format); HX_STACK_VAR(AudioFormat,"AudioFormat"); - HX_STACK_LINE(100) - int NumChannels = ( ((stereo)) ? int((int)2) : int((int)1) ); HX_STACK_VAR(NumChannels,"NumChannels"); - HX_STACK_LINE(101) - int SampleRate = ::Std_obj::_int(sampleRate); HX_STACK_VAR(SampleRate,"SampleRate"); - struct _Function_1_2{ - inline static int Block( ::String &format){ - HX_STACK_PUSH("*::closure","neash/media/Sound.hx",102); - { - HX_STACK_LINE(102) - ::String _switch_2 = (format); - if ( ( _switch_2==HX_CSTRING("float"))){ - HX_STACK_LINE(103) - return (int)32; - } - else if ( ( _switch_2==HX_CSTRING("short"))){ - HX_STACK_LINE(104) - return (int)16; - } - else { - HX_STACK_LINE(105) - return hx::Throw (::neash::errors::Error_obj::__new((HX_CSTRING("Unsupported format ") + format),null())); - } -; -; - } - return null(); - } - }; - HX_STACK_LINE(102) - int BitsPerSample = _Function_1_2::Block(format); HX_STACK_VAR(BitsPerSample,"BitsPerSample"); - HX_STACK_LINE(107) - int ByteRate = ::Std_obj::_int((Float(((SampleRate * NumChannels) * BitsPerSample)) / Float((int)8))); HX_STACK_VAR(ByteRate,"ByteRate"); - HX_STACK_LINE(108) - int BlockAlign = ::Std_obj::_int((Float((NumChannels * BitsPerSample)) / Float((int)8))); HX_STACK_VAR(BlockAlign,"BlockAlign"); - HX_STACK_LINE(109) - int NumSamples = ::Std_obj::_int((Float(Bytes->length) / Float(BlockAlign))); HX_STACK_VAR(NumSamples,"NumSamples"); - HX_STACK_LINE(111) - wav->writeUTFBytes(HX_CSTRING("RIFF")); - HX_STACK_LINE(112) - wav->writeInt(((int)36 + Bytes->length)); - HX_STACK_LINE(113) - wav->writeUTFBytes(HX_CSTRING("WAVE")); - HX_STACK_LINE(114) - wav->writeUTFBytes(HX_CSTRING("fmt ")); - HX_STACK_LINE(115) - wav->writeInt((int)16); - HX_STACK_LINE(116) - wav->writeShort(AudioFormat); - HX_STACK_LINE(117) - wav->writeShort(NumChannels); - HX_STACK_LINE(118) - wav->writeInt(SampleRate); - HX_STACK_LINE(119) - wav->writeInt(ByteRate); - HX_STACK_LINE(120) - wav->writeShort(BlockAlign); - HX_STACK_LINE(121) - wav->writeShort(BitsPerSample); - HX_STACK_LINE(122) - wav->writeUTFBytes(HX_CSTRING("data")); - HX_STACK_LINE(123) - wav->writeInt(Bytes->length); - HX_STACK_LINE(124) - wav->writeBytes(Bytes,(int)0,Bytes->length); - HX_STACK_LINE(126) - wav->position = (int)0; - HX_STACK_LINE(127) - this->loadCompressedDataFromByteArray(wav,wav->length,null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(Sound_obj,loadPCMFromByteArray,(void)) - -Void Sound_obj::loadCompressedDataFromByteArray( ::neash::utils::ByteArray bytes,int length,hx::Null< bool > __o_forcePlayAsMusic){ -bool forcePlayAsMusic = __o_forcePlayAsMusic.Default(false); - HX_STACK_PUSH("Sound::loadCompressedDataFromByteArray","neash/media/Sound.hx",80); - HX_STACK_THIS(this); - HX_STACK_ARG(bytes,"bytes"); - HX_STACK_ARG(length,"length"); - HX_STACK_ARG(forcePlayAsMusic,"forcePlayAsMusic"); -{ - HX_STACK_LINE(81) - this->bytesLoaded = this->bytesTotal = length; - HX_STACK_LINE(82) - this->nmeHandle = ::neash::media::Sound_obj::nme_sound_from_data(bytes->b,length,forcePlayAsMusic); - HX_STACK_LINE(83) - if (((this->nmeHandle == null()))){ - HX_STACK_LINE(84) - hx::Throw ((HX_CSTRING("Could not load buffer with length: ") + length)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Sound_obj,loadCompressedDataFromByteArray,(void)) - -Void Sound_obj::load( ::neash::net::URLRequest stream,::neash::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic){ -bool forcePlayAsMusic = __o_forcePlayAsMusic.Default(false); - HX_STACK_PUSH("Sound::load","neash/media/Sound.hx",64); - HX_STACK_THIS(this); - HX_STACK_ARG(stream,"stream"); - HX_STACK_ARG(context,"context"); - HX_STACK_ARG(forcePlayAsMusic,"forcePlayAsMusic"); -{ - HX_STACK_LINE(65) - this->bytesLoaded = this->bytesTotal = (int)0; - HX_STACK_LINE(66) - this->nmeHandle = ::neash::media::Sound_obj::nme_sound_from_file(stream->url,forcePlayAsMusic); - HX_STACK_LINE(67) - if (((this->nmeHandle == null()))){ - HX_STACK_LINE(68) - hx::Throw ((HX_CSTRING("Could not load:") + stream->url)); - } - else{ - HX_STACK_LINE(73) - this->url = stream->url; - HX_STACK_LINE(74) - this->nmeLoading = true; - HX_STACK_LINE(75) - this->nmeLoading = false; - HX_STACK_LINE(76) - this->nmeCheckLoading(); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Sound_obj,load,(void)) - -Void Sound_obj::close( ){ -{ - HX_STACK_PUSH("Sound::close","neash/media/Sound.hx",55); - HX_STACK_THIS(this); - HX_STACK_LINE(56) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(57) - ::neash::media::Sound_obj::nme_sound_close(this->nmeHandle); - } - HX_STACK_LINE(58) - this->nmeHandle = (int)0; - HX_STACK_LINE(59) - this->nmeLoading = false; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,close,(void)) - -Void Sound_obj::addEventListener( ::String type,Dynamic listener,hx::Null< bool > __o_useCapture,hx::Null< int > __o_priority,hx::Null< bool > __o_useWeakReference){ -bool useCapture = __o_useCapture.Default(false); -int priority = __o_priority.Default(0); -bool useWeakReference = __o_useWeakReference.Default(false); - HX_STACK_PUSH("Sound::addEventListener","neash/media/Sound.hx",41); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(listener,"listener"); - HX_STACK_ARG(useCapture,"useCapture"); - HX_STACK_ARG(priority,"priority"); - HX_STACK_ARG(useWeakReference,"useWeakReference"); -{ - HX_STACK_LINE(42) - this->super::addEventListener(type,listener,useCapture,priority,useWeakReference); - HX_STACK_LINE(43) - if (((type == ::neash::events::SampleDataEvent_obj::SAMPLE_DATA))){ - HX_STACK_LINE(45) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(46) - hx::Throw (HX_CSTRING("Can't use dynamic sound once file loaded")); - } - HX_STACK_LINE(47) - this->nmeDynamicSound = true; - HX_STACK_LINE(48) - this->nmeLoading = false; - } - } -return null(); -} - - -Dynamic Sound_obj::nme_sound_from_file; - -Dynamic Sound_obj::nme_sound_from_data; - -Dynamic Sound_obj::nme_sound_get_id3; - -Dynamic Sound_obj::nme_sound_get_length; - -Dynamic Sound_obj::nme_sound_close; - -Dynamic Sound_obj::nme_sound_get_status; - -Dynamic Sound_obj::nme_sound_channel_create_dynamic; - - -Sound_obj::Sound_obj() -{ -} - -void Sound_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Sound); - HX_MARK_MEMBER_NAME(nmeDynamicSound,"nmeDynamicSound"); - HX_MARK_MEMBER_NAME(nmeLoading,"nmeLoading"); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(url,"url"); - HX_MARK_MEMBER_NAME(length,"length"); - HX_MARK_MEMBER_NAME(isBuffering,"isBuffering"); - HX_MARK_MEMBER_NAME(id3,"id3"); - HX_MARK_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_MARK_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Sound_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeDynamicSound,"nmeDynamicSound"); - HX_VISIT_MEMBER_NAME(nmeLoading,"nmeLoading"); - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(url,"url"); - HX_VISIT_MEMBER_NAME(length,"length"); - HX_VISIT_MEMBER_NAME(isBuffering,"isBuffering"); - HX_VISIT_MEMBER_NAME(id3,"id3"); - HX_VISIT_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_VISIT_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Sound_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"url") ) { return url; } - if (HX_FIELD_EQ(inName,"id3") ) { return inCallProp ? nmeGetID3() : id3; } - break; - case 4: - if (HX_FIELD_EQ(inName,"play") ) { return play_dyn(); } - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { return inCallProp ? nmeGetLength() : length; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeGetID3") ) { return nmeGetID3_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeOnError") ) { return nmeOnError_dyn(); } - if (HX_FIELD_EQ(inName,"nmeLoading") ) { return nmeLoading; } - if (HX_FIELD_EQ(inName,"bytesTotal") ) { return bytesTotal; } - break; - case 11: - if (HX_FIELD_EQ(inName,"isBuffering") ) { return inCallProp ? nmeGetIsBuffering() : isBuffering; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { return bytesLoaded; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeGetLength") ) { return nmeGetLength_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_sound_close") ) { return nme_sound_close; } - if (HX_FIELD_EQ(inName,"nmeCheckLoading") ) { return nmeCheckLoading_dyn(); } - if (HX_FIELD_EQ(inName,"nmeDynamicSound") ) { return nmeDynamicSound; } - break; - case 16: - if (HX_FIELD_EQ(inName,"addEventListener") ) { return addEventListener_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_sound_get_id3") ) { return nme_sound_get_id3; } - if (HX_FIELD_EQ(inName,"nmeGetIsBuffering") ) { return nmeGetIsBuffering_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_sound_from_file") ) { return nme_sound_from_file; } - if (HX_FIELD_EQ(inName,"nme_sound_from_data") ) { return nme_sound_from_data; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_sound_get_length") ) { return nme_sound_get_length; } - if (HX_FIELD_EQ(inName,"nme_sound_get_status") ) { return nme_sound_get_status; } - if (HX_FIELD_EQ(inName,"loadPCMFromByteArray") ) { return loadPCMFromByteArray_dyn(); } - break; - case 31: - if (HX_FIELD_EQ(inName,"loadCompressedDataFromByteArray") ) { return loadCompressedDataFromByteArray_dyn(); } - break; - case 32: - if (HX_FIELD_EQ(inName,"nme_sound_channel_create_dynamic") ) { return nme_sound_channel_create_dynamic; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Sound_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"url") ) { url=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"id3") ) { id3=inValue.Cast< ::neash::media::ID3Info >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { length=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeLoading") ) { nmeLoading=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesTotal") ) { bytesTotal=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"isBuffering") ) { isBuffering=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { bytesLoaded=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_sound_close") ) { nme_sound_close=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDynamicSound") ) { nmeDynamicSound=inValue.Cast< bool >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_sound_get_id3") ) { nme_sound_get_id3=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_sound_from_file") ) { nme_sound_from_file=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_sound_from_data") ) { nme_sound_from_data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_sound_get_length") ) { nme_sound_get_length=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_sound_get_status") ) { nme_sound_get_status=inValue.Cast< Dynamic >(); return inValue; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nme_sound_channel_create_dynamic") ) { nme_sound_channel_create_dynamic=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Sound_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeDynamicSound")); - outFields->push(HX_CSTRING("nmeLoading")); - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("url")); - outFields->push(HX_CSTRING("length")); - outFields->push(HX_CSTRING("isBuffering")); - outFields->push(HX_CSTRING("id3")); - outFields->push(HX_CSTRING("bytesTotal")); - outFields->push(HX_CSTRING("bytesLoaded")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_sound_from_file"), - HX_CSTRING("nme_sound_from_data"), - HX_CSTRING("nme_sound_get_id3"), - HX_CSTRING("nme_sound_get_length"), - HX_CSTRING("nme_sound_close"), - HX_CSTRING("nme_sound_get_status"), - HX_CSTRING("nme_sound_channel_create_dynamic"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetLength"), - HX_CSTRING("nmeGetIsBuffering"), - HX_CSTRING("nmeGetID3"), - HX_CSTRING("play"), - HX_CSTRING("nmeOnError"), - HX_CSTRING("nmeCheckLoading"), - HX_CSTRING("loadPCMFromByteArray"), - HX_CSTRING("loadCompressedDataFromByteArray"), - HX_CSTRING("load"), - HX_CSTRING("close"), - HX_CSTRING("addEventListener"), - HX_CSTRING("nmeDynamicSound"), - HX_CSTRING("nmeLoading"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("url"), - HX_CSTRING("length"), - HX_CSTRING("isBuffering"), - HX_CSTRING("id3"), - HX_CSTRING("bytesTotal"), - HX_CSTRING("bytesLoaded"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Sound_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_from_file,"nme_sound_from_file"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_from_data,"nme_sound_from_data"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_get_id3,"nme_sound_get_id3"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_get_length,"nme_sound_get_length"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_close,"nme_sound_close"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_get_status,"nme_sound_get_status"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_channel_create_dynamic,"nme_sound_channel_create_dynamic"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Sound_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_from_file,"nme_sound_from_file"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_from_data,"nme_sound_from_data"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_get_id3,"nme_sound_get_id3"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_get_length,"nme_sound_get_length"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_close,"nme_sound_close"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_get_status,"nme_sound_get_status"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_channel_create_dynamic,"nme_sound_channel_create_dynamic"); -}; - -Class Sound_obj::__mClass; - -void Sound_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.media.Sound"), hx::TCanCast< Sound_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Sound_obj::__boot() -{ - nme_sound_from_file= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_from_file"),(int)2); - nme_sound_from_data= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_from_data"),(int)3); - nme_sound_get_id3= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_get_id3"),(int)2); - nme_sound_get_length= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_get_length"),(int)1); - nme_sound_close= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_close"),(int)1); - nme_sound_get_status= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_get_status"),(int)1); - nme_sound_channel_create_dynamic= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_create_dynamic"),(int)2); -} - -} // end namespace neash -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/media/SoundChannel.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/media/SoundChannel.cpp deleted file mode 100644 index 13f3c0e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/media/SoundChannel.cpp +++ /dev/null @@ -1,553 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_SampleDataEvent -#include -#endif -#ifndef INCLUDED_neash_media_SoundChannel -#include -#endif -#ifndef INCLUDED_neash_media_SoundTransform -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace media{ - -Void SoundChannel_obj::__construct(Dynamic inSoundHandle,Float startTime,int loops,::neash::media::SoundTransform sndTransform) -{ -HX_STACK_PUSH("SoundChannel::new","neash/media/SoundChannel.hx",28); -{ - HX_STACK_LINE(29) - super::__construct(null()); - HX_STACK_LINE(31) - if (((sndTransform != null()))){ - HX_STACK_LINE(31) - this->nmeTransform = sndTransform->clone(); - } - HX_STACK_LINE(35) - if (((inSoundHandle != null()))){ - HX_STACK_LINE(36) - this->nmeHandle = ::neash::media::SoundChannel_obj::nme_sound_channel_create(inSoundHandle,startTime,loops,this->nmeTransform); - } - HX_STACK_LINE(38) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(39) - ::neash::media::SoundChannel_obj::nmeIncompleteList->push(hx::ObjectPtr(this)); - } -} -; - return null(); -} - -SoundChannel_obj::~SoundChannel_obj() { } - -Dynamic SoundChannel_obj::__CreateEmpty() { return new SoundChannel_obj; } -hx::ObjectPtr< SoundChannel_obj > SoundChannel_obj::__new(Dynamic inSoundHandle,Float startTime,int loops,::neash::media::SoundTransform sndTransform) -{ hx::ObjectPtr< SoundChannel_obj > result = new SoundChannel_obj(); - result->__construct(inSoundHandle,startTime,loops,sndTransform); - return result;} - -Dynamic SoundChannel_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SoundChannel_obj > result = new SoundChannel_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -::neash::media::SoundTransform SoundChannel_obj::nmeSetTransform( ::neash::media::SoundTransform inTransform){ - HX_STACK_PUSH("SoundChannel::nmeSetTransform","neash/media/SoundChannel.hx",136); - HX_STACK_THIS(this); - HX_STACK_ARG(inTransform,"inTransform"); - HX_STACK_LINE(137) - this->nmeTransform = inTransform->clone(); - HX_STACK_LINE(138) - ::neash::media::SoundChannel_obj::nme_sound_channel_set_transform(this->nmeHandle,this->nmeTransform); - HX_STACK_LINE(140) - return inTransform; -} - - -HX_DEFINE_DYNAMIC_FUNC1(SoundChannel_obj,nmeSetTransform,return ) - -::neash::media::SoundTransform SoundChannel_obj::nmeGetTransform( ){ - HX_STACK_PUSH("SoundChannel::nmeGetTransform","neash/media/SoundChannel.hx",125); - HX_STACK_THIS(this); - HX_STACK_LINE(126) - if (((this->nmeTransform == null()))){ - HX_STACK_LINE(127) - this->nmeTransform = ::neash::media::SoundTransform_obj::__new(null(),null()); - } - HX_STACK_LINE(131) - return this->nmeTransform->clone(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeGetTransform,return ) - -Float SoundChannel_obj::nmeGetPosition( ){ - HX_STACK_PUSH("SoundChannel::nmeGetPosition","neash/media/SoundChannel.hx",121); - HX_STACK_THIS(this); - HX_STACK_LINE(121) - return ::neash::media::SoundChannel_obj::nme_sound_channel_get_position(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeGetPosition,return ) - -Float SoundChannel_obj::nmeGetRight( ){ - HX_STACK_PUSH("SoundChannel::nmeGetRight","neash/media/SoundChannel.hx",120); - HX_STACK_THIS(this); - HX_STACK_LINE(120) - return ::neash::media::SoundChannel_obj::nme_sound_channel_get_right(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeGetRight,return ) - -Float SoundChannel_obj::nmeGetLeft( ){ - HX_STACK_PUSH("SoundChannel::nmeGetLeft","neash/media/SoundChannel.hx",119); - HX_STACK_THIS(this); - HX_STACK_LINE(119) - return ::neash::media::SoundChannel_obj::nme_sound_channel_get_left(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeGetLeft,return ) - -Void SoundChannel_obj::stop( ){ -{ - HX_STACK_PUSH("SoundChannel::stop","neash/media/SoundChannel.hx",109); - HX_STACK_THIS(this); - HX_STACK_LINE(109) - ::neash::media::SoundChannel_obj::nme_sound_channel_stop(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,stop,(void)) - -bool SoundChannel_obj::nmeCheckComplete( ){ - HX_STACK_PUSH("SoundChannel::nmeCheckComplete","neash/media/SoundChannel.hx",56); - HX_STACK_THIS(this); - HX_STACK_LINE(57) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(59) - if (((bool((this->nmeDataProvider != null())) && bool(::neash::media::SoundChannel_obj::nme_sound_channel_needs_data(this->nmeHandle))))){ - HX_STACK_LINE(61) - ::neash::events::SampleDataEvent request = ::neash::events::SampleDataEvent_obj::__new(::neash::events::SampleDataEvent_obj::SAMPLE_DATA,null(),null()); HX_STACK_VAR(request,"request"); - HX_STACK_LINE(62) - request->position = ::neash::media::SoundChannel_obj::nme_sound_channel_get_data_position(this->nmeHandle); - HX_STACK_LINE(63) - this->nmeDataProvider->dispatchEvent(request); - HX_STACK_LINE(64) - if (((request->data->length > (int)0))){ - HX_STACK_LINE(65) - ::neash::media::SoundChannel_obj::nme_sound_channel_add_data(this->nmeHandle,request->data); - } - } - HX_STACK_LINE(68) - if ((::neash::media::SoundChannel_obj::nme_sound_channel_is_complete(this->nmeHandle))){ - HX_STACK_LINE(70) - this->nmeHandle = null(); - HX_STACK_LINE(71) - if (((this->nmeDataProvider != null()))){ - HX_STACK_LINE(72) - (::neash::media::SoundChannel_obj::nmeDynamicSoundCount)--; - } - HX_STACK_LINE(73) - ::neash::events::Event complete = ::neash::events::Event_obj::__new(::neash::events::Event_obj::SOUND_COMPLETE,null(),null()); HX_STACK_VAR(complete,"complete"); - HX_STACK_LINE(74) - this->dispatchEvent(complete); - HX_STACK_LINE(75) - return true; - } - } - HX_STACK_LINE(79) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeCheckComplete,return ) - -int SoundChannel_obj::nmeDynamicSoundCount; - -Array< ::neash::media::SoundChannel > SoundChannel_obj::nmeIncompleteList; - -::neash::media::SoundChannel SoundChannel_obj::createDynamic( Dynamic inSoundHandle,::neash::media::SoundTransform sndTransform,::neash::events::EventDispatcher dataProvider){ - HX_STACK_PUSH("SoundChannel::createDynamic","neash/media/SoundChannel.hx",43); - HX_STACK_ARG(inSoundHandle,"inSoundHandle"); - HX_STACK_ARG(sndTransform,"sndTransform"); - HX_STACK_ARG(dataProvider,"dataProvider"); - HX_STACK_LINE(44) - ::neash::media::SoundChannel result = ::neash::media::SoundChannel_obj::__new(null(),(int)0,(int)0,sndTransform); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(45) - result->nmeDataProvider = dataProvider; - HX_STACK_LINE(46) - result->nmeHandle = inSoundHandle; - HX_STACK_LINE(47) - ::neash::media::SoundChannel_obj::nmeIncompleteList->push(result); - HX_STACK_LINE(48) - (::neash::media::SoundChannel_obj::nmeDynamicSoundCount)++; - HX_STACK_LINE(49) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(SoundChannel_obj,createDynamic,return ) - -bool SoundChannel_obj::nmeCompletePending( ){ - HX_STACK_PUSH("SoundChannel::nmeCompletePending","neash/media/SoundChannel.hx",84); - HX_STACK_LINE(84) - return (::neash::media::SoundChannel_obj::nmeIncompleteList->length > (int)0); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeCompletePending,return ) - -Void SoundChannel_obj::nmePollComplete( ){ -{ - HX_STACK_PUSH("SoundChannel::nmePollComplete","neash/media/SoundChannel.hx",90); - HX_STACK_LINE(90) - if (((::neash::media::SoundChannel_obj::nmeIncompleteList->length > (int)0))){ - HX_STACK_LINE(93) - Array< ::neash::media::SoundChannel > incomplete = Array_obj< ::neash::media::SoundChannel >::__new(); HX_STACK_VAR(incomplete,"incomplete"); - HX_STACK_LINE(95) - { - HX_STACK_LINE(95) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::media::SoundChannel > _g1 = ::neash::media::SoundChannel_obj::nmeIncompleteList; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(95) - while(((_g < _g1->length))){ - HX_STACK_LINE(95) - ::neash::media::SoundChannel channel = _g1->__get(_g); HX_STACK_VAR(channel,"channel"); - HX_STACK_LINE(95) - ++(_g); - HX_STACK_LINE(97) - if ((!(channel->nmeCheckComplete()))){ - HX_STACK_LINE(98) - incomplete->push(channel); - } - } - } - HX_STACK_LINE(103) - ::neash::media::SoundChannel_obj::nmeIncompleteList = incomplete; - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmePollComplete,(void)) - -Dynamic SoundChannel_obj::nme_sound_channel_is_complete; - -Dynamic SoundChannel_obj::nme_sound_channel_get_left; - -Dynamic SoundChannel_obj::nme_sound_channel_get_right; - -Dynamic SoundChannel_obj::nme_sound_channel_get_position; - -Dynamic SoundChannel_obj::nme_sound_channel_get_data_position; - -Dynamic SoundChannel_obj::nme_sound_channel_stop; - -Dynamic SoundChannel_obj::nme_sound_channel_create; - -Dynamic SoundChannel_obj::nme_sound_channel_set_transform; - -Dynamic SoundChannel_obj::nme_sound_channel_needs_data; - -Dynamic SoundChannel_obj::nme_sound_channel_add_data; - - -SoundChannel_obj::SoundChannel_obj() -{ -} - -void SoundChannel_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SoundChannel); - HX_MARK_MEMBER_NAME(nmeDataProvider,"nmeDataProvider"); - HX_MARK_MEMBER_NAME(nmeTransform,"nmeTransform"); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(soundTransform,"soundTransform"); - HX_MARK_MEMBER_NAME(position,"position"); - HX_MARK_MEMBER_NAME(rightPeak,"rightPeak"); - HX_MARK_MEMBER_NAME(leftPeak,"leftPeak"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void SoundChannel_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeDataProvider,"nmeDataProvider"); - HX_VISIT_MEMBER_NAME(nmeTransform,"nmeTransform"); - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(soundTransform,"soundTransform"); - HX_VISIT_MEMBER_NAME(position,"position"); - HX_VISIT_MEMBER_NAME(rightPeak,"rightPeak"); - HX_VISIT_MEMBER_NAME(leftPeak,"leftPeak"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic SoundChannel_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"stop") ) { return stop_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"position") ) { return inCallProp ? nmeGetPosition() : position; } - if (HX_FIELD_EQ(inName,"leftPeak") ) { return inCallProp ? nmeGetLeft() : leftPeak; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - if (HX_FIELD_EQ(inName,"rightPeak") ) { return inCallProp ? nmeGetRight() : rightPeak; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeGetLeft") ) { return nmeGetLeft_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeGetRight") ) { return nmeGetRight_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeTransform") ) { return nmeTransform; } - break; - case 13: - if (HX_FIELD_EQ(inName,"createDynamic") ) { return createDynamic_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"nmeGetPosition") ) { return nmeGetPosition_dyn(); } - if (HX_FIELD_EQ(inName,"soundTransform") ) { return inCallProp ? nmeGetTransform() : soundTransform; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmePollComplete") ) { return nmePollComplete_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetTransform") ) { return nmeSetTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTransform") ) { return nmeGetTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeDataProvider") ) { return nmeDataProvider; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeCheckComplete") ) { return nmeCheckComplete_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeIncompleteList") ) { return nmeIncompleteList; } - break; - case 18: - if (HX_FIELD_EQ(inName,"nmeCompletePending") ) { return nmeCompletePending_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeDynamicSoundCount") ) { return nmeDynamicSoundCount; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_sound_channel_stop") ) { return nme_sound_channel_stop; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_sound_channel_create") ) { return nme_sound_channel_create; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_left") ) { return nme_sound_channel_get_left; } - if (HX_FIELD_EQ(inName,"nme_sound_channel_add_data") ) { return nme_sound_channel_add_data; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_right") ) { return nme_sound_channel_get_right; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_sound_channel_needs_data") ) { return nme_sound_channel_needs_data; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_sound_channel_is_complete") ) { return nme_sound_channel_is_complete; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_position") ) { return nme_sound_channel_get_position; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_sound_channel_set_transform") ) { return nme_sound_channel_set_transform; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_data_position") ) { return nme_sound_channel_get_data_position; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SoundChannel_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"position") ) { position=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"leftPeak") ) { leftPeak=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"rightPeak") ) { rightPeak=inValue.Cast< Float >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeTransform") ) { nmeTransform=inValue.Cast< ::neash::media::SoundTransform >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"soundTransform") ) { if (inCallProp) return nmeSetTransform(inValue);soundTransform=inValue.Cast< ::neash::media::SoundTransform >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeDataProvider") ) { nmeDataProvider=inValue.Cast< ::neash::events::EventDispatcher >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeIncompleteList") ) { nmeIncompleteList=inValue.Cast< Array< ::neash::media::SoundChannel > >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeDynamicSoundCount") ) { nmeDynamicSoundCount=inValue.Cast< int >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_sound_channel_stop") ) { nme_sound_channel_stop=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_sound_channel_create") ) { nme_sound_channel_create=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_left") ) { nme_sound_channel_get_left=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_sound_channel_add_data") ) { nme_sound_channel_add_data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_right") ) { nme_sound_channel_get_right=inValue.Cast< Dynamic >(); return inValue; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_sound_channel_needs_data") ) { nme_sound_channel_needs_data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_sound_channel_is_complete") ) { nme_sound_channel_is_complete=inValue.Cast< Dynamic >(); return inValue; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_position") ) { nme_sound_channel_get_position=inValue.Cast< Dynamic >(); return inValue; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_sound_channel_set_transform") ) { nme_sound_channel_set_transform=inValue.Cast< Dynamic >(); return inValue; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_data_position") ) { nme_sound_channel_get_data_position=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SoundChannel_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeDataProvider")); - outFields->push(HX_CSTRING("nmeTransform")); - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("soundTransform")); - outFields->push(HX_CSTRING("position")); - outFields->push(HX_CSTRING("rightPeak")); - outFields->push(HX_CSTRING("leftPeak")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nmeDynamicSoundCount"), - HX_CSTRING("nmeIncompleteList"), - HX_CSTRING("createDynamic"), - HX_CSTRING("nmeCompletePending"), - HX_CSTRING("nmePollComplete"), - HX_CSTRING("nme_sound_channel_is_complete"), - HX_CSTRING("nme_sound_channel_get_left"), - HX_CSTRING("nme_sound_channel_get_right"), - HX_CSTRING("nme_sound_channel_get_position"), - HX_CSTRING("nme_sound_channel_get_data_position"), - HX_CSTRING("nme_sound_channel_stop"), - HX_CSTRING("nme_sound_channel_create"), - HX_CSTRING("nme_sound_channel_set_transform"), - HX_CSTRING("nme_sound_channel_needs_data"), - HX_CSTRING("nme_sound_channel_add_data"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetTransform"), - HX_CSTRING("nmeGetTransform"), - HX_CSTRING("nmeGetPosition"), - HX_CSTRING("nmeGetRight"), - HX_CSTRING("nmeGetLeft"), - HX_CSTRING("stop"), - HX_CSTRING("nmeCheckComplete"), - HX_CSTRING("nmeDataProvider"), - HX_CSTRING("nmeTransform"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("soundTransform"), - HX_CSTRING("position"), - HX_CSTRING("rightPeak"), - HX_CSTRING("leftPeak"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SoundChannel_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nmeDynamicSoundCount,"nmeDynamicSoundCount"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nmeIncompleteList,"nmeIncompleteList"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_is_complete,"nme_sound_channel_is_complete"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_left,"nme_sound_channel_get_left"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_right,"nme_sound_channel_get_right"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_position,"nme_sound_channel_get_position"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_data_position,"nme_sound_channel_get_data_position"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_stop,"nme_sound_channel_stop"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_create,"nme_sound_channel_create"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_set_transform,"nme_sound_channel_set_transform"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_needs_data,"nme_sound_channel_needs_data"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_add_data,"nme_sound_channel_add_data"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SoundChannel_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nmeDynamicSoundCount,"nmeDynamicSoundCount"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nmeIncompleteList,"nmeIncompleteList"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_is_complete,"nme_sound_channel_is_complete"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_left,"nme_sound_channel_get_left"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_right,"nme_sound_channel_get_right"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_position,"nme_sound_channel_get_position"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_data_position,"nme_sound_channel_get_data_position"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_stop,"nme_sound_channel_stop"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_create,"nme_sound_channel_create"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_set_transform,"nme_sound_channel_set_transform"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_needs_data,"nme_sound_channel_needs_data"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_add_data,"nme_sound_channel_add_data"); -}; - -Class SoundChannel_obj::__mClass; - -void SoundChannel_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.media.SoundChannel"), hx::TCanCast< SoundChannel_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SoundChannel_obj::__boot() -{ - nmeDynamicSoundCount= (int)0; - nmeIncompleteList= Array_obj< ::neash::media::SoundChannel >::__new(); - nme_sound_channel_is_complete= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_is_complete"),(int)1); - nme_sound_channel_get_left= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_get_left"),(int)1); - nme_sound_channel_get_right= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_get_right"),(int)1); - nme_sound_channel_get_position= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_get_position"),(int)1); - nme_sound_channel_get_data_position= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_get_data_position"),(int)1); - nme_sound_channel_stop= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_stop"),(int)1); - nme_sound_channel_create= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_create"),(int)4); - nme_sound_channel_set_transform= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_set_transform"),(int)2); - nme_sound_channel_needs_data= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_needs_data"),(int)1); - nme_sound_channel_add_data= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_add_data"),(int)2); -} - -} // end namespace neash -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/media/SoundLoaderContext.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/media/SoundLoaderContext.cpp deleted file mode 100644 index 088402e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/media/SoundLoaderContext.cpp +++ /dev/null @@ -1,89 +0,0 @@ -#include - -#ifndef INCLUDED_neash_media_SoundLoaderContext -#include -#endif -namespace neash{ -namespace media{ - -Void SoundLoaderContext_obj::__construct() -{ -HX_STACK_PUSH("SoundLoaderContext::new","neash/media/SoundLoaderContext.hx",8); -{ -} -; - return null(); -} - -SoundLoaderContext_obj::~SoundLoaderContext_obj() { } - -Dynamic SoundLoaderContext_obj::__CreateEmpty() { return new SoundLoaderContext_obj; } -hx::ObjectPtr< SoundLoaderContext_obj > SoundLoaderContext_obj::__new() -{ hx::ObjectPtr< SoundLoaderContext_obj > result = new SoundLoaderContext_obj(); - result->__construct(); - return result;} - -Dynamic SoundLoaderContext_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SoundLoaderContext_obj > result = new SoundLoaderContext_obj(); - result->__construct(); - return result;} - - -SoundLoaderContext_obj::SoundLoaderContext_obj() -{ -} - -void SoundLoaderContext_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SoundLoaderContext); - HX_MARK_END_CLASS(); -} - -void SoundLoaderContext_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic SoundLoaderContext_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic SoundLoaderContext_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void SoundLoaderContext_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SoundLoaderContext_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SoundLoaderContext_obj::__mClass,"__mClass"); -}; - -Class SoundLoaderContext_obj::__mClass; - -void SoundLoaderContext_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.media.SoundLoaderContext"), hx::TCanCast< SoundLoaderContext_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SoundLoaderContext_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/media/SoundTransform.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/media/SoundTransform.cpp deleted file mode 100644 index e15c09b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/media/SoundTransform.cpp +++ /dev/null @@ -1,131 +0,0 @@ -#include - -#ifndef INCLUDED_neash_media_SoundTransform -#include -#endif -namespace neash{ -namespace media{ - -Void SoundTransform_obj::__construct(hx::Null< Float > __o_vol,hx::Null< Float > __o_panning) -{ -HX_STACK_PUSH("SoundTransform::new","neash/media/SoundTransform.hx",12); -Float vol = __o_vol.Default(1.0); -Float panning = __o_panning.Default(0.0); -{ - HX_STACK_LINE(13) - this->volume = vol; - HX_STACK_LINE(14) - this->pan = panning; -} -; - return null(); -} - -SoundTransform_obj::~SoundTransform_obj() { } - -Dynamic SoundTransform_obj::__CreateEmpty() { return new SoundTransform_obj; } -hx::ObjectPtr< SoundTransform_obj > SoundTransform_obj::__new(hx::Null< Float > __o_vol,hx::Null< Float > __o_panning) -{ hx::ObjectPtr< SoundTransform_obj > result = new SoundTransform_obj(); - result->__construct(__o_vol,__o_panning); - return result;} - -Dynamic SoundTransform_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SoundTransform_obj > result = new SoundTransform_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::neash::media::SoundTransform SoundTransform_obj::clone( ){ - HX_STACK_PUSH("SoundTransform::clone","neash/media/SoundTransform.hx",19); - HX_STACK_THIS(this); - HX_STACK_LINE(19) - return ::neash::media::SoundTransform_obj::__new(this->volume,this->pan); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundTransform_obj,clone,return ) - - -SoundTransform_obj::SoundTransform_obj() -{ -} - -void SoundTransform_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SoundTransform); - HX_MARK_MEMBER_NAME(volume,"volume"); - HX_MARK_MEMBER_NAME(pan,"pan"); - HX_MARK_END_CLASS(); -} - -void SoundTransform_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(volume,"volume"); - HX_VISIT_MEMBER_NAME(pan,"pan"); -} - -Dynamic SoundTransform_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"pan") ) { return pan; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"volume") ) { return volume; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SoundTransform_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"pan") ) { pan=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"volume") ) { volume=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SoundTransform_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("volume")); - outFields->push(HX_CSTRING("pan")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("clone"), - HX_CSTRING("volume"), - HX_CSTRING("pan"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SoundTransform_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SoundTransform_obj::__mClass,"__mClass"); -}; - -Class SoundTransform_obj::__mClass; - -void SoundTransform_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.media.SoundTransform"), hx::TCanCast< SoundTransform_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SoundTransform_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/net/URLLoader.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/net/URLLoader.cpp deleted file mode 100644 index fb86844..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/net/URLLoader.cpp +++ /dev/null @@ -1,702 +0,0 @@ -#include - -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_HTTPStatusEvent -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IOErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_ProgressEvent -#include -#endif -#ifndef INCLUDED_neash_events_TextEvent -#include -#endif -#ifndef INCLUDED_neash_net_URLLoader -#include -#endif -#ifndef INCLUDED_neash_net_URLLoaderDataFormat -#include -#endif -#ifndef INCLUDED_neash_net_URLRequest -#include -#endif -#ifndef INCLUDED_neash_net_URLVariables -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace net{ - -Void URLLoader_obj::__construct(::neash::net::URLRequest request) -{ -HX_STACK_PUSH("URLLoader::new","neash/net/URLLoader.hx",49); -{ - HX_STACK_LINE(50) - super::__construct(null()); - HX_STACK_LINE(51) - this->nmeHandle = (int)0; - HX_STACK_LINE(52) - this->bytesLoaded = (int)0; - HX_STACK_LINE(53) - this->bytesTotal = (int)-1; - HX_STACK_LINE(54) - this->state = (int)0; - HX_STACK_LINE(55) - this->dataFormat = ::neash::net::URLLoaderDataFormat_obj::TEXT_dyn(); - HX_STACK_LINE(56) - if (((request != null()))){ - HX_STACK_LINE(57) - this->load(request); - } -} -; - return null(); -} - -URLLoader_obj::~URLLoader_obj() { } - -Dynamic URLLoader_obj::__CreateEmpty() { return new URLLoader_obj; } -hx::ObjectPtr< URLLoader_obj > URLLoader_obj::__new(::neash::net::URLRequest request) -{ hx::ObjectPtr< URLLoader_obj > result = new URLLoader_obj(); - result->__construct(request); - return result;} - -Dynamic URLLoader_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLLoader_obj > result = new URLLoader_obj(); - result->__construct(inArgs[0]); - return result;} - -Void URLLoader_obj::update( ){ -{ - HX_STACK_PUSH("URLLoader::update","neash/net/URLLoader.hx",144); - HX_STACK_THIS(this); - HX_STACK_LINE(144) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(146) - int old_loaded = this->bytesLoaded; HX_STACK_VAR(old_loaded,"old_loaded"); - HX_STACK_LINE(147) - int old_total = this->bytesTotal; HX_STACK_VAR(old_total,"old_total"); - HX_STACK_LINE(148) - ::neash::net::URLLoader_obj::nme_curl_update_loader(this->nmeHandle,hx::ObjectPtr(this)); - HX_STACK_LINE(149) - if (((bool((old_total < (int)0)) && bool((this->bytesTotal > (int)0))))){ - HX_STACK_LINE(149) - this->dispatchEvent(::neash::events::Event_obj::__new(::neash::events::Event_obj::OPEN,null(),null())); - } - HX_STACK_LINE(153) - if (((bool((this->bytesTotal > (int)0)) && bool((this->bytesLoaded != old_loaded))))){ - HX_STACK_LINE(153) - this->dispatchEvent(::neash::events::ProgressEvent_obj::__new(HX_CSTRING("progress"),false,false,this->bytesLoaded,this->bytesTotal)); - } - HX_STACK_LINE(157) - int code = ::neash::net::URLLoader_obj::nme_curl_get_code(this->nmeHandle); HX_STACK_VAR(code,"code"); - HX_STACK_LINE(159) - if (((this->state == (int)3))){ - HX_STACK_LINE(160) - this->dispatchHTTPStatus(code); - HX_STACK_LINE(162) - if (((code < (int)400))){ - HX_STACK_LINE(163) - ::neash::utils::ByteArray bytes = ::neash::net::URLLoader_obj::nme_curl_get_data(this->nmeHandle); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(164) - { - ::neash::net::URLLoaderDataFormat _switch_1 = (this->dataFormat); - switch((_switch_1)->GetIndex()){ - case 1: case 2: { - HX_STACK_LINE(165) - this->data = ( (((bytes == null()))) ? ::String(HX_CSTRING("")) : ::String(bytes->asString()) ); - } - ;break; - default: { - HX_STACK_LINE(167) - this->data = bytes; - } - } - } - HX_STACK_LINE(170) - this->nmeDataComplete(); - } - else{ - HX_STACK_LINE(173) - ::neash::events::IOErrorEvent evt = ::neash::events::IOErrorEvent_obj::__new(::neash::events::IOErrorEvent_obj::IO_ERROR,true,false,(HX_CSTRING("HTTP status code ") + ::Std_obj::string(code)),code); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(174) - this->nmeHandle = null(); - HX_STACK_LINE(175) - this->dispatchEvent(evt); - } - } - else{ - HX_STACK_LINE(177) - if (((this->state == (int)4))){ - HX_STACK_LINE(178) - this->dispatchHTTPStatus(code); - HX_STACK_LINE(180) - ::neash::events::IOErrorEvent evt = ::neash::events::IOErrorEvent_obj::__new(::neash::events::IOErrorEvent_obj::IO_ERROR,true,false,::neash::net::URLLoader_obj::nme_curl_get_error_message(this->nmeHandle),code); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(181) - this->nmeHandle = null(); - HX_STACK_LINE(182) - this->dispatchEvent(evt); - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,update,(void)) - -Void URLLoader_obj::dispatchHTTPStatus( int code){ -{ - HX_STACK_PUSH("URLLoader::dispatchHTTPStatus","neash/net/URLLoader.hx",140); - HX_STACK_THIS(this); - HX_STACK_ARG(code,"code"); - HX_STACK_LINE(140) - this->dispatchEvent(::neash::events::HTTPStatusEvent_obj::__new(::neash::events::HTTPStatusEvent_obj::HTTP_STATUS,false,false,code)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(URLLoader_obj,dispatchHTTPStatus,(void)) - -Void URLLoader_obj::onError( ::String msg){ -{ - HX_STACK_PUSH("URLLoader::onError","neash/net/URLLoader.hx",135); - HX_STACK_THIS(this); - HX_STACK_ARG(msg,"msg"); - HX_STACK_LINE(136) - ::neash::net::URLLoader_obj::activeLoaders->remove(hx::ObjectPtr(this)); - HX_STACK_LINE(137) - this->dispatchEvent(::neash::events::IOErrorEvent_obj::__new(::neash::events::IOErrorEvent_obj::IO_ERROR,true,false,msg,null())); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(URLLoader_obj,onError,(void)) - -Void URLLoader_obj::nmeDataComplete( ){ -{ - HX_STACK_PUSH("URLLoader::nmeDataComplete","neash/net/URLLoader.hx",106); - HX_STACK_THIS(this); - HX_STACK_LINE(107) - ::neash::net::URLLoader_obj::activeLoaders->remove(hx::ObjectPtr(this)); - HX_STACK_LINE(108) - if (((this->nmeOnComplete_dyn() != null()))){ - HX_STACK_LINE(108) - if ((this->nmeOnComplete(this->data))){ - HX_STACK_LINE(110) - this->dispatchEvent(::neash::events::Event_obj::__new(::neash::events::Event_obj::COMPLETE,null(),null())); - } - else{ - HX_STACK_LINE(112) - this->DispatchIOErrorEvent(); - } - } - else{ - HX_STACK_LINE(113) - this->dispatchEvent(::neash::events::Event_obj::__new(::neash::events::Event_obj::COMPLETE,null(),null())); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,nmeDataComplete,(void)) - -Void URLLoader_obj::load( ::neash::net::URLRequest request){ -{ - HX_STACK_PUSH("URLLoader::load","neash/net/URLLoader.hx",74); - HX_STACK_THIS(this); - HX_STACK_ARG(request,"request"); - HX_STACK_LINE(75) - this->state = (int)1; - HX_STACK_LINE(76) - ::String pref = request->url.substr((int)0,(int)7); HX_STACK_VAR(pref,"pref"); - HX_STACK_LINE(77) - if (((bool((pref != HX_CSTRING("http://"))) && bool((pref != HX_CSTRING("https:/")))))){ - HX_STACK_LINE(78) - try{ - HX_STACK_LINE(79) - ::neash::utils::ByteArray bytes = ::neash::utils::ByteArray_obj::readFile(request->url); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(80) - if (((bytes == null()))){ - HX_STACK_LINE(81) - hx::Throw (((HX_CSTRING("Could not open file \"") + request->url) + HX_CSTRING("\""))); - } - HX_STACK_LINE(82) - { - ::neash::net::URLLoaderDataFormat _switch_2 = (this->dataFormat); - switch((_switch_2)->GetIndex()){ - case 1: { - HX_STACK_LINE(83) - this->data = bytes->asString(); - } - ;break; - case 2: { - HX_STACK_LINE(85) - this->data = ::neash::net::URLVariables_obj::__new(bytes->asString()); - } - ;break; - default: { - HX_STACK_LINE(87) - this->data = bytes; - } - } - } - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(91) - this->onError(e); - HX_STACK_LINE(92) - return null(); - } - } - } - HX_STACK_LINE(95) - this->nmeDataComplete(); - } - else{ - HX_STACK_LINE(97) - request->nmePrepare(); - HX_STACK_LINE(98) - this->nmeHandle = ::neash::net::URLLoader_obj::nme_curl_create(request); - HX_STACK_LINE(99) - if (((this->nmeHandle == null()))){ - HX_STACK_LINE(100) - this->onError(HX_CSTRING("Could not open URL")); - } - else{ - HX_STACK_LINE(102) - ::neash::net::URLLoader_obj::activeLoaders->push(hx::ObjectPtr(this)); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(URLLoader_obj,load,(void)) - -Array< ::String > URLLoader_obj::getCookies( ){ - HX_STACK_PUSH("URLLoader::getCookies","neash/net/URLLoader.hx",62); - HX_STACK_THIS(this); - HX_STACK_LINE(62) - return ::neash::net::URLLoader_obj::nme_curl_get_cookies(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,getCookies,return ) - -Void URLLoader_obj::close( ){ -{ - HX_STACK_PUSH("URLLoader::close","neash/net/URLLoader.hx",60); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,close,(void)) - -::List URLLoader_obj::activeLoaders; - -int URLLoader_obj::urlInvalid; - -int URLLoader_obj::urlInit; - -int URLLoader_obj::urlLoading; - -int URLLoader_obj::urlComplete; - -int URLLoader_obj::urlError; - -bool URLLoader_obj::hasActive( ){ - HX_STACK_PUSH("URLLoader::hasActive","neash/net/URLLoader.hx",66); - HX_STACK_LINE(66) - return !(::neash::net::URLLoader_obj::activeLoaders->isEmpty()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,hasActive,return ) - -Void URLLoader_obj::initialize( ::String inCACertFilePath){ -{ - HX_STACK_PUSH("URLLoader::initialize","neash/net/URLLoader.hx",70); - HX_STACK_ARG(inCACertFilePath,"inCACertFilePath"); - HX_STACK_LINE(70) - ::neash::net::URLLoader_obj::nme_curl_initialize(inCACertFilePath); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(URLLoader_obj,initialize,(void)) - -bool URLLoader_obj::nmeLoadPending( ){ - HX_STACK_PUSH("URLLoader::nmeLoadPending","neash/net/URLLoader.hx",118); - HX_STACK_LINE(118) - return !(::neash::net::URLLoader_obj::activeLoaders->isEmpty()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,nmeLoadPending,return ) - -Void URLLoader_obj::nmePollData( ){ -{ - HX_STACK_PUSH("URLLoader::nmePollData","neash/net/URLLoader.hx",122); - HX_STACK_LINE(122) - if ((!(::neash::net::URLLoader_obj::activeLoaders->isEmpty()))){ - HX_STACK_LINE(124) - ::neash::net::URLLoader_obj::nme_curl_process_loaders(); - HX_STACK_LINE(125) - ::List oldLoaders = ::neash::net::URLLoader_obj::activeLoaders; HX_STACK_VAR(oldLoaders,"oldLoaders"); - HX_STACK_LINE(126) - ::neash::net::URLLoader_obj::activeLoaders = ::List_obj::__new(); - HX_STACK_LINE(127) - for(::cpp::FastIterator_obj< ::neash::net::URLLoader > *__it = ::cpp::CreateFastIterator< ::neash::net::URLLoader >(oldLoaders->iterator()); __it->hasNext(); ){ - ::neash::net::URLLoader loader = __it->next(); - { - HX_STACK_LINE(128) - loader->update(); - HX_STACK_LINE(129) - if (((loader->state == (int)2))){ - HX_STACK_LINE(130) - ::neash::net::URLLoader_obj::activeLoaders->push(loader); - } - } -; - } - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,nmePollData,(void)) - -Dynamic URLLoader_obj::nme_curl_create; - -Dynamic URLLoader_obj::nme_curl_process_loaders; - -Dynamic URLLoader_obj::nme_curl_update_loader; - -Dynamic URLLoader_obj::nme_curl_get_code; - -Dynamic URLLoader_obj::nme_curl_get_error_message; - -Dynamic URLLoader_obj::nme_curl_get_data; - -Dynamic URLLoader_obj::nme_curl_get_cookies; - -Dynamic URLLoader_obj::nme_curl_initialize; - - -URLLoader_obj::URLLoader_obj() -{ -} - -void URLLoader_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLLoader); - HX_MARK_MEMBER_NAME(nmeOnComplete,"nmeOnComplete"); - HX_MARK_MEMBER_NAME(state,"state"); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(dataFormat,"dataFormat"); - HX_MARK_MEMBER_NAME(data,"data"); - HX_MARK_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_MARK_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void URLLoader_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeOnComplete,"nmeOnComplete"); - HX_VISIT_MEMBER_NAME(state,"state"); - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(dataFormat,"dataFormat"); - HX_VISIT_MEMBER_NAME(data,"data"); - HX_VISIT_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_VISIT_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic URLLoader_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - if (HX_FIELD_EQ(inName,"data") ) { return data; } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"state") ) { return state; } - break; - case 6: - if (HX_FIELD_EQ(inName,"update") ) { return update_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"urlInit") ) { return urlInit; } - if (HX_FIELD_EQ(inName,"onError") ) { return onError_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"urlError") ) { return urlError; } - break; - case 9: - if (HX_FIELD_EQ(inName,"hasActive") ) { return hasActive_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - break; - case 10: - if (HX_FIELD_EQ(inName,"urlInvalid") ) { return urlInvalid; } - if (HX_FIELD_EQ(inName,"urlLoading") ) { return urlLoading; } - if (HX_FIELD_EQ(inName,"initialize") ) { return initialize_dyn(); } - if (HX_FIELD_EQ(inName,"getCookies") ) { return getCookies_dyn(); } - if (HX_FIELD_EQ(inName,"dataFormat") ) { return dataFormat; } - if (HX_FIELD_EQ(inName,"bytesTotal") ) { return bytesTotal; } - break; - case 11: - if (HX_FIELD_EQ(inName,"urlComplete") ) { return urlComplete; } - if (HX_FIELD_EQ(inName,"nmePollData") ) { return nmePollData_dyn(); } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { return bytesLoaded; } - break; - case 13: - if (HX_FIELD_EQ(inName,"activeLoaders") ) { return activeLoaders; } - if (HX_FIELD_EQ(inName,"nmeOnComplete") ) { return nmeOnComplete; } - break; - case 14: - if (HX_FIELD_EQ(inName,"nmeLoadPending") ) { return nmeLoadPending_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_curl_create") ) { return nme_curl_create; } - if (HX_FIELD_EQ(inName,"nmeDataComplete") ) { return nmeDataComplete_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_curl_get_code") ) { return nme_curl_get_code; } - if (HX_FIELD_EQ(inName,"nme_curl_get_data") ) { return nme_curl_get_data; } - break; - case 18: - if (HX_FIELD_EQ(inName,"dispatchHTTPStatus") ) { return dispatchHTTPStatus_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_curl_initialize") ) { return nme_curl_initialize; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_curl_get_cookies") ) { return nme_curl_get_cookies; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_curl_update_loader") ) { return nme_curl_update_loader; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_curl_process_loaders") ) { return nme_curl_process_loaders; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_curl_get_error_message") ) { return nme_curl_get_error_message; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic URLLoader_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"data") ) { data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"state") ) { state=inValue.Cast< int >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"urlInit") ) { urlInit=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"urlError") ) { urlError=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"urlInvalid") ) { urlInvalid=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"urlLoading") ) { urlLoading=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"dataFormat") ) { dataFormat=inValue.Cast< ::neash::net::URLLoaderDataFormat >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesTotal") ) { bytesTotal=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"urlComplete") ) { urlComplete=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { bytesLoaded=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"activeLoaders") ) { activeLoaders=inValue.Cast< ::List >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeOnComplete") ) { nmeOnComplete=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_curl_create") ) { nme_curl_create=inValue.Cast< Dynamic >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_curl_get_code") ) { nme_curl_get_code=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_curl_get_data") ) { nme_curl_get_data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_curl_initialize") ) { nme_curl_initialize=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_curl_get_cookies") ) { nme_curl_get_cookies=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_curl_update_loader") ) { nme_curl_update_loader=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_curl_process_loaders") ) { nme_curl_process_loaders=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_curl_get_error_message") ) { nme_curl_get_error_message=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void URLLoader_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("state")); - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("dataFormat")); - outFields->push(HX_CSTRING("data")); - outFields->push(HX_CSTRING("bytesTotal")); - outFields->push(HX_CSTRING("bytesLoaded")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("activeLoaders"), - HX_CSTRING("urlInvalid"), - HX_CSTRING("urlInit"), - HX_CSTRING("urlLoading"), - HX_CSTRING("urlComplete"), - HX_CSTRING("urlError"), - HX_CSTRING("hasActive"), - HX_CSTRING("initialize"), - HX_CSTRING("nmeLoadPending"), - HX_CSTRING("nmePollData"), - HX_CSTRING("nme_curl_create"), - HX_CSTRING("nme_curl_process_loaders"), - HX_CSTRING("nme_curl_update_loader"), - HX_CSTRING("nme_curl_get_code"), - HX_CSTRING("nme_curl_get_error_message"), - HX_CSTRING("nme_curl_get_data"), - HX_CSTRING("nme_curl_get_cookies"), - HX_CSTRING("nme_curl_initialize"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("update"), - HX_CSTRING("dispatchHTTPStatus"), - HX_CSTRING("onError"), - HX_CSTRING("nmeDataComplete"), - HX_CSTRING("load"), - HX_CSTRING("getCookies"), - HX_CSTRING("close"), - HX_CSTRING("nmeOnComplete"), - HX_CSTRING("state"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("dataFormat"), - HX_CSTRING("data"), - HX_CSTRING("bytesTotal"), - HX_CSTRING("bytesLoaded"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLLoader_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(URLLoader_obj::activeLoaders,"activeLoaders"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlInvalid,"urlInvalid"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlInit,"urlInit"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlLoading,"urlLoading"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlComplete,"urlComplete"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlError,"urlError"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_create,"nme_curl_create"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_process_loaders,"nme_curl_process_loaders"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_update_loader,"nme_curl_update_loader"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_get_code,"nme_curl_get_code"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_get_error_message,"nme_curl_get_error_message"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_get_data,"nme_curl_get_data"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_get_cookies,"nme_curl_get_cookies"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_initialize,"nme_curl_initialize"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLLoader_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::activeLoaders,"activeLoaders"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlInvalid,"urlInvalid"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlInit,"urlInit"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlLoading,"urlLoading"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlComplete,"urlComplete"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlError,"urlError"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_create,"nme_curl_create"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_process_loaders,"nme_curl_process_loaders"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_update_loader,"nme_curl_update_loader"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_get_code,"nme_curl_get_code"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_get_error_message,"nme_curl_get_error_message"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_get_data,"nme_curl_get_data"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_get_cookies,"nme_curl_get_cookies"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_initialize,"nme_curl_initialize"); -}; - -Class URLLoader_obj::__mClass; - -void URLLoader_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLLoader"), hx::TCanCast< URLLoader_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLLoader_obj::__boot() -{ - activeLoaders= ::List_obj::__new(); - urlInvalid= (int)0; - urlInit= (int)1; - urlLoading= (int)2; - urlComplete= (int)3; - urlError= (int)4; - nme_curl_create= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_create"),(int)1); - nme_curl_process_loaders= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_process_loaders"),(int)0); - nme_curl_update_loader= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_update_loader"),(int)2); - nme_curl_get_code= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_get_code"),(int)1); - nme_curl_get_error_message= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_get_error_message"),(int)1); - nme_curl_get_data= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_get_data"),(int)1); - nme_curl_get_cookies= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_get_cookies"),(int)1); - nme_curl_initialize= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_initialize"),(int)1); -} - -} // end namespace neash -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/net/URLLoaderDataFormat.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/net/URLLoaderDataFormat.cpp deleted file mode 100644 index cf8b640..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/net/URLLoaderDataFormat.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_net_URLLoaderDataFormat -#include -#endif -namespace neash{ -namespace net{ - -::neash::net::URLLoaderDataFormat URLLoaderDataFormat_obj::BINARY; - -::neash::net::URLLoaderDataFormat URLLoaderDataFormat_obj::TEXT; - -::neash::net::URLLoaderDataFormat URLLoaderDataFormat_obj::VARIABLES; - -HX_DEFINE_CREATE_ENUM(URLLoaderDataFormat_obj) - -int URLLoaderDataFormat_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BINARY")) return 0; - if (inName==HX_CSTRING("TEXT")) return 1; - if (inName==HX_CSTRING("VARIABLES")) return 2; - return super::__FindIndex(inName); -} - -int URLLoaderDataFormat_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BINARY")) return 0; - if (inName==HX_CSTRING("TEXT")) return 0; - if (inName==HX_CSTRING("VARIABLES")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic URLLoaderDataFormat_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BINARY")) return BINARY; - if (inName==HX_CSTRING("TEXT")) return TEXT; - if (inName==HX_CSTRING("VARIABLES")) return VARIABLES; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("BINARY"), - HX_CSTRING("TEXT"), - HX_CSTRING("VARIABLES"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLLoaderDataFormat_obj::BINARY,"BINARY"); - HX_MARK_MEMBER_NAME(URLLoaderDataFormat_obj::TEXT,"TEXT"); - HX_MARK_MEMBER_NAME(URLLoaderDataFormat_obj::VARIABLES,"VARIABLES"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLLoaderDataFormat_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(URLLoaderDataFormat_obj::BINARY,"BINARY"); - HX_VISIT_MEMBER_NAME(URLLoaderDataFormat_obj::TEXT,"TEXT"); - HX_VISIT_MEMBER_NAME(URLLoaderDataFormat_obj::VARIABLES,"VARIABLES"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class URLLoaderDataFormat_obj::__mClass; - -Dynamic __Create_URLLoaderDataFormat_obj() { return new URLLoaderDataFormat_obj; } - -void URLLoaderDataFormat_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLLoaderDataFormat"), hx::TCanCast< URLLoaderDataFormat_obj >,sStaticFields,sMemberFields, - &__Create_URLLoaderDataFormat_obj, &__Create, - &super::__SGetClass(), &CreateURLLoaderDataFormat_obj, sMarkStatics, sVisitStatic); -} - -void URLLoaderDataFormat_obj::__boot() -{ -Static(BINARY) = hx::CreateEnum< URLLoaderDataFormat_obj >(HX_CSTRING("BINARY"),0); -Static(TEXT) = hx::CreateEnum< URLLoaderDataFormat_obj >(HX_CSTRING("TEXT"),1); -Static(VARIABLES) = hx::CreateEnum< URLLoaderDataFormat_obj >(HX_CSTRING("VARIABLES"),2); -} - - -} // end namespace neash -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/net/URLRequest.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/net/URLRequest.cpp deleted file mode 100644 index 3cd9b3b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/net/URLRequest.cpp +++ /dev/null @@ -1,402 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_net_URLRequest -#include -#endif -#ifndef INCLUDED_neash_net_URLRequestHeader -#include -#endif -#ifndef INCLUDED_neash_net_URLVariables -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace net{ - -Void URLRequest_obj::__construct(::String inURL) -{ -HX_STACK_PUSH("URLRequest::new","neash/net/URLRequest.hx",31); -{ - HX_STACK_LINE(32) - if (((inURL != null()))){ - HX_STACK_LINE(33) - this->url = inURL; - } - HX_STACK_LINE(34) - this->requestHeaders = Array_obj< ::neash::net::URLRequestHeader >::__new(); - HX_STACK_LINE(35) - this->method = HX_CSTRING("GET"); - HX_STACK_LINE(37) - this->verbose = false; - HX_STACK_LINE(38) - this->cookieString = HX_CSTRING(""); - HX_STACK_LINE(39) - this->authType = (int)0; - HX_STACK_LINE(40) - this->contentType = HX_CSTRING("application/x-www-form-urlencoded"); - HX_STACK_LINE(41) - this->credentials = HX_CSTRING(""); -} -; - return null(); -} - -URLRequest_obj::~URLRequest_obj() { } - -Dynamic URLRequest_obj::__CreateEmpty() { return new URLRequest_obj; } -hx::ObjectPtr< URLRequest_obj > URLRequest_obj::__new(::String inURL) -{ hx::ObjectPtr< URLRequest_obj > result = new URLRequest_obj(); - result->__construct(inURL); - return result;} - -Dynamic URLRequest_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLRequest_obj > result = new URLRequest_obj(); - result->__construct(inArgs[0]); - return result;} - -Void URLRequest_obj::nmePrepare( ){ -{ - HX_STACK_PUSH("URLRequest::nmePrepare","neash/net/URLRequest.hx",54); - HX_STACK_THIS(this); - HX_STACK_LINE(54) - if (((bool(::Std_obj::is(this->data,hx::ClassOf< ::neash::utils::ByteArray >())) || bool((this->data == null()))))){ - HX_STACK_LINE(55) - this->nmeBytes = this->data; - } - else{ - HX_STACK_LINE(57) - if ((::Std_obj::is(this->data,hx::ClassOf< ::neash::net::URLVariables >()))){ - HX_STACK_LINE(58) - ::neash::net::URLVariables vars = this->data; HX_STACK_VAR(vars,"vars"); - HX_STACK_LINE(59) - ::String str = vars->toString(); HX_STACK_VAR(str,"str"); - HX_STACK_LINE(60) - this->nmeBytes = ::neash::utils::ByteArray_obj::__new(null()); - HX_STACK_LINE(61) - this->nmeBytes->writeUTFBytes(str); - } - else{ - HX_STACK_LINE(62) - if ((::Std_obj::is(this->data,hx::ClassOf< ::String >()))){ - HX_STACK_LINE(63) - ::String str = this->data; HX_STACK_VAR(str,"str"); - HX_STACK_LINE(64) - this->nmeBytes = ::neash::utils::ByteArray_obj::__new(null()); - HX_STACK_LINE(65) - this->nmeBytes->writeUTFBytes(str); - } - else{ - HX_STACK_LINE(66) - if ((::Std_obj::is(this->data,hx::ClassOf< ::Dynamic >()))){ - HX_STACK_LINE(67) - ::neash::net::URLVariables vars = ::neash::net::URLVariables_obj::__new(null()); HX_STACK_VAR(vars,"vars"); - HX_STACK_LINE(68) - { - HX_STACK_LINE(68) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::String > _g1 = ::Reflect_obj::fields(this->data); HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(68) - while(((_g < _g1->length))){ - HX_STACK_LINE(68) - ::String i = _g1->__get(_g); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(68) - ++(_g); - HX_STACK_LINE(69) - if (((vars != null()))){ - HX_STACK_LINE(69) - vars->__SetField(i,::Reflect_obj::field(this->data,i),false); - } - } - } - HX_STACK_LINE(70) - ::String str = vars->toString(); HX_STACK_VAR(str,"str"); - HX_STACK_LINE(71) - this->nmeBytes = ::neash::utils::ByteArray_obj::__new(null()); - HX_STACK_LINE(72) - this->nmeBytes->writeUTFBytes(str); - } - else{ - HX_STACK_LINE(73) - hx::Throw (HX_CSTRING("Unknown data type")); - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLRequest_obj,nmePrepare,(void)) - -Void URLRequest_obj::digestAuth( ::String inUser,::String inPasswd){ -{ - HX_STACK_PUSH("URLRequest::digestAuth","neash/net/URLRequest.hx",49); - HX_STACK_THIS(this); - HX_STACK_ARG(inUser,"inUser"); - HX_STACK_ARG(inPasswd,"inPasswd"); - HX_STACK_LINE(50) - this->authType = (int)2; - HX_STACK_LINE(51) - this->credentials = ((inUser + HX_CSTRING(":")) + inPasswd); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(URLRequest_obj,digestAuth,(void)) - -Void URLRequest_obj::basicAuth( ::String inUser,::String inPasswd){ -{ - HX_STACK_PUSH("URLRequest::basicAuth","neash/net/URLRequest.hx",44); - HX_STACK_THIS(this); - HX_STACK_ARG(inUser,"inUser"); - HX_STACK_ARG(inPasswd,"inPasswd"); - HX_STACK_LINE(45) - this->authType = (int)1; - HX_STACK_LINE(46) - this->credentials = ((inUser + HX_CSTRING(":")) + inPasswd); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(URLRequest_obj,basicAuth,(void)) - -int URLRequest_obj::AUTH_BASIC; - -int URLRequest_obj::AUTH_DIGEST; - -int URLRequest_obj::AUTH_GSSNEGOTIATE; - -int URLRequest_obj::AUTH_NTLM; - -int URLRequest_obj::AUTH_DIGEST_IE; - -int URLRequest_obj::AUTH_DIGEST_ANY; - - -URLRequest_obj::URLRequest_obj() -{ -} - -void URLRequest_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLRequest); - HX_MARK_MEMBER_NAME(nmeBytes,"nmeBytes"); - HX_MARK_MEMBER_NAME(credentials,"credentials"); - HX_MARK_MEMBER_NAME(data,"data"); - HX_MARK_MEMBER_NAME(contentType,"contentType"); - HX_MARK_MEMBER_NAME(method,"method"); - HX_MARK_MEMBER_NAME(verbose,"verbose"); - HX_MARK_MEMBER_NAME(cookieString,"cookieString"); - HX_MARK_MEMBER_NAME(authType,"authType"); - HX_MARK_MEMBER_NAME(requestHeaders,"requestHeaders"); - HX_MARK_MEMBER_NAME(url,"url"); - HX_MARK_END_CLASS(); -} - -void URLRequest_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeBytes,"nmeBytes"); - HX_VISIT_MEMBER_NAME(credentials,"credentials"); - HX_VISIT_MEMBER_NAME(data,"data"); - HX_VISIT_MEMBER_NAME(contentType,"contentType"); - HX_VISIT_MEMBER_NAME(method,"method"); - HX_VISIT_MEMBER_NAME(verbose,"verbose"); - HX_VISIT_MEMBER_NAME(cookieString,"cookieString"); - HX_VISIT_MEMBER_NAME(authType,"authType"); - HX_VISIT_MEMBER_NAME(requestHeaders,"requestHeaders"); - HX_VISIT_MEMBER_NAME(url,"url"); -} - -Dynamic URLRequest_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"url") ) { return url; } - break; - case 4: - if (HX_FIELD_EQ(inName,"data") ) { return data; } - break; - case 6: - if (HX_FIELD_EQ(inName,"method") ) { return method; } - break; - case 7: - if (HX_FIELD_EQ(inName,"verbose") ) { return verbose; } - break; - case 8: - if (HX_FIELD_EQ(inName,"nmeBytes") ) { return nmeBytes; } - if (HX_FIELD_EQ(inName,"authType") ) { return authType; } - break; - case 9: - if (HX_FIELD_EQ(inName,"AUTH_NTLM") ) { return AUTH_NTLM; } - if (HX_FIELD_EQ(inName,"basicAuth") ) { return basicAuth_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"AUTH_BASIC") ) { return AUTH_BASIC; } - if (HX_FIELD_EQ(inName,"nmePrepare") ) { return nmePrepare_dyn(); } - if (HX_FIELD_EQ(inName,"digestAuth") ) { return digestAuth_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST") ) { return AUTH_DIGEST; } - if (HX_FIELD_EQ(inName,"credentials") ) { return credentials; } - if (HX_FIELD_EQ(inName,"contentType") ) { return contentType; } - break; - case 12: - if (HX_FIELD_EQ(inName,"cookieString") ) { return cookieString; } - break; - case 14: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST_IE") ) { return AUTH_DIGEST_IE; } - if (HX_FIELD_EQ(inName,"requestHeaders") ) { return requestHeaders; } - break; - case 15: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST_ANY") ) { return AUTH_DIGEST_ANY; } - break; - case 17: - if (HX_FIELD_EQ(inName,"AUTH_GSSNEGOTIATE") ) { return AUTH_GSSNEGOTIATE; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic URLRequest_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"url") ) { url=inValue.Cast< ::String >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"data") ) { data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"method") ) { method=inValue.Cast< ::String >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"verbose") ) { verbose=inValue.Cast< bool >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"nmeBytes") ) { nmeBytes=inValue.Cast< ::neash::utils::ByteArray >(); return inValue; } - if (HX_FIELD_EQ(inName,"authType") ) { authType=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"AUTH_NTLM") ) { AUTH_NTLM=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"AUTH_BASIC") ) { AUTH_BASIC=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST") ) { AUTH_DIGEST=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"credentials") ) { credentials=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"contentType") ) { contentType=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"cookieString") ) { cookieString=inValue.Cast< ::String >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST_IE") ) { AUTH_DIGEST_IE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"requestHeaders") ) { requestHeaders=inValue.Cast< Array< ::neash::net::URLRequestHeader > >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST_ANY") ) { AUTH_DIGEST_ANY=inValue.Cast< int >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"AUTH_GSSNEGOTIATE") ) { AUTH_GSSNEGOTIATE=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void URLRequest_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeBytes")); - outFields->push(HX_CSTRING("credentials")); - outFields->push(HX_CSTRING("data")); - outFields->push(HX_CSTRING("contentType")); - outFields->push(HX_CSTRING("method")); - outFields->push(HX_CSTRING("verbose")); - outFields->push(HX_CSTRING("cookieString")); - outFields->push(HX_CSTRING("authType")); - outFields->push(HX_CSTRING("requestHeaders")); - outFields->push(HX_CSTRING("url")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("AUTH_BASIC"), - HX_CSTRING("AUTH_DIGEST"), - HX_CSTRING("AUTH_GSSNEGOTIATE"), - HX_CSTRING("AUTH_NTLM"), - HX_CSTRING("AUTH_DIGEST_IE"), - HX_CSTRING("AUTH_DIGEST_ANY"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmePrepare"), - HX_CSTRING("digestAuth"), - HX_CSTRING("basicAuth"), - HX_CSTRING("nmeBytes"), - HX_CSTRING("credentials"), - HX_CSTRING("data"), - HX_CSTRING("contentType"), - HX_CSTRING("method"), - HX_CSTRING("verbose"), - HX_CSTRING("cookieString"), - HX_CSTRING("authType"), - HX_CSTRING("requestHeaders"), - HX_CSTRING("url"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLRequest_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_BASIC,"AUTH_BASIC"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST,"AUTH_DIGEST"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_GSSNEGOTIATE,"AUTH_GSSNEGOTIATE"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_NTLM,"AUTH_NTLM"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST_IE,"AUTH_DIGEST_IE"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST_ANY,"AUTH_DIGEST_ANY"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLRequest_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_BASIC,"AUTH_BASIC"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST,"AUTH_DIGEST"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_GSSNEGOTIATE,"AUTH_GSSNEGOTIATE"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_NTLM,"AUTH_NTLM"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST_IE,"AUTH_DIGEST_IE"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST_ANY,"AUTH_DIGEST_ANY"); -}; - -Class URLRequest_obj::__mClass; - -void URLRequest_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLRequest"), hx::TCanCast< URLRequest_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLRequest_obj::__boot() -{ - AUTH_BASIC= (int)1; - AUTH_DIGEST= (int)2; - AUTH_GSSNEGOTIATE= (int)4; - AUTH_NTLM= (int)8; - AUTH_DIGEST_IE= (int)16; - AUTH_DIGEST_ANY= (int)15; -} - -} // end namespace neash -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/net/URLRequestHeader.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/net/URLRequestHeader.cpp deleted file mode 100644 index b225da8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/net/URLRequestHeader.cpp +++ /dev/null @@ -1,115 +0,0 @@ -#include - -#ifndef INCLUDED_neash_net_URLRequestHeader -#include -#endif -namespace neash{ -namespace net{ - -Void URLRequestHeader_obj::__construct(::String name,::String value) -{ -HX_STACK_PUSH("URLRequestHeader::new","neash/net/URLRequestHeader.hx",8); -{ - HX_STACK_LINE(9) - this->name = name; - HX_STACK_LINE(10) - this->value = value; -} -; - return null(); -} - -URLRequestHeader_obj::~URLRequestHeader_obj() { } - -Dynamic URLRequestHeader_obj::__CreateEmpty() { return new URLRequestHeader_obj; } -hx::ObjectPtr< URLRequestHeader_obj > URLRequestHeader_obj::__new(::String name,::String value) -{ hx::ObjectPtr< URLRequestHeader_obj > result = new URLRequestHeader_obj(); - result->__construct(name,value); - return result;} - -Dynamic URLRequestHeader_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLRequestHeader_obj > result = new URLRequestHeader_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - - -URLRequestHeader_obj::URLRequestHeader_obj() -{ -} - -void URLRequestHeader_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLRequestHeader); - HX_MARK_MEMBER_NAME(value,"value"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_END_CLASS(); -} - -void URLRequestHeader_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(value,"value"); - HX_VISIT_MEMBER_NAME(name,"name"); -} - -Dynamic URLRequestHeader_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 5: - if (HX_FIELD_EQ(inName,"value") ) { return value; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic URLRequestHeader_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"value") ) { value=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void URLRequestHeader_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("value")); - outFields->push(HX_CSTRING("name")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("value"), - HX_CSTRING("name"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLRequestHeader_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLRequestHeader_obj::__mClass,"__mClass"); -}; - -Class URLRequestHeader_obj::__mClass; - -void URLRequestHeader_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLRequestHeader"), hx::TCanCast< URLRequestHeader_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLRequestHeader_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/net/URLRequestMethod.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/net/URLRequestMethod.cpp deleted file mode 100644 index 0633bab..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/net/URLRequestMethod.cpp +++ /dev/null @@ -1,151 +0,0 @@ -#include - -#ifndef INCLUDED_neash_net_URLRequestMethod -#include -#endif -namespace neash{ -namespace net{ - -Void URLRequestMethod_obj::__construct() -{ - return null(); -} - -URLRequestMethod_obj::~URLRequestMethod_obj() { } - -Dynamic URLRequestMethod_obj::__CreateEmpty() { return new URLRequestMethod_obj; } -hx::ObjectPtr< URLRequestMethod_obj > URLRequestMethod_obj::__new() -{ hx::ObjectPtr< URLRequestMethod_obj > result = new URLRequestMethod_obj(); - result->__construct(); - return result;} - -Dynamic URLRequestMethod_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLRequestMethod_obj > result = new URLRequestMethod_obj(); - result->__construct(); - return result;} - -::String URLRequestMethod_obj::DELETE; - -::String URLRequestMethod_obj::GET; - -::String URLRequestMethod_obj::HEAD; - -::String URLRequestMethod_obj::OPTIONS; - -::String URLRequestMethod_obj::POST; - -::String URLRequestMethod_obj::PUT; - - -URLRequestMethod_obj::URLRequestMethod_obj() -{ -} - -void URLRequestMethod_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLRequestMethod); - HX_MARK_END_CLASS(); -} - -void URLRequestMethod_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic URLRequestMethod_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"GET") ) { return GET; } - if (HX_FIELD_EQ(inName,"PUT") ) { return PUT; } - break; - case 4: - if (HX_FIELD_EQ(inName,"HEAD") ) { return HEAD; } - if (HX_FIELD_EQ(inName,"POST") ) { return POST; } - break; - case 6: - if (HX_FIELD_EQ(inName,"DELETE") ) { return DELETE; } - break; - case 7: - if (HX_FIELD_EQ(inName,"OPTIONS") ) { return OPTIONS; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic URLRequestMethod_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"GET") ) { GET=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"PUT") ) { PUT=inValue.Cast< ::String >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"HEAD") ) { HEAD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"POST") ) { POST=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"DELETE") ) { DELETE=inValue.Cast< ::String >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"OPTIONS") ) { OPTIONS=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void URLRequestMethod_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("DELETE"), - HX_CSTRING("GET"), - HX_CSTRING("HEAD"), - HX_CSTRING("OPTIONS"), - HX_CSTRING("POST"), - HX_CSTRING("PUT"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::DELETE,"DELETE"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::GET,"GET"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::HEAD,"HEAD"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::OPTIONS,"OPTIONS"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::POST,"POST"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::PUT,"PUT"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::DELETE,"DELETE"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::GET,"GET"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::HEAD,"HEAD"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::OPTIONS,"OPTIONS"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::POST,"POST"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::PUT,"PUT"); -}; - -Class URLRequestMethod_obj::__mClass; - -void URLRequestMethod_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLRequestMethod"), hx::TCanCast< URLRequestMethod_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLRequestMethod_obj::__boot() -{ - DELETE= HX_CSTRING("DELETE"); - GET= HX_CSTRING("GET"); - HEAD= HX_CSTRING("HEAD"); - OPTIONS= HX_CSTRING("OPTIONS"); - POST= HX_CSTRING("POST"); - PUT= HX_CSTRING("PUT"); -} - -} // end namespace neash -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/net/URLVariables.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/net/URLVariables.cpp deleted file mode 100644 index 55f298a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/net/URLVariables.cpp +++ /dev/null @@ -1,200 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_StringTools -#include -#endif -#ifndef INCLUDED_neash_net_URLVariables -#include -#endif -namespace neash{ -namespace net{ - -Void URLVariables_obj::__construct(::String inEncoded) -{ -HX_STACK_PUSH("URLVariables::new","neash/net/URLVariables.hx",7); -{ - HX_STACK_LINE(7) - if (((inEncoded != null()))){ - HX_STACK_LINE(9) - this->decode(inEncoded); - } -} -; - return null(); -} - -URLVariables_obj::~URLVariables_obj() { } - -Dynamic URLVariables_obj::__CreateEmpty() { return new URLVariables_obj; } -hx::ObjectPtr< URLVariables_obj > URLVariables_obj::__new(::String inEncoded) -{ hx::ObjectPtr< URLVariables_obj > result = new URLVariables_obj(); - result->__construct(inEncoded); - return result;} - -Dynamic URLVariables_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLVariables_obj > result = new URLVariables_obj(); - result->__construct(inArgs[0]); - return result;} - -::String URLVariables_obj::toString( ){ - HX_STACK_PUSH("URLVariables::toString","neash/net/URLVariables.hx",30); - HX_STACK_THIS(this); - HX_STACK_LINE(31) - Array< ::String > result = Array_obj< ::String >::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(32) - Array< ::String > fields = ::Reflect_obj::fields(hx::ObjectPtr(this)); HX_STACK_VAR(fields,"fields"); - HX_STACK_LINE(33) - { - HX_STACK_LINE(33) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(33) - while(((_g < fields->length))){ - HX_STACK_LINE(33) - ::String f = fields->__get(_g); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(33) - ++(_g); - HX_STACK_LINE(34) - result->push(((::StringTools_obj::urlEncode(f) + HX_CSTRING("=")) + ::StringTools_obj::urlEncode(::Reflect_obj::field(hx::ObjectPtr(this),f)))); - } - } - HX_STACK_LINE(36) - return result->join(HX_CSTRING("&")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLVariables_obj,toString,return ) - -Void URLVariables_obj::decode( ::String inVars){ -{ - HX_STACK_PUSH("URLVariables::decode","neash/net/URLVariables.hx",13); - HX_STACK_THIS(this); - HX_STACK_ARG(inVars,"inVars"); - HX_STACK_LINE(14) - Array< ::String > fields = ::Reflect_obj::fields(hx::ObjectPtr(this)); HX_STACK_VAR(fields,"fields"); - HX_STACK_LINE(15) - { - HX_STACK_LINE(15) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(15) - while(((_g < fields->length))){ - HX_STACK_LINE(15) - ::String f = fields->__get(_g); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(15) - ++(_g); - HX_STACK_LINE(16) - ::Reflect_obj::deleteField(hx::ObjectPtr(this),f); - } - } - HX_STACK_LINE(17) - Array< ::String > fields1 = inVars.split(HX_CSTRING(";"))->join(HX_CSTRING("&")).split(HX_CSTRING("&")); HX_STACK_VAR(fields1,"fields1"); - HX_STACK_LINE(18) - { - HX_STACK_LINE(18) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(18) - while(((_g < fields1->length))){ - HX_STACK_LINE(18) - ::String f = fields1->__get(_g); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(18) - ++(_g); - HX_STACK_LINE(20) - int eq = f.indexOf(HX_CSTRING("="),null()); HX_STACK_VAR(eq,"eq"); - HX_STACK_LINE(21) - if (((eq > (int)0))){ - HX_STACK_LINE(22) - this->__SetField(::StringTools_obj::urlDecode(f.substr((int)0,eq)),::StringTools_obj::urlDecode(f.substr((eq + (int)1),null())),false); - } - else{ - HX_STACK_LINE(24) - if (((eq != (int)0))){ - HX_STACK_LINE(25) - this->__SetField(::StringTools_obj::urlDecode(f),HX_CSTRING(""),false); - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(URLVariables_obj,decode,(void)) - - -URLVariables_obj::URLVariables_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void URLVariables_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLVariables); - HX_MARK_DYNAMIC; - HX_MARK_END_CLASS(); -} - -void URLVariables_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; -} - -Dynamic URLVariables_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"decode") ) { return decode_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic URLVariables_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void URLVariables_obj::__GetFields(Array< ::String> &outFields) -{ - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("decode"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLVariables_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLVariables_obj::__mClass,"__mClass"); -}; - -Class URLVariables_obj::__mClass; - -void URLVariables_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLVariables"), hx::TCanCast< URLVariables_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLVariables_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/text/Font.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/text/Font.cpp deleted file mode 100644 index d73937a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/text/Font.cpp +++ /dev/null @@ -1,139 +0,0 @@ -#include - -#ifndef INCLUDED_neash_text_Font -#include -#endif -#ifndef INCLUDED_neash_text_FontStyle -#include -#endif -#ifndef INCLUDED_neash_text_FontType -#include -#endif -namespace neash{ -namespace text{ - -Void Font_obj::__construct(::String inFilename) -{ -HX_STACK_PUSH("Font::new","neash/text/Font.hx",17); -{ - HX_STACK_LINE(17) - this->fontName = inFilename; -} -; - return null(); -} - -Font_obj::~Font_obj() { } - -Dynamic Font_obj::__CreateEmpty() { return new Font_obj; } -hx::ObjectPtr< Font_obj > Font_obj::__new(::String inFilename) -{ hx::ObjectPtr< Font_obj > result = new Font_obj(); - result->__construct(inFilename); - return result;} - -Dynamic Font_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Font_obj > result = new Font_obj(); - result->__construct(inArgs[0]); - return result;} - -Dynamic Font_obj::load( ::String inFilename){ - HX_STACK_PUSH("Font::load","neash/text/Font.hx",25); - HX_STACK_ARG(inFilename,"inFilename"); - HX_STACK_LINE(25) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Font_obj,load,return ) - - -Font_obj::Font_obj() -{ -} - -void Font_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Font); - HX_MARK_MEMBER_NAME(fontType,"fontType"); - HX_MARK_MEMBER_NAME(fontStyle,"fontStyle"); - HX_MARK_MEMBER_NAME(fontName,"fontName"); - HX_MARK_END_CLASS(); -} - -void Font_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(fontType,"fontType"); - HX_VISIT_MEMBER_NAME(fontStyle,"fontStyle"); - HX_VISIT_MEMBER_NAME(fontName,"fontName"); -} - -Dynamic Font_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"fontType") ) { return fontType; } - if (HX_FIELD_EQ(inName,"fontName") ) { return fontName; } - break; - case 9: - if (HX_FIELD_EQ(inName,"fontStyle") ) { return fontStyle; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Font_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"fontType") ) { fontType=inValue.Cast< ::neash::text::FontType >(); return inValue; } - if (HX_FIELD_EQ(inName,"fontName") ) { fontName=inValue.Cast< ::String >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"fontStyle") ) { fontStyle=inValue.Cast< ::neash::text::FontStyle >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Font_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("fontType")); - outFields->push(HX_CSTRING("fontStyle")); - outFields->push(HX_CSTRING("fontName")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("load"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("fontType"), - HX_CSTRING("fontStyle"), - HX_CSTRING("fontName"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Font_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Font_obj::__mClass,"__mClass"); -}; - -Class Font_obj::__mClass; - -void Font_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.text.Font"), hx::TCanCast< Font_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Font_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace text diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/text/FontStyle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/text/FontStyle.cpp deleted file mode 100644 index b2d42b7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/text/FontStyle.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_neash_text_FontStyle -#include -#endif -namespace neash{ -namespace text{ - -::neash::text::FontStyle FontStyle_obj::BOLD; - -::neash::text::FontStyle FontStyle_obj::BOLD_ITALIC; - -::neash::text::FontStyle FontStyle_obj::ITALIC; - -::neash::text::FontStyle FontStyle_obj::REGULAR; - -HX_DEFINE_CREATE_ENUM(FontStyle_obj) - -int FontStyle_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BOLD")) return 0; - if (inName==HX_CSTRING("BOLD_ITALIC")) return 1; - if (inName==HX_CSTRING("ITALIC")) return 2; - if (inName==HX_CSTRING("REGULAR")) return 3; - return super::__FindIndex(inName); -} - -int FontStyle_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BOLD")) return 0; - if (inName==HX_CSTRING("BOLD_ITALIC")) return 0; - if (inName==HX_CSTRING("ITALIC")) return 0; - if (inName==HX_CSTRING("REGULAR")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic FontStyle_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BOLD")) return BOLD; - if (inName==HX_CSTRING("BOLD_ITALIC")) return BOLD_ITALIC; - if (inName==HX_CSTRING("ITALIC")) return ITALIC; - if (inName==HX_CSTRING("REGULAR")) return REGULAR; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("BOLD"), - HX_CSTRING("BOLD_ITALIC"), - HX_CSTRING("ITALIC"), - HX_CSTRING("REGULAR"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FontStyle_obj::BOLD,"BOLD"); - HX_MARK_MEMBER_NAME(FontStyle_obj::BOLD_ITALIC,"BOLD_ITALIC"); - HX_MARK_MEMBER_NAME(FontStyle_obj::ITALIC,"ITALIC"); - HX_MARK_MEMBER_NAME(FontStyle_obj::REGULAR,"REGULAR"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FontStyle_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FontStyle_obj::BOLD,"BOLD"); - HX_VISIT_MEMBER_NAME(FontStyle_obj::BOLD_ITALIC,"BOLD_ITALIC"); - HX_VISIT_MEMBER_NAME(FontStyle_obj::ITALIC,"ITALIC"); - HX_VISIT_MEMBER_NAME(FontStyle_obj::REGULAR,"REGULAR"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class FontStyle_obj::__mClass; - -Dynamic __Create_FontStyle_obj() { return new FontStyle_obj; } - -void FontStyle_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.text.FontStyle"), hx::TCanCast< FontStyle_obj >,sStaticFields,sMemberFields, - &__Create_FontStyle_obj, &__Create, - &super::__SGetClass(), &CreateFontStyle_obj, sMarkStatics, sVisitStatic); -} - -void FontStyle_obj::__boot() -{ -Static(BOLD) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("BOLD"),0); -Static(BOLD_ITALIC) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("BOLD_ITALIC"),1); -Static(ITALIC) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("ITALIC"),2); -Static(REGULAR) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("REGULAR"),3); -} - - -} // end namespace neash -} // end namespace text diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/text/FontType.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/text/FontType.cpp deleted file mode 100644 index 69e21d4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/text/FontType.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_text_FontType -#include -#endif -namespace neash{ -namespace text{ - -::neash::text::FontType FontType_obj::DEVICE; - -::neash::text::FontType FontType_obj::EMBEDDED; - -::neash::text::FontType FontType_obj::EMBEDDED_CFF; - -HX_DEFINE_CREATE_ENUM(FontType_obj) - -int FontType_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("DEVICE")) return 0; - if (inName==HX_CSTRING("EMBEDDED")) return 1; - if (inName==HX_CSTRING("EMBEDDED_CFF")) return 2; - return super::__FindIndex(inName); -} - -int FontType_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("DEVICE")) return 0; - if (inName==HX_CSTRING("EMBEDDED")) return 0; - if (inName==HX_CSTRING("EMBEDDED_CFF")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic FontType_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("DEVICE")) return DEVICE; - if (inName==HX_CSTRING("EMBEDDED")) return EMBEDDED; - if (inName==HX_CSTRING("EMBEDDED_CFF")) return EMBEDDED_CFF; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("DEVICE"), - HX_CSTRING("EMBEDDED"), - HX_CSTRING("EMBEDDED_CFF"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FontType_obj::DEVICE,"DEVICE"); - HX_MARK_MEMBER_NAME(FontType_obj::EMBEDDED,"EMBEDDED"); - HX_MARK_MEMBER_NAME(FontType_obj::EMBEDDED_CFF,"EMBEDDED_CFF"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FontType_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FontType_obj::DEVICE,"DEVICE"); - HX_VISIT_MEMBER_NAME(FontType_obj::EMBEDDED,"EMBEDDED"); - HX_VISIT_MEMBER_NAME(FontType_obj::EMBEDDED_CFF,"EMBEDDED_CFF"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class FontType_obj::__mClass; - -Dynamic __Create_FontType_obj() { return new FontType_obj; } - -void FontType_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.text.FontType"), hx::TCanCast< FontType_obj >,sStaticFields,sMemberFields, - &__Create_FontType_obj, &__Create, - &super::__SGetClass(), &CreateFontType_obj, sMarkStatics, sVisitStatic); -} - -void FontType_obj::__boot() -{ -Static(DEVICE) = hx::CreateEnum< FontType_obj >(HX_CSTRING("DEVICE"),0); -Static(EMBEDDED) = hx::CreateEnum< FontType_obj >(HX_CSTRING("EMBEDDED"),1); -Static(EMBEDDED_CFF) = hx::CreateEnum< FontType_obj >(HX_CSTRING("EMBEDDED_CFF"),2); -} - - -} // end namespace neash -} // end namespace text diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/utils/ByteArray.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/utils/ByteArray.cpp deleted file mode 100644 index 1e7c3dd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/utils/ByteArray.cpp +++ /dev/null @@ -1,1115 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_cpp_zip_Compress -#include -#endif -#ifndef INCLUDED_cpp_zip_Uncompress -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_errors_EOFError -#include -#endif -#ifndef INCLUDED_neash_errors_Error -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace utils{ - -Void ByteArray_obj::__construct(hx::Null< int > __o_inSize) -{ -HX_STACK_PUSH("ByteArray::new","neash/utils/ByteArray.hx",35); -int inSize = __o_inSize.Default(0); -{ - HX_STACK_LINE(36) - this->bigEndian = true; - HX_STACK_LINE(37) - this->position = (int)0; - HX_STACK_LINE(38) - if (((inSize >= (int)0))){ - HX_STACK_LINE(45) - Array< unsigned char > data = Array_obj< unsigned char >::__new(); HX_STACK_VAR(data,"data"); - HX_STACK_LINE(46) - if (((inSize > (int)0))){ - HX_STACK_LINE(47) - data[(inSize - (int)1)] = (int)0; - } - HX_STACK_LINE(48) - super::__construct(inSize,data); - } -} -; - return null(); -} - -ByteArray_obj::~ByteArray_obj() { } - -Dynamic ByteArray_obj::__CreateEmpty() { return new ByteArray_obj; } -hx::ObjectPtr< ByteArray_obj > ByteArray_obj::__new(hx::Null< int > __o_inSize) -{ hx::ObjectPtr< ByteArray_obj > result = new ByteArray_obj(); - result->__construct(__o_inSize); - return result;} - -Dynamic ByteArray_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ByteArray_obj > result = new ByteArray_obj(); - result->__construct(inArgs[0]); - return result;} - -hx::Object *ByteArray_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::neash::utils::IDataInput_obj)) return operator ::neash::utils::IDataInput_obj *(); - return super::__ToInterface(inType); -} - -void ByteArray_obj::__init__() { -HX_STACK_PUSH("ByteArray::__init__","neash/utils/ByteArray.hx",68); -{ - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_1) - ::neash::utils::ByteArray run(int inLen){ - HX_STACK_PUSH("*::_Function_1_1","neash/utils/ByteArray.hx",69); - HX_STACK_ARG(inLen,"inLen"); - { - HX_STACK_LINE(69) - return ::neash::utils::ByteArray_obj::__new(inLen); - } - return null(); - } - HX_END_LOCAL_FUNC1(return) - - HX_STACK_LINE(69) - Dynamic factory = Dynamic(new _Function_1_1()); HX_STACK_VAR(factory,"factory"); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_2) - Void run(::neash::utils::ByteArray inArray,int inLen){ - HX_STACK_PUSH("*::_Function_1_2","neash/utils/ByteArray.hx",70); - HX_STACK_ARG(inArray,"inArray"); - HX_STACK_ARG(inLen,"inLen"); - { - HX_STACK_LINE(71) - if (((inLen > (int)0))){ - HX_STACK_LINE(72) - inArray->__Field(HX_CSTRING("ensureElem"),true)((inLen - (int)1),true); - } - HX_STACK_LINE(73) - inArray->__FieldRef(HX_CSTRING("length")) = inLen; - } - return null(); - } - HX_END_LOCAL_FUNC2((void)) - - HX_STACK_LINE(70) - Dynamic resize = Dynamic(new _Function_1_2()); HX_STACK_VAR(resize,"resize"); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_3) - Array< unsigned char > run(::neash::utils::ByteArray inArray){ - HX_STACK_PUSH("*::_Function_1_3","neash/utils/ByteArray.hx",75); - HX_STACK_ARG(inArray,"inArray"); - { - HX_STACK_LINE(75) - return ( (((inArray == null()))) ? Array< unsigned char >(null()) : Array< unsigned char >(inArray->__Field(HX_CSTRING("b"),true)) ); - } - return null(); - } - HX_END_LOCAL_FUNC1(return) - - HX_STACK_LINE(75) - Dynamic bytes = Dynamic(new _Function_1_3()); HX_STACK_VAR(bytes,"bytes"); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_4) - int run(::neash::utils::ByteArray inArray){ - HX_STACK_PUSH("*::_Function_1_4","neash/utils/ByteArray.hx",76); - HX_STACK_ARG(inArray,"inArray"); - { - HX_STACK_LINE(76) - return ( (((inArray == null()))) ? int((int)0) : int(inArray->__Field(HX_CSTRING("length"),true)) ); - } - return null(); - } - HX_END_LOCAL_FUNC1(return) - - HX_STACK_LINE(76) - Dynamic slen = Dynamic(new _Function_1_4()); HX_STACK_VAR(slen,"slen"); - HX_STACK_LINE(78) - Dynamic init = ::neash::Loader_obj::load(HX_CSTRING("nme_byte_array_init"),(int)4); HX_STACK_VAR(init,"init"); - HX_STACK_LINE(79) - init(factory,slen,resize,bytes); -} -} - -::String ByteArray_obj::nmeSetEndian( ::String s){ - HX_STACK_PUSH("ByteArray::nmeSetEndian","neash/utils/ByteArray.hx",487); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(487) - this->bigEndian = (s == HX_CSTRING("bigEndian")); - HX_STACK_LINE(487) - return s; -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,nmeSetEndian,return ) - -::String ByteArray_obj::nmeGetEndian( ){ - HX_STACK_PUSH("ByteArray::nmeGetEndian","neash/utils/ByteArray.hx",486); - HX_STACK_THIS(this); - HX_STACK_LINE(486) - return ( ((this->bigEndian)) ? ::String(HX_CSTRING("bigEndian")) : ::String(HX_CSTRING("littleEndian")) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,nmeGetEndian,return ) - -int ByteArray_obj::nmeGetBytesAvailable( ){ - HX_STACK_PUSH("ByteArray::nmeGetBytesAvailable","neash/utils/ByteArray.hx",485); - HX_STACK_THIS(this); - HX_STACK_LINE(485) - return (this->length - this->position); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,nmeGetBytesAvailable,return ) - -Void ByteArray_obj::writeUTFBytes( ::String s){ -{ - HX_STACK_PUSH("ByteArray::writeUTFBytes","neash/utils/ByteArray.hx",470); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(474) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::ofString(s); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(476) - this->writeBytes(bytes,null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeUTFBytes,(void)) - -Void ByteArray_obj::writeUTF( ::String s){ -{ - HX_STACK_PUSH("ByteArray::writeUTF","neash/utils/ByteArray.hx",458); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(462) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::ofString(s); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(464) - this->writeShort(bytes->length); - HX_STACK_LINE(465) - this->writeBytes(bytes,null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeUTF,(void)) - -Void ByteArray_obj::writeUnsignedInt( int value){ -{ - HX_STACK_PUSH("ByteArray::writeUnsignedInt","neash/utils/ByteArray.hx",452); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(452) - this->writeInt(value); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeUnsignedInt,(void)) - -Void ByteArray_obj::writeShort( int value){ -{ - HX_STACK_PUSH("ByteArray::writeShort","neash/utils/ByteArray.hx",436); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(437) - this->ensureElem((this->position + (int)1),true); - HX_STACK_LINE(438) - if ((this->bigEndian)){ - HX_STACK_LINE(440) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)8))); - HX_STACK_LINE(441) - this->b->__unsafe_set((this->position)++,value); - } - else{ - HX_STACK_LINE(445) - this->b->__unsafe_set((this->position)++,value); - HX_STACK_LINE(446) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)8))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeShort,(void)) - -Void ByteArray_obj::writeInt( int value){ -{ - HX_STACK_PUSH("ByteArray::writeInt","neash/utils/ByteArray.hx",412); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(413) - this->ensureElem((this->position + (int)3),true); - HX_STACK_LINE(414) - if ((this->bigEndian)){ - HX_STACK_LINE(416) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)24))); - HX_STACK_LINE(417) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)16))); - HX_STACK_LINE(418) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)8))); - HX_STACK_LINE(419) - this->b->__unsafe_set((this->position)++,value); - } - else{ - HX_STACK_LINE(423) - this->b->__unsafe_set((this->position)++,value); - HX_STACK_LINE(424) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)8))); - HX_STACK_LINE(425) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)16))); - HX_STACK_LINE(426) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)24))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeInt,(void)) - -Void ByteArray_obj::writeFloat( Float x){ -{ - HX_STACK_PUSH("ByteArray::writeFloat","neash/utils/ByteArray.hx",401); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(405) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::ofData(::neash::utils::ByteArray_obj::_float_bytes(x,this->bigEndian)); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(407) - this->writeBytes(bytes,null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeFloat,(void)) - -Void ByteArray_obj::writeFile( ::String inString){ -{ - HX_STACK_PUSH("ByteArray::writeFile","neash/utils/ByteArray.hx",394); - HX_STACK_THIS(this); - HX_STACK_ARG(inString,"inString"); - HX_STACK_LINE(394) - ::neash::utils::ByteArray_obj::nme_byte_array_overwrite_file(inString,hx::ObjectPtr(this)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeFile,(void)) - -Void ByteArray_obj::writeDouble( Float x){ -{ - HX_STACK_PUSH("ByteArray::writeDouble","neash/utils/ByteArray.hx",382); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(386) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::ofData(::neash::utils::ByteArray_obj::_double_bytes(x,this->bigEndian)); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(388) - this->writeBytes(bytes,null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeDouble,(void)) - -Void ByteArray_obj::writeBytes( ::haxe::io::Bytes bytes,hx::Null< int > __o_inOffset,hx::Null< int > __o_inLength){ -int inOffset = __o_inOffset.Default(0); -int inLength = __o_inLength.Default(0); - HX_STACK_PUSH("ByteArray::writeBytes","neash/utils/ByteArray.hx",372); - HX_STACK_THIS(this); - HX_STACK_ARG(bytes,"bytes"); - HX_STACK_ARG(inOffset,"inOffset"); - HX_STACK_ARG(inLength,"inLength"); -{ - HX_STACK_LINE(373) - if (((inLength == (int)0))){ - HX_STACK_LINE(373) - inLength = (bytes->length - inOffset); - } - HX_STACK_LINE(374) - this->ensureElem(((this->position + inLength) - (int)1),true); - HX_STACK_LINE(375) - int opos = this->position; HX_STACK_VAR(opos,"opos"); - HX_STACK_LINE(376) - hx::AddEq(this->position,inLength); - HX_STACK_LINE(377) - this->blit(opos,bytes,inOffset,inLength); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(ByteArray_obj,writeBytes,(void)) - -Void ByteArray_obj::write_uncheck( int inByte){ -{ - HX_STACK_PUSH("ByteArray::write_uncheck","neash/utils/ByteArray.hx",362); - HX_STACK_THIS(this); - HX_STACK_ARG(inByte,"inByte"); - HX_STACK_LINE(362) - this->b->__unsafe_set((this->position)++,inByte); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,write_uncheck,(void)) - -Void ByteArray_obj::writeByte( int value){ -{ - HX_STACK_PUSH("ByteArray::writeByte","neash/utils/ByteArray.hx",352); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(353) - this->ensureElem(this->position,true); - HX_STACK_LINE(355) - this->b[(this->position)++] = value; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeByte,(void)) - -Void ByteArray_obj::writeBoolean( bool value){ -{ - HX_STACK_PUSH("ByteArray::writeBoolean","neash/utils/ByteArray.hx",347); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(347) - { - HX_STACK_LINE(348) - this->ensureElem(this->position,true); - HX_STACK_LINE(348) - this->b[(this->position)++] = ( ((value)) ? int((int)1) : int((int)0) ); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeBoolean,(void)) - -Void ByteArray_obj::uncompress( ::String __o_algorithm){ -::String algorithm = __o_algorithm.Default(HX_CSTRING("")); - HX_STACK_PUSH("ByteArray::uncompress","neash/utils/ByteArray.hx",329); - HX_STACK_THIS(this); - HX_STACK_ARG(algorithm,"algorithm"); -{ - HX_STACK_LINE(333) - ::neash::utils::ByteArray src = hx::ObjectPtr(this); HX_STACK_VAR(src,"src"); - HX_STACK_LINE(336) - ::haxe::io::Bytes result = ::cpp::zip::Uncompress_obj::run(src,null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(337) - this->b = result->b; - HX_STACK_LINE(338) - this->length = result->length; - HX_STACK_LINE(339) - this->position = (int)0; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,uncompress,(void)) - -int ByteArray_obj::ThrowEOFi( ){ - HX_STACK_PUSH("ByteArray::ThrowEOFi","neash/utils/ByteArray.hx",322); - HX_STACK_THIS(this); - HX_STACK_LINE(323) - hx::Throw (::neash::errors::EOFError_obj::__new()); - HX_STACK_LINE(324) - return (int)0; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,ThrowEOFi,return ) - -Void ByteArray_obj::setLength( int inLength){ -{ - HX_STACK_PUSH("ByteArray::setLength","neash/utils/ByteArray.hx",314); - HX_STACK_THIS(this); - HX_STACK_ARG(inLength,"inLength"); - HX_STACK_LINE(315) - if (((inLength > (int)0))){ - HX_STACK_LINE(316) - this->ensureElem((inLength - (int)1),false); - } - HX_STACK_LINE(317) - this->length = inLength; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,setLength,(void)) - -::String ByteArray_obj::readUTFBytes( int inLen){ - HX_STACK_PUSH("ByteArray::readUTFBytes","neash/utils/ByteArray.hx",297); - HX_STACK_THIS(this); - HX_STACK_ARG(inLen,"inLen"); - HX_STACK_LINE(298) - if ((((this->position + inLen) > this->length))){ - HX_STACK_LINE(299) - this->ThrowEOFi(); - } - HX_STACK_LINE(300) - int p = this->position; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(301) - hx::AddEq(this->position,inLen); - HX_STACK_LINE(306) - ::String result = HX_CSTRING(""); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(307) - ::__hxcpp_string_of_bytes(this->b,result,p,inLen); - HX_STACK_LINE(308) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,readUTFBytes,return ) - -::String ByteArray_obj::readUTF( ){ - HX_STACK_PUSH("ByteArray::readUTF","neash/utils/ByteArray.hx",290); - HX_STACK_THIS(this); - HX_STACK_LINE(291) - int len = this->readUnsignedShort(); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(292) - return this->readUTFBytes(len); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readUTF,return ) - -int ByteArray_obj::readUnsignedShort( ){ - HX_STACK_PUSH("ByteArray::readUnsignedShort","neash/utils/ByteArray.hx",282); - HX_STACK_THIS(this); - HX_STACK_LINE(283) - int ch1 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(284) - int ch2 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(285) - return ( ((this->bigEndian)) ? int((int((int(ch1) << int((int)8))) | int(ch2))) : int((((int(ch2) << int((int)8))) + ch1)) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readUnsignedShort,return ) - -int ByteArray_obj::readUnsignedInt( ){ - HX_STACK_PUSH("ByteArray::readUnsignedInt","neash/utils/ByteArray.hx",272); - HX_STACK_THIS(this); - HX_STACK_LINE(273) - int ch1 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(274) - int ch2 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(275) - int ch3 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(276) - int ch4 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch4,"ch4"); - HX_STACK_LINE(277) - return ( ((this->bigEndian)) ? int((int((int((int((int(ch1) << int((int)24))) | int((int(ch2) << int((int)16))))) | int((int(ch3) << int((int)8))))) | int(ch4))) : int((int((int((int((int(ch4) << int((int)24))) | int((int(ch3) << int((int)16))))) | int((int(ch2) << int((int)8))))) | int(ch1))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readUnsignedInt,return ) - -int ByteArray_obj::readUnsignedByte( ){ - HX_STACK_PUSH("ByteArray::readUnsignedByte","neash/utils/ByteArray.hx",266); - HX_STACK_THIS(this); - HX_STACK_LINE(266) - return ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readUnsignedByte,return ) - -int ByteArray_obj::readShort( ){ - HX_STACK_PUSH("ByteArray::readShort","neash/utils/ByteArray.hx",257); - HX_STACK_THIS(this); - HX_STACK_LINE(258) - int ch1 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(259) - int ch2 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(260) - int val = ( ((this->bigEndian)) ? int((int((int(ch1) << int((int)8))) | int(ch2))) : int((((int(ch2) << int((int)8))) + ch1)) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(261) - return ( (((val >= (int)32768))) ? int(((int)65534 - val)) : int(val) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readShort,return ) - -int ByteArray_obj::readInt( ){ - HX_STACK_PUSH("ByteArray::readInt","neash/utils/ByteArray.hx",247); - HX_STACK_THIS(this); - HX_STACK_LINE(248) - int ch1 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(249) - int ch2 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(250) - int ch3 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(251) - int ch4 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch4,"ch4"); - HX_STACK_LINE(252) - return ( ((this->bigEndian)) ? int((int((int((int((int(ch1) << int((int)24))) | int((int(ch2) << int((int)16))))) | int((int(ch3) << int((int)8))))) | int(ch4))) : int((int((int((int((int(ch4) << int((int)24))) | int((int(ch3) << int((int)16))))) | int((int(ch2) << int((int)8))))) | int(ch1))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readInt,return ) - -Float ByteArray_obj::readFloat( ){ - HX_STACK_PUSH("ByteArray::readFloat","neash/utils/ByteArray.hx",231); - HX_STACK_THIS(this); - HX_STACK_LINE(232) - if ((((this->position + (int)4) > this->length))){ - HX_STACK_LINE(233) - this->ThrowEOFi(); - } - HX_STACK_LINE(238) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::__new((int)4,this->b->slice(this->position,(this->position + (int)4))); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(241) - hx::AddEq(this->position,(int)4); - HX_STACK_LINE(242) - return ::neash::utils::ByteArray_obj::_float_of_bytes(bytes->b,this->bigEndian); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readFloat,return ) - -Float ByteArray_obj::readDouble( ){ - HX_STACK_PUSH("ByteArray::readDouble","neash/utils/ByteArray.hx",207); - HX_STACK_THIS(this); - HX_STACK_LINE(208) - if ((((this->position + (int)8) > this->length))){ - HX_STACK_LINE(209) - this->ThrowEOFi(); - } - HX_STACK_LINE(214) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::__new((int)8,this->b->slice(this->position,(this->position + (int)8))); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(217) - hx::AddEq(this->position,(int)8); - HX_STACK_LINE(218) - return ::neash::utils::ByteArray_obj::_double_of_bytes(bytes->b,this->bigEndian); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readDouble,return ) - -Void ByteArray_obj::readBytes( ::neash::utils::ByteArray outData,hx::Null< int > __o_inOffset,hx::Null< int > __o_inLen){ -int inOffset = __o_inOffset.Default(0); -int inLen = __o_inLen.Default(0); - HX_STACK_PUSH("ByteArray::readBytes","neash/utils/ByteArray.hx",185); - HX_STACK_THIS(this); - HX_STACK_ARG(outData,"outData"); - HX_STACK_ARG(inOffset,"inOffset"); - HX_STACK_ARG(inLen,"inLen"); -{ - HX_STACK_LINE(186) - if (((inLen == (int)0))){ - HX_STACK_LINE(187) - inLen = (this->length - this->position); - } - HX_STACK_LINE(188) - if ((((this->position + inLen) > this->length))){ - HX_STACK_LINE(189) - this->ThrowEOFi(); - } - HX_STACK_LINE(190) - if (((outData->length < (inOffset + inLen)))){ - HX_STACK_LINE(191) - outData->ensureElem(((inOffset + inLen) - (int)1),true); - } - HX_STACK_LINE(196) - Array< unsigned char > b1 = this->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(197) - Array< unsigned char > b2 = outData->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(198) - int p = this->position; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(199) - { - HX_STACK_LINE(199) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(199) - while(((_g < inLen))){ - HX_STACK_LINE(199) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(200) - b2[(inOffset + i)] = b1->__get((p + i)); - } - } - HX_STACK_LINE(202) - hx::AddEq(this->position,inLen); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(ByteArray_obj,readBytes,(void)) - -::String ByteArray_obj::readMultiByte( int inLen,::String charSet){ - HX_STACK_PUSH("ByteArray::readMultiByte","neash/utils/ByteArray.hx",177); - HX_STACK_THIS(this); - HX_STACK_ARG(inLen,"inLen"); - HX_STACK_ARG(charSet,"charSet"); - HX_STACK_LINE(177) - return this->readUTFBytes(inLen); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ByteArray_obj,readMultiByte,return ) - -int ByteArray_obj::readByte( ){ - HX_STACK_PUSH("ByteArray::readByte","neash/utils/ByteArray.hx",171); - HX_STACK_THIS(this); - HX_STACK_LINE(171) - return ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readByte,return ) - -bool ByteArray_obj::readBoolean( ){ - HX_STACK_PUSH("ByteArray::readBoolean","neash/utils/ByteArray.hx",165); - HX_STACK_THIS(this); - HX_STACK_LINE(165) - return ( ((((this->position + (int)1) < this->length))) ? bool((this->b->__get((this->position)++) != (int)0)) : bool((this->ThrowEOFi() != (int)0)) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readBoolean,return ) - -Void ByteArray_obj::ensureElem( int inSize,bool inUpdateLenght){ -{ - HX_STACK_PUSH("ByteArray::ensureElem","neash/utils/ByteArray.hx",132); - HX_STACK_THIS(this); - HX_STACK_ARG(inSize,"inSize"); - HX_STACK_ARG(inUpdateLenght,"inUpdateLenght"); - HX_STACK_LINE(133) - int len = (inSize + (int)1); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(143) - if (((this->b->length < len))){ - HX_STACK_LINE(144) - this->b->__SetSize(len); - } - HX_STACK_LINE(146) - if (((bool(inUpdateLenght) && bool((this->length < len))))){ - HX_STACK_LINE(147) - this->length = len; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ByteArray_obj,ensureElem,(void)) - -Void ByteArray_obj::compress( ::String __o_algorithm){ -::String algorithm = __o_algorithm.Default(HX_CSTRING("")); - HX_STACK_PUSH("ByteArray::compress","neash/utils/ByteArray.hx",115); - HX_STACK_THIS(this); - HX_STACK_ARG(algorithm,"algorithm"); -{ - HX_STACK_LINE(119) - ::neash::utils::ByteArray src = hx::ObjectPtr(this); HX_STACK_VAR(src,"src"); - HX_STACK_LINE(121) - ::haxe::io::Bytes result = ::cpp::zip::Compress_obj::run(src,(int)8); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(122) - this->b = result->b; - HX_STACK_LINE(123) - this->length = result->length; - HX_STACK_LINE(124) - this->position = this->length; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,compress,(void)) - -Void ByteArray_obj::clear( ){ -{ - HX_STACK_PUSH("ByteArray::clear","neash/utils/ByteArray.hx",109); - HX_STACK_THIS(this); - HX_STACK_LINE(110) - this->position = (int)0; - HX_STACK_LINE(111) - this->length = (int)0; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,clear,(void)) - -Void ByteArray_obj::checkData( int inLength){ -{ - HX_STACK_PUSH("ByteArray::checkData","neash/utils/ByteArray.hx",103); - HX_STACK_THIS(this); - HX_STACK_ARG(inLength,"inLength"); - HX_STACK_LINE(103) - if ((((inLength + this->position) > this->length))){ - HX_STACK_LINE(105) - this->ThrowEOFi(); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,checkData,(void)) - -::String ByteArray_obj::asString( ){ - HX_STACK_PUSH("ByteArray::asString","neash/utils/ByteArray.hx",95); - HX_STACK_THIS(this); - HX_STACK_LINE(95) - return this->readUTFBytes(this->length); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,asString,return ) - -Void ByteArray_obj::__set( int pos,int v){ -{ - HX_STACK_PUSH("ByteArray::__set","neash/utils/ByteArray.hx",85); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(85) - this->b[pos] = v; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ByteArray_obj,__set,(void)) - -int ByteArray_obj::__get( int pos){ - HX_STACK_PUSH("ByteArray::__get","neash/utils/ByteArray.hx",55); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(55) - return this->b->__get(pos); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,__get,return ) - -::neash::utils::ByteArray ByteArray_obj::fromBytes( ::haxe::io::Bytes inBytes){ - HX_STACK_PUSH("ByteArray::fromBytes","neash/utils/ByteArray.hx",152); - HX_STACK_ARG(inBytes,"inBytes"); - HX_STACK_LINE(153) - ::neash::utils::ByteArray result = ::neash::utils::ByteArray_obj::__new((int)-1); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(154) - result->b = inBytes->b; - HX_STACK_LINE(155) - result->length = inBytes->length; - HX_STACK_LINE(159) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,fromBytes,return ) - -::neash::utils::ByteArray ByteArray_obj::readFile( ::String inString){ - HX_STACK_PUSH("ByteArray::readFile","neash/utils/ByteArray.hx",224); - HX_STACK_ARG(inString,"inString"); - HX_STACK_LINE(224) - return ::neash::utils::ByteArray_obj::nme_byte_array_read_file(inString); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,readFile,return ) - -Dynamic ByteArray_obj::_double_bytes; - -Dynamic ByteArray_obj::_double_of_bytes; - -Dynamic ByteArray_obj::_float_bytes; - -Dynamic ByteArray_obj::_float_of_bytes; - -Dynamic ByteArray_obj::nme_byte_array_overwrite_file; - -Dynamic ByteArray_obj::nme_byte_array_read_file; - - -ByteArray_obj::ByteArray_obj() -{ -} - -void ByteArray_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ByteArray); - HX_MARK_MEMBER_NAME(position,"position"); - HX_MARK_MEMBER_NAME(endian,"endian"); - HX_MARK_MEMBER_NAME(bytesAvailable,"bytesAvailable"); - HX_MARK_MEMBER_NAME(bigEndian,"bigEndian"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ByteArray_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(position,"position"); - HX_VISIT_MEMBER_NAME(endian,"endian"); - HX_VISIT_MEMBER_NAME(bytesAvailable,"bytesAvailable"); - HX_VISIT_MEMBER_NAME(bigEndian,"bigEndian"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ByteArray_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clear") ) { return clear_dyn(); } - if (HX_FIELD_EQ(inName,"__set") ) { return __set_dyn(); } - if (HX_FIELD_EQ(inName,"__get") ) { return __get_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"endian") ) { return inCallProp ? nmeGetEndian() : endian; } - break; - case 7: - if (HX_FIELD_EQ(inName,"readUTF") ) { return readUTF_dyn(); } - if (HX_FIELD_EQ(inName,"readInt") ) { return readInt_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"readFile") ) { return readFile_dyn(); } - if (HX_FIELD_EQ(inName,"writeUTF") ) { return writeUTF_dyn(); } - if (HX_FIELD_EQ(inName,"writeInt") ) { return writeInt_dyn(); } - if (HX_FIELD_EQ(inName,"readByte") ) { return readByte_dyn(); } - if (HX_FIELD_EQ(inName,"compress") ) { return compress_dyn(); } - if (HX_FIELD_EQ(inName,"asString") ) { return asString_dyn(); } - if (HX_FIELD_EQ(inName,"position") ) { return position; } - break; - case 9: - if (HX_FIELD_EQ(inName,"fromBytes") ) { return fromBytes_dyn(); } - if (HX_FIELD_EQ(inName,"writeFile") ) { return writeFile_dyn(); } - if (HX_FIELD_EQ(inName,"writeByte") ) { return writeByte_dyn(); } - if (HX_FIELD_EQ(inName,"ThrowEOFi") ) { return ThrowEOFi_dyn(); } - if (HX_FIELD_EQ(inName,"setLength") ) { return setLength_dyn(); } - if (HX_FIELD_EQ(inName,"readShort") ) { return readShort_dyn(); } - if (HX_FIELD_EQ(inName,"readFloat") ) { return readFloat_dyn(); } - if (HX_FIELD_EQ(inName,"readBytes") ) { return readBytes_dyn(); } - if (HX_FIELD_EQ(inName,"checkData") ) { return checkData_dyn(); } - if (HX_FIELD_EQ(inName,"bigEndian") ) { return bigEndian; } - break; - case 10: - if (HX_FIELD_EQ(inName,"writeShort") ) { return writeShort_dyn(); } - if (HX_FIELD_EQ(inName,"writeFloat") ) { return writeFloat_dyn(); } - if (HX_FIELD_EQ(inName,"writeBytes") ) { return writeBytes_dyn(); } - if (HX_FIELD_EQ(inName,"uncompress") ) { return uncompress_dyn(); } - if (HX_FIELD_EQ(inName,"readDouble") ) { return readDouble_dyn(); } - if (HX_FIELD_EQ(inName,"ensureElem") ) { return ensureElem_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"writeDouble") ) { return writeDouble_dyn(); } - if (HX_FIELD_EQ(inName,"readBoolean") ) { return readBoolean_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_float_bytes") ) { return _float_bytes; } - if (HX_FIELD_EQ(inName,"nmeSetEndian") ) { return nmeSetEndian_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetEndian") ) { return nmeGetEndian_dyn(); } - if (HX_FIELD_EQ(inName,"writeBoolean") ) { return writeBoolean_dyn(); } - if (HX_FIELD_EQ(inName,"readUTFBytes") ) { return readUTFBytes_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"_double_bytes") ) { return _double_bytes; } - if (HX_FIELD_EQ(inName,"writeUTFBytes") ) { return writeUTFBytes_dyn(); } - if (HX_FIELD_EQ(inName,"write_uncheck") ) { return write_uncheck_dyn(); } - if (HX_FIELD_EQ(inName,"readMultiByte") ) { return readMultiByte_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"bytesAvailable") ) { return inCallProp ? nmeGetBytesAvailable() : bytesAvailable; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_float_of_bytes") ) { return _float_of_bytes; } - if (HX_FIELD_EQ(inName,"readUnsignedInt") ) { return readUnsignedInt_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"_double_of_bytes") ) { return _double_of_bytes; } - if (HX_FIELD_EQ(inName,"writeUnsignedInt") ) { return writeUnsignedInt_dyn(); } - if (HX_FIELD_EQ(inName,"readUnsignedByte") ) { return readUnsignedByte_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"readUnsignedShort") ) { return readUnsignedShort_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeGetBytesAvailable") ) { return nmeGetBytesAvailable_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_byte_array_read_file") ) { return nme_byte_array_read_file; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_byte_array_overwrite_file") ) { return nme_byte_array_overwrite_file; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ByteArray_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"endian") ) { if (inCallProp) return nmeSetEndian(inValue);endian=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"position") ) { position=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"bigEndian") ) { bigEndian=inValue.Cast< bool >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_float_bytes") ) { _float_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"_double_bytes") ) { _double_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"bytesAvailable") ) { bytesAvailable=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_float_of_bytes") ) { _float_of_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"_double_of_bytes") ) { _double_of_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_byte_array_read_file") ) { nme_byte_array_read_file=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_byte_array_overwrite_file") ) { nme_byte_array_overwrite_file=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ByteArray_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("position")); - outFields->push(HX_CSTRING("endian")); - outFields->push(HX_CSTRING("bytesAvailable")); - outFields->push(HX_CSTRING("bigEndian")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("fromBytes"), - HX_CSTRING("readFile"), - HX_CSTRING("_double_bytes"), - HX_CSTRING("_double_of_bytes"), - HX_CSTRING("_float_bytes"), - HX_CSTRING("_float_of_bytes"), - HX_CSTRING("nme_byte_array_overwrite_file"), - HX_CSTRING("nme_byte_array_read_file"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetEndian"), - HX_CSTRING("nmeGetEndian"), - HX_CSTRING("nmeGetBytesAvailable"), - HX_CSTRING("writeUTFBytes"), - HX_CSTRING("writeUTF"), - HX_CSTRING("writeUnsignedInt"), - HX_CSTRING("writeShort"), - HX_CSTRING("writeInt"), - HX_CSTRING("writeFloat"), - HX_CSTRING("writeFile"), - HX_CSTRING("writeDouble"), - HX_CSTRING("writeBytes"), - HX_CSTRING("write_uncheck"), - HX_CSTRING("writeByte"), - HX_CSTRING("writeBoolean"), - HX_CSTRING("uncompress"), - HX_CSTRING("ThrowEOFi"), - HX_CSTRING("setLength"), - HX_CSTRING("readUTFBytes"), - HX_CSTRING("readUTF"), - HX_CSTRING("readUnsignedShort"), - HX_CSTRING("readUnsignedInt"), - HX_CSTRING("readUnsignedByte"), - HX_CSTRING("readShort"), - HX_CSTRING("readInt"), - HX_CSTRING("readFloat"), - HX_CSTRING("readDouble"), - HX_CSTRING("readBytes"), - HX_CSTRING("readMultiByte"), - HX_CSTRING("readByte"), - HX_CSTRING("readBoolean"), - HX_CSTRING("ensureElem"), - HX_CSTRING("compress"), - HX_CSTRING("clear"), - HX_CSTRING("checkData"), - HX_CSTRING("asString"), - HX_CSTRING("__set"), - HX_CSTRING("__get"), - HX_CSTRING("position"), - HX_CSTRING("endian"), - HX_CSTRING("bytesAvailable"), - HX_CSTRING("bigEndian"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ByteArray_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ByteArray_obj::_double_bytes,"_double_bytes"); - HX_MARK_MEMBER_NAME(ByteArray_obj::_double_of_bytes,"_double_of_bytes"); - HX_MARK_MEMBER_NAME(ByteArray_obj::_float_bytes,"_float_bytes"); - HX_MARK_MEMBER_NAME(ByteArray_obj::_float_of_bytes,"_float_of_bytes"); - HX_MARK_MEMBER_NAME(ByteArray_obj::nme_byte_array_overwrite_file,"nme_byte_array_overwrite_file"); - HX_MARK_MEMBER_NAME(ByteArray_obj::nme_byte_array_read_file,"nme_byte_array_read_file"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ByteArray_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::_double_bytes,"_double_bytes"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::_double_of_bytes,"_double_of_bytes"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::_float_bytes,"_float_bytes"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::_float_of_bytes,"_float_of_bytes"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::nme_byte_array_overwrite_file,"nme_byte_array_overwrite_file"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::nme_byte_array_read_file,"nme_byte_array_read_file"); -}; - -Class ByteArray_obj::__mClass; - -void ByteArray_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.utils.ByteArray"), hx::TCanCast< ByteArray_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ByteArray_obj::__boot() -{ - _double_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("double_bytes"),(int)2); - _double_of_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("double_of_bytes"),(int)2); - _float_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("float_bytes"),(int)2); - _float_of_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("float_of_bytes"),(int)2); - nme_byte_array_overwrite_file= ::neash::Loader_obj::load(HX_CSTRING("nme_byte_array_overwrite_file"),(int)2); - nme_byte_array_read_file= ::neash::Loader_obj::load(HX_CSTRING("nme_byte_array_read_file"),(int)1); -} - -} // end namespace neash -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/utils/Endian.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/utils/Endian.cpp deleted file mode 100644 index 0c78090..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/utils/Endian.cpp +++ /dev/null @@ -1,111 +0,0 @@ -#include - -#ifndef INCLUDED_neash_utils_Endian -#include -#endif -namespace neash{ -namespace utils{ - -Void Endian_obj::__construct() -{ - return null(); -} - -Endian_obj::~Endian_obj() { } - -Dynamic Endian_obj::__CreateEmpty() { return new Endian_obj; } -hx::ObjectPtr< Endian_obj > Endian_obj::__new() -{ hx::ObjectPtr< Endian_obj > result = new Endian_obj(); - result->__construct(); - return result;} - -Dynamic Endian_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Endian_obj > result = new Endian_obj(); - result->__construct(); - return result;} - -::String Endian_obj::_BIG_ENDIAN; - -::String Endian_obj::_LITTLE_ENDIAN; - - -Endian_obj::Endian_obj() -{ -} - -void Endian_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Endian); - HX_MARK_END_CLASS(); -} - -void Endian_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Endian_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"BIG_ENDIAN") ) { return _BIG_ENDIAN; } - break; - case 13: - if (HX_FIELD_EQ(inName,"LITTLE_ENDIAN") ) { return _LITTLE_ENDIAN; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Endian_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"BIG_ENDIAN") ) { _BIG_ENDIAN=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"LITTLE_ENDIAN") ) { _LITTLE_ENDIAN=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Endian_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("BIG_ENDIAN"), - HX_CSTRING("LITTLE_ENDIAN"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Endian_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Endian_obj::_BIG_ENDIAN,"BIG_ENDIAN"); - HX_MARK_MEMBER_NAME(Endian_obj::_LITTLE_ENDIAN,"LITTLE_ENDIAN"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Endian_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Endian_obj::_BIG_ENDIAN,"BIG_ENDIAN"); - HX_VISIT_MEMBER_NAME(Endian_obj::_LITTLE_ENDIAN,"LITTLE_ENDIAN"); -}; - -Class Endian_obj::__mClass; - -void Endian_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.utils.Endian"), hx::TCanCast< Endian_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Endian_obj::__boot() -{ - _BIG_ENDIAN= HX_CSTRING("bigEndian"); - _LITTLE_ENDIAN= HX_CSTRING("littleEndian"); -} - -} // end namespace neash -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/utils/IDataInput.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/utils/IDataInput.cpp deleted file mode 100644 index 5b80197..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/utils/IDataInput.cpp +++ /dev/null @@ -1,68 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace utils{ - -HX_DEFINE_DYNAMIC_FUNC1(IDataInput_obj,nmeSetEndian,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,nmeGetEndian,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,nmeGetBytesAvailable,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IDataInput_obj,readUTFBytes,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readUTF,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readUnsignedShort,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readUnsignedInt,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readUnsignedByte,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readShort,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readInt,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readFloat,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readDouble,return ) - -HX_DEFINE_DYNAMIC_FUNC3(IDataInput_obj,readBytes,) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readByte,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readBoolean,return ) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IDataInput_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IDataInput_obj::__mClass,"__mClass"); -}; - -Class IDataInput_obj::__mClass; - -void IDataInput_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.utils.IDataInput"), hx::TCanCast< IDataInput_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IDataInput_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/utils/WeakRef.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/utils/WeakRef.cpp deleted file mode 100644 index 438be49..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/neash/utils/WeakRef.cpp +++ /dev/null @@ -1,201 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_utils_WeakRef -#include -#endif -namespace neash{ -namespace utils{ - -Void WeakRef_obj::__construct(Dynamic inObject,hx::Null< bool > __o_inMakeWeak) -{ -HX_STACK_PUSH("WeakRef::new","neash/utils/WeakRef.hx",16); -bool inMakeWeak = __o_inMakeWeak.Default(true); -{ - HX_STACK_LINE(16) - if ((inMakeWeak)){ - HX_STACK_LINE(19) - this->weakRef = ::neash::utils::WeakRef_obj::nme_weak_ref_create(hx::ObjectPtr(this),inObject); - HX_STACK_LINE(20) - this->hardRef = null(); - } - else{ - HX_STACK_LINE(24) - this->weakRef = (int)-1; - HX_STACK_LINE(25) - this->hardRef = inObject; - } -} -; - return null(); -} - -WeakRef_obj::~WeakRef_obj() { } - -Dynamic WeakRef_obj::__CreateEmpty() { return new WeakRef_obj; } -hx::ObjectPtr< WeakRef_obj > WeakRef_obj::__new(Dynamic inObject,hx::Null< bool > __o_inMakeWeak) -{ hx::ObjectPtr< WeakRef_obj > result = new WeakRef_obj(); - result->__construct(inObject,__o_inMakeWeak); - return result;} - -Dynamic WeakRef_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< WeakRef_obj > result = new WeakRef_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::String WeakRef_obj::toString( ){ - HX_STACK_PUSH("WeakRef::toString","neash/utils/WeakRef.hx",46); - HX_STACK_THIS(this); - HX_STACK_LINE(47) - if (((this->hardRef == null()))){ - HX_STACK_LINE(48) - return (HX_CSTRING("") + ::Std_obj::string(this->hardRef)); - } - HX_STACK_LINE(50) - return ((HX_CSTRING("WeakRef(") + this->weakRef) + HX_CSTRING(")")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(WeakRef_obj,toString,return ) - -Dynamic WeakRef_obj::get( ){ - HX_STACK_PUSH("WeakRef::get","neash/utils/WeakRef.hx",31); - HX_STACK_THIS(this); - HX_STACK_LINE(32) - if (((this->hardRef != null()))){ - HX_STACK_LINE(33) - return this->hardRef; - } - HX_STACK_LINE(35) - if (((this->weakRef < (int)0))){ - HX_STACK_LINE(36) - return null(); - } - HX_STACK_LINE(38) - Dynamic result = ::neash::utils::WeakRef_obj::nme_weak_ref_get(this->weakRef); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(39) - if (((result == null()))){ - HX_STACK_LINE(40) - this->weakRef = (int)-1; - } - HX_STACK_LINE(41) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC0(WeakRef_obj,get,return ) - -Dynamic WeakRef_obj::nme_weak_ref_create; - -Dynamic WeakRef_obj::nme_weak_ref_get; - - -WeakRef_obj::WeakRef_obj() -{ -} - -void WeakRef_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(WeakRef); - HX_MARK_MEMBER_NAME(weakRef,"weakRef"); - HX_MARK_MEMBER_NAME(hardRef,"hardRef"); - HX_MARK_END_CLASS(); -} - -void WeakRef_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(weakRef,"weakRef"); - HX_VISIT_MEMBER_NAME(hardRef,"hardRef"); -} - -Dynamic WeakRef_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"get") ) { return get_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"weakRef") ) { return weakRef; } - if (HX_FIELD_EQ(inName,"hardRef") ) { return hardRef; } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_weak_ref_get") ) { return nme_weak_ref_get; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_weak_ref_create") ) { return nme_weak_ref_create; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic WeakRef_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"weakRef") ) { weakRef=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"hardRef") ) { hardRef=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_weak_ref_get") ) { nme_weak_ref_get=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_weak_ref_create") ) { nme_weak_ref_create=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void WeakRef_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("weakRef")); - outFields->push(HX_CSTRING("hardRef")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_weak_ref_create"), - HX_CSTRING("nme_weak_ref_get"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("get"), - HX_CSTRING("weakRef"), - HX_CSTRING("hardRef"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(WeakRef_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(WeakRef_obj::nme_weak_ref_create,"nme_weak_ref_create"); - HX_MARK_MEMBER_NAME(WeakRef_obj::nme_weak_ref_get,"nme_weak_ref_get"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(WeakRef_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(WeakRef_obj::nme_weak_ref_create,"nme_weak_ref_create"); - HX_VISIT_MEMBER_NAME(WeakRef_obj::nme_weak_ref_get,"nme_weak_ref_get"); -}; - -Class WeakRef_obj::__mClass; - -void WeakRef_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.utils.WeakRef"), hx::TCanCast< WeakRef_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void WeakRef_obj::__boot() -{ - nme_weak_ref_create= ::neash::Loader_obj::load(HX_CSTRING("nme_weak_ref_create"),(int)2); - nme_weak_ref_get= ::neash::Loader_obj::load(HX_CSTRING("nme_weak_ref_get"),(int)1); -} - -} // end namespace neash -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/nme/Lib.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/nme/Lib.cpp deleted file mode 100644 index 4e82ed0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/nme/Lib.cpp +++ /dev/null @@ -1,621 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_native_Lib -#include -#endif -#ifndef INCLUDED_native_display_BitmapData -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_ManagedStage -#include -#endif -#ifndef INCLUDED_native_display_MovieClip -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_display_Stage -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_net_URLRequest -#include -#endif -#ifndef INCLUDED_nme_Lib -#include -#endif -namespace nme{ - -Void Lib_obj::__construct() -{ - return null(); -} - -Lib_obj::~Lib_obj() { } - -Dynamic Lib_obj::__CreateEmpty() { return new Lib_obj; } -hx::ObjectPtr< Lib_obj > Lib_obj::__new() -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -Dynamic Lib_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -int Lib_obj::FULLSCREEN; - -int Lib_obj::BORDERLESS; - -int Lib_obj::RESIZABLE; - -int Lib_obj::HARDWARE; - -int Lib_obj::VSYNC; - -int Lib_obj::HW_AA; - -int Lib_obj::HW_AA_HIRES; - -int Lib_obj::ALLOW_SHADERS; - -int Lib_obj::REQUIRE_SHADERS; - -int Lib_obj::DEPTH_BUFFER; - -int Lib_obj::STENCIL_BUFFER; - -Float Lib_obj::MIN_FLOAT_VALUE; - -Float Lib_obj::MAX_FLOAT_VALUE; - -::String Lib_obj::company; - -::native::display::MovieClip Lib_obj::current; - -::String Lib_obj::file; - -int Lib_obj::initHeight; - -int Lib_obj::initWidth; - -::String Lib_obj::packageName; - -::native::display::Stage Lib_obj::stage; - -::String Lib_obj::version; - -Void Lib_obj::close( ){ -{ - HX_STACK_PUSH("Lib::close","nme/Lib.hx",51); - HX_STACK_LINE(51) - ::native::Lib_obj::close(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,close,(void)) - -Void Lib_obj::create( Dynamic onLoaded,int width,int height,hx::Null< Float > __o_frameRate,hx::Null< int > __o_color,hx::Null< int > __o_flags,::String __o_title,::native::display::BitmapData icon){ -Float frameRate = __o_frameRate.Default(60.0); -int color = __o_color.Default(16777215); -int flags = __o_flags.Default(15); -::String title = __o_title.Default(HX_CSTRING("NME")); - HX_STACK_PUSH("Lib::create","nme/Lib.hx",74); - HX_STACK_ARG(onLoaded,"onLoaded"); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); - HX_STACK_ARG(frameRate,"frameRate"); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(flags,"flags"); - HX_STACK_ARG(title,"title"); - HX_STACK_ARG(icon,"icon"); -{ - HX_STACK_LINE(74) - ::native::Lib_obj::create(onLoaded,width,height,frameRate,color,flags,title,icon); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC8(Lib_obj,create,(void)) - -::native::display::ManagedStage Lib_obj::createManagedStage( int width,int height){ - HX_STACK_PUSH("Lib::createManagedStage","nme/Lib.hx",90); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); - HX_STACK_LINE(93) - return ::native::Lib_obj::createManagedStage(width,height,null()); - HX_STACK_LINE(95) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Lib_obj,createManagedStage,return ) - -Void Lib_obj::exit( ){ -{ - HX_STACK_PUSH("Lib::exit","nme/Lib.hx",106); - HX_STACK_LINE(106) - ::native::Lib_obj::exit(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,exit,(void)) - -Void Lib_obj::forceClose( ){ -{ - HX_STACK_PUSH("Lib::forceClose","nme/Lib.hx",120); - HX_STACK_LINE(120) - ::native::Lib_obj::forceClose(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,forceClose,(void)) - -int Lib_obj::getTimer( ){ - HX_STACK_PUSH("Lib::getTimer","nme/Lib.hx",138); - HX_STACK_LINE(138) - return ::native::Lib_obj::getTimer(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,getTimer,return ) - -Void Lib_obj::getURL( ::native::net::URLRequest url,::String target){ -{ - HX_STACK_PUSH("Lib::getURL","nme/Lib.hx",157); - HX_STACK_ARG(url,"url"); - HX_STACK_ARG(target,"target"); - HX_STACK_LINE(157) - ::native::Lib_obj::getURL(url,target); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Lib_obj,getURL,(void)) - -Void Lib_obj::pause( ){ -{ - HX_STACK_PUSH("Lib::pause","nme/Lib.hx",176); - HX_STACK_LINE(176) - ::native::Lib_obj::pause(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,pause,(void)) - -Void Lib_obj::postUICallback( Dynamic handler){ -{ - HX_STACK_PUSH("Lib::postUICallback","nme/Lib.hx",194); - HX_STACK_ARG(handler,"handler"); - HX_STACK_LINE(194) - ::native::Lib_obj::postUICallback(handler); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,postUICallback,(void)) - -Void Lib_obj::resume( ){ -{ - HX_STACK_PUSH("Lib::resume","nme/Lib.hx",211); - HX_STACK_LINE(211) - ::native::Lib_obj::resume(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,resume,(void)) - -Void Lib_obj::setPackage( ::String company,::String file,::String packageName,::String version){ -{ - HX_STACK_PUSH("Lib::setPackage","nme/Lib.hx",230); - HX_STACK_ARG(company,"company"); - HX_STACK_ARG(file,"file"); - HX_STACK_ARG(packageName,"packageName"); - HX_STACK_ARG(version,"version"); - HX_STACK_LINE(230) - ::native::Lib_obj::setPackage(company,file,packageName,version); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(Lib_obj,setPackage,(void)) - -Void Lib_obj::trace( Dynamic arg){ -{ - HX_STACK_PUSH("Lib::trace","nme/Lib.hx",243); - HX_STACK_ARG(arg,"arg"); - HX_STACK_LINE(243) - ::haxe::Log_obj::trace(arg,hx::SourceInfo(HX_CSTRING("Lib.hx"),246,HX_CSTRING("nme.Lib"),HX_CSTRING("trace"))); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,trace,(void)) - -::String Lib_obj::get_company( ){ - HX_STACK_PUSH("Lib::get_company","nme/Lib.hx",262); - HX_STACK_LINE(265) - return ::native::Lib_obj::company; - HX_STACK_LINE(267) - return HX_CSTRING(""); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,get_company,return ) - -::native::display::MovieClip Lib_obj::get_current( ){ - HX_STACK_PUSH("Lib::get_current","nme/Lib.hx",272); - HX_STACK_LINE(272) - return ::native::Lib_obj::get_current(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,get_current,return ) - -::String Lib_obj::get_file( ){ - HX_STACK_PUSH("Lib::get_file","nme/Lib.hx",286); - HX_STACK_LINE(289) - return ::native::Lib_obj::file; - HX_STACK_LINE(291) - return HX_CSTRING(""); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,get_file,return ) - -int Lib_obj::get_initHeight( ){ - HX_STACK_PUSH("Lib::get_initHeight","nme/Lib.hx",296); - HX_STACK_LINE(299) - return ::native::Lib_obj::initHeight; - HX_STACK_LINE(301) - return (int)0; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,get_initHeight,return ) - -int Lib_obj::get_initWidth( ){ - HX_STACK_PUSH("Lib::get_initWidth","nme/Lib.hx",306); - HX_STACK_LINE(309) - return ::native::Lib_obj::initWidth; - HX_STACK_LINE(311) - return (int)0; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,get_initWidth,return ) - -::String Lib_obj::get_packageName( ){ - HX_STACK_PUSH("Lib::get_packageName","nme/Lib.hx",316); - HX_STACK_LINE(319) - return ::native::Lib_obj::packageName; - HX_STACK_LINE(321) - return HX_CSTRING(""); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,get_packageName,return ) - -::native::display::Stage Lib_obj::get_stage( ){ - HX_STACK_PUSH("Lib::get_stage","nme/Lib.hx",326); - HX_STACK_LINE(326) - return ::native::Lib_obj::get_stage(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,get_stage,return ) - -::String Lib_obj::get_version( ){ - HX_STACK_PUSH("Lib::get_version","nme/Lib.hx",338); - HX_STACK_LINE(341) - return ::native::Lib_obj::version; - HX_STACK_LINE(343) - return HX_CSTRING(""); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,get_version,return ) - - -Lib_obj::Lib_obj() -{ -} - -void Lib_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Lib); - HX_MARK_END_CLASS(); -} - -void Lib_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Lib_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"file") ) { return inCallProp ? get_file() : file; } - if (HX_FIELD_EQ(inName,"exit") ) { return exit_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"VSYNC") ) { return VSYNC; } - if (HX_FIELD_EQ(inName,"HW_AA") ) { return HW_AA; } - if (HX_FIELD_EQ(inName,"stage") ) { return inCallProp ? get_stage() : stage; } - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"pause") ) { return pause_dyn(); } - if (HX_FIELD_EQ(inName,"trace") ) { return trace_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"create") ) { return create_dyn(); } - if (HX_FIELD_EQ(inName,"getURL") ) { return getURL_dyn(); } - if (HX_FIELD_EQ(inName,"resume") ) { return resume_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"company") ) { return inCallProp ? get_company() : company; } - if (HX_FIELD_EQ(inName,"current") ) { return inCallProp ? get_current() : current; } - if (HX_FIELD_EQ(inName,"version") ) { return inCallProp ? get_version() : version; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { return HARDWARE; } - if (HX_FIELD_EQ(inName,"getTimer") ) { return getTimer_dyn(); } - if (HX_FIELD_EQ(inName,"get_file") ) { return get_file_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"RESIZABLE") ) { return RESIZABLE; } - if (HX_FIELD_EQ(inName,"initWidth") ) { return inCallProp ? get_initWidth() : initWidth; } - if (HX_FIELD_EQ(inName,"get_stage") ) { return get_stage_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"FULLSCREEN") ) { return FULLSCREEN; } - if (HX_FIELD_EQ(inName,"BORDERLESS") ) { return BORDERLESS; } - if (HX_FIELD_EQ(inName,"initHeight") ) { return inCallProp ? get_initHeight() : initHeight; } - if (HX_FIELD_EQ(inName,"forceClose") ) { return forceClose_dyn(); } - if (HX_FIELD_EQ(inName,"setPackage") ) { return setPackage_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"HW_AA_HIRES") ) { return HW_AA_HIRES; } - if (HX_FIELD_EQ(inName,"packageName") ) { return inCallProp ? get_packageName() : packageName; } - if (HX_FIELD_EQ(inName,"get_company") ) { return get_company_dyn(); } - if (HX_FIELD_EQ(inName,"get_current") ) { return get_current_dyn(); } - if (HX_FIELD_EQ(inName,"get_version") ) { return get_version_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"DEPTH_BUFFER") ) { return DEPTH_BUFFER; } - break; - case 13: - if (HX_FIELD_EQ(inName,"ALLOW_SHADERS") ) { return ALLOW_SHADERS; } - if (HX_FIELD_EQ(inName,"get_initWidth") ) { return get_initWidth_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"STENCIL_BUFFER") ) { return STENCIL_BUFFER; } - if (HX_FIELD_EQ(inName,"postUICallback") ) { return postUICallback_dyn(); } - if (HX_FIELD_EQ(inName,"get_initHeight") ) { return get_initHeight_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"REQUIRE_SHADERS") ) { return REQUIRE_SHADERS; } - if (HX_FIELD_EQ(inName,"MIN_FLOAT_VALUE") ) { return MIN_FLOAT_VALUE; } - if (HX_FIELD_EQ(inName,"MAX_FLOAT_VALUE") ) { return MAX_FLOAT_VALUE; } - if (HX_FIELD_EQ(inName,"get_packageName") ) { return get_packageName_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"createManagedStage") ) { return createManagedStage_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Lib_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"file") ) { file=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"VSYNC") ) { VSYNC=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"HW_AA") ) { HW_AA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"stage") ) { stage=inValue.Cast< ::native::display::Stage >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"company") ) { company=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"current") ) { current=inValue.Cast< ::native::display::MovieClip >(); return inValue; } - if (HX_FIELD_EQ(inName,"version") ) { version=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { HARDWARE=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"RESIZABLE") ) { RESIZABLE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"initWidth") ) { initWidth=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FULLSCREEN") ) { FULLSCREEN=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BORDERLESS") ) { BORDERLESS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"initHeight") ) { initHeight=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"HW_AA_HIRES") ) { HW_AA_HIRES=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"packageName") ) { packageName=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"DEPTH_BUFFER") ) { DEPTH_BUFFER=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"ALLOW_SHADERS") ) { ALLOW_SHADERS=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"STENCIL_BUFFER") ) { STENCIL_BUFFER=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"REQUIRE_SHADERS") ) { REQUIRE_SHADERS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"MIN_FLOAT_VALUE") ) { MIN_FLOAT_VALUE=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"MAX_FLOAT_VALUE") ) { MAX_FLOAT_VALUE=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Lib_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("FULLSCREEN"), - HX_CSTRING("BORDERLESS"), - HX_CSTRING("RESIZABLE"), - HX_CSTRING("HARDWARE"), - HX_CSTRING("VSYNC"), - HX_CSTRING("HW_AA"), - HX_CSTRING("HW_AA_HIRES"), - HX_CSTRING("ALLOW_SHADERS"), - HX_CSTRING("REQUIRE_SHADERS"), - HX_CSTRING("DEPTH_BUFFER"), - HX_CSTRING("STENCIL_BUFFER"), - HX_CSTRING("MIN_FLOAT_VALUE"), - HX_CSTRING("MAX_FLOAT_VALUE"), - HX_CSTRING("company"), - HX_CSTRING("current"), - HX_CSTRING("file"), - HX_CSTRING("initHeight"), - HX_CSTRING("initWidth"), - HX_CSTRING("packageName"), - HX_CSTRING("stage"), - HX_CSTRING("version"), - HX_CSTRING("close"), - HX_CSTRING("create"), - HX_CSTRING("createManagedStage"), - HX_CSTRING("exit"), - HX_CSTRING("forceClose"), - HX_CSTRING("getTimer"), - HX_CSTRING("getURL"), - HX_CSTRING("pause"), - HX_CSTRING("postUICallback"), - HX_CSTRING("resume"), - HX_CSTRING("setPackage"), - HX_CSTRING("trace"), - HX_CSTRING("get_company"), - HX_CSTRING("get_current"), - HX_CSTRING("get_file"), - HX_CSTRING("get_initHeight"), - HX_CSTRING("get_initWidth"), - HX_CSTRING("get_packageName"), - HX_CSTRING("get_stage"), - HX_CSTRING("get_version"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Lib_obj::FULLSCREEN,"FULLSCREEN"); - HX_MARK_MEMBER_NAME(Lib_obj::BORDERLESS,"BORDERLESS"); - HX_MARK_MEMBER_NAME(Lib_obj::RESIZABLE,"RESIZABLE"); - HX_MARK_MEMBER_NAME(Lib_obj::HARDWARE,"HARDWARE"); - HX_MARK_MEMBER_NAME(Lib_obj::VSYNC,"VSYNC"); - HX_MARK_MEMBER_NAME(Lib_obj::HW_AA,"HW_AA"); - HX_MARK_MEMBER_NAME(Lib_obj::HW_AA_HIRES,"HW_AA_HIRES"); - HX_MARK_MEMBER_NAME(Lib_obj::ALLOW_SHADERS,"ALLOW_SHADERS"); - HX_MARK_MEMBER_NAME(Lib_obj::REQUIRE_SHADERS,"REQUIRE_SHADERS"); - HX_MARK_MEMBER_NAME(Lib_obj::DEPTH_BUFFER,"DEPTH_BUFFER"); - HX_MARK_MEMBER_NAME(Lib_obj::STENCIL_BUFFER,"STENCIL_BUFFER"); - HX_MARK_MEMBER_NAME(Lib_obj::MIN_FLOAT_VALUE,"MIN_FLOAT_VALUE"); - HX_MARK_MEMBER_NAME(Lib_obj::MAX_FLOAT_VALUE,"MAX_FLOAT_VALUE"); - HX_MARK_MEMBER_NAME(Lib_obj::company,"company"); - HX_MARK_MEMBER_NAME(Lib_obj::current,"current"); - HX_MARK_MEMBER_NAME(Lib_obj::file,"file"); - HX_MARK_MEMBER_NAME(Lib_obj::initHeight,"initHeight"); - HX_MARK_MEMBER_NAME(Lib_obj::initWidth,"initWidth"); - HX_MARK_MEMBER_NAME(Lib_obj::packageName,"packageName"); - HX_MARK_MEMBER_NAME(Lib_obj::stage,"stage"); - HX_MARK_MEMBER_NAME(Lib_obj::version,"version"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Lib_obj::FULLSCREEN,"FULLSCREEN"); - HX_VISIT_MEMBER_NAME(Lib_obj::BORDERLESS,"BORDERLESS"); - HX_VISIT_MEMBER_NAME(Lib_obj::RESIZABLE,"RESIZABLE"); - HX_VISIT_MEMBER_NAME(Lib_obj::HARDWARE,"HARDWARE"); - HX_VISIT_MEMBER_NAME(Lib_obj::VSYNC,"VSYNC"); - HX_VISIT_MEMBER_NAME(Lib_obj::HW_AA,"HW_AA"); - HX_VISIT_MEMBER_NAME(Lib_obj::HW_AA_HIRES,"HW_AA_HIRES"); - HX_VISIT_MEMBER_NAME(Lib_obj::ALLOW_SHADERS,"ALLOW_SHADERS"); - HX_VISIT_MEMBER_NAME(Lib_obj::REQUIRE_SHADERS,"REQUIRE_SHADERS"); - HX_VISIT_MEMBER_NAME(Lib_obj::DEPTH_BUFFER,"DEPTH_BUFFER"); - HX_VISIT_MEMBER_NAME(Lib_obj::STENCIL_BUFFER,"STENCIL_BUFFER"); - HX_VISIT_MEMBER_NAME(Lib_obj::MIN_FLOAT_VALUE,"MIN_FLOAT_VALUE"); - HX_VISIT_MEMBER_NAME(Lib_obj::MAX_FLOAT_VALUE,"MAX_FLOAT_VALUE"); - HX_VISIT_MEMBER_NAME(Lib_obj::company,"company"); - HX_VISIT_MEMBER_NAME(Lib_obj::current,"current"); - HX_VISIT_MEMBER_NAME(Lib_obj::file,"file"); - HX_VISIT_MEMBER_NAME(Lib_obj::initHeight,"initHeight"); - HX_VISIT_MEMBER_NAME(Lib_obj::initWidth,"initWidth"); - HX_VISIT_MEMBER_NAME(Lib_obj::packageName,"packageName"); - HX_VISIT_MEMBER_NAME(Lib_obj::stage,"stage"); - HX_VISIT_MEMBER_NAME(Lib_obj::version,"version"); -}; - -Class Lib_obj::__mClass; - -void Lib_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("nme.Lib"), hx::TCanCast< Lib_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Lib_obj::__boot() -{ - FULLSCREEN= (int)1; - BORDERLESS= (int)2; - RESIZABLE= (int)4; - HARDWARE= (int)8; - VSYNC= (int)16; - HW_AA= (int)32; - HW_AA_HIRES= (int)96; - ALLOW_SHADERS= (int)128; - REQUIRE_SHADERS= (int)256; - DEPTH_BUFFER= (int)512; - STENCIL_BUFFER= (int)1024; - MIN_FLOAT_VALUE= 2.2250738585072014e-308; - MAX_FLOAT_VALUE= 1.7976931348623158e+308; -} - -} // end namespace nme diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/nme/VectorHelper.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/nme/VectorHelper.cpp deleted file mode 100644 index ed0eca8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/nme/VectorHelper.cpp +++ /dev/null @@ -1,99 +0,0 @@ -#include - -#ifndef INCLUDED_nme_VectorHelper -#include -#endif -namespace nme{ - -Void VectorHelper_obj::__construct() -{ - return null(); -} - -VectorHelper_obj::~VectorHelper_obj() { } - -Dynamic VectorHelper_obj::__CreateEmpty() { return new VectorHelper_obj; } -hx::ObjectPtr< VectorHelper_obj > VectorHelper_obj::__new() -{ hx::ObjectPtr< VectorHelper_obj > result = new VectorHelper_obj(); - result->__construct(); - return result;} - -Dynamic VectorHelper_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< VectorHelper_obj > result = new VectorHelper_obj(); - result->__construct(); - return result;} - -Dynamic VectorHelper_obj::ofArray( ::Class v,Dynamic array){ - HX_STACK_PUSH("VectorHelper::ofArray","nme/Vector.hx",13); - HX_STACK_ARG(v,"v"); - HX_STACK_ARG(array,"array"); - HX_STACK_LINE(13) - return array; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(VectorHelper_obj,ofArray,return ) - - -VectorHelper_obj::VectorHelper_obj() -{ -} - -void VectorHelper_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(VectorHelper); - HX_MARK_END_CLASS(); -} - -void VectorHelper_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic VectorHelper_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"ofArray") ) { return ofArray_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic VectorHelper_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void VectorHelper_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("ofArray"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(VectorHelper_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(VectorHelper_obj::__mClass,"__mClass"); -}; - -Class VectorHelper_obj::__mClass; - -void VectorHelper_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("nme.VectorHelper"), hx::TCanCast< VectorHelper_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void VectorHelper_obj::__boot() -{ -} - -} // end namespace nme diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/nme/installer/Assets.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/nme/installer/Assets.cpp deleted file mode 100644 index cac4491..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/nme/installer/Assets.cpp +++ /dev/null @@ -1,503 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_native_display_BitmapData -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_native_media_Sound -#include -#endif -#ifndef INCLUDED_native_media_SoundLoaderContext -#include -#endif -#ifndef INCLUDED_native_net_URLRequest -#include -#endif -#ifndef INCLUDED_native_text_Font -#include -#endif -#ifndef INCLUDED_native_utils_ByteArray -#include -#endif -#ifndef INCLUDED_native_utils_IDataInput -#include -#endif -#ifndef INCLUDED_native_utils_IMemoryRange -#include -#endif -#ifndef INCLUDED_nme_installer_Assets -#include -#endif -namespace nme{ -namespace installer{ - -Void Assets_obj::__construct() -{ - return null(); -} - -Assets_obj::~Assets_obj() { } - -Dynamic Assets_obj::__CreateEmpty() { return new Assets_obj; } -hx::ObjectPtr< Assets_obj > Assets_obj::__new() -{ hx::ObjectPtr< Assets_obj > result = new Assets_obj(); - result->__construct(); - return result;} - -Dynamic Assets_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Assets_obj > result = new Assets_obj(); - result->__construct(); - return result;} - -::Hash Assets_obj::cachedBitmapData; - -bool Assets_obj::initialized; - -::Hash Assets_obj::resourceNames; - -::Hash Assets_obj::resourceTypes; - -Void Assets_obj::initialize( ){ -{ - HX_STACK_PUSH("Assets::initialize","nme/installer/Assets.hx",26); - HX_STACK_LINE(26) - if ((!(::nme::installer::Assets_obj::initialized))){ - HX_STACK_LINE(30) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/closeX.svg"),HX_CSTRING("assets_closex_svg")); - HX_STACK_LINE(31) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/closeX.svg"),HX_CSTRING("text")); - HX_STACK_LINE(32) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/config.xml"),HX_CSTRING("assets_config_xml")); - HX_STACK_LINE(33) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/config.xml"),HX_CSTRING("text")); - HX_STACK_LINE(34) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/duck.svg"),HX_CSTRING("assets_duck_svg")); - HX_STACK_LINE(35) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/duck.svg"),HX_CSTRING("text")); - HX_STACK_LINE(36) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/easyXML.jpg"),HX_CSTRING("assets_easyxml_jpg")); - HX_STACK_LINE(37) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/easyXML.jpg"),HX_CSTRING("image")); - HX_STACK_LINE(38) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/heres-the-deal.jpg"),HX_CSTRING("assets_heres_the_deal_jpg")); - HX_STACK_LINE(39) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/heres-the-deal.jpg"),HX_CSTRING("image")); - HX_STACK_LINE(40) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/bHome.png"),HX_CSTRING("assets_nav_bhome_png")); - HX_STACK_LINE(41) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/bHome.png"),HX_CSTRING("image")); - HX_STACK_LINE(42) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/bLeft.png"),HX_CSTRING("assets_nav_bleft_png")); - HX_STACK_LINE(43) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/bLeft.png"),HX_CSTRING("image")); - HX_STACK_LINE(44) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/bOptions.png"),HX_CSTRING("assets_nav_boptions_png")); - HX_STACK_LINE(45) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/bOptions.png"),HX_CSTRING("image")); - HX_STACK_LINE(46) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/bRight.png"),HX_CSTRING("assets_nav_bright_png")); - HX_STACK_LINE(47) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/bRight.png"),HX_CSTRING("image")); - HX_STACK_LINE(48) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/close.png"),HX_CSTRING("assets_nav_close_png")); - HX_STACK_LINE(49) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/close.png"),HX_CSTRING("image")); - HX_STACK_LINE(50) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/panLeft.png"),HX_CSTRING("assets_nav_panleft_png")); - HX_STACK_LINE(51) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/panLeft.png"),HX_CSTRING("image")); - HX_STACK_LINE(52) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/panRight.png"),HX_CSTRING("assets_nav_panright_png")); - HX_STACK_LINE(53) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/panRight.png"),HX_CSTRING("image")); - HX_STACK_LINE(54) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nme.svg"),HX_CSTRING("assets_nme_svg")); - HX_STACK_LINE(55) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nme.svg"),HX_CSTRING("text")); - HX_STACK_LINE(56) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/options/actor_0000_background.png"),HX_CSTRING("assets_options_actor_0000_background_png")); - HX_STACK_LINE(57) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/options/actor_0000_background.png"),HX_CSTRING("image")); - HX_STACK_LINE(58) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/options/actor_0001_duck.png"),HX_CSTRING("assets_options_actor_0001_duck_png")); - HX_STACK_LINE(59) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/options/actor_0001_duck.png"),HX_CSTRING("image")); - HX_STACK_LINE(60) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/options/actor_0002_home.png"),HX_CSTRING("assets_options_actor_0002_home_png")); - HX_STACK_LINE(61) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/options/actor_0002_home.png"),HX_CSTRING("image")); - HX_STACK_LINE(62) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/options/actor_0003_cow.png"),HX_CSTRING("assets_options_actor_0003_cow_png")); - HX_STACK_LINE(63) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/options/actor_0003_cow.png"),HX_CSTRING("image")); - HX_STACK_LINE(64) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/options/actor_0004_easyXML.png"),HX_CSTRING("assets_options_actor_0004_easyxml_png")); - HX_STACK_LINE(65) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/options/actor_0004_easyXML.png"),HX_CSTRING("image")); - HX_STACK_LINE(66) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/options/actor_0005_limerick.png"),HX_CSTRING("assets_options_actor_0005_limerick_png")); - HX_STACK_LINE(67) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/options/actor_0005_limerick.png"),HX_CSTRING("image")); - HX_STACK_LINE(68) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/options/choose.png"),HX_CSTRING("assets_options_choose_png")); - HX_STACK_LINE(69) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/options/choose.png"),HX_CSTRING("image")); - HX_STACK_LINE(70) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/limerickPCM.wav"),HX_CSTRING("assets_p1_limerickpcm_wav")); - HX_STACK_LINE(71) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/limerickPCM.wav"),HX_CSTRING("sound")); - HX_STACK_LINE(72) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0000_bg.jpg"),HX_CSTRING("assets_p1_pageobject_0000_bg_jpg")); - HX_STACK_LINE(73) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0000_bg.jpg"),HX_CSTRING("image")); - HX_STACK_LINE(74) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0001_skin.png"),HX_CSTRING("assets_p1_pageobject_0001_skin_png")); - HX_STACK_LINE(75) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0001_skin.png"),HX_CSTRING("image")); - HX_STACK_LINE(76) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0002_hose.png"),HX_CSTRING("assets_p1_pageobject_0002_hose_png")); - HX_STACK_LINE(77) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0002_hose.png"),HX_CSTRING("image")); - HX_STACK_LINE(78) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0003_pants.png"),HX_CSTRING("assets_p1_pageobject_0003_pants_png")); - HX_STACK_LINE(79) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0003_pants.png"),HX_CSTRING("image")); - HX_STACK_LINE(80) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0004_flameshoe.png"),HX_CSTRING("assets_p1_pageobject_0004_flameshoe_png")); - HX_STACK_LINE(81) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0004_flameshoe.png"),HX_CSTRING("image")); - HX_STACK_LINE(82) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0005_shoe.png"),HX_CSTRING("assets_p1_pageobject_0005_shoe_png")); - HX_STACK_LINE(83) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0005_shoe.png"),HX_CSTRING("image")); - HX_STACK_LINE(84) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0006_shirt.png"),HX_CSTRING("assets_p1_pageobject_0006_shirt_png")); - HX_STACK_LINE(85) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0006_shirt.png"),HX_CSTRING("image")); - HX_STACK_LINE(86) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0007_truck.png"),HX_CSTRING("assets_p1_pageobject_0007_truck_png")); - HX_STACK_LINE(87) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0007_truck.png"),HX_CSTRING("image")); - HX_STACK_LINE(88) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0008_firemen.png"),HX_CSTRING("assets_p1_pageobject_0008_firemen_png")); - HX_STACK_LINE(89) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0008_firemen.png"),HX_CSTRING("image")); - HX_STACK_LINE(90) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0009_can.png"),HX_CSTRING("assets_p1_pageobject_0009_can_png")); - HX_STACK_LINE(91) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0009_can.png"),HX_CSTRING("image")); - HX_STACK_LINE(92) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0010_bw.png"),HX_CSTRING("assets_p1_pageobject_0010_bw_png")); - HX_STACK_LINE(93) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0010_bw.png"),HX_CSTRING("image")); - HX_STACK_LINE(94) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0011_text.png"),HX_CSTRING("assets_p1_pageobject_0011_text_png")); - HX_STACK_LINE(95) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0011_text.png"),HX_CSTRING("image")); - HX_STACK_LINE(96) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/speaker.png"),HX_CSTRING("assets_speaker_png")); - HX_STACK_LINE(97) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/speaker.png"),HX_CSTRING("image")); - HX_STACK_LINE(98) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/title/star.svg"),HX_CSTRING("assets_title_star_svg")); - HX_STACK_LINE(99) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/title/star.svg"),HX_CSTRING("text")); - HX_STACK_LINE(100) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/title/title.jpg"),HX_CSTRING("assets_title_title_jpg")); - HX_STACK_LINE(101) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/title/title.jpg"),HX_CSTRING("image")); - HX_STACK_LINE(103) - ::nme::installer::Assets_obj::initialized = true; - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Assets_obj,initialize,(void)) - -::native::display::BitmapData Assets_obj::getBitmapData( ::String id,hx::Null< bool > __o_useCache){ -bool useCache = __o_useCache.Default(true); - HX_STACK_PUSH("Assets::getBitmapData","nme/installer/Assets.hx",110); - HX_STACK_ARG(id,"id"); - HX_STACK_ARG(useCache,"useCache"); -{ - HX_STACK_LINE(112) - ::nme::installer::Assets_obj::initialize(); - HX_STACK_LINE(114) - if (((bool(::nme::installer::Assets_obj::resourceTypes->exists(id)) && bool((::nme::installer::Assets_obj::resourceTypes->get(id) == HX_CSTRING("image")))))){ - HX_STACK_LINE(114) - if (((bool(useCache) && bool(::nme::installer::Assets_obj::cachedBitmapData->exists(id))))){ - HX_STACK_LINE(116) - return ::nme::installer::Assets_obj::cachedBitmapData->get(id); - } - else{ - HX_STACK_LINE(122) - ::native::display::BitmapData data = ::native::display::BitmapData_obj::load(::nme::installer::Assets_obj::resourceNames->get(id),null()); HX_STACK_VAR(data,"data"); - HX_STACK_LINE(124) - if ((useCache)){ - HX_STACK_LINE(124) - ::nme::installer::Assets_obj::cachedBitmapData->set(id,data); - } - HX_STACK_LINE(130) - return data; - } - } - else{ - HX_STACK_LINE(136) - ::haxe::Log_obj::trace(((HX_CSTRING("[nme.Assets] There is no BitmapData asset with an ID of \"") + id) + HX_CSTRING("\"")),hx::SourceInfo(HX_CSTRING("Assets.hx"),136,HX_CSTRING("nme.installer.Assets"),HX_CSTRING("getBitmapData"))); - HX_STACK_LINE(138) - return null(); - } - HX_STACK_LINE(114) - return null(); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Assets_obj,getBitmapData,return ) - -::native::utils::ByteArray Assets_obj::getBytes( ::String id){ - HX_STACK_PUSH("Assets::getBytes","nme/installer/Assets.hx",145); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(147) - ::nme::installer::Assets_obj::initialize(); - HX_STACK_LINE(149) - if ((::nme::installer::Assets_obj::resourceNames->exists(id))){ - HX_STACK_LINE(149) - return ::native::utils::ByteArray_obj::readFile(::nme::installer::Assets_obj::resourceNames->get(id)); - } - else{ - HX_STACK_LINE(155) - ::haxe::Log_obj::trace(((HX_CSTRING("[nme.Assets] There is no String or ByteArray asset with an ID of \"") + id) + HX_CSTRING("\"")),hx::SourceInfo(HX_CSTRING("Assets.hx"),155,HX_CSTRING("nme.installer.Assets"),HX_CSTRING("getBytes"))); - HX_STACK_LINE(157) - return null(); - } - HX_STACK_LINE(149) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Assets_obj,getBytes,return ) - -::native::text::Font Assets_obj::getFont( ::String id){ - HX_STACK_PUSH("Assets::getFont","nme/installer/Assets.hx",164); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(166) - ::nme::installer::Assets_obj::initialize(); - HX_STACK_LINE(168) - if (((bool(::nme::installer::Assets_obj::resourceTypes->exists(id)) && bool((::nme::installer::Assets_obj::resourceTypes->get(id) == HX_CSTRING("font")))))){ - HX_STACK_LINE(168) - return ::native::text::Font_obj::__new(::nme::installer::Assets_obj::resourceNames->get(id)); - } - else{ - HX_STACK_LINE(174) - ::haxe::Log_obj::trace(((HX_CSTRING("[nme.Assets] There is no Font asset with an ID of \"") + id) + HX_CSTRING("\"")),hx::SourceInfo(HX_CSTRING("Assets.hx"),174,HX_CSTRING("nme.installer.Assets"),HX_CSTRING("getFont"))); - HX_STACK_LINE(176) - return null(); - } - HX_STACK_LINE(168) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Assets_obj,getFont,return ) - -::String Assets_obj::getResourceName( ::String id){ - HX_STACK_PUSH("Assets::getResourceName","nme/installer/Assets.hx",183); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(185) - ::nme::installer::Assets_obj::initialize(); - HX_STACK_LINE(187) - return ::nme::installer::Assets_obj::resourceNames->get(id); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Assets_obj,getResourceName,return ) - -::native::media::Sound Assets_obj::getSound( ::String id){ - HX_STACK_PUSH("Assets::getSound","nme/installer/Assets.hx",192); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(194) - ::nme::installer::Assets_obj::initialize(); - HX_STACK_LINE(196) - if ((::nme::installer::Assets_obj::resourceTypes->exists(id))){ - HX_STACK_LINE(196) - if (((::nme::installer::Assets_obj::resourceTypes->get(id) == HX_CSTRING("sound")))){ - HX_STACK_LINE(198) - return ::native::media::Sound_obj::__new(::native::net::URLRequest_obj::__new(::nme::installer::Assets_obj::resourceNames->get(id)),null(),false); - } - else{ - HX_STACK_LINE(202) - if (((::nme::installer::Assets_obj::resourceTypes->get(id) == HX_CSTRING("music")))){ - HX_STACK_LINE(202) - return ::native::media::Sound_obj::__new(::native::net::URLRequest_obj::__new(::nme::installer::Assets_obj::resourceNames->get(id)),null(),true); - } - } - } - HX_STACK_LINE(210) - ::haxe::Log_obj::trace(((HX_CSTRING("[nme.Assets] There is no Sound asset with an ID of \"") + id) + HX_CSTRING("\"")),hx::SourceInfo(HX_CSTRING("Assets.hx"),210,HX_CSTRING("nme.installer.Assets"),HX_CSTRING("getSound"))); - HX_STACK_LINE(212) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Assets_obj,getSound,return ) - -::String Assets_obj::getText( ::String id){ - HX_STACK_PUSH("Assets::getText","nme/installer/Assets.hx",217); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(219) - ::native::utils::ByteArray bytes = ::nme::installer::Assets_obj::getBytes(id); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(221) - if (((bytes == null()))){ - HX_STACK_LINE(221) - return null(); - } - else{ - HX_STACK_LINE(225) - return bytes->readUTFBytes(bytes->length); - } - HX_STACK_LINE(221) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Assets_obj,getText,return ) - - -Assets_obj::Assets_obj() -{ -} - -void Assets_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Assets); - HX_MARK_END_CLASS(); -} - -void Assets_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Assets_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"getFont") ) { return getFont_dyn(); } - if (HX_FIELD_EQ(inName,"getText") ) { return getText_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"getBytes") ) { return getBytes_dyn(); } - if (HX_FIELD_EQ(inName,"getSound") ) { return getSound_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"initialize") ) { return initialize_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"initialized") ) { return initialized; } - break; - case 13: - if (HX_FIELD_EQ(inName,"resourceNames") ) { return resourceNames; } - if (HX_FIELD_EQ(inName,"resourceTypes") ) { return resourceTypes; } - if (HX_FIELD_EQ(inName,"getBitmapData") ) { return getBitmapData_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"getResourceName") ) { return getResourceName_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"cachedBitmapData") ) { return cachedBitmapData; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Assets_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 11: - if (HX_FIELD_EQ(inName,"initialized") ) { initialized=inValue.Cast< bool >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"resourceNames") ) { resourceNames=inValue.Cast< ::Hash >(); return inValue; } - if (HX_FIELD_EQ(inName,"resourceTypes") ) { resourceTypes=inValue.Cast< ::Hash >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"cachedBitmapData") ) { cachedBitmapData=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Assets_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("cachedBitmapData"), - HX_CSTRING("initialized"), - HX_CSTRING("resourceNames"), - HX_CSTRING("resourceTypes"), - HX_CSTRING("initialize"), - HX_CSTRING("getBitmapData"), - HX_CSTRING("getBytes"), - HX_CSTRING("getFont"), - HX_CSTRING("getResourceName"), - HX_CSTRING("getSound"), - HX_CSTRING("getText"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Assets_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Assets_obj::cachedBitmapData,"cachedBitmapData"); - HX_MARK_MEMBER_NAME(Assets_obj::initialized,"initialized"); - HX_MARK_MEMBER_NAME(Assets_obj::resourceNames,"resourceNames"); - HX_MARK_MEMBER_NAME(Assets_obj::resourceTypes,"resourceTypes"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Assets_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Assets_obj::cachedBitmapData,"cachedBitmapData"); - HX_VISIT_MEMBER_NAME(Assets_obj::initialized,"initialized"); - HX_VISIT_MEMBER_NAME(Assets_obj::resourceNames,"resourceNames"); - HX_VISIT_MEMBER_NAME(Assets_obj::resourceTypes,"resourceTypes"); -}; - -Class Assets_obj::__mClass; - -void Assets_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("nme.installer.Assets"), hx::TCanCast< Assets_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Assets_obj::__boot() -{ - cachedBitmapData= ::Hash_obj::__new(); - initialized= false; - resourceNames= ::Hash_obj::__new(); - resourceTypes= ::Hash_obj::__new(); -} - -} // end namespace nme -} // end namespace installer diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/core/Controller.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/core/Controller.cpp deleted file mode 100644 index c3d9961..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/core/Controller.cpp +++ /dev/null @@ -1,286 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_core_Controller -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_core_View -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IController -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IObserver -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IView -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Observer -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace core{ - -Void Controller_obj::__construct() -{ -HX_STACK_PUSH("Controller::new","org/puremvc/haxe/core/Controller.hx",44); -{ - HX_STACK_LINE(45) - ::org::puremvc::haxe::core::Controller_obj::instance = hx::ObjectPtr(this); - HX_STACK_LINE(46) - this->commandMap = ::Hash_obj::__new(); - HX_STACK_LINE(47) - this->initializeController(); -} -; - return null(); -} - -Controller_obj::~Controller_obj() { } - -Dynamic Controller_obj::__CreateEmpty() { return new Controller_obj; } -hx::ObjectPtr< Controller_obj > Controller_obj::__new() -{ hx::ObjectPtr< Controller_obj > result = new Controller_obj(); - result->__construct(); - return result;} - -Dynamic Controller_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Controller_obj > result = new Controller_obj(); - result->__construct(); - return result;} - -hx::Object *Controller_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IController_obj)) return operator ::org::puremvc::haxe::interfaces::IController_obj *(); - return super::__ToInterface(inType); -} - -Void Controller_obj::removeCommand( ::String notificationName){ -{ - HX_STACK_PUSH("Controller::removeCommand","org/puremvc/haxe/core/Controller.hx",115); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_LINE(115) - if ((this->hasCommand(notificationName))){ - HX_STACK_LINE(120) - this->view->removeObserver(notificationName,hx::ObjectPtr(this)); - HX_STACK_LINE(122) - this->commandMap->remove(notificationName); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Controller_obj,removeCommand,(void)) - -bool Controller_obj::hasCommand( ::String notificationName){ - HX_STACK_PUSH("Controller::hasCommand","org/puremvc/haxe/core/Controller.hx",107); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_LINE(107) - return this->commandMap->exists(notificationName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Controller_obj,hasCommand,return ) - -Void Controller_obj::registerCommand( ::String notificationName,::Class commandClassRef){ -{ - HX_STACK_PUSH("Controller::registerCommand","org/puremvc/haxe/core/Controller.hx",97); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_ARG(commandClassRef,"commandClassRef"); - HX_STACK_LINE(98) - if ((!(this->commandMap->exists(notificationName)))){ - HX_STACK_LINE(99) - this->view->registerObserver(notificationName,::org::puremvc::haxe::patterns::observer::Observer_obj::__new(this->executeCommand_dyn(),hx::ObjectPtr(this))); - } - HX_STACK_LINE(100) - this->commandMap->set(notificationName,commandClassRef); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Controller_obj,registerCommand,(void)) - -Void Controller_obj::executeCommand( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("Controller::executeCommand","org/puremvc/haxe/core/Controller.hx",78); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(79) - ::Class commandClassRef = this->commandMap->get(note->getName()); HX_STACK_VAR(commandClassRef,"commandClassRef"); - HX_STACK_LINE(80) - if (((commandClassRef == null()))){ - HX_STACK_LINE(80) - return null(); - } - HX_STACK_LINE(82) - ::org::puremvc::haxe::interfaces::ICommand commandInstance = ::Type_obj::createInstance(commandClassRef,Dynamic( Array_obj::__new())); HX_STACK_VAR(commandInstance,"commandInstance"); - HX_STACK_LINE(83) - commandInstance->execute(note); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Controller_obj,executeCommand,(void)) - -Void Controller_obj::initializeController( ){ -{ - HX_STACK_PUSH("Controller::initializeController","org/puremvc/haxe/core/Controller.hx",60); - HX_STACK_THIS(this); - HX_STACK_LINE(60) - this->view = ::org::puremvc::haxe::core::View_obj::getInstance(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Controller_obj,initializeController,(void)) - -::org::puremvc::haxe::interfaces::IController Controller_obj::getInstance( ){ - HX_STACK_PUSH("Controller::getInstance","org/puremvc/haxe/core/Controller.hx",68); - HX_STACK_LINE(69) - if (((::org::puremvc::haxe::core::Controller_obj::instance == null()))){ - HX_STACK_LINE(69) - ::org::puremvc::haxe::core::Controller_obj::instance = ::org::puremvc::haxe::core::Controller_obj::__new(); - } - HX_STACK_LINE(70) - return ::org::puremvc::haxe::core::Controller_obj::instance; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Controller_obj,getInstance,return ) - -::org::puremvc::haxe::interfaces::IController Controller_obj::instance; - - -Controller_obj::Controller_obj() -{ -} - -void Controller_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Controller); - HX_MARK_MEMBER_NAME(commandMap,"commandMap"); - HX_MARK_MEMBER_NAME(view,"view"); - HX_MARK_END_CLASS(); -} - -void Controller_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(commandMap,"commandMap"); - HX_VISIT_MEMBER_NAME(view,"view"); -} - -Dynamic Controller_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"view") ) { return view; } - break; - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { return instance; } - break; - case 10: - if (HX_FIELD_EQ(inName,"commandMap") ) { return commandMap; } - if (HX_FIELD_EQ(inName,"hasCommand") ) { return hasCommand_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"getInstance") ) { return getInstance_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"removeCommand") ) { return removeCommand_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"executeCommand") ) { return executeCommand_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"registerCommand") ) { return registerCommand_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"initializeController") ) { return initializeController_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Controller_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"view") ) { view=inValue.Cast< ::org::puremvc::haxe::interfaces::IView >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { instance=inValue.Cast< ::org::puremvc::haxe::interfaces::IController >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"commandMap") ) { commandMap=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Controller_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("commandMap")); - outFields->push(HX_CSTRING("view")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("getInstance"), - HX_CSTRING("instance"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("commandMap"), - HX_CSTRING("view"), - HX_CSTRING("removeCommand"), - HX_CSTRING("hasCommand"), - HX_CSTRING("registerCommand"), - HX_CSTRING("executeCommand"), - HX_CSTRING("initializeController"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Controller_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Controller_obj::instance,"instance"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Controller_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Controller_obj::instance,"instance"); -}; - -Class Controller_obj::__mClass; - -void Controller_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.core.Controller"), hx::TCanCast< Controller_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Controller_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace core diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/core/Model.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/core/Model.cpp deleted file mode 100644 index 1cfa754..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/core/Model.cpp +++ /dev/null @@ -1,233 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_core_Model -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IModel -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace core{ - -Void Model_obj::__construct() -{ -HX_STACK_PUSH("Model::new","org/puremvc/haxe/core/Model.hx",35); -{ - HX_STACK_LINE(36) - ::org::puremvc::haxe::core::Model_obj::instance = hx::ObjectPtr(this); - HX_STACK_LINE(37) - this->proxyMap = ::Hash_obj::__new(); - HX_STACK_LINE(38) - this->initializeModel(); -} -; - return null(); -} - -Model_obj::~Model_obj() { } - -Dynamic Model_obj::__CreateEmpty() { return new Model_obj; } -hx::ObjectPtr< Model_obj > Model_obj::__new() -{ hx::ObjectPtr< Model_obj > result = new Model_obj(); - result->__construct(); - return result;} - -Dynamic Model_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Model_obj > result = new Model_obj(); - result->__construct(); - return result;} - -hx::Object *Model_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IModel_obj)) return operator ::org::puremvc::haxe::interfaces::IModel_obj *(); - return super::__ToInterface(inType); -} - -::org::puremvc::haxe::interfaces::IProxy Model_obj::removeProxy( ::String proxyName){ - HX_STACK_PUSH("Model::removeProxy","org/puremvc/haxe/core/Model.hx",89); - HX_STACK_THIS(this); - HX_STACK_ARG(proxyName,"proxyName"); - HX_STACK_LINE(90) - ::org::puremvc::haxe::interfaces::IProxy proxy = this->proxyMap->get(proxyName); HX_STACK_VAR(proxy,"proxy"); - HX_STACK_LINE(91) - if (((proxy != null()))){ - HX_STACK_LINE(93) - this->proxyMap->remove(proxyName); - HX_STACK_LINE(94) - proxy->onRemove(); - } - HX_STACK_LINE(96) - return proxy; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Model_obj,removeProxy,return ) - -bool Model_obj::hasProxy( ::String proxyName){ - HX_STACK_PUSH("Model::hasProxy","org/puremvc/haxe/core/Model.hx",81); - HX_STACK_THIS(this); - HX_STACK_ARG(proxyName,"proxyName"); - HX_STACK_LINE(81) - return this->proxyMap->exists(proxyName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Model_obj,hasProxy,return ) - -::org::puremvc::haxe::interfaces::IProxy Model_obj::retrieveProxy( ::String proxyName){ - HX_STACK_PUSH("Model::retrieveProxy","org/puremvc/haxe/core/Model.hx",73); - HX_STACK_THIS(this); - HX_STACK_ARG(proxyName,"proxyName"); - HX_STACK_LINE(73) - return this->proxyMap->get(proxyName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Model_obj,retrieveProxy,return ) - -Void Model_obj::registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy){ -{ - HX_STACK_PUSH("Model::registerProxy","org/puremvc/haxe/core/Model.hx",64); - HX_STACK_THIS(this); - HX_STACK_ARG(proxy,"proxy"); - HX_STACK_LINE(65) - this->proxyMap->set(proxy->getProxyName(),proxy); - HX_STACK_LINE(66) - proxy->onRegister(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Model_obj,registerProxy,(void)) - -Void Model_obj::initializeModel( ){ -{ - HX_STACK_PUSH("Model::initializeModel","org/puremvc/haxe/core/Model.hx",48); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Model_obj,initializeModel,(void)) - -::org::puremvc::haxe::interfaces::IModel Model_obj::getInstance( ){ - HX_STACK_PUSH("Model::getInstance","org/puremvc/haxe/core/Model.hx",55); - HX_STACK_LINE(56) - if (((::org::puremvc::haxe::core::Model_obj::instance == null()))){ - HX_STACK_LINE(56) - ::org::puremvc::haxe::core::Model_obj::instance = ::org::puremvc::haxe::core::Model_obj::__new(); - } - HX_STACK_LINE(57) - return ::org::puremvc::haxe::core::Model_obj::instance; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Model_obj,getInstance,return ) - -::org::puremvc::haxe::interfaces::IModel Model_obj::instance; - - -Model_obj::Model_obj() -{ -} - -void Model_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Model); - HX_MARK_MEMBER_NAME(proxyMap,"proxyMap"); - HX_MARK_END_CLASS(); -} - -void Model_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(proxyMap,"proxyMap"); -} - -Dynamic Model_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { return instance; } - if (HX_FIELD_EQ(inName,"proxyMap") ) { return proxyMap; } - if (HX_FIELD_EQ(inName,"hasProxy") ) { return hasProxy_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"getInstance") ) { return getInstance_dyn(); } - if (HX_FIELD_EQ(inName,"removeProxy") ) { return removeProxy_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"retrieveProxy") ) { return retrieveProxy_dyn(); } - if (HX_FIELD_EQ(inName,"registerProxy") ) { return registerProxy_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"initializeModel") ) { return initializeModel_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Model_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { instance=inValue.Cast< ::org::puremvc::haxe::interfaces::IModel >(); return inValue; } - if (HX_FIELD_EQ(inName,"proxyMap") ) { proxyMap=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Model_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("proxyMap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("getInstance"), - HX_CSTRING("instance"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("proxyMap"), - HX_CSTRING("removeProxy"), - HX_CSTRING("hasProxy"), - HX_CSTRING("retrieveProxy"), - HX_CSTRING("registerProxy"), - HX_CSTRING("initializeModel"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Model_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Model_obj::instance,"instance"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Model_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Model_obj::instance,"instance"); -}; - -Class Model_obj::__mClass; - -void Model_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.core.Model"), hx::TCanCast< Model_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Model_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace core diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/core/View.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/core/View.cpp deleted file mode 100644 index 3e6c328..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/core/View.cpp +++ /dev/null @@ -1,387 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_core_View -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IObserver -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IView -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Observer -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace core{ - -Void View_obj::__construct() -{ -HX_STACK_PUSH("View::new","org/puremvc/haxe/core/View.hx",40); -{ - HX_STACK_LINE(41) - ::org::puremvc::haxe::core::View_obj::instance = hx::ObjectPtr(this); - HX_STACK_LINE(42) - this->mediatorMap = ::Hash_obj::__new(); - HX_STACK_LINE(43) - this->observerMap = ::Hash_obj::__new(); - HX_STACK_LINE(44) - this->initializeView(); -} -; - return null(); -} - -View_obj::~View_obj() { } - -Dynamic View_obj::__CreateEmpty() { return new View_obj; } -hx::ObjectPtr< View_obj > View_obj::__new() -{ hx::ObjectPtr< View_obj > result = new View_obj(); - result->__construct(); - return result;} - -Dynamic View_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< View_obj > result = new View_obj(); - result->__construct(); - return result;} - -hx::Object *View_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IView_obj)) return operator ::org::puremvc::haxe::interfaces::IView_obj *(); - return super::__ToInterface(inType); -} - -bool View_obj::hasMediator( ::String mediatorName){ - HX_STACK_PUSH("View::hasMediator","org/puremvc/haxe/core/View.hx",207); - HX_STACK_THIS(this); - HX_STACK_ARG(mediatorName,"mediatorName"); - HX_STACK_LINE(207) - return this->mediatorMap->exists(mediatorName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(View_obj,hasMediator,return ) - -::org::puremvc::haxe::interfaces::IMediator View_obj::removeMediator( ::String mediatorName){ - HX_STACK_PUSH("View::removeMediator","org/puremvc/haxe/core/View.hx",178); - HX_STACK_THIS(this); - HX_STACK_ARG(mediatorName,"mediatorName"); - HX_STACK_LINE(180) - ::org::puremvc::haxe::interfaces::IMediator mediator = this->mediatorMap->get(mediatorName); HX_STACK_VAR(mediator,"mediator"); - HX_STACK_LINE(182) - if (((mediator != null()))){ - HX_STACK_LINE(185) - Array< ::String > interests = mediator->listNotificationInterests(); HX_STACK_VAR(interests,"interests"); - HX_STACK_LINE(186) - { - HX_STACK_LINE(186) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = interests->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(186) - while(((_g1 < _g))){ - HX_STACK_LINE(186) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(190) - this->removeObserver(interests->__get(i),mediator); - } - } - HX_STACK_LINE(194) - this->mediatorMap->remove(mediatorName); - HX_STACK_LINE(197) - mediator->onRemove(); - } - HX_STACK_LINE(200) - return mediator; -} - - -HX_DEFINE_DYNAMIC_FUNC1(View_obj,removeMediator,return ) - -::org::puremvc::haxe::interfaces::IMediator View_obj::retrieveMediator( ::String mediatorName){ - HX_STACK_PUSH("View::retrieveMediator","org/puremvc/haxe/core/View.hx",170); - HX_STACK_THIS(this); - HX_STACK_ARG(mediatorName,"mediatorName"); - HX_STACK_LINE(170) - return this->mediatorMap->get(mediatorName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(View_obj,retrieveMediator,return ) - -Void View_obj::registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator){ -{ - HX_STACK_PUSH("View::registerMediator","org/puremvc/haxe/core/View.hx",144); - HX_STACK_THIS(this); - HX_STACK_ARG(mediator,"mediator"); - HX_STACK_LINE(146) - if ((this->mediatorMap->exists(mediator->getMediatorName()))){ - HX_STACK_LINE(146) - return null(); - } - HX_STACK_LINE(149) - this->mediatorMap->set(mediator->getMediatorName(),mediator); - HX_STACK_LINE(152) - Array< ::String > interests = mediator->listNotificationInterests(); HX_STACK_VAR(interests,"interests"); - HX_STACK_LINE(153) - if (((interests->length > (int)0))){ - HX_STACK_LINE(156) - ::org::puremvc::haxe::patterns::observer::Observer observer = ::org::puremvc::haxe::patterns::observer::Observer_obj::__new(mediator->handleNotification_dyn(),mediator); HX_STACK_VAR(observer,"observer"); - HX_STACK_LINE(159) - { - HX_STACK_LINE(159) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = interests->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(159) - while(((_g1 < _g))){ - HX_STACK_LINE(159) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(160) - this->registerObserver(interests->__get(i),observer); - } - } - } - HX_STACK_LINE(163) - mediator->onRegister(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(View_obj,registerMediator,(void)) - -Void View_obj::removeObserver( ::String notificationName,Dynamic notifyContext){ -{ - HX_STACK_PUSH("View::removeObserver","org/puremvc/haxe/core/View.hx",107); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_ARG(notifyContext,"notifyContext"); - HX_STACK_LINE(109) - ::List observers = this->observerMap->get(notificationName); HX_STACK_VAR(observers,"observers"); - HX_STACK_LINE(112) - for(::cpp::FastIterator_obj< ::org::puremvc::haxe::interfaces::IObserver > *__it = ::cpp::CreateFastIterator< ::org::puremvc::haxe::interfaces::IObserver >(observers->iterator()); __it->hasNext(); ){ - ::org::puremvc::haxe::interfaces::IObserver observer = __it->next(); - if (((observer->compareNotifyContext(notifyContext) == true))){ - HX_STACK_LINE(118) - observers->remove(observer); - HX_STACK_LINE(119) - break; - } -; - } - HX_STACK_LINE(125) - if ((observers->isEmpty())){ - HX_STACK_LINE(126) - this->observerMap->remove(notificationName); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(View_obj,removeObserver,(void)) - -Void View_obj::notifyObservers( ::org::puremvc::haxe::interfaces::INotification notification){ -{ - HX_STACK_PUSH("View::notifyObservers","org/puremvc/haxe/core/View.hx",84); - HX_STACK_THIS(this); - HX_STACK_ARG(notification,"notification"); - HX_STACK_LINE(84) - if ((this->observerMap->exists(notification->getName()))){ - HX_STACK_LINE(88) - ::List observers_ref = this->observerMap->get(notification->getName()); HX_STACK_VAR(observers_ref,"observers_ref"); - HX_STACK_LINE(92) - ::List observers = ::List_obj::__new(); HX_STACK_VAR(observers,"observers"); - HX_STACK_LINE(93) - Dynamic iterator_ref = observers_ref->iterator(); HX_STACK_VAR(iterator_ref,"iterator_ref"); - HX_STACK_LINE(94) - for(::cpp::FastIterator_obj< ::org::puremvc::haxe::interfaces::IObserver > *__it = ::cpp::CreateFastIterator< ::org::puremvc::haxe::interfaces::IObserver >(iterator_ref); __it->hasNext(); ){ - ::org::puremvc::haxe::interfaces::IObserver observer = __it->next(); - observers->add(observer); - } - HX_STACK_LINE(97) - Dynamic iterator = observers->iterator(); HX_STACK_VAR(iterator,"iterator"); - HX_STACK_LINE(98) - for(::cpp::FastIterator_obj< ::org::puremvc::haxe::interfaces::IObserver > *__it = ::cpp::CreateFastIterator< ::org::puremvc::haxe::interfaces::IObserver >(iterator); __it->hasNext(); ){ - ::org::puremvc::haxe::interfaces::IObserver observer = __it->next(); - observer->notifyObserver(notification); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(View_obj,notifyObservers,(void)) - -Void View_obj::registerObserver( ::String notificationName,::org::puremvc::haxe::interfaces::IObserver observer){ -{ - HX_STACK_PUSH("View::registerObserver","org/puremvc/haxe/core/View.hx",70); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_ARG(observer,"observer"); - HX_STACK_LINE(71) - if ((!(this->observerMap->exists(notificationName)))){ - HX_STACK_LINE(72) - this->observerMap->set(notificationName,::List_obj::__new()); - } - HX_STACK_LINE(73) - this->observerMap->get(notificationName)->__Field(HX_CSTRING("add"),true)(observer); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(View_obj,registerObserver,(void)) - -Void View_obj::initializeView( ){ -{ - HX_STACK_PUSH("View::initializeView","org/puremvc/haxe/core/View.hx",54); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(View_obj,initializeView,(void)) - -::org::puremvc::haxe::interfaces::IView View_obj::getInstance( ){ - HX_STACK_PUSH("View::getInstance","org/puremvc/haxe/core/View.hx",61); - HX_STACK_LINE(62) - if (((::org::puremvc::haxe::core::View_obj::instance == null()))){ - HX_STACK_LINE(62) - ::org::puremvc::haxe::core::View_obj::instance = ::org::puremvc::haxe::core::View_obj::__new(); - } - HX_STACK_LINE(63) - return ::org::puremvc::haxe::core::View_obj::instance; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(View_obj,getInstance,return ) - -::org::puremvc::haxe::interfaces::IView View_obj::instance; - - -View_obj::View_obj() -{ -} - -void View_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(View); - HX_MARK_MEMBER_NAME(observerMap,"observerMap"); - HX_MARK_MEMBER_NAME(mediatorMap,"mediatorMap"); - HX_MARK_END_CLASS(); -} - -void View_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(observerMap,"observerMap"); - HX_VISIT_MEMBER_NAME(mediatorMap,"mediatorMap"); -} - -Dynamic View_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { return instance; } - break; - case 11: - if (HX_FIELD_EQ(inName,"getInstance") ) { return getInstance_dyn(); } - if (HX_FIELD_EQ(inName,"observerMap") ) { return observerMap; } - if (HX_FIELD_EQ(inName,"mediatorMap") ) { return mediatorMap; } - if (HX_FIELD_EQ(inName,"hasMediator") ) { return hasMediator_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"removeMediator") ) { return removeMediator_dyn(); } - if (HX_FIELD_EQ(inName,"removeObserver") ) { return removeObserver_dyn(); } - if (HX_FIELD_EQ(inName,"initializeView") ) { return initializeView_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"notifyObservers") ) { return notifyObservers_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"retrieveMediator") ) { return retrieveMediator_dyn(); } - if (HX_FIELD_EQ(inName,"registerMediator") ) { return registerMediator_dyn(); } - if (HX_FIELD_EQ(inName,"registerObserver") ) { return registerObserver_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic View_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { instance=inValue.Cast< ::org::puremvc::haxe::interfaces::IView >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"observerMap") ) { observerMap=inValue.Cast< ::Hash >(); return inValue; } - if (HX_FIELD_EQ(inName,"mediatorMap") ) { mediatorMap=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void View_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("observerMap")); - outFields->push(HX_CSTRING("mediatorMap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("getInstance"), - HX_CSTRING("instance"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("observerMap"), - HX_CSTRING("mediatorMap"), - HX_CSTRING("hasMediator"), - HX_CSTRING("removeMediator"), - HX_CSTRING("retrieveMediator"), - HX_CSTRING("registerMediator"), - HX_CSTRING("removeObserver"), - HX_CSTRING("notifyObservers"), - HX_CSTRING("registerObserver"), - HX_CSTRING("initializeView"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(View_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(View_obj::instance,"instance"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(View_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(View_obj::instance,"instance"); -}; - -Class View_obj::__mClass; - -void View_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.core.View"), hx::TCanCast< View_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void View_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace core diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/ICommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/ICommand.cpp deleted file mode 100644 index 0e6d84a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/ICommand.cpp +++ /dev/null @@ -1,41 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC1(ICommand_obj,execute,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ICommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ICommand_obj::__mClass,"__mClass"); -}; - -Class ICommand_obj::__mClass; - -void ICommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.ICommand"), hx::TCanCast< ICommand_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ICommand_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IController.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IController.cpp deleted file mode 100644 index f764009..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IController.cpp +++ /dev/null @@ -1,50 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IController -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC1(IController_obj,hasCommand,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IController_obj,removeCommand,) - -HX_DEFINE_DYNAMIC_FUNC1(IController_obj,executeCommand,) - -HX_DEFINE_DYNAMIC_FUNC2(IController_obj,registerCommand,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IController_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IController_obj::__mClass,"__mClass"); -}; - -Class IController_obj::__mClass; - -void IController_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IController"), hx::TCanCast< IController_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IController_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IFacade.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IFacade.cpp deleted file mode 100644 index 33141ef..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IFacade.cpp +++ /dev/null @@ -1,74 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,notifyObservers,) - -HX_DEFINE_DYNAMIC_FUNC3(IFacade_obj,sendNotification,) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,hasMediator,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,removeMediator,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,retrieveMediator,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,registerMediator,) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,hasCommand,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,removeCommand,) - -HX_DEFINE_DYNAMIC_FUNC2(IFacade_obj,registerCommand,) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,hasProxy,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,removeProxy,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,retrieveProxy,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,registerProxy,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IFacade_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IFacade_obj::__mClass,"__mClass"); -}; - -Class IFacade_obj::__mClass; - -void IFacade_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IFacade"), hx::TCanCast< IFacade_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IFacade_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IMediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IMediator.cpp deleted file mode 100644 index 807829a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IMediator.cpp +++ /dev/null @@ -1,53 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC0(IMediator_obj,onRemove,) - -HX_DEFINE_DYNAMIC_FUNC0(IMediator_obj,onRegister,) - -HX_DEFINE_DYNAMIC_FUNC1(IMediator_obj,handleNotification,) - -HX_DEFINE_DYNAMIC_FUNC0(IMediator_obj,listNotificationInterests,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IMediator_obj,setViewComponent,) - -HX_DEFINE_DYNAMIC_FUNC0(IMediator_obj,getViewComponent,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IMediator_obj,getMediatorName,return ) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IMediator_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IMediator_obj::__mClass,"__mClass"); -}; - -Class IMediator_obj::__mClass; - -void IMediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IMediator"), hx::TCanCast< IMediator_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IMediator_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IModel.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IModel.cpp deleted file mode 100644 index f5d57ac..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IModel.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IModel -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC1(IModel_obj,hasProxy,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IModel_obj,removeProxy,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IModel_obj,retrieveProxy,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IModel_obj,registerProxy,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IModel_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IModel_obj::__mClass,"__mClass"); -}; - -Class IModel_obj::__mClass; - -void IModel_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IModel"), hx::TCanCast< IModel_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IModel_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/INotification.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/INotification.cpp deleted file mode 100644 index 5688273..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/INotification.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC0(INotification_obj,toString,return ) - -HX_DEFINE_DYNAMIC_FUNC0(INotification_obj,getType,return ) - -HX_DEFINE_DYNAMIC_FUNC1(INotification_obj,setType,) - -HX_DEFINE_DYNAMIC_FUNC0(INotification_obj,getBody,return ) - -HX_DEFINE_DYNAMIC_FUNC1(INotification_obj,setBody,) - -HX_DEFINE_DYNAMIC_FUNC0(INotification_obj,getName,return ) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(INotification_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(INotification_obj::__mClass,"__mClass"); -}; - -Class INotification_obj::__mClass; - -void INotification_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.INotification"), hx::TCanCast< INotification_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void INotification_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/INotifier.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/INotifier.cpp deleted file mode 100644 index a911a2d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/INotifier.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC3(INotifier_obj,sendNotification,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(INotifier_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(INotifier_obj::__mClass,"__mClass"); -}; - -Class INotifier_obj::__mClass; - -void INotifier_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.INotifier"), hx::TCanCast< INotifier_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void INotifier_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IObserver.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IObserver.cpp deleted file mode 100644 index 972bfbc..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IObserver.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IObserver -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC1(IObserver_obj,compareNotifyContext,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IObserver_obj,notifyObserver,) - -HX_DEFINE_DYNAMIC_FUNC1(IObserver_obj,setNotifyContext,) - -HX_DEFINE_DYNAMIC_FUNC1(IObserver_obj,setNotifyMethod,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IObserver_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IObserver_obj::__mClass,"__mClass"); -}; - -Class IObserver_obj::__mClass; - -void IObserver_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IObserver"), hx::TCanCast< IObserver_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IObserver_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IProxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IProxy.cpp deleted file mode 100644 index 66f4c70..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IProxy.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC0(IProxy_obj,onRemove,) - -HX_DEFINE_DYNAMIC_FUNC0(IProxy_obj,onRegister,) - -HX_DEFINE_DYNAMIC_FUNC0(IProxy_obj,getData,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IProxy_obj,setData,) - -HX_DEFINE_DYNAMIC_FUNC0(IProxy_obj,getProxyName,return ) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IProxy_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IProxy_obj::__mClass,"__mClass"); -}; - -Class IProxy_obj::__mClass; - -void IProxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IProxy"), hx::TCanCast< IProxy_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IProxy_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IView.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IView.cpp deleted file mode 100644 index d22745f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/interfaces/IView.cpp +++ /dev/null @@ -1,59 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IObserver -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IView -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC1(IView_obj,hasMediator,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IView_obj,removeMediator,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IView_obj,retrieveMediator,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IView_obj,registerMediator,) - -HX_DEFINE_DYNAMIC_FUNC1(IView_obj,notifyObservers,) - -HX_DEFINE_DYNAMIC_FUNC2(IView_obj,removeObserver,) - -HX_DEFINE_DYNAMIC_FUNC2(IView_obj,registerObserver,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IView_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IView_obj::__mClass,"__mClass"); -}; - -Class IView_obj::__mClass; - -void IView_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IView"), hx::TCanCast< IView_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IView_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/command/MacroCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/command/MacroCommand.cpp deleted file mode 100644 index 83fca7d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/command/MacroCommand.cpp +++ /dev/null @@ -1,196 +0,0 @@ -#include - -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_MacroCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace command{ - -Void MacroCommand_obj::__construct() -{ -HX_STACK_PUSH("MacroCommand::new","org/puremvc/haxe/patterns/command/MacroCommand.hx",48); -{ - HX_STACK_LINE(49) - super::__construct(); - HX_STACK_LINE(50) - this->subCommands = ::List_obj::__new(); - HX_STACK_LINE(51) - this->initializeMacroCommand(); -} -; - return null(); -} - -MacroCommand_obj::~MacroCommand_obj() { } - -Dynamic MacroCommand_obj::__CreateEmpty() { return new MacroCommand_obj; } -hx::ObjectPtr< MacroCommand_obj > MacroCommand_obj::__new() -{ hx::ObjectPtr< MacroCommand_obj > result = new MacroCommand_obj(); - result->__construct(); - return result;} - -Dynamic MacroCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< MacroCommand_obj > result = new MacroCommand_obj(); - result->__construct(); - return result;} - -hx::Object *MacroCommand_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::ICommand_obj)) return operator ::org::puremvc::haxe::interfaces::ICommand_obj *(); - return super::__ToInterface(inType); -} - -Void MacroCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification notification){ -{ - HX_STACK_PUSH("MacroCommand::execute","org/puremvc/haxe/patterns/command/MacroCommand.hx",86); - HX_STACK_THIS(this); - HX_STACK_ARG(notification,"notification"); - HX_STACK_LINE(86) - while((!(this->subCommands->isEmpty()))){ - HX_STACK_LINE(89) - ::Class commandClassRef = this->subCommands->pop(); HX_STACK_VAR(commandClassRef,"commandClassRef"); - HX_STACK_LINE(90) - ::org::puremvc::haxe::interfaces::ICommand commandInstance = ::Type_obj::createInstance(commandClassRef,Dynamic( Array_obj::__new())); HX_STACK_VAR(commandInstance,"commandInstance"); - HX_STACK_LINE(91) - commandInstance->execute(notification); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(MacroCommand_obj,execute,(void)) - -Void MacroCommand_obj::addSubCommand( ::Class commandClassRef){ -{ - HX_STACK_PUSH("MacroCommand::addSubCommand","org/puremvc/haxe/patterns/command/MacroCommand.hx",75); - HX_STACK_THIS(this); - HX_STACK_ARG(commandClassRef,"commandClassRef"); - HX_STACK_LINE(75) - this->subCommands->add(commandClassRef); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(MacroCommand_obj,addSubCommand,(void)) - -Void MacroCommand_obj::initializeMacroCommand( ){ -{ - HX_STACK_PUSH("MacroCommand::initializeMacroCommand","org/puremvc/haxe/patterns/command/MacroCommand.hx",65); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(MacroCommand_obj,initializeMacroCommand,(void)) - - -MacroCommand_obj::MacroCommand_obj() -{ -} - -void MacroCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(MacroCommand); - HX_MARK_MEMBER_NAME(subCommands,"subCommands"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void MacroCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(subCommands,"subCommands"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic MacroCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"subCommands") ) { return subCommands; } - break; - case 13: - if (HX_FIELD_EQ(inName,"addSubCommand") ) { return addSubCommand_dyn(); } - break; - case 22: - if (HX_FIELD_EQ(inName,"initializeMacroCommand") ) { return initializeMacroCommand_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic MacroCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 11: - if (HX_FIELD_EQ(inName,"subCommands") ) { subCommands=inValue.Cast< ::List >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void MacroCommand_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("subCommands")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - HX_CSTRING("addSubCommand"), - HX_CSTRING("initializeMacroCommand"), - HX_CSTRING("subCommands"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(MacroCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(MacroCommand_obj::__mClass,"__mClass"); -}; - -Class MacroCommand_obj::__mClass; - -void MacroCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.command.MacroCommand"), hx::TCanCast< MacroCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void MacroCommand_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace command diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/command/SimpleCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/command/SimpleCommand.cpp deleted file mode 100644 index 28c88f7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/command/SimpleCommand.cpp +++ /dev/null @@ -1,133 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace command{ - -Void SimpleCommand_obj::__construct() -{ -HX_STACK_PUSH("SimpleCommand::new","org/puremvc/haxe/patterns/command/SimpleCommand.hx",19); -{ - HX_STACK_LINE(19) - super::__construct(); -} -; - return null(); -} - -SimpleCommand_obj::~SimpleCommand_obj() { } - -Dynamic SimpleCommand_obj::__CreateEmpty() { return new SimpleCommand_obj; } -hx::ObjectPtr< SimpleCommand_obj > SimpleCommand_obj::__new() -{ hx::ObjectPtr< SimpleCommand_obj > result = new SimpleCommand_obj(); - result->__construct(); - return result;} - -Dynamic SimpleCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SimpleCommand_obj > result = new SimpleCommand_obj(); - result->__construct(); - return result;} - -hx::Object *SimpleCommand_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::ICommand_obj)) return operator ::org::puremvc::haxe::interfaces::ICommand_obj *(); - return super::__ToInterface(inType); -} - -Void SimpleCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification notification){ -{ - HX_STACK_PUSH("SimpleCommand::execute","org/puremvc/haxe/patterns/command/SimpleCommand.hx",29); - HX_STACK_THIS(this); - HX_STACK_ARG(notification,"notification"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SimpleCommand_obj,execute,(void)) - - -SimpleCommand_obj::SimpleCommand_obj() -{ -} - -void SimpleCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SimpleCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void SimpleCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic SimpleCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SimpleCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void SimpleCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SimpleCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SimpleCommand_obj::__mClass,"__mClass"); -}; - -Class SimpleCommand_obj::__mClass; - -void SimpleCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.command.SimpleCommand"), hx::TCanCast< SimpleCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SimpleCommand_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace command diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/facade/Facade.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/facade/Facade.cpp deleted file mode 100644 index 3eedfa9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/facade/Facade.cpp +++ /dev/null @@ -1,500 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_core_Controller -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_core_Model -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_core_View -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IController -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IModel -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IView -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_facade_Facade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notification -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace facade{ - -Void Facade_obj::__construct() -{ -HX_STACK_PUSH("Facade::new","org/puremvc/haxe/patterns/facade/Facade.hx",42); -{ - HX_STACK_LINE(43) - ::org::puremvc::haxe::patterns::facade::Facade_obj::instance = hx::ObjectPtr(this); - HX_STACK_LINE(44) - this->initializeFacade(); -} -; - return null(); -} - -Facade_obj::~Facade_obj() { } - -Dynamic Facade_obj::__CreateEmpty() { return new Facade_obj; } -hx::ObjectPtr< Facade_obj > Facade_obj::__new() -{ hx::ObjectPtr< Facade_obj > result = new Facade_obj(); - result->__construct(); - return result;} - -Dynamic Facade_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Facade_obj > result = new Facade_obj(); - result->__construct(); - return result;} - -hx::Object *Facade_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IFacade_obj)) return operator ::org::puremvc::haxe::interfaces::IFacade_obj *(); - return super::__ToInterface(inType); -} - -Void Facade_obj::notifyObservers( ::org::puremvc::haxe::interfaces::INotification notification){ -{ - HX_STACK_PUSH("Facade::notifyObservers","org/puremvc/haxe/patterns/facade/Facade.hx",247); - HX_STACK_THIS(this); - HX_STACK_ARG(notification,"notification"); - HX_STACK_LINE(247) - if (((this->view != null()))){ - HX_STACK_LINE(248) - this->view->notifyObservers(notification); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,notifyObservers,(void)) - -Void Facade_obj::sendNotification( ::String notificationName,Dynamic body,::String type){ -{ - HX_STACK_PUSH("Facade::sendNotification","org/puremvc/haxe/patterns/facade/Facade.hx",239); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_ARG(body,"body"); - HX_STACK_ARG(type,"type"); - HX_STACK_LINE(239) - this->notifyObservers(::org::puremvc::haxe::patterns::observer::Notification_obj::__new(notificationName,body,type)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Facade_obj,sendNotification,(void)) - -bool Facade_obj::hasMediator( ::String mediatorName){ - HX_STACK_PUSH("Facade::hasMediator","org/puremvc/haxe/patterns/facade/Facade.hx",228); - HX_STACK_THIS(this); - HX_STACK_ARG(mediatorName,"mediatorName"); - HX_STACK_LINE(228) - return this->view->hasMediator(mediatorName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,hasMediator,return ) - -::org::puremvc::haxe::interfaces::IMediator Facade_obj::removeMediator( ::String mediatorName){ - HX_STACK_PUSH("Facade::removeMediator","org/puremvc/haxe/patterns/facade/Facade.hx",218); - HX_STACK_THIS(this); - HX_STACK_ARG(mediatorName,"mediatorName"); - HX_STACK_LINE(219) - ::org::puremvc::haxe::interfaces::IMediator mediator = null(); HX_STACK_VAR(mediator,"mediator"); - HX_STACK_LINE(220) - if (((this->view != null()))){ - HX_STACK_LINE(220) - mediator = this->view->removeMediator(mediatorName); - } - HX_STACK_LINE(221) - return mediator; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,removeMediator,return ) - -::org::puremvc::haxe::interfaces::IMediator Facade_obj::retrieveMediator( ::String mediatorName){ - HX_STACK_PUSH("Facade::retrieveMediator","org/puremvc/haxe/patterns/facade/Facade.hx",210); - HX_STACK_THIS(this); - HX_STACK_ARG(mediatorName,"mediatorName"); - HX_STACK_LINE(210) - return this->view->retrieveMediator(mediatorName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,retrieveMediator,return ) - -Void Facade_obj::registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator){ -{ - HX_STACK_PUSH("Facade::registerMediator","org/puremvc/haxe/patterns/facade/Facade.hx",202); - HX_STACK_THIS(this); - HX_STACK_ARG(mediator,"mediator"); - HX_STACK_LINE(202) - if (((this->view != null()))){ - HX_STACK_LINE(203) - this->view->registerMediator(mediator); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,registerMediator,(void)) - -bool Facade_obj::hasProxy( ::String proxyName){ - HX_STACK_PUSH("Facade::hasProxy","org/puremvc/haxe/patterns/facade/Facade.hx",194); - HX_STACK_THIS(this); - HX_STACK_ARG(proxyName,"proxyName"); - HX_STACK_LINE(194) - return this->model->hasProxy(proxyName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,hasProxy,return ) - -::org::puremvc::haxe::interfaces::IProxy Facade_obj::removeProxy( ::String proxyName){ - HX_STACK_PUSH("Facade::removeProxy","org/puremvc/haxe/patterns/facade/Facade.hx",184); - HX_STACK_THIS(this); - HX_STACK_ARG(proxyName,"proxyName"); - HX_STACK_LINE(185) - ::org::puremvc::haxe::interfaces::IProxy proxy = null(); HX_STACK_VAR(proxy,"proxy"); - HX_STACK_LINE(186) - if (((this->model != null()))){ - HX_STACK_LINE(186) - proxy = this->model->removeProxy(proxyName); - } - HX_STACK_LINE(187) - return proxy; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,removeProxy,return ) - -::org::puremvc::haxe::interfaces::IProxy Facade_obj::retrieveProxy( ::String proxyName){ - HX_STACK_PUSH("Facade::retrieveProxy","org/puremvc/haxe/patterns/facade/Facade.hx",176); - HX_STACK_THIS(this); - HX_STACK_ARG(proxyName,"proxyName"); - HX_STACK_LINE(176) - return this->model->retrieveProxy(proxyName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,retrieveProxy,return ) - -Void Facade_obj::registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy){ -{ - HX_STACK_PUSH("Facade::registerProxy","org/puremvc/haxe/patterns/facade/Facade.hx",168); - HX_STACK_THIS(this); - HX_STACK_ARG(proxy,"proxy"); - HX_STACK_LINE(168) - this->model->registerProxy(proxy); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,registerProxy,(void)) - -bool Facade_obj::hasCommand( ::String notificationName){ - HX_STACK_PUSH("Facade::hasCommand","org/puremvc/haxe/patterns/facade/Facade.hx",160); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_LINE(160) - return this->controller->hasCommand(notificationName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,hasCommand,return ) - -Void Facade_obj::removeCommand( ::String notificationName){ -{ - HX_STACK_PUSH("Facade::removeCommand","org/puremvc/haxe/patterns/facade/Facade.hx",152); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_LINE(152) - this->controller->removeCommand(notificationName); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,removeCommand,(void)) - -Void Facade_obj::registerCommand( ::String notificationName,::Class commandClassRef){ -{ - HX_STACK_PUSH("Facade::registerCommand","org/puremvc/haxe/patterns/facade/Facade.hx",144); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_ARG(commandClassRef,"commandClassRef"); - HX_STACK_LINE(144) - this->controller->registerCommand(notificationName,commandClassRef); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Facade_obj,registerCommand,(void)) - -Void Facade_obj::initializeView( ){ -{ - HX_STACK_PUSH("Facade::initializeView","org/puremvc/haxe/patterns/facade/Facade.hx",135); - HX_STACK_THIS(this); - HX_STACK_LINE(136) - if (((this->view != null()))){ - HX_STACK_LINE(136) - return null(); - } - HX_STACK_LINE(137) - this->view = ::org::puremvc::haxe::core::View_obj::getInstance(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Facade_obj,initializeView,(void)) - -Void Facade_obj::initializeModel( ){ -{ - HX_STACK_PUSH("Facade::initializeModel","org/puremvc/haxe/patterns/facade/Facade.hx",111); - HX_STACK_THIS(this); - HX_STACK_LINE(112) - if (((this->model != null()))){ - HX_STACK_LINE(112) - return null(); - } - HX_STACK_LINE(113) - this->model = ::org::puremvc::haxe::core::Model_obj::getInstance(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Facade_obj,initializeModel,(void)) - -Void Facade_obj::initializeController( ){ -{ - HX_STACK_PUSH("Facade::initializeController","org/puremvc/haxe/patterns/facade/Facade.hx",84); - HX_STACK_THIS(this); - HX_STACK_LINE(85) - if (((this->controller != null()))){ - HX_STACK_LINE(85) - return null(); - } - HX_STACK_LINE(86) - this->controller = ::org::puremvc::haxe::core::Controller_obj::getInstance(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Facade_obj,initializeController,(void)) - -Void Facade_obj::initializeFacade( ){ -{ - HX_STACK_PUSH("Facade::initializeFacade","org/puremvc/haxe/patterns/facade/Facade.hx",55); - HX_STACK_THIS(this); - HX_STACK_LINE(56) - this->initializeModel(); - HX_STACK_LINE(57) - this->initializeController(); - HX_STACK_LINE(58) - this->initializeView(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Facade_obj,initializeFacade,(void)) - -::org::puremvc::haxe::interfaces::IFacade Facade_obj::getInstance( ){ - HX_STACK_PUSH("Facade::getInstance","org/puremvc/haxe/patterns/facade/Facade.hx",65); - HX_STACK_LINE(66) - if (((::org::puremvc::haxe::patterns::facade::Facade_obj::instance == null()))){ - HX_STACK_LINE(66) - ::org::puremvc::haxe::patterns::facade::Facade_obj::instance = ::org::puremvc::haxe::patterns::facade::Facade_obj::__new(); - } - HX_STACK_LINE(67) - return ::org::puremvc::haxe::patterns::facade::Facade_obj::instance; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Facade_obj,getInstance,return ) - -::org::puremvc::haxe::interfaces::IFacade Facade_obj::instance; - - -Facade_obj::Facade_obj() -{ -} - -void Facade_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Facade); - HX_MARK_MEMBER_NAME(view,"view"); - HX_MARK_MEMBER_NAME(model,"model"); - HX_MARK_MEMBER_NAME(controller,"controller"); - HX_MARK_END_CLASS(); -} - -void Facade_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(view,"view"); - HX_VISIT_MEMBER_NAME(model,"model"); - HX_VISIT_MEMBER_NAME(controller,"controller"); -} - -Dynamic Facade_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"view") ) { return view; } - break; - case 5: - if (HX_FIELD_EQ(inName,"model") ) { return model; } - break; - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { return instance; } - if (HX_FIELD_EQ(inName,"hasProxy") ) { return hasProxy_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"controller") ) { return controller; } - if (HX_FIELD_EQ(inName,"hasCommand") ) { return hasCommand_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"getInstance") ) { return getInstance_dyn(); } - if (HX_FIELD_EQ(inName,"hasMediator") ) { return hasMediator_dyn(); } - if (HX_FIELD_EQ(inName,"removeProxy") ) { return removeProxy_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"retrieveProxy") ) { return retrieveProxy_dyn(); } - if (HX_FIELD_EQ(inName,"registerProxy") ) { return registerProxy_dyn(); } - if (HX_FIELD_EQ(inName,"removeCommand") ) { return removeCommand_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"removeMediator") ) { return removeMediator_dyn(); } - if (HX_FIELD_EQ(inName,"initializeView") ) { return initializeView_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"notifyObservers") ) { return notifyObservers_dyn(); } - if (HX_FIELD_EQ(inName,"registerCommand") ) { return registerCommand_dyn(); } - if (HX_FIELD_EQ(inName,"initializeModel") ) { return initializeModel_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"sendNotification") ) { return sendNotification_dyn(); } - if (HX_FIELD_EQ(inName,"retrieveMediator") ) { return retrieveMediator_dyn(); } - if (HX_FIELD_EQ(inName,"registerMediator") ) { return registerMediator_dyn(); } - if (HX_FIELD_EQ(inName,"initializeFacade") ) { return initializeFacade_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"initializeController") ) { return initializeController_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Facade_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"view") ) { view=inValue.Cast< ::org::puremvc::haxe::interfaces::IView >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"model") ) { model=inValue.Cast< ::org::puremvc::haxe::interfaces::IModel >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { instance=inValue.Cast< ::org::puremvc::haxe::interfaces::IFacade >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"controller") ) { controller=inValue.Cast< ::org::puremvc::haxe::interfaces::IController >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Facade_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("view")); - outFields->push(HX_CSTRING("model")); - outFields->push(HX_CSTRING("controller")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("getInstance"), - HX_CSTRING("instance"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("view"), - HX_CSTRING("model"), - HX_CSTRING("controller"), - HX_CSTRING("notifyObservers"), - HX_CSTRING("sendNotification"), - HX_CSTRING("hasMediator"), - HX_CSTRING("removeMediator"), - HX_CSTRING("retrieveMediator"), - HX_CSTRING("registerMediator"), - HX_CSTRING("hasProxy"), - HX_CSTRING("removeProxy"), - HX_CSTRING("retrieveProxy"), - HX_CSTRING("registerProxy"), - HX_CSTRING("hasCommand"), - HX_CSTRING("removeCommand"), - HX_CSTRING("registerCommand"), - HX_CSTRING("initializeView"), - HX_CSTRING("initializeModel"), - HX_CSTRING("initializeController"), - HX_CSTRING("initializeFacade"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Facade_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Facade_obj::instance,"instance"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Facade_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Facade_obj::instance,"instance"); -}; - -Class Facade_obj::__mClass; - -void Facade_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.facade.Facade"), hx::TCanCast< Facade_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Facade_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace facade diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/mediator/Mediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/mediator/Mediator.cpp deleted file mode 100644 index 79edfdb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/mediator/Mediator.cpp +++ /dev/null @@ -1,261 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace mediator{ - -Void Mediator_obj::__construct(::String mediatorName,Dynamic viewComponent) -{ -HX_STACK_PUSH("Mediator::new","org/puremvc/haxe/patterns/mediator/Mediator.hx",32); -{ - HX_STACK_LINE(33) - super::__construct(); - HX_STACK_LINE(34) - this->mediatorName = ( (((mediatorName != null()))) ? ::String(mediatorName) : ::String(::org::puremvc::haxe::patterns::mediator::Mediator_obj::NAME) ); - HX_STACK_LINE(35) - if (((viewComponent != null()))){ - HX_STACK_LINE(36) - this->viewComponent = viewComponent; - } -} -; - return null(); -} - -Mediator_obj::~Mediator_obj() { } - -Dynamic Mediator_obj::__CreateEmpty() { return new Mediator_obj; } -hx::ObjectPtr< Mediator_obj > Mediator_obj::__new(::String mediatorName,Dynamic viewComponent) -{ hx::ObjectPtr< Mediator_obj > result = new Mediator_obj(); - result->__construct(mediatorName,viewComponent); - return result;} - -Dynamic Mediator_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Mediator_obj > result = new Mediator_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -hx::Object *Mediator_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IMediator_obj)) return operator ::org::puremvc::haxe::interfaces::IMediator_obj *(); - return super::__ToInterface(inType); -} - -Void Mediator_obj::onRemove( ){ -{ - HX_STACK_PUSH("Mediator::onRemove","org/puremvc/haxe/patterns/mediator/Mediator.hx",96); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Mediator_obj,onRemove,(void)) - -Void Mediator_obj::onRegister( ){ -{ - HX_STACK_PUSH("Mediator::onRegister","org/puremvc/haxe/patterns/mediator/Mediator.hx",89); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Mediator_obj,onRegister,(void)) - -Void Mediator_obj::handleNotification( ::org::puremvc::haxe::interfaces::INotification notification){ -{ - HX_STACK_PUSH("Mediator::handleNotification","org/puremvc/haxe/patterns/mediator/Mediator.hx",81); - HX_STACK_THIS(this); - HX_STACK_ARG(notification,"notification"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Mediator_obj,handleNotification,(void)) - -Array< ::String > Mediator_obj::listNotificationInterests( ){ - HX_STACK_PUSH("Mediator::listNotificationInterests","org/puremvc/haxe/patterns/mediator/Mediator.hx",69); - HX_STACK_THIS(this); - HX_STACK_LINE(69) - return Array_obj< ::String >::__new(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Mediator_obj,listNotificationInterests,return ) - -Dynamic Mediator_obj::getViewComponent( ){ - HX_STACK_PUSH("Mediator::getViewComponent","org/puremvc/haxe/patterns/mediator/Mediator.hx",60); - HX_STACK_THIS(this); - HX_STACK_LINE(60) - return this->viewComponent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Mediator_obj,getViewComponent,return ) - -Void Mediator_obj::setViewComponent( Dynamic viewComponent){ -{ - HX_STACK_PUSH("Mediator::setViewComponent","org/puremvc/haxe/patterns/mediator/Mediator.hx",52); - HX_STACK_THIS(this); - HX_STACK_ARG(viewComponent,"viewComponent"); - HX_STACK_LINE(52) - this->viewComponent = viewComponent; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Mediator_obj,setViewComponent,(void)) - -::String Mediator_obj::getMediatorName( ){ - HX_STACK_PUSH("Mediator::getMediatorName","org/puremvc/haxe/patterns/mediator/Mediator.hx",44); - HX_STACK_THIS(this); - HX_STACK_LINE(44) - return this->mediatorName; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Mediator_obj,getMediatorName,return ) - -::String Mediator_obj::NAME; - - -Mediator_obj::Mediator_obj() -{ -} - -void Mediator_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Mediator); - HX_MARK_MEMBER_NAME(viewComponent,"viewComponent"); - HX_MARK_MEMBER_NAME(mediatorName,"mediatorName"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Mediator_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(viewComponent,"viewComponent"); - HX_VISIT_MEMBER_NAME(mediatorName,"mediatorName"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Mediator_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - break; - case 8: - if (HX_FIELD_EQ(inName,"onRemove") ) { return onRemove_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"onRegister") ) { return onRegister_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"mediatorName") ) { return mediatorName; } - break; - case 13: - if (HX_FIELD_EQ(inName,"viewComponent") ) { return viewComponent; } - break; - case 15: - if (HX_FIELD_EQ(inName,"getMediatorName") ) { return getMediatorName_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"getViewComponent") ) { return getViewComponent_dyn(); } - if (HX_FIELD_EQ(inName,"setViewComponent") ) { return setViewComponent_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"handleNotification") ) { return handleNotification_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"listNotificationInterests") ) { return listNotificationInterests_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Mediator_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"mediatorName") ) { mediatorName=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"viewComponent") ) { viewComponent=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Mediator_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("viewComponent")); - outFields->push(HX_CSTRING("mediatorName")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("viewComponent"), - HX_CSTRING("mediatorName"), - HX_CSTRING("onRemove"), - HX_CSTRING("onRegister"), - HX_CSTRING("handleNotification"), - HX_CSTRING("listNotificationInterests"), - HX_CSTRING("getViewComponent"), - HX_CSTRING("setViewComponent"), - HX_CSTRING("getMediatorName"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Mediator_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Mediator_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Mediator_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Mediator_obj::NAME,"NAME"); -}; - -Class Mediator_obj::__mClass; - -void Mediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.mediator.Mediator"), hx::TCanCast< Mediator_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Mediator_obj::__boot() -{ - NAME= HX_CSTRING("Mediator"); -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace mediator diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/observer/Notification.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/observer/Notification.cpp deleted file mode 100644 index 0c7bc92..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/observer/Notification.cpp +++ /dev/null @@ -1,229 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notification -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace observer{ - -Void Notification_obj::__construct(::String name,Dynamic body,::String type) -{ -HX_STACK_PUSH("Notification::new","org/puremvc/haxe/patterns/observer/Notification.hx",41); -{ - HX_STACK_LINE(42) - this->name = name; - HX_STACK_LINE(43) - if (((body != null()))){ - HX_STACK_LINE(44) - this->body = body; - } - HX_STACK_LINE(45) - if (((type != null()))){ - HX_STACK_LINE(46) - this->type = type; - } -} -; - return null(); -} - -Notification_obj::~Notification_obj() { } - -Dynamic Notification_obj::__CreateEmpty() { return new Notification_obj; } -hx::ObjectPtr< Notification_obj > Notification_obj::__new(::String name,Dynamic body,::String type) -{ hx::ObjectPtr< Notification_obj > result = new Notification_obj(); - result->__construct(name,body,type); - return result;} - -Dynamic Notification_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Notification_obj > result = new Notification_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -hx::Object *Notification_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::INotification_obj)) return operator ::org::puremvc::haxe::interfaces::INotification_obj *(); - return super::__ToInterface(inType); -} - -::String Notification_obj::toString( ){ - HX_STACK_PUSH("Notification::toString","org/puremvc/haxe/patterns/observer/Notification.hx",93); - HX_STACK_THIS(this); - HX_STACK_LINE(94) - ::String msg = (HX_CSTRING("Notification Name: ") + this->getName()); HX_STACK_VAR(msg,"msg"); - HX_STACK_LINE(95) - hx::AddEq(msg,(HX_CSTRING("\nBody:") + (( (((this->body == null()))) ? ::String(HX_CSTRING("null")) : ::String(this->body->toString()) )))); - HX_STACK_LINE(96) - hx::AddEq(msg,(HX_CSTRING("\nType:") + (( (((this->type == null()))) ? ::String(HX_CSTRING("null")) : ::String(this->type) )))); - HX_STACK_LINE(97) - return msg; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Notification_obj,toString,return ) - -::String Notification_obj::getType( ){ - HX_STACK_PUSH("Notification::getType","org/puremvc/haxe/patterns/observer/Notification.hx",85); - HX_STACK_THIS(this); - HX_STACK_LINE(85) - return this->type; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Notification_obj,getType,return ) - -Void Notification_obj::setType( ::String type){ -{ - HX_STACK_PUSH("Notification::setType","org/puremvc/haxe/patterns/observer/Notification.hx",77); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_LINE(77) - this->type = type; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Notification_obj,setType,(void)) - -Dynamic Notification_obj::getBody( ){ - HX_STACK_PUSH("Notification::getBody","org/puremvc/haxe/patterns/observer/Notification.hx",69); - HX_STACK_THIS(this); - HX_STACK_LINE(69) - return this->body; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Notification_obj,getBody,return ) - -Void Notification_obj::setBody( Dynamic body){ -{ - HX_STACK_PUSH("Notification::setBody","org/puremvc/haxe/patterns/observer/Notification.hx",61); - HX_STACK_THIS(this); - HX_STACK_ARG(body,"body"); - HX_STACK_LINE(61) - this->body = body; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Notification_obj,setBody,(void)) - -::String Notification_obj::getName( ){ - HX_STACK_PUSH("Notification::getName","org/puremvc/haxe/patterns/observer/Notification.hx",53); - HX_STACK_THIS(this); - HX_STACK_LINE(53) - return this->name; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Notification_obj,getName,return ) - - -Notification_obj::Notification_obj() -{ -} - -void Notification_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Notification); - HX_MARK_MEMBER_NAME(body,"body"); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_END_CLASS(); -} - -void Notification_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(body,"body"); - HX_VISIT_MEMBER_NAME(type,"type"); - HX_VISIT_MEMBER_NAME(name,"name"); -} - -Dynamic Notification_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"body") ) { return body; } - if (HX_FIELD_EQ(inName,"type") ) { return type; } - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - if (HX_FIELD_EQ(inName,"setType") ) { return setType_dyn(); } - if (HX_FIELD_EQ(inName,"getBody") ) { return getBody_dyn(); } - if (HX_FIELD_EQ(inName,"setBody") ) { return setBody_dyn(); } - if (HX_FIELD_EQ(inName,"getName") ) { return getName_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Notification_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"body") ) { body=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Notification_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("body")); - outFields->push(HX_CSTRING("type")); - outFields->push(HX_CSTRING("name")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("body"), - HX_CSTRING("type"), - HX_CSTRING("name"), - HX_CSTRING("toString"), - HX_CSTRING("getType"), - HX_CSTRING("setType"), - HX_CSTRING("getBody"), - HX_CSTRING("setBody"), - HX_CSTRING("getName"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Notification_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Notification_obj::__mClass,"__mClass"); -}; - -Class Notification_obj::__mClass; - -void Notification_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.observer.Notification"), hx::TCanCast< Notification_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Notification_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace observer diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/observer/Notifier.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/observer/Notifier.cpp deleted file mode 100644 index 5bab7bb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/observer/Notifier.cpp +++ /dev/null @@ -1,143 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_facade_Facade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace observer{ - -Void Notifier_obj::__construct() -{ -HX_STACK_PUSH("Notifier::new","org/puremvc/haxe/patterns/observer/Notifier.hx",33); -{ - HX_STACK_LINE(33) - this->facade = ::org::puremvc::haxe::patterns::facade::Facade_obj::getInstance(); -} -; - return null(); -} - -Notifier_obj::~Notifier_obj() { } - -Dynamic Notifier_obj::__CreateEmpty() { return new Notifier_obj; } -hx::ObjectPtr< Notifier_obj > Notifier_obj::__new() -{ hx::ObjectPtr< Notifier_obj > result = new Notifier_obj(); - result->__construct(); - return result;} - -Dynamic Notifier_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Notifier_obj > result = new Notifier_obj(); - result->__construct(); - return result;} - -hx::Object *Notifier_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::INotifier_obj)) return operator ::org::puremvc::haxe::interfaces::INotifier_obj *(); - return super::__ToInterface(inType); -} - -Void Notifier_obj::sendNotification( ::String notificationName,Dynamic body,::String type){ -{ - HX_STACK_PUSH("Notifier::sendNotification","org/puremvc/haxe/patterns/observer/Notifier.hx",44); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_ARG(body,"body"); - HX_STACK_ARG(type,"type"); - HX_STACK_LINE(44) - this->facade->sendNotification(notificationName,body,type); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Notifier_obj,sendNotification,(void)) - - -Notifier_obj::Notifier_obj() -{ -} - -void Notifier_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Notifier); - HX_MARK_MEMBER_NAME(facade,"facade"); - HX_MARK_END_CLASS(); -} - -void Notifier_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(facade,"facade"); -} - -Dynamic Notifier_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"facade") ) { return facade; } - break; - case 16: - if (HX_FIELD_EQ(inName,"sendNotification") ) { return sendNotification_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Notifier_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"facade") ) { facade=inValue.Cast< ::org::puremvc::haxe::interfaces::IFacade >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Notifier_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("facade")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("facade"), - HX_CSTRING("sendNotification"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Notifier_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Notifier_obj::__mClass,"__mClass"); -}; - -Class Notifier_obj::__mClass; - -void Notifier_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.observer.Notifier"), hx::TCanCast< Notifier_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Notifier_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace observer diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/observer/Observer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/observer/Observer.cpp deleted file mode 100644 index 121fe22..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/observer/Observer.cpp +++ /dev/null @@ -1,224 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IObserver -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Observer -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace observer{ - -Void Observer_obj::__construct(Dynamic notifyMethod,Dynamic notifyContext) -{ -HX_STACK_PUSH("Observer::new","org/puremvc/haxe/patterns/observer/Observer.hx",39); -{ - HX_STACK_LINE(40) - this->setNotifyMethod(notifyMethod); - HX_STACK_LINE(41) - this->setNotifyContext(notifyContext); -} -; - return null(); -} - -Observer_obj::~Observer_obj() { } - -Dynamic Observer_obj::__CreateEmpty() { return new Observer_obj; } -hx::ObjectPtr< Observer_obj > Observer_obj::__new(Dynamic notifyMethod,Dynamic notifyContext) -{ hx::ObjectPtr< Observer_obj > result = new Observer_obj(); - result->__construct(notifyMethod,notifyContext); - return result;} - -Dynamic Observer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Observer_obj > result = new Observer_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -hx::Object *Observer_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IObserver_obj)) return operator ::org::puremvc::haxe::interfaces::IObserver_obj *(); - return super::__ToInterface(inType); -} - -bool Observer_obj::compareNotifyContext( Dynamic object){ - HX_STACK_PUSH("Observer::compareNotifyContext","org/puremvc/haxe/patterns/observer/Observer.hx",90); - HX_STACK_THIS(this); - HX_STACK_ARG(object,"object"); - HX_STACK_LINE(90) - return (object == this->context); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Observer_obj,compareNotifyContext,return ) - -Void Observer_obj::notifyObserver( ::org::puremvc::haxe::interfaces::INotification notification){ -{ - HX_STACK_PUSH("Observer::notifyObserver","org/puremvc/haxe/patterns/observer/Observer.hx",82); - HX_STACK_THIS(this); - HX_STACK_ARG(notification,"notification"); - HX_STACK_LINE(82) - this->getNotifyMethod()(notification).Cast< Void >(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Observer_obj,notifyObserver,(void)) - -Dynamic Observer_obj::getNotifyContext( ){ - HX_STACK_PUSH("Observer::getNotifyContext","org/puremvc/haxe/patterns/observer/Observer.hx",74); - HX_STACK_THIS(this); - HX_STACK_LINE(74) - return this->context; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Observer_obj,getNotifyContext,return ) - -Dynamic Observer_obj::getNotifyMethod( ){ - HX_STACK_PUSH("Observer::getNotifyMethod","org/puremvc/haxe/patterns/observer/Observer.hx",66); - HX_STACK_THIS(this); - HX_STACK_LINE(66) - return this->notify_dyn(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Observer_obj,getNotifyMethod,return ) - -Void Observer_obj::setNotifyContext( Dynamic notifyContext){ -{ - HX_STACK_PUSH("Observer::setNotifyContext","org/puremvc/haxe/patterns/observer/Observer.hx",58); - HX_STACK_THIS(this); - HX_STACK_ARG(notifyContext,"notifyContext"); - HX_STACK_LINE(58) - this->context = notifyContext; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Observer_obj,setNotifyContext,(void)) - -Void Observer_obj::setNotifyMethod( Dynamic notifyMethod){ -{ - HX_STACK_PUSH("Observer::setNotifyMethod","org/puremvc/haxe/patterns/observer/Observer.hx",50); - HX_STACK_THIS(this); - HX_STACK_ARG(notifyMethod,"notifyMethod"); - HX_STACK_LINE(50) - this->notify = notifyMethod; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Observer_obj,setNotifyMethod,(void)) - - -Observer_obj::Observer_obj() -{ -} - -void Observer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Observer); - HX_MARK_MEMBER_NAME(context,"context"); - HX_MARK_MEMBER_NAME(notify,"notify"); - HX_MARK_END_CLASS(); -} - -void Observer_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(context,"context"); - HX_VISIT_MEMBER_NAME(notify,"notify"); -} - -Dynamic Observer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"notify") ) { return notify; } - break; - case 7: - if (HX_FIELD_EQ(inName,"context") ) { return context; } - break; - case 14: - if (HX_FIELD_EQ(inName,"notifyObserver") ) { return notifyObserver_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"getNotifyMethod") ) { return getNotifyMethod_dyn(); } - if (HX_FIELD_EQ(inName,"setNotifyMethod") ) { return setNotifyMethod_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"getNotifyContext") ) { return getNotifyContext_dyn(); } - if (HX_FIELD_EQ(inName,"setNotifyContext") ) { return setNotifyContext_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"compareNotifyContext") ) { return compareNotifyContext_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Observer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"notify") ) { notify=inValue.Cast< Dynamic >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"context") ) { context=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Observer_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("context")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("compareNotifyContext"), - HX_CSTRING("notifyObserver"), - HX_CSTRING("getNotifyContext"), - HX_CSTRING("getNotifyMethod"), - HX_CSTRING("setNotifyContext"), - HX_CSTRING("setNotifyMethod"), - HX_CSTRING("context"), - HX_CSTRING("notify"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Observer_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Observer_obj::__mClass,"__mClass"); -}; - -Class Observer_obj::__mClass; - -void Observer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.observer.Observer"), hx::TCanCast< Observer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Observer_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace observer diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/proxy/Proxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/proxy/Proxy.cpp deleted file mode 100644 index 08af8d3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/org/puremvc/haxe/patterns/proxy/Proxy.cpp +++ /dev/null @@ -1,224 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace proxy{ - -Void Proxy_obj::__construct(::String proxyName,Dynamic data) -{ -HX_STACK_PUSH("Proxy::new","org/puremvc/haxe/patterns/proxy/Proxy.hx",37); -{ - HX_STACK_LINE(38) - super::__construct(); - HX_STACK_LINE(39) - this->proxyName = ( (((proxyName != null()))) ? ::String(proxyName) : ::String(::org::puremvc::haxe::patterns::proxy::Proxy_obj::NAME) ); - HX_STACK_LINE(40) - if (((data != null()))){ - HX_STACK_LINE(40) - this->setData(data); - } -} -; - return null(); -} - -Proxy_obj::~Proxy_obj() { } - -Dynamic Proxy_obj::__CreateEmpty() { return new Proxy_obj; } -hx::ObjectPtr< Proxy_obj > Proxy_obj::__new(::String proxyName,Dynamic data) -{ hx::ObjectPtr< Proxy_obj > result = new Proxy_obj(); - result->__construct(proxyName,data); - return result;} - -Dynamic Proxy_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Proxy_obj > result = new Proxy_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -hx::Object *Proxy_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IProxy_obj)) return operator ::org::puremvc::haxe::interfaces::IProxy_obj *(); - return super::__ToInterface(inType); -} - -Void Proxy_obj::onRemove( ){ -{ - HX_STACK_PUSH("Proxy::onRemove","org/puremvc/haxe/patterns/proxy/Proxy.hx",79); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Proxy_obj,onRemove,(void)) - -Void Proxy_obj::onRegister( ){ -{ - HX_STACK_PUSH("Proxy::onRegister","org/puremvc/haxe/patterns/proxy/Proxy.hx",71); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Proxy_obj,onRegister,(void)) - -Dynamic Proxy_obj::getData( ){ - HX_STACK_PUSH("Proxy::getData","org/puremvc/haxe/patterns/proxy/Proxy.hx",63); - HX_STACK_THIS(this); - HX_STACK_LINE(63) - return this->data; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Proxy_obj,getData,return ) - -Void Proxy_obj::setData( Dynamic data){ -{ - HX_STACK_PUSH("Proxy::setData","org/puremvc/haxe/patterns/proxy/Proxy.hx",55); - HX_STACK_THIS(this); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(55) - this->data = data; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Proxy_obj,setData,(void)) - -::String Proxy_obj::getProxyName( ){ - HX_STACK_PUSH("Proxy::getProxyName","org/puremvc/haxe/patterns/proxy/Proxy.hx",47); - HX_STACK_THIS(this); - HX_STACK_LINE(47) - return this->proxyName; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Proxy_obj,getProxyName,return ) - -::String Proxy_obj::NAME; - - -Proxy_obj::Proxy_obj() -{ -} - -void Proxy_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Proxy); - HX_MARK_MEMBER_NAME(data,"data"); - HX_MARK_MEMBER_NAME(proxyName,"proxyName"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Proxy_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(data,"data"); - HX_VISIT_MEMBER_NAME(proxyName,"proxyName"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Proxy_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - if (HX_FIELD_EQ(inName,"data") ) { return data; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getData") ) { return getData_dyn(); } - if (HX_FIELD_EQ(inName,"setData") ) { return setData_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"onRemove") ) { return onRemove_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"proxyName") ) { return proxyName; } - break; - case 10: - if (HX_FIELD_EQ(inName,"onRegister") ) { return onRegister_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"getProxyName") ) { return getProxyName_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Proxy_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"data") ) { data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"proxyName") ) { proxyName=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Proxy_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("data")); - outFields->push(HX_CSTRING("proxyName")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("data"), - HX_CSTRING("proxyName"), - HX_CSTRING("onRemove"), - HX_CSTRING("onRegister"), - HX_CSTRING("getData"), - HX_CSTRING("setData"), - HX_CSTRING("getProxyName"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Proxy_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Proxy_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Proxy_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Proxy_obj::NAME,"NAME"); -}; - -Class Proxy_obj::__mClass; - -void Proxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.proxy.Proxy"), hx::TCanCast< Proxy_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Proxy_obj::__boot() -{ - NAME= HX_CSTRING("Proxy"); -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace proxy diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/pages/Psvg.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/pages/Psvg.cpp deleted file mode 100644 index 315ef2e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/pages/Psvg.cpp +++ /dev/null @@ -1,201 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_PageComponent -#include -#endif -#ifndef INCLUDED_haxe_Timer -#include -#endif -#ifndef INCLUDED_native_display_DisplayObject -#include -#endif -#ifndef INCLUDED_native_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_native_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_native_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_native_display_Sprite -#include -#endif -#ifndef INCLUDED_native_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_native_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_pages_Psvg -#include -#endif -namespace pages{ - -Void Psvg_obj::__construct() -{ -HX_STACK_PUSH("Psvg::new","pages/Psvg.hx",10); -{ - HX_STACK_LINE(10) - super::__construct(); -} -; - return null(); -} - -Psvg_obj::~Psvg_obj() { } - -Dynamic Psvg_obj::__CreateEmpty() { return new Psvg_obj; } -hx::ObjectPtr< Psvg_obj > Psvg_obj::__new() -{ hx::ObjectPtr< Psvg_obj > result = new Psvg_obj(); - result->__construct(); - return result;} - -Dynamic Psvg_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Psvg_obj > result = new Psvg_obj(); - result->__construct(); - return result;} - -Void Psvg_obj::onTimerTick( ){ -{ - HX_STACK_PUSH("Psvg::onTimerTick","pages/Psvg.hx",22); - HX_STACK_THIS(this); - HX_STACK_LINE(23) - ::ca::confidant::glory::view::components::ActorComponent _g = this->star; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(23) - _g->set_rotation((_g->get_rotation() + (int)20)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Psvg_obj,onTimerTick,(void)) - -Void Psvg_obj::startTimer( hx::Null< int > __o_i){ -int i = __o_i.Default(50); - HX_STACK_PUSH("Psvg::startTimer","pages/Psvg.hx",17); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); -{ - HX_STACK_LINE(19) - this->myTimer = ::haxe::Timer_obj::__new(i); - HX_STACK_LINE(20) - this->myTimer->run = this->onTimerTick_dyn(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Psvg_obj,startTimer,(void)) - -Void Psvg_obj::init( ){ -{ - HX_STACK_PUSH("Psvg::init","pages/Psvg.hx",13); - HX_STACK_THIS(this); - HX_STACK_LINE(14) - this->star = this->myActors->get(HX_CSTRING("star1")); - HX_STACK_LINE(15) - this->startTimer(null()); - } -return null(); -} - - - -Psvg_obj::Psvg_obj() -{ -} - -void Psvg_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Psvg); - HX_MARK_MEMBER_NAME(star,"star"); - HX_MARK_MEMBER_NAME(myTimer,"myTimer"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Psvg_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(star,"star"); - HX_VISIT_MEMBER_NAME(myTimer,"myTimer"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Psvg_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"init") ) { return init_dyn(); } - if (HX_FIELD_EQ(inName,"star") ) { return star; } - break; - case 7: - if (HX_FIELD_EQ(inName,"myTimer") ) { return myTimer; } - break; - case 10: - if (HX_FIELD_EQ(inName,"startTimer") ) { return startTimer_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"onTimerTick") ) { return onTimerTick_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Psvg_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"star") ) { star=inValue.Cast< ::ca::confidant::glory::view::components::ActorComponent >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"myTimer") ) { myTimer=inValue.Cast< ::haxe::Timer >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Psvg_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("star")); - outFields->push(HX_CSTRING("myTimer")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("onTimerTick"), - HX_CSTRING("startTimer"), - HX_CSTRING("init"), - HX_CSTRING("star"), - HX_CSTRING("myTimer"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Psvg_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Psvg_obj::__mClass,"__mClass"); -}; - -Class Psvg_obj::__mClass; - -void Psvg_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("pages.Psvg"), hx::TCanCast< Psvg_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Psvg_obj::__boot() -{ -} - -} // end namespace pages diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/pages/Ptitle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/pages/Ptitle.cpp deleted file mode 100644 index d110c1f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/pages/Ptitle.cpp +++ /dev/null @@ -1,201 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_PageComponent -#include -#endif -#ifndef INCLUDED_haxe_Timer -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_pages_Ptitle -#include -#endif -namespace pages{ - -Void Ptitle_obj::__construct() -{ -HX_STACK_PUSH("Ptitle::new","pages/Ptitle.hx",10); -{ - HX_STACK_LINE(10) - super::__construct(); -} -; - return null(); -} - -Ptitle_obj::~Ptitle_obj() { } - -Dynamic Ptitle_obj::__CreateEmpty() { return new Ptitle_obj; } -hx::ObjectPtr< Ptitle_obj > Ptitle_obj::__new() -{ hx::ObjectPtr< Ptitle_obj > result = new Ptitle_obj(); - result->__construct(); - return result;} - -Dynamic Ptitle_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Ptitle_obj > result = new Ptitle_obj(); - result->__construct(); - return result;} - -Void Ptitle_obj::onTimerTick( ){ -{ - HX_STACK_PUSH("Ptitle::onTimerTick","pages/Ptitle.hx",22); - HX_STACK_THIS(this); - HX_STACK_LINE(23) - ::ca::confidant::glory::view::components::ActorComponent _g = this->star; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(23) - _g->nmeSetRotation((_g->nmeGetRotation() + (int)20)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Ptitle_obj,onTimerTick,(void)) - -Void Ptitle_obj::startTimer( hx::Null< int > __o_i){ -int i = __o_i.Default(50); - HX_STACK_PUSH("Ptitle::startTimer","pages/Ptitle.hx",17); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); -{ - HX_STACK_LINE(19) - this->myTimer = ::haxe::Timer_obj::__new(i); - HX_STACK_LINE(20) - this->myTimer->run = this->onTimerTick_dyn(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Ptitle_obj,startTimer,(void)) - -Void Ptitle_obj::init( ){ -{ - HX_STACK_PUSH("Ptitle::init","pages/Ptitle.hx",13); - HX_STACK_THIS(this); - HX_STACK_LINE(14) - this->star = this->myActors->get(HX_CSTRING("star1")); - HX_STACK_LINE(15) - this->startTimer(null()); - } -return null(); -} - - - -Ptitle_obj::Ptitle_obj() -{ -} - -void Ptitle_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Ptitle); - HX_MARK_MEMBER_NAME(star,"star"); - HX_MARK_MEMBER_NAME(myTimer,"myTimer"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Ptitle_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(star,"star"); - HX_VISIT_MEMBER_NAME(myTimer,"myTimer"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Ptitle_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"init") ) { return init_dyn(); } - if (HX_FIELD_EQ(inName,"star") ) { return star; } - break; - case 7: - if (HX_FIELD_EQ(inName,"myTimer") ) { return myTimer; } - break; - case 10: - if (HX_FIELD_EQ(inName,"startTimer") ) { return startTimer_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"onTimerTick") ) { return onTimerTick_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Ptitle_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"star") ) { star=inValue.Cast< ::ca::confidant::glory::view::components::ActorComponent >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"myTimer") ) { myTimer=inValue.Cast< ::haxe::Timer >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Ptitle_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("star")); - outFields->push(HX_CSTRING("myTimer")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("onTimerTick"), - HX_CSTRING("startTimer"), - HX_CSTRING("init"), - HX_CSTRING("star"), - HX_CSTRING("myTimer"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Ptitle_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Ptitle_obj::__mClass,"__mClass"); -}; - -Class Ptitle_obj::__mClass; - -void Ptitle_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("pages.Ptitle"), hx::TCanCast< Ptitle_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Ptitle_obj::__boot() -{ -} - -} // end namespace pages diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/FileSystem.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/FileSystem.cpp deleted file mode 100644 index 8bd0400..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/FileSystem.cpp +++ /dev/null @@ -1,401 +0,0 @@ -#include - -#ifndef INCLUDED_Date -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_sys_FileSystem -#include -#endif -#ifndef INCLUDED_sys__FileSystem_FileKind -#include -#endif -namespace sys{ - -Void FileSystem_obj::__construct() -{ - return null(); -} - -FileSystem_obj::~FileSystem_obj() { } - -Dynamic FileSystem_obj::__CreateEmpty() { return new FileSystem_obj; } -hx::ObjectPtr< FileSystem_obj > FileSystem_obj::__new() -{ hx::ObjectPtr< FileSystem_obj > result = new FileSystem_obj(); - result->__construct(); - return result;} - -Dynamic FileSystem_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< FileSystem_obj > result = new FileSystem_obj(); - result->__construct(); - return result;} - -bool FileSystem_obj::exists( ::String path){ - HX_STACK_PUSH("FileSystem::exists","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",36); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(36) - return ::sys::FileSystem_obj::sys_exists(path); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,exists,return ) - -Void FileSystem_obj::rename( ::String path,::String newpath){ -{ - HX_STACK_PUSH("FileSystem::rename","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",40); - HX_STACK_ARG(path,"path"); - HX_STACK_ARG(newpath,"newpath"); - HX_STACK_LINE(40) - if (((::sys::FileSystem_obj::sys_rename(path,newpath) == null()))){ - HX_STACK_LINE(42) - hx::Throw ((((HX_CSTRING("Could not rename:") + path) + HX_CSTRING(" to ")) + newpath)); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(FileSystem_obj,rename,(void)) - -Dynamic FileSystem_obj::stat( ::String path){ - HX_STACK_PUSH("FileSystem::stat","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",45); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(46) - Dynamic s = ::sys::FileSystem_obj::sys_stat(path); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(47) - if (((s == null()))){ - struct _Function_2_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",48); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("gid") , (int)0,false); - __result->Add(HX_CSTRING("uid") , (int)0,false); - __result->Add(HX_CSTRING("atime") , ::Date_obj::fromTime((int)0),false); - __result->Add(HX_CSTRING("mtime") , ::Date_obj::fromTime((int)0),false); - __result->Add(HX_CSTRING("ctime") , ::Date_obj::fromTime((int)0),false); - __result->Add(HX_CSTRING("dev") , (int)0,false); - __result->Add(HX_CSTRING("ino") , (int)0,false); - __result->Add(HX_CSTRING("nlink") , (int)0,false); - __result->Add(HX_CSTRING("rdev") , (int)0,false); - __result->Add(HX_CSTRING("size") , (int)0,false); - __result->Add(HX_CSTRING("mode") , (int)0,false); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(48) - return _Function_2_1::Block(); - } - HX_STACK_LINE(49) - s->__FieldRef(HX_CSTRING("atime")) = ::Date_obj::fromTime((1000.0 * s->__Field(HX_CSTRING("atime"),true))); - HX_STACK_LINE(50) - s->__FieldRef(HX_CSTRING("mtime")) = ::Date_obj::fromTime((1000.0 * s->__Field(HX_CSTRING("mtime"),true))); - HX_STACK_LINE(51) - s->__FieldRef(HX_CSTRING("ctime")) = ::Date_obj::fromTime((1000.0 * s->__Field(HX_CSTRING("ctime"),true))); - HX_STACK_LINE(52) - return s; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,stat,return ) - -::String FileSystem_obj::fullPath( ::String relpath){ - HX_STACK_PUSH("FileSystem::fullPath","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",55); - HX_STACK_ARG(relpath,"relpath"); - HX_STACK_LINE(55) - return ::String(::sys::FileSystem_obj::file_full_path(relpath)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,fullPath,return ) - -::sys::_FileSystem::FileKind FileSystem_obj::kind( ::String path){ - HX_STACK_PUSH("FileSystem::kind","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",59); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(60) - ::String k = ::sys::FileSystem_obj::sys_file_type(path); HX_STACK_VAR(k,"k"); - struct _Function_1_1{ - inline static ::sys::_FileSystem::FileKind Block( ::String &k){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",61); - { - HX_STACK_LINE(61) - ::String _switch_1 = (k); - if ( ( _switch_1==HX_CSTRING("file"))){ - HX_STACK_LINE(62) - return ::sys::_FileSystem::FileKind_obj::kfile_dyn(); - } - else if ( ( _switch_1==HX_CSTRING("dir"))){ - HX_STACK_LINE(63) - return ::sys::_FileSystem::FileKind_obj::kdir_dyn(); - } - else { - HX_STACK_LINE(64) - return ::sys::_FileSystem::FileKind_obj::kother(k); - } -; -; - } - return null(); - } - }; - HX_STACK_LINE(61) - return _Function_1_1::Block(k); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,kind,return ) - -bool FileSystem_obj::isDirectory( ::String path){ - HX_STACK_PUSH("FileSystem::isDirectory","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",68); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(68) - return (::sys::FileSystem_obj::kind(path) == ::sys::_FileSystem::FileKind_obj::kdir_dyn()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,isDirectory,return ) - -Void FileSystem_obj::createDirectory( ::String path){ -{ - HX_STACK_PUSH("FileSystem::createDirectory","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",72); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(72) - if (((::sys::FileSystem_obj::sys_create_dir(path,(int)493) == null()))){ - HX_STACK_LINE(74) - hx::Throw ((HX_CSTRING("Could not create directory:") + path)); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,createDirectory,(void)) - -Void FileSystem_obj::deleteFile( ::String path){ -{ - HX_STACK_PUSH("FileSystem::deleteFile","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",77); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(77) - if (((::sys::FileSystem_obj::file_delete(path) == null()))){ - HX_STACK_LINE(79) - hx::Throw ((HX_CSTRING("Could not delete file:") + path)); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,deleteFile,(void)) - -Void FileSystem_obj::deleteDirectory( ::String path){ -{ - HX_STACK_PUSH("FileSystem::deleteDirectory","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",82); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(82) - if (((::sys::FileSystem_obj::sys_remove_dir(path) == null()))){ - HX_STACK_LINE(84) - hx::Throw ((HX_CSTRING("Could not delete directory:") + path)); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,deleteDirectory,(void)) - -Array< ::String > FileSystem_obj::readDirectory( ::String path){ - HX_STACK_PUSH("FileSystem::readDirectory","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",87); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(87) - return ::sys::FileSystem_obj::sys_read_dir(path); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,readDirectory,return ) - -Dynamic FileSystem_obj::sys_exists; - -Dynamic FileSystem_obj::file_delete; - -Dynamic FileSystem_obj::sys_rename; - -Dynamic FileSystem_obj::sys_stat; - -Dynamic FileSystem_obj::sys_file_type; - -Dynamic FileSystem_obj::sys_create_dir; - -Dynamic FileSystem_obj::sys_remove_dir; - -Dynamic FileSystem_obj::sys_read_dir; - -Dynamic FileSystem_obj::file_full_path; - - -FileSystem_obj::FileSystem_obj() -{ -} - -void FileSystem_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(FileSystem); - HX_MARK_END_CLASS(); -} - -void FileSystem_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic FileSystem_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"stat") ) { return stat_dyn(); } - if (HX_FIELD_EQ(inName,"kind") ) { return kind_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"exists") ) { return exists_dyn(); } - if (HX_FIELD_EQ(inName,"rename") ) { return rename_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"fullPath") ) { return fullPath_dyn(); } - if (HX_FIELD_EQ(inName,"sys_stat") ) { return sys_stat; } - break; - case 10: - if (HX_FIELD_EQ(inName,"deleteFile") ) { return deleteFile_dyn(); } - if (HX_FIELD_EQ(inName,"sys_exists") ) { return sys_exists; } - if (HX_FIELD_EQ(inName,"sys_rename") ) { return sys_rename; } - break; - case 11: - if (HX_FIELD_EQ(inName,"isDirectory") ) { return isDirectory_dyn(); } - if (HX_FIELD_EQ(inName,"file_delete") ) { return file_delete; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sys_read_dir") ) { return sys_read_dir; } - break; - case 13: - if (HX_FIELD_EQ(inName,"readDirectory") ) { return readDirectory_dyn(); } - if (HX_FIELD_EQ(inName,"sys_file_type") ) { return sys_file_type; } - break; - case 14: - if (HX_FIELD_EQ(inName,"sys_create_dir") ) { return sys_create_dir; } - if (HX_FIELD_EQ(inName,"sys_remove_dir") ) { return sys_remove_dir; } - if (HX_FIELD_EQ(inName,"file_full_path") ) { return file_full_path; } - break; - case 15: - if (HX_FIELD_EQ(inName,"createDirectory") ) { return createDirectory_dyn(); } - if (HX_FIELD_EQ(inName,"deleteDirectory") ) { return deleteDirectory_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic FileSystem_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"sys_stat") ) { sys_stat=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"sys_exists") ) { sys_exists=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"sys_rename") ) { sys_rename=inValue.Cast< Dynamic >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"file_delete") ) { file_delete=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sys_read_dir") ) { sys_read_dir=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"sys_file_type") ) { sys_file_type=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"sys_create_dir") ) { sys_create_dir=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"sys_remove_dir") ) { sys_remove_dir=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_full_path") ) { file_full_path=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void FileSystem_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("exists"), - HX_CSTRING("rename"), - HX_CSTRING("stat"), - HX_CSTRING("fullPath"), - HX_CSTRING("kind"), - HX_CSTRING("isDirectory"), - HX_CSTRING("createDirectory"), - HX_CSTRING("deleteFile"), - HX_CSTRING("deleteDirectory"), - HX_CSTRING("readDirectory"), - HX_CSTRING("sys_exists"), - HX_CSTRING("file_delete"), - HX_CSTRING("sys_rename"), - HX_CSTRING("sys_stat"), - HX_CSTRING("sys_file_type"), - HX_CSTRING("sys_create_dir"), - HX_CSTRING("sys_remove_dir"), - HX_CSTRING("sys_read_dir"), - HX_CSTRING("file_full_path"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FileSystem_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_exists,"sys_exists"); - HX_MARK_MEMBER_NAME(FileSystem_obj::file_delete,"file_delete"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_rename,"sys_rename"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_stat,"sys_stat"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_file_type,"sys_file_type"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_create_dir,"sys_create_dir"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_remove_dir,"sys_remove_dir"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_read_dir,"sys_read_dir"); - HX_MARK_MEMBER_NAME(FileSystem_obj::file_full_path,"file_full_path"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FileSystem_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_exists,"sys_exists"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::file_delete,"file_delete"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_rename,"sys_rename"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_stat,"sys_stat"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_file_type,"sys_file_type"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_create_dir,"sys_create_dir"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_remove_dir,"sys_remove_dir"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_read_dir,"sys_read_dir"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::file_full_path,"file_full_path"); -}; - -Class FileSystem_obj::__mClass; - -void FileSystem_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.FileSystem"), hx::TCanCast< FileSystem_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void FileSystem_obj::__boot() -{ - sys_exists= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_exists"),(int)1); - file_delete= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_delete"),(int)1); - sys_rename= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_rename"),(int)2); - sys_stat= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_stat"),(int)1); - sys_file_type= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_file_type"),(int)1); - sys_create_dir= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_create_dir"),(int)2); - sys_remove_dir= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_remove_dir"),(int)1); - sys_read_dir= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_read_dir"),(int)1); - file_full_path= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_full_path"),(int)1); -} - -} // end namespace sys diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/_FileSystem/FileKind.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/_FileSystem/FileKind.cpp deleted file mode 100644 index f5fd6c7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/_FileSystem/FileKind.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_sys__FileSystem_FileKind -#include -#endif -namespace sys{ -namespace _FileSystem{ - -::sys::_FileSystem::FileKind FileKind_obj::kdir; - -::sys::_FileSystem::FileKind FileKind_obj::kfile; - -::sys::_FileSystem::FileKind FileKind_obj::kother(::String k) - { return hx::CreateEnum< FileKind_obj >(HX_CSTRING("kother"),2,hx::DynamicArray(0,1).Add(k)); } - -HX_DEFINE_CREATE_ENUM(FileKind_obj) - -int FileKind_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("kdir")) return 0; - if (inName==HX_CSTRING("kfile")) return 1; - if (inName==HX_CSTRING("kother")) return 2; - return super::__FindIndex(inName); -} - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileKind_obj,kother,return) - -int FileKind_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("kdir")) return 0; - if (inName==HX_CSTRING("kfile")) return 0; - if (inName==HX_CSTRING("kother")) return 1; - return super::__FindArgCount(inName); -} - -Dynamic FileKind_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("kdir")) return kdir; - if (inName==HX_CSTRING("kfile")) return kfile; - if (inName==HX_CSTRING("kother")) return kother_dyn(); - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("kdir"), - HX_CSTRING("kfile"), - HX_CSTRING("kother"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FileKind_obj::kdir,"kdir"); - HX_MARK_MEMBER_NAME(FileKind_obj::kfile,"kfile"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FileKind_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FileKind_obj::kdir,"kdir"); - HX_VISIT_MEMBER_NAME(FileKind_obj::kfile,"kfile"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class FileKind_obj::__mClass; - -Dynamic __Create_FileKind_obj() { return new FileKind_obj; } - -void FileKind_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys._FileSystem.FileKind"), hx::TCanCast< FileKind_obj >,sStaticFields,sMemberFields, - &__Create_FileKind_obj, &__Create, - &super::__SGetClass(), &CreateFileKind_obj, sMarkStatics, sVisitStatic); -} - -void FileKind_obj::__boot() -{ -Static(kdir) = hx::CreateEnum< FileKind_obj >(HX_CSTRING("kdir"),0); -Static(kfile) = hx::CreateEnum< FileKind_obj >(HX_CSTRING("kfile"),1); -} - - -} // end namespace sys -} // end namespace _FileSystem diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/File.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/File.cpp deleted file mode 100644 index c8dce27..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/File.cpp +++ /dev/null @@ -1,281 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -#ifndef INCLUDED_haxe_io_Output -#include -#endif -#ifndef INCLUDED_sys_io_File -#include -#endif -#ifndef INCLUDED_sys_io_FileInput -#include -#endif -#ifndef INCLUDED_sys_io_FileOutput -#include -#endif -namespace sys{ -namespace io{ - -Void File_obj::__construct() -{ - return null(); -} - -File_obj::~File_obj() { } - -Dynamic File_obj::__CreateEmpty() { return new File_obj; } -hx::ObjectPtr< File_obj > File_obj::__new() -{ hx::ObjectPtr< File_obj > result = new File_obj(); - result->__construct(); - return result;} - -Dynamic File_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< File_obj > result = new File_obj(); - result->__construct(); - return result;} - -::String File_obj::getContent( ::String path){ - HX_STACK_PUSH("File::getContent","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",30); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(31) - ::haxe::io::Bytes b = ::sys::io::File_obj::getBytes(path); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(32) - return b->toString(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(File_obj,getContent,return ) - -::haxe::io::Bytes File_obj::getBytes( ::String path){ - HX_STACK_PUSH("File::getBytes","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",35); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(36) - Array< unsigned char > data = ::sys::io::File_obj::file_contents(path); HX_STACK_VAR(data,"data"); - HX_STACK_LINE(37) - return ::haxe::io::Bytes_obj::ofData(data); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(File_obj,getBytes,return ) - -Void File_obj::saveContent( ::String path,::String content){ -{ - HX_STACK_PUSH("File::saveContent","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",40); - HX_STACK_ARG(path,"path"); - HX_STACK_ARG(content,"content"); - HX_STACK_LINE(41) - ::sys::io::FileOutput f = ::sys::io::File_obj::write(path,null()); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(42) - f->writeString(content); - HX_STACK_LINE(43) - f->close(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(File_obj,saveContent,(void)) - -Void File_obj::saveBytes( ::String path,::haxe::io::Bytes bytes){ -{ - HX_STACK_PUSH("File::saveBytes","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",46); - HX_STACK_ARG(path,"path"); - HX_STACK_ARG(bytes,"bytes"); - HX_STACK_LINE(47) - ::sys::io::FileOutput f = ::sys::io::File_obj::write(path,null()); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(48) - f->write(bytes); - HX_STACK_LINE(49) - f->close(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(File_obj,saveBytes,(void)) - -::sys::io::FileInput File_obj::read( ::String path,hx::Null< bool > __o_binary){ -bool binary = __o_binary.Default(true); - HX_STACK_PUSH("File::read","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",52); - HX_STACK_ARG(path,"path"); - HX_STACK_ARG(binary,"binary"); -{ - HX_STACK_LINE(52) - return ::sys::io::FileInput_obj::__new(::sys::io::File_obj::file_open(path,( ((binary)) ? ::String(HX_CSTRING("rb")) : ::String(HX_CSTRING("r")) ))); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(File_obj,read,return ) - -::sys::io::FileOutput File_obj::write( ::String path,hx::Null< bool > __o_binary){ -bool binary = __o_binary.Default(true); - HX_STACK_PUSH("File::write","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",56); - HX_STACK_ARG(path,"path"); - HX_STACK_ARG(binary,"binary"); -{ - HX_STACK_LINE(56) - return ::sys::io::FileOutput_obj::__new(::sys::io::File_obj::file_open(path,( ((binary)) ? ::String(HX_CSTRING("wb")) : ::String(HX_CSTRING("w")) ))); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(File_obj,write,return ) - -::sys::io::FileOutput File_obj::append( ::String path,hx::Null< bool > __o_binary){ -bool binary = __o_binary.Default(true); - HX_STACK_PUSH("File::append","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",60); - HX_STACK_ARG(path,"path"); - HX_STACK_ARG(binary,"binary"); -{ - HX_STACK_LINE(60) - return ::sys::io::FileOutput_obj::__new(::sys::io::File_obj::file_open(path,( ((binary)) ? ::String(HX_CSTRING("ab")) : ::String(HX_CSTRING("a")) ))); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(File_obj,append,return ) - -Void File_obj::copy( ::String src,::String dst){ -{ - HX_STACK_PUSH("File::copy","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",64); - HX_STACK_ARG(src,"src"); - HX_STACK_ARG(dst,"dst"); - HX_STACK_LINE(65) - ::sys::io::FileInput s = ::sys::io::File_obj::read(src,true); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(66) - ::sys::io::FileOutput d = ::sys::io::File_obj::write(dst,true); HX_STACK_VAR(d,"d"); - HX_STACK_LINE(67) - d->writeInput(s,null()); - HX_STACK_LINE(68) - s->close(); - HX_STACK_LINE(69) - d->close(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(File_obj,copy,(void)) - -Dynamic File_obj::file_contents; - -Dynamic File_obj::file_open; - - -File_obj::File_obj() -{ -} - -void File_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(File); - HX_MARK_END_CLASS(); -} - -void File_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic File_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"read") ) { return read_dyn(); } - if (HX_FIELD_EQ(inName,"copy") ) { return copy_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"write") ) { return write_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"append") ) { return append_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"getBytes") ) { return getBytes_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"saveBytes") ) { return saveBytes_dyn(); } - if (HX_FIELD_EQ(inName,"file_open") ) { return file_open; } - break; - case 10: - if (HX_FIELD_EQ(inName,"getContent") ) { return getContent_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"saveContent") ) { return saveContent_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"file_contents") ) { return file_contents; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic File_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"file_open") ) { file_open=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"file_contents") ) { file_contents=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void File_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("getContent"), - HX_CSTRING("getBytes"), - HX_CSTRING("saveContent"), - HX_CSTRING("saveBytes"), - HX_CSTRING("read"), - HX_CSTRING("write"), - HX_CSTRING("append"), - HX_CSTRING("copy"), - HX_CSTRING("file_contents"), - HX_CSTRING("file_open"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(File_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(File_obj::file_contents,"file_contents"); - HX_MARK_MEMBER_NAME(File_obj::file_open,"file_open"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(File_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(File_obj::file_contents,"file_contents"); - HX_VISIT_MEMBER_NAME(File_obj::file_open,"file_open"); -}; - -Class File_obj::__mClass; - -void File_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io.File"), hx::TCanCast< File_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void File_obj::__boot() -{ - file_contents= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_contents"),(int)1); - file_open= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_open"),(int)2); -} - -} // end namespace sys -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/FileInput.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/FileInput.cpp deleted file mode 100644 index 41f0aee..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/FileInput.cpp +++ /dev/null @@ -1,312 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Eof -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -#ifndef INCLUDED_sys_io_FileInput -#include -#endif -#ifndef INCLUDED_sys_io_FileSeek -#include -#endif -namespace sys{ -namespace io{ - -Void FileInput_obj::__construct(Dynamic f) -{ -HX_STACK_PUSH("FileInput::new","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",33); -{ - HX_STACK_LINE(33) - this->__f = f; -} -; - return null(); -} - -FileInput_obj::~FileInput_obj() { } - -Dynamic FileInput_obj::__CreateEmpty() { return new FileInput_obj; } -hx::ObjectPtr< FileInput_obj > FileInput_obj::__new(Dynamic f) -{ hx::ObjectPtr< FileInput_obj > result = new FileInput_obj(); - result->__construct(f); - return result;} - -Dynamic FileInput_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< FileInput_obj > result = new FileInput_obj(); - result->__construct(inArgs[0]); - return result;} - -bool FileInput_obj::eof( ){ - HX_STACK_PUSH("FileInput::eof","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",73); - HX_STACK_THIS(this); - HX_STACK_LINE(73) - return ::sys::io::FileInput_obj::file_eof(this->__f); -} - - -HX_DEFINE_DYNAMIC_FUNC0(FileInput_obj,eof,return ) - -int FileInput_obj::tell( ){ - HX_STACK_PUSH("FileInput::tell","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",68); - HX_STACK_THIS(this); - HX_STACK_LINE(68) - return ::sys::io::FileInput_obj::file_tell(this->__f); -} - - -HX_DEFINE_DYNAMIC_FUNC0(FileInput_obj,tell,return ) - -Void FileInput_obj::seek( int p,::sys::io::FileSeek pos){ -{ - HX_STACK_PUSH("FileInput::seek","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",64); - HX_STACK_THIS(this); - HX_STACK_ARG(p,"p"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(64) - ::sys::io::FileInput_obj::file_seek(this->__f,p,( (((pos == ::sys::io::FileSeek_obj::SeekBegin_dyn()))) ? int((int)0) : int(( (((pos == ::sys::io::FileSeek_obj::SeekCur_dyn()))) ? int((int)1) : int((int)2) )) )); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(FileInput_obj,seek,(void)) - -Void FileInput_obj::close( ){ -{ - HX_STACK_PUSH("FileInput::close","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",59); - HX_STACK_THIS(this); - HX_STACK_LINE(60) - this->super::close(); - HX_STACK_LINE(61) - ::sys::io::FileInput_obj::file_close(this->__f); - } -return null(); -} - - -int FileInput_obj::readBytes( ::haxe::io::Bytes s,int p,int l){ - HX_STACK_PUSH("FileInput::readBytes","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",48); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(p,"p"); - HX_STACK_ARG(l,"l"); - struct _Function_1_1{ - inline static int Block( ::sys::io::FileInput_obj *__this,::haxe::io::Bytes &s,int &p,int &l){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",49); - { - HX_STACK_LINE(49) - try{ - HX_STACK_LINE(49) - return ::sys::io::FileInput_obj::file_read(__this->__f,s->b,p,l); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(51) - return ( ((e->__IsArray())) ? int(hx::Throw (::haxe::io::Eof_obj::__new())) : int(hx::Throw (::haxe::io::Error_obj::Custom(e))) ); - } - } - } - } - return null(); - } - }; - HX_STACK_LINE(48) - return _Function_1_1::Block(this,s,p,l); -} - - -int FileInput_obj::readByte( ){ - HX_STACK_PUSH("FileInput::readByte","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",37); - HX_STACK_THIS(this); - struct _Function_1_1{ - inline static int Block( ::sys::io::FileInput_obj *__this){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",38); - { - HX_STACK_LINE(38) - try{ - HX_STACK_LINE(38) - return ::sys::io::FileInput_obj::file_read_char(__this->__f); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(40) - return ( ((e->__IsArray())) ? int(hx::Throw (::haxe::io::Eof_obj::__new())) : int(hx::Throw (::haxe::io::Error_obj::Custom(e))) ); - } - } - } - } - return null(); - } - }; - HX_STACK_LINE(37) - return _Function_1_1::Block(this); -} - - -Dynamic FileInput_obj::file_eof; - -Dynamic FileInput_obj::file_read; - -Dynamic FileInput_obj::file_read_char; - -Dynamic FileInput_obj::file_close; - -Dynamic FileInput_obj::file_seek; - -Dynamic FileInput_obj::file_tell; - - -FileInput_obj::FileInput_obj() -{ -} - -void FileInput_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(FileInput); - HX_MARK_MEMBER_NAME(__f,"__f"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void FileInput_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(__f,"__f"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic FileInput_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"eof") ) { return eof_dyn(); } - if (HX_FIELD_EQ(inName,"__f") ) { return __f; } - break; - case 4: - if (HX_FIELD_EQ(inName,"tell") ) { return tell_dyn(); } - if (HX_FIELD_EQ(inName,"seek") ) { return seek_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"file_eof") ) { return file_eof; } - if (HX_FIELD_EQ(inName,"readByte") ) { return readByte_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"file_read") ) { return file_read; } - if (HX_FIELD_EQ(inName,"file_seek") ) { return file_seek; } - if (HX_FIELD_EQ(inName,"file_tell") ) { return file_tell; } - if (HX_FIELD_EQ(inName,"readBytes") ) { return readBytes_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"file_close") ) { return file_close; } - break; - case 14: - if (HX_FIELD_EQ(inName,"file_read_char") ) { return file_read_char; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic FileInput_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__f") ) { __f=inValue.Cast< Dynamic >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"file_eof") ) { file_eof=inValue.Cast< Dynamic >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"file_read") ) { file_read=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_seek") ) { file_seek=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_tell") ) { file_tell=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"file_close") ) { file_close=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"file_read_char") ) { file_read_char=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void FileInput_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__f")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("file_eof"), - HX_CSTRING("file_read"), - HX_CSTRING("file_read_char"), - HX_CSTRING("file_close"), - HX_CSTRING("file_seek"), - HX_CSTRING("file_tell"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("eof"), - HX_CSTRING("tell"), - HX_CSTRING("seek"), - HX_CSTRING("close"), - HX_CSTRING("readBytes"), - HX_CSTRING("readByte"), - HX_CSTRING("__f"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FileInput_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(FileInput_obj::file_eof,"file_eof"); - HX_MARK_MEMBER_NAME(FileInput_obj::file_read,"file_read"); - HX_MARK_MEMBER_NAME(FileInput_obj::file_read_char,"file_read_char"); - HX_MARK_MEMBER_NAME(FileInput_obj::file_close,"file_close"); - HX_MARK_MEMBER_NAME(FileInput_obj::file_seek,"file_seek"); - HX_MARK_MEMBER_NAME(FileInput_obj::file_tell,"file_tell"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FileInput_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FileInput_obj::file_eof,"file_eof"); - HX_VISIT_MEMBER_NAME(FileInput_obj::file_read,"file_read"); - HX_VISIT_MEMBER_NAME(FileInput_obj::file_read_char,"file_read_char"); - HX_VISIT_MEMBER_NAME(FileInput_obj::file_close,"file_close"); - HX_VISIT_MEMBER_NAME(FileInput_obj::file_seek,"file_seek"); - HX_VISIT_MEMBER_NAME(FileInput_obj::file_tell,"file_tell"); -}; - -Class FileInput_obj::__mClass; - -void FileInput_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io.FileInput"), hx::TCanCast< FileInput_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void FileInput_obj::__boot() -{ - file_eof= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_eof"),(int)1); - file_read= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_read"),(int)4); - file_read_char= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_read_char"),(int)1); - file_close= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_close"),(int)1); - file_seek= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_seek"),(int)3); - file_tell= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_tell"),(int)1); -} - -} // end namespace sys -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/FileOutput.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/FileOutput.cpp deleted file mode 100644 index cdfd958..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/FileOutput.cpp +++ /dev/null @@ -1,300 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -#ifndef INCLUDED_haxe_io_Output -#include -#endif -#ifndef INCLUDED_sys_io_FileOutput -#include -#endif -#ifndef INCLUDED_sys_io_FileSeek -#include -#endif -namespace sys{ -namespace io{ - -Void FileOutput_obj::__construct(Dynamic f) -{ -HX_STACK_PUSH("FileOutput::new","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",33); -{ - HX_STACK_LINE(33) - this->__f = f; -} -; - return null(); -} - -FileOutput_obj::~FileOutput_obj() { } - -Dynamic FileOutput_obj::__CreateEmpty() { return new FileOutput_obj; } -hx::ObjectPtr< FileOutput_obj > FileOutput_obj::__new(Dynamic f) -{ hx::ObjectPtr< FileOutput_obj > result = new FileOutput_obj(); - result->__construct(f); - return result;} - -Dynamic FileOutput_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< FileOutput_obj > result = new FileOutput_obj(); - result->__construct(inArgs[0]); - return result;} - -int FileOutput_obj::tell( ){ - HX_STACK_PUSH("FileOutput::tell","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",58); - HX_STACK_THIS(this); - HX_STACK_LINE(58) - return ::sys::io::FileOutput_obj::file_tell(this->__f); -} - - -HX_DEFINE_DYNAMIC_FUNC0(FileOutput_obj,tell,return ) - -Void FileOutput_obj::seek( int p,::sys::io::FileSeek pos){ -{ - HX_STACK_PUSH("FileOutput::seek","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",54); - HX_STACK_THIS(this); - HX_STACK_ARG(p,"p"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(54) - ::sys::io::FileOutput_obj::file_seek(this->__f,p,( (((pos == ::sys::io::FileSeek_obj::SeekBegin_dyn()))) ? int((int)0) : int(( (((pos == ::sys::io::FileSeek_obj::SeekCur_dyn()))) ? int((int)1) : int((int)2) )) )); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(FileOutput_obj,seek,(void)) - -Void FileOutput_obj::close( ){ -{ - HX_STACK_PUSH("FileOutput::close","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",49); - HX_STACK_THIS(this); - HX_STACK_LINE(50) - this->super::close(); - HX_STACK_LINE(51) - ::sys::io::FileOutput_obj::file_close(this->__f); - } -return null(); -} - - -Void FileOutput_obj::flush( ){ -{ - HX_STACK_PUSH("FileOutput::flush","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",45); - HX_STACK_THIS(this); - HX_STACK_LINE(45) - ::sys::io::FileOutput_obj::file_flush(this->__f); - } -return null(); -} - - -int FileOutput_obj::writeBytes( ::haxe::io::Bytes s,int p,int l){ - HX_STACK_PUSH("FileOutput::writeBytes","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",41); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(p,"p"); - HX_STACK_ARG(l,"l"); - struct _Function_1_1{ - inline static int Block( ::sys::io::FileOutput_obj *__this,::haxe::io::Bytes &s,int &p,int &l){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",42); - { - HX_STACK_LINE(42) - try{ - HX_STACK_LINE(42) - return ::sys::io::FileOutput_obj::file_write(__this->__f,s->b,p,l); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(42) - return hx::Throw (::haxe::io::Error_obj::Custom(e)); - } - } - } - } - return null(); - } - }; - HX_STACK_LINE(41) - return _Function_1_1::Block(this,s,p,l); -} - - -Void FileOutput_obj::writeByte( int c){ -{ - HX_STACK_PUSH("FileOutput::writeByte","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(37) - try{ - HX_STACK_LINE(38) - ::sys::io::FileOutput_obj::file_write_char(this->__f,c); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(38) - hx::Throw (::haxe::io::Error_obj::Custom(e)); - } - } - } - } -return null(); -} - - -Dynamic FileOutput_obj::file_close; - -Dynamic FileOutput_obj::file_seek; - -Dynamic FileOutput_obj::file_tell; - -Dynamic FileOutput_obj::file_flush; - -Dynamic FileOutput_obj::file_write; - -Dynamic FileOutput_obj::file_write_char; - - -FileOutput_obj::FileOutput_obj() -{ -} - -void FileOutput_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(FileOutput); - HX_MARK_MEMBER_NAME(__f,"__f"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void FileOutput_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(__f,"__f"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic FileOutput_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__f") ) { return __f; } - break; - case 4: - if (HX_FIELD_EQ(inName,"tell") ) { return tell_dyn(); } - if (HX_FIELD_EQ(inName,"seek") ) { return seek_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"flush") ) { return flush_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"file_seek") ) { return file_seek; } - if (HX_FIELD_EQ(inName,"file_tell") ) { return file_tell; } - if (HX_FIELD_EQ(inName,"writeByte") ) { return writeByte_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"file_close") ) { return file_close; } - if (HX_FIELD_EQ(inName,"file_flush") ) { return file_flush; } - if (HX_FIELD_EQ(inName,"file_write") ) { return file_write; } - if (HX_FIELD_EQ(inName,"writeBytes") ) { return writeBytes_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"file_write_char") ) { return file_write_char; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic FileOutput_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__f") ) { __f=inValue.Cast< Dynamic >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"file_seek") ) { file_seek=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_tell") ) { file_tell=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"file_close") ) { file_close=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_flush") ) { file_flush=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_write") ) { file_write=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"file_write_char") ) { file_write_char=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void FileOutput_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__f")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("file_close"), - HX_CSTRING("file_seek"), - HX_CSTRING("file_tell"), - HX_CSTRING("file_flush"), - HX_CSTRING("file_write"), - HX_CSTRING("file_write_char"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("tell"), - HX_CSTRING("seek"), - HX_CSTRING("close"), - HX_CSTRING("flush"), - HX_CSTRING("writeBytes"), - HX_CSTRING("writeByte"), - HX_CSTRING("__f"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FileOutput_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(FileOutput_obj::file_close,"file_close"); - HX_MARK_MEMBER_NAME(FileOutput_obj::file_seek,"file_seek"); - HX_MARK_MEMBER_NAME(FileOutput_obj::file_tell,"file_tell"); - HX_MARK_MEMBER_NAME(FileOutput_obj::file_flush,"file_flush"); - HX_MARK_MEMBER_NAME(FileOutput_obj::file_write,"file_write"); - HX_MARK_MEMBER_NAME(FileOutput_obj::file_write_char,"file_write_char"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FileOutput_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FileOutput_obj::file_close,"file_close"); - HX_VISIT_MEMBER_NAME(FileOutput_obj::file_seek,"file_seek"); - HX_VISIT_MEMBER_NAME(FileOutput_obj::file_tell,"file_tell"); - HX_VISIT_MEMBER_NAME(FileOutput_obj::file_flush,"file_flush"); - HX_VISIT_MEMBER_NAME(FileOutput_obj::file_write,"file_write"); - HX_VISIT_MEMBER_NAME(FileOutput_obj::file_write_char,"file_write_char"); -}; - -Class FileOutput_obj::__mClass; - -void FileOutput_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io.FileOutput"), hx::TCanCast< FileOutput_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void FileOutput_obj::__boot() -{ - file_close= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_close"),(int)1); - file_seek= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_seek"),(int)3); - file_tell= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_tell"),(int)1); - file_flush= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_flush"),(int)1); - file_write= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_write"),(int)4); - file_write_char= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_write_char"),(int)2); -} - -} // end namespace sys -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/FileSeek.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/FileSeek.cpp deleted file mode 100644 index 4719ccd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/FileSeek.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_sys_io_FileSeek -#include -#endif -namespace sys{ -namespace io{ - -::sys::io::FileSeek FileSeek_obj::SeekBegin; - -::sys::io::FileSeek FileSeek_obj::SeekCur; - -::sys::io::FileSeek FileSeek_obj::SeekEnd; - -HX_DEFINE_CREATE_ENUM(FileSeek_obj) - -int FileSeek_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("SeekBegin")) return 0; - if (inName==HX_CSTRING("SeekCur")) return 1; - if (inName==HX_CSTRING("SeekEnd")) return 2; - return super::__FindIndex(inName); -} - -int FileSeek_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("SeekBegin")) return 0; - if (inName==HX_CSTRING("SeekCur")) return 0; - if (inName==HX_CSTRING("SeekEnd")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic FileSeek_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("SeekBegin")) return SeekBegin; - if (inName==HX_CSTRING("SeekCur")) return SeekCur; - if (inName==HX_CSTRING("SeekEnd")) return SeekEnd; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("SeekBegin"), - HX_CSTRING("SeekCur"), - HX_CSTRING("SeekEnd"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FileSeek_obj::SeekBegin,"SeekBegin"); - HX_MARK_MEMBER_NAME(FileSeek_obj::SeekCur,"SeekCur"); - HX_MARK_MEMBER_NAME(FileSeek_obj::SeekEnd,"SeekEnd"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FileSeek_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FileSeek_obj::SeekBegin,"SeekBegin"); - HX_VISIT_MEMBER_NAME(FileSeek_obj::SeekCur,"SeekCur"); - HX_VISIT_MEMBER_NAME(FileSeek_obj::SeekEnd,"SeekEnd"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class FileSeek_obj::__mClass; - -Dynamic __Create_FileSeek_obj() { return new FileSeek_obj; } - -void FileSeek_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io.FileSeek"), hx::TCanCast< FileSeek_obj >,sStaticFields,sMemberFields, - &__Create_FileSeek_obj, &__Create, - &super::__SGetClass(), &CreateFileSeek_obj, sMarkStatics, sVisitStatic); -} - -void FileSeek_obj::__boot() -{ -Static(SeekBegin) = hx::CreateEnum< FileSeek_obj >(HX_CSTRING("SeekBegin"),0); -Static(SeekCur) = hx::CreateEnum< FileSeek_obj >(HX_CSTRING("SeekCur"),1); -Static(SeekEnd) = hx::CreateEnum< FileSeek_obj >(HX_CSTRING("SeekEnd"),2); -} - - -} // end namespace sys -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/Process.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/Process.cpp deleted file mode 100644 index 99dbbd5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/Process.cpp +++ /dev/null @@ -1,263 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -#ifndef INCLUDED_haxe_io_Output -#include -#endif -#ifndef INCLUDED_sys_io_Process -#include -#endif -#ifndef INCLUDED_sys_io__Process_Stdin -#include -#endif -#ifndef INCLUDED_sys_io__Process_Stdout -#include -#endif -namespace sys{ -namespace io{ - -Void Process_obj::__construct(::String cmd,Array< ::String > args) -{ -HX_STACK_PUSH("Process::new","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",103); -{ - struct _Function_1_1{ - inline static Dynamic Block( ::String &cmd,Array< ::String > &args){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",104); - { - HX_STACK_LINE(104) - try{ - HX_STACK_LINE(104) - return ::sys::io::Process_obj::_run(cmd,args); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(104) - return hx::Throw ((HX_CSTRING("Process creation failure : ") + cmd)); - } - } - } - } - return null(); - } - }; - HX_STACK_LINE(104) - this->p = _Function_1_1::Block(cmd,args); - HX_STACK_LINE(105) - this->_stdin = ::sys::io::_Process::Stdin_obj::__new(this->p); - HX_STACK_LINE(106) - this->_stdout = ::sys::io::_Process::Stdout_obj::__new(this->p,true); - HX_STACK_LINE(107) - this->_stderr = ::sys::io::_Process::Stdout_obj::__new(this->p,false); -} -; - return null(); -} - -Process_obj::~Process_obj() { } - -Dynamic Process_obj::__CreateEmpty() { return new Process_obj; } -hx::ObjectPtr< Process_obj > Process_obj::__new(::String cmd,Array< ::String > args) -{ hx::ObjectPtr< Process_obj > result = new Process_obj(); - result->__construct(cmd,args); - return result;} - -Dynamic Process_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Process_obj > result = new Process_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -Void Process_obj::kill( ){ -{ - HX_STACK_PUSH("Process::kill","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",122); - HX_STACK_THIS(this); - HX_STACK_LINE(122) - hx::Throw (HX_CSTRING("Not implemented")); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Process_obj,kill,(void)) - -Void Process_obj::close( ){ -{ - HX_STACK_PUSH("Process::close","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",118); - HX_STACK_THIS(this); - HX_STACK_LINE(118) - ::sys::io::Process_obj::_close(this->p); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Process_obj,close,(void)) - -int Process_obj::exitCode( ){ - HX_STACK_PUSH("Process::exitCode","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",114); - HX_STACK_THIS(this); - HX_STACK_LINE(114) - return ::sys::io::Process_obj::_exit(this->p); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Process_obj,exitCode,return ) - -int Process_obj::getPid( ){ - HX_STACK_PUSH("Process::getPid","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",110); - HX_STACK_THIS(this); - HX_STACK_LINE(110) - return ::sys::io::Process_obj::_pid(this->p); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Process_obj,getPid,return ) - -Dynamic Process_obj::_run; - -Dynamic Process_obj::_exit; - -Dynamic Process_obj::_pid; - -Dynamic Process_obj::_close; - - -Process_obj::Process_obj() -{ -} - -void Process_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Process); - HX_MARK_MEMBER_NAME(_stdin,"stdin"); - HX_MARK_MEMBER_NAME(_stderr,"stderr"); - HX_MARK_MEMBER_NAME(_stdout,"stdout"); - HX_MARK_MEMBER_NAME(p,"p"); - HX_MARK_END_CLASS(); -} - -void Process_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(_stdin,"stdin"); - HX_VISIT_MEMBER_NAME(_stderr,"stderr"); - HX_VISIT_MEMBER_NAME(_stdout,"stdout"); - HX_VISIT_MEMBER_NAME(p,"p"); -} - -Dynamic Process_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"p") ) { return p; } - break; - case 4: - if (HX_FIELD_EQ(inName,"_run") ) { return _run; } - if (HX_FIELD_EQ(inName,"_pid") ) { return _pid; } - if (HX_FIELD_EQ(inName,"kill") ) { return kill_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"_exit") ) { return _exit; } - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"stdin") ) { return _stdin; } - break; - case 6: - if (HX_FIELD_EQ(inName,"_close") ) { return _close; } - if (HX_FIELD_EQ(inName,"getPid") ) { return getPid_dyn(); } - if (HX_FIELD_EQ(inName,"stderr") ) { return _stderr; } - if (HX_FIELD_EQ(inName,"stdout") ) { return _stdout; } - break; - case 8: - if (HX_FIELD_EQ(inName,"exitCode") ) { return exitCode_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Process_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"p") ) { p=inValue.Cast< Dynamic >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"_run") ) { _run=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"_pid") ) { _pid=inValue.Cast< Dynamic >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"_exit") ) { _exit=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"stdin") ) { _stdin=inValue.Cast< ::haxe::io::Output >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"_close") ) { _close=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"stderr") ) { _stderr=inValue.Cast< ::haxe::io::Input >(); return inValue; } - if (HX_FIELD_EQ(inName,"stdout") ) { _stdout=inValue.Cast< ::haxe::io::Input >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Process_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("stdin")); - outFields->push(HX_CSTRING("stderr")); - outFields->push(HX_CSTRING("stdout")); - outFields->push(HX_CSTRING("p")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("_run"), - HX_CSTRING("_exit"), - HX_CSTRING("_pid"), - HX_CSTRING("_close"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("kill"), - HX_CSTRING("close"), - HX_CSTRING("exitCode"), - HX_CSTRING("getPid"), - HX_CSTRING("stdin"), - HX_CSTRING("stderr"), - HX_CSTRING("stdout"), - HX_CSTRING("p"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Process_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Process_obj::_run,"_run"); - HX_MARK_MEMBER_NAME(Process_obj::_exit,"_exit"); - HX_MARK_MEMBER_NAME(Process_obj::_pid,"_pid"); - HX_MARK_MEMBER_NAME(Process_obj::_close,"_close"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Process_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Process_obj::_run,"_run"); - HX_VISIT_MEMBER_NAME(Process_obj::_exit,"_exit"); - HX_VISIT_MEMBER_NAME(Process_obj::_pid,"_pid"); - HX_VISIT_MEMBER_NAME(Process_obj::_close,"_close"); -}; - -Class Process_obj::__mClass; - -void Process_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io.Process"), hx::TCanCast< Process_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Process_obj::__boot() -{ - _run= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_run"),(int)2); - _exit= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_exit"),(int)1); - _pid= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_pid"),(int)1); - _close= ::cpp::Lib_obj::loadLazy(HX_CSTRING("std"),HX_CSTRING("process_close"),(int)1); -} - -} // end namespace sys -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/_Process/Stdin.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/_Process/Stdin.cpp deleted file mode 100644 index 870f3ed..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/_Process/Stdin.cpp +++ /dev/null @@ -1,214 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Eof -#include -#endif -#ifndef INCLUDED_haxe_io_Output -#include -#endif -#ifndef INCLUDED_sys_io__Process_Stdin -#include -#endif -namespace sys{ -namespace io{ -namespace _Process{ - -Void Stdin_obj::__construct(Dynamic p) -{ -HX_STACK_PUSH("Stdin::new","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",32); -{ - HX_STACK_LINE(33) - this->p = p; - HX_STACK_LINE(34) - this->buf = ::haxe::io::Bytes_obj::alloc((int)1); -} -; - return null(); -} - -Stdin_obj::~Stdin_obj() { } - -Dynamic Stdin_obj::__CreateEmpty() { return new Stdin_obj; } -hx::ObjectPtr< Stdin_obj > Stdin_obj::__new(Dynamic p) -{ hx::ObjectPtr< Stdin_obj > result = new Stdin_obj(); - result->__construct(p); - return result;} - -Dynamic Stdin_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Stdin_obj > result = new Stdin_obj(); - result->__construct(inArgs[0]); - return result;} - -int Stdin_obj::writeBytes( ::haxe::io::Bytes buf,int pos,int len){ - HX_STACK_PUSH("Stdin::writeBytes","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",47); - HX_STACK_THIS(this); - HX_STACK_ARG(buf,"buf"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(48) - try{ - HX_STACK_LINE(48) - return ::sys::io::_Process::Stdin_obj::_stdin_write(this->p,buf->b,pos,len); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(50) - hx::Throw (::haxe::io::Eof_obj::__new()); - } - } - } - HX_STACK_LINE(53) - return (int)0; -} - - -Void Stdin_obj::writeByte( int c){ -{ - HX_STACK_PUSH("Stdin::writeByte","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",42); - HX_STACK_THIS(this); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(43) - this->buf->b[(int)0] = c; - HX_STACK_LINE(44) - this->writeBytes(this->buf,(int)0,(int)1); - } -return null(); -} - - -Void Stdin_obj::close( ){ -{ - HX_STACK_PUSH("Stdin::close","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",37); - HX_STACK_THIS(this); - HX_STACK_LINE(38) - this->super::close(); - HX_STACK_LINE(39) - ::sys::io::_Process::Stdin_obj::_stdin_close(this->p); - } -return null(); -} - - -Dynamic Stdin_obj::_stdin_write; - -Dynamic Stdin_obj::_stdin_close; - - -Stdin_obj::Stdin_obj() -{ -} - -void Stdin_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Stdin); - HX_MARK_MEMBER_NAME(buf,"buf"); - HX_MARK_MEMBER_NAME(p,"p"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Stdin_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(buf,"buf"); - HX_VISIT_MEMBER_NAME(p,"p"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Stdin_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"p") ) { return p; } - break; - case 3: - if (HX_FIELD_EQ(inName,"buf") ) { return buf; } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"writeByte") ) { return writeByte_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"writeBytes") ) { return writeBytes_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_stdin_write") ) { return _stdin_write; } - if (HX_FIELD_EQ(inName,"_stdin_close") ) { return _stdin_close; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Stdin_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"p") ) { p=inValue.Cast< Dynamic >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"buf") ) { buf=inValue.Cast< ::haxe::io::Bytes >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_stdin_write") ) { _stdin_write=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"_stdin_close") ) { _stdin_close=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Stdin_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("buf")); - outFields->push(HX_CSTRING("p")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("_stdin_write"), - HX_CSTRING("_stdin_close"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("writeBytes"), - HX_CSTRING("writeByte"), - HX_CSTRING("close"), - HX_CSTRING("buf"), - HX_CSTRING("p"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Stdin_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Stdin_obj::_stdin_write,"_stdin_write"); - HX_MARK_MEMBER_NAME(Stdin_obj::_stdin_close,"_stdin_close"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Stdin_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Stdin_obj::_stdin_write,"_stdin_write"); - HX_VISIT_MEMBER_NAME(Stdin_obj::_stdin_close,"_stdin_close"); -}; - -Class Stdin_obj::__mClass; - -void Stdin_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io._Process.Stdin"), hx::TCanCast< Stdin_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Stdin_obj::__boot() -{ - _stdin_write= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_stdin_write"),(int)4); - _stdin_close= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_stdin_close"),(int)1); -} - -} // end namespace sys -} // end namespace io -} // end namespace _Process diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/_Process/Stdout.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/_Process/Stdout.cpp deleted file mode 100644 index 04d5978..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Debug-iphonesim/src/sys/io/_Process/Stdout.cpp +++ /dev/null @@ -1,214 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Eof -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -#ifndef INCLUDED_sys_io__Process_Stdout -#include -#endif -namespace sys{ -namespace io{ -namespace _Process{ - -Void Stdout_obj::__construct(Dynamic p,bool out) -{ -HX_STACK_PUSH("Stdout::new","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",67); -{ - HX_STACK_LINE(68) - this->p = p; - HX_STACK_LINE(69) - this->out = out; - HX_STACK_LINE(70) - this->buf = ::haxe::io::Bytes_obj::alloc((int)1); -} -; - return null(); -} - -Stdout_obj::~Stdout_obj() { } - -Dynamic Stdout_obj::__CreateEmpty() { return new Stdout_obj; } -hx::ObjectPtr< Stdout_obj > Stdout_obj::__new(Dynamic p,bool out) -{ hx::ObjectPtr< Stdout_obj > result = new Stdout_obj(); - result->__construct(p,out); - return result;} - -Dynamic Stdout_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Stdout_obj > result = new Stdout_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -int Stdout_obj::readBytes( ::haxe::io::Bytes str,int pos,int len){ - HX_STACK_PUSH("Stdout::readBytes","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",79); - HX_STACK_THIS(this); - HX_STACK_ARG(str,"str"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(80) - int result; HX_STACK_VAR(result,"result"); - HX_STACK_LINE(81) - try{ - HX_STACK_LINE(81) - result = (( ((this->out)) ? Dynamic(::sys::io::_Process::Stdout_obj::_stdout_read_dyn()) : Dynamic(::sys::io::_Process::Stdout_obj::_stderr_read_dyn()) ))(this->p,str->b,pos,len).Cast< int >(); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(83) - hx::Throw (::haxe::io::Eof_obj::__new()); - } - } - } - HX_STACK_LINE(86) - if (((result == (int)0))){ - HX_STACK_LINE(86) - hx::Throw (::haxe::io::Eof_obj::__new()); - } - HX_STACK_LINE(87) - return result; -} - - -int Stdout_obj::readByte( ){ - HX_STACK_PUSH("Stdout::readByte","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",73); - HX_STACK_THIS(this); - HX_STACK_LINE(74) - if (((this->readBytes(this->buf,(int)0,(int)1) == (int)0))){ - HX_STACK_LINE(75) - hx::Throw (::haxe::io::Error_obj::Blocked_dyn()); - } - HX_STACK_LINE(76) - return this->buf->b->__get((int)0); -} - - -Dynamic Stdout_obj::_stdout_read; - -Dynamic Stdout_obj::_stderr_read; - - -Stdout_obj::Stdout_obj() -{ -} - -void Stdout_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Stdout); - HX_MARK_MEMBER_NAME(buf,"buf"); - HX_MARK_MEMBER_NAME(out,"out"); - HX_MARK_MEMBER_NAME(p,"p"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Stdout_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(buf,"buf"); - HX_VISIT_MEMBER_NAME(out,"out"); - HX_VISIT_MEMBER_NAME(p,"p"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Stdout_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"p") ) { return p; } - break; - case 3: - if (HX_FIELD_EQ(inName,"buf") ) { return buf; } - if (HX_FIELD_EQ(inName,"out") ) { return out; } - break; - case 8: - if (HX_FIELD_EQ(inName,"readByte") ) { return readByte_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"readBytes") ) { return readBytes_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_stdout_read") ) { return _stdout_read; } - if (HX_FIELD_EQ(inName,"_stderr_read") ) { return _stderr_read; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Stdout_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"p") ) { p=inValue.Cast< Dynamic >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"buf") ) { buf=inValue.Cast< ::haxe::io::Bytes >(); return inValue; } - if (HX_FIELD_EQ(inName,"out") ) { out=inValue.Cast< bool >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_stdout_read") ) { _stdout_read=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"_stderr_read") ) { _stderr_read=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Stdout_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("buf")); - outFields->push(HX_CSTRING("out")); - outFields->push(HX_CSTRING("p")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("_stdout_read"), - HX_CSTRING("_stderr_read"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("readBytes"), - HX_CSTRING("readByte"), - HX_CSTRING("buf"), - HX_CSTRING("out"), - HX_CSTRING("p"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Stdout_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Stdout_obj::_stdout_read,"_stdout_read"); - HX_MARK_MEMBER_NAME(Stdout_obj::_stderr_read,"_stderr_read"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Stdout_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Stdout_obj::_stdout_read,"_stdout_read"); - HX_VISIT_MEMBER_NAME(Stdout_obj::_stderr_read,"_stderr_read"); -}; - -Class Stdout_obj::__mClass; - -void Stdout_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io._Process.Stdout"), hx::TCanCast< Stdout_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Stdout_obj::__boot() -{ - _stdout_read= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_stdout_read"),(int)4); - _stderr_read= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_stderr_read"),(int)4); -} - -} // end namespace sys -} // end namespace io -} // end namespace _Process diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/ApplicationMain.iphoneos-v7.a b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/ApplicationMain.iphoneos-v7.a deleted file mode 100644 index 51eb14f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/ApplicationMain.iphoneos-v7.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/ApplicationMain.iphoneos.a b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/ApplicationMain.iphoneos.a deleted file mode 100644 index 0ad4c65..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/ApplicationMain.iphoneos.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/Build.xml b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/Build.xml deleted file mode 100644 index f3dde6b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/Build.xml +++ /dev/null @@ -1,1682 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/Options.txt b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/Options.txt deleted file mode 100644 index 420741d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/Options.txt +++ /dev/null @@ -1,17 +0,0 @@ -HXCPP_ARMV7 -HXCPP_CLANG -OBJC_ARC -actuate -cpp -haxe_208 -haxe_209 -haxe_210 -ios -iphone -mobile -nme -nme_install_tool -svg -sys -true -/usr/lib/haxe/lib/hxcpp/2,10/ \ No newline at end of file diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/hxcpp.h.gch b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/hxcpp.h.gch deleted file mode 100644 index 59dcd9c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/hxcpp.h.gch and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ApplicationMain.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ApplicationMain.h deleted file mode 100644 index bf97d01..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ApplicationMain.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_ApplicationMain -#define INCLUDED_ApplicationMain - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(ApplicationMain) - - -class ApplicationMain_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef ApplicationMain_obj OBJ_; - ApplicationMain_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ApplicationMain_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ApplicationMain_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ApplicationMain"); } - - static Void main( ); - static Dynamic main_dyn(); - - static Dynamic getAsset( ::String inName); - static Dynamic getAsset_dyn(); - -}; - - -#endif /* INCLUDED_ApplicationMain */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Date.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Date.h deleted file mode 100644 index 0f3a2b2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Date.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef INCLUDED_Date -#define INCLUDED_Date - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Date) - - -class Date_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Date_obj OBJ_; - Date_obj(); - Void __construct(int year,int month,int day,int hour,int min,int sec); - - public: - static hx::ObjectPtr< Date_obj > __new(int year,int month,int day,int hour,int min,int sec); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Date_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Date"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual int getDay( ); - Dynamic getDay_dyn(); - - virtual int getDate( ); - Dynamic getDate_dyn(); - - virtual int getMonth( ); - Dynamic getMonth_dyn(); - - virtual int getFullYear( ); - Dynamic getFullYear_dyn(); - - virtual int getSeconds( ); - Dynamic getSeconds_dyn(); - - virtual int getMinutes( ); - Dynamic getMinutes_dyn(); - - virtual int getHours( ); - Dynamic getHours_dyn(); - - virtual Float getTime( ); - Dynamic getTime_dyn(); - - Float mSeconds; /* REM */ - static ::Date now( ); - static Dynamic now_dyn(); - - static ::Date fromTime( Float t); - static Dynamic fromTime_dyn(); - - static ::Date fromString( ::String s); - static Dynamic fromString_dyn(); - -}; - - -#endif /* INCLUDED_Date */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/EReg.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/EReg.h deleted file mode 100644 index 791f261..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/EReg.h +++ /dev/null @@ -1,69 +0,0 @@ -#ifndef INCLUDED_EReg -#define INCLUDED_EReg - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(EReg) - - -class EReg_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef EReg_obj OBJ_; - EReg_obj(); - Void __construct(::String r,::String opt); - - public: - static hx::ObjectPtr< EReg_obj > __new(::String r,::String opt); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~EReg_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("EReg"); } - - virtual ::String customReplace( ::String s,Dynamic f); - Dynamic customReplace_dyn(); - - virtual ::String replace( ::String s,::String by); - Dynamic replace_dyn(); - - virtual Array< ::String > split( ::String s); - Dynamic split_dyn(); - - virtual Dynamic matchedPos( ); - Dynamic matchedPos_dyn(); - - virtual ::String matchedRight( ); - Dynamic matchedRight_dyn(); - - virtual ::String matchedLeft( ); - Dynamic matchedLeft_dyn(); - - virtual ::String matched( int n); - Dynamic matched_dyn(); - - virtual bool match( ::String s); - Dynamic match_dyn(); - - bool global; /* REM */ - ::String last; /* REM */ - Dynamic r; /* REM */ - static Dynamic regexp_new_options; /* REM */ - static Dynamic ®exp_new_options_dyn() { return regexp_new_options;} - static Dynamic regexp_match; /* REM */ - static Dynamic ®exp_match_dyn() { return regexp_match;} - static Dynamic regexp_matched; /* REM */ - static Dynamic ®exp_matched_dyn() { return regexp_matched;} - static Dynamic regexp_matched_pos; /* REM */ - static Dynamic ®exp_matched_pos_dyn() { return regexp_matched_pos;} -}; - - -#endif /* INCLUDED_EReg */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Hash.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Hash.h deleted file mode 100644 index cadca89..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Hash.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef INCLUDED_Hash -#define INCLUDED_Hash - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Hash) - - -class Hash_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Hash_obj OBJ_; - Hash_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Hash_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Hash_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Hash"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Dynamic iterator( ); - Dynamic iterator_dyn(); - - virtual Dynamic keys( ); - Dynamic keys_dyn(); - - virtual bool remove( ::String key); - Dynamic remove_dyn(); - - virtual bool exists( ::String key); - Dynamic exists_dyn(); - - virtual Dynamic get( ::String key); - Dynamic get_dyn(); - - virtual Void set( ::String key,Dynamic value); - Dynamic set_dyn(); - - Dynamic __Internal; /* REM */ -}; - - -#endif /* INCLUDED_Hash */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/IntHash.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/IntHash.h deleted file mode 100644 index 7489ef2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/IntHash.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef INCLUDED_IntHash -#define INCLUDED_IntHash - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(IntHash) - - -class IntHash_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef IntHash_obj OBJ_; - IntHash_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< IntHash_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~IntHash_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("IntHash"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Dynamic iterator( ); - Dynamic iterator_dyn(); - - virtual Dynamic keys( ); - Dynamic keys_dyn(); - - virtual bool remove( int key); - Dynamic remove_dyn(); - - virtual bool exists( int key); - Dynamic exists_dyn(); - - virtual Dynamic get( int key); - Dynamic get_dyn(); - - virtual Void set( int key,Dynamic value); - Dynamic set_dyn(); - - Dynamic h; /* REM */ -}; - - -#endif /* INCLUDED_IntHash */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/IntIter.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/IntIter.h deleted file mode 100644 index 8659e4f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/IntIter.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_IntIter -#define INCLUDED_IntIter - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(IntIter) - - -class IntIter_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef IntIter_obj OBJ_; - IntIter_obj(); - Void __construct(int min,int max); - - public: - static hx::ObjectPtr< IntIter_obj > __new(int min,int max); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~IntIter_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("IntIter"); } - - virtual int next( ); - Dynamic next_dyn(); - - virtual bool hasNext( ); - Dynamic hasNext_dyn(); - - int max; /* REM */ - int min; /* REM */ -}; - - -#endif /* INCLUDED_IntIter */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/List.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/List.h deleted file mode 100644 index 2c63624..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/List.h +++ /dev/null @@ -1,76 +0,0 @@ -#ifndef INCLUDED_List -#define INCLUDED_List - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(List) - - -class List_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef List_obj OBJ_; - List_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< List_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~List_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("List"); } - - virtual ::List map( Dynamic f); - Dynamic map_dyn(); - - virtual ::List filter( Dynamic f); - Dynamic filter_dyn(); - - virtual ::String join( ::String sep); - Dynamic join_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Dynamic iterator( ); - Dynamic iterator_dyn(); - - virtual bool remove( Dynamic v); - Dynamic remove_dyn(); - - virtual Void clear( ); - Dynamic clear_dyn(); - - virtual bool isEmpty( ); - Dynamic isEmpty_dyn(); - - virtual Dynamic pop( ); - Dynamic pop_dyn(); - - virtual Dynamic last( ); - Dynamic last_dyn(); - - virtual Dynamic first( ); - Dynamic first_dyn(); - - virtual Void push( Dynamic item); - Dynamic push_dyn(); - - virtual Void add( Dynamic item); - Dynamic add_dyn(); - - int length; /* REM */ - Dynamic q; /* REM */ - Dynamic h; /* REM */ -}; - - -#endif /* INCLUDED_List */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Main.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Main.h deleted file mode 100644 index c27e452..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Main.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_Main -#define INCLUDED_Main - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Main) -HX_DECLARE_CLASS3(ca,confidant,glory,GloryFrameworkApp) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) - - -class Main_obj : public ::ca::confidant::glory::GloryFrameworkApp_obj{ - public: - typedef ::ca::confidant::glory::GloryFrameworkApp_obj super; - typedef Main_obj OBJ_; - Main_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Main_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Main_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Main"); } - - static Void main( ); - static Dynamic main_dyn(); - -}; - - -#endif /* INCLUDED_Main */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Reflect.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Reflect.h deleted file mode 100644 index ee0004f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Reflect.h +++ /dev/null @@ -1,76 +0,0 @@ -#ifndef INCLUDED_Reflect -#define INCLUDED_Reflect - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Reflect) - - -class Reflect_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Reflect_obj OBJ_; - Reflect_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Reflect_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Reflect_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Reflect"); } - - static bool hasField( Dynamic o,::String field); - static Dynamic hasField_dyn(); - - static Dynamic field( Dynamic o,::String field); - static Dynamic field_dyn(); - - static Void setField( Dynamic o,::String field,Dynamic value); - static Dynamic setField_dyn(); - - static Dynamic getProperty( Dynamic o,::String field); - static Dynamic getProperty_dyn(); - - static Void setProperty( Dynamic o,::String field,Dynamic value); - static Dynamic setProperty_dyn(); - - static Dynamic callMethod( Dynamic o,Dynamic func,Dynamic args); - static Dynamic callMethod_dyn(); - - static Array< ::String > fields( Dynamic o); - static Dynamic fields_dyn(); - - static bool isFunction( Dynamic f); - static Dynamic isFunction_dyn(); - - static int compare( Dynamic a,Dynamic b); - static Dynamic compare_dyn(); - - static bool compareMethods( Dynamic f1,Dynamic f2); - static Dynamic compareMethods_dyn(); - - static bool isObject( Dynamic v); - static Dynamic isObject_dyn(); - - static bool deleteField( Dynamic o,::String f); - static Dynamic deleteField_dyn(); - - static Dynamic copy( Dynamic o); - static Dynamic copy_dyn(); - - static Dynamic makeVarArgs( Dynamic f); - static Dynamic makeVarArgs_dyn(); - -}; - - -#endif /* INCLUDED_Reflect */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Std.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Std.h deleted file mode 100644 index 2a591cb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Std.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef INCLUDED_Std -#define INCLUDED_Std - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Std) - - -class Std_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Std_obj OBJ_; - Std_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Std_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Std_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Std"); } - - static bool is( Dynamic v,Dynamic t); - static Dynamic is_dyn(); - - static ::String string( Dynamic s); - static Dynamic string_dyn(); - - static int _int( Float x); - static Dynamic _int_dyn(); - - static Dynamic parseInt( ::String x); - static Dynamic parseInt_dyn(); - - static Float parseFloat( ::String x); - static Dynamic parseFloat_dyn(); - - static int random( int x); - static Dynamic random_dyn(); - -}; - - -#endif /* INCLUDED_Std */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/StringBuf.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/StringBuf.h deleted file mode 100644 index abf34b1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/StringBuf.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_StringBuf -#define INCLUDED_StringBuf - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(StringBuf) - - -class StringBuf_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef StringBuf_obj OBJ_; - StringBuf_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< StringBuf_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~StringBuf_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("StringBuf"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void addChar( int c); - Dynamic addChar_dyn(); - - virtual Void addSub( ::String s,int pos,Dynamic len); - Dynamic addSub_dyn(); - - virtual Void add( Dynamic x); - Dynamic add_dyn(); - - Dynamic b; /* REM */ -}; - - -#endif /* INCLUDED_StringBuf */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/StringTools.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/StringTools.h deleted file mode 100644 index eb6db32..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/StringTools.h +++ /dev/null @@ -1,82 +0,0 @@ -#ifndef INCLUDED_StringTools -#define INCLUDED_StringTools - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(StringTools) - - -class StringTools_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef StringTools_obj OBJ_; - StringTools_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< StringTools_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~StringTools_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("StringTools"); } - - static ::String urlEncode( ::String s); - static Dynamic urlEncode_dyn(); - - static ::String urlDecode( ::String s); - static Dynamic urlDecode_dyn(); - - static ::String htmlEscape( ::String s); - static Dynamic htmlEscape_dyn(); - - static ::String htmlUnescape( ::String s); - static Dynamic htmlUnescape_dyn(); - - static bool startsWith( ::String s,::String start); - static Dynamic startsWith_dyn(); - - static bool endsWith( ::String s,::String end); - static Dynamic endsWith_dyn(); - - static bool isSpace( ::String s,int pos); - static Dynamic isSpace_dyn(); - - static ::String ltrim( ::String s); - static Dynamic ltrim_dyn(); - - static ::String rtrim( ::String s); - static Dynamic rtrim_dyn(); - - static ::String trim( ::String s); - static Dynamic trim_dyn(); - - static ::String rpad( ::String s,::String c,int l); - static Dynamic rpad_dyn(); - - static ::String lpad( ::String s,::String c,int l); - static Dynamic lpad_dyn(); - - static ::String replace( ::String s,::String sub,::String by); - static Dynamic replace_dyn(); - - static ::String hex( int n,Dynamic digits); - static Dynamic hex_dyn(); - - static int fastCodeAt( ::String s,int index); - static Dynamic fastCodeAt_dyn(); - - static bool isEOF( int c); - static Dynamic isEOF_dyn(); - -}; - - -#endif /* INCLUDED_StringTools */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Sys.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Sys.h deleted file mode 100644 index 89c9333..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Sys.h +++ /dev/null @@ -1,134 +0,0 @@ -#ifndef INCLUDED_Sys -#define INCLUDED_Sys - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS0(Sys) -HX_DECLARE_CLASS2(haxe,io,Input) -HX_DECLARE_CLASS2(haxe,io,Output) - - -class Sys_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Sys_obj OBJ_; - Sys_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Sys_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Sys_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Sys"); } - - static Void print( Dynamic v); - static Dynamic print_dyn(); - - static Void println( Dynamic v); - static Dynamic println_dyn(); - - static ::haxe::io::Input _stdin( ); - static Dynamic _stdin_dyn(); - - static ::haxe::io::Output _stdout( ); - static Dynamic _stdout_dyn(); - - static ::haxe::io::Output _stderr( ); - static Dynamic _stderr_dyn(); - - static int getChar( bool echo); - static Dynamic getChar_dyn(); - - static Array< ::String > args( ); - static Dynamic args_dyn(); - - static ::String getEnv( ::String s); - static Dynamic getEnv_dyn(); - - static Void putEnv( ::String s,::String v); - static Dynamic putEnv_dyn(); - - static Void sleep( Float seconds); - static Dynamic sleep_dyn(); - - static bool setTimeLocale( ::String loc); - static Dynamic setTimeLocale_dyn(); - - static ::String getCwd( ); - static Dynamic getCwd_dyn(); - - static Void setCwd( ::String s); - static Dynamic setCwd_dyn(); - - static ::String systemName( ); - static Dynamic systemName_dyn(); - - static ::String escapeArgument( ::String arg); - static Dynamic escapeArgument_dyn(); - - static int command( ::String cmd,Array< ::String > args); - static Dynamic command_dyn(); - - static Void exit( int code); - static Dynamic exit_dyn(); - - static Float time( ); - static Dynamic time_dyn(); - - static Float cpuTime( ); - static Dynamic cpuTime_dyn(); - - static ::String executablePath( ); - static Dynamic executablePath_dyn(); - - static ::Hash environment( ); - static Dynamic environment_dyn(); - - static Dynamic get_env; /* REM */ - static Dynamic &get_env_dyn() { return get_env;} - static Dynamic put_env; /* REM */ - static Dynamic &put_env_dyn() { return put_env;} - static Dynamic _sleep; /* REM */ - static Dynamic &_sleep_dyn() { return _sleep;} - static Dynamic set_time_locale; /* REM */ - static Dynamic &set_time_locale_dyn() { return set_time_locale;} - static Dynamic get_cwd; /* REM */ - static Dynamic &get_cwd_dyn() { return get_cwd;} - static Dynamic set_cwd; /* REM */ - static Dynamic &set_cwd_dyn() { return set_cwd;} - static Dynamic sys_string; /* REM */ - static Dynamic &sys_string_dyn() { return sys_string;} - static Dynamic sys_command; /* REM */ - static Dynamic &sys_command_dyn() { return sys_command;} - static Dynamic sys_exit; /* REM */ - static Dynamic &sys_exit_dyn() { return sys_exit;} - static Dynamic sys_time; /* REM */ - static Dynamic &sys_time_dyn() { return sys_time;} - static Dynamic sys_cpu_time; /* REM */ - static Dynamic &sys_cpu_time_dyn() { return sys_cpu_time;} - static Dynamic sys_exe_path; /* REM */ - static Dynamic &sys_exe_path_dyn() { return sys_exe_path;} - static Dynamic sys_env; /* REM */ - static Dynamic &sys_env_dyn() { return sys_env;} - static Dynamic file_stdin; /* REM */ - static Dynamic &file_stdin_dyn() { return file_stdin;} - static Dynamic file_stdout; /* REM */ - static Dynamic &file_stdout_dyn() { return file_stdout;} - static Dynamic file_stderr; /* REM */ - static Dynamic &file_stderr_dyn() { return file_stderr;} - static Dynamic getch; /* REM */ - static Dynamic &getch_dyn() { return getch;} -}; - - -#endif /* INCLUDED_Sys */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Type.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Type.h deleted file mode 100644 index 47bd30c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Type.h +++ /dev/null @@ -1,95 +0,0 @@ -#ifndef INCLUDED_Type -#define INCLUDED_Type - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Type) -HX_DECLARE_CLASS0(ValueType) - - -class Type_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Type_obj OBJ_; - Type_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Type_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Type_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Type"); } - - static ::Class getClass( Dynamic o); - static Dynamic getClass_dyn(); - - static ::Enum getEnum( Dynamic o); - static Dynamic getEnum_dyn(); - - static ::Class getSuperClass( ::Class c); - static Dynamic getSuperClass_dyn(); - - static ::String getClassName( ::Class c); - static Dynamic getClassName_dyn(); - - static ::String getEnumName( ::Enum e); - static Dynamic getEnumName_dyn(); - - static ::Class resolveClass( ::String name); - static Dynamic resolveClass_dyn(); - - static ::Enum resolveEnum( ::String name); - static Dynamic resolveEnum_dyn(); - - static Dynamic createInstance( ::Class cl,Dynamic args); - static Dynamic createInstance_dyn(); - - static Dynamic createEmptyInstance( ::Class cl); - static Dynamic createEmptyInstance_dyn(); - - static Dynamic createEnum( ::Enum e,::String constr,Dynamic params); - static Dynamic createEnum_dyn(); - - static Dynamic createEnumIndex( ::Enum e,int index,Dynamic params); - static Dynamic createEnumIndex_dyn(); - - static Array< ::String > getInstanceFields( ::Class c); - static Dynamic getInstanceFields_dyn(); - - static Array< ::String > getClassFields( ::Class c); - static Dynamic getClassFields_dyn(); - - static Array< ::String > getEnumConstructs( ::Enum e); - static Dynamic getEnumConstructs_dyn(); - - static ::ValueType _typeof( Dynamic v); - static Dynamic _typeof_dyn(); - - static bool enumEq( Dynamic a,Dynamic b); - static Dynamic enumEq_dyn(); - - static ::String enumConstructor( Dynamic e); - static Dynamic enumConstructor_dyn(); - - static Dynamic enumParameters( Dynamic e); - static Dynamic enumParameters_dyn(); - - static int enumIndex( Dynamic e); - static Dynamic enumIndex_dyn(); - - static Dynamic allEnums( ::Enum e); - static Dynamic allEnums_dyn(); - -}; - - -#endif /* INCLUDED_Type */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ValueType.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ValueType.h deleted file mode 100644 index 356e1bd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ValueType.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef INCLUDED_ValueType -#define INCLUDED_ValueType - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(ValueType) - - -class ValueType_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef ValueType_obj OBJ_; - - public: - ValueType_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("ValueType"); } - ::String __ToString() const { return HX_CSTRING("ValueType.") + tag; } - - static ::ValueType TBool; - static inline ::ValueType TBool_dyn() { return TBool; } - static ::ValueType TClass(::Class c); - static Dynamic TClass_dyn(); - static ::ValueType TEnum(::Enum e); - static Dynamic TEnum_dyn(); - static ::ValueType TFloat; - static inline ::ValueType TFloat_dyn() { return TFloat; } - static ::ValueType TFunction; - static inline ::ValueType TFunction_dyn() { return TFunction; } - static ::ValueType TInt; - static inline ::ValueType TInt_dyn() { return TInt; } - static ::ValueType TNull; - static inline ::ValueType TNull_dyn() { return TNull; } - static ::ValueType TObject; - static inline ::ValueType TObject_dyn() { return TObject; } - static ::ValueType TUnknown; - static inline ::ValueType TUnknown_dyn() { return TUnknown; } -}; - - -#endif /* INCLUDED_ValueType */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Xml.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Xml.h deleted file mode 100644 index 6c52c51..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/Xml.h +++ /dev/null @@ -1,141 +0,0 @@ -#ifndef INCLUDED_Xml -#define INCLUDED_Xml - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(StringBuf) -HX_DECLARE_CLASS0(Type) -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS0(XmlType) - - -class Xml_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Xml_obj OBJ_; - Xml_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Xml_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Xml_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - static void __init__(); - - ::String __ToString() const { return HX_CSTRING("Xml"); } - - virtual Void toStringRec( ::StringBuf s); - Dynamic toStringRec_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void insertChild( ::Xml x,int pos); - Dynamic insertChild_dyn(); - - virtual bool removeChild( ::Xml x); - Dynamic removeChild_dyn(); - - virtual Void addChild( ::Xml x); - Dynamic addChild_dyn(); - - virtual ::Xml firstElement( ); - Dynamic firstElement_dyn(); - - virtual ::Xml firstChild( ); - Dynamic firstChild_dyn(); - - virtual Dynamic elementsNamed( ::String name); - Dynamic elementsNamed_dyn(); - - virtual Dynamic elements( ); - Dynamic elements_dyn(); - - virtual Dynamic iterator( ); - Dynamic iterator_dyn(); - - virtual Dynamic attributes( ); - Dynamic attributes_dyn(); - - virtual bool exists( ::String att); - Dynamic exists_dyn(); - - virtual Void remove( ::String att); - Dynamic remove_dyn(); - - virtual Void set( ::String att,::String value); - Dynamic set_dyn(); - - virtual ::String get( ::String att); - Dynamic get_dyn(); - - virtual ::Xml getParent( ); - Dynamic getParent_dyn(); - - ::Xml parent; /* REM */ - virtual ::String setNodeValue( ::String v); - Dynamic setNodeValue_dyn(); - - virtual ::String getNodeValue( ); - Dynamic getNodeValue_dyn(); - - virtual ::String setNodeName( ::String n); - Dynamic setNodeName_dyn(); - - virtual ::String getNodeName( ); - Dynamic getNodeName_dyn(); - - ::String nodeValue; /* REM */ - ::String nodeName; /* REM */ - ::XmlType nodeType; /* REM */ - ::Xml _parent; /* REM */ - Array< ::Xml > _children; /* REM */ - Dynamic _attributes; /* REM */ - ::String _nodeValue; /* REM */ - ::String _nodeName; /* REM */ - static ::XmlType Element; /* REM */ - static ::XmlType PCData; /* REM */ - static ::XmlType CData; /* REM */ - static ::XmlType Comment; /* REM */ - static ::XmlType DocType; /* REM */ - static ::XmlType Prolog; /* REM */ - static ::XmlType Document; /* REM */ - static Dynamic _parse; /* REM */ - static Dynamic &_parse_dyn() { return _parse;} - static ::Xml parse( ::String str); - static Dynamic parse_dyn(); - - static ::Xml createElement( ::String name); - static Dynamic createElement_dyn(); - - static ::Xml createPCData( ::String data); - static Dynamic createPCData_dyn(); - - static ::Xml createCData( ::String data); - static Dynamic createCData_dyn(); - - static ::Xml createComment( ::String data); - static Dynamic createComment_dyn(); - - static ::Xml createDocType( ::String data); - static Dynamic createDocType_dyn(); - - static ::Xml createProlog( ::String data); - static Dynamic createProlog_dyn(); - - static ::Xml createDocument( ); - static Dynamic createDocument_dyn(); - -}; - - -#endif /* INCLUDED_Xml */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/XmlType.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/XmlType.h deleted file mode 100644 index bf57b58..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/XmlType.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef INCLUDED_XmlType -#define INCLUDED_XmlType - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(XmlType) - - -class XmlType_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef XmlType_obj OBJ_; - - public: - XmlType_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("XmlType"); } - ::String __ToString() const { return HX_CSTRING("XmlType.") + tag; } - -}; - - -#endif /* INCLUDED_XmlType */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/ApplicationFacade.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/ApplicationFacade.h deleted file mode 100644 index 8d3d70f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/ApplicationFacade.h +++ /dev/null @@ -1,84 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_ApplicationFacade -#define INCLUDED_ca_confidant_glory_ApplicationFacade - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS3(ca,confidant,glory,ApplicationFacade) -HX_DECLARE_CLASS3(ca,confidant,glory,GloryFrameworkApp) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IFacade) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,facade,Facade) -namespace ca{ -namespace confidant{ -namespace glory{ - - -class ApplicationFacade_obj : public ::org::puremvc::haxe::patterns::facade::Facade_obj{ - public: - typedef ::org::puremvc::haxe::patterns::facade::Facade_obj super; - typedef ApplicationFacade_obj OBJ_; - ApplicationFacade_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ApplicationFacade_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ApplicationFacade_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ApplicationFacade"); } - - virtual Void startup( ::ca::confidant::glory::GloryFrameworkApp app); - Dynamic startup_dyn(); - - virtual Void initializeController( ); - - static ::String STARTUP; /* REM */ - static ::String MESSAGE; /* REM */ - static ::String INIT_XML_LOAD; /* REM */ - static ::String INIT_WIDGETS_CONFIG; /* REM */ - static ::String ASSETS_LOADED; /* REM */ - static ::String INIT_WIDGETS; /* REM */ - static ::String PAGES_CONFIG_READY; /* REM */ - static ::String CALL_EXTERNAL_FUNCTION; /* REM */ - static ::String CONSOLE_LOG; /* REM */ - static ::String STAGE_RESIZE; /* REM */ - static ::String SET_ACTIVE_WIDGET; /* REM */ - static ::String SET_CONTENT; /* REM */ - static ::String BUILD_PAGE; /* REM */ - static ::String REMOVE_PAGE; /* REM */ - static ::String BUILD_CONTROLS; /* REM */ - static ::String CHANGE_PAGE; /* REM */ - static ::String HTTP_LINK; /* REM */ - static ::String TIMER_TICK; /* REM */ - static ::String TIMER_ENABLE; /* REM */ - static ::String TIMER_DISABLE; /* REM */ - static ::String PAN_LEFT; /* REM */ - static ::String PAN_RIGHT; /* REM */ - static ::String PAN_STOP; /* REM */ - static ::String TOGGLE_OPTIONS; /* REM */ - static ::ca::confidant::glory::ApplicationFacade instance; /* REM */ - static ::ca::confidant::glory::ApplicationFacade getInstance( ); - static Dynamic getInstance_dyn(); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory - -#endif /* INCLUDED_ca_confidant_glory_ApplicationFacade */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/GloryFrameworkApp.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/GloryFrameworkApp.h deleted file mode 100644 index 76e4da5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/GloryFrameworkApp.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#define INCLUDED_ca_confidant_glory_GloryFrameworkApp - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS3(ca,confidant,glory,GloryFrameworkApp) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace ca{ -namespace confidant{ -namespace glory{ - - -class GloryFrameworkApp_obj : public ::neash::display::Sprite_obj{ - public: - typedef ::neash::display::Sprite_obj super; - typedef GloryFrameworkApp_obj OBJ_; - GloryFrameworkApp_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< GloryFrameworkApp_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GloryFrameworkApp_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GloryFrameworkApp"); } - - virtual Void displayMessage( ::String m); - Dynamic displayMessage_dyn(); - - static Void main( ); - static Dynamic main_dyn(); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory - -#endif /* INCLUDED_ca_confidant_glory_GloryFrameworkApp */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/BuildControlsCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/BuildControlsCommand.h deleted file mode 100644 index b5be9bb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/BuildControlsCommand.h +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_BuildControlsCommand -#define INCLUDED_ca_confidant_glory_controller_BuildControlsCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,BuildControlsCommand) -HX_DECLARE_CLASS4(ca,confidant,glory,model,ControlsRegistryProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,model,LoaderProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,model,PagesConfigProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,view,ApplicationMediator) -HX_DECLARE_CLASS2(haxe,xml,Fast) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class BuildControlsCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef BuildControlsCommand_obj OBJ_; - BuildControlsCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< BuildControlsCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BuildControlsCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BuildControlsCommand"); } - - virtual Void makeControl( ::haxe::xml::Fast actor); - Dynamic makeControl_dyn(); - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - - ::ca::confidant::glory::model::LoaderProxy lp; /* REM */ - ::ca::confidant::glory::view::ApplicationMediator appMediator; /* REM */ - ::ca::confidant::glory::model::ControlsRegistryProxy csp; /* REM */ - ::ca::confidant::glory::model::PagesConfigProxy pcp; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_BuildControlsCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/BuildPageCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/BuildPageCommand.h deleted file mode 100644 index 65b6309..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/BuildPageCommand.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_BuildPageCommand -#define INCLUDED_ca_confidant_glory_controller_BuildPageCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,BuildPageCommand) -HX_DECLARE_CLASS4(ca,confidant,glory,model,LoaderProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,model,PagesConfigProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,view,ApplicationMediator) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ActorComponent) -HX_DECLARE_CLASS2(haxe,xml,Fast) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class BuildPageCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef BuildPageCommand_obj OBJ_; - BuildPageCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< BuildPageCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BuildPageCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BuildPageCommand"); } - - virtual ::ca::confidant::glory::view::components::ActorComponent makeActor( ::haxe::xml::Fast actor); - Dynamic makeActor_dyn(); - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - - ::ca::confidant::glory::model::LoaderProxy lp; /* REM */ - ::ca::confidant::glory::view::ApplicationMediator appMediator; /* REM */ - ::ca::confidant::glory::model::PagesConfigProxy pcp; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_BuildPageCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/ChangePageCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/ChangePageCommand.h deleted file mode 100644 index 7d53a0f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/ChangePageCommand.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_ChangePageCommand -#define INCLUDED_ca_confidant_glory_controller_ChangePageCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,ChangePageCommand) -HX_DECLARE_CLASS4(ca,confidant,glory,model,PagesConfigProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,view,ApplicationMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class ChangePageCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef ChangePageCommand_obj OBJ_; - ChangePageCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ChangePageCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ChangePageCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ChangePageCommand"); } - - virtual Void floatControls( ); - Dynamic floatControls_dyn(); - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - - ::ca::confidant::glory::view::ApplicationMediator appMediator; /* REM */ - ::ca::confidant::glory::model::PagesConfigProxy pcp; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_ChangePageCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/GotoIntroCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/GotoIntroCommand.h deleted file mode 100644 index 3d6f0c3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/GotoIntroCommand.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_GotoIntroCommand -#define INCLUDED_ca_confidant_glory_controller_GotoIntroCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,GotoIntroCommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class GotoIntroCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef GotoIntroCommand_obj OBJ_; - GotoIntroCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< GotoIntroCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GotoIntroCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GotoIntroCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_GotoIntroCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/HandleAssetsLoadedCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/HandleAssetsLoadedCommand.h deleted file mode 100644 index 6fec6de..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/HandleAssetsLoadedCommand.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_HandleAssetsLoadedCommand -#define INCLUDED_ca_confidant_glory_controller_HandleAssetsLoadedCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,HandleAssetsLoadedCommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class HandleAssetsLoadedCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef HandleAssetsLoadedCommand_obj OBJ_; - HandleAssetsLoadedCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< HandleAssetsLoadedCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~HandleAssetsLoadedCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("HandleAssetsLoadedCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_HandleAssetsLoadedCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/RemovePageCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/RemovePageCommand.h deleted file mode 100644 index 6f1d81c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/RemovePageCommand.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_RemovePageCommand -#define INCLUDED_ca_confidant_glory_controller_RemovePageCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,RemovePageCommand) -HX_DECLARE_CLASS4(ca,confidant,glory,model,ControlsRegistryProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,model,PagesConfigProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,view,ApplicationMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class RemovePageCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef RemovePageCommand_obj OBJ_; - RemovePageCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< RemovePageCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~RemovePageCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("RemovePageCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - - ::ca::confidant::glory::model::ControlsRegistryProxy crp; /* REM */ - ::ca::confidant::glory::view::ApplicationMediator appMediator; /* REM */ - ::ca::confidant::glory::model::PagesConfigProxy pcp; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_RemovePageCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/Startup0_RegCommands_Command.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/Startup0_RegCommands_Command.h deleted file mode 100644 index 689b095..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/Startup0_RegCommands_Command.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_Startup0_RegCommands_Command -#define INCLUDED_ca_confidant_glory_controller_Startup0_RegCommands_Command - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,Startup0_RegCommands_Command) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class Startup0_RegCommands_Command_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef Startup0_RegCommands_Command_obj OBJ_; - Startup0_RegCommands_Command_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Startup0_RegCommands_Command_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Startup0_RegCommands_Command_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Startup0_RegCommands_Command"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_Startup0_RegCommands_Command */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/Startup1_App_Command.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/Startup1_App_Command.h deleted file mode 100644 index 3f83790..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/Startup1_App_Command.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_Startup1_App_Command -#define INCLUDED_ca_confidant_glory_controller_Startup1_App_Command - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,Startup1_App_Command) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class Startup1_App_Command_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef Startup1_App_Command_obj OBJ_; - Startup1_App_Command_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Startup1_App_Command_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Startup1_App_Command_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Startup1_App_Command"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_Startup1_App_Command */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/Startup2_Proxies_Command.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/Startup2_Proxies_Command.h deleted file mode 100644 index 019d65e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/Startup2_Proxies_Command.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_Startup2_Proxies_Command -#define INCLUDED_ca_confidant_glory_controller_Startup2_Proxies_Command - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,Startup2_Proxies_Command) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class Startup2_Proxies_Command_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef Startup2_Proxies_Command_obj OBJ_; - Startup2_Proxies_Command_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Startup2_Proxies_Command_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Startup2_Proxies_Command_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Startup2_Proxies_Command"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_Startup2_Proxies_Command */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/StartupCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/StartupCommand.h deleted file mode 100644 index 94eab63..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/StartupCommand.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_StartupCommand -#define INCLUDED_ca_confidant_glory_controller_StartupCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,StartupCommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,MacroCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class StartupCommand_obj : public ::org::puremvc::haxe::patterns::command::MacroCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::MacroCommand_obj super; - typedef StartupCommand_obj OBJ_; - StartupCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< StartupCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~StartupCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("StartupCommand"); } - - virtual Void initializeMacroCommand( ); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_StartupCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/TimerDisableCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/TimerDisableCommand.h deleted file mode 100644 index b7e344b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/TimerDisableCommand.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_TimerDisableCommand -#define INCLUDED_ca_confidant_glory_controller_TimerDisableCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,TimerDisableCommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class TimerDisableCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef TimerDisableCommand_obj OBJ_; - TimerDisableCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< TimerDisableCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TimerDisableCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TimerDisableCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_TimerDisableCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/TimerEnableCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/TimerEnableCommand.h deleted file mode 100644 index adcb3c8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/controller/TimerEnableCommand.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_TimerEnableCommand -#define INCLUDED_ca_confidant_glory_controller_TimerEnableCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,TimerEnableCommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class TimerEnableCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef TimerEnableCommand_obj OBJ_; - TimerEnableCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< TimerEnableCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TimerEnableCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TimerEnableCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_TimerEnableCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/model/ActorComponentConfigProxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/model/ActorComponentConfigProxy.h deleted file mode 100644 index 0b872eb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/model/ActorComponentConfigProxy.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_model_ActorComponentConfigProxy -#define INCLUDED_ca_confidant_glory_model_ActorComponentConfigProxy - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,model,ActorComponentConfigProxy) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - - -class ActorComponentConfigProxy_obj : public ::org::puremvc::haxe::patterns::proxy::Proxy_obj{ - public: - typedef ::org::puremvc::haxe::patterns::proxy::Proxy_obj super; - typedef ActorComponentConfigProxy_obj OBJ_; - ActorComponentConfigProxy_obj(); - Void __construct(::String id,::String theType,::String __o_theAction); - - public: - static hx::ObjectPtr< ActorComponentConfigProxy_obj > __new(::String id,::String theType,::String __o_theAction); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ActorComponentConfigProxy_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ActorComponentConfigProxy"); } - - ::String action; /* REM */ - ::String type; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model - -#endif /* INCLUDED_ca_confidant_glory_model_ActorComponentConfigProxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/model/ControlsRegistryProxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/model/ControlsRegistryProxy.h deleted file mode 100644 index 5c13fbc..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/model/ControlsRegistryProxy.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy -#define INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,model,ControlsRegistryProxy) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - - -class ControlsRegistryProxy_obj : public ::org::puremvc::haxe::patterns::proxy::Proxy_obj{ - public: - typedef ::org::puremvc::haxe::patterns::proxy::Proxy_obj super; - typedef ControlsRegistryProxy_obj OBJ_; - ControlsRegistryProxy_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ControlsRegistryProxy_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ControlsRegistryProxy_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ControlsRegistryProxy"); } - - virtual Void registerControl( ::neash::display::DisplayObject d); - Dynamic registerControl_dyn(); - - virtual Array< ::neash::display::DisplayObject > getControls( ); - Dynamic getControls_dyn(); - - Array< ::neash::display::DisplayObject > controls; /* REM */ - int currentPage; /* REM */ - static ::String NAME; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model - -#endif /* INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/model/LoaderProxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/model/LoaderProxy.h deleted file mode 100644 index 8b5a0f8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/model/LoaderProxy.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#define INCLUDED_ca_confidant_glory_model_LoaderProxy - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS4(ca,confidant,glory,model,LoaderProxy) -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - - -class LoaderProxy_obj : public ::org::puremvc::haxe::patterns::proxy::Proxy_obj{ - public: - typedef ::org::puremvc::haxe::patterns::proxy::Proxy_obj super; - typedef LoaderProxy_obj OBJ_; - LoaderProxy_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< LoaderProxy_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~LoaderProxy_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("LoaderProxy"); } - - virtual Void loadAllAssets( ); - Dynamic loadAllAssets_dyn(); - - virtual ::neash::display::BitmapData getBitmapData( ::String id,hx::Null< bool > b); - Dynamic getBitmapData_dyn(); - - virtual ::String getText( ::String id); - Dynamic getText_dyn(); - - virtual Dynamic retrieveLoadedAsset( ::String key); - Dynamic retrieveLoadedAsset_dyn(); - - virtual Void loadXML( ::String src); - Dynamic loadXML_dyn(); - - ::Hash loadedItems; /* REM */ - static ::String NAME; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model - -#endif /* INCLUDED_ca_confidant_glory_model_LoaderProxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/model/PagesConfigProxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/model/PagesConfigProxy.h deleted file mode 100644 index 9e06b97..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/model/PagesConfigProxy.h +++ /dev/null @@ -1,113 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#define INCLUDED_ca_confidant_glory_model_PagesConfigProxy - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS0(List) -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS4(ca,confidant,glory,model,PagesConfigProxy) -HX_DECLARE_CLASS2(haxe,xml,Fast) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - - -class PagesConfigProxy_obj : public ::org::puremvc::haxe::patterns::proxy::Proxy_obj{ - public: - typedef ::org::puremvc::haxe::patterns::proxy::Proxy_obj super; - typedef PagesConfigProxy_obj OBJ_; - PagesConfigProxy_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< PagesConfigProxy_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~PagesConfigProxy_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("PagesConfigProxy"); } - - virtual ::Xml pagesXML( ); - Dynamic pagesXML_dyn(); - - virtual Dynamic getConfigXML( int i); - Dynamic getConfigXML_dyn(); - - virtual Void parseXML( ); - Dynamic parseXML_dyn(); - - virtual int numpages( ); - Dynamic numpages_dyn(); - - virtual Dynamic getPosition( int i); - Dynamic getPosition_dyn(); - - virtual ::Hash getPage( ::String pageId); - Dynamic getPage_dyn(); - - virtual ::String getActorHref( ::String controlId); - Dynamic getActorHref_dyn(); - - virtual ::String getControlHref( ::String controlId); - Dynamic getControlHref_dyn(); - - virtual ::List getAppControls( ); - Dynamic getAppControls_dyn(); - - virtual ::List getPageActors( ::String pageId); - Dynamic getPageActors_dyn(); - - virtual ::String getBackground( ::String pageId); - Dynamic getBackground_dyn(); - - virtual ::Hash getPreviousPage( ); - Dynamic getPreviousPage_dyn(); - - virtual ::Hash getNextPage( ); - Dynamic getNextPage_dyn(); - - virtual ::Hash getPageById( ::String id); - Dynamic getPageById_dyn(); - - virtual Void setCurrentPageById( ::String id); - Dynamic setCurrentPageById_dyn(); - - virtual ::Hash getCurrentPage( ); - Dynamic getCurrentPage_dyn(); - - virtual Void loadXML( ::String rawXML); - Dynamic loadXML_dyn(); - - int currentPage; /* REM */ - ::String chosenLayout; /* REM */ - Dynamic chosenpages; /* REM */ - Dynamic randomPositions; /* REM */ - Array< ::Hash > positions; /* REM */ - Dynamic randomPicks; /* REM */ - Dynamic imageItems; /* REM */ - Array< ::Hash > allPages; /* REM */ - ::haxe::xml::Fast fast; /* REM */ - ::Xml _pagesXML; /* REM */ - static ::String NAME; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model - -#endif /* INCLUDED_ca_confidant_glory_model_PagesConfigProxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/model/TickerProxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/model/TickerProxy.h deleted file mode 100644 index bcaaa74..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/model/TickerProxy.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_model_TickerProxy -#define INCLUDED_ca_confidant_glory_model_TickerProxy - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,model,TickerProxy) -HX_DECLARE_CLASS1(haxe,Timer) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - - -class TickerProxy_obj : public ::org::puremvc::haxe::patterns::proxy::Proxy_obj{ - public: - typedef ::org::puremvc::haxe::patterns::proxy::Proxy_obj super; - typedef TickerProxy_obj OBJ_; - TickerProxy_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< TickerProxy_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TickerProxy_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TickerProxy"); } - - virtual Void setInterval( int i); - Dynamic setInterval_dyn(); - - virtual Void onTimerTick( ); - Dynamic onTimerTick_dyn(); - - virtual Void stopTimer( ); - Dynamic stopTimer_dyn(); - - virtual Void startTimer( hx::Null< int > i); - Dynamic startTimer_dyn(); - - ::haxe::Timer myTimer; /* REM */ - int interval; /* REM */ - static ::String NAME; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model - -#endif /* INCLUDED_ca_confidant_glory_model_TickerProxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/ActorComponentMediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/ActorComponentMediator.h deleted file mode 100644 index ff87438..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/ActorComponentMediator.h +++ /dev/null @@ -1,82 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_ActorComponentMediator -#define INCLUDED_ca_confidant_glory_view_ActorComponentMediator - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,model,ActorComponentConfigProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,view,ActorComponentMediator) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ActorComponent) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,events,MouseEvent) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - - -class ActorComponentMediator_obj : public ::org::puremvc::haxe::patterns::mediator::Mediator_obj{ - public: - typedef ::org::puremvc::haxe::patterns::mediator::Mediator_obj super; - typedef ActorComponentMediator_obj OBJ_; - ActorComponentMediator_obj(); - Void __construct(::String id,::ca::confidant::glory::view::components::ActorComponent viewComponent,::ca::confidant::glory::model::ActorComponentConfigProxy accp); - - public: - static hx::ObjectPtr< ActorComponentMediator_obj > __new(::String id,::ca::confidant::glory::view::components::ActorComponent viewComponent,::ca::confidant::glory::model::ActorComponentConfigProxy accp); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ActorComponentMediator_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ActorComponentMediator"); } - - virtual ::ca::confidant::glory::view::components::ActorComponent actor( ); - Dynamic actor_dyn(); - - virtual Void onPanRight( Dynamic e); - Dynamic onPanRight_dyn(); - - virtual Void onPanLeft( Dynamic e); - Dynamic onPanLeft_dyn(); - - virtual Void handleNotification( ::org::puremvc::haxe::interfaces::INotification note); - - virtual Array< ::String > listNotificationInterests( ); - - virtual Void onActorClicked( ::neash::events::MouseEvent e); - Dynamic onActorClicked_dyn(); - - virtual Void addListeners( ); - Dynamic addListeners_dyn(); - - ::String type; /* REM */ - ::ca::confidant::glory::model::ActorComponentConfigProxy config; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view - -#endif /* INCLUDED_ca_confidant_glory_view_ActorComponentMediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/ApplicationMediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/ApplicationMediator.h deleted file mode 100644 index 24b8cf7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/ApplicationMediator.h +++ /dev/null @@ -1,82 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#define INCLUDED_ca_confidant_glory_view_ApplicationMediator - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS3(ca,confidant,glory,GloryFrameworkApp) -HX_DECLARE_CLASS4(ca,confidant,glory,model,LoaderProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,model,PagesConfigProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,view,ApplicationMediator) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - - -class ApplicationMediator_obj : public ::org::puremvc::haxe::patterns::mediator::Mediator_obj{ - public: - typedef ::org::puremvc::haxe::patterns::mediator::Mediator_obj super; - typedef ApplicationMediator_obj OBJ_; - ApplicationMediator_obj(); - Void __construct(::ca::confidant::glory::GloryFrameworkApp viewComponent); - - public: - static hx::ObjectPtr< ApplicationMediator_obj > __new(::ca::confidant::glory::GloryFrameworkApp viewComponent); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ApplicationMediator_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ApplicationMediator"); } - - virtual ::ca::confidant::glory::GloryFrameworkApp getApp( ); - Dynamic getApp_dyn(); - - virtual Void handleNotification( ::org::puremvc::haxe::interfaces::INotification note); - - virtual int getIndex( ::neash::display::DisplayObject d); - Dynamic getIndex_dyn(); - - virtual Void reportLayers( ); - Dynamic reportLayers_dyn(); - - virtual Void removeDisplayObject( ::neash::display::DisplayObject d); - Dynamic removeDisplayObject_dyn(); - - virtual Void addDisplayObject( ::neash::display::DisplayObject d,hx::Null< int > level); - Dynamic addDisplayObject_dyn(); - - virtual Array< ::String > listNotificationInterests( ); - - ::ca::confidant::glory::model::PagesConfigProxy pagesConfigProxy; /* REM */ - ::ca::confidant::glory::model::LoaderProxy loaderProxy; /* REM */ - static ::String NAME; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view - -#endif /* INCLUDED_ca_confidant_glory_view_ApplicationMediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/ControlComponentMediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/ControlComponentMediator.h deleted file mode 100644 index b05c59b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/ControlComponentMediator.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_ControlComponentMediator -#define INCLUDED_ca_confidant_glory_view_ControlComponentMediator - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,view,ControlComponentMediator) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ControlComponent) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,events,MouseEvent) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - - -class ControlComponentMediator_obj : public ::org::puremvc::haxe::patterns::mediator::Mediator_obj{ - public: - typedef ::org::puremvc::haxe::patterns::mediator::Mediator_obj super; - typedef ControlComponentMediator_obj OBJ_; - ControlComponentMediator_obj(); - Void __construct(::String id,::ca::confidant::glory::view::components::ControlComponent viewComponent); - - public: - static hx::ObjectPtr< ControlComponentMediator_obj > __new(::String id,::ca::confidant::glory::view::components::ControlComponent viewComponent); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ControlComponentMediator_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ControlComponentMediator"); } - - virtual ::ca::confidant::glory::view::components::ControlComponent control( ); - Dynamic control_dyn(); - - virtual Void onControlClicked( ::neash::events::MouseEvent e); - Dynamic onControlClicked_dyn(); - - virtual Void onMouseUp( ::neash::events::MouseEvent e); - Dynamic onMouseUp_dyn(); - - virtual Void onMouseDown( ::neash::events::MouseEvent e); - Dynamic onMouseDown_dyn(); - - virtual Void addListeners( ); - Dynamic addListeners_dyn(); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view - -#endif /* INCLUDED_ca_confidant_glory_view_ControlComponentMediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/PageMediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/PageMediator.h deleted file mode 100644 index 90d7aa8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/PageMediator.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_PageMediator -#define INCLUDED_ca_confidant_glory_view_PageMediator - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,view,PageMediator) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,PageComponent) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - - -class PageMediator_obj : public ::org::puremvc::haxe::patterns::mediator::Mediator_obj{ - public: - typedef ::org::puremvc::haxe::patterns::mediator::Mediator_obj super; - typedef PageMediator_obj OBJ_; - PageMediator_obj(); - Void __construct(::String id,::ca::confidant::glory::view::components::PageComponent viewComponent); - - public: - static hx::ObjectPtr< PageMediator_obj > __new(::String id,::ca::confidant::glory::view::components::PageComponent viewComponent); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~PageMediator_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("PageMediator"); } - - virtual ::ca::confidant::glory::view::components::PageComponent page( ); - Dynamic page_dyn(); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view - -#endif /* INCLUDED_ca_confidant_glory_view_PageMediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/components/ActorComponent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/components/ActorComponent.h deleted file mode 100644 index 525e0c4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/components/ActorComponent.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#define INCLUDED_ca_confidant_glory_view_components_ActorComponent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ActorComponent) -HX_DECLARE_CLASS2(neash,display,Bitmap) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace components{ - - -class ActorComponent_obj : public ::neash::display::Sprite_obj{ - public: - typedef ::neash::display::Sprite_obj super; - typedef ActorComponent_obj OBJ_; - ActorComponent_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ActorComponent_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ActorComponent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ActorComponent"); } - - virtual Void addSVG( ::String t); - Dynamic addSVG_dyn(); - - virtual Void addBitmap( ::neash::display::Bitmap bMap); - Dynamic addBitmap_dyn(); - - ::String type; /* REM */ - ::neash::display::Bitmap defaultBitmap; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace components - -#endif /* INCLUDED_ca_confidant_glory_view_components_ActorComponent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/components/ControlComponent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/components/ControlComponent.h deleted file mode 100644 index 54dd0fa..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/components/ControlComponent.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_components_ControlComponent -#define INCLUDED_ca_confidant_glory_view_components_ControlComponent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ControlComponent) -HX_DECLARE_CLASS2(neash,display,Bitmap) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace components{ - - -class ControlComponent_obj : public ::neash::display::Sprite_obj{ - public: - typedef ::neash::display::Sprite_obj super; - typedef ControlComponent_obj OBJ_; - ControlComponent_obj(); - Void __construct(::String type); - - public: - static hx::ObjectPtr< ControlComponent_obj > __new(::String type); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ControlComponent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ControlComponent"); } - - virtual Void addSVG( ::String t); - Dynamic addSVG_dyn(); - - virtual Void addBitmap( ::neash::display::Bitmap bMap); - Dynamic addBitmap_dyn(); - - ::String type; /* REM */ - ::neash::display::Bitmap defaultBitmap; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace components - -#endif /* INCLUDED_ca_confidant_glory_view_components_ControlComponent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/components/PageComponent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/components/PageComponent.h deleted file mode 100644 index 46635f8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/components/PageComponent.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_components_PageComponent -#define INCLUDED_ca_confidant_glory_view_components_PageComponent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ActorComponent) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,PageComponent) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace components{ - - -class PageComponent_obj : public ::neash::display::Sprite_obj{ - public: - typedef ::neash::display::Sprite_obj super; - typedef PageComponent_obj OBJ_; - PageComponent_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< PageComponent_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~PageComponent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("PageComponent"); } - - virtual Void init( ); - Dynamic init_dyn(); - - virtual Void addActor( ::String key,::ca::confidant::glory::view::components::ActorComponent spr); - Dynamic addActor_dyn(); - - ::Hash myActors; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace components - -#endif /* INCLUDED_ca_confidant_glory_view_components_PageComponent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/constants/ControlConstants.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/constants/ControlConstants.h deleted file mode 100644 index 35ba082..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/ca/confidant/glory/view/constants/ControlConstants.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_constants_ControlConstants -#define INCLUDED_ca_confidant_glory_view_constants_ControlConstants - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS5(ca,confidant,glory,view,constants,ControlConstants) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace constants{ - - -class ControlConstants_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef ControlConstants_obj OBJ_; - ControlConstants_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ControlConstants_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ControlConstants_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ControlConstants"); } - - static ::String PAGE_FORWARD; /* REM */ - static ::String PAGE_BACKWARD; /* REM */ - static ::String PAGE_SKIP_TO; /* REM */ - static ::String TOGGLE_MENU; /* REM */ - static ::String GET_URL; /* REM */ - static ::String PAN_RIGHT_CONTROL; /* REM */ - static ::String PAN_LEFT_CONTROL; /* REM */ - static ::String TRANSITION_OUT; /* REM */ - static ::String TRANSITION_IN; /* REM */ - static ::String CONTROL; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace constants - -#endif /* INCLUDED_ca_confidant_glory_view_constants_ControlConstants */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/cpp/Lib.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/cpp/Lib.h deleted file mode 100644 index 30e94b1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/cpp/Lib.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_cpp_Lib -#define INCLUDED_cpp_Lib - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(cpp,Lib) -namespace cpp{ - - -class Lib_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Lib_obj OBJ_; - Lib_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Lib_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Lib_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Lib"); } - - static Dynamic load( ::String lib,::String prim,int nargs); - static Dynamic load_dyn(); - - static Dynamic loadLazy( ::String lib,::String prim,int nargs); - static Dynamic loadLazy_dyn(); - - static Void rethrow( Dynamic inExp); - static Dynamic rethrow_dyn(); - - static Void stringReference( Dynamic inExp); - static Dynamic stringReference_dyn(); - - static Void print( Dynamic v); - static Dynamic print_dyn(); - - static Dynamic haxeToNeko( Dynamic v); - static Dynamic haxeToNeko_dyn(); - - static Dynamic nekoToHaxe( Dynamic v); - static Dynamic nekoToHaxe_dyn(); - - static Void println( Dynamic v); - static Dynamic println_dyn(); - -}; - -} // end namespace cpp - -#endif /* INCLUDED_cpp_Lib */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/cpp/rtti/FieldNumericIntegerLookup.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/cpp/rtti/FieldNumericIntegerLookup.h deleted file mode 100644 index 9997535..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/cpp/rtti/FieldNumericIntegerLookup.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_cpp_rtti_FieldNumericIntegerLookup -#define INCLUDED_cpp_rtti_FieldNumericIntegerLookup - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(cpp,rtti,FieldNumericIntegerLookup) -namespace cpp{ -namespace rtti{ - - -class FieldNumericIntegerLookup_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef FieldNumericIntegerLookup_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -}; - -#define DELEGATE_cpp_rtti_FieldNumericIntegerLookup \ - - -template -class FieldNumericIntegerLookup_delegate_ : public FieldNumericIntegerLookup_obj -{ - protected: - IMPL *mDelegate; - public: - FieldNumericIntegerLookup_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_cpp_rtti_FieldNumericIntegerLookup -}; - -} // end namespace cpp -} // end namespace rtti - -#endif /* INCLUDED_cpp_rtti_FieldNumericIntegerLookup */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/cpp/zip/Compress.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/cpp/zip/Compress.h deleted file mode 100644 index 5d2d44c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/cpp/zip/Compress.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef INCLUDED_cpp_zip_Compress -#define INCLUDED_cpp_zip_Compress - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(cpp,zip,Compress) -HX_DECLARE_CLASS2(cpp,zip,Flush) -HX_DECLARE_CLASS2(haxe,io,Bytes) -namespace cpp{ -namespace zip{ - - -class Compress_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Compress_obj OBJ_; - Compress_obj(); - Void __construct(int level); - - public: - static hx::ObjectPtr< Compress_obj > __new(int level); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Compress_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Compress"); } - - virtual Void close( ); - Dynamic close_dyn(); - - virtual Void setFlushMode( ::cpp::zip::Flush f); - Dynamic setFlushMode_dyn(); - - virtual Dynamic execute( ::haxe::io::Bytes src,int srcPos,::haxe::io::Bytes dst,int dstPos); - Dynamic execute_dyn(); - - Dynamic s; /* REM */ - static ::haxe::io::Bytes run( ::haxe::io::Bytes s,int level); - static Dynamic run_dyn(); - - static Dynamic _deflate_init; /* REM */ - static Dynamic &_deflate_init_dyn() { return _deflate_init;} - static Dynamic _deflate_bound; /* REM */ - static Dynamic &_deflate_bound_dyn() { return _deflate_bound;} - static Dynamic _deflate_buffer; /* REM */ - static Dynamic &_deflate_buffer_dyn() { return _deflate_buffer;} - static Dynamic _deflate_end; /* REM */ - static Dynamic &_deflate_end_dyn() { return _deflate_end;} - static Dynamic _set_flush_mode; /* REM */ - static Dynamic &_set_flush_mode_dyn() { return _set_flush_mode;} -}; - -} // end namespace cpp -} // end namespace zip - -#endif /* INCLUDED_cpp_zip_Compress */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/cpp/zip/Flush.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/cpp/zip/Flush.h deleted file mode 100644 index 66602ba..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/cpp/zip/Flush.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_cpp_zip_Flush -#define INCLUDED_cpp_zip_Flush - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(cpp,zip,Flush) -namespace cpp{ -namespace zip{ - - -class Flush_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef Flush_obj OBJ_; - - public: - Flush_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("cpp.zip.Flush"); } - ::String __ToString() const { return HX_CSTRING("Flush.") + tag; } - - static ::cpp::zip::Flush BLOCK; - static inline ::cpp::zip::Flush BLOCK_dyn() { return BLOCK; } - static ::cpp::zip::Flush FINISH; - static inline ::cpp::zip::Flush FINISH_dyn() { return FINISH; } - static ::cpp::zip::Flush FULL; - static inline ::cpp::zip::Flush FULL_dyn() { return FULL; } - static ::cpp::zip::Flush NO; - static inline ::cpp::zip::Flush NO_dyn() { return NO; } - static ::cpp::zip::Flush SYNC; - static inline ::cpp::zip::Flush SYNC_dyn() { return SYNC; } -}; - -} // end namespace cpp -} // end namespace zip - -#endif /* INCLUDED_cpp_zip_Flush */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/cpp/zip/Uncompress.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/cpp/zip/Uncompress.h deleted file mode 100644 index 45ad18d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/cpp/zip/Uncompress.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_cpp_zip_Uncompress -#define INCLUDED_cpp_zip_Uncompress - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(cpp,zip,Flush) -HX_DECLARE_CLASS2(cpp,zip,Uncompress) -HX_DECLARE_CLASS2(haxe,io,Bytes) -namespace cpp{ -namespace zip{ - - -class Uncompress_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Uncompress_obj OBJ_; - Uncompress_obj(); - Void __construct(Dynamic windowBits); - - public: - static hx::ObjectPtr< Uncompress_obj > __new(Dynamic windowBits); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Uncompress_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Uncompress"); } - - virtual Void close( ); - Dynamic close_dyn(); - - virtual Void setFlushMode( ::cpp::zip::Flush f); - Dynamic setFlushMode_dyn(); - - virtual Dynamic this_run( ::haxe::io::Bytes src,int srcPos,::haxe::io::Bytes dst,int dstPos); - Dynamic this_run_dyn(); - - Dynamic s; /* REM */ - static ::haxe::io::Bytes run( ::haxe::io::Bytes src,Dynamic bufsize); - static Dynamic run_dyn(); - - static Dynamic _inflate_init; /* REM */ - static Dynamic &_inflate_init_dyn() { return _inflate_init;} - static Dynamic _inflate_buffer; /* REM */ - static Dynamic &_inflate_buffer_dyn() { return _inflate_buffer;} - static Dynamic _inflate_end; /* REM */ - static Dynamic &_inflate_end_dyn() { return _inflate_end;} - static Dynamic _set_flush_mode; /* REM */ - static Dynamic &_set_flush_mode_dyn() { return _set_flush_mode;} -}; - -} // end namespace cpp -} // end namespace zip - -#endif /* INCLUDED_cpp_zip_Uncompress */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/SVG.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/SVG.h deleted file mode 100644 index 027944c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/SVG.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef INCLUDED_format_SVG -#define INCLUDED_format_SVG - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(format,SVG) -HX_DECLARE_CLASS2(format,svg,Group) -HX_DECLARE_CLASS2(format,svg,SVGData) -HX_DECLARE_CLASS2(neash,display,Graphics) -namespace format{ - - -class SVG_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef SVG_obj OBJ_; - SVG_obj(); - Void __construct(::String content); - - public: - static hx::ObjectPtr< SVG_obj > __new(::String content); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SVG_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SVG"); } - - virtual Void render( ::neash::display::Graphics graphics,hx::Null< Float > x,hx::Null< Float > y,hx::Null< int > width,hx::Null< int > height); - Dynamic render_dyn(); - - ::format::svg::SVGData data; /* REM */ -}; - -} // end namespace format - -#endif /* INCLUDED_format_SVG */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/Gfx.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/Gfx.h deleted file mode 100644 index cf15e98..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/Gfx.h +++ /dev/null @@ -1,77 +0,0 @@ -#ifndef INCLUDED_format_gfx_Gfx -#define INCLUDED_format_gfx_Gfx - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(format,gfx,LineStyle) -HX_DECLARE_CLASS2(format,svg,Text) -namespace format{ -namespace gfx{ - - -class Gfx_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Gfx_obj OBJ_; - Gfx_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Gfx_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Gfx_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Gfx"); } - - virtual Void eof( ); - Dynamic eof_dyn(); - - virtual Void renderText( ::format::svg::Text text); - Dynamic renderText_dyn(); - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - Dynamic curveTo_dyn(); - - virtual Void lineTo( Float inX,Float inY); - Dynamic lineTo_dyn(); - - virtual Void moveTo( Float inX,Float inY); - Dynamic moveTo_dyn(); - - virtual Void endLineStyle( ); - Dynamic endLineStyle_dyn(); - - virtual Void lineStyle( ::format::gfx::LineStyle style); - Dynamic lineStyle_dyn(); - - virtual Void endFill( ); - Dynamic endFill_dyn(); - - virtual Void beginFill( int color,Float alpha); - Dynamic beginFill_dyn(); - - virtual Void beginGradientFill( ::format::gfx::Gradient grad); - Dynamic beginGradientFill_dyn(); - - virtual Void size( Float inWidth,Float inHeight); - Dynamic size_dyn(); - - virtual bool geometryOnly( ); - Dynamic geometryOnly_dyn(); - -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_Gfx */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/Gfx2Haxe.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/Gfx2Haxe.h deleted file mode 100644 index c5d9cad..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/Gfx2Haxe.h +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef INCLUDED_format_gfx_Gfx2Haxe -#define INCLUDED_format_gfx_Gfx2Haxe - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,Gfx2Haxe) -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(format,gfx,LineStyle) -HX_DECLARE_CLASS2(neash,geom,Matrix) -namespace format{ -namespace gfx{ - - -class Gfx2Haxe_obj : public ::format::gfx::Gfx_obj{ - public: - typedef ::format::gfx::Gfx_obj super; - typedef Gfx2Haxe_obj OBJ_; - Gfx2Haxe_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Gfx2Haxe_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Gfx2Haxe_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Gfx2Haxe"); } - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - - virtual Void lineTo( Float inX,Float inY); - - virtual Void moveTo( Float inX,Float inY); - - virtual Void endLineStyle( ); - - virtual Void lineStyle( ::format::gfx::LineStyle style); - - virtual Void endFill( ); - - virtual Void beginFill( int color,Float alpha); - - virtual Void beginGradientFill( ::format::gfx::Gradient grad); - - virtual ::String newMatrix( ::neash::geom::Matrix m); - Dynamic newMatrix_dyn(); - - virtual ::String f2a( Float f); - Dynamic f2a_dyn(); - - Array< ::String > commands; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_Gfx2Haxe */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/GfxBytes.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/GfxBytes.h deleted file mode 100644 index 0da3fde..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/GfxBytes.h +++ /dev/null @@ -1,107 +0,0 @@ -#ifndef INCLUDED_format_gfx_GfxBytes -#define INCLUDED_format_gfx_GfxBytes - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,GfxBytes) -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(format,gfx,LineStyle) -HX_DECLARE_CLASS1(haxe,BaseCode) -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,display,CapsStyle) -HX_DECLARE_CLASS2(neash,display,InterpolationMethod) -HX_DECLARE_CLASS2(neash,display,JointStyle) -HX_DECLARE_CLASS2(neash,display,LineScaleMode) -HX_DECLARE_CLASS2(neash,display,SpreadMethod) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace format{ -namespace gfx{ - - -class GfxBytes_obj : public ::format::gfx::Gfx_obj{ - public: - typedef ::format::gfx::Gfx_obj super; - typedef GfxBytes_obj OBJ_; - GfxBytes_obj(); - Void __construct(::neash::utils::ByteArray inBuffer,hx::Null< int > __o_inFlags); - - public: - static hx::ObjectPtr< GfxBytes_obj > __new(::neash::utils::ByteArray inBuffer,hx::Null< int > __o_inFlags); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GfxBytes_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GfxBytes"); } - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - - virtual Void lineTo( Float inX,Float inY); - - virtual Void moveTo( Float inX,Float inY); - - virtual Void endLineStyle( ); - - virtual Void lineStyle( ::format::gfx::LineStyle style); - - virtual Void endFill( ); - - virtual Void beginFill( int color,Float alpha); - - virtual Void beginGradientFill( ::format::gfx::Gradient grad); - - virtual int readRGB( ); - Dynamic readRGB_dyn(); - - virtual Void writeRGB( int inVal); - Dynamic writeRGB_dyn(); - - virtual Void pushClipped( Float inVal); - Dynamic pushClipped_dyn(); - - virtual Void size( Float inWidth,Float inHeight); - - virtual Void iterate( ::format::gfx::Gfx inGfx); - Dynamic iterate_dyn(); - - virtual Void eof( ); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - ::neash::utils::ByteArray buffer; /* REM */ - static int _EOF; /* REM */ - static int SIZE; /* REM */ - static int BEGIN_FILL; /* REM */ - static int GRADIENT_FILL; /* REM */ - static int END_FILL; /* REM */ - static int LINE_STYLE; /* REM */ - static int END_LINE_STYLE; /* REM */ - static int MOVE; /* REM */ - static int LINE; /* REM */ - static int CURVE; /* REM */ - static ::String base64; /* REM */ - static ::haxe::BaseCode baseCoder; /* REM */ - static ::format::gfx::GfxBytes fromString( ::String inString); - static Dynamic fromString_dyn(); - - static Array< ::neash::display::LineScaleMode > scaleModes; /* REM */ - static Array< ::neash::display::CapsStyle > capsStyles; /* REM */ - static Array< ::neash::display::JointStyle > jointStyles; /* REM */ - static Array< ::neash::display::SpreadMethod > spreadMethods; /* REM */ - static Array< ::neash::display::InterpolationMethod > interpolationMethods; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_GfxBytes */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/GfxExtent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/GfxExtent.h deleted file mode 100644 index 5898c74..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/GfxExtent.h +++ /dev/null @@ -1,53 +0,0 @@ -#ifndef INCLUDED_format_gfx_GfxExtent -#define INCLUDED_format_gfx_GfxExtent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,GfxExtent) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace format{ -namespace gfx{ - - -class GfxExtent_obj : public ::format::gfx::Gfx_obj{ - public: - typedef ::format::gfx::Gfx_obj super; - typedef GfxExtent_obj OBJ_; - GfxExtent_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< GfxExtent_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GfxExtent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GfxExtent"); } - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - - virtual Void lineTo( Float inX,Float inY); - - virtual Void moveTo( Float inX,Float inY); - - virtual bool geometryOnly( ); - - virtual Void addExtent( Float inX,Float inY); - Dynamic addExtent_dyn(); - - ::neash::geom::Rectangle extent; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_GfxExtent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/GfxGraphics.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/GfxGraphics.h deleted file mode 100644 index d6ebfa2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/GfxGraphics.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_format_gfx_GfxGraphics -#define INCLUDED_format_gfx_GfxGraphics - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,GfxGraphics) -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(format,gfx,LineStyle) -HX_DECLARE_CLASS2(neash,display,Graphics) -namespace format{ -namespace gfx{ - - -class GfxGraphics_obj : public ::format::gfx::Gfx_obj{ - public: - typedef ::format::gfx::Gfx_obj super; - typedef GfxGraphics_obj OBJ_; - GfxGraphics_obj(); - Void __construct(::neash::display::Graphics inGraphics); - - public: - static hx::ObjectPtr< GfxGraphics_obj > __new(::neash::display::Graphics inGraphics); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GfxGraphics_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GfxGraphics"); } - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - - virtual Void lineTo( Float inX,Float inY); - - virtual Void moveTo( Float inX,Float inY); - - virtual Void endLineStyle( ); - - virtual Void lineStyle( ::format::gfx::LineStyle style); - - virtual Void endFill( ); - - virtual Void beginFill( int color,Float alpha); - - virtual Void beginGradientFill( ::format::gfx::Gradient grad); - - ::neash::display::Graphics graphics; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_GfxGraphics */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/GfxTextFinder.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/GfxTextFinder.h deleted file mode 100644 index af0acbd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/GfxTextFinder.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_format_gfx_GfxTextFinder -#define INCLUDED_format_gfx_GfxTextFinder - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,GfxTextFinder) -HX_DECLARE_CLASS2(format,svg,Text) -namespace format{ -namespace gfx{ - - -class GfxTextFinder_obj : public ::format::gfx::Gfx_obj{ - public: - typedef ::format::gfx::Gfx_obj super; - typedef GfxTextFinder_obj OBJ_; - GfxTextFinder_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< GfxTextFinder_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GfxTextFinder_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GfxTextFinder"); } - - virtual Void renderText( ::format::svg::Text inText); - - virtual bool geometryOnly( ); - - ::format::svg::Text text; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_GfxTextFinder */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/Gradient.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/Gradient.h deleted file mode 100644 index 895d358..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/Gradient.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_format_gfx_Gradient -#define INCLUDED_format_gfx_Gradient - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(neash,display,GradientType) -HX_DECLARE_CLASS2(neash,display,InterpolationMethod) -HX_DECLARE_CLASS2(neash,display,SpreadMethod) -HX_DECLARE_CLASS2(neash,geom,Matrix) -namespace format{ -namespace gfx{ - - -class Gradient_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Gradient_obj OBJ_; - Gradient_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Gradient_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Gradient_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Gradient"); } - - Float focus; /* REM */ - ::neash::display::InterpolationMethod interp; /* REM */ - ::neash::display::SpreadMethod spread; /* REM */ - ::neash::geom::Matrix matrix; /* REM */ - Array< int > ratios; /* REM */ - Array< Float > alphas; /* REM */ - Array< int > colors; /* REM */ - ::neash::display::GradientType type; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_Gradient */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/LineStyle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/LineStyle.h deleted file mode 100644 index e550925..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/gfx/LineStyle.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef INCLUDED_format_gfx_LineStyle -#define INCLUDED_format_gfx_LineStyle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,gfx,LineStyle) -HX_DECLARE_CLASS2(neash,display,CapsStyle) -HX_DECLARE_CLASS2(neash,display,JointStyle) -HX_DECLARE_CLASS2(neash,display,LineScaleMode) -namespace format{ -namespace gfx{ - - -class LineStyle_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef LineStyle_obj OBJ_; - LineStyle_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< LineStyle_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~LineStyle_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("LineStyle"); } - - Float miterLimit; /* REM */ - ::neash::display::JointStyle jointStyle; /* REM */ - ::neash::display::CapsStyle capsStyle; /* REM */ - ::neash::display::LineScaleMode scaleMode; /* REM */ - bool pixelHinting; /* REM */ - Float alpha; /* REM */ - int color; /* REM */ - Float thickness; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_LineStyle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/ArcSegment.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/ArcSegment.h deleted file mode 100644 index fd02d25..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/ArcSegment.h +++ /dev/null @@ -1,53 +0,0 @@ -#ifndef INCLUDED_format_svg_ArcSegment -#define INCLUDED_format_svg_ArcSegment - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,svg,ArcSegment) -HX_DECLARE_CLASS2(format,svg,PathSegment) -HX_DECLARE_CLASS2(format,svg,RenderContext) -namespace format{ -namespace svg{ - - -class ArcSegment_obj : public ::format::svg::PathSegment_obj{ - public: - typedef ::format::svg::PathSegment_obj super; - typedef ArcSegment_obj OBJ_; - ArcSegment_obj(); - Void __construct(Float inX1,Float inY1,Float inRX,Float inRY,Float inRotation,bool inLargeArc,bool inSweep,Float x,Float y); - - public: - static hx::ObjectPtr< ArcSegment_obj > __new(Float inX1,Float inY1,Float inRX,Float inRY,Float inRotation,bool inLargeArc,bool inSweep,Float x,Float y); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ArcSegment_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ArcSegment"); } - - virtual int getType( ); - - virtual Void toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext); - - bool fS; /* REM */ - bool fA; /* REM */ - Float phi; /* REM */ - Float ry; /* REM */ - Float rx; /* REM */ - Float y1; /* REM */ - Float x1; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_ArcSegment */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/CubicSegment.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/CubicSegment.h deleted file mode 100644 index 95c0033..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/CubicSegment.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_format_svg_CubicSegment -#define INCLUDED_format_svg_CubicSegment - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,svg,CubicSegment) -HX_DECLARE_CLASS2(format,svg,PathSegment) -HX_DECLARE_CLASS2(format,svg,QuadraticSegment) -HX_DECLARE_CLASS2(format,svg,RenderContext) -namespace format{ -namespace svg{ - - -class CubicSegment_obj : public ::format::svg::PathSegment_obj{ - public: - typedef ::format::svg::PathSegment_obj super; - typedef CubicSegment_obj OBJ_; - CubicSegment_obj(); - Void __construct(Float inCX1,Float inCY1,Float inCX2,Float inCY2,Float inX,Float inY); - - public: - static hx::ObjectPtr< CubicSegment_obj > __new(Float inCX1,Float inCY1,Float inCX2,Float inCY2,Float inX,Float inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~CubicSegment_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("CubicSegment"); } - - virtual int getType( ); - - virtual Array< ::format::svg::QuadraticSegment > toQuadratics( Float tx0,Float ty0); - Dynamic toQuadratics_dyn(); - - virtual Void toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext); - - virtual Float Interp( Float a,Float b,Float frac); - Dynamic Interp_dyn(); - - virtual Float prevCY( ); - - virtual Float prevCX( ); - - Float cy2; /* REM */ - Float cx2; /* REM */ - Float cy1; /* REM */ - Float cx1; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_CubicSegment */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/DisplayElement.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/DisplayElement.h deleted file mode 100644 index 7efa585..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/DisplayElement.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_format_svg_DisplayElement -#define INCLUDED_format_svg_DisplayElement - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,svg,DisplayElement) -HX_DECLARE_CLASS2(format,svg,Group) -HX_DECLARE_CLASS2(format,svg,Path) -HX_DECLARE_CLASS2(format,svg,Text) -namespace format{ -namespace svg{ - - -class DisplayElement_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef DisplayElement_obj OBJ_; - - public: - DisplayElement_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("format.svg.DisplayElement"); } - ::String __ToString() const { return HX_CSTRING("DisplayElement.") + tag; } - - static ::format::svg::DisplayElement DisplayGroup(::format::svg::Group group); - static Dynamic DisplayGroup_dyn(); - static ::format::svg::DisplayElement DisplayPath(::format::svg::Path path); - static Dynamic DisplayPath_dyn(); - static ::format::svg::DisplayElement DisplayText(::format::svg::Text text); - static Dynamic DisplayText_dyn(); -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_DisplayElement */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/DrawSegment.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/DrawSegment.h deleted file mode 100644 index d6ae663..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/DrawSegment.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_format_svg_DrawSegment -#define INCLUDED_format_svg_DrawSegment - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,svg,DrawSegment) -HX_DECLARE_CLASS2(format,svg,PathSegment) -HX_DECLARE_CLASS2(format,svg,RenderContext) -namespace format{ -namespace svg{ - - -class DrawSegment_obj : public ::format::svg::PathSegment_obj{ - public: - typedef ::format::svg::PathSegment_obj super; - typedef DrawSegment_obj OBJ_; - DrawSegment_obj(); - Void __construct(Float inX,Float inY); - - public: - static hx::ObjectPtr< DrawSegment_obj > __new(Float inX,Float inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~DrawSegment_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("DrawSegment"); } - - virtual int getType( ); - - virtual Void toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext); - -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_DrawSegment */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/FillType.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/FillType.h deleted file mode 100644 index d61fe70..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/FillType.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_format_svg_FillType -#define INCLUDED_format_svg_FillType - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(format,svg,FillType) -HX_DECLARE_CLASS2(format,svg,Grad) -namespace format{ -namespace svg{ - - -class FillType_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef FillType_obj OBJ_; - - public: - FillType_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("format.svg.FillType"); } - ::String __ToString() const { return HX_CSTRING("FillType.") + tag; } - - static ::format::svg::FillType FillGrad(::format::svg::Grad grad); - static Dynamic FillGrad_dyn(); - static ::format::svg::FillType FillNone; - static inline ::format::svg::FillType FillNone_dyn() { return FillNone; } - static ::format::svg::FillType FillSolid(int colour); - static Dynamic FillSolid_dyn(); -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_FillType */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/Grad.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/Grad.h deleted file mode 100644 index 561b3f2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/Grad.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef INCLUDED_format_svg_Grad -#define INCLUDED_format_svg_Grad - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(format,svg,Grad) -HX_DECLARE_CLASS2(neash,display,GradientType) -HX_DECLARE_CLASS2(neash,geom,Matrix) -namespace format{ -namespace svg{ - - -class Grad_obj : public ::format::gfx::Gradient_obj{ - public: - typedef ::format::gfx::Gradient_obj super; - typedef Grad_obj OBJ_; - Grad_obj(); - Void __construct(::neash::display::GradientType inType); - - public: - static hx::ObjectPtr< Grad_obj > __new(::neash::display::GradientType inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Grad_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Grad"); } - - virtual Void updateMatrix( ::neash::geom::Matrix inMatrix); - Dynamic updateMatrix_dyn(); - - Float y2; /* REM */ - Float x2; /* REM */ - Float y1; /* REM */ - Float x1; /* REM */ - Float radius; /* REM */ - ::neash::geom::Matrix gradMatrix; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_Grad */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/Group.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/Group.h deleted file mode 100644 index d84831a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/Group.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_format_svg_Group -#define INCLUDED_format_svg_Group - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,svg,DisplayElement) -HX_DECLARE_CLASS2(format,svg,Group) -namespace format{ -namespace svg{ - - -class Group_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Group_obj OBJ_; - Group_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Group_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Group_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Group"); } - - Array< ::format::svg::DisplayElement > children; /* REM */ - ::String name; /* REM */ - virtual ::format::svg::Group findGroup( ::String inName); - Dynamic findGroup_dyn(); - - virtual bool hasGroup( ::String inName); - Dynamic hasGroup_dyn(); - -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_Group */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/MoveSegment.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/MoveSegment.h deleted file mode 100644 index c273e5a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/MoveSegment.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_format_svg_MoveSegment -#define INCLUDED_format_svg_MoveSegment - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,svg,MoveSegment) -HX_DECLARE_CLASS2(format,svg,PathSegment) -namespace format{ -namespace svg{ - - -class MoveSegment_obj : public ::format::svg::PathSegment_obj{ - public: - typedef ::format::svg::PathSegment_obj super; - typedef MoveSegment_obj OBJ_; - MoveSegment_obj(); - Void __construct(Float inX,Float inY); - - public: - static hx::ObjectPtr< MoveSegment_obj > __new(Float inX,Float inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~MoveSegment_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("MoveSegment"); } - - virtual int getType( ); - -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_MoveSegment */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/Path.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/Path.h deleted file mode 100644 index dc9ca51..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/Path.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef INCLUDED_format_svg_Path -#define INCLUDED_format_svg_Path - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,svg,FillType) -HX_DECLARE_CLASS2(format,svg,Path) -HX_DECLARE_CLASS2(format,svg,PathSegment) -HX_DECLARE_CLASS2(neash,display,CapsStyle) -HX_DECLARE_CLASS2(neash,display,JointStyle) -HX_DECLARE_CLASS2(neash,geom,Matrix) -namespace format{ -namespace svg{ - - -class Path_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Path_obj OBJ_; - Path_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Path_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Path_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Path"); } - - Array< ::format::svg::PathSegment > segments; /* REM */ - Float miter_limit; /* REM */ - ::neash::display::JointStyle joint_style; /* REM */ - ::neash::display::CapsStyle stroke_caps; /* REM */ - Float stroke_width; /* REM */ - Dynamic stroke_colour; /* REM */ - Float stroke_alpha; /* REM */ - Float fill_alpha; /* REM */ - ::format::svg::FillType fill; /* REM */ - Float font_size; /* REM */ - ::String name; /* REM */ - ::neash::geom::Matrix matrix; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_Path */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/PathParser.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/PathParser.h deleted file mode 100644 index dcc98d1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/PathParser.h +++ /dev/null @@ -1,90 +0,0 @@ -#ifndef INCLUDED_format_svg_PathParser -#define INCLUDED_format_svg_PathParser - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,svg,PathParser) -HX_DECLARE_CLASS2(format,svg,PathSegment) -namespace format{ -namespace svg{ - - -class PathParser_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef PathParser_obj OBJ_; - PathParser_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< PathParser_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~PathParser_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("PathParser"); } - - virtual ::format::svg::PathSegment createCommand( int code,Array< Float > a); - Dynamic createCommand_dyn(); - - virtual Float prevCY( ); - Dynamic prevCY_dyn(); - - virtual Float prevCX( ); - Dynamic prevCX_dyn(); - - virtual Float prevY( ); - Dynamic prevY_dyn(); - - virtual Float prevX( ); - Dynamic prevX_dyn(); - - virtual int commandArgs( int inCode); - Dynamic commandArgs_dyn(); - - virtual Array< ::format::svg::PathSegment > parse( ::String pathToParse,bool inConvertCubics); - Dynamic parse_dyn(); - - ::format::svg::PathSegment prev; /* REM */ - Float lastMoveY; /* REM */ - Float lastMoveX; /* REM */ - static Array< int > sCommandArgs; /* REM */ - static Dynamic MOVE; /* REM */ - static Dynamic MOVER; /* REM */ - static Dynamic LINE; /* REM */ - static Dynamic LINER; /* REM */ - static Dynamic HLINE; /* REM */ - static Dynamic HLINER; /* REM */ - static Dynamic VLINE; /* REM */ - static Dynamic VLINER; /* REM */ - static Dynamic CUBIC; /* REM */ - static Dynamic CUBICR; /* REM */ - static Dynamic SCUBIC; /* REM */ - static Dynamic SCUBICR; /* REM */ - static Dynamic QUAD; /* REM */ - static Dynamic QUADR; /* REM */ - static Dynamic SQUAD; /* REM */ - static Dynamic SQUADR; /* REM */ - static Dynamic ARC; /* REM */ - static Dynamic ARCR; /* REM */ - static Dynamic CLOSE; /* REM */ - static Dynamic CLOSER; /* REM */ - static int UNKNOWN; /* REM */ - static int SEPARATOR; /* REM */ - static int FLOAT; /* REM */ - static int FLOAT_SIGN; /* REM */ - static int FLOAT_DOT; /* REM */ - static int FLOAT_EXP; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_PathParser */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/PathSegment.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/PathSegment.h deleted file mode 100644 index 7b452fb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/PathSegment.h +++ /dev/null @@ -1,65 +0,0 @@ -#ifndef INCLUDED_format_svg_PathSegment -#define INCLUDED_format_svg_PathSegment - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,svg,PathSegment) -HX_DECLARE_CLASS2(format,svg,RenderContext) -namespace format{ -namespace svg{ - - -class PathSegment_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef PathSegment_obj OBJ_; - PathSegment_obj(); - Void __construct(Float inX,Float inY); - - public: - static hx::ObjectPtr< PathSegment_obj > __new(Float inX,Float inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~PathSegment_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("PathSegment"); } - - virtual Void toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext); - Dynamic toGfx_dyn(); - - virtual Float prevCY( ); - Dynamic prevCY_dyn(); - - virtual Float prevCX( ); - Dynamic prevCX_dyn(); - - virtual Float prevY( ); - Dynamic prevY_dyn(); - - virtual Float prevX( ); - Dynamic prevX_dyn(); - - virtual int getType( ); - Dynamic getType_dyn(); - - Float y; /* REM */ - Float x; /* REM */ - static int MOVE; /* REM */ - static int DRAW; /* REM */ - static int CURVE; /* REM */ - static int CUBIC; /* REM */ - static int ARC; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_PathSegment */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/QuadraticSegment.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/QuadraticSegment.h deleted file mode 100644 index 4ce80de..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/QuadraticSegment.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef INCLUDED_format_svg_QuadraticSegment -#define INCLUDED_format_svg_QuadraticSegment - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,svg,PathSegment) -HX_DECLARE_CLASS2(format,svg,QuadraticSegment) -HX_DECLARE_CLASS2(format,svg,RenderContext) -namespace format{ -namespace svg{ - - -class QuadraticSegment_obj : public ::format::svg::PathSegment_obj{ - public: - typedef ::format::svg::PathSegment_obj super; - typedef QuadraticSegment_obj OBJ_; - QuadraticSegment_obj(); - Void __construct(Float inCX,Float inCY,Float inX,Float inY); - - public: - static hx::ObjectPtr< QuadraticSegment_obj > __new(Float inCX,Float inCY,Float inX,Float inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~QuadraticSegment_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("QuadraticSegment"); } - - virtual int getType( ); - - virtual Void toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext); - - virtual Float prevCY( ); - - virtual Float prevCX( ); - - Float cy; /* REM */ - Float cx; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_QuadraticSegment */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/RenderContext.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/RenderContext.h deleted file mode 100644 index 7fe5224..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/RenderContext.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef INCLUDED_format_svg_RenderContext -#define INCLUDED_format_svg_RenderContext - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,svg,RenderContext) -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace format{ -namespace svg{ - - -class RenderContext_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef RenderContext_obj OBJ_; - RenderContext_obj(); - Void __construct(::neash::geom::Matrix inMatrix,::neash::geom::Rectangle inRect,Dynamic inW,Dynamic inH); - - public: - static hx::ObjectPtr< RenderContext_obj > __new(::neash::geom::Matrix inMatrix,::neash::geom::Rectangle inRect,Dynamic inW,Dynamic inH); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~RenderContext_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("RenderContext"); } - - Float lastY; /* REM */ - Float lastX; /* REM */ - Float firstY; /* REM */ - Float firstX; /* REM */ - Float rectH; /* REM */ - Float rectW; /* REM */ - ::neash::geom::Rectangle rect; /* REM */ - ::neash::geom::Matrix matrix; /* REM */ - virtual Void setLast( Float inX,Float inY); - Dynamic setLast_dyn(); - - virtual Float transY( Float inX,Float inY); - Dynamic transY_dyn(); - - virtual Float transX( Float inX,Float inY); - Dynamic transX_dyn(); - -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_RenderContext */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/SVGData.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/SVGData.h deleted file mode 100644 index 3e96772..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/SVGData.h +++ /dev/null @@ -1,105 +0,0 @@ -#ifndef INCLUDED_format_svg_SVGData -#define INCLUDED_format_svg_SVGData - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(EReg) -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS2(format,svg,FillType) -HX_DECLARE_CLASS2(format,svg,Group) -HX_DECLARE_CLASS2(format,svg,Path) -HX_DECLARE_CLASS2(format,svg,PathParser) -HX_DECLARE_CLASS2(format,svg,SVGData) -HX_DECLARE_CLASS2(format,svg,Text) -HX_DECLARE_CLASS2(neash,display,GradientType) -HX_DECLARE_CLASS2(neash,geom,Matrix) -namespace format{ -namespace svg{ - - -class SVGData_obj : public ::format::svg::Group_obj{ - public: - typedef ::format::svg::Group_obj super; - typedef SVGData_obj OBJ_; - SVGData_obj(); - Void __construct(::Xml inXML,hx::Null< bool > __o_inConvertCubics); - - public: - static hx::ObjectPtr< SVGData_obj > __new(::Xml inXML,hx::Null< bool > __o_inConvertCubics); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SVGData_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SVGData"); } - - virtual ::format::svg::Text loadText( ::Xml inText,::neash::geom::Matrix matrix,::Hash inStyles); - Dynamic loadText_dyn(); - - virtual ::format::svg::Path loadPath( ::Xml inPath,::neash::geom::Matrix matrix,::Hash inStyles,bool inIsRect,bool inIsEllipse); - Dynamic loadPath_dyn(); - - virtual ::format::svg::Group loadGroup( ::format::svg::Group g,::Xml inG,::neash::geom::Matrix matrix,::Hash inStyles); - Dynamic loadGroup_dyn(); - - virtual Void loadGradient( ::Xml inGrad,::neash::display::GradientType inType,bool inCrossLink); - Dynamic loadGradient_dyn(); - - virtual Void loadDefs( ::Xml inXML); - Dynamic loadDefs_dyn(); - - virtual ::Hash getStyles( ::Xml inNode,::Hash inPrevStyles); - Dynamic getStyles_dyn(); - - virtual ::String getStyle( ::String inKey,::Xml inNode,::Hash inStyles,::String inDefault); - Dynamic getStyle_dyn(); - - virtual Dynamic getStrokeStyle( ::String inKey,::Xml inNode,::Hash inStyles,Dynamic inDefault); - Dynamic getStrokeStyle_dyn(); - - virtual Float getFloatStyle( ::String inKey,::Xml inNode,::Hash inStyles,Float inDefault); - Dynamic getFloatStyle_dyn(); - - virtual Float getFloat( ::Xml inXML,::String inName,hx::Null< Float > inDef); - Dynamic getFloat_dyn(); - - virtual ::format::svg::FillType getFillStyle( ::String inKey,::Xml inNode,::Hash inStyles); - Dynamic getFillStyle_dyn(); - - virtual int getColorStyle( ::String inKey,::Xml inNode,::Hash inStyles,int inDefault); - Dynamic getColorStyle_dyn(); - - virtual Void dumpGroup( ::format::svg::Group g,::String indent); - Dynamic dumpGroup_dyn(); - - virtual Float applyTransform( ::neash::geom::Matrix ioMatrix,::String inTrans); - Dynamic applyTransform_dyn(); - - ::format::svg::PathParser mPathParser; /* REM */ - ::Hash mGrads; /* REM */ - bool mConvertCubics; /* REM */ - Float width; /* REM */ - Float height; /* REM */ - static Float SIN45; /* REM */ - static Float TAN22; /* REM */ - static ::EReg mStyleSplit; /* REM */ - static ::EReg mStyleValue; /* REM */ - static ::EReg mTranslateMatch; /* REM */ - static ::EReg mScaleMatch; /* REM */ - static ::EReg mMatrixMatch; /* REM */ - static ::EReg mURLMatch; /* REM */ - static ::format::svg::FillType defaultFill; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_SVGData */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/SVGRenderer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/SVGRenderer.h deleted file mode 100644 index 5ae2d3f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/SVGRenderer.h +++ /dev/null @@ -1,124 +0,0 @@ -#ifndef INCLUDED_format_svg_SVGRenderer -#define INCLUDED_format_svg_SVGRenderer - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(EReg) -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,GfxBytes) -HX_DECLARE_CLASS2(format,svg,Group) -HX_DECLARE_CLASS2(format,svg,Path) -HX_DECLARE_CLASS2(format,svg,SVGData) -HX_DECLARE_CLASS2(format,svg,SVGRenderer) -HX_DECLARE_CLASS2(format,svg,Text) -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,Graphics) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Shape) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace format{ -namespace svg{ - - -class SVGRenderer_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef SVGRenderer_obj OBJ_; - SVGRenderer_obj(); - Void __construct(::format::svg::SVGData inSvg,::String inLayer); - - public: - static hx::ObjectPtr< SVGRenderer_obj > __new(::format::svg::SVGData inSvg,::String inLayer); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SVGRenderer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SVGRenderer"); } - - virtual ::neash::display::BitmapData renderBitmap( ::neash::geom::Rectangle inRect,hx::Null< Float > inScale); - Dynamic renderBitmap_dyn(); - - virtual ::neash::display::Shape namedShape( ::String inName); - Dynamic namedShape_dyn(); - - virtual ::neash::display::Shape createShape( ::neash::geom::Matrix inMatrix,Dynamic inFilter,::neash::geom::Rectangle inScale9); - Dynamic createShape_dyn(); - - virtual Void renderSprite( ::neash::display::Sprite inObj,::neash::geom::Matrix inMatrix,Dynamic inFilter,::neash::geom::Rectangle inScale9); - Dynamic renderSprite_dyn(); - - virtual Void renderObject( ::neash::display::DisplayObject inObj,::neash::display::Graphics inGfx,::neash::geom::Matrix inMatrix,Dynamic inFilter,::neash::geom::Rectangle inScale9); - Dynamic renderObject_dyn(); - - virtual ::neash::geom::Rectangle getMatchingRect( ::EReg inMatch); - Dynamic getMatchingRect_dyn(); - - virtual ::format::svg::Text findText( Dynamic inFilter); - Dynamic findText_dyn(); - - virtual ::neash::geom::Rectangle getExtent( ::neash::geom::Matrix inMatrix,Dynamic inFilter,Dynamic inIgnoreDot); - Dynamic getExtent_dyn(); - - virtual Void renderRect0( ::neash::display::Graphics inGfx,Dynamic inFilter,::neash::geom::Rectangle scaleRect,::neash::geom::Rectangle inBounds,::neash::geom::Rectangle inRect); - Dynamic renderRect0_dyn(); - - virtual Void renderRect( ::neash::display::Graphics inGfx,Dynamic inFilter,::neash::geom::Rectangle scaleRect,::neash::geom::Rectangle inBounds,::neash::geom::Rectangle inRect); - Dynamic renderRect_dyn(); - - virtual Void render( ::neash::display::Graphics inGfx,::neash::geom::Matrix inMatrix,Dynamic inFilter,::neash::geom::Rectangle inScaleRect,Dynamic inScaleW,Dynamic inScaleH); - Dynamic render_dyn(); - - virtual Void iterateGroup( ::format::svg::Group inGroup,bool inIgnoreDot); - Dynamic iterateGroup_dyn(); - - virtual Void iteratePath( ::format::svg::Path inPath); - Dynamic iteratePath_dyn(); - - virtual Void iterateText( ::format::svg::Text inText); - Dynamic iterateText_dyn(); - - virtual bool hasGroup( ::String inName); - Dynamic hasGroup_dyn(); - - virtual Dynamic iterate( Dynamic inGfx,Dynamic inFilter); - Dynamic iterate_dyn(); - - Array< ::String > mGroupPath; /* REM */ - Dynamic mFilter; /* REM */ - Dynamic &mFilter_dyn() { return mFilter;} - Dynamic mScaleH; /* REM */ - Dynamic mScaleW; /* REM */ - ::neash::geom::Rectangle mScaleRect; /* REM */ - ::neash::geom::Matrix mMatrix; /* REM */ - ::format::gfx::Gfx mGfx; /* REM */ - ::format::svg::Group mRoot; /* REM */ - ::format::svg::SVGData mSvg; /* REM */ - Float height; /* REM */ - Float width; /* REM */ - static Array< ::String > toHaxe( ::Xml inXML,Dynamic inFilter); - static Dynamic toHaxe_dyn(); - - static ::format::gfx::GfxBytes toBytes( ::Xml inXML,Dynamic inFilter); - static Dynamic toBytes_dyn(); - -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_SVGRenderer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/Text.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/Text.h deleted file mode 100644 index ad71199..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/format/svg/Text.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_format_svg_Text -#define INCLUDED_format_svg_Text - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,svg,FillType) -HX_DECLARE_CLASS2(format,svg,Text) -HX_DECLARE_CLASS2(neash,geom,Matrix) -namespace format{ -namespace svg{ - - -class Text_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Text_obj OBJ_; - Text_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Text_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Text_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Text"); } - - Float letter_spacing; /* REM */ - Float kerning; /* REM */ - Float font_size; /* REM */ - ::String font_family; /* REM */ - Float stroke_width; /* REM */ - Dynamic stroke_colour; /* REM */ - Float stroke_alpha; /* REM */ - Float fill_alpha; /* REM */ - ::format::svg::FillType fill; /* REM */ - ::String text; /* REM */ - ::neash::geom::Matrix matrix; /* REM */ - Float y; /* REM */ - Float x; /* REM */ - ::String name; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_Text */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/BaseCode.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/BaseCode.h deleted file mode 100644 index a28c77a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/BaseCode.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_haxe_BaseCode -#define INCLUDED_haxe_BaseCode - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(haxe,BaseCode) -HX_DECLARE_CLASS2(haxe,io,Bytes) -namespace haxe{ - - -class BaseCode_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef BaseCode_obj OBJ_; - BaseCode_obj(); - Void __construct(::haxe::io::Bytes base); - - public: - static hx::ObjectPtr< BaseCode_obj > __new(::haxe::io::Bytes base); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BaseCode_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BaseCode"); } - - virtual ::String decodeString( ::String s); - Dynamic decodeString_dyn(); - - virtual ::String encodeString( ::String s); - Dynamic encodeString_dyn(); - - virtual ::haxe::io::Bytes decodeBytes( ::haxe::io::Bytes b); - Dynamic decodeBytes_dyn(); - - virtual Void initTable( ); - Dynamic initTable_dyn(); - - virtual ::haxe::io::Bytes encodeBytes( ::haxe::io::Bytes b); - Dynamic encodeBytes_dyn(); - - Array< int > tbl; /* REM */ - int nbits; /* REM */ - ::haxe::io::Bytes base; /* REM */ - static ::String encode( ::String s,::String base); - static Dynamic encode_dyn(); - - static ::String decode( ::String s,::String base); - static Dynamic decode_dyn(); - -}; - -} // end namespace haxe - -#endif /* INCLUDED_haxe_BaseCode */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/Log.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/Log.h deleted file mode 100644 index 7661670..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/Log.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_haxe_Log -#define INCLUDED_haxe_Log - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(haxe,Log) -namespace haxe{ - - -class Log_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Log_obj OBJ_; - Log_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Log_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Log_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Log"); } - - static Dynamic trace; - static inline Dynamic &trace_dyn() {return trace; } - - static Dynamic clear; - static inline Dynamic &clear_dyn() {return clear; } - -}; - -} // end namespace haxe - -#endif /* INCLUDED_haxe_Log */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/Timer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/Timer.h deleted file mode 100644 index 52fd66b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/Timer.h +++ /dev/null @@ -1,69 +0,0 @@ -#ifndef INCLUDED_haxe_Timer -#define INCLUDED_haxe_Timer - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(haxe,Timer) -namespace haxe{ - - -class Timer_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Timer_obj OBJ_; - Timer_obj(); - Void __construct(Float time); - - public: - static hx::ObjectPtr< Timer_obj > __new(Float time); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Timer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Timer"); } - - virtual Void nmeCheck( Float inTime); - Dynamic nmeCheck_dyn(); - - virtual Void stop( ); - Dynamic stop_dyn(); - - Dynamic run; - inline Dynamic &run_dyn() {return run; } - - bool mRunning; /* REM */ - Float mFireAt; /* REM */ - Float mTime; /* REM */ - static Array< ::haxe::Timer > sRunningTimers; /* REM */ - static Dynamic measure( Dynamic f,Dynamic pos); - static Dynamic measure_dyn(); - - static Float nmeNextWake( Float limit); - static Dynamic nmeNextWake_dyn(); - - static Void nmeCheckTimers( ); - static Dynamic nmeCheckTimers_dyn(); - - static Float GetMS( ); - static Dynamic GetMS_dyn(); - - static ::haxe::Timer delay( Dynamic f,int time); - static Dynamic delay_dyn(); - - static Float stamp( ); - static Dynamic stamp_dyn(); - - static Dynamic nme_time_stamp; /* REM */ - static Dynamic &nme_time_stamp_dyn() { return nme_time_stamp;} -}; - -} // end namespace haxe - -#endif /* INCLUDED_haxe_Timer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/io/Bytes.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/io/Bytes.h deleted file mode 100644 index ba7c7ba..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/io/Bytes.h +++ /dev/null @@ -1,76 +0,0 @@ -#ifndef INCLUDED_haxe_io_Bytes -#define INCLUDED_haxe_io_Bytes - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -namespace haxe{ -namespace io{ - - -class Bytes_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Bytes_obj OBJ_; - Bytes_obj(); - Void __construct(int length,Array< unsigned char > b); - - public: - static hx::ObjectPtr< Bytes_obj > __new(int length,Array< unsigned char > b); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Bytes_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Bytes"); } - - virtual Array< unsigned char > getData( ); - Dynamic getData_dyn(); - - virtual ::String toHex( ); - Dynamic toHex_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual ::String readString( int pos,int len); - Dynamic readString_dyn(); - - virtual int compare( ::haxe::io::Bytes other); - Dynamic compare_dyn(); - - virtual ::haxe::io::Bytes sub( int pos,int len); - Dynamic sub_dyn(); - - virtual Void blit( int pos,::haxe::io::Bytes src,int srcpos,int len); - Dynamic blit_dyn(); - - virtual Void set( int pos,int v); - Dynamic set_dyn(); - - virtual int get( int pos); - Dynamic get_dyn(); - - Array< unsigned char > b; /* REM */ - int length; /* REM */ - static ::haxe::io::Bytes alloc( int length); - static Dynamic alloc_dyn(); - - static ::haxe::io::Bytes ofString( ::String s); - static Dynamic ofString_dyn(); - - static ::haxe::io::Bytes ofData( Array< unsigned char > b); - static Dynamic ofData_dyn(); - -}; - -} // end namespace haxe -} // end namespace io - -#endif /* INCLUDED_haxe_io_Bytes */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/io/BytesBuffer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/io/BytesBuffer.h deleted file mode 100644 index 9362c40..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/io/BytesBuffer.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef INCLUDED_haxe_io_BytesBuffer -#define INCLUDED_haxe_io_BytesBuffer - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,BytesBuffer) -namespace haxe{ -namespace io{ - - -class BytesBuffer_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef BytesBuffer_obj OBJ_; - BytesBuffer_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< BytesBuffer_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BytesBuffer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BytesBuffer"); } - - virtual ::haxe::io::Bytes getBytes( ); - Dynamic getBytes_dyn(); - - virtual Void addBytes( ::haxe::io::Bytes src,int pos,int len); - Dynamic addBytes_dyn(); - - virtual Void add( ::haxe::io::Bytes src); - Dynamic add_dyn(); - - virtual Void addByte( int byte); - Dynamic addByte_dyn(); - - Array< unsigned char > b; /* REM */ -}; - -} // end namespace haxe -} // end namespace io - -#endif /* INCLUDED_haxe_io_BytesBuffer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/io/Eof.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/io/Eof.h deleted file mode 100644 index 2971b80..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/io/Eof.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_haxe_io_Eof -#define INCLUDED_haxe_io_Eof - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Eof) -namespace haxe{ -namespace io{ - - -class Eof_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Eof_obj OBJ_; - Eof_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Eof_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Eof_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Eof"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - -}; - -} // end namespace haxe -} // end namespace io - -#endif /* INCLUDED_haxe_io_Eof */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/io/Error.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/io/Error.h deleted file mode 100644 index 933f9e6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/io/Error.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_haxe_io_Error -#define INCLUDED_haxe_io_Error - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Error) -namespace haxe{ -namespace io{ - - -class Error_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef Error_obj OBJ_; - - public: - Error_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("haxe.io.Error"); } - ::String __ToString() const { return HX_CSTRING("Error.") + tag; } - - static ::haxe::io::Error Blocked; - static inline ::haxe::io::Error Blocked_dyn() { return Blocked; } - static ::haxe::io::Error Custom(Dynamic e); - static Dynamic Custom_dyn(); - static ::haxe::io::Error OutsideBounds; - static inline ::haxe::io::Error OutsideBounds_dyn() { return OutsideBounds; } - static ::haxe::io::Error Overflow; - static inline ::haxe::io::Error Overflow_dyn() { return Overflow; } -}; - -} // end namespace haxe -} // end namespace io - -#endif /* INCLUDED_haxe_io_Error */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/io/Input.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/io/Input.h deleted file mode 100644 index 4cfd2a4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/io/Input.h +++ /dev/null @@ -1,107 +0,0 @@ -#ifndef INCLUDED_haxe_io_Input -#define INCLUDED_haxe_io_Input - -#ifndef HXCPP_H -#include -#endif - -#ifndef INCLUDED_cpp_CppInt32__ -#include -#endif -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Input) -namespace haxe{ -namespace io{ - - -class Input_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Input_obj OBJ_; - Input_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Input_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Input_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Input"); } - - virtual ::String readString( int len); - Dynamic readString_dyn(); - - virtual ::cpp::CppInt32__ readInt32( ); - Dynamic readInt32_dyn(); - - virtual int readUInt30( ); - Dynamic readUInt30_dyn(); - - virtual int readInt31( ); - Dynamic readInt31_dyn(); - - virtual int readUInt24( ); - Dynamic readUInt24_dyn(); - - virtual int readInt24( ); - Dynamic readInt24_dyn(); - - virtual int readUInt16( ); - Dynamic readUInt16_dyn(); - - virtual int readInt16( ); - Dynamic readInt16_dyn(); - - virtual int readInt8( ); - Dynamic readInt8_dyn(); - - virtual Float readDouble( ); - Dynamic readDouble_dyn(); - - virtual Float readFloat( ); - Dynamic readFloat_dyn(); - - virtual ::String readLine( ); - Dynamic readLine_dyn(); - - virtual ::String readUntil( int end); - Dynamic readUntil_dyn(); - - virtual ::haxe::io::Bytes read( int nbytes); - Dynamic read_dyn(); - - virtual Void readFullBytes( ::haxe::io::Bytes s,int pos,int len); - Dynamic readFullBytes_dyn(); - - virtual ::haxe::io::Bytes readAll( Dynamic bufsize); - Dynamic readAll_dyn(); - - virtual bool setEndian( bool b); - Dynamic setEndian_dyn(); - - virtual Void close( ); - Dynamic close_dyn(); - - virtual int readBytes( ::haxe::io::Bytes s,int pos,int len); - Dynamic readBytes_dyn(); - - virtual int readByte( ); - Dynamic readByte_dyn(); - - bool bigEndian; /* REM */ - static Dynamic _float_of_bytes; /* REM */ - static Dynamic &_float_of_bytes_dyn() { return _float_of_bytes;} - static Dynamic _double_of_bytes; /* REM */ - static Dynamic &_double_of_bytes_dyn() { return _double_of_bytes;} -}; - -} // end namespace haxe -} // end namespace io - -#endif /* INCLUDED_haxe_io_Input */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/io/Output.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/io/Output.h deleted file mode 100644 index ca20052..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/io/Output.h +++ /dev/null @@ -1,109 +0,0 @@ -#ifndef INCLUDED_haxe_io_Output -#define INCLUDED_haxe_io_Output - -#ifndef HXCPP_H -#include -#endif - -#ifndef INCLUDED_cpp_CppInt32__ -#include -#endif -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Input) -HX_DECLARE_CLASS2(haxe,io,Output) -namespace haxe{ -namespace io{ - - -class Output_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Output_obj OBJ_; - Output_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Output_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Output_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Output"); } - - virtual Void writeString( ::String s); - Dynamic writeString_dyn(); - - virtual Void writeInput( ::haxe::io::Input i,Dynamic bufsize); - Dynamic writeInput_dyn(); - - virtual Void prepare( int nbytes); - Dynamic prepare_dyn(); - - virtual Void writeInt32( ::cpp::CppInt32__ x); - Dynamic writeInt32_dyn(); - - virtual Void writeUInt30( int x); - Dynamic writeUInt30_dyn(); - - virtual Void writeInt31( int x); - Dynamic writeInt31_dyn(); - - virtual Void writeUInt24( int x); - Dynamic writeUInt24_dyn(); - - virtual Void writeInt24( int x); - Dynamic writeInt24_dyn(); - - virtual Void writeUInt16( int x); - Dynamic writeUInt16_dyn(); - - virtual Void writeInt16( int x); - Dynamic writeInt16_dyn(); - - virtual Void writeInt8( int x); - Dynamic writeInt8_dyn(); - - virtual Void writeDouble( Float x); - Dynamic writeDouble_dyn(); - - virtual Void writeFloat( Float x); - Dynamic writeFloat_dyn(); - - virtual Void writeFullBytes( ::haxe::io::Bytes s,int pos,int len); - Dynamic writeFullBytes_dyn(); - - virtual Void write( ::haxe::io::Bytes s); - Dynamic write_dyn(); - - virtual bool setEndian( bool b); - Dynamic setEndian_dyn(); - - virtual Void close( ); - Dynamic close_dyn(); - - virtual Void flush( ); - Dynamic flush_dyn(); - - virtual int writeBytes( ::haxe::io::Bytes s,int pos,int len); - Dynamic writeBytes_dyn(); - - virtual Void writeByte( int c); - Dynamic writeByte_dyn(); - - bool bigEndian; /* REM */ - static Float LN2; /* REM */ - static Dynamic _float_bytes; /* REM */ - static Dynamic &_float_bytes_dyn() { return _float_bytes;} - static Dynamic _double_bytes; /* REM */ - static Dynamic &_double_bytes_dyn() { return _double_bytes;} -}; - -} // end namespace haxe -} // end namespace io - -#endif /* INCLUDED_haxe_io_Output */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/xml/Fast.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/xml/Fast.h deleted file mode 100644 index 3b6e5be..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/xml/Fast.h +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef INCLUDED_haxe_xml_Fast -#define INCLUDED_haxe_xml_Fast - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS2(haxe,xml,Fast) -HX_DECLARE_CLASS3(haxe,xml,_Fast,AttribAccess) -HX_DECLARE_CLASS3(haxe,xml,_Fast,HasAttribAccess) -HX_DECLARE_CLASS3(haxe,xml,_Fast,HasNodeAccess) -HX_DECLARE_CLASS3(haxe,xml,_Fast,NodeAccess) -HX_DECLARE_CLASS3(haxe,xml,_Fast,NodeListAccess) -namespace haxe{ -namespace xml{ - - -class Fast_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Fast_obj OBJ_; - Fast_obj(); - Void __construct(::Xml x); - - public: - static hx::ObjectPtr< Fast_obj > __new(::Xml x); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Fast_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Fast"); } - - virtual Dynamic getElements( ); - Dynamic getElements_dyn(); - - virtual ::String getInnerHTML( ); - Dynamic getInnerHTML_dyn(); - - virtual ::String getInnerData( ); - Dynamic getInnerData_dyn(); - - virtual ::String getName( ); - Dynamic getName_dyn(); - - Dynamic elements; /* REM */ - ::haxe::xml::_Fast::HasNodeAccess hasNode; /* REM */ - ::haxe::xml::_Fast::HasAttribAccess has; /* REM */ - ::haxe::xml::_Fast::AttribAccess att; /* REM */ - ::haxe::xml::_Fast::NodeListAccess nodes; /* REM */ - ::haxe::xml::_Fast::NodeAccess node; /* REM */ - ::String innerHTML; /* REM */ - ::String innerData; /* REM */ - ::String name; /* REM */ - ::Xml x; /* REM */ -}; - -} // end namespace haxe -} // end namespace xml - -#endif /* INCLUDED_haxe_xml_Fast */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/xml/_Fast/AttribAccess.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/xml/_Fast/AttribAccess.h deleted file mode 100644 index 9fb7118..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/xml/_Fast/AttribAccess.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#define INCLUDED_haxe_xml__Fast_AttribAccess - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS3(haxe,xml,_Fast,AttribAccess) -namespace haxe{ -namespace xml{ -namespace _Fast{ - - -class AttribAccess_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef AttribAccess_obj OBJ_; - AttribAccess_obj(); - Void __construct(::Xml x); - - public: - static hx::ObjectPtr< AttribAccess_obj > __new(::Xml x); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~AttribAccess_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("AttribAccess"); } - - virtual ::String resolve( ::String name); - Dynamic resolve_dyn(); - - ::Xml __x; /* REM */ -}; - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast - -#endif /* INCLUDED_haxe_xml__Fast_AttribAccess */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/xml/_Fast/HasAttribAccess.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/xml/_Fast/HasAttribAccess.h deleted file mode 100644 index 0068b20..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/xml/_Fast/HasAttribAccess.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_haxe_xml__Fast_HasAttribAccess -#define INCLUDED_haxe_xml__Fast_HasAttribAccess - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS3(haxe,xml,_Fast,HasAttribAccess) -namespace haxe{ -namespace xml{ -namespace _Fast{ - - -class HasAttribAccess_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef HasAttribAccess_obj OBJ_; - HasAttribAccess_obj(); - Void __construct(::Xml x); - - public: - static hx::ObjectPtr< HasAttribAccess_obj > __new(::Xml x); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~HasAttribAccess_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("HasAttribAccess"); } - - virtual bool resolve( ::String name); - Dynamic resolve_dyn(); - - ::Xml __x; /* REM */ -}; - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast - -#endif /* INCLUDED_haxe_xml__Fast_HasAttribAccess */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/xml/_Fast/HasNodeAccess.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/xml/_Fast/HasNodeAccess.h deleted file mode 100644 index aac5843..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/xml/_Fast/HasNodeAccess.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_haxe_xml__Fast_HasNodeAccess -#define INCLUDED_haxe_xml__Fast_HasNodeAccess - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS3(haxe,xml,_Fast,HasNodeAccess) -namespace haxe{ -namespace xml{ -namespace _Fast{ - - -class HasNodeAccess_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef HasNodeAccess_obj OBJ_; - HasNodeAccess_obj(); - Void __construct(::Xml x); - - public: - static hx::ObjectPtr< HasNodeAccess_obj > __new(::Xml x); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~HasNodeAccess_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("HasNodeAccess"); } - - virtual bool resolve( ::String name); - Dynamic resolve_dyn(); - - ::Xml __x; /* REM */ -}; - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast - -#endif /* INCLUDED_haxe_xml__Fast_HasNodeAccess */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/xml/_Fast/NodeAccess.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/xml/_Fast/NodeAccess.h deleted file mode 100644 index 66ef72c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/xml/_Fast/NodeAccess.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_haxe_xml__Fast_NodeAccess -#define INCLUDED_haxe_xml__Fast_NodeAccess - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS2(haxe,xml,Fast) -HX_DECLARE_CLASS3(haxe,xml,_Fast,NodeAccess) -namespace haxe{ -namespace xml{ -namespace _Fast{ - - -class NodeAccess_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef NodeAccess_obj OBJ_; - NodeAccess_obj(); - Void __construct(::Xml x); - - public: - static hx::ObjectPtr< NodeAccess_obj > __new(::Xml x); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~NodeAccess_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("NodeAccess"); } - - virtual ::haxe::xml::Fast resolve( ::String name); - Dynamic resolve_dyn(); - - ::Xml __x; /* REM */ -}; - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast - -#endif /* INCLUDED_haxe_xml__Fast_NodeAccess */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/xml/_Fast/NodeListAccess.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/xml/_Fast/NodeListAccess.h deleted file mode 100644 index c390e73..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/haxe/xml/_Fast/NodeListAccess.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_haxe_xml__Fast_NodeListAccess -#define INCLUDED_haxe_xml__Fast_NodeListAccess - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(List) -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS3(haxe,xml,_Fast,NodeListAccess) -namespace haxe{ -namespace xml{ -namespace _Fast{ - - -class NodeListAccess_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef NodeListAccess_obj OBJ_; - NodeListAccess_obj(); - Void __construct(::Xml x); - - public: - static hx::ObjectPtr< NodeListAccess_obj > __new(::Xml x); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~NodeListAccess_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("NodeListAccess"); } - - virtual ::List resolve( ::String name); - Dynamic resolve_dyn(); - - ::Xml __x; /* REM */ -}; - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast - -#endif /* INCLUDED_haxe_xml__Fast_NodeListAccess */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/Lib.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/Lib.h deleted file mode 100644 index 2f7ac03..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/Lib.h +++ /dev/null @@ -1,122 +0,0 @@ -#ifndef INCLUDED_neash_Lib -#define INCLUDED_neash_Lib - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(neash,Lib) -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,ManagedStage) -HX_DECLARE_CLASS2(neash,display,MovieClip) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,display,Stage) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,net,URLRequest) -namespace neash{ - - -class Lib_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Lib_obj OBJ_; - Lib_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Lib_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Lib_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Lib"); } - - static int FULLSCREEN; /* REM */ - static int BORDERLESS; /* REM */ - static int RESIZABLE; /* REM */ - static int HARDWARE; /* REM */ - static int VSYNC; /* REM */ - static int HW_AA; /* REM */ - static int HW_AA_HIRES; /* REM */ - static ::neash::display::MovieClip current; /* REM */ - static int initHeight; /* REM */ - static int initWidth; /* REM */ - static ::neash::display::Stage stage; /* REM */ - static ::neash::display::MovieClip nmeCurrent; /* REM */ - static Dynamic nmeMainFrame; /* REM */ - static ::neash::display::Stage nmeStage; /* REM */ - static bool sIsInit; /* REM */ - static ::String company; /* REM */ - static ::String version; /* REM */ - static ::String packageName; /* REM */ - static ::String file; /* REM */ - static Void close( ); - static Dynamic close_dyn(); - - static Void create( Dynamic inOnLoaded,int inWidth,int inHeight,hx::Null< Float > inFrameRate,hx::Null< int > inColour,hx::Null< int > inFlags,::String inTitle,::neash::display::BitmapData inIcon); - static Dynamic create_dyn(); - - static ::neash::display::ManagedStage createManagedStage( int inWidth,int inHeight); - static Dynamic createManagedStage_dyn(); - - static Void exit( ); - static Dynamic exit_dyn(); - - static Void forceClose( ); - static Dynamic forceClose_dyn(); - - static int getTimer( ); - static Dynamic getTimer_dyn(); - - static Void getURL( ::neash::net::URLRequest url,::String target); - static Dynamic getURL_dyn(); - - static Void nmeSetCurrentStage( ::neash::display::Stage inStage); - static Dynamic nmeSetCurrentStage_dyn(); - - static Void pause( ); - static Dynamic pause_dyn(); - - static Void postUICallback( Dynamic inCallback); - static Dynamic postUICallback_dyn(); - - static Void resume( ); - static Dynamic resume_dyn(); - - static Void setIcon( ::String path); - static Dynamic setIcon_dyn(); - - static Void setPackage( ::String inCompany,::String inFile,::String inPack,::String inVersion); - static Dynamic setPackage_dyn(); - - static ::neash::display::MovieClip nmeGetCurrent( ); - static Dynamic nmeGetCurrent_dyn(); - - static ::neash::display::Stage nmeGetStage( ); - static Dynamic nmeGetStage_dyn(); - - static Dynamic nme_set_package; /* REM */ - static Dynamic &nme_set_package_dyn() { return nme_set_package;} - static Dynamic nme_get_frame_stage; /* REM */ - static Dynamic &nme_get_frame_stage_dyn() { return nme_get_frame_stage;} - static Dynamic nme_get_url; /* REM */ - static Dynamic &nme_get_url_dyn() { return nme_get_url;} - static Dynamic nme_pause_animation; /* REM */ - static Dynamic &nme_pause_animation_dyn() { return nme_pause_animation;} - static Dynamic nme_resume_animation; /* REM */ - static Dynamic &nme_resume_animation_dyn() { return nme_resume_animation;} -}; - -} // end namespace neash - -#endif /* INCLUDED_neash_Lib */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/Loader.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/Loader.h deleted file mode 100644 index c3a4df4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/Loader.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_neash_Loader -#define INCLUDED_neash_Loader - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(neash,Loader) -namespace neash{ - - -class Loader_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Loader_obj OBJ_; - Loader_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Loader_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Loader_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Loader"); } - - static bool moduleInit; /* REM */ - static ::String moduleName; /* REM */ - static Dynamic load( ::String func,int args); - static Dynamic load_dyn(); - -}; - -} // end namespace neash - -#endif /* INCLUDED_neash_Loader */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/Bitmap.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/Bitmap.h deleted file mode 100644 index 698ce51..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/Bitmap.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef INCLUDED_neash_display_Bitmap -#define INCLUDED_neash_display_Bitmap - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,Bitmap) -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,Graphics) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,PixelSnapping) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace display{ - - -class Bitmap_obj : public ::neash::display::DisplayObject_obj{ - public: - typedef ::neash::display::DisplayObject_obj super; - typedef Bitmap_obj OBJ_; - Bitmap_obj(); - Void __construct(::neash::display::BitmapData bitmapData,::neash::display::PixelSnapping pixelSnapping,hx::Null< bool > __o_smoothing); - - public: - static hx::ObjectPtr< Bitmap_obj > __new(::neash::display::BitmapData bitmapData,::neash::display::PixelSnapping pixelSnapping,hx::Null< bool > __o_smoothing); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Bitmap_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Bitmap"); } - - virtual bool nmeSetSmoothing( bool inSmooth); - Dynamic nmeSetSmoothing_dyn(); - - virtual ::neash::display::BitmapData nmeSetBitmapData( ::neash::display::BitmapData inBitmapData); - Dynamic nmeSetBitmapData_dyn(); - - virtual Void nmeRebuild( ); - Dynamic nmeRebuild_dyn(); - - ::neash::display::Graphics mGraphics; /* REM */ - bool smoothing; /* REM */ - ::neash::display::BitmapData bitmapData; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_Bitmap */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/BitmapData.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/BitmapData.h deleted file mode 100644 index 305cfe7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/BitmapData.h +++ /dev/null @@ -1,261 +0,0 @@ -#ifndef INCLUDED_neash_display_BitmapData -#define INCLUDED_neash_display_BitmapData - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,filters,BitmapFilter) -HX_DECLARE_CLASS2(neash,geom,ColorTransform) -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Point) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace display{ - - -class BitmapData_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef BitmapData_obj OBJ_; - BitmapData_obj(); - Void __construct(int inWidth,int inHeight,hx::Null< bool > __o_inTransparent,Dynamic inFillRGBA); - - public: - static hx::ObjectPtr< BitmapData_obj > __new(int inWidth,int inHeight,hx::Null< bool > __o_inTransparent,Dynamic inFillRGBA); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BitmapData_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::neash::display::IBitmapDrawable_obj *() - { return new ::neash::display::IBitmapDrawable_delegate_< BitmapData_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("BitmapData"); } - - virtual bool nmeGetTransparent( ); - Dynamic nmeGetTransparent_dyn(); - - virtual int nmeGetHeight( ); - Dynamic nmeGetHeight_dyn(); - - virtual int nmeGetWidth( ); - Dynamic nmeGetWidth_dyn(); - - virtual ::neash::geom::Rectangle nmeGetRect( ); - Dynamic nmeGetRect_dyn(); - - virtual Void noise( int randomSeed,hx::Null< int > low,hx::Null< int > high,hx::Null< int > channelOptions,hx::Null< bool > grayScale); - Dynamic noise_dyn(); - - virtual Void setFormat( int format); - Dynamic setFormat_dyn(); - - virtual Void unlock( ::neash::geom::Rectangle changeRect); - Dynamic unlock_dyn(); - - virtual Void setVector( ::neash::geom::Rectangle rect,Array< int > inPixels); - Dynamic setVector_dyn(); - - virtual Void setPixels( ::neash::geom::Rectangle rect,::neash::utils::ByteArray pixels); - Dynamic setPixels_dyn(); - - virtual Void setPixel32( int inX,int inY,int inColour); - Dynamic setPixel32_dyn(); - - virtual Void setPixel( int inX,int inY,int inColour); - Dynamic setPixel_dyn(); - - virtual Void setFlags( int inFlags); - Dynamic setFlags_dyn(); - - virtual Void scroll( int inDX,int inDY); - Dynamic scroll_dyn(); - - virtual Void perlinNoise( Float baseX,Float baseY,int numOctaves,int randomSeed,bool stitch,bool fractalNoise,hx::Null< int > channelOptions,hx::Null< bool > grayScale,Array< ::neash::geom::Point > offsets); - Dynamic perlinNoise_dyn(); - - virtual Void nmeDrawToSurface( Dynamic inSurface,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,bool smoothing); - Dynamic nmeDrawToSurface_dyn(); - - virtual Void lock( ); - Dynamic lock_dyn(); - - virtual Array< int > getVector( ::neash::geom::Rectangle rect); - Dynamic getVector_dyn(); - - virtual ::neash::utils::ByteArray getPixels( ::neash::geom::Rectangle rect); - Dynamic getPixels_dyn(); - - virtual int getPixel32( int x,int y); - Dynamic getPixel32_dyn(); - - virtual int getPixel( int x,int y); - Dynamic getPixel_dyn(); - - virtual ::neash::geom::Rectangle getColorBoundsRect( int mask,int color,hx::Null< bool > findColor); - Dynamic getColorBoundsRect_dyn(); - - virtual ::neash::geom::Rectangle generateFilterRect( ::neash::geom::Rectangle sourceRect,::neash::filters::BitmapFilter filter); - Dynamic generateFilterRect_dyn(); - - virtual Void fillRectEx( ::neash::geom::Rectangle rect,int inColour,hx::Null< int > inAlpha); - Dynamic fillRectEx_dyn(); - - virtual Void fillRect( ::neash::geom::Rectangle rect,int inColour); - Dynamic fillRect_dyn(); - - virtual ::neash::utils::ByteArray encode( ::String inFormat,hx::Null< Float > inQuality); - Dynamic encode_dyn(); - - virtual Void dumpBits( ); - Dynamic dumpBits_dyn(); - - virtual Void draw( ::neash::display::IBitmapDrawable source,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,hx::Null< bool > smoothing); - Dynamic draw_dyn(); - - virtual Void dispose( ); - Dynamic dispose_dyn(); - - virtual Void destroyHardwareSurface( ); - Dynamic destroyHardwareSurface_dyn(); - - virtual Void createHardwareSurface( ); - Dynamic createHardwareSurface_dyn(); - - virtual Void copyPixels( ::neash::display::BitmapData sourceBitmapData,::neash::geom::Rectangle sourceRect,::neash::geom::Point destPoint,::neash::display::BitmapData alphaBitmapData,::neash::geom::Point alphaPoint,hx::Null< bool > mergeAlpha); - Dynamic copyPixels_dyn(); - - virtual Void copyChannel( ::neash::display::BitmapData sourceBitmapData,::neash::geom::Rectangle sourceRect,::neash::geom::Point destPoint,int inSourceChannel,int inDestChannel); - Dynamic copyChannel_dyn(); - - virtual Void colorTransform( ::neash::geom::Rectangle rect,::neash::geom::ColorTransform colorTransform); - Dynamic colorTransform_dyn(); - - virtual ::neash::display::BitmapData clone( ); - Dynamic clone_dyn(); - - virtual Void clear( int color); - Dynamic clear_dyn(); - - virtual Void applyFilter( ::neash::display::BitmapData sourceBitmapData,::neash::geom::Rectangle sourceRect,::neash::geom::Point destPoint,::neash::filters::BitmapFilter filter); - Dynamic applyFilter_dyn(); - - Dynamic nmeHandle; /* REM */ - int width; /* REM */ - bool transparent; /* REM */ - ::neash::geom::Rectangle rect; /* REM */ - int height; /* REM */ - static int CLEAR; /* REM */ - static int BLACK; /* REM */ - static int WHITE; /* REM */ - static int RED; /* REM */ - static int GREEN; /* REM */ - static int BLUE; /* REM */ - static ::String PNG; /* REM */ - static ::String JPG; /* REM */ - static int TRANSPARENT; /* REM */ - static int HARDWARE; /* REM */ - static int FORMAT_8888; /* REM */ - static int FORMAT_4444; /* REM */ - static int FORMAT_565; /* REM */ - static int createColor( int inRGB,hx::Null< int > inAlpha); - static Dynamic createColor_dyn(); - - static int extractAlpha( int v); - static Dynamic extractAlpha_dyn(); - - static int extractColor( int v); - static Dynamic extractColor_dyn(); - - static ::neash::display::BitmapData load( ::String inFilename,hx::Null< int > format); - static Dynamic load_dyn(); - - static ::neash::display::BitmapData loadFromBytes( ::neash::utils::ByteArray inBytes,::neash::utils::ByteArray inRawAlpha); - static Dynamic loadFromBytes_dyn(); - - static ::neash::display::BitmapData loadFromHaxeBytes( ::haxe::io::Bytes inBytes,::haxe::io::Bytes inRawAlpha); - static Dynamic loadFromHaxeBytes_dyn(); - - static Dynamic nme_bitmap_data_create; /* REM */ - static Dynamic &nme_bitmap_data_create_dyn() { return nme_bitmap_data_create;} - static Dynamic nme_bitmap_data_load; /* REM */ - static Dynamic &nme_bitmap_data_load_dyn() { return nme_bitmap_data_load;} - static Dynamic nme_bitmap_data_from_bytes; /* REM */ - static Dynamic &nme_bitmap_data_from_bytes_dyn() { return nme_bitmap_data_from_bytes;} - static Dynamic nme_bitmap_data_clear; /* REM */ - static Dynamic &nme_bitmap_data_clear_dyn() { return nme_bitmap_data_clear;} - static Dynamic nme_bitmap_data_clone; /* REM */ - static Dynamic &nme_bitmap_data_clone_dyn() { return nme_bitmap_data_clone;} - static Dynamic nme_bitmap_data_apply_filter; /* REM */ - static Dynamic &nme_bitmap_data_apply_filter_dyn() { return nme_bitmap_data_apply_filter;} - static Dynamic nme_bitmap_data_color_transform; /* REM */ - static Dynamic &nme_bitmap_data_color_transform_dyn() { return nme_bitmap_data_color_transform;} - static Dynamic nme_bitmap_data_copy; /* REM */ - static Dynamic &nme_bitmap_data_copy_dyn() { return nme_bitmap_data_copy;} - static Dynamic nme_bitmap_data_copy_channel; /* REM */ - static Dynamic &nme_bitmap_data_copy_channel_dyn() { return nme_bitmap_data_copy_channel;} - static Dynamic nme_bitmap_data_fill; /* REM */ - static Dynamic &nme_bitmap_data_fill_dyn() { return nme_bitmap_data_fill;} - static Dynamic nme_bitmap_data_get_pixels; /* REM */ - static Dynamic &nme_bitmap_data_get_pixels_dyn() { return nme_bitmap_data_get_pixels;} - static Dynamic nme_bitmap_data_get_pixel; /* REM */ - static Dynamic &nme_bitmap_data_get_pixel_dyn() { return nme_bitmap_data_get_pixel;} - static Dynamic nme_bitmap_data_get_pixel32; /* REM */ - static Dynamic &nme_bitmap_data_get_pixel32_dyn() { return nme_bitmap_data_get_pixel32;} - static Dynamic nme_bitmap_data_get_pixel_rgba; /* REM */ - static Dynamic nme_bitmap_data_get_array; /* REM */ - static Dynamic &nme_bitmap_data_get_array_dyn() { return nme_bitmap_data_get_array;} - static Dynamic nme_bitmap_data_get_color_bounds_rect; /* REM */ - static Dynamic &nme_bitmap_data_get_color_bounds_rect_dyn() { return nme_bitmap_data_get_color_bounds_rect;} - static Dynamic nme_bitmap_data_scroll; /* REM */ - static Dynamic &nme_bitmap_data_scroll_dyn() { return nme_bitmap_data_scroll;} - static Dynamic nme_bitmap_data_set_pixel; /* REM */ - static Dynamic &nme_bitmap_data_set_pixel_dyn() { return nme_bitmap_data_set_pixel;} - static Dynamic nme_bitmap_data_set_pixel32; /* REM */ - static Dynamic &nme_bitmap_data_set_pixel32_dyn() { return nme_bitmap_data_set_pixel32;} - static Dynamic nme_bitmap_data_set_pixel_rgba; /* REM */ - static Dynamic nme_bitmap_data_set_bytes; /* REM */ - static Dynamic &nme_bitmap_data_set_bytes_dyn() { return nme_bitmap_data_set_bytes;} - static Dynamic nme_bitmap_data_set_format; /* REM */ - static Dynamic &nme_bitmap_data_set_format_dyn() { return nme_bitmap_data_set_format;} - static Dynamic nme_bitmap_data_set_array; /* REM */ - static Dynamic &nme_bitmap_data_set_array_dyn() { return nme_bitmap_data_set_array;} - static Dynamic nme_bitmap_data_create_hardware_surface; /* REM */ - static Dynamic &nme_bitmap_data_create_hardware_surface_dyn() { return nme_bitmap_data_create_hardware_surface;} - static Dynamic nme_bitmap_data_destroy_hardware_surface; /* REM */ - static Dynamic &nme_bitmap_data_destroy_hardware_surface_dyn() { return nme_bitmap_data_destroy_hardware_surface;} - static Dynamic nme_bitmap_data_generate_filter_rect; /* REM */ - static Dynamic &nme_bitmap_data_generate_filter_rect_dyn() { return nme_bitmap_data_generate_filter_rect;} - static Dynamic nme_render_surface_to_surface; /* REM */ - static Dynamic &nme_render_surface_to_surface_dyn() { return nme_render_surface_to_surface;} - static Dynamic nme_bitmap_data_height; /* REM */ - static Dynamic &nme_bitmap_data_height_dyn() { return nme_bitmap_data_height;} - static Dynamic nme_bitmap_data_width; /* REM */ - static Dynamic &nme_bitmap_data_width_dyn() { return nme_bitmap_data_width;} - static Dynamic nme_bitmap_data_get_transparent; /* REM */ - static Dynamic &nme_bitmap_data_get_transparent_dyn() { return nme_bitmap_data_get_transparent;} - static Dynamic nme_bitmap_data_set_flags; /* REM */ - static Dynamic &nme_bitmap_data_set_flags_dyn() { return nme_bitmap_data_set_flags;} - static Dynamic nme_bitmap_data_encode; /* REM */ - static Dynamic &nme_bitmap_data_encode_dyn() { return nme_bitmap_data_encode;} - static Dynamic nme_bitmap_data_dump_bits; /* REM */ - static Dynamic &nme_bitmap_data_dump_bits_dyn() { return nme_bitmap_data_dump_bits;} - static Dynamic nme_bitmap_data_noise; /* REM */ - static Dynamic &nme_bitmap_data_noise_dyn() { return nme_bitmap_data_noise;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_BitmapData */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/BitmapDataChannel.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/BitmapDataChannel.h deleted file mode 100644 index 1e38611..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/BitmapDataChannel.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_neash_display_BitmapDataChannel -#define INCLUDED_neash_display_BitmapDataChannel - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,BitmapDataChannel) -namespace neash{ -namespace display{ - - -class BitmapDataChannel_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef BitmapDataChannel_obj OBJ_; - BitmapDataChannel_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< BitmapDataChannel_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BitmapDataChannel_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BitmapDataChannel"); } - - static int ALPHA; /* REM */ - static int BLUE; /* REM */ - static int GREEN; /* REM */ - static int RED; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_BitmapDataChannel */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/BlendMode.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/BlendMode.h deleted file mode 100644 index 664ff80..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/BlendMode.h +++ /dev/null @@ -1,59 +0,0 @@ -#ifndef INCLUDED_neash_display_BlendMode -#define INCLUDED_neash_display_BlendMode - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,BlendMode) -namespace neash{ -namespace display{ - - -class BlendMode_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef BlendMode_obj OBJ_; - - public: - BlendMode_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.BlendMode"); } - ::String __ToString() const { return HX_CSTRING("BlendMode.") + tag; } - - static ::neash::display::BlendMode ADD; - static inline ::neash::display::BlendMode ADD_dyn() { return ADD; } - static ::neash::display::BlendMode ALPHA; - static inline ::neash::display::BlendMode ALPHA_dyn() { return ALPHA; } - static ::neash::display::BlendMode DARKEN; - static inline ::neash::display::BlendMode DARKEN_dyn() { return DARKEN; } - static ::neash::display::BlendMode DIFFERENCE; - static inline ::neash::display::BlendMode DIFFERENCE_dyn() { return DIFFERENCE; } - static ::neash::display::BlendMode ERASE; - static inline ::neash::display::BlendMode ERASE_dyn() { return ERASE; } - static ::neash::display::BlendMode HARDLIGHT; - static inline ::neash::display::BlendMode HARDLIGHT_dyn() { return HARDLIGHT; } - static ::neash::display::BlendMode INVERT; - static inline ::neash::display::BlendMode INVERT_dyn() { return INVERT; } - static ::neash::display::BlendMode LAYER; - static inline ::neash::display::BlendMode LAYER_dyn() { return LAYER; } - static ::neash::display::BlendMode LIGHTEN; - static inline ::neash::display::BlendMode LIGHTEN_dyn() { return LIGHTEN; } - static ::neash::display::BlendMode MULTIPLY; - static inline ::neash::display::BlendMode MULTIPLY_dyn() { return MULTIPLY; } - static ::neash::display::BlendMode NORMAL; - static inline ::neash::display::BlendMode NORMAL_dyn() { return NORMAL; } - static ::neash::display::BlendMode OVERLAY; - static inline ::neash::display::BlendMode OVERLAY_dyn() { return OVERLAY; } - static ::neash::display::BlendMode SCREEN; - static inline ::neash::display::BlendMode SCREEN_dyn() { return SCREEN; } - static ::neash::display::BlendMode SUBTRACT; - static inline ::neash::display::BlendMode SUBTRACT_dyn() { return SUBTRACT; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_BlendMode */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/CapsStyle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/CapsStyle.h deleted file mode 100644 index b269ed3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/CapsStyle.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_display_CapsStyle -#define INCLUDED_neash_display_CapsStyle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,CapsStyle) -namespace neash{ -namespace display{ - - -class CapsStyle_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef CapsStyle_obj OBJ_; - - public: - CapsStyle_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.CapsStyle"); } - ::String __ToString() const { return HX_CSTRING("CapsStyle.") + tag; } - - static ::neash::display::CapsStyle NONE; - static inline ::neash::display::CapsStyle NONE_dyn() { return NONE; } - static ::neash::display::CapsStyle ROUND; - static inline ::neash::display::CapsStyle ROUND_dyn() { return ROUND; } - static ::neash::display::CapsStyle SQUARE; - static inline ::neash::display::CapsStyle SQUARE_dyn() { return SQUARE; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_CapsStyle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/DisplayObject.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/DisplayObject.h deleted file mode 100644 index 7fc8c40..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/DisplayObject.h +++ /dev/null @@ -1,396 +0,0 @@ -#ifndef INCLUDED_neash_display_DisplayObject -#define INCLUDED_neash_display_DisplayObject - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS2(neash,display,BlendMode) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,Graphics) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,PixelSnapping) -HX_DECLARE_CLASS2(neash,display,Stage) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,geom,ColorTransform) -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Point) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -HX_DECLARE_CLASS2(neash,geom,Transform) -namespace neash{ -namespace display{ - - -class DisplayObject_obj : public ::neash::events::EventDispatcher_obj{ - public: - typedef ::neash::events::EventDispatcher_obj super; - typedef DisplayObject_obj OBJ_; - DisplayObject_obj(); - Void __construct(Dynamic inHandle,::String inType); - - public: - static hx::ObjectPtr< DisplayObject_obj > __new(Dynamic inHandle,::String inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~DisplayObject_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::neash::display::IBitmapDrawable_obj *() - { return new ::neash::display::IBitmapDrawable_delegate_< DisplayObject_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("DisplayObject"); } - - virtual Float nmeSetY( Float inVal); - Dynamic nmeSetY_dyn(); - - virtual Float nmeGetY( ); - Dynamic nmeGetY_dyn(); - - virtual Float nmeSetX( Float inVal); - Dynamic nmeSetX_dyn(); - - virtual Float nmeGetX( ); - Dynamic nmeGetX_dyn(); - - virtual Float nmeSetWidth( Float inVal); - Dynamic nmeSetWidth_dyn(); - - virtual Float nmeGetWidth( ); - Dynamic nmeGetWidth_dyn(); - - virtual bool nmeSetVisible( bool inVal); - Dynamic nmeSetVisible_dyn(); - - virtual bool nmeGetVisible( ); - Dynamic nmeGetVisible_dyn(); - - virtual ::neash::geom::Transform nmeSetTransform( ::neash::geom::Transform inTransform); - Dynamic nmeSetTransform_dyn(); - - virtual ::neash::geom::Transform nmeGetTransform( ); - Dynamic nmeGetTransform_dyn(); - - virtual ::neash::display::Stage nmeGetStage( ); - Dynamic nmeGetStage_dyn(); - - virtual ::neash::geom::Rectangle nmeSetScrollRect( ::neash::geom::Rectangle inRect); - Dynamic nmeSetScrollRect_dyn(); - - virtual ::neash::geom::Rectangle nmeGetScrollRect( ); - Dynamic nmeGetScrollRect_dyn(); - - virtual Float nmeSetScaleY( Float inVal); - Dynamic nmeSetScaleY_dyn(); - - virtual Float nmeGetScaleY( ); - Dynamic nmeGetScaleY_dyn(); - - virtual Float nmeSetScaleX( Float inVal); - Dynamic nmeSetScaleX_dyn(); - - virtual Float nmeGetScaleX( ); - Dynamic nmeGetScaleX_dyn(); - - virtual ::neash::geom::Rectangle nmeSetScale9Grid( ::neash::geom::Rectangle inRect); - Dynamic nmeSetScale9Grid_dyn(); - - virtual ::neash::geom::Rectangle nmeGetScale9Grid( ); - Dynamic nmeGetScale9Grid_dyn(); - - virtual Float nmeSetRotation( Float inVal); - Dynamic nmeSetRotation_dyn(); - - virtual Float nmeGetRotation( ); - Dynamic nmeGetRotation_dyn(); - - virtual ::neash::display::DisplayObjectContainer nmeSetParent( ::neash::display::DisplayObjectContainer inParent); - Dynamic nmeSetParent_dyn(); - - virtual ::neash::display::DisplayObjectContainer nmeGetParent( ); - Dynamic nmeGetParent_dyn(); - - virtual ::String nmeSetName( ::String inVal); - Dynamic nmeSetName_dyn(); - - virtual ::String nmeGetName( ); - Dynamic nmeGetName_dyn(); - - virtual Float nmeGetMouseY( ); - Dynamic nmeGetMouseY_dyn(); - - virtual Float nmeGetMouseX( ); - Dynamic nmeGetMouseX_dyn(); - - virtual ::neash::display::DisplayObject nmeSetMask( ::neash::display::DisplayObject inObject); - Dynamic nmeSetMask_dyn(); - - virtual Float nmeSetHeight( Float inVal); - Dynamic nmeSetHeight_dyn(); - - virtual Float nmeGetHeight( ); - Dynamic nmeGetHeight_dyn(); - - virtual ::neash::display::Graphics nmeGetGraphics( ); - Dynamic nmeGetGraphics_dyn(); - - virtual Dynamic nmeSetFilters( Dynamic inFilters); - Dynamic nmeSetFilters_dyn(); - - virtual Dynamic nmeGetFilters( ); - Dynamic nmeGetFilters_dyn(); - - virtual ::neash::display::PixelSnapping nmeSetPixelSnapping( ::neash::display::PixelSnapping inVal); - Dynamic nmeSetPixelSnapping_dyn(); - - virtual ::neash::display::PixelSnapping nmeGetPixelSnapping( ); - Dynamic nmeGetPixelSnapping_dyn(); - - virtual bool nmeSetPedanticBitmapCaching( bool inVal); - Dynamic nmeSetPedanticBitmapCaching_dyn(); - - virtual bool nmeGetPedanticBitmapCaching( ); - Dynamic nmeGetPedanticBitmapCaching_dyn(); - - virtual bool nmeSetCacheAsBitmap( bool inVal); - Dynamic nmeSetCacheAsBitmap_dyn(); - - virtual bool nmeGetCacheAsBitmap( ); - Dynamic nmeGetCacheAsBitmap_dyn(); - - virtual ::neash::display::BlendMode nmeSetBlendMode( ::neash::display::BlendMode inMode); - Dynamic nmeSetBlendMode_dyn(); - - virtual ::neash::display::BlendMode nmeGetBlendMode( ); - Dynamic nmeGetBlendMode_dyn(); - - virtual Dynamic nmeSetBG( Dynamic inBG); - Dynamic nmeSetBG_dyn(); - - virtual Dynamic nmeGetBG( ); - Dynamic nmeGetBG_dyn(); - - virtual Float nmeSetAlpha( Float inAlpha); - Dynamic nmeSetAlpha_dyn(); - - virtual Float nmeGetAlpha( ); - Dynamic nmeGetAlpha_dyn(); - - virtual ::String toString( ); - - virtual Void nmeSetMatrix( ::neash::geom::Matrix inMatrix); - Dynamic nmeSetMatrix_dyn(); - - virtual Void nmeSetColorTransform( ::neash::geom::ColorTransform inTrans); - Dynamic nmeSetColorTransform_dyn(); - - virtual Void nmeOnRemoved( ::neash::display::DisplayObject inObj,bool inWasOnStage); - Dynamic nmeOnRemoved_dyn(); - - virtual Void nmeOnAdded( ::neash::display::DisplayObject inObj,bool inIsOnStage); - Dynamic nmeOnAdded_dyn(); - - virtual ::neash::geom::Rectangle nmeGetPixelBounds( ); - Dynamic nmeGetPixelBounds_dyn(); - - virtual Void nmeGetObjectsUnderPoint( ::neash::geom::Point point,Array< ::neash::display::DisplayObject > result); - Dynamic nmeGetObjectsUnderPoint_dyn(); - - virtual ::neash::geom::Matrix nmeGetMatrix( ); - Dynamic nmeGetMatrix_dyn(); - - virtual Void nmeGetInteractiveObjectStack( Array< ::neash::display::InteractiveObject > outStack); - Dynamic nmeGetInteractiveObjectStack_dyn(); - - virtual ::neash::geom::Matrix nmeGetConcatenatedMatrix( ); - Dynamic nmeGetConcatenatedMatrix_dyn(); - - virtual ::neash::geom::ColorTransform nmeGetConcatenatedColorTransform( ); - Dynamic nmeGetConcatenatedColorTransform_dyn(); - - virtual ::neash::geom::ColorTransform nmeGetColorTransform( ); - Dynamic nmeGetColorTransform_dyn(); - - virtual Void nmeFireEvent( ::neash::events::Event inEvt); - Dynamic nmeFireEvent_dyn(); - - virtual ::neash::display::DisplayObject nmeFindByID( int inID); - Dynamic nmeFindByID_dyn(); - - virtual Void nmeDrawToSurface( Dynamic inSurface,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,bool smoothing); - Dynamic nmeDrawToSurface_dyn(); - - virtual bool nmeDispatchEvent( ::neash::events::Event inEvt); - Dynamic nmeDispatchEvent_dyn(); - - virtual Void nmeBroadcast( ::neash::events::Event inEvt); - Dynamic nmeBroadcast_dyn(); - - virtual ::neash::display::InteractiveObject nmeAsInteractiveObject( ); - Dynamic nmeAsInteractiveObject_dyn(); - - virtual ::neash::geom::Point localToGlobal( ::neash::geom::Point inLocal); - Dynamic localToGlobal_dyn(); - - virtual ::neash::geom::Rectangle getRect( ::neash::display::DisplayObject targetCoordinateSpace); - Dynamic getRect_dyn(); - - virtual ::neash::geom::Rectangle getBounds( ::neash::display::DisplayObject targetCoordinateSpace); - Dynamic getBounds_dyn(); - - virtual bool hitTestPoint( Float x,Float y,hx::Null< bool > shapeFlag); - Dynamic hitTestPoint_dyn(); - - virtual bool hitTestObject( ::neash::display::DisplayObject object); - Dynamic hitTestObject_dyn(); - - virtual ::neash::geom::Point globalToLocal( ::neash::geom::Point inGlobal); - Dynamic globalToLocal_dyn(); - - virtual bool dispatchEvent( ::neash::events::Event event); - - ::neash::geom::Rectangle nmeScrollRect; /* REM */ - ::neash::geom::Rectangle nmeScale9Grid; /* REM */ - ::neash::display::DisplayObjectContainer nmeParent; /* REM */ - int nmeID; /* REM */ - ::neash::display::Graphics nmeGraphicsCache; /* REM */ - Dynamic nmeFilters; /* REM */ - Float y; /* REM */ - Float x; /* REM */ - Float width; /* REM */ - bool visible; /* REM */ - ::neash::geom::Transform transform; /* REM */ - ::neash::display::Stage stage; /* REM */ - ::neash::geom::Rectangle scrollRect; /* REM */ - Float scaleY; /* REM */ - Float scaleX; /* REM */ - ::neash::geom::Rectangle scale9Grid; /* REM */ - Float rotation; /* REM */ - ::neash::display::DisplayObjectContainer parent; /* REM */ - Dynamic opaqueBackground; /* REM */ - Dynamic nmeHandle; /* REM */ - ::String name; /* REM */ - Float mouseY; /* REM */ - Float mouseX; /* REM */ - ::neash::display::DisplayObject mask; /* REM */ - Float height; /* REM */ - ::neash::display::Graphics graphics; /* REM */ - Dynamic filters; /* REM */ - ::neash::display::PixelSnapping pixelSnapping; /* REM */ - bool pedanticBitmapCaching; /* REM */ - bool cacheAsBitmap; /* REM */ - ::neash::display::BlendMode blendMode; /* REM */ - Float alpha; /* REM */ - static Dynamic nme_create_display_object; /* REM */ - static Dynamic &nme_create_display_object_dyn() { return nme_create_display_object;} - static Dynamic nme_display_object_get_graphics; /* REM */ - static Dynamic &nme_display_object_get_graphics_dyn() { return nme_display_object_get_graphics;} - static Dynamic nme_display_object_draw_to_surface; /* REM */ - static Dynamic &nme_display_object_draw_to_surface_dyn() { return nme_display_object_draw_to_surface;} - static Dynamic nme_display_object_get_id; /* REM */ - static Dynamic &nme_display_object_get_id_dyn() { return nme_display_object_get_id;} - static Dynamic nme_display_object_get_x; /* REM */ - static Dynamic &nme_display_object_get_x_dyn() { return nme_display_object_get_x;} - static Dynamic nme_display_object_set_x; /* REM */ - static Dynamic &nme_display_object_set_x_dyn() { return nme_display_object_set_x;} - static Dynamic nme_display_object_get_y; /* REM */ - static Dynamic &nme_display_object_get_y_dyn() { return nme_display_object_get_y;} - static Dynamic nme_display_object_set_y; /* REM */ - static Dynamic &nme_display_object_set_y_dyn() { return nme_display_object_set_y;} - static Dynamic nme_display_object_get_scale_x; /* REM */ - static Dynamic &nme_display_object_get_scale_x_dyn() { return nme_display_object_get_scale_x;} - static Dynamic nme_display_object_set_scale_x; /* REM */ - static Dynamic &nme_display_object_set_scale_x_dyn() { return nme_display_object_set_scale_x;} - static Dynamic nme_display_object_get_scale_y; /* REM */ - static Dynamic &nme_display_object_get_scale_y_dyn() { return nme_display_object_get_scale_y;} - static Dynamic nme_display_object_set_scale_y; /* REM */ - static Dynamic &nme_display_object_set_scale_y_dyn() { return nme_display_object_set_scale_y;} - static Dynamic nme_display_object_get_mouse_x; /* REM */ - static Dynamic &nme_display_object_get_mouse_x_dyn() { return nme_display_object_get_mouse_x;} - static Dynamic nme_display_object_get_mouse_y; /* REM */ - static Dynamic &nme_display_object_get_mouse_y_dyn() { return nme_display_object_get_mouse_y;} - static Dynamic nme_display_object_get_rotation; /* REM */ - static Dynamic &nme_display_object_get_rotation_dyn() { return nme_display_object_get_rotation;} - static Dynamic nme_display_object_set_rotation; /* REM */ - static Dynamic &nme_display_object_set_rotation_dyn() { return nme_display_object_set_rotation;} - static Dynamic nme_display_object_get_bg; /* REM */ - static Dynamic &nme_display_object_get_bg_dyn() { return nme_display_object_get_bg;} - static Dynamic nme_display_object_set_bg; /* REM */ - static Dynamic &nme_display_object_set_bg_dyn() { return nme_display_object_set_bg;} - static Dynamic nme_display_object_get_name; /* REM */ - static Dynamic &nme_display_object_get_name_dyn() { return nme_display_object_get_name;} - static Dynamic nme_display_object_set_name; /* REM */ - static Dynamic &nme_display_object_set_name_dyn() { return nme_display_object_set_name;} - static Dynamic nme_display_object_get_width; /* REM */ - static Dynamic &nme_display_object_get_width_dyn() { return nme_display_object_get_width;} - static Dynamic nme_display_object_set_width; /* REM */ - static Dynamic &nme_display_object_set_width_dyn() { return nme_display_object_set_width;} - static Dynamic nme_display_object_get_height; /* REM */ - static Dynamic &nme_display_object_get_height_dyn() { return nme_display_object_get_height;} - static Dynamic nme_display_object_set_height; /* REM */ - static Dynamic &nme_display_object_set_height_dyn() { return nme_display_object_set_height;} - static Dynamic nme_display_object_get_alpha; /* REM */ - static Dynamic &nme_display_object_get_alpha_dyn() { return nme_display_object_get_alpha;} - static Dynamic nme_display_object_set_alpha; /* REM */ - static Dynamic &nme_display_object_set_alpha_dyn() { return nme_display_object_set_alpha;} - static Dynamic nme_display_object_get_blend_mode; /* REM */ - static Dynamic &nme_display_object_get_blend_mode_dyn() { return nme_display_object_get_blend_mode;} - static Dynamic nme_display_object_set_blend_mode; /* REM */ - static Dynamic &nme_display_object_set_blend_mode_dyn() { return nme_display_object_set_blend_mode;} - static Dynamic nme_display_object_get_cache_as_bitmap; /* REM */ - static Dynamic &nme_display_object_get_cache_as_bitmap_dyn() { return nme_display_object_get_cache_as_bitmap;} - static Dynamic nme_display_object_set_cache_as_bitmap; /* REM */ - static Dynamic &nme_display_object_set_cache_as_bitmap_dyn() { return nme_display_object_set_cache_as_bitmap;} - static Dynamic nme_display_object_get_pedantic_bitmap_caching; /* REM */ - static Dynamic &nme_display_object_get_pedantic_bitmap_caching_dyn() { return nme_display_object_get_pedantic_bitmap_caching;} - static Dynamic nme_display_object_set_pedantic_bitmap_caching; /* REM */ - static Dynamic &nme_display_object_set_pedantic_bitmap_caching_dyn() { return nme_display_object_set_pedantic_bitmap_caching;} - static Dynamic nme_display_object_get_pixel_snapping; /* REM */ - static Dynamic &nme_display_object_get_pixel_snapping_dyn() { return nme_display_object_get_pixel_snapping;} - static Dynamic nme_display_object_set_pixel_snapping; /* REM */ - static Dynamic &nme_display_object_set_pixel_snapping_dyn() { return nme_display_object_set_pixel_snapping;} - static Dynamic nme_display_object_get_visible; /* REM */ - static Dynamic &nme_display_object_get_visible_dyn() { return nme_display_object_get_visible;} - static Dynamic nme_display_object_set_visible; /* REM */ - static Dynamic &nme_display_object_set_visible_dyn() { return nme_display_object_set_visible;} - static Dynamic nme_display_object_set_filters; /* REM */ - static Dynamic &nme_display_object_set_filters_dyn() { return nme_display_object_set_filters;} - static Dynamic nme_display_object_global_to_local; /* REM */ - static Dynamic &nme_display_object_global_to_local_dyn() { return nme_display_object_global_to_local;} - static Dynamic nme_display_object_local_to_global; /* REM */ - static Dynamic &nme_display_object_local_to_global_dyn() { return nme_display_object_local_to_global;} - static Dynamic nme_display_object_set_scale9_grid; /* REM */ - static Dynamic &nme_display_object_set_scale9_grid_dyn() { return nme_display_object_set_scale9_grid;} - static Dynamic nme_display_object_set_scroll_rect; /* REM */ - static Dynamic &nme_display_object_set_scroll_rect_dyn() { return nme_display_object_set_scroll_rect;} - static Dynamic nme_display_object_set_mask; /* REM */ - static Dynamic &nme_display_object_set_mask_dyn() { return nme_display_object_set_mask;} - static Dynamic nme_display_object_set_matrix; /* REM */ - static Dynamic &nme_display_object_set_matrix_dyn() { return nme_display_object_set_matrix;} - static Dynamic nme_display_object_get_matrix; /* REM */ - static Dynamic &nme_display_object_get_matrix_dyn() { return nme_display_object_get_matrix;} - static Dynamic nme_display_object_get_color_transform; /* REM */ - static Dynamic &nme_display_object_get_color_transform_dyn() { return nme_display_object_get_color_transform;} - static Dynamic nme_display_object_set_color_transform; /* REM */ - static Dynamic &nme_display_object_set_color_transform_dyn() { return nme_display_object_set_color_transform;} - static Dynamic nme_display_object_get_pixel_bounds; /* REM */ - static Dynamic &nme_display_object_get_pixel_bounds_dyn() { return nme_display_object_get_pixel_bounds;} - static Dynamic nme_display_object_get_bounds; /* REM */ - static Dynamic &nme_display_object_get_bounds_dyn() { return nme_display_object_get_bounds;} - static Dynamic nme_display_object_hit_test_point; /* REM */ - static Dynamic &nme_display_object_hit_test_point_dyn() { return nme_display_object_hit_test_point;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_DisplayObject */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/DisplayObjectContainer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/DisplayObjectContainer.h deleted file mode 100644 index efc559b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/DisplayObjectContainer.h +++ /dev/null @@ -1,143 +0,0 @@ -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#define INCLUDED_neash_display_DisplayObjectContainer - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,geom,Point) -namespace neash{ -namespace display{ - - -class DisplayObjectContainer_obj : public ::neash::display::InteractiveObject_obj{ - public: - typedef ::neash::display::InteractiveObject_obj super; - typedef DisplayObjectContainer_obj OBJ_; - DisplayObjectContainer_obj(); - Void __construct(Dynamic inHandle,::String inType); - - public: - static hx::ObjectPtr< DisplayObjectContainer_obj > __new(Dynamic inHandle,::String inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~DisplayObjectContainer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("DisplayObjectContainer"); } - - virtual bool nmeSetTabChildren( bool inValue); - Dynamic nmeSetTabChildren_dyn(); - - virtual bool nmeGetTabChildren( ); - Dynamic nmeGetTabChildren_dyn(); - - virtual int nmeGetNumChildren( ); - Dynamic nmeGetNumChildren_dyn(); - - virtual bool nmeSetMouseChildren( bool inVal); - Dynamic nmeSetMouseChildren_dyn(); - - virtual bool nmeGetMouseChildren( ); - Dynamic nmeGetMouseChildren_dyn(); - - virtual Void swapChildrenAt( int index1,int index2); - Dynamic swapChildrenAt_dyn(); - - virtual Void swapChildren( ::neash::display::DisplayObject child1,::neash::display::DisplayObject child2); - Dynamic swapChildren_dyn(); - - virtual Void setChildIndex( ::neash::display::DisplayObject child,int index); - Dynamic setChildIndex_dyn(); - - virtual ::neash::display::DisplayObject removeChildAt( int index); - Dynamic removeChildAt_dyn(); - - virtual ::neash::display::DisplayObject removeChild( ::neash::display::DisplayObject child); - Dynamic removeChild_dyn(); - - virtual Void nmeSwapChildrenAt( int index1,int index2); - Dynamic nmeSwapChildrenAt_dyn(); - - virtual Void nmeSetChildIndex( ::neash::display::DisplayObject child,int index); - Dynamic nmeSetChildIndex_dyn(); - - virtual Void nmeRemoveChildFromArray( ::neash::display::DisplayObject child); - Dynamic nmeRemoveChildFromArray_dyn(); - - virtual Void nmeOnRemoved( ::neash::display::DisplayObject inObj,bool inWasOnStage); - - virtual Void nmeOnAdded( ::neash::display::DisplayObject inObj,bool inIsOnStage); - - virtual Void nmeGetObjectsUnderPoint( ::neash::geom::Point point,Array< ::neash::display::DisplayObject > result); - - virtual int nmeGetChildIndex( ::neash::display::DisplayObject child); - Dynamic nmeGetChildIndex_dyn(); - - virtual ::neash::display::DisplayObject nmeFindByID( int inID); - - virtual Void nmeBroadcast( ::neash::events::Event inEvt); - - virtual Void nmeAddChild( ::neash::display::DisplayObject child); - Dynamic nmeAddChild_dyn(); - - virtual Array< ::neash::display::DisplayObject > getObjectsUnderPoint( ::neash::geom::Point point); - Dynamic getObjectsUnderPoint_dyn(); - - virtual int getChildIndex( ::neash::display::DisplayObject child); - Dynamic getChildIndex_dyn(); - - virtual ::neash::display::DisplayObject getChildByName( ::String name); - Dynamic getChildByName_dyn(); - - virtual ::neash::display::DisplayObject getChildAt( int index); - Dynamic getChildAt_dyn(); - - virtual bool contains( ::neash::display::DisplayObject child); - Dynamic contains_dyn(); - - virtual bool areInaccessibleObjectsUnderPoint( ::neash::geom::Point point); - Dynamic areInaccessibleObjectsUnderPoint_dyn(); - - virtual ::neash::display::DisplayObject addChildAt( ::neash::display::DisplayObject child,int index); - Dynamic addChildAt_dyn(); - - virtual ::neash::display::DisplayObject addChild( ::neash::display::DisplayObject child); - Dynamic addChild_dyn(); - - Array< ::neash::display::DisplayObject > nmeChildren; /* REM */ - bool tabChildren; /* REM */ - int numChildren; /* REM */ - bool mouseChildren; /* REM */ - static Dynamic nme_create_display_object_container; /* REM */ - static Dynamic &nme_create_display_object_container_dyn() { return nme_create_display_object_container;} - static Dynamic nme_doc_add_child; /* REM */ - static Dynamic &nme_doc_add_child_dyn() { return nme_doc_add_child;} - static Dynamic nme_doc_remove_child; /* REM */ - static Dynamic &nme_doc_remove_child_dyn() { return nme_doc_remove_child;} - static Dynamic nme_doc_set_child_index; /* REM */ - static Dynamic &nme_doc_set_child_index_dyn() { return nme_doc_set_child_index;} - static Dynamic nme_doc_get_mouse_children; /* REM */ - static Dynamic &nme_doc_get_mouse_children_dyn() { return nme_doc_get_mouse_children;} - static Dynamic nme_doc_set_mouse_children; /* REM */ - static Dynamic &nme_doc_set_mouse_children_dyn() { return nme_doc_set_mouse_children;} - static Dynamic nme_doc_swap_children; /* REM */ - static Dynamic &nme_doc_swap_children_dyn() { return nme_doc_swap_children;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_DisplayObjectContainer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/GradientType.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/GradientType.h deleted file mode 100644 index fae7c39..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/GradientType.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef INCLUDED_neash_display_GradientType -#define INCLUDED_neash_display_GradientType - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,GradientType) -namespace neash{ -namespace display{ - - -class GradientType_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef GradientType_obj OBJ_; - - public: - GradientType_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.GradientType"); } - ::String __ToString() const { return HX_CSTRING("GradientType.") + tag; } - - static ::neash::display::GradientType LINEAR; - static inline ::neash::display::GradientType LINEAR_dyn() { return LINEAR; } - static ::neash::display::GradientType RADIAL; - static inline ::neash::display::GradientType RADIAL_dyn() { return RADIAL; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_GradientType */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/Graphics.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/Graphics.h deleted file mode 100644 index 6ad2e15..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/Graphics.h +++ /dev/null @@ -1,170 +0,0 @@ -#ifndef INCLUDED_neash_display_Graphics -#define INCLUDED_neash_display_Graphics - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,CapsStyle) -HX_DECLARE_CLASS2(neash,display,GradientType) -HX_DECLARE_CLASS2(neash,display,Graphics) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,IGraphicsData) -HX_DECLARE_CLASS2(neash,display,InterpolationMethod) -HX_DECLARE_CLASS2(neash,display,JointStyle) -HX_DECLARE_CLASS2(neash,display,LineScaleMode) -HX_DECLARE_CLASS2(neash,display,SpreadMethod) -HX_DECLARE_CLASS2(neash,display,Tilesheet) -HX_DECLARE_CLASS2(neash,display,TriangleCulling) -HX_DECLARE_CLASS2(neash,geom,Matrix) -namespace neash{ -namespace display{ - - -class Graphics_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Graphics_obj OBJ_; - Graphics_obj(); - Void __construct(Dynamic inHandle); - - public: - static hx::ObjectPtr< Graphics_obj > __new(Dynamic inHandle); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Graphics_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Graphics"); } - - virtual Void moveTo( Float inX,Float inY); - Dynamic moveTo_dyn(); - - virtual Void lineTo( Float inX,Float inY); - Dynamic lineTo_dyn(); - - virtual Void lineStyle( Dynamic thickness,hx::Null< int > color,hx::Null< Float > alpha,hx::Null< bool > pixelHinting,::neash::display::LineScaleMode scaleMode,::neash::display::CapsStyle caps,::neash::display::JointStyle joints,hx::Null< Float > miterLimit); - Dynamic lineStyle_dyn(); - - virtual Void lineGradientStyle( ::neash::display::GradientType type,Dynamic colors,Dynamic alphas,Dynamic ratios,::neash::geom::Matrix matrix,::neash::display::SpreadMethod spreadMethod,::neash::display::InterpolationMethod interpolationMethod,hx::Null< Float > focalPointRatio); - Dynamic lineGradientStyle_dyn(); - - virtual Void lineBitmapStyle( ::neash::display::BitmapData bitmap,::neash::geom::Matrix matrix,hx::Null< bool > repeat,hx::Null< bool > smooth); - Dynamic lineBitmapStyle_dyn(); - - virtual Void endFill( ); - Dynamic endFill_dyn(); - - virtual Void drawTriangles( Array< Float > vertices,Array< int > indices,Array< Float > uvtData,::neash::display::TriangleCulling culling,Array< int > colours,hx::Null< int > blendMode,Array< Float > viewport); - Dynamic drawTriangles_dyn(); - - virtual Void drawTiles( ::neash::display::Tilesheet sheet,Array< Float > inXYID,hx::Null< bool > inSmooth,hx::Null< int > inFlags); - Dynamic drawTiles_dyn(); - - virtual Void drawPath( Array< int > commands,Array< Float > data,::String winding); - Dynamic drawPath_dyn(); - - virtual Void drawRoundRect( Float inX,Float inY,Float inWidth,Float inHeight,Float inRadX,Dynamic inRadY); - Dynamic drawRoundRect_dyn(); - - virtual Void drawRect( Float inX,Float inY,Float inWidth,Float inHeight); - Dynamic drawRect_dyn(); - - virtual Void drawPoints( Array< Float > inXY,Array< int > inPointRGBA,hx::Null< int > inDefaultRGBA,hx::Null< Float > inSize); - Dynamic drawPoints_dyn(); - - virtual Void drawGraphicsDatum( ::neash::display::IGraphicsData graphicsDatum); - Dynamic drawGraphicsDatum_dyn(); - - virtual Void drawGraphicsData( Array< ::neash::display::IGraphicsData > graphicsData); - Dynamic drawGraphicsData_dyn(); - - virtual Void drawEllipse( Float inX,Float inY,Float inWidth,Float inHeight); - Dynamic drawEllipse_dyn(); - - virtual Void drawCircle( Float inX,Float inY,Float inRadius); - Dynamic drawCircle_dyn(); - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - Dynamic curveTo_dyn(); - - virtual Void clear( ); - Dynamic clear_dyn(); - - virtual Void beginGradientFill( ::neash::display::GradientType type,Dynamic colors,Dynamic alphas,Dynamic ratios,::neash::geom::Matrix matrix,::neash::display::SpreadMethod spreadMethod,::neash::display::InterpolationMethod interpolationMethod,hx::Null< Float > focalPointRatio); - Dynamic beginGradientFill_dyn(); - - virtual Void beginFill( int color,hx::Null< Float > alpha); - Dynamic beginFill_dyn(); - - virtual Void beginBitmapFill( ::neash::display::BitmapData bitmap,::neash::geom::Matrix matrix,hx::Null< bool > repeat,hx::Null< bool > smooth); - Dynamic beginBitmapFill_dyn(); - - virtual Void arcTo( Float inCX,Float inCY,Float inX,Float inY); - Dynamic arcTo_dyn(); - - Dynamic nmeHandle; /* REM */ - static int TILE_SCALE; /* REM */ - static int TILE_ROTATION; /* REM */ - static int TILE_RGB; /* REM */ - static int TILE_ALPHA; /* REM */ - static int TILE_TRANS_2x2; /* REM */ - static int TILE_SMOOTH; /* REM */ - static int TILE_BLEND_NORMAL; /* REM */ - static int TILE_BLEND_ADD; /* REM */ - static int RGBA( int inRGB,hx::Null< int > inA); - static Dynamic RGBA_dyn(); - - static Dynamic nme_gfx_clear; /* REM */ - static Dynamic &nme_gfx_clear_dyn() { return nme_gfx_clear;} - static Dynamic nme_gfx_begin_fill; /* REM */ - static Dynamic &nme_gfx_begin_fill_dyn() { return nme_gfx_begin_fill;} - static Dynamic nme_gfx_begin_bitmap_fill; /* REM */ - static Dynamic &nme_gfx_begin_bitmap_fill_dyn() { return nme_gfx_begin_bitmap_fill;} - static Dynamic nme_gfx_line_bitmap_fill; /* REM */ - static Dynamic &nme_gfx_line_bitmap_fill_dyn() { return nme_gfx_line_bitmap_fill;} - static Dynamic nme_gfx_begin_gradient_fill; /* REM */ - static Dynamic &nme_gfx_begin_gradient_fill_dyn() { return nme_gfx_begin_gradient_fill;} - static Dynamic nme_gfx_line_gradient_fill; /* REM */ - static Dynamic &nme_gfx_line_gradient_fill_dyn() { return nme_gfx_line_gradient_fill;} - static Dynamic nme_gfx_end_fill; /* REM */ - static Dynamic &nme_gfx_end_fill_dyn() { return nme_gfx_end_fill;} - static Dynamic nme_gfx_line_style; /* REM */ - static Dynamic &nme_gfx_line_style_dyn() { return nme_gfx_line_style;} - static Dynamic nme_gfx_move_to; /* REM */ - static Dynamic &nme_gfx_move_to_dyn() { return nme_gfx_move_to;} - static Dynamic nme_gfx_line_to; /* REM */ - static Dynamic &nme_gfx_line_to_dyn() { return nme_gfx_line_to;} - static Dynamic nme_gfx_curve_to; /* REM */ - static Dynamic &nme_gfx_curve_to_dyn() { return nme_gfx_curve_to;} - static Dynamic nme_gfx_arc_to; /* REM */ - static Dynamic &nme_gfx_arc_to_dyn() { return nme_gfx_arc_to;} - static Dynamic nme_gfx_draw_ellipse; /* REM */ - static Dynamic &nme_gfx_draw_ellipse_dyn() { return nme_gfx_draw_ellipse;} - static Dynamic nme_gfx_draw_data; /* REM */ - static Dynamic &nme_gfx_draw_data_dyn() { return nme_gfx_draw_data;} - static Dynamic nme_gfx_draw_datum; /* REM */ - static Dynamic &nme_gfx_draw_datum_dyn() { return nme_gfx_draw_datum;} - static Dynamic nme_gfx_draw_rect; /* REM */ - static Dynamic &nme_gfx_draw_rect_dyn() { return nme_gfx_draw_rect;} - static Dynamic nme_gfx_draw_path; /* REM */ - static Dynamic &nme_gfx_draw_path_dyn() { return nme_gfx_draw_path;} - static Dynamic nme_gfx_draw_tiles; /* REM */ - static Dynamic &nme_gfx_draw_tiles_dyn() { return nme_gfx_draw_tiles;} - static Dynamic nme_gfx_draw_points; /* REM */ - static Dynamic &nme_gfx_draw_points_dyn() { return nme_gfx_draw_points;} - static Dynamic nme_gfx_draw_round_rect; /* REM */ - static Dynamic &nme_gfx_draw_round_rect_dyn() { return nme_gfx_draw_round_rect;} - static Dynamic nme_gfx_draw_triangles; /* REM */ - static Dynamic &nme_gfx_draw_triangles_dyn() { return nme_gfx_draw_triangles;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_Graphics */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/GraphicsPathWinding.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/GraphicsPathWinding.h deleted file mode 100644 index 94b9094..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/GraphicsPathWinding.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_neash_display_GraphicsPathWinding -#define INCLUDED_neash_display_GraphicsPathWinding - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,GraphicsPathWinding) -namespace neash{ -namespace display{ - - -class GraphicsPathWinding_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef GraphicsPathWinding_obj OBJ_; - GraphicsPathWinding_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< GraphicsPathWinding_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GraphicsPathWinding_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GraphicsPathWinding"); } - - static ::String EVEN_ODD; /* REM */ - static ::String NON_ZERO; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_GraphicsPathWinding */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/IBitmapDrawable.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/IBitmapDrawable.h deleted file mode 100644 index e8759ae..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/IBitmapDrawable.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_neash_display_IBitmapDrawable -#define INCLUDED_neash_display_IBitmapDrawable - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,geom,ColorTransform) -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace neash{ -namespace display{ - - -class IBitmapDrawable_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IBitmapDrawable_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void nmeDrawToSurface( Dynamic inSurface,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,bool smoothing)=0; - Dynamic nmeDrawToSurface_dyn(); -}; - -#define DELEGATE_neash_display_IBitmapDrawable \ -virtual Void nmeDrawToSurface( Dynamic inSurface,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,bool smoothing) { return mDelegate->nmeDrawToSurface(inSurface,matrix,colorTransform,blendMode,clipRect,smoothing);} \ -virtual Dynamic nmeDrawToSurface_dyn() { return mDelegate->nmeDrawToSurface_dyn();} \ - - -template -class IBitmapDrawable_delegate_ : public IBitmapDrawable_obj -{ - protected: - IMPL *mDelegate; - public: - IBitmapDrawable_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_neash_display_IBitmapDrawable -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_IBitmapDrawable */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/IGraphicsData.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/IGraphicsData.h deleted file mode 100644 index 6798199..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/IGraphicsData.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_neash_display_IGraphicsData -#define INCLUDED_neash_display_IGraphicsData - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,IGraphicsData) -namespace neash{ -namespace display{ - - -class IGraphicsData_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef IGraphicsData_obj OBJ_; - IGraphicsData_obj(); - Void __construct(Dynamic inHandle); - - public: - static hx::ObjectPtr< IGraphicsData_obj > __new(Dynamic inHandle); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~IGraphicsData_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("IGraphicsData"); } - - Dynamic nmeHandle; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_IGraphicsData */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/InteractiveObject.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/InteractiveObject.h deleted file mode 100644 index d810c3e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/InteractiveObject.h +++ /dev/null @@ -1,83 +0,0 @@ -#ifndef INCLUDED_neash_display_InteractiveObject -#define INCLUDED_neash_display_InteractiveObject - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace display{ - - -class InteractiveObject_obj : public ::neash::display::DisplayObject_obj{ - public: - typedef ::neash::display::DisplayObject_obj super; - typedef InteractiveObject_obj OBJ_; - InteractiveObject_obj(); - Void __construct(Dynamic inHandle,::String inType); - - public: - static hx::ObjectPtr< InteractiveObject_obj > __new(Dynamic inHandle,::String inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~InteractiveObject_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("InteractiveObject"); } - - virtual bool nmeGetNeedsSoftKeyboard( ); - Dynamic nmeGetNeedsSoftKeyboard_dyn(); - - virtual bool nmeSetNeedsSoftKeyboard( bool inVal); - Dynamic nmeSetNeedsSoftKeyboard_dyn(); - - virtual bool nmeGetMoveForSoftKeyboard( ); - Dynamic nmeGetMoveForSoftKeyboard_dyn(); - - virtual bool nmeSetMoveForSoftKeyboard( bool inVal); - Dynamic nmeSetMoveForSoftKeyboard_dyn(); - - virtual bool nmeSetMouseEnabled( bool inVal); - Dynamic nmeSetMouseEnabled_dyn(); - - virtual bool nmeGetMouseEnabled( ); - Dynamic nmeGetMouseEnabled_dyn(); - - virtual bool requestSoftKeyboard( ); - Dynamic requestSoftKeyboard_dyn(); - - virtual ::neash::display::InteractiveObject nmeAsInteractiveObject( ); - - bool nmeMouseEnabled; /* REM */ - bool needsSoftKeyboard; /* REM */ - bool moveForSoftKeyboard; /* REM */ - bool mouseEnabled; /* REM */ - bool doubleClickEnabled; /* REM */ - static Dynamic nme_display_object_set_mouse_enabled; /* REM */ - static Dynamic &nme_display_object_set_mouse_enabled_dyn() { return nme_display_object_set_mouse_enabled;} - static Dynamic nme_display_object_set_needs_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_set_needs_soft_keyboard_dyn() { return nme_display_object_set_needs_soft_keyboard;} - static Dynamic nme_display_object_get_needs_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_get_needs_soft_keyboard_dyn() { return nme_display_object_get_needs_soft_keyboard;} - static Dynamic nme_display_object_set_moves_for_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_set_moves_for_soft_keyboard_dyn() { return nme_display_object_set_moves_for_soft_keyboard;} - static Dynamic nme_display_object_get_moves_for_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_get_moves_for_soft_keyboard_dyn() { return nme_display_object_get_moves_for_soft_keyboard;} - static Dynamic nme_display_object_request_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_request_soft_keyboard_dyn() { return nme_display_object_request_soft_keyboard;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_InteractiveObject */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/InterpolationMethod.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/InterpolationMethod.h deleted file mode 100644 index dac7148..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/InterpolationMethod.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef INCLUDED_neash_display_InterpolationMethod -#define INCLUDED_neash_display_InterpolationMethod - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,InterpolationMethod) -namespace neash{ -namespace display{ - - -class InterpolationMethod_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef InterpolationMethod_obj OBJ_; - - public: - InterpolationMethod_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.InterpolationMethod"); } - ::String __ToString() const { return HX_CSTRING("InterpolationMethod.") + tag; } - - static ::neash::display::InterpolationMethod LINEAR_RGB; - static inline ::neash::display::InterpolationMethod LINEAR_RGB_dyn() { return LINEAR_RGB; } - static ::neash::display::InterpolationMethod RGB; - static inline ::neash::display::InterpolationMethod RGB_dyn() { return RGB; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_InterpolationMethod */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/JointStyle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/JointStyle.h deleted file mode 100644 index 6e5f8e9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/JointStyle.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_display_JointStyle -#define INCLUDED_neash_display_JointStyle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,JointStyle) -namespace neash{ -namespace display{ - - -class JointStyle_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef JointStyle_obj OBJ_; - - public: - JointStyle_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.JointStyle"); } - ::String __ToString() const { return HX_CSTRING("JointStyle.") + tag; } - - static ::neash::display::JointStyle BEVEL; - static inline ::neash::display::JointStyle BEVEL_dyn() { return BEVEL; } - static ::neash::display::JointStyle MITER; - static inline ::neash::display::JointStyle MITER_dyn() { return MITER; } - static ::neash::display::JointStyle ROUND; - static inline ::neash::display::JointStyle ROUND_dyn() { return ROUND; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_JointStyle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/LineScaleMode.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/LineScaleMode.h deleted file mode 100644 index 1842095..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/LineScaleMode.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_neash_display_LineScaleMode -#define INCLUDED_neash_display_LineScaleMode - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,LineScaleMode) -namespace neash{ -namespace display{ - - -class LineScaleMode_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef LineScaleMode_obj OBJ_; - - public: - LineScaleMode_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.LineScaleMode"); } - ::String __ToString() const { return HX_CSTRING("LineScaleMode.") + tag; } - - static ::neash::display::LineScaleMode HORIZONTAL; - static inline ::neash::display::LineScaleMode HORIZONTAL_dyn() { return HORIZONTAL; } - static ::neash::display::LineScaleMode NONE; - static inline ::neash::display::LineScaleMode NONE_dyn() { return NONE; } - static ::neash::display::LineScaleMode NORMAL; - static inline ::neash::display::LineScaleMode NORMAL_dyn() { return NORMAL; } - static ::neash::display::LineScaleMode OPENGL; - static inline ::neash::display::LineScaleMode OPENGL_dyn() { return OPENGL; } - static ::neash::display::LineScaleMode VERTICAL; - static inline ::neash::display::LineScaleMode VERTICAL_dyn() { return VERTICAL; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_LineScaleMode */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/ManagedStage.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/ManagedStage.h deleted file mode 100644 index 324b4aa..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/ManagedStage.h +++ /dev/null @@ -1,101 +0,0 @@ -#ifndef INCLUDED_neash_display_ManagedStage -#define INCLUDED_neash_display_ManagedStage - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,ManagedStage) -HX_DECLARE_CLASS2(neash,display,Stage) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace display{ - - -class ManagedStage_obj : public ::neash::display::Stage_obj{ - public: - typedef ::neash::display::Stage_obj super; - typedef ManagedStage_obj OBJ_; - ManagedStage_obj(); - Void __construct(int inWidth,int inHeight); - - public: - static hx::ObjectPtr< ManagedStage_obj > __new(int inWidth,int inHeight); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ManagedStage_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ManagedStage"); } - - Dynamic setNextWake; - inline Dynamic &setNextWake_dyn() {return setNextWake; } - - virtual Void sendQuit( ); - Dynamic sendQuit_dyn(); - - virtual Void resize( int inWidth,int inHeight); - Dynamic resize_dyn(); - - virtual Void pumpEvent( Dynamic inEvent); - Dynamic pumpEvent_dyn(); - - virtual Void nmeRender( bool inSendEnterFrame); - - virtual Float nmeDoProcessStageEvent( Dynamic inEvent); - - Dynamic endRender; - inline Dynamic &endRender_dyn() {return endRender; } - - Dynamic beginRender; - inline Dynamic &beginRender_dyn() {return beginRender; } - - static int etUnknown; /* REM */ - static int etKeyDown; /* REM */ - static int etChar; /* REM */ - static int etKeyUp; /* REM */ - static int etMouseMove; /* REM */ - static int etMouseDown; /* REM */ - static int etMouseClick; /* REM */ - static int etMouseUp; /* REM */ - static int etResize; /* REM */ - static int etPoll; /* REM */ - static int etQuit; /* REM */ - static int etFocus; /* REM */ - static int etShouldRotate; /* REM */ - static int etDestroyHandler; /* REM */ - static int etRedraw; /* REM */ - static int etTouchBegin; /* REM */ - static int etTouchMove; /* REM */ - static int etTouchEnd; /* REM */ - static int etTouchTap; /* REM */ - static int etChange; /* REM */ - static int efLeftDown; /* REM */ - static int efShiftDown; /* REM */ - static int efCtrlDown; /* REM */ - static int efAltDown; /* REM */ - static int efCommandDown; /* REM */ - static int efMiddleDown; /* REM */ - static int efRightDown; /* REM */ - static int efLocationRight; /* REM */ - static int efPrimaryTouch; /* REM */ - static Dynamic nme_managed_stage_create; /* REM */ - static Dynamic &nme_managed_stage_create_dyn() { return nme_managed_stage_create;} - static Dynamic nme_managed_stage_pump_event; /* REM */ - static Dynamic &nme_managed_stage_pump_event_dyn() { return nme_managed_stage_pump_event;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_ManagedStage */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/MovieClip.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/MovieClip.h deleted file mode 100644 index 1940f2f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/MovieClip.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_neash_display_MovieClip -#define INCLUDED_neash_display_MovieClip - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,MovieClip) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace display{ - - -class MovieClip_obj : public ::neash::display::Sprite_obj{ - public: - typedef ::neash::display::Sprite_obj super; - typedef MovieClip_obj OBJ_; - MovieClip_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< MovieClip_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~MovieClip_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("MovieClip"); } - - virtual int nmeGetTotalFrames( ); - Dynamic nmeGetTotalFrames_dyn(); - - virtual int nmeGetCurrentFrame( ); - Dynamic nmeGetCurrentFrame_dyn(); - - virtual Void stop( ); - Dynamic stop_dyn(); - - virtual Void play( ); - Dynamic play_dyn(); - - virtual ::String nmeGetType( ); - - virtual Void gotoAndStop( Dynamic frame,::String scene); - Dynamic gotoAndStop_dyn(); - - virtual Void gotoAndPlay( Dynamic frame,::String scene); - Dynamic gotoAndPlay_dyn(); - - int mTotalFrames; /* REM */ - int mCurrentFrame; /* REM */ - int totalFrames; /* REM */ - int framesLoaded; /* REM */ - bool enabled; /* REM */ - int currentFrame; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_MovieClip */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/OptimizedPerlin.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/OptimizedPerlin.h deleted file mode 100644 index 06d73f5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/OptimizedPerlin.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef INCLUDED_neash_display_OptimizedPerlin -#define INCLUDED_neash_display_OptimizedPerlin - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,OptimizedPerlin) -namespace neash{ -namespace display{ - - -class OptimizedPerlin_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef OptimizedPerlin_obj OBJ_; - OptimizedPerlin_obj(); - Void __construct(hx::Null< int > __o_seed,hx::Null< int > __o_octaves,hx::Null< Float > __o_falloff); - - public: - static hx::ObjectPtr< OptimizedPerlin_obj > __new(hx::Null< int > __o_seed,hx::Null< int > __o_octaves,hx::Null< Float > __o_falloff); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~OptimizedPerlin_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("OptimizedPerlin"); } - - virtual Void seedOffset( int iSeed); - Dynamic seedOffset_dyn(); - - virtual Void octFreqPers( Float fPersistence); - Dynamic octFreqPers_dyn(); - - virtual Void fill( ::neash::display::BitmapData bitmap,Float _x,Float _y,Float _z,Dynamic _); - Dynamic fill_dyn(); - - Float baseFactor; /* REM */ - Float iZoffset; /* REM */ - Float iYoffset; /* REM */ - Float iXoffset; /* REM */ - Float fPersMax; /* REM */ - Array< Float > aOctPers; /* REM */ - Array< Float > aOctFreq; /* REM */ - int octaves; /* REM */ - static Array< int > P; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_OptimizedPerlin */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/PixelSnapping.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/PixelSnapping.h deleted file mode 100644 index 0a8a60c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/PixelSnapping.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_display_PixelSnapping -#define INCLUDED_neash_display_PixelSnapping - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,PixelSnapping) -namespace neash{ -namespace display{ - - -class PixelSnapping_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef PixelSnapping_obj OBJ_; - - public: - PixelSnapping_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.PixelSnapping"); } - ::String __ToString() const { return HX_CSTRING("PixelSnapping.") + tag; } - - static ::neash::display::PixelSnapping ALWAYS; - static inline ::neash::display::PixelSnapping ALWAYS_dyn() { return ALWAYS; } - static ::neash::display::PixelSnapping AUTO; - static inline ::neash::display::PixelSnapping AUTO_dyn() { return AUTO; } - static ::neash::display::PixelSnapping NEVER; - static inline ::neash::display::PixelSnapping NEVER_dyn() { return NEVER; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_PixelSnapping */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/Shape.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/Shape.h deleted file mode 100644 index f04105e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/Shape.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef INCLUDED_neash_display_Shape -#define INCLUDED_neash_display_Shape - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,Shape) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace display{ - - -class Shape_obj : public ::neash::display::DisplayObject_obj{ - public: - typedef ::neash::display::DisplayObject_obj super; - typedef Shape_obj OBJ_; - Shape_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Shape_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Shape_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Shape"); } - -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_Shape */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/SpreadMethod.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/SpreadMethod.h deleted file mode 100644 index 6031764..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/SpreadMethod.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_display_SpreadMethod -#define INCLUDED_neash_display_SpreadMethod - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,SpreadMethod) -namespace neash{ -namespace display{ - - -class SpreadMethod_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef SpreadMethod_obj OBJ_; - - public: - SpreadMethod_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.SpreadMethod"); } - ::String __ToString() const { return HX_CSTRING("SpreadMethod.") + tag; } - - static ::neash::display::SpreadMethod PAD; - static inline ::neash::display::SpreadMethod PAD_dyn() { return PAD; } - static ::neash::display::SpreadMethod REFLECT; - static inline ::neash::display::SpreadMethod REFLECT_dyn() { return REFLECT; } - static ::neash::display::SpreadMethod REPEAT; - static inline ::neash::display::SpreadMethod REPEAT_dyn() { return REPEAT; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_SpreadMethod */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/Sprite.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/Sprite.h deleted file mode 100644 index c19bdbe..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/Sprite.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef INCLUDED_neash_display_Sprite -#define INCLUDED_neash_display_Sprite - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace neash{ -namespace display{ - - -class Sprite_obj : public ::neash::display::DisplayObjectContainer_obj{ - public: - typedef ::neash::display::DisplayObjectContainer_obj super; - typedef Sprite_obj OBJ_; - Sprite_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Sprite_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Sprite_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Sprite"); } - - virtual Void stopDrag( ); - Dynamic stopDrag_dyn(); - - virtual Void startDrag( hx::Null< bool > lockCenter,::neash::geom::Rectangle bounds); - Dynamic startDrag_dyn(); - - virtual ::String nmeGetType( ); - Dynamic nmeGetType_dyn(); - - bool useHandCursor; /* REM */ - bool buttonMode; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_Sprite */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/Stage.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/Stage.h deleted file mode 100644 index fed2f88..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/Stage.h +++ /dev/null @@ -1,288 +0,0 @@ -#ifndef INCLUDED_neash_display_Stage -#define INCLUDED_neash_display_Stage - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(IntHash) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,display,Stage) -HX_DECLARE_CLASS2(neash,display,StageAlign) -HX_DECLARE_CLASS2(neash,display,StageDisplayState) -HX_DECLARE_CLASS2(neash,display,StageQuality) -HX_DECLARE_CLASS2(neash,display,StageScaleMode) -HX_DECLARE_CLASS2(neash,display,TouchInfo) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,events,MouseEvent) -HX_DECLARE_CLASS2(neash,geom,Point) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace neash{ -namespace display{ - - -class Stage_obj : public ::neash::display::DisplayObjectContainer_obj{ - public: - typedef ::neash::display::DisplayObjectContainer_obj super; - typedef Stage_obj OBJ_; - Stage_obj(); - Void __construct(Dynamic inHandle,int inWidth,int inHeight); - - public: - static hx::ObjectPtr< Stage_obj > __new(Dynamic inHandle,int inWidth,int inHeight); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Stage_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Stage"); } - - virtual int nmeGetStageWidth( ); - Dynamic nmeGetStageWidth_dyn(); - - virtual int nmeGetStageHeight( ); - Dynamic nmeGetStageHeight_dyn(); - - virtual bool nmeSetStageFocusRect( bool inVal); - Dynamic nmeSetStageFocusRect_dyn(); - - virtual bool nmeGetStageFocusRect( ); - Dynamic nmeGetStageFocusRect_dyn(); - - virtual ::neash::display::StageScaleMode nmeSetScaleMode( ::neash::display::StageScaleMode inMode); - Dynamic nmeSetScaleMode_dyn(); - - virtual ::neash::display::StageScaleMode nmeGetScaleMode( ); - Dynamic nmeGetScaleMode_dyn(); - - virtual ::neash::display::StageQuality nmeSetQuality( ::neash::display::StageQuality inQuality); - Dynamic nmeSetQuality_dyn(); - - virtual ::neash::display::StageQuality nmeGetQuality( ); - Dynamic nmeGetQuality_dyn(); - - virtual bool nmeIsOpenGL( ); - Dynamic nmeIsOpenGL_dyn(); - - virtual Float nmeSetFrameRate( Float inRate); - Dynamic nmeSetFrameRate_dyn(); - - virtual ::neash::display::InteractiveObject nmeSetFocus( ::neash::display::InteractiveObject inObject); - Dynamic nmeSetFocus_dyn(); - - virtual ::neash::display::InteractiveObject nmeGetFocus( ); - Dynamic nmeGetFocus_dyn(); - - virtual Float nmeGetDPIScale( ); - Dynamic nmeGetDPIScale_dyn(); - - virtual ::neash::display::StageDisplayState nmeSetDisplayState( ::neash::display::StageDisplayState inState); - Dynamic nmeSetDisplayState_dyn(); - - virtual ::neash::display::StageDisplayState nmeGetDisplayState( ); - Dynamic nmeGetDisplayState_dyn(); - - virtual ::neash::display::StageAlign nmeSetAlign( ::neash::display::StageAlign inMode); - Dynamic nmeSetAlign_dyn(); - - virtual ::neash::display::StageAlign nmeGetAlign( ); - Dynamic nmeGetAlign_dyn(); - - virtual Void showCursor( bool inShow); - Dynamic showCursor_dyn(); - - virtual Float nmeUpdateNextWake( ); - Dynamic nmeUpdateNextWake_dyn(); - - virtual Void nmeStopDrag( ::neash::display::Sprite sprite); - Dynamic nmeStopDrag_dyn(); - - virtual Void nmeStartDrag( ::neash::display::Sprite sprite,bool lockCenter,::neash::geom::Rectangle bounds); - Dynamic nmeStartDrag_dyn(); - - virtual Void nmeSetActive( bool inActive); - Dynamic nmeSetActive_dyn(); - - virtual Void nmeRender( bool inSendEnterFrame); - Dynamic nmeRender_dyn(); - - virtual Void nmePollTimers( ); - Dynamic nmePollTimers_dyn(); - - virtual Void nmeOnTouch( Dynamic inEvent,::String inType,::neash::display::TouchInfo touchInfo); - Dynamic nmeOnTouch_dyn(); - - virtual Void nmeOnResize( Float inW,Float inH); - Dynamic nmeOnResize_dyn(); - - virtual Void nmeOnMouse( Dynamic inEvent,::String inType,bool inFromMouse); - Dynamic nmeOnMouse_dyn(); - - virtual Void nmeOnKey( Dynamic inEvent,::String inType); - Dynamic nmeOnKey_dyn(); - - virtual Void nmeOnJoystick( Dynamic inEvent,::String inType); - Dynamic nmeOnJoystick_dyn(); - - virtual Void nmeOnFocus( Dynamic inEvent); - Dynamic nmeOnFocus_dyn(); - - virtual Void nmeOnChange( Dynamic inEvent); - Dynamic nmeOnChange_dyn(); - - virtual Float nmeNextFrameDue( Float inOtherTimers); - Dynamic nmeNextFrameDue_dyn(); - - virtual ::neash::display::Stage nmeGetStage( ); - - virtual Void nmeDrag( ::neash::geom::Point inMouse); - Dynamic nmeDrag_dyn(); - - virtual Dynamic nmeProcessStageEvent( Dynamic inEvent); - Dynamic nmeProcessStageEvent_dyn(); - - virtual Void dummyTrace( ); - Dynamic dummyTrace_dyn(); - - virtual Float nmeDoProcessStageEvent( Dynamic inEvent); - Dynamic nmeDoProcessStageEvent_dyn(); - - virtual Void nmeCheckRender( ); - Dynamic nmeCheckRender_dyn(); - - virtual bool nmeCheckInOuts( ::neash::events::MouseEvent inEvent,Array< ::neash::display::InteractiveObject > inStack,::neash::display::TouchInfo touchInfo); - Dynamic nmeCheckInOuts_dyn(); - - virtual Void nmeCheckFocusInOuts( Dynamic inEvent,Array< ::neash::display::InteractiveObject > inStack); - Dynamic nmeCheckFocusInOuts_dyn(); - - virtual Void invalidate( ); - Dynamic invalidate_dyn(); - - ::IntHash nmeTouchInfo; /* REM */ - Array< ::neash::display::InteractiveObject > nmeMouseOverObjects; /* REM */ - Float nmeLastRender; /* REM */ - Array< ::neash::display::InteractiveObject > nmeLastDown; /* REM */ - Float nmeLastClickTime; /* REM */ - bool nmeInvalid; /* REM */ - Float nmeFramePeriod; /* REM */ - Array< ::neash::display::InteractiveObject > nmeFocusOverObjects; /* REM */ - Float nmeDragOffsetY; /* REM */ - Float nmeDragOffsetX; /* REM */ - ::neash::display::Sprite nmeDragObject; /* REM */ - ::neash::geom::Rectangle nmeDragBounds; /* REM */ - ::IntHash nmeJoyAxisData; /* REM */ - int stageWidth; /* REM */ - int stageHeight; /* REM */ - bool stageFocusRect; /* REM */ - ::neash::display::StageScaleMode scaleMode; /* REM */ - Dynamic renderRequest; /* REM */ - Dynamic &renderRequest_dyn() { return renderRequest;} - ::neash::display::StageQuality quality; /* REM */ - bool pauseWhenDeactivated; /* REM */ - Dynamic onQuit; /* REM */ - Dynamic &onQuit_dyn() { return onQuit;} - Dynamic onKey; /* REM */ - Dynamic &onKey_dyn() { return onKey;} - bool isOpenGL; /* REM */ - Float frameRate; /* REM */ - ::neash::display::InteractiveObject focus; /* REM */ - Float dpiScale; /* REM */ - ::neash::display::StageDisplayState displayState; /* REM */ - ::neash::display::StageAlign align; /* REM */ - bool active; /* REM */ - static Float nmeEarlyWakeup; /* REM */ - static int OrientationPortrait; /* REM */ - static int OrientationPortraitUpsideDown; /* REM */ - static int OrientationLandscapeRight; /* REM */ - static int OrientationLandscapeLeft; /* REM */ - static int OrientationFaceUp; /* REM */ - static int OrientationFaceDown; /* REM */ - static int efLeftDown; /* REM */ - static int efShiftDown; /* REM */ - static int efCtrlDown; /* REM */ - static int efAltDown; /* REM */ - static int efCommandDown; /* REM */ - static int efLocationRight; /* REM */ - static int efNoNativeClick; /* REM */ - static Array< ::String > nmeMouseChanges; /* REM */ - static Array< ::String > nmeTouchChanges; /* REM */ - static Array< ::String > sClickEvents; /* REM */ - static Array< ::String > sDownEvents; /* REM */ - static Array< ::String > sUpEvents; /* REM */ - static Dynamic getOrientation; - static inline Dynamic &getOrientation_dyn() {return getOrientation; } - - static Dynamic getNormalOrientation; - static inline Dynamic &getNormalOrientation_dyn() {return getNormalOrientation; } - - static Void setFixedOrientation( int inOrientation); - static Dynamic setFixedOrientation_dyn(); - - static Dynamic shouldRotateInterface; - static inline Dynamic &shouldRotateInterface_dyn() {return shouldRotateInterface; } - - static Dynamic nme_set_stage_handler; /* REM */ - static Dynamic &nme_set_stage_handler_dyn() { return nme_set_stage_handler;} - static Dynamic nme_render_stage; /* REM */ - static Dynamic &nme_render_stage_dyn() { return nme_render_stage;} - static Dynamic nme_stage_get_focus_id; /* REM */ - static Dynamic &nme_stage_get_focus_id_dyn() { return nme_stage_get_focus_id;} - static Dynamic nme_stage_set_focus; /* REM */ - static Dynamic &nme_stage_set_focus_dyn() { return nme_stage_set_focus;} - static Dynamic nme_stage_get_focus_rect; /* REM */ - static Dynamic &nme_stage_get_focus_rect_dyn() { return nme_stage_get_focus_rect;} - static Dynamic nme_stage_set_focus_rect; /* REM */ - static Dynamic &nme_stage_set_focus_rect_dyn() { return nme_stage_set_focus_rect;} - static Dynamic nme_stage_is_opengl; /* REM */ - static Dynamic &nme_stage_is_opengl_dyn() { return nme_stage_is_opengl;} - static Dynamic nme_stage_get_stage_width; /* REM */ - static Dynamic &nme_stage_get_stage_width_dyn() { return nme_stage_get_stage_width;} - static Dynamic nme_stage_get_stage_height; /* REM */ - static Dynamic &nme_stage_get_stage_height_dyn() { return nme_stage_get_stage_height;} - static Dynamic nme_stage_get_dpi_scale; /* REM */ - static Dynamic &nme_stage_get_dpi_scale_dyn() { return nme_stage_get_dpi_scale;} - static Dynamic nme_stage_get_scale_mode; /* REM */ - static Dynamic &nme_stage_get_scale_mode_dyn() { return nme_stage_get_scale_mode;} - static Dynamic nme_stage_set_scale_mode; /* REM */ - static Dynamic &nme_stage_set_scale_mode_dyn() { return nme_stage_set_scale_mode;} - static Dynamic nme_stage_get_align; /* REM */ - static Dynamic &nme_stage_get_align_dyn() { return nme_stage_get_align;} - static Dynamic nme_stage_set_align; /* REM */ - static Dynamic &nme_stage_set_align_dyn() { return nme_stage_set_align;} - static Dynamic nme_stage_get_quality; /* REM */ - static Dynamic &nme_stage_get_quality_dyn() { return nme_stage_get_quality;} - static Dynamic nme_stage_set_quality; /* REM */ - static Dynamic &nme_stage_set_quality_dyn() { return nme_stage_set_quality;} - static Dynamic nme_stage_get_display_state; /* REM */ - static Dynamic &nme_stage_get_display_state_dyn() { return nme_stage_get_display_state;} - static Dynamic nme_stage_set_display_state; /* REM */ - static Dynamic &nme_stage_set_display_state_dyn() { return nme_stage_set_display_state;} - static Dynamic nme_stage_set_next_wake; /* REM */ - static Dynamic &nme_stage_set_next_wake_dyn() { return nme_stage_set_next_wake;} - static Dynamic nme_stage_request_render; /* REM */ - static Dynamic nme_stage_show_cursor; /* REM */ - static Dynamic &nme_stage_show_cursor_dyn() { return nme_stage_show_cursor;} - static Dynamic nme_stage_set_fixed_orientation; /* REM */ - static Dynamic &nme_stage_set_fixed_orientation_dyn() { return nme_stage_set_fixed_orientation;} - static Dynamic nme_stage_get_orientation; /* REM */ - static Dynamic &nme_stage_get_orientation_dyn() { return nme_stage_get_orientation;} - static Dynamic nme_stage_get_normal_orientation; /* REM */ - static Dynamic &nme_stage_get_normal_orientation_dyn() { return nme_stage_get_normal_orientation;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_Stage */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/StageAlign.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/StageAlign.h deleted file mode 100644 index f3a5946..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/StageAlign.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_neash_display_StageAlign -#define INCLUDED_neash_display_StageAlign - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,StageAlign) -namespace neash{ -namespace display{ - - -class StageAlign_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef StageAlign_obj OBJ_; - - public: - StageAlign_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.StageAlign"); } - ::String __ToString() const { return HX_CSTRING("StageAlign.") + tag; } - - static ::neash::display::StageAlign BOTTOM; - static inline ::neash::display::StageAlign BOTTOM_dyn() { return BOTTOM; } - static ::neash::display::StageAlign BOTTOM_LEFT; - static inline ::neash::display::StageAlign BOTTOM_LEFT_dyn() { return BOTTOM_LEFT; } - static ::neash::display::StageAlign BOTTOM_RIGHT; - static inline ::neash::display::StageAlign BOTTOM_RIGHT_dyn() { return BOTTOM_RIGHT; } - static ::neash::display::StageAlign LEFT; - static inline ::neash::display::StageAlign LEFT_dyn() { return LEFT; } - static ::neash::display::StageAlign RIGHT; - static inline ::neash::display::StageAlign RIGHT_dyn() { return RIGHT; } - static ::neash::display::StageAlign TOP; - static inline ::neash::display::StageAlign TOP_dyn() { return TOP; } - static ::neash::display::StageAlign TOP_LEFT; - static inline ::neash::display::StageAlign TOP_LEFT_dyn() { return TOP_LEFT; } - static ::neash::display::StageAlign TOP_RIGHT; - static inline ::neash::display::StageAlign TOP_RIGHT_dyn() { return TOP_RIGHT; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_StageAlign */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/StageDisplayState.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/StageDisplayState.h deleted file mode 100644 index cc293fa..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/StageDisplayState.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_display_StageDisplayState -#define INCLUDED_neash_display_StageDisplayState - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,StageDisplayState) -namespace neash{ -namespace display{ - - -class StageDisplayState_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef StageDisplayState_obj OBJ_; - - public: - StageDisplayState_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.StageDisplayState"); } - ::String __ToString() const { return HX_CSTRING("StageDisplayState.") + tag; } - - static ::neash::display::StageDisplayState FULL_SCREEN; - static inline ::neash::display::StageDisplayState FULL_SCREEN_dyn() { return FULL_SCREEN; } - static ::neash::display::StageDisplayState FULL_SCREEN_INTERACTIVE; - static inline ::neash::display::StageDisplayState FULL_SCREEN_INTERACTIVE_dyn() { return FULL_SCREEN_INTERACTIVE; } - static ::neash::display::StageDisplayState NORMAL; - static inline ::neash::display::StageDisplayState NORMAL_dyn() { return NORMAL; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_StageDisplayState */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/StageQuality.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/StageQuality.h deleted file mode 100644 index b82b98d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/StageQuality.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_neash_display_StageQuality -#define INCLUDED_neash_display_StageQuality - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,StageQuality) -namespace neash{ -namespace display{ - - -class StageQuality_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef StageQuality_obj OBJ_; - - public: - StageQuality_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.StageQuality"); } - ::String __ToString() const { return HX_CSTRING("StageQuality.") + tag; } - - static ::neash::display::StageQuality BEST; - static inline ::neash::display::StageQuality BEST_dyn() { return BEST; } - static ::neash::display::StageQuality HIGH; - static inline ::neash::display::StageQuality HIGH_dyn() { return HIGH; } - static ::neash::display::StageQuality LOW; - static inline ::neash::display::StageQuality LOW_dyn() { return LOW; } - static ::neash::display::StageQuality MEDIUM; - static inline ::neash::display::StageQuality MEDIUM_dyn() { return MEDIUM; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_StageQuality */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/StageScaleMode.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/StageScaleMode.h deleted file mode 100644 index 9a84d48..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/StageScaleMode.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_neash_display_StageScaleMode -#define INCLUDED_neash_display_StageScaleMode - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,StageScaleMode) -namespace neash{ -namespace display{ - - -class StageScaleMode_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef StageScaleMode_obj OBJ_; - - public: - StageScaleMode_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.StageScaleMode"); } - ::String __ToString() const { return HX_CSTRING("StageScaleMode.") + tag; } - - static ::neash::display::StageScaleMode EXACT_FIT; - static inline ::neash::display::StageScaleMode EXACT_FIT_dyn() { return EXACT_FIT; } - static ::neash::display::StageScaleMode NO_BORDER; - static inline ::neash::display::StageScaleMode NO_BORDER_dyn() { return NO_BORDER; } - static ::neash::display::StageScaleMode NO_SCALE; - static inline ::neash::display::StageScaleMode NO_SCALE_dyn() { return NO_SCALE; } - static ::neash::display::StageScaleMode SHOW_ALL; - static inline ::neash::display::StageScaleMode SHOW_ALL_dyn() { return SHOW_ALL; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_StageScaleMode */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/Tilesheet.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/Tilesheet.h deleted file mode 100644 index ff67e8f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/Tilesheet.h +++ /dev/null @@ -1,62 +0,0 @@ -#ifndef INCLUDED_neash_display_Tilesheet -#define INCLUDED_neash_display_Tilesheet - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,Graphics) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,Tilesheet) -HX_DECLARE_CLASS2(neash,geom,Point) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace neash{ -namespace display{ - - -class Tilesheet_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Tilesheet_obj OBJ_; - Tilesheet_obj(); - Void __construct(::neash::display::BitmapData inImage); - - public: - static hx::ObjectPtr< Tilesheet_obj > __new(::neash::display::BitmapData inImage); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Tilesheet_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Tilesheet"); } - - virtual Void drawTiles( ::neash::display::Graphics graphics,Array< Float > tileData,hx::Null< bool > smooth,hx::Null< int > flags); - Dynamic drawTiles_dyn(); - - virtual Void addTileRect( ::neash::geom::Rectangle rectangle,::neash::geom::Point centerPoint); - Dynamic addTileRect_dyn(); - - Dynamic nmeHandle; /* REM */ - ::neash::display::BitmapData nmeBitmap; /* REM */ - static int TILE_SCALE; /* REM */ - static int TILE_ROTATION; /* REM */ - static int TILE_RGB; /* REM */ - static int TILE_ALPHA; /* REM */ - static int TILE_TRANS_2x2; /* REM */ - static int TILE_BLEND_NORMAL; /* REM */ - static int TILE_BLEND_ADD; /* REM */ - static Dynamic nme_tilesheet_create; /* REM */ - static Dynamic &nme_tilesheet_create_dyn() { return nme_tilesheet_create;} - static Dynamic nme_tilesheet_add_rect; /* REM */ - static Dynamic &nme_tilesheet_add_rect_dyn() { return nme_tilesheet_add_rect;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_Tilesheet */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/TouchInfo.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/TouchInfo.h deleted file mode 100644 index d5021f1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/TouchInfo.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef INCLUDED_neash_display_TouchInfo -#define INCLUDED_neash_display_TouchInfo - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,TouchInfo) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace display{ - - -class TouchInfo_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef TouchInfo_obj OBJ_; - TouchInfo_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< TouchInfo_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TouchInfo_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TouchInfo"); } - - Array< ::neash::display::InteractiveObject > touchOverObjects; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_TouchInfo */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/TriangleCulling.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/TriangleCulling.h deleted file mode 100644 index bfae314..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/display/TriangleCulling.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_display_TriangleCulling -#define INCLUDED_neash_display_TriangleCulling - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,TriangleCulling) -namespace neash{ -namespace display{ - - -class TriangleCulling_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef TriangleCulling_obj OBJ_; - - public: - TriangleCulling_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.TriangleCulling"); } - ::String __ToString() const { return HX_CSTRING("TriangleCulling.") + tag; } - - static ::neash::display::TriangleCulling NEGATIVE; - static inline ::neash::display::TriangleCulling NEGATIVE_dyn() { return NEGATIVE; } - static ::neash::display::TriangleCulling NONE; - static inline ::neash::display::TriangleCulling NONE_dyn() { return NONE; } - static ::neash::display::TriangleCulling POSITIVE; - static inline ::neash::display::TriangleCulling POSITIVE_dyn() { return POSITIVE; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_TriangleCulling */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/errors/ArgumentError.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/errors/ArgumentError.h deleted file mode 100644 index a75be21..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/errors/ArgumentError.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_neash_errors_ArgumentError -#define INCLUDED_neash_errors_ArgumentError - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,errors,ArgumentError) -HX_DECLARE_CLASS2(neash,errors,Error) -namespace neash{ -namespace errors{ - - -class ArgumentError_obj : public ::neash::errors::Error_obj{ - public: - typedef ::neash::errors::Error_obj super; - typedef ArgumentError_obj OBJ_; - ArgumentError_obj(); - Void __construct(Dynamic inMessage,Dynamic id); - - public: - static hx::ObjectPtr< ArgumentError_obj > __new(Dynamic inMessage,Dynamic id); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ArgumentError_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ArgumentError"); } - -}; - -} // end namespace neash -} // end namespace errors - -#endif /* INCLUDED_neash_errors_ArgumentError */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/errors/EOFError.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/errors/EOFError.h deleted file mode 100644 index 8e34379..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/errors/EOFError.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_neash_errors_EOFError -#define INCLUDED_neash_errors_EOFError - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,errors,EOFError) -HX_DECLARE_CLASS2(neash,errors,Error) -namespace neash{ -namespace errors{ - - -class EOFError_obj : public ::neash::errors::Error_obj{ - public: - typedef ::neash::errors::Error_obj super; - typedef EOFError_obj OBJ_; - EOFError_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< EOFError_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~EOFError_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("EOFError"); } - -}; - -} // end namespace neash -} // end namespace errors - -#endif /* INCLUDED_neash_errors_EOFError */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/errors/Error.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/errors/Error.h deleted file mode 100644 index 9189d95..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/errors/Error.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_neash_errors_Error -#define INCLUDED_neash_errors_Error - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,errors,Error) -namespace neash{ -namespace errors{ - - -class Error_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Error_obj OBJ_; - Error_obj(); - Void __construct(Dynamic inMessage,Dynamic __o_id); - - public: - static hx::ObjectPtr< Error_obj > __new(Dynamic inMessage,Dynamic __o_id); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Error_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Error"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual ::String getStackTrace( ); - Dynamic getStackTrace_dyn(); - - Dynamic name; /* REM */ - Dynamic message; /* REM */ - int errorID; /* REM */ -}; - -} // end namespace neash -} // end namespace errors - -#endif /* INCLUDED_neash_errors_Error */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/errors/RangeError.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/errors/RangeError.h deleted file mode 100644 index 8ecf6bd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/errors/RangeError.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_neash_errors_RangeError -#define INCLUDED_neash_errors_RangeError - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,errors,Error) -HX_DECLARE_CLASS2(neash,errors,RangeError) -namespace neash{ -namespace errors{ - - -class RangeError_obj : public ::neash::errors::Error_obj{ - public: - typedef ::neash::errors::Error_obj super; - typedef RangeError_obj OBJ_; - RangeError_obj(); - Void __construct(::String __o_inMessage); - - public: - static hx::ObjectPtr< RangeError_obj > __new(::String __o_inMessage); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~RangeError_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("RangeError"); } - -}; - -} // end namespace neash -} // end namespace errors - -#endif /* INCLUDED_neash_errors_RangeError */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/ErrorEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/ErrorEvent.h deleted file mode 100644 index bb89f63..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/ErrorEvent.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_neash_events_ErrorEvent -#define INCLUDED_neash_events_ErrorEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,ErrorEvent) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,TextEvent) -namespace neash{ -namespace events{ - - -class ErrorEvent_obj : public ::neash::events::TextEvent_obj{ - public: - typedef ::neash::events::TextEvent_obj super; - typedef ErrorEvent_obj OBJ_; - ErrorEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id); - - public: - static hx::ObjectPtr< ErrorEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ErrorEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ErrorEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - int errorID; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_ErrorEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/Event.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/Event.h deleted file mode 100644 index 18a0c04..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/Event.h +++ /dev/null @@ -1,122 +0,0 @@ -#ifndef INCLUDED_neash_events_Event -#define INCLUDED_neash_events_Event - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,events,Event) -namespace neash{ -namespace events{ - - -class Event_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Event_obj OBJ_; - Event_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable); - - public: - static hx::ObjectPtr< Event_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Event_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Event"); } - - virtual ::String nmeGetType( ); - Dynamic nmeGetType_dyn(); - - virtual Dynamic nmeSetTarget( Dynamic v); - Dynamic nmeSetTarget_dyn(); - - virtual Dynamic nmeGetTarget( ); - Dynamic nmeGetTarget_dyn(); - - virtual int nmeGetEventPhase( ); - Dynamic nmeGetEventPhase_dyn(); - - virtual Dynamic nmeSetCurrentTarget( Dynamic v); - Dynamic nmeSetCurrentTarget_dyn(); - - virtual Dynamic nmeGetCurrentTarget( ); - Dynamic nmeGetCurrentTarget_dyn(); - - virtual bool nmeGetCancelable( ); - Dynamic nmeGetCancelable_dyn(); - - virtual bool nmeGetBubbles( ); - Dynamic nmeGetBubbles_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void stopPropagation( ); - Dynamic stopPropagation_dyn(); - - virtual Void stopImmediatePropagation( ); - Dynamic stopImmediatePropagation_dyn(); - - virtual Void nmeSetPhase( int inPhase); - Dynamic nmeSetPhase_dyn(); - - virtual bool nmeGetIsCancelledNow( ); - Dynamic nmeGetIsCancelledNow_dyn(); - - virtual bool nmeGetIsCancelled( ); - Dynamic nmeGetIsCancelled_dyn(); - - virtual ::neash::events::Event clone( ); - Dynamic clone_dyn(); - - bool nmeIsCancelledNow; /* REM */ - bool nmeIsCancelled; /* REM */ - ::String _type; /* REM */ - Dynamic _target; /* REM */ - int _eventPhase; /* REM */ - Dynamic _currentTarget; /* REM */ - bool _cancelable; /* REM */ - bool _bubbles; /* REM */ - ::String type; /* REM */ - Dynamic target; /* REM */ - int eventPhase; /* REM */ - Dynamic currentTarget; /* REM */ - bool cancelable; /* REM */ - bool bubbles; /* REM */ - static ::String ACTIVATE; /* REM */ - static ::String ADDED; /* REM */ - static ::String ADDED_TO_STAGE; /* REM */ - static ::String CANCEL; /* REM */ - static ::String CHANGE; /* REM */ - static ::String CLOSE; /* REM */ - static ::String COMPLETE; /* REM */ - static ::String CONNECT; /* REM */ - static ::String DEACTIVATE; /* REM */ - static ::String ENTER_FRAME; /* REM */ - static ::String ID3; /* REM */ - static ::String INIT; /* REM */ - static ::String MOUSE_LEAVE; /* REM */ - static ::String OPEN; /* REM */ - static ::String REMOVED; /* REM */ - static ::String REMOVED_FROM_STAGE; /* REM */ - static ::String RENDER; /* REM */ - static ::String RESIZE; /* REM */ - static ::String SCROLL; /* REM */ - static ::String SELECT; /* REM */ - static ::String SOUND_COMPLETE; /* REM */ - static ::String TAB_CHILDREN_CHANGE; /* REM */ - static ::String TAB_ENABLED_CHANGE; /* REM */ - static ::String TAB_INDEX_CHANGE; /* REM */ - static ::String UNLOAD; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_Event */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/EventDispatcher.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/EventDispatcher.h deleted file mode 100644 index a11f4ff..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/EventDispatcher.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef INCLUDED_neash_events_EventDispatcher -#define INCLUDED_neash_events_EventDispatcher - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace events{ - - -class EventDispatcher_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef EventDispatcher_obj OBJ_; - EventDispatcher_obj(); - Void __construct(::neash::events::IEventDispatcher target); - - public: - static hx::ObjectPtr< EventDispatcher_obj > __new(::neash::events::IEventDispatcher target); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~EventDispatcher_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::neash::events::IEventDispatcher_obj *() - { return new ::neash::events::IEventDispatcher_delegate_< EventDispatcher_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("EventDispatcher"); } - - virtual bool willTrigger( ::String type); - Dynamic willTrigger_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void removeEventListener( ::String type,Dynamic listener,hx::Null< bool > capture); - Dynamic removeEventListener_dyn(); - - virtual bool hasEventListener( ::String type); - Dynamic hasEventListener_dyn(); - - virtual Void DispatchIOErrorEvent( ); - Dynamic DispatchIOErrorEvent_dyn(); - - virtual bool dispatchEvent( ::neash::events::Event event); - Dynamic dispatchEvent_dyn(); - - virtual Void DispatchCompleteEvent( ); - Dynamic DispatchCompleteEvent_dyn(); - - virtual Void addEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference); - Dynamic addEventListener_dyn(); - - ::neash::events::IEventDispatcher nmeTarget; /* REM */ - ::Hash nmeEventMap; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_EventDispatcher */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/EventPhase.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/EventPhase.h deleted file mode 100644 index 7f4d923..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/EventPhase.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_neash_events_EventPhase -#define INCLUDED_neash_events_EventPhase - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,events,EventPhase) -namespace neash{ -namespace events{ - - -class EventPhase_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef EventPhase_obj OBJ_; - EventPhase_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< EventPhase_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~EventPhase_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("EventPhase"); } - - static int CAPTURING_PHASE; /* REM */ - static int AT_TARGET; /* REM */ - static int BUBBLING_PHASE; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_EventPhase */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/FocusEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/FocusEvent.h deleted file mode 100644 index d8b7b46..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/FocusEvent.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef INCLUDED_neash_events_FocusEvent -#define INCLUDED_neash_events_FocusEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,FocusEvent) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace events{ - - -class FocusEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef FocusEvent_obj OBJ_; - FocusEvent_obj(); - Void __construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_shiftKey,hx::Null< int > __o_keyCode,::String __o_direction); - - public: - static hx::ObjectPtr< FocusEvent_obj > __new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_shiftKey,hx::Null< int > __o_keyCode,::String __o_direction); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~FocusEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("FocusEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - bool shiftKey; /* REM */ - ::neash::display::InteractiveObject relatedObject; /* REM */ - int keyCode; /* REM */ - static ::String FOCUS_IN; /* REM */ - static ::String FOCUS_OUT; /* REM */ - static ::String KEY_FOCUS_CHANGE; /* REM */ - static ::String MOUSE_FOCUS_CHANGE; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_FocusEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/HTTPStatusEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/HTTPStatusEvent.h deleted file mode 100644 index 989cf2f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/HTTPStatusEvent.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_neash_events_HTTPStatusEvent -#define INCLUDED_neash_events_HTTPStatusEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,HTTPStatusEvent) -namespace neash{ -namespace events{ - - -class HTTPStatusEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef HTTPStatusEvent_obj OBJ_; - HTTPStatusEvent_obj(); - Void __construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_status); - - public: - static hx::ObjectPtr< HTTPStatusEvent_obj > __new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_status); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~HTTPStatusEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("HTTPStatusEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - int status; /* REM */ - static ::String HTTP_STATUS; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_HTTPStatusEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/IEventDispatcher.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/IEventDispatcher.h deleted file mode 100644 index c4161cd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/IEventDispatcher.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_neash_events_IEventDispatcher -#define INCLUDED_neash_events_IEventDispatcher - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace events{ - - -class IEventDispatcher_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IEventDispatcher_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual bool willTrigger( ::String type)=0; - Dynamic willTrigger_dyn(); -virtual Void removeEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture)=0; - Dynamic removeEventListener_dyn(); -virtual bool hasEventListener( ::String type)=0; - Dynamic hasEventListener_dyn(); -virtual bool dispatchEvent( ::neash::events::Event event)=0; - Dynamic dispatchEvent_dyn(); -virtual Void addEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference)=0; - Dynamic addEventListener_dyn(); -}; - -#define DELEGATE_neash_events_IEventDispatcher \ -virtual bool willTrigger( ::String type) { return mDelegate->willTrigger(type);} \ -virtual Dynamic willTrigger_dyn() { return mDelegate->willTrigger_dyn();} \ -virtual Void removeEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture) { return mDelegate->removeEventListener(type,listener,useCapture);} \ -virtual Dynamic removeEventListener_dyn() { return mDelegate->removeEventListener_dyn();} \ -virtual bool hasEventListener( ::String type) { return mDelegate->hasEventListener(type);} \ -virtual Dynamic hasEventListener_dyn() { return mDelegate->hasEventListener_dyn();} \ -virtual bool dispatchEvent( ::neash::events::Event event) { return mDelegate->dispatchEvent(event);} \ -virtual Dynamic dispatchEvent_dyn() { return mDelegate->dispatchEvent_dyn();} \ -virtual Void addEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference) { return mDelegate->addEventListener(type,listener,useCapture,priority,useWeakReference);} \ -virtual Dynamic addEventListener_dyn() { return mDelegate->addEventListener_dyn();} \ - - -template -class IEventDispatcher_delegate_ : public IEventDispatcher_obj -{ - protected: - IMPL *mDelegate; - public: - IEventDispatcher_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_neash_events_IEventDispatcher -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_IEventDispatcher */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/IOErrorEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/IOErrorEvent.h deleted file mode 100644 index 44e2ae4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/IOErrorEvent.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_neash_events_IOErrorEvent -#define INCLUDED_neash_events_IOErrorEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,ErrorEvent) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,IOErrorEvent) -HX_DECLARE_CLASS2(neash,events,TextEvent) -namespace neash{ -namespace events{ - - -class IOErrorEvent_obj : public ::neash::events::ErrorEvent_obj{ - public: - typedef ::neash::events::ErrorEvent_obj super; - typedef IOErrorEvent_obj OBJ_; - IOErrorEvent_obj(); - Void __construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id); - - public: - static hx::ObjectPtr< IOErrorEvent_obj > __new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~IOErrorEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("IOErrorEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - static ::String IO_ERROR; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_IOErrorEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/JoystickEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/JoystickEvent.h deleted file mode 100644 index 7d6c07e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/JoystickEvent.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_neash_events_JoystickEvent -#define INCLUDED_neash_events_JoystickEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,JoystickEvent) -namespace neash{ -namespace events{ - - -class JoystickEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef JoystickEvent_obj OBJ_; - JoystickEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_device,hx::Null< int > __o_id,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< Float > __o_z); - - public: - static hx::ObjectPtr< JoystickEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_device,hx::Null< int > __o_id,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< Float > __o_z); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~JoystickEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("JoystickEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - Float z; /* REM */ - Float y; /* REM */ - Float x; /* REM */ - int id; /* REM */ - int device; /* REM */ - static ::String AXIS_MOVE; /* REM */ - static ::String BALL_MOVE; /* REM */ - static ::String BUTTON_DOWN; /* REM */ - static ::String BUTTON_UP; /* REM */ - static ::String HAT_MOVE; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_JoystickEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/KeyboardEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/KeyboardEvent.h deleted file mode 100644 index 5acb04a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/KeyboardEvent.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_neash_events_KeyboardEvent -#define INCLUDED_neash_events_KeyboardEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,KeyboardEvent) -namespace neash{ -namespace events{ - - -class KeyboardEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef KeyboardEvent_obj OBJ_; - KeyboardEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_charCodeValue,hx::Null< int > __o_keyCodeValue,hx::Null< int > __o_keyLocationValue,hx::Null< bool > __o_ctrlKeyValue,hx::Null< bool > __o_altKeyValue,hx::Null< bool > __o_shiftKeyValue,hx::Null< bool > __o_controlKeyValue,hx::Null< bool > __o_commandKeyValue); - - public: - static hx::ObjectPtr< KeyboardEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_charCodeValue,hx::Null< int > __o_keyCodeValue,hx::Null< int > __o_keyLocationValue,hx::Null< bool > __o_ctrlKeyValue,hx::Null< bool > __o_altKeyValue,hx::Null< bool > __o_shiftKeyValue,hx::Null< bool > __o_controlKeyValue,hx::Null< bool > __o_commandKeyValue); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~KeyboardEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("KeyboardEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - bool shiftKey; /* REM */ - int keyLocation; /* REM */ - int keyCode; /* REM */ - bool commandKey; /* REM */ - bool controlKey; /* REM */ - bool ctrlKey; /* REM */ - int charCode; /* REM */ - bool altKey; /* REM */ - static ::String KEY_DOWN; /* REM */ - static ::String KEY_UP; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_KeyboardEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/Listener.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/Listener.h deleted file mode 100644 index 3a7e4a5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/Listener.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef INCLUDED_neash_events_Listener -#define INCLUDED_neash_events_Listener - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,Listener) -namespace neash{ -namespace events{ - - -class Listener_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Listener_obj OBJ_; - Listener_obj(); - Void __construct(Dynamic inListener,bool inUseCapture,int inPriority); - - public: - static hx::ObjectPtr< Listener_obj > __new(Dynamic inListener,bool inUseCapture,int inPriority); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Listener_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Listener"); } - - virtual bool Is( Dynamic inListener,bool inCapture); - Dynamic Is_dyn(); - - virtual Void dispatchEvent( ::neash::events::Event event); - Dynamic dispatchEvent_dyn(); - - bool mUseCapture; /* REM */ - int mPriority; /* REM */ - Dynamic mListner; /* REM */ - Dynamic &mListner_dyn() { return mListner;} - int mID; /* REM */ - static int sIDs; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_Listener */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/MouseEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/MouseEvent.h deleted file mode 100644 index 0552498..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/MouseEvent.h +++ /dev/null @@ -1,92 +0,0 @@ -#ifndef INCLUDED_neash_events_MouseEvent -#define INCLUDED_neash_events_MouseEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,events,MouseEvent) -HX_DECLARE_CLASS2(neash,geom,Point) -namespace neash{ -namespace events{ - - -class MouseEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef MouseEvent_obj OBJ_; - MouseEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_localX,hx::Null< Float > __o_localY,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_ctrlKey,hx::Null< bool > __o_altKey,hx::Null< bool > __o_shiftKey,hx::Null< bool > __o_buttonDown,hx::Null< int > __o_delta,hx::Null< bool > __o_commandKey,hx::Null< int > __o_clickCount); - - public: - static hx::ObjectPtr< MouseEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_localX,hx::Null< Float > __o_localY,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_ctrlKey,hx::Null< bool > __o_altKey,hx::Null< bool > __o_shiftKey,hx::Null< bool > __o_buttonDown,hx::Null< int > __o_delta,hx::Null< bool > __o_commandKey,hx::Null< int > __o_clickCount); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~MouseEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("MouseEvent"); } - - virtual Void updateAfterEvent( ); - Dynamic updateAfterEvent_dyn(); - - virtual ::String toString( ); - - virtual ::neash::events::MouseEvent nmeCreateSimilar( ::String inType,::neash::display::InteractiveObject related,::neash::display::InteractiveObject targ); - Dynamic nmeCreateSimilar_dyn(); - - virtual ::neash::events::Event clone( ); - - Float stageY; /* REM */ - Float stageX; /* REM */ - bool shiftKey; /* REM */ - ::neash::display::InteractiveObject relatedObject; /* REM */ - Float localY; /* REM */ - Float localX; /* REM */ - int delta; /* REM */ - bool ctrlKey; /* REM */ - bool commandKey; /* REM */ - int clickCount; /* REM */ - bool buttonDown; /* REM */ - bool altKey; /* REM */ - static ::String DOUBLE_CLICK; /* REM */ - static ::String CLICK; /* REM */ - static ::String MIDDLE_CLICK; /* REM */ - static ::String MIDDLE_MOUSE_DOWN; /* REM */ - static ::String MIDDLE_MOUSE_UP; /* REM */ - static ::String MOUSE_DOWN; /* REM */ - static ::String MOUSE_MOVE; /* REM */ - static ::String MOUSE_OUT; /* REM */ - static ::String MOUSE_OVER; /* REM */ - static ::String MOUSE_UP; /* REM */ - static ::String MOUSE_WHEEL; /* REM */ - static ::String RIGHT_CLICK; /* REM */ - static ::String RIGHT_MOUSE_DOWN; /* REM */ - static ::String RIGHT_MOUSE_UP; /* REM */ - static ::String ROLL_OUT; /* REM */ - static ::String ROLL_OVER; /* REM */ - static int efLeftDown; /* REM */ - static int efShiftDown; /* REM */ - static int efCtrlDown; /* REM */ - static int efAltDown; /* REM */ - static int efCommandDown; /* REM */ - static ::neash::events::MouseEvent nmeCreate( ::String inType,Dynamic inEvent,::neash::geom::Point inLocal,::neash::display::InteractiveObject inTarget); - static Dynamic nmeCreate_dyn(); - -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_MouseEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/ProgressEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/ProgressEvent.h deleted file mode 100644 index c378d1d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/ProgressEvent.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef INCLUDED_neash_events_ProgressEvent -#define INCLUDED_neash_events_ProgressEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,ProgressEvent) -namespace neash{ -namespace events{ - - -class ProgressEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef ProgressEvent_obj OBJ_; - ProgressEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_bytesLoaded,hx::Null< int > __o_bytesTotal); - - public: - static hx::ObjectPtr< ProgressEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_bytesLoaded,hx::Null< int > __o_bytesTotal); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ProgressEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ProgressEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - int bytesTotal; /* REM */ - int bytesLoaded; /* REM */ - static ::String PROGRESS; /* REM */ - static ::String SOCKET_DATA; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_ProgressEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/SampleDataEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/SampleDataEvent.h deleted file mode 100644 index 6b7772a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/SampleDataEvent.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_neash_events_SampleDataEvent -#define INCLUDED_neash_events_SampleDataEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,SampleDataEvent) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace events{ - - -class SampleDataEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef SampleDataEvent_obj OBJ_; - SampleDataEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable); - - public: - static hx::ObjectPtr< SampleDataEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SampleDataEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SampleDataEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - Float position; /* REM */ - ::neash::utils::ByteArray data; /* REM */ - static ::String SAMPLE_DATA; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_SampleDataEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/TextEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/TextEvent.h deleted file mode 100644 index c60ae99..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/TextEvent.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_neash_events_TextEvent -#define INCLUDED_neash_events_TextEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,TextEvent) -namespace neash{ -namespace events{ - - -class TextEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef TextEvent_obj OBJ_; - TextEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text); - - public: - static hx::ObjectPtr< TextEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TextEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TextEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - ::String text; /* REM */ - static ::String LINK; /* REM */ - static ::String TEXT_INPUT; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_TextEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/TouchEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/TouchEvent.h deleted file mode 100644 index f3abef0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/events/TouchEvent.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef INCLUDED_neash_events_TouchEvent -#define INCLUDED_neash_events_TouchEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,events,MouseEvent) -HX_DECLARE_CLASS2(neash,events,TouchEvent) -HX_DECLARE_CLASS2(neash,geom,Point) -namespace neash{ -namespace events{ - - -class TouchEvent_obj : public ::neash::events::MouseEvent_obj{ - public: - typedef ::neash::events::MouseEvent_obj super; - typedef TouchEvent_obj OBJ_; - TouchEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_in_localX,hx::Null< Float > __o_in_localY,hx::Null< Float > __o_in_sizeX,hx::Null< Float > __o_in_sizeY,::neash::display::InteractiveObject in_relatedObject,hx::Null< bool > __o_in_ctrlKey,hx::Null< bool > __o_in_altKey,hx::Null< bool > __o_in_shiftKey,hx::Null< bool > __o_in_buttonDown,hx::Null< int > __o_in_delta,hx::Null< bool > __o_in_commandKey,hx::Null< int > __o_in_clickCount); - - public: - static hx::ObjectPtr< TouchEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_in_localX,hx::Null< Float > __o_in_localY,hx::Null< Float > __o_in_sizeX,hx::Null< Float > __o_in_sizeY,::neash::display::InteractiveObject in_relatedObject,hx::Null< bool > __o_in_ctrlKey,hx::Null< bool > __o_in_altKey,hx::Null< bool > __o_in_shiftKey,hx::Null< bool > __o_in_buttonDown,hx::Null< int > __o_in_delta,hx::Null< bool > __o_in_commandKey,hx::Null< int > __o_in_clickCount); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TouchEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TouchEvent"); } - - virtual ::neash::events::MouseEvent nmeCreateSimilar( ::String inType,::neash::display::InteractiveObject related,::neash::display::InteractiveObject targ); - - Float sizeY; /* REM */ - Float sizeX; /* REM */ - int touchPointID; /* REM */ - bool isPrimaryTouchPoint; /* REM */ - static ::String TOUCH_BEGIN; /* REM */ - static ::String TOUCH_END; /* REM */ - static ::String TOUCH_MOVE; /* REM */ - static ::String TOUCH_OUT; /* REM */ - static ::String TOUCH_OVER; /* REM */ - static ::String TOUCH_ROLL_OUT; /* REM */ - static ::String TOUCH_ROLL_OVER; /* REM */ - static ::String TOUCH_TAP; /* REM */ - static ::neash::events::TouchEvent nmeCreate( ::String inType,Dynamic inEvent,::neash::geom::Point inLocal,::neash::display::InteractiveObject inTarget,Float sizeX,Float sizeY); - static Dynamic nmeCreate_dyn(); - -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_TouchEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/filters/BitmapFilter.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/filters/BitmapFilter.h deleted file mode 100644 index 1728260..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/filters/BitmapFilter.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_neash_filters_BitmapFilter -#define INCLUDED_neash_filters_BitmapFilter - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,filters,BitmapFilter) -namespace neash{ -namespace filters{ - - -class BitmapFilter_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef BitmapFilter_obj OBJ_; - BitmapFilter_obj(); - Void __construct(::String inType); - - public: - static hx::ObjectPtr< BitmapFilter_obj > __new(::String inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BitmapFilter_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BitmapFilter"); } - - virtual ::neash::filters::BitmapFilter clone( ); - Dynamic clone_dyn(); - - ::String type; /* REM */ -}; - -} // end namespace neash -} // end namespace filters - -#endif /* INCLUDED_neash_filters_BitmapFilter */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/geom/ColorTransform.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/geom/ColorTransform.h deleted file mode 100644 index bc62249..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/geom/ColorTransform.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef INCLUDED_neash_geom_ColorTransform -#define INCLUDED_neash_geom_ColorTransform - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,geom,ColorTransform) -namespace neash{ -namespace geom{ - - -class ColorTransform_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef ColorTransform_obj OBJ_; - ColorTransform_obj(); - Void __construct(hx::Null< Float > __o_inRedMultiplier,hx::Null< Float > __o_inGreenMultiplier,hx::Null< Float > __o_inBlueMultiplier,hx::Null< Float > __o_inAlphaMultiplier,hx::Null< Float > __o_inRedOffset,hx::Null< Float > __o_inGreenOffset,hx::Null< Float > __o_inBlueOffset,hx::Null< Float > __o_inAlphaOffset); - - public: - static hx::ObjectPtr< ColorTransform_obj > __new(hx::Null< Float > __o_inRedMultiplier,hx::Null< Float > __o_inGreenMultiplier,hx::Null< Float > __o_inBlueMultiplier,hx::Null< Float > __o_inAlphaMultiplier,hx::Null< Float > __o_inRedOffset,hx::Null< Float > __o_inGreenOffset,hx::Null< Float > __o_inBlueOffset,hx::Null< Float > __o_inAlphaOffset); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ColorTransform_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ColorTransform"); } - - virtual int nmeSetColor( int value); - Dynamic nmeSetColor_dyn(); - - virtual int nmeGetColor( ); - Dynamic nmeGetColor_dyn(); - - virtual Void concat( ::neash::geom::ColorTransform second); - Dynamic concat_dyn(); - - Float redOffset; /* REM */ - Float redMultiplier; /* REM */ - Float greenOffset; /* REM */ - Float greenMultiplier; /* REM */ - int color; /* REM */ - Float blueOffset; /* REM */ - Float blueMultiplier; /* REM */ - Float alphaOffset; /* REM */ - Float alphaMultiplier; /* REM */ -}; - -} // end namespace neash -} // end namespace geom - -#endif /* INCLUDED_neash_geom_ColorTransform */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/geom/Matrix.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/geom/Matrix.h deleted file mode 100644 index da4bbba..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/geom/Matrix.h +++ /dev/null @@ -1,85 +0,0 @@ -#ifndef INCLUDED_neash_geom_Matrix -#define INCLUDED_neash_geom_Matrix - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Point) -namespace neash{ -namespace geom{ - - -class Matrix_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Matrix_obj OBJ_; - Matrix_obj(); - Void __construct(Dynamic in_a,Dynamic in_b,Dynamic in_c,Dynamic in_d,Dynamic in_tx,Dynamic in_ty); - - public: - static hx::ObjectPtr< Matrix_obj > __new(Dynamic in_a,Dynamic in_b,Dynamic in_c,Dynamic in_d,Dynamic in_tx,Dynamic in_ty); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Matrix_obj(); - - HX_DO_RTTI; - double __INumField(int inFieldID); - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Matrix"); } - - virtual Void translate( Float inDX,Float inDY); - Dynamic translate_dyn(); - - virtual ::neash::geom::Point transformPoint( ::neash::geom::Point inPos); - Dynamic transformPoint_dyn(); - - virtual Void setRotation( Float inTheta,Dynamic inScale); - Dynamic setRotation_dyn(); - - virtual Void scale( Float inSX,Float inSY); - Dynamic scale_dyn(); - - virtual Void rotate( Float inTheta); - Dynamic rotate_dyn(); - - virtual ::neash::geom::Matrix mult( ::neash::geom::Matrix m); - Dynamic mult_dyn(); - - virtual ::neash::geom::Matrix invert( ); - Dynamic invert_dyn(); - - virtual Void identity( ); - Dynamic identity_dyn(); - - virtual ::neash::geom::Point deltaTransformPoint( ::neash::geom::Point point); - Dynamic deltaTransformPoint_dyn(); - - virtual Void createGradientBox( Float in_width,Float in_height,Dynamic rotation,Dynamic in_tx,Dynamic in_ty); - Dynamic createGradientBox_dyn(); - - virtual Void createBox( Float scaleX,Float scaleY,Dynamic rotation,Dynamic tx,Dynamic ty); - Dynamic createBox_dyn(); - - virtual Void concat( ::neash::geom::Matrix m); - Dynamic concat_dyn(); - - virtual ::neash::geom::Matrix clone( ); - Dynamic clone_dyn(); - - Float ty; /* REM */ - Float tx; /* REM */ - Float d; /* REM */ - Float c; /* REM */ - Float b; /* REM */ - Float a; /* REM */ -}; - -} // end namespace neash -} // end namespace geom - -#endif /* INCLUDED_neash_geom_Matrix */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/geom/Point.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/geom/Point.h deleted file mode 100644 index 5cc2aa5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/geom/Point.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef INCLUDED_neash_geom_Point -#define INCLUDED_neash_geom_Point - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,geom,Point) -namespace neash{ -namespace geom{ - - -class Point_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Point_obj OBJ_; - Point_obj(); - Void __construct(hx::Null< Float > __o_inX,hx::Null< Float > __o_inY); - - public: - static hx::ObjectPtr< Point_obj > __new(hx::Null< Float > __o_inX,hx::Null< Float > __o_inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Point_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Point"); } - - virtual Float nmeGetLength( ); - Dynamic nmeGetLength_dyn(); - - virtual ::neash::geom::Point subtract( ::neash::geom::Point v); - Dynamic subtract_dyn(); - - virtual Void offset( Float dx,Float dy); - Dynamic offset_dyn(); - - virtual Void normalize( Float thickness); - Dynamic normalize_dyn(); - - virtual bool equals( ::neash::geom::Point toCompare); - Dynamic equals_dyn(); - - virtual ::neash::geom::Point clone( ); - Dynamic clone_dyn(); - - virtual ::neash::geom::Point add( ::neash::geom::Point v); - Dynamic add_dyn(); - - Float y; /* REM */ - Float x; /* REM */ - Float length; /* REM */ - static Float distance( ::neash::geom::Point pt1,::neash::geom::Point pt2); - static Dynamic distance_dyn(); - - static ::neash::geom::Point interpolate( ::neash::geom::Point pt1,::neash::geom::Point pt2,Float f); - static Dynamic interpolate_dyn(); - - static ::neash::geom::Point polar( Float len,Float angle); - static Dynamic polar_dyn(); - -}; - -} // end namespace neash -} // end namespace geom - -#endif /* INCLUDED_neash_geom_Point */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/geom/Rectangle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/geom/Rectangle.h deleted file mode 100644 index 83bab98..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/geom/Rectangle.h +++ /dev/null @@ -1,141 +0,0 @@ -#ifndef INCLUDED_neash_geom_Rectangle -#define INCLUDED_neash_geom_Rectangle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Point) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace neash{ -namespace geom{ - - -class Rectangle_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Rectangle_obj OBJ_; - Rectangle_obj(); - Void __construct(Dynamic inX,Dynamic inY,Dynamic inWidth,Dynamic inHeight); - - public: - static hx::ObjectPtr< Rectangle_obj > __new(Dynamic inX,Dynamic inY,Dynamic inWidth,Dynamic inHeight); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Rectangle_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Rectangle"); } - - virtual ::neash::geom::Point nmeSetTopLeft( ::neash::geom::Point p); - Dynamic nmeSetTopLeft_dyn(); - - virtual ::neash::geom::Point nmeGetTopLeft( ); - Dynamic nmeGetTopLeft_dyn(); - - virtual Float nmeSetTop( Float t); - Dynamic nmeSetTop_dyn(); - - virtual Float nmeGetTop( ); - Dynamic nmeGetTop_dyn(); - - virtual ::neash::geom::Point nmeSetSize( ::neash::geom::Point p); - Dynamic nmeSetSize_dyn(); - - virtual ::neash::geom::Point nmeGetSize( ); - Dynamic nmeGetSize_dyn(); - - virtual Float nmeSetRight( Float r); - Dynamic nmeSetRight_dyn(); - - virtual Float nmeGetRight( ); - Dynamic nmeGetRight_dyn(); - - virtual Float nmeSetLeft( Float l); - Dynamic nmeSetLeft_dyn(); - - virtual Float nmeGetLeft( ); - Dynamic nmeGetLeft_dyn(); - - virtual ::neash::geom::Point nmeSetBottomRight( ::neash::geom::Point p); - Dynamic nmeSetBottomRight_dyn(); - - virtual ::neash::geom::Point nmeGetBottomRight( ); - Dynamic nmeGetBottomRight_dyn(); - - virtual Float nmeSetBottom( Float b); - Dynamic nmeSetBottom_dyn(); - - virtual Float nmeGetBottom( ); - Dynamic nmeGetBottom_dyn(); - - virtual ::neash::geom::Rectangle _union( ::neash::geom::Rectangle toUnion); - Dynamic _union_dyn(); - - virtual ::neash::geom::Rectangle transform( ::neash::geom::Matrix m); - Dynamic transform_dyn(); - - virtual Void setEmpty( ); - Dynamic setEmpty_dyn(); - - virtual Void offsetPoint( ::neash::geom::Point point); - Dynamic offsetPoint_dyn(); - - virtual Void offset( Float dx,Float dy); - Dynamic offset_dyn(); - - virtual bool isEmpty( ); - Dynamic isEmpty_dyn(); - - virtual bool intersects( ::neash::geom::Rectangle toIntersect); - Dynamic intersects_dyn(); - - virtual ::neash::geom::Rectangle intersection( ::neash::geom::Rectangle toIntersect); - Dynamic intersection_dyn(); - - virtual Void inflatePoint( ::neash::geom::Point point); - Dynamic inflatePoint_dyn(); - - virtual Void inflate( Float dx,Float dy); - Dynamic inflate_dyn(); - - virtual Void extendBounds( ::neash::geom::Rectangle r); - Dynamic extendBounds_dyn(); - - virtual bool equals( ::neash::geom::Rectangle toCompare); - Dynamic equals_dyn(); - - virtual bool containsRect( ::neash::geom::Rectangle rect); - Dynamic containsRect_dyn(); - - virtual bool containsPoint( ::neash::geom::Point point); - Dynamic containsPoint_dyn(); - - virtual bool contains( Float inX,Float inY); - Dynamic contains_dyn(); - - virtual ::neash::geom::Rectangle clone( ); - Dynamic clone_dyn(); - - Float y; /* REM */ - Float x; /* REM */ - Float width; /* REM */ - ::neash::geom::Point topLeft; /* REM */ - Float top; /* REM */ - ::neash::geom::Point size; /* REM */ - Float right; /* REM */ - Float left; /* REM */ - Float height; /* REM */ - ::neash::geom::Point bottomRight; /* REM */ - Float bottom; /* REM */ -}; - -} // end namespace neash -} // end namespace geom - -#endif /* INCLUDED_neash_geom_Rectangle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/geom/Transform.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/geom/Transform.h deleted file mode 100644 index 064ad25..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/geom/Transform.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_neash_geom_Transform -#define INCLUDED_neash_geom_Transform - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,geom,ColorTransform) -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -HX_DECLARE_CLASS2(neash,geom,Transform) -namespace neash{ -namespace geom{ - - -class Transform_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Transform_obj OBJ_; - Transform_obj(); - Void __construct(::neash::display::DisplayObject inParent); - - public: - static hx::ObjectPtr< Transform_obj > __new(::neash::display::DisplayObject inParent); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Transform_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Transform"); } - - virtual ::neash::geom::Rectangle nmeGetPixelBounds( ); - Dynamic nmeGetPixelBounds_dyn(); - - virtual ::neash::geom::Matrix nmeSetMatrix( ::neash::geom::Matrix inMatrix); - Dynamic nmeSetMatrix_dyn(); - - virtual ::neash::geom::Matrix nmeGetMatrix( ); - Dynamic nmeGetMatrix_dyn(); - - virtual ::neash::geom::Matrix nmeGetConcatenatedMatrix( ); - Dynamic nmeGetConcatenatedMatrix_dyn(); - - virtual ::neash::geom::ColorTransform nmeGetConcatenatedColorTransform( ); - Dynamic nmeGetConcatenatedColorTransform_dyn(); - - virtual ::neash::geom::ColorTransform nmeSetColorTransform( ::neash::geom::ColorTransform inTrans); - Dynamic nmeSetColorTransform_dyn(); - - virtual ::neash::geom::ColorTransform nmeGetColorTransform( ); - Dynamic nmeGetColorTransform_dyn(); - - ::neash::display::DisplayObject nmeObj; /* REM */ - ::neash::geom::Rectangle pixelBounds; /* REM */ - ::neash::geom::Matrix matrix; /* REM */ - ::neash::geom::Matrix concatenatedMatrix; /* REM */ - ::neash::geom::ColorTransform concatenatedColorTransform; /* REM */ - ::neash::geom::ColorTransform colorTransform; /* REM */ -}; - -} // end namespace neash -} // end namespace geom - -#endif /* INCLUDED_neash_geom_Transform */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/media/ID3Info.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/media/ID3Info.h deleted file mode 100644 index 6c0f446..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/media/ID3Info.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef INCLUDED_neash_media_ID3Info -#define INCLUDED_neash_media_ID3Info - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,media,ID3Info) -namespace neash{ -namespace media{ - - -class ID3Info_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef ID3Info_obj OBJ_; - ID3Info_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ID3Info_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ID3Info_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ID3Info"); } - - ::String year; /* REM */ - ::String track; /* REM */ - ::String songName; /* REM */ - ::String genre; /* REM */ - ::String comment; /* REM */ - ::String artist; /* REM */ - ::String album; /* REM */ -}; - -} // end namespace neash -} // end namespace media - -#endif /* INCLUDED_neash_media_ID3Info */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/media/Sound.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/media/Sound.h deleted file mode 100644 index c0a2573..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/media/Sound.h +++ /dev/null @@ -1,101 +0,0 @@ -#ifndef INCLUDED_neash_media_Sound -#define INCLUDED_neash_media_Sound - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,media,ID3Info) -HX_DECLARE_CLASS2(neash,media,Sound) -HX_DECLARE_CLASS2(neash,media,SoundChannel) -HX_DECLARE_CLASS2(neash,media,SoundLoaderContext) -HX_DECLARE_CLASS2(neash,media,SoundTransform) -HX_DECLARE_CLASS2(neash,net,URLRequest) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace media{ - - -class Sound_obj : public ::neash::events::EventDispatcher_obj{ - public: - typedef ::neash::events::EventDispatcher_obj super; - typedef Sound_obj OBJ_; - Sound_obj(); - Void __construct(::neash::net::URLRequest stream,::neash::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic); - - public: - static hx::ObjectPtr< Sound_obj > __new(::neash::net::URLRequest stream,::neash::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Sound_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Sound"); } - - virtual Float nmeGetLength( ); - Dynamic nmeGetLength_dyn(); - - virtual bool nmeGetIsBuffering( ); - Dynamic nmeGetIsBuffering_dyn(); - - virtual ::neash::media::ID3Info nmeGetID3( ); - Dynamic nmeGetID3_dyn(); - - virtual ::neash::media::SoundChannel play( hx::Null< Float > startTime,hx::Null< int > loops,::neash::media::SoundTransform sndTransform); - Dynamic play_dyn(); - - virtual Void nmeOnError( ::String msg); - Dynamic nmeOnError_dyn(); - - virtual Void nmeCheckLoading( ); - Dynamic nmeCheckLoading_dyn(); - - virtual Void loadCompressedDataFromByteArray( ::neash::utils::ByteArray bytes,int length,hx::Null< bool > forcePlayAsMusic); - Dynamic loadCompressedDataFromByteArray_dyn(); - - virtual Void load( ::neash::net::URLRequest stream,::neash::media::SoundLoaderContext context,hx::Null< bool > forcePlayAsMusic); - Dynamic load_dyn(); - - virtual Void close( ); - Dynamic close_dyn(); - - virtual Void addEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference); - - bool nmeDynamicSound; /* REM */ - bool nmeLoading; /* REM */ - Dynamic nmeHandle; /* REM */ - ::String url; /* REM */ - Float length; /* REM */ - bool isBuffering; /* REM */ - ::neash::media::ID3Info id3; /* REM */ - int bytesTotal; /* REM */ - int bytesLoaded; /* REM */ - static Dynamic nme_sound_from_file; /* REM */ - static Dynamic &nme_sound_from_file_dyn() { return nme_sound_from_file;} - static Dynamic nme_sound_from_data; /* REM */ - static Dynamic &nme_sound_from_data_dyn() { return nme_sound_from_data;} - static Dynamic nme_sound_get_id3; /* REM */ - static Dynamic &nme_sound_get_id3_dyn() { return nme_sound_get_id3;} - static Dynamic nme_sound_get_length; /* REM */ - static Dynamic &nme_sound_get_length_dyn() { return nme_sound_get_length;} - static Dynamic nme_sound_close; /* REM */ - static Dynamic &nme_sound_close_dyn() { return nme_sound_close;} - static Dynamic nme_sound_get_status; /* REM */ - static Dynamic &nme_sound_get_status_dyn() { return nme_sound_get_status;} - static Dynamic nme_sound_channel_create_dynamic; /* REM */ - static Dynamic &nme_sound_channel_create_dynamic_dyn() { return nme_sound_channel_create_dynamic;} -}; - -} // end namespace neash -} // end namespace media - -#endif /* INCLUDED_neash_media_Sound */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/media/SoundChannel.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/media/SoundChannel.h deleted file mode 100644 index aafd637..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/media/SoundChannel.h +++ /dev/null @@ -1,104 +0,0 @@ -#ifndef INCLUDED_neash_media_SoundChannel -#define INCLUDED_neash_media_SoundChannel - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,media,SoundChannel) -HX_DECLARE_CLASS2(neash,media,SoundTransform) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace media{ - - -class SoundChannel_obj : public ::neash::events::EventDispatcher_obj{ - public: - typedef ::neash::events::EventDispatcher_obj super; - typedef SoundChannel_obj OBJ_; - SoundChannel_obj(); - Void __construct(Dynamic inSoundHandle,Float startTime,int loops,::neash::media::SoundTransform sndTransform); - - public: - static hx::ObjectPtr< SoundChannel_obj > __new(Dynamic inSoundHandle,Float startTime,int loops,::neash::media::SoundTransform sndTransform); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SoundChannel_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SoundChannel"); } - - virtual ::neash::media::SoundTransform nmeSetTransform( ::neash::media::SoundTransform inTransform); - Dynamic nmeSetTransform_dyn(); - - virtual ::neash::media::SoundTransform nmeGetTransform( ); - Dynamic nmeGetTransform_dyn(); - - virtual Float nmeGetPosition( ); - Dynamic nmeGetPosition_dyn(); - - virtual Float nmeGetRight( ); - Dynamic nmeGetRight_dyn(); - - virtual Float nmeGetLeft( ); - Dynamic nmeGetLeft_dyn(); - - virtual Void stop( ); - Dynamic stop_dyn(); - - virtual bool nmeCheckComplete( ); - Dynamic nmeCheckComplete_dyn(); - - ::neash::events::EventDispatcher nmeDataProvider; /* REM */ - ::neash::media::SoundTransform nmeTransform; /* REM */ - Dynamic nmeHandle; /* REM */ - ::neash::media::SoundTransform soundTransform; /* REM */ - Float position; /* REM */ - Float rightPeak; /* REM */ - Float leftPeak; /* REM */ - static int nmeDynamicSoundCount; /* REM */ - static Array< ::neash::media::SoundChannel > nmeIncompleteList; /* REM */ - static ::neash::media::SoundChannel createDynamic( Dynamic inSoundHandle,::neash::media::SoundTransform sndTransform,::neash::events::EventDispatcher dataProvider); - static Dynamic createDynamic_dyn(); - - static bool nmeCompletePending( ); - static Dynamic nmeCompletePending_dyn(); - - static Void nmePollComplete( ); - static Dynamic nmePollComplete_dyn(); - - static Dynamic nme_sound_channel_is_complete; /* REM */ - static Dynamic &nme_sound_channel_is_complete_dyn() { return nme_sound_channel_is_complete;} - static Dynamic nme_sound_channel_get_left; /* REM */ - static Dynamic &nme_sound_channel_get_left_dyn() { return nme_sound_channel_get_left;} - static Dynamic nme_sound_channel_get_right; /* REM */ - static Dynamic &nme_sound_channel_get_right_dyn() { return nme_sound_channel_get_right;} - static Dynamic nme_sound_channel_get_position; /* REM */ - static Dynamic &nme_sound_channel_get_position_dyn() { return nme_sound_channel_get_position;} - static Dynamic nme_sound_channel_get_data_position; /* REM */ - static Dynamic &nme_sound_channel_get_data_position_dyn() { return nme_sound_channel_get_data_position;} - static Dynamic nme_sound_channel_stop; /* REM */ - static Dynamic &nme_sound_channel_stop_dyn() { return nme_sound_channel_stop;} - static Dynamic nme_sound_channel_create; /* REM */ - static Dynamic &nme_sound_channel_create_dyn() { return nme_sound_channel_create;} - static Dynamic nme_sound_channel_set_transform; /* REM */ - static Dynamic &nme_sound_channel_set_transform_dyn() { return nme_sound_channel_set_transform;} - static Dynamic nme_sound_channel_needs_data; /* REM */ - static Dynamic &nme_sound_channel_needs_data_dyn() { return nme_sound_channel_needs_data;} - static Dynamic nme_sound_channel_add_data; /* REM */ - static Dynamic &nme_sound_channel_add_data_dyn() { return nme_sound_channel_add_data;} -}; - -} // end namespace neash -} // end namespace media - -#endif /* INCLUDED_neash_media_SoundChannel */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/media/SoundLoaderContext.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/media/SoundLoaderContext.h deleted file mode 100644 index 147ed4f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/media/SoundLoaderContext.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef INCLUDED_neash_media_SoundLoaderContext -#define INCLUDED_neash_media_SoundLoaderContext - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,media,SoundLoaderContext) -namespace neash{ -namespace media{ - - -class SoundLoaderContext_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef SoundLoaderContext_obj OBJ_; - SoundLoaderContext_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< SoundLoaderContext_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SoundLoaderContext_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SoundLoaderContext"); } - -}; - -} // end namespace neash -} // end namespace media - -#endif /* INCLUDED_neash_media_SoundLoaderContext */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/media/SoundTransform.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/media/SoundTransform.h deleted file mode 100644 index 69ab0a7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/media/SoundTransform.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef INCLUDED_neash_media_SoundTransform -#define INCLUDED_neash_media_SoundTransform - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,media,SoundTransform) -namespace neash{ -namespace media{ - - -class SoundTransform_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef SoundTransform_obj OBJ_; - SoundTransform_obj(); - Void __construct(hx::Null< Float > __o_vol,hx::Null< Float > __o_panning); - - public: - static hx::ObjectPtr< SoundTransform_obj > __new(hx::Null< Float > __o_vol,hx::Null< Float > __o_panning); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SoundTransform_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SoundTransform"); } - - virtual ::neash::media::SoundTransform clone( ); - Dynamic clone_dyn(); - - Float volume; /* REM */ - Float pan; /* REM */ -}; - -} // end namespace neash -} // end namespace media - -#endif /* INCLUDED_neash_media_SoundTransform */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/net/URLLoader.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/net/URLLoader.h deleted file mode 100644 index 836a3b3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/net/URLLoader.h +++ /dev/null @@ -1,110 +0,0 @@ -#ifndef INCLUDED_neash_net_URLLoader -#define INCLUDED_neash_net_URLLoader - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(List) -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,net,URLLoader) -HX_DECLARE_CLASS2(neash,net,URLLoaderDataFormat) -HX_DECLARE_CLASS2(neash,net,URLRequest) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace net{ - - -class URLLoader_obj : public ::neash::events::EventDispatcher_obj{ - public: - typedef ::neash::events::EventDispatcher_obj super; - typedef URLLoader_obj OBJ_; - URLLoader_obj(); - Void __construct(::neash::net::URLRequest request); - - public: - static hx::ObjectPtr< URLLoader_obj > __new(::neash::net::URLRequest request); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLLoader_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLLoader"); } - - virtual Void update( ); - Dynamic update_dyn(); - - virtual Void dispatchHTTPStatus( int code); - Dynamic dispatchHTTPStatus_dyn(); - - virtual Void onError( ::String msg); - Dynamic onError_dyn(); - - virtual Void nmeDataComplete( ); - Dynamic nmeDataComplete_dyn(); - - virtual Void load( ::neash::net::URLRequest request); - Dynamic load_dyn(); - - virtual Array< ::String > getCookies( ); - Dynamic getCookies_dyn(); - - virtual Void close( ); - Dynamic close_dyn(); - - Dynamic nmeOnComplete; /* REM */ - Dynamic &nmeOnComplete_dyn() { return nmeOnComplete;} - int state; /* REM */ - Dynamic nmeHandle; /* REM */ - ::neash::net::URLLoaderDataFormat dataFormat; /* REM */ - Dynamic data; /* REM */ - int bytesTotal; /* REM */ - int bytesLoaded; /* REM */ - static ::List activeLoaders; /* REM */ - static int urlInvalid; /* REM */ - static int urlInit; /* REM */ - static int urlLoading; /* REM */ - static int urlComplete; /* REM */ - static int urlError; /* REM */ - static bool hasActive( ); - static Dynamic hasActive_dyn(); - - static Void initialize( ::String inCACertFilePath); - static Dynamic initialize_dyn(); - - static bool nmeLoadPending( ); - static Dynamic nmeLoadPending_dyn(); - - static Void nmePollData( ); - static Dynamic nmePollData_dyn(); - - static Dynamic nme_curl_create; /* REM */ - static Dynamic &nme_curl_create_dyn() { return nme_curl_create;} - static Dynamic nme_curl_process_loaders; /* REM */ - static Dynamic &nme_curl_process_loaders_dyn() { return nme_curl_process_loaders;} - static Dynamic nme_curl_update_loader; /* REM */ - static Dynamic &nme_curl_update_loader_dyn() { return nme_curl_update_loader;} - static Dynamic nme_curl_get_code; /* REM */ - static Dynamic &nme_curl_get_code_dyn() { return nme_curl_get_code;} - static Dynamic nme_curl_get_error_message; /* REM */ - static Dynamic &nme_curl_get_error_message_dyn() { return nme_curl_get_error_message;} - static Dynamic nme_curl_get_data; /* REM */ - static Dynamic &nme_curl_get_data_dyn() { return nme_curl_get_data;} - static Dynamic nme_curl_get_cookies; /* REM */ - static Dynamic &nme_curl_get_cookies_dyn() { return nme_curl_get_cookies;} - static Dynamic nme_curl_initialize; /* REM */ - static Dynamic &nme_curl_initialize_dyn() { return nme_curl_initialize;} -}; - -} // end namespace neash -} // end namespace net - -#endif /* INCLUDED_neash_net_URLLoader */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/net/URLLoaderDataFormat.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/net/URLLoaderDataFormat.h deleted file mode 100644 index cdc5257..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/net/URLLoaderDataFormat.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_net_URLLoaderDataFormat -#define INCLUDED_neash_net_URLLoaderDataFormat - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,net,URLLoaderDataFormat) -namespace neash{ -namespace net{ - - -class URLLoaderDataFormat_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef URLLoaderDataFormat_obj OBJ_; - - public: - URLLoaderDataFormat_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.net.URLLoaderDataFormat"); } - ::String __ToString() const { return HX_CSTRING("URLLoaderDataFormat.") + tag; } - - static ::neash::net::URLLoaderDataFormat BINARY; - static inline ::neash::net::URLLoaderDataFormat BINARY_dyn() { return BINARY; } - static ::neash::net::URLLoaderDataFormat TEXT; - static inline ::neash::net::URLLoaderDataFormat TEXT_dyn() { return TEXT; } - static ::neash::net::URLLoaderDataFormat VARIABLES; - static inline ::neash::net::URLLoaderDataFormat VARIABLES_dyn() { return VARIABLES; } -}; - -} // end namespace neash -} // end namespace net - -#endif /* INCLUDED_neash_net_URLLoaderDataFormat */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/net/URLRequest.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/net/URLRequest.h deleted file mode 100644 index 1449021..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/net/URLRequest.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef INCLUDED_neash_net_URLRequest -#define INCLUDED_neash_net_URLRequest - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,net,URLRequest) -HX_DECLARE_CLASS2(neash,net,URLRequestHeader) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace net{ - - -class URLRequest_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef URLRequest_obj OBJ_; - URLRequest_obj(); - Void __construct(::String inURL); - - public: - static hx::ObjectPtr< URLRequest_obj > __new(::String inURL); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLRequest_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLRequest"); } - - virtual Void nmePrepare( ); - Dynamic nmePrepare_dyn(); - - virtual Void digestAuth( ::String inUser,::String inPasswd); - Dynamic digestAuth_dyn(); - - virtual Void basicAuth( ::String inUser,::String inPasswd); - Dynamic basicAuth_dyn(); - - ::neash::utils::ByteArray nmeBytes; /* REM */ - ::String credentials; /* REM */ - Dynamic data; /* REM */ - ::String contentType; /* REM */ - ::String method; /* REM */ - bool verbose; /* REM */ - ::String cookieString; /* REM */ - int authType; /* REM */ - Array< ::neash::net::URLRequestHeader > requestHeaders; /* REM */ - ::String url; /* REM */ - static int AUTH_BASIC; /* REM */ - static int AUTH_DIGEST; /* REM */ - static int AUTH_GSSNEGOTIATE; /* REM */ - static int AUTH_NTLM; /* REM */ - static int AUTH_DIGEST_IE; /* REM */ - static int AUTH_DIGEST_ANY; /* REM */ -}; - -} // end namespace neash -} // end namespace net - -#endif /* INCLUDED_neash_net_URLRequest */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/net/URLRequestHeader.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/net/URLRequestHeader.h deleted file mode 100644 index 083ff8b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/net/URLRequestHeader.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_neash_net_URLRequestHeader -#define INCLUDED_neash_net_URLRequestHeader - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,net,URLRequestHeader) -namespace neash{ -namespace net{ - - -class URLRequestHeader_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef URLRequestHeader_obj OBJ_; - URLRequestHeader_obj(); - Void __construct(::String name,::String value); - - public: - static hx::ObjectPtr< URLRequestHeader_obj > __new(::String name,::String value); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLRequestHeader_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLRequestHeader"); } - - ::String value; /* REM */ - ::String name; /* REM */ -}; - -} // end namespace neash -} // end namespace net - -#endif /* INCLUDED_neash_net_URLRequestHeader */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/net/URLRequestMethod.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/net/URLRequestMethod.h deleted file mode 100644 index 70e9669..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/net/URLRequestMethod.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef INCLUDED_neash_net_URLRequestMethod -#define INCLUDED_neash_net_URLRequestMethod - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,net,URLRequestMethod) -namespace neash{ -namespace net{ - - -class URLRequestMethod_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef URLRequestMethod_obj OBJ_; - URLRequestMethod_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< URLRequestMethod_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLRequestMethod_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLRequestMethod"); } - - static ::String DELETE; /* REM */ - static ::String GET; /* REM */ - static ::String HEAD; /* REM */ - static ::String OPTIONS; /* REM */ - static ::String POST; /* REM */ - static ::String PUT; /* REM */ -}; - -} // end namespace neash -} // end namespace net - -#endif /* INCLUDED_neash_net_URLRequestMethod */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/net/URLVariables.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/net/URLVariables.h deleted file mode 100644 index 7430ee7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/net/URLVariables.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef INCLUDED_neash_net_URLVariables -#define INCLUDED_neash_net_URLVariables - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,net,URLVariables) -namespace neash{ -namespace net{ - - -class URLVariables_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef URLVariables_obj OBJ_; - URLVariables_obj(); - Void __construct(::String inEncoded); - - public: - static hx::ObjectPtr< URLVariables_obj > __new(::String inEncoded); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLVariables_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLVariables"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void decode( ::String inVars); - Dynamic decode_dyn(); - -}; - -} // end namespace neash -} // end namespace net - -#endif /* INCLUDED_neash_net_URLVariables */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/text/Font.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/text/Font.h deleted file mode 100644 index 0669466..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/text/Font.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_neash_text_Font -#define INCLUDED_neash_text_Font - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,text,Font) -HX_DECLARE_CLASS2(neash,text,FontStyle) -HX_DECLARE_CLASS2(neash,text,FontType) -namespace neash{ -namespace text{ - - -class Font_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Font_obj OBJ_; - Font_obj(); - Void __construct(::String inFilename); - - public: - static hx::ObjectPtr< Font_obj > __new(::String inFilename); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Font_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Font"); } - - ::neash::text::FontType fontType; /* REM */ - ::neash::text::FontStyle fontStyle; /* REM */ - ::String fontName; /* REM */ - static Dynamic load( ::String inFilename); - static Dynamic load_dyn(); - -}; - -} // end namespace neash -} // end namespace text - -#endif /* INCLUDED_neash_text_Font */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/text/FontStyle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/text/FontStyle.h deleted file mode 100644 index 911e59e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/text/FontStyle.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_neash_text_FontStyle -#define INCLUDED_neash_text_FontStyle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,text,FontStyle) -namespace neash{ -namespace text{ - - -class FontStyle_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef FontStyle_obj OBJ_; - - public: - FontStyle_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.text.FontStyle"); } - ::String __ToString() const { return HX_CSTRING("FontStyle.") + tag; } - - static ::neash::text::FontStyle BOLD; - static inline ::neash::text::FontStyle BOLD_dyn() { return BOLD; } - static ::neash::text::FontStyle BOLD_ITALIC; - static inline ::neash::text::FontStyle BOLD_ITALIC_dyn() { return BOLD_ITALIC; } - static ::neash::text::FontStyle ITALIC; - static inline ::neash::text::FontStyle ITALIC_dyn() { return ITALIC; } - static ::neash::text::FontStyle REGULAR; - static inline ::neash::text::FontStyle REGULAR_dyn() { return REGULAR; } -}; - -} // end namespace neash -} // end namespace text - -#endif /* INCLUDED_neash_text_FontStyle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/text/FontType.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/text/FontType.h deleted file mode 100644 index 59bb66d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/text/FontType.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_text_FontType -#define INCLUDED_neash_text_FontType - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,text,FontType) -namespace neash{ -namespace text{ - - -class FontType_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef FontType_obj OBJ_; - - public: - FontType_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.text.FontType"); } - ::String __ToString() const { return HX_CSTRING("FontType.") + tag; } - - static ::neash::text::FontType DEVICE; - static inline ::neash::text::FontType DEVICE_dyn() { return DEVICE; } - static ::neash::text::FontType EMBEDDED; - static inline ::neash::text::FontType EMBEDDED_dyn() { return EMBEDDED; } - static ::neash::text::FontType EMBEDDED_CFF; - static inline ::neash::text::FontType EMBEDDED_CFF_dyn() { return EMBEDDED_CFF; } -}; - -} // end namespace neash -} // end namespace text - -#endif /* INCLUDED_neash_text_FontType */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/utils/ByteArray.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/utils/ByteArray.h deleted file mode 100644 index 44d47db..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/utils/ByteArray.h +++ /dev/null @@ -1,185 +0,0 @@ -#ifndef INCLUDED_neash_utils_ByteArray -#define INCLUDED_neash_utils_ByteArray - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS1(neash,Loader) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace utils{ - - -class ByteArray_obj : public ::haxe::io::Bytes_obj{ - public: - typedef ::haxe::io::Bytes_obj super; - typedef ByteArray_obj OBJ_; - ByteArray_obj(); - Void __construct(hx::Null< int > __o_inSize); - - public: - static hx::ObjectPtr< ByteArray_obj > __new(hx::Null< int > __o_inSize); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ByteArray_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::neash::utils::IDataInput_obj *() - { return new ::neash::utils::IDataInput_delegate_< ByteArray_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - static void __init__(); - - ::String __ToString() const { return HX_CSTRING("ByteArray"); } - - typedef int __array_access; - virtual ::String nmeSetEndian( ::String s); - Dynamic nmeSetEndian_dyn(); - - virtual ::String nmeGetEndian( ); - Dynamic nmeGetEndian_dyn(); - - virtual int nmeGetBytesAvailable( ); - Dynamic nmeGetBytesAvailable_dyn(); - - virtual Void writeUTFBytes( ::String s); - Dynamic writeUTFBytes_dyn(); - - virtual Void writeUTF( ::String s); - Dynamic writeUTF_dyn(); - - virtual Void writeUnsignedInt( int value); - Dynamic writeUnsignedInt_dyn(); - - virtual Void writeShort( int value); - Dynamic writeShort_dyn(); - - virtual Void writeInt( int value); - Dynamic writeInt_dyn(); - - virtual Void writeFloat( Float x); - Dynamic writeFloat_dyn(); - - virtual Void writeFile( ::String inString); - Dynamic writeFile_dyn(); - - virtual Void writeDouble( Float x); - Dynamic writeDouble_dyn(); - - virtual Void writeBytes( ::haxe::io::Bytes bytes,hx::Null< int > inOffset,hx::Null< int > inLength); - Dynamic writeBytes_dyn(); - - virtual Void writeByte( int value); - Dynamic writeByte_dyn(); - - virtual Void writeBoolean( bool value); - Dynamic writeBoolean_dyn(); - - virtual Void uncompress( ::String algorithm); - Dynamic uncompress_dyn(); - - virtual int ThrowEOFi( ); - Dynamic ThrowEOFi_dyn(); - - virtual Void setLength( int inLength); - Dynamic setLength_dyn(); - - virtual ::String readUTFBytes( int inLen); - Dynamic readUTFBytes_dyn(); - - virtual ::String readUTF( ); - Dynamic readUTF_dyn(); - - virtual int readUnsignedShort( ); - Dynamic readUnsignedShort_dyn(); - - virtual int readUnsignedInt( ); - Dynamic readUnsignedInt_dyn(); - - virtual int readUnsignedByte( ); - Dynamic readUnsignedByte_dyn(); - - virtual int readShort( ); - Dynamic readShort_dyn(); - - virtual int readInt( ); - Dynamic readInt_dyn(); - - virtual Float readFloat( ); - Dynamic readFloat_dyn(); - - virtual Float readDouble( ); - Dynamic readDouble_dyn(); - - virtual Void readBytes( ::neash::utils::ByteArray outData,hx::Null< int > inOffset,hx::Null< int > inLen); - Dynamic readBytes_dyn(); - - virtual ::String readMultiByte( int inLen,::String charSet); - Dynamic readMultiByte_dyn(); - - virtual int readByte( ); - Dynamic readByte_dyn(); - - virtual bool readBoolean( ); - Dynamic readBoolean_dyn(); - - virtual Void push_uncheck( int inByte); - Dynamic push_uncheck_dyn(); - - virtual Void push( int inByte); - Dynamic push_dyn(); - - virtual Void ensureElem( int inSize,bool inUpdateLenght); - Dynamic ensureElem_dyn(); - - virtual Void compress( ::String algorithm); - Dynamic compress_dyn(); - - virtual Void checkData( int inLength); - Dynamic checkData_dyn(); - - virtual ::String asString( ); - Dynamic asString_dyn(); - - virtual Void __set( int pos,int v); - Dynamic __set_dyn(); - - virtual int __get( int pos); - Dynamic __get_dyn(); - - int position; /* REM */ - ::String endian; /* REM */ - int bytesAvailable; /* REM */ - bool bigEndian; /* REM */ - static ::neash::utils::ByteArray fromBytes( ::haxe::io::Bytes inBytes); - static Dynamic fromBytes_dyn(); - - static ::neash::utils::ByteArray readFile( ::String inString); - static Dynamic readFile_dyn(); - - static Dynamic _double_bytes; /* REM */ - static Dynamic &_double_bytes_dyn() { return _double_bytes;} - static Dynamic _double_of_bytes; /* REM */ - static Dynamic &_double_of_bytes_dyn() { return _double_of_bytes;} - static Dynamic _float_bytes; /* REM */ - static Dynamic &_float_bytes_dyn() { return _float_bytes;} - static Dynamic _float_of_bytes; /* REM */ - static Dynamic &_float_of_bytes_dyn() { return _float_of_bytes;} - static Dynamic nme_byte_array_overwrite_file; /* REM */ - static Dynamic &nme_byte_array_overwrite_file_dyn() { return nme_byte_array_overwrite_file;} - static Dynamic nme_byte_array_read_file; /* REM */ - static Dynamic &nme_byte_array_read_file_dyn() { return nme_byte_array_read_file;} -}; - -} // end namespace neash -} // end namespace utils - -#endif /* INCLUDED_neash_utils_ByteArray */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/utils/Endian.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/utils/Endian.h deleted file mode 100644 index 7693ae4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/utils/Endian.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_neash_utils_Endian -#define INCLUDED_neash_utils_Endian - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,utils,Endian) -namespace neash{ -namespace utils{ - - -class Endian_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Endian_obj OBJ_; - Endian_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Endian_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Endian_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Endian"); } - - static ::String _BIG_ENDIAN; /* REM */ - static ::String _LITTLE_ENDIAN; /* REM */ -}; - -} // end namespace neash -} // end namespace utils - -#endif /* INCLUDED_neash_utils_Endian */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/utils/IDataInput.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/utils/IDataInput.h deleted file mode 100644 index b421495..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/utils/IDataInput.h +++ /dev/null @@ -1,101 +0,0 @@ -#ifndef INCLUDED_neash_utils_IDataInput -#define INCLUDED_neash_utils_IDataInput - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace utils{ - - -class IDataInput_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IDataInput_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual ::String nmeSetEndian( ::String s)=0; - Dynamic nmeSetEndian_dyn(); -virtual ::String nmeGetEndian( )=0; - Dynamic nmeGetEndian_dyn(); -virtual int nmeGetBytesAvailable( )=0; - Dynamic nmeGetBytesAvailable_dyn(); -virtual ::String readUTFBytes( int inLen)=0; - Dynamic readUTFBytes_dyn(); -virtual ::String readUTF( )=0; - Dynamic readUTF_dyn(); -virtual int readUnsignedShort( )=0; - Dynamic readUnsignedShort_dyn(); -virtual int readUnsignedInt( )=0; - Dynamic readUnsignedInt_dyn(); -virtual int readUnsignedByte( )=0; - Dynamic readUnsignedByte_dyn(); -virtual int readShort( )=0; - Dynamic readShort_dyn(); -virtual int readInt( )=0; - Dynamic readInt_dyn(); -virtual Float readFloat( )=0; - Dynamic readFloat_dyn(); -virtual Float readDouble( )=0; - Dynamic readDouble_dyn(); -virtual Void readBytes( ::neash::utils::ByteArray outData,hx::Null< int > inOffset,hx::Null< int > inLen)=0; - Dynamic readBytes_dyn(); -virtual int readByte( )=0; - Dynamic readByte_dyn(); -virtual bool readBoolean( )=0; - Dynamic readBoolean_dyn(); -}; - -#define DELEGATE_neash_utils_IDataInput \ -virtual ::String nmeSetEndian( ::String s) { return mDelegate->nmeSetEndian(s);} \ -virtual Dynamic nmeSetEndian_dyn() { return mDelegate->nmeSetEndian_dyn();} \ -virtual ::String nmeGetEndian( ) { return mDelegate->nmeGetEndian();} \ -virtual Dynamic nmeGetEndian_dyn() { return mDelegate->nmeGetEndian_dyn();} \ -virtual int nmeGetBytesAvailable( ) { return mDelegate->nmeGetBytesAvailable();} \ -virtual Dynamic nmeGetBytesAvailable_dyn() { return mDelegate->nmeGetBytesAvailable_dyn();} \ -virtual ::String readUTFBytes( int inLen) { return mDelegate->readUTFBytes(inLen);} \ -virtual Dynamic readUTFBytes_dyn() { return mDelegate->readUTFBytes_dyn();} \ -virtual ::String readUTF( ) { return mDelegate->readUTF();} \ -virtual Dynamic readUTF_dyn() { return mDelegate->readUTF_dyn();} \ -virtual int readUnsignedShort( ) { return mDelegate->readUnsignedShort();} \ -virtual Dynamic readUnsignedShort_dyn() { return mDelegate->readUnsignedShort_dyn();} \ -virtual int readUnsignedInt( ) { return mDelegate->readUnsignedInt();} \ -virtual Dynamic readUnsignedInt_dyn() { return mDelegate->readUnsignedInt_dyn();} \ -virtual int readUnsignedByte( ) { return mDelegate->readUnsignedByte();} \ -virtual Dynamic readUnsignedByte_dyn() { return mDelegate->readUnsignedByte_dyn();} \ -virtual int readShort( ) { return mDelegate->readShort();} \ -virtual Dynamic readShort_dyn() { return mDelegate->readShort_dyn();} \ -virtual int readInt( ) { return mDelegate->readInt();} \ -virtual Dynamic readInt_dyn() { return mDelegate->readInt_dyn();} \ -virtual Float readFloat( ) { return mDelegate->readFloat();} \ -virtual Dynamic readFloat_dyn() { return mDelegate->readFloat_dyn();} \ -virtual Float readDouble( ) { return mDelegate->readDouble();} \ -virtual Dynamic readDouble_dyn() { return mDelegate->readDouble_dyn();} \ -virtual Void readBytes( ::neash::utils::ByteArray outData,hx::Null< int > inOffset,hx::Null< int > inLen) { return mDelegate->readBytes(outData,inOffset,inLen);} \ -virtual Dynamic readBytes_dyn() { return mDelegate->readBytes_dyn();} \ -virtual int readByte( ) { return mDelegate->readByte();} \ -virtual Dynamic readByte_dyn() { return mDelegate->readByte_dyn();} \ -virtual bool readBoolean( ) { return mDelegate->readBoolean();} \ -virtual Dynamic readBoolean_dyn() { return mDelegate->readBoolean_dyn();} \ - - -template -class IDataInput_delegate_ : public IDataInput_obj -{ - protected: - IMPL *mDelegate; - public: - IDataInput_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_neash_utils_IDataInput -}; - -} // end namespace neash -} // end namespace utils - -#endif /* INCLUDED_neash_utils_IDataInput */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/utils/WeakRef.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/utils/WeakRef.h deleted file mode 100644 index 468280a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/neash/utils/WeakRef.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_neash_utils_WeakRef -#define INCLUDED_neash_utils_WeakRef - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,utils,WeakRef) -namespace neash{ -namespace utils{ - - -class WeakRef_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef WeakRef_obj OBJ_; - WeakRef_obj(); - Void __construct(Dynamic inObject,hx::Null< bool > __o_inMakeWeak); - - public: - static hx::ObjectPtr< WeakRef_obj > __new(Dynamic inObject,hx::Null< bool > __o_inMakeWeak); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~WeakRef_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("WeakRef"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Dynamic get( ); - Dynamic get_dyn(); - - int weakRef; /* REM */ - Dynamic hardRef; /* REM */ - static Dynamic nme_weak_ref_create; /* REM */ - static Dynamic &nme_weak_ref_create_dyn() { return nme_weak_ref_create;} - static Dynamic nme_weak_ref_get; /* REM */ - static Dynamic &nme_weak_ref_get_dyn() { return nme_weak_ref_get;} -}; - -} // end namespace neash -} // end namespace utils - -#endif /* INCLUDED_neash_utils_WeakRef */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/nme/Lib.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/nme/Lib.h deleted file mode 100644 index 8f83d90..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/nme/Lib.h +++ /dev/null @@ -1,123 +0,0 @@ -#ifndef INCLUDED_nme_Lib -#define INCLUDED_nme_Lib - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,ManagedStage) -HX_DECLARE_CLASS2(neash,display,MovieClip) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,display,Stage) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,net,URLRequest) -HX_DECLARE_CLASS1(nme,Lib) -namespace nme{ - - -class Lib_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Lib_obj OBJ_; - Lib_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Lib_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Lib_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Lib"); } - - static int FULLSCREEN; /* REM */ - static int BORDERLESS; /* REM */ - static int RESIZABLE; /* REM */ - static int HARDWARE; /* REM */ - static int VSYNC; /* REM */ - static int HW_AA; /* REM */ - static int HW_AA_HIRES; /* REM */ - static ::String company; /* REM */ - static ::neash::display::MovieClip current; /* REM */ - static ::String file; /* REM */ - static int initHeight; /* REM */ - static int initWidth; /* REM */ - static ::String packageName; /* REM */ - static ::neash::display::Stage stage; /* REM */ - static ::String version; /* REM */ - static Void close( ); - static Dynamic close_dyn(); - - static Void create( Dynamic onLoaded,int width,int height,hx::Null< Float > frameRate,hx::Null< int > color,hx::Null< int > flags,::String title,::neash::display::BitmapData icon); - static Dynamic create_dyn(); - - static ::neash::display::ManagedStage createManagedStage( int width,int height); - static Dynamic createManagedStage_dyn(); - - static Void exit( ); - static Dynamic exit_dyn(); - - static Void forceClose( ); - static Dynamic forceClose_dyn(); - - static int getTimer( ); - static Dynamic getTimer_dyn(); - - static Void getURL( ::neash::net::URLRequest url,::String target); - static Dynamic getURL_dyn(); - - static Void pause( ); - static Dynamic pause_dyn(); - - static Void postUICallback( Dynamic handler); - static Dynamic postUICallback_dyn(); - - static Void resume( ); - static Dynamic resume_dyn(); - - static Void setPackage( ::String company,::String file,::String packageName,::String version); - static Dynamic setPackage_dyn(); - - static Void trace( Dynamic arg); - static Dynamic trace_dyn(); - - static ::String nmeGetCompany( ); - static Dynamic nmeGetCompany_dyn(); - - static ::neash::display::MovieClip nmeGetCurrent( ); - static Dynamic nmeGetCurrent_dyn(); - - static ::String nmeGetFile( ); - static Dynamic nmeGetFile_dyn(); - - static int nmeGetInitHeight( ); - static Dynamic nmeGetInitHeight_dyn(); - - static int nmeGetInitWidth( ); - static Dynamic nmeGetInitWidth_dyn(); - - static ::String nmeGetPackageName( ); - static Dynamic nmeGetPackageName_dyn(); - - static ::neash::display::Stage nmeGetStage( ); - static Dynamic nmeGetStage_dyn(); - - static ::String nmeGetVersion( ); - static Dynamic nmeGetVersion_dyn(); - -}; - -} // end namespace nme - -#endif /* INCLUDED_nme_Lib */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/nme/installer/Assets.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/nme/installer/Assets.h deleted file mode 100644 index 3ab3c05..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/nme/installer/Assets.h +++ /dev/null @@ -1,73 +0,0 @@ -#ifndef INCLUDED_nme_installer_Assets -#define INCLUDED_nme_installer_Assets - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,media,Sound) -HX_DECLARE_CLASS2(neash,text,Font) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -HX_DECLARE_CLASS2(nme,installer,Assets) -namespace nme{ -namespace installer{ - - -class Assets_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Assets_obj OBJ_; - Assets_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Assets_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Assets_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Assets"); } - - static ::Hash cachedBitmapData; /* REM */ - static bool initialized; /* REM */ - static ::Hash resourceNames; /* REM */ - static ::Hash resourceTypes; /* REM */ - static Void initialize( ); - static Dynamic initialize_dyn(); - - static ::neash::display::BitmapData getBitmapData( ::String id,hx::Null< bool > useCache); - static Dynamic getBitmapData_dyn(); - - static ::neash::utils::ByteArray getBytes( ::String id); - static Dynamic getBytes_dyn(); - - static ::neash::text::Font getFont( ::String id); - static Dynamic getFont_dyn(); - - static ::String getResourceName( ::String id); - static Dynamic getResourceName_dyn(); - - static ::neash::media::Sound getSound( ::String id); - static Dynamic getSound_dyn(); - - static ::String getText( ::String id); - static Dynamic getText_dyn(); - -}; - -} // end namespace nme -} // end namespace installer - -#endif /* INCLUDED_nme_installer_Assets */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/core/Controller.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/core/Controller.h deleted file mode 100644 index d348987..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/core/Controller.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_core_Controller -#define INCLUDED_org_puremvc_haxe_core_Controller - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS4(org,puremvc,haxe,core,Controller) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IController) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IView) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace core{ - - -class Controller_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Controller_obj OBJ_; - Controller_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Controller_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Controller_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IController_obj *() - { return new ::org::puremvc::haxe::interfaces::IController_delegate_< Controller_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Controller"); } - - ::Hash commandMap; /* REM */ - ::org::puremvc::haxe::interfaces::IView view; /* REM */ - virtual Void removeCommand( ::String notificationName); - Dynamic removeCommand_dyn(); - - virtual bool hasCommand( ::String notificationName); - Dynamic hasCommand_dyn(); - - virtual Void registerCommand( ::String notificationName,::Class commandClassRef); - Dynamic registerCommand_dyn(); - - virtual Void executeCommand( ::org::puremvc::haxe::interfaces::INotification note); - Dynamic executeCommand_dyn(); - - virtual Void initializeController( ); - Dynamic initializeController_dyn(); - - static ::org::puremvc::haxe::interfaces::IController getInstance( ); - static Dynamic getInstance_dyn(); - - static ::org::puremvc::haxe::interfaces::IController instance; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace core - -#endif /* INCLUDED_org_puremvc_haxe_core_Controller */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/core/Model.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/core/Model.h deleted file mode 100644 index 7083dc9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/core/Model.h +++ /dev/null @@ -1,69 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_core_Model -#define INCLUDED_org_puremvc_haxe_core_Model - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS4(org,puremvc,haxe,core,Model) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IModel) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace core{ - - -class Model_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Model_obj OBJ_; - Model_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Model_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Model_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IModel_obj *() - { return new ::org::puremvc::haxe::interfaces::IModel_delegate_< Model_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Model"); } - - ::Hash proxyMap; /* REM */ - virtual ::org::puremvc::haxe::interfaces::IProxy removeProxy( ::String proxyName); - Dynamic removeProxy_dyn(); - - virtual bool hasProxy( ::String proxyName); - Dynamic hasProxy_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IProxy retrieveProxy( ::String proxyName); - Dynamic retrieveProxy_dyn(); - - virtual Void registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy); - Dynamic registerProxy_dyn(); - - virtual Void initializeModel( ); - Dynamic initializeModel_dyn(); - - static ::org::puremvc::haxe::interfaces::IModel getInstance( ); - static Dynamic getInstance_dyn(); - - static ::org::puremvc::haxe::interfaces::IModel instance; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace core - -#endif /* INCLUDED_org_puremvc_haxe_core_Model */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/core/View.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/core/View.h deleted file mode 100644 index 5529326..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/core/View.h +++ /dev/null @@ -1,81 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_core_View -#define INCLUDED_org_puremvc_haxe_core_View - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS4(org,puremvc,haxe,core,View) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IObserver) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IView) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace core{ - - -class View_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef View_obj OBJ_; - View_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< View_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~View_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IView_obj *() - { return new ::org::puremvc::haxe::interfaces::IView_delegate_< View_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("View"); } - - ::Hash observerMap; /* REM */ - ::Hash mediatorMap; /* REM */ - virtual bool hasMediator( ::String mediatorName); - Dynamic hasMediator_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IMediator removeMediator( ::String mediatorName); - Dynamic removeMediator_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IMediator retrieveMediator( ::String mediatorName); - Dynamic retrieveMediator_dyn(); - - virtual Void registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator); - Dynamic registerMediator_dyn(); - - virtual Void removeObserver( ::String notificationName,Dynamic notifyContext); - Dynamic removeObserver_dyn(); - - virtual Void notifyObservers( ::org::puremvc::haxe::interfaces::INotification notification); - Dynamic notifyObservers_dyn(); - - virtual Void registerObserver( ::String notificationName,::org::puremvc::haxe::interfaces::IObserver observer); - Dynamic registerObserver_dyn(); - - virtual Void initializeView( ); - Dynamic initializeView_dyn(); - - static ::org::puremvc::haxe::interfaces::IView getInstance( ); - static Dynamic getInstance_dyn(); - - static ::org::puremvc::haxe::interfaces::IView instance; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace core - -#endif /* INCLUDED_org_puremvc_haxe_core_View */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/ICommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/ICommand.h deleted file mode 100644 index ad4eaeb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/ICommand.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#define INCLUDED_org_puremvc_haxe_interfaces_ICommand - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class ICommand_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef ICommand_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void execute( ::org::puremvc::haxe::interfaces::INotification notification)=0; - Dynamic execute_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_ICommand \ -virtual Void execute( ::org::puremvc::haxe::interfaces::INotification notification) { return mDelegate->execute(notification);} \ -virtual Dynamic execute_dyn() { return mDelegate->execute_dyn();} \ - - -template -class ICommand_delegate_ : public ICommand_obj -{ - protected: - IMPL *mDelegate; - public: - ICommand_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_ICommand -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_ICommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IController.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IController.h deleted file mode 100644 index bdf5320..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IController.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IController -#define INCLUDED_org_puremvc_haxe_interfaces_IController - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IController) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IController_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IController_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual bool hasCommand( ::String notificationName)=0; - Dynamic hasCommand_dyn(); -virtual Void removeCommand( ::String notificationName)=0; - Dynamic removeCommand_dyn(); -virtual Void executeCommand( ::org::puremvc::haxe::interfaces::INotification notification)=0; - Dynamic executeCommand_dyn(); -virtual Void registerCommand( ::String notificationName,::Class commandClassRef)=0; - Dynamic registerCommand_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IController \ -virtual bool hasCommand( ::String notificationName) { return mDelegate->hasCommand(notificationName);} \ -virtual Dynamic hasCommand_dyn() { return mDelegate->hasCommand_dyn();} \ -virtual Void removeCommand( ::String notificationName) { return mDelegate->removeCommand(notificationName);} \ -virtual Dynamic removeCommand_dyn() { return mDelegate->removeCommand_dyn();} \ -virtual Void executeCommand( ::org::puremvc::haxe::interfaces::INotification notification) { return mDelegate->executeCommand(notification);} \ -virtual Dynamic executeCommand_dyn() { return mDelegate->executeCommand_dyn();} \ -virtual Void registerCommand( ::String notificationName,::Class commandClassRef) { return mDelegate->registerCommand(notificationName,commandClassRef);} \ -virtual Dynamic registerCommand_dyn() { return mDelegate->registerCommand_dyn();} \ - - -template -class IController_delegate_ : public IController_obj -{ - protected: - IMPL *mDelegate; - public: - IController_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IController -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IController */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IFacade.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IFacade.h deleted file mode 100644 index 34310a2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IFacade.h +++ /dev/null @@ -1,99 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#define INCLUDED_org_puremvc_haxe_interfaces_IFacade - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IFacade) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IFacade_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IFacade_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void notifyObservers( ::org::puremvc::haxe::interfaces::INotification note)=0; - Dynamic notifyObservers_dyn(); -virtual Void sendNotification( ::String notificationName,Dynamic body,::String type)=0; - Dynamic sendNotification_dyn(); -virtual bool hasMediator( ::String mediatorName)=0; - Dynamic hasMediator_dyn(); -virtual ::org::puremvc::haxe::interfaces::IMediator removeMediator( ::String mediatorName)=0; - Dynamic removeMediator_dyn(); -virtual ::org::puremvc::haxe::interfaces::IMediator retrieveMediator( ::String mediatorName)=0; - Dynamic retrieveMediator_dyn(); -virtual Void registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator)=0; - Dynamic registerMediator_dyn(); -virtual bool hasCommand( ::String notificationName)=0; - Dynamic hasCommand_dyn(); -virtual Void removeCommand( ::String notificationName)=0; - Dynamic removeCommand_dyn(); -virtual Void registerCommand( ::String noteName,::Class commandClassRef)=0; - Dynamic registerCommand_dyn(); -virtual bool hasProxy( ::String proxyName)=0; - Dynamic hasProxy_dyn(); -virtual ::org::puremvc::haxe::interfaces::IProxy removeProxy( ::String proxyName)=0; - Dynamic removeProxy_dyn(); -virtual ::org::puremvc::haxe::interfaces::IProxy retrieveProxy( ::String proxyName)=0; - Dynamic retrieveProxy_dyn(); -virtual Void registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy)=0; - Dynamic registerProxy_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IFacade \ -virtual Void notifyObservers( ::org::puremvc::haxe::interfaces::INotification note) { return mDelegate->notifyObservers(note);} \ -virtual Dynamic notifyObservers_dyn() { return mDelegate->notifyObservers_dyn();} \ -virtual Void sendNotification( ::String notificationName,Dynamic body,::String type) { return mDelegate->sendNotification(notificationName,body,type);} \ -virtual Dynamic sendNotification_dyn() { return mDelegate->sendNotification_dyn();} \ -virtual bool hasMediator( ::String mediatorName) { return mDelegate->hasMediator(mediatorName);} \ -virtual Dynamic hasMediator_dyn() { return mDelegate->hasMediator_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IMediator removeMediator( ::String mediatorName) { return mDelegate->removeMediator(mediatorName);} \ -virtual Dynamic removeMediator_dyn() { return mDelegate->removeMediator_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IMediator retrieveMediator( ::String mediatorName) { return mDelegate->retrieveMediator(mediatorName);} \ -virtual Dynamic retrieveMediator_dyn() { return mDelegate->retrieveMediator_dyn();} \ -virtual Void registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator) { return mDelegate->registerMediator(mediator);} \ -virtual Dynamic registerMediator_dyn() { return mDelegate->registerMediator_dyn();} \ -virtual bool hasCommand( ::String notificationName) { return mDelegate->hasCommand(notificationName);} \ -virtual Dynamic hasCommand_dyn() { return mDelegate->hasCommand_dyn();} \ -virtual Void removeCommand( ::String notificationName) { return mDelegate->removeCommand(notificationName);} \ -virtual Dynamic removeCommand_dyn() { return mDelegate->removeCommand_dyn();} \ -virtual Void registerCommand( ::String noteName,::Class commandClassRef) { return mDelegate->registerCommand(noteName,commandClassRef);} \ -virtual Dynamic registerCommand_dyn() { return mDelegate->registerCommand_dyn();} \ -virtual bool hasProxy( ::String proxyName) { return mDelegate->hasProxy(proxyName);} \ -virtual Dynamic hasProxy_dyn() { return mDelegate->hasProxy_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IProxy removeProxy( ::String proxyName) { return mDelegate->removeProxy(proxyName);} \ -virtual Dynamic removeProxy_dyn() { return mDelegate->removeProxy_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IProxy retrieveProxy( ::String proxyName) { return mDelegate->retrieveProxy(proxyName);} \ -virtual Dynamic retrieveProxy_dyn() { return mDelegate->retrieveProxy_dyn();} \ -virtual Void registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy) { return mDelegate->registerProxy(proxy);} \ -virtual Dynamic registerProxy_dyn() { return mDelegate->registerProxy_dyn();} \ - - -template -class IFacade_delegate_ : public IFacade_obj -{ - protected: - IMPL *mDelegate; - public: - IFacade_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IFacade -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IFacade */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IMediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IMediator.h deleted file mode 100644 index 6738f8c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IMediator.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#define INCLUDED_org_puremvc_haxe_interfaces_IMediator - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IMediator_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IMediator_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void onRemove( )=0; - Dynamic onRemove_dyn(); -virtual Void onRegister( )=0; - Dynamic onRegister_dyn(); -virtual Void handleNotification( ::org::puremvc::haxe::interfaces::INotification notification)=0; - Dynamic handleNotification_dyn(); -virtual Array< ::String > listNotificationInterests( )=0; - Dynamic listNotificationInterests_dyn(); -virtual Void setViewComponent( Dynamic viewComponent)=0; - Dynamic setViewComponent_dyn(); -virtual Dynamic getViewComponent( )=0; - Dynamic getViewComponent_dyn(); -virtual ::String getMediatorName( )=0; - Dynamic getMediatorName_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IMediator \ -virtual Void onRemove( ) { return mDelegate->onRemove();} \ -virtual Dynamic onRemove_dyn() { return mDelegate->onRemove_dyn();} \ -virtual Void onRegister( ) { return mDelegate->onRegister();} \ -virtual Dynamic onRegister_dyn() { return mDelegate->onRegister_dyn();} \ -virtual Void handleNotification( ::org::puremvc::haxe::interfaces::INotification notification) { return mDelegate->handleNotification(notification);} \ -virtual Dynamic handleNotification_dyn() { return mDelegate->handleNotification_dyn();} \ -virtual Array< ::String > listNotificationInterests( ) { return mDelegate->listNotificationInterests();} \ -virtual Dynamic listNotificationInterests_dyn() { return mDelegate->listNotificationInterests_dyn();} \ -virtual Void setViewComponent( Dynamic viewComponent) { return mDelegate->setViewComponent(viewComponent);} \ -virtual Dynamic setViewComponent_dyn() { return mDelegate->setViewComponent_dyn();} \ -virtual Dynamic getViewComponent( ) { return mDelegate->getViewComponent();} \ -virtual Dynamic getViewComponent_dyn() { return mDelegate->getViewComponent_dyn();} \ -virtual ::String getMediatorName( ) { return mDelegate->getMediatorName();} \ -virtual Dynamic getMediatorName_dyn() { return mDelegate->getMediatorName_dyn();} \ - - -template -class IMediator_delegate_ : public IMediator_obj -{ - protected: - IMPL *mDelegate; - public: - IMediator_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IMediator -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IMediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IModel.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IModel.h deleted file mode 100644 index 7450e22..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IModel.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IModel -#define INCLUDED_org_puremvc_haxe_interfaces_IModel - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IModel) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IModel_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IModel_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual bool hasProxy( ::String proxyName)=0; - Dynamic hasProxy_dyn(); -virtual ::org::puremvc::haxe::interfaces::IProxy removeProxy( ::String proxyName)=0; - Dynamic removeProxy_dyn(); -virtual ::org::puremvc::haxe::interfaces::IProxy retrieveProxy( ::String proxyName)=0; - Dynamic retrieveProxy_dyn(); -virtual Void registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy)=0; - Dynamic registerProxy_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IModel \ -virtual bool hasProxy( ::String proxyName) { return mDelegate->hasProxy(proxyName);} \ -virtual Dynamic hasProxy_dyn() { return mDelegate->hasProxy_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IProxy removeProxy( ::String proxyName) { return mDelegate->removeProxy(proxyName);} \ -virtual Dynamic removeProxy_dyn() { return mDelegate->removeProxy_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IProxy retrieveProxy( ::String proxyName) { return mDelegate->retrieveProxy(proxyName);} \ -virtual Dynamic retrieveProxy_dyn() { return mDelegate->retrieveProxy_dyn();} \ -virtual Void registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy) { return mDelegate->registerProxy(proxy);} \ -virtual Dynamic registerProxy_dyn() { return mDelegate->registerProxy_dyn();} \ - - -template -class IModel_delegate_ : public IModel_obj -{ - protected: - IMPL *mDelegate; - public: - IModel_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IModel -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IModel */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/INotification.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/INotification.h deleted file mode 100644 index c1b5666..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/INotification.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#define INCLUDED_org_puremvc_haxe_interfaces_INotification - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class INotification_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef INotification_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual ::String toString( )=0; - Dynamic toString_dyn(); -virtual ::String getType( )=0; - Dynamic getType_dyn(); -virtual Void setType( ::String type)=0; - Dynamic setType_dyn(); -virtual Dynamic getBody( )=0; - Dynamic getBody_dyn(); -virtual Void setBody( Dynamic body)=0; - Dynamic setBody_dyn(); -virtual ::String getName( )=0; - Dynamic getName_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_INotification \ -virtual ::String toString( ) { return mDelegate->toString();} \ -virtual Dynamic toString_dyn() { return mDelegate->toString_dyn();} \ -virtual ::String getType( ) { return mDelegate->getType();} \ -virtual Dynamic getType_dyn() { return mDelegate->getType_dyn();} \ -virtual Void setType( ::String type) { return mDelegate->setType(type);} \ -virtual Dynamic setType_dyn() { return mDelegate->setType_dyn();} \ -virtual Dynamic getBody( ) { return mDelegate->getBody();} \ -virtual Dynamic getBody_dyn() { return mDelegate->getBody_dyn();} \ -virtual Void setBody( Dynamic body) { return mDelegate->setBody(body);} \ -virtual Dynamic setBody_dyn() { return mDelegate->setBody_dyn();} \ -virtual ::String getName( ) { return mDelegate->getName();} \ -virtual Dynamic getName_dyn() { return mDelegate->getName_dyn();} \ - - -template -class INotification_delegate_ : public INotification_obj -{ - protected: - IMPL *mDelegate; - public: - INotification_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_INotification -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_INotification */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/INotifier.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/INotifier.h deleted file mode 100644 index 012d494..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/INotifier.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#define INCLUDED_org_puremvc_haxe_interfaces_INotifier - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class INotifier_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef INotifier_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void sendNotification( ::String notificationName,Dynamic body,::String type)=0; - Dynamic sendNotification_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_INotifier \ -virtual Void sendNotification( ::String notificationName,Dynamic body,::String type) { return mDelegate->sendNotification(notificationName,body,type);} \ -virtual Dynamic sendNotification_dyn() { return mDelegate->sendNotification_dyn();} \ - - -template -class INotifier_delegate_ : public INotifier_obj -{ - protected: - IMPL *mDelegate; - public: - INotifier_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_INotifier -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_INotifier */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IObserver.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IObserver.h deleted file mode 100644 index 4d39db3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IObserver.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IObserver -#define INCLUDED_org_puremvc_haxe_interfaces_IObserver - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IObserver) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IObserver_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IObserver_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual bool compareNotifyContext( Dynamic object)=0; - Dynamic compareNotifyContext_dyn(); -virtual Void notifyObserver( ::org::puremvc::haxe::interfaces::INotification notification)=0; - Dynamic notifyObserver_dyn(); -virtual Void setNotifyContext( Dynamic notifyContext)=0; - Dynamic setNotifyContext_dyn(); -virtual Void setNotifyMethod( Dynamic notifyMethod)=0; - Dynamic setNotifyMethod_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IObserver \ -virtual bool compareNotifyContext( Dynamic object) { return mDelegate->compareNotifyContext(object);} \ -virtual Dynamic compareNotifyContext_dyn() { return mDelegate->compareNotifyContext_dyn();} \ -virtual Void notifyObserver( ::org::puremvc::haxe::interfaces::INotification notification) { return mDelegate->notifyObserver(notification);} \ -virtual Dynamic notifyObserver_dyn() { return mDelegate->notifyObserver_dyn();} \ -virtual Void setNotifyContext( Dynamic notifyContext) { return mDelegate->setNotifyContext(notifyContext);} \ -virtual Dynamic setNotifyContext_dyn() { return mDelegate->setNotifyContext_dyn();} \ -virtual Void setNotifyMethod( Dynamic notifyMethod) { return mDelegate->setNotifyMethod(notifyMethod);} \ -virtual Dynamic setNotifyMethod_dyn() { return mDelegate->setNotifyMethod_dyn();} \ - - -template -class IObserver_delegate_ : public IObserver_obj -{ - protected: - IMPL *mDelegate; - public: - IObserver_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IObserver -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IObserver */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IProxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IProxy.h deleted file mode 100644 index 0188882..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IProxy.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#define INCLUDED_org_puremvc_haxe_interfaces_IProxy - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IProxy_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IProxy_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void onRemove( )=0; - Dynamic onRemove_dyn(); -virtual Void onRegister( )=0; - Dynamic onRegister_dyn(); -virtual Dynamic getData( )=0; - Dynamic getData_dyn(); -virtual Void setData( Dynamic data)=0; - Dynamic setData_dyn(); -virtual ::String getProxyName( )=0; - Dynamic getProxyName_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IProxy \ -virtual Void onRemove( ) { return mDelegate->onRemove();} \ -virtual Dynamic onRemove_dyn() { return mDelegate->onRemove_dyn();} \ -virtual Void onRegister( ) { return mDelegate->onRegister();} \ -virtual Dynamic onRegister_dyn() { return mDelegate->onRegister_dyn();} \ -virtual Dynamic getData( ) { return mDelegate->getData();} \ -virtual Dynamic getData_dyn() { return mDelegate->getData_dyn();} \ -virtual Void setData( Dynamic data) { return mDelegate->setData(data);} \ -virtual Dynamic setData_dyn() { return mDelegate->setData_dyn();} \ -virtual ::String getProxyName( ) { return mDelegate->getProxyName();} \ -virtual Dynamic getProxyName_dyn() { return mDelegate->getProxyName_dyn();} \ - - -template -class IProxy_delegate_ : public IProxy_obj -{ - protected: - IMPL *mDelegate; - public: - IProxy_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IProxy -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IProxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IView.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IView.h deleted file mode 100644 index 4ce7be9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/interfaces/IView.h +++ /dev/null @@ -1,74 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IView -#define INCLUDED_org_puremvc_haxe_interfaces_IView - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IObserver) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IView) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IView_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IView_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual bool hasMediator( ::String mediatorName)=0; - Dynamic hasMediator_dyn(); -virtual ::org::puremvc::haxe::interfaces::IMediator removeMediator( ::String mediatorName)=0; - Dynamic removeMediator_dyn(); -virtual ::org::puremvc::haxe::interfaces::IMediator retrieveMediator( ::String mediatorName)=0; - Dynamic retrieveMediator_dyn(); -virtual Void registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator)=0; - Dynamic registerMediator_dyn(); -virtual Void notifyObservers( ::org::puremvc::haxe::interfaces::INotification note)=0; - Dynamic notifyObservers_dyn(); -virtual Void removeObserver( ::String notificationName,Dynamic notifyContext)=0; - Dynamic removeObserver_dyn(); -virtual Void registerObserver( ::String noteName,::org::puremvc::haxe::interfaces::IObserver observer)=0; - Dynamic registerObserver_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IView \ -virtual bool hasMediator( ::String mediatorName) { return mDelegate->hasMediator(mediatorName);} \ -virtual Dynamic hasMediator_dyn() { return mDelegate->hasMediator_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IMediator removeMediator( ::String mediatorName) { return mDelegate->removeMediator(mediatorName);} \ -virtual Dynamic removeMediator_dyn() { return mDelegate->removeMediator_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IMediator retrieveMediator( ::String mediatorName) { return mDelegate->retrieveMediator(mediatorName);} \ -virtual Dynamic retrieveMediator_dyn() { return mDelegate->retrieveMediator_dyn();} \ -virtual Void registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator) { return mDelegate->registerMediator(mediator);} \ -virtual Dynamic registerMediator_dyn() { return mDelegate->registerMediator_dyn();} \ -virtual Void notifyObservers( ::org::puremvc::haxe::interfaces::INotification note) { return mDelegate->notifyObservers(note);} \ -virtual Dynamic notifyObservers_dyn() { return mDelegate->notifyObservers_dyn();} \ -virtual Void removeObserver( ::String notificationName,Dynamic notifyContext) { return mDelegate->removeObserver(notificationName,notifyContext);} \ -virtual Dynamic removeObserver_dyn() { return mDelegate->removeObserver_dyn();} \ -virtual Void registerObserver( ::String noteName,::org::puremvc::haxe::interfaces::IObserver observer) { return mDelegate->registerObserver(noteName,observer);} \ -virtual Dynamic registerObserver_dyn() { return mDelegate->registerObserver_dyn();} \ - - -template -class IView_delegate_ : public IView_obj -{ - protected: - IMPL *mDelegate; - public: - IView_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IView -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IView */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/command/MacroCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/command/MacroCommand.h deleted file mode 100644 index 9cd77b5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/command/MacroCommand.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_MacroCommand -#define INCLUDED_org_puremvc_haxe_patterns_command_MacroCommand - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS0(List) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,MacroCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace command{ - - -class MacroCommand_obj : public ::org::puremvc::haxe::patterns::observer::Notifier_obj{ - public: - typedef ::org::puremvc::haxe::patterns::observer::Notifier_obj super; - typedef MacroCommand_obj OBJ_; - MacroCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< MacroCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~MacroCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::ICommand_obj *() - { return new ::org::puremvc::haxe::interfaces::ICommand_delegate_< MacroCommand_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("MacroCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification notification); - Dynamic execute_dyn(); - - virtual Void addSubCommand( ::Class commandClassRef); - Dynamic addSubCommand_dyn(); - - virtual Void initializeMacroCommand( ); - Dynamic initializeMacroCommand_dyn(); - - ::List subCommands; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace command - -#endif /* INCLUDED_org_puremvc_haxe_patterns_command_MacroCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/command/SimpleCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/command/SimpleCommand.h deleted file mode 100644 index 4d61266..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/command/SimpleCommand.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#define INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace command{ - - -class SimpleCommand_obj : public ::org::puremvc::haxe::patterns::observer::Notifier_obj{ - public: - typedef ::org::puremvc::haxe::patterns::observer::Notifier_obj super; - typedef SimpleCommand_obj OBJ_; - SimpleCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< SimpleCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SimpleCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::ICommand_obj *() - { return new ::org::puremvc::haxe::interfaces::ICommand_delegate_< SimpleCommand_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("SimpleCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification notification); - Dynamic execute_dyn(); - -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace command - -#endif /* INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/facade/Facade.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/facade/Facade.h deleted file mode 100644 index 6046b13..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/facade/Facade.h +++ /dev/null @@ -1,114 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_facade_Facade -#define INCLUDED_org_puremvc_haxe_patterns_facade_Facade - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IController) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IFacade) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IModel) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IView) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,facade,Facade) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace facade{ - - -class Facade_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Facade_obj OBJ_; - Facade_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Facade_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Facade_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IFacade_obj *() - { return new ::org::puremvc::haxe::interfaces::IFacade_delegate_< Facade_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Facade"); } - - ::org::puremvc::haxe::interfaces::IView view; /* REM */ - ::org::puremvc::haxe::interfaces::IModel model; /* REM */ - ::org::puremvc::haxe::interfaces::IController controller; /* REM */ - virtual Void notifyObservers( ::org::puremvc::haxe::interfaces::INotification notification); - Dynamic notifyObservers_dyn(); - - virtual Void sendNotification( ::String notificationName,Dynamic body,::String type); - Dynamic sendNotification_dyn(); - - virtual bool hasMediator( ::String mediatorName); - Dynamic hasMediator_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IMediator removeMediator( ::String mediatorName); - Dynamic removeMediator_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IMediator retrieveMediator( ::String mediatorName); - Dynamic retrieveMediator_dyn(); - - virtual Void registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator); - Dynamic registerMediator_dyn(); - - virtual bool hasProxy( ::String proxyName); - Dynamic hasProxy_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IProxy removeProxy( ::String proxyName); - Dynamic removeProxy_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IProxy retrieveProxy( ::String proxyName); - Dynamic retrieveProxy_dyn(); - - virtual Void registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy); - Dynamic registerProxy_dyn(); - - virtual bool hasCommand( ::String notificationName); - Dynamic hasCommand_dyn(); - - virtual Void removeCommand( ::String notificationName); - Dynamic removeCommand_dyn(); - - virtual Void registerCommand( ::String notificationName,::Class commandClassRef); - Dynamic registerCommand_dyn(); - - virtual Void initializeView( ); - Dynamic initializeView_dyn(); - - virtual Void initializeModel( ); - Dynamic initializeModel_dyn(); - - virtual Void initializeController( ); - Dynamic initializeController_dyn(); - - virtual Void initializeFacade( ); - Dynamic initializeFacade_dyn(); - - static ::org::puremvc::haxe::interfaces::IFacade getInstance( ); - static Dynamic getInstance_dyn(); - - static ::org::puremvc::haxe::interfaces::IFacade instance; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace facade - -#endif /* INCLUDED_org_puremvc_haxe_patterns_facade_Facade */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/mediator/Mediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/mediator/Mediator.h deleted file mode 100644 index a044ed8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/mediator/Mediator.h +++ /dev/null @@ -1,77 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#define INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace mediator{ - - -class Mediator_obj : public ::org::puremvc::haxe::patterns::observer::Notifier_obj{ - public: - typedef ::org::puremvc::haxe::patterns::observer::Notifier_obj super; - typedef Mediator_obj OBJ_; - Mediator_obj(); - Void __construct(::String mediatorName,Dynamic viewComponent); - - public: - static hx::ObjectPtr< Mediator_obj > __new(::String mediatorName,Dynamic viewComponent); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Mediator_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IMediator_obj *() - { return new ::org::puremvc::haxe::interfaces::IMediator_delegate_< Mediator_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Mediator"); } - - Dynamic viewComponent; /* REM */ - ::String mediatorName; /* REM */ - virtual Void onRemove( ); - Dynamic onRemove_dyn(); - - virtual Void onRegister( ); - Dynamic onRegister_dyn(); - - virtual Void handleNotification( ::org::puremvc::haxe::interfaces::INotification notification); - Dynamic handleNotification_dyn(); - - virtual Array< ::String > listNotificationInterests( ); - Dynamic listNotificationInterests_dyn(); - - virtual Dynamic getViewComponent( ); - Dynamic getViewComponent_dyn(); - - virtual Void setViewComponent( Dynamic viewComponent); - Dynamic setViewComponent_dyn(); - - virtual ::String getMediatorName( ); - Dynamic getMediatorName_dyn(); - - static ::String NAME; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace mediator - -#endif /* INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/observer/Notification.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/observer/Notification.h deleted file mode 100644 index 7841b00..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/observer/Notification.h +++ /dev/null @@ -1,70 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notification -#define INCLUDED_org_puremvc_haxe_patterns_observer_Notification - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notification) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace observer{ - - -class Notification_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Notification_obj OBJ_; - Notification_obj(); - Void __construct(::String name,Dynamic body,::String type); - - public: - static hx::ObjectPtr< Notification_obj > __new(::String name,Dynamic body,::String type); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Notification_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::INotification_obj *() - { return new ::org::puremvc::haxe::interfaces::INotification_delegate_< Notification_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Notification"); } - - Dynamic body; /* REM */ - ::String type; /* REM */ - ::String name; /* REM */ - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual ::String getType( ); - Dynamic getType_dyn(); - - virtual Void setType( ::String type); - Dynamic setType_dyn(); - - virtual Dynamic getBody( ); - Dynamic getBody_dyn(); - - virtual Void setBody( Dynamic body); - Dynamic setBody_dyn(); - - virtual ::String getName( ); - Dynamic getName_dyn(); - -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace observer - -#endif /* INCLUDED_org_puremvc_haxe_patterns_observer_Notification */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/observer/Notifier.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/observer/Notifier.h deleted file mode 100644 index 53cb0c3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/observer/Notifier.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#define INCLUDED_org_puremvc_haxe_patterns_observer_Notifier - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IFacade) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace observer{ - - -class Notifier_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Notifier_obj OBJ_; - Notifier_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Notifier_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Notifier_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::INotifier_obj *() - { return new ::org::puremvc::haxe::interfaces::INotifier_delegate_< Notifier_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Notifier"); } - - ::org::puremvc::haxe::interfaces::IFacade facade; /* REM */ - virtual Void sendNotification( ::String notificationName,Dynamic body,::String type); - Dynamic sendNotification_dyn(); - -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace observer - -#endif /* INCLUDED_org_puremvc_haxe_patterns_observer_Notifier */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/observer/Observer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/observer/Observer.h deleted file mode 100644 index 3c95efa..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/observer/Observer.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Observer -#define INCLUDED_org_puremvc_haxe_patterns_observer_Observer - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IObserver) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Observer) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace observer{ - - -class Observer_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Observer_obj OBJ_; - Observer_obj(); - Void __construct(Dynamic notifyMethod,Dynamic notifyContext); - - public: - static hx::ObjectPtr< Observer_obj > __new(Dynamic notifyMethod,Dynamic notifyContext); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Observer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IObserver_obj *() - { return new ::org::puremvc::haxe::interfaces::IObserver_delegate_< Observer_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Observer"); } - - virtual bool compareNotifyContext( Dynamic object); - Dynamic compareNotifyContext_dyn(); - - virtual Void notifyObserver( ::org::puremvc::haxe::interfaces::INotification notification); - Dynamic notifyObserver_dyn(); - - virtual Dynamic getNotifyContext( ); - Dynamic getNotifyContext_dyn(); - - virtual Dynamic getNotifyMethod( ); - Dynamic getNotifyMethod_dyn(); - - virtual Void setNotifyContext( Dynamic notifyContext); - Dynamic setNotifyContext_dyn(); - - virtual Void setNotifyMethod( Dynamic notifyMethod); - Dynamic setNotifyMethod_dyn(); - - Dynamic context; /* REM */ - Dynamic notify; /* REM */ - Dynamic ¬ify_dyn() { return notify;} -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace observer - -#endif /* INCLUDED_org_puremvc_haxe_patterns_observer_Observer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/proxy/Proxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/proxy/Proxy.h deleted file mode 100644 index aa8d647..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/org/puremvc/haxe/patterns/proxy/Proxy.h +++ /dev/null @@ -1,70 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#define INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace proxy{ - - -class Proxy_obj : public ::org::puremvc::haxe::patterns::observer::Notifier_obj{ - public: - typedef ::org::puremvc::haxe::patterns::observer::Notifier_obj super; - typedef Proxy_obj OBJ_; - Proxy_obj(); - Void __construct(::String proxyName,Dynamic data); - - public: - static hx::ObjectPtr< Proxy_obj > __new(::String proxyName,Dynamic data); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Proxy_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IProxy_obj *() - { return new ::org::puremvc::haxe::interfaces::IProxy_delegate_< Proxy_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Proxy"); } - - Dynamic data; /* REM */ - ::String proxyName; /* REM */ - virtual Void onRemove( ); - Dynamic onRemove_dyn(); - - virtual Void onRegister( ); - Dynamic onRegister_dyn(); - - virtual Dynamic getData( ); - Dynamic getData_dyn(); - - virtual Void setData( Dynamic data); - Dynamic setData_dyn(); - - virtual ::String getProxyName( ); - Dynamic getProxyName_dyn(); - - static ::String NAME; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace proxy - -#endif /* INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/pages/Ptitle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/pages/Ptitle.h deleted file mode 100644 index e39df05..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/pages/Ptitle.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef INCLUDED_pages_Ptitle -#define INCLUDED_pages_Ptitle - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ActorComponent) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,PageComponent) -HX_DECLARE_CLASS1(haxe,Timer) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS1(pages,Ptitle) -namespace pages{ - - -class Ptitle_obj : public ::ca::confidant::glory::view::components::PageComponent_obj{ - public: - typedef ::ca::confidant::glory::view::components::PageComponent_obj super; - typedef Ptitle_obj OBJ_; - Ptitle_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Ptitle_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Ptitle_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Ptitle"); } - - virtual Void onTimerTick( ); - Dynamic onTimerTick_dyn(); - - virtual Void startTimer( hx::Null< int > i); - Dynamic startTimer_dyn(); - - virtual Void init( ); - - ::ca::confidant::glory::view::components::ActorComponent star; /* REM */ - ::haxe::Timer myTimer; /* REM */ -}; - -} // end namespace pages - -#endif /* INCLUDED_pages_Ptitle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/FileSystem.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/FileSystem.h deleted file mode 100644 index c5a8fbe..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/FileSystem.h +++ /dev/null @@ -1,85 +0,0 @@ -#ifndef INCLUDED_sys_FileSystem -#define INCLUDED_sys_FileSystem - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(sys,FileSystem) -HX_DECLARE_CLASS2(sys,_FileSystem,FileKind) -namespace sys{ - - -class FileSystem_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef FileSystem_obj OBJ_; - FileSystem_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< FileSystem_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~FileSystem_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("FileSystem"); } - - static bool exists( ::String path); - static Dynamic exists_dyn(); - - static Void rename( ::String path,::String newpath); - static Dynamic rename_dyn(); - - static Dynamic stat( ::String path); - static Dynamic stat_dyn(); - - static ::String fullPath( ::String relpath); - static Dynamic fullPath_dyn(); - - static ::sys::_FileSystem::FileKind kind( ::String path); - static Dynamic kind_dyn(); - - static bool isDirectory( ::String path); - static Dynamic isDirectory_dyn(); - - static Void createDirectory( ::String path); - static Dynamic createDirectory_dyn(); - - static Void deleteFile( ::String path); - static Dynamic deleteFile_dyn(); - - static Void deleteDirectory( ::String path); - static Dynamic deleteDirectory_dyn(); - - static Array< ::String > readDirectory( ::String path); - static Dynamic readDirectory_dyn(); - - static Dynamic sys_exists; /* REM */ - static Dynamic &sys_exists_dyn() { return sys_exists;} - static Dynamic file_delete; /* REM */ - static Dynamic &file_delete_dyn() { return file_delete;} - static Dynamic sys_rename; /* REM */ - static Dynamic &sys_rename_dyn() { return sys_rename;} - static Dynamic sys_stat; /* REM */ - static Dynamic &sys_stat_dyn() { return sys_stat;} - static Dynamic sys_file_type; /* REM */ - static Dynamic &sys_file_type_dyn() { return sys_file_type;} - static Dynamic sys_create_dir; /* REM */ - static Dynamic &sys_create_dir_dyn() { return sys_create_dir;} - static Dynamic sys_remove_dir; /* REM */ - static Dynamic &sys_remove_dir_dyn() { return sys_remove_dir;} - static Dynamic sys_read_dir; /* REM */ - static Dynamic &sys_read_dir_dyn() { return sys_read_dir;} - static Dynamic file_full_path; /* REM */ - static Dynamic &file_full_path_dyn() { return file_full_path;} -}; - -} // end namespace sys - -#endif /* INCLUDED_sys_FileSystem */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/_FileSystem/FileKind.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/_FileSystem/FileKind.h deleted file mode 100644 index 9bde4c3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/_FileSystem/FileKind.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_sys__FileSystem_FileKind -#define INCLUDED_sys__FileSystem_FileKind - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(sys,_FileSystem,FileKind) -namespace sys{ -namespace _FileSystem{ - - -class FileKind_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef FileKind_obj OBJ_; - - public: - FileKind_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("sys._FileSystem.FileKind"); } - ::String __ToString() const { return HX_CSTRING("FileKind.") + tag; } - - static ::sys::_FileSystem::FileKind kdir; - static inline ::sys::_FileSystem::FileKind kdir_dyn() { return kdir; } - static ::sys::_FileSystem::FileKind kfile; - static inline ::sys::_FileSystem::FileKind kfile_dyn() { return kfile; } - static ::sys::_FileSystem::FileKind kother(::String k); - static Dynamic kother_dyn(); -}; - -} // end namespace sys -} // end namespace _FileSystem - -#endif /* INCLUDED_sys__FileSystem_FileKind */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/File.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/File.h deleted file mode 100644 index 4a6c5cc..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/File.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef INCLUDED_sys_io_File -#define INCLUDED_sys_io_File - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Input) -HX_DECLARE_CLASS2(haxe,io,Output) -HX_DECLARE_CLASS2(sys,io,File) -HX_DECLARE_CLASS2(sys,io,FileInput) -HX_DECLARE_CLASS2(sys,io,FileOutput) -namespace sys{ -namespace io{ - - -class File_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef File_obj OBJ_; - File_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< File_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~File_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("File"); } - - static ::String getContent( ::String path); - static Dynamic getContent_dyn(); - - static ::haxe::io::Bytes getBytes( ::String path); - static Dynamic getBytes_dyn(); - - static Void saveContent( ::String path,::String content); - static Dynamic saveContent_dyn(); - - static Void saveBytes( ::String path,::haxe::io::Bytes bytes); - static Dynamic saveBytes_dyn(); - - static ::sys::io::FileInput read( ::String path,hx::Null< bool > binary); - static Dynamic read_dyn(); - - static ::sys::io::FileOutput write( ::String path,hx::Null< bool > binary); - static Dynamic write_dyn(); - - static ::sys::io::FileOutput append( ::String path,hx::Null< bool > binary); - static Dynamic append_dyn(); - - static Void copy( ::String src,::String dst); - static Dynamic copy_dyn(); - - static Dynamic file_contents; /* REM */ - static Dynamic &file_contents_dyn() { return file_contents;} - static Dynamic file_open; /* REM */ - static Dynamic &file_open_dyn() { return file_open;} -}; - -} // end namespace sys -} // end namespace io - -#endif /* INCLUDED_sys_io_File */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/FileInput.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/FileInput.h deleted file mode 100644 index ae5707c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/FileInput.h +++ /dev/null @@ -1,70 +0,0 @@ -#ifndef INCLUDED_sys_io_FileInput -#define INCLUDED_sys_io_FileInput - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Input) -HX_DECLARE_CLASS2(sys,io,FileInput) -HX_DECLARE_CLASS2(sys,io,FileSeek) -namespace sys{ -namespace io{ - - -class FileInput_obj : public ::haxe::io::Input_obj{ - public: - typedef ::haxe::io::Input_obj super; - typedef FileInput_obj OBJ_; - FileInput_obj(); - Void __construct(Dynamic f); - - public: - static hx::ObjectPtr< FileInput_obj > __new(Dynamic f); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~FileInput_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("FileInput"); } - - virtual bool eof( ); - Dynamic eof_dyn(); - - virtual int tell( ); - Dynamic tell_dyn(); - - virtual Void seek( int p,::sys::io::FileSeek pos); - Dynamic seek_dyn(); - - virtual Void close( ); - - virtual int readBytes( ::haxe::io::Bytes s,int p,int l); - - virtual int readByte( ); - - Dynamic __f; /* REM */ - static Dynamic file_eof; /* REM */ - static Dynamic &file_eof_dyn() { return file_eof;} - static Dynamic file_read; /* REM */ - static Dynamic &file_read_dyn() { return file_read;} - static Dynamic file_read_char; /* REM */ - static Dynamic &file_read_char_dyn() { return file_read_char;} - static Dynamic file_close; /* REM */ - static Dynamic &file_close_dyn() { return file_close;} - static Dynamic file_seek; /* REM */ - static Dynamic &file_seek_dyn() { return file_seek;} - static Dynamic file_tell; /* REM */ - static Dynamic &file_tell_dyn() { return file_tell;} -}; - -} // end namespace sys -} // end namespace io - -#endif /* INCLUDED_sys_io_FileInput */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/FileOutput.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/FileOutput.h deleted file mode 100644 index 4fbc94f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/FileOutput.h +++ /dev/null @@ -1,69 +0,0 @@ -#ifndef INCLUDED_sys_io_FileOutput -#define INCLUDED_sys_io_FileOutput - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Output) -HX_DECLARE_CLASS2(sys,io,FileOutput) -HX_DECLARE_CLASS2(sys,io,FileSeek) -namespace sys{ -namespace io{ - - -class FileOutput_obj : public ::haxe::io::Output_obj{ - public: - typedef ::haxe::io::Output_obj super; - typedef FileOutput_obj OBJ_; - FileOutput_obj(); - Void __construct(Dynamic f); - - public: - static hx::ObjectPtr< FileOutput_obj > __new(Dynamic f); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~FileOutput_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("FileOutput"); } - - virtual int tell( ); - Dynamic tell_dyn(); - - virtual Void seek( int p,::sys::io::FileSeek pos); - Dynamic seek_dyn(); - - virtual Void close( ); - - virtual Void flush( ); - - virtual int writeBytes( ::haxe::io::Bytes s,int p,int l); - - virtual Void writeByte( int c); - - Dynamic __f; /* REM */ - static Dynamic file_close; /* REM */ - static Dynamic &file_close_dyn() { return file_close;} - static Dynamic file_seek; /* REM */ - static Dynamic &file_seek_dyn() { return file_seek;} - static Dynamic file_tell; /* REM */ - static Dynamic &file_tell_dyn() { return file_tell;} - static Dynamic file_flush; /* REM */ - static Dynamic &file_flush_dyn() { return file_flush;} - static Dynamic file_write; /* REM */ - static Dynamic &file_write_dyn() { return file_write;} - static Dynamic file_write_char; /* REM */ - static Dynamic &file_write_char_dyn() { return file_write_char;} -}; - -} // end namespace sys -} // end namespace io - -#endif /* INCLUDED_sys_io_FileOutput */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/FileSeek.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/FileSeek.h deleted file mode 100644 index 8e4a353..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/FileSeek.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_sys_io_FileSeek -#define INCLUDED_sys_io_FileSeek - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(sys,io,FileSeek) -namespace sys{ -namespace io{ - - -class FileSeek_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef FileSeek_obj OBJ_; - - public: - FileSeek_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("sys.io.FileSeek"); } - ::String __ToString() const { return HX_CSTRING("FileSeek.") + tag; } - - static ::sys::io::FileSeek SeekBegin; - static inline ::sys::io::FileSeek SeekBegin_dyn() { return SeekBegin; } - static ::sys::io::FileSeek SeekCur; - static inline ::sys::io::FileSeek SeekCur_dyn() { return SeekCur; } - static ::sys::io::FileSeek SeekEnd; - static inline ::sys::io::FileSeek SeekEnd_dyn() { return SeekEnd; } -}; - -} // end namespace sys -} // end namespace io - -#endif /* INCLUDED_sys_io_FileSeek */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/Process.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/Process.h deleted file mode 100644 index 3c109bb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/Process.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef INCLUDED_sys_io_Process -#define INCLUDED_sys_io_Process - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Input) -HX_DECLARE_CLASS2(haxe,io,Output) -HX_DECLARE_CLASS2(sys,io,Process) -namespace sys{ -namespace io{ - - -class Process_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Process_obj OBJ_; - Process_obj(); - Void __construct(::String cmd,Array< ::String > args); - - public: - static hx::ObjectPtr< Process_obj > __new(::String cmd,Array< ::String > args); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Process_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Process"); } - - virtual Void kill( ); - Dynamic kill_dyn(); - - virtual Void close( ); - Dynamic close_dyn(); - - virtual int exitCode( ); - Dynamic exitCode_dyn(); - - virtual int getPid( ); - Dynamic getPid_dyn(); - - ::haxe::io::Output _stdin; /* REM */ - ::haxe::io::Input _stderr; /* REM */ - ::haxe::io::Input _stdout; /* REM */ - Dynamic p; /* REM */ - static Dynamic _run; /* REM */ - static Dynamic &_run_dyn() { return _run;} - static Dynamic _exit; /* REM */ - static Dynamic &_exit_dyn() { return _exit;} - static Dynamic _pid; /* REM */ - static Dynamic &_pid_dyn() { return _pid;} - static Dynamic _close; /* REM */ - static Dynamic &_close_dyn() { return _close;} -}; - -} // end namespace sys -} // end namespace io - -#endif /* INCLUDED_sys_io_Process */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/_Process/Stdin.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/_Process/Stdin.h deleted file mode 100644 index 67872cc..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/_Process/Stdin.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef INCLUDED_sys_io__Process_Stdin -#define INCLUDED_sys_io__Process_Stdin - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Output) -HX_DECLARE_CLASS3(sys,io,_Process,Stdin) -namespace sys{ -namespace io{ -namespace _Process{ - - -class Stdin_obj : public ::haxe::io::Output_obj{ - public: - typedef ::haxe::io::Output_obj super; - typedef Stdin_obj OBJ_; - Stdin_obj(); - Void __construct(Dynamic p); - - public: - static hx::ObjectPtr< Stdin_obj > __new(Dynamic p); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Stdin_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Stdin"); } - - virtual int writeBytes( ::haxe::io::Bytes buf,int pos,int len); - - virtual Void writeByte( int c); - - virtual Void close( ); - - ::haxe::io::Bytes buf; /* REM */ - Dynamic p; /* REM */ - static Dynamic _stdin_write; /* REM */ - static Dynamic &_stdin_write_dyn() { return _stdin_write;} - static Dynamic _stdin_close; /* REM */ - static Dynamic &_stdin_close_dyn() { return _stdin_close;} -}; - -} // end namespace sys -} // end namespace io -} // end namespace _Process - -#endif /* INCLUDED_sys_io__Process_Stdin */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/_Process/Stdout.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/_Process/Stdout.h deleted file mode 100644 index 1cdf25d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/include/sys/io/_Process/Stdout.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_sys_io__Process_Stdout -#define INCLUDED_sys_io__Process_Stdout - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Input) -HX_DECLARE_CLASS3(sys,io,_Process,Stdout) -namespace sys{ -namespace io{ -namespace _Process{ - - -class Stdout_obj : public ::haxe::io::Input_obj{ - public: - typedef ::haxe::io::Input_obj super; - typedef Stdout_obj OBJ_; - Stdout_obj(); - Void __construct(Dynamic p,bool out); - - public: - static hx::ObjectPtr< Stdout_obj > __new(Dynamic p,bool out); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Stdout_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Stdout"); } - - virtual int readBytes( ::haxe::io::Bytes str,int pos,int len); - - virtual int readByte( ); - - ::haxe::io::Bytes buf; /* REM */ - bool out; /* REM */ - Dynamic p; /* REM */ - static Dynamic _stdout_read; /* REM */ - static Dynamic &_stdout_read_dyn() { return _stdout_read;} - static Dynamic _stderr_read; /* REM */ - static Dynamic &_stderr_read_dyn() { return _stderr_read;} -}; - -} // end namespace sys -} // end namespace io -} // end namespace _Process - -#endif /* INCLUDED_sys_io__Process_Stdout */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/Options.txt b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/Options.txt deleted file mode 100644 index 420741d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/Options.txt +++ /dev/null @@ -1,17 +0,0 @@ -HXCPP_ARMV7 -HXCPP_CLANG -OBJC_ARC -actuate -cpp -haxe_208 -haxe_209 -haxe_210 -ios -iphone -mobile -nme -nme_install_tool -svg -sys -true -/usr/lib/haxe/lib/hxcpp/2,10/ \ No newline at end of file diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ApplicationMain.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ApplicationMain.o deleted file mode 100644 index 22984d0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ApplicationMain.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Array.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Array.o deleted file mode 100644 index 39cc794..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Array.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Class.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Class.o deleted file mode 100644 index 15e55ee..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Class.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Date.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Date.o deleted file mode 100644 index e0f57c1..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Date.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Dynamic.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Dynamic.o deleted file mode 100644 index 65a0545..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Dynamic.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/EReg.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/EReg.o deleted file mode 100644 index 552bcaa..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/EReg.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Enum.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Enum.o deleted file mode 100644 index c974f40..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Enum.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Hash.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Hash.o deleted file mode 100644 index 2f87cdf..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Hash.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/IntHash.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/IntHash.o deleted file mode 100644 index 453e3b4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/IntHash.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/IntIter.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/IntIter.o deleted file mode 100644 index fb21c98..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/IntIter.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/List.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/List.o deleted file mode 100644 index 722fcd0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/List.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Main.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Main.o deleted file mode 100644 index a720d62..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Main.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Math.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Math.o deleted file mode 100644 index 9b3f8aa..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Math.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Reflect.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Reflect.o deleted file mode 100644 index 0b74491..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Reflect.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Std.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Std.o deleted file mode 100644 index aaa40f2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Std.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/String.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/String.o deleted file mode 100644 index 23229d4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/String.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/StringBuf.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/StringBuf.o deleted file mode 100644 index f3965d1..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/StringBuf.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/StringTools.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/StringTools.o deleted file mode 100644 index fc5462d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/StringTools.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Sys.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Sys.o deleted file mode 100644 index a6880d0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Sys.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Type.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Type.o deleted file mode 100644 index a7a428f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Type.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ValueType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ValueType.o deleted file mode 100644 index 68a5da8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ValueType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Xml.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Xml.o deleted file mode 100644 index f089dd8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/Xml.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/XmlType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/XmlType.o deleted file mode 100644 index 02cbfc2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/XmlType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/__boot__.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/__boot__.o deleted file mode 100644 index 865bc07..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/__boot__.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/__files__.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/__files__.o deleted file mode 100644 index 450aba3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/__files__.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/__lib__.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/__lib__.o deleted file mode 100644 index 19507ad..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/__lib__.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/__resources__.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/__resources__.o deleted file mode 100644 index e7b0f53..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/__resources__.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/ApplicationFacade.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/ApplicationFacade.o deleted file mode 100644 index 081f203..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/ApplicationFacade.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/GloryFrameworkApp.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/GloryFrameworkApp.o deleted file mode 100644 index 082442c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/GloryFrameworkApp.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/BuildControlsCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/BuildControlsCommand.o deleted file mode 100644 index e90f5f3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/BuildControlsCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/BuildPageCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/BuildPageCommand.o deleted file mode 100644 index 7bd81ee..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/BuildPageCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/ChangePageCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/ChangePageCommand.o deleted file mode 100644 index 6fc72ad..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/ChangePageCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/GotoIntroCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/GotoIntroCommand.o deleted file mode 100644 index 51413fb..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/GotoIntroCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.o deleted file mode 100644 index 585d7b7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/RemovePageCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/RemovePageCommand.o deleted file mode 100644 index 304c0b3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/RemovePageCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.o deleted file mode 100644 index 5f67e17..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/Startup1_App_Command.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/Startup1_App_Command.o deleted file mode 100644 index 39d43b0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/Startup1_App_Command.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/Startup2_Proxies_Command.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/Startup2_Proxies_Command.o deleted file mode 100644 index 5494554..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/Startup2_Proxies_Command.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/StartupCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/StartupCommand.o deleted file mode 100644 index c536c41..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/StartupCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/TimerDisableCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/TimerDisableCommand.o deleted file mode 100644 index 9846b0f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/TimerDisableCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/TimerEnableCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/TimerEnableCommand.o deleted file mode 100644 index a69eb51..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/controller/TimerEnableCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/model/ActorComponentConfigProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/model/ActorComponentConfigProxy.o deleted file mode 100644 index 1c64d3f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/model/ActorComponentConfigProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/model/ControlsRegistryProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/model/ControlsRegistryProxy.o deleted file mode 100644 index 2d2bf85..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/model/ControlsRegistryProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/model/LoaderProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/model/LoaderProxy.o deleted file mode 100644 index b8d5e18..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/model/LoaderProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/model/PagesConfigProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/model/PagesConfigProxy.o deleted file mode 100644 index ca75416..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/model/PagesConfigProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/model/TickerProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/model/TickerProxy.o deleted file mode 100644 index 9dea26c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/model/TickerProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/ActorComponentMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/ActorComponentMediator.o deleted file mode 100644 index 3223678..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/ActorComponentMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/ApplicationMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/ApplicationMediator.o deleted file mode 100644 index a174ffb..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/ApplicationMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/ControlComponentMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/ControlComponentMediator.o deleted file mode 100644 index 68546c0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/ControlComponentMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/PageMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/PageMediator.o deleted file mode 100644 index a45b547..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/PageMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/components/ActorComponent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/components/ActorComponent.o deleted file mode 100644 index 17bf1c6..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/components/ActorComponent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/components/ControlComponent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/components/ControlComponent.o deleted file mode 100644 index e3ffe26..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/components/ControlComponent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/constants/ControlConstants.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/constants/ControlConstants.o deleted file mode 100644 index 02615f9..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/ca/confidant/glory/view/constants/ControlConstants.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/cpp/Lib.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/cpp/Lib.o deleted file mode 100644 index 7fe1ed6..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/cpp/Lib.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/cpp/rtti/FieldNumericIntegerLookup.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/cpp/rtti/FieldNumericIntegerLookup.o deleted file mode 100644 index ed349e4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/cpp/rtti/FieldNumericIntegerLookup.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/cpp/zip/Compress.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/cpp/zip/Compress.o deleted file mode 100644 index 3199c00..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/cpp/zip/Compress.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/cpp/zip/Flush.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/cpp/zip/Flush.o deleted file mode 100644 index 9f3ad1a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/cpp/zip/Flush.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/cpp/zip/Uncompress.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/cpp/zip/Uncompress.o deleted file mode 100644 index e791978..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/cpp/zip/Uncompress.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/SVG.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/SVG.o deleted file mode 100644 index 019e550..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/SVG.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/Gfx.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/Gfx.o deleted file mode 100644 index 51edf9f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/Gfx.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/Gfx2Haxe.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/Gfx2Haxe.o deleted file mode 100644 index 602df3f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/Gfx2Haxe.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/GfxBytes.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/GfxBytes.o deleted file mode 100644 index fb8a294..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/GfxBytes.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/GfxExtent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/GfxExtent.o deleted file mode 100644 index 9a02ed2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/GfxExtent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/GfxGraphics.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/GfxGraphics.o deleted file mode 100644 index 838a195..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/GfxGraphics.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/GfxTextFinder.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/GfxTextFinder.o deleted file mode 100644 index 3291ec7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/GfxTextFinder.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/Gradient.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/Gradient.o deleted file mode 100644 index b721198..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/Gradient.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/LineStyle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/LineStyle.o deleted file mode 100644 index eed67e8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/gfx/LineStyle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/ArcSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/ArcSegment.o deleted file mode 100644 index 88b1447..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/ArcSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/CubicSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/CubicSegment.o deleted file mode 100644 index 5d9c2da..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/CubicSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/DisplayElement.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/DisplayElement.o deleted file mode 100644 index d117fe5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/DisplayElement.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/DrawSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/DrawSegment.o deleted file mode 100644 index ce1b943..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/DrawSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/FillType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/FillType.o deleted file mode 100644 index 9bd9246..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/FillType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/Grad.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/Grad.o deleted file mode 100644 index 5e5c8ed..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/Grad.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/Group.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/Group.o deleted file mode 100644 index eb654cb..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/Group.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/MoveSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/MoveSegment.o deleted file mode 100644 index 4088d8b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/MoveSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/Path.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/Path.o deleted file mode 100644 index 7d8ee65..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/Path.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/PathParser.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/PathParser.o deleted file mode 100644 index 6322554..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/PathParser.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/PathSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/PathSegment.o deleted file mode 100644 index 376f7af..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/PathSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/QuadraticSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/QuadraticSegment.o deleted file mode 100644 index 914c875..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/QuadraticSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/RenderContext.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/RenderContext.o deleted file mode 100644 index a40890c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/RenderContext.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/SVGData.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/SVGData.o deleted file mode 100644 index f475465..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/SVGData.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/SVGRenderer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/SVGRenderer.o deleted file mode 100644 index c81252e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/SVGRenderer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/Text.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/Text.o deleted file mode 100644 index bfe694a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/format/svg/Text.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/BaseCode.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/BaseCode.o deleted file mode 100644 index 5fa9a8b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/BaseCode.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/Log.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/Log.o deleted file mode 100644 index 4da45ec..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/Log.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/Timer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/Timer.o deleted file mode 100644 index 0f862ea..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/Timer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/io/Bytes.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/io/Bytes.o deleted file mode 100644 index 3a9c1dc..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/io/Bytes.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/io/BytesBuffer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/io/BytesBuffer.o deleted file mode 100644 index 58a8394..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/io/BytesBuffer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/io/Eof.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/io/Eof.o deleted file mode 100644 index 31dcdaa..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/io/Eof.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/io/Error.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/io/Error.o deleted file mode 100644 index 154ee54..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/io/Error.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/io/Input.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/io/Input.o deleted file mode 100644 index 0eb2467..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/io/Input.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/io/Output.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/io/Output.o deleted file mode 100644 index bf0a188..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/io/Output.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/xml/Fast.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/xml/Fast.o deleted file mode 100644 index a28d0af..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/xml/Fast.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/xml/_Fast/AttribAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/xml/_Fast/AttribAccess.o deleted file mode 100644 index 6e63b23..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/xml/_Fast/AttribAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/xml/_Fast/HasAttribAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/xml/_Fast/HasAttribAccess.o deleted file mode 100644 index e30e99b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/xml/_Fast/HasAttribAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/xml/_Fast/HasNodeAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/xml/_Fast/HasNodeAccess.o deleted file mode 100644 index 5654bac..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/xml/_Fast/HasNodeAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/xml/_Fast/NodeAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/xml/_Fast/NodeAccess.o deleted file mode 100644 index efd6fb5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/xml/_Fast/NodeAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/xml/_Fast/NodeListAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/xml/_Fast/NodeListAccess.o deleted file mode 100644 index 25eeeda..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/haxe/xml/_Fast/NodeListAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Anon.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Anon.o deleted file mode 100644 index d7a42ef..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Anon.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Boot.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Boot.o deleted file mode 100644 index b88b13b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Boot.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/CFFI.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/CFFI.o deleted file mode 100644 index a7476ed..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/CFFI.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Date.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Date.o deleted file mode 100644 index 40e293b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Date.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Debug.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Debug.o deleted file mode 100644 index 6a18f02..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Debug.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/GC.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/GC.o deleted file mode 100644 index c6bb7b7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/GC.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/GCInternal.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/GCInternal.o deleted file mode 100644 index 21f5547..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/GCInternal.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Hash.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Hash.o deleted file mode 100644 index 6170a4c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Hash.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Interface.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Interface.o deleted file mode 100644 index de2326a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Interface.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Lib.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Lib.o deleted file mode 100644 index e3c3902..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Lib.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Object.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Object.o deleted file mode 100644 index 3eab586..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Object.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/RunLibs.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/RunLibs.o deleted file mode 100644 index d70ba15..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/RunLibs.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/StdLibs.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/StdLibs.o deleted file mode 100644 index 936cfc4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/StdLibs.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Thread.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Thread.o deleted file mode 100644 index 0baf019..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/hx/Thread.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/Lib.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/Lib.o deleted file mode 100644 index e37860e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/Lib.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/Loader.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/Loader.o deleted file mode 100644 index 4d215e3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/Loader.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/Bitmap.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/Bitmap.o deleted file mode 100644 index 35e079f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/Bitmap.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/BitmapData.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/BitmapData.o deleted file mode 100644 index 099b172..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/BitmapData.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/BitmapDataChannel.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/BitmapDataChannel.o deleted file mode 100644 index 05c8a43..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/BitmapDataChannel.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/BlendMode.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/BlendMode.o deleted file mode 100644 index 477b3f0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/BlendMode.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/CapsStyle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/CapsStyle.o deleted file mode 100644 index ffbe106..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/CapsStyle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/DisplayObject.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/DisplayObject.o deleted file mode 100644 index 5f59c65..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/DisplayObject.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/DisplayObjectContainer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/DisplayObjectContainer.o deleted file mode 100644 index d87fb05..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/DisplayObjectContainer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/GradientType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/GradientType.o deleted file mode 100644 index 74bf0f5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/GradientType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/Graphics.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/Graphics.o deleted file mode 100644 index 619bc79..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/Graphics.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/GraphicsPathWinding.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/GraphicsPathWinding.o deleted file mode 100644 index d2dcd13..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/GraphicsPathWinding.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/IBitmapDrawable.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/IBitmapDrawable.o deleted file mode 100644 index b3eeade..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/IBitmapDrawable.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/IGraphicsData.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/IGraphicsData.o deleted file mode 100644 index 9a16dd2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/IGraphicsData.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/InteractiveObject.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/InteractiveObject.o deleted file mode 100644 index 2d2f739..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/InteractiveObject.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/InterpolationMethod.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/InterpolationMethod.o deleted file mode 100644 index 6adf57d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/InterpolationMethod.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/JointStyle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/JointStyle.o deleted file mode 100644 index 01fb2aa..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/JointStyle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/LineScaleMode.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/LineScaleMode.o deleted file mode 100644 index a2da35c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/LineScaleMode.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/ManagedStage.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/ManagedStage.o deleted file mode 100644 index 0f911d7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/ManagedStage.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/MovieClip.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/MovieClip.o deleted file mode 100644 index b2f6ae0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/MovieClip.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/OptimizedPerlin.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/OptimizedPerlin.o deleted file mode 100644 index 2aaf42f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/OptimizedPerlin.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/PixelSnapping.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/PixelSnapping.o deleted file mode 100644 index 51bc108..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/PixelSnapping.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/Shape.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/Shape.o deleted file mode 100644 index bb3f80b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/Shape.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/SpreadMethod.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/SpreadMethod.o deleted file mode 100644 index af934af..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/SpreadMethod.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/Sprite.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/Sprite.o deleted file mode 100644 index 2cbea68..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/Sprite.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/Stage.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/Stage.o deleted file mode 100644 index d73ab82..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/Stage.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/StageAlign.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/StageAlign.o deleted file mode 100644 index 2bfe328..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/StageAlign.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/StageDisplayState.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/StageDisplayState.o deleted file mode 100644 index 5b92617..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/StageDisplayState.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/StageQuality.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/StageQuality.o deleted file mode 100644 index ef283d8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/StageQuality.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/StageScaleMode.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/StageScaleMode.o deleted file mode 100644 index 0a09368..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/StageScaleMode.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/Tilesheet.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/Tilesheet.o deleted file mode 100644 index 6c941c9..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/Tilesheet.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/TouchInfo.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/TouchInfo.o deleted file mode 100644 index 4e0bbf2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/TouchInfo.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/TriangleCulling.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/TriangleCulling.o deleted file mode 100644 index 30e8a4b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/display/TriangleCulling.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/errors/ArgumentError.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/errors/ArgumentError.o deleted file mode 100644 index bf8d125..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/errors/ArgumentError.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/errors/EOFError.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/errors/EOFError.o deleted file mode 100644 index 6f1ccfb..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/errors/EOFError.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/errors/Error.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/errors/Error.o deleted file mode 100644 index e61bb26..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/errors/Error.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/errors/RangeError.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/errors/RangeError.o deleted file mode 100644 index 38b8ac8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/errors/RangeError.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/ErrorEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/ErrorEvent.o deleted file mode 100644 index 984960a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/ErrorEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/Event.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/Event.o deleted file mode 100644 index a33c6f8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/Event.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/EventDispatcher.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/EventDispatcher.o deleted file mode 100644 index 385c7b3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/EventDispatcher.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/EventPhase.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/EventPhase.o deleted file mode 100644 index af5de32..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/EventPhase.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/FocusEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/FocusEvent.o deleted file mode 100644 index 240cd80..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/FocusEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/HTTPStatusEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/HTTPStatusEvent.o deleted file mode 100644 index 75ccace..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/HTTPStatusEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/IEventDispatcher.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/IEventDispatcher.o deleted file mode 100644 index a1e6d80..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/IEventDispatcher.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/IOErrorEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/IOErrorEvent.o deleted file mode 100644 index 4e4b965..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/IOErrorEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/JoystickEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/JoystickEvent.o deleted file mode 100644 index d204f80..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/JoystickEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/KeyboardEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/KeyboardEvent.o deleted file mode 100644 index a9dea90..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/KeyboardEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/Listener.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/Listener.o deleted file mode 100644 index c4fcea3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/Listener.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/MouseEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/MouseEvent.o deleted file mode 100644 index b471f24..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/MouseEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/ProgressEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/ProgressEvent.o deleted file mode 100644 index 1806616..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/ProgressEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/SampleDataEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/SampleDataEvent.o deleted file mode 100644 index c6be352..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/SampleDataEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/TextEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/TextEvent.o deleted file mode 100644 index ef033b3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/TextEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/TouchEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/TouchEvent.o deleted file mode 100644 index 76785d6..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/events/TouchEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/filters/BitmapFilter.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/filters/BitmapFilter.o deleted file mode 100644 index 960c4c7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/filters/BitmapFilter.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/geom/ColorTransform.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/geom/ColorTransform.o deleted file mode 100644 index 6f4542b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/geom/ColorTransform.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/geom/Matrix.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/geom/Matrix.o deleted file mode 100644 index 6e7004e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/geom/Matrix.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/geom/Point.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/geom/Point.o deleted file mode 100644 index 2a67360..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/geom/Point.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/geom/Rectangle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/geom/Rectangle.o deleted file mode 100644 index bb4468e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/geom/Rectangle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/geom/Transform.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/geom/Transform.o deleted file mode 100644 index 13d647b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/geom/Transform.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/media/ID3Info.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/media/ID3Info.o deleted file mode 100644 index 1abafcf..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/media/ID3Info.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/media/Sound.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/media/Sound.o deleted file mode 100644 index 8fbcb2e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/media/Sound.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/media/SoundChannel.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/media/SoundChannel.o deleted file mode 100644 index 880b894..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/media/SoundChannel.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/media/SoundLoaderContext.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/media/SoundLoaderContext.o deleted file mode 100644 index b5fc346..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/media/SoundLoaderContext.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/media/SoundTransform.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/media/SoundTransform.o deleted file mode 100644 index 19d3fbe..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/media/SoundTransform.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/net/URLLoader.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/net/URLLoader.o deleted file mode 100644 index 3b118a1..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/net/URLLoader.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/net/URLLoaderDataFormat.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/net/URLLoaderDataFormat.o deleted file mode 100644 index adfa909..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/net/URLLoaderDataFormat.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/net/URLRequest.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/net/URLRequest.o deleted file mode 100644 index b6b926e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/net/URLRequest.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/net/URLRequestHeader.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/net/URLRequestHeader.o deleted file mode 100644 index 7b913db..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/net/URLRequestHeader.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/net/URLRequestMethod.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/net/URLRequestMethod.o deleted file mode 100644 index 04d24f0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/net/URLRequestMethod.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/net/URLVariables.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/net/URLVariables.o deleted file mode 100644 index edccee8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/net/URLVariables.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/text/Font.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/text/Font.o deleted file mode 100644 index 5b7efdb..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/text/Font.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/text/FontStyle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/text/FontStyle.o deleted file mode 100644 index 824155b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/text/FontStyle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/text/FontType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/text/FontType.o deleted file mode 100644 index 53e633e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/text/FontType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/utils/ByteArray.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/utils/ByteArray.o deleted file mode 100644 index 8dcc21c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/utils/ByteArray.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/utils/Endian.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/utils/Endian.o deleted file mode 100644 index 8d2d812..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/utils/Endian.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/utils/IDataInput.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/utils/IDataInput.o deleted file mode 100644 index 0650d3b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/utils/IDataInput.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/utils/WeakRef.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/utils/WeakRef.o deleted file mode 100644 index 3c1d5a7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/neash/utils/WeakRef.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/nme/Lib.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/nme/Lib.o deleted file mode 100644 index 76a47b4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/nme/Lib.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/nme/installer/Assets.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/nme/installer/Assets.o deleted file mode 100644 index 3f2b911..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/nme/installer/Assets.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/core/Controller.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/core/Controller.o deleted file mode 100644 index 58b53a5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/core/Controller.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/core/Model.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/core/Model.o deleted file mode 100644 index b0e7e4f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/core/Model.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/core/View.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/core/View.o deleted file mode 100644 index dff7484..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/core/View.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/ICommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/ICommand.o deleted file mode 100644 index 5729e3a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/ICommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IController.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IController.o deleted file mode 100644 index c6a1946..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IController.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IFacade.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IFacade.o deleted file mode 100644 index 7f62e45..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IFacade.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IMediator.o deleted file mode 100644 index 849a818..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IModel.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IModel.o deleted file mode 100644 index 60afe28..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IModel.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/INotification.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/INotification.o deleted file mode 100644 index f56f26f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/INotification.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/INotifier.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/INotifier.o deleted file mode 100644 index 718d53e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/INotifier.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IObserver.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IObserver.o deleted file mode 100644 index ec3eead..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IObserver.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IProxy.o deleted file mode 100644 index 59648fc..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IView.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IView.o deleted file mode 100644 index 7d255df..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/interfaces/IView.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/command/MacroCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/command/MacroCommand.o deleted file mode 100644 index 8b0bae7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/command/MacroCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/command/SimpleCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/command/SimpleCommand.o deleted file mode 100644 index ebab0f7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/command/SimpleCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/facade/Facade.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/facade/Facade.o deleted file mode 100644 index 9cfd406..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/facade/Facade.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/mediator/Mediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/mediator/Mediator.o deleted file mode 100644 index 8e09841..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/mediator/Mediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/observer/Notification.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/observer/Notification.o deleted file mode 100644 index 8479ff5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/observer/Notification.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/observer/Notifier.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/observer/Notifier.o deleted file mode 100644 index d9769da..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/observer/Notifier.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/observer/Observer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/observer/Observer.o deleted file mode 100644 index fdc2e7e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/observer/Observer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/proxy/Proxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/proxy/Proxy.o deleted file mode 100644 index 628ea9f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/org/puremvc/haxe/patterns/proxy/Proxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/pages/Ptitle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/pages/Ptitle.o deleted file mode 100644 index d33e7f1..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/pages/Ptitle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/FileSystem.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/FileSystem.o deleted file mode 100644 index 47e66e6..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/FileSystem.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/_FileSystem/FileKind.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/_FileSystem/FileKind.o deleted file mode 100644 index bba554e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/_FileSystem/FileKind.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/File.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/File.o deleted file mode 100644 index 210e906..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/File.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/FileInput.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/FileInput.o deleted file mode 100644 index 73bacd2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/FileInput.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/FileOutput.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/FileOutput.o deleted file mode 100644 index 669d0f8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/FileOutput.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/FileSeek.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/FileSeek.o deleted file mode 100644 index 0760b94..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/FileSeek.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/Process.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/Process.o deleted file mode 100644 index 8215ac4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/Process.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/_Process/Stdin.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/_Process/Stdin.o deleted file mode 100644 index 4e50e09..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/_Process/Stdin.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/_Process/Stdout.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/_Process/Stdout.o deleted file mode 100644 index 7746aff..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos-v7/src/sys/io/_Process/Stdout.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/Options.txt b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/Options.txt deleted file mode 100644 index 0d5c23a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/Options.txt +++ /dev/null @@ -1,17 +0,0 @@ -HXCPP_ARMV6 -HXCPP_CLANG -OBJC_ARC -actuate -cpp -haxe_208 -haxe_209 -haxe_210 -ios -iphone -mobile -nme -nme_install_tool -svg -sys -true -/usr/lib/haxe/lib/hxcpp/2,10/ \ No newline at end of file diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ApplicationMain.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ApplicationMain.o deleted file mode 100644 index 48210cb..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ApplicationMain.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Array.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Array.o deleted file mode 100644 index b493be7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Array.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Class.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Class.o deleted file mode 100644 index 41e8286..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Class.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Date.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Date.o deleted file mode 100644 index dc9a9a7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Date.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Dynamic.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Dynamic.o deleted file mode 100644 index 2502dc3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Dynamic.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/EReg.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/EReg.o deleted file mode 100644 index f59cd32..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/EReg.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Enum.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Enum.o deleted file mode 100644 index 3e4c7d8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Enum.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Hash.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Hash.o deleted file mode 100644 index 7118b17..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Hash.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/IntHash.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/IntHash.o deleted file mode 100644 index f04dd74..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/IntHash.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/IntIter.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/IntIter.o deleted file mode 100644 index 1eb60f2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/IntIter.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/List.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/List.o deleted file mode 100644 index 24ea39f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/List.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Main.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Main.o deleted file mode 100644 index e5024a5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Main.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Math.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Math.o deleted file mode 100644 index 18ba30a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Math.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Reflect.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Reflect.o deleted file mode 100644 index bbfb60c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Reflect.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Std.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Std.o deleted file mode 100644 index b10fb7d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Std.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/String.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/String.o deleted file mode 100644 index 3d10ff1..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/String.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/StringBuf.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/StringBuf.o deleted file mode 100644 index a43da5e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/StringBuf.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/StringTools.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/StringTools.o deleted file mode 100644 index 112cd11..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/StringTools.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Sys.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Sys.o deleted file mode 100644 index a121ca2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Sys.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Type.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Type.o deleted file mode 100644 index d0f1989..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Type.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ValueType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ValueType.o deleted file mode 100644 index cce2717..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ValueType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Xml.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Xml.o deleted file mode 100644 index 5678117..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/Xml.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/XmlType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/XmlType.o deleted file mode 100644 index a0c7e49..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/XmlType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/__boot__.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/__boot__.o deleted file mode 100644 index 7a2573f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/__boot__.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/__files__.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/__files__.o deleted file mode 100644 index 45dfcf3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/__files__.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/__lib__.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/__lib__.o deleted file mode 100644 index 4979a1a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/__lib__.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/__resources__.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/__resources__.o deleted file mode 100644 index f497386..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/__resources__.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/ApplicationFacade.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/ApplicationFacade.o deleted file mode 100644 index acc8866..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/ApplicationFacade.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/GloryFrameworkApp.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/GloryFrameworkApp.o deleted file mode 100644 index 2900ad7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/GloryFrameworkApp.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/BuildControlsCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/BuildControlsCommand.o deleted file mode 100644 index 95972c0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/BuildControlsCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/BuildPageCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/BuildPageCommand.o deleted file mode 100644 index bb9d07f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/BuildPageCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/ChangePageCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/ChangePageCommand.o deleted file mode 100644 index 8f5c0d1..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/ChangePageCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/GotoIntroCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/GotoIntroCommand.o deleted file mode 100644 index 4cd4bea..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/GotoIntroCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.o deleted file mode 100644 index 313ac01..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/RemovePageCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/RemovePageCommand.o deleted file mode 100644 index 1da08cb..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/RemovePageCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.o deleted file mode 100644 index d156034..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/Startup1_App_Command.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/Startup1_App_Command.o deleted file mode 100644 index b97bd31..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/Startup1_App_Command.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/Startup2_Proxies_Command.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/Startup2_Proxies_Command.o deleted file mode 100644 index 961a621..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/Startup2_Proxies_Command.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/StartupCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/StartupCommand.o deleted file mode 100644 index fba20dd..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/StartupCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/TimerDisableCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/TimerDisableCommand.o deleted file mode 100644 index 73be4ea..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/TimerDisableCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/TimerEnableCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/TimerEnableCommand.o deleted file mode 100644 index 3c1623d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/controller/TimerEnableCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/model/ActorComponentConfigProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/model/ActorComponentConfigProxy.o deleted file mode 100644 index 0efe98f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/model/ActorComponentConfigProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/model/ControlsRegistryProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/model/ControlsRegistryProxy.o deleted file mode 100644 index b4e0247..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/model/ControlsRegistryProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/model/LoaderProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/model/LoaderProxy.o deleted file mode 100644 index 3ce89ff..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/model/LoaderProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/model/PagesConfigProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/model/PagesConfigProxy.o deleted file mode 100644 index c156a3d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/model/PagesConfigProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/model/TickerProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/model/TickerProxy.o deleted file mode 100644 index 2e76f95..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/model/TickerProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/ActorComponentMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/ActorComponentMediator.o deleted file mode 100644 index cebe31d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/ActorComponentMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/ApplicationMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/ApplicationMediator.o deleted file mode 100644 index 72ab2d5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/ApplicationMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/ControlComponentMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/ControlComponentMediator.o deleted file mode 100644 index cb9f660..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/ControlComponentMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/PageMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/PageMediator.o deleted file mode 100644 index 7c4f23b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/PageMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/components/ActorComponent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/components/ActorComponent.o deleted file mode 100644 index 0c49b4c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/components/ActorComponent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/components/ControlComponent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/components/ControlComponent.o deleted file mode 100644 index 52333ca..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/components/ControlComponent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/constants/ControlConstants.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/constants/ControlConstants.o deleted file mode 100644 index 641e629..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/ca/confidant/glory/view/constants/ControlConstants.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/cpp/Lib.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/cpp/Lib.o deleted file mode 100644 index a83fddf..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/cpp/Lib.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/cpp/rtti/FieldNumericIntegerLookup.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/cpp/rtti/FieldNumericIntegerLookup.o deleted file mode 100644 index f08e5ec..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/cpp/rtti/FieldNumericIntegerLookup.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/cpp/zip/Compress.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/cpp/zip/Compress.o deleted file mode 100644 index 0bbc303..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/cpp/zip/Compress.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/cpp/zip/Flush.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/cpp/zip/Flush.o deleted file mode 100644 index fc64751..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/cpp/zip/Flush.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/cpp/zip/Uncompress.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/cpp/zip/Uncompress.o deleted file mode 100644 index 31371fc..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/cpp/zip/Uncompress.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/SVG.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/SVG.o deleted file mode 100644 index 576ac6d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/SVG.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/Gfx.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/Gfx.o deleted file mode 100644 index f9894d9..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/Gfx.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/Gfx2Haxe.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/Gfx2Haxe.o deleted file mode 100644 index 5b18f0b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/Gfx2Haxe.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/GfxBytes.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/GfxBytes.o deleted file mode 100644 index 4087144..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/GfxBytes.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/GfxExtent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/GfxExtent.o deleted file mode 100644 index 961f9a7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/GfxExtent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/GfxGraphics.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/GfxGraphics.o deleted file mode 100644 index 4b0346f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/GfxGraphics.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/GfxTextFinder.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/GfxTextFinder.o deleted file mode 100644 index 43d529b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/GfxTextFinder.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/Gradient.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/Gradient.o deleted file mode 100644 index 4b470cf..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/Gradient.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/LineStyle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/LineStyle.o deleted file mode 100644 index cc1d905..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/gfx/LineStyle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/ArcSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/ArcSegment.o deleted file mode 100644 index afd9de6..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/ArcSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/CubicSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/CubicSegment.o deleted file mode 100644 index fcca628..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/CubicSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/DisplayElement.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/DisplayElement.o deleted file mode 100644 index 438daa9..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/DisplayElement.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/DrawSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/DrawSegment.o deleted file mode 100644 index 371d5e0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/DrawSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/FillType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/FillType.o deleted file mode 100644 index 3cb2f85..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/FillType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/Grad.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/Grad.o deleted file mode 100644 index 65943e7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/Grad.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/Group.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/Group.o deleted file mode 100644 index dd6b022..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/Group.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/MoveSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/MoveSegment.o deleted file mode 100644 index 642b32c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/MoveSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/Path.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/Path.o deleted file mode 100644 index c332fb2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/Path.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/PathParser.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/PathParser.o deleted file mode 100644 index b9adb4c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/PathParser.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/PathSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/PathSegment.o deleted file mode 100644 index 1dd47b6..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/PathSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/QuadraticSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/QuadraticSegment.o deleted file mode 100644 index e56e38a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/QuadraticSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/RenderContext.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/RenderContext.o deleted file mode 100644 index 82b3cb7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/RenderContext.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/SVGData.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/SVGData.o deleted file mode 100644 index d0e824c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/SVGData.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/SVGRenderer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/SVGRenderer.o deleted file mode 100644 index fe51f82..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/SVGRenderer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/Text.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/Text.o deleted file mode 100644 index 2f023e0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/format/svg/Text.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/BaseCode.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/BaseCode.o deleted file mode 100644 index 7246ef2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/BaseCode.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/Log.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/Log.o deleted file mode 100644 index 40abc66..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/Log.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/Timer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/Timer.o deleted file mode 100644 index e52c0fa..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/Timer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/io/Bytes.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/io/Bytes.o deleted file mode 100644 index 260d34a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/io/Bytes.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/io/BytesBuffer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/io/BytesBuffer.o deleted file mode 100644 index ced6a33..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/io/BytesBuffer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/io/Eof.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/io/Eof.o deleted file mode 100644 index 1206d09..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/io/Eof.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/io/Error.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/io/Error.o deleted file mode 100644 index 3f64b44..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/io/Error.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/io/Input.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/io/Input.o deleted file mode 100644 index d29813c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/io/Input.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/io/Output.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/io/Output.o deleted file mode 100644 index 46a1df5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/io/Output.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/xml/Fast.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/xml/Fast.o deleted file mode 100644 index 1eae214..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/xml/Fast.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/xml/_Fast/AttribAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/xml/_Fast/AttribAccess.o deleted file mode 100644 index d443e1d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/xml/_Fast/AttribAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/xml/_Fast/HasAttribAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/xml/_Fast/HasAttribAccess.o deleted file mode 100644 index 837d11f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/xml/_Fast/HasAttribAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/xml/_Fast/HasNodeAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/xml/_Fast/HasNodeAccess.o deleted file mode 100644 index 753832a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/xml/_Fast/HasNodeAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/xml/_Fast/NodeAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/xml/_Fast/NodeAccess.o deleted file mode 100644 index c337f1a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/xml/_Fast/NodeAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/xml/_Fast/NodeListAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/xml/_Fast/NodeListAccess.o deleted file mode 100644 index ffcf5b8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/haxe/xml/_Fast/NodeListAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Anon.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Anon.o deleted file mode 100644 index 3b62ed8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Anon.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Boot.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Boot.o deleted file mode 100644 index caaa20e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Boot.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/CFFI.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/CFFI.o deleted file mode 100644 index 5589aa4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/CFFI.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Date.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Date.o deleted file mode 100644 index 5117246..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Date.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Debug.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Debug.o deleted file mode 100644 index 5a2f775..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Debug.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/GC.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/GC.o deleted file mode 100644 index 1f65132..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/GC.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/GCInternal.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/GCInternal.o deleted file mode 100644 index 08eec8e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/GCInternal.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Hash.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Hash.o deleted file mode 100644 index 9e440d3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Hash.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Interface.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Interface.o deleted file mode 100644 index ffbdee2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Interface.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Lib.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Lib.o deleted file mode 100644 index f06bfa1..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Lib.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Object.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Object.o deleted file mode 100644 index 776fe18..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Object.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/RunLibs.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/RunLibs.o deleted file mode 100644 index 60dbf25..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/RunLibs.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/StdLibs.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/StdLibs.o deleted file mode 100644 index 5f6c16b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/StdLibs.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Thread.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Thread.o deleted file mode 100644 index be3e6db..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/hx/Thread.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/Lib.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/Lib.o deleted file mode 100644 index 5355f98..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/Lib.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/Loader.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/Loader.o deleted file mode 100644 index e9f6b37..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/Loader.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/Bitmap.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/Bitmap.o deleted file mode 100644 index 7bc8bb5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/Bitmap.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/BitmapData.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/BitmapData.o deleted file mode 100644 index fcbb0fd..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/BitmapData.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/BitmapDataChannel.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/BitmapDataChannel.o deleted file mode 100644 index dc43a72..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/BitmapDataChannel.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/BlendMode.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/BlendMode.o deleted file mode 100644 index 0685012..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/BlendMode.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/CapsStyle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/CapsStyle.o deleted file mode 100644 index facf02b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/CapsStyle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/DisplayObject.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/DisplayObject.o deleted file mode 100644 index a6e1b5a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/DisplayObject.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/DisplayObjectContainer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/DisplayObjectContainer.o deleted file mode 100644 index 3e26580..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/DisplayObjectContainer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/GradientType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/GradientType.o deleted file mode 100644 index 17b5313..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/GradientType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/Graphics.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/Graphics.o deleted file mode 100644 index fdf4272..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/Graphics.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/GraphicsPathWinding.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/GraphicsPathWinding.o deleted file mode 100644 index 7b26e32..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/GraphicsPathWinding.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/IBitmapDrawable.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/IBitmapDrawable.o deleted file mode 100644 index 78e6b5a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/IBitmapDrawable.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/IGraphicsData.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/IGraphicsData.o deleted file mode 100644 index b6b6327..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/IGraphicsData.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/InteractiveObject.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/InteractiveObject.o deleted file mode 100644 index 3dd2bdc..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/InteractiveObject.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/InterpolationMethod.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/InterpolationMethod.o deleted file mode 100644 index b99e668..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/InterpolationMethod.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/JointStyle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/JointStyle.o deleted file mode 100644 index 85cb173..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/JointStyle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/LineScaleMode.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/LineScaleMode.o deleted file mode 100644 index 67ec55d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/LineScaleMode.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/ManagedStage.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/ManagedStage.o deleted file mode 100644 index ed432ca..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/ManagedStage.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/MovieClip.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/MovieClip.o deleted file mode 100644 index 3fcfb22..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/MovieClip.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/OptimizedPerlin.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/OptimizedPerlin.o deleted file mode 100644 index 522d4a6..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/OptimizedPerlin.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/PixelSnapping.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/PixelSnapping.o deleted file mode 100644 index 4de1458..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/PixelSnapping.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/Shape.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/Shape.o deleted file mode 100644 index a72f33d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/Shape.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/SpreadMethod.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/SpreadMethod.o deleted file mode 100644 index 9c685ae..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/SpreadMethod.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/Sprite.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/Sprite.o deleted file mode 100644 index 5241d59..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/Sprite.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/Stage.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/Stage.o deleted file mode 100644 index ab4e1a8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/Stage.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/StageAlign.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/StageAlign.o deleted file mode 100644 index cc3d460..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/StageAlign.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/StageDisplayState.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/StageDisplayState.o deleted file mode 100644 index ad48269..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/StageDisplayState.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/StageQuality.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/StageQuality.o deleted file mode 100644 index 46e23cd..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/StageQuality.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/StageScaleMode.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/StageScaleMode.o deleted file mode 100644 index 2fb151e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/StageScaleMode.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/Tilesheet.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/Tilesheet.o deleted file mode 100644 index 792c5e9..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/Tilesheet.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/TouchInfo.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/TouchInfo.o deleted file mode 100644 index 4aa64ea..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/TouchInfo.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/TriangleCulling.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/TriangleCulling.o deleted file mode 100644 index 7367616..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/display/TriangleCulling.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/errors/ArgumentError.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/errors/ArgumentError.o deleted file mode 100644 index dd5fea3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/errors/ArgumentError.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/errors/EOFError.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/errors/EOFError.o deleted file mode 100644 index 2dfa279..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/errors/EOFError.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/errors/Error.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/errors/Error.o deleted file mode 100644 index 09aa315..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/errors/Error.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/errors/RangeError.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/errors/RangeError.o deleted file mode 100644 index 07673b5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/errors/RangeError.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/ErrorEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/ErrorEvent.o deleted file mode 100644 index 6be5c61..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/ErrorEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/Event.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/Event.o deleted file mode 100644 index a523047..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/Event.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/EventDispatcher.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/EventDispatcher.o deleted file mode 100644 index 643a46f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/EventDispatcher.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/EventPhase.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/EventPhase.o deleted file mode 100644 index 5a93636..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/EventPhase.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/FocusEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/FocusEvent.o deleted file mode 100644 index e9b55c8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/FocusEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/HTTPStatusEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/HTTPStatusEvent.o deleted file mode 100644 index 7c1d74a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/HTTPStatusEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/IEventDispatcher.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/IEventDispatcher.o deleted file mode 100644 index 642aea0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/IEventDispatcher.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/IOErrorEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/IOErrorEvent.o deleted file mode 100644 index 3a0b4a7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/IOErrorEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/JoystickEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/JoystickEvent.o deleted file mode 100644 index 1d540ba..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/JoystickEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/KeyboardEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/KeyboardEvent.o deleted file mode 100644 index d87777b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/KeyboardEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/Listener.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/Listener.o deleted file mode 100644 index de257b4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/Listener.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/MouseEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/MouseEvent.o deleted file mode 100644 index e016df2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/MouseEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/ProgressEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/ProgressEvent.o deleted file mode 100644 index 1361942..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/ProgressEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/SampleDataEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/SampleDataEvent.o deleted file mode 100644 index 825c956..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/SampleDataEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/TextEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/TextEvent.o deleted file mode 100644 index e2f7c4d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/TextEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/TouchEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/TouchEvent.o deleted file mode 100644 index 580ea24..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/events/TouchEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/filters/BitmapFilter.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/filters/BitmapFilter.o deleted file mode 100644 index c0eea6a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/filters/BitmapFilter.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/geom/ColorTransform.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/geom/ColorTransform.o deleted file mode 100644 index c2bf7e0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/geom/ColorTransform.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/geom/Matrix.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/geom/Matrix.o deleted file mode 100644 index ffa24e6..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/geom/Matrix.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/geom/Point.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/geom/Point.o deleted file mode 100644 index 84212b0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/geom/Point.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/geom/Rectangle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/geom/Rectangle.o deleted file mode 100644 index 97255f9..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/geom/Rectangle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/geom/Transform.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/geom/Transform.o deleted file mode 100644 index dbd86f7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/geom/Transform.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/media/ID3Info.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/media/ID3Info.o deleted file mode 100644 index 8f0f1e0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/media/ID3Info.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/media/Sound.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/media/Sound.o deleted file mode 100644 index 316629e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/media/Sound.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/media/SoundChannel.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/media/SoundChannel.o deleted file mode 100644 index 1296c1b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/media/SoundChannel.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/media/SoundLoaderContext.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/media/SoundLoaderContext.o deleted file mode 100644 index f938f5f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/media/SoundLoaderContext.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/media/SoundTransform.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/media/SoundTransform.o deleted file mode 100644 index 3b595f2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/media/SoundTransform.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/net/URLLoader.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/net/URLLoader.o deleted file mode 100644 index 83cad17..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/net/URLLoader.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/net/URLLoaderDataFormat.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/net/URLLoaderDataFormat.o deleted file mode 100644 index 9925f0f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/net/URLLoaderDataFormat.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/net/URLRequest.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/net/URLRequest.o deleted file mode 100644 index 0bbe5eb..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/net/URLRequest.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/net/URLRequestHeader.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/net/URLRequestHeader.o deleted file mode 100644 index 7d89c73..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/net/URLRequestHeader.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/net/URLRequestMethod.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/net/URLRequestMethod.o deleted file mode 100644 index 5da3196..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/net/URLRequestMethod.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/net/URLVariables.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/net/URLVariables.o deleted file mode 100644 index 168b56f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/net/URLVariables.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/text/Font.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/text/Font.o deleted file mode 100644 index 3ecd90e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/text/Font.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/text/FontStyle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/text/FontStyle.o deleted file mode 100644 index 3dbdceb..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/text/FontStyle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/text/FontType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/text/FontType.o deleted file mode 100644 index c94d886..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/text/FontType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/utils/ByteArray.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/utils/ByteArray.o deleted file mode 100644 index 8c84c0f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/utils/ByteArray.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/utils/Endian.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/utils/Endian.o deleted file mode 100644 index f69f0e3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/utils/Endian.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/utils/IDataInput.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/utils/IDataInput.o deleted file mode 100644 index 62a5ec5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/utils/IDataInput.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/utils/WeakRef.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/utils/WeakRef.o deleted file mode 100644 index d28cf8b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/neash/utils/WeakRef.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/nme/Lib.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/nme/Lib.o deleted file mode 100644 index 646beec..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/nme/Lib.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/nme/installer/Assets.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/nme/installer/Assets.o deleted file mode 100644 index 91f5e0e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/nme/installer/Assets.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/core/Controller.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/core/Controller.o deleted file mode 100644 index feaa459..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/core/Controller.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/core/Model.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/core/Model.o deleted file mode 100644 index 782b29c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/core/Model.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/core/View.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/core/View.o deleted file mode 100644 index 4f0dbc9..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/core/View.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/ICommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/ICommand.o deleted file mode 100644 index e45c24b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/ICommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IController.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IController.o deleted file mode 100644 index 59b6f07..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IController.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IFacade.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IFacade.o deleted file mode 100644 index b87fbc6..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IFacade.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IMediator.o deleted file mode 100644 index b90605a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IModel.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IModel.o deleted file mode 100644 index 1a196cf..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IModel.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/INotification.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/INotification.o deleted file mode 100644 index b5b5048..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/INotification.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/INotifier.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/INotifier.o deleted file mode 100644 index 27f824f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/INotifier.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IObserver.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IObserver.o deleted file mode 100644 index f8438cd..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IObserver.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IProxy.o deleted file mode 100644 index 1e87d82..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IView.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IView.o deleted file mode 100644 index 3b83549..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/interfaces/IView.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/command/MacroCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/command/MacroCommand.o deleted file mode 100644 index 274a6f8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/command/MacroCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/command/SimpleCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/command/SimpleCommand.o deleted file mode 100644 index bb72404..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/command/SimpleCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/facade/Facade.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/facade/Facade.o deleted file mode 100644 index 6c81e32..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/facade/Facade.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/mediator/Mediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/mediator/Mediator.o deleted file mode 100644 index 0ee2d07..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/mediator/Mediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/observer/Notification.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/observer/Notification.o deleted file mode 100644 index 33baf51..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/observer/Notification.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/observer/Notifier.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/observer/Notifier.o deleted file mode 100644 index b64274d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/observer/Notifier.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/observer/Observer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/observer/Observer.o deleted file mode 100644 index fb3e603..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/observer/Observer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/proxy/Proxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/proxy/Proxy.o deleted file mode 100644 index edcb051..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/org/puremvc/haxe/patterns/proxy/Proxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/pages/Ptitle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/pages/Ptitle.o deleted file mode 100644 index 0329827..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/pages/Ptitle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/FileSystem.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/FileSystem.o deleted file mode 100644 index d65dff3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/FileSystem.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/_FileSystem/FileKind.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/_FileSystem/FileKind.o deleted file mode 100644 index 54a1e6c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/_FileSystem/FileKind.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/File.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/File.o deleted file mode 100644 index 68d3b0d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/File.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/FileInput.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/FileInput.o deleted file mode 100644 index 3e7f708..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/FileInput.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/FileOutput.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/FileOutput.o deleted file mode 100644 index b097b82..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/FileOutput.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/FileSeek.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/FileSeek.o deleted file mode 100644 index 27da71c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/FileSeek.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/Process.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/Process.o deleted file mode 100644 index cc21341..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/Process.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/_Process/Stdin.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/_Process/Stdin.o deleted file mode 100644 index 260de77..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/_Process/Stdin.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/_Process/Stdout.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/_Process/Stdout.o deleted file mode 100644 index 752ff87..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/obj/iphoneos/src/sys/io/_Process/Stdout.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ApplicationMain.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ApplicationMain.cpp deleted file mode 100644 index 0f9577e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ApplicationMain.cpp +++ /dev/null @@ -1,366 +0,0 @@ -#include - -#ifndef INCLUDED_ApplicationMain -#include -#endif -#ifndef INCLUDED_Main -#include -#endif -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_MovieClip -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_nme_Lib -#include -#endif -#ifndef INCLUDED_nme_installer_Assets -#include -#endif - -Void ApplicationMain_obj::__construct() -{ - return null(); -} - -ApplicationMain_obj::~ApplicationMain_obj() { } - -Dynamic ApplicationMain_obj::__CreateEmpty() { return new ApplicationMain_obj; } -hx::ObjectPtr< ApplicationMain_obj > ApplicationMain_obj::__new() -{ hx::ObjectPtr< ApplicationMain_obj > result = new ApplicationMain_obj(); - result->__construct(); - return result;} - -Dynamic ApplicationMain_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ApplicationMain_obj > result = new ApplicationMain_obj(); - result->__construct(); - return result;} - -Void ApplicationMain_obj::main( ){ -{ - HX_STACK_PUSH("ApplicationMain::main","ApplicationMain.hx",5); - HX_STACK_LINE(6) - ::nme::Lib_obj::setPackage(HX_CSTRING("Confidant Communications"),HX_CSTRING("GloryDemo"),HX_CSTRING("ca.confidant.gloryDemo"),HX_CSTRING("1.0.0")); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_1) - bool run(int orientation){ - HX_STACK_PUSH("*::_Function_1_1","ApplicationMain.hx",10); - HX_STACK_ARG(orientation,"orientation"); - { - HX_STACK_LINE(12) - if (((bool((orientation == ::neash::display::Stage_obj::OrientationLandscapeLeft)) || bool((orientation == ::neash::display::Stage_obj::OrientationLandscapeRight))))){ - HX_STACK_LINE(13) - return true; - } - HX_STACK_LINE(16) - return false; - } - return null(); - } - HX_END_LOCAL_FUNC1(return) - - HX_STACK_LINE(9) - ::neash::display::Stage_obj::shouldRotateInterface = Dynamic(new _Function_1_1()); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_2) - Void run(){ - HX_STACK_PUSH("*::_Function_1_2","ApplicationMain.hx",21); - { - HX_STACK_LINE(22) - { - } - HX_STACK_LINE(28) - bool hasMain = false; HX_STACK_VAR(hasMain,"hasMain"); - HX_STACK_LINE(30) - { - HX_STACK_LINE(30) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::String > _g1 = ::Type_obj::getClassFields(hx::ClassOf< ::Main >()); HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(30) - while(((_g < _g1->length))){ - HX_STACK_LINE(30) - ::String methodName = _g1->__get(_g); HX_STACK_VAR(methodName,"methodName"); - HX_STACK_LINE(30) - ++(_g); - HX_STACK_LINE(32) - if (((methodName == HX_CSTRING("main")))){ - HX_STACK_LINE(34) - hasMain = true; - HX_STACK_LINE(35) - break; - } - } - } - HX_STACK_LINE(39) - if ((hasMain)){ - HX_STACK_LINE(40) - ::Reflect_obj::callMethod(hx::ClassOf< ::Main >(),::Reflect_obj::field(hx::ClassOf< ::Main >(),HX_CSTRING("main")),Dynamic( Array_obj::__new())); - } - else{ - HX_STACK_LINE(44) - ::nme::Lib_obj::nmeGetCurrent()->addChild(hx::TCast< neash::display::DisplayObject >::cast(::Type_obj::createInstance(hx::ClassOf< ::Main >(),Dynamic( Array_obj::__new())))); - } - } - return null(); - } - HX_END_LOCAL_FUNC0((void)) - - HX_STACK_LINE(20) - ::nme::Lib_obj::create( Dynamic(new _Function_1_2()),(int)960,(int)640,(int)30,(int)16774882,(int((int((int(::nme::Lib_obj::HARDWARE) | int((int)0))) | int((int)0))) | int((int)0)),HX_CSTRING("Glory Framework Demo"),null()); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(ApplicationMain_obj,main,(void)) - -Dynamic ApplicationMain_obj::getAsset( ::String inName){ - HX_STACK_PUSH("ApplicationMain::getAsset","ApplicationMain.hx",62); - HX_STACK_ARG(inName,"inName"); - HX_STACK_LINE(64) - if (((inName == HX_CSTRING("assets/config.xml")))){ - HX_STACK_LINE(65) - return ::nme::installer::Assets_obj::getText(HX_CSTRING("assets/config.xml")); - } - HX_STACK_LINE(71) - if (((inName == HX_CSTRING("assets/nav/bHome.png")))){ - HX_STACK_LINE(72) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/bHome.png"),null()); - } - HX_STACK_LINE(78) - if (((inName == HX_CSTRING("assets/nav/bLeft.png")))){ - HX_STACK_LINE(79) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/bLeft.png"),null()); - } - HX_STACK_LINE(85) - if (((inName == HX_CSTRING("assets/nav/bOptions.png")))){ - HX_STACK_LINE(86) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/bOptions.png"),null()); - } - HX_STACK_LINE(92) - if (((inName == HX_CSTRING("assets/nav/bRight.png")))){ - HX_STACK_LINE(93) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/bRight.png"),null()); - } - HX_STACK_LINE(99) - if (((inName == HX_CSTRING("assets/nav/close.png")))){ - HX_STACK_LINE(100) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/close.png"),null()); - } - HX_STACK_LINE(106) - if (((inName == HX_CSTRING("assets/nav/panLeft.png")))){ - HX_STACK_LINE(107) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/panLeft.png"),null()); - } - HX_STACK_LINE(113) - if (((inName == HX_CSTRING("assets/nav/panRight.png")))){ - HX_STACK_LINE(114) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/panRight.png"),null()); - } - HX_STACK_LINE(120) - if (((inName == HX_CSTRING("assets/nme.svg")))){ - HX_STACK_LINE(121) - return ::nme::installer::Assets_obj::getText(HX_CSTRING("assets/nme.svg")); - } - HX_STACK_LINE(127) - if (((inName == HX_CSTRING("assets/options/options.jpg")))){ - HX_STACK_LINE(128) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/options/options.jpg"),null()); - } - HX_STACK_LINE(134) - if (((inName == HX_CSTRING("assets/p1/pageObject_0000_bg.jpg")))){ - HX_STACK_LINE(135) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0000_bg.jpg"),null()); - } - HX_STACK_LINE(141) - if (((inName == HX_CSTRING("assets/p1/pageObject_0001_skin.png")))){ - HX_STACK_LINE(142) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0001_skin.png"),null()); - } - HX_STACK_LINE(148) - if (((inName == HX_CSTRING("assets/p1/pageObject_0002_hose.png")))){ - HX_STACK_LINE(149) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0002_hose.png"),null()); - } - HX_STACK_LINE(155) - if (((inName == HX_CSTRING("assets/p1/pageObject_0003_pants.png")))){ - HX_STACK_LINE(156) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0003_pants.png"),null()); - } - HX_STACK_LINE(162) - if (((inName == HX_CSTRING("assets/p1/pageObject_0004_flameshoe.png")))){ - HX_STACK_LINE(163) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0004_flameshoe.png"),null()); - } - HX_STACK_LINE(169) - if (((inName == HX_CSTRING("assets/p1/pageObject_0005_shoe.png")))){ - HX_STACK_LINE(170) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0005_shoe.png"),null()); - } - HX_STACK_LINE(176) - if (((inName == HX_CSTRING("assets/p1/pageObject_0006_shirt.png")))){ - HX_STACK_LINE(177) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0006_shirt.png"),null()); - } - HX_STACK_LINE(183) - if (((inName == HX_CSTRING("assets/p1/pageObject_0007_truck.png")))){ - HX_STACK_LINE(184) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0007_truck.png"),null()); - } - HX_STACK_LINE(190) - if (((inName == HX_CSTRING("assets/p1/pageObject_0008_firemen.png")))){ - HX_STACK_LINE(191) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0008_firemen.png"),null()); - } - HX_STACK_LINE(197) - if (((inName == HX_CSTRING("assets/p1/pageObject_0009_can.png")))){ - HX_STACK_LINE(198) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0009_can.png"),null()); - } - HX_STACK_LINE(204) - if (((inName == HX_CSTRING("assets/p1/pageObject_0010_bw.png")))){ - HX_STACK_LINE(205) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0010_bw.png"),null()); - } - HX_STACK_LINE(211) - if (((inName == HX_CSTRING("assets/p1/pageObject_0011_text.png")))){ - HX_STACK_LINE(212) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0011_text.png"),null()); - } - HX_STACK_LINE(218) - if (((inName == HX_CSTRING("assets/p2/actor1_bw.png")))){ - HX_STACK_LINE(219) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p2/actor1_bw.png"),null()); - } - HX_STACK_LINE(225) - if (((inName == HX_CSTRING("assets/p2/actor1_clr.png")))){ - HX_STACK_LINE(226) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p2/actor1_clr.png"),null()); - } - HX_STACK_LINE(232) - if (((inName == HX_CSTRING("assets/p2/p2a.jpg")))){ - HX_STACK_LINE(233) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p2/p2a.jpg"),null()); - } - HX_STACK_LINE(239) - if (((inName == HX_CSTRING("assets/p2/p2b.jpg")))){ - HX_STACK_LINE(240) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p2/p2b.jpg"),null()); - } - HX_STACK_LINE(246) - if (((inName == HX_CSTRING("assets/title/star.svg")))){ - HX_STACK_LINE(247) - return ::nme::installer::Assets_obj::getText(HX_CSTRING("assets/title/star.svg")); - } - HX_STACK_LINE(253) - if (((inName == HX_CSTRING("assets/title/title.jpg")))){ - HX_STACK_LINE(254) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/title/title.jpg"),null()); - } - HX_STACK_LINE(260) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ApplicationMain_obj,getAsset,return ) - - -ApplicationMain_obj::ApplicationMain_obj() -{ -} - -void ApplicationMain_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ApplicationMain); - HX_MARK_END_CLASS(); -} - -void ApplicationMain_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic ApplicationMain_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"main") ) { return main_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"getAsset") ) { return getAsset_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ApplicationMain_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void ApplicationMain_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("main"), - HX_CSTRING("getAsset"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ApplicationMain_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ApplicationMain_obj::__mClass,"__mClass"); -}; - -Class ApplicationMain_obj::__mClass; - -void ApplicationMain_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ApplicationMain"), hx::TCanCast< ApplicationMain_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ApplicationMain_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Date.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Date.cpp deleted file mode 100644 index cc3c405..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Date.cpp +++ /dev/null @@ -1,293 +0,0 @@ -#include - -#ifndef INCLUDED_Date -#include -#endif -#ifndef INCLUDED_Std -#include -#endif - -Void Date_obj::__construct(int year,int month,int day,int hour,int min,int sec) -{ -HX_STACK_PUSH("Date::new","/usr/lib/haxe/std/cpp/_std/Date.hx",31); -{ - HX_STACK_LINE(31) - this->mSeconds = ::__hxcpp_new_date(year,month,day,hour,min,sec); -} -; - return null(); -} - -Date_obj::~Date_obj() { } - -Dynamic Date_obj::__CreateEmpty() { return new Date_obj; } -hx::ObjectPtr< Date_obj > Date_obj::__new(int year,int month,int day,int hour,int min,int sec) -{ hx::ObjectPtr< Date_obj > result = new Date_obj(); - result->__construct(year,month,day,hour,min,sec); - return result;} - -Dynamic Date_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Date_obj > result = new Date_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5]); - return result;} - -::String Date_obj::toString( ){ - HX_STACK_PUSH("Date::toString","/usr/lib/haxe/std/cpp/_std/Date.hx",53); - HX_STACK_THIS(this); - HX_STACK_LINE(53) - return ::__hxcpp_to_string(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,toString,return ) - -int Date_obj::getDay( ){ - HX_STACK_PUSH("Date::getDay","/usr/lib/haxe/std/cpp/_std/Date.hx",51); - HX_STACK_THIS(this); - HX_STACK_LINE(51) - return ::__hxcpp_get_day(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getDay,return ) - -int Date_obj::getDate( ){ - HX_STACK_PUSH("Date::getDate","/usr/lib/haxe/std/cpp/_std/Date.hx",49); - HX_STACK_THIS(this); - HX_STACK_LINE(49) - return ::__hxcpp_get_date(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getDate,return ) - -int Date_obj::getMonth( ){ - HX_STACK_PUSH("Date::getMonth","/usr/lib/haxe/std/cpp/_std/Date.hx",47); - HX_STACK_THIS(this); - HX_STACK_LINE(47) - return ::__hxcpp_get_month(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getMonth,return ) - -int Date_obj::getFullYear( ){ - HX_STACK_PUSH("Date::getFullYear","/usr/lib/haxe/std/cpp/_std/Date.hx",45); - HX_STACK_THIS(this); - HX_STACK_LINE(45) - return ::__hxcpp_get_year(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getFullYear,return ) - -int Date_obj::getSeconds( ){ - HX_STACK_PUSH("Date::getSeconds","/usr/lib/haxe/std/cpp/_std/Date.hx",43); - HX_STACK_THIS(this); - HX_STACK_LINE(43) - return ::__hxcpp_get_seconds(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getSeconds,return ) - -int Date_obj::getMinutes( ){ - HX_STACK_PUSH("Date::getMinutes","/usr/lib/haxe/std/cpp/_std/Date.hx",41); - HX_STACK_THIS(this); - HX_STACK_LINE(41) - return ::__hxcpp_get_minutes(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getMinutes,return ) - -int Date_obj::getHours( ){ - HX_STACK_PUSH("Date::getHours","/usr/lib/haxe/std/cpp/_std/Date.hx",39); - HX_STACK_THIS(this); - HX_STACK_LINE(39) - return ::__hxcpp_get_hours(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getHours,return ) - -Float Date_obj::getTime( ){ - HX_STACK_PUSH("Date::getTime","/usr/lib/haxe/std/cpp/_std/Date.hx",35); - HX_STACK_THIS(this); - HX_STACK_LINE(35) - return (this->mSeconds * 1000.0); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getTime,return ) - -::Date Date_obj::now( ){ - HX_STACK_PUSH("Date::now","/usr/lib/haxe/std/cpp/_std/Date.hx",55); - HX_STACK_LINE(55) - return ::Date_obj::fromTime((::__hxcpp_date_now() * 1000.0)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Date_obj,now,return ) - -::Date Date_obj::fromTime( Float t){ - HX_STACK_PUSH("Date::fromTime","/usr/lib/haxe/std/cpp/_std/Date.hx",59); - HX_STACK_ARG(t,"t"); - HX_STACK_LINE(60) - ::Date result = ::Date_obj::__new((int)0,(int)0,(int)0,(int)0,(int)0,(int)0); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(61) - result->mSeconds = (t * 0.001); - HX_STACK_LINE(62) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Date_obj,fromTime,return ) - -::Date Date_obj::fromString( ::String s){ - HX_STACK_PUSH("Date::fromString","/usr/lib/haxe/std/cpp/_std/Date.hx",65); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(66) - switch( (int)(s.length)){ - case (int)8: { - HX_STACK_LINE(68) - Array< ::String > k = s.split(HX_CSTRING(":")); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(69) - ::Date d = ::Date_obj::__new((int)0,(int)0,(int)0,::Std_obj::parseInt(k->__get((int)0)),::Std_obj::parseInt(k->__get((int)1)),::Std_obj::parseInt(k->__get((int)2))); HX_STACK_VAR(d,"d"); - HX_STACK_LINE(70) - return d; - } - ;break; - case (int)10: { - HX_STACK_LINE(72) - Array< ::String > k = s.split(HX_CSTRING("-")); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(73) - return ::Date_obj::__new(::Std_obj::parseInt(k->__get((int)0)),(::Std_obj::parseInt(k->__get((int)1)) - (int)1),::Std_obj::parseInt(k->__get((int)2)),(int)0,(int)0,(int)0); - } - ;break; - case (int)19: { - HX_STACK_LINE(75) - Array< ::String > k = s.split(HX_CSTRING(" ")); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(76) - Array< ::String > y = k->__get((int)0).split(HX_CSTRING("-")); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(77) - Array< ::String > t = k->__get((int)1).split(HX_CSTRING(":")); HX_STACK_VAR(t,"t"); - HX_STACK_LINE(78) - return ::Date_obj::__new(::Std_obj::parseInt(y->__get((int)0)),(::Std_obj::parseInt(y->__get((int)1)) - (int)1),::Std_obj::parseInt(y->__get((int)2)),::Std_obj::parseInt(t->__get((int)0)),::Std_obj::parseInt(t->__get((int)1)),::Std_obj::parseInt(t->__get((int)2))); - } - ;break; - default: { - HX_STACK_LINE(80) - hx::Throw ((HX_CSTRING("Invalid date format : ") + s)); - } - } - HX_STACK_LINE(83) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Date_obj,fromString,return ) - - -Date_obj::Date_obj() -{ -} - -void Date_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Date); - HX_MARK_MEMBER_NAME(mSeconds,"mSeconds"); - HX_MARK_END_CLASS(); -} - -void Date_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mSeconds,"mSeconds"); -} - -Dynamic Date_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"now") ) { return now_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"getDay") ) { return getDay_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getDate") ) { return getDate_dyn(); } - if (HX_FIELD_EQ(inName,"getTime") ) { return getTime_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"fromTime") ) { return fromTime_dyn(); } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"getMonth") ) { return getMonth_dyn(); } - if (HX_FIELD_EQ(inName,"getHours") ) { return getHours_dyn(); } - if (HX_FIELD_EQ(inName,"mSeconds") ) { return mSeconds; } - break; - case 10: - if (HX_FIELD_EQ(inName,"fromString") ) { return fromString_dyn(); } - if (HX_FIELD_EQ(inName,"getSeconds") ) { return getSeconds_dyn(); } - if (HX_FIELD_EQ(inName,"getMinutes") ) { return getMinutes_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"getFullYear") ) { return getFullYear_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Date_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"mSeconds") ) { mSeconds=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Date_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mSeconds")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("now"), - HX_CSTRING("fromTime"), - HX_CSTRING("fromString"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("getDay"), - HX_CSTRING("getDate"), - HX_CSTRING("getMonth"), - HX_CSTRING("getFullYear"), - HX_CSTRING("getSeconds"), - HX_CSTRING("getMinutes"), - HX_CSTRING("getHours"), - HX_CSTRING("getTime"), - HX_CSTRING("mSeconds"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Date_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Date_obj::__mClass,"__mClass"); -}; - -Class Date_obj::__mClass; - -void Date_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Date"), hx::TCanCast< Date_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Date_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/EReg.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/EReg.cpp deleted file mode 100644 index c5f99cb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/EReg.cpp +++ /dev/null @@ -1,491 +0,0 @@ -#include - -#ifndef INCLUDED_EReg -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_StringBuf -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif - -Void EReg_obj::__construct(::String r,::String opt) -{ -HX_STACK_PUSH("EReg::new","/usr/lib/haxe/std/cpp/_std/EReg.hx",32); -{ - HX_STACK_LINE(33) - Array< ::String > a = opt.split(HX_CSTRING("g")); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(34) - this->global = (a->length > (int)1); - HX_STACK_LINE(35) - if ((this->global)){ - HX_STACK_LINE(36) - opt = a->join(HX_CSTRING("")); - } - HX_STACK_LINE(37) - this->r = ::EReg_obj::regexp_new_options(r,opt); -} -; - return null(); -} - -EReg_obj::~EReg_obj() { } - -Dynamic EReg_obj::__CreateEmpty() { return new EReg_obj; } -hx::ObjectPtr< EReg_obj > EReg_obj::__new(::String r,::String opt) -{ hx::ObjectPtr< EReg_obj > result = new EReg_obj(); - result->__construct(r,opt); - return result;} - -Dynamic EReg_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< EReg_obj > result = new EReg_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::String EReg_obj::customReplace( ::String s,Dynamic f){ - HX_STACK_PUSH("EReg::customReplace","/usr/lib/haxe/std/cpp/_std/EReg.hx",144); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(145) - ::StringBuf buf = ::StringBuf_obj::__new(); HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(146) - while((true)){ - HX_STACK_LINE(147) - if ((!(this->match(s)))){ - HX_STACK_LINE(148) - break; - } - HX_STACK_LINE(149) - hx::IndexRef((buf->b).mPtr,buf->b->__Field(HX_CSTRING("length"),true)) = this->matchedLeft(); - HX_STACK_LINE(150) - hx::IndexRef((buf->b).mPtr,buf->b->__Field(HX_CSTRING("length"),true)) = f(hx::ObjectPtr(this)).Cast< ::String >(); - HX_STACK_LINE(151) - s = this->matchedRight(); - } - HX_STACK_LINE(153) - hx::IndexRef((buf->b).mPtr,buf->b->__Field(HX_CSTRING("length"),true)) = s; - HX_STACK_LINE(154) - return buf->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC2(EReg_obj,customReplace,return ) - -::String EReg_obj::replace( ::String s,::String by){ - HX_STACK_PUSH("EReg::replace","/usr/lib/haxe/std/cpp/_std/EReg.hx",93); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(by,"by"); - HX_STACK_LINE(94) - ::StringBuf b = ::StringBuf_obj::__new(); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(95) - int pos = (int)0; HX_STACK_VAR(pos,"pos"); - HX_STACK_LINE(96) - int len = s.length; HX_STACK_VAR(len,"len"); - HX_STACK_LINE(97) - Array< ::String > a = by.split(HX_CSTRING("$")); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(98) - bool first = true; HX_STACK_VAR(first,"first"); - HX_STACK_LINE(99) - do{ - HX_STACK_LINE(100) - if ((!(::EReg_obj::regexp_match(this->r,s,pos,len)))){ - HX_STACK_LINE(101) - break; - } - HX_STACK_LINE(102) - Dynamic p = ::EReg_obj::regexp_matched_pos(this->r,(int)0); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(103) - if (((bool((p->__Field(HX_CSTRING("len"),true) == (int)0)) && bool(!(first))))){ - HX_STACK_LINE(104) - if (((p->__Field(HX_CSTRING("pos"),true) == s.length))){ - HX_STACK_LINE(105) - break; - } - HX_STACK_LINE(106) - hx::AddEq(p->__FieldRef(HX_CSTRING("pos")),(int)1); - } - HX_STACK_LINE(108) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = s.substr(pos,(p->__Field(HX_CSTRING("pos"),true) - pos)); - HX_STACK_LINE(109) - if (((a->length > (int)0))){ - HX_STACK_LINE(110) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = a->__get((int)0); - } - HX_STACK_LINE(111) - int i = (int)1; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(112) - while(((i < a->length))){ - HX_STACK_LINE(113) - ::String k = a->__get(i); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(114) - Dynamic c = k.charCodeAt((int)0); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(116) - if (((bool((c >= (int)49)) && bool((c <= (int)57))))){ - struct _Function_4_1{ - inline static Dynamic Block( ::EReg_obj *__this,Dynamic &c){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/EReg.hx",117); - { - HX_STACK_LINE(117) - try{ - HX_STACK_LINE(117) - return ::EReg_obj::regexp_matched_pos(__this->r,(::Std_obj::_int(c) - (int)48)); - } - catch(Dynamic __e){ - if (__e.IsClass< ::String >() ){ - ::String e = __e;{ - HX_STACK_LINE(117) - return null(); - } - } - else throw(__e); - } - } - return null(); - } - }; - HX_STACK_LINE(117) - Dynamic p1 = _Function_4_1::Block(this,c); HX_STACK_VAR(p1,"p1"); - HX_STACK_LINE(118) - if (((p1 == null()))){ - HX_STACK_LINE(119) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("$"); - HX_STACK_LINE(120) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = k; - } - else{ - HX_STACK_LINE(122) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = s.substr(p1->__Field(HX_CSTRING("pos"),true),p1->__Field(HX_CSTRING("len"),true)); - HX_STACK_LINE(123) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = k.substr((int)1,(k.length - (int)1)); - } - } - else{ - HX_STACK_LINE(125) - if (((c == null()))){ - HX_STACK_LINE(126) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("$"); - HX_STACK_LINE(127) - (i)++; - HX_STACK_LINE(128) - ::String k2 = a->__get(i); HX_STACK_VAR(k2,"k2"); - HX_STACK_LINE(129) - if (((bool((k2 != null())) && bool((k2.length > (int)0))))){ - HX_STACK_LINE(130) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = k2; - } - } - else{ - HX_STACK_LINE(132) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = (HX_CSTRING("$") + k); - } - } - HX_STACK_LINE(133) - (i)++; - } - HX_STACK_LINE(135) - int tot = ((p->__Field(HX_CSTRING("pos"),true) + p->__Field(HX_CSTRING("len"),true)) - pos); HX_STACK_VAR(tot,"tot"); - HX_STACK_LINE(136) - hx::AddEq(pos,tot); - HX_STACK_LINE(137) - hx::SubEq(len,tot); - HX_STACK_LINE(138) - first = false; - } -while((this->global)); - HX_STACK_LINE(140) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = s.substr(pos,len); - HX_STACK_LINE(141) - return b->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC2(EReg_obj,replace,return ) - -Array< ::String > EReg_obj::split( ::String s){ - HX_STACK_PUSH("EReg::split","/usr/lib/haxe/std/cpp/_std/EReg.hx",69); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(70) - int pos = (int)0; HX_STACK_VAR(pos,"pos"); - HX_STACK_LINE(71) - int len = s.length; HX_STACK_VAR(len,"len"); - HX_STACK_LINE(72) - Array< ::String > a = Array_obj< ::String >::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(73) - bool first = true; HX_STACK_VAR(first,"first"); - HX_STACK_LINE(74) - do{ - HX_STACK_LINE(75) - if ((!(::EReg_obj::regexp_match(this->r,s,pos,len)))){ - HX_STACK_LINE(76) - break; - } - HX_STACK_LINE(77) - Dynamic p = ::EReg_obj::regexp_matched_pos(this->r,(int)0); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(78) - if (((bool((p->__Field(HX_CSTRING("len"),true) == (int)0)) && bool(!(first))))){ - HX_STACK_LINE(79) - if (((p->__Field(HX_CSTRING("pos"),true) == s.length))){ - HX_STACK_LINE(80) - break; - } - HX_STACK_LINE(81) - hx::AddEq(p->__FieldRef(HX_CSTRING("pos")),(int)1); - } - HX_STACK_LINE(83) - a->push(s.substr(pos,(p->__Field(HX_CSTRING("pos"),true) - pos))); - HX_STACK_LINE(84) - int tot = ((p->__Field(HX_CSTRING("pos"),true) + p->__Field(HX_CSTRING("len"),true)) - pos); HX_STACK_VAR(tot,"tot"); - HX_STACK_LINE(85) - hx::AddEq(pos,tot); - HX_STACK_LINE(86) - hx::SubEq(len,tot); - HX_STACK_LINE(87) - first = false; - } -while((this->global)); - HX_STACK_LINE(89) - a->push(s.substr(pos,len)); - HX_STACK_LINE(90) - return a; -} - - -HX_DEFINE_DYNAMIC_FUNC1(EReg_obj,split,return ) - -Dynamic EReg_obj::matchedPos( ){ - HX_STACK_PUSH("EReg::matchedPos","/usr/lib/haxe/std/cpp/_std/EReg.hx",65); - HX_STACK_THIS(this); - HX_STACK_LINE(65) - return ::EReg_obj::regexp_matched_pos(this->r,(int)0); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EReg_obj,matchedPos,return ) - -::String EReg_obj::matchedRight( ){ - HX_STACK_PUSH("EReg::matchedRight","/usr/lib/haxe/std/cpp/_std/EReg.hx",59); - HX_STACK_THIS(this); - HX_STACK_LINE(60) - Dynamic p = ::EReg_obj::regexp_matched_pos(this->r,(int)0); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(61) - int sz = (p->__Field(HX_CSTRING("pos"),true) + p->__Field(HX_CSTRING("len"),true)); HX_STACK_VAR(sz,"sz"); - HX_STACK_LINE(62) - return this->last.substr(sz,(this->last.length - sz)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EReg_obj,matchedRight,return ) - -::String EReg_obj::matchedLeft( ){ - HX_STACK_PUSH("EReg::matchedLeft","/usr/lib/haxe/std/cpp/_std/EReg.hx",54); - HX_STACK_THIS(this); - HX_STACK_LINE(55) - Dynamic p = ::EReg_obj::regexp_matched_pos(this->r,(int)0); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(56) - return this->last.substr((int)0,p->__Field(HX_CSTRING("pos"),true)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EReg_obj,matchedLeft,return ) - -::String EReg_obj::matched( int n){ - HX_STACK_PUSH("EReg::matched","/usr/lib/haxe/std/cpp/_std/EReg.hx",49); - HX_STACK_THIS(this); - HX_STACK_ARG(n,"n"); - HX_STACK_LINE(50) - ::String m = ::EReg_obj::regexp_matched(this->r,n); HX_STACK_VAR(m,"m"); - HX_STACK_LINE(51) - return m; -} - - -HX_DEFINE_DYNAMIC_FUNC1(EReg_obj,matched,return ) - -bool EReg_obj::match( ::String s){ - HX_STACK_PUSH("EReg::match","/usr/lib/haxe/std/cpp/_std/EReg.hx",40); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(41) - bool p = ::EReg_obj::regexp_match(this->r,s,(int)0,s.length); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(42) - if ((p)){ - HX_STACK_LINE(43) - this->last = s; - } - else{ - HX_STACK_LINE(45) - this->last = null(); - } - HX_STACK_LINE(46) - return p; -} - - -HX_DEFINE_DYNAMIC_FUNC1(EReg_obj,match,return ) - -Dynamic EReg_obj::regexp_new_options; - -Dynamic EReg_obj::regexp_match; - -Dynamic EReg_obj::regexp_matched; - -Dynamic EReg_obj::regexp_matched_pos; - - -EReg_obj::EReg_obj() -{ -} - -void EReg_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(EReg); - HX_MARK_MEMBER_NAME(global,"global"); - HX_MARK_MEMBER_NAME(last,"last"); - HX_MARK_MEMBER_NAME(r,"r"); - HX_MARK_END_CLASS(); -} - -void EReg_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(global,"global"); - HX_VISIT_MEMBER_NAME(last,"last"); - HX_VISIT_MEMBER_NAME(r,"r"); -} - -Dynamic EReg_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"r") ) { return r; } - break; - case 4: - if (HX_FIELD_EQ(inName,"last") ) { return last; } - break; - case 5: - if (HX_FIELD_EQ(inName,"split") ) { return split_dyn(); } - if (HX_FIELD_EQ(inName,"match") ) { return match_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"global") ) { return global; } - break; - case 7: - if (HX_FIELD_EQ(inName,"replace") ) { return replace_dyn(); } - if (HX_FIELD_EQ(inName,"matched") ) { return matched_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"matchedPos") ) { return matchedPos_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"matchedLeft") ) { return matchedLeft_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"regexp_match") ) { return regexp_match; } - if (HX_FIELD_EQ(inName,"matchedRight") ) { return matchedRight_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"customReplace") ) { return customReplace_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"regexp_matched") ) { return regexp_matched; } - break; - case 18: - if (HX_FIELD_EQ(inName,"regexp_new_options") ) { return regexp_new_options; } - if (HX_FIELD_EQ(inName,"regexp_matched_pos") ) { return regexp_matched_pos; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic EReg_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"r") ) { r=inValue.Cast< Dynamic >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"last") ) { last=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"global") ) { global=inValue.Cast< bool >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"regexp_match") ) { regexp_match=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"regexp_matched") ) { regexp_matched=inValue.Cast< Dynamic >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"regexp_new_options") ) { regexp_new_options=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"regexp_matched_pos") ) { regexp_matched_pos=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void EReg_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("global")); - outFields->push(HX_CSTRING("last")); - outFields->push(HX_CSTRING("r")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("regexp_new_options"), - HX_CSTRING("regexp_match"), - HX_CSTRING("regexp_matched"), - HX_CSTRING("regexp_matched_pos"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("customReplace"), - HX_CSTRING("replace"), - HX_CSTRING("split"), - HX_CSTRING("matchedPos"), - HX_CSTRING("matchedRight"), - HX_CSTRING("matchedLeft"), - HX_CSTRING("matched"), - HX_CSTRING("match"), - HX_CSTRING("global"), - HX_CSTRING("last"), - HX_CSTRING("r"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(EReg_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(EReg_obj::regexp_new_options,"regexp_new_options"); - HX_MARK_MEMBER_NAME(EReg_obj::regexp_match,"regexp_match"); - HX_MARK_MEMBER_NAME(EReg_obj::regexp_matched,"regexp_matched"); - HX_MARK_MEMBER_NAME(EReg_obj::regexp_matched_pos,"regexp_matched_pos"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(EReg_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(EReg_obj::regexp_new_options,"regexp_new_options"); - HX_VISIT_MEMBER_NAME(EReg_obj::regexp_match,"regexp_match"); - HX_VISIT_MEMBER_NAME(EReg_obj::regexp_matched,"regexp_matched"); - HX_VISIT_MEMBER_NAME(EReg_obj::regexp_matched_pos,"regexp_matched_pos"); -}; - -Class EReg_obj::__mClass; - -void EReg_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("EReg"), hx::TCanCast< EReg_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void EReg_obj::__boot() -{ - regexp_new_options= ::cpp::Lib_obj::load(HX_CSTRING("regexp"),HX_CSTRING("regexp_new_options"),(int)2); - regexp_match= ::cpp::Lib_obj::load(HX_CSTRING("regexp"),HX_CSTRING("regexp_match"),(int)4); - regexp_matched= ::cpp::Lib_obj::load(HX_CSTRING("regexp"),HX_CSTRING("regexp_matched"),(int)2); - regexp_matched_pos= ::cpp::Lib_obj::load(HX_CSTRING("regexp"),HX_CSTRING("regexp_matched_pos"),(int)2); -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Hash.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Hash.cpp deleted file mode 100644 index 8107487..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Hash.cpp +++ /dev/null @@ -1,289 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_StringBuf -#include -#endif - -Void Hash_obj::__construct() -{ -HX_STACK_PUSH("Hash::new","/usr/lib/haxe/std/cpp/_std/Hash.hx",29); -{ - struct _Function_1_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Hash.hx",30); - { - hx::Anon __result = hx::Anon_obj::Create(); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(29) - this->__Internal = _Function_1_1::Block(); -} -; - return null(); -} - -Hash_obj::~Hash_obj() { } - -Dynamic Hash_obj::__CreateEmpty() { return new Hash_obj; } -hx::ObjectPtr< Hash_obj > Hash_obj::__new() -{ hx::ObjectPtr< Hash_obj > result = new Hash_obj(); - result->__construct(); - return result;} - -Dynamic Hash_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Hash_obj > result = new Hash_obj(); - result->__construct(); - return result;} - -::String Hash_obj::toString( ){ - HX_STACK_PUSH("Hash::toString","/usr/lib/haxe/std/cpp/_std/Hash.hx",76); - HX_STACK_THIS(this); - HX_STACK_LINE(77) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(78) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("{"); - HX_STACK_LINE(79) - Dynamic it = this->keys(); HX_STACK_VAR(it,"it"); - HX_STACK_LINE(80) - for(::cpp::FastIterator_obj< ::String > *__it = ::cpp::CreateFastIterator< ::String >(it); __it->hasNext(); ){ - ::String i = __it->next(); - { - HX_STACK_LINE(81) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = i; - HX_STACK_LINE(82) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(" => "); - HX_STACK_LINE(83) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::Std_obj::string(this->get(i)); - HX_STACK_LINE(84) - if ((it->__Field(HX_CSTRING("hasNext"),true)())){ - HX_STACK_LINE(85) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(", "); - } - } -; - } - HX_STACK_LINE(87) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("}"); - HX_STACK_LINE(88) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Hash_obj,toString,return ) - -Dynamic Hash_obj::iterator( ){ - HX_STACK_PUSH("Hash::iterator","/usr/lib/haxe/std/cpp/_std/Hash.hx",61); - HX_STACK_THIS(this); - HX_STACK_LINE(62) - Array< ::String > a = Array_obj< ::String >::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(63) - this->__Internal->__GetFields(a); - HX_STACK_LINE(64) - Dynamic it = Dynamic( Array_obj::__new().Add(a->iterator())); HX_STACK_VAR(it,"it"); - HX_STACK_LINE(65) - Array< ::Hash > me = Array_obj< ::Hash >::__new().Add(hx::ObjectPtr(this)); HX_STACK_VAR(me,"me"); - struct _Function_1_1{ - inline static Dynamic Block( Dynamic &it,Array< ::Hash > &me){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Hash.hx",66); - { - hx::Anon __result = hx::Anon_obj::Create(); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_2_1,Dynamic,it) - bool run(){ - HX_STACK_PUSH("*::_Function_2_1","/usr/lib/haxe/std/cpp/_std/Hash.hx",67); - { - HX_STACK_LINE(67) - return it->__GetItem((int)0)->__Field(HX_CSTRING("hasNext"),true)(); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("hasNext") , Dynamic(new _Function_2_1(it)),true); - - HX_BEGIN_LOCAL_FUNC_S2(hx::LocalFunc,_Function_2_2,Array< ::Hash >,me,Dynamic,it) - Dynamic run(){ - HX_STACK_PUSH("*::_Function_2_2","/usr/lib/haxe/std/cpp/_std/Hash.hx",68); - { - HX_STACK_LINE(68) - return me->__get((int)0)->__Internal->__Field(it->__GetItem((int)0)->__Field(HX_CSTRING("next"),true)(),true); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("next") , Dynamic(new _Function_2_2(me,it)),true); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(66) - return _Function_1_1::Block(it,me); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Hash_obj,iterator,return ) - -Dynamic Hash_obj::keys( ){ - HX_STACK_PUSH("Hash::keys","/usr/lib/haxe/std/cpp/_std/Hash.hx",52); - HX_STACK_THIS(this); - HX_STACK_LINE(53) - Array< ::String > a = Array_obj< ::String >::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(54) - this->__Internal->__GetFields(a); - HX_STACK_LINE(55) - return a->iterator(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Hash_obj,keys,return ) - -bool Hash_obj::remove( ::String key){ - HX_STACK_PUSH("Hash::remove","/usr/lib/haxe/std/cpp/_std/Hash.hx",45); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(45) - return ::__hxcpp_anon_remove(this->__Internal,key); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Hash_obj,remove,return ) - -bool Hash_obj::exists( ::String key){ - HX_STACK_PUSH("Hash::exists","/usr/lib/haxe/std/cpp/_std/Hash.hx",41); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(41) - return this->__Internal->__HasField(key); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Hash_obj,exists,return ) - -Dynamic Hash_obj::get( ::String key){ - HX_STACK_PUSH("Hash::get","/usr/lib/haxe/std/cpp/_std/Hash.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(37) - return this->__Internal->__Field(key,true); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Hash_obj,get,return ) - -Void Hash_obj::set( ::String key,Dynamic value){ -{ - HX_STACK_PUSH("Hash::set","/usr/lib/haxe/std/cpp/_std/Hash.hx",33); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(33) - this->__Internal->__SetField(key,value,true); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Hash_obj,set,(void)) - - -Hash_obj::Hash_obj() -{ -} - -void Hash_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Hash); - HX_MARK_MEMBER_NAME(__Internal,"__Internal"); - HX_MARK_END_CLASS(); -} - -void Hash_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(__Internal,"__Internal"); -} - -Dynamic Hash_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"get") ) { return get_dyn(); } - if (HX_FIELD_EQ(inName,"set") ) { return set_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"keys") ) { return keys_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"remove") ) { return remove_dyn(); } - if (HX_FIELD_EQ(inName,"exists") ) { return exists_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"iterator") ) { return iterator_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"__Internal") ) { return __Internal; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Hash_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"__Internal") ) { __Internal=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Hash_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__Internal")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("iterator"), - HX_CSTRING("keys"), - HX_CSTRING("remove"), - HX_CSTRING("exists"), - HX_CSTRING("get"), - HX_CSTRING("set"), - HX_CSTRING("__Internal"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Hash_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Hash_obj::__mClass,"__mClass"); -}; - -Class Hash_obj::__mClass; - -void Hash_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Hash"), hx::TCanCast< Hash_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Hash_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/IntHash.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/IntHash.cpp deleted file mode 100644 index ef00479..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/IntHash.cpp +++ /dev/null @@ -1,235 +0,0 @@ -#include - -#ifndef INCLUDED_IntHash -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_StringBuf -#include -#endif - -Void IntHash_obj::__construct() -{ -HX_STACK_PUSH("IntHash::new","/usr/lib/haxe/std/cpp/_std/IntHash.hx",30); -{ - HX_STACK_LINE(30) - this->h = ::__int_hash_create(); -} -; - return null(); -} - -IntHash_obj::~IntHash_obj() { } - -Dynamic IntHash_obj::__CreateEmpty() { return new IntHash_obj; } -hx::ObjectPtr< IntHash_obj > IntHash_obj::__new() -{ hx::ObjectPtr< IntHash_obj > result = new IntHash_obj(); - result->__construct(); - return result;} - -Dynamic IntHash_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< IntHash_obj > result = new IntHash_obj(); - result->__construct(); - return result;} - -::String IntHash_obj::toString( ){ - HX_STACK_PUSH("IntHash::toString","/usr/lib/haxe/std/cpp/_std/IntHash.hx",60); - HX_STACK_THIS(this); - HX_STACK_LINE(61) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(62) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("{"); - HX_STACK_LINE(63) - Dynamic it = this->keys(); HX_STACK_VAR(it,"it"); - HX_STACK_LINE(64) - for(::cpp::FastIterator_obj< int > *__it = ::cpp::CreateFastIterator< int >(it); __it->hasNext(); ){ - int i = __it->next(); - { - HX_STACK_LINE(65) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = i; - HX_STACK_LINE(66) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(" => "); - HX_STACK_LINE(67) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::Std_obj::string(this->get(i)); - HX_STACK_LINE(68) - if ((it->__Field(HX_CSTRING("hasNext"),true)())){ - HX_STACK_LINE(69) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(", "); - } - } -; - } - HX_STACK_LINE(71) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("}"); - HX_STACK_LINE(72) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(IntHash_obj,toString,return ) - -Dynamic IntHash_obj::iterator( ){ - HX_STACK_PUSH("IntHash::iterator","/usr/lib/haxe/std/cpp/_std/IntHash.hx",55); - HX_STACK_THIS(this); - HX_STACK_LINE(56) - Dynamic a = ::__int_hash_values(this->h); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(57) - return a->__Field(HX_CSTRING("iterator"),true)(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(IntHash_obj,iterator,return ) - -Dynamic IntHash_obj::keys( ){ - HX_STACK_PUSH("IntHash::keys","/usr/lib/haxe/std/cpp/_std/IntHash.hx",50); - HX_STACK_THIS(this); - HX_STACK_LINE(51) - Array< int > a = ::__int_hash_keys(this->h); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(52) - return a->iterator(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(IntHash_obj,keys,return ) - -bool IntHash_obj::remove( int key){ - HX_STACK_PUSH("IntHash::remove","/usr/lib/haxe/std/cpp/_std/IntHash.hx",46); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(46) - return ::__int_hash_remove(this->h,key); -} - - -HX_DEFINE_DYNAMIC_FUNC1(IntHash_obj,remove,return ) - -bool IntHash_obj::exists( int key){ - HX_STACK_PUSH("IntHash::exists","/usr/lib/haxe/std/cpp/_std/IntHash.hx",42); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(42) - return ::__int_hash_exists(this->h,key); -} - - -HX_DEFINE_DYNAMIC_FUNC1(IntHash_obj,exists,return ) - -Dynamic IntHash_obj::get( int key){ - HX_STACK_PUSH("IntHash::get","/usr/lib/haxe/std/cpp/_std/IntHash.hx",38); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(38) - return ::__int_hash_get(this->h,key); -} - - -HX_DEFINE_DYNAMIC_FUNC1(IntHash_obj,get,return ) - -Void IntHash_obj::set( int key,Dynamic value){ -{ - HX_STACK_PUSH("IntHash::set","/usr/lib/haxe/std/cpp/_std/IntHash.hx",34); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(34) - ::__int_hash_set(this->h,key,value); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(IntHash_obj,set,(void)) - - -IntHash_obj::IntHash_obj() -{ -} - -void IntHash_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(IntHash); - HX_MARK_MEMBER_NAME(h,"h"); - HX_MARK_END_CLASS(); -} - -void IntHash_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(h,"h"); -} - -Dynamic IntHash_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"h") ) { return h; } - break; - case 3: - if (HX_FIELD_EQ(inName,"get") ) { return get_dyn(); } - if (HX_FIELD_EQ(inName,"set") ) { return set_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"keys") ) { return keys_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"remove") ) { return remove_dyn(); } - if (HX_FIELD_EQ(inName,"exists") ) { return exists_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"iterator") ) { return iterator_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic IntHash_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"h") ) { h=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void IntHash_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("h")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("iterator"), - HX_CSTRING("keys"), - HX_CSTRING("remove"), - HX_CSTRING("exists"), - HX_CSTRING("get"), - HX_CSTRING("set"), - HX_CSTRING("h"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IntHash_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IntHash_obj::__mClass,"__mClass"); -}; - -Class IntHash_obj::__mClass; - -void IntHash_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("IntHash"), hx::TCanCast< IntHash_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IntHash_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/IntIter.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/IntIter.cpp deleted file mode 100644 index d21752d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/IntIter.cpp +++ /dev/null @@ -1,135 +0,0 @@ -#include - -#ifndef INCLUDED_IntIter -#include -#endif - -Void IntIter_obj::__construct(int min,int max) -{ -HX_STACK_PUSH("IntIter::new","/usr/lib/haxe/std/IntIter.hx",38); -{ - HX_STACK_LINE(39) - this->min = min; - HX_STACK_LINE(40) - this->max = max; -} -; - return null(); -} - -IntIter_obj::~IntIter_obj() { } - -Dynamic IntIter_obj::__CreateEmpty() { return new IntIter_obj; } -hx::ObjectPtr< IntIter_obj > IntIter_obj::__new(int min,int max) -{ hx::ObjectPtr< IntIter_obj > result = new IntIter_obj(); - result->__construct(min,max); - return result;} - -Dynamic IntIter_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< IntIter_obj > result = new IntIter_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -int IntIter_obj::next( ){ - HX_STACK_PUSH("IntIter::next","/usr/lib/haxe/std/IntIter.hx",53); - HX_STACK_THIS(this); - HX_STACK_LINE(53) - return (this->min)++; -} - - -HX_DEFINE_DYNAMIC_FUNC0(IntIter_obj,next,return ) - -bool IntIter_obj::hasNext( ){ - HX_STACK_PUSH("IntIter::hasNext","/usr/lib/haxe/std/IntIter.hx",46); - HX_STACK_THIS(this); - HX_STACK_LINE(46) - return (this->min < this->max); -} - - -HX_DEFINE_DYNAMIC_FUNC0(IntIter_obj,hasNext,return ) - - -IntIter_obj::IntIter_obj() -{ -} - -void IntIter_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(IntIter); - HX_MARK_MEMBER_NAME(max,"max"); - HX_MARK_MEMBER_NAME(min,"min"); - HX_MARK_END_CLASS(); -} - -void IntIter_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(max,"max"); - HX_VISIT_MEMBER_NAME(min,"min"); -} - -Dynamic IntIter_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"max") ) { return max; } - if (HX_FIELD_EQ(inName,"min") ) { return min; } - break; - case 4: - if (HX_FIELD_EQ(inName,"next") ) { return next_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"hasNext") ) { return hasNext_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic IntIter_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"max") ) { max=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"min") ) { min=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void IntIter_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("max")); - outFields->push(HX_CSTRING("min")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("next"), - HX_CSTRING("hasNext"), - HX_CSTRING("max"), - HX_CSTRING("min"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IntIter_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IntIter_obj::__mClass,"__mClass"); -}; - -Class IntIter_obj::__mClass; - -void IntIter_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("IntIter"), hx::TCanCast< IntIter_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IntIter_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/List.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/List.cpp deleted file mode 100644 index 36d676e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/List.cpp +++ /dev/null @@ -1,501 +0,0 @@ -#include - -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_StringBuf -#include -#endif - -Void List_obj::__construct() -{ -HX_STACK_PUSH("List::new","/usr/lib/haxe/std/List.hx",44); -{ - HX_STACK_LINE(44) - this->length = (int)0; -} -; - return null(); -} - -List_obj::~List_obj() { } - -Dynamic List_obj::__CreateEmpty() { return new List_obj; } -hx::ObjectPtr< List_obj > List_obj::__new() -{ hx::ObjectPtr< List_obj > result = new List_obj(); - result->__construct(); - return result;} - -Dynamic List_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< List_obj > result = new List_obj(); - result->__construct(); - return result;} - -::List List_obj::map( Dynamic f){ - HX_STACK_PUSH("List::map","/usr/lib/haxe/std/List.hx",246); - HX_STACK_THIS(this); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(247) - ::List b = ::List_obj::__new(); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(248) - Dynamic l = this->h; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(249) - while(((l != null()))){ - HX_STACK_LINE(250) - Dynamic v = l->__GetItem((int)0); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(251) - l = l->__GetItem((int)1); - HX_STACK_LINE(252) - b->add(f(v)); - } - HX_STACK_LINE(254) - return b; -} - - -HX_DEFINE_DYNAMIC_FUNC1(List_obj,map,return ) - -::List List_obj::filter( Dynamic f){ - HX_STACK_PUSH("List::filter","/usr/lib/haxe/std/List.hx",230); - HX_STACK_THIS(this); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(231) - ::List l2 = ::List_obj::__new(); HX_STACK_VAR(l2,"l2"); - HX_STACK_LINE(232) - Dynamic l = this->h; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(233) - while(((l != null()))){ - HX_STACK_LINE(234) - Dynamic v = l->__GetItem((int)0); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(235) - l = l->__GetItem((int)1); - HX_STACK_LINE(236) - if ((f(v).Cast< bool >())){ - HX_STACK_LINE(237) - l2->add(v); - } - } - HX_STACK_LINE(239) - return l2; -} - - -HX_DEFINE_DYNAMIC_FUNC1(List_obj,filter,return ) - -::String List_obj::join( ::String sep){ - HX_STACK_PUSH("List::join","/usr/lib/haxe/std/List.hx",211); - HX_STACK_THIS(this); - HX_STACK_ARG(sep,"sep"); - HX_STACK_LINE(212) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(213) - bool first = true; HX_STACK_VAR(first,"first"); - HX_STACK_LINE(214) - Dynamic l = this->h; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(215) - while(((l != null()))){ - HX_STACK_LINE(216) - if ((first)){ - HX_STACK_LINE(217) - first = false; - } - else{ - HX_STACK_LINE(219) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = sep; - } - HX_STACK_LINE(220) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = l->__GetItem((int)0); - HX_STACK_LINE(221) - l = l->__GetItem((int)1); - } - HX_STACK_LINE(223) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC1(List_obj,join,return ) - -::String List_obj::toString( ){ - HX_STACK_PUSH("List::toString","/usr/lib/haxe/std/List.hx",191); - HX_STACK_THIS(this); - HX_STACK_LINE(192) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(193) - bool first = true; HX_STACK_VAR(first,"first"); - HX_STACK_LINE(194) - Dynamic l = this->h; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(195) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("{"); - HX_STACK_LINE(196) - while(((l != null()))){ - HX_STACK_LINE(197) - if ((first)){ - HX_STACK_LINE(198) - first = false; - } - else{ - HX_STACK_LINE(200) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(", "); - } - HX_STACK_LINE(201) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::Std_obj::string(l->__GetItem((int)0)); - HX_STACK_LINE(202) - l = l->__GetItem((int)1); - } - HX_STACK_LINE(204) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("}"); - HX_STACK_LINE(205) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,toString,return ) - -Dynamic List_obj::iterator( ){ - HX_STACK_PUSH("List::iterator","/usr/lib/haxe/std/List.hx",152); - HX_STACK_THIS(this); - struct _Function_1_1{ - inline static Dynamic Block( ::List_obj *__this){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/List.hx",170); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("h") , __this->h,false); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_1) - Dynamic run(){ - HX_STACK_PUSH("*::_Function_2_1","/usr/lib/haxe/std/List.hx",172); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(172) - return (__this->__Field(HX_CSTRING("h"),true) != null()); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("hasNext") , Dynamic(new _Function_2_1()),true); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_2) - Dynamic run(){ - HX_STACK_PUSH("*::_Function_2_2","/usr/lib/haxe/std/List.hx",175); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(177) - if (((__this->__Field(HX_CSTRING("h"),true) == null()))){ - HX_STACK_LINE(178) - return null(); - } - HX_STACK_LINE(179) - Dynamic x = __this->__Field(HX_CSTRING("h"),true)->__GetItem((int)0); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(180) - __this->__FieldRef(HX_CSTRING("h")) = __this->__Field(HX_CSTRING("h"),true)->__GetItem((int)1); - HX_STACK_LINE(181) - return x; - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("next") , Dynamic(new _Function_2_2()),true); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(152) - return _Function_1_1::Block(this); -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,iterator,return ) - -bool List_obj::remove( Dynamic v){ - HX_STACK_PUSH("List::remove","/usr/lib/haxe/std/List.hx",129); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(130) - Dynamic prev = null(); HX_STACK_VAR(prev,"prev"); - HX_STACK_LINE(131) - Dynamic l = this->h; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(132) - while(((l != null()))){ - HX_STACK_LINE(133) - if (((l->__GetItem((int)0) == v))){ - HX_STACK_LINE(134) - if (((prev == null()))){ - HX_STACK_LINE(135) - this->h = l->__GetItem((int)1); - } - else{ - HX_STACK_LINE(137) - hx::IndexRef((prev).mPtr,(int)1) = l->__GetItem((int)1); - } - HX_STACK_LINE(138) - if (((this->q == l))){ - HX_STACK_LINE(139) - this->q = prev; - } - HX_STACK_LINE(140) - (this->length)--; - HX_STACK_LINE(141) - return true; - } - HX_STACK_LINE(143) - prev = l; - HX_STACK_LINE(144) - l = l->__GetItem((int)1); - } - HX_STACK_LINE(146) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(List_obj,remove,return ) - -Void List_obj::clear( ){ -{ - HX_STACK_PUSH("List::clear","/usr/lib/haxe/std/List.hx",119); - HX_STACK_THIS(this); - HX_STACK_LINE(120) - this->h = null(); - HX_STACK_LINE(121) - this->q = null(); - HX_STACK_LINE(122) - this->length = (int)0; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,clear,(void)) - -bool List_obj::isEmpty( ){ - HX_STACK_PUSH("List::isEmpty","/usr/lib/haxe/std/List.hx",112); - HX_STACK_THIS(this); - HX_STACK_LINE(112) - return (this->h == null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,isEmpty,return ) - -Dynamic List_obj::pop( ){ - HX_STACK_PUSH("List::pop","/usr/lib/haxe/std/List.hx",98); - HX_STACK_THIS(this); - HX_STACK_LINE(99) - if (((this->h == null()))){ - HX_STACK_LINE(100) - return null(); - } - HX_STACK_LINE(101) - Dynamic x = this->h->__GetItem((int)0); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(102) - this->h = this->h->__GetItem((int)1); - HX_STACK_LINE(103) - if (((this->h == null()))){ - HX_STACK_LINE(104) - this->q = null(); - } - HX_STACK_LINE(105) - (this->length)--; - HX_STACK_LINE(106) - return x; -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,pop,return ) - -Dynamic List_obj::last( ){ - HX_STACK_PUSH("List::last","/usr/lib/haxe/std/List.hx",88); - HX_STACK_THIS(this); - HX_STACK_LINE(88) - return ( (((this->q == null()))) ? Dynamic(null()) : Dynamic(this->q->__GetItem((int)0)) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,last,return ) - -Dynamic List_obj::first( ){ - HX_STACK_PUSH("List::first","/usr/lib/haxe/std/List.hx",80); - HX_STACK_THIS(this); - HX_STACK_LINE(80) - return ( (((this->h == null()))) ? Dynamic(null()) : Dynamic(this->h->__GetItem((int)0)) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,first,return ) - -Void List_obj::push( Dynamic item){ -{ - HX_STACK_PUSH("List::push","/usr/lib/haxe/std/List.hx",64); - HX_STACK_THIS(this); - HX_STACK_ARG(item,"item"); - HX_STACK_LINE(65) - Dynamic x = Dynamic( Array_obj::__new().Add(item).Add(this->h)); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(70) - this->h = x; - HX_STACK_LINE(71) - if (((this->q == null()))){ - HX_STACK_LINE(72) - this->q = x; - } - HX_STACK_LINE(73) - (this->length)++; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(List_obj,push,(void)) - -Void List_obj::add( Dynamic item){ -{ - HX_STACK_PUSH("List::add","/usr/lib/haxe/std/List.hx",51); - HX_STACK_THIS(this); - HX_STACK_ARG(item,"item"); - HX_STACK_LINE(52) - Dynamic x = Dynamic( Array_obj::__new().Add(item)); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(53) - if (((this->h == null()))){ - HX_STACK_LINE(54) - this->h = x; - } - else{ - HX_STACK_LINE(56) - hx::IndexRef((this->q).mPtr,(int)1) = x; - } - HX_STACK_LINE(57) - this->q = x; - HX_STACK_LINE(58) - (this->length)++; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(List_obj,add,(void)) - - -List_obj::List_obj() -{ -} - -void List_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(List); - HX_MARK_MEMBER_NAME(length,"length"); - HX_MARK_MEMBER_NAME(q,"q"); - HX_MARK_MEMBER_NAME(h,"h"); - HX_MARK_END_CLASS(); -} - -void List_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(length,"length"); - HX_VISIT_MEMBER_NAME(q,"q"); - HX_VISIT_MEMBER_NAME(h,"h"); -} - -Dynamic List_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"q") ) { return q; } - if (HX_FIELD_EQ(inName,"h") ) { return h; } - break; - case 3: - if (HX_FIELD_EQ(inName,"map") ) { return map_dyn(); } - if (HX_FIELD_EQ(inName,"pop") ) { return pop_dyn(); } - if (HX_FIELD_EQ(inName,"add") ) { return add_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"join") ) { return join_dyn(); } - if (HX_FIELD_EQ(inName,"last") ) { return last_dyn(); } - if (HX_FIELD_EQ(inName,"push") ) { return push_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"clear") ) { return clear_dyn(); } - if (HX_FIELD_EQ(inName,"first") ) { return first_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"filter") ) { return filter_dyn(); } - if (HX_FIELD_EQ(inName,"remove") ) { return remove_dyn(); } - if (HX_FIELD_EQ(inName,"length") ) { return length; } - break; - case 7: - if (HX_FIELD_EQ(inName,"isEmpty") ) { return isEmpty_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"iterator") ) { return iterator_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic List_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"q") ) { q=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"h") ) { h=inValue.Cast< Dynamic >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { length=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void List_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("length")); - outFields->push(HX_CSTRING("q")); - outFields->push(HX_CSTRING("h")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("map"), - HX_CSTRING("filter"), - HX_CSTRING("join"), - HX_CSTRING("toString"), - HX_CSTRING("iterator"), - HX_CSTRING("remove"), - HX_CSTRING("clear"), - HX_CSTRING("isEmpty"), - HX_CSTRING("pop"), - HX_CSTRING("last"), - HX_CSTRING("first"), - HX_CSTRING("push"), - HX_CSTRING("add"), - HX_CSTRING("length"), - HX_CSTRING("q"), - HX_CSTRING("h"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(List_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(List_obj::__mClass,"__mClass"); -}; - -Class List_obj::__mClass; - -void List_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("List"), hx::TCanCast< List_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void List_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Main.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Main.cpp deleted file mode 100644 index 6e79693..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Main.cpp +++ /dev/null @@ -1,138 +0,0 @@ -#include - -#ifndef INCLUDED_Main -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_MovieClip -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_nme_Lib -#include -#endif - -Void Main_obj::__construct() -{ -HX_STACK_PUSH("Main::new","Main.hx",11); -{ - HX_STACK_LINE(11) - super::__construct(); -} -; - return null(); -} - -Main_obj::~Main_obj() { } - -Dynamic Main_obj::__CreateEmpty() { return new Main_obj; } -hx::ObjectPtr< Main_obj > Main_obj::__new() -{ hx::ObjectPtr< Main_obj > result = new Main_obj(); - result->__construct(); - return result;} - -Dynamic Main_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Main_obj > result = new Main_obj(); - result->__construct(); - return result;} - -Void Main_obj::main( ){ -{ - HX_STACK_PUSH("Main::main","Main.hx",15); - HX_STACK_LINE(17) - ::ca::confidant::glory::GloryFrameworkApp app = ::ca::confidant::glory::GloryFrameworkApp_obj::__new(); HX_STACK_VAR(app,"app"); - HX_STACK_LINE(18) - ::nme::Lib_obj::nmeGetCurrent()->addChild(app); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Main_obj,main,(void)) - - -Main_obj::Main_obj() -{ -} - -void Main_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Main); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Main_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Main_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"main") ) { return main_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Main_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Main_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("main"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Main_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Main_obj::__mClass,"__mClass"); -}; - -Class Main_obj::__mClass; - -void Main_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Main"), hx::TCanCast< Main_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Main_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Reflect.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Reflect.cpp deleted file mode 100644 index 4394351..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Reflect.cpp +++ /dev/null @@ -1,373 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif - -Void Reflect_obj::__construct() -{ - return null(); -} - -Reflect_obj::~Reflect_obj() { } - -Dynamic Reflect_obj::__CreateEmpty() { return new Reflect_obj; } -hx::ObjectPtr< Reflect_obj > Reflect_obj::__new() -{ hx::ObjectPtr< Reflect_obj > result = new Reflect_obj(); - result->__construct(); - return result;} - -Dynamic Reflect_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Reflect_obj > result = new Reflect_obj(); - result->__construct(); - return result;} - -bool Reflect_obj::hasField( Dynamic o,::String field){ - HX_STACK_PUSH("Reflect::hasField","/usr/lib/haxe/std/cpp/_std/Reflect.hx",29); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(field,"field"); - HX_STACK_LINE(29) - return (bool((o != null())) && bool(o->__HasField(field))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,hasField,return ) - -Dynamic Reflect_obj::field( Dynamic o,::String field){ - HX_STACK_PUSH("Reflect::field","/usr/lib/haxe/std/cpp/_std/Reflect.hx",33); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(field,"field"); - HX_STACK_LINE(33) - return ( (((o == null()))) ? Dynamic(null()) : Dynamic(o->__Field(field,false)) ); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,field,return ) - -Void Reflect_obj::setField( Dynamic o,::String field,Dynamic value){ -{ - HX_STACK_PUSH("Reflect::setField","/usr/lib/haxe/std/cpp/_std/Reflect.hx",37); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(field,"field"); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(37) - if (((o != null()))){ - HX_STACK_LINE(39) - o->__SetField(field,value,false); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Reflect_obj,setField,(void)) - -Dynamic Reflect_obj::getProperty( Dynamic o,::String field){ - HX_STACK_PUSH("Reflect::getProperty","/usr/lib/haxe/std/cpp/_std/Reflect.hx",42); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(field,"field"); - HX_STACK_LINE(42) - return ( (((o == null()))) ? Dynamic(null()) : Dynamic(o->__Field(field,true)) ); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,getProperty,return ) - -Void Reflect_obj::setProperty( Dynamic o,::String field,Dynamic value){ -{ - HX_STACK_PUSH("Reflect::setProperty","/usr/lib/haxe/std/cpp/_std/Reflect.hx",46); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(field,"field"); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(46) - if (((o != null()))){ - HX_STACK_LINE(48) - o->__SetField(field,value,true); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Reflect_obj,setProperty,(void)) - -Dynamic Reflect_obj::callMethod( Dynamic o,Dynamic func,Dynamic args){ - HX_STACK_PUSH("Reflect::callMethod","/usr/lib/haxe/std/cpp/_std/Reflect.hx",51); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(func,"func"); - HX_STACK_ARG(args,"args"); - HX_STACK_LINE(52) - if (((bool((func != null())) && bool((func->__GetType() == ::vtString))))){ - HX_STACK_LINE(53) - func = o->__Field(func,true); - } - HX_STACK_LINE(54) - func->__SetThis(o); - HX_STACK_LINE(55) - return func->__Run(args); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Reflect_obj,callMethod,return ) - -Array< ::String > Reflect_obj::fields( Dynamic o){ - HX_STACK_PUSH("Reflect::fields","/usr/lib/haxe/std/cpp/_std/Reflect.hx",58); - HX_STACK_ARG(o,"o"); - HX_STACK_LINE(59) - if (((o == null()))){ - HX_STACK_LINE(59) - return Array_obj< ::String >::__new(); - } - HX_STACK_LINE(60) - Array< ::String > a = Array_obj< ::String >::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(61) - o->__GetFields(a); - HX_STACK_LINE(62) - return a; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Reflect_obj,fields,return ) - -bool Reflect_obj::isFunction( Dynamic f){ - HX_STACK_PUSH("Reflect::isFunction","/usr/lib/haxe/std/cpp/_std/Reflect.hx",65); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(65) - return (bool((f != null())) && bool((f->__GetType() == ::vtFunction))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Reflect_obj,isFunction,return ) - -int Reflect_obj::compare( Dynamic a,Dynamic b){ - HX_STACK_PUSH("Reflect::compare","/usr/lib/haxe/std/cpp/_std/Reflect.hx",69); - HX_STACK_ARG(a,"a"); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(69) - return ( (((a == b))) ? int((int)0) : int(( (((a > b))) ? int((int)1) : int((int)-1) )) ); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,compare,return ) - -bool Reflect_obj::compareMethods( Dynamic f1,Dynamic f2){ - HX_STACK_PUSH("Reflect::compareMethods","/usr/lib/haxe/std/cpp/_std/Reflect.hx",73); - HX_STACK_ARG(f1,"f1"); - HX_STACK_ARG(f2,"f2"); - HX_STACK_LINE(74) - if (((f1 == f2))){ - HX_STACK_LINE(75) - return true; - } - HX_STACK_LINE(76) - if (((bool(!(::Reflect_obj::isFunction(f1))) || bool(!(::Reflect_obj::isFunction(f2)))))){ - HX_STACK_LINE(77) - return false; - } - HX_STACK_LINE(78) - return ::__hxcpp_same_closure(f1,f2); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,compareMethods,return ) - -bool Reflect_obj::isObject( Dynamic v){ - HX_STACK_PUSH("Reflect::isObject","/usr/lib/haxe/std/cpp/_std/Reflect.hx",81); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(82) - if (((v == null()))){ - HX_STACK_LINE(82) - return false; - } - HX_STACK_LINE(83) - int t = v->__GetType(); HX_STACK_VAR(t,"t"); - HX_STACK_LINE(84) - return (bool((bool((bool((t == ::vtObject)) || bool((t == ::vtClass)))) || bool((t == ::vtString)))) || bool((t == ::vtArray))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Reflect_obj,isObject,return ) - -bool Reflect_obj::deleteField( Dynamic o,::String f){ - HX_STACK_PUSH("Reflect::deleteField","/usr/lib/haxe/std/cpp/_std/Reflect.hx",88); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(89) - if (((o == null()))){ - HX_STACK_LINE(89) - return false; - } - HX_STACK_LINE(90) - return ::__hxcpp_anon_remove(o,f); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,deleteField,return ) - -Dynamic Reflect_obj::copy( Dynamic o){ - HX_STACK_PUSH("Reflect::copy","/usr/lib/haxe/std/cpp/_std/Reflect.hx",93); - HX_STACK_ARG(o,"o"); - HX_STACK_LINE(94) - if (((o == null()))){ - HX_STACK_LINE(94) - return null(); - } - HX_STACK_LINE(95) - if (((o->__GetType() == ::vtString))){ - HX_STACK_LINE(95) - return o; - } - HX_STACK_LINE(96) - if (((o->__GetType() == ::vtArray))){ - HX_STACK_LINE(97) - return o->__Field(HX_CSTRING("copy"),true)(); - } - struct _Function_1_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Reflect.hx",98); - { - hx::Anon __result = hx::Anon_obj::Create(); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(98) - Dynamic o2 = _Function_1_1::Block(); HX_STACK_VAR(o2,"o2"); - HX_STACK_LINE(99) - { - HX_STACK_LINE(99) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::String > _g1 = ::Reflect_obj::fields(o); HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(99) - while(((_g < _g1->length))){ - HX_STACK_LINE(99) - ::String f = _g1->__get(_g); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(99) - ++(_g); - HX_STACK_LINE(100) - if (((o2 != null()))){ - HX_STACK_LINE(100) - o2->__SetField(f,::Reflect_obj::field(o,f),false); - } - } - } - HX_STACK_LINE(101) - return o2; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Reflect_obj,copy,return ) - -Dynamic Reflect_obj::makeVarArgs( Dynamic f){ - HX_STACK_PUSH("Reflect::makeVarArgs","/usr/lib/haxe/std/cpp/_std/Reflect.hx",104); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(104) - return ::__hxcpp_create_var_args(f); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Reflect_obj,makeVarArgs,return ) - - -Reflect_obj::Reflect_obj() -{ -} - -void Reflect_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Reflect); - HX_MARK_END_CLASS(); -} - -void Reflect_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Reflect_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"copy") ) { return copy_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"field") ) { return field_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"fields") ) { return fields_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"compare") ) { return compare_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"hasField") ) { return hasField_dyn(); } - if (HX_FIELD_EQ(inName,"setField") ) { return setField_dyn(); } - if (HX_FIELD_EQ(inName,"isObject") ) { return isObject_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"callMethod") ) { return callMethod_dyn(); } - if (HX_FIELD_EQ(inName,"isFunction") ) { return isFunction_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"getProperty") ) { return getProperty_dyn(); } - if (HX_FIELD_EQ(inName,"setProperty") ) { return setProperty_dyn(); } - if (HX_FIELD_EQ(inName,"deleteField") ) { return deleteField_dyn(); } - if (HX_FIELD_EQ(inName,"makeVarArgs") ) { return makeVarArgs_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"compareMethods") ) { return compareMethods_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Reflect_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Reflect_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("hasField"), - HX_CSTRING("field"), - HX_CSTRING("setField"), - HX_CSTRING("getProperty"), - HX_CSTRING("setProperty"), - HX_CSTRING("callMethod"), - HX_CSTRING("fields"), - HX_CSTRING("isFunction"), - HX_CSTRING("compare"), - HX_CSTRING("compareMethods"), - HX_CSTRING("isObject"), - HX_CSTRING("deleteField"), - HX_CSTRING("copy"), - HX_CSTRING("makeVarArgs"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Reflect_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Reflect_obj::__mClass,"__mClass"); -}; - -Class Reflect_obj::__mClass; - -void Reflect_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Reflect"), hx::TCanCast< Reflect_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Reflect_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Std.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Std.cpp deleted file mode 100644 index 83657e3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Std.cpp +++ /dev/null @@ -1,165 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif - -Void Std_obj::__construct() -{ - return null(); -} - -Std_obj::~Std_obj() { } - -Dynamic Std_obj::__CreateEmpty() { return new Std_obj; } -hx::ObjectPtr< Std_obj > Std_obj::__new() -{ hx::ObjectPtr< Std_obj > result = new Std_obj(); - result->__construct(); - return result;} - -Dynamic Std_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Std_obj > result = new Std_obj(); - result->__construct(); - return result;} - -bool Std_obj::is( Dynamic v,Dynamic t){ - HX_STACK_PUSH("Std::is","/usr/lib/haxe/std/cpp/_std/Std.hx",27); - HX_STACK_ARG(v,"v"); - HX_STACK_ARG(t,"t"); - HX_STACK_LINE(27) - return ::__instanceof(v,t); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Std_obj,is,return ) - -::String Std_obj::string( Dynamic s){ - HX_STACK_PUSH("Std::string","/usr/lib/haxe/std/cpp/_std/Std.hx",31); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(31) - return ( (((s == null()))) ? ::String(HX_CSTRING("null")) : ::String(s->toString()) ); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Std_obj,string,return ) - -int Std_obj::_int( Float x){ - HX_STACK_PUSH("Std::int","/usr/lib/haxe/std/cpp/_std/Std.hx",35); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(35) - return ::__int__(x); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Std_obj,_int,return ) - -Dynamic Std_obj::parseInt( ::String x){ - HX_STACK_PUSH("Std::parseInt","/usr/lib/haxe/std/cpp/_std/Std.hx",39); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(39) - return ::__hxcpp_parse_int(x); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Std_obj,parseInt,return ) - -Float Std_obj::parseFloat( ::String x){ - HX_STACK_PUSH("Std::parseFloat","/usr/lib/haxe/std/cpp/_std/Std.hx",43); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(43) - return ::__hxcpp_parse_float(x); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Std_obj,parseFloat,return ) - -int Std_obj::random( int x){ - HX_STACK_PUSH("Std::random","/usr/lib/haxe/std/cpp/_std/Std.hx",47); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(47) - return ::__hxcpp_irand(x); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Std_obj,random,return ) - - -Std_obj::Std_obj() -{ -} - -void Std_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Std); - HX_MARK_END_CLASS(); -} - -void Std_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Std_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"is") ) { return is_dyn(); } - break; - case 3: - if (HX_FIELD_EQ(inName,"int") ) { return _int_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"string") ) { return string_dyn(); } - if (HX_FIELD_EQ(inName,"random") ) { return random_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"parseInt") ) { return parseInt_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"parseFloat") ) { return parseFloat_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Std_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Std_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("is"), - HX_CSTRING("string"), - HX_CSTRING("int"), - HX_CSTRING("parseInt"), - HX_CSTRING("parseFloat"), - HX_CSTRING("random"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Std_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Std_obj::__mClass,"__mClass"); -}; - -Class Std_obj::__mClass; - -void Std_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Std"), hx::TCanCast< Std_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Std_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/StringBuf.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/StringBuf.cpp deleted file mode 100644 index 8176dbd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/StringBuf.cpp +++ /dev/null @@ -1,169 +0,0 @@ -#include - -#ifndef INCLUDED_StringBuf -#include -#endif - -Void StringBuf_obj::__construct() -{ -HX_STACK_PUSH("StringBuf::new","/usr/lib/haxe/std/cpp/_std/StringBuf.hx",31); -{ - HX_STACK_LINE(31) - this->b = Dynamic( Array_obj::__new() ); -} -; - return null(); -} - -StringBuf_obj::~StringBuf_obj() { } - -Dynamic StringBuf_obj::__CreateEmpty() { return new StringBuf_obj; } -hx::ObjectPtr< StringBuf_obj > StringBuf_obj::__new() -{ hx::ObjectPtr< StringBuf_obj > result = new StringBuf_obj(); - result->__construct(); - return result;} - -Dynamic StringBuf_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< StringBuf_obj > result = new StringBuf_obj(); - result->__construct(); - return result;} - -::String StringBuf_obj::toString( ){ - HX_STACK_PUSH("StringBuf::toString","/usr/lib/haxe/std/cpp/_std/StringBuf.hx",47); - HX_STACK_THIS(this); - HX_STACK_LINE(47) - return this->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(StringBuf_obj,toString,return ) - -Void StringBuf_obj::addChar( int c){ -{ - HX_STACK_PUSH("StringBuf::addChar","/usr/lib/haxe/std/cpp/_std/StringBuf.hx",43); - HX_STACK_THIS(this); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(43) - hx::IndexRef((this->b).mPtr,this->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode(c); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(StringBuf_obj,addChar,(void)) - -Void StringBuf_obj::addSub( ::String s,int pos,Dynamic len){ -{ - HX_STACK_PUSH("StringBuf::addSub","/usr/lib/haxe/std/cpp/_std/StringBuf.hx",39); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(39) - hx::IndexRef((this->b).mPtr,this->b->__Field(HX_CSTRING("length"),true)) = s.substr(pos,len); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(StringBuf_obj,addSub,(void)) - -Void StringBuf_obj::add( Dynamic x){ -{ - HX_STACK_PUSH("StringBuf::add","/usr/lib/haxe/std/cpp/_std/StringBuf.hx",35); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(35) - hx::IndexRef((this->b).mPtr,this->b->__Field(HX_CSTRING("length"),true)) = x; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(StringBuf_obj,add,(void)) - - -StringBuf_obj::StringBuf_obj() -{ -} - -void StringBuf_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(StringBuf); - HX_MARK_MEMBER_NAME(b,"b"); - HX_MARK_END_CLASS(); -} - -void StringBuf_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(b,"b"); -} - -Dynamic StringBuf_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"b") ) { return b; } - break; - case 3: - if (HX_FIELD_EQ(inName,"add") ) { return add_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"addSub") ) { return addSub_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"addChar") ) { return addChar_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic StringBuf_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"b") ) { b=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void StringBuf_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("b")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("addChar"), - HX_CSTRING("addSub"), - HX_CSTRING("add"), - HX_CSTRING("b"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StringBuf_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StringBuf_obj::__mClass,"__mClass"); -}; - -Class StringBuf_obj::__mClass; - -void StringBuf_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("StringBuf"), hx::TCanCast< StringBuf_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void StringBuf_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/StringTools.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/StringTools.cpp deleted file mode 100644 index 577e33f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/StringTools.cpp +++ /dev/null @@ -1,410 +0,0 @@ -#include - -#ifndef INCLUDED_StringTools -#include -#endif - -Void StringTools_obj::__construct() -{ - return null(); -} - -StringTools_obj::~StringTools_obj() { } - -Dynamic StringTools_obj::__CreateEmpty() { return new StringTools_obj; } -hx::ObjectPtr< StringTools_obj > StringTools_obj::__new() -{ hx::ObjectPtr< StringTools_obj > result = new StringTools_obj(); - result->__construct(); - return result;} - -Dynamic StringTools_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< StringTools_obj > result = new StringTools_obj(); - result->__construct(); - return result;} - -::String StringTools_obj::urlEncode( ::String s){ - HX_STACK_PUSH("StringTools::urlEncode","/usr/lib/haxe/std/StringTools.hx",41); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(41) - return s.__URLEncode(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,urlEncode,return ) - -::String StringTools_obj::urlDecode( ::String s){ - HX_STACK_PUSH("StringTools::urlDecode","/usr/lib/haxe/std/StringTools.hx",68); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(68) - return s.__URLDecode(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,urlDecode,return ) - -::String StringTools_obj::htmlEscape( ::String s){ - HX_STACK_PUSH("StringTools::htmlEscape","/usr/lib/haxe/std/StringTools.hx",95); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(95) - return s.split(HX_CSTRING("&"))->join(HX_CSTRING("&")).split(HX_CSTRING("<"))->join(HX_CSTRING("<")).split(HX_CSTRING(">"))->join(HX_CSTRING(">")); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,htmlEscape,return ) - -::String StringTools_obj::htmlUnescape( ::String s){ - HX_STACK_PUSH("StringTools::htmlUnescape","/usr/lib/haxe/std/StringTools.hx",102); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(102) - return s.split(HX_CSTRING(">"))->join(HX_CSTRING(">")).split(HX_CSTRING("<"))->join(HX_CSTRING("<")).split(HX_CSTRING("&"))->join(HX_CSTRING("&")); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,htmlUnescape,return ) - -bool StringTools_obj::startsWith( ::String s,::String start){ - HX_STACK_PUSH("StringTools::startsWith","/usr/lib/haxe/std/StringTools.hx",113); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(start,"start"); - HX_STACK_LINE(113) - return (bool((s.length >= start.length)) && bool((s.substr((int)0,start.length) == start))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(StringTools_obj,startsWith,return ) - -bool StringTools_obj::endsWith( ::String s,::String end){ - HX_STACK_PUSH("StringTools::endsWith","/usr/lib/haxe/std/StringTools.hx",126); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(end,"end"); - HX_STACK_LINE(132) - int elen = end.length; HX_STACK_VAR(elen,"elen"); - HX_STACK_LINE(133) - int slen = s.length; HX_STACK_VAR(slen,"slen"); - HX_STACK_LINE(134) - return (bool((slen >= elen)) && bool((s.substr((slen - elen),elen) == end))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(StringTools_obj,endsWith,return ) - -bool StringTools_obj::isSpace( ::String s,int pos){ - HX_STACK_PUSH("StringTools::isSpace","/usr/lib/haxe/std/StringTools.hx",141); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(142) - Dynamic c = s.charCodeAt(pos); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(143) - return (bool((bool((c >= (int)9)) && bool((c <= (int)13)))) || bool((c == (int)32))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(StringTools_obj,isSpace,return ) - -::String StringTools_obj::ltrim( ::String s){ - HX_STACK_PUSH("StringTools::ltrim","/usr/lib/haxe/std/StringTools.hx",149); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(155) - int l = s.length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(156) - int r = (int)0; HX_STACK_VAR(r,"r"); - HX_STACK_LINE(157) - while(((bool((r < l)) && bool(::StringTools_obj::isSpace(s,r))))){ - HX_STACK_LINE(157) - (r)++; - } - HX_STACK_LINE(160) - if (((r > (int)0))){ - HX_STACK_LINE(161) - return s.substr(r,(l - r)); - } - else{ - HX_STACK_LINE(163) - return s; - } - HX_STACK_LINE(160) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,ltrim,return ) - -::String StringTools_obj::rtrim( ::String s){ - HX_STACK_PUSH("StringTools::rtrim","/usr/lib/haxe/std/StringTools.hx",170); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(176) - int l = s.length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(177) - int r = (int)0; HX_STACK_VAR(r,"r"); - HX_STACK_LINE(178) - while(((bool((r < l)) && bool(::StringTools_obj::isSpace(s,((l - r) - (int)1)))))){ - HX_STACK_LINE(178) - (r)++; - } - HX_STACK_LINE(181) - if (((r > (int)0))){ - HX_STACK_LINE(181) - return s.substr((int)0,(l - r)); - } - else{ - HX_STACK_LINE(183) - return s; - } - HX_STACK_LINE(181) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,rtrim,return ) - -::String StringTools_obj::trim( ::String s){ - HX_STACK_PUSH("StringTools::trim","/usr/lib/haxe/std/StringTools.hx",192); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(192) - return ::StringTools_obj::ltrim(::StringTools_obj::rtrim(s)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,trim,return ) - -::String StringTools_obj::rpad( ::String s,::String c,int l){ - HX_STACK_PUSH("StringTools::rpad","/usr/lib/haxe/std/StringTools.hx",207); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(c,"c"); - HX_STACK_ARG(l,"l"); - HX_STACK_LINE(211) - int sl = s.length; HX_STACK_VAR(sl,"sl"); - HX_STACK_LINE(212) - int cl = c.length; HX_STACK_VAR(cl,"cl"); - HX_STACK_LINE(213) - while(((sl < l))){ - HX_STACK_LINE(213) - if ((((l - sl) < cl))){ - HX_STACK_LINE(215) - hx::AddEq(s,c.substr((int)0,(l - sl))); - HX_STACK_LINE(216) - sl = l; - } - else{ - HX_STACK_LINE(218) - hx::AddEq(s,c); - HX_STACK_LINE(219) - hx::AddEq(sl,cl); - } - } - HX_STACK_LINE(222) - return s; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(StringTools_obj,rpad,return ) - -::String StringTools_obj::lpad( ::String s,::String c,int l){ - HX_STACK_PUSH("StringTools::lpad","/usr/lib/haxe/std/StringTools.hx",229); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(c,"c"); - HX_STACK_ARG(l,"l"); - HX_STACK_LINE(233) - ::String ns = HX_CSTRING(""); HX_STACK_VAR(ns,"ns"); - HX_STACK_LINE(234) - int sl = s.length; HX_STACK_VAR(sl,"sl"); - HX_STACK_LINE(235) - if (((sl >= l))){ - HX_STACK_LINE(235) - return s; - } - HX_STACK_LINE(237) - int cl = c.length; HX_STACK_VAR(cl,"cl"); - HX_STACK_LINE(238) - while(((sl < l))){ - HX_STACK_LINE(238) - if ((((l - sl) < cl))){ - HX_STACK_LINE(240) - hx::AddEq(ns,c.substr((int)0,(l - sl))); - HX_STACK_LINE(241) - sl = l; - } - else{ - HX_STACK_LINE(243) - hx::AddEq(ns,c); - HX_STACK_LINE(244) - hx::AddEq(sl,cl); - } - } - HX_STACK_LINE(247) - return (ns + s); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(StringTools_obj,lpad,return ) - -::String StringTools_obj::replace( ::String s,::String sub,::String by){ - HX_STACK_PUSH("StringTools::replace","/usr/lib/haxe/std/StringTools.hx",254); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(sub,"sub"); - HX_STACK_ARG(by,"by"); - HX_STACK_LINE(254) - return s.split(sub)->join(by); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(StringTools_obj,replace,return ) - -::String StringTools_obj::hex( int n,Dynamic digits){ - HX_STACK_PUSH("StringTools::hex","/usr/lib/haxe/std/StringTools.hx",269); - HX_STACK_ARG(n,"n"); - HX_STACK_ARG(digits,"digits"); - HX_STACK_LINE(275) - ::String s = HX_CSTRING(""); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(276) - ::String hexChars = HX_CSTRING("0123456789ABCDEF"); HX_STACK_VAR(hexChars,"hexChars"); - HX_STACK_LINE(277) - do{ - HX_STACK_LINE(278) - s = (hexChars.charAt((int(n) & int((int)15))) + s); - HX_STACK_LINE(279) - hx::UShrEq(n,(int)4); - } -while(((n > (int)0))); - HX_STACK_LINE(282) - if (((digits != null()))){ - HX_STACK_LINE(283) - while(((s.length < digits))){ - HX_STACK_LINE(284) - s = (HX_CSTRING("0") + s); - } - } - HX_STACK_LINE(285) - return s; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(StringTools_obj,hex,return ) - -int StringTools_obj::fastCodeAt( ::String s,int index){ - HX_STACK_PUSH("StringTools::fastCodeAt","/usr/lib/haxe/std/StringTools.hx",292); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(292) - return s.cca(index); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(StringTools_obj,fastCodeAt,return ) - -bool StringTools_obj::isEOF( int c){ - HX_STACK_PUSH("StringTools::isEOF","/usr/lib/haxe/std/StringTools.hx",322); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(322) - return (c == (int)0); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,isEOF,return ) - - -StringTools_obj::StringTools_obj() -{ -} - -void StringTools_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(StringTools); - HX_MARK_END_CLASS(); -} - -void StringTools_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic StringTools_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"hex") ) { return hex_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"trim") ) { return trim_dyn(); } - if (HX_FIELD_EQ(inName,"rpad") ) { return rpad_dyn(); } - if (HX_FIELD_EQ(inName,"lpad") ) { return lpad_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"ltrim") ) { return ltrim_dyn(); } - if (HX_FIELD_EQ(inName,"rtrim") ) { return rtrim_dyn(); } - if (HX_FIELD_EQ(inName,"isEOF") ) { return isEOF_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"isSpace") ) { return isSpace_dyn(); } - if (HX_FIELD_EQ(inName,"replace") ) { return replace_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"endsWith") ) { return endsWith_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"urlEncode") ) { return urlEncode_dyn(); } - if (HX_FIELD_EQ(inName,"urlDecode") ) { return urlDecode_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"htmlEscape") ) { return htmlEscape_dyn(); } - if (HX_FIELD_EQ(inName,"startsWith") ) { return startsWith_dyn(); } - if (HX_FIELD_EQ(inName,"fastCodeAt") ) { return fastCodeAt_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"htmlUnescape") ) { return htmlUnescape_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic StringTools_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void StringTools_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("urlEncode"), - HX_CSTRING("urlDecode"), - HX_CSTRING("htmlEscape"), - HX_CSTRING("htmlUnescape"), - HX_CSTRING("startsWith"), - HX_CSTRING("endsWith"), - HX_CSTRING("isSpace"), - HX_CSTRING("ltrim"), - HX_CSTRING("rtrim"), - HX_CSTRING("trim"), - HX_CSTRING("rpad"), - HX_CSTRING("lpad"), - HX_CSTRING("replace"), - HX_CSTRING("hex"), - HX_CSTRING("fastCodeAt"), - HX_CSTRING("isEOF"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StringTools_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StringTools_obj::__mClass,"__mClass"); -}; - -Class StringTools_obj::__mClass; - -void StringTools_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("StringTools"), hx::TCanCast< StringTools_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void StringTools_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Sys.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Sys.cpp deleted file mode 100644 index 32c90b6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Sys.cpp +++ /dev/null @@ -1,609 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_Sys -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -#ifndef INCLUDED_haxe_io_Output -#include -#endif -#ifndef INCLUDED_sys_io_FileInput -#include -#endif -#ifndef INCLUDED_sys_io_FileOutput -#include -#endif - -Void Sys_obj::__construct() -{ - return null(); -} - -Sys_obj::~Sys_obj() { } - -Dynamic Sys_obj::__CreateEmpty() { return new Sys_obj; } -hx::ObjectPtr< Sys_obj > Sys_obj::__new() -{ hx::ObjectPtr< Sys_obj > result = new Sys_obj(); - result->__construct(); - return result;} - -Dynamic Sys_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Sys_obj > result = new Sys_obj(); - result->__construct(); - return result;} - -Void Sys_obj::print( Dynamic v){ -{ - HX_STACK_PUSH("Sys::print","/usr/lib/haxe/std/cpp/_std/Sys.hx",28); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(28) - ::__hxcpp_print(v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,print,(void)) - -Void Sys_obj::println( Dynamic v){ -{ - HX_STACK_PUSH("Sys::println","/usr/lib/haxe/std/cpp/_std/Sys.hx",32); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(33) - ::Sys_obj::print(v); - HX_STACK_LINE(34) - ::Sys_obj::print(HX_CSTRING("\n")); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,println,(void)) - -::haxe::io::Input Sys_obj::_stdin( ){ - HX_STACK_PUSH("Sys::stdin","/usr/lib/haxe/std/cpp/_std/Sys.hx",37); - HX_STACK_LINE(37) - return ::sys::io::FileInput_obj::__new(::Sys_obj::file_stdin()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,_stdin,return ) - -::haxe::io::Output Sys_obj::_stdout( ){ - HX_STACK_PUSH("Sys::stdout","/usr/lib/haxe/std/cpp/_std/Sys.hx",41); - HX_STACK_LINE(41) - return ::sys::io::FileOutput_obj::__new(::Sys_obj::file_stdout()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,_stdout,return ) - -::haxe::io::Output Sys_obj::_stderr( ){ - HX_STACK_PUSH("Sys::stderr","/usr/lib/haxe/std/cpp/_std/Sys.hx",45); - HX_STACK_LINE(45) - return ::sys::io::FileOutput_obj::__new(::Sys_obj::file_stderr()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,_stderr,return ) - -int Sys_obj::getChar( bool echo){ - HX_STACK_PUSH("Sys::getChar","/usr/lib/haxe/std/cpp/_std/Sys.hx",49); - HX_STACK_ARG(echo,"echo"); - HX_STACK_LINE(49) - return ::Sys_obj::getch(echo); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,getChar,return ) - -Array< ::String > Sys_obj::args( ){ - HX_STACK_PUSH("Sys::args","/usr/lib/haxe/std/cpp/_std/Sys.hx",53); - HX_STACK_LINE(53) - return ::__get_args(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,args,return ) - -::String Sys_obj::getEnv( ::String s){ - HX_STACK_PUSH("Sys::getEnv","/usr/lib/haxe/std/cpp/_std/Sys.hx",57); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(58) - ::String v = ::Sys_obj::get_env(s); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(59) - if (((v == null()))){ - HX_STACK_LINE(60) - return null(); - } - HX_STACK_LINE(61) - return v; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,getEnv,return ) - -Void Sys_obj::putEnv( ::String s,::String v){ -{ - HX_STACK_PUSH("Sys::putEnv","/usr/lib/haxe/std/cpp/_std/Sys.hx",64); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(64) - ::Sys_obj::put_env(s,v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Sys_obj,putEnv,(void)) - -Void Sys_obj::sleep( Float seconds){ -{ - HX_STACK_PUSH("Sys::sleep","/usr/lib/haxe/std/cpp/_std/Sys.hx",68); - HX_STACK_ARG(seconds,"seconds"); - HX_STACK_LINE(68) - ::Sys_obj::_sleep(seconds); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,sleep,(void)) - -bool Sys_obj::setTimeLocale( ::String loc){ - HX_STACK_PUSH("Sys::setTimeLocale","/usr/lib/haxe/std/cpp/_std/Sys.hx",72); - HX_STACK_ARG(loc,"loc"); - HX_STACK_LINE(72) - return ::Sys_obj::set_time_locale(loc); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,setTimeLocale,return ) - -::String Sys_obj::getCwd( ){ - HX_STACK_PUSH("Sys::getCwd","/usr/lib/haxe/std/cpp/_std/Sys.hx",76); - HX_STACK_LINE(76) - return ::String(::Sys_obj::get_cwd()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,getCwd,return ) - -Void Sys_obj::setCwd( ::String s){ -{ - HX_STACK_PUSH("Sys::setCwd","/usr/lib/haxe/std/cpp/_std/Sys.hx",80); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(80) - ::Sys_obj::set_cwd(s); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,setCwd,(void)) - -::String Sys_obj::systemName( ){ - HX_STACK_PUSH("Sys::systemName","/usr/lib/haxe/std/cpp/_std/Sys.hx",84); - HX_STACK_LINE(84) - return ::Sys_obj::sys_string(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,systemName,return ) - -::String Sys_obj::escapeArgument( ::String arg){ - HX_STACK_PUSH("Sys::escapeArgument","/usr/lib/haxe/std/cpp/_std/Sys.hx",88); - HX_STACK_ARG(arg,"arg"); - HX_STACK_LINE(89) - bool ok = true; HX_STACK_VAR(ok,"ok"); - HX_STACK_LINE(90) - { - HX_STACK_LINE(90) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = arg.length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(90) - while(((_g1 < _g))){ - HX_STACK_LINE(90) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(91) - switch( (int)(arg.charCodeAt(i))){ - case (int)32: case (int)34: { - HX_STACK_LINE(92) - ok = false; - } - ;break; - case (int)0: case (int)13: case (int)10: { - HX_STACK_LINE(94) - arg = arg.substr((int)0,i); - } - ;break; - } - } - } - HX_STACK_LINE(97) - if ((ok)){ - HX_STACK_LINE(98) - return arg; - } - HX_STACK_LINE(99) - return ((HX_CSTRING("\"") + arg.split(HX_CSTRING("\""))->join(HX_CSTRING("\\\""))) + HX_CSTRING("\"")); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,escapeArgument,return ) - -int Sys_obj::command( ::String cmd,Array< ::String > args){ - HX_STACK_PUSH("Sys::command","/usr/lib/haxe/std/cpp/_std/Sys.hx",102); - HX_STACK_ARG(cmd,"cmd"); - HX_STACK_ARG(args,"args"); - HX_STACK_LINE(103) - if (((args != null()))){ - HX_STACK_LINE(104) - cmd = ::Sys_obj::escapeArgument(cmd); - HX_STACK_LINE(105) - { - HX_STACK_LINE(105) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(105) - while(((_g < args->length))){ - HX_STACK_LINE(105) - ::String a = args->__get(_g); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(105) - ++(_g); - HX_STACK_LINE(106) - hx::AddEq(cmd,(HX_CSTRING(" ") + ::Sys_obj::escapeArgument(a))); - } - } - } - HX_STACK_LINE(108) - return ::Sys_obj::sys_command(cmd); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Sys_obj,command,return ) - -Void Sys_obj::exit( int code){ -{ - HX_STACK_PUSH("Sys::exit","/usr/lib/haxe/std/cpp/_std/Sys.hx",111); - HX_STACK_ARG(code,"code"); - HX_STACK_LINE(111) - ::Sys_obj::sys_exit(code); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,exit,(void)) - -Float Sys_obj::time( ){ - HX_STACK_PUSH("Sys::time","/usr/lib/haxe/std/cpp/_std/Sys.hx",115); - HX_STACK_LINE(115) - return ::Sys_obj::sys_time(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,time,return ) - -Float Sys_obj::cpuTime( ){ - HX_STACK_PUSH("Sys::cpuTime","/usr/lib/haxe/std/cpp/_std/Sys.hx",119); - HX_STACK_LINE(119) - return ::Sys_obj::sys_cpu_time(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,cpuTime,return ) - -::String Sys_obj::executablePath( ){ - HX_STACK_PUSH("Sys::executablePath","/usr/lib/haxe/std/cpp/_std/Sys.hx",123); - HX_STACK_LINE(123) - return ::String(::Sys_obj::sys_exe_path()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,executablePath,return ) - -::Hash Sys_obj::environment( ){ - HX_STACK_PUSH("Sys::environment","/usr/lib/haxe/std/cpp/_std/Sys.hx",127); - HX_STACK_LINE(128) - Array< ::String > vars = ::Sys_obj::sys_env(); HX_STACK_VAR(vars,"vars"); - HX_STACK_LINE(129) - ::Hash result = ::Hash_obj::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(130) - int i = (int)0; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(131) - while(((i < vars->length))){ - HX_STACK_LINE(132) - result->set(vars->__get(i),vars->__get((i + (int)1))); - HX_STACK_LINE(133) - hx::AddEq(i,(int)2); - } - HX_STACK_LINE(135) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,environment,return ) - -Dynamic Sys_obj::get_env; - -Dynamic Sys_obj::put_env; - -Dynamic Sys_obj::_sleep; - -Dynamic Sys_obj::set_time_locale; - -Dynamic Sys_obj::get_cwd; - -Dynamic Sys_obj::set_cwd; - -Dynamic Sys_obj::sys_string; - -Dynamic Sys_obj::sys_command; - -Dynamic Sys_obj::sys_exit; - -Dynamic Sys_obj::sys_time; - -Dynamic Sys_obj::sys_cpu_time; - -Dynamic Sys_obj::sys_exe_path; - -Dynamic Sys_obj::sys_env; - -Dynamic Sys_obj::file_stdin; - -Dynamic Sys_obj::file_stdout; - -Dynamic Sys_obj::file_stderr; - -Dynamic Sys_obj::getch; - - -Sys_obj::Sys_obj() -{ -} - -void Sys_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Sys); - HX_MARK_END_CLASS(); -} - -void Sys_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Sys_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"args") ) { return args_dyn(); } - if (HX_FIELD_EQ(inName,"exit") ) { return exit_dyn(); } - if (HX_FIELD_EQ(inName,"time") ) { return time_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"print") ) { return print_dyn(); } - if (HX_FIELD_EQ(inName,"stdin") ) { return _stdin_dyn(); } - if (HX_FIELD_EQ(inName,"sleep") ) { return sleep_dyn(); } - if (HX_FIELD_EQ(inName,"getch") ) { return getch; } - break; - case 6: - if (HX_FIELD_EQ(inName,"stdout") ) { return _stdout_dyn(); } - if (HX_FIELD_EQ(inName,"stderr") ) { return _stderr_dyn(); } - if (HX_FIELD_EQ(inName,"getEnv") ) { return getEnv_dyn(); } - if (HX_FIELD_EQ(inName,"putEnv") ) { return putEnv_dyn(); } - if (HX_FIELD_EQ(inName,"getCwd") ) { return getCwd_dyn(); } - if (HX_FIELD_EQ(inName,"setCwd") ) { return setCwd_dyn(); } - if (HX_FIELD_EQ(inName,"_sleep") ) { return _sleep; } - break; - case 7: - if (HX_FIELD_EQ(inName,"println") ) { return println_dyn(); } - if (HX_FIELD_EQ(inName,"getChar") ) { return getChar_dyn(); } - if (HX_FIELD_EQ(inName,"command") ) { return command_dyn(); } - if (HX_FIELD_EQ(inName,"cpuTime") ) { return cpuTime_dyn(); } - if (HX_FIELD_EQ(inName,"get_env") ) { return get_env; } - if (HX_FIELD_EQ(inName,"put_env") ) { return put_env; } - if (HX_FIELD_EQ(inName,"get_cwd") ) { return get_cwd; } - if (HX_FIELD_EQ(inName,"set_cwd") ) { return set_cwd; } - if (HX_FIELD_EQ(inName,"sys_env") ) { return sys_env; } - break; - case 8: - if (HX_FIELD_EQ(inName,"sys_exit") ) { return sys_exit; } - if (HX_FIELD_EQ(inName,"sys_time") ) { return sys_time; } - break; - case 10: - if (HX_FIELD_EQ(inName,"systemName") ) { return systemName_dyn(); } - if (HX_FIELD_EQ(inName,"sys_string") ) { return sys_string; } - if (HX_FIELD_EQ(inName,"file_stdin") ) { return file_stdin; } - break; - case 11: - if (HX_FIELD_EQ(inName,"environment") ) { return environment_dyn(); } - if (HX_FIELD_EQ(inName,"sys_command") ) { return sys_command; } - if (HX_FIELD_EQ(inName,"file_stdout") ) { return file_stdout; } - if (HX_FIELD_EQ(inName,"file_stderr") ) { return file_stderr; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sys_cpu_time") ) { return sys_cpu_time; } - if (HX_FIELD_EQ(inName,"sys_exe_path") ) { return sys_exe_path; } - break; - case 13: - if (HX_FIELD_EQ(inName,"setTimeLocale") ) { return setTimeLocale_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"escapeArgument") ) { return escapeArgument_dyn(); } - if (HX_FIELD_EQ(inName,"executablePath") ) { return executablePath_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"set_time_locale") ) { return set_time_locale; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Sys_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"getch") ) { getch=inValue.Cast< Dynamic >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"_sleep") ) { _sleep=inValue.Cast< Dynamic >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"get_env") ) { get_env=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"put_env") ) { put_env=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"get_cwd") ) { get_cwd=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"set_cwd") ) { set_cwd=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"sys_env") ) { sys_env=inValue.Cast< Dynamic >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"sys_exit") ) { sys_exit=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"sys_time") ) { sys_time=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"sys_string") ) { sys_string=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_stdin") ) { file_stdin=inValue.Cast< Dynamic >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"sys_command") ) { sys_command=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_stdout") ) { file_stdout=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_stderr") ) { file_stderr=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sys_cpu_time") ) { sys_cpu_time=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"sys_exe_path") ) { sys_exe_path=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"set_time_locale") ) { set_time_locale=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Sys_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("print"), - HX_CSTRING("println"), - HX_CSTRING("stdin"), - HX_CSTRING("stdout"), - HX_CSTRING("stderr"), - HX_CSTRING("getChar"), - HX_CSTRING("args"), - HX_CSTRING("getEnv"), - HX_CSTRING("putEnv"), - HX_CSTRING("sleep"), - HX_CSTRING("setTimeLocale"), - HX_CSTRING("getCwd"), - HX_CSTRING("setCwd"), - HX_CSTRING("systemName"), - HX_CSTRING("escapeArgument"), - HX_CSTRING("command"), - HX_CSTRING("exit"), - HX_CSTRING("time"), - HX_CSTRING("cpuTime"), - HX_CSTRING("executablePath"), - HX_CSTRING("environment"), - HX_CSTRING("get_env"), - HX_CSTRING("put_env"), - HX_CSTRING("_sleep"), - HX_CSTRING("set_time_locale"), - HX_CSTRING("get_cwd"), - HX_CSTRING("set_cwd"), - HX_CSTRING("sys_string"), - HX_CSTRING("sys_command"), - HX_CSTRING("sys_exit"), - HX_CSTRING("sys_time"), - HX_CSTRING("sys_cpu_time"), - HX_CSTRING("sys_exe_path"), - HX_CSTRING("sys_env"), - HX_CSTRING("file_stdin"), - HX_CSTRING("file_stdout"), - HX_CSTRING("file_stderr"), - HX_CSTRING("getch"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Sys_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Sys_obj::get_env,"get_env"); - HX_MARK_MEMBER_NAME(Sys_obj::put_env,"put_env"); - HX_MARK_MEMBER_NAME(Sys_obj::_sleep,"_sleep"); - HX_MARK_MEMBER_NAME(Sys_obj::set_time_locale,"set_time_locale"); - HX_MARK_MEMBER_NAME(Sys_obj::get_cwd,"get_cwd"); - HX_MARK_MEMBER_NAME(Sys_obj::set_cwd,"set_cwd"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_string,"sys_string"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_command,"sys_command"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_exit,"sys_exit"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_time,"sys_time"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_cpu_time,"sys_cpu_time"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_exe_path,"sys_exe_path"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_env,"sys_env"); - HX_MARK_MEMBER_NAME(Sys_obj::file_stdin,"file_stdin"); - HX_MARK_MEMBER_NAME(Sys_obj::file_stdout,"file_stdout"); - HX_MARK_MEMBER_NAME(Sys_obj::file_stderr,"file_stderr"); - HX_MARK_MEMBER_NAME(Sys_obj::getch,"getch"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Sys_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Sys_obj::get_env,"get_env"); - HX_VISIT_MEMBER_NAME(Sys_obj::put_env,"put_env"); - HX_VISIT_MEMBER_NAME(Sys_obj::_sleep,"_sleep"); - HX_VISIT_MEMBER_NAME(Sys_obj::set_time_locale,"set_time_locale"); - HX_VISIT_MEMBER_NAME(Sys_obj::get_cwd,"get_cwd"); - HX_VISIT_MEMBER_NAME(Sys_obj::set_cwd,"set_cwd"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_string,"sys_string"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_command,"sys_command"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_exit,"sys_exit"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_time,"sys_time"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_cpu_time,"sys_cpu_time"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_exe_path,"sys_exe_path"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_env,"sys_env"); - HX_VISIT_MEMBER_NAME(Sys_obj::file_stdin,"file_stdin"); - HX_VISIT_MEMBER_NAME(Sys_obj::file_stdout,"file_stdout"); - HX_VISIT_MEMBER_NAME(Sys_obj::file_stderr,"file_stderr"); - HX_VISIT_MEMBER_NAME(Sys_obj::getch,"getch"); -}; - -Class Sys_obj::__mClass; - -void Sys_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Sys"), hx::TCanCast< Sys_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Sys_obj::__boot() -{ - get_env= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("get_env"),(int)1); - put_env= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("put_env"),(int)2); - _sleep= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_sleep"),(int)1); - set_time_locale= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("set_time_locale"),(int)1); - get_cwd= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("get_cwd"),(int)0); - set_cwd= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("set_cwd"),(int)1); - sys_string= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_string"),(int)0); - sys_command= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_command"),(int)1); - sys_exit= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_exit"),(int)1); - sys_time= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_time"),(int)0); - sys_cpu_time= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_cpu_time"),(int)0); - sys_exe_path= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_exe_path"),(int)0); - sys_env= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_env"),(int)0); - file_stdin= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_stdin"),(int)0); - file_stdout= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_stdout"),(int)0); - file_stderr= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_stderr"),(int)0); - getch= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_getch"),(int)1); -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Type.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Type.cpp deleted file mode 100644 index 08346b4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Type.cpp +++ /dev/null @@ -1,487 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_ValueType -#include -#endif - -Void Type_obj::__construct() -{ - return null(); -} - -Type_obj::~Type_obj() { } - -Dynamic Type_obj::__CreateEmpty() { return new Type_obj; } -hx::ObjectPtr< Type_obj > Type_obj::__new() -{ hx::ObjectPtr< Type_obj > result = new Type_obj(); - result->__construct(); - return result;} - -Dynamic Type_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Type_obj > result = new Type_obj(); - result->__construct(); - return result;} - -::Class Type_obj::getClass( Dynamic o){ - HX_STACK_PUSH("Type::getClass","/usr/lib/haxe/std/cpp/_std/Type.hx",39); - HX_STACK_ARG(o,"o"); - HX_STACK_LINE(40) - if (((bool((o == null())) || bool(!(::Reflect_obj::isObject(o)))))){ - HX_STACK_LINE(40) - return null(); - } - HX_STACK_LINE(41) - Dynamic c = o->__GetClass(); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(42) - ::String _switch_1 = (c->toString()); - if ( ( _switch_1==HX_CSTRING("__Anon"))){ - HX_STACK_LINE(44) - return null(); - } - else if ( ( _switch_1==HX_CSTRING("Class"))){ - HX_STACK_LINE(45) - return null(); - } - HX_STACK_LINE(47) - return c; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getClass,return ) - -::Enum Type_obj::getEnum( Dynamic o){ - HX_STACK_PUSH("Type::getEnum","/usr/lib/haxe/std/cpp/_std/Type.hx",50); - HX_STACK_ARG(o,"o"); - HX_STACK_LINE(51) - if (((o == null()))){ - HX_STACK_LINE(51) - return null(); - } - HX_STACK_LINE(52) - return o->__GetClass(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getEnum,return ) - -::Class Type_obj::getSuperClass( ::Class c){ - HX_STACK_PUSH("Type::getSuperClass","/usr/lib/haxe/std/cpp/_std/Type.hx",56); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(56) - return c->GetSuper(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getSuperClass,return ) - -::String Type_obj::getClassName( ::Class c){ - HX_STACK_PUSH("Type::getClassName","/usr/lib/haxe/std/cpp/_std/Type.hx",60); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(61) - if (((c == null()))){ - HX_STACK_LINE(62) - return null(); - } - HX_STACK_LINE(63) - return c->mName; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getClassName,return ) - -::String Type_obj::getEnumName( ::Enum e){ - HX_STACK_PUSH("Type::getEnumName","/usr/lib/haxe/std/cpp/_std/Type.hx",66); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(66) - return e->__ToString(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getEnumName,return ) - -::Class Type_obj::resolveClass( ::String name){ - HX_STACK_PUSH("Type::resolveClass","/usr/lib/haxe/std/cpp/_std/Type.hx",70); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(71) - ::Class result = ::Class_obj::Resolve(name); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(72) - if (((bool((result != null())) && bool(result->__IsEnum())))){ - HX_STACK_LINE(73) - return null(); - } - HX_STACK_LINE(74) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,resolveClass,return ) - -::Enum Type_obj::resolveEnum( ::String name){ - HX_STACK_PUSH("Type::resolveEnum","/usr/lib/haxe/std/cpp/_std/Type.hx",77); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(78) - ::Class result = ::Class_obj::Resolve(name); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(79) - if (((bool((result != null())) && bool(!(result->__IsEnum()))))){ - HX_STACK_LINE(80) - return null(); - } - HX_STACK_LINE(81) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,resolveEnum,return ) - -Dynamic Type_obj::createInstance( ::Class cl,Dynamic args){ - HX_STACK_PUSH("Type::createInstance","/usr/lib/haxe/std/cpp/_std/Type.hx",84); - HX_STACK_ARG(cl,"cl"); - HX_STACK_ARG(args,"args"); - HX_STACK_LINE(85) - if (((cl != null()))){ - HX_STACK_LINE(86) - return cl->mConstructArgs(args); - } - HX_STACK_LINE(87) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Type_obj,createInstance,return ) - -Dynamic Type_obj::createEmptyInstance( ::Class cl){ - HX_STACK_PUSH("Type::createEmptyInstance","/usr/lib/haxe/std/cpp/_std/Type.hx",90); - HX_STACK_ARG(cl,"cl"); - HX_STACK_LINE(90) - return cl->mConstructEmpty(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,createEmptyInstance,return ) - -Dynamic Type_obj::createEnum( ::Enum e,::String constr,Dynamic params){ - HX_STACK_PUSH("Type::createEnum","/usr/lib/haxe/std/cpp/_std/Type.hx",94); - HX_STACK_ARG(e,"e"); - HX_STACK_ARG(constr,"constr"); - HX_STACK_ARG(params,"params"); - HX_STACK_LINE(95) - if (((e->mConstructEnum != null()))){ - HX_STACK_LINE(96) - return e->mConstructEnum(constr,params); - } - HX_STACK_LINE(97) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Type_obj,createEnum,return ) - -Dynamic Type_obj::createEnumIndex( ::Enum e,int index,Dynamic params){ - HX_STACK_PUSH("Type::createEnumIndex","/usr/lib/haxe/std/cpp/_std/Type.hx",100); - HX_STACK_ARG(e,"e"); - HX_STACK_ARG(index,"index"); - HX_STACK_ARG(params,"params"); - HX_STACK_LINE(101) - ::String c = ::Type_obj::getEnumConstructs(e)->__get(index); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(102) - if (((c == null()))){ - HX_STACK_LINE(102) - hx::Throw ((index + HX_CSTRING(" is not a valid enum constructor index"))); - } - HX_STACK_LINE(103) - return ::Type_obj::createEnum(e,c,params); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Type_obj,createEnumIndex,return ) - -Array< ::String > Type_obj::getInstanceFields( ::Class c){ - HX_STACK_PUSH("Type::getInstanceFields","/usr/lib/haxe/std/cpp/_std/Type.hx",106); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(106) - return c->GetInstanceFields(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getInstanceFields,return ) - -Array< ::String > Type_obj::getClassFields( ::Class c){ - HX_STACK_PUSH("Type::getClassFields","/usr/lib/haxe/std/cpp/_std/Type.hx",110); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(110) - return c->GetClassFields(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getClassFields,return ) - -Array< ::String > Type_obj::getEnumConstructs( ::Enum e){ - HX_STACK_PUSH("Type::getEnumConstructs","/usr/lib/haxe/std/cpp/_std/Type.hx",114); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(114) - return e->GetClassFields(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getEnumConstructs,return ) - -::ValueType Type_obj::_typeof( Dynamic v){ - HX_STACK_PUSH("Type::typeof","/usr/lib/haxe/std/cpp/_std/Type.hx",118); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(119) - if (((v == null()))){ - HX_STACK_LINE(119) - return ::ValueType_obj::TNull_dyn(); - } - HX_STACK_LINE(120) - int t = v->__GetType(); HX_STACK_VAR(t,"t"); - HX_STACK_LINE(121) - int _switch_2 = (t); - if ( ( _switch_2==::vtBool)){ - HX_STACK_LINE(123) - return ::ValueType_obj::TBool_dyn(); - } - else if ( ( _switch_2==::vtInt)){ - HX_STACK_LINE(124) - return ::ValueType_obj::TInt_dyn(); - } - else if ( ( _switch_2==::vtFloat)){ - HX_STACK_LINE(125) - return ::ValueType_obj::TFloat_dyn(); - } - else if ( ( _switch_2==::vtFunction)){ - HX_STACK_LINE(126) - return ::ValueType_obj::TFunction_dyn(); - } - else if ( ( _switch_2==::vtObject)){ - HX_STACK_LINE(127) - return ::ValueType_obj::TObject_dyn(); - } - else if ( ( _switch_2==::vtEnum)){ - HX_STACK_LINE(128) - return ::ValueType_obj::TEnum(v->__GetClass()); - } - else { - HX_STACK_LINE(129) - return ::ValueType_obj::TClass(v->__GetClass()); - } -; -; - HX_STACK_LINE(121) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,_typeof,return ) - -bool Type_obj::enumEq( Dynamic a,Dynamic b){ - HX_STACK_PUSH("Type::enumEq","/usr/lib/haxe/std/cpp/_std/Type.hx",134); - HX_STACK_ARG(a,"a"); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(134) - return (a == b); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Type_obj,enumEq,return ) - -::String Type_obj::enumConstructor( Dynamic e){ - HX_STACK_PUSH("Type::enumConstructor","/usr/lib/haxe/std/cpp/_std/Type.hx",138); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(138) - return e->__Tag(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,enumConstructor,return ) - -Dynamic Type_obj::enumParameters( Dynamic e){ - HX_STACK_PUSH("Type::enumParameters","/usr/lib/haxe/std/cpp/_std/Type.hx",142); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(143) - Dynamic result = e->__EnumParams(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(144) - return ( (((result == null()))) ? Dynamic(Dynamic( Array_obj::__new())) : Dynamic(result) ); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,enumParameters,return ) - -int Type_obj::enumIndex( Dynamic e){ - HX_STACK_PUSH("Type::enumIndex","/usr/lib/haxe/std/cpp/_std/Type.hx",147); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(147) - return e->__Index(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,enumIndex,return ) - -Dynamic Type_obj::allEnums( ::Enum e){ - HX_STACK_PUSH("Type::allEnums","/usr/lib/haxe/std/cpp/_std/Type.hx",151); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(152) - Array< ::String > names = e->GetClassFields(); HX_STACK_VAR(names,"names"); - HX_STACK_LINE(153) - Dynamic enums = Dynamic( Array_obj::__new() ); HX_STACK_VAR(enums,"enums"); - HX_STACK_LINE(154) - { - HX_STACK_LINE(154) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(154) - while(((_g < names->length))){ - HX_STACK_LINE(154) - ::String name = names->__get(_g); HX_STACK_VAR(name,"name"); - HX_STACK_LINE(154) - ++(_g); - HX_STACK_LINE(156) - try{ - HX_STACK_LINE(157) - Dynamic result = e->mConstructEnum(name,null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(158) - enums->__Field(HX_CSTRING("push"),true)(result); - } - catch(Dynamic __e){ - if (__e.IsClass< ::String >() ){ - ::String invalidArgCount = __e;{ - } - } - else throw(__e); - } - } - } - HX_STACK_LINE(162) - return enums; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,allEnums,return ) - - -Type_obj::Type_obj() -{ -} - -void Type_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Type); - HX_MARK_END_CLASS(); -} - -void Type_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Type_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"typeof") ) { return _typeof_dyn(); } - if (HX_FIELD_EQ(inName,"enumEq") ) { return enumEq_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getEnum") ) { return getEnum_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"getClass") ) { return getClass_dyn(); } - if (HX_FIELD_EQ(inName,"allEnums") ) { return allEnums_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"enumIndex") ) { return enumIndex_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"createEnum") ) { return createEnum_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"getEnumName") ) { return getEnumName_dyn(); } - if (HX_FIELD_EQ(inName,"resolveEnum") ) { return resolveEnum_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"getClassName") ) { return getClassName_dyn(); } - if (HX_FIELD_EQ(inName,"resolveClass") ) { return resolveClass_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"getSuperClass") ) { return getSuperClass_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"createInstance") ) { return createInstance_dyn(); } - if (HX_FIELD_EQ(inName,"getClassFields") ) { return getClassFields_dyn(); } - if (HX_FIELD_EQ(inName,"enumParameters") ) { return enumParameters_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"createEnumIndex") ) { return createEnumIndex_dyn(); } - if (HX_FIELD_EQ(inName,"enumConstructor") ) { return enumConstructor_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"getInstanceFields") ) { return getInstanceFields_dyn(); } - if (HX_FIELD_EQ(inName,"getEnumConstructs") ) { return getEnumConstructs_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"createEmptyInstance") ) { return createEmptyInstance_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Type_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Type_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("getClass"), - HX_CSTRING("getEnum"), - HX_CSTRING("getSuperClass"), - HX_CSTRING("getClassName"), - HX_CSTRING("getEnumName"), - HX_CSTRING("resolveClass"), - HX_CSTRING("resolveEnum"), - HX_CSTRING("createInstance"), - HX_CSTRING("createEmptyInstance"), - HX_CSTRING("createEnum"), - HX_CSTRING("createEnumIndex"), - HX_CSTRING("getInstanceFields"), - HX_CSTRING("getClassFields"), - HX_CSTRING("getEnumConstructs"), - HX_CSTRING("typeof"), - HX_CSTRING("enumEq"), - HX_CSTRING("enumConstructor"), - HX_CSTRING("enumParameters"), - HX_CSTRING("enumIndex"), - HX_CSTRING("allEnums"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Type_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Type_obj::__mClass,"__mClass"); -}; - -Class Type_obj::__mClass; - -void Type_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Type"), hx::TCanCast< Type_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Type_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ValueType.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ValueType.cpp deleted file mode 100644 index e35d9d7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ValueType.cpp +++ /dev/null @@ -1,132 +0,0 @@ -#include - -#ifndef INCLUDED_ValueType -#include -#endif - -::ValueType ValueType_obj::TBool; - -::ValueType ValueType_obj::TClass(::Class c) - { return hx::CreateEnum< ValueType_obj >(HX_CSTRING("TClass"),6,hx::DynamicArray(0,1).Add(c)); } - -::ValueType ValueType_obj::TEnum(::Enum e) - { return hx::CreateEnum< ValueType_obj >(HX_CSTRING("TEnum"),7,hx::DynamicArray(0,1).Add(e)); } - -::ValueType ValueType_obj::TFloat; - -::ValueType ValueType_obj::TFunction; - -::ValueType ValueType_obj::TInt; - -::ValueType ValueType_obj::TNull; - -::ValueType ValueType_obj::TObject; - -::ValueType ValueType_obj::TUnknown; - -HX_DEFINE_CREATE_ENUM(ValueType_obj) - -int ValueType_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("TBool")) return 3; - if (inName==HX_CSTRING("TClass")) return 6; - if (inName==HX_CSTRING("TEnum")) return 7; - if (inName==HX_CSTRING("TFloat")) return 2; - if (inName==HX_CSTRING("TFunction")) return 5; - if (inName==HX_CSTRING("TInt")) return 1; - if (inName==HX_CSTRING("TNull")) return 0; - if (inName==HX_CSTRING("TObject")) return 4; - if (inName==HX_CSTRING("TUnknown")) return 8; - return super::__FindIndex(inName); -} - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ValueType_obj,TClass,return) - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ValueType_obj,TEnum,return) - -int ValueType_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("TBool")) return 0; - if (inName==HX_CSTRING("TClass")) return 1; - if (inName==HX_CSTRING("TEnum")) return 1; - if (inName==HX_CSTRING("TFloat")) return 0; - if (inName==HX_CSTRING("TFunction")) return 0; - if (inName==HX_CSTRING("TInt")) return 0; - if (inName==HX_CSTRING("TNull")) return 0; - if (inName==HX_CSTRING("TObject")) return 0; - if (inName==HX_CSTRING("TUnknown")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic ValueType_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("TBool")) return TBool; - if (inName==HX_CSTRING("TClass")) return TClass_dyn(); - if (inName==HX_CSTRING("TEnum")) return TEnum_dyn(); - if (inName==HX_CSTRING("TFloat")) return TFloat; - if (inName==HX_CSTRING("TFunction")) return TFunction; - if (inName==HX_CSTRING("TInt")) return TInt; - if (inName==HX_CSTRING("TNull")) return TNull; - if (inName==HX_CSTRING("TObject")) return TObject; - if (inName==HX_CSTRING("TUnknown")) return TUnknown; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("TNull"), - HX_CSTRING("TInt"), - HX_CSTRING("TFloat"), - HX_CSTRING("TBool"), - HX_CSTRING("TObject"), - HX_CSTRING("TFunction"), - HX_CSTRING("TClass"), - HX_CSTRING("TEnum"), - HX_CSTRING("TUnknown"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ValueType_obj::TBool,"TBool"); - HX_MARK_MEMBER_NAME(ValueType_obj::TFloat,"TFloat"); - HX_MARK_MEMBER_NAME(ValueType_obj::TFunction,"TFunction"); - HX_MARK_MEMBER_NAME(ValueType_obj::TInt,"TInt"); - HX_MARK_MEMBER_NAME(ValueType_obj::TNull,"TNull"); - HX_MARK_MEMBER_NAME(ValueType_obj::TObject,"TObject"); - HX_MARK_MEMBER_NAME(ValueType_obj::TUnknown,"TUnknown"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ValueType_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TBool,"TBool"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TFloat,"TFloat"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TFunction,"TFunction"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TInt,"TInt"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TNull,"TNull"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TObject,"TObject"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TUnknown,"TUnknown"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class ValueType_obj::__mClass; - -Dynamic __Create_ValueType_obj() { return new ValueType_obj; } - -void ValueType_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("ValueType"), hx::TCanCast< ValueType_obj >,sStaticFields,sMemberFields, - &__Create_ValueType_obj, &__Create, - &super::__SGetClass(), &CreateValueType_obj, sMarkStatics, sVisitStatic); -} - -void ValueType_obj::__boot() -{ -Static(TBool) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TBool"),3); -Static(TFloat) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TFloat"),2); -Static(TFunction) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TFunction"),5); -Static(TInt) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TInt"),1); -Static(TNull) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TNull"),0); -Static(TObject) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TObject"),4); -Static(TUnknown) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TUnknown"),8); -} - - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Xml.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Xml.cpp deleted file mode 100644 index 86d9691..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/Xml.cpp +++ /dev/null @@ -1,1297 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_StringBuf -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_XmlType -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif - -Void Xml_obj::__construct() -{ -HX_STACK_PUSH("Xml::new","/usr/lib/haxe/std/cpp/_std/Xml.hx",45); -{ -} -; - return null(); -} - -Xml_obj::~Xml_obj() { } - -Dynamic Xml_obj::__CreateEmpty() { return new Xml_obj; } -hx::ObjectPtr< Xml_obj > Xml_obj::__new() -{ hx::ObjectPtr< Xml_obj > result = new Xml_obj(); - result->__construct(); - return result;} - -Dynamic Xml_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Xml_obj > result = new Xml_obj(); - result->__construct(); - return result;} - -void Xml_obj::__init__() { -HX_STACK_PUSH("Xml::__init__","/usr/lib/haxe/std/cpp/_std/Xml.hx",407); -{ - HX_STACK_LINE(408) - ::Xml_obj::PCData = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(409) - ::Xml_obj::Element = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(410) - ::Xml_obj::CData = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(411) - ::Xml_obj::Comment = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(412) - ::Xml_obj::DocType = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(413) - ::Xml_obj::Prolog = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(414) - ::Xml_obj::Document = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(415) - ::__hxcpp_enum_force(::Xml_obj::PCData,HX_CSTRING("pcdata"),(int)0); - HX_STACK_LINE(416) - ::__hxcpp_enum_force(::Xml_obj::Element,HX_CSTRING("element"),(int)1); - HX_STACK_LINE(417) - ::__hxcpp_enum_force(::Xml_obj::CData,HX_CSTRING("cdata"),(int)2); - HX_STACK_LINE(418) - ::__hxcpp_enum_force(::Xml_obj::Comment,HX_CSTRING("comment"),(int)3); - HX_STACK_LINE(419) - ::__hxcpp_enum_force(::Xml_obj::DocType,HX_CSTRING("doctype"),(int)4); - HX_STACK_LINE(420) - ::__hxcpp_enum_force(::Xml_obj::Prolog,HX_CSTRING("prolog"),(int)5); - HX_STACK_LINE(421) - ::__hxcpp_enum_force(::Xml_obj::Document,HX_CSTRING("document"),(int)6); -} -} - -Void Xml_obj::toStringRec( ::StringBuf s){ -{ - HX_STACK_PUSH("Xml::toStringRec","/usr/lib/haxe/std/cpp/_std/Xml.hx",358); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(358) - ::XmlType _switch_1 = (this->nodeType); - if ( ( _switch_1==::Xml_obj::Document)){ - HX_STACK_LINE(361) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::Xml > _g1 = this->_children; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(361) - while(((_g < _g1->length))){ - HX_STACK_LINE(361) - ::Xml x = _g1->__get(_g); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(361) - ++(_g); - HX_STACK_LINE(362) - x->toStringRec(s); - } - } - else if ( ( _switch_1==::Xml_obj::Element)){ - HX_STACK_LINE(364) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)60); - HX_STACK_LINE(365) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = this->_nodeName; - HX_STACK_LINE(366) - { - HX_STACK_LINE(366) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::String > _g1 = ::Reflect_obj::fields(this->_attributes); HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(366) - while(((_g < _g1->length))){ - HX_STACK_LINE(366) - ::String k = _g1->__get(_g); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(366) - ++(_g); - HX_STACK_LINE(367) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)32); - HX_STACK_LINE(368) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = k; - HX_STACK_LINE(369) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)61); - HX_STACK_LINE(370) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)34); - HX_STACK_LINE(371) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::Reflect_obj::field(this->_attributes,k); - HX_STACK_LINE(372) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)34); - } - } - HX_STACK_LINE(374) - if (((this->_children->length == (int)0))){ - HX_STACK_LINE(375) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)47); - HX_STACK_LINE(376) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)62); - HX_STACK_LINE(377) - return null(); - } - HX_STACK_LINE(379) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)62); - HX_STACK_LINE(380) - { - HX_STACK_LINE(380) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::Xml > _g1 = this->_children; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(380) - while(((_g < _g1->length))){ - HX_STACK_LINE(380) - ::Xml x = _g1->__get(_g); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(380) - ++(_g); - HX_STACK_LINE(381) - x->toStringRec(s); - } - } - HX_STACK_LINE(382) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)60); - HX_STACK_LINE(383) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)47); - HX_STACK_LINE(384) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = this->_nodeName; - HX_STACK_LINE(385) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)62); - } - else if ( ( _switch_1==::Xml_obj::PCData)){ - HX_STACK_LINE(386) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = this->_nodeValue; - } - else if ( ( _switch_1==::Xml_obj::CData)){ - HX_STACK_LINE(389) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = this->_nodeValue; - HX_STACK_LINE(391) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("]]>"); - } - else if ( ( _switch_1==::Xml_obj::Comment)){ - HX_STACK_LINE(393) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(""); - } - else if ( ( _switch_1==::Xml_obj::DocType)){ - HX_STACK_LINE(397) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = this->_nodeValue; - HX_STACK_LINE(399) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(">"); - } - else if ( ( _switch_1==::Xml_obj::Prolog)){ - HX_STACK_LINE(401) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = this->_nodeValue; - HX_STACK_LINE(403) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("?>"); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,toStringRec,(void)) - -::String Xml_obj::toString( ){ - HX_STACK_PUSH("Xml::toString","/usr/lib/haxe/std/cpp/_std/Xml.hx",352); - HX_STACK_THIS(this); - HX_STACK_LINE(353) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(354) - this->toStringRec(s); - HX_STACK_LINE(355) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,toString,return ) - -Void Xml_obj::insertChild( ::Xml x,int pos){ -{ - HX_STACK_PUSH("Xml::insertChild","/usr/lib/haxe/std/cpp/_std/Xml.hx",343); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(344) - if (((this->_children == null()))){ - HX_STACK_LINE(345) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(346) - if (((x->_parent != null()))){ - HX_STACK_LINE(346) - x->_parent->_children->remove(x); - } - HX_STACK_LINE(347) - x->_parent = hx::ObjectPtr(this); - HX_STACK_LINE(348) - this->_children->insert(pos,x); - HX_STACK_LINE(349) - return null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Xml_obj,insertChild,(void)) - -bool Xml_obj::removeChild( ::Xml x){ - HX_STACK_PUSH("Xml::removeChild","/usr/lib/haxe/std/cpp/_std/Xml.hx",335); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(336) - if (((this->_children == null()))){ - HX_STACK_LINE(337) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(338) - bool b = this->_children->remove(x); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(339) - if ((b)){ - HX_STACK_LINE(339) - x->_parent = null(); - } - HX_STACK_LINE(340) - return b; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,removeChild,return ) - -Void Xml_obj::addChild( ::Xml x){ -{ - HX_STACK_PUSH("Xml::addChild","/usr/lib/haxe/std/cpp/_std/Xml.hx",326); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(327) - if (((this->_children == null()))){ - HX_STACK_LINE(328) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(329) - if (((x->_parent != null()))){ - HX_STACK_LINE(329) - x->_parent->_children->remove(x); - } - HX_STACK_LINE(330) - x->_parent = hx::ObjectPtr(this); - HX_STACK_LINE(331) - this->_children->push(x); - HX_STACK_LINE(332) - return null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,addChild,(void)) - -::Xml Xml_obj::firstElement( ){ - HX_STACK_PUSH("Xml::firstElement","/usr/lib/haxe/std/cpp/_std/Xml.hx",315); - HX_STACK_THIS(this); - HX_STACK_LINE(316) - if (((this->_children == null()))){ - HX_STACK_LINE(317) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(318) - { - HX_STACK_LINE(318) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->_children->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(318) - while(((_g1 < _g))){ - HX_STACK_LINE(318) - int cur = (_g1)++; HX_STACK_VAR(cur,"cur"); - HX_STACK_LINE(319) - ::Xml n = this->_children->__get(cur); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(320) - if (((n->nodeType == ::Xml_obj::Element))){ - HX_STACK_LINE(321) - return n; - } - } - } - HX_STACK_LINE(323) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,firstElement,return ) - -::Xml Xml_obj::firstChild( ){ - HX_STACK_PUSH("Xml::firstChild","/usr/lib/haxe/std/cpp/_std/Xml.hx",309); - HX_STACK_THIS(this); - HX_STACK_LINE(310) - if (((this->_children == null()))){ - HX_STACK_LINE(311) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(312) - return this->_children->__get((int)0); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,firstChild,return ) - -Dynamic Xml_obj::elementsNamed( ::String name){ - HX_STACK_PUSH("Xml::elementsNamed","/usr/lib/haxe/std/cpp/_std/Xml.hx",275); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(275) - Array< ::String > name1 = Array_obj< ::String >::__new().Add(name); HX_STACK_VAR(name1,"name1"); - HX_STACK_LINE(276) - if (((this->_children == null()))){ - HX_STACK_LINE(277) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(278) - Array< Array< ::Xml > > children = Array_obj< Array< ::Xml > >::__new().Add(this->_children); HX_STACK_VAR(children,"children"); - struct _Function_1_1{ - inline static Dynamic Block( Array< Array< ::Xml > > &children,Array< ::String > &name1){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Xml.hx",279); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("cur") , (int)0,false); - - HX_BEGIN_LOCAL_FUNC_S2(hx::LocalThisFunc,_Function_2_1,Array< Array< ::Xml > >,children,Array< ::String >,name1) - bool run(){ - HX_STACK_PUSH("*::_Function_2_1","/usr/lib/haxe/std/cpp/_std/Xml.hx",281); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(282) - int k = __this->__Field(HX_CSTRING("cur"),true); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(283) - int l = children->__get((int)0)->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(284) - while(((k < l))){ - HX_STACK_LINE(285) - ::Xml n = children->__get((int)0)->__get(k); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(286) - if (((bool((n->nodeType == ::Xml_obj::Element)) && bool((n->_nodeName == name1->__get((int)0)))))){ - HX_STACK_LINE(287) - break; - } - HX_STACK_LINE(288) - (k)++; - } - HX_STACK_LINE(290) - __this->__FieldRef(HX_CSTRING("cur")) = k; - HX_STACK_LINE(291) - return (k < l); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("hasNext") , Dynamic(new _Function_2_1(children,name1)),true); - - HX_BEGIN_LOCAL_FUNC_S2(hx::LocalThisFunc,_Function_2_2,Array< Array< ::Xml > >,children,Array< ::String >,name1) - ::Xml run(){ - HX_STACK_PUSH("*::_Function_2_2","/usr/lib/haxe/std/cpp/_std/Xml.hx",293); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(294) - int k = __this->__Field(HX_CSTRING("cur"),true); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(295) - int l = children->__get((int)0)->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(296) - while(((k < l))){ - HX_STACK_LINE(297) - ::Xml n = children->__get((int)0)->__get(k); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(298) - (k)++; - HX_STACK_LINE(299) - if (((bool((n->nodeType == ::Xml_obj::Element)) && bool((n->_nodeName == name1->__get((int)0)))))){ - HX_STACK_LINE(300) - __this->__FieldRef(HX_CSTRING("cur")) = k; - HX_STACK_LINE(301) - return n; - } - } - HX_STACK_LINE(304) - return null(); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("next") , Dynamic(new _Function_2_2(children,name1)),true); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(279) - return _Function_1_1::Block(children,name1); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,elementsNamed,return ) - -Dynamic Xml_obj::elements( ){ - HX_STACK_PUSH("Xml::elements","/usr/lib/haxe/std/cpp/_std/Xml.hx",242); - HX_STACK_THIS(this); - HX_STACK_LINE(243) - if (((this->_children == null()))){ - HX_STACK_LINE(244) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(245) - Array< Array< ::Xml > > children = Array_obj< Array< ::Xml > >::__new().Add(this->_children); HX_STACK_VAR(children,"children"); - struct _Function_1_1{ - inline static Dynamic Block( Array< Array< ::Xml > > &children){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Xml.hx",246); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("cur") , (int)0,false); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalThisFunc,_Function_2_1,Array< Array< ::Xml > >,children) - bool run(){ - HX_STACK_PUSH("*::_Function_2_1","/usr/lib/haxe/std/cpp/_std/Xml.hx",248); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(249) - int k = __this->__Field(HX_CSTRING("cur"),true); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(250) - int l = children->__get((int)0)->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(251) - while(((k < l))){ - HX_STACK_LINE(252) - if (((children->__get((int)0)->__get(k)->nodeType == ::Xml_obj::Element))){ - HX_STACK_LINE(253) - break; - } - HX_STACK_LINE(254) - hx::AddEq(k,(int)1); - } - HX_STACK_LINE(256) - __this->__FieldRef(HX_CSTRING("cur")) = k; - HX_STACK_LINE(257) - return (k < l); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("hasNext") , Dynamic(new _Function_2_1(children)),true); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalThisFunc,_Function_2_2,Array< Array< ::Xml > >,children) - ::Xml run(){ - HX_STACK_PUSH("*::_Function_2_2","/usr/lib/haxe/std/cpp/_std/Xml.hx",259); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(260) - int k = __this->__Field(HX_CSTRING("cur"),true); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(261) - int l = children->__get((int)0)->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(262) - while(((k < l))){ - HX_STACK_LINE(263) - ::Xml n = children->__get((int)0)->__get(k); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(264) - hx::AddEq(k,(int)1); - HX_STACK_LINE(265) - if (((n->nodeType == ::Xml_obj::Element))){ - HX_STACK_LINE(266) - __this->__FieldRef(HX_CSTRING("cur")) = k; - HX_STACK_LINE(267) - return n; - } - } - HX_STACK_LINE(270) - return null(); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("next") , Dynamic(new _Function_2_2(children)),true); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(246) - return _Function_1_1::Block(children); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,elements,return ) - -Dynamic Xml_obj::iterator( ){ - HX_STACK_PUSH("Xml::iterator","/usr/lib/haxe/std/cpp/_std/Xml.hx",235); - HX_STACK_THIS(this); - HX_STACK_LINE(236) - if (((this->_children == null()))){ - HX_STACK_LINE(237) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(238) - return this->_children->iterator(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,iterator,return ) - -Dynamic Xml_obj::attributes( ){ - HX_STACK_PUSH("Xml::attributes","/usr/lib/haxe/std/cpp/_std/Xml.hx",229); - HX_STACK_THIS(this); - HX_STACK_LINE(230) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(231) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(232) - return ::Reflect_obj::fields(this->_attributes)->iterator(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,attributes,return ) - -bool Xml_obj::exists( ::String att){ - HX_STACK_PUSH("Xml::exists","/usr/lib/haxe/std/cpp/_std/Xml.hx",223); - HX_STACK_THIS(this); - HX_STACK_ARG(att,"att"); - HX_STACK_LINE(224) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(225) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(226) - return ::Reflect_obj::hasField(this->_attributes,att); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,exists,return ) - -Void Xml_obj::remove( ::String att){ -{ - HX_STACK_PUSH("Xml::remove","/usr/lib/haxe/std/cpp/_std/Xml.hx",216); - HX_STACK_THIS(this); - HX_STACK_ARG(att,"att"); - HX_STACK_LINE(217) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(218) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(219) - ::Reflect_obj::deleteField(this->_attributes,att); - HX_STACK_LINE(220) - return null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,remove,(void)) - -Void Xml_obj::set( ::String att,::String value){ -{ - HX_STACK_PUSH("Xml::set","/usr/lib/haxe/std/cpp/_std/Xml.hx",207); - HX_STACK_THIS(this); - HX_STACK_ARG(att,"att"); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(208) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(209) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(210) - if (((this->_attributes == null()))){ - struct _Function_2_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Xml.hx",211); - { - hx::Anon __result = hx::Anon_obj::Create(); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(211) - this->_attributes = _Function_2_1::Block(); - } - HX_STACK_LINE(212) - { - HX_STACK_LINE(212) - Dynamic o = this->_attributes; HX_STACK_VAR(o,"o"); - HX_STACK_LINE(212) - if (((o != null()))){ - HX_STACK_LINE(212) - o->__SetField(att,value,false); - } - } - HX_STACK_LINE(213) - return null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Xml_obj,set,(void)) - -::String Xml_obj::get( ::String att){ - HX_STACK_PUSH("Xml::get","/usr/lib/haxe/std/cpp/_std/Xml.hx",201); - HX_STACK_THIS(this); - HX_STACK_ARG(att,"att"); - HX_STACK_LINE(202) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(203) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(204) - return ::Reflect_obj::field(this->_attributes,att); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,get,return ) - -::Xml Xml_obj::getParent( ){ - HX_STACK_PUSH("Xml::getParent","/usr/lib/haxe/std/cpp/_std/Xml.hx",197); - HX_STACK_THIS(this); - HX_STACK_LINE(197) - return this->_parent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,getParent,return ) - -::String Xml_obj::setNodeValue( ::String v){ - HX_STACK_PUSH("Xml::setNodeValue","/usr/lib/haxe/std/cpp/_std/Xml.hx",190); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(191) - if (((bool((this->nodeType == ::Xml_obj::Element)) || bool((this->nodeType == ::Xml_obj::Document))))){ - HX_STACK_LINE(192) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(193) - return this->_nodeValue = v; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,setNodeValue,return ) - -::String Xml_obj::getNodeValue( ){ - HX_STACK_PUSH("Xml::getNodeValue","/usr/lib/haxe/std/cpp/_std/Xml.hx",184); - HX_STACK_THIS(this); - HX_STACK_LINE(185) - if (((bool((this->nodeType == ::Xml_obj::Element)) || bool((this->nodeType == ::Xml_obj::Document))))){ - HX_STACK_LINE(186) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(187) - return this->_nodeValue; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,getNodeValue,return ) - -::String Xml_obj::setNodeName( ::String n){ - HX_STACK_PUSH("Xml::setNodeName","/usr/lib/haxe/std/cpp/_std/Xml.hx",178); - HX_STACK_THIS(this); - HX_STACK_ARG(n,"n"); - HX_STACK_LINE(179) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(180) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(181) - return this->_nodeName = n; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,setNodeName,return ) - -::String Xml_obj::getNodeName( ){ - HX_STACK_PUSH("Xml::getNodeName","/usr/lib/haxe/std/cpp/_std/Xml.hx",172); - HX_STACK_THIS(this); - HX_STACK_LINE(173) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(174) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(175) - return this->_nodeName; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,getNodeName,return ) - -::XmlType Xml_obj::Element; - -::XmlType Xml_obj::PCData; - -::XmlType Xml_obj::CData; - -::XmlType Xml_obj::Comment; - -::XmlType Xml_obj::DocType; - -::XmlType Xml_obj::Prolog; - -::XmlType Xml_obj::Document; - -Dynamic Xml_obj::_parse; - -::Xml Xml_obj::parse( ::String str){ - HX_STACK_PUSH("Xml::parse","/usr/lib/haxe/std/cpp/_std/Xml.hx",50); - HX_STACK_ARG(str,"str"); - HX_STACK_LINE(51) - ::Xml x = ::Xml_obj::__new(); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(52) - x->_children = Array_obj< ::Xml >::__new(); - struct _Function_1_1{ - inline static Dynamic Block( ::Xml &x){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Xml.hx",53); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("cur") , x,false); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_1) - Void run(::String name,Dynamic att){ - HX_STACK_PUSH("*::_Function_2_1","/usr/lib/haxe/std/cpp/_std/Xml.hx",55); - HX_STACK_THIS(__this.mPtr); - HX_STACK_ARG(name,"name"); - HX_STACK_ARG(att,"att"); - { - HX_STACK_LINE(56) - ::Xml x1 = ::Xml_obj::__new(); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(57) - x1->_parent = __this->__Field(HX_CSTRING("cur"),true); - HX_STACK_LINE(58) - x1->nodeType = ::Xml_obj::Element; - HX_STACK_LINE(59) - x1->_nodeName = ::String(name); - HX_STACK_LINE(60) - x1->_attributes = att; - HX_STACK_LINE(61) - x1->_children = Array_obj< ::Xml >::__new(); - HX_STACK_LINE(62) - { - HX_STACK_LINE(63) - int i = (int)0; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(64) - __this->__Field(HX_CSTRING("cur"),true)->__Field(HX_CSTRING("addChild"),true)(x1); - HX_STACK_LINE(65) - __this->__FieldRef(HX_CSTRING("cur")) = x1; - } - } - return null(); - } - HX_END_LOCAL_FUNC2((void)) - - __result->Add(HX_CSTRING("xml") , Dynamic(new _Function_2_1()),true); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_2) - Void run(::String text){ - HX_STACK_PUSH("*::_Function_2_2","/usr/lib/haxe/std/cpp/_std/Xml.hx",68); - HX_STACK_THIS(__this.mPtr); - HX_STACK_ARG(text,"text"); - { - HX_STACK_LINE(69) - ::Xml x1 = ::Xml_obj::__new(); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(70) - x1->_parent = __this->__Field(HX_CSTRING("cur"),true); - HX_STACK_LINE(71) - x1->nodeType = ::Xml_obj::CData; - HX_STACK_LINE(72) - x1->_nodeValue = ::String(text); - HX_STACK_LINE(73) - __this->__Field(HX_CSTRING("cur"),true)->__Field(HX_CSTRING("addChild"),true)(x1); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - __result->Add(HX_CSTRING("cdata") , Dynamic(new _Function_2_2()),true); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_3) - Void run(::String text){ - HX_STACK_PUSH("*::_Function_2_3","/usr/lib/haxe/std/cpp/_std/Xml.hx",75); - HX_STACK_THIS(__this.mPtr); - HX_STACK_ARG(text,"text"); - { - HX_STACK_LINE(76) - ::Xml x1 = ::Xml_obj::__new(); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(77) - x1->_parent = __this->__Field(HX_CSTRING("cur"),true); - HX_STACK_LINE(78) - x1->nodeType = ::Xml_obj::PCData; - HX_STACK_LINE(79) - x1->_nodeValue = ::String(text); - HX_STACK_LINE(80) - __this->__Field(HX_CSTRING("cur"),true)->__Field(HX_CSTRING("addChild"),true)(x1); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - __result->Add(HX_CSTRING("pcdata") , Dynamic(new _Function_2_3()),true); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_4) - Void run(::String text){ - HX_STACK_PUSH("*::_Function_2_4","/usr/lib/haxe/std/cpp/_std/Xml.hx",82); - HX_STACK_THIS(__this.mPtr); - HX_STACK_ARG(text,"text"); - { - HX_STACK_LINE(83) - ::Xml x1 = ::Xml_obj::__new(); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(84) - x1->_parent = __this->__Field(HX_CSTRING("cur"),true); - HX_STACK_LINE(85) - if (((text.cca((int)0) == (int)63))){ - HX_STACK_LINE(86) - x1->nodeType = ::Xml_obj::Prolog; - HX_STACK_LINE(87) - text = ::String(text); - HX_STACK_LINE(88) - text = text.substr((int)1,(text.length - (int)2)); - } - else{ - HX_STACK_LINE(90) - x1->nodeType = ::Xml_obj::Comment; - HX_STACK_LINE(91) - text = ::String(text); - } - HX_STACK_LINE(93) - x1->_nodeValue = text; - HX_STACK_LINE(94) - __this->__Field(HX_CSTRING("cur"),true)->__Field(HX_CSTRING("addChild"),true)(x1); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - __result->Add(HX_CSTRING("comment") , Dynamic(new _Function_2_4()),true); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_5) - Void run(::String text){ - HX_STACK_PUSH("*::_Function_2_5","/usr/lib/haxe/std/cpp/_std/Xml.hx",96); - HX_STACK_THIS(__this.mPtr); - HX_STACK_ARG(text,"text"); - { - HX_STACK_LINE(97) - ::Xml x1 = ::Xml_obj::__new(); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(98) - x1->_parent = __this->__Field(HX_CSTRING("cur"),true); - HX_STACK_LINE(99) - x1->nodeType = ::Xml_obj::DocType; - HX_STACK_LINE(100) - x1->_nodeValue = ::String(text).substr((int)1,null()); - HX_STACK_LINE(101) - ::Xml p = __this->__Field(HX_CSTRING("cur"),true); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(102) - p->addChild(x1); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - __result->Add(HX_CSTRING("doctype") , Dynamic(new _Function_2_5()),true); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_6) - Void run(){ - HX_STACK_PUSH("*::_Function_2_6","/usr/lib/haxe/std/cpp/_std/Xml.hx",104); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(104) - __this->__FieldRef(HX_CSTRING("cur")) = __this->__Field(HX_CSTRING("cur"),true)->__Field(HX_CSTRING("_parent"),true); - } - return null(); - } - HX_END_LOCAL_FUNC0((void)) - - __result->Add(HX_CSTRING("done") , Dynamic(new _Function_2_6()),true); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(53) - Dynamic parser = _Function_1_1::Block(x); HX_STACK_VAR(parser,"parser"); - HX_STACK_LINE(108) - ::Xml_obj::_parse(str,parser); - HX_STACK_LINE(109) - x->nodeType = ::Xml_obj::Document; - HX_STACK_LINE(110) - return x; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,parse,return ) - -::Xml Xml_obj::createElement( ::String name){ - HX_STACK_PUSH("Xml::createElement","/usr/lib/haxe/std/cpp/_std/Xml.hx",114); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(115) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(116) - r->nodeType = ::Xml_obj::Element; - HX_STACK_LINE(117) - r->_nodeName = name; - HX_STACK_LINE(118) - r->_attributes = null(); - HX_STACK_LINE(119) - r->_children = Array_obj< ::Xml >::__new(); - HX_STACK_LINE(120) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,createElement,return ) - -::Xml Xml_obj::createPCData( ::String data){ - HX_STACK_PUSH("Xml::createPCData","/usr/lib/haxe/std/cpp/_std/Xml.hx",123); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(124) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(125) - r->nodeType = ::Xml_obj::PCData; - HX_STACK_LINE(126) - r->_nodeValue = data; - HX_STACK_LINE(127) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,createPCData,return ) - -::Xml Xml_obj::createCData( ::String data){ - HX_STACK_PUSH("Xml::createCData","/usr/lib/haxe/std/cpp/_std/Xml.hx",130); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(131) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(132) - r->nodeType = ::Xml_obj::CData; - HX_STACK_LINE(133) - r->_nodeValue = data; - HX_STACK_LINE(134) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,createCData,return ) - -::Xml Xml_obj::createComment( ::String data){ - HX_STACK_PUSH("Xml::createComment","/usr/lib/haxe/std/cpp/_std/Xml.hx",137); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(138) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(139) - r->nodeType = ::Xml_obj::Comment; - HX_STACK_LINE(140) - r->_nodeValue = data; - HX_STACK_LINE(141) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,createComment,return ) - -::Xml Xml_obj::createDocType( ::String data){ - HX_STACK_PUSH("Xml::createDocType","/usr/lib/haxe/std/cpp/_std/Xml.hx",144); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(145) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(146) - r->nodeType = ::Xml_obj::DocType; - HX_STACK_LINE(147) - r->_nodeValue = data; - HX_STACK_LINE(148) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,createDocType,return ) - -::Xml Xml_obj::createProlog( ::String data){ - HX_STACK_PUSH("Xml::createProlog","/usr/lib/haxe/std/cpp/_std/Xml.hx",151); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(152) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(153) - r->nodeType = ::Xml_obj::Prolog; - HX_STACK_LINE(154) - r->_nodeValue = data; - HX_STACK_LINE(155) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,createProlog,return ) - -::Xml Xml_obj::createDocument( ){ - HX_STACK_PUSH("Xml::createDocument","/usr/lib/haxe/std/cpp/_std/Xml.hx",158); - HX_STACK_LINE(159) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(160) - r->nodeType = ::Xml_obj::Document; - HX_STACK_LINE(161) - r->_children = Array_obj< ::Xml >::__new(); - HX_STACK_LINE(162) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,createDocument,return ) - - -Xml_obj::Xml_obj() -{ -} - -void Xml_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Xml); - HX_MARK_MEMBER_NAME(parent,"parent"); - HX_MARK_MEMBER_NAME(nodeValue,"nodeValue"); - HX_MARK_MEMBER_NAME(nodeName,"nodeName"); - HX_MARK_MEMBER_NAME(nodeType,"nodeType"); - HX_MARK_MEMBER_NAME(_parent,"_parent"); - HX_MARK_MEMBER_NAME(_children,"_children"); - HX_MARK_MEMBER_NAME(_attributes,"_attributes"); - HX_MARK_MEMBER_NAME(_nodeValue,"_nodeValue"); - HX_MARK_MEMBER_NAME(_nodeName,"_nodeName"); - HX_MARK_END_CLASS(); -} - -void Xml_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(parent,"parent"); - HX_VISIT_MEMBER_NAME(nodeValue,"nodeValue"); - HX_VISIT_MEMBER_NAME(nodeName,"nodeName"); - HX_VISIT_MEMBER_NAME(nodeType,"nodeType"); - HX_VISIT_MEMBER_NAME(_parent,"_parent"); - HX_VISIT_MEMBER_NAME(_children,"_children"); - HX_VISIT_MEMBER_NAME(_attributes,"_attributes"); - HX_VISIT_MEMBER_NAME(_nodeValue,"_nodeValue"); - HX_VISIT_MEMBER_NAME(_nodeName,"_nodeName"); -} - -Dynamic Xml_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"set") ) { return set_dyn(); } - if (HX_FIELD_EQ(inName,"get") ) { return get_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"CData") ) { return CData; } - if (HX_FIELD_EQ(inName,"parse") ) { return parse_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"PCData") ) { return PCData; } - if (HX_FIELD_EQ(inName,"Prolog") ) { return Prolog; } - if (HX_FIELD_EQ(inName,"_parse") ) { return _parse; } - if (HX_FIELD_EQ(inName,"exists") ) { return exists_dyn(); } - if (HX_FIELD_EQ(inName,"remove") ) { return remove_dyn(); } - if (HX_FIELD_EQ(inName,"parent") ) { return inCallProp ? getParent() : parent; } - break; - case 7: - if (HX_FIELD_EQ(inName,"Element") ) { return Element; } - if (HX_FIELD_EQ(inName,"Comment") ) { return Comment; } - if (HX_FIELD_EQ(inName,"DocType") ) { return DocType; } - if (HX_FIELD_EQ(inName,"_parent") ) { return _parent; } - break; - case 8: - if (HX_FIELD_EQ(inName,"Document") ) { return Document; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"addChild") ) { return addChild_dyn(); } - if (HX_FIELD_EQ(inName,"elements") ) { return elements_dyn(); } - if (HX_FIELD_EQ(inName,"iterator") ) { return iterator_dyn(); } - if (HX_FIELD_EQ(inName,"nodeName") ) { return inCallProp ? getNodeName() : nodeName; } - if (HX_FIELD_EQ(inName,"nodeType") ) { return nodeType; } - break; - case 9: - if (HX_FIELD_EQ(inName,"getParent") ) { return getParent_dyn(); } - if (HX_FIELD_EQ(inName,"nodeValue") ) { return inCallProp ? getNodeValue() : nodeValue; } - if (HX_FIELD_EQ(inName,"_children") ) { return _children; } - if (HX_FIELD_EQ(inName,"_nodeName") ) { return _nodeName; } - break; - case 10: - if (HX_FIELD_EQ(inName,"firstChild") ) { return firstChild_dyn(); } - if (HX_FIELD_EQ(inName,"attributes") ) { return attributes_dyn(); } - if (HX_FIELD_EQ(inName,"_nodeValue") ) { return _nodeValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"createCData") ) { return createCData_dyn(); } - if (HX_FIELD_EQ(inName,"toStringRec") ) { return toStringRec_dyn(); } - if (HX_FIELD_EQ(inName,"insertChild") ) { return insertChild_dyn(); } - if (HX_FIELD_EQ(inName,"removeChild") ) { return removeChild_dyn(); } - if (HX_FIELD_EQ(inName,"setNodeName") ) { return setNodeName_dyn(); } - if (HX_FIELD_EQ(inName,"getNodeName") ) { return getNodeName_dyn(); } - if (HX_FIELD_EQ(inName,"_attributes") ) { return _attributes; } - break; - case 12: - if (HX_FIELD_EQ(inName,"createPCData") ) { return createPCData_dyn(); } - if (HX_FIELD_EQ(inName,"createProlog") ) { return createProlog_dyn(); } - if (HX_FIELD_EQ(inName,"firstElement") ) { return firstElement_dyn(); } - if (HX_FIELD_EQ(inName,"setNodeValue") ) { return setNodeValue_dyn(); } - if (HX_FIELD_EQ(inName,"getNodeValue") ) { return getNodeValue_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"createElement") ) { return createElement_dyn(); } - if (HX_FIELD_EQ(inName,"createComment") ) { return createComment_dyn(); } - if (HX_FIELD_EQ(inName,"createDocType") ) { return createDocType_dyn(); } - if (HX_FIELD_EQ(inName,"elementsNamed") ) { return elementsNamed_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"createDocument") ) { return createDocument_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Xml_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"CData") ) { CData=inValue.Cast< ::XmlType >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"PCData") ) { PCData=inValue.Cast< ::XmlType >(); return inValue; } - if (HX_FIELD_EQ(inName,"Prolog") ) { Prolog=inValue.Cast< ::XmlType >(); return inValue; } - if (HX_FIELD_EQ(inName,"_parse") ) { _parse=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"parent") ) { parent=inValue.Cast< ::Xml >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"Element") ) { Element=inValue.Cast< ::XmlType >(); return inValue; } - if (HX_FIELD_EQ(inName,"Comment") ) { Comment=inValue.Cast< ::XmlType >(); return inValue; } - if (HX_FIELD_EQ(inName,"DocType") ) { DocType=inValue.Cast< ::XmlType >(); return inValue; } - if (HX_FIELD_EQ(inName,"_parent") ) { _parent=inValue.Cast< ::Xml >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"Document") ) { Document=inValue.Cast< ::XmlType >(); return inValue; } - if (HX_FIELD_EQ(inName,"nodeName") ) { if (inCallProp) return setNodeName(inValue);nodeName=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"nodeType") ) { nodeType=inValue.Cast< ::XmlType >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nodeValue") ) { if (inCallProp) return setNodeValue(inValue);nodeValue=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_children") ) { _children=inValue.Cast< Array< ::Xml > >(); return inValue; } - if (HX_FIELD_EQ(inName,"_nodeName") ) { _nodeName=inValue.Cast< ::String >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"_nodeValue") ) { _nodeValue=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"_attributes") ) { _attributes=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Xml_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("parent")); - outFields->push(HX_CSTRING("nodeValue")); - outFields->push(HX_CSTRING("nodeName")); - outFields->push(HX_CSTRING("nodeType")); - outFields->push(HX_CSTRING("_parent")); - outFields->push(HX_CSTRING("_children")); - outFields->push(HX_CSTRING("_attributes")); - outFields->push(HX_CSTRING("_nodeValue")); - outFields->push(HX_CSTRING("_nodeName")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("Element"), - HX_CSTRING("PCData"), - HX_CSTRING("CData"), - HX_CSTRING("Comment"), - HX_CSTRING("DocType"), - HX_CSTRING("Prolog"), - HX_CSTRING("Document"), - HX_CSTRING("_parse"), - HX_CSTRING("parse"), - HX_CSTRING("createElement"), - HX_CSTRING("createPCData"), - HX_CSTRING("createCData"), - HX_CSTRING("createComment"), - HX_CSTRING("createDocType"), - HX_CSTRING("createProlog"), - HX_CSTRING("createDocument"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toStringRec"), - HX_CSTRING("toString"), - HX_CSTRING("insertChild"), - HX_CSTRING("removeChild"), - HX_CSTRING("addChild"), - HX_CSTRING("firstElement"), - HX_CSTRING("firstChild"), - HX_CSTRING("elementsNamed"), - HX_CSTRING("elements"), - HX_CSTRING("iterator"), - HX_CSTRING("attributes"), - HX_CSTRING("exists"), - HX_CSTRING("remove"), - HX_CSTRING("set"), - HX_CSTRING("get"), - HX_CSTRING("getParent"), - HX_CSTRING("parent"), - HX_CSTRING("setNodeValue"), - HX_CSTRING("getNodeValue"), - HX_CSTRING("setNodeName"), - HX_CSTRING("getNodeName"), - HX_CSTRING("nodeValue"), - HX_CSTRING("nodeName"), - HX_CSTRING("nodeType"), - HX_CSTRING("_parent"), - HX_CSTRING("_children"), - HX_CSTRING("_attributes"), - HX_CSTRING("_nodeValue"), - HX_CSTRING("_nodeName"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Xml_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Xml_obj::Element,"Element"); - HX_MARK_MEMBER_NAME(Xml_obj::PCData,"PCData"); - HX_MARK_MEMBER_NAME(Xml_obj::CData,"CData"); - HX_MARK_MEMBER_NAME(Xml_obj::Comment,"Comment"); - HX_MARK_MEMBER_NAME(Xml_obj::DocType,"DocType"); - HX_MARK_MEMBER_NAME(Xml_obj::Prolog,"Prolog"); - HX_MARK_MEMBER_NAME(Xml_obj::Document,"Document"); - HX_MARK_MEMBER_NAME(Xml_obj::_parse,"_parse"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Xml_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Xml_obj::Element,"Element"); - HX_VISIT_MEMBER_NAME(Xml_obj::PCData,"PCData"); - HX_VISIT_MEMBER_NAME(Xml_obj::CData,"CData"); - HX_VISIT_MEMBER_NAME(Xml_obj::Comment,"Comment"); - HX_VISIT_MEMBER_NAME(Xml_obj::DocType,"DocType"); - HX_VISIT_MEMBER_NAME(Xml_obj::Prolog,"Prolog"); - HX_VISIT_MEMBER_NAME(Xml_obj::Document,"Document"); - HX_VISIT_MEMBER_NAME(Xml_obj::_parse,"_parse"); -}; - -Class Xml_obj::__mClass; - -void Xml_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Xml"), hx::TCanCast< Xml_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Xml_obj::__boot() -{ - _parse= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("parse_xml"),(int)2); -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/XmlType.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/XmlType.cpp deleted file mode 100644 index 8b1d870..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/XmlType.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include - -#ifndef INCLUDED_XmlType -#include -#endif - -HX_DEFINE_CREATE_ENUM(XmlType_obj) - -int XmlType_obj::__FindIndex(::String inName) -{ - return super::__FindIndex(inName); -} - -int XmlType_obj::__FindArgCount(::String inName) -{ - return super::__FindArgCount(inName); -} - -Dynamic XmlType_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(XmlType_obj::__mClass,"__mClass"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class XmlType_obj::__mClass; - -Dynamic __Create_XmlType_obj() { return new XmlType_obj; } - -void XmlType_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("XmlType"), hx::TCanCast< XmlType_obj >,sStaticFields,sMemberFields, - &__Create_XmlType_obj, &__Create, - &super::__SGetClass(), &CreateXmlType_obj, sMarkStatics, sVisitStatic); -} - -void XmlType_obj::__boot() -{ -} - - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/__boot__.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/__boot__.cpp deleted file mode 100644 index a81d136..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/__boot__.cpp +++ /dev/null @@ -1,607 +0,0 @@ -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void __boot_all() -{ -hx::RegisterResources( hx::GetResources() ); -::sys::io::Process_obj::__register(); -::sys::io::_Process::Stdout_obj::__register(); -::sys::io::_Process::Stdin_obj::__register(); -::sys::io::FileSeek_obj::__register(); -::sys::io::FileOutput_obj::__register(); -::sys::io::FileInput_obj::__register(); -::sys::io::File_obj::__register(); -::sys::FileSystem_obj::__register(); -::sys::_FileSystem::FileKind_obj::__register(); -::pages::Ptitle_obj::__register(); -::org::puremvc::haxe::patterns::observer::Observer_obj::__register(); -::org::puremvc::haxe::patterns::observer::Notification_obj::__register(); -::org::puremvc::haxe::interfaces::IObserver_obj::__register(); -::org::puremvc::haxe::interfaces::INotification_obj::__register(); -::org::puremvc::haxe::core::View_obj::__register(); -::org::puremvc::haxe::interfaces::IView_obj::__register(); -::org::puremvc::haxe::core::Model_obj::__register(); -::org::puremvc::haxe::interfaces::IModel_obj::__register(); -::org::puremvc::haxe::core::Controller_obj::__register(); -::org::puremvc::haxe::interfaces::IController_obj::__register(); -::nme::installer::Assets_obj::__register(); -::nme::Lib_obj::__register(); -::neash::utils::WeakRef_obj::__register(); -::neash::utils::Endian_obj::__register(); -::neash::utils::ByteArray_obj::__register(); -::neash::utils::IDataInput_obj::__register(); -::neash::text::FontType_obj::__register(); -::neash::text::FontStyle_obj::__register(); -::neash::text::Font_obj::__register(); -::neash::net::URLVariables_obj::__register(); -::neash::net::URLRequestMethod_obj::__register(); -::neash::net::URLRequestHeader_obj::__register(); -::neash::net::URLRequest_obj::__register(); -::neash::net::URLLoaderDataFormat_obj::__register(); -::neash::net::URLLoader_obj::__register(); -::neash::media::SoundTransform_obj::__register(); -::neash::media::SoundLoaderContext_obj::__register(); -::neash::media::SoundChannel_obj::__register(); -::neash::media::Sound_obj::__register(); -::neash::media::ID3Info_obj::__register(); -::neash::geom::Transform_obj::__register(); -::neash::geom::Rectangle_obj::__register(); -::neash::geom::Point_obj::__register(); -::neash::geom::Matrix_obj::__register(); -::neash::geom::ColorTransform_obj::__register(); -::neash::filters::BitmapFilter_obj::__register(); -::neash::events::SampleDataEvent_obj::__register(); -::neash::events::ProgressEvent_obj::__register(); -::neash::events::KeyboardEvent_obj::__register(); -::neash::events::JoystickEvent_obj::__register(); -::neash::events::IOErrorEvent_obj::__register(); -::neash::events::HTTPStatusEvent_obj::__register(); -::neash::events::FocusEvent_obj::__register(); -::neash::events::EventPhase_obj::__register(); -::neash::events::Listener_obj::__register(); -::neash::events::ErrorEvent_obj::__register(); -::neash::events::TextEvent_obj::__register(); -::neash::errors::RangeError_obj::__register(); -::neash::errors::EOFError_obj::__register(); -::neash::errors::ArgumentError_obj::__register(); -::neash::errors::Error_obj::__register(); -::neash::display::TriangleCulling_obj::__register(); -::neash::display::Tilesheet_obj::__register(); -::neash::display::StageScaleMode_obj::__register(); -::neash::display::StageQuality_obj::__register(); -::neash::display::StageDisplayState_obj::__register(); -::neash::display::StageAlign_obj::__register(); -::neash::display::TouchInfo_obj::__register(); -::neash::display::Shape_obj::__register(); -::neash::display::PixelSnapping_obj::__register(); -::neash::display::MovieClip_obj::__register(); -::neash::display::ManagedStage_obj::__register(); -::neash::display::Stage_obj::__register(); -::neash::events::TouchEvent_obj::__register(); -::neash::events::MouseEvent_obj::__register(); -::neash::events::Event_obj::__register(); -::neash::display::IGraphicsData_obj::__register(); -::neash::display::GraphicsPathWinding_obj::__register(); -::neash::display::Graphics_obj::__register(); -::neash::display::GradientType_obj::__register(); -::neash::display::BlendMode_obj::__register(); -::neash::display::BitmapDataChannel_obj::__register(); -::neash::display::OptimizedPerlin_obj::__register(); -::neash::display::BitmapData_obj::__register(); -::neash::display::Bitmap_obj::__register(); -::neash::Lib_obj::__register(); -::haxe::xml::Fast_obj::__register(); -::haxe::xml::_Fast::NodeListAccess_obj::__register(); -::haxe::xml::_Fast::HasNodeAccess_obj::__register(); -::haxe::xml::_Fast::HasAttribAccess_obj::__register(); -::haxe::xml::_Fast::AttribAccess_obj::__register(); -::haxe::xml::_Fast::NodeAccess_obj::__register(); -::haxe::io::Output_obj::__register(); -::haxe::io::Input_obj::__register(); -::haxe::io::Error_obj::__register(); -::haxe::io::Eof_obj::__register(); -::haxe::io::BytesBuffer_obj::__register(); -::haxe::io::Bytes_obj::__register(); -::haxe::Timer_obj::__register(); -::haxe::Log_obj::__register(); -::haxe::BaseCode_obj::__register(); -::format::svg::Text_obj::__register(); -::format::svg::SVGRenderer_obj::__register(); -::format::svg::SVGData_obj::__register(); -::format::svg::RenderContext_obj::__register(); -::format::svg::ArcSegment_obj::__register(); -::format::svg::CubicSegment_obj::__register(); -::format::svg::QuadraticSegment_obj::__register(); -::format::svg::DrawSegment_obj::__register(); -::format::svg::MoveSegment_obj::__register(); -::format::svg::PathSegment_obj::__register(); -::format::svg::PathParser_obj::__register(); -::format::svg::Path_obj::__register(); -::format::svg::DisplayElement_obj::__register(); -::format::svg::Group_obj::__register(); -::format::svg::Grad_obj::__register(); -::format::svg::FillType_obj::__register(); -::format::gfx::LineStyle_obj::__register(); -::format::gfx::Gradient_obj::__register(); -::format::gfx::GfxTextFinder_obj::__register(); -::format::gfx::GfxGraphics_obj::__register(); -::format::gfx::GfxExtent_obj::__register(); -::format::gfx::GfxBytes_obj::__register(); -::neash::display::SpreadMethod_obj::__register(); -::neash::display::LineScaleMode_obj::__register(); -::neash::display::JointStyle_obj::__register(); -::neash::display::InterpolationMethod_obj::__register(); -::neash::display::CapsStyle_obj::__register(); -::format::gfx::Gfx2Haxe_obj::__register(); -::format::gfx::Gfx_obj::__register(); -::format::SVG_obj::__register(); -::cpp::zip::Uncompress_obj::__register(); -::cpp::zip::Flush_obj::__register(); -::cpp::zip::Compress_obj::__register(); -::cpp::rtti::FieldNumericIntegerLookup_obj::__register(); -::ca::confidant::glory::view::constants::ControlConstants_obj::__register(); -::ca::confidant::glory::view::components::PageComponent_obj::__register(); -::ca::confidant::glory::view::components::ControlComponent_obj::__register(); -::ca::confidant::glory::view::components::ActorComponent_obj::__register(); -::ca::confidant::glory::view::PageMediator_obj::__register(); -::ca::confidant::glory::view::ControlComponentMediator_obj::__register(); -::ca::confidant::glory::view::ApplicationMediator_obj::__register(); -::ca::confidant::glory::view::ActorComponentMediator_obj::__register(); -::org::puremvc::haxe::patterns::mediator::Mediator_obj::__register(); -::org::puremvc::haxe::interfaces::IMediator_obj::__register(); -::ca::confidant::glory::model::TickerProxy_obj::__register(); -::ca::confidant::glory::model::PagesConfigProxy_obj::__register(); -::ca::confidant::glory::model::LoaderProxy_obj::__register(); -::ca::confidant::glory::model::ControlsRegistryProxy_obj::__register(); -::ca::confidant::glory::model::ActorComponentConfigProxy_obj::__register(); -::org::puremvc::haxe::patterns::proxy::Proxy_obj::__register(); -::org::puremvc::haxe::interfaces::IProxy_obj::__register(); -::ca::confidant::glory::controller::TimerEnableCommand_obj::__register(); -::ca::confidant::glory::controller::TimerDisableCommand_obj::__register(); -::ca::confidant::glory::controller::StartupCommand_obj::__register(); -::org::puremvc::haxe::patterns::command::MacroCommand_obj::__register(); -::ca::confidant::glory::controller::Startup2_Proxies_Command_obj::__register(); -::ca::confidant::glory::controller::Startup1_App_Command_obj::__register(); -::ca::confidant::glory::controller::Startup0_RegCommands_Command_obj::__register(); -::ca::confidant::glory::controller::RemovePageCommand_obj::__register(); -::ca::confidant::glory::controller::HandleAssetsLoadedCommand_obj::__register(); -::ca::confidant::glory::controller::GotoIntroCommand_obj::__register(); -::ca::confidant::glory::controller::ChangePageCommand_obj::__register(); -::ca::confidant::glory::controller::BuildPageCommand_obj::__register(); -::ca::confidant::glory::controller::BuildControlsCommand_obj::__register(); -::org::puremvc::haxe::patterns::command::SimpleCommand_obj::__register(); -::org::puremvc::haxe::interfaces::ICommand_obj::__register(); -::org::puremvc::haxe::patterns::observer::Notifier_obj::__register(); -::org::puremvc::haxe::interfaces::INotifier_obj::__register(); -::ca::confidant::glory::ApplicationFacade_obj::__register(); -::org::puremvc::haxe::patterns::facade::Facade_obj::__register(); -::org::puremvc::haxe::interfaces::IFacade_obj::__register(); -::Xml_obj::__register(); -::XmlType_obj::__register(); -::Type_obj::__register(); -::ValueType_obj::__register(); -::Sys_obj::__register(); -::StringTools_obj::__register(); -::StringBuf_obj::__register(); -::Std_obj::__register(); -::Reflect_obj::__register(); -::Main_obj::__register(); -::ca::confidant::glory::GloryFrameworkApp_obj::__register(); -::neash::display::Sprite_obj::__register(); -::neash::display::DisplayObjectContainer_obj::__register(); -::neash::display::InteractiveObject_obj::__register(); -::neash::display::DisplayObject_obj::__register(); -::neash::Loader_obj::__register(); -::neash::display::IBitmapDrawable_obj::__register(); -::neash::events::EventDispatcher_obj::__register(); -::neash::events::IEventDispatcher_obj::__register(); -::List_obj::__register(); -::IntIter_obj::__register(); -::IntHash_obj::__register(); -::Hash_obj::__register(); -::EReg_obj::__register(); -::cpp::Lib_obj::__register(); -::Date_obj::__register(); -::ApplicationMain_obj::__register(); -::Xml_obj::__init__(); -::neash::utils::ByteArray_obj::__init__(); -::cpp::Lib_obj::__boot(); -::EReg_obj::__boot(); -::Xml_obj::__boot(); -::cpp::rtti::FieldNumericIntegerLookup_obj::__boot(); -::cpp::zip::Compress_obj::__boot(); -::cpp::zip::Flush_obj::__boot(); -::cpp::zip::Uncompress_obj::__boot(); -::haxe::Log_obj::__boot(); -::ApplicationMain_obj::__boot(); -::Date_obj::__boot(); -::Hash_obj::__boot(); -::IntHash_obj::__boot(); -::IntIter_obj::__boot(); -::List_obj::__boot(); -::neash::events::IEventDispatcher_obj::__boot(); -::neash::events::EventDispatcher_obj::__boot(); -::neash::display::IBitmapDrawable_obj::__boot(); -::neash::Loader_obj::__boot(); -::neash::display::DisplayObject_obj::__boot(); -::neash::display::InteractiveObject_obj::__boot(); -::neash::display::DisplayObjectContainer_obj::__boot(); -::neash::display::Sprite_obj::__boot(); -::ca::confidant::glory::GloryFrameworkApp_obj::__boot(); -::Main_obj::__boot(); -::Reflect_obj::__boot(); -::Std_obj::__boot(); -::StringBuf_obj::__boot(); -::StringTools_obj::__boot(); -::Sys_obj::__boot(); -::ValueType_obj::__boot(); -::Type_obj::__boot(); -::XmlType_obj::__boot(); -::org::puremvc::haxe::interfaces::IFacade_obj::__boot(); -::org::puremvc::haxe::patterns::facade::Facade_obj::__boot(); -::ca::confidant::glory::ApplicationFacade_obj::__boot(); -::org::puremvc::haxe::interfaces::INotifier_obj::__boot(); -::org::puremvc::haxe::patterns::observer::Notifier_obj::__boot(); -::org::puremvc::haxe::interfaces::ICommand_obj::__boot(); -::org::puremvc::haxe::patterns::command::SimpleCommand_obj::__boot(); -::ca::confidant::glory::controller::BuildControlsCommand_obj::__boot(); -::ca::confidant::glory::controller::BuildPageCommand_obj::__boot(); -::ca::confidant::glory::controller::ChangePageCommand_obj::__boot(); -::ca::confidant::glory::controller::GotoIntroCommand_obj::__boot(); -::ca::confidant::glory::controller::HandleAssetsLoadedCommand_obj::__boot(); -::ca::confidant::glory::controller::RemovePageCommand_obj::__boot(); -::ca::confidant::glory::controller::Startup0_RegCommands_Command_obj::__boot(); -::ca::confidant::glory::controller::Startup1_App_Command_obj::__boot(); -::ca::confidant::glory::controller::Startup2_Proxies_Command_obj::__boot(); -::org::puremvc::haxe::patterns::command::MacroCommand_obj::__boot(); -::ca::confidant::glory::controller::StartupCommand_obj::__boot(); -::ca::confidant::glory::controller::TimerDisableCommand_obj::__boot(); -::ca::confidant::glory::controller::TimerEnableCommand_obj::__boot(); -::org::puremvc::haxe::interfaces::IProxy_obj::__boot(); -::org::puremvc::haxe::patterns::proxy::Proxy_obj::__boot(); -::ca::confidant::glory::model::ActorComponentConfigProxy_obj::__boot(); -::ca::confidant::glory::model::ControlsRegistryProxy_obj::__boot(); -::ca::confidant::glory::model::LoaderProxy_obj::__boot(); -::ca::confidant::glory::model::PagesConfigProxy_obj::__boot(); -::ca::confidant::glory::model::TickerProxy_obj::__boot(); -::org::puremvc::haxe::interfaces::IMediator_obj::__boot(); -::org::puremvc::haxe::patterns::mediator::Mediator_obj::__boot(); -::ca::confidant::glory::view::ActorComponentMediator_obj::__boot(); -::ca::confidant::glory::view::ApplicationMediator_obj::__boot(); -::ca::confidant::glory::view::ControlComponentMediator_obj::__boot(); -::ca::confidant::glory::view::PageMediator_obj::__boot(); -::ca::confidant::glory::view::components::ActorComponent_obj::__boot(); -::ca::confidant::glory::view::components::ControlComponent_obj::__boot(); -::ca::confidant::glory::view::components::PageComponent_obj::__boot(); -::ca::confidant::glory::view::constants::ControlConstants_obj::__boot(); -::format::SVG_obj::__boot(); -::format::gfx::Gfx_obj::__boot(); -::format::gfx::Gfx2Haxe_obj::__boot(); -::neash::display::CapsStyle_obj::__boot(); -::neash::display::InterpolationMethod_obj::__boot(); -::neash::display::JointStyle_obj::__boot(); -::neash::display::LineScaleMode_obj::__boot(); -::neash::display::SpreadMethod_obj::__boot(); -::format::gfx::GfxBytes_obj::__boot(); -::format::gfx::GfxExtent_obj::__boot(); -::format::gfx::GfxGraphics_obj::__boot(); -::format::gfx::GfxTextFinder_obj::__boot(); -::format::gfx::Gradient_obj::__boot(); -::format::gfx::LineStyle_obj::__boot(); -::format::svg::FillType_obj::__boot(); -::format::svg::Grad_obj::__boot(); -::format::svg::Group_obj::__boot(); -::format::svg::DisplayElement_obj::__boot(); -::format::svg::Path_obj::__boot(); -::format::svg::PathParser_obj::__boot(); -::format::svg::PathSegment_obj::__boot(); -::format::svg::MoveSegment_obj::__boot(); -::format::svg::DrawSegment_obj::__boot(); -::format::svg::QuadraticSegment_obj::__boot(); -::format::svg::CubicSegment_obj::__boot(); -::format::svg::ArcSegment_obj::__boot(); -::format::svg::RenderContext_obj::__boot(); -::format::svg::SVGData_obj::__boot(); -::format::svg::SVGRenderer_obj::__boot(); -::format::svg::Text_obj::__boot(); -::haxe::BaseCode_obj::__boot(); -::haxe::Timer_obj::__boot(); -::haxe::io::Bytes_obj::__boot(); -::haxe::io::BytesBuffer_obj::__boot(); -::haxe::io::Eof_obj::__boot(); -::haxe::io::Error_obj::__boot(); -::haxe::io::Input_obj::__boot(); -::haxe::io::Output_obj::__boot(); -::haxe::xml::_Fast::NodeAccess_obj::__boot(); -::haxe::xml::_Fast::AttribAccess_obj::__boot(); -::haxe::xml::_Fast::HasAttribAccess_obj::__boot(); -::haxe::xml::_Fast::HasNodeAccess_obj::__boot(); -::haxe::xml::_Fast::NodeListAccess_obj::__boot(); -::haxe::xml::Fast_obj::__boot(); -::neash::Lib_obj::__boot(); -::neash::display::Bitmap_obj::__boot(); -::neash::display::BitmapData_obj::__boot(); -::neash::display::OptimizedPerlin_obj::__boot(); -::neash::display::BitmapDataChannel_obj::__boot(); -::neash::display::BlendMode_obj::__boot(); -::neash::display::GradientType_obj::__boot(); -::neash::display::Graphics_obj::__boot(); -::neash::display::GraphicsPathWinding_obj::__boot(); -::neash::display::IGraphicsData_obj::__boot(); -::neash::events::Event_obj::__boot(); -::neash::events::MouseEvent_obj::__boot(); -::neash::events::TouchEvent_obj::__boot(); -::neash::display::Stage_obj::__boot(); -::neash::display::ManagedStage_obj::__boot(); -::neash::display::MovieClip_obj::__boot(); -::neash::display::PixelSnapping_obj::__boot(); -::neash::display::Shape_obj::__boot(); -::neash::display::TouchInfo_obj::__boot(); -::neash::display::StageAlign_obj::__boot(); -::neash::display::StageDisplayState_obj::__boot(); -::neash::display::StageQuality_obj::__boot(); -::neash::display::StageScaleMode_obj::__boot(); -::neash::display::Tilesheet_obj::__boot(); -::neash::display::TriangleCulling_obj::__boot(); -::neash::errors::Error_obj::__boot(); -::neash::errors::ArgumentError_obj::__boot(); -::neash::errors::EOFError_obj::__boot(); -::neash::errors::RangeError_obj::__boot(); -::neash::events::TextEvent_obj::__boot(); -::neash::events::ErrorEvent_obj::__boot(); -::neash::events::Listener_obj::__boot(); -::neash::events::EventPhase_obj::__boot(); -::neash::events::FocusEvent_obj::__boot(); -::neash::events::HTTPStatusEvent_obj::__boot(); -::neash::events::IOErrorEvent_obj::__boot(); -::neash::events::JoystickEvent_obj::__boot(); -::neash::events::KeyboardEvent_obj::__boot(); -::neash::events::ProgressEvent_obj::__boot(); -::neash::events::SampleDataEvent_obj::__boot(); -::neash::filters::BitmapFilter_obj::__boot(); -::neash::geom::ColorTransform_obj::__boot(); -::neash::geom::Matrix_obj::__boot(); -::neash::geom::Point_obj::__boot(); -::neash::geom::Rectangle_obj::__boot(); -::neash::geom::Transform_obj::__boot(); -::neash::media::ID3Info_obj::__boot(); -::neash::media::Sound_obj::__boot(); -::neash::media::SoundChannel_obj::__boot(); -::neash::media::SoundLoaderContext_obj::__boot(); -::neash::media::SoundTransform_obj::__boot(); -::neash::net::URLLoader_obj::__boot(); -::neash::net::URLLoaderDataFormat_obj::__boot(); -::neash::net::URLRequest_obj::__boot(); -::neash::net::URLRequestHeader_obj::__boot(); -::neash::net::URLRequestMethod_obj::__boot(); -::neash::net::URLVariables_obj::__boot(); -::neash::text::Font_obj::__boot(); -::neash::text::FontStyle_obj::__boot(); -::neash::text::FontType_obj::__boot(); -::neash::utils::IDataInput_obj::__boot(); -::neash::utils::ByteArray_obj::__boot(); -::neash::utils::Endian_obj::__boot(); -::neash::utils::WeakRef_obj::__boot(); -::nme::Lib_obj::__boot(); -::nme::installer::Assets_obj::__boot(); -::org::puremvc::haxe::interfaces::IController_obj::__boot(); -::org::puremvc::haxe::core::Controller_obj::__boot(); -::org::puremvc::haxe::interfaces::IModel_obj::__boot(); -::org::puremvc::haxe::core::Model_obj::__boot(); -::org::puremvc::haxe::interfaces::IView_obj::__boot(); -::org::puremvc::haxe::core::View_obj::__boot(); -::org::puremvc::haxe::interfaces::INotification_obj::__boot(); -::org::puremvc::haxe::interfaces::IObserver_obj::__boot(); -::org::puremvc::haxe::patterns::observer::Notification_obj::__boot(); -::org::puremvc::haxe::patterns::observer::Observer_obj::__boot(); -::pages::Ptitle_obj::__boot(); -::sys::_FileSystem::FileKind_obj::__boot(); -::sys::FileSystem_obj::__boot(); -::sys::io::File_obj::__boot(); -::sys::io::FileInput_obj::__boot(); -::sys::io::FileOutput_obj::__boot(); -::sys::io::FileSeek_obj::__boot(); -::sys::io::_Process::Stdin_obj::__boot(); -::sys::io::_Process::Stdout_obj::__boot(); -::sys::io::Process_obj::__boot(); -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/__files__.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/__files__.cpp deleted file mode 100644 index fcd6c75..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/__files__.cpp +++ /dev/null @@ -1,166 +0,0 @@ -#include - -namespace hx { -const char *__hxcpp_all_files[] = { -#ifdef HXCPP_DEBUGGER - "/usr/lib/haxe/std/IntIter.hx", - "/usr/lib/haxe/std/List.hx", - "/usr/lib/haxe/std/StringTools.hx", - "/usr/lib/haxe/std/cpp/Lib.hx", - "/usr/lib/haxe/std/cpp/_std/Date.hx", - "/usr/lib/haxe/std/cpp/_std/EReg.hx", - "/usr/lib/haxe/std/cpp/_std/Hash.hx", - "/usr/lib/haxe/std/cpp/_std/IntHash.hx", - "/usr/lib/haxe/std/cpp/_std/Reflect.hx", - "/usr/lib/haxe/std/cpp/_std/Std.hx", - "/usr/lib/haxe/std/cpp/_std/StringBuf.hx", - "/usr/lib/haxe/std/cpp/_std/Sys.hx", - "/usr/lib/haxe/std/cpp/_std/Type.hx", - "/usr/lib/haxe/std/cpp/_std/Xml.hx", - "/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx", - "/usr/lib/haxe/std/cpp/_std/sys/io/File.hx", - "/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx", - "/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx", - "/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx", - "/usr/lib/haxe/std/cpp/zip/Compress.hx", - "/usr/lib/haxe/std/cpp/zip/Uncompress.hx", - "/usr/lib/haxe/std/haxe/BaseCode.hx", - "/usr/lib/haxe/std/haxe/Log.hx", - "/usr/lib/haxe/std/haxe/io/Bytes.hx", - "/usr/lib/haxe/std/haxe/io/BytesBuffer.hx", - "/usr/lib/haxe/std/haxe/io/Eof.hx", - "/usr/lib/haxe/std/haxe/io/Input.hx", - "/usr/lib/haxe/std/haxe/io/Output.hx", - "/usr/lib/haxe/std/haxe/xml/Fast.hx", - "ApplicationMain.hx", - "Main.hx", - "ca/confidant/glory/ApplicationFacade.hx", - "ca/confidant/glory/GloryFrameworkApp.hx", - "ca/confidant/glory/controller/BuildControlsCommand.hx", - "ca/confidant/glory/controller/BuildPageCommand.hx", - "ca/confidant/glory/controller/ChangePageCommand.hx", - "ca/confidant/glory/controller/GotoIntroCommand.hx", - "ca/confidant/glory/controller/HandleAssetsLoadedCommand.hx", - "ca/confidant/glory/controller/RemovePageCommand.hx", - "ca/confidant/glory/controller/Startup0_RegCommands_Command.hx", - "ca/confidant/glory/controller/Startup1_App_Command.hx", - "ca/confidant/glory/controller/Startup2_Proxies_Command.hx", - "ca/confidant/glory/controller/StartupCommand.hx", - "ca/confidant/glory/controller/TimerDisableCommand.hx", - "ca/confidant/glory/controller/TimerEnableCommand.hx", - "ca/confidant/glory/model/ActorComponentConfigProxy.hx", - "ca/confidant/glory/model/ControlsRegistryProxy.hx", - "ca/confidant/glory/model/LoaderProxy.hx", - "ca/confidant/glory/model/PagesConfigProxy.hx", - "ca/confidant/glory/model/TickerProxy.hx", - "ca/confidant/glory/view/ActorComponentMediator.hx", - "ca/confidant/glory/view/ApplicationMediator.hx", - "ca/confidant/glory/view/ControlComponentMediator.hx", - "ca/confidant/glory/view/PageMediator.hx", - "ca/confidant/glory/view/components/ActorComponent.hx", - "ca/confidant/glory/view/components/ControlComponent.hx", - "ca/confidant/glory/view/components/PageComponent.hx", - "ca/confidant/glory/view/constants/ControlConstants.hx", - "format/SVG.hx", - "format/gfx/Gfx.hx", - "format/gfx/Gfx2Haxe.hx", - "format/gfx/GfxBytes.hx", - "format/gfx/GfxExtent.hx", - "format/gfx/GfxGraphics.hx", - "format/gfx/GfxTextFinder.hx", - "format/gfx/Gradient.hx", - "format/gfx/LineStyle.hx", - "format/svg/Grad.hx", - "format/svg/Group.hx", - "format/svg/Path.hx", - "format/svg/PathParser.hx", - "format/svg/PathSegment.hx", - "format/svg/RenderContext.hx", - "format/svg/SVGData.hx", - "format/svg/SVGRenderer.hx", - "format/svg/Text.hx", - "haxe/Timer.hx", - "neash/Lib.hx", - "neash/Loader.hx", - "neash/display/Bitmap.hx", - "neash/display/BitmapData.hx", - "neash/display/DisplayObject.hx", - "neash/display/DisplayObjectContainer.hx", - "neash/display/Graphics.hx", - "neash/display/IGraphicsData.hx", - "neash/display/InteractiveObject.hx", - "neash/display/ManagedStage.hx", - "neash/display/MovieClip.hx", - "neash/display/Shape.hx", - "neash/display/Sprite.hx", - "neash/display/Stage.hx", - "neash/display/Tilesheet.hx", - "neash/errors/ArgumentError.hx", - "neash/errors/EOFError.hx", - "neash/errors/Error.hx", - "neash/errors/RangeError.hx", - "neash/events/ErrorEvent.hx", - "neash/events/Event.hx", - "neash/events/EventDispatcher.hx", - "neash/events/FocusEvent.hx", - "neash/events/HTTPStatusEvent.hx", - "neash/events/IOErrorEvent.hx", - "neash/events/JoystickEvent.hx", - "neash/events/KeyboardEvent.hx", - "neash/events/MouseEvent.hx", - "neash/events/ProgressEvent.hx", - "neash/events/SampleDataEvent.hx", - "neash/events/TextEvent.hx", - "neash/events/TouchEvent.hx", - "neash/filters/BitmapFilter.hx", - "neash/geom/ColorTransform.hx", - "neash/geom/Matrix.hx", - "neash/geom/Point.hx", - "neash/geom/Rectangle.hx", - "neash/geom/Transform.hx", - "neash/media/ID3Info.hx", - "neash/media/Sound.hx", - "neash/media/SoundChannel.hx", - "neash/media/SoundLoaderContext.hx", - "neash/media/SoundTransform.hx", - "neash/net/URLLoader.hx", - "neash/net/URLRequest.hx", - "neash/net/URLRequestHeader.hx", - "neash/net/URLVariables.hx", - "neash/text/Font.hx", - "neash/utils/ByteArray.hx", - "neash/utils/WeakRef.hx", - "nme/Lib.hx", - "nme/installer/Assets.hx", - "org/puremvc/haxe/core/Controller.hx", - "org/puremvc/haxe/core/Model.hx", - "org/puremvc/haxe/core/View.hx", - "org/puremvc/haxe/patterns/command/MacroCommand.hx", - "org/puremvc/haxe/patterns/command/SimpleCommand.hx", - "org/puremvc/haxe/patterns/facade/Facade.hx", - "org/puremvc/haxe/patterns/mediator/Mediator.hx", - "org/puremvc/haxe/patterns/observer/Notification.hx", - "org/puremvc/haxe/patterns/observer/Notifier.hx", - "org/puremvc/haxe/patterns/observer/Observer.hx", - "org/puremvc/haxe/patterns/proxy/Proxy.hx", - "pages/Ptitle.hx", -#endif - 0 }; -const char *__hxcpp_class_path[] = { -#ifdef HXCPP_DEBUGGER - "/usr/lib/haxe/lib/nme/3,4,2/", - "/usr/lib/haxe/lib/actuate/1,43/", - "/usr/lib/haxe/lib/svg/1,01/", - "/Users/allan/git/Glory-Framework/Glory-Framework/src/", - "/Users/allan/git/Glory-Framework/Glory-Framework/", - "", - "/", - "/usr/lib/haxe/std/cpp/_std/", - "/usr/local/lib/haxe/std/cpp/_std/", - "/usr/lib/haxe/std/", - "/usr/local/lib/haxe/std/", - "/usr/lib/haxe/std/", - "/usr/local/lib/haxe/std/", -#endif - 0 }; -} // namespace hx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/__lib__.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/__lib__.cpp deleted file mode 100644 index 65a7b87..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/__lib__.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include - -#include - -#ifndef INCLUDED_ApplicationMain -#include -#endif - - -HX_BEGIN_LIB_MAIN - -::ApplicationMain_obj::main(); -HX_END_LIB_MAIN - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/__main__.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/__main__.cpp deleted file mode 100644 index 64b2257..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/__main__.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include - -#include - -#ifndef INCLUDED_ApplicationMain -#include -#endif - - -HX_BEGIN_MAIN - -::ApplicationMain_obj::main(); -HX_END_MAIN - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/__resources__.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/__resources__.cpp deleted file mode 100644 index c5a9b40..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/__resources__.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include - -hx::Resource __Resources[] ={ - {String(null()),0,0}}; - -namespace hx { Resource *GetResources() { return __Resources; } } - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/ApplicationFacade.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/ApplicationFacade.cpp deleted file mode 100644 index 71ac800..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/ApplicationFacade.cpp +++ /dev/null @@ -1,438 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_ApplicationFacade -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_StartupCommand -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_MacroCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_facade_Facade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ - -Void ApplicationFacade_obj::__construct() -{ -HX_STACK_PUSH("ApplicationFacade::new","ca/confidant/glory/ApplicationFacade.hx",14); -{ - HX_STACK_LINE(14) - super::__construct(); -} -; - return null(); -} - -ApplicationFacade_obj::~ApplicationFacade_obj() { } - -Dynamic ApplicationFacade_obj::__CreateEmpty() { return new ApplicationFacade_obj; } -hx::ObjectPtr< ApplicationFacade_obj > ApplicationFacade_obj::__new() -{ hx::ObjectPtr< ApplicationFacade_obj > result = new ApplicationFacade_obj(); - result->__construct(); - return result;} - -Dynamic ApplicationFacade_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ApplicationFacade_obj > result = new ApplicationFacade_obj(); - result->__construct(); - return result;} - -Void ApplicationFacade_obj::startup( ::ca::confidant::glory::GloryFrameworkApp app){ -{ - HX_STACK_PUSH("ApplicationFacade::startup","ca/confidant/glory/ApplicationFacade.hx",60); - HX_STACK_THIS(this); - HX_STACK_ARG(app,"app"); - HX_STACK_LINE(60) - this->sendNotification(HX_CSTRING("startup"),app,null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ApplicationFacade_obj,startup,(void)) - -Void ApplicationFacade_obj::initializeController( ){ -{ - HX_STACK_PUSH("ApplicationFacade::initializeController","ca/confidant/glory/ApplicationFacade.hx",53); - HX_STACK_THIS(this); - HX_STACK_LINE(54) - this->super::initializeController(); - HX_STACK_LINE(55) - this->registerCommand(HX_CSTRING("startup"),hx::ClassOf< ::ca::confidant::glory::controller::StartupCommand >()); - } -return null(); -} - - -::String ApplicationFacade_obj::STARTUP; - -::String ApplicationFacade_obj::MESSAGE; - -::String ApplicationFacade_obj::INIT_XML_LOAD; - -::String ApplicationFacade_obj::INIT_WIDGETS_CONFIG; - -::String ApplicationFacade_obj::ASSETS_LOADED; - -::String ApplicationFacade_obj::INIT_WIDGETS; - -::String ApplicationFacade_obj::PAGES_CONFIG_READY; - -::String ApplicationFacade_obj::CALL_EXTERNAL_FUNCTION; - -::String ApplicationFacade_obj::CONSOLE_LOG; - -::String ApplicationFacade_obj::STAGE_RESIZE; - -::String ApplicationFacade_obj::SET_ACTIVE_WIDGET; - -::String ApplicationFacade_obj::SET_CONTENT; - -::String ApplicationFacade_obj::BUILD_PAGE; - -::String ApplicationFacade_obj::REMOVE_PAGE; - -::String ApplicationFacade_obj::BUILD_CONTROLS; - -::String ApplicationFacade_obj::CHANGE_PAGE; - -::String ApplicationFacade_obj::HTTP_LINK; - -::String ApplicationFacade_obj::TIMER_TICK; - -::String ApplicationFacade_obj::TIMER_ENABLE; - -::String ApplicationFacade_obj::TIMER_DISABLE; - -::String ApplicationFacade_obj::PAN_LEFT; - -::String ApplicationFacade_obj::PAN_RIGHT; - -::String ApplicationFacade_obj::PAN_STOP; - -::String ApplicationFacade_obj::TOGGLE_OPTIONS; - -::ca::confidant::glory::ApplicationFacade ApplicationFacade_obj::instance; - -::ca::confidant::glory::ApplicationFacade ApplicationFacade_obj::getInstance( ){ - HX_STACK_PUSH("ApplicationFacade::getInstance","ca/confidant/glory/ApplicationFacade.hx",45); - HX_STACK_LINE(46) - if (((::ca::confidant::glory::ApplicationFacade_obj::instance == null()))){ - HX_STACK_LINE(47) - ::ca::confidant::glory::ApplicationFacade_obj::instance = ::ca::confidant::glory::ApplicationFacade_obj::__new(); - } - HX_STACK_LINE(48) - return ::ca::confidant::glory::ApplicationFacade_obj::instance; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(ApplicationFacade_obj,getInstance,return ) - - -ApplicationFacade_obj::ApplicationFacade_obj() -{ -} - -void ApplicationFacade_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ApplicationFacade); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ApplicationFacade_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ApplicationFacade_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"STARTUP") ) { return STARTUP; } - if (HX_FIELD_EQ(inName,"MESSAGE") ) { return MESSAGE; } - if (HX_FIELD_EQ(inName,"startup") ) { return startup_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"PAN_LEFT") ) { return PAN_LEFT; } - if (HX_FIELD_EQ(inName,"PAN_STOP") ) { return PAN_STOP; } - if (HX_FIELD_EQ(inName,"instance") ) { return instance; } - break; - case 9: - if (HX_FIELD_EQ(inName,"HTTP_LINK") ) { return HTTP_LINK; } - if (HX_FIELD_EQ(inName,"PAN_RIGHT") ) { return PAN_RIGHT; } - break; - case 10: - if (HX_FIELD_EQ(inName,"BUILD_PAGE") ) { return BUILD_PAGE; } - if (HX_FIELD_EQ(inName,"TIMER_TICK") ) { return TIMER_TICK; } - break; - case 11: - if (HX_FIELD_EQ(inName,"CONSOLE_LOG") ) { return CONSOLE_LOG; } - if (HX_FIELD_EQ(inName,"SET_CONTENT") ) { return SET_CONTENT; } - if (HX_FIELD_EQ(inName,"REMOVE_PAGE") ) { return REMOVE_PAGE; } - if (HX_FIELD_EQ(inName,"CHANGE_PAGE") ) { return CHANGE_PAGE; } - if (HX_FIELD_EQ(inName,"getInstance") ) { return getInstance_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"INIT_WIDGETS") ) { return INIT_WIDGETS; } - if (HX_FIELD_EQ(inName,"STAGE_RESIZE") ) { return STAGE_RESIZE; } - if (HX_FIELD_EQ(inName,"TIMER_ENABLE") ) { return TIMER_ENABLE; } - break; - case 13: - if (HX_FIELD_EQ(inName,"INIT_XML_LOAD") ) { return INIT_XML_LOAD; } - if (HX_FIELD_EQ(inName,"ASSETS_LOADED") ) { return ASSETS_LOADED; } - if (HX_FIELD_EQ(inName,"TIMER_DISABLE") ) { return TIMER_DISABLE; } - break; - case 14: - if (HX_FIELD_EQ(inName,"BUILD_CONTROLS") ) { return BUILD_CONTROLS; } - if (HX_FIELD_EQ(inName,"TOGGLE_OPTIONS") ) { return TOGGLE_OPTIONS; } - break; - case 17: - if (HX_FIELD_EQ(inName,"SET_ACTIVE_WIDGET") ) { return SET_ACTIVE_WIDGET; } - break; - case 18: - if (HX_FIELD_EQ(inName,"PAGES_CONFIG_READY") ) { return PAGES_CONFIG_READY; } - break; - case 19: - if (HX_FIELD_EQ(inName,"INIT_WIDGETS_CONFIG") ) { return INIT_WIDGETS_CONFIG; } - break; - case 20: - if (HX_FIELD_EQ(inName,"initializeController") ) { return initializeController_dyn(); } - break; - case 22: - if (HX_FIELD_EQ(inName,"CALL_EXTERNAL_FUNCTION") ) { return CALL_EXTERNAL_FUNCTION; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ApplicationFacade_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"STARTUP") ) { STARTUP=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MESSAGE") ) { MESSAGE=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"PAN_LEFT") ) { PAN_LEFT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"PAN_STOP") ) { PAN_STOP=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"instance") ) { instance=inValue.Cast< ::ca::confidant::glory::ApplicationFacade >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"HTTP_LINK") ) { HTTP_LINK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"PAN_RIGHT") ) { PAN_RIGHT=inValue.Cast< ::String >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"BUILD_PAGE") ) { BUILD_PAGE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TIMER_TICK") ) { TIMER_TICK=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"CONSOLE_LOG") ) { CONSOLE_LOG=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"SET_CONTENT") ) { SET_CONTENT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"REMOVE_PAGE") ) { REMOVE_PAGE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"CHANGE_PAGE") ) { CHANGE_PAGE=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"INIT_WIDGETS") ) { INIT_WIDGETS=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"STAGE_RESIZE") ) { STAGE_RESIZE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TIMER_ENABLE") ) { TIMER_ENABLE=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"INIT_XML_LOAD") ) { INIT_XML_LOAD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"ASSETS_LOADED") ) { ASSETS_LOADED=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TIMER_DISABLE") ) { TIMER_DISABLE=inValue.Cast< ::String >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"BUILD_CONTROLS") ) { BUILD_CONTROLS=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TOGGLE_OPTIONS") ) { TOGGLE_OPTIONS=inValue.Cast< ::String >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"SET_ACTIVE_WIDGET") ) { SET_ACTIVE_WIDGET=inValue.Cast< ::String >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"PAGES_CONFIG_READY") ) { PAGES_CONFIG_READY=inValue.Cast< ::String >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"INIT_WIDGETS_CONFIG") ) { INIT_WIDGETS_CONFIG=inValue.Cast< ::String >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"CALL_EXTERNAL_FUNCTION") ) { CALL_EXTERNAL_FUNCTION=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ApplicationFacade_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("STARTUP"), - HX_CSTRING("MESSAGE"), - HX_CSTRING("INIT_XML_LOAD"), - HX_CSTRING("INIT_WIDGETS_CONFIG"), - HX_CSTRING("ASSETS_LOADED"), - HX_CSTRING("INIT_WIDGETS"), - HX_CSTRING("PAGES_CONFIG_READY"), - HX_CSTRING("CALL_EXTERNAL_FUNCTION"), - HX_CSTRING("CONSOLE_LOG"), - HX_CSTRING("STAGE_RESIZE"), - HX_CSTRING("SET_ACTIVE_WIDGET"), - HX_CSTRING("SET_CONTENT"), - HX_CSTRING("BUILD_PAGE"), - HX_CSTRING("REMOVE_PAGE"), - HX_CSTRING("BUILD_CONTROLS"), - HX_CSTRING("CHANGE_PAGE"), - HX_CSTRING("HTTP_LINK"), - HX_CSTRING("TIMER_TICK"), - HX_CSTRING("TIMER_ENABLE"), - HX_CSTRING("TIMER_DISABLE"), - HX_CSTRING("PAN_LEFT"), - HX_CSTRING("PAN_RIGHT"), - HX_CSTRING("PAN_STOP"), - HX_CSTRING("TOGGLE_OPTIONS"), - HX_CSTRING("instance"), - HX_CSTRING("getInstance"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("startup"), - HX_CSTRING("initializeController"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::STARTUP,"STARTUP"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::MESSAGE,"MESSAGE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::INIT_XML_LOAD,"INIT_XML_LOAD"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::INIT_WIDGETS_CONFIG,"INIT_WIDGETS_CONFIG"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::ASSETS_LOADED,"ASSETS_LOADED"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::INIT_WIDGETS,"INIT_WIDGETS"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::PAGES_CONFIG_READY,"PAGES_CONFIG_READY"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::CALL_EXTERNAL_FUNCTION,"CALL_EXTERNAL_FUNCTION"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::CONSOLE_LOG,"CONSOLE_LOG"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::STAGE_RESIZE,"STAGE_RESIZE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::SET_ACTIVE_WIDGET,"SET_ACTIVE_WIDGET"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::SET_CONTENT,"SET_CONTENT"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::BUILD_PAGE,"BUILD_PAGE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::REMOVE_PAGE,"REMOVE_PAGE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::BUILD_CONTROLS,"BUILD_CONTROLS"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::CHANGE_PAGE,"CHANGE_PAGE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::HTTP_LINK,"HTTP_LINK"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::TIMER_TICK,"TIMER_TICK"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::TIMER_ENABLE,"TIMER_ENABLE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::TIMER_DISABLE,"TIMER_DISABLE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::PAN_LEFT,"PAN_LEFT"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::PAN_RIGHT,"PAN_RIGHT"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::PAN_STOP,"PAN_STOP"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::TOGGLE_OPTIONS,"TOGGLE_OPTIONS"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::instance,"instance"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::STARTUP,"STARTUP"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::MESSAGE,"MESSAGE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::INIT_XML_LOAD,"INIT_XML_LOAD"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::INIT_WIDGETS_CONFIG,"INIT_WIDGETS_CONFIG"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::ASSETS_LOADED,"ASSETS_LOADED"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::INIT_WIDGETS,"INIT_WIDGETS"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::PAGES_CONFIG_READY,"PAGES_CONFIG_READY"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::CALL_EXTERNAL_FUNCTION,"CALL_EXTERNAL_FUNCTION"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::CONSOLE_LOG,"CONSOLE_LOG"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::STAGE_RESIZE,"STAGE_RESIZE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::SET_ACTIVE_WIDGET,"SET_ACTIVE_WIDGET"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::SET_CONTENT,"SET_CONTENT"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::BUILD_PAGE,"BUILD_PAGE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::REMOVE_PAGE,"REMOVE_PAGE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::BUILD_CONTROLS,"BUILD_CONTROLS"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::CHANGE_PAGE,"CHANGE_PAGE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::HTTP_LINK,"HTTP_LINK"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::TIMER_TICK,"TIMER_TICK"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::TIMER_ENABLE,"TIMER_ENABLE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::TIMER_DISABLE,"TIMER_DISABLE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::PAN_LEFT,"PAN_LEFT"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::PAN_RIGHT,"PAN_RIGHT"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::PAN_STOP,"PAN_STOP"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::TOGGLE_OPTIONS,"TOGGLE_OPTIONS"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::instance,"instance"); -}; - -Class ApplicationFacade_obj::__mClass; - -void ApplicationFacade_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.ApplicationFacade"), hx::TCanCast< ApplicationFacade_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ApplicationFacade_obj::__boot() -{ - STARTUP= HX_CSTRING("startup"); - MESSAGE= HX_CSTRING("message"); - INIT_XML_LOAD= HX_CSTRING("initXMLLoad"); - INIT_WIDGETS_CONFIG= HX_CSTRING("initWidgetsConfig"); - ASSETS_LOADED= HX_CSTRING("assetsLoaded"); - INIT_WIDGETS= HX_CSTRING("initWidgets"); - PAGES_CONFIG_READY= HX_CSTRING("pagesConfigReady"); - CALL_EXTERNAL_FUNCTION= HX_CSTRING("callExternalFunction"); - CONSOLE_LOG= HX_CSTRING("consoleLog"); - STAGE_RESIZE= HX_CSTRING("stageResize"); - SET_ACTIVE_WIDGET= HX_CSTRING("setActiveWidget"); - SET_CONTENT= HX_CSTRING("setContent"); - BUILD_PAGE= HX_CSTRING("buildPage"); - REMOVE_PAGE= HX_CSTRING("removePage"); - BUILD_CONTROLS= HX_CSTRING("buildControls"); - CHANGE_PAGE= HX_CSTRING("changePage"); - HTTP_LINK= HX_CSTRING("httpLink"); - TIMER_TICK= HX_CSTRING("timerTick"); - TIMER_ENABLE= HX_CSTRING("timerEnable"); - TIMER_DISABLE= HX_CSTRING("timerDisable"); - PAN_LEFT= HX_CSTRING("panLeft"); - PAN_RIGHT= HX_CSTRING("panRight"); - PAN_STOP= HX_CSTRING("panStop"); - TOGGLE_OPTIONS= HX_CSTRING("toggleOptions"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/GloryFrameworkApp.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/GloryFrameworkApp.cpp deleted file mode 100644 index 5aba9b9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/GloryFrameworkApp.cpp +++ /dev/null @@ -1,170 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_ApplicationFacade -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_MovieClip -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_nme_Lib -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_facade_Facade -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ - -Void GloryFrameworkApp_obj::__construct() -{ -HX_STACK_PUSH("GloryFrameworkApp::new","ca/confidant/glory/GloryFrameworkApp.hx",13); -{ - HX_STACK_LINE(14) - super::__construct(); - HX_STACK_LINE(15) - ::ca::confidant::glory::ApplicationFacade facade = ::ca::confidant::glory::ApplicationFacade_obj::getInstance(); HX_STACK_VAR(facade,"facade"); - HX_STACK_LINE(16) - facade->sendNotification(HX_CSTRING("startup"),hx::ObjectPtr(this),null()); -} -; - return null(); -} - -GloryFrameworkApp_obj::~GloryFrameworkApp_obj() { } - -Dynamic GloryFrameworkApp_obj::__CreateEmpty() { return new GloryFrameworkApp_obj; } -hx::ObjectPtr< GloryFrameworkApp_obj > GloryFrameworkApp_obj::__new() -{ hx::ObjectPtr< GloryFrameworkApp_obj > result = new GloryFrameworkApp_obj(); - result->__construct(); - return result;} - -Dynamic GloryFrameworkApp_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GloryFrameworkApp_obj > result = new GloryFrameworkApp_obj(); - result->__construct(); - return result;} - -Void GloryFrameworkApp_obj::displayMessage( ::String m){ -{ - HX_STACK_PUSH("GloryFrameworkApp::displayMessage","ca/confidant/glory/GloryFrameworkApp.hx",25); - HX_STACK_THIS(this); - HX_STACK_ARG(m,"m"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(GloryFrameworkApp_obj,displayMessage,(void)) - -Void GloryFrameworkApp_obj::main( ){ -{ - HX_STACK_PUSH("GloryFrameworkApp::main","ca/confidant/glory/GloryFrameworkApp.hx",21); - HX_STACK_LINE(22) - ::ca::confidant::glory::GloryFrameworkApp app = ::ca::confidant::glory::GloryFrameworkApp_obj::__new(); HX_STACK_VAR(app,"app"); - HX_STACK_LINE(23) - ::nme::Lib_obj::nmeGetCurrent()->addChild(app); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(GloryFrameworkApp_obj,main,(void)) - - -GloryFrameworkApp_obj::GloryFrameworkApp_obj() -{ -} - -void GloryFrameworkApp_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GloryFrameworkApp); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void GloryFrameworkApp_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic GloryFrameworkApp_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"main") ) { return main_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"displayMessage") ) { return displayMessage_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GloryFrameworkApp_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void GloryFrameworkApp_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("main"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("displayMessage"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GloryFrameworkApp_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GloryFrameworkApp_obj::__mClass,"__mClass"); -}; - -Class GloryFrameworkApp_obj::__mClass; - -void GloryFrameworkApp_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.GloryFrameworkApp"), hx::TCanCast< GloryFrameworkApp_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GloryFrameworkApp_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/BuildControlsCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/BuildControlsCommand.cpp deleted file mode 100644 index cf80612..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/BuildControlsCommand.cpp +++ /dev/null @@ -1,325 +0,0 @@ -#include - -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_BuildControlsCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ControlComponentMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ControlComponent -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#include -#endif -#ifndef INCLUDED_neash_display_Bitmap -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_PixelSnapping -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void BuildControlsCommand_obj::__construct() -{ -HX_STACK_PUSH("BuildControlsCommand::new","ca/confidant/glory/controller/BuildControlsCommand.hx",25); -{ - HX_STACK_LINE(25) - super::__construct(); -} -; - return null(); -} - -BuildControlsCommand_obj::~BuildControlsCommand_obj() { } - -Dynamic BuildControlsCommand_obj::__CreateEmpty() { return new BuildControlsCommand_obj; } -hx::ObjectPtr< BuildControlsCommand_obj > BuildControlsCommand_obj::__new() -{ hx::ObjectPtr< BuildControlsCommand_obj > result = new BuildControlsCommand_obj(); - result->__construct(); - return result;} - -Dynamic BuildControlsCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BuildControlsCommand_obj > result = new BuildControlsCommand_obj(); - result->__construct(); - return result;} - -Void BuildControlsCommand_obj::makeControl( ::haxe::xml::Fast actor){ -{ - HX_STACK_PUSH("BuildControlsCommand::makeControl","ca/confidant/glory/controller/BuildControlsCommand.hx",47); - HX_STACK_THIS(this); - HX_STACK_ARG(actor,"actor"); - HX_STACK_LINE(47) - try{ - HX_STACK_LINE(49) - ::String ext = (hx::TCast< String >::cast(actor->att->resolve(HX_CSTRING("src")))).substr((int)-3,null()); HX_STACK_VAR(ext,"ext"); - HX_STACK_LINE(50) - ::ca::confidant::glory::view::components::ControlComponent a = ::ca::confidant::glory::view::components::ControlComponent_obj::__new(::Std_obj::string(actor->att->resolve(HX_CSTRING("action")))); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(52) - if (((ext == HX_CSTRING("svg")))){ - HX_STACK_LINE(53) - ::String theText = this->lp->getText((HX_CSTRING("assets/") + actor->att->resolve(HX_CSTRING("src")))); HX_STACK_VAR(theText,"theText"); - HX_STACK_LINE(54) - a->addSVG(theText); - } - else{ - HX_STACK_LINE(56) - ::neash::display::BitmapData imageData = this->lp->getBitmapData((HX_CSTRING("assets/") + actor->att->resolve(HX_CSTRING("src"))),true); HX_STACK_VAR(imageData,"imageData"); - HX_STACK_LINE(57) - ::neash::display::Bitmap b = ::neash::display::Bitmap_obj::__new(imageData,null(),null()); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(58) - a->addBitmap(b); - } - HX_STACK_LINE(61) - ::ca::confidant::glory::view::ControlComponentMediator acm = ::ca::confidant::glory::view::ControlComponentMediator_obj::__new(actor->att->resolve(HX_CSTRING("id")),a); HX_STACK_VAR(acm,"acm"); - HX_STACK_LINE(62) - this->facade->registerMediator(acm); - HX_STACK_LINE(63) - this->appMediator->addDisplayObject(a,null()); - HX_STACK_LINE(64) - this->csp->registerControl(a); - HX_STACK_LINE(65) - a->nmeSetX(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("x")))); - HX_STACK_LINE(66) - a->nmeSetY(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("y")))); - HX_STACK_LINE(67) - a->nmeSetWidth(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("width")))); - HX_STACK_LINE(68) - a->nmeSetHeight(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("height")))); - HX_STACK_LINE(69) - a->nmeSetMouseEnabled(true); - HX_STACK_LINE(70) - a->useHandCursor = true; - HX_STACK_LINE(71) - a->buttonMode = true; - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(74) - ::haxe::Log_obj::trace(::Std_obj::string(e),hx::SourceInfo(HX_CSTRING("BuildControlsCommand.hx"),75,HX_CSTRING("ca.confidant.glory.controller.BuildControlsCommand"),HX_CSTRING("makeControl"))); - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BuildControlsCommand_obj,makeControl,(void)) - -Void BuildControlsCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("BuildControlsCommand::execute","ca/confidant/glory/controller/BuildControlsCommand.hx",32); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(33) - ::haxe::Log_obj::trace(HX_CSTRING("BuildControlsCommand"),hx::SourceInfo(HX_CSTRING("BuildControlsCommand.hx"),33,HX_CSTRING("ca.confidant.glory.controller.BuildControlsCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(34) - this->pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); - HX_STACK_LINE(35) - this->csp = hx::TCast< ca::confidant::glory::model::ControlsRegistryProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::ControlsRegistryProxy_obj::NAME)); - HX_STACK_LINE(36) - this->lp = hx::TCast< ca::confidant::glory::model::LoaderProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::LoaderProxy_obj::NAME)); - HX_STACK_LINE(37) - this->appMediator = hx::TCast< ca::confidant::glory::view::ApplicationMediator >::cast(this->facade->retrieveMediator(HX_CSTRING("ApplicationMediator"))); - HX_STACK_LINE(39) - ::List controlsList = this->pcp->getAppControls(); HX_STACK_VAR(controlsList,"controlsList"); - HX_STACK_LINE(40) - for(::cpp::FastIterator_obj< ::haxe::xml::Fast > *__it = ::cpp::CreateFastIterator< ::haxe::xml::Fast >(controlsList->iterator()); __it->hasNext(); ){ - ::haxe::xml::Fast thisControl = __it->next(); - this->makeControl(thisControl); - } - } -return null(); -} - - - -BuildControlsCommand_obj::BuildControlsCommand_obj() -{ -} - -void BuildControlsCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BuildControlsCommand); - HX_MARK_MEMBER_NAME(lp,"lp"); - HX_MARK_MEMBER_NAME(appMediator,"appMediator"); - HX_MARK_MEMBER_NAME(csp,"csp"); - HX_MARK_MEMBER_NAME(pcp,"pcp"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void BuildControlsCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(lp,"lp"); - HX_VISIT_MEMBER_NAME(appMediator,"appMediator"); - HX_VISIT_MEMBER_NAME(csp,"csp"); - HX_VISIT_MEMBER_NAME(pcp,"pcp"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic BuildControlsCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"lp") ) { return lp; } - break; - case 3: - if (HX_FIELD_EQ(inName,"csp") ) { return csp; } - if (HX_FIELD_EQ(inName,"pcp") ) { return pcp; } - break; - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"makeControl") ) { return makeControl_dyn(); } - if (HX_FIELD_EQ(inName,"appMediator") ) { return appMediator; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BuildControlsCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"lp") ) { lp=inValue.Cast< ::ca::confidant::glory::model::LoaderProxy >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"csp") ) { csp=inValue.Cast< ::ca::confidant::glory::model::ControlsRegistryProxy >(); return inValue; } - if (HX_FIELD_EQ(inName,"pcp") ) { pcp=inValue.Cast< ::ca::confidant::glory::model::PagesConfigProxy >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { appMediator=inValue.Cast< ::ca::confidant::glory::view::ApplicationMediator >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BuildControlsCommand_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("lp")); - outFields->push(HX_CSTRING("appMediator")); - outFields->push(HX_CSTRING("csp")); - outFields->push(HX_CSTRING("pcp")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("makeControl"), - HX_CSTRING("execute"), - HX_CSTRING("lp"), - HX_CSTRING("appMediator"), - HX_CSTRING("csp"), - HX_CSTRING("pcp"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BuildControlsCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BuildControlsCommand_obj::__mClass,"__mClass"); -}; - -Class BuildControlsCommand_obj::__mClass; - -void BuildControlsCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.BuildControlsCommand"), hx::TCanCast< BuildControlsCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BuildControlsCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/BuildPageCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/BuildPageCommand.cpp deleted file mode 100644 index cf2295c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/BuildPageCommand.cpp +++ /dev/null @@ -1,359 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_BuildPageCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_ActorComponentConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ActorComponentMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_PageMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_PageComponent -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasAttribAccess -#include -#endif -#ifndef INCLUDED_neash_display_Bitmap -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_PixelSnapping -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void BuildPageCommand_obj::__construct() -{ -HX_STACK_PUSH("BuildPageCommand::new","ca/confidant/glory/controller/BuildPageCommand.hx",36); -{ - HX_STACK_LINE(36) - super::__construct(); -} -; - return null(); -} - -BuildPageCommand_obj::~BuildPageCommand_obj() { } - -Dynamic BuildPageCommand_obj::__CreateEmpty() { return new BuildPageCommand_obj; } -hx::ObjectPtr< BuildPageCommand_obj > BuildPageCommand_obj::__new() -{ hx::ObjectPtr< BuildPageCommand_obj > result = new BuildPageCommand_obj(); - result->__construct(); - return result;} - -Dynamic BuildPageCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BuildPageCommand_obj > result = new BuildPageCommand_obj(); - result->__construct(); - return result;} - -::ca::confidant::glory::view::components::ActorComponent BuildPageCommand_obj::makeActor( ::haxe::xml::Fast actor){ - HX_STACK_PUSH("BuildPageCommand::makeActor","ca/confidant/glory/controller/BuildPageCommand.hx",81); - HX_STACK_THIS(this); - HX_STACK_ARG(actor,"actor"); - HX_STACK_LINE(83) - ::String ext = (hx::TCast< String >::cast(actor->att->resolve(HX_CSTRING("src")))).substr((int)-3,null()); HX_STACK_VAR(ext,"ext"); - HX_STACK_LINE(90) - ::ca::confidant::glory::view::components::ActorComponent a = ::ca::confidant::glory::view::components::ActorComponent_obj::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(94) - if (((ext == HX_CSTRING("svg")))){ - HX_STACK_LINE(95) - ::String theText = this->lp->getText((HX_CSTRING("assets/") + actor->att->resolve(HX_CSTRING("src")))); HX_STACK_VAR(theText,"theText"); - HX_STACK_LINE(96) - a->addSVG(theText); - } - else{ - HX_STACK_LINE(98) - ::neash::display::BitmapData imageData = this->lp->getBitmapData((HX_CSTRING("assets/") + actor->att->resolve(HX_CSTRING("src"))),true); HX_STACK_VAR(imageData,"imageData"); - HX_STACK_LINE(99) - ::neash::display::Bitmap b = ::neash::display::Bitmap_obj::__new(imageData,null(),null()); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(100) - a->addBitmap(b); - } - HX_STACK_LINE(102) - ::String action; HX_STACK_VAR(action,"action"); - HX_STACK_LINE(103) - if ((actor->has->resolve(HX_CSTRING("action")))){ - HX_STACK_LINE(103) - action = ::Std_obj::string(actor->att->resolve(HX_CSTRING("action"))); - } - else{ - HX_STACK_LINE(105) - action = HX_CSTRING(""); - } - HX_STACK_LINE(108) - ::ca::confidant::glory::model::ActorComponentConfigProxy accp = ::ca::confidant::glory::model::ActorComponentConfigProxy_obj::__new(actor->att->resolve(HX_CSTRING("id")),::Std_obj::string(actor->att->resolve(HX_CSTRING("type"))),action); HX_STACK_VAR(accp,"accp"); - HX_STACK_LINE(109) - this->facade->registerProxy(accp); - HX_STACK_LINE(110) - ::ca::confidant::glory::view::ActorComponentMediator acm = ::ca::confidant::glory::view::ActorComponentMediator_obj::__new(actor->att->resolve(HX_CSTRING("id")),a,accp); HX_STACK_VAR(acm,"acm"); - HX_STACK_LINE(111) - this->facade->registerMediator(acm); - HX_STACK_LINE(113) - a->nmeSetX(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("x")))); - HX_STACK_LINE(114) - a->nmeSetY(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("y")))); - HX_STACK_LINE(115) - a->nmeSetWidth(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("width")))); - HX_STACK_LINE(116) - a->nmeSetHeight(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("height")))); - HX_STACK_LINE(117) - a->type = actor->att->resolve(HX_CSTRING("type")); - HX_STACK_LINE(118) - a->nmeSetName(actor->att->resolve(HX_CSTRING("id"))); - HX_STACK_LINE(123) - return a; -} - - -HX_DEFINE_DYNAMIC_FUNC1(BuildPageCommand_obj,makeActor,return ) - -Void BuildPageCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("BuildPageCommand::execute","ca/confidant/glory/controller/BuildPageCommand.hx",41); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(42) - ::haxe::Log_obj::trace(HX_CSTRING("BuildPageCommand"),hx::SourceInfo(HX_CSTRING("BuildPageCommand.hx"),42,HX_CSTRING("ca.confidant.glory.controller.BuildPageCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(44) - this->pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); - HX_STACK_LINE(45) - this->lp = hx::TCast< ca::confidant::glory::model::LoaderProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::LoaderProxy_obj::NAME)); - HX_STACK_LINE(46) - this->appMediator = hx::TCast< ca::confidant::glory::view::ApplicationMediator >::cast(this->facade->retrieveMediator(HX_CSTRING("ApplicationMediator"))); - HX_STACK_LINE(47) - ::String pageId = hx::TCast< String >::cast(note->getBody()); HX_STACK_VAR(pageId,"pageId"); - HX_STACK_LINE(52) - ::String class_name = (HX_CSTRING("pages.P") + pageId); HX_STACK_VAR(class_name,"class_name"); - HX_STACK_LINE(53) - ::Class a_class = ::Type_obj::resolveClass(class_name); HX_STACK_VAR(a_class,"a_class"); - HX_STACK_LINE(54) - ::ca::confidant::glory::view::components::PageComponent s = ( (((a_class != null()))) ? ::ca::confidant::glory::view::components::PageComponent(::Type_obj::createInstance(a_class,Dynamic( Array_obj::__new()))) : ::ca::confidant::glory::view::components::PageComponent(::ca::confidant::glory::view::components::PageComponent_obj::__new()) ); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(56) - s->nmeSetName(pageId); - HX_STACK_LINE(58) - if (((this->pcp->getPageById(pageId)->get(HX_CSTRING("type")) == HX_CSTRING("overlay")))){ - HX_STACK_LINE(58) - this->appMediator->addDisplayObject(s,(int)-1); - } - else{ - HX_STACK_LINE(61) - this->appMediator->addDisplayObject(s,(int)0); - } - HX_STACK_LINE(67) - ::ca::confidant::glory::view::PageMediator pm = ::ca::confidant::glory::view::PageMediator_obj::__new(pageId,s); HX_STACK_VAR(pm,"pm"); - HX_STACK_LINE(68) - this->facade->registerMediator(pm); - HX_STACK_LINE(70) - ::List actorsList = this->pcp->getPageActors(pageId); HX_STACK_VAR(actorsList,"actorsList"); - HX_STACK_LINE(72) - if (((actorsList->length > (int)0))){ - HX_STACK_LINE(72) - for(::cpp::FastIterator_obj< ::haxe::xml::Fast > *__it = ::cpp::CreateFastIterator< ::haxe::xml::Fast >(actorsList->iterator()); __it->hasNext(); ){ - ::haxe::xml::Fast thisActor = __it->next(); - s->addActor(thisActor->att->resolve(HX_CSTRING("id")),this->makeActor(thisActor)); - } - } - HX_STACK_LINE(79) - s->init(); - } -return null(); -} - - - -BuildPageCommand_obj::BuildPageCommand_obj() -{ -} - -void BuildPageCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BuildPageCommand); - HX_MARK_MEMBER_NAME(lp,"lp"); - HX_MARK_MEMBER_NAME(appMediator,"appMediator"); - HX_MARK_MEMBER_NAME(pcp,"pcp"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void BuildPageCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(lp,"lp"); - HX_VISIT_MEMBER_NAME(appMediator,"appMediator"); - HX_VISIT_MEMBER_NAME(pcp,"pcp"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic BuildPageCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"lp") ) { return lp; } - break; - case 3: - if (HX_FIELD_EQ(inName,"pcp") ) { return pcp; } - break; - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"makeActor") ) { return makeActor_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { return appMediator; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BuildPageCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"lp") ) { lp=inValue.Cast< ::ca::confidant::glory::model::LoaderProxy >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"pcp") ) { pcp=inValue.Cast< ::ca::confidant::glory::model::PagesConfigProxy >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { appMediator=inValue.Cast< ::ca::confidant::glory::view::ApplicationMediator >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BuildPageCommand_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("lp")); - outFields->push(HX_CSTRING("appMediator")); - outFields->push(HX_CSTRING("pcp")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("makeActor"), - HX_CSTRING("execute"), - HX_CSTRING("lp"), - HX_CSTRING("appMediator"), - HX_CSTRING("pcp"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BuildPageCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BuildPageCommand_obj::__mClass,"__mClass"); -}; - -Class BuildPageCommand_obj::__mClass; - -void BuildPageCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.BuildPageCommand"), hx::TCanCast< BuildPageCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BuildPageCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/ChangePageCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/ChangePageCommand.cpp deleted file mode 100644 index fcb4e8a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/ChangePageCommand.cpp +++ /dev/null @@ -1,294 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_ChangePageCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void ChangePageCommand_obj::__construct() -{ -HX_STACK_PUSH("ChangePageCommand::new","ca/confidant/glory/controller/ChangePageCommand.hx",28); -{ - HX_STACK_LINE(28) - super::__construct(); -} -; - return null(); -} - -ChangePageCommand_obj::~ChangePageCommand_obj() { } - -Dynamic ChangePageCommand_obj::__CreateEmpty() { return new ChangePageCommand_obj; } -hx::ObjectPtr< ChangePageCommand_obj > ChangePageCommand_obj::__new() -{ hx::ObjectPtr< ChangePageCommand_obj > result = new ChangePageCommand_obj(); - result->__construct(); - return result;} - -Dynamic ChangePageCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ChangePageCommand_obj > result = new ChangePageCommand_obj(); - result->__construct(); - return result;} - -Void ChangePageCommand_obj::floatControls( ){ -{ - HX_STACK_PUSH("ChangePageCommand::floatControls","ca/confidant/glory/controller/ChangePageCommand.hx",82); - HX_STACK_THIS(this); - HX_STACK_LINE(83) - ::ca::confidant::glory::model::ControlsRegistryProxy crp = hx::TCast< ca::confidant::glory::model::ControlsRegistryProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::ControlsRegistryProxy_obj::NAME)); HX_STACK_VAR(crp,"crp"); - HX_STACK_LINE(84) - Dynamic controls = crp->getControls(); HX_STACK_VAR(controls,"controls"); - HX_STACK_LINE(86) - int i = (int)0; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(87) - { - HX_STACK_LINE(87) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(87) - while(((_g < controls->__Field(HX_CSTRING("length"),true)))){ - HX_STACK_LINE(87) - Dynamic thisControl = controls->__GetItem(_g); HX_STACK_VAR(thisControl,"thisControl"); - HX_STACK_LINE(87) - ++(_g); - HX_STACK_LINE(91) - this->appMediator->removeDisplayObject(thisControl); - HX_STACK_LINE(92) - this->appMediator->addDisplayObject(thisControl,null()); - HX_STACK_LINE(93) - (i)++; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ChangePageCommand_obj,floatControls,(void)) - -Void ChangePageCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("ChangePageCommand::execute","ca/confidant/glory/controller/ChangePageCommand.hx",34); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(35) - ::haxe::Log_obj::trace(HX_CSTRING("ChangePageCommand"),hx::SourceInfo(HX_CSTRING("ChangePageCommand.hx"),35,HX_CSTRING("ca.confidant.glory.controller.ChangePageCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(36) - this->pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); - HX_STACK_LINE(37) - this->appMediator = hx::TCast< ca::confidant::glory::view::ApplicationMediator >::cast(this->facade->retrieveMediator(HX_CSTRING("ApplicationMediator"))); - HX_STACK_LINE(38) - ::String action = hx::TCast< String >::cast(note->getBody()); HX_STACK_VAR(action,"action"); - HX_STACK_LINE(40) - ::String _switch_1 = (action); - if ( ( _switch_1==HX_CSTRING("pageForward"))){ - HX_STACK_LINE(43) - ::Hash nextPage = this->pcp->getNextPage(); HX_STACK_VAR(nextPage,"nextPage"); - HX_STACK_LINE(44) - if (((nextPage != null()))){ - HX_STACK_LINE(45) - this->sendNotification(HX_CSTRING("removePage"),this->pcp->getCurrentPage()->get(HX_CSTRING("id")),null()); - HX_STACK_LINE(46) - this->sendNotification(HX_CSTRING("buildPage"),nextPage->get(HX_CSTRING("id")),null()); - HX_STACK_LINE(47) - this->pcp->setCurrentPageById(nextPage->get(HX_CSTRING("id"))); - } - HX_STACK_LINE(49) - this->floatControls(); - } - else if ( ( _switch_1==HX_CSTRING("pageBackward"))){ - HX_STACK_LINE(52) - ::Hash prevPage = this->pcp->getPreviousPage(); HX_STACK_VAR(prevPage,"prevPage"); - HX_STACK_LINE(53) - if (((prevPage != null()))){ - HX_STACK_LINE(54) - this->sendNotification(HX_CSTRING("removePage"),this->pcp->getCurrentPage()->get(HX_CSTRING("id")),null()); - HX_STACK_LINE(55) - this->sendNotification(HX_CSTRING("buildPage"),prevPage->get(HX_CSTRING("id")),null()); - HX_STACK_LINE(56) - this->pcp->setCurrentPageById(prevPage->get(HX_CSTRING("id"))); - } - HX_STACK_LINE(58) - this->floatControls(); - } - else { - HX_STACK_LINE(61) - ::Hash p = this->pcp->getPageById(action); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(62) - bool overlay = (p->get(HX_CSTRING("type")) == HX_CSTRING("overlay")); HX_STACK_VAR(overlay,"overlay"); - HX_STACK_LINE(65) - if (((p != null()))){ - HX_STACK_LINE(67) - if ((!(overlay))){ - HX_STACK_LINE(67) - this->sendNotification(HX_CSTRING("removePage"),this->pcp->getCurrentPage()->get(HX_CSTRING("id")),null()); - } - HX_STACK_LINE(71) - this->sendNotification(HX_CSTRING("buildPage"),p->get(HX_CSTRING("id")),null()); - HX_STACK_LINE(72) - if ((!(overlay))){ - HX_STACK_LINE(73) - this->floatControls(); - HX_STACK_LINE(74) - this->pcp->setCurrentPageById(p->get(HX_CSTRING("id"))); - } - } - } -; -; - } -return null(); -} - - - -ChangePageCommand_obj::ChangePageCommand_obj() -{ -} - -void ChangePageCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ChangePageCommand); - HX_MARK_MEMBER_NAME(appMediator,"appMediator"); - HX_MARK_MEMBER_NAME(pcp,"pcp"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ChangePageCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(appMediator,"appMediator"); - HX_VISIT_MEMBER_NAME(pcp,"pcp"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ChangePageCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"pcp") ) { return pcp; } - break; - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { return appMediator; } - break; - case 13: - if (HX_FIELD_EQ(inName,"floatControls") ) { return floatControls_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ChangePageCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"pcp") ) { pcp=inValue.Cast< ::ca::confidant::glory::model::PagesConfigProxy >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { appMediator=inValue.Cast< ::ca::confidant::glory::view::ApplicationMediator >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ChangePageCommand_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("appMediator")); - outFields->push(HX_CSTRING("pcp")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("floatControls"), - HX_CSTRING("execute"), - HX_CSTRING("appMediator"), - HX_CSTRING("pcp"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ChangePageCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ChangePageCommand_obj::__mClass,"__mClass"); -}; - -Class ChangePageCommand_obj::__mClass; - -void ChangePageCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.ChangePageCommand"), hx::TCanCast< ChangePageCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ChangePageCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/GotoIntroCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/GotoIntroCommand.cpp deleted file mode 100644 index acf6a79..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/GotoIntroCommand.cpp +++ /dev/null @@ -1,136 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_GotoIntroCommand -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void GotoIntroCommand_obj::__construct() -{ -HX_STACK_PUSH("GotoIntroCommand::new","ca/confidant/glory/controller/GotoIntroCommand.hx",16); -{ - HX_STACK_LINE(16) - super::__construct(); -} -; - return null(); -} - -GotoIntroCommand_obj::~GotoIntroCommand_obj() { } - -Dynamic GotoIntroCommand_obj::__CreateEmpty() { return new GotoIntroCommand_obj; } -hx::ObjectPtr< GotoIntroCommand_obj > GotoIntroCommand_obj::__new() -{ hx::ObjectPtr< GotoIntroCommand_obj > result = new GotoIntroCommand_obj(); - result->__construct(); - return result;} - -Dynamic GotoIntroCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GotoIntroCommand_obj > result = new GotoIntroCommand_obj(); - result->__construct(); - return result;} - -Void GotoIntroCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("GotoIntroCommand::execute","ca/confidant/glory/controller/GotoIntroCommand.hx",23); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(24) - ::haxe::Log_obj::trace(HX_CSTRING("GotoIntroCommand"),hx::SourceInfo(HX_CSTRING("GotoIntroCommand.hx"),24,HX_CSTRING("ca.confidant.glory.controller.GotoIntroCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(25) - this->sendNotification(HX_CSTRING("buildControls"),null(),null()); - HX_STACK_LINE(26) - this->sendNotification(HX_CSTRING("buildPage"),HX_CSTRING("title"),null()); - } -return null(); -} - - - -GotoIntroCommand_obj::GotoIntroCommand_obj() -{ -} - -void GotoIntroCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GotoIntroCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void GotoIntroCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic GotoIntroCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GotoIntroCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void GotoIntroCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GotoIntroCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GotoIntroCommand_obj::__mClass,"__mClass"); -}; - -Class GotoIntroCommand_obj::__mClass; - -void GotoIntroCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.GotoIntroCommand"), hx::TCanCast< GotoIntroCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GotoIntroCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.cpp deleted file mode 100644 index b04d633..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.cpp +++ /dev/null @@ -1,158 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_HandleAssetsLoadedCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void HandleAssetsLoadedCommand_obj::__construct() -{ -HX_STACK_PUSH("HandleAssetsLoadedCommand::new","ca/confidant/glory/controller/HandleAssetsLoadedCommand.hx",23); -{ - HX_STACK_LINE(23) - super::__construct(); -} -; - return null(); -} - -HandleAssetsLoadedCommand_obj::~HandleAssetsLoadedCommand_obj() { } - -Dynamic HandleAssetsLoadedCommand_obj::__CreateEmpty() { return new HandleAssetsLoadedCommand_obj; } -hx::ObjectPtr< HandleAssetsLoadedCommand_obj > HandleAssetsLoadedCommand_obj::__new() -{ hx::ObjectPtr< HandleAssetsLoadedCommand_obj > result = new HandleAssetsLoadedCommand_obj(); - result->__construct(); - return result;} - -Dynamic HandleAssetsLoadedCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< HandleAssetsLoadedCommand_obj > result = new HandleAssetsLoadedCommand_obj(); - result->__construct(); - return result;} - -Void HandleAssetsLoadedCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("HandleAssetsLoadedCommand::execute","ca/confidant/glory/controller/HandleAssetsLoadedCommand.hx",28); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(29) - ::haxe::Log_obj::trace(HX_CSTRING("HandleAssetsLoadedCommand"),hx::SourceInfo(HX_CSTRING("HandleAssetsLoadedCommand.hx"),29,HX_CSTRING("ca.confidant.glory.controller.HandleAssetsLoadedCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(30) - ::ca::confidant::glory::model::LoaderProxy lp = hx::TCast< ca::confidant::glory::model::LoaderProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::LoaderProxy_obj::NAME)); HX_STACK_VAR(lp,"lp"); - HX_STACK_LINE(32) - ::String assetID = hx::TCast< String >::cast(note->getBody()); HX_STACK_VAR(assetID,"assetID"); - HX_STACK_LINE(34) - if (((assetID == HX_CSTRING("xml")))){ - HX_STACK_LINE(35) - ::ca::confidant::glory::model::PagesConfigProxy pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); HX_STACK_VAR(pcp,"pcp"); - HX_STACK_LINE(36) - pcp->loadXML(lp->retrieveLoadedAsset(assetID)); - } - } -return null(); -} - - - -HandleAssetsLoadedCommand_obj::HandleAssetsLoadedCommand_obj() -{ -} - -void HandleAssetsLoadedCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(HandleAssetsLoadedCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void HandleAssetsLoadedCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic HandleAssetsLoadedCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic HandleAssetsLoadedCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void HandleAssetsLoadedCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(HandleAssetsLoadedCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(HandleAssetsLoadedCommand_obj::__mClass,"__mClass"); -}; - -Class HandleAssetsLoadedCommand_obj::__mClass; - -void HandleAssetsLoadedCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.HandleAssetsLoadedCommand"), hx::TCanCast< HandleAssetsLoadedCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void HandleAssetsLoadedCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/RemovePageCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/RemovePageCommand.cpp deleted file mode 100644 index 959b61f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/RemovePageCommand.cpp +++ /dev/null @@ -1,241 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_RemovePageCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_PageMediator -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void RemovePageCommand_obj::__construct() -{ -HX_STACK_PUSH("RemovePageCommand::new","ca/confidant/glory/controller/RemovePageCommand.hx",24); -{ - HX_STACK_LINE(24) - super::__construct(); -} -; - return null(); -} - -RemovePageCommand_obj::~RemovePageCommand_obj() { } - -Dynamic RemovePageCommand_obj::__CreateEmpty() { return new RemovePageCommand_obj; } -hx::ObjectPtr< RemovePageCommand_obj > RemovePageCommand_obj::__new() -{ hx::ObjectPtr< RemovePageCommand_obj > result = new RemovePageCommand_obj(); - result->__construct(); - return result;} - -Dynamic RemovePageCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< RemovePageCommand_obj > result = new RemovePageCommand_obj(); - result->__construct(); - return result;} - -Void RemovePageCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("RemovePageCommand::execute","ca/confidant/glory/controller/RemovePageCommand.hx",30); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(31) - ::String pageId = hx::TCast< String >::cast(note->getBody()); HX_STACK_VAR(pageId,"pageId"); - HX_STACK_LINE(33) - this->pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); - HX_STACK_LINE(34) - this->appMediator = hx::TCast< ca::confidant::glory::view::ApplicationMediator >::cast(this->facade->retrieveMediator(HX_CSTRING("ApplicationMediator"))); - HX_STACK_LINE(35) - this->crp = hx::TCast< ca::confidant::glory::model::ControlsRegistryProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::ControlsRegistryProxy_obj::NAME)); - HX_STACK_LINE(40) - ::ca::confidant::glory::view::PageMediator pageMediator = hx::TCast< ca::confidant::glory::view::PageMediator >::cast(this->facade->retrieveMediator(pageId)); HX_STACK_VAR(pageMediator,"pageMediator"); - HX_STACK_LINE(41) - ::neash::display::Sprite s = hx::TCast< neash::display::Sprite >::cast(pageMediator->getViewComponent()); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(45) - while(((s->nmeGetNumChildren() > (int)0))){ - HX_STACK_LINE(46) - ::neash::display::DisplayObject child = s->getChildAt((int)0); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(47) - if ((this->facade->hasMediator(child->nmeGetName()))){ - HX_STACK_LINE(47) - this->facade->removeMediator(child->nmeGetName()); - } - HX_STACK_LINE(50) - if ((this->facade->hasProxy(child->nmeGetName()))){ - HX_STACK_LINE(50) - this->facade->removeProxy(child->nmeGetName()); - } - HX_STACK_LINE(53) - s->removeChild(child); - HX_STACK_LINE(54) - child = null(); - } - HX_STACK_LINE(58) - pageMediator = null(); - HX_STACK_LINE(59) - this->facade->removeMediator(pageId); - HX_STACK_LINE(62) - this->appMediator->removeDisplayObject(s); - HX_STACK_LINE(63) - s = null(); - } -return null(); -} - - - -RemovePageCommand_obj::RemovePageCommand_obj() -{ -} - -void RemovePageCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(RemovePageCommand); - HX_MARK_MEMBER_NAME(crp,"crp"); - HX_MARK_MEMBER_NAME(appMediator,"appMediator"); - HX_MARK_MEMBER_NAME(pcp,"pcp"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void RemovePageCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(crp,"crp"); - HX_VISIT_MEMBER_NAME(appMediator,"appMediator"); - HX_VISIT_MEMBER_NAME(pcp,"pcp"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic RemovePageCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"crp") ) { return crp; } - if (HX_FIELD_EQ(inName,"pcp") ) { return pcp; } - break; - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { return appMediator; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic RemovePageCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"crp") ) { crp=inValue.Cast< ::ca::confidant::glory::model::ControlsRegistryProxy >(); return inValue; } - if (HX_FIELD_EQ(inName,"pcp") ) { pcp=inValue.Cast< ::ca::confidant::glory::model::PagesConfigProxy >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { appMediator=inValue.Cast< ::ca::confidant::glory::view::ApplicationMediator >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void RemovePageCommand_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("crp")); - outFields->push(HX_CSTRING("appMediator")); - outFields->push(HX_CSTRING("pcp")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - HX_CSTRING("crp"), - HX_CSTRING("appMediator"), - HX_CSTRING("pcp"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(RemovePageCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(RemovePageCommand_obj::__mClass,"__mClass"); -}; - -Class RemovePageCommand_obj::__mClass; - -void RemovePageCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.RemovePageCommand"), hx::TCanCast< RemovePageCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void RemovePageCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.cpp deleted file mode 100644 index f84a0ad..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.cpp +++ /dev/null @@ -1,175 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_BuildControlsCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_BuildPageCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_ChangePageCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_GotoIntroCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_HandleAssetsLoadedCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_RemovePageCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_Startup0_RegCommands_Command -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_TimerDisableCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_TimerEnableCommand -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void Startup0_RegCommands_Command_obj::__construct() -{ -HX_STACK_PUSH("Startup0_RegCommands_Command::new","ca/confidant/glory/controller/Startup0_RegCommands_Command.hx",20); -{ - HX_STACK_LINE(20) - super::__construct(); -} -; - return null(); -} - -Startup0_RegCommands_Command_obj::~Startup0_RegCommands_Command_obj() { } - -Dynamic Startup0_RegCommands_Command_obj::__CreateEmpty() { return new Startup0_RegCommands_Command_obj; } -hx::ObjectPtr< Startup0_RegCommands_Command_obj > Startup0_RegCommands_Command_obj::__new() -{ hx::ObjectPtr< Startup0_RegCommands_Command_obj > result = new Startup0_RegCommands_Command_obj(); - result->__construct(); - return result;} - -Dynamic Startup0_RegCommands_Command_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Startup0_RegCommands_Command_obj > result = new Startup0_RegCommands_Command_obj(); - result->__construct(); - return result;} - -Void Startup0_RegCommands_Command_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("Startup0_RegCommands_Command::execute","ca/confidant/glory/controller/Startup0_RegCommands_Command.hx",24); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(25) - ::haxe::Log_obj::trace(HX_CSTRING("startup0"),hx::SourceInfo(HX_CSTRING("Startup0_RegCommands_Command.hx"),25,HX_CSTRING("ca.confidant.glory.controller.Startup0_RegCommands_Command"),HX_CSTRING("execute"))); - HX_STACK_LINE(26) - this->facade->registerCommand(HX_CSTRING("assetsLoaded"),hx::ClassOf< ::ca::confidant::glory::controller::HandleAssetsLoadedCommand >()); - HX_STACK_LINE(27) - this->facade->registerCommand(HX_CSTRING("pagesConfigReady"),hx::ClassOf< ::ca::confidant::glory::controller::GotoIntroCommand >()); - HX_STACK_LINE(28) - this->facade->registerCommand(HX_CSTRING("buildControls"),hx::ClassOf< ::ca::confidant::glory::controller::BuildControlsCommand >()); - HX_STACK_LINE(29) - this->facade->registerCommand(HX_CSTRING("buildPage"),hx::ClassOf< ::ca::confidant::glory::controller::BuildPageCommand >()); - HX_STACK_LINE(30) - this->facade->registerCommand(HX_CSTRING("removePage"),hx::ClassOf< ::ca::confidant::glory::controller::RemovePageCommand >()); - HX_STACK_LINE(31) - this->facade->registerCommand(HX_CSTRING("changePage"),hx::ClassOf< ::ca::confidant::glory::controller::ChangePageCommand >()); - HX_STACK_LINE(33) - this->facade->registerCommand(HX_CSTRING("timerEnable"),hx::ClassOf< ::ca::confidant::glory::controller::TimerEnableCommand >()); - HX_STACK_LINE(34) - this->facade->registerCommand(HX_CSTRING("timerDisable"),hx::ClassOf< ::ca::confidant::glory::controller::TimerDisableCommand >()); - } -return null(); -} - - - -Startup0_RegCommands_Command_obj::Startup0_RegCommands_Command_obj() -{ -} - -void Startup0_RegCommands_Command_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Startup0_RegCommands_Command); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Startup0_RegCommands_Command_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Startup0_RegCommands_Command_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Startup0_RegCommands_Command_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Startup0_RegCommands_Command_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Startup0_RegCommands_Command_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Startup0_RegCommands_Command_obj::__mClass,"__mClass"); -}; - -Class Startup0_RegCommands_Command_obj::__mClass; - -void Startup0_RegCommands_Command_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.Startup0_RegCommands_Command"), hx::TCanCast< Startup0_RegCommands_Command_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Startup0_RegCommands_Command_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/Startup1_App_Command.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/Startup1_App_Command.cpp deleted file mode 100644 index 3d3ab22..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/Startup1_App_Command.cpp +++ /dev/null @@ -1,174 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_Startup1_App_Command -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void Startup1_App_Command_obj::__construct() -{ -HX_STACK_PUSH("Startup1_App_Command::new","ca/confidant/glory/controller/Startup1_App_Command.hx",13); -{ - HX_STACK_LINE(13) - super::__construct(); -} -; - return null(); -} - -Startup1_App_Command_obj::~Startup1_App_Command_obj() { } - -Dynamic Startup1_App_Command_obj::__CreateEmpty() { return new Startup1_App_Command_obj; } -hx::ObjectPtr< Startup1_App_Command_obj > Startup1_App_Command_obj::__new() -{ hx::ObjectPtr< Startup1_App_Command_obj > result = new Startup1_App_Command_obj(); - result->__construct(); - return result;} - -Dynamic Startup1_App_Command_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Startup1_App_Command_obj > result = new Startup1_App_Command_obj(); - result->__construct(); - return result;} - -Void Startup1_App_Command_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("Startup1_App_Command::execute","ca/confidant/glory/controller/Startup1_App_Command.hx",17); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(18) - ::haxe::Log_obj::trace(HX_CSTRING("startup1"),hx::SourceInfo(HX_CSTRING("Startup1_App_Command.hx"),18,HX_CSTRING("ca.confidant.glory.controller.Startup1_App_Command"),HX_CSTRING("execute"))); - HX_STACK_LINE(19) - ::ca::confidant::glory::GloryFrameworkApp app = hx::TCast< ca::confidant::glory::GloryFrameworkApp >::cast(note->getBody()); HX_STACK_VAR(app,"app"); - HX_STACK_LINE(20) - ::ca::confidant::glory::view::ApplicationMediator appMediator = ::ca::confidant::glory::view::ApplicationMediator_obj::__new(app); HX_STACK_VAR(appMediator,"appMediator"); - HX_STACK_LINE(21) - this->facade->registerMediator(appMediator); - } -return null(); -} - - - -Startup1_App_Command_obj::Startup1_App_Command_obj() -{ -} - -void Startup1_App_Command_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Startup1_App_Command); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Startup1_App_Command_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Startup1_App_Command_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Startup1_App_Command_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Startup1_App_Command_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Startup1_App_Command_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Startup1_App_Command_obj::__mClass,"__mClass"); -}; - -Class Startup1_App_Command_obj::__mClass; - -void Startup1_App_Command_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.Startup1_App_Command"), hx::TCanCast< Startup1_App_Command_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Startup1_App_Command_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/Startup2_Proxies_Command.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/Startup2_Proxies_Command.cpp deleted file mode 100644 index 5c03aeb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/Startup2_Proxies_Command.cpp +++ /dev/null @@ -1,160 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_Startup2_Proxies_Command -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void Startup2_Proxies_Command_obj::__construct() -{ -HX_STACK_PUSH("Startup2_Proxies_Command::new","ca/confidant/glory/controller/Startup2_Proxies_Command.hx",17); -{ - HX_STACK_LINE(17) - super::__construct(); -} -; - return null(); -} - -Startup2_Proxies_Command_obj::~Startup2_Proxies_Command_obj() { } - -Dynamic Startup2_Proxies_Command_obj::__CreateEmpty() { return new Startup2_Proxies_Command_obj; } -hx::ObjectPtr< Startup2_Proxies_Command_obj > Startup2_Proxies_Command_obj::__new() -{ hx::ObjectPtr< Startup2_Proxies_Command_obj > result = new Startup2_Proxies_Command_obj(); - result->__construct(); - return result;} - -Dynamic Startup2_Proxies_Command_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Startup2_Proxies_Command_obj > result = new Startup2_Proxies_Command_obj(); - result->__construct(); - return result;} - -Void Startup2_Proxies_Command_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("Startup2_Proxies_Command::execute","ca/confidant/glory/controller/Startup2_Proxies_Command.hx",22); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(23) - ::haxe::Log_obj::trace(HX_CSTRING("startup2"),hx::SourceInfo(HX_CSTRING("Startup2_Proxies_Command.hx"),23,HX_CSTRING("ca.confidant.glory.controller.Startup2_Proxies_Command"),HX_CSTRING("execute"))); - HX_STACK_LINE(24) - this->facade->registerProxy(::ca::confidant::glory::model::PagesConfigProxy_obj::__new()); - HX_STACK_LINE(25) - this->facade->registerProxy(::ca::confidant::glory::model::ControlsRegistryProxy_obj::__new()); - HX_STACK_LINE(27) - ::ca::confidant::glory::model::LoaderProxy lp = ::ca::confidant::glory::model::LoaderProxy_obj::__new(); HX_STACK_VAR(lp,"lp"); - HX_STACK_LINE(28) - this->facade->registerProxy(lp); - HX_STACK_LINE(30) - lp->loadXML(HX_CSTRING("assets/config.xml")); - } -return null(); -} - - - -Startup2_Proxies_Command_obj::Startup2_Proxies_Command_obj() -{ -} - -void Startup2_Proxies_Command_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Startup2_Proxies_Command); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Startup2_Proxies_Command_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Startup2_Proxies_Command_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Startup2_Proxies_Command_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Startup2_Proxies_Command_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Startup2_Proxies_Command_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Startup2_Proxies_Command_obj::__mClass,"__mClass"); -}; - -Class Startup2_Proxies_Command_obj::__mClass; - -void Startup2_Proxies_Command_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.Startup2_Proxies_Command"), hx::TCanCast< Startup2_Proxies_Command_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Startup2_Proxies_Command_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/StartupCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/StartupCommand.cpp deleted file mode 100644 index 382faf0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/StartupCommand.cpp +++ /dev/null @@ -1,141 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_Startup0_RegCommands_Command -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_Startup1_App_Command -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_Startup2_Proxies_Command -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_StartupCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_MacroCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void StartupCommand_obj::__construct() -{ -HX_STACK_PUSH("StartupCommand::new","ca/confidant/glory/controller/StartupCommand.hx",14); -{ - HX_STACK_LINE(14) - super::__construct(); -} -; - return null(); -} - -StartupCommand_obj::~StartupCommand_obj() { } - -Dynamic StartupCommand_obj::__CreateEmpty() { return new StartupCommand_obj; } -hx::ObjectPtr< StartupCommand_obj > StartupCommand_obj::__new() -{ hx::ObjectPtr< StartupCommand_obj > result = new StartupCommand_obj(); - result->__construct(); - return result;} - -Dynamic StartupCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< StartupCommand_obj > result = new StartupCommand_obj(); - result->__construct(); - return result;} - -Void StartupCommand_obj::initializeMacroCommand( ){ -{ - HX_STACK_PUSH("StartupCommand::initializeMacroCommand","ca/confidant/glory/controller/StartupCommand.hx",19); - HX_STACK_THIS(this); - HX_STACK_LINE(21) - this->addSubCommand(hx::ClassOf< ::ca::confidant::glory::controller::Startup0_RegCommands_Command >()); - HX_STACK_LINE(22) - this->addSubCommand(hx::ClassOf< ::ca::confidant::glory::controller::Startup1_App_Command >()); - HX_STACK_LINE(23) - this->addSubCommand(hx::ClassOf< ::ca::confidant::glory::controller::Startup2_Proxies_Command >()); - } -return null(); -} - - - -StartupCommand_obj::StartupCommand_obj() -{ -} - -void StartupCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(StartupCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void StartupCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic StartupCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 22: - if (HX_FIELD_EQ(inName,"initializeMacroCommand") ) { return initializeMacroCommand_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic StartupCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void StartupCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("initializeMacroCommand"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StartupCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StartupCommand_obj::__mClass,"__mClass"); -}; - -Class StartupCommand_obj::__mClass; - -void StartupCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.StartupCommand"), hx::TCanCast< StartupCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void StartupCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/TimerDisableCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/TimerDisableCommand.cpp deleted file mode 100644 index 5b288ce..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/TimerDisableCommand.cpp +++ /dev/null @@ -1,153 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_TimerDisableCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_TickerProxy -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void TimerDisableCommand_obj::__construct() -{ -HX_STACK_PUSH("TimerDisableCommand::new","ca/confidant/glory/controller/TimerDisableCommand.hx",16); -{ - HX_STACK_LINE(16) - super::__construct(); -} -; - return null(); -} - -TimerDisableCommand_obj::~TimerDisableCommand_obj() { } - -Dynamic TimerDisableCommand_obj::__CreateEmpty() { return new TimerDisableCommand_obj; } -hx::ObjectPtr< TimerDisableCommand_obj > TimerDisableCommand_obj::__new() -{ hx::ObjectPtr< TimerDisableCommand_obj > result = new TimerDisableCommand_obj(); - result->__construct(); - return result;} - -Dynamic TimerDisableCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TimerDisableCommand_obj > result = new TimerDisableCommand_obj(); - result->__construct(); - return result;} - -Void TimerDisableCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("TimerDisableCommand::execute","ca/confidant/glory/controller/TimerDisableCommand.hx",20); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(21) - ::haxe::Log_obj::trace(HX_CSTRING("TimerDisableCommand"),hx::SourceInfo(HX_CSTRING("TimerDisableCommand.hx"),21,HX_CSTRING("ca.confidant.glory.controller.TimerDisableCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(22) - if ((this->facade->hasProxy(::ca::confidant::glory::model::TickerProxy_obj::NAME))){ - HX_STACK_LINE(24) - ::ca::confidant::glory::model::TickerProxy p; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(25) - p = hx::TCast< ca::confidant::glory::model::TickerProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::TickerProxy_obj::NAME)); - HX_STACK_LINE(26) - p->stopTimer(); - } - } -return null(); -} - - - -TimerDisableCommand_obj::TimerDisableCommand_obj() -{ -} - -void TimerDisableCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TimerDisableCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void TimerDisableCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic TimerDisableCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TimerDisableCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void TimerDisableCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TimerDisableCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TimerDisableCommand_obj::__mClass,"__mClass"); -}; - -Class TimerDisableCommand_obj::__mClass; - -void TimerDisableCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.TimerDisableCommand"), hx::TCanCast< TimerDisableCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TimerDisableCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/TimerEnableCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/TimerEnableCommand.cpp deleted file mode 100644 index 808bb33..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/controller/TimerEnableCommand.cpp +++ /dev/null @@ -1,156 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_TimerEnableCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_TickerProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void TimerEnableCommand_obj::__construct() -{ -HX_STACK_PUSH("TimerEnableCommand::new","ca/confidant/glory/controller/TimerEnableCommand.hx",13); -{ - HX_STACK_LINE(13) - super::__construct(); -} -; - return null(); -} - -TimerEnableCommand_obj::~TimerEnableCommand_obj() { } - -Dynamic TimerEnableCommand_obj::__CreateEmpty() { return new TimerEnableCommand_obj; } -hx::ObjectPtr< TimerEnableCommand_obj > TimerEnableCommand_obj::__new() -{ hx::ObjectPtr< TimerEnableCommand_obj > result = new TimerEnableCommand_obj(); - result->__construct(); - return result;} - -Dynamic TimerEnableCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TimerEnableCommand_obj > result = new TimerEnableCommand_obj(); - result->__construct(); - return result;} - -Void TimerEnableCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("TimerEnableCommand::execute","ca/confidant/glory/controller/TimerEnableCommand.hx",20); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(22) - ::ca::confidant::glory::model::TickerProxy p; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(23) - if ((!(this->facade->hasProxy(::ca::confidant::glory::model::TickerProxy_obj::NAME)))){ - HX_STACK_LINE(25) - p = ::ca::confidant::glory::model::TickerProxy_obj::__new(); - HX_STACK_LINE(26) - this->facade->registerProxy(p); - } - else{ - HX_STACK_LINE(27) - p = hx::TCast< ca::confidant::glory::model::TickerProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::TickerProxy_obj::NAME)); - } - HX_STACK_LINE(31) - int interval = hx::TCast< Int >::cast(note->getBody()); HX_STACK_VAR(interval,"interval"); - HX_STACK_LINE(32) - p->startTimer(interval); - } -return null(); -} - - - -TimerEnableCommand_obj::TimerEnableCommand_obj() -{ -} - -void TimerEnableCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TimerEnableCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void TimerEnableCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic TimerEnableCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TimerEnableCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void TimerEnableCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TimerEnableCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TimerEnableCommand_obj::__mClass,"__mClass"); -}; - -Class TimerEnableCommand_obj::__mClass; - -void TimerEnableCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.TimerEnableCommand"), hx::TCanCast< TimerEnableCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TimerEnableCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/model/ActorComponentConfigProxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/model/ActorComponentConfigProxy.cpp deleted file mode 100644 index 6e7ba8e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/model/ActorComponentConfigProxy.cpp +++ /dev/null @@ -1,136 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_model_ActorComponentConfigProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - -Void ActorComponentConfigProxy_obj::__construct(::String id,::String theType,::String __o_theAction) -{ -HX_STACK_PUSH("ActorComponentConfigProxy::new","ca/confidant/glory/model/ActorComponentConfigProxy.hx",20); -::String theAction = __o_theAction.Default(HX_CSTRING("")); -{ - HX_STACK_LINE(21) - super::__construct(id,null()); - HX_STACK_LINE(22) - this->type = theType; - HX_STACK_LINE(23) - this->action = theAction; -} -; - return null(); -} - -ActorComponentConfigProxy_obj::~ActorComponentConfigProxy_obj() { } - -Dynamic ActorComponentConfigProxy_obj::__CreateEmpty() { return new ActorComponentConfigProxy_obj; } -hx::ObjectPtr< ActorComponentConfigProxy_obj > ActorComponentConfigProxy_obj::__new(::String id,::String theType,::String __o_theAction) -{ hx::ObjectPtr< ActorComponentConfigProxy_obj > result = new ActorComponentConfigProxy_obj(); - result->__construct(id,theType,__o_theAction); - return result;} - -Dynamic ActorComponentConfigProxy_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ActorComponentConfigProxy_obj > result = new ActorComponentConfigProxy_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - - -ActorComponentConfigProxy_obj::ActorComponentConfigProxy_obj() -{ -} - -void ActorComponentConfigProxy_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ActorComponentConfigProxy); - HX_MARK_MEMBER_NAME(action,"action"); - HX_MARK_MEMBER_NAME(type,"type"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ActorComponentConfigProxy_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(action,"action"); - HX_VISIT_MEMBER_NAME(type,"type"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ActorComponentConfigProxy_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { return type; } - break; - case 6: - if (HX_FIELD_EQ(inName,"action") ) { return action; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ActorComponentConfigProxy_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"action") ) { action=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ActorComponentConfigProxy_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("action")); - outFields->push(HX_CSTRING("type")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("action"), - HX_CSTRING("type"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ActorComponentConfigProxy_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ActorComponentConfigProxy_obj::__mClass,"__mClass"); -}; - -Class ActorComponentConfigProxy_obj::__mClass; - -void ActorComponentConfigProxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.model.ActorComponentConfigProxy"), hx::TCanCast< ActorComponentConfigProxy_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ActorComponentConfigProxy_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/model/ControlsRegistryProxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/model/ControlsRegistryProxy.cpp deleted file mode 100644 index a28402c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/model/ControlsRegistryProxy.cpp +++ /dev/null @@ -1,194 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - -Void ControlsRegistryProxy_obj::__construct() -{ -HX_STACK_PUSH("ControlsRegistryProxy::new","ca/confidant/glory/model/ControlsRegistryProxy.hx",21); -{ - HX_STACK_LINE(22) - super::__construct(::ca::confidant::glory::model::ControlsRegistryProxy_obj::NAME,null()); - HX_STACK_LINE(24) - this->controls = Array_obj< ::neash::display::DisplayObject >::__new(); - HX_STACK_LINE(25) - ::haxe::Log_obj::trace(HX_CSTRING("ControlsRegistryProxy!"),hx::SourceInfo(HX_CSTRING("ControlsRegistryProxy.hx"),25,HX_CSTRING("ca.confidant.glory.model.ControlsRegistryProxy"),HX_CSTRING("new"))); -} -; - return null(); -} - -ControlsRegistryProxy_obj::~ControlsRegistryProxy_obj() { } - -Dynamic ControlsRegistryProxy_obj::__CreateEmpty() { return new ControlsRegistryProxy_obj; } -hx::ObjectPtr< ControlsRegistryProxy_obj > ControlsRegistryProxy_obj::__new() -{ hx::ObjectPtr< ControlsRegistryProxy_obj > result = new ControlsRegistryProxy_obj(); - result->__construct(); - return result;} - -Dynamic ControlsRegistryProxy_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ControlsRegistryProxy_obj > result = new ControlsRegistryProxy_obj(); - result->__construct(); - return result;} - -Void ControlsRegistryProxy_obj::registerControl( ::neash::display::DisplayObject d){ -{ - HX_STACK_PUSH("ControlsRegistryProxy::registerControl","ca/confidant/glory/model/ControlsRegistryProxy.hx",31); - HX_STACK_THIS(this); - HX_STACK_ARG(d,"d"); - HX_STACK_LINE(31) - this->controls->push(d); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ControlsRegistryProxy_obj,registerControl,(void)) - -Array< ::neash::display::DisplayObject > ControlsRegistryProxy_obj::getControls( ){ - HX_STACK_PUSH("ControlsRegistryProxy::getControls","ca/confidant/glory/model/ControlsRegistryProxy.hx",27); - HX_STACK_THIS(this); - HX_STACK_LINE(28) - ::haxe::Log_obj::trace(HX_CSTRING("crp:getControls"),hx::SourceInfo(HX_CSTRING("ControlsRegistryProxy.hx"),28,HX_CSTRING("ca.confidant.glory.model.ControlsRegistryProxy"),HX_CSTRING("getControls"))); - HX_STACK_LINE(29) - return this->controls; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ControlsRegistryProxy_obj,getControls,return ) - -::String ControlsRegistryProxy_obj::NAME; - - -ControlsRegistryProxy_obj::ControlsRegistryProxy_obj() -{ -} - -void ControlsRegistryProxy_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ControlsRegistryProxy); - HX_MARK_MEMBER_NAME(controls,"controls"); - HX_MARK_MEMBER_NAME(currentPage,"currentPage"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ControlsRegistryProxy_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(controls,"controls"); - HX_VISIT_MEMBER_NAME(currentPage,"currentPage"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ControlsRegistryProxy_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - break; - case 8: - if (HX_FIELD_EQ(inName,"controls") ) { return controls; } - break; - case 11: - if (HX_FIELD_EQ(inName,"getControls") ) { return getControls_dyn(); } - if (HX_FIELD_EQ(inName,"currentPage") ) { return currentPage; } - break; - case 15: - if (HX_FIELD_EQ(inName,"registerControl") ) { return registerControl_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ControlsRegistryProxy_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"controls") ) { controls=inValue.Cast< Array< ::neash::display::DisplayObject > >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"currentPage") ) { currentPage=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ControlsRegistryProxy_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("controls")); - outFields->push(HX_CSTRING("currentPage")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("registerControl"), - HX_CSTRING("getControls"), - HX_CSTRING("controls"), - HX_CSTRING("currentPage"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ControlsRegistryProxy_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ControlsRegistryProxy_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ControlsRegistryProxy_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ControlsRegistryProxy_obj::NAME,"NAME"); -}; - -Class ControlsRegistryProxy_obj::__mClass; - -void ControlsRegistryProxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.model.ControlsRegistryProxy"), hx::TCanCast< ControlsRegistryProxy_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ControlsRegistryProxy_obj::__boot() -{ - NAME= HX_CSTRING("ControlsRegistryProxy"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/model/LoaderProxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/model/LoaderProxy.cpp deleted file mode 100644 index 545276f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/model/LoaderProxy.cpp +++ /dev/null @@ -1,244 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_nme_installer_Assets -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - -Void LoaderProxy_obj::__construct() -{ -HX_STACK_PUSH("LoaderProxy::new","ca/confidant/glory/model/LoaderProxy.hx",28); -{ - HX_STACK_LINE(29) - super::__construct(::ca::confidant::glory::model::LoaderProxy_obj::NAME,null()); - HX_STACK_LINE(30) - this->loadedItems = ::Hash_obj::__new(); -} -; - return null(); -} - -LoaderProxy_obj::~LoaderProxy_obj() { } - -Dynamic LoaderProxy_obj::__CreateEmpty() { return new LoaderProxy_obj; } -hx::ObjectPtr< LoaderProxy_obj > LoaderProxy_obj::__new() -{ hx::ObjectPtr< LoaderProxy_obj > result = new LoaderProxy_obj(); - result->__construct(); - return result;} - -Dynamic LoaderProxy_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< LoaderProxy_obj > result = new LoaderProxy_obj(); - result->__construct(); - return result;} - -Void LoaderProxy_obj::loadAllAssets( ){ -{ - HX_STACK_PUSH("LoaderProxy::loadAllAssets","ca/confidant/glory/model/LoaderProxy.hx",68); - HX_STACK_THIS(this); - HX_STACK_LINE(68) - this->sendNotification(HX_CSTRING("assetsLoaded"),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(LoaderProxy_obj,loadAllAssets,(void)) - -::neash::display::BitmapData LoaderProxy_obj::getBitmapData( ::String id,hx::Null< bool > __o_b){ -bool b = __o_b.Default(true); - HX_STACK_PUSH("LoaderProxy::getBitmapData","ca/confidant/glory/model/LoaderProxy.hx",60); - HX_STACK_THIS(this); - HX_STACK_ARG(id,"id"); - HX_STACK_ARG(b,"b"); -{ - HX_STACK_LINE(61) - ::neash::display::BitmapData imageData = ::nme::installer::Assets_obj::getBitmapData(id,b); HX_STACK_VAR(imageData,"imageData"); - HX_STACK_LINE(62) - return imageData; - } -} - - -HX_DEFINE_DYNAMIC_FUNC2(LoaderProxy_obj,getBitmapData,return ) - -::String LoaderProxy_obj::getText( ::String id){ - HX_STACK_PUSH("LoaderProxy::getText","ca/confidant/glory/model/LoaderProxy.hx",55); - HX_STACK_THIS(this); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(56) - ::String theText = ::nme::installer::Assets_obj::getText(id); HX_STACK_VAR(theText,"theText"); - HX_STACK_LINE(57) - return theText; -} - - -HX_DEFINE_DYNAMIC_FUNC1(LoaderProxy_obj,getText,return ) - -Dynamic LoaderProxy_obj::retrieveLoadedAsset( ::String key){ - HX_STACK_PUSH("LoaderProxy::retrieveLoadedAsset","ca/confidant/glory/model/LoaderProxy.hx",48); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(50) - ::haxe::Log_obj::trace((HX_CSTRING("retrieving:") + key),hx::SourceInfo(HX_CSTRING("LoaderProxy.hx"),50,HX_CSTRING("ca.confidant.glory.model.LoaderProxy"),HX_CSTRING("retrieveLoadedAsset"))); - HX_STACK_LINE(51) - ::String r = this->loadedItems->get(key); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(52) - this->loadedItems->remove(key); - HX_STACK_LINE(53) - return r; -} - - -HX_DEFINE_DYNAMIC_FUNC1(LoaderProxy_obj,retrieveLoadedAsset,return ) - -Void LoaderProxy_obj::loadXML( ::String src){ -{ - HX_STACK_PUSH("LoaderProxy::loadXML","ca/confidant/glory/model/LoaderProxy.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(src,"src"); - HX_STACK_LINE(43) - ::String x = ::nme::installer::Assets_obj::getText(src); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(44) - this->loadedItems->set(HX_CSTRING("xml"),x); - HX_STACK_LINE(46) - this->sendNotification(HX_CSTRING("assetsLoaded"),HX_CSTRING("xml"),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(LoaderProxy_obj,loadXML,(void)) - -::String LoaderProxy_obj::NAME; - - -LoaderProxy_obj::LoaderProxy_obj() -{ -} - -void LoaderProxy_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(LoaderProxy); - HX_MARK_MEMBER_NAME(loadedItems,"loadedItems"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void LoaderProxy_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(loadedItems,"loadedItems"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic LoaderProxy_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getText") ) { return getText_dyn(); } - if (HX_FIELD_EQ(inName,"loadXML") ) { return loadXML_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"loadedItems") ) { return loadedItems; } - break; - case 13: - if (HX_FIELD_EQ(inName,"loadAllAssets") ) { return loadAllAssets_dyn(); } - if (HX_FIELD_EQ(inName,"getBitmapData") ) { return getBitmapData_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"retrieveLoadedAsset") ) { return retrieveLoadedAsset_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic LoaderProxy_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"loadedItems") ) { loadedItems=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void LoaderProxy_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("loadedItems")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("loadAllAssets"), - HX_CSTRING("getBitmapData"), - HX_CSTRING("getText"), - HX_CSTRING("retrieveLoadedAsset"), - HX_CSTRING("loadXML"), - HX_CSTRING("loadedItems"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(LoaderProxy_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(LoaderProxy_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(LoaderProxy_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(LoaderProxy_obj::NAME,"NAME"); -}; - -Class LoaderProxy_obj::__mClass; - -void LoaderProxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.model.LoaderProxy"), hx::TCanCast< LoaderProxy_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void LoaderProxy_obj::__boot() -{ - NAME= HX_CSTRING("LoaderProxy"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/model/PagesConfigProxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/model/PagesConfigProxy.cpp deleted file mode 100644 index a0c460a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/model/PagesConfigProxy.cpp +++ /dev/null @@ -1,654 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasAttribAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasNodeAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_NodeAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_NodeListAccess -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - -Void PagesConfigProxy_obj::__construct() -{ -HX_STACK_PUSH("PagesConfigProxy::new","ca/confidant/glory/model/PagesConfigProxy.hx",33); -{ - HX_STACK_LINE(33) - super::__construct(HX_CSTRING("pagesConfigProxy"),null()); -} -; - return null(); -} - -PagesConfigProxy_obj::~PagesConfigProxy_obj() { } - -Dynamic PagesConfigProxy_obj::__CreateEmpty() { return new PagesConfigProxy_obj; } -hx::ObjectPtr< PagesConfigProxy_obj > PagesConfigProxy_obj::__new() -{ hx::ObjectPtr< PagesConfigProxy_obj > result = new PagesConfigProxy_obj(); - result->__construct(); - return result;} - -Dynamic PagesConfigProxy_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< PagesConfigProxy_obj > result = new PagesConfigProxy_obj(); - result->__construct(); - return result;} - -::Xml PagesConfigProxy_obj::pagesXML( ){ - HX_STACK_PUSH("PagesConfigProxy::pagesXML","ca/confidant/glory/model/PagesConfigProxy.hx",205); - HX_STACK_THIS(this); - HX_STACK_LINE(205) - return this->_pagesXML; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,pagesXML,return ) - -Dynamic PagesConfigProxy_obj::getConfigXML( int i){ - HX_STACK_PUSH("PagesConfigProxy::getConfigXML","ca/confidant/glory/model/PagesConfigProxy.hx",199); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); - HX_STACK_LINE(199) - return this->randomPicks->__GetItem(i)->__Field(HX_CSTRING("config"),true); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getConfigXML,return ) - -Void PagesConfigProxy_obj::parseXML( ){ -{ - HX_STACK_PUSH("PagesConfigProxy::parseXML","ca/confidant/glory/model/PagesConfigProxy.hx",168); - HX_STACK_THIS(this); - HX_STACK_LINE(169) - this->allPages = Array_obj< ::Hash >::__new(); - HX_STACK_LINE(171) - this->imageItems = Dynamic( Array_obj::__new() ); - HX_STACK_LINE(175) - for(::cpp::FastIterator_obj< ::haxe::xml::Fast > *__it = ::cpp::CreateFastIterator< ::haxe::xml::Fast >(this->fast->nodes->resolve(HX_CSTRING("page"))->iterator()); __it->hasNext(); ){ - ::haxe::xml::Fast thispage = __it->next(); - { - HX_STACK_LINE(176) - ::Hash h = ::Hash_obj::__new(); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(177) - if ((thispage->has->resolve(HX_CSTRING("id")))){ - HX_STACK_LINE(177) - h->set(HX_CSTRING("id"),thispage->att->resolve(HX_CSTRING("id"))); - } - HX_STACK_LINE(180) - if ((thispage->has->resolve(HX_CSTRING("src")))){ - HX_STACK_LINE(180) - h->set(HX_CSTRING("src"),thispage->att->resolve(HX_CSTRING("src"))); - } - HX_STACK_LINE(181) - if ((thispage->has->resolve(HX_CSTRING("type")))){ - HX_STACK_LINE(181) - h->set(HX_CSTRING("type"),thispage->att->resolve(HX_CSTRING("type"))); - } - HX_STACK_LINE(182) - if ((thispage->hasNode->resolve(HX_CSTRING("background")))){ - HX_STACK_LINE(182) - h->set(HX_CSTRING("background"),thispage->node->resolve(HX_CSTRING("background"))->att->resolve(HX_CSTRING("src"))); - } - HX_STACK_LINE(183) - if ((thispage->hasNode->resolve(HX_CSTRING("actor")))){ - HX_STACK_LINE(183) - h->set(HX_CSTRING("actors"),thispage->nodes->resolve(HX_CSTRING("actor"))); - } - HX_STACK_LINE(190) - this->allPages->push(h); - } -; - } - HX_STACK_LINE(195) - this->sendNotification(HX_CSTRING("pagesConfigReady"),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,parseXML,(void)) - -int PagesConfigProxy_obj::numpages( ){ - HX_STACK_PUSH("PagesConfigProxy::numpages","ca/confidant/glory/model/PagesConfigProxy.hx",164); - HX_STACK_THIS(this); - HX_STACK_LINE(164) - return this->allPages->length; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,numpages,return ) - -Dynamic PagesConfigProxy_obj::getPosition( int i){ - HX_STACK_PUSH("PagesConfigProxy::getPosition","ca/confidant/glory/model/PagesConfigProxy.hx",161); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); - HX_STACK_LINE(161) - return this->randomPositions->__GetItem(i); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getPosition,return ) - -::Hash PagesConfigProxy_obj::getPage( ::String pageId){ - HX_STACK_PUSH("PagesConfigProxy::getPage","ca/confidant/glory/model/PagesConfigProxy.hx",153); - HX_STACK_THIS(this); - HX_STACK_ARG(pageId,"pageId"); - HX_STACK_LINE(154) - { - HX_STACK_LINE(154) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::Hash > _g1 = this->allPages; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(154) - while(((_g < _g1->length))){ - HX_STACK_LINE(154) - ::Hash thispage = _g1->__get(_g); HX_STACK_VAR(thispage,"thispage"); - HX_STACK_LINE(154) - ++(_g); - HX_STACK_LINE(155) - if (((thispage->get(HX_CSTRING("id")) == pageId))){ - HX_STACK_LINE(155) - return thispage; - } - } - } - HX_STACK_LINE(159) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getPage,return ) - -::String PagesConfigProxy_obj::getActorHref( ::String controlId){ - HX_STACK_PUSH("PagesConfigProxy::getActorHref","ca/confidant/glory/model/PagesConfigProxy.hx",141); - HX_STACK_THIS(this); - HX_STACK_ARG(controlId,"controlId"); - HX_STACK_LINE(142) - if ((this->fast->node->resolve(HX_CSTRING("page"))->hasNode->resolve(HX_CSTRING("actor")))){ - HX_STACK_LINE(142) - for(::cpp::FastIterator_obj< ::haxe::xml::Fast > *__it = ::cpp::CreateFastIterator< ::haxe::xml::Fast >(this->fast->node->resolve(HX_CSTRING("page"))->nodes->resolve(HX_CSTRING("actor"))->iterator()); __it->hasNext(); ){ - ::haxe::xml::Fast node = __it->next(); - if (((node->att->resolve(HX_CSTRING("id")) == controlId))){ - HX_STACK_LINE(145) - return node->att->resolve(HX_CSTRING("href")); - } -; - } - } - HX_STACK_LINE(151) - return HX_CSTRING("#"); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getActorHref,return ) - -::String PagesConfigProxy_obj::getControlHref( ::String controlId){ - HX_STACK_PUSH("PagesConfigProxy::getControlHref","ca/confidant/glory/model/PagesConfigProxy.hx",129); - HX_STACK_THIS(this); - HX_STACK_ARG(controlId,"controlId"); - HX_STACK_LINE(130) - if ((this->fast->node->resolve(HX_CSTRING("controls"))->hasNode->resolve(HX_CSTRING("button")))){ - HX_STACK_LINE(130) - for(::cpp::FastIterator_obj< ::haxe::xml::Fast > *__it = ::cpp::CreateFastIterator< ::haxe::xml::Fast >(this->fast->node->resolve(HX_CSTRING("controls"))->nodes->resolve(HX_CSTRING("button"))->iterator()); __it->hasNext(); ){ - ::haxe::xml::Fast node = __it->next(); - if (((node->att->resolve(HX_CSTRING("id")) == controlId))){ - HX_STACK_LINE(133) - return node->att->resolve(HX_CSTRING("href")); - } -; - } - } - HX_STACK_LINE(139) - return HX_CSTRING("#"); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getControlHref,return ) - -::List PagesConfigProxy_obj::getAppControls( ){ - HX_STACK_PUSH("PagesConfigProxy::getAppControls","ca/confidant/glory/model/PagesConfigProxy.hx",122); - HX_STACK_THIS(this); - HX_STACK_LINE(123) - ::haxe::Log_obj::trace(HX_CSTRING("getAppControls"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),123,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getAppControls"))); - HX_STACK_LINE(124) - if ((this->fast->node->resolve(HX_CSTRING("controls"))->hasNode->resolve(HX_CSTRING("button")))){ - HX_STACK_LINE(124) - return this->fast->node->resolve(HX_CSTRING("controls"))->nodes->resolve(HX_CSTRING("button")); - } - HX_STACK_LINE(127) - return ::List_obj::__new(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,getAppControls,return ) - -::List PagesConfigProxy_obj::getPageActors( ::String pageId){ - HX_STACK_PUSH("PagesConfigProxy::getPageActors","ca/confidant/glory/model/PagesConfigProxy.hx",111); - HX_STACK_THIS(this); - HX_STACK_ARG(pageId,"pageId"); - HX_STACK_LINE(112) - ::Hash p = this->getPage(pageId); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(113) - if (((bool((p != null())) && bool((p->get(HX_CSTRING("actors")) != null()))))){ - HX_STACK_LINE(114) - ::haxe::Log_obj::trace(HX_CSTRING("returning actors!"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),114,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getPageActors"))); - HX_STACK_LINE(115) - return p->get(HX_CSTRING("actors")); - } - else{ - HX_STACK_LINE(118) - ::haxe::Log_obj::trace(HX_CSTRING("returning empty!"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),118,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getPageActors"))); - HX_STACK_LINE(119) - return ::List_obj::__new(); - } - HX_STACK_LINE(113) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getPageActors,return ) - -::String PagesConfigProxy_obj::getBackground( ::String pageId){ - HX_STACK_PUSH("PagesConfigProxy::getBackground","ca/confidant/glory/model/PagesConfigProxy.hx",104); - HX_STACK_THIS(this); - HX_STACK_ARG(pageId,"pageId"); - HX_STACK_LINE(105) - ::Hash p = this->getPage(pageId); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(106) - if (((p != null()))){ - HX_STACK_LINE(106) - return p->get(HX_CSTRING("background")); - } - HX_STACK_LINE(109) - return HX_CSTRING(""); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getBackground,return ) - -::Hash PagesConfigProxy_obj::getPreviousPage( ){ - HX_STACK_PUSH("PagesConfigProxy::getPreviousPage","ca/confidant/glory/model/PagesConfigProxy.hx",86); - HX_STACK_THIS(this); - HX_STACK_LINE(88) - int j = (int)1; HX_STACK_VAR(j,"j"); - HX_STACK_LINE(90) - while((((this->currentPage - j) >= (int)0))){ - HX_STACK_LINE(90) - if (((this->allPages->__get((this->currentPage - j))->get(HX_CSTRING("type")) == HX_CSTRING("normal")))){ - HX_STACK_LINE(93) - ::haxe::Log_obj::trace(HX_CSTRING("normal"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),93,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getPreviousPage"))); - HX_STACK_LINE(94) - return this->allPages->__get((this->currentPage - j)); - } - else{ - HX_STACK_LINE(96) - ::haxe::Log_obj::trace(HX_CSTRING("notnormal"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),96,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getPreviousPage"))); - HX_STACK_LINE(97) - (j)++; - } - } - HX_STACK_LINE(101) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,getPreviousPage,return ) - -::Hash PagesConfigProxy_obj::getNextPage( ){ - HX_STACK_PUSH("PagesConfigProxy::getNextPage","ca/confidant/glory/model/PagesConfigProxy.hx",67); - HX_STACK_THIS(this); - HX_STACK_LINE(69) - int j = (int)1; HX_STACK_VAR(j,"j"); - HX_STACK_LINE(71) - while((((this->currentPage + j) < this->allPages->length))){ - HX_STACK_LINE(71) - if (((this->allPages->__get((this->currentPage + j))->get(HX_CSTRING("type")) == HX_CSTRING("normal")))){ - HX_STACK_LINE(74) - ::haxe::Log_obj::trace(HX_CSTRING("normal"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),74,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getNextPage"))); - HX_STACK_LINE(75) - return this->allPages->__get((this->currentPage + j)); - } - else{ - HX_STACK_LINE(77) - ::haxe::Log_obj::trace(HX_CSTRING("notnormal"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),77,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getNextPage"))); - HX_STACK_LINE(78) - (j)++; - } - } - HX_STACK_LINE(82) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,getNextPage,return ) - -::Hash PagesConfigProxy_obj::getPageById( ::String id){ - HX_STACK_PUSH("PagesConfigProxy::getPageById","ca/confidant/glory/model/PagesConfigProxy.hx",58); - HX_STACK_THIS(this); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(59) - { - HX_STACK_LINE(59) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->allPages->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(59) - while(((_g1 < _g))){ - HX_STACK_LINE(59) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(60) - if (((this->allPages->__get(i)->get(HX_CSTRING("id")) == id))){ - HX_STACK_LINE(60) - return this->allPages->__get(i); - } - } - } - HX_STACK_LINE(65) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getPageById,return ) - -Void PagesConfigProxy_obj::setCurrentPageById( ::String id){ -{ - HX_STACK_PUSH("PagesConfigProxy::setCurrentPageById","ca/confidant/glory/model/PagesConfigProxy.hx",51); - HX_STACK_THIS(this); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(52) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->allPages->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(52) - while(((_g1 < _g))){ - HX_STACK_LINE(52) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(53) - if (((this->allPages->__get(i)->get(HX_CSTRING("id")) == id))){ - HX_STACK_LINE(53) - this->currentPage = i; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,setCurrentPageById,(void)) - -::Hash PagesConfigProxy_obj::getCurrentPage( ){ - HX_STACK_PUSH("PagesConfigProxy::getCurrentPage","ca/confidant/glory/model/PagesConfigProxy.hx",48); - HX_STACK_THIS(this); - HX_STACK_LINE(48) - return this->allPages->__get(this->currentPage); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,getCurrentPage,return ) - -Void PagesConfigProxy_obj::loadXML( ::String rawXML){ -{ - HX_STACK_PUSH("PagesConfigProxy::loadXML","ca/confidant/glory/model/PagesConfigProxy.hx",38); - HX_STACK_THIS(this); - HX_STACK_ARG(rawXML,"rawXML"); - HX_STACK_LINE(39) - this->randomPicks = Dynamic( Array_obj::__new() ); - HX_STACK_LINE(40) - this->positions = Array_obj< ::Hash >::__new(); - HX_STACK_LINE(41) - this->randomPositions = Dynamic( Array_obj::__new() ); - HX_STACK_LINE(42) - this->currentPage = (int)0; - HX_STACK_LINE(43) - this->_pagesXML = ::Xml_obj::parse(rawXML); - HX_STACK_LINE(44) - this->fast = ::haxe::xml::Fast_obj::__new(this->_pagesXML->firstElement()); - HX_STACK_LINE(46) - this->parseXML(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,loadXML,(void)) - -::String PagesConfigProxy_obj::NAME; - - -PagesConfigProxy_obj::PagesConfigProxy_obj() -{ -} - -void PagesConfigProxy_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(PagesConfigProxy); - HX_MARK_MEMBER_NAME(currentPage,"currentPage"); - HX_MARK_MEMBER_NAME(chosenLayout,"chosenLayout"); - HX_MARK_MEMBER_NAME(chosenpages,"chosenpages"); - HX_MARK_MEMBER_NAME(randomPositions,"randomPositions"); - HX_MARK_MEMBER_NAME(positions,"positions"); - HX_MARK_MEMBER_NAME(randomPicks,"randomPicks"); - HX_MARK_MEMBER_NAME(imageItems,"imageItems"); - HX_MARK_MEMBER_NAME(allPages,"allPages"); - HX_MARK_MEMBER_NAME(fast,"fast"); - HX_MARK_MEMBER_NAME(_pagesXML,"_pagesXML"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void PagesConfigProxy_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(currentPage,"currentPage"); - HX_VISIT_MEMBER_NAME(chosenLayout,"chosenLayout"); - HX_VISIT_MEMBER_NAME(chosenpages,"chosenpages"); - HX_VISIT_MEMBER_NAME(randomPositions,"randomPositions"); - HX_VISIT_MEMBER_NAME(positions,"positions"); - HX_VISIT_MEMBER_NAME(randomPicks,"randomPicks"); - HX_VISIT_MEMBER_NAME(imageItems,"imageItems"); - HX_VISIT_MEMBER_NAME(allPages,"allPages"); - HX_VISIT_MEMBER_NAME(fast,"fast"); - HX_VISIT_MEMBER_NAME(_pagesXML,"_pagesXML"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic PagesConfigProxy_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - if (HX_FIELD_EQ(inName,"fast") ) { return fast; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getPage") ) { return getPage_dyn(); } - if (HX_FIELD_EQ(inName,"loadXML") ) { return loadXML_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"pagesXML") ) { return pagesXML_dyn(); } - if (HX_FIELD_EQ(inName,"parseXML") ) { return parseXML_dyn(); } - if (HX_FIELD_EQ(inName,"numpages") ) { return numpages_dyn(); } - if (HX_FIELD_EQ(inName,"allPages") ) { return allPages; } - break; - case 9: - if (HX_FIELD_EQ(inName,"positions") ) { return positions; } - if (HX_FIELD_EQ(inName,"_pagesXML") ) { return _pagesXML; } - break; - case 10: - if (HX_FIELD_EQ(inName,"imageItems") ) { return imageItems; } - break; - case 11: - if (HX_FIELD_EQ(inName,"getPosition") ) { return getPosition_dyn(); } - if (HX_FIELD_EQ(inName,"getNextPage") ) { return getNextPage_dyn(); } - if (HX_FIELD_EQ(inName,"getPageById") ) { return getPageById_dyn(); } - if (HX_FIELD_EQ(inName,"currentPage") ) { return currentPage; } - if (HX_FIELD_EQ(inName,"chosenpages") ) { return chosenpages; } - if (HX_FIELD_EQ(inName,"randomPicks") ) { return randomPicks; } - break; - case 12: - if (HX_FIELD_EQ(inName,"getConfigXML") ) { return getConfigXML_dyn(); } - if (HX_FIELD_EQ(inName,"getActorHref") ) { return getActorHref_dyn(); } - if (HX_FIELD_EQ(inName,"chosenLayout") ) { return chosenLayout; } - break; - case 13: - if (HX_FIELD_EQ(inName,"getPageActors") ) { return getPageActors_dyn(); } - if (HX_FIELD_EQ(inName,"getBackground") ) { return getBackground_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"getControlHref") ) { return getControlHref_dyn(); } - if (HX_FIELD_EQ(inName,"getAppControls") ) { return getAppControls_dyn(); } - if (HX_FIELD_EQ(inName,"getCurrentPage") ) { return getCurrentPage_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"getPreviousPage") ) { return getPreviousPage_dyn(); } - if (HX_FIELD_EQ(inName,"randomPositions") ) { return randomPositions; } - break; - case 18: - if (HX_FIELD_EQ(inName,"setCurrentPageById") ) { return setCurrentPageById_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic PagesConfigProxy_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"fast") ) { fast=inValue.Cast< ::haxe::xml::Fast >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"allPages") ) { allPages=inValue.Cast< Array< ::Hash > >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"positions") ) { positions=inValue.Cast< Array< ::Hash > >(); return inValue; } - if (HX_FIELD_EQ(inName,"_pagesXML") ) { _pagesXML=inValue.Cast< ::Xml >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"imageItems") ) { imageItems=inValue.Cast< Dynamic >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"currentPage") ) { currentPage=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"chosenpages") ) { chosenpages=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"randomPicks") ) { randomPicks=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"chosenLayout") ) { chosenLayout=inValue.Cast< ::String >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"randomPositions") ) { randomPositions=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void PagesConfigProxy_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("currentPage")); - outFields->push(HX_CSTRING("chosenLayout")); - outFields->push(HX_CSTRING("chosenpages")); - outFields->push(HX_CSTRING("randomPositions")); - outFields->push(HX_CSTRING("positions")); - outFields->push(HX_CSTRING("randomPicks")); - outFields->push(HX_CSTRING("imageItems")); - outFields->push(HX_CSTRING("allPages")); - outFields->push(HX_CSTRING("fast")); - outFields->push(HX_CSTRING("_pagesXML")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("pagesXML"), - HX_CSTRING("getConfigXML"), - HX_CSTRING("parseXML"), - HX_CSTRING("numpages"), - HX_CSTRING("getPosition"), - HX_CSTRING("getPage"), - HX_CSTRING("getActorHref"), - HX_CSTRING("getControlHref"), - HX_CSTRING("getAppControls"), - HX_CSTRING("getPageActors"), - HX_CSTRING("getBackground"), - HX_CSTRING("getPreviousPage"), - HX_CSTRING("getNextPage"), - HX_CSTRING("getPageById"), - HX_CSTRING("setCurrentPageById"), - HX_CSTRING("getCurrentPage"), - HX_CSTRING("loadXML"), - HX_CSTRING("currentPage"), - HX_CSTRING("chosenLayout"), - HX_CSTRING("chosenpages"), - HX_CSTRING("randomPositions"), - HX_CSTRING("positions"), - HX_CSTRING("randomPicks"), - HX_CSTRING("imageItems"), - HX_CSTRING("allPages"), - HX_CSTRING("fast"), - HX_CSTRING("_pagesXML"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PagesConfigProxy_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(PagesConfigProxy_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PagesConfigProxy_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(PagesConfigProxy_obj::NAME,"NAME"); -}; - -Class PagesConfigProxy_obj::__mClass; - -void PagesConfigProxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"), hx::TCanCast< PagesConfigProxy_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void PagesConfigProxy_obj::__boot() -{ - NAME= HX_CSTRING("pagesConfigProxy"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/model/TickerProxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/model/TickerProxy.cpp deleted file mode 100644 index f9dc2e5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/model/TickerProxy.cpp +++ /dev/null @@ -1,217 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_model_TickerProxy -#include -#endif -#ifndef INCLUDED_haxe_Timer -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - -Void TickerProxy_obj::__construct() -{ -HX_STACK_PUSH("TickerProxy::new","ca/confidant/glory/model/TickerProxy.hx",23); -{ - HX_STACK_LINE(23) - super::__construct(::ca::confidant::glory::model::TickerProxy_obj::NAME,null()); -} -; - return null(); -} - -TickerProxy_obj::~TickerProxy_obj() { } - -Dynamic TickerProxy_obj::__CreateEmpty() { return new TickerProxy_obj; } -hx::ObjectPtr< TickerProxy_obj > TickerProxy_obj::__new() -{ hx::ObjectPtr< TickerProxy_obj > result = new TickerProxy_obj(); - result->__construct(); - return result;} - -Dynamic TickerProxy_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TickerProxy_obj > result = new TickerProxy_obj(); - result->__construct(); - return result;} - -Void TickerProxy_obj::setInterval( int i){ -{ - HX_STACK_PUSH("TickerProxy::setInterval","ca/confidant/glory/model/TickerProxy.hx",39); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); - HX_STACK_LINE(39) - this->interval = i; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(TickerProxy_obj,setInterval,(void)) - -Void TickerProxy_obj::onTimerTick( ){ -{ - HX_STACK_PUSH("TickerProxy::onTimerTick","ca/confidant/glory/model/TickerProxy.hx",35); - HX_STACK_THIS(this); - HX_STACK_LINE(35) - this->sendNotification(HX_CSTRING("timerTick"),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(TickerProxy_obj,onTimerTick,(void)) - -Void TickerProxy_obj::stopTimer( ){ -{ - HX_STACK_PUSH("TickerProxy::stopTimer","ca/confidant/glory/model/TickerProxy.hx",32); - HX_STACK_THIS(this); - HX_STACK_LINE(32) - this->myTimer->stop(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(TickerProxy_obj,stopTimer,(void)) - -Void TickerProxy_obj::startTimer( hx::Null< int > __o_i){ -int i = __o_i.Default(0); - HX_STACK_PUSH("TickerProxy::startTimer","ca/confidant/glory/model/TickerProxy.hx",27); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); -{ - HX_STACK_LINE(29) - this->myTimer = ::haxe::Timer_obj::__new(this->interval); - HX_STACK_LINE(30) - this->myTimer->run = this->onTimerTick_dyn(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(TickerProxy_obj,startTimer,(void)) - -::String TickerProxy_obj::NAME; - - -TickerProxy_obj::TickerProxy_obj() -{ -} - -void TickerProxy_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TickerProxy); - HX_MARK_MEMBER_NAME(myTimer,"myTimer"); - HX_MARK_MEMBER_NAME(interval,"interval"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void TickerProxy_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(myTimer,"myTimer"); - HX_VISIT_MEMBER_NAME(interval,"interval"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic TickerProxy_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - break; - case 7: - if (HX_FIELD_EQ(inName,"myTimer") ) { return myTimer; } - break; - case 8: - if (HX_FIELD_EQ(inName,"interval") ) { return interval; } - break; - case 9: - if (HX_FIELD_EQ(inName,"stopTimer") ) { return stopTimer_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"startTimer") ) { return startTimer_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"setInterval") ) { return setInterval_dyn(); } - if (HX_FIELD_EQ(inName,"onTimerTick") ) { return onTimerTick_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TickerProxy_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"myTimer") ) { myTimer=inValue.Cast< ::haxe::Timer >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"interval") ) { interval=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void TickerProxy_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("myTimer")); - outFields->push(HX_CSTRING("interval")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("setInterval"), - HX_CSTRING("onTimerTick"), - HX_CSTRING("stopTimer"), - HX_CSTRING("startTimer"), - HX_CSTRING("myTimer"), - HX_CSTRING("interval"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TickerProxy_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(TickerProxy_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TickerProxy_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(TickerProxy_obj::NAME,"NAME"); -}; - -Class TickerProxy_obj::__mClass; - -void TickerProxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.model.TickerProxy"), hx::TCanCast< TickerProxy_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TickerProxy_obj::__boot() -{ - NAME= HX_CSTRING("TickerProxy"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/ActorComponentMediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/ActorComponentMediator.cpp deleted file mode 100644 index ffd89bf..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/ActorComponentMediator.cpp +++ /dev/null @@ -1,344 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_model_ActorComponentConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ActorComponentMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_MouseEvent -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - -Void ActorComponentMediator_obj::__construct(::String id,::ca::confidant::glory::view::components::ActorComponent viewComponent,::ca::confidant::glory::model::ActorComponentConfigProxy accp) -{ -HX_STACK_PUSH("ActorComponentMediator::new","ca/confidant/glory/view/ActorComponentMediator.hx",24); -{ - HX_STACK_LINE(25) - super::__construct(id,viewComponent); - HX_STACK_LINE(26) - this->config = accp; - HX_STACK_LINE(27) - this->addListeners(); -} -; - return null(); -} - -ActorComponentMediator_obj::~ActorComponentMediator_obj() { } - -Dynamic ActorComponentMediator_obj::__CreateEmpty() { return new ActorComponentMediator_obj; } -hx::ObjectPtr< ActorComponentMediator_obj > ActorComponentMediator_obj::__new(::String id,::ca::confidant::glory::view::components::ActorComponent viewComponent,::ca::confidant::glory::model::ActorComponentConfigProxy accp) -{ hx::ObjectPtr< ActorComponentMediator_obj > result = new ActorComponentMediator_obj(); - result->__construct(id,viewComponent,accp); - return result;} - -Dynamic ActorComponentMediator_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ActorComponentMediator_obj > result = new ActorComponentMediator_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -::ca::confidant::glory::view::components::ActorComponent ActorComponentMediator_obj::actor( ){ - HX_STACK_PUSH("ActorComponentMediator::actor","ca/confidant/glory/view/ActorComponentMediator.hx",113); - HX_STACK_THIS(this); - HX_STACK_LINE(113) - return this->viewComponent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ActorComponentMediator_obj,actor,return ) - -Void ActorComponentMediator_obj::onPanRight( Dynamic e){ -{ - HX_STACK_PUSH("ActorComponentMediator::onPanRight","ca/confidant/glory/view/ActorComponentMediator.hx",108); - HX_STACK_THIS(this); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(108) - this->actor()->nmeSetX((this->actor()->nmeGetX() - (int)4)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ActorComponentMediator_obj,onPanRight,(void)) - -Void ActorComponentMediator_obj::onPanLeft( Dynamic e){ -{ - HX_STACK_PUSH("ActorComponentMediator::onPanLeft","ca/confidant/glory/view/ActorComponentMediator.hx",102); - HX_STACK_THIS(this); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(102) - this->actor()->nmeSetX((this->actor()->nmeGetX() + (int)4)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ActorComponentMediator_obj,onPanLeft,(void)) - -Void ActorComponentMediator_obj::handleNotification( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("ActorComponentMediator::handleNotification","ca/confidant/glory/view/ActorComponentMediator.hx",85); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(85) - ::String _switch_1 = (note->getName()); - if ( ( _switch_1==HX_CSTRING("timerTick"))){ - } - else if ( ( _switch_1==HX_CSTRING("panLeft"))){ - HX_STACK_LINE(90) - this->actor()->addEventListener(::neash::events::Event_obj::ENTER_FRAME,this->onPanLeft_dyn(),null(),null(),null()); - } - else if ( ( _switch_1==HX_CSTRING("panRight"))){ - HX_STACK_LINE(92) - this->actor()->addEventListener(::neash::events::Event_obj::ENTER_FRAME,this->onPanRight_dyn(),null(),null(),null()); - } - else if ( ( _switch_1==HX_CSTRING("panStop"))){ - HX_STACK_LINE(95) - this->actor()->removeEventListener(::neash::events::Event_obj::ENTER_FRAME,this->onPanRight_dyn(),null()); - HX_STACK_LINE(96) - this->actor()->removeEventListener(::neash::events::Event_obj::ENTER_FRAME,this->onPanLeft_dyn(),null()); - } - } -return null(); -} - - -Array< ::String > ActorComponentMediator_obj::listNotificationInterests( ){ - HX_STACK_PUSH("ActorComponentMediator::listNotificationInterests","ca/confidant/glory/view/ActorComponentMediator.hx",75); - HX_STACK_THIS(this); - HX_STACK_LINE(75) - return Array_obj< ::String >::__new().Add(HX_CSTRING("timerTick")).Add(HX_CSTRING("panLeft")).Add(HX_CSTRING("panRight")).Add(HX_CSTRING("panStop")); -} - - -Void ActorComponentMediator_obj::onActorClicked( ::neash::events::MouseEvent e){ -{ - HX_STACK_PUSH("ActorComponentMediator::onActorClicked","ca/confidant/glory/view/ActorComponentMediator.hx",44); - HX_STACK_THIS(this); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(45) - Dynamic a = e->nmeGetCurrentTarget(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(46) - ::haxe::Log_obj::trace(a->__Field(HX_CSTRING("name"),true),hx::SourceInfo(HX_CSTRING("ActorComponentMediator.hx"),46,HX_CSTRING("ca.confidant.glory.view.ActorComponentMediator"),HX_CSTRING("onActorClicked"))); - HX_STACK_LINE(49) - ::String _switch_2 = (this->config->type); - if ( ( _switch_2==HX_CSTRING("colour"))){ - HX_STACK_LINE(50) - a->__Field(HX_CSTRING("toggleColour"),true)(); - } - else if ( ( _switch_2==HX_CSTRING("control"))){ - HX_STACK_LINE(58) - ::ca::confidant::glory::model::PagesConfigProxy pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); HX_STACK_VAR(pcp,"pcp"); - HX_STACK_LINE(61) - Array< ::String > actionArray = this->config->action.split(HX_CSTRING(":")); HX_STACK_VAR(actionArray,"actionArray"); - HX_STACK_LINE(63) - ::String _switch_3 = (actionArray->__get((int)0)); - if ( ( _switch_3==HX_CSTRING("transitionOut"))){ - HX_STACK_LINE(64) - this->sendNotification(HX_CSTRING("removePage"),actionArray->__get((int)1),null()); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ActorComponentMediator_obj,onActorClicked,(void)) - -Void ActorComponentMediator_obj::addListeners( ){ -{ - HX_STACK_PUSH("ActorComponentMediator::addListeners","ca/confidant/glory/view/ActorComponentMediator.hx",31); - HX_STACK_THIS(this); - HX_STACK_LINE(34) - this->actor()->addEventListener(::neash::events::MouseEvent_obj::CLICK,this->onActorClicked_dyn(),null(),null(),null()); - HX_STACK_LINE(36) - this->actor()->nmeSetMouseEnabled(true); - HX_STACK_LINE(37) - if (((this->type == HX_CSTRING("getURL")))){ - HX_STACK_LINE(39) - this->actor()->useHandCursor = true; - HX_STACK_LINE(40) - this->actor()->buttonMode = true; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ActorComponentMediator_obj,addListeners,(void)) - - -ActorComponentMediator_obj::ActorComponentMediator_obj() -{ -} - -void ActorComponentMediator_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ActorComponentMediator); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_MEMBER_NAME(config,"config"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ActorComponentMediator_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(type,"type"); - HX_VISIT_MEMBER_NAME(config,"config"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ActorComponentMediator_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { return type; } - break; - case 5: - if (HX_FIELD_EQ(inName,"actor") ) { return actor_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"config") ) { return config; } - break; - case 9: - if (HX_FIELD_EQ(inName,"onPanLeft") ) { return onPanLeft_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"onPanRight") ) { return onPanRight_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"addListeners") ) { return addListeners_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"onActorClicked") ) { return onActorClicked_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"handleNotification") ) { return handleNotification_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"listNotificationInterests") ) { return listNotificationInterests_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ActorComponentMediator_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"config") ) { config=inValue.Cast< ::ca::confidant::glory::model::ActorComponentConfigProxy >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ActorComponentMediator_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("type")); - outFields->push(HX_CSTRING("config")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("actor"), - HX_CSTRING("onPanRight"), - HX_CSTRING("onPanLeft"), - HX_CSTRING("handleNotification"), - HX_CSTRING("listNotificationInterests"), - HX_CSTRING("onActorClicked"), - HX_CSTRING("addListeners"), - HX_CSTRING("type"), - HX_CSTRING("config"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ActorComponentMediator_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ActorComponentMediator_obj::__mClass,"__mClass"); -}; - -Class ActorComponentMediator_obj::__mClass; - -void ActorComponentMediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.ActorComponentMediator"), hx::TCanCast< ActorComponentMediator_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ActorComponentMediator_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/ApplicationMediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/ApplicationMediator.cpp deleted file mode 100644 index 0e86223..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/ApplicationMediator.cpp +++ /dev/null @@ -1,324 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - -Void ApplicationMediator_obj::__construct(::ca::confidant::glory::GloryFrameworkApp viewComponent) -{ -HX_STACK_PUSH("ApplicationMediator::new","ca/confidant/glory/view/ApplicationMediator.hx",20); -{ - HX_STACK_LINE(21) - super::__construct(HX_CSTRING("ApplicationMediator"),viewComponent); - HX_STACK_LINE(22) - ::haxe::Log_obj::trace(HX_CSTRING("ApplicationMediator!"),hx::SourceInfo(HX_CSTRING("ApplicationMediator.hx"),22,HX_CSTRING("ca.confidant.glory.view.ApplicationMediator"),HX_CSTRING("new"))); -} -; - return null(); -} - -ApplicationMediator_obj::~ApplicationMediator_obj() { } - -Dynamic ApplicationMediator_obj::__CreateEmpty() { return new ApplicationMediator_obj; } -hx::ObjectPtr< ApplicationMediator_obj > ApplicationMediator_obj::__new(::ca::confidant::glory::GloryFrameworkApp viewComponent) -{ hx::ObjectPtr< ApplicationMediator_obj > result = new ApplicationMediator_obj(); - result->__construct(viewComponent); - return result;} - -Dynamic ApplicationMediator_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ApplicationMediator_obj > result = new ApplicationMediator_obj(); - result->__construct(inArgs[0]); - return result;} - -::ca::confidant::glory::GloryFrameworkApp ApplicationMediator_obj::getApp( ){ - HX_STACK_PUSH("ApplicationMediator::getApp","ca/confidant/glory/view/ApplicationMediator.hx",79); - HX_STACK_THIS(this); - HX_STACK_LINE(79) - return hx::TCast< ca::confidant::glory::GloryFrameworkApp >::cast(this->viewComponent); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ApplicationMediator_obj,getApp,return ) - -Void ApplicationMediator_obj::handleNotification( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("ApplicationMediator::handleNotification","ca/confidant/glory/view/ApplicationMediator.hx",63); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(63) - ::String _switch_1 = (note->getName()); - if ( ( _switch_1==HX_CSTRING("message"))){ - HX_STACK_LINE(66) - this->getApp()->displayMessage(hx::TCast< String >::cast(note->getBody())); - } - else if ( ( _switch_1==HX_CSTRING("assetsLoaded"))){ - HX_STACK_LINE(71) - this->sendNotification(HX_CSTRING("initWidgets"),null(),null()); - } - } -return null(); -} - - -int ApplicationMediator_obj::getIndex( ::neash::display::DisplayObject d){ - HX_STACK_PUSH("ApplicationMediator::getIndex","ca/confidant/glory/view/ApplicationMediator.hx",59); - HX_STACK_THIS(this); - HX_STACK_ARG(d,"d"); - HX_STACK_LINE(59) - return this->getApp()->getChildIndex(d); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ApplicationMediator_obj,getIndex,return ) - -Void ApplicationMediator_obj::reportLayers( ){ -{ - HX_STACK_PUSH("ApplicationMediator::reportLayers","ca/confidant/glory/view/ApplicationMediator.hx",54); - HX_STACK_THIS(this); - HX_STACK_LINE(55) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->getApp()->nmeGetNumChildren(); HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(55) - while(((_g1 < _g))){ - HX_STACK_LINE(55) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(56) - ::haxe::Log_obj::trace((((HX_CSTRING("layer:") + this->getApp()->getChildAt(i)->nmeGetName()) + HX_CSTRING(":")) + i),hx::SourceInfo(HX_CSTRING("ApplicationMediator.hx"),56,HX_CSTRING("ca.confidant.glory.view.ApplicationMediator"),HX_CSTRING("reportLayers"))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ApplicationMediator_obj,reportLayers,(void)) - -Void ApplicationMediator_obj::removeDisplayObject( ::neash::display::DisplayObject d){ -{ - HX_STACK_PUSH("ApplicationMediator::removeDisplayObject","ca/confidant/glory/view/ApplicationMediator.hx",51); - HX_STACK_THIS(this); - HX_STACK_ARG(d,"d"); - HX_STACK_LINE(51) - this->getApp()->removeChild(d); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ApplicationMediator_obj,removeDisplayObject,(void)) - -Void ApplicationMediator_obj::addDisplayObject( ::neash::display::DisplayObject d,hx::Null< int > __o_level){ -int level = __o_level.Default(-1); - HX_STACK_PUSH("ApplicationMediator::addDisplayObject","ca/confidant/glory/view/ApplicationMediator.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(d,"d"); - HX_STACK_ARG(level,"level"); -{ - HX_STACK_LINE(37) - if (((level == (int)-1))){ - HX_STACK_LINE(39) - this->getApp()->addChild(d); - HX_STACK_LINE(40) - ::haxe::Log_obj::trace(HX_CSTRING("add at top"),hx::SourceInfo(HX_CSTRING("ApplicationMediator.hx"),40,HX_CSTRING("ca.confidant.glory.view.ApplicationMediator"),HX_CSTRING("addDisplayObject"))); - } - else{ - HX_STACK_LINE(42) - this->getApp()->addChildAt(d,level); - HX_STACK_LINE(43) - ::haxe::Log_obj::trace((HX_CSTRING("adding to level") + level),hx::SourceInfo(HX_CSTRING("ApplicationMediator.hx"),43,HX_CSTRING("ca.confidant.glory.view.ApplicationMediator"),HX_CSTRING("addDisplayObject"))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ApplicationMediator_obj,addDisplayObject,(void)) - -Array< ::String > ApplicationMediator_obj::listNotificationInterests( ){ - HX_STACK_PUSH("ApplicationMediator::listNotificationInterests","ca/confidant/glory/view/ApplicationMediator.hx",26); - HX_STACK_THIS(this); - HX_STACK_LINE(26) - return Array_obj< ::String >::__new().Add(HX_CSTRING("message")).Add(HX_CSTRING("assetsLoaded")); -} - - -::String ApplicationMediator_obj::NAME; - - -ApplicationMediator_obj::ApplicationMediator_obj() -{ -} - -void ApplicationMediator_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ApplicationMediator); - HX_MARK_MEMBER_NAME(pagesConfigProxy,"pagesConfigProxy"); - HX_MARK_MEMBER_NAME(loaderProxy,"loaderProxy"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ApplicationMediator_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(pagesConfigProxy,"pagesConfigProxy"); - HX_VISIT_MEMBER_NAME(loaderProxy,"loaderProxy"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ApplicationMediator_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - break; - case 6: - if (HX_FIELD_EQ(inName,"getApp") ) { return getApp_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"getIndex") ) { return getIndex_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"loaderProxy") ) { return loaderProxy; } - break; - case 12: - if (HX_FIELD_EQ(inName,"reportLayers") ) { return reportLayers_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"addDisplayObject") ) { return addDisplayObject_dyn(); } - if (HX_FIELD_EQ(inName,"pagesConfigProxy") ) { return pagesConfigProxy; } - break; - case 18: - if (HX_FIELD_EQ(inName,"handleNotification") ) { return handleNotification_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"removeDisplayObject") ) { return removeDisplayObject_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"listNotificationInterests") ) { return listNotificationInterests_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ApplicationMediator_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"loaderProxy") ) { loaderProxy=inValue.Cast< ::ca::confidant::glory::model::LoaderProxy >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"pagesConfigProxy") ) { pagesConfigProxy=inValue.Cast< ::ca::confidant::glory::model::PagesConfigProxy >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ApplicationMediator_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("pagesConfigProxy")); - outFields->push(HX_CSTRING("loaderProxy")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getApp"), - HX_CSTRING("handleNotification"), - HX_CSTRING("getIndex"), - HX_CSTRING("reportLayers"), - HX_CSTRING("removeDisplayObject"), - HX_CSTRING("addDisplayObject"), - HX_CSTRING("listNotificationInterests"), - HX_CSTRING("pagesConfigProxy"), - HX_CSTRING("loaderProxy"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ApplicationMediator_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ApplicationMediator_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ApplicationMediator_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ApplicationMediator_obj::NAME,"NAME"); -}; - -Class ApplicationMediator_obj::__mClass; - -void ApplicationMediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.ApplicationMediator"), hx::TCanCast< ApplicationMediator_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ApplicationMediator_obj::__boot() -{ - NAME= HX_CSTRING("ApplicationMediator"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/ControlComponentMediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/ControlComponentMediator.cpp deleted file mode 100644 index e2b91e3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/ControlComponentMediator.cpp +++ /dev/null @@ -1,306 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ControlComponentMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ControlComponent -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_MouseEvent -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - -Void ControlComponentMediator_obj::__construct(::String id,::ca::confidant::glory::view::components::ControlComponent viewComponent) -{ -HX_STACK_PUSH("ControlComponentMediator::new","ca/confidant/glory/view/ControlComponentMediator.hx",18); -{ - HX_STACK_LINE(19) - super::__construct(id,viewComponent); - HX_STACK_LINE(20) - this->addListeners(); -} -; - return null(); -} - -ControlComponentMediator_obj::~ControlComponentMediator_obj() { } - -Dynamic ControlComponentMediator_obj::__CreateEmpty() { return new ControlComponentMediator_obj; } -hx::ObjectPtr< ControlComponentMediator_obj > ControlComponentMediator_obj::__new(::String id,::ca::confidant::glory::view::components::ControlComponent viewComponent) -{ hx::ObjectPtr< ControlComponentMediator_obj > result = new ControlComponentMediator_obj(); - result->__construct(id,viewComponent); - return result;} - -Dynamic ControlComponentMediator_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ControlComponentMediator_obj > result = new ControlComponentMediator_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::ca::confidant::glory::view::components::ControlComponent ControlComponentMediator_obj::control( ){ - HX_STACK_PUSH("ControlComponentMediator::control","ca/confidant/glory/view/ControlComponentMediator.hx",78); - HX_STACK_THIS(this); - HX_STACK_LINE(78) - return this->viewComponent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ControlComponentMediator_obj,control,return ) - -Void ControlComponentMediator_obj::onControlClicked( ::neash::events::MouseEvent e){ -{ - HX_STACK_PUSH("ControlComponentMediator::onControlClicked","ca/confidant/glory/view/ControlComponentMediator.hx",52); - HX_STACK_THIS(this); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(53) - Dynamic a = e->nmeGetCurrentTarget(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(56) - Array< ::String > controlArray = (hx::TCast< String >::cast(a->__Field(HX_CSTRING("type"),true))).split(HX_CSTRING(":")); HX_STACK_VAR(controlArray,"controlArray"); - HX_STACK_LINE(58) - ::String _switch_1 = (controlArray->__get((int)0)); - if ( ( _switch_1==HX_CSTRING("pageForward"))){ - HX_STACK_LINE(60) - ::haxe::Log_obj::trace(HX_CSTRING("pageForward"),hx::SourceInfo(HX_CSTRING("ControlComponentMediator.hx"),60,HX_CSTRING("ca.confidant.glory.view.ControlComponentMediator"),HX_CSTRING("onControlClicked"))); - HX_STACK_LINE(61) - this->sendNotification(HX_CSTRING("changePage"),HX_CSTRING("pageForward"),null()); - } - else if ( ( _switch_1==HX_CSTRING("pageBackward"))){ - HX_STACK_LINE(63) - ::haxe::Log_obj::trace(HX_CSTRING("pageBackward"),hx::SourceInfo(HX_CSTRING("ControlComponentMediator.hx"),63,HX_CSTRING("ca.confidant.glory.view.ControlComponentMediator"),HX_CSTRING("onControlClicked"))); - HX_STACK_LINE(64) - this->sendNotification(HX_CSTRING("changePage"),HX_CSTRING("pageBackward"),null()); - } - else if ( ( _switch_1==HX_CSTRING("pageSkipTo"))){ - HX_STACK_LINE(66) - ::haxe::Log_obj::trace((HX_CSTRING("pageSkipTo:") + controlArray->__get((int)1)),hx::SourceInfo(HX_CSTRING("ControlComponentMediator.hx"),66,HX_CSTRING("ca.confidant.glory.view.ControlComponentMediator"),HX_CSTRING("onControlClicked"))); - HX_STACK_LINE(67) - this->sendNotification(HX_CSTRING("changePage"),controlArray->__get((int)1),null()); - } - else if ( ( _switch_1==HX_CSTRING("toggleMenu"))){ - HX_STACK_LINE(71) - ::haxe::Log_obj::trace(HX_CSTRING("toggleOptions"),hx::SourceInfo(HX_CSTRING("ControlComponentMediator.hx"),71,HX_CSTRING("ca.confidant.glory.view.ControlComponentMediator"),HX_CSTRING("onControlClicked"))); - HX_STACK_LINE(72) - this->sendNotification(HX_CSTRING("toggleOptions"),null(),null()); - } - else if ( ( _switch_1==HX_CSTRING("getURL"))){ - HX_STACK_LINE(74) - ::ca::confidant::glory::model::PagesConfigProxy pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); HX_STACK_VAR(pcp,"pcp"); - HX_STACK_LINE(75) - this->sendNotification(HX_CSTRING("httpLink"),pcp->getControlHref(this->mediatorName),null()); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ControlComponentMediator_obj,onControlClicked,(void)) - -Void ControlComponentMediator_obj::onMouseUp( ::neash::events::MouseEvent e){ -{ - HX_STACK_PUSH("ControlComponentMediator::onMouseUp","ca/confidant/glory/view/ControlComponentMediator.hx",42); - HX_STACK_THIS(this); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(43) - Dynamic a = e->nmeGetCurrentTarget(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(44) - ::String _switch_2 = (a->__Field(HX_CSTRING("type"),true)); - if ( ( _switch_2==HX_CSTRING("panRight"))){ - HX_STACK_LINE(46) - ::haxe::Log_obj::trace(HX_CSTRING("onMouseUp"),hx::SourceInfo(HX_CSTRING("ControlComponentMediator.hx"),46,HX_CSTRING("ca.confidant.glory.view.ControlComponentMediator"),HX_CSTRING("onMouseUp"))); - HX_STACK_LINE(47) - this->sendNotification(HX_CSTRING("panStop"),null(),null()); - } - else if ( ( _switch_2==HX_CSTRING("panLeft"))){ - HX_STACK_LINE(48) - this->sendNotification(HX_CSTRING("panStop"),null(),null()); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ControlComponentMediator_obj,onMouseUp,(void)) - -Void ControlComponentMediator_obj::onMouseDown( ::neash::events::MouseEvent e){ -{ - HX_STACK_PUSH("ControlComponentMediator::onMouseDown","ca/confidant/glory/view/ControlComponentMediator.hx",29); - HX_STACK_THIS(this); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(30) - Dynamic a = e->nmeGetCurrentTarget(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(31) - ::String _switch_3 = (a->__Field(HX_CSTRING("type"),true)); - if ( ( _switch_3==HX_CSTRING("panRight"))){ - HX_STACK_LINE(33) - ::haxe::Log_obj::trace(HX_CSTRING("onMouseDown"),hx::SourceInfo(HX_CSTRING("ControlComponentMediator.hx"),33,HX_CSTRING("ca.confidant.glory.view.ControlComponentMediator"),HX_CSTRING("onMouseDown"))); - HX_STACK_LINE(35) - this->sendNotification(HX_CSTRING("panRight"),null(),null()); - } - else if ( ( _switch_3==HX_CSTRING("panLeft"))){ - HX_STACK_LINE(36) - this->sendNotification(HX_CSTRING("panLeft"),null(),null()); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ControlComponentMediator_obj,onMouseDown,(void)) - -Void ControlComponentMediator_obj::addListeners( ){ -{ - HX_STACK_PUSH("ControlComponentMediator::addListeners","ca/confidant/glory/view/ControlComponentMediator.hx",23); - HX_STACK_THIS(this); - HX_STACK_LINE(24) - this->control()->addEventListener(::neash::events::MouseEvent_obj::CLICK,this->onControlClicked_dyn(),null(),null(),null()); - HX_STACK_LINE(25) - this->control()->addEventListener(::neash::events::MouseEvent_obj::MOUSE_DOWN,this->onMouseDown_dyn(),null(),null(),null()); - HX_STACK_LINE(26) - this->control()->addEventListener(::neash::events::MouseEvent_obj::MOUSE_UP,this->onMouseUp_dyn(),null(),null(),null()); - HX_STACK_LINE(27) - this->control()->addEventListener(::neash::events::MouseEvent_obj::MOUSE_OUT,this->onMouseUp_dyn(),null(),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ControlComponentMediator_obj,addListeners,(void)) - - -ControlComponentMediator_obj::ControlComponentMediator_obj() -{ -} - -void ControlComponentMediator_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ControlComponentMediator); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ControlComponentMediator_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ControlComponentMediator_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"control") ) { return control_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"onMouseUp") ) { return onMouseUp_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"onMouseDown") ) { return onMouseDown_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"addListeners") ) { return addListeners_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"onControlClicked") ) { return onControlClicked_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ControlComponentMediator_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void ControlComponentMediator_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("control"), - HX_CSTRING("onControlClicked"), - HX_CSTRING("onMouseUp"), - HX_CSTRING("onMouseDown"), - HX_CSTRING("addListeners"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ControlComponentMediator_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ControlComponentMediator_obj::__mClass,"__mClass"); -}; - -Class ControlComponentMediator_obj::__mClass; - -void ControlComponentMediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.ControlComponentMediator"), hx::TCanCast< ControlComponentMediator_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ControlComponentMediator_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/PageMediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/PageMediator.cpp deleted file mode 100644 index 0b735e0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/PageMediator.cpp +++ /dev/null @@ -1,148 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_view_PageMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_PageComponent -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - -Void PageMediator_obj::__construct(::String id,::ca::confidant::glory::view::components::PageComponent viewComponent) -{ -HX_STACK_PUSH("PageMediator::new","ca/confidant/glory/view/PageMediator.hx",18); -{ - HX_STACK_LINE(18) - super::__construct(id,viewComponent); -} -; - return null(); -} - -PageMediator_obj::~PageMediator_obj() { } - -Dynamic PageMediator_obj::__CreateEmpty() { return new PageMediator_obj; } -hx::ObjectPtr< PageMediator_obj > PageMediator_obj::__new(::String id,::ca::confidant::glory::view::components::PageComponent viewComponent) -{ hx::ObjectPtr< PageMediator_obj > result = new PageMediator_obj(); - result->__construct(id,viewComponent); - return result;} - -Dynamic PageMediator_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< PageMediator_obj > result = new PageMediator_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::ca::confidant::glory::view::components::PageComponent PageMediator_obj::page( ){ - HX_STACK_PUSH("PageMediator::page","ca/confidant/glory/view/PageMediator.hx",26); - HX_STACK_THIS(this); - HX_STACK_LINE(26) - return this->viewComponent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PageMediator_obj,page,return ) - - -PageMediator_obj::PageMediator_obj() -{ -} - -void PageMediator_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(PageMediator); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void PageMediator_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic PageMediator_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"page") ) { return page_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic PageMediator_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void PageMediator_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("page"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PageMediator_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PageMediator_obj::__mClass,"__mClass"); -}; - -Class PageMediator_obj::__mClass; - -void PageMediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.PageMediator"), hx::TCanCast< PageMediator_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void PageMediator_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/components/ActorComponent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/components/ActorComponent.cpp deleted file mode 100644 index e995caf..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/components/ActorComponent.cpp +++ /dev/null @@ -1,193 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#include -#endif -#ifndef INCLUDED_format_SVG -#include -#endif -#ifndef INCLUDED_neash_display_Bitmap -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace components{ - -Void ActorComponent_obj::__construct() -{ -HX_STACK_PUSH("ActorComponent::new","ca/confidant/glory/view/components/ActorComponent.hx",19); -{ - HX_STACK_LINE(20) - super::__construct(); - HX_STACK_LINE(22) - this->nmeSetMouseEnabled(false); -} -; - return null(); -} - -ActorComponent_obj::~ActorComponent_obj() { } - -Dynamic ActorComponent_obj::__CreateEmpty() { return new ActorComponent_obj; } -hx::ObjectPtr< ActorComponent_obj > ActorComponent_obj::__new() -{ hx::ObjectPtr< ActorComponent_obj > result = new ActorComponent_obj(); - result->__construct(); - return result;} - -Dynamic ActorComponent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ActorComponent_obj > result = new ActorComponent_obj(); - result->__construct(); - return result;} - -Void ActorComponent_obj::addSVG( ::String t){ -{ - HX_STACK_PUSH("ActorComponent::addSVG","ca/confidant/glory/view/components/ActorComponent.hx",29); - HX_STACK_THIS(this); - HX_STACK_ARG(t,"t"); - HX_STACK_LINE(30) - ::format::SVG svg = ::format::SVG_obj::__new(t); HX_STACK_VAR(svg,"svg"); - HX_STACK_LINE(31) - svg->render(this->nmeGetGraphics(),null(),null(),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ActorComponent_obj,addSVG,(void)) - -Void ActorComponent_obj::addBitmap( ::neash::display::Bitmap bMap){ -{ - HX_STACK_PUSH("ActorComponent::addBitmap","ca/confidant/glory/view/components/ActorComponent.hx",25); - HX_STACK_THIS(this); - HX_STACK_ARG(bMap,"bMap"); - HX_STACK_LINE(26) - this->defaultBitmap = bMap; - HX_STACK_LINE(27) - this->addChild(bMap); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ActorComponent_obj,addBitmap,(void)) - - -ActorComponent_obj::ActorComponent_obj() -{ -} - -void ActorComponent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ActorComponent); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_MEMBER_NAME(defaultBitmap,"defaultBitmap"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ActorComponent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(type,"type"); - HX_VISIT_MEMBER_NAME(defaultBitmap,"defaultBitmap"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ActorComponent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { return type; } - break; - case 6: - if (HX_FIELD_EQ(inName,"addSVG") ) { return addSVG_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"addBitmap") ) { return addBitmap_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"defaultBitmap") ) { return defaultBitmap; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ActorComponent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"defaultBitmap") ) { defaultBitmap=inValue.Cast< ::neash::display::Bitmap >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ActorComponent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("type")); - outFields->push(HX_CSTRING("defaultBitmap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("addSVG"), - HX_CSTRING("addBitmap"), - HX_CSTRING("type"), - HX_CSTRING("defaultBitmap"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ActorComponent_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ActorComponent_obj::__mClass,"__mClass"); -}; - -Class ActorComponent_obj::__mClass; - -void ActorComponent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.components.ActorComponent"), hx::TCanCast< ActorComponent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ActorComponent_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace components diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/components/ControlComponent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/components/ControlComponent.cpp deleted file mode 100644 index 14ef16e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/components/ControlComponent.cpp +++ /dev/null @@ -1,193 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_view_components_ControlComponent -#include -#endif -#ifndef INCLUDED_format_SVG -#include -#endif -#ifndef INCLUDED_neash_display_Bitmap -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace components{ - -Void ControlComponent_obj::__construct(::String type) -{ -HX_STACK_PUSH("ControlComponent::new","ca/confidant/glory/view/components/ControlComponent.hx",16); -{ - HX_STACK_LINE(17) - super::__construct(); - HX_STACK_LINE(19) - this->type = type; -} -; - return null(); -} - -ControlComponent_obj::~ControlComponent_obj() { } - -Dynamic ControlComponent_obj::__CreateEmpty() { return new ControlComponent_obj; } -hx::ObjectPtr< ControlComponent_obj > ControlComponent_obj::__new(::String type) -{ hx::ObjectPtr< ControlComponent_obj > result = new ControlComponent_obj(); - result->__construct(type); - return result;} - -Dynamic ControlComponent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ControlComponent_obj > result = new ControlComponent_obj(); - result->__construct(inArgs[0]); - return result;} - -Void ControlComponent_obj::addSVG( ::String t){ -{ - HX_STACK_PUSH("ControlComponent::addSVG","ca/confidant/glory/view/components/ControlComponent.hx",26); - HX_STACK_THIS(this); - HX_STACK_ARG(t,"t"); - HX_STACK_LINE(27) - ::format::SVG svg = ::format::SVG_obj::__new(t); HX_STACK_VAR(svg,"svg"); - HX_STACK_LINE(28) - svg->render(this->nmeGetGraphics(),null(),null(),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ControlComponent_obj,addSVG,(void)) - -Void ControlComponent_obj::addBitmap( ::neash::display::Bitmap bMap){ -{ - HX_STACK_PUSH("ControlComponent::addBitmap","ca/confidant/glory/view/components/ControlComponent.hx",22); - HX_STACK_THIS(this); - HX_STACK_ARG(bMap,"bMap"); - HX_STACK_LINE(23) - this->defaultBitmap = bMap; - HX_STACK_LINE(24) - this->addChild(bMap); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ControlComponent_obj,addBitmap,(void)) - - -ControlComponent_obj::ControlComponent_obj() -{ -} - -void ControlComponent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ControlComponent); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_MEMBER_NAME(defaultBitmap,"defaultBitmap"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ControlComponent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(type,"type"); - HX_VISIT_MEMBER_NAME(defaultBitmap,"defaultBitmap"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ControlComponent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { return type; } - break; - case 6: - if (HX_FIELD_EQ(inName,"addSVG") ) { return addSVG_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"addBitmap") ) { return addBitmap_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"defaultBitmap") ) { return defaultBitmap; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ControlComponent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"defaultBitmap") ) { defaultBitmap=inValue.Cast< ::neash::display::Bitmap >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ControlComponent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("type")); - outFields->push(HX_CSTRING("defaultBitmap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("addSVG"), - HX_CSTRING("addBitmap"), - HX_CSTRING("type"), - HX_CSTRING("defaultBitmap"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ControlComponent_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ControlComponent_obj::__mClass,"__mClass"); -}; - -Class ControlComponent_obj::__mClass; - -void ControlComponent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.components.ControlComponent"), hx::TCanCast< ControlComponent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ControlComponent_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace components diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/components/PageComponent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/components/PageComponent.cpp deleted file mode 100644 index 7cc4839..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/components/PageComponent.cpp +++ /dev/null @@ -1,179 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_PageComponent -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace components{ - -Void PageComponent_obj::__construct() -{ -HX_STACK_PUSH("PageComponent::new","ca/confidant/glory/view/components/PageComponent.hx",13); -{ - HX_STACK_LINE(14) - super::__construct(); - HX_STACK_LINE(15) - this->myActors = ::Hash_obj::__new(); - HX_STACK_LINE(17) - ::haxe::Log_obj::trace(HX_CSTRING("new Page!"),hx::SourceInfo(HX_CSTRING("PageComponent.hx"),17,HX_CSTRING("ca.confidant.glory.view.components.PageComponent"),HX_CSTRING("new"))); -} -; - return null(); -} - -PageComponent_obj::~PageComponent_obj() { } - -Dynamic PageComponent_obj::__CreateEmpty() { return new PageComponent_obj; } -hx::ObjectPtr< PageComponent_obj > PageComponent_obj::__new() -{ hx::ObjectPtr< PageComponent_obj > result = new PageComponent_obj(); - result->__construct(); - return result;} - -Dynamic PageComponent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< PageComponent_obj > result = new PageComponent_obj(); - result->__construct(); - return result;} - -Void PageComponent_obj::init( ){ -{ - HX_STACK_PUSH("PageComponent::init","ca/confidant/glory/view/components/PageComponent.hx",28); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PageComponent_obj,init,(void)) - -Void PageComponent_obj::addActor( ::String key,::ca::confidant::glory::view::components::ActorComponent spr){ -{ - HX_STACK_PUSH("PageComponent::addActor","ca/confidant/glory/view/components/PageComponent.hx",20); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_ARG(spr,"spr"); - HX_STACK_LINE(21) - this->addChild(spr); - HX_STACK_LINE(22) - this->myActors->set(key,spr); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(PageComponent_obj,addActor,(void)) - - -PageComponent_obj::PageComponent_obj() -{ -} - -void PageComponent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(PageComponent); - HX_MARK_MEMBER_NAME(myActors,"myActors"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void PageComponent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(myActors,"myActors"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic PageComponent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"init") ) { return init_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"addActor") ) { return addActor_dyn(); } - if (HX_FIELD_EQ(inName,"myActors") ) { return myActors; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic PageComponent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"myActors") ) { myActors=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void PageComponent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("myActors")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("init"), - HX_CSTRING("addActor"), - HX_CSTRING("myActors"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PageComponent_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PageComponent_obj::__mClass,"__mClass"); -}; - -Class PageComponent_obj::__mClass; - -void PageComponent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.components.PageComponent"), hx::TCanCast< PageComponent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void PageComponent_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace components diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/constants/ControlConstants.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/constants/ControlConstants.cpp deleted file mode 100644 index 8ccd529..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/ca/confidant/glory/view/constants/ControlConstants.cpp +++ /dev/null @@ -1,205 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_view_constants_ControlConstants -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace constants{ - -Void ControlConstants_obj::__construct() -{ -HX_STACK_PUSH("ControlConstants::new","ca/confidant/glory/view/constants/ControlConstants.hx",17); -{ -} -; - return null(); -} - -ControlConstants_obj::~ControlConstants_obj() { } - -Dynamic ControlConstants_obj::__CreateEmpty() { return new ControlConstants_obj; } -hx::ObjectPtr< ControlConstants_obj > ControlConstants_obj::__new() -{ hx::ObjectPtr< ControlConstants_obj > result = new ControlConstants_obj(); - result->__construct(); - return result;} - -Dynamic ControlConstants_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ControlConstants_obj > result = new ControlConstants_obj(); - result->__construct(); - return result;} - -::String ControlConstants_obj::PAGE_FORWARD; - -::String ControlConstants_obj::PAGE_BACKWARD; - -::String ControlConstants_obj::PAGE_SKIP_TO; - -::String ControlConstants_obj::TOGGLE_MENU; - -::String ControlConstants_obj::GET_URL; - -::String ControlConstants_obj::PAN_RIGHT_CONTROL; - -::String ControlConstants_obj::PAN_LEFT_CONTROL; - -::String ControlConstants_obj::TRANSITION_OUT; - -::String ControlConstants_obj::TRANSITION_IN; - -::String ControlConstants_obj::CONTROL; - - -ControlConstants_obj::ControlConstants_obj() -{ -} - -void ControlConstants_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ControlConstants); - HX_MARK_END_CLASS(); -} - -void ControlConstants_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic ControlConstants_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"GET_URL") ) { return GET_URL; } - if (HX_FIELD_EQ(inName,"CONTROL") ) { return CONTROL; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TOGGLE_MENU") ) { return TOGGLE_MENU; } - break; - case 12: - if (HX_FIELD_EQ(inName,"PAGE_FORWARD") ) { return PAGE_FORWARD; } - if (HX_FIELD_EQ(inName,"PAGE_SKIP_TO") ) { return PAGE_SKIP_TO; } - break; - case 13: - if (HX_FIELD_EQ(inName,"PAGE_BACKWARD") ) { return PAGE_BACKWARD; } - if (HX_FIELD_EQ(inName,"TRANSITION_IN") ) { return TRANSITION_IN; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TRANSITION_OUT") ) { return TRANSITION_OUT; } - break; - case 16: - if (HX_FIELD_EQ(inName,"PAN_LEFT_CONTROL") ) { return PAN_LEFT_CONTROL; } - break; - case 17: - if (HX_FIELD_EQ(inName,"PAN_RIGHT_CONTROL") ) { return PAN_RIGHT_CONTROL; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ControlConstants_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"GET_URL") ) { GET_URL=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"CONTROL") ) { CONTROL=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TOGGLE_MENU") ) { TOGGLE_MENU=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"PAGE_FORWARD") ) { PAGE_FORWARD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"PAGE_SKIP_TO") ) { PAGE_SKIP_TO=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"PAGE_BACKWARD") ) { PAGE_BACKWARD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TRANSITION_IN") ) { TRANSITION_IN=inValue.Cast< ::String >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TRANSITION_OUT") ) { TRANSITION_OUT=inValue.Cast< ::String >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"PAN_LEFT_CONTROL") ) { PAN_LEFT_CONTROL=inValue.Cast< ::String >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"PAN_RIGHT_CONTROL") ) { PAN_RIGHT_CONTROL=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ControlConstants_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("PAGE_FORWARD"), - HX_CSTRING("PAGE_BACKWARD"), - HX_CSTRING("PAGE_SKIP_TO"), - HX_CSTRING("TOGGLE_MENU"), - HX_CSTRING("GET_URL"), - HX_CSTRING("PAN_RIGHT_CONTROL"), - HX_CSTRING("PAN_LEFT_CONTROL"), - HX_CSTRING("TRANSITION_OUT"), - HX_CSTRING("TRANSITION_IN"), - HX_CSTRING("CONTROL"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ControlConstants_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::PAGE_FORWARD,"PAGE_FORWARD"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::PAGE_BACKWARD,"PAGE_BACKWARD"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::PAGE_SKIP_TO,"PAGE_SKIP_TO"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::TOGGLE_MENU,"TOGGLE_MENU"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::GET_URL,"GET_URL"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::PAN_RIGHT_CONTROL,"PAN_RIGHT_CONTROL"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::PAN_LEFT_CONTROL,"PAN_LEFT_CONTROL"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::TRANSITION_OUT,"TRANSITION_OUT"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::TRANSITION_IN,"TRANSITION_IN"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::CONTROL,"CONTROL"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ControlConstants_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::PAGE_FORWARD,"PAGE_FORWARD"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::PAGE_BACKWARD,"PAGE_BACKWARD"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::PAGE_SKIP_TO,"PAGE_SKIP_TO"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::TOGGLE_MENU,"TOGGLE_MENU"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::GET_URL,"GET_URL"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::PAN_RIGHT_CONTROL,"PAN_RIGHT_CONTROL"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::PAN_LEFT_CONTROL,"PAN_LEFT_CONTROL"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::TRANSITION_OUT,"TRANSITION_OUT"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::TRANSITION_IN,"TRANSITION_IN"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::CONTROL,"CONTROL"); -}; - -Class ControlConstants_obj::__mClass; - -void ControlConstants_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.constants.ControlConstants"), hx::TCanCast< ControlConstants_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ControlConstants_obj::__boot() -{ - PAGE_FORWARD= HX_CSTRING("pageForward"); - PAGE_BACKWARD= HX_CSTRING("pageBackward"); - PAGE_SKIP_TO= HX_CSTRING("pageSkipTo"); - TOGGLE_MENU= HX_CSTRING("toggleMenu"); - GET_URL= HX_CSTRING("getURL"); - PAN_RIGHT_CONTROL= HX_CSTRING("panRight"); - PAN_LEFT_CONTROL= HX_CSTRING("panLeft"); - TRANSITION_OUT= HX_CSTRING("transitionOut"); - TRANSITION_IN= HX_CSTRING("transitionIn"); - CONTROL= HX_CSTRING("control"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace constants diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/cpp/Lib.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/cpp/Lib.cpp deleted file mode 100644 index 8182c29..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/cpp/Lib.cpp +++ /dev/null @@ -1,340 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -namespace cpp{ - -Void Lib_obj::__construct() -{ - return null(); -} - -Lib_obj::~Lib_obj() { } - -Dynamic Lib_obj::__CreateEmpty() { return new Lib_obj; } -hx::ObjectPtr< Lib_obj > Lib_obj::__new() -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -Dynamic Lib_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -Dynamic Lib_obj::load( ::String lib,::String prim,int nargs){ - HX_STACK_PUSH("Lib::load","/usr/lib/haxe/std/cpp/Lib.hx",32); - HX_STACK_ARG(lib,"lib"); - HX_STACK_ARG(prim,"prim"); - HX_STACK_ARG(nargs,"nargs"); - HX_STACK_LINE(32) - return ::cpp::Lib_obj::loadLazy(lib,prim,nargs); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Lib_obj,load,return ) - -Dynamic Lib_obj::loadLazy( ::String lib,::String prim,int nargs){ - HX_STACK_PUSH("Lib::loadLazy","/usr/lib/haxe/std/cpp/Lib.hx",44); - HX_STACK_ARG(lib,"lib"); - HX_STACK_ARG(prim,"prim"); - HX_STACK_ARG(nargs,"nargs"); - HX_STACK_LINE(45) - try{ - HX_STACK_LINE(45) - return ::__loadprim(lib,prim,nargs); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(47) - Dynamic e1 = Dynamic( Array_obj::__new().Add(e)); HX_STACK_VAR(e1,"e1"); - HX_STACK_LINE(47) - switch( (int)(nargs)){ - case (int)0: { - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_3_1,Dynamic,e1) - Void run(){ - HX_STACK_PUSH("*::_Function_3_1","/usr/lib/haxe/std/cpp/Lib.hx",49); - { - HX_STACK_LINE(49) - hx::Throw (e1->__GetItem((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC0((void)) - - HX_STACK_LINE(49) - return Dynamic(new _Function_3_1(e1)); - } - ;break; - case (int)2: { - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_3_1,Dynamic,e1) - Void run(Dynamic _1,Dynamic _2){ - HX_STACK_PUSH("*::_Function_3_1","/usr/lib/haxe/std/cpp/Lib.hx",50); - HX_STACK_ARG(_1,"_1"); - HX_STACK_ARG(_2,"_2"); - { - HX_STACK_LINE(50) - hx::Throw (e1->__GetItem((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC2((void)) - - HX_STACK_LINE(50) - return Dynamic(new _Function_3_1(e1)); - } - ;break; - case (int)3: { - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_3_1,Dynamic,e1) - Void run(Dynamic _1,Dynamic _2,Dynamic _3){ - HX_STACK_PUSH("*::_Function_3_1","/usr/lib/haxe/std/cpp/Lib.hx",51); - HX_STACK_ARG(_1,"_1"); - HX_STACK_ARG(_2,"_2"); - HX_STACK_ARG(_3,"_3"); - { - HX_STACK_LINE(51) - hx::Throw (e1->__GetItem((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC3((void)) - - HX_STACK_LINE(51) - return Dynamic(new _Function_3_1(e1)); - } - ;break; - case (int)4: { - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_3_1,Dynamic,e1) - Void run(Dynamic _1,Dynamic _2,Dynamic _3,Dynamic _4){ - HX_STACK_PUSH("*::_Function_3_1","/usr/lib/haxe/std/cpp/Lib.hx",52); - HX_STACK_ARG(_1,"_1"); - HX_STACK_ARG(_2,"_2"); - HX_STACK_ARG(_3,"_3"); - HX_STACK_ARG(_4,"_4"); - { - HX_STACK_LINE(52) - hx::Throw (e1->__GetItem((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC4((void)) - - HX_STACK_LINE(52) - return Dynamic(new _Function_3_1(e1)); - } - ;break; - case (int)5: { - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_3_1,Dynamic,e1) - Void run(Dynamic _1,Dynamic _2,Dynamic _3,Dynamic _4,Dynamic _5){ - HX_STACK_PUSH("*::_Function_3_1","/usr/lib/haxe/std/cpp/Lib.hx",53); - HX_STACK_ARG(_1,"_1"); - HX_STACK_ARG(_2,"_2"); - HX_STACK_ARG(_3,"_3"); - HX_STACK_ARG(_4,"_4"); - HX_STACK_ARG(_5,"_5"); - { - HX_STACK_LINE(53) - hx::Throw (e1->__GetItem((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC5((void)) - - HX_STACK_LINE(53) - return Dynamic(new _Function_3_1(e1)); - } - ;break; - default: { - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_3_1,Dynamic,e1) - Void run(Dynamic _1){ - HX_STACK_PUSH("*::_Function_3_1","/usr/lib/haxe/std/cpp/Lib.hx",54); - HX_STACK_ARG(_1,"_1"); - { - HX_STACK_LINE(54) - hx::Throw (e1->__GetItem((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - HX_STACK_LINE(54) - return Dynamic(new _Function_3_1(e1)); - } - } - } - } - } - HX_STACK_LINE(57) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Lib_obj,loadLazy,return ) - -Void Lib_obj::rethrow( Dynamic inExp){ -{ - HX_STACK_PUSH("Lib::rethrow","/usr/lib/haxe/std/cpp/Lib.hx",60); - HX_STACK_ARG(inExp,"inExp"); - HX_STACK_LINE(60) - hx::Throw (inExp); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,rethrow,(void)) - -Void Lib_obj::stringReference( Dynamic inExp){ -{ - HX_STACK_PUSH("Lib::stringReference","/usr/lib/haxe/std/cpp/Lib.hx",62); - HX_STACK_ARG(inExp,"inExp"); - HX_STACK_LINE(62) - hx::Throw (inExp); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,stringReference,(void)) - -Void Lib_obj::print( Dynamic v){ -{ - HX_STACK_PUSH("Lib::print","/usr/lib/haxe/std/cpp/Lib.hx",67); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(67) - ::__hxcpp_print(v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,print,(void)) - -Dynamic Lib_obj::haxeToNeko( Dynamic v){ - HX_STACK_PUSH("Lib::haxeToNeko","/usr/lib/haxe/std/cpp/Lib.hx",75); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(75) - return v; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,haxeToNeko,return ) - -Dynamic Lib_obj::nekoToHaxe( Dynamic v){ - HX_STACK_PUSH("Lib::nekoToHaxe","/usr/lib/haxe/std/cpp/Lib.hx",83); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(83) - return v; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,nekoToHaxe,return ) - -Void Lib_obj::println( Dynamic v){ -{ - HX_STACK_PUSH("Lib::println","/usr/lib/haxe/std/cpp/Lib.hx",89); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(89) - ::__hxcpp_println(v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,println,(void)) - - -Lib_obj::Lib_obj() -{ -} - -void Lib_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Lib); - HX_MARK_END_CLASS(); -} - -void Lib_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Lib_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"print") ) { return print_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"rethrow") ) { return rethrow_dyn(); } - if (HX_FIELD_EQ(inName,"println") ) { return println_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"loadLazy") ) { return loadLazy_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"haxeToNeko") ) { return haxeToNeko_dyn(); } - if (HX_FIELD_EQ(inName,"nekoToHaxe") ) { return nekoToHaxe_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"stringReference") ) { return stringReference_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Lib_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Lib_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("load"), - HX_CSTRING("loadLazy"), - HX_CSTRING("rethrow"), - HX_CSTRING("stringReference"), - HX_CSTRING("print"), - HX_CSTRING("haxeToNeko"), - HX_CSTRING("nekoToHaxe"), - HX_CSTRING("println"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); -}; - -Class Lib_obj::__mClass; - -void Lib_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("cpp.Lib"), hx::TCanCast< Lib_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Lib_obj::__boot() -{ -} - -} // end namespace cpp diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/cpp/rtti/FieldNumericIntegerLookup.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/cpp/rtti/FieldNumericIntegerLookup.cpp deleted file mode 100644 index 06a7477..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/cpp/rtti/FieldNumericIntegerLookup.cpp +++ /dev/null @@ -1,32 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_rtti_FieldNumericIntegerLookup -#include -#endif -namespace cpp{ -namespace rtti{ - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FieldNumericIntegerLookup_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FieldNumericIntegerLookup_obj::__mClass,"__mClass"); -}; - -Class FieldNumericIntegerLookup_obj::__mClass; - -void FieldNumericIntegerLookup_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("cpp.rtti.FieldNumericIntegerLookup"), hx::TCanCast< FieldNumericIntegerLookup_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void FieldNumericIntegerLookup_obj::__boot() -{ -} - -} // end namespace cpp -} // end namespace rtti diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/cpp/zip/Compress.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/cpp/zip/Compress.cpp deleted file mode 100644 index 6ffe722..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/cpp/zip/Compress.cpp +++ /dev/null @@ -1,252 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_cpp_zip_Compress -#include -#endif -#ifndef INCLUDED_cpp_zip_Flush -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -namespace cpp{ -namespace zip{ - -Void Compress_obj::__construct(int level) -{ -HX_STACK_PUSH("Compress::new","/usr/lib/haxe/std/cpp/zip/Compress.hx",31); -{ - HX_STACK_LINE(31) - this->s = ::cpp::zip::Compress_obj::_deflate_init(level); -} -; - return null(); -} - -Compress_obj::~Compress_obj() { } - -Dynamic Compress_obj::__CreateEmpty() { return new Compress_obj; } -hx::ObjectPtr< Compress_obj > Compress_obj::__new(int level) -{ hx::ObjectPtr< Compress_obj > result = new Compress_obj(); - result->__construct(level); - return result;} - -Dynamic Compress_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Compress_obj > result = new Compress_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Compress_obj::close( ){ -{ - HX_STACK_PUSH("Compress::close","/usr/lib/haxe/std/cpp/zip/Compress.hx",43); - HX_STACK_THIS(this); - HX_STACK_LINE(43) - ::cpp::zip::Compress_obj::_deflate_end(this->s); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Compress_obj,close,(void)) - -Void Compress_obj::setFlushMode( ::cpp::zip::Flush f){ -{ - HX_STACK_PUSH("Compress::setFlushMode","/usr/lib/haxe/std/cpp/zip/Compress.hx",39); - HX_STACK_THIS(this); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(39) - ::cpp::zip::Compress_obj::_set_flush_mode(this->s,::Std_obj::string(f)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Compress_obj,setFlushMode,(void)) - -Dynamic Compress_obj::execute( ::haxe::io::Bytes src,int srcPos,::haxe::io::Bytes dst,int dstPos){ - HX_STACK_PUSH("Compress::execute","/usr/lib/haxe/std/cpp/zip/Compress.hx",35); - HX_STACK_THIS(this); - HX_STACK_ARG(src,"src"); - HX_STACK_ARG(srcPos,"srcPos"); - HX_STACK_ARG(dst,"dst"); - HX_STACK_ARG(dstPos,"dstPos"); - HX_STACK_LINE(35) - return ::cpp::zip::Compress_obj::_deflate_buffer(this->s,src->b,srcPos,dst->b,dstPos); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Compress_obj,execute,return ) - -::haxe::io::Bytes Compress_obj::run( ::haxe::io::Bytes s,int level){ - HX_STACK_PUSH("Compress::run","/usr/lib/haxe/std/cpp/zip/Compress.hx",47); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(level,"level"); - HX_STACK_LINE(48) - ::cpp::zip::Compress c = ::cpp::zip::Compress_obj::__new(level); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(49) - c->setFlushMode(::cpp::zip::Flush_obj::FINISH_dyn()); - HX_STACK_LINE(50) - ::haxe::io::Bytes out = ::haxe::io::Bytes_obj::alloc(::cpp::zip::Compress_obj::_deflate_bound(c->s,s->length)); HX_STACK_VAR(out,"out"); - HX_STACK_LINE(51) - Dynamic r = c->execute(s,(int)0,out,(int)0); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(52) - c->close(); - HX_STACK_LINE(53) - if (((bool(!(r->__Field(HX_CSTRING("done"),true))) || bool((r->__Field(HX_CSTRING("read"),true) != s->length))))){ - HX_STACK_LINE(54) - hx::Throw (HX_CSTRING("Compression failed")); - } - HX_STACK_LINE(55) - return out->sub((int)0,r->__Field(HX_CSTRING("write"),true)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Compress_obj,run,return ) - -Dynamic Compress_obj::_deflate_init; - -Dynamic Compress_obj::_deflate_bound; - -Dynamic Compress_obj::_deflate_buffer; - -Dynamic Compress_obj::_deflate_end; - -Dynamic Compress_obj::_set_flush_mode; - - -Compress_obj::Compress_obj() -{ -} - -void Compress_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Compress); - HX_MARK_MEMBER_NAME(s,"s"); - HX_MARK_END_CLASS(); -} - -void Compress_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(s,"s"); -} - -Dynamic Compress_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"s") ) { return s; } - break; - case 3: - if (HX_FIELD_EQ(inName,"run") ) { return run_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_deflate_end") ) { return _deflate_end; } - if (HX_FIELD_EQ(inName,"setFlushMode") ) { return setFlushMode_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"_deflate_init") ) { return _deflate_init; } - break; - case 14: - if (HX_FIELD_EQ(inName,"_deflate_bound") ) { return _deflate_bound; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_deflate_buffer") ) { return _deflate_buffer; } - if (HX_FIELD_EQ(inName,"_set_flush_mode") ) { return _set_flush_mode; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Compress_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"s") ) { s=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_deflate_end") ) { _deflate_end=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"_deflate_init") ) { _deflate_init=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"_deflate_bound") ) { _deflate_bound=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_deflate_buffer") ) { _deflate_buffer=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"_set_flush_mode") ) { _set_flush_mode=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Compress_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("s")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("run"), - HX_CSTRING("_deflate_init"), - HX_CSTRING("_deflate_bound"), - HX_CSTRING("_deflate_buffer"), - HX_CSTRING("_deflate_end"), - HX_CSTRING("_set_flush_mode"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("close"), - HX_CSTRING("setFlushMode"), - HX_CSTRING("execute"), - HX_CSTRING("s"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Compress_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Compress_obj::_deflate_init,"_deflate_init"); - HX_MARK_MEMBER_NAME(Compress_obj::_deflate_bound,"_deflate_bound"); - HX_MARK_MEMBER_NAME(Compress_obj::_deflate_buffer,"_deflate_buffer"); - HX_MARK_MEMBER_NAME(Compress_obj::_deflate_end,"_deflate_end"); - HX_MARK_MEMBER_NAME(Compress_obj::_set_flush_mode,"_set_flush_mode"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Compress_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Compress_obj::_deflate_init,"_deflate_init"); - HX_VISIT_MEMBER_NAME(Compress_obj::_deflate_bound,"_deflate_bound"); - HX_VISIT_MEMBER_NAME(Compress_obj::_deflate_buffer,"_deflate_buffer"); - HX_VISIT_MEMBER_NAME(Compress_obj::_deflate_end,"_deflate_end"); - HX_VISIT_MEMBER_NAME(Compress_obj::_set_flush_mode,"_set_flush_mode"); -}; - -Class Compress_obj::__mClass; - -void Compress_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("cpp.zip.Compress"), hx::TCanCast< Compress_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Compress_obj::__boot() -{ - _deflate_init= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("deflate_init"),(int)1); - _deflate_bound= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("deflate_bound"),(int)2); - _deflate_buffer= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("deflate_buffer"),(int)5); - _deflate_end= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("deflate_end"),(int)1); - _set_flush_mode= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("set_flush_mode"),(int)2); -} - -} // end namespace cpp -} // end namespace zip diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/cpp/zip/Flush.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/cpp/zip/Flush.cpp deleted file mode 100644 index 50adb77..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/cpp/zip/Flush.cpp +++ /dev/null @@ -1,100 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_zip_Flush -#include -#endif -namespace cpp{ -namespace zip{ - -::cpp::zip::Flush Flush_obj::BLOCK; - -::cpp::zip::Flush Flush_obj::FINISH; - -::cpp::zip::Flush Flush_obj::FULL; - -::cpp::zip::Flush Flush_obj::NO; - -::cpp::zip::Flush Flush_obj::SYNC; - -HX_DEFINE_CREATE_ENUM(Flush_obj) - -int Flush_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BLOCK")) return 4; - if (inName==HX_CSTRING("FINISH")) return 3; - if (inName==HX_CSTRING("FULL")) return 2; - if (inName==HX_CSTRING("NO")) return 0; - if (inName==HX_CSTRING("SYNC")) return 1; - return super::__FindIndex(inName); -} - -int Flush_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BLOCK")) return 0; - if (inName==HX_CSTRING("FINISH")) return 0; - if (inName==HX_CSTRING("FULL")) return 0; - if (inName==HX_CSTRING("NO")) return 0; - if (inName==HX_CSTRING("SYNC")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic Flush_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BLOCK")) return BLOCK; - if (inName==HX_CSTRING("FINISH")) return FINISH; - if (inName==HX_CSTRING("FULL")) return FULL; - if (inName==HX_CSTRING("NO")) return NO; - if (inName==HX_CSTRING("SYNC")) return SYNC; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NO"), - HX_CSTRING("SYNC"), - HX_CSTRING("FULL"), - HX_CSTRING("FINISH"), - HX_CSTRING("BLOCK"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Flush_obj::BLOCK,"BLOCK"); - HX_MARK_MEMBER_NAME(Flush_obj::FINISH,"FINISH"); - HX_MARK_MEMBER_NAME(Flush_obj::FULL,"FULL"); - HX_MARK_MEMBER_NAME(Flush_obj::NO,"NO"); - HX_MARK_MEMBER_NAME(Flush_obj::SYNC,"SYNC"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Flush_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Flush_obj::BLOCK,"BLOCK"); - HX_VISIT_MEMBER_NAME(Flush_obj::FINISH,"FINISH"); - HX_VISIT_MEMBER_NAME(Flush_obj::FULL,"FULL"); - HX_VISIT_MEMBER_NAME(Flush_obj::NO,"NO"); - HX_VISIT_MEMBER_NAME(Flush_obj::SYNC,"SYNC"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class Flush_obj::__mClass; - -Dynamic __Create_Flush_obj() { return new Flush_obj; } - -void Flush_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("cpp.zip.Flush"), hx::TCanCast< Flush_obj >,sStaticFields,sMemberFields, - &__Create_Flush_obj, &__Create, - &super::__SGetClass(), &CreateFlush_obj, sMarkStatics, sVisitStatic); -} - -void Flush_obj::__boot() -{ -Static(BLOCK) = hx::CreateEnum< Flush_obj >(HX_CSTRING("BLOCK"),4); -Static(FINISH) = hx::CreateEnum< Flush_obj >(HX_CSTRING("FINISH"),3); -Static(FULL) = hx::CreateEnum< Flush_obj >(HX_CSTRING("FULL"),2); -Static(NO) = hx::CreateEnum< Flush_obj >(HX_CSTRING("NO"),0); -Static(SYNC) = hx::CreateEnum< Flush_obj >(HX_CSTRING("SYNC"),1); -} - - -} // end namespace cpp -} // end namespace zip diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/cpp/zip/Uncompress.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/cpp/zip/Uncompress.cpp deleted file mode 100644 index 92c81f8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/cpp/zip/Uncompress.cpp +++ /dev/null @@ -1,284 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_cpp_zip_Flush -#include -#endif -#ifndef INCLUDED_cpp_zip_Uncompress -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_BytesBuffer -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -namespace cpp{ -namespace zip{ - -Void Uncompress_obj::__construct(Dynamic windowBits) -{ -HX_STACK_PUSH("Uncompress::new","/usr/lib/haxe/std/cpp/zip/Uncompress.hx",30); -{ - HX_STACK_LINE(30) - this->s = ::cpp::zip::Uncompress_obj::_inflate_init(windowBits); -} -; - return null(); -} - -Uncompress_obj::~Uncompress_obj() { } - -Dynamic Uncompress_obj::__CreateEmpty() { return new Uncompress_obj; } -hx::ObjectPtr< Uncompress_obj > Uncompress_obj::__new(Dynamic windowBits) -{ hx::ObjectPtr< Uncompress_obj > result = new Uncompress_obj(); - result->__construct(windowBits); - return result;} - -Dynamic Uncompress_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Uncompress_obj > result = new Uncompress_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Uncompress_obj::close( ){ -{ - HX_STACK_PUSH("Uncompress::close","/usr/lib/haxe/std/cpp/zip/Uncompress.hx",42); - HX_STACK_THIS(this); - HX_STACK_LINE(42) - ::cpp::zip::Uncompress_obj::_inflate_end(this->s); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Uncompress_obj,close,(void)) - -Void Uncompress_obj::setFlushMode( ::cpp::zip::Flush f){ -{ - HX_STACK_PUSH("Uncompress::setFlushMode","/usr/lib/haxe/std/cpp/zip/Uncompress.hx",38); - HX_STACK_THIS(this); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(38) - ::cpp::zip::Uncompress_obj::_set_flush_mode(this->s,f->__Tag()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Uncompress_obj,setFlushMode,(void)) - -Dynamic Uncompress_obj::this_run( ::haxe::io::Bytes src,int srcPos,::haxe::io::Bytes dst,int dstPos){ - HX_STACK_PUSH("Uncompress::this_run","/usr/lib/haxe/std/cpp/zip/Uncompress.hx",34); - HX_STACK_THIS(this); - HX_STACK_ARG(src,"src"); - HX_STACK_ARG(srcPos,"srcPos"); - HX_STACK_ARG(dst,"dst"); - HX_STACK_ARG(dstPos,"dstPos"); - HX_STACK_LINE(34) - return ::cpp::zip::Uncompress_obj::_inflate_buffer(this->s,src->b,srcPos,dst->b,dstPos); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Uncompress_obj,this_run,return ) - -::haxe::io::Bytes Uncompress_obj::run( ::haxe::io::Bytes src,Dynamic bufsize){ - HX_STACK_PUSH("Uncompress::run","/usr/lib/haxe/std/cpp/zip/Uncompress.hx",46); - HX_STACK_ARG(src,"src"); - HX_STACK_ARG(bufsize,"bufsize"); - HX_STACK_LINE(47) - ::cpp::zip::Uncompress u = ::cpp::zip::Uncompress_obj::__new(null()); HX_STACK_VAR(u,"u"); - HX_STACK_LINE(48) - if (((bufsize == null()))){ - HX_STACK_LINE(48) - bufsize = (int)65536; - } - HX_STACK_LINE(49) - ::haxe::io::Bytes tmp = ::haxe::io::Bytes_obj::alloc(bufsize); HX_STACK_VAR(tmp,"tmp"); - HX_STACK_LINE(50) - ::haxe::io::BytesBuffer b = ::haxe::io::BytesBuffer_obj::__new(); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(51) - int pos = (int)0; HX_STACK_VAR(pos,"pos"); - HX_STACK_LINE(52) - u->setFlushMode(::cpp::zip::Flush_obj::SYNC_dyn()); - HX_STACK_LINE(53) - while((true)){ - HX_STACK_LINE(54) - Dynamic r = u->this_run(src,pos,tmp,(int)0); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(55) - { - HX_STACK_LINE(55) - int len = r->__Field(HX_CSTRING("write"),true); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(55) - if (((bool((len < (int)0)) || bool((len > tmp->length))))){ - HX_STACK_LINE(55) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(55) - Array< unsigned char > b1 = b->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(55) - Array< unsigned char > b2 = tmp->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(55) - { - HX_STACK_LINE(55) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = len; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(55) - while(((_g1 < _g))){ - HX_STACK_LINE(55) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(55) - b->b->push(b2->__get(i)); - } - } - } - HX_STACK_LINE(56) - hx::AddEq(pos,r->__Field(HX_CSTRING("read"),true)); - HX_STACK_LINE(57) - if ((r->__Field(HX_CSTRING("done"),true))){ - HX_STACK_LINE(58) - break; - } - } - HX_STACK_LINE(60) - u->close(); - HX_STACK_LINE(61) - return b->getBytes(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Uncompress_obj,run,return ) - -Dynamic Uncompress_obj::_inflate_init; - -Dynamic Uncompress_obj::_inflate_buffer; - -Dynamic Uncompress_obj::_inflate_end; - -Dynamic Uncompress_obj::_set_flush_mode; - - -Uncompress_obj::Uncompress_obj() -{ -} - -void Uncompress_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Uncompress); - HX_MARK_MEMBER_NAME(s,"s"); - HX_MARK_END_CLASS(); -} - -void Uncompress_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(s,"s"); -} - -Dynamic Uncompress_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"s") ) { return s; } - break; - case 3: - if (HX_FIELD_EQ(inName,"run") ) { return run_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"this_run") ) { return this_run_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_inflate_end") ) { return _inflate_end; } - if (HX_FIELD_EQ(inName,"setFlushMode") ) { return setFlushMode_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"_inflate_init") ) { return _inflate_init; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_inflate_buffer") ) { return _inflate_buffer; } - if (HX_FIELD_EQ(inName,"_set_flush_mode") ) { return _set_flush_mode; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Uncompress_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"s") ) { s=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_inflate_end") ) { _inflate_end=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"_inflate_init") ) { _inflate_init=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_inflate_buffer") ) { _inflate_buffer=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"_set_flush_mode") ) { _set_flush_mode=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Uncompress_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("s")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("run"), - HX_CSTRING("_inflate_init"), - HX_CSTRING("_inflate_buffer"), - HX_CSTRING("_inflate_end"), - HX_CSTRING("_set_flush_mode"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("close"), - HX_CSTRING("setFlushMode"), - HX_CSTRING("this_run"), - HX_CSTRING("s"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Uncompress_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Uncompress_obj::_inflate_init,"_inflate_init"); - HX_MARK_MEMBER_NAME(Uncompress_obj::_inflate_buffer,"_inflate_buffer"); - HX_MARK_MEMBER_NAME(Uncompress_obj::_inflate_end,"_inflate_end"); - HX_MARK_MEMBER_NAME(Uncompress_obj::_set_flush_mode,"_set_flush_mode"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Uncompress_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Uncompress_obj::_inflate_init,"_inflate_init"); - HX_VISIT_MEMBER_NAME(Uncompress_obj::_inflate_buffer,"_inflate_buffer"); - HX_VISIT_MEMBER_NAME(Uncompress_obj::_inflate_end,"_inflate_end"); - HX_VISIT_MEMBER_NAME(Uncompress_obj::_set_flush_mode,"_set_flush_mode"); -}; - -Class Uncompress_obj::__mClass; - -void Uncompress_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("cpp.zip.Uncompress"), hx::TCanCast< Uncompress_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Uncompress_obj::__boot() -{ - _inflate_init= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("inflate_init"),(int)1); - _inflate_buffer= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("inflate_buffer"),(int)5); - _inflate_end= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("inflate_end"),(int)1); - _set_flush_mode= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("set_flush_mode"),(int)2); -} - -} // end namespace cpp -} // end namespace zip diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/SVG.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/SVG.cpp deleted file mode 100644 index bd7682d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/SVG.cpp +++ /dev/null @@ -1,161 +0,0 @@ -#include - -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_format_SVG -#include -#endif -#ifndef INCLUDED_format_svg_Group -#include -#endif -#ifndef INCLUDED_format_svg_SVGData -#include -#endif -#ifndef INCLUDED_format_svg_SVGRenderer -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -namespace format{ - -Void SVG_obj::__construct(::String content) -{ -HX_STACK_PUSH("SVG::new","format/SVG.hx",17); -{ - HX_STACK_LINE(17) - this->data = ::format::svg::SVGData_obj::__new(::Xml_obj::parse(content),null()); -} -; - return null(); -} - -SVG_obj::~SVG_obj() { } - -Dynamic SVG_obj::__CreateEmpty() { return new SVG_obj; } -hx::ObjectPtr< SVG_obj > SVG_obj::__new(::String content) -{ hx::ObjectPtr< SVG_obj > result = new SVG_obj(); - result->__construct(content); - return result;} - -Dynamic SVG_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SVG_obj > result = new SVG_obj(); - result->__construct(inArgs[0]); - return result;} - -Void SVG_obj::render( ::neash::display::Graphics graphics,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< int > __o_width,hx::Null< int > __o_height){ -Float x = __o_x.Default(0); -Float y = __o_y.Default(0); -int width = __o_width.Default(-1); -int height = __o_height.Default(-1); - HX_STACK_PUSH("SVG::render","format/SVG.hx",24); - HX_STACK_THIS(this); - HX_STACK_ARG(graphics,"graphics"); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); -{ - HX_STACK_LINE(26) - ::neash::geom::Matrix matrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(matrix,"matrix"); - HX_STACK_LINE(27) - matrix->identity(); - HX_STACK_LINE(28) - matrix->translate(x,y); - HX_STACK_LINE(30) - if (((bool((width > (int)-1)) && bool((height > (int)-1))))){ - HX_STACK_LINE(30) - matrix->scale((Float(width) / Float(this->data->width)),(Float(height) / Float(this->data->height))); - } - HX_STACK_LINE(36) - ::format::svg::SVGRenderer renderer = ::format::svg::SVGRenderer_obj::__new(this->data,null()); HX_STACK_VAR(renderer,"renderer"); - HX_STACK_LINE(37) - renderer->render(graphics,matrix,null(),null(),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(SVG_obj,render,(void)) - - -SVG_obj::SVG_obj() -{ -} - -void SVG_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SVG); - HX_MARK_MEMBER_NAME(data,"data"); - HX_MARK_END_CLASS(); -} - -void SVG_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(data,"data"); -} - -Dynamic SVG_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"data") ) { return data; } - break; - case 6: - if (HX_FIELD_EQ(inName,"render") ) { return render_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SVG_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"data") ) { data=inValue.Cast< ::format::svg::SVGData >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SVG_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("data")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("render"), - HX_CSTRING("data"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SVG_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SVG_obj::__mClass,"__mClass"); -}; - -Class SVG_obj::__mClass; - -void SVG_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.SVG"), hx::TCanCast< SVG_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SVG_obj::__boot() -{ -} - -} // end namespace format diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/Gfx.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/Gfx.cpp deleted file mode 100644 index a161e5e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/Gfx.cpp +++ /dev/null @@ -1,285 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_gfx_LineStyle -#include -#endif -#ifndef INCLUDED_format_svg_Text -#include -#endif -namespace format{ -namespace gfx{ - -Void Gfx_obj::__construct() -{ -HX_STACK_PUSH("Gfx::new","format/gfx/Gfx.hx",15); -{ -} -; - return null(); -} - -Gfx_obj::~Gfx_obj() { } - -Dynamic Gfx_obj::__CreateEmpty() { return new Gfx_obj; } -hx::ObjectPtr< Gfx_obj > Gfx_obj::__new() -{ hx::ObjectPtr< Gfx_obj > result = new Gfx_obj(); - result->__construct(); - return result;} - -Dynamic Gfx_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Gfx_obj > result = new Gfx_obj(); - result->__construct(); - return result;} - -Void Gfx_obj::eof( ){ -{ - HX_STACK_PUSH("Gfx::eof","format/gfx/Gfx.hx",32); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Gfx_obj,eof,(void)) - -Void Gfx_obj::renderText( ::format::svg::Text text){ -{ - HX_STACK_PUSH("Gfx::renderText","format/gfx/Gfx.hx",30); - HX_STACK_THIS(this); - HX_STACK_ARG(text,"text"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Gfx_obj,renderText,(void)) - -Void Gfx_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("Gfx::curveTo","format/gfx/Gfx.hx",28); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Gfx_obj,curveTo,(void)) - -Void Gfx_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Gfx::lineTo","format/gfx/Gfx.hx",27); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Gfx_obj,lineTo,(void)) - -Void Gfx_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Gfx::moveTo","format/gfx/Gfx.hx",26); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Gfx_obj,moveTo,(void)) - -Void Gfx_obj::endLineStyle( ){ -{ - HX_STACK_PUSH("Gfx::endLineStyle","format/gfx/Gfx.hx",24); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Gfx_obj,endLineStyle,(void)) - -Void Gfx_obj::lineStyle( ::format::gfx::LineStyle style){ -{ - HX_STACK_PUSH("Gfx::lineStyle","format/gfx/Gfx.hx",23); - HX_STACK_THIS(this); - HX_STACK_ARG(style,"style"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Gfx_obj,lineStyle,(void)) - -Void Gfx_obj::endFill( ){ -{ - HX_STACK_PUSH("Gfx::endFill","format/gfx/Gfx.hx",21); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Gfx_obj,endFill,(void)) - -Void Gfx_obj::beginFill( int color,Float alpha){ -{ - HX_STACK_PUSH("Gfx::beginFill","format/gfx/Gfx.hx",20); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Gfx_obj,beginFill,(void)) - -Void Gfx_obj::beginGradientFill( ::format::gfx::Gradient grad){ -{ - HX_STACK_PUSH("Gfx::beginGradientFill","format/gfx/Gfx.hx",18); - HX_STACK_THIS(this); - HX_STACK_ARG(grad,"grad"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Gfx_obj,beginGradientFill,(void)) - -Void Gfx_obj::size( Float inWidth,Float inHeight){ -{ - HX_STACK_PUSH("Gfx::size","format/gfx/Gfx.hx",17); - HX_STACK_THIS(this); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Gfx_obj,size,(void)) - -bool Gfx_obj::geometryOnly( ){ - HX_STACK_PUSH("Gfx::geometryOnly","format/gfx/Gfx.hx",16); - HX_STACK_THIS(this); - HX_STACK_LINE(16) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Gfx_obj,geometryOnly,return ) - - -Gfx_obj::Gfx_obj() -{ -} - -void Gfx_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Gfx); - HX_MARK_END_CLASS(); -} - -void Gfx_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Gfx_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"eof") ) { return eof_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"size") ) { return size_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - if (HX_FIELD_EQ(inName,"endFill") ) { return endFill_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"lineStyle") ) { return lineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"beginFill") ) { return beginFill_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"renderText") ) { return renderText_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"endLineStyle") ) { return endLineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"geometryOnly") ) { return geometryOnly_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"beginGradientFill") ) { return beginGradientFill_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Gfx_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Gfx_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("eof"), - HX_CSTRING("renderText"), - HX_CSTRING("curveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("moveTo"), - HX_CSTRING("endLineStyle"), - HX_CSTRING("lineStyle"), - HX_CSTRING("endFill"), - HX_CSTRING("beginFill"), - HX_CSTRING("beginGradientFill"), - HX_CSTRING("size"), - HX_CSTRING("geometryOnly"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Gfx_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Gfx_obj::__mClass,"__mClass"); -}; - -Class Gfx_obj::__mClass; - -void Gfx_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.Gfx"), hx::TCanCast< Gfx_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Gfx_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/Gfx2Haxe.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/Gfx2Haxe.cpp deleted file mode 100644 index 56cf9bb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/Gfx2Haxe.cpp +++ /dev/null @@ -1,307 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_Gfx2Haxe -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_gfx_LineStyle -#include -#endif -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -#ifndef INCLUDED_neash_display_GradientType -#include -#endif -#ifndef INCLUDED_neash_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -#ifndef INCLUDED_neash_display_LineScaleMode -#include -#endif -#ifndef INCLUDED_neash_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace format{ -namespace gfx{ - -Void Gfx2Haxe_obj::__construct() -{ -HX_STACK_PUSH("Gfx2Haxe::new","format/gfx/Gfx2Haxe.hx",17); -{ - HX_STACK_LINE(18) - super::__construct(); - HX_STACK_LINE(19) - this->commands = Array_obj< ::String >::__new(); -} -; - return null(); -} - -Gfx2Haxe_obj::~Gfx2Haxe_obj() { } - -Dynamic Gfx2Haxe_obj::__CreateEmpty() { return new Gfx2Haxe_obj; } -hx::ObjectPtr< Gfx2Haxe_obj > Gfx2Haxe_obj::__new() -{ hx::ObjectPtr< Gfx2Haxe_obj > result = new Gfx2Haxe_obj(); - result->__construct(); - return result;} - -Dynamic Gfx2Haxe_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Gfx2Haxe_obj > result = new Gfx2Haxe_obj(); - result->__construct(); - return result;} - -Void Gfx2Haxe_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("Gfx2Haxe::curveTo","format/gfx/Gfx2Haxe.hx",64); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(64) - this->commands->push(((((((((HX_CSTRING("g.curveTo(") + inCX) + HX_CSTRING(",")) + inCY) + HX_CSTRING(",")) + inX) + HX_CSTRING(",")) + inY) + HX_CSTRING(");"))); - } -return null(); -} - - -Void Gfx2Haxe_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Gfx2Haxe::lineTo","format/gfx/Gfx2Haxe.hx",62); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(62) - this->commands->push(((((HX_CSTRING("g.lineTo(") + inX) + HX_CSTRING(",")) + inY) + HX_CSTRING(");"))); - } -return null(); -} - - -Void Gfx2Haxe_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Gfx2Haxe::moveTo","format/gfx/Gfx2Haxe.hx",60); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(60) - this->commands->push(((((HX_CSTRING("g.moveTo(") + inX) + HX_CSTRING(",")) + inY) + HX_CSTRING(");"))); - } -return null(); -} - - -Void Gfx2Haxe_obj::endLineStyle( ){ -{ - HX_STACK_PUSH("Gfx2Haxe::endLineStyle","format/gfx/Gfx2Haxe.hx",57); - HX_STACK_THIS(this); - HX_STACK_LINE(57) - this->commands->push(HX_CSTRING("g.lineStyle();")); - } -return null(); -} - - -Void Gfx2Haxe_obj::lineStyle( ::format::gfx::LineStyle style){ -{ - HX_STACK_PUSH("Gfx2Haxe::lineStyle","format/gfx/Gfx2Haxe.hx",51); - HX_STACK_THIS(this); - HX_STACK_ARG(style,"style"); - HX_STACK_LINE(51) - this->commands->push((((((((((((((((HX_CSTRING("g.lineStyle(") + this->f2a(style->thickness)) + HX_CSTRING(",")) + style->color) + HX_CSTRING(",")) + this->f2a(style->alpha)) + HX_CSTRING(",")) + ::Std_obj::string(style->pixelHinting)) + HX_CSTRING(",")) + ::Std_obj::string(style->scaleMode)) + HX_CSTRING(",")) + ::Std_obj::string(style->capsStyle)) + HX_CSTRING(",")) + ::Std_obj::string(style->jointStyle)) + HX_CSTRING(",")) + this->f2a(style->miterLimit))); - } -return null(); -} - - -Void Gfx2Haxe_obj::endFill( ){ -{ - HX_STACK_PUSH("Gfx2Haxe::endFill","format/gfx/Gfx2Haxe.hx",47); - HX_STACK_THIS(this); - HX_STACK_LINE(47) - this->commands->push(HX_CSTRING("g.endFill();")); - } -return null(); -} - - -Void Gfx2Haxe_obj::beginFill( int color,Float alpha){ -{ - HX_STACK_PUSH("Gfx2Haxe::beginFill","format/gfx/Gfx2Haxe.hx",44); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); - HX_STACK_LINE(44) - this->commands->push(((((HX_CSTRING("g.beginFill(") + color) + HX_CSTRING(",")) + this->f2a(alpha)) + HX_CSTRING(");"))); - } -return null(); -} - - -Void Gfx2Haxe_obj::beginGradientFill( ::format::gfx::Gradient grad){ -{ - HX_STACK_PUSH("Gfx2Haxe::beginGradientFill","format/gfx/Gfx2Haxe.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(grad,"grad"); - HX_STACK_LINE(37) - this->commands->push(((((((((((((((((HX_CSTRING("g.beginGradientFill(") + ::Std_obj::string(grad->type)) + HX_CSTRING(",")) + ::Std_obj::string(grad->colors)) + HX_CSTRING(",")) + ::Std_obj::string(grad->alphas)) + HX_CSTRING(",")) + ::Std_obj::string(grad->ratios)) + HX_CSTRING(",")) + this->newMatrix(grad->matrix)) + HX_CSTRING(",")) + ::Std_obj::string(grad->spread)) + HX_CSTRING(",")) + ::Std_obj::string(grad->interp)) + HX_CSTRING(",")) + grad->focus) + HX_CSTRING(");"))); - } -return null(); -} - - -::String Gfx2Haxe_obj::newMatrix( ::neash::geom::Matrix m){ - HX_STACK_PUSH("Gfx2Haxe::newMatrix","format/gfx/Gfx2Haxe.hx",31); - HX_STACK_THIS(this); - HX_STACK_ARG(m,"m"); - HX_STACK_LINE(31) - return ((((((((((((HX_CSTRING("new Matrix(") + this->f2a(m->a)) + HX_CSTRING(",")) + this->f2a(m->b)) + HX_CSTRING(",")) + this->f2a(m->c)) + HX_CSTRING(",")) + this->f2a(m->d)) + HX_CSTRING(",")) + this->f2a(m->tx)) + HX_CSTRING(",")) + this->f2a(m->ty)) + HX_CSTRING(")")); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Gfx2Haxe_obj,newMatrix,return ) - -::String Gfx2Haxe_obj::f2a( Float f){ - HX_STACK_PUSH("Gfx2Haxe::f2a","format/gfx/Gfx2Haxe.hx",23); - HX_STACK_THIS(this); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(24) - if (((::Math_obj::abs(f) < 0.000001))){ - HX_STACK_LINE(24) - return HX_CSTRING("0"); - } - HX_STACK_LINE(25) - if (((::Math_obj::abs(((int)1 - f)) < 0.000001))){ - HX_STACK_LINE(25) - return HX_CSTRING("1"); - } - HX_STACK_LINE(26) - return (f + HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Gfx2Haxe_obj,f2a,return ) - - -Gfx2Haxe_obj::Gfx2Haxe_obj() -{ -} - -void Gfx2Haxe_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Gfx2Haxe); - HX_MARK_MEMBER_NAME(commands,"commands"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Gfx2Haxe_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(commands,"commands"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Gfx2Haxe_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"f2a") ) { return f2a_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - if (HX_FIELD_EQ(inName,"endFill") ) { return endFill_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"commands") ) { return commands; } - break; - case 9: - if (HX_FIELD_EQ(inName,"lineStyle") ) { return lineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"beginFill") ) { return beginFill_dyn(); } - if (HX_FIELD_EQ(inName,"newMatrix") ) { return newMatrix_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"endLineStyle") ) { return endLineStyle_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"beginGradientFill") ) { return beginGradientFill_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Gfx2Haxe_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"commands") ) { commands=inValue.Cast< Array< ::String > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Gfx2Haxe_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("commands")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("curveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("moveTo"), - HX_CSTRING("endLineStyle"), - HX_CSTRING("lineStyle"), - HX_CSTRING("endFill"), - HX_CSTRING("beginFill"), - HX_CSTRING("beginGradientFill"), - HX_CSTRING("newMatrix"), - HX_CSTRING("f2a"), - HX_CSTRING("commands"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Gfx2Haxe_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Gfx2Haxe_obj::__mClass,"__mClass"); -}; - -Class Gfx2Haxe_obj::__mClass; - -void Gfx2Haxe_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.Gfx2Haxe"), hx::TCanCast< Gfx2Haxe_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Gfx2Haxe_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/GfxBytes.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/GfxBytes.cpp deleted file mode 100644 index 1af8a0e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/GfxBytes.cpp +++ /dev/null @@ -1,1100 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_GfxBytes -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_gfx_LineStyle -#include -#endif -#ifndef INCLUDED_haxe_BaseCode -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -#ifndef INCLUDED_neash_display_GradientType -#include -#endif -#ifndef INCLUDED_neash_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -#ifndef INCLUDED_neash_display_LineScaleMode -#include -#endif -#ifndef INCLUDED_neash_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace format{ -namespace gfx{ - -Void GfxBytes_obj::__construct(::neash::utils::ByteArray inBuffer,hx::Null< int > __o_inFlags) -{ -HX_STACK_PUSH("GfxBytes::new","format/gfx/GfxBytes.hx",40); -int inFlags = __o_inFlags.Default(0); -{ - HX_STACK_LINE(41) - super::__construct(); - HX_STACK_LINE(42) - this->buffer = ( (((inBuffer == null()))) ? ::neash::utils::ByteArray(::neash::utils::ByteArray_obj::__new(null())) : ::neash::utils::ByteArray(inBuffer) ); -} -; - return null(); -} - -GfxBytes_obj::~GfxBytes_obj() { } - -Dynamic GfxBytes_obj::__CreateEmpty() { return new GfxBytes_obj; } -hx::ObjectPtr< GfxBytes_obj > GfxBytes_obj::__new(::neash::utils::ByteArray inBuffer,hx::Null< int > __o_inFlags) -{ hx::ObjectPtr< GfxBytes_obj > result = new GfxBytes_obj(); - result->__construct(inBuffer,__o_inFlags); - return result;} - -Dynamic GfxBytes_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GfxBytes_obj > result = new GfxBytes_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -Void GfxBytes_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxBytes::curveTo","format/gfx/GfxBytes.hx",263); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(264) - { - HX_STACK_LINE(264) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(264) - _this->b[(_this->length)++] = (int)32; - } - HX_STACK_LINE(265) - this->buffer->writeFloat(inCX); - HX_STACK_LINE(266) - this->buffer->writeFloat(inCY); - HX_STACK_LINE(267) - this->buffer->writeFloat(inX); - HX_STACK_LINE(268) - this->buffer->writeFloat(inY); - } -return null(); -} - - -Void GfxBytes_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxBytes::lineTo","format/gfx/GfxBytes.hx",256); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(257) - { - HX_STACK_LINE(257) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(257) - _this->b[(_this->length)++] = (int)31; - } - HX_STACK_LINE(258) - this->buffer->writeFloat(inX); - HX_STACK_LINE(259) - this->buffer->writeFloat(inY); - } -return null(); -} - - -Void GfxBytes_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxBytes::moveTo","format/gfx/GfxBytes.hx",249); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(250) - { - HX_STACK_LINE(250) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(250) - _this->b[(_this->length)++] = (int)30; - } - HX_STACK_LINE(251) - this->buffer->writeFloat(inX); - HX_STACK_LINE(252) - this->buffer->writeFloat(inY); - } -return null(); -} - - -Void GfxBytes_obj::endLineStyle( ){ -{ - HX_STACK_PUSH("GfxBytes::endLineStyle","format/gfx/GfxBytes.hx",244); - HX_STACK_THIS(this); - HX_STACK_LINE(245) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(245) - _this->b[(_this->length)++] = (int)21; - } -return null(); -} - - -Void GfxBytes_obj::lineStyle( ::format::gfx::LineStyle style){ -{ - HX_STACK_PUSH("GfxBytes::lineStyle","format/gfx/GfxBytes.hx",231); - HX_STACK_THIS(this); - HX_STACK_ARG(style,"style"); - HX_STACK_LINE(232) - { - HX_STACK_LINE(232) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(232) - _this->b[(_this->length)++] = (int)20; - } - HX_STACK_LINE(233) - this->buffer->writeFloat(style->thickness); - HX_STACK_LINE(234) - this->writeRGB(style->color); - HX_STACK_LINE(235) - this->buffer->writeFloat(style->alpha); - HX_STACK_LINE(236) - { - HX_STACK_LINE(236) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(236) - _this->b[(_this->length)++] = ( ((style->pixelHinting)) ? int((int)1) : int((int)0) ); - } - HX_STACK_LINE(237) - { - HX_STACK_LINE(237) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(237) - _this->b[(_this->length)++] = style->scaleMode->__Index(); - } - HX_STACK_LINE(238) - { - HX_STACK_LINE(238) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(238) - _this->b[(_this->length)++] = style->capsStyle->__Index(); - } - HX_STACK_LINE(239) - { - HX_STACK_LINE(239) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(239) - _this->b[(_this->length)++] = style->jointStyle->__Index(); - } - HX_STACK_LINE(240) - this->buffer->writeFloat(style->miterLimit); - } -return null(); -} - - -Void GfxBytes_obj::endFill( ){ -{ - HX_STACK_PUSH("GfxBytes::endFill","format/gfx/GfxBytes.hx",226); - HX_STACK_THIS(this); - HX_STACK_LINE(227) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(227) - _this->b[(_this->length)++] = (int)12; - } -return null(); -} - - -Void GfxBytes_obj::beginFill( int color,Float alpha){ -{ - HX_STACK_PUSH("GfxBytes::beginFill","format/gfx/GfxBytes.hx",220); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); - HX_STACK_LINE(221) - { - HX_STACK_LINE(221) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(221) - _this->b[(_this->length)++] = (int)10; - } - HX_STACK_LINE(222) - this->writeRGB(color); - HX_STACK_LINE(223) - this->buffer->writeFloat(alpha); - } -return null(); -} - - -Void GfxBytes_obj::beginGradientFill( ::format::gfx::Gradient grad){ -{ - HX_STACK_PUSH("GfxBytes::beginGradientFill","format/gfx/GfxBytes.hx",198); - HX_STACK_THIS(this); - HX_STACK_ARG(grad,"grad"); - HX_STACK_LINE(199) - { - HX_STACK_LINE(199) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(199) - _this->b[(_this->length)++] = (int)11; - } - HX_STACK_LINE(200) - { - HX_STACK_LINE(200) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(200) - _this->b[(_this->length)++] = grad->type->__Index(); - } - HX_STACK_LINE(201) - { - HX_STACK_LINE(201) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(201) - _this->b[(_this->length)++] = grad->colors->length; - } - HX_STACK_LINE(202) - { - HX_STACK_LINE(202) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = grad->colors->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(202) - while(((_g1 < _g))){ - HX_STACK_LINE(202) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(204) - this->writeRGB(::Std_obj::_int(grad->colors->__get(i))); - HX_STACK_LINE(205) - { - HX_STACK_LINE(205) - Float inVal = (grad->alphas->__get(i) * 255.0); HX_STACK_VAR(inVal,"inVal"); - HX_STACK_LINE(205) - { - HX_STACK_LINE(205) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(205) - _this->b[(_this->length)++] = ( (((inVal < (int)0))) ? int((int)0) : int(( (((inVal > 255.0))) ? int((int)255) : int(::Std_obj::_int(inVal)) )) ); - } - } - HX_STACK_LINE(206) - { - HX_STACK_LINE(206) - Float inVal = grad->ratios->__get(i); HX_STACK_VAR(inVal,"inVal"); - HX_STACK_LINE(206) - { - HX_STACK_LINE(206) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(206) - _this->b[(_this->length)++] = ( (((inVal < (int)0))) ? int((int)0) : int(( (((inVal > 255.0))) ? int((int)255) : int(::Std_obj::_int(inVal)) )) ); - } - } - } - } - HX_STACK_LINE(208) - this->buffer->writeFloat(grad->matrix->a); - HX_STACK_LINE(209) - this->buffer->writeFloat(grad->matrix->b); - HX_STACK_LINE(210) - this->buffer->writeFloat(grad->matrix->c); - HX_STACK_LINE(211) - this->buffer->writeFloat(grad->matrix->d); - HX_STACK_LINE(212) - this->buffer->writeFloat(grad->matrix->tx); - HX_STACK_LINE(213) - this->buffer->writeFloat(grad->matrix->ty); - HX_STACK_LINE(214) - { - HX_STACK_LINE(214) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(214) - _this->b[(_this->length)++] = grad->spread->__Index(); - } - HX_STACK_LINE(215) - { - HX_STACK_LINE(215) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(215) - _this->b[(_this->length)++] = grad->interp->__Index(); - } - HX_STACK_LINE(216) - this->buffer->writeFloat(grad->focus); - } -return null(); -} - - -int GfxBytes_obj::readRGB( ){ - HX_STACK_PUSH("GfxBytes::readRGB","format/gfx/GfxBytes.hx",188); - HX_STACK_THIS(this); - struct _Function_1_1{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",189); - { - HX_STACK_LINE(189) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(189) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(189) - int r = _Function_1_1::Block(this); HX_STACK_VAR(r,"r"); - struct _Function_1_2{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",190); - { - HX_STACK_LINE(190) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(190) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(190) - int g = _Function_1_2::Block(this); HX_STACK_VAR(g,"g"); - struct _Function_1_3{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",191); - { - HX_STACK_LINE(191) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(191) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(191) - int b = _Function_1_3::Block(this); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(192) - return (int((int((int(r) << int((int)16))) | int((int(g) << int((int)8))))) | int(b)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(GfxBytes_obj,readRGB,return ) - -Void GfxBytes_obj::writeRGB( int inVal){ -{ - HX_STACK_PUSH("GfxBytes::writeRGB","format/gfx/GfxBytes.hx",182); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(183) - { - HX_STACK_LINE(183) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(183) - _this->b[(_this->length)++] = (int((int(inVal) >> int((int)16))) & int((int)255)); - } - HX_STACK_LINE(184) - { - HX_STACK_LINE(184) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(184) - _this->b[(_this->length)++] = (int((int(inVal) >> int((int)8))) & int((int)255)); - } - HX_STACK_LINE(185) - { - HX_STACK_LINE(185) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(185) - _this->b[(_this->length)++] = (int(inVal) & int((int)255)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(GfxBytes_obj,writeRGB,(void)) - -Void GfxBytes_obj::pushClipped( Float inVal){ -{ - HX_STACK_PUSH("GfxBytes::pushClipped","format/gfx/GfxBytes.hx",178); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(179) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(179) - _this->b[(_this->length)++] = ( (((inVal < (int)0))) ? int((int)0) : int(( (((inVal > 255.0))) ? int((int)255) : int(::Std_obj::_int(inVal)) )) ); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(GfxBytes_obj,pushClipped,(void)) - -Void GfxBytes_obj::size( Float inWidth,Float inHeight){ -{ - HX_STACK_PUSH("GfxBytes::size","format/gfx/GfxBytes.hx",171); - HX_STACK_THIS(this); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_LINE(172) - { - HX_STACK_LINE(172) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(172) - _this->b[(_this->length)++] = (int)1; - } - HX_STACK_LINE(173) - this->buffer->writeFloat(inWidth); - HX_STACK_LINE(174) - this->buffer->writeFloat(inHeight); - } -return null(); -} - - -Void GfxBytes_obj::iterate( ::format::gfx::Gfx inGfx){ -{ - HX_STACK_PUSH("GfxBytes::iterate","format/gfx/GfxBytes.hx",89); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_LINE(90) - this->buffer->position = (int)0; - HX_STACK_LINE(91) - while((true)){ - struct _Function_2_1{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",93); - { - HX_STACK_LINE(93) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(93) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(92) - switch( (int)(_Function_2_1::Block(this))){ - case (int)0: { - HX_STACK_LINE(95) - return null(); - } - ;break; - case (int)1: { - HX_STACK_LINE(99) - Float w = this->buffer->readFloat(); HX_STACK_VAR(w,"w"); - HX_STACK_LINE(100) - Float h = this->buffer->readFloat(); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(101) - inGfx->size(w,h); - } - ;break; - case (int)10: { - HX_STACK_LINE(104) - int col = this->readRGB(); HX_STACK_VAR(col,"col"); - HX_STACK_LINE(105) - Float alpha = this->buffer->readFloat(); HX_STACK_VAR(alpha,"alpha"); - HX_STACK_LINE(106) - inGfx->beginFill(col,alpha); - } - ;break; - case (int)11: { - HX_STACK_LINE(109) - ::format::gfx::Gradient grad = ::format::gfx::Gradient_obj::__new(); HX_STACK_VAR(grad,"grad"); - struct _Function_3_1{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",110); - { - HX_STACK_LINE(110) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(110) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(110) - grad->type = ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::GradientType >(),_Function_3_1::Block(this),null()); - struct _Function_3_2{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",111); - { - HX_STACK_LINE(111) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(111) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(111) - int len = _Function_3_2::Block(this); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(112) - { - HX_STACK_LINE(112) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(112) - while(((_g < len))){ - HX_STACK_LINE(112) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(114) - grad->colors->push(this->readRGB()); - struct _Function_5_1{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",115); - { - HX_STACK_LINE(115) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(115) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(115) - grad->alphas->push((Float(_Function_5_1::Block(this)) / Float(255.0))); - struct _Function_5_2{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",116); - { - HX_STACK_LINE(116) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(116) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(116) - grad->ratios->push(_Function_5_2::Block(this)); - } - } - HX_STACK_LINE(118) - grad->matrix->a = this->buffer->readFloat(); - HX_STACK_LINE(119) - grad->matrix->b = this->buffer->readFloat(); - HX_STACK_LINE(120) - grad->matrix->c = this->buffer->readFloat(); - HX_STACK_LINE(121) - grad->matrix->d = this->buffer->readFloat(); - HX_STACK_LINE(122) - grad->matrix->tx = this->buffer->readFloat(); - HX_STACK_LINE(123) - grad->matrix->ty = this->buffer->readFloat(); - struct _Function_3_3{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",124); - { - HX_STACK_LINE(124) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(124) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(124) - grad->spread = ::format::gfx::GfxBytes_obj::spreadMethods->__get(_Function_3_3::Block(this)); - struct _Function_3_4{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",125); - { - HX_STACK_LINE(125) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(125) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(125) - grad->interp = ::format::gfx::GfxBytes_obj::interpolationMethods->__get(_Function_3_4::Block(this)); - HX_STACK_LINE(126) - grad->focus = this->buffer->readFloat(); - HX_STACK_LINE(127) - inGfx->beginGradientFill(grad); - } - ;break; - case (int)12: { - HX_STACK_LINE(129) - inGfx->endFill(); - } - ;break; - case (int)20: { - HX_STACK_LINE(133) - ::format::gfx::LineStyle style = ::format::gfx::LineStyle_obj::__new(); HX_STACK_VAR(style,"style"); - HX_STACK_LINE(134) - style->thickness = this->buffer->readFloat(); - HX_STACK_LINE(135) - style->color = this->readRGB(); - HX_STACK_LINE(136) - style->alpha = this->buffer->readFloat(); - struct _Function_3_1{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",137); - { - HX_STACK_LINE(137) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(137) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(137) - style->pixelHinting = (_Function_3_1::Block(this) > (int)0); - struct _Function_3_2{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",138); - { - HX_STACK_LINE(138) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(138) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(138) - style->scaleMode = ::format::gfx::GfxBytes_obj::scaleModes->__get(_Function_3_2::Block(this)); - struct _Function_3_3{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",139); - { - HX_STACK_LINE(139) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(139) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(139) - style->capsStyle = ::format::gfx::GfxBytes_obj::capsStyles->__get(_Function_3_3::Block(this)); - struct _Function_3_4{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",140); - { - HX_STACK_LINE(140) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(140) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(140) - style->jointStyle = ::format::gfx::GfxBytes_obj::jointStyles->__get(_Function_3_4::Block(this)); - HX_STACK_LINE(141) - style->miterLimit = this->buffer->readFloat(); - HX_STACK_LINE(142) - inGfx->lineStyle(style); - } - ;break; - case (int)21: { - HX_STACK_LINE(144) - inGfx->endLineStyle(); - } - ;break; - case (int)30: { - HX_STACK_LINE(148) - Float x = this->buffer->readFloat(); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(149) - Float y = this->buffer->readFloat(); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(150) - inGfx->moveTo(x,y); - } - ;break; - case (int)31: { - HX_STACK_LINE(153) - Float x = this->buffer->readFloat(); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(154) - Float y = this->buffer->readFloat(); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(155) - inGfx->lineTo(x,y); - } - ;break; - case (int)32: { - HX_STACK_LINE(158) - Float cx = this->buffer->readFloat(); HX_STACK_VAR(cx,"cx"); - HX_STACK_LINE(159) - Float cy = this->buffer->readFloat(); HX_STACK_VAR(cy,"cy"); - HX_STACK_LINE(160) - Float x = this->buffer->readFloat(); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(161) - Float y = this->buffer->readFloat(); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(162) - inGfx->curveTo(cx,cy,x,y); - } - ;break; - default: { - HX_STACK_LINE(163) - hx::Throw (HX_CSTRING("Unknown gfx buffer format.")); - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(GfxBytes_obj,iterate,(void)) - -Void GfxBytes_obj::eof( ){ -{ - HX_STACK_PUSH("GfxBytes::eof","format/gfx/GfxBytes.hx",80); - HX_STACK_THIS(this); - HX_STACK_LINE(80) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(80) - _this->b[(_this->length)++] = (int)0; - } -return null(); -} - - -::String GfxBytes_obj::toString( ){ - HX_STACK_PUSH("GfxBytes::toString","format/gfx/GfxBytes.hx",46); - HX_STACK_THIS(this); - HX_STACK_LINE(51) - ::neash::utils::ByteArray buf = ::neash::utils::ByteArray_obj::__new(this->buffer->length); HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(53) - this->buffer->position = (int)0; - HX_STACK_LINE(54) - this->buffer->readBytes(buf,null(),null()); - HX_STACK_LINE(56) - if (((::format::gfx::GfxBytes_obj::baseCoder == null()))){ - HX_STACK_LINE(57) - ::format::gfx::GfxBytes_obj::baseCoder = ::haxe::BaseCode_obj::__new(::haxe::io::Bytes_obj::ofString(::format::gfx::GfxBytes_obj::base64)); - } - HX_STACK_LINE(61) - return ::format::gfx::GfxBytes_obj::baseCoder->encodeBytes(hx::TCast< haxe::io::Bytes >::cast(buf))->toString(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(GfxBytes_obj,toString,return ) - -int GfxBytes_obj::_EOF; - -int GfxBytes_obj::SIZE; - -int GfxBytes_obj::BEGIN_FILL; - -int GfxBytes_obj::GRADIENT_FILL; - -int GfxBytes_obj::END_FILL; - -int GfxBytes_obj::LINE_STYLE; - -int GfxBytes_obj::END_LINE_STYLE; - -int GfxBytes_obj::MOVE; - -int GfxBytes_obj::LINE; - -int GfxBytes_obj::CURVE; - -::String GfxBytes_obj::base64; - -::haxe::BaseCode GfxBytes_obj::baseCoder; - -::format::gfx::GfxBytes GfxBytes_obj::fromString( ::String inString){ - HX_STACK_PUSH("GfxBytes::fromString","format/gfx/GfxBytes.hx",65); - HX_STACK_ARG(inString,"inString"); - HX_STACK_LINE(66) - if (((::format::gfx::GfxBytes_obj::baseCoder == null()))){ - HX_STACK_LINE(67) - ::format::gfx::GfxBytes_obj::baseCoder = ::haxe::BaseCode_obj::__new(::haxe::io::Bytes_obj::ofString(::format::gfx::GfxBytes_obj::base64)); - } - HX_STACK_LINE(74) - ::neash::utils::ByteArray bytes = ::neash::utils::ByteArray_obj::fromBytes(::format::gfx::GfxBytes_obj::baseCoder->decodeBytes(::haxe::io::Bytes_obj::ofString(inString))); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(77) - return ::format::gfx::GfxBytes_obj::__new(bytes,null()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GfxBytes_obj,fromString,return ) - -Array< ::neash::display::LineScaleMode > GfxBytes_obj::scaleModes; - -Array< ::neash::display::CapsStyle > GfxBytes_obj::capsStyles; - -Array< ::neash::display::JointStyle > GfxBytes_obj::jointStyles; - -Array< ::neash::display::SpreadMethod > GfxBytes_obj::spreadMethods; - -Array< ::neash::display::InterpolationMethod > GfxBytes_obj::interpolationMethods; - - -GfxBytes_obj::GfxBytes_obj() -{ -} - -void GfxBytes_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GfxBytes); - HX_MARK_MEMBER_NAME(buffer,"buffer"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void GfxBytes_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(buffer,"buffer"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic GfxBytes_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"EOF") ) { return _EOF; } - if (HX_FIELD_EQ(inName,"eof") ) { return eof_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"SIZE") ) { return SIZE; } - if (HX_FIELD_EQ(inName,"MOVE") ) { return MOVE; } - if (HX_FIELD_EQ(inName,"LINE") ) { return LINE; } - if (HX_FIELD_EQ(inName,"size") ) { return size_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"CURVE") ) { return CURVE; } - break; - case 6: - if (HX_FIELD_EQ(inName,"base64") ) { return base64; } - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - if (HX_FIELD_EQ(inName,"buffer") ) { return buffer; } - break; - case 7: - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - if (HX_FIELD_EQ(inName,"endFill") ) { return endFill_dyn(); } - if (HX_FIELD_EQ(inName,"readRGB") ) { return readRGB_dyn(); } - if (HX_FIELD_EQ(inName,"iterate") ) { return iterate_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"END_FILL") ) { return END_FILL; } - if (HX_FIELD_EQ(inName,"writeRGB") ) { return writeRGB_dyn(); } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"baseCoder") ) { return baseCoder; } - if (HX_FIELD_EQ(inName,"lineStyle") ) { return lineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"beginFill") ) { return beginFill_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"BEGIN_FILL") ) { return BEGIN_FILL; } - if (HX_FIELD_EQ(inName,"LINE_STYLE") ) { return LINE_STYLE; } - if (HX_FIELD_EQ(inName,"fromString") ) { return fromString_dyn(); } - if (HX_FIELD_EQ(inName,"scaleModes") ) { return scaleModes; } - if (HX_FIELD_EQ(inName,"capsStyles") ) { return capsStyles; } - break; - case 11: - if (HX_FIELD_EQ(inName,"jointStyles") ) { return jointStyles; } - if (HX_FIELD_EQ(inName,"pushClipped") ) { return pushClipped_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"endLineStyle") ) { return endLineStyle_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"GRADIENT_FILL") ) { return GRADIENT_FILL; } - if (HX_FIELD_EQ(inName,"spreadMethods") ) { return spreadMethods; } - break; - case 14: - if (HX_FIELD_EQ(inName,"END_LINE_STYLE") ) { return END_LINE_STYLE; } - break; - case 17: - if (HX_FIELD_EQ(inName,"beginGradientFill") ) { return beginGradientFill_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"interpolationMethods") ) { return interpolationMethods; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GfxBytes_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"EOF") ) { _EOF=inValue.Cast< int >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"SIZE") ) { SIZE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"MOVE") ) { MOVE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"LINE") ) { LINE=inValue.Cast< int >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"CURVE") ) { CURVE=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"base64") ) { base64=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"buffer") ) { buffer=inValue.Cast< ::neash::utils::ByteArray >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"END_FILL") ) { END_FILL=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"baseCoder") ) { baseCoder=inValue.Cast< ::haxe::BaseCode >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"BEGIN_FILL") ) { BEGIN_FILL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"LINE_STYLE") ) { LINE_STYLE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"scaleModes") ) { scaleModes=inValue.Cast< Array< ::neash::display::LineScaleMode > >(); return inValue; } - if (HX_FIELD_EQ(inName,"capsStyles") ) { capsStyles=inValue.Cast< Array< ::neash::display::CapsStyle > >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"jointStyles") ) { jointStyles=inValue.Cast< Array< ::neash::display::JointStyle > >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"GRADIENT_FILL") ) { GRADIENT_FILL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"spreadMethods") ) { spreadMethods=inValue.Cast< Array< ::neash::display::SpreadMethod > >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"END_LINE_STYLE") ) { END_LINE_STYLE=inValue.Cast< int >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"interpolationMethods") ) { interpolationMethods=inValue.Cast< Array< ::neash::display::InterpolationMethod > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void GfxBytes_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("buffer")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("EOF"), - HX_CSTRING("SIZE"), - HX_CSTRING("BEGIN_FILL"), - HX_CSTRING("GRADIENT_FILL"), - HX_CSTRING("END_FILL"), - HX_CSTRING("LINE_STYLE"), - HX_CSTRING("END_LINE_STYLE"), - HX_CSTRING("MOVE"), - HX_CSTRING("LINE"), - HX_CSTRING("CURVE"), - HX_CSTRING("base64"), - HX_CSTRING("baseCoder"), - HX_CSTRING("fromString"), - HX_CSTRING("scaleModes"), - HX_CSTRING("capsStyles"), - HX_CSTRING("jointStyles"), - HX_CSTRING("spreadMethods"), - HX_CSTRING("interpolationMethods"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("curveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("moveTo"), - HX_CSTRING("endLineStyle"), - HX_CSTRING("lineStyle"), - HX_CSTRING("endFill"), - HX_CSTRING("beginFill"), - HX_CSTRING("beginGradientFill"), - HX_CSTRING("readRGB"), - HX_CSTRING("writeRGB"), - HX_CSTRING("pushClipped"), - HX_CSTRING("size"), - HX_CSTRING("iterate"), - HX_CSTRING("eof"), - HX_CSTRING("toString"), - HX_CSTRING("buffer"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GfxBytes_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::_EOF,"EOF"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::SIZE,"SIZE"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::BEGIN_FILL,"BEGIN_FILL"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::GRADIENT_FILL,"GRADIENT_FILL"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::END_FILL,"END_FILL"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::LINE_STYLE,"LINE_STYLE"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::END_LINE_STYLE,"END_LINE_STYLE"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::MOVE,"MOVE"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::LINE,"LINE"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::CURVE,"CURVE"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::base64,"base64"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::baseCoder,"baseCoder"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::scaleModes,"scaleModes"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::capsStyles,"capsStyles"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::jointStyles,"jointStyles"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::spreadMethods,"spreadMethods"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::interpolationMethods,"interpolationMethods"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GfxBytes_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::_EOF,"EOF"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::SIZE,"SIZE"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::BEGIN_FILL,"BEGIN_FILL"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::GRADIENT_FILL,"GRADIENT_FILL"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::END_FILL,"END_FILL"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::LINE_STYLE,"LINE_STYLE"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::END_LINE_STYLE,"END_LINE_STYLE"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::MOVE,"MOVE"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::LINE,"LINE"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::CURVE,"CURVE"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::base64,"base64"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::baseCoder,"baseCoder"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::scaleModes,"scaleModes"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::capsStyles,"capsStyles"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::jointStyles,"jointStyles"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::spreadMethods,"spreadMethods"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::interpolationMethods,"interpolationMethods"); -}; - -Class GfxBytes_obj::__mClass; - -void GfxBytes_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.GfxBytes"), hx::TCanCast< GfxBytes_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GfxBytes_obj::__boot() -{ - _EOF= (int)0; - SIZE= (int)1; - BEGIN_FILL= (int)10; - GRADIENT_FILL= (int)11; - END_FILL= (int)12; - LINE_STYLE= (int)20; - END_LINE_STYLE= (int)21; - MOVE= (int)30; - LINE= (int)31; - CURVE= (int)32; - base64= HX_CSTRING("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"); - scaleModes= Array_obj< ::neash::display::LineScaleMode >::__new().Add(::neash::display::LineScaleMode_obj::NORMAL_dyn()).Add(::neash::display::LineScaleMode_obj::NONE_dyn()).Add(::neash::display::LineScaleMode_obj::VERTICAL_dyn()).Add(::neash::display::LineScaleMode_obj::HORIZONTAL_dyn()); - capsStyles= Array_obj< ::neash::display::CapsStyle >::__new().Add(::neash::display::CapsStyle_obj::ROUND_dyn()).Add(::neash::display::CapsStyle_obj::NONE_dyn()).Add(::neash::display::CapsStyle_obj::SQUARE_dyn()); - jointStyles= Array_obj< ::neash::display::JointStyle >::__new().Add(::neash::display::JointStyle_obj::ROUND_dyn()).Add(::neash::display::JointStyle_obj::MITER_dyn()).Add(::neash::display::JointStyle_obj::BEVEL_dyn()); - spreadMethods= Array_obj< ::neash::display::SpreadMethod >::__new().Add(::neash::display::SpreadMethod_obj::PAD_dyn()).Add(::neash::display::SpreadMethod_obj::REPEAT_dyn()).Add(::neash::display::SpreadMethod_obj::REFLECT_dyn()); - interpolationMethods= Array_obj< ::neash::display::InterpolationMethod >::__new().Add(::neash::display::InterpolationMethod_obj::RGB_dyn()).Add(::neash::display::InterpolationMethod_obj::LINEAR_RGB_dyn()); -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/GfxExtent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/GfxExtent.cpp deleted file mode 100644 index d183d8e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/GfxExtent.cpp +++ /dev/null @@ -1,220 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_GfxExtent -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -namespace format{ -namespace gfx{ - -Void GfxExtent_obj::__construct() -{ -HX_STACK_PUSH("GfxExtent::new","format/gfx/GfxExtent.hx",11); -{ - HX_STACK_LINE(12) - super::__construct(); - HX_STACK_LINE(13) - this->extent = null(); -} -; - return null(); -} - -GfxExtent_obj::~GfxExtent_obj() { } - -Dynamic GfxExtent_obj::__CreateEmpty() { return new GfxExtent_obj; } -hx::ObjectPtr< GfxExtent_obj > GfxExtent_obj::__new() -{ hx::ObjectPtr< GfxExtent_obj > result = new GfxExtent_obj(); - result->__construct(); - return result;} - -Dynamic GfxExtent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GfxExtent_obj > result = new GfxExtent_obj(); - result->__construct(); - return result;} - -Void GfxExtent_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxExtent::curveTo","format/gfx/GfxExtent.hx",40); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(41) - this->addExtent(inCX,inCY); - HX_STACK_LINE(42) - this->addExtent(inX,inY); - } -return null(); -} - - -Void GfxExtent_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxExtent::lineTo","format/gfx/GfxExtent.hx",36); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(36) - this->addExtent(inX,inY); - } -return null(); -} - - -Void GfxExtent_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxExtent::moveTo","format/gfx/GfxExtent.hx",32); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(32) - this->addExtent(inX,inY); - } -return null(); -} - - -bool GfxExtent_obj::geometryOnly( ){ - HX_STACK_PUSH("GfxExtent::geometryOnly","format/gfx/GfxExtent.hx",30); - HX_STACK_THIS(this); - HX_STACK_LINE(30) - return true; -} - - -Void GfxExtent_obj::addExtent( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxExtent::addExtent","format/gfx/GfxExtent.hx",17); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(18) - if (((this->extent == null()))){ - HX_STACK_LINE(20) - this->extent = ::neash::geom::Rectangle_obj::__new(inX,inY,(int)0,(int)0); - HX_STACK_LINE(21) - return null(); - } - HX_STACK_LINE(23) - if (((inX < this->extent->nmeGetLeft()))){ - HX_STACK_LINE(23) - this->extent->nmeSetLeft(inX); - } - HX_STACK_LINE(24) - if (((inX > this->extent->nmeGetRight()))){ - HX_STACK_LINE(24) - this->extent->nmeSetRight(inX); - } - HX_STACK_LINE(25) - if (((inY < this->extent->nmeGetTop()))){ - HX_STACK_LINE(25) - this->extent->nmeSetTop(inY); - } - HX_STACK_LINE(26) - if (((inY > this->extent->nmeGetBottom()))){ - HX_STACK_LINE(26) - this->extent->nmeSetBottom(inY); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(GfxExtent_obj,addExtent,(void)) - - -GfxExtent_obj::GfxExtent_obj() -{ -} - -void GfxExtent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GfxExtent); - HX_MARK_MEMBER_NAME(extent,"extent"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void GfxExtent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(extent,"extent"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic GfxExtent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - if (HX_FIELD_EQ(inName,"extent") ) { return extent; } - break; - case 7: - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"addExtent") ) { return addExtent_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"geometryOnly") ) { return geometryOnly_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GfxExtent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"extent") ) { extent=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void GfxExtent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("extent")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("curveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("moveTo"), - HX_CSTRING("geometryOnly"), - HX_CSTRING("addExtent"), - HX_CSTRING("extent"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GfxExtent_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GfxExtent_obj::__mClass,"__mClass"); -}; - -Class GfxExtent_obj::__mClass; - -void GfxExtent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.GfxExtent"), hx::TCanCast< GfxExtent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GfxExtent_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/GfxGraphics.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/GfxGraphics.cpp deleted file mode 100644 index 3a82d52..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/GfxGraphics.cpp +++ /dev/null @@ -1,266 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_GfxGraphics -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_gfx_LineStyle -#include -#endif -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -#ifndef INCLUDED_neash_display_GradientType -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -#ifndef INCLUDED_neash_display_LineScaleMode -#include -#endif -#ifndef INCLUDED_neash_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace format{ -namespace gfx{ - -Void GfxGraphics_obj::__construct(::neash::display::Graphics inGraphics) -{ -HX_STACK_PUSH("GfxGraphics::new","format/gfx/GfxGraphics.hx",18); -{ - HX_STACK_LINE(19) - super::__construct(); - HX_STACK_LINE(20) - this->graphics = inGraphics; -} -; - return null(); -} - -GfxGraphics_obj::~GfxGraphics_obj() { } - -Dynamic GfxGraphics_obj::__CreateEmpty() { return new GfxGraphics_obj; } -hx::ObjectPtr< GfxGraphics_obj > GfxGraphics_obj::__new(::neash::display::Graphics inGraphics) -{ hx::ObjectPtr< GfxGraphics_obj > result = new GfxGraphics_obj(); - result->__construct(inGraphics); - return result;} - -Dynamic GfxGraphics_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GfxGraphics_obj > result = new GfxGraphics_obj(); - result->__construct(inArgs[0]); - return result;} - -Void GfxGraphics_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxGraphics::curveTo","format/gfx/GfxGraphics.hx",40); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(40) - this->graphics->curveTo(inCX,inCY,inX,inY); - } -return null(); -} - - -Void GfxGraphics_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxGraphics::lineTo","format/gfx/GfxGraphics.hx",38); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(38) - this->graphics->lineTo(inX,inY); - } -return null(); -} - - -Void GfxGraphics_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxGraphics::moveTo","format/gfx/GfxGraphics.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(37) - this->graphics->moveTo(inX,inY); - } -return null(); -} - - -Void GfxGraphics_obj::endLineStyle( ){ -{ - HX_STACK_PUSH("GfxGraphics::endLineStyle","format/gfx/GfxGraphics.hx",35); - HX_STACK_THIS(this); - HX_STACK_LINE(35) - this->graphics->lineStyle(null(),null(),null(),null(),null(),null(),null(),null()); - } -return null(); -} - - -Void GfxGraphics_obj::lineStyle( ::format::gfx::LineStyle style){ -{ - HX_STACK_PUSH("GfxGraphics::lineStyle","format/gfx/GfxGraphics.hx",32); - HX_STACK_THIS(this); - HX_STACK_ARG(style,"style"); - HX_STACK_LINE(32) - this->graphics->lineStyle(style->thickness,style->color,style->alpha,style->pixelHinting,style->scaleMode,style->capsStyle,style->jointStyle,style->miterLimit); - } -return null(); -} - - -Void GfxGraphics_obj::endFill( ){ -{ - HX_STACK_PUSH("GfxGraphics::endFill","format/gfx/GfxGraphics.hx",29); - HX_STACK_THIS(this); - HX_STACK_LINE(29) - this->graphics->endFill(); - } -return null(); -} - - -Void GfxGraphics_obj::beginFill( int color,Float alpha){ -{ - HX_STACK_PUSH("GfxGraphics::beginFill","format/gfx/GfxGraphics.hx",28); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); - HX_STACK_LINE(28) - this->graphics->beginFill(color,alpha); - } -return null(); -} - - -Void GfxGraphics_obj::beginGradientFill( ::format::gfx::Gradient grad){ -{ - HX_STACK_PUSH("GfxGraphics::beginGradientFill","format/gfx/GfxGraphics.hx",24); - HX_STACK_THIS(this); - HX_STACK_ARG(grad,"grad"); - HX_STACK_LINE(24) - this->graphics->beginGradientFill(grad->type,grad->colors,grad->alphas,grad->ratios,grad->matrix,grad->spread,grad->interp,grad->focus); - } -return null(); -} - - - -GfxGraphics_obj::GfxGraphics_obj() -{ -} - -void GfxGraphics_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GfxGraphics); - HX_MARK_MEMBER_NAME(graphics,"graphics"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void GfxGraphics_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(graphics,"graphics"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic GfxGraphics_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - if (HX_FIELD_EQ(inName,"endFill") ) { return endFill_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"graphics") ) { return graphics; } - break; - case 9: - if (HX_FIELD_EQ(inName,"lineStyle") ) { return lineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"beginFill") ) { return beginFill_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"endLineStyle") ) { return endLineStyle_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"beginGradientFill") ) { return beginGradientFill_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GfxGraphics_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"graphics") ) { graphics=inValue.Cast< ::neash::display::Graphics >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void GfxGraphics_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("graphics")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("curveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("moveTo"), - HX_CSTRING("endLineStyle"), - HX_CSTRING("lineStyle"), - HX_CSTRING("endFill"), - HX_CSTRING("beginFill"), - HX_CSTRING("beginGradientFill"), - HX_CSTRING("graphics"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GfxGraphics_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GfxGraphics_obj::__mClass,"__mClass"); -}; - -Class GfxGraphics_obj::__mClass; - -void GfxGraphics_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.GfxGraphics"), hx::TCanCast< GfxGraphics_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GfxGraphics_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/GfxTextFinder.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/GfxTextFinder.cpp deleted file mode 100644 index 5c23d0d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/GfxTextFinder.cpp +++ /dev/null @@ -1,142 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_GfxTextFinder -#include -#endif -#ifndef INCLUDED_format_svg_Text -#include -#endif -namespace format{ -namespace gfx{ - -Void GfxTextFinder_obj::__construct() -{ -HX_STACK_PUSH("GfxTextFinder::new","format/gfx/GfxTextFinder.hx",9); -{ - HX_STACK_LINE(9) - super::__construct(); -} -; - return null(); -} - -GfxTextFinder_obj::~GfxTextFinder_obj() { } - -Dynamic GfxTextFinder_obj::__CreateEmpty() { return new GfxTextFinder_obj; } -hx::ObjectPtr< GfxTextFinder_obj > GfxTextFinder_obj::__new() -{ hx::ObjectPtr< GfxTextFinder_obj > result = new GfxTextFinder_obj(); - result->__construct(); - return result;} - -Dynamic GfxTextFinder_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GfxTextFinder_obj > result = new GfxTextFinder_obj(); - result->__construct(); - return result;} - -Void GfxTextFinder_obj::renderText( ::format::svg::Text inText){ -{ - HX_STACK_PUSH("GfxTextFinder::renderText","format/gfx/GfxTextFinder.hx",12); - HX_STACK_THIS(this); - HX_STACK_ARG(inText,"inText"); - HX_STACK_LINE(12) - if (((this->text == null()))){ - HX_STACK_LINE(12) - this->text = inText; - } - } -return null(); -} - - -bool GfxTextFinder_obj::geometryOnly( ){ - HX_STACK_PUSH("GfxTextFinder::geometryOnly","format/gfx/GfxTextFinder.hx",11); - HX_STACK_THIS(this); - HX_STACK_LINE(11) - return true; -} - - - -GfxTextFinder_obj::GfxTextFinder_obj() -{ -} - -void GfxTextFinder_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GfxTextFinder); - HX_MARK_MEMBER_NAME(text,"text"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void GfxTextFinder_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(text,"text"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic GfxTextFinder_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"text") ) { return text; } - break; - case 10: - if (HX_FIELD_EQ(inName,"renderText") ) { return renderText_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"geometryOnly") ) { return geometryOnly_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GfxTextFinder_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"text") ) { text=inValue.Cast< ::format::svg::Text >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void GfxTextFinder_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("text")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("renderText"), - HX_CSTRING("geometryOnly"), - HX_CSTRING("text"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GfxTextFinder_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GfxTextFinder_obj::__mClass,"__mClass"); -}; - -Class GfxTextFinder_obj::__mClass; - -void GfxTextFinder_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.GfxTextFinder"), hx::TCanCast< GfxTextFinder_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GfxTextFinder_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/Gradient.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/Gradient.cpp deleted file mode 100644 index 2e69621..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/Gradient.cpp +++ /dev/null @@ -1,179 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_neash_display_GradientType -#include -#endif -#ifndef INCLUDED_neash_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_neash_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace format{ -namespace gfx{ - -Void Gradient_obj::__construct() -{ -HX_STACK_PUSH("Gradient::new","format/gfx/Gradient.hx",14); -{ - HX_STACK_LINE(15) - this->type = ::neash::display::GradientType_obj::LINEAR_dyn(); - HX_STACK_LINE(16) - this->colors = Array_obj< int >::__new(); - HX_STACK_LINE(17) - this->alphas = Array_obj< Float >::__new(); - HX_STACK_LINE(18) - this->ratios = Array_obj< int >::__new(); - HX_STACK_LINE(19) - this->matrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - HX_STACK_LINE(20) - this->spread = ::neash::display::SpreadMethod_obj::PAD_dyn(); - HX_STACK_LINE(21) - this->interp = ::neash::display::InterpolationMethod_obj::RGB_dyn(); - HX_STACK_LINE(22) - this->focus = 0.0; -} -; - return null(); -} - -Gradient_obj::~Gradient_obj() { } - -Dynamic Gradient_obj::__CreateEmpty() { return new Gradient_obj; } -hx::ObjectPtr< Gradient_obj > Gradient_obj::__new() -{ hx::ObjectPtr< Gradient_obj > result = new Gradient_obj(); - result->__construct(); - return result;} - -Dynamic Gradient_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Gradient_obj > result = new Gradient_obj(); - result->__construct(); - return result;} - - -Gradient_obj::Gradient_obj() -{ -} - -void Gradient_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Gradient); - HX_MARK_MEMBER_NAME(focus,"focus"); - HX_MARK_MEMBER_NAME(interp,"interp"); - HX_MARK_MEMBER_NAME(spread,"spread"); - HX_MARK_MEMBER_NAME(matrix,"matrix"); - HX_MARK_MEMBER_NAME(ratios,"ratios"); - HX_MARK_MEMBER_NAME(alphas,"alphas"); - HX_MARK_MEMBER_NAME(colors,"colors"); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_END_CLASS(); -} - -void Gradient_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(focus,"focus"); - HX_VISIT_MEMBER_NAME(interp,"interp"); - HX_VISIT_MEMBER_NAME(spread,"spread"); - HX_VISIT_MEMBER_NAME(matrix,"matrix"); - HX_VISIT_MEMBER_NAME(ratios,"ratios"); - HX_VISIT_MEMBER_NAME(alphas,"alphas"); - HX_VISIT_MEMBER_NAME(colors,"colors"); - HX_VISIT_MEMBER_NAME(type,"type"); -} - -Dynamic Gradient_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { return type; } - break; - case 5: - if (HX_FIELD_EQ(inName,"focus") ) { return focus; } - break; - case 6: - if (HX_FIELD_EQ(inName,"interp") ) { return interp; } - if (HX_FIELD_EQ(inName,"spread") ) { return spread; } - if (HX_FIELD_EQ(inName,"matrix") ) { return matrix; } - if (HX_FIELD_EQ(inName,"ratios") ) { return ratios; } - if (HX_FIELD_EQ(inName,"alphas") ) { return alphas; } - if (HX_FIELD_EQ(inName,"colors") ) { return colors; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Gradient_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::neash::display::GradientType >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"focus") ) { focus=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"interp") ) { interp=inValue.Cast< ::neash::display::InterpolationMethod >(); return inValue; } - if (HX_FIELD_EQ(inName,"spread") ) { spread=inValue.Cast< ::neash::display::SpreadMethod >(); return inValue; } - if (HX_FIELD_EQ(inName,"matrix") ) { matrix=inValue.Cast< ::neash::geom::Matrix >(); return inValue; } - if (HX_FIELD_EQ(inName,"ratios") ) { ratios=inValue.Cast< Array< int > >(); return inValue; } - if (HX_FIELD_EQ(inName,"alphas") ) { alphas=inValue.Cast< Array< Float > >(); return inValue; } - if (HX_FIELD_EQ(inName,"colors") ) { colors=inValue.Cast< Array< int > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Gradient_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("focus")); - outFields->push(HX_CSTRING("interp")); - outFields->push(HX_CSTRING("spread")); - outFields->push(HX_CSTRING("matrix")); - outFields->push(HX_CSTRING("ratios")); - outFields->push(HX_CSTRING("alphas")); - outFields->push(HX_CSTRING("colors")); - outFields->push(HX_CSTRING("type")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("focus"), - HX_CSTRING("interp"), - HX_CSTRING("spread"), - HX_CSTRING("matrix"), - HX_CSTRING("ratios"), - HX_CSTRING("alphas"), - HX_CSTRING("colors"), - HX_CSTRING("type"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Gradient_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Gradient_obj::__mClass,"__mClass"); -}; - -Class Gradient_obj::__mClass; - -void Gradient_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.Gradient"), hx::TCanCast< Gradient_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Gradient_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/LineStyle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/LineStyle.cpp deleted file mode 100644 index efb1193..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/gfx/LineStyle.cpp +++ /dev/null @@ -1,180 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_LineStyle -#include -#endif -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -#ifndef INCLUDED_neash_display_LineScaleMode -#include -#endif -namespace format{ -namespace gfx{ - -Void LineStyle_obj::__construct() -{ -HX_STACK_PUSH("LineStyle::new","format/gfx/LineStyle.hx",19); -{ - HX_STACK_LINE(20) - this->thickness = 1.0; - HX_STACK_LINE(21) - this->color = (int)0; - HX_STACK_LINE(22) - this->alpha = 1.0; - HX_STACK_LINE(23) - this->pixelHinting = false; - HX_STACK_LINE(24) - this->scaleMode = ::neash::display::LineScaleMode_obj::NORMAL_dyn(); - HX_STACK_LINE(25) - this->capsStyle = ::neash::display::CapsStyle_obj::ROUND_dyn(); - HX_STACK_LINE(26) - this->jointStyle = ::neash::display::JointStyle_obj::ROUND_dyn(); - HX_STACK_LINE(27) - this->miterLimit = 3.0; -} -; - return null(); -} - -LineStyle_obj::~LineStyle_obj() { } - -Dynamic LineStyle_obj::__CreateEmpty() { return new LineStyle_obj; } -hx::ObjectPtr< LineStyle_obj > LineStyle_obj::__new() -{ hx::ObjectPtr< LineStyle_obj > result = new LineStyle_obj(); - result->__construct(); - return result;} - -Dynamic LineStyle_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< LineStyle_obj > result = new LineStyle_obj(); - result->__construct(); - return result;} - - -LineStyle_obj::LineStyle_obj() -{ -} - -void LineStyle_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(LineStyle); - HX_MARK_MEMBER_NAME(miterLimit,"miterLimit"); - HX_MARK_MEMBER_NAME(jointStyle,"jointStyle"); - HX_MARK_MEMBER_NAME(capsStyle,"capsStyle"); - HX_MARK_MEMBER_NAME(scaleMode,"scaleMode"); - HX_MARK_MEMBER_NAME(pixelHinting,"pixelHinting"); - HX_MARK_MEMBER_NAME(alpha,"alpha"); - HX_MARK_MEMBER_NAME(color,"color"); - HX_MARK_MEMBER_NAME(thickness,"thickness"); - HX_MARK_END_CLASS(); -} - -void LineStyle_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(miterLimit,"miterLimit"); - HX_VISIT_MEMBER_NAME(jointStyle,"jointStyle"); - HX_VISIT_MEMBER_NAME(capsStyle,"capsStyle"); - HX_VISIT_MEMBER_NAME(scaleMode,"scaleMode"); - HX_VISIT_MEMBER_NAME(pixelHinting,"pixelHinting"); - HX_VISIT_MEMBER_NAME(alpha,"alpha"); - HX_VISIT_MEMBER_NAME(color,"color"); - HX_VISIT_MEMBER_NAME(thickness,"thickness"); -} - -Dynamic LineStyle_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"alpha") ) { return alpha; } - if (HX_FIELD_EQ(inName,"color") ) { return color; } - break; - case 9: - if (HX_FIELD_EQ(inName,"capsStyle") ) { return capsStyle; } - if (HX_FIELD_EQ(inName,"scaleMode") ) { return scaleMode; } - if (HX_FIELD_EQ(inName,"thickness") ) { return thickness; } - break; - case 10: - if (HX_FIELD_EQ(inName,"miterLimit") ) { return miterLimit; } - if (HX_FIELD_EQ(inName,"jointStyle") ) { return jointStyle; } - break; - case 12: - if (HX_FIELD_EQ(inName,"pixelHinting") ) { return pixelHinting; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic LineStyle_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"alpha") ) { alpha=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"color") ) { color=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"capsStyle") ) { capsStyle=inValue.Cast< ::neash::display::CapsStyle >(); return inValue; } - if (HX_FIELD_EQ(inName,"scaleMode") ) { scaleMode=inValue.Cast< ::neash::display::LineScaleMode >(); return inValue; } - if (HX_FIELD_EQ(inName,"thickness") ) { thickness=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"miterLimit") ) { miterLimit=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"jointStyle") ) { jointStyle=inValue.Cast< ::neash::display::JointStyle >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"pixelHinting") ) { pixelHinting=inValue.Cast< bool >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void LineStyle_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("miterLimit")); - outFields->push(HX_CSTRING("jointStyle")); - outFields->push(HX_CSTRING("capsStyle")); - outFields->push(HX_CSTRING("scaleMode")); - outFields->push(HX_CSTRING("pixelHinting")); - outFields->push(HX_CSTRING("alpha")); - outFields->push(HX_CSTRING("color")); - outFields->push(HX_CSTRING("thickness")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("miterLimit"), - HX_CSTRING("jointStyle"), - HX_CSTRING("capsStyle"), - HX_CSTRING("scaleMode"), - HX_CSTRING("pixelHinting"), - HX_CSTRING("alpha"), - HX_CSTRING("color"), - HX_CSTRING("thickness"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(LineStyle_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(LineStyle_obj::__mClass,"__mClass"); -}; - -Class LineStyle_obj::__mClass; - -void LineStyle_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.LineStyle"), hx::TCanCast< LineStyle_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void LineStyle_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/ArcSegment.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/ArcSegment.cpp deleted file mode 100644 index 32151e8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/ArcSegment.cpp +++ /dev/null @@ -1,368 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_svg_ArcSegment -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace format{ -namespace svg{ - -Void ArcSegment_obj::__construct(Float inX1,Float inY1,Float inRX,Float inRY,Float inRotation,bool inLargeArc,bool inSweep,Float x,Float y) -{ -HX_STACK_PUSH("ArcSegment::new","format/svg/PathSegment.hx",233); -{ - HX_STACK_LINE(234) - this->x1 = inX1; - HX_STACK_LINE(235) - this->y1 = inY1; - HX_STACK_LINE(236) - super::__construct(x,y); - HX_STACK_LINE(237) - this->rx = inRX; - HX_STACK_LINE(238) - this->ry = inRY; - HX_STACK_LINE(239) - this->phi = inRotation; - HX_STACK_LINE(240) - this->fA = inLargeArc; - HX_STACK_LINE(241) - this->fS = inSweep; -} -; - return null(); -} - -ArcSegment_obj::~ArcSegment_obj() { } - -Dynamic ArcSegment_obj::__CreateEmpty() { return new ArcSegment_obj; } -hx::ObjectPtr< ArcSegment_obj > ArcSegment_obj::__new(Float inX1,Float inY1,Float inRX,Float inRY,Float inRotation,bool inLargeArc,bool inSweep,Float x,Float y) -{ hx::ObjectPtr< ArcSegment_obj > result = new ArcSegment_obj(); - result->__construct(inX1,inY1,inRX,inRY,inRotation,inLargeArc,inSweep,x,y); - return result;} - -Dynamic ArcSegment_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ArcSegment_obj > result = new ArcSegment_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7],inArgs[8]); - return result;} - -int ArcSegment_obj::getType( ){ - HX_STACK_PUSH("ArcSegment::getType","format/svg/PathSegment.hx",360); - HX_STACK_THIS(this); - HX_STACK_LINE(360) - return (int)5; -} - - -Void ArcSegment_obj::toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext){ -{ - HX_STACK_PUSH("ArcSegment::toGfx","format/svg/PathSegment.hx",245); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(ioContext,"ioContext"); - HX_STACK_LINE(246) - if (((bool((this->x1 == this->x)) && bool((this->y1 == this->y))))){ - HX_STACK_LINE(247) - return null(); - } - HX_STACK_LINE(248) - ioContext->setLast(this->x,this->y); - HX_STACK_LINE(249) - if (((bool((this->rx == (int)0)) || bool((this->ry == (int)0))))){ - HX_STACK_LINE(251) - inGfx->lineTo(ioContext->lastX,ioContext->lastY); - HX_STACK_LINE(252) - return null(); - } - HX_STACK_LINE(254) - if (((this->rx < (int)0))){ - HX_STACK_LINE(254) - this->rx = -(this->rx); - } - HX_STACK_LINE(255) - if (((this->ry < (int)0))){ - HX_STACK_LINE(255) - this->ry = -(this->ry); - } - HX_STACK_LINE(258) - Float p = (Float((this->phi * ::Math_obj::PI)) / Float(180.0)); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(259) - Float cos = ::Math_obj::cos(p); HX_STACK_VAR(cos,"cos"); - HX_STACK_LINE(260) - Float sin = ::Math_obj::sin(p); HX_STACK_VAR(sin,"sin"); - HX_STACK_LINE(263) - Float dx = (((this->x1 - this->x)) * 0.5); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(264) - Float dy = (((this->y1 - this->y)) * 0.5); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(265) - Float x1_ = ((cos * dx) + (sin * dy)); HX_STACK_VAR(x1_,"x1_"); - HX_STACK_LINE(266) - Float y1_ = ((-(sin) * dx) + (cos * dy)); HX_STACK_VAR(y1_,"y1_"); - HX_STACK_LINE(269) - Float rx2 = (this->rx * this->rx); HX_STACK_VAR(rx2,"rx2"); - HX_STACK_LINE(270) - Float ry2 = (this->ry * this->ry); HX_STACK_VAR(ry2,"ry2"); - HX_STACK_LINE(271) - Float x1_2 = (x1_ * x1_); HX_STACK_VAR(x1_2,"x1_2"); - HX_STACK_LINE(272) - Float y1_2 = (y1_ * y1_); HX_STACK_VAR(y1_2,"y1_2"); - HX_STACK_LINE(273) - Float s = (Float(((((rx2 * ry2) - (rx2 * y1_2)) - (ry2 * x1_2)))) / Float((((rx2 * y1_2) + (ry2 * x1_2))))); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(275) - if (((s < (int)0))){ - HX_STACK_LINE(276) - s = (int)0; - } - else{ - HX_STACK_LINE(277) - if (((this->fA == this->fS))){ - HX_STACK_LINE(278) - s = -(::Math_obj::sqrt(s)); - } - else{ - HX_STACK_LINE(280) - s = ::Math_obj::sqrt(s); - } - } - HX_STACK_LINE(282) - Float cx_ = (Float(((s * this->rx) * y1_)) / Float(this->ry)); HX_STACK_VAR(cx_,"cx_"); - HX_STACK_LINE(283) - Float cy_ = (Float(((-(s) * this->ry) * x1_)) / Float(this->rx)); HX_STACK_VAR(cy_,"cy_"); - HX_STACK_LINE(288) - Float xm = (((this->x1 + this->x)) * 0.5); HX_STACK_VAR(xm,"xm"); - HX_STACK_LINE(289) - Float ym = (((this->y1 + this->y)) * 0.5); HX_STACK_VAR(ym,"ym"); - HX_STACK_LINE(291) - Float cx = (((cos * cx_) - (sin * cy_)) + xm); HX_STACK_VAR(cx,"cx"); - HX_STACK_LINE(292) - Float cy = (((sin * cx_) + (cos * cy_)) + ym); HX_STACK_VAR(cy,"cy"); - HX_STACK_LINE(294) - Float theta = ::Math_obj::atan2((Float(((y1_ - cy_))) / Float(this->ry)),(Float(((x1_ - cx_))) / Float(this->rx))); HX_STACK_VAR(theta,"theta"); - HX_STACK_LINE(295) - Float dtheta = (::Math_obj::atan2((Float(((-(y1_) - cy_))) / Float(this->ry)),(Float(((-(x1_) - cx_))) / Float(this->rx))) - theta); HX_STACK_VAR(dtheta,"dtheta"); - HX_STACK_LINE(297) - if (((bool(this->fS) && bool((dtheta < (int)0))))){ - HX_STACK_LINE(298) - hx::AddEq(dtheta,(2.0 * ::Math_obj::PI)); - } - else{ - HX_STACK_LINE(299) - if (((bool(!(this->fS)) && bool((dtheta > (int)0))))){ - HX_STACK_LINE(300) - hx::SubEq(dtheta,(2.0 * ::Math_obj::PI)); - } - } - HX_STACK_LINE(303) - ::neash::geom::Matrix m = ioContext->matrix; HX_STACK_VAR(m,"m"); - HX_STACK_LINE(316) - Float Txc; HX_STACK_VAR(Txc,"Txc"); - HX_STACK_LINE(317) - Float Txs; HX_STACK_VAR(Txs,"Txs"); - HX_STACK_LINE(318) - Float Tx0; HX_STACK_VAR(Tx0,"Tx0"); - HX_STACK_LINE(319) - Float Tyc; HX_STACK_VAR(Tyc,"Tyc"); - HX_STACK_LINE(320) - Float Tys; HX_STACK_VAR(Tys,"Tys"); - HX_STACK_LINE(321) - Float Ty0; HX_STACK_VAR(Ty0,"Ty0"); - HX_STACK_LINE(322) - if (((m != null()))){ - HX_STACK_LINE(324) - Txc = (m->a * this->rx); - HX_STACK_LINE(325) - Txs = (m->c * this->ry); - HX_STACK_LINE(326) - Tx0 = (((m->a * cx) + (m->c * cy)) + m->tx); - HX_STACK_LINE(327) - Tyc = (m->b * this->rx); - HX_STACK_LINE(328) - Tys = (m->d * this->ry); - HX_STACK_LINE(329) - Ty0 = (((m->b * cx) + (m->d * cy)) + m->ty); - } - else{ - HX_STACK_LINE(333) - Txc = this->rx; - HX_STACK_LINE(334) - Txs = (int)0; - HX_STACK_LINE(335) - Tx0 = (cx + m->tx); - HX_STACK_LINE(336) - Tyc = (int)0; - HX_STACK_LINE(337) - Tys = this->ry; - HX_STACK_LINE(338) - Ty0 = (cy + m->ty); - } - HX_STACK_LINE(341) - Float len = (::Math_obj::abs(dtheta) * ::Math_obj::sqrt(((((Txc * Txc) + (Txs * Txs)) + (Tyc * Tyc)) + (Tys * Tys)))); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(343) - hx::MultEq(len,(int)5); - HX_STACK_LINE(344) - int steps = ::Math_obj::round(len); HX_STACK_VAR(steps,"steps"); - HX_STACK_LINE(347) - if (((steps > (int)1))){ - HX_STACK_LINE(349) - hx::DivEq(dtheta,steps); - HX_STACK_LINE(350) - { - HX_STACK_LINE(350) - int _g1 = (int)1; HX_STACK_VAR(_g1,"_g1"); - int _g = (steps - (int)1); HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(350) - while(((_g1 < _g))){ - HX_STACK_LINE(350) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(352) - Float c = ::Math_obj::cos(theta); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(353) - Float s1 = ::Math_obj::sin(theta); HX_STACK_VAR(s1,"s1"); - HX_STACK_LINE(354) - hx::AddEq(theta,dtheta); - HX_STACK_LINE(355) - inGfx->lineTo((((Txc * c) + (Txs * s1)) + Tx0),(((Tyc * c) + (Tys * s1)) + Ty0)); - } - } - } - HX_STACK_LINE(358) - inGfx->lineTo(ioContext->lastX,ioContext->lastY); - } -return null(); -} - - - -ArcSegment_obj::ArcSegment_obj() -{ -} - -void ArcSegment_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ArcSegment); - HX_MARK_MEMBER_NAME(fS,"fS"); - HX_MARK_MEMBER_NAME(fA,"fA"); - HX_MARK_MEMBER_NAME(phi,"phi"); - HX_MARK_MEMBER_NAME(ry,"ry"); - HX_MARK_MEMBER_NAME(rx,"rx"); - HX_MARK_MEMBER_NAME(y1,"y1"); - HX_MARK_MEMBER_NAME(x1,"x1"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ArcSegment_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(fS,"fS"); - HX_VISIT_MEMBER_NAME(fA,"fA"); - HX_VISIT_MEMBER_NAME(phi,"phi"); - HX_VISIT_MEMBER_NAME(ry,"ry"); - HX_VISIT_MEMBER_NAME(rx,"rx"); - HX_VISIT_MEMBER_NAME(y1,"y1"); - HX_VISIT_MEMBER_NAME(x1,"x1"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ArcSegment_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"fS") ) { return fS; } - if (HX_FIELD_EQ(inName,"fA") ) { return fA; } - if (HX_FIELD_EQ(inName,"ry") ) { return ry; } - if (HX_FIELD_EQ(inName,"rx") ) { return rx; } - if (HX_FIELD_EQ(inName,"y1") ) { return y1; } - if (HX_FIELD_EQ(inName,"x1") ) { return x1; } - break; - case 3: - if (HX_FIELD_EQ(inName,"phi") ) { return phi; } - break; - case 5: - if (HX_FIELD_EQ(inName,"toGfx") ) { return toGfx_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ArcSegment_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"fS") ) { fS=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"fA") ) { fA=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"ry") ) { ry=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"rx") ) { rx=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"y1") ) { y1=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x1") ) { x1=inValue.Cast< Float >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"phi") ) { phi=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ArcSegment_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("fS")); - outFields->push(HX_CSTRING("fA")); - outFields->push(HX_CSTRING("phi")); - outFields->push(HX_CSTRING("ry")); - outFields->push(HX_CSTRING("rx")); - outFields->push(HX_CSTRING("y1")); - outFields->push(HX_CSTRING("x1")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - HX_CSTRING("toGfx"), - HX_CSTRING("fS"), - HX_CSTRING("fA"), - HX_CSTRING("phi"), - HX_CSTRING("ry"), - HX_CSTRING("rx"), - HX_CSTRING("y1"), - HX_CSTRING("x1"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ArcSegment_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ArcSegment_obj::__mClass,"__mClass"); -}; - -Class ArcSegment_obj::__mClass; - -void ArcSegment_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.ArcSegment"), hx::TCanCast< ArcSegment_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ArcSegment_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/CubicSegment.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/CubicSegment.cpp deleted file mode 100644 index 06c0810..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/CubicSegment.cpp +++ /dev/null @@ -1,339 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_svg_CubicSegment -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_QuadraticSegment -#include -#endif -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -namespace format{ -namespace svg{ - -Void CubicSegment_obj::__construct(Float inCX1,Float inCY1,Float inCX2,Float inCY2,Float inX,Float inY) -{ -HX_STACK_PUSH("CubicSegment::new","format/svg/PathSegment.hx",93); -{ - HX_STACK_LINE(94) - super::__construct(inX,inY); - HX_STACK_LINE(95) - this->cx1 = inCX1; - HX_STACK_LINE(96) - this->cy1 = inCY1; - HX_STACK_LINE(97) - this->cx2 = inCX2; - HX_STACK_LINE(98) - this->cy2 = inCY2; -} -; - return null(); -} - -CubicSegment_obj::~CubicSegment_obj() { } - -Dynamic CubicSegment_obj::__CreateEmpty() { return new CubicSegment_obj; } -hx::ObjectPtr< CubicSegment_obj > CubicSegment_obj::__new(Float inCX1,Float inCY1,Float inCX2,Float inCY2,Float inX,Float inY) -{ hx::ObjectPtr< CubicSegment_obj > result = new CubicSegment_obj(); - result->__construct(inCX1,inCY1,inCX2,inCY2,inX,inY); - return result;} - -Dynamic CubicSegment_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< CubicSegment_obj > result = new CubicSegment_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5]); - return result;} - -int CubicSegment_obj::getType( ){ - HX_STACK_PUSH("CubicSegment::getType","format/svg/PathSegment.hx",218); - HX_STACK_THIS(this); - HX_STACK_LINE(218) - return (int)4; -} - - -Array< ::format::svg::QuadraticSegment > CubicSegment_obj::toQuadratics( Float tx0,Float ty0){ - HX_STACK_PUSH("CubicSegment::toQuadratics","format/svg/PathSegment.hx",170); - HX_STACK_THIS(this); - HX_STACK_ARG(tx0,"tx0"); - HX_STACK_ARG(ty0,"ty0"); - HX_STACK_LINE(171) - Array< ::format::svg::QuadraticSegment > result = Array_obj< ::format::svg::QuadraticSegment >::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(174) - Float pa_x = this->Interp(tx0,this->cx1,0.75); HX_STACK_VAR(pa_x,"pa_x"); - HX_STACK_LINE(175) - Float pa_y = this->Interp(ty0,this->cy1,0.75); HX_STACK_VAR(pa_y,"pa_y"); - HX_STACK_LINE(176) - Float pb_x = this->Interp(this->x,this->cx2,0.75); HX_STACK_VAR(pb_x,"pb_x"); - HX_STACK_LINE(177) - Float pb_y = this->Interp(this->y,this->cy2,0.75); HX_STACK_VAR(pb_y,"pb_y"); - HX_STACK_LINE(180) - Float dx = (Float(((this->x - tx0))) / Float((int)16)); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(181) - Float dy = (Float(((this->y - ty0))) / Float((int)16)); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(184) - Float pcx_1 = this->Interp(tx0,this->cx1,0.375); HX_STACK_VAR(pcx_1,"pcx_1"); - HX_STACK_LINE(185) - Float pcy_1 = this->Interp(ty0,this->cy1,0.375); HX_STACK_VAR(pcy_1,"pcy_1"); - HX_STACK_LINE(188) - Float pcx_2 = (this->Interp(pa_x,pb_x,0.375) - dx); HX_STACK_VAR(pcx_2,"pcx_2"); - HX_STACK_LINE(189) - Float pcy_2 = (this->Interp(pa_y,pb_y,0.375) - dy); HX_STACK_VAR(pcy_2,"pcy_2"); - HX_STACK_LINE(192) - Float pcx_3 = (this->Interp(pb_x,pa_x,0.375) + dx); HX_STACK_VAR(pcx_3,"pcx_3"); - HX_STACK_LINE(193) - Float pcy_3 = (this->Interp(pb_y,pa_y,0.375) + dy); HX_STACK_VAR(pcy_3,"pcy_3"); - HX_STACK_LINE(196) - Float pcx_4 = this->Interp(this->x,this->cx2,0.375); HX_STACK_VAR(pcx_4,"pcx_4"); - HX_STACK_LINE(197) - Float pcy_4 = this->Interp(this->y,this->cy2,0.375); HX_STACK_VAR(pcy_4,"pcy_4"); - HX_STACK_LINE(200) - Float pax_1 = (((pcx_1 + pcx_2)) * 0.5); HX_STACK_VAR(pax_1,"pax_1"); - HX_STACK_LINE(201) - Float pay_1 = (((pcy_1 + pcy_2)) * 0.5); HX_STACK_VAR(pay_1,"pay_1"); - HX_STACK_LINE(203) - Float pax_2 = (((pa_x + pb_x)) * 0.5); HX_STACK_VAR(pax_2,"pax_2"); - HX_STACK_LINE(204) - Float pay_2 = (((pa_y + pb_y)) * 0.5); HX_STACK_VAR(pay_2,"pay_2"); - HX_STACK_LINE(206) - Float pax_3 = (((pcx_3 + pcx_4)) * 0.5); HX_STACK_VAR(pax_3,"pax_3"); - HX_STACK_LINE(207) - Float pay_3 = (((pcy_3 + pcy_4)) * 0.5); HX_STACK_VAR(pay_3,"pay_3"); - HX_STACK_LINE(210) - result->push(::format::svg::QuadraticSegment_obj::__new(pcx_1,pcy_1,pax_1,pay_1)); - HX_STACK_LINE(211) - result->push(::format::svg::QuadraticSegment_obj::__new(pcx_2,pcy_2,pax_2,pay_2)); - HX_STACK_LINE(212) - result->push(::format::svg::QuadraticSegment_obj::__new(pcx_3,pcy_3,pax_3,pay_3)); - HX_STACK_LINE(213) - result->push(::format::svg::QuadraticSegment_obj::__new(pcx_4,pcy_4,this->x,this->y)); - HX_STACK_LINE(214) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC2(CubicSegment_obj,toQuadratics,return ) - -Void CubicSegment_obj::toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext){ -{ - HX_STACK_PUSH("CubicSegment::toGfx","format/svg/PathSegment.hx",110); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(ioContext,"ioContext"); - HX_STACK_LINE(112) - Float tx0 = ioContext->lastX; HX_STACK_VAR(tx0,"tx0"); - HX_STACK_LINE(113) - Float ty0 = ioContext->lastY; HX_STACK_VAR(ty0,"ty0"); - HX_STACK_LINE(115) - Float tx1 = ioContext->transX(this->cx1,this->cy1); HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(116) - Float ty1 = ioContext->transY(this->cx1,this->cy1); HX_STACK_VAR(ty1,"ty1"); - HX_STACK_LINE(117) - Float tx2 = ioContext->transX(this->cx2,this->cy2); HX_STACK_VAR(tx2,"tx2"); - HX_STACK_LINE(118) - Float ty2 = ioContext->transY(this->cx2,this->cy2); HX_STACK_VAR(ty2,"ty2"); - HX_STACK_LINE(120) - ioContext->setLast(this->x,this->y); - HX_STACK_LINE(121) - Float tx3 = ioContext->lastX; HX_STACK_VAR(tx3,"tx3"); - HX_STACK_LINE(122) - Float ty3 = ioContext->lastY; HX_STACK_VAR(ty3,"ty3"); - HX_STACK_LINE(126) - Float pa_x = this->Interp(tx0,tx1,0.75); HX_STACK_VAR(pa_x,"pa_x"); - HX_STACK_LINE(127) - Float pa_y = this->Interp(ty0,ty1,0.75); HX_STACK_VAR(pa_y,"pa_y"); - HX_STACK_LINE(128) - Float pb_x = this->Interp(tx3,tx2,0.75); HX_STACK_VAR(pb_x,"pb_x"); - HX_STACK_LINE(129) - Float pb_y = this->Interp(ty3,ty2,0.75); HX_STACK_VAR(pb_y,"pb_y"); - HX_STACK_LINE(132) - Float dx = (Float(((tx3 - tx0))) / Float((int)16)); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(133) - Float dy = (Float(((ty3 - ty0))) / Float((int)16)); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(136) - Float pcx_1 = this->Interp(tx0,tx1,0.375); HX_STACK_VAR(pcx_1,"pcx_1"); - HX_STACK_LINE(137) - Float pcy_1 = this->Interp(ty0,ty1,0.375); HX_STACK_VAR(pcy_1,"pcy_1"); - HX_STACK_LINE(140) - Float pcx_2 = (this->Interp(pa_x,pb_x,0.375) - dx); HX_STACK_VAR(pcx_2,"pcx_2"); - HX_STACK_LINE(141) - Float pcy_2 = (this->Interp(pa_y,pb_y,0.375) - dy); HX_STACK_VAR(pcy_2,"pcy_2"); - HX_STACK_LINE(144) - Float pcx_3 = (this->Interp(pb_x,pa_x,0.375) + dx); HX_STACK_VAR(pcx_3,"pcx_3"); - HX_STACK_LINE(145) - Float pcy_3 = (this->Interp(pb_y,pa_y,0.375) + dy); HX_STACK_VAR(pcy_3,"pcy_3"); - HX_STACK_LINE(148) - Float pcx_4 = this->Interp(tx3,tx2,0.375); HX_STACK_VAR(pcx_4,"pcx_4"); - HX_STACK_LINE(149) - Float pcy_4 = this->Interp(ty3,ty2,0.375); HX_STACK_VAR(pcy_4,"pcy_4"); - HX_STACK_LINE(152) - Float pax_1 = (((pcx_1 + pcx_2)) * 0.5); HX_STACK_VAR(pax_1,"pax_1"); - HX_STACK_LINE(153) - Float pay_1 = (((pcy_1 + pcy_2)) * 0.5); HX_STACK_VAR(pay_1,"pay_1"); - HX_STACK_LINE(155) - Float pax_2 = (((pa_x + pb_x)) * 0.5); HX_STACK_VAR(pax_2,"pax_2"); - HX_STACK_LINE(156) - Float pay_2 = (((pa_y + pb_y)) * 0.5); HX_STACK_VAR(pay_2,"pay_2"); - HX_STACK_LINE(158) - Float pax_3 = (((pcx_3 + pcx_4)) * 0.5); HX_STACK_VAR(pax_3,"pax_3"); - HX_STACK_LINE(159) - Float pay_3 = (((pcy_3 + pcy_4)) * 0.5); HX_STACK_VAR(pay_3,"pay_3"); - HX_STACK_LINE(162) - inGfx->curveTo(pcx_1,pcy_1,pax_1,pay_1); - HX_STACK_LINE(163) - inGfx->curveTo(pcx_2,pcy_2,pax_2,pay_2); - HX_STACK_LINE(164) - inGfx->curveTo(pcx_3,pcy_3,pax_3,pay_3); - HX_STACK_LINE(165) - inGfx->curveTo(pcx_4,pcy_4,tx3,ty3); - } -return null(); -} - - -Float CubicSegment_obj::Interp( Float a,Float b,Float frac){ - HX_STACK_PUSH("CubicSegment::Interp","format/svg/PathSegment.hx",105); - HX_STACK_THIS(this); - HX_STACK_ARG(a,"a"); - HX_STACK_ARG(b,"b"); - HX_STACK_ARG(frac,"frac"); - HX_STACK_LINE(105) - return (a + (((b - a)) * frac)); -} - - -HX_DEFINE_DYNAMIC_FUNC3(CubicSegment_obj,Interp,return ) - -Float CubicSegment_obj::prevCY( ){ - HX_STACK_PUSH("CubicSegment::prevCY","format/svg/PathSegment.hx",102); - HX_STACK_THIS(this); - HX_STACK_LINE(102) - return this->cy2; -} - - -Float CubicSegment_obj::prevCX( ){ - HX_STACK_PUSH("CubicSegment::prevCX","format/svg/PathSegment.hx",101); - HX_STACK_THIS(this); - HX_STACK_LINE(101) - return this->cx2; -} - - - -CubicSegment_obj::CubicSegment_obj() -{ -} - -void CubicSegment_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(CubicSegment); - HX_MARK_MEMBER_NAME(cy2,"cy2"); - HX_MARK_MEMBER_NAME(cx2,"cx2"); - HX_MARK_MEMBER_NAME(cy1,"cy1"); - HX_MARK_MEMBER_NAME(cx1,"cx1"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void CubicSegment_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(cy2,"cy2"); - HX_VISIT_MEMBER_NAME(cx2,"cx2"); - HX_VISIT_MEMBER_NAME(cy1,"cy1"); - HX_VISIT_MEMBER_NAME(cx1,"cx1"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic CubicSegment_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"cy2") ) { return cy2; } - if (HX_FIELD_EQ(inName,"cx2") ) { return cx2; } - if (HX_FIELD_EQ(inName,"cy1") ) { return cy1; } - if (HX_FIELD_EQ(inName,"cx1") ) { return cx1; } - break; - case 5: - if (HX_FIELD_EQ(inName,"toGfx") ) { return toGfx_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"Interp") ) { return Interp_dyn(); } - if (HX_FIELD_EQ(inName,"prevCY") ) { return prevCY_dyn(); } - if (HX_FIELD_EQ(inName,"prevCX") ) { return prevCX_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"toQuadratics") ) { return toQuadratics_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic CubicSegment_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"cy2") ) { cy2=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"cx2") ) { cx2=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"cy1") ) { cy1=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"cx1") ) { cx1=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void CubicSegment_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("cy2")); - outFields->push(HX_CSTRING("cx2")); - outFields->push(HX_CSTRING("cy1")); - outFields->push(HX_CSTRING("cx1")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - HX_CSTRING("toQuadratics"), - HX_CSTRING("toGfx"), - HX_CSTRING("Interp"), - HX_CSTRING("prevCY"), - HX_CSTRING("prevCX"), - HX_CSTRING("cy2"), - HX_CSTRING("cx2"), - HX_CSTRING("cy1"), - HX_CSTRING("cx1"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(CubicSegment_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(CubicSegment_obj::__mClass,"__mClass"); -}; - -Class CubicSegment_obj::__mClass; - -void CubicSegment_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.CubicSegment"), hx::TCanCast< CubicSegment_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void CubicSegment_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/DisplayElement.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/DisplayElement.cpp deleted file mode 100644 index d33ef9c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/DisplayElement.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_format_svg_DisplayElement -#include -#endif -#ifndef INCLUDED_format_svg_Group -#include -#endif -#ifndef INCLUDED_format_svg_Path -#include -#endif -#ifndef INCLUDED_format_svg_Text -#include -#endif -namespace format{ -namespace svg{ - -::format::svg::DisplayElement DisplayElement_obj::DisplayGroup(::format::svg::Group group) - { return hx::CreateEnum< DisplayElement_obj >(HX_CSTRING("DisplayGroup"),1,hx::DynamicArray(0,1).Add(group)); } - -::format::svg::DisplayElement DisplayElement_obj::DisplayPath(::format::svg::Path path) - { return hx::CreateEnum< DisplayElement_obj >(HX_CSTRING("DisplayPath"),0,hx::DynamicArray(0,1).Add(path)); } - -::format::svg::DisplayElement DisplayElement_obj::DisplayText(::format::svg::Text text) - { return hx::CreateEnum< DisplayElement_obj >(HX_CSTRING("DisplayText"),2,hx::DynamicArray(0,1).Add(text)); } - -HX_DEFINE_CREATE_ENUM(DisplayElement_obj) - -int DisplayElement_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("DisplayGroup")) return 1; - if (inName==HX_CSTRING("DisplayPath")) return 0; - if (inName==HX_CSTRING("DisplayText")) return 2; - return super::__FindIndex(inName); -} - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(DisplayElement_obj,DisplayGroup,return) - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(DisplayElement_obj,DisplayPath,return) - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(DisplayElement_obj,DisplayText,return) - -int DisplayElement_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("DisplayGroup")) return 1; - if (inName==HX_CSTRING("DisplayPath")) return 1; - if (inName==HX_CSTRING("DisplayText")) return 1; - return super::__FindArgCount(inName); -} - -Dynamic DisplayElement_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("DisplayGroup")) return DisplayGroup_dyn(); - if (inName==HX_CSTRING("DisplayPath")) return DisplayPath_dyn(); - if (inName==HX_CSTRING("DisplayText")) return DisplayText_dyn(); - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("DisplayPath"), - HX_CSTRING("DisplayGroup"), - HX_CSTRING("DisplayText"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(DisplayElement_obj::__mClass,"__mClass"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class DisplayElement_obj::__mClass; - -Dynamic __Create_DisplayElement_obj() { return new DisplayElement_obj; } - -void DisplayElement_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.DisplayElement"), hx::TCanCast< DisplayElement_obj >,sStaticFields,sMemberFields, - &__Create_DisplayElement_obj, &__Create, - &super::__SGetClass(), &CreateDisplayElement_obj, sMarkStatics, sVisitStatic); -} - -void DisplayElement_obj::__boot() -{ -} - - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/DrawSegment.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/DrawSegment.cpp deleted file mode 100644 index dd72f2a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/DrawSegment.cpp +++ /dev/null @@ -1,134 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_svg_DrawSegment -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -namespace format{ -namespace svg{ - -Void DrawSegment_obj::__construct(Float inX,Float inY) -{ -HX_STACK_PUSH("DrawSegment::new","format/svg/PathSegment.hx",50); -{ - HX_STACK_LINE(50) - super::__construct(inX,inY); -} -; - return null(); -} - -DrawSegment_obj::~DrawSegment_obj() { } - -Dynamic DrawSegment_obj::__CreateEmpty() { return new DrawSegment_obj; } -hx::ObjectPtr< DrawSegment_obj > DrawSegment_obj::__new(Float inX,Float inY) -{ hx::ObjectPtr< DrawSegment_obj > result = new DrawSegment_obj(); - result->__construct(inX,inY); - return result;} - -Dynamic DrawSegment_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< DrawSegment_obj > result = new DrawSegment_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -int DrawSegment_obj::getType( ){ - HX_STACK_PUSH("DrawSegment::getType","format/svg/PathSegment.hx",57); - HX_STACK_THIS(this); - HX_STACK_LINE(57) - return (int)2; -} - - -Void DrawSegment_obj::toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext){ -{ - HX_STACK_PUSH("DrawSegment::toGfx","format/svg/PathSegment.hx",52); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(ioContext,"ioContext"); - HX_STACK_LINE(53) - ioContext->setLast(this->x,this->y); - HX_STACK_LINE(54) - inGfx->lineTo(ioContext->lastX,ioContext->lastY); - } -return null(); -} - - - -DrawSegment_obj::DrawSegment_obj() -{ -} - -void DrawSegment_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(DrawSegment); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void DrawSegment_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic DrawSegment_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"toGfx") ) { return toGfx_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic DrawSegment_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void DrawSegment_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - HX_CSTRING("toGfx"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(DrawSegment_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(DrawSegment_obj::__mClass,"__mClass"); -}; - -Class DrawSegment_obj::__mClass; - -void DrawSegment_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.DrawSegment"), hx::TCanCast< DrawSegment_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void DrawSegment_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/FillType.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/FillType.cpp deleted file mode 100644 index 2294907..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/FillType.cpp +++ /dev/null @@ -1,88 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_svg_FillType -#include -#endif -#ifndef INCLUDED_format_svg_Grad -#include -#endif -namespace format{ -namespace svg{ - -::format::svg::FillType FillType_obj::FillGrad(::format::svg::Grad grad) - { return hx::CreateEnum< FillType_obj >(HX_CSTRING("FillGrad"),0,hx::DynamicArray(0,1).Add(grad)); } - -::format::svg::FillType FillType_obj::FillNone; - -::format::svg::FillType FillType_obj::FillSolid(int colour) - { return hx::CreateEnum< FillType_obj >(HX_CSTRING("FillSolid"),1,hx::DynamicArray(0,1).Add(colour)); } - -HX_DEFINE_CREATE_ENUM(FillType_obj) - -int FillType_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("FillGrad")) return 0; - if (inName==HX_CSTRING("FillNone")) return 2; - if (inName==HX_CSTRING("FillSolid")) return 1; - return super::__FindIndex(inName); -} - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FillType_obj,FillGrad,return) - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FillType_obj,FillSolid,return) - -int FillType_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("FillGrad")) return 1; - if (inName==HX_CSTRING("FillNone")) return 0; - if (inName==HX_CSTRING("FillSolid")) return 1; - return super::__FindArgCount(inName); -} - -Dynamic FillType_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("FillGrad")) return FillGrad_dyn(); - if (inName==HX_CSTRING("FillNone")) return FillNone; - if (inName==HX_CSTRING("FillSolid")) return FillSolid_dyn(); - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("FillGrad"), - HX_CSTRING("FillSolid"), - HX_CSTRING("FillNone"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FillType_obj::FillNone,"FillNone"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FillType_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FillType_obj::FillNone,"FillNone"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class FillType_obj::__mClass; - -Dynamic __Create_FillType_obj() { return new FillType_obj; } - -void FillType_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.FillType"), hx::TCanCast< FillType_obj >,sStaticFields,sMemberFields, - &__Create_FillType_obj, &__Create, - &super::__SGetClass(), &CreateFillType_obj, sMarkStatics, sVisitStatic); -} - -void FillType_obj::__boot() -{ -Static(FillNone) = hx::CreateEnum< FillType_obj >(HX_CSTRING("FillNone"),2); -} - - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/Grad.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/Grad.cpp deleted file mode 100644 index 05950b1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/Grad.cpp +++ /dev/null @@ -1,225 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_svg_Grad -#include -#endif -#ifndef INCLUDED_neash_display_GradientType -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace format{ -namespace svg{ - -Void Grad_obj::__construct(::neash::display::GradientType inType) -{ -HX_STACK_PUSH("Grad::new","format/svg/Grad.hx",23); -{ - HX_STACK_LINE(24) - super::__construct(); - HX_STACK_LINE(25) - this->type = inType; - HX_STACK_LINE(26) - this->radius = 0.0; - HX_STACK_LINE(27) - this->gradMatrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - HX_STACK_LINE(28) - this->x1 = 0.0; - HX_STACK_LINE(29) - this->y1 = 0.0; - HX_STACK_LINE(30) - this->x2 = 0.0; - HX_STACK_LINE(31) - this->y2 = 0.0; -} -; - return null(); -} - -Grad_obj::~Grad_obj() { } - -Dynamic Grad_obj::__CreateEmpty() { return new Grad_obj; } -hx::ObjectPtr< Grad_obj > Grad_obj::__new(::neash::display::GradientType inType) -{ hx::ObjectPtr< Grad_obj > result = new Grad_obj(); - result->__construct(inType); - return result;} - -Dynamic Grad_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Grad_obj > result = new Grad_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Grad_obj::updateMatrix( ::neash::geom::Matrix inMatrix){ -{ - HX_STACK_PUSH("Grad::updateMatrix","format/svg/Grad.hx",35); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_LINE(36) - Float dx = (this->x2 - this->x1); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(37) - Float dy = (this->y2 - this->y1); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(38) - Float theta = ::Math_obj::atan2(dy,dx); HX_STACK_VAR(theta,"theta"); - HX_STACK_LINE(39) - Float len = ::Math_obj::sqrt(((dx * dx) + (dy * dy))); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(41) - ::neash::geom::Matrix mtx = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(mtx,"mtx"); - HX_STACK_LINE(43) - if (((this->type == ::neash::display::GradientType_obj::LINEAR_dyn()))){ - HX_STACK_LINE(45) - mtx->createGradientBox(1.0,1.0,null(),null(),null()); - HX_STACK_LINE(46) - mtx->scale(len,len); - } - else{ - HX_STACK_LINE(50) - if (((this->radius != 0.0))){ - HX_STACK_LINE(51) - this->focus = (Float(len) / Float(this->radius)); - } - HX_STACK_LINE(53) - mtx->createGradientBox(1.0,1.0,null(),null(),null()); - HX_STACK_LINE(54) - mtx->translate(-0.5,-0.5); - HX_STACK_LINE(55) - mtx->scale((this->radius * (int)2),(this->radius * (int)2)); - } - HX_STACK_LINE(58) - mtx->rotate(theta); - HX_STACK_LINE(59) - mtx->translate(this->x1,this->y1); - HX_STACK_LINE(60) - mtx->concat(this->gradMatrix); - HX_STACK_LINE(61) - mtx->concat(inMatrix); - HX_STACK_LINE(62) - this->matrix = mtx; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Grad_obj,updateMatrix,(void)) - - -Grad_obj::Grad_obj() -{ -} - -void Grad_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Grad); - HX_MARK_MEMBER_NAME(y2,"y2"); - HX_MARK_MEMBER_NAME(x2,"x2"); - HX_MARK_MEMBER_NAME(y1,"y1"); - HX_MARK_MEMBER_NAME(x1,"x1"); - HX_MARK_MEMBER_NAME(radius,"radius"); - HX_MARK_MEMBER_NAME(gradMatrix,"gradMatrix"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Grad_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(y2,"y2"); - HX_VISIT_MEMBER_NAME(x2,"x2"); - HX_VISIT_MEMBER_NAME(y1,"y1"); - HX_VISIT_MEMBER_NAME(x1,"x1"); - HX_VISIT_MEMBER_NAME(radius,"radius"); - HX_VISIT_MEMBER_NAME(gradMatrix,"gradMatrix"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Grad_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"y2") ) { return y2; } - if (HX_FIELD_EQ(inName,"x2") ) { return x2; } - if (HX_FIELD_EQ(inName,"y1") ) { return y1; } - if (HX_FIELD_EQ(inName,"x1") ) { return x1; } - break; - case 6: - if (HX_FIELD_EQ(inName,"radius") ) { return radius; } - break; - case 10: - if (HX_FIELD_EQ(inName,"gradMatrix") ) { return gradMatrix; } - break; - case 12: - if (HX_FIELD_EQ(inName,"updateMatrix") ) { return updateMatrix_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Grad_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"y2") ) { y2=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x2") ) { x2=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"y1") ) { y1=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x1") ) { x1=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"radius") ) { radius=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"gradMatrix") ) { gradMatrix=inValue.Cast< ::neash::geom::Matrix >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Grad_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("y2")); - outFields->push(HX_CSTRING("x2")); - outFields->push(HX_CSTRING("y1")); - outFields->push(HX_CSTRING("x1")); - outFields->push(HX_CSTRING("radius")); - outFields->push(HX_CSTRING("gradMatrix")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("updateMatrix"), - HX_CSTRING("y2"), - HX_CSTRING("x2"), - HX_CSTRING("y1"), - HX_CSTRING("x1"), - HX_CSTRING("radius"), - HX_CSTRING("gradMatrix"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Grad_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Grad_obj::__mClass,"__mClass"); -}; - -Class Grad_obj::__mClass; - -void Grad_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.Grad"), hx::TCanCast< Grad_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Grad_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/Group.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/Group.cpp deleted file mode 100644 index 00d5057..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/Group.cpp +++ /dev/null @@ -1,178 +0,0 @@ -#include - -#ifndef INCLUDED_format_svg_DisplayElement -#include -#endif -#ifndef INCLUDED_format_svg_Group -#include -#endif -namespace format{ -namespace svg{ - -Void Group_obj::__construct() -{ -HX_STACK_PUSH("Group::new","format/svg/Group.hx",7); -{ - HX_STACK_LINE(8) - this->name = HX_CSTRING(""); - HX_STACK_LINE(9) - this->children = Array_obj< ::format::svg::DisplayElement >::__new(); -} -; - return null(); -} - -Group_obj::~Group_obj() { } - -Dynamic Group_obj::__CreateEmpty() { return new Group_obj; } -hx::ObjectPtr< Group_obj > Group_obj::__new() -{ hx::ObjectPtr< Group_obj > result = new Group_obj(); - result->__construct(); - return result;} - -Dynamic Group_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Group_obj > result = new Group_obj(); - result->__construct(); - return result;} - -::format::svg::Group Group_obj::findGroup( ::String inName){ - HX_STACK_PUSH("Group::findGroup","format/svg/Group.hx",14); - HX_STACK_THIS(this); - HX_STACK_ARG(inName,"inName"); - HX_STACK_LINE(15) - { - HX_STACK_LINE(15) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::format::svg::DisplayElement > _g1 = this->children; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(15) - while(((_g < _g1->length))){ - HX_STACK_LINE(15) - ::format::svg::DisplayElement child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(15) - ++(_g); - HX_STACK_LINE(16) - { - ::format::svg::DisplayElement _switch_1 = (child); - switch((_switch_1)->GetIndex()){ - case 1: { - ::format::svg::Group group = _switch_1->__Param(0); -{ - HX_STACK_LINE(18) - if (((group->name == inName))){ - HX_STACK_LINE(20) - return group; - } - } - } - ;break; - default: { - } - } - } - } - } - HX_STACK_LINE(23) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Group_obj,findGroup,return ) - -bool Group_obj::hasGroup( ::String inName){ - HX_STACK_PUSH("Group::hasGroup","format/svg/Group.hx",12); - HX_STACK_THIS(this); - HX_STACK_ARG(inName,"inName"); - HX_STACK_LINE(12) - return (this->findGroup(inName) != null()); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Group_obj,hasGroup,return ) - - -Group_obj::Group_obj() -{ -} - -void Group_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Group); - HX_MARK_MEMBER_NAME(children,"children"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_END_CLASS(); -} - -void Group_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(children,"children"); - HX_VISIT_MEMBER_NAME(name,"name"); -} - -Dynamic Group_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 8: - if (HX_FIELD_EQ(inName,"children") ) { return children; } - if (HX_FIELD_EQ(inName,"hasGroup") ) { return hasGroup_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"findGroup") ) { return findGroup_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Group_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"children") ) { children=inValue.Cast< Array< ::format::svg::DisplayElement > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Group_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("children")); - outFields->push(HX_CSTRING("name")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("children"), - HX_CSTRING("name"), - HX_CSTRING("findGroup"), - HX_CSTRING("hasGroup"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Group_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Group_obj::__mClass,"__mClass"); -}; - -Class Group_obj::__mClass; - -void Group_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.Group"), hx::TCanCast< Group_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Group_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/MoveSegment.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/MoveSegment.cpp deleted file mode 100644 index 59f41c3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/MoveSegment.cpp +++ /dev/null @@ -1,109 +0,0 @@ -#include - -#ifndef INCLUDED_format_svg_MoveSegment -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -namespace format{ -namespace svg{ - -Void MoveSegment_obj::__construct(Float inX,Float inY) -{ -HX_STACK_PUSH("MoveSegment::new","format/svg/PathSegment.hx",43); -{ - HX_STACK_LINE(43) - super::__construct(inX,inY); -} -; - return null(); -} - -MoveSegment_obj::~MoveSegment_obj() { } - -Dynamic MoveSegment_obj::__CreateEmpty() { return new MoveSegment_obj; } -hx::ObjectPtr< MoveSegment_obj > MoveSegment_obj::__new(Float inX,Float inY) -{ hx::ObjectPtr< MoveSegment_obj > result = new MoveSegment_obj(); - result->__construct(inX,inY); - return result;} - -Dynamic MoveSegment_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< MoveSegment_obj > result = new MoveSegment_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -int MoveSegment_obj::getType( ){ - HX_STACK_PUSH("MoveSegment::getType","format/svg/PathSegment.hx",44); - HX_STACK_THIS(this); - HX_STACK_LINE(44) - return (int)1; -} - - - -MoveSegment_obj::MoveSegment_obj() -{ -} - -void MoveSegment_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(MoveSegment); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void MoveSegment_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic MoveSegment_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic MoveSegment_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void MoveSegment_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(MoveSegment_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(MoveSegment_obj::__mClass,"__mClass"); -}; - -Class MoveSegment_obj::__mClass; - -void MoveSegment_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.MoveSegment"), hx::TCanCast< MoveSegment_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void MoveSegment_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/Path.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/Path.cpp deleted file mode 100644 index 51d37f0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/Path.cpp +++ /dev/null @@ -1,210 +0,0 @@ -#include - -#ifndef INCLUDED_format_svg_FillType -#include -#endif -#ifndef INCLUDED_format_svg_Path -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace format{ -namespace svg{ - -Void Path_obj::__construct() -{ -HX_STACK_PUSH("Path::new","format/svg/Path.hx",15); -{ -} -; - return null(); -} - -Path_obj::~Path_obj() { } - -Dynamic Path_obj::__CreateEmpty() { return new Path_obj; } -hx::ObjectPtr< Path_obj > Path_obj::__new() -{ hx::ObjectPtr< Path_obj > result = new Path_obj(); - result->__construct(); - return result;} - -Dynamic Path_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Path_obj > result = new Path_obj(); - result->__construct(); - return result;} - - -Path_obj::Path_obj() -{ -} - -void Path_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Path); - HX_MARK_MEMBER_NAME(segments,"segments"); - HX_MARK_MEMBER_NAME(miter_limit,"miter_limit"); - HX_MARK_MEMBER_NAME(joint_style,"joint_style"); - HX_MARK_MEMBER_NAME(stroke_caps,"stroke_caps"); - HX_MARK_MEMBER_NAME(stroke_width,"stroke_width"); - HX_MARK_MEMBER_NAME(stroke_colour,"stroke_colour"); - HX_MARK_MEMBER_NAME(stroke_alpha,"stroke_alpha"); - HX_MARK_MEMBER_NAME(fill_alpha,"fill_alpha"); - HX_MARK_MEMBER_NAME(fill,"fill"); - HX_MARK_MEMBER_NAME(font_size,"font_size"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_MEMBER_NAME(matrix,"matrix"); - HX_MARK_END_CLASS(); -} - -void Path_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(segments,"segments"); - HX_VISIT_MEMBER_NAME(miter_limit,"miter_limit"); - HX_VISIT_MEMBER_NAME(joint_style,"joint_style"); - HX_VISIT_MEMBER_NAME(stroke_caps,"stroke_caps"); - HX_VISIT_MEMBER_NAME(stroke_width,"stroke_width"); - HX_VISIT_MEMBER_NAME(stroke_colour,"stroke_colour"); - HX_VISIT_MEMBER_NAME(stroke_alpha,"stroke_alpha"); - HX_VISIT_MEMBER_NAME(fill_alpha,"fill_alpha"); - HX_VISIT_MEMBER_NAME(fill,"fill"); - HX_VISIT_MEMBER_NAME(font_size,"font_size"); - HX_VISIT_MEMBER_NAME(name,"name"); - HX_VISIT_MEMBER_NAME(matrix,"matrix"); -} - -Dynamic Path_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"fill") ) { return fill; } - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 6: - if (HX_FIELD_EQ(inName,"matrix") ) { return matrix; } - break; - case 8: - if (HX_FIELD_EQ(inName,"segments") ) { return segments; } - break; - case 9: - if (HX_FIELD_EQ(inName,"font_size") ) { return font_size; } - break; - case 10: - if (HX_FIELD_EQ(inName,"fill_alpha") ) { return fill_alpha; } - break; - case 11: - if (HX_FIELD_EQ(inName,"miter_limit") ) { return miter_limit; } - if (HX_FIELD_EQ(inName,"joint_style") ) { return joint_style; } - if (HX_FIELD_EQ(inName,"stroke_caps") ) { return stroke_caps; } - break; - case 12: - if (HX_FIELD_EQ(inName,"stroke_width") ) { return stroke_width; } - if (HX_FIELD_EQ(inName,"stroke_alpha") ) { return stroke_alpha; } - break; - case 13: - if (HX_FIELD_EQ(inName,"stroke_colour") ) { return stroke_colour; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Path_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"fill") ) { fill=inValue.Cast< ::format::svg::FillType >(); return inValue; } - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"matrix") ) { matrix=inValue.Cast< ::neash::geom::Matrix >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"segments") ) { segments=inValue.Cast< Array< ::format::svg::PathSegment > >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"font_size") ) { font_size=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"fill_alpha") ) { fill_alpha=inValue.Cast< Float >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"miter_limit") ) { miter_limit=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"joint_style") ) { joint_style=inValue.Cast< ::neash::display::JointStyle >(); return inValue; } - if (HX_FIELD_EQ(inName,"stroke_caps") ) { stroke_caps=inValue.Cast< ::neash::display::CapsStyle >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"stroke_width") ) { stroke_width=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"stroke_alpha") ) { stroke_alpha=inValue.Cast< Float >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"stroke_colour") ) { stroke_colour=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Path_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("segments")); - outFields->push(HX_CSTRING("miter_limit")); - outFields->push(HX_CSTRING("joint_style")); - outFields->push(HX_CSTRING("stroke_caps")); - outFields->push(HX_CSTRING("stroke_width")); - outFields->push(HX_CSTRING("stroke_colour")); - outFields->push(HX_CSTRING("stroke_alpha")); - outFields->push(HX_CSTRING("fill_alpha")); - outFields->push(HX_CSTRING("fill")); - outFields->push(HX_CSTRING("font_size")); - outFields->push(HX_CSTRING("name")); - outFields->push(HX_CSTRING("matrix")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("segments"), - HX_CSTRING("miter_limit"), - HX_CSTRING("joint_style"), - HX_CSTRING("stroke_caps"), - HX_CSTRING("stroke_width"), - HX_CSTRING("stroke_colour"), - HX_CSTRING("stroke_alpha"), - HX_CSTRING("fill_alpha"), - HX_CSTRING("fill"), - HX_CSTRING("font_size"), - HX_CSTRING("name"), - HX_CSTRING("matrix"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Path_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Path_obj::__mClass,"__mClass"); -}; - -Class Path_obj::__mClass; - -void Path_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.Path"), hx::TCanCast< Path_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Path_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/PathParser.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/PathParser.cpp deleted file mode 100644 index fa0d73a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/PathParser.cpp +++ /dev/null @@ -1,884 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_format_svg_ArcSegment -#include -#endif -#ifndef INCLUDED_format_svg_CubicSegment -#include -#endif -#ifndef INCLUDED_format_svg_DrawSegment -#include -#endif -#ifndef INCLUDED_format_svg_MoveSegment -#include -#endif -#ifndef INCLUDED_format_svg_PathParser -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_QuadraticSegment -#include -#endif -namespace format{ -namespace svg{ - -Void PathParser_obj::__construct() -{ -HX_STACK_PUSH("PathParser::new","format/svg/PathParser.hx",48); -{ - HX_STACK_LINE(48) - if (((::format::svg::PathParser_obj::sCommandArgs == null()))){ - HX_STACK_LINE(51) - ::format::svg::PathParser_obj::sCommandArgs = Array_obj< int >::__new(); - HX_STACK_LINE(52) - { - HX_STACK_LINE(52) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(52) - while(((_g < (int)128))){ - HX_STACK_LINE(52) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(53) - ::format::svg::PathParser_obj::sCommandArgs[i] = this->commandArgs(i); - } - } - } -} -; - return null(); -} - -PathParser_obj::~PathParser_obj() { } - -Dynamic PathParser_obj::__CreateEmpty() { return new PathParser_obj; } -hx::ObjectPtr< PathParser_obj > PathParser_obj::__new() -{ hx::ObjectPtr< PathParser_obj > result = new PathParser_obj(); - result->__construct(); - return result;} - -Dynamic PathParser_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< PathParser_obj > result = new PathParser_obj(); - result->__construct(); - return result;} - -::format::svg::PathSegment PathParser_obj::createCommand( int code,Array< Float > a){ - HX_STACK_PUSH("PathParser::createCommand","format/svg/PathParser.hx",227); - HX_STACK_THIS(this); - HX_STACK_ARG(code,"code"); - HX_STACK_ARG(a,"a"); - HX_STACK_LINE(228) - int _switch_1 = (code); - if ( ( _switch_1==::format::svg::PathParser_obj::MOVE)){ - HX_STACK_LINE(231) - this->lastMoveX = a->__get((int)0); - HX_STACK_LINE(232) - this->lastMoveY = a->__get((int)1); - HX_STACK_LINE(233) - return ::format::svg::MoveSegment_obj::__new(this->lastMoveX,this->lastMoveY); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::MOVER)){ - HX_STACK_LINE(235) - this->lastMoveX = (a->__get((int)0) + this->prevX()); - HX_STACK_LINE(236) - this->lastMoveY = (a->__get((int)1) + this->prevY()); - HX_STACK_LINE(237) - return ::format::svg::MoveSegment_obj::__new(this->lastMoveX,this->lastMoveY); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::LINE)){ - HX_STACK_LINE(238) - return ::format::svg::DrawSegment_obj::__new(a->__get((int)0),a->__get((int)1)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::LINER)){ - HX_STACK_LINE(239) - return ::format::svg::DrawSegment_obj::__new((a->__get((int)0) + this->prevX()),(a->__get((int)1) + this->prevY())); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::HLINE)){ - HX_STACK_LINE(240) - return ::format::svg::DrawSegment_obj::__new(a->__get((int)0),this->prevY()); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::HLINER)){ - HX_STACK_LINE(241) - return ::format::svg::DrawSegment_obj::__new((a->__get((int)0) + this->prevX()),this->prevY()); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::VLINE)){ - HX_STACK_LINE(242) - return ::format::svg::DrawSegment_obj::__new(this->prevX(),a->__get((int)0)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::VLINER)){ - HX_STACK_LINE(243) - return ::format::svg::DrawSegment_obj::__new(this->prevX(),(a->__get((int)0) + this->prevY())); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::CUBIC)){ - HX_STACK_LINE(244) - return ::format::svg::CubicSegment_obj::__new(a->__get((int)0),a->__get((int)1),a->__get((int)2),a->__get((int)3),a->__get((int)4),a->__get((int)5)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::CUBICR)){ - HX_STACK_LINE(247) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(248) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(249) - return ::format::svg::CubicSegment_obj::__new((a->__get((int)0) + rx),(a->__get((int)1) + ry),(a->__get((int)2) + rx),(a->__get((int)3) + ry),(a->__get((int)4) + rx),(a->__get((int)5) + ry)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::SCUBIC)){ - HX_STACK_LINE(251) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(252) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(253) - return ::format::svg::CubicSegment_obj::__new(((rx * (int)2) - this->prevCX()),((ry * (int)2) - this->prevCY()),a->__get((int)0),a->__get((int)1),a->__get((int)2),a->__get((int)3)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::SCUBICR)){ - HX_STACK_LINE(255) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(256) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(257) - return ::format::svg::CubicSegment_obj::__new(((rx * (int)2) - this->prevCX()),((ry * (int)2) - this->prevCY()),(a->__get((int)0) + rx),(a->__get((int)1) + ry),(a->__get((int)2) + rx),(a->__get((int)3) + ry)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::QUAD)){ - HX_STACK_LINE(258) - return ::format::svg::QuadraticSegment_obj::__new(a->__get((int)0),a->__get((int)1),a->__get((int)2),a->__get((int)3)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::QUADR)){ - HX_STACK_LINE(260) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(261) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(262) - return ::format::svg::QuadraticSegment_obj::__new((a->__get((int)0) + rx),(a->__get((int)1) + ry),(a->__get((int)2) + rx),(a->__get((int)3) + ry)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::SQUAD)){ - HX_STACK_LINE(264) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(265) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(266) - return ::format::svg::QuadraticSegment_obj::__new(((rx * (int)2) - this->prevCX()),((rx * (int)2) - this->prevCY()),a->__get((int)2),a->__get((int)3)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::SQUADR)){ - HX_STACK_LINE(268) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(269) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(270) - return ::format::svg::QuadraticSegment_obj::__new(((rx * (int)2) - this->prevCX()),((ry * (int)2) - this->prevCY()),(a->__get((int)0) + rx),(a->__get((int)1) + ry)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::ARC)){ - HX_STACK_LINE(271) - return ::format::svg::ArcSegment_obj::__new(this->prevX(),this->prevY(),a->__get((int)0),a->__get((int)1),a->__get((int)2),(a->__get((int)3) != 0.),(a->__get((int)4) != 0.),a->__get((int)5),a->__get((int)6)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::ARCR)){ - HX_STACK_LINE(274) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(275) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(276) - return ::format::svg::ArcSegment_obj::__new(rx,ry,a->__get((int)0),a->__get((int)1),a->__get((int)2),(a->__get((int)3) != 0.),(a->__get((int)4) != 0.),(a->__get((int)5) + rx),(a->__get((int)6) + ry)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::CLOSE)){ - HX_STACK_LINE(277) - return ::format::svg::DrawSegment_obj::__new(this->lastMoveX,this->lastMoveY); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::CLOSER)){ - HX_STACK_LINE(280) - return ::format::svg::DrawSegment_obj::__new(this->lastMoveX,this->lastMoveY); - } - HX_STACK_LINE(284) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(PathParser_obj,createCommand,return ) - -Float PathParser_obj::prevCY( ){ - HX_STACK_PUSH("PathParser::prevCY","format/svg/PathParser.hx",224); - HX_STACK_THIS(this); - HX_STACK_LINE(224) - return ( (((this->prev != null()))) ? Float(this->prev->prevCY()) : Float((int)0) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathParser_obj,prevCY,return ) - -Float PathParser_obj::prevCX( ){ - HX_STACK_PUSH("PathParser::prevCX","format/svg/PathParser.hx",223); - HX_STACK_THIS(this); - HX_STACK_LINE(223) - return ( (((this->prev != null()))) ? Float(this->prev->prevCX()) : Float((int)0) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathParser_obj,prevCX,return ) - -Float PathParser_obj::prevY( ){ - HX_STACK_PUSH("PathParser::prevY","format/svg/PathParser.hx",222); - HX_STACK_THIS(this); - HX_STACK_LINE(222) - return ( (((this->prev != null()))) ? Float(this->prev->prevY()) : Float((int)0) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathParser_obj,prevY,return ) - -Float PathParser_obj::prevX( ){ - HX_STACK_PUSH("PathParser::prevX","format/svg/PathParser.hx",221); - HX_STACK_THIS(this); - HX_STACK_LINE(221) - return ( (((this->prev != null()))) ? Float(this->prev->prevX()) : Float((int)0) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathParser_obj,prevX,return ) - -int PathParser_obj::commandArgs( int inCode){ - HX_STACK_PUSH("PathParser::commandArgs","format/svg/PathParser.hx",196); - HX_STACK_THIS(this); - HX_STACK_ARG(inCode,"inCode"); - HX_STACK_LINE(197) - if (((inCode == (int)10))){ - HX_STACK_LINE(197) - return ::format::svg::PathParser_obj::SEPARATOR; - } - HX_STACK_LINE(199) - ::String str = ::String::fromCharCode(inCode).toUpperCase(); HX_STACK_VAR(str,"str"); - HX_STACK_LINE(200) - if (((bool((str >= HX_CSTRING("0"))) && bool((str <= HX_CSTRING("9")))))){ - HX_STACK_LINE(201) - return ::format::svg::PathParser_obj::FLOAT; - } - HX_STACK_LINE(203) - ::String _switch_2 = (str); - if ( ( _switch_2==HX_CSTRING("Z"))){ - HX_STACK_LINE(205) - return (int)0; - } - else if ( ( _switch_2==HX_CSTRING("H")) || ( _switch_2==HX_CSTRING("V"))){ - HX_STACK_LINE(206) - return (int)1; - } - else if ( ( _switch_2==HX_CSTRING("M")) || ( _switch_2==HX_CSTRING("L")) || ( _switch_2==HX_CSTRING("T"))){ - HX_STACK_LINE(207) - return (int)2; - } - else if ( ( _switch_2==HX_CSTRING("S")) || ( _switch_2==HX_CSTRING("Q"))){ - HX_STACK_LINE(208) - return (int)4; - } - else if ( ( _switch_2==HX_CSTRING("C"))){ - HX_STACK_LINE(209) - return (int)6; - } - else if ( ( _switch_2==HX_CSTRING("A"))){ - HX_STACK_LINE(210) - return (int)7; - } - else if ( ( _switch_2==HX_CSTRING("\t")) || ( _switch_2==HX_CSTRING("\n")) || ( _switch_2==HX_CSTRING(" ")) || ( _switch_2==HX_CSTRING("\r")) || ( _switch_2==HX_CSTRING(","))){ - HX_STACK_LINE(211) - return ::format::svg::PathParser_obj::SEPARATOR; - } - else if ( ( _switch_2==HX_CSTRING("-"))){ - HX_STACK_LINE(212) - return ::format::svg::PathParser_obj::FLOAT_SIGN; - } - else if ( ( _switch_2==HX_CSTRING("+"))){ - HX_STACK_LINE(213) - return ::format::svg::PathParser_obj::FLOAT_SIGN; - } - else if ( ( _switch_2==HX_CSTRING("E")) || ( _switch_2==HX_CSTRING("e"))){ - HX_STACK_LINE(214) - return ::format::svg::PathParser_obj::FLOAT_EXP; - } - else if ( ( _switch_2==HX_CSTRING("."))){ - HX_STACK_LINE(215) - return ::format::svg::PathParser_obj::FLOAT_DOT; - } - HX_STACK_LINE(218) - return ::format::svg::PathParser_obj::UNKNOWN; -} - - -HX_DEFINE_DYNAMIC_FUNC1(PathParser_obj,commandArgs,return ) - -Array< ::format::svg::PathSegment > PathParser_obj::parse( ::String pathToParse,bool inConvertCubics){ - HX_STACK_PUSH("PathParser::parse","format/svg/PathParser.hx",57); - HX_STACK_THIS(this); - HX_STACK_ARG(pathToParse,"pathToParse"); - HX_STACK_ARG(inConvertCubics,"inConvertCubics"); - HX_STACK_LINE(58) - this->lastMoveX = this->lastMoveY = (int)0; - HX_STACK_LINE(59) - int pos = (int)0; HX_STACK_VAR(pos,"pos"); - HX_STACK_LINE(60) - Array< Float > args = Array_obj< Float >::__new(); HX_STACK_VAR(args,"args"); - HX_STACK_LINE(61) - Array< ::format::svg::PathSegment > segments = Array_obj< ::format::svg::PathSegment >::__new(); HX_STACK_VAR(segments,"segments"); - HX_STACK_LINE(62) - int current_command_pos = (int)0; HX_STACK_VAR(current_command_pos,"current_command_pos"); - HX_STACK_LINE(63) - int current_command = (int)-1; HX_STACK_VAR(current_command,"current_command"); - HX_STACK_LINE(64) - int current_args = (int)-1; HX_STACK_VAR(current_args,"current_args"); - HX_STACK_LINE(66) - this->prev = null(); - HX_STACK_LINE(68) - int len = pathToParse.length; HX_STACK_VAR(len,"len"); - HX_STACK_LINE(69) - bool finished = false; HX_STACK_VAR(finished,"finished"); - HX_STACK_LINE(70) - while(((pos <= len))){ - HX_STACK_LINE(72) - Dynamic code = ( (((pos == len))) ? Dynamic((int)32) : Dynamic(pathToParse.charCodeAt(pos)) ); HX_STACK_VAR(code,"code"); - HX_STACK_LINE(73) - int command = ( (((bool((code > (int)0)) && bool((code < (int)128))))) ? int(::format::svg::PathParser_obj::sCommandArgs->__get(code)) : int(::format::svg::PathParser_obj::UNKNOWN) ); HX_STACK_VAR(command,"command"); - HX_STACK_LINE(75) - if (((command == ::format::svg::PathParser_obj::UNKNOWN))){ - HX_STACK_LINE(76) - hx::Throw (((HX_CSTRING("failed parsing path near '") + pathToParse.substr(pos,null())) + HX_CSTRING("'"))); - } - HX_STACK_LINE(78) - if (((command == ::format::svg::PathParser_obj::SEPARATOR))){ - HX_STACK_LINE(79) - (pos)++; - } - else{ - HX_STACK_LINE(82) - if (((command <= ::format::svg::PathParser_obj::FLOAT))){ - HX_STACK_LINE(84) - int end = (pos + (int)1); HX_STACK_VAR(end,"end"); - HX_STACK_LINE(85) - int e_pos = (int)-1; HX_STACK_VAR(e_pos,"e_pos"); - HX_STACK_LINE(86) - bool seen_dot = (command == ::format::svg::PathParser_obj::FLOAT_DOT); HX_STACK_VAR(seen_dot,"seen_dot"); - HX_STACK_LINE(87) - if (((command == ::format::svg::PathParser_obj::FLOAT_EXP))){ - HX_STACK_LINE(89) - e_pos = (int)0; - HX_STACK_LINE(90) - seen_dot = true; - } - HX_STACK_LINE(92) - while(((end < pathToParse.length))){ - HX_STACK_LINE(94) - Dynamic ch = pathToParse.charCodeAt(end); HX_STACK_VAR(ch,"ch"); - HX_STACK_LINE(95) - int code1 = ( (((bool((ch < (int)0)) || bool((ch > (int)127))))) ? int(::format::svg::PathParser_obj::UNKNOWN) : int(::format::svg::PathParser_obj::sCommandArgs->__get(ch)) ); HX_STACK_VAR(code1,"code1"); - HX_STACK_LINE(96) - if (((code1 > ::format::svg::PathParser_obj::FLOAT))){ - HX_STACK_LINE(97) - break; - } - HX_STACK_LINE(98) - if (((bool((code1 == ::format::svg::PathParser_obj::FLOAT_DOT)) && bool(seen_dot)))){ - HX_STACK_LINE(99) - break; - } - HX_STACK_LINE(100) - if (((e_pos >= (int)0))){ - HX_STACK_LINE(102) - if (((code1 == ::format::svg::PathParser_obj::FLOAT_SIGN))){ - HX_STACK_LINE(103) - if (((e_pos != (int)0))){ - HX_STACK_LINE(105) - break; - } - } - else{ - HX_STACK_LINE(107) - if (((code1 != ::format::svg::PathParser_obj::FLOAT))){ - HX_STACK_LINE(108) - break; - } - } - HX_STACK_LINE(109) - (e_pos)++; - } - else{ - HX_STACK_LINE(111) - if (((code1 == ::format::svg::PathParser_obj::FLOAT_EXP))){ - HX_STACK_LINE(113) - if (((e_pos >= (int)0))){ - HX_STACK_LINE(114) - break; - } - HX_STACK_LINE(115) - e_pos = (int)0; - HX_STACK_LINE(116) - seen_dot = true; - } - else{ - HX_STACK_LINE(118) - if (((code1 == ::format::svg::PathParser_obj::FLOAT_SIGN))){ - HX_STACK_LINE(119) - break; - } - } - } - HX_STACK_LINE(120) - (end)++; - } - HX_STACK_LINE(122) - if (((current_command < (int)0))){ - } - else{ - HX_STACK_LINE(129) - Float f = ::Std_obj::parseFloat(pathToParse.substr(pos,(end - pos))); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(130) - args->push(f); - } - HX_STACK_LINE(132) - pos = end; - } - else{ - HX_STACK_LINE(136) - current_command = code; - HX_STACK_LINE(137) - current_args = command; - HX_STACK_LINE(138) - finished = false; - HX_STACK_LINE(139) - current_command_pos = pos; - HX_STACK_LINE(140) - args = Array_obj< Float >::__new(); - HX_STACK_LINE(141) - (pos)++; - } - } - HX_STACK_LINE(144) - Float px = 0.0; HX_STACK_VAR(px,"px"); - HX_STACK_LINE(145) - Float py = 0.0; HX_STACK_VAR(py,"py"); - HX_STACK_LINE(146) - if (((current_command >= (int)0))){ - HX_STACK_LINE(147) - if (((current_args == args->length))){ - HX_STACK_LINE(150) - if (((bool(inConvertCubics) && bool((this->prev != null()))))){ - HX_STACK_LINE(152) - px = this->prev->prevX(); - HX_STACK_LINE(153) - py = this->prev->prevY(); - } - HX_STACK_LINE(155) - this->prev = this->createCommand(current_command,args); - HX_STACK_LINE(156) - if (((this->prev == null()))){ - HX_STACK_LINE(157) - hx::Throw (((((HX_CSTRING("Unknown command ") + ::String::fromCharCode(current_command)) + HX_CSTRING(" near '")) + pathToParse.substr(current_command_pos,null())) + HX_CSTRING("'"))); - } - HX_STACK_LINE(159) - if (((bool(inConvertCubics) && bool((this->prev->getType() == (int)4))))){ - HX_STACK_LINE(161) - ::format::svg::CubicSegment cubic = this->prev; HX_STACK_VAR(cubic,"cubic"); - HX_STACK_LINE(162) - Array< ::format::svg::QuadraticSegment > quads = cubic->toQuadratics(px,py); HX_STACK_VAR(quads,"quads"); - HX_STACK_LINE(163) - { - HX_STACK_LINE(163) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(163) - while(((_g < quads->length))){ - HX_STACK_LINE(163) - ::format::svg::QuadraticSegment q = quads->__get(_g); HX_STACK_VAR(q,"q"); - HX_STACK_LINE(163) - ++(_g); - HX_STACK_LINE(164) - segments->push(q); - } - } - } - else{ - HX_STACK_LINE(167) - segments->push(this->prev); - } - HX_STACK_LINE(169) - finished = true; - HX_STACK_LINE(170) - if (((current_args == (int)0))){ - HX_STACK_LINE(172) - current_args = (int)-1; - HX_STACK_LINE(173) - current_command = (int)-1; - } - else{ - HX_STACK_LINE(175) - if (((current_command == ::format::svg::PathParser_obj::MOVE))){ - HX_STACK_LINE(176) - current_command = ::format::svg::PathParser_obj::LINE; - } - else{ - HX_STACK_LINE(177) - if (((current_command == ::format::svg::PathParser_obj::MOVER))){ - HX_STACK_LINE(178) - current_command = ::format::svg::PathParser_obj::LINER; - } - } - } - HX_STACK_LINE(180) - current_command_pos = pos; - HX_STACK_LINE(181) - args = Array_obj< Float >::__new(); - } - } - } - HX_STACK_LINE(186) - if (((bool((current_command >= (int)0)) && bool(!(finished))))){ - HX_STACK_LINE(187) - hx::Throw (((((((HX_CSTRING("Unfinished command (") + args->length) + HX_CSTRING("/")) + current_args) + HX_CSTRING(") near '")) + pathToParse.substr(current_command_pos,null())) + HX_CSTRING("'"))); - } - HX_STACK_LINE(192) - return segments; -} - - -HX_DEFINE_DYNAMIC_FUNC2(PathParser_obj,parse,return ) - -Array< int > PathParser_obj::sCommandArgs; - -Dynamic PathParser_obj::MOVE; - -Dynamic PathParser_obj::MOVER; - -Dynamic PathParser_obj::LINE; - -Dynamic PathParser_obj::LINER; - -Dynamic PathParser_obj::HLINE; - -Dynamic PathParser_obj::HLINER; - -Dynamic PathParser_obj::VLINE; - -Dynamic PathParser_obj::VLINER; - -Dynamic PathParser_obj::CUBIC; - -Dynamic PathParser_obj::CUBICR; - -Dynamic PathParser_obj::SCUBIC; - -Dynamic PathParser_obj::SCUBICR; - -Dynamic PathParser_obj::QUAD; - -Dynamic PathParser_obj::QUADR; - -Dynamic PathParser_obj::SQUAD; - -Dynamic PathParser_obj::SQUADR; - -Dynamic PathParser_obj::ARC; - -Dynamic PathParser_obj::ARCR; - -Dynamic PathParser_obj::CLOSE; - -Dynamic PathParser_obj::CLOSER; - -int PathParser_obj::UNKNOWN; - -int PathParser_obj::SEPARATOR; - -int PathParser_obj::FLOAT; - -int PathParser_obj::FLOAT_SIGN; - -int PathParser_obj::FLOAT_DOT; - -int PathParser_obj::FLOAT_EXP; - - -PathParser_obj::PathParser_obj() -{ -} - -void PathParser_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(PathParser); - HX_MARK_MEMBER_NAME(prev,"prev"); - HX_MARK_MEMBER_NAME(lastMoveY,"lastMoveY"); - HX_MARK_MEMBER_NAME(lastMoveX,"lastMoveX"); - HX_MARK_END_CLASS(); -} - -void PathParser_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(prev,"prev"); - HX_VISIT_MEMBER_NAME(lastMoveY,"lastMoveY"); - HX_VISIT_MEMBER_NAME(lastMoveX,"lastMoveX"); -} - -Dynamic PathParser_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"ARC") ) { return ARC; } - break; - case 4: - if (HX_FIELD_EQ(inName,"MOVE") ) { return MOVE; } - if (HX_FIELD_EQ(inName,"LINE") ) { return LINE; } - if (HX_FIELD_EQ(inName,"QUAD") ) { return QUAD; } - if (HX_FIELD_EQ(inName,"ARCR") ) { return ARCR; } - if (HX_FIELD_EQ(inName,"prev") ) { return prev; } - break; - case 5: - if (HX_FIELD_EQ(inName,"MOVER") ) { return MOVER; } - if (HX_FIELD_EQ(inName,"LINER") ) { return LINER; } - if (HX_FIELD_EQ(inName,"HLINE") ) { return HLINE; } - if (HX_FIELD_EQ(inName,"VLINE") ) { return VLINE; } - if (HX_FIELD_EQ(inName,"CUBIC") ) { return CUBIC; } - if (HX_FIELD_EQ(inName,"QUADR") ) { return QUADR; } - if (HX_FIELD_EQ(inName,"SQUAD") ) { return SQUAD; } - if (HX_FIELD_EQ(inName,"CLOSE") ) { return CLOSE; } - if (HX_FIELD_EQ(inName,"FLOAT") ) { return FLOAT; } - if (HX_FIELD_EQ(inName,"prevY") ) { return prevY_dyn(); } - if (HX_FIELD_EQ(inName,"prevX") ) { return prevX_dyn(); } - if (HX_FIELD_EQ(inName,"parse") ) { return parse_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"HLINER") ) { return HLINER; } - if (HX_FIELD_EQ(inName,"VLINER") ) { return VLINER; } - if (HX_FIELD_EQ(inName,"CUBICR") ) { return CUBICR; } - if (HX_FIELD_EQ(inName,"SCUBIC") ) { return SCUBIC; } - if (HX_FIELD_EQ(inName,"SQUADR") ) { return SQUADR; } - if (HX_FIELD_EQ(inName,"CLOSER") ) { return CLOSER; } - if (HX_FIELD_EQ(inName,"prevCY") ) { return prevCY_dyn(); } - if (HX_FIELD_EQ(inName,"prevCX") ) { return prevCX_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"SCUBICR") ) { return SCUBICR; } - if (HX_FIELD_EQ(inName,"UNKNOWN") ) { return UNKNOWN; } - break; - case 9: - if (HX_FIELD_EQ(inName,"SEPARATOR") ) { return SEPARATOR; } - if (HX_FIELD_EQ(inName,"FLOAT_DOT") ) { return FLOAT_DOT; } - if (HX_FIELD_EQ(inName,"FLOAT_EXP") ) { return FLOAT_EXP; } - if (HX_FIELD_EQ(inName,"lastMoveY") ) { return lastMoveY; } - if (HX_FIELD_EQ(inName,"lastMoveX") ) { return lastMoveX; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FLOAT_SIGN") ) { return FLOAT_SIGN; } - break; - case 11: - if (HX_FIELD_EQ(inName,"commandArgs") ) { return commandArgs_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"sCommandArgs") ) { return sCommandArgs; } - break; - case 13: - if (HX_FIELD_EQ(inName,"createCommand") ) { return createCommand_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic PathParser_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"ARC") ) { ARC=inValue.Cast< Dynamic >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"MOVE") ) { MOVE=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"LINE") ) { LINE=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"QUAD") ) { QUAD=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"ARCR") ) { ARCR=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"prev") ) { prev=inValue.Cast< ::format::svg::PathSegment >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"MOVER") ) { MOVER=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"LINER") ) { LINER=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"HLINE") ) { HLINE=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"VLINE") ) { VLINE=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"CUBIC") ) { CUBIC=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"QUADR") ) { QUADR=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"SQUAD") ) { SQUAD=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"CLOSE") ) { CLOSE=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"FLOAT") ) { FLOAT=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"HLINER") ) { HLINER=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"VLINER") ) { VLINER=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"CUBICR") ) { CUBICR=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"SCUBIC") ) { SCUBIC=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"SQUADR") ) { SQUADR=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"CLOSER") ) { CLOSER=inValue.Cast< Dynamic >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"SCUBICR") ) { SCUBICR=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"UNKNOWN") ) { UNKNOWN=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"SEPARATOR") ) { SEPARATOR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FLOAT_DOT") ) { FLOAT_DOT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FLOAT_EXP") ) { FLOAT_EXP=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"lastMoveY") ) { lastMoveY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"lastMoveX") ) { lastMoveX=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FLOAT_SIGN") ) { FLOAT_SIGN=inValue.Cast< int >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sCommandArgs") ) { sCommandArgs=inValue.Cast< Array< int > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void PathParser_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("prev")); - outFields->push(HX_CSTRING("lastMoveY")); - outFields->push(HX_CSTRING("lastMoveX")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("sCommandArgs"), - HX_CSTRING("MOVE"), - HX_CSTRING("MOVER"), - HX_CSTRING("LINE"), - HX_CSTRING("LINER"), - HX_CSTRING("HLINE"), - HX_CSTRING("HLINER"), - HX_CSTRING("VLINE"), - HX_CSTRING("VLINER"), - HX_CSTRING("CUBIC"), - HX_CSTRING("CUBICR"), - HX_CSTRING("SCUBIC"), - HX_CSTRING("SCUBICR"), - HX_CSTRING("QUAD"), - HX_CSTRING("QUADR"), - HX_CSTRING("SQUAD"), - HX_CSTRING("SQUADR"), - HX_CSTRING("ARC"), - HX_CSTRING("ARCR"), - HX_CSTRING("CLOSE"), - HX_CSTRING("CLOSER"), - HX_CSTRING("UNKNOWN"), - HX_CSTRING("SEPARATOR"), - HX_CSTRING("FLOAT"), - HX_CSTRING("FLOAT_SIGN"), - HX_CSTRING("FLOAT_DOT"), - HX_CSTRING("FLOAT_EXP"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("createCommand"), - HX_CSTRING("prevCY"), - HX_CSTRING("prevCX"), - HX_CSTRING("prevY"), - HX_CSTRING("prevX"), - HX_CSTRING("commandArgs"), - HX_CSTRING("parse"), - HX_CSTRING("prev"), - HX_CSTRING("lastMoveY"), - HX_CSTRING("lastMoveX"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PathParser_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(PathParser_obj::sCommandArgs,"sCommandArgs"); - HX_MARK_MEMBER_NAME(PathParser_obj::MOVE,"MOVE"); - HX_MARK_MEMBER_NAME(PathParser_obj::MOVER,"MOVER"); - HX_MARK_MEMBER_NAME(PathParser_obj::LINE,"LINE"); - HX_MARK_MEMBER_NAME(PathParser_obj::LINER,"LINER"); - HX_MARK_MEMBER_NAME(PathParser_obj::HLINE,"HLINE"); - HX_MARK_MEMBER_NAME(PathParser_obj::HLINER,"HLINER"); - HX_MARK_MEMBER_NAME(PathParser_obj::VLINE,"VLINE"); - HX_MARK_MEMBER_NAME(PathParser_obj::VLINER,"VLINER"); - HX_MARK_MEMBER_NAME(PathParser_obj::CUBIC,"CUBIC"); - HX_MARK_MEMBER_NAME(PathParser_obj::CUBICR,"CUBICR"); - HX_MARK_MEMBER_NAME(PathParser_obj::SCUBIC,"SCUBIC"); - HX_MARK_MEMBER_NAME(PathParser_obj::SCUBICR,"SCUBICR"); - HX_MARK_MEMBER_NAME(PathParser_obj::QUAD,"QUAD"); - HX_MARK_MEMBER_NAME(PathParser_obj::QUADR,"QUADR"); - HX_MARK_MEMBER_NAME(PathParser_obj::SQUAD,"SQUAD"); - HX_MARK_MEMBER_NAME(PathParser_obj::SQUADR,"SQUADR"); - HX_MARK_MEMBER_NAME(PathParser_obj::ARC,"ARC"); - HX_MARK_MEMBER_NAME(PathParser_obj::ARCR,"ARCR"); - HX_MARK_MEMBER_NAME(PathParser_obj::CLOSE,"CLOSE"); - HX_MARK_MEMBER_NAME(PathParser_obj::CLOSER,"CLOSER"); - HX_MARK_MEMBER_NAME(PathParser_obj::UNKNOWN,"UNKNOWN"); - HX_MARK_MEMBER_NAME(PathParser_obj::SEPARATOR,"SEPARATOR"); - HX_MARK_MEMBER_NAME(PathParser_obj::FLOAT,"FLOAT"); - HX_MARK_MEMBER_NAME(PathParser_obj::FLOAT_SIGN,"FLOAT_SIGN"); - HX_MARK_MEMBER_NAME(PathParser_obj::FLOAT_DOT,"FLOAT_DOT"); - HX_MARK_MEMBER_NAME(PathParser_obj::FLOAT_EXP,"FLOAT_EXP"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PathParser_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(PathParser_obj::sCommandArgs,"sCommandArgs"); - HX_VISIT_MEMBER_NAME(PathParser_obj::MOVE,"MOVE"); - HX_VISIT_MEMBER_NAME(PathParser_obj::MOVER,"MOVER"); - HX_VISIT_MEMBER_NAME(PathParser_obj::LINE,"LINE"); - HX_VISIT_MEMBER_NAME(PathParser_obj::LINER,"LINER"); - HX_VISIT_MEMBER_NAME(PathParser_obj::HLINE,"HLINE"); - HX_VISIT_MEMBER_NAME(PathParser_obj::HLINER,"HLINER"); - HX_VISIT_MEMBER_NAME(PathParser_obj::VLINE,"VLINE"); - HX_VISIT_MEMBER_NAME(PathParser_obj::VLINER,"VLINER"); - HX_VISIT_MEMBER_NAME(PathParser_obj::CUBIC,"CUBIC"); - HX_VISIT_MEMBER_NAME(PathParser_obj::CUBICR,"CUBICR"); - HX_VISIT_MEMBER_NAME(PathParser_obj::SCUBIC,"SCUBIC"); - HX_VISIT_MEMBER_NAME(PathParser_obj::SCUBICR,"SCUBICR"); - HX_VISIT_MEMBER_NAME(PathParser_obj::QUAD,"QUAD"); - HX_VISIT_MEMBER_NAME(PathParser_obj::QUADR,"QUADR"); - HX_VISIT_MEMBER_NAME(PathParser_obj::SQUAD,"SQUAD"); - HX_VISIT_MEMBER_NAME(PathParser_obj::SQUADR,"SQUADR"); - HX_VISIT_MEMBER_NAME(PathParser_obj::ARC,"ARC"); - HX_VISIT_MEMBER_NAME(PathParser_obj::ARCR,"ARCR"); - HX_VISIT_MEMBER_NAME(PathParser_obj::CLOSE,"CLOSE"); - HX_VISIT_MEMBER_NAME(PathParser_obj::CLOSER,"CLOSER"); - HX_VISIT_MEMBER_NAME(PathParser_obj::UNKNOWN,"UNKNOWN"); - HX_VISIT_MEMBER_NAME(PathParser_obj::SEPARATOR,"SEPARATOR"); - HX_VISIT_MEMBER_NAME(PathParser_obj::FLOAT,"FLOAT"); - HX_VISIT_MEMBER_NAME(PathParser_obj::FLOAT_SIGN,"FLOAT_SIGN"); - HX_VISIT_MEMBER_NAME(PathParser_obj::FLOAT_DOT,"FLOAT_DOT"); - HX_VISIT_MEMBER_NAME(PathParser_obj::FLOAT_EXP,"FLOAT_EXP"); -}; - -Class PathParser_obj::__mClass; - -void PathParser_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.PathParser"), hx::TCanCast< PathParser_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void PathParser_obj::__boot() -{ - MOVE= HX_CSTRING("M").charCodeAt((int)0); - MOVER= HX_CSTRING("m").charCodeAt((int)0); - LINE= HX_CSTRING("L").charCodeAt((int)0); - LINER= HX_CSTRING("l").charCodeAt((int)0); - HLINE= HX_CSTRING("H").charCodeAt((int)0); - HLINER= HX_CSTRING("h").charCodeAt((int)0); - VLINE= HX_CSTRING("V").charCodeAt((int)0); - VLINER= HX_CSTRING("v").charCodeAt((int)0); - CUBIC= HX_CSTRING("C").charCodeAt((int)0); - CUBICR= HX_CSTRING("c").charCodeAt((int)0); - SCUBIC= HX_CSTRING("S").charCodeAt((int)0); - SCUBICR= HX_CSTRING("s").charCodeAt((int)0); - QUAD= HX_CSTRING("Q").charCodeAt((int)0); - QUADR= HX_CSTRING("q").charCodeAt((int)0); - SQUAD= HX_CSTRING("T").charCodeAt((int)0); - SQUADR= HX_CSTRING("t").charCodeAt((int)0); - ARC= HX_CSTRING("A").charCodeAt((int)0); - ARCR= HX_CSTRING("a").charCodeAt((int)0); - CLOSE= HX_CSTRING("Z").charCodeAt((int)0); - CLOSER= HX_CSTRING("z").charCodeAt((int)0); - UNKNOWN= (int)-1; - SEPARATOR= (int)-2; - FLOAT= (int)-3; - FLOAT_SIGN= (int)-4; - FLOAT_DOT= (int)-5; - FLOAT_EXP= (int)-6; -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/PathSegment.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/PathSegment.cpp deleted file mode 100644 index 8b74127..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/PathSegment.cpp +++ /dev/null @@ -1,256 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -namespace format{ -namespace svg{ - -Void PathSegment_obj::__construct(Float inX,Float inY) -{ -HX_STACK_PUSH("PathSegment::new","format/svg/PathSegment.hx",20); -{ - HX_STACK_LINE(21) - this->x = inX; - HX_STACK_LINE(22) - this->y = inY; -} -; - return null(); -} - -PathSegment_obj::~PathSegment_obj() { } - -Dynamic PathSegment_obj::__CreateEmpty() { return new PathSegment_obj; } -hx::ObjectPtr< PathSegment_obj > PathSegment_obj::__new(Float inX,Float inY) -{ hx::ObjectPtr< PathSegment_obj > result = new PathSegment_obj(); - result->__construct(inX,inY); - return result;} - -Dynamic PathSegment_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< PathSegment_obj > result = new PathSegment_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -Void PathSegment_obj::toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext){ -{ - HX_STACK_PUSH("PathSegment::toGfx","format/svg/PathSegment.hx",32); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(ioContext,"ioContext"); - HX_STACK_LINE(33) - ioContext->setLast(this->x,this->y); - HX_STACK_LINE(34) - ioContext->firstX = ioContext->lastX; - HX_STACK_LINE(35) - ioContext->firstY = ioContext->lastY; - HX_STACK_LINE(36) - inGfx->moveTo(ioContext->lastX,ioContext->lastY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(PathSegment_obj,toGfx,(void)) - -Float PathSegment_obj::prevCY( ){ - HX_STACK_PUSH("PathSegment::prevCY","format/svg/PathSegment.hx",29); - HX_STACK_THIS(this); - HX_STACK_LINE(29) - return this->y; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathSegment_obj,prevCY,return ) - -Float PathSegment_obj::prevCX( ){ - HX_STACK_PUSH("PathSegment::prevCX","format/svg/PathSegment.hx",28); - HX_STACK_THIS(this); - HX_STACK_LINE(28) - return this->x; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathSegment_obj,prevCX,return ) - -Float PathSegment_obj::prevY( ){ - HX_STACK_PUSH("PathSegment::prevY","format/svg/PathSegment.hx",27); - HX_STACK_THIS(this); - HX_STACK_LINE(27) - return this->y; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathSegment_obj,prevY,return ) - -Float PathSegment_obj::prevX( ){ - HX_STACK_PUSH("PathSegment::prevX","format/svg/PathSegment.hx",26); - HX_STACK_THIS(this); - HX_STACK_LINE(26) - return this->x; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathSegment_obj,prevX,return ) - -int PathSegment_obj::getType( ){ - HX_STACK_PUSH("PathSegment::getType","format/svg/PathSegment.hx",24); - HX_STACK_THIS(this); - HX_STACK_LINE(24) - return (int)0; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathSegment_obj,getType,return ) - -int PathSegment_obj::MOVE; - -int PathSegment_obj::DRAW; - -int PathSegment_obj::CURVE; - -int PathSegment_obj::CUBIC; - -int PathSegment_obj::ARC; - - -PathSegment_obj::PathSegment_obj() -{ -} - -void PathSegment_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(PathSegment); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_END_CLASS(); -} - -void PathSegment_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); -} - -Dynamic PathSegment_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 3: - if (HX_FIELD_EQ(inName,"ARC") ) { return ARC; } - break; - case 4: - if (HX_FIELD_EQ(inName,"MOVE") ) { return MOVE; } - if (HX_FIELD_EQ(inName,"DRAW") ) { return DRAW; } - break; - case 5: - if (HX_FIELD_EQ(inName,"CURVE") ) { return CURVE; } - if (HX_FIELD_EQ(inName,"CUBIC") ) { return CUBIC; } - if (HX_FIELD_EQ(inName,"toGfx") ) { return toGfx_dyn(); } - if (HX_FIELD_EQ(inName,"prevY") ) { return prevY_dyn(); } - if (HX_FIELD_EQ(inName,"prevX") ) { return prevX_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"prevCY") ) { return prevCY_dyn(); } - if (HX_FIELD_EQ(inName,"prevCX") ) { return prevCX_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic PathSegment_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"ARC") ) { ARC=inValue.Cast< int >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"MOVE") ) { MOVE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DRAW") ) { DRAW=inValue.Cast< int >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"CURVE") ) { CURVE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"CUBIC") ) { CUBIC=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void PathSegment_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("MOVE"), - HX_CSTRING("DRAW"), - HX_CSTRING("CURVE"), - HX_CSTRING("CUBIC"), - HX_CSTRING("ARC"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toGfx"), - HX_CSTRING("prevCY"), - HX_CSTRING("prevCX"), - HX_CSTRING("prevY"), - HX_CSTRING("prevX"), - HX_CSTRING("getType"), - HX_CSTRING("y"), - HX_CSTRING("x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PathSegment_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(PathSegment_obj::MOVE,"MOVE"); - HX_MARK_MEMBER_NAME(PathSegment_obj::DRAW,"DRAW"); - HX_MARK_MEMBER_NAME(PathSegment_obj::CURVE,"CURVE"); - HX_MARK_MEMBER_NAME(PathSegment_obj::CUBIC,"CUBIC"); - HX_MARK_MEMBER_NAME(PathSegment_obj::ARC,"ARC"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PathSegment_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(PathSegment_obj::MOVE,"MOVE"); - HX_VISIT_MEMBER_NAME(PathSegment_obj::DRAW,"DRAW"); - HX_VISIT_MEMBER_NAME(PathSegment_obj::CURVE,"CURVE"); - HX_VISIT_MEMBER_NAME(PathSegment_obj::CUBIC,"CUBIC"); - HX_VISIT_MEMBER_NAME(PathSegment_obj::ARC,"ARC"); -}; - -Class PathSegment_obj::__mClass; - -void PathSegment_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.PathSegment"), hx::TCanCast< PathSegment_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void PathSegment_obj::__boot() -{ - MOVE= (int)1; - DRAW= (int)2; - CURVE= (int)3; - CUBIC= (int)4; - ARC= (int)5; -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/QuadraticSegment.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/QuadraticSegment.cpp deleted file mode 100644 index ae5c7e6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/QuadraticSegment.cpp +++ /dev/null @@ -1,177 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_QuadraticSegment -#include -#endif -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -namespace format{ -namespace svg{ - -Void QuadraticSegment_obj::__construct(Float inCX,Float inCY,Float inX,Float inY) -{ -HX_STACK_PUSH("QuadraticSegment::new","format/svg/PathSegment.hx",66); -{ - HX_STACK_LINE(67) - super::__construct(inX,inY); - HX_STACK_LINE(68) - this->cx = inCX; - HX_STACK_LINE(69) - this->cy = inCY; -} -; - return null(); -} - -QuadraticSegment_obj::~QuadraticSegment_obj() { } - -Dynamic QuadraticSegment_obj::__CreateEmpty() { return new QuadraticSegment_obj; } -hx::ObjectPtr< QuadraticSegment_obj > QuadraticSegment_obj::__new(Float inCX,Float inCY,Float inX,Float inY) -{ hx::ObjectPtr< QuadraticSegment_obj > result = new QuadraticSegment_obj(); - result->__construct(inCX,inCY,inX,inY); - return result;} - -Dynamic QuadraticSegment_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< QuadraticSegment_obj > result = new QuadraticSegment_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -int QuadraticSegment_obj::getType( ){ - HX_STACK_PUSH("QuadraticSegment::getType","format/svg/PathSegment.hx",82); - HX_STACK_THIS(this); - HX_STACK_LINE(82) - return (int)3; -} - - -Void QuadraticSegment_obj::toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext){ -{ - HX_STACK_PUSH("QuadraticSegment::toGfx","format/svg/PathSegment.hx",76); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(ioContext,"ioContext"); - HX_STACK_LINE(77) - ioContext->setLast(this->x,this->y); - HX_STACK_LINE(78) - inGfx->curveTo(ioContext->transX(this->cx,this->cy),ioContext->transY(this->cx,this->cy),ioContext->lastX,ioContext->lastY); - } -return null(); -} - - -Float QuadraticSegment_obj::prevCY( ){ - HX_STACK_PUSH("QuadraticSegment::prevCY","format/svg/PathSegment.hx",73); - HX_STACK_THIS(this); - HX_STACK_LINE(73) - return this->cy; -} - - -Float QuadraticSegment_obj::prevCX( ){ - HX_STACK_PUSH("QuadraticSegment::prevCX","format/svg/PathSegment.hx",72); - HX_STACK_THIS(this); - HX_STACK_LINE(72) - return this->cx; -} - - - -QuadraticSegment_obj::QuadraticSegment_obj() -{ -} - -void QuadraticSegment_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(QuadraticSegment); - HX_MARK_MEMBER_NAME(cy,"cy"); - HX_MARK_MEMBER_NAME(cx,"cx"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void QuadraticSegment_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(cy,"cy"); - HX_VISIT_MEMBER_NAME(cx,"cx"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic QuadraticSegment_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"cy") ) { return cy; } - if (HX_FIELD_EQ(inName,"cx") ) { return cx; } - break; - case 5: - if (HX_FIELD_EQ(inName,"toGfx") ) { return toGfx_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"prevCY") ) { return prevCY_dyn(); } - if (HX_FIELD_EQ(inName,"prevCX") ) { return prevCX_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic QuadraticSegment_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"cy") ) { cy=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"cx") ) { cx=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void QuadraticSegment_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("cy")); - outFields->push(HX_CSTRING("cx")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - HX_CSTRING("toGfx"), - HX_CSTRING("prevCY"), - HX_CSTRING("prevCX"), - HX_CSTRING("cy"), - HX_CSTRING("cx"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(QuadraticSegment_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(QuadraticSegment_obj::__mClass,"__mClass"); -}; - -Class QuadraticSegment_obj::__mClass; - -void QuadraticSegment_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.QuadraticSegment"), hx::TCanCast< QuadraticSegment_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void QuadraticSegment_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/RenderContext.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/RenderContext.cpp deleted file mode 100644 index b5f1377..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/RenderContext.cpp +++ /dev/null @@ -1,246 +0,0 @@ -#include - -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -namespace format{ -namespace svg{ - -Void RenderContext_obj::__construct(::neash::geom::Matrix inMatrix,::neash::geom::Rectangle inRect,Dynamic inW,Dynamic inH) -{ -HX_STACK_PUSH("RenderContext::new","format/svg/RenderContext.hx",9); -{ - HX_STACK_LINE(10) - this->matrix = inMatrix; - HX_STACK_LINE(11) - this->rect = inRect; - HX_STACK_LINE(12) - this->rectW = ( (((inW != null()))) ? Dynamic(inW) : Dynamic(( (((inRect != null()))) ? Float(inRect->width) : Float((int)1) )) ); - HX_STACK_LINE(13) - this->rectH = ( (((inH != null()))) ? Dynamic(inH) : Dynamic(( (((inRect != null()))) ? Float(inRect->height) : Float((int)1) )) ); - HX_STACK_LINE(14) - this->firstX = (int)0; - HX_STACK_LINE(15) - this->firstY = (int)0; - HX_STACK_LINE(16) - this->lastX = (int)0; - HX_STACK_LINE(17) - this->lastY = (int)0; -} -; - return null(); -} - -RenderContext_obj::~RenderContext_obj() { } - -Dynamic RenderContext_obj::__CreateEmpty() { return new RenderContext_obj; } -hx::ObjectPtr< RenderContext_obj > RenderContext_obj::__new(::neash::geom::Matrix inMatrix,::neash::geom::Rectangle inRect,Dynamic inW,Dynamic inH) -{ hx::ObjectPtr< RenderContext_obj > result = new RenderContext_obj(); - result->__construct(inMatrix,inRect,inW,inH); - return result;} - -Dynamic RenderContext_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< RenderContext_obj > result = new RenderContext_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -Void RenderContext_obj::setLast( Float inX,Float inY){ -{ - HX_STACK_PUSH("RenderContext::setLast","format/svg/RenderContext.hx",44); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(45) - this->lastX = this->transX(inX,inY); - HX_STACK_LINE(46) - this->lastY = this->transY(inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(RenderContext_obj,setLast,(void)) - -Float RenderContext_obj::transY( Float inX,Float inY){ - HX_STACK_PUSH("RenderContext::transY","format/svg/RenderContext.hx",31); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(32) - if (((bool((this->rect != null())) && bool((inY > this->rect->y))))){ - HX_STACK_LINE(33) - if (((inY > this->rect->nmeGetRight()))){ - HX_STACK_LINE(35) - hx::AddEq(inY,(this->rectH - this->rect->height)); - } - else{ - HX_STACK_LINE(37) - inY = (this->rect->y + (Float((this->rectH * ((inY - this->rect->y)))) / Float(this->rect->height))); - } - } - HX_STACK_LINE(39) - return (((inX * this->matrix->b) + (inY * this->matrix->d)) + this->matrix->ty); -} - - -HX_DEFINE_DYNAMIC_FUNC2(RenderContext_obj,transY,return ) - -Float RenderContext_obj::transX( Float inX,Float inY){ - HX_STACK_PUSH("RenderContext::transX","format/svg/RenderContext.hx",20); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(21) - if (((bool((this->rect != null())) && bool((inX > this->rect->x))))){ - HX_STACK_LINE(22) - if (((inX > this->rect->nmeGetRight()))){ - HX_STACK_LINE(24) - hx::AddEq(inX,(this->rectW - this->rect->width)); - } - else{ - HX_STACK_LINE(26) - inX = (this->rect->x + (Float((this->rectW * ((inX - this->rect->x)))) / Float(this->rect->width))); - } - } - HX_STACK_LINE(28) - return (((inX * this->matrix->a) + (inY * this->matrix->c)) + this->matrix->tx); -} - - -HX_DEFINE_DYNAMIC_FUNC2(RenderContext_obj,transX,return ) - - -RenderContext_obj::RenderContext_obj() -{ -} - -void RenderContext_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(RenderContext); - HX_MARK_MEMBER_NAME(lastY,"lastY"); - HX_MARK_MEMBER_NAME(lastX,"lastX"); - HX_MARK_MEMBER_NAME(firstY,"firstY"); - HX_MARK_MEMBER_NAME(firstX,"firstX"); - HX_MARK_MEMBER_NAME(rectH,"rectH"); - HX_MARK_MEMBER_NAME(rectW,"rectW"); - HX_MARK_MEMBER_NAME(rect,"rect"); - HX_MARK_MEMBER_NAME(matrix,"matrix"); - HX_MARK_END_CLASS(); -} - -void RenderContext_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(lastY,"lastY"); - HX_VISIT_MEMBER_NAME(lastX,"lastX"); - HX_VISIT_MEMBER_NAME(firstY,"firstY"); - HX_VISIT_MEMBER_NAME(firstX,"firstX"); - HX_VISIT_MEMBER_NAME(rectH,"rectH"); - HX_VISIT_MEMBER_NAME(rectW,"rectW"); - HX_VISIT_MEMBER_NAME(rect,"rect"); - HX_VISIT_MEMBER_NAME(matrix,"matrix"); -} - -Dynamic RenderContext_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"rect") ) { return rect; } - break; - case 5: - if (HX_FIELD_EQ(inName,"lastY") ) { return lastY; } - if (HX_FIELD_EQ(inName,"lastX") ) { return lastX; } - if (HX_FIELD_EQ(inName,"rectH") ) { return rectH; } - if (HX_FIELD_EQ(inName,"rectW") ) { return rectW; } - break; - case 6: - if (HX_FIELD_EQ(inName,"firstY") ) { return firstY; } - if (HX_FIELD_EQ(inName,"firstX") ) { return firstX; } - if (HX_FIELD_EQ(inName,"matrix") ) { return matrix; } - if (HX_FIELD_EQ(inName,"transY") ) { return transY_dyn(); } - if (HX_FIELD_EQ(inName,"transX") ) { return transX_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"setLast") ) { return setLast_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic RenderContext_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"rect") ) { rect=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"lastY") ) { lastY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"lastX") ) { lastX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"rectH") ) { rectH=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"rectW") ) { rectW=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"firstY") ) { firstY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"firstX") ) { firstX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"matrix") ) { matrix=inValue.Cast< ::neash::geom::Matrix >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void RenderContext_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("lastY")); - outFields->push(HX_CSTRING("lastX")); - outFields->push(HX_CSTRING("firstY")); - outFields->push(HX_CSTRING("firstX")); - outFields->push(HX_CSTRING("rectH")); - outFields->push(HX_CSTRING("rectW")); - outFields->push(HX_CSTRING("rect")); - outFields->push(HX_CSTRING("matrix")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("lastY"), - HX_CSTRING("lastX"), - HX_CSTRING("firstY"), - HX_CSTRING("firstX"), - HX_CSTRING("rectH"), - HX_CSTRING("rectW"), - HX_CSTRING("rect"), - HX_CSTRING("matrix"), - HX_CSTRING("setLast"), - HX_CSTRING("transY"), - HX_CSTRING("transX"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(RenderContext_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(RenderContext_obj::__mClass,"__mClass"); -}; - -Class RenderContext_obj::__mClass; - -void RenderContext_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.RenderContext"), hx::TCanCast< RenderContext_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void RenderContext_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/SVGData.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/SVGData.cpp deleted file mode 100644 index ed0be67..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/SVGData.cpp +++ /dev/null @@ -1,1154 +0,0 @@ -#include - -#ifndef INCLUDED_EReg -#include -#endif -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_svg_DisplayElement -#include -#endif -#ifndef INCLUDED_format_svg_DrawSegment -#include -#endif -#ifndef INCLUDED_format_svg_FillType -#include -#endif -#ifndef INCLUDED_format_svg_Grad -#include -#endif -#ifndef INCLUDED_format_svg_Group -#include -#endif -#ifndef INCLUDED_format_svg_MoveSegment -#include -#endif -#ifndef INCLUDED_format_svg_Path -#include -#endif -#ifndef INCLUDED_format_svg_PathParser -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_QuadraticSegment -#include -#endif -#ifndef INCLUDED_format_svg_SVGData -#include -#endif -#ifndef INCLUDED_format_svg_Text -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -#ifndef INCLUDED_neash_display_GradientType -#include -#endif -#ifndef INCLUDED_neash_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -#ifndef INCLUDED_neash_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace format{ -namespace svg{ - -Void SVGData_obj::__construct(::Xml inXML,hx::Null< bool > __o_inConvertCubics) -{ -HX_STACK_PUSH("SVGData::new","format/svg/SVGData.hx",42); -bool inConvertCubics = __o_inConvertCubics.Default(false); -{ - HX_STACK_LINE(44) - super::__construct(); - HX_STACK_LINE(46) - ::Xml svg = inXML->firstElement(); HX_STACK_VAR(svg,"svg"); - HX_STACK_LINE(48) - if (((bool((svg == null())) || bool((bool((svg->getNodeName() != HX_CSTRING("svg"))) && bool((svg->getNodeName() != HX_CSTRING("svg:svg")))))))){ - HX_STACK_LINE(49) - hx::Throw (((HX_CSTRING("Not an SVG file (") + (( (((svg == null()))) ? ::String(HX_CSTRING("null")) : ::String(svg->getNodeName()) ))) + HX_CSTRING(")"))); - } - HX_STACK_LINE(51) - this->mGrads = ::Hash_obj::__new(); - HX_STACK_LINE(52) - this->mPathParser = ::format::svg::PathParser_obj::__new(); - HX_STACK_LINE(53) - this->mConvertCubics = inConvertCubics; - HX_STACK_LINE(55) - this->width = this->getFloatStyle(HX_CSTRING("width"),svg,null(),0.0); - HX_STACK_LINE(56) - this->height = this->getFloatStyle(HX_CSTRING("height"),svg,null(),0.0); - HX_STACK_LINE(58) - if (((bool((this->width == (int)0)) && bool((this->height == (int)0))))){ - HX_STACK_LINE(59) - this->width = this->height = (int)400; - } - else{ - HX_STACK_LINE(60) - if (((this->width == (int)0))){ - HX_STACK_LINE(61) - this->width = this->height; - } - else{ - HX_STACK_LINE(62) - if (((this->height == (int)0))){ - HX_STACK_LINE(63) - this->height = this->width; - } - } - } - HX_STACK_LINE(65) - this->loadGroup(hx::ObjectPtr(this),svg,::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()),null()); -} -; - return null(); -} - -SVGData_obj::~SVGData_obj() { } - -Dynamic SVGData_obj::__CreateEmpty() { return new SVGData_obj; } -hx::ObjectPtr< SVGData_obj > SVGData_obj::__new(::Xml inXML,hx::Null< bool > __o_inConvertCubics) -{ hx::ObjectPtr< SVGData_obj > result = new SVGData_obj(); - result->__construct(inXML,__o_inConvertCubics); - return result;} - -Dynamic SVGData_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SVGData_obj > result = new SVGData_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::format::svg::Text SVGData_obj::loadText( ::Xml inText,::neash::geom::Matrix matrix,::Hash inStyles){ - HX_STACK_PUSH("SVGData::loadText","format/svg/SVGData.hx",590); - HX_STACK_THIS(this); - HX_STACK_ARG(inText,"inText"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_LINE(592) - if ((inText->exists(HX_CSTRING("transform")))){ - HX_STACK_LINE(594) - matrix = matrix->clone(); - HX_STACK_LINE(595) - this->applyTransform(matrix,inText->get(HX_CSTRING("transform"))); - } - HX_STACK_LINE(599) - ::Hash styles = this->getStyles(inText,inStyles); HX_STACK_VAR(styles,"styles"); - HX_STACK_LINE(600) - ::format::svg::Text text = ::format::svg::Text_obj::__new(); HX_STACK_VAR(text,"text"); - HX_STACK_LINE(602) - text->matrix = matrix; - HX_STACK_LINE(603) - text->name = ( ((inText->exists(HX_CSTRING("id")))) ? ::String(inText->get(HX_CSTRING("id"))) : ::String(HX_CSTRING("")) ); - HX_STACK_LINE(604) - text->x = this->getFloat(inText,HX_CSTRING("x"),0.0); - HX_STACK_LINE(605) - text->y = this->getFloat(inText,HX_CSTRING("y"),0.0); - HX_STACK_LINE(606) - text->fill = this->getFillStyle(HX_CSTRING("fill"),inText,styles); - HX_STACK_LINE(607) - text->fill_alpha = this->getFloatStyle(HX_CSTRING("fill-opacity"),inText,styles,1.0); - HX_STACK_LINE(608) - text->stroke_alpha = this->getFloatStyle(HX_CSTRING("stroke-opacity"),inText,styles,1.0); - HX_STACK_LINE(609) - text->stroke_colour = this->getStrokeStyle(HX_CSTRING("stroke"),inText,styles,null()); - HX_STACK_LINE(610) - text->stroke_width = this->getFloatStyle(HX_CSTRING("stroke-width"),inText,styles,1.0); - HX_STACK_LINE(611) - text->font_family = this->getStyle(HX_CSTRING("font-family"),inText,styles,HX_CSTRING("")); - HX_STACK_LINE(612) - text->font_size = this->getFloatStyle(HX_CSTRING("font-size"),inText,styles,(int)12); - HX_STACK_LINE(613) - text->letter_spacing = this->getFloatStyle(HX_CSTRING("letter-spacing"),inText,styles,(int)0); - HX_STACK_LINE(614) - text->kerning = this->getFloatStyle(HX_CSTRING("kerning"),inText,styles,(int)0); - HX_STACK_LINE(616) - ::String string = HX_CSTRING(""); HX_STACK_VAR(string,"string"); - HX_STACK_LINE(618) - for(::cpp::FastIterator_obj< ::Xml > *__it = ::cpp::CreateFastIterator< ::Xml >(inText->elements()); __it->hasNext(); ){ - ::Xml el = __it->next(); - hx::AddEq(string,el->toString()); - } - HX_STACK_LINE(625) - text->text = string; - HX_STACK_LINE(626) - return text; -} - - -HX_DEFINE_DYNAMIC_FUNC3(SVGData_obj,loadText,return ) - -::format::svg::Path SVGData_obj::loadPath( ::Xml inPath,::neash::geom::Matrix matrix,::Hash inStyles,bool inIsRect,bool inIsEllipse){ - HX_STACK_PUSH("SVGData::loadPath","format/svg/SVGData.hx",488); - HX_STACK_THIS(this); - HX_STACK_ARG(inPath,"inPath"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_ARG(inIsRect,"inIsRect"); - HX_STACK_ARG(inIsEllipse,"inIsEllipse"); - HX_STACK_LINE(490) - if ((inPath->exists(HX_CSTRING("transform")))){ - HX_STACK_LINE(492) - matrix = matrix->clone(); - HX_STACK_LINE(493) - this->applyTransform(matrix,inPath->get(HX_CSTRING("transform"))); - } - HX_STACK_LINE(497) - ::Hash styles = this->getStyles(inPath,inStyles); HX_STACK_VAR(styles,"styles"); - HX_STACK_LINE(498) - ::String name = ( ((inPath->exists(HX_CSTRING("id")))) ? ::String(inPath->get(HX_CSTRING("id"))) : ::String(HX_CSTRING("")) ); HX_STACK_VAR(name,"name"); - HX_STACK_LINE(499) - ::format::svg::Path path = ::format::svg::Path_obj::__new(); HX_STACK_VAR(path,"path"); - HX_STACK_LINE(501) - path->fill = this->getFillStyle(HX_CSTRING("fill"),inPath,styles); - HX_STACK_LINE(502) - path->fill_alpha = this->getFloatStyle(HX_CSTRING("fill-opacity"),inPath,styles,1.0); - HX_STACK_LINE(503) - path->stroke_alpha = this->getFloatStyle(HX_CSTRING("stroke-opacity"),inPath,styles,1.0); - HX_STACK_LINE(504) - path->stroke_colour = this->getStrokeStyle(HX_CSTRING("stroke"),inPath,styles,null()); - HX_STACK_LINE(505) - path->stroke_width = this->getFloatStyle(HX_CSTRING("stroke-width"),inPath,styles,1.0); - HX_STACK_LINE(506) - path->stroke_caps = ::neash::display::CapsStyle_obj::ROUND_dyn(); - HX_STACK_LINE(507) - path->joint_style = ::neash::display::JointStyle_obj::ROUND_dyn(); - HX_STACK_LINE(508) - path->miter_limit = this->getFloatStyle(HX_CSTRING("stroke-miterlimit"),inPath,styles,3.0); - HX_STACK_LINE(509) - path->segments = Array_obj< ::format::svg::PathSegment >::__new(); - HX_STACK_LINE(510) - path->matrix = matrix; - HX_STACK_LINE(511) - path->name = name; - HX_STACK_LINE(513) - if ((inIsRect)){ - HX_STACK_LINE(515) - Float x = ( ((inPath->exists(HX_CSTRING("x")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("x")))) : Float((int)0) ); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(516) - Float y = ( ((inPath->exists(HX_CSTRING("y")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("y")))) : Float((int)0) ); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(517) - Float w = ::Std_obj::parseFloat(inPath->get(HX_CSTRING("width"))); HX_STACK_VAR(w,"w"); - HX_STACK_LINE(518) - Float h = ::Std_obj::parseFloat(inPath->get(HX_CSTRING("height"))); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(519) - Float rx = ( ((inPath->exists(HX_CSTRING("rx")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("rx")))) : Float(0.0) ); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(520) - Float ry = ( ((inPath->exists(HX_CSTRING("ry")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("ry")))) : Float(0.0) ); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(522) - if (((bool((rx == (int)0)) || bool((ry == (int)0))))){ - HX_STACK_LINE(524) - path->segments->push(::format::svg::MoveSegment_obj::__new(x,y)); - HX_STACK_LINE(525) - path->segments->push(::format::svg::DrawSegment_obj::__new((x + w),y)); - HX_STACK_LINE(526) - path->segments->push(::format::svg::DrawSegment_obj::__new((x + w),(y + h))); - HX_STACK_LINE(527) - path->segments->push(::format::svg::DrawSegment_obj::__new(x,(y + h))); - HX_STACK_LINE(528) - path->segments->push(::format::svg::DrawSegment_obj::__new(x,y)); - } - else{ - HX_STACK_LINE(532) - path->segments->push(::format::svg::MoveSegment_obj::__new(x,(y + ry))); - HX_STACK_LINE(535) - path->segments->push(::format::svg::QuadraticSegment_obj::__new(x,y,(x + rx),y)); - HX_STACK_LINE(536) - path->segments->push(::format::svg::DrawSegment_obj::__new(((x + w) - rx),y)); - HX_STACK_LINE(539) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x + w),y,(x + w),(y + rx))); - HX_STACK_LINE(540) - path->segments->push(::format::svg::DrawSegment_obj::__new((x + w),((y + h) - ry))); - HX_STACK_LINE(543) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x + w),(y + h),((x + w) - rx),(y + h))); - HX_STACK_LINE(544) - path->segments->push(::format::svg::DrawSegment_obj::__new((x + rx),(y + h))); - HX_STACK_LINE(547) - path->segments->push(::format::svg::QuadraticSegment_obj::__new(x,(y + h),x,((y + h) - ry))); - HX_STACK_LINE(548) - path->segments->push(::format::svg::DrawSegment_obj::__new(x,(y + ry))); - } - } - else{ - HX_STACK_LINE(552) - if ((inIsEllipse)){ - HX_STACK_LINE(554) - Float x = ( ((inPath->exists(HX_CSTRING("cx")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("cx")))) : Float((int)0) ); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(555) - Float y = ( ((inPath->exists(HX_CSTRING("cy")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("cy")))) : Float((int)0) ); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(556) - Float w = ( ((inPath->exists(HX_CSTRING("rx")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("rx")))) : Float(0.0) ); HX_STACK_VAR(w,"w"); - HX_STACK_LINE(557) - Float w_ = (w * ::format::svg::SVGData_obj::SIN45); HX_STACK_VAR(w_,"w_"); - HX_STACK_LINE(558) - Float cw_ = (w * ::format::svg::SVGData_obj::TAN22); HX_STACK_VAR(cw_,"cw_"); - HX_STACK_LINE(559) - Float h = ( ((inPath->exists(HX_CSTRING("ry")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("ry")))) : Float(0.0) ); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(560) - Float h_ = (h * ::format::svg::SVGData_obj::SIN45); HX_STACK_VAR(h_,"h_"); - HX_STACK_LINE(561) - Float ch_ = (h * ::format::svg::SVGData_obj::TAN22); HX_STACK_VAR(ch_,"ch_"); - HX_STACK_LINE(563) - path->segments->push(::format::svg::MoveSegment_obj::__new((x + w),y)); - HX_STACK_LINE(564) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x + w),(y + ch_),(x + w_),(y + h_))); - HX_STACK_LINE(565) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x + cw_),(y + h),x,(y + h))); - HX_STACK_LINE(566) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x - cw_),(y + h),(x - w_),(y + h_))); - HX_STACK_LINE(567) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x - w),(y + ch_),(x - w),y)); - HX_STACK_LINE(568) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x - w),(y - ch_),(x - w_),(y - h_))); - HX_STACK_LINE(569) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x - cw_),(y - h),x,(y - h))); - HX_STACK_LINE(570) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x + cw_),(y - h),(x + w_),(y - h_))); - HX_STACK_LINE(571) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x + w),(y - ch_),(x + w),y)); - } - else{ - HX_STACK_LINE(575) - ::String d = ( ((inPath->exists(HX_CSTRING("points")))) ? ::String(((HX_CSTRING("M") + inPath->get(HX_CSTRING("points"))) + HX_CSTRING("z"))) : ::String(inPath->get(HX_CSTRING("d"))) ); HX_STACK_VAR(d,"d"); - HX_STACK_LINE(577) - { - HX_STACK_LINE(577) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::format::svg::PathSegment > _g1 = this->mPathParser->parse(d,this->mConvertCubics); HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(577) - while(((_g < _g1->length))){ - HX_STACK_LINE(577) - ::format::svg::PathSegment segment = _g1->__get(_g); HX_STACK_VAR(segment,"segment"); - HX_STACK_LINE(577) - ++(_g); - HX_STACK_LINE(579) - path->segments->push(segment); - } - } - } - } - HX_STACK_LINE(585) - return path; -} - - -HX_DEFINE_DYNAMIC_FUNC5(SVGData_obj,loadPath,return ) - -::format::svg::Group SVGData_obj::loadGroup( ::format::svg::Group g,::Xml inG,::neash::geom::Matrix matrix,::Hash inStyles){ - HX_STACK_PUSH("SVGData::loadGroup","format/svg/SVGData.hx",416); - HX_STACK_THIS(this); - HX_STACK_ARG(g,"g"); - HX_STACK_ARG(inG,"inG"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_LINE(418) - if ((inG->exists(HX_CSTRING("transform")))){ - HX_STACK_LINE(420) - matrix = matrix->clone(); - HX_STACK_LINE(421) - this->applyTransform(matrix,inG->get(HX_CSTRING("transform"))); - } - HX_STACK_LINE(425) - if ((inG->exists(HX_CSTRING("inkscape:label")))){ - HX_STACK_LINE(425) - g->name = inG->get(HX_CSTRING("inkscape:label")); - } - else{ - HX_STACK_LINE(429) - if ((inG->exists(HX_CSTRING("id")))){ - HX_STACK_LINE(429) - g->name = inG->get(HX_CSTRING("id")); - } - } - HX_STACK_LINE(435) - ::Hash styles = this->getStyles(inG,inStyles); HX_STACK_VAR(styles,"styles"); - HX_STACK_LINE(437) - for(::cpp::FastIterator_obj< ::Xml > *__it = ::cpp::CreateFastIterator< ::Xml >(inG->elements()); __it->hasNext(); ){ - ::Xml el = __it->next(); - { - HX_STACK_LINE(439) - ::String name = el->getNodeName(); HX_STACK_VAR(name,"name"); - HX_STACK_LINE(441) - if (((name.substr((int)0,(int)4) == HX_CSTRING("svg:")))){ - HX_STACK_LINE(441) - name = name.substr((int)4,null()); - } - HX_STACK_LINE(447) - if (((name == HX_CSTRING("defs")))){ - HX_STACK_LINE(447) - this->loadDefs(el); - } - else{ - HX_STACK_LINE(451) - if (((name == HX_CSTRING("g")))){ - HX_STACK_LINE(451) - g->children->push(::format::svg::DisplayElement_obj::DisplayGroup(this->loadGroup(::format::svg::Group_obj::__new(),el,matrix,styles))); - } - else{ - HX_STACK_LINE(455) - if (((name == HX_CSTRING("path")))){ - HX_STACK_LINE(455) - g->children->push(::format::svg::DisplayElement_obj::DisplayPath(this->loadPath(el,matrix,styles,false,false))); - } - else{ - HX_STACK_LINE(459) - if (((name == HX_CSTRING("rect")))){ - HX_STACK_LINE(459) - g->children->push(::format::svg::DisplayElement_obj::DisplayPath(this->loadPath(el,matrix,styles,true,false))); - } - else{ - HX_STACK_LINE(463) - if (((name == HX_CSTRING("polygon")))){ - HX_STACK_LINE(463) - g->children->push(::format::svg::DisplayElement_obj::DisplayPath(this->loadPath(el,matrix,styles,false,false))); - } - else{ - HX_STACK_LINE(467) - if (((name == HX_CSTRING("ellipse")))){ - HX_STACK_LINE(467) - g->children->push(::format::svg::DisplayElement_obj::DisplayPath(this->loadPath(el,matrix,styles,false,true))); - } - else{ - HX_STACK_LINE(471) - if (((name == HX_CSTRING("text")))){ - HX_STACK_LINE(471) - g->children->push(::format::svg::DisplayElement_obj::DisplayText(this->loadText(el,matrix,styles))); - } - else{ - } - } - } - } - } - } - } - } -; - } - HX_STACK_LINE(483) - return g; -} - - -HX_DEFINE_DYNAMIC_FUNC4(SVGData_obj,loadGroup,return ) - -Void SVGData_obj::loadGradient( ::Xml inGrad,::neash::display::GradientType inType,bool inCrossLink){ -{ - HX_STACK_PUSH("SVGData::loadGradient","format/svg/SVGData.hx",343); - HX_STACK_THIS(this); - HX_STACK_ARG(inGrad,"inGrad"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(inCrossLink,"inCrossLink"); - HX_STACK_LINE(345) - ::String name = inGrad->get(HX_CSTRING("id")); HX_STACK_VAR(name,"name"); - HX_STACK_LINE(346) - ::format::svg::Grad grad = ::format::svg::Grad_obj::__new(inType); HX_STACK_VAR(grad,"grad"); - HX_STACK_LINE(348) - if (((bool(inCrossLink) && bool(inGrad->exists(HX_CSTRING("xlink:href")))))){ - HX_STACK_LINE(350) - ::String xlink = inGrad->get(HX_CSTRING("xlink:href")); HX_STACK_VAR(xlink,"xlink"); - HX_STACK_LINE(352) - if (((xlink.charAt((int)0) != HX_CSTRING("#")))){ - HX_STACK_LINE(353) - hx::Throw ((HX_CSTRING("xlink - unkown syntax : ") + xlink)); - } - HX_STACK_LINE(355) - ::format::svg::Grad base = this->mGrads->get(xlink.substr((int)1,null())); HX_STACK_VAR(base,"base"); - HX_STACK_LINE(357) - if (((base != null()))){ - HX_STACK_LINE(359) - grad->colors = base->colors; - HX_STACK_LINE(360) - grad->alphas = base->alphas; - HX_STACK_LINE(361) - grad->ratios = base->ratios; - HX_STACK_LINE(362) - grad->gradMatrix = base->gradMatrix->clone(); - HX_STACK_LINE(363) - grad->spread = base->spread; - HX_STACK_LINE(364) - grad->interp = base->interp; - HX_STACK_LINE(365) - grad->radius = base->radius; - } - else{ - HX_STACK_LINE(367) - hx::Throw ((HX_CSTRING("Unknown xlink : ") + xlink)); - } - } - HX_STACK_LINE(375) - if ((inGrad->exists(HX_CSTRING("x1")))){ - HX_STACK_LINE(377) - grad->x1 = this->getFloat(inGrad,HX_CSTRING("x1"),null()); - HX_STACK_LINE(378) - grad->y1 = this->getFloat(inGrad,HX_CSTRING("y1"),null()); - HX_STACK_LINE(379) - grad->x2 = this->getFloat(inGrad,HX_CSTRING("x2"),null()); - HX_STACK_LINE(380) - grad->y2 = this->getFloat(inGrad,HX_CSTRING("y2"),null()); - } - else{ - HX_STACK_LINE(384) - grad->x1 = this->getFloat(inGrad,HX_CSTRING("cx"),null()); - HX_STACK_LINE(385) - grad->y1 = this->getFloat(inGrad,HX_CSTRING("cy"),null()); - HX_STACK_LINE(386) - grad->x2 = this->getFloat(inGrad,HX_CSTRING("fx"),grad->x1); - HX_STACK_LINE(387) - grad->y2 = this->getFloat(inGrad,HX_CSTRING("fy"),grad->y1); - } - HX_STACK_LINE(391) - grad->radius = this->getFloat(inGrad,HX_CSTRING("r"),null()); - HX_STACK_LINE(393) - if ((inGrad->exists(HX_CSTRING("gradientTransform")))){ - HX_STACK_LINE(393) - this->applyTransform(grad->gradMatrix,inGrad->get(HX_CSTRING("gradientTransform"))); - } - HX_STACK_LINE(401) - for(::cpp::FastIterator_obj< ::Xml > *__it = ::cpp::CreateFastIterator< ::Xml >(inGrad->elements()); __it->hasNext(); ){ - ::Xml stop = __it->next(); - { - HX_STACK_LINE(403) - ::Hash styles = this->getStyles(stop,null()); HX_STACK_VAR(styles,"styles"); - HX_STACK_LINE(405) - grad->colors->push(this->getColorStyle(HX_CSTRING("stop-color"),stop,styles,(int)0)); - HX_STACK_LINE(406) - grad->alphas->push(this->getFloatStyle(HX_CSTRING("stop-opacity"),stop,styles,1.0)); - HX_STACK_LINE(407) - grad->ratios->push(::Std_obj::_int((::Std_obj::parseFloat(stop->get(HX_CSTRING("offset"))) * 255.0))); - } -; - } - HX_STACK_LINE(411) - this->mGrads->set(name,grad); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(SVGData_obj,loadGradient,(void)) - -Void SVGData_obj::loadDefs( ::Xml inXML){ -{ - HX_STACK_PUSH("SVGData::loadDefs","format/svg/SVGData.hx",310); - HX_STACK_THIS(this); - HX_STACK_ARG(inXML,"inXML"); - HX_STACK_LINE(314) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(314) - while(((_g < (int)2))){ - HX_STACK_LINE(314) - int pass = (_g)++; HX_STACK_VAR(pass,"pass"); - HX_STACK_LINE(316) - for(::cpp::FastIterator_obj< ::Xml > *__it = ::cpp::CreateFastIterator< ::Xml >(inXML->elements()); __it->hasNext(); ){ - ::Xml def = __it->next(); - { - HX_STACK_LINE(318) - ::String name = def->getNodeName(); HX_STACK_VAR(name,"name"); - HX_STACK_LINE(320) - if (((name.substr((int)0,(int)4) == HX_CSTRING("svg:")))){ - HX_STACK_LINE(320) - name = name.substr((int)4,null()); - } - HX_STACK_LINE(326) - if (((name == HX_CSTRING("linearGradient")))){ - HX_STACK_LINE(326) - this->loadGradient(def,::neash::display::GradientType_obj::LINEAR_dyn(),(pass == (int)1)); - } - else{ - HX_STACK_LINE(330) - if (((name == HX_CSTRING("radialGradient")))){ - HX_STACK_LINE(330) - this->loadGradient(def,::neash::display::GradientType_obj::RADIAL_dyn(),(pass == (int)1)); - } - } - } -; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGData_obj,loadDefs,(void)) - -::Hash SVGData_obj::getStyles( ::Xml inNode,::Hash inPrevStyles){ - HX_STACK_PUSH("SVGData::getStyles","format/svg/SVGData.hx",275); - HX_STACK_THIS(this); - HX_STACK_ARG(inNode,"inNode"); - HX_STACK_ARG(inPrevStyles,"inPrevStyles"); - HX_STACK_LINE(277) - if ((!(inNode->exists(HX_CSTRING("style"))))){ - HX_STACK_LINE(278) - return inPrevStyles; - } - HX_STACK_LINE(280) - ::Hash styles = ::Hash_obj::__new(); HX_STACK_VAR(styles,"styles"); - HX_STACK_LINE(282) - if (((inPrevStyles != null()))){ - HX_STACK_LINE(282) - for(::cpp::FastIterator_obj< ::String > *__it = ::cpp::CreateFastIterator< ::String >(inPrevStyles->keys()); __it->hasNext(); ){ - ::String s = __it->next(); - styles->set(s,inPrevStyles->get(s)); - } - } - HX_STACK_LINE(292) - ::String style = inNode->get(HX_CSTRING("style")); HX_STACK_VAR(style,"style"); - HX_STACK_LINE(293) - Array< ::String > strings = ::format::svg::SVGData_obj::mStyleSplit->split(style); HX_STACK_VAR(strings,"strings"); - HX_STACK_LINE(295) - { - HX_STACK_LINE(295) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(295) - while(((_g < strings->length))){ - HX_STACK_LINE(295) - ::String s = strings->__get(_g); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(295) - ++(_g); - HX_STACK_LINE(297) - if ((::format::svg::SVGData_obj::mStyleValue->match(s))){ - HX_STACK_LINE(297) - styles->set(::format::svg::SVGData_obj::mStyleValue->matched((int)1),::format::svg::SVGData_obj::mStyleValue->matched((int)2)); - } - } - } - HX_STACK_LINE(305) - return styles; -} - - -HX_DEFINE_DYNAMIC_FUNC2(SVGData_obj,getStyles,return ) - -::String SVGData_obj::getStyle( ::String inKey,::Xml inNode,::Hash inStyles,::String inDefault){ - HX_STACK_PUSH("SVGData::getStyle","format/svg/SVGData.hx",256); - HX_STACK_THIS(this); - HX_STACK_ARG(inKey,"inKey"); - HX_STACK_ARG(inNode,"inNode"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_ARG(inDefault,"inDefault"); - HX_STACK_LINE(258) - if (((bool((inNode != null())) && bool(inNode->exists(inKey))))){ - HX_STACK_LINE(258) - return inNode->get(inKey); - } - HX_STACK_LINE(264) - if (((bool((inStyles != null())) && bool(inStyles->exists(inKey))))){ - HX_STACK_LINE(264) - return inStyles->get(inKey); - } - HX_STACK_LINE(270) - return inDefault; -} - - -HX_DEFINE_DYNAMIC_FUNC4(SVGData_obj,getStyle,return ) - -Dynamic SVGData_obj::getStrokeStyle( ::String inKey,::Xml inNode,::Hash inStyles,Dynamic inDefault){ - HX_STACK_PUSH("SVGData::getStrokeStyle","format/svg/SVGData.hx",229); - HX_STACK_THIS(this); - HX_STACK_ARG(inKey,"inKey"); - HX_STACK_ARG(inNode,"inNode"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_ARG(inDefault,"inDefault"); - HX_STACK_LINE(231) - ::String s = this->getStyle(inKey,inNode,inStyles,HX_CSTRING("")); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(233) - if (((s == HX_CSTRING("")))){ - HX_STACK_LINE(233) - return inDefault; - } - HX_STACK_LINE(239) - if (((s == HX_CSTRING("none")))){ - HX_STACK_LINE(239) - return null(); - } - HX_STACK_LINE(245) - if (((s.charAt((int)0) == HX_CSTRING("#")))){ - HX_STACK_LINE(245) - return ::Std_obj::parseInt((HX_CSTRING("0x") + s.substr((int)1,null()))); - } - HX_STACK_LINE(251) - return ::Std_obj::parseInt(s); -} - - -HX_DEFINE_DYNAMIC_FUNC4(SVGData_obj,getStrokeStyle,return ) - -Float SVGData_obj::getFloatStyle( ::String inKey,::Xml inNode,::Hash inStyles,Float inDefault){ - HX_STACK_PUSH("SVGData::getFloatStyle","format/svg/SVGData.hx",214); - HX_STACK_THIS(this); - HX_STACK_ARG(inKey,"inKey"); - HX_STACK_ARG(inNode,"inNode"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_ARG(inDefault,"inDefault"); - HX_STACK_LINE(216) - ::String s = this->getStyle(inKey,inNode,inStyles,HX_CSTRING("")); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(218) - if (((s == HX_CSTRING("")))){ - HX_STACK_LINE(218) - return inDefault; - } - HX_STACK_LINE(224) - return ::Std_obj::parseFloat(s); -} - - -HX_DEFINE_DYNAMIC_FUNC4(SVGData_obj,getFloatStyle,return ) - -Float SVGData_obj::getFloat( ::Xml inXML,::String inName,hx::Null< Float > __o_inDef){ -Float inDef = __o_inDef.Default(0.0); - HX_STACK_PUSH("SVGData::getFloat","format/svg/SVGData.hx",204); - HX_STACK_THIS(this); - HX_STACK_ARG(inXML,"inXML"); - HX_STACK_ARG(inName,"inName"); - HX_STACK_ARG(inDef,"inDef"); -{ - HX_STACK_LINE(206) - if ((inXML->exists(inName))){ - HX_STACK_LINE(207) - return ::Std_obj::parseFloat(inXML->get(inName)); - } - HX_STACK_LINE(209) - return inDef; - } -} - - -HX_DEFINE_DYNAMIC_FUNC3(SVGData_obj,getFloat,return ) - -::format::svg::FillType SVGData_obj::getFillStyle( ::String inKey,::Xml inNode,::Hash inStyles){ - HX_STACK_PUSH("SVGData::getFillStyle","format/svg/SVGData.hx",161); - HX_STACK_THIS(this); - HX_STACK_ARG(inKey,"inKey"); - HX_STACK_ARG(inNode,"inNode"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_LINE(163) - ::String s = this->getStyle(inKey,inNode,inStyles,HX_CSTRING("")); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(165) - if (((s == HX_CSTRING("")))){ - HX_STACK_LINE(165) - return ::format::svg::SVGData_obj::defaultFill; - } - HX_STACK_LINE(171) - if (((s.charAt((int)0) == HX_CSTRING("#")))){ - HX_STACK_LINE(171) - return ::format::svg::FillType_obj::FillSolid(::Std_obj::parseInt((HX_CSTRING("0x") + s.substr((int)1,null())))); - } - HX_STACK_LINE(177) - if (((s == HX_CSTRING("none")))){ - HX_STACK_LINE(177) - return ::format::svg::FillType_obj::FillNone_dyn(); - } - HX_STACK_LINE(183) - if ((::format::svg::SVGData_obj::mURLMatch->match(s))){ - HX_STACK_LINE(185) - ::String url = ::format::svg::SVGData_obj::mURLMatch->matched((int)1); HX_STACK_VAR(url,"url"); - HX_STACK_LINE(187) - if ((this->mGrads->exists(url))){ - HX_STACK_LINE(187) - return ::format::svg::FillType_obj::FillGrad(this->mGrads->get(url)); - } - HX_STACK_LINE(193) - hx::Throw ((HX_CSTRING("Unknown url:") + url)); - } - HX_STACK_LINE(197) - hx::Throw ((HX_CSTRING("Unknown fill string:") + s)); - HX_STACK_LINE(199) - return ::format::svg::FillType_obj::FillNone_dyn(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(SVGData_obj,getFillStyle,return ) - -int SVGData_obj::getColorStyle( ::String inKey,::Xml inNode,::Hash inStyles,int inDefault){ - HX_STACK_PUSH("SVGData::getColorStyle","format/svg/SVGData.hx",140); - HX_STACK_THIS(this); - HX_STACK_ARG(inKey,"inKey"); - HX_STACK_ARG(inNode,"inNode"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_ARG(inDefault,"inDefault"); - HX_STACK_LINE(142) - ::String s = this->getStyle(inKey,inNode,inStyles,HX_CSTRING("")); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(144) - if (((s == HX_CSTRING("")))){ - HX_STACK_LINE(144) - return inDefault; - } - HX_STACK_LINE(150) - if (((s.charAt((int)0) == HX_CSTRING("#")))){ - HX_STACK_LINE(150) - return ::Std_obj::parseInt((HX_CSTRING("0x") + s.substr((int)1,null()))); - } - HX_STACK_LINE(156) - return ::Std_obj::parseInt(s); -} - - -HX_DEFINE_DYNAMIC_FUNC4(SVGData_obj,getColorStyle,return ) - -Void SVGData_obj::dumpGroup( ::format::svg::Group g,::String indent){ -{ - HX_STACK_PUSH("SVGData::dumpGroup","format/svg/SVGData.hx",120); - HX_STACK_THIS(this); - HX_STACK_ARG(g,"g"); - HX_STACK_ARG(indent,"indent"); - HX_STACK_LINE(122) - ::haxe::Log_obj::trace(((indent + HX_CSTRING("Group:")) + g->name),hx::SourceInfo(HX_CSTRING("SVGData.hx"),122,HX_CSTRING("format.svg.SVGData"),HX_CSTRING("dumpGroup"))); - HX_STACK_LINE(123) - hx::AddEq(indent,HX_CSTRING(" ")); - HX_STACK_LINE(125) - { - HX_STACK_LINE(125) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::format::svg::DisplayElement > _g1 = g->children; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(125) - while(((_g < _g1->length))){ - HX_STACK_LINE(125) - ::format::svg::DisplayElement e = _g1->__get(_g); HX_STACK_VAR(e,"e"); - HX_STACK_LINE(125) - ++(_g); - HX_STACK_LINE(127) - { - ::format::svg::DisplayElement _switch_1 = (e); - switch((_switch_1)->GetIndex()){ - case 0: { - ::format::svg::Path path = _switch_1->__Param(0); -{ - HX_STACK_LINE(129) - ::haxe::Log_obj::trace((((indent + HX_CSTRING("Path")) + HX_CSTRING(" ")) + ::Std_obj::string(path->matrix)),hx::SourceInfo(HX_CSTRING("SVGData.hx"),129,HX_CSTRING("format.svg.SVGData"),HX_CSTRING("dumpGroup"))); - } - } - ;break; - case 1: { - ::format::svg::Group group = _switch_1->__Param(0); -{ - HX_STACK_LINE(130) - this->dumpGroup(group,(indent + HX_CSTRING(" "))); - } - } - ;break; - case 2: { - ::format::svg::Text text = _switch_1->__Param(0); -{ - HX_STACK_LINE(131) - ::haxe::Log_obj::trace(((indent + HX_CSTRING("Text ")) + text->text),hx::SourceInfo(HX_CSTRING("SVGData.hx"),131,HX_CSTRING("format.svg.SVGData"),HX_CSTRING("dumpGroup"))); - } - } - ;break; - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(SVGData_obj,dumpGroup,(void)) - -Float SVGData_obj::applyTransform( ::neash::geom::Matrix ioMatrix,::String inTrans){ - HX_STACK_PUSH("SVGData::applyTransform","format/svg/SVGData.hx",70); - HX_STACK_THIS(this); - HX_STACK_ARG(ioMatrix,"ioMatrix"); - HX_STACK_ARG(inTrans,"inTrans"); - HX_STACK_LINE(72) - Float scale = 1.0; HX_STACK_VAR(scale,"scale"); - HX_STACK_LINE(74) - if ((::format::svg::SVGData_obj::mTranslateMatch->match(inTrans))){ - HX_STACK_LINE(75) - ioMatrix->translate(::Std_obj::parseFloat(::format::svg::SVGData_obj::mTranslateMatch->matched((int)1)),::Std_obj::parseFloat(::format::svg::SVGData_obj::mTranslateMatch->matched((int)2))); - } - else{ - HX_STACK_LINE(80) - if ((::format::svg::SVGData_obj::mScaleMatch->match(inTrans))){ - HX_STACK_LINE(83) - Float s = ::Std_obj::parseFloat(::format::svg::SVGData_obj::mScaleMatch->matched((int)1)); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(84) - ioMatrix->scale(s,s); - HX_STACK_LINE(85) - scale = s; - } - else{ - HX_STACK_LINE(87) - if ((::format::svg::SVGData_obj::mMatrixMatch->match(inTrans))){ - HX_STACK_LINE(89) - ::neash::geom::Matrix m = ::neash::geom::Matrix_obj::__new(::Std_obj::parseFloat(::format::svg::SVGData_obj::mMatrixMatch->matched((int)1)),::Std_obj::parseFloat(::format::svg::SVGData_obj::mMatrixMatch->matched((int)2)),::Std_obj::parseFloat(::format::svg::SVGData_obj::mMatrixMatch->matched((int)3)),::Std_obj::parseFloat(::format::svg::SVGData_obj::mMatrixMatch->matched((int)4)),::Std_obj::parseFloat(::format::svg::SVGData_obj::mMatrixMatch->matched((int)5)),::Std_obj::parseFloat(::format::svg::SVGData_obj::mMatrixMatch->matched((int)6))); HX_STACK_VAR(m,"m"); - HX_STACK_LINE(98) - m->concat(ioMatrix); - HX_STACK_LINE(100) - ioMatrix->a = m->a; - HX_STACK_LINE(101) - ioMatrix->b = m->b; - HX_STACK_LINE(102) - ioMatrix->c = m->c; - HX_STACK_LINE(103) - ioMatrix->d = m->d; - HX_STACK_LINE(104) - ioMatrix->tx = m->tx; - HX_STACK_LINE(105) - ioMatrix->ty = m->ty; - HX_STACK_LINE(107) - scale = ::Math_obj::sqrt(((ioMatrix->a * ioMatrix->a) + (ioMatrix->c * ioMatrix->c))); - } - else{ - HX_STACK_LINE(109) - ::haxe::Log_obj::trace((HX_CSTRING("Warning, unknown transform:") + inTrans),hx::SourceInfo(HX_CSTRING("SVGData.hx"),111,HX_CSTRING("format.svg.SVGData"),HX_CSTRING("applyTransform"))); - } - } - } - HX_STACK_LINE(115) - return scale; -} - - -HX_DEFINE_DYNAMIC_FUNC2(SVGData_obj,applyTransform,return ) - -Float SVGData_obj::SIN45; - -Float SVGData_obj::TAN22; - -::EReg SVGData_obj::mStyleSplit; - -::EReg SVGData_obj::mStyleValue; - -::EReg SVGData_obj::mTranslateMatch; - -::EReg SVGData_obj::mScaleMatch; - -::EReg SVGData_obj::mMatrixMatch; - -::EReg SVGData_obj::mURLMatch; - -::format::svg::FillType SVGData_obj::defaultFill; - - -SVGData_obj::SVGData_obj() -{ -} - -void SVGData_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SVGData); - HX_MARK_MEMBER_NAME(mPathParser,"mPathParser"); - HX_MARK_MEMBER_NAME(mGrads,"mGrads"); - HX_MARK_MEMBER_NAME(mConvertCubics,"mConvertCubics"); - HX_MARK_MEMBER_NAME(width,"width"); - HX_MARK_MEMBER_NAME(height,"height"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void SVGData_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mPathParser,"mPathParser"); - HX_VISIT_MEMBER_NAME(mGrads,"mGrads"); - HX_VISIT_MEMBER_NAME(mConvertCubics,"mConvertCubics"); - HX_VISIT_MEMBER_NAME(width,"width"); - HX_VISIT_MEMBER_NAME(height,"height"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic SVGData_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"SIN45") ) { return SIN45; } - if (HX_FIELD_EQ(inName,"TAN22") ) { return TAN22; } - if (HX_FIELD_EQ(inName,"width") ) { return width; } - break; - case 6: - if (HX_FIELD_EQ(inName,"mGrads") ) { return mGrads; } - if (HX_FIELD_EQ(inName,"height") ) { return height; } - break; - case 8: - if (HX_FIELD_EQ(inName,"loadText") ) { return loadText_dyn(); } - if (HX_FIELD_EQ(inName,"loadPath") ) { return loadPath_dyn(); } - if (HX_FIELD_EQ(inName,"loadDefs") ) { return loadDefs_dyn(); } - if (HX_FIELD_EQ(inName,"getStyle") ) { return getStyle_dyn(); } - if (HX_FIELD_EQ(inName,"getFloat") ) { return getFloat_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"mURLMatch") ) { return mURLMatch; } - if (HX_FIELD_EQ(inName,"loadGroup") ) { return loadGroup_dyn(); } - if (HX_FIELD_EQ(inName,"getStyles") ) { return getStyles_dyn(); } - if (HX_FIELD_EQ(inName,"dumpGroup") ) { return dumpGroup_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"mStyleSplit") ) { return mStyleSplit; } - if (HX_FIELD_EQ(inName,"mStyleValue") ) { return mStyleValue; } - if (HX_FIELD_EQ(inName,"mScaleMatch") ) { return mScaleMatch; } - if (HX_FIELD_EQ(inName,"defaultFill") ) { return defaultFill; } - if (HX_FIELD_EQ(inName,"mPathParser") ) { return mPathParser; } - break; - case 12: - if (HX_FIELD_EQ(inName,"mMatrixMatch") ) { return mMatrixMatch; } - if (HX_FIELD_EQ(inName,"loadGradient") ) { return loadGradient_dyn(); } - if (HX_FIELD_EQ(inName,"getFillStyle") ) { return getFillStyle_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"getFloatStyle") ) { return getFloatStyle_dyn(); } - if (HX_FIELD_EQ(inName,"getColorStyle") ) { return getColorStyle_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"getStrokeStyle") ) { return getStrokeStyle_dyn(); } - if (HX_FIELD_EQ(inName,"applyTransform") ) { return applyTransform_dyn(); } - if (HX_FIELD_EQ(inName,"mConvertCubics") ) { return mConvertCubics; } - break; - case 15: - if (HX_FIELD_EQ(inName,"mTranslateMatch") ) { return mTranslateMatch; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SVGData_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"SIN45") ) { SIN45=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"TAN22") ) { TAN22=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"width") ) { width=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"mGrads") ) { mGrads=inValue.Cast< ::Hash >(); return inValue; } - if (HX_FIELD_EQ(inName,"height") ) { height=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"mURLMatch") ) { mURLMatch=inValue.Cast< ::EReg >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"mStyleSplit") ) { mStyleSplit=inValue.Cast< ::EReg >(); return inValue; } - if (HX_FIELD_EQ(inName,"mStyleValue") ) { mStyleValue=inValue.Cast< ::EReg >(); return inValue; } - if (HX_FIELD_EQ(inName,"mScaleMatch") ) { mScaleMatch=inValue.Cast< ::EReg >(); return inValue; } - if (HX_FIELD_EQ(inName,"defaultFill") ) { defaultFill=inValue.Cast< ::format::svg::FillType >(); return inValue; } - if (HX_FIELD_EQ(inName,"mPathParser") ) { mPathParser=inValue.Cast< ::format::svg::PathParser >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"mMatrixMatch") ) { mMatrixMatch=inValue.Cast< ::EReg >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"mConvertCubics") ) { mConvertCubics=inValue.Cast< bool >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"mTranslateMatch") ) { mTranslateMatch=inValue.Cast< ::EReg >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SVGData_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mPathParser")); - outFields->push(HX_CSTRING("mGrads")); - outFields->push(HX_CSTRING("mConvertCubics")); - outFields->push(HX_CSTRING("width")); - outFields->push(HX_CSTRING("height")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("SIN45"), - HX_CSTRING("TAN22"), - HX_CSTRING("mStyleSplit"), - HX_CSTRING("mStyleValue"), - HX_CSTRING("mTranslateMatch"), - HX_CSTRING("mScaleMatch"), - HX_CSTRING("mMatrixMatch"), - HX_CSTRING("mURLMatch"), - HX_CSTRING("defaultFill"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("loadText"), - HX_CSTRING("loadPath"), - HX_CSTRING("loadGroup"), - HX_CSTRING("loadGradient"), - HX_CSTRING("loadDefs"), - HX_CSTRING("getStyles"), - HX_CSTRING("getStyle"), - HX_CSTRING("getStrokeStyle"), - HX_CSTRING("getFloatStyle"), - HX_CSTRING("getFloat"), - HX_CSTRING("getFillStyle"), - HX_CSTRING("getColorStyle"), - HX_CSTRING("dumpGroup"), - HX_CSTRING("applyTransform"), - HX_CSTRING("mPathParser"), - HX_CSTRING("mGrads"), - HX_CSTRING("mConvertCubics"), - HX_CSTRING("width"), - HX_CSTRING("height"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SVGData_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(SVGData_obj::SIN45,"SIN45"); - HX_MARK_MEMBER_NAME(SVGData_obj::TAN22,"TAN22"); - HX_MARK_MEMBER_NAME(SVGData_obj::mStyleSplit,"mStyleSplit"); - HX_MARK_MEMBER_NAME(SVGData_obj::mStyleValue,"mStyleValue"); - HX_MARK_MEMBER_NAME(SVGData_obj::mTranslateMatch,"mTranslateMatch"); - HX_MARK_MEMBER_NAME(SVGData_obj::mScaleMatch,"mScaleMatch"); - HX_MARK_MEMBER_NAME(SVGData_obj::mMatrixMatch,"mMatrixMatch"); - HX_MARK_MEMBER_NAME(SVGData_obj::mURLMatch,"mURLMatch"); - HX_MARK_MEMBER_NAME(SVGData_obj::defaultFill,"defaultFill"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SVGData_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(SVGData_obj::SIN45,"SIN45"); - HX_VISIT_MEMBER_NAME(SVGData_obj::TAN22,"TAN22"); - HX_VISIT_MEMBER_NAME(SVGData_obj::mStyleSplit,"mStyleSplit"); - HX_VISIT_MEMBER_NAME(SVGData_obj::mStyleValue,"mStyleValue"); - HX_VISIT_MEMBER_NAME(SVGData_obj::mTranslateMatch,"mTranslateMatch"); - HX_VISIT_MEMBER_NAME(SVGData_obj::mScaleMatch,"mScaleMatch"); - HX_VISIT_MEMBER_NAME(SVGData_obj::mMatrixMatch,"mMatrixMatch"); - HX_VISIT_MEMBER_NAME(SVGData_obj::mURLMatch,"mURLMatch"); - HX_VISIT_MEMBER_NAME(SVGData_obj::defaultFill,"defaultFill"); -}; - -Class SVGData_obj::__mClass; - -void SVGData_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.SVGData"), hx::TCanCast< SVGData_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SVGData_obj::__boot() -{ - SIN45= 0.70710678118654752440084436210485; - TAN22= 0.4142135623730950488016887242097; - mStyleSplit= ::EReg_obj::__new(HX_CSTRING(";"),HX_CSTRING("g")); - mStyleValue= ::EReg_obj::__new(HX_CSTRING("\\s*(.*)\\s*:\\s*(.*)\\s*"),HX_CSTRING("")); - mTranslateMatch= ::EReg_obj::__new(HX_CSTRING("translate\\((.*),(.*)\\)"),HX_CSTRING("")); - mScaleMatch= ::EReg_obj::__new(HX_CSTRING("scale\\((.*)\\)"),HX_CSTRING("")); - mMatrixMatch= ::EReg_obj::__new(HX_CSTRING("matrix\\((.*),(.*),(.*),(.*),(.*),(.*)\\)"),HX_CSTRING("")); - mURLMatch= ::EReg_obj::__new(HX_CSTRING("url\\(#(.*)\\)"),HX_CSTRING("")); - defaultFill= ::format::svg::FillType_obj::FillSolid((int)0); -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/SVGRenderer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/SVGRenderer.cpp deleted file mode 100644 index 640da27..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/SVGRenderer.cpp +++ /dev/null @@ -1,933 +0,0 @@ -#include - -#ifndef INCLUDED_EReg -#include -#endif -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_Gfx2Haxe -#include -#endif -#ifndef INCLUDED_format_gfx_GfxBytes -#include -#endif -#ifndef INCLUDED_format_gfx_GfxExtent -#include -#endif -#ifndef INCLUDED_format_gfx_GfxGraphics -#include -#endif -#ifndef INCLUDED_format_gfx_GfxTextFinder -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_gfx_LineStyle -#include -#endif -#ifndef INCLUDED_format_svg_DisplayElement -#include -#endif -#ifndef INCLUDED_format_svg_FillType -#include -#endif -#ifndef INCLUDED_format_svg_Grad -#include -#endif -#ifndef INCLUDED_format_svg_Group -#include -#endif -#ifndef INCLUDED_format_svg_Path -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -#ifndef INCLUDED_format_svg_SVGData -#include -#endif -#ifndef INCLUDED_format_svg_SVGRenderer -#include -#endif -#ifndef INCLUDED_format_svg_Text -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -#ifndef INCLUDED_neash_display_Shape -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace format{ -namespace svg{ - -Void SVGRenderer_obj::__construct(::format::svg::SVGData inSvg,::String inLayer) -{ -HX_STACK_PUSH("SVGRenderer::new","format/svg/SVGRenderer.hx",46); -{ - HX_STACK_LINE(47) - this->mSvg = inSvg; - HX_STACK_LINE(49) - this->width = this->mSvg->width; - HX_STACK_LINE(50) - this->height = this->mSvg->height; - HX_STACK_LINE(51) - this->mRoot = this->mSvg; - HX_STACK_LINE(52) - if (((inLayer != null()))){ - HX_STACK_LINE(54) - this->mRoot = this->mSvg->findGroup(inLayer); - HX_STACK_LINE(55) - if (((this->mRoot == null()))){ - HX_STACK_LINE(56) - hx::Throw ((HX_CSTRING("Could not find SVG group: ") + inLayer)); - } - } -} -; - return null(); -} - -SVGRenderer_obj::~SVGRenderer_obj() { } - -Dynamic SVGRenderer_obj::__CreateEmpty() { return new SVGRenderer_obj; } -hx::ObjectPtr< SVGRenderer_obj > SVGRenderer_obj::__new(::format::svg::SVGData inSvg,::String inLayer) -{ hx::ObjectPtr< SVGRenderer_obj > result = new SVGRenderer_obj(); - result->__construct(inSvg,inLayer); - return result;} - -Dynamic SVGRenderer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SVGRenderer_obj > result = new SVGRenderer_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::neash::display::BitmapData SVGRenderer_obj::renderBitmap( ::neash::geom::Rectangle inRect,hx::Null< Float > __o_inScale){ -Float inScale = __o_inScale.Default(1.0); - HX_STACK_PUSH("SVGRenderer::renderBitmap","format/svg/SVGRenderer.hx",309); - HX_STACK_THIS(this); - HX_STACK_ARG(inRect,"inRect"); - HX_STACK_ARG(inScale,"inScale"); -{ - HX_STACK_LINE(310) - this->mMatrix = ::neash::geom::Matrix_obj::__new(inScale,(int)0,(int)0,inScale,(-(inRect->x) * inScale),(-(inRect->y) * inScale)); - HX_STACK_LINE(312) - int w = ::Std_obj::_int(::Math_obj::ceil(( (((inRect == null()))) ? Float(this->width) : Float((inRect->width * inScale)) ))); HX_STACK_VAR(w,"w"); - HX_STACK_LINE(313) - int h = ::Std_obj::_int(::Math_obj::ceil(( (((inRect == null()))) ? Float(this->width) : Float((inRect->height * inScale)) ))); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(315) - ::neash::display::BitmapData bmp = ::neash::display::BitmapData_obj::__new(w,h,true,(int)0); HX_STACK_VAR(bmp,"bmp"); - HX_STACK_LINE(317) - ::neash::display::Shape shape = ::neash::display::Shape_obj::__new(); HX_STACK_VAR(shape,"shape"); - HX_STACK_LINE(318) - this->mGfx = ::format::gfx::GfxGraphics_obj::__new(shape->nmeGetGraphics()); - HX_STACK_LINE(320) - this->mGroupPath = Array_obj< ::String >::__new(); - HX_STACK_LINE(321) - this->iterateGroup(this->mRoot,true); - HX_STACK_LINE(323) - bmp->draw(shape,null(),null(),null(),null(),null()); - HX_STACK_LINE(324) - this->mGfx = null(); - HX_STACK_LINE(326) - return bmp; - } -} - - -HX_DEFINE_DYNAMIC_FUNC2(SVGRenderer_obj,renderBitmap,return ) - -::neash::display::Shape SVGRenderer_obj::namedShape( ::String inName){ - HX_STACK_PUSH("SVGRenderer::namedShape","format/svg/SVGRenderer.hx",302); - HX_STACK_THIS(this); - HX_STACK_ARG(inName,"inName"); - HX_STACK_LINE(302) - Array< ::String > inName1 = Array_obj< ::String >::__new().Add(inName); HX_STACK_VAR(inName1,"inName1"); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_1_1,Array< ::String >,inName1) - bool run(::String name,Array< ::String > _){ - HX_STACK_PUSH("*::_Function_1_1","format/svg/SVGRenderer.hx",304); - HX_STACK_ARG(name,"name"); - HX_STACK_ARG(_,"_"); - { - HX_STACK_LINE(304) - return (name == inName1->__get((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC2(return) - - HX_STACK_LINE(303) - return this->createShape(null(), Dynamic(new _Function_1_1(inName1)),null()); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGRenderer_obj,namedShape,return ) - -::neash::display::Shape SVGRenderer_obj::createShape( ::neash::geom::Matrix inMatrix,Dynamic inFilter,::neash::geom::Rectangle inScale9){ - HX_STACK_PUSH("SVGRenderer::createShape","format/svg/SVGRenderer.hx",296); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(inScale9,"inScale9"); - HX_STACK_LINE(297) - ::neash::display::Shape shape = ::neash::display::Shape_obj::__new(); HX_STACK_VAR(shape,"shape"); - HX_STACK_LINE(298) - this->renderObject(shape,shape->nmeGetGraphics(),inMatrix,inFilter,inScale9); - HX_STACK_LINE(299) - return shape; -} - - -HX_DEFINE_DYNAMIC_FUNC3(SVGRenderer_obj,createShape,return ) - -Void SVGRenderer_obj::renderSprite( ::neash::display::Sprite inObj,::neash::geom::Matrix inMatrix,Dynamic inFilter,::neash::geom::Rectangle inScale9){ -{ - HX_STACK_PUSH("SVGRenderer::renderSprite","format/svg/SVGRenderer.hx",291); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(inScale9,"inScale9"); - HX_STACK_LINE(291) - this->renderObject(inObj,inObj->nmeGetGraphics(),inMatrix,inFilter,inScale9); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(SVGRenderer_obj,renderSprite,(void)) - -Void SVGRenderer_obj::renderObject( ::neash::display::DisplayObject inObj,::neash::display::Graphics inGfx,::neash::geom::Matrix inMatrix,Dynamic inFilter,::neash::geom::Rectangle inScale9){ -{ - HX_STACK_PUSH("SVGRenderer::renderObject","format/svg/SVGRenderer.hx",277); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(inScale9,"inScale9"); - HX_STACK_LINE(278) - this->render(inGfx,inMatrix,inFilter,inScale9,null(),null()); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_1) - bool run(::String _,Array< ::String > groups){ - HX_STACK_PUSH("*::_Function_1_1","format/svg/SVGRenderer.hx",279); - HX_STACK_ARG(_,"_"); - HX_STACK_ARG(groups,"groups"); - { - HX_STACK_LINE(279) - return (groups->__get((int)1) == HX_CSTRING(".scale9")); - } - return null(); - } - HX_END_LOCAL_FUNC2(return) - - HX_STACK_LINE(279) - ::neash::geom::Rectangle rect = this->getExtent(inMatrix, Dynamic(new _Function_1_1()),null()); HX_STACK_VAR(rect,"rect"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(SVGRenderer_obj,renderObject,(void)) - -::neash::geom::Rectangle SVGRenderer_obj::getMatchingRect( ::EReg inMatch){ - HX_STACK_PUSH("SVGRenderer::getMatchingRect","format/svg/SVGRenderer.hx",268); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatch,"inMatch"); - HX_STACK_LINE(268) - Array< ::EReg > inMatch1 = Array_obj< ::EReg >::__new().Add(inMatch); HX_STACK_VAR(inMatch1,"inMatch1"); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_1_1,Array< ::EReg >,inMatch1) - bool run(::String _,Array< ::String > groups){ - HX_STACK_PUSH("*::_Function_1_1","format/svg/SVGRenderer.hx",270); - HX_STACK_ARG(_,"_"); - HX_STACK_ARG(groups,"groups"); - { - HX_STACK_LINE(270) - return (bool((groups->__get((int)1) != null())) && bool(inMatch1->__get((int)0)->match(groups->__get((int)1)))); - } - return null(); - } - HX_END_LOCAL_FUNC2(return) - - HX_STACK_LINE(269) - return this->getExtent(null(), Dynamic(new _Function_1_1(inMatch1)),false); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGRenderer_obj,getMatchingRect,return ) - -::format::svg::Text SVGRenderer_obj::findText( Dynamic inFilter){ - HX_STACK_PUSH("SVGRenderer::findText","format/svg/SVGRenderer.hx",259); - HX_STACK_THIS(this); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_LINE(260) - this->mFilter = inFilter; - HX_STACK_LINE(261) - this->mGroupPath = Array_obj< ::String >::__new(); - HX_STACK_LINE(262) - ::format::gfx::GfxTextFinder finder = ::format::gfx::GfxTextFinder_obj::__new(); HX_STACK_VAR(finder,"finder"); - HX_STACK_LINE(263) - this->mGfx = finder; - HX_STACK_LINE(264) - this->iterateGroup(this->mRoot,false); - HX_STACK_LINE(265) - return finder->text; -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGRenderer_obj,findText,return ) - -::neash::geom::Rectangle SVGRenderer_obj::getExtent( ::neash::geom::Matrix inMatrix,Dynamic inFilter,Dynamic inIgnoreDot){ - HX_STACK_PUSH("SVGRenderer::getExtent","format/svg/SVGRenderer.hx",240); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(inIgnoreDot,"inIgnoreDot"); - HX_STACK_LINE(241) - if (((inIgnoreDot == null()))){ - HX_STACK_LINE(242) - inIgnoreDot = (inFilter == null()); - } - HX_STACK_LINE(243) - ::format::gfx::GfxExtent gfx = ::format::gfx::GfxExtent_obj::__new(); HX_STACK_VAR(gfx,"gfx"); - HX_STACK_LINE(244) - this->mGfx = gfx; - HX_STACK_LINE(245) - if (((inMatrix == null()))){ - HX_STACK_LINE(246) - this->mMatrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - } - else{ - HX_STACK_LINE(248) - this->mMatrix = inMatrix->clone(); - } - HX_STACK_LINE(250) - this->mFilter = inFilter; - HX_STACK_LINE(251) - this->mGroupPath = Array_obj< ::String >::__new(); - HX_STACK_LINE(253) - this->iterateGroup(this->mRoot,inIgnoreDot); - HX_STACK_LINE(255) - return gfx->extent; -} - - -HX_DEFINE_DYNAMIC_FUNC3(SVGRenderer_obj,getExtent,return ) - -Void SVGRenderer_obj::renderRect0( ::neash::display::Graphics inGfx,Dynamic inFilter,::neash::geom::Rectangle scaleRect,::neash::geom::Rectangle inBounds,::neash::geom::Rectangle inRect){ -{ - HX_STACK_PUSH("SVGRenderer::renderRect0","format/svg/SVGRenderer.hx",221); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(scaleRect,"scaleRect"); - HX_STACK_ARG(inBounds,"inBounds"); - HX_STACK_ARG(inRect,"inRect"); - HX_STACK_LINE(222) - ::neash::geom::Matrix matrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(matrix,"matrix"); - HX_STACK_LINE(223) - matrix->tx = -(inBounds->x); - HX_STACK_LINE(224) - matrix->ty = -(inBounds->y); - HX_STACK_LINE(225) - if (((scaleRect != null()))){ - HX_STACK_LINE(227) - Float extraX = (inRect->width - ((inBounds->width - scaleRect->width))); HX_STACK_VAR(extraX,"extraX"); - HX_STACK_LINE(228) - Float extraY = (inRect->height - ((inBounds->height - scaleRect->height))); HX_STACK_VAR(extraY,"extraY"); - HX_STACK_LINE(229) - this->render(inGfx,matrix,inFilter,scaleRect,extraX,extraY); - } - else{ - HX_STACK_LINE(232) - this->render(inGfx,matrix,inFilter,null(),null(),null()); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(SVGRenderer_obj,renderRect0,(void)) - -Void SVGRenderer_obj::renderRect( ::neash::display::Graphics inGfx,Dynamic inFilter,::neash::geom::Rectangle scaleRect,::neash::geom::Rectangle inBounds,::neash::geom::Rectangle inRect){ -{ - HX_STACK_PUSH("SVGRenderer::renderRect","format/svg/SVGRenderer.hx",206); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(scaleRect,"scaleRect"); - HX_STACK_ARG(inBounds,"inBounds"); - HX_STACK_ARG(inRect,"inRect"); - HX_STACK_LINE(207) - ::neash::geom::Matrix matrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(matrix,"matrix"); - HX_STACK_LINE(208) - matrix->tx = (inRect->x - inBounds->x); - HX_STACK_LINE(209) - matrix->ty = (inRect->y - inBounds->y); - HX_STACK_LINE(210) - if (((scaleRect != null()))){ - HX_STACK_LINE(212) - Float extraX = (inRect->width - ((inBounds->width - scaleRect->width))); HX_STACK_VAR(extraX,"extraX"); - HX_STACK_LINE(213) - Float extraY = (inRect->height - ((inBounds->height - scaleRect->height))); HX_STACK_VAR(extraY,"extraY"); - HX_STACK_LINE(214) - this->render(inGfx,matrix,inFilter,scaleRect,extraX,extraY); - } - else{ - HX_STACK_LINE(217) - this->render(inGfx,matrix,inFilter,null(),null(),null()); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(SVGRenderer_obj,renderRect,(void)) - -Void SVGRenderer_obj::render( ::neash::display::Graphics inGfx,::neash::geom::Matrix inMatrix,Dynamic inFilter,::neash::geom::Rectangle inScaleRect,Dynamic inScaleW,Dynamic inScaleH){ -{ - HX_STACK_PUSH("SVGRenderer::render","format/svg/SVGRenderer.hx",189); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(inScaleRect,"inScaleRect"); - HX_STACK_ARG(inScaleW,"inScaleW"); - HX_STACK_ARG(inScaleH,"inScaleH"); - HX_STACK_LINE(191) - this->mGfx = ::format::gfx::GfxGraphics_obj::__new(inGfx); - HX_STACK_LINE(192) - if (((inMatrix == null()))){ - HX_STACK_LINE(193) - this->mMatrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - } - else{ - HX_STACK_LINE(195) - this->mMatrix = inMatrix->clone(); - } - HX_STACK_LINE(197) - this->mScaleRect = inScaleRect; - HX_STACK_LINE(198) - this->mScaleW = inScaleW; - HX_STACK_LINE(199) - this->mScaleH = inScaleH; - HX_STACK_LINE(200) - this->mFilter = inFilter; - HX_STACK_LINE(201) - this->mGroupPath = Array_obj< ::String >::__new(); - HX_STACK_LINE(203) - this->iterateGroup(this->mRoot,(inFilter == null())); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(SVGRenderer_obj,render,(void)) - -Void SVGRenderer_obj::iterateGroup( ::format::svg::Group inGroup,bool inIgnoreDot){ -{ - HX_STACK_PUSH("SVGRenderer::iterateGroup","format/svg/SVGRenderer.hx",159); - HX_STACK_THIS(this); - HX_STACK_ARG(inGroup,"inGroup"); - HX_STACK_ARG(inIgnoreDot,"inIgnoreDot"); - HX_STACK_LINE(161) - if (((bool((bool(inIgnoreDot) && bool((inGroup->name != null())))) && bool((inGroup->name.substr((int)0,(int)1) == HX_CSTRING(".")))))){ - HX_STACK_LINE(162) - return null(); - } - HX_STACK_LINE(164) - this->mGroupPath->push(inGroup->name); - HX_STACK_LINE(168) - { - HX_STACK_LINE(168) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::format::svg::DisplayElement > _g1 = inGroup->children; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(168) - while(((_g < _g1->length))){ - HX_STACK_LINE(168) - ::format::svg::DisplayElement child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(168) - ++(_g); - HX_STACK_LINE(170) - { - ::format::svg::DisplayElement _switch_1 = (child); - switch((_switch_1)->GetIndex()){ - case 1: { - ::format::svg::Group group = _switch_1->__Param(0); -{ - HX_STACK_LINE(172) - this->iterateGroup(group,inIgnoreDot); - } - } - ;break; - case 0: { - ::format::svg::Path path = _switch_1->__Param(0); -{ - HX_STACK_LINE(174) - this->iteratePath(path); - } - } - ;break; - case 2: { - ::format::svg::Text text = _switch_1->__Param(0); -{ - HX_STACK_LINE(176) - this->iterateText(text); - } - } - ;break; - } - } - } - } - HX_STACK_LINE(181) - this->mGroupPath->pop(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(SVGRenderer_obj,iterateGroup,(void)) - -Void SVGRenderer_obj::iteratePath( ::format::svg::Path inPath){ -{ - HX_STACK_PUSH("SVGRenderer::iteratePath","format/svg/SVGRenderer.hx",95); - HX_STACK_THIS(this); - HX_STACK_ARG(inPath,"inPath"); - HX_STACK_LINE(96) - if (((bool((this->mFilter_dyn() != null())) && bool(!(this->mFilter(inPath->name,this->mGroupPath)))))){ - HX_STACK_LINE(97) - return null(); - } - HX_STACK_LINE(99) - if (((bool((inPath->segments->length == (int)0)) || bool((this->mGfx == null()))))){ - HX_STACK_LINE(100) - return null(); - } - HX_STACK_LINE(101) - Float px = 0.0; HX_STACK_VAR(px,"px"); - HX_STACK_LINE(102) - Float py = 0.0; HX_STACK_VAR(py,"py"); - HX_STACK_LINE(104) - ::neash::geom::Matrix m = inPath->matrix->clone(); HX_STACK_VAR(m,"m"); - HX_STACK_LINE(105) - m->concat(this->mMatrix); - HX_STACK_LINE(106) - ::format::svg::RenderContext context = ::format::svg::RenderContext_obj::__new(m,this->mScaleRect,this->mScaleW,this->mScaleH); HX_STACK_VAR(context,"context"); - HX_STACK_LINE(108) - bool geomOnly = this->mGfx->geometryOnly(); HX_STACK_VAR(geomOnly,"geomOnly"); - HX_STACK_LINE(109) - if ((!(geomOnly))){ - HX_STACK_LINE(116) - inPath->segments->__get((int)0)->toGfx(this->mGfx,context); - HX_STACK_LINE(118) - { - ::format::svg::FillType _switch_2 = (inPath->fill); - switch((_switch_2)->GetIndex()){ - case 0: { - ::format::svg::Grad grad = _switch_2->__Param(0); -{ - HX_STACK_LINE(121) - grad->updateMatrix(m); - HX_STACK_LINE(122) - this->mGfx->beginGradientFill(grad); - } - } - ;break; - case 1: { - int colour = _switch_2->__Param(0); -{ - HX_STACK_LINE(123) - this->mGfx->beginFill(colour,inPath->fill_alpha); - } - } - ;break; - case 2: { - } - ;break; - } - } - HX_STACK_LINE(130) - if (((inPath->stroke_colour == null()))){ - } - else{ - HX_STACK_LINE(136) - ::format::gfx::LineStyle style = ::format::gfx::LineStyle_obj::__new(); HX_STACK_VAR(style,"style"); - HX_STACK_LINE(137) - Float scale = ::Math_obj::sqrt(((m->a * m->a) + (m->c * m->c))); HX_STACK_VAR(scale,"scale"); - HX_STACK_LINE(138) - style->thickness = (inPath->stroke_width * scale); - HX_STACK_LINE(139) - style->alpha = inPath->stroke_alpha; - HX_STACK_LINE(140) - style->color = inPath->stroke_colour; - HX_STACK_LINE(141) - style->capsStyle = inPath->stroke_caps; - HX_STACK_LINE(142) - style->jointStyle = inPath->joint_style; - HX_STACK_LINE(143) - style->miterLimit = inPath->miter_limit; - HX_STACK_LINE(144) - this->mGfx->lineStyle(style); - } - } - HX_STACK_LINE(149) - { - HX_STACK_LINE(149) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::format::svg::PathSegment > _g1 = inPath->segments; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(149) - while(((_g < _g1->length))){ - HX_STACK_LINE(149) - ::format::svg::PathSegment segment = _g1->__get(_g); HX_STACK_VAR(segment,"segment"); - HX_STACK_LINE(149) - ++(_g); - HX_STACK_LINE(150) - segment->toGfx(this->mGfx,context); - } - } - HX_STACK_LINE(152) - this->mGfx->endFill(); - HX_STACK_LINE(153) - this->mGfx->endLineStyle(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGRenderer_obj,iteratePath,(void)) - -Void SVGRenderer_obj::iterateText( ::format::svg::Text inText){ -{ - HX_STACK_PUSH("SVGRenderer::iterateText","format/svg/SVGRenderer.hx",88); - HX_STACK_THIS(this); - HX_STACK_ARG(inText,"inText"); - HX_STACK_LINE(89) - if (((bool((this->mFilter_dyn() != null())) && bool(!(this->mFilter(inText->name,this->mGroupPath)))))){ - HX_STACK_LINE(90) - return null(); - } - HX_STACK_LINE(91) - this->mGfx->renderText(inText); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGRenderer_obj,iterateText,(void)) - -bool SVGRenderer_obj::hasGroup( ::String inName){ - HX_STACK_PUSH("SVGRenderer::hasGroup","format/svg/SVGRenderer.hx",83); - HX_STACK_THIS(this); - HX_STACK_ARG(inName,"inName"); - HX_STACK_LINE(83) - return this->mRoot->hasGroup(inName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGRenderer_obj,hasGroup,return ) - -Dynamic SVGRenderer_obj::iterate( Dynamic inGfx,Dynamic inFilter){ - HX_STACK_PUSH("SVGRenderer::iterate","format/svg/SVGRenderer.hx",72); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_LINE(73) - this->mGfx = inGfx; - HX_STACK_LINE(74) - this->mMatrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - HX_STACK_LINE(75) - this->mFilter = inFilter; - HX_STACK_LINE(76) - this->mGroupPath = Array_obj< ::String >::__new(); - HX_STACK_LINE(77) - this->mGfx->size(this->width,this->height); - HX_STACK_LINE(78) - this->iterateGroup(this->mRoot,true); - HX_STACK_LINE(79) - this->mGfx->eof(); - HX_STACK_LINE(80) - return inGfx; -} - - -HX_DEFINE_DYNAMIC_FUNC2(SVGRenderer_obj,iterate,return ) - -Array< ::String > SVGRenderer_obj::toHaxe( ::Xml inXML,Dynamic inFilter){ - HX_STACK_PUSH("SVGRenderer::toHaxe","format/svg/SVGRenderer.hx",61); - HX_STACK_ARG(inXML,"inXML"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_LINE(61) - return ::format::svg::SVGRenderer_obj::__new(::format::svg::SVGData_obj::__new(inXML,true),null())->iterate(::format::gfx::Gfx2Haxe_obj::__new(),inFilter)->__Field(HX_CSTRING("commands"),true); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(SVGRenderer_obj,toHaxe,return ) - -::format::gfx::GfxBytes SVGRenderer_obj::toBytes( ::Xml inXML,Dynamic inFilter){ - HX_STACK_PUSH("SVGRenderer::toBytes","format/svg/SVGRenderer.hx",66); - HX_STACK_ARG(inXML,"inXML"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_LINE(66) - return ::format::svg::SVGRenderer_obj::__new(::format::svg::SVGData_obj::__new(inXML,true),null())->iterate(::format::gfx::GfxBytes_obj::__new(null(),null()),inFilter); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(SVGRenderer_obj,toBytes,return ) - - -SVGRenderer_obj::SVGRenderer_obj() -{ -} - -void SVGRenderer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SVGRenderer); - HX_MARK_MEMBER_NAME(mGroupPath,"mGroupPath"); - HX_MARK_MEMBER_NAME(mFilter,"mFilter"); - HX_MARK_MEMBER_NAME(mScaleH,"mScaleH"); - HX_MARK_MEMBER_NAME(mScaleW,"mScaleW"); - HX_MARK_MEMBER_NAME(mScaleRect,"mScaleRect"); - HX_MARK_MEMBER_NAME(mMatrix,"mMatrix"); - HX_MARK_MEMBER_NAME(mGfx,"mGfx"); - HX_MARK_MEMBER_NAME(mRoot,"mRoot"); - HX_MARK_MEMBER_NAME(mSvg,"mSvg"); - HX_MARK_MEMBER_NAME(height,"height"); - HX_MARK_MEMBER_NAME(width,"width"); - HX_MARK_END_CLASS(); -} - -void SVGRenderer_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mGroupPath,"mGroupPath"); - HX_VISIT_MEMBER_NAME(mFilter,"mFilter"); - HX_VISIT_MEMBER_NAME(mScaleH,"mScaleH"); - HX_VISIT_MEMBER_NAME(mScaleW,"mScaleW"); - HX_VISIT_MEMBER_NAME(mScaleRect,"mScaleRect"); - HX_VISIT_MEMBER_NAME(mMatrix,"mMatrix"); - HX_VISIT_MEMBER_NAME(mGfx,"mGfx"); - HX_VISIT_MEMBER_NAME(mRoot,"mRoot"); - HX_VISIT_MEMBER_NAME(mSvg,"mSvg"); - HX_VISIT_MEMBER_NAME(height,"height"); - HX_VISIT_MEMBER_NAME(width,"width"); -} - -Dynamic SVGRenderer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"mGfx") ) { return mGfx; } - if (HX_FIELD_EQ(inName,"mSvg") ) { return mSvg; } - break; - case 5: - if (HX_FIELD_EQ(inName,"mRoot") ) { return mRoot; } - if (HX_FIELD_EQ(inName,"width") ) { return width; } - break; - case 6: - if (HX_FIELD_EQ(inName,"toHaxe") ) { return toHaxe_dyn(); } - if (HX_FIELD_EQ(inName,"render") ) { return render_dyn(); } - if (HX_FIELD_EQ(inName,"height") ) { return height; } - break; - case 7: - if (HX_FIELD_EQ(inName,"toBytes") ) { return toBytes_dyn(); } - if (HX_FIELD_EQ(inName,"iterate") ) { return iterate_dyn(); } - if (HX_FIELD_EQ(inName,"mFilter") ) { return mFilter; } - if (HX_FIELD_EQ(inName,"mScaleH") ) { return mScaleH; } - if (HX_FIELD_EQ(inName,"mScaleW") ) { return mScaleW; } - if (HX_FIELD_EQ(inName,"mMatrix") ) { return mMatrix; } - break; - case 8: - if (HX_FIELD_EQ(inName,"findText") ) { return findText_dyn(); } - if (HX_FIELD_EQ(inName,"hasGroup") ) { return hasGroup_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"getExtent") ) { return getExtent_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"namedShape") ) { return namedShape_dyn(); } - if (HX_FIELD_EQ(inName,"renderRect") ) { return renderRect_dyn(); } - if (HX_FIELD_EQ(inName,"mGroupPath") ) { return mGroupPath; } - if (HX_FIELD_EQ(inName,"mScaleRect") ) { return mScaleRect; } - break; - case 11: - if (HX_FIELD_EQ(inName,"createShape") ) { return createShape_dyn(); } - if (HX_FIELD_EQ(inName,"renderRect0") ) { return renderRect0_dyn(); } - if (HX_FIELD_EQ(inName,"iteratePath") ) { return iteratePath_dyn(); } - if (HX_FIELD_EQ(inName,"iterateText") ) { return iterateText_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"renderBitmap") ) { return renderBitmap_dyn(); } - if (HX_FIELD_EQ(inName,"renderSprite") ) { return renderSprite_dyn(); } - if (HX_FIELD_EQ(inName,"renderObject") ) { return renderObject_dyn(); } - if (HX_FIELD_EQ(inName,"iterateGroup") ) { return iterateGroup_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"getMatchingRect") ) { return getMatchingRect_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SVGRenderer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"mGfx") ) { mGfx=inValue.Cast< ::format::gfx::Gfx >(); return inValue; } - if (HX_FIELD_EQ(inName,"mSvg") ) { mSvg=inValue.Cast< ::format::svg::SVGData >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"mRoot") ) { mRoot=inValue.Cast< ::format::svg::Group >(); return inValue; } - if (HX_FIELD_EQ(inName,"width") ) { width=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"height") ) { height=inValue.Cast< Float >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"mFilter") ) { mFilter=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"mScaleH") ) { mScaleH=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"mScaleW") ) { mScaleW=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"mMatrix") ) { mMatrix=inValue.Cast< ::neash::geom::Matrix >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"mGroupPath") ) { mGroupPath=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"mScaleRect") ) { mScaleRect=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SVGRenderer_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mGroupPath")); - outFields->push(HX_CSTRING("mScaleH")); - outFields->push(HX_CSTRING("mScaleW")); - outFields->push(HX_CSTRING("mScaleRect")); - outFields->push(HX_CSTRING("mMatrix")); - outFields->push(HX_CSTRING("mGfx")); - outFields->push(HX_CSTRING("mRoot")); - outFields->push(HX_CSTRING("mSvg")); - outFields->push(HX_CSTRING("height")); - outFields->push(HX_CSTRING("width")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("toHaxe"), - HX_CSTRING("toBytes"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("renderBitmap"), - HX_CSTRING("namedShape"), - HX_CSTRING("createShape"), - HX_CSTRING("renderSprite"), - HX_CSTRING("renderObject"), - HX_CSTRING("getMatchingRect"), - HX_CSTRING("findText"), - HX_CSTRING("getExtent"), - HX_CSTRING("renderRect0"), - HX_CSTRING("renderRect"), - HX_CSTRING("render"), - HX_CSTRING("iterateGroup"), - HX_CSTRING("iteratePath"), - HX_CSTRING("iterateText"), - HX_CSTRING("hasGroup"), - HX_CSTRING("iterate"), - HX_CSTRING("mGroupPath"), - HX_CSTRING("mFilter"), - HX_CSTRING("mScaleH"), - HX_CSTRING("mScaleW"), - HX_CSTRING("mScaleRect"), - HX_CSTRING("mMatrix"), - HX_CSTRING("mGfx"), - HX_CSTRING("mRoot"), - HX_CSTRING("mSvg"), - HX_CSTRING("height"), - HX_CSTRING("width"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SVGRenderer_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SVGRenderer_obj::__mClass,"__mClass"); -}; - -Class SVGRenderer_obj::__mClass; - -void SVGRenderer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.SVGRenderer"), hx::TCanCast< SVGRenderer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SVGRenderer_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/Text.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/Text.cpp deleted file mode 100644 index c0ca34b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/format/svg/Text.cpp +++ /dev/null @@ -1,221 +0,0 @@ -#include - -#ifndef INCLUDED_format_svg_FillType -#include -#endif -#ifndef INCLUDED_format_svg_Text -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace format{ -namespace svg{ - -Void Text_obj::__construct() -{ -HX_STACK_PUSH("Text::new","format/svg/Text.hx",8); -{ -} -; - return null(); -} - -Text_obj::~Text_obj() { } - -Dynamic Text_obj::__CreateEmpty() { return new Text_obj; } -hx::ObjectPtr< Text_obj > Text_obj::__new() -{ hx::ObjectPtr< Text_obj > result = new Text_obj(); - result->__construct(); - return result;} - -Dynamic Text_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Text_obj > result = new Text_obj(); - result->__construct(); - return result;} - - -Text_obj::Text_obj() -{ -} - -void Text_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Text); - HX_MARK_MEMBER_NAME(letter_spacing,"letter_spacing"); - HX_MARK_MEMBER_NAME(kerning,"kerning"); - HX_MARK_MEMBER_NAME(font_size,"font_size"); - HX_MARK_MEMBER_NAME(font_family,"font_family"); - HX_MARK_MEMBER_NAME(stroke_width,"stroke_width"); - HX_MARK_MEMBER_NAME(stroke_colour,"stroke_colour"); - HX_MARK_MEMBER_NAME(stroke_alpha,"stroke_alpha"); - HX_MARK_MEMBER_NAME(fill_alpha,"fill_alpha"); - HX_MARK_MEMBER_NAME(fill,"fill"); - HX_MARK_MEMBER_NAME(text,"text"); - HX_MARK_MEMBER_NAME(matrix,"matrix"); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_END_CLASS(); -} - -void Text_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(letter_spacing,"letter_spacing"); - HX_VISIT_MEMBER_NAME(kerning,"kerning"); - HX_VISIT_MEMBER_NAME(font_size,"font_size"); - HX_VISIT_MEMBER_NAME(font_family,"font_family"); - HX_VISIT_MEMBER_NAME(stroke_width,"stroke_width"); - HX_VISIT_MEMBER_NAME(stroke_colour,"stroke_colour"); - HX_VISIT_MEMBER_NAME(stroke_alpha,"stroke_alpha"); - HX_VISIT_MEMBER_NAME(fill_alpha,"fill_alpha"); - HX_VISIT_MEMBER_NAME(fill,"fill"); - HX_VISIT_MEMBER_NAME(text,"text"); - HX_VISIT_MEMBER_NAME(matrix,"matrix"); - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(name,"name"); -} - -Dynamic Text_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 4: - if (HX_FIELD_EQ(inName,"fill") ) { return fill; } - if (HX_FIELD_EQ(inName,"text") ) { return text; } - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 6: - if (HX_FIELD_EQ(inName,"matrix") ) { return matrix; } - break; - case 7: - if (HX_FIELD_EQ(inName,"kerning") ) { return kerning; } - break; - case 9: - if (HX_FIELD_EQ(inName,"font_size") ) { return font_size; } - break; - case 10: - if (HX_FIELD_EQ(inName,"fill_alpha") ) { return fill_alpha; } - break; - case 11: - if (HX_FIELD_EQ(inName,"font_family") ) { return font_family; } - break; - case 12: - if (HX_FIELD_EQ(inName,"stroke_width") ) { return stroke_width; } - if (HX_FIELD_EQ(inName,"stroke_alpha") ) { return stroke_alpha; } - break; - case 13: - if (HX_FIELD_EQ(inName,"stroke_colour") ) { return stroke_colour; } - break; - case 14: - if (HX_FIELD_EQ(inName,"letter_spacing") ) { return letter_spacing; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Text_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"fill") ) { fill=inValue.Cast< ::format::svg::FillType >(); return inValue; } - if (HX_FIELD_EQ(inName,"text") ) { text=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"matrix") ) { matrix=inValue.Cast< ::neash::geom::Matrix >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"kerning") ) { kerning=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"font_size") ) { font_size=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"fill_alpha") ) { fill_alpha=inValue.Cast< Float >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"font_family") ) { font_family=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"stroke_width") ) { stroke_width=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"stroke_alpha") ) { stroke_alpha=inValue.Cast< Float >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"stroke_colour") ) { stroke_colour=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"letter_spacing") ) { letter_spacing=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Text_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("letter_spacing")); - outFields->push(HX_CSTRING("kerning")); - outFields->push(HX_CSTRING("font_size")); - outFields->push(HX_CSTRING("font_family")); - outFields->push(HX_CSTRING("stroke_width")); - outFields->push(HX_CSTRING("stroke_colour")); - outFields->push(HX_CSTRING("stroke_alpha")); - outFields->push(HX_CSTRING("fill_alpha")); - outFields->push(HX_CSTRING("fill")); - outFields->push(HX_CSTRING("text")); - outFields->push(HX_CSTRING("matrix")); - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("name")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("letter_spacing"), - HX_CSTRING("kerning"), - HX_CSTRING("font_size"), - HX_CSTRING("font_family"), - HX_CSTRING("stroke_width"), - HX_CSTRING("stroke_colour"), - HX_CSTRING("stroke_alpha"), - HX_CSTRING("fill_alpha"), - HX_CSTRING("fill"), - HX_CSTRING("text"), - HX_CSTRING("matrix"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("name"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Text_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Text_obj::__mClass,"__mClass"); -}; - -Class Text_obj::__mClass; - -void Text_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.Text"), hx::TCanCast< Text_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Text_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/BaseCode.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/BaseCode.cpp deleted file mode 100644 index d8b7f5d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/BaseCode.cpp +++ /dev/null @@ -1,360 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_BaseCode -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -namespace haxe{ - -Void BaseCode_obj::__construct(::haxe::io::Bytes base) -{ -HX_STACK_PUSH("BaseCode::new","/usr/lib/haxe/std/haxe/BaseCode.hx",33); -{ - HX_STACK_LINE(34) - int len = base->length; HX_STACK_VAR(len,"len"); - HX_STACK_LINE(35) - int nbits = (int)1; HX_STACK_VAR(nbits,"nbits"); - HX_STACK_LINE(36) - while(((len > (int((int)1) << int(nbits))))){ - HX_STACK_LINE(37) - (nbits)++; - } - HX_STACK_LINE(38) - if (((bool((nbits > (int)8)) || bool((len != (int((int)1) << int(nbits))))))){ - HX_STACK_LINE(39) - hx::Throw (HX_CSTRING("BaseCode : base length must be a power of two.")); - } - HX_STACK_LINE(40) - this->base = base; - HX_STACK_LINE(41) - this->nbits = nbits; -} -; - return null(); -} - -BaseCode_obj::~BaseCode_obj() { } - -Dynamic BaseCode_obj::__CreateEmpty() { return new BaseCode_obj; } -hx::ObjectPtr< BaseCode_obj > BaseCode_obj::__new(::haxe::io::Bytes base) -{ hx::ObjectPtr< BaseCode_obj > result = new BaseCode_obj(); - result->__construct(base); - return result;} - -Dynamic BaseCode_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BaseCode_obj > result = new BaseCode_obj(); - result->__construct(inArgs[0]); - return result;} - -::String BaseCode_obj::decodeString( ::String s){ - HX_STACK_PUSH("BaseCode::decodeString","/usr/lib/haxe/std/haxe/BaseCode.hx",119); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(119) - return this->decodeBytes(::haxe::io::Bytes_obj::ofString(s))->toString(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BaseCode_obj,decodeString,return ) - -::String BaseCode_obj::encodeString( ::String s){ - HX_STACK_PUSH("BaseCode::encodeString","/usr/lib/haxe/std/haxe/BaseCode.hx",111); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(111) - return this->encodeBytes(::haxe::io::Bytes_obj::ofString(s))->toString(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BaseCode_obj,encodeString,return ) - -::haxe::io::Bytes BaseCode_obj::decodeBytes( ::haxe::io::Bytes b){ - HX_STACK_PUSH("BaseCode::decodeBytes","/usr/lib/haxe/std/haxe/BaseCode.hx",81); - HX_STACK_THIS(this); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(85) - int nbits = this->nbits; HX_STACK_VAR(nbits,"nbits"); - HX_STACK_LINE(86) - ::haxe::io::Bytes base = this->base; HX_STACK_VAR(base,"base"); - HX_STACK_LINE(87) - if (((this->tbl == null()))){ - HX_STACK_LINE(87) - this->initTable(); - } - HX_STACK_LINE(88) - Array< int > tbl = this->tbl; HX_STACK_VAR(tbl,"tbl"); - HX_STACK_LINE(89) - int size = (int((b->length * nbits)) >> int((int)3)); HX_STACK_VAR(size,"size"); - HX_STACK_LINE(90) - ::haxe::io::Bytes out = ::haxe::io::Bytes_obj::alloc(size); HX_STACK_VAR(out,"out"); - HX_STACK_LINE(91) - int buf = (int)0; HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(92) - int curbits = (int)0; HX_STACK_VAR(curbits,"curbits"); - HX_STACK_LINE(93) - int pin = (int)0; HX_STACK_VAR(pin,"pin"); - HX_STACK_LINE(94) - int pout = (int)0; HX_STACK_VAR(pout,"pout"); - HX_STACK_LINE(95) - while(((pout < size))){ - HX_STACK_LINE(96) - while(((curbits < (int)8))){ - HX_STACK_LINE(97) - hx::AddEq(curbits,nbits); - HX_STACK_LINE(98) - hx::ShlEq(buf,nbits); - HX_STACK_LINE(99) - int i = tbl->__get(b->b->__get((pin)++)); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(100) - if (((i == (int)-1))){ - HX_STACK_LINE(101) - hx::Throw (HX_CSTRING("BaseCode : invalid encoded char")); - } - HX_STACK_LINE(102) - hx::OrEq(buf,i); - } - HX_STACK_LINE(104) - hx::SubEq(curbits,(int)8); - HX_STACK_LINE(105) - out->b[(pout)++] = (int((int(buf) >> int(curbits))) & int((int)255)); - } - HX_STACK_LINE(107) - return out; -} - - -HX_DEFINE_DYNAMIC_FUNC1(BaseCode_obj,decodeBytes,return ) - -Void BaseCode_obj::initTable( ){ -{ - HX_STACK_PUSH("BaseCode::initTable","/usr/lib/haxe/std/haxe/BaseCode.hx",72); - HX_STACK_THIS(this); - HX_STACK_LINE(73) - Array< int > tbl = Array_obj< int >::__new(); HX_STACK_VAR(tbl,"tbl"); - HX_STACK_LINE(74) - { - HX_STACK_LINE(74) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(74) - while(((_g < (int)256))){ - HX_STACK_LINE(74) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(75) - tbl[i] = (int)-1; - } - } - HX_STACK_LINE(76) - { - HX_STACK_LINE(76) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->base->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(76) - while(((_g1 < _g))){ - HX_STACK_LINE(76) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(77) - tbl[this->base->b->__get(i)] = i; - } - } - HX_STACK_LINE(78) - this->tbl = tbl; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BaseCode_obj,initTable,(void)) - -::haxe::io::Bytes BaseCode_obj::encodeBytes( ::haxe::io::Bytes b){ - HX_STACK_PUSH("BaseCode::encodeBytes","/usr/lib/haxe/std/haxe/BaseCode.hx",44); - HX_STACK_THIS(this); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(48) - int nbits = this->nbits; HX_STACK_VAR(nbits,"nbits"); - HX_STACK_LINE(49) - ::haxe::io::Bytes base = this->base; HX_STACK_VAR(base,"base"); - HX_STACK_LINE(50) - int size = ::Std_obj::_int((Float((b->length * (int)8)) / Float(nbits))); HX_STACK_VAR(size,"size"); - HX_STACK_LINE(51) - ::haxe::io::Bytes out = ::haxe::io::Bytes_obj::alloc((size + (( (((hx::Mod((b->length * (int)8),nbits) == (int)0))) ? int((int)0) : int((int)1) )))); HX_STACK_VAR(out,"out"); - HX_STACK_LINE(52) - int buf = (int)0; HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(53) - int curbits = (int)0; HX_STACK_VAR(curbits,"curbits"); - HX_STACK_LINE(54) - int mask = (((int((int)1) << int(nbits))) - (int)1); HX_STACK_VAR(mask,"mask"); - HX_STACK_LINE(55) - int pin = (int)0; HX_STACK_VAR(pin,"pin"); - HX_STACK_LINE(56) - int pout = (int)0; HX_STACK_VAR(pout,"pout"); - HX_STACK_LINE(57) - while(((pout < size))){ - HX_STACK_LINE(58) - while(((curbits < nbits))){ - HX_STACK_LINE(59) - hx::AddEq(curbits,(int)8); - HX_STACK_LINE(60) - hx::ShlEq(buf,(int)8); - HX_STACK_LINE(61) - hx::OrEq(buf,b->b->__get((pin)++)); - } - HX_STACK_LINE(63) - hx::SubEq(curbits,nbits); - HX_STACK_LINE(64) - out->b[(pout)++] = base->b->__get((int((int(buf) >> int(curbits))) & int(mask))); - } - HX_STACK_LINE(66) - if (((curbits > (int)0))){ - HX_STACK_LINE(67) - out->b[(pout)++] = base->b->__get((int((int(buf) << int((nbits - curbits)))) & int(mask))); - } - HX_STACK_LINE(68) - return out; -} - - -HX_DEFINE_DYNAMIC_FUNC1(BaseCode_obj,encodeBytes,return ) - -::String BaseCode_obj::encode( ::String s,::String base){ - HX_STACK_PUSH("BaseCode::encode","/usr/lib/haxe/std/haxe/BaseCode.hx",127); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(base,"base"); - HX_STACK_LINE(128) - ::haxe::BaseCode b = ::haxe::BaseCode_obj::__new(::haxe::io::Bytes_obj::ofString(base)); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(129) - return b->encodeString(s); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BaseCode_obj,encode,return ) - -::String BaseCode_obj::decode( ::String s,::String base){ - HX_STACK_PUSH("BaseCode::decode","/usr/lib/haxe/std/haxe/BaseCode.hx",132); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(base,"base"); - HX_STACK_LINE(133) - ::haxe::BaseCode b = ::haxe::BaseCode_obj::__new(::haxe::io::Bytes_obj::ofString(base)); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(134) - return b->decodeString(s); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BaseCode_obj,decode,return ) - - -BaseCode_obj::BaseCode_obj() -{ -} - -void BaseCode_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BaseCode); - HX_MARK_MEMBER_NAME(tbl,"tbl"); - HX_MARK_MEMBER_NAME(nbits,"nbits"); - HX_MARK_MEMBER_NAME(base,"base"); - HX_MARK_END_CLASS(); -} - -void BaseCode_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(tbl,"tbl"); - HX_VISIT_MEMBER_NAME(nbits,"nbits"); - HX_VISIT_MEMBER_NAME(base,"base"); -} - -Dynamic BaseCode_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"tbl") ) { return tbl; } - break; - case 4: - if (HX_FIELD_EQ(inName,"base") ) { return base; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nbits") ) { return nbits; } - break; - case 6: - if (HX_FIELD_EQ(inName,"encode") ) { return encode_dyn(); } - if (HX_FIELD_EQ(inName,"decode") ) { return decode_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"initTable") ) { return initTable_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"decodeBytes") ) { return decodeBytes_dyn(); } - if (HX_FIELD_EQ(inName,"encodeBytes") ) { return encodeBytes_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"decodeString") ) { return decodeString_dyn(); } - if (HX_FIELD_EQ(inName,"encodeString") ) { return encodeString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BaseCode_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"tbl") ) { tbl=inValue.Cast< Array< int > >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"base") ) { base=inValue.Cast< ::haxe::io::Bytes >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nbits") ) { nbits=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BaseCode_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("tbl")); - outFields->push(HX_CSTRING("nbits")); - outFields->push(HX_CSTRING("base")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("encode"), - HX_CSTRING("decode"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("decodeString"), - HX_CSTRING("encodeString"), - HX_CSTRING("decodeBytes"), - HX_CSTRING("initTable"), - HX_CSTRING("encodeBytes"), - HX_CSTRING("tbl"), - HX_CSTRING("nbits"), - HX_CSTRING("base"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BaseCode_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BaseCode_obj::__mClass,"__mClass"); -}; - -Class BaseCode_obj::__mClass; - -void BaseCode_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.BaseCode"), hx::TCanCast< BaseCode_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BaseCode_obj::__boot() -{ -} - -} // end namespace haxe diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/Log.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/Log.cpp deleted file mode 100644 index 0641766..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/Log.cpp +++ /dev/null @@ -1,131 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_Log -#include -#endif -namespace haxe{ - -Void Log_obj::__construct() -{ - return null(); -} - -Log_obj::~Log_obj() { } - -Dynamic Log_obj::__CreateEmpty() { return new Log_obj; } -hx::ObjectPtr< Log_obj > Log_obj::__new() -{ hx::ObjectPtr< Log_obj > result = new Log_obj(); - result->__construct(); - return result;} - -Dynamic Log_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Log_obj > result = new Log_obj(); - result->__construct(); - return result;} - -HX_BEGIN_DEFAULT_FUNC(__default_trace,Log_obj) -Void run(Dynamic v,Dynamic infos){ -{ - HX_STACK_PUSH("Log::trace","/usr/lib/haxe/std/haxe/Log.hx",29); - HX_STACK_ARG(v,"v"); - HX_STACK_ARG(infos,"infos"); - HX_STACK_LINE(29) - __trace(v,infos); - } -return null(); -} -HX_END_LOCAL_FUNC2((void)) -HX_END_DEFAULT_FUNC - -Dynamic Log_obj::trace; - -HX_BEGIN_DEFAULT_FUNC(__default_clear,Log_obj) -Void run(){ -{ - HX_STACK_PUSH("Log::clear","/usr/lib/haxe/std/haxe/Log.hx",54); - } -return null(); -} -HX_END_LOCAL_FUNC0((void)) -HX_END_DEFAULT_FUNC - -Dynamic Log_obj::clear; - - -Log_obj::Log_obj() -{ -} - -void Log_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Log); - HX_MARK_END_CLASS(); -} - -void Log_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Log_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"trace") ) { return trace; } - if (HX_FIELD_EQ(inName,"clear") ) { return clear; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Log_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"trace") ) { trace=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"clear") ) { clear=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Log_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("trace"), - HX_CSTRING("clear"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Log_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Log_obj::trace,"trace"); - HX_MARK_MEMBER_NAME(Log_obj::clear,"clear"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Log_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Log_obj::trace,"trace"); - HX_VISIT_MEMBER_NAME(Log_obj::clear,"clear"); -}; - -Class Log_obj::__mClass; - -void Log_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.Log"), hx::TCanCast< Log_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Log_obj::__boot() -{ - trace = new __default_trace; - - clear = new __default_clear; - -} - -} // end namespace haxe diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/Timer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/Timer.cpp deleted file mode 100644 index c444b2d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/Timer.cpp +++ /dev/null @@ -1,361 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_Timer -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -namespace haxe{ - -Void Timer_obj::__construct(Float time) -{ -HX_STACK_PUSH("Timer::new","haxe/Timer.hx",113); -{ - HX_STACK_LINE(115) - this->mTime = time; - HX_STACK_LINE(116) - ::haxe::Timer_obj::sRunningTimers->push(hx::ObjectPtr(this)); - HX_STACK_LINE(117) - this->mFireAt = (::haxe::Timer_obj::GetMS() + this->mTime); - HX_STACK_LINE(118) - this->mRunning = true; -} -; - return null(); -} - -Timer_obj::~Timer_obj() { } - -Dynamic Timer_obj::__CreateEmpty() { return new Timer_obj; } -hx::ObjectPtr< Timer_obj > Timer_obj::__new(Float time) -{ hx::ObjectPtr< Timer_obj > result = new Timer_obj(); - result->__construct(time); - return result;} - -Dynamic Timer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Timer_obj > result = new Timer_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Timer_obj::nmeCheck( Float inTime){ -{ - HX_STACK_PUSH("Timer::nmeCheck","haxe/Timer.hx",181); - HX_STACK_THIS(this); - HX_STACK_ARG(inTime,"inTime"); - HX_STACK_LINE(181) - if (((inTime >= this->mFireAt))){ - HX_STACK_LINE(185) - hx::AddEq(this->mFireAt,this->mTime); - HX_STACK_LINE(186) - this->run(); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Timer_obj,nmeCheck,(void)) - -Void Timer_obj::stop( ){ -{ - HX_STACK_PUSH("Timer::stop","haxe/Timer.hx",139); - HX_STACK_THIS(this); - HX_STACK_LINE(139) - if ((this->mRunning)){ - HX_STACK_LINE(143) - this->mRunning = false; - HX_STACK_LINE(144) - ::haxe::Timer_obj::sRunningTimers->remove(hx::ObjectPtr(this)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Timer_obj,stop,(void)) - -HX_BEGIN_DEFAULT_FUNC(__default_run,Timer_obj) -Void run(){ -{ - HX_STACK_PUSH("Timer::run","haxe/Timer.hx",132); - HX_STACK_THIS(this); - } -return null(); -} -HX_END_LOCAL_FUNC0((void)) -HX_END_DEFAULT_FUNC - -Array< ::haxe::Timer > Timer_obj::sRunningTimers; - -Dynamic Timer_obj::measure( Dynamic f,Dynamic pos){ - HX_STACK_PUSH("Timer::measure","haxe/Timer.hx",123); - HX_STACK_ARG(f,"f"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(124) - Float t0 = ::haxe::Timer_obj::stamp(); HX_STACK_VAR(t0,"t0"); - HX_STACK_LINE(125) - Dynamic r = f(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(126) - ::haxe::Log_obj::trace(((::haxe::Timer_obj::stamp() - t0) + HX_CSTRING("s")),pos); - HX_STACK_LINE(127) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Timer_obj,measure,return ) - -Float Timer_obj::nmeNextWake( Float limit){ - HX_STACK_PUSH("Timer::nmeNextWake","haxe/Timer.hx",154); - HX_STACK_ARG(limit,"limit"); - HX_STACK_LINE(156) - Float now = (::haxe::Timer_obj::nme_time_stamp() * 1000.0); HX_STACK_VAR(now,"now"); - HX_STACK_LINE(158) - { - HX_STACK_LINE(158) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::haxe::Timer > _g1 = ::haxe::Timer_obj::sRunningTimers; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(158) - while(((_g < _g1->length))){ - HX_STACK_LINE(158) - ::haxe::Timer timer = _g1->__get(_g); HX_STACK_VAR(timer,"timer"); - HX_STACK_LINE(158) - ++(_g); - HX_STACK_LINE(160) - Float sleep = (timer->mFireAt - now); HX_STACK_VAR(sleep,"sleep"); - HX_STACK_LINE(162) - if (((sleep < limit))){ - HX_STACK_LINE(164) - limit = sleep; - HX_STACK_LINE(166) - if (((limit < (int)0))){ - HX_STACK_LINE(166) - return (int)0; - } - } - } - } - HX_STACK_LINE(176) - return (limit * 0.001); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Timer_obj,nmeNextWake,return ) - -Void Timer_obj::nmeCheckTimers( ){ -{ - HX_STACK_PUSH("Timer::nmeCheckTimers","haxe/Timer.hx",196); - HX_STACK_LINE(198) - Float now = ::haxe::Timer_obj::GetMS(); HX_STACK_VAR(now,"now"); - HX_STACK_LINE(200) - { - HX_STACK_LINE(200) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::haxe::Timer > _g1 = ::haxe::Timer_obj::sRunningTimers; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(200) - while(((_g < _g1->length))){ - HX_STACK_LINE(200) - ::haxe::Timer timer = _g1->__get(_g); HX_STACK_VAR(timer,"timer"); - HX_STACK_LINE(200) - ++(_g); - HX_STACK_LINE(202) - timer->nmeCheck(now); - } - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Timer_obj,nmeCheckTimers,(void)) - -Float Timer_obj::GetMS( ){ - HX_STACK_PUSH("Timer::GetMS","haxe/Timer.hx",209); - HX_STACK_LINE(209) - return (::haxe::Timer_obj::stamp() * 1000.0); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Timer_obj,GetMS,return ) - -::haxe::Timer Timer_obj::delay( Dynamic f,int time){ - HX_STACK_PUSH("Timer::delay","haxe/Timer.hx",217); - HX_STACK_ARG(f,"f"); - HX_STACK_ARG(time,"time"); - HX_STACK_LINE(217) - Dynamic f1 = Dynamic( Array_obj::__new().Add(f)); HX_STACK_VAR(f1,"f1"); - HX_STACK_LINE(219) - Array< ::haxe::Timer > t = Array_obj< ::haxe::Timer >::__new().Add(::haxe::Timer_obj::__new(time)); HX_STACK_VAR(t,"t"); - - HX_BEGIN_LOCAL_FUNC_S2(hx::LocalFunc,_Function_1_1,Array< ::haxe::Timer >,t,Dynamic,f1) - Void run(){ - HX_STACK_PUSH("*::_Function_1_1","haxe/Timer.hx",221); - { - HX_STACK_LINE(222) - t->__get((int)0)->stop(); - HX_STACK_LINE(223) - f1->__GetItem((int)0)().Cast< Void >(); - } - return null(); - } - HX_END_LOCAL_FUNC0((void)) - - HX_STACK_LINE(221) - t->__get((int)0)->run = Dynamic(new _Function_1_1(t,f1)); - HX_STACK_LINE(226) - return t->__get((int)0); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Timer_obj,delay,return ) - -Float Timer_obj::stamp( ){ - HX_STACK_PUSH("Timer::stamp","haxe/Timer.hx",231); - HX_STACK_LINE(231) - return ::haxe::Timer_obj::nme_time_stamp(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Timer_obj,stamp,return ) - -Dynamic Timer_obj::nme_time_stamp; - - -Timer_obj::Timer_obj() -{ - run = new __default_run(this); -} - -void Timer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Timer); - HX_MARK_MEMBER_NAME(run,"run"); - HX_MARK_MEMBER_NAME(mRunning,"mRunning"); - HX_MARK_MEMBER_NAME(mFireAt,"mFireAt"); - HX_MARK_MEMBER_NAME(mTime,"mTime"); - HX_MARK_END_CLASS(); -} - -void Timer_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(run,"run"); - HX_VISIT_MEMBER_NAME(mRunning,"mRunning"); - HX_VISIT_MEMBER_NAME(mFireAt,"mFireAt"); - HX_VISIT_MEMBER_NAME(mTime,"mTime"); -} - -Dynamic Timer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"run") ) { return run; } - break; - case 4: - if (HX_FIELD_EQ(inName,"stop") ) { return stop_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"GetMS") ) { return GetMS_dyn(); } - if (HX_FIELD_EQ(inName,"delay") ) { return delay_dyn(); } - if (HX_FIELD_EQ(inName,"stamp") ) { return stamp_dyn(); } - if (HX_FIELD_EQ(inName,"mTime") ) { return mTime; } - break; - case 7: - if (HX_FIELD_EQ(inName,"measure") ) { return measure_dyn(); } - if (HX_FIELD_EQ(inName,"mFireAt") ) { return mFireAt; } - break; - case 8: - if (HX_FIELD_EQ(inName,"nmeCheck") ) { return nmeCheck_dyn(); } - if (HX_FIELD_EQ(inName,"mRunning") ) { return mRunning; } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeNextWake") ) { return nmeNextWake_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"sRunningTimers") ) { return sRunningTimers; } - if (HX_FIELD_EQ(inName,"nmeCheckTimers") ) { return nmeCheckTimers_dyn(); } - if (HX_FIELD_EQ(inName,"nme_time_stamp") ) { return nme_time_stamp; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Timer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"run") ) { run=inValue.Cast< Dynamic >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"mTime") ) { mTime=inValue.Cast< Float >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"mFireAt") ) { mFireAt=inValue.Cast< Float >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"mRunning") ) { mRunning=inValue.Cast< bool >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"sRunningTimers") ) { sRunningTimers=inValue.Cast< Array< ::haxe::Timer > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_time_stamp") ) { nme_time_stamp=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Timer_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mRunning")); - outFields->push(HX_CSTRING("mFireAt")); - outFields->push(HX_CSTRING("mTime")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("sRunningTimers"), - HX_CSTRING("measure"), - HX_CSTRING("nmeNextWake"), - HX_CSTRING("nmeCheckTimers"), - HX_CSTRING("GetMS"), - HX_CSTRING("delay"), - HX_CSTRING("stamp"), - HX_CSTRING("nme_time_stamp"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeCheck"), - HX_CSTRING("stop"), - HX_CSTRING("run"), - HX_CSTRING("mRunning"), - HX_CSTRING("mFireAt"), - HX_CSTRING("mTime"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Timer_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Timer_obj::sRunningTimers,"sRunningTimers"); - HX_MARK_MEMBER_NAME(Timer_obj::nme_time_stamp,"nme_time_stamp"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Timer_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Timer_obj::sRunningTimers,"sRunningTimers"); - HX_VISIT_MEMBER_NAME(Timer_obj::nme_time_stamp,"nme_time_stamp"); -}; - -Class Timer_obj::__mClass; - -void Timer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.Timer"), hx::TCanCast< Timer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Timer_obj::__boot() -{ - sRunningTimers= Array_obj< ::haxe::Timer >::__new(); - nme_time_stamp= ::neash::Loader_obj::load(HX_CSTRING("nme_time_stamp"),(int)0); -} - -} // end namespace haxe diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/io/Bytes.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/io/Bytes.cpp deleted file mode 100644 index 3b45b20..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/io/Bytes.cpp +++ /dev/null @@ -1,420 +0,0 @@ -#include - -#ifndef INCLUDED_StringBuf -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -namespace haxe{ -namespace io{ - -Void Bytes_obj::__construct(int length,Array< unsigned char > b) -{ -HX_STACK_PUSH("Bytes::new","/usr/lib/haxe/std/haxe/io/Bytes.hx",32); -{ - HX_STACK_LINE(33) - this->length = length; - HX_STACK_LINE(34) - this->b = b; -} -; - return null(); -} - -Bytes_obj::~Bytes_obj() { } - -Dynamic Bytes_obj::__CreateEmpty() { return new Bytes_obj; } -hx::ObjectPtr< Bytes_obj > Bytes_obj::__new(int length,Array< unsigned char > b) -{ hx::ObjectPtr< Bytes_obj > result = new Bytes_obj(); - result->__construct(length,b); - return result;} - -Dynamic Bytes_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Bytes_obj > result = new Bytes_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -Array< unsigned char > Bytes_obj::getData( ){ - HX_STACK_PUSH("Bytes::getData","/usr/lib/haxe/std/haxe/io/Bytes.hx",255); - HX_STACK_THIS(this); - HX_STACK_LINE(255) - return this->b; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Bytes_obj,getData,return ) - -::String Bytes_obj::toHex( ){ - HX_STACK_PUSH("Bytes::toHex","/usr/lib/haxe/std/haxe/io/Bytes.hx",241); - HX_STACK_THIS(this); - HX_STACK_LINE(242) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(243) - Array< Dynamic > chars = Array_obj< Dynamic >::__new(); HX_STACK_VAR(chars,"chars"); - HX_STACK_LINE(244) - ::String str = HX_CSTRING("0123456789abcdef"); HX_STACK_VAR(str,"str"); - HX_STACK_LINE(245) - { - HX_STACK_LINE(245) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = str.length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(245) - while(((_g1 < _g))){ - HX_STACK_LINE(245) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(246) - chars->push(str.charCodeAt(i)); - } - } - HX_STACK_LINE(247) - { - HX_STACK_LINE(247) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(247) - while(((_g1 < _g))){ - HX_STACK_LINE(247) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(248) - int c = this->b->__get(i); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(249) - { - HX_STACK_LINE(249) - int c1 = chars->__get((int(c) >> int((int)4))); HX_STACK_VAR(c1,"c1"); - HX_STACK_LINE(249) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode(c1); - } - HX_STACK_LINE(250) - { - HX_STACK_LINE(250) - int c1 = chars->__get((int(c) & int((int)15))); HX_STACK_VAR(c1,"c1"); - HX_STACK_LINE(250) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode(c1); - } - } - } - HX_STACK_LINE(252) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Bytes_obj,toHex,return ) - -::String Bytes_obj::toString( ){ - HX_STACK_PUSH("Bytes::toString","/usr/lib/haxe/std/haxe/io/Bytes.hx",218); - HX_STACK_THIS(this); - HX_STACK_LINE(218) - return this->readString((int)0,this->length); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Bytes_obj,toString,return ) - -::String Bytes_obj::readString( int pos,int len){ - HX_STACK_PUSH("Bytes::readString","/usr/lib/haxe/std/haxe/io/Bytes.hx",168); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(170) - if (((bool((bool((pos < (int)0)) || bool((len < (int)0)))) || bool(((pos + len) > this->length))))){ - HX_STACK_LINE(170) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(182) - ::String result = HX_CSTRING(""); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(183) - ::__hxcpp_string_of_bytes(this->b,result,pos,len); - HX_STACK_LINE(184) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC2(Bytes_obj,readString,return ) - -int Bytes_obj::compare( ::haxe::io::Bytes other){ - HX_STACK_PUSH("Bytes::compare","/usr/lib/haxe/std/haxe/io/Bytes.hx",130); - HX_STACK_THIS(this); - HX_STACK_ARG(other,"other"); - HX_STACK_LINE(154) - Array< unsigned char > b1 = this->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(155) - Array< unsigned char > b2 = other->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(156) - int len = ( (((this->length < other->length))) ? int(this->length) : int(other->length) ); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(157) - { - HX_STACK_LINE(157) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(157) - while(((_g < len))){ - HX_STACK_LINE(157) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(158) - if (((b1->__get(i) != b2->__get(i)))){ - HX_STACK_LINE(160) - return (b1->__get(i) - b2->__get(i)); - } - } - } - HX_STACK_LINE(164) - return (this->length - other->length); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Bytes_obj,compare,return ) - -::haxe::io::Bytes Bytes_obj::sub( int pos,int len){ - HX_STACK_PUSH("Bytes::sub","/usr/lib/haxe/std/haxe/io/Bytes.hx",103); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(105) - if (((bool((bool((pos < (int)0)) || bool((len < (int)0)))) || bool(((pos + len) > this->length))))){ - HX_STACK_LINE(105) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(126) - return ::haxe::io::Bytes_obj::__new(len,this->b->slice(pos,(pos + len))); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Bytes_obj,sub,return ) - -Void Bytes_obj::blit( int pos,::haxe::io::Bytes src,int srcpos,int len){ -{ - HX_STACK_PUSH("Bytes::blit","/usr/lib/haxe/std/haxe/io/Bytes.hx",71); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(src,"src"); - HX_STACK_ARG(srcpos,"srcpos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(73) - if (((bool((bool((bool((bool((pos < (int)0)) || bool((srcpos < (int)0)))) || bool((len < (int)0)))) || bool(((pos + len) > this->length)))) || bool(((srcpos + len) > src->length))))){ - HX_STACK_LINE(73) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(88) - Array< unsigned char > b1 = this->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(89) - Array< unsigned char > b2 = src->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(90) - if (((bool((b1 == b2)) && bool((pos > srcpos))))){ - HX_STACK_LINE(91) - int i = len; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(92) - while(((i > (int)0))){ - HX_STACK_LINE(93) - (i)--; - HX_STACK_LINE(94) - b1[(i + pos)] = b2->__get((i + srcpos)); - } - HX_STACK_LINE(96) - return null(); - } - HX_STACK_LINE(98) - { - HX_STACK_LINE(98) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(98) - while(((_g < len))){ - HX_STACK_LINE(98) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(99) - b1[(i + pos)] = b2->__get((i + srcpos)); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Bytes_obj,blit,(void)) - -Void Bytes_obj::set( int pos,int v){ -{ - HX_STACK_PUSH("Bytes::set","/usr/lib/haxe/std/haxe/io/Bytes.hx",53); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(53) - this->b[pos] = v; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Bytes_obj,set,(void)) - -int Bytes_obj::get( int pos){ - HX_STACK_PUSH("Bytes::get","/usr/lib/haxe/std/haxe/io/Bytes.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(37) - return this->b->__get(pos); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Bytes_obj,get,return ) - -::haxe::io::Bytes Bytes_obj::alloc( int length){ - HX_STACK_PUSH("Bytes::alloc","/usr/lib/haxe/std/haxe/io/Bytes.hx",259); - HX_STACK_ARG(length,"length"); - HX_STACK_LINE(276) - Array< unsigned char > a = Array_obj< unsigned char >::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(277) - if (((length > (int)0))){ - HX_STACK_LINE(277) - a[(length - (int)1)] = (int)0; - } - HX_STACK_LINE(278) - return ::haxe::io::Bytes_obj::__new(length,a); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Bytes_obj,alloc,return ) - -::haxe::io::Bytes Bytes_obj::ofString( ::String s){ - HX_STACK_PUSH("Bytes::ofString","/usr/lib/haxe/std/haxe/io/Bytes.hx",291); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(302) - Array< unsigned char > a = Array_obj< unsigned char >::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(303) - ::__hxcpp_bytes_of_string(a,s); - HX_STACK_LINE(304) - return ::haxe::io::Bytes_obj::__new(a->length,a); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Bytes_obj,ofString,return ) - -::haxe::io::Bytes Bytes_obj::ofData( Array< unsigned char > b){ - HX_STACK_PUSH("Bytes::ofData","/usr/lib/haxe/std/haxe/io/Bytes.hx",340); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(340) - return ::haxe::io::Bytes_obj::__new(b->length,b); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Bytes_obj,ofData,return ) - - -Bytes_obj::Bytes_obj() -{ -} - -void Bytes_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Bytes); - HX_MARK_MEMBER_NAME(b,"b"); - HX_MARK_MEMBER_NAME(length,"length"); - HX_MARK_END_CLASS(); -} - -void Bytes_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(b,"b"); - HX_VISIT_MEMBER_NAME(length,"length"); -} - -Dynamic Bytes_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"b") ) { return b; } - break; - case 3: - if (HX_FIELD_EQ(inName,"sub") ) { return sub_dyn(); } - if (HX_FIELD_EQ(inName,"set") ) { return set_dyn(); } - if (HX_FIELD_EQ(inName,"get") ) { return get_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"blit") ) { return blit_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"alloc") ) { return alloc_dyn(); } - if (HX_FIELD_EQ(inName,"toHex") ) { return toHex_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"ofData") ) { return ofData_dyn(); } - if (HX_FIELD_EQ(inName,"length") ) { return length; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getData") ) { return getData_dyn(); } - if (HX_FIELD_EQ(inName,"compare") ) { return compare_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"ofString") ) { return ofString_dyn(); } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"readString") ) { return readString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Bytes_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"b") ) { b=inValue.Cast< Array< unsigned char > >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { length=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Bytes_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("b")); - outFields->push(HX_CSTRING("length")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("alloc"), - HX_CSTRING("ofString"), - HX_CSTRING("ofData"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getData"), - HX_CSTRING("toHex"), - HX_CSTRING("toString"), - HX_CSTRING("readString"), - HX_CSTRING("compare"), - HX_CSTRING("sub"), - HX_CSTRING("blit"), - HX_CSTRING("set"), - HX_CSTRING("get"), - HX_CSTRING("b"), - HX_CSTRING("length"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Bytes_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Bytes_obj::__mClass,"__mClass"); -}; - -Class Bytes_obj::__mClass; - -void Bytes_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.Bytes"), hx::TCanCast< Bytes_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Bytes_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/io/BytesBuffer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/io/BytesBuffer.cpp deleted file mode 100644 index 47c1905..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/io/BytesBuffer.cpp +++ /dev/null @@ -1,216 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_BytesBuffer -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -namespace haxe{ -namespace io{ - -Void BytesBuffer_obj::__construct() -{ -HX_STACK_PUSH("BytesBuffer::new","/usr/lib/haxe/std/haxe/io/BytesBuffer.hx",45); -{ - HX_STACK_LINE(45) - this->b = Array_obj< unsigned char >::__new(); -} -; - return null(); -} - -BytesBuffer_obj::~BytesBuffer_obj() { } - -Dynamic BytesBuffer_obj::__CreateEmpty() { return new BytesBuffer_obj; } -hx::ObjectPtr< BytesBuffer_obj > BytesBuffer_obj::__new() -{ hx::ObjectPtr< BytesBuffer_obj > result = new BytesBuffer_obj(); - result->__construct(); - return result;} - -Dynamic BytesBuffer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BytesBuffer_obj > result = new BytesBuffer_obj(); - result->__construct(); - return result;} - -::haxe::io::Bytes BytesBuffer_obj::getBytes( ){ - HX_STACK_PUSH("BytesBuffer::getBytes","/usr/lib/haxe/std/haxe/io/BytesBuffer.hx",126); - HX_STACK_THIS(this); - HX_STACK_LINE(142) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::__new(this->b->length,this->b); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(144) - this->b = null(); - HX_STACK_LINE(145) - return bytes; -} - - -HX_DEFINE_DYNAMIC_FUNC0(BytesBuffer_obj,getBytes,return ) - -Void BytesBuffer_obj::addBytes( ::haxe::io::Bytes src,int pos,int len){ -{ - HX_STACK_PUSH("BytesBuffer::addBytes","/usr/lib/haxe/std/haxe/io/BytesBuffer.hx",100); - HX_STACK_THIS(this); - HX_STACK_ARG(src,"src"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(102) - if (((bool((bool((pos < (int)0)) || bool((len < (int)0)))) || bool(((pos + len) > src->length))))){ - HX_STACK_LINE(102) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(115) - Array< unsigned char > b1 = this->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(116) - Array< unsigned char > b2 = src->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(117) - { - HX_STACK_LINE(117) - int _g1 = pos; HX_STACK_VAR(_g1,"_g1"); - int _g = (pos + len); HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(117) - while(((_g1 < _g))){ - HX_STACK_LINE(117) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(118) - this->b->push(b2->__get(i)); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(BytesBuffer_obj,addBytes,(void)) - -Void BytesBuffer_obj::add( ::haxe::io::Bytes src){ -{ - HX_STACK_PUSH("BytesBuffer::add","/usr/lib/haxe/std/haxe/io/BytesBuffer.hx",81); - HX_STACK_THIS(this); - HX_STACK_ARG(src,"src"); - HX_STACK_LINE(93) - Array< unsigned char > b1 = this->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(94) - Array< unsigned char > b2 = src->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(95) - { - HX_STACK_LINE(95) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = src->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(95) - while(((_g1 < _g))){ - HX_STACK_LINE(95) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(96) - this->b->push(b2->__get(i)); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BytesBuffer_obj,add,(void)) - -Void BytesBuffer_obj::addByte( int byte){ -{ - HX_STACK_PUSH("BytesBuffer::addByte","/usr/lib/haxe/std/haxe/io/BytesBuffer.hx",63); - HX_STACK_THIS(this); - HX_STACK_ARG(byte,"byte"); - HX_STACK_LINE(63) - this->b->push(byte); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BytesBuffer_obj,addByte,(void)) - - -BytesBuffer_obj::BytesBuffer_obj() -{ -} - -void BytesBuffer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BytesBuffer); - HX_MARK_MEMBER_NAME(b,"b"); - HX_MARK_END_CLASS(); -} - -void BytesBuffer_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(b,"b"); -} - -Dynamic BytesBuffer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"b") ) { return b; } - break; - case 3: - if (HX_FIELD_EQ(inName,"add") ) { return add_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"addByte") ) { return addByte_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"getBytes") ) { return getBytes_dyn(); } - if (HX_FIELD_EQ(inName,"addBytes") ) { return addBytes_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BytesBuffer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"b") ) { b=inValue.Cast< Array< unsigned char > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BytesBuffer_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("b")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getBytes"), - HX_CSTRING("addBytes"), - HX_CSTRING("add"), - HX_CSTRING("addByte"), - HX_CSTRING("b"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BytesBuffer_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BytesBuffer_obj::__mClass,"__mClass"); -}; - -Class BytesBuffer_obj::__mClass; - -void BytesBuffer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.BytesBuffer"), hx::TCanCast< BytesBuffer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BytesBuffer_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/io/Eof.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/io/Eof.cpp deleted file mode 100644 index 086eb38..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/io/Eof.cpp +++ /dev/null @@ -1,104 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Eof -#include -#endif -namespace haxe{ -namespace io{ - -Void Eof_obj::__construct() -{ -HX_STACK_PUSH("Eof::new","/usr/lib/haxe/std/haxe/io/Eof.hx",31); -{ -} -; - return null(); -} - -Eof_obj::~Eof_obj() { } - -Dynamic Eof_obj::__CreateEmpty() { return new Eof_obj; } -hx::ObjectPtr< Eof_obj > Eof_obj::__new() -{ hx::ObjectPtr< Eof_obj > result = new Eof_obj(); - result->__construct(); - return result;} - -Dynamic Eof_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Eof_obj > result = new Eof_obj(); - result->__construct(); - return result;} - -::String Eof_obj::toString( ){ - HX_STACK_PUSH("Eof::toString","/usr/lib/haxe/std/haxe/io/Eof.hx",33); - HX_STACK_THIS(this); - HX_STACK_LINE(33) - return HX_CSTRING("Eof"); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Eof_obj,toString,return ) - - -Eof_obj::Eof_obj() -{ -} - -void Eof_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Eof); - HX_MARK_END_CLASS(); -} - -void Eof_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Eof_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Eof_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Eof_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Eof_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Eof_obj::__mClass,"__mClass"); -}; - -Class Eof_obj::__mClass; - -void Eof_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.Eof"), hx::TCanCast< Eof_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Eof_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/io/Error.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/io/Error.cpp deleted file mode 100644 index f245d9e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/io/Error.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Error -#include -#endif -namespace haxe{ -namespace io{ - -::haxe::io::Error Error_obj::Blocked; - -::haxe::io::Error Error_obj::Custom(Dynamic e) - { return hx::CreateEnum< Error_obj >(HX_CSTRING("Custom"),3,hx::DynamicArray(0,1).Add(e)); } - -::haxe::io::Error Error_obj::OutsideBounds; - -::haxe::io::Error Error_obj::Overflow; - -HX_DEFINE_CREATE_ENUM(Error_obj) - -int Error_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("Blocked")) return 0; - if (inName==HX_CSTRING("Custom")) return 3; - if (inName==HX_CSTRING("OutsideBounds")) return 2; - if (inName==HX_CSTRING("Overflow")) return 1; - return super::__FindIndex(inName); -} - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Error_obj,Custom,return) - -int Error_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("Blocked")) return 0; - if (inName==HX_CSTRING("Custom")) return 1; - if (inName==HX_CSTRING("OutsideBounds")) return 0; - if (inName==HX_CSTRING("Overflow")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic Error_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("Blocked")) return Blocked; - if (inName==HX_CSTRING("Custom")) return Custom_dyn(); - if (inName==HX_CSTRING("OutsideBounds")) return OutsideBounds; - if (inName==HX_CSTRING("Overflow")) return Overflow; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("Blocked"), - HX_CSTRING("Overflow"), - HX_CSTRING("OutsideBounds"), - HX_CSTRING("Custom"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Error_obj::Blocked,"Blocked"); - HX_MARK_MEMBER_NAME(Error_obj::OutsideBounds,"OutsideBounds"); - HX_MARK_MEMBER_NAME(Error_obj::Overflow,"Overflow"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Error_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Error_obj::Blocked,"Blocked"); - HX_VISIT_MEMBER_NAME(Error_obj::OutsideBounds,"OutsideBounds"); - HX_VISIT_MEMBER_NAME(Error_obj::Overflow,"Overflow"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class Error_obj::__mClass; - -Dynamic __Create_Error_obj() { return new Error_obj; } - -void Error_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.Error"), hx::TCanCast< Error_obj >,sStaticFields,sMemberFields, - &__Create_Error_obj, &__Create, - &super::__SGetClass(), &CreateError_obj, sMarkStatics, sVisitStatic); -} - -void Error_obj::__boot() -{ -Static(Blocked) = hx::CreateEnum< Error_obj >(HX_CSTRING("Blocked"),0); -Static(OutsideBounds) = hx::CreateEnum< Error_obj >(HX_CSTRING("OutsideBounds"),2); -Static(Overflow) = hx::CreateEnum< Error_obj >(HX_CSTRING("Overflow"),1); -} - - -} // end namespace haxe -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/io/Input.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/io/Input.cpp deleted file mode 100644 index 8ee4015..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/io/Input.cpp +++ /dev/null @@ -1,651 +0,0 @@ -#include - -#ifndef INCLUDED_StringBuf -#include -#endif -#ifndef INCLUDED_cpp_CppInt32__ -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_BytesBuffer -#include -#endif -#ifndef INCLUDED_haxe_io_Eof -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -namespace haxe{ -namespace io{ - -Void Input_obj::__construct() -{ - return null(); -} - -Input_obj::~Input_obj() { } - -Dynamic Input_obj::__CreateEmpty() { return new Input_obj; } -hx::ObjectPtr< Input_obj > Input_obj::__new() -{ hx::ObjectPtr< Input_obj > result = new Input_obj(); - result->__construct(); - return result;} - -Dynamic Input_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Input_obj > result = new Input_obj(); - result->__construct(); - return result;} - -::String Input_obj::readString( int len){ - HX_STACK_PUSH("Input::readString","/usr/lib/haxe/std/haxe/io/Input.hx",408); - HX_STACK_THIS(this); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(409) - ::haxe::io::Bytes b = ::haxe::io::Bytes_obj::alloc(len); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(410) - this->readFullBytes(b,(int)0,len); - HX_STACK_LINE(414) - return b->toString(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Input_obj,readString,return ) - -::cpp::CppInt32__ Input_obj::readInt32( ){ - HX_STACK_PUSH("Input::readInt32","/usr/lib/haxe/std/haxe/io/Input.hx",393); - HX_STACK_THIS(this); - HX_STACK_LINE(394) - int ch1 = this->readByte(); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(395) - int ch2 = this->readByte(); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(396) - int ch3 = this->readByte(); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(397) - int ch4 = this->readByte(); HX_STACK_VAR(ch4,"ch4"); - HX_STACK_LINE(404) - return ( ((this->bigEndian)) ? ::cpp::CppInt32__(::cpp::CppInt32___obj::make((int((int(ch1) << int((int)8))) | int(ch2)),(int((int(ch3) << int((int)8))) | int(ch4)))) : ::cpp::CppInt32__(::cpp::CppInt32___obj::make((int((int(ch4) << int((int)8))) | int(ch3)),(int((int(ch2) << int((int)8))) | int(ch1)))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readInt32,return ) - -int Input_obj::readUInt30( ){ - HX_STACK_PUSH("Input::readUInt30","/usr/lib/haxe/std/haxe/io/Input.hx",384); - HX_STACK_THIS(this); - HX_STACK_LINE(385) - int ch1 = this->readByte(); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(386) - int ch2 = this->readByte(); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(387) - int ch3 = this->readByte(); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(388) - int ch4 = this->readByte(); HX_STACK_VAR(ch4,"ch4"); - HX_STACK_LINE(389) - if ((((( ((this->bigEndian)) ? int(ch1) : int(ch4) )) >= (int)64))){ - HX_STACK_LINE(389) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(390) - return ( ((this->bigEndian)) ? int((int((int((int(ch4) | int((int(ch3) << int((int)8))))) | int((int(ch2) << int((int)16))))) | int((int(ch1) << int((int)24))))) : int((int((int((int(ch1) | int((int(ch2) << int((int)8))))) | int((int(ch3) << int((int)16))))) | int((int(ch4) << int((int)24))))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readUInt30,return ) - -int Input_obj::readInt31( ){ - HX_STACK_PUSH("Input::readInt31","/usr/lib/haxe/std/haxe/io/Input.hx",367); - HX_STACK_THIS(this); - HX_STACK_LINE(368) - int ch1; HX_STACK_VAR(ch1,"ch1"); - int ch2; HX_STACK_VAR(ch2,"ch2"); - int ch3; HX_STACK_VAR(ch3,"ch3"); - int ch4; HX_STACK_VAR(ch4,"ch4"); - HX_STACK_LINE(369) - if ((this->bigEndian)){ - HX_STACK_LINE(370) - ch4 = this->readByte(); - HX_STACK_LINE(371) - ch3 = this->readByte(); - HX_STACK_LINE(372) - ch2 = this->readByte(); - HX_STACK_LINE(373) - ch1 = this->readByte(); - } - else{ - HX_STACK_LINE(375) - ch1 = this->readByte(); - HX_STACK_LINE(376) - ch2 = this->readByte(); - HX_STACK_LINE(377) - ch3 = this->readByte(); - HX_STACK_LINE(378) - ch4 = this->readByte(); - } - HX_STACK_LINE(380) - if ((((((int(ch4) & int((int)128))) == (int)0) != ((((int(ch4) & int((int)64))) == (int)0))))){ - HX_STACK_LINE(380) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(381) - return (int((int((int(ch1) | int((int(ch2) << int((int)8))))) | int((int(ch3) << int((int)16))))) | int((int(ch4) << int((int)24)))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readInt31,return ) - -int Input_obj::readUInt24( ){ - HX_STACK_PUSH("Input::readUInt24","/usr/lib/haxe/std/haxe/io/Input.hx",360); - HX_STACK_THIS(this); - HX_STACK_LINE(361) - int ch1 = this->readByte(); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(362) - int ch2 = this->readByte(); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(363) - int ch3 = this->readByte(); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(364) - return ( ((this->bigEndian)) ? int((int((int(ch3) | int((int(ch2) << int((int)8))))) | int((int(ch1) << int((int)16))))) : int((int((int(ch1) | int((int(ch2) << int((int)8))))) | int((int(ch3) << int((int)16))))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readUInt24,return ) - -int Input_obj::readInt24( ){ - HX_STACK_PUSH("Input::readInt24","/usr/lib/haxe/std/haxe/io/Input.hx",350); - HX_STACK_THIS(this); - HX_STACK_LINE(351) - int ch1 = this->readByte(); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(352) - int ch2 = this->readByte(); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(353) - int ch3 = this->readByte(); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(354) - int n = ( ((this->bigEndian)) ? int((int((int(ch3) | int((int(ch2) << int((int)8))))) | int((int(ch1) << int((int)16))))) : int((int((int(ch1) | int((int(ch2) << int((int)8))))) | int((int(ch3) << int((int)16))))) ); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(355) - if (((((int(n) & int((int)8388608))) != (int)0))){ - HX_STACK_LINE(356) - return (n - (int)16777216); - } - HX_STACK_LINE(357) - return n; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readInt24,return ) - -int Input_obj::readUInt16( ){ - HX_STACK_PUSH("Input::readUInt16","/usr/lib/haxe/std/haxe/io/Input.hx",344); - HX_STACK_THIS(this); - HX_STACK_LINE(345) - int ch1 = this->readByte(); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(346) - int ch2 = this->readByte(); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(347) - return ( ((this->bigEndian)) ? int((int(ch2) | int((int(ch1) << int((int)8))))) : int((int(ch1) | int((int(ch2) << int((int)8))))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readUInt16,return ) - -int Input_obj::readInt16( ){ - HX_STACK_PUSH("Input::readInt16","/usr/lib/haxe/std/haxe/io/Input.hx",335); - HX_STACK_THIS(this); - HX_STACK_LINE(336) - int ch1 = this->readByte(); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(337) - int ch2 = this->readByte(); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(338) - int n = ( ((this->bigEndian)) ? int((int(ch2) | int((int(ch1) << int((int)8))))) : int((int(ch1) | int((int(ch2) << int((int)8))))) ); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(339) - if (((((int(n) & int((int)32768))) != (int)0))){ - HX_STACK_LINE(340) - return (n - (int)65536); - } - HX_STACK_LINE(341) - return n; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readInt16,return ) - -int Input_obj::readInt8( ){ - HX_STACK_PUSH("Input::readInt8","/usr/lib/haxe/std/haxe/io/Input.hx",328); - HX_STACK_THIS(this); - HX_STACK_LINE(329) - int n = this->readByte(); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(330) - if (((n >= (int)128))){ - HX_STACK_LINE(331) - return (n - (int)256); - } - HX_STACK_LINE(332) - return n; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readInt8,return ) - -Float Input_obj::readDouble( ){ - HX_STACK_PUSH("Input::readDouble","/usr/lib/haxe/std/haxe/io/Input.hx",255); - HX_STACK_THIS(this); - HX_STACK_LINE(255) - return ::haxe::io::Input_obj::_double_of_bytes(this->read((int)8)->b,this->bigEndian); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readDouble,return ) - -Float Input_obj::readFloat( ){ - HX_STACK_PUSH("Input::readFloat","/usr/lib/haxe/std/haxe/io/Input.hx",201); - HX_STACK_THIS(this); - HX_STACK_LINE(201) - return ::haxe::io::Input_obj::_float_of_bytes(this->read((int)4)->b,this->bigEndian); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readFloat,return ) - -::String Input_obj::readLine( ){ - HX_STACK_PUSH("Input::readLine","/usr/lib/haxe/std/haxe/io/Input.hx",184); - HX_STACK_THIS(this); - HX_STACK_LINE(185) - ::StringBuf buf = ::StringBuf_obj::__new(); HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(186) - int last; HX_STACK_VAR(last,"last"); - HX_STACK_LINE(187) - ::String s; HX_STACK_VAR(s,"s"); - HX_STACK_LINE(188) - try{ - HX_STACK_LINE(189) - while((((last = this->readByte()) != (int)10))){ - HX_STACK_LINE(190) - hx::IndexRef((buf->b).mPtr,buf->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode(last); - } - HX_STACK_LINE(191) - s = buf->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); - HX_STACK_LINE(192) - if (((s.charCodeAt((s.length - (int)1)) == (int)13))){ - HX_STACK_LINE(192) - s = s.substr((int)0,(int)-1); - } - } - catch(Dynamic __e){ - if (__e.IsClass< ::haxe::io::Eof >() ){ - ::haxe::io::Eof e = __e;{ - HX_STACK_LINE(194) - s = buf->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); - HX_STACK_LINE(195) - if (((s.length == (int)0))){ - HX_STACK_LINE(196) - hx::Throw (e); - } - } - } - else throw(__e); - } - HX_STACK_LINE(198) - return s; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readLine,return ) - -::String Input_obj::readUntil( int end){ - HX_STACK_PUSH("Input::readUntil","/usr/lib/haxe/std/haxe/io/Input.hx",176); - HX_STACK_THIS(this); - HX_STACK_ARG(end,"end"); - HX_STACK_LINE(177) - ::StringBuf buf = ::StringBuf_obj::__new(); HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(178) - int last; HX_STACK_VAR(last,"last"); - HX_STACK_LINE(179) - while((((last = this->readByte()) != end))){ - HX_STACK_LINE(180) - hx::IndexRef((buf->b).mPtr,buf->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode(last); - } - HX_STACK_LINE(181) - return buf->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Input_obj,readUntil,return ) - -::haxe::io::Bytes Input_obj::read( int nbytes){ - HX_STACK_PUSH("Input::read","/usr/lib/haxe/std/haxe/io/Input.hx",164); - HX_STACK_THIS(this); - HX_STACK_ARG(nbytes,"nbytes"); - HX_STACK_LINE(165) - ::haxe::io::Bytes s = ::haxe::io::Bytes_obj::alloc(nbytes); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(166) - int p = (int)0; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(167) - while(((nbytes > (int)0))){ - HX_STACK_LINE(168) - int k = this->readBytes(s,p,nbytes); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(169) - if (((k == (int)0))){ - HX_STACK_LINE(169) - hx::Throw (::haxe::io::Error_obj::Blocked_dyn()); - } - HX_STACK_LINE(170) - hx::AddEq(p,k); - HX_STACK_LINE(171) - hx::SubEq(nbytes,k); - } - HX_STACK_LINE(173) - return s; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Input_obj,read,return ) - -Void Input_obj::readFullBytes( ::haxe::io::Bytes s,int pos,int len){ -{ - HX_STACK_PUSH("Input::readFullBytes","/usr/lib/haxe/std/haxe/io/Input.hx",156); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(156) - while(((len > (int)0))){ - HX_STACK_LINE(158) - int k = this->readBytes(s,pos,len); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(159) - hx::AddEq(pos,k); - HX_STACK_LINE(160) - hx::SubEq(len,k); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Input_obj,readFullBytes,(void)) - -::haxe::io::Bytes Input_obj::readAll( Dynamic bufsize){ - HX_STACK_PUSH("Input::readAll","/usr/lib/haxe/std/haxe/io/Input.hx",80); - HX_STACK_THIS(this); - HX_STACK_ARG(bufsize,"bufsize"); - HX_STACK_LINE(81) - if (((bufsize == null()))){ - HX_STACK_LINE(85) - bufsize = (int)16384; - } - HX_STACK_LINE(141) - ::haxe::io::Bytes buf = ::haxe::io::Bytes_obj::alloc(bufsize); HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(142) - ::haxe::io::BytesBuffer total = ::haxe::io::BytesBuffer_obj::__new(); HX_STACK_VAR(total,"total"); - HX_STACK_LINE(143) - try{ - HX_STACK_LINE(143) - while((true)){ - HX_STACK_LINE(145) - int len = this->readBytes(buf,(int)0,bufsize); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(146) - if (((len == (int)0))){ - HX_STACK_LINE(147) - hx::Throw (::haxe::io::Error_obj::Blocked_dyn()); - } - HX_STACK_LINE(148) - { - HX_STACK_LINE(148) - if (((bool((len < (int)0)) || bool((len > buf->length))))){ - HX_STACK_LINE(148) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(148) - Array< unsigned char > b1 = total->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(148) - Array< unsigned char > b2 = buf->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(148) - { - HX_STACK_LINE(148) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = len; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(148) - while(((_g1 < _g))){ - HX_STACK_LINE(148) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(148) - total->b->push(b2->__get(i)); - } - } - } - } - } - catch(Dynamic __e){ - if (__e.IsClass< ::haxe::io::Eof >() ){ - ::haxe::io::Eof e = __e;{ - } - } - else throw(__e); - } - HX_STACK_LINE(152) - return total->getBytes(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Input_obj,readAll,return ) - -bool Input_obj::setEndian( bool b){ - HX_STACK_PUSH("Input::setEndian","/usr/lib/haxe/std/haxe/io/Input.hx",73); - HX_STACK_THIS(this); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(74) - this->bigEndian = b; - HX_STACK_LINE(75) - return b; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Input_obj,setEndian,return ) - -Void Input_obj::close( ){ -{ - HX_STACK_PUSH("Input::close","/usr/lib/haxe/std/haxe/io/Input.hx",70); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,close,(void)) - -int Input_obj::readBytes( ::haxe::io::Bytes s,int pos,int len){ - HX_STACK_PUSH("Input::readBytes","/usr/lib/haxe/std/haxe/io/Input.hx",49); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(50) - int k = len; HX_STACK_VAR(k,"k"); - HX_STACK_LINE(51) - Array< unsigned char > b = s->b; HX_STACK_VAR(b,"b"); - HX_STACK_LINE(52) - if (((bool((bool((pos < (int)0)) || bool((len < (int)0)))) || bool(((pos + len) > s->length))))){ - HX_STACK_LINE(53) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(54) - while(((k > (int)0))){ - HX_STACK_LINE(60) - b[pos] = this->readByte(); - HX_STACK_LINE(64) - (pos)++; - HX_STACK_LINE(65) - (k)--; - } - HX_STACK_LINE(67) - return len; -} - - -HX_DEFINE_DYNAMIC_FUNC3(Input_obj,readBytes,return ) - -int Input_obj::readByte( ){ - HX_STACK_PUSH("Input::readByte","/usr/lib/haxe/std/haxe/io/Input.hx",40); - HX_STACK_THIS(this); - HX_STACK_LINE(42) - hx::Throw (HX_CSTRING("Not implemented")); - HX_STACK_LINE(43) - return (int)0; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readByte,return ) - -Dynamic Input_obj::_float_of_bytes; - -Dynamic Input_obj::_double_of_bytes; - - -Input_obj::Input_obj() -{ -} - -void Input_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Input); - HX_MARK_MEMBER_NAME(bigEndian,"bigEndian"); - HX_MARK_END_CLASS(); -} - -void Input_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(bigEndian,"bigEndian"); -} - -Dynamic Input_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"read") ) { return read_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"readAll") ) { return readAll_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"readInt8") ) { return readInt8_dyn(); } - if (HX_FIELD_EQ(inName,"readLine") ) { return readLine_dyn(); } - if (HX_FIELD_EQ(inName,"readByte") ) { return readByte_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"readInt32") ) { return readInt32_dyn(); } - if (HX_FIELD_EQ(inName,"readInt31") ) { return readInt31_dyn(); } - if (HX_FIELD_EQ(inName,"readInt24") ) { return readInt24_dyn(); } - if (HX_FIELD_EQ(inName,"readInt16") ) { return readInt16_dyn(); } - if (HX_FIELD_EQ(inName,"readFloat") ) { return readFloat_dyn(); } - if (HX_FIELD_EQ(inName,"readUntil") ) { return readUntil_dyn(); } - if (HX_FIELD_EQ(inName,"setEndian") ) { return setEndian_dyn(); } - if (HX_FIELD_EQ(inName,"readBytes") ) { return readBytes_dyn(); } - if (HX_FIELD_EQ(inName,"bigEndian") ) { return bigEndian; } - break; - case 10: - if (HX_FIELD_EQ(inName,"readString") ) { return readString_dyn(); } - if (HX_FIELD_EQ(inName,"readUInt30") ) { return readUInt30_dyn(); } - if (HX_FIELD_EQ(inName,"readUInt24") ) { return readUInt24_dyn(); } - if (HX_FIELD_EQ(inName,"readUInt16") ) { return readUInt16_dyn(); } - if (HX_FIELD_EQ(inName,"readDouble") ) { return readDouble_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"readFullBytes") ) { return readFullBytes_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"_float_of_bytes") ) { return _float_of_bytes; } - break; - case 16: - if (HX_FIELD_EQ(inName,"_double_of_bytes") ) { return _double_of_bytes; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Input_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"bigEndian") ) { if (inCallProp) return setEndian(inValue);bigEndian=inValue.Cast< bool >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_float_of_bytes") ) { _float_of_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"_double_of_bytes") ) { _double_of_bytes=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Input_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("bigEndian")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("_float_of_bytes"), - HX_CSTRING("_double_of_bytes"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("readString"), - HX_CSTRING("readInt32"), - HX_CSTRING("readUInt30"), - HX_CSTRING("readInt31"), - HX_CSTRING("readUInt24"), - HX_CSTRING("readInt24"), - HX_CSTRING("readUInt16"), - HX_CSTRING("readInt16"), - HX_CSTRING("readInt8"), - HX_CSTRING("readDouble"), - HX_CSTRING("readFloat"), - HX_CSTRING("readLine"), - HX_CSTRING("readUntil"), - HX_CSTRING("read"), - HX_CSTRING("readFullBytes"), - HX_CSTRING("readAll"), - HX_CSTRING("setEndian"), - HX_CSTRING("close"), - HX_CSTRING("readBytes"), - HX_CSTRING("readByte"), - HX_CSTRING("bigEndian"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Input_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Input_obj::_float_of_bytes,"_float_of_bytes"); - HX_MARK_MEMBER_NAME(Input_obj::_double_of_bytes,"_double_of_bytes"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Input_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Input_obj::_float_of_bytes,"_float_of_bytes"); - HX_VISIT_MEMBER_NAME(Input_obj::_double_of_bytes,"_double_of_bytes"); -}; - -Class Input_obj::__mClass; - -void Input_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.Input"), hx::TCanCast< Input_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Input_obj::__boot() -{ - _float_of_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("float_of_bytes"),(int)2); - _double_of_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("double_of_bytes"),(int)2); -} - -} // end namespace haxe -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/io/Output.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/io/Output.cpp deleted file mode 100644 index c3f67b4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/io/Output.cpp +++ /dev/null @@ -1,679 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_cpp_CppInt32__ -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Eof -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -#ifndef INCLUDED_haxe_io_Output -#include -#endif -namespace haxe{ -namespace io{ - -Void Output_obj::__construct() -{ - return null(); -} - -Output_obj::~Output_obj() { } - -Dynamic Output_obj::__CreateEmpty() { return new Output_obj; } -hx::ObjectPtr< Output_obj > Output_obj::__new() -{ hx::ObjectPtr< Output_obj > result = new Output_obj(); - result->__construct(); - return result;} - -Dynamic Output_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Output_obj > result = new Output_obj(); - result->__construct(); - return result;} - -Void Output_obj::writeString( ::String s){ -{ - HX_STACK_PUSH("Output::writeString","/usr/lib/haxe/std/haxe/io/Output.hx",348); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(352) - ::haxe::io::Bytes b = ::haxe::io::Bytes_obj::ofString(s); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(354) - this->writeFullBytes(b,(int)0,b->length); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeString,(void)) - -Void Output_obj::writeInput( ::haxe::io::Input i,Dynamic bufsize){ -{ - HX_STACK_PUSH("Output::writeInput","/usr/lib/haxe/std/haxe/io/Output.hx",326); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); - HX_STACK_ARG(bufsize,"bufsize"); - HX_STACK_LINE(327) - if (((bufsize == null()))){ - HX_STACK_LINE(328) - bufsize = (int)4096; - } - HX_STACK_LINE(329) - ::haxe::io::Bytes buf = ::haxe::io::Bytes_obj::alloc(bufsize); HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(330) - try{ - HX_STACK_LINE(330) - while((true)){ - HX_STACK_LINE(332) - int len = i->readBytes(buf,(int)0,bufsize); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(333) - if (((len == (int)0))){ - HX_STACK_LINE(334) - hx::Throw (::haxe::io::Error_obj::Blocked_dyn()); - } - HX_STACK_LINE(335) - int p = (int)0; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(336) - while(((len > (int)0))){ - HX_STACK_LINE(337) - int k = this->writeBytes(buf,p,len); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(338) - if (((k == (int)0))){ - HX_STACK_LINE(339) - hx::Throw (::haxe::io::Error_obj::Blocked_dyn()); - } - HX_STACK_LINE(340) - hx::AddEq(p,k); - HX_STACK_LINE(341) - hx::SubEq(len,k); - } - } - } - catch(Dynamic __e){ - if (__e.IsClass< ::haxe::io::Eof >() ){ - ::haxe::io::Eof e = __e;{ - } - } - else throw(__e); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Output_obj,writeInput,(void)) - -Void Output_obj::prepare( int nbytes){ -{ - HX_STACK_PUSH("Output::prepare","/usr/lib/haxe/std/haxe/io/Output.hx",323); - HX_STACK_THIS(this); - HX_STACK_ARG(nbytes,"nbytes"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,prepare,(void)) - -Void Output_obj::writeInt32( ::cpp::CppInt32__ x){ -{ - HX_STACK_PUSH("Output::writeInt32","/usr/lib/haxe/std/haxe/io/Output.hx",303); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(303) - if ((this->bigEndian)){ - HX_STACK_LINE(305) - this->writeByte(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::ushr(x,(int)24))); - HX_STACK_LINE(306) - this->writeByte((int(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::ushr(x,(int)16))) & int((int)255))); - HX_STACK_LINE(307) - this->writeByte((int(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::ushr(x,(int)8))) & int((int)255))); - HX_STACK_LINE(308) - this->writeByte(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::_and(x,::cpp::CppInt32___obj::ofInt((int)255)))); - } - else{ - HX_STACK_LINE(310) - this->writeByte(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::_and(x,::cpp::CppInt32___obj::ofInt((int)255)))); - HX_STACK_LINE(311) - this->writeByte((int(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::ushr(x,(int)8))) & int((int)255))); - HX_STACK_LINE(312) - this->writeByte((int(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::ushr(x,(int)16))) & int((int)255))); - HX_STACK_LINE(313) - this->writeByte(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::ushr(x,(int)24))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeInt32,(void)) - -Void Output_obj::writeUInt30( int x){ -{ - HX_STACK_PUSH("Output::writeUInt30","/usr/lib/haxe/std/haxe/io/Output.hx",288); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(289) - if (((bool((x < (int)0)) || bool((x >= (int)1073741824))))){ - HX_STACK_LINE(289) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(290) - if ((this->bigEndian)){ - HX_STACK_LINE(291) - this->writeByte(hx::UShr(x,(int)24)); - HX_STACK_LINE(292) - this->writeByte((int((int(x) >> int((int)16))) & int((int)255))); - HX_STACK_LINE(293) - this->writeByte((int((int(x) >> int((int)8))) & int((int)255))); - HX_STACK_LINE(294) - this->writeByte((int(x) & int((int)255))); - } - else{ - HX_STACK_LINE(296) - this->writeByte((int(x) & int((int)255))); - HX_STACK_LINE(297) - this->writeByte((int((int(x) >> int((int)8))) & int((int)255))); - HX_STACK_LINE(298) - this->writeByte((int((int(x) >> int((int)16))) & int((int)255))); - HX_STACK_LINE(299) - this->writeByte(hx::UShr(x,(int)24)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeUInt30,(void)) - -Void Output_obj::writeInt31( int x){ -{ - HX_STACK_PUSH("Output::writeInt31","/usr/lib/haxe/std/haxe/io/Output.hx",271); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(273) - if (((bool((x < (int)-1073741824)) || bool((x >= (int)1073741824))))){ - HX_STACK_LINE(273) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(275) - if ((this->bigEndian)){ - HX_STACK_LINE(276) - this->writeByte(hx::UShr(x,(int)24)); - HX_STACK_LINE(277) - this->writeByte((int((int(x) >> int((int)16))) & int((int)255))); - HX_STACK_LINE(278) - this->writeByte((int((int(x) >> int((int)8))) & int((int)255))); - HX_STACK_LINE(279) - this->writeByte((int(x) & int((int)255))); - } - else{ - HX_STACK_LINE(281) - this->writeByte((int(x) & int((int)255))); - HX_STACK_LINE(282) - this->writeByte((int((int(x) >> int((int)8))) & int((int)255))); - HX_STACK_LINE(283) - this->writeByte((int((int(x) >> int((int)16))) & int((int)255))); - HX_STACK_LINE(284) - this->writeByte(hx::UShr(x,(int)24)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeInt31,(void)) - -Void Output_obj::writeUInt24( int x){ -{ - HX_STACK_PUSH("Output::writeUInt24","/usr/lib/haxe/std/haxe/io/Output.hx",258); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(259) - if (((bool((x < (int)0)) || bool((x >= (int)16777216))))){ - HX_STACK_LINE(259) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(260) - if ((this->bigEndian)){ - HX_STACK_LINE(261) - this->writeByte((int(x) >> int((int)16))); - HX_STACK_LINE(262) - this->writeByte((int((int(x) >> int((int)8))) & int((int)255))); - HX_STACK_LINE(263) - this->writeByte((int(x) & int((int)255))); - } - else{ - HX_STACK_LINE(265) - this->writeByte((int(x) & int((int)255))); - HX_STACK_LINE(266) - this->writeByte((int((int(x) >> int((int)8))) & int((int)255))); - HX_STACK_LINE(267) - this->writeByte((int(x) >> int((int)16))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeUInt24,(void)) - -Void Output_obj::writeInt24( int x){ -{ - HX_STACK_PUSH("Output::writeInt24","/usr/lib/haxe/std/haxe/io/Output.hx",253); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(254) - if (((bool((x < (int)-8388608)) || bool((x >= (int)8388608))))){ - HX_STACK_LINE(254) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(255) - this->writeUInt24((int(x) & int((int)16777215))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeInt24,(void)) - -Void Output_obj::writeUInt16( int x){ -{ - HX_STACK_PUSH("Output::writeUInt16","/usr/lib/haxe/std/haxe/io/Output.hx",242); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(243) - if (((bool((x < (int)0)) || bool((x >= (int)65536))))){ - HX_STACK_LINE(243) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(244) - if ((this->bigEndian)){ - HX_STACK_LINE(245) - this->writeByte((int(x) >> int((int)8))); - HX_STACK_LINE(246) - this->writeByte((int(x) & int((int)255))); - } - else{ - HX_STACK_LINE(248) - this->writeByte((int(x) & int((int)255))); - HX_STACK_LINE(249) - this->writeByte((int(x) >> int((int)8))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeUInt16,(void)) - -Void Output_obj::writeInt16( int x){ -{ - HX_STACK_PUSH("Output::writeInt16","/usr/lib/haxe/std/haxe/io/Output.hx",237); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(238) - if (((bool((x < (int)-32768)) || bool((x >= (int)32768))))){ - HX_STACK_LINE(238) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(239) - this->writeUInt16((int(x) & int((int)65535))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeInt16,(void)) - -Void Output_obj::writeInt8( int x){ -{ - HX_STACK_PUSH("Output::writeInt8","/usr/lib/haxe/std/haxe/io/Output.hx",231); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(232) - if (((bool((x < (int)-128)) || bool((x >= (int)128))))){ - HX_STACK_LINE(233) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(234) - this->writeByte((int(x) & int((int)255))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeInt8,(void)) - -Void Output_obj::writeDouble( Float x){ -{ - HX_STACK_PUSH("Output::writeDouble","/usr/lib/haxe/std/haxe/io/Output.hx",154); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(154) - this->write(::haxe::io::Bytes_obj::ofData(::haxe::io::Output_obj::_double_bytes(x,this->bigEndian))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeDouble,(void)) - -Void Output_obj::writeFloat( Float x){ -{ - HX_STACK_PUSH("Output::writeFloat","/usr/lib/haxe/std/haxe/io/Output.hx",100); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(100) - this->write(::haxe::io::Bytes_obj::ofData(::haxe::io::Output_obj::_float_bytes(x,this->bigEndian))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeFloat,(void)) - -Void Output_obj::writeFullBytes( ::haxe::io::Bytes s,int pos,int len){ -{ - HX_STACK_PUSH("Output::writeFullBytes","/usr/lib/haxe/std/haxe/io/Output.hx",92); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(92) - while(((len > (int)0))){ - HX_STACK_LINE(94) - int k = this->writeBytes(s,pos,len); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(95) - hx::AddEq(pos,k); - HX_STACK_LINE(96) - hx::SubEq(len,k); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Output_obj,writeFullBytes,(void)) - -Void Output_obj::write( ::haxe::io::Bytes s){ -{ - HX_STACK_PUSH("Output::write","/usr/lib/haxe/std/haxe/io/Output.hx",81); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(82) - int l = s->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(83) - int p = (int)0; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(84) - while(((l > (int)0))){ - HX_STACK_LINE(85) - int k = this->writeBytes(s,p,l); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(86) - if (((k == (int)0))){ - HX_STACK_LINE(86) - hx::Throw (::haxe::io::Error_obj::Blocked_dyn()); - } - HX_STACK_LINE(87) - hx::AddEq(p,k); - HX_STACK_LINE(88) - hx::SubEq(l,k); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,write,(void)) - -bool Output_obj::setEndian( bool b){ - HX_STACK_PUSH("Output::setEndian","/usr/lib/haxe/std/haxe/io/Output.hx",74); - HX_STACK_THIS(this); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(75) - this->bigEndian = b; - HX_STACK_LINE(76) - return b; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,setEndian,return ) - -Void Output_obj::close( ){ -{ - HX_STACK_PUSH("Output::close","/usr/lib/haxe/std/haxe/io/Output.hx",71); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Output_obj,close,(void)) - -Void Output_obj::flush( ){ -{ - HX_STACK_PUSH("Output::flush","/usr/lib/haxe/std/haxe/io/Output.hx",68); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Output_obj,flush,(void)) - -int Output_obj::writeBytes( ::haxe::io::Bytes s,int pos,int len){ - HX_STACK_PUSH("Output::writeBytes","/usr/lib/haxe/std/haxe/io/Output.hx",45); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(46) - int k = len; HX_STACK_VAR(k,"k"); - HX_STACK_LINE(47) - Array< unsigned char > b = s->b; HX_STACK_VAR(b,"b"); - HX_STACK_LINE(49) - if (((bool((bool((pos < (int)0)) || bool((len < (int)0)))) || bool(((pos + len) > s->length))))){ - HX_STACK_LINE(50) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(52) - while(((k > (int)0))){ - HX_STACK_LINE(58) - this->writeByte(b->__get(pos)); - HX_STACK_LINE(62) - (pos)++; - HX_STACK_LINE(63) - (k)--; - } - HX_STACK_LINE(65) - return len; -} - - -HX_DEFINE_DYNAMIC_FUNC3(Output_obj,writeBytes,return ) - -Void Output_obj::writeByte( int c){ -{ - HX_STACK_PUSH("Output::writeByte","/usr/lib/haxe/std/haxe/io/Output.hx",41); - HX_STACK_THIS(this); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(41) - hx::Throw (HX_CSTRING("Not implemented")); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeByte,(void)) - -Float Output_obj::LN2; - -Dynamic Output_obj::_float_bytes; - -Dynamic Output_obj::_double_bytes; - - -Output_obj::Output_obj() -{ -} - -void Output_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Output); - HX_MARK_MEMBER_NAME(bigEndian,"bigEndian"); - HX_MARK_END_CLASS(); -} - -void Output_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(bigEndian,"bigEndian"); -} - -Dynamic Output_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"LN2") ) { return LN2; } - break; - case 5: - if (HX_FIELD_EQ(inName,"write") ) { return write_dyn(); } - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"flush") ) { return flush_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"prepare") ) { return prepare_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"writeInt8") ) { return writeInt8_dyn(); } - if (HX_FIELD_EQ(inName,"setEndian") ) { return setEndian_dyn(); } - if (HX_FIELD_EQ(inName,"writeByte") ) { return writeByte_dyn(); } - if (HX_FIELD_EQ(inName,"bigEndian") ) { return bigEndian; } - break; - case 10: - if (HX_FIELD_EQ(inName,"writeInput") ) { return writeInput_dyn(); } - if (HX_FIELD_EQ(inName,"writeInt32") ) { return writeInt32_dyn(); } - if (HX_FIELD_EQ(inName,"writeInt31") ) { return writeInt31_dyn(); } - if (HX_FIELD_EQ(inName,"writeInt24") ) { return writeInt24_dyn(); } - if (HX_FIELD_EQ(inName,"writeInt16") ) { return writeInt16_dyn(); } - if (HX_FIELD_EQ(inName,"writeFloat") ) { return writeFloat_dyn(); } - if (HX_FIELD_EQ(inName,"writeBytes") ) { return writeBytes_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"writeString") ) { return writeString_dyn(); } - if (HX_FIELD_EQ(inName,"writeUInt30") ) { return writeUInt30_dyn(); } - if (HX_FIELD_EQ(inName,"writeUInt24") ) { return writeUInt24_dyn(); } - if (HX_FIELD_EQ(inName,"writeUInt16") ) { return writeUInt16_dyn(); } - if (HX_FIELD_EQ(inName,"writeDouble") ) { return writeDouble_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_float_bytes") ) { return _float_bytes; } - break; - case 13: - if (HX_FIELD_EQ(inName,"_double_bytes") ) { return _double_bytes; } - break; - case 14: - if (HX_FIELD_EQ(inName,"writeFullBytes") ) { return writeFullBytes_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Output_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"LN2") ) { LN2=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"bigEndian") ) { if (inCallProp) return setEndian(inValue);bigEndian=inValue.Cast< bool >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_float_bytes") ) { _float_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"_double_bytes") ) { _double_bytes=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Output_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("bigEndian")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("LN2"), - HX_CSTRING("_float_bytes"), - HX_CSTRING("_double_bytes"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("writeString"), - HX_CSTRING("writeInput"), - HX_CSTRING("prepare"), - HX_CSTRING("writeInt32"), - HX_CSTRING("writeUInt30"), - HX_CSTRING("writeInt31"), - HX_CSTRING("writeUInt24"), - HX_CSTRING("writeInt24"), - HX_CSTRING("writeUInt16"), - HX_CSTRING("writeInt16"), - HX_CSTRING("writeInt8"), - HX_CSTRING("writeDouble"), - HX_CSTRING("writeFloat"), - HX_CSTRING("writeFullBytes"), - HX_CSTRING("write"), - HX_CSTRING("setEndian"), - HX_CSTRING("close"), - HX_CSTRING("flush"), - HX_CSTRING("writeBytes"), - HX_CSTRING("writeByte"), - HX_CSTRING("bigEndian"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Output_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Output_obj::LN2,"LN2"); - HX_MARK_MEMBER_NAME(Output_obj::_float_bytes,"_float_bytes"); - HX_MARK_MEMBER_NAME(Output_obj::_double_bytes,"_double_bytes"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Output_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Output_obj::LN2,"LN2"); - HX_VISIT_MEMBER_NAME(Output_obj::_float_bytes,"_float_bytes"); - HX_VISIT_MEMBER_NAME(Output_obj::_double_bytes,"_double_bytes"); -}; - -Class Output_obj::__mClass; - -void Output_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.Output"), hx::TCanCast< Output_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Output_obj::__boot() -{ - LN2= ::Math_obj::log((int)2); - _float_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("float_bytes"),(int)2); - _double_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("double_bytes"),(int)2); -} - -} // end namespace haxe -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/xml/Fast.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/xml/Fast.cpp deleted file mode 100644 index 08023af..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/xml/Fast.cpp +++ /dev/null @@ -1,349 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_StringBuf -#include -#endif -#ifndef INCLUDED_StringTools -#include -#endif -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_XmlType -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasAttribAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasNodeAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_NodeAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_NodeListAccess -#include -#endif -namespace haxe{ -namespace xml{ - -Void Fast_obj::__construct(::Xml x) -{ -HX_STACK_PUSH("Fast::new","/usr/lib/haxe/std/haxe/xml/Fast.hx",125); -{ - HX_STACK_LINE(126) - if (((bool((x->nodeType != ::Xml_obj::Document)) && bool((x->nodeType != ::Xml_obj::Element))))){ - HX_STACK_LINE(127) - hx::Throw ((HX_CSTRING("Invalid nodeType ") + ::Std_obj::string(x->nodeType))); - } - HX_STACK_LINE(128) - this->x = x; - HX_STACK_LINE(129) - this->node = ::haxe::xml::_Fast::NodeAccess_obj::__new(x); - HX_STACK_LINE(130) - this->nodes = ::haxe::xml::_Fast::NodeListAccess_obj::__new(x); - HX_STACK_LINE(131) - this->att = ::haxe::xml::_Fast::AttribAccess_obj::__new(x); - HX_STACK_LINE(132) - this->has = ::haxe::xml::_Fast::HasAttribAccess_obj::__new(x); - HX_STACK_LINE(133) - this->hasNode = ::haxe::xml::_Fast::HasNodeAccess_obj::__new(x); -} -; - return null(); -} - -Fast_obj::~Fast_obj() { } - -Dynamic Fast_obj::__CreateEmpty() { return new Fast_obj; } -hx::ObjectPtr< Fast_obj > Fast_obj::__new(::Xml x) -{ hx::ObjectPtr< Fast_obj > result = new Fast_obj(); - result->__construct(x); - return result;} - -Dynamic Fast_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Fast_obj > result = new Fast_obj(); - result->__construct(inArgs[0]); - return result;} - -Dynamic Fast_obj::getElements( ){ - HX_STACK_PUSH("Fast::getElements","/usr/lib/haxe/std/haxe/xml/Fast.hx",167); - HX_STACK_THIS(this); - HX_STACK_LINE(168) - Dynamic it = Dynamic( Array_obj::__new().Add(this->x->elements())); HX_STACK_VAR(it,"it"); - struct _Function_1_1{ - inline static Dynamic Block( Dynamic &it){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/haxe/xml/Fast.hx",169); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("hasNext") , it->__GetItem((int)0)->__Field(HX_CSTRING("hasNext"),true),false); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_2_1,Dynamic,it) - ::haxe::xml::Fast run(){ - HX_STACK_PUSH("*::_Function_2_1","/usr/lib/haxe/std/haxe/xml/Fast.hx",171); - { - HX_STACK_LINE(172) - ::Xml x = it->__GetItem((int)0)->__Field(HX_CSTRING("next"),true)(); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(173) - if (((x == null()))){ - HX_STACK_LINE(174) - return null(); - } - HX_STACK_LINE(175) - return ::haxe::xml::Fast_obj::__new(x); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("next") , Dynamic(new _Function_2_1(it)),true); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(169) - return _Function_1_1::Block(it); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Fast_obj,getElements,return ) - -::String Fast_obj::getInnerHTML( ){ - HX_STACK_PUSH("Fast::getInnerHTML","/usr/lib/haxe/std/haxe/xml/Fast.hx",160); - HX_STACK_THIS(this); - HX_STACK_LINE(161) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(162) - for(::cpp::FastIterator_obj< ::Xml > *__it = ::cpp::CreateFastIterator< ::Xml >(this->x->iterator()); __it->hasNext(); ){ - ::Xml x = __it->next(); - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = x->toString(); - } - HX_STACK_LINE(164) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Fast_obj,getInnerHTML,return ) - -::String Fast_obj::getInnerData( ){ - HX_STACK_PUSH("Fast::getInnerData","/usr/lib/haxe/std/haxe/xml/Fast.hx",140); - HX_STACK_THIS(this); - HX_STACK_LINE(141) - Dynamic it = this->x->iterator(); HX_STACK_VAR(it,"it"); - HX_STACK_LINE(142) - if ((!(it->__Field(HX_CSTRING("hasNext"),true)()))){ - HX_STACK_LINE(143) - hx::Throw ((this->getName() + HX_CSTRING(" does not have data"))); - } - HX_STACK_LINE(144) - ::Xml v = it->__Field(HX_CSTRING("next"),true)(); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(145) - ::Xml n = it->__Field(HX_CSTRING("next"),true)(); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(146) - if (((n != null()))){ - HX_STACK_LINE(148) - if (((bool((bool((v->nodeType == ::Xml_obj::PCData)) && bool((n->nodeType == ::Xml_obj::CData)))) && bool((::StringTools_obj::trim(v->getNodeValue()) == HX_CSTRING("")))))){ - HX_STACK_LINE(149) - ::Xml n2 = it->__Field(HX_CSTRING("next"),true)(); HX_STACK_VAR(n2,"n2"); - HX_STACK_LINE(150) - if (((bool((n2 == null())) || bool((bool((bool((n2->nodeType == ::Xml_obj::PCData)) && bool((::StringTools_obj::trim(n2->getNodeValue()) == HX_CSTRING(""))))) && bool((it->__Field(HX_CSTRING("next"),true)() == null()))))))){ - HX_STACK_LINE(151) - return n->getNodeValue(); - } - } - HX_STACK_LINE(153) - hx::Throw ((this->getName() + HX_CSTRING(" does not only have data"))); - } - HX_STACK_LINE(155) - if (((bool((v->nodeType != ::Xml_obj::PCData)) && bool((v->nodeType != ::Xml_obj::CData))))){ - HX_STACK_LINE(156) - hx::Throw ((this->getName() + HX_CSTRING(" does not have data"))); - } - HX_STACK_LINE(157) - return v->getNodeValue(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Fast_obj,getInnerData,return ) - -::String Fast_obj::getName( ){ - HX_STACK_PUSH("Fast::getName","/usr/lib/haxe/std/haxe/xml/Fast.hx",136); - HX_STACK_THIS(this); - HX_STACK_LINE(136) - return ( (((this->x->nodeType == ::Xml_obj::Document))) ? ::String(HX_CSTRING("Document")) : ::String(this->x->getNodeName()) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Fast_obj,getName,return ) - - -Fast_obj::Fast_obj() -{ -} - -void Fast_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Fast); - HX_MARK_MEMBER_NAME(elements,"elements"); - HX_MARK_MEMBER_NAME(hasNode,"hasNode"); - HX_MARK_MEMBER_NAME(has,"has"); - HX_MARK_MEMBER_NAME(att,"att"); - HX_MARK_MEMBER_NAME(nodes,"nodes"); - HX_MARK_MEMBER_NAME(node,"node"); - HX_MARK_MEMBER_NAME(innerHTML,"innerHTML"); - HX_MARK_MEMBER_NAME(innerData,"innerData"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_END_CLASS(); -} - -void Fast_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(elements,"elements"); - HX_VISIT_MEMBER_NAME(hasNode,"hasNode"); - HX_VISIT_MEMBER_NAME(has,"has"); - HX_VISIT_MEMBER_NAME(att,"att"); - HX_VISIT_MEMBER_NAME(nodes,"nodes"); - HX_VISIT_MEMBER_NAME(node,"node"); - HX_VISIT_MEMBER_NAME(innerHTML,"innerHTML"); - HX_VISIT_MEMBER_NAME(innerData,"innerData"); - HX_VISIT_MEMBER_NAME(name,"name"); - HX_VISIT_MEMBER_NAME(x,"x"); -} - -Dynamic Fast_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 3: - if (HX_FIELD_EQ(inName,"has") ) { return has; } - if (HX_FIELD_EQ(inName,"att") ) { return att; } - break; - case 4: - if (HX_FIELD_EQ(inName,"node") ) { return node; } - if (HX_FIELD_EQ(inName,"name") ) { return inCallProp ? getName() : name; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nodes") ) { return nodes; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getName") ) { return getName_dyn(); } - if (HX_FIELD_EQ(inName,"hasNode") ) { return hasNode; } - break; - case 8: - if (HX_FIELD_EQ(inName,"elements") ) { return inCallProp ? getElements() : elements; } - break; - case 9: - if (HX_FIELD_EQ(inName,"innerHTML") ) { return inCallProp ? getInnerHTML() : innerHTML; } - if (HX_FIELD_EQ(inName,"innerData") ) { return inCallProp ? getInnerData() : innerData; } - break; - case 11: - if (HX_FIELD_EQ(inName,"getElements") ) { return getElements_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"getInnerHTML") ) { return getInnerHTML_dyn(); } - if (HX_FIELD_EQ(inName,"getInnerData") ) { return getInnerData_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Fast_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< ::Xml >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"has") ) { has=inValue.Cast< ::haxe::xml::_Fast::HasAttribAccess >(); return inValue; } - if (HX_FIELD_EQ(inName,"att") ) { att=inValue.Cast< ::haxe::xml::_Fast::AttribAccess >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"node") ) { node=inValue.Cast< ::haxe::xml::_Fast::NodeAccess >(); return inValue; } - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nodes") ) { nodes=inValue.Cast< ::haxe::xml::_Fast::NodeListAccess >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"hasNode") ) { hasNode=inValue.Cast< ::haxe::xml::_Fast::HasNodeAccess >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"elements") ) { elements=inValue.Cast< Dynamic >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"innerHTML") ) { innerHTML=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"innerData") ) { innerData=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Fast_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("elements")); - outFields->push(HX_CSTRING("hasNode")); - outFields->push(HX_CSTRING("has")); - outFields->push(HX_CSTRING("att")); - outFields->push(HX_CSTRING("nodes")); - outFields->push(HX_CSTRING("node")); - outFields->push(HX_CSTRING("innerHTML")); - outFields->push(HX_CSTRING("innerData")); - outFields->push(HX_CSTRING("name")); - outFields->push(HX_CSTRING("x")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getElements"), - HX_CSTRING("getInnerHTML"), - HX_CSTRING("getInnerData"), - HX_CSTRING("getName"), - HX_CSTRING("elements"), - HX_CSTRING("hasNode"), - HX_CSTRING("has"), - HX_CSTRING("att"), - HX_CSTRING("nodes"), - HX_CSTRING("node"), - HX_CSTRING("innerHTML"), - HX_CSTRING("innerData"), - HX_CSTRING("name"), - HX_CSTRING("x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Fast_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Fast_obj::__mClass,"__mClass"); -}; - -Class Fast_obj::__mClass; - -void Fast_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.xml.Fast"), hx::TCanCast< Fast_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Fast_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace xml diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/xml/_Fast/AttribAccess.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/xml/_Fast/AttribAccess.cpp deleted file mode 100644 index ec7a752..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/xml/_Fast/AttribAccess.cpp +++ /dev/null @@ -1,145 +0,0 @@ -#include - -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_XmlType -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#include -#endif -namespace haxe{ -namespace xml{ -namespace _Fast{ - -Void AttribAccess_obj::__construct(::Xml x) -{ -HX_STACK_PUSH("AttribAccess::new","/usr/lib/haxe/std/haxe/xml/Fast.hx",50); -{ - HX_STACK_LINE(50) - this->__x = x; -} -; - return null(); -} - -AttribAccess_obj::~AttribAccess_obj() { } - -Dynamic AttribAccess_obj::__CreateEmpty() { return new AttribAccess_obj; } -hx::ObjectPtr< AttribAccess_obj > AttribAccess_obj::__new(::Xml x) -{ hx::ObjectPtr< AttribAccess_obj > result = new AttribAccess_obj(); - result->__construct(x); - return result;} - -Dynamic AttribAccess_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< AttribAccess_obj > result = new AttribAccess_obj(); - result->__construct(inArgs[0]); - return result;} - -::String AttribAccess_obj::resolve( ::String name){ - HX_STACK_PUSH("AttribAccess::resolve","/usr/lib/haxe/std/haxe/xml/Fast.hx",54); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(55) - if (((this->__x->nodeType == ::Xml_obj::Document))){ - HX_STACK_LINE(56) - hx::Throw ((HX_CSTRING("Cannot access document attribute ") + name)); - } - HX_STACK_LINE(57) - ::String v = this->__x->get(name); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(58) - if (((v == null()))){ - HX_STACK_LINE(59) - hx::Throw (((this->__x->getNodeName() + HX_CSTRING(" is missing attribute ")) + name)); - } - HX_STACK_LINE(60) - return v; -} - - -HX_DEFINE_DYNAMIC_FUNC1(AttribAccess_obj,resolve,return ) - - -AttribAccess_obj::AttribAccess_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void AttribAccess_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(AttribAccess); - HX_MARK_DYNAMIC; - HX_MARK_MEMBER_NAME(__x,"__x"); - HX_MARK_END_CLASS(); -} - -void AttribAccess_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; - HX_VISIT_MEMBER_NAME(__x,"__x"); -} - -Dynamic AttribAccess_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { return __x; } - break; - case 7: - if (HX_FIELD_EQ(inName,"resolve") ) { return resolve_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic AttribAccess_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { __x=inValue.Cast< ::Xml >(); return inValue; } - } - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void AttribAccess_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__x")); - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("resolve"), - HX_CSTRING("__x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(AttribAccess_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(AttribAccess_obj::__mClass,"__mClass"); -}; - -Class AttribAccess_obj::__mClass; - -void AttribAccess_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.xml._Fast.AttribAccess"), hx::TCanCast< AttribAccess_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void AttribAccess_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/xml/_Fast/HasAttribAccess.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/xml/_Fast/HasAttribAccess.cpp deleted file mode 100644 index d763c45..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/xml/_Fast/HasAttribAccess.cpp +++ /dev/null @@ -1,138 +0,0 @@ -#include - -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_XmlType -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasAttribAccess -#include -#endif -namespace haxe{ -namespace xml{ -namespace _Fast{ - -Void HasAttribAccess_obj::__construct(::Xml x) -{ -HX_STACK_PUSH("HasAttribAccess::new","/usr/lib/haxe/std/haxe/xml/Fast.hx",69); -{ - HX_STACK_LINE(69) - this->__x = x; -} -; - return null(); -} - -HasAttribAccess_obj::~HasAttribAccess_obj() { } - -Dynamic HasAttribAccess_obj::__CreateEmpty() { return new HasAttribAccess_obj; } -hx::ObjectPtr< HasAttribAccess_obj > HasAttribAccess_obj::__new(::Xml x) -{ hx::ObjectPtr< HasAttribAccess_obj > result = new HasAttribAccess_obj(); - result->__construct(x); - return result;} - -Dynamic HasAttribAccess_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< HasAttribAccess_obj > result = new HasAttribAccess_obj(); - result->__construct(inArgs[0]); - return result;} - -bool HasAttribAccess_obj::resolve( ::String name){ - HX_STACK_PUSH("HasAttribAccess::resolve","/usr/lib/haxe/std/haxe/xml/Fast.hx",73); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(74) - if (((this->__x->nodeType == ::Xml_obj::Document))){ - HX_STACK_LINE(75) - hx::Throw ((HX_CSTRING("Cannot access document attribute ") + name)); - } - HX_STACK_LINE(76) - return this->__x->exists(name); -} - - -HX_DEFINE_DYNAMIC_FUNC1(HasAttribAccess_obj,resolve,return ) - - -HasAttribAccess_obj::HasAttribAccess_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void HasAttribAccess_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(HasAttribAccess); - HX_MARK_DYNAMIC; - HX_MARK_MEMBER_NAME(__x,"__x"); - HX_MARK_END_CLASS(); -} - -void HasAttribAccess_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; - HX_VISIT_MEMBER_NAME(__x,"__x"); -} - -Dynamic HasAttribAccess_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { return __x; } - break; - case 7: - if (HX_FIELD_EQ(inName,"resolve") ) { return resolve_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic HasAttribAccess_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { __x=inValue.Cast< ::Xml >(); return inValue; } - } - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void HasAttribAccess_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__x")); - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("resolve"), - HX_CSTRING("__x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(HasAttribAccess_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(HasAttribAccess_obj::__mClass,"__mClass"); -}; - -Class HasAttribAccess_obj::__mClass; - -void HasAttribAccess_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.xml._Fast.HasAttribAccess"), hx::TCanCast< HasAttribAccess_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void HasAttribAccess_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/xml/_Fast/HasNodeAccess.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/xml/_Fast/HasNodeAccess.cpp deleted file mode 100644 index a8de795..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/xml/_Fast/HasNodeAccess.cpp +++ /dev/null @@ -1,130 +0,0 @@ -#include - -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasNodeAccess -#include -#endif -namespace haxe{ -namespace xml{ -namespace _Fast{ - -Void HasNodeAccess_obj::__construct(::Xml x) -{ -HX_STACK_PUSH("HasNodeAccess::new","/usr/lib/haxe/std/haxe/xml/Fast.hx",85); -{ - HX_STACK_LINE(85) - this->__x = x; -} -; - return null(); -} - -HasNodeAccess_obj::~HasNodeAccess_obj() { } - -Dynamic HasNodeAccess_obj::__CreateEmpty() { return new HasNodeAccess_obj; } -hx::ObjectPtr< HasNodeAccess_obj > HasNodeAccess_obj::__new(::Xml x) -{ hx::ObjectPtr< HasNodeAccess_obj > result = new HasNodeAccess_obj(); - result->__construct(x); - return result;} - -Dynamic HasNodeAccess_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< HasNodeAccess_obj > result = new HasNodeAccess_obj(); - result->__construct(inArgs[0]); - return result;} - -bool HasNodeAccess_obj::resolve( ::String name){ - HX_STACK_PUSH("HasNodeAccess::resolve","/usr/lib/haxe/std/haxe/xml/Fast.hx",89); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(89) - return this->__x->elementsNamed(name)->__Field(HX_CSTRING("hasNext"),true)(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(HasNodeAccess_obj,resolve,return ) - - -HasNodeAccess_obj::HasNodeAccess_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void HasNodeAccess_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(HasNodeAccess); - HX_MARK_DYNAMIC; - HX_MARK_MEMBER_NAME(__x,"__x"); - HX_MARK_END_CLASS(); -} - -void HasNodeAccess_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; - HX_VISIT_MEMBER_NAME(__x,"__x"); -} - -Dynamic HasNodeAccess_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { return __x; } - break; - case 7: - if (HX_FIELD_EQ(inName,"resolve") ) { return resolve_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic HasNodeAccess_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { __x=inValue.Cast< ::Xml >(); return inValue; } - } - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void HasNodeAccess_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__x")); - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("resolve"), - HX_CSTRING("__x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(HasNodeAccess_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(HasNodeAccess_obj::__mClass,"__mClass"); -}; - -Class HasNodeAccess_obj::__mClass; - -void HasNodeAccess_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.xml._Fast.HasNodeAccess"), hx::TCanCast< HasNodeAccess_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void HasNodeAccess_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/xml/_Fast/NodeAccess.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/xml/_Fast/NodeAccess.cpp deleted file mode 100644 index 1130f41..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/xml/_Fast/NodeAccess.cpp +++ /dev/null @@ -1,145 +0,0 @@ -#include - -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_XmlType -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_NodeAccess -#include -#endif -namespace haxe{ -namespace xml{ -namespace _Fast{ - -Void NodeAccess_obj::__construct(::Xml x) -{ -HX_STACK_PUSH("NodeAccess::new","/usr/lib/haxe/std/haxe/xml/Fast.hx",31); -{ - HX_STACK_LINE(31) - this->__x = x; -} -; - return null(); -} - -NodeAccess_obj::~NodeAccess_obj() { } - -Dynamic NodeAccess_obj::__CreateEmpty() { return new NodeAccess_obj; } -hx::ObjectPtr< NodeAccess_obj > NodeAccess_obj::__new(::Xml x) -{ hx::ObjectPtr< NodeAccess_obj > result = new NodeAccess_obj(); - result->__construct(x); - return result;} - -Dynamic NodeAccess_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< NodeAccess_obj > result = new NodeAccess_obj(); - result->__construct(inArgs[0]); - return result;} - -::haxe::xml::Fast NodeAccess_obj::resolve( ::String name){ - HX_STACK_PUSH("NodeAccess::resolve","/usr/lib/haxe/std/haxe/xml/Fast.hx",35); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(36) - ::Xml x = this->__x->elementsNamed(name)->__Field(HX_CSTRING("next"),true)(); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(37) - if (((x == null()))){ - HX_STACK_LINE(38) - ::String xname = ( (((this->__x->nodeType == ::Xml_obj::Document))) ? ::String(HX_CSTRING("Document")) : ::String(this->__x->getNodeName()) ); HX_STACK_VAR(xname,"xname"); - HX_STACK_LINE(39) - hx::Throw (((xname + HX_CSTRING(" is missing element ")) + name)); - } - HX_STACK_LINE(41) - return ::haxe::xml::Fast_obj::__new(x); -} - - -HX_DEFINE_DYNAMIC_FUNC1(NodeAccess_obj,resolve,return ) - - -NodeAccess_obj::NodeAccess_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void NodeAccess_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(NodeAccess); - HX_MARK_DYNAMIC; - HX_MARK_MEMBER_NAME(__x,"__x"); - HX_MARK_END_CLASS(); -} - -void NodeAccess_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; - HX_VISIT_MEMBER_NAME(__x,"__x"); -} - -Dynamic NodeAccess_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { return __x; } - break; - case 7: - if (HX_FIELD_EQ(inName,"resolve") ) { return resolve_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic NodeAccess_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { __x=inValue.Cast< ::Xml >(); return inValue; } - } - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void NodeAccess_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__x")); - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("resolve"), - HX_CSTRING("__x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(NodeAccess_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(NodeAccess_obj::__mClass,"__mClass"); -}; - -Class NodeAccess_obj::__mClass; - -void NodeAccess_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.xml._Fast.NodeAccess"), hx::TCanCast< NodeAccess_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void NodeAccess_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/xml/_Fast/NodeListAccess.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/xml/_Fast/NodeListAccess.cpp deleted file mode 100644 index 784487a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/haxe/xml/_Fast/NodeListAccess.cpp +++ /dev/null @@ -1,143 +0,0 @@ -#include - -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_NodeListAccess -#include -#endif -namespace haxe{ -namespace xml{ -namespace _Fast{ - -Void NodeListAccess_obj::__construct(::Xml x) -{ -HX_STACK_PUSH("NodeListAccess::new","/usr/lib/haxe/std/haxe/xml/Fast.hx",99); -{ - HX_STACK_LINE(99) - this->__x = x; -} -; - return null(); -} - -NodeListAccess_obj::~NodeListAccess_obj() { } - -Dynamic NodeListAccess_obj::__CreateEmpty() { return new NodeListAccess_obj; } -hx::ObjectPtr< NodeListAccess_obj > NodeListAccess_obj::__new(::Xml x) -{ hx::ObjectPtr< NodeListAccess_obj > result = new NodeListAccess_obj(); - result->__construct(x); - return result;} - -Dynamic NodeListAccess_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< NodeListAccess_obj > result = new NodeListAccess_obj(); - result->__construct(inArgs[0]); - return result;} - -::List NodeListAccess_obj::resolve( ::String name){ - HX_STACK_PUSH("NodeListAccess::resolve","/usr/lib/haxe/std/haxe/xml/Fast.hx",103); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(104) - ::List l = ::List_obj::__new(); HX_STACK_VAR(l,"l"); - HX_STACK_LINE(105) - for(::cpp::FastIterator_obj< ::Xml > *__it = ::cpp::CreateFastIterator< ::Xml >(this->__x->elementsNamed(name)); __it->hasNext(); ){ - ::Xml x = __it->next(); - l->add(::haxe::xml::Fast_obj::__new(x)); - } - HX_STACK_LINE(107) - return l; -} - - -HX_DEFINE_DYNAMIC_FUNC1(NodeListAccess_obj,resolve,return ) - - -NodeListAccess_obj::NodeListAccess_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void NodeListAccess_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(NodeListAccess); - HX_MARK_DYNAMIC; - HX_MARK_MEMBER_NAME(__x,"__x"); - HX_MARK_END_CLASS(); -} - -void NodeListAccess_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; - HX_VISIT_MEMBER_NAME(__x,"__x"); -} - -Dynamic NodeListAccess_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { return __x; } - break; - case 7: - if (HX_FIELD_EQ(inName,"resolve") ) { return resolve_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic NodeListAccess_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { __x=inValue.Cast< ::Xml >(); return inValue; } - } - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void NodeListAccess_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__x")); - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("resolve"), - HX_CSTRING("__x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(NodeListAccess_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(NodeListAccess_obj::__mClass,"__mClass"); -}; - -Class NodeListAccess_obj::__mClass; - -void NodeListAccess_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.xml._Fast.NodeListAccess"), hx::TCanCast< NodeListAccess_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void NodeListAccess_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/Lib.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/Lib.cpp deleted file mode 100644 index 654ac5d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/Lib.cpp +++ /dev/null @@ -1,682 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_Timer -#include -#endif -#ifndef INCLUDED_neash_Lib -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_ManagedStage -#include -#endif -#ifndef INCLUDED_neash_display_MovieClip -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_net_URLRequest -#include -#endif -namespace neash{ - -Void Lib_obj::__construct() -{ - return null(); -} - -Lib_obj::~Lib_obj() { } - -Dynamic Lib_obj::__CreateEmpty() { return new Lib_obj; } -hx::ObjectPtr< Lib_obj > Lib_obj::__new() -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -Dynamic Lib_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -int Lib_obj::FULLSCREEN; - -int Lib_obj::BORDERLESS; - -int Lib_obj::RESIZABLE; - -int Lib_obj::HARDWARE; - -int Lib_obj::VSYNC; - -int Lib_obj::HW_AA; - -int Lib_obj::HW_AA_HIRES; - -::neash::display::MovieClip Lib_obj::current; - -int Lib_obj::initHeight; - -int Lib_obj::initWidth; - -::neash::display::Stage Lib_obj::stage; - -::neash::display::MovieClip Lib_obj::nmeCurrent; - -Dynamic Lib_obj::nmeMainFrame; - -::neash::display::Stage Lib_obj::nmeStage; - -bool Lib_obj::sIsInit; - -::String Lib_obj::company; - -::String Lib_obj::version; - -::String Lib_obj::packageName; - -::String Lib_obj::file; - -Void Lib_obj::close( ){ -{ - HX_STACK_PUSH("Lib::close","neash/Lib.hx",47); - HX_STACK_LINE(48) - Dynamic close = ::neash::Loader_obj::load(HX_CSTRING("nme_close"),(int)0); HX_STACK_VAR(close,"close"); - HX_STACK_LINE(49) - close(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,close,(void)) - -Void Lib_obj::create( Dynamic inOnLoaded,int inWidth,int inHeight,hx::Null< Float > __o_inFrameRate,hx::Null< int > __o_inColour,hx::Null< int > __o_inFlags,::String __o_inTitle,::neash::display::BitmapData inIcon){ -Float inFrameRate = __o_inFrameRate.Default(60.0); -int inColour = __o_inColour.Default(16777215); -int inFlags = __o_inFlags.Default(15); -::String inTitle = __o_inTitle.Default(HX_CSTRING("NME")); - HX_STACK_PUSH("Lib::create","neash/Lib.hx",53); - HX_STACK_ARG(inOnLoaded,"inOnLoaded"); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_ARG(inFrameRate,"inFrameRate"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_ARG(inFlags,"inFlags"); - HX_STACK_ARG(inTitle,"inTitle"); - HX_STACK_ARG(inIcon,"inIcon"); -{ - HX_STACK_LINE(53) - Array< int > inColour1 = Array_obj< int >::__new().Add(inColour); HX_STACK_VAR(inColour1,"inColour1"); - HX_STACK_LINE(53) - Array< Float > inFrameRate1 = Array_obj< Float >::__new().Add(inFrameRate); HX_STACK_VAR(inFrameRate1,"inFrameRate1"); - HX_STACK_LINE(53) - Array< int > inHeight1 = Array_obj< int >::__new().Add(inHeight); HX_STACK_VAR(inHeight1,"inHeight1"); - HX_STACK_LINE(53) - Array< int > inWidth1 = Array_obj< int >::__new().Add(inWidth); HX_STACK_VAR(inWidth1,"inWidth1"); - HX_STACK_LINE(53) - Dynamic inOnLoaded1 = Dynamic( Array_obj::__new().Add(inOnLoaded)); HX_STACK_VAR(inOnLoaded1,"inOnLoaded1"); - HX_STACK_LINE(55) - if ((::neash::Lib_obj::sIsInit)){ - HX_STACK_LINE(56) - hx::Throw (HX_CSTRING("nme.Lib.create called multiple times. This function is automatically called by the project code.")); - } - HX_STACK_LINE(59) - ::neash::Lib_obj::sIsInit = true; - HX_STACK_LINE(60) - ::neash::Lib_obj::initWidth = inWidth1->__get((int)0); - HX_STACK_LINE(61) - ::neash::Lib_obj::initHeight = inHeight1->__get((int)0); - HX_STACK_LINE(62) - Dynamic create_main_frame = ::neash::Loader_obj::load(HX_CSTRING("nme_create_main_frame"),(int)-1); HX_STACK_VAR(create_main_frame,"create_main_frame"); - - HX_BEGIN_LOCAL_FUNC_S5(hx::LocalFunc,_Function_1_1,Dynamic,inOnLoaded1,Array< int >,inHeight1,Array< int >,inColour1,Array< int >,inWidth1,Array< Float >,inFrameRate1) - Void run(Dynamic inFrameHandle){ - HX_STACK_PUSH("*::_Function_1_1","neash/Lib.hx",64); - HX_STACK_ARG(inFrameHandle,"inFrameHandle"); - { - HX_STACK_LINE(66) - ::neash::Lib_obj::nmeMainFrame = inFrameHandle; - HX_STACK_LINE(67) - Dynamic stage_handle = ::neash::Lib_obj::nme_get_frame_stage(::neash::Lib_obj::nmeMainFrame); HX_STACK_VAR(stage_handle,"stage_handle"); - HX_STACK_LINE(68) - ::neash::Lib_obj::nmeStage = ::neash::display::Stage_obj::__new(stage_handle,inWidth1->__get((int)0),inHeight1->__get((int)0)); - HX_STACK_LINE(69) - ::neash::Lib_obj::nmeStage->nmeSetFrameRate(inFrameRate1->__get((int)0)); - HX_STACK_LINE(70) - ::neash::Lib_obj::nmeStage->nmeSetBG(inColour1->__get((int)0)); - HX_STACK_LINE(71) - ::neash::Lib_obj::nmeStage->onQuit = ::neash::Lib_obj::close_dyn(); - HX_STACK_LINE(72) - if (((::neash::Lib_obj::nmeCurrent != null()))){ - HX_STACK_LINE(73) - ::neash::Lib_obj::nmeStage->addChild(::neash::Lib_obj::nmeCurrent); - } - HX_STACK_LINE(74) - inOnLoaded1->__GetItem((int)0)().Cast< Void >(); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - HX_STACK_LINE(63) - create_main_frame( Dynamic(new _Function_1_1(inOnLoaded1,inHeight1,inColour1,inWidth1,inFrameRate1)),inWidth1->__get((int)0),inHeight1->__get((int)0),inFlags,inTitle,( (((inIcon == null()))) ? Dynamic(null()) : Dynamic(inIcon->nmeHandle) )); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC8(Lib_obj,create,(void)) - -::neash::display::ManagedStage Lib_obj::createManagedStage( int inWidth,int inHeight){ - HX_STACK_PUSH("Lib::createManagedStage","neash/Lib.hx",82); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_LINE(83) - ::neash::Lib_obj::initWidth = inWidth; - HX_STACK_LINE(84) - ::neash::Lib_obj::initHeight = inHeight; - HX_STACK_LINE(85) - ::neash::display::ManagedStage result = ::neash::display::ManagedStage_obj::__new(inWidth,inHeight); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(86) - ::neash::Lib_obj::nmeStage = result; - HX_STACK_LINE(87) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Lib_obj,createManagedStage,return ) - -Void Lib_obj::exit( ){ -{ - HX_STACK_PUSH("Lib::exit","neash/Lib.hx",92); - HX_STACK_LINE(93) - Dynamic quit = ::neash::Lib_obj::nmeGetStage()->onQuit_dyn(); HX_STACK_VAR(quit,"quit"); - HX_STACK_LINE(94) - if (((quit != null()))){ - HX_STACK_LINE(95) - quit().Cast< Void >(); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,exit,(void)) - -Void Lib_obj::forceClose( ){ -{ - HX_STACK_PUSH("Lib::forceClose","neash/Lib.hx",108); - HX_STACK_LINE(110) - Dynamic terminate = ::neash::Loader_obj::load(HX_CSTRING("nme_terminate"),(int)0); HX_STACK_VAR(terminate,"terminate"); - HX_STACK_LINE(111) - terminate(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,forceClose,(void)) - -int Lib_obj::getTimer( ){ - HX_STACK_PUSH("Lib::getTimer","neash/Lib.hx",116); - HX_STACK_LINE(116) - return ::Std_obj::_int((::haxe::Timer_obj::stamp() * 1000.0)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,getTimer,return ) - -Void Lib_obj::getURL( ::neash::net::URLRequest url,::String target){ -{ - HX_STACK_PUSH("Lib::getURL","neash/Lib.hx",123); - HX_STACK_ARG(url,"url"); - HX_STACK_ARG(target,"target"); - HX_STACK_LINE(123) - ::neash::Lib_obj::nme_get_url(url->url); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Lib_obj,getURL,(void)) - -Void Lib_obj::nmeSetCurrentStage( ::neash::display::Stage inStage){ -{ - HX_STACK_PUSH("Lib::nmeSetCurrentStage","neash/Lib.hx",132); - HX_STACK_ARG(inStage,"inStage"); - HX_STACK_LINE(132) - ::neash::Lib_obj::nmeStage = inStage; - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,nmeSetCurrentStage,(void)) - -Void Lib_obj::pause( ){ -{ - HX_STACK_PUSH("Lib::pause","neash/Lib.hx",138); - HX_STACK_LINE(138) - ::neash::Lib_obj::nme_pause_animation(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,pause,(void)) - -Void Lib_obj::postUICallback( Dynamic inCallback){ -{ - HX_STACK_PUSH("Lib::postUICallback","neash/Lib.hx",144); - HX_STACK_ARG(inCallback,"inCallback"); - HX_STACK_LINE(144) - inCallback().Cast< Void >(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,postUICallback,(void)) - -Void Lib_obj::resume( ){ -{ - HX_STACK_PUSH("Lib::resume","neash/Lib.hx",156); - HX_STACK_LINE(156) - ::neash::Lib_obj::nme_resume_animation(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,resume,(void)) - -Void Lib_obj::setIcon( ::String path){ -{ - HX_STACK_PUSH("Lib::setIcon","neash/Lib.hx",169); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(171) - Dynamic set_icon = ::neash::Loader_obj::load(HX_CSTRING("nme_set_icon"),(int)1); HX_STACK_VAR(set_icon,"set_icon"); - HX_STACK_LINE(172) - set_icon(path); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,setIcon,(void)) - -Void Lib_obj::setPackage( ::String inCompany,::String inFile,::String inPack,::String inVersion){ -{ - HX_STACK_PUSH("Lib::setPackage","neash/Lib.hx",176); - HX_STACK_ARG(inCompany,"inCompany"); - HX_STACK_ARG(inFile,"inFile"); - HX_STACK_ARG(inPack,"inPack"); - HX_STACK_ARG(inVersion,"inVersion"); - HX_STACK_LINE(177) - ::neash::Lib_obj::company = inCompany; - HX_STACK_LINE(178) - ::neash::Lib_obj::file = inFile; - HX_STACK_LINE(179) - ::neash::Lib_obj::packageName = inPack; - HX_STACK_LINE(180) - ::neash::Lib_obj::version = inVersion; - HX_STACK_LINE(181) - ::neash::Lib_obj::nme_set_package(inCompany,inFile,inPack,inVersion); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(Lib_obj,setPackage,(void)) - -::neash::display::MovieClip Lib_obj::nmeGetCurrent( ){ - HX_STACK_PUSH("Lib::nmeGetCurrent","neash/Lib.hx",188); - HX_STACK_LINE(189) - if (((::neash::Lib_obj::nmeCurrent == null()))){ - HX_STACK_LINE(191) - ::neash::Lib_obj::nmeCurrent = ::neash::display::MovieClip_obj::__new(); - HX_STACK_LINE(192) - if (((::neash::Lib_obj::nmeStage != null()))){ - HX_STACK_LINE(193) - ::neash::Lib_obj::nmeStage->addChild(::neash::Lib_obj::nmeCurrent); - } - } - HX_STACK_LINE(195) - return ::neash::Lib_obj::nmeCurrent; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetCurrent,return ) - -::neash::display::Stage Lib_obj::nmeGetStage( ){ - HX_STACK_PUSH("Lib::nmeGetStage","neash/Lib.hx",200); - HX_STACK_LINE(201) - if (((::neash::Lib_obj::nmeStage == null()))){ - HX_STACK_LINE(202) - hx::Throw (HX_CSTRING("Error : stage can't be accessed until init is called")); - } - HX_STACK_LINE(203) - return ::neash::Lib_obj::nmeStage; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetStage,return ) - -Dynamic Lib_obj::nme_set_package; - -Dynamic Lib_obj::nme_get_frame_stage; - -Dynamic Lib_obj::nme_get_url; - -Dynamic Lib_obj::nme_pause_animation; - -Dynamic Lib_obj::nme_resume_animation; - - -Lib_obj::Lib_obj() -{ -} - -void Lib_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Lib); - HX_MARK_END_CLASS(); -} - -void Lib_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Lib_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"file") ) { return file; } - if (HX_FIELD_EQ(inName,"exit") ) { return exit_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"VSYNC") ) { return VSYNC; } - if (HX_FIELD_EQ(inName,"HW_AA") ) { return HW_AA; } - if (HX_FIELD_EQ(inName,"stage") ) { return inCallProp ? nmeGetStage() : stage; } - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"pause") ) { return pause_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"create") ) { return create_dyn(); } - if (HX_FIELD_EQ(inName,"getURL") ) { return getURL_dyn(); } - if (HX_FIELD_EQ(inName,"resume") ) { return resume_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"current") ) { return inCallProp ? nmeGetCurrent() : current; } - if (HX_FIELD_EQ(inName,"sIsInit") ) { return sIsInit; } - if (HX_FIELD_EQ(inName,"company") ) { return company; } - if (HX_FIELD_EQ(inName,"version") ) { return version; } - if (HX_FIELD_EQ(inName,"setIcon") ) { return setIcon_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { return HARDWARE; } - if (HX_FIELD_EQ(inName,"nmeStage") ) { return nmeStage; } - if (HX_FIELD_EQ(inName,"getTimer") ) { return getTimer_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"RESIZABLE") ) { return RESIZABLE; } - if (HX_FIELD_EQ(inName,"initWidth") ) { return initWidth; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FULLSCREEN") ) { return FULLSCREEN; } - if (HX_FIELD_EQ(inName,"BORDERLESS") ) { return BORDERLESS; } - if (HX_FIELD_EQ(inName,"initHeight") ) { return initHeight; } - if (HX_FIELD_EQ(inName,"nmeCurrent") ) { return nmeCurrent; } - if (HX_FIELD_EQ(inName,"forceClose") ) { return forceClose_dyn(); } - if (HX_FIELD_EQ(inName,"setPackage") ) { return setPackage_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"HW_AA_HIRES") ) { return HW_AA_HIRES; } - if (HX_FIELD_EQ(inName,"packageName") ) { return packageName; } - if (HX_FIELD_EQ(inName,"nmeGetStage") ) { return nmeGetStage_dyn(); } - if (HX_FIELD_EQ(inName,"nme_get_url") ) { return nme_get_url; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeMainFrame") ) { return nmeMainFrame; } - break; - case 13: - if (HX_FIELD_EQ(inName,"nmeGetCurrent") ) { return nmeGetCurrent_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"postUICallback") ) { return postUICallback_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_set_package") ) { return nme_set_package; } - break; - case 18: - if (HX_FIELD_EQ(inName,"createManagedStage") ) { return createManagedStage_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetCurrentStage") ) { return nmeSetCurrentStage_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_get_frame_stage") ) { return nme_get_frame_stage; } - if (HX_FIELD_EQ(inName,"nme_pause_animation") ) { return nme_pause_animation; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_resume_animation") ) { return nme_resume_animation; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Lib_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"file") ) { file=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"VSYNC") ) { VSYNC=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"HW_AA") ) { HW_AA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"stage") ) { stage=inValue.Cast< ::neash::display::Stage >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"current") ) { current=inValue.Cast< ::neash::display::MovieClip >(); return inValue; } - if (HX_FIELD_EQ(inName,"sIsInit") ) { sIsInit=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"company") ) { company=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"version") ) { version=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { HARDWARE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeStage") ) { nmeStage=inValue.Cast< ::neash::display::Stage >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"RESIZABLE") ) { RESIZABLE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"initWidth") ) { initWidth=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FULLSCREEN") ) { FULLSCREEN=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BORDERLESS") ) { BORDERLESS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"initHeight") ) { initHeight=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeCurrent") ) { nmeCurrent=inValue.Cast< ::neash::display::MovieClip >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"HW_AA_HIRES") ) { HW_AA_HIRES=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"packageName") ) { packageName=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_get_url") ) { nme_get_url=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeMainFrame") ) { nmeMainFrame=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_set_package") ) { nme_set_package=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_get_frame_stage") ) { nme_get_frame_stage=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_pause_animation") ) { nme_pause_animation=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_resume_animation") ) { nme_resume_animation=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Lib_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("FULLSCREEN"), - HX_CSTRING("BORDERLESS"), - HX_CSTRING("RESIZABLE"), - HX_CSTRING("HARDWARE"), - HX_CSTRING("VSYNC"), - HX_CSTRING("HW_AA"), - HX_CSTRING("HW_AA_HIRES"), - HX_CSTRING("current"), - HX_CSTRING("initHeight"), - HX_CSTRING("initWidth"), - HX_CSTRING("stage"), - HX_CSTRING("nmeCurrent"), - HX_CSTRING("nmeMainFrame"), - HX_CSTRING("nmeStage"), - HX_CSTRING("sIsInit"), - HX_CSTRING("company"), - HX_CSTRING("version"), - HX_CSTRING("packageName"), - HX_CSTRING("file"), - HX_CSTRING("close"), - HX_CSTRING("create"), - HX_CSTRING("createManagedStage"), - HX_CSTRING("exit"), - HX_CSTRING("forceClose"), - HX_CSTRING("getTimer"), - HX_CSTRING("getURL"), - HX_CSTRING("nmeSetCurrentStage"), - HX_CSTRING("pause"), - HX_CSTRING("postUICallback"), - HX_CSTRING("resume"), - HX_CSTRING("setIcon"), - HX_CSTRING("setPackage"), - HX_CSTRING("nmeGetCurrent"), - HX_CSTRING("nmeGetStage"), - HX_CSTRING("nme_set_package"), - HX_CSTRING("nme_get_frame_stage"), - HX_CSTRING("nme_get_url"), - HX_CSTRING("nme_pause_animation"), - HX_CSTRING("nme_resume_animation"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Lib_obj::FULLSCREEN,"FULLSCREEN"); - HX_MARK_MEMBER_NAME(Lib_obj::BORDERLESS,"BORDERLESS"); - HX_MARK_MEMBER_NAME(Lib_obj::RESIZABLE,"RESIZABLE"); - HX_MARK_MEMBER_NAME(Lib_obj::HARDWARE,"HARDWARE"); - HX_MARK_MEMBER_NAME(Lib_obj::VSYNC,"VSYNC"); - HX_MARK_MEMBER_NAME(Lib_obj::HW_AA,"HW_AA"); - HX_MARK_MEMBER_NAME(Lib_obj::HW_AA_HIRES,"HW_AA_HIRES"); - HX_MARK_MEMBER_NAME(Lib_obj::current,"current"); - HX_MARK_MEMBER_NAME(Lib_obj::initHeight,"initHeight"); - HX_MARK_MEMBER_NAME(Lib_obj::initWidth,"initWidth"); - HX_MARK_MEMBER_NAME(Lib_obj::stage,"stage"); - HX_MARK_MEMBER_NAME(Lib_obj::nmeCurrent,"nmeCurrent"); - HX_MARK_MEMBER_NAME(Lib_obj::nmeMainFrame,"nmeMainFrame"); - HX_MARK_MEMBER_NAME(Lib_obj::nmeStage,"nmeStage"); - HX_MARK_MEMBER_NAME(Lib_obj::sIsInit,"sIsInit"); - HX_MARK_MEMBER_NAME(Lib_obj::company,"company"); - HX_MARK_MEMBER_NAME(Lib_obj::version,"version"); - HX_MARK_MEMBER_NAME(Lib_obj::packageName,"packageName"); - HX_MARK_MEMBER_NAME(Lib_obj::file,"file"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_set_package,"nme_set_package"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_get_frame_stage,"nme_get_frame_stage"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_get_url,"nme_get_url"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_pause_animation,"nme_pause_animation"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_resume_animation,"nme_resume_animation"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Lib_obj::FULLSCREEN,"FULLSCREEN"); - HX_VISIT_MEMBER_NAME(Lib_obj::BORDERLESS,"BORDERLESS"); - HX_VISIT_MEMBER_NAME(Lib_obj::RESIZABLE,"RESIZABLE"); - HX_VISIT_MEMBER_NAME(Lib_obj::HARDWARE,"HARDWARE"); - HX_VISIT_MEMBER_NAME(Lib_obj::VSYNC,"VSYNC"); - HX_VISIT_MEMBER_NAME(Lib_obj::HW_AA,"HW_AA"); - HX_VISIT_MEMBER_NAME(Lib_obj::HW_AA_HIRES,"HW_AA_HIRES"); - HX_VISIT_MEMBER_NAME(Lib_obj::current,"current"); - HX_VISIT_MEMBER_NAME(Lib_obj::initHeight,"initHeight"); - HX_VISIT_MEMBER_NAME(Lib_obj::initWidth,"initWidth"); - HX_VISIT_MEMBER_NAME(Lib_obj::stage,"stage"); - HX_VISIT_MEMBER_NAME(Lib_obj::nmeCurrent,"nmeCurrent"); - HX_VISIT_MEMBER_NAME(Lib_obj::nmeMainFrame,"nmeMainFrame"); - HX_VISIT_MEMBER_NAME(Lib_obj::nmeStage,"nmeStage"); - HX_VISIT_MEMBER_NAME(Lib_obj::sIsInit,"sIsInit"); - HX_VISIT_MEMBER_NAME(Lib_obj::company,"company"); - HX_VISIT_MEMBER_NAME(Lib_obj::version,"version"); - HX_VISIT_MEMBER_NAME(Lib_obj::packageName,"packageName"); - HX_VISIT_MEMBER_NAME(Lib_obj::file,"file"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_set_package,"nme_set_package"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_get_frame_stage,"nme_get_frame_stage"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_get_url,"nme_get_url"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_pause_animation,"nme_pause_animation"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_resume_animation,"nme_resume_animation"); -}; - -Class Lib_obj::__mClass; - -void Lib_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.Lib"), hx::TCanCast< Lib_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Lib_obj::__boot() -{ - FULLSCREEN= (int)1; - BORDERLESS= (int)2; - RESIZABLE= (int)4; - HARDWARE= (int)8; - VSYNC= (int)16; - HW_AA= (int)32; - HW_AA_HIRES= (int)96; - nmeCurrent= null(); - nmeMainFrame= null(); - nmeStage= null(); - sIsInit= false; - nme_set_package= ::neash::Loader_obj::load(HX_CSTRING("nme_set_package"),(int)4); - nme_get_frame_stage= ::neash::Loader_obj::load(HX_CSTRING("nme_get_frame_stage"),(int)1); - nme_get_url= ::neash::Loader_obj::load(HX_CSTRING("nme_get_url"),(int)1); - nme_pause_animation= ::neash::Loader_obj::load(HX_CSTRING("nme_pause_animation"),(int)0); - nme_resume_animation= ::neash::Loader_obj::load(HX_CSTRING("nme_resume_animation"),(int)0); -} - -} // end namespace neash diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/Loader.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/Loader.cpp deleted file mode 100644 index a6f4f46..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/Loader.cpp +++ /dev/null @@ -1,123 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -namespace neash{ - -Void Loader_obj::__construct() -{ - return null(); -} - -Loader_obj::~Loader_obj() { } - -Dynamic Loader_obj::__CreateEmpty() { return new Loader_obj; } -hx::ObjectPtr< Loader_obj > Loader_obj::__new() -{ hx::ObjectPtr< Loader_obj > result = new Loader_obj(); - result->__construct(); - return result;} - -Dynamic Loader_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Loader_obj > result = new Loader_obj(); - result->__construct(); - return result;} - -bool Loader_obj::moduleInit; - -::String Loader_obj::moduleName; - -Dynamic Loader_obj::load( ::String func,int args){ - HX_STACK_PUSH("Loader::load","neash/Loader.hx",23); - HX_STACK_ARG(func,"func"); - HX_STACK_ARG(args,"args"); - HX_STACK_LINE(23) - return ::cpp::Lib_obj::load(HX_CSTRING("nme"),func,args); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Loader_obj,load,return ) - - -Loader_obj::Loader_obj() -{ -} - -void Loader_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Loader); - HX_MARK_END_CLASS(); -} - -void Loader_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Loader_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"moduleInit") ) { return moduleInit; } - if (HX_FIELD_EQ(inName,"moduleName") ) { return moduleName; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Loader_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"moduleInit") ) { moduleInit=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"moduleName") ) { moduleName=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Loader_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("moduleInit"), - HX_CSTRING("moduleName"), - HX_CSTRING("load"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Loader_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Loader_obj::moduleInit,"moduleInit"); - HX_MARK_MEMBER_NAME(Loader_obj::moduleName,"moduleName"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Loader_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Loader_obj::moduleInit,"moduleInit"); - HX_VISIT_MEMBER_NAME(Loader_obj::moduleName,"moduleName"); -}; - -Class Loader_obj::__mClass; - -void Loader_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.Loader"), hx::TCanCast< Loader_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Loader_obj::__boot() -{ - moduleInit= false; - moduleName= HX_CSTRING(""); -} - -} // end namespace neash diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/Bitmap.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/Bitmap.cpp deleted file mode 100644 index 35b7e54..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/Bitmap.cpp +++ /dev/null @@ -1,229 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_Bitmap -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_PixelSnapping -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace neash{ -namespace display{ - -Void Bitmap_obj::__construct(::neash::display::BitmapData bitmapData,::neash::display::PixelSnapping pixelSnapping,hx::Null< bool > __o_smoothing) -{ -HX_STACK_PUSH("Bitmap::new","neash/display/Bitmap.hx",28); -bool smoothing = __o_smoothing.Default(false); -{ - HX_STACK_LINE(29) - super::__construct(::neash::display::DisplayObject_obj::nme_create_display_object(),HX_CSTRING("Bitmap")); - HX_STACK_LINE(31) - this->nmeSetPixelSnapping(( (((pixelSnapping == null()))) ? ::neash::display::PixelSnapping(::neash::display::PixelSnapping_obj::AUTO_dyn()) : ::neash::display::PixelSnapping(pixelSnapping) )); - HX_STACK_LINE(32) - this->nmeSetSmoothing(smoothing); - HX_STACK_LINE(34) - if (((bitmapData != null()))){ - HX_STACK_LINE(35) - this->nmeSetBitmapData(bitmapData); - } - else{ - HX_STACK_LINE(38) - if (((this->bitmapData != null()))){ - HX_STACK_LINE(39) - this->nmeRebuild(); - } - } -} -; - return null(); -} - -Bitmap_obj::~Bitmap_obj() { } - -Dynamic Bitmap_obj::__CreateEmpty() { return new Bitmap_obj; } -hx::ObjectPtr< Bitmap_obj > Bitmap_obj::__new(::neash::display::BitmapData bitmapData,::neash::display::PixelSnapping pixelSnapping,hx::Null< bool > __o_smoothing) -{ hx::ObjectPtr< Bitmap_obj > result = new Bitmap_obj(); - result->__construct(bitmapData,pixelSnapping,__o_smoothing); - return result;} - -Dynamic Bitmap_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Bitmap_obj > result = new Bitmap_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -bool Bitmap_obj::nmeSetSmoothing( bool inSmooth){ - HX_STACK_PUSH("Bitmap::nmeSetSmoothing","neash/display/Bitmap.hx",77); - HX_STACK_THIS(this); - HX_STACK_ARG(inSmooth,"inSmooth"); - HX_STACK_LINE(78) - this->smoothing = inSmooth; - HX_STACK_LINE(79) - this->nmeRebuild(); - HX_STACK_LINE(81) - return inSmooth; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Bitmap_obj,nmeSetSmoothing,return ) - -::neash::display::BitmapData Bitmap_obj::nmeSetBitmapData( ::neash::display::BitmapData inBitmapData){ - HX_STACK_PUSH("Bitmap::nmeSetBitmapData","neash/display/Bitmap.hx",68); - HX_STACK_THIS(this); - HX_STACK_ARG(inBitmapData,"inBitmapData"); - HX_STACK_LINE(69) - this->bitmapData = inBitmapData; - HX_STACK_LINE(70) - this->nmeRebuild(); - HX_STACK_LINE(72) - return inBitmapData; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Bitmap_obj,nmeSetBitmapData,return ) - -Void Bitmap_obj::nmeRebuild( ){ -{ - HX_STACK_PUSH("Bitmap::nmeRebuild","neash/display/Bitmap.hx",46); - HX_STACK_THIS(this); - HX_STACK_LINE(46) - if (((bool((this->nmeHandle != null())) && bool((this->bitmapData != null()))))){ - HX_STACK_LINE(49) - ::neash::display::Graphics gfx = this->nmeGetGraphics(); HX_STACK_VAR(gfx,"gfx"); - HX_STACK_LINE(50) - gfx->clear(); - HX_STACK_LINE(52) - if (((this->bitmapData != null()))){ - HX_STACK_LINE(54) - gfx->beginBitmapFill(this->bitmapData,null(),false,this->smoothing); - HX_STACK_LINE(55) - gfx->drawRect((int)0,(int)0,this->bitmapData->nmeGetWidth(),this->bitmapData->nmeGetHeight()); - HX_STACK_LINE(56) - gfx->endFill(); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Bitmap_obj,nmeRebuild,(void)) - - -Bitmap_obj::Bitmap_obj() -{ -} - -void Bitmap_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Bitmap); - HX_MARK_MEMBER_NAME(mGraphics,"mGraphics"); - HX_MARK_MEMBER_NAME(smoothing,"smoothing"); - HX_MARK_MEMBER_NAME(bitmapData,"bitmapData"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Bitmap_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mGraphics,"mGraphics"); - HX_VISIT_MEMBER_NAME(smoothing,"smoothing"); - HX_VISIT_MEMBER_NAME(bitmapData,"bitmapData"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Bitmap_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"mGraphics") ) { return mGraphics; } - if (HX_FIELD_EQ(inName,"smoothing") ) { return smoothing; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeRebuild") ) { return nmeRebuild_dyn(); } - if (HX_FIELD_EQ(inName,"bitmapData") ) { return bitmapData; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeSetSmoothing") ) { return nmeSetSmoothing_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeSetBitmapData") ) { return nmeSetBitmapData_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Bitmap_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"mGraphics") ) { mGraphics=inValue.Cast< ::neash::display::Graphics >(); return inValue; } - if (HX_FIELD_EQ(inName,"smoothing") ) { if (inCallProp) return nmeSetSmoothing(inValue);smoothing=inValue.Cast< bool >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"bitmapData") ) { if (inCallProp) return nmeSetBitmapData(inValue);bitmapData=inValue.Cast< ::neash::display::BitmapData >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Bitmap_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mGraphics")); - outFields->push(HX_CSTRING("smoothing")); - outFields->push(HX_CSTRING("bitmapData")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetSmoothing"), - HX_CSTRING("nmeSetBitmapData"), - HX_CSTRING("nmeRebuild"), - HX_CSTRING("mGraphics"), - HX_CSTRING("smoothing"), - HX_CSTRING("bitmapData"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Bitmap_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Bitmap_obj::__mClass,"__mClass"); -}; - -Class Bitmap_obj::__mClass; - -void Bitmap_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.Bitmap"), hx::TCanCast< Bitmap_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Bitmap_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/BitmapData.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/BitmapData.cpp deleted file mode 100644 index ef24f96..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/BitmapData.cpp +++ /dev/null @@ -1,1491 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_OptimizedPerlin -#include -#endif -#ifndef INCLUDED_neash_filters_BitmapFilter -#include -#endif -#ifndef INCLUDED_neash_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace display{ - -Void BitmapData_obj::__construct(int inWidth,int inHeight,hx::Null< bool > __o_inTransparent,Dynamic inFillRGBA) -{ -HX_STACK_PUSH("BitmapData::new","neash/display/BitmapData.hx",64); -bool inTransparent = __o_inTransparent.Default(true); -{ - HX_STACK_LINE(65) - int fill_col; HX_STACK_VAR(fill_col,"fill_col"); - HX_STACK_LINE(66) - int fill_alpha; HX_STACK_VAR(fill_alpha,"fill_alpha"); - HX_STACK_LINE(68) - if (((inFillRGBA == null()))){ - HX_STACK_LINE(70) - fill_col = (int)16777215; - HX_STACK_LINE(71) - fill_alpha = (int)255; - } - else{ - struct _Function_2_1{ - inline static int Block( Dynamic &inFillRGBA){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",75); - { - HX_STACK_LINE(75) - int v = inFillRGBA; HX_STACK_VAR(v,"v"); - HX_STACK_LINE(75) - return (int(v) & int((int)16777215)); - } - return null(); - } - }; - HX_STACK_LINE(75) - fill_col = _Function_2_1::Block(inFillRGBA); - struct _Function_2_2{ - inline static int Block( Dynamic &inFillRGBA){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",76); - { - HX_STACK_LINE(76) - int v = inFillRGBA; HX_STACK_VAR(v,"v"); - HX_STACK_LINE(76) - return hx::UShr(v,(int)24); - } - return null(); - } - }; - HX_STACK_LINE(76) - fill_alpha = _Function_2_2::Block(inFillRGBA); - } - HX_STACK_LINE(79) - if (((bool((inWidth < (int)1)) || bool((inHeight < (int)1))))){ - HX_STACK_LINE(80) - this->nmeHandle = null(); - } - else{ - HX_STACK_LINE(85) - int flags = ::neash::display::BitmapData_obj::HARDWARE; HX_STACK_VAR(flags,"flags"); - HX_STACK_LINE(87) - if ((inTransparent)){ - HX_STACK_LINE(88) - hx::OrEq(flags,::neash::display::BitmapData_obj::TRANSPARENT); - } - HX_STACK_LINE(90) - this->nmeHandle = ::neash::display::BitmapData_obj::nme_bitmap_data_create(inWidth,inHeight,flags,fill_col,fill_alpha); - } -} -; - return null(); -} - -BitmapData_obj::~BitmapData_obj() { } - -Dynamic BitmapData_obj::__CreateEmpty() { return new BitmapData_obj; } -hx::ObjectPtr< BitmapData_obj > BitmapData_obj::__new(int inWidth,int inHeight,hx::Null< bool > __o_inTransparent,Dynamic inFillRGBA) -{ hx::ObjectPtr< BitmapData_obj > result = new BitmapData_obj(); - result->__construct(inWidth,inHeight,__o_inTransparent,inFillRGBA); - return result;} - -Dynamic BitmapData_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BitmapData_obj > result = new BitmapData_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -hx::Object *BitmapData_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::neash::display::IBitmapDrawable_obj)) return operator ::neash::display::IBitmapDrawable_obj *(); - return super::__ToInterface(inType); -} - -bool BitmapData_obj::nmeGetTransparent( ){ - HX_STACK_PUSH("BitmapData::nmeGetTransparent","neash/display/BitmapData.hx",459); - HX_STACK_THIS(this); - HX_STACK_LINE(459) - return ::neash::display::BitmapData_obj::nme_bitmap_data_get_transparent(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,nmeGetTransparent,return ) - -int BitmapData_obj::nmeGetHeight( ){ - HX_STACK_PUSH("BitmapData::nmeGetHeight","neash/display/BitmapData.hx",458); - HX_STACK_THIS(this); - HX_STACK_LINE(458) - return ::neash::display::BitmapData_obj::nme_bitmap_data_height(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,nmeGetHeight,return ) - -int BitmapData_obj::nmeGetWidth( ){ - HX_STACK_PUSH("BitmapData::nmeGetWidth","neash/display/BitmapData.hx",457); - HX_STACK_THIS(this); - HX_STACK_LINE(457) - return ::neash::display::BitmapData_obj::nme_bitmap_data_width(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,nmeGetWidth,return ) - -::neash::geom::Rectangle BitmapData_obj::nmeGetRect( ){ - HX_STACK_PUSH("BitmapData::nmeGetRect","neash/display/BitmapData.hx",456); - HX_STACK_THIS(this); - HX_STACK_LINE(456) - return ::neash::geom::Rectangle_obj::__new((int)0,(int)0,this->nmeGetWidth(),this->nmeGetHeight()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,nmeGetRect,return ) - -Void BitmapData_obj::noise( int randomSeed,hx::Null< int > __o_low,hx::Null< int > __o_high,hx::Null< int > __o_channelOptions,hx::Null< bool > __o_grayScale){ -int low = __o_low.Default(0); -int high = __o_high.Default(255); -int channelOptions = __o_channelOptions.Default(7); -bool grayScale = __o_grayScale.Default(false); - HX_STACK_PUSH("BitmapData::noise","neash/display/BitmapData.hx",448); - HX_STACK_THIS(this); - HX_STACK_ARG(randomSeed,"randomSeed"); - HX_STACK_ARG(low,"low"); - HX_STACK_ARG(high,"high"); - HX_STACK_ARG(channelOptions,"channelOptions"); - HX_STACK_ARG(grayScale,"grayScale"); -{ - HX_STACK_LINE(448) - ::neash::display::BitmapData_obj::nme_bitmap_data_noise(this->nmeHandle,randomSeed,low,high,channelOptions,grayScale); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(BitmapData_obj,noise,(void)) - -Void BitmapData_obj::setFormat( int format){ -{ - HX_STACK_PUSH("BitmapData::setFormat","neash/display/BitmapData.hx",444); - HX_STACK_THIS(this); - HX_STACK_ARG(format,"format"); - HX_STACK_LINE(444) - ::neash::display::BitmapData_obj::nme_bitmap_data_set_format(this->nmeHandle,format); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,setFormat,(void)) - -Void BitmapData_obj::unlock( ::neash::geom::Rectangle changeRect){ -{ - HX_STACK_PUSH("BitmapData::unlock","neash/display/BitmapData.hx",439); - HX_STACK_THIS(this); - HX_STACK_ARG(changeRect,"changeRect"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,unlock,(void)) - -Void BitmapData_obj::setVector( ::neash::geom::Rectangle rect,Array< int > inPixels){ -{ - HX_STACK_PUSH("BitmapData::setVector","neash/display/BitmapData.hx",422); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(inPixels,"inPixels"); - HX_STACK_LINE(423) - int count = ::Std_obj::_int((rect->width * rect->height)); HX_STACK_VAR(count,"count"); - HX_STACK_LINE(424) - if (((inPixels->length < count))){ - HX_STACK_LINE(425) - return null(); - } - HX_STACK_LINE(428) - ::neash::display::BitmapData_obj::nme_bitmap_data_set_array(this->nmeHandle,rect,inPixels); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,setVector,(void)) - -Void BitmapData_obj::setPixels( ::neash::geom::Rectangle rect,::neash::utils::ByteArray pixels){ -{ - HX_STACK_PUSH("BitmapData::setPixels","neash/display/BitmapData.hx",413); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(pixels,"pixels"); - HX_STACK_LINE(414) - int size = ::Std_obj::_int(((rect->width * rect->height) * (int)4)); HX_STACK_VAR(size,"size"); - HX_STACK_LINE(415) - pixels->checkData(::Std_obj::_int(size)); - HX_STACK_LINE(416) - ::neash::display::BitmapData_obj::nme_bitmap_data_set_bytes(this->nmeHandle,rect,pixels,pixels->position); - HX_STACK_LINE(417) - hx::AddEq(pixels->position,size); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,setPixels,(void)) - -Void BitmapData_obj::setPixel32( int inX,int inY,int inColour){ -{ - HX_STACK_PUSH("BitmapData::setPixel32","neash/display/BitmapData.hx",403); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_LINE(403) - ::neash::display::BitmapData_obj::nme_bitmap_data_set_pixel32(this->nmeHandle,inX,inY,inColour); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(BitmapData_obj,setPixel32,(void)) - -Void BitmapData_obj::setPixel( int inX,int inY,int inColour){ -{ - HX_STACK_PUSH("BitmapData::setPixel","neash/display/BitmapData.hx",397); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_LINE(397) - ::neash::display::BitmapData_obj::nme_bitmap_data_set_pixel(this->nmeHandle,inX,inY,inColour); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(BitmapData_obj,setPixel,(void)) - -Void BitmapData_obj::setFlags( int inFlags){ -{ - HX_STACK_PUSH("BitmapData::setFlags","neash/display/BitmapData.hx",390); - HX_STACK_THIS(this); - HX_STACK_ARG(inFlags,"inFlags"); - HX_STACK_LINE(390) - ::neash::display::BitmapData_obj::nme_bitmap_data_set_flags(this->nmeHandle,inFlags); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,setFlags,(void)) - -Void BitmapData_obj::scroll( int inDX,int inDY){ -{ - HX_STACK_PUSH("BitmapData::scroll","neash/display/BitmapData.hx",384); - HX_STACK_THIS(this); - HX_STACK_ARG(inDX,"inDX"); - HX_STACK_ARG(inDY,"inDY"); - HX_STACK_LINE(384) - ::neash::display::BitmapData_obj::nme_bitmap_data_scroll(this->nmeHandle,inDX,inDY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,scroll,(void)) - -Void BitmapData_obj::perlinNoise( Float baseX,Float baseY,int numOctaves,int randomSeed,bool stitch,bool fractalNoise,hx::Null< int > __o_channelOptions,hx::Null< bool > __o_grayScale,Array< ::neash::geom::Point > offsets){ -int channelOptions = __o_channelOptions.Default(7); -bool grayScale = __o_grayScale.Default(false); - HX_STACK_PUSH("BitmapData::perlinNoise","neash/display/BitmapData.hx",377); - HX_STACK_THIS(this); - HX_STACK_ARG(baseX,"baseX"); - HX_STACK_ARG(baseY,"baseY"); - HX_STACK_ARG(numOctaves,"numOctaves"); - HX_STACK_ARG(randomSeed,"randomSeed"); - HX_STACK_ARG(stitch,"stitch"); - HX_STACK_ARG(fractalNoise,"fractalNoise"); - HX_STACK_ARG(channelOptions,"channelOptions"); - HX_STACK_ARG(grayScale,"grayScale"); - HX_STACK_ARG(offsets,"offsets"); -{ - HX_STACK_LINE(378) - ::neash::display::OptimizedPerlin perlin = ::neash::display::OptimizedPerlin_obj::__new(randomSeed,numOctaves,null()); HX_STACK_VAR(perlin,"perlin"); - HX_STACK_LINE(379) - perlin->fill(hx::ObjectPtr(this),baseX,baseY,(int)0,null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC9(BitmapData_obj,perlinNoise,(void)) - -Void BitmapData_obj::nmeDrawToSurface( Dynamic inSurface,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,bool smoothing){ -{ - HX_STACK_PUSH("BitmapData::nmeDrawToSurface","neash/display/BitmapData.hx",370); - HX_STACK_THIS(this); - HX_STACK_ARG(inSurface,"inSurface"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(colorTransform,"colorTransform"); - HX_STACK_ARG(blendMode,"blendMode"); - HX_STACK_ARG(clipRect,"clipRect"); - HX_STACK_ARG(smoothing,"smoothing"); - HX_STACK_LINE(370) - ::neash::display::BitmapData_obj::nme_render_surface_to_surface(inSurface,this->nmeHandle,matrix,colorTransform,blendMode,clipRect,smoothing); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(BitmapData_obj,nmeDrawToSurface,(void)) - -Void BitmapData_obj::lock( ){ -{ - HX_STACK_PUSH("BitmapData::lock","neash/display/BitmapData.hx",364); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,lock,(void)) - -Array< int > BitmapData_obj::getVector( ::neash::geom::Rectangle rect){ - HX_STACK_PUSH("BitmapData::getVector","neash/display/BitmapData.hx",297); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_LINE(298) - int pixels = ::Std_obj::_int((rect->width * rect->height)); HX_STACK_VAR(pixels,"pixels"); - HX_STACK_LINE(300) - if (((pixels < (int)1))){ - HX_STACK_LINE(301) - return Array_obj< int >::__new(); - } - HX_STACK_LINE(303) - Array< int > result = Array_obj< int >::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(304) - result[(pixels - (int)1)] = (int)0; - HX_STACK_LINE(307) - ::neash::display::BitmapData_obj::nme_bitmap_data_get_array(this->nmeHandle,rect,result); - HX_STACK_LINE(315) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,getVector,return ) - -::neash::utils::ByteArray BitmapData_obj::getPixels( ::neash::geom::Rectangle rect){ - HX_STACK_PUSH("BitmapData::getPixels","neash/display/BitmapData.hx",286); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_LINE(287) - ::neash::utils::ByteArray result = ::neash::display::BitmapData_obj::nme_bitmap_data_get_pixels(this->nmeHandle,rect); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(289) - if (((result != null()))){ - HX_STACK_LINE(290) - result->position = result->length; - } - HX_STACK_LINE(292) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,getPixels,return ) - -int BitmapData_obj::getPixel32( int x,int y){ - HX_STACK_PUSH("BitmapData::getPixel32","neash/display/BitmapData.hx",276); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_LINE(276) - return ::neash::display::BitmapData_obj::nme_bitmap_data_get_pixel32(this->nmeHandle,x,y); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,getPixel32,return ) - -int BitmapData_obj::getPixel( int x,int y){ - HX_STACK_PUSH("BitmapData::getPixel","neash/display/BitmapData.hx",270); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_LINE(270) - return ::neash::display::BitmapData_obj::nme_bitmap_data_get_pixel(this->nmeHandle,x,y); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,getPixel,return ) - -::neash::geom::Rectangle BitmapData_obj::getColorBoundsRect( int mask,int color,hx::Null< bool > __o_findColor){ -bool findColor = __o_findColor.Default(true); - HX_STACK_PUSH("BitmapData::getColorBoundsRect","neash/display/BitmapData.hx",262); - HX_STACK_THIS(this); - HX_STACK_ARG(mask,"mask"); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(findColor,"findColor"); -{ - HX_STACK_LINE(263) - ::neash::geom::Rectangle result = ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(264) - ::neash::display::BitmapData_obj::nme_bitmap_data_get_color_bounds_rect(this->nmeHandle,mask,color,findColor,result); - HX_STACK_LINE(265) - return result; - } -} - - -HX_DEFINE_DYNAMIC_FUNC3(BitmapData_obj,getColorBoundsRect,return ) - -::neash::geom::Rectangle BitmapData_obj::generateFilterRect( ::neash::geom::Rectangle sourceRect,::neash::filters::BitmapFilter filter){ - HX_STACK_PUSH("BitmapData::generateFilterRect","neash/display/BitmapData.hx",254); - HX_STACK_THIS(this); - HX_STACK_ARG(sourceRect,"sourceRect"); - HX_STACK_ARG(filter,"filter"); - HX_STACK_LINE(255) - ::neash::geom::Rectangle result = ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(256) - ::neash::display::BitmapData_obj::nme_bitmap_data_generate_filter_rect(sourceRect,filter,result); - HX_STACK_LINE(257) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,generateFilterRect,return ) - -Void BitmapData_obj::fillRectEx( ::neash::geom::Rectangle rect,int inColour,hx::Null< int > __o_inAlpha){ -int inAlpha = __o_inAlpha.Default(255); - HX_STACK_PUSH("BitmapData::fillRectEx","neash/display/BitmapData.hx",248); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_ARG(inAlpha,"inAlpha"); -{ - HX_STACK_LINE(248) - ::neash::display::BitmapData_obj::nme_bitmap_data_fill(this->nmeHandle,rect,inColour,inAlpha); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(BitmapData_obj,fillRectEx,(void)) - -Void BitmapData_obj::fillRect( ::neash::geom::Rectangle rect,int inColour){ -{ - HX_STACK_PUSH("BitmapData::fillRect","neash/display/BitmapData.hx",240); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_LINE(241) - int a = hx::UShr(inColour,(int)24); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(242) - int c = (int(inColour) & int((int)16777215)); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(243) - ::neash::display::BitmapData_obj::nme_bitmap_data_fill(this->nmeHandle,rect,c,a); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,fillRect,(void)) - -::neash::utils::ByteArray BitmapData_obj::encode( ::String inFormat,hx::Null< Float > __o_inQuality){ -Float inQuality = __o_inQuality.Default(0.9); - HX_STACK_PUSH("BitmapData::encode","neash/display/BitmapData.hx",214); - HX_STACK_THIS(this); - HX_STACK_ARG(inFormat,"inFormat"); - HX_STACK_ARG(inQuality,"inQuality"); -{ - HX_STACK_LINE(214) - return ::neash::display::BitmapData_obj::nme_bitmap_data_encode(this->nmeHandle,inFormat,inQuality); - } -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,encode,return ) - -Void BitmapData_obj::dumpBits( ){ -{ - HX_STACK_PUSH("BitmapData::dumpBits","neash/display/BitmapData.hx",208); - HX_STACK_THIS(this); - HX_STACK_LINE(208) - ::neash::display::BitmapData_obj::nme_bitmap_data_dump_bits(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,dumpBits,(void)) - -Void BitmapData_obj::draw( ::neash::display::IBitmapDrawable source,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,hx::Null< bool > __o_smoothing){ -bool smoothing = __o_smoothing.Default(false); - HX_STACK_PUSH("BitmapData::draw","neash/display/BitmapData.hx",202); - HX_STACK_THIS(this); - HX_STACK_ARG(source,"source"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(colorTransform,"colorTransform"); - HX_STACK_ARG(blendMode,"blendMode"); - HX_STACK_ARG(clipRect,"clipRect"); - HX_STACK_ARG(smoothing,"smoothing"); -{ - HX_STACK_LINE(202) - source->nmeDrawToSurface(this->nmeHandle,matrix,colorTransform,blendMode,clipRect,smoothing); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(BitmapData_obj,draw,(void)) - -Void BitmapData_obj::dispose( ){ -{ - HX_STACK_PUSH("BitmapData::dispose","neash/display/BitmapData.hx",196); - HX_STACK_THIS(this); - HX_STACK_LINE(196) - this->nmeHandle = null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,dispose,(void)) - -Void BitmapData_obj::destroyHardwareSurface( ){ -{ - HX_STACK_PUSH("BitmapData::destroyHardwareSurface","neash/display/BitmapData.hx",189); - HX_STACK_THIS(this); - HX_STACK_LINE(189) - ::neash::display::BitmapData_obj::nme_bitmap_data_destroy_hardware_surface(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,destroyHardwareSurface,(void)) - -Void BitmapData_obj::createHardwareSurface( ){ -{ - HX_STACK_PUSH("BitmapData::createHardwareSurface","neash/display/BitmapData.hx",183); - HX_STACK_THIS(this); - HX_STACK_LINE(183) - ::neash::display::BitmapData_obj::nme_bitmap_data_create_hardware_surface(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,createHardwareSurface,(void)) - -Void BitmapData_obj::copyPixels( ::neash::display::BitmapData sourceBitmapData,::neash::geom::Rectangle sourceRect,::neash::geom::Point destPoint,::neash::display::BitmapData alphaBitmapData,::neash::geom::Point alphaPoint,hx::Null< bool > __o_mergeAlpha){ -bool mergeAlpha = __o_mergeAlpha.Default(false); - HX_STACK_PUSH("BitmapData::copyPixels","neash/display/BitmapData.hx",166); - HX_STACK_THIS(this); - HX_STACK_ARG(sourceBitmapData,"sourceBitmapData"); - HX_STACK_ARG(sourceRect,"sourceRect"); - HX_STACK_ARG(destPoint,"destPoint"); - HX_STACK_ARG(alphaBitmapData,"alphaBitmapData"); - HX_STACK_ARG(alphaPoint,"alphaPoint"); - HX_STACK_ARG(mergeAlpha,"mergeAlpha"); -{ - HX_STACK_LINE(166) - ::neash::display::BitmapData_obj::nme_bitmap_data_copy(sourceBitmapData->nmeHandle,sourceRect,this->nmeHandle,destPoint,mergeAlpha); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(BitmapData_obj,copyPixels,(void)) - -Void BitmapData_obj::copyChannel( ::neash::display::BitmapData sourceBitmapData,::neash::geom::Rectangle sourceRect,::neash::geom::Point destPoint,int inSourceChannel,int inDestChannel){ -{ - HX_STACK_PUSH("BitmapData::copyChannel","neash/display/BitmapData.hx",151); - HX_STACK_THIS(this); - HX_STACK_ARG(sourceBitmapData,"sourceBitmapData"); - HX_STACK_ARG(sourceRect,"sourceRect"); - HX_STACK_ARG(destPoint,"destPoint"); - HX_STACK_ARG(inSourceChannel,"inSourceChannel"); - HX_STACK_ARG(inDestChannel,"inDestChannel"); - HX_STACK_LINE(151) - ::neash::display::BitmapData_obj::nme_bitmap_data_copy_channel(sourceBitmapData->nmeHandle,sourceRect,this->nmeHandle,destPoint,inSourceChannel,inDestChannel); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(BitmapData_obj,copyChannel,(void)) - -Void BitmapData_obj::colorTransform( ::neash::geom::Rectangle rect,::neash::geom::ColorTransform colorTransform){ -{ - HX_STACK_PUSH("BitmapData::colorTransform","neash/display/BitmapData.hx",137); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(colorTransform,"colorTransform"); - HX_STACK_LINE(137) - ::neash::display::BitmapData_obj::nme_bitmap_data_color_transform(this->nmeHandle,rect,colorTransform); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,colorTransform,(void)) - -::neash::display::BitmapData BitmapData_obj::clone( ){ - HX_STACK_PUSH("BitmapData::clone","neash/display/BitmapData.hx",124); - HX_STACK_THIS(this); - HX_STACK_LINE(125) - ::neash::display::BitmapData bm = ::neash::display::BitmapData_obj::__new((int)0,(int)0,null(),null()); HX_STACK_VAR(bm,"bm"); - HX_STACK_LINE(126) - bm->nmeHandle = ::neash::display::BitmapData_obj::nme_bitmap_data_clone(this->nmeHandle); - HX_STACK_LINE(127) - return bm; -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,clone,return ) - -Void BitmapData_obj::clear( int color){ -{ - HX_STACK_PUSH("BitmapData::clear","neash/display/BitmapData.hx",114); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_LINE(114) - ::neash::display::BitmapData_obj::nme_bitmap_data_clear(this->nmeHandle,color); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,clear,(void)) - -Void BitmapData_obj::applyFilter( ::neash::display::BitmapData sourceBitmapData,::neash::geom::Rectangle sourceRect,::neash::geom::Point destPoint,::neash::filters::BitmapFilter filter){ -{ - HX_STACK_PUSH("BitmapData::applyFilter","neash/display/BitmapData.hx",104); - HX_STACK_THIS(this); - HX_STACK_ARG(sourceBitmapData,"sourceBitmapData"); - HX_STACK_ARG(sourceRect,"sourceRect"); - HX_STACK_ARG(destPoint,"destPoint"); - HX_STACK_ARG(filter,"filter"); - HX_STACK_LINE(104) - ::neash::display::BitmapData_obj::nme_bitmap_data_apply_filter(this->nmeHandle,sourceBitmapData->nmeHandle,sourceRect,destPoint,filter); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(BitmapData_obj,applyFilter,(void)) - -int BitmapData_obj::CLEAR; - -int BitmapData_obj::BLACK; - -int BitmapData_obj::WHITE; - -int BitmapData_obj::RED; - -int BitmapData_obj::GREEN; - -int BitmapData_obj::BLUE; - -::String BitmapData_obj::PNG; - -::String BitmapData_obj::JPG; - -int BitmapData_obj::TRANSPARENT; - -int BitmapData_obj::HARDWARE; - -int BitmapData_obj::FORMAT_8888; - -int BitmapData_obj::FORMAT_4444; - -int BitmapData_obj::FORMAT_565; - -int BitmapData_obj::createColor( int inRGB,hx::Null< int > __o_inAlpha){ -int inAlpha = __o_inAlpha.Default(255); - HX_STACK_PUSH("BitmapData::createColor","neash/display/BitmapData.hx",172); - HX_STACK_ARG(inRGB,"inRGB"); - HX_STACK_ARG(inAlpha,"inAlpha"); -{ - HX_STACK_LINE(172) - return (int(inRGB) | int((int(inAlpha) << int((int)24)))); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,createColor,return ) - -int BitmapData_obj::extractAlpha( int v){ - HX_STACK_PUSH("BitmapData::extractAlpha","neash/display/BitmapData.hx",220); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(220) - return hx::UShr(v,(int)24); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,extractAlpha,return ) - -int BitmapData_obj::extractColor( int v){ - HX_STACK_PUSH("BitmapData::extractColor","neash/display/BitmapData.hx",230); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(230) - return (int(v) & int((int)16777215)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,extractColor,return ) - -::neash::display::BitmapData BitmapData_obj::load( ::String inFilename,hx::Null< int > __o_format){ -int format = __o_format.Default(0); - HX_STACK_PUSH("BitmapData::load","neash/display/BitmapData.hx",326); - HX_STACK_ARG(inFilename,"inFilename"); - HX_STACK_ARG(format,"format"); -{ - HX_STACK_LINE(327) - ::neash::display::BitmapData result = ::neash::display::BitmapData_obj::__new((int)0,(int)0,null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(328) - result->nmeHandle = ::neash::display::BitmapData_obj::nme_bitmap_data_load(inFilename,format); - HX_STACK_LINE(329) - return result; - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,load,return ) - -::neash::display::BitmapData BitmapData_obj::loadFromBytes( ::neash::utils::ByteArray inBytes,::neash::utils::ByteArray inRawAlpha){ - HX_STACK_PUSH("BitmapData::loadFromBytes","neash/display/BitmapData.hx",342); - HX_STACK_ARG(inBytes,"inBytes"); - HX_STACK_ARG(inRawAlpha,"inRawAlpha"); - HX_STACK_LINE(343) - ::neash::display::BitmapData result = ::neash::display::BitmapData_obj::__new((int)0,(int)0,null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(344) - result->nmeHandle = ::neash::display::BitmapData_obj::nme_bitmap_data_from_bytes(inBytes,inRawAlpha); - HX_STACK_LINE(345) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,loadFromBytes,return ) - -::neash::display::BitmapData BitmapData_obj::loadFromHaxeBytes( ::haxe::io::Bytes inBytes,::haxe::io::Bytes inRawAlpha){ - HX_STACK_PUSH("BitmapData::loadFromHaxeBytes","neash/display/BitmapData.hx",358); - HX_STACK_ARG(inBytes,"inBytes"); - HX_STACK_ARG(inRawAlpha,"inRawAlpha"); - HX_STACK_LINE(358) - return ::neash::display::BitmapData_obj::loadFromBytes(::neash::utils::ByteArray_obj::fromBytes(inBytes),( (((inRawAlpha == null()))) ? ::neash::utils::ByteArray(null()) : ::neash::utils::ByteArray(::neash::utils::ByteArray_obj::fromBytes(inRawAlpha)) )); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,loadFromHaxeBytes,return ) - -Dynamic BitmapData_obj::nme_bitmap_data_create; - -Dynamic BitmapData_obj::nme_bitmap_data_load; - -Dynamic BitmapData_obj::nme_bitmap_data_from_bytes; - -Dynamic BitmapData_obj::nme_bitmap_data_clear; - -Dynamic BitmapData_obj::nme_bitmap_data_clone; - -Dynamic BitmapData_obj::nme_bitmap_data_apply_filter; - -Dynamic BitmapData_obj::nme_bitmap_data_color_transform; - -Dynamic BitmapData_obj::nme_bitmap_data_copy; - -Dynamic BitmapData_obj::nme_bitmap_data_copy_channel; - -Dynamic BitmapData_obj::nme_bitmap_data_fill; - -Dynamic BitmapData_obj::nme_bitmap_data_get_pixels; - -Dynamic BitmapData_obj::nme_bitmap_data_get_pixel; - -Dynamic BitmapData_obj::nme_bitmap_data_get_pixel32; - -Dynamic BitmapData_obj::nme_bitmap_data_get_pixel_rgba; - -Dynamic BitmapData_obj::nme_bitmap_data_get_array; - -Dynamic BitmapData_obj::nme_bitmap_data_get_color_bounds_rect; - -Dynamic BitmapData_obj::nme_bitmap_data_scroll; - -Dynamic BitmapData_obj::nme_bitmap_data_set_pixel; - -Dynamic BitmapData_obj::nme_bitmap_data_set_pixel32; - -Dynamic BitmapData_obj::nme_bitmap_data_set_pixel_rgba; - -Dynamic BitmapData_obj::nme_bitmap_data_set_bytes; - -Dynamic BitmapData_obj::nme_bitmap_data_set_format; - -Dynamic BitmapData_obj::nme_bitmap_data_set_array; - -Dynamic BitmapData_obj::nme_bitmap_data_create_hardware_surface; - -Dynamic BitmapData_obj::nme_bitmap_data_destroy_hardware_surface; - -Dynamic BitmapData_obj::nme_bitmap_data_generate_filter_rect; - -Dynamic BitmapData_obj::nme_render_surface_to_surface; - -Dynamic BitmapData_obj::nme_bitmap_data_height; - -Dynamic BitmapData_obj::nme_bitmap_data_width; - -Dynamic BitmapData_obj::nme_bitmap_data_get_transparent; - -Dynamic BitmapData_obj::nme_bitmap_data_set_flags; - -Dynamic BitmapData_obj::nme_bitmap_data_encode; - -Dynamic BitmapData_obj::nme_bitmap_data_dump_bits; - -Dynamic BitmapData_obj::nme_bitmap_data_noise; - - -BitmapData_obj::BitmapData_obj() -{ -} - -void BitmapData_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BitmapData); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(width,"width"); - HX_MARK_MEMBER_NAME(transparent,"transparent"); - HX_MARK_MEMBER_NAME(rect,"rect"); - HX_MARK_MEMBER_NAME(height,"height"); - HX_MARK_END_CLASS(); -} - -void BitmapData_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(width,"width"); - HX_VISIT_MEMBER_NAME(transparent,"transparent"); - HX_VISIT_MEMBER_NAME(rect,"rect"); - HX_VISIT_MEMBER_NAME(height,"height"); -} - -Dynamic BitmapData_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"RED") ) { return RED; } - if (HX_FIELD_EQ(inName,"PNG") ) { return PNG; } - if (HX_FIELD_EQ(inName,"JPG") ) { return JPG; } - break; - case 4: - if (HX_FIELD_EQ(inName,"BLUE") ) { return BLUE; } - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - if (HX_FIELD_EQ(inName,"lock") ) { return lock_dyn(); } - if (HX_FIELD_EQ(inName,"draw") ) { return draw_dyn(); } - if (HX_FIELD_EQ(inName,"rect") ) { return inCallProp ? nmeGetRect() : rect; } - break; - case 5: - if (HX_FIELD_EQ(inName,"CLEAR") ) { return CLEAR; } - if (HX_FIELD_EQ(inName,"BLACK") ) { return BLACK; } - if (HX_FIELD_EQ(inName,"WHITE") ) { return WHITE; } - if (HX_FIELD_EQ(inName,"GREEN") ) { return GREEN; } - if (HX_FIELD_EQ(inName,"noise") ) { return noise_dyn(); } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - if (HX_FIELD_EQ(inName,"clear") ) { return clear_dyn(); } - if (HX_FIELD_EQ(inName,"width") ) { return inCallProp ? nmeGetWidth() : width; } - break; - case 6: - if (HX_FIELD_EQ(inName,"unlock") ) { return unlock_dyn(); } - if (HX_FIELD_EQ(inName,"scroll") ) { return scroll_dyn(); } - if (HX_FIELD_EQ(inName,"encode") ) { return encode_dyn(); } - if (HX_FIELD_EQ(inName,"height") ) { return inCallProp ? nmeGetHeight() : height; } - break; - case 7: - if (HX_FIELD_EQ(inName,"dispose") ) { return dispose_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { return HARDWARE; } - if (HX_FIELD_EQ(inName,"setPixel") ) { return setPixel_dyn(); } - if (HX_FIELD_EQ(inName,"setFlags") ) { return setFlags_dyn(); } - if (HX_FIELD_EQ(inName,"getPixel") ) { return getPixel_dyn(); } - if (HX_FIELD_EQ(inName,"fillRect") ) { return fillRect_dyn(); } - if (HX_FIELD_EQ(inName,"dumpBits") ) { return dumpBits_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"setFormat") ) { return setFormat_dyn(); } - if (HX_FIELD_EQ(inName,"setVector") ) { return setVector_dyn(); } - if (HX_FIELD_EQ(inName,"setPixels") ) { return setPixels_dyn(); } - if (HX_FIELD_EQ(inName,"getVector") ) { return getVector_dyn(); } - if (HX_FIELD_EQ(inName,"getPixels") ) { return getPixels_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FORMAT_565") ) { return FORMAT_565; } - if (HX_FIELD_EQ(inName,"nmeGetRect") ) { return nmeGetRect_dyn(); } - if (HX_FIELD_EQ(inName,"setPixel32") ) { return setPixel32_dyn(); } - if (HX_FIELD_EQ(inName,"getPixel32") ) { return getPixel32_dyn(); } - if (HX_FIELD_EQ(inName,"fillRectEx") ) { return fillRectEx_dyn(); } - if (HX_FIELD_EQ(inName,"copyPixels") ) { return copyPixels_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"TRANSPARENT") ) { return TRANSPARENT; } - if (HX_FIELD_EQ(inName,"FORMAT_8888") ) { return FORMAT_8888; } - if (HX_FIELD_EQ(inName,"FORMAT_4444") ) { return FORMAT_4444; } - if (HX_FIELD_EQ(inName,"createColor") ) { return createColor_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetWidth") ) { return nmeGetWidth_dyn(); } - if (HX_FIELD_EQ(inName,"perlinNoise") ) { return perlinNoise_dyn(); } - if (HX_FIELD_EQ(inName,"copyChannel") ) { return copyChannel_dyn(); } - if (HX_FIELD_EQ(inName,"applyFilter") ) { return applyFilter_dyn(); } - if (HX_FIELD_EQ(inName,"transparent") ) { return inCallProp ? nmeGetTransparent() : transparent; } - break; - case 12: - if (HX_FIELD_EQ(inName,"extractAlpha") ) { return extractAlpha_dyn(); } - if (HX_FIELD_EQ(inName,"extractColor") ) { return extractColor_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetHeight") ) { return nmeGetHeight_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"loadFromBytes") ) { return loadFromBytes_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"colorTransform") ) { return colorTransform_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeDrawToSurface") ) { return nmeDrawToSurface_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"loadFromHaxeBytes") ) { return loadFromHaxeBytes_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTransparent") ) { return nmeGetTransparent_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"getColorBoundsRect") ) { return getColorBoundsRect_dyn(); } - if (HX_FIELD_EQ(inName,"generateFilterRect") ) { return generateFilterRect_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_load") ) { return nme_bitmap_data_load; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_copy") ) { return nme_bitmap_data_copy; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_fill") ) { return nme_bitmap_data_fill; } - break; - case 21: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_clear") ) { return nme_bitmap_data_clear; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_clone") ) { return nme_bitmap_data_clone; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_width") ) { return nme_bitmap_data_width; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_noise") ) { return nme_bitmap_data_noise; } - if (HX_FIELD_EQ(inName,"createHardwareSurface") ) { return createHardwareSurface_dyn(); } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_create") ) { return nme_bitmap_data_create; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_scroll") ) { return nme_bitmap_data_scroll; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_height") ) { return nme_bitmap_data_height; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_encode") ) { return nme_bitmap_data_encode; } - if (HX_FIELD_EQ(inName,"destroyHardwareSurface") ) { return destroyHardwareSurface_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel") ) { return nme_bitmap_data_get_pixel; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_array") ) { return nme_bitmap_data_get_array; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel") ) { return nme_bitmap_data_set_pixel; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_bytes") ) { return nme_bitmap_data_set_bytes; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_array") ) { return nme_bitmap_data_set_array; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_flags") ) { return nme_bitmap_data_set_flags; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_dump_bits") ) { return nme_bitmap_data_dump_bits; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_from_bytes") ) { return nme_bitmap_data_from_bytes; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixels") ) { return nme_bitmap_data_get_pixels; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_format") ) { return nme_bitmap_data_set_format; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel32") ) { return nme_bitmap_data_get_pixel32; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel32") ) { return nme_bitmap_data_set_pixel32; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_apply_filter") ) { return nme_bitmap_data_apply_filter; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_copy_channel") ) { return nme_bitmap_data_copy_channel; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_render_surface_to_surface") ) { return nme_render_surface_to_surface; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel_rgba") ) { return nme_bitmap_data_get_pixel_rgba; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel_rgba") ) { return nme_bitmap_data_set_pixel_rgba; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_color_transform") ) { return nme_bitmap_data_color_transform; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_transparent") ) { return nme_bitmap_data_get_transparent; } - break; - case 36: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_generate_filter_rect") ) { return nme_bitmap_data_generate_filter_rect; } - break; - case 37: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_color_bounds_rect") ) { return nme_bitmap_data_get_color_bounds_rect; } - break; - case 39: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_create_hardware_surface") ) { return nme_bitmap_data_create_hardware_surface; } - break; - case 40: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_destroy_hardware_surface") ) { return nme_bitmap_data_destroy_hardware_surface; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BitmapData_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"RED") ) { RED=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"PNG") ) { PNG=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"JPG") ) { JPG=inValue.Cast< ::String >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"BLUE") ) { BLUE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"rect") ) { rect=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"CLEAR") ) { CLEAR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BLACK") ) { BLACK=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"WHITE") ) { WHITE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"GREEN") ) { GREEN=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"width") ) { width=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"height") ) { height=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { HARDWARE=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FORMAT_565") ) { FORMAT_565=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TRANSPARENT") ) { TRANSPARENT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FORMAT_8888") ) { FORMAT_8888=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FORMAT_4444") ) { FORMAT_4444=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"transparent") ) { transparent=inValue.Cast< bool >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_load") ) { nme_bitmap_data_load=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_copy") ) { nme_bitmap_data_copy=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_fill") ) { nme_bitmap_data_fill=inValue.Cast< Dynamic >(); return inValue; } - break; - case 21: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_clear") ) { nme_bitmap_data_clear=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_clone") ) { nme_bitmap_data_clone=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_width") ) { nme_bitmap_data_width=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_noise") ) { nme_bitmap_data_noise=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_create") ) { nme_bitmap_data_create=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_scroll") ) { nme_bitmap_data_scroll=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_height") ) { nme_bitmap_data_height=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_encode") ) { nme_bitmap_data_encode=inValue.Cast< Dynamic >(); return inValue; } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel") ) { nme_bitmap_data_get_pixel=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_array") ) { nme_bitmap_data_get_array=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel") ) { nme_bitmap_data_set_pixel=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_bytes") ) { nme_bitmap_data_set_bytes=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_array") ) { nme_bitmap_data_set_array=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_flags") ) { nme_bitmap_data_set_flags=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_dump_bits") ) { nme_bitmap_data_dump_bits=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_from_bytes") ) { nme_bitmap_data_from_bytes=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixels") ) { nme_bitmap_data_get_pixels=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_format") ) { nme_bitmap_data_set_format=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel32") ) { nme_bitmap_data_get_pixel32=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel32") ) { nme_bitmap_data_set_pixel32=inValue.Cast< Dynamic >(); return inValue; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_apply_filter") ) { nme_bitmap_data_apply_filter=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_copy_channel") ) { nme_bitmap_data_copy_channel=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_render_surface_to_surface") ) { nme_render_surface_to_surface=inValue.Cast< Dynamic >(); return inValue; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel_rgba") ) { nme_bitmap_data_get_pixel_rgba=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel_rgba") ) { nme_bitmap_data_set_pixel_rgba=inValue.Cast< Dynamic >(); return inValue; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_color_transform") ) { nme_bitmap_data_color_transform=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_transparent") ) { nme_bitmap_data_get_transparent=inValue.Cast< Dynamic >(); return inValue; } - break; - case 36: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_generate_filter_rect") ) { nme_bitmap_data_generate_filter_rect=inValue.Cast< Dynamic >(); return inValue; } - break; - case 37: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_color_bounds_rect") ) { nme_bitmap_data_get_color_bounds_rect=inValue.Cast< Dynamic >(); return inValue; } - break; - case 39: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_create_hardware_surface") ) { nme_bitmap_data_create_hardware_surface=inValue.Cast< Dynamic >(); return inValue; } - break; - case 40: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_destroy_hardware_surface") ) { nme_bitmap_data_destroy_hardware_surface=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BitmapData_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("width")); - outFields->push(HX_CSTRING("transparent")); - outFields->push(HX_CSTRING("rect")); - outFields->push(HX_CSTRING("height")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("CLEAR"), - HX_CSTRING("BLACK"), - HX_CSTRING("WHITE"), - HX_CSTRING("RED"), - HX_CSTRING("GREEN"), - HX_CSTRING("BLUE"), - HX_CSTRING("PNG"), - HX_CSTRING("JPG"), - HX_CSTRING("TRANSPARENT"), - HX_CSTRING("HARDWARE"), - HX_CSTRING("FORMAT_8888"), - HX_CSTRING("FORMAT_4444"), - HX_CSTRING("FORMAT_565"), - HX_CSTRING("createColor"), - HX_CSTRING("extractAlpha"), - HX_CSTRING("extractColor"), - HX_CSTRING("load"), - HX_CSTRING("loadFromBytes"), - HX_CSTRING("loadFromHaxeBytes"), - HX_CSTRING("nme_bitmap_data_create"), - HX_CSTRING("nme_bitmap_data_load"), - HX_CSTRING("nme_bitmap_data_from_bytes"), - HX_CSTRING("nme_bitmap_data_clear"), - HX_CSTRING("nme_bitmap_data_clone"), - HX_CSTRING("nme_bitmap_data_apply_filter"), - HX_CSTRING("nme_bitmap_data_color_transform"), - HX_CSTRING("nme_bitmap_data_copy"), - HX_CSTRING("nme_bitmap_data_copy_channel"), - HX_CSTRING("nme_bitmap_data_fill"), - HX_CSTRING("nme_bitmap_data_get_pixels"), - HX_CSTRING("nme_bitmap_data_get_pixel"), - HX_CSTRING("nme_bitmap_data_get_pixel32"), - HX_CSTRING("nme_bitmap_data_get_pixel_rgba"), - HX_CSTRING("nme_bitmap_data_get_array"), - HX_CSTRING("nme_bitmap_data_get_color_bounds_rect"), - HX_CSTRING("nme_bitmap_data_scroll"), - HX_CSTRING("nme_bitmap_data_set_pixel"), - HX_CSTRING("nme_bitmap_data_set_pixel32"), - HX_CSTRING("nme_bitmap_data_set_pixel_rgba"), - HX_CSTRING("nme_bitmap_data_set_bytes"), - HX_CSTRING("nme_bitmap_data_set_format"), - HX_CSTRING("nme_bitmap_data_set_array"), - HX_CSTRING("nme_bitmap_data_create_hardware_surface"), - HX_CSTRING("nme_bitmap_data_destroy_hardware_surface"), - HX_CSTRING("nme_bitmap_data_generate_filter_rect"), - HX_CSTRING("nme_render_surface_to_surface"), - HX_CSTRING("nme_bitmap_data_height"), - HX_CSTRING("nme_bitmap_data_width"), - HX_CSTRING("nme_bitmap_data_get_transparent"), - HX_CSTRING("nme_bitmap_data_set_flags"), - HX_CSTRING("nme_bitmap_data_encode"), - HX_CSTRING("nme_bitmap_data_dump_bits"), - HX_CSTRING("nme_bitmap_data_noise"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetTransparent"), - HX_CSTRING("nmeGetHeight"), - HX_CSTRING("nmeGetWidth"), - HX_CSTRING("nmeGetRect"), - HX_CSTRING("noise"), - HX_CSTRING("setFormat"), - HX_CSTRING("unlock"), - HX_CSTRING("setVector"), - HX_CSTRING("setPixels"), - HX_CSTRING("setPixel32"), - HX_CSTRING("setPixel"), - HX_CSTRING("setFlags"), - HX_CSTRING("scroll"), - HX_CSTRING("perlinNoise"), - HX_CSTRING("nmeDrawToSurface"), - HX_CSTRING("lock"), - HX_CSTRING("getVector"), - HX_CSTRING("getPixels"), - HX_CSTRING("getPixel32"), - HX_CSTRING("getPixel"), - HX_CSTRING("getColorBoundsRect"), - HX_CSTRING("generateFilterRect"), - HX_CSTRING("fillRectEx"), - HX_CSTRING("fillRect"), - HX_CSTRING("encode"), - HX_CSTRING("dumpBits"), - HX_CSTRING("draw"), - HX_CSTRING("dispose"), - HX_CSTRING("destroyHardwareSurface"), - HX_CSTRING("createHardwareSurface"), - HX_CSTRING("copyPixels"), - HX_CSTRING("copyChannel"), - HX_CSTRING("colorTransform"), - HX_CSTRING("clone"), - HX_CSTRING("clear"), - HX_CSTRING("applyFilter"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("width"), - HX_CSTRING("transparent"), - HX_CSTRING("rect"), - HX_CSTRING("height"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BitmapData_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(BitmapData_obj::CLEAR,"CLEAR"); - HX_MARK_MEMBER_NAME(BitmapData_obj::BLACK,"BLACK"); - HX_MARK_MEMBER_NAME(BitmapData_obj::WHITE,"WHITE"); - HX_MARK_MEMBER_NAME(BitmapData_obj::RED,"RED"); - HX_MARK_MEMBER_NAME(BitmapData_obj::GREEN,"GREEN"); - HX_MARK_MEMBER_NAME(BitmapData_obj::BLUE,"BLUE"); - HX_MARK_MEMBER_NAME(BitmapData_obj::PNG,"PNG"); - HX_MARK_MEMBER_NAME(BitmapData_obj::JPG,"JPG"); - HX_MARK_MEMBER_NAME(BitmapData_obj::TRANSPARENT,"TRANSPARENT"); - HX_MARK_MEMBER_NAME(BitmapData_obj::HARDWARE,"HARDWARE"); - HX_MARK_MEMBER_NAME(BitmapData_obj::FORMAT_8888,"FORMAT_8888"); - HX_MARK_MEMBER_NAME(BitmapData_obj::FORMAT_4444,"FORMAT_4444"); - HX_MARK_MEMBER_NAME(BitmapData_obj::FORMAT_565,"FORMAT_565"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_create,"nme_bitmap_data_create"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_load,"nme_bitmap_data_load"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_from_bytes,"nme_bitmap_data_from_bytes"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_clear,"nme_bitmap_data_clear"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_clone,"nme_bitmap_data_clone"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_apply_filter,"nme_bitmap_data_apply_filter"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_color_transform,"nme_bitmap_data_color_transform"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_copy,"nme_bitmap_data_copy"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_copy_channel,"nme_bitmap_data_copy_channel"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_fill,"nme_bitmap_data_fill"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixels,"nme_bitmap_data_get_pixels"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel,"nme_bitmap_data_get_pixel"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel32,"nme_bitmap_data_get_pixel32"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel_rgba,"nme_bitmap_data_get_pixel_rgba"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_array,"nme_bitmap_data_get_array"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_color_bounds_rect,"nme_bitmap_data_get_color_bounds_rect"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_scroll,"nme_bitmap_data_scroll"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel,"nme_bitmap_data_set_pixel"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel32,"nme_bitmap_data_set_pixel32"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel_rgba,"nme_bitmap_data_set_pixel_rgba"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_bytes,"nme_bitmap_data_set_bytes"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_format,"nme_bitmap_data_set_format"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_array,"nme_bitmap_data_set_array"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_create_hardware_surface,"nme_bitmap_data_create_hardware_surface"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_destroy_hardware_surface,"nme_bitmap_data_destroy_hardware_surface"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_generate_filter_rect,"nme_bitmap_data_generate_filter_rect"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_render_surface_to_surface,"nme_render_surface_to_surface"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_height,"nme_bitmap_data_height"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_width,"nme_bitmap_data_width"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_transparent,"nme_bitmap_data_get_transparent"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_flags,"nme_bitmap_data_set_flags"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_encode,"nme_bitmap_data_encode"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_dump_bits,"nme_bitmap_data_dump_bits"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_noise,"nme_bitmap_data_noise"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BitmapData_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::CLEAR,"CLEAR"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::BLACK,"BLACK"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::WHITE,"WHITE"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::RED,"RED"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::GREEN,"GREEN"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::BLUE,"BLUE"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::PNG,"PNG"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::JPG,"JPG"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::TRANSPARENT,"TRANSPARENT"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::HARDWARE,"HARDWARE"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::FORMAT_8888,"FORMAT_8888"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::FORMAT_4444,"FORMAT_4444"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::FORMAT_565,"FORMAT_565"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_create,"nme_bitmap_data_create"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_load,"nme_bitmap_data_load"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_from_bytes,"nme_bitmap_data_from_bytes"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_clear,"nme_bitmap_data_clear"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_clone,"nme_bitmap_data_clone"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_apply_filter,"nme_bitmap_data_apply_filter"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_color_transform,"nme_bitmap_data_color_transform"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_copy,"nme_bitmap_data_copy"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_copy_channel,"nme_bitmap_data_copy_channel"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_fill,"nme_bitmap_data_fill"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixels,"nme_bitmap_data_get_pixels"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel,"nme_bitmap_data_get_pixel"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel32,"nme_bitmap_data_get_pixel32"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel_rgba,"nme_bitmap_data_get_pixel_rgba"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_array,"nme_bitmap_data_get_array"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_color_bounds_rect,"nme_bitmap_data_get_color_bounds_rect"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_scroll,"nme_bitmap_data_scroll"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel,"nme_bitmap_data_set_pixel"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel32,"nme_bitmap_data_set_pixel32"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel_rgba,"nme_bitmap_data_set_pixel_rgba"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_bytes,"nme_bitmap_data_set_bytes"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_format,"nme_bitmap_data_set_format"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_array,"nme_bitmap_data_set_array"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_create_hardware_surface,"nme_bitmap_data_create_hardware_surface"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_destroy_hardware_surface,"nme_bitmap_data_destroy_hardware_surface"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_generate_filter_rect,"nme_bitmap_data_generate_filter_rect"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_render_surface_to_surface,"nme_render_surface_to_surface"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_height,"nme_bitmap_data_height"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_width,"nme_bitmap_data_width"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_transparent,"nme_bitmap_data_get_transparent"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_flags,"nme_bitmap_data_set_flags"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_encode,"nme_bitmap_data_encode"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_dump_bits,"nme_bitmap_data_dump_bits"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_noise,"nme_bitmap_data_noise"); -}; - -Class BitmapData_obj::__mClass; - -void BitmapData_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.BitmapData"), hx::TCanCast< BitmapData_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BitmapData_obj::__boot() -{ - CLEAR= (int)0; -struct _Function_0_1{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",23); - { - HX_STACK_LINE(23) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(23) - return (int((int)0) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - BLACK= _Function_0_1::Block(); -struct _Function_0_2{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",24); - { - HX_STACK_LINE(24) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(24) - return (int((int)0) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - WHITE= _Function_0_2::Block(); -struct _Function_0_3{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",25); - { - HX_STACK_LINE(25) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(25) - return (int((int)16711680) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - RED= _Function_0_3::Block(); -struct _Function_0_4{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",26); - { - HX_STACK_LINE(26) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(26) - return (int((int)65280) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - GREEN= _Function_0_4::Block(); -struct _Function_0_5{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",27); - { - HX_STACK_LINE(27) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(27) - return (int((int)255) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - BLUE= _Function_0_5::Block(); - PNG= HX_CSTRING("png"); - JPG= HX_CSTRING("jpg"); - TRANSPARENT= (int)1; - HARDWARE= (int)2; - FORMAT_8888= (int)0; - FORMAT_4444= (int)1; - FORMAT_565= (int)2; - nme_bitmap_data_create= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_create"),(int)5); - nme_bitmap_data_load= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_load"),(int)2); - nme_bitmap_data_from_bytes= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_from_bytes"),(int)2); - nme_bitmap_data_clear= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_clear"),(int)2); - nme_bitmap_data_clone= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_clone"),(int)1); - nme_bitmap_data_apply_filter= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_apply_filter"),(int)5); - nme_bitmap_data_color_transform= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_color_transform"),(int)3); - nme_bitmap_data_copy= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_copy"),(int)5); - nme_bitmap_data_copy_channel= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_copy_channel"),(int)-1); - nme_bitmap_data_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_fill"),(int)4); - nme_bitmap_data_get_pixels= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_pixels"),(int)2); - nme_bitmap_data_get_pixel= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_pixel"),(int)3); - nme_bitmap_data_get_pixel32= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_pixel32"),(int)3); - nme_bitmap_data_get_pixel_rgba= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_pixel_rgba"),(int)3); - nme_bitmap_data_get_array= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_array"),(int)3); - nme_bitmap_data_get_color_bounds_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_color_bounds_rect"),(int)5); - nme_bitmap_data_scroll= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_scroll"),(int)3); - nme_bitmap_data_set_pixel= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_pixel"),(int)4); - nme_bitmap_data_set_pixel32= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_pixel32"),(int)4); - nme_bitmap_data_set_pixel_rgba= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_pixel_rgba"),(int)4); - nme_bitmap_data_set_bytes= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_bytes"),(int)4); - nme_bitmap_data_set_format= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_format"),(int)2); - nme_bitmap_data_set_array= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_array"),(int)3); - nme_bitmap_data_create_hardware_surface= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_create_hardware_surface"),(int)1); - nme_bitmap_data_destroy_hardware_surface= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_destroy_hardware_surface"),(int)1); - nme_bitmap_data_generate_filter_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_generate_filter_rect"),(int)3); - nme_render_surface_to_surface= ::neash::Loader_obj::load(HX_CSTRING("nme_render_surface_to_surface"),(int)-1); - nme_bitmap_data_height= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_height"),(int)1); - nme_bitmap_data_width= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_width"),(int)1); - nme_bitmap_data_get_transparent= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_transparent"),(int)1); - nme_bitmap_data_set_flags= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_flags"),(int)1); - nme_bitmap_data_encode= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_encode"),(int)3); - nme_bitmap_data_dump_bits= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_dump_bits"),(int)1); - nme_bitmap_data_noise= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_noise"),(int)-1); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/BitmapDataChannel.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/BitmapDataChannel.cpp deleted file mode 100644 index 86fe3ed..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/BitmapDataChannel.cpp +++ /dev/null @@ -1,131 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_BitmapDataChannel -#include -#endif -namespace neash{ -namespace display{ - -Void BitmapDataChannel_obj::__construct() -{ - return null(); -} - -BitmapDataChannel_obj::~BitmapDataChannel_obj() { } - -Dynamic BitmapDataChannel_obj::__CreateEmpty() { return new BitmapDataChannel_obj; } -hx::ObjectPtr< BitmapDataChannel_obj > BitmapDataChannel_obj::__new() -{ hx::ObjectPtr< BitmapDataChannel_obj > result = new BitmapDataChannel_obj(); - result->__construct(); - return result;} - -Dynamic BitmapDataChannel_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BitmapDataChannel_obj > result = new BitmapDataChannel_obj(); - result->__construct(); - return result;} - -int BitmapDataChannel_obj::ALPHA; - -int BitmapDataChannel_obj::BLUE; - -int BitmapDataChannel_obj::GREEN; - -int BitmapDataChannel_obj::RED; - - -BitmapDataChannel_obj::BitmapDataChannel_obj() -{ -} - -void BitmapDataChannel_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BitmapDataChannel); - HX_MARK_END_CLASS(); -} - -void BitmapDataChannel_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic BitmapDataChannel_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"RED") ) { return RED; } - break; - case 4: - if (HX_FIELD_EQ(inName,"BLUE") ) { return BLUE; } - break; - case 5: - if (HX_FIELD_EQ(inName,"ALPHA") ) { return ALPHA; } - if (HX_FIELD_EQ(inName,"GREEN") ) { return GREEN; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BitmapDataChannel_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"RED") ) { RED=inValue.Cast< int >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"BLUE") ) { BLUE=inValue.Cast< int >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"ALPHA") ) { ALPHA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"GREEN") ) { GREEN=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BitmapDataChannel_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("ALPHA"), - HX_CSTRING("BLUE"), - HX_CSTRING("GREEN"), - HX_CSTRING("RED"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::ALPHA,"ALPHA"); - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::BLUE,"BLUE"); - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::GREEN,"GREEN"); - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::RED,"RED"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::ALPHA,"ALPHA"); - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::BLUE,"BLUE"); - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::GREEN,"GREEN"); - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::RED,"RED"); -}; - -Class BitmapDataChannel_obj::__mClass; - -void BitmapDataChannel_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.BitmapDataChannel"), hx::TCanCast< BitmapDataChannel_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BitmapDataChannel_obj::__boot() -{ - ALPHA= (int)8; - BLUE= (int)4; - GREEN= (int)2; - RED= (int)1; -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/BlendMode.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/BlendMode.cpp deleted file mode 100644 index 19051b1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/BlendMode.cpp +++ /dev/null @@ -1,181 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_BlendMode -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::BlendMode BlendMode_obj::ADD; - -::neash::display::BlendMode BlendMode_obj::ALPHA; - -::neash::display::BlendMode BlendMode_obj::DARKEN; - -::neash::display::BlendMode BlendMode_obj::DIFFERENCE; - -::neash::display::BlendMode BlendMode_obj::ERASE; - -::neash::display::BlendMode BlendMode_obj::HARDLIGHT; - -::neash::display::BlendMode BlendMode_obj::INVERT; - -::neash::display::BlendMode BlendMode_obj::LAYER; - -::neash::display::BlendMode BlendMode_obj::LIGHTEN; - -::neash::display::BlendMode BlendMode_obj::MULTIPLY; - -::neash::display::BlendMode BlendMode_obj::NORMAL; - -::neash::display::BlendMode BlendMode_obj::OVERLAY; - -::neash::display::BlendMode BlendMode_obj::SCREEN; - -::neash::display::BlendMode BlendMode_obj::SUBTRACT; - -HX_DEFINE_CREATE_ENUM(BlendMode_obj) - -int BlendMode_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("ADD")) return 7; - if (inName==HX_CSTRING("ALPHA")) return 10; - if (inName==HX_CSTRING("DARKEN")) return 5; - if (inName==HX_CSTRING("DIFFERENCE")) return 6; - if (inName==HX_CSTRING("ERASE")) return 11; - if (inName==HX_CSTRING("HARDLIGHT")) return 13; - if (inName==HX_CSTRING("INVERT")) return 9; - if (inName==HX_CSTRING("LAYER")) return 1; - if (inName==HX_CSTRING("LIGHTEN")) return 4; - if (inName==HX_CSTRING("MULTIPLY")) return 2; - if (inName==HX_CSTRING("NORMAL")) return 0; - if (inName==HX_CSTRING("OVERLAY")) return 12; - if (inName==HX_CSTRING("SCREEN")) return 3; - if (inName==HX_CSTRING("SUBTRACT")) return 8; - return super::__FindIndex(inName); -} - -int BlendMode_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("ADD")) return 0; - if (inName==HX_CSTRING("ALPHA")) return 0; - if (inName==HX_CSTRING("DARKEN")) return 0; - if (inName==HX_CSTRING("DIFFERENCE")) return 0; - if (inName==HX_CSTRING("ERASE")) return 0; - if (inName==HX_CSTRING("HARDLIGHT")) return 0; - if (inName==HX_CSTRING("INVERT")) return 0; - if (inName==HX_CSTRING("LAYER")) return 0; - if (inName==HX_CSTRING("LIGHTEN")) return 0; - if (inName==HX_CSTRING("MULTIPLY")) return 0; - if (inName==HX_CSTRING("NORMAL")) return 0; - if (inName==HX_CSTRING("OVERLAY")) return 0; - if (inName==HX_CSTRING("SCREEN")) return 0; - if (inName==HX_CSTRING("SUBTRACT")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic BlendMode_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("ADD")) return ADD; - if (inName==HX_CSTRING("ALPHA")) return ALPHA; - if (inName==HX_CSTRING("DARKEN")) return DARKEN; - if (inName==HX_CSTRING("DIFFERENCE")) return DIFFERENCE; - if (inName==HX_CSTRING("ERASE")) return ERASE; - if (inName==HX_CSTRING("HARDLIGHT")) return HARDLIGHT; - if (inName==HX_CSTRING("INVERT")) return INVERT; - if (inName==HX_CSTRING("LAYER")) return LAYER; - if (inName==HX_CSTRING("LIGHTEN")) return LIGHTEN; - if (inName==HX_CSTRING("MULTIPLY")) return MULTIPLY; - if (inName==HX_CSTRING("NORMAL")) return NORMAL; - if (inName==HX_CSTRING("OVERLAY")) return OVERLAY; - if (inName==HX_CSTRING("SCREEN")) return SCREEN; - if (inName==HX_CSTRING("SUBTRACT")) return SUBTRACT; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NORMAL"), - HX_CSTRING("LAYER"), - HX_CSTRING("MULTIPLY"), - HX_CSTRING("SCREEN"), - HX_CSTRING("LIGHTEN"), - HX_CSTRING("DARKEN"), - HX_CSTRING("DIFFERENCE"), - HX_CSTRING("ADD"), - HX_CSTRING("SUBTRACT"), - HX_CSTRING("INVERT"), - HX_CSTRING("ALPHA"), - HX_CSTRING("ERASE"), - HX_CSTRING("OVERLAY"), - HX_CSTRING("HARDLIGHT"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BlendMode_obj::ADD,"ADD"); - HX_MARK_MEMBER_NAME(BlendMode_obj::ALPHA,"ALPHA"); - HX_MARK_MEMBER_NAME(BlendMode_obj::DARKEN,"DARKEN"); - HX_MARK_MEMBER_NAME(BlendMode_obj::DIFFERENCE,"DIFFERENCE"); - HX_MARK_MEMBER_NAME(BlendMode_obj::ERASE,"ERASE"); - HX_MARK_MEMBER_NAME(BlendMode_obj::HARDLIGHT,"HARDLIGHT"); - HX_MARK_MEMBER_NAME(BlendMode_obj::INVERT,"INVERT"); - HX_MARK_MEMBER_NAME(BlendMode_obj::LAYER,"LAYER"); - HX_MARK_MEMBER_NAME(BlendMode_obj::LIGHTEN,"LIGHTEN"); - HX_MARK_MEMBER_NAME(BlendMode_obj::MULTIPLY,"MULTIPLY"); - HX_MARK_MEMBER_NAME(BlendMode_obj::NORMAL,"NORMAL"); - HX_MARK_MEMBER_NAME(BlendMode_obj::OVERLAY,"OVERLAY"); - HX_MARK_MEMBER_NAME(BlendMode_obj::SCREEN,"SCREEN"); - HX_MARK_MEMBER_NAME(BlendMode_obj::SUBTRACT,"SUBTRACT"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BlendMode_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::ADD,"ADD"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::ALPHA,"ALPHA"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::DARKEN,"DARKEN"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::DIFFERENCE,"DIFFERENCE"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::ERASE,"ERASE"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::HARDLIGHT,"HARDLIGHT"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::INVERT,"INVERT"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::LAYER,"LAYER"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::LIGHTEN,"LIGHTEN"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::MULTIPLY,"MULTIPLY"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::NORMAL,"NORMAL"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::OVERLAY,"OVERLAY"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::SCREEN,"SCREEN"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::SUBTRACT,"SUBTRACT"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class BlendMode_obj::__mClass; - -Dynamic __Create_BlendMode_obj() { return new BlendMode_obj; } - -void BlendMode_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.BlendMode"), hx::TCanCast< BlendMode_obj >,sStaticFields,sMemberFields, - &__Create_BlendMode_obj, &__Create, - &super::__SGetClass(), &CreateBlendMode_obj, sMarkStatics, sVisitStatic); -} - -void BlendMode_obj::__boot() -{ -Static(ADD) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("ADD"),7); -Static(ALPHA) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("ALPHA"),10); -Static(DARKEN) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("DARKEN"),5); -Static(DIFFERENCE) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("DIFFERENCE"),6); -Static(ERASE) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("ERASE"),11); -Static(HARDLIGHT) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("HARDLIGHT"),13); -Static(INVERT) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("INVERT"),9); -Static(LAYER) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("LAYER"),1); -Static(LIGHTEN) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("LIGHTEN"),4); -Static(MULTIPLY) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("MULTIPLY"),2); -Static(NORMAL) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("NORMAL"),0); -Static(OVERLAY) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("OVERLAY"),12); -Static(SCREEN) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("SCREEN"),3); -Static(SUBTRACT) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("SUBTRACT"),8); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/CapsStyle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/CapsStyle.cpp deleted file mode 100644 index e715776..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/CapsStyle.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::CapsStyle CapsStyle_obj::NONE; - -::neash::display::CapsStyle CapsStyle_obj::ROUND; - -::neash::display::CapsStyle CapsStyle_obj::SQUARE; - -HX_DEFINE_CREATE_ENUM(CapsStyle_obj) - -int CapsStyle_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("NONE")) return 1; - if (inName==HX_CSTRING("ROUND")) return 0; - if (inName==HX_CSTRING("SQUARE")) return 2; - return super::__FindIndex(inName); -} - -int CapsStyle_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("NONE")) return 0; - if (inName==HX_CSTRING("ROUND")) return 0; - if (inName==HX_CSTRING("SQUARE")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic CapsStyle_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("NONE")) return NONE; - if (inName==HX_CSTRING("ROUND")) return ROUND; - if (inName==HX_CSTRING("SQUARE")) return SQUARE; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("ROUND"), - HX_CSTRING("NONE"), - HX_CSTRING("SQUARE"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(CapsStyle_obj::NONE,"NONE"); - HX_MARK_MEMBER_NAME(CapsStyle_obj::ROUND,"ROUND"); - HX_MARK_MEMBER_NAME(CapsStyle_obj::SQUARE,"SQUARE"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(CapsStyle_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(CapsStyle_obj::NONE,"NONE"); - HX_VISIT_MEMBER_NAME(CapsStyle_obj::ROUND,"ROUND"); - HX_VISIT_MEMBER_NAME(CapsStyle_obj::SQUARE,"SQUARE"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class CapsStyle_obj::__mClass; - -Dynamic __Create_CapsStyle_obj() { return new CapsStyle_obj; } - -void CapsStyle_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.CapsStyle"), hx::TCanCast< CapsStyle_obj >,sStaticFields,sMemberFields, - &__Create_CapsStyle_obj, &__Create, - &super::__SGetClass(), &CreateCapsStyle_obj, sMarkStatics, sVisitStatic); -} - -void CapsStyle_obj::__boot() -{ -Static(NONE) = hx::CreateEnum< CapsStyle_obj >(HX_CSTRING("NONE"),1); -Static(ROUND) = hx::CreateEnum< CapsStyle_obj >(HX_CSTRING("ROUND"),0); -Static(SQUARE) = hx::CreateEnum< CapsStyle_obj >(HX_CSTRING("SQUARE"),2); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/DisplayObject.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/DisplayObject.cpp deleted file mode 100644 index b72e6b0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/DisplayObject.cpp +++ /dev/null @@ -1,2139 +0,0 @@ -#include - -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_BlendMode -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_PixelSnapping -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_EventPhase -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -#ifndef INCLUDED_neash_geom_Transform -#include -#endif -namespace neash{ -namespace display{ - -Void DisplayObject_obj::__construct(Dynamic inHandle,::String inType) -{ -HX_STACK_PUSH("DisplayObject::new","neash/display/DisplayObject.hx",186); -{ - HX_STACK_LINE(187) - super::__construct(hx::ObjectPtr(this)); - HX_STACK_LINE(189) - this->nmeParent = null(); - HX_STACK_LINE(190) - this->nmeHandle = inHandle; - HX_STACK_LINE(191) - this->nmeID = ::neash::display::DisplayObject_obj::nme_display_object_get_id(this->nmeHandle); - HX_STACK_LINE(192) - this->nmeSetName(((inType + HX_CSTRING(" ")) + this->nmeID)); -} -; - return null(); -} - -DisplayObject_obj::~DisplayObject_obj() { } - -Dynamic DisplayObject_obj::__CreateEmpty() { return new DisplayObject_obj; } -hx::ObjectPtr< DisplayObject_obj > DisplayObject_obj::__new(Dynamic inHandle,::String inType) -{ hx::ObjectPtr< DisplayObject_obj > result = new DisplayObject_obj(); - result->__construct(inHandle,inType); - return result;} - -Dynamic DisplayObject_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< DisplayObject_obj > result = new DisplayObject_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -hx::Object *DisplayObject_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::neash::display::IBitmapDrawable_obj)) return operator ::neash::display::IBitmapDrawable_obj *(); - return super::__ToInterface(inType); -} - -Float DisplayObject_obj::nmeSetY( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetY","neash/display/DisplayObject.hx",762); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(763) - ::neash::display::DisplayObject_obj::nme_display_object_set_y(this->nmeHandle,inVal); - HX_STACK_LINE(764) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetY,return ) - -Float DisplayObject_obj::nmeGetY( ){ - HX_STACK_PUSH("DisplayObject::nmeGetY","neash/display/DisplayObject.hx",760); - HX_STACK_THIS(this); - HX_STACK_LINE(760) - return ::neash::display::DisplayObject_obj::nme_display_object_get_y(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetY,return ) - -Float DisplayObject_obj::nmeSetX( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetX","neash/display/DisplayObject.hx",754); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(755) - ::neash::display::DisplayObject_obj::nme_display_object_set_x(this->nmeHandle,inVal); - HX_STACK_LINE(756) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetX,return ) - -Float DisplayObject_obj::nmeGetX( ){ - HX_STACK_PUSH("DisplayObject::nmeGetX","neash/display/DisplayObject.hx",752); - HX_STACK_THIS(this); - HX_STACK_LINE(752) - return ::neash::display::DisplayObject_obj::nme_display_object_get_x(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetX,return ) - -Float DisplayObject_obj::nmeSetWidth( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetWidth","neash/display/DisplayObject.hx",746); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(747) - ::neash::display::DisplayObject_obj::nme_display_object_set_width(this->nmeHandle,inVal); - HX_STACK_LINE(748) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetWidth,return ) - -Float DisplayObject_obj::nmeGetWidth( ){ - HX_STACK_PUSH("DisplayObject::nmeGetWidth","neash/display/DisplayObject.hx",744); - HX_STACK_THIS(this); - HX_STACK_LINE(744) - return ::neash::display::DisplayObject_obj::nme_display_object_get_width(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetWidth,return ) - -bool DisplayObject_obj::nmeSetVisible( bool inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetVisible","neash/display/DisplayObject.hx",738); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(739) - ::neash::display::DisplayObject_obj::nme_display_object_set_visible(this->nmeHandle,inVal); - HX_STACK_LINE(740) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetVisible,return ) - -bool DisplayObject_obj::nmeGetVisible( ){ - HX_STACK_PUSH("DisplayObject::nmeGetVisible","neash/display/DisplayObject.hx",736); - HX_STACK_THIS(this); - HX_STACK_LINE(736) - return ::neash::display::DisplayObject_obj::nme_display_object_get_visible(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetVisible,return ) - -::neash::geom::Transform DisplayObject_obj::nmeSetTransform( ::neash::geom::Transform inTransform){ - HX_STACK_PUSH("DisplayObject::nmeSetTransform","neash/display/DisplayObject.hx",729); - HX_STACK_THIS(this); - HX_STACK_ARG(inTransform,"inTransform"); - HX_STACK_LINE(730) - this->nmeSetMatrix(inTransform->nmeGetMatrix()); - HX_STACK_LINE(731) - this->nmeSetColorTransform(inTransform->nmeGetColorTransform()); - HX_STACK_LINE(732) - return inTransform; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetTransform,return ) - -::neash::geom::Transform DisplayObject_obj::nmeGetTransform( ){ - HX_STACK_PUSH("DisplayObject::nmeGetTransform","neash/display/DisplayObject.hx",727); - HX_STACK_THIS(this); - HX_STACK_LINE(727) - return ::neash::geom::Transform_obj::__new(hx::ObjectPtr(this)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetTransform,return ) - -::neash::display::Stage DisplayObject_obj::nmeGetStage( ){ - HX_STACK_PUSH("DisplayObject::nmeGetStage","neash/display/DisplayObject.hx",719); - HX_STACK_THIS(this); - HX_STACK_LINE(720) - if (((this->nmeParent != null()))){ - HX_STACK_LINE(721) - return this->nmeParent->nmeGetStage(); - } - HX_STACK_LINE(723) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetStage,return ) - -::neash::geom::Rectangle DisplayObject_obj::nmeSetScrollRect( ::neash::geom::Rectangle inRect){ - HX_STACK_PUSH("DisplayObject::nmeSetScrollRect","neash/display/DisplayObject.hx",711); - HX_STACK_THIS(this); - HX_STACK_ARG(inRect,"inRect"); - HX_STACK_LINE(712) - this->nmeScrollRect = ( (((inRect == null()))) ? ::neash::geom::Rectangle(null()) : ::neash::geom::Rectangle(inRect->clone()) ); - HX_STACK_LINE(713) - ::neash::display::DisplayObject_obj::nme_display_object_set_scroll_rect(this->nmeHandle,this->nmeScrollRect); - HX_STACK_LINE(714) - return inRect; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetScrollRect,return ) - -::neash::geom::Rectangle DisplayObject_obj::nmeGetScrollRect( ){ - HX_STACK_PUSH("DisplayObject::nmeGetScrollRect","neash/display/DisplayObject.hx",709); - HX_STACK_THIS(this); - HX_STACK_LINE(709) - return ( (((this->nmeScrollRect == null()))) ? ::neash::geom::Rectangle(null()) : ::neash::geom::Rectangle(this->nmeScrollRect->clone()) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetScrollRect,return ) - -Float DisplayObject_obj::nmeSetScaleY( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetScaleY","neash/display/DisplayObject.hx",703); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(704) - ::neash::display::DisplayObject_obj::nme_display_object_set_scale_y(this->nmeHandle,inVal); - HX_STACK_LINE(705) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetScaleY,return ) - -Float DisplayObject_obj::nmeGetScaleY( ){ - HX_STACK_PUSH("DisplayObject::nmeGetScaleY","neash/display/DisplayObject.hx",701); - HX_STACK_THIS(this); - HX_STACK_LINE(701) - return ::neash::display::DisplayObject_obj::nme_display_object_get_scale_y(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetScaleY,return ) - -Float DisplayObject_obj::nmeSetScaleX( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetScaleX","neash/display/DisplayObject.hx",695); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(696) - ::neash::display::DisplayObject_obj::nme_display_object_set_scale_x(this->nmeHandle,inVal); - HX_STACK_LINE(697) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetScaleX,return ) - -Float DisplayObject_obj::nmeGetScaleX( ){ - HX_STACK_PUSH("DisplayObject::nmeGetScaleX","neash/display/DisplayObject.hx",693); - HX_STACK_THIS(this); - HX_STACK_LINE(693) - return ::neash::display::DisplayObject_obj::nme_display_object_get_scale_x(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetScaleX,return ) - -::neash::geom::Rectangle DisplayObject_obj::nmeSetScale9Grid( ::neash::geom::Rectangle inRect){ - HX_STACK_PUSH("DisplayObject::nmeSetScale9Grid","neash/display/DisplayObject.hx",686); - HX_STACK_THIS(this); - HX_STACK_ARG(inRect,"inRect"); - HX_STACK_LINE(687) - this->nmeScale9Grid = ( (((inRect == null()))) ? ::neash::geom::Rectangle(null()) : ::neash::geom::Rectangle(inRect->clone()) ); - HX_STACK_LINE(688) - ::neash::display::DisplayObject_obj::nme_display_object_set_scale9_grid(this->nmeHandle,this->nmeScale9Grid); - HX_STACK_LINE(689) - return inRect; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetScale9Grid,return ) - -::neash::geom::Rectangle DisplayObject_obj::nmeGetScale9Grid( ){ - HX_STACK_PUSH("DisplayObject::nmeGetScale9Grid","neash/display/DisplayObject.hx",684); - HX_STACK_THIS(this); - HX_STACK_LINE(684) - return ( (((this->nmeScale9Grid == null()))) ? ::neash::geom::Rectangle(null()) : ::neash::geom::Rectangle(this->nmeScale9Grid->clone()) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetScale9Grid,return ) - -Float DisplayObject_obj::nmeSetRotation( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetRotation","neash/display/DisplayObject.hx",678); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(679) - ::neash::display::DisplayObject_obj::nme_display_object_set_rotation(this->nmeHandle,inVal); - HX_STACK_LINE(680) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetRotation,return ) - -Float DisplayObject_obj::nmeGetRotation( ){ - HX_STACK_PUSH("DisplayObject::nmeGetRotation","neash/display/DisplayObject.hx",676); - HX_STACK_THIS(this); - HX_STACK_LINE(676) - return ::neash::display::DisplayObject_obj::nme_display_object_get_rotation(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetRotation,return ) - -::neash::display::DisplayObjectContainer DisplayObject_obj::nmeSetParent( ::neash::display::DisplayObjectContainer inParent){ - HX_STACK_PUSH("DisplayObject::nmeSetParent","neash/display/DisplayObject.hx",649); - HX_STACK_THIS(this); - HX_STACK_ARG(inParent,"inParent"); - HX_STACK_LINE(650) - if (((inParent == this->nmeParent))){ - HX_STACK_LINE(651) - return inParent; - } - HX_STACK_LINE(653) - if (((this->nmeParent != null()))){ - HX_STACK_LINE(654) - this->nmeParent->nmeRemoveChildFromArray(hx::ObjectPtr(this)); - } - HX_STACK_LINE(656) - if (((bool((this->nmeParent == null())) && bool((inParent != null()))))){ - HX_STACK_LINE(658) - this->nmeParent = inParent; - HX_STACK_LINE(659) - this->nmeOnAdded(hx::ObjectPtr(this),(this->nmeGetStage() != null())); - } - else{ - HX_STACK_LINE(661) - if (((bool((this->nmeParent != null())) && bool((inParent == null()))))){ - HX_STACK_LINE(663) - bool was_on_stage = (this->nmeGetStage() != null()); HX_STACK_VAR(was_on_stage,"was_on_stage"); - HX_STACK_LINE(664) - this->nmeParent = inParent; - HX_STACK_LINE(665) - this->nmeOnRemoved(hx::ObjectPtr(this),was_on_stage); - } - else{ - HX_STACK_LINE(668) - this->nmeParent = inParent; - } - } - HX_STACK_LINE(672) - return inParent; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetParent,return ) - -::neash::display::DisplayObjectContainer DisplayObject_obj::nmeGetParent( ){ - HX_STACK_PUSH("DisplayObject::nmeGetParent","neash/display/DisplayObject.hx",645); - HX_STACK_THIS(this); - HX_STACK_LINE(645) - return this->nmeParent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetParent,return ) - -::String DisplayObject_obj::nmeSetName( ::String inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetName","neash/display/DisplayObject.hx",639); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(640) - ::neash::display::DisplayObject_obj::nme_display_object_set_name(this->nmeHandle,inVal); - HX_STACK_LINE(641) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetName,return ) - -::String DisplayObject_obj::nmeGetName( ){ - HX_STACK_PUSH("DisplayObject::nmeGetName","neash/display/DisplayObject.hx",637); - HX_STACK_THIS(this); - HX_STACK_LINE(637) - return ::neash::display::DisplayObject_obj::nme_display_object_get_name(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetName,return ) - -Float DisplayObject_obj::nmeGetMouseY( ){ - HX_STACK_PUSH("DisplayObject::nmeGetMouseY","neash/display/DisplayObject.hx",634); - HX_STACK_THIS(this); - HX_STACK_LINE(634) - return ::neash::display::DisplayObject_obj::nme_display_object_get_mouse_y(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetMouseY,return ) - -Float DisplayObject_obj::nmeGetMouseX( ){ - HX_STACK_PUSH("DisplayObject::nmeGetMouseX","neash/display/DisplayObject.hx",633); - HX_STACK_THIS(this); - HX_STACK_LINE(633) - return ::neash::display::DisplayObject_obj::nme_display_object_get_mouse_x(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetMouseX,return ) - -::neash::display::DisplayObject DisplayObject_obj::nmeSetMask( ::neash::display::DisplayObject inObject){ - HX_STACK_PUSH("DisplayObject::nmeSetMask","neash/display/DisplayObject.hx",626); - HX_STACK_THIS(this); - HX_STACK_ARG(inObject,"inObject"); - HX_STACK_LINE(627) - this->mask = inObject; - HX_STACK_LINE(628) - ::neash::display::DisplayObject_obj::nme_display_object_set_mask(this->nmeHandle,( (((inObject == null()))) ? Dynamic(null()) : Dynamic(inObject->nmeHandle) )); - HX_STACK_LINE(629) - return inObject; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetMask,return ) - -Float DisplayObject_obj::nmeSetHeight( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetHeight","neash/display/DisplayObject.hx",619); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(620) - ::neash::display::DisplayObject_obj::nme_display_object_set_height(this->nmeHandle,inVal); - HX_STACK_LINE(621) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetHeight,return ) - -Float DisplayObject_obj::nmeGetHeight( ){ - HX_STACK_PUSH("DisplayObject::nmeGetHeight","neash/display/DisplayObject.hx",617); - HX_STACK_THIS(this); - HX_STACK_LINE(617) - return ::neash::display::DisplayObject_obj::nme_display_object_get_height(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetHeight,return ) - -::neash::display::Graphics DisplayObject_obj::nmeGetGraphics( ){ - HX_STACK_PUSH("DisplayObject::nmeGetGraphics","neash/display/DisplayObject.hx",610); - HX_STACK_THIS(this); - HX_STACK_LINE(611) - if (((this->nmeGraphicsCache == null()))){ - HX_STACK_LINE(612) - this->nmeGraphicsCache = ::neash::display::Graphics_obj::__new(::neash::display::DisplayObject_obj::nme_display_object_get_graphics(this->nmeHandle)); - } - HX_STACK_LINE(613) - return this->nmeGraphicsCache; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetGraphics,return ) - -Dynamic DisplayObject_obj::nmeSetFilters( Dynamic inFilters){ - HX_STACK_PUSH("DisplayObject::nmeSetFilters","neash/display/DisplayObject.hx",590); - HX_STACK_THIS(this); - HX_STACK_ARG(inFilters,"inFilters"); - HX_STACK_LINE(591) - if (((inFilters == null()))){ - HX_STACK_LINE(592) - this->nmeFilters = null(); - } - else{ - HX_STACK_LINE(597) - this->nmeFilters = Dynamic( Array_obj::__new() ); - HX_STACK_LINE(599) - { - HX_STACK_LINE(599) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(599) - while(((_g < inFilters->__Field(HX_CSTRING("length"),true)))){ - HX_STACK_LINE(599) - Dynamic filter = inFilters->__GetItem(_g); HX_STACK_VAR(filter,"filter"); - HX_STACK_LINE(599) - ++(_g); - HX_STACK_LINE(600) - this->nmeFilters->__Field(HX_CSTRING("push"),true)(filter->__Field(HX_CSTRING("clone"),true)()); - } - } - } - HX_STACK_LINE(603) - ::neash::display::DisplayObject_obj::nme_display_object_set_filters(this->nmeHandle,this->nmeFilters); - HX_STACK_LINE(605) - return inFilters; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetFilters,return ) - -Dynamic DisplayObject_obj::nmeGetFilters( ){ - HX_STACK_PUSH("DisplayObject::nmeGetFilters","neash/display/DisplayObject.hx",577); - HX_STACK_THIS(this); - HX_STACK_LINE(578) - if (((this->nmeFilters == null()))){ - HX_STACK_LINE(578) - return Dynamic( Array_obj::__new()); - } - HX_STACK_LINE(580) - Dynamic result = Dynamic( Array_obj::__new() ); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(582) - { - HX_STACK_LINE(582) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Dynamic _g1 = this->nmeFilters; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(582) - while(((_g < _g1->__Field(HX_CSTRING("length"),true)))){ - HX_STACK_LINE(582) - Dynamic filter = _g1->__GetItem(_g); HX_STACK_VAR(filter,"filter"); - HX_STACK_LINE(582) - ++(_g); - HX_STACK_LINE(583) - result->__Field(HX_CSTRING("push"),true)(filter->__Field(HX_CSTRING("clone"),true)()); - } - } - HX_STACK_LINE(585) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetFilters,return ) - -::neash::display::PixelSnapping DisplayObject_obj::nmeSetPixelSnapping( ::neash::display::PixelSnapping inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetPixelSnapping","neash/display/DisplayObject.hx",569); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(570) - if (((inVal == null()))){ - HX_STACK_LINE(571) - ::neash::display::DisplayObject_obj::nme_display_object_set_pixel_snapping(this->nmeHandle,(int)0); - } - HX_STACK_LINE(572) - ::neash::display::DisplayObject_obj::nme_display_object_set_pixel_snapping(this->nmeHandle,inVal->__Index()); - HX_STACK_LINE(573) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetPixelSnapping,return ) - -::neash::display::PixelSnapping DisplayObject_obj::nmeGetPixelSnapping( ){ - HX_STACK_PUSH("DisplayObject::nmeGetPixelSnapping","neash/display/DisplayObject.hx",564); - HX_STACK_THIS(this); - HX_STACK_LINE(565) - int val = ::neash::display::DisplayObject_obj::nme_display_object_get_pixel_snapping(this->nmeHandle); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(566) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::PixelSnapping >(),val,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetPixelSnapping,return ) - -bool DisplayObject_obj::nmeSetPedanticBitmapCaching( bool inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetPedanticBitmapCaching","neash/display/DisplayObject.hx",559); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(560) - ::neash::display::DisplayObject_obj::nme_display_object_set_pedantic_bitmap_caching(this->nmeHandle,inVal); - HX_STACK_LINE(561) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetPedanticBitmapCaching,return ) - -bool DisplayObject_obj::nmeGetPedanticBitmapCaching( ){ - HX_STACK_PUSH("DisplayObject::nmeGetPedanticBitmapCaching","neash/display/DisplayObject.hx",557); - HX_STACK_THIS(this); - HX_STACK_LINE(557) - return ::neash::display::DisplayObject_obj::nme_display_object_get_pedantic_bitmap_caching(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetPedanticBitmapCaching,return ) - -bool DisplayObject_obj::nmeSetCacheAsBitmap( bool inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetCacheAsBitmap","neash/display/DisplayObject.hx",552); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(553) - ::neash::display::DisplayObject_obj::nme_display_object_set_cache_as_bitmap(this->nmeHandle,inVal); - HX_STACK_LINE(554) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetCacheAsBitmap,return ) - -bool DisplayObject_obj::nmeGetCacheAsBitmap( ){ - HX_STACK_PUSH("DisplayObject::nmeGetCacheAsBitmap","neash/display/DisplayObject.hx",550); - HX_STACK_THIS(this); - HX_STACK_LINE(550) - return ::neash::display::DisplayObject_obj::nme_display_object_get_cache_as_bitmap(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetCacheAsBitmap,return ) - -::neash::display::BlendMode DisplayObject_obj::nmeSetBlendMode( ::neash::display::BlendMode inMode){ - HX_STACK_PUSH("DisplayObject::nmeSetBlendMode","neash/display/DisplayObject.hx",544); - HX_STACK_THIS(this); - HX_STACK_ARG(inMode,"inMode"); - HX_STACK_LINE(545) - ::neash::display::DisplayObject_obj::nme_display_object_set_blend_mode(this->nmeHandle,inMode->__Index()); - HX_STACK_LINE(546) - return inMode; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetBlendMode,return ) - -::neash::display::BlendMode DisplayObject_obj::nmeGetBlendMode( ){ - HX_STACK_PUSH("DisplayObject::nmeGetBlendMode","neash/display/DisplayObject.hx",537); - HX_STACK_THIS(this); - HX_STACK_LINE(538) - int i = ::neash::display::DisplayObject_obj::nme_display_object_get_blend_mode(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(539) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::BlendMode >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetBlendMode,return ) - -Dynamic DisplayObject_obj::nmeSetBG( Dynamic inBG){ - HX_STACK_PUSH("DisplayObject::nmeSetBG","neash/display/DisplayObject.hx",526); - HX_STACK_THIS(this); - HX_STACK_ARG(inBG,"inBG"); - HX_STACK_LINE(527) - if (((inBG == null()))){ - HX_STACK_LINE(528) - ::neash::display::DisplayObject_obj::nme_display_object_set_bg(this->nmeHandle,(int)0); - } - else{ - HX_STACK_LINE(530) - ::neash::display::DisplayObject_obj::nme_display_object_set_bg(this->nmeHandle,inBG); - } - HX_STACK_LINE(532) - return inBG; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetBG,return ) - -Dynamic DisplayObject_obj::nmeGetBG( ){ - HX_STACK_PUSH("DisplayObject::nmeGetBG","neash/display/DisplayObject.hx",516); - HX_STACK_THIS(this); - HX_STACK_LINE(517) - int i = ::neash::display::DisplayObject_obj::nme_display_object_get_bg(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(518) - if (((((int(i) & int((int)16777216))) == (int)0))){ - HX_STACK_LINE(519) - return null(); - } - HX_STACK_LINE(521) - return (int(i) & int((int)16777215)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetBG,return ) - -Float DisplayObject_obj::nmeSetAlpha( Float inAlpha){ - HX_STACK_PUSH("DisplayObject::nmeSetAlpha","neash/display/DisplayObject.hx",509); - HX_STACK_THIS(this); - HX_STACK_ARG(inAlpha,"inAlpha"); - HX_STACK_LINE(510) - ::neash::display::DisplayObject_obj::nme_display_object_set_alpha(this->nmeHandle,inAlpha); - HX_STACK_LINE(511) - return inAlpha; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetAlpha,return ) - -Float DisplayObject_obj::nmeGetAlpha( ){ - HX_STACK_PUSH("DisplayObject::nmeGetAlpha","neash/display/DisplayObject.hx",507); - HX_STACK_THIS(this); - HX_STACK_LINE(507) - return ::neash::display::DisplayObject_obj::nme_display_object_get_alpha(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetAlpha,return ) - -::String DisplayObject_obj::toString( ){ - HX_STACK_PUSH("DisplayObject::toString","neash/display/DisplayObject.hx",497); - HX_STACK_THIS(this); - HX_STACK_LINE(497) - return this->nmeGetName(); -} - - -Void DisplayObject_obj::nmeSetMatrix( ::neash::geom::Matrix inMatrix){ -{ - HX_STACK_PUSH("DisplayObject::nmeSetMatrix","neash/display/DisplayObject.hx",488); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_LINE(488) - ::neash::display::DisplayObject_obj::nme_display_object_set_matrix(this->nmeHandle,inMatrix); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetMatrix,(void)) - -Void DisplayObject_obj::nmeSetColorTransform( ::neash::geom::ColorTransform inTrans){ -{ - HX_STACK_PUSH("DisplayObject::nmeSetColorTransform","neash/display/DisplayObject.hx",482); - HX_STACK_THIS(this); - HX_STACK_ARG(inTrans,"inTrans"); - HX_STACK_LINE(482) - ::neash::display::DisplayObject_obj::nme_display_object_set_color_transform(this->nmeHandle,inTrans); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetColorTransform,(void)) - -Void DisplayObject_obj::nmeOnRemoved( ::neash::display::DisplayObject inObj,bool inWasOnStage){ -{ - HX_STACK_PUSH("DisplayObject::nmeOnRemoved","neash/display/DisplayObject.hx",464); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inWasOnStage,"inWasOnStage"); - HX_STACK_LINE(465) - if (((inObj == hx::ObjectPtr(this)))){ - HX_STACK_LINE(467) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::Event_obj::REMOVED,true,false); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(468) - evt->nmeSetTarget(inObj); - HX_STACK_LINE(469) - this->dispatchEvent(evt); - } - HX_STACK_LINE(472) - if ((inWasOnStage)){ - HX_STACK_LINE(474) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::Event_obj::REMOVED_FROM_STAGE,false,false); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(475) - evt->nmeSetTarget(inObj); - HX_STACK_LINE(476) - this->dispatchEvent(evt); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObject_obj,nmeOnRemoved,(void)) - -Void DisplayObject_obj::nmeOnAdded( ::neash::display::DisplayObject inObj,bool inIsOnStage){ -{ - HX_STACK_PUSH("DisplayObject::nmeOnAdded","neash/display/DisplayObject.hx",446); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inIsOnStage,"inIsOnStage"); - HX_STACK_LINE(447) - if (((inObj == hx::ObjectPtr(this)))){ - HX_STACK_LINE(449) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::Event_obj::ADDED,true,false); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(450) - evt->nmeSetTarget(inObj); - HX_STACK_LINE(451) - this->dispatchEvent(evt); - } - HX_STACK_LINE(454) - if ((inIsOnStage)){ - HX_STACK_LINE(456) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::Event_obj::ADDED_TO_STAGE,false,false); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(457) - evt->nmeSetTarget(inObj); - HX_STACK_LINE(458) - this->dispatchEvent(evt); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObject_obj,nmeOnAdded,(void)) - -::neash::geom::Rectangle DisplayObject_obj::nmeGetPixelBounds( ){ - HX_STACK_PUSH("DisplayObject::nmeGetPixelBounds","neash/display/DisplayObject.hx",438); - HX_STACK_THIS(this); - HX_STACK_LINE(439) - ::neash::geom::Rectangle rect = ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(rect,"rect"); - HX_STACK_LINE(440) - ::neash::display::DisplayObject_obj::nme_display_object_get_pixel_bounds(this->nmeHandle,rect); - HX_STACK_LINE(441) - return rect; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetPixelBounds,return ) - -Void DisplayObject_obj::nmeGetObjectsUnderPoint( ::neash::geom::Point point,Array< ::neash::display::DisplayObject > result){ -{ - HX_STACK_PUSH("DisplayObject::nmeGetObjectsUnderPoint","neash/display/DisplayObject.hx",431); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_ARG(result,"result"); - HX_STACK_LINE(431) - if ((::neash::display::DisplayObject_obj::nme_display_object_hit_test_point(this->nmeHandle,point->x,point->y,true,false))){ - HX_STACK_LINE(433) - result->push(hx::ObjectPtr(this)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObject_obj,nmeGetObjectsUnderPoint,(void)) - -::neash::geom::Matrix DisplayObject_obj::nmeGetMatrix( ){ - HX_STACK_PUSH("DisplayObject::nmeGetMatrix","neash/display/DisplayObject.hx",423); - HX_STACK_THIS(this); - HX_STACK_LINE(424) - ::neash::geom::Matrix mtx = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(mtx,"mtx"); - HX_STACK_LINE(425) - ::neash::display::DisplayObject_obj::nme_display_object_get_matrix(this->nmeHandle,mtx,false); - HX_STACK_LINE(426) - return mtx; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetMatrix,return ) - -Void DisplayObject_obj::nmeGetInteractiveObjectStack( Array< ::neash::display::InteractiveObject > outStack){ -{ - HX_STACK_PUSH("DisplayObject::nmeGetInteractiveObjectStack","neash/display/DisplayObject.hx",411); - HX_STACK_THIS(this); - HX_STACK_ARG(outStack,"outStack"); - HX_STACK_LINE(412) - ::neash::display::InteractiveObject io = this->nmeAsInteractiveObject(); HX_STACK_VAR(io,"io"); - HX_STACK_LINE(414) - if (((io != null()))){ - HX_STACK_LINE(415) - outStack->push(io); - } - HX_STACK_LINE(417) - if (((this->nmeParent != null()))){ - HX_STACK_LINE(418) - this->nmeParent->nmeGetInteractiveObjectStack(outStack); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeGetInteractiveObjectStack,(void)) - -::neash::geom::Matrix DisplayObject_obj::nmeGetConcatenatedMatrix( ){ - HX_STACK_PUSH("DisplayObject::nmeGetConcatenatedMatrix","neash/display/DisplayObject.hx",403); - HX_STACK_THIS(this); - HX_STACK_LINE(404) - ::neash::geom::Matrix mtx = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(mtx,"mtx"); - HX_STACK_LINE(405) - ::neash::display::DisplayObject_obj::nme_display_object_get_matrix(this->nmeHandle,mtx,true); - HX_STACK_LINE(406) - return mtx; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetConcatenatedMatrix,return ) - -::neash::geom::ColorTransform DisplayObject_obj::nmeGetConcatenatedColorTransform( ){ - HX_STACK_PUSH("DisplayObject::nmeGetConcatenatedColorTransform","neash/display/DisplayObject.hx",395); - HX_STACK_THIS(this); - HX_STACK_LINE(396) - ::neash::geom::ColorTransform trans = ::neash::geom::ColorTransform_obj::__new(null(),null(),null(),null(),null(),null(),null(),null()); HX_STACK_VAR(trans,"trans"); - HX_STACK_LINE(397) - ::neash::display::DisplayObject_obj::nme_display_object_get_color_transform(this->nmeHandle,trans,true); - HX_STACK_LINE(398) - return trans; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetConcatenatedColorTransform,return ) - -::neash::geom::ColorTransform DisplayObject_obj::nmeGetColorTransform( ){ - HX_STACK_PUSH("DisplayObject::nmeGetColorTransform","neash/display/DisplayObject.hx",387); - HX_STACK_THIS(this); - HX_STACK_LINE(388) - ::neash::geom::ColorTransform trans = ::neash::geom::ColorTransform_obj::__new(null(),null(),null(),null(),null(),null(),null(),null()); HX_STACK_VAR(trans,"trans"); - HX_STACK_LINE(389) - ::neash::display::DisplayObject_obj::nme_display_object_get_color_transform(this->nmeHandle,trans,false); - HX_STACK_LINE(390) - return trans; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetColorTransform,return ) - -Void DisplayObject_obj::nmeFireEvent( ::neash::events::Event inEvt){ -{ - HX_STACK_PUSH("DisplayObject::nmeFireEvent","neash/display/DisplayObject.hx",335); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvt,"inEvt"); - HX_STACK_LINE(336) - Array< ::neash::display::InteractiveObject > stack = Array_obj< ::neash::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(338) - if (((this->nmeParent != null()))){ - HX_STACK_LINE(339) - this->nmeParent->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(341) - int l = stack->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(343) - if (((l > (int)0))){ - HX_STACK_LINE(346) - inEvt->nmeSetPhase(::neash::events::EventPhase_obj::CAPTURING_PHASE); - HX_STACK_LINE(347) - stack->reverse(); - HX_STACK_LINE(349) - { - HX_STACK_LINE(349) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(349) - while(((_g < stack->length))){ - HX_STACK_LINE(349) - ::neash::display::InteractiveObject obj = stack->__get(_g); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(349) - ++(_g); - HX_STACK_LINE(351) - inEvt->nmeSetCurrentTarget(obj); - HX_STACK_LINE(352) - obj->nmeDispatchEvent(inEvt); - HX_STACK_LINE(354) - if ((inEvt->nmeGetIsCancelled())){ - HX_STACK_LINE(355) - return null(); - } - } - } - } - HX_STACK_LINE(361) - inEvt->nmeSetPhase(::neash::events::EventPhase_obj::AT_TARGET); - HX_STACK_LINE(362) - inEvt->nmeSetCurrentTarget(hx::ObjectPtr(this)); - HX_STACK_LINE(363) - this->nmeDispatchEvent(inEvt); - HX_STACK_LINE(365) - if ((inEvt->nmeGetIsCancelled())){ - HX_STACK_LINE(366) - return null(); - } - HX_STACK_LINE(369) - if ((inEvt->nmeGetBubbles())){ - HX_STACK_LINE(371) - inEvt->nmeSetPhase(::neash::events::EventPhase_obj::BUBBLING_PHASE); - HX_STACK_LINE(372) - stack->reverse(); - HX_STACK_LINE(374) - { - HX_STACK_LINE(374) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(374) - while(((_g < stack->length))){ - HX_STACK_LINE(374) - ::neash::display::InteractiveObject obj = stack->__get(_g); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(374) - ++(_g); - HX_STACK_LINE(376) - inEvt->nmeSetCurrentTarget(obj); - HX_STACK_LINE(377) - obj->nmeDispatchEvent(inEvt); - HX_STACK_LINE(379) - if ((inEvt->nmeGetIsCancelled())){ - HX_STACK_LINE(380) - return null(); - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeFireEvent,(void)) - -::neash::display::DisplayObject DisplayObject_obj::nmeFindByID( int inID){ - HX_STACK_PUSH("DisplayObject::nmeFindByID","neash/display/DisplayObject.hx",327); - HX_STACK_THIS(this); - HX_STACK_ARG(inID,"inID"); - HX_STACK_LINE(328) - if (((this->nmeID == inID))){ - HX_STACK_LINE(329) - return hx::ObjectPtr(this); - } - HX_STACK_LINE(330) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeFindByID,return ) - -Void DisplayObject_obj::nmeDrawToSurface( Dynamic inSurface,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,bool smoothing){ -{ - HX_STACK_PUSH("DisplayObject::nmeDrawToSurface","neash/display/DisplayObject.hx",320); - HX_STACK_THIS(this); - HX_STACK_ARG(inSurface,"inSurface"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(colorTransform,"colorTransform"); - HX_STACK_ARG(blendMode,"blendMode"); - HX_STACK_ARG(clipRect,"clipRect"); - HX_STACK_ARG(smoothing,"smoothing"); - HX_STACK_LINE(320) - ::neash::display::DisplayObject_obj::nme_display_object_draw_to_surface(this->nmeHandle,inSurface,matrix,colorTransform,blendMode,clipRect); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(DisplayObject_obj,nmeDrawToSurface,(void)) - -bool DisplayObject_obj::nmeDispatchEvent( ::neash::events::Event inEvt){ - HX_STACK_PUSH("DisplayObject::nmeDispatchEvent","neash/display/DisplayObject.hx",309); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvt,"inEvt"); - HX_STACK_LINE(310) - if (((inEvt->nmeGetTarget() == null()))){ - HX_STACK_LINE(311) - inEvt->nmeSetTarget(hx::ObjectPtr(this)); - } - HX_STACK_LINE(314) - inEvt->nmeSetCurrentTarget(hx::ObjectPtr(this)); - HX_STACK_LINE(315) - return this->super::dispatchEvent(inEvt); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeDispatchEvent,return ) - -Void DisplayObject_obj::nmeBroadcast( ::neash::events::Event inEvt){ -{ - HX_STACK_PUSH("DisplayObject::nmeBroadcast","neash/display/DisplayObject.hx",303); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvt,"inEvt"); - HX_STACK_LINE(303) - this->nmeDispatchEvent(inEvt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeBroadcast,(void)) - -::neash::display::InteractiveObject DisplayObject_obj::nmeAsInteractiveObject( ){ - HX_STACK_PUSH("DisplayObject::nmeAsInteractiveObject","neash/display/DisplayObject.hx",297); - HX_STACK_THIS(this); - HX_STACK_LINE(297) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeAsInteractiveObject,return ) - -::neash::geom::Point DisplayObject_obj::localToGlobal( ::neash::geom::Point inLocal){ - HX_STACK_PUSH("DisplayObject::localToGlobal","neash/display/DisplayObject.hx",289); - HX_STACK_THIS(this); - HX_STACK_ARG(inLocal,"inLocal"); - HX_STACK_LINE(290) - ::neash::geom::Point result = inLocal->clone(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(291) - ::neash::display::DisplayObject_obj::nme_display_object_local_to_global(this->nmeHandle,result); - HX_STACK_LINE(292) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,localToGlobal,return ) - -::neash::geom::Rectangle DisplayObject_obj::getRect( ::neash::display::DisplayObject targetCoordinateSpace){ - HX_STACK_PUSH("DisplayObject::getRect","neash/display/DisplayObject.hx",274); - HX_STACK_THIS(this); - HX_STACK_ARG(targetCoordinateSpace,"targetCoordinateSpace"); - HX_STACK_LINE(275) - ::neash::geom::Rectangle result = ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(276) - ::neash::display::DisplayObject_obj::nme_display_object_get_bounds(this->nmeHandle,targetCoordinateSpace->nmeHandle,result,false); - HX_STACK_LINE(277) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,getRect,return ) - -::neash::geom::Rectangle DisplayObject_obj::getBounds( ::neash::display::DisplayObject targetCoordinateSpace){ - HX_STACK_PUSH("DisplayObject::getBounds","neash/display/DisplayObject.hx",267); - HX_STACK_THIS(this); - HX_STACK_ARG(targetCoordinateSpace,"targetCoordinateSpace"); - HX_STACK_LINE(268) - ::neash::geom::Rectangle result = ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(269) - ::neash::display::DisplayObject_obj::nme_display_object_get_bounds(this->nmeHandle,targetCoordinateSpace->nmeHandle,result,true); - HX_STACK_LINE(270) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,getBounds,return ) - -bool DisplayObject_obj::hitTestPoint( Float x,Float y,hx::Null< bool > __o_shapeFlag){ -bool shapeFlag = __o_shapeFlag.Default(false); - HX_STACK_PUSH("DisplayObject::hitTestPoint","neash/display/DisplayObject.hx",262); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(shapeFlag,"shapeFlag"); -{ - HX_STACK_LINE(262) - return ::neash::display::DisplayObject_obj::nme_display_object_hit_test_point(this->nmeHandle,x,y,shapeFlag,true); - } -} - - -HX_DEFINE_DYNAMIC_FUNC3(DisplayObject_obj,hitTestPoint,return ) - -bool DisplayObject_obj::hitTestObject( ::neash::display::DisplayObject object){ - HX_STACK_PUSH("DisplayObject::hitTestObject","neash/display/DisplayObject.hx",226); - HX_STACK_THIS(this); - HX_STACK_ARG(object,"object"); - HX_STACK_LINE(227) - if (((bool((bool((object != null())) && bool((object->nmeGetParent() != null())))) && bool((this->nmeGetParent() != null()))))){ - HX_STACK_LINE(229) - ::neash::geom::Matrix currentMatrix = this->nmeGetTransform()->nmeGetConcatenatedMatrix(); HX_STACK_VAR(currentMatrix,"currentMatrix"); - HX_STACK_LINE(230) - ::neash::geom::Matrix targetMatrix = object->nmeGetTransform()->nmeGetConcatenatedMatrix(); HX_STACK_VAR(targetMatrix,"targetMatrix"); - HX_STACK_LINE(232) - ::neash::geom::Point xPoint = ::neash::geom::Point_obj::__new((int)1,(int)0); HX_STACK_VAR(xPoint,"xPoint"); - HX_STACK_LINE(233) - ::neash::geom::Point yPoint = ::neash::geom::Point_obj::__new((int)0,(int)1); HX_STACK_VAR(yPoint,"yPoint"); - HX_STACK_LINE(235) - Float currentWidth = (this->nmeGetWidth() * currentMatrix->deltaTransformPoint(xPoint)->nmeGetLength()); HX_STACK_VAR(currentWidth,"currentWidth"); - HX_STACK_LINE(236) - Float currentHeight = (this->nmeGetHeight() * currentMatrix->deltaTransformPoint(yPoint)->nmeGetLength()); HX_STACK_VAR(currentHeight,"currentHeight"); - HX_STACK_LINE(237) - Float targetWidth = (object->nmeGetWidth() * targetMatrix->deltaTransformPoint(xPoint)->nmeGetLength()); HX_STACK_VAR(targetWidth,"targetWidth"); - HX_STACK_LINE(238) - Float targetHeight = (object->nmeGetHeight() * targetMatrix->deltaTransformPoint(yPoint)->nmeGetLength()); HX_STACK_VAR(targetHeight,"targetHeight"); - HX_STACK_LINE(240) - ::neash::geom::Rectangle currentRect = ::neash::geom::Rectangle_obj::__new(currentMatrix->tx,currentMatrix->ty,currentWidth,currentHeight); HX_STACK_VAR(currentRect,"currentRect"); - HX_STACK_LINE(241) - ::neash::geom::Rectangle targetRect = ::neash::geom::Rectangle_obj::__new(targetMatrix->tx,targetMatrix->ty,targetWidth,targetHeight); HX_STACK_VAR(targetRect,"targetRect"); - HX_STACK_LINE(243) - return currentRect->intersects(targetRect); - } - HX_STACK_LINE(246) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,hitTestObject,return ) - -::neash::geom::Point DisplayObject_obj::globalToLocal( ::neash::geom::Point inGlobal){ - HX_STACK_PUSH("DisplayObject::globalToLocal","neash/display/DisplayObject.hx",218); - HX_STACK_THIS(this); - HX_STACK_ARG(inGlobal,"inGlobal"); - HX_STACK_LINE(219) - ::neash::geom::Point result = inGlobal->clone(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(220) - ::neash::display::DisplayObject_obj::nme_display_object_global_to_local(this->nmeHandle,result); - HX_STACK_LINE(221) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,globalToLocal,return ) - -bool DisplayObject_obj::dispatchEvent( ::neash::events::Event event){ - HX_STACK_PUSH("DisplayObject::dispatchEvent","neash/display/DisplayObject.hx",196); - HX_STACK_THIS(this); - HX_STACK_ARG(event,"event"); - HX_STACK_LINE(198) - bool result = this->nmeDispatchEvent(event); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(200) - if ((event->nmeGetIsCancelled())){ - HX_STACK_LINE(201) - return true; - } - HX_STACK_LINE(203) - if (((bool(event->nmeGetBubbles()) && bool((this->nmeGetParent() != null()))))){ - HX_STACK_LINE(204) - this->nmeGetParent()->dispatchEvent(event); - } - HX_STACK_LINE(208) - return result; -} - - -Dynamic DisplayObject_obj::nme_create_display_object; - -Dynamic DisplayObject_obj::nme_display_object_get_graphics; - -Dynamic DisplayObject_obj::nme_display_object_draw_to_surface; - -Dynamic DisplayObject_obj::nme_display_object_get_id; - -Dynamic DisplayObject_obj::nme_display_object_get_x; - -Dynamic DisplayObject_obj::nme_display_object_set_x; - -Dynamic DisplayObject_obj::nme_display_object_get_y; - -Dynamic DisplayObject_obj::nme_display_object_set_y; - -Dynamic DisplayObject_obj::nme_display_object_get_scale_x; - -Dynamic DisplayObject_obj::nme_display_object_set_scale_x; - -Dynamic DisplayObject_obj::nme_display_object_get_scale_y; - -Dynamic DisplayObject_obj::nme_display_object_set_scale_y; - -Dynamic DisplayObject_obj::nme_display_object_get_mouse_x; - -Dynamic DisplayObject_obj::nme_display_object_get_mouse_y; - -Dynamic DisplayObject_obj::nme_display_object_get_rotation; - -Dynamic DisplayObject_obj::nme_display_object_set_rotation; - -Dynamic DisplayObject_obj::nme_display_object_get_bg; - -Dynamic DisplayObject_obj::nme_display_object_set_bg; - -Dynamic DisplayObject_obj::nme_display_object_get_name; - -Dynamic DisplayObject_obj::nme_display_object_set_name; - -Dynamic DisplayObject_obj::nme_display_object_get_width; - -Dynamic DisplayObject_obj::nme_display_object_set_width; - -Dynamic DisplayObject_obj::nme_display_object_get_height; - -Dynamic DisplayObject_obj::nme_display_object_set_height; - -Dynamic DisplayObject_obj::nme_display_object_get_alpha; - -Dynamic DisplayObject_obj::nme_display_object_set_alpha; - -Dynamic DisplayObject_obj::nme_display_object_get_blend_mode; - -Dynamic DisplayObject_obj::nme_display_object_set_blend_mode; - -Dynamic DisplayObject_obj::nme_display_object_get_cache_as_bitmap; - -Dynamic DisplayObject_obj::nme_display_object_set_cache_as_bitmap; - -Dynamic DisplayObject_obj::nme_display_object_get_pedantic_bitmap_caching; - -Dynamic DisplayObject_obj::nme_display_object_set_pedantic_bitmap_caching; - -Dynamic DisplayObject_obj::nme_display_object_get_pixel_snapping; - -Dynamic DisplayObject_obj::nme_display_object_set_pixel_snapping; - -Dynamic DisplayObject_obj::nme_display_object_get_visible; - -Dynamic DisplayObject_obj::nme_display_object_set_visible; - -Dynamic DisplayObject_obj::nme_display_object_set_filters; - -Dynamic DisplayObject_obj::nme_display_object_global_to_local; - -Dynamic DisplayObject_obj::nme_display_object_local_to_global; - -Dynamic DisplayObject_obj::nme_display_object_set_scale9_grid; - -Dynamic DisplayObject_obj::nme_display_object_set_scroll_rect; - -Dynamic DisplayObject_obj::nme_display_object_set_mask; - -Dynamic DisplayObject_obj::nme_display_object_set_matrix; - -Dynamic DisplayObject_obj::nme_display_object_get_matrix; - -Dynamic DisplayObject_obj::nme_display_object_get_color_transform; - -Dynamic DisplayObject_obj::nme_display_object_set_color_transform; - -Dynamic DisplayObject_obj::nme_display_object_get_pixel_bounds; - -Dynamic DisplayObject_obj::nme_display_object_get_bounds; - -Dynamic DisplayObject_obj::nme_display_object_hit_test_point; - - -DisplayObject_obj::DisplayObject_obj() -{ -} - -void DisplayObject_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(DisplayObject); - HX_MARK_MEMBER_NAME(nmeScrollRect,"nmeScrollRect"); - HX_MARK_MEMBER_NAME(nmeScale9Grid,"nmeScale9Grid"); - HX_MARK_MEMBER_NAME(nmeParent,"nmeParent"); - HX_MARK_MEMBER_NAME(nmeID,"nmeID"); - HX_MARK_MEMBER_NAME(nmeGraphicsCache,"nmeGraphicsCache"); - HX_MARK_MEMBER_NAME(nmeFilters,"nmeFilters"); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(width,"width"); - HX_MARK_MEMBER_NAME(visible,"visible"); - HX_MARK_MEMBER_NAME(transform,"transform"); - HX_MARK_MEMBER_NAME(stage,"stage"); - HX_MARK_MEMBER_NAME(scrollRect,"scrollRect"); - HX_MARK_MEMBER_NAME(scaleY,"scaleY"); - HX_MARK_MEMBER_NAME(scaleX,"scaleX"); - HX_MARK_MEMBER_NAME(scale9Grid,"scale9Grid"); - HX_MARK_MEMBER_NAME(rotation,"rotation"); - HX_MARK_MEMBER_NAME(parent,"parent"); - HX_MARK_MEMBER_NAME(opaqueBackground,"opaqueBackground"); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_MEMBER_NAME(mouseY,"mouseY"); - HX_MARK_MEMBER_NAME(mouseX,"mouseX"); - HX_MARK_MEMBER_NAME(mask,"mask"); - HX_MARK_MEMBER_NAME(height,"height"); - HX_MARK_MEMBER_NAME(graphics,"graphics"); - HX_MARK_MEMBER_NAME(filters,"filters"); - HX_MARK_MEMBER_NAME(pixelSnapping,"pixelSnapping"); - HX_MARK_MEMBER_NAME(pedanticBitmapCaching,"pedanticBitmapCaching"); - HX_MARK_MEMBER_NAME(cacheAsBitmap,"cacheAsBitmap"); - HX_MARK_MEMBER_NAME(blendMode,"blendMode"); - HX_MARK_MEMBER_NAME(alpha,"alpha"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void DisplayObject_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeScrollRect,"nmeScrollRect"); - HX_VISIT_MEMBER_NAME(nmeScale9Grid,"nmeScale9Grid"); - HX_VISIT_MEMBER_NAME(nmeParent,"nmeParent"); - HX_VISIT_MEMBER_NAME(nmeID,"nmeID"); - HX_VISIT_MEMBER_NAME(nmeGraphicsCache,"nmeGraphicsCache"); - HX_VISIT_MEMBER_NAME(nmeFilters,"nmeFilters"); - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(width,"width"); - HX_VISIT_MEMBER_NAME(visible,"visible"); - HX_VISIT_MEMBER_NAME(transform,"transform"); - HX_VISIT_MEMBER_NAME(stage,"stage"); - HX_VISIT_MEMBER_NAME(scrollRect,"scrollRect"); - HX_VISIT_MEMBER_NAME(scaleY,"scaleY"); - HX_VISIT_MEMBER_NAME(scaleX,"scaleX"); - HX_VISIT_MEMBER_NAME(scale9Grid,"scale9Grid"); - HX_VISIT_MEMBER_NAME(rotation,"rotation"); - HX_VISIT_MEMBER_NAME(parent,"parent"); - HX_VISIT_MEMBER_NAME(opaqueBackground,"opaqueBackground"); - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(name,"name"); - HX_VISIT_MEMBER_NAME(mouseY,"mouseY"); - HX_VISIT_MEMBER_NAME(mouseX,"mouseX"); - HX_VISIT_MEMBER_NAME(mask,"mask"); - HX_VISIT_MEMBER_NAME(height,"height"); - HX_VISIT_MEMBER_NAME(graphics,"graphics"); - HX_VISIT_MEMBER_NAME(filters,"filters"); - HX_VISIT_MEMBER_NAME(pixelSnapping,"pixelSnapping"); - HX_VISIT_MEMBER_NAME(pedanticBitmapCaching,"pedanticBitmapCaching"); - HX_VISIT_MEMBER_NAME(cacheAsBitmap,"cacheAsBitmap"); - HX_VISIT_MEMBER_NAME(blendMode,"blendMode"); - HX_VISIT_MEMBER_NAME(alpha,"alpha"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic DisplayObject_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return inCallProp ? nmeGetY() : y; } - if (HX_FIELD_EQ(inName,"x") ) { return inCallProp ? nmeGetX() : x; } - break; - case 4: - if (HX_FIELD_EQ(inName,"name") ) { return inCallProp ? nmeGetName() : name; } - if (HX_FIELD_EQ(inName,"mask") ) { return mask; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nmeID") ) { return nmeID; } - if (HX_FIELD_EQ(inName,"width") ) { return inCallProp ? nmeGetWidth() : width; } - if (HX_FIELD_EQ(inName,"stage") ) { return inCallProp ? nmeGetStage() : stage; } - if (HX_FIELD_EQ(inName,"alpha") ) { return inCallProp ? nmeGetAlpha() : alpha; } - break; - case 6: - if (HX_FIELD_EQ(inName,"scaleY") ) { return inCallProp ? nmeGetScaleY() : scaleY; } - if (HX_FIELD_EQ(inName,"scaleX") ) { return inCallProp ? nmeGetScaleX() : scaleX; } - if (HX_FIELD_EQ(inName,"parent") ) { return inCallProp ? nmeGetParent() : parent; } - if (HX_FIELD_EQ(inName,"mouseY") ) { return inCallProp ? nmeGetMouseY() : mouseY; } - if (HX_FIELD_EQ(inName,"mouseX") ) { return inCallProp ? nmeGetMouseX() : mouseX; } - if (HX_FIELD_EQ(inName,"height") ) { return inCallProp ? nmeGetHeight() : height; } - break; - case 7: - if (HX_FIELD_EQ(inName,"nmeSetY") ) { return nmeSetY_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetY") ) { return nmeGetY_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetX") ) { return nmeSetX_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetX") ) { return nmeGetX_dyn(); } - if (HX_FIELD_EQ(inName,"getRect") ) { return getRect_dyn(); } - if (HX_FIELD_EQ(inName,"visible") ) { return inCallProp ? nmeGetVisible() : visible; } - if (HX_FIELD_EQ(inName,"filters") ) { return inCallProp ? nmeGetFilters() : filters; } - break; - case 8: - if (HX_FIELD_EQ(inName,"nmeSetBG") ) { return nmeSetBG_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetBG") ) { return nmeGetBG_dyn(); } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"rotation") ) { return inCallProp ? nmeGetRotation() : rotation; } - if (HX_FIELD_EQ(inName,"graphics") ) { return inCallProp ? nmeGetGraphics() : graphics; } - break; - case 9: - if (HX_FIELD_EQ(inName,"getBounds") ) { return getBounds_dyn(); } - if (HX_FIELD_EQ(inName,"nmeParent") ) { return nmeParent; } - if (HX_FIELD_EQ(inName,"transform") ) { return inCallProp ? nmeGetTransform() : transform; } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - if (HX_FIELD_EQ(inName,"blendMode") ) { return inCallProp ? nmeGetBlendMode() : blendMode; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeSetName") ) { return nmeSetName_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetName") ) { return nmeGetName_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetMask") ) { return nmeSetMask_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnAdded") ) { return nmeOnAdded_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFilters") ) { return nmeFilters; } - if (HX_FIELD_EQ(inName,"scrollRect") ) { return inCallProp ? nmeGetScrollRect() : scrollRect; } - if (HX_FIELD_EQ(inName,"scale9Grid") ) { return inCallProp ? nmeGetScale9Grid() : scale9Grid; } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeSetWidth") ) { return nmeSetWidth_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetWidth") ) { return nmeGetWidth_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetStage") ) { return nmeGetStage_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetAlpha") ) { return nmeSetAlpha_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetAlpha") ) { return nmeGetAlpha_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFindByID") ) { return nmeFindByID_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeSetScaleY") ) { return nmeSetScaleY_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetScaleY") ) { return nmeGetScaleY_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetScaleX") ) { return nmeSetScaleX_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetScaleX") ) { return nmeGetScaleX_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetParent") ) { return nmeSetParent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetParent") ) { return nmeGetParent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMouseY") ) { return nmeGetMouseY_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMouseX") ) { return nmeGetMouseX_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetHeight") ) { return nmeSetHeight_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetHeight") ) { return nmeGetHeight_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetMatrix") ) { return nmeSetMatrix_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnRemoved") ) { return nmeOnRemoved_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMatrix") ) { return nmeGetMatrix_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFireEvent") ) { return nmeFireEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeBroadcast") ) { return nmeBroadcast_dyn(); } - if (HX_FIELD_EQ(inName,"hitTestPoint") ) { return hitTestPoint_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"nmeSetVisible") ) { return nmeSetVisible_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetVisible") ) { return nmeGetVisible_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetFilters") ) { return nmeSetFilters_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetFilters") ) { return nmeGetFilters_dyn(); } - if (HX_FIELD_EQ(inName,"localToGlobal") ) { return localToGlobal_dyn(); } - if (HX_FIELD_EQ(inName,"hitTestObject") ) { return hitTestObject_dyn(); } - if (HX_FIELD_EQ(inName,"globalToLocal") ) { return globalToLocal_dyn(); } - if (HX_FIELD_EQ(inName,"dispatchEvent") ) { return dispatchEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeScrollRect") ) { return nmeScrollRect; } - if (HX_FIELD_EQ(inName,"nmeScale9Grid") ) { return nmeScale9Grid; } - if (HX_FIELD_EQ(inName,"pixelSnapping") ) { return inCallProp ? nmeGetPixelSnapping() : pixelSnapping; } - if (HX_FIELD_EQ(inName,"cacheAsBitmap") ) { return inCallProp ? nmeGetCacheAsBitmap() : cacheAsBitmap; } - break; - case 14: - if (HX_FIELD_EQ(inName,"nmeSetRotation") ) { return nmeSetRotation_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetRotation") ) { return nmeGetRotation_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetGraphics") ) { return nmeGetGraphics_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeSetTransform") ) { return nmeSetTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTransform") ) { return nmeGetTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetBlendMode") ) { return nmeSetBlendMode_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetBlendMode") ) { return nmeGetBlendMode_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeSetScrollRect") ) { return nmeSetScrollRect_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetScrollRect") ) { return nmeGetScrollRect_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetScale9Grid") ) { return nmeSetScale9Grid_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetScale9Grid") ) { return nmeGetScale9Grid_dyn(); } - if (HX_FIELD_EQ(inName,"nmeDrawToSurface") ) { return nmeDrawToSurface_dyn(); } - if (HX_FIELD_EQ(inName,"nmeDispatchEvent") ) { return nmeDispatchEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGraphicsCache") ) { return nmeGraphicsCache; } - if (HX_FIELD_EQ(inName,"opaqueBackground") ) { return inCallProp ? nmeGetBG() : opaqueBackground; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeGetPixelBounds") ) { return nmeGetPixelBounds_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"nmeSetPixelSnapping") ) { return nmeSetPixelSnapping_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetPixelSnapping") ) { return nmeGetPixelSnapping_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetCacheAsBitmap") ) { return nmeSetCacheAsBitmap_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetCacheAsBitmap") ) { return nmeGetCacheAsBitmap_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeSetColorTransform") ) { return nmeSetColorTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetColorTransform") ) { return nmeGetColorTransform_dyn(); } - break; - case 21: - if (HX_FIELD_EQ(inName,"pedanticBitmapCaching") ) { return inCallProp ? nmeGetPedanticBitmapCaching() : pedanticBitmapCaching; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nmeAsInteractiveObject") ) { return nmeAsInteractiveObject_dyn(); } - break; - case 23: - if (HX_FIELD_EQ(inName,"nmeGetObjectsUnderPoint") ) { return nmeGetObjectsUnderPoint_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_display_object_get_x") ) { return nme_display_object_get_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_x") ) { return nme_display_object_set_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_y") ) { return nme_display_object_get_y; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_y") ) { return nme_display_object_set_y; } - if (HX_FIELD_EQ(inName,"nmeGetConcatenatedMatrix") ) { return nmeGetConcatenatedMatrix_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_create_display_object") ) { return nme_create_display_object; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_id") ) { return nme_display_object_get_id; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_bg") ) { return nme_display_object_get_bg; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_bg") ) { return nme_display_object_set_bg; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_display_object_get_name") ) { return nme_display_object_get_name; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_name") ) { return nme_display_object_set_name; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_mask") ) { return nme_display_object_set_mask; } - if (HX_FIELD_EQ(inName,"nmeSetPedanticBitmapCaching") ) { return nmeSetPedanticBitmapCaching_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetPedanticBitmapCaching") ) { return nmeGetPedanticBitmapCaching_dyn(); } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_display_object_get_width") ) { return nme_display_object_get_width; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_width") ) { return nme_display_object_set_width; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_alpha") ) { return nme_display_object_get_alpha; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_alpha") ) { return nme_display_object_set_alpha; } - if (HX_FIELD_EQ(inName,"nmeGetInteractiveObjectStack") ) { return nmeGetInteractiveObjectStack_dyn(); } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_display_object_get_height") ) { return nme_display_object_get_height; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_height") ) { return nme_display_object_set_height; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_matrix") ) { return nme_display_object_set_matrix; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_matrix") ) { return nme_display_object_get_matrix; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_bounds") ) { return nme_display_object_get_bounds; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_display_object_get_scale_x") ) { return nme_display_object_get_scale_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale_x") ) { return nme_display_object_set_scale_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_scale_y") ) { return nme_display_object_get_scale_y; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale_y") ) { return nme_display_object_set_scale_y; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_mouse_x") ) { return nme_display_object_get_mouse_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_mouse_y") ) { return nme_display_object_get_mouse_y; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_visible") ) { return nme_display_object_get_visible; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_visible") ) { return nme_display_object_set_visible; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_filters") ) { return nme_display_object_set_filters; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_display_object_get_graphics") ) { return nme_display_object_get_graphics; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_rotation") ) { return nme_display_object_get_rotation; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_rotation") ) { return nme_display_object_set_rotation; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nmeGetConcatenatedColorTransform") ) { return nmeGetConcatenatedColorTransform_dyn(); } - break; - case 33: - if (HX_FIELD_EQ(inName,"nme_display_object_get_blend_mode") ) { return nme_display_object_get_blend_mode; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_blend_mode") ) { return nme_display_object_set_blend_mode; } - if (HX_FIELD_EQ(inName,"nme_display_object_hit_test_point") ) { return nme_display_object_hit_test_point; } - break; - case 34: - if (HX_FIELD_EQ(inName,"nme_display_object_draw_to_surface") ) { return nme_display_object_draw_to_surface; } - if (HX_FIELD_EQ(inName,"nme_display_object_global_to_local") ) { return nme_display_object_global_to_local; } - if (HX_FIELD_EQ(inName,"nme_display_object_local_to_global") ) { return nme_display_object_local_to_global; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale9_grid") ) { return nme_display_object_set_scale9_grid; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scroll_rect") ) { return nme_display_object_set_scroll_rect; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pixel_bounds") ) { return nme_display_object_get_pixel_bounds; } - break; - case 37: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pixel_snapping") ) { return nme_display_object_get_pixel_snapping; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_pixel_snapping") ) { return nme_display_object_set_pixel_snapping; } - break; - case 38: - if (HX_FIELD_EQ(inName,"nme_display_object_get_cache_as_bitmap") ) { return nme_display_object_get_cache_as_bitmap; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_cache_as_bitmap") ) { return nme_display_object_set_cache_as_bitmap; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_color_transform") ) { return nme_display_object_get_color_transform; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_color_transform") ) { return nme_display_object_set_color_transform; } - break; - case 46: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pedantic_bitmap_caching") ) { return nme_display_object_get_pedantic_bitmap_caching; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_pedantic_bitmap_caching") ) { return nme_display_object_set_pedantic_bitmap_caching; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic DisplayObject_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { if (inCallProp) return nmeSetY(inValue);y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { if (inCallProp) return nmeSetX(inValue);x=inValue.Cast< Float >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"name") ) { if (inCallProp) return nmeSetName(inValue);name=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"mask") ) { if (inCallProp) return nmeSetMask(inValue);mask=inValue.Cast< ::neash::display::DisplayObject >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nmeID") ) { nmeID=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"width") ) { if (inCallProp) return nmeSetWidth(inValue);width=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"stage") ) { stage=inValue.Cast< ::neash::display::Stage >(); return inValue; } - if (HX_FIELD_EQ(inName,"alpha") ) { if (inCallProp) return nmeSetAlpha(inValue);alpha=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"scaleY") ) { if (inCallProp) return nmeSetScaleY(inValue);scaleY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"scaleX") ) { if (inCallProp) return nmeSetScaleX(inValue);scaleX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"parent") ) { parent=inValue.Cast< ::neash::display::DisplayObjectContainer >(); return inValue; } - if (HX_FIELD_EQ(inName,"mouseY") ) { mouseY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"mouseX") ) { mouseX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"height") ) { if (inCallProp) return nmeSetHeight(inValue);height=inValue.Cast< Float >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"visible") ) { if (inCallProp) return nmeSetVisible(inValue);visible=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"filters") ) { if (inCallProp) return nmeSetFilters(inValue);filters=inValue.Cast< Dynamic >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"rotation") ) { if (inCallProp) return nmeSetRotation(inValue);rotation=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"graphics") ) { graphics=inValue.Cast< ::neash::display::Graphics >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeParent") ) { nmeParent=inValue.Cast< ::neash::display::DisplayObjectContainer >(); return inValue; } - if (HX_FIELD_EQ(inName,"transform") ) { if (inCallProp) return nmeSetTransform(inValue);transform=inValue.Cast< ::neash::geom::Transform >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"blendMode") ) { if (inCallProp) return nmeSetBlendMode(inValue);blendMode=inValue.Cast< ::neash::display::BlendMode >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeFilters") ) { nmeFilters=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"scrollRect") ) { if (inCallProp) return nmeSetScrollRect(inValue);scrollRect=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - if (HX_FIELD_EQ(inName,"scale9Grid") ) { if (inCallProp) return nmeSetScale9Grid(inValue);scale9Grid=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"nmeScrollRect") ) { nmeScrollRect=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeScale9Grid") ) { nmeScale9Grid=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - if (HX_FIELD_EQ(inName,"pixelSnapping") ) { if (inCallProp) return nmeSetPixelSnapping(inValue);pixelSnapping=inValue.Cast< ::neash::display::PixelSnapping >(); return inValue; } - if (HX_FIELD_EQ(inName,"cacheAsBitmap") ) { if (inCallProp) return nmeSetCacheAsBitmap(inValue);cacheAsBitmap=inValue.Cast< bool >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeGraphicsCache") ) { nmeGraphicsCache=inValue.Cast< ::neash::display::Graphics >(); return inValue; } - if (HX_FIELD_EQ(inName,"opaqueBackground") ) { if (inCallProp) return nmeSetBG(inValue);opaqueBackground=inValue.Cast< Dynamic >(); return inValue; } - break; - case 21: - if (HX_FIELD_EQ(inName,"pedanticBitmapCaching") ) { if (inCallProp) return nmeSetPedanticBitmapCaching(inValue);pedanticBitmapCaching=inValue.Cast< bool >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_display_object_get_x") ) { nme_display_object_get_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_x") ) { nme_display_object_set_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_y") ) { nme_display_object_get_y=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_y") ) { nme_display_object_set_y=inValue.Cast< Dynamic >(); return inValue; } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_create_display_object") ) { nme_create_display_object=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_id") ) { nme_display_object_get_id=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_bg") ) { nme_display_object_get_bg=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_bg") ) { nme_display_object_set_bg=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_display_object_get_name") ) { nme_display_object_get_name=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_name") ) { nme_display_object_set_name=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_mask") ) { nme_display_object_set_mask=inValue.Cast< Dynamic >(); return inValue; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_display_object_get_width") ) { nme_display_object_get_width=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_width") ) { nme_display_object_set_width=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_alpha") ) { nme_display_object_get_alpha=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_alpha") ) { nme_display_object_set_alpha=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_display_object_get_height") ) { nme_display_object_get_height=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_height") ) { nme_display_object_set_height=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_matrix") ) { nme_display_object_set_matrix=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_matrix") ) { nme_display_object_get_matrix=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_bounds") ) { nme_display_object_get_bounds=inValue.Cast< Dynamic >(); return inValue; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_display_object_get_scale_x") ) { nme_display_object_get_scale_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale_x") ) { nme_display_object_set_scale_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_scale_y") ) { nme_display_object_get_scale_y=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale_y") ) { nme_display_object_set_scale_y=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_mouse_x") ) { nme_display_object_get_mouse_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_mouse_y") ) { nme_display_object_get_mouse_y=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_visible") ) { nme_display_object_get_visible=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_visible") ) { nme_display_object_set_visible=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_filters") ) { nme_display_object_set_filters=inValue.Cast< Dynamic >(); return inValue; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_display_object_get_graphics") ) { nme_display_object_get_graphics=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_rotation") ) { nme_display_object_get_rotation=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_rotation") ) { nme_display_object_set_rotation=inValue.Cast< Dynamic >(); return inValue; } - break; - case 33: - if (HX_FIELD_EQ(inName,"nme_display_object_get_blend_mode") ) { nme_display_object_get_blend_mode=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_blend_mode") ) { nme_display_object_set_blend_mode=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_hit_test_point") ) { nme_display_object_hit_test_point=inValue.Cast< Dynamic >(); return inValue; } - break; - case 34: - if (HX_FIELD_EQ(inName,"nme_display_object_draw_to_surface") ) { nme_display_object_draw_to_surface=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_global_to_local") ) { nme_display_object_global_to_local=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_local_to_global") ) { nme_display_object_local_to_global=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale9_grid") ) { nme_display_object_set_scale9_grid=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scroll_rect") ) { nme_display_object_set_scroll_rect=inValue.Cast< Dynamic >(); return inValue; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pixel_bounds") ) { nme_display_object_get_pixel_bounds=inValue.Cast< Dynamic >(); return inValue; } - break; - case 37: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pixel_snapping") ) { nme_display_object_get_pixel_snapping=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_pixel_snapping") ) { nme_display_object_set_pixel_snapping=inValue.Cast< Dynamic >(); return inValue; } - break; - case 38: - if (HX_FIELD_EQ(inName,"nme_display_object_get_cache_as_bitmap") ) { nme_display_object_get_cache_as_bitmap=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_cache_as_bitmap") ) { nme_display_object_set_cache_as_bitmap=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_color_transform") ) { nme_display_object_get_color_transform=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_color_transform") ) { nme_display_object_set_color_transform=inValue.Cast< Dynamic >(); return inValue; } - break; - case 46: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pedantic_bitmap_caching") ) { nme_display_object_get_pedantic_bitmap_caching=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_pedantic_bitmap_caching") ) { nme_display_object_set_pedantic_bitmap_caching=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void DisplayObject_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeScrollRect")); - outFields->push(HX_CSTRING("nmeScale9Grid")); - outFields->push(HX_CSTRING("nmeParent")); - outFields->push(HX_CSTRING("nmeID")); - outFields->push(HX_CSTRING("nmeGraphicsCache")); - outFields->push(HX_CSTRING("nmeFilters")); - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("width")); - outFields->push(HX_CSTRING("visible")); - outFields->push(HX_CSTRING("transform")); - outFields->push(HX_CSTRING("stage")); - outFields->push(HX_CSTRING("scrollRect")); - outFields->push(HX_CSTRING("scaleY")); - outFields->push(HX_CSTRING("scaleX")); - outFields->push(HX_CSTRING("scale9Grid")); - outFields->push(HX_CSTRING("rotation")); - outFields->push(HX_CSTRING("parent")); - outFields->push(HX_CSTRING("opaqueBackground")); - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("name")); - outFields->push(HX_CSTRING("mouseY")); - outFields->push(HX_CSTRING("mouseX")); - outFields->push(HX_CSTRING("mask")); - outFields->push(HX_CSTRING("height")); - outFields->push(HX_CSTRING("graphics")); - outFields->push(HX_CSTRING("filters")); - outFields->push(HX_CSTRING("pixelSnapping")); - outFields->push(HX_CSTRING("pedanticBitmapCaching")); - outFields->push(HX_CSTRING("cacheAsBitmap")); - outFields->push(HX_CSTRING("blendMode")); - outFields->push(HX_CSTRING("alpha")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_create_display_object"), - HX_CSTRING("nme_display_object_get_graphics"), - HX_CSTRING("nme_display_object_draw_to_surface"), - HX_CSTRING("nme_display_object_get_id"), - HX_CSTRING("nme_display_object_get_x"), - HX_CSTRING("nme_display_object_set_x"), - HX_CSTRING("nme_display_object_get_y"), - HX_CSTRING("nme_display_object_set_y"), - HX_CSTRING("nme_display_object_get_scale_x"), - HX_CSTRING("nme_display_object_set_scale_x"), - HX_CSTRING("nme_display_object_get_scale_y"), - HX_CSTRING("nme_display_object_set_scale_y"), - HX_CSTRING("nme_display_object_get_mouse_x"), - HX_CSTRING("nme_display_object_get_mouse_y"), - HX_CSTRING("nme_display_object_get_rotation"), - HX_CSTRING("nme_display_object_set_rotation"), - HX_CSTRING("nme_display_object_get_bg"), - HX_CSTRING("nme_display_object_set_bg"), - HX_CSTRING("nme_display_object_get_name"), - HX_CSTRING("nme_display_object_set_name"), - HX_CSTRING("nme_display_object_get_width"), - HX_CSTRING("nme_display_object_set_width"), - HX_CSTRING("nme_display_object_get_height"), - HX_CSTRING("nme_display_object_set_height"), - HX_CSTRING("nme_display_object_get_alpha"), - HX_CSTRING("nme_display_object_set_alpha"), - HX_CSTRING("nme_display_object_get_blend_mode"), - HX_CSTRING("nme_display_object_set_blend_mode"), - HX_CSTRING("nme_display_object_get_cache_as_bitmap"), - HX_CSTRING("nme_display_object_set_cache_as_bitmap"), - HX_CSTRING("nme_display_object_get_pedantic_bitmap_caching"), - HX_CSTRING("nme_display_object_set_pedantic_bitmap_caching"), - HX_CSTRING("nme_display_object_get_pixel_snapping"), - HX_CSTRING("nme_display_object_set_pixel_snapping"), - HX_CSTRING("nme_display_object_get_visible"), - HX_CSTRING("nme_display_object_set_visible"), - HX_CSTRING("nme_display_object_set_filters"), - HX_CSTRING("nme_display_object_global_to_local"), - HX_CSTRING("nme_display_object_local_to_global"), - HX_CSTRING("nme_display_object_set_scale9_grid"), - HX_CSTRING("nme_display_object_set_scroll_rect"), - HX_CSTRING("nme_display_object_set_mask"), - HX_CSTRING("nme_display_object_set_matrix"), - HX_CSTRING("nme_display_object_get_matrix"), - HX_CSTRING("nme_display_object_get_color_transform"), - HX_CSTRING("nme_display_object_set_color_transform"), - HX_CSTRING("nme_display_object_get_pixel_bounds"), - HX_CSTRING("nme_display_object_get_bounds"), - HX_CSTRING("nme_display_object_hit_test_point"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetY"), - HX_CSTRING("nmeGetY"), - HX_CSTRING("nmeSetX"), - HX_CSTRING("nmeGetX"), - HX_CSTRING("nmeSetWidth"), - HX_CSTRING("nmeGetWidth"), - HX_CSTRING("nmeSetVisible"), - HX_CSTRING("nmeGetVisible"), - HX_CSTRING("nmeSetTransform"), - HX_CSTRING("nmeGetTransform"), - HX_CSTRING("nmeGetStage"), - HX_CSTRING("nmeSetScrollRect"), - HX_CSTRING("nmeGetScrollRect"), - HX_CSTRING("nmeSetScaleY"), - HX_CSTRING("nmeGetScaleY"), - HX_CSTRING("nmeSetScaleX"), - HX_CSTRING("nmeGetScaleX"), - HX_CSTRING("nmeSetScale9Grid"), - HX_CSTRING("nmeGetScale9Grid"), - HX_CSTRING("nmeSetRotation"), - HX_CSTRING("nmeGetRotation"), - HX_CSTRING("nmeSetParent"), - HX_CSTRING("nmeGetParent"), - HX_CSTRING("nmeSetName"), - HX_CSTRING("nmeGetName"), - HX_CSTRING("nmeGetMouseY"), - HX_CSTRING("nmeGetMouseX"), - HX_CSTRING("nmeSetMask"), - HX_CSTRING("nmeSetHeight"), - HX_CSTRING("nmeGetHeight"), - HX_CSTRING("nmeGetGraphics"), - HX_CSTRING("nmeSetFilters"), - HX_CSTRING("nmeGetFilters"), - HX_CSTRING("nmeSetPixelSnapping"), - HX_CSTRING("nmeGetPixelSnapping"), - HX_CSTRING("nmeSetPedanticBitmapCaching"), - HX_CSTRING("nmeGetPedanticBitmapCaching"), - HX_CSTRING("nmeSetCacheAsBitmap"), - HX_CSTRING("nmeGetCacheAsBitmap"), - HX_CSTRING("nmeSetBlendMode"), - HX_CSTRING("nmeGetBlendMode"), - HX_CSTRING("nmeSetBG"), - HX_CSTRING("nmeGetBG"), - HX_CSTRING("nmeSetAlpha"), - HX_CSTRING("nmeGetAlpha"), - HX_CSTRING("toString"), - HX_CSTRING("nmeSetMatrix"), - HX_CSTRING("nmeSetColorTransform"), - HX_CSTRING("nmeOnRemoved"), - HX_CSTRING("nmeOnAdded"), - HX_CSTRING("nmeGetPixelBounds"), - HX_CSTRING("nmeGetObjectsUnderPoint"), - HX_CSTRING("nmeGetMatrix"), - HX_CSTRING("nmeGetInteractiveObjectStack"), - HX_CSTRING("nmeGetConcatenatedMatrix"), - HX_CSTRING("nmeGetConcatenatedColorTransform"), - HX_CSTRING("nmeGetColorTransform"), - HX_CSTRING("nmeFireEvent"), - HX_CSTRING("nmeFindByID"), - HX_CSTRING("nmeDrawToSurface"), - HX_CSTRING("nmeDispatchEvent"), - HX_CSTRING("nmeBroadcast"), - HX_CSTRING("nmeAsInteractiveObject"), - HX_CSTRING("localToGlobal"), - HX_CSTRING("getRect"), - HX_CSTRING("getBounds"), - HX_CSTRING("hitTestPoint"), - HX_CSTRING("hitTestObject"), - HX_CSTRING("globalToLocal"), - HX_CSTRING("dispatchEvent"), - HX_CSTRING("nmeScrollRect"), - HX_CSTRING("nmeScale9Grid"), - HX_CSTRING("nmeParent"), - HX_CSTRING("nmeID"), - HX_CSTRING("nmeGraphicsCache"), - HX_CSTRING("nmeFilters"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("width"), - HX_CSTRING("visible"), - HX_CSTRING("transform"), - HX_CSTRING("stage"), - HX_CSTRING("scrollRect"), - HX_CSTRING("scaleY"), - HX_CSTRING("scaleX"), - HX_CSTRING("scale9Grid"), - HX_CSTRING("rotation"), - HX_CSTRING("parent"), - HX_CSTRING("opaqueBackground"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("name"), - HX_CSTRING("mouseY"), - HX_CSTRING("mouseX"), - HX_CSTRING("mask"), - HX_CSTRING("height"), - HX_CSTRING("graphics"), - HX_CSTRING("filters"), - HX_CSTRING("pixelSnapping"), - HX_CSTRING("pedanticBitmapCaching"), - HX_CSTRING("cacheAsBitmap"), - HX_CSTRING("blendMode"), - HX_CSTRING("alpha"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(DisplayObject_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_create_display_object,"nme_create_display_object"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_graphics,"nme_display_object_get_graphics"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_draw_to_surface,"nme_display_object_draw_to_surface"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_id,"nme_display_object_get_id"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_x,"nme_display_object_get_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_x,"nme_display_object_set_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_y,"nme_display_object_get_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_y,"nme_display_object_set_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_scale_x,"nme_display_object_get_scale_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale_x,"nme_display_object_set_scale_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_scale_y,"nme_display_object_get_scale_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale_y,"nme_display_object_set_scale_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_mouse_x,"nme_display_object_get_mouse_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_mouse_y,"nme_display_object_get_mouse_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_rotation,"nme_display_object_get_rotation"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_rotation,"nme_display_object_set_rotation"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_bg,"nme_display_object_get_bg"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_bg,"nme_display_object_set_bg"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_name,"nme_display_object_get_name"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_name,"nme_display_object_set_name"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_width,"nme_display_object_get_width"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_width,"nme_display_object_set_width"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_height,"nme_display_object_get_height"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_height,"nme_display_object_set_height"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_alpha,"nme_display_object_get_alpha"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_alpha,"nme_display_object_set_alpha"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_blend_mode,"nme_display_object_get_blend_mode"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_blend_mode,"nme_display_object_set_blend_mode"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_cache_as_bitmap,"nme_display_object_get_cache_as_bitmap"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_cache_as_bitmap,"nme_display_object_set_cache_as_bitmap"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pedantic_bitmap_caching,"nme_display_object_get_pedantic_bitmap_caching"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_pedantic_bitmap_caching,"nme_display_object_set_pedantic_bitmap_caching"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pixel_snapping,"nme_display_object_get_pixel_snapping"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_pixel_snapping,"nme_display_object_set_pixel_snapping"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_visible,"nme_display_object_get_visible"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_visible,"nme_display_object_set_visible"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_filters,"nme_display_object_set_filters"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_global_to_local,"nme_display_object_global_to_local"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_local_to_global,"nme_display_object_local_to_global"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale9_grid,"nme_display_object_set_scale9_grid"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scroll_rect,"nme_display_object_set_scroll_rect"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_mask,"nme_display_object_set_mask"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_matrix,"nme_display_object_set_matrix"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_matrix,"nme_display_object_get_matrix"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_color_transform,"nme_display_object_get_color_transform"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_color_transform,"nme_display_object_set_color_transform"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pixel_bounds,"nme_display_object_get_pixel_bounds"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_bounds,"nme_display_object_get_bounds"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_hit_test_point,"nme_display_object_hit_test_point"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(DisplayObject_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_create_display_object,"nme_create_display_object"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_graphics,"nme_display_object_get_graphics"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_draw_to_surface,"nme_display_object_draw_to_surface"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_id,"nme_display_object_get_id"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_x,"nme_display_object_get_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_x,"nme_display_object_set_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_y,"nme_display_object_get_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_y,"nme_display_object_set_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_scale_x,"nme_display_object_get_scale_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale_x,"nme_display_object_set_scale_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_scale_y,"nme_display_object_get_scale_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale_y,"nme_display_object_set_scale_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_mouse_x,"nme_display_object_get_mouse_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_mouse_y,"nme_display_object_get_mouse_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_rotation,"nme_display_object_get_rotation"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_rotation,"nme_display_object_set_rotation"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_bg,"nme_display_object_get_bg"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_bg,"nme_display_object_set_bg"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_name,"nme_display_object_get_name"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_name,"nme_display_object_set_name"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_width,"nme_display_object_get_width"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_width,"nme_display_object_set_width"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_height,"nme_display_object_get_height"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_height,"nme_display_object_set_height"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_alpha,"nme_display_object_get_alpha"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_alpha,"nme_display_object_set_alpha"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_blend_mode,"nme_display_object_get_blend_mode"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_blend_mode,"nme_display_object_set_blend_mode"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_cache_as_bitmap,"nme_display_object_get_cache_as_bitmap"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_cache_as_bitmap,"nme_display_object_set_cache_as_bitmap"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pedantic_bitmap_caching,"nme_display_object_get_pedantic_bitmap_caching"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_pedantic_bitmap_caching,"nme_display_object_set_pedantic_bitmap_caching"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pixel_snapping,"nme_display_object_get_pixel_snapping"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_pixel_snapping,"nme_display_object_set_pixel_snapping"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_visible,"nme_display_object_get_visible"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_visible,"nme_display_object_set_visible"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_filters,"nme_display_object_set_filters"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_global_to_local,"nme_display_object_global_to_local"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_local_to_global,"nme_display_object_local_to_global"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale9_grid,"nme_display_object_set_scale9_grid"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scroll_rect,"nme_display_object_set_scroll_rect"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_mask,"nme_display_object_set_mask"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_matrix,"nme_display_object_set_matrix"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_matrix,"nme_display_object_get_matrix"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_color_transform,"nme_display_object_get_color_transform"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_color_transform,"nme_display_object_set_color_transform"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pixel_bounds,"nme_display_object_get_pixel_bounds"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_bounds,"nme_display_object_get_bounds"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_hit_test_point,"nme_display_object_hit_test_point"); -}; - -Class DisplayObject_obj::__mClass; - -void DisplayObject_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.DisplayObject"), hx::TCanCast< DisplayObject_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void DisplayObject_obj::__boot() -{ - nme_create_display_object= ::neash::Loader_obj::load(HX_CSTRING("nme_create_display_object"),(int)0); - nme_display_object_get_graphics= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_graphics"),(int)1); - nme_display_object_draw_to_surface= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_draw_to_surface"),(int)-1); - nme_display_object_get_id= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_id"),(int)1); - nme_display_object_get_x= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_x"),(int)1); - nme_display_object_set_x= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_x"),(int)2); - nme_display_object_get_y= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_y"),(int)1); - nme_display_object_set_y= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_y"),(int)2); - nme_display_object_get_scale_x= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_scale_x"),(int)1); - nme_display_object_set_scale_x= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_scale_x"),(int)2); - nme_display_object_get_scale_y= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_scale_y"),(int)1); - nme_display_object_set_scale_y= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_scale_y"),(int)2); - nme_display_object_get_mouse_x= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_mouse_x"),(int)1); - nme_display_object_get_mouse_y= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_mouse_y"),(int)1); - nme_display_object_get_rotation= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_rotation"),(int)1); - nme_display_object_set_rotation= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_rotation"),(int)2); - nme_display_object_get_bg= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_bg"),(int)1); - nme_display_object_set_bg= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_bg"),(int)2); - nme_display_object_get_name= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_name"),(int)1); - nme_display_object_set_name= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_name"),(int)2); - nme_display_object_get_width= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_width"),(int)1); - nme_display_object_set_width= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_width"),(int)2); - nme_display_object_get_height= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_height"),(int)1); - nme_display_object_set_height= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_height"),(int)2); - nme_display_object_get_alpha= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_alpha"),(int)1); - nme_display_object_set_alpha= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_alpha"),(int)2); - nme_display_object_get_blend_mode= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_blend_mode"),(int)1); - nme_display_object_set_blend_mode= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_blend_mode"),(int)2); - nme_display_object_get_cache_as_bitmap= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_cache_as_bitmap"),(int)1); - nme_display_object_set_cache_as_bitmap= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_cache_as_bitmap"),(int)2); - nme_display_object_get_pedantic_bitmap_caching= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_pedantic_bitmap_caching"),(int)1); - nme_display_object_set_pedantic_bitmap_caching= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_pedantic_bitmap_caching"),(int)2); - nme_display_object_get_pixel_snapping= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_pixel_snapping"),(int)1); - nme_display_object_set_pixel_snapping= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_pixel_snapping"),(int)2); - nme_display_object_get_visible= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_visible"),(int)1); - nme_display_object_set_visible= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_visible"),(int)2); - nme_display_object_set_filters= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_filters"),(int)2); - nme_display_object_global_to_local= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_global_to_local"),(int)2); - nme_display_object_local_to_global= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_local_to_global"),(int)2); - nme_display_object_set_scale9_grid= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_scale9_grid"),(int)2); - nme_display_object_set_scroll_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_scroll_rect"),(int)2); - nme_display_object_set_mask= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_mask"),(int)2); - nme_display_object_set_matrix= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_matrix"),(int)2); - nme_display_object_get_matrix= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_matrix"),(int)3); - nme_display_object_get_color_transform= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_color_transform"),(int)3); - nme_display_object_set_color_transform= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_color_transform"),(int)2); - nme_display_object_get_pixel_bounds= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_pixel_bounds"),(int)2); - nme_display_object_get_bounds= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_bounds"),(int)4); - nme_display_object_hit_test_point= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_hit_test_point"),(int)5); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/DisplayObjectContainer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/DisplayObjectContainer.cpp deleted file mode 100644 index cd986fb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/DisplayObjectContainer.cpp +++ /dev/null @@ -1,1202 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_errors_ArgumentError -#include -#endif -#ifndef INCLUDED_neash_errors_Error -#include -#endif -#ifndef INCLUDED_neash_errors_RangeError -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -namespace neash{ -namespace display{ - -Void DisplayObjectContainer_obj::__construct(Dynamic inHandle,::String inType) -{ -HX_STACK_PUSH("DisplayObjectContainer::new","neash/display/DisplayObjectContainer.hx",23); -{ - HX_STACK_LINE(24) - super::__construct(inHandle,inType); - HX_STACK_LINE(25) - this->nmeChildren = Array_obj< ::neash::display::DisplayObject >::__new(); -} -; - return null(); -} - -DisplayObjectContainer_obj::~DisplayObjectContainer_obj() { } - -Dynamic DisplayObjectContainer_obj::__CreateEmpty() { return new DisplayObjectContainer_obj; } -hx::ObjectPtr< DisplayObjectContainer_obj > DisplayObjectContainer_obj::__new(Dynamic inHandle,::String inType) -{ hx::ObjectPtr< DisplayObjectContainer_obj > result = new DisplayObjectContainer_obj(); - result->__construct(inHandle,inType); - return result;} - -Dynamic DisplayObjectContainer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< DisplayObjectContainer_obj > result = new DisplayObjectContainer_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -bool DisplayObjectContainer_obj::nmeSetTabChildren( bool inValue){ - HX_STACK_PUSH("DisplayObjectContainer::nmeSetTabChildren","neash/display/DisplayObjectContainer.hx",355); - HX_STACK_THIS(this); - HX_STACK_ARG(inValue,"inValue"); - HX_STACK_LINE(355) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,nmeSetTabChildren,return ) - -bool DisplayObjectContainer_obj::nmeGetTabChildren( ){ - HX_STACK_PUSH("DisplayObjectContainer::nmeGetTabChildren","neash/display/DisplayObjectContainer.hx",354); - HX_STACK_THIS(this); - HX_STACK_LINE(354) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObjectContainer_obj,nmeGetTabChildren,return ) - -int DisplayObjectContainer_obj::nmeGetNumChildren( ){ - HX_STACK_PUSH("DisplayObjectContainer::nmeGetNumChildren","neash/display/DisplayObjectContainer.hx",353); - HX_STACK_THIS(this); - HX_STACK_LINE(353) - return this->nmeChildren->length; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObjectContainer_obj,nmeGetNumChildren,return ) - -bool DisplayObjectContainer_obj::nmeSetMouseChildren( bool inVal){ - HX_STACK_PUSH("DisplayObjectContainer::nmeSetMouseChildren","neash/display/DisplayObjectContainer.hx",347); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(348) - ::neash::display::DisplayObjectContainer_obj::nme_doc_set_mouse_children(this->nmeHandle,inVal); - HX_STACK_LINE(349) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,nmeSetMouseChildren,return ) - -bool DisplayObjectContainer_obj::nmeGetMouseChildren( ){ - HX_STACK_PUSH("DisplayObjectContainer::nmeGetMouseChildren","neash/display/DisplayObjectContainer.hx",345); - HX_STACK_THIS(this); - HX_STACK_LINE(345) - return ::neash::display::DisplayObjectContainer_obj::nme_doc_get_mouse_children(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObjectContainer_obj,nmeGetMouseChildren,return ) - -Void DisplayObjectContainer_obj::swapChildrenAt( int index1,int index2){ -{ - HX_STACK_PUSH("DisplayObjectContainer::swapChildrenAt","neash/display/DisplayObjectContainer.hx",335); - HX_STACK_THIS(this); - HX_STACK_ARG(index1,"index1"); - HX_STACK_ARG(index2,"index2"); - HX_STACK_LINE(336) - if (((bool((bool((bool((index1 < (int)0)) || bool((index2 < (int)0)))) || bool((index1 > this->nmeChildren->length)))) || bool((index2 > this->nmeChildren->length))))){ - HX_STACK_LINE(336) - hx::Throw (::neash::errors::RangeError_obj::__new(HX_CSTRING("swapChildrenAt : index out of bounds"))); - } - HX_STACK_LINE(336) - if (((index1 != index2))){ - HX_STACK_LINE(336) - ::neash::display::DisplayObject tmp = this->nmeChildren->__get(index1); HX_STACK_VAR(tmp,"tmp"); - HX_STACK_LINE(336) - this->nmeChildren[index1] = this->nmeChildren->__get(index2); - HX_STACK_LINE(336) - this->nmeChildren[index2] = tmp; - HX_STACK_LINE(336) - ::neash::display::DisplayObjectContainer_obj::nme_doc_swap_children(this->nmeHandle,index1,index2); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,swapChildrenAt,(void)) - -Void DisplayObjectContainer_obj::swapChildren( ::neash::display::DisplayObject child1,::neash::display::DisplayObject child2){ -{ - HX_STACK_PUSH("DisplayObjectContainer::swapChildren","neash/display/DisplayObjectContainer.hx",325); - HX_STACK_THIS(this); - HX_STACK_ARG(child1,"child1"); - HX_STACK_ARG(child2,"child2"); - HX_STACK_LINE(326) - int idx1 = this->nmeGetChildIndex(child1); HX_STACK_VAR(idx1,"idx1"); - HX_STACK_LINE(327) - int idx2 = this->nmeGetChildIndex(child2); HX_STACK_VAR(idx2,"idx2"); - HX_STACK_LINE(328) - if (((bool((idx1 < (int)0)) || bool((idx2 < (int)0))))){ - HX_STACK_LINE(329) - hx::Throw (HX_CSTRING("swapChildren:Could not find children")); - } - HX_STACK_LINE(330) - { - HX_STACK_LINE(330) - if (((bool((bool((bool((idx1 < (int)0)) || bool((idx2 < (int)0)))) || bool((idx1 > this->nmeChildren->length)))) || bool((idx2 > this->nmeChildren->length))))){ - HX_STACK_LINE(330) - hx::Throw (::neash::errors::RangeError_obj::__new(HX_CSTRING("swapChildrenAt : index out of bounds"))); - } - HX_STACK_LINE(330) - if (((idx1 != idx2))){ - HX_STACK_LINE(330) - ::neash::display::DisplayObject tmp = this->nmeChildren->__get(idx1); HX_STACK_VAR(tmp,"tmp"); - HX_STACK_LINE(330) - this->nmeChildren[idx1] = this->nmeChildren->__get(idx2); - HX_STACK_LINE(330) - this->nmeChildren[idx2] = tmp; - HX_STACK_LINE(330) - ::neash::display::DisplayObjectContainer_obj::nme_doc_swap_children(this->nmeHandle,idx1,idx2); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,swapChildren,(void)) - -Void DisplayObjectContainer_obj::setChildIndex( ::neash::display::DisplayObject child,int index){ -{ - HX_STACK_PUSH("DisplayObjectContainer::setChildIndex","neash/display/DisplayObjectContainer.hx",319); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(320) - if (((index > this->nmeChildren->length))){ - HX_STACK_LINE(320) - hx::Throw ((HX_CSTRING("Invalid index position ") + index)); - } - HX_STACK_LINE(320) - ::neash::display::DisplayObject s = null(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(320) - int orig = this->nmeGetChildIndex(child); HX_STACK_VAR(orig,"orig"); - HX_STACK_LINE(320) - if (((orig < (int)0))){ - HX_STACK_LINE(320) - ::String msg = ((HX_CSTRING("setChildIndex : object ") + child->toString()) + HX_CSTRING(" not found.")); HX_STACK_VAR(msg,"msg"); - HX_STACK_LINE(320) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(320) - int realindex = (int)-1; HX_STACK_VAR(realindex,"realindex"); - HX_STACK_LINE(320) - { - HX_STACK_LINE(320) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->nmeChildren->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(320) - while(((_g1 < _g))){ - HX_STACK_LINE(320) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(320) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(320) - realindex = i; - HX_STACK_LINE(320) - break; - } - } - } - HX_STACK_LINE(320) - if (((realindex != (int)-1))){ - HX_STACK_LINE(320) - hx::AddEq(msg,(HX_CSTRING("Internal error: Real child index was ") + ::Std_obj::string(realindex))); - } - else{ - HX_STACK_LINE(320) - hx::AddEq(msg,HX_CSTRING("Internal error: Child was not in nmeChildren array!")); - } - } - HX_STACK_LINE(320) - hx::Throw (msg); - } - HX_STACK_LINE(320) - ::neash::display::DisplayObjectContainer_obj::nme_doc_set_child_index(this->nmeHandle,child->nmeHandle,index); - HX_STACK_LINE(320) - if (((index < orig))){ - HX_STACK_LINE(320) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(320) - while(((i > index))){ - HX_STACK_LINE(320) - this->nmeChildren[i] = this->nmeChildren->__get((i - (int)1)); - HX_STACK_LINE(320) - (i)--; - } - HX_STACK_LINE(320) - this->nmeChildren[index] = child; - } - else{ - HX_STACK_LINE(320) - if (((orig < index))){ - HX_STACK_LINE(320) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(320) - while(((i < index))){ - HX_STACK_LINE(320) - this->nmeChildren[i] = this->nmeChildren->__get((i + (int)1)); - HX_STACK_LINE(320) - (i)++; - } - HX_STACK_LINE(320) - this->nmeChildren[index] = child; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,setChildIndex,(void)) - -::neash::display::DisplayObject DisplayObjectContainer_obj::removeChildAt( int index){ - HX_STACK_PUSH("DisplayObjectContainer::removeChildAt","neash/display/DisplayObjectContainer.hx",306); - HX_STACK_THIS(this); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(307) - if (((bool((index >= (int)0)) && bool((index < this->nmeChildren->length))))){ - HX_STACK_LINE(309) - ::neash::display::DisplayObject result = this->nmeChildren->__get(index); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(310) - result->nmeSetParent(null()); - HX_STACK_LINE(311) - return result; - } - HX_STACK_LINE(314) - hx::Throw (::neash::errors::ArgumentError_obj::__new(HX_CSTRING("The supplied DisplayObject must be a child of the caller."),null())); - HX_STACK_LINE(314) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,removeChildAt,return ) - -::neash::display::DisplayObject DisplayObjectContainer_obj::removeChild( ::neash::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::removeChild","neash/display/DisplayObjectContainer.hx",290); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(291) - int c = this->nmeGetChildIndex(child); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(293) - if (((c >= (int)0))){ - HX_STACK_LINE(295) - child->nmeSetParent(null()); - HX_STACK_LINE(296) - return child; - } - HX_STACK_LINE(301) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,removeChild,return ) - -Void DisplayObjectContainer_obj::nmeSwapChildrenAt( int index1,int index2){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeSwapChildrenAt","neash/display/DisplayObjectContainer.hx",275); - HX_STACK_THIS(this); - HX_STACK_ARG(index1,"index1"); - HX_STACK_ARG(index2,"index2"); - HX_STACK_LINE(276) - if (((bool((bool((bool((index1 < (int)0)) || bool((index2 < (int)0)))) || bool((index1 > this->nmeChildren->length)))) || bool((index2 > this->nmeChildren->length))))){ - HX_STACK_LINE(277) - hx::Throw (::neash::errors::RangeError_obj::__new(HX_CSTRING("swapChildrenAt : index out of bounds"))); - } - HX_STACK_LINE(279) - if (((index1 != index2))){ - HX_STACK_LINE(281) - ::neash::display::DisplayObject tmp = this->nmeChildren->__get(index1); HX_STACK_VAR(tmp,"tmp"); - HX_STACK_LINE(282) - this->nmeChildren[index1] = this->nmeChildren->__get(index2); - HX_STACK_LINE(283) - this->nmeChildren[index2] = tmp; - HX_STACK_LINE(284) - ::neash::display::DisplayObjectContainer_obj::nme_doc_swap_children(this->nmeHandle,index1,index2); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,nmeSwapChildrenAt,(void)) - -Void DisplayObjectContainer_obj::nmeSetChildIndex( ::neash::display::DisplayObject child,int index){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeSetChildIndex","neash/display/DisplayObjectContainer.hx",212); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(213) - if (((index > this->nmeChildren->length))){ - HX_STACK_LINE(214) - hx::Throw ((HX_CSTRING("Invalid index position ") + index)); - } - HX_STACK_LINE(216) - ::neash::display::DisplayObject s = null(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(217) - int orig = this->nmeGetChildIndex(child); HX_STACK_VAR(orig,"orig"); - HX_STACK_LINE(219) - if (((orig < (int)0))){ - HX_STACK_LINE(221) - ::String msg = ((HX_CSTRING("setChildIndex : object ") + child->toString()) + HX_CSTRING(" not found.")); HX_STACK_VAR(msg,"msg"); - HX_STACK_LINE(223) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(225) - int realindex = (int)-1; HX_STACK_VAR(realindex,"realindex"); - HX_STACK_LINE(227) - { - HX_STACK_LINE(227) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->nmeChildren->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(227) - while(((_g1 < _g))){ - HX_STACK_LINE(227) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(229) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(231) - realindex = i; - HX_STACK_LINE(232) - break; - } - } - } - HX_STACK_LINE(236) - if (((realindex != (int)-1))){ - HX_STACK_LINE(237) - hx::AddEq(msg,(HX_CSTRING("Internal error: Real child index was ") + ::Std_obj::string(realindex))); - } - else{ - HX_STACK_LINE(239) - hx::AddEq(msg,HX_CSTRING("Internal error: Child was not in nmeChildren array!")); - } - } - HX_STACK_LINE(242) - hx::Throw (msg); - } - HX_STACK_LINE(245) - ::neash::display::DisplayObjectContainer_obj::nme_doc_set_child_index(this->nmeHandle,child->nmeHandle,index); - HX_STACK_LINE(247) - if (((index < orig))){ - HX_STACK_LINE(249) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(251) - while(((i > index))){ - HX_STACK_LINE(253) - this->nmeChildren[i] = this->nmeChildren->__get((i - (int)1)); - HX_STACK_LINE(254) - (i)--; - } - HX_STACK_LINE(257) - this->nmeChildren[index] = child; - } - else{ - HX_STACK_LINE(260) - if (((orig < index))){ - HX_STACK_LINE(262) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(263) - while(((i < index))){ - HX_STACK_LINE(265) - this->nmeChildren[i] = this->nmeChildren->__get((i + (int)1)); - HX_STACK_LINE(266) - (i)++; - } - HX_STACK_LINE(269) - this->nmeChildren[index] = child; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,nmeSetChildIndex,(void)) - -Void DisplayObjectContainer_obj::nmeRemoveChildFromArray( ::neash::display::DisplayObject child){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeRemoveChildFromArray","neash/display/DisplayObjectContainer.hx",200); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(201) - int i = this->nmeGetChildIndex(child); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(203) - if (((i >= (int)0))){ - HX_STACK_LINE(205) - ::neash::display::DisplayObjectContainer_obj::nme_doc_remove_child(this->nmeHandle,i); - HX_STACK_LINE(206) - this->nmeChildren->splice(i,(int)1); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,nmeRemoveChildFromArray,(void)) - -Void DisplayObjectContainer_obj::nmeOnRemoved( ::neash::display::DisplayObject inObj,bool inWasOnStage){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeOnRemoved","neash/display/DisplayObjectContainer.hx",191); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inWasOnStage,"inWasOnStage"); - HX_STACK_LINE(192) - this->super::nmeOnRemoved(inObj,inWasOnStage); - HX_STACK_LINE(194) - { - HX_STACK_LINE(194) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(194) - while(((_g < _g1->length))){ - HX_STACK_LINE(194) - ::neash::display::DisplayObject child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(194) - ++(_g); - HX_STACK_LINE(195) - child->nmeOnRemoved(inObj,inWasOnStage); - } - } - } -return null(); -} - - -Void DisplayObjectContainer_obj::nmeOnAdded( ::neash::display::DisplayObject inObj,bool inIsOnStage){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeOnAdded","neash/display/DisplayObjectContainer.hx",182); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inIsOnStage,"inIsOnStage"); - HX_STACK_LINE(183) - this->super::nmeOnAdded(inObj,inIsOnStage); - HX_STACK_LINE(185) - { - HX_STACK_LINE(185) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(185) - while(((_g < _g1->length))){ - HX_STACK_LINE(185) - ::neash::display::DisplayObject child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(185) - ++(_g); - HX_STACK_LINE(186) - child->nmeOnAdded(inObj,inIsOnStage); - } - } - } -return null(); -} - - -Void DisplayObjectContainer_obj::nmeGetObjectsUnderPoint( ::neash::geom::Point point,Array< ::neash::display::DisplayObject > result){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeGetObjectsUnderPoint","neash/display/DisplayObjectContainer.hx",173); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_ARG(result,"result"); - HX_STACK_LINE(174) - this->super::nmeGetObjectsUnderPoint(point,result); - HX_STACK_LINE(176) - { - HX_STACK_LINE(176) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(176) - while(((_g < _g1->length))){ - HX_STACK_LINE(176) - ::neash::display::DisplayObject child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(176) - ++(_g); - HX_STACK_LINE(177) - child->nmeGetObjectsUnderPoint(point,result); - } - } - } -return null(); -} - - -int DisplayObjectContainer_obj::nmeGetChildIndex( ::neash::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::nmeGetChildIndex","neash/display/DisplayObjectContainer.hx",164); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(165) - { - HX_STACK_LINE(165) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->nmeChildren->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(165) - while(((_g1 < _g))){ - HX_STACK_LINE(165) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(166) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(167) - return i; - } - } - } - HX_STACK_LINE(168) - return (int)-1; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,nmeGetChildIndex,return ) - -::neash::display::DisplayObject DisplayObjectContainer_obj::nmeFindByID( int inID){ - HX_STACK_PUSH("DisplayObjectContainer::nmeFindByID","neash/display/DisplayObjectContainer.hx",147); - HX_STACK_THIS(this); - HX_STACK_ARG(inID,"inID"); - HX_STACK_LINE(148) - if (((this->nmeID == inID))){ - HX_STACK_LINE(149) - return hx::ObjectPtr(this); - } - HX_STACK_LINE(151) - { - HX_STACK_LINE(151) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(151) - while(((_g < _g1->length))){ - HX_STACK_LINE(151) - ::neash::display::DisplayObject child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(151) - ++(_g); - HX_STACK_LINE(153) - ::neash::display::DisplayObject found = child->nmeFindByID(inID); HX_STACK_VAR(found,"found"); - HX_STACK_LINE(155) - if (((found != null()))){ - HX_STACK_LINE(156) - return found; - } - } - } - HX_STACK_LINE(159) - return this->super::nmeFindByID(inID); -} - - -Void DisplayObjectContainer_obj::nmeBroadcast( ::neash::events::Event inEvt){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeBroadcast","neash/display/DisplayObjectContainer.hx",122); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvt,"inEvt"); - HX_STACK_LINE(123) - int i = (int)0; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(125) - if (((this->nmeChildren->length > (int)0))){ - HX_STACK_LINE(126) - while((true)){ - HX_STACK_LINE(128) - ::neash::display::DisplayObject child = this->nmeChildren->__get(i); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(129) - child->nmeBroadcast(inEvt); - HX_STACK_LINE(131) - if (((i >= this->nmeChildren->length))){ - HX_STACK_LINE(132) - break; - } - HX_STACK_LINE(134) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(136) - (i)++; - HX_STACK_LINE(137) - if (((i >= this->nmeChildren->length))){ - HX_STACK_LINE(138) - break; - } - } - } - } - HX_STACK_LINE(142) - this->super::nmeBroadcast(inEvt); - } -return null(); -} - - -Void DisplayObjectContainer_obj::nmeAddChild( ::neash::display::DisplayObject child){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeAddChild","neash/display/DisplayObjectContainer.hx",102); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(103) - if (((child == hx::ObjectPtr(this)))){ - HX_STACK_LINE(104) - hx::Throw (HX_CSTRING("Adding to self")); - } - HX_STACK_LINE(108) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(109) - this->setChildIndex(child,(this->nmeChildren->length - (int)1)); - } - else{ - HX_STACK_LINE(114) - child->nmeSetParent(hx::ObjectPtr(this)); - HX_STACK_LINE(115) - this->nmeChildren->push(child); - HX_STACK_LINE(116) - ::neash::display::DisplayObjectContainer_obj::nme_doc_add_child(this->nmeHandle,child->nmeHandle); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,nmeAddChild,(void)) - -Array< ::neash::display::DisplayObject > DisplayObjectContainer_obj::getObjectsUnderPoint( ::neash::geom::Point point){ - HX_STACK_PUSH("DisplayObjectContainer::getObjectsUnderPoint","neash/display/DisplayObjectContainer.hx",94); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(95) - Array< ::neash::display::DisplayObject > result = Array_obj< ::neash::display::DisplayObject >::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(96) - this->nmeGetObjectsUnderPoint(point,result); - HX_STACK_LINE(97) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,getObjectsUnderPoint,return ) - -int DisplayObjectContainer_obj::getChildIndex( ::neash::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::getChildIndex","neash/display/DisplayObjectContainer.hx",88); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(88) - return this->nmeGetChildIndex(child); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,getChildIndex,return ) - -::neash::display::DisplayObject DisplayObjectContainer_obj::getChildByName( ::String name){ - HX_STACK_PUSH("DisplayObjectContainer::getChildByName","neash/display/DisplayObjectContainer.hx",79); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(80) - { - HX_STACK_LINE(80) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(80) - while(((_g < _g1->length))){ - HX_STACK_LINE(80) - ::neash::display::DisplayObject c = _g1->__get(_g); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(80) - ++(_g); - HX_STACK_LINE(81) - if (((name == c->nmeGetName()))){ - HX_STACK_LINE(82) - return c; - } - } - } - HX_STACK_LINE(83) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,getChildByName,return ) - -::neash::display::DisplayObject DisplayObjectContainer_obj::getChildAt( int index){ - HX_STACK_PUSH("DisplayObjectContainer::getChildAt","neash/display/DisplayObjectContainer.hx",67); - HX_STACK_THIS(this); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(68) - if (((bool((index >= (int)0)) && bool((index < this->nmeChildren->length))))){ - HX_STACK_LINE(69) - return this->nmeChildren->__get(index); - } - HX_STACK_LINE(72) - hx::Throw (::neash::errors::RangeError_obj::__new((((HX_CSTRING("getChildAt : index out of bounds ") + index) + HX_CSTRING("/")) + this->nmeChildren->length))); - HX_STACK_LINE(74) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,getChildAt,return ) - -bool DisplayObjectContainer_obj::contains( ::neash::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::contains","neash/display/DisplayObjectContainer.hx",51); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(52) - if (((child == null()))){ - HX_STACK_LINE(53) - return false; - } - HX_STACK_LINE(55) - if (((hx::ObjectPtr(this) == child))){ - HX_STACK_LINE(56) - return true; - } - HX_STACK_LINE(58) - { - HX_STACK_LINE(58) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(58) - while(((_g < _g1->length))){ - HX_STACK_LINE(58) - ::neash::display::DisplayObject c = _g1->__get(_g); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(58) - ++(_g); - HX_STACK_LINE(59) - if (((c == child))){ - HX_STACK_LINE(60) - return true; - } - } - } - HX_STACK_LINE(62) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,contains,return ) - -bool DisplayObjectContainer_obj::areInaccessibleObjectsUnderPoint( ::neash::geom::Point point){ - HX_STACK_PUSH("DisplayObjectContainer::areInaccessibleObjectsUnderPoint","neash/display/DisplayObjectContainer.hx",45); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(45) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,areInaccessibleObjectsUnderPoint,return ) - -::neash::display::DisplayObject DisplayObjectContainer_obj::addChildAt( ::neash::display::DisplayObject child,int index){ - HX_STACK_PUSH("DisplayObjectContainer::addChildAt","neash/display/DisplayObjectContainer.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(38) - { - HX_STACK_LINE(38) - if (((child == hx::ObjectPtr(this)))){ - HX_STACK_LINE(38) - hx::Throw (HX_CSTRING("Adding to self")); - } - HX_STACK_LINE(38) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(38) - this->setChildIndex(child,(this->nmeChildren->length - (int)1)); - } - else{ - HX_STACK_LINE(38) - child->nmeSetParent(hx::ObjectPtr(this)); - HX_STACK_LINE(38) - this->nmeChildren->push(child); - HX_STACK_LINE(38) - ::neash::display::DisplayObjectContainer_obj::nme_doc_add_child(this->nmeHandle,child->nmeHandle); - } - } - HX_STACK_LINE(39) - { - HX_STACK_LINE(39) - if (((index > this->nmeChildren->length))){ - HX_STACK_LINE(39) - hx::Throw ((HX_CSTRING("Invalid index position ") + index)); - } - HX_STACK_LINE(39) - ::neash::display::DisplayObject s = null(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(39) - int orig = this->nmeGetChildIndex(child); HX_STACK_VAR(orig,"orig"); - HX_STACK_LINE(39) - if (((orig < (int)0))){ - HX_STACK_LINE(39) - ::String msg = ((HX_CSTRING("setChildIndex : object ") + child->toString()) + HX_CSTRING(" not found.")); HX_STACK_VAR(msg,"msg"); - HX_STACK_LINE(39) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(39) - int realindex = (int)-1; HX_STACK_VAR(realindex,"realindex"); - HX_STACK_LINE(39) - { - HX_STACK_LINE(39) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->nmeChildren->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(39) - while(((_g1 < _g))){ - HX_STACK_LINE(39) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(39) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(39) - realindex = i; - HX_STACK_LINE(39) - break; - } - } - } - HX_STACK_LINE(39) - if (((realindex != (int)-1))){ - HX_STACK_LINE(39) - hx::AddEq(msg,(HX_CSTRING("Internal error: Real child index was ") + ::Std_obj::string(realindex))); - } - else{ - HX_STACK_LINE(39) - hx::AddEq(msg,HX_CSTRING("Internal error: Child was not in nmeChildren array!")); - } - } - HX_STACK_LINE(39) - hx::Throw (msg); - } - HX_STACK_LINE(39) - ::neash::display::DisplayObjectContainer_obj::nme_doc_set_child_index(this->nmeHandle,child->nmeHandle,index); - HX_STACK_LINE(39) - if (((index < orig))){ - HX_STACK_LINE(39) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(39) - while(((i > index))){ - HX_STACK_LINE(39) - this->nmeChildren[i] = this->nmeChildren->__get((i - (int)1)); - HX_STACK_LINE(39) - (i)--; - } - HX_STACK_LINE(39) - this->nmeChildren[index] = child; - } - else{ - HX_STACK_LINE(39) - if (((orig < index))){ - HX_STACK_LINE(39) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(39) - while(((i < index))){ - HX_STACK_LINE(39) - this->nmeChildren[i] = this->nmeChildren->__get((i + (int)1)); - HX_STACK_LINE(39) - (i)++; - } - HX_STACK_LINE(39) - this->nmeChildren[index] = child; - } - } - } - HX_STACK_LINE(40) - return child; -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,addChildAt,return ) - -::neash::display::DisplayObject DisplayObjectContainer_obj::addChild( ::neash::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::addChild","neash/display/DisplayObjectContainer.hx",30); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(31) - { - HX_STACK_LINE(31) - if (((child == hx::ObjectPtr(this)))){ - HX_STACK_LINE(31) - hx::Throw (HX_CSTRING("Adding to self")); - } - HX_STACK_LINE(31) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(31) - this->setChildIndex(child,(this->nmeChildren->length - (int)1)); - } - else{ - HX_STACK_LINE(31) - child->nmeSetParent(hx::ObjectPtr(this)); - HX_STACK_LINE(31) - this->nmeChildren->push(child); - HX_STACK_LINE(31) - ::neash::display::DisplayObjectContainer_obj::nme_doc_add_child(this->nmeHandle,child->nmeHandle); - } - } - HX_STACK_LINE(32) - return child; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,addChild,return ) - -Dynamic DisplayObjectContainer_obj::nme_create_display_object_container; - -Dynamic DisplayObjectContainer_obj::nme_doc_add_child; - -Dynamic DisplayObjectContainer_obj::nme_doc_remove_child; - -Dynamic DisplayObjectContainer_obj::nme_doc_set_child_index; - -Dynamic DisplayObjectContainer_obj::nme_doc_get_mouse_children; - -Dynamic DisplayObjectContainer_obj::nme_doc_set_mouse_children; - -Dynamic DisplayObjectContainer_obj::nme_doc_swap_children; - - -DisplayObjectContainer_obj::DisplayObjectContainer_obj() -{ -} - -void DisplayObjectContainer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(DisplayObjectContainer); - HX_MARK_MEMBER_NAME(nmeChildren,"nmeChildren"); - HX_MARK_MEMBER_NAME(tabChildren,"tabChildren"); - HX_MARK_MEMBER_NAME(numChildren,"numChildren"); - HX_MARK_MEMBER_NAME(mouseChildren,"mouseChildren"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void DisplayObjectContainer_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeChildren,"nmeChildren"); - HX_VISIT_MEMBER_NAME(tabChildren,"tabChildren"); - HX_VISIT_MEMBER_NAME(numChildren,"numChildren"); - HX_VISIT_MEMBER_NAME(mouseChildren,"mouseChildren"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic DisplayObjectContainer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"contains") ) { return contains_dyn(); } - if (HX_FIELD_EQ(inName,"addChild") ) { return addChild_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeOnAdded") ) { return nmeOnAdded_dyn(); } - if (HX_FIELD_EQ(inName,"getChildAt") ) { return getChildAt_dyn(); } - if (HX_FIELD_EQ(inName,"addChildAt") ) { return addChildAt_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"removeChild") ) { return removeChild_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFindByID") ) { return nmeFindByID_dyn(); } - if (HX_FIELD_EQ(inName,"nmeAddChild") ) { return nmeAddChild_dyn(); } - if (HX_FIELD_EQ(inName,"nmeChildren") ) { return nmeChildren; } - if (HX_FIELD_EQ(inName,"tabChildren") ) { return inCallProp ? nmeGetTabChildren() : tabChildren; } - if (HX_FIELD_EQ(inName,"numChildren") ) { return inCallProp ? nmeGetNumChildren() : numChildren; } - break; - case 12: - if (HX_FIELD_EQ(inName,"swapChildren") ) { return swapChildren_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnRemoved") ) { return nmeOnRemoved_dyn(); } - if (HX_FIELD_EQ(inName,"nmeBroadcast") ) { return nmeBroadcast_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"setChildIndex") ) { return setChildIndex_dyn(); } - if (HX_FIELD_EQ(inName,"removeChildAt") ) { return removeChildAt_dyn(); } - if (HX_FIELD_EQ(inName,"getChildIndex") ) { return getChildIndex_dyn(); } - if (HX_FIELD_EQ(inName,"mouseChildren") ) { return inCallProp ? nmeGetMouseChildren() : mouseChildren; } - break; - case 14: - if (HX_FIELD_EQ(inName,"swapChildrenAt") ) { return swapChildrenAt_dyn(); } - if (HX_FIELD_EQ(inName,"getChildByName") ) { return getChildByName_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeSetChildIndex") ) { return nmeSetChildIndex_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetChildIndex") ) { return nmeGetChildIndex_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_doc_add_child") ) { return nme_doc_add_child; } - if (HX_FIELD_EQ(inName,"nmeSetTabChildren") ) { return nmeSetTabChildren_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTabChildren") ) { return nmeGetTabChildren_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetNumChildren") ) { return nmeGetNumChildren_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSwapChildrenAt") ) { return nmeSwapChildrenAt_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"nmeSetMouseChildren") ) { return nmeSetMouseChildren_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMouseChildren") ) { return nmeGetMouseChildren_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_doc_remove_child") ) { return nme_doc_remove_child; } - if (HX_FIELD_EQ(inName,"getObjectsUnderPoint") ) { return getObjectsUnderPoint_dyn(); } - break; - case 21: - if (HX_FIELD_EQ(inName,"nme_doc_swap_children") ) { return nme_doc_swap_children; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_doc_set_child_index") ) { return nme_doc_set_child_index; } - if (HX_FIELD_EQ(inName,"nmeRemoveChildFromArray") ) { return nmeRemoveChildFromArray_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetObjectsUnderPoint") ) { return nmeGetObjectsUnderPoint_dyn(); } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_doc_get_mouse_children") ) { return nme_doc_get_mouse_children; } - if (HX_FIELD_EQ(inName,"nme_doc_set_mouse_children") ) { return nme_doc_set_mouse_children; } - break; - case 32: - if (HX_FIELD_EQ(inName,"areInaccessibleObjectsUnderPoint") ) { return areInaccessibleObjectsUnderPoint_dyn(); } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_create_display_object_container") ) { return nme_create_display_object_container; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic DisplayObjectContainer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 11: - if (HX_FIELD_EQ(inName,"nmeChildren") ) { nmeChildren=inValue.Cast< Array< ::neash::display::DisplayObject > >(); return inValue; } - if (HX_FIELD_EQ(inName,"tabChildren") ) { if (inCallProp) return nmeSetTabChildren(inValue);tabChildren=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"numChildren") ) { numChildren=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"mouseChildren") ) { if (inCallProp) return nmeSetMouseChildren(inValue);mouseChildren=inValue.Cast< bool >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_doc_add_child") ) { nme_doc_add_child=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_doc_remove_child") ) { nme_doc_remove_child=inValue.Cast< Dynamic >(); return inValue; } - break; - case 21: - if (HX_FIELD_EQ(inName,"nme_doc_swap_children") ) { nme_doc_swap_children=inValue.Cast< Dynamic >(); return inValue; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_doc_set_child_index") ) { nme_doc_set_child_index=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_doc_get_mouse_children") ) { nme_doc_get_mouse_children=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_doc_set_mouse_children") ) { nme_doc_set_mouse_children=inValue.Cast< Dynamic >(); return inValue; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_create_display_object_container") ) { nme_create_display_object_container=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void DisplayObjectContainer_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeChildren")); - outFields->push(HX_CSTRING("tabChildren")); - outFields->push(HX_CSTRING("numChildren")); - outFields->push(HX_CSTRING("mouseChildren")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_create_display_object_container"), - HX_CSTRING("nme_doc_add_child"), - HX_CSTRING("nme_doc_remove_child"), - HX_CSTRING("nme_doc_set_child_index"), - HX_CSTRING("nme_doc_get_mouse_children"), - HX_CSTRING("nme_doc_set_mouse_children"), - HX_CSTRING("nme_doc_swap_children"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetTabChildren"), - HX_CSTRING("nmeGetTabChildren"), - HX_CSTRING("nmeGetNumChildren"), - HX_CSTRING("nmeSetMouseChildren"), - HX_CSTRING("nmeGetMouseChildren"), - HX_CSTRING("swapChildrenAt"), - HX_CSTRING("swapChildren"), - HX_CSTRING("setChildIndex"), - HX_CSTRING("removeChildAt"), - HX_CSTRING("removeChild"), - HX_CSTRING("nmeSwapChildrenAt"), - HX_CSTRING("nmeSetChildIndex"), - HX_CSTRING("nmeRemoveChildFromArray"), - HX_CSTRING("nmeOnRemoved"), - HX_CSTRING("nmeOnAdded"), - HX_CSTRING("nmeGetObjectsUnderPoint"), - HX_CSTRING("nmeGetChildIndex"), - HX_CSTRING("nmeFindByID"), - HX_CSTRING("nmeBroadcast"), - HX_CSTRING("nmeAddChild"), - HX_CSTRING("getObjectsUnderPoint"), - HX_CSTRING("getChildIndex"), - HX_CSTRING("getChildByName"), - HX_CSTRING("getChildAt"), - HX_CSTRING("contains"), - HX_CSTRING("areInaccessibleObjectsUnderPoint"), - HX_CSTRING("addChildAt"), - HX_CSTRING("addChild"), - HX_CSTRING("nmeChildren"), - HX_CSTRING("tabChildren"), - HX_CSTRING("numChildren"), - HX_CSTRING("mouseChildren"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_create_display_object_container,"nme_create_display_object_container"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_add_child,"nme_doc_add_child"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_remove_child,"nme_doc_remove_child"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_set_child_index,"nme_doc_set_child_index"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_get_mouse_children,"nme_doc_get_mouse_children"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_set_mouse_children,"nme_doc_set_mouse_children"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_swap_children,"nme_doc_swap_children"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_create_display_object_container,"nme_create_display_object_container"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_add_child,"nme_doc_add_child"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_remove_child,"nme_doc_remove_child"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_set_child_index,"nme_doc_set_child_index"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_get_mouse_children,"nme_doc_get_mouse_children"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_set_mouse_children,"nme_doc_set_mouse_children"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_swap_children,"nme_doc_swap_children"); -}; - -Class DisplayObjectContainer_obj::__mClass; - -void DisplayObjectContainer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.DisplayObjectContainer"), hx::TCanCast< DisplayObjectContainer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void DisplayObjectContainer_obj::__boot() -{ - nme_create_display_object_container= ::neash::Loader_obj::load(HX_CSTRING("nme_create_display_object_container"),(int)0); - nme_doc_add_child= ::neash::Loader_obj::load(HX_CSTRING("nme_doc_add_child"),(int)2); - nme_doc_remove_child= ::neash::Loader_obj::load(HX_CSTRING("nme_doc_remove_child"),(int)2); - nme_doc_set_child_index= ::neash::Loader_obj::load(HX_CSTRING("nme_doc_set_child_index"),(int)3); - nme_doc_get_mouse_children= ::neash::Loader_obj::load(HX_CSTRING("nme_doc_get_mouse_children"),(int)1); - nme_doc_set_mouse_children= ::neash::Loader_obj::load(HX_CSTRING("nme_doc_set_mouse_children"),(int)2); - nme_doc_swap_children= ::neash::Loader_obj::load(HX_CSTRING("nme_doc_swap_children"),(int)3); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/GradientType.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/GradientType.cpp deleted file mode 100644 index f1286f3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/GradientType.cpp +++ /dev/null @@ -1,73 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_GradientType -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::GradientType GradientType_obj::LINEAR; - -::neash::display::GradientType GradientType_obj::RADIAL; - -HX_DEFINE_CREATE_ENUM(GradientType_obj) - -int GradientType_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("LINEAR")) return 1; - if (inName==HX_CSTRING("RADIAL")) return 0; - return super::__FindIndex(inName); -} - -int GradientType_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("LINEAR")) return 0; - if (inName==HX_CSTRING("RADIAL")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic GradientType_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("LINEAR")) return LINEAR; - if (inName==HX_CSTRING("RADIAL")) return RADIAL; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("RADIAL"), - HX_CSTRING("LINEAR"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GradientType_obj::LINEAR,"LINEAR"); - HX_MARK_MEMBER_NAME(GradientType_obj::RADIAL,"RADIAL"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GradientType_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(GradientType_obj::LINEAR,"LINEAR"); - HX_VISIT_MEMBER_NAME(GradientType_obj::RADIAL,"RADIAL"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class GradientType_obj::__mClass; - -Dynamic __Create_GradientType_obj() { return new GradientType_obj; } - -void GradientType_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.GradientType"), hx::TCanCast< GradientType_obj >,sStaticFields,sMemberFields, - &__Create_GradientType_obj, &__Create, - &super::__SGetClass(), &CreateGradientType_obj, sMarkStatics, sVisitStatic); -} - -void GradientType_obj::__boot() -{ -Static(LINEAR) = hx::CreateEnum< GradientType_obj >(HX_CSTRING("LINEAR"),1); -Static(RADIAL) = hx::CreateEnum< GradientType_obj >(HX_CSTRING("RADIAL"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/Graphics.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/Graphics.cpp deleted file mode 100644 index 8142ec0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/Graphics.cpp +++ /dev/null @@ -1,935 +0,0 @@ -#include - -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -#ifndef INCLUDED_neash_display_GradientType -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_IGraphicsData -#include -#endif -#ifndef INCLUDED_neash_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -#ifndef INCLUDED_neash_display_LineScaleMode -#include -#endif -#ifndef INCLUDED_neash_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_neash_display_Tilesheet -#include -#endif -#ifndef INCLUDED_neash_display_TriangleCulling -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace neash{ -namespace display{ - -Void Graphics_obj::__construct(Dynamic inHandle) -{ -HX_STACK_PUSH("Graphics::new","neash/display/Graphics.hx",28); -{ - HX_STACK_LINE(28) - this->nmeHandle = inHandle; -} -; - return null(); -} - -Graphics_obj::~Graphics_obj() { } - -Dynamic Graphics_obj::__CreateEmpty() { return new Graphics_obj; } -hx::ObjectPtr< Graphics_obj > Graphics_obj::__new(Dynamic inHandle) -{ hx::ObjectPtr< Graphics_obj > result = new Graphics_obj(); - result->__construct(inHandle); - return result;} - -Dynamic Graphics_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Graphics_obj > result = new Graphics_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Graphics_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Graphics::moveTo","neash/display/Graphics.hx",185); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(185) - ::neash::display::Graphics_obj::nme_gfx_move_to(this->nmeHandle,inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Graphics_obj,moveTo,(void)) - -Void Graphics_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Graphics::lineTo","neash/display/Graphics.hx",179); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(179) - ::neash::display::Graphics_obj::nme_gfx_line_to(this->nmeHandle,inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Graphics_obj,lineTo,(void)) - -Void Graphics_obj::lineStyle( Dynamic thickness,hx::Null< int > __o_color,hx::Null< Float > __o_alpha,hx::Null< bool > __o_pixelHinting,::neash::display::LineScaleMode scaleMode,::neash::display::CapsStyle caps,::neash::display::JointStyle joints,hx::Null< Float > __o_miterLimit){ -int color = __o_color.Default(0); -Float alpha = __o_alpha.Default(1.0); -bool pixelHinting = __o_pixelHinting.Default(false); -Float miterLimit = __o_miterLimit.Default(3); - HX_STACK_PUSH("Graphics::lineStyle","neash/display/Graphics.hx",173); - HX_STACK_THIS(this); - HX_STACK_ARG(thickness,"thickness"); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); - HX_STACK_ARG(pixelHinting,"pixelHinting"); - HX_STACK_ARG(scaleMode,"scaleMode"); - HX_STACK_ARG(caps,"caps"); - HX_STACK_ARG(joints,"joints"); - HX_STACK_ARG(miterLimit,"miterLimit"); -{ - HX_STACK_LINE(173) - ::neash::display::Graphics_obj::nme_gfx_line_style(this->nmeHandle,thickness,color,alpha,pixelHinting,( (((scaleMode == null()))) ? int((int)0) : int(scaleMode->__Index()) ),( (((caps == null()))) ? int((int)0) : int(caps->__Index()) ),( (((joints == null()))) ? int((int)0) : int(joints->__Index()) ),miterLimit); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC8(Graphics_obj,lineStyle,(void)) - -Void Graphics_obj::lineGradientStyle( ::neash::display::GradientType type,Dynamic colors,Dynamic alphas,Dynamic ratios,::neash::geom::Matrix matrix,::neash::display::SpreadMethod spreadMethod,::neash::display::InterpolationMethod interpolationMethod,hx::Null< Float > __o_focalPointRatio){ -Float focalPointRatio = __o_focalPointRatio.Default(0.0); - HX_STACK_PUSH("Graphics::lineGradientStyle","neash/display/Graphics.hx",161); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(colors,"colors"); - HX_STACK_ARG(alphas,"alphas"); - HX_STACK_ARG(ratios,"ratios"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(spreadMethod,"spreadMethod"); - HX_STACK_ARG(interpolationMethod,"interpolationMethod"); - HX_STACK_ARG(focalPointRatio,"focalPointRatio"); -{ - HX_STACK_LINE(162) - if (((matrix == null()))){ - HX_STACK_LINE(164) - matrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - HX_STACK_LINE(165) - matrix->createGradientBox((int)200,(int)200,(int)0,(int)-100,(int)-100); - } - HX_STACK_LINE(168) - ::neash::display::Graphics_obj::nme_gfx_line_gradient_fill(this->nmeHandle,type->__Index(),colors,alphas,ratios,matrix,( (((spreadMethod == null()))) ? int((int)0) : int(spreadMethod->__Index()) ),( (((interpolationMethod == null()))) ? int((int)0) : int(interpolationMethod->__Index()) ),focalPointRatio); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC8(Graphics_obj,lineGradientStyle,(void)) - -Void Graphics_obj::lineBitmapStyle( ::neash::display::BitmapData bitmap,::neash::geom::Matrix matrix,hx::Null< bool > __o_repeat,hx::Null< bool > __o_smooth){ -bool repeat = __o_repeat.Default(true); -bool smooth = __o_smooth.Default(false); - HX_STACK_PUSH("Graphics::lineBitmapStyle","neash/display/Graphics.hx",155); - HX_STACK_THIS(this); - HX_STACK_ARG(bitmap,"bitmap"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(repeat,"repeat"); - HX_STACK_ARG(smooth,"smooth"); -{ - HX_STACK_LINE(155) - ::neash::display::Graphics_obj::nme_gfx_line_bitmap_fill(this->nmeHandle,bitmap->nmeHandle,matrix,repeat,smooth); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,lineBitmapStyle,(void)) - -Void Graphics_obj::endFill( ){ -{ - HX_STACK_PUSH("Graphics::endFill","neash/display/Graphics.hx",149); - HX_STACK_THIS(this); - HX_STACK_LINE(149) - ::neash::display::Graphics_obj::nme_gfx_end_fill(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Graphics_obj,endFill,(void)) - -Void Graphics_obj::drawTriangles( Array< Float > vertices,Array< int > indices,Array< Float > uvtData,::neash::display::TriangleCulling culling,Array< int > colours,hx::Null< int > __o_blendMode,Array< Float > viewport){ -int blendMode = __o_blendMode.Default(0); - HX_STACK_PUSH("Graphics::drawTriangles","neash/display/Graphics.hx",142); - HX_STACK_THIS(this); - HX_STACK_ARG(vertices,"vertices"); - HX_STACK_ARG(indices,"indices"); - HX_STACK_ARG(uvtData,"uvtData"); - HX_STACK_ARG(culling,"culling"); - HX_STACK_ARG(colours,"colours"); - HX_STACK_ARG(blendMode,"blendMode"); - HX_STACK_ARG(viewport,"viewport"); -{ - HX_STACK_LINE(143) - int cull = ( (((culling == null()))) ? int((int)0) : int((culling->__Index() - (int)1)) ); HX_STACK_VAR(cull,"cull"); - HX_STACK_LINE(144) - ::neash::display::Graphics_obj::nme_gfx_draw_triangles(this->nmeHandle,vertices,indices,uvtData,cull,colours,blendMode,viewport); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC7(Graphics_obj,drawTriangles,(void)) - -Void Graphics_obj::drawTiles( ::neash::display::Tilesheet sheet,Array< Float > inXYID,hx::Null< bool > __o_inSmooth,hx::Null< int > __o_inFlags){ -bool inSmooth = __o_inSmooth.Default(false); -int inFlags = __o_inFlags.Default(0); - HX_STACK_PUSH("Graphics::drawTiles","neash/display/Graphics.hx",131); - HX_STACK_THIS(this); - HX_STACK_ARG(sheet,"sheet"); - HX_STACK_ARG(inXYID,"inXYID"); - HX_STACK_ARG(inSmooth,"inSmooth"); - HX_STACK_ARG(inFlags,"inFlags"); -{ - HX_STACK_LINE(132) - this->beginBitmapFill(sheet->nmeBitmap,null(),false,inSmooth); - HX_STACK_LINE(134) - if ((inSmooth)){ - HX_STACK_LINE(135) - hx::OrEq(inFlags,(int)4096); - } - HX_STACK_LINE(137) - ::neash::display::Graphics_obj::nme_gfx_draw_tiles(this->nmeHandle,sheet->nmeHandle,inXYID,inFlags); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,drawTiles,(void)) - -Void Graphics_obj::drawPath( Array< int > commands,Array< Float > data,::String __o_winding){ -::String winding = __o_winding.Default(HX_CSTRING("evenOdd")); - HX_STACK_PUSH("Graphics::drawPath","neash/display/Graphics.hx",122); - HX_STACK_THIS(this); - HX_STACK_ARG(commands,"commands"); - HX_STACK_ARG(data,"data"); - HX_STACK_ARG(winding,"winding"); -{ - HX_STACK_LINE(122) - ::neash::display::Graphics_obj::nme_gfx_draw_path(this->nmeHandle,commands,data,(winding == HX_CSTRING("evenOdd"))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Graphics_obj,drawPath,(void)) - -Void Graphics_obj::drawRoundRect( Float inX,Float inY,Float inWidth,Float inHeight,Float inRadX,Dynamic inRadY){ -{ - HX_STACK_PUSH("Graphics::drawRoundRect","neash/display/Graphics.hx",117); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_ARG(inRadX,"inRadX"); - HX_STACK_ARG(inRadY,"inRadY"); - HX_STACK_LINE(117) - ::neash::display::Graphics_obj::nme_gfx_draw_round_rect(this->nmeHandle,inX,inY,inWidth,inHeight,inRadX,( (((inRadY == null()))) ? Dynamic(inRadX) : Dynamic(inRadY) )); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(Graphics_obj,drawRoundRect,(void)) - -Void Graphics_obj::drawRect( Float inX,Float inY,Float inWidth,Float inHeight){ -{ - HX_STACK_PUSH("Graphics::drawRect","neash/display/Graphics.hx",111); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_LINE(111) - ::neash::display::Graphics_obj::nme_gfx_draw_rect(this->nmeHandle,inX,inY,inWidth,inHeight); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,drawRect,(void)) - -Void Graphics_obj::drawPoints( Array< Float > inXY,Array< int > inPointRGBA,hx::Null< int > __o_inDefaultRGBA,hx::Null< Float > __o_inSize){ -int inDefaultRGBA = __o_inDefaultRGBA.Default(-1); -Float inSize = __o_inSize.Default(-1.0); - HX_STACK_PUSH("Graphics::drawPoints","neash/display/Graphics.hx",105); - HX_STACK_THIS(this); - HX_STACK_ARG(inXY,"inXY"); - HX_STACK_ARG(inPointRGBA,"inPointRGBA"); - HX_STACK_ARG(inDefaultRGBA,"inDefaultRGBA"); - HX_STACK_ARG(inSize,"inSize"); -{ - HX_STACK_LINE(105) - ::neash::display::Graphics_obj::nme_gfx_draw_points(this->nmeHandle,inXY,inPointRGBA,inDefaultRGBA,false,inSize); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,drawPoints,(void)) - -Void Graphics_obj::drawGraphicsDatum( ::neash::display::IGraphicsData graphicsDatum){ -{ - HX_STACK_PUSH("Graphics::drawGraphicsDatum","neash/display/Graphics.hx",99); - HX_STACK_THIS(this); - HX_STACK_ARG(graphicsDatum,"graphicsDatum"); - HX_STACK_LINE(99) - ::neash::display::Graphics_obj::nme_gfx_draw_datum(this->nmeHandle,graphicsDatum->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Graphics_obj,drawGraphicsDatum,(void)) - -Void Graphics_obj::drawGraphicsData( Array< ::neash::display::IGraphicsData > graphicsData){ -{ - HX_STACK_PUSH("Graphics::drawGraphicsData","neash/display/Graphics.hx",88); - HX_STACK_THIS(this); - HX_STACK_ARG(graphicsData,"graphicsData"); - HX_STACK_LINE(89) - Dynamic handles = Dynamic( Array_obj::__new() ); HX_STACK_VAR(handles,"handles"); - HX_STACK_LINE(91) - { - HX_STACK_LINE(91) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(91) - while(((_g < graphicsData->length))){ - HX_STACK_LINE(91) - ::neash::display::IGraphicsData datum = graphicsData->__get(_g); HX_STACK_VAR(datum,"datum"); - HX_STACK_LINE(91) - ++(_g); - HX_STACK_LINE(92) - handles->__Field(HX_CSTRING("push"),true)(datum->nmeHandle); - } - } - HX_STACK_LINE(94) - ::neash::display::Graphics_obj::nme_gfx_draw_data(this->nmeHandle,handles); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Graphics_obj,drawGraphicsData,(void)) - -Void Graphics_obj::drawEllipse( Float inX,Float inY,Float inWidth,Float inHeight){ -{ - HX_STACK_PUSH("Graphics::drawEllipse","neash/display/Graphics.hx",82); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_LINE(82) - ::neash::display::Graphics_obj::nme_gfx_draw_ellipse(this->nmeHandle,inX,inY,inWidth,inHeight); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,drawEllipse,(void)) - -Void Graphics_obj::drawCircle( Float inX,Float inY,Float inRadius){ -{ - HX_STACK_PUSH("Graphics::drawCircle","neash/display/Graphics.hx",76); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inRadius,"inRadius"); - HX_STACK_LINE(76) - ::neash::display::Graphics_obj::nme_gfx_draw_ellipse(this->nmeHandle,(inX - inRadius),(inY - inRadius),(inRadius * (int)2),(inRadius * (int)2)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Graphics_obj,drawCircle,(void)) - -Void Graphics_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("Graphics::curveTo","neash/display/Graphics.hx",70); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(70) - ::neash::display::Graphics_obj::nme_gfx_curve_to(this->nmeHandle,inCX,inCY,inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,curveTo,(void)) - -Void Graphics_obj::clear( ){ -{ - HX_STACK_PUSH("Graphics::clear","neash/display/Graphics.hx",64); - HX_STACK_THIS(this); - HX_STACK_LINE(64) - ::neash::display::Graphics_obj::nme_gfx_clear(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Graphics_obj,clear,(void)) - -Void Graphics_obj::beginGradientFill( ::neash::display::GradientType type,Dynamic colors,Dynamic alphas,Dynamic ratios,::neash::geom::Matrix matrix,::neash::display::SpreadMethod spreadMethod,::neash::display::InterpolationMethod interpolationMethod,hx::Null< Float > __o_focalPointRatio){ -Float focalPointRatio = __o_focalPointRatio.Default(0.0); - HX_STACK_PUSH("Graphics::beginGradientFill","neash/display/Graphics.hx",52); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(colors,"colors"); - HX_STACK_ARG(alphas,"alphas"); - HX_STACK_ARG(ratios,"ratios"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(spreadMethod,"spreadMethod"); - HX_STACK_ARG(interpolationMethod,"interpolationMethod"); - HX_STACK_ARG(focalPointRatio,"focalPointRatio"); -{ - HX_STACK_LINE(53) - if (((matrix == null()))){ - HX_STACK_LINE(55) - matrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - HX_STACK_LINE(56) - matrix->createGradientBox((int)200,(int)200,(int)0,(int)-100,(int)-100); - } - HX_STACK_LINE(59) - ::neash::display::Graphics_obj::nme_gfx_begin_gradient_fill(this->nmeHandle,type->__Index(),colors,alphas,ratios,matrix,( (((spreadMethod == null()))) ? int((int)0) : int(spreadMethod->__Index()) ),( (((interpolationMethod == null()))) ? int((int)0) : int(interpolationMethod->__Index()) ),focalPointRatio); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC8(Graphics_obj,beginGradientFill,(void)) - -Void Graphics_obj::beginFill( int color,hx::Null< Float > __o_alpha){ -Float alpha = __o_alpha.Default(1.0); - HX_STACK_PUSH("Graphics::beginFill","neash/display/Graphics.hx",46); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); -{ - HX_STACK_LINE(46) - ::neash::display::Graphics_obj::nme_gfx_begin_fill(this->nmeHandle,color,alpha); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Graphics_obj,beginFill,(void)) - -Void Graphics_obj::beginBitmapFill( ::neash::display::BitmapData bitmap,::neash::geom::Matrix matrix,hx::Null< bool > __o_repeat,hx::Null< bool > __o_smooth){ -bool repeat = __o_repeat.Default(true); -bool smooth = __o_smooth.Default(false); - HX_STACK_PUSH("Graphics::beginBitmapFill","neash/display/Graphics.hx",40); - HX_STACK_THIS(this); - HX_STACK_ARG(bitmap,"bitmap"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(repeat,"repeat"); - HX_STACK_ARG(smooth,"smooth"); -{ - HX_STACK_LINE(40) - ::neash::display::Graphics_obj::nme_gfx_begin_bitmap_fill(this->nmeHandle,bitmap->nmeHandle,matrix,repeat,smooth); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,beginBitmapFill,(void)) - -Void Graphics_obj::arcTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("Graphics::arcTo","neash/display/Graphics.hx",34); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(34) - ::neash::display::Graphics_obj::nme_gfx_arc_to(this->nmeHandle,inCX,inCY,inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,arcTo,(void)) - -int Graphics_obj::TILE_SCALE; - -int Graphics_obj::TILE_ROTATION; - -int Graphics_obj::TILE_RGB; - -int Graphics_obj::TILE_ALPHA; - -int Graphics_obj::TILE_TRANS_2x2; - -int Graphics_obj::TILE_SMOOTH; - -int Graphics_obj::TILE_BLEND_NORMAL; - -int Graphics_obj::TILE_BLEND_ADD; - -int Graphics_obj::RGBA( int inRGB,hx::Null< int > __o_inA){ -int inA = __o_inA.Default(255); - HX_STACK_PUSH("Graphics::RGBA","neash/display/Graphics.hx",191); - HX_STACK_ARG(inRGB,"inRGB"); - HX_STACK_ARG(inA,"inA"); -{ - HX_STACK_LINE(191) - return (int(inRGB) | int((int(inA) << int((int)24)))); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Graphics_obj,RGBA,return ) - -Dynamic Graphics_obj::nme_gfx_clear; - -Dynamic Graphics_obj::nme_gfx_begin_fill; - -Dynamic Graphics_obj::nme_gfx_begin_bitmap_fill; - -Dynamic Graphics_obj::nme_gfx_line_bitmap_fill; - -Dynamic Graphics_obj::nme_gfx_begin_gradient_fill; - -Dynamic Graphics_obj::nme_gfx_line_gradient_fill; - -Dynamic Graphics_obj::nme_gfx_end_fill; - -Dynamic Graphics_obj::nme_gfx_line_style; - -Dynamic Graphics_obj::nme_gfx_move_to; - -Dynamic Graphics_obj::nme_gfx_line_to; - -Dynamic Graphics_obj::nme_gfx_curve_to; - -Dynamic Graphics_obj::nme_gfx_arc_to; - -Dynamic Graphics_obj::nme_gfx_draw_ellipse; - -Dynamic Graphics_obj::nme_gfx_draw_data; - -Dynamic Graphics_obj::nme_gfx_draw_datum; - -Dynamic Graphics_obj::nme_gfx_draw_rect; - -Dynamic Graphics_obj::nme_gfx_draw_path; - -Dynamic Graphics_obj::nme_gfx_draw_tiles; - -Dynamic Graphics_obj::nme_gfx_draw_points; - -Dynamic Graphics_obj::nme_gfx_draw_round_rect; - -Dynamic Graphics_obj::nme_gfx_draw_triangles; - - -Graphics_obj::Graphics_obj() -{ -} - -void Graphics_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Graphics); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_END_CLASS(); -} - -void Graphics_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); -} - -Dynamic Graphics_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"RGBA") ) { return RGBA_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"clear") ) { return clear_dyn(); } - if (HX_FIELD_EQ(inName,"arcTo") ) { return arcTo_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"endFill") ) { return endFill_dyn(); } - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"TILE_RGB") ) { return TILE_RGB; } - if (HX_FIELD_EQ(inName,"drawPath") ) { return drawPath_dyn(); } - if (HX_FIELD_EQ(inName,"drawRect") ) { return drawRect_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"lineStyle") ) { return lineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"drawTiles") ) { return drawTiles_dyn(); } - if (HX_FIELD_EQ(inName,"beginFill") ) { return beginFill_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TILE_SCALE") ) { return TILE_SCALE; } - if (HX_FIELD_EQ(inName,"TILE_ALPHA") ) { return TILE_ALPHA; } - if (HX_FIELD_EQ(inName,"drawPoints") ) { return drawPoints_dyn(); } - if (HX_FIELD_EQ(inName,"drawCircle") ) { return drawCircle_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"TILE_SMOOTH") ) { return TILE_SMOOTH; } - if (HX_FIELD_EQ(inName,"drawEllipse") ) { return drawEllipse_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"TILE_ROTATION") ) { return TILE_ROTATION; } - if (HX_FIELD_EQ(inName,"nme_gfx_clear") ) { return nme_gfx_clear; } - if (HX_FIELD_EQ(inName,"drawTriangles") ) { return drawTriangles_dyn(); } - if (HX_FIELD_EQ(inName,"drawRoundRect") ) { return drawRoundRect_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"TILE_TRANS_2x2") ) { return TILE_TRANS_2x2; } - if (HX_FIELD_EQ(inName,"TILE_BLEND_ADD") ) { return TILE_BLEND_ADD; } - if (HX_FIELD_EQ(inName,"nme_gfx_arc_to") ) { return nme_gfx_arc_to; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_gfx_move_to") ) { return nme_gfx_move_to; } - if (HX_FIELD_EQ(inName,"nme_gfx_line_to") ) { return nme_gfx_line_to; } - if (HX_FIELD_EQ(inName,"lineBitmapStyle") ) { return lineBitmapStyle_dyn(); } - if (HX_FIELD_EQ(inName,"beginBitmapFill") ) { return beginBitmapFill_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_gfx_end_fill") ) { return nme_gfx_end_fill; } - if (HX_FIELD_EQ(inName,"nme_gfx_curve_to") ) { return nme_gfx_curve_to; } - if (HX_FIELD_EQ(inName,"drawGraphicsData") ) { return drawGraphicsData_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"TILE_BLEND_NORMAL") ) { return TILE_BLEND_NORMAL; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_data") ) { return nme_gfx_draw_data; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_rect") ) { return nme_gfx_draw_rect; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_path") ) { return nme_gfx_draw_path; } - if (HX_FIELD_EQ(inName,"lineGradientStyle") ) { return lineGradientStyle_dyn(); } - if (HX_FIELD_EQ(inName,"drawGraphicsDatum") ) { return drawGraphicsDatum_dyn(); } - if (HX_FIELD_EQ(inName,"beginGradientFill") ) { return beginGradientFill_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_fill") ) { return nme_gfx_begin_fill; } - if (HX_FIELD_EQ(inName,"nme_gfx_line_style") ) { return nme_gfx_line_style; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_datum") ) { return nme_gfx_draw_datum; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_tiles") ) { return nme_gfx_draw_tiles; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_points") ) { return nme_gfx_draw_points; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_ellipse") ) { return nme_gfx_draw_ellipse; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_triangles") ) { return nme_gfx_draw_triangles; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_round_rect") ) { return nme_gfx_draw_round_rect; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_gfx_line_bitmap_fill") ) { return nme_gfx_line_bitmap_fill; } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_bitmap_fill") ) { return nme_gfx_begin_bitmap_fill; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_gfx_line_gradient_fill") ) { return nme_gfx_line_gradient_fill; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_gradient_fill") ) { return nme_gfx_begin_gradient_fill; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Graphics_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"TILE_RGB") ) { TILE_RGB=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TILE_SCALE") ) { TILE_SCALE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TILE_ALPHA") ) { TILE_ALPHA=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TILE_SMOOTH") ) { TILE_SMOOTH=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"TILE_ROTATION") ) { TILE_ROTATION=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_clear") ) { nme_gfx_clear=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TILE_TRANS_2x2") ) { TILE_TRANS_2x2=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TILE_BLEND_ADD") ) { TILE_BLEND_ADD=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_arc_to") ) { nme_gfx_arc_to=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_gfx_move_to") ) { nme_gfx_move_to=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_line_to") ) { nme_gfx_line_to=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_gfx_end_fill") ) { nme_gfx_end_fill=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_curve_to") ) { nme_gfx_curve_to=inValue.Cast< Dynamic >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"TILE_BLEND_NORMAL") ) { TILE_BLEND_NORMAL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_data") ) { nme_gfx_draw_data=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_rect") ) { nme_gfx_draw_rect=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_path") ) { nme_gfx_draw_path=inValue.Cast< Dynamic >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_fill") ) { nme_gfx_begin_fill=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_line_style") ) { nme_gfx_line_style=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_datum") ) { nme_gfx_draw_datum=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_tiles") ) { nme_gfx_draw_tiles=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_points") ) { nme_gfx_draw_points=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_ellipse") ) { nme_gfx_draw_ellipse=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_triangles") ) { nme_gfx_draw_triangles=inValue.Cast< Dynamic >(); return inValue; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_round_rect") ) { nme_gfx_draw_round_rect=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_gfx_line_bitmap_fill") ) { nme_gfx_line_bitmap_fill=inValue.Cast< Dynamic >(); return inValue; } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_bitmap_fill") ) { nme_gfx_begin_bitmap_fill=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_gfx_line_gradient_fill") ) { nme_gfx_line_gradient_fill=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_gradient_fill") ) { nme_gfx_begin_gradient_fill=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Graphics_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeHandle")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("TILE_SCALE"), - HX_CSTRING("TILE_ROTATION"), - HX_CSTRING("TILE_RGB"), - HX_CSTRING("TILE_ALPHA"), - HX_CSTRING("TILE_TRANS_2x2"), - HX_CSTRING("TILE_SMOOTH"), - HX_CSTRING("TILE_BLEND_NORMAL"), - HX_CSTRING("TILE_BLEND_ADD"), - HX_CSTRING("RGBA"), - HX_CSTRING("nme_gfx_clear"), - HX_CSTRING("nme_gfx_begin_fill"), - HX_CSTRING("nme_gfx_begin_bitmap_fill"), - HX_CSTRING("nme_gfx_line_bitmap_fill"), - HX_CSTRING("nme_gfx_begin_gradient_fill"), - HX_CSTRING("nme_gfx_line_gradient_fill"), - HX_CSTRING("nme_gfx_end_fill"), - HX_CSTRING("nme_gfx_line_style"), - HX_CSTRING("nme_gfx_move_to"), - HX_CSTRING("nme_gfx_line_to"), - HX_CSTRING("nme_gfx_curve_to"), - HX_CSTRING("nme_gfx_arc_to"), - HX_CSTRING("nme_gfx_draw_ellipse"), - HX_CSTRING("nme_gfx_draw_data"), - HX_CSTRING("nme_gfx_draw_datum"), - HX_CSTRING("nme_gfx_draw_rect"), - HX_CSTRING("nme_gfx_draw_path"), - HX_CSTRING("nme_gfx_draw_tiles"), - HX_CSTRING("nme_gfx_draw_points"), - HX_CSTRING("nme_gfx_draw_round_rect"), - HX_CSTRING("nme_gfx_draw_triangles"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("moveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("lineStyle"), - HX_CSTRING("lineGradientStyle"), - HX_CSTRING("lineBitmapStyle"), - HX_CSTRING("endFill"), - HX_CSTRING("drawTriangles"), - HX_CSTRING("drawTiles"), - HX_CSTRING("drawPath"), - HX_CSTRING("drawRoundRect"), - HX_CSTRING("drawRect"), - HX_CSTRING("drawPoints"), - HX_CSTRING("drawGraphicsDatum"), - HX_CSTRING("drawGraphicsData"), - HX_CSTRING("drawEllipse"), - HX_CSTRING("drawCircle"), - HX_CSTRING("curveTo"), - HX_CSTRING("clear"), - HX_CSTRING("beginGradientFill"), - HX_CSTRING("beginFill"), - HX_CSTRING("beginBitmapFill"), - HX_CSTRING("arcTo"), - HX_CSTRING("nmeHandle"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Graphics_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_SCALE,"TILE_SCALE"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_ROTATION,"TILE_ROTATION"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_RGB,"TILE_RGB"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_ALPHA,"TILE_ALPHA"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_TRANS_2x2,"TILE_TRANS_2x2"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_SMOOTH,"TILE_SMOOTH"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_BLEND_NORMAL,"TILE_BLEND_NORMAL"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_BLEND_ADD,"TILE_BLEND_ADD"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_clear,"nme_gfx_clear"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_begin_fill,"nme_gfx_begin_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_begin_bitmap_fill,"nme_gfx_begin_bitmap_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_line_bitmap_fill,"nme_gfx_line_bitmap_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_begin_gradient_fill,"nme_gfx_begin_gradient_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_line_gradient_fill,"nme_gfx_line_gradient_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_end_fill,"nme_gfx_end_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_line_style,"nme_gfx_line_style"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_move_to,"nme_gfx_move_to"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_line_to,"nme_gfx_line_to"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_curve_to,"nme_gfx_curve_to"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_arc_to,"nme_gfx_arc_to"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_ellipse,"nme_gfx_draw_ellipse"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_data,"nme_gfx_draw_data"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_datum,"nme_gfx_draw_datum"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_rect,"nme_gfx_draw_rect"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_path,"nme_gfx_draw_path"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_tiles,"nme_gfx_draw_tiles"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_points,"nme_gfx_draw_points"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_round_rect,"nme_gfx_draw_round_rect"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_triangles,"nme_gfx_draw_triangles"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Graphics_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_SCALE,"TILE_SCALE"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_ROTATION,"TILE_ROTATION"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_RGB,"TILE_RGB"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_ALPHA,"TILE_ALPHA"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_TRANS_2x2,"TILE_TRANS_2x2"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_SMOOTH,"TILE_SMOOTH"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_BLEND_NORMAL,"TILE_BLEND_NORMAL"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_BLEND_ADD,"TILE_BLEND_ADD"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_clear,"nme_gfx_clear"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_begin_fill,"nme_gfx_begin_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_begin_bitmap_fill,"nme_gfx_begin_bitmap_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_line_bitmap_fill,"nme_gfx_line_bitmap_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_begin_gradient_fill,"nme_gfx_begin_gradient_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_line_gradient_fill,"nme_gfx_line_gradient_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_end_fill,"nme_gfx_end_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_line_style,"nme_gfx_line_style"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_move_to,"nme_gfx_move_to"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_line_to,"nme_gfx_line_to"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_curve_to,"nme_gfx_curve_to"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_arc_to,"nme_gfx_arc_to"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_ellipse,"nme_gfx_draw_ellipse"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_data,"nme_gfx_draw_data"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_datum,"nme_gfx_draw_datum"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_rect,"nme_gfx_draw_rect"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_path,"nme_gfx_draw_path"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_tiles,"nme_gfx_draw_tiles"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_points,"nme_gfx_draw_points"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_round_rect,"nme_gfx_draw_round_rect"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_triangles,"nme_gfx_draw_triangles"); -}; - -Class Graphics_obj::__mClass; - -void Graphics_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.Graphics"), hx::TCanCast< Graphics_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Graphics_obj::__boot() -{ - TILE_SCALE= (int)1; - TILE_ROTATION= (int)2; - TILE_RGB= (int)4; - TILE_ALPHA= (int)8; - TILE_TRANS_2x2= (int)16; - TILE_SMOOTH= (int)4096; - TILE_BLEND_NORMAL= (int)0; - TILE_BLEND_ADD= (int)65536; - nme_gfx_clear= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_clear"),(int)1); - nme_gfx_begin_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_begin_fill"),(int)3); - nme_gfx_begin_bitmap_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_begin_bitmap_fill"),(int)5); - nme_gfx_line_bitmap_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_line_bitmap_fill"),(int)5); - nme_gfx_begin_gradient_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_begin_gradient_fill"),(int)-1); - nme_gfx_line_gradient_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_line_gradient_fill"),(int)-1); - nme_gfx_end_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_end_fill"),(int)1); - nme_gfx_line_style= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_line_style"),(int)-1); - nme_gfx_move_to= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_move_to"),(int)3); - nme_gfx_line_to= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_line_to"),(int)3); - nme_gfx_curve_to= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_curve_to"),(int)5); - nme_gfx_arc_to= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_arc_to"),(int)5); - nme_gfx_draw_ellipse= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_ellipse"),(int)5); - nme_gfx_draw_data= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_data"),(int)2); - nme_gfx_draw_datum= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_datum"),(int)2); - nme_gfx_draw_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_rect"),(int)5); - nme_gfx_draw_path= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_path"),(int)4); - nme_gfx_draw_tiles= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_tiles"),(int)4); - nme_gfx_draw_points= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_points"),(int)-1); - nme_gfx_draw_round_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_round_rect"),(int)-1); - nme_gfx_draw_triangles= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_triangles"),(int)-1); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/GraphicsPathWinding.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/GraphicsPathWinding.cpp deleted file mode 100644 index 06c4c5c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/GraphicsPathWinding.cpp +++ /dev/null @@ -1,107 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_GraphicsPathWinding -#include -#endif -namespace neash{ -namespace display{ - -Void GraphicsPathWinding_obj::__construct() -{ - return null(); -} - -GraphicsPathWinding_obj::~GraphicsPathWinding_obj() { } - -Dynamic GraphicsPathWinding_obj::__CreateEmpty() { return new GraphicsPathWinding_obj; } -hx::ObjectPtr< GraphicsPathWinding_obj > GraphicsPathWinding_obj::__new() -{ hx::ObjectPtr< GraphicsPathWinding_obj > result = new GraphicsPathWinding_obj(); - result->__construct(); - return result;} - -Dynamic GraphicsPathWinding_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GraphicsPathWinding_obj > result = new GraphicsPathWinding_obj(); - result->__construct(); - return result;} - -::String GraphicsPathWinding_obj::EVEN_ODD; - -::String GraphicsPathWinding_obj::NON_ZERO; - - -GraphicsPathWinding_obj::GraphicsPathWinding_obj() -{ -} - -void GraphicsPathWinding_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GraphicsPathWinding); - HX_MARK_END_CLASS(); -} - -void GraphicsPathWinding_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic GraphicsPathWinding_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"EVEN_ODD") ) { return EVEN_ODD; } - if (HX_FIELD_EQ(inName,"NON_ZERO") ) { return NON_ZERO; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GraphicsPathWinding_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"EVEN_ODD") ) { EVEN_ODD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"NON_ZERO") ) { NON_ZERO=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void GraphicsPathWinding_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("EVEN_ODD"), - HX_CSTRING("NON_ZERO"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GraphicsPathWinding_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(GraphicsPathWinding_obj::EVEN_ODD,"EVEN_ODD"); - HX_MARK_MEMBER_NAME(GraphicsPathWinding_obj::NON_ZERO,"NON_ZERO"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GraphicsPathWinding_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(GraphicsPathWinding_obj::EVEN_ODD,"EVEN_ODD"); - HX_VISIT_MEMBER_NAME(GraphicsPathWinding_obj::NON_ZERO,"NON_ZERO"); -}; - -Class GraphicsPathWinding_obj::__mClass; - -void GraphicsPathWinding_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.GraphicsPathWinding"), hx::TCanCast< GraphicsPathWinding_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GraphicsPathWinding_obj::__boot() -{ - EVEN_ODD= HX_CSTRING("evenOdd"); - NON_ZERO= HX_CSTRING("nonZero"); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/IBitmapDrawable.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/IBitmapDrawable.cpp deleted file mode 100644 index ed94d99..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/IBitmapDrawable.cpp +++ /dev/null @@ -1,43 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -namespace neash{ -namespace display{ - -HX_DEFINE_DYNAMIC_FUNC6(IBitmapDrawable_obj,nmeDrawToSurface,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IBitmapDrawable_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IBitmapDrawable_obj::__mClass,"__mClass"); -}; - -Class IBitmapDrawable_obj::__mClass; - -void IBitmapDrawable_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.IBitmapDrawable"), hx::TCanCast< IBitmapDrawable_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IBitmapDrawable_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/IGraphicsData.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/IGraphicsData.cpp deleted file mode 100644 index 2957ccd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/IGraphicsData.cpp +++ /dev/null @@ -1,103 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_IGraphicsData -#include -#endif -namespace neash{ -namespace display{ - -Void IGraphicsData_obj::__construct(Dynamic inHandle) -{ -HX_STACK_PUSH("IGraphicsData::new","neash/display/IGraphicsData.hx",11); -{ - HX_STACK_LINE(11) - this->nmeHandle = inHandle; -} -; - return null(); -} - -IGraphicsData_obj::~IGraphicsData_obj() { } - -Dynamic IGraphicsData_obj::__CreateEmpty() { return new IGraphicsData_obj; } -hx::ObjectPtr< IGraphicsData_obj > IGraphicsData_obj::__new(Dynamic inHandle) -{ hx::ObjectPtr< IGraphicsData_obj > result = new IGraphicsData_obj(); - result->__construct(inHandle); - return result;} - -Dynamic IGraphicsData_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< IGraphicsData_obj > result = new IGraphicsData_obj(); - result->__construct(inArgs[0]); - return result;} - - -IGraphicsData_obj::IGraphicsData_obj() -{ -} - -void IGraphicsData_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(IGraphicsData); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_END_CLASS(); -} - -void IGraphicsData_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); -} - -Dynamic IGraphicsData_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic IGraphicsData_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void IGraphicsData_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeHandle")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeHandle"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IGraphicsData_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IGraphicsData_obj::__mClass,"__mClass"); -}; - -Class IGraphicsData_obj::__mClass; - -void IGraphicsData_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.IGraphicsData"), hx::TCanCast< IGraphicsData_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IGraphicsData_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/InteractiveObject.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/InteractiveObject.cpp deleted file mode 100644 index f72e4b6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/InteractiveObject.cpp +++ /dev/null @@ -1,339 +0,0 @@ -#include - -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace display{ - -Void InteractiveObject_obj::__construct(Dynamic inHandle,::String inType) -{ -HX_STACK_PUSH("InteractiveObject::new","neash/display/InteractiveObject.hx",19); -{ - HX_STACK_LINE(20) - this->doubleClickEnabled = false; - HX_STACK_LINE(21) - this->nmeMouseEnabled = true; - HX_STACK_LINE(23) - super::__construct(inHandle,inType); -} -; - return null(); -} - -InteractiveObject_obj::~InteractiveObject_obj() { } - -Dynamic InteractiveObject_obj::__CreateEmpty() { return new InteractiveObject_obj; } -hx::ObjectPtr< InteractiveObject_obj > InteractiveObject_obj::__new(Dynamic inHandle,::String inType) -{ hx::ObjectPtr< InteractiveObject_obj > result = new InteractiveObject_obj(); - result->__construct(inHandle,inType); - return result;} - -Dynamic InteractiveObject_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< InteractiveObject_obj > result = new InteractiveObject_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -bool InteractiveObject_obj::nmeGetNeedsSoftKeyboard( ){ - HX_STACK_PUSH("InteractiveObject::nmeGetNeedsSoftKeyboard","neash/display/InteractiveObject.hx",74); - HX_STACK_THIS(this); - HX_STACK_LINE(74) - return ::neash::display::InteractiveObject_obj::nme_display_object_get_needs_soft_keyboard(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(InteractiveObject_obj,nmeGetNeedsSoftKeyboard,return ) - -bool InteractiveObject_obj::nmeSetNeedsSoftKeyboard( bool inVal){ - HX_STACK_PUSH("InteractiveObject::nmeSetNeedsSoftKeyboard","neash/display/InteractiveObject.hx",67); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(68) - ::neash::display::InteractiveObject_obj::nme_display_object_set_needs_soft_keyboard(this->nmeHandle,inVal); - HX_STACK_LINE(69) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(InteractiveObject_obj,nmeSetNeedsSoftKeyboard,return ) - -bool InteractiveObject_obj::nmeGetMoveForSoftKeyboard( ){ - HX_STACK_PUSH("InteractiveObject::nmeGetMoveForSoftKeyboard","neash/display/InteractiveObject.hx",61); - HX_STACK_THIS(this); - HX_STACK_LINE(61) - return ::neash::display::InteractiveObject_obj::nme_display_object_get_moves_for_soft_keyboard(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(InteractiveObject_obj,nmeGetMoveForSoftKeyboard,return ) - -bool InteractiveObject_obj::nmeSetMoveForSoftKeyboard( bool inVal){ - HX_STACK_PUSH("InteractiveObject::nmeSetMoveForSoftKeyboard","neash/display/InteractiveObject.hx",54); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(55) - ::neash::display::InteractiveObject_obj::nme_display_object_set_moves_for_soft_keyboard(this->nmeHandle,inVal); - HX_STACK_LINE(56) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(InteractiveObject_obj,nmeSetMoveForSoftKeyboard,return ) - -bool InteractiveObject_obj::nmeSetMouseEnabled( bool inVal){ - HX_STACK_PUSH("InteractiveObject::nmeSetMouseEnabled","neash/display/InteractiveObject.hx",46); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(47) - this->nmeMouseEnabled = inVal; - HX_STACK_LINE(48) - ::neash::display::InteractiveObject_obj::nme_display_object_set_mouse_enabled(this->nmeHandle,inVal); - HX_STACK_LINE(49) - return this->nmeMouseEnabled; -} - - -HX_DEFINE_DYNAMIC_FUNC1(InteractiveObject_obj,nmeSetMouseEnabled,return ) - -bool InteractiveObject_obj::nmeGetMouseEnabled( ){ - HX_STACK_PUSH("InteractiveObject::nmeGetMouseEnabled","neash/display/InteractiveObject.hx",44); - HX_STACK_THIS(this); - HX_STACK_LINE(44) - return this->nmeMouseEnabled; -} - - -HX_DEFINE_DYNAMIC_FUNC0(InteractiveObject_obj,nmeGetMouseEnabled,return ) - -bool InteractiveObject_obj::requestSoftKeyboard( ){ - HX_STACK_PUSH("InteractiveObject::requestSoftKeyboard","neash/display/InteractiveObject.hx",34); - HX_STACK_THIS(this); - HX_STACK_LINE(34) - return ::neash::display::InteractiveObject_obj::nme_display_object_request_soft_keyboard(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(InteractiveObject_obj,requestSoftKeyboard,return ) - -::neash::display::InteractiveObject InteractiveObject_obj::nmeAsInteractiveObject( ){ - HX_STACK_PUSH("InteractiveObject::nmeAsInteractiveObject","neash/display/InteractiveObject.hx",28); - HX_STACK_THIS(this); - HX_STACK_LINE(28) - return hx::ObjectPtr(this); -} - - -Dynamic InteractiveObject_obj::nme_display_object_set_mouse_enabled; - -Dynamic InteractiveObject_obj::nme_display_object_set_needs_soft_keyboard; - -Dynamic InteractiveObject_obj::nme_display_object_get_needs_soft_keyboard; - -Dynamic InteractiveObject_obj::nme_display_object_set_moves_for_soft_keyboard; - -Dynamic InteractiveObject_obj::nme_display_object_get_moves_for_soft_keyboard; - -Dynamic InteractiveObject_obj::nme_display_object_request_soft_keyboard; - - -InteractiveObject_obj::InteractiveObject_obj() -{ -} - -void InteractiveObject_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(InteractiveObject); - HX_MARK_MEMBER_NAME(nmeMouseEnabled,"nmeMouseEnabled"); - HX_MARK_MEMBER_NAME(needsSoftKeyboard,"needsSoftKeyboard"); - HX_MARK_MEMBER_NAME(moveForSoftKeyboard,"moveForSoftKeyboard"); - HX_MARK_MEMBER_NAME(mouseEnabled,"mouseEnabled"); - HX_MARK_MEMBER_NAME(doubleClickEnabled,"doubleClickEnabled"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void InteractiveObject_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeMouseEnabled,"nmeMouseEnabled"); - HX_VISIT_MEMBER_NAME(needsSoftKeyboard,"needsSoftKeyboard"); - HX_VISIT_MEMBER_NAME(moveForSoftKeyboard,"moveForSoftKeyboard"); - HX_VISIT_MEMBER_NAME(mouseEnabled,"mouseEnabled"); - HX_VISIT_MEMBER_NAME(doubleClickEnabled,"doubleClickEnabled"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic InteractiveObject_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 12: - if (HX_FIELD_EQ(inName,"mouseEnabled") ) { return inCallProp ? nmeGetMouseEnabled() : mouseEnabled; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeMouseEnabled") ) { return nmeMouseEnabled; } - break; - case 17: - if (HX_FIELD_EQ(inName,"needsSoftKeyboard") ) { return inCallProp ? nmeGetNeedsSoftKeyboard() : needsSoftKeyboard; } - break; - case 18: - if (HX_FIELD_EQ(inName,"nmeSetMouseEnabled") ) { return nmeSetMouseEnabled_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMouseEnabled") ) { return nmeGetMouseEnabled_dyn(); } - if (HX_FIELD_EQ(inName,"doubleClickEnabled") ) { return doubleClickEnabled; } - break; - case 19: - if (HX_FIELD_EQ(inName,"requestSoftKeyboard") ) { return requestSoftKeyboard_dyn(); } - if (HX_FIELD_EQ(inName,"moveForSoftKeyboard") ) { return inCallProp ? nmeGetMoveForSoftKeyboard() : moveForSoftKeyboard; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nmeAsInteractiveObject") ) { return nmeAsInteractiveObject_dyn(); } - break; - case 23: - if (HX_FIELD_EQ(inName,"nmeGetNeedsSoftKeyboard") ) { return nmeGetNeedsSoftKeyboard_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetNeedsSoftKeyboard") ) { return nmeSetNeedsSoftKeyboard_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"nmeGetMoveForSoftKeyboard") ) { return nmeGetMoveForSoftKeyboard_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetMoveForSoftKeyboard") ) { return nmeSetMoveForSoftKeyboard_dyn(); } - break; - case 36: - if (HX_FIELD_EQ(inName,"nme_display_object_set_mouse_enabled") ) { return nme_display_object_set_mouse_enabled; } - break; - case 40: - if (HX_FIELD_EQ(inName,"nme_display_object_request_soft_keyboard") ) { return nme_display_object_request_soft_keyboard; } - break; - case 42: - if (HX_FIELD_EQ(inName,"nme_display_object_set_needs_soft_keyboard") ) { return nme_display_object_set_needs_soft_keyboard; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_needs_soft_keyboard") ) { return nme_display_object_get_needs_soft_keyboard; } - break; - case 46: - if (HX_FIELD_EQ(inName,"nme_display_object_set_moves_for_soft_keyboard") ) { return nme_display_object_set_moves_for_soft_keyboard; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_moves_for_soft_keyboard") ) { return nme_display_object_get_moves_for_soft_keyboard; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic InteractiveObject_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 12: - if (HX_FIELD_EQ(inName,"mouseEnabled") ) { if (inCallProp) return nmeSetMouseEnabled(inValue);mouseEnabled=inValue.Cast< bool >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeMouseEnabled") ) { nmeMouseEnabled=inValue.Cast< bool >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"needsSoftKeyboard") ) { if (inCallProp) return nmeSetNeedsSoftKeyboard(inValue);needsSoftKeyboard=inValue.Cast< bool >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"doubleClickEnabled") ) { doubleClickEnabled=inValue.Cast< bool >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"moveForSoftKeyboard") ) { if (inCallProp) return nmeSetMoveForSoftKeyboard(inValue);moveForSoftKeyboard=inValue.Cast< bool >(); return inValue; } - break; - case 36: - if (HX_FIELD_EQ(inName,"nme_display_object_set_mouse_enabled") ) { nme_display_object_set_mouse_enabled=inValue.Cast< Dynamic >(); return inValue; } - break; - case 40: - if (HX_FIELD_EQ(inName,"nme_display_object_request_soft_keyboard") ) { nme_display_object_request_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - break; - case 42: - if (HX_FIELD_EQ(inName,"nme_display_object_set_needs_soft_keyboard") ) { nme_display_object_set_needs_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_needs_soft_keyboard") ) { nme_display_object_get_needs_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - break; - case 46: - if (HX_FIELD_EQ(inName,"nme_display_object_set_moves_for_soft_keyboard") ) { nme_display_object_set_moves_for_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_moves_for_soft_keyboard") ) { nme_display_object_get_moves_for_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void InteractiveObject_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeMouseEnabled")); - outFields->push(HX_CSTRING("needsSoftKeyboard")); - outFields->push(HX_CSTRING("moveForSoftKeyboard")); - outFields->push(HX_CSTRING("mouseEnabled")); - outFields->push(HX_CSTRING("doubleClickEnabled")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_display_object_set_mouse_enabled"), - HX_CSTRING("nme_display_object_set_needs_soft_keyboard"), - HX_CSTRING("nme_display_object_get_needs_soft_keyboard"), - HX_CSTRING("nme_display_object_set_moves_for_soft_keyboard"), - HX_CSTRING("nme_display_object_get_moves_for_soft_keyboard"), - HX_CSTRING("nme_display_object_request_soft_keyboard"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetNeedsSoftKeyboard"), - HX_CSTRING("nmeSetNeedsSoftKeyboard"), - HX_CSTRING("nmeGetMoveForSoftKeyboard"), - HX_CSTRING("nmeSetMoveForSoftKeyboard"), - HX_CSTRING("nmeSetMouseEnabled"), - HX_CSTRING("nmeGetMouseEnabled"), - HX_CSTRING("requestSoftKeyboard"), - HX_CSTRING("nmeAsInteractiveObject"), - HX_CSTRING("nmeMouseEnabled"), - HX_CSTRING("needsSoftKeyboard"), - HX_CSTRING("moveForSoftKeyboard"), - HX_CSTRING("mouseEnabled"), - HX_CSTRING("doubleClickEnabled"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(InteractiveObject_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_mouse_enabled,"nme_display_object_set_mouse_enabled"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_needs_soft_keyboard,"nme_display_object_set_needs_soft_keyboard"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_get_needs_soft_keyboard,"nme_display_object_get_needs_soft_keyboard"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_moves_for_soft_keyboard,"nme_display_object_set_moves_for_soft_keyboard"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_get_moves_for_soft_keyboard,"nme_display_object_get_moves_for_soft_keyboard"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_request_soft_keyboard,"nme_display_object_request_soft_keyboard"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_mouse_enabled,"nme_display_object_set_mouse_enabled"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_needs_soft_keyboard,"nme_display_object_set_needs_soft_keyboard"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_get_needs_soft_keyboard,"nme_display_object_get_needs_soft_keyboard"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_moves_for_soft_keyboard,"nme_display_object_set_moves_for_soft_keyboard"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_get_moves_for_soft_keyboard,"nme_display_object_get_moves_for_soft_keyboard"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_request_soft_keyboard,"nme_display_object_request_soft_keyboard"); -}; - -Class InteractiveObject_obj::__mClass; - -void InteractiveObject_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.InteractiveObject"), hx::TCanCast< InteractiveObject_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void InteractiveObject_obj::__boot() -{ - nme_display_object_set_mouse_enabled= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_mouse_enabled"),(int)2); - nme_display_object_set_needs_soft_keyboard= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_needs_soft_keyboard"),(int)2); - nme_display_object_get_needs_soft_keyboard= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_needs_soft_keyboard"),(int)1); - nme_display_object_set_moves_for_soft_keyboard= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_moves_for_soft_keyboard"),(int)2); - nme_display_object_get_moves_for_soft_keyboard= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_moves_for_soft_keyboard"),(int)1); - nme_display_object_request_soft_keyboard= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_request_soft_keyboard"),(int)1); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/InterpolationMethod.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/InterpolationMethod.cpp deleted file mode 100644 index 8d6cdb5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/InterpolationMethod.cpp +++ /dev/null @@ -1,73 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_InterpolationMethod -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::InterpolationMethod InterpolationMethod_obj::LINEAR_RGB; - -::neash::display::InterpolationMethod InterpolationMethod_obj::RGB; - -HX_DEFINE_CREATE_ENUM(InterpolationMethod_obj) - -int InterpolationMethod_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("LINEAR_RGB")) return 1; - if (inName==HX_CSTRING("RGB")) return 0; - return super::__FindIndex(inName); -} - -int InterpolationMethod_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("LINEAR_RGB")) return 0; - if (inName==HX_CSTRING("RGB")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic InterpolationMethod_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("LINEAR_RGB")) return LINEAR_RGB; - if (inName==HX_CSTRING("RGB")) return RGB; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("RGB"), - HX_CSTRING("LINEAR_RGB"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(InterpolationMethod_obj::LINEAR_RGB,"LINEAR_RGB"); - HX_MARK_MEMBER_NAME(InterpolationMethod_obj::RGB,"RGB"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(InterpolationMethod_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(InterpolationMethod_obj::LINEAR_RGB,"LINEAR_RGB"); - HX_VISIT_MEMBER_NAME(InterpolationMethod_obj::RGB,"RGB"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class InterpolationMethod_obj::__mClass; - -Dynamic __Create_InterpolationMethod_obj() { return new InterpolationMethod_obj; } - -void InterpolationMethod_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.InterpolationMethod"), hx::TCanCast< InterpolationMethod_obj >,sStaticFields,sMemberFields, - &__Create_InterpolationMethod_obj, &__Create, - &super::__SGetClass(), &CreateInterpolationMethod_obj, sMarkStatics, sVisitStatic); -} - -void InterpolationMethod_obj::__boot() -{ -Static(LINEAR_RGB) = hx::CreateEnum< InterpolationMethod_obj >(HX_CSTRING("LINEAR_RGB"),1); -Static(RGB) = hx::CreateEnum< InterpolationMethod_obj >(HX_CSTRING("RGB"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/JointStyle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/JointStyle.cpp deleted file mode 100644 index 33f4e21..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/JointStyle.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::JointStyle JointStyle_obj::BEVEL; - -::neash::display::JointStyle JointStyle_obj::MITER; - -::neash::display::JointStyle JointStyle_obj::ROUND; - -HX_DEFINE_CREATE_ENUM(JointStyle_obj) - -int JointStyle_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BEVEL")) return 2; - if (inName==HX_CSTRING("MITER")) return 1; - if (inName==HX_CSTRING("ROUND")) return 0; - return super::__FindIndex(inName); -} - -int JointStyle_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BEVEL")) return 0; - if (inName==HX_CSTRING("MITER")) return 0; - if (inName==HX_CSTRING("ROUND")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic JointStyle_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BEVEL")) return BEVEL; - if (inName==HX_CSTRING("MITER")) return MITER; - if (inName==HX_CSTRING("ROUND")) return ROUND; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("ROUND"), - HX_CSTRING("MITER"), - HX_CSTRING("BEVEL"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(JointStyle_obj::BEVEL,"BEVEL"); - HX_MARK_MEMBER_NAME(JointStyle_obj::MITER,"MITER"); - HX_MARK_MEMBER_NAME(JointStyle_obj::ROUND,"ROUND"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(JointStyle_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(JointStyle_obj::BEVEL,"BEVEL"); - HX_VISIT_MEMBER_NAME(JointStyle_obj::MITER,"MITER"); - HX_VISIT_MEMBER_NAME(JointStyle_obj::ROUND,"ROUND"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class JointStyle_obj::__mClass; - -Dynamic __Create_JointStyle_obj() { return new JointStyle_obj; } - -void JointStyle_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.JointStyle"), hx::TCanCast< JointStyle_obj >,sStaticFields,sMemberFields, - &__Create_JointStyle_obj, &__Create, - &super::__SGetClass(), &CreateJointStyle_obj, sMarkStatics, sVisitStatic); -} - -void JointStyle_obj::__boot() -{ -Static(BEVEL) = hx::CreateEnum< JointStyle_obj >(HX_CSTRING("BEVEL"),2); -Static(MITER) = hx::CreateEnum< JointStyle_obj >(HX_CSTRING("MITER"),1); -Static(ROUND) = hx::CreateEnum< JointStyle_obj >(HX_CSTRING("ROUND"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/LineScaleMode.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/LineScaleMode.cpp deleted file mode 100644 index 7802626..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/LineScaleMode.cpp +++ /dev/null @@ -1,100 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_LineScaleMode -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::LineScaleMode LineScaleMode_obj::HORIZONTAL; - -::neash::display::LineScaleMode LineScaleMode_obj::NONE; - -::neash::display::LineScaleMode LineScaleMode_obj::NORMAL; - -::neash::display::LineScaleMode LineScaleMode_obj::OPENGL; - -::neash::display::LineScaleMode LineScaleMode_obj::VERTICAL; - -HX_DEFINE_CREATE_ENUM(LineScaleMode_obj) - -int LineScaleMode_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("HORIZONTAL")) return 3; - if (inName==HX_CSTRING("NONE")) return 1; - if (inName==HX_CSTRING("NORMAL")) return 0; - if (inName==HX_CSTRING("OPENGL")) return 4; - if (inName==HX_CSTRING("VERTICAL")) return 2; - return super::__FindIndex(inName); -} - -int LineScaleMode_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("HORIZONTAL")) return 0; - if (inName==HX_CSTRING("NONE")) return 0; - if (inName==HX_CSTRING("NORMAL")) return 0; - if (inName==HX_CSTRING("OPENGL")) return 0; - if (inName==HX_CSTRING("VERTICAL")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic LineScaleMode_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("HORIZONTAL")) return HORIZONTAL; - if (inName==HX_CSTRING("NONE")) return NONE; - if (inName==HX_CSTRING("NORMAL")) return NORMAL; - if (inName==HX_CSTRING("OPENGL")) return OPENGL; - if (inName==HX_CSTRING("VERTICAL")) return VERTICAL; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NORMAL"), - HX_CSTRING("NONE"), - HX_CSTRING("VERTICAL"), - HX_CSTRING("HORIZONTAL"), - HX_CSTRING("OPENGL"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(LineScaleMode_obj::HORIZONTAL,"HORIZONTAL"); - HX_MARK_MEMBER_NAME(LineScaleMode_obj::NONE,"NONE"); - HX_MARK_MEMBER_NAME(LineScaleMode_obj::NORMAL,"NORMAL"); - HX_MARK_MEMBER_NAME(LineScaleMode_obj::OPENGL,"OPENGL"); - HX_MARK_MEMBER_NAME(LineScaleMode_obj::VERTICAL,"VERTICAL"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::HORIZONTAL,"HORIZONTAL"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::NONE,"NONE"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::NORMAL,"NORMAL"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::OPENGL,"OPENGL"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::VERTICAL,"VERTICAL"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class LineScaleMode_obj::__mClass; - -Dynamic __Create_LineScaleMode_obj() { return new LineScaleMode_obj; } - -void LineScaleMode_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.LineScaleMode"), hx::TCanCast< LineScaleMode_obj >,sStaticFields,sMemberFields, - &__Create_LineScaleMode_obj, &__Create, - &super::__SGetClass(), &CreateLineScaleMode_obj, sMarkStatics, sVisitStatic); -} - -void LineScaleMode_obj::__boot() -{ -Static(HORIZONTAL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("HORIZONTAL"),3); -Static(NONE) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("NONE"),1); -Static(NORMAL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("NORMAL"),0); -Static(OPENGL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("OPENGL"),4); -Static(VERTICAL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("VERTICAL"),2); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/ManagedStage.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/ManagedStage.cpp deleted file mode 100644 index bbb72bd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/ManagedStage.cpp +++ /dev/null @@ -1,580 +0,0 @@ -#include - -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_ManagedStage -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace display{ - -Void ManagedStage_obj::__construct(int inWidth,int inHeight) -{ -HX_STACK_PUSH("ManagedStage::new","neash/display/ManagedStage.hx",42); -{ - HX_STACK_LINE(42) - super::__construct(::neash::display::ManagedStage_obj::nme_managed_stage_create(inWidth,inHeight),inWidth,inHeight); -} -; - return null(); -} - -ManagedStage_obj::~ManagedStage_obj() { } - -Dynamic ManagedStage_obj::__CreateEmpty() { return new ManagedStage_obj; } -hx::ObjectPtr< ManagedStage_obj > ManagedStage_obj::__new(int inWidth,int inHeight) -{ hx::ObjectPtr< ManagedStage_obj > result = new ManagedStage_obj(); - result->__construct(inWidth,inHeight); - return result;} - -Dynamic ManagedStage_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ManagedStage_obj > result = new ManagedStage_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -HX_BEGIN_DEFAULT_FUNC(__default_setNextWake,ManagedStage_obj) -Void run(Float inDelay){ -{ - HX_STACK_PUSH("ManagedStage::setNextWake","neash/display/ManagedStage.hx",100); - HX_STACK_THIS(this); - HX_STACK_ARG(inDelay,"inDelay"); - } -return null(); -} -HX_END_LOCAL_FUNC1((void)) -HX_END_DEFAULT_FUNC - -Void ManagedStage_obj::sendQuit( ){ -{ - HX_STACK_PUSH("ManagedStage::sendQuit","neash/display/ManagedStage.hx",94); - HX_STACK_THIS(this); - struct _Function_1_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","neash/display/ManagedStage.hx",95); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("type") , (int)10,false); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(94) - this->pumpEvent(_Function_1_1::Block()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ManagedStage_obj,sendQuit,(void)) - -Void ManagedStage_obj::resize( int inWidth,int inHeight){ -{ - HX_STACK_PUSH("ManagedStage::resize","neash/display/ManagedStage.hx",88); - HX_STACK_THIS(this); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - struct _Function_1_1{ - inline static Dynamic Block( int &inWidth,int &inHeight){ - HX_STACK_PUSH("*::closure","neash/display/ManagedStage.hx",89); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("type") , (int)8,false); - __result->Add(HX_CSTRING("x") , inWidth,false); - __result->Add(HX_CSTRING("y") , inHeight,false); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(88) - this->pumpEvent(_Function_1_1::Block(inWidth,inHeight)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ManagedStage_obj,resize,(void)) - -Void ManagedStage_obj::pumpEvent( Dynamic inEvent){ -{ - HX_STACK_PUSH("ManagedStage::pumpEvent","neash/display/ManagedStage.hx",82); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(82) - ::neash::display::ManagedStage_obj::nme_managed_stage_pump_event(this->nmeHandle,inEvent); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ManagedStage_obj,pumpEvent,(void)) - -Void ManagedStage_obj::nmeRender( bool inSendEnterFrame){ -{ - HX_STACK_PUSH("ManagedStage::nmeRender","neash/display/ManagedStage.hx",74); - HX_STACK_THIS(this); - HX_STACK_ARG(inSendEnterFrame,"inSendEnterFrame"); - HX_STACK_LINE(75) - this->beginRender(); - HX_STACK_LINE(76) - this->super::nmeRender(inSendEnterFrame); - HX_STACK_LINE(77) - this->endRender(); - } -return null(); -} - - -Float ManagedStage_obj::nmeDoProcessStageEvent( Dynamic inEvent){ - HX_STACK_PUSH("ManagedStage::nmeDoProcessStageEvent","neash/display/ManagedStage.hx",60); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(61) - this->nmePollTimers(); - HX_STACK_LINE(63) - Float wake = this->super::nmeDoProcessStageEvent(inEvent); HX_STACK_VAR(wake,"wake"); - HX_STACK_LINE(64) - this->setNextWake(wake); - HX_STACK_LINE(66) - return wake; -} - - -HX_BEGIN_DEFAULT_FUNC(__default_endRender,ManagedStage_obj) -Void run(){ -{ - HX_STACK_PUSH("ManagedStage::endRender","neash/display/ManagedStage.hx",54); - HX_STACK_THIS(this); - } -return null(); -} -HX_END_LOCAL_FUNC0((void)) -HX_END_DEFAULT_FUNC - -HX_BEGIN_DEFAULT_FUNC(__default_beginRender,ManagedStage_obj) -Void run(){ -{ - HX_STACK_PUSH("ManagedStage::beginRender","neash/display/ManagedStage.hx",48); - HX_STACK_THIS(this); - } -return null(); -} -HX_END_LOCAL_FUNC0((void)) -HX_END_DEFAULT_FUNC - -int ManagedStage_obj::etUnknown; - -int ManagedStage_obj::etKeyDown; - -int ManagedStage_obj::etChar; - -int ManagedStage_obj::etKeyUp; - -int ManagedStage_obj::etMouseMove; - -int ManagedStage_obj::etMouseDown; - -int ManagedStage_obj::etMouseClick; - -int ManagedStage_obj::etMouseUp; - -int ManagedStage_obj::etResize; - -int ManagedStage_obj::etPoll; - -int ManagedStage_obj::etQuit; - -int ManagedStage_obj::etFocus; - -int ManagedStage_obj::etShouldRotate; - -int ManagedStage_obj::etDestroyHandler; - -int ManagedStage_obj::etRedraw; - -int ManagedStage_obj::etTouchBegin; - -int ManagedStage_obj::etTouchMove; - -int ManagedStage_obj::etTouchEnd; - -int ManagedStage_obj::etTouchTap; - -int ManagedStage_obj::etChange; - -int ManagedStage_obj::efLeftDown; - -int ManagedStage_obj::efShiftDown; - -int ManagedStage_obj::efCtrlDown; - -int ManagedStage_obj::efAltDown; - -int ManagedStage_obj::efCommandDown; - -int ManagedStage_obj::efMiddleDown; - -int ManagedStage_obj::efRightDown; - -int ManagedStage_obj::efLocationRight; - -int ManagedStage_obj::efPrimaryTouch; - -Dynamic ManagedStage_obj::nme_managed_stage_create; - -Dynamic ManagedStage_obj::nme_managed_stage_pump_event; - - -ManagedStage_obj::ManagedStage_obj() -{ - setNextWake = new __default_setNextWake(this); - endRender = new __default_endRender(this); - beginRender = new __default_beginRender(this); -} - -void ManagedStage_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ManagedStage); - HX_MARK_MEMBER_NAME(setNextWake,"setNextWake"); - HX_MARK_MEMBER_NAME(endRender,"endRender"); - HX_MARK_MEMBER_NAME(beginRender,"beginRender"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ManagedStage_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(setNextWake,"setNextWake"); - HX_VISIT_MEMBER_NAME(endRender,"endRender"); - HX_VISIT_MEMBER_NAME(beginRender,"beginRender"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ManagedStage_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"etChar") ) { return etChar; } - if (HX_FIELD_EQ(inName,"etPoll") ) { return etPoll; } - if (HX_FIELD_EQ(inName,"etQuit") ) { return etQuit; } - if (HX_FIELD_EQ(inName,"resize") ) { return resize_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"etKeyUp") ) { return etKeyUp; } - if (HX_FIELD_EQ(inName,"etFocus") ) { return etFocus; } - break; - case 8: - if (HX_FIELD_EQ(inName,"etResize") ) { return etResize; } - if (HX_FIELD_EQ(inName,"etRedraw") ) { return etRedraw; } - if (HX_FIELD_EQ(inName,"etChange") ) { return etChange; } - if (HX_FIELD_EQ(inName,"sendQuit") ) { return sendQuit_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"etUnknown") ) { return etUnknown; } - if (HX_FIELD_EQ(inName,"etKeyDown") ) { return etKeyDown; } - if (HX_FIELD_EQ(inName,"etMouseUp") ) { return etMouseUp; } - if (HX_FIELD_EQ(inName,"efAltDown") ) { return efAltDown; } - if (HX_FIELD_EQ(inName,"pumpEvent") ) { return pumpEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeRender") ) { return nmeRender_dyn(); } - if (HX_FIELD_EQ(inName,"endRender") ) { return endRender; } - break; - case 10: - if (HX_FIELD_EQ(inName,"etTouchEnd") ) { return etTouchEnd; } - if (HX_FIELD_EQ(inName,"etTouchTap") ) { return etTouchTap; } - if (HX_FIELD_EQ(inName,"efLeftDown") ) { return efLeftDown; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { return efCtrlDown; } - break; - case 11: - if (HX_FIELD_EQ(inName,"etMouseMove") ) { return etMouseMove; } - if (HX_FIELD_EQ(inName,"etMouseDown") ) { return etMouseDown; } - if (HX_FIELD_EQ(inName,"etTouchMove") ) { return etTouchMove; } - if (HX_FIELD_EQ(inName,"efShiftDown") ) { return efShiftDown; } - if (HX_FIELD_EQ(inName,"efRightDown") ) { return efRightDown; } - if (HX_FIELD_EQ(inName,"setNextWake") ) { return setNextWake; } - if (HX_FIELD_EQ(inName,"beginRender") ) { return beginRender; } - break; - case 12: - if (HX_FIELD_EQ(inName,"etMouseClick") ) { return etMouseClick; } - if (HX_FIELD_EQ(inName,"etTouchBegin") ) { return etTouchBegin; } - if (HX_FIELD_EQ(inName,"efMiddleDown") ) { return efMiddleDown; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { return efCommandDown; } - break; - case 14: - if (HX_FIELD_EQ(inName,"etShouldRotate") ) { return etShouldRotate; } - if (HX_FIELD_EQ(inName,"efPrimaryTouch") ) { return efPrimaryTouch; } - break; - case 15: - if (HX_FIELD_EQ(inName,"efLocationRight") ) { return efLocationRight; } - break; - case 16: - if (HX_FIELD_EQ(inName,"etDestroyHandler") ) { return etDestroyHandler; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nmeDoProcessStageEvent") ) { return nmeDoProcessStageEvent_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_managed_stage_create") ) { return nme_managed_stage_create; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_managed_stage_pump_event") ) { return nme_managed_stage_pump_event; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ManagedStage_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"etChar") ) { etChar=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etPoll") ) { etPoll=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etQuit") ) { etQuit=inValue.Cast< int >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"etKeyUp") ) { etKeyUp=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etFocus") ) { etFocus=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"etResize") ) { etResize=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etRedraw") ) { etRedraw=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etChange") ) { etChange=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"etUnknown") ) { etUnknown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etKeyDown") ) { etKeyDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etMouseUp") ) { etMouseUp=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efAltDown") ) { efAltDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"endRender") ) { endRender=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"etTouchEnd") ) { etTouchEnd=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etTouchTap") ) { etTouchTap=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efLeftDown") ) { efLeftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { efCtrlDown=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"etMouseMove") ) { etMouseMove=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etMouseDown") ) { etMouseDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etTouchMove") ) { etTouchMove=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efShiftDown") ) { efShiftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efRightDown") ) { efRightDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"setNextWake") ) { setNextWake=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"beginRender") ) { beginRender=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"etMouseClick") ) { etMouseClick=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etTouchBegin") ) { etTouchBegin=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efMiddleDown") ) { efMiddleDown=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { efCommandDown=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"etShouldRotate") ) { etShouldRotate=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efPrimaryTouch") ) { efPrimaryTouch=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"efLocationRight") ) { efLocationRight=inValue.Cast< int >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"etDestroyHandler") ) { etDestroyHandler=inValue.Cast< int >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_managed_stage_create") ) { nme_managed_stage_create=inValue.Cast< Dynamic >(); return inValue; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_managed_stage_pump_event") ) { nme_managed_stage_pump_event=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ManagedStage_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("etUnknown"), - HX_CSTRING("etKeyDown"), - HX_CSTRING("etChar"), - HX_CSTRING("etKeyUp"), - HX_CSTRING("etMouseMove"), - HX_CSTRING("etMouseDown"), - HX_CSTRING("etMouseClick"), - HX_CSTRING("etMouseUp"), - HX_CSTRING("etResize"), - HX_CSTRING("etPoll"), - HX_CSTRING("etQuit"), - HX_CSTRING("etFocus"), - HX_CSTRING("etShouldRotate"), - HX_CSTRING("etDestroyHandler"), - HX_CSTRING("etRedraw"), - HX_CSTRING("etTouchBegin"), - HX_CSTRING("etTouchMove"), - HX_CSTRING("etTouchEnd"), - HX_CSTRING("etTouchTap"), - HX_CSTRING("etChange"), - HX_CSTRING("efLeftDown"), - HX_CSTRING("efShiftDown"), - HX_CSTRING("efCtrlDown"), - HX_CSTRING("efAltDown"), - HX_CSTRING("efCommandDown"), - HX_CSTRING("efMiddleDown"), - HX_CSTRING("efRightDown"), - HX_CSTRING("efLocationRight"), - HX_CSTRING("efPrimaryTouch"), - HX_CSTRING("nme_managed_stage_create"), - HX_CSTRING("nme_managed_stage_pump_event"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("setNextWake"), - HX_CSTRING("sendQuit"), - HX_CSTRING("resize"), - HX_CSTRING("pumpEvent"), - HX_CSTRING("nmeRender"), - HX_CSTRING("nmeDoProcessStageEvent"), - HX_CSTRING("endRender"), - HX_CSTRING("beginRender"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ManagedStage_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etUnknown,"etUnknown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etKeyDown,"etKeyDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etChar,"etChar"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etKeyUp,"etKeyUp"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etMouseMove,"etMouseMove"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etMouseDown,"etMouseDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etMouseClick,"etMouseClick"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etMouseUp,"etMouseUp"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etResize,"etResize"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etPoll,"etPoll"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etQuit,"etQuit"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etFocus,"etFocus"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etShouldRotate,"etShouldRotate"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etDestroyHandler,"etDestroyHandler"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etRedraw,"etRedraw"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etTouchBegin,"etTouchBegin"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etTouchMove,"etTouchMove"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etTouchEnd,"etTouchEnd"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etTouchTap,"etTouchTap"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etChange,"etChange"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efLeftDown,"efLeftDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efShiftDown,"efShiftDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efCtrlDown,"efCtrlDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efAltDown,"efAltDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efCommandDown,"efCommandDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efMiddleDown,"efMiddleDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efRightDown,"efRightDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efLocationRight,"efLocationRight"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efPrimaryTouch,"efPrimaryTouch"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::nme_managed_stage_create,"nme_managed_stage_create"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::nme_managed_stage_pump_event,"nme_managed_stage_pump_event"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ManagedStage_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etUnknown,"etUnknown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etKeyDown,"etKeyDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etChar,"etChar"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etKeyUp,"etKeyUp"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etMouseMove,"etMouseMove"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etMouseDown,"etMouseDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etMouseClick,"etMouseClick"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etMouseUp,"etMouseUp"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etResize,"etResize"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etPoll,"etPoll"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etQuit,"etQuit"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etFocus,"etFocus"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etShouldRotate,"etShouldRotate"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etDestroyHandler,"etDestroyHandler"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etRedraw,"etRedraw"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etTouchBegin,"etTouchBegin"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etTouchMove,"etTouchMove"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etTouchEnd,"etTouchEnd"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etTouchTap,"etTouchTap"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etChange,"etChange"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efLeftDown,"efLeftDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efShiftDown,"efShiftDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efCtrlDown,"efCtrlDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efAltDown,"efAltDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efCommandDown,"efCommandDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efMiddleDown,"efMiddleDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efRightDown,"efRightDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efLocationRight,"efLocationRight"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efPrimaryTouch,"efPrimaryTouch"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::nme_managed_stage_create,"nme_managed_stage_create"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::nme_managed_stage_pump_event,"nme_managed_stage_pump_event"); -}; - -Class ManagedStage_obj::__mClass; - -void ManagedStage_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.ManagedStage"), hx::TCanCast< ManagedStage_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ManagedStage_obj::__boot() -{ - etUnknown= (int)0; - etKeyDown= (int)1; - etChar= (int)2; - etKeyUp= (int)3; - etMouseMove= (int)4; - etMouseDown= (int)5; - etMouseClick= (int)6; - etMouseUp= (int)7; - etResize= (int)8; - etPoll= (int)9; - etQuit= (int)10; - etFocus= (int)11; - etShouldRotate= (int)12; - etDestroyHandler= (int)13; - etRedraw= (int)14; - etTouchBegin= (int)15; - etTouchMove= (int)16; - etTouchEnd= (int)17; - etTouchTap= (int)18; - etChange= (int)19; - efLeftDown= (int)1; - efShiftDown= (int)2; - efCtrlDown= (int)4; - efAltDown= (int)8; - efCommandDown= (int)16; - efMiddleDown= (int)32; - efRightDown= (int)64; - efLocationRight= (int)16384; - efPrimaryTouch= (int)32768; - nme_managed_stage_create= ::neash::Loader_obj::load(HX_CSTRING("nme_managed_stage_create"),(int)2); - nme_managed_stage_pump_event= ::neash::Loader_obj::load(HX_CSTRING("nme_managed_stage_pump_event"),(int)2); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/MovieClip.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/MovieClip.cpp deleted file mode 100644 index e4aa4e1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/MovieClip.cpp +++ /dev/null @@ -1,270 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_MovieClip -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace display{ - -Void MovieClip_obj::__construct() -{ -HX_STACK_PUSH("MovieClip::new","neash/display/MovieClip.hx",17); -{ - HX_STACK_LINE(18) - super::__construct(); - HX_STACK_LINE(19) - this->mCurrentFrame = (int)0; - HX_STACK_LINE(20) - this->mTotalFrames = (int)0; -} -; - return null(); -} - -MovieClip_obj::~MovieClip_obj() { } - -Dynamic MovieClip_obj::__CreateEmpty() { return new MovieClip_obj; } -hx::ObjectPtr< MovieClip_obj > MovieClip_obj::__new() -{ hx::ObjectPtr< MovieClip_obj > result = new MovieClip_obj(); - result->__construct(); - return result;} - -Dynamic MovieClip_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< MovieClip_obj > result = new MovieClip_obj(); - result->__construct(); - return result;} - -int MovieClip_obj::nmeGetTotalFrames( ){ - HX_STACK_PUSH("MovieClip::nmeGetTotalFrames","neash/display/MovieClip.hx",60); - HX_STACK_THIS(this); - HX_STACK_LINE(60) - return this->mTotalFrames; -} - - -HX_DEFINE_DYNAMIC_FUNC0(MovieClip_obj,nmeGetTotalFrames,return ) - -int MovieClip_obj::nmeGetCurrentFrame( ){ - HX_STACK_PUSH("MovieClip::nmeGetCurrentFrame","neash/display/MovieClip.hx",59); - HX_STACK_THIS(this); - HX_STACK_LINE(59) - return this->mCurrentFrame; -} - - -HX_DEFINE_DYNAMIC_FUNC0(MovieClip_obj,nmeGetCurrentFrame,return ) - -Void MovieClip_obj::stop( ){ -{ - HX_STACK_PUSH("MovieClip::stop","neash/display/MovieClip.hx",49); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(MovieClip_obj,stop,(void)) - -Void MovieClip_obj::play( ){ -{ - HX_STACK_PUSH("MovieClip::play","neash/display/MovieClip.hx",43); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(MovieClip_obj,play,(void)) - -::String MovieClip_obj::nmeGetType( ){ - HX_STACK_PUSH("MovieClip::nmeGetType","neash/display/MovieClip.hx",37); - HX_STACK_THIS(this); - HX_STACK_LINE(37) - return HX_CSTRING("MovieClip"); -} - - -Void MovieClip_obj::gotoAndStop( Dynamic frame,::String scene){ -{ - HX_STACK_PUSH("MovieClip::gotoAndStop","neash/display/MovieClip.hx",31); - HX_STACK_THIS(this); - HX_STACK_ARG(frame,"frame"); - HX_STACK_ARG(scene,"scene"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(MovieClip_obj,gotoAndStop,(void)) - -Void MovieClip_obj::gotoAndPlay( Dynamic frame,::String scene){ -{ - HX_STACK_PUSH("MovieClip::gotoAndPlay","neash/display/MovieClip.hx",25); - HX_STACK_THIS(this); - HX_STACK_ARG(frame,"frame"); - HX_STACK_ARG(scene,"scene"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(MovieClip_obj,gotoAndPlay,(void)) - - -MovieClip_obj::MovieClip_obj() -{ -} - -void MovieClip_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(MovieClip); - HX_MARK_MEMBER_NAME(mTotalFrames,"mTotalFrames"); - HX_MARK_MEMBER_NAME(mCurrentFrame,"mCurrentFrame"); - HX_MARK_MEMBER_NAME(totalFrames,"totalFrames"); - HX_MARK_MEMBER_NAME(framesLoaded,"framesLoaded"); - HX_MARK_MEMBER_NAME(enabled,"enabled"); - HX_MARK_MEMBER_NAME(currentFrame,"currentFrame"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void MovieClip_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mTotalFrames,"mTotalFrames"); - HX_VISIT_MEMBER_NAME(mCurrentFrame,"mCurrentFrame"); - HX_VISIT_MEMBER_NAME(totalFrames,"totalFrames"); - HX_VISIT_MEMBER_NAME(framesLoaded,"framesLoaded"); - HX_VISIT_MEMBER_NAME(enabled,"enabled"); - HX_VISIT_MEMBER_NAME(currentFrame,"currentFrame"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic MovieClip_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"stop") ) { return stop_dyn(); } - if (HX_FIELD_EQ(inName,"play") ) { return play_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"enabled") ) { return enabled; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeGetType") ) { return nmeGetType_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"gotoAndStop") ) { return gotoAndStop_dyn(); } - if (HX_FIELD_EQ(inName,"gotoAndPlay") ) { return gotoAndPlay_dyn(); } - if (HX_FIELD_EQ(inName,"totalFrames") ) { return inCallProp ? nmeGetTotalFrames() : totalFrames; } - break; - case 12: - if (HX_FIELD_EQ(inName,"mTotalFrames") ) { return mTotalFrames; } - if (HX_FIELD_EQ(inName,"framesLoaded") ) { return inCallProp ? nmeGetTotalFrames() : framesLoaded; } - if (HX_FIELD_EQ(inName,"currentFrame") ) { return inCallProp ? nmeGetCurrentFrame() : currentFrame; } - break; - case 13: - if (HX_FIELD_EQ(inName,"mCurrentFrame") ) { return mCurrentFrame; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeGetTotalFrames") ) { return nmeGetTotalFrames_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"nmeGetCurrentFrame") ) { return nmeGetCurrentFrame_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic MovieClip_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"enabled") ) { enabled=inValue.Cast< bool >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"totalFrames") ) { totalFrames=inValue.Cast< int >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"mTotalFrames") ) { mTotalFrames=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"framesLoaded") ) { framesLoaded=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"currentFrame") ) { currentFrame=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"mCurrentFrame") ) { mCurrentFrame=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void MovieClip_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mTotalFrames")); - outFields->push(HX_CSTRING("mCurrentFrame")); - outFields->push(HX_CSTRING("totalFrames")); - outFields->push(HX_CSTRING("framesLoaded")); - outFields->push(HX_CSTRING("enabled")); - outFields->push(HX_CSTRING("currentFrame")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetTotalFrames"), - HX_CSTRING("nmeGetCurrentFrame"), - HX_CSTRING("stop"), - HX_CSTRING("play"), - HX_CSTRING("nmeGetType"), - HX_CSTRING("gotoAndStop"), - HX_CSTRING("gotoAndPlay"), - HX_CSTRING("mTotalFrames"), - HX_CSTRING("mCurrentFrame"), - HX_CSTRING("totalFrames"), - HX_CSTRING("framesLoaded"), - HX_CSTRING("enabled"), - HX_CSTRING("currentFrame"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(MovieClip_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(MovieClip_obj::__mClass,"__mClass"); -}; - -Class MovieClip_obj::__mClass; - -void MovieClip_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.MovieClip"), hx::TCanCast< MovieClip_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void MovieClip_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/OptimizedPerlin.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/OptimizedPerlin.cpp deleted file mode 100644 index f7cf19f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/OptimizedPerlin.cpp +++ /dev/null @@ -1,594 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_OptimizedPerlin -#include -#endif -namespace neash{ -namespace display{ - -Void OptimizedPerlin_obj::__construct(hx::Null< int > __o_seed,hx::Null< int > __o_octaves,hx::Null< Float > __o_falloff) -{ -HX_STACK_PUSH("OptimizedPerlin::new","neash/display/BitmapData.hx",582); -int seed = __o_seed.Default(123); -int octaves = __o_octaves.Default(4); -Float falloff = __o_falloff.Default(0.5); -{ - HX_STACK_LINE(583) - this->baseFactor = 0.015625; - HX_STACK_LINE(584) - this->seedOffset(seed); - HX_STACK_LINE(585) - this->octFreqPers(falloff); -} -; - return null(); -} - -OptimizedPerlin_obj::~OptimizedPerlin_obj() { } - -Dynamic OptimizedPerlin_obj::__CreateEmpty() { return new OptimizedPerlin_obj; } -hx::ObjectPtr< OptimizedPerlin_obj > OptimizedPerlin_obj::__new(hx::Null< int > __o_seed,hx::Null< int > __o_octaves,hx::Null< Float > __o_falloff) -{ hx::ObjectPtr< OptimizedPerlin_obj > result = new OptimizedPerlin_obj(); - result->__construct(__o_seed,__o_octaves,__o_falloff); - return result;} - -Dynamic OptimizedPerlin_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< OptimizedPerlin_obj > result = new OptimizedPerlin_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -Void OptimizedPerlin_obj::seedOffset( int iSeed){ -{ - HX_STACK_PUSH("OptimizedPerlin::seedOffset","neash/display/BitmapData.hx",722); - HX_STACK_THIS(this); - HX_STACK_ARG(iSeed,"iSeed"); - HX_STACK_LINE(728) - this->iXoffset = iSeed = ::Std_obj::_int(hx::Mod((iSeed * 16807.),(int)2147483647)); - HX_STACK_LINE(729) - this->iYoffset = iSeed = ::Std_obj::_int(hx::Mod((iSeed * 16807.),(int)2147483647)); - HX_STACK_LINE(730) - this->iZoffset = iSeed = ::Std_obj::_int(hx::Mod((iSeed * 16807.),(int)2147483647)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(OptimizedPerlin_obj,seedOffset,(void)) - -Void OptimizedPerlin_obj::octFreqPers( Float fPersistence){ -{ - HX_STACK_PUSH("OptimizedPerlin::octFreqPers","neash/display/BitmapData.hx",703); - HX_STACK_THIS(this); - HX_STACK_ARG(fPersistence,"fPersistence"); - HX_STACK_LINE(704) - Float fFreq; HX_STACK_VAR(fFreq,"fFreq"); - Float fPers; HX_STACK_VAR(fPers,"fPers"); - HX_STACK_LINE(706) - this->aOctFreq = Array_obj< Float >::__new(); - HX_STACK_LINE(707) - this->aOctPers = Array_obj< Float >::__new(); - HX_STACK_LINE(708) - this->fPersMax = (int)0; - HX_STACK_LINE(710) - { - HX_STACK_LINE(710) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->octaves; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(710) - while(((_g1 < _g))){ - HX_STACK_LINE(710) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(711) - fFreq = ::Math_obj::pow((int)2,i); - HX_STACK_LINE(712) - fPers = ::Math_obj::pow(fPersistence,i); - HX_STACK_LINE(713) - hx::AddEq(this->fPersMax,fPers); - HX_STACK_LINE(714) - this->aOctFreq->push(fFreq); - HX_STACK_LINE(715) - this->aOctPers->push(fPers); - } - } - HX_STACK_LINE(718) - this->fPersMax = (Float((int)1) / Float(this->fPersMax)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(OptimizedPerlin_obj,octFreqPers,(void)) - -Void OptimizedPerlin_obj::fill( ::neash::display::BitmapData bitmap,Float _x,Float _y,Float _z,Dynamic _){ -{ - HX_STACK_PUSH("OptimizedPerlin::fill","neash/display/BitmapData.hx",590); - HX_STACK_THIS(this); - HX_STACK_ARG(bitmap,"bitmap"); - HX_STACK_ARG(_x,"_x"); - HX_STACK_ARG(_y,"_y"); - HX_STACK_ARG(_z,"_z"); - HX_STACK_ARG(_,"_"); - HX_STACK_LINE(591) - Float baseX; HX_STACK_VAR(baseX,"baseX"); - HX_STACK_LINE(593) - baseX = ((_x * this->baseFactor) + this->iXoffset); - HX_STACK_LINE(594) - _y = ((_y * this->baseFactor) + this->iYoffset); - HX_STACK_LINE(595) - _z = ((_z * this->baseFactor) + this->iZoffset); - HX_STACK_LINE(597) - int width = bitmap->nmeGetWidth(); HX_STACK_VAR(width,"width"); - HX_STACK_LINE(598) - int height = bitmap->nmeGetHeight(); HX_STACK_VAR(height,"height"); - HX_STACK_LINE(600) - Array< int > p = ::neash::display::OptimizedPerlin_obj::P; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(601) - int octaves = this->octaves; HX_STACK_VAR(octaves,"octaves"); - HX_STACK_LINE(602) - Array< Float > aOctFreq = this->aOctFreq; HX_STACK_VAR(aOctFreq,"aOctFreq"); - HX_STACK_LINE(603) - Array< Float > aOctPers = this->aOctPers; HX_STACK_VAR(aOctPers,"aOctPers"); - HX_STACK_LINE(605) - { - HX_STACK_LINE(605) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(605) - while(((_g < height))){ - HX_STACK_LINE(605) - int py = (_g)++; HX_STACK_VAR(py,"py"); - HX_STACK_LINE(607) - _x = baseX; - HX_STACK_LINE(609) - { - HX_STACK_LINE(609) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(609) - while(((_g1 < width))){ - HX_STACK_LINE(609) - int px = (_g1)++; HX_STACK_VAR(px,"px"); - HX_STACK_LINE(611) - Float s = 0.; HX_STACK_VAR(s,"s"); - HX_STACK_LINE(613) - { - HX_STACK_LINE(613) - int _g2 = (int)0; HX_STACK_VAR(_g2,"_g2"); - HX_STACK_LINE(613) - while(((_g2 < octaves))){ - HX_STACK_LINE(613) - int i = (_g2)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(615) - Float fFreq = aOctFreq->__get(i); HX_STACK_VAR(fFreq,"fFreq"); - HX_STACK_LINE(616) - Float fPers = aOctPers->__get(i); HX_STACK_VAR(fPers,"fPers"); - HX_STACK_LINE(618) - Float x = (_x * fFreq); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(619) - Float y = (_y * fFreq); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(620) - Float z = (_z * fFreq); HX_STACK_VAR(z,"z"); - HX_STACK_LINE(622) - Float xf = (x - hx::Mod(x,(int)1)); HX_STACK_VAR(xf,"xf"); - HX_STACK_LINE(623) - Float yf = (y - hx::Mod(y,(int)1)); HX_STACK_VAR(yf,"yf"); - HX_STACK_LINE(624) - Float zf = (z - hx::Mod(z,(int)1)); HX_STACK_VAR(zf,"zf"); - HX_STACK_LINE(626) - int X = (int(::Std_obj::_int(xf)) & int((int)255)); HX_STACK_VAR(X,"X"); - HX_STACK_LINE(627) - int Y = (int(::Std_obj::_int(yf)) & int((int)255)); HX_STACK_VAR(Y,"Y"); - HX_STACK_LINE(628) - int Z = (int(::Std_obj::_int(zf)) & int((int)255)); HX_STACK_VAR(Z,"Z"); - HX_STACK_LINE(630) - hx::SubEq(x,xf); - HX_STACK_LINE(631) - hx::SubEq(y,yf); - HX_STACK_LINE(632) - hx::SubEq(z,zf); - HX_STACK_LINE(634) - Float u = (((x * x) * x) * (((x * (((x * (int)6) - (int)15))) + (int)10))); HX_STACK_VAR(u,"u"); - HX_STACK_LINE(635) - Float v = (((y * y) * y) * (((y * (((y * (int)6) - (int)15))) + (int)10))); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(636) - Float w = (((z * z) * z) * (((z * (((z * (int)6) - (int)15))) + (int)10))); HX_STACK_VAR(w,"w"); - HX_STACK_LINE(638) - int A = (p->__get(X) + Y); HX_STACK_VAR(A,"A"); - HX_STACK_LINE(639) - int AA = (p->__get(A) + Z); HX_STACK_VAR(AA,"AA"); - HX_STACK_LINE(640) - int AB = (p->__get((A + (int)1)) + Z); HX_STACK_VAR(AB,"AB"); - HX_STACK_LINE(641) - int B = (p->__get((X + (int)1)) + Y); HX_STACK_VAR(B,"B"); - HX_STACK_LINE(642) - int BA = (p->__get(B) + Z); HX_STACK_VAR(BA,"BA"); - HX_STACK_LINE(643) - int BB = (p->__get((B + (int)1)) + Z); HX_STACK_VAR(BB,"BB"); - HX_STACK_LINE(645) - Float x1 = (x - (int)1); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(646) - Float y1 = (y - (int)1); HX_STACK_VAR(y1,"y1"); - HX_STACK_LINE(647) - Float z1 = (z - (int)1); HX_STACK_VAR(z1,"z1"); - HX_STACK_LINE(649) - int hash = (int(p->__get((BB + (int)1))) & int((int)15)); HX_STACK_VAR(hash,"hash"); - struct _Function_7_1{ - inline static Float Block( Float &y1,Float &x1,int &hash){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",650); - { - HX_STACK_LINE(650) - return ( (((hash < (int)8))) ? Float(x1) : Float(y1) ); - } - return null(); - } - }; - struct _Function_7_2{ - inline static Float Block( Float &y1,Float &x1,int &hash,Float &z1){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",650); - { - HX_STACK_LINE(650) - return ( (((hash < (int)4))) ? Float(y1) : Float(( (((hash == (int)12))) ? Float(x1) : Float(z1) )) ); - } - return null(); - } - }; - HX_STACK_LINE(650) - Float g1 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_1::Block(y1,x1,hash)) : Float(( (((hash < (int)8))) ? Float(-(x1)) : Float(-(y1)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_2::Block(y1,x1,hash,z1)) : Float(( (((hash < (int)4))) ? Float(-(y1)) : Float(( (((hash == (int)14))) ? Float(-(x1)) : Float(-(z1)) )) )) ))); HX_STACK_VAR(g1,"g1"); - HX_STACK_LINE(652) - hash = (int(p->__get((AB + (int)1))) & int((int)15)); - struct _Function_7_3{ - inline static Float Block( Float &y1,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",653); - { - HX_STACK_LINE(653) - return ( (((hash < (int)8))) ? Float(x) : Float(y1) ); - } - return null(); - } - }; - struct _Function_7_4{ - inline static Float Block( Float &y1,int &hash,Float &x,Float &z1){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",653); - { - HX_STACK_LINE(653) - return ( (((hash < (int)4))) ? Float(y1) : Float(( (((hash == (int)12))) ? Float(x) : Float(z1) )) ); - } - return null(); - } - }; - HX_STACK_LINE(653) - Float g2 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_3::Block(y1,hash,x)) : Float(( (((hash < (int)8))) ? Float(-(x)) : Float(-(y1)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_4::Block(y1,hash,x,z1)) : Float(( (((hash < (int)4))) ? Float(-(y1)) : Float(( (((hash == (int)14))) ? Float(-(x)) : Float(-(z1)) )) )) ))); HX_STACK_VAR(g2,"g2"); - HX_STACK_LINE(655) - hash = (int(p->__get((BA + (int)1))) & int((int)15)); - struct _Function_7_5{ - inline static Float Block( Float &x1,Float &y,int &hash){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",656); - { - HX_STACK_LINE(656) - return ( (((hash < (int)8))) ? Float(x1) : Float(y) ); - } - return null(); - } - }; - struct _Function_7_6{ - inline static Float Block( Float &y,Float &x1,int &hash,Float &z1){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",656); - { - HX_STACK_LINE(656) - return ( (((hash < (int)4))) ? Float(y) : Float(( (((hash == (int)12))) ? Float(x1) : Float(z1) )) ); - } - return null(); - } - }; - HX_STACK_LINE(656) - Float g3 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_5::Block(x1,y,hash)) : Float(( (((hash < (int)8))) ? Float(-(x1)) : Float(-(y)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_6::Block(y,x1,hash,z1)) : Float(( (((hash < (int)4))) ? Float(-(y)) : Float(( (((hash == (int)14))) ? Float(-(x1)) : Float(-(z1)) )) )) ))); HX_STACK_VAR(g3,"g3"); - HX_STACK_LINE(658) - hash = (int(p->__get((AA + (int)1))) & int((int)15)); - struct _Function_7_7{ - inline static Float Block( Float &y,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",659); - { - HX_STACK_LINE(659) - return ( (((hash < (int)8))) ? Float(x) : Float(y) ); - } - return null(); - } - }; - struct _Function_7_8{ - inline static Float Block( Float &y,int &hash,Float &x,Float &z1){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",659); - { - HX_STACK_LINE(659) - return ( (((hash < (int)4))) ? Float(y) : Float(( (((hash == (int)12))) ? Float(x) : Float(z1) )) ); - } - return null(); - } - }; - HX_STACK_LINE(659) - Float g4 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_7::Block(y,hash,x)) : Float(( (((hash < (int)8))) ? Float(-(x)) : Float(-(y)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_8::Block(y,hash,x,z1)) : Float(( (((hash < (int)4))) ? Float(-(y)) : Float(( (((hash == (int)14))) ? Float(-(x)) : Float(-(z1)) )) )) ))); HX_STACK_VAR(g4,"g4"); - HX_STACK_LINE(661) - hash = (int(p->__get(BB)) & int((int)15)); - struct _Function_7_9{ - inline static Float Block( Float &y1,Float &x1,int &hash){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",662); - { - HX_STACK_LINE(662) - return ( (((hash < (int)8))) ? Float(x1) : Float(y1) ); - } - return null(); - } - }; - struct _Function_7_10{ - inline static Float Block( Float &y1,Float &z,Float &x1,int &hash){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",662); - { - HX_STACK_LINE(662) - return ( (((hash < (int)4))) ? Float(y1) : Float(( (((hash == (int)12))) ? Float(x1) : Float(z) )) ); - } - return null(); - } - }; - HX_STACK_LINE(662) - Float g5 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_9::Block(y1,x1,hash)) : Float(( (((hash < (int)8))) ? Float(-(x1)) : Float(-(y1)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_10::Block(y1,z,x1,hash)) : Float(( (((hash < (int)4))) ? Float(-(y1)) : Float(( (((hash == (int)14))) ? Float(-(x1)) : Float(-(z)) )) )) ))); HX_STACK_VAR(g5,"g5"); - HX_STACK_LINE(664) - hash = (int(p->__get(AB)) & int((int)15)); - struct _Function_7_11{ - inline static Float Block( Float &y1,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",665); - { - HX_STACK_LINE(665) - return ( (((hash < (int)8))) ? Float(x) : Float(y1) ); - } - return null(); - } - }; - struct _Function_7_12{ - inline static Float Block( Float &y1,Float &z,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",665); - { - HX_STACK_LINE(665) - return ( (((hash < (int)4))) ? Float(y1) : Float(( (((hash == (int)12))) ? Float(x) : Float(z) )) ); - } - return null(); - } - }; - HX_STACK_LINE(665) - Float g6 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_11::Block(y1,hash,x)) : Float(( (((hash < (int)8))) ? Float(-(x)) : Float(-(y1)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_12::Block(y1,z,hash,x)) : Float(( (((hash < (int)4))) ? Float(-(y1)) : Float(( (((hash == (int)14))) ? Float(-(x)) : Float(-(z)) )) )) ))); HX_STACK_VAR(g6,"g6"); - HX_STACK_LINE(667) - hash = (int(p->__get(BA)) & int((int)15)); - struct _Function_7_13{ - inline static Float Block( Float &x1,Float &y,int &hash){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",668); - { - HX_STACK_LINE(668) - return ( (((hash < (int)8))) ? Float(x1) : Float(y) ); - } - return null(); - } - }; - struct _Function_7_14{ - inline static Float Block( Float &z,Float &y,Float &x1,int &hash){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",668); - { - HX_STACK_LINE(668) - return ( (((hash < (int)4))) ? Float(y) : Float(( (((hash == (int)12))) ? Float(x1) : Float(z) )) ); - } - return null(); - } - }; - HX_STACK_LINE(668) - Float g7 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_13::Block(x1,y,hash)) : Float(( (((hash < (int)8))) ? Float(-(x1)) : Float(-(y)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_14::Block(z,y,x1,hash)) : Float(( (((hash < (int)4))) ? Float(-(y)) : Float(( (((hash == (int)14))) ? Float(-(x1)) : Float(-(z)) )) )) ))); HX_STACK_VAR(g7,"g7"); - HX_STACK_LINE(670) - hash = (int(p->__get(AA)) & int((int)15)); - struct _Function_7_15{ - inline static Float Block( Float &y,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",671); - { - HX_STACK_LINE(671) - return ( (((hash < (int)8))) ? Float(x) : Float(y) ); - } - return null(); - } - }; - struct _Function_7_16{ - inline static Float Block( Float &z,Float &y,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",671); - { - HX_STACK_LINE(671) - return ( (((hash < (int)4))) ? Float(y) : Float(( (((hash == (int)12))) ? Float(x) : Float(z) )) ); - } - return null(); - } - }; - HX_STACK_LINE(671) - Float g8 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_15::Block(y,hash,x)) : Float(( (((hash < (int)8))) ? Float(-(x)) : Float(-(y)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_16::Block(z,y,hash,x)) : Float(( (((hash < (int)4))) ? Float(-(y)) : Float(( (((hash == (int)14))) ? Float(-(x)) : Float(-(z)) )) )) ))); HX_STACK_VAR(g8,"g8"); - HX_STACK_LINE(673) - hx::AddEq(g2,(u * ((g1 - g2)))); - HX_STACK_LINE(674) - hx::AddEq(g4,(u * ((g3 - g4)))); - HX_STACK_LINE(675) - hx::AddEq(g6,(u * ((g5 - g6)))); - HX_STACK_LINE(676) - hx::AddEq(g8,(u * ((g7 - g8)))); - HX_STACK_LINE(678) - hx::AddEq(g4,(v * ((g2 - g4)))); - HX_STACK_LINE(679) - hx::AddEq(g8,(v * ((g6 - g8)))); - HX_STACK_LINE(681) - hx::AddEq(s,(((g8 + (w * ((g4 - g8))))) * fPers)); - } - } - HX_STACK_LINE(684) - int color = ::Std_obj::_int(((((s * this->fPersMax) + (int)1)) * (int)128)); HX_STACK_VAR(color,"color"); - HX_STACK_LINE(689) - int pixel = (int((int((int((int)-16777216) | int((int(color) << int((int)16))))) | int((int(color) << int((int)8))))) | int(color)); HX_STACK_VAR(pixel,"pixel"); - HX_STACK_LINE(692) - bitmap->setPixel32(px,py,pixel); - HX_STACK_LINE(694) - hx::AddEq(_x,this->baseFactor); - } - } - HX_STACK_LINE(697) - hx::AddEq(_y,this->baseFactor); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(OptimizedPerlin_obj,fill,(void)) - -Array< int > OptimizedPerlin_obj::P; - - -OptimizedPerlin_obj::OptimizedPerlin_obj() -{ -} - -void OptimizedPerlin_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(OptimizedPerlin); - HX_MARK_MEMBER_NAME(baseFactor,"baseFactor"); - HX_MARK_MEMBER_NAME(iZoffset,"iZoffset"); - HX_MARK_MEMBER_NAME(iYoffset,"iYoffset"); - HX_MARK_MEMBER_NAME(iXoffset,"iXoffset"); - HX_MARK_MEMBER_NAME(fPersMax,"fPersMax"); - HX_MARK_MEMBER_NAME(aOctPers,"aOctPers"); - HX_MARK_MEMBER_NAME(aOctFreq,"aOctFreq"); - HX_MARK_MEMBER_NAME(octaves,"octaves"); - HX_MARK_END_CLASS(); -} - -void OptimizedPerlin_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(baseFactor,"baseFactor"); - HX_VISIT_MEMBER_NAME(iZoffset,"iZoffset"); - HX_VISIT_MEMBER_NAME(iYoffset,"iYoffset"); - HX_VISIT_MEMBER_NAME(iXoffset,"iXoffset"); - HX_VISIT_MEMBER_NAME(fPersMax,"fPersMax"); - HX_VISIT_MEMBER_NAME(aOctPers,"aOctPers"); - HX_VISIT_MEMBER_NAME(aOctFreq,"aOctFreq"); - HX_VISIT_MEMBER_NAME(octaves,"octaves"); -} - -Dynamic OptimizedPerlin_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"P") ) { return P; } - break; - case 4: - if (HX_FIELD_EQ(inName,"fill") ) { return fill_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"octaves") ) { return octaves; } - break; - case 8: - if (HX_FIELD_EQ(inName,"iZoffset") ) { return iZoffset; } - if (HX_FIELD_EQ(inName,"iYoffset") ) { return iYoffset; } - if (HX_FIELD_EQ(inName,"iXoffset") ) { return iXoffset; } - if (HX_FIELD_EQ(inName,"fPersMax") ) { return fPersMax; } - if (HX_FIELD_EQ(inName,"aOctPers") ) { return aOctPers; } - if (HX_FIELD_EQ(inName,"aOctFreq") ) { return aOctFreq; } - break; - case 10: - if (HX_FIELD_EQ(inName,"seedOffset") ) { return seedOffset_dyn(); } - if (HX_FIELD_EQ(inName,"baseFactor") ) { return baseFactor; } - break; - case 11: - if (HX_FIELD_EQ(inName,"octFreqPers") ) { return octFreqPers_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic OptimizedPerlin_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"P") ) { P=inValue.Cast< Array< int > >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"octaves") ) { octaves=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"iZoffset") ) { iZoffset=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"iYoffset") ) { iYoffset=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"iXoffset") ) { iXoffset=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"fPersMax") ) { fPersMax=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"aOctPers") ) { aOctPers=inValue.Cast< Array< Float > >(); return inValue; } - if (HX_FIELD_EQ(inName,"aOctFreq") ) { aOctFreq=inValue.Cast< Array< Float > >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"baseFactor") ) { baseFactor=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void OptimizedPerlin_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("baseFactor")); - outFields->push(HX_CSTRING("iZoffset")); - outFields->push(HX_CSTRING("iYoffset")); - outFields->push(HX_CSTRING("iXoffset")); - outFields->push(HX_CSTRING("fPersMax")); - outFields->push(HX_CSTRING("aOctPers")); - outFields->push(HX_CSTRING("aOctFreq")); - outFields->push(HX_CSTRING("octaves")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("P"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("seedOffset"), - HX_CSTRING("octFreqPers"), - HX_CSTRING("fill"), - HX_CSTRING("baseFactor"), - HX_CSTRING("iZoffset"), - HX_CSTRING("iYoffset"), - HX_CSTRING("iXoffset"), - HX_CSTRING("fPersMax"), - HX_CSTRING("aOctPers"), - HX_CSTRING("aOctFreq"), - HX_CSTRING("octaves"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(OptimizedPerlin_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(OptimizedPerlin_obj::P,"P"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(OptimizedPerlin_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(OptimizedPerlin_obj::P,"P"); -}; - -Class OptimizedPerlin_obj::__mClass; - -void OptimizedPerlin_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.OptimizedPerlin"), hx::TCanCast< OptimizedPerlin_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void OptimizedPerlin_obj::__boot() -{ - P= Array_obj< int >::__new().Add((int)151).Add((int)160).Add((int)137).Add((int)91).Add((int)90).Add((int)15).Add((int)131).Add((int)13).Add((int)201).Add((int)95).Add((int)96).Add((int)53).Add((int)194).Add((int)233).Add((int)7).Add((int)225).Add((int)140).Add((int)36).Add((int)103).Add((int)30).Add((int)69).Add((int)142).Add((int)8).Add((int)99).Add((int)37).Add((int)240).Add((int)21).Add((int)10).Add((int)23).Add((int)190).Add((int)6).Add((int)148).Add((int)247).Add((int)120).Add((int)234).Add((int)75).Add((int)0).Add((int)26).Add((int)197).Add((int)62).Add((int)94).Add((int)252).Add((int)219).Add((int)203).Add((int)117).Add((int)35).Add((int)11).Add((int)32).Add((int)57).Add((int)177).Add((int)33).Add((int)88).Add((int)237).Add((int)149).Add((int)56).Add((int)87).Add((int)174).Add((int)20).Add((int)125).Add((int)136).Add((int)171).Add((int)168).Add((int)68).Add((int)175).Add((int)74).Add((int)165).Add((int)71).Add((int)134).Add((int)139).Add((int)48).Add((int)27).Add((int)166).Add((int)77).Add((int)146).Add((int)158).Add((int)231).Add((int)83).Add((int)111).Add((int)229).Add((int)122).Add((int)60).Add((int)211).Add((int)133).Add((int)230).Add((int)220).Add((int)105).Add((int)92).Add((int)41).Add((int)55).Add((int)46).Add((int)245).Add((int)40).Add((int)244).Add((int)102).Add((int)143).Add((int)54).Add((int)65).Add((int)25).Add((int)63).Add((int)161).Add((int)1).Add((int)216).Add((int)80).Add((int)73).Add((int)209).Add((int)76).Add((int)132).Add((int)187).Add((int)208).Add((int)89).Add((int)18).Add((int)169).Add((int)200).Add((int)196).Add((int)135).Add((int)130).Add((int)116).Add((int)188).Add((int)159).Add((int)86).Add((int)164).Add((int)100).Add((int)109).Add((int)198).Add((int)173).Add((int)186).Add((int)3).Add((int)64).Add((int)52).Add((int)217).Add((int)226).Add((int)250).Add((int)124).Add((int)123).Add((int)5).Add((int)202).Add((int)38).Add((int)147).Add((int)118).Add((int)126).Add((int)255).Add((int)82).Add((int)85).Add((int)212).Add((int)207).Add((int)206).Add((int)59).Add((int)227).Add((int)47).Add((int)16).Add((int)58).Add((int)17).Add((int)182).Add((int)189).Add((int)28).Add((int)42).Add((int)223).Add((int)183).Add((int)170).Add((int)213).Add((int)119).Add((int)248).Add((int)152).Add((int)2).Add((int)44).Add((int)154).Add((int)163).Add((int)70).Add((int)221).Add((int)153).Add((int)101).Add((int)155).Add((int)167).Add((int)43).Add((int)172).Add((int)9).Add((int)129).Add((int)22).Add((int)39).Add((int)253).Add((int)19).Add((int)98).Add((int)108).Add((int)110).Add((int)79).Add((int)113).Add((int)224).Add((int)232).Add((int)178).Add((int)185).Add((int)112).Add((int)104).Add((int)218).Add((int)246).Add((int)97).Add((int)228).Add((int)251).Add((int)34).Add((int)242).Add((int)193).Add((int)238).Add((int)210).Add((int)144).Add((int)12).Add((int)191).Add((int)179).Add((int)162).Add((int)241).Add((int)81).Add((int)51).Add((int)145).Add((int)235).Add((int)249).Add((int)14).Add((int)239).Add((int)107).Add((int)49).Add((int)192).Add((int)214).Add((int)31).Add((int)181).Add((int)199).Add((int)106).Add((int)157).Add((int)184).Add((int)84).Add((int)204).Add((int)176).Add((int)115).Add((int)121).Add((int)50).Add((int)45).Add((int)127).Add((int)4).Add((int)150).Add((int)254).Add((int)138).Add((int)236).Add((int)205).Add((int)93).Add((int)222).Add((int)114).Add((int)67).Add((int)29).Add((int)24).Add((int)72).Add((int)243).Add((int)141).Add((int)128).Add((int)195).Add((int)78).Add((int)66).Add((int)215).Add((int)61).Add((int)156).Add((int)180).Add((int)151).Add((int)160).Add((int)137).Add((int)91).Add((int)90).Add((int)15).Add((int)131).Add((int)13).Add((int)201).Add((int)95).Add((int)96).Add((int)53).Add((int)194).Add((int)233).Add((int)7).Add((int)225).Add((int)140).Add((int)36).Add((int)103).Add((int)30).Add((int)69).Add((int)142).Add((int)8).Add((int)99).Add((int)37).Add((int)240).Add((int)21).Add((int)10).Add((int)23).Add((int)190).Add((int)6).Add((int)148).Add((int)247).Add((int)120).Add((int)234).Add((int)75).Add((int)0).Add((int)26).Add((int)197).Add((int)62).Add((int)94).Add((int)252).Add((int)219).Add((int)203).Add((int)117).Add((int)35).Add((int)11).Add((int)32).Add((int)57).Add((int)177).Add((int)33).Add((int)88).Add((int)237).Add((int)149).Add((int)56).Add((int)87).Add((int)174).Add((int)20).Add((int)125).Add((int)136).Add((int)171).Add((int)168).Add((int)68).Add((int)175).Add((int)74).Add((int)165).Add((int)71).Add((int)134).Add((int)139).Add((int)48).Add((int)27).Add((int)166).Add((int)77).Add((int)146).Add((int)158).Add((int)231).Add((int)83).Add((int)111).Add((int)229).Add((int)122).Add((int)60).Add((int)211).Add((int)133).Add((int)230).Add((int)220).Add((int)105).Add((int)92).Add((int)41).Add((int)55).Add((int)46).Add((int)245).Add((int)40).Add((int)244).Add((int)102).Add((int)143).Add((int)54).Add((int)65).Add((int)25).Add((int)63).Add((int)161).Add((int)1).Add((int)216).Add((int)80).Add((int)73).Add((int)209).Add((int)76).Add((int)132).Add((int)187).Add((int)208).Add((int)89).Add((int)18).Add((int)169).Add((int)200).Add((int)196).Add((int)135).Add((int)130).Add((int)116).Add((int)188).Add((int)159).Add((int)86).Add((int)164).Add((int)100).Add((int)109).Add((int)198).Add((int)173).Add((int)186).Add((int)3).Add((int)64).Add((int)52).Add((int)217).Add((int)226).Add((int)250).Add((int)124).Add((int)123).Add((int)5).Add((int)202).Add((int)38).Add((int)147).Add((int)118).Add((int)126).Add((int)255).Add((int)82).Add((int)85).Add((int)212).Add((int)207).Add((int)206).Add((int)59).Add((int)227).Add((int)47).Add((int)16).Add((int)58).Add((int)17).Add((int)182).Add((int)189).Add((int)28).Add((int)42).Add((int)223).Add((int)183).Add((int)170).Add((int)213).Add((int)119).Add((int)248).Add((int)152).Add((int)2).Add((int)44).Add((int)154).Add((int)163).Add((int)70).Add((int)221).Add((int)153).Add((int)101).Add((int)155).Add((int)167).Add((int)43).Add((int)172).Add((int)9).Add((int)129).Add((int)22).Add((int)39).Add((int)253).Add((int)19).Add((int)98).Add((int)108).Add((int)110).Add((int)79).Add((int)113).Add((int)224).Add((int)232).Add((int)178).Add((int)185).Add((int)112).Add((int)104).Add((int)218).Add((int)246).Add((int)97).Add((int)228).Add((int)251).Add((int)34).Add((int)242).Add((int)193).Add((int)238).Add((int)210).Add((int)144).Add((int)12).Add((int)191).Add((int)179).Add((int)162).Add((int)241).Add((int)81).Add((int)51).Add((int)145).Add((int)235).Add((int)249).Add((int)14).Add((int)239).Add((int)107).Add((int)49).Add((int)192).Add((int)214).Add((int)31).Add((int)181).Add((int)199).Add((int)106).Add((int)157).Add((int)184).Add((int)84).Add((int)204).Add((int)176).Add((int)115).Add((int)121).Add((int)50).Add((int)45).Add((int)127).Add((int)4).Add((int)150).Add((int)254).Add((int)138).Add((int)236).Add((int)205).Add((int)93).Add((int)222).Add((int)114).Add((int)67).Add((int)29).Add((int)24).Add((int)72).Add((int)243).Add((int)141).Add((int)128).Add((int)195).Add((int)78).Add((int)66).Add((int)215).Add((int)61).Add((int)156).Add((int)180); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/PixelSnapping.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/PixelSnapping.cpp deleted file mode 100644 index 6c2aa2d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/PixelSnapping.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_PixelSnapping -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::PixelSnapping PixelSnapping_obj::ALWAYS; - -::neash::display::PixelSnapping PixelSnapping_obj::AUTO; - -::neash::display::PixelSnapping PixelSnapping_obj::NEVER; - -HX_DEFINE_CREATE_ENUM(PixelSnapping_obj) - -int PixelSnapping_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("ALWAYS")) return 2; - if (inName==HX_CSTRING("AUTO")) return 1; - if (inName==HX_CSTRING("NEVER")) return 0; - return super::__FindIndex(inName); -} - -int PixelSnapping_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("ALWAYS")) return 0; - if (inName==HX_CSTRING("AUTO")) return 0; - if (inName==HX_CSTRING("NEVER")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic PixelSnapping_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("ALWAYS")) return ALWAYS; - if (inName==HX_CSTRING("AUTO")) return AUTO; - if (inName==HX_CSTRING("NEVER")) return NEVER; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NEVER"), - HX_CSTRING("AUTO"), - HX_CSTRING("ALWAYS"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PixelSnapping_obj::ALWAYS,"ALWAYS"); - HX_MARK_MEMBER_NAME(PixelSnapping_obj::AUTO,"AUTO"); - HX_MARK_MEMBER_NAME(PixelSnapping_obj::NEVER,"NEVER"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PixelSnapping_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(PixelSnapping_obj::ALWAYS,"ALWAYS"); - HX_VISIT_MEMBER_NAME(PixelSnapping_obj::AUTO,"AUTO"); - HX_VISIT_MEMBER_NAME(PixelSnapping_obj::NEVER,"NEVER"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class PixelSnapping_obj::__mClass; - -Dynamic __Create_PixelSnapping_obj() { return new PixelSnapping_obj; } - -void PixelSnapping_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.PixelSnapping"), hx::TCanCast< PixelSnapping_obj >,sStaticFields,sMemberFields, - &__Create_PixelSnapping_obj, &__Create, - &super::__SGetClass(), &CreatePixelSnapping_obj, sMarkStatics, sVisitStatic); -} - -void PixelSnapping_obj::__boot() -{ -Static(ALWAYS) = hx::CreateEnum< PixelSnapping_obj >(HX_CSTRING("ALWAYS"),2); -Static(AUTO) = hx::CreateEnum< PixelSnapping_obj >(HX_CSTRING("AUTO"),1); -Static(NEVER) = hx::CreateEnum< PixelSnapping_obj >(HX_CSTRING("NEVER"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/Shape.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/Shape.cpp deleted file mode 100644 index 0c30799..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/Shape.cpp +++ /dev/null @@ -1,105 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_Shape -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace display{ - -Void Shape_obj::__construct() -{ -HX_STACK_PUSH("Shape::new","neash/display/Shape.hx",8); -{ - HX_STACK_LINE(8) - super::__construct(::neash::display::DisplayObject_obj::nme_create_display_object(),HX_CSTRING("Shape")); -} -; - return null(); -} - -Shape_obj::~Shape_obj() { } - -Dynamic Shape_obj::__CreateEmpty() { return new Shape_obj; } -hx::ObjectPtr< Shape_obj > Shape_obj::__new() -{ hx::ObjectPtr< Shape_obj > result = new Shape_obj(); - result->__construct(); - return result;} - -Dynamic Shape_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Shape_obj > result = new Shape_obj(); - result->__construct(); - return result;} - - -Shape_obj::Shape_obj() -{ -} - -void Shape_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Shape); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Shape_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Shape_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic Shape_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Shape_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Shape_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Shape_obj::__mClass,"__mClass"); -}; - -Class Shape_obj::__mClass; - -void Shape_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.Shape"), hx::TCanCast< Shape_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Shape_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/SpreadMethod.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/SpreadMethod.cpp deleted file mode 100644 index 2215363..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/SpreadMethod.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_SpreadMethod -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::SpreadMethod SpreadMethod_obj::PAD; - -::neash::display::SpreadMethod SpreadMethod_obj::REFLECT; - -::neash::display::SpreadMethod SpreadMethod_obj::REPEAT; - -HX_DEFINE_CREATE_ENUM(SpreadMethod_obj) - -int SpreadMethod_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("PAD")) return 0; - if (inName==HX_CSTRING("REFLECT")) return 2; - if (inName==HX_CSTRING("REPEAT")) return 1; - return super::__FindIndex(inName); -} - -int SpreadMethod_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("PAD")) return 0; - if (inName==HX_CSTRING("REFLECT")) return 0; - if (inName==HX_CSTRING("REPEAT")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic SpreadMethod_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("PAD")) return PAD; - if (inName==HX_CSTRING("REFLECT")) return REFLECT; - if (inName==HX_CSTRING("REPEAT")) return REPEAT; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("PAD"), - HX_CSTRING("REPEAT"), - HX_CSTRING("REFLECT"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SpreadMethod_obj::PAD,"PAD"); - HX_MARK_MEMBER_NAME(SpreadMethod_obj::REFLECT,"REFLECT"); - HX_MARK_MEMBER_NAME(SpreadMethod_obj::REPEAT,"REPEAT"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SpreadMethod_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(SpreadMethod_obj::PAD,"PAD"); - HX_VISIT_MEMBER_NAME(SpreadMethod_obj::REFLECT,"REFLECT"); - HX_VISIT_MEMBER_NAME(SpreadMethod_obj::REPEAT,"REPEAT"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class SpreadMethod_obj::__mClass; - -Dynamic __Create_SpreadMethod_obj() { return new SpreadMethod_obj; } - -void SpreadMethod_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.SpreadMethod"), hx::TCanCast< SpreadMethod_obj >,sStaticFields,sMemberFields, - &__Create_SpreadMethod_obj, &__Create, - &super::__SGetClass(), &CreateSpreadMethod_obj, sMarkStatics, sVisitStatic); -} - -void SpreadMethod_obj::__boot() -{ -Static(PAD) = hx::CreateEnum< SpreadMethod_obj >(HX_CSTRING("PAD"),0); -Static(REFLECT) = hx::CreateEnum< SpreadMethod_obj >(HX_CSTRING("REFLECT"),2); -Static(REPEAT) = hx::CreateEnum< SpreadMethod_obj >(HX_CSTRING("REPEAT"),1); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/Sprite.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/Sprite.cpp deleted file mode 100644 index 736ce6d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/Sprite.cpp +++ /dev/null @@ -1,201 +0,0 @@ -#include - -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -namespace neash{ -namespace display{ - -Void Sprite_obj::__construct() -{ -HX_STACK_PUSH("Sprite::new","neash/display/Sprite.hx",18); -{ - HX_STACK_LINE(18) - super::__construct(::neash::display::DisplayObjectContainer_obj::nme_create_display_object_container(),this->nmeGetType()); -} -; - return null(); -} - -Sprite_obj::~Sprite_obj() { } - -Dynamic Sprite_obj::__CreateEmpty() { return new Sprite_obj; } -hx::ObjectPtr< Sprite_obj > Sprite_obj::__new() -{ hx::ObjectPtr< Sprite_obj > result = new Sprite_obj(); - result->__construct(); - return result;} - -Dynamic Sprite_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Sprite_obj > result = new Sprite_obj(); - result->__construct(); - return result;} - -Void Sprite_obj::stopDrag( ){ -{ - HX_STACK_PUSH("Sprite::stopDrag","neash/display/Sprite.hx",39); - HX_STACK_THIS(this); - HX_STACK_LINE(39) - if (((this->nmeGetStage() != null()))){ - HX_STACK_LINE(41) - this->nmeGetStage()->nmeStopDrag(hx::ObjectPtr(this)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sprite_obj,stopDrag,(void)) - -Void Sprite_obj::startDrag( hx::Null< bool > __o_lockCenter,::neash::geom::Rectangle bounds){ -bool lockCenter = __o_lockCenter.Default(false); - HX_STACK_PUSH("Sprite::startDrag","neash/display/Sprite.hx",32); - HX_STACK_THIS(this); - HX_STACK_ARG(lockCenter,"lockCenter"); - HX_STACK_ARG(bounds,"bounds"); -{ - HX_STACK_LINE(32) - if (((this->nmeGetStage() != null()))){ - HX_STACK_LINE(34) - this->nmeGetStage()->nmeStartDrag(hx::ObjectPtr(this),lockCenter,bounds); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Sprite_obj,startDrag,(void)) - -::String Sprite_obj::nmeGetType( ){ - HX_STACK_PUSH("Sprite::nmeGetType","neash/display/Sprite.hx",24); - HX_STACK_THIS(this); - HX_STACK_LINE(25) - ::String type = ::Type_obj::getClassName(::Type_obj::getClass(hx::ObjectPtr(this))); HX_STACK_VAR(type,"type"); - HX_STACK_LINE(26) - int pos = type.lastIndexOf(HX_CSTRING("."),null()); HX_STACK_VAR(pos,"pos"); - HX_STACK_LINE(27) - return ( (((pos >= (int)0))) ? ::String(type.substr((pos + (int)1),null())) : ::String(type) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sprite_obj,nmeGetType,return ) - - -Sprite_obj::Sprite_obj() -{ -} - -void Sprite_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Sprite); - HX_MARK_MEMBER_NAME(useHandCursor,"useHandCursor"); - HX_MARK_MEMBER_NAME(buttonMode,"buttonMode"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Sprite_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(useHandCursor,"useHandCursor"); - HX_VISIT_MEMBER_NAME(buttonMode,"buttonMode"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Sprite_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"stopDrag") ) { return stopDrag_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"startDrag") ) { return startDrag_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeGetType") ) { return nmeGetType_dyn(); } - if (HX_FIELD_EQ(inName,"buttonMode") ) { return buttonMode; } - break; - case 13: - if (HX_FIELD_EQ(inName,"useHandCursor") ) { return useHandCursor; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Sprite_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"buttonMode") ) { buttonMode=inValue.Cast< bool >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"useHandCursor") ) { useHandCursor=inValue.Cast< bool >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Sprite_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("useHandCursor")); - outFields->push(HX_CSTRING("buttonMode")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("stopDrag"), - HX_CSTRING("startDrag"), - HX_CSTRING("nmeGetType"), - HX_CSTRING("useHandCursor"), - HX_CSTRING("buttonMode"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Sprite_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Sprite_obj::__mClass,"__mClass"); -}; - -Class Sprite_obj::__mClass; - -void Sprite_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.Sprite"), hx::TCanCast< Sprite_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Sprite_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/Stage.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/Stage.cpp deleted file mode 100644 index d924ef8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/Stage.cpp +++ /dev/null @@ -1,2276 +0,0 @@ -#include - -#ifndef INCLUDED_IntHash -#include -#endif -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_Timer -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_display_StageAlign -#include -#endif -#ifndef INCLUDED_neash_display_StageDisplayState -#include -#endif -#ifndef INCLUDED_neash_display_StageQuality -#include -#endif -#ifndef INCLUDED_neash_display_StageScaleMode -#include -#endif -#ifndef INCLUDED_neash_display_TouchInfo -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_FocusEvent -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_JoystickEvent -#include -#endif -#ifndef INCLUDED_neash_events_KeyboardEvent -#include -#endif -#ifndef INCLUDED_neash_events_MouseEvent -#include -#endif -#ifndef INCLUDED_neash_events_TouchEvent -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -#ifndef INCLUDED_neash_media_SoundChannel -#include -#endif -#ifndef INCLUDED_neash_net_URLLoader -#include -#endif -namespace neash{ -namespace display{ - -Void Stage_obj::__construct(Dynamic inHandle,int inWidth,int inHeight) -{ -HX_STACK_PUSH("Stage::new","neash/display/Stage.hx",85); -{ - HX_STACK_LINE(86) - super::__construct(inHandle,HX_CSTRING("Stage")); - HX_STACK_LINE(87) - this->nmeMouseOverObjects = Array_obj< ::neash::display::InteractiveObject >::__new(); - HX_STACK_LINE(88) - this->nmeFocusOverObjects = Array_obj< ::neash::display::InteractiveObject >::__new(); - HX_STACK_LINE(89) - this->active = true; - HX_STACK_LINE(90) - this->pauseWhenDeactivated = true; - HX_STACK_LINE(95) - this->renderRequest = null(); - HX_STACK_LINE(98) - ::neash::display::Stage_obj::nme_set_stage_handler(this->nmeHandle,this->nmeProcessStageEvent_dyn(),inWidth,inHeight); - HX_STACK_LINE(99) - this->nmeInvalid = false; - HX_STACK_LINE(100) - this->nmeLastRender = (int)0; - HX_STACK_LINE(101) - this->nmeLastDown = Array_obj< ::neash::display::InteractiveObject >::__new(); - HX_STACK_LINE(102) - this->nmeLastClickTime = 0.0; - HX_STACK_LINE(103) - this->nmeSetFrameRate((int)100); - HX_STACK_LINE(104) - this->nmeTouchInfo = ::IntHash_obj::__new(); - HX_STACK_LINE(105) - this->nmeJoyAxisData = ::IntHash_obj::__new(); -} -; - return null(); -} - -Stage_obj::~Stage_obj() { } - -Dynamic Stage_obj::__CreateEmpty() { return new Stage_obj; } -hx::ObjectPtr< Stage_obj > Stage_obj::__new(Dynamic inHandle,int inWidth,int inHeight) -{ hx::ObjectPtr< Stage_obj > result = new Stage_obj(); - result->__construct(inHandle,inWidth,inHeight); - return result;} - -Dynamic Stage_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Stage_obj > result = new Stage_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -int Stage_obj::nmeGetStageWidth( ){ - HX_STACK_PUSH("Stage::nmeGetStageWidth","neash/display/Stage.hx",873); - HX_STACK_THIS(this); - HX_STACK_LINE(873) - return ::Std_obj::_int(hx::TCast< Float >::cast(::neash::display::Stage_obj::nme_stage_get_stage_width(this->nmeHandle))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetStageWidth,return ) - -int Stage_obj::nmeGetStageHeight( ){ - HX_STACK_PUSH("Stage::nmeGetStageHeight","neash/display/Stage.hx",867); - HX_STACK_THIS(this); - HX_STACK_LINE(867) - return ::Std_obj::_int(hx::TCast< Float >::cast(::neash::display::Stage_obj::nme_stage_get_stage_height(this->nmeHandle))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetStageHeight,return ) - -bool Stage_obj::nmeSetStageFocusRect( bool inVal){ - HX_STACK_PUSH("Stage::nmeSetStageFocusRect","neash/display/Stage.hx",860); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(861) - ::neash::display::Stage_obj::nme_stage_set_focus_rect(this->nmeHandle,inVal); - HX_STACK_LINE(862) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetStageFocusRect,return ) - -bool Stage_obj::nmeGetStageFocusRect( ){ - HX_STACK_PUSH("Stage::nmeGetStageFocusRect","neash/display/Stage.hx",858); - HX_STACK_THIS(this); - HX_STACK_LINE(858) - return ::neash::display::Stage_obj::nme_stage_get_focus_rect(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetStageFocusRect,return ) - -::neash::display::StageScaleMode Stage_obj::nmeSetScaleMode( ::neash::display::StageScaleMode inMode){ - HX_STACK_PUSH("Stage::nmeSetScaleMode","neash/display/Stage.hx",852); - HX_STACK_THIS(this); - HX_STACK_ARG(inMode,"inMode"); - HX_STACK_LINE(853) - ::neash::display::Stage_obj::nme_stage_set_scale_mode(this->nmeHandle,inMode->__Index()); - HX_STACK_LINE(854) - return inMode; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetScaleMode,return ) - -::neash::display::StageScaleMode Stage_obj::nmeGetScaleMode( ){ - HX_STACK_PUSH("Stage::nmeGetScaleMode","neash/display/Stage.hx",845); - HX_STACK_THIS(this); - HX_STACK_LINE(846) - int i = ::neash::display::Stage_obj::nme_stage_get_scale_mode(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(847) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::StageScaleMode >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetScaleMode,return ) - -::neash::display::StageQuality Stage_obj::nmeSetQuality( ::neash::display::StageQuality inQuality){ - HX_STACK_PUSH("Stage::nmeSetQuality","neash/display/Stage.hx",838); - HX_STACK_THIS(this); - HX_STACK_ARG(inQuality,"inQuality"); - HX_STACK_LINE(839) - ::neash::display::Stage_obj::nme_stage_set_quality(this->nmeHandle,inQuality->__Index()); - HX_STACK_LINE(840) - return inQuality; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetQuality,return ) - -::neash::display::StageQuality Stage_obj::nmeGetQuality( ){ - HX_STACK_PUSH("Stage::nmeGetQuality","neash/display/Stage.hx",831); - HX_STACK_THIS(this); - HX_STACK_LINE(832) - int i = ::neash::display::Stage_obj::nme_stage_get_quality(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(833) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::StageQuality >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetQuality,return ) - -bool Stage_obj::nmeIsOpenGL( ){ - HX_STACK_PUSH("Stage::nmeIsOpenGL","neash/display/Stage.hx",825); - HX_STACK_THIS(this); - HX_STACK_LINE(825) - return ::neash::display::Stage_obj::nme_stage_is_opengl(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeIsOpenGL,return ) - -Float Stage_obj::nmeSetFrameRate( Float inRate){ - HX_STACK_PUSH("Stage::nmeSetFrameRate","neash/display/Stage.hx",817); - HX_STACK_THIS(this); - HX_STACK_ARG(inRate,"inRate"); - HX_STACK_LINE(818) - this->frameRate = inRate; - HX_STACK_LINE(819) - this->nmeFramePeriod = ( (((this->frameRate <= (int)0))) ? Float(this->frameRate) : Float((Float(1.0) / Float(this->frameRate))) ); - HX_STACK_LINE(820) - return inRate; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetFrameRate,return ) - -::neash::display::InteractiveObject Stage_obj::nmeSetFocus( ::neash::display::InteractiveObject inObject){ - HX_STACK_PUSH("Stage::nmeSetFocus","neash/display/Stage.hx",807); - HX_STACK_THIS(this); - HX_STACK_ARG(inObject,"inObject"); - HX_STACK_LINE(808) - if (((inObject == null()))){ - HX_STACK_LINE(809) - ::neash::display::Stage_obj::nme_stage_set_focus(this->nmeHandle,null(),(int)0); - } - else{ - HX_STACK_LINE(811) - ::neash::display::Stage_obj::nme_stage_set_focus(this->nmeHandle,inObject->nmeHandle,(int)0); - } - HX_STACK_LINE(812) - return inObject; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetFocus,return ) - -::neash::display::InteractiveObject Stage_obj::nmeGetFocus( ){ - HX_STACK_PUSH("Stage::nmeGetFocus","neash/display/Stage.hx",799); - HX_STACK_THIS(this); - HX_STACK_LINE(800) - int id = ::neash::display::Stage_obj::nme_stage_get_focus_id(this->nmeHandle); HX_STACK_VAR(id,"id"); - HX_STACK_LINE(801) - ::neash::display::DisplayObject obj = this->nmeFindByID(id); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(802) - return obj; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetFocus,return ) - -Float Stage_obj::nmeGetDPIScale( ){ - HX_STACK_PUSH("Stage::nmeGetDPIScale","neash/display/Stage.hx",793); - HX_STACK_THIS(this); - HX_STACK_LINE(793) - return ::neash::display::Stage_obj::nme_stage_get_dpi_scale(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetDPIScale,return ) - -::neash::display::StageDisplayState Stage_obj::nmeSetDisplayState( ::neash::display::StageDisplayState inState){ - HX_STACK_PUSH("Stage::nmeSetDisplayState","neash/display/Stage.hx",786); - HX_STACK_THIS(this); - HX_STACK_ARG(inState,"inState"); - HX_STACK_LINE(787) - ::neash::display::Stage_obj::nme_stage_set_display_state(this->nmeHandle,inState->__Index()); - HX_STACK_LINE(788) - return inState; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetDisplayState,return ) - -::neash::display::StageDisplayState Stage_obj::nmeGetDisplayState( ){ - HX_STACK_PUSH("Stage::nmeGetDisplayState","neash/display/Stage.hx",779); - HX_STACK_THIS(this); - HX_STACK_LINE(780) - int i = ::neash::display::Stage_obj::nme_stage_get_display_state(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(781) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::StageDisplayState >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetDisplayState,return ) - -::neash::display::StageAlign Stage_obj::nmeSetAlign( ::neash::display::StageAlign inMode){ - HX_STACK_PUSH("Stage::nmeSetAlign","neash/display/Stage.hx",772); - HX_STACK_THIS(this); - HX_STACK_ARG(inMode,"inMode"); - HX_STACK_LINE(773) - ::neash::display::Stage_obj::nme_stage_set_align(this->nmeHandle,inMode->__Index()); - HX_STACK_LINE(774) - return inMode; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetAlign,return ) - -::neash::display::StageAlign Stage_obj::nmeGetAlign( ){ - HX_STACK_PUSH("Stage::nmeGetAlign","neash/display/Stage.hx",765); - HX_STACK_THIS(this); - HX_STACK_LINE(766) - int i = ::neash::display::Stage_obj::nme_stage_get_align(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(767) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::StageAlign >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetAlign,return ) - -Void Stage_obj::showCursor( bool inShow){ -{ - HX_STACK_PUSH("Stage::showCursor","neash/display/Stage.hx",754); - HX_STACK_THIS(this); - HX_STACK_ARG(inShow,"inShow"); - HX_STACK_LINE(754) - ::neash::display::Stage_obj::nme_stage_show_cursor(this->nmeHandle,inShow); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,showCursor,(void)) - -Float Stage_obj::nmeUpdateNextWake( ){ - HX_STACK_PUSH("Stage::nmeUpdateNextWake","neash/display/Stage.hx",725); - HX_STACK_THIS(this); - HX_STACK_LINE(727) - Float next_wake = ::haxe::Timer_obj::nmeNextWake(315000000.0); HX_STACK_VAR(next_wake,"next_wake"); - HX_STACK_LINE(728) - if (((bool((next_wake > 0.001)) && bool((::neash::media::SoundChannel_obj::nmeDynamicSoundCount > (int)0))))){ - HX_STACK_LINE(729) - next_wake = 0.001; - } - HX_STACK_LINE(730) - if (((bool((next_wake > 0.02)) && bool(((bool(::neash::media::SoundChannel_obj::nmeCompletePending()) || bool(::neash::net::URLLoader_obj::nmeLoadPending()))))))){ - HX_STACK_LINE(731) - next_wake = ( (((bool(this->active) || bool(!(this->pauseWhenDeactivated))))) ? Float(0.020) : Float(0.500) ); - } - HX_STACK_LINE(734) - next_wake = this->nmeNextFrameDue(next_wake); - HX_STACK_LINE(735) - ::neash::display::Stage_obj::nme_stage_set_next_wake(this->nmeHandle,next_wake); - HX_STACK_LINE(736) - return next_wake; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeUpdateNextWake,return ) - -Void Stage_obj::nmeStopDrag( ::neash::display::Sprite sprite){ -{ - HX_STACK_PUSH("Stage::nmeStopDrag","neash/display/Stage.hx",718); - HX_STACK_THIS(this); - HX_STACK_ARG(sprite,"sprite"); - HX_STACK_LINE(719) - this->nmeDragBounds = null(); - HX_STACK_LINE(720) - this->nmeDragObject = null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeStopDrag,(void)) - -Void Stage_obj::nmeStartDrag( ::neash::display::Sprite sprite,bool lockCenter,::neash::geom::Rectangle bounds){ -{ - HX_STACK_PUSH("Stage::nmeStartDrag","neash/display/Stage.hx",692); - HX_STACK_THIS(this); - HX_STACK_ARG(sprite,"sprite"); - HX_STACK_ARG(lockCenter,"lockCenter"); - HX_STACK_ARG(bounds,"bounds"); - HX_STACK_LINE(693) - this->nmeDragBounds = ( (((bounds == null()))) ? ::neash::geom::Rectangle(null()) : ::neash::geom::Rectangle(bounds->clone()) ); - HX_STACK_LINE(694) - this->nmeDragObject = sprite; - HX_STACK_LINE(696) - if (((this->nmeDragObject != null()))){ - HX_STACK_LINE(697) - if ((lockCenter)){ - HX_STACK_LINE(700) - this->nmeDragOffsetX = (Float(-(this->nmeDragObject->nmeGetWidth())) / Float((int)2)); - HX_STACK_LINE(701) - this->nmeDragOffsetY = (Float(-(this->nmeDragObject->nmeGetHeight())) / Float((int)2)); - } - else{ - HX_STACK_LINE(705) - ::neash::geom::Point mouse = ::neash::geom::Point_obj::__new(this->nmeGetMouseX(),this->nmeGetMouseY()); HX_STACK_VAR(mouse,"mouse"); - HX_STACK_LINE(706) - ::neash::display::DisplayObjectContainer p = this->nmeDragObject->nmeGetParent(); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(707) - if (((p != null()))){ - HX_STACK_LINE(708) - mouse = p->globalToLocal(mouse); - } - HX_STACK_LINE(710) - this->nmeDragOffsetX = (this->nmeDragObject->nmeGetX() - mouse->x); - HX_STACK_LINE(711) - this->nmeDragOffsetY = (this->nmeDragObject->nmeGetY() - mouse->y); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Stage_obj,nmeStartDrag,(void)) - -Void Stage_obj::nmeSetActive( bool inActive){ -{ - HX_STACK_PUSH("Stage::nmeSetActive","neash/display/Stage.hx",675); - HX_STACK_THIS(this); - HX_STACK_ARG(inActive,"inActive"); - HX_STACK_LINE(675) - if (((inActive != this->active))){ - HX_STACK_LINE(679) - this->active = inActive; - HX_STACK_LINE(680) - if ((!(this->active))){ - HX_STACK_LINE(681) - this->nmeLastRender = ::haxe::Timer_obj::stamp(); - } - HX_STACK_LINE(683) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(( ((inActive)) ? ::String(::neash::events::Event_obj::ACTIVATE) : ::String(::neash::events::Event_obj::DEACTIVATE) ),null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(684) - this->nmeBroadcast(evt); - HX_STACK_LINE(685) - if ((inActive)){ - HX_STACK_LINE(686) - this->nmePollTimers(); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetActive,(void)) - -Void Stage_obj::nmeRender( bool inSendEnterFrame){ -{ - HX_STACK_PUSH("Stage::nmeRender","neash/display/Stage.hx",656); - HX_STACK_THIS(this); - HX_STACK_ARG(inSendEnterFrame,"inSendEnterFrame"); - HX_STACK_LINE(657) - if ((!(this->active))){ - HX_STACK_LINE(658) - return null(); - } - HX_STACK_LINE(661) - if ((inSendEnterFrame)){ - HX_STACK_LINE(662) - this->nmeBroadcast(::neash::events::Event_obj::__new(::neash::events::Event_obj::ENTER_FRAME,null(),null())); - } - HX_STACK_LINE(665) - if ((this->nmeInvalid)){ - HX_STACK_LINE(667) - this->nmeInvalid = false; - HX_STACK_LINE(668) - this->nmeBroadcast(::neash::events::Event_obj::__new(::neash::events::Event_obj::RENDER,null(),null())); - } - HX_STACK_LINE(670) - ::neash::display::Stage_obj::nme_render_stage(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeRender,(void)) - -Void Stage_obj::nmePollTimers( ){ -{ - HX_STACK_PUSH("Stage::nmePollTimers","neash/display/Stage.hx",646); - HX_STACK_THIS(this); - HX_STACK_LINE(648) - ::haxe::Timer_obj::nmeCheckTimers(); - HX_STACK_LINE(649) - ::neash::media::SoundChannel_obj::nmePollComplete(); - HX_STACK_LINE(650) - ::neash::net::URLLoader_obj::nmePollData(); - HX_STACK_LINE(651) - this->nmeCheckRender(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmePollTimers,(void)) - -Void Stage_obj::nmeOnTouch( Dynamic inEvent,::String inType,::neash::display::TouchInfo touchInfo){ -{ - HX_STACK_PUSH("Stage::nmeOnTouch","neash/display/Stage.hx",607); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(touchInfo,"touchInfo"); - HX_STACK_LINE(608) - Array< ::neash::display::InteractiveObject > stack = Array_obj< ::neash::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(609) - ::neash::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(610) - if (((obj != null()))){ - HX_STACK_LINE(611) - obj->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(613) - if (((stack->length > (int)0))){ - HX_STACK_LINE(615) - ::neash::display::InteractiveObject obj1 = stack->__get((int)0); HX_STACK_VAR(obj1,"obj1"); - HX_STACK_LINE(616) - stack->reverse(); - HX_STACK_LINE(617) - ::neash::geom::Point local = obj1->globalToLocal(::neash::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true))); HX_STACK_VAR(local,"local"); - HX_STACK_LINE(618) - ::neash::events::TouchEvent evt = ::neash::events::TouchEvent_obj::nmeCreate(inType,inEvent,local,obj1,inEvent->__Field(HX_CSTRING("sx"),true),inEvent->__Field(HX_CSTRING("sy"),true)); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(619) - evt->touchPointID = inEvent->__Field(HX_CSTRING("value"),true); - HX_STACK_LINE(620) - evt->isPrimaryTouchPoint = (((int(inEvent->__Field(HX_CSTRING("flags"),true)) & int((int)32768))) > (int)0); - HX_STACK_LINE(622) - this->nmeCheckInOuts(evt,stack,touchInfo); - HX_STACK_LINE(623) - obj1->nmeFireEvent(evt); - HX_STACK_LINE(624) - if (((bool(evt->isPrimaryTouchPoint) && bool((inType == ::neash::events::TouchEvent_obj::TOUCH_MOVE))))){ - HX_STACK_LINE(626) - if (((this->nmeDragObject != null()))){ - HX_STACK_LINE(627) - this->nmeDrag(::neash::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true))); - } - HX_STACK_LINE(629) - ::neash::events::MouseEvent evt1 = ::neash::events::MouseEvent_obj::nmeCreate(::neash::events::MouseEvent_obj::MOUSE_MOVE,inEvent,local,obj1); HX_STACK_VAR(evt1,"evt1"); - HX_STACK_LINE(630) - obj1->nmeFireEvent(evt1); - } - } - else{ - HX_STACK_LINE(636) - ::neash::events::TouchEvent evt = ::neash::events::TouchEvent_obj::nmeCreate(inType,inEvent,::neash::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true)),null(),inEvent->__Field(HX_CSTRING("sx"),true),inEvent->__Field(HX_CSTRING("sy"),true)); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(637) - evt->touchPointID = inEvent->__Field(HX_CSTRING("value"),true); - HX_STACK_LINE(638) - evt->isPrimaryTouchPoint = (((int(inEvent->__Field(HX_CSTRING("flags"),true)) & int((int)32768))) > (int)0); - HX_STACK_LINE(640) - this->nmeCheckInOuts(evt,stack,touchInfo); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Stage_obj,nmeOnTouch,(void)) - -Void Stage_obj::nmeOnResize( Float inW,Float inH){ -{ - HX_STACK_PUSH("Stage::nmeOnResize","neash/display/Stage.hx",600); - HX_STACK_THIS(this); - HX_STACK_ARG(inW,"inW"); - HX_STACK_ARG(inH,"inH"); - HX_STACK_LINE(601) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::Event_obj::RESIZE,null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(602) - this->nmeDispatchEvent(evt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Stage_obj,nmeOnResize,(void)) - -Void Stage_obj::nmeOnMouse( Dynamic inEvent,::String inType,bool inFromMouse){ -{ - HX_STACK_PUSH("Stage::nmeOnMouse","neash/display/Stage.hx",517); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(inFromMouse,"inFromMouse"); - HX_STACK_LINE(518) - ::String type = inType; HX_STACK_VAR(type,"type"); - HX_STACK_LINE(519) - int button = inEvent->__Field(HX_CSTRING("value"),true); HX_STACK_VAR(button,"button"); - HX_STACK_LINE(520) - if ((!(inFromMouse))){ - HX_STACK_LINE(521) - button = (int)0; - } - HX_STACK_LINE(522) - int wheel = (int)0; HX_STACK_VAR(wheel,"wheel"); - HX_STACK_LINE(523) - if (((inType == ::neash::events::MouseEvent_obj::MOUSE_DOWN))){ - HX_STACK_LINE(525) - if (((button > (int)2))){ - HX_STACK_LINE(526) - return null(); - } - HX_STACK_LINE(527) - type = ::neash::display::Stage_obj::sDownEvents->__get(button); - } - else{ - HX_STACK_LINE(529) - if (((inType == ::neash::events::MouseEvent_obj::MOUSE_UP))){ - HX_STACK_LINE(530) - if (((button > (int)2))){ - HX_STACK_LINE(533) - type = ::neash::events::MouseEvent_obj::MOUSE_WHEEL; - HX_STACK_LINE(534) - wheel = ( (((button == (int)3))) ? int((int)1) : int((int)-1) ); - } - else{ - HX_STACK_LINE(538) - type = ::neash::display::Stage_obj::sUpEvents->__get(button); - } - } - } - HX_STACK_LINE(541) - if (((this->nmeDragObject != null()))){ - HX_STACK_LINE(542) - this->nmeDrag(::neash::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true))); - } - HX_STACK_LINE(544) - Array< ::neash::display::InteractiveObject > stack = Array_obj< ::neash::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(545) - ::neash::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(546) - if (((obj != null()))){ - HX_STACK_LINE(547) - obj->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(549) - ::neash::geom::Point local = null(); HX_STACK_VAR(local,"local"); - HX_STACK_LINE(550) - if (((stack->length > (int)0))){ - HX_STACK_LINE(552) - ::neash::display::InteractiveObject obj1 = stack->__get((int)0); HX_STACK_VAR(obj1,"obj1"); - HX_STACK_LINE(553) - stack->reverse(); - HX_STACK_LINE(554) - local = obj1->globalToLocal(::neash::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true))); - HX_STACK_LINE(555) - ::neash::events::MouseEvent evt = ::neash::events::MouseEvent_obj::nmeCreate(type,inEvent,local,obj1); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(556) - evt->delta = wheel; - HX_STACK_LINE(557) - if ((inFromMouse)){ - HX_STACK_LINE(558) - this->nmeCheckInOuts(evt,stack,null()); - } - HX_STACK_LINE(559) - obj1->nmeFireEvent(evt); - } - else{ - HX_STACK_LINE(564) - local = ::neash::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true)); - HX_STACK_LINE(565) - ::neash::events::MouseEvent evt = ::neash::events::MouseEvent_obj::nmeCreate(type,inEvent,local,null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(566) - evt->delta = wheel; - HX_STACK_LINE(567) - if ((inFromMouse)){ - HX_STACK_LINE(568) - this->nmeCheckInOuts(evt,stack,null()); - } - } - HX_STACK_LINE(571) - ::neash::display::InteractiveObject click_obj = ( (((stack->length > (int)0))) ? ::neash::display::InteractiveObject(stack->__get((stack->length - (int)1))) : ::neash::display::InteractiveObject(hx::ObjectPtr(this)) ); HX_STACK_VAR(click_obj,"click_obj"); - HX_STACK_LINE(572) - if (((bool((inType == ::neash::events::MouseEvent_obj::MOUSE_DOWN)) && bool((button < (int)3))))){ - HX_STACK_LINE(573) - this->nmeLastDown[button] = click_obj; - } - else{ - HX_STACK_LINE(576) - if (((bool((inType == ::neash::events::MouseEvent_obj::MOUSE_UP)) && bool((button < (int)3))))){ - HX_STACK_LINE(578) - if (((click_obj == this->nmeLastDown->__get(button)))){ - HX_STACK_LINE(580) - ::neash::events::MouseEvent evt = ::neash::events::MouseEvent_obj::nmeCreate(::neash::display::Stage_obj::sClickEvents->__get(button),inEvent,local,click_obj); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(581) - click_obj->nmeFireEvent(evt); - HX_STACK_LINE(583) - if (((bool((button == (int)0)) && bool(click_obj->doubleClickEnabled)))){ - HX_STACK_LINE(585) - Float now = ::haxe::Timer_obj::stamp(); HX_STACK_VAR(now,"now"); - HX_STACK_LINE(586) - if ((((now - this->nmeLastClickTime) < 0.25))){ - HX_STACK_LINE(588) - ::neash::events::MouseEvent evt1 = ::neash::events::MouseEvent_obj::nmeCreate(::neash::events::MouseEvent_obj::DOUBLE_CLICK,inEvent,local,click_obj); HX_STACK_VAR(evt1,"evt1"); - HX_STACK_LINE(589) - click_obj->nmeFireEvent(evt1); - } - HX_STACK_LINE(591) - this->nmeLastClickTime = now; - } - } - HX_STACK_LINE(594) - this->nmeLastDown[button] = null(); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Stage_obj,nmeOnMouse,(void)) - -Void Stage_obj::nmeOnKey( Dynamic inEvent,::String inType){ -{ - HX_STACK_PUSH("Stage::nmeOnKey","neash/display/Stage.hx",499); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_LINE(500) - Array< ::neash::display::InteractiveObject > stack = Array_obj< ::neash::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(501) - ::neash::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(502) - if (((obj != null()))){ - HX_STACK_LINE(503) - obj->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(504) - if (((stack->length > (int)0))){ - HX_STACK_LINE(506) - ::neash::display::InteractiveObject obj1 = stack->__get((int)0); HX_STACK_VAR(obj1,"obj1"); - HX_STACK_LINE(507) - int flags = inEvent->__Field(HX_CSTRING("flags"),true); HX_STACK_VAR(flags,"flags"); - HX_STACK_LINE(508) - ::neash::events::KeyboardEvent evt = ::neash::events::KeyboardEvent_obj::__new(inType,true,true,inEvent->__Field(HX_CSTRING("code"),true),inEvent->__Field(HX_CSTRING("value"),true),( (((((int(flags) & int(::neash::display::Stage_obj::efLocationRight))) == (int)0))) ? int((int)1) : int((int)0) ),(((int(flags) & int(::neash::display::Stage_obj::efCtrlDown))) != (int)0),(((int(flags) & int(::neash::display::Stage_obj::efAltDown))) != (int)0),(((int(flags) & int(::neash::display::Stage_obj::efShiftDown))) != (int)0),null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(509) - obj1->nmeFireEvent(evt); - HX_STACK_LINE(510) - if ((evt->nmeGetIsCancelled())){ - HX_STACK_LINE(511) - inEvent->__FieldRef(HX_CSTRING("result")) = (int)1; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Stage_obj,nmeOnKey,(void)) - -Void Stage_obj::nmeOnJoystick( Dynamic inEvent,::String inType){ -{ - HX_STACK_PUSH("Stage::nmeOnJoystick","neash/display/Stage.hx",439); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_LINE(440) - ::neash::events::JoystickEvent evt = null(); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(441) - ::String _switch_1 = (inType); - if ( ( _switch_1==::neash::events::JoystickEvent_obj::AXIS_MOVE)){ - HX_STACK_LINE(444) - Dynamic data = this->nmeJoyAxisData->get(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(data,"data"); - HX_STACK_LINE(445) - if (((data == null()))){ - struct _Function_3_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","neash/display/Stage.hx",447); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("x") , 0.0,false); - __result->Add(HX_CSTRING("y") , 0.0,false); - __result->Add(HX_CSTRING("z") , 0.0,false); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(446) - data = _Function_3_1::Block(); - } - HX_STACK_LINE(450) - Float value = (Float(inEvent->__Field(HX_CSTRING("value"),true)) / Float((int)32767)); HX_STACK_VAR(value,"value"); - HX_STACK_LINE(451) - if (((value < (int)-1))){ - HX_STACK_LINE(451) - value = (int)-1; - } - HX_STACK_LINE(453) - switch( (int)(inEvent->__Field(HX_CSTRING("code"),true))){ - case (int)0: { - HX_STACK_LINE(455) - data->__FieldRef(HX_CSTRING("x")) = value; - } - ;break; - case (int)1: { - HX_STACK_LINE(456) - data->__FieldRef(HX_CSTRING("y")) = value; - } - ;break; - case (int)2: { - HX_STACK_LINE(457) - data->__FieldRef(HX_CSTRING("z")) = value; - } - ;break; - } - HX_STACK_LINE(460) - evt = ::neash::events::JoystickEvent_obj::__new(inType,false,false,inEvent->__Field(HX_CSTRING("id"),true),(int)0,data->__Field(HX_CSTRING("x"),true),data->__Field(HX_CSTRING("y"),true),data->__Field(HX_CSTRING("z"),true)); - HX_STACK_LINE(462) - this->nmeJoyAxisData->set(inEvent->__Field(HX_CSTRING("id"),true),data); - } - else if ( ( _switch_1==::neash::events::JoystickEvent_obj::BALL_MOVE)){ - HX_STACK_LINE(464) - evt = ::neash::events::JoystickEvent_obj::__new(inType,false,false,inEvent->__Field(HX_CSTRING("id"),true),inEvent->__Field(HX_CSTRING("code"),true),inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true),null()); - } - else if ( ( _switch_1==::neash::events::JoystickEvent_obj::HAT_MOVE)){ - HX_STACK_LINE(468) - int x = (int)0; HX_STACK_VAR(x,"x"); - HX_STACK_LINE(469) - int y = (int)0; HX_STACK_VAR(y,"y"); - HX_STACK_LINE(471) - if (((((int(inEvent->__Field(HX_CSTRING("value"),true)) & int((int)1))) != (int)0))){ - HX_STACK_LINE(472) - y = (int)-1; - } - else{ - HX_STACK_LINE(475) - if (((((int(inEvent->__Field(HX_CSTRING("value"),true)) & int((int)4))) != (int)0))){ - HX_STACK_LINE(476) - y = (int)1; - } - } - HX_STACK_LINE(480) - if (((((int(inEvent->__Field(HX_CSTRING("value"),true)) & int((int)2))) != (int)0))){ - HX_STACK_LINE(481) - x = (int)1; - } - else{ - HX_STACK_LINE(484) - if (((((int(inEvent->__Field(HX_CSTRING("value"),true)) & int((int)8))) != (int)0))){ - HX_STACK_LINE(485) - x = (int)-1; - } - } - HX_STACK_LINE(489) - evt = ::neash::events::JoystickEvent_obj::__new(inType,false,false,inEvent->__Field(HX_CSTRING("id"),true),inEvent->__Field(HX_CSTRING("code"),true),x,y,null()); - } - else { - HX_STACK_LINE(491) - evt = ::neash::events::JoystickEvent_obj::__new(inType,false,false,inEvent->__Field(HX_CSTRING("id"),true),inEvent->__Field(HX_CSTRING("code"),true),null(),null(),null()); - } -; -; - HX_STACK_LINE(494) - this->nmeDispatchEvent(evt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Stage_obj,nmeOnJoystick,(void)) - -Void Stage_obj::nmeOnFocus( Dynamic inEvent){ -{ - HX_STACK_PUSH("Stage::nmeOnFocus","neash/display/Stage.hx",415); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(416) - Array< ::neash::display::InteractiveObject > stack = Array_obj< ::neash::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(417) - ::neash::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(418) - if (((obj != null()))){ - HX_STACK_LINE(419) - obj->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(420) - if (((bool((stack->length > (int)0)) && bool(((bool((inEvent->__Field(HX_CSTRING("value"),true) == (int)1)) || bool((inEvent->__Field(HX_CSTRING("value"),true) == (int)2)))))))){ - HX_STACK_LINE(422) - ::neash::display::InteractiveObject obj1 = stack->__get((int)0); HX_STACK_VAR(obj1,"obj1"); - HX_STACK_LINE(423) - ::neash::events::FocusEvent evt = ::neash::events::FocusEvent_obj::__new(( (((inEvent->__Field(HX_CSTRING("value"),true) == (int)1))) ? ::String(::neash::events::FocusEvent_obj::MOUSE_FOCUS_CHANGE) : ::String(::neash::events::FocusEvent_obj::KEY_FOCUS_CHANGE) ),true,true,( (((this->nmeFocusOverObjects->length == (int)0))) ? ::neash::display::InteractiveObject(null()) : ::neash::display::InteractiveObject(this->nmeFocusOverObjects->__get((int)0)) ),(inEvent->__Field(HX_CSTRING("flags"),true) > (int)0),inEvent->__Field(HX_CSTRING("code"),true),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(424) - obj1->nmeFireEvent(evt); - HX_STACK_LINE(425) - if ((evt->nmeGetIsCancelled())){ - HX_STACK_LINE(427) - inEvent->__FieldRef(HX_CSTRING("result")) = (int)1; - HX_STACK_LINE(428) - return null(); - } - } - HX_STACK_LINE(432) - stack->reverse(); - HX_STACK_LINE(434) - this->nmeCheckFocusInOuts(inEvent,stack); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeOnFocus,(void)) - -Void Stage_obj::nmeOnChange( Dynamic inEvent){ -{ - HX_STACK_PUSH("Stage::nmeOnChange","neash/display/Stage.hx",407); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(408) - ::neash::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(409) - if (((obj != null()))){ - HX_STACK_LINE(410) - obj->nmeFireEvent(::neash::events::Event_obj::__new(::neash::events::Event_obj::CHANGE,null(),null())); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeOnChange,(void)) - -Float Stage_obj::nmeNextFrameDue( Float inOtherTimers){ - HX_STACK_PUSH("Stage::nmeNextFrameDue","neash/display/Stage.hx",393); - HX_STACK_THIS(this); - HX_STACK_ARG(inOtherTimers,"inOtherTimers"); - HX_STACK_LINE(394) - if (((bool(!(this->active)) && bool(this->pauseWhenDeactivated)))){ - HX_STACK_LINE(395) - return inOtherTimers; - } - HX_STACK_LINE(396) - if (((this->frameRate > (int)0))){ - HX_STACK_LINE(398) - Float next = (((this->nmeLastRender + this->nmeFramePeriod) - ::haxe::Timer_obj::stamp()) - ::neash::display::Stage_obj::nmeEarlyWakeup); HX_STACK_VAR(next,"next"); - HX_STACK_LINE(399) - if (((next < inOtherTimers))){ - HX_STACK_LINE(400) - return next; - } - } - HX_STACK_LINE(402) - return inOtherTimers; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeNextFrameDue,return ) - -::neash::display::Stage Stage_obj::nmeGetStage( ){ - HX_STACK_PUSH("Stage::nmeGetStage","neash/display/Stage.hx",387); - HX_STACK_THIS(this); - HX_STACK_LINE(387) - return hx::ObjectPtr(this); -} - - -Void Stage_obj::nmeDrag( ::neash::geom::Point inMouse){ -{ - HX_STACK_PUSH("Stage::nmeDrag","neash/display/Stage.hx",364); - HX_STACK_THIS(this); - HX_STACK_ARG(inMouse,"inMouse"); - HX_STACK_LINE(365) - ::neash::display::DisplayObjectContainer p = this->nmeDragObject->nmeGetParent(); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(366) - if (((p != null()))){ - HX_STACK_LINE(367) - inMouse = p->globalToLocal(inMouse); - } - HX_STACK_LINE(369) - Float x = (inMouse->x + this->nmeDragOffsetX); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(370) - Float y = (inMouse->y + this->nmeDragOffsetY); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(372) - if (((this->nmeDragBounds != null()))){ - HX_STACK_LINE(374) - if (((x < this->nmeDragBounds->x))){ - HX_STACK_LINE(374) - x = this->nmeDragBounds->x; - } - else{ - HX_STACK_LINE(375) - if (((x > this->nmeDragBounds->nmeGetRight()))){ - HX_STACK_LINE(375) - x = this->nmeDragBounds->nmeGetRight(); - } - } - HX_STACK_LINE(377) - if (((y < this->nmeDragBounds->y))){ - HX_STACK_LINE(377) - y = this->nmeDragBounds->y; - } - else{ - HX_STACK_LINE(378) - if (((y > this->nmeDragBounds->nmeGetBottom()))){ - HX_STACK_LINE(378) - y = this->nmeDragBounds->nmeGetBottom(); - } - } - } - HX_STACK_LINE(381) - this->nmeDragObject->nmeSetX(x); - HX_STACK_LINE(382) - this->nmeDragObject->nmeSetY(y); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeDrag,(void)) - -Dynamic Stage_obj::nmeProcessStageEvent( Dynamic inEvent){ - HX_STACK_PUSH("Stage::nmeProcessStageEvent","neash/display/Stage.hx",357); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(358) - this->nmeDoProcessStageEvent(inEvent); - HX_STACK_LINE(359) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeProcessStageEvent,return ) - -Void Stage_obj::dummyTrace( ){ -{ - HX_STACK_PUSH("Stage::dummyTrace","neash/display/Stage.hx",350); - HX_STACK_THIS(this); - HX_STACK_LINE(350) - ::haxe::Log_obj::trace(HX_CSTRING(""),hx::SourceInfo(HX_CSTRING("Stage.hx"),350,HX_CSTRING("neash.display.Stage"),HX_CSTRING("dummyTrace"))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,dummyTrace,(void)) - -Float Stage_obj::nmeDoProcessStageEvent( Dynamic inEvent){ - HX_STACK_PUSH("Stage::nmeDoProcessStageEvent","neash/display/Stage.hx",235); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(236) - Float result = 0.0; HX_STACK_VAR(result,"result"); - HX_STACK_LINE(238) - int type = ::Std_obj::_int(::Reflect_obj::field(inEvent,HX_CSTRING("type"))); HX_STACK_VAR(type,"type"); - HX_STACK_LINE(240) - switch( (int)(type)){ - case (int)2: { - HX_STACK_LINE(242) - if (((this->onKey_dyn() != null()))){ - HX_STACK_LINE(244) - this->onKey(inEvent->__Field(HX_CSTRING("code"),true),inEvent->__Field(HX_CSTRING("down"),true),inEvent->__Field(HX_CSTRING("char"),true),inEvent->__Field(HX_CSTRING("flags"),true)); - } - } - ;break; - case (int)1: { - HX_STACK_LINE(246) - this->nmeOnKey(inEvent,::neash::events::KeyboardEvent_obj::KEY_DOWN); - } - ;break; - case (int)3: { - HX_STACK_LINE(249) - this->nmeOnKey(inEvent,::neash::events::KeyboardEvent_obj::KEY_UP); - } - ;break; - case (int)4: { - HX_STACK_LINE(252) - this->nmeOnMouse(inEvent,::neash::events::MouseEvent_obj::MOUSE_MOVE,true); - } - ;break; - case (int)5: { - HX_STACK_LINE(255) - this->nmeOnMouse(inEvent,::neash::events::MouseEvent_obj::MOUSE_DOWN,true); - } - ;break; - case (int)6: { - HX_STACK_LINE(258) - this->nmeOnMouse(inEvent,::neash::events::MouseEvent_obj::CLICK,true); - } - ;break; - case (int)7: { - HX_STACK_LINE(261) - this->nmeOnMouse(inEvent,::neash::events::MouseEvent_obj::MOUSE_UP,true); - } - ;break; - case (int)8: { - HX_STACK_LINE(265) - this->nmeOnResize(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true)); - HX_STACK_LINE(266) - if (((this->renderRequest_dyn() == null()))){ - HX_STACK_LINE(267) - this->nmeRender(false); - } - } - ;break; - case (int)9: { - HX_STACK_LINE(269) - this->nmePollTimers(); - } - ;break; - case (int)10: { - HX_STACK_LINE(272) - if (((this->onQuit_dyn() != null()))){ - HX_STACK_LINE(274) - this->onQuit(); - } - } - ;break; - case (int)11: { - HX_STACK_LINE(276) - this->nmeOnFocus(inEvent); - } - ;break; - case (int)12: { - HX_STACK_LINE(279) - if ((::neash::display::Stage_obj::shouldRotateInterface(inEvent->__Field(HX_CSTRING("value"),true)))){ - HX_STACK_LINE(281) - inEvent->__FieldRef(HX_CSTRING("result")) = (int)2; - } - } - ;break; - case (int)14: { - HX_STACK_LINE(283) - this->nmeRender(true); - } - ;break; - case (int)15: { - HX_STACK_LINE(287) - ::neash::display::TouchInfo touchInfo = ::neash::display::TouchInfo_obj::__new(); HX_STACK_VAR(touchInfo,"touchInfo"); - HX_STACK_LINE(288) - this->nmeTouchInfo->set(inEvent->__Field(HX_CSTRING("value"),true),touchInfo); - HX_STACK_LINE(289) - this->nmeOnTouch(inEvent,::neash::events::TouchEvent_obj::TOUCH_BEGIN,touchInfo); - HX_STACK_LINE(291) - if (((((int(inEvent->__Field(HX_CSTRING("flags"),true)) & int((int)32768))) > (int)0))){ - HX_STACK_LINE(292) - this->nmeOnMouse(inEvent,::neash::events::MouseEvent_obj::MOUSE_DOWN,false); - } - } - ;break; - case (int)16: { - HX_STACK_LINE(295) - ::neash::display::TouchInfo touchInfo = this->nmeTouchInfo->get(inEvent->__Field(HX_CSTRING("value"),true)); HX_STACK_VAR(touchInfo,"touchInfo"); - HX_STACK_LINE(296) - this->nmeOnTouch(inEvent,::neash::events::TouchEvent_obj::TOUCH_MOVE,touchInfo); - } - ;break; - case (int)17: { - HX_STACK_LINE(299) - ::neash::display::TouchInfo touchInfo = this->nmeTouchInfo->get(inEvent->__Field(HX_CSTRING("value"),true)); HX_STACK_VAR(touchInfo,"touchInfo"); - HX_STACK_LINE(300) - this->nmeOnTouch(inEvent,::neash::events::TouchEvent_obj::TOUCH_END,touchInfo); - HX_STACK_LINE(301) - this->nmeTouchInfo->remove(inEvent->__Field(HX_CSTRING("value"),true)); - HX_STACK_LINE(303) - if (((((int(inEvent->__Field(HX_CSTRING("flags"),true)) & int((int)32768))) > (int)0))){ - HX_STACK_LINE(304) - this->nmeOnMouse(inEvent,::neash::events::MouseEvent_obj::MOUSE_UP,false); - } - } - ;break; - case (int)18: { - } - ;break; - case (int)19: { - HX_STACK_LINE(309) - this->nmeOnChange(inEvent); - } - ;break; - case (int)20: { - HX_STACK_LINE(312) - this->nmeSetActive(true); - } - ;break; - case (int)21: { - HX_STACK_LINE(315) - this->nmeSetActive(false); - } - ;break; - case (int)22: { - HX_STACK_LINE(319) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::FocusEvent_obj::FOCUS_IN,null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(320) - this->nmeBroadcast(evt); - } - ;break; - case (int)23: { - HX_STACK_LINE(323) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::FocusEvent_obj::FOCUS_OUT,null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(324) - this->nmeBroadcast(evt); - } - ;break; - case (int)24: { - HX_STACK_LINE(326) - this->nmeOnJoystick(inEvent,::neash::events::JoystickEvent_obj::AXIS_MOVE); - } - ;break; - case (int)25: { - HX_STACK_LINE(329) - this->nmeOnJoystick(inEvent,::neash::events::JoystickEvent_obj::BALL_MOVE); - } - ;break; - case (int)26: { - HX_STACK_LINE(332) - this->nmeOnJoystick(inEvent,::neash::events::JoystickEvent_obj::HAT_MOVE); - } - ;break; - case (int)27: { - HX_STACK_LINE(335) - this->nmeOnJoystick(inEvent,::neash::events::JoystickEvent_obj::BUTTON_DOWN); - } - ;break; - case (int)28: { - HX_STACK_LINE(338) - this->nmeOnJoystick(inEvent,::neash::events::JoystickEvent_obj::BUTTON_UP); - } - ;break; - } - HX_STACK_LINE(344) - result = this->nmeUpdateNextWake(); - HX_STACK_LINE(347) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeDoProcessStageEvent,return ) - -Void Stage_obj::nmeCheckRender( ){ -{ - HX_STACK_PUSH("Stage::nmeCheckRender","neash/display/Stage.hx",217); - HX_STACK_THIS(this); - HX_STACK_LINE(217) - if (((this->frameRate > (int)0))){ - HX_STACK_LINE(221) - Float now = ::haxe::Timer_obj::stamp(); HX_STACK_VAR(now,"now"); - HX_STACK_LINE(222) - if (((now >= (this->nmeLastRender + this->nmeFramePeriod)))){ - HX_STACK_LINE(224) - this->nmeLastRender = now; - HX_STACK_LINE(225) - if (((this->renderRequest_dyn() != null()))){ - HX_STACK_LINE(226) - this->renderRequest(); - } - else{ - HX_STACK_LINE(228) - this->nmeRender(true); - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeCheckRender,(void)) - -bool Stage_obj::nmeCheckInOuts( ::neash::events::MouseEvent inEvent,Array< ::neash::display::InteractiveObject > inStack,::neash::display::TouchInfo touchInfo){ - HX_STACK_PUSH("Stage::nmeCheckInOuts","neash/display/Stage.hx",165); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inStack,"inStack"); - HX_STACK_ARG(touchInfo,"touchInfo"); - HX_STACK_LINE(166) - Array< ::neash::display::InteractiveObject > prev = ( (((touchInfo == null()))) ? Array< ::neash::display::InteractiveObject >(this->nmeMouseOverObjects) : Array< ::neash::display::InteractiveObject >(touchInfo->touchOverObjects) ); HX_STACK_VAR(prev,"prev"); - HX_STACK_LINE(167) - Array< ::String > events = ( (((touchInfo == null()))) ? Array< ::String >(::neash::display::Stage_obj::nmeMouseChanges) : Array< ::String >(::neash::display::Stage_obj::nmeTouchChanges) ); HX_STACK_VAR(events,"events"); - HX_STACK_LINE(169) - int new_n = inStack->length; HX_STACK_VAR(new_n,"new_n"); - HX_STACK_LINE(170) - ::neash::display::InteractiveObject new_obj = ( (((new_n > (int)0))) ? ::neash::display::InteractiveObject(inStack->__get((new_n - (int)1))) : ::neash::display::InteractiveObject(null()) ); HX_STACK_VAR(new_obj,"new_obj"); - HX_STACK_LINE(171) - int old_n = prev->length; HX_STACK_VAR(old_n,"old_n"); - HX_STACK_LINE(172) - ::neash::display::InteractiveObject old_obj = ( (((old_n > (int)0))) ? ::neash::display::InteractiveObject(prev->__get((old_n - (int)1))) : ::neash::display::InteractiveObject(null()) ); HX_STACK_VAR(old_obj,"old_obj"); - HX_STACK_LINE(174) - if (((new_obj != old_obj))){ - HX_STACK_LINE(177) - if (((old_obj != null()))){ - HX_STACK_LINE(178) - old_obj->nmeFireEvent(inEvent->nmeCreateSimilar(events->__get((int)0),new_obj,old_obj)); - } - HX_STACK_LINE(180) - if (((new_obj != null()))){ - HX_STACK_LINE(181) - new_obj->nmeFireEvent(inEvent->nmeCreateSimilar(events->__get((int)1),old_obj,null())); - } - HX_STACK_LINE(184) - int common = (int)0; HX_STACK_VAR(common,"common"); - HX_STACK_LINE(185) - while(((bool((bool((common < new_n)) && bool((common < old_n)))) && bool((inStack->__get(common) == prev->__get(common)))))){ - HX_STACK_LINE(186) - (common)++; - } - HX_STACK_LINE(188) - ::neash::events::MouseEvent rollOut = inEvent->nmeCreateSimilar(events->__get((int)2),new_obj,old_obj); HX_STACK_VAR(rollOut,"rollOut"); - HX_STACK_LINE(189) - int i = (old_n - (int)1); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(190) - while(((i >= common))){ - HX_STACK_LINE(192) - prev->__get(i)->nmeDispatchEvent(rollOut); - HX_STACK_LINE(193) - (i)--; - } - HX_STACK_LINE(196) - ::neash::events::MouseEvent rollOver = inEvent->nmeCreateSimilar(events->__get((int)3),old_obj,null()); HX_STACK_VAR(rollOver,"rollOver"); - HX_STACK_LINE(197) - int i1 = (new_n - (int)1); HX_STACK_VAR(i1,"i1"); - HX_STACK_LINE(198) - while(((i1 >= common))){ - HX_STACK_LINE(200) - inStack->__get(i1)->nmeDispatchEvent(rollOver); - HX_STACK_LINE(201) - (i1)--; - } - HX_STACK_LINE(204) - if (((touchInfo == null()))){ - HX_STACK_LINE(205) - this->nmeMouseOverObjects = inStack; - } - else{ - HX_STACK_LINE(207) - touchInfo->touchOverObjects = inStack; - } - HX_STACK_LINE(209) - return false; - } - HX_STACK_LINE(212) - return true; -} - - -HX_DEFINE_DYNAMIC_FUNC3(Stage_obj,nmeCheckInOuts,return ) - -Void Stage_obj::nmeCheckFocusInOuts( Dynamic inEvent,Array< ::neash::display::InteractiveObject > inStack){ -{ - HX_STACK_PUSH("Stage::nmeCheckFocusInOuts","neash/display/Stage.hx",127); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inStack,"inStack"); - HX_STACK_LINE(129) - int new_n = inStack->length; HX_STACK_VAR(new_n,"new_n"); - HX_STACK_LINE(130) - ::neash::display::InteractiveObject new_obj = ( (((new_n > (int)0))) ? ::neash::display::InteractiveObject(inStack->__get((new_n - (int)1))) : ::neash::display::InteractiveObject(null()) ); HX_STACK_VAR(new_obj,"new_obj"); - HX_STACK_LINE(131) - int old_n = this->nmeFocusOverObjects->length; HX_STACK_VAR(old_n,"old_n"); - HX_STACK_LINE(132) - ::neash::display::InteractiveObject old_obj = ( (((old_n > (int)0))) ? ::neash::display::InteractiveObject(this->nmeFocusOverObjects->__get((old_n - (int)1))) : ::neash::display::InteractiveObject(null()) ); HX_STACK_VAR(old_obj,"old_obj"); - HX_STACK_LINE(134) - if (((new_obj != old_obj))){ - HX_STACK_LINE(137) - int common = (int)0; HX_STACK_VAR(common,"common"); - HX_STACK_LINE(138) - while(((bool((bool((common < new_n)) && bool((common < old_n)))) && bool((inStack->__get(common) == this->nmeFocusOverObjects->__get(common)))))){ - HX_STACK_LINE(139) - (common)++; - } - HX_STACK_LINE(141) - ::neash::events::FocusEvent focusOut = ::neash::events::FocusEvent_obj::__new(::neash::events::FocusEvent_obj::FOCUS_OUT,false,false,new_obj,(inEvent->__Field(HX_CSTRING("flags"),true) > (int)0),inEvent->__Field(HX_CSTRING("code"),true),null()); HX_STACK_VAR(focusOut,"focusOut"); - HX_STACK_LINE(143) - int i = (old_n - (int)1); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(144) - while(((i >= common))){ - HX_STACK_LINE(146) - this->nmeFocusOverObjects->__get(i)->nmeDispatchEvent(focusOut); - HX_STACK_LINE(147) - (i)--; - } - HX_STACK_LINE(150) - ::neash::events::FocusEvent focusIn = ::neash::events::FocusEvent_obj::__new(::neash::events::FocusEvent_obj::FOCUS_IN,false,false,old_obj,(inEvent->__Field(HX_CSTRING("flags"),true) > (int)0),inEvent->__Field(HX_CSTRING("code"),true),null()); HX_STACK_VAR(focusIn,"focusIn"); - HX_STACK_LINE(151) - int i1 = (new_n - (int)1); HX_STACK_VAR(i1,"i1"); - HX_STACK_LINE(153) - while(((i1 >= common))){ - HX_STACK_LINE(155) - inStack->__get(i1)->nmeDispatchEvent(focusIn); - HX_STACK_LINE(156) - (i1)--; - } - HX_STACK_LINE(159) - this->nmeFocusOverObjects = inStack; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Stage_obj,nmeCheckFocusInOuts,(void)) - -Void Stage_obj::invalidate( ){ -{ - HX_STACK_PUSH("Stage::invalidate","neash/display/Stage.hx",121); - HX_STACK_THIS(this); - HX_STACK_LINE(121) - this->nmeInvalid = true; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,invalidate,(void)) - -Float Stage_obj::nmeEarlyWakeup; - -int Stage_obj::OrientationPortrait; - -int Stage_obj::OrientationPortraitUpsideDown; - -int Stage_obj::OrientationLandscapeRight; - -int Stage_obj::OrientationLandscapeLeft; - -int Stage_obj::OrientationFaceUp; - -int Stage_obj::OrientationFaceDown; - -int Stage_obj::efLeftDown; - -int Stage_obj::efShiftDown; - -int Stage_obj::efCtrlDown; - -int Stage_obj::efAltDown; - -int Stage_obj::efCommandDown; - -int Stage_obj::efLocationRight; - -int Stage_obj::efNoNativeClick; - -Array< ::String > Stage_obj::nmeMouseChanges; - -Array< ::String > Stage_obj::nmeTouchChanges; - -Array< ::String > Stage_obj::sClickEvents; - -Array< ::String > Stage_obj::sDownEvents; - -Array< ::String > Stage_obj::sUpEvents; - -HX_BEGIN_DEFAULT_FUNC(__default_getOrientation,Stage_obj) -int run(){ - HX_STACK_PUSH("Stage::getOrientation","neash/display/Stage.hx",110); - HX_STACK_LINE(110) - return ::neash::display::Stage_obj::nme_stage_get_orientation(); -} -HX_END_LOCAL_FUNC0(return ) -HX_END_DEFAULT_FUNC - -Dynamic Stage_obj::getOrientation; - -HX_BEGIN_DEFAULT_FUNC(__default_getNormalOrientation,Stage_obj) -int run(){ - HX_STACK_PUSH("Stage::getNormalOrientation","neash/display/Stage.hx",115); - HX_STACK_LINE(115) - return ::neash::display::Stage_obj::nme_stage_get_normal_orientation(); -} -HX_END_LOCAL_FUNC0(return ) -HX_END_DEFAULT_FUNC - -Dynamic Stage_obj::getNormalOrientation; - -Void Stage_obj::setFixedOrientation( int inOrientation){ -{ - HX_STACK_PUSH("Stage::setFixedOrientation","neash/display/Stage.hx",741); - HX_STACK_ARG(inOrientation,"inOrientation"); - HX_STACK_LINE(741) - ::neash::display::Stage_obj::nme_stage_set_fixed_orientation(inOrientation); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,setFixedOrientation,(void)) - -HX_BEGIN_DEFAULT_FUNC(__default_shouldRotateInterface,Stage_obj) -bool run(int inOrientation){ - HX_STACK_PUSH("Stage::shouldRotateInterface","neash/display/Stage.hx",748); - HX_STACK_ARG(inOrientation,"inOrientation"); - HX_STACK_LINE(748) - return (inOrientation == ::neash::display::Stage_obj::OrientationPortrait); -} -HX_END_LOCAL_FUNC1(return ) -HX_END_DEFAULT_FUNC - -Dynamic Stage_obj::shouldRotateInterface; - -Dynamic Stage_obj::nme_set_stage_handler; - -Dynamic Stage_obj::nme_render_stage; - -Dynamic Stage_obj::nme_stage_get_focus_id; - -Dynamic Stage_obj::nme_stage_set_focus; - -Dynamic Stage_obj::nme_stage_get_focus_rect; - -Dynamic Stage_obj::nme_stage_set_focus_rect; - -Dynamic Stage_obj::nme_stage_is_opengl; - -Dynamic Stage_obj::nme_stage_get_stage_width; - -Dynamic Stage_obj::nme_stage_get_stage_height; - -Dynamic Stage_obj::nme_stage_get_dpi_scale; - -Dynamic Stage_obj::nme_stage_get_scale_mode; - -Dynamic Stage_obj::nme_stage_set_scale_mode; - -Dynamic Stage_obj::nme_stage_get_align; - -Dynamic Stage_obj::nme_stage_set_align; - -Dynamic Stage_obj::nme_stage_get_quality; - -Dynamic Stage_obj::nme_stage_set_quality; - -Dynamic Stage_obj::nme_stage_get_display_state; - -Dynamic Stage_obj::nme_stage_set_display_state; - -Dynamic Stage_obj::nme_stage_set_next_wake; - -Dynamic Stage_obj::nme_stage_request_render; - -Dynamic Stage_obj::nme_stage_show_cursor; - -Dynamic Stage_obj::nme_stage_set_fixed_orientation; - -Dynamic Stage_obj::nme_stage_get_orientation; - -Dynamic Stage_obj::nme_stage_get_normal_orientation; - - -Stage_obj::Stage_obj() -{ -} - -void Stage_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Stage); - HX_MARK_MEMBER_NAME(nmeTouchInfo,"nmeTouchInfo"); - HX_MARK_MEMBER_NAME(nmeMouseOverObjects,"nmeMouseOverObjects"); - HX_MARK_MEMBER_NAME(nmeLastRender,"nmeLastRender"); - HX_MARK_MEMBER_NAME(nmeLastDown,"nmeLastDown"); - HX_MARK_MEMBER_NAME(nmeLastClickTime,"nmeLastClickTime"); - HX_MARK_MEMBER_NAME(nmeInvalid,"nmeInvalid"); - HX_MARK_MEMBER_NAME(nmeFramePeriod,"nmeFramePeriod"); - HX_MARK_MEMBER_NAME(nmeFocusOverObjects,"nmeFocusOverObjects"); - HX_MARK_MEMBER_NAME(nmeDragOffsetY,"nmeDragOffsetY"); - HX_MARK_MEMBER_NAME(nmeDragOffsetX,"nmeDragOffsetX"); - HX_MARK_MEMBER_NAME(nmeDragObject,"nmeDragObject"); - HX_MARK_MEMBER_NAME(nmeDragBounds,"nmeDragBounds"); - HX_MARK_MEMBER_NAME(nmeJoyAxisData,"nmeJoyAxisData"); - HX_MARK_MEMBER_NAME(stageWidth,"stageWidth"); - HX_MARK_MEMBER_NAME(stageHeight,"stageHeight"); - HX_MARK_MEMBER_NAME(stageFocusRect,"stageFocusRect"); - HX_MARK_MEMBER_NAME(scaleMode,"scaleMode"); - HX_MARK_MEMBER_NAME(renderRequest,"renderRequest"); - HX_MARK_MEMBER_NAME(quality,"quality"); - HX_MARK_MEMBER_NAME(pauseWhenDeactivated,"pauseWhenDeactivated"); - HX_MARK_MEMBER_NAME(onQuit,"onQuit"); - HX_MARK_MEMBER_NAME(onKey,"onKey"); - HX_MARK_MEMBER_NAME(isOpenGL,"isOpenGL"); - HX_MARK_MEMBER_NAME(frameRate,"frameRate"); - HX_MARK_MEMBER_NAME(focus,"focus"); - HX_MARK_MEMBER_NAME(dpiScale,"dpiScale"); - HX_MARK_MEMBER_NAME(displayState,"displayState"); - HX_MARK_MEMBER_NAME(align,"align"); - HX_MARK_MEMBER_NAME(active,"active"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Stage_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeTouchInfo,"nmeTouchInfo"); - HX_VISIT_MEMBER_NAME(nmeMouseOverObjects,"nmeMouseOverObjects"); - HX_VISIT_MEMBER_NAME(nmeLastRender,"nmeLastRender"); - HX_VISIT_MEMBER_NAME(nmeLastDown,"nmeLastDown"); - HX_VISIT_MEMBER_NAME(nmeLastClickTime,"nmeLastClickTime"); - HX_VISIT_MEMBER_NAME(nmeInvalid,"nmeInvalid"); - HX_VISIT_MEMBER_NAME(nmeFramePeriod,"nmeFramePeriod"); - HX_VISIT_MEMBER_NAME(nmeFocusOverObjects,"nmeFocusOverObjects"); - HX_VISIT_MEMBER_NAME(nmeDragOffsetY,"nmeDragOffsetY"); - HX_VISIT_MEMBER_NAME(nmeDragOffsetX,"nmeDragOffsetX"); - HX_VISIT_MEMBER_NAME(nmeDragObject,"nmeDragObject"); - HX_VISIT_MEMBER_NAME(nmeDragBounds,"nmeDragBounds"); - HX_VISIT_MEMBER_NAME(nmeJoyAxisData,"nmeJoyAxisData"); - HX_VISIT_MEMBER_NAME(stageWidth,"stageWidth"); - HX_VISIT_MEMBER_NAME(stageHeight,"stageHeight"); - HX_VISIT_MEMBER_NAME(stageFocusRect,"stageFocusRect"); - HX_VISIT_MEMBER_NAME(scaleMode,"scaleMode"); - HX_VISIT_MEMBER_NAME(renderRequest,"renderRequest"); - HX_VISIT_MEMBER_NAME(quality,"quality"); - HX_VISIT_MEMBER_NAME(pauseWhenDeactivated,"pauseWhenDeactivated"); - HX_VISIT_MEMBER_NAME(onQuit,"onQuit"); - HX_VISIT_MEMBER_NAME(onKey,"onKey"); - HX_VISIT_MEMBER_NAME(isOpenGL,"isOpenGL"); - HX_VISIT_MEMBER_NAME(frameRate,"frameRate"); - HX_VISIT_MEMBER_NAME(focus,"focus"); - HX_VISIT_MEMBER_NAME(dpiScale,"dpiScale"); - HX_VISIT_MEMBER_NAME(displayState,"displayState"); - HX_VISIT_MEMBER_NAME(align,"align"); - HX_VISIT_MEMBER_NAME(active,"active"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Stage_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"onKey") ) { return onKey; } - if (HX_FIELD_EQ(inName,"focus") ) { return inCallProp ? nmeGetFocus() : focus; } - if (HX_FIELD_EQ(inName,"align") ) { return inCallProp ? nmeGetAlign() : align; } - break; - case 6: - if (HX_FIELD_EQ(inName,"onQuit") ) { return onQuit; } - if (HX_FIELD_EQ(inName,"active") ) { return active; } - break; - case 7: - if (HX_FIELD_EQ(inName,"nmeDrag") ) { return nmeDrag_dyn(); } - if (HX_FIELD_EQ(inName,"quality") ) { return inCallProp ? nmeGetQuality() : quality; } - break; - case 8: - if (HX_FIELD_EQ(inName,"nmeOnKey") ) { return nmeOnKey_dyn(); } - if (HX_FIELD_EQ(inName,"isOpenGL") ) { return inCallProp ? nmeIsOpenGL() : isOpenGL; } - if (HX_FIELD_EQ(inName,"dpiScale") ) { return inCallProp ? nmeGetDPIScale() : dpiScale; } - break; - case 9: - if (HX_FIELD_EQ(inName,"efAltDown") ) { return efAltDown; } - if (HX_FIELD_EQ(inName,"sUpEvents") ) { return sUpEvents; } - if (HX_FIELD_EQ(inName,"nmeRender") ) { return nmeRender_dyn(); } - if (HX_FIELD_EQ(inName,"scaleMode") ) { return inCallProp ? nmeGetScaleMode() : scaleMode; } - if (HX_FIELD_EQ(inName,"frameRate") ) { return frameRate; } - break; - case 10: - if (HX_FIELD_EQ(inName,"efLeftDown") ) { return efLeftDown; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { return efCtrlDown; } - if (HX_FIELD_EQ(inName,"showCursor") ) { return showCursor_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnTouch") ) { return nmeOnTouch_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnMouse") ) { return nmeOnMouse_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnFocus") ) { return nmeOnFocus_dyn(); } - if (HX_FIELD_EQ(inName,"dummyTrace") ) { return dummyTrace_dyn(); } - if (HX_FIELD_EQ(inName,"invalidate") ) { return invalidate_dyn(); } - if (HX_FIELD_EQ(inName,"nmeInvalid") ) { return nmeInvalid; } - if (HX_FIELD_EQ(inName,"stageWidth") ) { return inCallProp ? nmeGetStageWidth() : stageWidth; } - break; - case 11: - if (HX_FIELD_EQ(inName,"efShiftDown") ) { return efShiftDown; } - if (HX_FIELD_EQ(inName,"sDownEvents") ) { return sDownEvents; } - if (HX_FIELD_EQ(inName,"nmeIsOpenGL") ) { return nmeIsOpenGL_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetFocus") ) { return nmeSetFocus_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetFocus") ) { return nmeGetFocus_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetAlign") ) { return nmeSetAlign_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetAlign") ) { return nmeGetAlign_dyn(); } - if (HX_FIELD_EQ(inName,"nmeStopDrag") ) { return nmeStopDrag_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnResize") ) { return nmeOnResize_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnChange") ) { return nmeOnChange_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetStage") ) { return nmeGetStage_dyn(); } - if (HX_FIELD_EQ(inName,"nmeLastDown") ) { return nmeLastDown; } - if (HX_FIELD_EQ(inName,"stageHeight") ) { return inCallProp ? nmeGetStageHeight() : stageHeight; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sClickEvents") ) { return sClickEvents; } - if (HX_FIELD_EQ(inName,"nmeStartDrag") ) { return nmeStartDrag_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetActive") ) { return nmeSetActive_dyn(); } - if (HX_FIELD_EQ(inName,"nmeTouchInfo") ) { return nmeTouchInfo; } - if (HX_FIELD_EQ(inName,"displayState") ) { return inCallProp ? nmeGetDisplayState() : displayState; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { return efCommandDown; } - if (HX_FIELD_EQ(inName,"nmeSetQuality") ) { return nmeSetQuality_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetQuality") ) { return nmeGetQuality_dyn(); } - if (HX_FIELD_EQ(inName,"nmePollTimers") ) { return nmePollTimers_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnJoystick") ) { return nmeOnJoystick_dyn(); } - if (HX_FIELD_EQ(inName,"nmeLastRender") ) { return nmeLastRender; } - if (HX_FIELD_EQ(inName,"nmeDragObject") ) { return nmeDragObject; } - if (HX_FIELD_EQ(inName,"nmeDragBounds") ) { return nmeDragBounds; } - if (HX_FIELD_EQ(inName,"renderRequest") ) { return renderRequest; } - break; - case 14: - if (HX_FIELD_EQ(inName,"nmeEarlyWakeup") ) { return nmeEarlyWakeup; } - if (HX_FIELD_EQ(inName,"getOrientation") ) { return getOrientation; } - if (HX_FIELD_EQ(inName,"nmeGetDPIScale") ) { return nmeGetDPIScale_dyn(); } - if (HX_FIELD_EQ(inName,"nmeCheckRender") ) { return nmeCheckRender_dyn(); } - if (HX_FIELD_EQ(inName,"nmeCheckInOuts") ) { return nmeCheckInOuts_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFramePeriod") ) { return nmeFramePeriod; } - if (HX_FIELD_EQ(inName,"nmeDragOffsetY") ) { return nmeDragOffsetY; } - if (HX_FIELD_EQ(inName,"nmeDragOffsetX") ) { return nmeDragOffsetX; } - if (HX_FIELD_EQ(inName,"nmeJoyAxisData") ) { return nmeJoyAxisData; } - if (HX_FIELD_EQ(inName,"stageFocusRect") ) { return inCallProp ? nmeGetStageFocusRect() : stageFocusRect; } - break; - case 15: - if (HX_FIELD_EQ(inName,"efLocationRight") ) { return efLocationRight; } - if (HX_FIELD_EQ(inName,"efNoNativeClick") ) { return efNoNativeClick; } - if (HX_FIELD_EQ(inName,"nmeMouseChanges") ) { return nmeMouseChanges; } - if (HX_FIELD_EQ(inName,"nmeTouchChanges") ) { return nmeTouchChanges; } - if (HX_FIELD_EQ(inName,"nmeSetScaleMode") ) { return nmeSetScaleMode_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetScaleMode") ) { return nmeGetScaleMode_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetFrameRate") ) { return nmeSetFrameRate_dyn(); } - if (HX_FIELD_EQ(inName,"nmeNextFrameDue") ) { return nmeNextFrameDue_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_render_stage") ) { return nme_render_stage; } - if (HX_FIELD_EQ(inName,"nmeGetStageWidth") ) { return nmeGetStageWidth_dyn(); } - if (HX_FIELD_EQ(inName,"nmeLastClickTime") ) { return nmeLastClickTime; } - break; - case 17: - if (HX_FIELD_EQ(inName,"OrientationFaceUp") ) { return OrientationFaceUp; } - if (HX_FIELD_EQ(inName,"nmeGetStageHeight") ) { return nmeGetStageHeight_dyn(); } - if (HX_FIELD_EQ(inName,"nmeUpdateNextWake") ) { return nmeUpdateNextWake_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"nmeSetDisplayState") ) { return nmeSetDisplayState_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetDisplayState") ) { return nmeGetDisplayState_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"OrientationPortrait") ) { return OrientationPortrait; } - if (HX_FIELD_EQ(inName,"OrientationFaceDown") ) { return OrientationFaceDown; } - if (HX_FIELD_EQ(inName,"setFixedOrientation") ) { return setFixedOrientation_dyn(); } - if (HX_FIELD_EQ(inName,"nme_stage_set_focus") ) { return nme_stage_set_focus; } - if (HX_FIELD_EQ(inName,"nme_stage_is_opengl") ) { return nme_stage_is_opengl; } - if (HX_FIELD_EQ(inName,"nme_stage_get_align") ) { return nme_stage_get_align; } - if (HX_FIELD_EQ(inName,"nme_stage_set_align") ) { return nme_stage_set_align; } - if (HX_FIELD_EQ(inName,"nmeCheckFocusInOuts") ) { return nmeCheckFocusInOuts_dyn(); } - if (HX_FIELD_EQ(inName,"nmeMouseOverObjects") ) { return nmeMouseOverObjects; } - if (HX_FIELD_EQ(inName,"nmeFocusOverObjects") ) { return nmeFocusOverObjects; } - break; - case 20: - if (HX_FIELD_EQ(inName,"getNormalOrientation") ) { return getNormalOrientation; } - if (HX_FIELD_EQ(inName,"nmeSetStageFocusRect") ) { return nmeSetStageFocusRect_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetStageFocusRect") ) { return nmeGetStageFocusRect_dyn(); } - if (HX_FIELD_EQ(inName,"nmeProcessStageEvent") ) { return nmeProcessStageEvent_dyn(); } - if (HX_FIELD_EQ(inName,"pauseWhenDeactivated") ) { return pauseWhenDeactivated; } - break; - case 21: - if (HX_FIELD_EQ(inName,"shouldRotateInterface") ) { return shouldRotateInterface; } - if (HX_FIELD_EQ(inName,"nme_set_stage_handler") ) { return nme_set_stage_handler; } - if (HX_FIELD_EQ(inName,"nme_stage_get_quality") ) { return nme_stage_get_quality; } - if (HX_FIELD_EQ(inName,"nme_stage_set_quality") ) { return nme_stage_set_quality; } - if (HX_FIELD_EQ(inName,"nme_stage_show_cursor") ) { return nme_stage_show_cursor; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_stage_get_focus_id") ) { return nme_stage_get_focus_id; } - if (HX_FIELD_EQ(inName,"nmeDoProcessStageEvent") ) { return nmeDoProcessStageEvent_dyn(); } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_stage_get_dpi_scale") ) { return nme_stage_get_dpi_scale; } - if (HX_FIELD_EQ(inName,"nme_stage_set_next_wake") ) { return nme_stage_set_next_wake; } - break; - case 24: - if (HX_FIELD_EQ(inName,"OrientationLandscapeLeft") ) { return OrientationLandscapeLeft; } - if (HX_FIELD_EQ(inName,"nme_stage_get_focus_rect") ) { return nme_stage_get_focus_rect; } - if (HX_FIELD_EQ(inName,"nme_stage_set_focus_rect") ) { return nme_stage_set_focus_rect; } - if (HX_FIELD_EQ(inName,"nme_stage_get_scale_mode") ) { return nme_stage_get_scale_mode; } - if (HX_FIELD_EQ(inName,"nme_stage_set_scale_mode") ) { return nme_stage_set_scale_mode; } - if (HX_FIELD_EQ(inName,"nme_stage_request_render") ) { return nme_stage_request_render; } - break; - case 25: - if (HX_FIELD_EQ(inName,"OrientationLandscapeRight") ) { return OrientationLandscapeRight; } - if (HX_FIELD_EQ(inName,"nme_stage_get_stage_width") ) { return nme_stage_get_stage_width; } - if (HX_FIELD_EQ(inName,"nme_stage_get_orientation") ) { return nme_stage_get_orientation; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_stage_get_stage_height") ) { return nme_stage_get_stage_height; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_stage_get_display_state") ) { return nme_stage_get_display_state; } - if (HX_FIELD_EQ(inName,"nme_stage_set_display_state") ) { return nme_stage_set_display_state; } - break; - case 29: - if (HX_FIELD_EQ(inName,"OrientationPortraitUpsideDown") ) { return OrientationPortraitUpsideDown; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_stage_set_fixed_orientation") ) { return nme_stage_set_fixed_orientation; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nme_stage_get_normal_orientation") ) { return nme_stage_get_normal_orientation; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Stage_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"onKey") ) { onKey=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"focus") ) { if (inCallProp) return nmeSetFocus(inValue);focus=inValue.Cast< ::neash::display::InteractiveObject >(); return inValue; } - if (HX_FIELD_EQ(inName,"align") ) { if (inCallProp) return nmeSetAlign(inValue);align=inValue.Cast< ::neash::display::StageAlign >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"onQuit") ) { onQuit=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"active") ) { active=inValue.Cast< bool >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"quality") ) { if (inCallProp) return nmeSetQuality(inValue);quality=inValue.Cast< ::neash::display::StageQuality >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"isOpenGL") ) { isOpenGL=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"dpiScale") ) { dpiScale=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"efAltDown") ) { efAltDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"sUpEvents") ) { sUpEvents=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"scaleMode") ) { if (inCallProp) return nmeSetScaleMode(inValue);scaleMode=inValue.Cast< ::neash::display::StageScaleMode >(); return inValue; } - if (HX_FIELD_EQ(inName,"frameRate") ) { if (inCallProp) return nmeSetFrameRate(inValue);frameRate=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"efLeftDown") ) { efLeftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { efCtrlDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeInvalid") ) { nmeInvalid=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"stageWidth") ) { stageWidth=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"efShiftDown") ) { efShiftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"sDownEvents") ) { sDownEvents=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeLastDown") ) { nmeLastDown=inValue.Cast< Array< ::neash::display::InteractiveObject > >(); return inValue; } - if (HX_FIELD_EQ(inName,"stageHeight") ) { stageHeight=inValue.Cast< int >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sClickEvents") ) { sClickEvents=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeTouchInfo") ) { nmeTouchInfo=inValue.Cast< ::IntHash >(); return inValue; } - if (HX_FIELD_EQ(inName,"displayState") ) { if (inCallProp) return nmeSetDisplayState(inValue);displayState=inValue.Cast< ::neash::display::StageDisplayState >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { efCommandDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeLastRender") ) { nmeLastRender=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDragObject") ) { nmeDragObject=inValue.Cast< ::neash::display::Sprite >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDragBounds") ) { nmeDragBounds=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - if (HX_FIELD_EQ(inName,"renderRequest") ) { renderRequest=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"nmeEarlyWakeup") ) { nmeEarlyWakeup=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"getOrientation") ) { getOrientation=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeFramePeriod") ) { nmeFramePeriod=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDragOffsetY") ) { nmeDragOffsetY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDragOffsetX") ) { nmeDragOffsetX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeJoyAxisData") ) { nmeJoyAxisData=inValue.Cast< ::IntHash >(); return inValue; } - if (HX_FIELD_EQ(inName,"stageFocusRect") ) { if (inCallProp) return nmeSetStageFocusRect(inValue);stageFocusRect=inValue.Cast< bool >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"efLocationRight") ) { efLocationRight=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efNoNativeClick") ) { efNoNativeClick=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeMouseChanges") ) { nmeMouseChanges=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeTouchChanges") ) { nmeTouchChanges=inValue.Cast< Array< ::String > >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_render_stage") ) { nme_render_stage=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeLastClickTime") ) { nmeLastClickTime=inValue.Cast< Float >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"OrientationFaceUp") ) { OrientationFaceUp=inValue.Cast< int >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"OrientationPortrait") ) { OrientationPortrait=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"OrientationFaceDown") ) { OrientationFaceDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_focus") ) { nme_stage_set_focus=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_is_opengl") ) { nme_stage_is_opengl=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_align") ) { nme_stage_get_align=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_align") ) { nme_stage_set_align=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeMouseOverObjects") ) { nmeMouseOverObjects=inValue.Cast< Array< ::neash::display::InteractiveObject > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeFocusOverObjects") ) { nmeFocusOverObjects=inValue.Cast< Array< ::neash::display::InteractiveObject > >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"getNormalOrientation") ) { getNormalOrientation=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"pauseWhenDeactivated") ) { pauseWhenDeactivated=inValue.Cast< bool >(); return inValue; } - break; - case 21: - if (HX_FIELD_EQ(inName,"shouldRotateInterface") ) { shouldRotateInterface=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_set_stage_handler") ) { nme_set_stage_handler=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_quality") ) { nme_stage_get_quality=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_quality") ) { nme_stage_set_quality=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_show_cursor") ) { nme_stage_show_cursor=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_stage_get_focus_id") ) { nme_stage_get_focus_id=inValue.Cast< Dynamic >(); return inValue; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_stage_get_dpi_scale") ) { nme_stage_get_dpi_scale=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_next_wake") ) { nme_stage_set_next_wake=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"OrientationLandscapeLeft") ) { OrientationLandscapeLeft=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_focus_rect") ) { nme_stage_get_focus_rect=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_focus_rect") ) { nme_stage_set_focus_rect=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_scale_mode") ) { nme_stage_get_scale_mode=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_scale_mode") ) { nme_stage_set_scale_mode=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_request_render") ) { nme_stage_request_render=inValue.Cast< Dynamic >(); return inValue; } - break; - case 25: - if (HX_FIELD_EQ(inName,"OrientationLandscapeRight") ) { OrientationLandscapeRight=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_stage_width") ) { nme_stage_get_stage_width=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_orientation") ) { nme_stage_get_orientation=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_stage_get_stage_height") ) { nme_stage_get_stage_height=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_stage_get_display_state") ) { nme_stage_get_display_state=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_display_state") ) { nme_stage_set_display_state=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"OrientationPortraitUpsideDown") ) { OrientationPortraitUpsideDown=inValue.Cast< int >(); return inValue; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_stage_set_fixed_orientation") ) { nme_stage_set_fixed_orientation=inValue.Cast< Dynamic >(); return inValue; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nme_stage_get_normal_orientation") ) { nme_stage_get_normal_orientation=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Stage_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeTouchInfo")); - outFields->push(HX_CSTRING("nmeMouseOverObjects")); - outFields->push(HX_CSTRING("nmeLastRender")); - outFields->push(HX_CSTRING("nmeLastDown")); - outFields->push(HX_CSTRING("nmeLastClickTime")); - outFields->push(HX_CSTRING("nmeInvalid")); - outFields->push(HX_CSTRING("nmeFramePeriod")); - outFields->push(HX_CSTRING("nmeFocusOverObjects")); - outFields->push(HX_CSTRING("nmeDragOffsetY")); - outFields->push(HX_CSTRING("nmeDragOffsetX")); - outFields->push(HX_CSTRING("nmeDragObject")); - outFields->push(HX_CSTRING("nmeDragBounds")); - outFields->push(HX_CSTRING("nmeJoyAxisData")); - outFields->push(HX_CSTRING("stageWidth")); - outFields->push(HX_CSTRING("stageHeight")); - outFields->push(HX_CSTRING("stageFocusRect")); - outFields->push(HX_CSTRING("scaleMode")); - outFields->push(HX_CSTRING("quality")); - outFields->push(HX_CSTRING("pauseWhenDeactivated")); - outFields->push(HX_CSTRING("isOpenGL")); - outFields->push(HX_CSTRING("frameRate")); - outFields->push(HX_CSTRING("focus")); - outFields->push(HX_CSTRING("dpiScale")); - outFields->push(HX_CSTRING("displayState")); - outFields->push(HX_CSTRING("align")); - outFields->push(HX_CSTRING("active")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nmeEarlyWakeup"), - HX_CSTRING("OrientationPortrait"), - HX_CSTRING("OrientationPortraitUpsideDown"), - HX_CSTRING("OrientationLandscapeRight"), - HX_CSTRING("OrientationLandscapeLeft"), - HX_CSTRING("OrientationFaceUp"), - HX_CSTRING("OrientationFaceDown"), - HX_CSTRING("efLeftDown"), - HX_CSTRING("efShiftDown"), - HX_CSTRING("efCtrlDown"), - HX_CSTRING("efAltDown"), - HX_CSTRING("efCommandDown"), - HX_CSTRING("efLocationRight"), - HX_CSTRING("efNoNativeClick"), - HX_CSTRING("nmeMouseChanges"), - HX_CSTRING("nmeTouchChanges"), - HX_CSTRING("sClickEvents"), - HX_CSTRING("sDownEvents"), - HX_CSTRING("sUpEvents"), - HX_CSTRING("getOrientation"), - HX_CSTRING("getNormalOrientation"), - HX_CSTRING("setFixedOrientation"), - HX_CSTRING("shouldRotateInterface"), - HX_CSTRING("nme_set_stage_handler"), - HX_CSTRING("nme_render_stage"), - HX_CSTRING("nme_stage_get_focus_id"), - HX_CSTRING("nme_stage_set_focus"), - HX_CSTRING("nme_stage_get_focus_rect"), - HX_CSTRING("nme_stage_set_focus_rect"), - HX_CSTRING("nme_stage_is_opengl"), - HX_CSTRING("nme_stage_get_stage_width"), - HX_CSTRING("nme_stage_get_stage_height"), - HX_CSTRING("nme_stage_get_dpi_scale"), - HX_CSTRING("nme_stage_get_scale_mode"), - HX_CSTRING("nme_stage_set_scale_mode"), - HX_CSTRING("nme_stage_get_align"), - HX_CSTRING("nme_stage_set_align"), - HX_CSTRING("nme_stage_get_quality"), - HX_CSTRING("nme_stage_set_quality"), - HX_CSTRING("nme_stage_get_display_state"), - HX_CSTRING("nme_stage_set_display_state"), - HX_CSTRING("nme_stage_set_next_wake"), - HX_CSTRING("nme_stage_request_render"), - HX_CSTRING("nme_stage_show_cursor"), - HX_CSTRING("nme_stage_set_fixed_orientation"), - HX_CSTRING("nme_stage_get_orientation"), - HX_CSTRING("nme_stage_get_normal_orientation"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetStageWidth"), - HX_CSTRING("nmeGetStageHeight"), - HX_CSTRING("nmeSetStageFocusRect"), - HX_CSTRING("nmeGetStageFocusRect"), - HX_CSTRING("nmeSetScaleMode"), - HX_CSTRING("nmeGetScaleMode"), - HX_CSTRING("nmeSetQuality"), - HX_CSTRING("nmeGetQuality"), - HX_CSTRING("nmeIsOpenGL"), - HX_CSTRING("nmeSetFrameRate"), - HX_CSTRING("nmeSetFocus"), - HX_CSTRING("nmeGetFocus"), - HX_CSTRING("nmeGetDPIScale"), - HX_CSTRING("nmeSetDisplayState"), - HX_CSTRING("nmeGetDisplayState"), - HX_CSTRING("nmeSetAlign"), - HX_CSTRING("nmeGetAlign"), - HX_CSTRING("showCursor"), - HX_CSTRING("nmeUpdateNextWake"), - HX_CSTRING("nmeStopDrag"), - HX_CSTRING("nmeStartDrag"), - HX_CSTRING("nmeSetActive"), - HX_CSTRING("nmeRender"), - HX_CSTRING("nmePollTimers"), - HX_CSTRING("nmeOnTouch"), - HX_CSTRING("nmeOnResize"), - HX_CSTRING("nmeOnMouse"), - HX_CSTRING("nmeOnKey"), - HX_CSTRING("nmeOnJoystick"), - HX_CSTRING("nmeOnFocus"), - HX_CSTRING("nmeOnChange"), - HX_CSTRING("nmeNextFrameDue"), - HX_CSTRING("nmeGetStage"), - HX_CSTRING("nmeDrag"), - HX_CSTRING("nmeProcessStageEvent"), - HX_CSTRING("dummyTrace"), - HX_CSTRING("nmeDoProcessStageEvent"), - HX_CSTRING("nmeCheckRender"), - HX_CSTRING("nmeCheckInOuts"), - HX_CSTRING("nmeCheckFocusInOuts"), - HX_CSTRING("invalidate"), - HX_CSTRING("nmeTouchInfo"), - HX_CSTRING("nmeMouseOverObjects"), - HX_CSTRING("nmeLastRender"), - HX_CSTRING("nmeLastDown"), - HX_CSTRING("nmeLastClickTime"), - HX_CSTRING("nmeInvalid"), - HX_CSTRING("nmeFramePeriod"), - HX_CSTRING("nmeFocusOverObjects"), - HX_CSTRING("nmeDragOffsetY"), - HX_CSTRING("nmeDragOffsetX"), - HX_CSTRING("nmeDragObject"), - HX_CSTRING("nmeDragBounds"), - HX_CSTRING("nmeJoyAxisData"), - HX_CSTRING("stageWidth"), - HX_CSTRING("stageHeight"), - HX_CSTRING("stageFocusRect"), - HX_CSTRING("scaleMode"), - HX_CSTRING("renderRequest"), - HX_CSTRING("quality"), - HX_CSTRING("pauseWhenDeactivated"), - HX_CSTRING("onQuit"), - HX_CSTRING("onKey"), - HX_CSTRING("isOpenGL"), - HX_CSTRING("frameRate"), - HX_CSTRING("focus"), - HX_CSTRING("dpiScale"), - HX_CSTRING("displayState"), - HX_CSTRING("align"), - HX_CSTRING("active"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Stage_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Stage_obj::nmeEarlyWakeup,"nmeEarlyWakeup"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationPortrait,"OrientationPortrait"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationPortraitUpsideDown,"OrientationPortraitUpsideDown"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationLandscapeRight,"OrientationLandscapeRight"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationLandscapeLeft,"OrientationLandscapeLeft"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationFaceUp,"OrientationFaceUp"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationFaceDown,"OrientationFaceDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efLeftDown,"efLeftDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efShiftDown,"efShiftDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efCtrlDown,"efCtrlDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efAltDown,"efAltDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efCommandDown,"efCommandDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efLocationRight,"efLocationRight"); - HX_MARK_MEMBER_NAME(Stage_obj::efNoNativeClick,"efNoNativeClick"); - HX_MARK_MEMBER_NAME(Stage_obj::nmeMouseChanges,"nmeMouseChanges"); - HX_MARK_MEMBER_NAME(Stage_obj::nmeTouchChanges,"nmeTouchChanges"); - HX_MARK_MEMBER_NAME(Stage_obj::sClickEvents,"sClickEvents"); - HX_MARK_MEMBER_NAME(Stage_obj::sDownEvents,"sDownEvents"); - HX_MARK_MEMBER_NAME(Stage_obj::sUpEvents,"sUpEvents"); - HX_MARK_MEMBER_NAME(Stage_obj::getOrientation,"getOrientation"); - HX_MARK_MEMBER_NAME(Stage_obj::getNormalOrientation,"getNormalOrientation"); - HX_MARK_MEMBER_NAME(Stage_obj::shouldRotateInterface,"shouldRotateInterface"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_set_stage_handler,"nme_set_stage_handler"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_render_stage,"nme_render_stage"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_focus_id,"nme_stage_get_focus_id"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_focus,"nme_stage_set_focus"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_focus_rect,"nme_stage_get_focus_rect"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_focus_rect,"nme_stage_set_focus_rect"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_is_opengl,"nme_stage_is_opengl"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_stage_width,"nme_stage_get_stage_width"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_stage_height,"nme_stage_get_stage_height"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_dpi_scale,"nme_stage_get_dpi_scale"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_scale_mode,"nme_stage_get_scale_mode"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_scale_mode,"nme_stage_set_scale_mode"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_align,"nme_stage_get_align"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_align,"nme_stage_set_align"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_quality,"nme_stage_get_quality"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_quality,"nme_stage_set_quality"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_display_state,"nme_stage_get_display_state"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_display_state,"nme_stage_set_display_state"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_next_wake,"nme_stage_set_next_wake"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_request_render,"nme_stage_request_render"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_show_cursor,"nme_stage_show_cursor"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_fixed_orientation,"nme_stage_set_fixed_orientation"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_orientation,"nme_stage_get_orientation"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_normal_orientation,"nme_stage_get_normal_orientation"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Stage_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Stage_obj::nmeEarlyWakeup,"nmeEarlyWakeup"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationPortrait,"OrientationPortrait"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationPortraitUpsideDown,"OrientationPortraitUpsideDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationLandscapeRight,"OrientationLandscapeRight"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationLandscapeLeft,"OrientationLandscapeLeft"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationFaceUp,"OrientationFaceUp"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationFaceDown,"OrientationFaceDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efLeftDown,"efLeftDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efShiftDown,"efShiftDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efCtrlDown,"efCtrlDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efAltDown,"efAltDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efCommandDown,"efCommandDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efLocationRight,"efLocationRight"); - HX_VISIT_MEMBER_NAME(Stage_obj::efNoNativeClick,"efNoNativeClick"); - HX_VISIT_MEMBER_NAME(Stage_obj::nmeMouseChanges,"nmeMouseChanges"); - HX_VISIT_MEMBER_NAME(Stage_obj::nmeTouchChanges,"nmeTouchChanges"); - HX_VISIT_MEMBER_NAME(Stage_obj::sClickEvents,"sClickEvents"); - HX_VISIT_MEMBER_NAME(Stage_obj::sDownEvents,"sDownEvents"); - HX_VISIT_MEMBER_NAME(Stage_obj::sUpEvents,"sUpEvents"); - HX_VISIT_MEMBER_NAME(Stage_obj::getOrientation,"getOrientation"); - HX_VISIT_MEMBER_NAME(Stage_obj::getNormalOrientation,"getNormalOrientation"); - HX_VISIT_MEMBER_NAME(Stage_obj::shouldRotateInterface,"shouldRotateInterface"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_set_stage_handler,"nme_set_stage_handler"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_render_stage,"nme_render_stage"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_focus_id,"nme_stage_get_focus_id"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_focus,"nme_stage_set_focus"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_focus_rect,"nme_stage_get_focus_rect"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_focus_rect,"nme_stage_set_focus_rect"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_is_opengl,"nme_stage_is_opengl"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_stage_width,"nme_stage_get_stage_width"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_stage_height,"nme_stage_get_stage_height"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_dpi_scale,"nme_stage_get_dpi_scale"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_scale_mode,"nme_stage_get_scale_mode"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_scale_mode,"nme_stage_set_scale_mode"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_align,"nme_stage_get_align"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_align,"nme_stage_set_align"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_quality,"nme_stage_get_quality"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_quality,"nme_stage_set_quality"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_display_state,"nme_stage_get_display_state"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_display_state,"nme_stage_set_display_state"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_next_wake,"nme_stage_set_next_wake"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_request_render,"nme_stage_request_render"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_show_cursor,"nme_stage_show_cursor"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_fixed_orientation,"nme_stage_set_fixed_orientation"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_orientation,"nme_stage_get_orientation"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_normal_orientation,"nme_stage_get_normal_orientation"); -}; - -Class Stage_obj::__mClass; - -void Stage_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.Stage"), hx::TCanCast< Stage_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Stage_obj::__boot() -{ - nmeEarlyWakeup= 0.005; - OrientationPortrait= (int)1; - OrientationPortraitUpsideDown= (int)2; - OrientationLandscapeRight= (int)3; - OrientationLandscapeLeft= (int)4; - OrientationFaceUp= (int)5; - OrientationFaceDown= (int)6; - efLeftDown= (int)1; - efShiftDown= (int)2; - efCtrlDown= (int)4; - efAltDown= (int)8; - efCommandDown= (int)16; - efLocationRight= (int)16384; - efNoNativeClick= (int)65536; - nmeMouseChanges= Array_obj< ::String >::__new().Add(::neash::events::MouseEvent_obj::MOUSE_OUT).Add(::neash::events::MouseEvent_obj::MOUSE_OVER).Add(::neash::events::MouseEvent_obj::ROLL_OUT).Add(::neash::events::MouseEvent_obj::ROLL_OVER); - nmeTouchChanges= Array_obj< ::String >::__new().Add(::neash::events::TouchEvent_obj::TOUCH_OUT).Add(::neash::events::TouchEvent_obj::TOUCH_OVER).Add(::neash::events::TouchEvent_obj::TOUCH_ROLL_OUT).Add(::neash::events::TouchEvent_obj::TOUCH_ROLL_OVER); - sClickEvents= Array_obj< ::String >::__new().Add(HX_CSTRING("click")).Add(HX_CSTRING("middleClick")).Add(HX_CSTRING("rightClick")); - sDownEvents= Array_obj< ::String >::__new().Add(HX_CSTRING("mouseDown")).Add(HX_CSTRING("middleMouseDown")).Add(HX_CSTRING("rightMouseDown")); - sUpEvents= Array_obj< ::String >::__new().Add(HX_CSTRING("mouseUp")).Add(HX_CSTRING("middleMouseUp")).Add(HX_CSTRING("rightMouseUp")); - getOrientation = new __default_getOrientation; - - getNormalOrientation = new __default_getNormalOrientation; - - shouldRotateInterface = new __default_shouldRotateInterface; - - nme_set_stage_handler= ::neash::Loader_obj::load(HX_CSTRING("nme_set_stage_handler"),(int)4); - nme_render_stage= ::neash::Loader_obj::load(HX_CSTRING("nme_render_stage"),(int)1); - nme_stage_get_focus_id= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_focus_id"),(int)1); - nme_stage_set_focus= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_focus"),(int)3); - nme_stage_get_focus_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_focus_rect"),(int)1); - nme_stage_set_focus_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_focus_rect"),(int)2); - nme_stage_is_opengl= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_is_opengl"),(int)1); - nme_stage_get_stage_width= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_stage_width"),(int)1); - nme_stage_get_stage_height= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_stage_height"),(int)1); - nme_stage_get_dpi_scale= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_dpi_scale"),(int)1); - nme_stage_get_scale_mode= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_scale_mode"),(int)1); - nme_stage_set_scale_mode= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_scale_mode"),(int)2); - nme_stage_get_align= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_align"),(int)1); - nme_stage_set_align= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_align"),(int)2); - nme_stage_get_quality= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_quality"),(int)1); - nme_stage_set_quality= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_quality"),(int)2); - nme_stage_get_display_state= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_display_state"),(int)1); - nme_stage_set_display_state= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_display_state"),(int)2); - nme_stage_set_next_wake= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_next_wake"),(int)2); - nme_stage_request_render= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_request_render"),(int)0); - nme_stage_show_cursor= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_show_cursor"),(int)2); - nme_stage_set_fixed_orientation= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_fixed_orientation"),(int)1); - nme_stage_get_orientation= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_orientation"),(int)0); - nme_stage_get_normal_orientation= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_normal_orientation"),(int)0); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/StageAlign.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/StageAlign.cpp deleted file mode 100644 index beeb7d6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/StageAlign.cpp +++ /dev/null @@ -1,127 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_StageAlign -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::StageAlign StageAlign_obj::BOTTOM; - -::neash::display::StageAlign StageAlign_obj::BOTTOM_LEFT; - -::neash::display::StageAlign StageAlign_obj::BOTTOM_RIGHT; - -::neash::display::StageAlign StageAlign_obj::LEFT; - -::neash::display::StageAlign StageAlign_obj::RIGHT; - -::neash::display::StageAlign StageAlign_obj::TOP; - -::neash::display::StageAlign StageAlign_obj::TOP_LEFT; - -::neash::display::StageAlign StageAlign_obj::TOP_RIGHT; - -HX_DEFINE_CREATE_ENUM(StageAlign_obj) - -int StageAlign_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BOTTOM")) return 7; - if (inName==HX_CSTRING("BOTTOM_LEFT")) return 6; - if (inName==HX_CSTRING("BOTTOM_RIGHT")) return 5; - if (inName==HX_CSTRING("LEFT")) return 4; - if (inName==HX_CSTRING("RIGHT")) return 3; - if (inName==HX_CSTRING("TOP")) return 2; - if (inName==HX_CSTRING("TOP_LEFT")) return 1; - if (inName==HX_CSTRING("TOP_RIGHT")) return 0; - return super::__FindIndex(inName); -} - -int StageAlign_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BOTTOM")) return 0; - if (inName==HX_CSTRING("BOTTOM_LEFT")) return 0; - if (inName==HX_CSTRING("BOTTOM_RIGHT")) return 0; - if (inName==HX_CSTRING("LEFT")) return 0; - if (inName==HX_CSTRING("RIGHT")) return 0; - if (inName==HX_CSTRING("TOP")) return 0; - if (inName==HX_CSTRING("TOP_LEFT")) return 0; - if (inName==HX_CSTRING("TOP_RIGHT")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic StageAlign_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BOTTOM")) return BOTTOM; - if (inName==HX_CSTRING("BOTTOM_LEFT")) return BOTTOM_LEFT; - if (inName==HX_CSTRING("BOTTOM_RIGHT")) return BOTTOM_RIGHT; - if (inName==HX_CSTRING("LEFT")) return LEFT; - if (inName==HX_CSTRING("RIGHT")) return RIGHT; - if (inName==HX_CSTRING("TOP")) return TOP; - if (inName==HX_CSTRING("TOP_LEFT")) return TOP_LEFT; - if (inName==HX_CSTRING("TOP_RIGHT")) return TOP_RIGHT; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("TOP_RIGHT"), - HX_CSTRING("TOP_LEFT"), - HX_CSTRING("TOP"), - HX_CSTRING("RIGHT"), - HX_CSTRING("LEFT"), - HX_CSTRING("BOTTOM_RIGHT"), - HX_CSTRING("BOTTOM_LEFT"), - HX_CSTRING("BOTTOM"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StageAlign_obj::BOTTOM,"BOTTOM"); - HX_MARK_MEMBER_NAME(StageAlign_obj::BOTTOM_LEFT,"BOTTOM_LEFT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::BOTTOM_RIGHT,"BOTTOM_RIGHT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::LEFT,"LEFT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::RIGHT,"RIGHT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::TOP,"TOP"); - HX_MARK_MEMBER_NAME(StageAlign_obj::TOP_LEFT,"TOP_LEFT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::TOP_RIGHT,"TOP_RIGHT"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StageAlign_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::BOTTOM,"BOTTOM"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::BOTTOM_LEFT,"BOTTOM_LEFT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::BOTTOM_RIGHT,"BOTTOM_RIGHT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::LEFT,"LEFT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::RIGHT,"RIGHT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::TOP,"TOP"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::TOP_LEFT,"TOP_LEFT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::TOP_RIGHT,"TOP_RIGHT"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class StageAlign_obj::__mClass; - -Dynamic __Create_StageAlign_obj() { return new StageAlign_obj; } - -void StageAlign_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.StageAlign"), hx::TCanCast< StageAlign_obj >,sStaticFields,sMemberFields, - &__Create_StageAlign_obj, &__Create, - &super::__SGetClass(), &CreateStageAlign_obj, sMarkStatics, sVisitStatic); -} - -void StageAlign_obj::__boot() -{ -Static(BOTTOM) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("BOTTOM"),7); -Static(BOTTOM_LEFT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("BOTTOM_LEFT"),6); -Static(BOTTOM_RIGHT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("BOTTOM_RIGHT"),5); -Static(LEFT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("LEFT"),4); -Static(RIGHT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("RIGHT"),3); -Static(TOP) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("TOP"),2); -Static(TOP_LEFT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("TOP_LEFT"),1); -Static(TOP_RIGHT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("TOP_RIGHT"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/StageDisplayState.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/StageDisplayState.cpp deleted file mode 100644 index e9bf2d1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/StageDisplayState.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_StageDisplayState -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::StageDisplayState StageDisplayState_obj::FULL_SCREEN; - -::neash::display::StageDisplayState StageDisplayState_obj::FULL_SCREEN_INTERACTIVE; - -::neash::display::StageDisplayState StageDisplayState_obj::NORMAL; - -HX_DEFINE_CREATE_ENUM(StageDisplayState_obj) - -int StageDisplayState_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("FULL_SCREEN")) return 1; - if (inName==HX_CSTRING("FULL_SCREEN_INTERACTIVE")) return 2; - if (inName==HX_CSTRING("NORMAL")) return 0; - return super::__FindIndex(inName); -} - -int StageDisplayState_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("FULL_SCREEN")) return 0; - if (inName==HX_CSTRING("FULL_SCREEN_INTERACTIVE")) return 0; - if (inName==HX_CSTRING("NORMAL")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic StageDisplayState_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("FULL_SCREEN")) return FULL_SCREEN; - if (inName==HX_CSTRING("FULL_SCREEN_INTERACTIVE")) return FULL_SCREEN_INTERACTIVE; - if (inName==HX_CSTRING("NORMAL")) return NORMAL; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NORMAL"), - HX_CSTRING("FULL_SCREEN"), - HX_CSTRING("FULL_SCREEN_INTERACTIVE"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StageDisplayState_obj::FULL_SCREEN,"FULL_SCREEN"); - HX_MARK_MEMBER_NAME(StageDisplayState_obj::FULL_SCREEN_INTERACTIVE,"FULL_SCREEN_INTERACTIVE"); - HX_MARK_MEMBER_NAME(StageDisplayState_obj::NORMAL,"NORMAL"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StageDisplayState_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(StageDisplayState_obj::FULL_SCREEN,"FULL_SCREEN"); - HX_VISIT_MEMBER_NAME(StageDisplayState_obj::FULL_SCREEN_INTERACTIVE,"FULL_SCREEN_INTERACTIVE"); - HX_VISIT_MEMBER_NAME(StageDisplayState_obj::NORMAL,"NORMAL"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class StageDisplayState_obj::__mClass; - -Dynamic __Create_StageDisplayState_obj() { return new StageDisplayState_obj; } - -void StageDisplayState_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.StageDisplayState"), hx::TCanCast< StageDisplayState_obj >,sStaticFields,sMemberFields, - &__Create_StageDisplayState_obj, &__Create, - &super::__SGetClass(), &CreateStageDisplayState_obj, sMarkStatics, sVisitStatic); -} - -void StageDisplayState_obj::__boot() -{ -Static(FULL_SCREEN) = hx::CreateEnum< StageDisplayState_obj >(HX_CSTRING("FULL_SCREEN"),1); -Static(FULL_SCREEN_INTERACTIVE) = hx::CreateEnum< StageDisplayState_obj >(HX_CSTRING("FULL_SCREEN_INTERACTIVE"),2); -Static(NORMAL) = hx::CreateEnum< StageDisplayState_obj >(HX_CSTRING("NORMAL"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/StageQuality.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/StageQuality.cpp deleted file mode 100644 index 571faa4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/StageQuality.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_StageQuality -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::StageQuality StageQuality_obj::BEST; - -::neash::display::StageQuality StageQuality_obj::HIGH; - -::neash::display::StageQuality StageQuality_obj::LOW; - -::neash::display::StageQuality StageQuality_obj::MEDIUM; - -HX_DEFINE_CREATE_ENUM(StageQuality_obj) - -int StageQuality_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BEST")) return 3; - if (inName==HX_CSTRING("HIGH")) return 2; - if (inName==HX_CSTRING("LOW")) return 0; - if (inName==HX_CSTRING("MEDIUM")) return 1; - return super::__FindIndex(inName); -} - -int StageQuality_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BEST")) return 0; - if (inName==HX_CSTRING("HIGH")) return 0; - if (inName==HX_CSTRING("LOW")) return 0; - if (inName==HX_CSTRING("MEDIUM")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic StageQuality_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BEST")) return BEST; - if (inName==HX_CSTRING("HIGH")) return HIGH; - if (inName==HX_CSTRING("LOW")) return LOW; - if (inName==HX_CSTRING("MEDIUM")) return MEDIUM; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("LOW"), - HX_CSTRING("MEDIUM"), - HX_CSTRING("HIGH"), - HX_CSTRING("BEST"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StageQuality_obj::BEST,"BEST"); - HX_MARK_MEMBER_NAME(StageQuality_obj::HIGH,"HIGH"); - HX_MARK_MEMBER_NAME(StageQuality_obj::LOW,"LOW"); - HX_MARK_MEMBER_NAME(StageQuality_obj::MEDIUM,"MEDIUM"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StageQuality_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(StageQuality_obj::BEST,"BEST"); - HX_VISIT_MEMBER_NAME(StageQuality_obj::HIGH,"HIGH"); - HX_VISIT_MEMBER_NAME(StageQuality_obj::LOW,"LOW"); - HX_VISIT_MEMBER_NAME(StageQuality_obj::MEDIUM,"MEDIUM"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class StageQuality_obj::__mClass; - -Dynamic __Create_StageQuality_obj() { return new StageQuality_obj; } - -void StageQuality_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.StageQuality"), hx::TCanCast< StageQuality_obj >,sStaticFields,sMemberFields, - &__Create_StageQuality_obj, &__Create, - &super::__SGetClass(), &CreateStageQuality_obj, sMarkStatics, sVisitStatic); -} - -void StageQuality_obj::__boot() -{ -Static(BEST) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("BEST"),3); -Static(HIGH) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("HIGH"),2); -Static(LOW) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("LOW"),0); -Static(MEDIUM) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("MEDIUM"),1); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/StageScaleMode.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/StageScaleMode.cpp deleted file mode 100644 index 4021d57..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/StageScaleMode.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_StageScaleMode -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::StageScaleMode StageScaleMode_obj::EXACT_FIT; - -::neash::display::StageScaleMode StageScaleMode_obj::NO_BORDER; - -::neash::display::StageScaleMode StageScaleMode_obj::NO_SCALE; - -::neash::display::StageScaleMode StageScaleMode_obj::SHOW_ALL; - -HX_DEFINE_CREATE_ENUM(StageScaleMode_obj) - -int StageScaleMode_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("EXACT_FIT")) return 3; - if (inName==HX_CSTRING("NO_BORDER")) return 2; - if (inName==HX_CSTRING("NO_SCALE")) return 1; - if (inName==HX_CSTRING("SHOW_ALL")) return 0; - return super::__FindIndex(inName); -} - -int StageScaleMode_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("EXACT_FIT")) return 0; - if (inName==HX_CSTRING("NO_BORDER")) return 0; - if (inName==HX_CSTRING("NO_SCALE")) return 0; - if (inName==HX_CSTRING("SHOW_ALL")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic StageScaleMode_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("EXACT_FIT")) return EXACT_FIT; - if (inName==HX_CSTRING("NO_BORDER")) return NO_BORDER; - if (inName==HX_CSTRING("NO_SCALE")) return NO_SCALE; - if (inName==HX_CSTRING("SHOW_ALL")) return SHOW_ALL; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("SHOW_ALL"), - HX_CSTRING("NO_SCALE"), - HX_CSTRING("NO_BORDER"), - HX_CSTRING("EXACT_FIT"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StageScaleMode_obj::EXACT_FIT,"EXACT_FIT"); - HX_MARK_MEMBER_NAME(StageScaleMode_obj::NO_BORDER,"NO_BORDER"); - HX_MARK_MEMBER_NAME(StageScaleMode_obj::NO_SCALE,"NO_SCALE"); - HX_MARK_MEMBER_NAME(StageScaleMode_obj::SHOW_ALL,"SHOW_ALL"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::EXACT_FIT,"EXACT_FIT"); - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::NO_BORDER,"NO_BORDER"); - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::NO_SCALE,"NO_SCALE"); - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::SHOW_ALL,"SHOW_ALL"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class StageScaleMode_obj::__mClass; - -Dynamic __Create_StageScaleMode_obj() { return new StageScaleMode_obj; } - -void StageScaleMode_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.StageScaleMode"), hx::TCanCast< StageScaleMode_obj >,sStaticFields,sMemberFields, - &__Create_StageScaleMode_obj, &__Create, - &super::__SGetClass(), &CreateStageScaleMode_obj, sMarkStatics, sVisitStatic); -} - -void StageScaleMode_obj::__boot() -{ -Static(EXACT_FIT) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("EXACT_FIT"),3); -Static(NO_BORDER) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("NO_BORDER"),2); -Static(NO_SCALE) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("NO_SCALE"),1); -Static(SHOW_ALL) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("SHOW_ALL"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/Tilesheet.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/Tilesheet.cpp deleted file mode 100644 index e8e5486..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/Tilesheet.cpp +++ /dev/null @@ -1,269 +0,0 @@ -#include - -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_Tilesheet -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -namespace neash{ -namespace display{ - -Void Tilesheet_obj::__construct(::neash::display::BitmapData inImage) -{ -HX_STACK_PUSH("Tilesheet::new","neash/display/Tilesheet.hx",27); -{ - HX_STACK_LINE(28) - this->nmeBitmap = inImage; - HX_STACK_LINE(29) - this->nmeHandle = ::neash::display::Tilesheet_obj::nme_tilesheet_create(inImage->nmeHandle); -} -; - return null(); -} - -Tilesheet_obj::~Tilesheet_obj() { } - -Dynamic Tilesheet_obj::__CreateEmpty() { return new Tilesheet_obj; } -hx::ObjectPtr< Tilesheet_obj > Tilesheet_obj::__new(::neash::display::BitmapData inImage) -{ hx::ObjectPtr< Tilesheet_obj > result = new Tilesheet_obj(); - result->__construct(inImage); - return result;} - -Dynamic Tilesheet_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Tilesheet_obj > result = new Tilesheet_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Tilesheet_obj::drawTiles( ::neash::display::Graphics graphics,Array< Float > tileData,hx::Null< bool > __o_smooth,hx::Null< int > __o_flags){ -bool smooth = __o_smooth.Default(false); -int flags = __o_flags.Default(0); - HX_STACK_PUSH("Tilesheet::drawTiles","neash/display/Tilesheet.hx",59); - HX_STACK_THIS(this); - HX_STACK_ARG(graphics,"graphics"); - HX_STACK_ARG(tileData,"tileData"); - HX_STACK_ARG(smooth,"smooth"); - HX_STACK_ARG(flags,"flags"); -{ - HX_STACK_LINE(59) - graphics->drawTiles(hx::ObjectPtr(this),tileData,smooth,flags); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Tilesheet_obj,drawTiles,(void)) - -Void Tilesheet_obj::addTileRect( ::neash::geom::Rectangle rectangle,::neash::geom::Point centerPoint){ -{ - HX_STACK_PUSH("Tilesheet::addTileRect","neash/display/Tilesheet.hx",34); - HX_STACK_THIS(this); - HX_STACK_ARG(rectangle,"rectangle"); - HX_STACK_ARG(centerPoint,"centerPoint"); - HX_STACK_LINE(34) - ::neash::display::Tilesheet_obj::nme_tilesheet_add_rect(this->nmeHandle,rectangle,centerPoint); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Tilesheet_obj,addTileRect,(void)) - -int Tilesheet_obj::TILE_SCALE; - -int Tilesheet_obj::TILE_ROTATION; - -int Tilesheet_obj::TILE_RGB; - -int Tilesheet_obj::TILE_ALPHA; - -int Tilesheet_obj::TILE_TRANS_2x2; - -int Tilesheet_obj::TILE_BLEND_NORMAL; - -int Tilesheet_obj::TILE_BLEND_ADD; - -Dynamic Tilesheet_obj::nme_tilesheet_create; - -Dynamic Tilesheet_obj::nme_tilesheet_add_rect; - - -Tilesheet_obj::Tilesheet_obj() -{ -} - -void Tilesheet_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Tilesheet); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(nmeBitmap,"nmeBitmap"); - HX_MARK_END_CLASS(); -} - -void Tilesheet_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(nmeBitmap,"nmeBitmap"); -} - -Dynamic Tilesheet_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"TILE_RGB") ) { return TILE_RGB; } - break; - case 9: - if (HX_FIELD_EQ(inName,"drawTiles") ) { return drawTiles_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - if (HX_FIELD_EQ(inName,"nmeBitmap") ) { return nmeBitmap; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TILE_SCALE") ) { return TILE_SCALE; } - if (HX_FIELD_EQ(inName,"TILE_ALPHA") ) { return TILE_ALPHA; } - break; - case 11: - if (HX_FIELD_EQ(inName,"addTileRect") ) { return addTileRect_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"TILE_ROTATION") ) { return TILE_ROTATION; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TILE_TRANS_2x2") ) { return TILE_TRANS_2x2; } - if (HX_FIELD_EQ(inName,"TILE_BLEND_ADD") ) { return TILE_BLEND_ADD; } - break; - case 17: - if (HX_FIELD_EQ(inName,"TILE_BLEND_NORMAL") ) { return TILE_BLEND_NORMAL; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_tilesheet_create") ) { return nme_tilesheet_create; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_tilesheet_add_rect") ) { return nme_tilesheet_add_rect; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Tilesheet_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"TILE_RGB") ) { TILE_RGB=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeBitmap") ) { nmeBitmap=inValue.Cast< ::neash::display::BitmapData >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TILE_SCALE") ) { TILE_SCALE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TILE_ALPHA") ) { TILE_ALPHA=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"TILE_ROTATION") ) { TILE_ROTATION=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TILE_TRANS_2x2") ) { TILE_TRANS_2x2=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TILE_BLEND_ADD") ) { TILE_BLEND_ADD=inValue.Cast< int >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"TILE_BLEND_NORMAL") ) { TILE_BLEND_NORMAL=inValue.Cast< int >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_tilesheet_create") ) { nme_tilesheet_create=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_tilesheet_add_rect") ) { nme_tilesheet_add_rect=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Tilesheet_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("nmeBitmap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("TILE_SCALE"), - HX_CSTRING("TILE_ROTATION"), - HX_CSTRING("TILE_RGB"), - HX_CSTRING("TILE_ALPHA"), - HX_CSTRING("TILE_TRANS_2x2"), - HX_CSTRING("TILE_BLEND_NORMAL"), - HX_CSTRING("TILE_BLEND_ADD"), - HX_CSTRING("nme_tilesheet_create"), - HX_CSTRING("nme_tilesheet_add_rect"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("drawTiles"), - HX_CSTRING("addTileRect"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("nmeBitmap"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Tilesheet_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_SCALE,"TILE_SCALE"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_ROTATION,"TILE_ROTATION"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_RGB,"TILE_RGB"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_ALPHA,"TILE_ALPHA"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_TRANS_2x2,"TILE_TRANS_2x2"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_BLEND_NORMAL,"TILE_BLEND_NORMAL"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_BLEND_ADD,"TILE_BLEND_ADD"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::nme_tilesheet_create,"nme_tilesheet_create"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::nme_tilesheet_add_rect,"nme_tilesheet_add_rect"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Tilesheet_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_SCALE,"TILE_SCALE"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_ROTATION,"TILE_ROTATION"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_RGB,"TILE_RGB"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_ALPHA,"TILE_ALPHA"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_TRANS_2x2,"TILE_TRANS_2x2"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_BLEND_NORMAL,"TILE_BLEND_NORMAL"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_BLEND_ADD,"TILE_BLEND_ADD"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::nme_tilesheet_create,"nme_tilesheet_create"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::nme_tilesheet_add_rect,"nme_tilesheet_add_rect"); -}; - -Class Tilesheet_obj::__mClass; - -void Tilesheet_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.Tilesheet"), hx::TCanCast< Tilesheet_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Tilesheet_obj::__boot() -{ - TILE_SCALE= (int)1; - TILE_ROTATION= (int)2; - TILE_RGB= (int)4; - TILE_ALPHA= (int)8; - TILE_TRANS_2x2= (int)16; - TILE_BLEND_NORMAL= (int)0; - TILE_BLEND_ADD= (int)65536; - nme_tilesheet_create= ::neash::Loader_obj::load(HX_CSTRING("nme_tilesheet_create"),(int)1); - nme_tilesheet_add_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_tilesheet_add_rect"),(int)3); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/TouchInfo.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/TouchInfo.cpp deleted file mode 100644 index 86a4616..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/TouchInfo.cpp +++ /dev/null @@ -1,118 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_TouchInfo -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace display{ - -Void TouchInfo_obj::__construct() -{ -HX_STACK_PUSH("TouchInfo::new","neash/display/Stage.hx",926); -{ - HX_STACK_LINE(926) - this->touchOverObjects = Array_obj< ::neash::display::InteractiveObject >::__new(); -} -; - return null(); -} - -TouchInfo_obj::~TouchInfo_obj() { } - -Dynamic TouchInfo_obj::__CreateEmpty() { return new TouchInfo_obj; } -hx::ObjectPtr< TouchInfo_obj > TouchInfo_obj::__new() -{ hx::ObjectPtr< TouchInfo_obj > result = new TouchInfo_obj(); - result->__construct(); - return result;} - -Dynamic TouchInfo_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TouchInfo_obj > result = new TouchInfo_obj(); - result->__construct(); - return result;} - - -TouchInfo_obj::TouchInfo_obj() -{ -} - -void TouchInfo_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TouchInfo); - HX_MARK_MEMBER_NAME(touchOverObjects,"touchOverObjects"); - HX_MARK_END_CLASS(); -} - -void TouchInfo_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(touchOverObjects,"touchOverObjects"); -} - -Dynamic TouchInfo_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 16: - if (HX_FIELD_EQ(inName,"touchOverObjects") ) { return touchOverObjects; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TouchInfo_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 16: - if (HX_FIELD_EQ(inName,"touchOverObjects") ) { touchOverObjects=inValue.Cast< Array< ::neash::display::InteractiveObject > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void TouchInfo_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("touchOverObjects")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("touchOverObjects"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TouchInfo_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TouchInfo_obj::__mClass,"__mClass"); -}; - -Class TouchInfo_obj::__mClass; - -void TouchInfo_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.TouchInfo"), hx::TCanCast< TouchInfo_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TouchInfo_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/TriangleCulling.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/TriangleCulling.cpp deleted file mode 100644 index 2548403..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/display/TriangleCulling.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_TriangleCulling -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::TriangleCulling TriangleCulling_obj::NEGATIVE; - -::neash::display::TriangleCulling TriangleCulling_obj::NONE; - -::neash::display::TriangleCulling TriangleCulling_obj::POSITIVE; - -HX_DEFINE_CREATE_ENUM(TriangleCulling_obj) - -int TriangleCulling_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("NEGATIVE")) return 2; - if (inName==HX_CSTRING("NONE")) return 1; - if (inName==HX_CSTRING("POSITIVE")) return 0; - return super::__FindIndex(inName); -} - -int TriangleCulling_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("NEGATIVE")) return 0; - if (inName==HX_CSTRING("NONE")) return 0; - if (inName==HX_CSTRING("POSITIVE")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic TriangleCulling_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("NEGATIVE")) return NEGATIVE; - if (inName==HX_CSTRING("NONE")) return NONE; - if (inName==HX_CSTRING("POSITIVE")) return POSITIVE; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("POSITIVE"), - HX_CSTRING("NONE"), - HX_CSTRING("NEGATIVE"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TriangleCulling_obj::NEGATIVE,"NEGATIVE"); - HX_MARK_MEMBER_NAME(TriangleCulling_obj::NONE,"NONE"); - HX_MARK_MEMBER_NAME(TriangleCulling_obj::POSITIVE,"POSITIVE"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TriangleCulling_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(TriangleCulling_obj::NEGATIVE,"NEGATIVE"); - HX_VISIT_MEMBER_NAME(TriangleCulling_obj::NONE,"NONE"); - HX_VISIT_MEMBER_NAME(TriangleCulling_obj::POSITIVE,"POSITIVE"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class TriangleCulling_obj::__mClass; - -Dynamic __Create_TriangleCulling_obj() { return new TriangleCulling_obj; } - -void TriangleCulling_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.TriangleCulling"), hx::TCanCast< TriangleCulling_obj >,sStaticFields,sMemberFields, - &__Create_TriangleCulling_obj, &__Create, - &super::__SGetClass(), &CreateTriangleCulling_obj, sMarkStatics, sVisitStatic); -} - -void TriangleCulling_obj::__boot() -{ -Static(NEGATIVE) = hx::CreateEnum< TriangleCulling_obj >(HX_CSTRING("NEGATIVE"),2); -Static(NONE) = hx::CreateEnum< TriangleCulling_obj >(HX_CSTRING("NONE"),1); -Static(POSITIVE) = hx::CreateEnum< TriangleCulling_obj >(HX_CSTRING("POSITIVE"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/errors/ArgumentError.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/errors/ArgumentError.cpp deleted file mode 100644 index b14fcc2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/errors/ArgumentError.cpp +++ /dev/null @@ -1,96 +0,0 @@ -#include - -#ifndef INCLUDED_neash_errors_ArgumentError -#include -#endif -#ifndef INCLUDED_neash_errors_Error -#include -#endif -namespace neash{ -namespace errors{ - -Void ArgumentError_obj::__construct(Dynamic inMessage,Dynamic id) -{ -HX_STACK_PUSH("ArgumentError::new","neash/errors/ArgumentError.hx",4); -{ - HX_STACK_LINE(4) - super::__construct(inMessage,id); -} -; - return null(); -} - -ArgumentError_obj::~ArgumentError_obj() { } - -Dynamic ArgumentError_obj::__CreateEmpty() { return new ArgumentError_obj; } -hx::ObjectPtr< ArgumentError_obj > ArgumentError_obj::__new(Dynamic inMessage,Dynamic id) -{ hx::ObjectPtr< ArgumentError_obj > result = new ArgumentError_obj(); - result->__construct(inMessage,id); - return result;} - -Dynamic ArgumentError_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ArgumentError_obj > result = new ArgumentError_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - - -ArgumentError_obj::ArgumentError_obj() -{ -} - -void ArgumentError_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ArgumentError); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ArgumentError_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ArgumentError_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic ArgumentError_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void ArgumentError_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ArgumentError_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ArgumentError_obj::__mClass,"__mClass"); -}; - -Class ArgumentError_obj::__mClass; - -void ArgumentError_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.errors.ArgumentError"), hx::TCanCast< ArgumentError_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ArgumentError_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace errors diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/errors/EOFError.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/errors/EOFError.cpp deleted file mode 100644 index 0789c0c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/errors/EOFError.cpp +++ /dev/null @@ -1,96 +0,0 @@ -#include - -#ifndef INCLUDED_neash_errors_EOFError -#include -#endif -#ifndef INCLUDED_neash_errors_Error -#include -#endif -namespace neash{ -namespace errors{ - -Void EOFError_obj::__construct() -{ -HX_STACK_PUSH("EOFError::new","neash/errors/EOFError.hx",8); -{ - HX_STACK_LINE(8) - super::__construct(HX_CSTRING("End of file was encountered"),(int)2030); -} -; - return null(); -} - -EOFError_obj::~EOFError_obj() { } - -Dynamic EOFError_obj::__CreateEmpty() { return new EOFError_obj; } -hx::ObjectPtr< EOFError_obj > EOFError_obj::__new() -{ hx::ObjectPtr< EOFError_obj > result = new EOFError_obj(); - result->__construct(); - return result;} - -Dynamic EOFError_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< EOFError_obj > result = new EOFError_obj(); - result->__construct(); - return result;} - - -EOFError_obj::EOFError_obj() -{ -} - -void EOFError_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(EOFError); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void EOFError_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic EOFError_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic EOFError_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void EOFError_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(EOFError_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(EOFError_obj::__mClass,"__mClass"); -}; - -Class EOFError_obj::__mClass; - -void EOFError_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.errors.EOFError"), hx::TCanCast< EOFError_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void EOFError_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace errors diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/errors/Error.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/errors/Error.cpp deleted file mode 100644 index 2e4b578..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/errors/Error.cpp +++ /dev/null @@ -1,150 +0,0 @@ -#include - -#ifndef INCLUDED_neash_errors_Error -#include -#endif -namespace neash{ -namespace errors{ - -Void Error_obj::__construct(Dynamic inMessage,Dynamic __o_id) -{ -HX_STACK_PUSH("Error::new","neash/errors/Error.hx",12); -Dynamic id = __o_id.Default(0); -{ - HX_STACK_LINE(13) - this->message = inMessage; - HX_STACK_LINE(14) - this->errorID = id; -} -; - return null(); -} - -Error_obj::~Error_obj() { } - -Dynamic Error_obj::__CreateEmpty() { return new Error_obj; } -hx::ObjectPtr< Error_obj > Error_obj::__new(Dynamic inMessage,Dynamic __o_id) -{ hx::ObjectPtr< Error_obj > result = new Error_obj(); - result->__construct(inMessage,__o_id); - return result;} - -Dynamic Error_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Error_obj > result = new Error_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::String Error_obj::toString( ){ - HX_STACK_PUSH("Error::toString","neash/errors/Error.hx",25); - HX_STACK_THIS(this); - HX_STACK_LINE(25) - return this->message; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Error_obj,toString,return ) - -::String Error_obj::getStackTrace( ){ - HX_STACK_PUSH("Error::getStackTrace","neash/errors/Error.hx",19); - HX_STACK_THIS(this); - HX_STACK_LINE(19) - return HX_CSTRING(""); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Error_obj,getStackTrace,return ) - - -Error_obj::Error_obj() -{ -} - -void Error_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Error); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_MEMBER_NAME(message,"message"); - HX_MARK_MEMBER_NAME(errorID,"errorID"); - HX_MARK_END_CLASS(); -} - -void Error_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(name,"name"); - HX_VISIT_MEMBER_NAME(message,"message"); - HX_VISIT_MEMBER_NAME(errorID,"errorID"); -} - -Dynamic Error_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 7: - if (HX_FIELD_EQ(inName,"message") ) { return message; } - if (HX_FIELD_EQ(inName,"errorID") ) { return errorID; } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"getStackTrace") ) { return getStackTrace_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Error_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< Dynamic >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"message") ) { message=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"errorID") ) { errorID=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Error_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("name")); - outFields->push(HX_CSTRING("message")); - outFields->push(HX_CSTRING("errorID")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("getStackTrace"), - HX_CSTRING("name"), - HX_CSTRING("message"), - HX_CSTRING("errorID"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Error_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Error_obj::__mClass,"__mClass"); -}; - -Class Error_obj::__mClass; - -void Error_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.errors.Error"), hx::TCanCast< Error_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Error_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace errors diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/errors/RangeError.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/errors/RangeError.cpp deleted file mode 100644 index ffe0838..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/errors/RangeError.cpp +++ /dev/null @@ -1,97 +0,0 @@ -#include - -#ifndef INCLUDED_neash_errors_Error -#include -#endif -#ifndef INCLUDED_neash_errors_RangeError -#include -#endif -namespace neash{ -namespace errors{ - -Void RangeError_obj::__construct(::String __o_inMessage) -{ -HX_STACK_PUSH("RangeError::new","neash/errors/RangeError.hx",8); -::String inMessage = __o_inMessage.Default(HX_CSTRING("")); -{ - HX_STACK_LINE(8) - super::__construct(inMessage,(int)0); -} -; - return null(); -} - -RangeError_obj::~RangeError_obj() { } - -Dynamic RangeError_obj::__CreateEmpty() { return new RangeError_obj; } -hx::ObjectPtr< RangeError_obj > RangeError_obj::__new(::String __o_inMessage) -{ hx::ObjectPtr< RangeError_obj > result = new RangeError_obj(); - result->__construct(__o_inMessage); - return result;} - -Dynamic RangeError_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< RangeError_obj > result = new RangeError_obj(); - result->__construct(inArgs[0]); - return result;} - - -RangeError_obj::RangeError_obj() -{ -} - -void RangeError_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(RangeError); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void RangeError_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic RangeError_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic RangeError_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void RangeError_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(RangeError_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(RangeError_obj::__mClass,"__mClass"); -}; - -Class RangeError_obj::__mClass; - -void RangeError_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.errors.RangeError"), hx::TCanCast< RangeError_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void RangeError_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace errors diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/ErrorEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/ErrorEvent.cpp deleted file mode 100644 index c431cd1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/ErrorEvent.cpp +++ /dev/null @@ -1,144 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_TextEvent -#include -#endif -namespace neash{ -namespace events{ - -Void ErrorEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id) -{ -HX_STACK_PUSH("ErrorEvent::new","neash/events/ErrorEvent.hx",11); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -::String text = __o_text.Default(HX_CSTRING("")); -int id = __o_id.Default(0); -{ - HX_STACK_LINE(12) - super::__construct(type,bubbles,cancelable,text); - HX_STACK_LINE(13) - this->errorID = id; -} -; - return null(); -} - -ErrorEvent_obj::~ErrorEvent_obj() { } - -Dynamic ErrorEvent_obj::__CreateEmpty() { return new ErrorEvent_obj; } -hx::ObjectPtr< ErrorEvent_obj > ErrorEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id) -{ hx::ObjectPtr< ErrorEvent_obj > result = new ErrorEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_text,__o_id); - return result;} - -Dynamic ErrorEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ErrorEvent_obj > result = new ErrorEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4]); - return result;} - -::String ErrorEvent_obj::toString( ){ - HX_STACK_PUSH("ErrorEvent::toString","neash/events/ErrorEvent.hx",24); - HX_STACK_THIS(this); - HX_STACK_LINE(24) - return ((((((((((HX_CSTRING("[ErrorEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" text=")) + this->text) + HX_CSTRING(" errorID=")) + this->errorID) + HX_CSTRING("]")); -} - - -::neash::events::Event ErrorEvent_obj::clone( ){ - HX_STACK_PUSH("ErrorEvent::clone","neash/events/ErrorEvent.hx",18); - HX_STACK_THIS(this); - HX_STACK_LINE(18) - return ::neash::events::ErrorEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->text,this->errorID); -} - - - -ErrorEvent_obj::ErrorEvent_obj() -{ -} - -void ErrorEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ErrorEvent); - HX_MARK_MEMBER_NAME(errorID,"errorID"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ErrorEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(errorID,"errorID"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ErrorEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"errorID") ) { return errorID; } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ErrorEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"errorID") ) { errorID=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ErrorEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("errorID")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("errorID"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ErrorEvent_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ErrorEvent_obj::__mClass,"__mClass"); -}; - -Class ErrorEvent_obj::__mClass; - -void ErrorEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.ErrorEvent"), hx::TCanCast< ErrorEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ErrorEvent_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/Event.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/Event.cpp deleted file mode 100644 index ad7071e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/Event.cpp +++ /dev/null @@ -1,665 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventPhase -#include -#endif -namespace neash{ -namespace events{ - -Void Event_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable) -{ -HX_STACK_PUSH("Event::new","neash/events/Event.hx",51); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -{ - HX_STACK_LINE(52) - this->_type = type; - HX_STACK_LINE(53) - this->_bubbles = bubbles; - HX_STACK_LINE(54) - this->_cancelable = cancelable; - HX_STACK_LINE(55) - this->nmeIsCancelled = false; - HX_STACK_LINE(56) - this->nmeIsCancelledNow = false; - HX_STACK_LINE(57) - this->_target = null(); - HX_STACK_LINE(58) - this->_currentTarget = null(); - HX_STACK_LINE(59) - this->_eventPhase = ::neash::events::EventPhase_obj::AT_TARGET; -} -; - return null(); -} - -Event_obj::~Event_obj() { } - -Dynamic Event_obj::__CreateEmpty() { return new Event_obj; } -hx::ObjectPtr< Event_obj > Event_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable) -{ hx::ObjectPtr< Event_obj > result = new Event_obj(); - result->__construct(type,__o_bubbles,__o_cancelable); - return result;} - -Dynamic Event_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Event_obj > result = new Event_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -::String Event_obj::nmeGetType( ){ - HX_STACK_PUSH("Event::nmeGetType","neash/events/Event.hx",120); - HX_STACK_THIS(this); - HX_STACK_LINE(120) - return this->_type; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetType,return ) - -Dynamic Event_obj::nmeSetTarget( Dynamic v){ - HX_STACK_PUSH("Event::nmeSetTarget","neash/events/Event.hx",119); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(119) - this->_target = v; - HX_STACK_LINE(119) - return v; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Event_obj,nmeSetTarget,return ) - -Dynamic Event_obj::nmeGetTarget( ){ - HX_STACK_PUSH("Event::nmeGetTarget","neash/events/Event.hx",118); - HX_STACK_THIS(this); - HX_STACK_LINE(118) - return this->_target; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetTarget,return ) - -int Event_obj::nmeGetEventPhase( ){ - HX_STACK_PUSH("Event::nmeGetEventPhase","neash/events/Event.hx",117); - HX_STACK_THIS(this); - HX_STACK_LINE(117) - return this->_eventPhase; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetEventPhase,return ) - -Dynamic Event_obj::nmeSetCurrentTarget( Dynamic v){ - HX_STACK_PUSH("Event::nmeSetCurrentTarget","neash/events/Event.hx",116); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(116) - this->_currentTarget = v; - HX_STACK_LINE(116) - return v; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Event_obj,nmeSetCurrentTarget,return ) - -Dynamic Event_obj::nmeGetCurrentTarget( ){ - HX_STACK_PUSH("Event::nmeGetCurrentTarget","neash/events/Event.hx",115); - HX_STACK_THIS(this); - HX_STACK_LINE(115) - return this->_currentTarget; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetCurrentTarget,return ) - -bool Event_obj::nmeGetCancelable( ){ - HX_STACK_PUSH("Event::nmeGetCancelable","neash/events/Event.hx",114); - HX_STACK_THIS(this); - HX_STACK_LINE(114) - return this->_cancelable; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetCancelable,return ) - -bool Event_obj::nmeGetBubbles( ){ - HX_STACK_PUSH("Event::nmeGetBubbles","neash/events/Event.hx",113); - HX_STACK_THIS(this); - HX_STACK_LINE(113) - return this->_bubbles; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetBubbles,return ) - -::String Event_obj::toString( ){ - HX_STACK_PUSH("Event::toString","neash/events/Event.hx",103); - HX_STACK_THIS(this); - HX_STACK_LINE(103) - return ((((((HX_CSTRING("[Event type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING("]")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,toString,return ) - -Void Event_obj::stopPropagation( ){ -{ - HX_STACK_PUSH("Event::stopPropagation","neash/events/Event.hx",96); - HX_STACK_THIS(this); - HX_STACK_LINE(96) - if ((this->nmeGetCancelable())){ - HX_STACK_LINE(98) - this->nmeIsCancelled = true; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,stopPropagation,(void)) - -Void Event_obj::stopImmediatePropagation( ){ -{ - HX_STACK_PUSH("Event::stopImmediatePropagation","neash/events/Event.hx",89); - HX_STACK_THIS(this); - HX_STACK_LINE(89) - if ((this->nmeGetCancelable())){ - HX_STACK_LINE(91) - this->nmeIsCancelledNow = this->nmeIsCancelled = true; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,stopImmediatePropagation,(void)) - -Void Event_obj::nmeSetPhase( int inPhase){ -{ - HX_STACK_PUSH("Event::nmeSetPhase","neash/events/Event.hx",82); - HX_STACK_THIS(this); - HX_STACK_ARG(inPhase,"inPhase"); - HX_STACK_LINE(82) - this->_eventPhase = inPhase; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Event_obj,nmeSetPhase,(void)) - -bool Event_obj::nmeGetIsCancelledNow( ){ - HX_STACK_PUSH("Event::nmeGetIsCancelledNow","neash/events/Event.hx",76); - HX_STACK_THIS(this); - HX_STACK_LINE(76) - return this->nmeIsCancelledNow; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetIsCancelledNow,return ) - -bool Event_obj::nmeGetIsCancelled( ){ - HX_STACK_PUSH("Event::nmeGetIsCancelled","neash/events/Event.hx",70); - HX_STACK_THIS(this); - HX_STACK_LINE(70) - return this->nmeIsCancelled; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetIsCancelled,return ) - -::neash::events::Event Event_obj::clone( ){ - HX_STACK_PUSH("Event::clone","neash/events/Event.hx",64); - HX_STACK_THIS(this); - HX_STACK_LINE(64) - return ::neash::events::Event_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,clone,return ) - -::String Event_obj::ACTIVATE; - -::String Event_obj::ADDED; - -::String Event_obj::ADDED_TO_STAGE; - -::String Event_obj::CANCEL; - -::String Event_obj::CHANGE; - -::String Event_obj::CLOSE; - -::String Event_obj::COMPLETE; - -::String Event_obj::CONNECT; - -::String Event_obj::DEACTIVATE; - -::String Event_obj::ENTER_FRAME; - -::String Event_obj::ID3; - -::String Event_obj::INIT; - -::String Event_obj::MOUSE_LEAVE; - -::String Event_obj::OPEN; - -::String Event_obj::REMOVED; - -::String Event_obj::REMOVED_FROM_STAGE; - -::String Event_obj::RENDER; - -::String Event_obj::RESIZE; - -::String Event_obj::SCROLL; - -::String Event_obj::SELECT; - -::String Event_obj::SOUND_COMPLETE; - -::String Event_obj::TAB_CHILDREN_CHANGE; - -::String Event_obj::TAB_ENABLED_CHANGE; - -::String Event_obj::TAB_INDEX_CHANGE; - -::String Event_obj::UNLOAD; - - -Event_obj::Event_obj() -{ -} - -void Event_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Event); - HX_MARK_MEMBER_NAME(nmeIsCancelledNow,"nmeIsCancelledNow"); - HX_MARK_MEMBER_NAME(nmeIsCancelled,"nmeIsCancelled"); - HX_MARK_MEMBER_NAME(_type,"_type"); - HX_MARK_MEMBER_NAME(_target,"_target"); - HX_MARK_MEMBER_NAME(_eventPhase,"_eventPhase"); - HX_MARK_MEMBER_NAME(_currentTarget,"_currentTarget"); - HX_MARK_MEMBER_NAME(_cancelable,"_cancelable"); - HX_MARK_MEMBER_NAME(_bubbles,"_bubbles"); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_MEMBER_NAME(target,"target"); - HX_MARK_MEMBER_NAME(eventPhase,"eventPhase"); - HX_MARK_MEMBER_NAME(currentTarget,"currentTarget"); - HX_MARK_MEMBER_NAME(cancelable,"cancelable"); - HX_MARK_MEMBER_NAME(bubbles,"bubbles"); - HX_MARK_END_CLASS(); -} - -void Event_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeIsCancelledNow,"nmeIsCancelledNow"); - HX_VISIT_MEMBER_NAME(nmeIsCancelled,"nmeIsCancelled"); - HX_VISIT_MEMBER_NAME(_type,"_type"); - HX_VISIT_MEMBER_NAME(_target,"_target"); - HX_VISIT_MEMBER_NAME(_eventPhase,"_eventPhase"); - HX_VISIT_MEMBER_NAME(_currentTarget,"_currentTarget"); - HX_VISIT_MEMBER_NAME(_cancelable,"_cancelable"); - HX_VISIT_MEMBER_NAME(_bubbles,"_bubbles"); - HX_VISIT_MEMBER_NAME(type,"type"); - HX_VISIT_MEMBER_NAME(target,"target"); - HX_VISIT_MEMBER_NAME(eventPhase,"eventPhase"); - HX_VISIT_MEMBER_NAME(currentTarget,"currentTarget"); - HX_VISIT_MEMBER_NAME(cancelable,"cancelable"); - HX_VISIT_MEMBER_NAME(bubbles,"bubbles"); -} - -Dynamic Event_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"ID3") ) { return ID3; } - break; - case 4: - if (HX_FIELD_EQ(inName,"INIT") ) { return INIT; } - if (HX_FIELD_EQ(inName,"OPEN") ) { return OPEN; } - if (HX_FIELD_EQ(inName,"type") ) { return inCallProp ? nmeGetType() : type; } - break; - case 5: - if (HX_FIELD_EQ(inName,"ADDED") ) { return ADDED; } - if (HX_FIELD_EQ(inName,"CLOSE") ) { return CLOSE; } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - if (HX_FIELD_EQ(inName,"_type") ) { return _type; } - break; - case 6: - if (HX_FIELD_EQ(inName,"CANCEL") ) { return CANCEL; } - if (HX_FIELD_EQ(inName,"CHANGE") ) { return CHANGE; } - if (HX_FIELD_EQ(inName,"RENDER") ) { return RENDER; } - if (HX_FIELD_EQ(inName,"RESIZE") ) { return RESIZE; } - if (HX_FIELD_EQ(inName,"SCROLL") ) { return SCROLL; } - if (HX_FIELD_EQ(inName,"SELECT") ) { return SELECT; } - if (HX_FIELD_EQ(inName,"UNLOAD") ) { return UNLOAD; } - if (HX_FIELD_EQ(inName,"target") ) { return inCallProp ? nmeGetTarget() : target; } - break; - case 7: - if (HX_FIELD_EQ(inName,"CONNECT") ) { return CONNECT; } - if (HX_FIELD_EQ(inName,"REMOVED") ) { return REMOVED; } - if (HX_FIELD_EQ(inName,"_target") ) { return _target; } - if (HX_FIELD_EQ(inName,"bubbles") ) { return inCallProp ? nmeGetBubbles() : bubbles; } - break; - case 8: - if (HX_FIELD_EQ(inName,"ACTIVATE") ) { return ACTIVATE; } - if (HX_FIELD_EQ(inName,"COMPLETE") ) { return COMPLETE; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"_bubbles") ) { return _bubbles; } - break; - case 10: - if (HX_FIELD_EQ(inName,"DEACTIVATE") ) { return DEACTIVATE; } - if (HX_FIELD_EQ(inName,"nmeGetType") ) { return nmeGetType_dyn(); } - if (HX_FIELD_EQ(inName,"eventPhase") ) { return inCallProp ? nmeGetEventPhase() : eventPhase; } - if (HX_FIELD_EQ(inName,"cancelable") ) { return inCallProp ? nmeGetCancelable() : cancelable; } - break; - case 11: - if (HX_FIELD_EQ(inName,"ENTER_FRAME") ) { return ENTER_FRAME; } - if (HX_FIELD_EQ(inName,"MOUSE_LEAVE") ) { return MOUSE_LEAVE; } - if (HX_FIELD_EQ(inName,"nmeSetPhase") ) { return nmeSetPhase_dyn(); } - if (HX_FIELD_EQ(inName,"_eventPhase") ) { return _eventPhase; } - if (HX_FIELD_EQ(inName,"_cancelable") ) { return _cancelable; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeSetTarget") ) { return nmeSetTarget_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTarget") ) { return nmeGetTarget_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"nmeGetBubbles") ) { return nmeGetBubbles_dyn(); } - if (HX_FIELD_EQ(inName,"currentTarget") ) { return inCallProp ? nmeGetCurrentTarget() : currentTarget; } - break; - case 14: - if (HX_FIELD_EQ(inName,"ADDED_TO_STAGE") ) { return ADDED_TO_STAGE; } - if (HX_FIELD_EQ(inName,"SOUND_COMPLETE") ) { return SOUND_COMPLETE; } - if (HX_FIELD_EQ(inName,"nmeIsCancelled") ) { return nmeIsCancelled; } - if (HX_FIELD_EQ(inName,"_currentTarget") ) { return _currentTarget; } - break; - case 15: - if (HX_FIELD_EQ(inName,"stopPropagation") ) { return stopPropagation_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"TAB_INDEX_CHANGE") ) { return TAB_INDEX_CHANGE; } - if (HX_FIELD_EQ(inName,"nmeGetEventPhase") ) { return nmeGetEventPhase_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetCancelable") ) { return nmeGetCancelable_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeGetIsCancelled") ) { return nmeGetIsCancelled_dyn(); } - if (HX_FIELD_EQ(inName,"nmeIsCancelledNow") ) { return nmeIsCancelledNow; } - break; - case 18: - if (HX_FIELD_EQ(inName,"REMOVED_FROM_STAGE") ) { return REMOVED_FROM_STAGE; } - if (HX_FIELD_EQ(inName,"TAB_ENABLED_CHANGE") ) { return TAB_ENABLED_CHANGE; } - break; - case 19: - if (HX_FIELD_EQ(inName,"TAB_CHILDREN_CHANGE") ) { return TAB_CHILDREN_CHANGE; } - if (HX_FIELD_EQ(inName,"nmeSetCurrentTarget") ) { return nmeSetCurrentTarget_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetCurrentTarget") ) { return nmeGetCurrentTarget_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeGetIsCancelledNow") ) { return nmeGetIsCancelledNow_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"stopImmediatePropagation") ) { return stopImmediatePropagation_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Event_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"ID3") ) { ID3=inValue.Cast< ::String >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"INIT") ) { INIT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"OPEN") ) { OPEN=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"ADDED") ) { ADDED=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"CLOSE") ) { CLOSE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_type") ) { _type=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"CANCEL") ) { CANCEL=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"CHANGE") ) { CHANGE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"RENDER") ) { RENDER=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"RESIZE") ) { RESIZE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"SCROLL") ) { SCROLL=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"SELECT") ) { SELECT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"UNLOAD") ) { UNLOAD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"target") ) { if (inCallProp) return nmeSetTarget(inValue);target=inValue.Cast< Dynamic >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"CONNECT") ) { CONNECT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"REMOVED") ) { REMOVED=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_target") ) { _target=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"bubbles") ) { bubbles=inValue.Cast< bool >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"ACTIVATE") ) { ACTIVATE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"COMPLETE") ) { COMPLETE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_bubbles") ) { _bubbles=inValue.Cast< bool >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"DEACTIVATE") ) { DEACTIVATE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"eventPhase") ) { eventPhase=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"cancelable") ) { cancelable=inValue.Cast< bool >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"ENTER_FRAME") ) { ENTER_FRAME=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MOUSE_LEAVE") ) { MOUSE_LEAVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_eventPhase") ) { _eventPhase=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"_cancelable") ) { _cancelable=inValue.Cast< bool >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"currentTarget") ) { if (inCallProp) return nmeSetCurrentTarget(inValue);currentTarget=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"ADDED_TO_STAGE") ) { ADDED_TO_STAGE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"SOUND_COMPLETE") ) { SOUND_COMPLETE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeIsCancelled") ) { nmeIsCancelled=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"_currentTarget") ) { _currentTarget=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"TAB_INDEX_CHANGE") ) { TAB_INDEX_CHANGE=inValue.Cast< ::String >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeIsCancelledNow") ) { nmeIsCancelledNow=inValue.Cast< bool >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"REMOVED_FROM_STAGE") ) { REMOVED_FROM_STAGE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TAB_ENABLED_CHANGE") ) { TAB_ENABLED_CHANGE=inValue.Cast< ::String >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"TAB_CHILDREN_CHANGE") ) { TAB_CHILDREN_CHANGE=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Event_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeIsCancelledNow")); - outFields->push(HX_CSTRING("nmeIsCancelled")); - outFields->push(HX_CSTRING("_type")); - outFields->push(HX_CSTRING("_target")); - outFields->push(HX_CSTRING("_eventPhase")); - outFields->push(HX_CSTRING("_currentTarget")); - outFields->push(HX_CSTRING("_cancelable")); - outFields->push(HX_CSTRING("_bubbles")); - outFields->push(HX_CSTRING("type")); - outFields->push(HX_CSTRING("target")); - outFields->push(HX_CSTRING("eventPhase")); - outFields->push(HX_CSTRING("currentTarget")); - outFields->push(HX_CSTRING("cancelable")); - outFields->push(HX_CSTRING("bubbles")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("ACTIVATE"), - HX_CSTRING("ADDED"), - HX_CSTRING("ADDED_TO_STAGE"), - HX_CSTRING("CANCEL"), - HX_CSTRING("CHANGE"), - HX_CSTRING("CLOSE"), - HX_CSTRING("COMPLETE"), - HX_CSTRING("CONNECT"), - HX_CSTRING("DEACTIVATE"), - HX_CSTRING("ENTER_FRAME"), - HX_CSTRING("ID3"), - HX_CSTRING("INIT"), - HX_CSTRING("MOUSE_LEAVE"), - HX_CSTRING("OPEN"), - HX_CSTRING("REMOVED"), - HX_CSTRING("REMOVED_FROM_STAGE"), - HX_CSTRING("RENDER"), - HX_CSTRING("RESIZE"), - HX_CSTRING("SCROLL"), - HX_CSTRING("SELECT"), - HX_CSTRING("SOUND_COMPLETE"), - HX_CSTRING("TAB_CHILDREN_CHANGE"), - HX_CSTRING("TAB_ENABLED_CHANGE"), - HX_CSTRING("TAB_INDEX_CHANGE"), - HX_CSTRING("UNLOAD"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetType"), - HX_CSTRING("nmeSetTarget"), - HX_CSTRING("nmeGetTarget"), - HX_CSTRING("nmeGetEventPhase"), - HX_CSTRING("nmeSetCurrentTarget"), - HX_CSTRING("nmeGetCurrentTarget"), - HX_CSTRING("nmeGetCancelable"), - HX_CSTRING("nmeGetBubbles"), - HX_CSTRING("toString"), - HX_CSTRING("stopPropagation"), - HX_CSTRING("stopImmediatePropagation"), - HX_CSTRING("nmeSetPhase"), - HX_CSTRING("nmeGetIsCancelledNow"), - HX_CSTRING("nmeGetIsCancelled"), - HX_CSTRING("clone"), - HX_CSTRING("nmeIsCancelledNow"), - HX_CSTRING("nmeIsCancelled"), - HX_CSTRING("_type"), - HX_CSTRING("_target"), - HX_CSTRING("_eventPhase"), - HX_CSTRING("_currentTarget"), - HX_CSTRING("_cancelable"), - HX_CSTRING("_bubbles"), - HX_CSTRING("type"), - HX_CSTRING("target"), - HX_CSTRING("eventPhase"), - HX_CSTRING("currentTarget"), - HX_CSTRING("cancelable"), - HX_CSTRING("bubbles"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Event_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Event_obj::ACTIVATE,"ACTIVATE"); - HX_MARK_MEMBER_NAME(Event_obj::ADDED,"ADDED"); - HX_MARK_MEMBER_NAME(Event_obj::ADDED_TO_STAGE,"ADDED_TO_STAGE"); - HX_MARK_MEMBER_NAME(Event_obj::CANCEL,"CANCEL"); - HX_MARK_MEMBER_NAME(Event_obj::CHANGE,"CHANGE"); - HX_MARK_MEMBER_NAME(Event_obj::CLOSE,"CLOSE"); - HX_MARK_MEMBER_NAME(Event_obj::COMPLETE,"COMPLETE"); - HX_MARK_MEMBER_NAME(Event_obj::CONNECT,"CONNECT"); - HX_MARK_MEMBER_NAME(Event_obj::DEACTIVATE,"DEACTIVATE"); - HX_MARK_MEMBER_NAME(Event_obj::ENTER_FRAME,"ENTER_FRAME"); - HX_MARK_MEMBER_NAME(Event_obj::ID3,"ID3"); - HX_MARK_MEMBER_NAME(Event_obj::INIT,"INIT"); - HX_MARK_MEMBER_NAME(Event_obj::MOUSE_LEAVE,"MOUSE_LEAVE"); - HX_MARK_MEMBER_NAME(Event_obj::OPEN,"OPEN"); - HX_MARK_MEMBER_NAME(Event_obj::REMOVED,"REMOVED"); - HX_MARK_MEMBER_NAME(Event_obj::REMOVED_FROM_STAGE,"REMOVED_FROM_STAGE"); - HX_MARK_MEMBER_NAME(Event_obj::RENDER,"RENDER"); - HX_MARK_MEMBER_NAME(Event_obj::RESIZE,"RESIZE"); - HX_MARK_MEMBER_NAME(Event_obj::SCROLL,"SCROLL"); - HX_MARK_MEMBER_NAME(Event_obj::SELECT,"SELECT"); - HX_MARK_MEMBER_NAME(Event_obj::SOUND_COMPLETE,"SOUND_COMPLETE"); - HX_MARK_MEMBER_NAME(Event_obj::TAB_CHILDREN_CHANGE,"TAB_CHILDREN_CHANGE"); - HX_MARK_MEMBER_NAME(Event_obj::TAB_ENABLED_CHANGE,"TAB_ENABLED_CHANGE"); - HX_MARK_MEMBER_NAME(Event_obj::TAB_INDEX_CHANGE,"TAB_INDEX_CHANGE"); - HX_MARK_MEMBER_NAME(Event_obj::UNLOAD,"UNLOAD"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Event_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Event_obj::ACTIVATE,"ACTIVATE"); - HX_VISIT_MEMBER_NAME(Event_obj::ADDED,"ADDED"); - HX_VISIT_MEMBER_NAME(Event_obj::ADDED_TO_STAGE,"ADDED_TO_STAGE"); - HX_VISIT_MEMBER_NAME(Event_obj::CANCEL,"CANCEL"); - HX_VISIT_MEMBER_NAME(Event_obj::CHANGE,"CHANGE"); - HX_VISIT_MEMBER_NAME(Event_obj::CLOSE,"CLOSE"); - HX_VISIT_MEMBER_NAME(Event_obj::COMPLETE,"COMPLETE"); - HX_VISIT_MEMBER_NAME(Event_obj::CONNECT,"CONNECT"); - HX_VISIT_MEMBER_NAME(Event_obj::DEACTIVATE,"DEACTIVATE"); - HX_VISIT_MEMBER_NAME(Event_obj::ENTER_FRAME,"ENTER_FRAME"); - HX_VISIT_MEMBER_NAME(Event_obj::ID3,"ID3"); - HX_VISIT_MEMBER_NAME(Event_obj::INIT,"INIT"); - HX_VISIT_MEMBER_NAME(Event_obj::MOUSE_LEAVE,"MOUSE_LEAVE"); - HX_VISIT_MEMBER_NAME(Event_obj::OPEN,"OPEN"); - HX_VISIT_MEMBER_NAME(Event_obj::REMOVED,"REMOVED"); - HX_VISIT_MEMBER_NAME(Event_obj::REMOVED_FROM_STAGE,"REMOVED_FROM_STAGE"); - HX_VISIT_MEMBER_NAME(Event_obj::RENDER,"RENDER"); - HX_VISIT_MEMBER_NAME(Event_obj::RESIZE,"RESIZE"); - HX_VISIT_MEMBER_NAME(Event_obj::SCROLL,"SCROLL"); - HX_VISIT_MEMBER_NAME(Event_obj::SELECT,"SELECT"); - HX_VISIT_MEMBER_NAME(Event_obj::SOUND_COMPLETE,"SOUND_COMPLETE"); - HX_VISIT_MEMBER_NAME(Event_obj::TAB_CHILDREN_CHANGE,"TAB_CHILDREN_CHANGE"); - HX_VISIT_MEMBER_NAME(Event_obj::TAB_ENABLED_CHANGE,"TAB_ENABLED_CHANGE"); - HX_VISIT_MEMBER_NAME(Event_obj::TAB_INDEX_CHANGE,"TAB_INDEX_CHANGE"); - HX_VISIT_MEMBER_NAME(Event_obj::UNLOAD,"UNLOAD"); -}; - -Class Event_obj::__mClass; - -void Event_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.Event"), hx::TCanCast< Event_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Event_obj::__boot() -{ - ACTIVATE= HX_CSTRING("activate"); - ADDED= HX_CSTRING("added"); - ADDED_TO_STAGE= HX_CSTRING("addedToStage"); - CANCEL= HX_CSTRING("cancel"); - CHANGE= HX_CSTRING("change"); - CLOSE= HX_CSTRING("close"); - COMPLETE= HX_CSTRING("complete"); - CONNECT= HX_CSTRING("connect"); - DEACTIVATE= HX_CSTRING("deactivate"); - ENTER_FRAME= HX_CSTRING("enterFrame"); - ID3= HX_CSTRING("id3"); - INIT= HX_CSTRING("init"); - MOUSE_LEAVE= HX_CSTRING("mouseLeave"); - OPEN= HX_CSTRING("open"); - REMOVED= HX_CSTRING("removed"); - REMOVED_FROM_STAGE= HX_CSTRING("removedFromStage"); - RENDER= HX_CSTRING("render"); - RESIZE= HX_CSTRING("resize"); - SCROLL= HX_CSTRING("scroll"); - SELECT= HX_CSTRING("select"); - SOUND_COMPLETE= HX_CSTRING("soundComplete"); - TAB_CHILDREN_CHANGE= HX_CSTRING("tabChildrenChange"); - TAB_ENABLED_CHANGE= HX_CSTRING("tabEnabledChange"); - TAB_INDEX_CHANGE= HX_CSTRING("tabIndexChange"); - UNLOAD= HX_CSTRING("unload"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/EventDispatcher.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/EventDispatcher.cpp deleted file mode 100644 index f04782f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/EventDispatcher.cpp +++ /dev/null @@ -1,419 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_neash_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_EventPhase -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IOErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_Listener -#include -#endif -#ifndef INCLUDED_neash_events_TextEvent -#include -#endif -#ifndef INCLUDED_neash_utils_WeakRef -#include -#endif -namespace neash{ -namespace events{ - -Void EventDispatcher_obj::__construct(::neash::events::IEventDispatcher target) -{ -HX_STACK_PUSH("EventDispatcher::new","neash/events/EventDispatcher.hx",17); -{ - HX_STACK_LINE(18) - this->nmeTarget = ( (((target == null()))) ? ::neash::events::IEventDispatcher(hx::ObjectPtr(this)) : ::neash::events::IEventDispatcher(target) ); - HX_STACK_LINE(19) - this->nmeEventMap = null(); -} -; - return null(); -} - -EventDispatcher_obj::~EventDispatcher_obj() { } - -Dynamic EventDispatcher_obj::__CreateEmpty() { return new EventDispatcher_obj; } -hx::ObjectPtr< EventDispatcher_obj > EventDispatcher_obj::__new(::neash::events::IEventDispatcher target) -{ hx::ObjectPtr< EventDispatcher_obj > result = new EventDispatcher_obj(); - result->__construct(target); - return result;} - -Dynamic EventDispatcher_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< EventDispatcher_obj > result = new EventDispatcher_obj(); - result->__construct(inArgs[0]); - return result;} - -hx::Object *EventDispatcher_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::neash::events::IEventDispatcher_obj)) return operator ::neash::events::IEventDispatcher_obj *(); - return super::__ToInterface(inType); -} - -bool EventDispatcher_obj::willTrigger( ::String type){ - HX_STACK_PUSH("EventDispatcher::willTrigger","neash/events/EventDispatcher.hx",151); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_LINE(152) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(153) - return false; - } - HX_STACK_LINE(154) - return this->nmeEventMap->exists(type); -} - - -HX_DEFINE_DYNAMIC_FUNC1(EventDispatcher_obj,willTrigger,return ) - -::String EventDispatcher_obj::toString( ){ - HX_STACK_PUSH("EventDispatcher::toString","neash/events/EventDispatcher.hx",145); - HX_STACK_THIS(this); - HX_STACK_LINE(145) - return ((HX_CSTRING("[object ") + ::Type_obj::getClassName(::Type_obj::getClass(hx::ObjectPtr(this)))) + HX_CSTRING("]")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EventDispatcher_obj,toString,return ) - -Void EventDispatcher_obj::removeEventListener( ::String type,Dynamic listener,hx::Null< bool > __o_capture){ -bool capture = __o_capture.Default(false); - HX_STACK_PUSH("EventDispatcher::removeEventListener","neash/events/EventDispatcher.hx",121); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(listener,"listener"); - HX_STACK_ARG(capture,"capture"); -{ - HX_STACK_LINE(122) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(123) - return null(); - } - HX_STACK_LINE(125) - if ((!(this->nmeEventMap->exists(type)))){ - HX_STACK_LINE(125) - return null(); - } - HX_STACK_LINE(127) - Array< ::neash::utils::WeakRef > list = this->nmeEventMap->get(type); HX_STACK_VAR(list,"list"); - HX_STACK_LINE(128) - { - HX_STACK_LINE(128) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = list->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(128) - while(((_g1 < _g))){ - HX_STACK_LINE(128) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(130) - if (((list->__get(i) != null()))){ - HX_STACK_LINE(132) - ::neash::events::Listener li = list->__get(i)->get(); HX_STACK_VAR(li,"li"); - HX_STACK_LINE(133) - if ((li->Is(listener,capture))){ - HX_STACK_LINE(136) - list[i] = null(); - HX_STACK_LINE(137) - return null(); - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(EventDispatcher_obj,removeEventListener,(void)) - -bool EventDispatcher_obj::hasEventListener( ::String type){ - HX_STACK_PUSH("EventDispatcher::hasEventListener","neash/events/EventDispatcher.hx",107); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_LINE(108) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(109) - return false; - } - HX_STACK_LINE(110) - Array< ::neash::utils::WeakRef > h = this->nmeEventMap->get(type); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(111) - if (((h != null()))){ - HX_STACK_LINE(112) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(112) - while(((_g < h->length))){ - HX_STACK_LINE(112) - ::neash::utils::WeakRef item = h->__get(_g); HX_STACK_VAR(item,"item"); - HX_STACK_LINE(112) - ++(_g); - HX_STACK_LINE(113) - if (((item != null()))){ - HX_STACK_LINE(113) - return true; - } - } - } - HX_STACK_LINE(116) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(EventDispatcher_obj,hasEventListener,return ) - -Void EventDispatcher_obj::DispatchIOErrorEvent( ){ -{ - HX_STACK_PUSH("EventDispatcher::DispatchIOErrorEvent","neash/events/EventDispatcher.hx",100); - HX_STACK_THIS(this); - HX_STACK_LINE(101) - ::neash::events::IOErrorEvent evt = ::neash::events::IOErrorEvent_obj::__new(::neash::events::IOErrorEvent_obj::IO_ERROR,null(),null(),null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(102) - this->dispatchEvent(evt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EventDispatcher_obj,DispatchIOErrorEvent,(void)) - -bool EventDispatcher_obj::dispatchEvent( ::neash::events::Event event){ - HX_STACK_PUSH("EventDispatcher::dispatchEvent","neash/events/EventDispatcher.hx",51); - HX_STACK_THIS(this); - HX_STACK_ARG(event,"event"); - HX_STACK_LINE(52) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(53) - return false; - } - HX_STACK_LINE(54) - if (((event->nmeGetTarget() == null()))){ - HX_STACK_LINE(55) - event->nmeSetTarget(this->nmeTarget); - } - HX_STACK_LINE(57) - if (((event->nmeGetCurrentTarget() == null()))){ - HX_STACK_LINE(58) - event->nmeSetCurrentTarget(this->nmeTarget); - } - HX_STACK_LINE(60) - Array< ::neash::utils::WeakRef > list = this->nmeEventMap->get(event->nmeGetType()); HX_STACK_VAR(list,"list"); - HX_STACK_LINE(61) - bool capture = (event->nmeGetEventPhase() == ::neash::events::EventPhase_obj::CAPTURING_PHASE); HX_STACK_VAR(capture,"capture"); - HX_STACK_LINE(63) - if (((list != null()))){ - HX_STACK_LINE(65) - int idx = (int)0; HX_STACK_VAR(idx,"idx"); - HX_STACK_LINE(66) - while(((idx < list->length))){ - HX_STACK_LINE(68) - ::neash::utils::WeakRef list_item = list->__get(idx); HX_STACK_VAR(list_item,"list_item"); - HX_STACK_LINE(69) - ::neash::events::Listener listener = ( (((list_item != null()))) ? ::neash::events::Listener(list_item->get()) : ::neash::events::Listener(null()) ); HX_STACK_VAR(listener,"listener"); - HX_STACK_LINE(71) - if (((listener == null()))){ - HX_STACK_LINE(72) - list->splice(idx,(int)1); - } - else{ - HX_STACK_LINE(78) - if (((listener->mUseCapture == capture))){ - HX_STACK_LINE(80) - listener->dispatchEvent(event); - HX_STACK_LINE(81) - if ((event->nmeGetIsCancelledNow())){ - HX_STACK_LINE(82) - return true; - } - } - HX_STACK_LINE(84) - (idx)++; - } - } - HX_STACK_LINE(88) - return true; - } - HX_STACK_LINE(91) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(EventDispatcher_obj,dispatchEvent,return ) - -Void EventDispatcher_obj::DispatchCompleteEvent( ){ -{ - HX_STACK_PUSH("EventDispatcher::DispatchCompleteEvent","neash/events/EventDispatcher.hx",44); - HX_STACK_THIS(this); - HX_STACK_LINE(45) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::Event_obj::COMPLETE,null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(46) - this->dispatchEvent(evt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EventDispatcher_obj,DispatchCompleteEvent,(void)) - -Void EventDispatcher_obj::addEventListener( ::String type,Dynamic listener,hx::Null< bool > __o_useCapture,hx::Null< int > __o_priority,hx::Null< bool > __o_useWeakReference){ -bool useCapture = __o_useCapture.Default(false); -int priority = __o_priority.Default(0); -bool useWeakReference = __o_useWeakReference.Default(false); - HX_STACK_PUSH("EventDispatcher::addEventListener","neash/events/EventDispatcher.hx",24); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(listener,"listener"); - HX_STACK_ARG(useCapture,"useCapture"); - HX_STACK_ARG(priority,"priority"); - HX_STACK_ARG(useWeakReference,"useWeakReference"); -{ - HX_STACK_LINE(25) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(26) - this->nmeEventMap = ::Hash_obj::__new(); - } - HX_STACK_LINE(27) - Array< ::neash::utils::WeakRef > list = this->nmeEventMap->get(type); HX_STACK_VAR(list,"list"); - HX_STACK_LINE(28) - if (((list == null()))){ - HX_STACK_LINE(30) - list = Array_obj< ::neash::utils::WeakRef >::__new(); - HX_STACK_LINE(31) - this->nmeEventMap->set(type,list); - } - HX_STACK_LINE(34) - ::neash::events::Listener l = ::neash::events::Listener_obj::__new(listener,useCapture,priority); HX_STACK_VAR(l,"l"); - HX_STACK_LINE(35) - list->push(::neash::utils::WeakRef_obj::__new(l,useWeakReference)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(EventDispatcher_obj,addEventListener,(void)) - - -EventDispatcher_obj::EventDispatcher_obj() -{ -} - -void EventDispatcher_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(EventDispatcher); - HX_MARK_MEMBER_NAME(nmeTarget,"nmeTarget"); - HX_MARK_MEMBER_NAME(nmeEventMap,"nmeEventMap"); - HX_MARK_END_CLASS(); -} - -void EventDispatcher_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeTarget,"nmeTarget"); - HX_VISIT_MEMBER_NAME(nmeEventMap,"nmeEventMap"); -} - -Dynamic EventDispatcher_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeTarget") ) { return nmeTarget; } - break; - case 11: - if (HX_FIELD_EQ(inName,"willTrigger") ) { return willTrigger_dyn(); } - if (HX_FIELD_EQ(inName,"nmeEventMap") ) { return nmeEventMap; } - break; - case 13: - if (HX_FIELD_EQ(inName,"dispatchEvent") ) { return dispatchEvent_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"hasEventListener") ) { return hasEventListener_dyn(); } - if (HX_FIELD_EQ(inName,"addEventListener") ) { return addEventListener_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"removeEventListener") ) { return removeEventListener_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"DispatchIOErrorEvent") ) { return DispatchIOErrorEvent_dyn(); } - break; - case 21: - if (HX_FIELD_EQ(inName,"DispatchCompleteEvent") ) { return DispatchCompleteEvent_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic EventDispatcher_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"nmeTarget") ) { nmeTarget=inValue.Cast< ::neash::events::IEventDispatcher >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeEventMap") ) { nmeEventMap=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void EventDispatcher_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeTarget")); - outFields->push(HX_CSTRING("nmeEventMap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("willTrigger"), - HX_CSTRING("toString"), - HX_CSTRING("removeEventListener"), - HX_CSTRING("hasEventListener"), - HX_CSTRING("DispatchIOErrorEvent"), - HX_CSTRING("dispatchEvent"), - HX_CSTRING("DispatchCompleteEvent"), - HX_CSTRING("addEventListener"), - HX_CSTRING("nmeTarget"), - HX_CSTRING("nmeEventMap"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(EventDispatcher_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(EventDispatcher_obj::__mClass,"__mClass"); -}; - -Class EventDispatcher_obj::__mClass; - -void EventDispatcher_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.EventDispatcher"), hx::TCanCast< EventDispatcher_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void EventDispatcher_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/EventPhase.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/EventPhase.cpp deleted file mode 100644 index 396cb87..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/EventPhase.cpp +++ /dev/null @@ -1,123 +0,0 @@ -#include - -#ifndef INCLUDED_neash_events_EventPhase -#include -#endif -namespace neash{ -namespace events{ - -Void EventPhase_obj::__construct() -{ - return null(); -} - -EventPhase_obj::~EventPhase_obj() { } - -Dynamic EventPhase_obj::__CreateEmpty() { return new EventPhase_obj; } -hx::ObjectPtr< EventPhase_obj > EventPhase_obj::__new() -{ hx::ObjectPtr< EventPhase_obj > result = new EventPhase_obj(); - result->__construct(); - return result;} - -Dynamic EventPhase_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< EventPhase_obj > result = new EventPhase_obj(); - result->__construct(); - return result;} - -int EventPhase_obj::CAPTURING_PHASE; - -int EventPhase_obj::AT_TARGET; - -int EventPhase_obj::BUBBLING_PHASE; - - -EventPhase_obj::EventPhase_obj() -{ -} - -void EventPhase_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(EventPhase); - HX_MARK_END_CLASS(); -} - -void EventPhase_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic EventPhase_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"AT_TARGET") ) { return AT_TARGET; } - break; - case 14: - if (HX_FIELD_EQ(inName,"BUBBLING_PHASE") ) { return BUBBLING_PHASE; } - break; - case 15: - if (HX_FIELD_EQ(inName,"CAPTURING_PHASE") ) { return CAPTURING_PHASE; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic EventPhase_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"AT_TARGET") ) { AT_TARGET=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"BUBBLING_PHASE") ) { BUBBLING_PHASE=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"CAPTURING_PHASE") ) { CAPTURING_PHASE=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void EventPhase_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("CAPTURING_PHASE"), - HX_CSTRING("AT_TARGET"), - HX_CSTRING("BUBBLING_PHASE"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(EventPhase_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(EventPhase_obj::CAPTURING_PHASE,"CAPTURING_PHASE"); - HX_MARK_MEMBER_NAME(EventPhase_obj::AT_TARGET,"AT_TARGET"); - HX_MARK_MEMBER_NAME(EventPhase_obj::BUBBLING_PHASE,"BUBBLING_PHASE"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(EventPhase_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(EventPhase_obj::CAPTURING_PHASE,"CAPTURING_PHASE"); - HX_VISIT_MEMBER_NAME(EventPhase_obj::AT_TARGET,"AT_TARGET"); - HX_VISIT_MEMBER_NAME(EventPhase_obj::BUBBLING_PHASE,"BUBBLING_PHASE"); -}; - -Class EventPhase_obj::__mClass; - -void EventPhase_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.EventPhase"), hx::TCanCast< EventPhase_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void EventPhase_obj::__boot() -{ - CAPTURING_PHASE= (int)0; - AT_TARGET= (int)1; - BUBBLING_PHASE= (int)2; -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/FocusEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/FocusEvent.cpp deleted file mode 100644 index fe200e0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/FocusEvent.cpp +++ /dev/null @@ -1,223 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_FocusEvent -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace events{ - -Void FocusEvent_obj::__construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_shiftKey,hx::Null< int > __o_keyCode,::String __o_direction) -{ -HX_STACK_PUSH("FocusEvent::new","neash/events/FocusEvent.hx",21); -bool bubbles = __o_bubbles.Default(true); -bool cancelable = __o_cancelable.Default(false); -bool shiftKey = __o_shiftKey.Default(false); -int keyCode = __o_keyCode.Default(0); -::String direction = __o_direction.Default(HX_CSTRING("none")); -{ - HX_STACK_LINE(22) - super::__construct(inType,bubbles,cancelable); - HX_STACK_LINE(23) - this->relatedObject = relatedObject; - HX_STACK_LINE(24) - this->keyCode = keyCode; - HX_STACK_LINE(25) - this->shiftKey = shiftKey; -} -; - return null(); -} - -FocusEvent_obj::~FocusEvent_obj() { } - -Dynamic FocusEvent_obj::__CreateEmpty() { return new FocusEvent_obj; } -hx::ObjectPtr< FocusEvent_obj > FocusEvent_obj::__new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_shiftKey,hx::Null< int > __o_keyCode,::String __o_direction) -{ hx::ObjectPtr< FocusEvent_obj > result = new FocusEvent_obj(); - result->__construct(inType,__o_bubbles,__o_cancelable,relatedObject,__o_shiftKey,__o_keyCode,__o_direction); - return result;} - -Dynamic FocusEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< FocusEvent_obj > result = new FocusEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6]); - return result;} - -::String FocusEvent_obj::toString( ){ - HX_STACK_PUSH("FocusEvent::toString","neash/events/FocusEvent.hx",36); - HX_STACK_THIS(this); - HX_STACK_LINE(36) - return ((((((((((((HX_CSTRING("[FocusEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" relatedObject=")) + ::Std_obj::string(this->relatedObject)) + HX_CSTRING(" shiftKey=")) + ::Std_obj::string(this->shiftKey)) + HX_CSTRING(" keyCode=")) + this->keyCode) + HX_CSTRING("]")); -} - - -::neash::events::Event FocusEvent_obj::clone( ){ - HX_STACK_PUSH("FocusEvent::clone","neash/events/FocusEvent.hx",30); - HX_STACK_THIS(this); - HX_STACK_LINE(30) - return ::neash::events::FocusEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->relatedObject,this->shiftKey,this->keyCode,null()); -} - - -::String FocusEvent_obj::FOCUS_IN; - -::String FocusEvent_obj::FOCUS_OUT; - -::String FocusEvent_obj::KEY_FOCUS_CHANGE; - -::String FocusEvent_obj::MOUSE_FOCUS_CHANGE; - - -FocusEvent_obj::FocusEvent_obj() -{ -} - -void FocusEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(FocusEvent); - HX_MARK_MEMBER_NAME(shiftKey,"shiftKey"); - HX_MARK_MEMBER_NAME(relatedObject,"relatedObject"); - HX_MARK_MEMBER_NAME(keyCode,"keyCode"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void FocusEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(shiftKey,"shiftKey"); - HX_VISIT_MEMBER_NAME(relatedObject,"relatedObject"); - HX_VISIT_MEMBER_NAME(keyCode,"keyCode"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic FocusEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"keyCode") ) { return keyCode; } - break; - case 8: - if (HX_FIELD_EQ(inName,"FOCUS_IN") ) { return FOCUS_IN; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"shiftKey") ) { return shiftKey; } - break; - case 9: - if (HX_FIELD_EQ(inName,"FOCUS_OUT") ) { return FOCUS_OUT; } - break; - case 13: - if (HX_FIELD_EQ(inName,"relatedObject") ) { return relatedObject; } - break; - case 16: - if (HX_FIELD_EQ(inName,"KEY_FOCUS_CHANGE") ) { return KEY_FOCUS_CHANGE; } - break; - case 18: - if (HX_FIELD_EQ(inName,"MOUSE_FOCUS_CHANGE") ) { return MOUSE_FOCUS_CHANGE; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic FocusEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"keyCode") ) { keyCode=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"FOCUS_IN") ) { FOCUS_IN=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"shiftKey") ) { shiftKey=inValue.Cast< bool >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"FOCUS_OUT") ) { FOCUS_OUT=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"relatedObject") ) { relatedObject=inValue.Cast< ::neash::display::InteractiveObject >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"KEY_FOCUS_CHANGE") ) { KEY_FOCUS_CHANGE=inValue.Cast< ::String >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"MOUSE_FOCUS_CHANGE") ) { MOUSE_FOCUS_CHANGE=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void FocusEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("shiftKey")); - outFields->push(HX_CSTRING("relatedObject")); - outFields->push(HX_CSTRING("keyCode")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("FOCUS_IN"), - HX_CSTRING("FOCUS_OUT"), - HX_CSTRING("KEY_FOCUS_CHANGE"), - HX_CSTRING("MOUSE_FOCUS_CHANGE"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("shiftKey"), - HX_CSTRING("relatedObject"), - HX_CSTRING("keyCode"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FocusEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(FocusEvent_obj::FOCUS_IN,"FOCUS_IN"); - HX_MARK_MEMBER_NAME(FocusEvent_obj::FOCUS_OUT,"FOCUS_OUT"); - HX_MARK_MEMBER_NAME(FocusEvent_obj::KEY_FOCUS_CHANGE,"KEY_FOCUS_CHANGE"); - HX_MARK_MEMBER_NAME(FocusEvent_obj::MOUSE_FOCUS_CHANGE,"MOUSE_FOCUS_CHANGE"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FocusEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FocusEvent_obj::FOCUS_IN,"FOCUS_IN"); - HX_VISIT_MEMBER_NAME(FocusEvent_obj::FOCUS_OUT,"FOCUS_OUT"); - HX_VISIT_MEMBER_NAME(FocusEvent_obj::KEY_FOCUS_CHANGE,"KEY_FOCUS_CHANGE"); - HX_VISIT_MEMBER_NAME(FocusEvent_obj::MOUSE_FOCUS_CHANGE,"MOUSE_FOCUS_CHANGE"); -}; - -Class FocusEvent_obj::__mClass; - -void FocusEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.FocusEvent"), hx::TCanCast< FocusEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void FocusEvent_obj::__boot() -{ - FOCUS_IN= HX_CSTRING("focusIn"); - FOCUS_OUT= HX_CSTRING("focusOut"); - KEY_FOCUS_CHANGE= HX_CSTRING("keyFocusChange"); - MOUSE_FOCUS_CHANGE= HX_CSTRING("mouseFocusChange"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/HTTPStatusEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/HTTPStatusEvent.cpp deleted file mode 100644 index 75448c0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/HTTPStatusEvent.cpp +++ /dev/null @@ -1,152 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_HTTPStatusEvent -#include -#endif -namespace neash{ -namespace events{ - -Void HTTPStatusEvent_obj::__construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_status) -{ -HX_STACK_PUSH("HTTPStatusEvent::new","neash/events/HTTPStatusEvent.hx",12); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -int status = __o_status.Default(0); -{ - HX_STACK_LINE(13) - super::__construct(inType,bubbles,cancelable); - HX_STACK_LINE(14) - this->status = status; -} -; - return null(); -} - -HTTPStatusEvent_obj::~HTTPStatusEvent_obj() { } - -Dynamic HTTPStatusEvent_obj::__CreateEmpty() { return new HTTPStatusEvent_obj; } -hx::ObjectPtr< HTTPStatusEvent_obj > HTTPStatusEvent_obj::__new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_status) -{ hx::ObjectPtr< HTTPStatusEvent_obj > result = new HTTPStatusEvent_obj(); - result->__construct(inType,__o_bubbles,__o_cancelable,__o_status); - return result;} - -Dynamic HTTPStatusEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< HTTPStatusEvent_obj > result = new HTTPStatusEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -::String HTTPStatusEvent_obj::toString( ){ - HX_STACK_PUSH("HTTPStatusEvent::toString","neash/events/HTTPStatusEvent.hx",25); - HX_STACK_THIS(this); - HX_STACK_LINE(25) - return ((((((((HX_CSTRING("[HTTPStatusEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" status=")) + this->status) + HX_CSTRING("]")); -} - - -::neash::events::Event HTTPStatusEvent_obj::clone( ){ - HX_STACK_PUSH("HTTPStatusEvent::clone","neash/events/HTTPStatusEvent.hx",19); - HX_STACK_THIS(this); - HX_STACK_LINE(19) - return ::neash::events::HTTPStatusEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->status); -} - - -::String HTTPStatusEvent_obj::HTTP_STATUS; - - -HTTPStatusEvent_obj::HTTPStatusEvent_obj() -{ -} - -void HTTPStatusEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(HTTPStatusEvent); - HX_MARK_MEMBER_NAME(status,"status"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void HTTPStatusEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(status,"status"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic HTTPStatusEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"status") ) { return status; } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"HTTP_STATUS") ) { return HTTP_STATUS; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic HTTPStatusEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"status") ) { status=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"HTTP_STATUS") ) { HTTP_STATUS=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void HTTPStatusEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("status")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("HTTP_STATUS"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("status"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(HTTPStatusEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(HTTPStatusEvent_obj::HTTP_STATUS,"HTTP_STATUS"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(HTTPStatusEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(HTTPStatusEvent_obj::HTTP_STATUS,"HTTP_STATUS"); -}; - -Class HTTPStatusEvent_obj::__mClass; - -void HTTPStatusEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.HTTPStatusEvent"), hx::TCanCast< HTTPStatusEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void HTTPStatusEvent_obj::__boot() -{ - HTTP_STATUS= HX_CSTRING("httpStatus"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/IEventDispatcher.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/IEventDispatcher.cpp deleted file mode 100644 index cc1d4c6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/IEventDispatcher.cpp +++ /dev/null @@ -1,45 +0,0 @@ -#include - -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace events{ - -HX_DEFINE_DYNAMIC_FUNC1(IEventDispatcher_obj,willTrigger,return ) - -HX_DEFINE_DYNAMIC_FUNC3(IEventDispatcher_obj,removeEventListener,) - -HX_DEFINE_DYNAMIC_FUNC1(IEventDispatcher_obj,hasEventListener,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IEventDispatcher_obj,dispatchEvent,return ) - -HX_DEFINE_DYNAMIC_FUNC5(IEventDispatcher_obj,addEventListener,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IEventDispatcher_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IEventDispatcher_obj::__mClass,"__mClass"); -}; - -Class IEventDispatcher_obj::__mClass; - -void IEventDispatcher_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.IEventDispatcher"), hx::TCanCast< IEventDispatcher_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IEventDispatcher_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/IOErrorEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/IOErrorEvent.cpp deleted file mode 100644 index 321d423..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/IOErrorEvent.cpp +++ /dev/null @@ -1,145 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_IOErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_TextEvent -#include -#endif -namespace neash{ -namespace events{ - -Void IOErrorEvent_obj::__construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id) -{ -HX_STACK_PUSH("IOErrorEvent::new","neash/events/IOErrorEvent.hx",11); -bool bubbles = __o_bubbles.Default(true); -bool cancelable = __o_cancelable.Default(false); -::String text = __o_text.Default(HX_CSTRING("")); -int id = __o_id.Default(0); -{ - HX_STACK_LINE(11) - super::__construct(inType,bubbles,cancelable,text,id); -} -; - return null(); -} - -IOErrorEvent_obj::~IOErrorEvent_obj() { } - -Dynamic IOErrorEvent_obj::__CreateEmpty() { return new IOErrorEvent_obj; } -hx::ObjectPtr< IOErrorEvent_obj > IOErrorEvent_obj::__new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id) -{ hx::ObjectPtr< IOErrorEvent_obj > result = new IOErrorEvent_obj(); - result->__construct(inType,__o_bubbles,__o_cancelable,__o_text,__o_id); - return result;} - -Dynamic IOErrorEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< IOErrorEvent_obj > result = new IOErrorEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4]); - return result;} - -::String IOErrorEvent_obj::toString( ){ - HX_STACK_PUSH("IOErrorEvent::toString","neash/events/IOErrorEvent.hx",23); - HX_STACK_THIS(this); - HX_STACK_LINE(23) - return ((((((((((HX_CSTRING("[IOErrorEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" text=")) + this->text) + HX_CSTRING(" errorID=")) + this->errorID) + HX_CSTRING("]")); -} - - -::neash::events::Event IOErrorEvent_obj::clone( ){ - HX_STACK_PUSH("IOErrorEvent::clone","neash/events/IOErrorEvent.hx",17); - HX_STACK_THIS(this); - HX_STACK_LINE(17) - return ::neash::events::IOErrorEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->text,this->errorID); -} - - -::String IOErrorEvent_obj::IO_ERROR; - - -IOErrorEvent_obj::IOErrorEvent_obj() -{ -} - -void IOErrorEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(IOErrorEvent); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void IOErrorEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic IOErrorEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"IO_ERROR") ) { return IO_ERROR; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic IOErrorEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"IO_ERROR") ) { IO_ERROR=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void IOErrorEvent_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("IO_ERROR"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IOErrorEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(IOErrorEvent_obj::IO_ERROR,"IO_ERROR"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IOErrorEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(IOErrorEvent_obj::IO_ERROR,"IO_ERROR"); -}; - -Class IOErrorEvent_obj::__mClass; - -void IOErrorEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.IOErrorEvent"), hx::TCanCast< IOErrorEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IOErrorEvent_obj::__boot() -{ - IO_ERROR= HX_CSTRING("ioError"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/JoystickEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/JoystickEvent.cpp deleted file mode 100644 index efd3a6d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/JoystickEvent.cpp +++ /dev/null @@ -1,234 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_JoystickEvent -#include -#endif -namespace neash{ -namespace events{ - -Void JoystickEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_device,hx::Null< int > __o_id,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< Float > __o_z) -{ -HX_STACK_PUSH("JoystickEvent::new","neash/events/JoystickEvent.hx",21); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -int device = __o_device.Default(0); -int id = __o_id.Default(0); -Float x = __o_x.Default(0); -Float y = __o_y.Default(0); -Float z = __o_z.Default(0); -{ - HX_STACK_LINE(22) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(24) - this->device = device; - HX_STACK_LINE(25) - this->id = id; - HX_STACK_LINE(26) - this->x = x; - HX_STACK_LINE(27) - this->y = y; - HX_STACK_LINE(28) - this->z = z; -} -; - return null(); -} - -JoystickEvent_obj::~JoystickEvent_obj() { } - -Dynamic JoystickEvent_obj::__CreateEmpty() { return new JoystickEvent_obj; } -hx::ObjectPtr< JoystickEvent_obj > JoystickEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_device,hx::Null< int > __o_id,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< Float > __o_z) -{ hx::ObjectPtr< JoystickEvent_obj > result = new JoystickEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_device,__o_id,__o_x,__o_y,__o_z); - return result;} - -Dynamic JoystickEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< JoystickEvent_obj > result = new JoystickEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7]); - return result;} - -::String JoystickEvent_obj::toString( ){ - HX_STACK_PUSH("JoystickEvent::toString","neash/events/JoystickEvent.hx",39); - HX_STACK_THIS(this); - HX_STACK_LINE(39) - return ((((((((((((((((HX_CSTRING("[JoystickEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" device=")) + this->device) + HX_CSTRING(" id=")) + this->id) + HX_CSTRING(" x=")) + this->x) + HX_CSTRING(" y=")) + this->y) + HX_CSTRING(" z=")) + this->z) + HX_CSTRING("]")); -} - - -::neash::events::Event JoystickEvent_obj::clone( ){ - HX_STACK_PUSH("JoystickEvent::clone","neash/events/JoystickEvent.hx",33); - HX_STACK_THIS(this); - HX_STACK_LINE(33) - return ::neash::events::JoystickEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->device,this->id,this->x,this->y,this->z); -} - - -::String JoystickEvent_obj::AXIS_MOVE; - -::String JoystickEvent_obj::BALL_MOVE; - -::String JoystickEvent_obj::BUTTON_DOWN; - -::String JoystickEvent_obj::BUTTON_UP; - -::String JoystickEvent_obj::HAT_MOVE; - - -JoystickEvent_obj::JoystickEvent_obj() -{ -} - -void JoystickEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(JoystickEvent); - HX_MARK_MEMBER_NAME(z,"z"); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(id,"id"); - HX_MARK_MEMBER_NAME(device,"device"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void JoystickEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(z,"z"); - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(id,"id"); - HX_VISIT_MEMBER_NAME(device,"device"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic JoystickEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"z") ) { return z; } - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 2: - if (HX_FIELD_EQ(inName,"id") ) { return id; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"device") ) { return device; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HAT_MOVE") ) { return HAT_MOVE; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"AXIS_MOVE") ) { return AXIS_MOVE; } - if (HX_FIELD_EQ(inName,"BALL_MOVE") ) { return BALL_MOVE; } - if (HX_FIELD_EQ(inName,"BUTTON_UP") ) { return BUTTON_UP; } - break; - case 11: - if (HX_FIELD_EQ(inName,"BUTTON_DOWN") ) { return BUTTON_DOWN; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic JoystickEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"z") ) { z=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 2: - if (HX_FIELD_EQ(inName,"id") ) { id=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"device") ) { device=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HAT_MOVE") ) { HAT_MOVE=inValue.Cast< ::String >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"AXIS_MOVE") ) { AXIS_MOVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"BALL_MOVE") ) { BALL_MOVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"BUTTON_UP") ) { BUTTON_UP=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"BUTTON_DOWN") ) { BUTTON_DOWN=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void JoystickEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("z")); - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("id")); - outFields->push(HX_CSTRING("device")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("AXIS_MOVE"), - HX_CSTRING("BALL_MOVE"), - HX_CSTRING("BUTTON_DOWN"), - HX_CSTRING("BUTTON_UP"), - HX_CSTRING("HAT_MOVE"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("z"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("id"), - HX_CSTRING("device"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(JoystickEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::AXIS_MOVE,"AXIS_MOVE"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::BALL_MOVE,"BALL_MOVE"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::BUTTON_DOWN,"BUTTON_DOWN"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::BUTTON_UP,"BUTTON_UP"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::HAT_MOVE,"HAT_MOVE"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::AXIS_MOVE,"AXIS_MOVE"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::BALL_MOVE,"BALL_MOVE"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::BUTTON_DOWN,"BUTTON_DOWN"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::BUTTON_UP,"BUTTON_UP"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::HAT_MOVE,"HAT_MOVE"); -}; - -Class JoystickEvent_obj::__mClass; - -void JoystickEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.JoystickEvent"), hx::TCanCast< JoystickEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void JoystickEvent_obj::__boot() -{ - AXIS_MOVE= HX_CSTRING("axisMove"); - BALL_MOVE= HX_CSTRING("ballMove"); - BUTTON_DOWN= HX_CSTRING("buttonDown"); - BUTTON_UP= HX_CSTRING("buttonUp"); - HAT_MOVE= HX_CSTRING("hatMove"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/KeyboardEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/KeyboardEvent.cpp deleted file mode 100644 index ae5163c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/KeyboardEvent.cpp +++ /dev/null @@ -1,233 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_KeyboardEvent -#include -#endif -namespace neash{ -namespace events{ - -Void KeyboardEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_charCodeValue,hx::Null< int > __o_keyCodeValue,hx::Null< int > __o_keyLocationValue,hx::Null< bool > __o_ctrlKeyValue,hx::Null< bool > __o_altKeyValue,hx::Null< bool > __o_shiftKeyValue,hx::Null< bool > __o_controlKeyValue,hx::Null< bool > __o_commandKeyValue) -{ -HX_STACK_PUSH("KeyboardEvent::new","neash/events/KeyboardEvent.hx",21); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -int charCodeValue = __o_charCodeValue.Default(0); -int keyCodeValue = __o_keyCodeValue.Default(0); -int keyLocationValue = __o_keyLocationValue.Default(0); -bool ctrlKeyValue = __o_ctrlKeyValue.Default(false); -bool altKeyValue = __o_altKeyValue.Default(false); -bool shiftKeyValue = __o_shiftKeyValue.Default(false); -bool controlKeyValue = __o_controlKeyValue.Default(false); -bool commandKeyValue = __o_commandKeyValue.Default(false); -{ - HX_STACK_LINE(22) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(24) - this->keyCode = keyCodeValue; - HX_STACK_LINE(25) - this->keyLocation = keyLocationValue; - HX_STACK_LINE(26) - this->charCode = charCodeValue; - HX_STACK_LINE(28) - this->shiftKey = shiftKeyValue; - HX_STACK_LINE(29) - this->altKey = altKeyValue; - HX_STACK_LINE(30) - this->controlKey = controlKeyValue; - HX_STACK_LINE(31) - this->commandKey = commandKeyValue; - HX_STACK_LINE(32) - this->ctrlKey = (bool((bool(ctrlKeyValue) || bool(this->controlKey))) || bool(this->commandKey)); -} -; - return null(); -} - -KeyboardEvent_obj::~KeyboardEvent_obj() { } - -Dynamic KeyboardEvent_obj::__CreateEmpty() { return new KeyboardEvent_obj; } -hx::ObjectPtr< KeyboardEvent_obj > KeyboardEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_charCodeValue,hx::Null< int > __o_keyCodeValue,hx::Null< int > __o_keyLocationValue,hx::Null< bool > __o_ctrlKeyValue,hx::Null< bool > __o_altKeyValue,hx::Null< bool > __o_shiftKeyValue,hx::Null< bool > __o_controlKeyValue,hx::Null< bool > __o_commandKeyValue) -{ hx::ObjectPtr< KeyboardEvent_obj > result = new KeyboardEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_charCodeValue,__o_keyCodeValue,__o_keyLocationValue,__o_ctrlKeyValue,__o_altKeyValue,__o_shiftKeyValue,__o_controlKeyValue,__o_commandKeyValue); - return result;} - -Dynamic KeyboardEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< KeyboardEvent_obj > result = new KeyboardEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7],inArgs[8],inArgs[9],inArgs[10]); - return result;} - -::String KeyboardEvent_obj::toString( ){ - HX_STACK_PUSH("KeyboardEvent::toString","neash/events/KeyboardEvent.hx",43); - HX_STACK_THIS(this); - HX_STACK_LINE(43) - return ((((((((((((((((((HX_CSTRING("[KeyboardEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" charCode=")) + this->charCode) + HX_CSTRING(" keyCode=")) + this->keyCode) + HX_CSTRING(" keyLocation=")) + this->keyLocation) + HX_CSTRING(" ctrlKey=")) + ::Std_obj::string(this->ctrlKey)) + HX_CSTRING(" altKey=")) + ::Std_obj::string(this->altKey)) + HX_CSTRING(" shiftKey=")) + ::Std_obj::string(this->shiftKey)) + HX_CSTRING("]")); -} - - -::neash::events::Event KeyboardEvent_obj::clone( ){ - HX_STACK_PUSH("KeyboardEvent::clone","neash/events/KeyboardEvent.hx",37); - HX_STACK_THIS(this); - HX_STACK_LINE(37) - return ::neash::events::KeyboardEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->charCode,this->keyCode,this->keyLocation,this->ctrlKey,this->altKey,this->shiftKey,this->controlKey,this->commandKey); -} - - -::String KeyboardEvent_obj::KEY_DOWN; - -::String KeyboardEvent_obj::KEY_UP; - - -KeyboardEvent_obj::KeyboardEvent_obj() -{ -} - -void KeyboardEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(KeyboardEvent); - HX_MARK_MEMBER_NAME(shiftKey,"shiftKey"); - HX_MARK_MEMBER_NAME(keyLocation,"keyLocation"); - HX_MARK_MEMBER_NAME(keyCode,"keyCode"); - HX_MARK_MEMBER_NAME(commandKey,"commandKey"); - HX_MARK_MEMBER_NAME(controlKey,"controlKey"); - HX_MARK_MEMBER_NAME(ctrlKey,"ctrlKey"); - HX_MARK_MEMBER_NAME(charCode,"charCode"); - HX_MARK_MEMBER_NAME(altKey,"altKey"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void KeyboardEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(shiftKey,"shiftKey"); - HX_VISIT_MEMBER_NAME(keyLocation,"keyLocation"); - HX_VISIT_MEMBER_NAME(keyCode,"keyCode"); - HX_VISIT_MEMBER_NAME(commandKey,"commandKey"); - HX_VISIT_MEMBER_NAME(controlKey,"controlKey"); - HX_VISIT_MEMBER_NAME(ctrlKey,"ctrlKey"); - HX_VISIT_MEMBER_NAME(charCode,"charCode"); - HX_VISIT_MEMBER_NAME(altKey,"altKey"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic KeyboardEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"KEY_UP") ) { return KEY_UP; } - if (HX_FIELD_EQ(inName,"altKey") ) { return altKey; } - break; - case 7: - if (HX_FIELD_EQ(inName,"keyCode") ) { return keyCode; } - if (HX_FIELD_EQ(inName,"ctrlKey") ) { return ctrlKey; } - break; - case 8: - if (HX_FIELD_EQ(inName,"KEY_DOWN") ) { return KEY_DOWN; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"shiftKey") ) { return shiftKey; } - if (HX_FIELD_EQ(inName,"charCode") ) { return charCode; } - break; - case 10: - if (HX_FIELD_EQ(inName,"commandKey") ) { return commandKey; } - if (HX_FIELD_EQ(inName,"controlKey") ) { return controlKey; } - break; - case 11: - if (HX_FIELD_EQ(inName,"keyLocation") ) { return keyLocation; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic KeyboardEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"KEY_UP") ) { KEY_UP=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"altKey") ) { altKey=inValue.Cast< bool >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"keyCode") ) { keyCode=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ctrlKey") ) { ctrlKey=inValue.Cast< bool >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"KEY_DOWN") ) { KEY_DOWN=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"shiftKey") ) { shiftKey=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"charCode") ) { charCode=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"commandKey") ) { commandKey=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"controlKey") ) { controlKey=inValue.Cast< bool >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"keyLocation") ) { keyLocation=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void KeyboardEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("shiftKey")); - outFields->push(HX_CSTRING("keyLocation")); - outFields->push(HX_CSTRING("keyCode")); - outFields->push(HX_CSTRING("commandKey")); - outFields->push(HX_CSTRING("controlKey")); - outFields->push(HX_CSTRING("ctrlKey")); - outFields->push(HX_CSTRING("charCode")); - outFields->push(HX_CSTRING("altKey")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("KEY_DOWN"), - HX_CSTRING("KEY_UP"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("shiftKey"), - HX_CSTRING("keyLocation"), - HX_CSTRING("keyCode"), - HX_CSTRING("commandKey"), - HX_CSTRING("controlKey"), - HX_CSTRING("ctrlKey"), - HX_CSTRING("charCode"), - HX_CSTRING("altKey"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(KeyboardEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(KeyboardEvent_obj::KEY_DOWN,"KEY_DOWN"); - HX_MARK_MEMBER_NAME(KeyboardEvent_obj::KEY_UP,"KEY_UP"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(KeyboardEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(KeyboardEvent_obj::KEY_DOWN,"KEY_DOWN"); - HX_VISIT_MEMBER_NAME(KeyboardEvent_obj::KEY_UP,"KEY_UP"); -}; - -Class KeyboardEvent_obj::__mClass; - -void KeyboardEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.KeyboardEvent"), hx::TCanCast< KeyboardEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void KeyboardEvent_obj::__boot() -{ - KEY_DOWN= HX_CSTRING("keyDown"); - KEY_UP= HX_CSTRING("keyUp"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/Listener.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/Listener.cpp deleted file mode 100644 index 39d838f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/Listener.cpp +++ /dev/null @@ -1,190 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_Listener -#include -#endif -namespace neash{ -namespace events{ - -Void Listener_obj::__construct(Dynamic inListener,bool inUseCapture,int inPriority) -{ -HX_STACK_PUSH("Listener::new","neash/events/EventDispatcher.hx",172); -{ - HX_STACK_LINE(173) - this->mListner = inListener; - HX_STACK_LINE(174) - this->mUseCapture = inUseCapture; - HX_STACK_LINE(175) - this->mPriority = inPriority; - HX_STACK_LINE(176) - this->mID = (::neash::events::Listener_obj::sIDs)++; -} -; - return null(); -} - -Listener_obj::~Listener_obj() { } - -Dynamic Listener_obj::__CreateEmpty() { return new Listener_obj; } -hx::ObjectPtr< Listener_obj > Listener_obj::__new(Dynamic inListener,bool inUseCapture,int inPriority) -{ hx::ObjectPtr< Listener_obj > result = new Listener_obj(); - result->__construct(inListener,inUseCapture,inPriority); - return result;} - -Dynamic Listener_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Listener_obj > result = new Listener_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -bool Listener_obj::Is( Dynamic inListener,bool inCapture){ - HX_STACK_PUSH("Listener::Is","neash/events/EventDispatcher.hx",187); - HX_STACK_THIS(this); - HX_STACK_ARG(inListener,"inListener"); - HX_STACK_ARG(inCapture,"inCapture"); - HX_STACK_LINE(187) - return (bool(::Reflect_obj::compareMethods(this->mListner_dyn(),inListener)) && bool((this->mUseCapture == inCapture))); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Listener_obj,Is,return ) - -Void Listener_obj::dispatchEvent( ::neash::events::Event event){ -{ - HX_STACK_PUSH("Listener::dispatchEvent","neash/events/EventDispatcher.hx",181); - HX_STACK_THIS(this); - HX_STACK_ARG(event,"event"); - HX_STACK_LINE(181) - this->mListner(event); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Listener_obj,dispatchEvent,(void)) - -int Listener_obj::sIDs; - - -Listener_obj::Listener_obj() -{ -} - -void Listener_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Listener); - HX_MARK_MEMBER_NAME(mUseCapture,"mUseCapture"); - HX_MARK_MEMBER_NAME(mPriority,"mPriority"); - HX_MARK_MEMBER_NAME(mListner,"mListner"); - HX_MARK_MEMBER_NAME(mID,"mID"); - HX_MARK_END_CLASS(); -} - -void Listener_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mUseCapture,"mUseCapture"); - HX_VISIT_MEMBER_NAME(mPriority,"mPriority"); - HX_VISIT_MEMBER_NAME(mListner,"mListner"); - HX_VISIT_MEMBER_NAME(mID,"mID"); -} - -Dynamic Listener_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"Is") ) { return Is_dyn(); } - break; - case 3: - if (HX_FIELD_EQ(inName,"mID") ) { return mID; } - break; - case 4: - if (HX_FIELD_EQ(inName,"sIDs") ) { return sIDs; } - break; - case 8: - if (HX_FIELD_EQ(inName,"mListner") ) { return mListner; } - break; - case 9: - if (HX_FIELD_EQ(inName,"mPriority") ) { return mPriority; } - break; - case 11: - if (HX_FIELD_EQ(inName,"mUseCapture") ) { return mUseCapture; } - break; - case 13: - if (HX_FIELD_EQ(inName,"dispatchEvent") ) { return dispatchEvent_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Listener_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"mID") ) { mID=inValue.Cast< int >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"sIDs") ) { sIDs=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"mListner") ) { mListner=inValue.Cast< Dynamic >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"mPriority") ) { mPriority=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"mUseCapture") ) { mUseCapture=inValue.Cast< bool >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Listener_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mUseCapture")); - outFields->push(HX_CSTRING("mPriority")); - outFields->push(HX_CSTRING("mID")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("sIDs"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("Is"), - HX_CSTRING("dispatchEvent"), - HX_CSTRING("mUseCapture"), - HX_CSTRING("mPriority"), - HX_CSTRING("mListner"), - HX_CSTRING("mID"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Listener_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Listener_obj::sIDs,"sIDs"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Listener_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Listener_obj::sIDs,"sIDs"); -}; - -Class Listener_obj::__mClass; - -void Listener_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.Listener"), hx::TCanCast< Listener_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Listener_obj::__boot() -{ - sIDs= (int)1; -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/MouseEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/MouseEvent.cpp deleted file mode 100644 index eda17f7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/MouseEvent.cpp +++ /dev/null @@ -1,526 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_MouseEvent -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -namespace neash{ -namespace events{ - -Void MouseEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_localX,hx::Null< Float > __o_localY,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_ctrlKey,hx::Null< bool > __o_altKey,hx::Null< bool > __o_shiftKey,hx::Null< bool > __o_buttonDown,hx::Null< int > __o_delta,hx::Null< bool > __o_commandKey,hx::Null< int > __o_clickCount) -{ -HX_STACK_PUSH("MouseEvent::new","neash/events/MouseEvent.hx",49); -bool bubbles = __o_bubbles.Default(true); -bool cancelable = __o_cancelable.Default(false); -Float localX = __o_localX.Default(0); -Float localY = __o_localY.Default(0); -bool ctrlKey = __o_ctrlKey.Default(false); -bool altKey = __o_altKey.Default(false); -bool shiftKey = __o_shiftKey.Default(false); -bool buttonDown = __o_buttonDown.Default(false); -int delta = __o_delta.Default(0); -bool commandKey = __o_commandKey.Default(false); -int clickCount = __o_clickCount.Default(0); -{ - HX_STACK_LINE(50) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(51) - this->localX = localX; - HX_STACK_LINE(52) - this->localY = localY; - HX_STACK_LINE(53) - this->relatedObject = relatedObject; - HX_STACK_LINE(54) - this->ctrlKey = ctrlKey; - HX_STACK_LINE(55) - this->altKey = altKey; - HX_STACK_LINE(56) - this->shiftKey = shiftKey; - HX_STACK_LINE(57) - this->buttonDown = buttonDown; - HX_STACK_LINE(58) - this->delta = delta; - HX_STACK_LINE(59) - this->commandKey = commandKey; - HX_STACK_LINE(60) - this->clickCount = clickCount; -} -; - return null(); -} - -MouseEvent_obj::~MouseEvent_obj() { } - -Dynamic MouseEvent_obj::__CreateEmpty() { return new MouseEvent_obj; } -hx::ObjectPtr< MouseEvent_obj > MouseEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_localX,hx::Null< Float > __o_localY,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_ctrlKey,hx::Null< bool > __o_altKey,hx::Null< bool > __o_shiftKey,hx::Null< bool > __o_buttonDown,hx::Null< int > __o_delta,hx::Null< bool > __o_commandKey,hx::Null< int > __o_clickCount) -{ hx::ObjectPtr< MouseEvent_obj > result = new MouseEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_localX,__o_localY,relatedObject,__o_ctrlKey,__o_altKey,__o_shiftKey,__o_buttonDown,__o_delta,__o_commandKey,__o_clickCount); - return result;} - -Dynamic MouseEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< MouseEvent_obj > result = new MouseEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7],inArgs[8],inArgs[9],inArgs[10],inArgs[11],inArgs[12]); - return result;} - -Void MouseEvent_obj::updateAfterEvent( ){ -{ - HX_STACK_PUSH("MouseEvent::updateAfterEvent","neash/events/MouseEvent.hx",100); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(MouseEvent_obj,updateAfterEvent,(void)) - -::String MouseEvent_obj::toString( ){ - HX_STACK_PUSH("MouseEvent::toString","neash/events/MouseEvent.hx",94); - HX_STACK_THIS(this); - HX_STACK_LINE(94) - return ((((((((((((((((((((((HX_CSTRING("[MouseEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" localX=")) + this->localX) + HX_CSTRING(" localY=")) + this->localY) + HX_CSTRING(" relatedObject=")) + ::Std_obj::string(this->relatedObject)) + HX_CSTRING(" ctrlKey=")) + ::Std_obj::string(this->ctrlKey)) + HX_CSTRING(" altKey=")) + ::Std_obj::string(this->altKey)) + HX_CSTRING(" shiftKey=")) + ::Std_obj::string(this->shiftKey)) + HX_CSTRING(" buttonDown=")) + ::Std_obj::string(this->buttonDown)) + HX_CSTRING(" delta=")) + this->delta) + HX_CSTRING("]")); -} - - -::neash::events::MouseEvent MouseEvent_obj::nmeCreateSimilar( ::String inType,::neash::display::InteractiveObject related,::neash::display::InteractiveObject targ){ - HX_STACK_PUSH("MouseEvent::nmeCreateSimilar","neash/events/MouseEvent.hx",82); - HX_STACK_THIS(this); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(related,"related"); - HX_STACK_ARG(targ,"targ"); - HX_STACK_LINE(83) - ::neash::events::MouseEvent result = ::neash::events::MouseEvent_obj::__new(inType,this->nmeGetBubbles(),this->nmeGetCancelable(),this->localX,this->localY,( (((related == null()))) ? ::neash::display::InteractiveObject(this->relatedObject) : ::neash::display::InteractiveObject(related) ),this->ctrlKey,this->altKey,this->shiftKey,this->buttonDown,this->delta,this->commandKey,this->clickCount); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(85) - result->stageX = this->stageX; - HX_STACK_LINE(86) - result->stageY = this->stageY; - HX_STACK_LINE(87) - if (((targ != null()))){ - HX_STACK_LINE(88) - result->nmeSetTarget(targ); - } - HX_STACK_LINE(89) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC3(MouseEvent_obj,nmeCreateSimilar,return ) - -::neash::events::Event MouseEvent_obj::clone( ){ - HX_STACK_PUSH("MouseEvent::clone","neash/events/MouseEvent.hx",65); - HX_STACK_THIS(this); - HX_STACK_LINE(65) - return ::neash::events::MouseEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->localX,this->localY,this->relatedObject,this->ctrlKey,this->altKey,this->shiftKey,this->buttonDown,this->delta,this->commandKey,this->clickCount); -} - - -::String MouseEvent_obj::DOUBLE_CLICK; - -::String MouseEvent_obj::CLICK; - -::String MouseEvent_obj::MIDDLE_CLICK; - -::String MouseEvent_obj::MIDDLE_MOUSE_DOWN; - -::String MouseEvent_obj::MIDDLE_MOUSE_UP; - -::String MouseEvent_obj::MOUSE_DOWN; - -::String MouseEvent_obj::MOUSE_MOVE; - -::String MouseEvent_obj::MOUSE_OUT; - -::String MouseEvent_obj::MOUSE_OVER; - -::String MouseEvent_obj::MOUSE_UP; - -::String MouseEvent_obj::MOUSE_WHEEL; - -::String MouseEvent_obj::RIGHT_CLICK; - -::String MouseEvent_obj::RIGHT_MOUSE_DOWN; - -::String MouseEvent_obj::RIGHT_MOUSE_UP; - -::String MouseEvent_obj::ROLL_OUT; - -::String MouseEvent_obj::ROLL_OVER; - -int MouseEvent_obj::efLeftDown; - -int MouseEvent_obj::efShiftDown; - -int MouseEvent_obj::efCtrlDown; - -int MouseEvent_obj::efAltDown; - -int MouseEvent_obj::efCommandDown; - -::neash::events::MouseEvent MouseEvent_obj::nmeCreate( ::String inType,Dynamic inEvent,::neash::geom::Point inLocal,::neash::display::InteractiveObject inTarget){ - HX_STACK_PUSH("MouseEvent::nmeCreate","neash/events/MouseEvent.hx",71); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inLocal,"inLocal"); - HX_STACK_ARG(inTarget,"inTarget"); - HX_STACK_LINE(72) - int flags = inEvent->__Field(HX_CSTRING("flags"),true); HX_STACK_VAR(flags,"flags"); - HX_STACK_LINE(73) - ::neash::events::MouseEvent evt = ::neash::events::MouseEvent_obj::__new(inType,true,false,inLocal->x,inLocal->y,null(),(((int(flags) & int(::neash::events::MouseEvent_obj::efCtrlDown))) != (int)0),(((int(flags) & int(::neash::events::MouseEvent_obj::efAltDown))) != (int)0),(((int(flags) & int(::neash::events::MouseEvent_obj::efShiftDown))) != (int)0),(((int(flags) & int(::neash::events::MouseEvent_obj::efLeftDown))) != (int)0),(int)0,null(),(int)0); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(74) - evt->stageX = inEvent->__Field(HX_CSTRING("x"),true); - HX_STACK_LINE(75) - evt->stageY = inEvent->__Field(HX_CSTRING("y"),true); - HX_STACK_LINE(76) - evt->nmeSetTarget(inTarget); - HX_STACK_LINE(77) - return evt; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(MouseEvent_obj,nmeCreate,return ) - - -MouseEvent_obj::MouseEvent_obj() -{ -} - -void MouseEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(MouseEvent); - HX_MARK_MEMBER_NAME(stageY,"stageY"); - HX_MARK_MEMBER_NAME(stageX,"stageX"); - HX_MARK_MEMBER_NAME(shiftKey,"shiftKey"); - HX_MARK_MEMBER_NAME(relatedObject,"relatedObject"); - HX_MARK_MEMBER_NAME(localY,"localY"); - HX_MARK_MEMBER_NAME(localX,"localX"); - HX_MARK_MEMBER_NAME(delta,"delta"); - HX_MARK_MEMBER_NAME(ctrlKey,"ctrlKey"); - HX_MARK_MEMBER_NAME(commandKey,"commandKey"); - HX_MARK_MEMBER_NAME(clickCount,"clickCount"); - HX_MARK_MEMBER_NAME(buttonDown,"buttonDown"); - HX_MARK_MEMBER_NAME(altKey,"altKey"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void MouseEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(stageY,"stageY"); - HX_VISIT_MEMBER_NAME(stageX,"stageX"); - HX_VISIT_MEMBER_NAME(shiftKey,"shiftKey"); - HX_VISIT_MEMBER_NAME(relatedObject,"relatedObject"); - HX_VISIT_MEMBER_NAME(localY,"localY"); - HX_VISIT_MEMBER_NAME(localX,"localX"); - HX_VISIT_MEMBER_NAME(delta,"delta"); - HX_VISIT_MEMBER_NAME(ctrlKey,"ctrlKey"); - HX_VISIT_MEMBER_NAME(commandKey,"commandKey"); - HX_VISIT_MEMBER_NAME(clickCount,"clickCount"); - HX_VISIT_MEMBER_NAME(buttonDown,"buttonDown"); - HX_VISIT_MEMBER_NAME(altKey,"altKey"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic MouseEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"CLICK") ) { return CLICK; } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - if (HX_FIELD_EQ(inName,"delta") ) { return delta; } - break; - case 6: - if (HX_FIELD_EQ(inName,"stageY") ) { return stageY; } - if (HX_FIELD_EQ(inName,"stageX") ) { return stageX; } - if (HX_FIELD_EQ(inName,"localY") ) { return localY; } - if (HX_FIELD_EQ(inName,"localX") ) { return localX; } - if (HX_FIELD_EQ(inName,"altKey") ) { return altKey; } - break; - case 7: - if (HX_FIELD_EQ(inName,"ctrlKey") ) { return ctrlKey; } - break; - case 8: - if (HX_FIELD_EQ(inName,"MOUSE_UP") ) { return MOUSE_UP; } - if (HX_FIELD_EQ(inName,"ROLL_OUT") ) { return ROLL_OUT; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"shiftKey") ) { return shiftKey; } - break; - case 9: - if (HX_FIELD_EQ(inName,"MOUSE_OUT") ) { return MOUSE_OUT; } - if (HX_FIELD_EQ(inName,"ROLL_OVER") ) { return ROLL_OVER; } - if (HX_FIELD_EQ(inName,"efAltDown") ) { return efAltDown; } - if (HX_FIELD_EQ(inName,"nmeCreate") ) { return nmeCreate_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"MOUSE_DOWN") ) { return MOUSE_DOWN; } - if (HX_FIELD_EQ(inName,"MOUSE_MOVE") ) { return MOUSE_MOVE; } - if (HX_FIELD_EQ(inName,"MOUSE_OVER") ) { return MOUSE_OVER; } - if (HX_FIELD_EQ(inName,"efLeftDown") ) { return efLeftDown; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { return efCtrlDown; } - if (HX_FIELD_EQ(inName,"commandKey") ) { return commandKey; } - if (HX_FIELD_EQ(inName,"clickCount") ) { return clickCount; } - if (HX_FIELD_EQ(inName,"buttonDown") ) { return buttonDown; } - break; - case 11: - if (HX_FIELD_EQ(inName,"MOUSE_WHEEL") ) { return MOUSE_WHEEL; } - if (HX_FIELD_EQ(inName,"RIGHT_CLICK") ) { return RIGHT_CLICK; } - if (HX_FIELD_EQ(inName,"efShiftDown") ) { return efShiftDown; } - break; - case 12: - if (HX_FIELD_EQ(inName,"DOUBLE_CLICK") ) { return DOUBLE_CLICK; } - if (HX_FIELD_EQ(inName,"MIDDLE_CLICK") ) { return MIDDLE_CLICK; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { return efCommandDown; } - if (HX_FIELD_EQ(inName,"relatedObject") ) { return relatedObject; } - break; - case 14: - if (HX_FIELD_EQ(inName,"RIGHT_MOUSE_UP") ) { return RIGHT_MOUSE_UP; } - break; - case 15: - if (HX_FIELD_EQ(inName,"MIDDLE_MOUSE_UP") ) { return MIDDLE_MOUSE_UP; } - break; - case 16: - if (HX_FIELD_EQ(inName,"RIGHT_MOUSE_DOWN") ) { return RIGHT_MOUSE_DOWN; } - if (HX_FIELD_EQ(inName,"updateAfterEvent") ) { return updateAfterEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeCreateSimilar") ) { return nmeCreateSimilar_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"MIDDLE_MOUSE_DOWN") ) { return MIDDLE_MOUSE_DOWN; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic MouseEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"CLICK") ) { CLICK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"delta") ) { delta=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"stageY") ) { stageY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"stageX") ) { stageX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"localY") ) { localY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"localX") ) { localX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"altKey") ) { altKey=inValue.Cast< bool >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"ctrlKey") ) { ctrlKey=inValue.Cast< bool >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"MOUSE_UP") ) { MOUSE_UP=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"ROLL_OUT") ) { ROLL_OUT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"shiftKey") ) { shiftKey=inValue.Cast< bool >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"MOUSE_OUT") ) { MOUSE_OUT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"ROLL_OVER") ) { ROLL_OVER=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"efAltDown") ) { efAltDown=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"MOUSE_DOWN") ) { MOUSE_DOWN=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MOUSE_MOVE") ) { MOUSE_MOVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MOUSE_OVER") ) { MOUSE_OVER=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"efLeftDown") ) { efLeftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { efCtrlDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"commandKey") ) { commandKey=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"clickCount") ) { clickCount=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"buttonDown") ) { buttonDown=inValue.Cast< bool >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"MOUSE_WHEEL") ) { MOUSE_WHEEL=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"RIGHT_CLICK") ) { RIGHT_CLICK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"efShiftDown") ) { efShiftDown=inValue.Cast< int >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"DOUBLE_CLICK") ) { DOUBLE_CLICK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MIDDLE_CLICK") ) { MIDDLE_CLICK=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { efCommandDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"relatedObject") ) { relatedObject=inValue.Cast< ::neash::display::InteractiveObject >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"RIGHT_MOUSE_UP") ) { RIGHT_MOUSE_UP=inValue.Cast< ::String >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"MIDDLE_MOUSE_UP") ) { MIDDLE_MOUSE_UP=inValue.Cast< ::String >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"RIGHT_MOUSE_DOWN") ) { RIGHT_MOUSE_DOWN=inValue.Cast< ::String >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"MIDDLE_MOUSE_DOWN") ) { MIDDLE_MOUSE_DOWN=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void MouseEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("stageY")); - outFields->push(HX_CSTRING("stageX")); - outFields->push(HX_CSTRING("shiftKey")); - outFields->push(HX_CSTRING("relatedObject")); - outFields->push(HX_CSTRING("localY")); - outFields->push(HX_CSTRING("localX")); - outFields->push(HX_CSTRING("delta")); - outFields->push(HX_CSTRING("ctrlKey")); - outFields->push(HX_CSTRING("commandKey")); - outFields->push(HX_CSTRING("clickCount")); - outFields->push(HX_CSTRING("buttonDown")); - outFields->push(HX_CSTRING("altKey")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("DOUBLE_CLICK"), - HX_CSTRING("CLICK"), - HX_CSTRING("MIDDLE_CLICK"), - HX_CSTRING("MIDDLE_MOUSE_DOWN"), - HX_CSTRING("MIDDLE_MOUSE_UP"), - HX_CSTRING("MOUSE_DOWN"), - HX_CSTRING("MOUSE_MOVE"), - HX_CSTRING("MOUSE_OUT"), - HX_CSTRING("MOUSE_OVER"), - HX_CSTRING("MOUSE_UP"), - HX_CSTRING("MOUSE_WHEEL"), - HX_CSTRING("RIGHT_CLICK"), - HX_CSTRING("RIGHT_MOUSE_DOWN"), - HX_CSTRING("RIGHT_MOUSE_UP"), - HX_CSTRING("ROLL_OUT"), - HX_CSTRING("ROLL_OVER"), - HX_CSTRING("efLeftDown"), - HX_CSTRING("efShiftDown"), - HX_CSTRING("efCtrlDown"), - HX_CSTRING("efAltDown"), - HX_CSTRING("efCommandDown"), - HX_CSTRING("nmeCreate"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("updateAfterEvent"), - HX_CSTRING("toString"), - HX_CSTRING("nmeCreateSimilar"), - HX_CSTRING("clone"), - HX_CSTRING("stageY"), - HX_CSTRING("stageX"), - HX_CSTRING("shiftKey"), - HX_CSTRING("relatedObject"), - HX_CSTRING("localY"), - HX_CSTRING("localX"), - HX_CSTRING("delta"), - HX_CSTRING("ctrlKey"), - HX_CSTRING("commandKey"), - HX_CSTRING("clickCount"), - HX_CSTRING("buttonDown"), - HX_CSTRING("altKey"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(MouseEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::DOUBLE_CLICK,"DOUBLE_CLICK"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::CLICK,"CLICK"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MIDDLE_CLICK,"MIDDLE_CLICK"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MIDDLE_MOUSE_DOWN,"MIDDLE_MOUSE_DOWN"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MIDDLE_MOUSE_UP,"MIDDLE_MOUSE_UP"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_DOWN,"MOUSE_DOWN"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_MOVE,"MOUSE_MOVE"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_OUT,"MOUSE_OUT"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_OVER,"MOUSE_OVER"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_UP,"MOUSE_UP"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_WHEEL,"MOUSE_WHEEL"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::RIGHT_CLICK,"RIGHT_CLICK"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::RIGHT_MOUSE_DOWN,"RIGHT_MOUSE_DOWN"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::RIGHT_MOUSE_UP,"RIGHT_MOUSE_UP"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::ROLL_OUT,"ROLL_OUT"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::ROLL_OVER,"ROLL_OVER"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efLeftDown,"efLeftDown"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efShiftDown,"efShiftDown"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efCtrlDown,"efCtrlDown"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efAltDown,"efAltDown"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efCommandDown,"efCommandDown"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(MouseEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::DOUBLE_CLICK,"DOUBLE_CLICK"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::CLICK,"CLICK"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MIDDLE_CLICK,"MIDDLE_CLICK"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MIDDLE_MOUSE_DOWN,"MIDDLE_MOUSE_DOWN"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MIDDLE_MOUSE_UP,"MIDDLE_MOUSE_UP"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_DOWN,"MOUSE_DOWN"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_MOVE,"MOUSE_MOVE"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_OUT,"MOUSE_OUT"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_OVER,"MOUSE_OVER"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_UP,"MOUSE_UP"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_WHEEL,"MOUSE_WHEEL"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::RIGHT_CLICK,"RIGHT_CLICK"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::RIGHT_MOUSE_DOWN,"RIGHT_MOUSE_DOWN"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::RIGHT_MOUSE_UP,"RIGHT_MOUSE_UP"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::ROLL_OUT,"ROLL_OUT"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::ROLL_OVER,"ROLL_OVER"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efLeftDown,"efLeftDown"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efShiftDown,"efShiftDown"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efCtrlDown,"efCtrlDown"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efAltDown,"efAltDown"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efCommandDown,"efCommandDown"); -}; - -Class MouseEvent_obj::__mClass; - -void MouseEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.MouseEvent"), hx::TCanCast< MouseEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void MouseEvent_obj::__boot() -{ - DOUBLE_CLICK= HX_CSTRING("doubleClick"); - CLICK= HX_CSTRING("click"); - MIDDLE_CLICK= HX_CSTRING("middleClick"); - MIDDLE_MOUSE_DOWN= HX_CSTRING("middleMouseDown"); - MIDDLE_MOUSE_UP= HX_CSTRING("middleMouseUp"); - MOUSE_DOWN= HX_CSTRING("mouseDown"); - MOUSE_MOVE= HX_CSTRING("mouseMove"); - MOUSE_OUT= HX_CSTRING("mouseOut"); - MOUSE_OVER= HX_CSTRING("mouseOver"); - MOUSE_UP= HX_CSTRING("mouseUp"); - MOUSE_WHEEL= HX_CSTRING("mouseWheel"); - RIGHT_CLICK= HX_CSTRING("rightClick"); - RIGHT_MOUSE_DOWN= HX_CSTRING("rightMouseDown"); - RIGHT_MOUSE_UP= HX_CSTRING("rightMouseUp"); - ROLL_OUT= HX_CSTRING("rollOut"); - ROLL_OVER= HX_CSTRING("rollOver"); - efLeftDown= (int)1; - efShiftDown= (int)2; - efCtrlDown= (int)4; - efAltDown= (int)8; - efCommandDown= (int)16; -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/ProgressEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/ProgressEvent.cpp deleted file mode 100644 index f8e0cd2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/ProgressEvent.cpp +++ /dev/null @@ -1,171 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_ProgressEvent -#include -#endif -namespace neash{ -namespace events{ - -Void ProgressEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_bytesLoaded,hx::Null< int > __o_bytesTotal) -{ -HX_STACK_PUSH("ProgressEvent::new","neash/events/ProgressEvent.hx",15); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -int bytesLoaded = __o_bytesLoaded.Default(0); -int bytesTotal = __o_bytesTotal.Default(0); -{ - HX_STACK_LINE(16) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(17) - this->bytesLoaded = bytesLoaded; - HX_STACK_LINE(18) - this->bytesTotal = bytesTotal; -} -; - return null(); -} - -ProgressEvent_obj::~ProgressEvent_obj() { } - -Dynamic ProgressEvent_obj::__CreateEmpty() { return new ProgressEvent_obj; } -hx::ObjectPtr< ProgressEvent_obj > ProgressEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_bytesLoaded,hx::Null< int > __o_bytesTotal) -{ hx::ObjectPtr< ProgressEvent_obj > result = new ProgressEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_bytesLoaded,__o_bytesTotal); - return result;} - -Dynamic ProgressEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ProgressEvent_obj > result = new ProgressEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4]); - return result;} - -::String ProgressEvent_obj::toString( ){ - HX_STACK_PUSH("ProgressEvent::toString","neash/events/ProgressEvent.hx",29); - HX_STACK_THIS(this); - HX_STACK_LINE(29) - return ((((((((((HX_CSTRING("[ProgressEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" bytesLoaded=")) + this->bytesLoaded) + HX_CSTRING(" bytesTotal=")) + this->bytesTotal) + HX_CSTRING("]")); -} - - -::neash::events::Event ProgressEvent_obj::clone( ){ - HX_STACK_PUSH("ProgressEvent::clone","neash/events/ProgressEvent.hx",23); - HX_STACK_THIS(this); - HX_STACK_LINE(23) - return ::neash::events::ProgressEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->bytesLoaded,this->bytesTotal); -} - - -::String ProgressEvent_obj::PROGRESS; - -::String ProgressEvent_obj::SOCKET_DATA; - - -ProgressEvent_obj::ProgressEvent_obj() -{ -} - -void ProgressEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ProgressEvent); - HX_MARK_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_MARK_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ProgressEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_VISIT_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ProgressEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"PROGRESS") ) { return PROGRESS; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"bytesTotal") ) { return bytesTotal; } - break; - case 11: - if (HX_FIELD_EQ(inName,"SOCKET_DATA") ) { return SOCKET_DATA; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { return bytesLoaded; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ProgressEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"PROGRESS") ) { PROGRESS=inValue.Cast< ::String >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"bytesTotal") ) { bytesTotal=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"SOCKET_DATA") ) { SOCKET_DATA=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { bytesLoaded=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ProgressEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("bytesTotal")); - outFields->push(HX_CSTRING("bytesLoaded")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("PROGRESS"), - HX_CSTRING("SOCKET_DATA"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("bytesTotal"), - HX_CSTRING("bytesLoaded"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ProgressEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ProgressEvent_obj::PROGRESS,"PROGRESS"); - HX_MARK_MEMBER_NAME(ProgressEvent_obj::SOCKET_DATA,"SOCKET_DATA"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ProgressEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ProgressEvent_obj::PROGRESS,"PROGRESS"); - HX_VISIT_MEMBER_NAME(ProgressEvent_obj::SOCKET_DATA,"SOCKET_DATA"); -}; - -Class ProgressEvent_obj::__mClass; - -void ProgressEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.ProgressEvent"), hx::TCanCast< ProgressEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ProgressEvent_obj::__boot() -{ - PROGRESS= HX_CSTRING("progress"); - SOCKET_DATA= HX_CSTRING("socketData"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/SampleDataEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/SampleDataEvent.cpp deleted file mode 100644 index 998c46c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/SampleDataEvent.cpp +++ /dev/null @@ -1,172 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_SampleDataEvent -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace events{ - -Void SampleDataEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable) -{ -HX_STACK_PUSH("SampleDataEvent::new","neash/events/SampleDataEvent.hx",17); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -{ - HX_STACK_LINE(18) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(19) - this->data = ::neash::utils::ByteArray_obj::__new(null()); - HX_STACK_LINE(20) - this->data->bigEndian = false; - HX_STACK_LINE(21) - this->position = 0.0; -} -; - return null(); -} - -SampleDataEvent_obj::~SampleDataEvent_obj() { } - -Dynamic SampleDataEvent_obj::__CreateEmpty() { return new SampleDataEvent_obj; } -hx::ObjectPtr< SampleDataEvent_obj > SampleDataEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable) -{ hx::ObjectPtr< SampleDataEvent_obj > result = new SampleDataEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable); - return result;} - -Dynamic SampleDataEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SampleDataEvent_obj > result = new SampleDataEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -::String SampleDataEvent_obj::toString( ){ - HX_STACK_PUSH("SampleDataEvent::toString","neash/events/SampleDataEvent.hx",32); - HX_STACK_THIS(this); - HX_STACK_LINE(32) - return ((((((HX_CSTRING("[SampleDataEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING("]")); -} - - -::neash::events::Event SampleDataEvent_obj::clone( ){ - HX_STACK_PUSH("SampleDataEvent::clone","neash/events/SampleDataEvent.hx",26); - HX_STACK_THIS(this); - HX_STACK_LINE(26) - return ::neash::events::SampleDataEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable()); -} - - -::String SampleDataEvent_obj::SAMPLE_DATA; - - -SampleDataEvent_obj::SampleDataEvent_obj() -{ -} - -void SampleDataEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SampleDataEvent); - HX_MARK_MEMBER_NAME(position,"position"); - HX_MARK_MEMBER_NAME(data,"data"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void SampleDataEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(position,"position"); - HX_VISIT_MEMBER_NAME(data,"data"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic SampleDataEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"data") ) { return data; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"position") ) { return position; } - break; - case 11: - if (HX_FIELD_EQ(inName,"SAMPLE_DATA") ) { return SAMPLE_DATA; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SampleDataEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"data") ) { data=inValue.Cast< ::neash::utils::ByteArray >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"position") ) { position=inValue.Cast< Float >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"SAMPLE_DATA") ) { SAMPLE_DATA=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SampleDataEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("position")); - outFields->push(HX_CSTRING("data")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("SAMPLE_DATA"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("position"), - HX_CSTRING("data"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SampleDataEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(SampleDataEvent_obj::SAMPLE_DATA,"SAMPLE_DATA"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SampleDataEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(SampleDataEvent_obj::SAMPLE_DATA,"SAMPLE_DATA"); -}; - -Class SampleDataEvent_obj::__mClass; - -void SampleDataEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.SampleDataEvent"), hx::TCanCast< SampleDataEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SampleDataEvent_obj::__boot() -{ - SAMPLE_DATA= HX_CSTRING("sampleData"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/TextEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/TextEvent.cpp deleted file mode 100644 index 36ff8e7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/TextEvent.cpp +++ /dev/null @@ -1,160 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_TextEvent -#include -#endif -namespace neash{ -namespace events{ - -Void TextEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text) -{ -HX_STACK_PUSH("TextEvent::new","neash/events/TextEvent.hx",14); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -::String text = __o_text.Default(HX_CSTRING("")); -{ - HX_STACK_LINE(15) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(16) - this->text = text; -} -; - return null(); -} - -TextEvent_obj::~TextEvent_obj() { } - -Dynamic TextEvent_obj::__CreateEmpty() { return new TextEvent_obj; } -hx::ObjectPtr< TextEvent_obj > TextEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text) -{ hx::ObjectPtr< TextEvent_obj > result = new TextEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_text); - return result;} - -Dynamic TextEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TextEvent_obj > result = new TextEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -::String TextEvent_obj::toString( ){ - HX_STACK_PUSH("TextEvent::toString","neash/events/TextEvent.hx",27); - HX_STACK_THIS(this); - HX_STACK_LINE(27) - return ((((((((HX_CSTRING("[TextEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" text=")) + this->text) + HX_CSTRING("]")); -} - - -::neash::events::Event TextEvent_obj::clone( ){ - HX_STACK_PUSH("TextEvent::clone","neash/events/TextEvent.hx",21); - HX_STACK_THIS(this); - HX_STACK_LINE(21) - return ::neash::events::TextEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->text); -} - - -::String TextEvent_obj::LINK; - -::String TextEvent_obj::TEXT_INPUT; - - -TextEvent_obj::TextEvent_obj() -{ -} - -void TextEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TextEvent); - HX_MARK_MEMBER_NAME(text,"text"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void TextEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(text,"text"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic TextEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"LINK") ) { return LINK; } - if (HX_FIELD_EQ(inName,"text") ) { return text; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"TEXT_INPUT") ) { return TEXT_INPUT; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TextEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"LINK") ) { LINK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"text") ) { text=inValue.Cast< ::String >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TEXT_INPUT") ) { TEXT_INPUT=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void TextEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("text")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("LINK"), - HX_CSTRING("TEXT_INPUT"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("text"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TextEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(TextEvent_obj::LINK,"LINK"); - HX_MARK_MEMBER_NAME(TextEvent_obj::TEXT_INPUT,"TEXT_INPUT"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TextEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(TextEvent_obj::LINK,"LINK"); - HX_VISIT_MEMBER_NAME(TextEvent_obj::TEXT_INPUT,"TEXT_INPUT"); -}; - -Class TextEvent_obj::__mClass; - -void TextEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.TextEvent"), hx::TCanCast< TextEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TextEvent_obj::__boot() -{ - LINK= HX_CSTRING("link"); - TEXT_INPUT= HX_CSTRING("textInput"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/TouchEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/TouchEvent.cpp deleted file mode 100644 index 1f94ddf..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/events/TouchEvent.cpp +++ /dev/null @@ -1,313 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_MouseEvent -#include -#endif -#ifndef INCLUDED_neash_events_TouchEvent -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -namespace neash{ -namespace events{ - -Void TouchEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_in_localX,hx::Null< Float > __o_in_localY,hx::Null< Float > __o_in_sizeX,hx::Null< Float > __o_in_sizeY,::neash::display::InteractiveObject in_relatedObject,hx::Null< bool > __o_in_ctrlKey,hx::Null< bool > __o_in_altKey,hx::Null< bool > __o_in_shiftKey,hx::Null< bool > __o_in_buttonDown,hx::Null< int > __o_in_delta,hx::Null< bool > __o_in_commandKey,hx::Null< int > __o_in_clickCount) -{ -HX_STACK_PUSH("TouchEvent::new","neash/events/TouchEvent.hx",27); -bool bubbles = __o_bubbles.Default(true); -bool cancelable = __o_cancelable.Default(false); -Float in_localX = __o_in_localX.Default(0); -Float in_localY = __o_in_localY.Default(0); -Float in_sizeX = __o_in_sizeX.Default(1); -Float in_sizeY = __o_in_sizeY.Default(1); -bool in_ctrlKey = __o_in_ctrlKey.Default(false); -bool in_altKey = __o_in_altKey.Default(false); -bool in_shiftKey = __o_in_shiftKey.Default(false); -bool in_buttonDown = __o_in_buttonDown.Default(false); -int in_delta = __o_in_delta.Default(0); -bool in_commandKey = __o_in_commandKey.Default(false); -int in_clickCount = __o_in_clickCount.Default(0); -{ - HX_STACK_LINE(28) - super::__construct(type,bubbles,cancelable,in_localX,in_localY,in_relatedObject,in_ctrlKey,in_altKey,in_shiftKey,in_buttonDown,in_delta,in_commandKey,in_clickCount); - HX_STACK_LINE(29) - this->touchPointID = (int)0; - HX_STACK_LINE(30) - this->isPrimaryTouchPoint = true; - HX_STACK_LINE(31) - this->sizeX = in_sizeX; - HX_STACK_LINE(32) - this->sizeY = in_sizeY; -} -; - return null(); -} - -TouchEvent_obj::~TouchEvent_obj() { } - -Dynamic TouchEvent_obj::__CreateEmpty() { return new TouchEvent_obj; } -hx::ObjectPtr< TouchEvent_obj > TouchEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_in_localX,hx::Null< Float > __o_in_localY,hx::Null< Float > __o_in_sizeX,hx::Null< Float > __o_in_sizeY,::neash::display::InteractiveObject in_relatedObject,hx::Null< bool > __o_in_ctrlKey,hx::Null< bool > __o_in_altKey,hx::Null< bool > __o_in_shiftKey,hx::Null< bool > __o_in_buttonDown,hx::Null< int > __o_in_delta,hx::Null< bool > __o_in_commandKey,hx::Null< int > __o_in_clickCount) -{ hx::ObjectPtr< TouchEvent_obj > result = new TouchEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_in_localX,__o_in_localY,__o_in_sizeX,__o_in_sizeY,in_relatedObject,__o_in_ctrlKey,__o_in_altKey,__o_in_shiftKey,__o_in_buttonDown,__o_in_delta,__o_in_commandKey,__o_in_clickCount); - return result;} - -Dynamic TouchEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TouchEvent_obj > result = new TouchEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7],inArgs[8],inArgs[9],inArgs[10],inArgs[11],inArgs[12],inArgs[13],inArgs[14]); - return result;} - -::neash::events::MouseEvent TouchEvent_obj::nmeCreateSimilar( ::String inType,::neash::display::InteractiveObject related,::neash::display::InteractiveObject targ){ - HX_STACK_PUSH("TouchEvent::nmeCreateSimilar","neash/events/TouchEvent.hx",48); - HX_STACK_THIS(this); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(related,"related"); - HX_STACK_ARG(targ,"targ"); - HX_STACK_LINE(49) - ::neash::events::TouchEvent result = ::neash::events::TouchEvent_obj::__new(inType,this->nmeGetBubbles(),this->nmeGetCancelable(),this->localX,this->localY,this->sizeX,this->sizeY,( (((related == null()))) ? ::neash::display::InteractiveObject(this->relatedObject) : ::neash::display::InteractiveObject(related) ),this->ctrlKey,this->altKey,this->shiftKey,this->buttonDown,this->delta,this->commandKey,this->clickCount); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(51) - result->touchPointID = this->touchPointID; - HX_STACK_LINE(52) - result->isPrimaryTouchPoint = this->isPrimaryTouchPoint; - HX_STACK_LINE(53) - if (((targ != null()))){ - HX_STACK_LINE(54) - result->nmeSetTarget(targ); - } - HX_STACK_LINE(55) - return result; -} - - -::String TouchEvent_obj::TOUCH_BEGIN; - -::String TouchEvent_obj::TOUCH_END; - -::String TouchEvent_obj::TOUCH_MOVE; - -::String TouchEvent_obj::TOUCH_OUT; - -::String TouchEvent_obj::TOUCH_OVER; - -::String TouchEvent_obj::TOUCH_ROLL_OUT; - -::String TouchEvent_obj::TOUCH_ROLL_OVER; - -::String TouchEvent_obj::TOUCH_TAP; - -::neash::events::TouchEvent TouchEvent_obj::nmeCreate( ::String inType,Dynamic inEvent,::neash::geom::Point inLocal,::neash::display::InteractiveObject inTarget,Float sizeX,Float sizeY){ - HX_STACK_PUSH("TouchEvent::nmeCreate","neash/events/TouchEvent.hx",37); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inLocal,"inLocal"); - HX_STACK_ARG(inTarget,"inTarget"); - HX_STACK_ARG(sizeX,"sizeX"); - HX_STACK_ARG(sizeY,"sizeY"); - HX_STACK_LINE(38) - int flags = inEvent->__Field(HX_CSTRING("flags"),true); HX_STACK_VAR(flags,"flags"); - HX_STACK_LINE(39) - ::neash::events::TouchEvent evt = ::neash::events::TouchEvent_obj::__new(inType,true,false,inLocal->x,inLocal->y,sizeX,sizeY,null(),(((int(flags) & int(::neash::events::MouseEvent_obj::efCtrlDown))) != (int)0),(((int(flags) & int(::neash::events::MouseEvent_obj::efAltDown))) != (int)0),(((int(flags) & int(::neash::events::MouseEvent_obj::efShiftDown))) != (int)0),(((int(flags) & int(::neash::events::MouseEvent_obj::efLeftDown))) != (int)0),(int)0,null(),(int)0); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(40) - evt->stageX = inEvent->__Field(HX_CSTRING("x"),true); - HX_STACK_LINE(41) - evt->stageY = inEvent->__Field(HX_CSTRING("y"),true); - HX_STACK_LINE(42) - evt->nmeSetTarget(inTarget); - HX_STACK_LINE(43) - return evt; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC6(TouchEvent_obj,nmeCreate,return ) - - -TouchEvent_obj::TouchEvent_obj() -{ -} - -void TouchEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TouchEvent); - HX_MARK_MEMBER_NAME(sizeY,"sizeY"); - HX_MARK_MEMBER_NAME(sizeX,"sizeX"); - HX_MARK_MEMBER_NAME(touchPointID,"touchPointID"); - HX_MARK_MEMBER_NAME(isPrimaryTouchPoint,"isPrimaryTouchPoint"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void TouchEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(sizeY,"sizeY"); - HX_VISIT_MEMBER_NAME(sizeX,"sizeX"); - HX_VISIT_MEMBER_NAME(touchPointID,"touchPointID"); - HX_VISIT_MEMBER_NAME(isPrimaryTouchPoint,"isPrimaryTouchPoint"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic TouchEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"sizeY") ) { return sizeY; } - if (HX_FIELD_EQ(inName,"sizeX") ) { return sizeX; } - break; - case 9: - if (HX_FIELD_EQ(inName,"TOUCH_END") ) { return TOUCH_END; } - if (HX_FIELD_EQ(inName,"TOUCH_OUT") ) { return TOUCH_OUT; } - if (HX_FIELD_EQ(inName,"TOUCH_TAP") ) { return TOUCH_TAP; } - if (HX_FIELD_EQ(inName,"nmeCreate") ) { return nmeCreate_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"TOUCH_MOVE") ) { return TOUCH_MOVE; } - if (HX_FIELD_EQ(inName,"TOUCH_OVER") ) { return TOUCH_OVER; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TOUCH_BEGIN") ) { return TOUCH_BEGIN; } - break; - case 12: - if (HX_FIELD_EQ(inName,"touchPointID") ) { return touchPointID; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TOUCH_ROLL_OUT") ) { return TOUCH_ROLL_OUT; } - break; - case 15: - if (HX_FIELD_EQ(inName,"TOUCH_ROLL_OVER") ) { return TOUCH_ROLL_OVER; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeCreateSimilar") ) { return nmeCreateSimilar_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"isPrimaryTouchPoint") ) { return isPrimaryTouchPoint; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TouchEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"sizeY") ) { sizeY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"sizeX") ) { sizeX=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"TOUCH_END") ) { TOUCH_END=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TOUCH_OUT") ) { TOUCH_OUT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TOUCH_TAP") ) { TOUCH_TAP=inValue.Cast< ::String >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TOUCH_MOVE") ) { TOUCH_MOVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TOUCH_OVER") ) { TOUCH_OVER=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TOUCH_BEGIN") ) { TOUCH_BEGIN=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"touchPointID") ) { touchPointID=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TOUCH_ROLL_OUT") ) { TOUCH_ROLL_OUT=inValue.Cast< ::String >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"TOUCH_ROLL_OVER") ) { TOUCH_ROLL_OVER=inValue.Cast< ::String >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"isPrimaryTouchPoint") ) { isPrimaryTouchPoint=inValue.Cast< bool >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void TouchEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("sizeY")); - outFields->push(HX_CSTRING("sizeX")); - outFields->push(HX_CSTRING("touchPointID")); - outFields->push(HX_CSTRING("isPrimaryTouchPoint")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("TOUCH_BEGIN"), - HX_CSTRING("TOUCH_END"), - HX_CSTRING("TOUCH_MOVE"), - HX_CSTRING("TOUCH_OUT"), - HX_CSTRING("TOUCH_OVER"), - HX_CSTRING("TOUCH_ROLL_OUT"), - HX_CSTRING("TOUCH_ROLL_OVER"), - HX_CSTRING("TOUCH_TAP"), - HX_CSTRING("nmeCreate"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeCreateSimilar"), - HX_CSTRING("sizeY"), - HX_CSTRING("sizeX"), - HX_CSTRING("touchPointID"), - HX_CSTRING("isPrimaryTouchPoint"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TouchEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_BEGIN,"TOUCH_BEGIN"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_END,"TOUCH_END"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_MOVE,"TOUCH_MOVE"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_OUT,"TOUCH_OUT"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_OVER,"TOUCH_OVER"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_ROLL_OUT,"TOUCH_ROLL_OUT"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_ROLL_OVER,"TOUCH_ROLL_OVER"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_TAP,"TOUCH_TAP"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TouchEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_BEGIN,"TOUCH_BEGIN"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_END,"TOUCH_END"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_MOVE,"TOUCH_MOVE"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_OUT,"TOUCH_OUT"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_OVER,"TOUCH_OVER"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_ROLL_OUT,"TOUCH_ROLL_OUT"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_ROLL_OVER,"TOUCH_ROLL_OVER"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_TAP,"TOUCH_TAP"); -}; - -Class TouchEvent_obj::__mClass; - -void TouchEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.TouchEvent"), hx::TCanCast< TouchEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TouchEvent_obj::__boot() -{ - TOUCH_BEGIN= HX_CSTRING("touchBegin"); - TOUCH_END= HX_CSTRING("touchEnd"); - TOUCH_MOVE= HX_CSTRING("touchMove"); - TOUCH_OUT= HX_CSTRING("touchOut"); - TOUCH_OVER= HX_CSTRING("touchOver"); - TOUCH_ROLL_OUT= HX_CSTRING("touchRollOut"); - TOUCH_ROLL_OVER= HX_CSTRING("touchRollOver"); - TOUCH_TAP= HX_CSTRING("touchTap"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/filters/BitmapFilter.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/filters/BitmapFilter.cpp deleted file mode 100644 index 72205d7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/filters/BitmapFilter.cpp +++ /dev/null @@ -1,119 +0,0 @@ -#include - -#ifndef INCLUDED_neash_filters_BitmapFilter -#include -#endif -namespace neash{ -namespace filters{ - -Void BitmapFilter_obj::__construct(::String inType) -{ -HX_STACK_PUSH("BitmapFilter::new","neash/filters/BitmapFilter.hx",11); -{ - HX_STACK_LINE(11) - this->type = inType; -} -; - return null(); -} - -BitmapFilter_obj::~BitmapFilter_obj() { } - -Dynamic BitmapFilter_obj::__CreateEmpty() { return new BitmapFilter_obj; } -hx::ObjectPtr< BitmapFilter_obj > BitmapFilter_obj::__new(::String inType) -{ hx::ObjectPtr< BitmapFilter_obj > result = new BitmapFilter_obj(); - result->__construct(inType); - return result;} - -Dynamic BitmapFilter_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BitmapFilter_obj > result = new BitmapFilter_obj(); - result->__construct(inArgs[0]); - return result;} - -::neash::filters::BitmapFilter BitmapFilter_obj::clone( ){ - HX_STACK_PUSH("BitmapFilter::clone","neash/filters/BitmapFilter.hx",17); - HX_STACK_THIS(this); - HX_STACK_LINE(18) - hx::Throw (HX_CSTRING("clone not implemented")); - HX_STACK_LINE(19) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapFilter_obj,clone,return ) - - -BitmapFilter_obj::BitmapFilter_obj() -{ -} - -void BitmapFilter_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BitmapFilter); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_END_CLASS(); -} - -void BitmapFilter_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(type,"type"); -} - -Dynamic BitmapFilter_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { return type; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BitmapFilter_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BitmapFilter_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("type")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("clone"), - HX_CSTRING("type"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BitmapFilter_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BitmapFilter_obj::__mClass,"__mClass"); -}; - -Class BitmapFilter_obj::__mClass; - -void BitmapFilter_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.filters.BitmapFilter"), hx::TCanCast< BitmapFilter_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BitmapFilter_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace filters diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/geom/ColorTransform.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/geom/ColorTransform.cpp deleted file mode 100644 index d5032fa..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/geom/ColorTransform.cpp +++ /dev/null @@ -1,261 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_geom_ColorTransform -#include -#endif -namespace neash{ -namespace geom{ - -Void ColorTransform_obj::__construct(hx::Null< Float > __o_inRedMultiplier,hx::Null< Float > __o_inGreenMultiplier,hx::Null< Float > __o_inBlueMultiplier,hx::Null< Float > __o_inAlphaMultiplier,hx::Null< Float > __o_inRedOffset,hx::Null< Float > __o_inGreenOffset,hx::Null< Float > __o_inBlueOffset,hx::Null< Float > __o_inAlphaOffset) -{ -HX_STACK_PUSH("ColorTransform::new","neash/geom/ColorTransform.hx",24); -Float inRedMultiplier = __o_inRedMultiplier.Default(1.0); -Float inGreenMultiplier = __o_inGreenMultiplier.Default(1.0); -Float inBlueMultiplier = __o_inBlueMultiplier.Default(1.0); -Float inAlphaMultiplier = __o_inAlphaMultiplier.Default(1.0); -Float inRedOffset = __o_inRedOffset.Default(0.0); -Float inGreenOffset = __o_inGreenOffset.Default(0.0); -Float inBlueOffset = __o_inBlueOffset.Default(0.0); -Float inAlphaOffset = __o_inAlphaOffset.Default(0.0); -{ - HX_STACK_LINE(25) - this->redMultiplier = inRedMultiplier; - HX_STACK_LINE(26) - this->greenMultiplier = inGreenMultiplier; - HX_STACK_LINE(27) - this->blueMultiplier = inBlueMultiplier; - HX_STACK_LINE(28) - this->alphaMultiplier = inAlphaMultiplier; - HX_STACK_LINE(29) - this->redOffset = inRedOffset; - HX_STACK_LINE(30) - this->greenOffset = inGreenOffset; - HX_STACK_LINE(31) - this->blueOffset = inBlueOffset; - HX_STACK_LINE(32) - this->alphaOffset = inAlphaOffset; -} -; - return null(); -} - -ColorTransform_obj::~ColorTransform_obj() { } - -Dynamic ColorTransform_obj::__CreateEmpty() { return new ColorTransform_obj; } -hx::ObjectPtr< ColorTransform_obj > ColorTransform_obj::__new(hx::Null< Float > __o_inRedMultiplier,hx::Null< Float > __o_inGreenMultiplier,hx::Null< Float > __o_inBlueMultiplier,hx::Null< Float > __o_inAlphaMultiplier,hx::Null< Float > __o_inRedOffset,hx::Null< Float > __o_inGreenOffset,hx::Null< Float > __o_inBlueOffset,hx::Null< Float > __o_inAlphaOffset) -{ hx::ObjectPtr< ColorTransform_obj > result = new ColorTransform_obj(); - result->__construct(__o_inRedMultiplier,__o_inGreenMultiplier,__o_inBlueMultiplier,__o_inAlphaMultiplier,__o_inRedOffset,__o_inGreenOffset,__o_inBlueOffset,__o_inAlphaOffset); - return result;} - -Dynamic ColorTransform_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ColorTransform_obj > result = new ColorTransform_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7]); - return result;} - -int ColorTransform_obj::nmeSetColor( int value){ - HX_STACK_PUSH("ColorTransform::nmeSetColor","neash/geom/ColorTransform.hx",55); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(56) - this->redOffset = (int((int(value) >> int((int)16))) & int((int)255)); - HX_STACK_LINE(57) - this->greenOffset = (int((int(value) >> int((int)8))) & int((int)255)); - HX_STACK_LINE(58) - this->blueOffset = (int(value) & int((int)255)); - HX_STACK_LINE(60) - this->redMultiplier = (int)0; - HX_STACK_LINE(61) - this->greenMultiplier = (int)0; - HX_STACK_LINE(62) - this->blueMultiplier = (int)0; - HX_STACK_LINE(64) - return this->nmeGetColor(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ColorTransform_obj,nmeSetColor,return ) - -int ColorTransform_obj::nmeGetColor( ){ - HX_STACK_PUSH("ColorTransform::nmeGetColor","neash/geom/ColorTransform.hx",49); - HX_STACK_THIS(this); - HX_STACK_LINE(49) - return (int((int((int(::Std_obj::_int(this->redOffset)) << int((int)16))) | int((int(::Std_obj::_int(this->greenOffset)) << int((int)8))))) | int(::Std_obj::_int(this->blueOffset))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ColorTransform_obj,nmeGetColor,return ) - -Void ColorTransform_obj::concat( ::neash::geom::ColorTransform second){ -{ - HX_STACK_PUSH("ColorTransform::concat","neash/geom/ColorTransform.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(second,"second"); - HX_STACK_LINE(38) - hx::AddEq(this->redMultiplier,second->redMultiplier); - HX_STACK_LINE(39) - hx::AddEq(this->greenMultiplier,second->greenMultiplier); - HX_STACK_LINE(40) - hx::AddEq(this->blueMultiplier,second->blueMultiplier); - HX_STACK_LINE(41) - hx::AddEq(this->alphaMultiplier,second->alphaMultiplier); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ColorTransform_obj,concat,(void)) - - -ColorTransform_obj::ColorTransform_obj() -{ -} - -void ColorTransform_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ColorTransform); - HX_MARK_MEMBER_NAME(redOffset,"redOffset"); - HX_MARK_MEMBER_NAME(redMultiplier,"redMultiplier"); - HX_MARK_MEMBER_NAME(greenOffset,"greenOffset"); - HX_MARK_MEMBER_NAME(greenMultiplier,"greenMultiplier"); - HX_MARK_MEMBER_NAME(color,"color"); - HX_MARK_MEMBER_NAME(blueOffset,"blueOffset"); - HX_MARK_MEMBER_NAME(blueMultiplier,"blueMultiplier"); - HX_MARK_MEMBER_NAME(alphaOffset,"alphaOffset"); - HX_MARK_MEMBER_NAME(alphaMultiplier,"alphaMultiplier"); - HX_MARK_END_CLASS(); -} - -void ColorTransform_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(redOffset,"redOffset"); - HX_VISIT_MEMBER_NAME(redMultiplier,"redMultiplier"); - HX_VISIT_MEMBER_NAME(greenOffset,"greenOffset"); - HX_VISIT_MEMBER_NAME(greenMultiplier,"greenMultiplier"); - HX_VISIT_MEMBER_NAME(color,"color"); - HX_VISIT_MEMBER_NAME(blueOffset,"blueOffset"); - HX_VISIT_MEMBER_NAME(blueMultiplier,"blueMultiplier"); - HX_VISIT_MEMBER_NAME(alphaOffset,"alphaOffset"); - HX_VISIT_MEMBER_NAME(alphaMultiplier,"alphaMultiplier"); -} - -Dynamic ColorTransform_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"color") ) { return inCallProp ? nmeGetColor() : color; } - break; - case 6: - if (HX_FIELD_EQ(inName,"concat") ) { return concat_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"redOffset") ) { return redOffset; } - break; - case 10: - if (HX_FIELD_EQ(inName,"blueOffset") ) { return blueOffset; } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeSetColor") ) { return nmeSetColor_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetColor") ) { return nmeGetColor_dyn(); } - if (HX_FIELD_EQ(inName,"greenOffset") ) { return greenOffset; } - if (HX_FIELD_EQ(inName,"alphaOffset") ) { return alphaOffset; } - break; - case 13: - if (HX_FIELD_EQ(inName,"redMultiplier") ) { return redMultiplier; } - break; - case 14: - if (HX_FIELD_EQ(inName,"blueMultiplier") ) { return blueMultiplier; } - break; - case 15: - if (HX_FIELD_EQ(inName,"greenMultiplier") ) { return greenMultiplier; } - if (HX_FIELD_EQ(inName,"alphaMultiplier") ) { return alphaMultiplier; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ColorTransform_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"color") ) { if (inCallProp) return nmeSetColor(inValue);color=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"redOffset") ) { redOffset=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"blueOffset") ) { blueOffset=inValue.Cast< Float >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"greenOffset") ) { greenOffset=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"alphaOffset") ) { alphaOffset=inValue.Cast< Float >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"redMultiplier") ) { redMultiplier=inValue.Cast< Float >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"blueMultiplier") ) { blueMultiplier=inValue.Cast< Float >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"greenMultiplier") ) { greenMultiplier=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"alphaMultiplier") ) { alphaMultiplier=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ColorTransform_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("redOffset")); - outFields->push(HX_CSTRING("redMultiplier")); - outFields->push(HX_CSTRING("greenOffset")); - outFields->push(HX_CSTRING("greenMultiplier")); - outFields->push(HX_CSTRING("color")); - outFields->push(HX_CSTRING("blueOffset")); - outFields->push(HX_CSTRING("blueMultiplier")); - outFields->push(HX_CSTRING("alphaOffset")); - outFields->push(HX_CSTRING("alphaMultiplier")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetColor"), - HX_CSTRING("nmeGetColor"), - HX_CSTRING("concat"), - HX_CSTRING("redOffset"), - HX_CSTRING("redMultiplier"), - HX_CSTRING("greenOffset"), - HX_CSTRING("greenMultiplier"), - HX_CSTRING("color"), - HX_CSTRING("blueOffset"), - HX_CSTRING("blueMultiplier"), - HX_CSTRING("alphaOffset"), - HX_CSTRING("alphaMultiplier"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ColorTransform_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ColorTransform_obj::__mClass,"__mClass"); -}; - -Class ColorTransform_obj::__mClass; - -void ColorTransform_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.geom.ColorTransform"), hx::TCanCast< ColorTransform_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ColorTransform_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/geom/Matrix.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/geom/Matrix.cpp deleted file mode 100644 index 533e9d1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/geom/Matrix.cpp +++ /dev/null @@ -1,561 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -namespace neash{ -namespace geom{ - -Void Matrix_obj::__construct(Dynamic in_a,Dynamic in_b,Dynamic in_c,Dynamic in_d,Dynamic in_tx,Dynamic in_ty) -{ -HX_STACK_PUSH("Matrix::new","neash/geom/Matrix.hx",26); -{ - HX_STACK_LINE(27) - this->a = ( (((in_a == null()))) ? Dynamic(1.0) : Dynamic(in_a) ); - HX_STACK_LINE(28) - this->b = ( (((in_b == null()))) ? Dynamic(0.0) : Dynamic(in_b) ); - HX_STACK_LINE(29) - this->c = ( (((in_c == null()))) ? Dynamic(0.0) : Dynamic(in_c) ); - HX_STACK_LINE(30) - this->d = ( (((in_d == null()))) ? Dynamic(1.0) : Dynamic(in_d) ); - HX_STACK_LINE(31) - this->tx = ( (((in_tx == null()))) ? Dynamic(0.0) : Dynamic(in_tx) ); - HX_STACK_LINE(32) - this->ty = ( (((in_ty == null()))) ? Dynamic(0.0) : Dynamic(in_ty) ); -} -; - return null(); -} - -Matrix_obj::~Matrix_obj() { } - -Dynamic Matrix_obj::__CreateEmpty() { return new Matrix_obj; } -hx::ObjectPtr< Matrix_obj > Matrix_obj::__new(Dynamic in_a,Dynamic in_b,Dynamic in_c,Dynamic in_d,Dynamic in_tx,Dynamic in_ty) -{ hx::ObjectPtr< Matrix_obj > result = new Matrix_obj(); - result->__construct(in_a,in_b,in_c,in_d,in_tx,in_ty); - return result;} - -Dynamic Matrix_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Matrix_obj > result = new Matrix_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5]); - return result;} - -Void Matrix_obj::translate( Float inDX,Float inDY){ -{ - HX_STACK_PUSH("Matrix::translate","neash/geom/Matrix.hx",237); - HX_STACK_THIS(this); - HX_STACK_ARG(inDX,"inDX"); - HX_STACK_ARG(inDY,"inDY"); - HX_STACK_LINE(238) - hx::AddEq(this->tx,inDX); - HX_STACK_LINE(239) - hx::AddEq(this->ty,inDY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Matrix_obj,translate,(void)) - -::neash::geom::Point Matrix_obj::transformPoint( ::neash::geom::Point inPos){ - HX_STACK_PUSH("Matrix::transformPoint","neash/geom/Matrix.hx",231); - HX_STACK_THIS(this); - HX_STACK_ARG(inPos,"inPos"); - HX_STACK_LINE(231) - return ::neash::geom::Point_obj::__new((((inPos->x * this->a) + (inPos->y * this->c)) + this->tx),(((inPos->x * this->b) + (inPos->y * this->d)) + this->ty)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,transformPoint,return ) - -Void Matrix_obj::setRotation( Float inTheta,Dynamic inScale){ -{ - HX_STACK_PUSH("Matrix::setRotation","neash/geom/Matrix.hx",221); - HX_STACK_THIS(this); - HX_STACK_ARG(inTheta,"inTheta"); - HX_STACK_ARG(inScale,"inScale"); - HX_STACK_LINE(222) - Float scale = ( (((inScale == null()))) ? Dynamic(1.0) : Dynamic(inScale) ); HX_STACK_VAR(scale,"scale"); - HX_STACK_LINE(223) - this->a = (::Math_obj::cos(inTheta) * scale); - HX_STACK_LINE(224) - this->c = (::Math_obj::sin(inTheta) * scale); - HX_STACK_LINE(225) - this->b = -(this->c); - HX_STACK_LINE(226) - this->d = this->a; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Matrix_obj,setRotation,(void)) - -Void Matrix_obj::scale( Float inSX,Float inSY){ -{ - HX_STACK_PUSH("Matrix::scale","neash/geom/Matrix.hx",208); - HX_STACK_THIS(this); - HX_STACK_ARG(inSX,"inSX"); - HX_STACK_ARG(inSY,"inSY"); - HX_STACK_LINE(209) - hx::MultEq(this->a,inSX); - HX_STACK_LINE(210) - hx::MultEq(this->b,inSY); - HX_STACK_LINE(212) - hx::MultEq(this->c,inSX); - HX_STACK_LINE(213) - hx::MultEq(this->d,inSY); - HX_STACK_LINE(215) - hx::MultEq(this->tx,inSX); - HX_STACK_LINE(216) - hx::MultEq(this->ty,inSY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Matrix_obj,scale,(void)) - -Void Matrix_obj::rotate( Float inTheta){ -{ - HX_STACK_PUSH("Matrix::rotate","neash/geom/Matrix.hx",182); - HX_STACK_THIS(this); - HX_STACK_ARG(inTheta,"inTheta"); - HX_STACK_LINE(183) - Float cos = ::Math_obj::cos(inTheta); HX_STACK_VAR(cos,"cos"); - HX_STACK_LINE(184) - Float sin = ::Math_obj::sin(inTheta); HX_STACK_VAR(sin,"sin"); - HX_STACK_LINE(186) - Float a1 = ((this->a * cos) - (this->b * sin)); HX_STACK_VAR(a1,"a1"); - HX_STACK_LINE(187) - this->b = ((this->a * sin) + (this->b * cos)); - HX_STACK_LINE(188) - this->a = a1; - HX_STACK_LINE(190) - Float c1 = ((this->c * cos) - (this->d * sin)); HX_STACK_VAR(c1,"c1"); - HX_STACK_LINE(191) - this->d = ((this->c * sin) + (this->d * cos)); - HX_STACK_LINE(192) - this->c = c1; - HX_STACK_LINE(194) - Float tx1 = ((this->tx * cos) - (this->ty * sin)); HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(195) - this->ty = ((this->tx * sin) + (this->ty * cos)); - HX_STACK_LINE(196) - this->tx = tx1; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,rotate,(void)) - -::neash::geom::Matrix Matrix_obj::mult( ::neash::geom::Matrix m){ - HX_STACK_PUSH("Matrix::mult","neash/geom/Matrix.hx",154); - HX_STACK_THIS(this); - HX_STACK_ARG(m,"m"); - HX_STACK_LINE(155) - ::neash::geom::Matrix result = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(157) - result->a = ((this->a * m->a) + (this->b * m->c)); - HX_STACK_LINE(158) - result->b = ((this->a * m->b) + (this->b * m->d)); - HX_STACK_LINE(159) - result->c = ((this->c * m->a) + (this->d * m->c)); - HX_STACK_LINE(160) - result->d = ((this->c * m->b) + (this->d * m->d)); - HX_STACK_LINE(162) - result->tx = (((this->tx * m->a) + (this->ty * m->c)) + m->tx); - HX_STACK_LINE(163) - result->ty = (((this->tx * m->b) + (this->ty * m->d)) + m->ty); - HX_STACK_LINE(165) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,mult,return ) - -::neash::geom::Matrix Matrix_obj::invert( ){ - HX_STACK_PUSH("Matrix::invert","neash/geom/Matrix.hx",126); - HX_STACK_THIS(this); - HX_STACK_LINE(127) - Float norm = ((this->a * this->d) - (this->b * this->c)); HX_STACK_VAR(norm,"norm"); - HX_STACK_LINE(129) - if (((norm == (int)0))){ - HX_STACK_LINE(131) - this->a = this->b = this->c = this->d = (int)0; - HX_STACK_LINE(132) - this->tx = -(this->tx); - HX_STACK_LINE(133) - this->ty = -(this->ty); - } - else{ - HX_STACK_LINE(137) - norm = (Float(1.0) / Float(norm)); - HX_STACK_LINE(138) - Float a1 = (this->d * norm); HX_STACK_VAR(a1,"a1"); - HX_STACK_LINE(139) - this->d = (this->a * norm); - HX_STACK_LINE(140) - this->a = a1; - HX_STACK_LINE(141) - hx::MultEq(this->b,-(norm)); - HX_STACK_LINE(142) - hx::MultEq(this->c,-(norm)); - HX_STACK_LINE(144) - Float tx1 = ((-(this->a) * this->tx) - (this->c * this->ty)); HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(145) - this->ty = ((-(this->b) * this->tx) - (this->d * this->ty)); - HX_STACK_LINE(146) - this->tx = tx1; - } - HX_STACK_LINE(149) - return hx::ObjectPtr(this); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix_obj,invert,return ) - -Void Matrix_obj::identity( ){ -{ - HX_STACK_PUSH("Matrix::identity","neash/geom/Matrix.hx",115); - HX_STACK_THIS(this); - HX_STACK_LINE(116) - this->a = (int)1; - HX_STACK_LINE(117) - this->b = (int)0; - HX_STACK_LINE(118) - this->c = (int)0; - HX_STACK_LINE(119) - this->d = (int)1; - HX_STACK_LINE(120) - this->tx = (int)0; - HX_STACK_LINE(121) - this->ty = (int)0; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix_obj,identity,(void)) - -::neash::geom::Point Matrix_obj::deltaTransformPoint( ::neash::geom::Point point){ - HX_STACK_PUSH("Matrix::deltaTransformPoint","neash/geom/Matrix.hx",109); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(109) - return ::neash::geom::Point_obj::__new(((point->x * this->a) + (point->y * this->c)),((point->x * this->b) + (point->y * this->d))); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,deltaTransformPoint,return ) - -Void Matrix_obj::createGradientBox( Float in_width,Float in_height,Dynamic rotation,Dynamic in_tx,Dynamic in_ty){ -{ - HX_STACK_PUSH("Matrix::createGradientBox","neash/geom/Matrix.hx",84); - HX_STACK_THIS(this); - HX_STACK_ARG(in_width,"in_width"); - HX_STACK_ARG(in_height,"in_height"); - HX_STACK_ARG(rotation,"rotation"); - HX_STACK_ARG(in_tx,"in_tx"); - HX_STACK_ARG(in_ty,"in_ty"); - HX_STACK_LINE(85) - this->a = (Float(in_width) / Float(1638.4)); - HX_STACK_LINE(86) - this->d = (Float(in_height) / Float(1638.4)); - HX_STACK_LINE(89) - if (((bool((rotation != null())) && bool((rotation != 0.0))))){ - HX_STACK_LINE(91) - Float cos = ::Math_obj::cos(rotation); HX_STACK_VAR(cos,"cos"); - HX_STACK_LINE(92) - Float sin = ::Math_obj::sin(rotation); HX_STACK_VAR(sin,"sin"); - HX_STACK_LINE(93) - this->b = (sin * this->d); - HX_STACK_LINE(94) - this->c = (-(sin) * this->a); - HX_STACK_LINE(95) - hx::MultEq(this->a,cos); - HX_STACK_LINE(96) - hx::MultEq(this->d,cos); - } - else{ - HX_STACK_LINE(99) - this->b = this->c = (int)0; - } - HX_STACK_LINE(103) - this->tx = ( (((in_tx != null()))) ? Float((in_tx + (Float(in_width) / Float((int)2)))) : Float((Float(in_width) / Float((int)2))) ); - HX_STACK_LINE(104) - this->ty = ( (((in_ty != null()))) ? Float((in_ty + (Float(in_height) / Float((int)2)))) : Float((Float(in_height) / Float((int)2))) ); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(Matrix_obj,createGradientBox,(void)) - -Void Matrix_obj::createBox( Float scaleX,Float scaleY,Dynamic rotation,Dynamic tx,Dynamic ty){ -{ - HX_STACK_PUSH("Matrix::createBox","neash/geom/Matrix.hx",74); - HX_STACK_THIS(this); - HX_STACK_ARG(scaleX,"scaleX"); - HX_STACK_ARG(scaleY,"scaleY"); - HX_STACK_ARG(rotation,"rotation"); - HX_STACK_ARG(tx,"tx"); - HX_STACK_ARG(ty,"ty"); - HX_STACK_LINE(75) - this->a = scaleX; - HX_STACK_LINE(76) - this->d = scaleY; - HX_STACK_LINE(77) - this->b = ( (((rotation == null()))) ? Dynamic(0.0) : Dynamic(rotation) ); - HX_STACK_LINE(78) - this->tx = ( (((tx == null()))) ? Dynamic(0.0) : Dynamic(tx) ); - HX_STACK_LINE(79) - this->ty = ( (((ty == null()))) ? Dynamic(0.0) : Dynamic(ty) ); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(Matrix_obj,createBox,(void)) - -Void Matrix_obj::concat( ::neash::geom::Matrix m){ -{ - HX_STACK_PUSH("Matrix::concat","neash/geom/Matrix.hx",57); - HX_STACK_THIS(this); - HX_STACK_ARG(m,"m"); - HX_STACK_LINE(58) - Float a1 = ((this->a * m->a) + (this->b * m->c)); HX_STACK_VAR(a1,"a1"); - HX_STACK_LINE(59) - this->b = ((this->a * m->b) + (this->b * m->d)); - HX_STACK_LINE(60) - this->a = a1; - HX_STACK_LINE(62) - Float c1 = ((this->c * m->a) + (this->d * m->c)); HX_STACK_VAR(c1,"c1"); - HX_STACK_LINE(63) - this->d = ((this->c * m->b) + (this->d * m->d)); - HX_STACK_LINE(65) - this->c = c1; - HX_STACK_LINE(67) - Float tx1 = (((this->tx * m->a) + (this->ty * m->c)) + m->tx); HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(68) - this->ty = (((this->tx * m->b) + (this->ty * m->d)) + m->ty); - HX_STACK_LINE(69) - this->tx = tx1; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,concat,(void)) - -::neash::geom::Matrix Matrix_obj::clone( ){ - HX_STACK_PUSH("Matrix::clone","neash/geom/Matrix.hx",37); - HX_STACK_THIS(this); - HX_STACK_LINE(37) - return ::neash::geom::Matrix_obj::__new(this->a,this->b,this->c,this->d,this->tx,this->ty); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix_obj,clone,return ) - - -Matrix_obj::Matrix_obj() -{ -} - -void Matrix_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Matrix); - HX_MARK_MEMBER_NAME(ty,"ty"); - HX_MARK_MEMBER_NAME(tx,"tx"); - HX_MARK_MEMBER_NAME(d,"d"); - HX_MARK_MEMBER_NAME(c,"c"); - HX_MARK_MEMBER_NAME(b,"b"); - HX_MARK_MEMBER_NAME(a,"a"); - HX_MARK_END_CLASS(); -} - -void Matrix_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(ty,"ty"); - HX_VISIT_MEMBER_NAME(tx,"tx"); - HX_VISIT_MEMBER_NAME(d,"d"); - HX_VISIT_MEMBER_NAME(c,"c"); - HX_VISIT_MEMBER_NAME(b,"b"); - HX_VISIT_MEMBER_NAME(a,"a"); -} - -Dynamic Matrix_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"d") ) { return d; } - if (HX_FIELD_EQ(inName,"c") ) { return c; } - if (HX_FIELD_EQ(inName,"b") ) { return b; } - if (HX_FIELD_EQ(inName,"a") ) { return a; } - break; - case 2: - if (HX_FIELD_EQ(inName,"ty") ) { return ty; } - if (HX_FIELD_EQ(inName,"tx") ) { return tx; } - break; - case 4: - if (HX_FIELD_EQ(inName,"mult") ) { return mult_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"scale") ) { return scale_dyn(); } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"rotate") ) { return rotate_dyn(); } - if (HX_FIELD_EQ(inName,"invert") ) { return invert_dyn(); } - if (HX_FIELD_EQ(inName,"concat") ) { return concat_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"identity") ) { return identity_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"translate") ) { return translate_dyn(); } - if (HX_FIELD_EQ(inName,"createBox") ) { return createBox_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"setRotation") ) { return setRotation_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"transformPoint") ) { return transformPoint_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"createGradientBox") ) { return createGradientBox_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"deltaTransformPoint") ) { return deltaTransformPoint_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -static int __id_translate = __hxcpp_field_to_id("translate"); -static int __id_transformPoint = __hxcpp_field_to_id("transformPoint"); -static int __id_setRotation = __hxcpp_field_to_id("setRotation"); -static int __id_scale = __hxcpp_field_to_id("scale"); -static int __id_rotate = __hxcpp_field_to_id("rotate"); -static int __id_mult = __hxcpp_field_to_id("mult"); -static int __id_invert = __hxcpp_field_to_id("invert"); -static int __id_identity = __hxcpp_field_to_id("identity"); -static int __id_deltaTransformPoint = __hxcpp_field_to_id("deltaTransformPoint"); -static int __id_createGradientBox = __hxcpp_field_to_id("createGradientBox"); -static int __id_createBox = __hxcpp_field_to_id("createBox"); -static int __id_concat = __hxcpp_field_to_id("concat"); -static int __id_clone = __hxcpp_field_to_id("clone"); -static int __id_ty = __hxcpp_field_to_id("ty"); -static int __id_tx = __hxcpp_field_to_id("tx"); -static int __id_d = __hxcpp_field_to_id("d"); -static int __id_c = __hxcpp_field_to_id("c"); -static int __id_b = __hxcpp_field_to_id("b"); -static int __id_a = __hxcpp_field_to_id("a"); - - -double Matrix_obj::__INumField(int inFieldID) -{ - if (inFieldID==__id_translate) return translate_dyn(); - if (inFieldID==__id_transformPoint) return transformPoint_dyn(); - if (inFieldID==__id_setRotation) return setRotation_dyn(); - if (inFieldID==__id_scale) return scale_dyn(); - if (inFieldID==__id_rotate) return rotate_dyn(); - if (inFieldID==__id_mult) return mult_dyn(); - if (inFieldID==__id_invert) return invert_dyn(); - if (inFieldID==__id_identity) return identity_dyn(); - if (inFieldID==__id_deltaTransformPoint) return deltaTransformPoint_dyn(); - if (inFieldID==__id_createGradientBox) return createGradientBox_dyn(); - if (inFieldID==__id_createBox) return createBox_dyn(); - if (inFieldID==__id_concat) return concat_dyn(); - if (inFieldID==__id_clone) return clone_dyn(); - if (inFieldID==__id_ty) return ty; - if (inFieldID==__id_tx) return tx; - if (inFieldID==__id_d) return d; - if (inFieldID==__id_c) return c; - if (inFieldID==__id_b) return b; - if (inFieldID==__id_a) return a; - return super::__INumField(inFieldID); -} - -Dynamic Matrix_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"d") ) { d=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"c") ) { c=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"b") ) { b=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"a") ) { a=inValue.Cast< Float >(); return inValue; } - break; - case 2: - if (HX_FIELD_EQ(inName,"ty") ) { ty=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"tx") ) { tx=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Matrix_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("ty")); - outFields->push(HX_CSTRING("tx")); - outFields->push(HX_CSTRING("d")); - outFields->push(HX_CSTRING("c")); - outFields->push(HX_CSTRING("b")); - outFields->push(HX_CSTRING("a")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("translate"), - HX_CSTRING("transformPoint"), - HX_CSTRING("setRotation"), - HX_CSTRING("scale"), - HX_CSTRING("rotate"), - HX_CSTRING("mult"), - HX_CSTRING("invert"), - HX_CSTRING("identity"), - HX_CSTRING("deltaTransformPoint"), - HX_CSTRING("createGradientBox"), - HX_CSTRING("createBox"), - HX_CSTRING("concat"), - HX_CSTRING("clone"), - HX_CSTRING("ty"), - HX_CSTRING("tx"), - HX_CSTRING("d"), - HX_CSTRING("c"), - HX_CSTRING("b"), - HX_CSTRING("a"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Matrix_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Matrix_obj::__mClass,"__mClass"); -}; - -Class Matrix_obj::__mClass; - -void Matrix_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.geom.Matrix"), hx::TCanCast< Matrix_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Matrix_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/geom/Point.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/geom/Point.cpp deleted file mode 100644 index 964a986..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/geom/Point.cpp +++ /dev/null @@ -1,291 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -namespace neash{ -namespace geom{ - -Void Point_obj::__construct(hx::Null< Float > __o_inX,hx::Null< Float > __o_inY) -{ -HX_STACK_PUSH("Point::new","neash/geom/Point.hx",39); -Float inX = __o_inX.Default(0); -Float inY = __o_inY.Default(0); -{ - HX_STACK_LINE(40) - this->x = inX; - HX_STACK_LINE(41) - this->y = inY; -} -; - return null(); -} - -Point_obj::~Point_obj() { } - -Dynamic Point_obj::__CreateEmpty() { return new Point_obj; } -hx::ObjectPtr< Point_obj > Point_obj::__new(hx::Null< Float > __o_inX,hx::Null< Float > __o_inY) -{ hx::ObjectPtr< Point_obj > result = new Point_obj(); - result->__construct(__o_inX,__o_inY); - return result;} - -Dynamic Point_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Point_obj > result = new Point_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -Float Point_obj::nmeGetLength( ){ - HX_STACK_PUSH("Point::nmeGetLength","neash/geom/Point.hx",117); - HX_STACK_THIS(this); - HX_STACK_LINE(117) - return ::Math_obj::sqrt(((this->x * this->x) + (this->y * this->y))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Point_obj,nmeGetLength,return ) - -::neash::geom::Point Point_obj::subtract( ::neash::geom::Point v){ - HX_STACK_PUSH("Point::subtract","neash/geom/Point.hx",106); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(106) - return ::neash::geom::Point_obj::__new((this->x - v->x),(this->y - v->y)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Point_obj,subtract,return ) - -Void Point_obj::offset( Float dx,Float dy){ -{ - HX_STACK_PUSH("Point::offset","neash/geom/Point.hx",93); - HX_STACK_THIS(this); - HX_STACK_ARG(dx,"dx"); - HX_STACK_ARG(dy,"dy"); - HX_STACK_LINE(94) - hx::AddEq(this->x,dx); - HX_STACK_LINE(95) - hx::AddEq(this->y,dy); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Point_obj,offset,(void)) - -Void Point_obj::normalize( Float thickness){ -{ - HX_STACK_PUSH("Point::normalize","neash/geom/Point.hx",78); - HX_STACK_THIS(this); - HX_STACK_ARG(thickness,"thickness"); - HX_STACK_LINE(78) - if (((bool((this->x == (int)0)) && bool((this->y == (int)0))))){ - HX_STACK_LINE(80) - return null(); - } - else{ - HX_STACK_LINE(85) - Float norm = (Float(thickness) / Float(::Math_obj::sqrt(((this->x * this->x) + (this->y * this->y))))); HX_STACK_VAR(norm,"norm"); - HX_STACK_LINE(86) - hx::MultEq(this->x,norm); - HX_STACK_LINE(87) - hx::MultEq(this->y,norm); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Point_obj,normalize,(void)) - -bool Point_obj::equals( ::neash::geom::Point toCompare){ - HX_STACK_PUSH("Point::equals","neash/geom/Point.hx",66); - HX_STACK_THIS(this); - HX_STACK_ARG(toCompare,"toCompare"); - HX_STACK_LINE(66) - return (bool((toCompare->x == this->x)) && bool((toCompare->y == this->y))); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Point_obj,equals,return ) - -::neash::geom::Point Point_obj::clone( ){ - HX_STACK_PUSH("Point::clone","neash/geom/Point.hx",52); - HX_STACK_THIS(this); - HX_STACK_LINE(52) - return ::neash::geom::Point_obj::__new(this->x,this->y); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Point_obj,clone,return ) - -::neash::geom::Point Point_obj::add( ::neash::geom::Point v){ - HX_STACK_PUSH("Point::add","neash/geom/Point.hx",46); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(46) - return ::neash::geom::Point_obj::__new((v->x + this->x),(v->y + this->y)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Point_obj,add,return ) - -Float Point_obj::distance( ::neash::geom::Point pt1,::neash::geom::Point pt2){ - HX_STACK_PUSH("Point::distance","neash/geom/Point.hx",58); - HX_STACK_ARG(pt1,"pt1"); - HX_STACK_ARG(pt2,"pt2"); - HX_STACK_LINE(59) - Float dx = (pt1->x - pt2->x); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(60) - Float dy = (pt1->y - pt2->y); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(61) - return ::Math_obj::sqrt(((dx * dx) + (dy * dy))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Point_obj,distance,return ) - -::neash::geom::Point Point_obj::interpolate( ::neash::geom::Point pt1,::neash::geom::Point pt2,Float f){ - HX_STACK_PUSH("Point::interpolate","neash/geom/Point.hx",72); - HX_STACK_ARG(pt1,"pt1"); - HX_STACK_ARG(pt2,"pt2"); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(72) - return ::neash::geom::Point_obj::__new((pt2->x + (f * ((pt1->x - pt2->x)))),(pt2->y + (f * ((pt1->y - pt2->y))))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Point_obj,interpolate,return ) - -::neash::geom::Point Point_obj::polar( Float len,Float angle){ - HX_STACK_PUSH("Point::polar","neash/geom/Point.hx",100); - HX_STACK_ARG(len,"len"); - HX_STACK_ARG(angle,"angle"); - HX_STACK_LINE(100) - return ::neash::geom::Point_obj::__new((len * ::Math_obj::cos(angle)),(len * ::Math_obj::sin(angle))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Point_obj,polar,return ) - - -Point_obj::Point_obj() -{ -} - -void Point_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Point); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(length,"length"); - HX_MARK_END_CLASS(); -} - -void Point_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(length,"length"); -} - -Dynamic Point_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 3: - if (HX_FIELD_EQ(inName,"add") ) { return add_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"polar") ) { return polar_dyn(); } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"offset") ) { return offset_dyn(); } - if (HX_FIELD_EQ(inName,"equals") ) { return equals_dyn(); } - if (HX_FIELD_EQ(inName,"length") ) { return inCallProp ? nmeGetLength() : length; } - break; - case 8: - if (HX_FIELD_EQ(inName,"distance") ) { return distance_dyn(); } - if (HX_FIELD_EQ(inName,"subtract") ) { return subtract_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"normalize") ) { return normalize_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"interpolate") ) { return interpolate_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeGetLength") ) { return nmeGetLength_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Point_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { length=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Point_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("length")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("distance"), - HX_CSTRING("interpolate"), - HX_CSTRING("polar"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetLength"), - HX_CSTRING("subtract"), - HX_CSTRING("offset"), - HX_CSTRING("normalize"), - HX_CSTRING("equals"), - HX_CSTRING("clone"), - HX_CSTRING("add"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("length"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Point_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Point_obj::__mClass,"__mClass"); -}; - -Class Point_obj::__mClass; - -void Point_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.geom.Point"), hx::TCanCast< Point_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Point_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/geom/Rectangle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/geom/Rectangle.cpp deleted file mode 100644 index 342b658..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/geom/Rectangle.cpp +++ /dev/null @@ -1,791 +0,0 @@ -#include - -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -namespace neash{ -namespace geom{ - -Void Rectangle_obj::__construct(Dynamic inX,Dynamic inY,Dynamic inWidth,Dynamic inHeight) -{ -HX_STACK_PUSH("Rectangle::new","neash/geom/Rectangle.hx",44); -{ - HX_STACK_LINE(45) - this->x = ( (((inX == null()))) ? Dynamic((int)0) : Dynamic(inX) ); - HX_STACK_LINE(46) - this->y = ( (((inY == null()))) ? Dynamic((int)0) : Dynamic(inY) ); - HX_STACK_LINE(47) - this->width = ( (((inWidth == null()))) ? Dynamic((int)0) : Dynamic(inWidth) ); - HX_STACK_LINE(48) - this->height = ( (((inHeight == null()))) ? Dynamic((int)0) : Dynamic(inHeight) ); -} -; - return null(); -} - -Rectangle_obj::~Rectangle_obj() { } - -Dynamic Rectangle_obj::__CreateEmpty() { return new Rectangle_obj; } -hx::ObjectPtr< Rectangle_obj > Rectangle_obj::__new(Dynamic inX,Dynamic inY,Dynamic inWidth,Dynamic inHeight) -{ hx::ObjectPtr< Rectangle_obj > result = new Rectangle_obj(); - result->__construct(inX,inY,inWidth,inHeight); - return result;} - -Dynamic Rectangle_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Rectangle_obj > result = new Rectangle_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -::neash::geom::Point Rectangle_obj::nmeSetTopLeft( ::neash::geom::Point p){ - HX_STACK_PUSH("Rectangle::nmeSetTopLeft","neash/geom/Rectangle.hx",231); - HX_STACK_THIS(this); - HX_STACK_ARG(p,"p"); - HX_STACK_LINE(231) - this->x = p->x; - HX_STACK_LINE(231) - this->y = p->y; - HX_STACK_LINE(231) - return p->clone(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetTopLeft,return ) - -::neash::geom::Point Rectangle_obj::nmeGetTopLeft( ){ - HX_STACK_PUSH("Rectangle::nmeGetTopLeft","neash/geom/Rectangle.hx",230); - HX_STACK_THIS(this); - HX_STACK_LINE(230) - return ::neash::geom::Point_obj::__new(this->x,this->y); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetTopLeft,return ) - -Float Rectangle_obj::nmeSetTop( Float t){ - HX_STACK_PUSH("Rectangle::nmeSetTop","neash/geom/Rectangle.hx",229); - HX_STACK_THIS(this); - HX_STACK_ARG(t,"t"); - HX_STACK_LINE(229) - hx::SubEq(this->height,(t - this->y)); - HX_STACK_LINE(229) - this->y = t; - HX_STACK_LINE(229) - return t; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetTop,return ) - -Float Rectangle_obj::nmeGetTop( ){ - HX_STACK_PUSH("Rectangle::nmeGetTop","neash/geom/Rectangle.hx",228); - HX_STACK_THIS(this); - HX_STACK_LINE(228) - return this->y; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetTop,return ) - -::neash::geom::Point Rectangle_obj::nmeSetSize( ::neash::geom::Point p){ - HX_STACK_PUSH("Rectangle::nmeSetSize","neash/geom/Rectangle.hx",227); - HX_STACK_THIS(this); - HX_STACK_ARG(p,"p"); - HX_STACK_LINE(227) - this->width = p->x; - HX_STACK_LINE(227) - this->height = p->y; - HX_STACK_LINE(227) - return p->clone(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetSize,return ) - -::neash::geom::Point Rectangle_obj::nmeGetSize( ){ - HX_STACK_PUSH("Rectangle::nmeGetSize","neash/geom/Rectangle.hx",226); - HX_STACK_THIS(this); - HX_STACK_LINE(226) - return ::neash::geom::Point_obj::__new(this->width,this->height); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetSize,return ) - -Float Rectangle_obj::nmeSetRight( Float r){ - HX_STACK_PUSH("Rectangle::nmeSetRight","neash/geom/Rectangle.hx",225); - HX_STACK_THIS(this); - HX_STACK_ARG(r,"r"); - HX_STACK_LINE(225) - this->width = (r - this->x); - HX_STACK_LINE(225) - return r; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetRight,return ) - -Float Rectangle_obj::nmeGetRight( ){ - HX_STACK_PUSH("Rectangle::nmeGetRight","neash/geom/Rectangle.hx",224); - HX_STACK_THIS(this); - HX_STACK_LINE(224) - return (this->x + this->width); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetRight,return ) - -Float Rectangle_obj::nmeSetLeft( Float l){ - HX_STACK_PUSH("Rectangle::nmeSetLeft","neash/geom/Rectangle.hx",223); - HX_STACK_THIS(this); - HX_STACK_ARG(l,"l"); - HX_STACK_LINE(223) - hx::SubEq(this->width,(l - this->x)); - HX_STACK_LINE(223) - this->x = l; - HX_STACK_LINE(223) - return l; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetLeft,return ) - -Float Rectangle_obj::nmeGetLeft( ){ - HX_STACK_PUSH("Rectangle::nmeGetLeft","neash/geom/Rectangle.hx",222); - HX_STACK_THIS(this); - HX_STACK_LINE(222) - return this->x; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetLeft,return ) - -::neash::geom::Point Rectangle_obj::nmeSetBottomRight( ::neash::geom::Point p){ - HX_STACK_PUSH("Rectangle::nmeSetBottomRight","neash/geom/Rectangle.hx",221); - HX_STACK_THIS(this); - HX_STACK_ARG(p,"p"); - HX_STACK_LINE(221) - this->width = (p->x - this->x); - HX_STACK_LINE(221) - this->height = (p->y - this->y); - HX_STACK_LINE(221) - return p->clone(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetBottomRight,return ) - -::neash::geom::Point Rectangle_obj::nmeGetBottomRight( ){ - HX_STACK_PUSH("Rectangle::nmeGetBottomRight","neash/geom/Rectangle.hx",220); - HX_STACK_THIS(this); - HX_STACK_LINE(220) - return ::neash::geom::Point_obj::__new((this->x + this->width),(this->y + this->height)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetBottomRight,return ) - -Float Rectangle_obj::nmeSetBottom( Float b){ - HX_STACK_PUSH("Rectangle::nmeSetBottom","neash/geom/Rectangle.hx",219); - HX_STACK_THIS(this); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(219) - this->height = (b - this->y); - HX_STACK_LINE(219) - return b; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetBottom,return ) - -Float Rectangle_obj::nmeGetBottom( ){ - HX_STACK_PUSH("Rectangle::nmeGetBottom","neash/geom/Rectangle.hx",218); - HX_STACK_THIS(this); - HX_STACK_LINE(218) - return (this->y + this->height); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetBottom,return ) - -::neash::geom::Rectangle Rectangle_obj::_union( ::neash::geom::Rectangle toUnion){ - HX_STACK_PUSH("Rectangle::union","neash/geom/Rectangle.hx",204); - HX_STACK_THIS(this); - HX_STACK_ARG(toUnion,"toUnion"); - HX_STACK_LINE(205) - Float x0 = ( (((this->x > toUnion->x))) ? Float(toUnion->x) : Float(this->x) ); HX_STACK_VAR(x0,"x0"); - HX_STACK_LINE(206) - Float x1 = ( (((this->nmeGetRight() < toUnion->nmeGetRight()))) ? Float(toUnion->nmeGetRight()) : Float(this->nmeGetRight()) ); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(207) - Float y0 = ( (((this->y > toUnion->y))) ? Float(toUnion->y) : Float(this->y) ); HX_STACK_VAR(y0,"y0"); - HX_STACK_LINE(208) - Float y1 = ( (((this->nmeGetBottom() < toUnion->nmeGetBottom()))) ? Float(toUnion->nmeGetBottom()) : Float(this->nmeGetBottom()) ); HX_STACK_VAR(y1,"y1"); - HX_STACK_LINE(209) - return ::neash::geom::Rectangle_obj::__new(x0,y0,(x1 - x0),(y1 - y0)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,_union,return ) - -::neash::geom::Rectangle Rectangle_obj::transform( ::neash::geom::Matrix m){ - HX_STACK_PUSH("Rectangle::transform","neash/geom/Rectangle.hx",172); - HX_STACK_THIS(this); - HX_STACK_ARG(m,"m"); - HX_STACK_LINE(173) - Float tx0 = ((m->a * this->x) + (m->c * this->y)); HX_STACK_VAR(tx0,"tx0"); - HX_STACK_LINE(174) - Float tx1 = tx0; HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(175) - Float ty0 = ((m->b * this->x) + (m->d * this->y)); HX_STACK_VAR(ty0,"ty0"); - HX_STACK_LINE(176) - Float ty1 = tx0; HX_STACK_VAR(ty1,"ty1"); - HX_STACK_LINE(178) - Float tx = ((m->a * ((this->x + this->width))) + (m->c * this->y)); HX_STACK_VAR(tx,"tx"); - HX_STACK_LINE(179) - Float ty = ((m->b * ((this->x + this->width))) + (m->d * this->y)); HX_STACK_VAR(ty,"ty"); - HX_STACK_LINE(180) - if (((tx < tx0))){ - HX_STACK_LINE(180) - tx0 = tx; - } - HX_STACK_LINE(181) - if (((ty < ty0))){ - HX_STACK_LINE(181) - ty0 = ty; - } - HX_STACK_LINE(182) - if (((tx > tx1))){ - HX_STACK_LINE(182) - tx1 = tx; - } - HX_STACK_LINE(183) - if (((ty > ty1))){ - HX_STACK_LINE(183) - ty1 = ty; - } - HX_STACK_LINE(185) - tx = ((m->a * ((this->x + this->width))) + (m->c * ((this->y + this->height)))); - HX_STACK_LINE(186) - ty = ((m->b * ((this->x + this->width))) + (m->d * ((this->y + this->height)))); - HX_STACK_LINE(187) - if (((tx < tx0))){ - HX_STACK_LINE(187) - tx0 = tx; - } - HX_STACK_LINE(188) - if (((ty < ty0))){ - HX_STACK_LINE(188) - ty0 = ty; - } - HX_STACK_LINE(189) - if (((tx > tx1))){ - HX_STACK_LINE(189) - tx1 = tx; - } - HX_STACK_LINE(190) - if (((ty > ty1))){ - HX_STACK_LINE(190) - ty1 = ty; - } - HX_STACK_LINE(192) - tx = ((m->a * this->x) + (m->c * ((this->y + this->height)))); - HX_STACK_LINE(193) - ty = ((m->b * this->x) + (m->d * ((this->y + this->height)))); - HX_STACK_LINE(194) - if (((tx < tx0))){ - HX_STACK_LINE(194) - tx0 = tx; - } - HX_STACK_LINE(195) - if (((ty < ty0))){ - HX_STACK_LINE(195) - ty0 = ty; - } - HX_STACK_LINE(196) - if (((tx > tx1))){ - HX_STACK_LINE(196) - tx1 = tx; - } - HX_STACK_LINE(197) - if (((ty > ty1))){ - HX_STACK_LINE(197) - ty1 = ty; - } - HX_STACK_LINE(199) - return ::neash::geom::Rectangle_obj::__new((tx0 + m->tx),(ty0 + m->ty),(tx1 - tx0),(ty1 - ty0)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,transform,return ) - -Void Rectangle_obj::setEmpty( ){ -{ - HX_STACK_PUSH("Rectangle::setEmpty","neash/geom/Rectangle.hx",166); - HX_STACK_THIS(this); - HX_STACK_LINE(166) - this->x = this->y = this->width = this->height = (int)0; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,setEmpty,(void)) - -Void Rectangle_obj::offsetPoint( ::neash::geom::Point point){ -{ - HX_STACK_PUSH("Rectangle::offsetPoint","neash/geom/Rectangle.hx",159); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(160) - hx::AddEq(this->x,point->x); - HX_STACK_LINE(161) - hx::AddEq(this->y,point->y); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,offsetPoint,(void)) - -Void Rectangle_obj::offset( Float dx,Float dy){ -{ - HX_STACK_PUSH("Rectangle::offset","neash/geom/Rectangle.hx",152); - HX_STACK_THIS(this); - HX_STACK_ARG(dx,"dx"); - HX_STACK_ARG(dy,"dy"); - HX_STACK_LINE(153) - hx::AddEq(this->x,dx); - HX_STACK_LINE(154) - hx::AddEq(this->y,dy); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Rectangle_obj,offset,(void)) - -bool Rectangle_obj::isEmpty( ){ - HX_STACK_PUSH("Rectangle::isEmpty","neash/geom/Rectangle.hx",146); - HX_STACK_THIS(this); - HX_STACK_LINE(146) - return (bool((this->width == (int)0)) && bool((this->height == (int)0))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,isEmpty,return ) - -bool Rectangle_obj::intersects( ::neash::geom::Rectangle toIntersect){ - HX_STACK_PUSH("Rectangle::intersects","neash/geom/Rectangle.hx",133); - HX_STACK_THIS(this); - HX_STACK_ARG(toIntersect,"toIntersect"); - HX_STACK_LINE(134) - Float x0 = ( (((this->x < toIntersect->x))) ? Float(toIntersect->x) : Float(this->x) ); HX_STACK_VAR(x0,"x0"); - HX_STACK_LINE(135) - Float x1 = ( (((this->nmeGetRight() > toIntersect->nmeGetRight()))) ? Float(toIntersect->nmeGetRight()) : Float(this->nmeGetRight()) ); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(136) - if (((x1 <= x0))){ - HX_STACK_LINE(137) - return false; - } - HX_STACK_LINE(139) - Float y0 = ( (((this->y < toIntersect->y))) ? Float(toIntersect->y) : Float(this->y) ); HX_STACK_VAR(y0,"y0"); - HX_STACK_LINE(140) - Float y1 = ( (((this->nmeGetBottom() > toIntersect->nmeGetBottom()))) ? Float(toIntersect->nmeGetBottom()) : Float(this->nmeGetBottom()) ); HX_STACK_VAR(y1,"y1"); - HX_STACK_LINE(141) - return (y1 > y0); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,intersects,return ) - -::neash::geom::Rectangle Rectangle_obj::intersection( ::neash::geom::Rectangle toIntersect){ - HX_STACK_PUSH("Rectangle::intersection","neash/geom/Rectangle.hx",117); - HX_STACK_THIS(this); - HX_STACK_ARG(toIntersect,"toIntersect"); - HX_STACK_LINE(118) - Float x0 = ( (((this->x < toIntersect->x))) ? Float(toIntersect->x) : Float(this->x) ); HX_STACK_VAR(x0,"x0"); - HX_STACK_LINE(119) - Float x1 = ( (((this->nmeGetRight() > toIntersect->nmeGetRight()))) ? Float(toIntersect->nmeGetRight()) : Float(this->nmeGetRight()) ); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(120) - if (((x1 <= x0))){ - HX_STACK_LINE(121) - return ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); - } - HX_STACK_LINE(123) - Float y0 = ( (((this->y < toIntersect->y))) ? Float(toIntersect->y) : Float(this->y) ); HX_STACK_VAR(y0,"y0"); - HX_STACK_LINE(124) - Float y1 = ( (((this->nmeGetBottom() > toIntersect->nmeGetBottom()))) ? Float(toIntersect->nmeGetBottom()) : Float(this->nmeGetBottom()) ); HX_STACK_VAR(y1,"y1"); - HX_STACK_LINE(125) - if (((y1 <= y0))){ - HX_STACK_LINE(126) - return ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); - } - HX_STACK_LINE(128) - return ::neash::geom::Rectangle_obj::__new(x0,y0,(x1 - x0),(y1 - y0)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,intersection,return ) - -Void Rectangle_obj::inflatePoint( ::neash::geom::Point point){ -{ - HX_STACK_PUSH("Rectangle::inflatePoint","neash/geom/Rectangle.hx",111); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(111) - this->inflate(point->x,point->y); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,inflatePoint,(void)) - -Void Rectangle_obj::inflate( Float dx,Float dy){ -{ - HX_STACK_PUSH("Rectangle::inflate","neash/geom/Rectangle.hx",104); - HX_STACK_THIS(this); - HX_STACK_ARG(dx,"dx"); - HX_STACK_ARG(dy,"dy"); - HX_STACK_LINE(105) - hx::SubEq(this->x,dx); - HX_STACK_LINE(105) - hx::AddEq(this->width,(dx * (int)2)); - HX_STACK_LINE(106) - hx::SubEq(this->y,dy); - HX_STACK_LINE(106) - hx::AddEq(this->height,(dy * (int)2)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Rectangle_obj,inflate,(void)) - -Void Rectangle_obj::extendBounds( ::neash::geom::Rectangle r){ -{ - HX_STACK_PUSH("Rectangle::extendBounds","neash/geom/Rectangle.hx",83); - HX_STACK_THIS(this); - HX_STACK_ARG(r,"r"); - HX_STACK_LINE(84) - Float dx = (this->x - r->x); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(85) - if (((dx > (int)0))){ - HX_STACK_LINE(87) - hx::SubEq(this->x,dx); - HX_STACK_LINE(88) - hx::AddEq(this->width,dx); - } - HX_STACK_LINE(90) - Float dy = (this->y - r->y); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(91) - if (((dy > (int)0))){ - HX_STACK_LINE(93) - hx::SubEq(this->y,dy); - HX_STACK_LINE(94) - hx::AddEq(this->height,dy); - } - HX_STACK_LINE(96) - if (((r->nmeGetRight() > this->nmeGetRight()))){ - HX_STACK_LINE(97) - this->nmeSetRight(r->nmeGetRight()); - } - HX_STACK_LINE(98) - if (((r->nmeGetBottom() > this->nmeGetBottom()))){ - HX_STACK_LINE(99) - this->nmeSetBottom(r->nmeGetBottom()); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,extendBounds,(void)) - -bool Rectangle_obj::equals( ::neash::geom::Rectangle toCompare){ - HX_STACK_PUSH("Rectangle::equals","neash/geom/Rectangle.hx",77); - HX_STACK_THIS(this); - HX_STACK_ARG(toCompare,"toCompare"); - HX_STACK_LINE(77) - return (bool((bool((bool((this->x == toCompare->x)) && bool((this->y == toCompare->y)))) && bool((this->width == toCompare->width)))) && bool((this->height == toCompare->height))); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,equals,return ) - -bool Rectangle_obj::containsRect( ::neash::geom::Rectangle rect){ - HX_STACK_PUSH("Rectangle::containsRect","neash/geom/Rectangle.hx",71); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_LINE(71) - return (bool(this->contains(rect->x,rect->y)) && bool(this->containsPoint(rect->nmeGetBottomRight()))); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,containsRect,return ) - -bool Rectangle_obj::containsPoint( ::neash::geom::Point point){ - HX_STACK_PUSH("Rectangle::containsPoint","neash/geom/Rectangle.hx",65); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(65) - return this->contains(point->x,point->y); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,containsPoint,return ) - -bool Rectangle_obj::contains( Float inX,Float inY){ - HX_STACK_PUSH("Rectangle::contains","neash/geom/Rectangle.hx",59); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(59) - return (bool((bool((bool((inX >= this->x)) && bool((inY >= this->y)))) && bool((inX < this->nmeGetRight())))) && bool((inY < this->nmeGetBottom()))); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Rectangle_obj,contains,return ) - -::neash::geom::Rectangle Rectangle_obj::clone( ){ - HX_STACK_PUSH("Rectangle::clone","neash/geom/Rectangle.hx",53); - HX_STACK_THIS(this); - HX_STACK_LINE(53) - return ::neash::geom::Rectangle_obj::__new(this->x,this->y,this->width,this->height); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,clone,return ) - - -Rectangle_obj::Rectangle_obj() -{ -} - -void Rectangle_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Rectangle); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(width,"width"); - HX_MARK_MEMBER_NAME(topLeft,"topLeft"); - HX_MARK_MEMBER_NAME(top,"top"); - HX_MARK_MEMBER_NAME(size,"size"); - HX_MARK_MEMBER_NAME(right,"right"); - HX_MARK_MEMBER_NAME(left,"left"); - HX_MARK_MEMBER_NAME(height,"height"); - HX_MARK_MEMBER_NAME(bottomRight,"bottomRight"); - HX_MARK_MEMBER_NAME(bottom,"bottom"); - HX_MARK_END_CLASS(); -} - -void Rectangle_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(width,"width"); - HX_VISIT_MEMBER_NAME(topLeft,"topLeft"); - HX_VISIT_MEMBER_NAME(top,"top"); - HX_VISIT_MEMBER_NAME(size,"size"); - HX_VISIT_MEMBER_NAME(right,"right"); - HX_VISIT_MEMBER_NAME(left,"left"); - HX_VISIT_MEMBER_NAME(height,"height"); - HX_VISIT_MEMBER_NAME(bottomRight,"bottomRight"); - HX_VISIT_MEMBER_NAME(bottom,"bottom"); -} - -Dynamic Rectangle_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 3: - if (HX_FIELD_EQ(inName,"top") ) { return inCallProp ? nmeGetTop() : top; } - break; - case 4: - if (HX_FIELD_EQ(inName,"size") ) { return inCallProp ? nmeGetTopLeft() : size; } - if (HX_FIELD_EQ(inName,"left") ) { return inCallProp ? nmeGetLeft() : left; } - break; - case 5: - if (HX_FIELD_EQ(inName,"union") ) { return _union_dyn(); } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - if (HX_FIELD_EQ(inName,"width") ) { return width; } - if (HX_FIELD_EQ(inName,"right") ) { return inCallProp ? nmeGetRight() : right; } - break; - case 6: - if (HX_FIELD_EQ(inName,"offset") ) { return offset_dyn(); } - if (HX_FIELD_EQ(inName,"equals") ) { return equals_dyn(); } - if (HX_FIELD_EQ(inName,"height") ) { return height; } - if (HX_FIELD_EQ(inName,"bottom") ) { return inCallProp ? nmeGetBottom() : bottom; } - break; - case 7: - if (HX_FIELD_EQ(inName,"isEmpty") ) { return isEmpty_dyn(); } - if (HX_FIELD_EQ(inName,"inflate") ) { return inflate_dyn(); } - if (HX_FIELD_EQ(inName,"topLeft") ) { return inCallProp ? nmeGetTopLeft() : topLeft; } - break; - case 8: - if (HX_FIELD_EQ(inName,"setEmpty") ) { return setEmpty_dyn(); } - if (HX_FIELD_EQ(inName,"contains") ) { return contains_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeSetTop") ) { return nmeSetTop_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTop") ) { return nmeGetTop_dyn(); } - if (HX_FIELD_EQ(inName,"transform") ) { return transform_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeSetSize") ) { return nmeSetSize_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetSize") ) { return nmeGetSize_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetLeft") ) { return nmeSetLeft_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetLeft") ) { return nmeGetLeft_dyn(); } - if (HX_FIELD_EQ(inName,"intersects") ) { return intersects_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeSetRight") ) { return nmeSetRight_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetRight") ) { return nmeGetRight_dyn(); } - if (HX_FIELD_EQ(inName,"offsetPoint") ) { return offsetPoint_dyn(); } - if (HX_FIELD_EQ(inName,"bottomRight") ) { return inCallProp ? nmeGetBottomRight() : bottomRight; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeSetBottom") ) { return nmeSetBottom_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetBottom") ) { return nmeGetBottom_dyn(); } - if (HX_FIELD_EQ(inName,"intersection") ) { return intersection_dyn(); } - if (HX_FIELD_EQ(inName,"inflatePoint") ) { return inflatePoint_dyn(); } - if (HX_FIELD_EQ(inName,"extendBounds") ) { return extendBounds_dyn(); } - if (HX_FIELD_EQ(inName,"containsRect") ) { return containsRect_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"nmeSetTopLeft") ) { return nmeSetTopLeft_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTopLeft") ) { return nmeGetTopLeft_dyn(); } - if (HX_FIELD_EQ(inName,"containsPoint") ) { return containsPoint_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeSetBottomRight") ) { return nmeSetBottomRight_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetBottomRight") ) { return nmeGetBottomRight_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Rectangle_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"top") ) { if (inCallProp) return nmeSetTop(inValue);top=inValue.Cast< Float >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"size") ) { if (inCallProp) return nmeSetTopLeft(inValue);size=inValue.Cast< ::neash::geom::Point >(); return inValue; } - if (HX_FIELD_EQ(inName,"left") ) { if (inCallProp) return nmeSetLeft(inValue);left=inValue.Cast< Float >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"width") ) { width=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"right") ) { if (inCallProp) return nmeSetRight(inValue);right=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"height") ) { height=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"bottom") ) { if (inCallProp) return nmeSetBottom(inValue);bottom=inValue.Cast< Float >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"topLeft") ) { if (inCallProp) return nmeSetTopLeft(inValue);topLeft=inValue.Cast< ::neash::geom::Point >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"bottomRight") ) { if (inCallProp) return nmeSetBottomRight(inValue);bottomRight=inValue.Cast< ::neash::geom::Point >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Rectangle_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("width")); - outFields->push(HX_CSTRING("topLeft")); - outFields->push(HX_CSTRING("top")); - outFields->push(HX_CSTRING("size")); - outFields->push(HX_CSTRING("right")); - outFields->push(HX_CSTRING("left")); - outFields->push(HX_CSTRING("height")); - outFields->push(HX_CSTRING("bottomRight")); - outFields->push(HX_CSTRING("bottom")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetTopLeft"), - HX_CSTRING("nmeGetTopLeft"), - HX_CSTRING("nmeSetTop"), - HX_CSTRING("nmeGetTop"), - HX_CSTRING("nmeSetSize"), - HX_CSTRING("nmeGetSize"), - HX_CSTRING("nmeSetRight"), - HX_CSTRING("nmeGetRight"), - HX_CSTRING("nmeSetLeft"), - HX_CSTRING("nmeGetLeft"), - HX_CSTRING("nmeSetBottomRight"), - HX_CSTRING("nmeGetBottomRight"), - HX_CSTRING("nmeSetBottom"), - HX_CSTRING("nmeGetBottom"), - HX_CSTRING("union"), - HX_CSTRING("transform"), - HX_CSTRING("setEmpty"), - HX_CSTRING("offsetPoint"), - HX_CSTRING("offset"), - HX_CSTRING("isEmpty"), - HX_CSTRING("intersects"), - HX_CSTRING("intersection"), - HX_CSTRING("inflatePoint"), - HX_CSTRING("inflate"), - HX_CSTRING("extendBounds"), - HX_CSTRING("equals"), - HX_CSTRING("containsRect"), - HX_CSTRING("containsPoint"), - HX_CSTRING("contains"), - HX_CSTRING("clone"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("width"), - HX_CSTRING("topLeft"), - HX_CSTRING("top"), - HX_CSTRING("size"), - HX_CSTRING("right"), - HX_CSTRING("left"), - HX_CSTRING("height"), - HX_CSTRING("bottomRight"), - HX_CSTRING("bottom"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Rectangle_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Rectangle_obj::__mClass,"__mClass"); -}; - -Class Rectangle_obj::__mClass; - -void Rectangle_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.geom.Rectangle"), hx::TCanCast< Rectangle_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Rectangle_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/geom/Transform.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/geom/Transform.cpp deleted file mode 100644 index 9863a2f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/geom/Transform.cpp +++ /dev/null @@ -1,270 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -#ifndef INCLUDED_neash_geom_Transform -#include -#endif -namespace neash{ -namespace geom{ - -Void Transform_obj::__construct(::neash::display::DisplayObject inParent) -{ -HX_STACK_PUSH("Transform::new","neash/geom/Transform.hx",20); -{ - HX_STACK_LINE(20) - this->nmeObj = inParent; -} -; - return null(); -} - -Transform_obj::~Transform_obj() { } - -Dynamic Transform_obj::__CreateEmpty() { return new Transform_obj; } -hx::ObjectPtr< Transform_obj > Transform_obj::__new(::neash::display::DisplayObject inParent) -{ hx::ObjectPtr< Transform_obj > result = new Transform_obj(); - result->__construct(inParent); - return result;} - -Dynamic Transform_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Transform_obj > result = new Transform_obj(); - result->__construct(inArgs[0]); - return result;} - -::neash::geom::Rectangle Transform_obj::nmeGetPixelBounds( ){ - HX_STACK_PUSH("Transform::nmeGetPixelBounds","neash/geom/Transform.hx",36); - HX_STACK_THIS(this); - HX_STACK_LINE(36) - return this->nmeObj->nmeGetPixelBounds(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,nmeGetPixelBounds,return ) - -::neash::geom::Matrix Transform_obj::nmeSetMatrix( ::neash::geom::Matrix inMatrix){ - HX_STACK_PUSH("Transform::nmeSetMatrix","neash/geom/Transform.hx",35); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_LINE(35) - this->nmeObj->nmeSetMatrix(inMatrix); - HX_STACK_LINE(35) - return inMatrix; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Transform_obj,nmeSetMatrix,return ) - -::neash::geom::Matrix Transform_obj::nmeGetMatrix( ){ - HX_STACK_PUSH("Transform::nmeGetMatrix","neash/geom/Transform.hx",34); - HX_STACK_THIS(this); - HX_STACK_LINE(34) - return this->nmeObj->nmeGetMatrix(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,nmeGetMatrix,return ) - -::neash::geom::Matrix Transform_obj::nmeGetConcatenatedMatrix( ){ - HX_STACK_PUSH("Transform::nmeGetConcatenatedMatrix","neash/geom/Transform.hx",33); - HX_STACK_THIS(this); - HX_STACK_LINE(33) - return this->nmeObj->nmeGetConcatenatedMatrix(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,nmeGetConcatenatedMatrix,return ) - -::neash::geom::ColorTransform Transform_obj::nmeGetConcatenatedColorTransform( ){ - HX_STACK_PUSH("Transform::nmeGetConcatenatedColorTransform","neash/geom/Transform.hx",32); - HX_STACK_THIS(this); - HX_STACK_LINE(32) - return this->nmeObj->nmeGetConcatenatedColorTransform(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,nmeGetConcatenatedColorTransform,return ) - -::neash::geom::ColorTransform Transform_obj::nmeSetColorTransform( ::neash::geom::ColorTransform inTrans){ - HX_STACK_PUSH("Transform::nmeSetColorTransform","neash/geom/Transform.hx",31); - HX_STACK_THIS(this); - HX_STACK_ARG(inTrans,"inTrans"); - HX_STACK_LINE(31) - this->nmeObj->nmeSetColorTransform(inTrans); - HX_STACK_LINE(31) - return inTrans; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Transform_obj,nmeSetColorTransform,return ) - -::neash::geom::ColorTransform Transform_obj::nmeGetColorTransform( ){ - HX_STACK_PUSH("Transform::nmeGetColorTransform","neash/geom/Transform.hx",30); - HX_STACK_THIS(this); - HX_STACK_LINE(30) - return this->nmeObj->nmeGetColorTransform(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,nmeGetColorTransform,return ) - - -Transform_obj::Transform_obj() -{ -} - -void Transform_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Transform); - HX_MARK_MEMBER_NAME(nmeObj,"nmeObj"); - HX_MARK_MEMBER_NAME(pixelBounds,"pixelBounds"); - HX_MARK_MEMBER_NAME(matrix,"matrix"); - HX_MARK_MEMBER_NAME(concatenatedMatrix,"concatenatedMatrix"); - HX_MARK_MEMBER_NAME(concatenatedColorTransform,"concatenatedColorTransform"); - HX_MARK_MEMBER_NAME(colorTransform,"colorTransform"); - HX_MARK_END_CLASS(); -} - -void Transform_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeObj,"nmeObj"); - HX_VISIT_MEMBER_NAME(pixelBounds,"pixelBounds"); - HX_VISIT_MEMBER_NAME(matrix,"matrix"); - HX_VISIT_MEMBER_NAME(concatenatedMatrix,"concatenatedMatrix"); - HX_VISIT_MEMBER_NAME(concatenatedColorTransform,"concatenatedColorTransform"); - HX_VISIT_MEMBER_NAME(colorTransform,"colorTransform"); -} - -Dynamic Transform_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"nmeObj") ) { return nmeObj; } - if (HX_FIELD_EQ(inName,"matrix") ) { return inCallProp ? nmeGetMatrix() : matrix; } - break; - case 11: - if (HX_FIELD_EQ(inName,"pixelBounds") ) { return inCallProp ? nmeGetPixelBounds() : pixelBounds; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeSetMatrix") ) { return nmeSetMatrix_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMatrix") ) { return nmeGetMatrix_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"colorTransform") ) { return inCallProp ? nmeGetColorTransform() : colorTransform; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeGetPixelBounds") ) { return nmeGetPixelBounds_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"concatenatedMatrix") ) { return inCallProp ? nmeGetConcatenatedMatrix() : concatenatedMatrix; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeSetColorTransform") ) { return nmeSetColorTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetColorTransform") ) { return nmeGetColorTransform_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"nmeGetConcatenatedMatrix") ) { return nmeGetConcatenatedMatrix_dyn(); } - break; - case 26: - if (HX_FIELD_EQ(inName,"concatenatedColorTransform") ) { return inCallProp ? nmeGetConcatenatedColorTransform() : concatenatedColorTransform; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nmeGetConcatenatedColorTransform") ) { return nmeGetConcatenatedColorTransform_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Transform_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"nmeObj") ) { nmeObj=inValue.Cast< ::neash::display::DisplayObject >(); return inValue; } - if (HX_FIELD_EQ(inName,"matrix") ) { if (inCallProp) return nmeSetMatrix(inValue);matrix=inValue.Cast< ::neash::geom::Matrix >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"pixelBounds") ) { pixelBounds=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"colorTransform") ) { if (inCallProp) return nmeSetColorTransform(inValue);colorTransform=inValue.Cast< ::neash::geom::ColorTransform >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"concatenatedMatrix") ) { concatenatedMatrix=inValue.Cast< ::neash::geom::Matrix >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"concatenatedColorTransform") ) { concatenatedColorTransform=inValue.Cast< ::neash::geom::ColorTransform >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Transform_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeObj")); - outFields->push(HX_CSTRING("pixelBounds")); - outFields->push(HX_CSTRING("matrix")); - outFields->push(HX_CSTRING("concatenatedMatrix")); - outFields->push(HX_CSTRING("concatenatedColorTransform")); - outFields->push(HX_CSTRING("colorTransform")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetPixelBounds"), - HX_CSTRING("nmeSetMatrix"), - HX_CSTRING("nmeGetMatrix"), - HX_CSTRING("nmeGetConcatenatedMatrix"), - HX_CSTRING("nmeGetConcatenatedColorTransform"), - HX_CSTRING("nmeSetColorTransform"), - HX_CSTRING("nmeGetColorTransform"), - HX_CSTRING("nmeObj"), - HX_CSTRING("pixelBounds"), - HX_CSTRING("matrix"), - HX_CSTRING("concatenatedMatrix"), - HX_CSTRING("concatenatedColorTransform"), - HX_CSTRING("colorTransform"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Transform_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Transform_obj::__mClass,"__mClass"); -}; - -Class Transform_obj::__mClass; - -void Transform_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.geom.Transform"), hx::TCanCast< Transform_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Transform_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/media/ID3Info.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/media/ID3Info.cpp deleted file mode 100644 index eebc6ac..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/media/ID3Info.cpp +++ /dev/null @@ -1,153 +0,0 @@ -#include - -#ifndef INCLUDED_neash_media_ID3Info -#include -#endif -namespace neash{ -namespace media{ - -Void ID3Info_obj::__construct() -{ -HX_STACK_PUSH("ID3Info::new","neash/media/ID3Info.hx",16); -{ -} -; - return null(); -} - -ID3Info_obj::~ID3Info_obj() { } - -Dynamic ID3Info_obj::__CreateEmpty() { return new ID3Info_obj; } -hx::ObjectPtr< ID3Info_obj > ID3Info_obj::__new() -{ hx::ObjectPtr< ID3Info_obj > result = new ID3Info_obj(); - result->__construct(); - return result;} - -Dynamic ID3Info_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ID3Info_obj > result = new ID3Info_obj(); - result->__construct(); - return result;} - - -ID3Info_obj::ID3Info_obj() -{ -} - -void ID3Info_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ID3Info); - HX_MARK_MEMBER_NAME(year,"year"); - HX_MARK_MEMBER_NAME(track,"track"); - HX_MARK_MEMBER_NAME(songName,"songName"); - HX_MARK_MEMBER_NAME(genre,"genre"); - HX_MARK_MEMBER_NAME(comment,"comment"); - HX_MARK_MEMBER_NAME(artist,"artist"); - HX_MARK_MEMBER_NAME(album,"album"); - HX_MARK_END_CLASS(); -} - -void ID3Info_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(year,"year"); - HX_VISIT_MEMBER_NAME(track,"track"); - HX_VISIT_MEMBER_NAME(songName,"songName"); - HX_VISIT_MEMBER_NAME(genre,"genre"); - HX_VISIT_MEMBER_NAME(comment,"comment"); - HX_VISIT_MEMBER_NAME(artist,"artist"); - HX_VISIT_MEMBER_NAME(album,"album"); -} - -Dynamic ID3Info_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"year") ) { return year; } - break; - case 5: - if (HX_FIELD_EQ(inName,"track") ) { return track; } - if (HX_FIELD_EQ(inName,"genre") ) { return genre; } - if (HX_FIELD_EQ(inName,"album") ) { return album; } - break; - case 6: - if (HX_FIELD_EQ(inName,"artist") ) { return artist; } - break; - case 7: - if (HX_FIELD_EQ(inName,"comment") ) { return comment; } - break; - case 8: - if (HX_FIELD_EQ(inName,"songName") ) { return songName; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ID3Info_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"year") ) { year=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"track") ) { track=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"genre") ) { genre=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"album") ) { album=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"artist") ) { artist=inValue.Cast< ::String >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"comment") ) { comment=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"songName") ) { songName=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ID3Info_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("year")); - outFields->push(HX_CSTRING("track")); - outFields->push(HX_CSTRING("songName")); - outFields->push(HX_CSTRING("genre")); - outFields->push(HX_CSTRING("comment")); - outFields->push(HX_CSTRING("artist")); - outFields->push(HX_CSTRING("album")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("year"), - HX_CSTRING("track"), - HX_CSTRING("songName"), - HX_CSTRING("genre"), - HX_CSTRING("comment"), - HX_CSTRING("artist"), - HX_CSTRING("album"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ID3Info_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ID3Info_obj::__mClass,"__mClass"); -}; - -Class ID3Info_obj::__mClass; - -void ID3Info_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.media.ID3Info"), hx::TCanCast< ID3Info_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ID3Info_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/media/Sound.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/media/Sound.cpp deleted file mode 100644 index 040bef1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/media/Sound.cpp +++ /dev/null @@ -1,593 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IOErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_SampleDataEvent -#include -#endif -#ifndef INCLUDED_neash_events_TextEvent -#include -#endif -#ifndef INCLUDED_neash_media_ID3Info -#include -#endif -#ifndef INCLUDED_neash_media_Sound -#include -#endif -#ifndef INCLUDED_neash_media_SoundChannel -#include -#endif -#ifndef INCLUDED_neash_media_SoundLoaderContext -#include -#endif -#ifndef INCLUDED_neash_media_SoundTransform -#include -#endif -#ifndef INCLUDED_neash_net_URLRequest -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace media{ - -Void Sound_obj::__construct(::neash::net::URLRequest stream,::neash::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic) -{ -HX_STACK_PUSH("Sound::new","neash/media/Sound.hx",28); -bool forcePlayAsMusic = __o_forcePlayAsMusic.Default(false); -{ - HX_STACK_LINE(29) - super::__construct(null()); - HX_STACK_LINE(30) - this->bytesLoaded = this->bytesTotal = (int)0; - HX_STACK_LINE(31) - this->nmeLoading = false; - HX_STACK_LINE(32) - this->nmeDynamicSound = false; - HX_STACK_LINE(33) - if (((stream != null()))){ - HX_STACK_LINE(34) - this->load(stream,context,forcePlayAsMusic); - } -} -; - return null(); -} - -Sound_obj::~Sound_obj() { } - -Dynamic Sound_obj::__CreateEmpty() { return new Sound_obj; } -hx::ObjectPtr< Sound_obj > Sound_obj::__new(::neash::net::URLRequest stream,::neash::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic) -{ hx::ObjectPtr< Sound_obj > result = new Sound_obj(); - result->__construct(stream,context,__o_forcePlayAsMusic); - return result;} - -Dynamic Sound_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Sound_obj > result = new Sound_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -Float Sound_obj::nmeGetLength( ){ - HX_STACK_PUSH("Sound::nmeGetLength","neash/media/Sound.hx",164); - HX_STACK_THIS(this); - HX_STACK_LINE(165) - if (((bool((this->nmeHandle == null())) || bool(this->nmeLoading)))){ - HX_STACK_LINE(166) - return (int)0; - } - HX_STACK_LINE(167) - return ::neash::media::Sound_obj::nme_sound_get_length(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,nmeGetLength,return ) - -bool Sound_obj::nmeGetIsBuffering( ){ - HX_STACK_PUSH("Sound::nmeGetIsBuffering","neash/media/Sound.hx",157); - HX_STACK_THIS(this); - HX_STACK_LINE(158) - this->nmeCheckLoading(); - HX_STACK_LINE(159) - return (bool(this->nmeLoading) && bool((this->nmeHandle == null()))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,nmeGetIsBuffering,return ) - -::neash::media::ID3Info Sound_obj::nmeGetID3( ){ - HX_STACK_PUSH("Sound::nmeGetID3","neash/media/Sound.hx",146); - HX_STACK_THIS(this); - HX_STACK_LINE(147) - this->nmeCheckLoading(); - HX_STACK_LINE(148) - if (((bool((this->nmeHandle == null())) || bool(this->nmeLoading)))){ - HX_STACK_LINE(149) - return null(); - } - HX_STACK_LINE(150) - ::neash::media::ID3Info id3 = ::neash::media::ID3Info_obj::__new(); HX_STACK_VAR(id3,"id3"); - HX_STACK_LINE(151) - ::neash::media::Sound_obj::nme_sound_get_id3(this->nmeHandle,id3); - HX_STACK_LINE(152) - return id3; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,nmeGetID3,return ) - -::neash::media::SoundChannel Sound_obj::play( hx::Null< Float > __o_startTime,hx::Null< int > __o_loops,::neash::media::SoundTransform sndTransform){ -Float startTime = __o_startTime.Default(0); -int loops = __o_loops.Default(0); - HX_STACK_PUSH("Sound::play","neash/media/Sound.hx",115); - HX_STACK_THIS(this); - HX_STACK_ARG(startTime,"startTime"); - HX_STACK_ARG(loops,"loops"); - HX_STACK_ARG(sndTransform,"sndTransform"); -{ - HX_STACK_LINE(116) - this->nmeCheckLoading(); - HX_STACK_LINE(117) - if ((this->nmeDynamicSound)){ - HX_STACK_LINE(119) - ::neash::events::SampleDataEvent request = ::neash::events::SampleDataEvent_obj::__new(::neash::events::SampleDataEvent_obj::SAMPLE_DATA,null(),null()); HX_STACK_VAR(request,"request"); - HX_STACK_LINE(120) - this->dispatchEvent(request); - HX_STACK_LINE(121) - if (((request->data->length > (int)0))){ - HX_STACK_LINE(122) - this->nmeHandle = ::neash::media::Sound_obj::nme_sound_channel_create_dynamic(request->data,sndTransform); - } - HX_STACK_LINE(125) - if (((this->nmeHandle == null()))){ - HX_STACK_LINE(126) - return null(); - } - HX_STACK_LINE(127) - ::neash::media::SoundChannel result = ::neash::media::SoundChannel_obj::createDynamic(this->nmeHandle,sndTransform,hx::ObjectPtr(this)); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(128) - this->nmeHandle = null(); - HX_STACK_LINE(129) - return result; - } - else{ - HX_STACK_LINE(133) - if (((bool((this->nmeHandle == null())) || bool(this->nmeLoading)))){ - HX_STACK_LINE(134) - return null(); - } - HX_STACK_LINE(135) - return ::neash::media::SoundChannel_obj::__new(this->nmeHandle,startTime,loops,sndTransform); - } - HX_STACK_LINE(117) - return null(); - } -} - - -HX_DEFINE_DYNAMIC_FUNC3(Sound_obj,play,return ) - -Void Sound_obj::nmeOnError( ::String msg){ -{ - HX_STACK_PUSH("Sound::nmeOnError","neash/media/Sound.hx",107); - HX_STACK_THIS(this); - HX_STACK_ARG(msg,"msg"); - HX_STACK_LINE(108) - this->dispatchEvent(::neash::events::IOErrorEvent_obj::__new(::neash::events::IOErrorEvent_obj::IO_ERROR,true,false,msg,null())); - HX_STACK_LINE(109) - this->nmeHandle = null(); - HX_STACK_LINE(110) - this->nmeLoading = true; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Sound_obj,nmeOnError,(void)) - -Void Sound_obj::nmeCheckLoading( ){ -{ - HX_STACK_PUSH("Sound::nmeCheckLoading","neash/media/Sound.hx",88); - HX_STACK_THIS(this); - HX_STACK_LINE(88) - if (((bool((bool(!(this->nmeDynamicSound)) && bool(this->nmeLoading))) && bool((this->nmeHandle != null()))))){ - HX_STACK_LINE(91) - Dynamic status = ::neash::media::Sound_obj::nme_sound_get_status(this->nmeHandle); HX_STACK_VAR(status,"status"); - HX_STACK_LINE(92) - if (((status == null()))){ - HX_STACK_LINE(93) - hx::Throw (HX_CSTRING("Could not get sound status")); - } - HX_STACK_LINE(94) - this->bytesLoaded = status->__Field(HX_CSTRING("bytesLoaded"),true); - HX_STACK_LINE(95) - this->bytesTotal = status->__Field(HX_CSTRING("bytesTotal"),true); - HX_STACK_LINE(97) - this->nmeLoading = (this->bytesLoaded < this->bytesTotal); - HX_STACK_LINE(98) - if (((status->__Field(HX_CSTRING("error"),true) != null()))){ - HX_STACK_LINE(99) - hx::Throw (status->__Field(HX_CSTRING("error"),true)); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,nmeCheckLoading,(void)) - -Void Sound_obj::loadCompressedDataFromByteArray( ::neash::utils::ByteArray bytes,int length,hx::Null< bool > __o_forcePlayAsMusic){ -bool forcePlayAsMusic = __o_forcePlayAsMusic.Default(false); - HX_STACK_PUSH("Sound::loadCompressedDataFromByteArray","neash/media/Sound.hx",77); - HX_STACK_THIS(this); - HX_STACK_ARG(bytes,"bytes"); - HX_STACK_ARG(length,"length"); - HX_STACK_ARG(forcePlayAsMusic,"forcePlayAsMusic"); -{ - HX_STACK_LINE(78) - this->bytesLoaded = this->bytesTotal = length; - HX_STACK_LINE(79) - this->nmeHandle = ::neash::media::Sound_obj::nme_sound_from_data(bytes->b,length,forcePlayAsMusic); - HX_STACK_LINE(80) - if (((this->nmeHandle == null()))){ - HX_STACK_LINE(81) - hx::Throw ((HX_CSTRING("Could not load buffer with length: ") + length)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Sound_obj,loadCompressedDataFromByteArray,(void)) - -Void Sound_obj::load( ::neash::net::URLRequest stream,::neash::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic){ -bool forcePlayAsMusic = __o_forcePlayAsMusic.Default(false); - HX_STACK_PUSH("Sound::load","neash/media/Sound.hx",61); - HX_STACK_THIS(this); - HX_STACK_ARG(stream,"stream"); - HX_STACK_ARG(context,"context"); - HX_STACK_ARG(forcePlayAsMusic,"forcePlayAsMusic"); -{ - HX_STACK_LINE(62) - this->bytesLoaded = this->bytesTotal = (int)0; - HX_STACK_LINE(63) - this->nmeHandle = ::neash::media::Sound_obj::nme_sound_from_file(stream->url,forcePlayAsMusic); - HX_STACK_LINE(64) - if (((this->nmeHandle == null()))){ - HX_STACK_LINE(65) - hx::Throw ((HX_CSTRING("Could not load:") + stream->url)); - } - else{ - HX_STACK_LINE(70) - this->url = stream->url; - HX_STACK_LINE(71) - this->nmeLoading = true; - HX_STACK_LINE(72) - this->nmeLoading = false; - HX_STACK_LINE(73) - this->nmeCheckLoading(); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Sound_obj,load,(void)) - -Void Sound_obj::close( ){ -{ - HX_STACK_PUSH("Sound::close","neash/media/Sound.hx",52); - HX_STACK_THIS(this); - HX_STACK_LINE(53) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(54) - ::neash::media::Sound_obj::nme_sound_close(this->nmeHandle); - } - HX_STACK_LINE(55) - this->nmeHandle = (int)0; - HX_STACK_LINE(56) - this->nmeLoading = false; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,close,(void)) - -Void Sound_obj::addEventListener( ::String type,Dynamic listener,hx::Null< bool > __o_useCapture,hx::Null< int > __o_priority,hx::Null< bool > __o_useWeakReference){ -bool useCapture = __o_useCapture.Default(false); -int priority = __o_priority.Default(0); -bool useWeakReference = __o_useWeakReference.Default(false); - HX_STACK_PUSH("Sound::addEventListener","neash/media/Sound.hx",38); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(listener,"listener"); - HX_STACK_ARG(useCapture,"useCapture"); - HX_STACK_ARG(priority,"priority"); - HX_STACK_ARG(useWeakReference,"useWeakReference"); -{ - HX_STACK_LINE(39) - this->super::addEventListener(type,listener,useCapture,priority,useWeakReference); - HX_STACK_LINE(40) - if (((type == ::neash::events::SampleDataEvent_obj::SAMPLE_DATA))){ - HX_STACK_LINE(42) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(43) - hx::Throw (HX_CSTRING("Can't use dynamic sound once file loaded")); - } - HX_STACK_LINE(44) - this->nmeDynamicSound = true; - HX_STACK_LINE(45) - this->nmeLoading = false; - } - } -return null(); -} - - -Dynamic Sound_obj::nme_sound_from_file; - -Dynamic Sound_obj::nme_sound_from_data; - -Dynamic Sound_obj::nme_sound_get_id3; - -Dynamic Sound_obj::nme_sound_get_length; - -Dynamic Sound_obj::nme_sound_close; - -Dynamic Sound_obj::nme_sound_get_status; - -Dynamic Sound_obj::nme_sound_channel_create_dynamic; - - -Sound_obj::Sound_obj() -{ -} - -void Sound_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Sound); - HX_MARK_MEMBER_NAME(nmeDynamicSound,"nmeDynamicSound"); - HX_MARK_MEMBER_NAME(nmeLoading,"nmeLoading"); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(url,"url"); - HX_MARK_MEMBER_NAME(length,"length"); - HX_MARK_MEMBER_NAME(isBuffering,"isBuffering"); - HX_MARK_MEMBER_NAME(id3,"id3"); - HX_MARK_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_MARK_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Sound_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeDynamicSound,"nmeDynamicSound"); - HX_VISIT_MEMBER_NAME(nmeLoading,"nmeLoading"); - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(url,"url"); - HX_VISIT_MEMBER_NAME(length,"length"); - HX_VISIT_MEMBER_NAME(isBuffering,"isBuffering"); - HX_VISIT_MEMBER_NAME(id3,"id3"); - HX_VISIT_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_VISIT_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Sound_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"url") ) { return url; } - if (HX_FIELD_EQ(inName,"id3") ) { return inCallProp ? nmeGetID3() : id3; } - break; - case 4: - if (HX_FIELD_EQ(inName,"play") ) { return play_dyn(); } - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { return inCallProp ? nmeGetLength() : length; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeGetID3") ) { return nmeGetID3_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeOnError") ) { return nmeOnError_dyn(); } - if (HX_FIELD_EQ(inName,"nmeLoading") ) { return nmeLoading; } - if (HX_FIELD_EQ(inName,"bytesTotal") ) { return bytesTotal; } - break; - case 11: - if (HX_FIELD_EQ(inName,"isBuffering") ) { return inCallProp ? nmeGetIsBuffering() : isBuffering; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { return bytesLoaded; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeGetLength") ) { return nmeGetLength_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_sound_close") ) { return nme_sound_close; } - if (HX_FIELD_EQ(inName,"nmeCheckLoading") ) { return nmeCheckLoading_dyn(); } - if (HX_FIELD_EQ(inName,"nmeDynamicSound") ) { return nmeDynamicSound; } - break; - case 16: - if (HX_FIELD_EQ(inName,"addEventListener") ) { return addEventListener_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_sound_get_id3") ) { return nme_sound_get_id3; } - if (HX_FIELD_EQ(inName,"nmeGetIsBuffering") ) { return nmeGetIsBuffering_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_sound_from_file") ) { return nme_sound_from_file; } - if (HX_FIELD_EQ(inName,"nme_sound_from_data") ) { return nme_sound_from_data; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_sound_get_length") ) { return nme_sound_get_length; } - if (HX_FIELD_EQ(inName,"nme_sound_get_status") ) { return nme_sound_get_status; } - break; - case 31: - if (HX_FIELD_EQ(inName,"loadCompressedDataFromByteArray") ) { return loadCompressedDataFromByteArray_dyn(); } - break; - case 32: - if (HX_FIELD_EQ(inName,"nme_sound_channel_create_dynamic") ) { return nme_sound_channel_create_dynamic; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Sound_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"url") ) { url=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"id3") ) { id3=inValue.Cast< ::neash::media::ID3Info >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { length=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeLoading") ) { nmeLoading=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesTotal") ) { bytesTotal=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"isBuffering") ) { isBuffering=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { bytesLoaded=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_sound_close") ) { nme_sound_close=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDynamicSound") ) { nmeDynamicSound=inValue.Cast< bool >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_sound_get_id3") ) { nme_sound_get_id3=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_sound_from_file") ) { nme_sound_from_file=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_sound_from_data") ) { nme_sound_from_data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_sound_get_length") ) { nme_sound_get_length=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_sound_get_status") ) { nme_sound_get_status=inValue.Cast< Dynamic >(); return inValue; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nme_sound_channel_create_dynamic") ) { nme_sound_channel_create_dynamic=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Sound_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeDynamicSound")); - outFields->push(HX_CSTRING("nmeLoading")); - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("url")); - outFields->push(HX_CSTRING("length")); - outFields->push(HX_CSTRING("isBuffering")); - outFields->push(HX_CSTRING("id3")); - outFields->push(HX_CSTRING("bytesTotal")); - outFields->push(HX_CSTRING("bytesLoaded")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_sound_from_file"), - HX_CSTRING("nme_sound_from_data"), - HX_CSTRING("nme_sound_get_id3"), - HX_CSTRING("nme_sound_get_length"), - HX_CSTRING("nme_sound_close"), - HX_CSTRING("nme_sound_get_status"), - HX_CSTRING("nme_sound_channel_create_dynamic"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetLength"), - HX_CSTRING("nmeGetIsBuffering"), - HX_CSTRING("nmeGetID3"), - HX_CSTRING("play"), - HX_CSTRING("nmeOnError"), - HX_CSTRING("nmeCheckLoading"), - HX_CSTRING("loadCompressedDataFromByteArray"), - HX_CSTRING("load"), - HX_CSTRING("close"), - HX_CSTRING("addEventListener"), - HX_CSTRING("nmeDynamicSound"), - HX_CSTRING("nmeLoading"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("url"), - HX_CSTRING("length"), - HX_CSTRING("isBuffering"), - HX_CSTRING("id3"), - HX_CSTRING("bytesTotal"), - HX_CSTRING("bytesLoaded"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Sound_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_from_file,"nme_sound_from_file"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_from_data,"nme_sound_from_data"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_get_id3,"nme_sound_get_id3"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_get_length,"nme_sound_get_length"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_close,"nme_sound_close"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_get_status,"nme_sound_get_status"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_channel_create_dynamic,"nme_sound_channel_create_dynamic"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Sound_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_from_file,"nme_sound_from_file"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_from_data,"nme_sound_from_data"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_get_id3,"nme_sound_get_id3"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_get_length,"nme_sound_get_length"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_close,"nme_sound_close"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_get_status,"nme_sound_get_status"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_channel_create_dynamic,"nme_sound_channel_create_dynamic"); -}; - -Class Sound_obj::__mClass; - -void Sound_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.media.Sound"), hx::TCanCast< Sound_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Sound_obj::__boot() -{ - nme_sound_from_file= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_from_file"),(int)2); - nme_sound_from_data= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_from_data"),(int)3); - nme_sound_get_id3= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_get_id3"),(int)2); - nme_sound_get_length= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_get_length"),(int)1); - nme_sound_close= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_close"),(int)1); - nme_sound_get_status= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_get_status"),(int)1); - nme_sound_channel_create_dynamic= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_create_dynamic"),(int)2); -} - -} // end namespace neash -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/media/SoundChannel.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/media/SoundChannel.cpp deleted file mode 100644 index 13f3c0e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/media/SoundChannel.cpp +++ /dev/null @@ -1,553 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_SampleDataEvent -#include -#endif -#ifndef INCLUDED_neash_media_SoundChannel -#include -#endif -#ifndef INCLUDED_neash_media_SoundTransform -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace media{ - -Void SoundChannel_obj::__construct(Dynamic inSoundHandle,Float startTime,int loops,::neash::media::SoundTransform sndTransform) -{ -HX_STACK_PUSH("SoundChannel::new","neash/media/SoundChannel.hx",28); -{ - HX_STACK_LINE(29) - super::__construct(null()); - HX_STACK_LINE(31) - if (((sndTransform != null()))){ - HX_STACK_LINE(31) - this->nmeTransform = sndTransform->clone(); - } - HX_STACK_LINE(35) - if (((inSoundHandle != null()))){ - HX_STACK_LINE(36) - this->nmeHandle = ::neash::media::SoundChannel_obj::nme_sound_channel_create(inSoundHandle,startTime,loops,this->nmeTransform); - } - HX_STACK_LINE(38) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(39) - ::neash::media::SoundChannel_obj::nmeIncompleteList->push(hx::ObjectPtr(this)); - } -} -; - return null(); -} - -SoundChannel_obj::~SoundChannel_obj() { } - -Dynamic SoundChannel_obj::__CreateEmpty() { return new SoundChannel_obj; } -hx::ObjectPtr< SoundChannel_obj > SoundChannel_obj::__new(Dynamic inSoundHandle,Float startTime,int loops,::neash::media::SoundTransform sndTransform) -{ hx::ObjectPtr< SoundChannel_obj > result = new SoundChannel_obj(); - result->__construct(inSoundHandle,startTime,loops,sndTransform); - return result;} - -Dynamic SoundChannel_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SoundChannel_obj > result = new SoundChannel_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -::neash::media::SoundTransform SoundChannel_obj::nmeSetTransform( ::neash::media::SoundTransform inTransform){ - HX_STACK_PUSH("SoundChannel::nmeSetTransform","neash/media/SoundChannel.hx",136); - HX_STACK_THIS(this); - HX_STACK_ARG(inTransform,"inTransform"); - HX_STACK_LINE(137) - this->nmeTransform = inTransform->clone(); - HX_STACK_LINE(138) - ::neash::media::SoundChannel_obj::nme_sound_channel_set_transform(this->nmeHandle,this->nmeTransform); - HX_STACK_LINE(140) - return inTransform; -} - - -HX_DEFINE_DYNAMIC_FUNC1(SoundChannel_obj,nmeSetTransform,return ) - -::neash::media::SoundTransform SoundChannel_obj::nmeGetTransform( ){ - HX_STACK_PUSH("SoundChannel::nmeGetTransform","neash/media/SoundChannel.hx",125); - HX_STACK_THIS(this); - HX_STACK_LINE(126) - if (((this->nmeTransform == null()))){ - HX_STACK_LINE(127) - this->nmeTransform = ::neash::media::SoundTransform_obj::__new(null(),null()); - } - HX_STACK_LINE(131) - return this->nmeTransform->clone(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeGetTransform,return ) - -Float SoundChannel_obj::nmeGetPosition( ){ - HX_STACK_PUSH("SoundChannel::nmeGetPosition","neash/media/SoundChannel.hx",121); - HX_STACK_THIS(this); - HX_STACK_LINE(121) - return ::neash::media::SoundChannel_obj::nme_sound_channel_get_position(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeGetPosition,return ) - -Float SoundChannel_obj::nmeGetRight( ){ - HX_STACK_PUSH("SoundChannel::nmeGetRight","neash/media/SoundChannel.hx",120); - HX_STACK_THIS(this); - HX_STACK_LINE(120) - return ::neash::media::SoundChannel_obj::nme_sound_channel_get_right(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeGetRight,return ) - -Float SoundChannel_obj::nmeGetLeft( ){ - HX_STACK_PUSH("SoundChannel::nmeGetLeft","neash/media/SoundChannel.hx",119); - HX_STACK_THIS(this); - HX_STACK_LINE(119) - return ::neash::media::SoundChannel_obj::nme_sound_channel_get_left(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeGetLeft,return ) - -Void SoundChannel_obj::stop( ){ -{ - HX_STACK_PUSH("SoundChannel::stop","neash/media/SoundChannel.hx",109); - HX_STACK_THIS(this); - HX_STACK_LINE(109) - ::neash::media::SoundChannel_obj::nme_sound_channel_stop(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,stop,(void)) - -bool SoundChannel_obj::nmeCheckComplete( ){ - HX_STACK_PUSH("SoundChannel::nmeCheckComplete","neash/media/SoundChannel.hx",56); - HX_STACK_THIS(this); - HX_STACK_LINE(57) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(59) - if (((bool((this->nmeDataProvider != null())) && bool(::neash::media::SoundChannel_obj::nme_sound_channel_needs_data(this->nmeHandle))))){ - HX_STACK_LINE(61) - ::neash::events::SampleDataEvent request = ::neash::events::SampleDataEvent_obj::__new(::neash::events::SampleDataEvent_obj::SAMPLE_DATA,null(),null()); HX_STACK_VAR(request,"request"); - HX_STACK_LINE(62) - request->position = ::neash::media::SoundChannel_obj::nme_sound_channel_get_data_position(this->nmeHandle); - HX_STACK_LINE(63) - this->nmeDataProvider->dispatchEvent(request); - HX_STACK_LINE(64) - if (((request->data->length > (int)0))){ - HX_STACK_LINE(65) - ::neash::media::SoundChannel_obj::nme_sound_channel_add_data(this->nmeHandle,request->data); - } - } - HX_STACK_LINE(68) - if ((::neash::media::SoundChannel_obj::nme_sound_channel_is_complete(this->nmeHandle))){ - HX_STACK_LINE(70) - this->nmeHandle = null(); - HX_STACK_LINE(71) - if (((this->nmeDataProvider != null()))){ - HX_STACK_LINE(72) - (::neash::media::SoundChannel_obj::nmeDynamicSoundCount)--; - } - HX_STACK_LINE(73) - ::neash::events::Event complete = ::neash::events::Event_obj::__new(::neash::events::Event_obj::SOUND_COMPLETE,null(),null()); HX_STACK_VAR(complete,"complete"); - HX_STACK_LINE(74) - this->dispatchEvent(complete); - HX_STACK_LINE(75) - return true; - } - } - HX_STACK_LINE(79) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeCheckComplete,return ) - -int SoundChannel_obj::nmeDynamicSoundCount; - -Array< ::neash::media::SoundChannel > SoundChannel_obj::nmeIncompleteList; - -::neash::media::SoundChannel SoundChannel_obj::createDynamic( Dynamic inSoundHandle,::neash::media::SoundTransform sndTransform,::neash::events::EventDispatcher dataProvider){ - HX_STACK_PUSH("SoundChannel::createDynamic","neash/media/SoundChannel.hx",43); - HX_STACK_ARG(inSoundHandle,"inSoundHandle"); - HX_STACK_ARG(sndTransform,"sndTransform"); - HX_STACK_ARG(dataProvider,"dataProvider"); - HX_STACK_LINE(44) - ::neash::media::SoundChannel result = ::neash::media::SoundChannel_obj::__new(null(),(int)0,(int)0,sndTransform); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(45) - result->nmeDataProvider = dataProvider; - HX_STACK_LINE(46) - result->nmeHandle = inSoundHandle; - HX_STACK_LINE(47) - ::neash::media::SoundChannel_obj::nmeIncompleteList->push(result); - HX_STACK_LINE(48) - (::neash::media::SoundChannel_obj::nmeDynamicSoundCount)++; - HX_STACK_LINE(49) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(SoundChannel_obj,createDynamic,return ) - -bool SoundChannel_obj::nmeCompletePending( ){ - HX_STACK_PUSH("SoundChannel::nmeCompletePending","neash/media/SoundChannel.hx",84); - HX_STACK_LINE(84) - return (::neash::media::SoundChannel_obj::nmeIncompleteList->length > (int)0); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeCompletePending,return ) - -Void SoundChannel_obj::nmePollComplete( ){ -{ - HX_STACK_PUSH("SoundChannel::nmePollComplete","neash/media/SoundChannel.hx",90); - HX_STACK_LINE(90) - if (((::neash::media::SoundChannel_obj::nmeIncompleteList->length > (int)0))){ - HX_STACK_LINE(93) - Array< ::neash::media::SoundChannel > incomplete = Array_obj< ::neash::media::SoundChannel >::__new(); HX_STACK_VAR(incomplete,"incomplete"); - HX_STACK_LINE(95) - { - HX_STACK_LINE(95) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::media::SoundChannel > _g1 = ::neash::media::SoundChannel_obj::nmeIncompleteList; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(95) - while(((_g < _g1->length))){ - HX_STACK_LINE(95) - ::neash::media::SoundChannel channel = _g1->__get(_g); HX_STACK_VAR(channel,"channel"); - HX_STACK_LINE(95) - ++(_g); - HX_STACK_LINE(97) - if ((!(channel->nmeCheckComplete()))){ - HX_STACK_LINE(98) - incomplete->push(channel); - } - } - } - HX_STACK_LINE(103) - ::neash::media::SoundChannel_obj::nmeIncompleteList = incomplete; - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmePollComplete,(void)) - -Dynamic SoundChannel_obj::nme_sound_channel_is_complete; - -Dynamic SoundChannel_obj::nme_sound_channel_get_left; - -Dynamic SoundChannel_obj::nme_sound_channel_get_right; - -Dynamic SoundChannel_obj::nme_sound_channel_get_position; - -Dynamic SoundChannel_obj::nme_sound_channel_get_data_position; - -Dynamic SoundChannel_obj::nme_sound_channel_stop; - -Dynamic SoundChannel_obj::nme_sound_channel_create; - -Dynamic SoundChannel_obj::nme_sound_channel_set_transform; - -Dynamic SoundChannel_obj::nme_sound_channel_needs_data; - -Dynamic SoundChannel_obj::nme_sound_channel_add_data; - - -SoundChannel_obj::SoundChannel_obj() -{ -} - -void SoundChannel_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SoundChannel); - HX_MARK_MEMBER_NAME(nmeDataProvider,"nmeDataProvider"); - HX_MARK_MEMBER_NAME(nmeTransform,"nmeTransform"); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(soundTransform,"soundTransform"); - HX_MARK_MEMBER_NAME(position,"position"); - HX_MARK_MEMBER_NAME(rightPeak,"rightPeak"); - HX_MARK_MEMBER_NAME(leftPeak,"leftPeak"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void SoundChannel_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeDataProvider,"nmeDataProvider"); - HX_VISIT_MEMBER_NAME(nmeTransform,"nmeTransform"); - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(soundTransform,"soundTransform"); - HX_VISIT_MEMBER_NAME(position,"position"); - HX_VISIT_MEMBER_NAME(rightPeak,"rightPeak"); - HX_VISIT_MEMBER_NAME(leftPeak,"leftPeak"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic SoundChannel_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"stop") ) { return stop_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"position") ) { return inCallProp ? nmeGetPosition() : position; } - if (HX_FIELD_EQ(inName,"leftPeak") ) { return inCallProp ? nmeGetLeft() : leftPeak; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - if (HX_FIELD_EQ(inName,"rightPeak") ) { return inCallProp ? nmeGetRight() : rightPeak; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeGetLeft") ) { return nmeGetLeft_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeGetRight") ) { return nmeGetRight_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeTransform") ) { return nmeTransform; } - break; - case 13: - if (HX_FIELD_EQ(inName,"createDynamic") ) { return createDynamic_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"nmeGetPosition") ) { return nmeGetPosition_dyn(); } - if (HX_FIELD_EQ(inName,"soundTransform") ) { return inCallProp ? nmeGetTransform() : soundTransform; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmePollComplete") ) { return nmePollComplete_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetTransform") ) { return nmeSetTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTransform") ) { return nmeGetTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeDataProvider") ) { return nmeDataProvider; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeCheckComplete") ) { return nmeCheckComplete_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeIncompleteList") ) { return nmeIncompleteList; } - break; - case 18: - if (HX_FIELD_EQ(inName,"nmeCompletePending") ) { return nmeCompletePending_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeDynamicSoundCount") ) { return nmeDynamicSoundCount; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_sound_channel_stop") ) { return nme_sound_channel_stop; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_sound_channel_create") ) { return nme_sound_channel_create; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_left") ) { return nme_sound_channel_get_left; } - if (HX_FIELD_EQ(inName,"nme_sound_channel_add_data") ) { return nme_sound_channel_add_data; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_right") ) { return nme_sound_channel_get_right; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_sound_channel_needs_data") ) { return nme_sound_channel_needs_data; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_sound_channel_is_complete") ) { return nme_sound_channel_is_complete; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_position") ) { return nme_sound_channel_get_position; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_sound_channel_set_transform") ) { return nme_sound_channel_set_transform; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_data_position") ) { return nme_sound_channel_get_data_position; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SoundChannel_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"position") ) { position=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"leftPeak") ) { leftPeak=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"rightPeak") ) { rightPeak=inValue.Cast< Float >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeTransform") ) { nmeTransform=inValue.Cast< ::neash::media::SoundTransform >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"soundTransform") ) { if (inCallProp) return nmeSetTransform(inValue);soundTransform=inValue.Cast< ::neash::media::SoundTransform >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeDataProvider") ) { nmeDataProvider=inValue.Cast< ::neash::events::EventDispatcher >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeIncompleteList") ) { nmeIncompleteList=inValue.Cast< Array< ::neash::media::SoundChannel > >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeDynamicSoundCount") ) { nmeDynamicSoundCount=inValue.Cast< int >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_sound_channel_stop") ) { nme_sound_channel_stop=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_sound_channel_create") ) { nme_sound_channel_create=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_left") ) { nme_sound_channel_get_left=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_sound_channel_add_data") ) { nme_sound_channel_add_data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_right") ) { nme_sound_channel_get_right=inValue.Cast< Dynamic >(); return inValue; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_sound_channel_needs_data") ) { nme_sound_channel_needs_data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_sound_channel_is_complete") ) { nme_sound_channel_is_complete=inValue.Cast< Dynamic >(); return inValue; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_position") ) { nme_sound_channel_get_position=inValue.Cast< Dynamic >(); return inValue; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_sound_channel_set_transform") ) { nme_sound_channel_set_transform=inValue.Cast< Dynamic >(); return inValue; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_data_position") ) { nme_sound_channel_get_data_position=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SoundChannel_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeDataProvider")); - outFields->push(HX_CSTRING("nmeTransform")); - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("soundTransform")); - outFields->push(HX_CSTRING("position")); - outFields->push(HX_CSTRING("rightPeak")); - outFields->push(HX_CSTRING("leftPeak")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nmeDynamicSoundCount"), - HX_CSTRING("nmeIncompleteList"), - HX_CSTRING("createDynamic"), - HX_CSTRING("nmeCompletePending"), - HX_CSTRING("nmePollComplete"), - HX_CSTRING("nme_sound_channel_is_complete"), - HX_CSTRING("nme_sound_channel_get_left"), - HX_CSTRING("nme_sound_channel_get_right"), - HX_CSTRING("nme_sound_channel_get_position"), - HX_CSTRING("nme_sound_channel_get_data_position"), - HX_CSTRING("nme_sound_channel_stop"), - HX_CSTRING("nme_sound_channel_create"), - HX_CSTRING("nme_sound_channel_set_transform"), - HX_CSTRING("nme_sound_channel_needs_data"), - HX_CSTRING("nme_sound_channel_add_data"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetTransform"), - HX_CSTRING("nmeGetTransform"), - HX_CSTRING("nmeGetPosition"), - HX_CSTRING("nmeGetRight"), - HX_CSTRING("nmeGetLeft"), - HX_CSTRING("stop"), - HX_CSTRING("nmeCheckComplete"), - HX_CSTRING("nmeDataProvider"), - HX_CSTRING("nmeTransform"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("soundTransform"), - HX_CSTRING("position"), - HX_CSTRING("rightPeak"), - HX_CSTRING("leftPeak"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SoundChannel_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nmeDynamicSoundCount,"nmeDynamicSoundCount"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nmeIncompleteList,"nmeIncompleteList"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_is_complete,"nme_sound_channel_is_complete"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_left,"nme_sound_channel_get_left"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_right,"nme_sound_channel_get_right"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_position,"nme_sound_channel_get_position"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_data_position,"nme_sound_channel_get_data_position"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_stop,"nme_sound_channel_stop"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_create,"nme_sound_channel_create"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_set_transform,"nme_sound_channel_set_transform"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_needs_data,"nme_sound_channel_needs_data"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_add_data,"nme_sound_channel_add_data"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SoundChannel_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nmeDynamicSoundCount,"nmeDynamicSoundCount"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nmeIncompleteList,"nmeIncompleteList"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_is_complete,"nme_sound_channel_is_complete"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_left,"nme_sound_channel_get_left"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_right,"nme_sound_channel_get_right"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_position,"nme_sound_channel_get_position"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_data_position,"nme_sound_channel_get_data_position"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_stop,"nme_sound_channel_stop"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_create,"nme_sound_channel_create"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_set_transform,"nme_sound_channel_set_transform"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_needs_data,"nme_sound_channel_needs_data"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_add_data,"nme_sound_channel_add_data"); -}; - -Class SoundChannel_obj::__mClass; - -void SoundChannel_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.media.SoundChannel"), hx::TCanCast< SoundChannel_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SoundChannel_obj::__boot() -{ - nmeDynamicSoundCount= (int)0; - nmeIncompleteList= Array_obj< ::neash::media::SoundChannel >::__new(); - nme_sound_channel_is_complete= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_is_complete"),(int)1); - nme_sound_channel_get_left= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_get_left"),(int)1); - nme_sound_channel_get_right= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_get_right"),(int)1); - nme_sound_channel_get_position= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_get_position"),(int)1); - nme_sound_channel_get_data_position= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_get_data_position"),(int)1); - nme_sound_channel_stop= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_stop"),(int)1); - nme_sound_channel_create= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_create"),(int)4); - nme_sound_channel_set_transform= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_set_transform"),(int)2); - nme_sound_channel_needs_data= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_needs_data"),(int)1); - nme_sound_channel_add_data= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_add_data"),(int)2); -} - -} // end namespace neash -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/media/SoundLoaderContext.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/media/SoundLoaderContext.cpp deleted file mode 100644 index 088402e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/media/SoundLoaderContext.cpp +++ /dev/null @@ -1,89 +0,0 @@ -#include - -#ifndef INCLUDED_neash_media_SoundLoaderContext -#include -#endif -namespace neash{ -namespace media{ - -Void SoundLoaderContext_obj::__construct() -{ -HX_STACK_PUSH("SoundLoaderContext::new","neash/media/SoundLoaderContext.hx",8); -{ -} -; - return null(); -} - -SoundLoaderContext_obj::~SoundLoaderContext_obj() { } - -Dynamic SoundLoaderContext_obj::__CreateEmpty() { return new SoundLoaderContext_obj; } -hx::ObjectPtr< SoundLoaderContext_obj > SoundLoaderContext_obj::__new() -{ hx::ObjectPtr< SoundLoaderContext_obj > result = new SoundLoaderContext_obj(); - result->__construct(); - return result;} - -Dynamic SoundLoaderContext_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SoundLoaderContext_obj > result = new SoundLoaderContext_obj(); - result->__construct(); - return result;} - - -SoundLoaderContext_obj::SoundLoaderContext_obj() -{ -} - -void SoundLoaderContext_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SoundLoaderContext); - HX_MARK_END_CLASS(); -} - -void SoundLoaderContext_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic SoundLoaderContext_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic SoundLoaderContext_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void SoundLoaderContext_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SoundLoaderContext_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SoundLoaderContext_obj::__mClass,"__mClass"); -}; - -Class SoundLoaderContext_obj::__mClass; - -void SoundLoaderContext_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.media.SoundLoaderContext"), hx::TCanCast< SoundLoaderContext_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SoundLoaderContext_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/media/SoundTransform.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/media/SoundTransform.cpp deleted file mode 100644 index e15c09b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/media/SoundTransform.cpp +++ /dev/null @@ -1,131 +0,0 @@ -#include - -#ifndef INCLUDED_neash_media_SoundTransform -#include -#endif -namespace neash{ -namespace media{ - -Void SoundTransform_obj::__construct(hx::Null< Float > __o_vol,hx::Null< Float > __o_panning) -{ -HX_STACK_PUSH("SoundTransform::new","neash/media/SoundTransform.hx",12); -Float vol = __o_vol.Default(1.0); -Float panning = __o_panning.Default(0.0); -{ - HX_STACK_LINE(13) - this->volume = vol; - HX_STACK_LINE(14) - this->pan = panning; -} -; - return null(); -} - -SoundTransform_obj::~SoundTransform_obj() { } - -Dynamic SoundTransform_obj::__CreateEmpty() { return new SoundTransform_obj; } -hx::ObjectPtr< SoundTransform_obj > SoundTransform_obj::__new(hx::Null< Float > __o_vol,hx::Null< Float > __o_panning) -{ hx::ObjectPtr< SoundTransform_obj > result = new SoundTransform_obj(); - result->__construct(__o_vol,__o_panning); - return result;} - -Dynamic SoundTransform_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SoundTransform_obj > result = new SoundTransform_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::neash::media::SoundTransform SoundTransform_obj::clone( ){ - HX_STACK_PUSH("SoundTransform::clone","neash/media/SoundTransform.hx",19); - HX_STACK_THIS(this); - HX_STACK_LINE(19) - return ::neash::media::SoundTransform_obj::__new(this->volume,this->pan); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundTransform_obj,clone,return ) - - -SoundTransform_obj::SoundTransform_obj() -{ -} - -void SoundTransform_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SoundTransform); - HX_MARK_MEMBER_NAME(volume,"volume"); - HX_MARK_MEMBER_NAME(pan,"pan"); - HX_MARK_END_CLASS(); -} - -void SoundTransform_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(volume,"volume"); - HX_VISIT_MEMBER_NAME(pan,"pan"); -} - -Dynamic SoundTransform_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"pan") ) { return pan; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"volume") ) { return volume; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SoundTransform_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"pan") ) { pan=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"volume") ) { volume=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SoundTransform_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("volume")); - outFields->push(HX_CSTRING("pan")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("clone"), - HX_CSTRING("volume"), - HX_CSTRING("pan"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SoundTransform_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SoundTransform_obj::__mClass,"__mClass"); -}; - -Class SoundTransform_obj::__mClass; - -void SoundTransform_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.media.SoundTransform"), hx::TCanCast< SoundTransform_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SoundTransform_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/net/URLLoader.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/net/URLLoader.cpp deleted file mode 100644 index fb86844..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/net/URLLoader.cpp +++ /dev/null @@ -1,702 +0,0 @@ -#include - -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_HTTPStatusEvent -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IOErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_ProgressEvent -#include -#endif -#ifndef INCLUDED_neash_events_TextEvent -#include -#endif -#ifndef INCLUDED_neash_net_URLLoader -#include -#endif -#ifndef INCLUDED_neash_net_URLLoaderDataFormat -#include -#endif -#ifndef INCLUDED_neash_net_URLRequest -#include -#endif -#ifndef INCLUDED_neash_net_URLVariables -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace net{ - -Void URLLoader_obj::__construct(::neash::net::URLRequest request) -{ -HX_STACK_PUSH("URLLoader::new","neash/net/URLLoader.hx",49); -{ - HX_STACK_LINE(50) - super::__construct(null()); - HX_STACK_LINE(51) - this->nmeHandle = (int)0; - HX_STACK_LINE(52) - this->bytesLoaded = (int)0; - HX_STACK_LINE(53) - this->bytesTotal = (int)-1; - HX_STACK_LINE(54) - this->state = (int)0; - HX_STACK_LINE(55) - this->dataFormat = ::neash::net::URLLoaderDataFormat_obj::TEXT_dyn(); - HX_STACK_LINE(56) - if (((request != null()))){ - HX_STACK_LINE(57) - this->load(request); - } -} -; - return null(); -} - -URLLoader_obj::~URLLoader_obj() { } - -Dynamic URLLoader_obj::__CreateEmpty() { return new URLLoader_obj; } -hx::ObjectPtr< URLLoader_obj > URLLoader_obj::__new(::neash::net::URLRequest request) -{ hx::ObjectPtr< URLLoader_obj > result = new URLLoader_obj(); - result->__construct(request); - return result;} - -Dynamic URLLoader_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLLoader_obj > result = new URLLoader_obj(); - result->__construct(inArgs[0]); - return result;} - -Void URLLoader_obj::update( ){ -{ - HX_STACK_PUSH("URLLoader::update","neash/net/URLLoader.hx",144); - HX_STACK_THIS(this); - HX_STACK_LINE(144) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(146) - int old_loaded = this->bytesLoaded; HX_STACK_VAR(old_loaded,"old_loaded"); - HX_STACK_LINE(147) - int old_total = this->bytesTotal; HX_STACK_VAR(old_total,"old_total"); - HX_STACK_LINE(148) - ::neash::net::URLLoader_obj::nme_curl_update_loader(this->nmeHandle,hx::ObjectPtr(this)); - HX_STACK_LINE(149) - if (((bool((old_total < (int)0)) && bool((this->bytesTotal > (int)0))))){ - HX_STACK_LINE(149) - this->dispatchEvent(::neash::events::Event_obj::__new(::neash::events::Event_obj::OPEN,null(),null())); - } - HX_STACK_LINE(153) - if (((bool((this->bytesTotal > (int)0)) && bool((this->bytesLoaded != old_loaded))))){ - HX_STACK_LINE(153) - this->dispatchEvent(::neash::events::ProgressEvent_obj::__new(HX_CSTRING("progress"),false,false,this->bytesLoaded,this->bytesTotal)); - } - HX_STACK_LINE(157) - int code = ::neash::net::URLLoader_obj::nme_curl_get_code(this->nmeHandle); HX_STACK_VAR(code,"code"); - HX_STACK_LINE(159) - if (((this->state == (int)3))){ - HX_STACK_LINE(160) - this->dispatchHTTPStatus(code); - HX_STACK_LINE(162) - if (((code < (int)400))){ - HX_STACK_LINE(163) - ::neash::utils::ByteArray bytes = ::neash::net::URLLoader_obj::nme_curl_get_data(this->nmeHandle); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(164) - { - ::neash::net::URLLoaderDataFormat _switch_1 = (this->dataFormat); - switch((_switch_1)->GetIndex()){ - case 1: case 2: { - HX_STACK_LINE(165) - this->data = ( (((bytes == null()))) ? ::String(HX_CSTRING("")) : ::String(bytes->asString()) ); - } - ;break; - default: { - HX_STACK_LINE(167) - this->data = bytes; - } - } - } - HX_STACK_LINE(170) - this->nmeDataComplete(); - } - else{ - HX_STACK_LINE(173) - ::neash::events::IOErrorEvent evt = ::neash::events::IOErrorEvent_obj::__new(::neash::events::IOErrorEvent_obj::IO_ERROR,true,false,(HX_CSTRING("HTTP status code ") + ::Std_obj::string(code)),code); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(174) - this->nmeHandle = null(); - HX_STACK_LINE(175) - this->dispatchEvent(evt); - } - } - else{ - HX_STACK_LINE(177) - if (((this->state == (int)4))){ - HX_STACK_LINE(178) - this->dispatchHTTPStatus(code); - HX_STACK_LINE(180) - ::neash::events::IOErrorEvent evt = ::neash::events::IOErrorEvent_obj::__new(::neash::events::IOErrorEvent_obj::IO_ERROR,true,false,::neash::net::URLLoader_obj::nme_curl_get_error_message(this->nmeHandle),code); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(181) - this->nmeHandle = null(); - HX_STACK_LINE(182) - this->dispatchEvent(evt); - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,update,(void)) - -Void URLLoader_obj::dispatchHTTPStatus( int code){ -{ - HX_STACK_PUSH("URLLoader::dispatchHTTPStatus","neash/net/URLLoader.hx",140); - HX_STACK_THIS(this); - HX_STACK_ARG(code,"code"); - HX_STACK_LINE(140) - this->dispatchEvent(::neash::events::HTTPStatusEvent_obj::__new(::neash::events::HTTPStatusEvent_obj::HTTP_STATUS,false,false,code)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(URLLoader_obj,dispatchHTTPStatus,(void)) - -Void URLLoader_obj::onError( ::String msg){ -{ - HX_STACK_PUSH("URLLoader::onError","neash/net/URLLoader.hx",135); - HX_STACK_THIS(this); - HX_STACK_ARG(msg,"msg"); - HX_STACK_LINE(136) - ::neash::net::URLLoader_obj::activeLoaders->remove(hx::ObjectPtr(this)); - HX_STACK_LINE(137) - this->dispatchEvent(::neash::events::IOErrorEvent_obj::__new(::neash::events::IOErrorEvent_obj::IO_ERROR,true,false,msg,null())); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(URLLoader_obj,onError,(void)) - -Void URLLoader_obj::nmeDataComplete( ){ -{ - HX_STACK_PUSH("URLLoader::nmeDataComplete","neash/net/URLLoader.hx",106); - HX_STACK_THIS(this); - HX_STACK_LINE(107) - ::neash::net::URLLoader_obj::activeLoaders->remove(hx::ObjectPtr(this)); - HX_STACK_LINE(108) - if (((this->nmeOnComplete_dyn() != null()))){ - HX_STACK_LINE(108) - if ((this->nmeOnComplete(this->data))){ - HX_STACK_LINE(110) - this->dispatchEvent(::neash::events::Event_obj::__new(::neash::events::Event_obj::COMPLETE,null(),null())); - } - else{ - HX_STACK_LINE(112) - this->DispatchIOErrorEvent(); - } - } - else{ - HX_STACK_LINE(113) - this->dispatchEvent(::neash::events::Event_obj::__new(::neash::events::Event_obj::COMPLETE,null(),null())); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,nmeDataComplete,(void)) - -Void URLLoader_obj::load( ::neash::net::URLRequest request){ -{ - HX_STACK_PUSH("URLLoader::load","neash/net/URLLoader.hx",74); - HX_STACK_THIS(this); - HX_STACK_ARG(request,"request"); - HX_STACK_LINE(75) - this->state = (int)1; - HX_STACK_LINE(76) - ::String pref = request->url.substr((int)0,(int)7); HX_STACK_VAR(pref,"pref"); - HX_STACK_LINE(77) - if (((bool((pref != HX_CSTRING("http://"))) && bool((pref != HX_CSTRING("https:/")))))){ - HX_STACK_LINE(78) - try{ - HX_STACK_LINE(79) - ::neash::utils::ByteArray bytes = ::neash::utils::ByteArray_obj::readFile(request->url); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(80) - if (((bytes == null()))){ - HX_STACK_LINE(81) - hx::Throw (((HX_CSTRING("Could not open file \"") + request->url) + HX_CSTRING("\""))); - } - HX_STACK_LINE(82) - { - ::neash::net::URLLoaderDataFormat _switch_2 = (this->dataFormat); - switch((_switch_2)->GetIndex()){ - case 1: { - HX_STACK_LINE(83) - this->data = bytes->asString(); - } - ;break; - case 2: { - HX_STACK_LINE(85) - this->data = ::neash::net::URLVariables_obj::__new(bytes->asString()); - } - ;break; - default: { - HX_STACK_LINE(87) - this->data = bytes; - } - } - } - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(91) - this->onError(e); - HX_STACK_LINE(92) - return null(); - } - } - } - HX_STACK_LINE(95) - this->nmeDataComplete(); - } - else{ - HX_STACK_LINE(97) - request->nmePrepare(); - HX_STACK_LINE(98) - this->nmeHandle = ::neash::net::URLLoader_obj::nme_curl_create(request); - HX_STACK_LINE(99) - if (((this->nmeHandle == null()))){ - HX_STACK_LINE(100) - this->onError(HX_CSTRING("Could not open URL")); - } - else{ - HX_STACK_LINE(102) - ::neash::net::URLLoader_obj::activeLoaders->push(hx::ObjectPtr(this)); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(URLLoader_obj,load,(void)) - -Array< ::String > URLLoader_obj::getCookies( ){ - HX_STACK_PUSH("URLLoader::getCookies","neash/net/URLLoader.hx",62); - HX_STACK_THIS(this); - HX_STACK_LINE(62) - return ::neash::net::URLLoader_obj::nme_curl_get_cookies(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,getCookies,return ) - -Void URLLoader_obj::close( ){ -{ - HX_STACK_PUSH("URLLoader::close","neash/net/URLLoader.hx",60); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,close,(void)) - -::List URLLoader_obj::activeLoaders; - -int URLLoader_obj::urlInvalid; - -int URLLoader_obj::urlInit; - -int URLLoader_obj::urlLoading; - -int URLLoader_obj::urlComplete; - -int URLLoader_obj::urlError; - -bool URLLoader_obj::hasActive( ){ - HX_STACK_PUSH("URLLoader::hasActive","neash/net/URLLoader.hx",66); - HX_STACK_LINE(66) - return !(::neash::net::URLLoader_obj::activeLoaders->isEmpty()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,hasActive,return ) - -Void URLLoader_obj::initialize( ::String inCACertFilePath){ -{ - HX_STACK_PUSH("URLLoader::initialize","neash/net/URLLoader.hx",70); - HX_STACK_ARG(inCACertFilePath,"inCACertFilePath"); - HX_STACK_LINE(70) - ::neash::net::URLLoader_obj::nme_curl_initialize(inCACertFilePath); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(URLLoader_obj,initialize,(void)) - -bool URLLoader_obj::nmeLoadPending( ){ - HX_STACK_PUSH("URLLoader::nmeLoadPending","neash/net/URLLoader.hx",118); - HX_STACK_LINE(118) - return !(::neash::net::URLLoader_obj::activeLoaders->isEmpty()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,nmeLoadPending,return ) - -Void URLLoader_obj::nmePollData( ){ -{ - HX_STACK_PUSH("URLLoader::nmePollData","neash/net/URLLoader.hx",122); - HX_STACK_LINE(122) - if ((!(::neash::net::URLLoader_obj::activeLoaders->isEmpty()))){ - HX_STACK_LINE(124) - ::neash::net::URLLoader_obj::nme_curl_process_loaders(); - HX_STACK_LINE(125) - ::List oldLoaders = ::neash::net::URLLoader_obj::activeLoaders; HX_STACK_VAR(oldLoaders,"oldLoaders"); - HX_STACK_LINE(126) - ::neash::net::URLLoader_obj::activeLoaders = ::List_obj::__new(); - HX_STACK_LINE(127) - for(::cpp::FastIterator_obj< ::neash::net::URLLoader > *__it = ::cpp::CreateFastIterator< ::neash::net::URLLoader >(oldLoaders->iterator()); __it->hasNext(); ){ - ::neash::net::URLLoader loader = __it->next(); - { - HX_STACK_LINE(128) - loader->update(); - HX_STACK_LINE(129) - if (((loader->state == (int)2))){ - HX_STACK_LINE(130) - ::neash::net::URLLoader_obj::activeLoaders->push(loader); - } - } -; - } - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,nmePollData,(void)) - -Dynamic URLLoader_obj::nme_curl_create; - -Dynamic URLLoader_obj::nme_curl_process_loaders; - -Dynamic URLLoader_obj::nme_curl_update_loader; - -Dynamic URLLoader_obj::nme_curl_get_code; - -Dynamic URLLoader_obj::nme_curl_get_error_message; - -Dynamic URLLoader_obj::nme_curl_get_data; - -Dynamic URLLoader_obj::nme_curl_get_cookies; - -Dynamic URLLoader_obj::nme_curl_initialize; - - -URLLoader_obj::URLLoader_obj() -{ -} - -void URLLoader_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLLoader); - HX_MARK_MEMBER_NAME(nmeOnComplete,"nmeOnComplete"); - HX_MARK_MEMBER_NAME(state,"state"); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(dataFormat,"dataFormat"); - HX_MARK_MEMBER_NAME(data,"data"); - HX_MARK_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_MARK_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void URLLoader_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeOnComplete,"nmeOnComplete"); - HX_VISIT_MEMBER_NAME(state,"state"); - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(dataFormat,"dataFormat"); - HX_VISIT_MEMBER_NAME(data,"data"); - HX_VISIT_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_VISIT_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic URLLoader_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - if (HX_FIELD_EQ(inName,"data") ) { return data; } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"state") ) { return state; } - break; - case 6: - if (HX_FIELD_EQ(inName,"update") ) { return update_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"urlInit") ) { return urlInit; } - if (HX_FIELD_EQ(inName,"onError") ) { return onError_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"urlError") ) { return urlError; } - break; - case 9: - if (HX_FIELD_EQ(inName,"hasActive") ) { return hasActive_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - break; - case 10: - if (HX_FIELD_EQ(inName,"urlInvalid") ) { return urlInvalid; } - if (HX_FIELD_EQ(inName,"urlLoading") ) { return urlLoading; } - if (HX_FIELD_EQ(inName,"initialize") ) { return initialize_dyn(); } - if (HX_FIELD_EQ(inName,"getCookies") ) { return getCookies_dyn(); } - if (HX_FIELD_EQ(inName,"dataFormat") ) { return dataFormat; } - if (HX_FIELD_EQ(inName,"bytesTotal") ) { return bytesTotal; } - break; - case 11: - if (HX_FIELD_EQ(inName,"urlComplete") ) { return urlComplete; } - if (HX_FIELD_EQ(inName,"nmePollData") ) { return nmePollData_dyn(); } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { return bytesLoaded; } - break; - case 13: - if (HX_FIELD_EQ(inName,"activeLoaders") ) { return activeLoaders; } - if (HX_FIELD_EQ(inName,"nmeOnComplete") ) { return nmeOnComplete; } - break; - case 14: - if (HX_FIELD_EQ(inName,"nmeLoadPending") ) { return nmeLoadPending_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_curl_create") ) { return nme_curl_create; } - if (HX_FIELD_EQ(inName,"nmeDataComplete") ) { return nmeDataComplete_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_curl_get_code") ) { return nme_curl_get_code; } - if (HX_FIELD_EQ(inName,"nme_curl_get_data") ) { return nme_curl_get_data; } - break; - case 18: - if (HX_FIELD_EQ(inName,"dispatchHTTPStatus") ) { return dispatchHTTPStatus_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_curl_initialize") ) { return nme_curl_initialize; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_curl_get_cookies") ) { return nme_curl_get_cookies; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_curl_update_loader") ) { return nme_curl_update_loader; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_curl_process_loaders") ) { return nme_curl_process_loaders; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_curl_get_error_message") ) { return nme_curl_get_error_message; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic URLLoader_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"data") ) { data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"state") ) { state=inValue.Cast< int >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"urlInit") ) { urlInit=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"urlError") ) { urlError=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"urlInvalid") ) { urlInvalid=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"urlLoading") ) { urlLoading=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"dataFormat") ) { dataFormat=inValue.Cast< ::neash::net::URLLoaderDataFormat >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesTotal") ) { bytesTotal=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"urlComplete") ) { urlComplete=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { bytesLoaded=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"activeLoaders") ) { activeLoaders=inValue.Cast< ::List >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeOnComplete") ) { nmeOnComplete=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_curl_create") ) { nme_curl_create=inValue.Cast< Dynamic >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_curl_get_code") ) { nme_curl_get_code=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_curl_get_data") ) { nme_curl_get_data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_curl_initialize") ) { nme_curl_initialize=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_curl_get_cookies") ) { nme_curl_get_cookies=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_curl_update_loader") ) { nme_curl_update_loader=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_curl_process_loaders") ) { nme_curl_process_loaders=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_curl_get_error_message") ) { nme_curl_get_error_message=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void URLLoader_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("state")); - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("dataFormat")); - outFields->push(HX_CSTRING("data")); - outFields->push(HX_CSTRING("bytesTotal")); - outFields->push(HX_CSTRING("bytesLoaded")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("activeLoaders"), - HX_CSTRING("urlInvalid"), - HX_CSTRING("urlInit"), - HX_CSTRING("urlLoading"), - HX_CSTRING("urlComplete"), - HX_CSTRING("urlError"), - HX_CSTRING("hasActive"), - HX_CSTRING("initialize"), - HX_CSTRING("nmeLoadPending"), - HX_CSTRING("nmePollData"), - HX_CSTRING("nme_curl_create"), - HX_CSTRING("nme_curl_process_loaders"), - HX_CSTRING("nme_curl_update_loader"), - HX_CSTRING("nme_curl_get_code"), - HX_CSTRING("nme_curl_get_error_message"), - HX_CSTRING("nme_curl_get_data"), - HX_CSTRING("nme_curl_get_cookies"), - HX_CSTRING("nme_curl_initialize"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("update"), - HX_CSTRING("dispatchHTTPStatus"), - HX_CSTRING("onError"), - HX_CSTRING("nmeDataComplete"), - HX_CSTRING("load"), - HX_CSTRING("getCookies"), - HX_CSTRING("close"), - HX_CSTRING("nmeOnComplete"), - HX_CSTRING("state"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("dataFormat"), - HX_CSTRING("data"), - HX_CSTRING("bytesTotal"), - HX_CSTRING("bytesLoaded"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLLoader_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(URLLoader_obj::activeLoaders,"activeLoaders"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlInvalid,"urlInvalid"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlInit,"urlInit"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlLoading,"urlLoading"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlComplete,"urlComplete"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlError,"urlError"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_create,"nme_curl_create"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_process_loaders,"nme_curl_process_loaders"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_update_loader,"nme_curl_update_loader"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_get_code,"nme_curl_get_code"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_get_error_message,"nme_curl_get_error_message"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_get_data,"nme_curl_get_data"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_get_cookies,"nme_curl_get_cookies"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_initialize,"nme_curl_initialize"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLLoader_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::activeLoaders,"activeLoaders"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlInvalid,"urlInvalid"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlInit,"urlInit"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlLoading,"urlLoading"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlComplete,"urlComplete"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlError,"urlError"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_create,"nme_curl_create"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_process_loaders,"nme_curl_process_loaders"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_update_loader,"nme_curl_update_loader"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_get_code,"nme_curl_get_code"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_get_error_message,"nme_curl_get_error_message"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_get_data,"nme_curl_get_data"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_get_cookies,"nme_curl_get_cookies"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_initialize,"nme_curl_initialize"); -}; - -Class URLLoader_obj::__mClass; - -void URLLoader_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLLoader"), hx::TCanCast< URLLoader_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLLoader_obj::__boot() -{ - activeLoaders= ::List_obj::__new(); - urlInvalid= (int)0; - urlInit= (int)1; - urlLoading= (int)2; - urlComplete= (int)3; - urlError= (int)4; - nme_curl_create= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_create"),(int)1); - nme_curl_process_loaders= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_process_loaders"),(int)0); - nme_curl_update_loader= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_update_loader"),(int)2); - nme_curl_get_code= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_get_code"),(int)1); - nme_curl_get_error_message= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_get_error_message"),(int)1); - nme_curl_get_data= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_get_data"),(int)1); - nme_curl_get_cookies= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_get_cookies"),(int)1); - nme_curl_initialize= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_initialize"),(int)1); -} - -} // end namespace neash -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/net/URLLoaderDataFormat.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/net/URLLoaderDataFormat.cpp deleted file mode 100644 index cf8b640..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/net/URLLoaderDataFormat.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_net_URLLoaderDataFormat -#include -#endif -namespace neash{ -namespace net{ - -::neash::net::URLLoaderDataFormat URLLoaderDataFormat_obj::BINARY; - -::neash::net::URLLoaderDataFormat URLLoaderDataFormat_obj::TEXT; - -::neash::net::URLLoaderDataFormat URLLoaderDataFormat_obj::VARIABLES; - -HX_DEFINE_CREATE_ENUM(URLLoaderDataFormat_obj) - -int URLLoaderDataFormat_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BINARY")) return 0; - if (inName==HX_CSTRING("TEXT")) return 1; - if (inName==HX_CSTRING("VARIABLES")) return 2; - return super::__FindIndex(inName); -} - -int URLLoaderDataFormat_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BINARY")) return 0; - if (inName==HX_CSTRING("TEXT")) return 0; - if (inName==HX_CSTRING("VARIABLES")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic URLLoaderDataFormat_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BINARY")) return BINARY; - if (inName==HX_CSTRING("TEXT")) return TEXT; - if (inName==HX_CSTRING("VARIABLES")) return VARIABLES; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("BINARY"), - HX_CSTRING("TEXT"), - HX_CSTRING("VARIABLES"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLLoaderDataFormat_obj::BINARY,"BINARY"); - HX_MARK_MEMBER_NAME(URLLoaderDataFormat_obj::TEXT,"TEXT"); - HX_MARK_MEMBER_NAME(URLLoaderDataFormat_obj::VARIABLES,"VARIABLES"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLLoaderDataFormat_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(URLLoaderDataFormat_obj::BINARY,"BINARY"); - HX_VISIT_MEMBER_NAME(URLLoaderDataFormat_obj::TEXT,"TEXT"); - HX_VISIT_MEMBER_NAME(URLLoaderDataFormat_obj::VARIABLES,"VARIABLES"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class URLLoaderDataFormat_obj::__mClass; - -Dynamic __Create_URLLoaderDataFormat_obj() { return new URLLoaderDataFormat_obj; } - -void URLLoaderDataFormat_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLLoaderDataFormat"), hx::TCanCast< URLLoaderDataFormat_obj >,sStaticFields,sMemberFields, - &__Create_URLLoaderDataFormat_obj, &__Create, - &super::__SGetClass(), &CreateURLLoaderDataFormat_obj, sMarkStatics, sVisitStatic); -} - -void URLLoaderDataFormat_obj::__boot() -{ -Static(BINARY) = hx::CreateEnum< URLLoaderDataFormat_obj >(HX_CSTRING("BINARY"),0); -Static(TEXT) = hx::CreateEnum< URLLoaderDataFormat_obj >(HX_CSTRING("TEXT"),1); -Static(VARIABLES) = hx::CreateEnum< URLLoaderDataFormat_obj >(HX_CSTRING("VARIABLES"),2); -} - - -} // end namespace neash -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/net/URLRequest.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/net/URLRequest.cpp deleted file mode 100644 index 3cd9b3b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/net/URLRequest.cpp +++ /dev/null @@ -1,402 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_net_URLRequest -#include -#endif -#ifndef INCLUDED_neash_net_URLRequestHeader -#include -#endif -#ifndef INCLUDED_neash_net_URLVariables -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace net{ - -Void URLRequest_obj::__construct(::String inURL) -{ -HX_STACK_PUSH("URLRequest::new","neash/net/URLRequest.hx",31); -{ - HX_STACK_LINE(32) - if (((inURL != null()))){ - HX_STACK_LINE(33) - this->url = inURL; - } - HX_STACK_LINE(34) - this->requestHeaders = Array_obj< ::neash::net::URLRequestHeader >::__new(); - HX_STACK_LINE(35) - this->method = HX_CSTRING("GET"); - HX_STACK_LINE(37) - this->verbose = false; - HX_STACK_LINE(38) - this->cookieString = HX_CSTRING(""); - HX_STACK_LINE(39) - this->authType = (int)0; - HX_STACK_LINE(40) - this->contentType = HX_CSTRING("application/x-www-form-urlencoded"); - HX_STACK_LINE(41) - this->credentials = HX_CSTRING(""); -} -; - return null(); -} - -URLRequest_obj::~URLRequest_obj() { } - -Dynamic URLRequest_obj::__CreateEmpty() { return new URLRequest_obj; } -hx::ObjectPtr< URLRequest_obj > URLRequest_obj::__new(::String inURL) -{ hx::ObjectPtr< URLRequest_obj > result = new URLRequest_obj(); - result->__construct(inURL); - return result;} - -Dynamic URLRequest_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLRequest_obj > result = new URLRequest_obj(); - result->__construct(inArgs[0]); - return result;} - -Void URLRequest_obj::nmePrepare( ){ -{ - HX_STACK_PUSH("URLRequest::nmePrepare","neash/net/URLRequest.hx",54); - HX_STACK_THIS(this); - HX_STACK_LINE(54) - if (((bool(::Std_obj::is(this->data,hx::ClassOf< ::neash::utils::ByteArray >())) || bool((this->data == null()))))){ - HX_STACK_LINE(55) - this->nmeBytes = this->data; - } - else{ - HX_STACK_LINE(57) - if ((::Std_obj::is(this->data,hx::ClassOf< ::neash::net::URLVariables >()))){ - HX_STACK_LINE(58) - ::neash::net::URLVariables vars = this->data; HX_STACK_VAR(vars,"vars"); - HX_STACK_LINE(59) - ::String str = vars->toString(); HX_STACK_VAR(str,"str"); - HX_STACK_LINE(60) - this->nmeBytes = ::neash::utils::ByteArray_obj::__new(null()); - HX_STACK_LINE(61) - this->nmeBytes->writeUTFBytes(str); - } - else{ - HX_STACK_LINE(62) - if ((::Std_obj::is(this->data,hx::ClassOf< ::String >()))){ - HX_STACK_LINE(63) - ::String str = this->data; HX_STACK_VAR(str,"str"); - HX_STACK_LINE(64) - this->nmeBytes = ::neash::utils::ByteArray_obj::__new(null()); - HX_STACK_LINE(65) - this->nmeBytes->writeUTFBytes(str); - } - else{ - HX_STACK_LINE(66) - if ((::Std_obj::is(this->data,hx::ClassOf< ::Dynamic >()))){ - HX_STACK_LINE(67) - ::neash::net::URLVariables vars = ::neash::net::URLVariables_obj::__new(null()); HX_STACK_VAR(vars,"vars"); - HX_STACK_LINE(68) - { - HX_STACK_LINE(68) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::String > _g1 = ::Reflect_obj::fields(this->data); HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(68) - while(((_g < _g1->length))){ - HX_STACK_LINE(68) - ::String i = _g1->__get(_g); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(68) - ++(_g); - HX_STACK_LINE(69) - if (((vars != null()))){ - HX_STACK_LINE(69) - vars->__SetField(i,::Reflect_obj::field(this->data,i),false); - } - } - } - HX_STACK_LINE(70) - ::String str = vars->toString(); HX_STACK_VAR(str,"str"); - HX_STACK_LINE(71) - this->nmeBytes = ::neash::utils::ByteArray_obj::__new(null()); - HX_STACK_LINE(72) - this->nmeBytes->writeUTFBytes(str); - } - else{ - HX_STACK_LINE(73) - hx::Throw (HX_CSTRING("Unknown data type")); - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLRequest_obj,nmePrepare,(void)) - -Void URLRequest_obj::digestAuth( ::String inUser,::String inPasswd){ -{ - HX_STACK_PUSH("URLRequest::digestAuth","neash/net/URLRequest.hx",49); - HX_STACK_THIS(this); - HX_STACK_ARG(inUser,"inUser"); - HX_STACK_ARG(inPasswd,"inPasswd"); - HX_STACK_LINE(50) - this->authType = (int)2; - HX_STACK_LINE(51) - this->credentials = ((inUser + HX_CSTRING(":")) + inPasswd); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(URLRequest_obj,digestAuth,(void)) - -Void URLRequest_obj::basicAuth( ::String inUser,::String inPasswd){ -{ - HX_STACK_PUSH("URLRequest::basicAuth","neash/net/URLRequest.hx",44); - HX_STACK_THIS(this); - HX_STACK_ARG(inUser,"inUser"); - HX_STACK_ARG(inPasswd,"inPasswd"); - HX_STACK_LINE(45) - this->authType = (int)1; - HX_STACK_LINE(46) - this->credentials = ((inUser + HX_CSTRING(":")) + inPasswd); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(URLRequest_obj,basicAuth,(void)) - -int URLRequest_obj::AUTH_BASIC; - -int URLRequest_obj::AUTH_DIGEST; - -int URLRequest_obj::AUTH_GSSNEGOTIATE; - -int URLRequest_obj::AUTH_NTLM; - -int URLRequest_obj::AUTH_DIGEST_IE; - -int URLRequest_obj::AUTH_DIGEST_ANY; - - -URLRequest_obj::URLRequest_obj() -{ -} - -void URLRequest_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLRequest); - HX_MARK_MEMBER_NAME(nmeBytes,"nmeBytes"); - HX_MARK_MEMBER_NAME(credentials,"credentials"); - HX_MARK_MEMBER_NAME(data,"data"); - HX_MARK_MEMBER_NAME(contentType,"contentType"); - HX_MARK_MEMBER_NAME(method,"method"); - HX_MARK_MEMBER_NAME(verbose,"verbose"); - HX_MARK_MEMBER_NAME(cookieString,"cookieString"); - HX_MARK_MEMBER_NAME(authType,"authType"); - HX_MARK_MEMBER_NAME(requestHeaders,"requestHeaders"); - HX_MARK_MEMBER_NAME(url,"url"); - HX_MARK_END_CLASS(); -} - -void URLRequest_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeBytes,"nmeBytes"); - HX_VISIT_MEMBER_NAME(credentials,"credentials"); - HX_VISIT_MEMBER_NAME(data,"data"); - HX_VISIT_MEMBER_NAME(contentType,"contentType"); - HX_VISIT_MEMBER_NAME(method,"method"); - HX_VISIT_MEMBER_NAME(verbose,"verbose"); - HX_VISIT_MEMBER_NAME(cookieString,"cookieString"); - HX_VISIT_MEMBER_NAME(authType,"authType"); - HX_VISIT_MEMBER_NAME(requestHeaders,"requestHeaders"); - HX_VISIT_MEMBER_NAME(url,"url"); -} - -Dynamic URLRequest_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"url") ) { return url; } - break; - case 4: - if (HX_FIELD_EQ(inName,"data") ) { return data; } - break; - case 6: - if (HX_FIELD_EQ(inName,"method") ) { return method; } - break; - case 7: - if (HX_FIELD_EQ(inName,"verbose") ) { return verbose; } - break; - case 8: - if (HX_FIELD_EQ(inName,"nmeBytes") ) { return nmeBytes; } - if (HX_FIELD_EQ(inName,"authType") ) { return authType; } - break; - case 9: - if (HX_FIELD_EQ(inName,"AUTH_NTLM") ) { return AUTH_NTLM; } - if (HX_FIELD_EQ(inName,"basicAuth") ) { return basicAuth_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"AUTH_BASIC") ) { return AUTH_BASIC; } - if (HX_FIELD_EQ(inName,"nmePrepare") ) { return nmePrepare_dyn(); } - if (HX_FIELD_EQ(inName,"digestAuth") ) { return digestAuth_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST") ) { return AUTH_DIGEST; } - if (HX_FIELD_EQ(inName,"credentials") ) { return credentials; } - if (HX_FIELD_EQ(inName,"contentType") ) { return contentType; } - break; - case 12: - if (HX_FIELD_EQ(inName,"cookieString") ) { return cookieString; } - break; - case 14: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST_IE") ) { return AUTH_DIGEST_IE; } - if (HX_FIELD_EQ(inName,"requestHeaders") ) { return requestHeaders; } - break; - case 15: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST_ANY") ) { return AUTH_DIGEST_ANY; } - break; - case 17: - if (HX_FIELD_EQ(inName,"AUTH_GSSNEGOTIATE") ) { return AUTH_GSSNEGOTIATE; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic URLRequest_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"url") ) { url=inValue.Cast< ::String >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"data") ) { data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"method") ) { method=inValue.Cast< ::String >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"verbose") ) { verbose=inValue.Cast< bool >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"nmeBytes") ) { nmeBytes=inValue.Cast< ::neash::utils::ByteArray >(); return inValue; } - if (HX_FIELD_EQ(inName,"authType") ) { authType=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"AUTH_NTLM") ) { AUTH_NTLM=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"AUTH_BASIC") ) { AUTH_BASIC=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST") ) { AUTH_DIGEST=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"credentials") ) { credentials=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"contentType") ) { contentType=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"cookieString") ) { cookieString=inValue.Cast< ::String >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST_IE") ) { AUTH_DIGEST_IE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"requestHeaders") ) { requestHeaders=inValue.Cast< Array< ::neash::net::URLRequestHeader > >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST_ANY") ) { AUTH_DIGEST_ANY=inValue.Cast< int >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"AUTH_GSSNEGOTIATE") ) { AUTH_GSSNEGOTIATE=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void URLRequest_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeBytes")); - outFields->push(HX_CSTRING("credentials")); - outFields->push(HX_CSTRING("data")); - outFields->push(HX_CSTRING("contentType")); - outFields->push(HX_CSTRING("method")); - outFields->push(HX_CSTRING("verbose")); - outFields->push(HX_CSTRING("cookieString")); - outFields->push(HX_CSTRING("authType")); - outFields->push(HX_CSTRING("requestHeaders")); - outFields->push(HX_CSTRING("url")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("AUTH_BASIC"), - HX_CSTRING("AUTH_DIGEST"), - HX_CSTRING("AUTH_GSSNEGOTIATE"), - HX_CSTRING("AUTH_NTLM"), - HX_CSTRING("AUTH_DIGEST_IE"), - HX_CSTRING("AUTH_DIGEST_ANY"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmePrepare"), - HX_CSTRING("digestAuth"), - HX_CSTRING("basicAuth"), - HX_CSTRING("nmeBytes"), - HX_CSTRING("credentials"), - HX_CSTRING("data"), - HX_CSTRING("contentType"), - HX_CSTRING("method"), - HX_CSTRING("verbose"), - HX_CSTRING("cookieString"), - HX_CSTRING("authType"), - HX_CSTRING("requestHeaders"), - HX_CSTRING("url"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLRequest_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_BASIC,"AUTH_BASIC"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST,"AUTH_DIGEST"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_GSSNEGOTIATE,"AUTH_GSSNEGOTIATE"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_NTLM,"AUTH_NTLM"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST_IE,"AUTH_DIGEST_IE"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST_ANY,"AUTH_DIGEST_ANY"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLRequest_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_BASIC,"AUTH_BASIC"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST,"AUTH_DIGEST"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_GSSNEGOTIATE,"AUTH_GSSNEGOTIATE"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_NTLM,"AUTH_NTLM"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST_IE,"AUTH_DIGEST_IE"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST_ANY,"AUTH_DIGEST_ANY"); -}; - -Class URLRequest_obj::__mClass; - -void URLRequest_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLRequest"), hx::TCanCast< URLRequest_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLRequest_obj::__boot() -{ - AUTH_BASIC= (int)1; - AUTH_DIGEST= (int)2; - AUTH_GSSNEGOTIATE= (int)4; - AUTH_NTLM= (int)8; - AUTH_DIGEST_IE= (int)16; - AUTH_DIGEST_ANY= (int)15; -} - -} // end namespace neash -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/net/URLRequestHeader.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/net/URLRequestHeader.cpp deleted file mode 100644 index b225da8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/net/URLRequestHeader.cpp +++ /dev/null @@ -1,115 +0,0 @@ -#include - -#ifndef INCLUDED_neash_net_URLRequestHeader -#include -#endif -namespace neash{ -namespace net{ - -Void URLRequestHeader_obj::__construct(::String name,::String value) -{ -HX_STACK_PUSH("URLRequestHeader::new","neash/net/URLRequestHeader.hx",8); -{ - HX_STACK_LINE(9) - this->name = name; - HX_STACK_LINE(10) - this->value = value; -} -; - return null(); -} - -URLRequestHeader_obj::~URLRequestHeader_obj() { } - -Dynamic URLRequestHeader_obj::__CreateEmpty() { return new URLRequestHeader_obj; } -hx::ObjectPtr< URLRequestHeader_obj > URLRequestHeader_obj::__new(::String name,::String value) -{ hx::ObjectPtr< URLRequestHeader_obj > result = new URLRequestHeader_obj(); - result->__construct(name,value); - return result;} - -Dynamic URLRequestHeader_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLRequestHeader_obj > result = new URLRequestHeader_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - - -URLRequestHeader_obj::URLRequestHeader_obj() -{ -} - -void URLRequestHeader_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLRequestHeader); - HX_MARK_MEMBER_NAME(value,"value"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_END_CLASS(); -} - -void URLRequestHeader_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(value,"value"); - HX_VISIT_MEMBER_NAME(name,"name"); -} - -Dynamic URLRequestHeader_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 5: - if (HX_FIELD_EQ(inName,"value") ) { return value; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic URLRequestHeader_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"value") ) { value=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void URLRequestHeader_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("value")); - outFields->push(HX_CSTRING("name")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("value"), - HX_CSTRING("name"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLRequestHeader_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLRequestHeader_obj::__mClass,"__mClass"); -}; - -Class URLRequestHeader_obj::__mClass; - -void URLRequestHeader_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLRequestHeader"), hx::TCanCast< URLRequestHeader_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLRequestHeader_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/net/URLRequestMethod.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/net/URLRequestMethod.cpp deleted file mode 100644 index 0633bab..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/net/URLRequestMethod.cpp +++ /dev/null @@ -1,151 +0,0 @@ -#include - -#ifndef INCLUDED_neash_net_URLRequestMethod -#include -#endif -namespace neash{ -namespace net{ - -Void URLRequestMethod_obj::__construct() -{ - return null(); -} - -URLRequestMethod_obj::~URLRequestMethod_obj() { } - -Dynamic URLRequestMethod_obj::__CreateEmpty() { return new URLRequestMethod_obj; } -hx::ObjectPtr< URLRequestMethod_obj > URLRequestMethod_obj::__new() -{ hx::ObjectPtr< URLRequestMethod_obj > result = new URLRequestMethod_obj(); - result->__construct(); - return result;} - -Dynamic URLRequestMethod_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLRequestMethod_obj > result = new URLRequestMethod_obj(); - result->__construct(); - return result;} - -::String URLRequestMethod_obj::DELETE; - -::String URLRequestMethod_obj::GET; - -::String URLRequestMethod_obj::HEAD; - -::String URLRequestMethod_obj::OPTIONS; - -::String URLRequestMethod_obj::POST; - -::String URLRequestMethod_obj::PUT; - - -URLRequestMethod_obj::URLRequestMethod_obj() -{ -} - -void URLRequestMethod_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLRequestMethod); - HX_MARK_END_CLASS(); -} - -void URLRequestMethod_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic URLRequestMethod_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"GET") ) { return GET; } - if (HX_FIELD_EQ(inName,"PUT") ) { return PUT; } - break; - case 4: - if (HX_FIELD_EQ(inName,"HEAD") ) { return HEAD; } - if (HX_FIELD_EQ(inName,"POST") ) { return POST; } - break; - case 6: - if (HX_FIELD_EQ(inName,"DELETE") ) { return DELETE; } - break; - case 7: - if (HX_FIELD_EQ(inName,"OPTIONS") ) { return OPTIONS; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic URLRequestMethod_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"GET") ) { GET=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"PUT") ) { PUT=inValue.Cast< ::String >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"HEAD") ) { HEAD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"POST") ) { POST=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"DELETE") ) { DELETE=inValue.Cast< ::String >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"OPTIONS") ) { OPTIONS=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void URLRequestMethod_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("DELETE"), - HX_CSTRING("GET"), - HX_CSTRING("HEAD"), - HX_CSTRING("OPTIONS"), - HX_CSTRING("POST"), - HX_CSTRING("PUT"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::DELETE,"DELETE"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::GET,"GET"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::HEAD,"HEAD"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::OPTIONS,"OPTIONS"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::POST,"POST"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::PUT,"PUT"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::DELETE,"DELETE"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::GET,"GET"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::HEAD,"HEAD"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::OPTIONS,"OPTIONS"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::POST,"POST"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::PUT,"PUT"); -}; - -Class URLRequestMethod_obj::__mClass; - -void URLRequestMethod_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLRequestMethod"), hx::TCanCast< URLRequestMethod_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLRequestMethod_obj::__boot() -{ - DELETE= HX_CSTRING("DELETE"); - GET= HX_CSTRING("GET"); - HEAD= HX_CSTRING("HEAD"); - OPTIONS= HX_CSTRING("OPTIONS"); - POST= HX_CSTRING("POST"); - PUT= HX_CSTRING("PUT"); -} - -} // end namespace neash -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/net/URLVariables.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/net/URLVariables.cpp deleted file mode 100644 index 55f298a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/net/URLVariables.cpp +++ /dev/null @@ -1,200 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_StringTools -#include -#endif -#ifndef INCLUDED_neash_net_URLVariables -#include -#endif -namespace neash{ -namespace net{ - -Void URLVariables_obj::__construct(::String inEncoded) -{ -HX_STACK_PUSH("URLVariables::new","neash/net/URLVariables.hx",7); -{ - HX_STACK_LINE(7) - if (((inEncoded != null()))){ - HX_STACK_LINE(9) - this->decode(inEncoded); - } -} -; - return null(); -} - -URLVariables_obj::~URLVariables_obj() { } - -Dynamic URLVariables_obj::__CreateEmpty() { return new URLVariables_obj; } -hx::ObjectPtr< URLVariables_obj > URLVariables_obj::__new(::String inEncoded) -{ hx::ObjectPtr< URLVariables_obj > result = new URLVariables_obj(); - result->__construct(inEncoded); - return result;} - -Dynamic URLVariables_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLVariables_obj > result = new URLVariables_obj(); - result->__construct(inArgs[0]); - return result;} - -::String URLVariables_obj::toString( ){ - HX_STACK_PUSH("URLVariables::toString","neash/net/URLVariables.hx",30); - HX_STACK_THIS(this); - HX_STACK_LINE(31) - Array< ::String > result = Array_obj< ::String >::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(32) - Array< ::String > fields = ::Reflect_obj::fields(hx::ObjectPtr(this)); HX_STACK_VAR(fields,"fields"); - HX_STACK_LINE(33) - { - HX_STACK_LINE(33) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(33) - while(((_g < fields->length))){ - HX_STACK_LINE(33) - ::String f = fields->__get(_g); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(33) - ++(_g); - HX_STACK_LINE(34) - result->push(((::StringTools_obj::urlEncode(f) + HX_CSTRING("=")) + ::StringTools_obj::urlEncode(::Reflect_obj::field(hx::ObjectPtr(this),f)))); - } - } - HX_STACK_LINE(36) - return result->join(HX_CSTRING("&")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLVariables_obj,toString,return ) - -Void URLVariables_obj::decode( ::String inVars){ -{ - HX_STACK_PUSH("URLVariables::decode","neash/net/URLVariables.hx",13); - HX_STACK_THIS(this); - HX_STACK_ARG(inVars,"inVars"); - HX_STACK_LINE(14) - Array< ::String > fields = ::Reflect_obj::fields(hx::ObjectPtr(this)); HX_STACK_VAR(fields,"fields"); - HX_STACK_LINE(15) - { - HX_STACK_LINE(15) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(15) - while(((_g < fields->length))){ - HX_STACK_LINE(15) - ::String f = fields->__get(_g); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(15) - ++(_g); - HX_STACK_LINE(16) - ::Reflect_obj::deleteField(hx::ObjectPtr(this),f); - } - } - HX_STACK_LINE(17) - Array< ::String > fields1 = inVars.split(HX_CSTRING(";"))->join(HX_CSTRING("&")).split(HX_CSTRING("&")); HX_STACK_VAR(fields1,"fields1"); - HX_STACK_LINE(18) - { - HX_STACK_LINE(18) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(18) - while(((_g < fields1->length))){ - HX_STACK_LINE(18) - ::String f = fields1->__get(_g); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(18) - ++(_g); - HX_STACK_LINE(20) - int eq = f.indexOf(HX_CSTRING("="),null()); HX_STACK_VAR(eq,"eq"); - HX_STACK_LINE(21) - if (((eq > (int)0))){ - HX_STACK_LINE(22) - this->__SetField(::StringTools_obj::urlDecode(f.substr((int)0,eq)),::StringTools_obj::urlDecode(f.substr((eq + (int)1),null())),false); - } - else{ - HX_STACK_LINE(24) - if (((eq != (int)0))){ - HX_STACK_LINE(25) - this->__SetField(::StringTools_obj::urlDecode(f),HX_CSTRING(""),false); - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(URLVariables_obj,decode,(void)) - - -URLVariables_obj::URLVariables_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void URLVariables_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLVariables); - HX_MARK_DYNAMIC; - HX_MARK_END_CLASS(); -} - -void URLVariables_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; -} - -Dynamic URLVariables_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"decode") ) { return decode_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic URLVariables_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void URLVariables_obj::__GetFields(Array< ::String> &outFields) -{ - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("decode"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLVariables_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLVariables_obj::__mClass,"__mClass"); -}; - -Class URLVariables_obj::__mClass; - -void URLVariables_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLVariables"), hx::TCanCast< URLVariables_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLVariables_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/text/Font.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/text/Font.cpp deleted file mode 100644 index d73937a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/text/Font.cpp +++ /dev/null @@ -1,139 +0,0 @@ -#include - -#ifndef INCLUDED_neash_text_Font -#include -#endif -#ifndef INCLUDED_neash_text_FontStyle -#include -#endif -#ifndef INCLUDED_neash_text_FontType -#include -#endif -namespace neash{ -namespace text{ - -Void Font_obj::__construct(::String inFilename) -{ -HX_STACK_PUSH("Font::new","neash/text/Font.hx",17); -{ - HX_STACK_LINE(17) - this->fontName = inFilename; -} -; - return null(); -} - -Font_obj::~Font_obj() { } - -Dynamic Font_obj::__CreateEmpty() { return new Font_obj; } -hx::ObjectPtr< Font_obj > Font_obj::__new(::String inFilename) -{ hx::ObjectPtr< Font_obj > result = new Font_obj(); - result->__construct(inFilename); - return result;} - -Dynamic Font_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Font_obj > result = new Font_obj(); - result->__construct(inArgs[0]); - return result;} - -Dynamic Font_obj::load( ::String inFilename){ - HX_STACK_PUSH("Font::load","neash/text/Font.hx",25); - HX_STACK_ARG(inFilename,"inFilename"); - HX_STACK_LINE(25) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Font_obj,load,return ) - - -Font_obj::Font_obj() -{ -} - -void Font_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Font); - HX_MARK_MEMBER_NAME(fontType,"fontType"); - HX_MARK_MEMBER_NAME(fontStyle,"fontStyle"); - HX_MARK_MEMBER_NAME(fontName,"fontName"); - HX_MARK_END_CLASS(); -} - -void Font_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(fontType,"fontType"); - HX_VISIT_MEMBER_NAME(fontStyle,"fontStyle"); - HX_VISIT_MEMBER_NAME(fontName,"fontName"); -} - -Dynamic Font_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"fontType") ) { return fontType; } - if (HX_FIELD_EQ(inName,"fontName") ) { return fontName; } - break; - case 9: - if (HX_FIELD_EQ(inName,"fontStyle") ) { return fontStyle; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Font_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"fontType") ) { fontType=inValue.Cast< ::neash::text::FontType >(); return inValue; } - if (HX_FIELD_EQ(inName,"fontName") ) { fontName=inValue.Cast< ::String >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"fontStyle") ) { fontStyle=inValue.Cast< ::neash::text::FontStyle >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Font_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("fontType")); - outFields->push(HX_CSTRING("fontStyle")); - outFields->push(HX_CSTRING("fontName")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("load"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("fontType"), - HX_CSTRING("fontStyle"), - HX_CSTRING("fontName"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Font_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Font_obj::__mClass,"__mClass"); -}; - -Class Font_obj::__mClass; - -void Font_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.text.Font"), hx::TCanCast< Font_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Font_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace text diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/text/FontStyle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/text/FontStyle.cpp deleted file mode 100644 index b2d42b7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/text/FontStyle.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_neash_text_FontStyle -#include -#endif -namespace neash{ -namespace text{ - -::neash::text::FontStyle FontStyle_obj::BOLD; - -::neash::text::FontStyle FontStyle_obj::BOLD_ITALIC; - -::neash::text::FontStyle FontStyle_obj::ITALIC; - -::neash::text::FontStyle FontStyle_obj::REGULAR; - -HX_DEFINE_CREATE_ENUM(FontStyle_obj) - -int FontStyle_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BOLD")) return 0; - if (inName==HX_CSTRING("BOLD_ITALIC")) return 1; - if (inName==HX_CSTRING("ITALIC")) return 2; - if (inName==HX_CSTRING("REGULAR")) return 3; - return super::__FindIndex(inName); -} - -int FontStyle_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BOLD")) return 0; - if (inName==HX_CSTRING("BOLD_ITALIC")) return 0; - if (inName==HX_CSTRING("ITALIC")) return 0; - if (inName==HX_CSTRING("REGULAR")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic FontStyle_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BOLD")) return BOLD; - if (inName==HX_CSTRING("BOLD_ITALIC")) return BOLD_ITALIC; - if (inName==HX_CSTRING("ITALIC")) return ITALIC; - if (inName==HX_CSTRING("REGULAR")) return REGULAR; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("BOLD"), - HX_CSTRING("BOLD_ITALIC"), - HX_CSTRING("ITALIC"), - HX_CSTRING("REGULAR"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FontStyle_obj::BOLD,"BOLD"); - HX_MARK_MEMBER_NAME(FontStyle_obj::BOLD_ITALIC,"BOLD_ITALIC"); - HX_MARK_MEMBER_NAME(FontStyle_obj::ITALIC,"ITALIC"); - HX_MARK_MEMBER_NAME(FontStyle_obj::REGULAR,"REGULAR"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FontStyle_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FontStyle_obj::BOLD,"BOLD"); - HX_VISIT_MEMBER_NAME(FontStyle_obj::BOLD_ITALIC,"BOLD_ITALIC"); - HX_VISIT_MEMBER_NAME(FontStyle_obj::ITALIC,"ITALIC"); - HX_VISIT_MEMBER_NAME(FontStyle_obj::REGULAR,"REGULAR"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class FontStyle_obj::__mClass; - -Dynamic __Create_FontStyle_obj() { return new FontStyle_obj; } - -void FontStyle_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.text.FontStyle"), hx::TCanCast< FontStyle_obj >,sStaticFields,sMemberFields, - &__Create_FontStyle_obj, &__Create, - &super::__SGetClass(), &CreateFontStyle_obj, sMarkStatics, sVisitStatic); -} - -void FontStyle_obj::__boot() -{ -Static(BOLD) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("BOLD"),0); -Static(BOLD_ITALIC) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("BOLD_ITALIC"),1); -Static(ITALIC) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("ITALIC"),2); -Static(REGULAR) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("REGULAR"),3); -} - - -} // end namespace neash -} // end namespace text diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/text/FontType.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/text/FontType.cpp deleted file mode 100644 index 69e21d4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/text/FontType.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_text_FontType -#include -#endif -namespace neash{ -namespace text{ - -::neash::text::FontType FontType_obj::DEVICE; - -::neash::text::FontType FontType_obj::EMBEDDED; - -::neash::text::FontType FontType_obj::EMBEDDED_CFF; - -HX_DEFINE_CREATE_ENUM(FontType_obj) - -int FontType_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("DEVICE")) return 0; - if (inName==HX_CSTRING("EMBEDDED")) return 1; - if (inName==HX_CSTRING("EMBEDDED_CFF")) return 2; - return super::__FindIndex(inName); -} - -int FontType_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("DEVICE")) return 0; - if (inName==HX_CSTRING("EMBEDDED")) return 0; - if (inName==HX_CSTRING("EMBEDDED_CFF")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic FontType_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("DEVICE")) return DEVICE; - if (inName==HX_CSTRING("EMBEDDED")) return EMBEDDED; - if (inName==HX_CSTRING("EMBEDDED_CFF")) return EMBEDDED_CFF; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("DEVICE"), - HX_CSTRING("EMBEDDED"), - HX_CSTRING("EMBEDDED_CFF"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FontType_obj::DEVICE,"DEVICE"); - HX_MARK_MEMBER_NAME(FontType_obj::EMBEDDED,"EMBEDDED"); - HX_MARK_MEMBER_NAME(FontType_obj::EMBEDDED_CFF,"EMBEDDED_CFF"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FontType_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FontType_obj::DEVICE,"DEVICE"); - HX_VISIT_MEMBER_NAME(FontType_obj::EMBEDDED,"EMBEDDED"); - HX_VISIT_MEMBER_NAME(FontType_obj::EMBEDDED_CFF,"EMBEDDED_CFF"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class FontType_obj::__mClass; - -Dynamic __Create_FontType_obj() { return new FontType_obj; } - -void FontType_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.text.FontType"), hx::TCanCast< FontType_obj >,sStaticFields,sMemberFields, - &__Create_FontType_obj, &__Create, - &super::__SGetClass(), &CreateFontType_obj, sMarkStatics, sVisitStatic); -} - -void FontType_obj::__boot() -{ -Static(DEVICE) = hx::CreateEnum< FontType_obj >(HX_CSTRING("DEVICE"),0); -Static(EMBEDDED) = hx::CreateEnum< FontType_obj >(HX_CSTRING("EMBEDDED"),1); -Static(EMBEDDED_CFF) = hx::CreateEnum< FontType_obj >(HX_CSTRING("EMBEDDED_CFF"),2); -} - - -} // end namespace neash -} // end namespace text diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/utils/ByteArray.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/utils/ByteArray.cpp deleted file mode 100644 index e7a0761..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/utils/ByteArray.cpp +++ /dev/null @@ -1,1109 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_cpp_zip_Compress -#include -#endif -#ifndef INCLUDED_cpp_zip_Uncompress -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_errors_EOFError -#include -#endif -#ifndef INCLUDED_neash_errors_Error -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace utils{ - -Void ByteArray_obj::__construct(hx::Null< int > __o_inSize) -{ -HX_STACK_PUSH("ByteArray::new","neash/utils/ByteArray.hx",35); -int inSize = __o_inSize.Default(0); -{ - HX_STACK_LINE(36) - this->bigEndian = true; - HX_STACK_LINE(37) - this->position = (int)0; - HX_STACK_LINE(38) - if (((inSize >= (int)0))){ - HX_STACK_LINE(45) - Array< unsigned char > data = Array_obj< unsigned char >::__new(); HX_STACK_VAR(data,"data"); - HX_STACK_LINE(46) - if (((inSize > (int)0))){ - HX_STACK_LINE(47) - data[(inSize - (int)1)] = (int)0; - } - HX_STACK_LINE(48) - super::__construct(inSize,data); - } -} -; - return null(); -} - -ByteArray_obj::~ByteArray_obj() { } - -Dynamic ByteArray_obj::__CreateEmpty() { return new ByteArray_obj; } -hx::ObjectPtr< ByteArray_obj > ByteArray_obj::__new(hx::Null< int > __o_inSize) -{ hx::ObjectPtr< ByteArray_obj > result = new ByteArray_obj(); - result->__construct(__o_inSize); - return result;} - -Dynamic ByteArray_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ByteArray_obj > result = new ByteArray_obj(); - result->__construct(inArgs[0]); - return result;} - -hx::Object *ByteArray_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::neash::utils::IDataInput_obj)) return operator ::neash::utils::IDataInput_obj *(); - return super::__ToInterface(inType); -} - -void ByteArray_obj::__init__() { -HX_STACK_PUSH("ByteArray::__init__","neash/utils/ByteArray.hx",68); -{ - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_1) - ::neash::utils::ByteArray run(int inLen){ - HX_STACK_PUSH("*::_Function_1_1","neash/utils/ByteArray.hx",69); - HX_STACK_ARG(inLen,"inLen"); - { - HX_STACK_LINE(69) - return ::neash::utils::ByteArray_obj::__new(inLen); - } - return null(); - } - HX_END_LOCAL_FUNC1(return) - - HX_STACK_LINE(69) - Dynamic factory = Dynamic(new _Function_1_1()); HX_STACK_VAR(factory,"factory"); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_2) - Void run(::neash::utils::ByteArray inArray,int inLen){ - HX_STACK_PUSH("*::_Function_1_2","neash/utils/ByteArray.hx",70); - HX_STACK_ARG(inArray,"inArray"); - HX_STACK_ARG(inLen,"inLen"); - { - HX_STACK_LINE(71) - if (((inLen > (int)0))){ - HX_STACK_LINE(72) - inArray->__Field(HX_CSTRING("ensureElem"),true)((inLen - (int)1),true); - } - HX_STACK_LINE(73) - inArray->__FieldRef(HX_CSTRING("length")) = inLen; - } - return null(); - } - HX_END_LOCAL_FUNC2((void)) - - HX_STACK_LINE(70) - Dynamic resize = Dynamic(new _Function_1_2()); HX_STACK_VAR(resize,"resize"); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_3) - Array< unsigned char > run(::neash::utils::ByteArray inArray){ - HX_STACK_PUSH("*::_Function_1_3","neash/utils/ByteArray.hx",75); - HX_STACK_ARG(inArray,"inArray"); - { - HX_STACK_LINE(75) - return ( (((inArray == null()))) ? Array< unsigned char >(null()) : Array< unsigned char >(inArray->__Field(HX_CSTRING("b"),true)) ); - } - return null(); - } - HX_END_LOCAL_FUNC1(return) - - HX_STACK_LINE(75) - Dynamic bytes = Dynamic(new _Function_1_3()); HX_STACK_VAR(bytes,"bytes"); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_4) - int run(::neash::utils::ByteArray inArray){ - HX_STACK_PUSH("*::_Function_1_4","neash/utils/ByteArray.hx",76); - HX_STACK_ARG(inArray,"inArray"); - { - HX_STACK_LINE(76) - return ( (((inArray == null()))) ? int((int)0) : int(inArray->__Field(HX_CSTRING("length"),true)) ); - } - return null(); - } - HX_END_LOCAL_FUNC1(return) - - HX_STACK_LINE(76) - Dynamic slen = Dynamic(new _Function_1_4()); HX_STACK_VAR(slen,"slen"); - HX_STACK_LINE(78) - Dynamic init = ::neash::Loader_obj::load(HX_CSTRING("nme_byte_array_init"),(int)4); HX_STACK_VAR(init,"init"); - HX_STACK_LINE(79) - init(factory,slen,resize,bytes); -} -} - -::String ByteArray_obj::nmeSetEndian( ::String s){ - HX_STACK_PUSH("ByteArray::nmeSetEndian","neash/utils/ByteArray.hx",490); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(490) - this->bigEndian = (s == HX_CSTRING("bigEndian")); - HX_STACK_LINE(490) - return s; -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,nmeSetEndian,return ) - -::String ByteArray_obj::nmeGetEndian( ){ - HX_STACK_PUSH("ByteArray::nmeGetEndian","neash/utils/ByteArray.hx",489); - HX_STACK_THIS(this); - HX_STACK_LINE(489) - return ( ((this->bigEndian)) ? ::String(HX_CSTRING("bigEndian")) : ::String(HX_CSTRING("littleEndian")) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,nmeGetEndian,return ) - -int ByteArray_obj::nmeGetBytesAvailable( ){ - HX_STACK_PUSH("ByteArray::nmeGetBytesAvailable","neash/utils/ByteArray.hx",488); - HX_STACK_THIS(this); - HX_STACK_LINE(488) - return (this->length - this->position); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,nmeGetBytesAvailable,return ) - -Void ByteArray_obj::writeUTFBytes( ::String s){ -{ - HX_STACK_PUSH("ByteArray::writeUTFBytes","neash/utils/ByteArray.hx",473); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(477) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::ofString(s); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(479) - this->writeBytes(bytes,null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeUTFBytes,(void)) - -Void ByteArray_obj::writeUTF( ::String s){ -{ - HX_STACK_PUSH("ByteArray::writeUTF","neash/utils/ByteArray.hx",461); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(465) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::ofString(s); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(467) - this->writeShort(bytes->length); - HX_STACK_LINE(468) - this->writeBytes(bytes,null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeUTF,(void)) - -Void ByteArray_obj::writeUnsignedInt( int value){ -{ - HX_STACK_PUSH("ByteArray::writeUnsignedInt","neash/utils/ByteArray.hx",455); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(455) - this->writeInt(value); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeUnsignedInt,(void)) - -Void ByteArray_obj::writeShort( int value){ -{ - HX_STACK_PUSH("ByteArray::writeShort","neash/utils/ByteArray.hx",439); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(440) - this->ensureElem((this->length + (int)1),false); - HX_STACK_LINE(441) - if ((this->bigEndian)){ - HX_STACK_LINE(443) - this->b->__unsafe_set((this->length)++,(int(value) >> int((int)8))); - HX_STACK_LINE(444) - this->b->__unsafe_set((this->length)++,value); - } - else{ - HX_STACK_LINE(448) - this->b->__unsafe_set((this->length)++,value); - HX_STACK_LINE(449) - this->b->__unsafe_set((this->length)++,(int(value) >> int((int)8))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeShort,(void)) - -Void ByteArray_obj::writeInt( int value){ -{ - HX_STACK_PUSH("ByteArray::writeInt","neash/utils/ByteArray.hx",415); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(416) - this->ensureElem((this->length + (int)3),false); - HX_STACK_LINE(417) - if ((this->bigEndian)){ - HX_STACK_LINE(419) - this->b->__unsafe_set((this->length)++,(int(value) >> int((int)24))); - HX_STACK_LINE(420) - this->b->__unsafe_set((this->length)++,(int(value) >> int((int)16))); - HX_STACK_LINE(421) - this->b->__unsafe_set((this->length)++,(int(value) >> int((int)8))); - HX_STACK_LINE(422) - this->b->__unsafe_set((this->length)++,value); - } - else{ - HX_STACK_LINE(426) - this->b->__unsafe_set((this->length)++,value); - HX_STACK_LINE(427) - this->b->__unsafe_set((this->length)++,(int(value) >> int((int)8))); - HX_STACK_LINE(428) - this->b->__unsafe_set((this->length)++,(int(value) >> int((int)16))); - HX_STACK_LINE(429) - this->b->__unsafe_set((this->length)++,(int(value) >> int((int)24))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeInt,(void)) - -Void ByteArray_obj::writeFloat( Float x){ -{ - HX_STACK_PUSH("ByteArray::writeFloat","neash/utils/ByteArray.hx",404); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(408) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::ofData(::neash::utils::ByteArray_obj::_float_bytes(x,this->bigEndian)); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(410) - this->writeBytes(bytes,null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeFloat,(void)) - -Void ByteArray_obj::writeFile( ::String inString){ -{ - HX_STACK_PUSH("ByteArray::writeFile","neash/utils/ByteArray.hx",397); - HX_STACK_THIS(this); - HX_STACK_ARG(inString,"inString"); - HX_STACK_LINE(397) - ::neash::utils::ByteArray_obj::nme_byte_array_overwrite_file(inString,hx::ObjectPtr(this)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeFile,(void)) - -Void ByteArray_obj::writeDouble( Float x){ -{ - HX_STACK_PUSH("ByteArray::writeDouble","neash/utils/ByteArray.hx",385); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(389) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::ofData(::neash::utils::ByteArray_obj::_double_bytes(x,this->bigEndian)); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(391) - this->writeBytes(bytes,null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeDouble,(void)) - -Void ByteArray_obj::writeBytes( ::haxe::io::Bytes bytes,hx::Null< int > __o_inOffset,hx::Null< int > __o_inLength){ -int inOffset = __o_inOffset.Default(0); -int inLength = __o_inLength.Default(0); - HX_STACK_PUSH("ByteArray::writeBytes","neash/utils/ByteArray.hx",374); - HX_STACK_THIS(this); - HX_STACK_ARG(bytes,"bytes"); - HX_STACK_ARG(inOffset,"inOffset"); - HX_STACK_ARG(inLength,"inLength"); -{ - HX_STACK_LINE(375) - if (((inLength == (int)0))){ - HX_STACK_LINE(376) - inLength = bytes->length; - } - HX_STACK_LINE(377) - this->ensureElem(((this->length + inLength) - (int)1),false); - HX_STACK_LINE(378) - int olen = this->length; HX_STACK_VAR(olen,"olen"); - HX_STACK_LINE(379) - hx::AddEq(this->length,inLength); - HX_STACK_LINE(380) - this->blit(olen,bytes,inOffset,inLength); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(ByteArray_obj,writeBytes,(void)) - -Void ByteArray_obj::writeByte( int value){ -{ - HX_STACK_PUSH("ByteArray::writeByte","neash/utils/ByteArray.hx",368); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(368) - this->b[(this->length)++] = value; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeByte,(void)) - -Void ByteArray_obj::writeBoolean( bool value){ -{ - HX_STACK_PUSH("ByteArray::writeBoolean","neash/utils/ByteArray.hx",362); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(362) - this->b[(this->length)++] = ( ((value)) ? int((int)1) : int((int)0) ); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeBoolean,(void)) - -Void ByteArray_obj::uncompress( ::String __o_algorithm){ -::String algorithm = __o_algorithm.Default(HX_CSTRING("")); - HX_STACK_PUSH("ByteArray::uncompress","neash/utils/ByteArray.hx",344); - HX_STACK_THIS(this); - HX_STACK_ARG(algorithm,"algorithm"); -{ - HX_STACK_LINE(348) - ::neash::utils::ByteArray src = hx::ObjectPtr(this); HX_STACK_VAR(src,"src"); - HX_STACK_LINE(351) - ::haxe::io::Bytes result = ::cpp::zip::Uncompress_obj::run(src,null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(352) - this->b = result->b; - HX_STACK_LINE(353) - this->length = result->length; - HX_STACK_LINE(354) - this->position = (int)0; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,uncompress,(void)) - -int ByteArray_obj::ThrowEOFi( ){ - HX_STACK_PUSH("ByteArray::ThrowEOFi","neash/utils/ByteArray.hx",337); - HX_STACK_THIS(this); - HX_STACK_LINE(338) - hx::Throw (::neash::errors::EOFError_obj::__new()); - HX_STACK_LINE(339) - return (int)0; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,ThrowEOFi,return ) - -Void ByteArray_obj::setLength( int inLength){ -{ - HX_STACK_PUSH("ByteArray::setLength","neash/utils/ByteArray.hx",329); - HX_STACK_THIS(this); - HX_STACK_ARG(inLength,"inLength"); - HX_STACK_LINE(330) - if (((inLength > (int)0))){ - HX_STACK_LINE(331) - this->ensureElem((inLength - (int)1),false); - } - HX_STACK_LINE(332) - this->length = inLength; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,setLength,(void)) - -::String ByteArray_obj::readUTFBytes( int inLen){ - HX_STACK_PUSH("ByteArray::readUTFBytes","neash/utils/ByteArray.hx",312); - HX_STACK_THIS(this); - HX_STACK_ARG(inLen,"inLen"); - HX_STACK_LINE(313) - if ((((this->position + inLen) > this->length))){ - HX_STACK_LINE(314) - this->ThrowEOFi(); - } - HX_STACK_LINE(315) - int p = this->position; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(316) - hx::AddEq(this->position,inLen); - HX_STACK_LINE(321) - ::String result = HX_CSTRING(""); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(322) - ::__hxcpp_string_of_bytes(this->b,result,p,inLen); - HX_STACK_LINE(323) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,readUTFBytes,return ) - -::String ByteArray_obj::readUTF( ){ - HX_STACK_PUSH("ByteArray::readUTF","neash/utils/ByteArray.hx",305); - HX_STACK_THIS(this); - HX_STACK_LINE(306) - int len = this->readUnsignedShort(); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(307) - return this->readUTFBytes(len); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readUTF,return ) - -int ByteArray_obj::readUnsignedShort( ){ - HX_STACK_PUSH("ByteArray::readUnsignedShort","neash/utils/ByteArray.hx",297); - HX_STACK_THIS(this); - HX_STACK_LINE(298) - int ch1 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(299) - int ch2 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(300) - return ( ((this->bigEndian)) ? int((int((int(ch1) << int((int)8))) | int(ch2))) : int((((int(ch2) << int((int)8))) + ch1)) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readUnsignedShort,return ) - -int ByteArray_obj::readUnsignedInt( ){ - HX_STACK_PUSH("ByteArray::readUnsignedInt","neash/utils/ByteArray.hx",287); - HX_STACK_THIS(this); - HX_STACK_LINE(288) - int ch1 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(289) - int ch2 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(290) - int ch3 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(291) - int ch4 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch4,"ch4"); - HX_STACK_LINE(292) - return ( ((this->bigEndian)) ? int((int((int((int((int(ch1) << int((int)24))) | int((int(ch2) << int((int)16))))) | int((int(ch3) << int((int)8))))) | int(ch4))) : int((int((int((int((int(ch4) << int((int)24))) | int((int(ch3) << int((int)16))))) | int((int(ch2) << int((int)8))))) | int(ch1))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readUnsignedInt,return ) - -int ByteArray_obj::readUnsignedByte( ){ - HX_STACK_PUSH("ByteArray::readUnsignedByte","neash/utils/ByteArray.hx",281); - HX_STACK_THIS(this); - HX_STACK_LINE(281) - return ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readUnsignedByte,return ) - -int ByteArray_obj::readShort( ){ - HX_STACK_PUSH("ByteArray::readShort","neash/utils/ByteArray.hx",272); - HX_STACK_THIS(this); - HX_STACK_LINE(273) - int ch1 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(274) - int ch2 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(275) - int val = ( ((this->bigEndian)) ? int((int((int(ch1) << int((int)8))) | int(ch2))) : int((((int(ch2) << int((int)8))) + ch1)) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(276) - return ( (((val >= (int)32768))) ? int(((int)65534 - val)) : int(val) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readShort,return ) - -int ByteArray_obj::readInt( ){ - HX_STACK_PUSH("ByteArray::readInt","neash/utils/ByteArray.hx",262); - HX_STACK_THIS(this); - HX_STACK_LINE(263) - int ch1 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(264) - int ch2 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(265) - int ch3 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(266) - int ch4 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch4,"ch4"); - HX_STACK_LINE(267) - return ( ((this->bigEndian)) ? int((int((int((int((int(ch1) << int((int)24))) | int((int(ch2) << int((int)16))))) | int((int(ch3) << int((int)8))))) | int(ch4))) : int((int((int((int((int(ch4) << int((int)24))) | int((int(ch3) << int((int)16))))) | int((int(ch2) << int((int)8))))) | int(ch1))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readInt,return ) - -Float ByteArray_obj::readFloat( ){ - HX_STACK_PUSH("ByteArray::readFloat","neash/utils/ByteArray.hx",246); - HX_STACK_THIS(this); - HX_STACK_LINE(247) - if ((((this->position + (int)4) > this->length))){ - HX_STACK_LINE(248) - this->ThrowEOFi(); - } - HX_STACK_LINE(253) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::__new((int)4,this->b->slice(this->position,(this->position + (int)4))); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(256) - hx::AddEq(this->position,(int)4); - HX_STACK_LINE(257) - return ::neash::utils::ByteArray_obj::_float_of_bytes(bytes->b,this->bigEndian); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readFloat,return ) - -Float ByteArray_obj::readDouble( ){ - HX_STACK_PUSH("ByteArray::readDouble","neash/utils/ByteArray.hx",222); - HX_STACK_THIS(this); - HX_STACK_LINE(223) - if ((((this->position + (int)8) > this->length))){ - HX_STACK_LINE(224) - this->ThrowEOFi(); - } - HX_STACK_LINE(229) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::__new((int)8,this->b->slice(this->position,(this->position + (int)8))); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(232) - hx::AddEq(this->position,(int)8); - HX_STACK_LINE(233) - return ::neash::utils::ByteArray_obj::_double_of_bytes(bytes->b,this->bigEndian); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readDouble,return ) - -Void ByteArray_obj::readBytes( ::neash::utils::ByteArray outData,hx::Null< int > __o_inOffset,hx::Null< int > __o_inLen){ -int inOffset = __o_inOffset.Default(0); -int inLen = __o_inLen.Default(0); - HX_STACK_PUSH("ByteArray::readBytes","neash/utils/ByteArray.hx",200); - HX_STACK_THIS(this); - HX_STACK_ARG(outData,"outData"); - HX_STACK_ARG(inOffset,"inOffset"); - HX_STACK_ARG(inLen,"inLen"); -{ - HX_STACK_LINE(201) - if (((inLen == (int)0))){ - HX_STACK_LINE(202) - inLen = (this->length - this->position); - } - HX_STACK_LINE(203) - if ((((this->position + inLen) > this->length))){ - HX_STACK_LINE(204) - this->ThrowEOFi(); - } - HX_STACK_LINE(205) - if (((outData->length < (inOffset + inLen)))){ - HX_STACK_LINE(206) - outData->ensureElem(((inOffset + inLen) - (int)1),true); - } - HX_STACK_LINE(211) - Array< unsigned char > b1 = this->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(212) - Array< unsigned char > b2 = outData->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(213) - int p = this->position; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(214) - { - HX_STACK_LINE(214) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(214) - while(((_g < inLen))){ - HX_STACK_LINE(214) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(215) - b2[(inOffset + i)] = b1->__get((p + i)); - } - } - HX_STACK_LINE(217) - hx::AddEq(this->position,inLen); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(ByteArray_obj,readBytes,(void)) - -::String ByteArray_obj::readMultiByte( int inLen,::String charSet){ - HX_STACK_PUSH("ByteArray::readMultiByte","neash/utils/ByteArray.hx",192); - HX_STACK_THIS(this); - HX_STACK_ARG(inLen,"inLen"); - HX_STACK_ARG(charSet,"charSet"); - HX_STACK_LINE(192) - return this->readUTFBytes(inLen); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ByteArray_obj,readMultiByte,return ) - -int ByteArray_obj::readByte( ){ - HX_STACK_PUSH("ByteArray::readByte","neash/utils/ByteArray.hx",186); - HX_STACK_THIS(this); - HX_STACK_LINE(186) - return ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readByte,return ) - -bool ByteArray_obj::readBoolean( ){ - HX_STACK_PUSH("ByteArray::readBoolean","neash/utils/ByteArray.hx",180); - HX_STACK_THIS(this); - HX_STACK_LINE(180) - return ( ((((this->position + (int)1) < this->length))) ? bool((this->b->__get((this->position)++) != (int)0)) : bool((this->ThrowEOFi() != (int)0)) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readBoolean,return ) - -Void ByteArray_obj::push_uncheck( int inByte){ -{ - HX_STACK_PUSH("ByteArray::push_uncheck","neash/utils/ByteArray.hx",170); - HX_STACK_THIS(this); - HX_STACK_ARG(inByte,"inByte"); - HX_STACK_LINE(170) - this->b->__unsafe_set((this->length)++,inByte); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,push_uncheck,(void)) - -Void ByteArray_obj::push( int inByte){ -{ - HX_STACK_PUSH("ByteArray::push","neash/utils/ByteArray.hx",159); - HX_STACK_THIS(this); - HX_STACK_ARG(inByte,"inByte"); - HX_STACK_LINE(159) - this->b[(this->length)++] = inByte; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,push,(void)) - -Void ByteArray_obj::ensureElem( int inSize,bool inUpdateLenght){ -{ - HX_STACK_PUSH("ByteArray::ensureElem","neash/utils/ByteArray.hx",127); - HX_STACK_THIS(this); - HX_STACK_ARG(inSize,"inSize"); - HX_STACK_ARG(inUpdateLenght,"inUpdateLenght"); - HX_STACK_LINE(128) - int len = (inSize + (int)1); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(138) - if (((this->b->length < len))){ - HX_STACK_LINE(139) - this->b->__SetSize(len); - } - HX_STACK_LINE(141) - if (((bool(inUpdateLenght) && bool((this->length < len))))){ - HX_STACK_LINE(142) - this->length = len; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ByteArray_obj,ensureElem,(void)) - -Void ByteArray_obj::compress( ::String __o_algorithm){ -::String algorithm = __o_algorithm.Default(HX_CSTRING("")); - HX_STACK_PUSH("ByteArray::compress","neash/utils/ByteArray.hx",110); - HX_STACK_THIS(this); - HX_STACK_ARG(algorithm,"algorithm"); -{ - HX_STACK_LINE(114) - ::neash::utils::ByteArray src = hx::ObjectPtr(this); HX_STACK_VAR(src,"src"); - HX_STACK_LINE(116) - ::haxe::io::Bytes result = ::cpp::zip::Compress_obj::run(src,(int)8); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(117) - this->b = result->b; - HX_STACK_LINE(118) - this->length = result->length; - HX_STACK_LINE(119) - this->position = this->length; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,compress,(void)) - -Void ByteArray_obj::checkData( int inLength){ -{ - HX_STACK_PUSH("ByteArray::checkData","neash/utils/ByteArray.hx",103); - HX_STACK_THIS(this); - HX_STACK_ARG(inLength,"inLength"); - HX_STACK_LINE(103) - if ((((inLength + this->position) > this->length))){ - HX_STACK_LINE(105) - this->ThrowEOFi(); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,checkData,(void)) - -::String ByteArray_obj::asString( ){ - HX_STACK_PUSH("ByteArray::asString","neash/utils/ByteArray.hx",95); - HX_STACK_THIS(this); - HX_STACK_LINE(95) - return this->readUTFBytes(this->length); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,asString,return ) - -Void ByteArray_obj::__set( int pos,int v){ -{ - HX_STACK_PUSH("ByteArray::__set","neash/utils/ByteArray.hx",85); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(85) - this->b[pos] = v; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ByteArray_obj,__set,(void)) - -int ByteArray_obj::__get( int pos){ - HX_STACK_PUSH("ByteArray::__get","neash/utils/ByteArray.hx",55); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(55) - return this->b->__get(pos); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,__get,return ) - -::neash::utils::ByteArray ByteArray_obj::fromBytes( ::haxe::io::Bytes inBytes){ - HX_STACK_PUSH("ByteArray::fromBytes","neash/utils/ByteArray.hx",147); - HX_STACK_ARG(inBytes,"inBytes"); - HX_STACK_LINE(148) - ::neash::utils::ByteArray result = ::neash::utils::ByteArray_obj::__new((int)-1); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(149) - result->b = inBytes->b; - HX_STACK_LINE(150) - result->length = inBytes->length; - HX_STACK_LINE(154) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,fromBytes,return ) - -::neash::utils::ByteArray ByteArray_obj::readFile( ::String inString){ - HX_STACK_PUSH("ByteArray::readFile","neash/utils/ByteArray.hx",239); - HX_STACK_ARG(inString,"inString"); - HX_STACK_LINE(239) - return ::neash::utils::ByteArray_obj::nme_byte_array_read_file(inString); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,readFile,return ) - -Dynamic ByteArray_obj::_double_bytes; - -Dynamic ByteArray_obj::_double_of_bytes; - -Dynamic ByteArray_obj::_float_bytes; - -Dynamic ByteArray_obj::_float_of_bytes; - -Dynamic ByteArray_obj::nme_byte_array_overwrite_file; - -Dynamic ByteArray_obj::nme_byte_array_read_file; - - -ByteArray_obj::ByteArray_obj() -{ -} - -void ByteArray_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ByteArray); - HX_MARK_MEMBER_NAME(position,"position"); - HX_MARK_MEMBER_NAME(endian,"endian"); - HX_MARK_MEMBER_NAME(bytesAvailable,"bytesAvailable"); - HX_MARK_MEMBER_NAME(bigEndian,"bigEndian"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ByteArray_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(position,"position"); - HX_VISIT_MEMBER_NAME(endian,"endian"); - HX_VISIT_MEMBER_NAME(bytesAvailable,"bytesAvailable"); - HX_VISIT_MEMBER_NAME(bigEndian,"bigEndian"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ByteArray_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"push") ) { return push_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"__set") ) { return __set_dyn(); } - if (HX_FIELD_EQ(inName,"__get") ) { return __get_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"endian") ) { return inCallProp ? nmeGetEndian() : endian; } - break; - case 7: - if (HX_FIELD_EQ(inName,"readUTF") ) { return readUTF_dyn(); } - if (HX_FIELD_EQ(inName,"readInt") ) { return readInt_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"readFile") ) { return readFile_dyn(); } - if (HX_FIELD_EQ(inName,"writeUTF") ) { return writeUTF_dyn(); } - if (HX_FIELD_EQ(inName,"writeInt") ) { return writeInt_dyn(); } - if (HX_FIELD_EQ(inName,"readByte") ) { return readByte_dyn(); } - if (HX_FIELD_EQ(inName,"compress") ) { return compress_dyn(); } - if (HX_FIELD_EQ(inName,"asString") ) { return asString_dyn(); } - if (HX_FIELD_EQ(inName,"position") ) { return position; } - break; - case 9: - if (HX_FIELD_EQ(inName,"fromBytes") ) { return fromBytes_dyn(); } - if (HX_FIELD_EQ(inName,"writeFile") ) { return writeFile_dyn(); } - if (HX_FIELD_EQ(inName,"writeByte") ) { return writeByte_dyn(); } - if (HX_FIELD_EQ(inName,"ThrowEOFi") ) { return ThrowEOFi_dyn(); } - if (HX_FIELD_EQ(inName,"setLength") ) { return setLength_dyn(); } - if (HX_FIELD_EQ(inName,"readShort") ) { return readShort_dyn(); } - if (HX_FIELD_EQ(inName,"readFloat") ) { return readFloat_dyn(); } - if (HX_FIELD_EQ(inName,"readBytes") ) { return readBytes_dyn(); } - if (HX_FIELD_EQ(inName,"checkData") ) { return checkData_dyn(); } - if (HX_FIELD_EQ(inName,"bigEndian") ) { return bigEndian; } - break; - case 10: - if (HX_FIELD_EQ(inName,"writeShort") ) { return writeShort_dyn(); } - if (HX_FIELD_EQ(inName,"writeFloat") ) { return writeFloat_dyn(); } - if (HX_FIELD_EQ(inName,"writeBytes") ) { return writeBytes_dyn(); } - if (HX_FIELD_EQ(inName,"uncompress") ) { return uncompress_dyn(); } - if (HX_FIELD_EQ(inName,"readDouble") ) { return readDouble_dyn(); } - if (HX_FIELD_EQ(inName,"ensureElem") ) { return ensureElem_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"writeDouble") ) { return writeDouble_dyn(); } - if (HX_FIELD_EQ(inName,"readBoolean") ) { return readBoolean_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_float_bytes") ) { return _float_bytes; } - if (HX_FIELD_EQ(inName,"nmeSetEndian") ) { return nmeSetEndian_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetEndian") ) { return nmeGetEndian_dyn(); } - if (HX_FIELD_EQ(inName,"writeBoolean") ) { return writeBoolean_dyn(); } - if (HX_FIELD_EQ(inName,"readUTFBytes") ) { return readUTFBytes_dyn(); } - if (HX_FIELD_EQ(inName,"push_uncheck") ) { return push_uncheck_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"_double_bytes") ) { return _double_bytes; } - if (HX_FIELD_EQ(inName,"writeUTFBytes") ) { return writeUTFBytes_dyn(); } - if (HX_FIELD_EQ(inName,"readMultiByte") ) { return readMultiByte_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"bytesAvailable") ) { return inCallProp ? nmeGetBytesAvailable() : bytesAvailable; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_float_of_bytes") ) { return _float_of_bytes; } - if (HX_FIELD_EQ(inName,"readUnsignedInt") ) { return readUnsignedInt_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"_double_of_bytes") ) { return _double_of_bytes; } - if (HX_FIELD_EQ(inName,"writeUnsignedInt") ) { return writeUnsignedInt_dyn(); } - if (HX_FIELD_EQ(inName,"readUnsignedByte") ) { return readUnsignedByte_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"readUnsignedShort") ) { return readUnsignedShort_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeGetBytesAvailable") ) { return nmeGetBytesAvailable_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_byte_array_read_file") ) { return nme_byte_array_read_file; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_byte_array_overwrite_file") ) { return nme_byte_array_overwrite_file; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ByteArray_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"endian") ) { if (inCallProp) return nmeSetEndian(inValue);endian=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"position") ) { position=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"bigEndian") ) { bigEndian=inValue.Cast< bool >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_float_bytes") ) { _float_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"_double_bytes") ) { _double_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"bytesAvailable") ) { bytesAvailable=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_float_of_bytes") ) { _float_of_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"_double_of_bytes") ) { _double_of_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_byte_array_read_file") ) { nme_byte_array_read_file=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_byte_array_overwrite_file") ) { nme_byte_array_overwrite_file=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ByteArray_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("position")); - outFields->push(HX_CSTRING("endian")); - outFields->push(HX_CSTRING("bytesAvailable")); - outFields->push(HX_CSTRING("bigEndian")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("fromBytes"), - HX_CSTRING("readFile"), - HX_CSTRING("_double_bytes"), - HX_CSTRING("_double_of_bytes"), - HX_CSTRING("_float_bytes"), - HX_CSTRING("_float_of_bytes"), - HX_CSTRING("nme_byte_array_overwrite_file"), - HX_CSTRING("nme_byte_array_read_file"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetEndian"), - HX_CSTRING("nmeGetEndian"), - HX_CSTRING("nmeGetBytesAvailable"), - HX_CSTRING("writeUTFBytes"), - HX_CSTRING("writeUTF"), - HX_CSTRING("writeUnsignedInt"), - HX_CSTRING("writeShort"), - HX_CSTRING("writeInt"), - HX_CSTRING("writeFloat"), - HX_CSTRING("writeFile"), - HX_CSTRING("writeDouble"), - HX_CSTRING("writeBytes"), - HX_CSTRING("writeByte"), - HX_CSTRING("writeBoolean"), - HX_CSTRING("uncompress"), - HX_CSTRING("ThrowEOFi"), - HX_CSTRING("setLength"), - HX_CSTRING("readUTFBytes"), - HX_CSTRING("readUTF"), - HX_CSTRING("readUnsignedShort"), - HX_CSTRING("readUnsignedInt"), - HX_CSTRING("readUnsignedByte"), - HX_CSTRING("readShort"), - HX_CSTRING("readInt"), - HX_CSTRING("readFloat"), - HX_CSTRING("readDouble"), - HX_CSTRING("readBytes"), - HX_CSTRING("readMultiByte"), - HX_CSTRING("readByte"), - HX_CSTRING("readBoolean"), - HX_CSTRING("push_uncheck"), - HX_CSTRING("push"), - HX_CSTRING("ensureElem"), - HX_CSTRING("compress"), - HX_CSTRING("checkData"), - HX_CSTRING("asString"), - HX_CSTRING("__set"), - HX_CSTRING("__get"), - HX_CSTRING("position"), - HX_CSTRING("endian"), - HX_CSTRING("bytesAvailable"), - HX_CSTRING("bigEndian"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ByteArray_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ByteArray_obj::_double_bytes,"_double_bytes"); - HX_MARK_MEMBER_NAME(ByteArray_obj::_double_of_bytes,"_double_of_bytes"); - HX_MARK_MEMBER_NAME(ByteArray_obj::_float_bytes,"_float_bytes"); - HX_MARK_MEMBER_NAME(ByteArray_obj::_float_of_bytes,"_float_of_bytes"); - HX_MARK_MEMBER_NAME(ByteArray_obj::nme_byte_array_overwrite_file,"nme_byte_array_overwrite_file"); - HX_MARK_MEMBER_NAME(ByteArray_obj::nme_byte_array_read_file,"nme_byte_array_read_file"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ByteArray_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::_double_bytes,"_double_bytes"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::_double_of_bytes,"_double_of_bytes"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::_float_bytes,"_float_bytes"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::_float_of_bytes,"_float_of_bytes"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::nme_byte_array_overwrite_file,"nme_byte_array_overwrite_file"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::nme_byte_array_read_file,"nme_byte_array_read_file"); -}; - -Class ByteArray_obj::__mClass; - -void ByteArray_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.utils.ByteArray"), hx::TCanCast< ByteArray_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ByteArray_obj::__boot() -{ - _double_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("double_bytes"),(int)2); - _double_of_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("double_of_bytes"),(int)2); - _float_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("float_bytes"),(int)2); - _float_of_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("float_of_bytes"),(int)2); - nme_byte_array_overwrite_file= ::neash::Loader_obj::load(HX_CSTRING("nme_byte_array_overwrite_file"),(int)2); - nme_byte_array_read_file= ::neash::Loader_obj::load(HX_CSTRING("nme_byte_array_read_file"),(int)1); -} - -} // end namespace neash -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/utils/Endian.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/utils/Endian.cpp deleted file mode 100644 index 0c78090..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/utils/Endian.cpp +++ /dev/null @@ -1,111 +0,0 @@ -#include - -#ifndef INCLUDED_neash_utils_Endian -#include -#endif -namespace neash{ -namespace utils{ - -Void Endian_obj::__construct() -{ - return null(); -} - -Endian_obj::~Endian_obj() { } - -Dynamic Endian_obj::__CreateEmpty() { return new Endian_obj; } -hx::ObjectPtr< Endian_obj > Endian_obj::__new() -{ hx::ObjectPtr< Endian_obj > result = new Endian_obj(); - result->__construct(); - return result;} - -Dynamic Endian_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Endian_obj > result = new Endian_obj(); - result->__construct(); - return result;} - -::String Endian_obj::_BIG_ENDIAN; - -::String Endian_obj::_LITTLE_ENDIAN; - - -Endian_obj::Endian_obj() -{ -} - -void Endian_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Endian); - HX_MARK_END_CLASS(); -} - -void Endian_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Endian_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"BIG_ENDIAN") ) { return _BIG_ENDIAN; } - break; - case 13: - if (HX_FIELD_EQ(inName,"LITTLE_ENDIAN") ) { return _LITTLE_ENDIAN; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Endian_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"BIG_ENDIAN") ) { _BIG_ENDIAN=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"LITTLE_ENDIAN") ) { _LITTLE_ENDIAN=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Endian_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("BIG_ENDIAN"), - HX_CSTRING("LITTLE_ENDIAN"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Endian_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Endian_obj::_BIG_ENDIAN,"BIG_ENDIAN"); - HX_MARK_MEMBER_NAME(Endian_obj::_LITTLE_ENDIAN,"LITTLE_ENDIAN"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Endian_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Endian_obj::_BIG_ENDIAN,"BIG_ENDIAN"); - HX_VISIT_MEMBER_NAME(Endian_obj::_LITTLE_ENDIAN,"LITTLE_ENDIAN"); -}; - -Class Endian_obj::__mClass; - -void Endian_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.utils.Endian"), hx::TCanCast< Endian_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Endian_obj::__boot() -{ - _BIG_ENDIAN= HX_CSTRING("bigEndian"); - _LITTLE_ENDIAN= HX_CSTRING("littleEndian"); -} - -} // end namespace neash -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/utils/IDataInput.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/utils/IDataInput.cpp deleted file mode 100644 index 5b80197..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/utils/IDataInput.cpp +++ /dev/null @@ -1,68 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace utils{ - -HX_DEFINE_DYNAMIC_FUNC1(IDataInput_obj,nmeSetEndian,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,nmeGetEndian,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,nmeGetBytesAvailable,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IDataInput_obj,readUTFBytes,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readUTF,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readUnsignedShort,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readUnsignedInt,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readUnsignedByte,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readShort,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readInt,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readFloat,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readDouble,return ) - -HX_DEFINE_DYNAMIC_FUNC3(IDataInput_obj,readBytes,) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readByte,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readBoolean,return ) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IDataInput_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IDataInput_obj::__mClass,"__mClass"); -}; - -Class IDataInput_obj::__mClass; - -void IDataInput_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.utils.IDataInput"), hx::TCanCast< IDataInput_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IDataInput_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/utils/WeakRef.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/utils/WeakRef.cpp deleted file mode 100644 index 438be49..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/neash/utils/WeakRef.cpp +++ /dev/null @@ -1,201 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_utils_WeakRef -#include -#endif -namespace neash{ -namespace utils{ - -Void WeakRef_obj::__construct(Dynamic inObject,hx::Null< bool > __o_inMakeWeak) -{ -HX_STACK_PUSH("WeakRef::new","neash/utils/WeakRef.hx",16); -bool inMakeWeak = __o_inMakeWeak.Default(true); -{ - HX_STACK_LINE(16) - if ((inMakeWeak)){ - HX_STACK_LINE(19) - this->weakRef = ::neash::utils::WeakRef_obj::nme_weak_ref_create(hx::ObjectPtr(this),inObject); - HX_STACK_LINE(20) - this->hardRef = null(); - } - else{ - HX_STACK_LINE(24) - this->weakRef = (int)-1; - HX_STACK_LINE(25) - this->hardRef = inObject; - } -} -; - return null(); -} - -WeakRef_obj::~WeakRef_obj() { } - -Dynamic WeakRef_obj::__CreateEmpty() { return new WeakRef_obj; } -hx::ObjectPtr< WeakRef_obj > WeakRef_obj::__new(Dynamic inObject,hx::Null< bool > __o_inMakeWeak) -{ hx::ObjectPtr< WeakRef_obj > result = new WeakRef_obj(); - result->__construct(inObject,__o_inMakeWeak); - return result;} - -Dynamic WeakRef_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< WeakRef_obj > result = new WeakRef_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::String WeakRef_obj::toString( ){ - HX_STACK_PUSH("WeakRef::toString","neash/utils/WeakRef.hx",46); - HX_STACK_THIS(this); - HX_STACK_LINE(47) - if (((this->hardRef == null()))){ - HX_STACK_LINE(48) - return (HX_CSTRING("") + ::Std_obj::string(this->hardRef)); - } - HX_STACK_LINE(50) - return ((HX_CSTRING("WeakRef(") + this->weakRef) + HX_CSTRING(")")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(WeakRef_obj,toString,return ) - -Dynamic WeakRef_obj::get( ){ - HX_STACK_PUSH("WeakRef::get","neash/utils/WeakRef.hx",31); - HX_STACK_THIS(this); - HX_STACK_LINE(32) - if (((this->hardRef != null()))){ - HX_STACK_LINE(33) - return this->hardRef; - } - HX_STACK_LINE(35) - if (((this->weakRef < (int)0))){ - HX_STACK_LINE(36) - return null(); - } - HX_STACK_LINE(38) - Dynamic result = ::neash::utils::WeakRef_obj::nme_weak_ref_get(this->weakRef); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(39) - if (((result == null()))){ - HX_STACK_LINE(40) - this->weakRef = (int)-1; - } - HX_STACK_LINE(41) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC0(WeakRef_obj,get,return ) - -Dynamic WeakRef_obj::nme_weak_ref_create; - -Dynamic WeakRef_obj::nme_weak_ref_get; - - -WeakRef_obj::WeakRef_obj() -{ -} - -void WeakRef_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(WeakRef); - HX_MARK_MEMBER_NAME(weakRef,"weakRef"); - HX_MARK_MEMBER_NAME(hardRef,"hardRef"); - HX_MARK_END_CLASS(); -} - -void WeakRef_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(weakRef,"weakRef"); - HX_VISIT_MEMBER_NAME(hardRef,"hardRef"); -} - -Dynamic WeakRef_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"get") ) { return get_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"weakRef") ) { return weakRef; } - if (HX_FIELD_EQ(inName,"hardRef") ) { return hardRef; } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_weak_ref_get") ) { return nme_weak_ref_get; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_weak_ref_create") ) { return nme_weak_ref_create; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic WeakRef_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"weakRef") ) { weakRef=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"hardRef") ) { hardRef=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_weak_ref_get") ) { nme_weak_ref_get=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_weak_ref_create") ) { nme_weak_ref_create=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void WeakRef_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("weakRef")); - outFields->push(HX_CSTRING("hardRef")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_weak_ref_create"), - HX_CSTRING("nme_weak_ref_get"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("get"), - HX_CSTRING("weakRef"), - HX_CSTRING("hardRef"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(WeakRef_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(WeakRef_obj::nme_weak_ref_create,"nme_weak_ref_create"); - HX_MARK_MEMBER_NAME(WeakRef_obj::nme_weak_ref_get,"nme_weak_ref_get"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(WeakRef_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(WeakRef_obj::nme_weak_ref_create,"nme_weak_ref_create"); - HX_VISIT_MEMBER_NAME(WeakRef_obj::nme_weak_ref_get,"nme_weak_ref_get"); -}; - -Class WeakRef_obj::__mClass; - -void WeakRef_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.utils.WeakRef"), hx::TCanCast< WeakRef_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void WeakRef_obj::__boot() -{ - nme_weak_ref_create= ::neash::Loader_obj::load(HX_CSTRING("nme_weak_ref_create"),(int)2); - nme_weak_ref_get= ::neash::Loader_obj::load(HX_CSTRING("nme_weak_ref_get"),(int)1); -} - -} // end namespace neash -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/nme/Lib.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/nme/Lib.cpp deleted file mode 100644 index 6432084..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/nme/Lib.cpp +++ /dev/null @@ -1,567 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_Lib -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_ManagedStage -#include -#endif -#ifndef INCLUDED_neash_display_MovieClip -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_net_URLRequest -#include -#endif -#ifndef INCLUDED_nme_Lib -#include -#endif -namespace nme{ - -Void Lib_obj::__construct() -{ - return null(); -} - -Lib_obj::~Lib_obj() { } - -Dynamic Lib_obj::__CreateEmpty() { return new Lib_obj; } -hx::ObjectPtr< Lib_obj > Lib_obj::__new() -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -Dynamic Lib_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -int Lib_obj::FULLSCREEN; - -int Lib_obj::BORDERLESS; - -int Lib_obj::RESIZABLE; - -int Lib_obj::HARDWARE; - -int Lib_obj::VSYNC; - -int Lib_obj::HW_AA; - -int Lib_obj::HW_AA_HIRES; - -::String Lib_obj::company; - -::neash::display::MovieClip Lib_obj::current; - -::String Lib_obj::file; - -int Lib_obj::initHeight; - -int Lib_obj::initWidth; - -::String Lib_obj::packageName; - -::neash::display::Stage Lib_obj::stage; - -::String Lib_obj::version; - -Void Lib_obj::close( ){ -{ - HX_STACK_PUSH("Lib::close","nme/Lib.hx",36); - HX_STACK_LINE(36) - ::neash::Lib_obj::close(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,close,(void)) - -Void Lib_obj::create( Dynamic onLoaded,int width,int height,hx::Null< Float > __o_frameRate,hx::Null< int > __o_color,hx::Null< int > __o_flags,::String __o_title,::neash::display::BitmapData icon){ -Float frameRate = __o_frameRate.Default(60.0); -int color = __o_color.Default(16777215); -int flags = __o_flags.Default(15); -::String title = __o_title.Default(HX_CSTRING("NME")); - HX_STACK_PUSH("Lib::create","nme/Lib.hx",59); - HX_STACK_ARG(onLoaded,"onLoaded"); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); - HX_STACK_ARG(frameRate,"frameRate"); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(flags,"flags"); - HX_STACK_ARG(title,"title"); - HX_STACK_ARG(icon,"icon"); -{ - HX_STACK_LINE(59) - ::neash::Lib_obj::create(onLoaded,width,height,frameRate,color,flags,title,icon); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC8(Lib_obj,create,(void)) - -::neash::display::ManagedStage Lib_obj::createManagedStage( int width,int height){ - HX_STACK_PUSH("Lib::createManagedStage","nme/Lib.hx",75); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); - HX_STACK_LINE(78) - return ::neash::Lib_obj::createManagedStage(width,height); - HX_STACK_LINE(80) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Lib_obj,createManagedStage,return ) - -Void Lib_obj::exit( ){ -{ - HX_STACK_PUSH("Lib::exit","nme/Lib.hx",91); - HX_STACK_LINE(91) - ::neash::Lib_obj::exit(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,exit,(void)) - -Void Lib_obj::forceClose( ){ -{ - HX_STACK_PUSH("Lib::forceClose","nme/Lib.hx",105); - HX_STACK_LINE(105) - ::neash::Lib_obj::forceClose(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,forceClose,(void)) - -int Lib_obj::getTimer( ){ - HX_STACK_PUSH("Lib::getTimer","nme/Lib.hx",123); - HX_STACK_LINE(123) - return ::neash::Lib_obj::getTimer(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,getTimer,return ) - -Void Lib_obj::getURL( ::neash::net::URLRequest url,::String target){ -{ - HX_STACK_PUSH("Lib::getURL","nme/Lib.hx",142); - HX_STACK_ARG(url,"url"); - HX_STACK_ARG(target,"target"); - HX_STACK_LINE(142) - ::neash::Lib_obj::getURL(url,target); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Lib_obj,getURL,(void)) - -Void Lib_obj::pause( ){ -{ - HX_STACK_PUSH("Lib::pause","nme/Lib.hx",161); - HX_STACK_LINE(161) - ::neash::Lib_obj::pause(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,pause,(void)) - -Void Lib_obj::postUICallback( Dynamic handler){ -{ - HX_STACK_PUSH("Lib::postUICallback","nme/Lib.hx",179); - HX_STACK_ARG(handler,"handler"); - HX_STACK_LINE(179) - ::neash::Lib_obj::postUICallback(handler); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,postUICallback,(void)) - -Void Lib_obj::resume( ){ -{ - HX_STACK_PUSH("Lib::resume","nme/Lib.hx",196); - HX_STACK_LINE(196) - ::neash::Lib_obj::resume(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,resume,(void)) - -Void Lib_obj::setPackage( ::String company,::String file,::String packageName,::String version){ -{ - HX_STACK_PUSH("Lib::setPackage","nme/Lib.hx",215); - HX_STACK_ARG(company,"company"); - HX_STACK_ARG(file,"file"); - HX_STACK_ARG(packageName,"packageName"); - HX_STACK_ARG(version,"version"); - HX_STACK_LINE(215) - ::neash::Lib_obj::setPackage(company,file,packageName,version); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(Lib_obj,setPackage,(void)) - -Void Lib_obj::trace( Dynamic arg){ -{ - HX_STACK_PUSH("Lib::trace","nme/Lib.hx",228); - HX_STACK_ARG(arg,"arg"); - HX_STACK_LINE(228) - ::haxe::Log_obj::trace(arg,hx::SourceInfo(HX_CSTRING("Lib.hx"),231,HX_CSTRING("nme.Lib"),HX_CSTRING("trace"))); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,trace,(void)) - -::String Lib_obj::nmeGetCompany( ){ - HX_STACK_PUSH("Lib::nmeGetCompany","nme/Lib.hx",247); - HX_STACK_LINE(250) - return ::neash::Lib_obj::company; - HX_STACK_LINE(252) - return HX_CSTRING(""); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetCompany,return ) - -::neash::display::MovieClip Lib_obj::nmeGetCurrent( ){ - HX_STACK_PUSH("Lib::nmeGetCurrent","nme/Lib.hx",257); - HX_STACK_LINE(257) - return ::neash::Lib_obj::nmeGetCurrent(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetCurrent,return ) - -::String Lib_obj::nmeGetFile( ){ - HX_STACK_PUSH("Lib::nmeGetFile","nme/Lib.hx",271); - HX_STACK_LINE(274) - return ::neash::Lib_obj::file; - HX_STACK_LINE(276) - return HX_CSTRING(""); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetFile,return ) - -int Lib_obj::nmeGetInitHeight( ){ - HX_STACK_PUSH("Lib::nmeGetInitHeight","nme/Lib.hx",281); - HX_STACK_LINE(284) - return ::neash::Lib_obj::initHeight; - HX_STACK_LINE(286) - return (int)0; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetInitHeight,return ) - -int Lib_obj::nmeGetInitWidth( ){ - HX_STACK_PUSH("Lib::nmeGetInitWidth","nme/Lib.hx",291); - HX_STACK_LINE(294) - return ::neash::Lib_obj::initWidth; - HX_STACK_LINE(296) - return (int)0; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetInitWidth,return ) - -::String Lib_obj::nmeGetPackageName( ){ - HX_STACK_PUSH("Lib::nmeGetPackageName","nme/Lib.hx",301); - HX_STACK_LINE(304) - return ::neash::Lib_obj::packageName; - HX_STACK_LINE(306) - return HX_CSTRING(""); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetPackageName,return ) - -::neash::display::Stage Lib_obj::nmeGetStage( ){ - HX_STACK_PUSH("Lib::nmeGetStage","nme/Lib.hx",311); - HX_STACK_LINE(311) - return ::neash::Lib_obj::nmeGetStage(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetStage,return ) - -::String Lib_obj::nmeGetVersion( ){ - HX_STACK_PUSH("Lib::nmeGetVersion","nme/Lib.hx",323); - HX_STACK_LINE(326) - return ::neash::Lib_obj::version; - HX_STACK_LINE(328) - return HX_CSTRING(""); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetVersion,return ) - - -Lib_obj::Lib_obj() -{ -} - -void Lib_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Lib); - HX_MARK_END_CLASS(); -} - -void Lib_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Lib_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"file") ) { return inCallProp ? nmeGetFile() : file; } - if (HX_FIELD_EQ(inName,"exit") ) { return exit_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"VSYNC") ) { return VSYNC; } - if (HX_FIELD_EQ(inName,"HW_AA") ) { return HW_AA; } - if (HX_FIELD_EQ(inName,"stage") ) { return inCallProp ? nmeGetStage() : stage; } - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"pause") ) { return pause_dyn(); } - if (HX_FIELD_EQ(inName,"trace") ) { return trace_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"create") ) { return create_dyn(); } - if (HX_FIELD_EQ(inName,"getURL") ) { return getURL_dyn(); } - if (HX_FIELD_EQ(inName,"resume") ) { return resume_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"company") ) { return inCallProp ? nmeGetCompany() : company; } - if (HX_FIELD_EQ(inName,"current") ) { return inCallProp ? nmeGetCurrent() : current; } - if (HX_FIELD_EQ(inName,"version") ) { return inCallProp ? nmeGetVersion() : version; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { return HARDWARE; } - if (HX_FIELD_EQ(inName,"getTimer") ) { return getTimer_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"RESIZABLE") ) { return RESIZABLE; } - if (HX_FIELD_EQ(inName,"initWidth") ) { return inCallProp ? nmeGetInitWidth() : initWidth; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FULLSCREEN") ) { return FULLSCREEN; } - if (HX_FIELD_EQ(inName,"BORDERLESS") ) { return BORDERLESS; } - if (HX_FIELD_EQ(inName,"initHeight") ) { return inCallProp ? nmeGetInitHeight() : initHeight; } - if (HX_FIELD_EQ(inName,"forceClose") ) { return forceClose_dyn(); } - if (HX_FIELD_EQ(inName,"setPackage") ) { return setPackage_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetFile") ) { return nmeGetFile_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"HW_AA_HIRES") ) { return HW_AA_HIRES; } - if (HX_FIELD_EQ(inName,"packageName") ) { return inCallProp ? nmeGetPackageName() : packageName; } - if (HX_FIELD_EQ(inName,"nmeGetStage") ) { return nmeGetStage_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"nmeGetCompany") ) { return nmeGetCompany_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetCurrent") ) { return nmeGetCurrent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetVersion") ) { return nmeGetVersion_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"postUICallback") ) { return postUICallback_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeGetInitWidth") ) { return nmeGetInitWidth_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeGetInitHeight") ) { return nmeGetInitHeight_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeGetPackageName") ) { return nmeGetPackageName_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"createManagedStage") ) { return createManagedStage_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Lib_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"file") ) { file=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"VSYNC") ) { VSYNC=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"HW_AA") ) { HW_AA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"stage") ) { stage=inValue.Cast< ::neash::display::Stage >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"company") ) { company=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"current") ) { current=inValue.Cast< ::neash::display::MovieClip >(); return inValue; } - if (HX_FIELD_EQ(inName,"version") ) { version=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { HARDWARE=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"RESIZABLE") ) { RESIZABLE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"initWidth") ) { initWidth=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FULLSCREEN") ) { FULLSCREEN=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BORDERLESS") ) { BORDERLESS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"initHeight") ) { initHeight=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"HW_AA_HIRES") ) { HW_AA_HIRES=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"packageName") ) { packageName=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Lib_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("FULLSCREEN"), - HX_CSTRING("BORDERLESS"), - HX_CSTRING("RESIZABLE"), - HX_CSTRING("HARDWARE"), - HX_CSTRING("VSYNC"), - HX_CSTRING("HW_AA"), - HX_CSTRING("HW_AA_HIRES"), - HX_CSTRING("company"), - HX_CSTRING("current"), - HX_CSTRING("file"), - HX_CSTRING("initHeight"), - HX_CSTRING("initWidth"), - HX_CSTRING("packageName"), - HX_CSTRING("stage"), - HX_CSTRING("version"), - HX_CSTRING("close"), - HX_CSTRING("create"), - HX_CSTRING("createManagedStage"), - HX_CSTRING("exit"), - HX_CSTRING("forceClose"), - HX_CSTRING("getTimer"), - HX_CSTRING("getURL"), - HX_CSTRING("pause"), - HX_CSTRING("postUICallback"), - HX_CSTRING("resume"), - HX_CSTRING("setPackage"), - HX_CSTRING("trace"), - HX_CSTRING("nmeGetCompany"), - HX_CSTRING("nmeGetCurrent"), - HX_CSTRING("nmeGetFile"), - HX_CSTRING("nmeGetInitHeight"), - HX_CSTRING("nmeGetInitWidth"), - HX_CSTRING("nmeGetPackageName"), - HX_CSTRING("nmeGetStage"), - HX_CSTRING("nmeGetVersion"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Lib_obj::FULLSCREEN,"FULLSCREEN"); - HX_MARK_MEMBER_NAME(Lib_obj::BORDERLESS,"BORDERLESS"); - HX_MARK_MEMBER_NAME(Lib_obj::RESIZABLE,"RESIZABLE"); - HX_MARK_MEMBER_NAME(Lib_obj::HARDWARE,"HARDWARE"); - HX_MARK_MEMBER_NAME(Lib_obj::VSYNC,"VSYNC"); - HX_MARK_MEMBER_NAME(Lib_obj::HW_AA,"HW_AA"); - HX_MARK_MEMBER_NAME(Lib_obj::HW_AA_HIRES,"HW_AA_HIRES"); - HX_MARK_MEMBER_NAME(Lib_obj::company,"company"); - HX_MARK_MEMBER_NAME(Lib_obj::current,"current"); - HX_MARK_MEMBER_NAME(Lib_obj::file,"file"); - HX_MARK_MEMBER_NAME(Lib_obj::initHeight,"initHeight"); - HX_MARK_MEMBER_NAME(Lib_obj::initWidth,"initWidth"); - HX_MARK_MEMBER_NAME(Lib_obj::packageName,"packageName"); - HX_MARK_MEMBER_NAME(Lib_obj::stage,"stage"); - HX_MARK_MEMBER_NAME(Lib_obj::version,"version"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Lib_obj::FULLSCREEN,"FULLSCREEN"); - HX_VISIT_MEMBER_NAME(Lib_obj::BORDERLESS,"BORDERLESS"); - HX_VISIT_MEMBER_NAME(Lib_obj::RESIZABLE,"RESIZABLE"); - HX_VISIT_MEMBER_NAME(Lib_obj::HARDWARE,"HARDWARE"); - HX_VISIT_MEMBER_NAME(Lib_obj::VSYNC,"VSYNC"); - HX_VISIT_MEMBER_NAME(Lib_obj::HW_AA,"HW_AA"); - HX_VISIT_MEMBER_NAME(Lib_obj::HW_AA_HIRES,"HW_AA_HIRES"); - HX_VISIT_MEMBER_NAME(Lib_obj::company,"company"); - HX_VISIT_MEMBER_NAME(Lib_obj::current,"current"); - HX_VISIT_MEMBER_NAME(Lib_obj::file,"file"); - HX_VISIT_MEMBER_NAME(Lib_obj::initHeight,"initHeight"); - HX_VISIT_MEMBER_NAME(Lib_obj::initWidth,"initWidth"); - HX_VISIT_MEMBER_NAME(Lib_obj::packageName,"packageName"); - HX_VISIT_MEMBER_NAME(Lib_obj::stage,"stage"); - HX_VISIT_MEMBER_NAME(Lib_obj::version,"version"); -}; - -Class Lib_obj::__mClass; - -void Lib_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("nme.Lib"), hx::TCanCast< Lib_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Lib_obj::__boot() -{ - FULLSCREEN= (int)1; - BORDERLESS= (int)2; - RESIZABLE= (int)4; - HARDWARE= (int)8; - VSYNC= (int)16; - HW_AA= (int)32; - HW_AA_HIRES= (int)96; -} - -} // end namespace nme diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/nme/installer/Assets.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/nme/installer/Assets.cpp deleted file mode 100644 index cef02d9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/nme/installer/Assets.cpp +++ /dev/null @@ -1,468 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_media_Sound -#include -#endif -#ifndef INCLUDED_neash_media_SoundLoaderContext -#include -#endif -#ifndef INCLUDED_neash_net_URLRequest -#include -#endif -#ifndef INCLUDED_neash_text_Font -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -#ifndef INCLUDED_nme_installer_Assets -#include -#endif -namespace nme{ -namespace installer{ - -Void Assets_obj::__construct() -{ - return null(); -} - -Assets_obj::~Assets_obj() { } - -Dynamic Assets_obj::__CreateEmpty() { return new Assets_obj; } -hx::ObjectPtr< Assets_obj > Assets_obj::__new() -{ hx::ObjectPtr< Assets_obj > result = new Assets_obj(); - result->__construct(); - return result;} - -Dynamic Assets_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Assets_obj > result = new Assets_obj(); - result->__construct(); - return result;} - -::Hash Assets_obj::cachedBitmapData; - -bool Assets_obj::initialized; - -::Hash Assets_obj::resourceNames; - -::Hash Assets_obj::resourceTypes; - -Void Assets_obj::initialize( ){ -{ - HX_STACK_PUSH("Assets::initialize","nme/installer/Assets.hx",26); - HX_STACK_LINE(26) - if ((!(::nme::installer::Assets_obj::initialized))){ - HX_STACK_LINE(30) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/config.xml"),HX_CSTRING("assets_config_xml")); - HX_STACK_LINE(31) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/config.xml"),HX_CSTRING("text")); - HX_STACK_LINE(32) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/bHome.png"),HX_CSTRING("assets_nav_bhome_png")); - HX_STACK_LINE(33) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/bHome.png"),HX_CSTRING("image")); - HX_STACK_LINE(34) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/bLeft.png"),HX_CSTRING("assets_nav_bleft_png")); - HX_STACK_LINE(35) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/bLeft.png"),HX_CSTRING("image")); - HX_STACK_LINE(36) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/bOptions.png"),HX_CSTRING("assets_nav_boptions_png")); - HX_STACK_LINE(37) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/bOptions.png"),HX_CSTRING("image")); - HX_STACK_LINE(38) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/bRight.png"),HX_CSTRING("assets_nav_bright_png")); - HX_STACK_LINE(39) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/bRight.png"),HX_CSTRING("image")); - HX_STACK_LINE(40) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/close.png"),HX_CSTRING("assets_nav_close_png")); - HX_STACK_LINE(41) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/close.png"),HX_CSTRING("image")); - HX_STACK_LINE(42) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/panLeft.png"),HX_CSTRING("assets_nav_panleft_png")); - HX_STACK_LINE(43) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/panLeft.png"),HX_CSTRING("image")); - HX_STACK_LINE(44) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/panRight.png"),HX_CSTRING("assets_nav_panright_png")); - HX_STACK_LINE(45) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/panRight.png"),HX_CSTRING("image")); - HX_STACK_LINE(46) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nme.svg"),HX_CSTRING("assets_nme_svg")); - HX_STACK_LINE(47) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nme.svg"),HX_CSTRING("text")); - HX_STACK_LINE(48) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/options/options.jpg"),HX_CSTRING("assets_options_options_jpg")); - HX_STACK_LINE(49) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/options/options.jpg"),HX_CSTRING("image")); - HX_STACK_LINE(50) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0000_bg.jpg"),HX_CSTRING("assets_p1_pageobject_0000_bg_jpg")); - HX_STACK_LINE(51) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0000_bg.jpg"),HX_CSTRING("image")); - HX_STACK_LINE(52) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0001_skin.png"),HX_CSTRING("assets_p1_pageobject_0001_skin_png")); - HX_STACK_LINE(53) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0001_skin.png"),HX_CSTRING("image")); - HX_STACK_LINE(54) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0002_hose.png"),HX_CSTRING("assets_p1_pageobject_0002_hose_png")); - HX_STACK_LINE(55) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0002_hose.png"),HX_CSTRING("image")); - HX_STACK_LINE(56) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0003_pants.png"),HX_CSTRING("assets_p1_pageobject_0003_pants_png")); - HX_STACK_LINE(57) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0003_pants.png"),HX_CSTRING("image")); - HX_STACK_LINE(58) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0004_flameshoe.png"),HX_CSTRING("assets_p1_pageobject_0004_flameshoe_png")); - HX_STACK_LINE(59) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0004_flameshoe.png"),HX_CSTRING("image")); - HX_STACK_LINE(60) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0005_shoe.png"),HX_CSTRING("assets_p1_pageobject_0005_shoe_png")); - HX_STACK_LINE(61) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0005_shoe.png"),HX_CSTRING("image")); - HX_STACK_LINE(62) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0006_shirt.png"),HX_CSTRING("assets_p1_pageobject_0006_shirt_png")); - HX_STACK_LINE(63) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0006_shirt.png"),HX_CSTRING("image")); - HX_STACK_LINE(64) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0007_truck.png"),HX_CSTRING("assets_p1_pageobject_0007_truck_png")); - HX_STACK_LINE(65) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0007_truck.png"),HX_CSTRING("image")); - HX_STACK_LINE(66) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0008_firemen.png"),HX_CSTRING("assets_p1_pageobject_0008_firemen_png")); - HX_STACK_LINE(67) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0008_firemen.png"),HX_CSTRING("image")); - HX_STACK_LINE(68) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0009_can.png"),HX_CSTRING("assets_p1_pageobject_0009_can_png")); - HX_STACK_LINE(69) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0009_can.png"),HX_CSTRING("image")); - HX_STACK_LINE(70) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0010_bw.png"),HX_CSTRING("assets_p1_pageobject_0010_bw_png")); - HX_STACK_LINE(71) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0010_bw.png"),HX_CSTRING("image")); - HX_STACK_LINE(72) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0011_text.png"),HX_CSTRING("assets_p1_pageobject_0011_text_png")); - HX_STACK_LINE(73) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0011_text.png"),HX_CSTRING("image")); - HX_STACK_LINE(74) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p2/actor1_bw.png"),HX_CSTRING("assets_p2_actor1_bw_png")); - HX_STACK_LINE(75) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p2/actor1_bw.png"),HX_CSTRING("image")); - HX_STACK_LINE(76) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p2/actor1_clr.png"),HX_CSTRING("assets_p2_actor1_clr_png")); - HX_STACK_LINE(77) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p2/actor1_clr.png"),HX_CSTRING("image")); - HX_STACK_LINE(78) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p2/p2a.jpg"),HX_CSTRING("assets_p2_p2a_jpg")); - HX_STACK_LINE(79) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p2/p2a.jpg"),HX_CSTRING("image")); - HX_STACK_LINE(80) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p2/p2b.jpg"),HX_CSTRING("assets_p2_p2b_jpg")); - HX_STACK_LINE(81) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p2/p2b.jpg"),HX_CSTRING("image")); - HX_STACK_LINE(82) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/title/star.svg"),HX_CSTRING("assets_title_star_svg")); - HX_STACK_LINE(83) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/title/star.svg"),HX_CSTRING("text")); - HX_STACK_LINE(84) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/title/title.jpg"),HX_CSTRING("assets_title_title_jpg")); - HX_STACK_LINE(85) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/title/title.jpg"),HX_CSTRING("image")); - HX_STACK_LINE(87) - ::nme::installer::Assets_obj::initialized = true; - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Assets_obj,initialize,(void)) - -::neash::display::BitmapData Assets_obj::getBitmapData( ::String id,hx::Null< bool > __o_useCache){ -bool useCache = __o_useCache.Default(true); - HX_STACK_PUSH("Assets::getBitmapData","nme/installer/Assets.hx",94); - HX_STACK_ARG(id,"id"); - HX_STACK_ARG(useCache,"useCache"); -{ - HX_STACK_LINE(96) - ::nme::installer::Assets_obj::initialize(); - HX_STACK_LINE(98) - if (((bool(::nme::installer::Assets_obj::resourceTypes->exists(id)) && bool((::nme::installer::Assets_obj::resourceTypes->get(id) == HX_CSTRING("image")))))){ - HX_STACK_LINE(98) - if (((bool(useCache) && bool(::nme::installer::Assets_obj::cachedBitmapData->exists(id))))){ - HX_STACK_LINE(100) - return ::nme::installer::Assets_obj::cachedBitmapData->get(id); - } - else{ - HX_STACK_LINE(106) - ::neash::display::BitmapData data = ::neash::display::BitmapData_obj::load(::nme::installer::Assets_obj::resourceNames->get(id),null()); HX_STACK_VAR(data,"data"); - HX_STACK_LINE(108) - if ((useCache)){ - HX_STACK_LINE(108) - ::nme::installer::Assets_obj::cachedBitmapData->set(id,data); - } - HX_STACK_LINE(114) - return data; - } - } - else{ - HX_STACK_LINE(120) - ::haxe::Log_obj::trace(((HX_CSTRING("[nme.Assets] There is no BitmapData asset with an ID of \"") + id) + HX_CSTRING("\"")),hx::SourceInfo(HX_CSTRING("Assets.hx"),120,HX_CSTRING("nme.installer.Assets"),HX_CSTRING("getBitmapData"))); - HX_STACK_LINE(122) - return null(); - } - HX_STACK_LINE(98) - return null(); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Assets_obj,getBitmapData,return ) - -::neash::utils::ByteArray Assets_obj::getBytes( ::String id){ - HX_STACK_PUSH("Assets::getBytes","nme/installer/Assets.hx",129); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(131) - ::nme::installer::Assets_obj::initialize(); - HX_STACK_LINE(133) - if ((::nme::installer::Assets_obj::resourceNames->exists(id))){ - HX_STACK_LINE(133) - return ::neash::utils::ByteArray_obj::readFile(::nme::installer::Assets_obj::resourceNames->get(id)); - } - else{ - HX_STACK_LINE(139) - ::haxe::Log_obj::trace(((HX_CSTRING("[nme.Assets] There is no String or ByteArray asset with an ID of \"") + id) + HX_CSTRING("\"")),hx::SourceInfo(HX_CSTRING("Assets.hx"),139,HX_CSTRING("nme.installer.Assets"),HX_CSTRING("getBytes"))); - HX_STACK_LINE(141) - return null(); - } - HX_STACK_LINE(133) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Assets_obj,getBytes,return ) - -::neash::text::Font Assets_obj::getFont( ::String id){ - HX_STACK_PUSH("Assets::getFont","nme/installer/Assets.hx",148); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(150) - ::nme::installer::Assets_obj::initialize(); - HX_STACK_LINE(152) - if (((bool(::nme::installer::Assets_obj::resourceTypes->exists(id)) && bool((::nme::installer::Assets_obj::resourceTypes->get(id) == HX_CSTRING("font")))))){ - HX_STACK_LINE(152) - return ::neash::text::Font_obj::__new(::nme::installer::Assets_obj::resourceNames->get(id)); - } - else{ - HX_STACK_LINE(158) - ::haxe::Log_obj::trace(((HX_CSTRING("[nme.Assets] There is no Font asset with an ID of \"") + id) + HX_CSTRING("\"")),hx::SourceInfo(HX_CSTRING("Assets.hx"),158,HX_CSTRING("nme.installer.Assets"),HX_CSTRING("getFont"))); - HX_STACK_LINE(160) - return null(); - } - HX_STACK_LINE(152) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Assets_obj,getFont,return ) - -::String Assets_obj::getResourceName( ::String id){ - HX_STACK_PUSH("Assets::getResourceName","nme/installer/Assets.hx",167); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(169) - ::nme::installer::Assets_obj::initialize(); - HX_STACK_LINE(171) - return ::nme::installer::Assets_obj::resourceNames->get(id); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Assets_obj,getResourceName,return ) - -::neash::media::Sound Assets_obj::getSound( ::String id){ - HX_STACK_PUSH("Assets::getSound","nme/installer/Assets.hx",176); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(178) - ::nme::installer::Assets_obj::initialize(); - HX_STACK_LINE(180) - if ((::nme::installer::Assets_obj::resourceTypes->exists(id))){ - HX_STACK_LINE(180) - if (((::nme::installer::Assets_obj::resourceTypes->get(id) == HX_CSTRING("sound")))){ - HX_STACK_LINE(182) - return ::neash::media::Sound_obj::__new(::neash::net::URLRequest_obj::__new(::nme::installer::Assets_obj::resourceNames->get(id)),null(),false); - } - else{ - HX_STACK_LINE(186) - if (((::nme::installer::Assets_obj::resourceTypes->get(id) == HX_CSTRING("music")))){ - HX_STACK_LINE(186) - return ::neash::media::Sound_obj::__new(::neash::net::URLRequest_obj::__new(::nme::installer::Assets_obj::resourceNames->get(id)),null(),true); - } - } - } - HX_STACK_LINE(194) - ::haxe::Log_obj::trace(((HX_CSTRING("[nme.Assets] There is no Sound asset with an ID of \"") + id) + HX_CSTRING("\"")),hx::SourceInfo(HX_CSTRING("Assets.hx"),194,HX_CSTRING("nme.installer.Assets"),HX_CSTRING("getSound"))); - HX_STACK_LINE(196) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Assets_obj,getSound,return ) - -::String Assets_obj::getText( ::String id){ - HX_STACK_PUSH("Assets::getText","nme/installer/Assets.hx",201); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(203) - ::neash::utils::ByteArray bytes = ::nme::installer::Assets_obj::getBytes(id); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(205) - if (((bytes == null()))){ - HX_STACK_LINE(205) - return null(); - } - else{ - HX_STACK_LINE(209) - return bytes->readUTFBytes(bytes->length); - } - HX_STACK_LINE(205) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Assets_obj,getText,return ) - - -Assets_obj::Assets_obj() -{ -} - -void Assets_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Assets); - HX_MARK_END_CLASS(); -} - -void Assets_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Assets_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"getFont") ) { return getFont_dyn(); } - if (HX_FIELD_EQ(inName,"getText") ) { return getText_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"getBytes") ) { return getBytes_dyn(); } - if (HX_FIELD_EQ(inName,"getSound") ) { return getSound_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"initialize") ) { return initialize_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"initialized") ) { return initialized; } - break; - case 13: - if (HX_FIELD_EQ(inName,"resourceNames") ) { return resourceNames; } - if (HX_FIELD_EQ(inName,"resourceTypes") ) { return resourceTypes; } - if (HX_FIELD_EQ(inName,"getBitmapData") ) { return getBitmapData_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"getResourceName") ) { return getResourceName_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"cachedBitmapData") ) { return cachedBitmapData; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Assets_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 11: - if (HX_FIELD_EQ(inName,"initialized") ) { initialized=inValue.Cast< bool >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"resourceNames") ) { resourceNames=inValue.Cast< ::Hash >(); return inValue; } - if (HX_FIELD_EQ(inName,"resourceTypes") ) { resourceTypes=inValue.Cast< ::Hash >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"cachedBitmapData") ) { cachedBitmapData=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Assets_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("cachedBitmapData"), - HX_CSTRING("initialized"), - HX_CSTRING("resourceNames"), - HX_CSTRING("resourceTypes"), - HX_CSTRING("initialize"), - HX_CSTRING("getBitmapData"), - HX_CSTRING("getBytes"), - HX_CSTRING("getFont"), - HX_CSTRING("getResourceName"), - HX_CSTRING("getSound"), - HX_CSTRING("getText"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Assets_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Assets_obj::cachedBitmapData,"cachedBitmapData"); - HX_MARK_MEMBER_NAME(Assets_obj::initialized,"initialized"); - HX_MARK_MEMBER_NAME(Assets_obj::resourceNames,"resourceNames"); - HX_MARK_MEMBER_NAME(Assets_obj::resourceTypes,"resourceTypes"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Assets_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Assets_obj::cachedBitmapData,"cachedBitmapData"); - HX_VISIT_MEMBER_NAME(Assets_obj::initialized,"initialized"); - HX_VISIT_MEMBER_NAME(Assets_obj::resourceNames,"resourceNames"); - HX_VISIT_MEMBER_NAME(Assets_obj::resourceTypes,"resourceTypes"); -}; - -Class Assets_obj::__mClass; - -void Assets_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("nme.installer.Assets"), hx::TCanCast< Assets_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Assets_obj::__boot() -{ - cachedBitmapData= ::Hash_obj::__new(); - initialized= false; - resourceNames= ::Hash_obj::__new(); - resourceTypes= ::Hash_obj::__new(); -} - -} // end namespace nme -} // end namespace installer diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/core/Controller.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/core/Controller.cpp deleted file mode 100644 index c3d9961..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/core/Controller.cpp +++ /dev/null @@ -1,286 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_core_Controller -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_core_View -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IController -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IObserver -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IView -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Observer -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace core{ - -Void Controller_obj::__construct() -{ -HX_STACK_PUSH("Controller::new","org/puremvc/haxe/core/Controller.hx",44); -{ - HX_STACK_LINE(45) - ::org::puremvc::haxe::core::Controller_obj::instance = hx::ObjectPtr(this); - HX_STACK_LINE(46) - this->commandMap = ::Hash_obj::__new(); - HX_STACK_LINE(47) - this->initializeController(); -} -; - return null(); -} - -Controller_obj::~Controller_obj() { } - -Dynamic Controller_obj::__CreateEmpty() { return new Controller_obj; } -hx::ObjectPtr< Controller_obj > Controller_obj::__new() -{ hx::ObjectPtr< Controller_obj > result = new Controller_obj(); - result->__construct(); - return result;} - -Dynamic Controller_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Controller_obj > result = new Controller_obj(); - result->__construct(); - return result;} - -hx::Object *Controller_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IController_obj)) return operator ::org::puremvc::haxe::interfaces::IController_obj *(); - return super::__ToInterface(inType); -} - -Void Controller_obj::removeCommand( ::String notificationName){ -{ - HX_STACK_PUSH("Controller::removeCommand","org/puremvc/haxe/core/Controller.hx",115); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_LINE(115) - if ((this->hasCommand(notificationName))){ - HX_STACK_LINE(120) - this->view->removeObserver(notificationName,hx::ObjectPtr(this)); - HX_STACK_LINE(122) - this->commandMap->remove(notificationName); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Controller_obj,removeCommand,(void)) - -bool Controller_obj::hasCommand( ::String notificationName){ - HX_STACK_PUSH("Controller::hasCommand","org/puremvc/haxe/core/Controller.hx",107); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_LINE(107) - return this->commandMap->exists(notificationName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Controller_obj,hasCommand,return ) - -Void Controller_obj::registerCommand( ::String notificationName,::Class commandClassRef){ -{ - HX_STACK_PUSH("Controller::registerCommand","org/puremvc/haxe/core/Controller.hx",97); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_ARG(commandClassRef,"commandClassRef"); - HX_STACK_LINE(98) - if ((!(this->commandMap->exists(notificationName)))){ - HX_STACK_LINE(99) - this->view->registerObserver(notificationName,::org::puremvc::haxe::patterns::observer::Observer_obj::__new(this->executeCommand_dyn(),hx::ObjectPtr(this))); - } - HX_STACK_LINE(100) - this->commandMap->set(notificationName,commandClassRef); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Controller_obj,registerCommand,(void)) - -Void Controller_obj::executeCommand( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("Controller::executeCommand","org/puremvc/haxe/core/Controller.hx",78); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(79) - ::Class commandClassRef = this->commandMap->get(note->getName()); HX_STACK_VAR(commandClassRef,"commandClassRef"); - HX_STACK_LINE(80) - if (((commandClassRef == null()))){ - HX_STACK_LINE(80) - return null(); - } - HX_STACK_LINE(82) - ::org::puremvc::haxe::interfaces::ICommand commandInstance = ::Type_obj::createInstance(commandClassRef,Dynamic( Array_obj::__new())); HX_STACK_VAR(commandInstance,"commandInstance"); - HX_STACK_LINE(83) - commandInstance->execute(note); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Controller_obj,executeCommand,(void)) - -Void Controller_obj::initializeController( ){ -{ - HX_STACK_PUSH("Controller::initializeController","org/puremvc/haxe/core/Controller.hx",60); - HX_STACK_THIS(this); - HX_STACK_LINE(60) - this->view = ::org::puremvc::haxe::core::View_obj::getInstance(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Controller_obj,initializeController,(void)) - -::org::puremvc::haxe::interfaces::IController Controller_obj::getInstance( ){ - HX_STACK_PUSH("Controller::getInstance","org/puremvc/haxe/core/Controller.hx",68); - HX_STACK_LINE(69) - if (((::org::puremvc::haxe::core::Controller_obj::instance == null()))){ - HX_STACK_LINE(69) - ::org::puremvc::haxe::core::Controller_obj::instance = ::org::puremvc::haxe::core::Controller_obj::__new(); - } - HX_STACK_LINE(70) - return ::org::puremvc::haxe::core::Controller_obj::instance; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Controller_obj,getInstance,return ) - -::org::puremvc::haxe::interfaces::IController Controller_obj::instance; - - -Controller_obj::Controller_obj() -{ -} - -void Controller_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Controller); - HX_MARK_MEMBER_NAME(commandMap,"commandMap"); - HX_MARK_MEMBER_NAME(view,"view"); - HX_MARK_END_CLASS(); -} - -void Controller_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(commandMap,"commandMap"); - HX_VISIT_MEMBER_NAME(view,"view"); -} - -Dynamic Controller_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"view") ) { return view; } - break; - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { return instance; } - break; - case 10: - if (HX_FIELD_EQ(inName,"commandMap") ) { return commandMap; } - if (HX_FIELD_EQ(inName,"hasCommand") ) { return hasCommand_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"getInstance") ) { return getInstance_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"removeCommand") ) { return removeCommand_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"executeCommand") ) { return executeCommand_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"registerCommand") ) { return registerCommand_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"initializeController") ) { return initializeController_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Controller_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"view") ) { view=inValue.Cast< ::org::puremvc::haxe::interfaces::IView >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { instance=inValue.Cast< ::org::puremvc::haxe::interfaces::IController >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"commandMap") ) { commandMap=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Controller_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("commandMap")); - outFields->push(HX_CSTRING("view")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("getInstance"), - HX_CSTRING("instance"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("commandMap"), - HX_CSTRING("view"), - HX_CSTRING("removeCommand"), - HX_CSTRING("hasCommand"), - HX_CSTRING("registerCommand"), - HX_CSTRING("executeCommand"), - HX_CSTRING("initializeController"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Controller_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Controller_obj::instance,"instance"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Controller_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Controller_obj::instance,"instance"); -}; - -Class Controller_obj::__mClass; - -void Controller_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.core.Controller"), hx::TCanCast< Controller_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Controller_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace core diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/core/Model.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/core/Model.cpp deleted file mode 100644 index 1cfa754..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/core/Model.cpp +++ /dev/null @@ -1,233 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_core_Model -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IModel -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace core{ - -Void Model_obj::__construct() -{ -HX_STACK_PUSH("Model::new","org/puremvc/haxe/core/Model.hx",35); -{ - HX_STACK_LINE(36) - ::org::puremvc::haxe::core::Model_obj::instance = hx::ObjectPtr(this); - HX_STACK_LINE(37) - this->proxyMap = ::Hash_obj::__new(); - HX_STACK_LINE(38) - this->initializeModel(); -} -; - return null(); -} - -Model_obj::~Model_obj() { } - -Dynamic Model_obj::__CreateEmpty() { return new Model_obj; } -hx::ObjectPtr< Model_obj > Model_obj::__new() -{ hx::ObjectPtr< Model_obj > result = new Model_obj(); - result->__construct(); - return result;} - -Dynamic Model_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Model_obj > result = new Model_obj(); - result->__construct(); - return result;} - -hx::Object *Model_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IModel_obj)) return operator ::org::puremvc::haxe::interfaces::IModel_obj *(); - return super::__ToInterface(inType); -} - -::org::puremvc::haxe::interfaces::IProxy Model_obj::removeProxy( ::String proxyName){ - HX_STACK_PUSH("Model::removeProxy","org/puremvc/haxe/core/Model.hx",89); - HX_STACK_THIS(this); - HX_STACK_ARG(proxyName,"proxyName"); - HX_STACK_LINE(90) - ::org::puremvc::haxe::interfaces::IProxy proxy = this->proxyMap->get(proxyName); HX_STACK_VAR(proxy,"proxy"); - HX_STACK_LINE(91) - if (((proxy != null()))){ - HX_STACK_LINE(93) - this->proxyMap->remove(proxyName); - HX_STACK_LINE(94) - proxy->onRemove(); - } - HX_STACK_LINE(96) - return proxy; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Model_obj,removeProxy,return ) - -bool Model_obj::hasProxy( ::String proxyName){ - HX_STACK_PUSH("Model::hasProxy","org/puremvc/haxe/core/Model.hx",81); - HX_STACK_THIS(this); - HX_STACK_ARG(proxyName,"proxyName"); - HX_STACK_LINE(81) - return this->proxyMap->exists(proxyName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Model_obj,hasProxy,return ) - -::org::puremvc::haxe::interfaces::IProxy Model_obj::retrieveProxy( ::String proxyName){ - HX_STACK_PUSH("Model::retrieveProxy","org/puremvc/haxe/core/Model.hx",73); - HX_STACK_THIS(this); - HX_STACK_ARG(proxyName,"proxyName"); - HX_STACK_LINE(73) - return this->proxyMap->get(proxyName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Model_obj,retrieveProxy,return ) - -Void Model_obj::registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy){ -{ - HX_STACK_PUSH("Model::registerProxy","org/puremvc/haxe/core/Model.hx",64); - HX_STACK_THIS(this); - HX_STACK_ARG(proxy,"proxy"); - HX_STACK_LINE(65) - this->proxyMap->set(proxy->getProxyName(),proxy); - HX_STACK_LINE(66) - proxy->onRegister(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Model_obj,registerProxy,(void)) - -Void Model_obj::initializeModel( ){ -{ - HX_STACK_PUSH("Model::initializeModel","org/puremvc/haxe/core/Model.hx",48); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Model_obj,initializeModel,(void)) - -::org::puremvc::haxe::interfaces::IModel Model_obj::getInstance( ){ - HX_STACK_PUSH("Model::getInstance","org/puremvc/haxe/core/Model.hx",55); - HX_STACK_LINE(56) - if (((::org::puremvc::haxe::core::Model_obj::instance == null()))){ - HX_STACK_LINE(56) - ::org::puremvc::haxe::core::Model_obj::instance = ::org::puremvc::haxe::core::Model_obj::__new(); - } - HX_STACK_LINE(57) - return ::org::puremvc::haxe::core::Model_obj::instance; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Model_obj,getInstance,return ) - -::org::puremvc::haxe::interfaces::IModel Model_obj::instance; - - -Model_obj::Model_obj() -{ -} - -void Model_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Model); - HX_MARK_MEMBER_NAME(proxyMap,"proxyMap"); - HX_MARK_END_CLASS(); -} - -void Model_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(proxyMap,"proxyMap"); -} - -Dynamic Model_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { return instance; } - if (HX_FIELD_EQ(inName,"proxyMap") ) { return proxyMap; } - if (HX_FIELD_EQ(inName,"hasProxy") ) { return hasProxy_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"getInstance") ) { return getInstance_dyn(); } - if (HX_FIELD_EQ(inName,"removeProxy") ) { return removeProxy_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"retrieveProxy") ) { return retrieveProxy_dyn(); } - if (HX_FIELD_EQ(inName,"registerProxy") ) { return registerProxy_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"initializeModel") ) { return initializeModel_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Model_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { instance=inValue.Cast< ::org::puremvc::haxe::interfaces::IModel >(); return inValue; } - if (HX_FIELD_EQ(inName,"proxyMap") ) { proxyMap=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Model_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("proxyMap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("getInstance"), - HX_CSTRING("instance"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("proxyMap"), - HX_CSTRING("removeProxy"), - HX_CSTRING("hasProxy"), - HX_CSTRING("retrieveProxy"), - HX_CSTRING("registerProxy"), - HX_CSTRING("initializeModel"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Model_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Model_obj::instance,"instance"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Model_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Model_obj::instance,"instance"); -}; - -Class Model_obj::__mClass; - -void Model_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.core.Model"), hx::TCanCast< Model_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Model_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace core diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/core/View.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/core/View.cpp deleted file mode 100644 index 3e6c328..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/core/View.cpp +++ /dev/null @@ -1,387 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_core_View -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IObserver -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IView -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Observer -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace core{ - -Void View_obj::__construct() -{ -HX_STACK_PUSH("View::new","org/puremvc/haxe/core/View.hx",40); -{ - HX_STACK_LINE(41) - ::org::puremvc::haxe::core::View_obj::instance = hx::ObjectPtr(this); - HX_STACK_LINE(42) - this->mediatorMap = ::Hash_obj::__new(); - HX_STACK_LINE(43) - this->observerMap = ::Hash_obj::__new(); - HX_STACK_LINE(44) - this->initializeView(); -} -; - return null(); -} - -View_obj::~View_obj() { } - -Dynamic View_obj::__CreateEmpty() { return new View_obj; } -hx::ObjectPtr< View_obj > View_obj::__new() -{ hx::ObjectPtr< View_obj > result = new View_obj(); - result->__construct(); - return result;} - -Dynamic View_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< View_obj > result = new View_obj(); - result->__construct(); - return result;} - -hx::Object *View_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IView_obj)) return operator ::org::puremvc::haxe::interfaces::IView_obj *(); - return super::__ToInterface(inType); -} - -bool View_obj::hasMediator( ::String mediatorName){ - HX_STACK_PUSH("View::hasMediator","org/puremvc/haxe/core/View.hx",207); - HX_STACK_THIS(this); - HX_STACK_ARG(mediatorName,"mediatorName"); - HX_STACK_LINE(207) - return this->mediatorMap->exists(mediatorName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(View_obj,hasMediator,return ) - -::org::puremvc::haxe::interfaces::IMediator View_obj::removeMediator( ::String mediatorName){ - HX_STACK_PUSH("View::removeMediator","org/puremvc/haxe/core/View.hx",178); - HX_STACK_THIS(this); - HX_STACK_ARG(mediatorName,"mediatorName"); - HX_STACK_LINE(180) - ::org::puremvc::haxe::interfaces::IMediator mediator = this->mediatorMap->get(mediatorName); HX_STACK_VAR(mediator,"mediator"); - HX_STACK_LINE(182) - if (((mediator != null()))){ - HX_STACK_LINE(185) - Array< ::String > interests = mediator->listNotificationInterests(); HX_STACK_VAR(interests,"interests"); - HX_STACK_LINE(186) - { - HX_STACK_LINE(186) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = interests->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(186) - while(((_g1 < _g))){ - HX_STACK_LINE(186) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(190) - this->removeObserver(interests->__get(i),mediator); - } - } - HX_STACK_LINE(194) - this->mediatorMap->remove(mediatorName); - HX_STACK_LINE(197) - mediator->onRemove(); - } - HX_STACK_LINE(200) - return mediator; -} - - -HX_DEFINE_DYNAMIC_FUNC1(View_obj,removeMediator,return ) - -::org::puremvc::haxe::interfaces::IMediator View_obj::retrieveMediator( ::String mediatorName){ - HX_STACK_PUSH("View::retrieveMediator","org/puremvc/haxe/core/View.hx",170); - HX_STACK_THIS(this); - HX_STACK_ARG(mediatorName,"mediatorName"); - HX_STACK_LINE(170) - return this->mediatorMap->get(mediatorName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(View_obj,retrieveMediator,return ) - -Void View_obj::registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator){ -{ - HX_STACK_PUSH("View::registerMediator","org/puremvc/haxe/core/View.hx",144); - HX_STACK_THIS(this); - HX_STACK_ARG(mediator,"mediator"); - HX_STACK_LINE(146) - if ((this->mediatorMap->exists(mediator->getMediatorName()))){ - HX_STACK_LINE(146) - return null(); - } - HX_STACK_LINE(149) - this->mediatorMap->set(mediator->getMediatorName(),mediator); - HX_STACK_LINE(152) - Array< ::String > interests = mediator->listNotificationInterests(); HX_STACK_VAR(interests,"interests"); - HX_STACK_LINE(153) - if (((interests->length > (int)0))){ - HX_STACK_LINE(156) - ::org::puremvc::haxe::patterns::observer::Observer observer = ::org::puremvc::haxe::patterns::observer::Observer_obj::__new(mediator->handleNotification_dyn(),mediator); HX_STACK_VAR(observer,"observer"); - HX_STACK_LINE(159) - { - HX_STACK_LINE(159) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = interests->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(159) - while(((_g1 < _g))){ - HX_STACK_LINE(159) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(160) - this->registerObserver(interests->__get(i),observer); - } - } - } - HX_STACK_LINE(163) - mediator->onRegister(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(View_obj,registerMediator,(void)) - -Void View_obj::removeObserver( ::String notificationName,Dynamic notifyContext){ -{ - HX_STACK_PUSH("View::removeObserver","org/puremvc/haxe/core/View.hx",107); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_ARG(notifyContext,"notifyContext"); - HX_STACK_LINE(109) - ::List observers = this->observerMap->get(notificationName); HX_STACK_VAR(observers,"observers"); - HX_STACK_LINE(112) - for(::cpp::FastIterator_obj< ::org::puremvc::haxe::interfaces::IObserver > *__it = ::cpp::CreateFastIterator< ::org::puremvc::haxe::interfaces::IObserver >(observers->iterator()); __it->hasNext(); ){ - ::org::puremvc::haxe::interfaces::IObserver observer = __it->next(); - if (((observer->compareNotifyContext(notifyContext) == true))){ - HX_STACK_LINE(118) - observers->remove(observer); - HX_STACK_LINE(119) - break; - } -; - } - HX_STACK_LINE(125) - if ((observers->isEmpty())){ - HX_STACK_LINE(126) - this->observerMap->remove(notificationName); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(View_obj,removeObserver,(void)) - -Void View_obj::notifyObservers( ::org::puremvc::haxe::interfaces::INotification notification){ -{ - HX_STACK_PUSH("View::notifyObservers","org/puremvc/haxe/core/View.hx",84); - HX_STACK_THIS(this); - HX_STACK_ARG(notification,"notification"); - HX_STACK_LINE(84) - if ((this->observerMap->exists(notification->getName()))){ - HX_STACK_LINE(88) - ::List observers_ref = this->observerMap->get(notification->getName()); HX_STACK_VAR(observers_ref,"observers_ref"); - HX_STACK_LINE(92) - ::List observers = ::List_obj::__new(); HX_STACK_VAR(observers,"observers"); - HX_STACK_LINE(93) - Dynamic iterator_ref = observers_ref->iterator(); HX_STACK_VAR(iterator_ref,"iterator_ref"); - HX_STACK_LINE(94) - for(::cpp::FastIterator_obj< ::org::puremvc::haxe::interfaces::IObserver > *__it = ::cpp::CreateFastIterator< ::org::puremvc::haxe::interfaces::IObserver >(iterator_ref); __it->hasNext(); ){ - ::org::puremvc::haxe::interfaces::IObserver observer = __it->next(); - observers->add(observer); - } - HX_STACK_LINE(97) - Dynamic iterator = observers->iterator(); HX_STACK_VAR(iterator,"iterator"); - HX_STACK_LINE(98) - for(::cpp::FastIterator_obj< ::org::puremvc::haxe::interfaces::IObserver > *__it = ::cpp::CreateFastIterator< ::org::puremvc::haxe::interfaces::IObserver >(iterator); __it->hasNext(); ){ - ::org::puremvc::haxe::interfaces::IObserver observer = __it->next(); - observer->notifyObserver(notification); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(View_obj,notifyObservers,(void)) - -Void View_obj::registerObserver( ::String notificationName,::org::puremvc::haxe::interfaces::IObserver observer){ -{ - HX_STACK_PUSH("View::registerObserver","org/puremvc/haxe/core/View.hx",70); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_ARG(observer,"observer"); - HX_STACK_LINE(71) - if ((!(this->observerMap->exists(notificationName)))){ - HX_STACK_LINE(72) - this->observerMap->set(notificationName,::List_obj::__new()); - } - HX_STACK_LINE(73) - this->observerMap->get(notificationName)->__Field(HX_CSTRING("add"),true)(observer); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(View_obj,registerObserver,(void)) - -Void View_obj::initializeView( ){ -{ - HX_STACK_PUSH("View::initializeView","org/puremvc/haxe/core/View.hx",54); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(View_obj,initializeView,(void)) - -::org::puremvc::haxe::interfaces::IView View_obj::getInstance( ){ - HX_STACK_PUSH("View::getInstance","org/puremvc/haxe/core/View.hx",61); - HX_STACK_LINE(62) - if (((::org::puremvc::haxe::core::View_obj::instance == null()))){ - HX_STACK_LINE(62) - ::org::puremvc::haxe::core::View_obj::instance = ::org::puremvc::haxe::core::View_obj::__new(); - } - HX_STACK_LINE(63) - return ::org::puremvc::haxe::core::View_obj::instance; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(View_obj,getInstance,return ) - -::org::puremvc::haxe::interfaces::IView View_obj::instance; - - -View_obj::View_obj() -{ -} - -void View_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(View); - HX_MARK_MEMBER_NAME(observerMap,"observerMap"); - HX_MARK_MEMBER_NAME(mediatorMap,"mediatorMap"); - HX_MARK_END_CLASS(); -} - -void View_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(observerMap,"observerMap"); - HX_VISIT_MEMBER_NAME(mediatorMap,"mediatorMap"); -} - -Dynamic View_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { return instance; } - break; - case 11: - if (HX_FIELD_EQ(inName,"getInstance") ) { return getInstance_dyn(); } - if (HX_FIELD_EQ(inName,"observerMap") ) { return observerMap; } - if (HX_FIELD_EQ(inName,"mediatorMap") ) { return mediatorMap; } - if (HX_FIELD_EQ(inName,"hasMediator") ) { return hasMediator_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"removeMediator") ) { return removeMediator_dyn(); } - if (HX_FIELD_EQ(inName,"removeObserver") ) { return removeObserver_dyn(); } - if (HX_FIELD_EQ(inName,"initializeView") ) { return initializeView_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"notifyObservers") ) { return notifyObservers_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"retrieveMediator") ) { return retrieveMediator_dyn(); } - if (HX_FIELD_EQ(inName,"registerMediator") ) { return registerMediator_dyn(); } - if (HX_FIELD_EQ(inName,"registerObserver") ) { return registerObserver_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic View_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { instance=inValue.Cast< ::org::puremvc::haxe::interfaces::IView >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"observerMap") ) { observerMap=inValue.Cast< ::Hash >(); return inValue; } - if (HX_FIELD_EQ(inName,"mediatorMap") ) { mediatorMap=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void View_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("observerMap")); - outFields->push(HX_CSTRING("mediatorMap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("getInstance"), - HX_CSTRING("instance"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("observerMap"), - HX_CSTRING("mediatorMap"), - HX_CSTRING("hasMediator"), - HX_CSTRING("removeMediator"), - HX_CSTRING("retrieveMediator"), - HX_CSTRING("registerMediator"), - HX_CSTRING("removeObserver"), - HX_CSTRING("notifyObservers"), - HX_CSTRING("registerObserver"), - HX_CSTRING("initializeView"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(View_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(View_obj::instance,"instance"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(View_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(View_obj::instance,"instance"); -}; - -Class View_obj::__mClass; - -void View_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.core.View"), hx::TCanCast< View_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void View_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace core diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/ICommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/ICommand.cpp deleted file mode 100644 index 0e6d84a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/ICommand.cpp +++ /dev/null @@ -1,41 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC1(ICommand_obj,execute,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ICommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ICommand_obj::__mClass,"__mClass"); -}; - -Class ICommand_obj::__mClass; - -void ICommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.ICommand"), hx::TCanCast< ICommand_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ICommand_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IController.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IController.cpp deleted file mode 100644 index f764009..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IController.cpp +++ /dev/null @@ -1,50 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IController -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC1(IController_obj,hasCommand,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IController_obj,removeCommand,) - -HX_DEFINE_DYNAMIC_FUNC1(IController_obj,executeCommand,) - -HX_DEFINE_DYNAMIC_FUNC2(IController_obj,registerCommand,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IController_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IController_obj::__mClass,"__mClass"); -}; - -Class IController_obj::__mClass; - -void IController_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IController"), hx::TCanCast< IController_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IController_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IFacade.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IFacade.cpp deleted file mode 100644 index 33141ef..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IFacade.cpp +++ /dev/null @@ -1,74 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,notifyObservers,) - -HX_DEFINE_DYNAMIC_FUNC3(IFacade_obj,sendNotification,) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,hasMediator,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,removeMediator,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,retrieveMediator,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,registerMediator,) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,hasCommand,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,removeCommand,) - -HX_DEFINE_DYNAMIC_FUNC2(IFacade_obj,registerCommand,) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,hasProxy,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,removeProxy,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,retrieveProxy,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,registerProxy,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IFacade_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IFacade_obj::__mClass,"__mClass"); -}; - -Class IFacade_obj::__mClass; - -void IFacade_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IFacade"), hx::TCanCast< IFacade_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IFacade_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IMediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IMediator.cpp deleted file mode 100644 index 807829a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IMediator.cpp +++ /dev/null @@ -1,53 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC0(IMediator_obj,onRemove,) - -HX_DEFINE_DYNAMIC_FUNC0(IMediator_obj,onRegister,) - -HX_DEFINE_DYNAMIC_FUNC1(IMediator_obj,handleNotification,) - -HX_DEFINE_DYNAMIC_FUNC0(IMediator_obj,listNotificationInterests,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IMediator_obj,setViewComponent,) - -HX_DEFINE_DYNAMIC_FUNC0(IMediator_obj,getViewComponent,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IMediator_obj,getMediatorName,return ) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IMediator_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IMediator_obj::__mClass,"__mClass"); -}; - -Class IMediator_obj::__mClass; - -void IMediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IMediator"), hx::TCanCast< IMediator_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IMediator_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IModel.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IModel.cpp deleted file mode 100644 index f5d57ac..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IModel.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IModel -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC1(IModel_obj,hasProxy,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IModel_obj,removeProxy,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IModel_obj,retrieveProxy,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IModel_obj,registerProxy,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IModel_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IModel_obj::__mClass,"__mClass"); -}; - -Class IModel_obj::__mClass; - -void IModel_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IModel"), hx::TCanCast< IModel_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IModel_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/INotification.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/INotification.cpp deleted file mode 100644 index 5688273..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/INotification.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC0(INotification_obj,toString,return ) - -HX_DEFINE_DYNAMIC_FUNC0(INotification_obj,getType,return ) - -HX_DEFINE_DYNAMIC_FUNC1(INotification_obj,setType,) - -HX_DEFINE_DYNAMIC_FUNC0(INotification_obj,getBody,return ) - -HX_DEFINE_DYNAMIC_FUNC1(INotification_obj,setBody,) - -HX_DEFINE_DYNAMIC_FUNC0(INotification_obj,getName,return ) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(INotification_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(INotification_obj::__mClass,"__mClass"); -}; - -Class INotification_obj::__mClass; - -void INotification_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.INotification"), hx::TCanCast< INotification_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void INotification_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/INotifier.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/INotifier.cpp deleted file mode 100644 index a911a2d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/INotifier.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC3(INotifier_obj,sendNotification,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(INotifier_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(INotifier_obj::__mClass,"__mClass"); -}; - -Class INotifier_obj::__mClass; - -void INotifier_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.INotifier"), hx::TCanCast< INotifier_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void INotifier_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IObserver.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IObserver.cpp deleted file mode 100644 index 972bfbc..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IObserver.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IObserver -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC1(IObserver_obj,compareNotifyContext,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IObserver_obj,notifyObserver,) - -HX_DEFINE_DYNAMIC_FUNC1(IObserver_obj,setNotifyContext,) - -HX_DEFINE_DYNAMIC_FUNC1(IObserver_obj,setNotifyMethod,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IObserver_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IObserver_obj::__mClass,"__mClass"); -}; - -Class IObserver_obj::__mClass; - -void IObserver_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IObserver"), hx::TCanCast< IObserver_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IObserver_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IProxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IProxy.cpp deleted file mode 100644 index 66f4c70..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IProxy.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC0(IProxy_obj,onRemove,) - -HX_DEFINE_DYNAMIC_FUNC0(IProxy_obj,onRegister,) - -HX_DEFINE_DYNAMIC_FUNC0(IProxy_obj,getData,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IProxy_obj,setData,) - -HX_DEFINE_DYNAMIC_FUNC0(IProxy_obj,getProxyName,return ) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IProxy_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IProxy_obj::__mClass,"__mClass"); -}; - -Class IProxy_obj::__mClass; - -void IProxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IProxy"), hx::TCanCast< IProxy_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IProxy_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IView.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IView.cpp deleted file mode 100644 index d22745f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/interfaces/IView.cpp +++ /dev/null @@ -1,59 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IObserver -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IView -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC1(IView_obj,hasMediator,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IView_obj,removeMediator,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IView_obj,retrieveMediator,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IView_obj,registerMediator,) - -HX_DEFINE_DYNAMIC_FUNC1(IView_obj,notifyObservers,) - -HX_DEFINE_DYNAMIC_FUNC2(IView_obj,removeObserver,) - -HX_DEFINE_DYNAMIC_FUNC2(IView_obj,registerObserver,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IView_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IView_obj::__mClass,"__mClass"); -}; - -Class IView_obj::__mClass; - -void IView_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IView"), hx::TCanCast< IView_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IView_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/command/MacroCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/command/MacroCommand.cpp deleted file mode 100644 index 83fca7d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/command/MacroCommand.cpp +++ /dev/null @@ -1,196 +0,0 @@ -#include - -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_MacroCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace command{ - -Void MacroCommand_obj::__construct() -{ -HX_STACK_PUSH("MacroCommand::new","org/puremvc/haxe/patterns/command/MacroCommand.hx",48); -{ - HX_STACK_LINE(49) - super::__construct(); - HX_STACK_LINE(50) - this->subCommands = ::List_obj::__new(); - HX_STACK_LINE(51) - this->initializeMacroCommand(); -} -; - return null(); -} - -MacroCommand_obj::~MacroCommand_obj() { } - -Dynamic MacroCommand_obj::__CreateEmpty() { return new MacroCommand_obj; } -hx::ObjectPtr< MacroCommand_obj > MacroCommand_obj::__new() -{ hx::ObjectPtr< MacroCommand_obj > result = new MacroCommand_obj(); - result->__construct(); - return result;} - -Dynamic MacroCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< MacroCommand_obj > result = new MacroCommand_obj(); - result->__construct(); - return result;} - -hx::Object *MacroCommand_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::ICommand_obj)) return operator ::org::puremvc::haxe::interfaces::ICommand_obj *(); - return super::__ToInterface(inType); -} - -Void MacroCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification notification){ -{ - HX_STACK_PUSH("MacroCommand::execute","org/puremvc/haxe/patterns/command/MacroCommand.hx",86); - HX_STACK_THIS(this); - HX_STACK_ARG(notification,"notification"); - HX_STACK_LINE(86) - while((!(this->subCommands->isEmpty()))){ - HX_STACK_LINE(89) - ::Class commandClassRef = this->subCommands->pop(); HX_STACK_VAR(commandClassRef,"commandClassRef"); - HX_STACK_LINE(90) - ::org::puremvc::haxe::interfaces::ICommand commandInstance = ::Type_obj::createInstance(commandClassRef,Dynamic( Array_obj::__new())); HX_STACK_VAR(commandInstance,"commandInstance"); - HX_STACK_LINE(91) - commandInstance->execute(notification); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(MacroCommand_obj,execute,(void)) - -Void MacroCommand_obj::addSubCommand( ::Class commandClassRef){ -{ - HX_STACK_PUSH("MacroCommand::addSubCommand","org/puremvc/haxe/patterns/command/MacroCommand.hx",75); - HX_STACK_THIS(this); - HX_STACK_ARG(commandClassRef,"commandClassRef"); - HX_STACK_LINE(75) - this->subCommands->add(commandClassRef); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(MacroCommand_obj,addSubCommand,(void)) - -Void MacroCommand_obj::initializeMacroCommand( ){ -{ - HX_STACK_PUSH("MacroCommand::initializeMacroCommand","org/puremvc/haxe/patterns/command/MacroCommand.hx",65); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(MacroCommand_obj,initializeMacroCommand,(void)) - - -MacroCommand_obj::MacroCommand_obj() -{ -} - -void MacroCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(MacroCommand); - HX_MARK_MEMBER_NAME(subCommands,"subCommands"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void MacroCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(subCommands,"subCommands"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic MacroCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"subCommands") ) { return subCommands; } - break; - case 13: - if (HX_FIELD_EQ(inName,"addSubCommand") ) { return addSubCommand_dyn(); } - break; - case 22: - if (HX_FIELD_EQ(inName,"initializeMacroCommand") ) { return initializeMacroCommand_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic MacroCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 11: - if (HX_FIELD_EQ(inName,"subCommands") ) { subCommands=inValue.Cast< ::List >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void MacroCommand_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("subCommands")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - HX_CSTRING("addSubCommand"), - HX_CSTRING("initializeMacroCommand"), - HX_CSTRING("subCommands"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(MacroCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(MacroCommand_obj::__mClass,"__mClass"); -}; - -Class MacroCommand_obj::__mClass; - -void MacroCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.command.MacroCommand"), hx::TCanCast< MacroCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void MacroCommand_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace command diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/command/SimpleCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/command/SimpleCommand.cpp deleted file mode 100644 index 28c88f7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/command/SimpleCommand.cpp +++ /dev/null @@ -1,133 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace command{ - -Void SimpleCommand_obj::__construct() -{ -HX_STACK_PUSH("SimpleCommand::new","org/puremvc/haxe/patterns/command/SimpleCommand.hx",19); -{ - HX_STACK_LINE(19) - super::__construct(); -} -; - return null(); -} - -SimpleCommand_obj::~SimpleCommand_obj() { } - -Dynamic SimpleCommand_obj::__CreateEmpty() { return new SimpleCommand_obj; } -hx::ObjectPtr< SimpleCommand_obj > SimpleCommand_obj::__new() -{ hx::ObjectPtr< SimpleCommand_obj > result = new SimpleCommand_obj(); - result->__construct(); - return result;} - -Dynamic SimpleCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SimpleCommand_obj > result = new SimpleCommand_obj(); - result->__construct(); - return result;} - -hx::Object *SimpleCommand_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::ICommand_obj)) return operator ::org::puremvc::haxe::interfaces::ICommand_obj *(); - return super::__ToInterface(inType); -} - -Void SimpleCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification notification){ -{ - HX_STACK_PUSH("SimpleCommand::execute","org/puremvc/haxe/patterns/command/SimpleCommand.hx",29); - HX_STACK_THIS(this); - HX_STACK_ARG(notification,"notification"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SimpleCommand_obj,execute,(void)) - - -SimpleCommand_obj::SimpleCommand_obj() -{ -} - -void SimpleCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SimpleCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void SimpleCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic SimpleCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SimpleCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void SimpleCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SimpleCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SimpleCommand_obj::__mClass,"__mClass"); -}; - -Class SimpleCommand_obj::__mClass; - -void SimpleCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.command.SimpleCommand"), hx::TCanCast< SimpleCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SimpleCommand_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace command diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/facade/Facade.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/facade/Facade.cpp deleted file mode 100644 index 3eedfa9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/facade/Facade.cpp +++ /dev/null @@ -1,500 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_core_Controller -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_core_Model -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_core_View -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IController -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IModel -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IView -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_facade_Facade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notification -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace facade{ - -Void Facade_obj::__construct() -{ -HX_STACK_PUSH("Facade::new","org/puremvc/haxe/patterns/facade/Facade.hx",42); -{ - HX_STACK_LINE(43) - ::org::puremvc::haxe::patterns::facade::Facade_obj::instance = hx::ObjectPtr(this); - HX_STACK_LINE(44) - this->initializeFacade(); -} -; - return null(); -} - -Facade_obj::~Facade_obj() { } - -Dynamic Facade_obj::__CreateEmpty() { return new Facade_obj; } -hx::ObjectPtr< Facade_obj > Facade_obj::__new() -{ hx::ObjectPtr< Facade_obj > result = new Facade_obj(); - result->__construct(); - return result;} - -Dynamic Facade_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Facade_obj > result = new Facade_obj(); - result->__construct(); - return result;} - -hx::Object *Facade_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IFacade_obj)) return operator ::org::puremvc::haxe::interfaces::IFacade_obj *(); - return super::__ToInterface(inType); -} - -Void Facade_obj::notifyObservers( ::org::puremvc::haxe::interfaces::INotification notification){ -{ - HX_STACK_PUSH("Facade::notifyObservers","org/puremvc/haxe/patterns/facade/Facade.hx",247); - HX_STACK_THIS(this); - HX_STACK_ARG(notification,"notification"); - HX_STACK_LINE(247) - if (((this->view != null()))){ - HX_STACK_LINE(248) - this->view->notifyObservers(notification); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,notifyObservers,(void)) - -Void Facade_obj::sendNotification( ::String notificationName,Dynamic body,::String type){ -{ - HX_STACK_PUSH("Facade::sendNotification","org/puremvc/haxe/patterns/facade/Facade.hx",239); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_ARG(body,"body"); - HX_STACK_ARG(type,"type"); - HX_STACK_LINE(239) - this->notifyObservers(::org::puremvc::haxe::patterns::observer::Notification_obj::__new(notificationName,body,type)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Facade_obj,sendNotification,(void)) - -bool Facade_obj::hasMediator( ::String mediatorName){ - HX_STACK_PUSH("Facade::hasMediator","org/puremvc/haxe/patterns/facade/Facade.hx",228); - HX_STACK_THIS(this); - HX_STACK_ARG(mediatorName,"mediatorName"); - HX_STACK_LINE(228) - return this->view->hasMediator(mediatorName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,hasMediator,return ) - -::org::puremvc::haxe::interfaces::IMediator Facade_obj::removeMediator( ::String mediatorName){ - HX_STACK_PUSH("Facade::removeMediator","org/puremvc/haxe/patterns/facade/Facade.hx",218); - HX_STACK_THIS(this); - HX_STACK_ARG(mediatorName,"mediatorName"); - HX_STACK_LINE(219) - ::org::puremvc::haxe::interfaces::IMediator mediator = null(); HX_STACK_VAR(mediator,"mediator"); - HX_STACK_LINE(220) - if (((this->view != null()))){ - HX_STACK_LINE(220) - mediator = this->view->removeMediator(mediatorName); - } - HX_STACK_LINE(221) - return mediator; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,removeMediator,return ) - -::org::puremvc::haxe::interfaces::IMediator Facade_obj::retrieveMediator( ::String mediatorName){ - HX_STACK_PUSH("Facade::retrieveMediator","org/puremvc/haxe/patterns/facade/Facade.hx",210); - HX_STACK_THIS(this); - HX_STACK_ARG(mediatorName,"mediatorName"); - HX_STACK_LINE(210) - return this->view->retrieveMediator(mediatorName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,retrieveMediator,return ) - -Void Facade_obj::registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator){ -{ - HX_STACK_PUSH("Facade::registerMediator","org/puremvc/haxe/patterns/facade/Facade.hx",202); - HX_STACK_THIS(this); - HX_STACK_ARG(mediator,"mediator"); - HX_STACK_LINE(202) - if (((this->view != null()))){ - HX_STACK_LINE(203) - this->view->registerMediator(mediator); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,registerMediator,(void)) - -bool Facade_obj::hasProxy( ::String proxyName){ - HX_STACK_PUSH("Facade::hasProxy","org/puremvc/haxe/patterns/facade/Facade.hx",194); - HX_STACK_THIS(this); - HX_STACK_ARG(proxyName,"proxyName"); - HX_STACK_LINE(194) - return this->model->hasProxy(proxyName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,hasProxy,return ) - -::org::puremvc::haxe::interfaces::IProxy Facade_obj::removeProxy( ::String proxyName){ - HX_STACK_PUSH("Facade::removeProxy","org/puremvc/haxe/patterns/facade/Facade.hx",184); - HX_STACK_THIS(this); - HX_STACK_ARG(proxyName,"proxyName"); - HX_STACK_LINE(185) - ::org::puremvc::haxe::interfaces::IProxy proxy = null(); HX_STACK_VAR(proxy,"proxy"); - HX_STACK_LINE(186) - if (((this->model != null()))){ - HX_STACK_LINE(186) - proxy = this->model->removeProxy(proxyName); - } - HX_STACK_LINE(187) - return proxy; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,removeProxy,return ) - -::org::puremvc::haxe::interfaces::IProxy Facade_obj::retrieveProxy( ::String proxyName){ - HX_STACK_PUSH("Facade::retrieveProxy","org/puremvc/haxe/patterns/facade/Facade.hx",176); - HX_STACK_THIS(this); - HX_STACK_ARG(proxyName,"proxyName"); - HX_STACK_LINE(176) - return this->model->retrieveProxy(proxyName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,retrieveProxy,return ) - -Void Facade_obj::registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy){ -{ - HX_STACK_PUSH("Facade::registerProxy","org/puremvc/haxe/patterns/facade/Facade.hx",168); - HX_STACK_THIS(this); - HX_STACK_ARG(proxy,"proxy"); - HX_STACK_LINE(168) - this->model->registerProxy(proxy); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,registerProxy,(void)) - -bool Facade_obj::hasCommand( ::String notificationName){ - HX_STACK_PUSH("Facade::hasCommand","org/puremvc/haxe/patterns/facade/Facade.hx",160); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_LINE(160) - return this->controller->hasCommand(notificationName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,hasCommand,return ) - -Void Facade_obj::removeCommand( ::String notificationName){ -{ - HX_STACK_PUSH("Facade::removeCommand","org/puremvc/haxe/patterns/facade/Facade.hx",152); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_LINE(152) - this->controller->removeCommand(notificationName); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,removeCommand,(void)) - -Void Facade_obj::registerCommand( ::String notificationName,::Class commandClassRef){ -{ - HX_STACK_PUSH("Facade::registerCommand","org/puremvc/haxe/patterns/facade/Facade.hx",144); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_ARG(commandClassRef,"commandClassRef"); - HX_STACK_LINE(144) - this->controller->registerCommand(notificationName,commandClassRef); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Facade_obj,registerCommand,(void)) - -Void Facade_obj::initializeView( ){ -{ - HX_STACK_PUSH("Facade::initializeView","org/puremvc/haxe/patterns/facade/Facade.hx",135); - HX_STACK_THIS(this); - HX_STACK_LINE(136) - if (((this->view != null()))){ - HX_STACK_LINE(136) - return null(); - } - HX_STACK_LINE(137) - this->view = ::org::puremvc::haxe::core::View_obj::getInstance(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Facade_obj,initializeView,(void)) - -Void Facade_obj::initializeModel( ){ -{ - HX_STACK_PUSH("Facade::initializeModel","org/puremvc/haxe/patterns/facade/Facade.hx",111); - HX_STACK_THIS(this); - HX_STACK_LINE(112) - if (((this->model != null()))){ - HX_STACK_LINE(112) - return null(); - } - HX_STACK_LINE(113) - this->model = ::org::puremvc::haxe::core::Model_obj::getInstance(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Facade_obj,initializeModel,(void)) - -Void Facade_obj::initializeController( ){ -{ - HX_STACK_PUSH("Facade::initializeController","org/puremvc/haxe/patterns/facade/Facade.hx",84); - HX_STACK_THIS(this); - HX_STACK_LINE(85) - if (((this->controller != null()))){ - HX_STACK_LINE(85) - return null(); - } - HX_STACK_LINE(86) - this->controller = ::org::puremvc::haxe::core::Controller_obj::getInstance(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Facade_obj,initializeController,(void)) - -Void Facade_obj::initializeFacade( ){ -{ - HX_STACK_PUSH("Facade::initializeFacade","org/puremvc/haxe/patterns/facade/Facade.hx",55); - HX_STACK_THIS(this); - HX_STACK_LINE(56) - this->initializeModel(); - HX_STACK_LINE(57) - this->initializeController(); - HX_STACK_LINE(58) - this->initializeView(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Facade_obj,initializeFacade,(void)) - -::org::puremvc::haxe::interfaces::IFacade Facade_obj::getInstance( ){ - HX_STACK_PUSH("Facade::getInstance","org/puremvc/haxe/patterns/facade/Facade.hx",65); - HX_STACK_LINE(66) - if (((::org::puremvc::haxe::patterns::facade::Facade_obj::instance == null()))){ - HX_STACK_LINE(66) - ::org::puremvc::haxe::patterns::facade::Facade_obj::instance = ::org::puremvc::haxe::patterns::facade::Facade_obj::__new(); - } - HX_STACK_LINE(67) - return ::org::puremvc::haxe::patterns::facade::Facade_obj::instance; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Facade_obj,getInstance,return ) - -::org::puremvc::haxe::interfaces::IFacade Facade_obj::instance; - - -Facade_obj::Facade_obj() -{ -} - -void Facade_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Facade); - HX_MARK_MEMBER_NAME(view,"view"); - HX_MARK_MEMBER_NAME(model,"model"); - HX_MARK_MEMBER_NAME(controller,"controller"); - HX_MARK_END_CLASS(); -} - -void Facade_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(view,"view"); - HX_VISIT_MEMBER_NAME(model,"model"); - HX_VISIT_MEMBER_NAME(controller,"controller"); -} - -Dynamic Facade_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"view") ) { return view; } - break; - case 5: - if (HX_FIELD_EQ(inName,"model") ) { return model; } - break; - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { return instance; } - if (HX_FIELD_EQ(inName,"hasProxy") ) { return hasProxy_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"controller") ) { return controller; } - if (HX_FIELD_EQ(inName,"hasCommand") ) { return hasCommand_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"getInstance") ) { return getInstance_dyn(); } - if (HX_FIELD_EQ(inName,"hasMediator") ) { return hasMediator_dyn(); } - if (HX_FIELD_EQ(inName,"removeProxy") ) { return removeProxy_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"retrieveProxy") ) { return retrieveProxy_dyn(); } - if (HX_FIELD_EQ(inName,"registerProxy") ) { return registerProxy_dyn(); } - if (HX_FIELD_EQ(inName,"removeCommand") ) { return removeCommand_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"removeMediator") ) { return removeMediator_dyn(); } - if (HX_FIELD_EQ(inName,"initializeView") ) { return initializeView_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"notifyObservers") ) { return notifyObservers_dyn(); } - if (HX_FIELD_EQ(inName,"registerCommand") ) { return registerCommand_dyn(); } - if (HX_FIELD_EQ(inName,"initializeModel") ) { return initializeModel_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"sendNotification") ) { return sendNotification_dyn(); } - if (HX_FIELD_EQ(inName,"retrieveMediator") ) { return retrieveMediator_dyn(); } - if (HX_FIELD_EQ(inName,"registerMediator") ) { return registerMediator_dyn(); } - if (HX_FIELD_EQ(inName,"initializeFacade") ) { return initializeFacade_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"initializeController") ) { return initializeController_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Facade_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"view") ) { view=inValue.Cast< ::org::puremvc::haxe::interfaces::IView >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"model") ) { model=inValue.Cast< ::org::puremvc::haxe::interfaces::IModel >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { instance=inValue.Cast< ::org::puremvc::haxe::interfaces::IFacade >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"controller") ) { controller=inValue.Cast< ::org::puremvc::haxe::interfaces::IController >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Facade_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("view")); - outFields->push(HX_CSTRING("model")); - outFields->push(HX_CSTRING("controller")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("getInstance"), - HX_CSTRING("instance"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("view"), - HX_CSTRING("model"), - HX_CSTRING("controller"), - HX_CSTRING("notifyObservers"), - HX_CSTRING("sendNotification"), - HX_CSTRING("hasMediator"), - HX_CSTRING("removeMediator"), - HX_CSTRING("retrieveMediator"), - HX_CSTRING("registerMediator"), - HX_CSTRING("hasProxy"), - HX_CSTRING("removeProxy"), - HX_CSTRING("retrieveProxy"), - HX_CSTRING("registerProxy"), - HX_CSTRING("hasCommand"), - HX_CSTRING("removeCommand"), - HX_CSTRING("registerCommand"), - HX_CSTRING("initializeView"), - HX_CSTRING("initializeModel"), - HX_CSTRING("initializeController"), - HX_CSTRING("initializeFacade"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Facade_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Facade_obj::instance,"instance"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Facade_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Facade_obj::instance,"instance"); -}; - -Class Facade_obj::__mClass; - -void Facade_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.facade.Facade"), hx::TCanCast< Facade_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Facade_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace facade diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/mediator/Mediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/mediator/Mediator.cpp deleted file mode 100644 index 79edfdb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/mediator/Mediator.cpp +++ /dev/null @@ -1,261 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace mediator{ - -Void Mediator_obj::__construct(::String mediatorName,Dynamic viewComponent) -{ -HX_STACK_PUSH("Mediator::new","org/puremvc/haxe/patterns/mediator/Mediator.hx",32); -{ - HX_STACK_LINE(33) - super::__construct(); - HX_STACK_LINE(34) - this->mediatorName = ( (((mediatorName != null()))) ? ::String(mediatorName) : ::String(::org::puremvc::haxe::patterns::mediator::Mediator_obj::NAME) ); - HX_STACK_LINE(35) - if (((viewComponent != null()))){ - HX_STACK_LINE(36) - this->viewComponent = viewComponent; - } -} -; - return null(); -} - -Mediator_obj::~Mediator_obj() { } - -Dynamic Mediator_obj::__CreateEmpty() { return new Mediator_obj; } -hx::ObjectPtr< Mediator_obj > Mediator_obj::__new(::String mediatorName,Dynamic viewComponent) -{ hx::ObjectPtr< Mediator_obj > result = new Mediator_obj(); - result->__construct(mediatorName,viewComponent); - return result;} - -Dynamic Mediator_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Mediator_obj > result = new Mediator_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -hx::Object *Mediator_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IMediator_obj)) return operator ::org::puremvc::haxe::interfaces::IMediator_obj *(); - return super::__ToInterface(inType); -} - -Void Mediator_obj::onRemove( ){ -{ - HX_STACK_PUSH("Mediator::onRemove","org/puremvc/haxe/patterns/mediator/Mediator.hx",96); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Mediator_obj,onRemove,(void)) - -Void Mediator_obj::onRegister( ){ -{ - HX_STACK_PUSH("Mediator::onRegister","org/puremvc/haxe/patterns/mediator/Mediator.hx",89); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Mediator_obj,onRegister,(void)) - -Void Mediator_obj::handleNotification( ::org::puremvc::haxe::interfaces::INotification notification){ -{ - HX_STACK_PUSH("Mediator::handleNotification","org/puremvc/haxe/patterns/mediator/Mediator.hx",81); - HX_STACK_THIS(this); - HX_STACK_ARG(notification,"notification"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Mediator_obj,handleNotification,(void)) - -Array< ::String > Mediator_obj::listNotificationInterests( ){ - HX_STACK_PUSH("Mediator::listNotificationInterests","org/puremvc/haxe/patterns/mediator/Mediator.hx",69); - HX_STACK_THIS(this); - HX_STACK_LINE(69) - return Array_obj< ::String >::__new(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Mediator_obj,listNotificationInterests,return ) - -Dynamic Mediator_obj::getViewComponent( ){ - HX_STACK_PUSH("Mediator::getViewComponent","org/puremvc/haxe/patterns/mediator/Mediator.hx",60); - HX_STACK_THIS(this); - HX_STACK_LINE(60) - return this->viewComponent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Mediator_obj,getViewComponent,return ) - -Void Mediator_obj::setViewComponent( Dynamic viewComponent){ -{ - HX_STACK_PUSH("Mediator::setViewComponent","org/puremvc/haxe/patterns/mediator/Mediator.hx",52); - HX_STACK_THIS(this); - HX_STACK_ARG(viewComponent,"viewComponent"); - HX_STACK_LINE(52) - this->viewComponent = viewComponent; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Mediator_obj,setViewComponent,(void)) - -::String Mediator_obj::getMediatorName( ){ - HX_STACK_PUSH("Mediator::getMediatorName","org/puremvc/haxe/patterns/mediator/Mediator.hx",44); - HX_STACK_THIS(this); - HX_STACK_LINE(44) - return this->mediatorName; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Mediator_obj,getMediatorName,return ) - -::String Mediator_obj::NAME; - - -Mediator_obj::Mediator_obj() -{ -} - -void Mediator_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Mediator); - HX_MARK_MEMBER_NAME(viewComponent,"viewComponent"); - HX_MARK_MEMBER_NAME(mediatorName,"mediatorName"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Mediator_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(viewComponent,"viewComponent"); - HX_VISIT_MEMBER_NAME(mediatorName,"mediatorName"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Mediator_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - break; - case 8: - if (HX_FIELD_EQ(inName,"onRemove") ) { return onRemove_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"onRegister") ) { return onRegister_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"mediatorName") ) { return mediatorName; } - break; - case 13: - if (HX_FIELD_EQ(inName,"viewComponent") ) { return viewComponent; } - break; - case 15: - if (HX_FIELD_EQ(inName,"getMediatorName") ) { return getMediatorName_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"getViewComponent") ) { return getViewComponent_dyn(); } - if (HX_FIELD_EQ(inName,"setViewComponent") ) { return setViewComponent_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"handleNotification") ) { return handleNotification_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"listNotificationInterests") ) { return listNotificationInterests_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Mediator_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"mediatorName") ) { mediatorName=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"viewComponent") ) { viewComponent=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Mediator_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("viewComponent")); - outFields->push(HX_CSTRING("mediatorName")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("viewComponent"), - HX_CSTRING("mediatorName"), - HX_CSTRING("onRemove"), - HX_CSTRING("onRegister"), - HX_CSTRING("handleNotification"), - HX_CSTRING("listNotificationInterests"), - HX_CSTRING("getViewComponent"), - HX_CSTRING("setViewComponent"), - HX_CSTRING("getMediatorName"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Mediator_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Mediator_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Mediator_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Mediator_obj::NAME,"NAME"); -}; - -Class Mediator_obj::__mClass; - -void Mediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.mediator.Mediator"), hx::TCanCast< Mediator_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Mediator_obj::__boot() -{ - NAME= HX_CSTRING("Mediator"); -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace mediator diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/observer/Notification.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/observer/Notification.cpp deleted file mode 100644 index 0c7bc92..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/observer/Notification.cpp +++ /dev/null @@ -1,229 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notification -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace observer{ - -Void Notification_obj::__construct(::String name,Dynamic body,::String type) -{ -HX_STACK_PUSH("Notification::new","org/puremvc/haxe/patterns/observer/Notification.hx",41); -{ - HX_STACK_LINE(42) - this->name = name; - HX_STACK_LINE(43) - if (((body != null()))){ - HX_STACK_LINE(44) - this->body = body; - } - HX_STACK_LINE(45) - if (((type != null()))){ - HX_STACK_LINE(46) - this->type = type; - } -} -; - return null(); -} - -Notification_obj::~Notification_obj() { } - -Dynamic Notification_obj::__CreateEmpty() { return new Notification_obj; } -hx::ObjectPtr< Notification_obj > Notification_obj::__new(::String name,Dynamic body,::String type) -{ hx::ObjectPtr< Notification_obj > result = new Notification_obj(); - result->__construct(name,body,type); - return result;} - -Dynamic Notification_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Notification_obj > result = new Notification_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -hx::Object *Notification_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::INotification_obj)) return operator ::org::puremvc::haxe::interfaces::INotification_obj *(); - return super::__ToInterface(inType); -} - -::String Notification_obj::toString( ){ - HX_STACK_PUSH("Notification::toString","org/puremvc/haxe/patterns/observer/Notification.hx",93); - HX_STACK_THIS(this); - HX_STACK_LINE(94) - ::String msg = (HX_CSTRING("Notification Name: ") + this->getName()); HX_STACK_VAR(msg,"msg"); - HX_STACK_LINE(95) - hx::AddEq(msg,(HX_CSTRING("\nBody:") + (( (((this->body == null()))) ? ::String(HX_CSTRING("null")) : ::String(this->body->toString()) )))); - HX_STACK_LINE(96) - hx::AddEq(msg,(HX_CSTRING("\nType:") + (( (((this->type == null()))) ? ::String(HX_CSTRING("null")) : ::String(this->type) )))); - HX_STACK_LINE(97) - return msg; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Notification_obj,toString,return ) - -::String Notification_obj::getType( ){ - HX_STACK_PUSH("Notification::getType","org/puremvc/haxe/patterns/observer/Notification.hx",85); - HX_STACK_THIS(this); - HX_STACK_LINE(85) - return this->type; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Notification_obj,getType,return ) - -Void Notification_obj::setType( ::String type){ -{ - HX_STACK_PUSH("Notification::setType","org/puremvc/haxe/patterns/observer/Notification.hx",77); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_LINE(77) - this->type = type; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Notification_obj,setType,(void)) - -Dynamic Notification_obj::getBody( ){ - HX_STACK_PUSH("Notification::getBody","org/puremvc/haxe/patterns/observer/Notification.hx",69); - HX_STACK_THIS(this); - HX_STACK_LINE(69) - return this->body; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Notification_obj,getBody,return ) - -Void Notification_obj::setBody( Dynamic body){ -{ - HX_STACK_PUSH("Notification::setBody","org/puremvc/haxe/patterns/observer/Notification.hx",61); - HX_STACK_THIS(this); - HX_STACK_ARG(body,"body"); - HX_STACK_LINE(61) - this->body = body; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Notification_obj,setBody,(void)) - -::String Notification_obj::getName( ){ - HX_STACK_PUSH("Notification::getName","org/puremvc/haxe/patterns/observer/Notification.hx",53); - HX_STACK_THIS(this); - HX_STACK_LINE(53) - return this->name; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Notification_obj,getName,return ) - - -Notification_obj::Notification_obj() -{ -} - -void Notification_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Notification); - HX_MARK_MEMBER_NAME(body,"body"); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_END_CLASS(); -} - -void Notification_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(body,"body"); - HX_VISIT_MEMBER_NAME(type,"type"); - HX_VISIT_MEMBER_NAME(name,"name"); -} - -Dynamic Notification_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"body") ) { return body; } - if (HX_FIELD_EQ(inName,"type") ) { return type; } - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - if (HX_FIELD_EQ(inName,"setType") ) { return setType_dyn(); } - if (HX_FIELD_EQ(inName,"getBody") ) { return getBody_dyn(); } - if (HX_FIELD_EQ(inName,"setBody") ) { return setBody_dyn(); } - if (HX_FIELD_EQ(inName,"getName") ) { return getName_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Notification_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"body") ) { body=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Notification_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("body")); - outFields->push(HX_CSTRING("type")); - outFields->push(HX_CSTRING("name")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("body"), - HX_CSTRING("type"), - HX_CSTRING("name"), - HX_CSTRING("toString"), - HX_CSTRING("getType"), - HX_CSTRING("setType"), - HX_CSTRING("getBody"), - HX_CSTRING("setBody"), - HX_CSTRING("getName"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Notification_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Notification_obj::__mClass,"__mClass"); -}; - -Class Notification_obj::__mClass; - -void Notification_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.observer.Notification"), hx::TCanCast< Notification_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Notification_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace observer diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/observer/Notifier.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/observer/Notifier.cpp deleted file mode 100644 index 5bab7bb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/observer/Notifier.cpp +++ /dev/null @@ -1,143 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_facade_Facade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace observer{ - -Void Notifier_obj::__construct() -{ -HX_STACK_PUSH("Notifier::new","org/puremvc/haxe/patterns/observer/Notifier.hx",33); -{ - HX_STACK_LINE(33) - this->facade = ::org::puremvc::haxe::patterns::facade::Facade_obj::getInstance(); -} -; - return null(); -} - -Notifier_obj::~Notifier_obj() { } - -Dynamic Notifier_obj::__CreateEmpty() { return new Notifier_obj; } -hx::ObjectPtr< Notifier_obj > Notifier_obj::__new() -{ hx::ObjectPtr< Notifier_obj > result = new Notifier_obj(); - result->__construct(); - return result;} - -Dynamic Notifier_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Notifier_obj > result = new Notifier_obj(); - result->__construct(); - return result;} - -hx::Object *Notifier_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::INotifier_obj)) return operator ::org::puremvc::haxe::interfaces::INotifier_obj *(); - return super::__ToInterface(inType); -} - -Void Notifier_obj::sendNotification( ::String notificationName,Dynamic body,::String type){ -{ - HX_STACK_PUSH("Notifier::sendNotification","org/puremvc/haxe/patterns/observer/Notifier.hx",44); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_ARG(body,"body"); - HX_STACK_ARG(type,"type"); - HX_STACK_LINE(44) - this->facade->sendNotification(notificationName,body,type); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Notifier_obj,sendNotification,(void)) - - -Notifier_obj::Notifier_obj() -{ -} - -void Notifier_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Notifier); - HX_MARK_MEMBER_NAME(facade,"facade"); - HX_MARK_END_CLASS(); -} - -void Notifier_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(facade,"facade"); -} - -Dynamic Notifier_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"facade") ) { return facade; } - break; - case 16: - if (HX_FIELD_EQ(inName,"sendNotification") ) { return sendNotification_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Notifier_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"facade") ) { facade=inValue.Cast< ::org::puremvc::haxe::interfaces::IFacade >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Notifier_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("facade")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("facade"), - HX_CSTRING("sendNotification"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Notifier_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Notifier_obj::__mClass,"__mClass"); -}; - -Class Notifier_obj::__mClass; - -void Notifier_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.observer.Notifier"), hx::TCanCast< Notifier_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Notifier_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace observer diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/observer/Observer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/observer/Observer.cpp deleted file mode 100644 index 121fe22..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/observer/Observer.cpp +++ /dev/null @@ -1,224 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IObserver -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Observer -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace observer{ - -Void Observer_obj::__construct(Dynamic notifyMethod,Dynamic notifyContext) -{ -HX_STACK_PUSH("Observer::new","org/puremvc/haxe/patterns/observer/Observer.hx",39); -{ - HX_STACK_LINE(40) - this->setNotifyMethod(notifyMethod); - HX_STACK_LINE(41) - this->setNotifyContext(notifyContext); -} -; - return null(); -} - -Observer_obj::~Observer_obj() { } - -Dynamic Observer_obj::__CreateEmpty() { return new Observer_obj; } -hx::ObjectPtr< Observer_obj > Observer_obj::__new(Dynamic notifyMethod,Dynamic notifyContext) -{ hx::ObjectPtr< Observer_obj > result = new Observer_obj(); - result->__construct(notifyMethod,notifyContext); - return result;} - -Dynamic Observer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Observer_obj > result = new Observer_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -hx::Object *Observer_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IObserver_obj)) return operator ::org::puremvc::haxe::interfaces::IObserver_obj *(); - return super::__ToInterface(inType); -} - -bool Observer_obj::compareNotifyContext( Dynamic object){ - HX_STACK_PUSH("Observer::compareNotifyContext","org/puremvc/haxe/patterns/observer/Observer.hx",90); - HX_STACK_THIS(this); - HX_STACK_ARG(object,"object"); - HX_STACK_LINE(90) - return (object == this->context); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Observer_obj,compareNotifyContext,return ) - -Void Observer_obj::notifyObserver( ::org::puremvc::haxe::interfaces::INotification notification){ -{ - HX_STACK_PUSH("Observer::notifyObserver","org/puremvc/haxe/patterns/observer/Observer.hx",82); - HX_STACK_THIS(this); - HX_STACK_ARG(notification,"notification"); - HX_STACK_LINE(82) - this->getNotifyMethod()(notification).Cast< Void >(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Observer_obj,notifyObserver,(void)) - -Dynamic Observer_obj::getNotifyContext( ){ - HX_STACK_PUSH("Observer::getNotifyContext","org/puremvc/haxe/patterns/observer/Observer.hx",74); - HX_STACK_THIS(this); - HX_STACK_LINE(74) - return this->context; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Observer_obj,getNotifyContext,return ) - -Dynamic Observer_obj::getNotifyMethod( ){ - HX_STACK_PUSH("Observer::getNotifyMethod","org/puremvc/haxe/patterns/observer/Observer.hx",66); - HX_STACK_THIS(this); - HX_STACK_LINE(66) - return this->notify_dyn(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Observer_obj,getNotifyMethod,return ) - -Void Observer_obj::setNotifyContext( Dynamic notifyContext){ -{ - HX_STACK_PUSH("Observer::setNotifyContext","org/puremvc/haxe/patterns/observer/Observer.hx",58); - HX_STACK_THIS(this); - HX_STACK_ARG(notifyContext,"notifyContext"); - HX_STACK_LINE(58) - this->context = notifyContext; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Observer_obj,setNotifyContext,(void)) - -Void Observer_obj::setNotifyMethod( Dynamic notifyMethod){ -{ - HX_STACK_PUSH("Observer::setNotifyMethod","org/puremvc/haxe/patterns/observer/Observer.hx",50); - HX_STACK_THIS(this); - HX_STACK_ARG(notifyMethod,"notifyMethod"); - HX_STACK_LINE(50) - this->notify = notifyMethod; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Observer_obj,setNotifyMethod,(void)) - - -Observer_obj::Observer_obj() -{ -} - -void Observer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Observer); - HX_MARK_MEMBER_NAME(context,"context"); - HX_MARK_MEMBER_NAME(notify,"notify"); - HX_MARK_END_CLASS(); -} - -void Observer_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(context,"context"); - HX_VISIT_MEMBER_NAME(notify,"notify"); -} - -Dynamic Observer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"notify") ) { return notify; } - break; - case 7: - if (HX_FIELD_EQ(inName,"context") ) { return context; } - break; - case 14: - if (HX_FIELD_EQ(inName,"notifyObserver") ) { return notifyObserver_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"getNotifyMethod") ) { return getNotifyMethod_dyn(); } - if (HX_FIELD_EQ(inName,"setNotifyMethod") ) { return setNotifyMethod_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"getNotifyContext") ) { return getNotifyContext_dyn(); } - if (HX_FIELD_EQ(inName,"setNotifyContext") ) { return setNotifyContext_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"compareNotifyContext") ) { return compareNotifyContext_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Observer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"notify") ) { notify=inValue.Cast< Dynamic >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"context") ) { context=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Observer_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("context")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("compareNotifyContext"), - HX_CSTRING("notifyObserver"), - HX_CSTRING("getNotifyContext"), - HX_CSTRING("getNotifyMethod"), - HX_CSTRING("setNotifyContext"), - HX_CSTRING("setNotifyMethod"), - HX_CSTRING("context"), - HX_CSTRING("notify"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Observer_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Observer_obj::__mClass,"__mClass"); -}; - -Class Observer_obj::__mClass; - -void Observer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.observer.Observer"), hx::TCanCast< Observer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Observer_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace observer diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/proxy/Proxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/proxy/Proxy.cpp deleted file mode 100644 index 08af8d3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/org/puremvc/haxe/patterns/proxy/Proxy.cpp +++ /dev/null @@ -1,224 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace proxy{ - -Void Proxy_obj::__construct(::String proxyName,Dynamic data) -{ -HX_STACK_PUSH("Proxy::new","org/puremvc/haxe/patterns/proxy/Proxy.hx",37); -{ - HX_STACK_LINE(38) - super::__construct(); - HX_STACK_LINE(39) - this->proxyName = ( (((proxyName != null()))) ? ::String(proxyName) : ::String(::org::puremvc::haxe::patterns::proxy::Proxy_obj::NAME) ); - HX_STACK_LINE(40) - if (((data != null()))){ - HX_STACK_LINE(40) - this->setData(data); - } -} -; - return null(); -} - -Proxy_obj::~Proxy_obj() { } - -Dynamic Proxy_obj::__CreateEmpty() { return new Proxy_obj; } -hx::ObjectPtr< Proxy_obj > Proxy_obj::__new(::String proxyName,Dynamic data) -{ hx::ObjectPtr< Proxy_obj > result = new Proxy_obj(); - result->__construct(proxyName,data); - return result;} - -Dynamic Proxy_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Proxy_obj > result = new Proxy_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -hx::Object *Proxy_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IProxy_obj)) return operator ::org::puremvc::haxe::interfaces::IProxy_obj *(); - return super::__ToInterface(inType); -} - -Void Proxy_obj::onRemove( ){ -{ - HX_STACK_PUSH("Proxy::onRemove","org/puremvc/haxe/patterns/proxy/Proxy.hx",79); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Proxy_obj,onRemove,(void)) - -Void Proxy_obj::onRegister( ){ -{ - HX_STACK_PUSH("Proxy::onRegister","org/puremvc/haxe/patterns/proxy/Proxy.hx",71); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Proxy_obj,onRegister,(void)) - -Dynamic Proxy_obj::getData( ){ - HX_STACK_PUSH("Proxy::getData","org/puremvc/haxe/patterns/proxy/Proxy.hx",63); - HX_STACK_THIS(this); - HX_STACK_LINE(63) - return this->data; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Proxy_obj,getData,return ) - -Void Proxy_obj::setData( Dynamic data){ -{ - HX_STACK_PUSH("Proxy::setData","org/puremvc/haxe/patterns/proxy/Proxy.hx",55); - HX_STACK_THIS(this); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(55) - this->data = data; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Proxy_obj,setData,(void)) - -::String Proxy_obj::getProxyName( ){ - HX_STACK_PUSH("Proxy::getProxyName","org/puremvc/haxe/patterns/proxy/Proxy.hx",47); - HX_STACK_THIS(this); - HX_STACK_LINE(47) - return this->proxyName; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Proxy_obj,getProxyName,return ) - -::String Proxy_obj::NAME; - - -Proxy_obj::Proxy_obj() -{ -} - -void Proxy_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Proxy); - HX_MARK_MEMBER_NAME(data,"data"); - HX_MARK_MEMBER_NAME(proxyName,"proxyName"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Proxy_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(data,"data"); - HX_VISIT_MEMBER_NAME(proxyName,"proxyName"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Proxy_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - if (HX_FIELD_EQ(inName,"data") ) { return data; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getData") ) { return getData_dyn(); } - if (HX_FIELD_EQ(inName,"setData") ) { return setData_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"onRemove") ) { return onRemove_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"proxyName") ) { return proxyName; } - break; - case 10: - if (HX_FIELD_EQ(inName,"onRegister") ) { return onRegister_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"getProxyName") ) { return getProxyName_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Proxy_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"data") ) { data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"proxyName") ) { proxyName=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Proxy_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("data")); - outFields->push(HX_CSTRING("proxyName")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("data"), - HX_CSTRING("proxyName"), - HX_CSTRING("onRemove"), - HX_CSTRING("onRegister"), - HX_CSTRING("getData"), - HX_CSTRING("setData"), - HX_CSTRING("getProxyName"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Proxy_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Proxy_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Proxy_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Proxy_obj::NAME,"NAME"); -}; - -Class Proxy_obj::__mClass; - -void Proxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.proxy.Proxy"), hx::TCanCast< Proxy_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Proxy_obj::__boot() -{ - NAME= HX_CSTRING("Proxy"); -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace proxy diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/pages/Ptitle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/pages/Ptitle.cpp deleted file mode 100644 index d110c1f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/pages/Ptitle.cpp +++ /dev/null @@ -1,201 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_PageComponent -#include -#endif -#ifndef INCLUDED_haxe_Timer -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_pages_Ptitle -#include -#endif -namespace pages{ - -Void Ptitle_obj::__construct() -{ -HX_STACK_PUSH("Ptitle::new","pages/Ptitle.hx",10); -{ - HX_STACK_LINE(10) - super::__construct(); -} -; - return null(); -} - -Ptitle_obj::~Ptitle_obj() { } - -Dynamic Ptitle_obj::__CreateEmpty() { return new Ptitle_obj; } -hx::ObjectPtr< Ptitle_obj > Ptitle_obj::__new() -{ hx::ObjectPtr< Ptitle_obj > result = new Ptitle_obj(); - result->__construct(); - return result;} - -Dynamic Ptitle_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Ptitle_obj > result = new Ptitle_obj(); - result->__construct(); - return result;} - -Void Ptitle_obj::onTimerTick( ){ -{ - HX_STACK_PUSH("Ptitle::onTimerTick","pages/Ptitle.hx",22); - HX_STACK_THIS(this); - HX_STACK_LINE(23) - ::ca::confidant::glory::view::components::ActorComponent _g = this->star; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(23) - _g->nmeSetRotation((_g->nmeGetRotation() + (int)20)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Ptitle_obj,onTimerTick,(void)) - -Void Ptitle_obj::startTimer( hx::Null< int > __o_i){ -int i = __o_i.Default(50); - HX_STACK_PUSH("Ptitle::startTimer","pages/Ptitle.hx",17); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); -{ - HX_STACK_LINE(19) - this->myTimer = ::haxe::Timer_obj::__new(i); - HX_STACK_LINE(20) - this->myTimer->run = this->onTimerTick_dyn(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Ptitle_obj,startTimer,(void)) - -Void Ptitle_obj::init( ){ -{ - HX_STACK_PUSH("Ptitle::init","pages/Ptitle.hx",13); - HX_STACK_THIS(this); - HX_STACK_LINE(14) - this->star = this->myActors->get(HX_CSTRING("star1")); - HX_STACK_LINE(15) - this->startTimer(null()); - } -return null(); -} - - - -Ptitle_obj::Ptitle_obj() -{ -} - -void Ptitle_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Ptitle); - HX_MARK_MEMBER_NAME(star,"star"); - HX_MARK_MEMBER_NAME(myTimer,"myTimer"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Ptitle_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(star,"star"); - HX_VISIT_MEMBER_NAME(myTimer,"myTimer"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Ptitle_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"init") ) { return init_dyn(); } - if (HX_FIELD_EQ(inName,"star") ) { return star; } - break; - case 7: - if (HX_FIELD_EQ(inName,"myTimer") ) { return myTimer; } - break; - case 10: - if (HX_FIELD_EQ(inName,"startTimer") ) { return startTimer_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"onTimerTick") ) { return onTimerTick_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Ptitle_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"star") ) { star=inValue.Cast< ::ca::confidant::glory::view::components::ActorComponent >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"myTimer") ) { myTimer=inValue.Cast< ::haxe::Timer >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Ptitle_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("star")); - outFields->push(HX_CSTRING("myTimer")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("onTimerTick"), - HX_CSTRING("startTimer"), - HX_CSTRING("init"), - HX_CSTRING("star"), - HX_CSTRING("myTimer"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Ptitle_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Ptitle_obj::__mClass,"__mClass"); -}; - -Class Ptitle_obj::__mClass; - -void Ptitle_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("pages.Ptitle"), hx::TCanCast< Ptitle_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Ptitle_obj::__boot() -{ -} - -} // end namespace pages diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/FileSystem.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/FileSystem.cpp deleted file mode 100644 index 8bd0400..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/FileSystem.cpp +++ /dev/null @@ -1,401 +0,0 @@ -#include - -#ifndef INCLUDED_Date -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_sys_FileSystem -#include -#endif -#ifndef INCLUDED_sys__FileSystem_FileKind -#include -#endif -namespace sys{ - -Void FileSystem_obj::__construct() -{ - return null(); -} - -FileSystem_obj::~FileSystem_obj() { } - -Dynamic FileSystem_obj::__CreateEmpty() { return new FileSystem_obj; } -hx::ObjectPtr< FileSystem_obj > FileSystem_obj::__new() -{ hx::ObjectPtr< FileSystem_obj > result = new FileSystem_obj(); - result->__construct(); - return result;} - -Dynamic FileSystem_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< FileSystem_obj > result = new FileSystem_obj(); - result->__construct(); - return result;} - -bool FileSystem_obj::exists( ::String path){ - HX_STACK_PUSH("FileSystem::exists","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",36); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(36) - return ::sys::FileSystem_obj::sys_exists(path); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,exists,return ) - -Void FileSystem_obj::rename( ::String path,::String newpath){ -{ - HX_STACK_PUSH("FileSystem::rename","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",40); - HX_STACK_ARG(path,"path"); - HX_STACK_ARG(newpath,"newpath"); - HX_STACK_LINE(40) - if (((::sys::FileSystem_obj::sys_rename(path,newpath) == null()))){ - HX_STACK_LINE(42) - hx::Throw ((((HX_CSTRING("Could not rename:") + path) + HX_CSTRING(" to ")) + newpath)); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(FileSystem_obj,rename,(void)) - -Dynamic FileSystem_obj::stat( ::String path){ - HX_STACK_PUSH("FileSystem::stat","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",45); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(46) - Dynamic s = ::sys::FileSystem_obj::sys_stat(path); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(47) - if (((s == null()))){ - struct _Function_2_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",48); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("gid") , (int)0,false); - __result->Add(HX_CSTRING("uid") , (int)0,false); - __result->Add(HX_CSTRING("atime") , ::Date_obj::fromTime((int)0),false); - __result->Add(HX_CSTRING("mtime") , ::Date_obj::fromTime((int)0),false); - __result->Add(HX_CSTRING("ctime") , ::Date_obj::fromTime((int)0),false); - __result->Add(HX_CSTRING("dev") , (int)0,false); - __result->Add(HX_CSTRING("ino") , (int)0,false); - __result->Add(HX_CSTRING("nlink") , (int)0,false); - __result->Add(HX_CSTRING("rdev") , (int)0,false); - __result->Add(HX_CSTRING("size") , (int)0,false); - __result->Add(HX_CSTRING("mode") , (int)0,false); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(48) - return _Function_2_1::Block(); - } - HX_STACK_LINE(49) - s->__FieldRef(HX_CSTRING("atime")) = ::Date_obj::fromTime((1000.0 * s->__Field(HX_CSTRING("atime"),true))); - HX_STACK_LINE(50) - s->__FieldRef(HX_CSTRING("mtime")) = ::Date_obj::fromTime((1000.0 * s->__Field(HX_CSTRING("mtime"),true))); - HX_STACK_LINE(51) - s->__FieldRef(HX_CSTRING("ctime")) = ::Date_obj::fromTime((1000.0 * s->__Field(HX_CSTRING("ctime"),true))); - HX_STACK_LINE(52) - return s; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,stat,return ) - -::String FileSystem_obj::fullPath( ::String relpath){ - HX_STACK_PUSH("FileSystem::fullPath","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",55); - HX_STACK_ARG(relpath,"relpath"); - HX_STACK_LINE(55) - return ::String(::sys::FileSystem_obj::file_full_path(relpath)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,fullPath,return ) - -::sys::_FileSystem::FileKind FileSystem_obj::kind( ::String path){ - HX_STACK_PUSH("FileSystem::kind","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",59); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(60) - ::String k = ::sys::FileSystem_obj::sys_file_type(path); HX_STACK_VAR(k,"k"); - struct _Function_1_1{ - inline static ::sys::_FileSystem::FileKind Block( ::String &k){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",61); - { - HX_STACK_LINE(61) - ::String _switch_1 = (k); - if ( ( _switch_1==HX_CSTRING("file"))){ - HX_STACK_LINE(62) - return ::sys::_FileSystem::FileKind_obj::kfile_dyn(); - } - else if ( ( _switch_1==HX_CSTRING("dir"))){ - HX_STACK_LINE(63) - return ::sys::_FileSystem::FileKind_obj::kdir_dyn(); - } - else { - HX_STACK_LINE(64) - return ::sys::_FileSystem::FileKind_obj::kother(k); - } -; -; - } - return null(); - } - }; - HX_STACK_LINE(61) - return _Function_1_1::Block(k); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,kind,return ) - -bool FileSystem_obj::isDirectory( ::String path){ - HX_STACK_PUSH("FileSystem::isDirectory","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",68); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(68) - return (::sys::FileSystem_obj::kind(path) == ::sys::_FileSystem::FileKind_obj::kdir_dyn()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,isDirectory,return ) - -Void FileSystem_obj::createDirectory( ::String path){ -{ - HX_STACK_PUSH("FileSystem::createDirectory","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",72); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(72) - if (((::sys::FileSystem_obj::sys_create_dir(path,(int)493) == null()))){ - HX_STACK_LINE(74) - hx::Throw ((HX_CSTRING("Could not create directory:") + path)); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,createDirectory,(void)) - -Void FileSystem_obj::deleteFile( ::String path){ -{ - HX_STACK_PUSH("FileSystem::deleteFile","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",77); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(77) - if (((::sys::FileSystem_obj::file_delete(path) == null()))){ - HX_STACK_LINE(79) - hx::Throw ((HX_CSTRING("Could not delete file:") + path)); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,deleteFile,(void)) - -Void FileSystem_obj::deleteDirectory( ::String path){ -{ - HX_STACK_PUSH("FileSystem::deleteDirectory","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",82); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(82) - if (((::sys::FileSystem_obj::sys_remove_dir(path) == null()))){ - HX_STACK_LINE(84) - hx::Throw ((HX_CSTRING("Could not delete directory:") + path)); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,deleteDirectory,(void)) - -Array< ::String > FileSystem_obj::readDirectory( ::String path){ - HX_STACK_PUSH("FileSystem::readDirectory","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",87); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(87) - return ::sys::FileSystem_obj::sys_read_dir(path); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,readDirectory,return ) - -Dynamic FileSystem_obj::sys_exists; - -Dynamic FileSystem_obj::file_delete; - -Dynamic FileSystem_obj::sys_rename; - -Dynamic FileSystem_obj::sys_stat; - -Dynamic FileSystem_obj::sys_file_type; - -Dynamic FileSystem_obj::sys_create_dir; - -Dynamic FileSystem_obj::sys_remove_dir; - -Dynamic FileSystem_obj::sys_read_dir; - -Dynamic FileSystem_obj::file_full_path; - - -FileSystem_obj::FileSystem_obj() -{ -} - -void FileSystem_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(FileSystem); - HX_MARK_END_CLASS(); -} - -void FileSystem_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic FileSystem_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"stat") ) { return stat_dyn(); } - if (HX_FIELD_EQ(inName,"kind") ) { return kind_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"exists") ) { return exists_dyn(); } - if (HX_FIELD_EQ(inName,"rename") ) { return rename_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"fullPath") ) { return fullPath_dyn(); } - if (HX_FIELD_EQ(inName,"sys_stat") ) { return sys_stat; } - break; - case 10: - if (HX_FIELD_EQ(inName,"deleteFile") ) { return deleteFile_dyn(); } - if (HX_FIELD_EQ(inName,"sys_exists") ) { return sys_exists; } - if (HX_FIELD_EQ(inName,"sys_rename") ) { return sys_rename; } - break; - case 11: - if (HX_FIELD_EQ(inName,"isDirectory") ) { return isDirectory_dyn(); } - if (HX_FIELD_EQ(inName,"file_delete") ) { return file_delete; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sys_read_dir") ) { return sys_read_dir; } - break; - case 13: - if (HX_FIELD_EQ(inName,"readDirectory") ) { return readDirectory_dyn(); } - if (HX_FIELD_EQ(inName,"sys_file_type") ) { return sys_file_type; } - break; - case 14: - if (HX_FIELD_EQ(inName,"sys_create_dir") ) { return sys_create_dir; } - if (HX_FIELD_EQ(inName,"sys_remove_dir") ) { return sys_remove_dir; } - if (HX_FIELD_EQ(inName,"file_full_path") ) { return file_full_path; } - break; - case 15: - if (HX_FIELD_EQ(inName,"createDirectory") ) { return createDirectory_dyn(); } - if (HX_FIELD_EQ(inName,"deleteDirectory") ) { return deleteDirectory_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic FileSystem_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"sys_stat") ) { sys_stat=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"sys_exists") ) { sys_exists=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"sys_rename") ) { sys_rename=inValue.Cast< Dynamic >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"file_delete") ) { file_delete=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sys_read_dir") ) { sys_read_dir=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"sys_file_type") ) { sys_file_type=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"sys_create_dir") ) { sys_create_dir=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"sys_remove_dir") ) { sys_remove_dir=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_full_path") ) { file_full_path=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void FileSystem_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("exists"), - HX_CSTRING("rename"), - HX_CSTRING("stat"), - HX_CSTRING("fullPath"), - HX_CSTRING("kind"), - HX_CSTRING("isDirectory"), - HX_CSTRING("createDirectory"), - HX_CSTRING("deleteFile"), - HX_CSTRING("deleteDirectory"), - HX_CSTRING("readDirectory"), - HX_CSTRING("sys_exists"), - HX_CSTRING("file_delete"), - HX_CSTRING("sys_rename"), - HX_CSTRING("sys_stat"), - HX_CSTRING("sys_file_type"), - HX_CSTRING("sys_create_dir"), - HX_CSTRING("sys_remove_dir"), - HX_CSTRING("sys_read_dir"), - HX_CSTRING("file_full_path"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FileSystem_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_exists,"sys_exists"); - HX_MARK_MEMBER_NAME(FileSystem_obj::file_delete,"file_delete"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_rename,"sys_rename"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_stat,"sys_stat"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_file_type,"sys_file_type"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_create_dir,"sys_create_dir"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_remove_dir,"sys_remove_dir"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_read_dir,"sys_read_dir"); - HX_MARK_MEMBER_NAME(FileSystem_obj::file_full_path,"file_full_path"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FileSystem_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_exists,"sys_exists"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::file_delete,"file_delete"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_rename,"sys_rename"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_stat,"sys_stat"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_file_type,"sys_file_type"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_create_dir,"sys_create_dir"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_remove_dir,"sys_remove_dir"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_read_dir,"sys_read_dir"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::file_full_path,"file_full_path"); -}; - -Class FileSystem_obj::__mClass; - -void FileSystem_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.FileSystem"), hx::TCanCast< FileSystem_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void FileSystem_obj::__boot() -{ - sys_exists= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_exists"),(int)1); - file_delete= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_delete"),(int)1); - sys_rename= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_rename"),(int)2); - sys_stat= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_stat"),(int)1); - sys_file_type= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_file_type"),(int)1); - sys_create_dir= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_create_dir"),(int)2); - sys_remove_dir= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_remove_dir"),(int)1); - sys_read_dir= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_read_dir"),(int)1); - file_full_path= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_full_path"),(int)1); -} - -} // end namespace sys diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/_FileSystem/FileKind.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/_FileSystem/FileKind.cpp deleted file mode 100644 index f5fd6c7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/_FileSystem/FileKind.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_sys__FileSystem_FileKind -#include -#endif -namespace sys{ -namespace _FileSystem{ - -::sys::_FileSystem::FileKind FileKind_obj::kdir; - -::sys::_FileSystem::FileKind FileKind_obj::kfile; - -::sys::_FileSystem::FileKind FileKind_obj::kother(::String k) - { return hx::CreateEnum< FileKind_obj >(HX_CSTRING("kother"),2,hx::DynamicArray(0,1).Add(k)); } - -HX_DEFINE_CREATE_ENUM(FileKind_obj) - -int FileKind_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("kdir")) return 0; - if (inName==HX_CSTRING("kfile")) return 1; - if (inName==HX_CSTRING("kother")) return 2; - return super::__FindIndex(inName); -} - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileKind_obj,kother,return) - -int FileKind_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("kdir")) return 0; - if (inName==HX_CSTRING("kfile")) return 0; - if (inName==HX_CSTRING("kother")) return 1; - return super::__FindArgCount(inName); -} - -Dynamic FileKind_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("kdir")) return kdir; - if (inName==HX_CSTRING("kfile")) return kfile; - if (inName==HX_CSTRING("kother")) return kother_dyn(); - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("kdir"), - HX_CSTRING("kfile"), - HX_CSTRING("kother"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FileKind_obj::kdir,"kdir"); - HX_MARK_MEMBER_NAME(FileKind_obj::kfile,"kfile"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FileKind_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FileKind_obj::kdir,"kdir"); - HX_VISIT_MEMBER_NAME(FileKind_obj::kfile,"kfile"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class FileKind_obj::__mClass; - -Dynamic __Create_FileKind_obj() { return new FileKind_obj; } - -void FileKind_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys._FileSystem.FileKind"), hx::TCanCast< FileKind_obj >,sStaticFields,sMemberFields, - &__Create_FileKind_obj, &__Create, - &super::__SGetClass(), &CreateFileKind_obj, sMarkStatics, sVisitStatic); -} - -void FileKind_obj::__boot() -{ -Static(kdir) = hx::CreateEnum< FileKind_obj >(HX_CSTRING("kdir"),0); -Static(kfile) = hx::CreateEnum< FileKind_obj >(HX_CSTRING("kfile"),1); -} - - -} // end namespace sys -} // end namespace _FileSystem diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/File.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/File.cpp deleted file mode 100644 index c8dce27..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/File.cpp +++ /dev/null @@ -1,281 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -#ifndef INCLUDED_haxe_io_Output -#include -#endif -#ifndef INCLUDED_sys_io_File -#include -#endif -#ifndef INCLUDED_sys_io_FileInput -#include -#endif -#ifndef INCLUDED_sys_io_FileOutput -#include -#endif -namespace sys{ -namespace io{ - -Void File_obj::__construct() -{ - return null(); -} - -File_obj::~File_obj() { } - -Dynamic File_obj::__CreateEmpty() { return new File_obj; } -hx::ObjectPtr< File_obj > File_obj::__new() -{ hx::ObjectPtr< File_obj > result = new File_obj(); - result->__construct(); - return result;} - -Dynamic File_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< File_obj > result = new File_obj(); - result->__construct(); - return result;} - -::String File_obj::getContent( ::String path){ - HX_STACK_PUSH("File::getContent","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",30); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(31) - ::haxe::io::Bytes b = ::sys::io::File_obj::getBytes(path); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(32) - return b->toString(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(File_obj,getContent,return ) - -::haxe::io::Bytes File_obj::getBytes( ::String path){ - HX_STACK_PUSH("File::getBytes","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",35); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(36) - Array< unsigned char > data = ::sys::io::File_obj::file_contents(path); HX_STACK_VAR(data,"data"); - HX_STACK_LINE(37) - return ::haxe::io::Bytes_obj::ofData(data); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(File_obj,getBytes,return ) - -Void File_obj::saveContent( ::String path,::String content){ -{ - HX_STACK_PUSH("File::saveContent","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",40); - HX_STACK_ARG(path,"path"); - HX_STACK_ARG(content,"content"); - HX_STACK_LINE(41) - ::sys::io::FileOutput f = ::sys::io::File_obj::write(path,null()); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(42) - f->writeString(content); - HX_STACK_LINE(43) - f->close(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(File_obj,saveContent,(void)) - -Void File_obj::saveBytes( ::String path,::haxe::io::Bytes bytes){ -{ - HX_STACK_PUSH("File::saveBytes","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",46); - HX_STACK_ARG(path,"path"); - HX_STACK_ARG(bytes,"bytes"); - HX_STACK_LINE(47) - ::sys::io::FileOutput f = ::sys::io::File_obj::write(path,null()); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(48) - f->write(bytes); - HX_STACK_LINE(49) - f->close(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(File_obj,saveBytes,(void)) - -::sys::io::FileInput File_obj::read( ::String path,hx::Null< bool > __o_binary){ -bool binary = __o_binary.Default(true); - HX_STACK_PUSH("File::read","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",52); - HX_STACK_ARG(path,"path"); - HX_STACK_ARG(binary,"binary"); -{ - HX_STACK_LINE(52) - return ::sys::io::FileInput_obj::__new(::sys::io::File_obj::file_open(path,( ((binary)) ? ::String(HX_CSTRING("rb")) : ::String(HX_CSTRING("r")) ))); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(File_obj,read,return ) - -::sys::io::FileOutput File_obj::write( ::String path,hx::Null< bool > __o_binary){ -bool binary = __o_binary.Default(true); - HX_STACK_PUSH("File::write","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",56); - HX_STACK_ARG(path,"path"); - HX_STACK_ARG(binary,"binary"); -{ - HX_STACK_LINE(56) - return ::sys::io::FileOutput_obj::__new(::sys::io::File_obj::file_open(path,( ((binary)) ? ::String(HX_CSTRING("wb")) : ::String(HX_CSTRING("w")) ))); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(File_obj,write,return ) - -::sys::io::FileOutput File_obj::append( ::String path,hx::Null< bool > __o_binary){ -bool binary = __o_binary.Default(true); - HX_STACK_PUSH("File::append","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",60); - HX_STACK_ARG(path,"path"); - HX_STACK_ARG(binary,"binary"); -{ - HX_STACK_LINE(60) - return ::sys::io::FileOutput_obj::__new(::sys::io::File_obj::file_open(path,( ((binary)) ? ::String(HX_CSTRING("ab")) : ::String(HX_CSTRING("a")) ))); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(File_obj,append,return ) - -Void File_obj::copy( ::String src,::String dst){ -{ - HX_STACK_PUSH("File::copy","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",64); - HX_STACK_ARG(src,"src"); - HX_STACK_ARG(dst,"dst"); - HX_STACK_LINE(65) - ::sys::io::FileInput s = ::sys::io::File_obj::read(src,true); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(66) - ::sys::io::FileOutput d = ::sys::io::File_obj::write(dst,true); HX_STACK_VAR(d,"d"); - HX_STACK_LINE(67) - d->writeInput(s,null()); - HX_STACK_LINE(68) - s->close(); - HX_STACK_LINE(69) - d->close(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(File_obj,copy,(void)) - -Dynamic File_obj::file_contents; - -Dynamic File_obj::file_open; - - -File_obj::File_obj() -{ -} - -void File_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(File); - HX_MARK_END_CLASS(); -} - -void File_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic File_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"read") ) { return read_dyn(); } - if (HX_FIELD_EQ(inName,"copy") ) { return copy_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"write") ) { return write_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"append") ) { return append_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"getBytes") ) { return getBytes_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"saveBytes") ) { return saveBytes_dyn(); } - if (HX_FIELD_EQ(inName,"file_open") ) { return file_open; } - break; - case 10: - if (HX_FIELD_EQ(inName,"getContent") ) { return getContent_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"saveContent") ) { return saveContent_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"file_contents") ) { return file_contents; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic File_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"file_open") ) { file_open=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"file_contents") ) { file_contents=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void File_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("getContent"), - HX_CSTRING("getBytes"), - HX_CSTRING("saveContent"), - HX_CSTRING("saveBytes"), - HX_CSTRING("read"), - HX_CSTRING("write"), - HX_CSTRING("append"), - HX_CSTRING("copy"), - HX_CSTRING("file_contents"), - HX_CSTRING("file_open"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(File_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(File_obj::file_contents,"file_contents"); - HX_MARK_MEMBER_NAME(File_obj::file_open,"file_open"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(File_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(File_obj::file_contents,"file_contents"); - HX_VISIT_MEMBER_NAME(File_obj::file_open,"file_open"); -}; - -Class File_obj::__mClass; - -void File_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io.File"), hx::TCanCast< File_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void File_obj::__boot() -{ - file_contents= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_contents"),(int)1); - file_open= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_open"),(int)2); -} - -} // end namespace sys -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/FileInput.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/FileInput.cpp deleted file mode 100644 index 41f0aee..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/FileInput.cpp +++ /dev/null @@ -1,312 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Eof -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -#ifndef INCLUDED_sys_io_FileInput -#include -#endif -#ifndef INCLUDED_sys_io_FileSeek -#include -#endif -namespace sys{ -namespace io{ - -Void FileInput_obj::__construct(Dynamic f) -{ -HX_STACK_PUSH("FileInput::new","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",33); -{ - HX_STACK_LINE(33) - this->__f = f; -} -; - return null(); -} - -FileInput_obj::~FileInput_obj() { } - -Dynamic FileInput_obj::__CreateEmpty() { return new FileInput_obj; } -hx::ObjectPtr< FileInput_obj > FileInput_obj::__new(Dynamic f) -{ hx::ObjectPtr< FileInput_obj > result = new FileInput_obj(); - result->__construct(f); - return result;} - -Dynamic FileInput_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< FileInput_obj > result = new FileInput_obj(); - result->__construct(inArgs[0]); - return result;} - -bool FileInput_obj::eof( ){ - HX_STACK_PUSH("FileInput::eof","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",73); - HX_STACK_THIS(this); - HX_STACK_LINE(73) - return ::sys::io::FileInput_obj::file_eof(this->__f); -} - - -HX_DEFINE_DYNAMIC_FUNC0(FileInput_obj,eof,return ) - -int FileInput_obj::tell( ){ - HX_STACK_PUSH("FileInput::tell","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",68); - HX_STACK_THIS(this); - HX_STACK_LINE(68) - return ::sys::io::FileInput_obj::file_tell(this->__f); -} - - -HX_DEFINE_DYNAMIC_FUNC0(FileInput_obj,tell,return ) - -Void FileInput_obj::seek( int p,::sys::io::FileSeek pos){ -{ - HX_STACK_PUSH("FileInput::seek","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",64); - HX_STACK_THIS(this); - HX_STACK_ARG(p,"p"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(64) - ::sys::io::FileInput_obj::file_seek(this->__f,p,( (((pos == ::sys::io::FileSeek_obj::SeekBegin_dyn()))) ? int((int)0) : int(( (((pos == ::sys::io::FileSeek_obj::SeekCur_dyn()))) ? int((int)1) : int((int)2) )) )); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(FileInput_obj,seek,(void)) - -Void FileInput_obj::close( ){ -{ - HX_STACK_PUSH("FileInput::close","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",59); - HX_STACK_THIS(this); - HX_STACK_LINE(60) - this->super::close(); - HX_STACK_LINE(61) - ::sys::io::FileInput_obj::file_close(this->__f); - } -return null(); -} - - -int FileInput_obj::readBytes( ::haxe::io::Bytes s,int p,int l){ - HX_STACK_PUSH("FileInput::readBytes","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",48); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(p,"p"); - HX_STACK_ARG(l,"l"); - struct _Function_1_1{ - inline static int Block( ::sys::io::FileInput_obj *__this,::haxe::io::Bytes &s,int &p,int &l){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",49); - { - HX_STACK_LINE(49) - try{ - HX_STACK_LINE(49) - return ::sys::io::FileInput_obj::file_read(__this->__f,s->b,p,l); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(51) - return ( ((e->__IsArray())) ? int(hx::Throw (::haxe::io::Eof_obj::__new())) : int(hx::Throw (::haxe::io::Error_obj::Custom(e))) ); - } - } - } - } - return null(); - } - }; - HX_STACK_LINE(48) - return _Function_1_1::Block(this,s,p,l); -} - - -int FileInput_obj::readByte( ){ - HX_STACK_PUSH("FileInput::readByte","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",37); - HX_STACK_THIS(this); - struct _Function_1_1{ - inline static int Block( ::sys::io::FileInput_obj *__this){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",38); - { - HX_STACK_LINE(38) - try{ - HX_STACK_LINE(38) - return ::sys::io::FileInput_obj::file_read_char(__this->__f); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(40) - return ( ((e->__IsArray())) ? int(hx::Throw (::haxe::io::Eof_obj::__new())) : int(hx::Throw (::haxe::io::Error_obj::Custom(e))) ); - } - } - } - } - return null(); - } - }; - HX_STACK_LINE(37) - return _Function_1_1::Block(this); -} - - -Dynamic FileInput_obj::file_eof; - -Dynamic FileInput_obj::file_read; - -Dynamic FileInput_obj::file_read_char; - -Dynamic FileInput_obj::file_close; - -Dynamic FileInput_obj::file_seek; - -Dynamic FileInput_obj::file_tell; - - -FileInput_obj::FileInput_obj() -{ -} - -void FileInput_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(FileInput); - HX_MARK_MEMBER_NAME(__f,"__f"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void FileInput_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(__f,"__f"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic FileInput_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"eof") ) { return eof_dyn(); } - if (HX_FIELD_EQ(inName,"__f") ) { return __f; } - break; - case 4: - if (HX_FIELD_EQ(inName,"tell") ) { return tell_dyn(); } - if (HX_FIELD_EQ(inName,"seek") ) { return seek_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"file_eof") ) { return file_eof; } - if (HX_FIELD_EQ(inName,"readByte") ) { return readByte_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"file_read") ) { return file_read; } - if (HX_FIELD_EQ(inName,"file_seek") ) { return file_seek; } - if (HX_FIELD_EQ(inName,"file_tell") ) { return file_tell; } - if (HX_FIELD_EQ(inName,"readBytes") ) { return readBytes_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"file_close") ) { return file_close; } - break; - case 14: - if (HX_FIELD_EQ(inName,"file_read_char") ) { return file_read_char; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic FileInput_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__f") ) { __f=inValue.Cast< Dynamic >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"file_eof") ) { file_eof=inValue.Cast< Dynamic >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"file_read") ) { file_read=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_seek") ) { file_seek=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_tell") ) { file_tell=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"file_close") ) { file_close=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"file_read_char") ) { file_read_char=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void FileInput_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__f")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("file_eof"), - HX_CSTRING("file_read"), - HX_CSTRING("file_read_char"), - HX_CSTRING("file_close"), - HX_CSTRING("file_seek"), - HX_CSTRING("file_tell"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("eof"), - HX_CSTRING("tell"), - HX_CSTRING("seek"), - HX_CSTRING("close"), - HX_CSTRING("readBytes"), - HX_CSTRING("readByte"), - HX_CSTRING("__f"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FileInput_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(FileInput_obj::file_eof,"file_eof"); - HX_MARK_MEMBER_NAME(FileInput_obj::file_read,"file_read"); - HX_MARK_MEMBER_NAME(FileInput_obj::file_read_char,"file_read_char"); - HX_MARK_MEMBER_NAME(FileInput_obj::file_close,"file_close"); - HX_MARK_MEMBER_NAME(FileInput_obj::file_seek,"file_seek"); - HX_MARK_MEMBER_NAME(FileInput_obj::file_tell,"file_tell"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FileInput_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FileInput_obj::file_eof,"file_eof"); - HX_VISIT_MEMBER_NAME(FileInput_obj::file_read,"file_read"); - HX_VISIT_MEMBER_NAME(FileInput_obj::file_read_char,"file_read_char"); - HX_VISIT_MEMBER_NAME(FileInput_obj::file_close,"file_close"); - HX_VISIT_MEMBER_NAME(FileInput_obj::file_seek,"file_seek"); - HX_VISIT_MEMBER_NAME(FileInput_obj::file_tell,"file_tell"); -}; - -Class FileInput_obj::__mClass; - -void FileInput_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io.FileInput"), hx::TCanCast< FileInput_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void FileInput_obj::__boot() -{ - file_eof= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_eof"),(int)1); - file_read= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_read"),(int)4); - file_read_char= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_read_char"),(int)1); - file_close= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_close"),(int)1); - file_seek= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_seek"),(int)3); - file_tell= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_tell"),(int)1); -} - -} // end namespace sys -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/FileOutput.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/FileOutput.cpp deleted file mode 100644 index cdfd958..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/FileOutput.cpp +++ /dev/null @@ -1,300 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -#ifndef INCLUDED_haxe_io_Output -#include -#endif -#ifndef INCLUDED_sys_io_FileOutput -#include -#endif -#ifndef INCLUDED_sys_io_FileSeek -#include -#endif -namespace sys{ -namespace io{ - -Void FileOutput_obj::__construct(Dynamic f) -{ -HX_STACK_PUSH("FileOutput::new","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",33); -{ - HX_STACK_LINE(33) - this->__f = f; -} -; - return null(); -} - -FileOutput_obj::~FileOutput_obj() { } - -Dynamic FileOutput_obj::__CreateEmpty() { return new FileOutput_obj; } -hx::ObjectPtr< FileOutput_obj > FileOutput_obj::__new(Dynamic f) -{ hx::ObjectPtr< FileOutput_obj > result = new FileOutput_obj(); - result->__construct(f); - return result;} - -Dynamic FileOutput_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< FileOutput_obj > result = new FileOutput_obj(); - result->__construct(inArgs[0]); - return result;} - -int FileOutput_obj::tell( ){ - HX_STACK_PUSH("FileOutput::tell","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",58); - HX_STACK_THIS(this); - HX_STACK_LINE(58) - return ::sys::io::FileOutput_obj::file_tell(this->__f); -} - - -HX_DEFINE_DYNAMIC_FUNC0(FileOutput_obj,tell,return ) - -Void FileOutput_obj::seek( int p,::sys::io::FileSeek pos){ -{ - HX_STACK_PUSH("FileOutput::seek","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",54); - HX_STACK_THIS(this); - HX_STACK_ARG(p,"p"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(54) - ::sys::io::FileOutput_obj::file_seek(this->__f,p,( (((pos == ::sys::io::FileSeek_obj::SeekBegin_dyn()))) ? int((int)0) : int(( (((pos == ::sys::io::FileSeek_obj::SeekCur_dyn()))) ? int((int)1) : int((int)2) )) )); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(FileOutput_obj,seek,(void)) - -Void FileOutput_obj::close( ){ -{ - HX_STACK_PUSH("FileOutput::close","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",49); - HX_STACK_THIS(this); - HX_STACK_LINE(50) - this->super::close(); - HX_STACK_LINE(51) - ::sys::io::FileOutput_obj::file_close(this->__f); - } -return null(); -} - - -Void FileOutput_obj::flush( ){ -{ - HX_STACK_PUSH("FileOutput::flush","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",45); - HX_STACK_THIS(this); - HX_STACK_LINE(45) - ::sys::io::FileOutput_obj::file_flush(this->__f); - } -return null(); -} - - -int FileOutput_obj::writeBytes( ::haxe::io::Bytes s,int p,int l){ - HX_STACK_PUSH("FileOutput::writeBytes","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",41); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(p,"p"); - HX_STACK_ARG(l,"l"); - struct _Function_1_1{ - inline static int Block( ::sys::io::FileOutput_obj *__this,::haxe::io::Bytes &s,int &p,int &l){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",42); - { - HX_STACK_LINE(42) - try{ - HX_STACK_LINE(42) - return ::sys::io::FileOutput_obj::file_write(__this->__f,s->b,p,l); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(42) - return hx::Throw (::haxe::io::Error_obj::Custom(e)); - } - } - } - } - return null(); - } - }; - HX_STACK_LINE(41) - return _Function_1_1::Block(this,s,p,l); -} - - -Void FileOutput_obj::writeByte( int c){ -{ - HX_STACK_PUSH("FileOutput::writeByte","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(37) - try{ - HX_STACK_LINE(38) - ::sys::io::FileOutput_obj::file_write_char(this->__f,c); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(38) - hx::Throw (::haxe::io::Error_obj::Custom(e)); - } - } - } - } -return null(); -} - - -Dynamic FileOutput_obj::file_close; - -Dynamic FileOutput_obj::file_seek; - -Dynamic FileOutput_obj::file_tell; - -Dynamic FileOutput_obj::file_flush; - -Dynamic FileOutput_obj::file_write; - -Dynamic FileOutput_obj::file_write_char; - - -FileOutput_obj::FileOutput_obj() -{ -} - -void FileOutput_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(FileOutput); - HX_MARK_MEMBER_NAME(__f,"__f"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void FileOutput_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(__f,"__f"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic FileOutput_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__f") ) { return __f; } - break; - case 4: - if (HX_FIELD_EQ(inName,"tell") ) { return tell_dyn(); } - if (HX_FIELD_EQ(inName,"seek") ) { return seek_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"flush") ) { return flush_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"file_seek") ) { return file_seek; } - if (HX_FIELD_EQ(inName,"file_tell") ) { return file_tell; } - if (HX_FIELD_EQ(inName,"writeByte") ) { return writeByte_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"file_close") ) { return file_close; } - if (HX_FIELD_EQ(inName,"file_flush") ) { return file_flush; } - if (HX_FIELD_EQ(inName,"file_write") ) { return file_write; } - if (HX_FIELD_EQ(inName,"writeBytes") ) { return writeBytes_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"file_write_char") ) { return file_write_char; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic FileOutput_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__f") ) { __f=inValue.Cast< Dynamic >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"file_seek") ) { file_seek=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_tell") ) { file_tell=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"file_close") ) { file_close=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_flush") ) { file_flush=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_write") ) { file_write=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"file_write_char") ) { file_write_char=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void FileOutput_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__f")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("file_close"), - HX_CSTRING("file_seek"), - HX_CSTRING("file_tell"), - HX_CSTRING("file_flush"), - HX_CSTRING("file_write"), - HX_CSTRING("file_write_char"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("tell"), - HX_CSTRING("seek"), - HX_CSTRING("close"), - HX_CSTRING("flush"), - HX_CSTRING("writeBytes"), - HX_CSTRING("writeByte"), - HX_CSTRING("__f"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FileOutput_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(FileOutput_obj::file_close,"file_close"); - HX_MARK_MEMBER_NAME(FileOutput_obj::file_seek,"file_seek"); - HX_MARK_MEMBER_NAME(FileOutput_obj::file_tell,"file_tell"); - HX_MARK_MEMBER_NAME(FileOutput_obj::file_flush,"file_flush"); - HX_MARK_MEMBER_NAME(FileOutput_obj::file_write,"file_write"); - HX_MARK_MEMBER_NAME(FileOutput_obj::file_write_char,"file_write_char"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FileOutput_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FileOutput_obj::file_close,"file_close"); - HX_VISIT_MEMBER_NAME(FileOutput_obj::file_seek,"file_seek"); - HX_VISIT_MEMBER_NAME(FileOutput_obj::file_tell,"file_tell"); - HX_VISIT_MEMBER_NAME(FileOutput_obj::file_flush,"file_flush"); - HX_VISIT_MEMBER_NAME(FileOutput_obj::file_write,"file_write"); - HX_VISIT_MEMBER_NAME(FileOutput_obj::file_write_char,"file_write_char"); -}; - -Class FileOutput_obj::__mClass; - -void FileOutput_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io.FileOutput"), hx::TCanCast< FileOutput_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void FileOutput_obj::__boot() -{ - file_close= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_close"),(int)1); - file_seek= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_seek"),(int)3); - file_tell= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_tell"),(int)1); - file_flush= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_flush"),(int)1); - file_write= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_write"),(int)4); - file_write_char= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_write_char"),(int)2); -} - -} // end namespace sys -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/FileSeek.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/FileSeek.cpp deleted file mode 100644 index 4719ccd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/FileSeek.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_sys_io_FileSeek -#include -#endif -namespace sys{ -namespace io{ - -::sys::io::FileSeek FileSeek_obj::SeekBegin; - -::sys::io::FileSeek FileSeek_obj::SeekCur; - -::sys::io::FileSeek FileSeek_obj::SeekEnd; - -HX_DEFINE_CREATE_ENUM(FileSeek_obj) - -int FileSeek_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("SeekBegin")) return 0; - if (inName==HX_CSTRING("SeekCur")) return 1; - if (inName==HX_CSTRING("SeekEnd")) return 2; - return super::__FindIndex(inName); -} - -int FileSeek_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("SeekBegin")) return 0; - if (inName==HX_CSTRING("SeekCur")) return 0; - if (inName==HX_CSTRING("SeekEnd")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic FileSeek_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("SeekBegin")) return SeekBegin; - if (inName==HX_CSTRING("SeekCur")) return SeekCur; - if (inName==HX_CSTRING("SeekEnd")) return SeekEnd; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("SeekBegin"), - HX_CSTRING("SeekCur"), - HX_CSTRING("SeekEnd"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FileSeek_obj::SeekBegin,"SeekBegin"); - HX_MARK_MEMBER_NAME(FileSeek_obj::SeekCur,"SeekCur"); - HX_MARK_MEMBER_NAME(FileSeek_obj::SeekEnd,"SeekEnd"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FileSeek_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FileSeek_obj::SeekBegin,"SeekBegin"); - HX_VISIT_MEMBER_NAME(FileSeek_obj::SeekCur,"SeekCur"); - HX_VISIT_MEMBER_NAME(FileSeek_obj::SeekEnd,"SeekEnd"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class FileSeek_obj::__mClass; - -Dynamic __Create_FileSeek_obj() { return new FileSeek_obj; } - -void FileSeek_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io.FileSeek"), hx::TCanCast< FileSeek_obj >,sStaticFields,sMemberFields, - &__Create_FileSeek_obj, &__Create, - &super::__SGetClass(), &CreateFileSeek_obj, sMarkStatics, sVisitStatic); -} - -void FileSeek_obj::__boot() -{ -Static(SeekBegin) = hx::CreateEnum< FileSeek_obj >(HX_CSTRING("SeekBegin"),0); -Static(SeekCur) = hx::CreateEnum< FileSeek_obj >(HX_CSTRING("SeekCur"),1); -Static(SeekEnd) = hx::CreateEnum< FileSeek_obj >(HX_CSTRING("SeekEnd"),2); -} - - -} // end namespace sys -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/Process.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/Process.cpp deleted file mode 100644 index 99dbbd5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/Process.cpp +++ /dev/null @@ -1,263 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -#ifndef INCLUDED_haxe_io_Output -#include -#endif -#ifndef INCLUDED_sys_io_Process -#include -#endif -#ifndef INCLUDED_sys_io__Process_Stdin -#include -#endif -#ifndef INCLUDED_sys_io__Process_Stdout -#include -#endif -namespace sys{ -namespace io{ - -Void Process_obj::__construct(::String cmd,Array< ::String > args) -{ -HX_STACK_PUSH("Process::new","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",103); -{ - struct _Function_1_1{ - inline static Dynamic Block( ::String &cmd,Array< ::String > &args){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",104); - { - HX_STACK_LINE(104) - try{ - HX_STACK_LINE(104) - return ::sys::io::Process_obj::_run(cmd,args); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(104) - return hx::Throw ((HX_CSTRING("Process creation failure : ") + cmd)); - } - } - } - } - return null(); - } - }; - HX_STACK_LINE(104) - this->p = _Function_1_1::Block(cmd,args); - HX_STACK_LINE(105) - this->_stdin = ::sys::io::_Process::Stdin_obj::__new(this->p); - HX_STACK_LINE(106) - this->_stdout = ::sys::io::_Process::Stdout_obj::__new(this->p,true); - HX_STACK_LINE(107) - this->_stderr = ::sys::io::_Process::Stdout_obj::__new(this->p,false); -} -; - return null(); -} - -Process_obj::~Process_obj() { } - -Dynamic Process_obj::__CreateEmpty() { return new Process_obj; } -hx::ObjectPtr< Process_obj > Process_obj::__new(::String cmd,Array< ::String > args) -{ hx::ObjectPtr< Process_obj > result = new Process_obj(); - result->__construct(cmd,args); - return result;} - -Dynamic Process_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Process_obj > result = new Process_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -Void Process_obj::kill( ){ -{ - HX_STACK_PUSH("Process::kill","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",122); - HX_STACK_THIS(this); - HX_STACK_LINE(122) - hx::Throw (HX_CSTRING("Not implemented")); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Process_obj,kill,(void)) - -Void Process_obj::close( ){ -{ - HX_STACK_PUSH("Process::close","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",118); - HX_STACK_THIS(this); - HX_STACK_LINE(118) - ::sys::io::Process_obj::_close(this->p); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Process_obj,close,(void)) - -int Process_obj::exitCode( ){ - HX_STACK_PUSH("Process::exitCode","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",114); - HX_STACK_THIS(this); - HX_STACK_LINE(114) - return ::sys::io::Process_obj::_exit(this->p); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Process_obj,exitCode,return ) - -int Process_obj::getPid( ){ - HX_STACK_PUSH("Process::getPid","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",110); - HX_STACK_THIS(this); - HX_STACK_LINE(110) - return ::sys::io::Process_obj::_pid(this->p); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Process_obj,getPid,return ) - -Dynamic Process_obj::_run; - -Dynamic Process_obj::_exit; - -Dynamic Process_obj::_pid; - -Dynamic Process_obj::_close; - - -Process_obj::Process_obj() -{ -} - -void Process_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Process); - HX_MARK_MEMBER_NAME(_stdin,"stdin"); - HX_MARK_MEMBER_NAME(_stderr,"stderr"); - HX_MARK_MEMBER_NAME(_stdout,"stdout"); - HX_MARK_MEMBER_NAME(p,"p"); - HX_MARK_END_CLASS(); -} - -void Process_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(_stdin,"stdin"); - HX_VISIT_MEMBER_NAME(_stderr,"stderr"); - HX_VISIT_MEMBER_NAME(_stdout,"stdout"); - HX_VISIT_MEMBER_NAME(p,"p"); -} - -Dynamic Process_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"p") ) { return p; } - break; - case 4: - if (HX_FIELD_EQ(inName,"_run") ) { return _run; } - if (HX_FIELD_EQ(inName,"_pid") ) { return _pid; } - if (HX_FIELD_EQ(inName,"kill") ) { return kill_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"_exit") ) { return _exit; } - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"stdin") ) { return _stdin; } - break; - case 6: - if (HX_FIELD_EQ(inName,"_close") ) { return _close; } - if (HX_FIELD_EQ(inName,"getPid") ) { return getPid_dyn(); } - if (HX_FIELD_EQ(inName,"stderr") ) { return _stderr; } - if (HX_FIELD_EQ(inName,"stdout") ) { return _stdout; } - break; - case 8: - if (HX_FIELD_EQ(inName,"exitCode") ) { return exitCode_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Process_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"p") ) { p=inValue.Cast< Dynamic >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"_run") ) { _run=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"_pid") ) { _pid=inValue.Cast< Dynamic >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"_exit") ) { _exit=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"stdin") ) { _stdin=inValue.Cast< ::haxe::io::Output >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"_close") ) { _close=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"stderr") ) { _stderr=inValue.Cast< ::haxe::io::Input >(); return inValue; } - if (HX_FIELD_EQ(inName,"stdout") ) { _stdout=inValue.Cast< ::haxe::io::Input >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Process_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("stdin")); - outFields->push(HX_CSTRING("stderr")); - outFields->push(HX_CSTRING("stdout")); - outFields->push(HX_CSTRING("p")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("_run"), - HX_CSTRING("_exit"), - HX_CSTRING("_pid"), - HX_CSTRING("_close"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("kill"), - HX_CSTRING("close"), - HX_CSTRING("exitCode"), - HX_CSTRING("getPid"), - HX_CSTRING("stdin"), - HX_CSTRING("stderr"), - HX_CSTRING("stdout"), - HX_CSTRING("p"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Process_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Process_obj::_run,"_run"); - HX_MARK_MEMBER_NAME(Process_obj::_exit,"_exit"); - HX_MARK_MEMBER_NAME(Process_obj::_pid,"_pid"); - HX_MARK_MEMBER_NAME(Process_obj::_close,"_close"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Process_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Process_obj::_run,"_run"); - HX_VISIT_MEMBER_NAME(Process_obj::_exit,"_exit"); - HX_VISIT_MEMBER_NAME(Process_obj::_pid,"_pid"); - HX_VISIT_MEMBER_NAME(Process_obj::_close,"_close"); -}; - -Class Process_obj::__mClass; - -void Process_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io.Process"), hx::TCanCast< Process_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Process_obj::__boot() -{ - _run= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_run"),(int)2); - _exit= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_exit"),(int)1); - _pid= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_pid"),(int)1); - _close= ::cpp::Lib_obj::loadLazy(HX_CSTRING("std"),HX_CSTRING("process_close"),(int)1); -} - -} // end namespace sys -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/_Process/Stdin.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/_Process/Stdin.cpp deleted file mode 100644 index 870f3ed..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/_Process/Stdin.cpp +++ /dev/null @@ -1,214 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Eof -#include -#endif -#ifndef INCLUDED_haxe_io_Output -#include -#endif -#ifndef INCLUDED_sys_io__Process_Stdin -#include -#endif -namespace sys{ -namespace io{ -namespace _Process{ - -Void Stdin_obj::__construct(Dynamic p) -{ -HX_STACK_PUSH("Stdin::new","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",32); -{ - HX_STACK_LINE(33) - this->p = p; - HX_STACK_LINE(34) - this->buf = ::haxe::io::Bytes_obj::alloc((int)1); -} -; - return null(); -} - -Stdin_obj::~Stdin_obj() { } - -Dynamic Stdin_obj::__CreateEmpty() { return new Stdin_obj; } -hx::ObjectPtr< Stdin_obj > Stdin_obj::__new(Dynamic p) -{ hx::ObjectPtr< Stdin_obj > result = new Stdin_obj(); - result->__construct(p); - return result;} - -Dynamic Stdin_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Stdin_obj > result = new Stdin_obj(); - result->__construct(inArgs[0]); - return result;} - -int Stdin_obj::writeBytes( ::haxe::io::Bytes buf,int pos,int len){ - HX_STACK_PUSH("Stdin::writeBytes","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",47); - HX_STACK_THIS(this); - HX_STACK_ARG(buf,"buf"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(48) - try{ - HX_STACK_LINE(48) - return ::sys::io::_Process::Stdin_obj::_stdin_write(this->p,buf->b,pos,len); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(50) - hx::Throw (::haxe::io::Eof_obj::__new()); - } - } - } - HX_STACK_LINE(53) - return (int)0; -} - - -Void Stdin_obj::writeByte( int c){ -{ - HX_STACK_PUSH("Stdin::writeByte","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",42); - HX_STACK_THIS(this); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(43) - this->buf->b[(int)0] = c; - HX_STACK_LINE(44) - this->writeBytes(this->buf,(int)0,(int)1); - } -return null(); -} - - -Void Stdin_obj::close( ){ -{ - HX_STACK_PUSH("Stdin::close","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",37); - HX_STACK_THIS(this); - HX_STACK_LINE(38) - this->super::close(); - HX_STACK_LINE(39) - ::sys::io::_Process::Stdin_obj::_stdin_close(this->p); - } -return null(); -} - - -Dynamic Stdin_obj::_stdin_write; - -Dynamic Stdin_obj::_stdin_close; - - -Stdin_obj::Stdin_obj() -{ -} - -void Stdin_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Stdin); - HX_MARK_MEMBER_NAME(buf,"buf"); - HX_MARK_MEMBER_NAME(p,"p"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Stdin_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(buf,"buf"); - HX_VISIT_MEMBER_NAME(p,"p"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Stdin_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"p") ) { return p; } - break; - case 3: - if (HX_FIELD_EQ(inName,"buf") ) { return buf; } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"writeByte") ) { return writeByte_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"writeBytes") ) { return writeBytes_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_stdin_write") ) { return _stdin_write; } - if (HX_FIELD_EQ(inName,"_stdin_close") ) { return _stdin_close; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Stdin_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"p") ) { p=inValue.Cast< Dynamic >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"buf") ) { buf=inValue.Cast< ::haxe::io::Bytes >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_stdin_write") ) { _stdin_write=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"_stdin_close") ) { _stdin_close=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Stdin_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("buf")); - outFields->push(HX_CSTRING("p")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("_stdin_write"), - HX_CSTRING("_stdin_close"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("writeBytes"), - HX_CSTRING("writeByte"), - HX_CSTRING("close"), - HX_CSTRING("buf"), - HX_CSTRING("p"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Stdin_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Stdin_obj::_stdin_write,"_stdin_write"); - HX_MARK_MEMBER_NAME(Stdin_obj::_stdin_close,"_stdin_close"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Stdin_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Stdin_obj::_stdin_write,"_stdin_write"); - HX_VISIT_MEMBER_NAME(Stdin_obj::_stdin_close,"_stdin_close"); -}; - -Class Stdin_obj::__mClass; - -void Stdin_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io._Process.Stdin"), hx::TCanCast< Stdin_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Stdin_obj::__boot() -{ - _stdin_write= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_stdin_write"),(int)4); - _stdin_close= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_stdin_close"),(int)1); -} - -} // end namespace sys -} // end namespace io -} // end namespace _Process diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/_Process/Stdout.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/_Process/Stdout.cpp deleted file mode 100644 index 04d5978..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphoneos/src/sys/io/_Process/Stdout.cpp +++ /dev/null @@ -1,214 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Eof -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -#ifndef INCLUDED_sys_io__Process_Stdout -#include -#endif -namespace sys{ -namespace io{ -namespace _Process{ - -Void Stdout_obj::__construct(Dynamic p,bool out) -{ -HX_STACK_PUSH("Stdout::new","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",67); -{ - HX_STACK_LINE(68) - this->p = p; - HX_STACK_LINE(69) - this->out = out; - HX_STACK_LINE(70) - this->buf = ::haxe::io::Bytes_obj::alloc((int)1); -} -; - return null(); -} - -Stdout_obj::~Stdout_obj() { } - -Dynamic Stdout_obj::__CreateEmpty() { return new Stdout_obj; } -hx::ObjectPtr< Stdout_obj > Stdout_obj::__new(Dynamic p,bool out) -{ hx::ObjectPtr< Stdout_obj > result = new Stdout_obj(); - result->__construct(p,out); - return result;} - -Dynamic Stdout_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Stdout_obj > result = new Stdout_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -int Stdout_obj::readBytes( ::haxe::io::Bytes str,int pos,int len){ - HX_STACK_PUSH("Stdout::readBytes","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",79); - HX_STACK_THIS(this); - HX_STACK_ARG(str,"str"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(80) - int result; HX_STACK_VAR(result,"result"); - HX_STACK_LINE(81) - try{ - HX_STACK_LINE(81) - result = (( ((this->out)) ? Dynamic(::sys::io::_Process::Stdout_obj::_stdout_read_dyn()) : Dynamic(::sys::io::_Process::Stdout_obj::_stderr_read_dyn()) ))(this->p,str->b,pos,len).Cast< int >(); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(83) - hx::Throw (::haxe::io::Eof_obj::__new()); - } - } - } - HX_STACK_LINE(86) - if (((result == (int)0))){ - HX_STACK_LINE(86) - hx::Throw (::haxe::io::Eof_obj::__new()); - } - HX_STACK_LINE(87) - return result; -} - - -int Stdout_obj::readByte( ){ - HX_STACK_PUSH("Stdout::readByte","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",73); - HX_STACK_THIS(this); - HX_STACK_LINE(74) - if (((this->readBytes(this->buf,(int)0,(int)1) == (int)0))){ - HX_STACK_LINE(75) - hx::Throw (::haxe::io::Error_obj::Blocked_dyn()); - } - HX_STACK_LINE(76) - return this->buf->b->__get((int)0); -} - - -Dynamic Stdout_obj::_stdout_read; - -Dynamic Stdout_obj::_stderr_read; - - -Stdout_obj::Stdout_obj() -{ -} - -void Stdout_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Stdout); - HX_MARK_MEMBER_NAME(buf,"buf"); - HX_MARK_MEMBER_NAME(out,"out"); - HX_MARK_MEMBER_NAME(p,"p"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Stdout_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(buf,"buf"); - HX_VISIT_MEMBER_NAME(out,"out"); - HX_VISIT_MEMBER_NAME(p,"p"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Stdout_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"p") ) { return p; } - break; - case 3: - if (HX_FIELD_EQ(inName,"buf") ) { return buf; } - if (HX_FIELD_EQ(inName,"out") ) { return out; } - break; - case 8: - if (HX_FIELD_EQ(inName,"readByte") ) { return readByte_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"readBytes") ) { return readBytes_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_stdout_read") ) { return _stdout_read; } - if (HX_FIELD_EQ(inName,"_stderr_read") ) { return _stderr_read; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Stdout_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"p") ) { p=inValue.Cast< Dynamic >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"buf") ) { buf=inValue.Cast< ::haxe::io::Bytes >(); return inValue; } - if (HX_FIELD_EQ(inName,"out") ) { out=inValue.Cast< bool >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_stdout_read") ) { _stdout_read=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"_stderr_read") ) { _stderr_read=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Stdout_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("buf")); - outFields->push(HX_CSTRING("out")); - outFields->push(HX_CSTRING("p")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("_stdout_read"), - HX_CSTRING("_stderr_read"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("readBytes"), - HX_CSTRING("readByte"), - HX_CSTRING("buf"), - HX_CSTRING("out"), - HX_CSTRING("p"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Stdout_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Stdout_obj::_stdout_read,"_stdout_read"); - HX_MARK_MEMBER_NAME(Stdout_obj::_stderr_read,"_stderr_read"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Stdout_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Stdout_obj::_stdout_read,"_stdout_read"); - HX_VISIT_MEMBER_NAME(Stdout_obj::_stderr_read,"_stderr_read"); -}; - -Class Stdout_obj::__mClass; - -void Stdout_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io._Process.Stdout"), hx::TCanCast< Stdout_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Stdout_obj::__boot() -{ - _stdout_read= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_stdout_read"),(int)4); - _stderr_read= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_stderr_read"),(int)4); -} - -} // end namespace sys -} // end namespace io -} // end namespace _Process diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/ApplicationMain.iphonesim.a b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/ApplicationMain.iphonesim.a deleted file mode 100644 index 3eed12a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/ApplicationMain.iphonesim.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/Build.xml b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/Build.xml deleted file mode 100644 index 685d89d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/Build.xml +++ /dev/null @@ -1,1683 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/Options.txt b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/Options.txt deleted file mode 100644 index ac820d2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/Options.txt +++ /dev/null @@ -1,17 +0,0 @@ -HXCPP_CLANG -OBJC_ARC -actuate -cpp -haxe_208 -haxe_209 -haxe_210 -ios -iphone -mobile -nme -nme_install_tool -simulator -svg -sys -true -/usr/lib/haxe/lib/hxcpp/2,10/ \ No newline at end of file diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ApplicationMain.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ApplicationMain.h deleted file mode 100644 index b811d12..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ApplicationMain.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef INCLUDED_ApplicationMain -#define INCLUDED_ApplicationMain - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(ApplicationMain) -HX_DECLARE_CLASS2(neash,events,Event) - - -class ApplicationMain_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef ApplicationMain_obj OBJ_; - ApplicationMain_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ApplicationMain_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ApplicationMain_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ApplicationMain"); } - - static Void main( ); - static Dynamic main_dyn(); - - static Void initialize( ::neash::events::Event event); - static Dynamic initialize_dyn(); - - static Dynamic getAsset( ::String inName); - static Dynamic getAsset_dyn(); - -}; - - -#endif /* INCLUDED_ApplicationMain */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Date.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Date.h deleted file mode 100644 index 0f3a2b2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Date.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef INCLUDED_Date -#define INCLUDED_Date - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Date) - - -class Date_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Date_obj OBJ_; - Date_obj(); - Void __construct(int year,int month,int day,int hour,int min,int sec); - - public: - static hx::ObjectPtr< Date_obj > __new(int year,int month,int day,int hour,int min,int sec); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Date_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Date"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual int getDay( ); - Dynamic getDay_dyn(); - - virtual int getDate( ); - Dynamic getDate_dyn(); - - virtual int getMonth( ); - Dynamic getMonth_dyn(); - - virtual int getFullYear( ); - Dynamic getFullYear_dyn(); - - virtual int getSeconds( ); - Dynamic getSeconds_dyn(); - - virtual int getMinutes( ); - Dynamic getMinutes_dyn(); - - virtual int getHours( ); - Dynamic getHours_dyn(); - - virtual Float getTime( ); - Dynamic getTime_dyn(); - - Float mSeconds; /* REM */ - static ::Date now( ); - static Dynamic now_dyn(); - - static ::Date fromTime( Float t); - static Dynamic fromTime_dyn(); - - static ::Date fromString( ::String s); - static Dynamic fromString_dyn(); - -}; - - -#endif /* INCLUDED_Date */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/EReg.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/EReg.h deleted file mode 100644 index 791f261..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/EReg.h +++ /dev/null @@ -1,69 +0,0 @@ -#ifndef INCLUDED_EReg -#define INCLUDED_EReg - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(EReg) - - -class EReg_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef EReg_obj OBJ_; - EReg_obj(); - Void __construct(::String r,::String opt); - - public: - static hx::ObjectPtr< EReg_obj > __new(::String r,::String opt); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~EReg_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("EReg"); } - - virtual ::String customReplace( ::String s,Dynamic f); - Dynamic customReplace_dyn(); - - virtual ::String replace( ::String s,::String by); - Dynamic replace_dyn(); - - virtual Array< ::String > split( ::String s); - Dynamic split_dyn(); - - virtual Dynamic matchedPos( ); - Dynamic matchedPos_dyn(); - - virtual ::String matchedRight( ); - Dynamic matchedRight_dyn(); - - virtual ::String matchedLeft( ); - Dynamic matchedLeft_dyn(); - - virtual ::String matched( int n); - Dynamic matched_dyn(); - - virtual bool match( ::String s); - Dynamic match_dyn(); - - bool global; /* REM */ - ::String last; /* REM */ - Dynamic r; /* REM */ - static Dynamic regexp_new_options; /* REM */ - static Dynamic ®exp_new_options_dyn() { return regexp_new_options;} - static Dynamic regexp_match; /* REM */ - static Dynamic ®exp_match_dyn() { return regexp_match;} - static Dynamic regexp_matched; /* REM */ - static Dynamic ®exp_matched_dyn() { return regexp_matched;} - static Dynamic regexp_matched_pos; /* REM */ - static Dynamic ®exp_matched_pos_dyn() { return regexp_matched_pos;} -}; - - -#endif /* INCLUDED_EReg */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Hash.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Hash.h deleted file mode 100644 index cadca89..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Hash.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef INCLUDED_Hash -#define INCLUDED_Hash - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Hash) - - -class Hash_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Hash_obj OBJ_; - Hash_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Hash_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Hash_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Hash"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Dynamic iterator( ); - Dynamic iterator_dyn(); - - virtual Dynamic keys( ); - Dynamic keys_dyn(); - - virtual bool remove( ::String key); - Dynamic remove_dyn(); - - virtual bool exists( ::String key); - Dynamic exists_dyn(); - - virtual Dynamic get( ::String key); - Dynamic get_dyn(); - - virtual Void set( ::String key,Dynamic value); - Dynamic set_dyn(); - - Dynamic __Internal; /* REM */ -}; - - -#endif /* INCLUDED_Hash */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/IntHash.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/IntHash.h deleted file mode 100644 index 7489ef2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/IntHash.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef INCLUDED_IntHash -#define INCLUDED_IntHash - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(IntHash) - - -class IntHash_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef IntHash_obj OBJ_; - IntHash_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< IntHash_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~IntHash_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("IntHash"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Dynamic iterator( ); - Dynamic iterator_dyn(); - - virtual Dynamic keys( ); - Dynamic keys_dyn(); - - virtual bool remove( int key); - Dynamic remove_dyn(); - - virtual bool exists( int key); - Dynamic exists_dyn(); - - virtual Dynamic get( int key); - Dynamic get_dyn(); - - virtual Void set( int key,Dynamic value); - Dynamic set_dyn(); - - Dynamic h; /* REM */ -}; - - -#endif /* INCLUDED_IntHash */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/IntIter.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/IntIter.h deleted file mode 100644 index 8659e4f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/IntIter.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_IntIter -#define INCLUDED_IntIter - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(IntIter) - - -class IntIter_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef IntIter_obj OBJ_; - IntIter_obj(); - Void __construct(int min,int max); - - public: - static hx::ObjectPtr< IntIter_obj > __new(int min,int max); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~IntIter_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("IntIter"); } - - virtual int next( ); - Dynamic next_dyn(); - - virtual bool hasNext( ); - Dynamic hasNext_dyn(); - - int max; /* REM */ - int min; /* REM */ -}; - - -#endif /* INCLUDED_IntIter */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/List.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/List.h deleted file mode 100644 index 2c63624..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/List.h +++ /dev/null @@ -1,76 +0,0 @@ -#ifndef INCLUDED_List -#define INCLUDED_List - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(List) - - -class List_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef List_obj OBJ_; - List_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< List_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~List_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("List"); } - - virtual ::List map( Dynamic f); - Dynamic map_dyn(); - - virtual ::List filter( Dynamic f); - Dynamic filter_dyn(); - - virtual ::String join( ::String sep); - Dynamic join_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Dynamic iterator( ); - Dynamic iterator_dyn(); - - virtual bool remove( Dynamic v); - Dynamic remove_dyn(); - - virtual Void clear( ); - Dynamic clear_dyn(); - - virtual bool isEmpty( ); - Dynamic isEmpty_dyn(); - - virtual Dynamic pop( ); - Dynamic pop_dyn(); - - virtual Dynamic last( ); - Dynamic last_dyn(); - - virtual Dynamic first( ); - Dynamic first_dyn(); - - virtual Void push( Dynamic item); - Dynamic push_dyn(); - - virtual Void add( Dynamic item); - Dynamic add_dyn(); - - int length; /* REM */ - Dynamic q; /* REM */ - Dynamic h; /* REM */ -}; - - -#endif /* INCLUDED_List */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Main.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Main.h deleted file mode 100644 index 57f5d96..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Main.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef INCLUDED_Main -#define INCLUDED_Main - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Main) -HX_DECLARE_CLASS3(ca,confidant,glory,GloryFrameworkApp) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) - - -class Main_obj : public ::ca::confidant::glory::GloryFrameworkApp_obj{ - public: - typedef ::ca::confidant::glory::GloryFrameworkApp_obj super; - typedef Main_obj OBJ_; - Main_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Main_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Main_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Main"); } - - static Void main( ); - static Dynamic main_dyn(); - - static Void myTrace( Dynamic v,Dynamic inf); - static Dynamic myTrace_dyn(); - -}; - - -#endif /* INCLUDED_Main */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Reflect.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Reflect.h deleted file mode 100644 index ee0004f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Reflect.h +++ /dev/null @@ -1,76 +0,0 @@ -#ifndef INCLUDED_Reflect -#define INCLUDED_Reflect - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Reflect) - - -class Reflect_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Reflect_obj OBJ_; - Reflect_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Reflect_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Reflect_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Reflect"); } - - static bool hasField( Dynamic o,::String field); - static Dynamic hasField_dyn(); - - static Dynamic field( Dynamic o,::String field); - static Dynamic field_dyn(); - - static Void setField( Dynamic o,::String field,Dynamic value); - static Dynamic setField_dyn(); - - static Dynamic getProperty( Dynamic o,::String field); - static Dynamic getProperty_dyn(); - - static Void setProperty( Dynamic o,::String field,Dynamic value); - static Dynamic setProperty_dyn(); - - static Dynamic callMethod( Dynamic o,Dynamic func,Dynamic args); - static Dynamic callMethod_dyn(); - - static Array< ::String > fields( Dynamic o); - static Dynamic fields_dyn(); - - static bool isFunction( Dynamic f); - static Dynamic isFunction_dyn(); - - static int compare( Dynamic a,Dynamic b); - static Dynamic compare_dyn(); - - static bool compareMethods( Dynamic f1,Dynamic f2); - static Dynamic compareMethods_dyn(); - - static bool isObject( Dynamic v); - static Dynamic isObject_dyn(); - - static bool deleteField( Dynamic o,::String f); - static Dynamic deleteField_dyn(); - - static Dynamic copy( Dynamic o); - static Dynamic copy_dyn(); - - static Dynamic makeVarArgs( Dynamic f); - static Dynamic makeVarArgs_dyn(); - -}; - - -#endif /* INCLUDED_Reflect */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Std.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Std.h deleted file mode 100644 index 2a591cb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Std.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef INCLUDED_Std -#define INCLUDED_Std - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Std) - - -class Std_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Std_obj OBJ_; - Std_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Std_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Std_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Std"); } - - static bool is( Dynamic v,Dynamic t); - static Dynamic is_dyn(); - - static ::String string( Dynamic s); - static Dynamic string_dyn(); - - static int _int( Float x); - static Dynamic _int_dyn(); - - static Dynamic parseInt( ::String x); - static Dynamic parseInt_dyn(); - - static Float parseFloat( ::String x); - static Dynamic parseFloat_dyn(); - - static int random( int x); - static Dynamic random_dyn(); - -}; - - -#endif /* INCLUDED_Std */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/StringBuf.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/StringBuf.h deleted file mode 100644 index abf34b1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/StringBuf.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_StringBuf -#define INCLUDED_StringBuf - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(StringBuf) - - -class StringBuf_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef StringBuf_obj OBJ_; - StringBuf_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< StringBuf_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~StringBuf_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("StringBuf"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void addChar( int c); - Dynamic addChar_dyn(); - - virtual Void addSub( ::String s,int pos,Dynamic len); - Dynamic addSub_dyn(); - - virtual Void add( Dynamic x); - Dynamic add_dyn(); - - Dynamic b; /* REM */ -}; - - -#endif /* INCLUDED_StringBuf */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/StringTools.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/StringTools.h deleted file mode 100644 index eb6db32..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/StringTools.h +++ /dev/null @@ -1,82 +0,0 @@ -#ifndef INCLUDED_StringTools -#define INCLUDED_StringTools - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(StringTools) - - -class StringTools_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef StringTools_obj OBJ_; - StringTools_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< StringTools_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~StringTools_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("StringTools"); } - - static ::String urlEncode( ::String s); - static Dynamic urlEncode_dyn(); - - static ::String urlDecode( ::String s); - static Dynamic urlDecode_dyn(); - - static ::String htmlEscape( ::String s); - static Dynamic htmlEscape_dyn(); - - static ::String htmlUnescape( ::String s); - static Dynamic htmlUnescape_dyn(); - - static bool startsWith( ::String s,::String start); - static Dynamic startsWith_dyn(); - - static bool endsWith( ::String s,::String end); - static Dynamic endsWith_dyn(); - - static bool isSpace( ::String s,int pos); - static Dynamic isSpace_dyn(); - - static ::String ltrim( ::String s); - static Dynamic ltrim_dyn(); - - static ::String rtrim( ::String s); - static Dynamic rtrim_dyn(); - - static ::String trim( ::String s); - static Dynamic trim_dyn(); - - static ::String rpad( ::String s,::String c,int l); - static Dynamic rpad_dyn(); - - static ::String lpad( ::String s,::String c,int l); - static Dynamic lpad_dyn(); - - static ::String replace( ::String s,::String sub,::String by); - static Dynamic replace_dyn(); - - static ::String hex( int n,Dynamic digits); - static Dynamic hex_dyn(); - - static int fastCodeAt( ::String s,int index); - static Dynamic fastCodeAt_dyn(); - - static bool isEOF( int c); - static Dynamic isEOF_dyn(); - -}; - - -#endif /* INCLUDED_StringTools */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Sys.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Sys.h deleted file mode 100644 index 89c9333..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Sys.h +++ /dev/null @@ -1,134 +0,0 @@ -#ifndef INCLUDED_Sys -#define INCLUDED_Sys - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS0(Sys) -HX_DECLARE_CLASS2(haxe,io,Input) -HX_DECLARE_CLASS2(haxe,io,Output) - - -class Sys_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Sys_obj OBJ_; - Sys_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Sys_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Sys_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Sys"); } - - static Void print( Dynamic v); - static Dynamic print_dyn(); - - static Void println( Dynamic v); - static Dynamic println_dyn(); - - static ::haxe::io::Input _stdin( ); - static Dynamic _stdin_dyn(); - - static ::haxe::io::Output _stdout( ); - static Dynamic _stdout_dyn(); - - static ::haxe::io::Output _stderr( ); - static Dynamic _stderr_dyn(); - - static int getChar( bool echo); - static Dynamic getChar_dyn(); - - static Array< ::String > args( ); - static Dynamic args_dyn(); - - static ::String getEnv( ::String s); - static Dynamic getEnv_dyn(); - - static Void putEnv( ::String s,::String v); - static Dynamic putEnv_dyn(); - - static Void sleep( Float seconds); - static Dynamic sleep_dyn(); - - static bool setTimeLocale( ::String loc); - static Dynamic setTimeLocale_dyn(); - - static ::String getCwd( ); - static Dynamic getCwd_dyn(); - - static Void setCwd( ::String s); - static Dynamic setCwd_dyn(); - - static ::String systemName( ); - static Dynamic systemName_dyn(); - - static ::String escapeArgument( ::String arg); - static Dynamic escapeArgument_dyn(); - - static int command( ::String cmd,Array< ::String > args); - static Dynamic command_dyn(); - - static Void exit( int code); - static Dynamic exit_dyn(); - - static Float time( ); - static Dynamic time_dyn(); - - static Float cpuTime( ); - static Dynamic cpuTime_dyn(); - - static ::String executablePath( ); - static Dynamic executablePath_dyn(); - - static ::Hash environment( ); - static Dynamic environment_dyn(); - - static Dynamic get_env; /* REM */ - static Dynamic &get_env_dyn() { return get_env;} - static Dynamic put_env; /* REM */ - static Dynamic &put_env_dyn() { return put_env;} - static Dynamic _sleep; /* REM */ - static Dynamic &_sleep_dyn() { return _sleep;} - static Dynamic set_time_locale; /* REM */ - static Dynamic &set_time_locale_dyn() { return set_time_locale;} - static Dynamic get_cwd; /* REM */ - static Dynamic &get_cwd_dyn() { return get_cwd;} - static Dynamic set_cwd; /* REM */ - static Dynamic &set_cwd_dyn() { return set_cwd;} - static Dynamic sys_string; /* REM */ - static Dynamic &sys_string_dyn() { return sys_string;} - static Dynamic sys_command; /* REM */ - static Dynamic &sys_command_dyn() { return sys_command;} - static Dynamic sys_exit; /* REM */ - static Dynamic &sys_exit_dyn() { return sys_exit;} - static Dynamic sys_time; /* REM */ - static Dynamic &sys_time_dyn() { return sys_time;} - static Dynamic sys_cpu_time; /* REM */ - static Dynamic &sys_cpu_time_dyn() { return sys_cpu_time;} - static Dynamic sys_exe_path; /* REM */ - static Dynamic &sys_exe_path_dyn() { return sys_exe_path;} - static Dynamic sys_env; /* REM */ - static Dynamic &sys_env_dyn() { return sys_env;} - static Dynamic file_stdin; /* REM */ - static Dynamic &file_stdin_dyn() { return file_stdin;} - static Dynamic file_stdout; /* REM */ - static Dynamic &file_stdout_dyn() { return file_stdout;} - static Dynamic file_stderr; /* REM */ - static Dynamic &file_stderr_dyn() { return file_stderr;} - static Dynamic getch; /* REM */ - static Dynamic &getch_dyn() { return getch;} -}; - - -#endif /* INCLUDED_Sys */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Type.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Type.h deleted file mode 100644 index 47bd30c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Type.h +++ /dev/null @@ -1,95 +0,0 @@ -#ifndef INCLUDED_Type -#define INCLUDED_Type - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Type) -HX_DECLARE_CLASS0(ValueType) - - -class Type_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Type_obj OBJ_; - Type_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Type_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Type_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Type"); } - - static ::Class getClass( Dynamic o); - static Dynamic getClass_dyn(); - - static ::Enum getEnum( Dynamic o); - static Dynamic getEnum_dyn(); - - static ::Class getSuperClass( ::Class c); - static Dynamic getSuperClass_dyn(); - - static ::String getClassName( ::Class c); - static Dynamic getClassName_dyn(); - - static ::String getEnumName( ::Enum e); - static Dynamic getEnumName_dyn(); - - static ::Class resolveClass( ::String name); - static Dynamic resolveClass_dyn(); - - static ::Enum resolveEnum( ::String name); - static Dynamic resolveEnum_dyn(); - - static Dynamic createInstance( ::Class cl,Dynamic args); - static Dynamic createInstance_dyn(); - - static Dynamic createEmptyInstance( ::Class cl); - static Dynamic createEmptyInstance_dyn(); - - static Dynamic createEnum( ::Enum e,::String constr,Dynamic params); - static Dynamic createEnum_dyn(); - - static Dynamic createEnumIndex( ::Enum e,int index,Dynamic params); - static Dynamic createEnumIndex_dyn(); - - static Array< ::String > getInstanceFields( ::Class c); - static Dynamic getInstanceFields_dyn(); - - static Array< ::String > getClassFields( ::Class c); - static Dynamic getClassFields_dyn(); - - static Array< ::String > getEnumConstructs( ::Enum e); - static Dynamic getEnumConstructs_dyn(); - - static ::ValueType _typeof( Dynamic v); - static Dynamic _typeof_dyn(); - - static bool enumEq( Dynamic a,Dynamic b); - static Dynamic enumEq_dyn(); - - static ::String enumConstructor( Dynamic e); - static Dynamic enumConstructor_dyn(); - - static Dynamic enumParameters( Dynamic e); - static Dynamic enumParameters_dyn(); - - static int enumIndex( Dynamic e); - static Dynamic enumIndex_dyn(); - - static Dynamic allEnums( ::Enum e); - static Dynamic allEnums_dyn(); - -}; - - -#endif /* INCLUDED_Type */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ValueType.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ValueType.h deleted file mode 100644 index 356e1bd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ValueType.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef INCLUDED_ValueType -#define INCLUDED_ValueType - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(ValueType) - - -class ValueType_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef ValueType_obj OBJ_; - - public: - ValueType_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("ValueType"); } - ::String __ToString() const { return HX_CSTRING("ValueType.") + tag; } - - static ::ValueType TBool; - static inline ::ValueType TBool_dyn() { return TBool; } - static ::ValueType TClass(::Class c); - static Dynamic TClass_dyn(); - static ::ValueType TEnum(::Enum e); - static Dynamic TEnum_dyn(); - static ::ValueType TFloat; - static inline ::ValueType TFloat_dyn() { return TFloat; } - static ::ValueType TFunction; - static inline ::ValueType TFunction_dyn() { return TFunction; } - static ::ValueType TInt; - static inline ::ValueType TInt_dyn() { return TInt; } - static ::ValueType TNull; - static inline ::ValueType TNull_dyn() { return TNull; } - static ::ValueType TObject; - static inline ::ValueType TObject_dyn() { return TObject; } - static ::ValueType TUnknown; - static inline ::ValueType TUnknown_dyn() { return TUnknown; } -}; - - -#endif /* INCLUDED_ValueType */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Xml.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Xml.h deleted file mode 100644 index 6c52c51..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/Xml.h +++ /dev/null @@ -1,141 +0,0 @@ -#ifndef INCLUDED_Xml -#define INCLUDED_Xml - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(StringBuf) -HX_DECLARE_CLASS0(Type) -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS0(XmlType) - - -class Xml_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Xml_obj OBJ_; - Xml_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Xml_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Xml_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - static void __init__(); - - ::String __ToString() const { return HX_CSTRING("Xml"); } - - virtual Void toStringRec( ::StringBuf s); - Dynamic toStringRec_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void insertChild( ::Xml x,int pos); - Dynamic insertChild_dyn(); - - virtual bool removeChild( ::Xml x); - Dynamic removeChild_dyn(); - - virtual Void addChild( ::Xml x); - Dynamic addChild_dyn(); - - virtual ::Xml firstElement( ); - Dynamic firstElement_dyn(); - - virtual ::Xml firstChild( ); - Dynamic firstChild_dyn(); - - virtual Dynamic elementsNamed( ::String name); - Dynamic elementsNamed_dyn(); - - virtual Dynamic elements( ); - Dynamic elements_dyn(); - - virtual Dynamic iterator( ); - Dynamic iterator_dyn(); - - virtual Dynamic attributes( ); - Dynamic attributes_dyn(); - - virtual bool exists( ::String att); - Dynamic exists_dyn(); - - virtual Void remove( ::String att); - Dynamic remove_dyn(); - - virtual Void set( ::String att,::String value); - Dynamic set_dyn(); - - virtual ::String get( ::String att); - Dynamic get_dyn(); - - virtual ::Xml getParent( ); - Dynamic getParent_dyn(); - - ::Xml parent; /* REM */ - virtual ::String setNodeValue( ::String v); - Dynamic setNodeValue_dyn(); - - virtual ::String getNodeValue( ); - Dynamic getNodeValue_dyn(); - - virtual ::String setNodeName( ::String n); - Dynamic setNodeName_dyn(); - - virtual ::String getNodeName( ); - Dynamic getNodeName_dyn(); - - ::String nodeValue; /* REM */ - ::String nodeName; /* REM */ - ::XmlType nodeType; /* REM */ - ::Xml _parent; /* REM */ - Array< ::Xml > _children; /* REM */ - Dynamic _attributes; /* REM */ - ::String _nodeValue; /* REM */ - ::String _nodeName; /* REM */ - static ::XmlType Element; /* REM */ - static ::XmlType PCData; /* REM */ - static ::XmlType CData; /* REM */ - static ::XmlType Comment; /* REM */ - static ::XmlType DocType; /* REM */ - static ::XmlType Prolog; /* REM */ - static ::XmlType Document; /* REM */ - static Dynamic _parse; /* REM */ - static Dynamic &_parse_dyn() { return _parse;} - static ::Xml parse( ::String str); - static Dynamic parse_dyn(); - - static ::Xml createElement( ::String name); - static Dynamic createElement_dyn(); - - static ::Xml createPCData( ::String data); - static Dynamic createPCData_dyn(); - - static ::Xml createCData( ::String data); - static Dynamic createCData_dyn(); - - static ::Xml createComment( ::String data); - static Dynamic createComment_dyn(); - - static ::Xml createDocType( ::String data); - static Dynamic createDocType_dyn(); - - static ::Xml createProlog( ::String data); - static Dynamic createProlog_dyn(); - - static ::Xml createDocument( ); - static Dynamic createDocument_dyn(); - -}; - - -#endif /* INCLUDED_Xml */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/XmlType.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/XmlType.h deleted file mode 100644 index bf57b58..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/XmlType.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef INCLUDED_XmlType -#define INCLUDED_XmlType - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(XmlType) - - -class XmlType_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef XmlType_obj OBJ_; - - public: - XmlType_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("XmlType"); } - ::String __ToString() const { return HX_CSTRING("XmlType.") + tag; } - -}; - - -#endif /* INCLUDED_XmlType */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/ApplicationFacade.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/ApplicationFacade.h deleted file mode 100644 index eb1d370..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/ApplicationFacade.h +++ /dev/null @@ -1,83 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_ApplicationFacade -#define INCLUDED_ca_confidant_glory_ApplicationFacade - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS3(ca,confidant,glory,ApplicationFacade) -HX_DECLARE_CLASS3(ca,confidant,glory,GloryFrameworkApp) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IFacade) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,facade,Facade) -namespace ca{ -namespace confidant{ -namespace glory{ - - -class ApplicationFacade_obj : public ::org::puremvc::haxe::patterns::facade::Facade_obj{ - public: - typedef ::org::puremvc::haxe::patterns::facade::Facade_obj super; - typedef ApplicationFacade_obj OBJ_; - ApplicationFacade_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ApplicationFacade_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ApplicationFacade_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ApplicationFacade"); } - - virtual Void startup( ::ca::confidant::glory::GloryFrameworkApp app); - Dynamic startup_dyn(); - - virtual Void initializeController( ); - - static ::String STARTUP; /* REM */ - static ::String MESSAGE; /* REM */ - static ::String INIT_XML_LOAD; /* REM */ - static ::String ASSETS_LOADED; /* REM */ - static ::String PAGES_CONFIG_READY; /* REM */ - static ::String CALL_EXTERNAL_FUNCTION; /* REM */ - static ::String CONSOLE_LOG; /* REM */ - static ::String STAGE_RESIZE; /* REM */ - static ::String SET_ACTIVE_WIDGET; /* REM */ - static ::String SET_CONTENT; /* REM */ - static ::String BUILD_PAGE; /* REM */ - static ::String REMOVE_PAGE; /* REM */ - static ::String BUILD_CONTROLS; /* REM */ - static ::String CHANGE_PAGE; /* REM */ - static ::String HTTP_LINK; /* REM */ - static ::String TIMER_TICK; /* REM */ - static ::String TIMER_ENABLE; /* REM */ - static ::String TIMER_DISABLE; /* REM */ - static ::String PAN_LEFT; /* REM */ - static ::String PAN_RIGHT; /* REM */ - static ::String PAN_STOP; /* REM */ - static ::String TOGGLE_OPTIONS; /* REM */ - static ::String PLAY_SOUND; /* REM */ - static ::ca::confidant::glory::ApplicationFacade instance; /* REM */ - static ::ca::confidant::glory::ApplicationFacade getInstance( ); - static Dynamic getInstance_dyn(); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory - -#endif /* INCLUDED_ca_confidant_glory_ApplicationFacade */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/GloryFrameworkApp.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/GloryFrameworkApp.h deleted file mode 100644 index 76e4da5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/GloryFrameworkApp.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#define INCLUDED_ca_confidant_glory_GloryFrameworkApp - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS3(ca,confidant,glory,GloryFrameworkApp) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace ca{ -namespace confidant{ -namespace glory{ - - -class GloryFrameworkApp_obj : public ::neash::display::Sprite_obj{ - public: - typedef ::neash::display::Sprite_obj super; - typedef GloryFrameworkApp_obj OBJ_; - GloryFrameworkApp_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< GloryFrameworkApp_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GloryFrameworkApp_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GloryFrameworkApp"); } - - virtual Void displayMessage( ::String m); - Dynamic displayMessage_dyn(); - - static Void main( ); - static Dynamic main_dyn(); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory - -#endif /* INCLUDED_ca_confidant_glory_GloryFrameworkApp */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/Tracer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/Tracer.h deleted file mode 100644 index 6009c8d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/Tracer.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_Tracer -#define INCLUDED_ca_confidant_glory_Tracer - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS3(ca,confidant,glory,Tracer) -namespace ca{ -namespace confidant{ -namespace glory{ - - -class Tracer_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Tracer_obj OBJ_; - Tracer_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Tracer_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Tracer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Tracer"); } - - static Void setRedirection( ); - static Dynamic setRedirection_dyn(); - - static Void customTrace( Dynamic v,Dynamic inf); - static Dynamic customTrace_dyn(); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory - -#endif /* INCLUDED_ca_confidant_glory_Tracer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/BuildControlsCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/BuildControlsCommand.h deleted file mode 100644 index b5be9bb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/BuildControlsCommand.h +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_BuildControlsCommand -#define INCLUDED_ca_confidant_glory_controller_BuildControlsCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,BuildControlsCommand) -HX_DECLARE_CLASS4(ca,confidant,glory,model,ControlsRegistryProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,model,LoaderProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,model,PagesConfigProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,view,ApplicationMediator) -HX_DECLARE_CLASS2(haxe,xml,Fast) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class BuildControlsCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef BuildControlsCommand_obj OBJ_; - BuildControlsCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< BuildControlsCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BuildControlsCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BuildControlsCommand"); } - - virtual Void makeControl( ::haxe::xml::Fast actor); - Dynamic makeControl_dyn(); - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - - ::ca::confidant::glory::model::LoaderProxy lp; /* REM */ - ::ca::confidant::glory::view::ApplicationMediator appMediator; /* REM */ - ::ca::confidant::glory::model::ControlsRegistryProxy csp; /* REM */ - ::ca::confidant::glory::model::PagesConfigProxy pcp; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_BuildControlsCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/BuildPageCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/BuildPageCommand.h deleted file mode 100644 index 65b6309..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/BuildPageCommand.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_BuildPageCommand -#define INCLUDED_ca_confidant_glory_controller_BuildPageCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,BuildPageCommand) -HX_DECLARE_CLASS4(ca,confidant,glory,model,LoaderProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,model,PagesConfigProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,view,ApplicationMediator) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ActorComponent) -HX_DECLARE_CLASS2(haxe,xml,Fast) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class BuildPageCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef BuildPageCommand_obj OBJ_; - BuildPageCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< BuildPageCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BuildPageCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BuildPageCommand"); } - - virtual ::ca::confidant::glory::view::components::ActorComponent makeActor( ::haxe::xml::Fast actor); - Dynamic makeActor_dyn(); - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - - ::ca::confidant::glory::model::LoaderProxy lp; /* REM */ - ::ca::confidant::glory::view::ApplicationMediator appMediator; /* REM */ - ::ca::confidant::glory::model::PagesConfigProxy pcp; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_BuildPageCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/ChangePageCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/ChangePageCommand.h deleted file mode 100644 index 0d8ee7c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/ChangePageCommand.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_ChangePageCommand -#define INCLUDED_ca_confidant_glory_controller_ChangePageCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,ChangePageCommand) -HX_DECLARE_CLASS4(ca,confidant,glory,model,PagesConfigProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,view,ApplicationMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class ChangePageCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef ChangePageCommand_obj OBJ_; - ChangePageCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ChangePageCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ChangePageCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ChangePageCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - - ::ca::confidant::glory::view::ApplicationMediator appMediator; /* REM */ - ::ca::confidant::glory::model::PagesConfigProxy pcp; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_ChangePageCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/GotoIntroCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/GotoIntroCommand.h deleted file mode 100644 index 3d6f0c3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/GotoIntroCommand.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_GotoIntroCommand -#define INCLUDED_ca_confidant_glory_controller_GotoIntroCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,GotoIntroCommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class GotoIntroCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef GotoIntroCommand_obj OBJ_; - GotoIntroCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< GotoIntroCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GotoIntroCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GotoIntroCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_GotoIntroCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/HandleAssetsLoadedCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/HandleAssetsLoadedCommand.h deleted file mode 100644 index 6fec6de..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/HandleAssetsLoadedCommand.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_HandleAssetsLoadedCommand -#define INCLUDED_ca_confidant_glory_controller_HandleAssetsLoadedCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,HandleAssetsLoadedCommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class HandleAssetsLoadedCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef HandleAssetsLoadedCommand_obj OBJ_; - HandleAssetsLoadedCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< HandleAssetsLoadedCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~HandleAssetsLoadedCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("HandleAssetsLoadedCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_HandleAssetsLoadedCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/RemovePageCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/RemovePageCommand.h deleted file mode 100644 index 6f1d81c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/RemovePageCommand.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_RemovePageCommand -#define INCLUDED_ca_confidant_glory_controller_RemovePageCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,RemovePageCommand) -HX_DECLARE_CLASS4(ca,confidant,glory,model,ControlsRegistryProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,model,PagesConfigProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,view,ApplicationMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class RemovePageCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef RemovePageCommand_obj OBJ_; - RemovePageCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< RemovePageCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~RemovePageCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("RemovePageCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - - ::ca::confidant::glory::model::ControlsRegistryProxy crp; /* REM */ - ::ca::confidant::glory::view::ApplicationMediator appMediator; /* REM */ - ::ca::confidant::glory::model::PagesConfigProxy pcp; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_RemovePageCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/Startup0_RegCommands_Command.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/Startup0_RegCommands_Command.h deleted file mode 100644 index 689b095..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/Startup0_RegCommands_Command.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_Startup0_RegCommands_Command -#define INCLUDED_ca_confidant_glory_controller_Startup0_RegCommands_Command - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,Startup0_RegCommands_Command) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class Startup0_RegCommands_Command_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef Startup0_RegCommands_Command_obj OBJ_; - Startup0_RegCommands_Command_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Startup0_RegCommands_Command_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Startup0_RegCommands_Command_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Startup0_RegCommands_Command"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_Startup0_RegCommands_Command */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/Startup1_App_Command.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/Startup1_App_Command.h deleted file mode 100644 index 3f83790..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/Startup1_App_Command.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_Startup1_App_Command -#define INCLUDED_ca_confidant_glory_controller_Startup1_App_Command - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,Startup1_App_Command) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class Startup1_App_Command_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef Startup1_App_Command_obj OBJ_; - Startup1_App_Command_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Startup1_App_Command_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Startup1_App_Command_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Startup1_App_Command"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_Startup1_App_Command */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/Startup2_Proxies_Command.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/Startup2_Proxies_Command.h deleted file mode 100644 index 019d65e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/Startup2_Proxies_Command.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_Startup2_Proxies_Command -#define INCLUDED_ca_confidant_glory_controller_Startup2_Proxies_Command - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,Startup2_Proxies_Command) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class Startup2_Proxies_Command_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef Startup2_Proxies_Command_obj OBJ_; - Startup2_Proxies_Command_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Startup2_Proxies_Command_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Startup2_Proxies_Command_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Startup2_Proxies_Command"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_Startup2_Proxies_Command */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/StartupCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/StartupCommand.h deleted file mode 100644 index 94eab63..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/StartupCommand.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_StartupCommand -#define INCLUDED_ca_confidant_glory_controller_StartupCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,StartupCommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,MacroCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class StartupCommand_obj : public ::org::puremvc::haxe::patterns::command::MacroCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::MacroCommand_obj super; - typedef StartupCommand_obj OBJ_; - StartupCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< StartupCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~StartupCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("StartupCommand"); } - - virtual Void initializeMacroCommand( ); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_StartupCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/TimerDisableCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/TimerDisableCommand.h deleted file mode 100644 index b7e344b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/TimerDisableCommand.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_TimerDisableCommand -#define INCLUDED_ca_confidant_glory_controller_TimerDisableCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,TimerDisableCommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class TimerDisableCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef TimerDisableCommand_obj OBJ_; - TimerDisableCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< TimerDisableCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TimerDisableCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TimerDisableCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_TimerDisableCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/TimerEnableCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/TimerEnableCommand.h deleted file mode 100644 index adcb3c8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/controller/TimerEnableCommand.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_controller_TimerEnableCommand -#define INCLUDED_ca_confidant_glory_controller_TimerEnableCommand - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,controller,TimerEnableCommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - - -class TimerEnableCommand_obj : public ::org::puremvc::haxe::patterns::command::SimpleCommand_obj{ - public: - typedef ::org::puremvc::haxe::patterns::command::SimpleCommand_obj super; - typedef TimerEnableCommand_obj OBJ_; - TimerEnableCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< TimerEnableCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TimerEnableCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TimerEnableCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification note); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller - -#endif /* INCLUDED_ca_confidant_glory_controller_TimerEnableCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/model/ActorComponentConfigProxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/model/ActorComponentConfigProxy.h deleted file mode 100644 index 0b872eb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/model/ActorComponentConfigProxy.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_model_ActorComponentConfigProxy -#define INCLUDED_ca_confidant_glory_model_ActorComponentConfigProxy - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,model,ActorComponentConfigProxy) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - - -class ActorComponentConfigProxy_obj : public ::org::puremvc::haxe::patterns::proxy::Proxy_obj{ - public: - typedef ::org::puremvc::haxe::patterns::proxy::Proxy_obj super; - typedef ActorComponentConfigProxy_obj OBJ_; - ActorComponentConfigProxy_obj(); - Void __construct(::String id,::String theType,::String __o_theAction); - - public: - static hx::ObjectPtr< ActorComponentConfigProxy_obj > __new(::String id,::String theType,::String __o_theAction); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ActorComponentConfigProxy_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ActorComponentConfigProxy"); } - - ::String action; /* REM */ - ::String type; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model - -#endif /* INCLUDED_ca_confidant_glory_model_ActorComponentConfigProxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/model/ControlsRegistryProxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/model/ControlsRegistryProxy.h deleted file mode 100644 index 5c13fbc..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/model/ControlsRegistryProxy.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy -#define INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,model,ControlsRegistryProxy) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - - -class ControlsRegistryProxy_obj : public ::org::puremvc::haxe::patterns::proxy::Proxy_obj{ - public: - typedef ::org::puremvc::haxe::patterns::proxy::Proxy_obj super; - typedef ControlsRegistryProxy_obj OBJ_; - ControlsRegistryProxy_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ControlsRegistryProxy_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ControlsRegistryProxy_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ControlsRegistryProxy"); } - - virtual Void registerControl( ::neash::display::DisplayObject d); - Dynamic registerControl_dyn(); - - virtual Array< ::neash::display::DisplayObject > getControls( ); - Dynamic getControls_dyn(); - - Array< ::neash::display::DisplayObject > controls; /* REM */ - int currentPage; /* REM */ - static ::String NAME; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model - -#endif /* INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/model/LoaderProxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/model/LoaderProxy.h deleted file mode 100644 index 8b5a0f8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/model/LoaderProxy.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#define INCLUDED_ca_confidant_glory_model_LoaderProxy - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS4(ca,confidant,glory,model,LoaderProxy) -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - - -class LoaderProxy_obj : public ::org::puremvc::haxe::patterns::proxy::Proxy_obj{ - public: - typedef ::org::puremvc::haxe::patterns::proxy::Proxy_obj super; - typedef LoaderProxy_obj OBJ_; - LoaderProxy_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< LoaderProxy_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~LoaderProxy_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("LoaderProxy"); } - - virtual Void loadAllAssets( ); - Dynamic loadAllAssets_dyn(); - - virtual ::neash::display::BitmapData getBitmapData( ::String id,hx::Null< bool > b); - Dynamic getBitmapData_dyn(); - - virtual ::String getText( ::String id); - Dynamic getText_dyn(); - - virtual Dynamic retrieveLoadedAsset( ::String key); - Dynamic retrieveLoadedAsset_dyn(); - - virtual Void loadXML( ::String src); - Dynamic loadXML_dyn(); - - ::Hash loadedItems; /* REM */ - static ::String NAME; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model - -#endif /* INCLUDED_ca_confidant_glory_model_LoaderProxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/model/PagesConfigProxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/model/PagesConfigProxy.h deleted file mode 100644 index 9e06b97..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/model/PagesConfigProxy.h +++ /dev/null @@ -1,113 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#define INCLUDED_ca_confidant_glory_model_PagesConfigProxy - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS0(List) -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS4(ca,confidant,glory,model,PagesConfigProxy) -HX_DECLARE_CLASS2(haxe,xml,Fast) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - - -class PagesConfigProxy_obj : public ::org::puremvc::haxe::patterns::proxy::Proxy_obj{ - public: - typedef ::org::puremvc::haxe::patterns::proxy::Proxy_obj super; - typedef PagesConfigProxy_obj OBJ_; - PagesConfigProxy_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< PagesConfigProxy_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~PagesConfigProxy_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("PagesConfigProxy"); } - - virtual ::Xml pagesXML( ); - Dynamic pagesXML_dyn(); - - virtual Dynamic getConfigXML( int i); - Dynamic getConfigXML_dyn(); - - virtual Void parseXML( ); - Dynamic parseXML_dyn(); - - virtual int numpages( ); - Dynamic numpages_dyn(); - - virtual Dynamic getPosition( int i); - Dynamic getPosition_dyn(); - - virtual ::Hash getPage( ::String pageId); - Dynamic getPage_dyn(); - - virtual ::String getActorHref( ::String controlId); - Dynamic getActorHref_dyn(); - - virtual ::String getControlHref( ::String controlId); - Dynamic getControlHref_dyn(); - - virtual ::List getAppControls( ); - Dynamic getAppControls_dyn(); - - virtual ::List getPageActors( ::String pageId); - Dynamic getPageActors_dyn(); - - virtual ::String getBackground( ::String pageId); - Dynamic getBackground_dyn(); - - virtual ::Hash getPreviousPage( ); - Dynamic getPreviousPage_dyn(); - - virtual ::Hash getNextPage( ); - Dynamic getNextPage_dyn(); - - virtual ::Hash getPageById( ::String id); - Dynamic getPageById_dyn(); - - virtual Void setCurrentPageById( ::String id); - Dynamic setCurrentPageById_dyn(); - - virtual ::Hash getCurrentPage( ); - Dynamic getCurrentPage_dyn(); - - virtual Void loadXML( ::String rawXML); - Dynamic loadXML_dyn(); - - int currentPage; /* REM */ - ::String chosenLayout; /* REM */ - Dynamic chosenpages; /* REM */ - Dynamic randomPositions; /* REM */ - Array< ::Hash > positions; /* REM */ - Dynamic randomPicks; /* REM */ - Dynamic imageItems; /* REM */ - Array< ::Hash > allPages; /* REM */ - ::haxe::xml::Fast fast; /* REM */ - ::Xml _pagesXML; /* REM */ - static ::String NAME; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model - -#endif /* INCLUDED_ca_confidant_glory_model_PagesConfigProxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/model/TickerProxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/model/TickerProxy.h deleted file mode 100644 index bcaaa74..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/model/TickerProxy.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_model_TickerProxy -#define INCLUDED_ca_confidant_glory_model_TickerProxy - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,model,TickerProxy) -HX_DECLARE_CLASS1(haxe,Timer) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - - -class TickerProxy_obj : public ::org::puremvc::haxe::patterns::proxy::Proxy_obj{ - public: - typedef ::org::puremvc::haxe::patterns::proxy::Proxy_obj super; - typedef TickerProxy_obj OBJ_; - TickerProxy_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< TickerProxy_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TickerProxy_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TickerProxy"); } - - virtual Void setInterval( int i); - Dynamic setInterval_dyn(); - - virtual Void onTimerTick( ); - Dynamic onTimerTick_dyn(); - - virtual Void stopTimer( ); - Dynamic stopTimer_dyn(); - - virtual Void startTimer( hx::Null< int > i); - Dynamic startTimer_dyn(); - - ::haxe::Timer myTimer; /* REM */ - int interval; /* REM */ - static ::String NAME; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model - -#endif /* INCLUDED_ca_confidant_glory_model_TickerProxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/ActorComponentMediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/ActorComponentMediator.h deleted file mode 100644 index ff87438..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/ActorComponentMediator.h +++ /dev/null @@ -1,82 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_ActorComponentMediator -#define INCLUDED_ca_confidant_glory_view_ActorComponentMediator - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,model,ActorComponentConfigProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,view,ActorComponentMediator) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ActorComponent) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,events,MouseEvent) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - - -class ActorComponentMediator_obj : public ::org::puremvc::haxe::patterns::mediator::Mediator_obj{ - public: - typedef ::org::puremvc::haxe::patterns::mediator::Mediator_obj super; - typedef ActorComponentMediator_obj OBJ_; - ActorComponentMediator_obj(); - Void __construct(::String id,::ca::confidant::glory::view::components::ActorComponent viewComponent,::ca::confidant::glory::model::ActorComponentConfigProxy accp); - - public: - static hx::ObjectPtr< ActorComponentMediator_obj > __new(::String id,::ca::confidant::glory::view::components::ActorComponent viewComponent,::ca::confidant::glory::model::ActorComponentConfigProxy accp); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ActorComponentMediator_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ActorComponentMediator"); } - - virtual ::ca::confidant::glory::view::components::ActorComponent actor( ); - Dynamic actor_dyn(); - - virtual Void onPanRight( Dynamic e); - Dynamic onPanRight_dyn(); - - virtual Void onPanLeft( Dynamic e); - Dynamic onPanLeft_dyn(); - - virtual Void handleNotification( ::org::puremvc::haxe::interfaces::INotification note); - - virtual Array< ::String > listNotificationInterests( ); - - virtual Void onActorClicked( ::neash::events::MouseEvent e); - Dynamic onActorClicked_dyn(); - - virtual Void addListeners( ); - Dynamic addListeners_dyn(); - - ::String type; /* REM */ - ::ca::confidant::glory::model::ActorComponentConfigProxy config; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view - -#endif /* INCLUDED_ca_confidant_glory_view_ActorComponentMediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/ApplicationMediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/ApplicationMediator.h deleted file mode 100644 index 24b8cf7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/ApplicationMediator.h +++ /dev/null @@ -1,82 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#define INCLUDED_ca_confidant_glory_view_ApplicationMediator - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS3(ca,confidant,glory,GloryFrameworkApp) -HX_DECLARE_CLASS4(ca,confidant,glory,model,LoaderProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,model,PagesConfigProxy) -HX_DECLARE_CLASS4(ca,confidant,glory,view,ApplicationMediator) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - - -class ApplicationMediator_obj : public ::org::puremvc::haxe::patterns::mediator::Mediator_obj{ - public: - typedef ::org::puremvc::haxe::patterns::mediator::Mediator_obj super; - typedef ApplicationMediator_obj OBJ_; - ApplicationMediator_obj(); - Void __construct(::ca::confidant::glory::GloryFrameworkApp viewComponent); - - public: - static hx::ObjectPtr< ApplicationMediator_obj > __new(::ca::confidant::glory::GloryFrameworkApp viewComponent); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ApplicationMediator_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ApplicationMediator"); } - - virtual ::ca::confidant::glory::GloryFrameworkApp getApp( ); - Dynamic getApp_dyn(); - - virtual Void handleNotification( ::org::puremvc::haxe::interfaces::INotification note); - - virtual int getIndex( ::neash::display::DisplayObject d); - Dynamic getIndex_dyn(); - - virtual Void reportLayers( ); - Dynamic reportLayers_dyn(); - - virtual Void removeDisplayObject( ::neash::display::DisplayObject d); - Dynamic removeDisplayObject_dyn(); - - virtual Void addDisplayObject( ::neash::display::DisplayObject d,hx::Null< int > level); - Dynamic addDisplayObject_dyn(); - - virtual Array< ::String > listNotificationInterests( ); - - ::ca::confidant::glory::model::PagesConfigProxy pagesConfigProxy; /* REM */ - ::ca::confidant::glory::model::LoaderProxy loaderProxy; /* REM */ - static ::String NAME; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view - -#endif /* INCLUDED_ca_confidant_glory_view_ApplicationMediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/ControlComponentMediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/ControlComponentMediator.h deleted file mode 100644 index b05c59b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/ControlComponentMediator.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_ControlComponentMediator -#define INCLUDED_ca_confidant_glory_view_ControlComponentMediator - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,view,ControlComponentMediator) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ControlComponent) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,events,MouseEvent) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - - -class ControlComponentMediator_obj : public ::org::puremvc::haxe::patterns::mediator::Mediator_obj{ - public: - typedef ::org::puremvc::haxe::patterns::mediator::Mediator_obj super; - typedef ControlComponentMediator_obj OBJ_; - ControlComponentMediator_obj(); - Void __construct(::String id,::ca::confidant::glory::view::components::ControlComponent viewComponent); - - public: - static hx::ObjectPtr< ControlComponentMediator_obj > __new(::String id,::ca::confidant::glory::view::components::ControlComponent viewComponent); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ControlComponentMediator_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ControlComponentMediator"); } - - virtual ::ca::confidant::glory::view::components::ControlComponent control( ); - Dynamic control_dyn(); - - virtual Void onControlClicked( ::neash::events::MouseEvent e); - Dynamic onControlClicked_dyn(); - - virtual Void onMouseUp( ::neash::events::MouseEvent e); - Dynamic onMouseUp_dyn(); - - virtual Void onMouseDown( ::neash::events::MouseEvent e); - Dynamic onMouseDown_dyn(); - - virtual Void addListeners( ); - Dynamic addListeners_dyn(); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view - -#endif /* INCLUDED_ca_confidant_glory_view_ControlComponentMediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/PageMediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/PageMediator.h deleted file mode 100644 index 90d7aa8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/PageMediator.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_PageMediator -#define INCLUDED_ca_confidant_glory_view_PageMediator - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(ca,confidant,glory,view,PageMediator) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,PageComponent) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - - -class PageMediator_obj : public ::org::puremvc::haxe::patterns::mediator::Mediator_obj{ - public: - typedef ::org::puremvc::haxe::patterns::mediator::Mediator_obj super; - typedef PageMediator_obj OBJ_; - PageMediator_obj(); - Void __construct(::String id,::ca::confidant::glory::view::components::PageComponent viewComponent); - - public: - static hx::ObjectPtr< PageMediator_obj > __new(::String id,::ca::confidant::glory::view::components::PageComponent viewComponent); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~PageMediator_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("PageMediator"); } - - virtual ::ca::confidant::glory::view::components::PageComponent page( ); - Dynamic page_dyn(); - -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view - -#endif /* INCLUDED_ca_confidant_glory_view_PageMediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/components/ActorComponent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/components/ActorComponent.h deleted file mode 100644 index 525e0c4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/components/ActorComponent.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#define INCLUDED_ca_confidant_glory_view_components_ActorComponent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ActorComponent) -HX_DECLARE_CLASS2(neash,display,Bitmap) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace components{ - - -class ActorComponent_obj : public ::neash::display::Sprite_obj{ - public: - typedef ::neash::display::Sprite_obj super; - typedef ActorComponent_obj OBJ_; - ActorComponent_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ActorComponent_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ActorComponent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ActorComponent"); } - - virtual Void addSVG( ::String t); - Dynamic addSVG_dyn(); - - virtual Void addBitmap( ::neash::display::Bitmap bMap); - Dynamic addBitmap_dyn(); - - ::String type; /* REM */ - ::neash::display::Bitmap defaultBitmap; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace components - -#endif /* INCLUDED_ca_confidant_glory_view_components_ActorComponent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/components/ControlComponent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/components/ControlComponent.h deleted file mode 100644 index 81a5361..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/components/ControlComponent.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_components_ControlComponent -#define INCLUDED_ca_confidant_glory_view_components_ControlComponent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ControlComponent) -HX_DECLARE_CLASS2(neash,display,Bitmap) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace components{ - - -class ControlComponent_obj : public ::neash::display::Sprite_obj{ - public: - typedef ::neash::display::Sprite_obj super; - typedef ControlComponent_obj OBJ_; - ControlComponent_obj(); - Void __construct(::String action); - - public: - static hx::ObjectPtr< ControlComponent_obj > __new(::String action); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ControlComponent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ControlComponent"); } - - virtual Void addSVG( ::String t); - Dynamic addSVG_dyn(); - - virtual Void addBitmap( ::neash::display::Bitmap bMap); - Dynamic addBitmap_dyn(); - - ::String action; /* REM */ - ::neash::display::Bitmap defaultBitmap; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace components - -#endif /* INCLUDED_ca_confidant_glory_view_components_ControlComponent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/components/PageComponent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/components/PageComponent.h deleted file mode 100644 index 46635f8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/components/PageComponent.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_components_PageComponent -#define INCLUDED_ca_confidant_glory_view_components_PageComponent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ActorComponent) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,PageComponent) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace components{ - - -class PageComponent_obj : public ::neash::display::Sprite_obj{ - public: - typedef ::neash::display::Sprite_obj super; - typedef PageComponent_obj OBJ_; - PageComponent_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< PageComponent_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~PageComponent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("PageComponent"); } - - virtual Void init( ); - Dynamic init_dyn(); - - virtual Void addActor( ::String key,::ca::confidant::glory::view::components::ActorComponent spr); - Dynamic addActor_dyn(); - - ::Hash myActors; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace components - -#endif /* INCLUDED_ca_confidant_glory_view_components_PageComponent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/constants/ControlConstants.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/constants/ControlConstants.h deleted file mode 100644 index 35ba082..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/ca/confidant/glory/view/constants/ControlConstants.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_ca_confidant_glory_view_constants_ControlConstants -#define INCLUDED_ca_confidant_glory_view_constants_ControlConstants - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS5(ca,confidant,glory,view,constants,ControlConstants) -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace constants{ - - -class ControlConstants_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef ControlConstants_obj OBJ_; - ControlConstants_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ControlConstants_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ControlConstants_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ControlConstants"); } - - static ::String PAGE_FORWARD; /* REM */ - static ::String PAGE_BACKWARD; /* REM */ - static ::String PAGE_SKIP_TO; /* REM */ - static ::String TOGGLE_MENU; /* REM */ - static ::String GET_URL; /* REM */ - static ::String PAN_RIGHT_CONTROL; /* REM */ - static ::String PAN_LEFT_CONTROL; /* REM */ - static ::String TRANSITION_OUT; /* REM */ - static ::String TRANSITION_IN; /* REM */ - static ::String CONTROL; /* REM */ -}; - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace constants - -#endif /* INCLUDED_ca_confidant_glory_view_constants_ControlConstants */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/cpp/Lib.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/cpp/Lib.h deleted file mode 100644 index 30e94b1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/cpp/Lib.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_cpp_Lib -#define INCLUDED_cpp_Lib - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(cpp,Lib) -namespace cpp{ - - -class Lib_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Lib_obj OBJ_; - Lib_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Lib_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Lib_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Lib"); } - - static Dynamic load( ::String lib,::String prim,int nargs); - static Dynamic load_dyn(); - - static Dynamic loadLazy( ::String lib,::String prim,int nargs); - static Dynamic loadLazy_dyn(); - - static Void rethrow( Dynamic inExp); - static Dynamic rethrow_dyn(); - - static Void stringReference( Dynamic inExp); - static Dynamic stringReference_dyn(); - - static Void print( Dynamic v); - static Dynamic print_dyn(); - - static Dynamic haxeToNeko( Dynamic v); - static Dynamic haxeToNeko_dyn(); - - static Dynamic nekoToHaxe( Dynamic v); - static Dynamic nekoToHaxe_dyn(); - - static Void println( Dynamic v); - static Dynamic println_dyn(); - -}; - -} // end namespace cpp - -#endif /* INCLUDED_cpp_Lib */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/cpp/rtti/FieldNumericIntegerLookup.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/cpp/rtti/FieldNumericIntegerLookup.h deleted file mode 100644 index 9997535..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/cpp/rtti/FieldNumericIntegerLookup.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_cpp_rtti_FieldNumericIntegerLookup -#define INCLUDED_cpp_rtti_FieldNumericIntegerLookup - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(cpp,rtti,FieldNumericIntegerLookup) -namespace cpp{ -namespace rtti{ - - -class FieldNumericIntegerLookup_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef FieldNumericIntegerLookup_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -}; - -#define DELEGATE_cpp_rtti_FieldNumericIntegerLookup \ - - -template -class FieldNumericIntegerLookup_delegate_ : public FieldNumericIntegerLookup_obj -{ - protected: - IMPL *mDelegate; - public: - FieldNumericIntegerLookup_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_cpp_rtti_FieldNumericIntegerLookup -}; - -} // end namespace cpp -} // end namespace rtti - -#endif /* INCLUDED_cpp_rtti_FieldNumericIntegerLookup */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/cpp/zip/Compress.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/cpp/zip/Compress.h deleted file mode 100644 index 5d2d44c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/cpp/zip/Compress.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef INCLUDED_cpp_zip_Compress -#define INCLUDED_cpp_zip_Compress - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(cpp,zip,Compress) -HX_DECLARE_CLASS2(cpp,zip,Flush) -HX_DECLARE_CLASS2(haxe,io,Bytes) -namespace cpp{ -namespace zip{ - - -class Compress_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Compress_obj OBJ_; - Compress_obj(); - Void __construct(int level); - - public: - static hx::ObjectPtr< Compress_obj > __new(int level); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Compress_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Compress"); } - - virtual Void close( ); - Dynamic close_dyn(); - - virtual Void setFlushMode( ::cpp::zip::Flush f); - Dynamic setFlushMode_dyn(); - - virtual Dynamic execute( ::haxe::io::Bytes src,int srcPos,::haxe::io::Bytes dst,int dstPos); - Dynamic execute_dyn(); - - Dynamic s; /* REM */ - static ::haxe::io::Bytes run( ::haxe::io::Bytes s,int level); - static Dynamic run_dyn(); - - static Dynamic _deflate_init; /* REM */ - static Dynamic &_deflate_init_dyn() { return _deflate_init;} - static Dynamic _deflate_bound; /* REM */ - static Dynamic &_deflate_bound_dyn() { return _deflate_bound;} - static Dynamic _deflate_buffer; /* REM */ - static Dynamic &_deflate_buffer_dyn() { return _deflate_buffer;} - static Dynamic _deflate_end; /* REM */ - static Dynamic &_deflate_end_dyn() { return _deflate_end;} - static Dynamic _set_flush_mode; /* REM */ - static Dynamic &_set_flush_mode_dyn() { return _set_flush_mode;} -}; - -} // end namespace cpp -} // end namespace zip - -#endif /* INCLUDED_cpp_zip_Compress */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/cpp/zip/Flush.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/cpp/zip/Flush.h deleted file mode 100644 index 66602ba..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/cpp/zip/Flush.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_cpp_zip_Flush -#define INCLUDED_cpp_zip_Flush - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(cpp,zip,Flush) -namespace cpp{ -namespace zip{ - - -class Flush_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef Flush_obj OBJ_; - - public: - Flush_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("cpp.zip.Flush"); } - ::String __ToString() const { return HX_CSTRING("Flush.") + tag; } - - static ::cpp::zip::Flush BLOCK; - static inline ::cpp::zip::Flush BLOCK_dyn() { return BLOCK; } - static ::cpp::zip::Flush FINISH; - static inline ::cpp::zip::Flush FINISH_dyn() { return FINISH; } - static ::cpp::zip::Flush FULL; - static inline ::cpp::zip::Flush FULL_dyn() { return FULL; } - static ::cpp::zip::Flush NO; - static inline ::cpp::zip::Flush NO_dyn() { return NO; } - static ::cpp::zip::Flush SYNC; - static inline ::cpp::zip::Flush SYNC_dyn() { return SYNC; } -}; - -} // end namespace cpp -} // end namespace zip - -#endif /* INCLUDED_cpp_zip_Flush */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/cpp/zip/Uncompress.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/cpp/zip/Uncompress.h deleted file mode 100644 index 45ad18d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/cpp/zip/Uncompress.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_cpp_zip_Uncompress -#define INCLUDED_cpp_zip_Uncompress - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(cpp,zip,Flush) -HX_DECLARE_CLASS2(cpp,zip,Uncompress) -HX_DECLARE_CLASS2(haxe,io,Bytes) -namespace cpp{ -namespace zip{ - - -class Uncompress_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Uncompress_obj OBJ_; - Uncompress_obj(); - Void __construct(Dynamic windowBits); - - public: - static hx::ObjectPtr< Uncompress_obj > __new(Dynamic windowBits); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Uncompress_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Uncompress"); } - - virtual Void close( ); - Dynamic close_dyn(); - - virtual Void setFlushMode( ::cpp::zip::Flush f); - Dynamic setFlushMode_dyn(); - - virtual Dynamic this_run( ::haxe::io::Bytes src,int srcPos,::haxe::io::Bytes dst,int dstPos); - Dynamic this_run_dyn(); - - Dynamic s; /* REM */ - static ::haxe::io::Bytes run( ::haxe::io::Bytes src,Dynamic bufsize); - static Dynamic run_dyn(); - - static Dynamic _inflate_init; /* REM */ - static Dynamic &_inflate_init_dyn() { return _inflate_init;} - static Dynamic _inflate_buffer; /* REM */ - static Dynamic &_inflate_buffer_dyn() { return _inflate_buffer;} - static Dynamic _inflate_end; /* REM */ - static Dynamic &_inflate_end_dyn() { return _inflate_end;} - static Dynamic _set_flush_mode; /* REM */ - static Dynamic &_set_flush_mode_dyn() { return _set_flush_mode;} -}; - -} // end namespace cpp -} // end namespace zip - -#endif /* INCLUDED_cpp_zip_Uncompress */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/SVG.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/SVG.h deleted file mode 100644 index 027944c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/SVG.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef INCLUDED_format_SVG -#define INCLUDED_format_SVG - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(format,SVG) -HX_DECLARE_CLASS2(format,svg,Group) -HX_DECLARE_CLASS2(format,svg,SVGData) -HX_DECLARE_CLASS2(neash,display,Graphics) -namespace format{ - - -class SVG_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef SVG_obj OBJ_; - SVG_obj(); - Void __construct(::String content); - - public: - static hx::ObjectPtr< SVG_obj > __new(::String content); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SVG_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SVG"); } - - virtual Void render( ::neash::display::Graphics graphics,hx::Null< Float > x,hx::Null< Float > y,hx::Null< int > width,hx::Null< int > height); - Dynamic render_dyn(); - - ::format::svg::SVGData data; /* REM */ -}; - -} // end namespace format - -#endif /* INCLUDED_format_SVG */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/Gfx.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/Gfx.h deleted file mode 100644 index cf15e98..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/Gfx.h +++ /dev/null @@ -1,77 +0,0 @@ -#ifndef INCLUDED_format_gfx_Gfx -#define INCLUDED_format_gfx_Gfx - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(format,gfx,LineStyle) -HX_DECLARE_CLASS2(format,svg,Text) -namespace format{ -namespace gfx{ - - -class Gfx_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Gfx_obj OBJ_; - Gfx_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Gfx_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Gfx_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Gfx"); } - - virtual Void eof( ); - Dynamic eof_dyn(); - - virtual Void renderText( ::format::svg::Text text); - Dynamic renderText_dyn(); - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - Dynamic curveTo_dyn(); - - virtual Void lineTo( Float inX,Float inY); - Dynamic lineTo_dyn(); - - virtual Void moveTo( Float inX,Float inY); - Dynamic moveTo_dyn(); - - virtual Void endLineStyle( ); - Dynamic endLineStyle_dyn(); - - virtual Void lineStyle( ::format::gfx::LineStyle style); - Dynamic lineStyle_dyn(); - - virtual Void endFill( ); - Dynamic endFill_dyn(); - - virtual Void beginFill( int color,Float alpha); - Dynamic beginFill_dyn(); - - virtual Void beginGradientFill( ::format::gfx::Gradient grad); - Dynamic beginGradientFill_dyn(); - - virtual Void size( Float inWidth,Float inHeight); - Dynamic size_dyn(); - - virtual bool geometryOnly( ); - Dynamic geometryOnly_dyn(); - -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_Gfx */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/Gfx2Haxe.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/Gfx2Haxe.h deleted file mode 100644 index c5d9cad..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/Gfx2Haxe.h +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef INCLUDED_format_gfx_Gfx2Haxe -#define INCLUDED_format_gfx_Gfx2Haxe - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,Gfx2Haxe) -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(format,gfx,LineStyle) -HX_DECLARE_CLASS2(neash,geom,Matrix) -namespace format{ -namespace gfx{ - - -class Gfx2Haxe_obj : public ::format::gfx::Gfx_obj{ - public: - typedef ::format::gfx::Gfx_obj super; - typedef Gfx2Haxe_obj OBJ_; - Gfx2Haxe_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Gfx2Haxe_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Gfx2Haxe_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Gfx2Haxe"); } - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - - virtual Void lineTo( Float inX,Float inY); - - virtual Void moveTo( Float inX,Float inY); - - virtual Void endLineStyle( ); - - virtual Void lineStyle( ::format::gfx::LineStyle style); - - virtual Void endFill( ); - - virtual Void beginFill( int color,Float alpha); - - virtual Void beginGradientFill( ::format::gfx::Gradient grad); - - virtual ::String newMatrix( ::neash::geom::Matrix m); - Dynamic newMatrix_dyn(); - - virtual ::String f2a( Float f); - Dynamic f2a_dyn(); - - Array< ::String > commands; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_Gfx2Haxe */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/GfxBytes.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/GfxBytes.h deleted file mode 100644 index 0da3fde..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/GfxBytes.h +++ /dev/null @@ -1,107 +0,0 @@ -#ifndef INCLUDED_format_gfx_GfxBytes -#define INCLUDED_format_gfx_GfxBytes - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,GfxBytes) -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(format,gfx,LineStyle) -HX_DECLARE_CLASS1(haxe,BaseCode) -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,display,CapsStyle) -HX_DECLARE_CLASS2(neash,display,InterpolationMethod) -HX_DECLARE_CLASS2(neash,display,JointStyle) -HX_DECLARE_CLASS2(neash,display,LineScaleMode) -HX_DECLARE_CLASS2(neash,display,SpreadMethod) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace format{ -namespace gfx{ - - -class GfxBytes_obj : public ::format::gfx::Gfx_obj{ - public: - typedef ::format::gfx::Gfx_obj super; - typedef GfxBytes_obj OBJ_; - GfxBytes_obj(); - Void __construct(::neash::utils::ByteArray inBuffer,hx::Null< int > __o_inFlags); - - public: - static hx::ObjectPtr< GfxBytes_obj > __new(::neash::utils::ByteArray inBuffer,hx::Null< int > __o_inFlags); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GfxBytes_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GfxBytes"); } - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - - virtual Void lineTo( Float inX,Float inY); - - virtual Void moveTo( Float inX,Float inY); - - virtual Void endLineStyle( ); - - virtual Void lineStyle( ::format::gfx::LineStyle style); - - virtual Void endFill( ); - - virtual Void beginFill( int color,Float alpha); - - virtual Void beginGradientFill( ::format::gfx::Gradient grad); - - virtual int readRGB( ); - Dynamic readRGB_dyn(); - - virtual Void writeRGB( int inVal); - Dynamic writeRGB_dyn(); - - virtual Void pushClipped( Float inVal); - Dynamic pushClipped_dyn(); - - virtual Void size( Float inWidth,Float inHeight); - - virtual Void iterate( ::format::gfx::Gfx inGfx); - Dynamic iterate_dyn(); - - virtual Void eof( ); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - ::neash::utils::ByteArray buffer; /* REM */ - static int _EOF; /* REM */ - static int SIZE; /* REM */ - static int BEGIN_FILL; /* REM */ - static int GRADIENT_FILL; /* REM */ - static int END_FILL; /* REM */ - static int LINE_STYLE; /* REM */ - static int END_LINE_STYLE; /* REM */ - static int MOVE; /* REM */ - static int LINE; /* REM */ - static int CURVE; /* REM */ - static ::String base64; /* REM */ - static ::haxe::BaseCode baseCoder; /* REM */ - static ::format::gfx::GfxBytes fromString( ::String inString); - static Dynamic fromString_dyn(); - - static Array< ::neash::display::LineScaleMode > scaleModes; /* REM */ - static Array< ::neash::display::CapsStyle > capsStyles; /* REM */ - static Array< ::neash::display::JointStyle > jointStyles; /* REM */ - static Array< ::neash::display::SpreadMethod > spreadMethods; /* REM */ - static Array< ::neash::display::InterpolationMethod > interpolationMethods; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_GfxBytes */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/GfxExtent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/GfxExtent.h deleted file mode 100644 index 5898c74..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/GfxExtent.h +++ /dev/null @@ -1,53 +0,0 @@ -#ifndef INCLUDED_format_gfx_GfxExtent -#define INCLUDED_format_gfx_GfxExtent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,GfxExtent) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace format{ -namespace gfx{ - - -class GfxExtent_obj : public ::format::gfx::Gfx_obj{ - public: - typedef ::format::gfx::Gfx_obj super; - typedef GfxExtent_obj OBJ_; - GfxExtent_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< GfxExtent_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GfxExtent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GfxExtent"); } - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - - virtual Void lineTo( Float inX,Float inY); - - virtual Void moveTo( Float inX,Float inY); - - virtual bool geometryOnly( ); - - virtual Void addExtent( Float inX,Float inY); - Dynamic addExtent_dyn(); - - ::neash::geom::Rectangle extent; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_GfxExtent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/GfxGraphics.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/GfxGraphics.h deleted file mode 100644 index d6ebfa2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/GfxGraphics.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_format_gfx_GfxGraphics -#define INCLUDED_format_gfx_GfxGraphics - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,GfxGraphics) -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(format,gfx,LineStyle) -HX_DECLARE_CLASS2(neash,display,Graphics) -namespace format{ -namespace gfx{ - - -class GfxGraphics_obj : public ::format::gfx::Gfx_obj{ - public: - typedef ::format::gfx::Gfx_obj super; - typedef GfxGraphics_obj OBJ_; - GfxGraphics_obj(); - Void __construct(::neash::display::Graphics inGraphics); - - public: - static hx::ObjectPtr< GfxGraphics_obj > __new(::neash::display::Graphics inGraphics); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GfxGraphics_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GfxGraphics"); } - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - - virtual Void lineTo( Float inX,Float inY); - - virtual Void moveTo( Float inX,Float inY); - - virtual Void endLineStyle( ); - - virtual Void lineStyle( ::format::gfx::LineStyle style); - - virtual Void endFill( ); - - virtual Void beginFill( int color,Float alpha); - - virtual Void beginGradientFill( ::format::gfx::Gradient grad); - - ::neash::display::Graphics graphics; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_GfxGraphics */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/GfxTextFinder.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/GfxTextFinder.h deleted file mode 100644 index af0acbd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/GfxTextFinder.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_format_gfx_GfxTextFinder -#define INCLUDED_format_gfx_GfxTextFinder - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,GfxTextFinder) -HX_DECLARE_CLASS2(format,svg,Text) -namespace format{ -namespace gfx{ - - -class GfxTextFinder_obj : public ::format::gfx::Gfx_obj{ - public: - typedef ::format::gfx::Gfx_obj super; - typedef GfxTextFinder_obj OBJ_; - GfxTextFinder_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< GfxTextFinder_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GfxTextFinder_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GfxTextFinder"); } - - virtual Void renderText( ::format::svg::Text inText); - - virtual bool geometryOnly( ); - - ::format::svg::Text text; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_GfxTextFinder */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/Gradient.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/Gradient.h deleted file mode 100644 index 895d358..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/Gradient.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_format_gfx_Gradient -#define INCLUDED_format_gfx_Gradient - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(neash,display,GradientType) -HX_DECLARE_CLASS2(neash,display,InterpolationMethod) -HX_DECLARE_CLASS2(neash,display,SpreadMethod) -HX_DECLARE_CLASS2(neash,geom,Matrix) -namespace format{ -namespace gfx{ - - -class Gradient_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Gradient_obj OBJ_; - Gradient_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Gradient_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Gradient_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Gradient"); } - - Float focus; /* REM */ - ::neash::display::InterpolationMethod interp; /* REM */ - ::neash::display::SpreadMethod spread; /* REM */ - ::neash::geom::Matrix matrix; /* REM */ - Array< int > ratios; /* REM */ - Array< Float > alphas; /* REM */ - Array< int > colors; /* REM */ - ::neash::display::GradientType type; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_Gradient */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/LineStyle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/LineStyle.h deleted file mode 100644 index e550925..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/gfx/LineStyle.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef INCLUDED_format_gfx_LineStyle -#define INCLUDED_format_gfx_LineStyle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,gfx,LineStyle) -HX_DECLARE_CLASS2(neash,display,CapsStyle) -HX_DECLARE_CLASS2(neash,display,JointStyle) -HX_DECLARE_CLASS2(neash,display,LineScaleMode) -namespace format{ -namespace gfx{ - - -class LineStyle_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef LineStyle_obj OBJ_; - LineStyle_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< LineStyle_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~LineStyle_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("LineStyle"); } - - Float miterLimit; /* REM */ - ::neash::display::JointStyle jointStyle; /* REM */ - ::neash::display::CapsStyle capsStyle; /* REM */ - ::neash::display::LineScaleMode scaleMode; /* REM */ - bool pixelHinting; /* REM */ - Float alpha; /* REM */ - int color; /* REM */ - Float thickness; /* REM */ -}; - -} // end namespace format -} // end namespace gfx - -#endif /* INCLUDED_format_gfx_LineStyle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/ArcSegment.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/ArcSegment.h deleted file mode 100644 index fd02d25..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/ArcSegment.h +++ /dev/null @@ -1,53 +0,0 @@ -#ifndef INCLUDED_format_svg_ArcSegment -#define INCLUDED_format_svg_ArcSegment - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,svg,ArcSegment) -HX_DECLARE_CLASS2(format,svg,PathSegment) -HX_DECLARE_CLASS2(format,svg,RenderContext) -namespace format{ -namespace svg{ - - -class ArcSegment_obj : public ::format::svg::PathSegment_obj{ - public: - typedef ::format::svg::PathSegment_obj super; - typedef ArcSegment_obj OBJ_; - ArcSegment_obj(); - Void __construct(Float inX1,Float inY1,Float inRX,Float inRY,Float inRotation,bool inLargeArc,bool inSweep,Float x,Float y); - - public: - static hx::ObjectPtr< ArcSegment_obj > __new(Float inX1,Float inY1,Float inRX,Float inRY,Float inRotation,bool inLargeArc,bool inSweep,Float x,Float y); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ArcSegment_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ArcSegment"); } - - virtual int getType( ); - - virtual Void toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext); - - bool fS; /* REM */ - bool fA; /* REM */ - Float phi; /* REM */ - Float ry; /* REM */ - Float rx; /* REM */ - Float y1; /* REM */ - Float x1; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_ArcSegment */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/CubicSegment.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/CubicSegment.h deleted file mode 100644 index 95c0033..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/CubicSegment.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_format_svg_CubicSegment -#define INCLUDED_format_svg_CubicSegment - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,svg,CubicSegment) -HX_DECLARE_CLASS2(format,svg,PathSegment) -HX_DECLARE_CLASS2(format,svg,QuadraticSegment) -HX_DECLARE_CLASS2(format,svg,RenderContext) -namespace format{ -namespace svg{ - - -class CubicSegment_obj : public ::format::svg::PathSegment_obj{ - public: - typedef ::format::svg::PathSegment_obj super; - typedef CubicSegment_obj OBJ_; - CubicSegment_obj(); - Void __construct(Float inCX1,Float inCY1,Float inCX2,Float inCY2,Float inX,Float inY); - - public: - static hx::ObjectPtr< CubicSegment_obj > __new(Float inCX1,Float inCY1,Float inCX2,Float inCY2,Float inX,Float inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~CubicSegment_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("CubicSegment"); } - - virtual int getType( ); - - virtual Array< ::format::svg::QuadraticSegment > toQuadratics( Float tx0,Float ty0); - Dynamic toQuadratics_dyn(); - - virtual Void toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext); - - virtual Float Interp( Float a,Float b,Float frac); - Dynamic Interp_dyn(); - - virtual Float prevCY( ); - - virtual Float prevCX( ); - - Float cy2; /* REM */ - Float cx2; /* REM */ - Float cy1; /* REM */ - Float cx1; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_CubicSegment */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/DisplayElement.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/DisplayElement.h deleted file mode 100644 index 7efa585..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/DisplayElement.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_format_svg_DisplayElement -#define INCLUDED_format_svg_DisplayElement - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,svg,DisplayElement) -HX_DECLARE_CLASS2(format,svg,Group) -HX_DECLARE_CLASS2(format,svg,Path) -HX_DECLARE_CLASS2(format,svg,Text) -namespace format{ -namespace svg{ - - -class DisplayElement_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef DisplayElement_obj OBJ_; - - public: - DisplayElement_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("format.svg.DisplayElement"); } - ::String __ToString() const { return HX_CSTRING("DisplayElement.") + tag; } - - static ::format::svg::DisplayElement DisplayGroup(::format::svg::Group group); - static Dynamic DisplayGroup_dyn(); - static ::format::svg::DisplayElement DisplayPath(::format::svg::Path path); - static Dynamic DisplayPath_dyn(); - static ::format::svg::DisplayElement DisplayText(::format::svg::Text text); - static Dynamic DisplayText_dyn(); -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_DisplayElement */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/DrawSegment.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/DrawSegment.h deleted file mode 100644 index d6ae663..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/DrawSegment.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_format_svg_DrawSegment -#define INCLUDED_format_svg_DrawSegment - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,svg,DrawSegment) -HX_DECLARE_CLASS2(format,svg,PathSegment) -HX_DECLARE_CLASS2(format,svg,RenderContext) -namespace format{ -namespace svg{ - - -class DrawSegment_obj : public ::format::svg::PathSegment_obj{ - public: - typedef ::format::svg::PathSegment_obj super; - typedef DrawSegment_obj OBJ_; - DrawSegment_obj(); - Void __construct(Float inX,Float inY); - - public: - static hx::ObjectPtr< DrawSegment_obj > __new(Float inX,Float inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~DrawSegment_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("DrawSegment"); } - - virtual int getType( ); - - virtual Void toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext); - -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_DrawSegment */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/FillType.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/FillType.h deleted file mode 100644 index d61fe70..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/FillType.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_format_svg_FillType -#define INCLUDED_format_svg_FillType - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(format,svg,FillType) -HX_DECLARE_CLASS2(format,svg,Grad) -namespace format{ -namespace svg{ - - -class FillType_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef FillType_obj OBJ_; - - public: - FillType_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("format.svg.FillType"); } - ::String __ToString() const { return HX_CSTRING("FillType.") + tag; } - - static ::format::svg::FillType FillGrad(::format::svg::Grad grad); - static Dynamic FillGrad_dyn(); - static ::format::svg::FillType FillNone; - static inline ::format::svg::FillType FillNone_dyn() { return FillNone; } - static ::format::svg::FillType FillSolid(int colour); - static Dynamic FillSolid_dyn(); -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_FillType */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/Grad.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/Grad.h deleted file mode 100644 index 561b3f2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/Grad.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef INCLUDED_format_svg_Grad -#define INCLUDED_format_svg_Grad - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gradient) -HX_DECLARE_CLASS2(format,svg,Grad) -HX_DECLARE_CLASS2(neash,display,GradientType) -HX_DECLARE_CLASS2(neash,geom,Matrix) -namespace format{ -namespace svg{ - - -class Grad_obj : public ::format::gfx::Gradient_obj{ - public: - typedef ::format::gfx::Gradient_obj super; - typedef Grad_obj OBJ_; - Grad_obj(); - Void __construct(::neash::display::GradientType inType); - - public: - static hx::ObjectPtr< Grad_obj > __new(::neash::display::GradientType inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Grad_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Grad"); } - - virtual Void updateMatrix( ::neash::geom::Matrix inMatrix); - Dynamic updateMatrix_dyn(); - - Float y2; /* REM */ - Float x2; /* REM */ - Float y1; /* REM */ - Float x1; /* REM */ - Float radius; /* REM */ - ::neash::geom::Matrix gradMatrix; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_Grad */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/Group.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/Group.h deleted file mode 100644 index d84831a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/Group.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_format_svg_Group -#define INCLUDED_format_svg_Group - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,svg,DisplayElement) -HX_DECLARE_CLASS2(format,svg,Group) -namespace format{ -namespace svg{ - - -class Group_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Group_obj OBJ_; - Group_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Group_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Group_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Group"); } - - Array< ::format::svg::DisplayElement > children; /* REM */ - ::String name; /* REM */ - virtual ::format::svg::Group findGroup( ::String inName); - Dynamic findGroup_dyn(); - - virtual bool hasGroup( ::String inName); - Dynamic hasGroup_dyn(); - -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_Group */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/MoveSegment.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/MoveSegment.h deleted file mode 100644 index c273e5a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/MoveSegment.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_format_svg_MoveSegment -#define INCLUDED_format_svg_MoveSegment - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,svg,MoveSegment) -HX_DECLARE_CLASS2(format,svg,PathSegment) -namespace format{ -namespace svg{ - - -class MoveSegment_obj : public ::format::svg::PathSegment_obj{ - public: - typedef ::format::svg::PathSegment_obj super; - typedef MoveSegment_obj OBJ_; - MoveSegment_obj(); - Void __construct(Float inX,Float inY); - - public: - static hx::ObjectPtr< MoveSegment_obj > __new(Float inX,Float inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~MoveSegment_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("MoveSegment"); } - - virtual int getType( ); - -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_MoveSegment */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/Path.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/Path.h deleted file mode 100644 index dc9ca51..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/Path.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef INCLUDED_format_svg_Path -#define INCLUDED_format_svg_Path - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,svg,FillType) -HX_DECLARE_CLASS2(format,svg,Path) -HX_DECLARE_CLASS2(format,svg,PathSegment) -HX_DECLARE_CLASS2(neash,display,CapsStyle) -HX_DECLARE_CLASS2(neash,display,JointStyle) -HX_DECLARE_CLASS2(neash,geom,Matrix) -namespace format{ -namespace svg{ - - -class Path_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Path_obj OBJ_; - Path_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Path_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Path_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Path"); } - - Array< ::format::svg::PathSegment > segments; /* REM */ - Float miter_limit; /* REM */ - ::neash::display::JointStyle joint_style; /* REM */ - ::neash::display::CapsStyle stroke_caps; /* REM */ - Float stroke_width; /* REM */ - Dynamic stroke_colour; /* REM */ - Float stroke_alpha; /* REM */ - Float fill_alpha; /* REM */ - ::format::svg::FillType fill; /* REM */ - Float font_size; /* REM */ - ::String name; /* REM */ - ::neash::geom::Matrix matrix; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_Path */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/PathParser.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/PathParser.h deleted file mode 100644 index dcc98d1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/PathParser.h +++ /dev/null @@ -1,90 +0,0 @@ -#ifndef INCLUDED_format_svg_PathParser -#define INCLUDED_format_svg_PathParser - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,svg,PathParser) -HX_DECLARE_CLASS2(format,svg,PathSegment) -namespace format{ -namespace svg{ - - -class PathParser_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef PathParser_obj OBJ_; - PathParser_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< PathParser_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~PathParser_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("PathParser"); } - - virtual ::format::svg::PathSegment createCommand( int code,Array< Float > a); - Dynamic createCommand_dyn(); - - virtual Float prevCY( ); - Dynamic prevCY_dyn(); - - virtual Float prevCX( ); - Dynamic prevCX_dyn(); - - virtual Float prevY( ); - Dynamic prevY_dyn(); - - virtual Float prevX( ); - Dynamic prevX_dyn(); - - virtual int commandArgs( int inCode); - Dynamic commandArgs_dyn(); - - virtual Array< ::format::svg::PathSegment > parse( ::String pathToParse,bool inConvertCubics); - Dynamic parse_dyn(); - - ::format::svg::PathSegment prev; /* REM */ - Float lastMoveY; /* REM */ - Float lastMoveX; /* REM */ - static Array< int > sCommandArgs; /* REM */ - static Dynamic MOVE; /* REM */ - static Dynamic MOVER; /* REM */ - static Dynamic LINE; /* REM */ - static Dynamic LINER; /* REM */ - static Dynamic HLINE; /* REM */ - static Dynamic HLINER; /* REM */ - static Dynamic VLINE; /* REM */ - static Dynamic VLINER; /* REM */ - static Dynamic CUBIC; /* REM */ - static Dynamic CUBICR; /* REM */ - static Dynamic SCUBIC; /* REM */ - static Dynamic SCUBICR; /* REM */ - static Dynamic QUAD; /* REM */ - static Dynamic QUADR; /* REM */ - static Dynamic SQUAD; /* REM */ - static Dynamic SQUADR; /* REM */ - static Dynamic ARC; /* REM */ - static Dynamic ARCR; /* REM */ - static Dynamic CLOSE; /* REM */ - static Dynamic CLOSER; /* REM */ - static int UNKNOWN; /* REM */ - static int SEPARATOR; /* REM */ - static int FLOAT; /* REM */ - static int FLOAT_SIGN; /* REM */ - static int FLOAT_DOT; /* REM */ - static int FLOAT_EXP; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_PathParser */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/PathSegment.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/PathSegment.h deleted file mode 100644 index 7b452fb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/PathSegment.h +++ /dev/null @@ -1,65 +0,0 @@ -#ifndef INCLUDED_format_svg_PathSegment -#define INCLUDED_format_svg_PathSegment - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,svg,PathSegment) -HX_DECLARE_CLASS2(format,svg,RenderContext) -namespace format{ -namespace svg{ - - -class PathSegment_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef PathSegment_obj OBJ_; - PathSegment_obj(); - Void __construct(Float inX,Float inY); - - public: - static hx::ObjectPtr< PathSegment_obj > __new(Float inX,Float inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~PathSegment_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("PathSegment"); } - - virtual Void toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext); - Dynamic toGfx_dyn(); - - virtual Float prevCY( ); - Dynamic prevCY_dyn(); - - virtual Float prevCX( ); - Dynamic prevCX_dyn(); - - virtual Float prevY( ); - Dynamic prevY_dyn(); - - virtual Float prevX( ); - Dynamic prevX_dyn(); - - virtual int getType( ); - Dynamic getType_dyn(); - - Float y; /* REM */ - Float x; /* REM */ - static int MOVE; /* REM */ - static int DRAW; /* REM */ - static int CURVE; /* REM */ - static int CUBIC; /* REM */ - static int ARC; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_PathSegment */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/QuadraticSegment.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/QuadraticSegment.h deleted file mode 100644 index 4ce80de..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/QuadraticSegment.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef INCLUDED_format_svg_QuadraticSegment -#define INCLUDED_format_svg_QuadraticSegment - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,svg,PathSegment) -HX_DECLARE_CLASS2(format,svg,QuadraticSegment) -HX_DECLARE_CLASS2(format,svg,RenderContext) -namespace format{ -namespace svg{ - - -class QuadraticSegment_obj : public ::format::svg::PathSegment_obj{ - public: - typedef ::format::svg::PathSegment_obj super; - typedef QuadraticSegment_obj OBJ_; - QuadraticSegment_obj(); - Void __construct(Float inCX,Float inCY,Float inX,Float inY); - - public: - static hx::ObjectPtr< QuadraticSegment_obj > __new(Float inCX,Float inCY,Float inX,Float inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~QuadraticSegment_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("QuadraticSegment"); } - - virtual int getType( ); - - virtual Void toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext); - - virtual Float prevCY( ); - - virtual Float prevCX( ); - - Float cy; /* REM */ - Float cx; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_QuadraticSegment */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/RenderContext.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/RenderContext.h deleted file mode 100644 index 7fe5224..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/RenderContext.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef INCLUDED_format_svg_RenderContext -#define INCLUDED_format_svg_RenderContext - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,svg,RenderContext) -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace format{ -namespace svg{ - - -class RenderContext_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef RenderContext_obj OBJ_; - RenderContext_obj(); - Void __construct(::neash::geom::Matrix inMatrix,::neash::geom::Rectangle inRect,Dynamic inW,Dynamic inH); - - public: - static hx::ObjectPtr< RenderContext_obj > __new(::neash::geom::Matrix inMatrix,::neash::geom::Rectangle inRect,Dynamic inW,Dynamic inH); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~RenderContext_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("RenderContext"); } - - Float lastY; /* REM */ - Float lastX; /* REM */ - Float firstY; /* REM */ - Float firstX; /* REM */ - Float rectH; /* REM */ - Float rectW; /* REM */ - ::neash::geom::Rectangle rect; /* REM */ - ::neash::geom::Matrix matrix; /* REM */ - virtual Void setLast( Float inX,Float inY); - Dynamic setLast_dyn(); - - virtual Float transY( Float inX,Float inY); - Dynamic transY_dyn(); - - virtual Float transX( Float inX,Float inY); - Dynamic transX_dyn(); - -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_RenderContext */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/SVGData.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/SVGData.h deleted file mode 100644 index 3e96772..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/SVGData.h +++ /dev/null @@ -1,105 +0,0 @@ -#ifndef INCLUDED_format_svg_SVGData -#define INCLUDED_format_svg_SVGData - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(EReg) -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS2(format,svg,FillType) -HX_DECLARE_CLASS2(format,svg,Group) -HX_DECLARE_CLASS2(format,svg,Path) -HX_DECLARE_CLASS2(format,svg,PathParser) -HX_DECLARE_CLASS2(format,svg,SVGData) -HX_DECLARE_CLASS2(format,svg,Text) -HX_DECLARE_CLASS2(neash,display,GradientType) -HX_DECLARE_CLASS2(neash,geom,Matrix) -namespace format{ -namespace svg{ - - -class SVGData_obj : public ::format::svg::Group_obj{ - public: - typedef ::format::svg::Group_obj super; - typedef SVGData_obj OBJ_; - SVGData_obj(); - Void __construct(::Xml inXML,hx::Null< bool > __o_inConvertCubics); - - public: - static hx::ObjectPtr< SVGData_obj > __new(::Xml inXML,hx::Null< bool > __o_inConvertCubics); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SVGData_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SVGData"); } - - virtual ::format::svg::Text loadText( ::Xml inText,::neash::geom::Matrix matrix,::Hash inStyles); - Dynamic loadText_dyn(); - - virtual ::format::svg::Path loadPath( ::Xml inPath,::neash::geom::Matrix matrix,::Hash inStyles,bool inIsRect,bool inIsEllipse); - Dynamic loadPath_dyn(); - - virtual ::format::svg::Group loadGroup( ::format::svg::Group g,::Xml inG,::neash::geom::Matrix matrix,::Hash inStyles); - Dynamic loadGroup_dyn(); - - virtual Void loadGradient( ::Xml inGrad,::neash::display::GradientType inType,bool inCrossLink); - Dynamic loadGradient_dyn(); - - virtual Void loadDefs( ::Xml inXML); - Dynamic loadDefs_dyn(); - - virtual ::Hash getStyles( ::Xml inNode,::Hash inPrevStyles); - Dynamic getStyles_dyn(); - - virtual ::String getStyle( ::String inKey,::Xml inNode,::Hash inStyles,::String inDefault); - Dynamic getStyle_dyn(); - - virtual Dynamic getStrokeStyle( ::String inKey,::Xml inNode,::Hash inStyles,Dynamic inDefault); - Dynamic getStrokeStyle_dyn(); - - virtual Float getFloatStyle( ::String inKey,::Xml inNode,::Hash inStyles,Float inDefault); - Dynamic getFloatStyle_dyn(); - - virtual Float getFloat( ::Xml inXML,::String inName,hx::Null< Float > inDef); - Dynamic getFloat_dyn(); - - virtual ::format::svg::FillType getFillStyle( ::String inKey,::Xml inNode,::Hash inStyles); - Dynamic getFillStyle_dyn(); - - virtual int getColorStyle( ::String inKey,::Xml inNode,::Hash inStyles,int inDefault); - Dynamic getColorStyle_dyn(); - - virtual Void dumpGroup( ::format::svg::Group g,::String indent); - Dynamic dumpGroup_dyn(); - - virtual Float applyTransform( ::neash::geom::Matrix ioMatrix,::String inTrans); - Dynamic applyTransform_dyn(); - - ::format::svg::PathParser mPathParser; /* REM */ - ::Hash mGrads; /* REM */ - bool mConvertCubics; /* REM */ - Float width; /* REM */ - Float height; /* REM */ - static Float SIN45; /* REM */ - static Float TAN22; /* REM */ - static ::EReg mStyleSplit; /* REM */ - static ::EReg mStyleValue; /* REM */ - static ::EReg mTranslateMatch; /* REM */ - static ::EReg mScaleMatch; /* REM */ - static ::EReg mMatrixMatch; /* REM */ - static ::EReg mURLMatch; /* REM */ - static ::format::svg::FillType defaultFill; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_SVGData */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/SVGRenderer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/SVGRenderer.h deleted file mode 100644 index 5ae2d3f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/SVGRenderer.h +++ /dev/null @@ -1,124 +0,0 @@ -#ifndef INCLUDED_format_svg_SVGRenderer -#define INCLUDED_format_svg_SVGRenderer - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(EReg) -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS2(format,gfx,Gfx) -HX_DECLARE_CLASS2(format,gfx,GfxBytes) -HX_DECLARE_CLASS2(format,svg,Group) -HX_DECLARE_CLASS2(format,svg,Path) -HX_DECLARE_CLASS2(format,svg,SVGData) -HX_DECLARE_CLASS2(format,svg,SVGRenderer) -HX_DECLARE_CLASS2(format,svg,Text) -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,Graphics) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Shape) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace format{ -namespace svg{ - - -class SVGRenderer_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef SVGRenderer_obj OBJ_; - SVGRenderer_obj(); - Void __construct(::format::svg::SVGData inSvg,::String inLayer); - - public: - static hx::ObjectPtr< SVGRenderer_obj > __new(::format::svg::SVGData inSvg,::String inLayer); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SVGRenderer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SVGRenderer"); } - - virtual ::neash::display::BitmapData renderBitmap( ::neash::geom::Rectangle inRect,hx::Null< Float > inScale); - Dynamic renderBitmap_dyn(); - - virtual ::neash::display::Shape namedShape( ::String inName); - Dynamic namedShape_dyn(); - - virtual ::neash::display::Shape createShape( ::neash::geom::Matrix inMatrix,Dynamic inFilter,::neash::geom::Rectangle inScale9); - Dynamic createShape_dyn(); - - virtual Void renderSprite( ::neash::display::Sprite inObj,::neash::geom::Matrix inMatrix,Dynamic inFilter,::neash::geom::Rectangle inScale9); - Dynamic renderSprite_dyn(); - - virtual Void renderObject( ::neash::display::DisplayObject inObj,::neash::display::Graphics inGfx,::neash::geom::Matrix inMatrix,Dynamic inFilter,::neash::geom::Rectangle inScale9); - Dynamic renderObject_dyn(); - - virtual ::neash::geom::Rectangle getMatchingRect( ::EReg inMatch); - Dynamic getMatchingRect_dyn(); - - virtual ::format::svg::Text findText( Dynamic inFilter); - Dynamic findText_dyn(); - - virtual ::neash::geom::Rectangle getExtent( ::neash::geom::Matrix inMatrix,Dynamic inFilter,Dynamic inIgnoreDot); - Dynamic getExtent_dyn(); - - virtual Void renderRect0( ::neash::display::Graphics inGfx,Dynamic inFilter,::neash::geom::Rectangle scaleRect,::neash::geom::Rectangle inBounds,::neash::geom::Rectangle inRect); - Dynamic renderRect0_dyn(); - - virtual Void renderRect( ::neash::display::Graphics inGfx,Dynamic inFilter,::neash::geom::Rectangle scaleRect,::neash::geom::Rectangle inBounds,::neash::geom::Rectangle inRect); - Dynamic renderRect_dyn(); - - virtual Void render( ::neash::display::Graphics inGfx,::neash::geom::Matrix inMatrix,Dynamic inFilter,::neash::geom::Rectangle inScaleRect,Dynamic inScaleW,Dynamic inScaleH); - Dynamic render_dyn(); - - virtual Void iterateGroup( ::format::svg::Group inGroup,bool inIgnoreDot); - Dynamic iterateGroup_dyn(); - - virtual Void iteratePath( ::format::svg::Path inPath); - Dynamic iteratePath_dyn(); - - virtual Void iterateText( ::format::svg::Text inText); - Dynamic iterateText_dyn(); - - virtual bool hasGroup( ::String inName); - Dynamic hasGroup_dyn(); - - virtual Dynamic iterate( Dynamic inGfx,Dynamic inFilter); - Dynamic iterate_dyn(); - - Array< ::String > mGroupPath; /* REM */ - Dynamic mFilter; /* REM */ - Dynamic &mFilter_dyn() { return mFilter;} - Dynamic mScaleH; /* REM */ - Dynamic mScaleW; /* REM */ - ::neash::geom::Rectangle mScaleRect; /* REM */ - ::neash::geom::Matrix mMatrix; /* REM */ - ::format::gfx::Gfx mGfx; /* REM */ - ::format::svg::Group mRoot; /* REM */ - ::format::svg::SVGData mSvg; /* REM */ - Float height; /* REM */ - Float width; /* REM */ - static Array< ::String > toHaxe( ::Xml inXML,Dynamic inFilter); - static Dynamic toHaxe_dyn(); - - static ::format::gfx::GfxBytes toBytes( ::Xml inXML,Dynamic inFilter); - static Dynamic toBytes_dyn(); - -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_SVGRenderer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/Text.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/Text.h deleted file mode 100644 index ad71199..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/format/svg/Text.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_format_svg_Text -#define INCLUDED_format_svg_Text - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(format,svg,FillType) -HX_DECLARE_CLASS2(format,svg,Text) -HX_DECLARE_CLASS2(neash,geom,Matrix) -namespace format{ -namespace svg{ - - -class Text_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Text_obj OBJ_; - Text_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Text_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Text_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Text"); } - - Float letter_spacing; /* REM */ - Float kerning; /* REM */ - Float font_size; /* REM */ - ::String font_family; /* REM */ - Float stroke_width; /* REM */ - Dynamic stroke_colour; /* REM */ - Float stroke_alpha; /* REM */ - Float fill_alpha; /* REM */ - ::format::svg::FillType fill; /* REM */ - ::String text; /* REM */ - ::neash::geom::Matrix matrix; /* REM */ - Float y; /* REM */ - Float x; /* REM */ - ::String name; /* REM */ -}; - -} // end namespace format -} // end namespace svg - -#endif /* INCLUDED_format_svg_Text */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/BaseCode.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/BaseCode.h deleted file mode 100644 index a28c77a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/BaseCode.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_haxe_BaseCode -#define INCLUDED_haxe_BaseCode - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(haxe,BaseCode) -HX_DECLARE_CLASS2(haxe,io,Bytes) -namespace haxe{ - - -class BaseCode_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef BaseCode_obj OBJ_; - BaseCode_obj(); - Void __construct(::haxe::io::Bytes base); - - public: - static hx::ObjectPtr< BaseCode_obj > __new(::haxe::io::Bytes base); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BaseCode_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BaseCode"); } - - virtual ::String decodeString( ::String s); - Dynamic decodeString_dyn(); - - virtual ::String encodeString( ::String s); - Dynamic encodeString_dyn(); - - virtual ::haxe::io::Bytes decodeBytes( ::haxe::io::Bytes b); - Dynamic decodeBytes_dyn(); - - virtual Void initTable( ); - Dynamic initTable_dyn(); - - virtual ::haxe::io::Bytes encodeBytes( ::haxe::io::Bytes b); - Dynamic encodeBytes_dyn(); - - Array< int > tbl; /* REM */ - int nbits; /* REM */ - ::haxe::io::Bytes base; /* REM */ - static ::String encode( ::String s,::String base); - static Dynamic encode_dyn(); - - static ::String decode( ::String s,::String base); - static Dynamic decode_dyn(); - -}; - -} // end namespace haxe - -#endif /* INCLUDED_haxe_BaseCode */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/Log.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/Log.h deleted file mode 100644 index 7661670..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/Log.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_haxe_Log -#define INCLUDED_haxe_Log - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(haxe,Log) -namespace haxe{ - - -class Log_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Log_obj OBJ_; - Log_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Log_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Log_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Log"); } - - static Dynamic trace; - static inline Dynamic &trace_dyn() {return trace; } - - static Dynamic clear; - static inline Dynamic &clear_dyn() {return clear; } - -}; - -} // end namespace haxe - -#endif /* INCLUDED_haxe_Log */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/Timer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/Timer.h deleted file mode 100644 index 52fd66b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/Timer.h +++ /dev/null @@ -1,69 +0,0 @@ -#ifndef INCLUDED_haxe_Timer -#define INCLUDED_haxe_Timer - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(haxe,Timer) -namespace haxe{ - - -class Timer_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Timer_obj OBJ_; - Timer_obj(); - Void __construct(Float time); - - public: - static hx::ObjectPtr< Timer_obj > __new(Float time); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Timer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Timer"); } - - virtual Void nmeCheck( Float inTime); - Dynamic nmeCheck_dyn(); - - virtual Void stop( ); - Dynamic stop_dyn(); - - Dynamic run; - inline Dynamic &run_dyn() {return run; } - - bool mRunning; /* REM */ - Float mFireAt; /* REM */ - Float mTime; /* REM */ - static Array< ::haxe::Timer > sRunningTimers; /* REM */ - static Dynamic measure( Dynamic f,Dynamic pos); - static Dynamic measure_dyn(); - - static Float nmeNextWake( Float limit); - static Dynamic nmeNextWake_dyn(); - - static Void nmeCheckTimers( ); - static Dynamic nmeCheckTimers_dyn(); - - static Float GetMS( ); - static Dynamic GetMS_dyn(); - - static ::haxe::Timer delay( Dynamic f,int time); - static Dynamic delay_dyn(); - - static Float stamp( ); - static Dynamic stamp_dyn(); - - static Dynamic nme_time_stamp; /* REM */ - static Dynamic &nme_time_stamp_dyn() { return nme_time_stamp;} -}; - -} // end namespace haxe - -#endif /* INCLUDED_haxe_Timer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/io/Bytes.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/io/Bytes.h deleted file mode 100644 index ba7c7ba..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/io/Bytes.h +++ /dev/null @@ -1,76 +0,0 @@ -#ifndef INCLUDED_haxe_io_Bytes -#define INCLUDED_haxe_io_Bytes - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -namespace haxe{ -namespace io{ - - -class Bytes_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Bytes_obj OBJ_; - Bytes_obj(); - Void __construct(int length,Array< unsigned char > b); - - public: - static hx::ObjectPtr< Bytes_obj > __new(int length,Array< unsigned char > b); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Bytes_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Bytes"); } - - virtual Array< unsigned char > getData( ); - Dynamic getData_dyn(); - - virtual ::String toHex( ); - Dynamic toHex_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual ::String readString( int pos,int len); - Dynamic readString_dyn(); - - virtual int compare( ::haxe::io::Bytes other); - Dynamic compare_dyn(); - - virtual ::haxe::io::Bytes sub( int pos,int len); - Dynamic sub_dyn(); - - virtual Void blit( int pos,::haxe::io::Bytes src,int srcpos,int len); - Dynamic blit_dyn(); - - virtual Void set( int pos,int v); - Dynamic set_dyn(); - - virtual int get( int pos); - Dynamic get_dyn(); - - Array< unsigned char > b; /* REM */ - int length; /* REM */ - static ::haxe::io::Bytes alloc( int length); - static Dynamic alloc_dyn(); - - static ::haxe::io::Bytes ofString( ::String s); - static Dynamic ofString_dyn(); - - static ::haxe::io::Bytes ofData( Array< unsigned char > b); - static Dynamic ofData_dyn(); - -}; - -} // end namespace haxe -} // end namespace io - -#endif /* INCLUDED_haxe_io_Bytes */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/io/BytesBuffer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/io/BytesBuffer.h deleted file mode 100644 index 9362c40..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/io/BytesBuffer.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef INCLUDED_haxe_io_BytesBuffer -#define INCLUDED_haxe_io_BytesBuffer - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,BytesBuffer) -namespace haxe{ -namespace io{ - - -class BytesBuffer_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef BytesBuffer_obj OBJ_; - BytesBuffer_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< BytesBuffer_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BytesBuffer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BytesBuffer"); } - - virtual ::haxe::io::Bytes getBytes( ); - Dynamic getBytes_dyn(); - - virtual Void addBytes( ::haxe::io::Bytes src,int pos,int len); - Dynamic addBytes_dyn(); - - virtual Void add( ::haxe::io::Bytes src); - Dynamic add_dyn(); - - virtual Void addByte( int byte); - Dynamic addByte_dyn(); - - Array< unsigned char > b; /* REM */ -}; - -} // end namespace haxe -} // end namespace io - -#endif /* INCLUDED_haxe_io_BytesBuffer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/io/Eof.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/io/Eof.h deleted file mode 100644 index 2971b80..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/io/Eof.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_haxe_io_Eof -#define INCLUDED_haxe_io_Eof - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Eof) -namespace haxe{ -namespace io{ - - -class Eof_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Eof_obj OBJ_; - Eof_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Eof_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Eof_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Eof"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - -}; - -} // end namespace haxe -} // end namespace io - -#endif /* INCLUDED_haxe_io_Eof */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/io/Error.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/io/Error.h deleted file mode 100644 index 933f9e6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/io/Error.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_haxe_io_Error -#define INCLUDED_haxe_io_Error - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Error) -namespace haxe{ -namespace io{ - - -class Error_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef Error_obj OBJ_; - - public: - Error_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("haxe.io.Error"); } - ::String __ToString() const { return HX_CSTRING("Error.") + tag; } - - static ::haxe::io::Error Blocked; - static inline ::haxe::io::Error Blocked_dyn() { return Blocked; } - static ::haxe::io::Error Custom(Dynamic e); - static Dynamic Custom_dyn(); - static ::haxe::io::Error OutsideBounds; - static inline ::haxe::io::Error OutsideBounds_dyn() { return OutsideBounds; } - static ::haxe::io::Error Overflow; - static inline ::haxe::io::Error Overflow_dyn() { return Overflow; } -}; - -} // end namespace haxe -} // end namespace io - -#endif /* INCLUDED_haxe_io_Error */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/io/Input.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/io/Input.h deleted file mode 100644 index 4cfd2a4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/io/Input.h +++ /dev/null @@ -1,107 +0,0 @@ -#ifndef INCLUDED_haxe_io_Input -#define INCLUDED_haxe_io_Input - -#ifndef HXCPP_H -#include -#endif - -#ifndef INCLUDED_cpp_CppInt32__ -#include -#endif -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Input) -namespace haxe{ -namespace io{ - - -class Input_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Input_obj OBJ_; - Input_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Input_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Input_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Input"); } - - virtual ::String readString( int len); - Dynamic readString_dyn(); - - virtual ::cpp::CppInt32__ readInt32( ); - Dynamic readInt32_dyn(); - - virtual int readUInt30( ); - Dynamic readUInt30_dyn(); - - virtual int readInt31( ); - Dynamic readInt31_dyn(); - - virtual int readUInt24( ); - Dynamic readUInt24_dyn(); - - virtual int readInt24( ); - Dynamic readInt24_dyn(); - - virtual int readUInt16( ); - Dynamic readUInt16_dyn(); - - virtual int readInt16( ); - Dynamic readInt16_dyn(); - - virtual int readInt8( ); - Dynamic readInt8_dyn(); - - virtual Float readDouble( ); - Dynamic readDouble_dyn(); - - virtual Float readFloat( ); - Dynamic readFloat_dyn(); - - virtual ::String readLine( ); - Dynamic readLine_dyn(); - - virtual ::String readUntil( int end); - Dynamic readUntil_dyn(); - - virtual ::haxe::io::Bytes read( int nbytes); - Dynamic read_dyn(); - - virtual Void readFullBytes( ::haxe::io::Bytes s,int pos,int len); - Dynamic readFullBytes_dyn(); - - virtual ::haxe::io::Bytes readAll( Dynamic bufsize); - Dynamic readAll_dyn(); - - virtual bool setEndian( bool b); - Dynamic setEndian_dyn(); - - virtual Void close( ); - Dynamic close_dyn(); - - virtual int readBytes( ::haxe::io::Bytes s,int pos,int len); - Dynamic readBytes_dyn(); - - virtual int readByte( ); - Dynamic readByte_dyn(); - - bool bigEndian; /* REM */ - static Dynamic _float_of_bytes; /* REM */ - static Dynamic &_float_of_bytes_dyn() { return _float_of_bytes;} - static Dynamic _double_of_bytes; /* REM */ - static Dynamic &_double_of_bytes_dyn() { return _double_of_bytes;} -}; - -} // end namespace haxe -} // end namespace io - -#endif /* INCLUDED_haxe_io_Input */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/io/Output.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/io/Output.h deleted file mode 100644 index ca20052..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/io/Output.h +++ /dev/null @@ -1,109 +0,0 @@ -#ifndef INCLUDED_haxe_io_Output -#define INCLUDED_haxe_io_Output - -#ifndef HXCPP_H -#include -#endif - -#ifndef INCLUDED_cpp_CppInt32__ -#include -#endif -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Input) -HX_DECLARE_CLASS2(haxe,io,Output) -namespace haxe{ -namespace io{ - - -class Output_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Output_obj OBJ_; - Output_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Output_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Output_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Output"); } - - virtual Void writeString( ::String s); - Dynamic writeString_dyn(); - - virtual Void writeInput( ::haxe::io::Input i,Dynamic bufsize); - Dynamic writeInput_dyn(); - - virtual Void prepare( int nbytes); - Dynamic prepare_dyn(); - - virtual Void writeInt32( ::cpp::CppInt32__ x); - Dynamic writeInt32_dyn(); - - virtual Void writeUInt30( int x); - Dynamic writeUInt30_dyn(); - - virtual Void writeInt31( int x); - Dynamic writeInt31_dyn(); - - virtual Void writeUInt24( int x); - Dynamic writeUInt24_dyn(); - - virtual Void writeInt24( int x); - Dynamic writeInt24_dyn(); - - virtual Void writeUInt16( int x); - Dynamic writeUInt16_dyn(); - - virtual Void writeInt16( int x); - Dynamic writeInt16_dyn(); - - virtual Void writeInt8( int x); - Dynamic writeInt8_dyn(); - - virtual Void writeDouble( Float x); - Dynamic writeDouble_dyn(); - - virtual Void writeFloat( Float x); - Dynamic writeFloat_dyn(); - - virtual Void writeFullBytes( ::haxe::io::Bytes s,int pos,int len); - Dynamic writeFullBytes_dyn(); - - virtual Void write( ::haxe::io::Bytes s); - Dynamic write_dyn(); - - virtual bool setEndian( bool b); - Dynamic setEndian_dyn(); - - virtual Void close( ); - Dynamic close_dyn(); - - virtual Void flush( ); - Dynamic flush_dyn(); - - virtual int writeBytes( ::haxe::io::Bytes s,int pos,int len); - Dynamic writeBytes_dyn(); - - virtual Void writeByte( int c); - Dynamic writeByte_dyn(); - - bool bigEndian; /* REM */ - static Float LN2; /* REM */ - static Dynamic _float_bytes; /* REM */ - static Dynamic &_float_bytes_dyn() { return _float_bytes;} - static Dynamic _double_bytes; /* REM */ - static Dynamic &_double_bytes_dyn() { return _double_bytes;} -}; - -} // end namespace haxe -} // end namespace io - -#endif /* INCLUDED_haxe_io_Output */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/xml/Fast.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/xml/Fast.h deleted file mode 100644 index 3b6e5be..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/xml/Fast.h +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef INCLUDED_haxe_xml_Fast -#define INCLUDED_haxe_xml_Fast - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS2(haxe,xml,Fast) -HX_DECLARE_CLASS3(haxe,xml,_Fast,AttribAccess) -HX_DECLARE_CLASS3(haxe,xml,_Fast,HasAttribAccess) -HX_DECLARE_CLASS3(haxe,xml,_Fast,HasNodeAccess) -HX_DECLARE_CLASS3(haxe,xml,_Fast,NodeAccess) -HX_DECLARE_CLASS3(haxe,xml,_Fast,NodeListAccess) -namespace haxe{ -namespace xml{ - - -class Fast_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Fast_obj OBJ_; - Fast_obj(); - Void __construct(::Xml x); - - public: - static hx::ObjectPtr< Fast_obj > __new(::Xml x); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Fast_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Fast"); } - - virtual Dynamic getElements( ); - Dynamic getElements_dyn(); - - virtual ::String getInnerHTML( ); - Dynamic getInnerHTML_dyn(); - - virtual ::String getInnerData( ); - Dynamic getInnerData_dyn(); - - virtual ::String getName( ); - Dynamic getName_dyn(); - - Dynamic elements; /* REM */ - ::haxe::xml::_Fast::HasNodeAccess hasNode; /* REM */ - ::haxe::xml::_Fast::HasAttribAccess has; /* REM */ - ::haxe::xml::_Fast::AttribAccess att; /* REM */ - ::haxe::xml::_Fast::NodeListAccess nodes; /* REM */ - ::haxe::xml::_Fast::NodeAccess node; /* REM */ - ::String innerHTML; /* REM */ - ::String innerData; /* REM */ - ::String name; /* REM */ - ::Xml x; /* REM */ -}; - -} // end namespace haxe -} // end namespace xml - -#endif /* INCLUDED_haxe_xml_Fast */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/xml/_Fast/AttribAccess.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/xml/_Fast/AttribAccess.h deleted file mode 100644 index 9fb7118..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/xml/_Fast/AttribAccess.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#define INCLUDED_haxe_xml__Fast_AttribAccess - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS3(haxe,xml,_Fast,AttribAccess) -namespace haxe{ -namespace xml{ -namespace _Fast{ - - -class AttribAccess_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef AttribAccess_obj OBJ_; - AttribAccess_obj(); - Void __construct(::Xml x); - - public: - static hx::ObjectPtr< AttribAccess_obj > __new(::Xml x); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~AttribAccess_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("AttribAccess"); } - - virtual ::String resolve( ::String name); - Dynamic resolve_dyn(); - - ::Xml __x; /* REM */ -}; - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast - -#endif /* INCLUDED_haxe_xml__Fast_AttribAccess */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/xml/_Fast/HasAttribAccess.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/xml/_Fast/HasAttribAccess.h deleted file mode 100644 index 0068b20..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/xml/_Fast/HasAttribAccess.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_haxe_xml__Fast_HasAttribAccess -#define INCLUDED_haxe_xml__Fast_HasAttribAccess - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS3(haxe,xml,_Fast,HasAttribAccess) -namespace haxe{ -namespace xml{ -namespace _Fast{ - - -class HasAttribAccess_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef HasAttribAccess_obj OBJ_; - HasAttribAccess_obj(); - Void __construct(::Xml x); - - public: - static hx::ObjectPtr< HasAttribAccess_obj > __new(::Xml x); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~HasAttribAccess_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("HasAttribAccess"); } - - virtual bool resolve( ::String name); - Dynamic resolve_dyn(); - - ::Xml __x; /* REM */ -}; - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast - -#endif /* INCLUDED_haxe_xml__Fast_HasAttribAccess */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/xml/_Fast/HasNodeAccess.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/xml/_Fast/HasNodeAccess.h deleted file mode 100644 index aac5843..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/xml/_Fast/HasNodeAccess.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_haxe_xml__Fast_HasNodeAccess -#define INCLUDED_haxe_xml__Fast_HasNodeAccess - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS3(haxe,xml,_Fast,HasNodeAccess) -namespace haxe{ -namespace xml{ -namespace _Fast{ - - -class HasNodeAccess_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef HasNodeAccess_obj OBJ_; - HasNodeAccess_obj(); - Void __construct(::Xml x); - - public: - static hx::ObjectPtr< HasNodeAccess_obj > __new(::Xml x); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~HasNodeAccess_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("HasNodeAccess"); } - - virtual bool resolve( ::String name); - Dynamic resolve_dyn(); - - ::Xml __x; /* REM */ -}; - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast - -#endif /* INCLUDED_haxe_xml__Fast_HasNodeAccess */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/xml/_Fast/NodeAccess.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/xml/_Fast/NodeAccess.h deleted file mode 100644 index 66ef72c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/xml/_Fast/NodeAccess.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_haxe_xml__Fast_NodeAccess -#define INCLUDED_haxe_xml__Fast_NodeAccess - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS2(haxe,xml,Fast) -HX_DECLARE_CLASS3(haxe,xml,_Fast,NodeAccess) -namespace haxe{ -namespace xml{ -namespace _Fast{ - - -class NodeAccess_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef NodeAccess_obj OBJ_; - NodeAccess_obj(); - Void __construct(::Xml x); - - public: - static hx::ObjectPtr< NodeAccess_obj > __new(::Xml x); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~NodeAccess_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("NodeAccess"); } - - virtual ::haxe::xml::Fast resolve( ::String name); - Dynamic resolve_dyn(); - - ::Xml __x; /* REM */ -}; - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast - -#endif /* INCLUDED_haxe_xml__Fast_NodeAccess */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/xml/_Fast/NodeListAccess.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/xml/_Fast/NodeListAccess.h deleted file mode 100644 index c390e73..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/haxe/xml/_Fast/NodeListAccess.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_haxe_xml__Fast_NodeListAccess -#define INCLUDED_haxe_xml__Fast_NodeListAccess - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(List) -HX_DECLARE_CLASS0(Xml) -HX_DECLARE_CLASS3(haxe,xml,_Fast,NodeListAccess) -namespace haxe{ -namespace xml{ -namespace _Fast{ - - -class NodeListAccess_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef NodeListAccess_obj OBJ_; - NodeListAccess_obj(); - Void __construct(::Xml x); - - public: - static hx::ObjectPtr< NodeListAccess_obj > __new(::Xml x); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~NodeListAccess_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("NodeListAccess"); } - - virtual ::List resolve( ::String name); - Dynamic resolve_dyn(); - - ::Xml __x; /* REM */ -}; - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast - -#endif /* INCLUDED_haxe_xml__Fast_NodeListAccess */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/Lib.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/Lib.h deleted file mode 100644 index d71f778..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/Lib.h +++ /dev/null @@ -1,123 +0,0 @@ -#ifndef INCLUDED_neash_Lib -#define INCLUDED_neash_Lib - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(neash,Lib) -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,ManagedStage) -HX_DECLARE_CLASS2(neash,display,MovieClip) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,display,Stage) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,net,URLRequest) -namespace neash{ - - -class Lib_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Lib_obj OBJ_; - Lib_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Lib_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Lib_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Lib"); } - - static int FULLSCREEN; /* REM */ - static int BORDERLESS; /* REM */ - static int RESIZABLE; /* REM */ - static int HARDWARE; /* REM */ - static int VSYNC; /* REM */ - static int HW_AA; /* REM */ - static int HW_AA_HIRES; /* REM */ - static int ALLOW_SHADERS; /* REM */ - static ::neash::display::MovieClip current; /* REM */ - static int initHeight; /* REM */ - static int initWidth; /* REM */ - static ::neash::display::Stage stage; /* REM */ - static ::neash::display::MovieClip nmeCurrent; /* REM */ - static Dynamic nmeMainFrame; /* REM */ - static ::neash::display::Stage nmeStage; /* REM */ - static bool sIsInit; /* REM */ - static ::String company; /* REM */ - static ::String version; /* REM */ - static ::String packageName; /* REM */ - static ::String file; /* REM */ - static Void close( ); - static Dynamic close_dyn(); - - static Void create( Dynamic inOnLoaded,int inWidth,int inHeight,hx::Null< Float > inFrameRate,hx::Null< int > inColour,hx::Null< int > inFlags,::String inTitle,::neash::display::BitmapData inIcon); - static Dynamic create_dyn(); - - static ::neash::display::ManagedStage createManagedStage( int inWidth,int inHeight,hx::Null< int > inFlags); - static Dynamic createManagedStage_dyn(); - - static Void exit( ); - static Dynamic exit_dyn(); - - static Void forceClose( ); - static Dynamic forceClose_dyn(); - - static int getTimer( ); - static Dynamic getTimer_dyn(); - - static Void getURL( ::neash::net::URLRequest url,::String target); - static Dynamic getURL_dyn(); - - static Void nmeSetCurrentStage( ::neash::display::Stage inStage); - static Dynamic nmeSetCurrentStage_dyn(); - - static Void pause( ); - static Dynamic pause_dyn(); - - static Void postUICallback( Dynamic inCallback); - static Dynamic postUICallback_dyn(); - - static Void resume( ); - static Dynamic resume_dyn(); - - static Void setIcon( ::String path); - static Dynamic setIcon_dyn(); - - static Void setPackage( ::String inCompany,::String inFile,::String inPack,::String inVersion); - static Dynamic setPackage_dyn(); - - static ::neash::display::MovieClip nmeGetCurrent( ); - static Dynamic nmeGetCurrent_dyn(); - - static ::neash::display::Stage nmeGetStage( ); - static Dynamic nmeGetStage_dyn(); - - static Dynamic nme_set_package; /* REM */ - static Dynamic &nme_set_package_dyn() { return nme_set_package;} - static Dynamic nme_get_frame_stage; /* REM */ - static Dynamic &nme_get_frame_stage_dyn() { return nme_get_frame_stage;} - static Dynamic nme_get_url; /* REM */ - static Dynamic &nme_get_url_dyn() { return nme_get_url;} - static Dynamic nme_pause_animation; /* REM */ - static Dynamic &nme_pause_animation_dyn() { return nme_pause_animation;} - static Dynamic nme_resume_animation; /* REM */ - static Dynamic &nme_resume_animation_dyn() { return nme_resume_animation;} -}; - -} // end namespace neash - -#endif /* INCLUDED_neash_Lib */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/Loader.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/Loader.h deleted file mode 100644 index c3a4df4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/Loader.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_neash_Loader -#define INCLUDED_neash_Loader - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(neash,Loader) -namespace neash{ - - -class Loader_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Loader_obj OBJ_; - Loader_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Loader_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Loader_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Loader"); } - - static bool moduleInit; /* REM */ - static ::String moduleName; /* REM */ - static Dynamic load( ::String func,int args); - static Dynamic load_dyn(); - -}; - -} // end namespace neash - -#endif /* INCLUDED_neash_Loader */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/Bitmap.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/Bitmap.h deleted file mode 100644 index 698ce51..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/Bitmap.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef INCLUDED_neash_display_Bitmap -#define INCLUDED_neash_display_Bitmap - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,Bitmap) -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,Graphics) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,PixelSnapping) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace display{ - - -class Bitmap_obj : public ::neash::display::DisplayObject_obj{ - public: - typedef ::neash::display::DisplayObject_obj super; - typedef Bitmap_obj OBJ_; - Bitmap_obj(); - Void __construct(::neash::display::BitmapData bitmapData,::neash::display::PixelSnapping pixelSnapping,hx::Null< bool > __o_smoothing); - - public: - static hx::ObjectPtr< Bitmap_obj > __new(::neash::display::BitmapData bitmapData,::neash::display::PixelSnapping pixelSnapping,hx::Null< bool > __o_smoothing); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Bitmap_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Bitmap"); } - - virtual bool nmeSetSmoothing( bool inSmooth); - Dynamic nmeSetSmoothing_dyn(); - - virtual ::neash::display::BitmapData nmeSetBitmapData( ::neash::display::BitmapData inBitmapData); - Dynamic nmeSetBitmapData_dyn(); - - virtual Void nmeRebuild( ); - Dynamic nmeRebuild_dyn(); - - ::neash::display::Graphics mGraphics; /* REM */ - bool smoothing; /* REM */ - ::neash::display::BitmapData bitmapData; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_Bitmap */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/BitmapData.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/BitmapData.h deleted file mode 100644 index 305cfe7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/BitmapData.h +++ /dev/null @@ -1,261 +0,0 @@ -#ifndef INCLUDED_neash_display_BitmapData -#define INCLUDED_neash_display_BitmapData - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,filters,BitmapFilter) -HX_DECLARE_CLASS2(neash,geom,ColorTransform) -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Point) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace display{ - - -class BitmapData_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef BitmapData_obj OBJ_; - BitmapData_obj(); - Void __construct(int inWidth,int inHeight,hx::Null< bool > __o_inTransparent,Dynamic inFillRGBA); - - public: - static hx::ObjectPtr< BitmapData_obj > __new(int inWidth,int inHeight,hx::Null< bool > __o_inTransparent,Dynamic inFillRGBA); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BitmapData_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::neash::display::IBitmapDrawable_obj *() - { return new ::neash::display::IBitmapDrawable_delegate_< BitmapData_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("BitmapData"); } - - virtual bool nmeGetTransparent( ); - Dynamic nmeGetTransparent_dyn(); - - virtual int nmeGetHeight( ); - Dynamic nmeGetHeight_dyn(); - - virtual int nmeGetWidth( ); - Dynamic nmeGetWidth_dyn(); - - virtual ::neash::geom::Rectangle nmeGetRect( ); - Dynamic nmeGetRect_dyn(); - - virtual Void noise( int randomSeed,hx::Null< int > low,hx::Null< int > high,hx::Null< int > channelOptions,hx::Null< bool > grayScale); - Dynamic noise_dyn(); - - virtual Void setFormat( int format); - Dynamic setFormat_dyn(); - - virtual Void unlock( ::neash::geom::Rectangle changeRect); - Dynamic unlock_dyn(); - - virtual Void setVector( ::neash::geom::Rectangle rect,Array< int > inPixels); - Dynamic setVector_dyn(); - - virtual Void setPixels( ::neash::geom::Rectangle rect,::neash::utils::ByteArray pixels); - Dynamic setPixels_dyn(); - - virtual Void setPixel32( int inX,int inY,int inColour); - Dynamic setPixel32_dyn(); - - virtual Void setPixel( int inX,int inY,int inColour); - Dynamic setPixel_dyn(); - - virtual Void setFlags( int inFlags); - Dynamic setFlags_dyn(); - - virtual Void scroll( int inDX,int inDY); - Dynamic scroll_dyn(); - - virtual Void perlinNoise( Float baseX,Float baseY,int numOctaves,int randomSeed,bool stitch,bool fractalNoise,hx::Null< int > channelOptions,hx::Null< bool > grayScale,Array< ::neash::geom::Point > offsets); - Dynamic perlinNoise_dyn(); - - virtual Void nmeDrawToSurface( Dynamic inSurface,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,bool smoothing); - Dynamic nmeDrawToSurface_dyn(); - - virtual Void lock( ); - Dynamic lock_dyn(); - - virtual Array< int > getVector( ::neash::geom::Rectangle rect); - Dynamic getVector_dyn(); - - virtual ::neash::utils::ByteArray getPixels( ::neash::geom::Rectangle rect); - Dynamic getPixels_dyn(); - - virtual int getPixel32( int x,int y); - Dynamic getPixel32_dyn(); - - virtual int getPixel( int x,int y); - Dynamic getPixel_dyn(); - - virtual ::neash::geom::Rectangle getColorBoundsRect( int mask,int color,hx::Null< bool > findColor); - Dynamic getColorBoundsRect_dyn(); - - virtual ::neash::geom::Rectangle generateFilterRect( ::neash::geom::Rectangle sourceRect,::neash::filters::BitmapFilter filter); - Dynamic generateFilterRect_dyn(); - - virtual Void fillRectEx( ::neash::geom::Rectangle rect,int inColour,hx::Null< int > inAlpha); - Dynamic fillRectEx_dyn(); - - virtual Void fillRect( ::neash::geom::Rectangle rect,int inColour); - Dynamic fillRect_dyn(); - - virtual ::neash::utils::ByteArray encode( ::String inFormat,hx::Null< Float > inQuality); - Dynamic encode_dyn(); - - virtual Void dumpBits( ); - Dynamic dumpBits_dyn(); - - virtual Void draw( ::neash::display::IBitmapDrawable source,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,hx::Null< bool > smoothing); - Dynamic draw_dyn(); - - virtual Void dispose( ); - Dynamic dispose_dyn(); - - virtual Void destroyHardwareSurface( ); - Dynamic destroyHardwareSurface_dyn(); - - virtual Void createHardwareSurface( ); - Dynamic createHardwareSurface_dyn(); - - virtual Void copyPixels( ::neash::display::BitmapData sourceBitmapData,::neash::geom::Rectangle sourceRect,::neash::geom::Point destPoint,::neash::display::BitmapData alphaBitmapData,::neash::geom::Point alphaPoint,hx::Null< bool > mergeAlpha); - Dynamic copyPixels_dyn(); - - virtual Void copyChannel( ::neash::display::BitmapData sourceBitmapData,::neash::geom::Rectangle sourceRect,::neash::geom::Point destPoint,int inSourceChannel,int inDestChannel); - Dynamic copyChannel_dyn(); - - virtual Void colorTransform( ::neash::geom::Rectangle rect,::neash::geom::ColorTransform colorTransform); - Dynamic colorTransform_dyn(); - - virtual ::neash::display::BitmapData clone( ); - Dynamic clone_dyn(); - - virtual Void clear( int color); - Dynamic clear_dyn(); - - virtual Void applyFilter( ::neash::display::BitmapData sourceBitmapData,::neash::geom::Rectangle sourceRect,::neash::geom::Point destPoint,::neash::filters::BitmapFilter filter); - Dynamic applyFilter_dyn(); - - Dynamic nmeHandle; /* REM */ - int width; /* REM */ - bool transparent; /* REM */ - ::neash::geom::Rectangle rect; /* REM */ - int height; /* REM */ - static int CLEAR; /* REM */ - static int BLACK; /* REM */ - static int WHITE; /* REM */ - static int RED; /* REM */ - static int GREEN; /* REM */ - static int BLUE; /* REM */ - static ::String PNG; /* REM */ - static ::String JPG; /* REM */ - static int TRANSPARENT; /* REM */ - static int HARDWARE; /* REM */ - static int FORMAT_8888; /* REM */ - static int FORMAT_4444; /* REM */ - static int FORMAT_565; /* REM */ - static int createColor( int inRGB,hx::Null< int > inAlpha); - static Dynamic createColor_dyn(); - - static int extractAlpha( int v); - static Dynamic extractAlpha_dyn(); - - static int extractColor( int v); - static Dynamic extractColor_dyn(); - - static ::neash::display::BitmapData load( ::String inFilename,hx::Null< int > format); - static Dynamic load_dyn(); - - static ::neash::display::BitmapData loadFromBytes( ::neash::utils::ByteArray inBytes,::neash::utils::ByteArray inRawAlpha); - static Dynamic loadFromBytes_dyn(); - - static ::neash::display::BitmapData loadFromHaxeBytes( ::haxe::io::Bytes inBytes,::haxe::io::Bytes inRawAlpha); - static Dynamic loadFromHaxeBytes_dyn(); - - static Dynamic nme_bitmap_data_create; /* REM */ - static Dynamic &nme_bitmap_data_create_dyn() { return nme_bitmap_data_create;} - static Dynamic nme_bitmap_data_load; /* REM */ - static Dynamic &nme_bitmap_data_load_dyn() { return nme_bitmap_data_load;} - static Dynamic nme_bitmap_data_from_bytes; /* REM */ - static Dynamic &nme_bitmap_data_from_bytes_dyn() { return nme_bitmap_data_from_bytes;} - static Dynamic nme_bitmap_data_clear; /* REM */ - static Dynamic &nme_bitmap_data_clear_dyn() { return nme_bitmap_data_clear;} - static Dynamic nme_bitmap_data_clone; /* REM */ - static Dynamic &nme_bitmap_data_clone_dyn() { return nme_bitmap_data_clone;} - static Dynamic nme_bitmap_data_apply_filter; /* REM */ - static Dynamic &nme_bitmap_data_apply_filter_dyn() { return nme_bitmap_data_apply_filter;} - static Dynamic nme_bitmap_data_color_transform; /* REM */ - static Dynamic &nme_bitmap_data_color_transform_dyn() { return nme_bitmap_data_color_transform;} - static Dynamic nme_bitmap_data_copy; /* REM */ - static Dynamic &nme_bitmap_data_copy_dyn() { return nme_bitmap_data_copy;} - static Dynamic nme_bitmap_data_copy_channel; /* REM */ - static Dynamic &nme_bitmap_data_copy_channel_dyn() { return nme_bitmap_data_copy_channel;} - static Dynamic nme_bitmap_data_fill; /* REM */ - static Dynamic &nme_bitmap_data_fill_dyn() { return nme_bitmap_data_fill;} - static Dynamic nme_bitmap_data_get_pixels; /* REM */ - static Dynamic &nme_bitmap_data_get_pixels_dyn() { return nme_bitmap_data_get_pixels;} - static Dynamic nme_bitmap_data_get_pixel; /* REM */ - static Dynamic &nme_bitmap_data_get_pixel_dyn() { return nme_bitmap_data_get_pixel;} - static Dynamic nme_bitmap_data_get_pixel32; /* REM */ - static Dynamic &nme_bitmap_data_get_pixel32_dyn() { return nme_bitmap_data_get_pixel32;} - static Dynamic nme_bitmap_data_get_pixel_rgba; /* REM */ - static Dynamic nme_bitmap_data_get_array; /* REM */ - static Dynamic &nme_bitmap_data_get_array_dyn() { return nme_bitmap_data_get_array;} - static Dynamic nme_bitmap_data_get_color_bounds_rect; /* REM */ - static Dynamic &nme_bitmap_data_get_color_bounds_rect_dyn() { return nme_bitmap_data_get_color_bounds_rect;} - static Dynamic nme_bitmap_data_scroll; /* REM */ - static Dynamic &nme_bitmap_data_scroll_dyn() { return nme_bitmap_data_scroll;} - static Dynamic nme_bitmap_data_set_pixel; /* REM */ - static Dynamic &nme_bitmap_data_set_pixel_dyn() { return nme_bitmap_data_set_pixel;} - static Dynamic nme_bitmap_data_set_pixel32; /* REM */ - static Dynamic &nme_bitmap_data_set_pixel32_dyn() { return nme_bitmap_data_set_pixel32;} - static Dynamic nme_bitmap_data_set_pixel_rgba; /* REM */ - static Dynamic nme_bitmap_data_set_bytes; /* REM */ - static Dynamic &nme_bitmap_data_set_bytes_dyn() { return nme_bitmap_data_set_bytes;} - static Dynamic nme_bitmap_data_set_format; /* REM */ - static Dynamic &nme_bitmap_data_set_format_dyn() { return nme_bitmap_data_set_format;} - static Dynamic nme_bitmap_data_set_array; /* REM */ - static Dynamic &nme_bitmap_data_set_array_dyn() { return nme_bitmap_data_set_array;} - static Dynamic nme_bitmap_data_create_hardware_surface; /* REM */ - static Dynamic &nme_bitmap_data_create_hardware_surface_dyn() { return nme_bitmap_data_create_hardware_surface;} - static Dynamic nme_bitmap_data_destroy_hardware_surface; /* REM */ - static Dynamic &nme_bitmap_data_destroy_hardware_surface_dyn() { return nme_bitmap_data_destroy_hardware_surface;} - static Dynamic nme_bitmap_data_generate_filter_rect; /* REM */ - static Dynamic &nme_bitmap_data_generate_filter_rect_dyn() { return nme_bitmap_data_generate_filter_rect;} - static Dynamic nme_render_surface_to_surface; /* REM */ - static Dynamic &nme_render_surface_to_surface_dyn() { return nme_render_surface_to_surface;} - static Dynamic nme_bitmap_data_height; /* REM */ - static Dynamic &nme_bitmap_data_height_dyn() { return nme_bitmap_data_height;} - static Dynamic nme_bitmap_data_width; /* REM */ - static Dynamic &nme_bitmap_data_width_dyn() { return nme_bitmap_data_width;} - static Dynamic nme_bitmap_data_get_transparent; /* REM */ - static Dynamic &nme_bitmap_data_get_transparent_dyn() { return nme_bitmap_data_get_transparent;} - static Dynamic nme_bitmap_data_set_flags; /* REM */ - static Dynamic &nme_bitmap_data_set_flags_dyn() { return nme_bitmap_data_set_flags;} - static Dynamic nme_bitmap_data_encode; /* REM */ - static Dynamic &nme_bitmap_data_encode_dyn() { return nme_bitmap_data_encode;} - static Dynamic nme_bitmap_data_dump_bits; /* REM */ - static Dynamic &nme_bitmap_data_dump_bits_dyn() { return nme_bitmap_data_dump_bits;} - static Dynamic nme_bitmap_data_noise; /* REM */ - static Dynamic &nme_bitmap_data_noise_dyn() { return nme_bitmap_data_noise;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_BitmapData */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/BitmapDataChannel.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/BitmapDataChannel.h deleted file mode 100644 index 1e38611..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/BitmapDataChannel.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_neash_display_BitmapDataChannel -#define INCLUDED_neash_display_BitmapDataChannel - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,BitmapDataChannel) -namespace neash{ -namespace display{ - - -class BitmapDataChannel_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef BitmapDataChannel_obj OBJ_; - BitmapDataChannel_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< BitmapDataChannel_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BitmapDataChannel_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BitmapDataChannel"); } - - static int ALPHA; /* REM */ - static int BLUE; /* REM */ - static int GREEN; /* REM */ - static int RED; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_BitmapDataChannel */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/BlendMode.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/BlendMode.h deleted file mode 100644 index 664ff80..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/BlendMode.h +++ /dev/null @@ -1,59 +0,0 @@ -#ifndef INCLUDED_neash_display_BlendMode -#define INCLUDED_neash_display_BlendMode - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,BlendMode) -namespace neash{ -namespace display{ - - -class BlendMode_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef BlendMode_obj OBJ_; - - public: - BlendMode_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.BlendMode"); } - ::String __ToString() const { return HX_CSTRING("BlendMode.") + tag; } - - static ::neash::display::BlendMode ADD; - static inline ::neash::display::BlendMode ADD_dyn() { return ADD; } - static ::neash::display::BlendMode ALPHA; - static inline ::neash::display::BlendMode ALPHA_dyn() { return ALPHA; } - static ::neash::display::BlendMode DARKEN; - static inline ::neash::display::BlendMode DARKEN_dyn() { return DARKEN; } - static ::neash::display::BlendMode DIFFERENCE; - static inline ::neash::display::BlendMode DIFFERENCE_dyn() { return DIFFERENCE; } - static ::neash::display::BlendMode ERASE; - static inline ::neash::display::BlendMode ERASE_dyn() { return ERASE; } - static ::neash::display::BlendMode HARDLIGHT; - static inline ::neash::display::BlendMode HARDLIGHT_dyn() { return HARDLIGHT; } - static ::neash::display::BlendMode INVERT; - static inline ::neash::display::BlendMode INVERT_dyn() { return INVERT; } - static ::neash::display::BlendMode LAYER; - static inline ::neash::display::BlendMode LAYER_dyn() { return LAYER; } - static ::neash::display::BlendMode LIGHTEN; - static inline ::neash::display::BlendMode LIGHTEN_dyn() { return LIGHTEN; } - static ::neash::display::BlendMode MULTIPLY; - static inline ::neash::display::BlendMode MULTIPLY_dyn() { return MULTIPLY; } - static ::neash::display::BlendMode NORMAL; - static inline ::neash::display::BlendMode NORMAL_dyn() { return NORMAL; } - static ::neash::display::BlendMode OVERLAY; - static inline ::neash::display::BlendMode OVERLAY_dyn() { return OVERLAY; } - static ::neash::display::BlendMode SCREEN; - static inline ::neash::display::BlendMode SCREEN_dyn() { return SCREEN; } - static ::neash::display::BlendMode SUBTRACT; - static inline ::neash::display::BlendMode SUBTRACT_dyn() { return SUBTRACT; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_BlendMode */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/CapsStyle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/CapsStyle.h deleted file mode 100644 index b269ed3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/CapsStyle.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_display_CapsStyle -#define INCLUDED_neash_display_CapsStyle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,CapsStyle) -namespace neash{ -namespace display{ - - -class CapsStyle_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef CapsStyle_obj OBJ_; - - public: - CapsStyle_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.CapsStyle"); } - ::String __ToString() const { return HX_CSTRING("CapsStyle.") + tag; } - - static ::neash::display::CapsStyle NONE; - static inline ::neash::display::CapsStyle NONE_dyn() { return NONE; } - static ::neash::display::CapsStyle ROUND; - static inline ::neash::display::CapsStyle ROUND_dyn() { return ROUND; } - static ::neash::display::CapsStyle SQUARE; - static inline ::neash::display::CapsStyle SQUARE_dyn() { return SQUARE; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_CapsStyle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/DisplayObject.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/DisplayObject.h deleted file mode 100644 index 7fc8c40..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/DisplayObject.h +++ /dev/null @@ -1,396 +0,0 @@ -#ifndef INCLUDED_neash_display_DisplayObject -#define INCLUDED_neash_display_DisplayObject - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS2(neash,display,BlendMode) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,Graphics) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,PixelSnapping) -HX_DECLARE_CLASS2(neash,display,Stage) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,geom,ColorTransform) -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Point) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -HX_DECLARE_CLASS2(neash,geom,Transform) -namespace neash{ -namespace display{ - - -class DisplayObject_obj : public ::neash::events::EventDispatcher_obj{ - public: - typedef ::neash::events::EventDispatcher_obj super; - typedef DisplayObject_obj OBJ_; - DisplayObject_obj(); - Void __construct(Dynamic inHandle,::String inType); - - public: - static hx::ObjectPtr< DisplayObject_obj > __new(Dynamic inHandle,::String inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~DisplayObject_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::neash::display::IBitmapDrawable_obj *() - { return new ::neash::display::IBitmapDrawable_delegate_< DisplayObject_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("DisplayObject"); } - - virtual Float nmeSetY( Float inVal); - Dynamic nmeSetY_dyn(); - - virtual Float nmeGetY( ); - Dynamic nmeGetY_dyn(); - - virtual Float nmeSetX( Float inVal); - Dynamic nmeSetX_dyn(); - - virtual Float nmeGetX( ); - Dynamic nmeGetX_dyn(); - - virtual Float nmeSetWidth( Float inVal); - Dynamic nmeSetWidth_dyn(); - - virtual Float nmeGetWidth( ); - Dynamic nmeGetWidth_dyn(); - - virtual bool nmeSetVisible( bool inVal); - Dynamic nmeSetVisible_dyn(); - - virtual bool nmeGetVisible( ); - Dynamic nmeGetVisible_dyn(); - - virtual ::neash::geom::Transform nmeSetTransform( ::neash::geom::Transform inTransform); - Dynamic nmeSetTransform_dyn(); - - virtual ::neash::geom::Transform nmeGetTransform( ); - Dynamic nmeGetTransform_dyn(); - - virtual ::neash::display::Stage nmeGetStage( ); - Dynamic nmeGetStage_dyn(); - - virtual ::neash::geom::Rectangle nmeSetScrollRect( ::neash::geom::Rectangle inRect); - Dynamic nmeSetScrollRect_dyn(); - - virtual ::neash::geom::Rectangle nmeGetScrollRect( ); - Dynamic nmeGetScrollRect_dyn(); - - virtual Float nmeSetScaleY( Float inVal); - Dynamic nmeSetScaleY_dyn(); - - virtual Float nmeGetScaleY( ); - Dynamic nmeGetScaleY_dyn(); - - virtual Float nmeSetScaleX( Float inVal); - Dynamic nmeSetScaleX_dyn(); - - virtual Float nmeGetScaleX( ); - Dynamic nmeGetScaleX_dyn(); - - virtual ::neash::geom::Rectangle nmeSetScale9Grid( ::neash::geom::Rectangle inRect); - Dynamic nmeSetScale9Grid_dyn(); - - virtual ::neash::geom::Rectangle nmeGetScale9Grid( ); - Dynamic nmeGetScale9Grid_dyn(); - - virtual Float nmeSetRotation( Float inVal); - Dynamic nmeSetRotation_dyn(); - - virtual Float nmeGetRotation( ); - Dynamic nmeGetRotation_dyn(); - - virtual ::neash::display::DisplayObjectContainer nmeSetParent( ::neash::display::DisplayObjectContainer inParent); - Dynamic nmeSetParent_dyn(); - - virtual ::neash::display::DisplayObjectContainer nmeGetParent( ); - Dynamic nmeGetParent_dyn(); - - virtual ::String nmeSetName( ::String inVal); - Dynamic nmeSetName_dyn(); - - virtual ::String nmeGetName( ); - Dynamic nmeGetName_dyn(); - - virtual Float nmeGetMouseY( ); - Dynamic nmeGetMouseY_dyn(); - - virtual Float nmeGetMouseX( ); - Dynamic nmeGetMouseX_dyn(); - - virtual ::neash::display::DisplayObject nmeSetMask( ::neash::display::DisplayObject inObject); - Dynamic nmeSetMask_dyn(); - - virtual Float nmeSetHeight( Float inVal); - Dynamic nmeSetHeight_dyn(); - - virtual Float nmeGetHeight( ); - Dynamic nmeGetHeight_dyn(); - - virtual ::neash::display::Graphics nmeGetGraphics( ); - Dynamic nmeGetGraphics_dyn(); - - virtual Dynamic nmeSetFilters( Dynamic inFilters); - Dynamic nmeSetFilters_dyn(); - - virtual Dynamic nmeGetFilters( ); - Dynamic nmeGetFilters_dyn(); - - virtual ::neash::display::PixelSnapping nmeSetPixelSnapping( ::neash::display::PixelSnapping inVal); - Dynamic nmeSetPixelSnapping_dyn(); - - virtual ::neash::display::PixelSnapping nmeGetPixelSnapping( ); - Dynamic nmeGetPixelSnapping_dyn(); - - virtual bool nmeSetPedanticBitmapCaching( bool inVal); - Dynamic nmeSetPedanticBitmapCaching_dyn(); - - virtual bool nmeGetPedanticBitmapCaching( ); - Dynamic nmeGetPedanticBitmapCaching_dyn(); - - virtual bool nmeSetCacheAsBitmap( bool inVal); - Dynamic nmeSetCacheAsBitmap_dyn(); - - virtual bool nmeGetCacheAsBitmap( ); - Dynamic nmeGetCacheAsBitmap_dyn(); - - virtual ::neash::display::BlendMode nmeSetBlendMode( ::neash::display::BlendMode inMode); - Dynamic nmeSetBlendMode_dyn(); - - virtual ::neash::display::BlendMode nmeGetBlendMode( ); - Dynamic nmeGetBlendMode_dyn(); - - virtual Dynamic nmeSetBG( Dynamic inBG); - Dynamic nmeSetBG_dyn(); - - virtual Dynamic nmeGetBG( ); - Dynamic nmeGetBG_dyn(); - - virtual Float nmeSetAlpha( Float inAlpha); - Dynamic nmeSetAlpha_dyn(); - - virtual Float nmeGetAlpha( ); - Dynamic nmeGetAlpha_dyn(); - - virtual ::String toString( ); - - virtual Void nmeSetMatrix( ::neash::geom::Matrix inMatrix); - Dynamic nmeSetMatrix_dyn(); - - virtual Void nmeSetColorTransform( ::neash::geom::ColorTransform inTrans); - Dynamic nmeSetColorTransform_dyn(); - - virtual Void nmeOnRemoved( ::neash::display::DisplayObject inObj,bool inWasOnStage); - Dynamic nmeOnRemoved_dyn(); - - virtual Void nmeOnAdded( ::neash::display::DisplayObject inObj,bool inIsOnStage); - Dynamic nmeOnAdded_dyn(); - - virtual ::neash::geom::Rectangle nmeGetPixelBounds( ); - Dynamic nmeGetPixelBounds_dyn(); - - virtual Void nmeGetObjectsUnderPoint( ::neash::geom::Point point,Array< ::neash::display::DisplayObject > result); - Dynamic nmeGetObjectsUnderPoint_dyn(); - - virtual ::neash::geom::Matrix nmeGetMatrix( ); - Dynamic nmeGetMatrix_dyn(); - - virtual Void nmeGetInteractiveObjectStack( Array< ::neash::display::InteractiveObject > outStack); - Dynamic nmeGetInteractiveObjectStack_dyn(); - - virtual ::neash::geom::Matrix nmeGetConcatenatedMatrix( ); - Dynamic nmeGetConcatenatedMatrix_dyn(); - - virtual ::neash::geom::ColorTransform nmeGetConcatenatedColorTransform( ); - Dynamic nmeGetConcatenatedColorTransform_dyn(); - - virtual ::neash::geom::ColorTransform nmeGetColorTransform( ); - Dynamic nmeGetColorTransform_dyn(); - - virtual Void nmeFireEvent( ::neash::events::Event inEvt); - Dynamic nmeFireEvent_dyn(); - - virtual ::neash::display::DisplayObject nmeFindByID( int inID); - Dynamic nmeFindByID_dyn(); - - virtual Void nmeDrawToSurface( Dynamic inSurface,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,bool smoothing); - Dynamic nmeDrawToSurface_dyn(); - - virtual bool nmeDispatchEvent( ::neash::events::Event inEvt); - Dynamic nmeDispatchEvent_dyn(); - - virtual Void nmeBroadcast( ::neash::events::Event inEvt); - Dynamic nmeBroadcast_dyn(); - - virtual ::neash::display::InteractiveObject nmeAsInteractiveObject( ); - Dynamic nmeAsInteractiveObject_dyn(); - - virtual ::neash::geom::Point localToGlobal( ::neash::geom::Point inLocal); - Dynamic localToGlobal_dyn(); - - virtual ::neash::geom::Rectangle getRect( ::neash::display::DisplayObject targetCoordinateSpace); - Dynamic getRect_dyn(); - - virtual ::neash::geom::Rectangle getBounds( ::neash::display::DisplayObject targetCoordinateSpace); - Dynamic getBounds_dyn(); - - virtual bool hitTestPoint( Float x,Float y,hx::Null< bool > shapeFlag); - Dynamic hitTestPoint_dyn(); - - virtual bool hitTestObject( ::neash::display::DisplayObject object); - Dynamic hitTestObject_dyn(); - - virtual ::neash::geom::Point globalToLocal( ::neash::geom::Point inGlobal); - Dynamic globalToLocal_dyn(); - - virtual bool dispatchEvent( ::neash::events::Event event); - - ::neash::geom::Rectangle nmeScrollRect; /* REM */ - ::neash::geom::Rectangle nmeScale9Grid; /* REM */ - ::neash::display::DisplayObjectContainer nmeParent; /* REM */ - int nmeID; /* REM */ - ::neash::display::Graphics nmeGraphicsCache; /* REM */ - Dynamic nmeFilters; /* REM */ - Float y; /* REM */ - Float x; /* REM */ - Float width; /* REM */ - bool visible; /* REM */ - ::neash::geom::Transform transform; /* REM */ - ::neash::display::Stage stage; /* REM */ - ::neash::geom::Rectangle scrollRect; /* REM */ - Float scaleY; /* REM */ - Float scaleX; /* REM */ - ::neash::geom::Rectangle scale9Grid; /* REM */ - Float rotation; /* REM */ - ::neash::display::DisplayObjectContainer parent; /* REM */ - Dynamic opaqueBackground; /* REM */ - Dynamic nmeHandle; /* REM */ - ::String name; /* REM */ - Float mouseY; /* REM */ - Float mouseX; /* REM */ - ::neash::display::DisplayObject mask; /* REM */ - Float height; /* REM */ - ::neash::display::Graphics graphics; /* REM */ - Dynamic filters; /* REM */ - ::neash::display::PixelSnapping pixelSnapping; /* REM */ - bool pedanticBitmapCaching; /* REM */ - bool cacheAsBitmap; /* REM */ - ::neash::display::BlendMode blendMode; /* REM */ - Float alpha; /* REM */ - static Dynamic nme_create_display_object; /* REM */ - static Dynamic &nme_create_display_object_dyn() { return nme_create_display_object;} - static Dynamic nme_display_object_get_graphics; /* REM */ - static Dynamic &nme_display_object_get_graphics_dyn() { return nme_display_object_get_graphics;} - static Dynamic nme_display_object_draw_to_surface; /* REM */ - static Dynamic &nme_display_object_draw_to_surface_dyn() { return nme_display_object_draw_to_surface;} - static Dynamic nme_display_object_get_id; /* REM */ - static Dynamic &nme_display_object_get_id_dyn() { return nme_display_object_get_id;} - static Dynamic nme_display_object_get_x; /* REM */ - static Dynamic &nme_display_object_get_x_dyn() { return nme_display_object_get_x;} - static Dynamic nme_display_object_set_x; /* REM */ - static Dynamic &nme_display_object_set_x_dyn() { return nme_display_object_set_x;} - static Dynamic nme_display_object_get_y; /* REM */ - static Dynamic &nme_display_object_get_y_dyn() { return nme_display_object_get_y;} - static Dynamic nme_display_object_set_y; /* REM */ - static Dynamic &nme_display_object_set_y_dyn() { return nme_display_object_set_y;} - static Dynamic nme_display_object_get_scale_x; /* REM */ - static Dynamic &nme_display_object_get_scale_x_dyn() { return nme_display_object_get_scale_x;} - static Dynamic nme_display_object_set_scale_x; /* REM */ - static Dynamic &nme_display_object_set_scale_x_dyn() { return nme_display_object_set_scale_x;} - static Dynamic nme_display_object_get_scale_y; /* REM */ - static Dynamic &nme_display_object_get_scale_y_dyn() { return nme_display_object_get_scale_y;} - static Dynamic nme_display_object_set_scale_y; /* REM */ - static Dynamic &nme_display_object_set_scale_y_dyn() { return nme_display_object_set_scale_y;} - static Dynamic nme_display_object_get_mouse_x; /* REM */ - static Dynamic &nme_display_object_get_mouse_x_dyn() { return nme_display_object_get_mouse_x;} - static Dynamic nme_display_object_get_mouse_y; /* REM */ - static Dynamic &nme_display_object_get_mouse_y_dyn() { return nme_display_object_get_mouse_y;} - static Dynamic nme_display_object_get_rotation; /* REM */ - static Dynamic &nme_display_object_get_rotation_dyn() { return nme_display_object_get_rotation;} - static Dynamic nme_display_object_set_rotation; /* REM */ - static Dynamic &nme_display_object_set_rotation_dyn() { return nme_display_object_set_rotation;} - static Dynamic nme_display_object_get_bg; /* REM */ - static Dynamic &nme_display_object_get_bg_dyn() { return nme_display_object_get_bg;} - static Dynamic nme_display_object_set_bg; /* REM */ - static Dynamic &nme_display_object_set_bg_dyn() { return nme_display_object_set_bg;} - static Dynamic nme_display_object_get_name; /* REM */ - static Dynamic &nme_display_object_get_name_dyn() { return nme_display_object_get_name;} - static Dynamic nme_display_object_set_name; /* REM */ - static Dynamic &nme_display_object_set_name_dyn() { return nme_display_object_set_name;} - static Dynamic nme_display_object_get_width; /* REM */ - static Dynamic &nme_display_object_get_width_dyn() { return nme_display_object_get_width;} - static Dynamic nme_display_object_set_width; /* REM */ - static Dynamic &nme_display_object_set_width_dyn() { return nme_display_object_set_width;} - static Dynamic nme_display_object_get_height; /* REM */ - static Dynamic &nme_display_object_get_height_dyn() { return nme_display_object_get_height;} - static Dynamic nme_display_object_set_height; /* REM */ - static Dynamic &nme_display_object_set_height_dyn() { return nme_display_object_set_height;} - static Dynamic nme_display_object_get_alpha; /* REM */ - static Dynamic &nme_display_object_get_alpha_dyn() { return nme_display_object_get_alpha;} - static Dynamic nme_display_object_set_alpha; /* REM */ - static Dynamic &nme_display_object_set_alpha_dyn() { return nme_display_object_set_alpha;} - static Dynamic nme_display_object_get_blend_mode; /* REM */ - static Dynamic &nme_display_object_get_blend_mode_dyn() { return nme_display_object_get_blend_mode;} - static Dynamic nme_display_object_set_blend_mode; /* REM */ - static Dynamic &nme_display_object_set_blend_mode_dyn() { return nme_display_object_set_blend_mode;} - static Dynamic nme_display_object_get_cache_as_bitmap; /* REM */ - static Dynamic &nme_display_object_get_cache_as_bitmap_dyn() { return nme_display_object_get_cache_as_bitmap;} - static Dynamic nme_display_object_set_cache_as_bitmap; /* REM */ - static Dynamic &nme_display_object_set_cache_as_bitmap_dyn() { return nme_display_object_set_cache_as_bitmap;} - static Dynamic nme_display_object_get_pedantic_bitmap_caching; /* REM */ - static Dynamic &nme_display_object_get_pedantic_bitmap_caching_dyn() { return nme_display_object_get_pedantic_bitmap_caching;} - static Dynamic nme_display_object_set_pedantic_bitmap_caching; /* REM */ - static Dynamic &nme_display_object_set_pedantic_bitmap_caching_dyn() { return nme_display_object_set_pedantic_bitmap_caching;} - static Dynamic nme_display_object_get_pixel_snapping; /* REM */ - static Dynamic &nme_display_object_get_pixel_snapping_dyn() { return nme_display_object_get_pixel_snapping;} - static Dynamic nme_display_object_set_pixel_snapping; /* REM */ - static Dynamic &nme_display_object_set_pixel_snapping_dyn() { return nme_display_object_set_pixel_snapping;} - static Dynamic nme_display_object_get_visible; /* REM */ - static Dynamic &nme_display_object_get_visible_dyn() { return nme_display_object_get_visible;} - static Dynamic nme_display_object_set_visible; /* REM */ - static Dynamic &nme_display_object_set_visible_dyn() { return nme_display_object_set_visible;} - static Dynamic nme_display_object_set_filters; /* REM */ - static Dynamic &nme_display_object_set_filters_dyn() { return nme_display_object_set_filters;} - static Dynamic nme_display_object_global_to_local; /* REM */ - static Dynamic &nme_display_object_global_to_local_dyn() { return nme_display_object_global_to_local;} - static Dynamic nme_display_object_local_to_global; /* REM */ - static Dynamic &nme_display_object_local_to_global_dyn() { return nme_display_object_local_to_global;} - static Dynamic nme_display_object_set_scale9_grid; /* REM */ - static Dynamic &nme_display_object_set_scale9_grid_dyn() { return nme_display_object_set_scale9_grid;} - static Dynamic nme_display_object_set_scroll_rect; /* REM */ - static Dynamic &nme_display_object_set_scroll_rect_dyn() { return nme_display_object_set_scroll_rect;} - static Dynamic nme_display_object_set_mask; /* REM */ - static Dynamic &nme_display_object_set_mask_dyn() { return nme_display_object_set_mask;} - static Dynamic nme_display_object_set_matrix; /* REM */ - static Dynamic &nme_display_object_set_matrix_dyn() { return nme_display_object_set_matrix;} - static Dynamic nme_display_object_get_matrix; /* REM */ - static Dynamic &nme_display_object_get_matrix_dyn() { return nme_display_object_get_matrix;} - static Dynamic nme_display_object_get_color_transform; /* REM */ - static Dynamic &nme_display_object_get_color_transform_dyn() { return nme_display_object_get_color_transform;} - static Dynamic nme_display_object_set_color_transform; /* REM */ - static Dynamic &nme_display_object_set_color_transform_dyn() { return nme_display_object_set_color_transform;} - static Dynamic nme_display_object_get_pixel_bounds; /* REM */ - static Dynamic &nme_display_object_get_pixel_bounds_dyn() { return nme_display_object_get_pixel_bounds;} - static Dynamic nme_display_object_get_bounds; /* REM */ - static Dynamic &nme_display_object_get_bounds_dyn() { return nme_display_object_get_bounds;} - static Dynamic nme_display_object_hit_test_point; /* REM */ - static Dynamic &nme_display_object_hit_test_point_dyn() { return nme_display_object_hit_test_point;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_DisplayObject */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/DisplayObjectContainer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/DisplayObjectContainer.h deleted file mode 100644 index efc559b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/DisplayObjectContainer.h +++ /dev/null @@ -1,143 +0,0 @@ -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#define INCLUDED_neash_display_DisplayObjectContainer - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,geom,Point) -namespace neash{ -namespace display{ - - -class DisplayObjectContainer_obj : public ::neash::display::InteractiveObject_obj{ - public: - typedef ::neash::display::InteractiveObject_obj super; - typedef DisplayObjectContainer_obj OBJ_; - DisplayObjectContainer_obj(); - Void __construct(Dynamic inHandle,::String inType); - - public: - static hx::ObjectPtr< DisplayObjectContainer_obj > __new(Dynamic inHandle,::String inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~DisplayObjectContainer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("DisplayObjectContainer"); } - - virtual bool nmeSetTabChildren( bool inValue); - Dynamic nmeSetTabChildren_dyn(); - - virtual bool nmeGetTabChildren( ); - Dynamic nmeGetTabChildren_dyn(); - - virtual int nmeGetNumChildren( ); - Dynamic nmeGetNumChildren_dyn(); - - virtual bool nmeSetMouseChildren( bool inVal); - Dynamic nmeSetMouseChildren_dyn(); - - virtual bool nmeGetMouseChildren( ); - Dynamic nmeGetMouseChildren_dyn(); - - virtual Void swapChildrenAt( int index1,int index2); - Dynamic swapChildrenAt_dyn(); - - virtual Void swapChildren( ::neash::display::DisplayObject child1,::neash::display::DisplayObject child2); - Dynamic swapChildren_dyn(); - - virtual Void setChildIndex( ::neash::display::DisplayObject child,int index); - Dynamic setChildIndex_dyn(); - - virtual ::neash::display::DisplayObject removeChildAt( int index); - Dynamic removeChildAt_dyn(); - - virtual ::neash::display::DisplayObject removeChild( ::neash::display::DisplayObject child); - Dynamic removeChild_dyn(); - - virtual Void nmeSwapChildrenAt( int index1,int index2); - Dynamic nmeSwapChildrenAt_dyn(); - - virtual Void nmeSetChildIndex( ::neash::display::DisplayObject child,int index); - Dynamic nmeSetChildIndex_dyn(); - - virtual Void nmeRemoveChildFromArray( ::neash::display::DisplayObject child); - Dynamic nmeRemoveChildFromArray_dyn(); - - virtual Void nmeOnRemoved( ::neash::display::DisplayObject inObj,bool inWasOnStage); - - virtual Void nmeOnAdded( ::neash::display::DisplayObject inObj,bool inIsOnStage); - - virtual Void nmeGetObjectsUnderPoint( ::neash::geom::Point point,Array< ::neash::display::DisplayObject > result); - - virtual int nmeGetChildIndex( ::neash::display::DisplayObject child); - Dynamic nmeGetChildIndex_dyn(); - - virtual ::neash::display::DisplayObject nmeFindByID( int inID); - - virtual Void nmeBroadcast( ::neash::events::Event inEvt); - - virtual Void nmeAddChild( ::neash::display::DisplayObject child); - Dynamic nmeAddChild_dyn(); - - virtual Array< ::neash::display::DisplayObject > getObjectsUnderPoint( ::neash::geom::Point point); - Dynamic getObjectsUnderPoint_dyn(); - - virtual int getChildIndex( ::neash::display::DisplayObject child); - Dynamic getChildIndex_dyn(); - - virtual ::neash::display::DisplayObject getChildByName( ::String name); - Dynamic getChildByName_dyn(); - - virtual ::neash::display::DisplayObject getChildAt( int index); - Dynamic getChildAt_dyn(); - - virtual bool contains( ::neash::display::DisplayObject child); - Dynamic contains_dyn(); - - virtual bool areInaccessibleObjectsUnderPoint( ::neash::geom::Point point); - Dynamic areInaccessibleObjectsUnderPoint_dyn(); - - virtual ::neash::display::DisplayObject addChildAt( ::neash::display::DisplayObject child,int index); - Dynamic addChildAt_dyn(); - - virtual ::neash::display::DisplayObject addChild( ::neash::display::DisplayObject child); - Dynamic addChild_dyn(); - - Array< ::neash::display::DisplayObject > nmeChildren; /* REM */ - bool tabChildren; /* REM */ - int numChildren; /* REM */ - bool mouseChildren; /* REM */ - static Dynamic nme_create_display_object_container; /* REM */ - static Dynamic &nme_create_display_object_container_dyn() { return nme_create_display_object_container;} - static Dynamic nme_doc_add_child; /* REM */ - static Dynamic &nme_doc_add_child_dyn() { return nme_doc_add_child;} - static Dynamic nme_doc_remove_child; /* REM */ - static Dynamic &nme_doc_remove_child_dyn() { return nme_doc_remove_child;} - static Dynamic nme_doc_set_child_index; /* REM */ - static Dynamic &nme_doc_set_child_index_dyn() { return nme_doc_set_child_index;} - static Dynamic nme_doc_get_mouse_children; /* REM */ - static Dynamic &nme_doc_get_mouse_children_dyn() { return nme_doc_get_mouse_children;} - static Dynamic nme_doc_set_mouse_children; /* REM */ - static Dynamic &nme_doc_set_mouse_children_dyn() { return nme_doc_set_mouse_children;} - static Dynamic nme_doc_swap_children; /* REM */ - static Dynamic &nme_doc_swap_children_dyn() { return nme_doc_swap_children;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_DisplayObjectContainer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/GradientType.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/GradientType.h deleted file mode 100644 index fae7c39..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/GradientType.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef INCLUDED_neash_display_GradientType -#define INCLUDED_neash_display_GradientType - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,GradientType) -namespace neash{ -namespace display{ - - -class GradientType_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef GradientType_obj OBJ_; - - public: - GradientType_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.GradientType"); } - ::String __ToString() const { return HX_CSTRING("GradientType.") + tag; } - - static ::neash::display::GradientType LINEAR; - static inline ::neash::display::GradientType LINEAR_dyn() { return LINEAR; } - static ::neash::display::GradientType RADIAL; - static inline ::neash::display::GradientType RADIAL_dyn() { return RADIAL; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_GradientType */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/Graphics.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/Graphics.h deleted file mode 100644 index 6ad2e15..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/Graphics.h +++ /dev/null @@ -1,170 +0,0 @@ -#ifndef INCLUDED_neash_display_Graphics -#define INCLUDED_neash_display_Graphics - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,CapsStyle) -HX_DECLARE_CLASS2(neash,display,GradientType) -HX_DECLARE_CLASS2(neash,display,Graphics) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,IGraphicsData) -HX_DECLARE_CLASS2(neash,display,InterpolationMethod) -HX_DECLARE_CLASS2(neash,display,JointStyle) -HX_DECLARE_CLASS2(neash,display,LineScaleMode) -HX_DECLARE_CLASS2(neash,display,SpreadMethod) -HX_DECLARE_CLASS2(neash,display,Tilesheet) -HX_DECLARE_CLASS2(neash,display,TriangleCulling) -HX_DECLARE_CLASS2(neash,geom,Matrix) -namespace neash{ -namespace display{ - - -class Graphics_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Graphics_obj OBJ_; - Graphics_obj(); - Void __construct(Dynamic inHandle); - - public: - static hx::ObjectPtr< Graphics_obj > __new(Dynamic inHandle); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Graphics_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Graphics"); } - - virtual Void moveTo( Float inX,Float inY); - Dynamic moveTo_dyn(); - - virtual Void lineTo( Float inX,Float inY); - Dynamic lineTo_dyn(); - - virtual Void lineStyle( Dynamic thickness,hx::Null< int > color,hx::Null< Float > alpha,hx::Null< bool > pixelHinting,::neash::display::LineScaleMode scaleMode,::neash::display::CapsStyle caps,::neash::display::JointStyle joints,hx::Null< Float > miterLimit); - Dynamic lineStyle_dyn(); - - virtual Void lineGradientStyle( ::neash::display::GradientType type,Dynamic colors,Dynamic alphas,Dynamic ratios,::neash::geom::Matrix matrix,::neash::display::SpreadMethod spreadMethod,::neash::display::InterpolationMethod interpolationMethod,hx::Null< Float > focalPointRatio); - Dynamic lineGradientStyle_dyn(); - - virtual Void lineBitmapStyle( ::neash::display::BitmapData bitmap,::neash::geom::Matrix matrix,hx::Null< bool > repeat,hx::Null< bool > smooth); - Dynamic lineBitmapStyle_dyn(); - - virtual Void endFill( ); - Dynamic endFill_dyn(); - - virtual Void drawTriangles( Array< Float > vertices,Array< int > indices,Array< Float > uvtData,::neash::display::TriangleCulling culling,Array< int > colours,hx::Null< int > blendMode,Array< Float > viewport); - Dynamic drawTriangles_dyn(); - - virtual Void drawTiles( ::neash::display::Tilesheet sheet,Array< Float > inXYID,hx::Null< bool > inSmooth,hx::Null< int > inFlags); - Dynamic drawTiles_dyn(); - - virtual Void drawPath( Array< int > commands,Array< Float > data,::String winding); - Dynamic drawPath_dyn(); - - virtual Void drawRoundRect( Float inX,Float inY,Float inWidth,Float inHeight,Float inRadX,Dynamic inRadY); - Dynamic drawRoundRect_dyn(); - - virtual Void drawRect( Float inX,Float inY,Float inWidth,Float inHeight); - Dynamic drawRect_dyn(); - - virtual Void drawPoints( Array< Float > inXY,Array< int > inPointRGBA,hx::Null< int > inDefaultRGBA,hx::Null< Float > inSize); - Dynamic drawPoints_dyn(); - - virtual Void drawGraphicsDatum( ::neash::display::IGraphicsData graphicsDatum); - Dynamic drawGraphicsDatum_dyn(); - - virtual Void drawGraphicsData( Array< ::neash::display::IGraphicsData > graphicsData); - Dynamic drawGraphicsData_dyn(); - - virtual Void drawEllipse( Float inX,Float inY,Float inWidth,Float inHeight); - Dynamic drawEllipse_dyn(); - - virtual Void drawCircle( Float inX,Float inY,Float inRadius); - Dynamic drawCircle_dyn(); - - virtual Void curveTo( Float inCX,Float inCY,Float inX,Float inY); - Dynamic curveTo_dyn(); - - virtual Void clear( ); - Dynamic clear_dyn(); - - virtual Void beginGradientFill( ::neash::display::GradientType type,Dynamic colors,Dynamic alphas,Dynamic ratios,::neash::geom::Matrix matrix,::neash::display::SpreadMethod spreadMethod,::neash::display::InterpolationMethod interpolationMethod,hx::Null< Float > focalPointRatio); - Dynamic beginGradientFill_dyn(); - - virtual Void beginFill( int color,hx::Null< Float > alpha); - Dynamic beginFill_dyn(); - - virtual Void beginBitmapFill( ::neash::display::BitmapData bitmap,::neash::geom::Matrix matrix,hx::Null< bool > repeat,hx::Null< bool > smooth); - Dynamic beginBitmapFill_dyn(); - - virtual Void arcTo( Float inCX,Float inCY,Float inX,Float inY); - Dynamic arcTo_dyn(); - - Dynamic nmeHandle; /* REM */ - static int TILE_SCALE; /* REM */ - static int TILE_ROTATION; /* REM */ - static int TILE_RGB; /* REM */ - static int TILE_ALPHA; /* REM */ - static int TILE_TRANS_2x2; /* REM */ - static int TILE_SMOOTH; /* REM */ - static int TILE_BLEND_NORMAL; /* REM */ - static int TILE_BLEND_ADD; /* REM */ - static int RGBA( int inRGB,hx::Null< int > inA); - static Dynamic RGBA_dyn(); - - static Dynamic nme_gfx_clear; /* REM */ - static Dynamic &nme_gfx_clear_dyn() { return nme_gfx_clear;} - static Dynamic nme_gfx_begin_fill; /* REM */ - static Dynamic &nme_gfx_begin_fill_dyn() { return nme_gfx_begin_fill;} - static Dynamic nme_gfx_begin_bitmap_fill; /* REM */ - static Dynamic &nme_gfx_begin_bitmap_fill_dyn() { return nme_gfx_begin_bitmap_fill;} - static Dynamic nme_gfx_line_bitmap_fill; /* REM */ - static Dynamic &nme_gfx_line_bitmap_fill_dyn() { return nme_gfx_line_bitmap_fill;} - static Dynamic nme_gfx_begin_gradient_fill; /* REM */ - static Dynamic &nme_gfx_begin_gradient_fill_dyn() { return nme_gfx_begin_gradient_fill;} - static Dynamic nme_gfx_line_gradient_fill; /* REM */ - static Dynamic &nme_gfx_line_gradient_fill_dyn() { return nme_gfx_line_gradient_fill;} - static Dynamic nme_gfx_end_fill; /* REM */ - static Dynamic &nme_gfx_end_fill_dyn() { return nme_gfx_end_fill;} - static Dynamic nme_gfx_line_style; /* REM */ - static Dynamic &nme_gfx_line_style_dyn() { return nme_gfx_line_style;} - static Dynamic nme_gfx_move_to; /* REM */ - static Dynamic &nme_gfx_move_to_dyn() { return nme_gfx_move_to;} - static Dynamic nme_gfx_line_to; /* REM */ - static Dynamic &nme_gfx_line_to_dyn() { return nme_gfx_line_to;} - static Dynamic nme_gfx_curve_to; /* REM */ - static Dynamic &nme_gfx_curve_to_dyn() { return nme_gfx_curve_to;} - static Dynamic nme_gfx_arc_to; /* REM */ - static Dynamic &nme_gfx_arc_to_dyn() { return nme_gfx_arc_to;} - static Dynamic nme_gfx_draw_ellipse; /* REM */ - static Dynamic &nme_gfx_draw_ellipse_dyn() { return nme_gfx_draw_ellipse;} - static Dynamic nme_gfx_draw_data; /* REM */ - static Dynamic &nme_gfx_draw_data_dyn() { return nme_gfx_draw_data;} - static Dynamic nme_gfx_draw_datum; /* REM */ - static Dynamic &nme_gfx_draw_datum_dyn() { return nme_gfx_draw_datum;} - static Dynamic nme_gfx_draw_rect; /* REM */ - static Dynamic &nme_gfx_draw_rect_dyn() { return nme_gfx_draw_rect;} - static Dynamic nme_gfx_draw_path; /* REM */ - static Dynamic &nme_gfx_draw_path_dyn() { return nme_gfx_draw_path;} - static Dynamic nme_gfx_draw_tiles; /* REM */ - static Dynamic &nme_gfx_draw_tiles_dyn() { return nme_gfx_draw_tiles;} - static Dynamic nme_gfx_draw_points; /* REM */ - static Dynamic &nme_gfx_draw_points_dyn() { return nme_gfx_draw_points;} - static Dynamic nme_gfx_draw_round_rect; /* REM */ - static Dynamic &nme_gfx_draw_round_rect_dyn() { return nme_gfx_draw_round_rect;} - static Dynamic nme_gfx_draw_triangles; /* REM */ - static Dynamic &nme_gfx_draw_triangles_dyn() { return nme_gfx_draw_triangles;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_Graphics */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/GraphicsPathWinding.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/GraphicsPathWinding.h deleted file mode 100644 index 94b9094..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/GraphicsPathWinding.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_neash_display_GraphicsPathWinding -#define INCLUDED_neash_display_GraphicsPathWinding - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,GraphicsPathWinding) -namespace neash{ -namespace display{ - - -class GraphicsPathWinding_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef GraphicsPathWinding_obj OBJ_; - GraphicsPathWinding_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< GraphicsPathWinding_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~GraphicsPathWinding_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("GraphicsPathWinding"); } - - static ::String EVEN_ODD; /* REM */ - static ::String NON_ZERO; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_GraphicsPathWinding */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/IBitmapDrawable.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/IBitmapDrawable.h deleted file mode 100644 index e8759ae..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/IBitmapDrawable.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_neash_display_IBitmapDrawable -#define INCLUDED_neash_display_IBitmapDrawable - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,geom,ColorTransform) -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace neash{ -namespace display{ - - -class IBitmapDrawable_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IBitmapDrawable_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void nmeDrawToSurface( Dynamic inSurface,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,bool smoothing)=0; - Dynamic nmeDrawToSurface_dyn(); -}; - -#define DELEGATE_neash_display_IBitmapDrawable \ -virtual Void nmeDrawToSurface( Dynamic inSurface,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,bool smoothing) { return mDelegate->nmeDrawToSurface(inSurface,matrix,colorTransform,blendMode,clipRect,smoothing);} \ -virtual Dynamic nmeDrawToSurface_dyn() { return mDelegate->nmeDrawToSurface_dyn();} \ - - -template -class IBitmapDrawable_delegate_ : public IBitmapDrawable_obj -{ - protected: - IMPL *mDelegate; - public: - IBitmapDrawable_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_neash_display_IBitmapDrawable -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_IBitmapDrawable */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/IGraphicsData.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/IGraphicsData.h deleted file mode 100644 index 6798199..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/IGraphicsData.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_neash_display_IGraphicsData -#define INCLUDED_neash_display_IGraphicsData - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,IGraphicsData) -namespace neash{ -namespace display{ - - -class IGraphicsData_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef IGraphicsData_obj OBJ_; - IGraphicsData_obj(); - Void __construct(Dynamic inHandle); - - public: - static hx::ObjectPtr< IGraphicsData_obj > __new(Dynamic inHandle); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~IGraphicsData_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("IGraphicsData"); } - - Dynamic nmeHandle; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_IGraphicsData */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/InteractiveObject.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/InteractiveObject.h deleted file mode 100644 index d810c3e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/InteractiveObject.h +++ /dev/null @@ -1,83 +0,0 @@ -#ifndef INCLUDED_neash_display_InteractiveObject -#define INCLUDED_neash_display_InteractiveObject - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace display{ - - -class InteractiveObject_obj : public ::neash::display::DisplayObject_obj{ - public: - typedef ::neash::display::DisplayObject_obj super; - typedef InteractiveObject_obj OBJ_; - InteractiveObject_obj(); - Void __construct(Dynamic inHandle,::String inType); - - public: - static hx::ObjectPtr< InteractiveObject_obj > __new(Dynamic inHandle,::String inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~InteractiveObject_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("InteractiveObject"); } - - virtual bool nmeGetNeedsSoftKeyboard( ); - Dynamic nmeGetNeedsSoftKeyboard_dyn(); - - virtual bool nmeSetNeedsSoftKeyboard( bool inVal); - Dynamic nmeSetNeedsSoftKeyboard_dyn(); - - virtual bool nmeGetMoveForSoftKeyboard( ); - Dynamic nmeGetMoveForSoftKeyboard_dyn(); - - virtual bool nmeSetMoveForSoftKeyboard( bool inVal); - Dynamic nmeSetMoveForSoftKeyboard_dyn(); - - virtual bool nmeSetMouseEnabled( bool inVal); - Dynamic nmeSetMouseEnabled_dyn(); - - virtual bool nmeGetMouseEnabled( ); - Dynamic nmeGetMouseEnabled_dyn(); - - virtual bool requestSoftKeyboard( ); - Dynamic requestSoftKeyboard_dyn(); - - virtual ::neash::display::InteractiveObject nmeAsInteractiveObject( ); - - bool nmeMouseEnabled; /* REM */ - bool needsSoftKeyboard; /* REM */ - bool moveForSoftKeyboard; /* REM */ - bool mouseEnabled; /* REM */ - bool doubleClickEnabled; /* REM */ - static Dynamic nme_display_object_set_mouse_enabled; /* REM */ - static Dynamic &nme_display_object_set_mouse_enabled_dyn() { return nme_display_object_set_mouse_enabled;} - static Dynamic nme_display_object_set_needs_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_set_needs_soft_keyboard_dyn() { return nme_display_object_set_needs_soft_keyboard;} - static Dynamic nme_display_object_get_needs_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_get_needs_soft_keyboard_dyn() { return nme_display_object_get_needs_soft_keyboard;} - static Dynamic nme_display_object_set_moves_for_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_set_moves_for_soft_keyboard_dyn() { return nme_display_object_set_moves_for_soft_keyboard;} - static Dynamic nme_display_object_get_moves_for_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_get_moves_for_soft_keyboard_dyn() { return nme_display_object_get_moves_for_soft_keyboard;} - static Dynamic nme_display_object_request_soft_keyboard; /* REM */ - static Dynamic &nme_display_object_request_soft_keyboard_dyn() { return nme_display_object_request_soft_keyboard;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_InteractiveObject */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/InterpolationMethod.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/InterpolationMethod.h deleted file mode 100644 index dac7148..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/InterpolationMethod.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef INCLUDED_neash_display_InterpolationMethod -#define INCLUDED_neash_display_InterpolationMethod - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,InterpolationMethod) -namespace neash{ -namespace display{ - - -class InterpolationMethod_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef InterpolationMethod_obj OBJ_; - - public: - InterpolationMethod_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.InterpolationMethod"); } - ::String __ToString() const { return HX_CSTRING("InterpolationMethod.") + tag; } - - static ::neash::display::InterpolationMethod LINEAR_RGB; - static inline ::neash::display::InterpolationMethod LINEAR_RGB_dyn() { return LINEAR_RGB; } - static ::neash::display::InterpolationMethod RGB; - static inline ::neash::display::InterpolationMethod RGB_dyn() { return RGB; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_InterpolationMethod */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/JointStyle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/JointStyle.h deleted file mode 100644 index 6e5f8e9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/JointStyle.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_display_JointStyle -#define INCLUDED_neash_display_JointStyle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,JointStyle) -namespace neash{ -namespace display{ - - -class JointStyle_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef JointStyle_obj OBJ_; - - public: - JointStyle_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.JointStyle"); } - ::String __ToString() const { return HX_CSTRING("JointStyle.") + tag; } - - static ::neash::display::JointStyle BEVEL; - static inline ::neash::display::JointStyle BEVEL_dyn() { return BEVEL; } - static ::neash::display::JointStyle MITER; - static inline ::neash::display::JointStyle MITER_dyn() { return MITER; } - static ::neash::display::JointStyle ROUND; - static inline ::neash::display::JointStyle ROUND_dyn() { return ROUND; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_JointStyle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/LineScaleMode.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/LineScaleMode.h deleted file mode 100644 index 1842095..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/LineScaleMode.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_neash_display_LineScaleMode -#define INCLUDED_neash_display_LineScaleMode - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,LineScaleMode) -namespace neash{ -namespace display{ - - -class LineScaleMode_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef LineScaleMode_obj OBJ_; - - public: - LineScaleMode_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.LineScaleMode"); } - ::String __ToString() const { return HX_CSTRING("LineScaleMode.") + tag; } - - static ::neash::display::LineScaleMode HORIZONTAL; - static inline ::neash::display::LineScaleMode HORIZONTAL_dyn() { return HORIZONTAL; } - static ::neash::display::LineScaleMode NONE; - static inline ::neash::display::LineScaleMode NONE_dyn() { return NONE; } - static ::neash::display::LineScaleMode NORMAL; - static inline ::neash::display::LineScaleMode NORMAL_dyn() { return NORMAL; } - static ::neash::display::LineScaleMode OPENGL; - static inline ::neash::display::LineScaleMode OPENGL_dyn() { return OPENGL; } - static ::neash::display::LineScaleMode VERTICAL; - static inline ::neash::display::LineScaleMode VERTICAL_dyn() { return VERTICAL; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_LineScaleMode */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/ManagedStage.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/ManagedStage.h deleted file mode 100644 index c9596b3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/ManagedStage.h +++ /dev/null @@ -1,101 +0,0 @@ -#ifndef INCLUDED_neash_display_ManagedStage -#define INCLUDED_neash_display_ManagedStage - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,ManagedStage) -HX_DECLARE_CLASS2(neash,display,Stage) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace display{ - - -class ManagedStage_obj : public ::neash::display::Stage_obj{ - public: - typedef ::neash::display::Stage_obj super; - typedef ManagedStage_obj OBJ_; - ManagedStage_obj(); - Void __construct(int inWidth,int inHeight,hx::Null< int > __o_inFlags); - - public: - static hx::ObjectPtr< ManagedStage_obj > __new(int inWidth,int inHeight,hx::Null< int > __o_inFlags); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ManagedStage_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ManagedStage"); } - - Dynamic setNextWake; - inline Dynamic &setNextWake_dyn() {return setNextWake; } - - virtual Void sendQuit( ); - Dynamic sendQuit_dyn(); - - virtual Void resize( int inWidth,int inHeight); - Dynamic resize_dyn(); - - virtual Void pumpEvent( Dynamic inEvent); - Dynamic pumpEvent_dyn(); - - virtual Void nmeRender( bool inSendEnterFrame); - - virtual Float nmeDoProcessStageEvent( Dynamic inEvent); - - Dynamic endRender; - inline Dynamic &endRender_dyn() {return endRender; } - - Dynamic beginRender; - inline Dynamic &beginRender_dyn() {return beginRender; } - - static int etUnknown; /* REM */ - static int etKeyDown; /* REM */ - static int etChar; /* REM */ - static int etKeyUp; /* REM */ - static int etMouseMove; /* REM */ - static int etMouseDown; /* REM */ - static int etMouseClick; /* REM */ - static int etMouseUp; /* REM */ - static int etResize; /* REM */ - static int etPoll; /* REM */ - static int etQuit; /* REM */ - static int etFocus; /* REM */ - static int etShouldRotate; /* REM */ - static int etDestroyHandler; /* REM */ - static int etRedraw; /* REM */ - static int etTouchBegin; /* REM */ - static int etTouchMove; /* REM */ - static int etTouchEnd; /* REM */ - static int etTouchTap; /* REM */ - static int etChange; /* REM */ - static int efLeftDown; /* REM */ - static int efShiftDown; /* REM */ - static int efCtrlDown; /* REM */ - static int efAltDown; /* REM */ - static int efCommandDown; /* REM */ - static int efMiddleDown; /* REM */ - static int efRightDown; /* REM */ - static int efLocationRight; /* REM */ - static int efPrimaryTouch; /* REM */ - static Dynamic nme_managed_stage_create; /* REM */ - static Dynamic &nme_managed_stage_create_dyn() { return nme_managed_stage_create;} - static Dynamic nme_managed_stage_pump_event; /* REM */ - static Dynamic &nme_managed_stage_pump_event_dyn() { return nme_managed_stage_pump_event;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_ManagedStage */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/MovieClip.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/MovieClip.h deleted file mode 100644 index 1940f2f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/MovieClip.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_neash_display_MovieClip -#define INCLUDED_neash_display_MovieClip - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,MovieClip) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace display{ - - -class MovieClip_obj : public ::neash::display::Sprite_obj{ - public: - typedef ::neash::display::Sprite_obj super; - typedef MovieClip_obj OBJ_; - MovieClip_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< MovieClip_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~MovieClip_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("MovieClip"); } - - virtual int nmeGetTotalFrames( ); - Dynamic nmeGetTotalFrames_dyn(); - - virtual int nmeGetCurrentFrame( ); - Dynamic nmeGetCurrentFrame_dyn(); - - virtual Void stop( ); - Dynamic stop_dyn(); - - virtual Void play( ); - Dynamic play_dyn(); - - virtual ::String nmeGetType( ); - - virtual Void gotoAndStop( Dynamic frame,::String scene); - Dynamic gotoAndStop_dyn(); - - virtual Void gotoAndPlay( Dynamic frame,::String scene); - Dynamic gotoAndPlay_dyn(); - - int mTotalFrames; /* REM */ - int mCurrentFrame; /* REM */ - int totalFrames; /* REM */ - int framesLoaded; /* REM */ - bool enabled; /* REM */ - int currentFrame; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_MovieClip */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/OptimizedPerlin.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/OptimizedPerlin.h deleted file mode 100644 index 06d73f5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/OptimizedPerlin.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef INCLUDED_neash_display_OptimizedPerlin -#define INCLUDED_neash_display_OptimizedPerlin - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,OptimizedPerlin) -namespace neash{ -namespace display{ - - -class OptimizedPerlin_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef OptimizedPerlin_obj OBJ_; - OptimizedPerlin_obj(); - Void __construct(hx::Null< int > __o_seed,hx::Null< int > __o_octaves,hx::Null< Float > __o_falloff); - - public: - static hx::ObjectPtr< OptimizedPerlin_obj > __new(hx::Null< int > __o_seed,hx::Null< int > __o_octaves,hx::Null< Float > __o_falloff); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~OptimizedPerlin_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("OptimizedPerlin"); } - - virtual Void seedOffset( int iSeed); - Dynamic seedOffset_dyn(); - - virtual Void octFreqPers( Float fPersistence); - Dynamic octFreqPers_dyn(); - - virtual Void fill( ::neash::display::BitmapData bitmap,Float _x,Float _y,Float _z,Dynamic _); - Dynamic fill_dyn(); - - Float baseFactor; /* REM */ - Float iZoffset; /* REM */ - Float iYoffset; /* REM */ - Float iXoffset; /* REM */ - Float fPersMax; /* REM */ - Array< Float > aOctPers; /* REM */ - Array< Float > aOctFreq; /* REM */ - int octaves; /* REM */ - static Array< int > P; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_OptimizedPerlin */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/PixelSnapping.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/PixelSnapping.h deleted file mode 100644 index 0a8a60c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/PixelSnapping.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_display_PixelSnapping -#define INCLUDED_neash_display_PixelSnapping - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,PixelSnapping) -namespace neash{ -namespace display{ - - -class PixelSnapping_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef PixelSnapping_obj OBJ_; - - public: - PixelSnapping_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.PixelSnapping"); } - ::String __ToString() const { return HX_CSTRING("PixelSnapping.") + tag; } - - static ::neash::display::PixelSnapping ALWAYS; - static inline ::neash::display::PixelSnapping ALWAYS_dyn() { return ALWAYS; } - static ::neash::display::PixelSnapping AUTO; - static inline ::neash::display::PixelSnapping AUTO_dyn() { return AUTO; } - static ::neash::display::PixelSnapping NEVER; - static inline ::neash::display::PixelSnapping NEVER_dyn() { return NEVER; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_PixelSnapping */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/Shape.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/Shape.h deleted file mode 100644 index f04105e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/Shape.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef INCLUDED_neash_display_Shape -#define INCLUDED_neash_display_Shape - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,Shape) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace display{ - - -class Shape_obj : public ::neash::display::DisplayObject_obj{ - public: - typedef ::neash::display::DisplayObject_obj super; - typedef Shape_obj OBJ_; - Shape_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Shape_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Shape_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Shape"); } - -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_Shape */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/SpreadMethod.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/SpreadMethod.h deleted file mode 100644 index 6031764..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/SpreadMethod.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_display_SpreadMethod -#define INCLUDED_neash_display_SpreadMethod - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,SpreadMethod) -namespace neash{ -namespace display{ - - -class SpreadMethod_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef SpreadMethod_obj OBJ_; - - public: - SpreadMethod_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.SpreadMethod"); } - ::String __ToString() const { return HX_CSTRING("SpreadMethod.") + tag; } - - static ::neash::display::SpreadMethod PAD; - static inline ::neash::display::SpreadMethod PAD_dyn() { return PAD; } - static ::neash::display::SpreadMethod REFLECT; - static inline ::neash::display::SpreadMethod REFLECT_dyn() { return REFLECT; } - static ::neash::display::SpreadMethod REPEAT; - static inline ::neash::display::SpreadMethod REPEAT_dyn() { return REPEAT; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_SpreadMethod */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/Sprite.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/Sprite.h deleted file mode 100644 index c19bdbe..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/Sprite.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef INCLUDED_neash_display_Sprite -#define INCLUDED_neash_display_Sprite - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace neash{ -namespace display{ - - -class Sprite_obj : public ::neash::display::DisplayObjectContainer_obj{ - public: - typedef ::neash::display::DisplayObjectContainer_obj super; - typedef Sprite_obj OBJ_; - Sprite_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Sprite_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Sprite_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Sprite"); } - - virtual Void stopDrag( ); - Dynamic stopDrag_dyn(); - - virtual Void startDrag( hx::Null< bool > lockCenter,::neash::geom::Rectangle bounds); - Dynamic startDrag_dyn(); - - virtual ::String nmeGetType( ); - Dynamic nmeGetType_dyn(); - - bool useHandCursor; /* REM */ - bool buttonMode; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_Sprite */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/Stage.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/Stage.h deleted file mode 100644 index fed2f88..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/Stage.h +++ /dev/null @@ -1,288 +0,0 @@ -#ifndef INCLUDED_neash_display_Stage -#define INCLUDED_neash_display_Stage - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(IntHash) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,display,Stage) -HX_DECLARE_CLASS2(neash,display,StageAlign) -HX_DECLARE_CLASS2(neash,display,StageDisplayState) -HX_DECLARE_CLASS2(neash,display,StageQuality) -HX_DECLARE_CLASS2(neash,display,StageScaleMode) -HX_DECLARE_CLASS2(neash,display,TouchInfo) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,events,MouseEvent) -HX_DECLARE_CLASS2(neash,geom,Point) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace neash{ -namespace display{ - - -class Stage_obj : public ::neash::display::DisplayObjectContainer_obj{ - public: - typedef ::neash::display::DisplayObjectContainer_obj super; - typedef Stage_obj OBJ_; - Stage_obj(); - Void __construct(Dynamic inHandle,int inWidth,int inHeight); - - public: - static hx::ObjectPtr< Stage_obj > __new(Dynamic inHandle,int inWidth,int inHeight); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Stage_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Stage"); } - - virtual int nmeGetStageWidth( ); - Dynamic nmeGetStageWidth_dyn(); - - virtual int nmeGetStageHeight( ); - Dynamic nmeGetStageHeight_dyn(); - - virtual bool nmeSetStageFocusRect( bool inVal); - Dynamic nmeSetStageFocusRect_dyn(); - - virtual bool nmeGetStageFocusRect( ); - Dynamic nmeGetStageFocusRect_dyn(); - - virtual ::neash::display::StageScaleMode nmeSetScaleMode( ::neash::display::StageScaleMode inMode); - Dynamic nmeSetScaleMode_dyn(); - - virtual ::neash::display::StageScaleMode nmeGetScaleMode( ); - Dynamic nmeGetScaleMode_dyn(); - - virtual ::neash::display::StageQuality nmeSetQuality( ::neash::display::StageQuality inQuality); - Dynamic nmeSetQuality_dyn(); - - virtual ::neash::display::StageQuality nmeGetQuality( ); - Dynamic nmeGetQuality_dyn(); - - virtual bool nmeIsOpenGL( ); - Dynamic nmeIsOpenGL_dyn(); - - virtual Float nmeSetFrameRate( Float inRate); - Dynamic nmeSetFrameRate_dyn(); - - virtual ::neash::display::InteractiveObject nmeSetFocus( ::neash::display::InteractiveObject inObject); - Dynamic nmeSetFocus_dyn(); - - virtual ::neash::display::InteractiveObject nmeGetFocus( ); - Dynamic nmeGetFocus_dyn(); - - virtual Float nmeGetDPIScale( ); - Dynamic nmeGetDPIScale_dyn(); - - virtual ::neash::display::StageDisplayState nmeSetDisplayState( ::neash::display::StageDisplayState inState); - Dynamic nmeSetDisplayState_dyn(); - - virtual ::neash::display::StageDisplayState nmeGetDisplayState( ); - Dynamic nmeGetDisplayState_dyn(); - - virtual ::neash::display::StageAlign nmeSetAlign( ::neash::display::StageAlign inMode); - Dynamic nmeSetAlign_dyn(); - - virtual ::neash::display::StageAlign nmeGetAlign( ); - Dynamic nmeGetAlign_dyn(); - - virtual Void showCursor( bool inShow); - Dynamic showCursor_dyn(); - - virtual Float nmeUpdateNextWake( ); - Dynamic nmeUpdateNextWake_dyn(); - - virtual Void nmeStopDrag( ::neash::display::Sprite sprite); - Dynamic nmeStopDrag_dyn(); - - virtual Void nmeStartDrag( ::neash::display::Sprite sprite,bool lockCenter,::neash::geom::Rectangle bounds); - Dynamic nmeStartDrag_dyn(); - - virtual Void nmeSetActive( bool inActive); - Dynamic nmeSetActive_dyn(); - - virtual Void nmeRender( bool inSendEnterFrame); - Dynamic nmeRender_dyn(); - - virtual Void nmePollTimers( ); - Dynamic nmePollTimers_dyn(); - - virtual Void nmeOnTouch( Dynamic inEvent,::String inType,::neash::display::TouchInfo touchInfo); - Dynamic nmeOnTouch_dyn(); - - virtual Void nmeOnResize( Float inW,Float inH); - Dynamic nmeOnResize_dyn(); - - virtual Void nmeOnMouse( Dynamic inEvent,::String inType,bool inFromMouse); - Dynamic nmeOnMouse_dyn(); - - virtual Void nmeOnKey( Dynamic inEvent,::String inType); - Dynamic nmeOnKey_dyn(); - - virtual Void nmeOnJoystick( Dynamic inEvent,::String inType); - Dynamic nmeOnJoystick_dyn(); - - virtual Void nmeOnFocus( Dynamic inEvent); - Dynamic nmeOnFocus_dyn(); - - virtual Void nmeOnChange( Dynamic inEvent); - Dynamic nmeOnChange_dyn(); - - virtual Float nmeNextFrameDue( Float inOtherTimers); - Dynamic nmeNextFrameDue_dyn(); - - virtual ::neash::display::Stage nmeGetStage( ); - - virtual Void nmeDrag( ::neash::geom::Point inMouse); - Dynamic nmeDrag_dyn(); - - virtual Dynamic nmeProcessStageEvent( Dynamic inEvent); - Dynamic nmeProcessStageEvent_dyn(); - - virtual Void dummyTrace( ); - Dynamic dummyTrace_dyn(); - - virtual Float nmeDoProcessStageEvent( Dynamic inEvent); - Dynamic nmeDoProcessStageEvent_dyn(); - - virtual Void nmeCheckRender( ); - Dynamic nmeCheckRender_dyn(); - - virtual bool nmeCheckInOuts( ::neash::events::MouseEvent inEvent,Array< ::neash::display::InteractiveObject > inStack,::neash::display::TouchInfo touchInfo); - Dynamic nmeCheckInOuts_dyn(); - - virtual Void nmeCheckFocusInOuts( Dynamic inEvent,Array< ::neash::display::InteractiveObject > inStack); - Dynamic nmeCheckFocusInOuts_dyn(); - - virtual Void invalidate( ); - Dynamic invalidate_dyn(); - - ::IntHash nmeTouchInfo; /* REM */ - Array< ::neash::display::InteractiveObject > nmeMouseOverObjects; /* REM */ - Float nmeLastRender; /* REM */ - Array< ::neash::display::InteractiveObject > nmeLastDown; /* REM */ - Float nmeLastClickTime; /* REM */ - bool nmeInvalid; /* REM */ - Float nmeFramePeriod; /* REM */ - Array< ::neash::display::InteractiveObject > nmeFocusOverObjects; /* REM */ - Float nmeDragOffsetY; /* REM */ - Float nmeDragOffsetX; /* REM */ - ::neash::display::Sprite nmeDragObject; /* REM */ - ::neash::geom::Rectangle nmeDragBounds; /* REM */ - ::IntHash nmeJoyAxisData; /* REM */ - int stageWidth; /* REM */ - int stageHeight; /* REM */ - bool stageFocusRect; /* REM */ - ::neash::display::StageScaleMode scaleMode; /* REM */ - Dynamic renderRequest; /* REM */ - Dynamic &renderRequest_dyn() { return renderRequest;} - ::neash::display::StageQuality quality; /* REM */ - bool pauseWhenDeactivated; /* REM */ - Dynamic onQuit; /* REM */ - Dynamic &onQuit_dyn() { return onQuit;} - Dynamic onKey; /* REM */ - Dynamic &onKey_dyn() { return onKey;} - bool isOpenGL; /* REM */ - Float frameRate; /* REM */ - ::neash::display::InteractiveObject focus; /* REM */ - Float dpiScale; /* REM */ - ::neash::display::StageDisplayState displayState; /* REM */ - ::neash::display::StageAlign align; /* REM */ - bool active; /* REM */ - static Float nmeEarlyWakeup; /* REM */ - static int OrientationPortrait; /* REM */ - static int OrientationPortraitUpsideDown; /* REM */ - static int OrientationLandscapeRight; /* REM */ - static int OrientationLandscapeLeft; /* REM */ - static int OrientationFaceUp; /* REM */ - static int OrientationFaceDown; /* REM */ - static int efLeftDown; /* REM */ - static int efShiftDown; /* REM */ - static int efCtrlDown; /* REM */ - static int efAltDown; /* REM */ - static int efCommandDown; /* REM */ - static int efLocationRight; /* REM */ - static int efNoNativeClick; /* REM */ - static Array< ::String > nmeMouseChanges; /* REM */ - static Array< ::String > nmeTouchChanges; /* REM */ - static Array< ::String > sClickEvents; /* REM */ - static Array< ::String > sDownEvents; /* REM */ - static Array< ::String > sUpEvents; /* REM */ - static Dynamic getOrientation; - static inline Dynamic &getOrientation_dyn() {return getOrientation; } - - static Dynamic getNormalOrientation; - static inline Dynamic &getNormalOrientation_dyn() {return getNormalOrientation; } - - static Void setFixedOrientation( int inOrientation); - static Dynamic setFixedOrientation_dyn(); - - static Dynamic shouldRotateInterface; - static inline Dynamic &shouldRotateInterface_dyn() {return shouldRotateInterface; } - - static Dynamic nme_set_stage_handler; /* REM */ - static Dynamic &nme_set_stage_handler_dyn() { return nme_set_stage_handler;} - static Dynamic nme_render_stage; /* REM */ - static Dynamic &nme_render_stage_dyn() { return nme_render_stage;} - static Dynamic nme_stage_get_focus_id; /* REM */ - static Dynamic &nme_stage_get_focus_id_dyn() { return nme_stage_get_focus_id;} - static Dynamic nme_stage_set_focus; /* REM */ - static Dynamic &nme_stage_set_focus_dyn() { return nme_stage_set_focus;} - static Dynamic nme_stage_get_focus_rect; /* REM */ - static Dynamic &nme_stage_get_focus_rect_dyn() { return nme_stage_get_focus_rect;} - static Dynamic nme_stage_set_focus_rect; /* REM */ - static Dynamic &nme_stage_set_focus_rect_dyn() { return nme_stage_set_focus_rect;} - static Dynamic nme_stage_is_opengl; /* REM */ - static Dynamic &nme_stage_is_opengl_dyn() { return nme_stage_is_opengl;} - static Dynamic nme_stage_get_stage_width; /* REM */ - static Dynamic &nme_stage_get_stage_width_dyn() { return nme_stage_get_stage_width;} - static Dynamic nme_stage_get_stage_height; /* REM */ - static Dynamic &nme_stage_get_stage_height_dyn() { return nme_stage_get_stage_height;} - static Dynamic nme_stage_get_dpi_scale; /* REM */ - static Dynamic &nme_stage_get_dpi_scale_dyn() { return nme_stage_get_dpi_scale;} - static Dynamic nme_stage_get_scale_mode; /* REM */ - static Dynamic &nme_stage_get_scale_mode_dyn() { return nme_stage_get_scale_mode;} - static Dynamic nme_stage_set_scale_mode; /* REM */ - static Dynamic &nme_stage_set_scale_mode_dyn() { return nme_stage_set_scale_mode;} - static Dynamic nme_stage_get_align; /* REM */ - static Dynamic &nme_stage_get_align_dyn() { return nme_stage_get_align;} - static Dynamic nme_stage_set_align; /* REM */ - static Dynamic &nme_stage_set_align_dyn() { return nme_stage_set_align;} - static Dynamic nme_stage_get_quality; /* REM */ - static Dynamic &nme_stage_get_quality_dyn() { return nme_stage_get_quality;} - static Dynamic nme_stage_set_quality; /* REM */ - static Dynamic &nme_stage_set_quality_dyn() { return nme_stage_set_quality;} - static Dynamic nme_stage_get_display_state; /* REM */ - static Dynamic &nme_stage_get_display_state_dyn() { return nme_stage_get_display_state;} - static Dynamic nme_stage_set_display_state; /* REM */ - static Dynamic &nme_stage_set_display_state_dyn() { return nme_stage_set_display_state;} - static Dynamic nme_stage_set_next_wake; /* REM */ - static Dynamic &nme_stage_set_next_wake_dyn() { return nme_stage_set_next_wake;} - static Dynamic nme_stage_request_render; /* REM */ - static Dynamic nme_stage_show_cursor; /* REM */ - static Dynamic &nme_stage_show_cursor_dyn() { return nme_stage_show_cursor;} - static Dynamic nme_stage_set_fixed_orientation; /* REM */ - static Dynamic &nme_stage_set_fixed_orientation_dyn() { return nme_stage_set_fixed_orientation;} - static Dynamic nme_stage_get_orientation; /* REM */ - static Dynamic &nme_stage_get_orientation_dyn() { return nme_stage_get_orientation;} - static Dynamic nme_stage_get_normal_orientation; /* REM */ - static Dynamic &nme_stage_get_normal_orientation_dyn() { return nme_stage_get_normal_orientation;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_Stage */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/StageAlign.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/StageAlign.h deleted file mode 100644 index f3a5946..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/StageAlign.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_neash_display_StageAlign -#define INCLUDED_neash_display_StageAlign - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,StageAlign) -namespace neash{ -namespace display{ - - -class StageAlign_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef StageAlign_obj OBJ_; - - public: - StageAlign_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.StageAlign"); } - ::String __ToString() const { return HX_CSTRING("StageAlign.") + tag; } - - static ::neash::display::StageAlign BOTTOM; - static inline ::neash::display::StageAlign BOTTOM_dyn() { return BOTTOM; } - static ::neash::display::StageAlign BOTTOM_LEFT; - static inline ::neash::display::StageAlign BOTTOM_LEFT_dyn() { return BOTTOM_LEFT; } - static ::neash::display::StageAlign BOTTOM_RIGHT; - static inline ::neash::display::StageAlign BOTTOM_RIGHT_dyn() { return BOTTOM_RIGHT; } - static ::neash::display::StageAlign LEFT; - static inline ::neash::display::StageAlign LEFT_dyn() { return LEFT; } - static ::neash::display::StageAlign RIGHT; - static inline ::neash::display::StageAlign RIGHT_dyn() { return RIGHT; } - static ::neash::display::StageAlign TOP; - static inline ::neash::display::StageAlign TOP_dyn() { return TOP; } - static ::neash::display::StageAlign TOP_LEFT; - static inline ::neash::display::StageAlign TOP_LEFT_dyn() { return TOP_LEFT; } - static ::neash::display::StageAlign TOP_RIGHT; - static inline ::neash::display::StageAlign TOP_RIGHT_dyn() { return TOP_RIGHT; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_StageAlign */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/StageDisplayState.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/StageDisplayState.h deleted file mode 100644 index cc293fa..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/StageDisplayState.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_display_StageDisplayState -#define INCLUDED_neash_display_StageDisplayState - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,StageDisplayState) -namespace neash{ -namespace display{ - - -class StageDisplayState_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef StageDisplayState_obj OBJ_; - - public: - StageDisplayState_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.StageDisplayState"); } - ::String __ToString() const { return HX_CSTRING("StageDisplayState.") + tag; } - - static ::neash::display::StageDisplayState FULL_SCREEN; - static inline ::neash::display::StageDisplayState FULL_SCREEN_dyn() { return FULL_SCREEN; } - static ::neash::display::StageDisplayState FULL_SCREEN_INTERACTIVE; - static inline ::neash::display::StageDisplayState FULL_SCREEN_INTERACTIVE_dyn() { return FULL_SCREEN_INTERACTIVE; } - static ::neash::display::StageDisplayState NORMAL; - static inline ::neash::display::StageDisplayState NORMAL_dyn() { return NORMAL; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_StageDisplayState */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/StageQuality.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/StageQuality.h deleted file mode 100644 index b82b98d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/StageQuality.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_neash_display_StageQuality -#define INCLUDED_neash_display_StageQuality - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,StageQuality) -namespace neash{ -namespace display{ - - -class StageQuality_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef StageQuality_obj OBJ_; - - public: - StageQuality_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.StageQuality"); } - ::String __ToString() const { return HX_CSTRING("StageQuality.") + tag; } - - static ::neash::display::StageQuality BEST; - static inline ::neash::display::StageQuality BEST_dyn() { return BEST; } - static ::neash::display::StageQuality HIGH; - static inline ::neash::display::StageQuality HIGH_dyn() { return HIGH; } - static ::neash::display::StageQuality LOW; - static inline ::neash::display::StageQuality LOW_dyn() { return LOW; } - static ::neash::display::StageQuality MEDIUM; - static inline ::neash::display::StageQuality MEDIUM_dyn() { return MEDIUM; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_StageQuality */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/StageScaleMode.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/StageScaleMode.h deleted file mode 100644 index 9a84d48..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/StageScaleMode.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_neash_display_StageScaleMode -#define INCLUDED_neash_display_StageScaleMode - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,StageScaleMode) -namespace neash{ -namespace display{ - - -class StageScaleMode_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef StageScaleMode_obj OBJ_; - - public: - StageScaleMode_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.StageScaleMode"); } - ::String __ToString() const { return HX_CSTRING("StageScaleMode.") + tag; } - - static ::neash::display::StageScaleMode EXACT_FIT; - static inline ::neash::display::StageScaleMode EXACT_FIT_dyn() { return EXACT_FIT; } - static ::neash::display::StageScaleMode NO_BORDER; - static inline ::neash::display::StageScaleMode NO_BORDER_dyn() { return NO_BORDER; } - static ::neash::display::StageScaleMode NO_SCALE; - static inline ::neash::display::StageScaleMode NO_SCALE_dyn() { return NO_SCALE; } - static ::neash::display::StageScaleMode SHOW_ALL; - static inline ::neash::display::StageScaleMode SHOW_ALL_dyn() { return SHOW_ALL; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_StageScaleMode */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/Tilesheet.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/Tilesheet.h deleted file mode 100644 index ff67e8f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/Tilesheet.h +++ /dev/null @@ -1,62 +0,0 @@ -#ifndef INCLUDED_neash_display_Tilesheet -#define INCLUDED_neash_display_Tilesheet - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,Graphics) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,Tilesheet) -HX_DECLARE_CLASS2(neash,geom,Point) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace neash{ -namespace display{ - - -class Tilesheet_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Tilesheet_obj OBJ_; - Tilesheet_obj(); - Void __construct(::neash::display::BitmapData inImage); - - public: - static hx::ObjectPtr< Tilesheet_obj > __new(::neash::display::BitmapData inImage); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Tilesheet_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Tilesheet"); } - - virtual Void drawTiles( ::neash::display::Graphics graphics,Array< Float > tileData,hx::Null< bool > smooth,hx::Null< int > flags); - Dynamic drawTiles_dyn(); - - virtual Void addTileRect( ::neash::geom::Rectangle rectangle,::neash::geom::Point centerPoint); - Dynamic addTileRect_dyn(); - - Dynamic nmeHandle; /* REM */ - ::neash::display::BitmapData nmeBitmap; /* REM */ - static int TILE_SCALE; /* REM */ - static int TILE_ROTATION; /* REM */ - static int TILE_RGB; /* REM */ - static int TILE_ALPHA; /* REM */ - static int TILE_TRANS_2x2; /* REM */ - static int TILE_BLEND_NORMAL; /* REM */ - static int TILE_BLEND_ADD; /* REM */ - static Dynamic nme_tilesheet_create; /* REM */ - static Dynamic &nme_tilesheet_create_dyn() { return nme_tilesheet_create;} - static Dynamic nme_tilesheet_add_rect; /* REM */ - static Dynamic &nme_tilesheet_add_rect_dyn() { return nme_tilesheet_add_rect;} -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_Tilesheet */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/TouchInfo.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/TouchInfo.h deleted file mode 100644 index d5021f1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/TouchInfo.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef INCLUDED_neash_display_TouchInfo -#define INCLUDED_neash_display_TouchInfo - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,TouchInfo) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace display{ - - -class TouchInfo_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef TouchInfo_obj OBJ_; - TouchInfo_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< TouchInfo_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TouchInfo_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TouchInfo"); } - - Array< ::neash::display::InteractiveObject > touchOverObjects; /* REM */ -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_TouchInfo */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/TriangleCulling.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/TriangleCulling.h deleted file mode 100644 index bfae314..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/display/TriangleCulling.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_display_TriangleCulling -#define INCLUDED_neash_display_TriangleCulling - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,TriangleCulling) -namespace neash{ -namespace display{ - - -class TriangleCulling_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef TriangleCulling_obj OBJ_; - - public: - TriangleCulling_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.display.TriangleCulling"); } - ::String __ToString() const { return HX_CSTRING("TriangleCulling.") + tag; } - - static ::neash::display::TriangleCulling NEGATIVE; - static inline ::neash::display::TriangleCulling NEGATIVE_dyn() { return NEGATIVE; } - static ::neash::display::TriangleCulling NONE; - static inline ::neash::display::TriangleCulling NONE_dyn() { return NONE; } - static ::neash::display::TriangleCulling POSITIVE; - static inline ::neash::display::TriangleCulling POSITIVE_dyn() { return POSITIVE; } -}; - -} // end namespace neash -} // end namespace display - -#endif /* INCLUDED_neash_display_TriangleCulling */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/errors/ArgumentError.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/errors/ArgumentError.h deleted file mode 100644 index a75be21..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/errors/ArgumentError.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_neash_errors_ArgumentError -#define INCLUDED_neash_errors_ArgumentError - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,errors,ArgumentError) -HX_DECLARE_CLASS2(neash,errors,Error) -namespace neash{ -namespace errors{ - - -class ArgumentError_obj : public ::neash::errors::Error_obj{ - public: - typedef ::neash::errors::Error_obj super; - typedef ArgumentError_obj OBJ_; - ArgumentError_obj(); - Void __construct(Dynamic inMessage,Dynamic id); - - public: - static hx::ObjectPtr< ArgumentError_obj > __new(Dynamic inMessage,Dynamic id); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ArgumentError_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ArgumentError"); } - -}; - -} // end namespace neash -} // end namespace errors - -#endif /* INCLUDED_neash_errors_ArgumentError */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/errors/EOFError.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/errors/EOFError.h deleted file mode 100644 index 8e34379..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/errors/EOFError.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_neash_errors_EOFError -#define INCLUDED_neash_errors_EOFError - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,errors,EOFError) -HX_DECLARE_CLASS2(neash,errors,Error) -namespace neash{ -namespace errors{ - - -class EOFError_obj : public ::neash::errors::Error_obj{ - public: - typedef ::neash::errors::Error_obj super; - typedef EOFError_obj OBJ_; - EOFError_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< EOFError_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~EOFError_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("EOFError"); } - -}; - -} // end namespace neash -} // end namespace errors - -#endif /* INCLUDED_neash_errors_EOFError */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/errors/Error.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/errors/Error.h deleted file mode 100644 index 9189d95..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/errors/Error.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_neash_errors_Error -#define INCLUDED_neash_errors_Error - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,errors,Error) -namespace neash{ -namespace errors{ - - -class Error_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Error_obj OBJ_; - Error_obj(); - Void __construct(Dynamic inMessage,Dynamic __o_id); - - public: - static hx::ObjectPtr< Error_obj > __new(Dynamic inMessage,Dynamic __o_id); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Error_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Error"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual ::String getStackTrace( ); - Dynamic getStackTrace_dyn(); - - Dynamic name; /* REM */ - Dynamic message; /* REM */ - int errorID; /* REM */ -}; - -} // end namespace neash -} // end namespace errors - -#endif /* INCLUDED_neash_errors_Error */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/errors/RangeError.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/errors/RangeError.h deleted file mode 100644 index 8ecf6bd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/errors/RangeError.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_neash_errors_RangeError -#define INCLUDED_neash_errors_RangeError - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,errors,Error) -HX_DECLARE_CLASS2(neash,errors,RangeError) -namespace neash{ -namespace errors{ - - -class RangeError_obj : public ::neash::errors::Error_obj{ - public: - typedef ::neash::errors::Error_obj super; - typedef RangeError_obj OBJ_; - RangeError_obj(); - Void __construct(::String __o_inMessage); - - public: - static hx::ObjectPtr< RangeError_obj > __new(::String __o_inMessage); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~RangeError_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("RangeError"); } - -}; - -} // end namespace neash -} // end namespace errors - -#endif /* INCLUDED_neash_errors_RangeError */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/ErrorEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/ErrorEvent.h deleted file mode 100644 index bb89f63..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/ErrorEvent.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_neash_events_ErrorEvent -#define INCLUDED_neash_events_ErrorEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,ErrorEvent) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,TextEvent) -namespace neash{ -namespace events{ - - -class ErrorEvent_obj : public ::neash::events::TextEvent_obj{ - public: - typedef ::neash::events::TextEvent_obj super; - typedef ErrorEvent_obj OBJ_; - ErrorEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id); - - public: - static hx::ObjectPtr< ErrorEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ErrorEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ErrorEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - int errorID; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_ErrorEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/Event.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/Event.h deleted file mode 100644 index 18a0c04..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/Event.h +++ /dev/null @@ -1,122 +0,0 @@ -#ifndef INCLUDED_neash_events_Event -#define INCLUDED_neash_events_Event - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,events,Event) -namespace neash{ -namespace events{ - - -class Event_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Event_obj OBJ_; - Event_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable); - - public: - static hx::ObjectPtr< Event_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Event_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Event"); } - - virtual ::String nmeGetType( ); - Dynamic nmeGetType_dyn(); - - virtual Dynamic nmeSetTarget( Dynamic v); - Dynamic nmeSetTarget_dyn(); - - virtual Dynamic nmeGetTarget( ); - Dynamic nmeGetTarget_dyn(); - - virtual int nmeGetEventPhase( ); - Dynamic nmeGetEventPhase_dyn(); - - virtual Dynamic nmeSetCurrentTarget( Dynamic v); - Dynamic nmeSetCurrentTarget_dyn(); - - virtual Dynamic nmeGetCurrentTarget( ); - Dynamic nmeGetCurrentTarget_dyn(); - - virtual bool nmeGetCancelable( ); - Dynamic nmeGetCancelable_dyn(); - - virtual bool nmeGetBubbles( ); - Dynamic nmeGetBubbles_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void stopPropagation( ); - Dynamic stopPropagation_dyn(); - - virtual Void stopImmediatePropagation( ); - Dynamic stopImmediatePropagation_dyn(); - - virtual Void nmeSetPhase( int inPhase); - Dynamic nmeSetPhase_dyn(); - - virtual bool nmeGetIsCancelledNow( ); - Dynamic nmeGetIsCancelledNow_dyn(); - - virtual bool nmeGetIsCancelled( ); - Dynamic nmeGetIsCancelled_dyn(); - - virtual ::neash::events::Event clone( ); - Dynamic clone_dyn(); - - bool nmeIsCancelledNow; /* REM */ - bool nmeIsCancelled; /* REM */ - ::String _type; /* REM */ - Dynamic _target; /* REM */ - int _eventPhase; /* REM */ - Dynamic _currentTarget; /* REM */ - bool _cancelable; /* REM */ - bool _bubbles; /* REM */ - ::String type; /* REM */ - Dynamic target; /* REM */ - int eventPhase; /* REM */ - Dynamic currentTarget; /* REM */ - bool cancelable; /* REM */ - bool bubbles; /* REM */ - static ::String ACTIVATE; /* REM */ - static ::String ADDED; /* REM */ - static ::String ADDED_TO_STAGE; /* REM */ - static ::String CANCEL; /* REM */ - static ::String CHANGE; /* REM */ - static ::String CLOSE; /* REM */ - static ::String COMPLETE; /* REM */ - static ::String CONNECT; /* REM */ - static ::String DEACTIVATE; /* REM */ - static ::String ENTER_FRAME; /* REM */ - static ::String ID3; /* REM */ - static ::String INIT; /* REM */ - static ::String MOUSE_LEAVE; /* REM */ - static ::String OPEN; /* REM */ - static ::String REMOVED; /* REM */ - static ::String REMOVED_FROM_STAGE; /* REM */ - static ::String RENDER; /* REM */ - static ::String RESIZE; /* REM */ - static ::String SCROLL; /* REM */ - static ::String SELECT; /* REM */ - static ::String SOUND_COMPLETE; /* REM */ - static ::String TAB_CHILDREN_CHANGE; /* REM */ - static ::String TAB_ENABLED_CHANGE; /* REM */ - static ::String TAB_INDEX_CHANGE; /* REM */ - static ::String UNLOAD; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_Event */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/EventDispatcher.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/EventDispatcher.h deleted file mode 100644 index a11f4ff..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/EventDispatcher.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef INCLUDED_neash_events_EventDispatcher -#define INCLUDED_neash_events_EventDispatcher - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace events{ - - -class EventDispatcher_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef EventDispatcher_obj OBJ_; - EventDispatcher_obj(); - Void __construct(::neash::events::IEventDispatcher target); - - public: - static hx::ObjectPtr< EventDispatcher_obj > __new(::neash::events::IEventDispatcher target); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~EventDispatcher_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::neash::events::IEventDispatcher_obj *() - { return new ::neash::events::IEventDispatcher_delegate_< EventDispatcher_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("EventDispatcher"); } - - virtual bool willTrigger( ::String type); - Dynamic willTrigger_dyn(); - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void removeEventListener( ::String type,Dynamic listener,hx::Null< bool > capture); - Dynamic removeEventListener_dyn(); - - virtual bool hasEventListener( ::String type); - Dynamic hasEventListener_dyn(); - - virtual Void DispatchIOErrorEvent( ); - Dynamic DispatchIOErrorEvent_dyn(); - - virtual bool dispatchEvent( ::neash::events::Event event); - Dynamic dispatchEvent_dyn(); - - virtual Void DispatchCompleteEvent( ); - Dynamic DispatchCompleteEvent_dyn(); - - virtual Void addEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference); - Dynamic addEventListener_dyn(); - - ::neash::events::IEventDispatcher nmeTarget; /* REM */ - ::Hash nmeEventMap; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_EventDispatcher */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/EventPhase.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/EventPhase.h deleted file mode 100644 index 7f4d923..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/EventPhase.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef INCLUDED_neash_events_EventPhase -#define INCLUDED_neash_events_EventPhase - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,events,EventPhase) -namespace neash{ -namespace events{ - - -class EventPhase_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef EventPhase_obj OBJ_; - EventPhase_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< EventPhase_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~EventPhase_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("EventPhase"); } - - static int CAPTURING_PHASE; /* REM */ - static int AT_TARGET; /* REM */ - static int BUBBLING_PHASE; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_EventPhase */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/FocusEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/FocusEvent.h deleted file mode 100644 index d8b7b46..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/FocusEvent.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef INCLUDED_neash_events_FocusEvent -#define INCLUDED_neash_events_FocusEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,FocusEvent) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace events{ - - -class FocusEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef FocusEvent_obj OBJ_; - FocusEvent_obj(); - Void __construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_shiftKey,hx::Null< int > __o_keyCode,::String __o_direction); - - public: - static hx::ObjectPtr< FocusEvent_obj > __new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_shiftKey,hx::Null< int > __o_keyCode,::String __o_direction); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~FocusEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("FocusEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - bool shiftKey; /* REM */ - ::neash::display::InteractiveObject relatedObject; /* REM */ - int keyCode; /* REM */ - static ::String FOCUS_IN; /* REM */ - static ::String FOCUS_OUT; /* REM */ - static ::String KEY_FOCUS_CHANGE; /* REM */ - static ::String MOUSE_FOCUS_CHANGE; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_FocusEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/HTTPStatusEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/HTTPStatusEvent.h deleted file mode 100644 index 989cf2f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/HTTPStatusEvent.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_neash_events_HTTPStatusEvent -#define INCLUDED_neash_events_HTTPStatusEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,HTTPStatusEvent) -namespace neash{ -namespace events{ - - -class HTTPStatusEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef HTTPStatusEvent_obj OBJ_; - HTTPStatusEvent_obj(); - Void __construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_status); - - public: - static hx::ObjectPtr< HTTPStatusEvent_obj > __new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_status); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~HTTPStatusEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("HTTPStatusEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - int status; /* REM */ - static ::String HTTP_STATUS; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_HTTPStatusEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/IEventDispatcher.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/IEventDispatcher.h deleted file mode 100644 index c4161cd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/IEventDispatcher.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_neash_events_IEventDispatcher -#define INCLUDED_neash_events_IEventDispatcher - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -namespace neash{ -namespace events{ - - -class IEventDispatcher_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IEventDispatcher_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual bool willTrigger( ::String type)=0; - Dynamic willTrigger_dyn(); -virtual Void removeEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture)=0; - Dynamic removeEventListener_dyn(); -virtual bool hasEventListener( ::String type)=0; - Dynamic hasEventListener_dyn(); -virtual bool dispatchEvent( ::neash::events::Event event)=0; - Dynamic dispatchEvent_dyn(); -virtual Void addEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference)=0; - Dynamic addEventListener_dyn(); -}; - -#define DELEGATE_neash_events_IEventDispatcher \ -virtual bool willTrigger( ::String type) { return mDelegate->willTrigger(type);} \ -virtual Dynamic willTrigger_dyn() { return mDelegate->willTrigger_dyn();} \ -virtual Void removeEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture) { return mDelegate->removeEventListener(type,listener,useCapture);} \ -virtual Dynamic removeEventListener_dyn() { return mDelegate->removeEventListener_dyn();} \ -virtual bool hasEventListener( ::String type) { return mDelegate->hasEventListener(type);} \ -virtual Dynamic hasEventListener_dyn() { return mDelegate->hasEventListener_dyn();} \ -virtual bool dispatchEvent( ::neash::events::Event event) { return mDelegate->dispatchEvent(event);} \ -virtual Dynamic dispatchEvent_dyn() { return mDelegate->dispatchEvent_dyn();} \ -virtual Void addEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference) { return mDelegate->addEventListener(type,listener,useCapture,priority,useWeakReference);} \ -virtual Dynamic addEventListener_dyn() { return mDelegate->addEventListener_dyn();} \ - - -template -class IEventDispatcher_delegate_ : public IEventDispatcher_obj -{ - protected: - IMPL *mDelegate; - public: - IEventDispatcher_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_neash_events_IEventDispatcher -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_IEventDispatcher */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/IOErrorEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/IOErrorEvent.h deleted file mode 100644 index 44e2ae4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/IOErrorEvent.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_neash_events_IOErrorEvent -#define INCLUDED_neash_events_IOErrorEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,ErrorEvent) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,IOErrorEvent) -HX_DECLARE_CLASS2(neash,events,TextEvent) -namespace neash{ -namespace events{ - - -class IOErrorEvent_obj : public ::neash::events::ErrorEvent_obj{ - public: - typedef ::neash::events::ErrorEvent_obj super; - typedef IOErrorEvent_obj OBJ_; - IOErrorEvent_obj(); - Void __construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id); - - public: - static hx::ObjectPtr< IOErrorEvent_obj > __new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~IOErrorEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("IOErrorEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - static ::String IO_ERROR; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_IOErrorEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/JoystickEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/JoystickEvent.h deleted file mode 100644 index 7d6c07e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/JoystickEvent.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_neash_events_JoystickEvent -#define INCLUDED_neash_events_JoystickEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,JoystickEvent) -namespace neash{ -namespace events{ - - -class JoystickEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef JoystickEvent_obj OBJ_; - JoystickEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_device,hx::Null< int > __o_id,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< Float > __o_z); - - public: - static hx::ObjectPtr< JoystickEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_device,hx::Null< int > __o_id,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< Float > __o_z); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~JoystickEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("JoystickEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - Float z; /* REM */ - Float y; /* REM */ - Float x; /* REM */ - int id; /* REM */ - int device; /* REM */ - static ::String AXIS_MOVE; /* REM */ - static ::String BALL_MOVE; /* REM */ - static ::String BUTTON_DOWN; /* REM */ - static ::String BUTTON_UP; /* REM */ - static ::String HAT_MOVE; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_JoystickEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/KeyboardEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/KeyboardEvent.h deleted file mode 100644 index 5acb04a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/KeyboardEvent.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_neash_events_KeyboardEvent -#define INCLUDED_neash_events_KeyboardEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,KeyboardEvent) -namespace neash{ -namespace events{ - - -class KeyboardEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef KeyboardEvent_obj OBJ_; - KeyboardEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_charCodeValue,hx::Null< int > __o_keyCodeValue,hx::Null< int > __o_keyLocationValue,hx::Null< bool > __o_ctrlKeyValue,hx::Null< bool > __o_altKeyValue,hx::Null< bool > __o_shiftKeyValue,hx::Null< bool > __o_controlKeyValue,hx::Null< bool > __o_commandKeyValue); - - public: - static hx::ObjectPtr< KeyboardEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_charCodeValue,hx::Null< int > __o_keyCodeValue,hx::Null< int > __o_keyLocationValue,hx::Null< bool > __o_ctrlKeyValue,hx::Null< bool > __o_altKeyValue,hx::Null< bool > __o_shiftKeyValue,hx::Null< bool > __o_controlKeyValue,hx::Null< bool > __o_commandKeyValue); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~KeyboardEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("KeyboardEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - bool shiftKey; /* REM */ - int keyLocation; /* REM */ - int keyCode; /* REM */ - bool commandKey; /* REM */ - bool controlKey; /* REM */ - bool ctrlKey; /* REM */ - int charCode; /* REM */ - bool altKey; /* REM */ - static ::String KEY_DOWN; /* REM */ - static ::String KEY_UP; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_KeyboardEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/Listener.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/Listener.h deleted file mode 100644 index 3a7e4a5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/Listener.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef INCLUDED_neash_events_Listener -#define INCLUDED_neash_events_Listener - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,Listener) -namespace neash{ -namespace events{ - - -class Listener_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Listener_obj OBJ_; - Listener_obj(); - Void __construct(Dynamic inListener,bool inUseCapture,int inPriority); - - public: - static hx::ObjectPtr< Listener_obj > __new(Dynamic inListener,bool inUseCapture,int inPriority); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Listener_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Listener"); } - - virtual bool Is( Dynamic inListener,bool inCapture); - Dynamic Is_dyn(); - - virtual Void dispatchEvent( ::neash::events::Event event); - Dynamic dispatchEvent_dyn(); - - bool mUseCapture; /* REM */ - int mPriority; /* REM */ - Dynamic mListner; /* REM */ - Dynamic &mListner_dyn() { return mListner;} - int mID; /* REM */ - static int sIDs; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_Listener */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/MouseEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/MouseEvent.h deleted file mode 100644 index 0552498..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/MouseEvent.h +++ /dev/null @@ -1,92 +0,0 @@ -#ifndef INCLUDED_neash_events_MouseEvent -#define INCLUDED_neash_events_MouseEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,events,MouseEvent) -HX_DECLARE_CLASS2(neash,geom,Point) -namespace neash{ -namespace events{ - - -class MouseEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef MouseEvent_obj OBJ_; - MouseEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_localX,hx::Null< Float > __o_localY,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_ctrlKey,hx::Null< bool > __o_altKey,hx::Null< bool > __o_shiftKey,hx::Null< bool > __o_buttonDown,hx::Null< int > __o_delta,hx::Null< bool > __o_commandKey,hx::Null< int > __o_clickCount); - - public: - static hx::ObjectPtr< MouseEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_localX,hx::Null< Float > __o_localY,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_ctrlKey,hx::Null< bool > __o_altKey,hx::Null< bool > __o_shiftKey,hx::Null< bool > __o_buttonDown,hx::Null< int > __o_delta,hx::Null< bool > __o_commandKey,hx::Null< int > __o_clickCount); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~MouseEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("MouseEvent"); } - - virtual Void updateAfterEvent( ); - Dynamic updateAfterEvent_dyn(); - - virtual ::String toString( ); - - virtual ::neash::events::MouseEvent nmeCreateSimilar( ::String inType,::neash::display::InteractiveObject related,::neash::display::InteractiveObject targ); - Dynamic nmeCreateSimilar_dyn(); - - virtual ::neash::events::Event clone( ); - - Float stageY; /* REM */ - Float stageX; /* REM */ - bool shiftKey; /* REM */ - ::neash::display::InteractiveObject relatedObject; /* REM */ - Float localY; /* REM */ - Float localX; /* REM */ - int delta; /* REM */ - bool ctrlKey; /* REM */ - bool commandKey; /* REM */ - int clickCount; /* REM */ - bool buttonDown; /* REM */ - bool altKey; /* REM */ - static ::String DOUBLE_CLICK; /* REM */ - static ::String CLICK; /* REM */ - static ::String MIDDLE_CLICK; /* REM */ - static ::String MIDDLE_MOUSE_DOWN; /* REM */ - static ::String MIDDLE_MOUSE_UP; /* REM */ - static ::String MOUSE_DOWN; /* REM */ - static ::String MOUSE_MOVE; /* REM */ - static ::String MOUSE_OUT; /* REM */ - static ::String MOUSE_OVER; /* REM */ - static ::String MOUSE_UP; /* REM */ - static ::String MOUSE_WHEEL; /* REM */ - static ::String RIGHT_CLICK; /* REM */ - static ::String RIGHT_MOUSE_DOWN; /* REM */ - static ::String RIGHT_MOUSE_UP; /* REM */ - static ::String ROLL_OUT; /* REM */ - static ::String ROLL_OVER; /* REM */ - static int efLeftDown; /* REM */ - static int efShiftDown; /* REM */ - static int efCtrlDown; /* REM */ - static int efAltDown; /* REM */ - static int efCommandDown; /* REM */ - static ::neash::events::MouseEvent nmeCreate( ::String inType,Dynamic inEvent,::neash::geom::Point inLocal,::neash::display::InteractiveObject inTarget); - static Dynamic nmeCreate_dyn(); - -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_MouseEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/ProgressEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/ProgressEvent.h deleted file mode 100644 index c378d1d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/ProgressEvent.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef INCLUDED_neash_events_ProgressEvent -#define INCLUDED_neash_events_ProgressEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,ProgressEvent) -namespace neash{ -namespace events{ - - -class ProgressEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef ProgressEvent_obj OBJ_; - ProgressEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_bytesLoaded,hx::Null< int > __o_bytesTotal); - - public: - static hx::ObjectPtr< ProgressEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_bytesLoaded,hx::Null< int > __o_bytesTotal); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ProgressEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ProgressEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - int bytesTotal; /* REM */ - int bytesLoaded; /* REM */ - static ::String PROGRESS; /* REM */ - static ::String SOCKET_DATA; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_ProgressEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/SampleDataEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/SampleDataEvent.h deleted file mode 100644 index 6b7772a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/SampleDataEvent.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_neash_events_SampleDataEvent -#define INCLUDED_neash_events_SampleDataEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,SampleDataEvent) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace events{ - - -class SampleDataEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef SampleDataEvent_obj OBJ_; - SampleDataEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable); - - public: - static hx::ObjectPtr< SampleDataEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SampleDataEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SampleDataEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - Float position; /* REM */ - ::neash::utils::ByteArray data; /* REM */ - static ::String SAMPLE_DATA; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_SampleDataEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/TextEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/TextEvent.h deleted file mode 100644 index c60ae99..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/TextEvent.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_neash_events_TextEvent -#define INCLUDED_neash_events_TextEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,TextEvent) -namespace neash{ -namespace events{ - - -class TextEvent_obj : public ::neash::events::Event_obj{ - public: - typedef ::neash::events::Event_obj super; - typedef TextEvent_obj OBJ_; - TextEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text); - - public: - static hx::ObjectPtr< TextEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TextEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TextEvent"); } - - virtual ::String toString( ); - - virtual ::neash::events::Event clone( ); - - ::String text; /* REM */ - static ::String LINK; /* REM */ - static ::String TEXT_INPUT; /* REM */ -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_TextEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/TouchEvent.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/TouchEvent.h deleted file mode 100644 index f3abef0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/events/TouchEvent.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef INCLUDED_neash_events_TouchEvent -#define INCLUDED_neash_events_TouchEvent - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,events,Event) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,events,MouseEvent) -HX_DECLARE_CLASS2(neash,events,TouchEvent) -HX_DECLARE_CLASS2(neash,geom,Point) -namespace neash{ -namespace events{ - - -class TouchEvent_obj : public ::neash::events::MouseEvent_obj{ - public: - typedef ::neash::events::MouseEvent_obj super; - typedef TouchEvent_obj OBJ_; - TouchEvent_obj(); - Void __construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_in_localX,hx::Null< Float > __o_in_localY,hx::Null< Float > __o_in_sizeX,hx::Null< Float > __o_in_sizeY,::neash::display::InteractiveObject in_relatedObject,hx::Null< bool > __o_in_ctrlKey,hx::Null< bool > __o_in_altKey,hx::Null< bool > __o_in_shiftKey,hx::Null< bool > __o_in_buttonDown,hx::Null< int > __o_in_delta,hx::Null< bool > __o_in_commandKey,hx::Null< int > __o_in_clickCount); - - public: - static hx::ObjectPtr< TouchEvent_obj > __new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_in_localX,hx::Null< Float > __o_in_localY,hx::Null< Float > __o_in_sizeX,hx::Null< Float > __o_in_sizeY,::neash::display::InteractiveObject in_relatedObject,hx::Null< bool > __o_in_ctrlKey,hx::Null< bool > __o_in_altKey,hx::Null< bool > __o_in_shiftKey,hx::Null< bool > __o_in_buttonDown,hx::Null< int > __o_in_delta,hx::Null< bool > __o_in_commandKey,hx::Null< int > __o_in_clickCount); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~TouchEvent_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("TouchEvent"); } - - virtual ::neash::events::MouseEvent nmeCreateSimilar( ::String inType,::neash::display::InteractiveObject related,::neash::display::InteractiveObject targ); - - Float sizeY; /* REM */ - Float sizeX; /* REM */ - int touchPointID; /* REM */ - bool isPrimaryTouchPoint; /* REM */ - static ::String TOUCH_BEGIN; /* REM */ - static ::String TOUCH_END; /* REM */ - static ::String TOUCH_MOVE; /* REM */ - static ::String TOUCH_OUT; /* REM */ - static ::String TOUCH_OVER; /* REM */ - static ::String TOUCH_ROLL_OUT; /* REM */ - static ::String TOUCH_ROLL_OVER; /* REM */ - static ::String TOUCH_TAP; /* REM */ - static ::neash::events::TouchEvent nmeCreate( ::String inType,Dynamic inEvent,::neash::geom::Point inLocal,::neash::display::InteractiveObject inTarget,Float sizeX,Float sizeY); - static Dynamic nmeCreate_dyn(); - -}; - -} // end namespace neash -} // end namespace events - -#endif /* INCLUDED_neash_events_TouchEvent */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/filters/BitmapFilter.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/filters/BitmapFilter.h deleted file mode 100644 index 1728260..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/filters/BitmapFilter.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef INCLUDED_neash_filters_BitmapFilter -#define INCLUDED_neash_filters_BitmapFilter - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,filters,BitmapFilter) -namespace neash{ -namespace filters{ - - -class BitmapFilter_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef BitmapFilter_obj OBJ_; - BitmapFilter_obj(); - Void __construct(::String inType); - - public: - static hx::ObjectPtr< BitmapFilter_obj > __new(::String inType); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~BitmapFilter_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("BitmapFilter"); } - - virtual ::neash::filters::BitmapFilter clone( ); - Dynamic clone_dyn(); - - ::String type; /* REM */ -}; - -} // end namespace neash -} // end namespace filters - -#endif /* INCLUDED_neash_filters_BitmapFilter */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/geom/ColorTransform.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/geom/ColorTransform.h deleted file mode 100644 index bc62249..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/geom/ColorTransform.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef INCLUDED_neash_geom_ColorTransform -#define INCLUDED_neash_geom_ColorTransform - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,geom,ColorTransform) -namespace neash{ -namespace geom{ - - -class ColorTransform_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef ColorTransform_obj OBJ_; - ColorTransform_obj(); - Void __construct(hx::Null< Float > __o_inRedMultiplier,hx::Null< Float > __o_inGreenMultiplier,hx::Null< Float > __o_inBlueMultiplier,hx::Null< Float > __o_inAlphaMultiplier,hx::Null< Float > __o_inRedOffset,hx::Null< Float > __o_inGreenOffset,hx::Null< Float > __o_inBlueOffset,hx::Null< Float > __o_inAlphaOffset); - - public: - static hx::ObjectPtr< ColorTransform_obj > __new(hx::Null< Float > __o_inRedMultiplier,hx::Null< Float > __o_inGreenMultiplier,hx::Null< Float > __o_inBlueMultiplier,hx::Null< Float > __o_inAlphaMultiplier,hx::Null< Float > __o_inRedOffset,hx::Null< Float > __o_inGreenOffset,hx::Null< Float > __o_inBlueOffset,hx::Null< Float > __o_inAlphaOffset); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ColorTransform_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ColorTransform"); } - - virtual int nmeSetColor( int value); - Dynamic nmeSetColor_dyn(); - - virtual int nmeGetColor( ); - Dynamic nmeGetColor_dyn(); - - virtual Void concat( ::neash::geom::ColorTransform second); - Dynamic concat_dyn(); - - Float redOffset; /* REM */ - Float redMultiplier; /* REM */ - Float greenOffset; /* REM */ - Float greenMultiplier; /* REM */ - int color; /* REM */ - Float blueOffset; /* REM */ - Float blueMultiplier; /* REM */ - Float alphaOffset; /* REM */ - Float alphaMultiplier; /* REM */ -}; - -} // end namespace neash -} // end namespace geom - -#endif /* INCLUDED_neash_geom_ColorTransform */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/geom/Matrix.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/geom/Matrix.h deleted file mode 100644 index da4bbba..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/geom/Matrix.h +++ /dev/null @@ -1,85 +0,0 @@ -#ifndef INCLUDED_neash_geom_Matrix -#define INCLUDED_neash_geom_Matrix - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Point) -namespace neash{ -namespace geom{ - - -class Matrix_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Matrix_obj OBJ_; - Matrix_obj(); - Void __construct(Dynamic in_a,Dynamic in_b,Dynamic in_c,Dynamic in_d,Dynamic in_tx,Dynamic in_ty); - - public: - static hx::ObjectPtr< Matrix_obj > __new(Dynamic in_a,Dynamic in_b,Dynamic in_c,Dynamic in_d,Dynamic in_tx,Dynamic in_ty); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Matrix_obj(); - - HX_DO_RTTI; - double __INumField(int inFieldID); - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Matrix"); } - - virtual Void translate( Float inDX,Float inDY); - Dynamic translate_dyn(); - - virtual ::neash::geom::Point transformPoint( ::neash::geom::Point inPos); - Dynamic transformPoint_dyn(); - - virtual Void setRotation( Float inTheta,Dynamic inScale); - Dynamic setRotation_dyn(); - - virtual Void scale( Float inSX,Float inSY); - Dynamic scale_dyn(); - - virtual Void rotate( Float inTheta); - Dynamic rotate_dyn(); - - virtual ::neash::geom::Matrix mult( ::neash::geom::Matrix m); - Dynamic mult_dyn(); - - virtual ::neash::geom::Matrix invert( ); - Dynamic invert_dyn(); - - virtual Void identity( ); - Dynamic identity_dyn(); - - virtual ::neash::geom::Point deltaTransformPoint( ::neash::geom::Point point); - Dynamic deltaTransformPoint_dyn(); - - virtual Void createGradientBox( Float in_width,Float in_height,Dynamic rotation,Dynamic in_tx,Dynamic in_ty); - Dynamic createGradientBox_dyn(); - - virtual Void createBox( Float scaleX,Float scaleY,Dynamic rotation,Dynamic tx,Dynamic ty); - Dynamic createBox_dyn(); - - virtual Void concat( ::neash::geom::Matrix m); - Dynamic concat_dyn(); - - virtual ::neash::geom::Matrix clone( ); - Dynamic clone_dyn(); - - Float ty; /* REM */ - Float tx; /* REM */ - Float d; /* REM */ - Float c; /* REM */ - Float b; /* REM */ - Float a; /* REM */ -}; - -} // end namespace neash -} // end namespace geom - -#endif /* INCLUDED_neash_geom_Matrix */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/geom/Point.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/geom/Point.h deleted file mode 100644 index 5cc2aa5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/geom/Point.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef INCLUDED_neash_geom_Point -#define INCLUDED_neash_geom_Point - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,geom,Point) -namespace neash{ -namespace geom{ - - -class Point_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Point_obj OBJ_; - Point_obj(); - Void __construct(hx::Null< Float > __o_inX,hx::Null< Float > __o_inY); - - public: - static hx::ObjectPtr< Point_obj > __new(hx::Null< Float > __o_inX,hx::Null< Float > __o_inY); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Point_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Point"); } - - virtual Float nmeGetLength( ); - Dynamic nmeGetLength_dyn(); - - virtual ::neash::geom::Point subtract( ::neash::geom::Point v); - Dynamic subtract_dyn(); - - virtual Void offset( Float dx,Float dy); - Dynamic offset_dyn(); - - virtual Void normalize( Float thickness); - Dynamic normalize_dyn(); - - virtual bool equals( ::neash::geom::Point toCompare); - Dynamic equals_dyn(); - - virtual ::neash::geom::Point clone( ); - Dynamic clone_dyn(); - - virtual ::neash::geom::Point add( ::neash::geom::Point v); - Dynamic add_dyn(); - - Float y; /* REM */ - Float x; /* REM */ - Float length; /* REM */ - static Float distance( ::neash::geom::Point pt1,::neash::geom::Point pt2); - static Dynamic distance_dyn(); - - static ::neash::geom::Point interpolate( ::neash::geom::Point pt1,::neash::geom::Point pt2,Float f); - static Dynamic interpolate_dyn(); - - static ::neash::geom::Point polar( Float len,Float angle); - static Dynamic polar_dyn(); - -}; - -} // end namespace neash -} // end namespace geom - -#endif /* INCLUDED_neash_geom_Point */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/geom/Rectangle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/geom/Rectangle.h deleted file mode 100644 index 83bab98..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/geom/Rectangle.h +++ /dev/null @@ -1,141 +0,0 @@ -#ifndef INCLUDED_neash_geom_Rectangle -#define INCLUDED_neash_geom_Rectangle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Point) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -namespace neash{ -namespace geom{ - - -class Rectangle_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Rectangle_obj OBJ_; - Rectangle_obj(); - Void __construct(Dynamic inX,Dynamic inY,Dynamic inWidth,Dynamic inHeight); - - public: - static hx::ObjectPtr< Rectangle_obj > __new(Dynamic inX,Dynamic inY,Dynamic inWidth,Dynamic inHeight); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Rectangle_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Rectangle"); } - - virtual ::neash::geom::Point nmeSetTopLeft( ::neash::geom::Point p); - Dynamic nmeSetTopLeft_dyn(); - - virtual ::neash::geom::Point nmeGetTopLeft( ); - Dynamic nmeGetTopLeft_dyn(); - - virtual Float nmeSetTop( Float t); - Dynamic nmeSetTop_dyn(); - - virtual Float nmeGetTop( ); - Dynamic nmeGetTop_dyn(); - - virtual ::neash::geom::Point nmeSetSize( ::neash::geom::Point p); - Dynamic nmeSetSize_dyn(); - - virtual ::neash::geom::Point nmeGetSize( ); - Dynamic nmeGetSize_dyn(); - - virtual Float nmeSetRight( Float r); - Dynamic nmeSetRight_dyn(); - - virtual Float nmeGetRight( ); - Dynamic nmeGetRight_dyn(); - - virtual Float nmeSetLeft( Float l); - Dynamic nmeSetLeft_dyn(); - - virtual Float nmeGetLeft( ); - Dynamic nmeGetLeft_dyn(); - - virtual ::neash::geom::Point nmeSetBottomRight( ::neash::geom::Point p); - Dynamic nmeSetBottomRight_dyn(); - - virtual ::neash::geom::Point nmeGetBottomRight( ); - Dynamic nmeGetBottomRight_dyn(); - - virtual Float nmeSetBottom( Float b); - Dynamic nmeSetBottom_dyn(); - - virtual Float nmeGetBottom( ); - Dynamic nmeGetBottom_dyn(); - - virtual ::neash::geom::Rectangle _union( ::neash::geom::Rectangle toUnion); - Dynamic _union_dyn(); - - virtual ::neash::geom::Rectangle transform( ::neash::geom::Matrix m); - Dynamic transform_dyn(); - - virtual Void setEmpty( ); - Dynamic setEmpty_dyn(); - - virtual Void offsetPoint( ::neash::geom::Point point); - Dynamic offsetPoint_dyn(); - - virtual Void offset( Float dx,Float dy); - Dynamic offset_dyn(); - - virtual bool isEmpty( ); - Dynamic isEmpty_dyn(); - - virtual bool intersects( ::neash::geom::Rectangle toIntersect); - Dynamic intersects_dyn(); - - virtual ::neash::geom::Rectangle intersection( ::neash::geom::Rectangle toIntersect); - Dynamic intersection_dyn(); - - virtual Void inflatePoint( ::neash::geom::Point point); - Dynamic inflatePoint_dyn(); - - virtual Void inflate( Float dx,Float dy); - Dynamic inflate_dyn(); - - virtual Void extendBounds( ::neash::geom::Rectangle r); - Dynamic extendBounds_dyn(); - - virtual bool equals( ::neash::geom::Rectangle toCompare); - Dynamic equals_dyn(); - - virtual bool containsRect( ::neash::geom::Rectangle rect); - Dynamic containsRect_dyn(); - - virtual bool containsPoint( ::neash::geom::Point point); - Dynamic containsPoint_dyn(); - - virtual bool contains( Float inX,Float inY); - Dynamic contains_dyn(); - - virtual ::neash::geom::Rectangle clone( ); - Dynamic clone_dyn(); - - Float y; /* REM */ - Float x; /* REM */ - Float width; /* REM */ - ::neash::geom::Point topLeft; /* REM */ - Float top; /* REM */ - ::neash::geom::Point size; /* REM */ - Float right; /* REM */ - Float left; /* REM */ - Float height; /* REM */ - ::neash::geom::Point bottomRight; /* REM */ - Float bottom; /* REM */ -}; - -} // end namespace neash -} // end namespace geom - -#endif /* INCLUDED_neash_geom_Rectangle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/geom/Transform.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/geom/Transform.h deleted file mode 100644 index 064ad25..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/geom/Transform.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_neash_geom_Transform -#define INCLUDED_neash_geom_Transform - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,geom,ColorTransform) -HX_DECLARE_CLASS2(neash,geom,Matrix) -HX_DECLARE_CLASS2(neash,geom,Rectangle) -HX_DECLARE_CLASS2(neash,geom,Transform) -namespace neash{ -namespace geom{ - - -class Transform_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Transform_obj OBJ_; - Transform_obj(); - Void __construct(::neash::display::DisplayObject inParent); - - public: - static hx::ObjectPtr< Transform_obj > __new(::neash::display::DisplayObject inParent); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Transform_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Transform"); } - - virtual ::neash::geom::Rectangle nmeGetPixelBounds( ); - Dynamic nmeGetPixelBounds_dyn(); - - virtual ::neash::geom::Matrix nmeSetMatrix( ::neash::geom::Matrix inMatrix); - Dynamic nmeSetMatrix_dyn(); - - virtual ::neash::geom::Matrix nmeGetMatrix( ); - Dynamic nmeGetMatrix_dyn(); - - virtual ::neash::geom::Matrix nmeGetConcatenatedMatrix( ); - Dynamic nmeGetConcatenatedMatrix_dyn(); - - virtual ::neash::geom::ColorTransform nmeGetConcatenatedColorTransform( ); - Dynamic nmeGetConcatenatedColorTransform_dyn(); - - virtual ::neash::geom::ColorTransform nmeSetColorTransform( ::neash::geom::ColorTransform inTrans); - Dynamic nmeSetColorTransform_dyn(); - - virtual ::neash::geom::ColorTransform nmeGetColorTransform( ); - Dynamic nmeGetColorTransform_dyn(); - - ::neash::display::DisplayObject nmeObj; /* REM */ - ::neash::geom::Rectangle pixelBounds; /* REM */ - ::neash::geom::Matrix matrix; /* REM */ - ::neash::geom::Matrix concatenatedMatrix; /* REM */ - ::neash::geom::ColorTransform concatenatedColorTransform; /* REM */ - ::neash::geom::ColorTransform colorTransform; /* REM */ -}; - -} // end namespace neash -} // end namespace geom - -#endif /* INCLUDED_neash_geom_Transform */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/media/ID3Info.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/media/ID3Info.h deleted file mode 100644 index 6c0f446..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/media/ID3Info.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef INCLUDED_neash_media_ID3Info -#define INCLUDED_neash_media_ID3Info - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,media,ID3Info) -namespace neash{ -namespace media{ - - -class ID3Info_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef ID3Info_obj OBJ_; - ID3Info_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< ID3Info_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ID3Info_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("ID3Info"); } - - ::String year; /* REM */ - ::String track; /* REM */ - ::String songName; /* REM */ - ::String genre; /* REM */ - ::String comment; /* REM */ - ::String artist; /* REM */ - ::String album; /* REM */ -}; - -} // end namespace neash -} // end namespace media - -#endif /* INCLUDED_neash_media_ID3Info */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/media/Sound.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/media/Sound.h deleted file mode 100644 index 9f27e1b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/media/Sound.h +++ /dev/null @@ -1,104 +0,0 @@ -#ifndef INCLUDED_neash_media_Sound -#define INCLUDED_neash_media_Sound - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,media,ID3Info) -HX_DECLARE_CLASS2(neash,media,Sound) -HX_DECLARE_CLASS2(neash,media,SoundChannel) -HX_DECLARE_CLASS2(neash,media,SoundLoaderContext) -HX_DECLARE_CLASS2(neash,media,SoundTransform) -HX_DECLARE_CLASS2(neash,net,URLRequest) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace media{ - - -class Sound_obj : public ::neash::events::EventDispatcher_obj{ - public: - typedef ::neash::events::EventDispatcher_obj super; - typedef Sound_obj OBJ_; - Sound_obj(); - Void __construct(::neash::net::URLRequest stream,::neash::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic); - - public: - static hx::ObjectPtr< Sound_obj > __new(::neash::net::URLRequest stream,::neash::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Sound_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Sound"); } - - virtual Float nmeGetLength( ); - Dynamic nmeGetLength_dyn(); - - virtual bool nmeGetIsBuffering( ); - Dynamic nmeGetIsBuffering_dyn(); - - virtual ::neash::media::ID3Info nmeGetID3( ); - Dynamic nmeGetID3_dyn(); - - virtual ::neash::media::SoundChannel play( hx::Null< Float > startTime,hx::Null< int > loops,::neash::media::SoundTransform sndTransform); - Dynamic play_dyn(); - - virtual Void nmeOnError( ::String msg); - Dynamic nmeOnError_dyn(); - - virtual Void nmeCheckLoading( ); - Dynamic nmeCheckLoading_dyn(); - - virtual Void loadPCMFromByteArray( ::neash::utils::ByteArray Bytes,int samples,::String format,hx::Null< bool > stereo,hx::Null< Float > sampleRate); - Dynamic loadPCMFromByteArray_dyn(); - - virtual Void loadCompressedDataFromByteArray( ::neash::utils::ByteArray bytes,int length,hx::Null< bool > forcePlayAsMusic); - Dynamic loadCompressedDataFromByteArray_dyn(); - - virtual Void load( ::neash::net::URLRequest stream,::neash::media::SoundLoaderContext context,hx::Null< bool > forcePlayAsMusic); - Dynamic load_dyn(); - - virtual Void close( ); - Dynamic close_dyn(); - - virtual Void addEventListener( ::String type,Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference); - - bool nmeDynamicSound; /* REM */ - bool nmeLoading; /* REM */ - Dynamic nmeHandle; /* REM */ - ::String url; /* REM */ - Float length; /* REM */ - bool isBuffering; /* REM */ - ::neash::media::ID3Info id3; /* REM */ - int bytesTotal; /* REM */ - int bytesLoaded; /* REM */ - static Dynamic nme_sound_from_file; /* REM */ - static Dynamic &nme_sound_from_file_dyn() { return nme_sound_from_file;} - static Dynamic nme_sound_from_data; /* REM */ - static Dynamic &nme_sound_from_data_dyn() { return nme_sound_from_data;} - static Dynamic nme_sound_get_id3; /* REM */ - static Dynamic &nme_sound_get_id3_dyn() { return nme_sound_get_id3;} - static Dynamic nme_sound_get_length; /* REM */ - static Dynamic &nme_sound_get_length_dyn() { return nme_sound_get_length;} - static Dynamic nme_sound_close; /* REM */ - static Dynamic &nme_sound_close_dyn() { return nme_sound_close;} - static Dynamic nme_sound_get_status; /* REM */ - static Dynamic &nme_sound_get_status_dyn() { return nme_sound_get_status;} - static Dynamic nme_sound_channel_create_dynamic; /* REM */ - static Dynamic &nme_sound_channel_create_dynamic_dyn() { return nme_sound_channel_create_dynamic;} -}; - -} // end namespace neash -} // end namespace media - -#endif /* INCLUDED_neash_media_Sound */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/media/SoundChannel.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/media/SoundChannel.h deleted file mode 100644 index aafd637..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/media/SoundChannel.h +++ /dev/null @@ -1,104 +0,0 @@ -#ifndef INCLUDED_neash_media_SoundChannel -#define INCLUDED_neash_media_SoundChannel - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,media,SoundChannel) -HX_DECLARE_CLASS2(neash,media,SoundTransform) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace media{ - - -class SoundChannel_obj : public ::neash::events::EventDispatcher_obj{ - public: - typedef ::neash::events::EventDispatcher_obj super; - typedef SoundChannel_obj OBJ_; - SoundChannel_obj(); - Void __construct(Dynamic inSoundHandle,Float startTime,int loops,::neash::media::SoundTransform sndTransform); - - public: - static hx::ObjectPtr< SoundChannel_obj > __new(Dynamic inSoundHandle,Float startTime,int loops,::neash::media::SoundTransform sndTransform); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SoundChannel_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SoundChannel"); } - - virtual ::neash::media::SoundTransform nmeSetTransform( ::neash::media::SoundTransform inTransform); - Dynamic nmeSetTransform_dyn(); - - virtual ::neash::media::SoundTransform nmeGetTransform( ); - Dynamic nmeGetTransform_dyn(); - - virtual Float nmeGetPosition( ); - Dynamic nmeGetPosition_dyn(); - - virtual Float nmeGetRight( ); - Dynamic nmeGetRight_dyn(); - - virtual Float nmeGetLeft( ); - Dynamic nmeGetLeft_dyn(); - - virtual Void stop( ); - Dynamic stop_dyn(); - - virtual bool nmeCheckComplete( ); - Dynamic nmeCheckComplete_dyn(); - - ::neash::events::EventDispatcher nmeDataProvider; /* REM */ - ::neash::media::SoundTransform nmeTransform; /* REM */ - Dynamic nmeHandle; /* REM */ - ::neash::media::SoundTransform soundTransform; /* REM */ - Float position; /* REM */ - Float rightPeak; /* REM */ - Float leftPeak; /* REM */ - static int nmeDynamicSoundCount; /* REM */ - static Array< ::neash::media::SoundChannel > nmeIncompleteList; /* REM */ - static ::neash::media::SoundChannel createDynamic( Dynamic inSoundHandle,::neash::media::SoundTransform sndTransform,::neash::events::EventDispatcher dataProvider); - static Dynamic createDynamic_dyn(); - - static bool nmeCompletePending( ); - static Dynamic nmeCompletePending_dyn(); - - static Void nmePollComplete( ); - static Dynamic nmePollComplete_dyn(); - - static Dynamic nme_sound_channel_is_complete; /* REM */ - static Dynamic &nme_sound_channel_is_complete_dyn() { return nme_sound_channel_is_complete;} - static Dynamic nme_sound_channel_get_left; /* REM */ - static Dynamic &nme_sound_channel_get_left_dyn() { return nme_sound_channel_get_left;} - static Dynamic nme_sound_channel_get_right; /* REM */ - static Dynamic &nme_sound_channel_get_right_dyn() { return nme_sound_channel_get_right;} - static Dynamic nme_sound_channel_get_position; /* REM */ - static Dynamic &nme_sound_channel_get_position_dyn() { return nme_sound_channel_get_position;} - static Dynamic nme_sound_channel_get_data_position; /* REM */ - static Dynamic &nme_sound_channel_get_data_position_dyn() { return nme_sound_channel_get_data_position;} - static Dynamic nme_sound_channel_stop; /* REM */ - static Dynamic &nme_sound_channel_stop_dyn() { return nme_sound_channel_stop;} - static Dynamic nme_sound_channel_create; /* REM */ - static Dynamic &nme_sound_channel_create_dyn() { return nme_sound_channel_create;} - static Dynamic nme_sound_channel_set_transform; /* REM */ - static Dynamic &nme_sound_channel_set_transform_dyn() { return nme_sound_channel_set_transform;} - static Dynamic nme_sound_channel_needs_data; /* REM */ - static Dynamic &nme_sound_channel_needs_data_dyn() { return nme_sound_channel_needs_data;} - static Dynamic nme_sound_channel_add_data; /* REM */ - static Dynamic &nme_sound_channel_add_data_dyn() { return nme_sound_channel_add_data;} -}; - -} // end namespace neash -} // end namespace media - -#endif /* INCLUDED_neash_media_SoundChannel */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/media/SoundLoaderContext.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/media/SoundLoaderContext.h deleted file mode 100644 index 147ed4f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/media/SoundLoaderContext.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef INCLUDED_neash_media_SoundLoaderContext -#define INCLUDED_neash_media_SoundLoaderContext - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,media,SoundLoaderContext) -namespace neash{ -namespace media{ - - -class SoundLoaderContext_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef SoundLoaderContext_obj OBJ_; - SoundLoaderContext_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< SoundLoaderContext_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SoundLoaderContext_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SoundLoaderContext"); } - -}; - -} // end namespace neash -} // end namespace media - -#endif /* INCLUDED_neash_media_SoundLoaderContext */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/media/SoundTransform.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/media/SoundTransform.h deleted file mode 100644 index 69ab0a7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/media/SoundTransform.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef INCLUDED_neash_media_SoundTransform -#define INCLUDED_neash_media_SoundTransform - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,media,SoundTransform) -namespace neash{ -namespace media{ - - -class SoundTransform_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef SoundTransform_obj OBJ_; - SoundTransform_obj(); - Void __construct(hx::Null< Float > __o_vol,hx::Null< Float > __o_panning); - - public: - static hx::ObjectPtr< SoundTransform_obj > __new(hx::Null< Float > __o_vol,hx::Null< Float > __o_panning); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SoundTransform_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("SoundTransform"); } - - virtual ::neash::media::SoundTransform clone( ); - Dynamic clone_dyn(); - - Float volume; /* REM */ - Float pan; /* REM */ -}; - -} // end namespace neash -} // end namespace media - -#endif /* INCLUDED_neash_media_SoundTransform */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/net/URLLoader.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/net/URLLoader.h deleted file mode 100644 index 836a3b3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/net/URLLoader.h +++ /dev/null @@ -1,110 +0,0 @@ -#ifndef INCLUDED_neash_net_URLLoader -#define INCLUDED_neash_net_URLLoader - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(List) -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,net,URLLoader) -HX_DECLARE_CLASS2(neash,net,URLLoaderDataFormat) -HX_DECLARE_CLASS2(neash,net,URLRequest) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace net{ - - -class URLLoader_obj : public ::neash::events::EventDispatcher_obj{ - public: - typedef ::neash::events::EventDispatcher_obj super; - typedef URLLoader_obj OBJ_; - URLLoader_obj(); - Void __construct(::neash::net::URLRequest request); - - public: - static hx::ObjectPtr< URLLoader_obj > __new(::neash::net::URLRequest request); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLLoader_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLLoader"); } - - virtual Void update( ); - Dynamic update_dyn(); - - virtual Void dispatchHTTPStatus( int code); - Dynamic dispatchHTTPStatus_dyn(); - - virtual Void onError( ::String msg); - Dynamic onError_dyn(); - - virtual Void nmeDataComplete( ); - Dynamic nmeDataComplete_dyn(); - - virtual Void load( ::neash::net::URLRequest request); - Dynamic load_dyn(); - - virtual Array< ::String > getCookies( ); - Dynamic getCookies_dyn(); - - virtual Void close( ); - Dynamic close_dyn(); - - Dynamic nmeOnComplete; /* REM */ - Dynamic &nmeOnComplete_dyn() { return nmeOnComplete;} - int state; /* REM */ - Dynamic nmeHandle; /* REM */ - ::neash::net::URLLoaderDataFormat dataFormat; /* REM */ - Dynamic data; /* REM */ - int bytesTotal; /* REM */ - int bytesLoaded; /* REM */ - static ::List activeLoaders; /* REM */ - static int urlInvalid; /* REM */ - static int urlInit; /* REM */ - static int urlLoading; /* REM */ - static int urlComplete; /* REM */ - static int urlError; /* REM */ - static bool hasActive( ); - static Dynamic hasActive_dyn(); - - static Void initialize( ::String inCACertFilePath); - static Dynamic initialize_dyn(); - - static bool nmeLoadPending( ); - static Dynamic nmeLoadPending_dyn(); - - static Void nmePollData( ); - static Dynamic nmePollData_dyn(); - - static Dynamic nme_curl_create; /* REM */ - static Dynamic &nme_curl_create_dyn() { return nme_curl_create;} - static Dynamic nme_curl_process_loaders; /* REM */ - static Dynamic &nme_curl_process_loaders_dyn() { return nme_curl_process_loaders;} - static Dynamic nme_curl_update_loader; /* REM */ - static Dynamic &nme_curl_update_loader_dyn() { return nme_curl_update_loader;} - static Dynamic nme_curl_get_code; /* REM */ - static Dynamic &nme_curl_get_code_dyn() { return nme_curl_get_code;} - static Dynamic nme_curl_get_error_message; /* REM */ - static Dynamic &nme_curl_get_error_message_dyn() { return nme_curl_get_error_message;} - static Dynamic nme_curl_get_data; /* REM */ - static Dynamic &nme_curl_get_data_dyn() { return nme_curl_get_data;} - static Dynamic nme_curl_get_cookies; /* REM */ - static Dynamic &nme_curl_get_cookies_dyn() { return nme_curl_get_cookies;} - static Dynamic nme_curl_initialize; /* REM */ - static Dynamic &nme_curl_initialize_dyn() { return nme_curl_initialize;} -}; - -} // end namespace neash -} // end namespace net - -#endif /* INCLUDED_neash_net_URLLoader */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/net/URLLoaderDataFormat.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/net/URLLoaderDataFormat.h deleted file mode 100644 index cdc5257..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/net/URLLoaderDataFormat.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_net_URLLoaderDataFormat -#define INCLUDED_neash_net_URLLoaderDataFormat - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,net,URLLoaderDataFormat) -namespace neash{ -namespace net{ - - -class URLLoaderDataFormat_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef URLLoaderDataFormat_obj OBJ_; - - public: - URLLoaderDataFormat_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.net.URLLoaderDataFormat"); } - ::String __ToString() const { return HX_CSTRING("URLLoaderDataFormat.") + tag; } - - static ::neash::net::URLLoaderDataFormat BINARY; - static inline ::neash::net::URLLoaderDataFormat BINARY_dyn() { return BINARY; } - static ::neash::net::URLLoaderDataFormat TEXT; - static inline ::neash::net::URLLoaderDataFormat TEXT_dyn() { return TEXT; } - static ::neash::net::URLLoaderDataFormat VARIABLES; - static inline ::neash::net::URLLoaderDataFormat VARIABLES_dyn() { return VARIABLES; } -}; - -} // end namespace neash -} // end namespace net - -#endif /* INCLUDED_neash_net_URLLoaderDataFormat */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/net/URLRequest.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/net/URLRequest.h deleted file mode 100644 index 1449021..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/net/URLRequest.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef INCLUDED_neash_net_URLRequest -#define INCLUDED_neash_net_URLRequest - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,net,URLRequest) -HX_DECLARE_CLASS2(neash,net,URLRequestHeader) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace net{ - - -class URLRequest_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef URLRequest_obj OBJ_; - URLRequest_obj(); - Void __construct(::String inURL); - - public: - static hx::ObjectPtr< URLRequest_obj > __new(::String inURL); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLRequest_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLRequest"); } - - virtual Void nmePrepare( ); - Dynamic nmePrepare_dyn(); - - virtual Void digestAuth( ::String inUser,::String inPasswd); - Dynamic digestAuth_dyn(); - - virtual Void basicAuth( ::String inUser,::String inPasswd); - Dynamic basicAuth_dyn(); - - ::neash::utils::ByteArray nmeBytes; /* REM */ - ::String credentials; /* REM */ - Dynamic data; /* REM */ - ::String contentType; /* REM */ - ::String method; /* REM */ - bool verbose; /* REM */ - ::String cookieString; /* REM */ - int authType; /* REM */ - Array< ::neash::net::URLRequestHeader > requestHeaders; /* REM */ - ::String url; /* REM */ - static int AUTH_BASIC; /* REM */ - static int AUTH_DIGEST; /* REM */ - static int AUTH_GSSNEGOTIATE; /* REM */ - static int AUTH_NTLM; /* REM */ - static int AUTH_DIGEST_IE; /* REM */ - static int AUTH_DIGEST_ANY; /* REM */ -}; - -} // end namespace neash -} // end namespace net - -#endif /* INCLUDED_neash_net_URLRequest */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/net/URLRequestHeader.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/net/URLRequestHeader.h deleted file mode 100644 index 083ff8b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/net/URLRequestHeader.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_neash_net_URLRequestHeader -#define INCLUDED_neash_net_URLRequestHeader - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,net,URLRequestHeader) -namespace neash{ -namespace net{ - - -class URLRequestHeader_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef URLRequestHeader_obj OBJ_; - URLRequestHeader_obj(); - Void __construct(::String name,::String value); - - public: - static hx::ObjectPtr< URLRequestHeader_obj > __new(::String name,::String value); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLRequestHeader_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLRequestHeader"); } - - ::String value; /* REM */ - ::String name; /* REM */ -}; - -} // end namespace neash -} // end namespace net - -#endif /* INCLUDED_neash_net_URLRequestHeader */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/net/URLRequestMethod.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/net/URLRequestMethod.h deleted file mode 100644 index 70e9669..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/net/URLRequestMethod.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef INCLUDED_neash_net_URLRequestMethod -#define INCLUDED_neash_net_URLRequestMethod - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,net,URLRequestMethod) -namespace neash{ -namespace net{ - - -class URLRequestMethod_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef URLRequestMethod_obj OBJ_; - URLRequestMethod_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< URLRequestMethod_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLRequestMethod_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLRequestMethod"); } - - static ::String DELETE; /* REM */ - static ::String GET; /* REM */ - static ::String HEAD; /* REM */ - static ::String OPTIONS; /* REM */ - static ::String POST; /* REM */ - static ::String PUT; /* REM */ -}; - -} // end namespace neash -} // end namespace net - -#endif /* INCLUDED_neash_net_URLRequestMethod */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/net/URLVariables.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/net/URLVariables.h deleted file mode 100644 index 7430ee7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/net/URLVariables.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef INCLUDED_neash_net_URLVariables -#define INCLUDED_neash_net_URLVariables - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,net,URLVariables) -namespace neash{ -namespace net{ - - -class URLVariables_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef URLVariables_obj OBJ_; - URLVariables_obj(); - Void __construct(::String inEncoded); - - public: - static hx::ObjectPtr< URLVariables_obj > __new(::String inEncoded); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~URLVariables_obj(); - - HX_DO_RTTI; - HX_DECLARE_IMPLEMENT_DYNAMIC; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("URLVariables"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Void decode( ::String inVars); - Dynamic decode_dyn(); - -}; - -} // end namespace neash -} // end namespace net - -#endif /* INCLUDED_neash_net_URLVariables */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/text/Font.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/text/Font.h deleted file mode 100644 index 0669466..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/text/Font.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef INCLUDED_neash_text_Font -#define INCLUDED_neash_text_Font - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,text,Font) -HX_DECLARE_CLASS2(neash,text,FontStyle) -HX_DECLARE_CLASS2(neash,text,FontType) -namespace neash{ -namespace text{ - - -class Font_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Font_obj OBJ_; - Font_obj(); - Void __construct(::String inFilename); - - public: - static hx::ObjectPtr< Font_obj > __new(::String inFilename); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Font_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Font"); } - - ::neash::text::FontType fontType; /* REM */ - ::neash::text::FontStyle fontStyle; /* REM */ - ::String fontName; /* REM */ - static Dynamic load( ::String inFilename); - static Dynamic load_dyn(); - -}; - -} // end namespace neash -} // end namespace text - -#endif /* INCLUDED_neash_text_Font */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/text/FontStyle.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/text/FontStyle.h deleted file mode 100644 index 911e59e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/text/FontStyle.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef INCLUDED_neash_text_FontStyle -#define INCLUDED_neash_text_FontStyle - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,text,FontStyle) -namespace neash{ -namespace text{ - - -class FontStyle_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef FontStyle_obj OBJ_; - - public: - FontStyle_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.text.FontStyle"); } - ::String __ToString() const { return HX_CSTRING("FontStyle.") + tag; } - - static ::neash::text::FontStyle BOLD; - static inline ::neash::text::FontStyle BOLD_dyn() { return BOLD; } - static ::neash::text::FontStyle BOLD_ITALIC; - static inline ::neash::text::FontStyle BOLD_ITALIC_dyn() { return BOLD_ITALIC; } - static ::neash::text::FontStyle ITALIC; - static inline ::neash::text::FontStyle ITALIC_dyn() { return ITALIC; } - static ::neash::text::FontStyle REGULAR; - static inline ::neash::text::FontStyle REGULAR_dyn() { return REGULAR; } -}; - -} // end namespace neash -} // end namespace text - -#endif /* INCLUDED_neash_text_FontStyle */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/text/FontType.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/text/FontType.h deleted file mode 100644 index 59bb66d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/text/FontType.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_neash_text_FontType -#define INCLUDED_neash_text_FontType - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,text,FontType) -namespace neash{ -namespace text{ - - -class FontType_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef FontType_obj OBJ_; - - public: - FontType_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("neash.text.FontType"); } - ::String __ToString() const { return HX_CSTRING("FontType.") + tag; } - - static ::neash::text::FontType DEVICE; - static inline ::neash::text::FontType DEVICE_dyn() { return DEVICE; } - static ::neash::text::FontType EMBEDDED; - static inline ::neash::text::FontType EMBEDDED_dyn() { return EMBEDDED; } - static ::neash::text::FontType EMBEDDED_CFF; - static inline ::neash::text::FontType EMBEDDED_CFF_dyn() { return EMBEDDED_CFF; } -}; - -} // end namespace neash -} // end namespace text - -#endif /* INCLUDED_neash_text_FontType */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/utils/ByteArray.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/utils/ByteArray.h deleted file mode 100644 index c92ab1f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/utils/ByteArray.h +++ /dev/null @@ -1,185 +0,0 @@ -#ifndef INCLUDED_neash_utils_ByteArray -#define INCLUDED_neash_utils_ByteArray - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS1(neash,Loader) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace utils{ - - -class ByteArray_obj : public ::haxe::io::Bytes_obj{ - public: - typedef ::haxe::io::Bytes_obj super; - typedef ByteArray_obj OBJ_; - ByteArray_obj(); - Void __construct(hx::Null< int > __o_inSize); - - public: - static hx::ObjectPtr< ByteArray_obj > __new(hx::Null< int > __o_inSize); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~ByteArray_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::neash::utils::IDataInput_obj *() - { return new ::neash::utils::IDataInput_delegate_< ByteArray_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - static void __init__(); - - ::String __ToString() const { return HX_CSTRING("ByteArray"); } - - typedef int __array_access; - virtual ::String nmeSetEndian( ::String s); - Dynamic nmeSetEndian_dyn(); - - virtual ::String nmeGetEndian( ); - Dynamic nmeGetEndian_dyn(); - - virtual int nmeGetBytesAvailable( ); - Dynamic nmeGetBytesAvailable_dyn(); - - virtual Void writeUTFBytes( ::String s); - Dynamic writeUTFBytes_dyn(); - - virtual Void writeUTF( ::String s); - Dynamic writeUTF_dyn(); - - virtual Void writeUnsignedInt( int value); - Dynamic writeUnsignedInt_dyn(); - - virtual Void writeShort( int value); - Dynamic writeShort_dyn(); - - virtual Void writeInt( int value); - Dynamic writeInt_dyn(); - - virtual Void writeFloat( Float x); - Dynamic writeFloat_dyn(); - - virtual Void writeFile( ::String inString); - Dynamic writeFile_dyn(); - - virtual Void writeDouble( Float x); - Dynamic writeDouble_dyn(); - - virtual Void writeBytes( ::haxe::io::Bytes bytes,hx::Null< int > inOffset,hx::Null< int > inLength); - Dynamic writeBytes_dyn(); - - virtual Void write_uncheck( int inByte); - Dynamic write_uncheck_dyn(); - - virtual Void writeByte( int value); - Dynamic writeByte_dyn(); - - virtual Void writeBoolean( bool value); - Dynamic writeBoolean_dyn(); - - virtual Void uncompress( ::String algorithm); - Dynamic uncompress_dyn(); - - virtual int ThrowEOFi( ); - Dynamic ThrowEOFi_dyn(); - - virtual Void setLength( int inLength); - Dynamic setLength_dyn(); - - virtual ::String readUTFBytes( int inLen); - Dynamic readUTFBytes_dyn(); - - virtual ::String readUTF( ); - Dynamic readUTF_dyn(); - - virtual int readUnsignedShort( ); - Dynamic readUnsignedShort_dyn(); - - virtual int readUnsignedInt( ); - Dynamic readUnsignedInt_dyn(); - - virtual int readUnsignedByte( ); - Dynamic readUnsignedByte_dyn(); - - virtual int readShort( ); - Dynamic readShort_dyn(); - - virtual int readInt( ); - Dynamic readInt_dyn(); - - virtual Float readFloat( ); - Dynamic readFloat_dyn(); - - virtual Float readDouble( ); - Dynamic readDouble_dyn(); - - virtual Void readBytes( ::neash::utils::ByteArray outData,hx::Null< int > inOffset,hx::Null< int > inLen); - Dynamic readBytes_dyn(); - - virtual ::String readMultiByte( int inLen,::String charSet); - Dynamic readMultiByte_dyn(); - - virtual int readByte( ); - Dynamic readByte_dyn(); - - virtual bool readBoolean( ); - Dynamic readBoolean_dyn(); - - virtual Void ensureElem( int inSize,bool inUpdateLenght); - Dynamic ensureElem_dyn(); - - virtual Void compress( ::String algorithm); - Dynamic compress_dyn(); - - virtual Void clear( ); - Dynamic clear_dyn(); - - virtual Void checkData( int inLength); - Dynamic checkData_dyn(); - - virtual ::String asString( ); - Dynamic asString_dyn(); - - virtual Void __set( int pos,int v); - Dynamic __set_dyn(); - - virtual int __get( int pos); - Dynamic __get_dyn(); - - int position; /* REM */ - ::String endian; /* REM */ - int bytesAvailable; /* REM */ - bool bigEndian; /* REM */ - static ::neash::utils::ByteArray fromBytes( ::haxe::io::Bytes inBytes); - static Dynamic fromBytes_dyn(); - - static ::neash::utils::ByteArray readFile( ::String inString); - static Dynamic readFile_dyn(); - - static Dynamic _double_bytes; /* REM */ - static Dynamic &_double_bytes_dyn() { return _double_bytes;} - static Dynamic _double_of_bytes; /* REM */ - static Dynamic &_double_of_bytes_dyn() { return _double_of_bytes;} - static Dynamic _float_bytes; /* REM */ - static Dynamic &_float_bytes_dyn() { return _float_bytes;} - static Dynamic _float_of_bytes; /* REM */ - static Dynamic &_float_of_bytes_dyn() { return _float_of_bytes;} - static Dynamic nme_byte_array_overwrite_file; /* REM */ - static Dynamic &nme_byte_array_overwrite_file_dyn() { return nme_byte_array_overwrite_file;} - static Dynamic nme_byte_array_read_file; /* REM */ - static Dynamic &nme_byte_array_read_file_dyn() { return nme_byte_array_read_file;} -}; - -} // end namespace neash -} // end namespace utils - -#endif /* INCLUDED_neash_utils_ByteArray */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/utils/Endian.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/utils/Endian.h deleted file mode 100644 index 7693ae4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/utils/Endian.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef INCLUDED_neash_utils_Endian -#define INCLUDED_neash_utils_Endian - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,utils,Endian) -namespace neash{ -namespace utils{ - - -class Endian_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Endian_obj OBJ_; - Endian_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Endian_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Endian_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Endian"); } - - static ::String _BIG_ENDIAN; /* REM */ - static ::String _LITTLE_ENDIAN; /* REM */ -}; - -} // end namespace neash -} // end namespace utils - -#endif /* INCLUDED_neash_utils_Endian */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/utils/IDataInput.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/utils/IDataInput.h deleted file mode 100644 index b421495..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/utils/IDataInput.h +++ /dev/null @@ -1,101 +0,0 @@ -#ifndef INCLUDED_neash_utils_IDataInput -#define INCLUDED_neash_utils_IDataInput - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -namespace neash{ -namespace utils{ - - -class IDataInput_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IDataInput_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual ::String nmeSetEndian( ::String s)=0; - Dynamic nmeSetEndian_dyn(); -virtual ::String nmeGetEndian( )=0; - Dynamic nmeGetEndian_dyn(); -virtual int nmeGetBytesAvailable( )=0; - Dynamic nmeGetBytesAvailable_dyn(); -virtual ::String readUTFBytes( int inLen)=0; - Dynamic readUTFBytes_dyn(); -virtual ::String readUTF( )=0; - Dynamic readUTF_dyn(); -virtual int readUnsignedShort( )=0; - Dynamic readUnsignedShort_dyn(); -virtual int readUnsignedInt( )=0; - Dynamic readUnsignedInt_dyn(); -virtual int readUnsignedByte( )=0; - Dynamic readUnsignedByte_dyn(); -virtual int readShort( )=0; - Dynamic readShort_dyn(); -virtual int readInt( )=0; - Dynamic readInt_dyn(); -virtual Float readFloat( )=0; - Dynamic readFloat_dyn(); -virtual Float readDouble( )=0; - Dynamic readDouble_dyn(); -virtual Void readBytes( ::neash::utils::ByteArray outData,hx::Null< int > inOffset,hx::Null< int > inLen)=0; - Dynamic readBytes_dyn(); -virtual int readByte( )=0; - Dynamic readByte_dyn(); -virtual bool readBoolean( )=0; - Dynamic readBoolean_dyn(); -}; - -#define DELEGATE_neash_utils_IDataInput \ -virtual ::String nmeSetEndian( ::String s) { return mDelegate->nmeSetEndian(s);} \ -virtual Dynamic nmeSetEndian_dyn() { return mDelegate->nmeSetEndian_dyn();} \ -virtual ::String nmeGetEndian( ) { return mDelegate->nmeGetEndian();} \ -virtual Dynamic nmeGetEndian_dyn() { return mDelegate->nmeGetEndian_dyn();} \ -virtual int nmeGetBytesAvailable( ) { return mDelegate->nmeGetBytesAvailable();} \ -virtual Dynamic nmeGetBytesAvailable_dyn() { return mDelegate->nmeGetBytesAvailable_dyn();} \ -virtual ::String readUTFBytes( int inLen) { return mDelegate->readUTFBytes(inLen);} \ -virtual Dynamic readUTFBytes_dyn() { return mDelegate->readUTFBytes_dyn();} \ -virtual ::String readUTF( ) { return mDelegate->readUTF();} \ -virtual Dynamic readUTF_dyn() { return mDelegate->readUTF_dyn();} \ -virtual int readUnsignedShort( ) { return mDelegate->readUnsignedShort();} \ -virtual Dynamic readUnsignedShort_dyn() { return mDelegate->readUnsignedShort_dyn();} \ -virtual int readUnsignedInt( ) { return mDelegate->readUnsignedInt();} \ -virtual Dynamic readUnsignedInt_dyn() { return mDelegate->readUnsignedInt_dyn();} \ -virtual int readUnsignedByte( ) { return mDelegate->readUnsignedByte();} \ -virtual Dynamic readUnsignedByte_dyn() { return mDelegate->readUnsignedByte_dyn();} \ -virtual int readShort( ) { return mDelegate->readShort();} \ -virtual Dynamic readShort_dyn() { return mDelegate->readShort_dyn();} \ -virtual int readInt( ) { return mDelegate->readInt();} \ -virtual Dynamic readInt_dyn() { return mDelegate->readInt_dyn();} \ -virtual Float readFloat( ) { return mDelegate->readFloat();} \ -virtual Dynamic readFloat_dyn() { return mDelegate->readFloat_dyn();} \ -virtual Float readDouble( ) { return mDelegate->readDouble();} \ -virtual Dynamic readDouble_dyn() { return mDelegate->readDouble_dyn();} \ -virtual Void readBytes( ::neash::utils::ByteArray outData,hx::Null< int > inOffset,hx::Null< int > inLen) { return mDelegate->readBytes(outData,inOffset,inLen);} \ -virtual Dynamic readBytes_dyn() { return mDelegate->readBytes_dyn();} \ -virtual int readByte( ) { return mDelegate->readByte();} \ -virtual Dynamic readByte_dyn() { return mDelegate->readByte_dyn();} \ -virtual bool readBoolean( ) { return mDelegate->readBoolean();} \ -virtual Dynamic readBoolean_dyn() { return mDelegate->readBoolean_dyn();} \ - - -template -class IDataInput_delegate_ : public IDataInput_obj -{ - protected: - IMPL *mDelegate; - public: - IDataInput_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_neash_utils_IDataInput -}; - -} // end namespace neash -} // end namespace utils - -#endif /* INCLUDED_neash_utils_IDataInput */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/utils/WeakRef.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/utils/WeakRef.h deleted file mode 100644 index 468280a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/neash/utils/WeakRef.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef INCLUDED_neash_utils_WeakRef -#define INCLUDED_neash_utils_WeakRef - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,utils,WeakRef) -namespace neash{ -namespace utils{ - - -class WeakRef_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef WeakRef_obj OBJ_; - WeakRef_obj(); - Void __construct(Dynamic inObject,hx::Null< bool > __o_inMakeWeak); - - public: - static hx::ObjectPtr< WeakRef_obj > __new(Dynamic inObject,hx::Null< bool > __o_inMakeWeak); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~WeakRef_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("WeakRef"); } - - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual Dynamic get( ); - Dynamic get_dyn(); - - int weakRef; /* REM */ - Dynamic hardRef; /* REM */ - static Dynamic nme_weak_ref_create; /* REM */ - static Dynamic &nme_weak_ref_create_dyn() { return nme_weak_ref_create;} - static Dynamic nme_weak_ref_get; /* REM */ - static Dynamic &nme_weak_ref_get_dyn() { return nme_weak_ref_get;} -}; - -} // end namespace neash -} // end namespace utils - -#endif /* INCLUDED_neash_utils_WeakRef */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/nme/Lib.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/nme/Lib.h deleted file mode 100644 index f617588..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/nme/Lib.h +++ /dev/null @@ -1,124 +0,0 @@ -#ifndef INCLUDED_nme_Lib -#define INCLUDED_nme_Lib - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,ManagedStage) -HX_DECLARE_CLASS2(neash,display,MovieClip) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,display,Stage) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,net,URLRequest) -HX_DECLARE_CLASS1(nme,Lib) -namespace nme{ - - -class Lib_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Lib_obj OBJ_; - Lib_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Lib_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Lib_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Lib"); } - - static int FULLSCREEN; /* REM */ - static int BORDERLESS; /* REM */ - static int RESIZABLE; /* REM */ - static int HARDWARE; /* REM */ - static int VSYNC; /* REM */ - static int HW_AA; /* REM */ - static int HW_AA_HIRES; /* REM */ - static int ALLOW_SHADERS; /* REM */ - static ::String company; /* REM */ - static ::neash::display::MovieClip current; /* REM */ - static ::String file; /* REM */ - static int initHeight; /* REM */ - static int initWidth; /* REM */ - static ::String packageName; /* REM */ - static ::neash::display::Stage stage; /* REM */ - static ::String version; /* REM */ - static Void close( ); - static Dynamic close_dyn(); - - static Void create( Dynamic onLoaded,int width,int height,hx::Null< Float > frameRate,hx::Null< int > color,hx::Null< int > flags,::String title,::neash::display::BitmapData icon); - static Dynamic create_dyn(); - - static ::neash::display::ManagedStage createManagedStage( int width,int height); - static Dynamic createManagedStage_dyn(); - - static Void exit( ); - static Dynamic exit_dyn(); - - static Void forceClose( ); - static Dynamic forceClose_dyn(); - - static int getTimer( ); - static Dynamic getTimer_dyn(); - - static Void getURL( ::neash::net::URLRequest url,::String target); - static Dynamic getURL_dyn(); - - static Void pause( ); - static Dynamic pause_dyn(); - - static Void postUICallback( Dynamic handler); - static Dynamic postUICallback_dyn(); - - static Void resume( ); - static Dynamic resume_dyn(); - - static Void setPackage( ::String company,::String file,::String packageName,::String version); - static Dynamic setPackage_dyn(); - - static Void trace( Dynamic arg); - static Dynamic trace_dyn(); - - static ::String nmeGetCompany( ); - static Dynamic nmeGetCompany_dyn(); - - static ::neash::display::MovieClip nmeGetCurrent( ); - static Dynamic nmeGetCurrent_dyn(); - - static ::String nmeGetFile( ); - static Dynamic nmeGetFile_dyn(); - - static int nmeGetInitHeight( ); - static Dynamic nmeGetInitHeight_dyn(); - - static int nmeGetInitWidth( ); - static Dynamic nmeGetInitWidth_dyn(); - - static ::String nmeGetPackageName( ); - static Dynamic nmeGetPackageName_dyn(); - - static ::neash::display::Stage nmeGetStage( ); - static Dynamic nmeGetStage_dyn(); - - static ::String nmeGetVersion( ); - static Dynamic nmeGetVersion_dyn(); - -}; - -} // end namespace nme - -#endif /* INCLUDED_nme_Lib */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/nme/installer/Assets.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/nme/installer/Assets.h deleted file mode 100644 index 3ab3c05..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/nme/installer/Assets.h +++ /dev/null @@ -1,73 +0,0 @@ -#ifndef INCLUDED_nme_installer_Assets -#define INCLUDED_nme_installer_Assets - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(neash,display,BitmapData) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS2(neash,media,Sound) -HX_DECLARE_CLASS2(neash,text,Font) -HX_DECLARE_CLASS2(neash,utils,ByteArray) -HX_DECLARE_CLASS2(neash,utils,IDataInput) -HX_DECLARE_CLASS2(nme,installer,Assets) -namespace nme{ -namespace installer{ - - -class Assets_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Assets_obj OBJ_; - Assets_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Assets_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Assets_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Assets"); } - - static ::Hash cachedBitmapData; /* REM */ - static bool initialized; /* REM */ - static ::Hash resourceNames; /* REM */ - static ::Hash resourceTypes; /* REM */ - static Void initialize( ); - static Dynamic initialize_dyn(); - - static ::neash::display::BitmapData getBitmapData( ::String id,hx::Null< bool > useCache); - static Dynamic getBitmapData_dyn(); - - static ::neash::utils::ByteArray getBytes( ::String id); - static Dynamic getBytes_dyn(); - - static ::neash::text::Font getFont( ::String id); - static Dynamic getFont_dyn(); - - static ::String getResourceName( ::String id); - static Dynamic getResourceName_dyn(); - - static ::neash::media::Sound getSound( ::String id); - static Dynamic getSound_dyn(); - - static ::String getText( ::String id); - static Dynamic getText_dyn(); - -}; - -} // end namespace nme -} // end namespace installer - -#endif /* INCLUDED_nme_installer_Assets */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/core/Controller.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/core/Controller.h deleted file mode 100644 index d348987..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/core/Controller.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_core_Controller -#define INCLUDED_org_puremvc_haxe_core_Controller - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS4(org,puremvc,haxe,core,Controller) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IController) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IView) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace core{ - - -class Controller_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Controller_obj OBJ_; - Controller_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Controller_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Controller_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IController_obj *() - { return new ::org::puremvc::haxe::interfaces::IController_delegate_< Controller_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Controller"); } - - ::Hash commandMap; /* REM */ - ::org::puremvc::haxe::interfaces::IView view; /* REM */ - virtual Void removeCommand( ::String notificationName); - Dynamic removeCommand_dyn(); - - virtual bool hasCommand( ::String notificationName); - Dynamic hasCommand_dyn(); - - virtual Void registerCommand( ::String notificationName,::Class commandClassRef); - Dynamic registerCommand_dyn(); - - virtual Void executeCommand( ::org::puremvc::haxe::interfaces::INotification note); - Dynamic executeCommand_dyn(); - - virtual Void initializeController( ); - Dynamic initializeController_dyn(); - - static ::org::puremvc::haxe::interfaces::IController getInstance( ); - static Dynamic getInstance_dyn(); - - static ::org::puremvc::haxe::interfaces::IController instance; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace core - -#endif /* INCLUDED_org_puremvc_haxe_core_Controller */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/core/Model.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/core/Model.h deleted file mode 100644 index 7083dc9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/core/Model.h +++ /dev/null @@ -1,69 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_core_Model -#define INCLUDED_org_puremvc_haxe_core_Model - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS4(org,puremvc,haxe,core,Model) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IModel) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace core{ - - -class Model_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Model_obj OBJ_; - Model_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Model_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Model_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IModel_obj *() - { return new ::org::puremvc::haxe::interfaces::IModel_delegate_< Model_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Model"); } - - ::Hash proxyMap; /* REM */ - virtual ::org::puremvc::haxe::interfaces::IProxy removeProxy( ::String proxyName); - Dynamic removeProxy_dyn(); - - virtual bool hasProxy( ::String proxyName); - Dynamic hasProxy_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IProxy retrieveProxy( ::String proxyName); - Dynamic retrieveProxy_dyn(); - - virtual Void registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy); - Dynamic registerProxy_dyn(); - - virtual Void initializeModel( ); - Dynamic initializeModel_dyn(); - - static ::org::puremvc::haxe::interfaces::IModel getInstance( ); - static Dynamic getInstance_dyn(); - - static ::org::puremvc::haxe::interfaces::IModel instance; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace core - -#endif /* INCLUDED_org_puremvc_haxe_core_Model */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/core/View.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/core/View.h deleted file mode 100644 index 5529326..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/core/View.h +++ /dev/null @@ -1,81 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_core_View -#define INCLUDED_org_puremvc_haxe_core_View - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS0(Hash) -HX_DECLARE_CLASS4(org,puremvc,haxe,core,View) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IObserver) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IView) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace core{ - - -class View_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef View_obj OBJ_; - View_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< View_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~View_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IView_obj *() - { return new ::org::puremvc::haxe::interfaces::IView_delegate_< View_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("View"); } - - ::Hash observerMap; /* REM */ - ::Hash mediatorMap; /* REM */ - virtual bool hasMediator( ::String mediatorName); - Dynamic hasMediator_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IMediator removeMediator( ::String mediatorName); - Dynamic removeMediator_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IMediator retrieveMediator( ::String mediatorName); - Dynamic retrieveMediator_dyn(); - - virtual Void registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator); - Dynamic registerMediator_dyn(); - - virtual Void removeObserver( ::String notificationName,Dynamic notifyContext); - Dynamic removeObserver_dyn(); - - virtual Void notifyObservers( ::org::puremvc::haxe::interfaces::INotification notification); - Dynamic notifyObservers_dyn(); - - virtual Void registerObserver( ::String notificationName,::org::puremvc::haxe::interfaces::IObserver observer); - Dynamic registerObserver_dyn(); - - virtual Void initializeView( ); - Dynamic initializeView_dyn(); - - static ::org::puremvc::haxe::interfaces::IView getInstance( ); - static Dynamic getInstance_dyn(); - - static ::org::puremvc::haxe::interfaces::IView instance; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace core - -#endif /* INCLUDED_org_puremvc_haxe_core_View */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/ICommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/ICommand.h deleted file mode 100644 index ad4eaeb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/ICommand.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#define INCLUDED_org_puremvc_haxe_interfaces_ICommand - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class ICommand_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef ICommand_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void execute( ::org::puremvc::haxe::interfaces::INotification notification)=0; - Dynamic execute_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_ICommand \ -virtual Void execute( ::org::puremvc::haxe::interfaces::INotification notification) { return mDelegate->execute(notification);} \ -virtual Dynamic execute_dyn() { return mDelegate->execute_dyn();} \ - - -template -class ICommand_delegate_ : public ICommand_obj -{ - protected: - IMPL *mDelegate; - public: - ICommand_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_ICommand -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_ICommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IController.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IController.h deleted file mode 100644 index bdf5320..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IController.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IController -#define INCLUDED_org_puremvc_haxe_interfaces_IController - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IController) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IController_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IController_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual bool hasCommand( ::String notificationName)=0; - Dynamic hasCommand_dyn(); -virtual Void removeCommand( ::String notificationName)=0; - Dynamic removeCommand_dyn(); -virtual Void executeCommand( ::org::puremvc::haxe::interfaces::INotification notification)=0; - Dynamic executeCommand_dyn(); -virtual Void registerCommand( ::String notificationName,::Class commandClassRef)=0; - Dynamic registerCommand_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IController \ -virtual bool hasCommand( ::String notificationName) { return mDelegate->hasCommand(notificationName);} \ -virtual Dynamic hasCommand_dyn() { return mDelegate->hasCommand_dyn();} \ -virtual Void removeCommand( ::String notificationName) { return mDelegate->removeCommand(notificationName);} \ -virtual Dynamic removeCommand_dyn() { return mDelegate->removeCommand_dyn();} \ -virtual Void executeCommand( ::org::puremvc::haxe::interfaces::INotification notification) { return mDelegate->executeCommand(notification);} \ -virtual Dynamic executeCommand_dyn() { return mDelegate->executeCommand_dyn();} \ -virtual Void registerCommand( ::String notificationName,::Class commandClassRef) { return mDelegate->registerCommand(notificationName,commandClassRef);} \ -virtual Dynamic registerCommand_dyn() { return mDelegate->registerCommand_dyn();} \ - - -template -class IController_delegate_ : public IController_obj -{ - protected: - IMPL *mDelegate; - public: - IController_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IController -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IController */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IFacade.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IFacade.h deleted file mode 100644 index 34310a2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IFacade.h +++ /dev/null @@ -1,99 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#define INCLUDED_org_puremvc_haxe_interfaces_IFacade - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IFacade) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IFacade_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IFacade_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void notifyObservers( ::org::puremvc::haxe::interfaces::INotification note)=0; - Dynamic notifyObservers_dyn(); -virtual Void sendNotification( ::String notificationName,Dynamic body,::String type)=0; - Dynamic sendNotification_dyn(); -virtual bool hasMediator( ::String mediatorName)=0; - Dynamic hasMediator_dyn(); -virtual ::org::puremvc::haxe::interfaces::IMediator removeMediator( ::String mediatorName)=0; - Dynamic removeMediator_dyn(); -virtual ::org::puremvc::haxe::interfaces::IMediator retrieveMediator( ::String mediatorName)=0; - Dynamic retrieveMediator_dyn(); -virtual Void registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator)=0; - Dynamic registerMediator_dyn(); -virtual bool hasCommand( ::String notificationName)=0; - Dynamic hasCommand_dyn(); -virtual Void removeCommand( ::String notificationName)=0; - Dynamic removeCommand_dyn(); -virtual Void registerCommand( ::String noteName,::Class commandClassRef)=0; - Dynamic registerCommand_dyn(); -virtual bool hasProxy( ::String proxyName)=0; - Dynamic hasProxy_dyn(); -virtual ::org::puremvc::haxe::interfaces::IProxy removeProxy( ::String proxyName)=0; - Dynamic removeProxy_dyn(); -virtual ::org::puremvc::haxe::interfaces::IProxy retrieveProxy( ::String proxyName)=0; - Dynamic retrieveProxy_dyn(); -virtual Void registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy)=0; - Dynamic registerProxy_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IFacade \ -virtual Void notifyObservers( ::org::puremvc::haxe::interfaces::INotification note) { return mDelegate->notifyObservers(note);} \ -virtual Dynamic notifyObservers_dyn() { return mDelegate->notifyObservers_dyn();} \ -virtual Void sendNotification( ::String notificationName,Dynamic body,::String type) { return mDelegate->sendNotification(notificationName,body,type);} \ -virtual Dynamic sendNotification_dyn() { return mDelegate->sendNotification_dyn();} \ -virtual bool hasMediator( ::String mediatorName) { return mDelegate->hasMediator(mediatorName);} \ -virtual Dynamic hasMediator_dyn() { return mDelegate->hasMediator_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IMediator removeMediator( ::String mediatorName) { return mDelegate->removeMediator(mediatorName);} \ -virtual Dynamic removeMediator_dyn() { return mDelegate->removeMediator_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IMediator retrieveMediator( ::String mediatorName) { return mDelegate->retrieveMediator(mediatorName);} \ -virtual Dynamic retrieveMediator_dyn() { return mDelegate->retrieveMediator_dyn();} \ -virtual Void registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator) { return mDelegate->registerMediator(mediator);} \ -virtual Dynamic registerMediator_dyn() { return mDelegate->registerMediator_dyn();} \ -virtual bool hasCommand( ::String notificationName) { return mDelegate->hasCommand(notificationName);} \ -virtual Dynamic hasCommand_dyn() { return mDelegate->hasCommand_dyn();} \ -virtual Void removeCommand( ::String notificationName) { return mDelegate->removeCommand(notificationName);} \ -virtual Dynamic removeCommand_dyn() { return mDelegate->removeCommand_dyn();} \ -virtual Void registerCommand( ::String noteName,::Class commandClassRef) { return mDelegate->registerCommand(noteName,commandClassRef);} \ -virtual Dynamic registerCommand_dyn() { return mDelegate->registerCommand_dyn();} \ -virtual bool hasProxy( ::String proxyName) { return mDelegate->hasProxy(proxyName);} \ -virtual Dynamic hasProxy_dyn() { return mDelegate->hasProxy_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IProxy removeProxy( ::String proxyName) { return mDelegate->removeProxy(proxyName);} \ -virtual Dynamic removeProxy_dyn() { return mDelegate->removeProxy_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IProxy retrieveProxy( ::String proxyName) { return mDelegate->retrieveProxy(proxyName);} \ -virtual Dynamic retrieveProxy_dyn() { return mDelegate->retrieveProxy_dyn();} \ -virtual Void registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy) { return mDelegate->registerProxy(proxy);} \ -virtual Dynamic registerProxy_dyn() { return mDelegate->registerProxy_dyn();} \ - - -template -class IFacade_delegate_ : public IFacade_obj -{ - protected: - IMPL *mDelegate; - public: - IFacade_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IFacade -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IFacade */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IMediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IMediator.h deleted file mode 100644 index 6738f8c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IMediator.h +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#define INCLUDED_org_puremvc_haxe_interfaces_IMediator - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IMediator_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IMediator_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void onRemove( )=0; - Dynamic onRemove_dyn(); -virtual Void onRegister( )=0; - Dynamic onRegister_dyn(); -virtual Void handleNotification( ::org::puremvc::haxe::interfaces::INotification notification)=0; - Dynamic handleNotification_dyn(); -virtual Array< ::String > listNotificationInterests( )=0; - Dynamic listNotificationInterests_dyn(); -virtual Void setViewComponent( Dynamic viewComponent)=0; - Dynamic setViewComponent_dyn(); -virtual Dynamic getViewComponent( )=0; - Dynamic getViewComponent_dyn(); -virtual ::String getMediatorName( )=0; - Dynamic getMediatorName_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IMediator \ -virtual Void onRemove( ) { return mDelegate->onRemove();} \ -virtual Dynamic onRemove_dyn() { return mDelegate->onRemove_dyn();} \ -virtual Void onRegister( ) { return mDelegate->onRegister();} \ -virtual Dynamic onRegister_dyn() { return mDelegate->onRegister_dyn();} \ -virtual Void handleNotification( ::org::puremvc::haxe::interfaces::INotification notification) { return mDelegate->handleNotification(notification);} \ -virtual Dynamic handleNotification_dyn() { return mDelegate->handleNotification_dyn();} \ -virtual Array< ::String > listNotificationInterests( ) { return mDelegate->listNotificationInterests();} \ -virtual Dynamic listNotificationInterests_dyn() { return mDelegate->listNotificationInterests_dyn();} \ -virtual Void setViewComponent( Dynamic viewComponent) { return mDelegate->setViewComponent(viewComponent);} \ -virtual Dynamic setViewComponent_dyn() { return mDelegate->setViewComponent_dyn();} \ -virtual Dynamic getViewComponent( ) { return mDelegate->getViewComponent();} \ -virtual Dynamic getViewComponent_dyn() { return mDelegate->getViewComponent_dyn();} \ -virtual ::String getMediatorName( ) { return mDelegate->getMediatorName();} \ -virtual Dynamic getMediatorName_dyn() { return mDelegate->getMediatorName_dyn();} \ - - -template -class IMediator_delegate_ : public IMediator_obj -{ - protected: - IMPL *mDelegate; - public: - IMediator_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IMediator -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IMediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IModel.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IModel.h deleted file mode 100644 index 7450e22..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IModel.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IModel -#define INCLUDED_org_puremvc_haxe_interfaces_IModel - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IModel) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IModel_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IModel_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual bool hasProxy( ::String proxyName)=0; - Dynamic hasProxy_dyn(); -virtual ::org::puremvc::haxe::interfaces::IProxy removeProxy( ::String proxyName)=0; - Dynamic removeProxy_dyn(); -virtual ::org::puremvc::haxe::interfaces::IProxy retrieveProxy( ::String proxyName)=0; - Dynamic retrieveProxy_dyn(); -virtual Void registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy)=0; - Dynamic registerProxy_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IModel \ -virtual bool hasProxy( ::String proxyName) { return mDelegate->hasProxy(proxyName);} \ -virtual Dynamic hasProxy_dyn() { return mDelegate->hasProxy_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IProxy removeProxy( ::String proxyName) { return mDelegate->removeProxy(proxyName);} \ -virtual Dynamic removeProxy_dyn() { return mDelegate->removeProxy_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IProxy retrieveProxy( ::String proxyName) { return mDelegate->retrieveProxy(proxyName);} \ -virtual Dynamic retrieveProxy_dyn() { return mDelegate->retrieveProxy_dyn();} \ -virtual Void registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy) { return mDelegate->registerProxy(proxy);} \ -virtual Dynamic registerProxy_dyn() { return mDelegate->registerProxy_dyn();} \ - - -template -class IModel_delegate_ : public IModel_obj -{ - protected: - IMPL *mDelegate; - public: - IModel_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IModel -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IModel */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/INotification.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/INotification.h deleted file mode 100644 index c1b5666..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/INotification.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#define INCLUDED_org_puremvc_haxe_interfaces_INotification - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class INotification_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef INotification_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual ::String toString( )=0; - Dynamic toString_dyn(); -virtual ::String getType( )=0; - Dynamic getType_dyn(); -virtual Void setType( ::String type)=0; - Dynamic setType_dyn(); -virtual Dynamic getBody( )=0; - Dynamic getBody_dyn(); -virtual Void setBody( Dynamic body)=0; - Dynamic setBody_dyn(); -virtual ::String getName( )=0; - Dynamic getName_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_INotification \ -virtual ::String toString( ) { return mDelegate->toString();} \ -virtual Dynamic toString_dyn() { return mDelegate->toString_dyn();} \ -virtual ::String getType( ) { return mDelegate->getType();} \ -virtual Dynamic getType_dyn() { return mDelegate->getType_dyn();} \ -virtual Void setType( ::String type) { return mDelegate->setType(type);} \ -virtual Dynamic setType_dyn() { return mDelegate->setType_dyn();} \ -virtual Dynamic getBody( ) { return mDelegate->getBody();} \ -virtual Dynamic getBody_dyn() { return mDelegate->getBody_dyn();} \ -virtual Void setBody( Dynamic body) { return mDelegate->setBody(body);} \ -virtual Dynamic setBody_dyn() { return mDelegate->setBody_dyn();} \ -virtual ::String getName( ) { return mDelegate->getName();} \ -virtual Dynamic getName_dyn() { return mDelegate->getName_dyn();} \ - - -template -class INotification_delegate_ : public INotification_obj -{ - protected: - IMPL *mDelegate; - public: - INotification_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_INotification -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_INotification */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/INotifier.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/INotifier.h deleted file mode 100644 index 012d494..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/INotifier.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#define INCLUDED_org_puremvc_haxe_interfaces_INotifier - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class INotifier_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef INotifier_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void sendNotification( ::String notificationName,Dynamic body,::String type)=0; - Dynamic sendNotification_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_INotifier \ -virtual Void sendNotification( ::String notificationName,Dynamic body,::String type) { return mDelegate->sendNotification(notificationName,body,type);} \ -virtual Dynamic sendNotification_dyn() { return mDelegate->sendNotification_dyn();} \ - - -template -class INotifier_delegate_ : public INotifier_obj -{ - protected: - IMPL *mDelegate; - public: - INotifier_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_INotifier -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_INotifier */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IObserver.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IObserver.h deleted file mode 100644 index 4d39db3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IObserver.h +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IObserver -#define INCLUDED_org_puremvc_haxe_interfaces_IObserver - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IObserver) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IObserver_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IObserver_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual bool compareNotifyContext( Dynamic object)=0; - Dynamic compareNotifyContext_dyn(); -virtual Void notifyObserver( ::org::puremvc::haxe::interfaces::INotification notification)=0; - Dynamic notifyObserver_dyn(); -virtual Void setNotifyContext( Dynamic notifyContext)=0; - Dynamic setNotifyContext_dyn(); -virtual Void setNotifyMethod( Dynamic notifyMethod)=0; - Dynamic setNotifyMethod_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IObserver \ -virtual bool compareNotifyContext( Dynamic object) { return mDelegate->compareNotifyContext(object);} \ -virtual Dynamic compareNotifyContext_dyn() { return mDelegate->compareNotifyContext_dyn();} \ -virtual Void notifyObserver( ::org::puremvc::haxe::interfaces::INotification notification) { return mDelegate->notifyObserver(notification);} \ -virtual Dynamic notifyObserver_dyn() { return mDelegate->notifyObserver_dyn();} \ -virtual Void setNotifyContext( Dynamic notifyContext) { return mDelegate->setNotifyContext(notifyContext);} \ -virtual Dynamic setNotifyContext_dyn() { return mDelegate->setNotifyContext_dyn();} \ -virtual Void setNotifyMethod( Dynamic notifyMethod) { return mDelegate->setNotifyMethod(notifyMethod);} \ -virtual Dynamic setNotifyMethod_dyn() { return mDelegate->setNotifyMethod_dyn();} \ - - -template -class IObserver_delegate_ : public IObserver_obj -{ - protected: - IMPL *mDelegate; - public: - IObserver_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IObserver -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IObserver */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IProxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IProxy.h deleted file mode 100644 index 0188882..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IProxy.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#define INCLUDED_org_puremvc_haxe_interfaces_IProxy - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IProxy_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IProxy_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual Void onRemove( )=0; - Dynamic onRemove_dyn(); -virtual Void onRegister( )=0; - Dynamic onRegister_dyn(); -virtual Dynamic getData( )=0; - Dynamic getData_dyn(); -virtual Void setData( Dynamic data)=0; - Dynamic setData_dyn(); -virtual ::String getProxyName( )=0; - Dynamic getProxyName_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IProxy \ -virtual Void onRemove( ) { return mDelegate->onRemove();} \ -virtual Dynamic onRemove_dyn() { return mDelegate->onRemove_dyn();} \ -virtual Void onRegister( ) { return mDelegate->onRegister();} \ -virtual Dynamic onRegister_dyn() { return mDelegate->onRegister_dyn();} \ -virtual Dynamic getData( ) { return mDelegate->getData();} \ -virtual Dynamic getData_dyn() { return mDelegate->getData_dyn();} \ -virtual Void setData( Dynamic data) { return mDelegate->setData(data);} \ -virtual Dynamic setData_dyn() { return mDelegate->setData_dyn();} \ -virtual ::String getProxyName( ) { return mDelegate->getProxyName();} \ -virtual Dynamic getProxyName_dyn() { return mDelegate->getProxyName_dyn();} \ - - -template -class IProxy_delegate_ : public IProxy_obj -{ - protected: - IMPL *mDelegate; - public: - IProxy_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IProxy -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IProxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IView.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IView.h deleted file mode 100644 index 4ce7be9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/interfaces/IView.h +++ /dev/null @@ -1,74 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IView -#define INCLUDED_org_puremvc_haxe_interfaces_IView - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IObserver) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IView) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - - -class IView_obj : public hx::Interface{ - public: - typedef hx::Interface super; - typedef IView_obj OBJ_; - HX_DO_INTERFACE_RTTI; - static void __boot(); -virtual bool hasMediator( ::String mediatorName)=0; - Dynamic hasMediator_dyn(); -virtual ::org::puremvc::haxe::interfaces::IMediator removeMediator( ::String mediatorName)=0; - Dynamic removeMediator_dyn(); -virtual ::org::puremvc::haxe::interfaces::IMediator retrieveMediator( ::String mediatorName)=0; - Dynamic retrieveMediator_dyn(); -virtual Void registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator)=0; - Dynamic registerMediator_dyn(); -virtual Void notifyObservers( ::org::puremvc::haxe::interfaces::INotification note)=0; - Dynamic notifyObservers_dyn(); -virtual Void removeObserver( ::String notificationName,Dynamic notifyContext)=0; - Dynamic removeObserver_dyn(); -virtual Void registerObserver( ::String noteName,::org::puremvc::haxe::interfaces::IObserver observer)=0; - Dynamic registerObserver_dyn(); -}; - -#define DELEGATE_org_puremvc_haxe_interfaces_IView \ -virtual bool hasMediator( ::String mediatorName) { return mDelegate->hasMediator(mediatorName);} \ -virtual Dynamic hasMediator_dyn() { return mDelegate->hasMediator_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IMediator removeMediator( ::String mediatorName) { return mDelegate->removeMediator(mediatorName);} \ -virtual Dynamic removeMediator_dyn() { return mDelegate->removeMediator_dyn();} \ -virtual ::org::puremvc::haxe::interfaces::IMediator retrieveMediator( ::String mediatorName) { return mDelegate->retrieveMediator(mediatorName);} \ -virtual Dynamic retrieveMediator_dyn() { return mDelegate->retrieveMediator_dyn();} \ -virtual Void registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator) { return mDelegate->registerMediator(mediator);} \ -virtual Dynamic registerMediator_dyn() { return mDelegate->registerMediator_dyn();} \ -virtual Void notifyObservers( ::org::puremvc::haxe::interfaces::INotification note) { return mDelegate->notifyObservers(note);} \ -virtual Dynamic notifyObservers_dyn() { return mDelegate->notifyObservers_dyn();} \ -virtual Void removeObserver( ::String notificationName,Dynamic notifyContext) { return mDelegate->removeObserver(notificationName,notifyContext);} \ -virtual Dynamic removeObserver_dyn() { return mDelegate->removeObserver_dyn();} \ -virtual Void registerObserver( ::String noteName,::org::puremvc::haxe::interfaces::IObserver observer) { return mDelegate->registerObserver(noteName,observer);} \ -virtual Dynamic registerObserver_dyn() { return mDelegate->registerObserver_dyn();} \ - - -template -class IView_delegate_ : public IView_obj -{ - protected: - IMPL *mDelegate; - public: - IView_delegate_(IMPL *inDelegate) : mDelegate(inDelegate) {} - hx::Object *__GetRealObject() { return mDelegate; } - void __Visit(HX_VISIT_PARAMS) { HX_VISIT_OBJECT(mDelegate); } - DELEGATE_org_puremvc_haxe_interfaces_IView -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces - -#endif /* INCLUDED_org_puremvc_haxe_interfaces_IView */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/command/MacroCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/command/MacroCommand.h deleted file mode 100644 index 9cd77b5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/command/MacroCommand.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_MacroCommand -#define INCLUDED_org_puremvc_haxe_patterns_command_MacroCommand - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS0(List) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,MacroCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace command{ - - -class MacroCommand_obj : public ::org::puremvc::haxe::patterns::observer::Notifier_obj{ - public: - typedef ::org::puremvc::haxe::patterns::observer::Notifier_obj super; - typedef MacroCommand_obj OBJ_; - MacroCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< MacroCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~MacroCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::ICommand_obj *() - { return new ::org::puremvc::haxe::interfaces::ICommand_delegate_< MacroCommand_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("MacroCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification notification); - Dynamic execute_dyn(); - - virtual Void addSubCommand( ::Class commandClassRef); - Dynamic addSubCommand_dyn(); - - virtual Void initializeMacroCommand( ); - Dynamic initializeMacroCommand_dyn(); - - ::List subCommands; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace command - -#endif /* INCLUDED_org_puremvc_haxe_patterns_command_MacroCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/command/SimpleCommand.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/command/SimpleCommand.h deleted file mode 100644 index 4d61266..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/command/SimpleCommand.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#define INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,command,SimpleCommand) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace command{ - - -class SimpleCommand_obj : public ::org::puremvc::haxe::patterns::observer::Notifier_obj{ - public: - typedef ::org::puremvc::haxe::patterns::observer::Notifier_obj super; - typedef SimpleCommand_obj OBJ_; - SimpleCommand_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< SimpleCommand_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~SimpleCommand_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::ICommand_obj *() - { return new ::org::puremvc::haxe::interfaces::ICommand_delegate_< SimpleCommand_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("SimpleCommand"); } - - virtual Void execute( ::org::puremvc::haxe::interfaces::INotification notification); - Dynamic execute_dyn(); - -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace command - -#endif /* INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/facade/Facade.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/facade/Facade.h deleted file mode 100644 index 6046b13..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/facade/Facade.h +++ /dev/null @@ -1,114 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_facade_Facade -#define INCLUDED_org_puremvc_haxe_patterns_facade_Facade - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,ICommand) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IController) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IFacade) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IModel) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IView) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,facade,Facade) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace facade{ - - -class Facade_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Facade_obj OBJ_; - Facade_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Facade_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Facade_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IFacade_obj *() - { return new ::org::puremvc::haxe::interfaces::IFacade_delegate_< Facade_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Facade"); } - - ::org::puremvc::haxe::interfaces::IView view; /* REM */ - ::org::puremvc::haxe::interfaces::IModel model; /* REM */ - ::org::puremvc::haxe::interfaces::IController controller; /* REM */ - virtual Void notifyObservers( ::org::puremvc::haxe::interfaces::INotification notification); - Dynamic notifyObservers_dyn(); - - virtual Void sendNotification( ::String notificationName,Dynamic body,::String type); - Dynamic sendNotification_dyn(); - - virtual bool hasMediator( ::String mediatorName); - Dynamic hasMediator_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IMediator removeMediator( ::String mediatorName); - Dynamic removeMediator_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IMediator retrieveMediator( ::String mediatorName); - Dynamic retrieveMediator_dyn(); - - virtual Void registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator); - Dynamic registerMediator_dyn(); - - virtual bool hasProxy( ::String proxyName); - Dynamic hasProxy_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IProxy removeProxy( ::String proxyName); - Dynamic removeProxy_dyn(); - - virtual ::org::puremvc::haxe::interfaces::IProxy retrieveProxy( ::String proxyName); - Dynamic retrieveProxy_dyn(); - - virtual Void registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy); - Dynamic registerProxy_dyn(); - - virtual bool hasCommand( ::String notificationName); - Dynamic hasCommand_dyn(); - - virtual Void removeCommand( ::String notificationName); - Dynamic removeCommand_dyn(); - - virtual Void registerCommand( ::String notificationName,::Class commandClassRef); - Dynamic registerCommand_dyn(); - - virtual Void initializeView( ); - Dynamic initializeView_dyn(); - - virtual Void initializeModel( ); - Dynamic initializeModel_dyn(); - - virtual Void initializeController( ); - Dynamic initializeController_dyn(); - - virtual Void initializeFacade( ); - Dynamic initializeFacade_dyn(); - - static ::org::puremvc::haxe::interfaces::IFacade getInstance( ); - static Dynamic getInstance_dyn(); - - static ::org::puremvc::haxe::interfaces::IFacade instance; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace facade - -#endif /* INCLUDED_org_puremvc_haxe_patterns_facade_Facade */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/mediator/Mediator.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/mediator/Mediator.h deleted file mode 100644 index a044ed8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/mediator/Mediator.h +++ /dev/null @@ -1,77 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#define INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IMediator) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,mediator,Mediator) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace mediator{ - - -class Mediator_obj : public ::org::puremvc::haxe::patterns::observer::Notifier_obj{ - public: - typedef ::org::puremvc::haxe::patterns::observer::Notifier_obj super; - typedef Mediator_obj OBJ_; - Mediator_obj(); - Void __construct(::String mediatorName,Dynamic viewComponent); - - public: - static hx::ObjectPtr< Mediator_obj > __new(::String mediatorName,Dynamic viewComponent); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Mediator_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IMediator_obj *() - { return new ::org::puremvc::haxe::interfaces::IMediator_delegate_< Mediator_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Mediator"); } - - Dynamic viewComponent; /* REM */ - ::String mediatorName; /* REM */ - virtual Void onRemove( ); - Dynamic onRemove_dyn(); - - virtual Void onRegister( ); - Dynamic onRegister_dyn(); - - virtual Void handleNotification( ::org::puremvc::haxe::interfaces::INotification notification); - Dynamic handleNotification_dyn(); - - virtual Array< ::String > listNotificationInterests( ); - Dynamic listNotificationInterests_dyn(); - - virtual Dynamic getViewComponent( ); - Dynamic getViewComponent_dyn(); - - virtual Void setViewComponent( Dynamic viewComponent); - Dynamic setViewComponent_dyn(); - - virtual ::String getMediatorName( ); - Dynamic getMediatorName_dyn(); - - static ::String NAME; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace mediator - -#endif /* INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/observer/Notification.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/observer/Notification.h deleted file mode 100644 index 7841b00..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/observer/Notification.h +++ /dev/null @@ -1,70 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notification -#define INCLUDED_org_puremvc_haxe_patterns_observer_Notification - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notification) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace observer{ - - -class Notification_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Notification_obj OBJ_; - Notification_obj(); - Void __construct(::String name,Dynamic body,::String type); - - public: - static hx::ObjectPtr< Notification_obj > __new(::String name,Dynamic body,::String type); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Notification_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::INotification_obj *() - { return new ::org::puremvc::haxe::interfaces::INotification_delegate_< Notification_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Notification"); } - - Dynamic body; /* REM */ - ::String type; /* REM */ - ::String name; /* REM */ - virtual ::String toString( ); - Dynamic toString_dyn(); - - virtual ::String getType( ); - Dynamic getType_dyn(); - - virtual Void setType( ::String type); - Dynamic setType_dyn(); - - virtual Dynamic getBody( ); - Dynamic getBody_dyn(); - - virtual Void setBody( Dynamic body); - Dynamic setBody_dyn(); - - virtual ::String getName( ); - Dynamic getName_dyn(); - -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace observer - -#endif /* INCLUDED_org_puremvc_haxe_patterns_observer_Notification */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/observer/Notifier.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/observer/Notifier.h deleted file mode 100644 index 53cb0c3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/observer/Notifier.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#define INCLUDED_org_puremvc_haxe_patterns_observer_Notifier - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IFacade) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace observer{ - - -class Notifier_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Notifier_obj OBJ_; - Notifier_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Notifier_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Notifier_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::INotifier_obj *() - { return new ::org::puremvc::haxe::interfaces::INotifier_delegate_< Notifier_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Notifier"); } - - ::org::puremvc::haxe::interfaces::IFacade facade; /* REM */ - virtual Void sendNotification( ::String notificationName,Dynamic body,::String type); - Dynamic sendNotification_dyn(); - -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace observer - -#endif /* INCLUDED_org_puremvc_haxe_patterns_observer_Notifier */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/observer/Observer.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/observer/Observer.h deleted file mode 100644 index 3c95efa..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/observer/Observer.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Observer -#define INCLUDED_org_puremvc_haxe_patterns_observer_Observer - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotification) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IObserver) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Observer) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace observer{ - - -class Observer_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Observer_obj OBJ_; - Observer_obj(); - Void __construct(Dynamic notifyMethod,Dynamic notifyContext); - - public: - static hx::ObjectPtr< Observer_obj > __new(Dynamic notifyMethod,Dynamic notifyContext); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Observer_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IObserver_obj *() - { return new ::org::puremvc::haxe::interfaces::IObserver_delegate_< Observer_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Observer"); } - - virtual bool compareNotifyContext( Dynamic object); - Dynamic compareNotifyContext_dyn(); - - virtual Void notifyObserver( ::org::puremvc::haxe::interfaces::INotification notification); - Dynamic notifyObserver_dyn(); - - virtual Dynamic getNotifyContext( ); - Dynamic getNotifyContext_dyn(); - - virtual Dynamic getNotifyMethod( ); - Dynamic getNotifyMethod_dyn(); - - virtual Void setNotifyContext( Dynamic notifyContext); - Dynamic setNotifyContext_dyn(); - - virtual Void setNotifyMethod( Dynamic notifyMethod); - Dynamic setNotifyMethod_dyn(); - - Dynamic context; /* REM */ - Dynamic notify; /* REM */ - Dynamic ¬ify_dyn() { return notify;} -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace observer - -#endif /* INCLUDED_org_puremvc_haxe_patterns_observer_Observer */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/proxy/Proxy.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/proxy/Proxy.h deleted file mode 100644 index aa8d647..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/org/puremvc/haxe/patterns/proxy/Proxy.h +++ /dev/null @@ -1,70 +0,0 @@ -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#define INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy - -#ifndef HXCPP_H -#include -#endif - -#include -#include -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,INotifier) -HX_DECLARE_CLASS4(org,puremvc,haxe,interfaces,IProxy) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,observer,Notifier) -HX_DECLARE_CLASS5(org,puremvc,haxe,patterns,proxy,Proxy) -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace proxy{ - - -class Proxy_obj : public ::org::puremvc::haxe::patterns::observer::Notifier_obj{ - public: - typedef ::org::puremvc::haxe::patterns::observer::Notifier_obj super; - typedef Proxy_obj OBJ_; - Proxy_obj(); - Void __construct(::String proxyName,Dynamic data); - - public: - static hx::ObjectPtr< Proxy_obj > __new(::String proxyName,Dynamic data); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Proxy_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - inline operator ::org::puremvc::haxe::interfaces::IProxy_obj *() - { return new ::org::puremvc::haxe::interfaces::IProxy_delegate_< Proxy_obj >(this); } - hx::Object *__ToInterface(const type_info &inType); - ::String __ToString() const { return HX_CSTRING("Proxy"); } - - Dynamic data; /* REM */ - ::String proxyName; /* REM */ - virtual Void onRemove( ); - Dynamic onRemove_dyn(); - - virtual Void onRegister( ); - Dynamic onRegister_dyn(); - - virtual Dynamic getData( ); - Dynamic getData_dyn(); - - virtual Void setData( Dynamic data); - Dynamic setData_dyn(); - - virtual ::String getProxyName( ); - Dynamic getProxyName_dyn(); - - static ::String NAME; /* REM */ -}; - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace proxy - -#endif /* INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/pages/Psvg.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/pages/Psvg.h deleted file mode 100644 index 667cfbb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/pages/Psvg.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef INCLUDED_pages_Psvg -#define INCLUDED_pages_Psvg - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,ActorComponent) -HX_DECLARE_CLASS5(ca,confidant,glory,view,components,PageComponent) -HX_DECLARE_CLASS1(haxe,Timer) -HX_DECLARE_CLASS2(neash,display,DisplayObject) -HX_DECLARE_CLASS2(neash,display,DisplayObjectContainer) -HX_DECLARE_CLASS2(neash,display,IBitmapDrawable) -HX_DECLARE_CLASS2(neash,display,InteractiveObject) -HX_DECLARE_CLASS2(neash,display,Sprite) -HX_DECLARE_CLASS2(neash,events,EventDispatcher) -HX_DECLARE_CLASS2(neash,events,IEventDispatcher) -HX_DECLARE_CLASS1(pages,Psvg) -namespace pages{ - - -class Psvg_obj : public ::ca::confidant::glory::view::components::PageComponent_obj{ - public: - typedef ::ca::confidant::glory::view::components::PageComponent_obj super; - typedef Psvg_obj OBJ_; - Psvg_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< Psvg_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Psvg_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Psvg"); } - - virtual Void onTimerTick( ); - Dynamic onTimerTick_dyn(); - - virtual Void startTimer( hx::Null< int > i); - Dynamic startTimer_dyn(); - - virtual Void init( ); - - ::ca::confidant::glory::view::components::ActorComponent star; /* REM */ - ::haxe::Timer myTimer; /* REM */ -}; - -} // end namespace pages - -#endif /* INCLUDED_pages_Psvg */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/FileSystem.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/FileSystem.h deleted file mode 100644 index c5a8fbe..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/FileSystem.h +++ /dev/null @@ -1,85 +0,0 @@ -#ifndef INCLUDED_sys_FileSystem -#define INCLUDED_sys_FileSystem - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS1(sys,FileSystem) -HX_DECLARE_CLASS2(sys,_FileSystem,FileKind) -namespace sys{ - - -class FileSystem_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef FileSystem_obj OBJ_; - FileSystem_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< FileSystem_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~FileSystem_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("FileSystem"); } - - static bool exists( ::String path); - static Dynamic exists_dyn(); - - static Void rename( ::String path,::String newpath); - static Dynamic rename_dyn(); - - static Dynamic stat( ::String path); - static Dynamic stat_dyn(); - - static ::String fullPath( ::String relpath); - static Dynamic fullPath_dyn(); - - static ::sys::_FileSystem::FileKind kind( ::String path); - static Dynamic kind_dyn(); - - static bool isDirectory( ::String path); - static Dynamic isDirectory_dyn(); - - static Void createDirectory( ::String path); - static Dynamic createDirectory_dyn(); - - static Void deleteFile( ::String path); - static Dynamic deleteFile_dyn(); - - static Void deleteDirectory( ::String path); - static Dynamic deleteDirectory_dyn(); - - static Array< ::String > readDirectory( ::String path); - static Dynamic readDirectory_dyn(); - - static Dynamic sys_exists; /* REM */ - static Dynamic &sys_exists_dyn() { return sys_exists;} - static Dynamic file_delete; /* REM */ - static Dynamic &file_delete_dyn() { return file_delete;} - static Dynamic sys_rename; /* REM */ - static Dynamic &sys_rename_dyn() { return sys_rename;} - static Dynamic sys_stat; /* REM */ - static Dynamic &sys_stat_dyn() { return sys_stat;} - static Dynamic sys_file_type; /* REM */ - static Dynamic &sys_file_type_dyn() { return sys_file_type;} - static Dynamic sys_create_dir; /* REM */ - static Dynamic &sys_create_dir_dyn() { return sys_create_dir;} - static Dynamic sys_remove_dir; /* REM */ - static Dynamic &sys_remove_dir_dyn() { return sys_remove_dir;} - static Dynamic sys_read_dir; /* REM */ - static Dynamic &sys_read_dir_dyn() { return sys_read_dir;} - static Dynamic file_full_path; /* REM */ - static Dynamic &file_full_path_dyn() { return file_full_path;} -}; - -} // end namespace sys - -#endif /* INCLUDED_sys_FileSystem */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/_FileSystem/FileKind.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/_FileSystem/FileKind.h deleted file mode 100644 index 9bde4c3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/_FileSystem/FileKind.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_sys__FileSystem_FileKind -#define INCLUDED_sys__FileSystem_FileKind - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(sys,_FileSystem,FileKind) -namespace sys{ -namespace _FileSystem{ - - -class FileKind_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef FileKind_obj OBJ_; - - public: - FileKind_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("sys._FileSystem.FileKind"); } - ::String __ToString() const { return HX_CSTRING("FileKind.") + tag; } - - static ::sys::_FileSystem::FileKind kdir; - static inline ::sys::_FileSystem::FileKind kdir_dyn() { return kdir; } - static ::sys::_FileSystem::FileKind kfile; - static inline ::sys::_FileSystem::FileKind kfile_dyn() { return kfile; } - static ::sys::_FileSystem::FileKind kother(::String k); - static Dynamic kother_dyn(); -}; - -} // end namespace sys -} // end namespace _FileSystem - -#endif /* INCLUDED_sys__FileSystem_FileKind */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/File.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/File.h deleted file mode 100644 index 4a6c5cc..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/File.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef INCLUDED_sys_io_File -#define INCLUDED_sys_io_File - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Input) -HX_DECLARE_CLASS2(haxe,io,Output) -HX_DECLARE_CLASS2(sys,io,File) -HX_DECLARE_CLASS2(sys,io,FileInput) -HX_DECLARE_CLASS2(sys,io,FileOutput) -namespace sys{ -namespace io{ - - -class File_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef File_obj OBJ_; - File_obj(); - Void __construct(); - - public: - static hx::ObjectPtr< File_obj > __new(); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~File_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("File"); } - - static ::String getContent( ::String path); - static Dynamic getContent_dyn(); - - static ::haxe::io::Bytes getBytes( ::String path); - static Dynamic getBytes_dyn(); - - static Void saveContent( ::String path,::String content); - static Dynamic saveContent_dyn(); - - static Void saveBytes( ::String path,::haxe::io::Bytes bytes); - static Dynamic saveBytes_dyn(); - - static ::sys::io::FileInput read( ::String path,hx::Null< bool > binary); - static Dynamic read_dyn(); - - static ::sys::io::FileOutput write( ::String path,hx::Null< bool > binary); - static Dynamic write_dyn(); - - static ::sys::io::FileOutput append( ::String path,hx::Null< bool > binary); - static Dynamic append_dyn(); - - static Void copy( ::String src,::String dst); - static Dynamic copy_dyn(); - - static Dynamic file_contents; /* REM */ - static Dynamic &file_contents_dyn() { return file_contents;} - static Dynamic file_open; /* REM */ - static Dynamic &file_open_dyn() { return file_open;} -}; - -} // end namespace sys -} // end namespace io - -#endif /* INCLUDED_sys_io_File */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/FileInput.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/FileInput.h deleted file mode 100644 index ae5707c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/FileInput.h +++ /dev/null @@ -1,70 +0,0 @@ -#ifndef INCLUDED_sys_io_FileInput -#define INCLUDED_sys_io_FileInput - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Input) -HX_DECLARE_CLASS2(sys,io,FileInput) -HX_DECLARE_CLASS2(sys,io,FileSeek) -namespace sys{ -namespace io{ - - -class FileInput_obj : public ::haxe::io::Input_obj{ - public: - typedef ::haxe::io::Input_obj super; - typedef FileInput_obj OBJ_; - FileInput_obj(); - Void __construct(Dynamic f); - - public: - static hx::ObjectPtr< FileInput_obj > __new(Dynamic f); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~FileInput_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("FileInput"); } - - virtual bool eof( ); - Dynamic eof_dyn(); - - virtual int tell( ); - Dynamic tell_dyn(); - - virtual Void seek( int p,::sys::io::FileSeek pos); - Dynamic seek_dyn(); - - virtual Void close( ); - - virtual int readBytes( ::haxe::io::Bytes s,int p,int l); - - virtual int readByte( ); - - Dynamic __f; /* REM */ - static Dynamic file_eof; /* REM */ - static Dynamic &file_eof_dyn() { return file_eof;} - static Dynamic file_read; /* REM */ - static Dynamic &file_read_dyn() { return file_read;} - static Dynamic file_read_char; /* REM */ - static Dynamic &file_read_char_dyn() { return file_read_char;} - static Dynamic file_close; /* REM */ - static Dynamic &file_close_dyn() { return file_close;} - static Dynamic file_seek; /* REM */ - static Dynamic &file_seek_dyn() { return file_seek;} - static Dynamic file_tell; /* REM */ - static Dynamic &file_tell_dyn() { return file_tell;} -}; - -} // end namespace sys -} // end namespace io - -#endif /* INCLUDED_sys_io_FileInput */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/FileOutput.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/FileOutput.h deleted file mode 100644 index 4fbc94f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/FileOutput.h +++ /dev/null @@ -1,69 +0,0 @@ -#ifndef INCLUDED_sys_io_FileOutput -#define INCLUDED_sys_io_FileOutput - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Output) -HX_DECLARE_CLASS2(sys,io,FileOutput) -HX_DECLARE_CLASS2(sys,io,FileSeek) -namespace sys{ -namespace io{ - - -class FileOutput_obj : public ::haxe::io::Output_obj{ - public: - typedef ::haxe::io::Output_obj super; - typedef FileOutput_obj OBJ_; - FileOutput_obj(); - Void __construct(Dynamic f); - - public: - static hx::ObjectPtr< FileOutput_obj > __new(Dynamic f); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~FileOutput_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("FileOutput"); } - - virtual int tell( ); - Dynamic tell_dyn(); - - virtual Void seek( int p,::sys::io::FileSeek pos); - Dynamic seek_dyn(); - - virtual Void close( ); - - virtual Void flush( ); - - virtual int writeBytes( ::haxe::io::Bytes s,int p,int l); - - virtual Void writeByte( int c); - - Dynamic __f; /* REM */ - static Dynamic file_close; /* REM */ - static Dynamic &file_close_dyn() { return file_close;} - static Dynamic file_seek; /* REM */ - static Dynamic &file_seek_dyn() { return file_seek;} - static Dynamic file_tell; /* REM */ - static Dynamic &file_tell_dyn() { return file_tell;} - static Dynamic file_flush; /* REM */ - static Dynamic &file_flush_dyn() { return file_flush;} - static Dynamic file_write; /* REM */ - static Dynamic &file_write_dyn() { return file_write;} - static Dynamic file_write_char; /* REM */ - static Dynamic &file_write_char_dyn() { return file_write_char;} -}; - -} // end namespace sys -} // end namespace io - -#endif /* INCLUDED_sys_io_FileOutput */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/FileSeek.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/FileSeek.h deleted file mode 100644 index 8e4a353..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/FileSeek.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef INCLUDED_sys_io_FileSeek -#define INCLUDED_sys_io_FileSeek - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(sys,io,FileSeek) -namespace sys{ -namespace io{ - - -class FileSeek_obj : public hx::EnumBase_obj -{ - typedef hx::EnumBase_obj super; - typedef FileSeek_obj OBJ_; - - public: - FileSeek_obj() {}; - HX_DO_ENUM_RTTI; - static void __boot(); - static void __register(); - ::String GetEnumName( ) const { return HX_CSTRING("sys.io.FileSeek"); } - ::String __ToString() const { return HX_CSTRING("FileSeek.") + tag; } - - static ::sys::io::FileSeek SeekBegin; - static inline ::sys::io::FileSeek SeekBegin_dyn() { return SeekBegin; } - static ::sys::io::FileSeek SeekCur; - static inline ::sys::io::FileSeek SeekCur_dyn() { return SeekCur; } - static ::sys::io::FileSeek SeekEnd; - static inline ::sys::io::FileSeek SeekEnd_dyn() { return SeekEnd; } -}; - -} // end namespace sys -} // end namespace io - -#endif /* INCLUDED_sys_io_FileSeek */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/Process.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/Process.h deleted file mode 100644 index 3c109bb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/Process.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef INCLUDED_sys_io_Process -#define INCLUDED_sys_io_Process - -#ifndef HXCPP_H -#include -#endif - -HX_DECLARE_CLASS2(haxe,io,Input) -HX_DECLARE_CLASS2(haxe,io,Output) -HX_DECLARE_CLASS2(sys,io,Process) -namespace sys{ -namespace io{ - - -class Process_obj : public hx::Object{ - public: - typedef hx::Object super; - typedef Process_obj OBJ_; - Process_obj(); - Void __construct(::String cmd,Array< ::String > args); - - public: - static hx::ObjectPtr< Process_obj > __new(::String cmd,Array< ::String > args); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Process_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Process"); } - - virtual Void kill( ); - Dynamic kill_dyn(); - - virtual Void close( ); - Dynamic close_dyn(); - - virtual int exitCode( ); - Dynamic exitCode_dyn(); - - virtual int getPid( ); - Dynamic getPid_dyn(); - - ::haxe::io::Output _stdin; /* REM */ - ::haxe::io::Input _stderr; /* REM */ - ::haxe::io::Input _stdout; /* REM */ - Dynamic p; /* REM */ - static Dynamic _run; /* REM */ - static Dynamic &_run_dyn() { return _run;} - static Dynamic _exit; /* REM */ - static Dynamic &_exit_dyn() { return _exit;} - static Dynamic _pid; /* REM */ - static Dynamic &_pid_dyn() { return _pid;} - static Dynamic _close; /* REM */ - static Dynamic &_close_dyn() { return _close;} -}; - -} // end namespace sys -} // end namespace io - -#endif /* INCLUDED_sys_io_Process */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/_Process/Stdin.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/_Process/Stdin.h deleted file mode 100644 index 67872cc..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/_Process/Stdin.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef INCLUDED_sys_io__Process_Stdin -#define INCLUDED_sys_io__Process_Stdin - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Output) -HX_DECLARE_CLASS3(sys,io,_Process,Stdin) -namespace sys{ -namespace io{ -namespace _Process{ - - -class Stdin_obj : public ::haxe::io::Output_obj{ - public: - typedef ::haxe::io::Output_obj super; - typedef Stdin_obj OBJ_; - Stdin_obj(); - Void __construct(Dynamic p); - - public: - static hx::ObjectPtr< Stdin_obj > __new(Dynamic p); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Stdin_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Stdin"); } - - virtual int writeBytes( ::haxe::io::Bytes buf,int pos,int len); - - virtual Void writeByte( int c); - - virtual Void close( ); - - ::haxe::io::Bytes buf; /* REM */ - Dynamic p; /* REM */ - static Dynamic _stdin_write; /* REM */ - static Dynamic &_stdin_write_dyn() { return _stdin_write;} - static Dynamic _stdin_close; /* REM */ - static Dynamic &_stdin_close_dyn() { return _stdin_close;} -}; - -} // end namespace sys -} // end namespace io -} // end namespace _Process - -#endif /* INCLUDED_sys_io__Process_Stdin */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/_Process/Stdout.h b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/_Process/Stdout.h deleted file mode 100644 index 1cdf25d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/include/sys/io/_Process/Stdout.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef INCLUDED_sys_io__Process_Stdout -#define INCLUDED_sys_io__Process_Stdout - -#ifndef HXCPP_H -#include -#endif - -#include -HX_DECLARE_CLASS2(haxe,io,Bytes) -HX_DECLARE_CLASS2(haxe,io,Input) -HX_DECLARE_CLASS3(sys,io,_Process,Stdout) -namespace sys{ -namespace io{ -namespace _Process{ - - -class Stdout_obj : public ::haxe::io::Input_obj{ - public: - typedef ::haxe::io::Input_obj super; - typedef Stdout_obj OBJ_; - Stdout_obj(); - Void __construct(Dynamic p,bool out); - - public: - static hx::ObjectPtr< Stdout_obj > __new(Dynamic p,bool out); - static Dynamic __CreateEmpty(); - static Dynamic __Create(hx::DynamicArray inArgs); - ~Stdout_obj(); - - HX_DO_RTTI; - static void __boot(); - static void __register(); - void __Mark(HX_MARK_PARAMS); - void __Visit(HX_VISIT_PARAMS); - ::String __ToString() const { return HX_CSTRING("Stdout"); } - - virtual int readBytes( ::haxe::io::Bytes str,int pos,int len); - - virtual int readByte( ); - - ::haxe::io::Bytes buf; /* REM */ - bool out; /* REM */ - Dynamic p; /* REM */ - static Dynamic _stdout_read; /* REM */ - static Dynamic &_stdout_read_dyn() { return _stdout_read;} - static Dynamic _stderr_read; /* REM */ - static Dynamic &_stderr_read_dyn() { return _stderr_read;} -}; - -} // end namespace sys -} // end namespace io -} // end namespace _Process - -#endif /* INCLUDED_sys_io__Process_Stdout */ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/Options.txt b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/Options.txt deleted file mode 100644 index ac820d2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/Options.txt +++ /dev/null @@ -1,17 +0,0 @@ -HXCPP_CLANG -OBJC_ARC -actuate -cpp -haxe_208 -haxe_209 -haxe_210 -ios -iphone -mobile -nme -nme_install_tool -simulator -svg -sys -true -/usr/lib/haxe/lib/hxcpp/2,10/ \ No newline at end of file diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ApplicationMain.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ApplicationMain.o deleted file mode 100644 index 4d9e7dd..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ApplicationMain.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Array.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Array.o deleted file mode 100644 index d01a3f5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Array.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Class.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Class.o deleted file mode 100644 index 83a6295..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Class.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Date.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Date.o deleted file mode 100644 index ecf8122..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Date.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Dynamic.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Dynamic.o deleted file mode 100644 index ee44e29..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Dynamic.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/EReg.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/EReg.o deleted file mode 100644 index 6427747..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/EReg.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Enum.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Enum.o deleted file mode 100644 index 93b6b2c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Enum.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Hash.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Hash.o deleted file mode 100644 index 909a9e5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Hash.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/IntHash.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/IntHash.o deleted file mode 100644 index b4b5c7e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/IntHash.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/IntIter.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/IntIter.o deleted file mode 100644 index 35e2187..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/IntIter.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/List.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/List.o deleted file mode 100644 index 02d2f10..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/List.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Main.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Main.o deleted file mode 100644 index b469b01..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Main.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Math.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Math.o deleted file mode 100644 index b39b587..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Math.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Reflect.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Reflect.o deleted file mode 100644 index 9d49e69..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Reflect.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Std.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Std.o deleted file mode 100644 index ec1c856..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Std.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/String.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/String.o deleted file mode 100644 index 1297c5a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/String.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/StringBuf.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/StringBuf.o deleted file mode 100644 index 7a73388..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/StringBuf.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/StringTools.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/StringTools.o deleted file mode 100644 index 10c1055..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/StringTools.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Sys.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Sys.o deleted file mode 100644 index 00b63b5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Sys.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Type.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Type.o deleted file mode 100644 index ad2c42b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Type.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ValueType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ValueType.o deleted file mode 100644 index 00a6025..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ValueType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Xml.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Xml.o deleted file mode 100644 index 8de6e1c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/Xml.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/XmlType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/XmlType.o deleted file mode 100644 index 4803594..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/XmlType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/__boot__.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/__boot__.o deleted file mode 100644 index b834250..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/__boot__.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/__files__.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/__files__.o deleted file mode 100644 index 81d095a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/__files__.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/__lib__.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/__lib__.o deleted file mode 100644 index 594cd20..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/__lib__.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/__resources__.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/__resources__.o deleted file mode 100644 index 8d48c0b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/__resources__.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/ApplicationFacade.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/ApplicationFacade.o deleted file mode 100644 index 42c2ac0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/ApplicationFacade.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/GloryFrameworkApp.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/GloryFrameworkApp.o deleted file mode 100644 index 2630f70..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/GloryFrameworkApp.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/Tracer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/Tracer.o deleted file mode 100644 index 9adabe2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/Tracer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/BuildControlsCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/BuildControlsCommand.o deleted file mode 100644 index 20a1c5d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/BuildControlsCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/BuildPageCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/BuildPageCommand.o deleted file mode 100644 index 10033b8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/BuildPageCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/ChangePageCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/ChangePageCommand.o deleted file mode 100644 index acd9b21..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/ChangePageCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/GotoIntroCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/GotoIntroCommand.o deleted file mode 100644 index 69fb747..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/GotoIntroCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.o deleted file mode 100644 index f6e168b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/RemovePageCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/RemovePageCommand.o deleted file mode 100644 index b09b53c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/RemovePageCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.o deleted file mode 100644 index f8cd7a2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/Startup1_App_Command.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/Startup1_App_Command.o deleted file mode 100644 index 2d9a33b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/Startup1_App_Command.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/Startup2_Proxies_Command.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/Startup2_Proxies_Command.o deleted file mode 100644 index de4c076..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/Startup2_Proxies_Command.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/StartupCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/StartupCommand.o deleted file mode 100644 index 1ef9416..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/StartupCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/TimerDisableCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/TimerDisableCommand.o deleted file mode 100644 index 500147f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/TimerDisableCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/TimerEnableCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/TimerEnableCommand.o deleted file mode 100644 index c3e94b5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/controller/TimerEnableCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/model/ActorComponentConfigProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/model/ActorComponentConfigProxy.o deleted file mode 100644 index 72c30dc..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/model/ActorComponentConfigProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/model/ControlsRegistryProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/model/ControlsRegistryProxy.o deleted file mode 100644 index b52d20e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/model/ControlsRegistryProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/model/LoaderProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/model/LoaderProxy.o deleted file mode 100644 index fe59835..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/model/LoaderProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/model/PagesConfigProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/model/PagesConfigProxy.o deleted file mode 100644 index 7cb2b62..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/model/PagesConfigProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/model/TickerProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/model/TickerProxy.o deleted file mode 100644 index 275af77..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/model/TickerProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/ActorComponentMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/ActorComponentMediator.o deleted file mode 100644 index fee33b6..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/ActorComponentMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/ApplicationMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/ApplicationMediator.o deleted file mode 100644 index 94572cc..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/ApplicationMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/ControlComponentMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/ControlComponentMediator.o deleted file mode 100644 index cd3a6bd..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/ControlComponentMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/PageMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/PageMediator.o deleted file mode 100644 index 3d2d73f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/PageMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/components/ActorComponent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/components/ActorComponent.o deleted file mode 100644 index c8f2635..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/components/ActorComponent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/components/ControlComponent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/components/ControlComponent.o deleted file mode 100644 index 4157958..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/components/ControlComponent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/components/PageComponent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/components/PageComponent.o deleted file mode 100644 index f6b69d6..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/components/PageComponent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/constants/ControlConstants.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/constants/ControlConstants.o deleted file mode 100644 index fe6ada4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/ca/confidant/glory/view/constants/ControlConstants.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/cpp/Lib.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/cpp/Lib.o deleted file mode 100644 index 135a3ad..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/cpp/Lib.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/cpp/rtti/FieldNumericIntegerLookup.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/cpp/rtti/FieldNumericIntegerLookup.o deleted file mode 100644 index ec35d96..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/cpp/rtti/FieldNumericIntegerLookup.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/cpp/zip/Compress.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/cpp/zip/Compress.o deleted file mode 100644 index b23a93b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/cpp/zip/Compress.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/cpp/zip/Flush.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/cpp/zip/Flush.o deleted file mode 100644 index c44f879..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/cpp/zip/Flush.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/cpp/zip/Uncompress.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/cpp/zip/Uncompress.o deleted file mode 100644 index 77ab2e0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/cpp/zip/Uncompress.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/SVG.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/SVG.o deleted file mode 100644 index 0dcd92e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/SVG.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/Gfx.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/Gfx.o deleted file mode 100644 index 72dc735..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/Gfx.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/Gfx2Haxe.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/Gfx2Haxe.o deleted file mode 100644 index 2d72337..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/Gfx2Haxe.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/GfxBytes.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/GfxBytes.o deleted file mode 100644 index f39e255..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/GfxBytes.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/GfxExtent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/GfxExtent.o deleted file mode 100644 index 9172f32..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/GfxExtent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/GfxGraphics.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/GfxGraphics.o deleted file mode 100644 index 100ac0f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/GfxGraphics.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/GfxTextFinder.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/GfxTextFinder.o deleted file mode 100644 index e26731b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/GfxTextFinder.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/Gradient.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/Gradient.o deleted file mode 100644 index 50094b7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/Gradient.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/LineStyle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/LineStyle.o deleted file mode 100644 index 4a8a8fc..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/gfx/LineStyle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/ArcSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/ArcSegment.o deleted file mode 100644 index 98b587a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/ArcSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/CubicSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/CubicSegment.o deleted file mode 100644 index 01ff207..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/CubicSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/DisplayElement.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/DisplayElement.o deleted file mode 100644 index 4fe7585..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/DisplayElement.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/DrawSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/DrawSegment.o deleted file mode 100644 index 00880ae..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/DrawSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/FillType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/FillType.o deleted file mode 100644 index cee151a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/FillType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/Grad.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/Grad.o deleted file mode 100644 index 7903387..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/Grad.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/Group.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/Group.o deleted file mode 100644 index bc57658..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/Group.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/MoveSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/MoveSegment.o deleted file mode 100644 index a63ec99..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/MoveSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/Path.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/Path.o deleted file mode 100644 index f2e349a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/Path.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/PathParser.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/PathParser.o deleted file mode 100644 index 26dd646..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/PathParser.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/PathSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/PathSegment.o deleted file mode 100644 index 632ded9..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/PathSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/QuadraticSegment.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/QuadraticSegment.o deleted file mode 100644 index b699c0c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/QuadraticSegment.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/RenderContext.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/RenderContext.o deleted file mode 100644 index 14e6eda..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/RenderContext.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/SVGData.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/SVGData.o deleted file mode 100644 index c022310..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/SVGData.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/SVGRenderer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/SVGRenderer.o deleted file mode 100644 index c17b82f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/SVGRenderer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/Text.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/Text.o deleted file mode 100644 index 43c7883..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/format/svg/Text.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/BaseCode.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/BaseCode.o deleted file mode 100644 index 82a5e46..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/BaseCode.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/Log.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/Log.o deleted file mode 100644 index 3ca7f84..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/Log.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/Timer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/Timer.o deleted file mode 100644 index 364b01c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/Timer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/io/Bytes.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/io/Bytes.o deleted file mode 100644 index c6d3a4f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/io/Bytes.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/io/BytesBuffer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/io/BytesBuffer.o deleted file mode 100644 index 16f17d0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/io/BytesBuffer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/io/Eof.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/io/Eof.o deleted file mode 100644 index b910469..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/io/Eof.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/io/Error.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/io/Error.o deleted file mode 100644 index 17aa154..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/io/Error.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/io/Input.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/io/Input.o deleted file mode 100644 index 3786653..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/io/Input.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/io/Output.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/io/Output.o deleted file mode 100644 index e99b359..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/io/Output.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/xml/Fast.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/xml/Fast.o deleted file mode 100644 index 7a33394..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/xml/Fast.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/xml/_Fast/AttribAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/xml/_Fast/AttribAccess.o deleted file mode 100644 index e2d8dde..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/xml/_Fast/AttribAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/xml/_Fast/HasAttribAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/xml/_Fast/HasAttribAccess.o deleted file mode 100644 index 046ce7e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/xml/_Fast/HasAttribAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/xml/_Fast/HasNodeAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/xml/_Fast/HasNodeAccess.o deleted file mode 100644 index bad4d4e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/xml/_Fast/HasNodeAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/xml/_Fast/NodeAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/xml/_Fast/NodeAccess.o deleted file mode 100644 index b793dc7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/xml/_Fast/NodeAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/xml/_Fast/NodeListAccess.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/xml/_Fast/NodeListAccess.o deleted file mode 100644 index 50ba756..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/haxe/xml/_Fast/NodeListAccess.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Anon.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Anon.o deleted file mode 100644 index fb3dd63..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Anon.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Boot.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Boot.o deleted file mode 100644 index ed6b11f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Boot.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/CFFI.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/CFFI.o deleted file mode 100644 index 0fd3387..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/CFFI.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Date.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Date.o deleted file mode 100644 index 9df426d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Date.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Debug.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Debug.o deleted file mode 100644 index c08f075..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Debug.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/GC.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/GC.o deleted file mode 100644 index c918f3d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/GC.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/GCInternal.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/GCInternal.o deleted file mode 100644 index 860b07c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/GCInternal.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Hash.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Hash.o deleted file mode 100644 index db1cabe..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Hash.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Interface.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Interface.o deleted file mode 100644 index e3e8488..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Interface.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Lib.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Lib.o deleted file mode 100644 index 37a7252..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Lib.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Object.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Object.o deleted file mode 100644 index 5eaaaed..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Object.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/RunLibs.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/RunLibs.o deleted file mode 100644 index 918b024..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/RunLibs.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/StdLibs.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/StdLibs.o deleted file mode 100644 index c211c79..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/StdLibs.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Thread.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Thread.o deleted file mode 100644 index 5495490..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/hx/Thread.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/Lib.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/Lib.o deleted file mode 100644 index 5456fd6..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/Lib.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/Loader.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/Loader.o deleted file mode 100644 index 4b9af64..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/Loader.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/Bitmap.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/Bitmap.o deleted file mode 100644 index 71109c4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/Bitmap.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/BitmapData.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/BitmapData.o deleted file mode 100644 index 393ddb8..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/BitmapData.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/BitmapDataChannel.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/BitmapDataChannel.o deleted file mode 100644 index 3783f9f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/BitmapDataChannel.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/BlendMode.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/BlendMode.o deleted file mode 100644 index a466f8f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/BlendMode.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/CapsStyle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/CapsStyle.o deleted file mode 100644 index d546a63..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/CapsStyle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/DisplayObject.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/DisplayObject.o deleted file mode 100644 index 1bc4fd6..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/DisplayObject.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/DisplayObjectContainer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/DisplayObjectContainer.o deleted file mode 100644 index 8d6525e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/DisplayObjectContainer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/GradientType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/GradientType.o deleted file mode 100644 index 478c100..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/GradientType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/Graphics.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/Graphics.o deleted file mode 100644 index f077e96..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/Graphics.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/GraphicsPathWinding.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/GraphicsPathWinding.o deleted file mode 100644 index 6e6c089..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/GraphicsPathWinding.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/IBitmapDrawable.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/IBitmapDrawable.o deleted file mode 100644 index c4066f0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/IBitmapDrawable.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/IGraphicsData.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/IGraphicsData.o deleted file mode 100644 index 3e78bf3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/IGraphicsData.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/InteractiveObject.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/InteractiveObject.o deleted file mode 100644 index 546c1f7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/InteractiveObject.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/InterpolationMethod.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/InterpolationMethod.o deleted file mode 100644 index 25fb8ea..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/InterpolationMethod.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/JointStyle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/JointStyle.o deleted file mode 100644 index 17391c7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/JointStyle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/LineScaleMode.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/LineScaleMode.o deleted file mode 100644 index ad5981a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/LineScaleMode.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/ManagedStage.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/ManagedStage.o deleted file mode 100644 index aa12d5f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/ManagedStage.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/MovieClip.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/MovieClip.o deleted file mode 100644 index f815ef2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/MovieClip.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/OptimizedPerlin.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/OptimizedPerlin.o deleted file mode 100644 index 9ee94e9..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/OptimizedPerlin.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/PixelSnapping.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/PixelSnapping.o deleted file mode 100644 index a0908b0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/PixelSnapping.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/Shape.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/Shape.o deleted file mode 100644 index d04665f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/Shape.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/SpreadMethod.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/SpreadMethod.o deleted file mode 100644 index 75cc64c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/SpreadMethod.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/Sprite.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/Sprite.o deleted file mode 100644 index ac2410c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/Sprite.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/Stage.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/Stage.o deleted file mode 100644 index 8a0e5e4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/Stage.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/StageAlign.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/StageAlign.o deleted file mode 100644 index be744e2..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/StageAlign.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/StageDisplayState.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/StageDisplayState.o deleted file mode 100644 index 663de8f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/StageDisplayState.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/StageQuality.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/StageQuality.o deleted file mode 100644 index 940100f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/StageQuality.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/StageScaleMode.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/StageScaleMode.o deleted file mode 100644 index 42586ea..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/StageScaleMode.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/Tilesheet.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/Tilesheet.o deleted file mode 100644 index 56bbc55..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/Tilesheet.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/TouchInfo.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/TouchInfo.o deleted file mode 100644 index a45ae85..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/TouchInfo.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/TriangleCulling.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/TriangleCulling.o deleted file mode 100644 index c689950..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/display/TriangleCulling.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/errors/ArgumentError.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/errors/ArgumentError.o deleted file mode 100644 index 47e8b46..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/errors/ArgumentError.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/errors/EOFError.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/errors/EOFError.o deleted file mode 100644 index 7c910a1..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/errors/EOFError.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/errors/Error.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/errors/Error.o deleted file mode 100644 index fb4c29b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/errors/Error.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/errors/RangeError.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/errors/RangeError.o deleted file mode 100644 index 316fb4d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/errors/RangeError.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/ErrorEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/ErrorEvent.o deleted file mode 100644 index 9119f62..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/ErrorEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/Event.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/Event.o deleted file mode 100644 index 5533bdb..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/Event.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/EventDispatcher.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/EventDispatcher.o deleted file mode 100644 index d574d3c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/EventDispatcher.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/EventPhase.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/EventPhase.o deleted file mode 100644 index e8d2a42..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/EventPhase.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/FocusEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/FocusEvent.o deleted file mode 100644 index 40abbd9..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/FocusEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/HTTPStatusEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/HTTPStatusEvent.o deleted file mode 100644 index b41b3a1..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/HTTPStatusEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/IEventDispatcher.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/IEventDispatcher.o deleted file mode 100644 index 08be7bd..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/IEventDispatcher.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/IOErrorEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/IOErrorEvent.o deleted file mode 100644 index 863de46..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/IOErrorEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/JoystickEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/JoystickEvent.o deleted file mode 100644 index 89fa88e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/JoystickEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/KeyboardEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/KeyboardEvent.o deleted file mode 100644 index 544b084..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/KeyboardEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/Listener.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/Listener.o deleted file mode 100644 index d7bb45c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/Listener.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/MouseEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/MouseEvent.o deleted file mode 100644 index 465d2a9..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/MouseEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/ProgressEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/ProgressEvent.o deleted file mode 100644 index 4458a6d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/ProgressEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/SampleDataEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/SampleDataEvent.o deleted file mode 100644 index f01b2c7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/SampleDataEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/TextEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/TextEvent.o deleted file mode 100644 index a7b0e6a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/TextEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/TouchEvent.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/TouchEvent.o deleted file mode 100644 index 1de5603..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/events/TouchEvent.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/filters/BitmapFilter.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/filters/BitmapFilter.o deleted file mode 100644 index 4e6db32..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/filters/BitmapFilter.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/geom/ColorTransform.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/geom/ColorTransform.o deleted file mode 100644 index 5bcaed6..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/geom/ColorTransform.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/geom/Matrix.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/geom/Matrix.o deleted file mode 100644 index 2e66e6a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/geom/Matrix.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/geom/Point.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/geom/Point.o deleted file mode 100644 index b51aaff..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/geom/Point.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/geom/Rectangle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/geom/Rectangle.o deleted file mode 100644 index 0560959..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/geom/Rectangle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/geom/Transform.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/geom/Transform.o deleted file mode 100644 index c2f667e..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/geom/Transform.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/media/ID3Info.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/media/ID3Info.o deleted file mode 100644 index c6b52b7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/media/ID3Info.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/media/Sound.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/media/Sound.o deleted file mode 100644 index 5c13cc6..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/media/Sound.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/media/SoundChannel.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/media/SoundChannel.o deleted file mode 100644 index 37d9323..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/media/SoundChannel.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/media/SoundLoaderContext.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/media/SoundLoaderContext.o deleted file mode 100644 index 940daa3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/media/SoundLoaderContext.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/media/SoundTransform.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/media/SoundTransform.o deleted file mode 100644 index 0a08aa0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/media/SoundTransform.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/net/URLLoader.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/net/URLLoader.o deleted file mode 100644 index 5dc7956..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/net/URLLoader.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/net/URLLoaderDataFormat.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/net/URLLoaderDataFormat.o deleted file mode 100644 index 524a0b7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/net/URLLoaderDataFormat.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/net/URLRequest.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/net/URLRequest.o deleted file mode 100644 index dd59466..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/net/URLRequest.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/net/URLRequestHeader.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/net/URLRequestHeader.o deleted file mode 100644 index 4f92167..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/net/URLRequestHeader.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/net/URLRequestMethod.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/net/URLRequestMethod.o deleted file mode 100644 index f9a5740..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/net/URLRequestMethod.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/net/URLVariables.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/net/URLVariables.o deleted file mode 100644 index d5c6d61..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/net/URLVariables.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/text/Font.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/text/Font.o deleted file mode 100644 index abb73c3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/text/Font.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/text/FontStyle.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/text/FontStyle.o deleted file mode 100644 index 3d9a285..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/text/FontStyle.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/text/FontType.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/text/FontType.o deleted file mode 100644 index 088a07a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/text/FontType.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/utils/ByteArray.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/utils/ByteArray.o deleted file mode 100644 index 539a158..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/utils/ByteArray.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/utils/Endian.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/utils/Endian.o deleted file mode 100644 index 4663d85..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/utils/Endian.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/utils/IDataInput.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/utils/IDataInput.o deleted file mode 100644 index 3bd131c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/utils/IDataInput.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/utils/WeakRef.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/utils/WeakRef.o deleted file mode 100644 index 89e545c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/neash/utils/WeakRef.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/nme/Lib.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/nme/Lib.o deleted file mode 100644 index ddc950f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/nme/Lib.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/nme/installer/Assets.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/nme/installer/Assets.o deleted file mode 100644 index c373e42..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/nme/installer/Assets.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/core/Controller.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/core/Controller.o deleted file mode 100644 index 37e1318..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/core/Controller.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/core/Model.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/core/Model.o deleted file mode 100644 index e402c94..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/core/Model.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/core/View.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/core/View.o deleted file mode 100644 index 743c3cb..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/core/View.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/ICommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/ICommand.o deleted file mode 100644 index 7d5f057..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/ICommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IController.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IController.o deleted file mode 100644 index 9ba6d04..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IController.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IFacade.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IFacade.o deleted file mode 100644 index 305044b..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IFacade.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IMediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IMediator.o deleted file mode 100644 index c018917..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IMediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IModel.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IModel.o deleted file mode 100644 index 423d350..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IModel.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/INotification.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/INotification.o deleted file mode 100644 index 13d735a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/INotification.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/INotifier.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/INotifier.o deleted file mode 100644 index e79498d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/INotifier.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IObserver.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IObserver.o deleted file mode 100644 index ee02d26..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IObserver.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IProxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IProxy.o deleted file mode 100644 index 6e4ab54..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IProxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IView.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IView.o deleted file mode 100644 index 85492fd..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/interfaces/IView.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/command/MacroCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/command/MacroCommand.o deleted file mode 100644 index 7504aa5..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/command/MacroCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/command/SimpleCommand.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/command/SimpleCommand.o deleted file mode 100644 index 0daaa15..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/command/SimpleCommand.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/facade/Facade.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/facade/Facade.o deleted file mode 100644 index 9d1e3d3..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/facade/Facade.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/mediator/Mediator.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/mediator/Mediator.o deleted file mode 100644 index ed708e0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/mediator/Mediator.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/observer/Notification.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/observer/Notification.o deleted file mode 100644 index 3f0a9cf..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/observer/Notification.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/observer/Notifier.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/observer/Notifier.o deleted file mode 100644 index 2da1244..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/observer/Notifier.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/observer/Observer.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/observer/Observer.o deleted file mode 100644 index 9c11707..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/observer/Observer.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/proxy/Proxy.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/proxy/Proxy.o deleted file mode 100644 index 015fd71..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/org/puremvc/haxe/patterns/proxy/Proxy.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/pages/Psvg.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/pages/Psvg.o deleted file mode 100644 index d1faf3c..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/pages/Psvg.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/FileSystem.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/FileSystem.o deleted file mode 100644 index cc636b9..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/FileSystem.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/_FileSystem/FileKind.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/_FileSystem/FileKind.o deleted file mode 100644 index bb0962f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/_FileSystem/FileKind.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/File.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/File.o deleted file mode 100644 index 81d0249..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/File.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/FileInput.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/FileInput.o deleted file mode 100644 index 0dfb56d..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/FileInput.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/FileOutput.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/FileOutput.o deleted file mode 100644 index f6224db..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/FileOutput.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/FileSeek.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/FileSeek.o deleted file mode 100644 index b036d63..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/FileSeek.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/Process.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/Process.o deleted file mode 100644 index a5df1c0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/Process.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/_Process/Stdin.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/_Process/Stdin.o deleted file mode 100644 index e57c8c7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/_Process/Stdin.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/_Process/Stdout.o b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/_Process/Stdout.o deleted file mode 100644 index a7d1fa1..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/obj/iphonesim/src/sys/io/_Process/Stdout.o and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ApplicationMain.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ApplicationMain.cpp deleted file mode 100644 index 729eb53..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ApplicationMain.cpp +++ /dev/null @@ -1,431 +0,0 @@ -#include - -#ifndef INCLUDED_ApplicationMain -#include -#endif -#ifndef INCLUDED_Main -#include -#endif -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_MovieClip -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_media_Sound -#include -#endif -#ifndef INCLUDED_nme_Lib -#include -#endif -#ifndef INCLUDED_nme_installer_Assets -#include -#endif - -Void ApplicationMain_obj::__construct() -{ - return null(); -} - -ApplicationMain_obj::~ApplicationMain_obj() { } - -Dynamic ApplicationMain_obj::__CreateEmpty() { return new ApplicationMain_obj; } -hx::ObjectPtr< ApplicationMain_obj > ApplicationMain_obj::__new() -{ hx::ObjectPtr< ApplicationMain_obj > result = new ApplicationMain_obj(); - result->__construct(); - return result;} - -Dynamic ApplicationMain_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ApplicationMain_obj > result = new ApplicationMain_obj(); - result->__construct(); - return result;} - -Void ApplicationMain_obj::main( ){ -{ - HX_STACK_PUSH("ApplicationMain::main","ApplicationMain.hx",5); - HX_STACK_LINE(6) - ::nme::Lib_obj::setPackage(HX_CSTRING("Confidant Communications"),HX_CSTRING("GloryDemo"),HX_CSTRING("ca.confidant.gloryDemo"),HX_CSTRING("1.0.0")); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_1) - bool run(int orientation){ - HX_STACK_PUSH("*::_Function_1_1","ApplicationMain.hx",10); - HX_STACK_ARG(orientation,"orientation"); - { - HX_STACK_LINE(12) - if (((bool((orientation == ::neash::display::Stage_obj::OrientationLandscapeLeft)) || bool((orientation == ::neash::display::Stage_obj::OrientationLandscapeRight))))){ - HX_STACK_LINE(13) - return true; - } - HX_STACK_LINE(16) - return false; - } - return null(); - } - HX_END_LOCAL_FUNC1(return) - - HX_STACK_LINE(9) - ::neash::display::Stage_obj::shouldRotateInterface = Dynamic(new _Function_1_1()); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_2) - Void run(){ - HX_STACK_PUSH("*::_Function_1_2","ApplicationMain.hx",21); - { - HX_STACK_LINE(22) - { - } - HX_STACK_LINE(30) - ::nme::Lib_obj::nmeGetCurrent()->nmeGetStage()->addEventListener(::neash::events::Event_obj::RESIZE,::ApplicationMain_obj::initialize_dyn(),null(),null(),null()); - } - return null(); - } - HX_END_LOCAL_FUNC0((void)) - - HX_STACK_LINE(20) - ::nme::Lib_obj::create( Dynamic(new _Function_1_2()),(int)960,(int)640,(int)30,(int)16774882,(int((int((int((int(::nme::Lib_obj::HARDWARE) | int((int)0))) | int((int)0))) | int((int)0))) | int((int)0)),HX_CSTRING("Glory Framework Demo"),null()); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(ApplicationMain_obj,main,(void)) - -Void ApplicationMain_obj::initialize( ::neash::events::Event event){ -{ - HX_STACK_PUSH("ApplicationMain::initialize","ApplicationMain.hx",47); - HX_STACK_ARG(event,"event"); - HX_STACK_LINE(48) - ::nme::Lib_obj::nmeGetCurrent()->nmeGetStage()->removeEventListener(::neash::events::Event_obj::RESIZE,::ApplicationMain_obj::initialize_dyn(),null()); - HX_STACK_LINE(50) - bool hasMain = false; HX_STACK_VAR(hasMain,"hasMain"); - HX_STACK_LINE(52) - { - HX_STACK_LINE(52) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::String > _g1 = ::Type_obj::getClassFields(hx::ClassOf< ::Main >()); HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(52) - while(((_g < _g1->length))){ - HX_STACK_LINE(52) - ::String methodName = _g1->__get(_g); HX_STACK_VAR(methodName,"methodName"); - HX_STACK_LINE(52) - ++(_g); - HX_STACK_LINE(54) - if (((methodName == HX_CSTRING("main")))){ - HX_STACK_LINE(56) - hasMain = true; - HX_STACK_LINE(57) - break; - } - } - } - HX_STACK_LINE(61) - if ((hasMain)){ - HX_STACK_LINE(62) - ::Reflect_obj::callMethod(hx::ClassOf< ::Main >(),::Reflect_obj::field(hx::ClassOf< ::Main >(),HX_CSTRING("main")),Dynamic( Array_obj::__new())); - } - else{ - HX_STACK_LINE(66) - ::nme::Lib_obj::nmeGetCurrent()->addChild(hx::TCast< neash::display::DisplayObject >::cast(::Type_obj::createInstance(hx::ClassOf< ::Main >(),Dynamic( Array_obj::__new())))); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ApplicationMain_obj,initialize,(void)) - -Dynamic ApplicationMain_obj::getAsset( ::String inName){ - HX_STACK_PUSH("ApplicationMain::getAsset","ApplicationMain.hx",73); - HX_STACK_ARG(inName,"inName"); - HX_STACK_LINE(75) - if (((inName == HX_CSTRING("assets/closeX.svg")))){ - HX_STACK_LINE(76) - return ::nme::installer::Assets_obj::getText(HX_CSTRING("assets/closeX.svg")); - } - HX_STACK_LINE(82) - if (((inName == HX_CSTRING("assets/config.xml")))){ - HX_STACK_LINE(83) - return ::nme::installer::Assets_obj::getText(HX_CSTRING("assets/config.xml")); - } - HX_STACK_LINE(89) - if (((inName == HX_CSTRING("assets/duck.svg")))){ - HX_STACK_LINE(90) - return ::nme::installer::Assets_obj::getText(HX_CSTRING("assets/duck.svg")); - } - HX_STACK_LINE(96) - if (((inName == HX_CSTRING("assets/easyXML.jpg")))){ - HX_STACK_LINE(97) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/easyXML.jpg"),null()); - } - HX_STACK_LINE(103) - if (((inName == HX_CSTRING("assets/heres-the-deal.jpg")))){ - HX_STACK_LINE(104) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/heres-the-deal.jpg"),null()); - } - HX_STACK_LINE(110) - if (((inName == HX_CSTRING("assets/nav/bHome.png")))){ - HX_STACK_LINE(111) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/bHome.png"),null()); - } - HX_STACK_LINE(117) - if (((inName == HX_CSTRING("assets/nav/bLeft.png")))){ - HX_STACK_LINE(118) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/bLeft.png"),null()); - } - HX_STACK_LINE(124) - if (((inName == HX_CSTRING("assets/nav/bOptions.png")))){ - HX_STACK_LINE(125) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/bOptions.png"),null()); - } - HX_STACK_LINE(131) - if (((inName == HX_CSTRING("assets/nav/bRight.png")))){ - HX_STACK_LINE(132) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/bRight.png"),null()); - } - HX_STACK_LINE(138) - if (((inName == HX_CSTRING("assets/nav/close.png")))){ - HX_STACK_LINE(139) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/close.png"),null()); - } - HX_STACK_LINE(145) - if (((inName == HX_CSTRING("assets/nav/panLeft.png")))){ - HX_STACK_LINE(146) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/panLeft.png"),null()); - } - HX_STACK_LINE(152) - if (((inName == HX_CSTRING("assets/nav/panRight.png")))){ - HX_STACK_LINE(153) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/nav/panRight.png"),null()); - } - HX_STACK_LINE(159) - if (((inName == HX_CSTRING("assets/nme.svg")))){ - HX_STACK_LINE(160) - return ::nme::installer::Assets_obj::getText(HX_CSTRING("assets/nme.svg")); - } - HX_STACK_LINE(166) - if (((inName == HX_CSTRING("assets/options/actor_0000_background.png")))){ - HX_STACK_LINE(167) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/options/actor_0000_background.png"),null()); - } - HX_STACK_LINE(173) - if (((inName == HX_CSTRING("assets/options/actor_0001_duck.png")))){ - HX_STACK_LINE(174) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/options/actor_0001_duck.png"),null()); - } - HX_STACK_LINE(180) - if (((inName == HX_CSTRING("assets/options/actor_0002_home.png")))){ - HX_STACK_LINE(181) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/options/actor_0002_home.png"),null()); - } - HX_STACK_LINE(187) - if (((inName == HX_CSTRING("assets/options/actor_0003_cow.png")))){ - HX_STACK_LINE(188) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/options/actor_0003_cow.png"),null()); - } - HX_STACK_LINE(194) - if (((inName == HX_CSTRING("assets/options/actor_0004_easyXML.png")))){ - HX_STACK_LINE(195) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/options/actor_0004_easyXML.png"),null()); - } - HX_STACK_LINE(201) - if (((inName == HX_CSTRING("assets/options/actor_0005_limerick.png")))){ - HX_STACK_LINE(202) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/options/actor_0005_limerick.png"),null()); - } - HX_STACK_LINE(208) - if (((inName == HX_CSTRING("assets/options/choose.png")))){ - HX_STACK_LINE(209) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/options/choose.png"),null()); - } - HX_STACK_LINE(215) - if (((inName == HX_CSTRING("assets/p1/limerickPCM.wav")))){ - HX_STACK_LINE(216) - return ::nme::installer::Assets_obj::getSound(HX_CSTRING("assets/p1/limerickPCM.wav")); - } - HX_STACK_LINE(222) - if (((inName == HX_CSTRING("assets/p1/pageObject_0000_bg.jpg")))){ - HX_STACK_LINE(223) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0000_bg.jpg"),null()); - } - HX_STACK_LINE(229) - if (((inName == HX_CSTRING("assets/p1/pageObject_0001_skin.png")))){ - HX_STACK_LINE(230) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0001_skin.png"),null()); - } - HX_STACK_LINE(236) - if (((inName == HX_CSTRING("assets/p1/pageObject_0002_hose.png")))){ - HX_STACK_LINE(237) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0002_hose.png"),null()); - } - HX_STACK_LINE(243) - if (((inName == HX_CSTRING("assets/p1/pageObject_0003_pants.png")))){ - HX_STACK_LINE(244) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0003_pants.png"),null()); - } - HX_STACK_LINE(250) - if (((inName == HX_CSTRING("assets/p1/pageObject_0004_flameshoe.png")))){ - HX_STACK_LINE(251) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0004_flameshoe.png"),null()); - } - HX_STACK_LINE(257) - if (((inName == HX_CSTRING("assets/p1/pageObject_0005_shoe.png")))){ - HX_STACK_LINE(258) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0005_shoe.png"),null()); - } - HX_STACK_LINE(264) - if (((inName == HX_CSTRING("assets/p1/pageObject_0006_shirt.png")))){ - HX_STACK_LINE(265) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0006_shirt.png"),null()); - } - HX_STACK_LINE(271) - if (((inName == HX_CSTRING("assets/p1/pageObject_0007_truck.png")))){ - HX_STACK_LINE(272) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0007_truck.png"),null()); - } - HX_STACK_LINE(278) - if (((inName == HX_CSTRING("assets/p1/pageObject_0008_firemen.png")))){ - HX_STACK_LINE(279) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0008_firemen.png"),null()); - } - HX_STACK_LINE(285) - if (((inName == HX_CSTRING("assets/p1/pageObject_0009_can.png")))){ - HX_STACK_LINE(286) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0009_can.png"),null()); - } - HX_STACK_LINE(292) - if (((inName == HX_CSTRING("assets/p1/pageObject_0010_bw.png")))){ - HX_STACK_LINE(293) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0010_bw.png"),null()); - } - HX_STACK_LINE(299) - if (((inName == HX_CSTRING("assets/p1/pageObject_0011_text.png")))){ - HX_STACK_LINE(300) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/p1/pageObject_0011_text.png"),null()); - } - HX_STACK_LINE(306) - if (((inName == HX_CSTRING("assets/speaker.png")))){ - HX_STACK_LINE(307) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/speaker.png"),null()); - } - HX_STACK_LINE(313) - if (((inName == HX_CSTRING("assets/title/star.svg")))){ - HX_STACK_LINE(314) - return ::nme::installer::Assets_obj::getText(HX_CSTRING("assets/title/star.svg")); - } - HX_STACK_LINE(320) - if (((inName == HX_CSTRING("assets/title/title.jpg")))){ - HX_STACK_LINE(321) - return ::nme::installer::Assets_obj::getBitmapData(HX_CSTRING("assets/title/title.jpg"),null()); - } - HX_STACK_LINE(327) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ApplicationMain_obj,getAsset,return ) - - -ApplicationMain_obj::ApplicationMain_obj() -{ -} - -void ApplicationMain_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ApplicationMain); - HX_MARK_END_CLASS(); -} - -void ApplicationMain_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic ApplicationMain_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"main") ) { return main_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"getAsset") ) { return getAsset_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"initialize") ) { return initialize_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ApplicationMain_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void ApplicationMain_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("main"), - HX_CSTRING("initialize"), - HX_CSTRING("getAsset"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ApplicationMain_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ApplicationMain_obj::__mClass,"__mClass"); -}; - -Class ApplicationMain_obj::__mClass; - -void ApplicationMain_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ApplicationMain"), hx::TCanCast< ApplicationMain_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ApplicationMain_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Date.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Date.cpp deleted file mode 100644 index cc3c405..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Date.cpp +++ /dev/null @@ -1,293 +0,0 @@ -#include - -#ifndef INCLUDED_Date -#include -#endif -#ifndef INCLUDED_Std -#include -#endif - -Void Date_obj::__construct(int year,int month,int day,int hour,int min,int sec) -{ -HX_STACK_PUSH("Date::new","/usr/lib/haxe/std/cpp/_std/Date.hx",31); -{ - HX_STACK_LINE(31) - this->mSeconds = ::__hxcpp_new_date(year,month,day,hour,min,sec); -} -; - return null(); -} - -Date_obj::~Date_obj() { } - -Dynamic Date_obj::__CreateEmpty() { return new Date_obj; } -hx::ObjectPtr< Date_obj > Date_obj::__new(int year,int month,int day,int hour,int min,int sec) -{ hx::ObjectPtr< Date_obj > result = new Date_obj(); - result->__construct(year,month,day,hour,min,sec); - return result;} - -Dynamic Date_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Date_obj > result = new Date_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5]); - return result;} - -::String Date_obj::toString( ){ - HX_STACK_PUSH("Date::toString","/usr/lib/haxe/std/cpp/_std/Date.hx",53); - HX_STACK_THIS(this); - HX_STACK_LINE(53) - return ::__hxcpp_to_string(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,toString,return ) - -int Date_obj::getDay( ){ - HX_STACK_PUSH("Date::getDay","/usr/lib/haxe/std/cpp/_std/Date.hx",51); - HX_STACK_THIS(this); - HX_STACK_LINE(51) - return ::__hxcpp_get_day(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getDay,return ) - -int Date_obj::getDate( ){ - HX_STACK_PUSH("Date::getDate","/usr/lib/haxe/std/cpp/_std/Date.hx",49); - HX_STACK_THIS(this); - HX_STACK_LINE(49) - return ::__hxcpp_get_date(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getDate,return ) - -int Date_obj::getMonth( ){ - HX_STACK_PUSH("Date::getMonth","/usr/lib/haxe/std/cpp/_std/Date.hx",47); - HX_STACK_THIS(this); - HX_STACK_LINE(47) - return ::__hxcpp_get_month(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getMonth,return ) - -int Date_obj::getFullYear( ){ - HX_STACK_PUSH("Date::getFullYear","/usr/lib/haxe/std/cpp/_std/Date.hx",45); - HX_STACK_THIS(this); - HX_STACK_LINE(45) - return ::__hxcpp_get_year(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getFullYear,return ) - -int Date_obj::getSeconds( ){ - HX_STACK_PUSH("Date::getSeconds","/usr/lib/haxe/std/cpp/_std/Date.hx",43); - HX_STACK_THIS(this); - HX_STACK_LINE(43) - return ::__hxcpp_get_seconds(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getSeconds,return ) - -int Date_obj::getMinutes( ){ - HX_STACK_PUSH("Date::getMinutes","/usr/lib/haxe/std/cpp/_std/Date.hx",41); - HX_STACK_THIS(this); - HX_STACK_LINE(41) - return ::__hxcpp_get_minutes(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getMinutes,return ) - -int Date_obj::getHours( ){ - HX_STACK_PUSH("Date::getHours","/usr/lib/haxe/std/cpp/_std/Date.hx",39); - HX_STACK_THIS(this); - HX_STACK_LINE(39) - return ::__hxcpp_get_hours(this->mSeconds); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getHours,return ) - -Float Date_obj::getTime( ){ - HX_STACK_PUSH("Date::getTime","/usr/lib/haxe/std/cpp/_std/Date.hx",35); - HX_STACK_THIS(this); - HX_STACK_LINE(35) - return (this->mSeconds * 1000.0); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Date_obj,getTime,return ) - -::Date Date_obj::now( ){ - HX_STACK_PUSH("Date::now","/usr/lib/haxe/std/cpp/_std/Date.hx",55); - HX_STACK_LINE(55) - return ::Date_obj::fromTime((::__hxcpp_date_now() * 1000.0)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Date_obj,now,return ) - -::Date Date_obj::fromTime( Float t){ - HX_STACK_PUSH("Date::fromTime","/usr/lib/haxe/std/cpp/_std/Date.hx",59); - HX_STACK_ARG(t,"t"); - HX_STACK_LINE(60) - ::Date result = ::Date_obj::__new((int)0,(int)0,(int)0,(int)0,(int)0,(int)0); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(61) - result->mSeconds = (t * 0.001); - HX_STACK_LINE(62) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Date_obj,fromTime,return ) - -::Date Date_obj::fromString( ::String s){ - HX_STACK_PUSH("Date::fromString","/usr/lib/haxe/std/cpp/_std/Date.hx",65); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(66) - switch( (int)(s.length)){ - case (int)8: { - HX_STACK_LINE(68) - Array< ::String > k = s.split(HX_CSTRING(":")); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(69) - ::Date d = ::Date_obj::__new((int)0,(int)0,(int)0,::Std_obj::parseInt(k->__get((int)0)),::Std_obj::parseInt(k->__get((int)1)),::Std_obj::parseInt(k->__get((int)2))); HX_STACK_VAR(d,"d"); - HX_STACK_LINE(70) - return d; - } - ;break; - case (int)10: { - HX_STACK_LINE(72) - Array< ::String > k = s.split(HX_CSTRING("-")); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(73) - return ::Date_obj::__new(::Std_obj::parseInt(k->__get((int)0)),(::Std_obj::parseInt(k->__get((int)1)) - (int)1),::Std_obj::parseInt(k->__get((int)2)),(int)0,(int)0,(int)0); - } - ;break; - case (int)19: { - HX_STACK_LINE(75) - Array< ::String > k = s.split(HX_CSTRING(" ")); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(76) - Array< ::String > y = k->__get((int)0).split(HX_CSTRING("-")); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(77) - Array< ::String > t = k->__get((int)1).split(HX_CSTRING(":")); HX_STACK_VAR(t,"t"); - HX_STACK_LINE(78) - return ::Date_obj::__new(::Std_obj::parseInt(y->__get((int)0)),(::Std_obj::parseInt(y->__get((int)1)) - (int)1),::Std_obj::parseInt(y->__get((int)2)),::Std_obj::parseInt(t->__get((int)0)),::Std_obj::parseInt(t->__get((int)1)),::Std_obj::parseInt(t->__get((int)2))); - } - ;break; - default: { - HX_STACK_LINE(80) - hx::Throw ((HX_CSTRING("Invalid date format : ") + s)); - } - } - HX_STACK_LINE(83) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Date_obj,fromString,return ) - - -Date_obj::Date_obj() -{ -} - -void Date_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Date); - HX_MARK_MEMBER_NAME(mSeconds,"mSeconds"); - HX_MARK_END_CLASS(); -} - -void Date_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mSeconds,"mSeconds"); -} - -Dynamic Date_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"now") ) { return now_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"getDay") ) { return getDay_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getDate") ) { return getDate_dyn(); } - if (HX_FIELD_EQ(inName,"getTime") ) { return getTime_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"fromTime") ) { return fromTime_dyn(); } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"getMonth") ) { return getMonth_dyn(); } - if (HX_FIELD_EQ(inName,"getHours") ) { return getHours_dyn(); } - if (HX_FIELD_EQ(inName,"mSeconds") ) { return mSeconds; } - break; - case 10: - if (HX_FIELD_EQ(inName,"fromString") ) { return fromString_dyn(); } - if (HX_FIELD_EQ(inName,"getSeconds") ) { return getSeconds_dyn(); } - if (HX_FIELD_EQ(inName,"getMinutes") ) { return getMinutes_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"getFullYear") ) { return getFullYear_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Date_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"mSeconds") ) { mSeconds=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Date_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mSeconds")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("now"), - HX_CSTRING("fromTime"), - HX_CSTRING("fromString"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("getDay"), - HX_CSTRING("getDate"), - HX_CSTRING("getMonth"), - HX_CSTRING("getFullYear"), - HX_CSTRING("getSeconds"), - HX_CSTRING("getMinutes"), - HX_CSTRING("getHours"), - HX_CSTRING("getTime"), - HX_CSTRING("mSeconds"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Date_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Date_obj::__mClass,"__mClass"); -}; - -Class Date_obj::__mClass; - -void Date_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Date"), hx::TCanCast< Date_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Date_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/EReg.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/EReg.cpp deleted file mode 100644 index c5f99cb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/EReg.cpp +++ /dev/null @@ -1,491 +0,0 @@ -#include - -#ifndef INCLUDED_EReg -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_StringBuf -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif - -Void EReg_obj::__construct(::String r,::String opt) -{ -HX_STACK_PUSH("EReg::new","/usr/lib/haxe/std/cpp/_std/EReg.hx",32); -{ - HX_STACK_LINE(33) - Array< ::String > a = opt.split(HX_CSTRING("g")); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(34) - this->global = (a->length > (int)1); - HX_STACK_LINE(35) - if ((this->global)){ - HX_STACK_LINE(36) - opt = a->join(HX_CSTRING("")); - } - HX_STACK_LINE(37) - this->r = ::EReg_obj::regexp_new_options(r,opt); -} -; - return null(); -} - -EReg_obj::~EReg_obj() { } - -Dynamic EReg_obj::__CreateEmpty() { return new EReg_obj; } -hx::ObjectPtr< EReg_obj > EReg_obj::__new(::String r,::String opt) -{ hx::ObjectPtr< EReg_obj > result = new EReg_obj(); - result->__construct(r,opt); - return result;} - -Dynamic EReg_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< EReg_obj > result = new EReg_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::String EReg_obj::customReplace( ::String s,Dynamic f){ - HX_STACK_PUSH("EReg::customReplace","/usr/lib/haxe/std/cpp/_std/EReg.hx",144); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(145) - ::StringBuf buf = ::StringBuf_obj::__new(); HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(146) - while((true)){ - HX_STACK_LINE(147) - if ((!(this->match(s)))){ - HX_STACK_LINE(148) - break; - } - HX_STACK_LINE(149) - hx::IndexRef((buf->b).mPtr,buf->b->__Field(HX_CSTRING("length"),true)) = this->matchedLeft(); - HX_STACK_LINE(150) - hx::IndexRef((buf->b).mPtr,buf->b->__Field(HX_CSTRING("length"),true)) = f(hx::ObjectPtr(this)).Cast< ::String >(); - HX_STACK_LINE(151) - s = this->matchedRight(); - } - HX_STACK_LINE(153) - hx::IndexRef((buf->b).mPtr,buf->b->__Field(HX_CSTRING("length"),true)) = s; - HX_STACK_LINE(154) - return buf->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC2(EReg_obj,customReplace,return ) - -::String EReg_obj::replace( ::String s,::String by){ - HX_STACK_PUSH("EReg::replace","/usr/lib/haxe/std/cpp/_std/EReg.hx",93); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(by,"by"); - HX_STACK_LINE(94) - ::StringBuf b = ::StringBuf_obj::__new(); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(95) - int pos = (int)0; HX_STACK_VAR(pos,"pos"); - HX_STACK_LINE(96) - int len = s.length; HX_STACK_VAR(len,"len"); - HX_STACK_LINE(97) - Array< ::String > a = by.split(HX_CSTRING("$")); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(98) - bool first = true; HX_STACK_VAR(first,"first"); - HX_STACK_LINE(99) - do{ - HX_STACK_LINE(100) - if ((!(::EReg_obj::regexp_match(this->r,s,pos,len)))){ - HX_STACK_LINE(101) - break; - } - HX_STACK_LINE(102) - Dynamic p = ::EReg_obj::regexp_matched_pos(this->r,(int)0); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(103) - if (((bool((p->__Field(HX_CSTRING("len"),true) == (int)0)) && bool(!(first))))){ - HX_STACK_LINE(104) - if (((p->__Field(HX_CSTRING("pos"),true) == s.length))){ - HX_STACK_LINE(105) - break; - } - HX_STACK_LINE(106) - hx::AddEq(p->__FieldRef(HX_CSTRING("pos")),(int)1); - } - HX_STACK_LINE(108) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = s.substr(pos,(p->__Field(HX_CSTRING("pos"),true) - pos)); - HX_STACK_LINE(109) - if (((a->length > (int)0))){ - HX_STACK_LINE(110) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = a->__get((int)0); - } - HX_STACK_LINE(111) - int i = (int)1; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(112) - while(((i < a->length))){ - HX_STACK_LINE(113) - ::String k = a->__get(i); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(114) - Dynamic c = k.charCodeAt((int)0); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(116) - if (((bool((c >= (int)49)) && bool((c <= (int)57))))){ - struct _Function_4_1{ - inline static Dynamic Block( ::EReg_obj *__this,Dynamic &c){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/EReg.hx",117); - { - HX_STACK_LINE(117) - try{ - HX_STACK_LINE(117) - return ::EReg_obj::regexp_matched_pos(__this->r,(::Std_obj::_int(c) - (int)48)); - } - catch(Dynamic __e){ - if (__e.IsClass< ::String >() ){ - ::String e = __e;{ - HX_STACK_LINE(117) - return null(); - } - } - else throw(__e); - } - } - return null(); - } - }; - HX_STACK_LINE(117) - Dynamic p1 = _Function_4_1::Block(this,c); HX_STACK_VAR(p1,"p1"); - HX_STACK_LINE(118) - if (((p1 == null()))){ - HX_STACK_LINE(119) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("$"); - HX_STACK_LINE(120) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = k; - } - else{ - HX_STACK_LINE(122) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = s.substr(p1->__Field(HX_CSTRING("pos"),true),p1->__Field(HX_CSTRING("len"),true)); - HX_STACK_LINE(123) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = k.substr((int)1,(k.length - (int)1)); - } - } - else{ - HX_STACK_LINE(125) - if (((c == null()))){ - HX_STACK_LINE(126) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("$"); - HX_STACK_LINE(127) - (i)++; - HX_STACK_LINE(128) - ::String k2 = a->__get(i); HX_STACK_VAR(k2,"k2"); - HX_STACK_LINE(129) - if (((bool((k2 != null())) && bool((k2.length > (int)0))))){ - HX_STACK_LINE(130) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = k2; - } - } - else{ - HX_STACK_LINE(132) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = (HX_CSTRING("$") + k); - } - } - HX_STACK_LINE(133) - (i)++; - } - HX_STACK_LINE(135) - int tot = ((p->__Field(HX_CSTRING("pos"),true) + p->__Field(HX_CSTRING("len"),true)) - pos); HX_STACK_VAR(tot,"tot"); - HX_STACK_LINE(136) - hx::AddEq(pos,tot); - HX_STACK_LINE(137) - hx::SubEq(len,tot); - HX_STACK_LINE(138) - first = false; - } -while((this->global)); - HX_STACK_LINE(140) - hx::IndexRef((b->b).mPtr,b->b->__Field(HX_CSTRING("length"),true)) = s.substr(pos,len); - HX_STACK_LINE(141) - return b->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC2(EReg_obj,replace,return ) - -Array< ::String > EReg_obj::split( ::String s){ - HX_STACK_PUSH("EReg::split","/usr/lib/haxe/std/cpp/_std/EReg.hx",69); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(70) - int pos = (int)0; HX_STACK_VAR(pos,"pos"); - HX_STACK_LINE(71) - int len = s.length; HX_STACK_VAR(len,"len"); - HX_STACK_LINE(72) - Array< ::String > a = Array_obj< ::String >::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(73) - bool first = true; HX_STACK_VAR(first,"first"); - HX_STACK_LINE(74) - do{ - HX_STACK_LINE(75) - if ((!(::EReg_obj::regexp_match(this->r,s,pos,len)))){ - HX_STACK_LINE(76) - break; - } - HX_STACK_LINE(77) - Dynamic p = ::EReg_obj::regexp_matched_pos(this->r,(int)0); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(78) - if (((bool((p->__Field(HX_CSTRING("len"),true) == (int)0)) && bool(!(first))))){ - HX_STACK_LINE(79) - if (((p->__Field(HX_CSTRING("pos"),true) == s.length))){ - HX_STACK_LINE(80) - break; - } - HX_STACK_LINE(81) - hx::AddEq(p->__FieldRef(HX_CSTRING("pos")),(int)1); - } - HX_STACK_LINE(83) - a->push(s.substr(pos,(p->__Field(HX_CSTRING("pos"),true) - pos))); - HX_STACK_LINE(84) - int tot = ((p->__Field(HX_CSTRING("pos"),true) + p->__Field(HX_CSTRING("len"),true)) - pos); HX_STACK_VAR(tot,"tot"); - HX_STACK_LINE(85) - hx::AddEq(pos,tot); - HX_STACK_LINE(86) - hx::SubEq(len,tot); - HX_STACK_LINE(87) - first = false; - } -while((this->global)); - HX_STACK_LINE(89) - a->push(s.substr(pos,len)); - HX_STACK_LINE(90) - return a; -} - - -HX_DEFINE_DYNAMIC_FUNC1(EReg_obj,split,return ) - -Dynamic EReg_obj::matchedPos( ){ - HX_STACK_PUSH("EReg::matchedPos","/usr/lib/haxe/std/cpp/_std/EReg.hx",65); - HX_STACK_THIS(this); - HX_STACK_LINE(65) - return ::EReg_obj::regexp_matched_pos(this->r,(int)0); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EReg_obj,matchedPos,return ) - -::String EReg_obj::matchedRight( ){ - HX_STACK_PUSH("EReg::matchedRight","/usr/lib/haxe/std/cpp/_std/EReg.hx",59); - HX_STACK_THIS(this); - HX_STACK_LINE(60) - Dynamic p = ::EReg_obj::regexp_matched_pos(this->r,(int)0); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(61) - int sz = (p->__Field(HX_CSTRING("pos"),true) + p->__Field(HX_CSTRING("len"),true)); HX_STACK_VAR(sz,"sz"); - HX_STACK_LINE(62) - return this->last.substr(sz,(this->last.length - sz)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EReg_obj,matchedRight,return ) - -::String EReg_obj::matchedLeft( ){ - HX_STACK_PUSH("EReg::matchedLeft","/usr/lib/haxe/std/cpp/_std/EReg.hx",54); - HX_STACK_THIS(this); - HX_STACK_LINE(55) - Dynamic p = ::EReg_obj::regexp_matched_pos(this->r,(int)0); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(56) - return this->last.substr((int)0,p->__Field(HX_CSTRING("pos"),true)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EReg_obj,matchedLeft,return ) - -::String EReg_obj::matched( int n){ - HX_STACK_PUSH("EReg::matched","/usr/lib/haxe/std/cpp/_std/EReg.hx",49); - HX_STACK_THIS(this); - HX_STACK_ARG(n,"n"); - HX_STACK_LINE(50) - ::String m = ::EReg_obj::regexp_matched(this->r,n); HX_STACK_VAR(m,"m"); - HX_STACK_LINE(51) - return m; -} - - -HX_DEFINE_DYNAMIC_FUNC1(EReg_obj,matched,return ) - -bool EReg_obj::match( ::String s){ - HX_STACK_PUSH("EReg::match","/usr/lib/haxe/std/cpp/_std/EReg.hx",40); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(41) - bool p = ::EReg_obj::regexp_match(this->r,s,(int)0,s.length); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(42) - if ((p)){ - HX_STACK_LINE(43) - this->last = s; - } - else{ - HX_STACK_LINE(45) - this->last = null(); - } - HX_STACK_LINE(46) - return p; -} - - -HX_DEFINE_DYNAMIC_FUNC1(EReg_obj,match,return ) - -Dynamic EReg_obj::regexp_new_options; - -Dynamic EReg_obj::regexp_match; - -Dynamic EReg_obj::regexp_matched; - -Dynamic EReg_obj::regexp_matched_pos; - - -EReg_obj::EReg_obj() -{ -} - -void EReg_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(EReg); - HX_MARK_MEMBER_NAME(global,"global"); - HX_MARK_MEMBER_NAME(last,"last"); - HX_MARK_MEMBER_NAME(r,"r"); - HX_MARK_END_CLASS(); -} - -void EReg_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(global,"global"); - HX_VISIT_MEMBER_NAME(last,"last"); - HX_VISIT_MEMBER_NAME(r,"r"); -} - -Dynamic EReg_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"r") ) { return r; } - break; - case 4: - if (HX_FIELD_EQ(inName,"last") ) { return last; } - break; - case 5: - if (HX_FIELD_EQ(inName,"split") ) { return split_dyn(); } - if (HX_FIELD_EQ(inName,"match") ) { return match_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"global") ) { return global; } - break; - case 7: - if (HX_FIELD_EQ(inName,"replace") ) { return replace_dyn(); } - if (HX_FIELD_EQ(inName,"matched") ) { return matched_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"matchedPos") ) { return matchedPos_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"matchedLeft") ) { return matchedLeft_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"regexp_match") ) { return regexp_match; } - if (HX_FIELD_EQ(inName,"matchedRight") ) { return matchedRight_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"customReplace") ) { return customReplace_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"regexp_matched") ) { return regexp_matched; } - break; - case 18: - if (HX_FIELD_EQ(inName,"regexp_new_options") ) { return regexp_new_options; } - if (HX_FIELD_EQ(inName,"regexp_matched_pos") ) { return regexp_matched_pos; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic EReg_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"r") ) { r=inValue.Cast< Dynamic >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"last") ) { last=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"global") ) { global=inValue.Cast< bool >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"regexp_match") ) { regexp_match=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"regexp_matched") ) { regexp_matched=inValue.Cast< Dynamic >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"regexp_new_options") ) { regexp_new_options=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"regexp_matched_pos") ) { regexp_matched_pos=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void EReg_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("global")); - outFields->push(HX_CSTRING("last")); - outFields->push(HX_CSTRING("r")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("regexp_new_options"), - HX_CSTRING("regexp_match"), - HX_CSTRING("regexp_matched"), - HX_CSTRING("regexp_matched_pos"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("customReplace"), - HX_CSTRING("replace"), - HX_CSTRING("split"), - HX_CSTRING("matchedPos"), - HX_CSTRING("matchedRight"), - HX_CSTRING("matchedLeft"), - HX_CSTRING("matched"), - HX_CSTRING("match"), - HX_CSTRING("global"), - HX_CSTRING("last"), - HX_CSTRING("r"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(EReg_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(EReg_obj::regexp_new_options,"regexp_new_options"); - HX_MARK_MEMBER_NAME(EReg_obj::regexp_match,"regexp_match"); - HX_MARK_MEMBER_NAME(EReg_obj::regexp_matched,"regexp_matched"); - HX_MARK_MEMBER_NAME(EReg_obj::regexp_matched_pos,"regexp_matched_pos"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(EReg_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(EReg_obj::regexp_new_options,"regexp_new_options"); - HX_VISIT_MEMBER_NAME(EReg_obj::regexp_match,"regexp_match"); - HX_VISIT_MEMBER_NAME(EReg_obj::regexp_matched,"regexp_matched"); - HX_VISIT_MEMBER_NAME(EReg_obj::regexp_matched_pos,"regexp_matched_pos"); -}; - -Class EReg_obj::__mClass; - -void EReg_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("EReg"), hx::TCanCast< EReg_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void EReg_obj::__boot() -{ - regexp_new_options= ::cpp::Lib_obj::load(HX_CSTRING("regexp"),HX_CSTRING("regexp_new_options"),(int)2); - regexp_match= ::cpp::Lib_obj::load(HX_CSTRING("regexp"),HX_CSTRING("regexp_match"),(int)4); - regexp_matched= ::cpp::Lib_obj::load(HX_CSTRING("regexp"),HX_CSTRING("regexp_matched"),(int)2); - regexp_matched_pos= ::cpp::Lib_obj::load(HX_CSTRING("regexp"),HX_CSTRING("regexp_matched_pos"),(int)2); -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Hash.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Hash.cpp deleted file mode 100644 index 8107487..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Hash.cpp +++ /dev/null @@ -1,289 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_StringBuf -#include -#endif - -Void Hash_obj::__construct() -{ -HX_STACK_PUSH("Hash::new","/usr/lib/haxe/std/cpp/_std/Hash.hx",29); -{ - struct _Function_1_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Hash.hx",30); - { - hx::Anon __result = hx::Anon_obj::Create(); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(29) - this->__Internal = _Function_1_1::Block(); -} -; - return null(); -} - -Hash_obj::~Hash_obj() { } - -Dynamic Hash_obj::__CreateEmpty() { return new Hash_obj; } -hx::ObjectPtr< Hash_obj > Hash_obj::__new() -{ hx::ObjectPtr< Hash_obj > result = new Hash_obj(); - result->__construct(); - return result;} - -Dynamic Hash_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Hash_obj > result = new Hash_obj(); - result->__construct(); - return result;} - -::String Hash_obj::toString( ){ - HX_STACK_PUSH("Hash::toString","/usr/lib/haxe/std/cpp/_std/Hash.hx",76); - HX_STACK_THIS(this); - HX_STACK_LINE(77) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(78) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("{"); - HX_STACK_LINE(79) - Dynamic it = this->keys(); HX_STACK_VAR(it,"it"); - HX_STACK_LINE(80) - for(::cpp::FastIterator_obj< ::String > *__it = ::cpp::CreateFastIterator< ::String >(it); __it->hasNext(); ){ - ::String i = __it->next(); - { - HX_STACK_LINE(81) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = i; - HX_STACK_LINE(82) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(" => "); - HX_STACK_LINE(83) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::Std_obj::string(this->get(i)); - HX_STACK_LINE(84) - if ((it->__Field(HX_CSTRING("hasNext"),true)())){ - HX_STACK_LINE(85) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(", "); - } - } -; - } - HX_STACK_LINE(87) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("}"); - HX_STACK_LINE(88) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Hash_obj,toString,return ) - -Dynamic Hash_obj::iterator( ){ - HX_STACK_PUSH("Hash::iterator","/usr/lib/haxe/std/cpp/_std/Hash.hx",61); - HX_STACK_THIS(this); - HX_STACK_LINE(62) - Array< ::String > a = Array_obj< ::String >::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(63) - this->__Internal->__GetFields(a); - HX_STACK_LINE(64) - Dynamic it = Dynamic( Array_obj::__new().Add(a->iterator())); HX_STACK_VAR(it,"it"); - HX_STACK_LINE(65) - Array< ::Hash > me = Array_obj< ::Hash >::__new().Add(hx::ObjectPtr(this)); HX_STACK_VAR(me,"me"); - struct _Function_1_1{ - inline static Dynamic Block( Dynamic &it,Array< ::Hash > &me){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Hash.hx",66); - { - hx::Anon __result = hx::Anon_obj::Create(); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_2_1,Dynamic,it) - bool run(){ - HX_STACK_PUSH("*::_Function_2_1","/usr/lib/haxe/std/cpp/_std/Hash.hx",67); - { - HX_STACK_LINE(67) - return it->__GetItem((int)0)->__Field(HX_CSTRING("hasNext"),true)(); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("hasNext") , Dynamic(new _Function_2_1(it)),true); - - HX_BEGIN_LOCAL_FUNC_S2(hx::LocalFunc,_Function_2_2,Array< ::Hash >,me,Dynamic,it) - Dynamic run(){ - HX_STACK_PUSH("*::_Function_2_2","/usr/lib/haxe/std/cpp/_std/Hash.hx",68); - { - HX_STACK_LINE(68) - return me->__get((int)0)->__Internal->__Field(it->__GetItem((int)0)->__Field(HX_CSTRING("next"),true)(),true); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("next") , Dynamic(new _Function_2_2(me,it)),true); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(66) - return _Function_1_1::Block(it,me); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Hash_obj,iterator,return ) - -Dynamic Hash_obj::keys( ){ - HX_STACK_PUSH("Hash::keys","/usr/lib/haxe/std/cpp/_std/Hash.hx",52); - HX_STACK_THIS(this); - HX_STACK_LINE(53) - Array< ::String > a = Array_obj< ::String >::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(54) - this->__Internal->__GetFields(a); - HX_STACK_LINE(55) - return a->iterator(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Hash_obj,keys,return ) - -bool Hash_obj::remove( ::String key){ - HX_STACK_PUSH("Hash::remove","/usr/lib/haxe/std/cpp/_std/Hash.hx",45); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(45) - return ::__hxcpp_anon_remove(this->__Internal,key); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Hash_obj,remove,return ) - -bool Hash_obj::exists( ::String key){ - HX_STACK_PUSH("Hash::exists","/usr/lib/haxe/std/cpp/_std/Hash.hx",41); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(41) - return this->__Internal->__HasField(key); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Hash_obj,exists,return ) - -Dynamic Hash_obj::get( ::String key){ - HX_STACK_PUSH("Hash::get","/usr/lib/haxe/std/cpp/_std/Hash.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(37) - return this->__Internal->__Field(key,true); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Hash_obj,get,return ) - -Void Hash_obj::set( ::String key,Dynamic value){ -{ - HX_STACK_PUSH("Hash::set","/usr/lib/haxe/std/cpp/_std/Hash.hx",33); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(33) - this->__Internal->__SetField(key,value,true); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Hash_obj,set,(void)) - - -Hash_obj::Hash_obj() -{ -} - -void Hash_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Hash); - HX_MARK_MEMBER_NAME(__Internal,"__Internal"); - HX_MARK_END_CLASS(); -} - -void Hash_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(__Internal,"__Internal"); -} - -Dynamic Hash_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"get") ) { return get_dyn(); } - if (HX_FIELD_EQ(inName,"set") ) { return set_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"keys") ) { return keys_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"remove") ) { return remove_dyn(); } - if (HX_FIELD_EQ(inName,"exists") ) { return exists_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"iterator") ) { return iterator_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"__Internal") ) { return __Internal; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Hash_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"__Internal") ) { __Internal=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Hash_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__Internal")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("iterator"), - HX_CSTRING("keys"), - HX_CSTRING("remove"), - HX_CSTRING("exists"), - HX_CSTRING("get"), - HX_CSTRING("set"), - HX_CSTRING("__Internal"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Hash_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Hash_obj::__mClass,"__mClass"); -}; - -Class Hash_obj::__mClass; - -void Hash_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Hash"), hx::TCanCast< Hash_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Hash_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/IntHash.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/IntHash.cpp deleted file mode 100644 index ef00479..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/IntHash.cpp +++ /dev/null @@ -1,235 +0,0 @@ -#include - -#ifndef INCLUDED_IntHash -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_StringBuf -#include -#endif - -Void IntHash_obj::__construct() -{ -HX_STACK_PUSH("IntHash::new","/usr/lib/haxe/std/cpp/_std/IntHash.hx",30); -{ - HX_STACK_LINE(30) - this->h = ::__int_hash_create(); -} -; - return null(); -} - -IntHash_obj::~IntHash_obj() { } - -Dynamic IntHash_obj::__CreateEmpty() { return new IntHash_obj; } -hx::ObjectPtr< IntHash_obj > IntHash_obj::__new() -{ hx::ObjectPtr< IntHash_obj > result = new IntHash_obj(); - result->__construct(); - return result;} - -Dynamic IntHash_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< IntHash_obj > result = new IntHash_obj(); - result->__construct(); - return result;} - -::String IntHash_obj::toString( ){ - HX_STACK_PUSH("IntHash::toString","/usr/lib/haxe/std/cpp/_std/IntHash.hx",60); - HX_STACK_THIS(this); - HX_STACK_LINE(61) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(62) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("{"); - HX_STACK_LINE(63) - Dynamic it = this->keys(); HX_STACK_VAR(it,"it"); - HX_STACK_LINE(64) - for(::cpp::FastIterator_obj< int > *__it = ::cpp::CreateFastIterator< int >(it); __it->hasNext(); ){ - int i = __it->next(); - { - HX_STACK_LINE(65) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = i; - HX_STACK_LINE(66) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(" => "); - HX_STACK_LINE(67) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::Std_obj::string(this->get(i)); - HX_STACK_LINE(68) - if ((it->__Field(HX_CSTRING("hasNext"),true)())){ - HX_STACK_LINE(69) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(", "); - } - } -; - } - HX_STACK_LINE(71) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("}"); - HX_STACK_LINE(72) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(IntHash_obj,toString,return ) - -Dynamic IntHash_obj::iterator( ){ - HX_STACK_PUSH("IntHash::iterator","/usr/lib/haxe/std/cpp/_std/IntHash.hx",55); - HX_STACK_THIS(this); - HX_STACK_LINE(56) - Dynamic a = ::__int_hash_values(this->h); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(57) - return a->__Field(HX_CSTRING("iterator"),true)(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(IntHash_obj,iterator,return ) - -Dynamic IntHash_obj::keys( ){ - HX_STACK_PUSH("IntHash::keys","/usr/lib/haxe/std/cpp/_std/IntHash.hx",50); - HX_STACK_THIS(this); - HX_STACK_LINE(51) - Array< int > a = ::__int_hash_keys(this->h); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(52) - return a->iterator(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(IntHash_obj,keys,return ) - -bool IntHash_obj::remove( int key){ - HX_STACK_PUSH("IntHash::remove","/usr/lib/haxe/std/cpp/_std/IntHash.hx",46); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(46) - return ::__int_hash_remove(this->h,key); -} - - -HX_DEFINE_DYNAMIC_FUNC1(IntHash_obj,remove,return ) - -bool IntHash_obj::exists( int key){ - HX_STACK_PUSH("IntHash::exists","/usr/lib/haxe/std/cpp/_std/IntHash.hx",42); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(42) - return ::__int_hash_exists(this->h,key); -} - - -HX_DEFINE_DYNAMIC_FUNC1(IntHash_obj,exists,return ) - -Dynamic IntHash_obj::get( int key){ - HX_STACK_PUSH("IntHash::get","/usr/lib/haxe/std/cpp/_std/IntHash.hx",38); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(38) - return ::__int_hash_get(this->h,key); -} - - -HX_DEFINE_DYNAMIC_FUNC1(IntHash_obj,get,return ) - -Void IntHash_obj::set( int key,Dynamic value){ -{ - HX_STACK_PUSH("IntHash::set","/usr/lib/haxe/std/cpp/_std/IntHash.hx",34); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(34) - ::__int_hash_set(this->h,key,value); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(IntHash_obj,set,(void)) - - -IntHash_obj::IntHash_obj() -{ -} - -void IntHash_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(IntHash); - HX_MARK_MEMBER_NAME(h,"h"); - HX_MARK_END_CLASS(); -} - -void IntHash_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(h,"h"); -} - -Dynamic IntHash_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"h") ) { return h; } - break; - case 3: - if (HX_FIELD_EQ(inName,"get") ) { return get_dyn(); } - if (HX_FIELD_EQ(inName,"set") ) { return set_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"keys") ) { return keys_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"remove") ) { return remove_dyn(); } - if (HX_FIELD_EQ(inName,"exists") ) { return exists_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"iterator") ) { return iterator_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic IntHash_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"h") ) { h=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void IntHash_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("h")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("iterator"), - HX_CSTRING("keys"), - HX_CSTRING("remove"), - HX_CSTRING("exists"), - HX_CSTRING("get"), - HX_CSTRING("set"), - HX_CSTRING("h"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IntHash_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IntHash_obj::__mClass,"__mClass"); -}; - -Class IntHash_obj::__mClass; - -void IntHash_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("IntHash"), hx::TCanCast< IntHash_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IntHash_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/IntIter.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/IntIter.cpp deleted file mode 100644 index d21752d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/IntIter.cpp +++ /dev/null @@ -1,135 +0,0 @@ -#include - -#ifndef INCLUDED_IntIter -#include -#endif - -Void IntIter_obj::__construct(int min,int max) -{ -HX_STACK_PUSH("IntIter::new","/usr/lib/haxe/std/IntIter.hx",38); -{ - HX_STACK_LINE(39) - this->min = min; - HX_STACK_LINE(40) - this->max = max; -} -; - return null(); -} - -IntIter_obj::~IntIter_obj() { } - -Dynamic IntIter_obj::__CreateEmpty() { return new IntIter_obj; } -hx::ObjectPtr< IntIter_obj > IntIter_obj::__new(int min,int max) -{ hx::ObjectPtr< IntIter_obj > result = new IntIter_obj(); - result->__construct(min,max); - return result;} - -Dynamic IntIter_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< IntIter_obj > result = new IntIter_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -int IntIter_obj::next( ){ - HX_STACK_PUSH("IntIter::next","/usr/lib/haxe/std/IntIter.hx",53); - HX_STACK_THIS(this); - HX_STACK_LINE(53) - return (this->min)++; -} - - -HX_DEFINE_DYNAMIC_FUNC0(IntIter_obj,next,return ) - -bool IntIter_obj::hasNext( ){ - HX_STACK_PUSH("IntIter::hasNext","/usr/lib/haxe/std/IntIter.hx",46); - HX_STACK_THIS(this); - HX_STACK_LINE(46) - return (this->min < this->max); -} - - -HX_DEFINE_DYNAMIC_FUNC0(IntIter_obj,hasNext,return ) - - -IntIter_obj::IntIter_obj() -{ -} - -void IntIter_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(IntIter); - HX_MARK_MEMBER_NAME(max,"max"); - HX_MARK_MEMBER_NAME(min,"min"); - HX_MARK_END_CLASS(); -} - -void IntIter_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(max,"max"); - HX_VISIT_MEMBER_NAME(min,"min"); -} - -Dynamic IntIter_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"max") ) { return max; } - if (HX_FIELD_EQ(inName,"min") ) { return min; } - break; - case 4: - if (HX_FIELD_EQ(inName,"next") ) { return next_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"hasNext") ) { return hasNext_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic IntIter_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"max") ) { max=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"min") ) { min=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void IntIter_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("max")); - outFields->push(HX_CSTRING("min")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("next"), - HX_CSTRING("hasNext"), - HX_CSTRING("max"), - HX_CSTRING("min"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IntIter_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IntIter_obj::__mClass,"__mClass"); -}; - -Class IntIter_obj::__mClass; - -void IntIter_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("IntIter"), hx::TCanCast< IntIter_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IntIter_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/List.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/List.cpp deleted file mode 100644 index 36d676e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/List.cpp +++ /dev/null @@ -1,501 +0,0 @@ -#include - -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_StringBuf -#include -#endif - -Void List_obj::__construct() -{ -HX_STACK_PUSH("List::new","/usr/lib/haxe/std/List.hx",44); -{ - HX_STACK_LINE(44) - this->length = (int)0; -} -; - return null(); -} - -List_obj::~List_obj() { } - -Dynamic List_obj::__CreateEmpty() { return new List_obj; } -hx::ObjectPtr< List_obj > List_obj::__new() -{ hx::ObjectPtr< List_obj > result = new List_obj(); - result->__construct(); - return result;} - -Dynamic List_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< List_obj > result = new List_obj(); - result->__construct(); - return result;} - -::List List_obj::map( Dynamic f){ - HX_STACK_PUSH("List::map","/usr/lib/haxe/std/List.hx",246); - HX_STACK_THIS(this); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(247) - ::List b = ::List_obj::__new(); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(248) - Dynamic l = this->h; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(249) - while(((l != null()))){ - HX_STACK_LINE(250) - Dynamic v = l->__GetItem((int)0); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(251) - l = l->__GetItem((int)1); - HX_STACK_LINE(252) - b->add(f(v)); - } - HX_STACK_LINE(254) - return b; -} - - -HX_DEFINE_DYNAMIC_FUNC1(List_obj,map,return ) - -::List List_obj::filter( Dynamic f){ - HX_STACK_PUSH("List::filter","/usr/lib/haxe/std/List.hx",230); - HX_STACK_THIS(this); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(231) - ::List l2 = ::List_obj::__new(); HX_STACK_VAR(l2,"l2"); - HX_STACK_LINE(232) - Dynamic l = this->h; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(233) - while(((l != null()))){ - HX_STACK_LINE(234) - Dynamic v = l->__GetItem((int)0); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(235) - l = l->__GetItem((int)1); - HX_STACK_LINE(236) - if ((f(v).Cast< bool >())){ - HX_STACK_LINE(237) - l2->add(v); - } - } - HX_STACK_LINE(239) - return l2; -} - - -HX_DEFINE_DYNAMIC_FUNC1(List_obj,filter,return ) - -::String List_obj::join( ::String sep){ - HX_STACK_PUSH("List::join","/usr/lib/haxe/std/List.hx",211); - HX_STACK_THIS(this); - HX_STACK_ARG(sep,"sep"); - HX_STACK_LINE(212) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(213) - bool first = true; HX_STACK_VAR(first,"first"); - HX_STACK_LINE(214) - Dynamic l = this->h; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(215) - while(((l != null()))){ - HX_STACK_LINE(216) - if ((first)){ - HX_STACK_LINE(217) - first = false; - } - else{ - HX_STACK_LINE(219) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = sep; - } - HX_STACK_LINE(220) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = l->__GetItem((int)0); - HX_STACK_LINE(221) - l = l->__GetItem((int)1); - } - HX_STACK_LINE(223) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC1(List_obj,join,return ) - -::String List_obj::toString( ){ - HX_STACK_PUSH("List::toString","/usr/lib/haxe/std/List.hx",191); - HX_STACK_THIS(this); - HX_STACK_LINE(192) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(193) - bool first = true; HX_STACK_VAR(first,"first"); - HX_STACK_LINE(194) - Dynamic l = this->h; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(195) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("{"); - HX_STACK_LINE(196) - while(((l != null()))){ - HX_STACK_LINE(197) - if ((first)){ - HX_STACK_LINE(198) - first = false; - } - else{ - HX_STACK_LINE(200) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(", "); - } - HX_STACK_LINE(201) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::Std_obj::string(l->__GetItem((int)0)); - HX_STACK_LINE(202) - l = l->__GetItem((int)1); - } - HX_STACK_LINE(204) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("}"); - HX_STACK_LINE(205) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,toString,return ) - -Dynamic List_obj::iterator( ){ - HX_STACK_PUSH("List::iterator","/usr/lib/haxe/std/List.hx",152); - HX_STACK_THIS(this); - struct _Function_1_1{ - inline static Dynamic Block( ::List_obj *__this){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/List.hx",170); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("h") , __this->h,false); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_1) - Dynamic run(){ - HX_STACK_PUSH("*::_Function_2_1","/usr/lib/haxe/std/List.hx",172); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(172) - return (__this->__Field(HX_CSTRING("h"),true) != null()); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("hasNext") , Dynamic(new _Function_2_1()),true); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_2) - Dynamic run(){ - HX_STACK_PUSH("*::_Function_2_2","/usr/lib/haxe/std/List.hx",175); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(177) - if (((__this->__Field(HX_CSTRING("h"),true) == null()))){ - HX_STACK_LINE(178) - return null(); - } - HX_STACK_LINE(179) - Dynamic x = __this->__Field(HX_CSTRING("h"),true)->__GetItem((int)0); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(180) - __this->__FieldRef(HX_CSTRING("h")) = __this->__Field(HX_CSTRING("h"),true)->__GetItem((int)1); - HX_STACK_LINE(181) - return x; - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("next") , Dynamic(new _Function_2_2()),true); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(152) - return _Function_1_1::Block(this); -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,iterator,return ) - -bool List_obj::remove( Dynamic v){ - HX_STACK_PUSH("List::remove","/usr/lib/haxe/std/List.hx",129); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(130) - Dynamic prev = null(); HX_STACK_VAR(prev,"prev"); - HX_STACK_LINE(131) - Dynamic l = this->h; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(132) - while(((l != null()))){ - HX_STACK_LINE(133) - if (((l->__GetItem((int)0) == v))){ - HX_STACK_LINE(134) - if (((prev == null()))){ - HX_STACK_LINE(135) - this->h = l->__GetItem((int)1); - } - else{ - HX_STACK_LINE(137) - hx::IndexRef((prev).mPtr,(int)1) = l->__GetItem((int)1); - } - HX_STACK_LINE(138) - if (((this->q == l))){ - HX_STACK_LINE(139) - this->q = prev; - } - HX_STACK_LINE(140) - (this->length)--; - HX_STACK_LINE(141) - return true; - } - HX_STACK_LINE(143) - prev = l; - HX_STACK_LINE(144) - l = l->__GetItem((int)1); - } - HX_STACK_LINE(146) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(List_obj,remove,return ) - -Void List_obj::clear( ){ -{ - HX_STACK_PUSH("List::clear","/usr/lib/haxe/std/List.hx",119); - HX_STACK_THIS(this); - HX_STACK_LINE(120) - this->h = null(); - HX_STACK_LINE(121) - this->q = null(); - HX_STACK_LINE(122) - this->length = (int)0; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,clear,(void)) - -bool List_obj::isEmpty( ){ - HX_STACK_PUSH("List::isEmpty","/usr/lib/haxe/std/List.hx",112); - HX_STACK_THIS(this); - HX_STACK_LINE(112) - return (this->h == null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,isEmpty,return ) - -Dynamic List_obj::pop( ){ - HX_STACK_PUSH("List::pop","/usr/lib/haxe/std/List.hx",98); - HX_STACK_THIS(this); - HX_STACK_LINE(99) - if (((this->h == null()))){ - HX_STACK_LINE(100) - return null(); - } - HX_STACK_LINE(101) - Dynamic x = this->h->__GetItem((int)0); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(102) - this->h = this->h->__GetItem((int)1); - HX_STACK_LINE(103) - if (((this->h == null()))){ - HX_STACK_LINE(104) - this->q = null(); - } - HX_STACK_LINE(105) - (this->length)--; - HX_STACK_LINE(106) - return x; -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,pop,return ) - -Dynamic List_obj::last( ){ - HX_STACK_PUSH("List::last","/usr/lib/haxe/std/List.hx",88); - HX_STACK_THIS(this); - HX_STACK_LINE(88) - return ( (((this->q == null()))) ? Dynamic(null()) : Dynamic(this->q->__GetItem((int)0)) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,last,return ) - -Dynamic List_obj::first( ){ - HX_STACK_PUSH("List::first","/usr/lib/haxe/std/List.hx",80); - HX_STACK_THIS(this); - HX_STACK_LINE(80) - return ( (((this->h == null()))) ? Dynamic(null()) : Dynamic(this->h->__GetItem((int)0)) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(List_obj,first,return ) - -Void List_obj::push( Dynamic item){ -{ - HX_STACK_PUSH("List::push","/usr/lib/haxe/std/List.hx",64); - HX_STACK_THIS(this); - HX_STACK_ARG(item,"item"); - HX_STACK_LINE(65) - Dynamic x = Dynamic( Array_obj::__new().Add(item).Add(this->h)); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(70) - this->h = x; - HX_STACK_LINE(71) - if (((this->q == null()))){ - HX_STACK_LINE(72) - this->q = x; - } - HX_STACK_LINE(73) - (this->length)++; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(List_obj,push,(void)) - -Void List_obj::add( Dynamic item){ -{ - HX_STACK_PUSH("List::add","/usr/lib/haxe/std/List.hx",51); - HX_STACK_THIS(this); - HX_STACK_ARG(item,"item"); - HX_STACK_LINE(52) - Dynamic x = Dynamic( Array_obj::__new().Add(item)); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(53) - if (((this->h == null()))){ - HX_STACK_LINE(54) - this->h = x; - } - else{ - HX_STACK_LINE(56) - hx::IndexRef((this->q).mPtr,(int)1) = x; - } - HX_STACK_LINE(57) - this->q = x; - HX_STACK_LINE(58) - (this->length)++; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(List_obj,add,(void)) - - -List_obj::List_obj() -{ -} - -void List_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(List); - HX_MARK_MEMBER_NAME(length,"length"); - HX_MARK_MEMBER_NAME(q,"q"); - HX_MARK_MEMBER_NAME(h,"h"); - HX_MARK_END_CLASS(); -} - -void List_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(length,"length"); - HX_VISIT_MEMBER_NAME(q,"q"); - HX_VISIT_MEMBER_NAME(h,"h"); -} - -Dynamic List_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"q") ) { return q; } - if (HX_FIELD_EQ(inName,"h") ) { return h; } - break; - case 3: - if (HX_FIELD_EQ(inName,"map") ) { return map_dyn(); } - if (HX_FIELD_EQ(inName,"pop") ) { return pop_dyn(); } - if (HX_FIELD_EQ(inName,"add") ) { return add_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"join") ) { return join_dyn(); } - if (HX_FIELD_EQ(inName,"last") ) { return last_dyn(); } - if (HX_FIELD_EQ(inName,"push") ) { return push_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"clear") ) { return clear_dyn(); } - if (HX_FIELD_EQ(inName,"first") ) { return first_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"filter") ) { return filter_dyn(); } - if (HX_FIELD_EQ(inName,"remove") ) { return remove_dyn(); } - if (HX_FIELD_EQ(inName,"length") ) { return length; } - break; - case 7: - if (HX_FIELD_EQ(inName,"isEmpty") ) { return isEmpty_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"iterator") ) { return iterator_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic List_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"q") ) { q=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"h") ) { h=inValue.Cast< Dynamic >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { length=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void List_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("length")); - outFields->push(HX_CSTRING("q")); - outFields->push(HX_CSTRING("h")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("map"), - HX_CSTRING("filter"), - HX_CSTRING("join"), - HX_CSTRING("toString"), - HX_CSTRING("iterator"), - HX_CSTRING("remove"), - HX_CSTRING("clear"), - HX_CSTRING("isEmpty"), - HX_CSTRING("pop"), - HX_CSTRING("last"), - HX_CSTRING("first"), - HX_CSTRING("push"), - HX_CSTRING("add"), - HX_CSTRING("length"), - HX_CSTRING("q"), - HX_CSTRING("h"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(List_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(List_obj::__mClass,"__mClass"); -}; - -Class List_obj::__mClass; - -void List_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("List"), hx::TCanCast< List_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void List_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Main.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Main.cpp deleted file mode 100644 index 47a9862..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Main.cpp +++ /dev/null @@ -1,159 +0,0 @@ -#include - -#ifndef INCLUDED_Main -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_Tracer -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_MovieClip -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_nme_Lib -#include -#endif - -Void Main_obj::__construct() -{ -HX_STACK_PUSH("Main::new","Main.hx",12); -{ - HX_STACK_LINE(12) - super::__construct(); -} -; - return null(); -} - -Main_obj::~Main_obj() { } - -Dynamic Main_obj::__CreateEmpty() { return new Main_obj; } -hx::ObjectPtr< Main_obj > Main_obj::__new() -{ hx::ObjectPtr< Main_obj > result = new Main_obj(); - result->__construct(); - return result;} - -Dynamic Main_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Main_obj > result = new Main_obj(); - result->__construct(); - return result;} - -Void Main_obj::main( ){ -{ - HX_STACK_PUSH("Main::main","Main.hx",16); - HX_STACK_LINE(17) - ::ca::confidant::glory::Tracer_obj::setRedirection(); - HX_STACK_LINE(19) - ::ca::confidant::glory::GloryFrameworkApp app = ::ca::confidant::glory::GloryFrameworkApp_obj::__new(); HX_STACK_VAR(app,"app"); - HX_STACK_LINE(20) - ::nme::Lib_obj::nmeGetCurrent()->addChild(app); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Main_obj,main,(void)) - -Void Main_obj::myTrace( Dynamic v,Dynamic inf){ -{ - HX_STACK_PUSH("Main::myTrace","Main.hx",24); - HX_STACK_ARG(v,"v"); - HX_STACK_ARG(inf,"inf"); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Main_obj,myTrace,(void)) - - -Main_obj::Main_obj() -{ -} - -void Main_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Main); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Main_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Main_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"main") ) { return main_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"myTrace") ) { return myTrace_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Main_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Main_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("main"), - HX_CSTRING("myTrace"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Main_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Main_obj::__mClass,"__mClass"); -}; - -Class Main_obj::__mClass; - -void Main_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Main"), hx::TCanCast< Main_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Main_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Reflect.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Reflect.cpp deleted file mode 100644 index 4394351..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Reflect.cpp +++ /dev/null @@ -1,373 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif - -Void Reflect_obj::__construct() -{ - return null(); -} - -Reflect_obj::~Reflect_obj() { } - -Dynamic Reflect_obj::__CreateEmpty() { return new Reflect_obj; } -hx::ObjectPtr< Reflect_obj > Reflect_obj::__new() -{ hx::ObjectPtr< Reflect_obj > result = new Reflect_obj(); - result->__construct(); - return result;} - -Dynamic Reflect_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Reflect_obj > result = new Reflect_obj(); - result->__construct(); - return result;} - -bool Reflect_obj::hasField( Dynamic o,::String field){ - HX_STACK_PUSH("Reflect::hasField","/usr/lib/haxe/std/cpp/_std/Reflect.hx",29); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(field,"field"); - HX_STACK_LINE(29) - return (bool((o != null())) && bool(o->__HasField(field))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,hasField,return ) - -Dynamic Reflect_obj::field( Dynamic o,::String field){ - HX_STACK_PUSH("Reflect::field","/usr/lib/haxe/std/cpp/_std/Reflect.hx",33); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(field,"field"); - HX_STACK_LINE(33) - return ( (((o == null()))) ? Dynamic(null()) : Dynamic(o->__Field(field,false)) ); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,field,return ) - -Void Reflect_obj::setField( Dynamic o,::String field,Dynamic value){ -{ - HX_STACK_PUSH("Reflect::setField","/usr/lib/haxe/std/cpp/_std/Reflect.hx",37); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(field,"field"); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(37) - if (((o != null()))){ - HX_STACK_LINE(39) - o->__SetField(field,value,false); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Reflect_obj,setField,(void)) - -Dynamic Reflect_obj::getProperty( Dynamic o,::String field){ - HX_STACK_PUSH("Reflect::getProperty","/usr/lib/haxe/std/cpp/_std/Reflect.hx",42); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(field,"field"); - HX_STACK_LINE(42) - return ( (((o == null()))) ? Dynamic(null()) : Dynamic(o->__Field(field,true)) ); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,getProperty,return ) - -Void Reflect_obj::setProperty( Dynamic o,::String field,Dynamic value){ -{ - HX_STACK_PUSH("Reflect::setProperty","/usr/lib/haxe/std/cpp/_std/Reflect.hx",46); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(field,"field"); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(46) - if (((o != null()))){ - HX_STACK_LINE(48) - o->__SetField(field,value,true); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Reflect_obj,setProperty,(void)) - -Dynamic Reflect_obj::callMethod( Dynamic o,Dynamic func,Dynamic args){ - HX_STACK_PUSH("Reflect::callMethod","/usr/lib/haxe/std/cpp/_std/Reflect.hx",51); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(func,"func"); - HX_STACK_ARG(args,"args"); - HX_STACK_LINE(52) - if (((bool((func != null())) && bool((func->__GetType() == ::vtString))))){ - HX_STACK_LINE(53) - func = o->__Field(func,true); - } - HX_STACK_LINE(54) - func->__SetThis(o); - HX_STACK_LINE(55) - return func->__Run(args); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Reflect_obj,callMethod,return ) - -Array< ::String > Reflect_obj::fields( Dynamic o){ - HX_STACK_PUSH("Reflect::fields","/usr/lib/haxe/std/cpp/_std/Reflect.hx",58); - HX_STACK_ARG(o,"o"); - HX_STACK_LINE(59) - if (((o == null()))){ - HX_STACK_LINE(59) - return Array_obj< ::String >::__new(); - } - HX_STACK_LINE(60) - Array< ::String > a = Array_obj< ::String >::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(61) - o->__GetFields(a); - HX_STACK_LINE(62) - return a; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Reflect_obj,fields,return ) - -bool Reflect_obj::isFunction( Dynamic f){ - HX_STACK_PUSH("Reflect::isFunction","/usr/lib/haxe/std/cpp/_std/Reflect.hx",65); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(65) - return (bool((f != null())) && bool((f->__GetType() == ::vtFunction))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Reflect_obj,isFunction,return ) - -int Reflect_obj::compare( Dynamic a,Dynamic b){ - HX_STACK_PUSH("Reflect::compare","/usr/lib/haxe/std/cpp/_std/Reflect.hx",69); - HX_STACK_ARG(a,"a"); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(69) - return ( (((a == b))) ? int((int)0) : int(( (((a > b))) ? int((int)1) : int((int)-1) )) ); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,compare,return ) - -bool Reflect_obj::compareMethods( Dynamic f1,Dynamic f2){ - HX_STACK_PUSH("Reflect::compareMethods","/usr/lib/haxe/std/cpp/_std/Reflect.hx",73); - HX_STACK_ARG(f1,"f1"); - HX_STACK_ARG(f2,"f2"); - HX_STACK_LINE(74) - if (((f1 == f2))){ - HX_STACK_LINE(75) - return true; - } - HX_STACK_LINE(76) - if (((bool(!(::Reflect_obj::isFunction(f1))) || bool(!(::Reflect_obj::isFunction(f2)))))){ - HX_STACK_LINE(77) - return false; - } - HX_STACK_LINE(78) - return ::__hxcpp_same_closure(f1,f2); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,compareMethods,return ) - -bool Reflect_obj::isObject( Dynamic v){ - HX_STACK_PUSH("Reflect::isObject","/usr/lib/haxe/std/cpp/_std/Reflect.hx",81); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(82) - if (((v == null()))){ - HX_STACK_LINE(82) - return false; - } - HX_STACK_LINE(83) - int t = v->__GetType(); HX_STACK_VAR(t,"t"); - HX_STACK_LINE(84) - return (bool((bool((bool((t == ::vtObject)) || bool((t == ::vtClass)))) || bool((t == ::vtString)))) || bool((t == ::vtArray))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Reflect_obj,isObject,return ) - -bool Reflect_obj::deleteField( Dynamic o,::String f){ - HX_STACK_PUSH("Reflect::deleteField","/usr/lib/haxe/std/cpp/_std/Reflect.hx",88); - HX_STACK_ARG(o,"o"); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(89) - if (((o == null()))){ - HX_STACK_LINE(89) - return false; - } - HX_STACK_LINE(90) - return ::__hxcpp_anon_remove(o,f); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,deleteField,return ) - -Dynamic Reflect_obj::copy( Dynamic o){ - HX_STACK_PUSH("Reflect::copy","/usr/lib/haxe/std/cpp/_std/Reflect.hx",93); - HX_STACK_ARG(o,"o"); - HX_STACK_LINE(94) - if (((o == null()))){ - HX_STACK_LINE(94) - return null(); - } - HX_STACK_LINE(95) - if (((o->__GetType() == ::vtString))){ - HX_STACK_LINE(95) - return o; - } - HX_STACK_LINE(96) - if (((o->__GetType() == ::vtArray))){ - HX_STACK_LINE(97) - return o->__Field(HX_CSTRING("copy"),true)(); - } - struct _Function_1_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Reflect.hx",98); - { - hx::Anon __result = hx::Anon_obj::Create(); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(98) - Dynamic o2 = _Function_1_1::Block(); HX_STACK_VAR(o2,"o2"); - HX_STACK_LINE(99) - { - HX_STACK_LINE(99) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::String > _g1 = ::Reflect_obj::fields(o); HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(99) - while(((_g < _g1->length))){ - HX_STACK_LINE(99) - ::String f = _g1->__get(_g); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(99) - ++(_g); - HX_STACK_LINE(100) - if (((o2 != null()))){ - HX_STACK_LINE(100) - o2->__SetField(f,::Reflect_obj::field(o,f),false); - } - } - } - HX_STACK_LINE(101) - return o2; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Reflect_obj,copy,return ) - -Dynamic Reflect_obj::makeVarArgs( Dynamic f){ - HX_STACK_PUSH("Reflect::makeVarArgs","/usr/lib/haxe/std/cpp/_std/Reflect.hx",104); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(104) - return ::__hxcpp_create_var_args(f); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Reflect_obj,makeVarArgs,return ) - - -Reflect_obj::Reflect_obj() -{ -} - -void Reflect_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Reflect); - HX_MARK_END_CLASS(); -} - -void Reflect_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Reflect_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"copy") ) { return copy_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"field") ) { return field_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"fields") ) { return fields_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"compare") ) { return compare_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"hasField") ) { return hasField_dyn(); } - if (HX_FIELD_EQ(inName,"setField") ) { return setField_dyn(); } - if (HX_FIELD_EQ(inName,"isObject") ) { return isObject_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"callMethod") ) { return callMethod_dyn(); } - if (HX_FIELD_EQ(inName,"isFunction") ) { return isFunction_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"getProperty") ) { return getProperty_dyn(); } - if (HX_FIELD_EQ(inName,"setProperty") ) { return setProperty_dyn(); } - if (HX_FIELD_EQ(inName,"deleteField") ) { return deleteField_dyn(); } - if (HX_FIELD_EQ(inName,"makeVarArgs") ) { return makeVarArgs_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"compareMethods") ) { return compareMethods_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Reflect_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Reflect_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("hasField"), - HX_CSTRING("field"), - HX_CSTRING("setField"), - HX_CSTRING("getProperty"), - HX_CSTRING("setProperty"), - HX_CSTRING("callMethod"), - HX_CSTRING("fields"), - HX_CSTRING("isFunction"), - HX_CSTRING("compare"), - HX_CSTRING("compareMethods"), - HX_CSTRING("isObject"), - HX_CSTRING("deleteField"), - HX_CSTRING("copy"), - HX_CSTRING("makeVarArgs"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Reflect_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Reflect_obj::__mClass,"__mClass"); -}; - -Class Reflect_obj::__mClass; - -void Reflect_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Reflect"), hx::TCanCast< Reflect_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Reflect_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Std.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Std.cpp deleted file mode 100644 index 83657e3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Std.cpp +++ /dev/null @@ -1,165 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif - -Void Std_obj::__construct() -{ - return null(); -} - -Std_obj::~Std_obj() { } - -Dynamic Std_obj::__CreateEmpty() { return new Std_obj; } -hx::ObjectPtr< Std_obj > Std_obj::__new() -{ hx::ObjectPtr< Std_obj > result = new Std_obj(); - result->__construct(); - return result;} - -Dynamic Std_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Std_obj > result = new Std_obj(); - result->__construct(); - return result;} - -bool Std_obj::is( Dynamic v,Dynamic t){ - HX_STACK_PUSH("Std::is","/usr/lib/haxe/std/cpp/_std/Std.hx",27); - HX_STACK_ARG(v,"v"); - HX_STACK_ARG(t,"t"); - HX_STACK_LINE(27) - return ::__instanceof(v,t); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Std_obj,is,return ) - -::String Std_obj::string( Dynamic s){ - HX_STACK_PUSH("Std::string","/usr/lib/haxe/std/cpp/_std/Std.hx",31); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(31) - return ( (((s == null()))) ? ::String(HX_CSTRING("null")) : ::String(s->toString()) ); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Std_obj,string,return ) - -int Std_obj::_int( Float x){ - HX_STACK_PUSH("Std::int","/usr/lib/haxe/std/cpp/_std/Std.hx",35); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(35) - return ::__int__(x); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Std_obj,_int,return ) - -Dynamic Std_obj::parseInt( ::String x){ - HX_STACK_PUSH("Std::parseInt","/usr/lib/haxe/std/cpp/_std/Std.hx",39); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(39) - return ::__hxcpp_parse_int(x); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Std_obj,parseInt,return ) - -Float Std_obj::parseFloat( ::String x){ - HX_STACK_PUSH("Std::parseFloat","/usr/lib/haxe/std/cpp/_std/Std.hx",43); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(43) - return ::__hxcpp_parse_float(x); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Std_obj,parseFloat,return ) - -int Std_obj::random( int x){ - HX_STACK_PUSH("Std::random","/usr/lib/haxe/std/cpp/_std/Std.hx",47); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(47) - return ::__hxcpp_irand(x); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Std_obj,random,return ) - - -Std_obj::Std_obj() -{ -} - -void Std_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Std); - HX_MARK_END_CLASS(); -} - -void Std_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Std_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"is") ) { return is_dyn(); } - break; - case 3: - if (HX_FIELD_EQ(inName,"int") ) { return _int_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"string") ) { return string_dyn(); } - if (HX_FIELD_EQ(inName,"random") ) { return random_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"parseInt") ) { return parseInt_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"parseFloat") ) { return parseFloat_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Std_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Std_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("is"), - HX_CSTRING("string"), - HX_CSTRING("int"), - HX_CSTRING("parseInt"), - HX_CSTRING("parseFloat"), - HX_CSTRING("random"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Std_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Std_obj::__mClass,"__mClass"); -}; - -Class Std_obj::__mClass; - -void Std_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Std"), hx::TCanCast< Std_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Std_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/StringBuf.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/StringBuf.cpp deleted file mode 100644 index 8176dbd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/StringBuf.cpp +++ /dev/null @@ -1,169 +0,0 @@ -#include - -#ifndef INCLUDED_StringBuf -#include -#endif - -Void StringBuf_obj::__construct() -{ -HX_STACK_PUSH("StringBuf::new","/usr/lib/haxe/std/cpp/_std/StringBuf.hx",31); -{ - HX_STACK_LINE(31) - this->b = Dynamic( Array_obj::__new() ); -} -; - return null(); -} - -StringBuf_obj::~StringBuf_obj() { } - -Dynamic StringBuf_obj::__CreateEmpty() { return new StringBuf_obj; } -hx::ObjectPtr< StringBuf_obj > StringBuf_obj::__new() -{ hx::ObjectPtr< StringBuf_obj > result = new StringBuf_obj(); - result->__construct(); - return result;} - -Dynamic StringBuf_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< StringBuf_obj > result = new StringBuf_obj(); - result->__construct(); - return result;} - -::String StringBuf_obj::toString( ){ - HX_STACK_PUSH("StringBuf::toString","/usr/lib/haxe/std/cpp/_std/StringBuf.hx",47); - HX_STACK_THIS(this); - HX_STACK_LINE(47) - return this->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(StringBuf_obj,toString,return ) - -Void StringBuf_obj::addChar( int c){ -{ - HX_STACK_PUSH("StringBuf::addChar","/usr/lib/haxe/std/cpp/_std/StringBuf.hx",43); - HX_STACK_THIS(this); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(43) - hx::IndexRef((this->b).mPtr,this->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode(c); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(StringBuf_obj,addChar,(void)) - -Void StringBuf_obj::addSub( ::String s,int pos,Dynamic len){ -{ - HX_STACK_PUSH("StringBuf::addSub","/usr/lib/haxe/std/cpp/_std/StringBuf.hx",39); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(39) - hx::IndexRef((this->b).mPtr,this->b->__Field(HX_CSTRING("length"),true)) = s.substr(pos,len); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(StringBuf_obj,addSub,(void)) - -Void StringBuf_obj::add( Dynamic x){ -{ - HX_STACK_PUSH("StringBuf::add","/usr/lib/haxe/std/cpp/_std/StringBuf.hx",35); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(35) - hx::IndexRef((this->b).mPtr,this->b->__Field(HX_CSTRING("length"),true)) = x; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(StringBuf_obj,add,(void)) - - -StringBuf_obj::StringBuf_obj() -{ -} - -void StringBuf_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(StringBuf); - HX_MARK_MEMBER_NAME(b,"b"); - HX_MARK_END_CLASS(); -} - -void StringBuf_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(b,"b"); -} - -Dynamic StringBuf_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"b") ) { return b; } - break; - case 3: - if (HX_FIELD_EQ(inName,"add") ) { return add_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"addSub") ) { return addSub_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"addChar") ) { return addChar_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic StringBuf_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"b") ) { b=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void StringBuf_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("b")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("addChar"), - HX_CSTRING("addSub"), - HX_CSTRING("add"), - HX_CSTRING("b"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StringBuf_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StringBuf_obj::__mClass,"__mClass"); -}; - -Class StringBuf_obj::__mClass; - -void StringBuf_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("StringBuf"), hx::TCanCast< StringBuf_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void StringBuf_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/StringTools.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/StringTools.cpp deleted file mode 100644 index 577e33f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/StringTools.cpp +++ /dev/null @@ -1,410 +0,0 @@ -#include - -#ifndef INCLUDED_StringTools -#include -#endif - -Void StringTools_obj::__construct() -{ - return null(); -} - -StringTools_obj::~StringTools_obj() { } - -Dynamic StringTools_obj::__CreateEmpty() { return new StringTools_obj; } -hx::ObjectPtr< StringTools_obj > StringTools_obj::__new() -{ hx::ObjectPtr< StringTools_obj > result = new StringTools_obj(); - result->__construct(); - return result;} - -Dynamic StringTools_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< StringTools_obj > result = new StringTools_obj(); - result->__construct(); - return result;} - -::String StringTools_obj::urlEncode( ::String s){ - HX_STACK_PUSH("StringTools::urlEncode","/usr/lib/haxe/std/StringTools.hx",41); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(41) - return s.__URLEncode(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,urlEncode,return ) - -::String StringTools_obj::urlDecode( ::String s){ - HX_STACK_PUSH("StringTools::urlDecode","/usr/lib/haxe/std/StringTools.hx",68); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(68) - return s.__URLDecode(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,urlDecode,return ) - -::String StringTools_obj::htmlEscape( ::String s){ - HX_STACK_PUSH("StringTools::htmlEscape","/usr/lib/haxe/std/StringTools.hx",95); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(95) - return s.split(HX_CSTRING("&"))->join(HX_CSTRING("&")).split(HX_CSTRING("<"))->join(HX_CSTRING("<")).split(HX_CSTRING(">"))->join(HX_CSTRING(">")); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,htmlEscape,return ) - -::String StringTools_obj::htmlUnescape( ::String s){ - HX_STACK_PUSH("StringTools::htmlUnescape","/usr/lib/haxe/std/StringTools.hx",102); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(102) - return s.split(HX_CSTRING(">"))->join(HX_CSTRING(">")).split(HX_CSTRING("<"))->join(HX_CSTRING("<")).split(HX_CSTRING("&"))->join(HX_CSTRING("&")); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,htmlUnescape,return ) - -bool StringTools_obj::startsWith( ::String s,::String start){ - HX_STACK_PUSH("StringTools::startsWith","/usr/lib/haxe/std/StringTools.hx",113); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(start,"start"); - HX_STACK_LINE(113) - return (bool((s.length >= start.length)) && bool((s.substr((int)0,start.length) == start))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(StringTools_obj,startsWith,return ) - -bool StringTools_obj::endsWith( ::String s,::String end){ - HX_STACK_PUSH("StringTools::endsWith","/usr/lib/haxe/std/StringTools.hx",126); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(end,"end"); - HX_STACK_LINE(132) - int elen = end.length; HX_STACK_VAR(elen,"elen"); - HX_STACK_LINE(133) - int slen = s.length; HX_STACK_VAR(slen,"slen"); - HX_STACK_LINE(134) - return (bool((slen >= elen)) && bool((s.substr((slen - elen),elen) == end))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(StringTools_obj,endsWith,return ) - -bool StringTools_obj::isSpace( ::String s,int pos){ - HX_STACK_PUSH("StringTools::isSpace","/usr/lib/haxe/std/StringTools.hx",141); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(142) - Dynamic c = s.charCodeAt(pos); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(143) - return (bool((bool((c >= (int)9)) && bool((c <= (int)13)))) || bool((c == (int)32))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(StringTools_obj,isSpace,return ) - -::String StringTools_obj::ltrim( ::String s){ - HX_STACK_PUSH("StringTools::ltrim","/usr/lib/haxe/std/StringTools.hx",149); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(155) - int l = s.length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(156) - int r = (int)0; HX_STACK_VAR(r,"r"); - HX_STACK_LINE(157) - while(((bool((r < l)) && bool(::StringTools_obj::isSpace(s,r))))){ - HX_STACK_LINE(157) - (r)++; - } - HX_STACK_LINE(160) - if (((r > (int)0))){ - HX_STACK_LINE(161) - return s.substr(r,(l - r)); - } - else{ - HX_STACK_LINE(163) - return s; - } - HX_STACK_LINE(160) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,ltrim,return ) - -::String StringTools_obj::rtrim( ::String s){ - HX_STACK_PUSH("StringTools::rtrim","/usr/lib/haxe/std/StringTools.hx",170); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(176) - int l = s.length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(177) - int r = (int)0; HX_STACK_VAR(r,"r"); - HX_STACK_LINE(178) - while(((bool((r < l)) && bool(::StringTools_obj::isSpace(s,((l - r) - (int)1)))))){ - HX_STACK_LINE(178) - (r)++; - } - HX_STACK_LINE(181) - if (((r > (int)0))){ - HX_STACK_LINE(181) - return s.substr((int)0,(l - r)); - } - else{ - HX_STACK_LINE(183) - return s; - } - HX_STACK_LINE(181) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,rtrim,return ) - -::String StringTools_obj::trim( ::String s){ - HX_STACK_PUSH("StringTools::trim","/usr/lib/haxe/std/StringTools.hx",192); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(192) - return ::StringTools_obj::ltrim(::StringTools_obj::rtrim(s)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,trim,return ) - -::String StringTools_obj::rpad( ::String s,::String c,int l){ - HX_STACK_PUSH("StringTools::rpad","/usr/lib/haxe/std/StringTools.hx",207); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(c,"c"); - HX_STACK_ARG(l,"l"); - HX_STACK_LINE(211) - int sl = s.length; HX_STACK_VAR(sl,"sl"); - HX_STACK_LINE(212) - int cl = c.length; HX_STACK_VAR(cl,"cl"); - HX_STACK_LINE(213) - while(((sl < l))){ - HX_STACK_LINE(213) - if ((((l - sl) < cl))){ - HX_STACK_LINE(215) - hx::AddEq(s,c.substr((int)0,(l - sl))); - HX_STACK_LINE(216) - sl = l; - } - else{ - HX_STACK_LINE(218) - hx::AddEq(s,c); - HX_STACK_LINE(219) - hx::AddEq(sl,cl); - } - } - HX_STACK_LINE(222) - return s; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(StringTools_obj,rpad,return ) - -::String StringTools_obj::lpad( ::String s,::String c,int l){ - HX_STACK_PUSH("StringTools::lpad","/usr/lib/haxe/std/StringTools.hx",229); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(c,"c"); - HX_STACK_ARG(l,"l"); - HX_STACK_LINE(233) - ::String ns = HX_CSTRING(""); HX_STACK_VAR(ns,"ns"); - HX_STACK_LINE(234) - int sl = s.length; HX_STACK_VAR(sl,"sl"); - HX_STACK_LINE(235) - if (((sl >= l))){ - HX_STACK_LINE(235) - return s; - } - HX_STACK_LINE(237) - int cl = c.length; HX_STACK_VAR(cl,"cl"); - HX_STACK_LINE(238) - while(((sl < l))){ - HX_STACK_LINE(238) - if ((((l - sl) < cl))){ - HX_STACK_LINE(240) - hx::AddEq(ns,c.substr((int)0,(l - sl))); - HX_STACK_LINE(241) - sl = l; - } - else{ - HX_STACK_LINE(243) - hx::AddEq(ns,c); - HX_STACK_LINE(244) - hx::AddEq(sl,cl); - } - } - HX_STACK_LINE(247) - return (ns + s); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(StringTools_obj,lpad,return ) - -::String StringTools_obj::replace( ::String s,::String sub,::String by){ - HX_STACK_PUSH("StringTools::replace","/usr/lib/haxe/std/StringTools.hx",254); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(sub,"sub"); - HX_STACK_ARG(by,"by"); - HX_STACK_LINE(254) - return s.split(sub)->join(by); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(StringTools_obj,replace,return ) - -::String StringTools_obj::hex( int n,Dynamic digits){ - HX_STACK_PUSH("StringTools::hex","/usr/lib/haxe/std/StringTools.hx",269); - HX_STACK_ARG(n,"n"); - HX_STACK_ARG(digits,"digits"); - HX_STACK_LINE(275) - ::String s = HX_CSTRING(""); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(276) - ::String hexChars = HX_CSTRING("0123456789ABCDEF"); HX_STACK_VAR(hexChars,"hexChars"); - HX_STACK_LINE(277) - do{ - HX_STACK_LINE(278) - s = (hexChars.charAt((int(n) & int((int)15))) + s); - HX_STACK_LINE(279) - hx::UShrEq(n,(int)4); - } -while(((n > (int)0))); - HX_STACK_LINE(282) - if (((digits != null()))){ - HX_STACK_LINE(283) - while(((s.length < digits))){ - HX_STACK_LINE(284) - s = (HX_CSTRING("0") + s); - } - } - HX_STACK_LINE(285) - return s; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(StringTools_obj,hex,return ) - -int StringTools_obj::fastCodeAt( ::String s,int index){ - HX_STACK_PUSH("StringTools::fastCodeAt","/usr/lib/haxe/std/StringTools.hx",292); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(292) - return s.cca(index); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(StringTools_obj,fastCodeAt,return ) - -bool StringTools_obj::isEOF( int c){ - HX_STACK_PUSH("StringTools::isEOF","/usr/lib/haxe/std/StringTools.hx",322); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(322) - return (c == (int)0); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(StringTools_obj,isEOF,return ) - - -StringTools_obj::StringTools_obj() -{ -} - -void StringTools_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(StringTools); - HX_MARK_END_CLASS(); -} - -void StringTools_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic StringTools_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"hex") ) { return hex_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"trim") ) { return trim_dyn(); } - if (HX_FIELD_EQ(inName,"rpad") ) { return rpad_dyn(); } - if (HX_FIELD_EQ(inName,"lpad") ) { return lpad_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"ltrim") ) { return ltrim_dyn(); } - if (HX_FIELD_EQ(inName,"rtrim") ) { return rtrim_dyn(); } - if (HX_FIELD_EQ(inName,"isEOF") ) { return isEOF_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"isSpace") ) { return isSpace_dyn(); } - if (HX_FIELD_EQ(inName,"replace") ) { return replace_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"endsWith") ) { return endsWith_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"urlEncode") ) { return urlEncode_dyn(); } - if (HX_FIELD_EQ(inName,"urlDecode") ) { return urlDecode_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"htmlEscape") ) { return htmlEscape_dyn(); } - if (HX_FIELD_EQ(inName,"startsWith") ) { return startsWith_dyn(); } - if (HX_FIELD_EQ(inName,"fastCodeAt") ) { return fastCodeAt_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"htmlUnescape") ) { return htmlUnescape_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic StringTools_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void StringTools_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("urlEncode"), - HX_CSTRING("urlDecode"), - HX_CSTRING("htmlEscape"), - HX_CSTRING("htmlUnescape"), - HX_CSTRING("startsWith"), - HX_CSTRING("endsWith"), - HX_CSTRING("isSpace"), - HX_CSTRING("ltrim"), - HX_CSTRING("rtrim"), - HX_CSTRING("trim"), - HX_CSTRING("rpad"), - HX_CSTRING("lpad"), - HX_CSTRING("replace"), - HX_CSTRING("hex"), - HX_CSTRING("fastCodeAt"), - HX_CSTRING("isEOF"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StringTools_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StringTools_obj::__mClass,"__mClass"); -}; - -Class StringTools_obj::__mClass; - -void StringTools_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("StringTools"), hx::TCanCast< StringTools_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void StringTools_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Sys.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Sys.cpp deleted file mode 100644 index 32c90b6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Sys.cpp +++ /dev/null @@ -1,609 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_Sys -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -#ifndef INCLUDED_haxe_io_Output -#include -#endif -#ifndef INCLUDED_sys_io_FileInput -#include -#endif -#ifndef INCLUDED_sys_io_FileOutput -#include -#endif - -Void Sys_obj::__construct() -{ - return null(); -} - -Sys_obj::~Sys_obj() { } - -Dynamic Sys_obj::__CreateEmpty() { return new Sys_obj; } -hx::ObjectPtr< Sys_obj > Sys_obj::__new() -{ hx::ObjectPtr< Sys_obj > result = new Sys_obj(); - result->__construct(); - return result;} - -Dynamic Sys_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Sys_obj > result = new Sys_obj(); - result->__construct(); - return result;} - -Void Sys_obj::print( Dynamic v){ -{ - HX_STACK_PUSH("Sys::print","/usr/lib/haxe/std/cpp/_std/Sys.hx",28); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(28) - ::__hxcpp_print(v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,print,(void)) - -Void Sys_obj::println( Dynamic v){ -{ - HX_STACK_PUSH("Sys::println","/usr/lib/haxe/std/cpp/_std/Sys.hx",32); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(33) - ::Sys_obj::print(v); - HX_STACK_LINE(34) - ::Sys_obj::print(HX_CSTRING("\n")); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,println,(void)) - -::haxe::io::Input Sys_obj::_stdin( ){ - HX_STACK_PUSH("Sys::stdin","/usr/lib/haxe/std/cpp/_std/Sys.hx",37); - HX_STACK_LINE(37) - return ::sys::io::FileInput_obj::__new(::Sys_obj::file_stdin()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,_stdin,return ) - -::haxe::io::Output Sys_obj::_stdout( ){ - HX_STACK_PUSH("Sys::stdout","/usr/lib/haxe/std/cpp/_std/Sys.hx",41); - HX_STACK_LINE(41) - return ::sys::io::FileOutput_obj::__new(::Sys_obj::file_stdout()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,_stdout,return ) - -::haxe::io::Output Sys_obj::_stderr( ){ - HX_STACK_PUSH("Sys::stderr","/usr/lib/haxe/std/cpp/_std/Sys.hx",45); - HX_STACK_LINE(45) - return ::sys::io::FileOutput_obj::__new(::Sys_obj::file_stderr()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,_stderr,return ) - -int Sys_obj::getChar( bool echo){ - HX_STACK_PUSH("Sys::getChar","/usr/lib/haxe/std/cpp/_std/Sys.hx",49); - HX_STACK_ARG(echo,"echo"); - HX_STACK_LINE(49) - return ::Sys_obj::getch(echo); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,getChar,return ) - -Array< ::String > Sys_obj::args( ){ - HX_STACK_PUSH("Sys::args","/usr/lib/haxe/std/cpp/_std/Sys.hx",53); - HX_STACK_LINE(53) - return ::__get_args(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,args,return ) - -::String Sys_obj::getEnv( ::String s){ - HX_STACK_PUSH("Sys::getEnv","/usr/lib/haxe/std/cpp/_std/Sys.hx",57); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(58) - ::String v = ::Sys_obj::get_env(s); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(59) - if (((v == null()))){ - HX_STACK_LINE(60) - return null(); - } - HX_STACK_LINE(61) - return v; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,getEnv,return ) - -Void Sys_obj::putEnv( ::String s,::String v){ -{ - HX_STACK_PUSH("Sys::putEnv","/usr/lib/haxe/std/cpp/_std/Sys.hx",64); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(64) - ::Sys_obj::put_env(s,v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Sys_obj,putEnv,(void)) - -Void Sys_obj::sleep( Float seconds){ -{ - HX_STACK_PUSH("Sys::sleep","/usr/lib/haxe/std/cpp/_std/Sys.hx",68); - HX_STACK_ARG(seconds,"seconds"); - HX_STACK_LINE(68) - ::Sys_obj::_sleep(seconds); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,sleep,(void)) - -bool Sys_obj::setTimeLocale( ::String loc){ - HX_STACK_PUSH("Sys::setTimeLocale","/usr/lib/haxe/std/cpp/_std/Sys.hx",72); - HX_STACK_ARG(loc,"loc"); - HX_STACK_LINE(72) - return ::Sys_obj::set_time_locale(loc); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,setTimeLocale,return ) - -::String Sys_obj::getCwd( ){ - HX_STACK_PUSH("Sys::getCwd","/usr/lib/haxe/std/cpp/_std/Sys.hx",76); - HX_STACK_LINE(76) - return ::String(::Sys_obj::get_cwd()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,getCwd,return ) - -Void Sys_obj::setCwd( ::String s){ -{ - HX_STACK_PUSH("Sys::setCwd","/usr/lib/haxe/std/cpp/_std/Sys.hx",80); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(80) - ::Sys_obj::set_cwd(s); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,setCwd,(void)) - -::String Sys_obj::systemName( ){ - HX_STACK_PUSH("Sys::systemName","/usr/lib/haxe/std/cpp/_std/Sys.hx",84); - HX_STACK_LINE(84) - return ::Sys_obj::sys_string(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,systemName,return ) - -::String Sys_obj::escapeArgument( ::String arg){ - HX_STACK_PUSH("Sys::escapeArgument","/usr/lib/haxe/std/cpp/_std/Sys.hx",88); - HX_STACK_ARG(arg,"arg"); - HX_STACK_LINE(89) - bool ok = true; HX_STACK_VAR(ok,"ok"); - HX_STACK_LINE(90) - { - HX_STACK_LINE(90) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = arg.length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(90) - while(((_g1 < _g))){ - HX_STACK_LINE(90) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(91) - switch( (int)(arg.charCodeAt(i))){ - case (int)32: case (int)34: { - HX_STACK_LINE(92) - ok = false; - } - ;break; - case (int)0: case (int)13: case (int)10: { - HX_STACK_LINE(94) - arg = arg.substr((int)0,i); - } - ;break; - } - } - } - HX_STACK_LINE(97) - if ((ok)){ - HX_STACK_LINE(98) - return arg; - } - HX_STACK_LINE(99) - return ((HX_CSTRING("\"") + arg.split(HX_CSTRING("\""))->join(HX_CSTRING("\\\""))) + HX_CSTRING("\"")); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,escapeArgument,return ) - -int Sys_obj::command( ::String cmd,Array< ::String > args){ - HX_STACK_PUSH("Sys::command","/usr/lib/haxe/std/cpp/_std/Sys.hx",102); - HX_STACK_ARG(cmd,"cmd"); - HX_STACK_ARG(args,"args"); - HX_STACK_LINE(103) - if (((args != null()))){ - HX_STACK_LINE(104) - cmd = ::Sys_obj::escapeArgument(cmd); - HX_STACK_LINE(105) - { - HX_STACK_LINE(105) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(105) - while(((_g < args->length))){ - HX_STACK_LINE(105) - ::String a = args->__get(_g); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(105) - ++(_g); - HX_STACK_LINE(106) - hx::AddEq(cmd,(HX_CSTRING(" ") + ::Sys_obj::escapeArgument(a))); - } - } - } - HX_STACK_LINE(108) - return ::Sys_obj::sys_command(cmd); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Sys_obj,command,return ) - -Void Sys_obj::exit( int code){ -{ - HX_STACK_PUSH("Sys::exit","/usr/lib/haxe/std/cpp/_std/Sys.hx",111); - HX_STACK_ARG(code,"code"); - HX_STACK_LINE(111) - ::Sys_obj::sys_exit(code); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Sys_obj,exit,(void)) - -Float Sys_obj::time( ){ - HX_STACK_PUSH("Sys::time","/usr/lib/haxe/std/cpp/_std/Sys.hx",115); - HX_STACK_LINE(115) - return ::Sys_obj::sys_time(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,time,return ) - -Float Sys_obj::cpuTime( ){ - HX_STACK_PUSH("Sys::cpuTime","/usr/lib/haxe/std/cpp/_std/Sys.hx",119); - HX_STACK_LINE(119) - return ::Sys_obj::sys_cpu_time(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,cpuTime,return ) - -::String Sys_obj::executablePath( ){ - HX_STACK_PUSH("Sys::executablePath","/usr/lib/haxe/std/cpp/_std/Sys.hx",123); - HX_STACK_LINE(123) - return ::String(::Sys_obj::sys_exe_path()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,executablePath,return ) - -::Hash Sys_obj::environment( ){ - HX_STACK_PUSH("Sys::environment","/usr/lib/haxe/std/cpp/_std/Sys.hx",127); - HX_STACK_LINE(128) - Array< ::String > vars = ::Sys_obj::sys_env(); HX_STACK_VAR(vars,"vars"); - HX_STACK_LINE(129) - ::Hash result = ::Hash_obj::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(130) - int i = (int)0; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(131) - while(((i < vars->length))){ - HX_STACK_LINE(132) - result->set(vars->__get(i),vars->__get((i + (int)1))); - HX_STACK_LINE(133) - hx::AddEq(i,(int)2); - } - HX_STACK_LINE(135) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Sys_obj,environment,return ) - -Dynamic Sys_obj::get_env; - -Dynamic Sys_obj::put_env; - -Dynamic Sys_obj::_sleep; - -Dynamic Sys_obj::set_time_locale; - -Dynamic Sys_obj::get_cwd; - -Dynamic Sys_obj::set_cwd; - -Dynamic Sys_obj::sys_string; - -Dynamic Sys_obj::sys_command; - -Dynamic Sys_obj::sys_exit; - -Dynamic Sys_obj::sys_time; - -Dynamic Sys_obj::sys_cpu_time; - -Dynamic Sys_obj::sys_exe_path; - -Dynamic Sys_obj::sys_env; - -Dynamic Sys_obj::file_stdin; - -Dynamic Sys_obj::file_stdout; - -Dynamic Sys_obj::file_stderr; - -Dynamic Sys_obj::getch; - - -Sys_obj::Sys_obj() -{ -} - -void Sys_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Sys); - HX_MARK_END_CLASS(); -} - -void Sys_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Sys_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"args") ) { return args_dyn(); } - if (HX_FIELD_EQ(inName,"exit") ) { return exit_dyn(); } - if (HX_FIELD_EQ(inName,"time") ) { return time_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"print") ) { return print_dyn(); } - if (HX_FIELD_EQ(inName,"stdin") ) { return _stdin_dyn(); } - if (HX_FIELD_EQ(inName,"sleep") ) { return sleep_dyn(); } - if (HX_FIELD_EQ(inName,"getch") ) { return getch; } - break; - case 6: - if (HX_FIELD_EQ(inName,"stdout") ) { return _stdout_dyn(); } - if (HX_FIELD_EQ(inName,"stderr") ) { return _stderr_dyn(); } - if (HX_FIELD_EQ(inName,"getEnv") ) { return getEnv_dyn(); } - if (HX_FIELD_EQ(inName,"putEnv") ) { return putEnv_dyn(); } - if (HX_FIELD_EQ(inName,"getCwd") ) { return getCwd_dyn(); } - if (HX_FIELD_EQ(inName,"setCwd") ) { return setCwd_dyn(); } - if (HX_FIELD_EQ(inName,"_sleep") ) { return _sleep; } - break; - case 7: - if (HX_FIELD_EQ(inName,"println") ) { return println_dyn(); } - if (HX_FIELD_EQ(inName,"getChar") ) { return getChar_dyn(); } - if (HX_FIELD_EQ(inName,"command") ) { return command_dyn(); } - if (HX_FIELD_EQ(inName,"cpuTime") ) { return cpuTime_dyn(); } - if (HX_FIELD_EQ(inName,"get_env") ) { return get_env; } - if (HX_FIELD_EQ(inName,"put_env") ) { return put_env; } - if (HX_FIELD_EQ(inName,"get_cwd") ) { return get_cwd; } - if (HX_FIELD_EQ(inName,"set_cwd") ) { return set_cwd; } - if (HX_FIELD_EQ(inName,"sys_env") ) { return sys_env; } - break; - case 8: - if (HX_FIELD_EQ(inName,"sys_exit") ) { return sys_exit; } - if (HX_FIELD_EQ(inName,"sys_time") ) { return sys_time; } - break; - case 10: - if (HX_FIELD_EQ(inName,"systemName") ) { return systemName_dyn(); } - if (HX_FIELD_EQ(inName,"sys_string") ) { return sys_string; } - if (HX_FIELD_EQ(inName,"file_stdin") ) { return file_stdin; } - break; - case 11: - if (HX_FIELD_EQ(inName,"environment") ) { return environment_dyn(); } - if (HX_FIELD_EQ(inName,"sys_command") ) { return sys_command; } - if (HX_FIELD_EQ(inName,"file_stdout") ) { return file_stdout; } - if (HX_FIELD_EQ(inName,"file_stderr") ) { return file_stderr; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sys_cpu_time") ) { return sys_cpu_time; } - if (HX_FIELD_EQ(inName,"sys_exe_path") ) { return sys_exe_path; } - break; - case 13: - if (HX_FIELD_EQ(inName,"setTimeLocale") ) { return setTimeLocale_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"escapeArgument") ) { return escapeArgument_dyn(); } - if (HX_FIELD_EQ(inName,"executablePath") ) { return executablePath_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"set_time_locale") ) { return set_time_locale; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Sys_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"getch") ) { getch=inValue.Cast< Dynamic >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"_sleep") ) { _sleep=inValue.Cast< Dynamic >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"get_env") ) { get_env=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"put_env") ) { put_env=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"get_cwd") ) { get_cwd=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"set_cwd") ) { set_cwd=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"sys_env") ) { sys_env=inValue.Cast< Dynamic >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"sys_exit") ) { sys_exit=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"sys_time") ) { sys_time=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"sys_string") ) { sys_string=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_stdin") ) { file_stdin=inValue.Cast< Dynamic >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"sys_command") ) { sys_command=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_stdout") ) { file_stdout=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_stderr") ) { file_stderr=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sys_cpu_time") ) { sys_cpu_time=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"sys_exe_path") ) { sys_exe_path=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"set_time_locale") ) { set_time_locale=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Sys_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("print"), - HX_CSTRING("println"), - HX_CSTRING("stdin"), - HX_CSTRING("stdout"), - HX_CSTRING("stderr"), - HX_CSTRING("getChar"), - HX_CSTRING("args"), - HX_CSTRING("getEnv"), - HX_CSTRING("putEnv"), - HX_CSTRING("sleep"), - HX_CSTRING("setTimeLocale"), - HX_CSTRING("getCwd"), - HX_CSTRING("setCwd"), - HX_CSTRING("systemName"), - HX_CSTRING("escapeArgument"), - HX_CSTRING("command"), - HX_CSTRING("exit"), - HX_CSTRING("time"), - HX_CSTRING("cpuTime"), - HX_CSTRING("executablePath"), - HX_CSTRING("environment"), - HX_CSTRING("get_env"), - HX_CSTRING("put_env"), - HX_CSTRING("_sleep"), - HX_CSTRING("set_time_locale"), - HX_CSTRING("get_cwd"), - HX_CSTRING("set_cwd"), - HX_CSTRING("sys_string"), - HX_CSTRING("sys_command"), - HX_CSTRING("sys_exit"), - HX_CSTRING("sys_time"), - HX_CSTRING("sys_cpu_time"), - HX_CSTRING("sys_exe_path"), - HX_CSTRING("sys_env"), - HX_CSTRING("file_stdin"), - HX_CSTRING("file_stdout"), - HX_CSTRING("file_stderr"), - HX_CSTRING("getch"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Sys_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Sys_obj::get_env,"get_env"); - HX_MARK_MEMBER_NAME(Sys_obj::put_env,"put_env"); - HX_MARK_MEMBER_NAME(Sys_obj::_sleep,"_sleep"); - HX_MARK_MEMBER_NAME(Sys_obj::set_time_locale,"set_time_locale"); - HX_MARK_MEMBER_NAME(Sys_obj::get_cwd,"get_cwd"); - HX_MARK_MEMBER_NAME(Sys_obj::set_cwd,"set_cwd"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_string,"sys_string"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_command,"sys_command"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_exit,"sys_exit"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_time,"sys_time"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_cpu_time,"sys_cpu_time"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_exe_path,"sys_exe_path"); - HX_MARK_MEMBER_NAME(Sys_obj::sys_env,"sys_env"); - HX_MARK_MEMBER_NAME(Sys_obj::file_stdin,"file_stdin"); - HX_MARK_MEMBER_NAME(Sys_obj::file_stdout,"file_stdout"); - HX_MARK_MEMBER_NAME(Sys_obj::file_stderr,"file_stderr"); - HX_MARK_MEMBER_NAME(Sys_obj::getch,"getch"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Sys_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Sys_obj::get_env,"get_env"); - HX_VISIT_MEMBER_NAME(Sys_obj::put_env,"put_env"); - HX_VISIT_MEMBER_NAME(Sys_obj::_sleep,"_sleep"); - HX_VISIT_MEMBER_NAME(Sys_obj::set_time_locale,"set_time_locale"); - HX_VISIT_MEMBER_NAME(Sys_obj::get_cwd,"get_cwd"); - HX_VISIT_MEMBER_NAME(Sys_obj::set_cwd,"set_cwd"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_string,"sys_string"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_command,"sys_command"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_exit,"sys_exit"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_time,"sys_time"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_cpu_time,"sys_cpu_time"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_exe_path,"sys_exe_path"); - HX_VISIT_MEMBER_NAME(Sys_obj::sys_env,"sys_env"); - HX_VISIT_MEMBER_NAME(Sys_obj::file_stdin,"file_stdin"); - HX_VISIT_MEMBER_NAME(Sys_obj::file_stdout,"file_stdout"); - HX_VISIT_MEMBER_NAME(Sys_obj::file_stderr,"file_stderr"); - HX_VISIT_MEMBER_NAME(Sys_obj::getch,"getch"); -}; - -Class Sys_obj::__mClass; - -void Sys_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Sys"), hx::TCanCast< Sys_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Sys_obj::__boot() -{ - get_env= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("get_env"),(int)1); - put_env= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("put_env"),(int)2); - _sleep= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_sleep"),(int)1); - set_time_locale= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("set_time_locale"),(int)1); - get_cwd= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("get_cwd"),(int)0); - set_cwd= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("set_cwd"),(int)1); - sys_string= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_string"),(int)0); - sys_command= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_command"),(int)1); - sys_exit= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_exit"),(int)1); - sys_time= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_time"),(int)0); - sys_cpu_time= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_cpu_time"),(int)0); - sys_exe_path= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_exe_path"),(int)0); - sys_env= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_env"),(int)0); - file_stdin= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_stdin"),(int)0); - file_stdout= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_stdout"),(int)0); - file_stderr= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_stderr"),(int)0); - getch= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_getch"),(int)1); -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Type.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Type.cpp deleted file mode 100644 index 08346b4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Type.cpp +++ /dev/null @@ -1,487 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_ValueType -#include -#endif - -Void Type_obj::__construct() -{ - return null(); -} - -Type_obj::~Type_obj() { } - -Dynamic Type_obj::__CreateEmpty() { return new Type_obj; } -hx::ObjectPtr< Type_obj > Type_obj::__new() -{ hx::ObjectPtr< Type_obj > result = new Type_obj(); - result->__construct(); - return result;} - -Dynamic Type_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Type_obj > result = new Type_obj(); - result->__construct(); - return result;} - -::Class Type_obj::getClass( Dynamic o){ - HX_STACK_PUSH("Type::getClass","/usr/lib/haxe/std/cpp/_std/Type.hx",39); - HX_STACK_ARG(o,"o"); - HX_STACK_LINE(40) - if (((bool((o == null())) || bool(!(::Reflect_obj::isObject(o)))))){ - HX_STACK_LINE(40) - return null(); - } - HX_STACK_LINE(41) - Dynamic c = o->__GetClass(); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(42) - ::String _switch_1 = (c->toString()); - if ( ( _switch_1==HX_CSTRING("__Anon"))){ - HX_STACK_LINE(44) - return null(); - } - else if ( ( _switch_1==HX_CSTRING("Class"))){ - HX_STACK_LINE(45) - return null(); - } - HX_STACK_LINE(47) - return c; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getClass,return ) - -::Enum Type_obj::getEnum( Dynamic o){ - HX_STACK_PUSH("Type::getEnum","/usr/lib/haxe/std/cpp/_std/Type.hx",50); - HX_STACK_ARG(o,"o"); - HX_STACK_LINE(51) - if (((o == null()))){ - HX_STACK_LINE(51) - return null(); - } - HX_STACK_LINE(52) - return o->__GetClass(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getEnum,return ) - -::Class Type_obj::getSuperClass( ::Class c){ - HX_STACK_PUSH("Type::getSuperClass","/usr/lib/haxe/std/cpp/_std/Type.hx",56); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(56) - return c->GetSuper(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getSuperClass,return ) - -::String Type_obj::getClassName( ::Class c){ - HX_STACK_PUSH("Type::getClassName","/usr/lib/haxe/std/cpp/_std/Type.hx",60); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(61) - if (((c == null()))){ - HX_STACK_LINE(62) - return null(); - } - HX_STACK_LINE(63) - return c->mName; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getClassName,return ) - -::String Type_obj::getEnumName( ::Enum e){ - HX_STACK_PUSH("Type::getEnumName","/usr/lib/haxe/std/cpp/_std/Type.hx",66); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(66) - return e->__ToString(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getEnumName,return ) - -::Class Type_obj::resolveClass( ::String name){ - HX_STACK_PUSH("Type::resolveClass","/usr/lib/haxe/std/cpp/_std/Type.hx",70); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(71) - ::Class result = ::Class_obj::Resolve(name); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(72) - if (((bool((result != null())) && bool(result->__IsEnum())))){ - HX_STACK_LINE(73) - return null(); - } - HX_STACK_LINE(74) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,resolveClass,return ) - -::Enum Type_obj::resolveEnum( ::String name){ - HX_STACK_PUSH("Type::resolveEnum","/usr/lib/haxe/std/cpp/_std/Type.hx",77); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(78) - ::Class result = ::Class_obj::Resolve(name); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(79) - if (((bool((result != null())) && bool(!(result->__IsEnum()))))){ - HX_STACK_LINE(80) - return null(); - } - HX_STACK_LINE(81) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,resolveEnum,return ) - -Dynamic Type_obj::createInstance( ::Class cl,Dynamic args){ - HX_STACK_PUSH("Type::createInstance","/usr/lib/haxe/std/cpp/_std/Type.hx",84); - HX_STACK_ARG(cl,"cl"); - HX_STACK_ARG(args,"args"); - HX_STACK_LINE(85) - if (((cl != null()))){ - HX_STACK_LINE(86) - return cl->mConstructArgs(args); - } - HX_STACK_LINE(87) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Type_obj,createInstance,return ) - -Dynamic Type_obj::createEmptyInstance( ::Class cl){ - HX_STACK_PUSH("Type::createEmptyInstance","/usr/lib/haxe/std/cpp/_std/Type.hx",90); - HX_STACK_ARG(cl,"cl"); - HX_STACK_LINE(90) - return cl->mConstructEmpty(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,createEmptyInstance,return ) - -Dynamic Type_obj::createEnum( ::Enum e,::String constr,Dynamic params){ - HX_STACK_PUSH("Type::createEnum","/usr/lib/haxe/std/cpp/_std/Type.hx",94); - HX_STACK_ARG(e,"e"); - HX_STACK_ARG(constr,"constr"); - HX_STACK_ARG(params,"params"); - HX_STACK_LINE(95) - if (((e->mConstructEnum != null()))){ - HX_STACK_LINE(96) - return e->mConstructEnum(constr,params); - } - HX_STACK_LINE(97) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Type_obj,createEnum,return ) - -Dynamic Type_obj::createEnumIndex( ::Enum e,int index,Dynamic params){ - HX_STACK_PUSH("Type::createEnumIndex","/usr/lib/haxe/std/cpp/_std/Type.hx",100); - HX_STACK_ARG(e,"e"); - HX_STACK_ARG(index,"index"); - HX_STACK_ARG(params,"params"); - HX_STACK_LINE(101) - ::String c = ::Type_obj::getEnumConstructs(e)->__get(index); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(102) - if (((c == null()))){ - HX_STACK_LINE(102) - hx::Throw ((index + HX_CSTRING(" is not a valid enum constructor index"))); - } - HX_STACK_LINE(103) - return ::Type_obj::createEnum(e,c,params); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Type_obj,createEnumIndex,return ) - -Array< ::String > Type_obj::getInstanceFields( ::Class c){ - HX_STACK_PUSH("Type::getInstanceFields","/usr/lib/haxe/std/cpp/_std/Type.hx",106); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(106) - return c->GetInstanceFields(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getInstanceFields,return ) - -Array< ::String > Type_obj::getClassFields( ::Class c){ - HX_STACK_PUSH("Type::getClassFields","/usr/lib/haxe/std/cpp/_std/Type.hx",110); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(110) - return c->GetClassFields(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getClassFields,return ) - -Array< ::String > Type_obj::getEnumConstructs( ::Enum e){ - HX_STACK_PUSH("Type::getEnumConstructs","/usr/lib/haxe/std/cpp/_std/Type.hx",114); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(114) - return e->GetClassFields(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,getEnumConstructs,return ) - -::ValueType Type_obj::_typeof( Dynamic v){ - HX_STACK_PUSH("Type::typeof","/usr/lib/haxe/std/cpp/_std/Type.hx",118); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(119) - if (((v == null()))){ - HX_STACK_LINE(119) - return ::ValueType_obj::TNull_dyn(); - } - HX_STACK_LINE(120) - int t = v->__GetType(); HX_STACK_VAR(t,"t"); - HX_STACK_LINE(121) - int _switch_2 = (t); - if ( ( _switch_2==::vtBool)){ - HX_STACK_LINE(123) - return ::ValueType_obj::TBool_dyn(); - } - else if ( ( _switch_2==::vtInt)){ - HX_STACK_LINE(124) - return ::ValueType_obj::TInt_dyn(); - } - else if ( ( _switch_2==::vtFloat)){ - HX_STACK_LINE(125) - return ::ValueType_obj::TFloat_dyn(); - } - else if ( ( _switch_2==::vtFunction)){ - HX_STACK_LINE(126) - return ::ValueType_obj::TFunction_dyn(); - } - else if ( ( _switch_2==::vtObject)){ - HX_STACK_LINE(127) - return ::ValueType_obj::TObject_dyn(); - } - else if ( ( _switch_2==::vtEnum)){ - HX_STACK_LINE(128) - return ::ValueType_obj::TEnum(v->__GetClass()); - } - else { - HX_STACK_LINE(129) - return ::ValueType_obj::TClass(v->__GetClass()); - } -; -; - HX_STACK_LINE(121) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,_typeof,return ) - -bool Type_obj::enumEq( Dynamic a,Dynamic b){ - HX_STACK_PUSH("Type::enumEq","/usr/lib/haxe/std/cpp/_std/Type.hx",134); - HX_STACK_ARG(a,"a"); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(134) - return (a == b); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Type_obj,enumEq,return ) - -::String Type_obj::enumConstructor( Dynamic e){ - HX_STACK_PUSH("Type::enumConstructor","/usr/lib/haxe/std/cpp/_std/Type.hx",138); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(138) - return e->__Tag(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,enumConstructor,return ) - -Dynamic Type_obj::enumParameters( Dynamic e){ - HX_STACK_PUSH("Type::enumParameters","/usr/lib/haxe/std/cpp/_std/Type.hx",142); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(143) - Dynamic result = e->__EnumParams(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(144) - return ( (((result == null()))) ? Dynamic(Dynamic( Array_obj::__new())) : Dynamic(result) ); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,enumParameters,return ) - -int Type_obj::enumIndex( Dynamic e){ - HX_STACK_PUSH("Type::enumIndex","/usr/lib/haxe/std/cpp/_std/Type.hx",147); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(147) - return e->__Index(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,enumIndex,return ) - -Dynamic Type_obj::allEnums( ::Enum e){ - HX_STACK_PUSH("Type::allEnums","/usr/lib/haxe/std/cpp/_std/Type.hx",151); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(152) - Array< ::String > names = e->GetClassFields(); HX_STACK_VAR(names,"names"); - HX_STACK_LINE(153) - Dynamic enums = Dynamic( Array_obj::__new() ); HX_STACK_VAR(enums,"enums"); - HX_STACK_LINE(154) - { - HX_STACK_LINE(154) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(154) - while(((_g < names->length))){ - HX_STACK_LINE(154) - ::String name = names->__get(_g); HX_STACK_VAR(name,"name"); - HX_STACK_LINE(154) - ++(_g); - HX_STACK_LINE(156) - try{ - HX_STACK_LINE(157) - Dynamic result = e->mConstructEnum(name,null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(158) - enums->__Field(HX_CSTRING("push"),true)(result); - } - catch(Dynamic __e){ - if (__e.IsClass< ::String >() ){ - ::String invalidArgCount = __e;{ - } - } - else throw(__e); - } - } - } - HX_STACK_LINE(162) - return enums; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Type_obj,allEnums,return ) - - -Type_obj::Type_obj() -{ -} - -void Type_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Type); - HX_MARK_END_CLASS(); -} - -void Type_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Type_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"typeof") ) { return _typeof_dyn(); } - if (HX_FIELD_EQ(inName,"enumEq") ) { return enumEq_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getEnum") ) { return getEnum_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"getClass") ) { return getClass_dyn(); } - if (HX_FIELD_EQ(inName,"allEnums") ) { return allEnums_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"enumIndex") ) { return enumIndex_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"createEnum") ) { return createEnum_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"getEnumName") ) { return getEnumName_dyn(); } - if (HX_FIELD_EQ(inName,"resolveEnum") ) { return resolveEnum_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"getClassName") ) { return getClassName_dyn(); } - if (HX_FIELD_EQ(inName,"resolveClass") ) { return resolveClass_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"getSuperClass") ) { return getSuperClass_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"createInstance") ) { return createInstance_dyn(); } - if (HX_FIELD_EQ(inName,"getClassFields") ) { return getClassFields_dyn(); } - if (HX_FIELD_EQ(inName,"enumParameters") ) { return enumParameters_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"createEnumIndex") ) { return createEnumIndex_dyn(); } - if (HX_FIELD_EQ(inName,"enumConstructor") ) { return enumConstructor_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"getInstanceFields") ) { return getInstanceFields_dyn(); } - if (HX_FIELD_EQ(inName,"getEnumConstructs") ) { return getEnumConstructs_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"createEmptyInstance") ) { return createEmptyInstance_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Type_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Type_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("getClass"), - HX_CSTRING("getEnum"), - HX_CSTRING("getSuperClass"), - HX_CSTRING("getClassName"), - HX_CSTRING("getEnumName"), - HX_CSTRING("resolveClass"), - HX_CSTRING("resolveEnum"), - HX_CSTRING("createInstance"), - HX_CSTRING("createEmptyInstance"), - HX_CSTRING("createEnum"), - HX_CSTRING("createEnumIndex"), - HX_CSTRING("getInstanceFields"), - HX_CSTRING("getClassFields"), - HX_CSTRING("getEnumConstructs"), - HX_CSTRING("typeof"), - HX_CSTRING("enumEq"), - HX_CSTRING("enumConstructor"), - HX_CSTRING("enumParameters"), - HX_CSTRING("enumIndex"), - HX_CSTRING("allEnums"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Type_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Type_obj::__mClass,"__mClass"); -}; - -Class Type_obj::__mClass; - -void Type_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Type"), hx::TCanCast< Type_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Type_obj::__boot() -{ -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ValueType.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ValueType.cpp deleted file mode 100644 index e35d9d7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ValueType.cpp +++ /dev/null @@ -1,132 +0,0 @@ -#include - -#ifndef INCLUDED_ValueType -#include -#endif - -::ValueType ValueType_obj::TBool; - -::ValueType ValueType_obj::TClass(::Class c) - { return hx::CreateEnum< ValueType_obj >(HX_CSTRING("TClass"),6,hx::DynamicArray(0,1).Add(c)); } - -::ValueType ValueType_obj::TEnum(::Enum e) - { return hx::CreateEnum< ValueType_obj >(HX_CSTRING("TEnum"),7,hx::DynamicArray(0,1).Add(e)); } - -::ValueType ValueType_obj::TFloat; - -::ValueType ValueType_obj::TFunction; - -::ValueType ValueType_obj::TInt; - -::ValueType ValueType_obj::TNull; - -::ValueType ValueType_obj::TObject; - -::ValueType ValueType_obj::TUnknown; - -HX_DEFINE_CREATE_ENUM(ValueType_obj) - -int ValueType_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("TBool")) return 3; - if (inName==HX_CSTRING("TClass")) return 6; - if (inName==HX_CSTRING("TEnum")) return 7; - if (inName==HX_CSTRING("TFloat")) return 2; - if (inName==HX_CSTRING("TFunction")) return 5; - if (inName==HX_CSTRING("TInt")) return 1; - if (inName==HX_CSTRING("TNull")) return 0; - if (inName==HX_CSTRING("TObject")) return 4; - if (inName==HX_CSTRING("TUnknown")) return 8; - return super::__FindIndex(inName); -} - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ValueType_obj,TClass,return) - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ValueType_obj,TEnum,return) - -int ValueType_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("TBool")) return 0; - if (inName==HX_CSTRING("TClass")) return 1; - if (inName==HX_CSTRING("TEnum")) return 1; - if (inName==HX_CSTRING("TFloat")) return 0; - if (inName==HX_CSTRING("TFunction")) return 0; - if (inName==HX_CSTRING("TInt")) return 0; - if (inName==HX_CSTRING("TNull")) return 0; - if (inName==HX_CSTRING("TObject")) return 0; - if (inName==HX_CSTRING("TUnknown")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic ValueType_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("TBool")) return TBool; - if (inName==HX_CSTRING("TClass")) return TClass_dyn(); - if (inName==HX_CSTRING("TEnum")) return TEnum_dyn(); - if (inName==HX_CSTRING("TFloat")) return TFloat; - if (inName==HX_CSTRING("TFunction")) return TFunction; - if (inName==HX_CSTRING("TInt")) return TInt; - if (inName==HX_CSTRING("TNull")) return TNull; - if (inName==HX_CSTRING("TObject")) return TObject; - if (inName==HX_CSTRING("TUnknown")) return TUnknown; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("TNull"), - HX_CSTRING("TInt"), - HX_CSTRING("TFloat"), - HX_CSTRING("TBool"), - HX_CSTRING("TObject"), - HX_CSTRING("TFunction"), - HX_CSTRING("TClass"), - HX_CSTRING("TEnum"), - HX_CSTRING("TUnknown"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ValueType_obj::TBool,"TBool"); - HX_MARK_MEMBER_NAME(ValueType_obj::TFloat,"TFloat"); - HX_MARK_MEMBER_NAME(ValueType_obj::TFunction,"TFunction"); - HX_MARK_MEMBER_NAME(ValueType_obj::TInt,"TInt"); - HX_MARK_MEMBER_NAME(ValueType_obj::TNull,"TNull"); - HX_MARK_MEMBER_NAME(ValueType_obj::TObject,"TObject"); - HX_MARK_MEMBER_NAME(ValueType_obj::TUnknown,"TUnknown"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ValueType_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TBool,"TBool"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TFloat,"TFloat"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TFunction,"TFunction"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TInt,"TInt"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TNull,"TNull"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TObject,"TObject"); - HX_VISIT_MEMBER_NAME(ValueType_obj::TUnknown,"TUnknown"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class ValueType_obj::__mClass; - -Dynamic __Create_ValueType_obj() { return new ValueType_obj; } - -void ValueType_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("ValueType"), hx::TCanCast< ValueType_obj >,sStaticFields,sMemberFields, - &__Create_ValueType_obj, &__Create, - &super::__SGetClass(), &CreateValueType_obj, sMarkStatics, sVisitStatic); -} - -void ValueType_obj::__boot() -{ -Static(TBool) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TBool"),3); -Static(TFloat) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TFloat"),2); -Static(TFunction) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TFunction"),5); -Static(TInt) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TInt"),1); -Static(TNull) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TNull"),0); -Static(TObject) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TObject"),4); -Static(TUnknown) = hx::CreateEnum< ValueType_obj >(HX_CSTRING("TUnknown"),8); -} - - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Xml.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Xml.cpp deleted file mode 100644 index 86d9691..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/Xml.cpp +++ /dev/null @@ -1,1297 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_StringBuf -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_XmlType -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif - -Void Xml_obj::__construct() -{ -HX_STACK_PUSH("Xml::new","/usr/lib/haxe/std/cpp/_std/Xml.hx",45); -{ -} -; - return null(); -} - -Xml_obj::~Xml_obj() { } - -Dynamic Xml_obj::__CreateEmpty() { return new Xml_obj; } -hx::ObjectPtr< Xml_obj > Xml_obj::__new() -{ hx::ObjectPtr< Xml_obj > result = new Xml_obj(); - result->__construct(); - return result;} - -Dynamic Xml_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Xml_obj > result = new Xml_obj(); - result->__construct(); - return result;} - -void Xml_obj::__init__() { -HX_STACK_PUSH("Xml::__init__","/usr/lib/haxe/std/cpp/_std/Xml.hx",407); -{ - HX_STACK_LINE(408) - ::Xml_obj::PCData = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(409) - ::Xml_obj::Element = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(410) - ::Xml_obj::CData = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(411) - ::Xml_obj::Comment = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(412) - ::Xml_obj::DocType = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(413) - ::Xml_obj::Prolog = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(414) - ::Xml_obj::Document = ::Type_obj::createEnum(hx::ClassOf< ::XmlType >(),HX_CSTRING("__"),null()); - HX_STACK_LINE(415) - ::__hxcpp_enum_force(::Xml_obj::PCData,HX_CSTRING("pcdata"),(int)0); - HX_STACK_LINE(416) - ::__hxcpp_enum_force(::Xml_obj::Element,HX_CSTRING("element"),(int)1); - HX_STACK_LINE(417) - ::__hxcpp_enum_force(::Xml_obj::CData,HX_CSTRING("cdata"),(int)2); - HX_STACK_LINE(418) - ::__hxcpp_enum_force(::Xml_obj::Comment,HX_CSTRING("comment"),(int)3); - HX_STACK_LINE(419) - ::__hxcpp_enum_force(::Xml_obj::DocType,HX_CSTRING("doctype"),(int)4); - HX_STACK_LINE(420) - ::__hxcpp_enum_force(::Xml_obj::Prolog,HX_CSTRING("prolog"),(int)5); - HX_STACK_LINE(421) - ::__hxcpp_enum_force(::Xml_obj::Document,HX_CSTRING("document"),(int)6); -} -} - -Void Xml_obj::toStringRec( ::StringBuf s){ -{ - HX_STACK_PUSH("Xml::toStringRec","/usr/lib/haxe/std/cpp/_std/Xml.hx",358); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(358) - ::XmlType _switch_1 = (this->nodeType); - if ( ( _switch_1==::Xml_obj::Document)){ - HX_STACK_LINE(361) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::Xml > _g1 = this->_children; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(361) - while(((_g < _g1->length))){ - HX_STACK_LINE(361) - ::Xml x = _g1->__get(_g); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(361) - ++(_g); - HX_STACK_LINE(362) - x->toStringRec(s); - } - } - else if ( ( _switch_1==::Xml_obj::Element)){ - HX_STACK_LINE(364) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)60); - HX_STACK_LINE(365) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = this->_nodeName; - HX_STACK_LINE(366) - { - HX_STACK_LINE(366) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::String > _g1 = ::Reflect_obj::fields(this->_attributes); HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(366) - while(((_g < _g1->length))){ - HX_STACK_LINE(366) - ::String k = _g1->__get(_g); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(366) - ++(_g); - HX_STACK_LINE(367) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)32); - HX_STACK_LINE(368) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = k; - HX_STACK_LINE(369) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)61); - HX_STACK_LINE(370) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)34); - HX_STACK_LINE(371) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::Reflect_obj::field(this->_attributes,k); - HX_STACK_LINE(372) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)34); - } - } - HX_STACK_LINE(374) - if (((this->_children->length == (int)0))){ - HX_STACK_LINE(375) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)47); - HX_STACK_LINE(376) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)62); - HX_STACK_LINE(377) - return null(); - } - HX_STACK_LINE(379) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)62); - HX_STACK_LINE(380) - { - HX_STACK_LINE(380) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::Xml > _g1 = this->_children; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(380) - while(((_g < _g1->length))){ - HX_STACK_LINE(380) - ::Xml x = _g1->__get(_g); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(380) - ++(_g); - HX_STACK_LINE(381) - x->toStringRec(s); - } - } - HX_STACK_LINE(382) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)60); - HX_STACK_LINE(383) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)47); - HX_STACK_LINE(384) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = this->_nodeName; - HX_STACK_LINE(385) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode((int)62); - } - else if ( ( _switch_1==::Xml_obj::PCData)){ - HX_STACK_LINE(386) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = this->_nodeValue; - } - else if ( ( _switch_1==::Xml_obj::CData)){ - HX_STACK_LINE(389) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = this->_nodeValue; - HX_STACK_LINE(391) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("]]>"); - } - else if ( ( _switch_1==::Xml_obj::Comment)){ - HX_STACK_LINE(393) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(""); - } - else if ( ( _switch_1==::Xml_obj::DocType)){ - HX_STACK_LINE(397) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = this->_nodeValue; - HX_STACK_LINE(399) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING(">"); - } - else if ( ( _switch_1==::Xml_obj::Prolog)){ - HX_STACK_LINE(401) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = this->_nodeValue; - HX_STACK_LINE(403) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = HX_CSTRING("?>"); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,toStringRec,(void)) - -::String Xml_obj::toString( ){ - HX_STACK_PUSH("Xml::toString","/usr/lib/haxe/std/cpp/_std/Xml.hx",352); - HX_STACK_THIS(this); - HX_STACK_LINE(353) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(354) - this->toStringRec(s); - HX_STACK_LINE(355) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,toString,return ) - -Void Xml_obj::insertChild( ::Xml x,int pos){ -{ - HX_STACK_PUSH("Xml::insertChild","/usr/lib/haxe/std/cpp/_std/Xml.hx",343); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(344) - if (((this->_children == null()))){ - HX_STACK_LINE(345) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(346) - if (((x->_parent != null()))){ - HX_STACK_LINE(346) - x->_parent->_children->remove(x); - } - HX_STACK_LINE(347) - x->_parent = hx::ObjectPtr(this); - HX_STACK_LINE(348) - this->_children->insert(pos,x); - HX_STACK_LINE(349) - return null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Xml_obj,insertChild,(void)) - -bool Xml_obj::removeChild( ::Xml x){ - HX_STACK_PUSH("Xml::removeChild","/usr/lib/haxe/std/cpp/_std/Xml.hx",335); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(336) - if (((this->_children == null()))){ - HX_STACK_LINE(337) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(338) - bool b = this->_children->remove(x); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(339) - if ((b)){ - HX_STACK_LINE(339) - x->_parent = null(); - } - HX_STACK_LINE(340) - return b; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,removeChild,return ) - -Void Xml_obj::addChild( ::Xml x){ -{ - HX_STACK_PUSH("Xml::addChild","/usr/lib/haxe/std/cpp/_std/Xml.hx",326); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(327) - if (((this->_children == null()))){ - HX_STACK_LINE(328) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(329) - if (((x->_parent != null()))){ - HX_STACK_LINE(329) - x->_parent->_children->remove(x); - } - HX_STACK_LINE(330) - x->_parent = hx::ObjectPtr(this); - HX_STACK_LINE(331) - this->_children->push(x); - HX_STACK_LINE(332) - return null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,addChild,(void)) - -::Xml Xml_obj::firstElement( ){ - HX_STACK_PUSH("Xml::firstElement","/usr/lib/haxe/std/cpp/_std/Xml.hx",315); - HX_STACK_THIS(this); - HX_STACK_LINE(316) - if (((this->_children == null()))){ - HX_STACK_LINE(317) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(318) - { - HX_STACK_LINE(318) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->_children->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(318) - while(((_g1 < _g))){ - HX_STACK_LINE(318) - int cur = (_g1)++; HX_STACK_VAR(cur,"cur"); - HX_STACK_LINE(319) - ::Xml n = this->_children->__get(cur); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(320) - if (((n->nodeType == ::Xml_obj::Element))){ - HX_STACK_LINE(321) - return n; - } - } - } - HX_STACK_LINE(323) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,firstElement,return ) - -::Xml Xml_obj::firstChild( ){ - HX_STACK_PUSH("Xml::firstChild","/usr/lib/haxe/std/cpp/_std/Xml.hx",309); - HX_STACK_THIS(this); - HX_STACK_LINE(310) - if (((this->_children == null()))){ - HX_STACK_LINE(311) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(312) - return this->_children->__get((int)0); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,firstChild,return ) - -Dynamic Xml_obj::elementsNamed( ::String name){ - HX_STACK_PUSH("Xml::elementsNamed","/usr/lib/haxe/std/cpp/_std/Xml.hx",275); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(275) - Array< ::String > name1 = Array_obj< ::String >::__new().Add(name); HX_STACK_VAR(name1,"name1"); - HX_STACK_LINE(276) - if (((this->_children == null()))){ - HX_STACK_LINE(277) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(278) - Array< Array< ::Xml > > children = Array_obj< Array< ::Xml > >::__new().Add(this->_children); HX_STACK_VAR(children,"children"); - struct _Function_1_1{ - inline static Dynamic Block( Array< Array< ::Xml > > &children,Array< ::String > &name1){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Xml.hx",279); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("cur") , (int)0,false); - - HX_BEGIN_LOCAL_FUNC_S2(hx::LocalThisFunc,_Function_2_1,Array< Array< ::Xml > >,children,Array< ::String >,name1) - bool run(){ - HX_STACK_PUSH("*::_Function_2_1","/usr/lib/haxe/std/cpp/_std/Xml.hx",281); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(282) - int k = __this->__Field(HX_CSTRING("cur"),true); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(283) - int l = children->__get((int)0)->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(284) - while(((k < l))){ - HX_STACK_LINE(285) - ::Xml n = children->__get((int)0)->__get(k); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(286) - if (((bool((n->nodeType == ::Xml_obj::Element)) && bool((n->_nodeName == name1->__get((int)0)))))){ - HX_STACK_LINE(287) - break; - } - HX_STACK_LINE(288) - (k)++; - } - HX_STACK_LINE(290) - __this->__FieldRef(HX_CSTRING("cur")) = k; - HX_STACK_LINE(291) - return (k < l); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("hasNext") , Dynamic(new _Function_2_1(children,name1)),true); - - HX_BEGIN_LOCAL_FUNC_S2(hx::LocalThisFunc,_Function_2_2,Array< Array< ::Xml > >,children,Array< ::String >,name1) - ::Xml run(){ - HX_STACK_PUSH("*::_Function_2_2","/usr/lib/haxe/std/cpp/_std/Xml.hx",293); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(294) - int k = __this->__Field(HX_CSTRING("cur"),true); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(295) - int l = children->__get((int)0)->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(296) - while(((k < l))){ - HX_STACK_LINE(297) - ::Xml n = children->__get((int)0)->__get(k); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(298) - (k)++; - HX_STACK_LINE(299) - if (((bool((n->nodeType == ::Xml_obj::Element)) && bool((n->_nodeName == name1->__get((int)0)))))){ - HX_STACK_LINE(300) - __this->__FieldRef(HX_CSTRING("cur")) = k; - HX_STACK_LINE(301) - return n; - } - } - HX_STACK_LINE(304) - return null(); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("next") , Dynamic(new _Function_2_2(children,name1)),true); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(279) - return _Function_1_1::Block(children,name1); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,elementsNamed,return ) - -Dynamic Xml_obj::elements( ){ - HX_STACK_PUSH("Xml::elements","/usr/lib/haxe/std/cpp/_std/Xml.hx",242); - HX_STACK_THIS(this); - HX_STACK_LINE(243) - if (((this->_children == null()))){ - HX_STACK_LINE(244) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(245) - Array< Array< ::Xml > > children = Array_obj< Array< ::Xml > >::__new().Add(this->_children); HX_STACK_VAR(children,"children"); - struct _Function_1_1{ - inline static Dynamic Block( Array< Array< ::Xml > > &children){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Xml.hx",246); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("cur") , (int)0,false); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalThisFunc,_Function_2_1,Array< Array< ::Xml > >,children) - bool run(){ - HX_STACK_PUSH("*::_Function_2_1","/usr/lib/haxe/std/cpp/_std/Xml.hx",248); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(249) - int k = __this->__Field(HX_CSTRING("cur"),true); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(250) - int l = children->__get((int)0)->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(251) - while(((k < l))){ - HX_STACK_LINE(252) - if (((children->__get((int)0)->__get(k)->nodeType == ::Xml_obj::Element))){ - HX_STACK_LINE(253) - break; - } - HX_STACK_LINE(254) - hx::AddEq(k,(int)1); - } - HX_STACK_LINE(256) - __this->__FieldRef(HX_CSTRING("cur")) = k; - HX_STACK_LINE(257) - return (k < l); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("hasNext") , Dynamic(new _Function_2_1(children)),true); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalThisFunc,_Function_2_2,Array< Array< ::Xml > >,children) - ::Xml run(){ - HX_STACK_PUSH("*::_Function_2_2","/usr/lib/haxe/std/cpp/_std/Xml.hx",259); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(260) - int k = __this->__Field(HX_CSTRING("cur"),true); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(261) - int l = children->__get((int)0)->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(262) - while(((k < l))){ - HX_STACK_LINE(263) - ::Xml n = children->__get((int)0)->__get(k); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(264) - hx::AddEq(k,(int)1); - HX_STACK_LINE(265) - if (((n->nodeType == ::Xml_obj::Element))){ - HX_STACK_LINE(266) - __this->__FieldRef(HX_CSTRING("cur")) = k; - HX_STACK_LINE(267) - return n; - } - } - HX_STACK_LINE(270) - return null(); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("next") , Dynamic(new _Function_2_2(children)),true); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(246) - return _Function_1_1::Block(children); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,elements,return ) - -Dynamic Xml_obj::iterator( ){ - HX_STACK_PUSH("Xml::iterator","/usr/lib/haxe/std/cpp/_std/Xml.hx",235); - HX_STACK_THIS(this); - HX_STACK_LINE(236) - if (((this->_children == null()))){ - HX_STACK_LINE(237) - hx::Throw (HX_CSTRING("bad nodetype")); - } - HX_STACK_LINE(238) - return this->_children->iterator(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,iterator,return ) - -Dynamic Xml_obj::attributes( ){ - HX_STACK_PUSH("Xml::attributes","/usr/lib/haxe/std/cpp/_std/Xml.hx",229); - HX_STACK_THIS(this); - HX_STACK_LINE(230) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(231) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(232) - return ::Reflect_obj::fields(this->_attributes)->iterator(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,attributes,return ) - -bool Xml_obj::exists( ::String att){ - HX_STACK_PUSH("Xml::exists","/usr/lib/haxe/std/cpp/_std/Xml.hx",223); - HX_STACK_THIS(this); - HX_STACK_ARG(att,"att"); - HX_STACK_LINE(224) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(225) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(226) - return ::Reflect_obj::hasField(this->_attributes,att); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,exists,return ) - -Void Xml_obj::remove( ::String att){ -{ - HX_STACK_PUSH("Xml::remove","/usr/lib/haxe/std/cpp/_std/Xml.hx",216); - HX_STACK_THIS(this); - HX_STACK_ARG(att,"att"); - HX_STACK_LINE(217) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(218) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(219) - ::Reflect_obj::deleteField(this->_attributes,att); - HX_STACK_LINE(220) - return null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,remove,(void)) - -Void Xml_obj::set( ::String att,::String value){ -{ - HX_STACK_PUSH("Xml::set","/usr/lib/haxe/std/cpp/_std/Xml.hx",207); - HX_STACK_THIS(this); - HX_STACK_ARG(att,"att"); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(208) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(209) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(210) - if (((this->_attributes == null()))){ - struct _Function_2_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Xml.hx",211); - { - hx::Anon __result = hx::Anon_obj::Create(); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(211) - this->_attributes = _Function_2_1::Block(); - } - HX_STACK_LINE(212) - { - HX_STACK_LINE(212) - Dynamic o = this->_attributes; HX_STACK_VAR(o,"o"); - HX_STACK_LINE(212) - if (((o != null()))){ - HX_STACK_LINE(212) - o->__SetField(att,value,false); - } - } - HX_STACK_LINE(213) - return null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Xml_obj,set,(void)) - -::String Xml_obj::get( ::String att){ - HX_STACK_PUSH("Xml::get","/usr/lib/haxe/std/cpp/_std/Xml.hx",201); - HX_STACK_THIS(this); - HX_STACK_ARG(att,"att"); - HX_STACK_LINE(202) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(203) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(204) - return ::Reflect_obj::field(this->_attributes,att); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,get,return ) - -::Xml Xml_obj::getParent( ){ - HX_STACK_PUSH("Xml::getParent","/usr/lib/haxe/std/cpp/_std/Xml.hx",197); - HX_STACK_THIS(this); - HX_STACK_LINE(197) - return this->_parent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,getParent,return ) - -::String Xml_obj::setNodeValue( ::String v){ - HX_STACK_PUSH("Xml::setNodeValue","/usr/lib/haxe/std/cpp/_std/Xml.hx",190); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(191) - if (((bool((this->nodeType == ::Xml_obj::Element)) || bool((this->nodeType == ::Xml_obj::Document))))){ - HX_STACK_LINE(192) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(193) - return this->_nodeValue = v; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,setNodeValue,return ) - -::String Xml_obj::getNodeValue( ){ - HX_STACK_PUSH("Xml::getNodeValue","/usr/lib/haxe/std/cpp/_std/Xml.hx",184); - HX_STACK_THIS(this); - HX_STACK_LINE(185) - if (((bool((this->nodeType == ::Xml_obj::Element)) || bool((this->nodeType == ::Xml_obj::Document))))){ - HX_STACK_LINE(186) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(187) - return this->_nodeValue; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,getNodeValue,return ) - -::String Xml_obj::setNodeName( ::String n){ - HX_STACK_PUSH("Xml::setNodeName","/usr/lib/haxe/std/cpp/_std/Xml.hx",178); - HX_STACK_THIS(this); - HX_STACK_ARG(n,"n"); - HX_STACK_LINE(179) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(180) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(181) - return this->_nodeName = n; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,setNodeName,return ) - -::String Xml_obj::getNodeName( ){ - HX_STACK_PUSH("Xml::getNodeName","/usr/lib/haxe/std/cpp/_std/Xml.hx",172); - HX_STACK_THIS(this); - HX_STACK_LINE(173) - if (((this->nodeType != ::Xml_obj::Element))){ - HX_STACK_LINE(174) - hx::Throw (HX_CSTRING("bad nodeType")); - } - HX_STACK_LINE(175) - return this->_nodeName; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,getNodeName,return ) - -::XmlType Xml_obj::Element; - -::XmlType Xml_obj::PCData; - -::XmlType Xml_obj::CData; - -::XmlType Xml_obj::Comment; - -::XmlType Xml_obj::DocType; - -::XmlType Xml_obj::Prolog; - -::XmlType Xml_obj::Document; - -Dynamic Xml_obj::_parse; - -::Xml Xml_obj::parse( ::String str){ - HX_STACK_PUSH("Xml::parse","/usr/lib/haxe/std/cpp/_std/Xml.hx",50); - HX_STACK_ARG(str,"str"); - HX_STACK_LINE(51) - ::Xml x = ::Xml_obj::__new(); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(52) - x->_children = Array_obj< ::Xml >::__new(); - struct _Function_1_1{ - inline static Dynamic Block( ::Xml &x){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/Xml.hx",53); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("cur") , x,false); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_1) - Void run(::String name,Dynamic att){ - HX_STACK_PUSH("*::_Function_2_1","/usr/lib/haxe/std/cpp/_std/Xml.hx",55); - HX_STACK_THIS(__this.mPtr); - HX_STACK_ARG(name,"name"); - HX_STACK_ARG(att,"att"); - { - HX_STACK_LINE(56) - ::Xml x1 = ::Xml_obj::__new(); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(57) - x1->_parent = __this->__Field(HX_CSTRING("cur"),true); - HX_STACK_LINE(58) - x1->nodeType = ::Xml_obj::Element; - HX_STACK_LINE(59) - x1->_nodeName = ::String(name); - HX_STACK_LINE(60) - x1->_attributes = att; - HX_STACK_LINE(61) - x1->_children = Array_obj< ::Xml >::__new(); - HX_STACK_LINE(62) - { - HX_STACK_LINE(63) - int i = (int)0; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(64) - __this->__Field(HX_CSTRING("cur"),true)->__Field(HX_CSTRING("addChild"),true)(x1); - HX_STACK_LINE(65) - __this->__FieldRef(HX_CSTRING("cur")) = x1; - } - } - return null(); - } - HX_END_LOCAL_FUNC2((void)) - - __result->Add(HX_CSTRING("xml") , Dynamic(new _Function_2_1()),true); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_2) - Void run(::String text){ - HX_STACK_PUSH("*::_Function_2_2","/usr/lib/haxe/std/cpp/_std/Xml.hx",68); - HX_STACK_THIS(__this.mPtr); - HX_STACK_ARG(text,"text"); - { - HX_STACK_LINE(69) - ::Xml x1 = ::Xml_obj::__new(); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(70) - x1->_parent = __this->__Field(HX_CSTRING("cur"),true); - HX_STACK_LINE(71) - x1->nodeType = ::Xml_obj::CData; - HX_STACK_LINE(72) - x1->_nodeValue = ::String(text); - HX_STACK_LINE(73) - __this->__Field(HX_CSTRING("cur"),true)->__Field(HX_CSTRING("addChild"),true)(x1); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - __result->Add(HX_CSTRING("cdata") , Dynamic(new _Function_2_2()),true); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_3) - Void run(::String text){ - HX_STACK_PUSH("*::_Function_2_3","/usr/lib/haxe/std/cpp/_std/Xml.hx",75); - HX_STACK_THIS(__this.mPtr); - HX_STACK_ARG(text,"text"); - { - HX_STACK_LINE(76) - ::Xml x1 = ::Xml_obj::__new(); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(77) - x1->_parent = __this->__Field(HX_CSTRING("cur"),true); - HX_STACK_LINE(78) - x1->nodeType = ::Xml_obj::PCData; - HX_STACK_LINE(79) - x1->_nodeValue = ::String(text); - HX_STACK_LINE(80) - __this->__Field(HX_CSTRING("cur"),true)->__Field(HX_CSTRING("addChild"),true)(x1); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - __result->Add(HX_CSTRING("pcdata") , Dynamic(new _Function_2_3()),true); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_4) - Void run(::String text){ - HX_STACK_PUSH("*::_Function_2_4","/usr/lib/haxe/std/cpp/_std/Xml.hx",82); - HX_STACK_THIS(__this.mPtr); - HX_STACK_ARG(text,"text"); - { - HX_STACK_LINE(83) - ::Xml x1 = ::Xml_obj::__new(); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(84) - x1->_parent = __this->__Field(HX_CSTRING("cur"),true); - HX_STACK_LINE(85) - if (((text.cca((int)0) == (int)63))){ - HX_STACK_LINE(86) - x1->nodeType = ::Xml_obj::Prolog; - HX_STACK_LINE(87) - text = ::String(text); - HX_STACK_LINE(88) - text = text.substr((int)1,(text.length - (int)2)); - } - else{ - HX_STACK_LINE(90) - x1->nodeType = ::Xml_obj::Comment; - HX_STACK_LINE(91) - text = ::String(text); - } - HX_STACK_LINE(93) - x1->_nodeValue = text; - HX_STACK_LINE(94) - __this->__Field(HX_CSTRING("cur"),true)->__Field(HX_CSTRING("addChild"),true)(x1); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - __result->Add(HX_CSTRING("comment") , Dynamic(new _Function_2_4()),true); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_5) - Void run(::String text){ - HX_STACK_PUSH("*::_Function_2_5","/usr/lib/haxe/std/cpp/_std/Xml.hx",96); - HX_STACK_THIS(__this.mPtr); - HX_STACK_ARG(text,"text"); - { - HX_STACK_LINE(97) - ::Xml x1 = ::Xml_obj::__new(); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(98) - x1->_parent = __this->__Field(HX_CSTRING("cur"),true); - HX_STACK_LINE(99) - x1->nodeType = ::Xml_obj::DocType; - HX_STACK_LINE(100) - x1->_nodeValue = ::String(text).substr((int)1,null()); - HX_STACK_LINE(101) - ::Xml p = __this->__Field(HX_CSTRING("cur"),true); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(102) - p->addChild(x1); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - __result->Add(HX_CSTRING("doctype") , Dynamic(new _Function_2_5()),true); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalThisFunc,_Function_2_6) - Void run(){ - HX_STACK_PUSH("*::_Function_2_6","/usr/lib/haxe/std/cpp/_std/Xml.hx",104); - HX_STACK_THIS(__this.mPtr); - { - HX_STACK_LINE(104) - __this->__FieldRef(HX_CSTRING("cur")) = __this->__Field(HX_CSTRING("cur"),true)->__Field(HX_CSTRING("_parent"),true); - } - return null(); - } - HX_END_LOCAL_FUNC0((void)) - - __result->Add(HX_CSTRING("done") , Dynamic(new _Function_2_6()),true); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(53) - Dynamic parser = _Function_1_1::Block(x); HX_STACK_VAR(parser,"parser"); - HX_STACK_LINE(108) - ::Xml_obj::_parse(str,parser); - HX_STACK_LINE(109) - x->nodeType = ::Xml_obj::Document; - HX_STACK_LINE(110) - return x; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,parse,return ) - -::Xml Xml_obj::createElement( ::String name){ - HX_STACK_PUSH("Xml::createElement","/usr/lib/haxe/std/cpp/_std/Xml.hx",114); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(115) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(116) - r->nodeType = ::Xml_obj::Element; - HX_STACK_LINE(117) - r->_nodeName = name; - HX_STACK_LINE(118) - r->_attributes = null(); - HX_STACK_LINE(119) - r->_children = Array_obj< ::Xml >::__new(); - HX_STACK_LINE(120) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,createElement,return ) - -::Xml Xml_obj::createPCData( ::String data){ - HX_STACK_PUSH("Xml::createPCData","/usr/lib/haxe/std/cpp/_std/Xml.hx",123); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(124) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(125) - r->nodeType = ::Xml_obj::PCData; - HX_STACK_LINE(126) - r->_nodeValue = data; - HX_STACK_LINE(127) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,createPCData,return ) - -::Xml Xml_obj::createCData( ::String data){ - HX_STACK_PUSH("Xml::createCData","/usr/lib/haxe/std/cpp/_std/Xml.hx",130); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(131) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(132) - r->nodeType = ::Xml_obj::CData; - HX_STACK_LINE(133) - r->_nodeValue = data; - HX_STACK_LINE(134) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,createCData,return ) - -::Xml Xml_obj::createComment( ::String data){ - HX_STACK_PUSH("Xml::createComment","/usr/lib/haxe/std/cpp/_std/Xml.hx",137); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(138) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(139) - r->nodeType = ::Xml_obj::Comment; - HX_STACK_LINE(140) - r->_nodeValue = data; - HX_STACK_LINE(141) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,createComment,return ) - -::Xml Xml_obj::createDocType( ::String data){ - HX_STACK_PUSH("Xml::createDocType","/usr/lib/haxe/std/cpp/_std/Xml.hx",144); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(145) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(146) - r->nodeType = ::Xml_obj::DocType; - HX_STACK_LINE(147) - r->_nodeValue = data; - HX_STACK_LINE(148) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,createDocType,return ) - -::Xml Xml_obj::createProlog( ::String data){ - HX_STACK_PUSH("Xml::createProlog","/usr/lib/haxe/std/cpp/_std/Xml.hx",151); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(152) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(153) - r->nodeType = ::Xml_obj::Prolog; - HX_STACK_LINE(154) - r->_nodeValue = data; - HX_STACK_LINE(155) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Xml_obj,createProlog,return ) - -::Xml Xml_obj::createDocument( ){ - HX_STACK_PUSH("Xml::createDocument","/usr/lib/haxe/std/cpp/_std/Xml.hx",158); - HX_STACK_LINE(159) - ::Xml r = ::Xml_obj::__new(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(160) - r->nodeType = ::Xml_obj::Document; - HX_STACK_LINE(161) - r->_children = Array_obj< ::Xml >::__new(); - HX_STACK_LINE(162) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Xml_obj,createDocument,return ) - - -Xml_obj::Xml_obj() -{ -} - -void Xml_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Xml); - HX_MARK_MEMBER_NAME(parent,"parent"); - HX_MARK_MEMBER_NAME(nodeValue,"nodeValue"); - HX_MARK_MEMBER_NAME(nodeName,"nodeName"); - HX_MARK_MEMBER_NAME(nodeType,"nodeType"); - HX_MARK_MEMBER_NAME(_parent,"_parent"); - HX_MARK_MEMBER_NAME(_children,"_children"); - HX_MARK_MEMBER_NAME(_attributes,"_attributes"); - HX_MARK_MEMBER_NAME(_nodeValue,"_nodeValue"); - HX_MARK_MEMBER_NAME(_nodeName,"_nodeName"); - HX_MARK_END_CLASS(); -} - -void Xml_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(parent,"parent"); - HX_VISIT_MEMBER_NAME(nodeValue,"nodeValue"); - HX_VISIT_MEMBER_NAME(nodeName,"nodeName"); - HX_VISIT_MEMBER_NAME(nodeType,"nodeType"); - HX_VISIT_MEMBER_NAME(_parent,"_parent"); - HX_VISIT_MEMBER_NAME(_children,"_children"); - HX_VISIT_MEMBER_NAME(_attributes,"_attributes"); - HX_VISIT_MEMBER_NAME(_nodeValue,"_nodeValue"); - HX_VISIT_MEMBER_NAME(_nodeName,"_nodeName"); -} - -Dynamic Xml_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"set") ) { return set_dyn(); } - if (HX_FIELD_EQ(inName,"get") ) { return get_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"CData") ) { return CData; } - if (HX_FIELD_EQ(inName,"parse") ) { return parse_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"PCData") ) { return PCData; } - if (HX_FIELD_EQ(inName,"Prolog") ) { return Prolog; } - if (HX_FIELD_EQ(inName,"_parse") ) { return _parse; } - if (HX_FIELD_EQ(inName,"exists") ) { return exists_dyn(); } - if (HX_FIELD_EQ(inName,"remove") ) { return remove_dyn(); } - if (HX_FIELD_EQ(inName,"parent") ) { return inCallProp ? getParent() : parent; } - break; - case 7: - if (HX_FIELD_EQ(inName,"Element") ) { return Element; } - if (HX_FIELD_EQ(inName,"Comment") ) { return Comment; } - if (HX_FIELD_EQ(inName,"DocType") ) { return DocType; } - if (HX_FIELD_EQ(inName,"_parent") ) { return _parent; } - break; - case 8: - if (HX_FIELD_EQ(inName,"Document") ) { return Document; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"addChild") ) { return addChild_dyn(); } - if (HX_FIELD_EQ(inName,"elements") ) { return elements_dyn(); } - if (HX_FIELD_EQ(inName,"iterator") ) { return iterator_dyn(); } - if (HX_FIELD_EQ(inName,"nodeName") ) { return inCallProp ? getNodeName() : nodeName; } - if (HX_FIELD_EQ(inName,"nodeType") ) { return nodeType; } - break; - case 9: - if (HX_FIELD_EQ(inName,"getParent") ) { return getParent_dyn(); } - if (HX_FIELD_EQ(inName,"nodeValue") ) { return inCallProp ? getNodeValue() : nodeValue; } - if (HX_FIELD_EQ(inName,"_children") ) { return _children; } - if (HX_FIELD_EQ(inName,"_nodeName") ) { return _nodeName; } - break; - case 10: - if (HX_FIELD_EQ(inName,"firstChild") ) { return firstChild_dyn(); } - if (HX_FIELD_EQ(inName,"attributes") ) { return attributes_dyn(); } - if (HX_FIELD_EQ(inName,"_nodeValue") ) { return _nodeValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"createCData") ) { return createCData_dyn(); } - if (HX_FIELD_EQ(inName,"toStringRec") ) { return toStringRec_dyn(); } - if (HX_FIELD_EQ(inName,"insertChild") ) { return insertChild_dyn(); } - if (HX_FIELD_EQ(inName,"removeChild") ) { return removeChild_dyn(); } - if (HX_FIELD_EQ(inName,"setNodeName") ) { return setNodeName_dyn(); } - if (HX_FIELD_EQ(inName,"getNodeName") ) { return getNodeName_dyn(); } - if (HX_FIELD_EQ(inName,"_attributes") ) { return _attributes; } - break; - case 12: - if (HX_FIELD_EQ(inName,"createPCData") ) { return createPCData_dyn(); } - if (HX_FIELD_EQ(inName,"createProlog") ) { return createProlog_dyn(); } - if (HX_FIELD_EQ(inName,"firstElement") ) { return firstElement_dyn(); } - if (HX_FIELD_EQ(inName,"setNodeValue") ) { return setNodeValue_dyn(); } - if (HX_FIELD_EQ(inName,"getNodeValue") ) { return getNodeValue_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"createElement") ) { return createElement_dyn(); } - if (HX_FIELD_EQ(inName,"createComment") ) { return createComment_dyn(); } - if (HX_FIELD_EQ(inName,"createDocType") ) { return createDocType_dyn(); } - if (HX_FIELD_EQ(inName,"elementsNamed") ) { return elementsNamed_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"createDocument") ) { return createDocument_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Xml_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"CData") ) { CData=inValue.Cast< ::XmlType >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"PCData") ) { PCData=inValue.Cast< ::XmlType >(); return inValue; } - if (HX_FIELD_EQ(inName,"Prolog") ) { Prolog=inValue.Cast< ::XmlType >(); return inValue; } - if (HX_FIELD_EQ(inName,"_parse") ) { _parse=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"parent") ) { parent=inValue.Cast< ::Xml >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"Element") ) { Element=inValue.Cast< ::XmlType >(); return inValue; } - if (HX_FIELD_EQ(inName,"Comment") ) { Comment=inValue.Cast< ::XmlType >(); return inValue; } - if (HX_FIELD_EQ(inName,"DocType") ) { DocType=inValue.Cast< ::XmlType >(); return inValue; } - if (HX_FIELD_EQ(inName,"_parent") ) { _parent=inValue.Cast< ::Xml >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"Document") ) { Document=inValue.Cast< ::XmlType >(); return inValue; } - if (HX_FIELD_EQ(inName,"nodeName") ) { if (inCallProp) return setNodeName(inValue);nodeName=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"nodeType") ) { nodeType=inValue.Cast< ::XmlType >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nodeValue") ) { if (inCallProp) return setNodeValue(inValue);nodeValue=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_children") ) { _children=inValue.Cast< Array< ::Xml > >(); return inValue; } - if (HX_FIELD_EQ(inName,"_nodeName") ) { _nodeName=inValue.Cast< ::String >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"_nodeValue") ) { _nodeValue=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"_attributes") ) { _attributes=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Xml_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("parent")); - outFields->push(HX_CSTRING("nodeValue")); - outFields->push(HX_CSTRING("nodeName")); - outFields->push(HX_CSTRING("nodeType")); - outFields->push(HX_CSTRING("_parent")); - outFields->push(HX_CSTRING("_children")); - outFields->push(HX_CSTRING("_attributes")); - outFields->push(HX_CSTRING("_nodeValue")); - outFields->push(HX_CSTRING("_nodeName")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("Element"), - HX_CSTRING("PCData"), - HX_CSTRING("CData"), - HX_CSTRING("Comment"), - HX_CSTRING("DocType"), - HX_CSTRING("Prolog"), - HX_CSTRING("Document"), - HX_CSTRING("_parse"), - HX_CSTRING("parse"), - HX_CSTRING("createElement"), - HX_CSTRING("createPCData"), - HX_CSTRING("createCData"), - HX_CSTRING("createComment"), - HX_CSTRING("createDocType"), - HX_CSTRING("createProlog"), - HX_CSTRING("createDocument"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toStringRec"), - HX_CSTRING("toString"), - HX_CSTRING("insertChild"), - HX_CSTRING("removeChild"), - HX_CSTRING("addChild"), - HX_CSTRING("firstElement"), - HX_CSTRING("firstChild"), - HX_CSTRING("elementsNamed"), - HX_CSTRING("elements"), - HX_CSTRING("iterator"), - HX_CSTRING("attributes"), - HX_CSTRING("exists"), - HX_CSTRING("remove"), - HX_CSTRING("set"), - HX_CSTRING("get"), - HX_CSTRING("getParent"), - HX_CSTRING("parent"), - HX_CSTRING("setNodeValue"), - HX_CSTRING("getNodeValue"), - HX_CSTRING("setNodeName"), - HX_CSTRING("getNodeName"), - HX_CSTRING("nodeValue"), - HX_CSTRING("nodeName"), - HX_CSTRING("nodeType"), - HX_CSTRING("_parent"), - HX_CSTRING("_children"), - HX_CSTRING("_attributes"), - HX_CSTRING("_nodeValue"), - HX_CSTRING("_nodeName"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Xml_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Xml_obj::Element,"Element"); - HX_MARK_MEMBER_NAME(Xml_obj::PCData,"PCData"); - HX_MARK_MEMBER_NAME(Xml_obj::CData,"CData"); - HX_MARK_MEMBER_NAME(Xml_obj::Comment,"Comment"); - HX_MARK_MEMBER_NAME(Xml_obj::DocType,"DocType"); - HX_MARK_MEMBER_NAME(Xml_obj::Prolog,"Prolog"); - HX_MARK_MEMBER_NAME(Xml_obj::Document,"Document"); - HX_MARK_MEMBER_NAME(Xml_obj::_parse,"_parse"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Xml_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Xml_obj::Element,"Element"); - HX_VISIT_MEMBER_NAME(Xml_obj::PCData,"PCData"); - HX_VISIT_MEMBER_NAME(Xml_obj::CData,"CData"); - HX_VISIT_MEMBER_NAME(Xml_obj::Comment,"Comment"); - HX_VISIT_MEMBER_NAME(Xml_obj::DocType,"DocType"); - HX_VISIT_MEMBER_NAME(Xml_obj::Prolog,"Prolog"); - HX_VISIT_MEMBER_NAME(Xml_obj::Document,"Document"); - HX_VISIT_MEMBER_NAME(Xml_obj::_parse,"_parse"); -}; - -Class Xml_obj::__mClass; - -void Xml_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("Xml"), hx::TCanCast< Xml_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Xml_obj::__boot() -{ - _parse= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("parse_xml"),(int)2); -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/XmlType.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/XmlType.cpp deleted file mode 100644 index 8b1d870..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/XmlType.cpp +++ /dev/null @@ -1,51 +0,0 @@ -#include - -#ifndef INCLUDED_XmlType -#include -#endif - -HX_DEFINE_CREATE_ENUM(XmlType_obj) - -int XmlType_obj::__FindIndex(::String inName) -{ - return super::__FindIndex(inName); -} - -int XmlType_obj::__FindArgCount(::String inName) -{ - return super::__FindArgCount(inName); -} - -Dynamic XmlType_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(XmlType_obj::__mClass,"__mClass"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class XmlType_obj::__mClass; - -Dynamic __Create_XmlType_obj() { return new XmlType_obj; } - -void XmlType_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("XmlType"), hx::TCanCast< XmlType_obj >,sStaticFields,sMemberFields, - &__Create_XmlType_obj, &__Create, - &super::__SGetClass(), &CreateXmlType_obj, sMarkStatics, sVisitStatic); -} - -void XmlType_obj::__boot() -{ -} - - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/__boot__.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/__boot__.cpp deleted file mode 100644 index 8a3fafa..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/__boot__.cpp +++ /dev/null @@ -1,610 +0,0 @@ -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -void __boot_all() -{ -hx::RegisterResources( hx::GetResources() ); -::sys::io::Process_obj::__register(); -::sys::io::_Process::Stdout_obj::__register(); -::sys::io::_Process::Stdin_obj::__register(); -::sys::io::FileSeek_obj::__register(); -::sys::io::FileOutput_obj::__register(); -::sys::io::FileInput_obj::__register(); -::sys::io::File_obj::__register(); -::sys::FileSystem_obj::__register(); -::sys::_FileSystem::FileKind_obj::__register(); -::pages::Psvg_obj::__register(); -::org::puremvc::haxe::patterns::observer::Observer_obj::__register(); -::org::puremvc::haxe::patterns::observer::Notification_obj::__register(); -::org::puremvc::haxe::interfaces::IObserver_obj::__register(); -::org::puremvc::haxe::interfaces::INotification_obj::__register(); -::org::puremvc::haxe::core::View_obj::__register(); -::org::puremvc::haxe::interfaces::IView_obj::__register(); -::org::puremvc::haxe::core::Model_obj::__register(); -::org::puremvc::haxe::interfaces::IModel_obj::__register(); -::org::puremvc::haxe::core::Controller_obj::__register(); -::org::puremvc::haxe::interfaces::IController_obj::__register(); -::nme::installer::Assets_obj::__register(); -::nme::Lib_obj::__register(); -::neash::utils::WeakRef_obj::__register(); -::neash::utils::Endian_obj::__register(); -::neash::utils::ByteArray_obj::__register(); -::neash::utils::IDataInput_obj::__register(); -::neash::text::FontType_obj::__register(); -::neash::text::FontStyle_obj::__register(); -::neash::text::Font_obj::__register(); -::neash::net::URLVariables_obj::__register(); -::neash::net::URLRequestMethod_obj::__register(); -::neash::net::URLRequestHeader_obj::__register(); -::neash::net::URLRequest_obj::__register(); -::neash::net::URLLoaderDataFormat_obj::__register(); -::neash::net::URLLoader_obj::__register(); -::neash::media::SoundTransform_obj::__register(); -::neash::media::SoundLoaderContext_obj::__register(); -::neash::media::SoundChannel_obj::__register(); -::neash::media::Sound_obj::__register(); -::neash::media::ID3Info_obj::__register(); -::neash::geom::Transform_obj::__register(); -::neash::geom::Rectangle_obj::__register(); -::neash::geom::Point_obj::__register(); -::neash::geom::Matrix_obj::__register(); -::neash::geom::ColorTransform_obj::__register(); -::neash::filters::BitmapFilter_obj::__register(); -::neash::events::SampleDataEvent_obj::__register(); -::neash::events::ProgressEvent_obj::__register(); -::neash::events::KeyboardEvent_obj::__register(); -::neash::events::JoystickEvent_obj::__register(); -::neash::events::IOErrorEvent_obj::__register(); -::neash::events::HTTPStatusEvent_obj::__register(); -::neash::events::FocusEvent_obj::__register(); -::neash::events::EventPhase_obj::__register(); -::neash::events::Listener_obj::__register(); -::neash::events::ErrorEvent_obj::__register(); -::neash::events::TextEvent_obj::__register(); -::neash::errors::RangeError_obj::__register(); -::neash::errors::EOFError_obj::__register(); -::neash::errors::ArgumentError_obj::__register(); -::neash::errors::Error_obj::__register(); -::neash::display::TriangleCulling_obj::__register(); -::neash::display::Tilesheet_obj::__register(); -::neash::display::StageScaleMode_obj::__register(); -::neash::display::StageQuality_obj::__register(); -::neash::display::StageDisplayState_obj::__register(); -::neash::display::StageAlign_obj::__register(); -::neash::display::TouchInfo_obj::__register(); -::neash::display::Shape_obj::__register(); -::neash::display::PixelSnapping_obj::__register(); -::neash::display::MovieClip_obj::__register(); -::neash::display::ManagedStage_obj::__register(); -::neash::display::Stage_obj::__register(); -::neash::events::TouchEvent_obj::__register(); -::neash::events::MouseEvent_obj::__register(); -::neash::events::Event_obj::__register(); -::neash::display::IGraphicsData_obj::__register(); -::neash::display::GraphicsPathWinding_obj::__register(); -::neash::display::Graphics_obj::__register(); -::neash::display::GradientType_obj::__register(); -::neash::display::BlendMode_obj::__register(); -::neash::display::BitmapDataChannel_obj::__register(); -::neash::display::OptimizedPerlin_obj::__register(); -::neash::display::BitmapData_obj::__register(); -::neash::display::Bitmap_obj::__register(); -::neash::Lib_obj::__register(); -::haxe::xml::Fast_obj::__register(); -::haxe::xml::_Fast::NodeListAccess_obj::__register(); -::haxe::xml::_Fast::HasNodeAccess_obj::__register(); -::haxe::xml::_Fast::HasAttribAccess_obj::__register(); -::haxe::xml::_Fast::AttribAccess_obj::__register(); -::haxe::xml::_Fast::NodeAccess_obj::__register(); -::haxe::io::Output_obj::__register(); -::haxe::io::Input_obj::__register(); -::haxe::io::Error_obj::__register(); -::haxe::io::Eof_obj::__register(); -::haxe::io::BytesBuffer_obj::__register(); -::haxe::io::Bytes_obj::__register(); -::haxe::Timer_obj::__register(); -::haxe::Log_obj::__register(); -::haxe::BaseCode_obj::__register(); -::format::svg::Text_obj::__register(); -::format::svg::SVGRenderer_obj::__register(); -::format::svg::SVGData_obj::__register(); -::format::svg::RenderContext_obj::__register(); -::format::svg::ArcSegment_obj::__register(); -::format::svg::CubicSegment_obj::__register(); -::format::svg::QuadraticSegment_obj::__register(); -::format::svg::DrawSegment_obj::__register(); -::format::svg::MoveSegment_obj::__register(); -::format::svg::PathSegment_obj::__register(); -::format::svg::PathParser_obj::__register(); -::format::svg::Path_obj::__register(); -::format::svg::DisplayElement_obj::__register(); -::format::svg::Group_obj::__register(); -::format::svg::Grad_obj::__register(); -::format::svg::FillType_obj::__register(); -::format::gfx::LineStyle_obj::__register(); -::format::gfx::Gradient_obj::__register(); -::format::gfx::GfxTextFinder_obj::__register(); -::format::gfx::GfxGraphics_obj::__register(); -::format::gfx::GfxExtent_obj::__register(); -::format::gfx::GfxBytes_obj::__register(); -::neash::display::SpreadMethod_obj::__register(); -::neash::display::LineScaleMode_obj::__register(); -::neash::display::JointStyle_obj::__register(); -::neash::display::InterpolationMethod_obj::__register(); -::neash::display::CapsStyle_obj::__register(); -::format::gfx::Gfx2Haxe_obj::__register(); -::format::gfx::Gfx_obj::__register(); -::format::SVG_obj::__register(); -::cpp::zip::Uncompress_obj::__register(); -::cpp::zip::Flush_obj::__register(); -::cpp::zip::Compress_obj::__register(); -::cpp::rtti::FieldNumericIntegerLookup_obj::__register(); -::ca::confidant::glory::view::constants::ControlConstants_obj::__register(); -::ca::confidant::glory::view::components::PageComponent_obj::__register(); -::ca::confidant::glory::view::components::ControlComponent_obj::__register(); -::ca::confidant::glory::view::components::ActorComponent_obj::__register(); -::ca::confidant::glory::view::PageMediator_obj::__register(); -::ca::confidant::glory::view::ControlComponentMediator_obj::__register(); -::ca::confidant::glory::view::ApplicationMediator_obj::__register(); -::ca::confidant::glory::view::ActorComponentMediator_obj::__register(); -::org::puremvc::haxe::patterns::mediator::Mediator_obj::__register(); -::org::puremvc::haxe::interfaces::IMediator_obj::__register(); -::ca::confidant::glory::model::TickerProxy_obj::__register(); -::ca::confidant::glory::model::PagesConfigProxy_obj::__register(); -::ca::confidant::glory::model::LoaderProxy_obj::__register(); -::ca::confidant::glory::model::ControlsRegistryProxy_obj::__register(); -::ca::confidant::glory::model::ActorComponentConfigProxy_obj::__register(); -::org::puremvc::haxe::patterns::proxy::Proxy_obj::__register(); -::org::puremvc::haxe::interfaces::IProxy_obj::__register(); -::ca::confidant::glory::controller::TimerEnableCommand_obj::__register(); -::ca::confidant::glory::controller::TimerDisableCommand_obj::__register(); -::ca::confidant::glory::controller::StartupCommand_obj::__register(); -::org::puremvc::haxe::patterns::command::MacroCommand_obj::__register(); -::ca::confidant::glory::controller::Startup2_Proxies_Command_obj::__register(); -::ca::confidant::glory::controller::Startup1_App_Command_obj::__register(); -::ca::confidant::glory::controller::Startup0_RegCommands_Command_obj::__register(); -::ca::confidant::glory::controller::RemovePageCommand_obj::__register(); -::ca::confidant::glory::controller::HandleAssetsLoadedCommand_obj::__register(); -::ca::confidant::glory::controller::GotoIntroCommand_obj::__register(); -::ca::confidant::glory::controller::ChangePageCommand_obj::__register(); -::ca::confidant::glory::controller::BuildPageCommand_obj::__register(); -::ca::confidant::glory::controller::BuildControlsCommand_obj::__register(); -::org::puremvc::haxe::patterns::command::SimpleCommand_obj::__register(); -::org::puremvc::haxe::interfaces::ICommand_obj::__register(); -::org::puremvc::haxe::patterns::observer::Notifier_obj::__register(); -::org::puremvc::haxe::interfaces::INotifier_obj::__register(); -::ca::confidant::glory::Tracer_obj::__register(); -::ca::confidant::glory::ApplicationFacade_obj::__register(); -::org::puremvc::haxe::patterns::facade::Facade_obj::__register(); -::org::puremvc::haxe::interfaces::IFacade_obj::__register(); -::Xml_obj::__register(); -::XmlType_obj::__register(); -::Type_obj::__register(); -::ValueType_obj::__register(); -::Sys_obj::__register(); -::StringTools_obj::__register(); -::StringBuf_obj::__register(); -::Std_obj::__register(); -::Reflect_obj::__register(); -::Main_obj::__register(); -::ca::confidant::glory::GloryFrameworkApp_obj::__register(); -::neash::display::Sprite_obj::__register(); -::neash::display::DisplayObjectContainer_obj::__register(); -::neash::display::InteractiveObject_obj::__register(); -::neash::display::DisplayObject_obj::__register(); -::neash::Loader_obj::__register(); -::neash::display::IBitmapDrawable_obj::__register(); -::neash::events::EventDispatcher_obj::__register(); -::neash::events::IEventDispatcher_obj::__register(); -::List_obj::__register(); -::IntIter_obj::__register(); -::IntHash_obj::__register(); -::Hash_obj::__register(); -::EReg_obj::__register(); -::cpp::Lib_obj::__register(); -::Date_obj::__register(); -::ApplicationMain_obj::__register(); -::Xml_obj::__init__(); -::neash::utils::ByteArray_obj::__init__(); -::cpp::Lib_obj::__boot(); -::EReg_obj::__boot(); -::Xml_obj::__boot(); -::cpp::rtti::FieldNumericIntegerLookup_obj::__boot(); -::cpp::zip::Compress_obj::__boot(); -::cpp::zip::Flush_obj::__boot(); -::cpp::zip::Uncompress_obj::__boot(); -::haxe::Log_obj::__boot(); -::ApplicationMain_obj::__boot(); -::Date_obj::__boot(); -::Hash_obj::__boot(); -::IntHash_obj::__boot(); -::IntIter_obj::__boot(); -::List_obj::__boot(); -::neash::events::IEventDispatcher_obj::__boot(); -::neash::events::EventDispatcher_obj::__boot(); -::neash::display::IBitmapDrawable_obj::__boot(); -::neash::Loader_obj::__boot(); -::neash::display::DisplayObject_obj::__boot(); -::neash::display::InteractiveObject_obj::__boot(); -::neash::display::DisplayObjectContainer_obj::__boot(); -::neash::display::Sprite_obj::__boot(); -::ca::confidant::glory::GloryFrameworkApp_obj::__boot(); -::Main_obj::__boot(); -::Reflect_obj::__boot(); -::Std_obj::__boot(); -::StringBuf_obj::__boot(); -::StringTools_obj::__boot(); -::Sys_obj::__boot(); -::ValueType_obj::__boot(); -::Type_obj::__boot(); -::XmlType_obj::__boot(); -::org::puremvc::haxe::interfaces::IFacade_obj::__boot(); -::org::puremvc::haxe::patterns::facade::Facade_obj::__boot(); -::ca::confidant::glory::ApplicationFacade_obj::__boot(); -::ca::confidant::glory::Tracer_obj::__boot(); -::org::puremvc::haxe::interfaces::INotifier_obj::__boot(); -::org::puremvc::haxe::patterns::observer::Notifier_obj::__boot(); -::org::puremvc::haxe::interfaces::ICommand_obj::__boot(); -::org::puremvc::haxe::patterns::command::SimpleCommand_obj::__boot(); -::ca::confidant::glory::controller::BuildControlsCommand_obj::__boot(); -::ca::confidant::glory::controller::BuildPageCommand_obj::__boot(); -::ca::confidant::glory::controller::ChangePageCommand_obj::__boot(); -::ca::confidant::glory::controller::GotoIntroCommand_obj::__boot(); -::ca::confidant::glory::controller::HandleAssetsLoadedCommand_obj::__boot(); -::ca::confidant::glory::controller::RemovePageCommand_obj::__boot(); -::ca::confidant::glory::controller::Startup0_RegCommands_Command_obj::__boot(); -::ca::confidant::glory::controller::Startup1_App_Command_obj::__boot(); -::ca::confidant::glory::controller::Startup2_Proxies_Command_obj::__boot(); -::org::puremvc::haxe::patterns::command::MacroCommand_obj::__boot(); -::ca::confidant::glory::controller::StartupCommand_obj::__boot(); -::ca::confidant::glory::controller::TimerDisableCommand_obj::__boot(); -::ca::confidant::glory::controller::TimerEnableCommand_obj::__boot(); -::org::puremvc::haxe::interfaces::IProxy_obj::__boot(); -::org::puremvc::haxe::patterns::proxy::Proxy_obj::__boot(); -::ca::confidant::glory::model::ActorComponentConfigProxy_obj::__boot(); -::ca::confidant::glory::model::ControlsRegistryProxy_obj::__boot(); -::ca::confidant::glory::model::LoaderProxy_obj::__boot(); -::ca::confidant::glory::model::PagesConfigProxy_obj::__boot(); -::ca::confidant::glory::model::TickerProxy_obj::__boot(); -::org::puremvc::haxe::interfaces::IMediator_obj::__boot(); -::org::puremvc::haxe::patterns::mediator::Mediator_obj::__boot(); -::ca::confidant::glory::view::ActorComponentMediator_obj::__boot(); -::ca::confidant::glory::view::ApplicationMediator_obj::__boot(); -::ca::confidant::glory::view::ControlComponentMediator_obj::__boot(); -::ca::confidant::glory::view::PageMediator_obj::__boot(); -::ca::confidant::glory::view::components::ActorComponent_obj::__boot(); -::ca::confidant::glory::view::components::ControlComponent_obj::__boot(); -::ca::confidant::glory::view::components::PageComponent_obj::__boot(); -::ca::confidant::glory::view::constants::ControlConstants_obj::__boot(); -::format::SVG_obj::__boot(); -::format::gfx::Gfx_obj::__boot(); -::format::gfx::Gfx2Haxe_obj::__boot(); -::neash::display::CapsStyle_obj::__boot(); -::neash::display::InterpolationMethod_obj::__boot(); -::neash::display::JointStyle_obj::__boot(); -::neash::display::LineScaleMode_obj::__boot(); -::neash::display::SpreadMethod_obj::__boot(); -::format::gfx::GfxBytes_obj::__boot(); -::format::gfx::GfxExtent_obj::__boot(); -::format::gfx::GfxGraphics_obj::__boot(); -::format::gfx::GfxTextFinder_obj::__boot(); -::format::gfx::Gradient_obj::__boot(); -::format::gfx::LineStyle_obj::__boot(); -::format::svg::FillType_obj::__boot(); -::format::svg::Grad_obj::__boot(); -::format::svg::Group_obj::__boot(); -::format::svg::DisplayElement_obj::__boot(); -::format::svg::Path_obj::__boot(); -::format::svg::PathParser_obj::__boot(); -::format::svg::PathSegment_obj::__boot(); -::format::svg::MoveSegment_obj::__boot(); -::format::svg::DrawSegment_obj::__boot(); -::format::svg::QuadraticSegment_obj::__boot(); -::format::svg::CubicSegment_obj::__boot(); -::format::svg::ArcSegment_obj::__boot(); -::format::svg::RenderContext_obj::__boot(); -::format::svg::SVGData_obj::__boot(); -::format::svg::SVGRenderer_obj::__boot(); -::format::svg::Text_obj::__boot(); -::haxe::BaseCode_obj::__boot(); -::haxe::Timer_obj::__boot(); -::haxe::io::Bytes_obj::__boot(); -::haxe::io::BytesBuffer_obj::__boot(); -::haxe::io::Eof_obj::__boot(); -::haxe::io::Error_obj::__boot(); -::haxe::io::Input_obj::__boot(); -::haxe::io::Output_obj::__boot(); -::haxe::xml::_Fast::NodeAccess_obj::__boot(); -::haxe::xml::_Fast::AttribAccess_obj::__boot(); -::haxe::xml::_Fast::HasAttribAccess_obj::__boot(); -::haxe::xml::_Fast::HasNodeAccess_obj::__boot(); -::haxe::xml::_Fast::NodeListAccess_obj::__boot(); -::haxe::xml::Fast_obj::__boot(); -::neash::Lib_obj::__boot(); -::neash::display::Bitmap_obj::__boot(); -::neash::display::BitmapData_obj::__boot(); -::neash::display::OptimizedPerlin_obj::__boot(); -::neash::display::BitmapDataChannel_obj::__boot(); -::neash::display::BlendMode_obj::__boot(); -::neash::display::GradientType_obj::__boot(); -::neash::display::Graphics_obj::__boot(); -::neash::display::GraphicsPathWinding_obj::__boot(); -::neash::display::IGraphicsData_obj::__boot(); -::neash::events::Event_obj::__boot(); -::neash::events::MouseEvent_obj::__boot(); -::neash::events::TouchEvent_obj::__boot(); -::neash::display::Stage_obj::__boot(); -::neash::display::ManagedStage_obj::__boot(); -::neash::display::MovieClip_obj::__boot(); -::neash::display::PixelSnapping_obj::__boot(); -::neash::display::Shape_obj::__boot(); -::neash::display::TouchInfo_obj::__boot(); -::neash::display::StageAlign_obj::__boot(); -::neash::display::StageDisplayState_obj::__boot(); -::neash::display::StageQuality_obj::__boot(); -::neash::display::StageScaleMode_obj::__boot(); -::neash::display::Tilesheet_obj::__boot(); -::neash::display::TriangleCulling_obj::__boot(); -::neash::errors::Error_obj::__boot(); -::neash::errors::ArgumentError_obj::__boot(); -::neash::errors::EOFError_obj::__boot(); -::neash::errors::RangeError_obj::__boot(); -::neash::events::TextEvent_obj::__boot(); -::neash::events::ErrorEvent_obj::__boot(); -::neash::events::Listener_obj::__boot(); -::neash::events::EventPhase_obj::__boot(); -::neash::events::FocusEvent_obj::__boot(); -::neash::events::HTTPStatusEvent_obj::__boot(); -::neash::events::IOErrorEvent_obj::__boot(); -::neash::events::JoystickEvent_obj::__boot(); -::neash::events::KeyboardEvent_obj::__boot(); -::neash::events::ProgressEvent_obj::__boot(); -::neash::events::SampleDataEvent_obj::__boot(); -::neash::filters::BitmapFilter_obj::__boot(); -::neash::geom::ColorTransform_obj::__boot(); -::neash::geom::Matrix_obj::__boot(); -::neash::geom::Point_obj::__boot(); -::neash::geom::Rectangle_obj::__boot(); -::neash::geom::Transform_obj::__boot(); -::neash::media::ID3Info_obj::__boot(); -::neash::media::Sound_obj::__boot(); -::neash::media::SoundChannel_obj::__boot(); -::neash::media::SoundLoaderContext_obj::__boot(); -::neash::media::SoundTransform_obj::__boot(); -::neash::net::URLLoader_obj::__boot(); -::neash::net::URLLoaderDataFormat_obj::__boot(); -::neash::net::URLRequest_obj::__boot(); -::neash::net::URLRequestHeader_obj::__boot(); -::neash::net::URLRequestMethod_obj::__boot(); -::neash::net::URLVariables_obj::__boot(); -::neash::text::Font_obj::__boot(); -::neash::text::FontStyle_obj::__boot(); -::neash::text::FontType_obj::__boot(); -::neash::utils::IDataInput_obj::__boot(); -::neash::utils::ByteArray_obj::__boot(); -::neash::utils::Endian_obj::__boot(); -::neash::utils::WeakRef_obj::__boot(); -::nme::Lib_obj::__boot(); -::nme::installer::Assets_obj::__boot(); -::org::puremvc::haxe::interfaces::IController_obj::__boot(); -::org::puremvc::haxe::core::Controller_obj::__boot(); -::org::puremvc::haxe::interfaces::IModel_obj::__boot(); -::org::puremvc::haxe::core::Model_obj::__boot(); -::org::puremvc::haxe::interfaces::IView_obj::__boot(); -::org::puremvc::haxe::core::View_obj::__boot(); -::org::puremvc::haxe::interfaces::INotification_obj::__boot(); -::org::puremvc::haxe::interfaces::IObserver_obj::__boot(); -::org::puremvc::haxe::patterns::observer::Notification_obj::__boot(); -::org::puremvc::haxe::patterns::observer::Observer_obj::__boot(); -::pages::Psvg_obj::__boot(); -::sys::_FileSystem::FileKind_obj::__boot(); -::sys::FileSystem_obj::__boot(); -::sys::io::File_obj::__boot(); -::sys::io::FileInput_obj::__boot(); -::sys::io::FileOutput_obj::__boot(); -::sys::io::FileSeek_obj::__boot(); -::sys::io::_Process::Stdin_obj::__boot(); -::sys::io::_Process::Stdout_obj::__boot(); -::sys::io::Process_obj::__boot(); -} - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/__files__.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/__files__.cpp deleted file mode 100644 index bf93245..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/__files__.cpp +++ /dev/null @@ -1,167 +0,0 @@ -#include - -namespace hx { -const char *__hxcpp_all_files[] = { -#ifdef HXCPP_DEBUGGER - "/usr/lib/haxe/std/IntIter.hx", - "/usr/lib/haxe/std/List.hx", - "/usr/lib/haxe/std/StringTools.hx", - "/usr/lib/haxe/std/cpp/Lib.hx", - "/usr/lib/haxe/std/cpp/_std/Date.hx", - "/usr/lib/haxe/std/cpp/_std/EReg.hx", - "/usr/lib/haxe/std/cpp/_std/Hash.hx", - "/usr/lib/haxe/std/cpp/_std/IntHash.hx", - "/usr/lib/haxe/std/cpp/_std/Reflect.hx", - "/usr/lib/haxe/std/cpp/_std/Std.hx", - "/usr/lib/haxe/std/cpp/_std/StringBuf.hx", - "/usr/lib/haxe/std/cpp/_std/Sys.hx", - "/usr/lib/haxe/std/cpp/_std/Type.hx", - "/usr/lib/haxe/std/cpp/_std/Xml.hx", - "/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx", - "/usr/lib/haxe/std/cpp/_std/sys/io/File.hx", - "/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx", - "/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx", - "/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx", - "/usr/lib/haxe/std/cpp/zip/Compress.hx", - "/usr/lib/haxe/std/cpp/zip/Uncompress.hx", - "/usr/lib/haxe/std/haxe/BaseCode.hx", - "/usr/lib/haxe/std/haxe/Log.hx", - "/usr/lib/haxe/std/haxe/io/Bytes.hx", - "/usr/lib/haxe/std/haxe/io/BytesBuffer.hx", - "/usr/lib/haxe/std/haxe/io/Eof.hx", - "/usr/lib/haxe/std/haxe/io/Input.hx", - "/usr/lib/haxe/std/haxe/io/Output.hx", - "/usr/lib/haxe/std/haxe/xml/Fast.hx", - "ApplicationMain.hx", - "Main.hx", - "ca/confidant/glory/ApplicationFacade.hx", - "ca/confidant/glory/GloryFrameworkApp.hx", - "ca/confidant/glory/Tracer.hx", - "ca/confidant/glory/controller/BuildControlsCommand.hx", - "ca/confidant/glory/controller/BuildPageCommand.hx", - "ca/confidant/glory/controller/ChangePageCommand.hx", - "ca/confidant/glory/controller/GotoIntroCommand.hx", - "ca/confidant/glory/controller/HandleAssetsLoadedCommand.hx", - "ca/confidant/glory/controller/RemovePageCommand.hx", - "ca/confidant/glory/controller/Startup0_RegCommands_Command.hx", - "ca/confidant/glory/controller/Startup1_App_Command.hx", - "ca/confidant/glory/controller/Startup2_Proxies_Command.hx", - "ca/confidant/glory/controller/StartupCommand.hx", - "ca/confidant/glory/controller/TimerDisableCommand.hx", - "ca/confidant/glory/controller/TimerEnableCommand.hx", - "ca/confidant/glory/model/ActorComponentConfigProxy.hx", - "ca/confidant/glory/model/ControlsRegistryProxy.hx", - "ca/confidant/glory/model/LoaderProxy.hx", - "ca/confidant/glory/model/PagesConfigProxy.hx", - "ca/confidant/glory/model/TickerProxy.hx", - "ca/confidant/glory/view/ActorComponentMediator.hx", - "ca/confidant/glory/view/ApplicationMediator.hx", - "ca/confidant/glory/view/ControlComponentMediator.hx", - "ca/confidant/glory/view/PageMediator.hx", - "ca/confidant/glory/view/components/ActorComponent.hx", - "ca/confidant/glory/view/components/ControlComponent.hx", - "ca/confidant/glory/view/components/PageComponent.hx", - "ca/confidant/glory/view/constants/ControlConstants.hx", - "format/SVG.hx", - "format/gfx/Gfx.hx", - "format/gfx/Gfx2Haxe.hx", - "format/gfx/GfxBytes.hx", - "format/gfx/GfxExtent.hx", - "format/gfx/GfxGraphics.hx", - "format/gfx/GfxTextFinder.hx", - "format/gfx/Gradient.hx", - "format/gfx/LineStyle.hx", - "format/svg/Grad.hx", - "format/svg/Group.hx", - "format/svg/Path.hx", - "format/svg/PathParser.hx", - "format/svg/PathSegment.hx", - "format/svg/RenderContext.hx", - "format/svg/SVGData.hx", - "format/svg/SVGRenderer.hx", - "format/svg/Text.hx", - "haxe/Timer.hx", - "neash/Lib.hx", - "neash/Loader.hx", - "neash/display/Bitmap.hx", - "neash/display/BitmapData.hx", - "neash/display/DisplayObject.hx", - "neash/display/DisplayObjectContainer.hx", - "neash/display/Graphics.hx", - "neash/display/IGraphicsData.hx", - "neash/display/InteractiveObject.hx", - "neash/display/ManagedStage.hx", - "neash/display/MovieClip.hx", - "neash/display/Shape.hx", - "neash/display/Sprite.hx", - "neash/display/Stage.hx", - "neash/display/Tilesheet.hx", - "neash/errors/ArgumentError.hx", - "neash/errors/EOFError.hx", - "neash/errors/Error.hx", - "neash/errors/RangeError.hx", - "neash/events/ErrorEvent.hx", - "neash/events/Event.hx", - "neash/events/EventDispatcher.hx", - "neash/events/FocusEvent.hx", - "neash/events/HTTPStatusEvent.hx", - "neash/events/IOErrorEvent.hx", - "neash/events/JoystickEvent.hx", - "neash/events/KeyboardEvent.hx", - "neash/events/MouseEvent.hx", - "neash/events/ProgressEvent.hx", - "neash/events/SampleDataEvent.hx", - "neash/events/TextEvent.hx", - "neash/events/TouchEvent.hx", - "neash/filters/BitmapFilter.hx", - "neash/geom/ColorTransform.hx", - "neash/geom/Matrix.hx", - "neash/geom/Point.hx", - "neash/geom/Rectangle.hx", - "neash/geom/Transform.hx", - "neash/media/ID3Info.hx", - "neash/media/Sound.hx", - "neash/media/SoundChannel.hx", - "neash/media/SoundLoaderContext.hx", - "neash/media/SoundTransform.hx", - "neash/net/URLLoader.hx", - "neash/net/URLRequest.hx", - "neash/net/URLRequestHeader.hx", - "neash/net/URLVariables.hx", - "neash/text/Font.hx", - "neash/utils/ByteArray.hx", - "neash/utils/WeakRef.hx", - "nme/Lib.hx", - "nme/installer/Assets.hx", - "org/puremvc/haxe/core/Controller.hx", - "org/puremvc/haxe/core/Model.hx", - "org/puremvc/haxe/core/View.hx", - "org/puremvc/haxe/patterns/command/MacroCommand.hx", - "org/puremvc/haxe/patterns/command/SimpleCommand.hx", - "org/puremvc/haxe/patterns/facade/Facade.hx", - "org/puremvc/haxe/patterns/mediator/Mediator.hx", - "org/puremvc/haxe/patterns/observer/Notification.hx", - "org/puremvc/haxe/patterns/observer/Notifier.hx", - "org/puremvc/haxe/patterns/observer/Observer.hx", - "org/puremvc/haxe/patterns/proxy/Proxy.hx", - "pages/Psvg.hx", -#endif - 0 }; -const char *__hxcpp_class_path[] = { -#ifdef HXCPP_DEBUGGER - "/usr/lib/haxe/lib/nme/3,4,3/", - "/usr/lib/haxe/lib/actuate/1,43/", - "/usr/lib/haxe/lib/svg/1,02/", - "/Users/allan/git/Glory-Framework/Glory-Framework/src/", - "/Users/allan/git/Glory-Framework/Glory-Framework/", - "", - "/", - "/usr/lib/haxe/std/cpp/_std/", - "/usr/local/lib/haxe/std/cpp/_std/", - "/usr/lib/haxe/std/", - "/usr/local/lib/haxe/std/", - "/usr/lib/haxe/std/", - "/usr/local/lib/haxe/std/", -#endif - 0 }; -} // namespace hx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/__lib__.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/__lib__.cpp deleted file mode 100644 index 65a7b87..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/__lib__.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include - -#include - -#ifndef INCLUDED_ApplicationMain -#include -#endif - - -HX_BEGIN_LIB_MAIN - -::ApplicationMain_obj::main(); -HX_END_LIB_MAIN - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/__main__.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/__main__.cpp deleted file mode 100644 index 64b2257..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/__main__.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include - -#include - -#ifndef INCLUDED_ApplicationMain -#include -#endif - - -HX_BEGIN_MAIN - -::ApplicationMain_obj::main(); -HX_END_MAIN - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/__resources__.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/__resources__.cpp deleted file mode 100644 index c5a9b40..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/__resources__.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include - -hx::Resource __Resources[] ={ - {String(null()),0,0}}; - -namespace hx { Resource *GetResources() { return __Resources; } } - diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/ApplicationFacade.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/ApplicationFacade.cpp deleted file mode 100644 index cfc0493..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/ApplicationFacade.cpp +++ /dev/null @@ -1,426 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_ApplicationFacade -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_StartupCommand -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_MacroCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_facade_Facade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ - -Void ApplicationFacade_obj::__construct() -{ -HX_STACK_PUSH("ApplicationFacade::new","ca/confidant/glory/ApplicationFacade.hx",15); -{ - HX_STACK_LINE(15) - super::__construct(); -} -; - return null(); -} - -ApplicationFacade_obj::~ApplicationFacade_obj() { } - -Dynamic ApplicationFacade_obj::__CreateEmpty() { return new ApplicationFacade_obj; } -hx::ObjectPtr< ApplicationFacade_obj > ApplicationFacade_obj::__new() -{ hx::ObjectPtr< ApplicationFacade_obj > result = new ApplicationFacade_obj(); - result->__construct(); - return result;} - -Dynamic ApplicationFacade_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ApplicationFacade_obj > result = new ApplicationFacade_obj(); - result->__construct(); - return result;} - -Void ApplicationFacade_obj::startup( ::ca::confidant::glory::GloryFrameworkApp app){ -{ - HX_STACK_PUSH("ApplicationFacade::startup","ca/confidant/glory/ApplicationFacade.hx",60); - HX_STACK_THIS(this); - HX_STACK_ARG(app,"app"); - HX_STACK_LINE(60) - this->sendNotification(HX_CSTRING("startup"),app,null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ApplicationFacade_obj,startup,(void)) - -Void ApplicationFacade_obj::initializeController( ){ -{ - HX_STACK_PUSH("ApplicationFacade::initializeController","ca/confidant/glory/ApplicationFacade.hx",53); - HX_STACK_THIS(this); - HX_STACK_LINE(54) - this->super::initializeController(); - HX_STACK_LINE(55) - this->registerCommand(HX_CSTRING("startup"),hx::ClassOf< ::ca::confidant::glory::controller::StartupCommand >()); - } -return null(); -} - - -::String ApplicationFacade_obj::STARTUP; - -::String ApplicationFacade_obj::MESSAGE; - -::String ApplicationFacade_obj::INIT_XML_LOAD; - -::String ApplicationFacade_obj::ASSETS_LOADED; - -::String ApplicationFacade_obj::PAGES_CONFIG_READY; - -::String ApplicationFacade_obj::CALL_EXTERNAL_FUNCTION; - -::String ApplicationFacade_obj::CONSOLE_LOG; - -::String ApplicationFacade_obj::STAGE_RESIZE; - -::String ApplicationFacade_obj::SET_ACTIVE_WIDGET; - -::String ApplicationFacade_obj::SET_CONTENT; - -::String ApplicationFacade_obj::BUILD_PAGE; - -::String ApplicationFacade_obj::REMOVE_PAGE; - -::String ApplicationFacade_obj::BUILD_CONTROLS; - -::String ApplicationFacade_obj::CHANGE_PAGE; - -::String ApplicationFacade_obj::HTTP_LINK; - -::String ApplicationFacade_obj::TIMER_TICK; - -::String ApplicationFacade_obj::TIMER_ENABLE; - -::String ApplicationFacade_obj::TIMER_DISABLE; - -::String ApplicationFacade_obj::PAN_LEFT; - -::String ApplicationFacade_obj::PAN_RIGHT; - -::String ApplicationFacade_obj::PAN_STOP; - -::String ApplicationFacade_obj::TOGGLE_OPTIONS; - -::String ApplicationFacade_obj::PLAY_SOUND; - -::ca::confidant::glory::ApplicationFacade ApplicationFacade_obj::instance; - -::ca::confidant::glory::ApplicationFacade ApplicationFacade_obj::getInstance( ){ - HX_STACK_PUSH("ApplicationFacade::getInstance","ca/confidant/glory/ApplicationFacade.hx",45); - HX_STACK_LINE(46) - if (((::ca::confidant::glory::ApplicationFacade_obj::instance == null()))){ - HX_STACK_LINE(47) - ::ca::confidant::glory::ApplicationFacade_obj::instance = ::ca::confidant::glory::ApplicationFacade_obj::__new(); - } - HX_STACK_LINE(48) - return ::ca::confidant::glory::ApplicationFacade_obj::instance; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(ApplicationFacade_obj,getInstance,return ) - - -ApplicationFacade_obj::ApplicationFacade_obj() -{ -} - -void ApplicationFacade_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ApplicationFacade); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ApplicationFacade_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ApplicationFacade_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"STARTUP") ) { return STARTUP; } - if (HX_FIELD_EQ(inName,"MESSAGE") ) { return MESSAGE; } - if (HX_FIELD_EQ(inName,"startup") ) { return startup_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"PAN_LEFT") ) { return PAN_LEFT; } - if (HX_FIELD_EQ(inName,"PAN_STOP") ) { return PAN_STOP; } - if (HX_FIELD_EQ(inName,"instance") ) { return instance; } - break; - case 9: - if (HX_FIELD_EQ(inName,"HTTP_LINK") ) { return HTTP_LINK; } - if (HX_FIELD_EQ(inName,"PAN_RIGHT") ) { return PAN_RIGHT; } - break; - case 10: - if (HX_FIELD_EQ(inName,"BUILD_PAGE") ) { return BUILD_PAGE; } - if (HX_FIELD_EQ(inName,"TIMER_TICK") ) { return TIMER_TICK; } - if (HX_FIELD_EQ(inName,"PLAY_SOUND") ) { return PLAY_SOUND; } - break; - case 11: - if (HX_FIELD_EQ(inName,"CONSOLE_LOG") ) { return CONSOLE_LOG; } - if (HX_FIELD_EQ(inName,"SET_CONTENT") ) { return SET_CONTENT; } - if (HX_FIELD_EQ(inName,"REMOVE_PAGE") ) { return REMOVE_PAGE; } - if (HX_FIELD_EQ(inName,"CHANGE_PAGE") ) { return CHANGE_PAGE; } - if (HX_FIELD_EQ(inName,"getInstance") ) { return getInstance_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"STAGE_RESIZE") ) { return STAGE_RESIZE; } - if (HX_FIELD_EQ(inName,"TIMER_ENABLE") ) { return TIMER_ENABLE; } - break; - case 13: - if (HX_FIELD_EQ(inName,"INIT_XML_LOAD") ) { return INIT_XML_LOAD; } - if (HX_FIELD_EQ(inName,"ASSETS_LOADED") ) { return ASSETS_LOADED; } - if (HX_FIELD_EQ(inName,"TIMER_DISABLE") ) { return TIMER_DISABLE; } - break; - case 14: - if (HX_FIELD_EQ(inName,"BUILD_CONTROLS") ) { return BUILD_CONTROLS; } - if (HX_FIELD_EQ(inName,"TOGGLE_OPTIONS") ) { return TOGGLE_OPTIONS; } - break; - case 17: - if (HX_FIELD_EQ(inName,"SET_ACTIVE_WIDGET") ) { return SET_ACTIVE_WIDGET; } - break; - case 18: - if (HX_FIELD_EQ(inName,"PAGES_CONFIG_READY") ) { return PAGES_CONFIG_READY; } - break; - case 20: - if (HX_FIELD_EQ(inName,"initializeController") ) { return initializeController_dyn(); } - break; - case 22: - if (HX_FIELD_EQ(inName,"CALL_EXTERNAL_FUNCTION") ) { return CALL_EXTERNAL_FUNCTION; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ApplicationFacade_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"STARTUP") ) { STARTUP=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MESSAGE") ) { MESSAGE=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"PAN_LEFT") ) { PAN_LEFT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"PAN_STOP") ) { PAN_STOP=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"instance") ) { instance=inValue.Cast< ::ca::confidant::glory::ApplicationFacade >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"HTTP_LINK") ) { HTTP_LINK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"PAN_RIGHT") ) { PAN_RIGHT=inValue.Cast< ::String >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"BUILD_PAGE") ) { BUILD_PAGE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TIMER_TICK") ) { TIMER_TICK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"PLAY_SOUND") ) { PLAY_SOUND=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"CONSOLE_LOG") ) { CONSOLE_LOG=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"SET_CONTENT") ) { SET_CONTENT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"REMOVE_PAGE") ) { REMOVE_PAGE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"CHANGE_PAGE") ) { CHANGE_PAGE=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"STAGE_RESIZE") ) { STAGE_RESIZE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TIMER_ENABLE") ) { TIMER_ENABLE=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"INIT_XML_LOAD") ) { INIT_XML_LOAD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"ASSETS_LOADED") ) { ASSETS_LOADED=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TIMER_DISABLE") ) { TIMER_DISABLE=inValue.Cast< ::String >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"BUILD_CONTROLS") ) { BUILD_CONTROLS=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TOGGLE_OPTIONS") ) { TOGGLE_OPTIONS=inValue.Cast< ::String >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"SET_ACTIVE_WIDGET") ) { SET_ACTIVE_WIDGET=inValue.Cast< ::String >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"PAGES_CONFIG_READY") ) { PAGES_CONFIG_READY=inValue.Cast< ::String >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"CALL_EXTERNAL_FUNCTION") ) { CALL_EXTERNAL_FUNCTION=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ApplicationFacade_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("STARTUP"), - HX_CSTRING("MESSAGE"), - HX_CSTRING("INIT_XML_LOAD"), - HX_CSTRING("ASSETS_LOADED"), - HX_CSTRING("PAGES_CONFIG_READY"), - HX_CSTRING("CALL_EXTERNAL_FUNCTION"), - HX_CSTRING("CONSOLE_LOG"), - HX_CSTRING("STAGE_RESIZE"), - HX_CSTRING("SET_ACTIVE_WIDGET"), - HX_CSTRING("SET_CONTENT"), - HX_CSTRING("BUILD_PAGE"), - HX_CSTRING("REMOVE_PAGE"), - HX_CSTRING("BUILD_CONTROLS"), - HX_CSTRING("CHANGE_PAGE"), - HX_CSTRING("HTTP_LINK"), - HX_CSTRING("TIMER_TICK"), - HX_CSTRING("TIMER_ENABLE"), - HX_CSTRING("TIMER_DISABLE"), - HX_CSTRING("PAN_LEFT"), - HX_CSTRING("PAN_RIGHT"), - HX_CSTRING("PAN_STOP"), - HX_CSTRING("TOGGLE_OPTIONS"), - HX_CSTRING("PLAY_SOUND"), - HX_CSTRING("instance"), - HX_CSTRING("getInstance"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("startup"), - HX_CSTRING("initializeController"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::STARTUP,"STARTUP"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::MESSAGE,"MESSAGE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::INIT_XML_LOAD,"INIT_XML_LOAD"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::ASSETS_LOADED,"ASSETS_LOADED"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::PAGES_CONFIG_READY,"PAGES_CONFIG_READY"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::CALL_EXTERNAL_FUNCTION,"CALL_EXTERNAL_FUNCTION"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::CONSOLE_LOG,"CONSOLE_LOG"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::STAGE_RESIZE,"STAGE_RESIZE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::SET_ACTIVE_WIDGET,"SET_ACTIVE_WIDGET"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::SET_CONTENT,"SET_CONTENT"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::BUILD_PAGE,"BUILD_PAGE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::REMOVE_PAGE,"REMOVE_PAGE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::BUILD_CONTROLS,"BUILD_CONTROLS"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::CHANGE_PAGE,"CHANGE_PAGE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::HTTP_LINK,"HTTP_LINK"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::TIMER_TICK,"TIMER_TICK"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::TIMER_ENABLE,"TIMER_ENABLE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::TIMER_DISABLE,"TIMER_DISABLE"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::PAN_LEFT,"PAN_LEFT"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::PAN_RIGHT,"PAN_RIGHT"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::PAN_STOP,"PAN_STOP"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::TOGGLE_OPTIONS,"TOGGLE_OPTIONS"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::PLAY_SOUND,"PLAY_SOUND"); - HX_MARK_MEMBER_NAME(ApplicationFacade_obj::instance,"instance"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::STARTUP,"STARTUP"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::MESSAGE,"MESSAGE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::INIT_XML_LOAD,"INIT_XML_LOAD"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::ASSETS_LOADED,"ASSETS_LOADED"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::PAGES_CONFIG_READY,"PAGES_CONFIG_READY"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::CALL_EXTERNAL_FUNCTION,"CALL_EXTERNAL_FUNCTION"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::CONSOLE_LOG,"CONSOLE_LOG"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::STAGE_RESIZE,"STAGE_RESIZE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::SET_ACTIVE_WIDGET,"SET_ACTIVE_WIDGET"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::SET_CONTENT,"SET_CONTENT"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::BUILD_PAGE,"BUILD_PAGE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::REMOVE_PAGE,"REMOVE_PAGE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::BUILD_CONTROLS,"BUILD_CONTROLS"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::CHANGE_PAGE,"CHANGE_PAGE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::HTTP_LINK,"HTTP_LINK"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::TIMER_TICK,"TIMER_TICK"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::TIMER_ENABLE,"TIMER_ENABLE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::TIMER_DISABLE,"TIMER_DISABLE"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::PAN_LEFT,"PAN_LEFT"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::PAN_RIGHT,"PAN_RIGHT"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::PAN_STOP,"PAN_STOP"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::TOGGLE_OPTIONS,"TOGGLE_OPTIONS"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::PLAY_SOUND,"PLAY_SOUND"); - HX_VISIT_MEMBER_NAME(ApplicationFacade_obj::instance,"instance"); -}; - -Class ApplicationFacade_obj::__mClass; - -void ApplicationFacade_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.ApplicationFacade"), hx::TCanCast< ApplicationFacade_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ApplicationFacade_obj::__boot() -{ - STARTUP= HX_CSTRING("startup"); - MESSAGE= HX_CSTRING("message"); - INIT_XML_LOAD= HX_CSTRING("initXMLLoad"); - ASSETS_LOADED= HX_CSTRING("assetsLoaded"); - PAGES_CONFIG_READY= HX_CSTRING("pagesConfigReady"); - CALL_EXTERNAL_FUNCTION= HX_CSTRING("callExternalFunction"); - CONSOLE_LOG= HX_CSTRING("consoleLog"); - STAGE_RESIZE= HX_CSTRING("stageResize"); - SET_ACTIVE_WIDGET= HX_CSTRING("setActiveWidget"); - SET_CONTENT= HX_CSTRING("setContent"); - BUILD_PAGE= HX_CSTRING("buildPage"); - REMOVE_PAGE= HX_CSTRING("removePage"); - BUILD_CONTROLS= HX_CSTRING("buildControls"); - CHANGE_PAGE= HX_CSTRING("changePage"); - HTTP_LINK= HX_CSTRING("httpLink"); - TIMER_TICK= HX_CSTRING("timerTick"); - TIMER_ENABLE= HX_CSTRING("timerEnable"); - TIMER_DISABLE= HX_CSTRING("timerDisable"); - PAN_LEFT= HX_CSTRING("panLeft"); - PAN_RIGHT= HX_CSTRING("panRight"); - PAN_STOP= HX_CSTRING("panStop"); - TOGGLE_OPTIONS= HX_CSTRING("toggleOptions"); - PLAY_SOUND= HX_CSTRING("playSound"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/GloryFrameworkApp.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/GloryFrameworkApp.cpp deleted file mode 100644 index d73497b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/GloryFrameworkApp.cpp +++ /dev/null @@ -1,170 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_ApplicationFacade -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_MovieClip -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_nme_Lib -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_facade_Facade -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ - -Void GloryFrameworkApp_obj::__construct() -{ -HX_STACK_PUSH("GloryFrameworkApp::new","ca/confidant/glory/GloryFrameworkApp.hx",14); -{ - HX_STACK_LINE(15) - super::__construct(); - HX_STACK_LINE(16) - ::ca::confidant::glory::ApplicationFacade facade = ::ca::confidant::glory::ApplicationFacade_obj::getInstance(); HX_STACK_VAR(facade,"facade"); - HX_STACK_LINE(17) - facade->sendNotification(HX_CSTRING("startup"),hx::ObjectPtr(this),null()); -} -; - return null(); -} - -GloryFrameworkApp_obj::~GloryFrameworkApp_obj() { } - -Dynamic GloryFrameworkApp_obj::__CreateEmpty() { return new GloryFrameworkApp_obj; } -hx::ObjectPtr< GloryFrameworkApp_obj > GloryFrameworkApp_obj::__new() -{ hx::ObjectPtr< GloryFrameworkApp_obj > result = new GloryFrameworkApp_obj(); - result->__construct(); - return result;} - -Dynamic GloryFrameworkApp_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GloryFrameworkApp_obj > result = new GloryFrameworkApp_obj(); - result->__construct(); - return result;} - -Void GloryFrameworkApp_obj::displayMessage( ::String m){ -{ - HX_STACK_PUSH("GloryFrameworkApp::displayMessage","ca/confidant/glory/GloryFrameworkApp.hx",26); - HX_STACK_THIS(this); - HX_STACK_ARG(m,"m"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(GloryFrameworkApp_obj,displayMessage,(void)) - -Void GloryFrameworkApp_obj::main( ){ -{ - HX_STACK_PUSH("GloryFrameworkApp::main","ca/confidant/glory/GloryFrameworkApp.hx",22); - HX_STACK_LINE(23) - ::ca::confidant::glory::GloryFrameworkApp app = ::ca::confidant::glory::GloryFrameworkApp_obj::__new(); HX_STACK_VAR(app,"app"); - HX_STACK_LINE(24) - ::nme::Lib_obj::nmeGetCurrent()->addChild(app); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(GloryFrameworkApp_obj,main,(void)) - - -GloryFrameworkApp_obj::GloryFrameworkApp_obj() -{ -} - -void GloryFrameworkApp_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GloryFrameworkApp); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void GloryFrameworkApp_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic GloryFrameworkApp_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"main") ) { return main_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"displayMessage") ) { return displayMessage_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GloryFrameworkApp_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void GloryFrameworkApp_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("main"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("displayMessage"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GloryFrameworkApp_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GloryFrameworkApp_obj::__mClass,"__mClass"); -}; - -Class GloryFrameworkApp_obj::__mClass; - -void GloryFrameworkApp_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.GloryFrameworkApp"), hx::TCanCast< GloryFrameworkApp_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GloryFrameworkApp_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/Tracer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/Tracer.cpp deleted file mode 100644 index f8aa409..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/Tracer.cpp +++ /dev/null @@ -1,123 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_Tracer -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ - -Void Tracer_obj::__construct() -{ - return null(); -} - -Tracer_obj::~Tracer_obj() { } - -Dynamic Tracer_obj::__CreateEmpty() { return new Tracer_obj; } -hx::ObjectPtr< Tracer_obj > Tracer_obj::__new() -{ hx::ObjectPtr< Tracer_obj > result = new Tracer_obj(); - result->__construct(); - return result;} - -Dynamic Tracer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Tracer_obj > result = new Tracer_obj(); - result->__construct(); - return result;} - -Void Tracer_obj::setRedirection( ){ -{ - HX_STACK_PUSH("Tracer::setRedirection","ca/confidant/glory/Tracer.hx",10); - HX_STACK_LINE(10) - ::haxe::Log_obj::trace = ::ca::confidant::glory::Tracer_obj::customTrace_dyn(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Tracer_obj,setRedirection,(void)) - -Void Tracer_obj::customTrace( Dynamic v,Dynamic inf){ -{ - HX_STACK_PUSH("Tracer::customTrace","ca/confidant/glory/Tracer.hx",14); - HX_STACK_ARG(v,"v"); - HX_STACK_ARG(inf,"inf"); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Tracer_obj,customTrace,(void)) - - -Tracer_obj::Tracer_obj() -{ -} - -void Tracer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Tracer); - HX_MARK_END_CLASS(); -} - -void Tracer_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Tracer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 11: - if (HX_FIELD_EQ(inName,"customTrace") ) { return customTrace_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"setRedirection") ) { return setRedirection_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Tracer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Tracer_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("setRedirection"), - HX_CSTRING("customTrace"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Tracer_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Tracer_obj::__mClass,"__mClass"); -}; - -Class Tracer_obj::__mClass; - -void Tracer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.Tracer"), hx::TCanCast< Tracer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Tracer_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/BuildControlsCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/BuildControlsCommand.cpp deleted file mode 100644 index 44d514f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/BuildControlsCommand.cpp +++ /dev/null @@ -1,325 +0,0 @@ -#include - -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_BuildControlsCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ControlComponentMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ControlComponent -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#include -#endif -#ifndef INCLUDED_neash_display_Bitmap -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_PixelSnapping -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void BuildControlsCommand_obj::__construct() -{ -HX_STACK_PUSH("BuildControlsCommand::new","ca/confidant/glory/controller/BuildControlsCommand.hx",26); -{ - HX_STACK_LINE(26) - super::__construct(); -} -; - return null(); -} - -BuildControlsCommand_obj::~BuildControlsCommand_obj() { } - -Dynamic BuildControlsCommand_obj::__CreateEmpty() { return new BuildControlsCommand_obj; } -hx::ObjectPtr< BuildControlsCommand_obj > BuildControlsCommand_obj::__new() -{ hx::ObjectPtr< BuildControlsCommand_obj > result = new BuildControlsCommand_obj(); - result->__construct(); - return result;} - -Dynamic BuildControlsCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BuildControlsCommand_obj > result = new BuildControlsCommand_obj(); - result->__construct(); - return result;} - -Void BuildControlsCommand_obj::makeControl( ::haxe::xml::Fast actor){ -{ - HX_STACK_PUSH("BuildControlsCommand::makeControl","ca/confidant/glory/controller/BuildControlsCommand.hx",48); - HX_STACK_THIS(this); - HX_STACK_ARG(actor,"actor"); - HX_STACK_LINE(48) - try{ - HX_STACK_LINE(50) - ::String ext = (hx::TCast< String >::cast(actor->att->resolve(HX_CSTRING("src")))).substr((int)-3,null()); HX_STACK_VAR(ext,"ext"); - HX_STACK_LINE(51) - ::ca::confidant::glory::view::components::ControlComponent a = ::ca::confidant::glory::view::components::ControlComponent_obj::__new(::Std_obj::string(actor->att->resolve(HX_CSTRING("action")))); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(53) - if (((ext == HX_CSTRING("svg")))){ - HX_STACK_LINE(54) - ::String theText = this->lp->getText((HX_CSTRING("assets/") + actor->att->resolve(HX_CSTRING("src")))); HX_STACK_VAR(theText,"theText"); - HX_STACK_LINE(55) - a->addSVG(theText); - } - else{ - HX_STACK_LINE(57) - ::neash::display::BitmapData imageData = this->lp->getBitmapData((HX_CSTRING("assets/") + actor->att->resolve(HX_CSTRING("src"))),true); HX_STACK_VAR(imageData,"imageData"); - HX_STACK_LINE(58) - ::neash::display::Bitmap b = ::neash::display::Bitmap_obj::__new(imageData,null(),null()); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(59) - a->addBitmap(b); - } - HX_STACK_LINE(62) - ::ca::confidant::glory::view::ControlComponentMediator acm = ::ca::confidant::glory::view::ControlComponentMediator_obj::__new(actor->att->resolve(HX_CSTRING("id")),a); HX_STACK_VAR(acm,"acm"); - HX_STACK_LINE(63) - this->facade->registerMediator(acm); - HX_STACK_LINE(64) - this->appMediator->addDisplayObject(a,null()); - HX_STACK_LINE(65) - this->csp->registerControl(a); - HX_STACK_LINE(66) - a->nmeSetX(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("x")))); - HX_STACK_LINE(67) - a->nmeSetY(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("y")))); - HX_STACK_LINE(68) - a->nmeSetWidth(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("width")))); - HX_STACK_LINE(69) - a->nmeSetHeight(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("height")))); - HX_STACK_LINE(70) - a->nmeSetMouseEnabled(true); - HX_STACK_LINE(71) - a->useHandCursor = true; - HX_STACK_LINE(72) - a->buttonMode = true; - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(75) - ::haxe::Log_obj::trace(::Std_obj::string(e),hx::SourceInfo(HX_CSTRING("BuildControlsCommand.hx"),76,HX_CSTRING("ca.confidant.glory.controller.BuildControlsCommand"),HX_CSTRING("makeControl"))); - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BuildControlsCommand_obj,makeControl,(void)) - -Void BuildControlsCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("BuildControlsCommand::execute","ca/confidant/glory/controller/BuildControlsCommand.hx",33); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(34) - ::haxe::Log_obj::trace(HX_CSTRING("BuildControlsCommand"),hx::SourceInfo(HX_CSTRING("BuildControlsCommand.hx"),34,HX_CSTRING("ca.confidant.glory.controller.BuildControlsCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(35) - this->pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); - HX_STACK_LINE(36) - this->csp = hx::TCast< ca::confidant::glory::model::ControlsRegistryProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::ControlsRegistryProxy_obj::NAME)); - HX_STACK_LINE(37) - this->lp = hx::TCast< ca::confidant::glory::model::LoaderProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::LoaderProxy_obj::NAME)); - HX_STACK_LINE(38) - this->appMediator = hx::TCast< ca::confidant::glory::view::ApplicationMediator >::cast(this->facade->retrieveMediator(HX_CSTRING("ApplicationMediator"))); - HX_STACK_LINE(40) - ::List controlsList = this->pcp->getAppControls(); HX_STACK_VAR(controlsList,"controlsList"); - HX_STACK_LINE(41) - for(::cpp::FastIterator_obj< ::haxe::xml::Fast > *__it = ::cpp::CreateFastIterator< ::haxe::xml::Fast >(controlsList->iterator()); __it->hasNext(); ){ - ::haxe::xml::Fast thisControl = __it->next(); - this->makeControl(thisControl); - } - } -return null(); -} - - - -BuildControlsCommand_obj::BuildControlsCommand_obj() -{ -} - -void BuildControlsCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BuildControlsCommand); - HX_MARK_MEMBER_NAME(lp,"lp"); - HX_MARK_MEMBER_NAME(appMediator,"appMediator"); - HX_MARK_MEMBER_NAME(csp,"csp"); - HX_MARK_MEMBER_NAME(pcp,"pcp"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void BuildControlsCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(lp,"lp"); - HX_VISIT_MEMBER_NAME(appMediator,"appMediator"); - HX_VISIT_MEMBER_NAME(csp,"csp"); - HX_VISIT_MEMBER_NAME(pcp,"pcp"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic BuildControlsCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"lp") ) { return lp; } - break; - case 3: - if (HX_FIELD_EQ(inName,"csp") ) { return csp; } - if (HX_FIELD_EQ(inName,"pcp") ) { return pcp; } - break; - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"makeControl") ) { return makeControl_dyn(); } - if (HX_FIELD_EQ(inName,"appMediator") ) { return appMediator; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BuildControlsCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"lp") ) { lp=inValue.Cast< ::ca::confidant::glory::model::LoaderProxy >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"csp") ) { csp=inValue.Cast< ::ca::confidant::glory::model::ControlsRegistryProxy >(); return inValue; } - if (HX_FIELD_EQ(inName,"pcp") ) { pcp=inValue.Cast< ::ca::confidant::glory::model::PagesConfigProxy >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { appMediator=inValue.Cast< ::ca::confidant::glory::view::ApplicationMediator >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BuildControlsCommand_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("lp")); - outFields->push(HX_CSTRING("appMediator")); - outFields->push(HX_CSTRING("csp")); - outFields->push(HX_CSTRING("pcp")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("makeControl"), - HX_CSTRING("execute"), - HX_CSTRING("lp"), - HX_CSTRING("appMediator"), - HX_CSTRING("csp"), - HX_CSTRING("pcp"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BuildControlsCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BuildControlsCommand_obj::__mClass,"__mClass"); -}; - -Class BuildControlsCommand_obj::__mClass; - -void BuildControlsCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.BuildControlsCommand"), hx::TCanCast< BuildControlsCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BuildControlsCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/BuildPageCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/BuildPageCommand.cpp deleted file mode 100644 index ba19fa3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/BuildPageCommand.cpp +++ /dev/null @@ -1,368 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_BuildPageCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_ActorComponentConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ActorComponentMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_PageMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_PageComponent -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasAttribAccess -#include -#endif -#ifndef INCLUDED_neash_display_Bitmap -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_PixelSnapping -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void BuildPageCommand_obj::__construct() -{ -HX_STACK_PUSH("BuildPageCommand::new","ca/confidant/glory/controller/BuildPageCommand.hx",37); -{ - HX_STACK_LINE(37) - super::__construct(); -} -; - return null(); -} - -BuildPageCommand_obj::~BuildPageCommand_obj() { } - -Dynamic BuildPageCommand_obj::__CreateEmpty() { return new BuildPageCommand_obj; } -hx::ObjectPtr< BuildPageCommand_obj > BuildPageCommand_obj::__new() -{ hx::ObjectPtr< BuildPageCommand_obj > result = new BuildPageCommand_obj(); - result->__construct(); - return result;} - -Dynamic BuildPageCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BuildPageCommand_obj > result = new BuildPageCommand_obj(); - result->__construct(); - return result;} - -::ca::confidant::glory::view::components::ActorComponent BuildPageCommand_obj::makeActor( ::haxe::xml::Fast actor){ - HX_STACK_PUSH("BuildPageCommand::makeActor","ca/confidant/glory/controller/BuildPageCommand.hx",82); - HX_STACK_THIS(this); - HX_STACK_ARG(actor,"actor"); - HX_STACK_LINE(84) - ::String ext = (hx::TCast< String >::cast(actor->att->resolve(HX_CSTRING("src")))).substr((int)-3,null()); HX_STACK_VAR(ext,"ext"); - HX_STACK_LINE(91) - ::ca::confidant::glory::view::components::ActorComponent a = ::ca::confidant::glory::view::components::ActorComponent_obj::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(95) - if (((ext == HX_CSTRING("svg")))){ - HX_STACK_LINE(96) - ::String theText = this->lp->getText((HX_CSTRING("assets/") + actor->att->resolve(HX_CSTRING("src")))); HX_STACK_VAR(theText,"theText"); - HX_STACK_LINE(97) - a->addSVG(theText); - } - else{ - HX_STACK_LINE(99) - ::neash::display::BitmapData imageData = this->lp->getBitmapData((HX_CSTRING("assets/") + actor->att->resolve(HX_CSTRING("src"))),true); HX_STACK_VAR(imageData,"imageData"); - HX_STACK_LINE(100) - ::neash::display::Bitmap b = ::neash::display::Bitmap_obj::__new(imageData,null(),null()); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(101) - a->addBitmap(b); - } - HX_STACK_LINE(103) - ::String action; HX_STACK_VAR(action,"action"); - HX_STACK_LINE(104) - if ((actor->has->resolve(HX_CSTRING("action")))){ - HX_STACK_LINE(104) - action = ::Std_obj::string(actor->att->resolve(HX_CSTRING("action"))); - } - else{ - HX_STACK_LINE(106) - action = HX_CSTRING(""); - } - HX_STACK_LINE(109) - ::ca::confidant::glory::model::ActorComponentConfigProxy accp = ::ca::confidant::glory::model::ActorComponentConfigProxy_obj::__new(actor->att->resolve(HX_CSTRING("id")),::Std_obj::string(actor->att->resolve(HX_CSTRING("type"))),action); HX_STACK_VAR(accp,"accp"); - HX_STACK_LINE(110) - this->facade->registerProxy(accp); - HX_STACK_LINE(111) - ::ca::confidant::glory::view::ActorComponentMediator acm = ::ca::confidant::glory::view::ActorComponentMediator_obj::__new(actor->att->resolve(HX_CSTRING("id")),a,accp); HX_STACK_VAR(acm,"acm"); - HX_STACK_LINE(112) - this->facade->registerMediator(acm); - HX_STACK_LINE(114) - a->nmeSetX(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("x")))); - HX_STACK_LINE(115) - a->nmeSetY(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("y")))); - HX_STACK_LINE(116) - a->nmeSetWidth(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("width")))); - HX_STACK_LINE(117) - a->nmeSetHeight(::Std_obj::parseInt(actor->att->resolve(HX_CSTRING("height")))); - HX_STACK_LINE(118) - a->type = actor->att->resolve(HX_CSTRING("type")); - HX_STACK_LINE(119) - a->nmeSetName(actor->att->resolve(HX_CSTRING("id"))); - HX_STACK_LINE(120) - if (((a->type == HX_CSTRING("control")))){ - HX_STACK_LINE(122) - a->nmeSetMouseEnabled(true); - HX_STACK_LINE(123) - a->useHandCursor = true; - HX_STACK_LINE(124) - a->buttonMode = true; - } - HX_STACK_LINE(126) - return a; -} - - -HX_DEFINE_DYNAMIC_FUNC1(BuildPageCommand_obj,makeActor,return ) - -Void BuildPageCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("BuildPageCommand::execute","ca/confidant/glory/controller/BuildPageCommand.hx",42); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(43) - ::haxe::Log_obj::trace(HX_CSTRING("BuildPageCommand"),hx::SourceInfo(HX_CSTRING("BuildPageCommand.hx"),43,HX_CSTRING("ca.confidant.glory.controller.BuildPageCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(45) - this->pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); - HX_STACK_LINE(46) - this->lp = hx::TCast< ca::confidant::glory::model::LoaderProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::LoaderProxy_obj::NAME)); - HX_STACK_LINE(47) - this->appMediator = hx::TCast< ca::confidant::glory::view::ApplicationMediator >::cast(this->facade->retrieveMediator(HX_CSTRING("ApplicationMediator"))); - HX_STACK_LINE(48) - ::String pageId = hx::TCast< String >::cast(note->getBody()); HX_STACK_VAR(pageId,"pageId"); - HX_STACK_LINE(53) - ::String class_name = (HX_CSTRING("pages.P") + pageId); HX_STACK_VAR(class_name,"class_name"); - HX_STACK_LINE(54) - ::Class a_class = ::Type_obj::resolveClass(class_name); HX_STACK_VAR(a_class,"a_class"); - HX_STACK_LINE(55) - ::ca::confidant::glory::view::components::PageComponent s = ( (((a_class != null()))) ? ::ca::confidant::glory::view::components::PageComponent(::Type_obj::createInstance(a_class,Dynamic( Array_obj::__new()))) : ::ca::confidant::glory::view::components::PageComponent(::ca::confidant::glory::view::components::PageComponent_obj::__new()) ); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(57) - s->nmeSetName(pageId); - HX_STACK_LINE(59) - if (((this->pcp->getPageById(pageId)->get(HX_CSTRING("type")) == HX_CSTRING("overlay")))){ - HX_STACK_LINE(59) - this->appMediator->addDisplayObject(s,(int)-1); - } - else{ - HX_STACK_LINE(62) - this->appMediator->addDisplayObject(s,(int)0); - } - HX_STACK_LINE(68) - ::ca::confidant::glory::view::PageMediator pm = ::ca::confidant::glory::view::PageMediator_obj::__new(pageId,s); HX_STACK_VAR(pm,"pm"); - HX_STACK_LINE(69) - this->facade->registerMediator(pm); - HX_STACK_LINE(71) - ::List actorsList = this->pcp->getPageActors(pageId); HX_STACK_VAR(actorsList,"actorsList"); - HX_STACK_LINE(73) - if (((actorsList->length > (int)0))){ - HX_STACK_LINE(73) - for(::cpp::FastIterator_obj< ::haxe::xml::Fast > *__it = ::cpp::CreateFastIterator< ::haxe::xml::Fast >(actorsList->iterator()); __it->hasNext(); ){ - ::haxe::xml::Fast thisActor = __it->next(); - s->addActor(thisActor->att->resolve(HX_CSTRING("id")),this->makeActor(thisActor)); - } - } - HX_STACK_LINE(80) - s->init(); - } -return null(); -} - - - -BuildPageCommand_obj::BuildPageCommand_obj() -{ -} - -void BuildPageCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BuildPageCommand); - HX_MARK_MEMBER_NAME(lp,"lp"); - HX_MARK_MEMBER_NAME(appMediator,"appMediator"); - HX_MARK_MEMBER_NAME(pcp,"pcp"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void BuildPageCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(lp,"lp"); - HX_VISIT_MEMBER_NAME(appMediator,"appMediator"); - HX_VISIT_MEMBER_NAME(pcp,"pcp"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic BuildPageCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"lp") ) { return lp; } - break; - case 3: - if (HX_FIELD_EQ(inName,"pcp") ) { return pcp; } - break; - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"makeActor") ) { return makeActor_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { return appMediator; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BuildPageCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"lp") ) { lp=inValue.Cast< ::ca::confidant::glory::model::LoaderProxy >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"pcp") ) { pcp=inValue.Cast< ::ca::confidant::glory::model::PagesConfigProxy >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { appMediator=inValue.Cast< ::ca::confidant::glory::view::ApplicationMediator >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BuildPageCommand_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("lp")); - outFields->push(HX_CSTRING("appMediator")); - outFields->push(HX_CSTRING("pcp")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("makeActor"), - HX_CSTRING("execute"), - HX_CSTRING("lp"), - HX_CSTRING("appMediator"), - HX_CSTRING("pcp"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BuildPageCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BuildPageCommand_obj::__mClass,"__mClass"); -}; - -Class BuildPageCommand_obj::__mClass; - -void BuildPageCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.BuildPageCommand"), hx::TCanCast< BuildPageCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BuildPageCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/ChangePageCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/ChangePageCommand.cpp deleted file mode 100644 index 70e9695..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/ChangePageCommand.cpp +++ /dev/null @@ -1,237 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_ChangePageCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void ChangePageCommand_obj::__construct() -{ -HX_STACK_PUSH("ChangePageCommand::new","ca/confidant/glory/controller/ChangePageCommand.hx",29); -{ - HX_STACK_LINE(29) - super::__construct(); -} -; - return null(); -} - -ChangePageCommand_obj::~ChangePageCommand_obj() { } - -Dynamic ChangePageCommand_obj::__CreateEmpty() { return new ChangePageCommand_obj; } -hx::ObjectPtr< ChangePageCommand_obj > ChangePageCommand_obj::__new() -{ hx::ObjectPtr< ChangePageCommand_obj > result = new ChangePageCommand_obj(); - result->__construct(); - return result;} - -Dynamic ChangePageCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ChangePageCommand_obj > result = new ChangePageCommand_obj(); - result->__construct(); - return result;} - -Void ChangePageCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("ChangePageCommand::execute","ca/confidant/glory/controller/ChangePageCommand.hx",35); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(36) - ::haxe::Log_obj::trace((HX_CSTRING("ChangePageCommand:") + ::Std_obj::string(note->getBody())),hx::SourceInfo(HX_CSTRING("ChangePageCommand.hx"),36,HX_CSTRING("ca.confidant.glory.controller.ChangePageCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(37) - this->pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); - HX_STACK_LINE(38) - this->appMediator = hx::TCast< ca::confidant::glory::view::ApplicationMediator >::cast(this->facade->retrieveMediator(HX_CSTRING("ApplicationMediator"))); - HX_STACK_LINE(39) - ::String action = hx::TCast< String >::cast(note->getBody()); HX_STACK_VAR(action,"action"); - HX_STACK_LINE(41) - ::String _switch_1 = (action); - if ( ( _switch_1==HX_CSTRING("pageForward"))){ - HX_STACK_LINE(44) - ::Hash nextPage = this->pcp->getNextPage(); HX_STACK_VAR(nextPage,"nextPage"); - HX_STACK_LINE(45) - if (((nextPage != null()))){ - HX_STACK_LINE(46) - this->sendNotification(HX_CSTRING("removePage"),this->pcp->getCurrentPage()->get(HX_CSTRING("id")),null()); - HX_STACK_LINE(47) - this->sendNotification(HX_CSTRING("buildPage"),nextPage->get(HX_CSTRING("id")),null()); - HX_STACK_LINE(48) - this->pcp->setCurrentPageById(nextPage->get(HX_CSTRING("id"))); - } - } - else if ( ( _switch_1==HX_CSTRING("pageBackward"))){ - HX_STACK_LINE(53) - ::Hash prevPage = this->pcp->getPreviousPage(); HX_STACK_VAR(prevPage,"prevPage"); - HX_STACK_LINE(54) - if (((prevPage != null()))){ - HX_STACK_LINE(55) - this->sendNotification(HX_CSTRING("removePage"),this->pcp->getCurrentPage()->get(HX_CSTRING("id")),null()); - HX_STACK_LINE(56) - this->sendNotification(HX_CSTRING("buildPage"),prevPage->get(HX_CSTRING("id")),null()); - HX_STACK_LINE(57) - this->pcp->setCurrentPageById(prevPage->get(HX_CSTRING("id"))); - } - } - else { - HX_STACK_LINE(62) - ::Hash p = this->pcp->getPageById(action); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(63) - bool overlay = (p->get(HX_CSTRING("type")) == HX_CSTRING("overlay")); HX_STACK_VAR(overlay,"overlay"); - HX_STACK_LINE(66) - if (((p != null()))){ - HX_STACK_LINE(68) - if ((!(overlay))){ - HX_STACK_LINE(68) - this->sendNotification(HX_CSTRING("removePage"),this->pcp->getCurrentPage()->get(HX_CSTRING("id")),null()); - } - HX_STACK_LINE(72) - this->sendNotification(HX_CSTRING("buildPage"),p->get(HX_CSTRING("id")),null()); - HX_STACK_LINE(73) - if ((!(overlay))){ - HX_STACK_LINE(73) - this->pcp->setCurrentPageById(p->get(HX_CSTRING("id"))); - } - } - } -; -; - } -return null(); -} - - - -ChangePageCommand_obj::ChangePageCommand_obj() -{ -} - -void ChangePageCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ChangePageCommand); - HX_MARK_MEMBER_NAME(appMediator,"appMediator"); - HX_MARK_MEMBER_NAME(pcp,"pcp"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ChangePageCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(appMediator,"appMediator"); - HX_VISIT_MEMBER_NAME(pcp,"pcp"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ChangePageCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"pcp") ) { return pcp; } - break; - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { return appMediator; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ChangePageCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"pcp") ) { pcp=inValue.Cast< ::ca::confidant::glory::model::PagesConfigProxy >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { appMediator=inValue.Cast< ::ca::confidant::glory::view::ApplicationMediator >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ChangePageCommand_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("appMediator")); - outFields->push(HX_CSTRING("pcp")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - HX_CSTRING("appMediator"), - HX_CSTRING("pcp"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ChangePageCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ChangePageCommand_obj::__mClass,"__mClass"); -}; - -Class ChangePageCommand_obj::__mClass; - -void ChangePageCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.ChangePageCommand"), hx::TCanCast< ChangePageCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ChangePageCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/GotoIntroCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/GotoIntroCommand.cpp deleted file mode 100644 index 138c022..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/GotoIntroCommand.cpp +++ /dev/null @@ -1,136 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_GotoIntroCommand -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void GotoIntroCommand_obj::__construct() -{ -HX_STACK_PUSH("GotoIntroCommand::new","ca/confidant/glory/controller/GotoIntroCommand.hx",20); -{ - HX_STACK_LINE(20) - super::__construct(); -} -; - return null(); -} - -GotoIntroCommand_obj::~GotoIntroCommand_obj() { } - -Dynamic GotoIntroCommand_obj::__CreateEmpty() { return new GotoIntroCommand_obj; } -hx::ObjectPtr< GotoIntroCommand_obj > GotoIntroCommand_obj::__new() -{ hx::ObjectPtr< GotoIntroCommand_obj > result = new GotoIntroCommand_obj(); - result->__construct(); - return result;} - -Dynamic GotoIntroCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GotoIntroCommand_obj > result = new GotoIntroCommand_obj(); - result->__construct(); - return result;} - -Void GotoIntroCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("GotoIntroCommand::execute","ca/confidant/glory/controller/GotoIntroCommand.hx",24); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(25) - ::haxe::Log_obj::trace(HX_CSTRING("GotoIntroCommand"),hx::SourceInfo(HX_CSTRING("GotoIntroCommand.hx"),25,HX_CSTRING("ca.confidant.glory.controller.GotoIntroCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(26) - this->sendNotification(HX_CSTRING("buildControls"),null(),null()); - HX_STACK_LINE(27) - this->sendNotification(HX_CSTRING("buildPage"),HX_CSTRING("title"),null()); - } -return null(); -} - - - -GotoIntroCommand_obj::GotoIntroCommand_obj() -{ -} - -void GotoIntroCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GotoIntroCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void GotoIntroCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic GotoIntroCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GotoIntroCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void GotoIntroCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GotoIntroCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GotoIntroCommand_obj::__mClass,"__mClass"); -}; - -Class GotoIntroCommand_obj::__mClass; - -void GotoIntroCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.GotoIntroCommand"), hx::TCanCast< GotoIntroCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GotoIntroCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.cpp deleted file mode 100644 index a522bff..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/HandleAssetsLoadedCommand.cpp +++ /dev/null @@ -1,158 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_HandleAssetsLoadedCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void HandleAssetsLoadedCommand_obj::__construct() -{ -HX_STACK_PUSH("HandleAssetsLoadedCommand::new","ca/confidant/glory/controller/HandleAssetsLoadedCommand.hx",24); -{ - HX_STACK_LINE(24) - super::__construct(); -} -; - return null(); -} - -HandleAssetsLoadedCommand_obj::~HandleAssetsLoadedCommand_obj() { } - -Dynamic HandleAssetsLoadedCommand_obj::__CreateEmpty() { return new HandleAssetsLoadedCommand_obj; } -hx::ObjectPtr< HandleAssetsLoadedCommand_obj > HandleAssetsLoadedCommand_obj::__new() -{ hx::ObjectPtr< HandleAssetsLoadedCommand_obj > result = new HandleAssetsLoadedCommand_obj(); - result->__construct(); - return result;} - -Dynamic HandleAssetsLoadedCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< HandleAssetsLoadedCommand_obj > result = new HandleAssetsLoadedCommand_obj(); - result->__construct(); - return result;} - -Void HandleAssetsLoadedCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("HandleAssetsLoadedCommand::execute","ca/confidant/glory/controller/HandleAssetsLoadedCommand.hx",29); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(30) - ::haxe::Log_obj::trace(HX_CSTRING("HandleAssetsLoadedCommand"),hx::SourceInfo(HX_CSTRING("HandleAssetsLoadedCommand.hx"),30,HX_CSTRING("ca.confidant.glory.controller.HandleAssetsLoadedCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(31) - ::ca::confidant::glory::model::LoaderProxy lp = hx::TCast< ca::confidant::glory::model::LoaderProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::LoaderProxy_obj::NAME)); HX_STACK_VAR(lp,"lp"); - HX_STACK_LINE(33) - ::String assetID = hx::TCast< String >::cast(note->getBody()); HX_STACK_VAR(assetID,"assetID"); - HX_STACK_LINE(35) - if (((assetID == HX_CSTRING("xml")))){ - HX_STACK_LINE(36) - ::ca::confidant::glory::model::PagesConfigProxy pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); HX_STACK_VAR(pcp,"pcp"); - HX_STACK_LINE(37) - pcp->loadXML(lp->retrieveLoadedAsset(assetID)); - } - } -return null(); -} - - - -HandleAssetsLoadedCommand_obj::HandleAssetsLoadedCommand_obj() -{ -} - -void HandleAssetsLoadedCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(HandleAssetsLoadedCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void HandleAssetsLoadedCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic HandleAssetsLoadedCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic HandleAssetsLoadedCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void HandleAssetsLoadedCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(HandleAssetsLoadedCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(HandleAssetsLoadedCommand_obj::__mClass,"__mClass"); -}; - -Class HandleAssetsLoadedCommand_obj::__mClass; - -void HandleAssetsLoadedCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.HandleAssetsLoadedCommand"), hx::TCanCast< HandleAssetsLoadedCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void HandleAssetsLoadedCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/RemovePageCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/RemovePageCommand.cpp deleted file mode 100644 index 26ad80f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/RemovePageCommand.cpp +++ /dev/null @@ -1,241 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_RemovePageCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_PageMediator -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void RemovePageCommand_obj::__construct() -{ -HX_STACK_PUSH("RemovePageCommand::new","ca/confidant/glory/controller/RemovePageCommand.hx",25); -{ - HX_STACK_LINE(25) - super::__construct(); -} -; - return null(); -} - -RemovePageCommand_obj::~RemovePageCommand_obj() { } - -Dynamic RemovePageCommand_obj::__CreateEmpty() { return new RemovePageCommand_obj; } -hx::ObjectPtr< RemovePageCommand_obj > RemovePageCommand_obj::__new() -{ hx::ObjectPtr< RemovePageCommand_obj > result = new RemovePageCommand_obj(); - result->__construct(); - return result;} - -Dynamic RemovePageCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< RemovePageCommand_obj > result = new RemovePageCommand_obj(); - result->__construct(); - return result;} - -Void RemovePageCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("RemovePageCommand::execute","ca/confidant/glory/controller/RemovePageCommand.hx",31); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(32) - ::String pageId = hx::TCast< String >::cast(note->getBody()); HX_STACK_VAR(pageId,"pageId"); - HX_STACK_LINE(34) - this->pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); - HX_STACK_LINE(35) - this->appMediator = hx::TCast< ca::confidant::glory::view::ApplicationMediator >::cast(this->facade->retrieveMediator(HX_CSTRING("ApplicationMediator"))); - HX_STACK_LINE(36) - this->crp = hx::TCast< ca::confidant::glory::model::ControlsRegistryProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::ControlsRegistryProxy_obj::NAME)); - HX_STACK_LINE(41) - ::ca::confidant::glory::view::PageMediator pageMediator = hx::TCast< ca::confidant::glory::view::PageMediator >::cast(this->facade->retrieveMediator(pageId)); HX_STACK_VAR(pageMediator,"pageMediator"); - HX_STACK_LINE(42) - ::neash::display::Sprite s = hx::TCast< neash::display::Sprite >::cast(pageMediator->getViewComponent()); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(46) - while(((s->nmeGetNumChildren() > (int)0))){ - HX_STACK_LINE(47) - ::neash::display::DisplayObject child = s->getChildAt((int)0); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(48) - if ((this->facade->hasMediator(child->nmeGetName()))){ - HX_STACK_LINE(48) - this->facade->removeMediator(child->nmeGetName()); - } - HX_STACK_LINE(51) - if ((this->facade->hasProxy(child->nmeGetName()))){ - HX_STACK_LINE(51) - this->facade->removeProxy(child->nmeGetName()); - } - HX_STACK_LINE(54) - s->removeChild(child); - HX_STACK_LINE(55) - child = null(); - } - HX_STACK_LINE(59) - pageMediator = null(); - HX_STACK_LINE(60) - this->facade->removeMediator(pageId); - HX_STACK_LINE(63) - this->appMediator->removeDisplayObject(s); - HX_STACK_LINE(64) - s = null(); - } -return null(); -} - - - -RemovePageCommand_obj::RemovePageCommand_obj() -{ -} - -void RemovePageCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(RemovePageCommand); - HX_MARK_MEMBER_NAME(crp,"crp"); - HX_MARK_MEMBER_NAME(appMediator,"appMediator"); - HX_MARK_MEMBER_NAME(pcp,"pcp"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void RemovePageCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(crp,"crp"); - HX_VISIT_MEMBER_NAME(appMediator,"appMediator"); - HX_VISIT_MEMBER_NAME(pcp,"pcp"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic RemovePageCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"crp") ) { return crp; } - if (HX_FIELD_EQ(inName,"pcp") ) { return pcp; } - break; - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { return appMediator; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic RemovePageCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"crp") ) { crp=inValue.Cast< ::ca::confidant::glory::model::ControlsRegistryProxy >(); return inValue; } - if (HX_FIELD_EQ(inName,"pcp") ) { pcp=inValue.Cast< ::ca::confidant::glory::model::PagesConfigProxy >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"appMediator") ) { appMediator=inValue.Cast< ::ca::confidant::glory::view::ApplicationMediator >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void RemovePageCommand_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("crp")); - outFields->push(HX_CSTRING("appMediator")); - outFields->push(HX_CSTRING("pcp")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - HX_CSTRING("crp"), - HX_CSTRING("appMediator"), - HX_CSTRING("pcp"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(RemovePageCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(RemovePageCommand_obj::__mClass,"__mClass"); -}; - -Class RemovePageCommand_obj::__mClass; - -void RemovePageCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.RemovePageCommand"), hx::TCanCast< RemovePageCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void RemovePageCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.cpp deleted file mode 100644 index eb7e9d8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/Startup0_RegCommands_Command.cpp +++ /dev/null @@ -1,175 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_BuildControlsCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_BuildPageCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_ChangePageCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_GotoIntroCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_HandleAssetsLoadedCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_RemovePageCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_Startup0_RegCommands_Command -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_TimerDisableCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_TimerEnableCommand -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void Startup0_RegCommands_Command_obj::__construct() -{ -HX_STACK_PUSH("Startup0_RegCommands_Command::new","ca/confidant/glory/controller/Startup0_RegCommands_Command.hx",22); -{ - HX_STACK_LINE(22) - super::__construct(); -} -; - return null(); -} - -Startup0_RegCommands_Command_obj::~Startup0_RegCommands_Command_obj() { } - -Dynamic Startup0_RegCommands_Command_obj::__CreateEmpty() { return new Startup0_RegCommands_Command_obj; } -hx::ObjectPtr< Startup0_RegCommands_Command_obj > Startup0_RegCommands_Command_obj::__new() -{ hx::ObjectPtr< Startup0_RegCommands_Command_obj > result = new Startup0_RegCommands_Command_obj(); - result->__construct(); - return result;} - -Dynamic Startup0_RegCommands_Command_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Startup0_RegCommands_Command_obj > result = new Startup0_RegCommands_Command_obj(); - result->__construct(); - return result;} - -Void Startup0_RegCommands_Command_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("Startup0_RegCommands_Command::execute","ca/confidant/glory/controller/Startup0_RegCommands_Command.hx",26); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(27) - ::haxe::Log_obj::trace(HX_CSTRING("startup0"),hx::SourceInfo(HX_CSTRING("Startup0_RegCommands_Command.hx"),27,HX_CSTRING("ca.confidant.glory.controller.Startup0_RegCommands_Command"),HX_CSTRING("execute"))); - HX_STACK_LINE(28) - this->facade->registerCommand(HX_CSTRING("assetsLoaded"),hx::ClassOf< ::ca::confidant::glory::controller::HandleAssetsLoadedCommand >()); - HX_STACK_LINE(29) - this->facade->registerCommand(HX_CSTRING("pagesConfigReady"),hx::ClassOf< ::ca::confidant::glory::controller::GotoIntroCommand >()); - HX_STACK_LINE(30) - this->facade->registerCommand(HX_CSTRING("buildControls"),hx::ClassOf< ::ca::confidant::glory::controller::BuildControlsCommand >()); - HX_STACK_LINE(31) - this->facade->registerCommand(HX_CSTRING("buildPage"),hx::ClassOf< ::ca::confidant::glory::controller::BuildPageCommand >()); - HX_STACK_LINE(32) - this->facade->registerCommand(HX_CSTRING("removePage"),hx::ClassOf< ::ca::confidant::glory::controller::RemovePageCommand >()); - HX_STACK_LINE(33) - this->facade->registerCommand(HX_CSTRING("changePage"),hx::ClassOf< ::ca::confidant::glory::controller::ChangePageCommand >()); - HX_STACK_LINE(35) - this->facade->registerCommand(HX_CSTRING("timerEnable"),hx::ClassOf< ::ca::confidant::glory::controller::TimerEnableCommand >()); - HX_STACK_LINE(36) - this->facade->registerCommand(HX_CSTRING("timerDisable"),hx::ClassOf< ::ca::confidant::glory::controller::TimerDisableCommand >()); - } -return null(); -} - - - -Startup0_RegCommands_Command_obj::Startup0_RegCommands_Command_obj() -{ -} - -void Startup0_RegCommands_Command_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Startup0_RegCommands_Command); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Startup0_RegCommands_Command_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Startup0_RegCommands_Command_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Startup0_RegCommands_Command_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Startup0_RegCommands_Command_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Startup0_RegCommands_Command_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Startup0_RegCommands_Command_obj::__mClass,"__mClass"); -}; - -Class Startup0_RegCommands_Command_obj::__mClass; - -void Startup0_RegCommands_Command_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.Startup0_RegCommands_Command"), hx::TCanCast< Startup0_RegCommands_Command_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Startup0_RegCommands_Command_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/Startup1_App_Command.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/Startup1_App_Command.cpp deleted file mode 100644 index 0713ce3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/Startup1_App_Command.cpp +++ /dev/null @@ -1,174 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_Startup1_App_Command -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void Startup1_App_Command_obj::__construct() -{ -HX_STACK_PUSH("Startup1_App_Command::new","ca/confidant/glory/controller/Startup1_App_Command.hx",14); -{ - HX_STACK_LINE(14) - super::__construct(); -} -; - return null(); -} - -Startup1_App_Command_obj::~Startup1_App_Command_obj() { } - -Dynamic Startup1_App_Command_obj::__CreateEmpty() { return new Startup1_App_Command_obj; } -hx::ObjectPtr< Startup1_App_Command_obj > Startup1_App_Command_obj::__new() -{ hx::ObjectPtr< Startup1_App_Command_obj > result = new Startup1_App_Command_obj(); - result->__construct(); - return result;} - -Dynamic Startup1_App_Command_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Startup1_App_Command_obj > result = new Startup1_App_Command_obj(); - result->__construct(); - return result;} - -Void Startup1_App_Command_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("Startup1_App_Command::execute","ca/confidant/glory/controller/Startup1_App_Command.hx",18); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(19) - ::haxe::Log_obj::trace(HX_CSTRING("startup1"),hx::SourceInfo(HX_CSTRING("Startup1_App_Command.hx"),19,HX_CSTRING("ca.confidant.glory.controller.Startup1_App_Command"),HX_CSTRING("execute"))); - HX_STACK_LINE(20) - ::ca::confidant::glory::GloryFrameworkApp app = hx::TCast< ca::confidant::glory::GloryFrameworkApp >::cast(note->getBody()); HX_STACK_VAR(app,"app"); - HX_STACK_LINE(21) - ::ca::confidant::glory::view::ApplicationMediator appMediator = ::ca::confidant::glory::view::ApplicationMediator_obj::__new(app); HX_STACK_VAR(appMediator,"appMediator"); - HX_STACK_LINE(22) - this->facade->registerMediator(appMediator); - } -return null(); -} - - - -Startup1_App_Command_obj::Startup1_App_Command_obj() -{ -} - -void Startup1_App_Command_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Startup1_App_Command); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Startup1_App_Command_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Startup1_App_Command_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Startup1_App_Command_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Startup1_App_Command_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Startup1_App_Command_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Startup1_App_Command_obj::__mClass,"__mClass"); -}; - -Class Startup1_App_Command_obj::__mClass; - -void Startup1_App_Command_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.Startup1_App_Command"), hx::TCanCast< Startup1_App_Command_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Startup1_App_Command_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/Startup2_Proxies_Command.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/Startup2_Proxies_Command.cpp deleted file mode 100644 index 6f690cc..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/Startup2_Proxies_Command.cpp +++ /dev/null @@ -1,160 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_Startup2_Proxies_Command -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void Startup2_Proxies_Command_obj::__construct() -{ -HX_STACK_PUSH("Startup2_Proxies_Command::new","ca/confidant/glory/controller/Startup2_Proxies_Command.hx",18); -{ - HX_STACK_LINE(18) - super::__construct(); -} -; - return null(); -} - -Startup2_Proxies_Command_obj::~Startup2_Proxies_Command_obj() { } - -Dynamic Startup2_Proxies_Command_obj::__CreateEmpty() { return new Startup2_Proxies_Command_obj; } -hx::ObjectPtr< Startup2_Proxies_Command_obj > Startup2_Proxies_Command_obj::__new() -{ hx::ObjectPtr< Startup2_Proxies_Command_obj > result = new Startup2_Proxies_Command_obj(); - result->__construct(); - return result;} - -Dynamic Startup2_Proxies_Command_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Startup2_Proxies_Command_obj > result = new Startup2_Proxies_Command_obj(); - result->__construct(); - return result;} - -Void Startup2_Proxies_Command_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("Startup2_Proxies_Command::execute","ca/confidant/glory/controller/Startup2_Proxies_Command.hx",23); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(24) - ::haxe::Log_obj::trace(HX_CSTRING("startup2"),hx::SourceInfo(HX_CSTRING("Startup2_Proxies_Command.hx"),24,HX_CSTRING("ca.confidant.glory.controller.Startup2_Proxies_Command"),HX_CSTRING("execute"))); - HX_STACK_LINE(25) - this->facade->registerProxy(::ca::confidant::glory::model::PagesConfigProxy_obj::__new()); - HX_STACK_LINE(26) - this->facade->registerProxy(::ca::confidant::glory::model::ControlsRegistryProxy_obj::__new()); - HX_STACK_LINE(28) - ::ca::confidant::glory::model::LoaderProxy lp = ::ca::confidant::glory::model::LoaderProxy_obj::__new(); HX_STACK_VAR(lp,"lp"); - HX_STACK_LINE(29) - this->facade->registerProxy(lp); - HX_STACK_LINE(31) - lp->loadXML(HX_CSTRING("assets/config.xml")); - } -return null(); -} - - - -Startup2_Proxies_Command_obj::Startup2_Proxies_Command_obj() -{ -} - -void Startup2_Proxies_Command_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Startup2_Proxies_Command); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Startup2_Proxies_Command_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Startup2_Proxies_Command_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Startup2_Proxies_Command_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Startup2_Proxies_Command_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Startup2_Proxies_Command_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Startup2_Proxies_Command_obj::__mClass,"__mClass"); -}; - -Class Startup2_Proxies_Command_obj::__mClass; - -void Startup2_Proxies_Command_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.Startup2_Proxies_Command"), hx::TCanCast< Startup2_Proxies_Command_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Startup2_Proxies_Command_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/StartupCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/StartupCommand.cpp deleted file mode 100644 index f9983b4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/StartupCommand.cpp +++ /dev/null @@ -1,141 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_Startup0_RegCommands_Command -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_Startup1_App_Command -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_Startup2_Proxies_Command -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_controller_StartupCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_MacroCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void StartupCommand_obj::__construct() -{ -HX_STACK_PUSH("StartupCommand::new","ca/confidant/glory/controller/StartupCommand.hx",15); -{ - HX_STACK_LINE(15) - super::__construct(); -} -; - return null(); -} - -StartupCommand_obj::~StartupCommand_obj() { } - -Dynamic StartupCommand_obj::__CreateEmpty() { return new StartupCommand_obj; } -hx::ObjectPtr< StartupCommand_obj > StartupCommand_obj::__new() -{ hx::ObjectPtr< StartupCommand_obj > result = new StartupCommand_obj(); - result->__construct(); - return result;} - -Dynamic StartupCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< StartupCommand_obj > result = new StartupCommand_obj(); - result->__construct(); - return result;} - -Void StartupCommand_obj::initializeMacroCommand( ){ -{ - HX_STACK_PUSH("StartupCommand::initializeMacroCommand","ca/confidant/glory/controller/StartupCommand.hx",20); - HX_STACK_THIS(this); - HX_STACK_LINE(22) - this->addSubCommand(hx::ClassOf< ::ca::confidant::glory::controller::Startup0_RegCommands_Command >()); - HX_STACK_LINE(23) - this->addSubCommand(hx::ClassOf< ::ca::confidant::glory::controller::Startup1_App_Command >()); - HX_STACK_LINE(24) - this->addSubCommand(hx::ClassOf< ::ca::confidant::glory::controller::Startup2_Proxies_Command >()); - } -return null(); -} - - - -StartupCommand_obj::StartupCommand_obj() -{ -} - -void StartupCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(StartupCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void StartupCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic StartupCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 22: - if (HX_FIELD_EQ(inName,"initializeMacroCommand") ) { return initializeMacroCommand_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic StartupCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void StartupCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("initializeMacroCommand"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StartupCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StartupCommand_obj::__mClass,"__mClass"); -}; - -Class StartupCommand_obj::__mClass; - -void StartupCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.StartupCommand"), hx::TCanCast< StartupCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void StartupCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/TimerDisableCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/TimerDisableCommand.cpp deleted file mode 100644 index 9560925..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/TimerDisableCommand.cpp +++ /dev/null @@ -1,153 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_TimerDisableCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_TickerProxy -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void TimerDisableCommand_obj::__construct() -{ -HX_STACK_PUSH("TimerDisableCommand::new","ca/confidant/glory/controller/TimerDisableCommand.hx",17); -{ - HX_STACK_LINE(17) - super::__construct(); -} -; - return null(); -} - -TimerDisableCommand_obj::~TimerDisableCommand_obj() { } - -Dynamic TimerDisableCommand_obj::__CreateEmpty() { return new TimerDisableCommand_obj; } -hx::ObjectPtr< TimerDisableCommand_obj > TimerDisableCommand_obj::__new() -{ hx::ObjectPtr< TimerDisableCommand_obj > result = new TimerDisableCommand_obj(); - result->__construct(); - return result;} - -Dynamic TimerDisableCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TimerDisableCommand_obj > result = new TimerDisableCommand_obj(); - result->__construct(); - return result;} - -Void TimerDisableCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("TimerDisableCommand::execute","ca/confidant/glory/controller/TimerDisableCommand.hx",21); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(22) - ::haxe::Log_obj::trace(HX_CSTRING("TimerDisableCommand"),hx::SourceInfo(HX_CSTRING("TimerDisableCommand.hx"),22,HX_CSTRING("ca.confidant.glory.controller.TimerDisableCommand"),HX_CSTRING("execute"))); - HX_STACK_LINE(23) - if ((this->facade->hasProxy(::ca::confidant::glory::model::TickerProxy_obj::NAME))){ - HX_STACK_LINE(25) - ::ca::confidant::glory::model::TickerProxy p; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(26) - p = hx::TCast< ca::confidant::glory::model::TickerProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::TickerProxy_obj::NAME)); - HX_STACK_LINE(27) - p->stopTimer(); - } - } -return null(); -} - - - -TimerDisableCommand_obj::TimerDisableCommand_obj() -{ -} - -void TimerDisableCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TimerDisableCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void TimerDisableCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic TimerDisableCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TimerDisableCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void TimerDisableCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TimerDisableCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TimerDisableCommand_obj::__mClass,"__mClass"); -}; - -Class TimerDisableCommand_obj::__mClass; - -void TimerDisableCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.TimerDisableCommand"), hx::TCanCast< TimerDisableCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TimerDisableCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/TimerEnableCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/TimerEnableCommand.cpp deleted file mode 100644 index fb6825f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/controller/TimerEnableCommand.cpp +++ /dev/null @@ -1,156 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_controller_TimerEnableCommand -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_TickerProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace controller{ - -Void TimerEnableCommand_obj::__construct() -{ -HX_STACK_PUSH("TimerEnableCommand::new","ca/confidant/glory/controller/TimerEnableCommand.hx",13); -{ - HX_STACK_LINE(13) - super::__construct(); -} -; - return null(); -} - -TimerEnableCommand_obj::~TimerEnableCommand_obj() { } - -Dynamic TimerEnableCommand_obj::__CreateEmpty() { return new TimerEnableCommand_obj; } -hx::ObjectPtr< TimerEnableCommand_obj > TimerEnableCommand_obj::__new() -{ hx::ObjectPtr< TimerEnableCommand_obj > result = new TimerEnableCommand_obj(); - result->__construct(); - return result;} - -Dynamic TimerEnableCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TimerEnableCommand_obj > result = new TimerEnableCommand_obj(); - result->__construct(); - return result;} - -Void TimerEnableCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("TimerEnableCommand::execute","ca/confidant/glory/controller/TimerEnableCommand.hx",21); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(23) - ::ca::confidant::glory::model::TickerProxy p; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(24) - if ((!(this->facade->hasProxy(::ca::confidant::glory::model::TickerProxy_obj::NAME)))){ - HX_STACK_LINE(26) - p = ::ca::confidant::glory::model::TickerProxy_obj::__new(); - HX_STACK_LINE(27) - this->facade->registerProxy(p); - } - else{ - HX_STACK_LINE(28) - p = hx::TCast< ca::confidant::glory::model::TickerProxy >::cast(this->facade->retrieveProxy(::ca::confidant::glory::model::TickerProxy_obj::NAME)); - } - HX_STACK_LINE(32) - int interval = hx::TCast< Int >::cast(note->getBody()); HX_STACK_VAR(interval,"interval"); - HX_STACK_LINE(33) - p->startTimer(interval); - } -return null(); -} - - - -TimerEnableCommand_obj::TimerEnableCommand_obj() -{ -} - -void TimerEnableCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TimerEnableCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void TimerEnableCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic TimerEnableCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TimerEnableCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void TimerEnableCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TimerEnableCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TimerEnableCommand_obj::__mClass,"__mClass"); -}; - -Class TimerEnableCommand_obj::__mClass; - -void TimerEnableCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.controller.TimerEnableCommand"), hx::TCanCast< TimerEnableCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TimerEnableCommand_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace controller diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/model/ActorComponentConfigProxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/model/ActorComponentConfigProxy.cpp deleted file mode 100644 index e06d64a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/model/ActorComponentConfigProxy.cpp +++ /dev/null @@ -1,136 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_model_ActorComponentConfigProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - -Void ActorComponentConfigProxy_obj::__construct(::String id,::String theType,::String __o_theAction) -{ -HX_STACK_PUSH("ActorComponentConfigProxy::new","ca/confidant/glory/model/ActorComponentConfigProxy.hx",21); -::String theAction = __o_theAction.Default(HX_CSTRING("")); -{ - HX_STACK_LINE(22) - super::__construct(id,null()); - HX_STACK_LINE(23) - this->type = theType; - HX_STACK_LINE(24) - this->action = theAction; -} -; - return null(); -} - -ActorComponentConfigProxy_obj::~ActorComponentConfigProxy_obj() { } - -Dynamic ActorComponentConfigProxy_obj::__CreateEmpty() { return new ActorComponentConfigProxy_obj; } -hx::ObjectPtr< ActorComponentConfigProxy_obj > ActorComponentConfigProxy_obj::__new(::String id,::String theType,::String __o_theAction) -{ hx::ObjectPtr< ActorComponentConfigProxy_obj > result = new ActorComponentConfigProxy_obj(); - result->__construct(id,theType,__o_theAction); - return result;} - -Dynamic ActorComponentConfigProxy_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ActorComponentConfigProxy_obj > result = new ActorComponentConfigProxy_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - - -ActorComponentConfigProxy_obj::ActorComponentConfigProxy_obj() -{ -} - -void ActorComponentConfigProxy_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ActorComponentConfigProxy); - HX_MARK_MEMBER_NAME(action,"action"); - HX_MARK_MEMBER_NAME(type,"type"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ActorComponentConfigProxy_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(action,"action"); - HX_VISIT_MEMBER_NAME(type,"type"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ActorComponentConfigProxy_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { return type; } - break; - case 6: - if (HX_FIELD_EQ(inName,"action") ) { return action; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ActorComponentConfigProxy_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"action") ) { action=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ActorComponentConfigProxy_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("action")); - outFields->push(HX_CSTRING("type")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("action"), - HX_CSTRING("type"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ActorComponentConfigProxy_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ActorComponentConfigProxy_obj::__mClass,"__mClass"); -}; - -Class ActorComponentConfigProxy_obj::__mClass; - -void ActorComponentConfigProxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.model.ActorComponentConfigProxy"), hx::TCanCast< ActorComponentConfigProxy_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ActorComponentConfigProxy_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/model/ControlsRegistryProxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/model/ControlsRegistryProxy.cpp deleted file mode 100644 index adce636..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/model/ControlsRegistryProxy.cpp +++ /dev/null @@ -1,194 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_model_ControlsRegistryProxy -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - -Void ControlsRegistryProxy_obj::__construct() -{ -HX_STACK_PUSH("ControlsRegistryProxy::new","ca/confidant/glory/model/ControlsRegistryProxy.hx",22); -{ - HX_STACK_LINE(23) - super::__construct(::ca::confidant::glory::model::ControlsRegistryProxy_obj::NAME,null()); - HX_STACK_LINE(25) - this->controls = Array_obj< ::neash::display::DisplayObject >::__new(); - HX_STACK_LINE(26) - ::haxe::Log_obj::trace(HX_CSTRING("ControlsRegistryProxy!"),hx::SourceInfo(HX_CSTRING("ControlsRegistryProxy.hx"),26,HX_CSTRING("ca.confidant.glory.model.ControlsRegistryProxy"),HX_CSTRING("new"))); -} -; - return null(); -} - -ControlsRegistryProxy_obj::~ControlsRegistryProxy_obj() { } - -Dynamic ControlsRegistryProxy_obj::__CreateEmpty() { return new ControlsRegistryProxy_obj; } -hx::ObjectPtr< ControlsRegistryProxy_obj > ControlsRegistryProxy_obj::__new() -{ hx::ObjectPtr< ControlsRegistryProxy_obj > result = new ControlsRegistryProxy_obj(); - result->__construct(); - return result;} - -Dynamic ControlsRegistryProxy_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ControlsRegistryProxy_obj > result = new ControlsRegistryProxy_obj(); - result->__construct(); - return result;} - -Void ControlsRegistryProxy_obj::registerControl( ::neash::display::DisplayObject d){ -{ - HX_STACK_PUSH("ControlsRegistryProxy::registerControl","ca/confidant/glory/model/ControlsRegistryProxy.hx",32); - HX_STACK_THIS(this); - HX_STACK_ARG(d,"d"); - HX_STACK_LINE(32) - this->controls->push(d); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ControlsRegistryProxy_obj,registerControl,(void)) - -Array< ::neash::display::DisplayObject > ControlsRegistryProxy_obj::getControls( ){ - HX_STACK_PUSH("ControlsRegistryProxy::getControls","ca/confidant/glory/model/ControlsRegistryProxy.hx",28); - HX_STACK_THIS(this); - HX_STACK_LINE(29) - ::haxe::Log_obj::trace(HX_CSTRING("crp:getControls"),hx::SourceInfo(HX_CSTRING("ControlsRegistryProxy.hx"),29,HX_CSTRING("ca.confidant.glory.model.ControlsRegistryProxy"),HX_CSTRING("getControls"))); - HX_STACK_LINE(30) - return this->controls; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ControlsRegistryProxy_obj,getControls,return ) - -::String ControlsRegistryProxy_obj::NAME; - - -ControlsRegistryProxy_obj::ControlsRegistryProxy_obj() -{ -} - -void ControlsRegistryProxy_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ControlsRegistryProxy); - HX_MARK_MEMBER_NAME(controls,"controls"); - HX_MARK_MEMBER_NAME(currentPage,"currentPage"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ControlsRegistryProxy_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(controls,"controls"); - HX_VISIT_MEMBER_NAME(currentPage,"currentPage"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ControlsRegistryProxy_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - break; - case 8: - if (HX_FIELD_EQ(inName,"controls") ) { return controls; } - break; - case 11: - if (HX_FIELD_EQ(inName,"getControls") ) { return getControls_dyn(); } - if (HX_FIELD_EQ(inName,"currentPage") ) { return currentPage; } - break; - case 15: - if (HX_FIELD_EQ(inName,"registerControl") ) { return registerControl_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ControlsRegistryProxy_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"controls") ) { controls=inValue.Cast< Array< ::neash::display::DisplayObject > >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"currentPage") ) { currentPage=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ControlsRegistryProxy_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("controls")); - outFields->push(HX_CSTRING("currentPage")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("registerControl"), - HX_CSTRING("getControls"), - HX_CSTRING("controls"), - HX_CSTRING("currentPage"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ControlsRegistryProxy_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ControlsRegistryProxy_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ControlsRegistryProxy_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ControlsRegistryProxy_obj::NAME,"NAME"); -}; - -Class ControlsRegistryProxy_obj::__mClass; - -void ControlsRegistryProxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.model.ControlsRegistryProxy"), hx::TCanCast< ControlsRegistryProxy_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ControlsRegistryProxy_obj::__boot() -{ - NAME= HX_CSTRING("ControlsRegistryProxy"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/model/LoaderProxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/model/LoaderProxy.cpp deleted file mode 100644 index 911daeb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/model/LoaderProxy.cpp +++ /dev/null @@ -1,244 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_nme_installer_Assets -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - -Void LoaderProxy_obj::__construct() -{ -HX_STACK_PUSH("LoaderProxy::new","ca/confidant/glory/model/LoaderProxy.hx",28); -{ - HX_STACK_LINE(29) - super::__construct(::ca::confidant::glory::model::LoaderProxy_obj::NAME,null()); - HX_STACK_LINE(30) - this->loadedItems = ::Hash_obj::__new(); -} -; - return null(); -} - -LoaderProxy_obj::~LoaderProxy_obj() { } - -Dynamic LoaderProxy_obj::__CreateEmpty() { return new LoaderProxy_obj; } -hx::ObjectPtr< LoaderProxy_obj > LoaderProxy_obj::__new() -{ hx::ObjectPtr< LoaderProxy_obj > result = new LoaderProxy_obj(); - result->__construct(); - return result;} - -Dynamic LoaderProxy_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< LoaderProxy_obj > result = new LoaderProxy_obj(); - result->__construct(); - return result;} - -Void LoaderProxy_obj::loadAllAssets( ){ -{ - HX_STACK_PUSH("LoaderProxy::loadAllAssets","ca/confidant/glory/model/LoaderProxy.hx",69); - HX_STACK_THIS(this); - HX_STACK_LINE(69) - this->sendNotification(HX_CSTRING("assetsLoaded"),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(LoaderProxy_obj,loadAllAssets,(void)) - -::neash::display::BitmapData LoaderProxy_obj::getBitmapData( ::String id,hx::Null< bool > __o_b){ -bool b = __o_b.Default(true); - HX_STACK_PUSH("LoaderProxy::getBitmapData","ca/confidant/glory/model/LoaderProxy.hx",60); - HX_STACK_THIS(this); - HX_STACK_ARG(id,"id"); - HX_STACK_ARG(b,"b"); -{ - HX_STACK_LINE(61) - ::neash::display::BitmapData imageData = ::nme::installer::Assets_obj::getBitmapData(id,b); HX_STACK_VAR(imageData,"imageData"); - HX_STACK_LINE(62) - return imageData; - } -} - - -HX_DEFINE_DYNAMIC_FUNC2(LoaderProxy_obj,getBitmapData,return ) - -::String LoaderProxy_obj::getText( ::String id){ - HX_STACK_PUSH("LoaderProxy::getText","ca/confidant/glory/model/LoaderProxy.hx",55); - HX_STACK_THIS(this); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(56) - ::String theText = ::nme::installer::Assets_obj::getText(id); HX_STACK_VAR(theText,"theText"); - HX_STACK_LINE(57) - return theText; -} - - -HX_DEFINE_DYNAMIC_FUNC1(LoaderProxy_obj,getText,return ) - -Dynamic LoaderProxy_obj::retrieveLoadedAsset( ::String key){ - HX_STACK_PUSH("LoaderProxy::retrieveLoadedAsset","ca/confidant/glory/model/LoaderProxy.hx",48); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_LINE(50) - ::haxe::Log_obj::trace((HX_CSTRING("retrieving:") + key),hx::SourceInfo(HX_CSTRING("LoaderProxy.hx"),50,HX_CSTRING("ca.confidant.glory.model.LoaderProxy"),HX_CSTRING("retrieveLoadedAsset"))); - HX_STACK_LINE(51) - ::String r = this->loadedItems->get(key); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(52) - this->loadedItems->remove(key); - HX_STACK_LINE(53) - return r; -} - - -HX_DEFINE_DYNAMIC_FUNC1(LoaderProxy_obj,retrieveLoadedAsset,return ) - -Void LoaderProxy_obj::loadXML( ::String src){ -{ - HX_STACK_PUSH("LoaderProxy::loadXML","ca/confidant/glory/model/LoaderProxy.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(src,"src"); - HX_STACK_LINE(43) - ::String x = ::nme::installer::Assets_obj::getText(src); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(44) - this->loadedItems->set(HX_CSTRING("xml"),x); - HX_STACK_LINE(46) - this->sendNotification(HX_CSTRING("assetsLoaded"),HX_CSTRING("xml"),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(LoaderProxy_obj,loadXML,(void)) - -::String LoaderProxy_obj::NAME; - - -LoaderProxy_obj::LoaderProxy_obj() -{ -} - -void LoaderProxy_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(LoaderProxy); - HX_MARK_MEMBER_NAME(loadedItems,"loadedItems"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void LoaderProxy_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(loadedItems,"loadedItems"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic LoaderProxy_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getText") ) { return getText_dyn(); } - if (HX_FIELD_EQ(inName,"loadXML") ) { return loadXML_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"loadedItems") ) { return loadedItems; } - break; - case 13: - if (HX_FIELD_EQ(inName,"loadAllAssets") ) { return loadAllAssets_dyn(); } - if (HX_FIELD_EQ(inName,"getBitmapData") ) { return getBitmapData_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"retrieveLoadedAsset") ) { return retrieveLoadedAsset_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic LoaderProxy_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"loadedItems") ) { loadedItems=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void LoaderProxy_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("loadedItems")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("loadAllAssets"), - HX_CSTRING("getBitmapData"), - HX_CSTRING("getText"), - HX_CSTRING("retrieveLoadedAsset"), - HX_CSTRING("loadXML"), - HX_CSTRING("loadedItems"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(LoaderProxy_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(LoaderProxy_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(LoaderProxy_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(LoaderProxy_obj::NAME,"NAME"); -}; - -Class LoaderProxy_obj::__mClass; - -void LoaderProxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.model.LoaderProxy"), hx::TCanCast< LoaderProxy_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void LoaderProxy_obj::__boot() -{ - NAME= HX_CSTRING("LoaderProxy"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/model/PagesConfigProxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/model/PagesConfigProxy.cpp deleted file mode 100644 index 6986f55..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/model/PagesConfigProxy.cpp +++ /dev/null @@ -1,654 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasAttribAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasNodeAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_NodeAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_NodeListAccess -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - -Void PagesConfigProxy_obj::__construct() -{ -HX_STACK_PUSH("PagesConfigProxy::new","ca/confidant/glory/model/PagesConfigProxy.hx",34); -{ - HX_STACK_LINE(34) - super::__construct(HX_CSTRING("pagesConfigProxy"),null()); -} -; - return null(); -} - -PagesConfigProxy_obj::~PagesConfigProxy_obj() { } - -Dynamic PagesConfigProxy_obj::__CreateEmpty() { return new PagesConfigProxy_obj; } -hx::ObjectPtr< PagesConfigProxy_obj > PagesConfigProxy_obj::__new() -{ hx::ObjectPtr< PagesConfigProxy_obj > result = new PagesConfigProxy_obj(); - result->__construct(); - return result;} - -Dynamic PagesConfigProxy_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< PagesConfigProxy_obj > result = new PagesConfigProxy_obj(); - result->__construct(); - return result;} - -::Xml PagesConfigProxy_obj::pagesXML( ){ - HX_STACK_PUSH("PagesConfigProxy::pagesXML","ca/confidant/glory/model/PagesConfigProxy.hx",206); - HX_STACK_THIS(this); - HX_STACK_LINE(206) - return this->_pagesXML; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,pagesXML,return ) - -Dynamic PagesConfigProxy_obj::getConfigXML( int i){ - HX_STACK_PUSH("PagesConfigProxy::getConfigXML","ca/confidant/glory/model/PagesConfigProxy.hx",200); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); - HX_STACK_LINE(200) - return this->randomPicks->__GetItem(i)->__Field(HX_CSTRING("config"),true); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getConfigXML,return ) - -Void PagesConfigProxy_obj::parseXML( ){ -{ - HX_STACK_PUSH("PagesConfigProxy::parseXML","ca/confidant/glory/model/PagesConfigProxy.hx",169); - HX_STACK_THIS(this); - HX_STACK_LINE(170) - this->allPages = Array_obj< ::Hash >::__new(); - HX_STACK_LINE(172) - this->imageItems = Dynamic( Array_obj::__new() ); - HX_STACK_LINE(176) - for(::cpp::FastIterator_obj< ::haxe::xml::Fast > *__it = ::cpp::CreateFastIterator< ::haxe::xml::Fast >(this->fast->nodes->resolve(HX_CSTRING("page"))->iterator()); __it->hasNext(); ){ - ::haxe::xml::Fast thispage = __it->next(); - { - HX_STACK_LINE(177) - ::Hash h = ::Hash_obj::__new(); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(178) - if ((thispage->has->resolve(HX_CSTRING("id")))){ - HX_STACK_LINE(178) - h->set(HX_CSTRING("id"),thispage->att->resolve(HX_CSTRING("id"))); - } - HX_STACK_LINE(181) - if ((thispage->has->resolve(HX_CSTRING("src")))){ - HX_STACK_LINE(181) - h->set(HX_CSTRING("src"),thispage->att->resolve(HX_CSTRING("src"))); - } - HX_STACK_LINE(182) - if ((thispage->has->resolve(HX_CSTRING("type")))){ - HX_STACK_LINE(182) - h->set(HX_CSTRING("type"),thispage->att->resolve(HX_CSTRING("type"))); - } - HX_STACK_LINE(183) - if ((thispage->hasNode->resolve(HX_CSTRING("background")))){ - HX_STACK_LINE(183) - h->set(HX_CSTRING("background"),thispage->node->resolve(HX_CSTRING("background"))->att->resolve(HX_CSTRING("src"))); - } - HX_STACK_LINE(184) - if ((thispage->hasNode->resolve(HX_CSTRING("actor")))){ - HX_STACK_LINE(184) - h->set(HX_CSTRING("actors"),thispage->nodes->resolve(HX_CSTRING("actor"))); - } - HX_STACK_LINE(191) - this->allPages->push(h); - } -; - } - HX_STACK_LINE(196) - this->sendNotification(HX_CSTRING("pagesConfigReady"),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,parseXML,(void)) - -int PagesConfigProxy_obj::numpages( ){ - HX_STACK_PUSH("PagesConfigProxy::numpages","ca/confidant/glory/model/PagesConfigProxy.hx",165); - HX_STACK_THIS(this); - HX_STACK_LINE(165) - return this->allPages->length; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,numpages,return ) - -Dynamic PagesConfigProxy_obj::getPosition( int i){ - HX_STACK_PUSH("PagesConfigProxy::getPosition","ca/confidant/glory/model/PagesConfigProxy.hx",162); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); - HX_STACK_LINE(162) - return this->randomPositions->__GetItem(i); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getPosition,return ) - -::Hash PagesConfigProxy_obj::getPage( ::String pageId){ - HX_STACK_PUSH("PagesConfigProxy::getPage","ca/confidant/glory/model/PagesConfigProxy.hx",154); - HX_STACK_THIS(this); - HX_STACK_ARG(pageId,"pageId"); - HX_STACK_LINE(155) - { - HX_STACK_LINE(155) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::Hash > _g1 = this->allPages; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(155) - while(((_g < _g1->length))){ - HX_STACK_LINE(155) - ::Hash thispage = _g1->__get(_g); HX_STACK_VAR(thispage,"thispage"); - HX_STACK_LINE(155) - ++(_g); - HX_STACK_LINE(156) - if (((thispage->get(HX_CSTRING("id")) == pageId))){ - HX_STACK_LINE(156) - return thispage; - } - } - } - HX_STACK_LINE(160) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getPage,return ) - -::String PagesConfigProxy_obj::getActorHref( ::String controlId){ - HX_STACK_PUSH("PagesConfigProxy::getActorHref","ca/confidant/glory/model/PagesConfigProxy.hx",142); - HX_STACK_THIS(this); - HX_STACK_ARG(controlId,"controlId"); - HX_STACK_LINE(143) - if ((this->fast->node->resolve(HX_CSTRING("page"))->hasNode->resolve(HX_CSTRING("actor")))){ - HX_STACK_LINE(143) - for(::cpp::FastIterator_obj< ::haxe::xml::Fast > *__it = ::cpp::CreateFastIterator< ::haxe::xml::Fast >(this->fast->node->resolve(HX_CSTRING("page"))->nodes->resolve(HX_CSTRING("actor"))->iterator()); __it->hasNext(); ){ - ::haxe::xml::Fast node = __it->next(); - if (((node->att->resolve(HX_CSTRING("id")) == controlId))){ - HX_STACK_LINE(146) - return node->att->resolve(HX_CSTRING("href")); - } -; - } - } - HX_STACK_LINE(152) - return HX_CSTRING("#"); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getActorHref,return ) - -::String PagesConfigProxy_obj::getControlHref( ::String controlId){ - HX_STACK_PUSH("PagesConfigProxy::getControlHref","ca/confidant/glory/model/PagesConfigProxy.hx",130); - HX_STACK_THIS(this); - HX_STACK_ARG(controlId,"controlId"); - HX_STACK_LINE(131) - if ((this->fast->node->resolve(HX_CSTRING("controls"))->hasNode->resolve(HX_CSTRING("button")))){ - HX_STACK_LINE(131) - for(::cpp::FastIterator_obj< ::haxe::xml::Fast > *__it = ::cpp::CreateFastIterator< ::haxe::xml::Fast >(this->fast->node->resolve(HX_CSTRING("controls"))->nodes->resolve(HX_CSTRING("button"))->iterator()); __it->hasNext(); ){ - ::haxe::xml::Fast node = __it->next(); - if (((node->att->resolve(HX_CSTRING("id")) == controlId))){ - HX_STACK_LINE(134) - return node->att->resolve(HX_CSTRING("href")); - } -; - } - } - HX_STACK_LINE(140) - return HX_CSTRING("#"); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getControlHref,return ) - -::List PagesConfigProxy_obj::getAppControls( ){ - HX_STACK_PUSH("PagesConfigProxy::getAppControls","ca/confidant/glory/model/PagesConfigProxy.hx",123); - HX_STACK_THIS(this); - HX_STACK_LINE(124) - ::haxe::Log_obj::trace(HX_CSTRING("getAppControls"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),124,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getAppControls"))); - HX_STACK_LINE(125) - if ((this->fast->node->resolve(HX_CSTRING("controls"))->hasNode->resolve(HX_CSTRING("button")))){ - HX_STACK_LINE(125) - return this->fast->node->resolve(HX_CSTRING("controls"))->nodes->resolve(HX_CSTRING("button")); - } - HX_STACK_LINE(128) - return ::List_obj::__new(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,getAppControls,return ) - -::List PagesConfigProxy_obj::getPageActors( ::String pageId){ - HX_STACK_PUSH("PagesConfigProxy::getPageActors","ca/confidant/glory/model/PagesConfigProxy.hx",112); - HX_STACK_THIS(this); - HX_STACK_ARG(pageId,"pageId"); - HX_STACK_LINE(113) - ::Hash p = this->getPage(pageId); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(114) - if (((bool((p != null())) && bool((p->get(HX_CSTRING("actors")) != null()))))){ - HX_STACK_LINE(115) - ::haxe::Log_obj::trace(HX_CSTRING("returning actors!"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),115,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getPageActors"))); - HX_STACK_LINE(116) - return p->get(HX_CSTRING("actors")); - } - else{ - HX_STACK_LINE(119) - ::haxe::Log_obj::trace(HX_CSTRING("returning empty!"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),119,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getPageActors"))); - HX_STACK_LINE(120) - return ::List_obj::__new(); - } - HX_STACK_LINE(114) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getPageActors,return ) - -::String PagesConfigProxy_obj::getBackground( ::String pageId){ - HX_STACK_PUSH("PagesConfigProxy::getBackground","ca/confidant/glory/model/PagesConfigProxy.hx",105); - HX_STACK_THIS(this); - HX_STACK_ARG(pageId,"pageId"); - HX_STACK_LINE(106) - ::Hash p = this->getPage(pageId); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(107) - if (((p != null()))){ - HX_STACK_LINE(107) - return p->get(HX_CSTRING("background")); - } - HX_STACK_LINE(110) - return HX_CSTRING(""); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getBackground,return ) - -::Hash PagesConfigProxy_obj::getPreviousPage( ){ - HX_STACK_PUSH("PagesConfigProxy::getPreviousPage","ca/confidant/glory/model/PagesConfigProxy.hx",87); - HX_STACK_THIS(this); - HX_STACK_LINE(89) - int j = (int)1; HX_STACK_VAR(j,"j"); - HX_STACK_LINE(91) - while((((this->currentPage - j) >= (int)0))){ - HX_STACK_LINE(91) - if (((this->allPages->__get((this->currentPage - j))->get(HX_CSTRING("type")) == HX_CSTRING("normal")))){ - HX_STACK_LINE(94) - ::haxe::Log_obj::trace(HX_CSTRING("normal"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),94,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getPreviousPage"))); - HX_STACK_LINE(95) - return this->allPages->__get((this->currentPage - j)); - } - else{ - HX_STACK_LINE(97) - ::haxe::Log_obj::trace(HX_CSTRING("notnormal"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),97,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getPreviousPage"))); - HX_STACK_LINE(98) - (j)++; - } - } - HX_STACK_LINE(102) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,getPreviousPage,return ) - -::Hash PagesConfigProxy_obj::getNextPage( ){ - HX_STACK_PUSH("PagesConfigProxy::getNextPage","ca/confidant/glory/model/PagesConfigProxy.hx",68); - HX_STACK_THIS(this); - HX_STACK_LINE(70) - int j = (int)1; HX_STACK_VAR(j,"j"); - HX_STACK_LINE(72) - while((((this->currentPage + j) < this->allPages->length))){ - HX_STACK_LINE(72) - if (((this->allPages->__get((this->currentPage + j))->get(HX_CSTRING("type")) == HX_CSTRING("normal")))){ - HX_STACK_LINE(75) - ::haxe::Log_obj::trace(HX_CSTRING("normal"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),75,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getNextPage"))); - HX_STACK_LINE(76) - return this->allPages->__get((this->currentPage + j)); - } - else{ - HX_STACK_LINE(78) - ::haxe::Log_obj::trace(HX_CSTRING("notnormal"),hx::SourceInfo(HX_CSTRING("PagesConfigProxy.hx"),78,HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"),HX_CSTRING("getNextPage"))); - HX_STACK_LINE(79) - (j)++; - } - } - HX_STACK_LINE(83) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,getNextPage,return ) - -::Hash PagesConfigProxy_obj::getPageById( ::String id){ - HX_STACK_PUSH("PagesConfigProxy::getPageById","ca/confidant/glory/model/PagesConfigProxy.hx",59); - HX_STACK_THIS(this); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(60) - { - HX_STACK_LINE(60) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->allPages->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(60) - while(((_g1 < _g))){ - HX_STACK_LINE(60) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(61) - if (((this->allPages->__get(i)->get(HX_CSTRING("id")) == id))){ - HX_STACK_LINE(61) - return this->allPages->__get(i); - } - } - } - HX_STACK_LINE(66) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,getPageById,return ) - -Void PagesConfigProxy_obj::setCurrentPageById( ::String id){ -{ - HX_STACK_PUSH("PagesConfigProxy::setCurrentPageById","ca/confidant/glory/model/PagesConfigProxy.hx",52); - HX_STACK_THIS(this); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(53) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->allPages->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(53) - while(((_g1 < _g))){ - HX_STACK_LINE(53) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(54) - if (((this->allPages->__get(i)->get(HX_CSTRING("id")) == id))){ - HX_STACK_LINE(54) - this->currentPage = i; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,setCurrentPageById,(void)) - -::Hash PagesConfigProxy_obj::getCurrentPage( ){ - HX_STACK_PUSH("PagesConfigProxy::getCurrentPage","ca/confidant/glory/model/PagesConfigProxy.hx",49); - HX_STACK_THIS(this); - HX_STACK_LINE(49) - return this->allPages->__get(this->currentPage); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PagesConfigProxy_obj,getCurrentPage,return ) - -Void PagesConfigProxy_obj::loadXML( ::String rawXML){ -{ - HX_STACK_PUSH("PagesConfigProxy::loadXML","ca/confidant/glory/model/PagesConfigProxy.hx",39); - HX_STACK_THIS(this); - HX_STACK_ARG(rawXML,"rawXML"); - HX_STACK_LINE(40) - this->randomPicks = Dynamic( Array_obj::__new() ); - HX_STACK_LINE(41) - this->positions = Array_obj< ::Hash >::__new(); - HX_STACK_LINE(42) - this->randomPositions = Dynamic( Array_obj::__new() ); - HX_STACK_LINE(43) - this->currentPage = (int)0; - HX_STACK_LINE(44) - this->_pagesXML = ::Xml_obj::parse(rawXML); - HX_STACK_LINE(45) - this->fast = ::haxe::xml::Fast_obj::__new(this->_pagesXML->firstElement()); - HX_STACK_LINE(47) - this->parseXML(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(PagesConfigProxy_obj,loadXML,(void)) - -::String PagesConfigProxy_obj::NAME; - - -PagesConfigProxy_obj::PagesConfigProxy_obj() -{ -} - -void PagesConfigProxy_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(PagesConfigProxy); - HX_MARK_MEMBER_NAME(currentPage,"currentPage"); - HX_MARK_MEMBER_NAME(chosenLayout,"chosenLayout"); - HX_MARK_MEMBER_NAME(chosenpages,"chosenpages"); - HX_MARK_MEMBER_NAME(randomPositions,"randomPositions"); - HX_MARK_MEMBER_NAME(positions,"positions"); - HX_MARK_MEMBER_NAME(randomPicks,"randomPicks"); - HX_MARK_MEMBER_NAME(imageItems,"imageItems"); - HX_MARK_MEMBER_NAME(allPages,"allPages"); - HX_MARK_MEMBER_NAME(fast,"fast"); - HX_MARK_MEMBER_NAME(_pagesXML,"_pagesXML"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void PagesConfigProxy_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(currentPage,"currentPage"); - HX_VISIT_MEMBER_NAME(chosenLayout,"chosenLayout"); - HX_VISIT_MEMBER_NAME(chosenpages,"chosenpages"); - HX_VISIT_MEMBER_NAME(randomPositions,"randomPositions"); - HX_VISIT_MEMBER_NAME(positions,"positions"); - HX_VISIT_MEMBER_NAME(randomPicks,"randomPicks"); - HX_VISIT_MEMBER_NAME(imageItems,"imageItems"); - HX_VISIT_MEMBER_NAME(allPages,"allPages"); - HX_VISIT_MEMBER_NAME(fast,"fast"); - HX_VISIT_MEMBER_NAME(_pagesXML,"_pagesXML"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic PagesConfigProxy_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - if (HX_FIELD_EQ(inName,"fast") ) { return fast; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getPage") ) { return getPage_dyn(); } - if (HX_FIELD_EQ(inName,"loadXML") ) { return loadXML_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"pagesXML") ) { return pagesXML_dyn(); } - if (HX_FIELD_EQ(inName,"parseXML") ) { return parseXML_dyn(); } - if (HX_FIELD_EQ(inName,"numpages") ) { return numpages_dyn(); } - if (HX_FIELD_EQ(inName,"allPages") ) { return allPages; } - break; - case 9: - if (HX_FIELD_EQ(inName,"positions") ) { return positions; } - if (HX_FIELD_EQ(inName,"_pagesXML") ) { return _pagesXML; } - break; - case 10: - if (HX_FIELD_EQ(inName,"imageItems") ) { return imageItems; } - break; - case 11: - if (HX_FIELD_EQ(inName,"getPosition") ) { return getPosition_dyn(); } - if (HX_FIELD_EQ(inName,"getNextPage") ) { return getNextPage_dyn(); } - if (HX_FIELD_EQ(inName,"getPageById") ) { return getPageById_dyn(); } - if (HX_FIELD_EQ(inName,"currentPage") ) { return currentPage; } - if (HX_FIELD_EQ(inName,"chosenpages") ) { return chosenpages; } - if (HX_FIELD_EQ(inName,"randomPicks") ) { return randomPicks; } - break; - case 12: - if (HX_FIELD_EQ(inName,"getConfigXML") ) { return getConfigXML_dyn(); } - if (HX_FIELD_EQ(inName,"getActorHref") ) { return getActorHref_dyn(); } - if (HX_FIELD_EQ(inName,"chosenLayout") ) { return chosenLayout; } - break; - case 13: - if (HX_FIELD_EQ(inName,"getPageActors") ) { return getPageActors_dyn(); } - if (HX_FIELD_EQ(inName,"getBackground") ) { return getBackground_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"getControlHref") ) { return getControlHref_dyn(); } - if (HX_FIELD_EQ(inName,"getAppControls") ) { return getAppControls_dyn(); } - if (HX_FIELD_EQ(inName,"getCurrentPage") ) { return getCurrentPage_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"getPreviousPage") ) { return getPreviousPage_dyn(); } - if (HX_FIELD_EQ(inName,"randomPositions") ) { return randomPositions; } - break; - case 18: - if (HX_FIELD_EQ(inName,"setCurrentPageById") ) { return setCurrentPageById_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic PagesConfigProxy_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"fast") ) { fast=inValue.Cast< ::haxe::xml::Fast >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"allPages") ) { allPages=inValue.Cast< Array< ::Hash > >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"positions") ) { positions=inValue.Cast< Array< ::Hash > >(); return inValue; } - if (HX_FIELD_EQ(inName,"_pagesXML") ) { _pagesXML=inValue.Cast< ::Xml >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"imageItems") ) { imageItems=inValue.Cast< Dynamic >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"currentPage") ) { currentPage=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"chosenpages") ) { chosenpages=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"randomPicks") ) { randomPicks=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"chosenLayout") ) { chosenLayout=inValue.Cast< ::String >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"randomPositions") ) { randomPositions=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void PagesConfigProxy_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("currentPage")); - outFields->push(HX_CSTRING("chosenLayout")); - outFields->push(HX_CSTRING("chosenpages")); - outFields->push(HX_CSTRING("randomPositions")); - outFields->push(HX_CSTRING("positions")); - outFields->push(HX_CSTRING("randomPicks")); - outFields->push(HX_CSTRING("imageItems")); - outFields->push(HX_CSTRING("allPages")); - outFields->push(HX_CSTRING("fast")); - outFields->push(HX_CSTRING("_pagesXML")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("pagesXML"), - HX_CSTRING("getConfigXML"), - HX_CSTRING("parseXML"), - HX_CSTRING("numpages"), - HX_CSTRING("getPosition"), - HX_CSTRING("getPage"), - HX_CSTRING("getActorHref"), - HX_CSTRING("getControlHref"), - HX_CSTRING("getAppControls"), - HX_CSTRING("getPageActors"), - HX_CSTRING("getBackground"), - HX_CSTRING("getPreviousPage"), - HX_CSTRING("getNextPage"), - HX_CSTRING("getPageById"), - HX_CSTRING("setCurrentPageById"), - HX_CSTRING("getCurrentPage"), - HX_CSTRING("loadXML"), - HX_CSTRING("currentPage"), - HX_CSTRING("chosenLayout"), - HX_CSTRING("chosenpages"), - HX_CSTRING("randomPositions"), - HX_CSTRING("positions"), - HX_CSTRING("randomPicks"), - HX_CSTRING("imageItems"), - HX_CSTRING("allPages"), - HX_CSTRING("fast"), - HX_CSTRING("_pagesXML"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PagesConfigProxy_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(PagesConfigProxy_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PagesConfigProxy_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(PagesConfigProxy_obj::NAME,"NAME"); -}; - -Class PagesConfigProxy_obj::__mClass; - -void PagesConfigProxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.model.PagesConfigProxy"), hx::TCanCast< PagesConfigProxy_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void PagesConfigProxy_obj::__boot() -{ - NAME= HX_CSTRING("pagesConfigProxy"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/model/TickerProxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/model/TickerProxy.cpp deleted file mode 100644 index 797c0eb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/model/TickerProxy.cpp +++ /dev/null @@ -1,217 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_model_TickerProxy -#include -#endif -#ifndef INCLUDED_haxe_Timer -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace model{ - -Void TickerProxy_obj::__construct() -{ -HX_STACK_PUSH("TickerProxy::new","ca/confidant/glory/model/TickerProxy.hx",24); -{ - HX_STACK_LINE(24) - super::__construct(::ca::confidant::glory::model::TickerProxy_obj::NAME,null()); -} -; - return null(); -} - -TickerProxy_obj::~TickerProxy_obj() { } - -Dynamic TickerProxy_obj::__CreateEmpty() { return new TickerProxy_obj; } -hx::ObjectPtr< TickerProxy_obj > TickerProxy_obj::__new() -{ hx::ObjectPtr< TickerProxy_obj > result = new TickerProxy_obj(); - result->__construct(); - return result;} - -Dynamic TickerProxy_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TickerProxy_obj > result = new TickerProxy_obj(); - result->__construct(); - return result;} - -Void TickerProxy_obj::setInterval( int i){ -{ - HX_STACK_PUSH("TickerProxy::setInterval","ca/confidant/glory/model/TickerProxy.hx",40); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); - HX_STACK_LINE(40) - this->interval = i; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(TickerProxy_obj,setInterval,(void)) - -Void TickerProxy_obj::onTimerTick( ){ -{ - HX_STACK_PUSH("TickerProxy::onTimerTick","ca/confidant/glory/model/TickerProxy.hx",36); - HX_STACK_THIS(this); - HX_STACK_LINE(36) - this->sendNotification(HX_CSTRING("timerTick"),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(TickerProxy_obj,onTimerTick,(void)) - -Void TickerProxy_obj::stopTimer( ){ -{ - HX_STACK_PUSH("TickerProxy::stopTimer","ca/confidant/glory/model/TickerProxy.hx",33); - HX_STACK_THIS(this); - HX_STACK_LINE(33) - this->myTimer->stop(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(TickerProxy_obj,stopTimer,(void)) - -Void TickerProxy_obj::startTimer( hx::Null< int > __o_i){ -int i = __o_i.Default(0); - HX_STACK_PUSH("TickerProxy::startTimer","ca/confidant/glory/model/TickerProxy.hx",28); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); -{ - HX_STACK_LINE(30) - this->myTimer = ::haxe::Timer_obj::__new(this->interval); - HX_STACK_LINE(31) - this->myTimer->run = this->onTimerTick_dyn(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(TickerProxy_obj,startTimer,(void)) - -::String TickerProxy_obj::NAME; - - -TickerProxy_obj::TickerProxy_obj() -{ -} - -void TickerProxy_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TickerProxy); - HX_MARK_MEMBER_NAME(myTimer,"myTimer"); - HX_MARK_MEMBER_NAME(interval,"interval"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void TickerProxy_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(myTimer,"myTimer"); - HX_VISIT_MEMBER_NAME(interval,"interval"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic TickerProxy_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - break; - case 7: - if (HX_FIELD_EQ(inName,"myTimer") ) { return myTimer; } - break; - case 8: - if (HX_FIELD_EQ(inName,"interval") ) { return interval; } - break; - case 9: - if (HX_FIELD_EQ(inName,"stopTimer") ) { return stopTimer_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"startTimer") ) { return startTimer_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"setInterval") ) { return setInterval_dyn(); } - if (HX_FIELD_EQ(inName,"onTimerTick") ) { return onTimerTick_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TickerProxy_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"myTimer") ) { myTimer=inValue.Cast< ::haxe::Timer >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"interval") ) { interval=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void TickerProxy_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("myTimer")); - outFields->push(HX_CSTRING("interval")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("setInterval"), - HX_CSTRING("onTimerTick"), - HX_CSTRING("stopTimer"), - HX_CSTRING("startTimer"), - HX_CSTRING("myTimer"), - HX_CSTRING("interval"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TickerProxy_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(TickerProxy_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TickerProxy_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(TickerProxy_obj::NAME,"NAME"); -}; - -Class TickerProxy_obj::__mClass; - -void TickerProxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.model.TickerProxy"), hx::TCanCast< TickerProxy_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TickerProxy_obj::__boot() -{ - NAME= HX_CSTRING("TickerProxy"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace model diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/ActorComponentMediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/ActorComponentMediator.cpp deleted file mode 100644 index ffcdde8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/ActorComponentMediator.cpp +++ /dev/null @@ -1,370 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_model_ActorComponentConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ActorComponentMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_MouseEvent -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - -Void ActorComponentMediator_obj::__construct(::String id,::ca::confidant::glory::view::components::ActorComponent viewComponent,::ca::confidant::glory::model::ActorComponentConfigProxy accp) -{ -HX_STACK_PUSH("ActorComponentMediator::new","ca/confidant/glory/view/ActorComponentMediator.hx",26); -{ - HX_STACK_LINE(27) - super::__construct(id,viewComponent); - HX_STACK_LINE(28) - this->config = accp; - HX_STACK_LINE(29) - this->addListeners(); -} -; - return null(); -} - -ActorComponentMediator_obj::~ActorComponentMediator_obj() { } - -Dynamic ActorComponentMediator_obj::__CreateEmpty() { return new ActorComponentMediator_obj; } -hx::ObjectPtr< ActorComponentMediator_obj > ActorComponentMediator_obj::__new(::String id,::ca::confidant::glory::view::components::ActorComponent viewComponent,::ca::confidant::glory::model::ActorComponentConfigProxy accp) -{ hx::ObjectPtr< ActorComponentMediator_obj > result = new ActorComponentMediator_obj(); - result->__construct(id,viewComponent,accp); - return result;} - -Dynamic ActorComponentMediator_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ActorComponentMediator_obj > result = new ActorComponentMediator_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -::ca::confidant::glory::view::components::ActorComponent ActorComponentMediator_obj::actor( ){ - HX_STACK_PUSH("ActorComponentMediator::actor","ca/confidant/glory/view/ActorComponentMediator.hx",131); - HX_STACK_THIS(this); - HX_STACK_LINE(131) - return this->viewComponent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ActorComponentMediator_obj,actor,return ) - -Void ActorComponentMediator_obj::onPanRight( Dynamic e){ -{ - HX_STACK_PUSH("ActorComponentMediator::onPanRight","ca/confidant/glory/view/ActorComponentMediator.hx",126); - HX_STACK_THIS(this); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(126) - this->actor()->nmeSetX((this->actor()->nmeGetX() - (int)4)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ActorComponentMediator_obj,onPanRight,(void)) - -Void ActorComponentMediator_obj::onPanLeft( Dynamic e){ -{ - HX_STACK_PUSH("ActorComponentMediator::onPanLeft","ca/confidant/glory/view/ActorComponentMediator.hx",120); - HX_STACK_THIS(this); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(120) - this->actor()->nmeSetX((this->actor()->nmeGetX() + (int)4)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ActorComponentMediator_obj,onPanLeft,(void)) - -Void ActorComponentMediator_obj::handleNotification( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("ActorComponentMediator::handleNotification","ca/confidant/glory/view/ActorComponentMediator.hx",103); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(103) - ::String _switch_1 = (note->getName()); - if ( ( _switch_1==HX_CSTRING("timerTick"))){ - } - else if ( ( _switch_1==HX_CSTRING("panLeft"))){ - HX_STACK_LINE(108) - this->actor()->addEventListener(::neash::events::Event_obj::ENTER_FRAME,this->onPanLeft_dyn(),null(),null(),null()); - } - else if ( ( _switch_1==HX_CSTRING("panRight"))){ - HX_STACK_LINE(110) - this->actor()->addEventListener(::neash::events::Event_obj::ENTER_FRAME,this->onPanRight_dyn(),null(),null(),null()); - } - else if ( ( _switch_1==HX_CSTRING("panStop"))){ - HX_STACK_LINE(113) - this->actor()->removeEventListener(::neash::events::Event_obj::ENTER_FRAME,this->onPanRight_dyn(),null()); - HX_STACK_LINE(114) - this->actor()->removeEventListener(::neash::events::Event_obj::ENTER_FRAME,this->onPanLeft_dyn(),null()); - } - } -return null(); -} - - -Array< ::String > ActorComponentMediator_obj::listNotificationInterests( ){ - HX_STACK_PUSH("ActorComponentMediator::listNotificationInterests","ca/confidant/glory/view/ActorComponentMediator.hx",93); - HX_STACK_THIS(this); - HX_STACK_LINE(93) - return Array_obj< ::String >::__new().Add(HX_CSTRING("timerTick")).Add(HX_CSTRING("panLeft")).Add(HX_CSTRING("panRight")).Add(HX_CSTRING("panStop")); -} - - -Void ActorComponentMediator_obj::onActorClicked( ::neash::events::MouseEvent e){ -{ - HX_STACK_PUSH("ActorComponentMediator::onActorClicked","ca/confidant/glory/view/ActorComponentMediator.hx",46); - HX_STACK_THIS(this); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(47) - Dynamic a = e->nmeGetCurrentTarget(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(48) - ::haxe::Log_obj::trace(a->__Field(HX_CSTRING("name"),true),hx::SourceInfo(HX_CSTRING("ActorComponentMediator.hx"),48,HX_CSTRING("ca.confidant.glory.view.ActorComponentMediator"),HX_CSTRING("onActorClicked"))); - HX_STACK_LINE(51) - ::String _switch_2 = (this->config->type); - if ( ( _switch_2==HX_CSTRING("control"))){ - HX_STACK_LINE(60) - ::ca::confidant::glory::model::PagesConfigProxy pcp = hx::TCast< ca::confidant::glory::model::PagesConfigProxy >::cast(this->facade->retrieveProxy(HX_CSTRING("pagesConfigProxy"))); HX_STACK_VAR(pcp,"pcp"); - HX_STACK_LINE(62) - Array< ::String > actionsArray = this->config->action.split(HX_CSTRING(",")); HX_STACK_VAR(actionsArray,"actionsArray"); - HX_STACK_LINE(64) - { - HX_STACK_LINE(64) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(64) - while(((_g < actionsArray->length))){ - HX_STACK_LINE(64) - ::String thisAction = actionsArray->__get(_g); HX_STACK_VAR(thisAction,"thisAction"); - HX_STACK_LINE(64) - ++(_g); - HX_STACK_LINE(66) - Array< ::String > actionArray = thisAction.split(HX_CSTRING(":")); HX_STACK_VAR(actionArray,"actionArray"); - HX_STACK_LINE(68) - ::String _switch_3 = (actionArray->__get((int)0)); - if ( ( _switch_3==HX_CSTRING("transitionOut"))){ - HX_STACK_LINE(69) - this->sendNotification(HX_CSTRING("removePage"),actionArray->__get((int)1),null()); - } - else if ( ( _switch_3==HX_CSTRING("pageSkipTo"))){ - HX_STACK_LINE(71) - this->sendNotification(HX_CSTRING("changePage"),actionArray->__get((int)1),null()); - } - else if ( ( _switch_3==HX_CSTRING("pageForward"))){ - HX_STACK_LINE(73) - this->sendNotification(HX_CSTRING("changePage"),HX_CSTRING("pageForward"),null()); - } - else if ( ( _switch_3==HX_CSTRING("pageBackward"))){ - HX_STACK_LINE(75) - this->sendNotification(HX_CSTRING("changePage"),HX_CSTRING("pageBackward"),null()); - } - else if ( ( _switch_3==HX_CSTRING("playSound"))){ - HX_STACK_LINE(77) - this->sendNotification(HX_CSTRING("playSound"),actionArray->__get((int)1),null()); - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ActorComponentMediator_obj,onActorClicked,(void)) - -Void ActorComponentMediator_obj::addListeners( ){ -{ - HX_STACK_PUSH("ActorComponentMediator::addListeners","ca/confidant/glory/view/ActorComponentMediator.hx",33); - HX_STACK_THIS(this); - HX_STACK_LINE(36) - this->actor()->addEventListener(::neash::events::MouseEvent_obj::CLICK,this->onActorClicked_dyn(),null(),null(),null()); - HX_STACK_LINE(38) - this->actor()->nmeSetMouseEnabled(true); - HX_STACK_LINE(39) - if (((this->type == HX_CSTRING("getURL")))){ - HX_STACK_LINE(41) - this->actor()->useHandCursor = true; - HX_STACK_LINE(42) - this->actor()->buttonMode = true; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ActorComponentMediator_obj,addListeners,(void)) - - -ActorComponentMediator_obj::ActorComponentMediator_obj() -{ -} - -void ActorComponentMediator_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ActorComponentMediator); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_MEMBER_NAME(config,"config"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ActorComponentMediator_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(type,"type"); - HX_VISIT_MEMBER_NAME(config,"config"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ActorComponentMediator_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { return type; } - break; - case 5: - if (HX_FIELD_EQ(inName,"actor") ) { return actor_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"config") ) { return config; } - break; - case 9: - if (HX_FIELD_EQ(inName,"onPanLeft") ) { return onPanLeft_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"onPanRight") ) { return onPanRight_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"addListeners") ) { return addListeners_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"onActorClicked") ) { return onActorClicked_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"handleNotification") ) { return handleNotification_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"listNotificationInterests") ) { return listNotificationInterests_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ActorComponentMediator_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"config") ) { config=inValue.Cast< ::ca::confidant::glory::model::ActorComponentConfigProxy >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ActorComponentMediator_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("type")); - outFields->push(HX_CSTRING("config")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("actor"), - HX_CSTRING("onPanRight"), - HX_CSTRING("onPanLeft"), - HX_CSTRING("handleNotification"), - HX_CSTRING("listNotificationInterests"), - HX_CSTRING("onActorClicked"), - HX_CSTRING("addListeners"), - HX_CSTRING("type"), - HX_CSTRING("config"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ActorComponentMediator_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ActorComponentMediator_obj::__mClass,"__mClass"); -}; - -Class ActorComponentMediator_obj::__mClass; - -void ActorComponentMediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.ActorComponentMediator"), hx::TCanCast< ActorComponentMediator_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ActorComponentMediator_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/ApplicationMediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/ApplicationMediator.cpp deleted file mode 100644 index 0f98369..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/ApplicationMediator.cpp +++ /dev/null @@ -1,320 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_GloryFrameworkApp -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_LoaderProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_model_PagesConfigProxy -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_ApplicationMediator -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - -Void ApplicationMediator_obj::__construct(::ca::confidant::glory::GloryFrameworkApp viewComponent) -{ -HX_STACK_PUSH("ApplicationMediator::new","ca/confidant/glory/view/ApplicationMediator.hx",24); -{ - HX_STACK_LINE(25) - super::__construct(HX_CSTRING("ApplicationMediator"),viewComponent); - HX_STACK_LINE(26) - ::haxe::Log_obj::trace(HX_CSTRING("ApplicationMediator!"),hx::SourceInfo(HX_CSTRING("ApplicationMediator.hx"),26,HX_CSTRING("ca.confidant.glory.view.ApplicationMediator"),HX_CSTRING("new"))); -} -; - return null(); -} - -ApplicationMediator_obj::~ApplicationMediator_obj() { } - -Dynamic ApplicationMediator_obj::__CreateEmpty() { return new ApplicationMediator_obj; } -hx::ObjectPtr< ApplicationMediator_obj > ApplicationMediator_obj::__new(::ca::confidant::glory::GloryFrameworkApp viewComponent) -{ hx::ObjectPtr< ApplicationMediator_obj > result = new ApplicationMediator_obj(); - result->__construct(viewComponent); - return result;} - -Dynamic ApplicationMediator_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ApplicationMediator_obj > result = new ApplicationMediator_obj(); - result->__construct(inArgs[0]); - return result;} - -::ca::confidant::glory::GloryFrameworkApp ApplicationMediator_obj::getApp( ){ - HX_STACK_PUSH("ApplicationMediator::getApp","ca/confidant/glory/view/ApplicationMediator.hx",86); - HX_STACK_THIS(this); - HX_STACK_LINE(86) - return hx::TCast< ca::confidant::glory::GloryFrameworkApp >::cast(this->viewComponent); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ApplicationMediator_obj,getApp,return ) - -Void ApplicationMediator_obj::handleNotification( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("ApplicationMediator::handleNotification","ca/confidant/glory/view/ApplicationMediator.hx",72); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(72) - ::String _switch_1 = (note->getName()); - if ( ( _switch_1==HX_CSTRING("message"))){ - HX_STACK_LINE(75) - this->getApp()->displayMessage(hx::TCast< String >::cast(note->getBody())); - } - } -return null(); -} - - -int ApplicationMediator_obj::getIndex( ::neash::display::DisplayObject d){ - HX_STACK_PUSH("ApplicationMediator::getIndex","ca/confidant/glory/view/ApplicationMediator.hx",68); - HX_STACK_THIS(this); - HX_STACK_ARG(d,"d"); - HX_STACK_LINE(68) - return this->getApp()->getChildIndex(d); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ApplicationMediator_obj,getIndex,return ) - -Void ApplicationMediator_obj::reportLayers( ){ -{ - HX_STACK_PUSH("ApplicationMediator::reportLayers","ca/confidant/glory/view/ApplicationMediator.hx",63); - HX_STACK_THIS(this); - HX_STACK_LINE(64) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->getApp()->nmeGetNumChildren(); HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(64) - while(((_g1 < _g))){ - HX_STACK_LINE(64) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(65) - ::haxe::Log_obj::trace((((HX_CSTRING("layer:") + this->getApp()->getChildAt(i)->nmeGetName()) + HX_CSTRING(":")) + i),hx::SourceInfo(HX_CSTRING("ApplicationMediator.hx"),65,HX_CSTRING("ca.confidant.glory.view.ApplicationMediator"),HX_CSTRING("reportLayers"))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ApplicationMediator_obj,reportLayers,(void)) - -Void ApplicationMediator_obj::removeDisplayObject( ::neash::display::DisplayObject d){ -{ - HX_STACK_PUSH("ApplicationMediator::removeDisplayObject","ca/confidant/glory/view/ApplicationMediator.hx",60); - HX_STACK_THIS(this); - HX_STACK_ARG(d,"d"); - HX_STACK_LINE(60) - this->getApp()->removeChild(d); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ApplicationMediator_obj,removeDisplayObject,(void)) - -Void ApplicationMediator_obj::addDisplayObject( ::neash::display::DisplayObject d,hx::Null< int > __o_level){ -int level = __o_level.Default(-1); - HX_STACK_PUSH("ApplicationMediator::addDisplayObject","ca/confidant/glory/view/ApplicationMediator.hx",40); - HX_STACK_THIS(this); - HX_STACK_ARG(d,"d"); - HX_STACK_ARG(level,"level"); -{ - HX_STACK_LINE(40) - if (((level == (int)-1))){ - HX_STACK_LINE(42) - this->getApp()->addChild(d); - HX_STACK_LINE(43) - ::haxe::Log_obj::trace(HX_CSTRING("add at top"),hx::SourceInfo(HX_CSTRING("ApplicationMediator.hx"),43,HX_CSTRING("ca.confidant.glory.view.ApplicationMediator"),HX_CSTRING("addDisplayObject"))); - } - else{ - HX_STACK_LINE(45) - this->getApp()->addChildAt(d,level); - HX_STACK_LINE(46) - ::haxe::Log_obj::trace((HX_CSTRING("adding to level") + level),hx::SourceInfo(HX_CSTRING("ApplicationMediator.hx"),46,HX_CSTRING("ca.confidant.glory.view.ApplicationMediator"),HX_CSTRING("addDisplayObject"))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ApplicationMediator_obj,addDisplayObject,(void)) - -Array< ::String > ApplicationMediator_obj::listNotificationInterests( ){ - HX_STACK_PUSH("ApplicationMediator::listNotificationInterests","ca/confidant/glory/view/ApplicationMediator.hx",30); - HX_STACK_THIS(this); - HX_STACK_LINE(30) - return Array_obj< ::String >::__new().Add(HX_CSTRING("message")); -} - - -::String ApplicationMediator_obj::NAME; - - -ApplicationMediator_obj::ApplicationMediator_obj() -{ -} - -void ApplicationMediator_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ApplicationMediator); - HX_MARK_MEMBER_NAME(pagesConfigProxy,"pagesConfigProxy"); - HX_MARK_MEMBER_NAME(loaderProxy,"loaderProxy"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ApplicationMediator_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(pagesConfigProxy,"pagesConfigProxy"); - HX_VISIT_MEMBER_NAME(loaderProxy,"loaderProxy"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ApplicationMediator_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - break; - case 6: - if (HX_FIELD_EQ(inName,"getApp") ) { return getApp_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"getIndex") ) { return getIndex_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"loaderProxy") ) { return loaderProxy; } - break; - case 12: - if (HX_FIELD_EQ(inName,"reportLayers") ) { return reportLayers_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"addDisplayObject") ) { return addDisplayObject_dyn(); } - if (HX_FIELD_EQ(inName,"pagesConfigProxy") ) { return pagesConfigProxy; } - break; - case 18: - if (HX_FIELD_EQ(inName,"handleNotification") ) { return handleNotification_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"removeDisplayObject") ) { return removeDisplayObject_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"listNotificationInterests") ) { return listNotificationInterests_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ApplicationMediator_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"loaderProxy") ) { loaderProxy=inValue.Cast< ::ca::confidant::glory::model::LoaderProxy >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"pagesConfigProxy") ) { pagesConfigProxy=inValue.Cast< ::ca::confidant::glory::model::PagesConfigProxy >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ApplicationMediator_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("pagesConfigProxy")); - outFields->push(HX_CSTRING("loaderProxy")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getApp"), - HX_CSTRING("handleNotification"), - HX_CSTRING("getIndex"), - HX_CSTRING("reportLayers"), - HX_CSTRING("removeDisplayObject"), - HX_CSTRING("addDisplayObject"), - HX_CSTRING("listNotificationInterests"), - HX_CSTRING("pagesConfigProxy"), - HX_CSTRING("loaderProxy"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ApplicationMediator_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ApplicationMediator_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ApplicationMediator_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ApplicationMediator_obj::NAME,"NAME"); -}; - -Class ApplicationMediator_obj::__mClass; - -void ApplicationMediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.ApplicationMediator"), hx::TCanCast< ApplicationMediator_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ApplicationMediator_obj::__boot() -{ - NAME= HX_CSTRING("ApplicationMediator"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/ControlComponentMediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/ControlComponentMediator.cpp deleted file mode 100644 index 4444494..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/ControlComponentMediator.cpp +++ /dev/null @@ -1,294 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_view_ControlComponentMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ControlComponent -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_MouseEvent -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - -Void ControlComponentMediator_obj::__construct(::String id,::ca::confidant::glory::view::components::ControlComponent viewComponent) -{ -HX_STACK_PUSH("ControlComponentMediator::new","ca/confidant/glory/view/ControlComponentMediator.hx",18); -{ - HX_STACK_LINE(19) - super::__construct(id,viewComponent); - HX_STACK_LINE(20) - this->addListeners(); -} -; - return null(); -} - -ControlComponentMediator_obj::~ControlComponentMediator_obj() { } - -Dynamic ControlComponentMediator_obj::__CreateEmpty() { return new ControlComponentMediator_obj; } -hx::ObjectPtr< ControlComponentMediator_obj > ControlComponentMediator_obj::__new(::String id,::ca::confidant::glory::view::components::ControlComponent viewComponent) -{ hx::ObjectPtr< ControlComponentMediator_obj > result = new ControlComponentMediator_obj(); - result->__construct(id,viewComponent); - return result;} - -Dynamic ControlComponentMediator_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ControlComponentMediator_obj > result = new ControlComponentMediator_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::ca::confidant::glory::view::components::ControlComponent ControlComponentMediator_obj::control( ){ - HX_STACK_PUSH("ControlComponentMediator::control","ca/confidant/glory/view/ControlComponentMediator.hx",87); - HX_STACK_THIS(this); - HX_STACK_LINE(87) - return this->viewComponent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ControlComponentMediator_obj,control,return ) - -Void ControlComponentMediator_obj::onControlClicked( ::neash::events::MouseEvent e){ -{ - HX_STACK_PUSH("ControlComponentMediator::onControlClicked","ca/confidant/glory/view/ControlComponentMediator.hx",52); - HX_STACK_THIS(this); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(53) - Dynamic a = e->nmeGetCurrentTarget(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(56) - Array< ::String > actionsArray = a->__Field(HX_CSTRING("action"),true)->__Field(HX_CSTRING("split"),true)(HX_CSTRING(",")); HX_STACK_VAR(actionsArray,"actionsArray"); - HX_STACK_LINE(61) - { - HX_STACK_LINE(61) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(61) - while(((_g < actionsArray->length))){ - HX_STACK_LINE(61) - ::String thisAction = actionsArray->__get(_g); HX_STACK_VAR(thisAction,"thisAction"); - HX_STACK_LINE(61) - ++(_g); - HX_STACK_LINE(63) - Array< ::String > actionArray = thisAction.split(HX_CSTRING(":")); HX_STACK_VAR(actionArray,"actionArray"); - HX_STACK_LINE(65) - ::String _switch_1 = (actionArray->__get((int)0)); - if ( ( _switch_1==HX_CSTRING("transitionOut"))){ - HX_STACK_LINE(66) - this->sendNotification(HX_CSTRING("removePage"),actionArray->__get((int)1),null()); - } - else if ( ( _switch_1==HX_CSTRING("pageSkipTo"))){ - HX_STACK_LINE(68) - this->sendNotification(HX_CSTRING("changePage"),actionArray->__get((int)1),null()); - } - else if ( ( _switch_1==HX_CSTRING("pageForward"))){ - HX_STACK_LINE(70) - this->sendNotification(HX_CSTRING("changePage"),HX_CSTRING("pageForward"),null()); - } - else if ( ( _switch_1==HX_CSTRING("pageBackward"))){ - HX_STACK_LINE(72) - this->sendNotification(HX_CSTRING("changePage"),HX_CSTRING("pageBackward"),null()); - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ControlComponentMediator_obj,onControlClicked,(void)) - -Void ControlComponentMediator_obj::onMouseUp( ::neash::events::MouseEvent e){ -{ - HX_STACK_PUSH("ControlComponentMediator::onMouseUp","ca/confidant/glory/view/ControlComponentMediator.hx",42); - HX_STACK_THIS(this); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(43) - Dynamic a = e->nmeGetCurrentTarget(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(44) - ::String _switch_2 = (a->__Field(HX_CSTRING("action"),true)); - if ( ( _switch_2==HX_CSTRING("panRight"))){ - HX_STACK_LINE(46) - ::haxe::Log_obj::trace(HX_CSTRING("onMouseUp"),hx::SourceInfo(HX_CSTRING("ControlComponentMediator.hx"),46,HX_CSTRING("ca.confidant.glory.view.ControlComponentMediator"),HX_CSTRING("onMouseUp"))); - HX_STACK_LINE(47) - this->sendNotification(HX_CSTRING("panStop"),null(),null()); - } - else if ( ( _switch_2==HX_CSTRING("panLeft"))){ - HX_STACK_LINE(48) - this->sendNotification(HX_CSTRING("panStop"),null(),null()); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ControlComponentMediator_obj,onMouseUp,(void)) - -Void ControlComponentMediator_obj::onMouseDown( ::neash::events::MouseEvent e){ -{ - HX_STACK_PUSH("ControlComponentMediator::onMouseDown","ca/confidant/glory/view/ControlComponentMediator.hx",29); - HX_STACK_THIS(this); - HX_STACK_ARG(e,"e"); - HX_STACK_LINE(30) - Dynamic a = e->nmeGetCurrentTarget(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(31) - ::String _switch_3 = (a->__Field(HX_CSTRING("action"),true)); - if ( ( _switch_3==HX_CSTRING("panRight"))){ - HX_STACK_LINE(33) - ::haxe::Log_obj::trace(HX_CSTRING("onMouseDown"),hx::SourceInfo(HX_CSTRING("ControlComponentMediator.hx"),33,HX_CSTRING("ca.confidant.glory.view.ControlComponentMediator"),HX_CSTRING("onMouseDown"))); - HX_STACK_LINE(35) - this->sendNotification(HX_CSTRING("panRight"),null(),null()); - } - else if ( ( _switch_3==HX_CSTRING("panLeft"))){ - HX_STACK_LINE(36) - this->sendNotification(HX_CSTRING("panLeft"),null(),null()); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ControlComponentMediator_obj,onMouseDown,(void)) - -Void ControlComponentMediator_obj::addListeners( ){ -{ - HX_STACK_PUSH("ControlComponentMediator::addListeners","ca/confidant/glory/view/ControlComponentMediator.hx",23); - HX_STACK_THIS(this); - HX_STACK_LINE(24) - this->control()->addEventListener(::neash::events::MouseEvent_obj::CLICK,this->onControlClicked_dyn(),null(),null(),null()); - HX_STACK_LINE(25) - this->control()->addEventListener(::neash::events::MouseEvent_obj::MOUSE_DOWN,this->onMouseDown_dyn(),null(),null(),null()); - HX_STACK_LINE(26) - this->control()->addEventListener(::neash::events::MouseEvent_obj::MOUSE_UP,this->onMouseUp_dyn(),null(),null(),null()); - HX_STACK_LINE(27) - this->control()->addEventListener(::neash::events::MouseEvent_obj::MOUSE_OUT,this->onMouseUp_dyn(),null(),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ControlComponentMediator_obj,addListeners,(void)) - - -ControlComponentMediator_obj::ControlComponentMediator_obj() -{ -} - -void ControlComponentMediator_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ControlComponentMediator); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ControlComponentMediator_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ControlComponentMediator_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"control") ) { return control_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"onMouseUp") ) { return onMouseUp_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"onMouseDown") ) { return onMouseDown_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"addListeners") ) { return addListeners_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"onControlClicked") ) { return onControlClicked_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ControlComponentMediator_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void ControlComponentMediator_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("control"), - HX_CSTRING("onControlClicked"), - HX_CSTRING("onMouseUp"), - HX_CSTRING("onMouseDown"), - HX_CSTRING("addListeners"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ControlComponentMediator_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ControlComponentMediator_obj::__mClass,"__mClass"); -}; - -Class ControlComponentMediator_obj::__mClass; - -void ControlComponentMediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.ControlComponentMediator"), hx::TCanCast< ControlComponentMediator_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ControlComponentMediator_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/PageMediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/PageMediator.cpp deleted file mode 100644 index e9fbf3a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/PageMediator.cpp +++ /dev/null @@ -1,148 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_view_PageMediator -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_PageComponent -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ - -Void PageMediator_obj::__construct(::String id,::ca::confidant::glory::view::components::PageComponent viewComponent) -{ -HX_STACK_PUSH("PageMediator::new","ca/confidant/glory/view/PageMediator.hx",19); -{ - HX_STACK_LINE(19) - super::__construct(id,viewComponent); -} -; - return null(); -} - -PageMediator_obj::~PageMediator_obj() { } - -Dynamic PageMediator_obj::__CreateEmpty() { return new PageMediator_obj; } -hx::ObjectPtr< PageMediator_obj > PageMediator_obj::__new(::String id,::ca::confidant::glory::view::components::PageComponent viewComponent) -{ hx::ObjectPtr< PageMediator_obj > result = new PageMediator_obj(); - result->__construct(id,viewComponent); - return result;} - -Dynamic PageMediator_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< PageMediator_obj > result = new PageMediator_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::ca::confidant::glory::view::components::PageComponent PageMediator_obj::page( ){ - HX_STACK_PUSH("PageMediator::page","ca/confidant/glory/view/PageMediator.hx",27); - HX_STACK_THIS(this); - HX_STACK_LINE(27) - return this->viewComponent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PageMediator_obj,page,return ) - - -PageMediator_obj::PageMediator_obj() -{ -} - -void PageMediator_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(PageMediator); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void PageMediator_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic PageMediator_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"page") ) { return page_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic PageMediator_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void PageMediator_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("page"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PageMediator_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PageMediator_obj::__mClass,"__mClass"); -}; - -Class PageMediator_obj::__mClass; - -void PageMediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.PageMediator"), hx::TCanCast< PageMediator_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void PageMediator_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/components/ActorComponent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/components/ActorComponent.cpp deleted file mode 100644 index a9e6a70..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/components/ActorComponent.cpp +++ /dev/null @@ -1,193 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#include -#endif -#ifndef INCLUDED_format_SVG -#include -#endif -#ifndef INCLUDED_neash_display_Bitmap -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace components{ - -Void ActorComponent_obj::__construct() -{ -HX_STACK_PUSH("ActorComponent::new","ca/confidant/glory/view/components/ActorComponent.hx",20); -{ - HX_STACK_LINE(21) - super::__construct(); - HX_STACK_LINE(23) - this->nmeSetMouseEnabled(false); -} -; - return null(); -} - -ActorComponent_obj::~ActorComponent_obj() { } - -Dynamic ActorComponent_obj::__CreateEmpty() { return new ActorComponent_obj; } -hx::ObjectPtr< ActorComponent_obj > ActorComponent_obj::__new() -{ hx::ObjectPtr< ActorComponent_obj > result = new ActorComponent_obj(); - result->__construct(); - return result;} - -Dynamic ActorComponent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ActorComponent_obj > result = new ActorComponent_obj(); - result->__construct(); - return result;} - -Void ActorComponent_obj::addSVG( ::String t){ -{ - HX_STACK_PUSH("ActorComponent::addSVG","ca/confidant/glory/view/components/ActorComponent.hx",30); - HX_STACK_THIS(this); - HX_STACK_ARG(t,"t"); - HX_STACK_LINE(31) - ::format::SVG svg = ::format::SVG_obj::__new(t); HX_STACK_VAR(svg,"svg"); - HX_STACK_LINE(32) - svg->render(this->nmeGetGraphics(),null(),null(),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ActorComponent_obj,addSVG,(void)) - -Void ActorComponent_obj::addBitmap( ::neash::display::Bitmap bMap){ -{ - HX_STACK_PUSH("ActorComponent::addBitmap","ca/confidant/glory/view/components/ActorComponent.hx",26); - HX_STACK_THIS(this); - HX_STACK_ARG(bMap,"bMap"); - HX_STACK_LINE(27) - this->defaultBitmap = bMap; - HX_STACK_LINE(28) - this->addChild(bMap); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ActorComponent_obj,addBitmap,(void)) - - -ActorComponent_obj::ActorComponent_obj() -{ -} - -void ActorComponent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ActorComponent); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_MEMBER_NAME(defaultBitmap,"defaultBitmap"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ActorComponent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(type,"type"); - HX_VISIT_MEMBER_NAME(defaultBitmap,"defaultBitmap"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ActorComponent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { return type; } - break; - case 6: - if (HX_FIELD_EQ(inName,"addSVG") ) { return addSVG_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"addBitmap") ) { return addBitmap_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"defaultBitmap") ) { return defaultBitmap; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ActorComponent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"defaultBitmap") ) { defaultBitmap=inValue.Cast< ::neash::display::Bitmap >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ActorComponent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("type")); - outFields->push(HX_CSTRING("defaultBitmap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("addSVG"), - HX_CSTRING("addBitmap"), - HX_CSTRING("type"), - HX_CSTRING("defaultBitmap"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ActorComponent_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ActorComponent_obj::__mClass,"__mClass"); -}; - -Class ActorComponent_obj::__mClass; - -void ActorComponent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.components.ActorComponent"), hx::TCanCast< ActorComponent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ActorComponent_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace components diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/components/ControlComponent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/components/ControlComponent.cpp deleted file mode 100644 index c592ce7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/components/ControlComponent.cpp +++ /dev/null @@ -1,191 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_view_components_ControlComponent -#include -#endif -#ifndef INCLUDED_format_SVG -#include -#endif -#ifndef INCLUDED_neash_display_Bitmap -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace components{ - -Void ControlComponent_obj::__construct(::String action) -{ -HX_STACK_PUSH("ControlComponent::new","ca/confidant/glory/view/components/ControlComponent.hx",17); -{ - HX_STACK_LINE(18) - super::__construct(); - HX_STACK_LINE(20) - this->action = action; -} -; - return null(); -} - -ControlComponent_obj::~ControlComponent_obj() { } - -Dynamic ControlComponent_obj::__CreateEmpty() { return new ControlComponent_obj; } -hx::ObjectPtr< ControlComponent_obj > ControlComponent_obj::__new(::String action) -{ hx::ObjectPtr< ControlComponent_obj > result = new ControlComponent_obj(); - result->__construct(action); - return result;} - -Dynamic ControlComponent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ControlComponent_obj > result = new ControlComponent_obj(); - result->__construct(inArgs[0]); - return result;} - -Void ControlComponent_obj::addSVG( ::String t){ -{ - HX_STACK_PUSH("ControlComponent::addSVG","ca/confidant/glory/view/components/ControlComponent.hx",27); - HX_STACK_THIS(this); - HX_STACK_ARG(t,"t"); - HX_STACK_LINE(28) - ::format::SVG svg = ::format::SVG_obj::__new(t); HX_STACK_VAR(svg,"svg"); - HX_STACK_LINE(29) - svg->render(this->nmeGetGraphics(),null(),null(),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ControlComponent_obj,addSVG,(void)) - -Void ControlComponent_obj::addBitmap( ::neash::display::Bitmap bMap){ -{ - HX_STACK_PUSH("ControlComponent::addBitmap","ca/confidant/glory/view/components/ControlComponent.hx",23); - HX_STACK_THIS(this); - HX_STACK_ARG(bMap,"bMap"); - HX_STACK_LINE(24) - this->defaultBitmap = bMap; - HX_STACK_LINE(25) - this->addChild(bMap); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ControlComponent_obj,addBitmap,(void)) - - -ControlComponent_obj::ControlComponent_obj() -{ -} - -void ControlComponent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ControlComponent); - HX_MARK_MEMBER_NAME(action,"action"); - HX_MARK_MEMBER_NAME(defaultBitmap,"defaultBitmap"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ControlComponent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(action,"action"); - HX_VISIT_MEMBER_NAME(defaultBitmap,"defaultBitmap"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ControlComponent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"addSVG") ) { return addSVG_dyn(); } - if (HX_FIELD_EQ(inName,"action") ) { return action; } - break; - case 9: - if (HX_FIELD_EQ(inName,"addBitmap") ) { return addBitmap_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"defaultBitmap") ) { return defaultBitmap; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ControlComponent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"action") ) { action=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"defaultBitmap") ) { defaultBitmap=inValue.Cast< ::neash::display::Bitmap >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ControlComponent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("action")); - outFields->push(HX_CSTRING("defaultBitmap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("addSVG"), - HX_CSTRING("addBitmap"), - HX_CSTRING("action"), - HX_CSTRING("defaultBitmap"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ControlComponent_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ControlComponent_obj::__mClass,"__mClass"); -}; - -Class ControlComponent_obj::__mClass; - -void ControlComponent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.components.ControlComponent"), hx::TCanCast< ControlComponent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ControlComponent_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace components diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/components/PageComponent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/components/PageComponent.cpp deleted file mode 100644 index b505ef3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/components/PageComponent.cpp +++ /dev/null @@ -1,179 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_PageComponent -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace components{ - -Void PageComponent_obj::__construct() -{ -HX_STACK_PUSH("PageComponent::new","ca/confidant/glory/view/components/PageComponent.hx",14); -{ - HX_STACK_LINE(15) - super::__construct(); - HX_STACK_LINE(16) - this->myActors = ::Hash_obj::__new(); - HX_STACK_LINE(18) - ::haxe::Log_obj::trace(HX_CSTRING("new Page!"),hx::SourceInfo(HX_CSTRING("PageComponent.hx"),18,HX_CSTRING("ca.confidant.glory.view.components.PageComponent"),HX_CSTRING("new"))); -} -; - return null(); -} - -PageComponent_obj::~PageComponent_obj() { } - -Dynamic PageComponent_obj::__CreateEmpty() { return new PageComponent_obj; } -hx::ObjectPtr< PageComponent_obj > PageComponent_obj::__new() -{ hx::ObjectPtr< PageComponent_obj > result = new PageComponent_obj(); - result->__construct(); - return result;} - -Dynamic PageComponent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< PageComponent_obj > result = new PageComponent_obj(); - result->__construct(); - return result;} - -Void PageComponent_obj::init( ){ -{ - HX_STACK_PUSH("PageComponent::init","ca/confidant/glory/view/components/PageComponent.hx",29); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PageComponent_obj,init,(void)) - -Void PageComponent_obj::addActor( ::String key,::ca::confidant::glory::view::components::ActorComponent spr){ -{ - HX_STACK_PUSH("PageComponent::addActor","ca/confidant/glory/view/components/PageComponent.hx",21); - HX_STACK_THIS(this); - HX_STACK_ARG(key,"key"); - HX_STACK_ARG(spr,"spr"); - HX_STACK_LINE(22) - this->addChild(spr); - HX_STACK_LINE(23) - this->myActors->set(key,spr); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(PageComponent_obj,addActor,(void)) - - -PageComponent_obj::PageComponent_obj() -{ -} - -void PageComponent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(PageComponent); - HX_MARK_MEMBER_NAME(myActors,"myActors"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void PageComponent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(myActors,"myActors"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic PageComponent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"init") ) { return init_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"addActor") ) { return addActor_dyn(); } - if (HX_FIELD_EQ(inName,"myActors") ) { return myActors; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic PageComponent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"myActors") ) { myActors=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void PageComponent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("myActors")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("init"), - HX_CSTRING("addActor"), - HX_CSTRING("myActors"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PageComponent_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PageComponent_obj::__mClass,"__mClass"); -}; - -Class PageComponent_obj::__mClass; - -void PageComponent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.components.PageComponent"), hx::TCanCast< PageComponent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void PageComponent_obj::__boot() -{ -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace components diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/constants/ControlConstants.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/constants/ControlConstants.cpp deleted file mode 100644 index 6884092..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/ca/confidant/glory/view/constants/ControlConstants.cpp +++ /dev/null @@ -1,205 +0,0 @@ -#include - -#ifndef INCLUDED_ca_confidant_glory_view_constants_ControlConstants -#include -#endif -namespace ca{ -namespace confidant{ -namespace glory{ -namespace view{ -namespace constants{ - -Void ControlConstants_obj::__construct() -{ -HX_STACK_PUSH("ControlConstants::new","ca/confidant/glory/view/constants/ControlConstants.hx",18); -{ -} -; - return null(); -} - -ControlConstants_obj::~ControlConstants_obj() { } - -Dynamic ControlConstants_obj::__CreateEmpty() { return new ControlConstants_obj; } -hx::ObjectPtr< ControlConstants_obj > ControlConstants_obj::__new() -{ hx::ObjectPtr< ControlConstants_obj > result = new ControlConstants_obj(); - result->__construct(); - return result;} - -Dynamic ControlConstants_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ControlConstants_obj > result = new ControlConstants_obj(); - result->__construct(); - return result;} - -::String ControlConstants_obj::PAGE_FORWARD; - -::String ControlConstants_obj::PAGE_BACKWARD; - -::String ControlConstants_obj::PAGE_SKIP_TO; - -::String ControlConstants_obj::TOGGLE_MENU; - -::String ControlConstants_obj::GET_URL; - -::String ControlConstants_obj::PAN_RIGHT_CONTROL; - -::String ControlConstants_obj::PAN_LEFT_CONTROL; - -::String ControlConstants_obj::TRANSITION_OUT; - -::String ControlConstants_obj::TRANSITION_IN; - -::String ControlConstants_obj::CONTROL; - - -ControlConstants_obj::ControlConstants_obj() -{ -} - -void ControlConstants_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ControlConstants); - HX_MARK_END_CLASS(); -} - -void ControlConstants_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic ControlConstants_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"GET_URL") ) { return GET_URL; } - if (HX_FIELD_EQ(inName,"CONTROL") ) { return CONTROL; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TOGGLE_MENU") ) { return TOGGLE_MENU; } - break; - case 12: - if (HX_FIELD_EQ(inName,"PAGE_FORWARD") ) { return PAGE_FORWARD; } - if (HX_FIELD_EQ(inName,"PAGE_SKIP_TO") ) { return PAGE_SKIP_TO; } - break; - case 13: - if (HX_FIELD_EQ(inName,"PAGE_BACKWARD") ) { return PAGE_BACKWARD; } - if (HX_FIELD_EQ(inName,"TRANSITION_IN") ) { return TRANSITION_IN; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TRANSITION_OUT") ) { return TRANSITION_OUT; } - break; - case 16: - if (HX_FIELD_EQ(inName,"PAN_LEFT_CONTROL") ) { return PAN_LEFT_CONTROL; } - break; - case 17: - if (HX_FIELD_EQ(inName,"PAN_RIGHT_CONTROL") ) { return PAN_RIGHT_CONTROL; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ControlConstants_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"GET_URL") ) { GET_URL=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"CONTROL") ) { CONTROL=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TOGGLE_MENU") ) { TOGGLE_MENU=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"PAGE_FORWARD") ) { PAGE_FORWARD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"PAGE_SKIP_TO") ) { PAGE_SKIP_TO=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"PAGE_BACKWARD") ) { PAGE_BACKWARD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TRANSITION_IN") ) { TRANSITION_IN=inValue.Cast< ::String >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TRANSITION_OUT") ) { TRANSITION_OUT=inValue.Cast< ::String >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"PAN_LEFT_CONTROL") ) { PAN_LEFT_CONTROL=inValue.Cast< ::String >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"PAN_RIGHT_CONTROL") ) { PAN_RIGHT_CONTROL=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ControlConstants_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("PAGE_FORWARD"), - HX_CSTRING("PAGE_BACKWARD"), - HX_CSTRING("PAGE_SKIP_TO"), - HX_CSTRING("TOGGLE_MENU"), - HX_CSTRING("GET_URL"), - HX_CSTRING("PAN_RIGHT_CONTROL"), - HX_CSTRING("PAN_LEFT_CONTROL"), - HX_CSTRING("TRANSITION_OUT"), - HX_CSTRING("TRANSITION_IN"), - HX_CSTRING("CONTROL"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ControlConstants_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::PAGE_FORWARD,"PAGE_FORWARD"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::PAGE_BACKWARD,"PAGE_BACKWARD"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::PAGE_SKIP_TO,"PAGE_SKIP_TO"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::TOGGLE_MENU,"TOGGLE_MENU"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::GET_URL,"GET_URL"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::PAN_RIGHT_CONTROL,"PAN_RIGHT_CONTROL"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::PAN_LEFT_CONTROL,"PAN_LEFT_CONTROL"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::TRANSITION_OUT,"TRANSITION_OUT"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::TRANSITION_IN,"TRANSITION_IN"); - HX_MARK_MEMBER_NAME(ControlConstants_obj::CONTROL,"CONTROL"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ControlConstants_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::PAGE_FORWARD,"PAGE_FORWARD"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::PAGE_BACKWARD,"PAGE_BACKWARD"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::PAGE_SKIP_TO,"PAGE_SKIP_TO"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::TOGGLE_MENU,"TOGGLE_MENU"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::GET_URL,"GET_URL"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::PAN_RIGHT_CONTROL,"PAN_RIGHT_CONTROL"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::PAN_LEFT_CONTROL,"PAN_LEFT_CONTROL"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::TRANSITION_OUT,"TRANSITION_OUT"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::TRANSITION_IN,"TRANSITION_IN"); - HX_VISIT_MEMBER_NAME(ControlConstants_obj::CONTROL,"CONTROL"); -}; - -Class ControlConstants_obj::__mClass; - -void ControlConstants_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("ca.confidant.glory.view.constants.ControlConstants"), hx::TCanCast< ControlConstants_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ControlConstants_obj::__boot() -{ - PAGE_FORWARD= HX_CSTRING("pageForward"); - PAGE_BACKWARD= HX_CSTRING("pageBackward"); - PAGE_SKIP_TO= HX_CSTRING("pageSkipTo"); - TOGGLE_MENU= HX_CSTRING("toggleMenu"); - GET_URL= HX_CSTRING("getURL"); - PAN_RIGHT_CONTROL= HX_CSTRING("panRight"); - PAN_LEFT_CONTROL= HX_CSTRING("panLeft"); - TRANSITION_OUT= HX_CSTRING("transitionOut"); - TRANSITION_IN= HX_CSTRING("transitionIn"); - CONTROL= HX_CSTRING("control"); -} - -} // end namespace ca -} // end namespace confidant -} // end namespace glory -} // end namespace view -} // end namespace constants diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/cpp/Lib.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/cpp/Lib.cpp deleted file mode 100644 index 8182c29..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/cpp/Lib.cpp +++ /dev/null @@ -1,340 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -namespace cpp{ - -Void Lib_obj::__construct() -{ - return null(); -} - -Lib_obj::~Lib_obj() { } - -Dynamic Lib_obj::__CreateEmpty() { return new Lib_obj; } -hx::ObjectPtr< Lib_obj > Lib_obj::__new() -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -Dynamic Lib_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -Dynamic Lib_obj::load( ::String lib,::String prim,int nargs){ - HX_STACK_PUSH("Lib::load","/usr/lib/haxe/std/cpp/Lib.hx",32); - HX_STACK_ARG(lib,"lib"); - HX_STACK_ARG(prim,"prim"); - HX_STACK_ARG(nargs,"nargs"); - HX_STACK_LINE(32) - return ::cpp::Lib_obj::loadLazy(lib,prim,nargs); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Lib_obj,load,return ) - -Dynamic Lib_obj::loadLazy( ::String lib,::String prim,int nargs){ - HX_STACK_PUSH("Lib::loadLazy","/usr/lib/haxe/std/cpp/Lib.hx",44); - HX_STACK_ARG(lib,"lib"); - HX_STACK_ARG(prim,"prim"); - HX_STACK_ARG(nargs,"nargs"); - HX_STACK_LINE(45) - try{ - HX_STACK_LINE(45) - return ::__loadprim(lib,prim,nargs); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(47) - Dynamic e1 = Dynamic( Array_obj::__new().Add(e)); HX_STACK_VAR(e1,"e1"); - HX_STACK_LINE(47) - switch( (int)(nargs)){ - case (int)0: { - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_3_1,Dynamic,e1) - Void run(){ - HX_STACK_PUSH("*::_Function_3_1","/usr/lib/haxe/std/cpp/Lib.hx",49); - { - HX_STACK_LINE(49) - hx::Throw (e1->__GetItem((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC0((void)) - - HX_STACK_LINE(49) - return Dynamic(new _Function_3_1(e1)); - } - ;break; - case (int)2: { - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_3_1,Dynamic,e1) - Void run(Dynamic _1,Dynamic _2){ - HX_STACK_PUSH("*::_Function_3_1","/usr/lib/haxe/std/cpp/Lib.hx",50); - HX_STACK_ARG(_1,"_1"); - HX_STACK_ARG(_2,"_2"); - { - HX_STACK_LINE(50) - hx::Throw (e1->__GetItem((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC2((void)) - - HX_STACK_LINE(50) - return Dynamic(new _Function_3_1(e1)); - } - ;break; - case (int)3: { - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_3_1,Dynamic,e1) - Void run(Dynamic _1,Dynamic _2,Dynamic _3){ - HX_STACK_PUSH("*::_Function_3_1","/usr/lib/haxe/std/cpp/Lib.hx",51); - HX_STACK_ARG(_1,"_1"); - HX_STACK_ARG(_2,"_2"); - HX_STACK_ARG(_3,"_3"); - { - HX_STACK_LINE(51) - hx::Throw (e1->__GetItem((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC3((void)) - - HX_STACK_LINE(51) - return Dynamic(new _Function_3_1(e1)); - } - ;break; - case (int)4: { - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_3_1,Dynamic,e1) - Void run(Dynamic _1,Dynamic _2,Dynamic _3,Dynamic _4){ - HX_STACK_PUSH("*::_Function_3_1","/usr/lib/haxe/std/cpp/Lib.hx",52); - HX_STACK_ARG(_1,"_1"); - HX_STACK_ARG(_2,"_2"); - HX_STACK_ARG(_3,"_3"); - HX_STACK_ARG(_4,"_4"); - { - HX_STACK_LINE(52) - hx::Throw (e1->__GetItem((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC4((void)) - - HX_STACK_LINE(52) - return Dynamic(new _Function_3_1(e1)); - } - ;break; - case (int)5: { - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_3_1,Dynamic,e1) - Void run(Dynamic _1,Dynamic _2,Dynamic _3,Dynamic _4,Dynamic _5){ - HX_STACK_PUSH("*::_Function_3_1","/usr/lib/haxe/std/cpp/Lib.hx",53); - HX_STACK_ARG(_1,"_1"); - HX_STACK_ARG(_2,"_2"); - HX_STACK_ARG(_3,"_3"); - HX_STACK_ARG(_4,"_4"); - HX_STACK_ARG(_5,"_5"); - { - HX_STACK_LINE(53) - hx::Throw (e1->__GetItem((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC5((void)) - - HX_STACK_LINE(53) - return Dynamic(new _Function_3_1(e1)); - } - ;break; - default: { - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_3_1,Dynamic,e1) - Void run(Dynamic _1){ - HX_STACK_PUSH("*::_Function_3_1","/usr/lib/haxe/std/cpp/Lib.hx",54); - HX_STACK_ARG(_1,"_1"); - { - HX_STACK_LINE(54) - hx::Throw (e1->__GetItem((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - HX_STACK_LINE(54) - return Dynamic(new _Function_3_1(e1)); - } - } - } - } - } - HX_STACK_LINE(57) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Lib_obj,loadLazy,return ) - -Void Lib_obj::rethrow( Dynamic inExp){ -{ - HX_STACK_PUSH("Lib::rethrow","/usr/lib/haxe/std/cpp/Lib.hx",60); - HX_STACK_ARG(inExp,"inExp"); - HX_STACK_LINE(60) - hx::Throw (inExp); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,rethrow,(void)) - -Void Lib_obj::stringReference( Dynamic inExp){ -{ - HX_STACK_PUSH("Lib::stringReference","/usr/lib/haxe/std/cpp/Lib.hx",62); - HX_STACK_ARG(inExp,"inExp"); - HX_STACK_LINE(62) - hx::Throw (inExp); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,stringReference,(void)) - -Void Lib_obj::print( Dynamic v){ -{ - HX_STACK_PUSH("Lib::print","/usr/lib/haxe/std/cpp/Lib.hx",67); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(67) - ::__hxcpp_print(v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,print,(void)) - -Dynamic Lib_obj::haxeToNeko( Dynamic v){ - HX_STACK_PUSH("Lib::haxeToNeko","/usr/lib/haxe/std/cpp/Lib.hx",75); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(75) - return v; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,haxeToNeko,return ) - -Dynamic Lib_obj::nekoToHaxe( Dynamic v){ - HX_STACK_PUSH("Lib::nekoToHaxe","/usr/lib/haxe/std/cpp/Lib.hx",83); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(83) - return v; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,nekoToHaxe,return ) - -Void Lib_obj::println( Dynamic v){ -{ - HX_STACK_PUSH("Lib::println","/usr/lib/haxe/std/cpp/Lib.hx",89); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(89) - ::__hxcpp_println(v); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,println,(void)) - - -Lib_obj::Lib_obj() -{ -} - -void Lib_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Lib); - HX_MARK_END_CLASS(); -} - -void Lib_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Lib_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"print") ) { return print_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"rethrow") ) { return rethrow_dyn(); } - if (HX_FIELD_EQ(inName,"println") ) { return println_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"loadLazy") ) { return loadLazy_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"haxeToNeko") ) { return haxeToNeko_dyn(); } - if (HX_FIELD_EQ(inName,"nekoToHaxe") ) { return nekoToHaxe_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"stringReference") ) { return stringReference_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Lib_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Lib_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("load"), - HX_CSTRING("loadLazy"), - HX_CSTRING("rethrow"), - HX_CSTRING("stringReference"), - HX_CSTRING("print"), - HX_CSTRING("haxeToNeko"), - HX_CSTRING("nekoToHaxe"), - HX_CSTRING("println"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); -}; - -Class Lib_obj::__mClass; - -void Lib_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("cpp.Lib"), hx::TCanCast< Lib_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Lib_obj::__boot() -{ -} - -} // end namespace cpp diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/cpp/rtti/FieldNumericIntegerLookup.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/cpp/rtti/FieldNumericIntegerLookup.cpp deleted file mode 100644 index 06a7477..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/cpp/rtti/FieldNumericIntegerLookup.cpp +++ /dev/null @@ -1,32 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_rtti_FieldNumericIntegerLookup -#include -#endif -namespace cpp{ -namespace rtti{ - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FieldNumericIntegerLookup_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FieldNumericIntegerLookup_obj::__mClass,"__mClass"); -}; - -Class FieldNumericIntegerLookup_obj::__mClass; - -void FieldNumericIntegerLookup_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("cpp.rtti.FieldNumericIntegerLookup"), hx::TCanCast< FieldNumericIntegerLookup_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void FieldNumericIntegerLookup_obj::__boot() -{ -} - -} // end namespace cpp -} // end namespace rtti diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/cpp/zip/Compress.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/cpp/zip/Compress.cpp deleted file mode 100644 index 6ffe722..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/cpp/zip/Compress.cpp +++ /dev/null @@ -1,252 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_cpp_zip_Compress -#include -#endif -#ifndef INCLUDED_cpp_zip_Flush -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -namespace cpp{ -namespace zip{ - -Void Compress_obj::__construct(int level) -{ -HX_STACK_PUSH("Compress::new","/usr/lib/haxe/std/cpp/zip/Compress.hx",31); -{ - HX_STACK_LINE(31) - this->s = ::cpp::zip::Compress_obj::_deflate_init(level); -} -; - return null(); -} - -Compress_obj::~Compress_obj() { } - -Dynamic Compress_obj::__CreateEmpty() { return new Compress_obj; } -hx::ObjectPtr< Compress_obj > Compress_obj::__new(int level) -{ hx::ObjectPtr< Compress_obj > result = new Compress_obj(); - result->__construct(level); - return result;} - -Dynamic Compress_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Compress_obj > result = new Compress_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Compress_obj::close( ){ -{ - HX_STACK_PUSH("Compress::close","/usr/lib/haxe/std/cpp/zip/Compress.hx",43); - HX_STACK_THIS(this); - HX_STACK_LINE(43) - ::cpp::zip::Compress_obj::_deflate_end(this->s); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Compress_obj,close,(void)) - -Void Compress_obj::setFlushMode( ::cpp::zip::Flush f){ -{ - HX_STACK_PUSH("Compress::setFlushMode","/usr/lib/haxe/std/cpp/zip/Compress.hx",39); - HX_STACK_THIS(this); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(39) - ::cpp::zip::Compress_obj::_set_flush_mode(this->s,::Std_obj::string(f)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Compress_obj,setFlushMode,(void)) - -Dynamic Compress_obj::execute( ::haxe::io::Bytes src,int srcPos,::haxe::io::Bytes dst,int dstPos){ - HX_STACK_PUSH("Compress::execute","/usr/lib/haxe/std/cpp/zip/Compress.hx",35); - HX_STACK_THIS(this); - HX_STACK_ARG(src,"src"); - HX_STACK_ARG(srcPos,"srcPos"); - HX_STACK_ARG(dst,"dst"); - HX_STACK_ARG(dstPos,"dstPos"); - HX_STACK_LINE(35) - return ::cpp::zip::Compress_obj::_deflate_buffer(this->s,src->b,srcPos,dst->b,dstPos); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Compress_obj,execute,return ) - -::haxe::io::Bytes Compress_obj::run( ::haxe::io::Bytes s,int level){ - HX_STACK_PUSH("Compress::run","/usr/lib/haxe/std/cpp/zip/Compress.hx",47); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(level,"level"); - HX_STACK_LINE(48) - ::cpp::zip::Compress c = ::cpp::zip::Compress_obj::__new(level); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(49) - c->setFlushMode(::cpp::zip::Flush_obj::FINISH_dyn()); - HX_STACK_LINE(50) - ::haxe::io::Bytes out = ::haxe::io::Bytes_obj::alloc(::cpp::zip::Compress_obj::_deflate_bound(c->s,s->length)); HX_STACK_VAR(out,"out"); - HX_STACK_LINE(51) - Dynamic r = c->execute(s,(int)0,out,(int)0); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(52) - c->close(); - HX_STACK_LINE(53) - if (((bool(!(r->__Field(HX_CSTRING("done"),true))) || bool((r->__Field(HX_CSTRING("read"),true) != s->length))))){ - HX_STACK_LINE(54) - hx::Throw (HX_CSTRING("Compression failed")); - } - HX_STACK_LINE(55) - return out->sub((int)0,r->__Field(HX_CSTRING("write"),true)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Compress_obj,run,return ) - -Dynamic Compress_obj::_deflate_init; - -Dynamic Compress_obj::_deflate_bound; - -Dynamic Compress_obj::_deflate_buffer; - -Dynamic Compress_obj::_deflate_end; - -Dynamic Compress_obj::_set_flush_mode; - - -Compress_obj::Compress_obj() -{ -} - -void Compress_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Compress); - HX_MARK_MEMBER_NAME(s,"s"); - HX_MARK_END_CLASS(); -} - -void Compress_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(s,"s"); -} - -Dynamic Compress_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"s") ) { return s; } - break; - case 3: - if (HX_FIELD_EQ(inName,"run") ) { return run_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_deflate_end") ) { return _deflate_end; } - if (HX_FIELD_EQ(inName,"setFlushMode") ) { return setFlushMode_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"_deflate_init") ) { return _deflate_init; } - break; - case 14: - if (HX_FIELD_EQ(inName,"_deflate_bound") ) { return _deflate_bound; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_deflate_buffer") ) { return _deflate_buffer; } - if (HX_FIELD_EQ(inName,"_set_flush_mode") ) { return _set_flush_mode; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Compress_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"s") ) { s=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_deflate_end") ) { _deflate_end=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"_deflate_init") ) { _deflate_init=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"_deflate_bound") ) { _deflate_bound=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_deflate_buffer") ) { _deflate_buffer=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"_set_flush_mode") ) { _set_flush_mode=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Compress_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("s")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("run"), - HX_CSTRING("_deflate_init"), - HX_CSTRING("_deflate_bound"), - HX_CSTRING("_deflate_buffer"), - HX_CSTRING("_deflate_end"), - HX_CSTRING("_set_flush_mode"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("close"), - HX_CSTRING("setFlushMode"), - HX_CSTRING("execute"), - HX_CSTRING("s"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Compress_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Compress_obj::_deflate_init,"_deflate_init"); - HX_MARK_MEMBER_NAME(Compress_obj::_deflate_bound,"_deflate_bound"); - HX_MARK_MEMBER_NAME(Compress_obj::_deflate_buffer,"_deflate_buffer"); - HX_MARK_MEMBER_NAME(Compress_obj::_deflate_end,"_deflate_end"); - HX_MARK_MEMBER_NAME(Compress_obj::_set_flush_mode,"_set_flush_mode"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Compress_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Compress_obj::_deflate_init,"_deflate_init"); - HX_VISIT_MEMBER_NAME(Compress_obj::_deflate_bound,"_deflate_bound"); - HX_VISIT_MEMBER_NAME(Compress_obj::_deflate_buffer,"_deflate_buffer"); - HX_VISIT_MEMBER_NAME(Compress_obj::_deflate_end,"_deflate_end"); - HX_VISIT_MEMBER_NAME(Compress_obj::_set_flush_mode,"_set_flush_mode"); -}; - -Class Compress_obj::__mClass; - -void Compress_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("cpp.zip.Compress"), hx::TCanCast< Compress_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Compress_obj::__boot() -{ - _deflate_init= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("deflate_init"),(int)1); - _deflate_bound= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("deflate_bound"),(int)2); - _deflate_buffer= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("deflate_buffer"),(int)5); - _deflate_end= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("deflate_end"),(int)1); - _set_flush_mode= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("set_flush_mode"),(int)2); -} - -} // end namespace cpp -} // end namespace zip diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/cpp/zip/Flush.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/cpp/zip/Flush.cpp deleted file mode 100644 index 50adb77..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/cpp/zip/Flush.cpp +++ /dev/null @@ -1,100 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_zip_Flush -#include -#endif -namespace cpp{ -namespace zip{ - -::cpp::zip::Flush Flush_obj::BLOCK; - -::cpp::zip::Flush Flush_obj::FINISH; - -::cpp::zip::Flush Flush_obj::FULL; - -::cpp::zip::Flush Flush_obj::NO; - -::cpp::zip::Flush Flush_obj::SYNC; - -HX_DEFINE_CREATE_ENUM(Flush_obj) - -int Flush_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BLOCK")) return 4; - if (inName==HX_CSTRING("FINISH")) return 3; - if (inName==HX_CSTRING("FULL")) return 2; - if (inName==HX_CSTRING("NO")) return 0; - if (inName==HX_CSTRING("SYNC")) return 1; - return super::__FindIndex(inName); -} - -int Flush_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BLOCK")) return 0; - if (inName==HX_CSTRING("FINISH")) return 0; - if (inName==HX_CSTRING("FULL")) return 0; - if (inName==HX_CSTRING("NO")) return 0; - if (inName==HX_CSTRING("SYNC")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic Flush_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BLOCK")) return BLOCK; - if (inName==HX_CSTRING("FINISH")) return FINISH; - if (inName==HX_CSTRING("FULL")) return FULL; - if (inName==HX_CSTRING("NO")) return NO; - if (inName==HX_CSTRING("SYNC")) return SYNC; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NO"), - HX_CSTRING("SYNC"), - HX_CSTRING("FULL"), - HX_CSTRING("FINISH"), - HX_CSTRING("BLOCK"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Flush_obj::BLOCK,"BLOCK"); - HX_MARK_MEMBER_NAME(Flush_obj::FINISH,"FINISH"); - HX_MARK_MEMBER_NAME(Flush_obj::FULL,"FULL"); - HX_MARK_MEMBER_NAME(Flush_obj::NO,"NO"); - HX_MARK_MEMBER_NAME(Flush_obj::SYNC,"SYNC"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Flush_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Flush_obj::BLOCK,"BLOCK"); - HX_VISIT_MEMBER_NAME(Flush_obj::FINISH,"FINISH"); - HX_VISIT_MEMBER_NAME(Flush_obj::FULL,"FULL"); - HX_VISIT_MEMBER_NAME(Flush_obj::NO,"NO"); - HX_VISIT_MEMBER_NAME(Flush_obj::SYNC,"SYNC"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class Flush_obj::__mClass; - -Dynamic __Create_Flush_obj() { return new Flush_obj; } - -void Flush_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("cpp.zip.Flush"), hx::TCanCast< Flush_obj >,sStaticFields,sMemberFields, - &__Create_Flush_obj, &__Create, - &super::__SGetClass(), &CreateFlush_obj, sMarkStatics, sVisitStatic); -} - -void Flush_obj::__boot() -{ -Static(BLOCK) = hx::CreateEnum< Flush_obj >(HX_CSTRING("BLOCK"),4); -Static(FINISH) = hx::CreateEnum< Flush_obj >(HX_CSTRING("FINISH"),3); -Static(FULL) = hx::CreateEnum< Flush_obj >(HX_CSTRING("FULL"),2); -Static(NO) = hx::CreateEnum< Flush_obj >(HX_CSTRING("NO"),0); -Static(SYNC) = hx::CreateEnum< Flush_obj >(HX_CSTRING("SYNC"),1); -} - - -} // end namespace cpp -} // end namespace zip diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/cpp/zip/Uncompress.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/cpp/zip/Uncompress.cpp deleted file mode 100644 index 92c81f8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/cpp/zip/Uncompress.cpp +++ /dev/null @@ -1,284 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_cpp_zip_Flush -#include -#endif -#ifndef INCLUDED_cpp_zip_Uncompress -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_BytesBuffer -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -namespace cpp{ -namespace zip{ - -Void Uncompress_obj::__construct(Dynamic windowBits) -{ -HX_STACK_PUSH("Uncompress::new","/usr/lib/haxe/std/cpp/zip/Uncompress.hx",30); -{ - HX_STACK_LINE(30) - this->s = ::cpp::zip::Uncompress_obj::_inflate_init(windowBits); -} -; - return null(); -} - -Uncompress_obj::~Uncompress_obj() { } - -Dynamic Uncompress_obj::__CreateEmpty() { return new Uncompress_obj; } -hx::ObjectPtr< Uncompress_obj > Uncompress_obj::__new(Dynamic windowBits) -{ hx::ObjectPtr< Uncompress_obj > result = new Uncompress_obj(); - result->__construct(windowBits); - return result;} - -Dynamic Uncompress_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Uncompress_obj > result = new Uncompress_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Uncompress_obj::close( ){ -{ - HX_STACK_PUSH("Uncompress::close","/usr/lib/haxe/std/cpp/zip/Uncompress.hx",42); - HX_STACK_THIS(this); - HX_STACK_LINE(42) - ::cpp::zip::Uncompress_obj::_inflate_end(this->s); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Uncompress_obj,close,(void)) - -Void Uncompress_obj::setFlushMode( ::cpp::zip::Flush f){ -{ - HX_STACK_PUSH("Uncompress::setFlushMode","/usr/lib/haxe/std/cpp/zip/Uncompress.hx",38); - HX_STACK_THIS(this); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(38) - ::cpp::zip::Uncompress_obj::_set_flush_mode(this->s,f->__Tag()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Uncompress_obj,setFlushMode,(void)) - -Dynamic Uncompress_obj::this_run( ::haxe::io::Bytes src,int srcPos,::haxe::io::Bytes dst,int dstPos){ - HX_STACK_PUSH("Uncompress::this_run","/usr/lib/haxe/std/cpp/zip/Uncompress.hx",34); - HX_STACK_THIS(this); - HX_STACK_ARG(src,"src"); - HX_STACK_ARG(srcPos,"srcPos"); - HX_STACK_ARG(dst,"dst"); - HX_STACK_ARG(dstPos,"dstPos"); - HX_STACK_LINE(34) - return ::cpp::zip::Uncompress_obj::_inflate_buffer(this->s,src->b,srcPos,dst->b,dstPos); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Uncompress_obj,this_run,return ) - -::haxe::io::Bytes Uncompress_obj::run( ::haxe::io::Bytes src,Dynamic bufsize){ - HX_STACK_PUSH("Uncompress::run","/usr/lib/haxe/std/cpp/zip/Uncompress.hx",46); - HX_STACK_ARG(src,"src"); - HX_STACK_ARG(bufsize,"bufsize"); - HX_STACK_LINE(47) - ::cpp::zip::Uncompress u = ::cpp::zip::Uncompress_obj::__new(null()); HX_STACK_VAR(u,"u"); - HX_STACK_LINE(48) - if (((bufsize == null()))){ - HX_STACK_LINE(48) - bufsize = (int)65536; - } - HX_STACK_LINE(49) - ::haxe::io::Bytes tmp = ::haxe::io::Bytes_obj::alloc(bufsize); HX_STACK_VAR(tmp,"tmp"); - HX_STACK_LINE(50) - ::haxe::io::BytesBuffer b = ::haxe::io::BytesBuffer_obj::__new(); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(51) - int pos = (int)0; HX_STACK_VAR(pos,"pos"); - HX_STACK_LINE(52) - u->setFlushMode(::cpp::zip::Flush_obj::SYNC_dyn()); - HX_STACK_LINE(53) - while((true)){ - HX_STACK_LINE(54) - Dynamic r = u->this_run(src,pos,tmp,(int)0); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(55) - { - HX_STACK_LINE(55) - int len = r->__Field(HX_CSTRING("write"),true); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(55) - if (((bool((len < (int)0)) || bool((len > tmp->length))))){ - HX_STACK_LINE(55) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(55) - Array< unsigned char > b1 = b->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(55) - Array< unsigned char > b2 = tmp->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(55) - { - HX_STACK_LINE(55) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = len; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(55) - while(((_g1 < _g))){ - HX_STACK_LINE(55) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(55) - b->b->push(b2->__get(i)); - } - } - } - HX_STACK_LINE(56) - hx::AddEq(pos,r->__Field(HX_CSTRING("read"),true)); - HX_STACK_LINE(57) - if ((r->__Field(HX_CSTRING("done"),true))){ - HX_STACK_LINE(58) - break; - } - } - HX_STACK_LINE(60) - u->close(); - HX_STACK_LINE(61) - return b->getBytes(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Uncompress_obj,run,return ) - -Dynamic Uncompress_obj::_inflate_init; - -Dynamic Uncompress_obj::_inflate_buffer; - -Dynamic Uncompress_obj::_inflate_end; - -Dynamic Uncompress_obj::_set_flush_mode; - - -Uncompress_obj::Uncompress_obj() -{ -} - -void Uncompress_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Uncompress); - HX_MARK_MEMBER_NAME(s,"s"); - HX_MARK_END_CLASS(); -} - -void Uncompress_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(s,"s"); -} - -Dynamic Uncompress_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"s") ) { return s; } - break; - case 3: - if (HX_FIELD_EQ(inName,"run") ) { return run_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"this_run") ) { return this_run_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_inflate_end") ) { return _inflate_end; } - if (HX_FIELD_EQ(inName,"setFlushMode") ) { return setFlushMode_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"_inflate_init") ) { return _inflate_init; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_inflate_buffer") ) { return _inflate_buffer; } - if (HX_FIELD_EQ(inName,"_set_flush_mode") ) { return _set_flush_mode; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Uncompress_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"s") ) { s=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_inflate_end") ) { _inflate_end=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"_inflate_init") ) { _inflate_init=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_inflate_buffer") ) { _inflate_buffer=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"_set_flush_mode") ) { _set_flush_mode=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Uncompress_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("s")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("run"), - HX_CSTRING("_inflate_init"), - HX_CSTRING("_inflate_buffer"), - HX_CSTRING("_inflate_end"), - HX_CSTRING("_set_flush_mode"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("close"), - HX_CSTRING("setFlushMode"), - HX_CSTRING("this_run"), - HX_CSTRING("s"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Uncompress_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Uncompress_obj::_inflate_init,"_inflate_init"); - HX_MARK_MEMBER_NAME(Uncompress_obj::_inflate_buffer,"_inflate_buffer"); - HX_MARK_MEMBER_NAME(Uncompress_obj::_inflate_end,"_inflate_end"); - HX_MARK_MEMBER_NAME(Uncompress_obj::_set_flush_mode,"_set_flush_mode"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Uncompress_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Uncompress_obj::_inflate_init,"_inflate_init"); - HX_VISIT_MEMBER_NAME(Uncompress_obj::_inflate_buffer,"_inflate_buffer"); - HX_VISIT_MEMBER_NAME(Uncompress_obj::_inflate_end,"_inflate_end"); - HX_VISIT_MEMBER_NAME(Uncompress_obj::_set_flush_mode,"_set_flush_mode"); -}; - -Class Uncompress_obj::__mClass; - -void Uncompress_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("cpp.zip.Uncompress"), hx::TCanCast< Uncompress_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Uncompress_obj::__boot() -{ - _inflate_init= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("inflate_init"),(int)1); - _inflate_buffer= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("inflate_buffer"),(int)5); - _inflate_end= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("inflate_end"),(int)1); - _set_flush_mode= ::cpp::Lib_obj::load(HX_CSTRING("zlib"),HX_CSTRING("set_flush_mode"),(int)2); -} - -} // end namespace cpp -} // end namespace zip diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/SVG.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/SVG.cpp deleted file mode 100644 index bd7682d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/SVG.cpp +++ /dev/null @@ -1,161 +0,0 @@ -#include - -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_format_SVG -#include -#endif -#ifndef INCLUDED_format_svg_Group -#include -#endif -#ifndef INCLUDED_format_svg_SVGData -#include -#endif -#ifndef INCLUDED_format_svg_SVGRenderer -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -namespace format{ - -Void SVG_obj::__construct(::String content) -{ -HX_STACK_PUSH("SVG::new","format/SVG.hx",17); -{ - HX_STACK_LINE(17) - this->data = ::format::svg::SVGData_obj::__new(::Xml_obj::parse(content),null()); -} -; - return null(); -} - -SVG_obj::~SVG_obj() { } - -Dynamic SVG_obj::__CreateEmpty() { return new SVG_obj; } -hx::ObjectPtr< SVG_obj > SVG_obj::__new(::String content) -{ hx::ObjectPtr< SVG_obj > result = new SVG_obj(); - result->__construct(content); - return result;} - -Dynamic SVG_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SVG_obj > result = new SVG_obj(); - result->__construct(inArgs[0]); - return result;} - -Void SVG_obj::render( ::neash::display::Graphics graphics,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< int > __o_width,hx::Null< int > __o_height){ -Float x = __o_x.Default(0); -Float y = __o_y.Default(0); -int width = __o_width.Default(-1); -int height = __o_height.Default(-1); - HX_STACK_PUSH("SVG::render","format/SVG.hx",24); - HX_STACK_THIS(this); - HX_STACK_ARG(graphics,"graphics"); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); -{ - HX_STACK_LINE(26) - ::neash::geom::Matrix matrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(matrix,"matrix"); - HX_STACK_LINE(27) - matrix->identity(); - HX_STACK_LINE(28) - matrix->translate(x,y); - HX_STACK_LINE(30) - if (((bool((width > (int)-1)) && bool((height > (int)-1))))){ - HX_STACK_LINE(30) - matrix->scale((Float(width) / Float(this->data->width)),(Float(height) / Float(this->data->height))); - } - HX_STACK_LINE(36) - ::format::svg::SVGRenderer renderer = ::format::svg::SVGRenderer_obj::__new(this->data,null()); HX_STACK_VAR(renderer,"renderer"); - HX_STACK_LINE(37) - renderer->render(graphics,matrix,null(),null(),null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(SVG_obj,render,(void)) - - -SVG_obj::SVG_obj() -{ -} - -void SVG_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SVG); - HX_MARK_MEMBER_NAME(data,"data"); - HX_MARK_END_CLASS(); -} - -void SVG_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(data,"data"); -} - -Dynamic SVG_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"data") ) { return data; } - break; - case 6: - if (HX_FIELD_EQ(inName,"render") ) { return render_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SVG_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"data") ) { data=inValue.Cast< ::format::svg::SVGData >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SVG_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("data")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("render"), - HX_CSTRING("data"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SVG_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SVG_obj::__mClass,"__mClass"); -}; - -Class SVG_obj::__mClass; - -void SVG_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.SVG"), hx::TCanCast< SVG_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SVG_obj::__boot() -{ -} - -} // end namespace format diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/Gfx.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/Gfx.cpp deleted file mode 100644 index a161e5e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/Gfx.cpp +++ /dev/null @@ -1,285 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_gfx_LineStyle -#include -#endif -#ifndef INCLUDED_format_svg_Text -#include -#endif -namespace format{ -namespace gfx{ - -Void Gfx_obj::__construct() -{ -HX_STACK_PUSH("Gfx::new","format/gfx/Gfx.hx",15); -{ -} -; - return null(); -} - -Gfx_obj::~Gfx_obj() { } - -Dynamic Gfx_obj::__CreateEmpty() { return new Gfx_obj; } -hx::ObjectPtr< Gfx_obj > Gfx_obj::__new() -{ hx::ObjectPtr< Gfx_obj > result = new Gfx_obj(); - result->__construct(); - return result;} - -Dynamic Gfx_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Gfx_obj > result = new Gfx_obj(); - result->__construct(); - return result;} - -Void Gfx_obj::eof( ){ -{ - HX_STACK_PUSH("Gfx::eof","format/gfx/Gfx.hx",32); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Gfx_obj,eof,(void)) - -Void Gfx_obj::renderText( ::format::svg::Text text){ -{ - HX_STACK_PUSH("Gfx::renderText","format/gfx/Gfx.hx",30); - HX_STACK_THIS(this); - HX_STACK_ARG(text,"text"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Gfx_obj,renderText,(void)) - -Void Gfx_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("Gfx::curveTo","format/gfx/Gfx.hx",28); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Gfx_obj,curveTo,(void)) - -Void Gfx_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Gfx::lineTo","format/gfx/Gfx.hx",27); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Gfx_obj,lineTo,(void)) - -Void Gfx_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Gfx::moveTo","format/gfx/Gfx.hx",26); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Gfx_obj,moveTo,(void)) - -Void Gfx_obj::endLineStyle( ){ -{ - HX_STACK_PUSH("Gfx::endLineStyle","format/gfx/Gfx.hx",24); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Gfx_obj,endLineStyle,(void)) - -Void Gfx_obj::lineStyle( ::format::gfx::LineStyle style){ -{ - HX_STACK_PUSH("Gfx::lineStyle","format/gfx/Gfx.hx",23); - HX_STACK_THIS(this); - HX_STACK_ARG(style,"style"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Gfx_obj,lineStyle,(void)) - -Void Gfx_obj::endFill( ){ -{ - HX_STACK_PUSH("Gfx::endFill","format/gfx/Gfx.hx",21); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Gfx_obj,endFill,(void)) - -Void Gfx_obj::beginFill( int color,Float alpha){ -{ - HX_STACK_PUSH("Gfx::beginFill","format/gfx/Gfx.hx",20); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Gfx_obj,beginFill,(void)) - -Void Gfx_obj::beginGradientFill( ::format::gfx::Gradient grad){ -{ - HX_STACK_PUSH("Gfx::beginGradientFill","format/gfx/Gfx.hx",18); - HX_STACK_THIS(this); - HX_STACK_ARG(grad,"grad"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Gfx_obj,beginGradientFill,(void)) - -Void Gfx_obj::size( Float inWidth,Float inHeight){ -{ - HX_STACK_PUSH("Gfx::size","format/gfx/Gfx.hx",17); - HX_STACK_THIS(this); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Gfx_obj,size,(void)) - -bool Gfx_obj::geometryOnly( ){ - HX_STACK_PUSH("Gfx::geometryOnly","format/gfx/Gfx.hx",16); - HX_STACK_THIS(this); - HX_STACK_LINE(16) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Gfx_obj,geometryOnly,return ) - - -Gfx_obj::Gfx_obj() -{ -} - -void Gfx_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Gfx); - HX_MARK_END_CLASS(); -} - -void Gfx_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Gfx_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"eof") ) { return eof_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"size") ) { return size_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - if (HX_FIELD_EQ(inName,"endFill") ) { return endFill_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"lineStyle") ) { return lineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"beginFill") ) { return beginFill_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"renderText") ) { return renderText_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"endLineStyle") ) { return endLineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"geometryOnly") ) { return geometryOnly_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"beginGradientFill") ) { return beginGradientFill_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Gfx_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Gfx_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("eof"), - HX_CSTRING("renderText"), - HX_CSTRING("curveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("moveTo"), - HX_CSTRING("endLineStyle"), - HX_CSTRING("lineStyle"), - HX_CSTRING("endFill"), - HX_CSTRING("beginFill"), - HX_CSTRING("beginGradientFill"), - HX_CSTRING("size"), - HX_CSTRING("geometryOnly"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Gfx_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Gfx_obj::__mClass,"__mClass"); -}; - -Class Gfx_obj::__mClass; - -void Gfx_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.Gfx"), hx::TCanCast< Gfx_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Gfx_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/Gfx2Haxe.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/Gfx2Haxe.cpp deleted file mode 100644 index 56cf9bb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/Gfx2Haxe.cpp +++ /dev/null @@ -1,307 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_Gfx2Haxe -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_gfx_LineStyle -#include -#endif -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -#ifndef INCLUDED_neash_display_GradientType -#include -#endif -#ifndef INCLUDED_neash_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -#ifndef INCLUDED_neash_display_LineScaleMode -#include -#endif -#ifndef INCLUDED_neash_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace format{ -namespace gfx{ - -Void Gfx2Haxe_obj::__construct() -{ -HX_STACK_PUSH("Gfx2Haxe::new","format/gfx/Gfx2Haxe.hx",17); -{ - HX_STACK_LINE(18) - super::__construct(); - HX_STACK_LINE(19) - this->commands = Array_obj< ::String >::__new(); -} -; - return null(); -} - -Gfx2Haxe_obj::~Gfx2Haxe_obj() { } - -Dynamic Gfx2Haxe_obj::__CreateEmpty() { return new Gfx2Haxe_obj; } -hx::ObjectPtr< Gfx2Haxe_obj > Gfx2Haxe_obj::__new() -{ hx::ObjectPtr< Gfx2Haxe_obj > result = new Gfx2Haxe_obj(); - result->__construct(); - return result;} - -Dynamic Gfx2Haxe_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Gfx2Haxe_obj > result = new Gfx2Haxe_obj(); - result->__construct(); - return result;} - -Void Gfx2Haxe_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("Gfx2Haxe::curveTo","format/gfx/Gfx2Haxe.hx",64); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(64) - this->commands->push(((((((((HX_CSTRING("g.curveTo(") + inCX) + HX_CSTRING(",")) + inCY) + HX_CSTRING(",")) + inX) + HX_CSTRING(",")) + inY) + HX_CSTRING(");"))); - } -return null(); -} - - -Void Gfx2Haxe_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Gfx2Haxe::lineTo","format/gfx/Gfx2Haxe.hx",62); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(62) - this->commands->push(((((HX_CSTRING("g.lineTo(") + inX) + HX_CSTRING(",")) + inY) + HX_CSTRING(");"))); - } -return null(); -} - - -Void Gfx2Haxe_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Gfx2Haxe::moveTo","format/gfx/Gfx2Haxe.hx",60); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(60) - this->commands->push(((((HX_CSTRING("g.moveTo(") + inX) + HX_CSTRING(",")) + inY) + HX_CSTRING(");"))); - } -return null(); -} - - -Void Gfx2Haxe_obj::endLineStyle( ){ -{ - HX_STACK_PUSH("Gfx2Haxe::endLineStyle","format/gfx/Gfx2Haxe.hx",57); - HX_STACK_THIS(this); - HX_STACK_LINE(57) - this->commands->push(HX_CSTRING("g.lineStyle();")); - } -return null(); -} - - -Void Gfx2Haxe_obj::lineStyle( ::format::gfx::LineStyle style){ -{ - HX_STACK_PUSH("Gfx2Haxe::lineStyle","format/gfx/Gfx2Haxe.hx",51); - HX_STACK_THIS(this); - HX_STACK_ARG(style,"style"); - HX_STACK_LINE(51) - this->commands->push((((((((((((((((HX_CSTRING("g.lineStyle(") + this->f2a(style->thickness)) + HX_CSTRING(",")) + style->color) + HX_CSTRING(",")) + this->f2a(style->alpha)) + HX_CSTRING(",")) + ::Std_obj::string(style->pixelHinting)) + HX_CSTRING(",")) + ::Std_obj::string(style->scaleMode)) + HX_CSTRING(",")) + ::Std_obj::string(style->capsStyle)) + HX_CSTRING(",")) + ::Std_obj::string(style->jointStyle)) + HX_CSTRING(",")) + this->f2a(style->miterLimit))); - } -return null(); -} - - -Void Gfx2Haxe_obj::endFill( ){ -{ - HX_STACK_PUSH("Gfx2Haxe::endFill","format/gfx/Gfx2Haxe.hx",47); - HX_STACK_THIS(this); - HX_STACK_LINE(47) - this->commands->push(HX_CSTRING("g.endFill();")); - } -return null(); -} - - -Void Gfx2Haxe_obj::beginFill( int color,Float alpha){ -{ - HX_STACK_PUSH("Gfx2Haxe::beginFill","format/gfx/Gfx2Haxe.hx",44); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); - HX_STACK_LINE(44) - this->commands->push(((((HX_CSTRING("g.beginFill(") + color) + HX_CSTRING(",")) + this->f2a(alpha)) + HX_CSTRING(");"))); - } -return null(); -} - - -Void Gfx2Haxe_obj::beginGradientFill( ::format::gfx::Gradient grad){ -{ - HX_STACK_PUSH("Gfx2Haxe::beginGradientFill","format/gfx/Gfx2Haxe.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(grad,"grad"); - HX_STACK_LINE(37) - this->commands->push(((((((((((((((((HX_CSTRING("g.beginGradientFill(") + ::Std_obj::string(grad->type)) + HX_CSTRING(",")) + ::Std_obj::string(grad->colors)) + HX_CSTRING(",")) + ::Std_obj::string(grad->alphas)) + HX_CSTRING(",")) + ::Std_obj::string(grad->ratios)) + HX_CSTRING(",")) + this->newMatrix(grad->matrix)) + HX_CSTRING(",")) + ::Std_obj::string(grad->spread)) + HX_CSTRING(",")) + ::Std_obj::string(grad->interp)) + HX_CSTRING(",")) + grad->focus) + HX_CSTRING(");"))); - } -return null(); -} - - -::String Gfx2Haxe_obj::newMatrix( ::neash::geom::Matrix m){ - HX_STACK_PUSH("Gfx2Haxe::newMatrix","format/gfx/Gfx2Haxe.hx",31); - HX_STACK_THIS(this); - HX_STACK_ARG(m,"m"); - HX_STACK_LINE(31) - return ((((((((((((HX_CSTRING("new Matrix(") + this->f2a(m->a)) + HX_CSTRING(",")) + this->f2a(m->b)) + HX_CSTRING(",")) + this->f2a(m->c)) + HX_CSTRING(",")) + this->f2a(m->d)) + HX_CSTRING(",")) + this->f2a(m->tx)) + HX_CSTRING(",")) + this->f2a(m->ty)) + HX_CSTRING(")")); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Gfx2Haxe_obj,newMatrix,return ) - -::String Gfx2Haxe_obj::f2a( Float f){ - HX_STACK_PUSH("Gfx2Haxe::f2a","format/gfx/Gfx2Haxe.hx",23); - HX_STACK_THIS(this); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(24) - if (((::Math_obj::abs(f) < 0.000001))){ - HX_STACK_LINE(24) - return HX_CSTRING("0"); - } - HX_STACK_LINE(25) - if (((::Math_obj::abs(((int)1 - f)) < 0.000001))){ - HX_STACK_LINE(25) - return HX_CSTRING("1"); - } - HX_STACK_LINE(26) - return (f + HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Gfx2Haxe_obj,f2a,return ) - - -Gfx2Haxe_obj::Gfx2Haxe_obj() -{ -} - -void Gfx2Haxe_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Gfx2Haxe); - HX_MARK_MEMBER_NAME(commands,"commands"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Gfx2Haxe_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(commands,"commands"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Gfx2Haxe_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"f2a") ) { return f2a_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - if (HX_FIELD_EQ(inName,"endFill") ) { return endFill_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"commands") ) { return commands; } - break; - case 9: - if (HX_FIELD_EQ(inName,"lineStyle") ) { return lineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"beginFill") ) { return beginFill_dyn(); } - if (HX_FIELD_EQ(inName,"newMatrix") ) { return newMatrix_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"endLineStyle") ) { return endLineStyle_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"beginGradientFill") ) { return beginGradientFill_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Gfx2Haxe_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"commands") ) { commands=inValue.Cast< Array< ::String > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Gfx2Haxe_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("commands")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("curveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("moveTo"), - HX_CSTRING("endLineStyle"), - HX_CSTRING("lineStyle"), - HX_CSTRING("endFill"), - HX_CSTRING("beginFill"), - HX_CSTRING("beginGradientFill"), - HX_CSTRING("newMatrix"), - HX_CSTRING("f2a"), - HX_CSTRING("commands"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Gfx2Haxe_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Gfx2Haxe_obj::__mClass,"__mClass"); -}; - -Class Gfx2Haxe_obj::__mClass; - -void Gfx2Haxe_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.Gfx2Haxe"), hx::TCanCast< Gfx2Haxe_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Gfx2Haxe_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/GfxBytes.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/GfxBytes.cpp deleted file mode 100644 index 719ed05..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/GfxBytes.cpp +++ /dev/null @@ -1,1152 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_GfxBytes -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_gfx_LineStyle -#include -#endif -#ifndef INCLUDED_haxe_BaseCode -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -#ifndef INCLUDED_neash_display_GradientType -#include -#endif -#ifndef INCLUDED_neash_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -#ifndef INCLUDED_neash_display_LineScaleMode -#include -#endif -#ifndef INCLUDED_neash_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace format{ -namespace gfx{ - -Void GfxBytes_obj::__construct(::neash::utils::ByteArray inBuffer,hx::Null< int > __o_inFlags) -{ -HX_STACK_PUSH("GfxBytes::new","format/gfx/GfxBytes.hx",40); -int inFlags = __o_inFlags.Default(0); -{ - HX_STACK_LINE(41) - super::__construct(); - HX_STACK_LINE(42) - this->buffer = ( (((inBuffer == null()))) ? ::neash::utils::ByteArray(::neash::utils::ByteArray_obj::__new(null())) : ::neash::utils::ByteArray(inBuffer) ); -} -; - return null(); -} - -GfxBytes_obj::~GfxBytes_obj() { } - -Dynamic GfxBytes_obj::__CreateEmpty() { return new GfxBytes_obj; } -hx::ObjectPtr< GfxBytes_obj > GfxBytes_obj::__new(::neash::utils::ByteArray inBuffer,hx::Null< int > __o_inFlags) -{ hx::ObjectPtr< GfxBytes_obj > result = new GfxBytes_obj(); - result->__construct(inBuffer,__o_inFlags); - return result;} - -Dynamic GfxBytes_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GfxBytes_obj > result = new GfxBytes_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -Void GfxBytes_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxBytes::curveTo","format/gfx/GfxBytes.hx",269); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(270) - { - HX_STACK_LINE(270) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(270) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(270) - _this->b[(_this->position)++] = (int)32; - } - HX_STACK_LINE(271) - this->buffer->writeFloat(inCX); - HX_STACK_LINE(272) - this->buffer->writeFloat(inCY); - HX_STACK_LINE(273) - this->buffer->writeFloat(inX); - HX_STACK_LINE(274) - this->buffer->writeFloat(inY); - } -return null(); -} - - -Void GfxBytes_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxBytes::lineTo","format/gfx/GfxBytes.hx",262); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(263) - { - HX_STACK_LINE(263) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(263) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(263) - _this->b[(_this->position)++] = (int)31; - } - HX_STACK_LINE(264) - this->buffer->writeFloat(inX); - HX_STACK_LINE(265) - this->buffer->writeFloat(inY); - } -return null(); -} - - -Void GfxBytes_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxBytes::moveTo","format/gfx/GfxBytes.hx",255); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(256) - { - HX_STACK_LINE(256) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(256) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(256) - _this->b[(_this->position)++] = (int)30; - } - HX_STACK_LINE(257) - this->buffer->writeFloat(inX); - HX_STACK_LINE(258) - this->buffer->writeFloat(inY); - } -return null(); -} - - -Void GfxBytes_obj::endLineStyle( ){ -{ - HX_STACK_PUSH("GfxBytes::endLineStyle","format/gfx/GfxBytes.hx",250); - HX_STACK_THIS(this); - HX_STACK_LINE(251) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(251) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(251) - _this->b[(_this->position)++] = (int)21; - } -return null(); -} - - -Void GfxBytes_obj::lineStyle( ::format::gfx::LineStyle style){ -{ - HX_STACK_PUSH("GfxBytes::lineStyle","format/gfx/GfxBytes.hx",237); - HX_STACK_THIS(this); - HX_STACK_ARG(style,"style"); - HX_STACK_LINE(238) - { - HX_STACK_LINE(238) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(238) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(238) - _this->b[(_this->position)++] = (int)20; - } - HX_STACK_LINE(239) - this->buffer->writeFloat(style->thickness); - HX_STACK_LINE(240) - this->writeRGB(style->color); - HX_STACK_LINE(241) - this->buffer->writeFloat(style->alpha); - HX_STACK_LINE(242) - { - HX_STACK_LINE(242) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(242) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(242) - _this->b[(_this->position)++] = ( ((style->pixelHinting)) ? int((int)1) : int((int)0) ); - } - HX_STACK_LINE(243) - { - HX_STACK_LINE(243) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(243) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(243) - _this->b[(_this->position)++] = style->scaleMode->__Index(); - } - HX_STACK_LINE(244) - { - HX_STACK_LINE(244) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(244) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(244) - _this->b[(_this->position)++] = style->capsStyle->__Index(); - } - HX_STACK_LINE(245) - { - HX_STACK_LINE(245) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(245) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(245) - _this->b[(_this->position)++] = style->jointStyle->__Index(); - } - HX_STACK_LINE(246) - this->buffer->writeFloat(style->miterLimit); - } -return null(); -} - - -Void GfxBytes_obj::endFill( ){ -{ - HX_STACK_PUSH("GfxBytes::endFill","format/gfx/GfxBytes.hx",232); - HX_STACK_THIS(this); - HX_STACK_LINE(233) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(233) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(233) - _this->b[(_this->position)++] = (int)12; - } -return null(); -} - - -Void GfxBytes_obj::beginFill( int color,Float alpha){ -{ - HX_STACK_PUSH("GfxBytes::beginFill","format/gfx/GfxBytes.hx",226); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); - HX_STACK_LINE(227) - { - HX_STACK_LINE(227) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(227) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(227) - _this->b[(_this->position)++] = (int)10; - } - HX_STACK_LINE(228) - this->writeRGB(color); - HX_STACK_LINE(229) - this->buffer->writeFloat(alpha); - } -return null(); -} - - -Void GfxBytes_obj::beginGradientFill( ::format::gfx::Gradient grad){ -{ - HX_STACK_PUSH("GfxBytes::beginGradientFill","format/gfx/GfxBytes.hx",204); - HX_STACK_THIS(this); - HX_STACK_ARG(grad,"grad"); - HX_STACK_LINE(205) - { - HX_STACK_LINE(205) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(205) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(205) - _this->b[(_this->position)++] = (int)11; - } - HX_STACK_LINE(206) - { - HX_STACK_LINE(206) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(206) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(206) - _this->b[(_this->position)++] = grad->type->__Index(); - } - HX_STACK_LINE(207) - { - HX_STACK_LINE(207) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(207) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(207) - _this->b[(_this->position)++] = grad->colors->length; - } - HX_STACK_LINE(208) - { - HX_STACK_LINE(208) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = grad->colors->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(208) - while(((_g1 < _g))){ - HX_STACK_LINE(208) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(210) - this->writeRGB(::Std_obj::_int(grad->colors->__get(i))); - HX_STACK_LINE(211) - { - HX_STACK_LINE(211) - Float inVal = (grad->alphas->__get(i) * 255.0); HX_STACK_VAR(inVal,"inVal"); - HX_STACK_LINE(211) - { - HX_STACK_LINE(211) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(211) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(211) - _this->b[(_this->position)++] = ( (((inVal < (int)0))) ? int((int)0) : int(( (((inVal > 255.0))) ? int((int)255) : int(::Std_obj::_int(inVal)) )) ); - } - } - HX_STACK_LINE(212) - { - HX_STACK_LINE(212) - Float inVal = grad->ratios->__get(i); HX_STACK_VAR(inVal,"inVal"); - HX_STACK_LINE(212) - { - HX_STACK_LINE(212) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(212) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(212) - _this->b[(_this->position)++] = ( (((inVal < (int)0))) ? int((int)0) : int(( (((inVal > 255.0))) ? int((int)255) : int(::Std_obj::_int(inVal)) )) ); - } - } - } - } - HX_STACK_LINE(214) - this->buffer->writeFloat(grad->matrix->a); - HX_STACK_LINE(215) - this->buffer->writeFloat(grad->matrix->b); - HX_STACK_LINE(216) - this->buffer->writeFloat(grad->matrix->c); - HX_STACK_LINE(217) - this->buffer->writeFloat(grad->matrix->d); - HX_STACK_LINE(218) - this->buffer->writeFloat(grad->matrix->tx); - HX_STACK_LINE(219) - this->buffer->writeFloat(grad->matrix->ty); - HX_STACK_LINE(220) - { - HX_STACK_LINE(220) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(220) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(220) - _this->b[(_this->position)++] = grad->spread->__Index(); - } - HX_STACK_LINE(221) - { - HX_STACK_LINE(221) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(221) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(221) - _this->b[(_this->position)++] = grad->interp->__Index(); - } - HX_STACK_LINE(222) - this->buffer->writeFloat(grad->focus); - } -return null(); -} - - -int GfxBytes_obj::readRGB( ){ - HX_STACK_PUSH("GfxBytes::readRGB","format/gfx/GfxBytes.hx",194); - HX_STACK_THIS(this); - struct _Function_1_1{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",195); - { - HX_STACK_LINE(195) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(195) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(195) - int r = _Function_1_1::Block(this); HX_STACK_VAR(r,"r"); - struct _Function_1_2{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",196); - { - HX_STACK_LINE(196) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(196) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(196) - int g = _Function_1_2::Block(this); HX_STACK_VAR(g,"g"); - struct _Function_1_3{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",197); - { - HX_STACK_LINE(197) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(197) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(197) - int b = _Function_1_3::Block(this); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(198) - return (int((int((int(r) << int((int)16))) | int((int(g) << int((int)8))))) | int(b)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(GfxBytes_obj,readRGB,return ) - -Void GfxBytes_obj::writeRGB( int inVal){ -{ - HX_STACK_PUSH("GfxBytes::writeRGB","format/gfx/GfxBytes.hx",188); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(189) - { - HX_STACK_LINE(189) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(189) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(189) - _this->b[(_this->position)++] = (int((int(inVal) >> int((int)16))) & int((int)255)); - } - HX_STACK_LINE(190) - { - HX_STACK_LINE(190) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(190) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(190) - _this->b[(_this->position)++] = (int((int(inVal) >> int((int)8))) & int((int)255)); - } - HX_STACK_LINE(191) - { - HX_STACK_LINE(191) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(191) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(191) - _this->b[(_this->position)++] = (int(inVal) & int((int)255)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(GfxBytes_obj,writeRGB,(void)) - -Void GfxBytes_obj::pushClipped( Float inVal){ -{ - HX_STACK_PUSH("GfxBytes::pushClipped","format/gfx/GfxBytes.hx",184); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(185) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(185) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(185) - _this->b[(_this->position)++] = ( (((inVal < (int)0))) ? int((int)0) : int(( (((inVal > 255.0))) ? int((int)255) : int(::Std_obj::_int(inVal)) )) ); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(GfxBytes_obj,pushClipped,(void)) - -Void GfxBytes_obj::size( Float inWidth,Float inHeight){ -{ - HX_STACK_PUSH("GfxBytes::size","format/gfx/GfxBytes.hx",177); - HX_STACK_THIS(this); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_LINE(178) - { - HX_STACK_LINE(178) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(178) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(178) - _this->b[(_this->position)++] = (int)1; - } - HX_STACK_LINE(179) - this->buffer->writeFloat(inWidth); - HX_STACK_LINE(180) - this->buffer->writeFloat(inHeight); - } -return null(); -} - - -Void GfxBytes_obj::iterate( ::format::gfx::Gfx inGfx){ -{ - HX_STACK_PUSH("GfxBytes::iterate","format/gfx/GfxBytes.hx",95); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_LINE(96) - this->buffer->position = (int)0; - HX_STACK_LINE(97) - while((true)){ - struct _Function_2_1{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",99); - { - HX_STACK_LINE(99) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(99) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(98) - switch( (int)(_Function_2_1::Block(this))){ - case (int)0: { - HX_STACK_LINE(101) - return null(); - } - ;break; - case (int)1: { - HX_STACK_LINE(105) - Float w = this->buffer->readFloat(); HX_STACK_VAR(w,"w"); - HX_STACK_LINE(106) - Float h = this->buffer->readFloat(); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(107) - inGfx->size(w,h); - } - ;break; - case (int)10: { - HX_STACK_LINE(110) - int col = this->readRGB(); HX_STACK_VAR(col,"col"); - HX_STACK_LINE(111) - Float alpha = this->buffer->readFloat(); HX_STACK_VAR(alpha,"alpha"); - HX_STACK_LINE(112) - inGfx->beginFill(col,alpha); - } - ;break; - case (int)11: { - HX_STACK_LINE(115) - ::format::gfx::Gradient grad = ::format::gfx::Gradient_obj::__new(); HX_STACK_VAR(grad,"grad"); - struct _Function_3_1{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",116); - { - HX_STACK_LINE(116) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(116) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(116) - grad->type = ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::GradientType >(),_Function_3_1::Block(this),null()); - struct _Function_3_2{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",117); - { - HX_STACK_LINE(117) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(117) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(117) - int len = _Function_3_2::Block(this); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(118) - { - HX_STACK_LINE(118) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(118) - while(((_g < len))){ - HX_STACK_LINE(118) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(120) - grad->colors->push(this->readRGB()); - struct _Function_5_1{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",121); - { - HX_STACK_LINE(121) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(121) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(121) - grad->alphas->push((Float(_Function_5_1::Block(this)) / Float(255.0))); - struct _Function_5_2{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",122); - { - HX_STACK_LINE(122) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(122) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(122) - grad->ratios->push(_Function_5_2::Block(this)); - } - } - HX_STACK_LINE(124) - grad->matrix->a = this->buffer->readFloat(); - HX_STACK_LINE(125) - grad->matrix->b = this->buffer->readFloat(); - HX_STACK_LINE(126) - grad->matrix->c = this->buffer->readFloat(); - HX_STACK_LINE(127) - grad->matrix->d = this->buffer->readFloat(); - HX_STACK_LINE(128) - grad->matrix->tx = this->buffer->readFloat(); - HX_STACK_LINE(129) - grad->matrix->ty = this->buffer->readFloat(); - struct _Function_3_3{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",130); - { - HX_STACK_LINE(130) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(130) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(130) - grad->spread = ::format::gfx::GfxBytes_obj::spreadMethods->__get(_Function_3_3::Block(this)); - struct _Function_3_4{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",131); - { - HX_STACK_LINE(131) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(131) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(131) - grad->interp = ::format::gfx::GfxBytes_obj::interpolationMethods->__get(_Function_3_4::Block(this)); - HX_STACK_LINE(132) - grad->focus = this->buffer->readFloat(); - HX_STACK_LINE(133) - inGfx->beginGradientFill(grad); - } - ;break; - case (int)12: { - HX_STACK_LINE(135) - inGfx->endFill(); - } - ;break; - case (int)20: { - HX_STACK_LINE(139) - ::format::gfx::LineStyle style = ::format::gfx::LineStyle_obj::__new(); HX_STACK_VAR(style,"style"); - HX_STACK_LINE(140) - style->thickness = this->buffer->readFloat(); - HX_STACK_LINE(141) - style->color = this->readRGB(); - HX_STACK_LINE(142) - style->alpha = this->buffer->readFloat(); - struct _Function_3_1{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",143); - { - HX_STACK_LINE(143) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(143) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(143) - style->pixelHinting = (_Function_3_1::Block(this) > (int)0); - struct _Function_3_2{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",144); - { - HX_STACK_LINE(144) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(144) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(144) - style->scaleMode = ::format::gfx::GfxBytes_obj::scaleModes->__get(_Function_3_2::Block(this)); - struct _Function_3_3{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",145); - { - HX_STACK_LINE(145) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(145) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(145) - style->capsStyle = ::format::gfx::GfxBytes_obj::capsStyles->__get(_Function_3_3::Block(this)); - struct _Function_3_4{ - inline static int Block( ::format::gfx::GfxBytes_obj *__this){ - HX_STACK_PUSH("*::closure","format/gfx/GfxBytes.hx",146); - { - HX_STACK_LINE(146) - ::neash::utils::ByteArray _this = __this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(146) - return ( (((_this->position < _this->length))) ? int(_this->b->__get((_this->position)++)) : int(_this->ThrowEOFi()) ); - } - return null(); - } - }; - HX_STACK_LINE(146) - style->jointStyle = ::format::gfx::GfxBytes_obj::jointStyles->__get(_Function_3_4::Block(this)); - HX_STACK_LINE(147) - style->miterLimit = this->buffer->readFloat(); - HX_STACK_LINE(148) - inGfx->lineStyle(style); - } - ;break; - case (int)21: { - HX_STACK_LINE(150) - inGfx->endLineStyle(); - } - ;break; - case (int)30: { - HX_STACK_LINE(154) - Float x = this->buffer->readFloat(); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(155) - Float y = this->buffer->readFloat(); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(156) - inGfx->moveTo(x,y); - } - ;break; - case (int)31: { - HX_STACK_LINE(159) - Float x = this->buffer->readFloat(); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(160) - Float y = this->buffer->readFloat(); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(161) - inGfx->lineTo(x,y); - } - ;break; - case (int)32: { - HX_STACK_LINE(164) - Float cx = this->buffer->readFloat(); HX_STACK_VAR(cx,"cx"); - HX_STACK_LINE(165) - Float cy = this->buffer->readFloat(); HX_STACK_VAR(cy,"cy"); - HX_STACK_LINE(166) - Float x = this->buffer->readFloat(); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(167) - Float y = this->buffer->readFloat(); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(168) - inGfx->curveTo(cx,cy,x,y); - } - ;break; - default: { - HX_STACK_LINE(169) - hx::Throw (HX_CSTRING("Unknown gfx buffer format.")); - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(GfxBytes_obj,iterate,(void)) - -Void GfxBytes_obj::eof( ){ -{ - HX_STACK_PUSH("GfxBytes::eof","format/gfx/GfxBytes.hx",86); - HX_STACK_THIS(this); - HX_STACK_LINE(86) - ::neash::utils::ByteArray _this = this->buffer; HX_STACK_VAR(_this,"_this"); - HX_STACK_LINE(86) - _this->ensureElem(_this->position,true); - HX_STACK_LINE(86) - _this->b[(_this->position)++] = (int)0; - } -return null(); -} - - -::String GfxBytes_obj::toString( ){ - HX_STACK_PUSH("GfxBytes::toString","format/gfx/GfxBytes.hx",46); - HX_STACK_THIS(this); - HX_STACK_LINE(54) - ::neash::utils::ByteArray buf = ::neash::utils::ByteArray_obj::__new(this->buffer->length); HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(56) - this->buffer->position = (int)0; - HX_STACK_LINE(57) - this->buffer->readBytes(buf,null(),null()); - HX_STACK_LINE(58) - buf->compress(null()); - HX_STACK_LINE(59) - if (((::format::gfx::GfxBytes_obj::baseCoder == null()))){ - HX_STACK_LINE(60) - ::format::gfx::GfxBytes_obj::baseCoder = ::haxe::BaseCode_obj::__new(::haxe::io::Bytes_obj::ofString(::format::gfx::GfxBytes_obj::base64)); - } - HX_STACK_LINE(64) - return ::format::gfx::GfxBytes_obj::baseCoder->encodeBytes(buf)->toString(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(GfxBytes_obj,toString,return ) - -int GfxBytes_obj::_EOF; - -int GfxBytes_obj::SIZE; - -int GfxBytes_obj::BEGIN_FILL; - -int GfxBytes_obj::GRADIENT_FILL; - -int GfxBytes_obj::END_FILL; - -int GfxBytes_obj::LINE_STYLE; - -int GfxBytes_obj::END_LINE_STYLE; - -int GfxBytes_obj::MOVE; - -int GfxBytes_obj::LINE; - -int GfxBytes_obj::CURVE; - -::String GfxBytes_obj::base64; - -::haxe::BaseCode GfxBytes_obj::baseCoder; - -::format::gfx::GfxBytes GfxBytes_obj::fromString( ::String inString){ - HX_STACK_PUSH("GfxBytes::fromString","format/gfx/GfxBytes.hx",69); - HX_STACK_ARG(inString,"inString"); - HX_STACK_LINE(70) - if (((::format::gfx::GfxBytes_obj::baseCoder == null()))){ - HX_STACK_LINE(71) - ::format::gfx::GfxBytes_obj::baseCoder = ::haxe::BaseCode_obj::__new(::haxe::io::Bytes_obj::ofString(::format::gfx::GfxBytes_obj::base64)); - } - HX_STACK_LINE(78) - ::neash::utils::ByteArray bytes = ::neash::utils::ByteArray_obj::fromBytes(::format::gfx::GfxBytes_obj::baseCoder->decodeBytes(::haxe::io::Bytes_obj::ofString(inString))); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(81) - bytes->uncompress(null()); - HX_STACK_LINE(83) - return ::format::gfx::GfxBytes_obj::__new(bytes,null()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(GfxBytes_obj,fromString,return ) - -Array< ::neash::display::LineScaleMode > GfxBytes_obj::scaleModes; - -Array< ::neash::display::CapsStyle > GfxBytes_obj::capsStyles; - -Array< ::neash::display::JointStyle > GfxBytes_obj::jointStyles; - -Array< ::neash::display::SpreadMethod > GfxBytes_obj::spreadMethods; - -Array< ::neash::display::InterpolationMethod > GfxBytes_obj::interpolationMethods; - - -GfxBytes_obj::GfxBytes_obj() -{ -} - -void GfxBytes_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GfxBytes); - HX_MARK_MEMBER_NAME(buffer,"buffer"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void GfxBytes_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(buffer,"buffer"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic GfxBytes_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"EOF") ) { return _EOF; } - if (HX_FIELD_EQ(inName,"eof") ) { return eof_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"SIZE") ) { return SIZE; } - if (HX_FIELD_EQ(inName,"MOVE") ) { return MOVE; } - if (HX_FIELD_EQ(inName,"LINE") ) { return LINE; } - if (HX_FIELD_EQ(inName,"size") ) { return size_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"CURVE") ) { return CURVE; } - break; - case 6: - if (HX_FIELD_EQ(inName,"base64") ) { return base64; } - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - if (HX_FIELD_EQ(inName,"buffer") ) { return buffer; } - break; - case 7: - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - if (HX_FIELD_EQ(inName,"endFill") ) { return endFill_dyn(); } - if (HX_FIELD_EQ(inName,"readRGB") ) { return readRGB_dyn(); } - if (HX_FIELD_EQ(inName,"iterate") ) { return iterate_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"END_FILL") ) { return END_FILL; } - if (HX_FIELD_EQ(inName,"writeRGB") ) { return writeRGB_dyn(); } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"baseCoder") ) { return baseCoder; } - if (HX_FIELD_EQ(inName,"lineStyle") ) { return lineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"beginFill") ) { return beginFill_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"BEGIN_FILL") ) { return BEGIN_FILL; } - if (HX_FIELD_EQ(inName,"LINE_STYLE") ) { return LINE_STYLE; } - if (HX_FIELD_EQ(inName,"fromString") ) { return fromString_dyn(); } - if (HX_FIELD_EQ(inName,"scaleModes") ) { return scaleModes; } - if (HX_FIELD_EQ(inName,"capsStyles") ) { return capsStyles; } - break; - case 11: - if (HX_FIELD_EQ(inName,"jointStyles") ) { return jointStyles; } - if (HX_FIELD_EQ(inName,"pushClipped") ) { return pushClipped_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"endLineStyle") ) { return endLineStyle_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"GRADIENT_FILL") ) { return GRADIENT_FILL; } - if (HX_FIELD_EQ(inName,"spreadMethods") ) { return spreadMethods; } - break; - case 14: - if (HX_FIELD_EQ(inName,"END_LINE_STYLE") ) { return END_LINE_STYLE; } - break; - case 17: - if (HX_FIELD_EQ(inName,"beginGradientFill") ) { return beginGradientFill_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"interpolationMethods") ) { return interpolationMethods; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GfxBytes_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"EOF") ) { _EOF=inValue.Cast< int >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"SIZE") ) { SIZE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"MOVE") ) { MOVE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"LINE") ) { LINE=inValue.Cast< int >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"CURVE") ) { CURVE=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"base64") ) { base64=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"buffer") ) { buffer=inValue.Cast< ::neash::utils::ByteArray >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"END_FILL") ) { END_FILL=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"baseCoder") ) { baseCoder=inValue.Cast< ::haxe::BaseCode >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"BEGIN_FILL") ) { BEGIN_FILL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"LINE_STYLE") ) { LINE_STYLE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"scaleModes") ) { scaleModes=inValue.Cast< Array< ::neash::display::LineScaleMode > >(); return inValue; } - if (HX_FIELD_EQ(inName,"capsStyles") ) { capsStyles=inValue.Cast< Array< ::neash::display::CapsStyle > >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"jointStyles") ) { jointStyles=inValue.Cast< Array< ::neash::display::JointStyle > >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"GRADIENT_FILL") ) { GRADIENT_FILL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"spreadMethods") ) { spreadMethods=inValue.Cast< Array< ::neash::display::SpreadMethod > >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"END_LINE_STYLE") ) { END_LINE_STYLE=inValue.Cast< int >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"interpolationMethods") ) { interpolationMethods=inValue.Cast< Array< ::neash::display::InterpolationMethod > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void GfxBytes_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("buffer")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("EOF"), - HX_CSTRING("SIZE"), - HX_CSTRING("BEGIN_FILL"), - HX_CSTRING("GRADIENT_FILL"), - HX_CSTRING("END_FILL"), - HX_CSTRING("LINE_STYLE"), - HX_CSTRING("END_LINE_STYLE"), - HX_CSTRING("MOVE"), - HX_CSTRING("LINE"), - HX_CSTRING("CURVE"), - HX_CSTRING("base64"), - HX_CSTRING("baseCoder"), - HX_CSTRING("fromString"), - HX_CSTRING("scaleModes"), - HX_CSTRING("capsStyles"), - HX_CSTRING("jointStyles"), - HX_CSTRING("spreadMethods"), - HX_CSTRING("interpolationMethods"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("curveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("moveTo"), - HX_CSTRING("endLineStyle"), - HX_CSTRING("lineStyle"), - HX_CSTRING("endFill"), - HX_CSTRING("beginFill"), - HX_CSTRING("beginGradientFill"), - HX_CSTRING("readRGB"), - HX_CSTRING("writeRGB"), - HX_CSTRING("pushClipped"), - HX_CSTRING("size"), - HX_CSTRING("iterate"), - HX_CSTRING("eof"), - HX_CSTRING("toString"), - HX_CSTRING("buffer"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GfxBytes_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::_EOF,"EOF"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::SIZE,"SIZE"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::BEGIN_FILL,"BEGIN_FILL"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::GRADIENT_FILL,"GRADIENT_FILL"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::END_FILL,"END_FILL"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::LINE_STYLE,"LINE_STYLE"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::END_LINE_STYLE,"END_LINE_STYLE"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::MOVE,"MOVE"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::LINE,"LINE"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::CURVE,"CURVE"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::base64,"base64"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::baseCoder,"baseCoder"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::scaleModes,"scaleModes"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::capsStyles,"capsStyles"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::jointStyles,"jointStyles"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::spreadMethods,"spreadMethods"); - HX_MARK_MEMBER_NAME(GfxBytes_obj::interpolationMethods,"interpolationMethods"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GfxBytes_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::_EOF,"EOF"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::SIZE,"SIZE"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::BEGIN_FILL,"BEGIN_FILL"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::GRADIENT_FILL,"GRADIENT_FILL"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::END_FILL,"END_FILL"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::LINE_STYLE,"LINE_STYLE"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::END_LINE_STYLE,"END_LINE_STYLE"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::MOVE,"MOVE"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::LINE,"LINE"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::CURVE,"CURVE"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::base64,"base64"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::baseCoder,"baseCoder"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::scaleModes,"scaleModes"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::capsStyles,"capsStyles"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::jointStyles,"jointStyles"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::spreadMethods,"spreadMethods"); - HX_VISIT_MEMBER_NAME(GfxBytes_obj::interpolationMethods,"interpolationMethods"); -}; - -Class GfxBytes_obj::__mClass; - -void GfxBytes_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.GfxBytes"), hx::TCanCast< GfxBytes_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GfxBytes_obj::__boot() -{ - _EOF= (int)0; - SIZE= (int)1; - BEGIN_FILL= (int)10; - GRADIENT_FILL= (int)11; - END_FILL= (int)12; - LINE_STYLE= (int)20; - END_LINE_STYLE= (int)21; - MOVE= (int)30; - LINE= (int)31; - CURVE= (int)32; - base64= HX_CSTRING("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"); - scaleModes= Array_obj< ::neash::display::LineScaleMode >::__new().Add(::neash::display::LineScaleMode_obj::NORMAL_dyn()).Add(::neash::display::LineScaleMode_obj::NONE_dyn()).Add(::neash::display::LineScaleMode_obj::VERTICAL_dyn()).Add(::neash::display::LineScaleMode_obj::HORIZONTAL_dyn()); - capsStyles= Array_obj< ::neash::display::CapsStyle >::__new().Add(::neash::display::CapsStyle_obj::ROUND_dyn()).Add(::neash::display::CapsStyle_obj::NONE_dyn()).Add(::neash::display::CapsStyle_obj::SQUARE_dyn()); - jointStyles= Array_obj< ::neash::display::JointStyle >::__new().Add(::neash::display::JointStyle_obj::ROUND_dyn()).Add(::neash::display::JointStyle_obj::MITER_dyn()).Add(::neash::display::JointStyle_obj::BEVEL_dyn()); - spreadMethods= Array_obj< ::neash::display::SpreadMethod >::__new().Add(::neash::display::SpreadMethod_obj::PAD_dyn()).Add(::neash::display::SpreadMethod_obj::REPEAT_dyn()).Add(::neash::display::SpreadMethod_obj::REFLECT_dyn()); - interpolationMethods= Array_obj< ::neash::display::InterpolationMethod >::__new().Add(::neash::display::InterpolationMethod_obj::RGB_dyn()).Add(::neash::display::InterpolationMethod_obj::LINEAR_RGB_dyn()); -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/GfxExtent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/GfxExtent.cpp deleted file mode 100644 index d183d8e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/GfxExtent.cpp +++ /dev/null @@ -1,220 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_GfxExtent -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -namespace format{ -namespace gfx{ - -Void GfxExtent_obj::__construct() -{ -HX_STACK_PUSH("GfxExtent::new","format/gfx/GfxExtent.hx",11); -{ - HX_STACK_LINE(12) - super::__construct(); - HX_STACK_LINE(13) - this->extent = null(); -} -; - return null(); -} - -GfxExtent_obj::~GfxExtent_obj() { } - -Dynamic GfxExtent_obj::__CreateEmpty() { return new GfxExtent_obj; } -hx::ObjectPtr< GfxExtent_obj > GfxExtent_obj::__new() -{ hx::ObjectPtr< GfxExtent_obj > result = new GfxExtent_obj(); - result->__construct(); - return result;} - -Dynamic GfxExtent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GfxExtent_obj > result = new GfxExtent_obj(); - result->__construct(); - return result;} - -Void GfxExtent_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxExtent::curveTo","format/gfx/GfxExtent.hx",40); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(41) - this->addExtent(inCX,inCY); - HX_STACK_LINE(42) - this->addExtent(inX,inY); - } -return null(); -} - - -Void GfxExtent_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxExtent::lineTo","format/gfx/GfxExtent.hx",36); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(36) - this->addExtent(inX,inY); - } -return null(); -} - - -Void GfxExtent_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxExtent::moveTo","format/gfx/GfxExtent.hx",32); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(32) - this->addExtent(inX,inY); - } -return null(); -} - - -bool GfxExtent_obj::geometryOnly( ){ - HX_STACK_PUSH("GfxExtent::geometryOnly","format/gfx/GfxExtent.hx",30); - HX_STACK_THIS(this); - HX_STACK_LINE(30) - return true; -} - - -Void GfxExtent_obj::addExtent( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxExtent::addExtent","format/gfx/GfxExtent.hx",17); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(18) - if (((this->extent == null()))){ - HX_STACK_LINE(20) - this->extent = ::neash::geom::Rectangle_obj::__new(inX,inY,(int)0,(int)0); - HX_STACK_LINE(21) - return null(); - } - HX_STACK_LINE(23) - if (((inX < this->extent->nmeGetLeft()))){ - HX_STACK_LINE(23) - this->extent->nmeSetLeft(inX); - } - HX_STACK_LINE(24) - if (((inX > this->extent->nmeGetRight()))){ - HX_STACK_LINE(24) - this->extent->nmeSetRight(inX); - } - HX_STACK_LINE(25) - if (((inY < this->extent->nmeGetTop()))){ - HX_STACK_LINE(25) - this->extent->nmeSetTop(inY); - } - HX_STACK_LINE(26) - if (((inY > this->extent->nmeGetBottom()))){ - HX_STACK_LINE(26) - this->extent->nmeSetBottom(inY); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(GfxExtent_obj,addExtent,(void)) - - -GfxExtent_obj::GfxExtent_obj() -{ -} - -void GfxExtent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GfxExtent); - HX_MARK_MEMBER_NAME(extent,"extent"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void GfxExtent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(extent,"extent"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic GfxExtent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - if (HX_FIELD_EQ(inName,"extent") ) { return extent; } - break; - case 7: - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"addExtent") ) { return addExtent_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"geometryOnly") ) { return geometryOnly_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GfxExtent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"extent") ) { extent=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void GfxExtent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("extent")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("curveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("moveTo"), - HX_CSTRING("geometryOnly"), - HX_CSTRING("addExtent"), - HX_CSTRING("extent"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GfxExtent_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GfxExtent_obj::__mClass,"__mClass"); -}; - -Class GfxExtent_obj::__mClass; - -void GfxExtent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.GfxExtent"), hx::TCanCast< GfxExtent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GfxExtent_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/GfxGraphics.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/GfxGraphics.cpp deleted file mode 100644 index 3a82d52..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/GfxGraphics.cpp +++ /dev/null @@ -1,266 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_GfxGraphics -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_gfx_LineStyle -#include -#endif -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -#ifndef INCLUDED_neash_display_GradientType -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -#ifndef INCLUDED_neash_display_LineScaleMode -#include -#endif -#ifndef INCLUDED_neash_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace format{ -namespace gfx{ - -Void GfxGraphics_obj::__construct(::neash::display::Graphics inGraphics) -{ -HX_STACK_PUSH("GfxGraphics::new","format/gfx/GfxGraphics.hx",18); -{ - HX_STACK_LINE(19) - super::__construct(); - HX_STACK_LINE(20) - this->graphics = inGraphics; -} -; - return null(); -} - -GfxGraphics_obj::~GfxGraphics_obj() { } - -Dynamic GfxGraphics_obj::__CreateEmpty() { return new GfxGraphics_obj; } -hx::ObjectPtr< GfxGraphics_obj > GfxGraphics_obj::__new(::neash::display::Graphics inGraphics) -{ hx::ObjectPtr< GfxGraphics_obj > result = new GfxGraphics_obj(); - result->__construct(inGraphics); - return result;} - -Dynamic GfxGraphics_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GfxGraphics_obj > result = new GfxGraphics_obj(); - result->__construct(inArgs[0]); - return result;} - -Void GfxGraphics_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxGraphics::curveTo","format/gfx/GfxGraphics.hx",40); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(40) - this->graphics->curveTo(inCX,inCY,inX,inY); - } -return null(); -} - - -Void GfxGraphics_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxGraphics::lineTo","format/gfx/GfxGraphics.hx",38); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(38) - this->graphics->lineTo(inX,inY); - } -return null(); -} - - -Void GfxGraphics_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("GfxGraphics::moveTo","format/gfx/GfxGraphics.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(37) - this->graphics->moveTo(inX,inY); - } -return null(); -} - - -Void GfxGraphics_obj::endLineStyle( ){ -{ - HX_STACK_PUSH("GfxGraphics::endLineStyle","format/gfx/GfxGraphics.hx",35); - HX_STACK_THIS(this); - HX_STACK_LINE(35) - this->graphics->lineStyle(null(),null(),null(),null(),null(),null(),null(),null()); - } -return null(); -} - - -Void GfxGraphics_obj::lineStyle( ::format::gfx::LineStyle style){ -{ - HX_STACK_PUSH("GfxGraphics::lineStyle","format/gfx/GfxGraphics.hx",32); - HX_STACK_THIS(this); - HX_STACK_ARG(style,"style"); - HX_STACK_LINE(32) - this->graphics->lineStyle(style->thickness,style->color,style->alpha,style->pixelHinting,style->scaleMode,style->capsStyle,style->jointStyle,style->miterLimit); - } -return null(); -} - - -Void GfxGraphics_obj::endFill( ){ -{ - HX_STACK_PUSH("GfxGraphics::endFill","format/gfx/GfxGraphics.hx",29); - HX_STACK_THIS(this); - HX_STACK_LINE(29) - this->graphics->endFill(); - } -return null(); -} - - -Void GfxGraphics_obj::beginFill( int color,Float alpha){ -{ - HX_STACK_PUSH("GfxGraphics::beginFill","format/gfx/GfxGraphics.hx",28); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); - HX_STACK_LINE(28) - this->graphics->beginFill(color,alpha); - } -return null(); -} - - -Void GfxGraphics_obj::beginGradientFill( ::format::gfx::Gradient grad){ -{ - HX_STACK_PUSH("GfxGraphics::beginGradientFill","format/gfx/GfxGraphics.hx",24); - HX_STACK_THIS(this); - HX_STACK_ARG(grad,"grad"); - HX_STACK_LINE(24) - this->graphics->beginGradientFill(grad->type,grad->colors,grad->alphas,grad->ratios,grad->matrix,grad->spread,grad->interp,grad->focus); - } -return null(); -} - - - -GfxGraphics_obj::GfxGraphics_obj() -{ -} - -void GfxGraphics_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GfxGraphics); - HX_MARK_MEMBER_NAME(graphics,"graphics"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void GfxGraphics_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(graphics,"graphics"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic GfxGraphics_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - if (HX_FIELD_EQ(inName,"endFill") ) { return endFill_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"graphics") ) { return graphics; } - break; - case 9: - if (HX_FIELD_EQ(inName,"lineStyle") ) { return lineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"beginFill") ) { return beginFill_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"endLineStyle") ) { return endLineStyle_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"beginGradientFill") ) { return beginGradientFill_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GfxGraphics_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"graphics") ) { graphics=inValue.Cast< ::neash::display::Graphics >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void GfxGraphics_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("graphics")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("curveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("moveTo"), - HX_CSTRING("endLineStyle"), - HX_CSTRING("lineStyle"), - HX_CSTRING("endFill"), - HX_CSTRING("beginFill"), - HX_CSTRING("beginGradientFill"), - HX_CSTRING("graphics"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GfxGraphics_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GfxGraphics_obj::__mClass,"__mClass"); -}; - -Class GfxGraphics_obj::__mClass; - -void GfxGraphics_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.GfxGraphics"), hx::TCanCast< GfxGraphics_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GfxGraphics_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/GfxTextFinder.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/GfxTextFinder.cpp deleted file mode 100644 index 5c23d0d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/GfxTextFinder.cpp +++ /dev/null @@ -1,142 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_GfxTextFinder -#include -#endif -#ifndef INCLUDED_format_svg_Text -#include -#endif -namespace format{ -namespace gfx{ - -Void GfxTextFinder_obj::__construct() -{ -HX_STACK_PUSH("GfxTextFinder::new","format/gfx/GfxTextFinder.hx",9); -{ - HX_STACK_LINE(9) - super::__construct(); -} -; - return null(); -} - -GfxTextFinder_obj::~GfxTextFinder_obj() { } - -Dynamic GfxTextFinder_obj::__CreateEmpty() { return new GfxTextFinder_obj; } -hx::ObjectPtr< GfxTextFinder_obj > GfxTextFinder_obj::__new() -{ hx::ObjectPtr< GfxTextFinder_obj > result = new GfxTextFinder_obj(); - result->__construct(); - return result;} - -Dynamic GfxTextFinder_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GfxTextFinder_obj > result = new GfxTextFinder_obj(); - result->__construct(); - return result;} - -Void GfxTextFinder_obj::renderText( ::format::svg::Text inText){ -{ - HX_STACK_PUSH("GfxTextFinder::renderText","format/gfx/GfxTextFinder.hx",12); - HX_STACK_THIS(this); - HX_STACK_ARG(inText,"inText"); - HX_STACK_LINE(12) - if (((this->text == null()))){ - HX_STACK_LINE(12) - this->text = inText; - } - } -return null(); -} - - -bool GfxTextFinder_obj::geometryOnly( ){ - HX_STACK_PUSH("GfxTextFinder::geometryOnly","format/gfx/GfxTextFinder.hx",11); - HX_STACK_THIS(this); - HX_STACK_LINE(11) - return true; -} - - - -GfxTextFinder_obj::GfxTextFinder_obj() -{ -} - -void GfxTextFinder_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GfxTextFinder); - HX_MARK_MEMBER_NAME(text,"text"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void GfxTextFinder_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(text,"text"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic GfxTextFinder_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"text") ) { return text; } - break; - case 10: - if (HX_FIELD_EQ(inName,"renderText") ) { return renderText_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"geometryOnly") ) { return geometryOnly_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GfxTextFinder_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"text") ) { text=inValue.Cast< ::format::svg::Text >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void GfxTextFinder_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("text")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("renderText"), - HX_CSTRING("geometryOnly"), - HX_CSTRING("text"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GfxTextFinder_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GfxTextFinder_obj::__mClass,"__mClass"); -}; - -Class GfxTextFinder_obj::__mClass; - -void GfxTextFinder_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.GfxTextFinder"), hx::TCanCast< GfxTextFinder_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GfxTextFinder_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/Gradient.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/Gradient.cpp deleted file mode 100644 index 2e69621..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/Gradient.cpp +++ /dev/null @@ -1,179 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_neash_display_GradientType -#include -#endif -#ifndef INCLUDED_neash_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_neash_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace format{ -namespace gfx{ - -Void Gradient_obj::__construct() -{ -HX_STACK_PUSH("Gradient::new","format/gfx/Gradient.hx",14); -{ - HX_STACK_LINE(15) - this->type = ::neash::display::GradientType_obj::LINEAR_dyn(); - HX_STACK_LINE(16) - this->colors = Array_obj< int >::__new(); - HX_STACK_LINE(17) - this->alphas = Array_obj< Float >::__new(); - HX_STACK_LINE(18) - this->ratios = Array_obj< int >::__new(); - HX_STACK_LINE(19) - this->matrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - HX_STACK_LINE(20) - this->spread = ::neash::display::SpreadMethod_obj::PAD_dyn(); - HX_STACK_LINE(21) - this->interp = ::neash::display::InterpolationMethod_obj::RGB_dyn(); - HX_STACK_LINE(22) - this->focus = 0.0; -} -; - return null(); -} - -Gradient_obj::~Gradient_obj() { } - -Dynamic Gradient_obj::__CreateEmpty() { return new Gradient_obj; } -hx::ObjectPtr< Gradient_obj > Gradient_obj::__new() -{ hx::ObjectPtr< Gradient_obj > result = new Gradient_obj(); - result->__construct(); - return result;} - -Dynamic Gradient_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Gradient_obj > result = new Gradient_obj(); - result->__construct(); - return result;} - - -Gradient_obj::Gradient_obj() -{ -} - -void Gradient_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Gradient); - HX_MARK_MEMBER_NAME(focus,"focus"); - HX_MARK_MEMBER_NAME(interp,"interp"); - HX_MARK_MEMBER_NAME(spread,"spread"); - HX_MARK_MEMBER_NAME(matrix,"matrix"); - HX_MARK_MEMBER_NAME(ratios,"ratios"); - HX_MARK_MEMBER_NAME(alphas,"alphas"); - HX_MARK_MEMBER_NAME(colors,"colors"); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_END_CLASS(); -} - -void Gradient_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(focus,"focus"); - HX_VISIT_MEMBER_NAME(interp,"interp"); - HX_VISIT_MEMBER_NAME(spread,"spread"); - HX_VISIT_MEMBER_NAME(matrix,"matrix"); - HX_VISIT_MEMBER_NAME(ratios,"ratios"); - HX_VISIT_MEMBER_NAME(alphas,"alphas"); - HX_VISIT_MEMBER_NAME(colors,"colors"); - HX_VISIT_MEMBER_NAME(type,"type"); -} - -Dynamic Gradient_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { return type; } - break; - case 5: - if (HX_FIELD_EQ(inName,"focus") ) { return focus; } - break; - case 6: - if (HX_FIELD_EQ(inName,"interp") ) { return interp; } - if (HX_FIELD_EQ(inName,"spread") ) { return spread; } - if (HX_FIELD_EQ(inName,"matrix") ) { return matrix; } - if (HX_FIELD_EQ(inName,"ratios") ) { return ratios; } - if (HX_FIELD_EQ(inName,"alphas") ) { return alphas; } - if (HX_FIELD_EQ(inName,"colors") ) { return colors; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Gradient_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::neash::display::GradientType >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"focus") ) { focus=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"interp") ) { interp=inValue.Cast< ::neash::display::InterpolationMethod >(); return inValue; } - if (HX_FIELD_EQ(inName,"spread") ) { spread=inValue.Cast< ::neash::display::SpreadMethod >(); return inValue; } - if (HX_FIELD_EQ(inName,"matrix") ) { matrix=inValue.Cast< ::neash::geom::Matrix >(); return inValue; } - if (HX_FIELD_EQ(inName,"ratios") ) { ratios=inValue.Cast< Array< int > >(); return inValue; } - if (HX_FIELD_EQ(inName,"alphas") ) { alphas=inValue.Cast< Array< Float > >(); return inValue; } - if (HX_FIELD_EQ(inName,"colors") ) { colors=inValue.Cast< Array< int > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Gradient_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("focus")); - outFields->push(HX_CSTRING("interp")); - outFields->push(HX_CSTRING("spread")); - outFields->push(HX_CSTRING("matrix")); - outFields->push(HX_CSTRING("ratios")); - outFields->push(HX_CSTRING("alphas")); - outFields->push(HX_CSTRING("colors")); - outFields->push(HX_CSTRING("type")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("focus"), - HX_CSTRING("interp"), - HX_CSTRING("spread"), - HX_CSTRING("matrix"), - HX_CSTRING("ratios"), - HX_CSTRING("alphas"), - HX_CSTRING("colors"), - HX_CSTRING("type"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Gradient_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Gradient_obj::__mClass,"__mClass"); -}; - -Class Gradient_obj::__mClass; - -void Gradient_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.Gradient"), hx::TCanCast< Gradient_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Gradient_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/LineStyle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/LineStyle.cpp deleted file mode 100644 index efb1193..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/gfx/LineStyle.cpp +++ /dev/null @@ -1,180 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_LineStyle -#include -#endif -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -#ifndef INCLUDED_neash_display_LineScaleMode -#include -#endif -namespace format{ -namespace gfx{ - -Void LineStyle_obj::__construct() -{ -HX_STACK_PUSH("LineStyle::new","format/gfx/LineStyle.hx",19); -{ - HX_STACK_LINE(20) - this->thickness = 1.0; - HX_STACK_LINE(21) - this->color = (int)0; - HX_STACK_LINE(22) - this->alpha = 1.0; - HX_STACK_LINE(23) - this->pixelHinting = false; - HX_STACK_LINE(24) - this->scaleMode = ::neash::display::LineScaleMode_obj::NORMAL_dyn(); - HX_STACK_LINE(25) - this->capsStyle = ::neash::display::CapsStyle_obj::ROUND_dyn(); - HX_STACK_LINE(26) - this->jointStyle = ::neash::display::JointStyle_obj::ROUND_dyn(); - HX_STACK_LINE(27) - this->miterLimit = 3.0; -} -; - return null(); -} - -LineStyle_obj::~LineStyle_obj() { } - -Dynamic LineStyle_obj::__CreateEmpty() { return new LineStyle_obj; } -hx::ObjectPtr< LineStyle_obj > LineStyle_obj::__new() -{ hx::ObjectPtr< LineStyle_obj > result = new LineStyle_obj(); - result->__construct(); - return result;} - -Dynamic LineStyle_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< LineStyle_obj > result = new LineStyle_obj(); - result->__construct(); - return result;} - - -LineStyle_obj::LineStyle_obj() -{ -} - -void LineStyle_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(LineStyle); - HX_MARK_MEMBER_NAME(miterLimit,"miterLimit"); - HX_MARK_MEMBER_NAME(jointStyle,"jointStyle"); - HX_MARK_MEMBER_NAME(capsStyle,"capsStyle"); - HX_MARK_MEMBER_NAME(scaleMode,"scaleMode"); - HX_MARK_MEMBER_NAME(pixelHinting,"pixelHinting"); - HX_MARK_MEMBER_NAME(alpha,"alpha"); - HX_MARK_MEMBER_NAME(color,"color"); - HX_MARK_MEMBER_NAME(thickness,"thickness"); - HX_MARK_END_CLASS(); -} - -void LineStyle_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(miterLimit,"miterLimit"); - HX_VISIT_MEMBER_NAME(jointStyle,"jointStyle"); - HX_VISIT_MEMBER_NAME(capsStyle,"capsStyle"); - HX_VISIT_MEMBER_NAME(scaleMode,"scaleMode"); - HX_VISIT_MEMBER_NAME(pixelHinting,"pixelHinting"); - HX_VISIT_MEMBER_NAME(alpha,"alpha"); - HX_VISIT_MEMBER_NAME(color,"color"); - HX_VISIT_MEMBER_NAME(thickness,"thickness"); -} - -Dynamic LineStyle_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"alpha") ) { return alpha; } - if (HX_FIELD_EQ(inName,"color") ) { return color; } - break; - case 9: - if (HX_FIELD_EQ(inName,"capsStyle") ) { return capsStyle; } - if (HX_FIELD_EQ(inName,"scaleMode") ) { return scaleMode; } - if (HX_FIELD_EQ(inName,"thickness") ) { return thickness; } - break; - case 10: - if (HX_FIELD_EQ(inName,"miterLimit") ) { return miterLimit; } - if (HX_FIELD_EQ(inName,"jointStyle") ) { return jointStyle; } - break; - case 12: - if (HX_FIELD_EQ(inName,"pixelHinting") ) { return pixelHinting; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic LineStyle_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"alpha") ) { alpha=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"color") ) { color=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"capsStyle") ) { capsStyle=inValue.Cast< ::neash::display::CapsStyle >(); return inValue; } - if (HX_FIELD_EQ(inName,"scaleMode") ) { scaleMode=inValue.Cast< ::neash::display::LineScaleMode >(); return inValue; } - if (HX_FIELD_EQ(inName,"thickness") ) { thickness=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"miterLimit") ) { miterLimit=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"jointStyle") ) { jointStyle=inValue.Cast< ::neash::display::JointStyle >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"pixelHinting") ) { pixelHinting=inValue.Cast< bool >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void LineStyle_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("miterLimit")); - outFields->push(HX_CSTRING("jointStyle")); - outFields->push(HX_CSTRING("capsStyle")); - outFields->push(HX_CSTRING("scaleMode")); - outFields->push(HX_CSTRING("pixelHinting")); - outFields->push(HX_CSTRING("alpha")); - outFields->push(HX_CSTRING("color")); - outFields->push(HX_CSTRING("thickness")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("miterLimit"), - HX_CSTRING("jointStyle"), - HX_CSTRING("capsStyle"), - HX_CSTRING("scaleMode"), - HX_CSTRING("pixelHinting"), - HX_CSTRING("alpha"), - HX_CSTRING("color"), - HX_CSTRING("thickness"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(LineStyle_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(LineStyle_obj::__mClass,"__mClass"); -}; - -Class LineStyle_obj::__mClass; - -void LineStyle_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.gfx.LineStyle"), hx::TCanCast< LineStyle_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void LineStyle_obj::__boot() -{ -} - -} // end namespace format -} // end namespace gfx diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/ArcSegment.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/ArcSegment.cpp deleted file mode 100644 index 32151e8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/ArcSegment.cpp +++ /dev/null @@ -1,368 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_svg_ArcSegment -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace format{ -namespace svg{ - -Void ArcSegment_obj::__construct(Float inX1,Float inY1,Float inRX,Float inRY,Float inRotation,bool inLargeArc,bool inSweep,Float x,Float y) -{ -HX_STACK_PUSH("ArcSegment::new","format/svg/PathSegment.hx",233); -{ - HX_STACK_LINE(234) - this->x1 = inX1; - HX_STACK_LINE(235) - this->y1 = inY1; - HX_STACK_LINE(236) - super::__construct(x,y); - HX_STACK_LINE(237) - this->rx = inRX; - HX_STACK_LINE(238) - this->ry = inRY; - HX_STACK_LINE(239) - this->phi = inRotation; - HX_STACK_LINE(240) - this->fA = inLargeArc; - HX_STACK_LINE(241) - this->fS = inSweep; -} -; - return null(); -} - -ArcSegment_obj::~ArcSegment_obj() { } - -Dynamic ArcSegment_obj::__CreateEmpty() { return new ArcSegment_obj; } -hx::ObjectPtr< ArcSegment_obj > ArcSegment_obj::__new(Float inX1,Float inY1,Float inRX,Float inRY,Float inRotation,bool inLargeArc,bool inSweep,Float x,Float y) -{ hx::ObjectPtr< ArcSegment_obj > result = new ArcSegment_obj(); - result->__construct(inX1,inY1,inRX,inRY,inRotation,inLargeArc,inSweep,x,y); - return result;} - -Dynamic ArcSegment_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ArcSegment_obj > result = new ArcSegment_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7],inArgs[8]); - return result;} - -int ArcSegment_obj::getType( ){ - HX_STACK_PUSH("ArcSegment::getType","format/svg/PathSegment.hx",360); - HX_STACK_THIS(this); - HX_STACK_LINE(360) - return (int)5; -} - - -Void ArcSegment_obj::toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext){ -{ - HX_STACK_PUSH("ArcSegment::toGfx","format/svg/PathSegment.hx",245); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(ioContext,"ioContext"); - HX_STACK_LINE(246) - if (((bool((this->x1 == this->x)) && bool((this->y1 == this->y))))){ - HX_STACK_LINE(247) - return null(); - } - HX_STACK_LINE(248) - ioContext->setLast(this->x,this->y); - HX_STACK_LINE(249) - if (((bool((this->rx == (int)0)) || bool((this->ry == (int)0))))){ - HX_STACK_LINE(251) - inGfx->lineTo(ioContext->lastX,ioContext->lastY); - HX_STACK_LINE(252) - return null(); - } - HX_STACK_LINE(254) - if (((this->rx < (int)0))){ - HX_STACK_LINE(254) - this->rx = -(this->rx); - } - HX_STACK_LINE(255) - if (((this->ry < (int)0))){ - HX_STACK_LINE(255) - this->ry = -(this->ry); - } - HX_STACK_LINE(258) - Float p = (Float((this->phi * ::Math_obj::PI)) / Float(180.0)); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(259) - Float cos = ::Math_obj::cos(p); HX_STACK_VAR(cos,"cos"); - HX_STACK_LINE(260) - Float sin = ::Math_obj::sin(p); HX_STACK_VAR(sin,"sin"); - HX_STACK_LINE(263) - Float dx = (((this->x1 - this->x)) * 0.5); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(264) - Float dy = (((this->y1 - this->y)) * 0.5); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(265) - Float x1_ = ((cos * dx) + (sin * dy)); HX_STACK_VAR(x1_,"x1_"); - HX_STACK_LINE(266) - Float y1_ = ((-(sin) * dx) + (cos * dy)); HX_STACK_VAR(y1_,"y1_"); - HX_STACK_LINE(269) - Float rx2 = (this->rx * this->rx); HX_STACK_VAR(rx2,"rx2"); - HX_STACK_LINE(270) - Float ry2 = (this->ry * this->ry); HX_STACK_VAR(ry2,"ry2"); - HX_STACK_LINE(271) - Float x1_2 = (x1_ * x1_); HX_STACK_VAR(x1_2,"x1_2"); - HX_STACK_LINE(272) - Float y1_2 = (y1_ * y1_); HX_STACK_VAR(y1_2,"y1_2"); - HX_STACK_LINE(273) - Float s = (Float(((((rx2 * ry2) - (rx2 * y1_2)) - (ry2 * x1_2)))) / Float((((rx2 * y1_2) + (ry2 * x1_2))))); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(275) - if (((s < (int)0))){ - HX_STACK_LINE(276) - s = (int)0; - } - else{ - HX_STACK_LINE(277) - if (((this->fA == this->fS))){ - HX_STACK_LINE(278) - s = -(::Math_obj::sqrt(s)); - } - else{ - HX_STACK_LINE(280) - s = ::Math_obj::sqrt(s); - } - } - HX_STACK_LINE(282) - Float cx_ = (Float(((s * this->rx) * y1_)) / Float(this->ry)); HX_STACK_VAR(cx_,"cx_"); - HX_STACK_LINE(283) - Float cy_ = (Float(((-(s) * this->ry) * x1_)) / Float(this->rx)); HX_STACK_VAR(cy_,"cy_"); - HX_STACK_LINE(288) - Float xm = (((this->x1 + this->x)) * 0.5); HX_STACK_VAR(xm,"xm"); - HX_STACK_LINE(289) - Float ym = (((this->y1 + this->y)) * 0.5); HX_STACK_VAR(ym,"ym"); - HX_STACK_LINE(291) - Float cx = (((cos * cx_) - (sin * cy_)) + xm); HX_STACK_VAR(cx,"cx"); - HX_STACK_LINE(292) - Float cy = (((sin * cx_) + (cos * cy_)) + ym); HX_STACK_VAR(cy,"cy"); - HX_STACK_LINE(294) - Float theta = ::Math_obj::atan2((Float(((y1_ - cy_))) / Float(this->ry)),(Float(((x1_ - cx_))) / Float(this->rx))); HX_STACK_VAR(theta,"theta"); - HX_STACK_LINE(295) - Float dtheta = (::Math_obj::atan2((Float(((-(y1_) - cy_))) / Float(this->ry)),(Float(((-(x1_) - cx_))) / Float(this->rx))) - theta); HX_STACK_VAR(dtheta,"dtheta"); - HX_STACK_LINE(297) - if (((bool(this->fS) && bool((dtheta < (int)0))))){ - HX_STACK_LINE(298) - hx::AddEq(dtheta,(2.0 * ::Math_obj::PI)); - } - else{ - HX_STACK_LINE(299) - if (((bool(!(this->fS)) && bool((dtheta > (int)0))))){ - HX_STACK_LINE(300) - hx::SubEq(dtheta,(2.0 * ::Math_obj::PI)); - } - } - HX_STACK_LINE(303) - ::neash::geom::Matrix m = ioContext->matrix; HX_STACK_VAR(m,"m"); - HX_STACK_LINE(316) - Float Txc; HX_STACK_VAR(Txc,"Txc"); - HX_STACK_LINE(317) - Float Txs; HX_STACK_VAR(Txs,"Txs"); - HX_STACK_LINE(318) - Float Tx0; HX_STACK_VAR(Tx0,"Tx0"); - HX_STACK_LINE(319) - Float Tyc; HX_STACK_VAR(Tyc,"Tyc"); - HX_STACK_LINE(320) - Float Tys; HX_STACK_VAR(Tys,"Tys"); - HX_STACK_LINE(321) - Float Ty0; HX_STACK_VAR(Ty0,"Ty0"); - HX_STACK_LINE(322) - if (((m != null()))){ - HX_STACK_LINE(324) - Txc = (m->a * this->rx); - HX_STACK_LINE(325) - Txs = (m->c * this->ry); - HX_STACK_LINE(326) - Tx0 = (((m->a * cx) + (m->c * cy)) + m->tx); - HX_STACK_LINE(327) - Tyc = (m->b * this->rx); - HX_STACK_LINE(328) - Tys = (m->d * this->ry); - HX_STACK_LINE(329) - Ty0 = (((m->b * cx) + (m->d * cy)) + m->ty); - } - else{ - HX_STACK_LINE(333) - Txc = this->rx; - HX_STACK_LINE(334) - Txs = (int)0; - HX_STACK_LINE(335) - Tx0 = (cx + m->tx); - HX_STACK_LINE(336) - Tyc = (int)0; - HX_STACK_LINE(337) - Tys = this->ry; - HX_STACK_LINE(338) - Ty0 = (cy + m->ty); - } - HX_STACK_LINE(341) - Float len = (::Math_obj::abs(dtheta) * ::Math_obj::sqrt(((((Txc * Txc) + (Txs * Txs)) + (Tyc * Tyc)) + (Tys * Tys)))); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(343) - hx::MultEq(len,(int)5); - HX_STACK_LINE(344) - int steps = ::Math_obj::round(len); HX_STACK_VAR(steps,"steps"); - HX_STACK_LINE(347) - if (((steps > (int)1))){ - HX_STACK_LINE(349) - hx::DivEq(dtheta,steps); - HX_STACK_LINE(350) - { - HX_STACK_LINE(350) - int _g1 = (int)1; HX_STACK_VAR(_g1,"_g1"); - int _g = (steps - (int)1); HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(350) - while(((_g1 < _g))){ - HX_STACK_LINE(350) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(352) - Float c = ::Math_obj::cos(theta); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(353) - Float s1 = ::Math_obj::sin(theta); HX_STACK_VAR(s1,"s1"); - HX_STACK_LINE(354) - hx::AddEq(theta,dtheta); - HX_STACK_LINE(355) - inGfx->lineTo((((Txc * c) + (Txs * s1)) + Tx0),(((Tyc * c) + (Tys * s1)) + Ty0)); - } - } - } - HX_STACK_LINE(358) - inGfx->lineTo(ioContext->lastX,ioContext->lastY); - } -return null(); -} - - - -ArcSegment_obj::ArcSegment_obj() -{ -} - -void ArcSegment_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ArcSegment); - HX_MARK_MEMBER_NAME(fS,"fS"); - HX_MARK_MEMBER_NAME(fA,"fA"); - HX_MARK_MEMBER_NAME(phi,"phi"); - HX_MARK_MEMBER_NAME(ry,"ry"); - HX_MARK_MEMBER_NAME(rx,"rx"); - HX_MARK_MEMBER_NAME(y1,"y1"); - HX_MARK_MEMBER_NAME(x1,"x1"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ArcSegment_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(fS,"fS"); - HX_VISIT_MEMBER_NAME(fA,"fA"); - HX_VISIT_MEMBER_NAME(phi,"phi"); - HX_VISIT_MEMBER_NAME(ry,"ry"); - HX_VISIT_MEMBER_NAME(rx,"rx"); - HX_VISIT_MEMBER_NAME(y1,"y1"); - HX_VISIT_MEMBER_NAME(x1,"x1"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ArcSegment_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"fS") ) { return fS; } - if (HX_FIELD_EQ(inName,"fA") ) { return fA; } - if (HX_FIELD_EQ(inName,"ry") ) { return ry; } - if (HX_FIELD_EQ(inName,"rx") ) { return rx; } - if (HX_FIELD_EQ(inName,"y1") ) { return y1; } - if (HX_FIELD_EQ(inName,"x1") ) { return x1; } - break; - case 3: - if (HX_FIELD_EQ(inName,"phi") ) { return phi; } - break; - case 5: - if (HX_FIELD_EQ(inName,"toGfx") ) { return toGfx_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ArcSegment_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"fS") ) { fS=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"fA") ) { fA=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"ry") ) { ry=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"rx") ) { rx=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"y1") ) { y1=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x1") ) { x1=inValue.Cast< Float >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"phi") ) { phi=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ArcSegment_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("fS")); - outFields->push(HX_CSTRING("fA")); - outFields->push(HX_CSTRING("phi")); - outFields->push(HX_CSTRING("ry")); - outFields->push(HX_CSTRING("rx")); - outFields->push(HX_CSTRING("y1")); - outFields->push(HX_CSTRING("x1")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - HX_CSTRING("toGfx"), - HX_CSTRING("fS"), - HX_CSTRING("fA"), - HX_CSTRING("phi"), - HX_CSTRING("ry"), - HX_CSTRING("rx"), - HX_CSTRING("y1"), - HX_CSTRING("x1"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ArcSegment_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ArcSegment_obj::__mClass,"__mClass"); -}; - -Class ArcSegment_obj::__mClass; - -void ArcSegment_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.ArcSegment"), hx::TCanCast< ArcSegment_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ArcSegment_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/CubicSegment.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/CubicSegment.cpp deleted file mode 100644 index 06c0810..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/CubicSegment.cpp +++ /dev/null @@ -1,339 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_svg_CubicSegment -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_QuadraticSegment -#include -#endif -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -namespace format{ -namespace svg{ - -Void CubicSegment_obj::__construct(Float inCX1,Float inCY1,Float inCX2,Float inCY2,Float inX,Float inY) -{ -HX_STACK_PUSH("CubicSegment::new","format/svg/PathSegment.hx",93); -{ - HX_STACK_LINE(94) - super::__construct(inX,inY); - HX_STACK_LINE(95) - this->cx1 = inCX1; - HX_STACK_LINE(96) - this->cy1 = inCY1; - HX_STACK_LINE(97) - this->cx2 = inCX2; - HX_STACK_LINE(98) - this->cy2 = inCY2; -} -; - return null(); -} - -CubicSegment_obj::~CubicSegment_obj() { } - -Dynamic CubicSegment_obj::__CreateEmpty() { return new CubicSegment_obj; } -hx::ObjectPtr< CubicSegment_obj > CubicSegment_obj::__new(Float inCX1,Float inCY1,Float inCX2,Float inCY2,Float inX,Float inY) -{ hx::ObjectPtr< CubicSegment_obj > result = new CubicSegment_obj(); - result->__construct(inCX1,inCY1,inCX2,inCY2,inX,inY); - return result;} - -Dynamic CubicSegment_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< CubicSegment_obj > result = new CubicSegment_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5]); - return result;} - -int CubicSegment_obj::getType( ){ - HX_STACK_PUSH("CubicSegment::getType","format/svg/PathSegment.hx",218); - HX_STACK_THIS(this); - HX_STACK_LINE(218) - return (int)4; -} - - -Array< ::format::svg::QuadraticSegment > CubicSegment_obj::toQuadratics( Float tx0,Float ty0){ - HX_STACK_PUSH("CubicSegment::toQuadratics","format/svg/PathSegment.hx",170); - HX_STACK_THIS(this); - HX_STACK_ARG(tx0,"tx0"); - HX_STACK_ARG(ty0,"ty0"); - HX_STACK_LINE(171) - Array< ::format::svg::QuadraticSegment > result = Array_obj< ::format::svg::QuadraticSegment >::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(174) - Float pa_x = this->Interp(tx0,this->cx1,0.75); HX_STACK_VAR(pa_x,"pa_x"); - HX_STACK_LINE(175) - Float pa_y = this->Interp(ty0,this->cy1,0.75); HX_STACK_VAR(pa_y,"pa_y"); - HX_STACK_LINE(176) - Float pb_x = this->Interp(this->x,this->cx2,0.75); HX_STACK_VAR(pb_x,"pb_x"); - HX_STACK_LINE(177) - Float pb_y = this->Interp(this->y,this->cy2,0.75); HX_STACK_VAR(pb_y,"pb_y"); - HX_STACK_LINE(180) - Float dx = (Float(((this->x - tx0))) / Float((int)16)); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(181) - Float dy = (Float(((this->y - ty0))) / Float((int)16)); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(184) - Float pcx_1 = this->Interp(tx0,this->cx1,0.375); HX_STACK_VAR(pcx_1,"pcx_1"); - HX_STACK_LINE(185) - Float pcy_1 = this->Interp(ty0,this->cy1,0.375); HX_STACK_VAR(pcy_1,"pcy_1"); - HX_STACK_LINE(188) - Float pcx_2 = (this->Interp(pa_x,pb_x,0.375) - dx); HX_STACK_VAR(pcx_2,"pcx_2"); - HX_STACK_LINE(189) - Float pcy_2 = (this->Interp(pa_y,pb_y,0.375) - dy); HX_STACK_VAR(pcy_2,"pcy_2"); - HX_STACK_LINE(192) - Float pcx_3 = (this->Interp(pb_x,pa_x,0.375) + dx); HX_STACK_VAR(pcx_3,"pcx_3"); - HX_STACK_LINE(193) - Float pcy_3 = (this->Interp(pb_y,pa_y,0.375) + dy); HX_STACK_VAR(pcy_3,"pcy_3"); - HX_STACK_LINE(196) - Float pcx_4 = this->Interp(this->x,this->cx2,0.375); HX_STACK_VAR(pcx_4,"pcx_4"); - HX_STACK_LINE(197) - Float pcy_4 = this->Interp(this->y,this->cy2,0.375); HX_STACK_VAR(pcy_4,"pcy_4"); - HX_STACK_LINE(200) - Float pax_1 = (((pcx_1 + pcx_2)) * 0.5); HX_STACK_VAR(pax_1,"pax_1"); - HX_STACK_LINE(201) - Float pay_1 = (((pcy_1 + pcy_2)) * 0.5); HX_STACK_VAR(pay_1,"pay_1"); - HX_STACK_LINE(203) - Float pax_2 = (((pa_x + pb_x)) * 0.5); HX_STACK_VAR(pax_2,"pax_2"); - HX_STACK_LINE(204) - Float pay_2 = (((pa_y + pb_y)) * 0.5); HX_STACK_VAR(pay_2,"pay_2"); - HX_STACK_LINE(206) - Float pax_3 = (((pcx_3 + pcx_4)) * 0.5); HX_STACK_VAR(pax_3,"pax_3"); - HX_STACK_LINE(207) - Float pay_3 = (((pcy_3 + pcy_4)) * 0.5); HX_STACK_VAR(pay_3,"pay_3"); - HX_STACK_LINE(210) - result->push(::format::svg::QuadraticSegment_obj::__new(pcx_1,pcy_1,pax_1,pay_1)); - HX_STACK_LINE(211) - result->push(::format::svg::QuadraticSegment_obj::__new(pcx_2,pcy_2,pax_2,pay_2)); - HX_STACK_LINE(212) - result->push(::format::svg::QuadraticSegment_obj::__new(pcx_3,pcy_3,pax_3,pay_3)); - HX_STACK_LINE(213) - result->push(::format::svg::QuadraticSegment_obj::__new(pcx_4,pcy_4,this->x,this->y)); - HX_STACK_LINE(214) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC2(CubicSegment_obj,toQuadratics,return ) - -Void CubicSegment_obj::toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext){ -{ - HX_STACK_PUSH("CubicSegment::toGfx","format/svg/PathSegment.hx",110); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(ioContext,"ioContext"); - HX_STACK_LINE(112) - Float tx0 = ioContext->lastX; HX_STACK_VAR(tx0,"tx0"); - HX_STACK_LINE(113) - Float ty0 = ioContext->lastY; HX_STACK_VAR(ty0,"ty0"); - HX_STACK_LINE(115) - Float tx1 = ioContext->transX(this->cx1,this->cy1); HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(116) - Float ty1 = ioContext->transY(this->cx1,this->cy1); HX_STACK_VAR(ty1,"ty1"); - HX_STACK_LINE(117) - Float tx2 = ioContext->transX(this->cx2,this->cy2); HX_STACK_VAR(tx2,"tx2"); - HX_STACK_LINE(118) - Float ty2 = ioContext->transY(this->cx2,this->cy2); HX_STACK_VAR(ty2,"ty2"); - HX_STACK_LINE(120) - ioContext->setLast(this->x,this->y); - HX_STACK_LINE(121) - Float tx3 = ioContext->lastX; HX_STACK_VAR(tx3,"tx3"); - HX_STACK_LINE(122) - Float ty3 = ioContext->lastY; HX_STACK_VAR(ty3,"ty3"); - HX_STACK_LINE(126) - Float pa_x = this->Interp(tx0,tx1,0.75); HX_STACK_VAR(pa_x,"pa_x"); - HX_STACK_LINE(127) - Float pa_y = this->Interp(ty0,ty1,0.75); HX_STACK_VAR(pa_y,"pa_y"); - HX_STACK_LINE(128) - Float pb_x = this->Interp(tx3,tx2,0.75); HX_STACK_VAR(pb_x,"pb_x"); - HX_STACK_LINE(129) - Float pb_y = this->Interp(ty3,ty2,0.75); HX_STACK_VAR(pb_y,"pb_y"); - HX_STACK_LINE(132) - Float dx = (Float(((tx3 - tx0))) / Float((int)16)); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(133) - Float dy = (Float(((ty3 - ty0))) / Float((int)16)); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(136) - Float pcx_1 = this->Interp(tx0,tx1,0.375); HX_STACK_VAR(pcx_1,"pcx_1"); - HX_STACK_LINE(137) - Float pcy_1 = this->Interp(ty0,ty1,0.375); HX_STACK_VAR(pcy_1,"pcy_1"); - HX_STACK_LINE(140) - Float pcx_2 = (this->Interp(pa_x,pb_x,0.375) - dx); HX_STACK_VAR(pcx_2,"pcx_2"); - HX_STACK_LINE(141) - Float pcy_2 = (this->Interp(pa_y,pb_y,0.375) - dy); HX_STACK_VAR(pcy_2,"pcy_2"); - HX_STACK_LINE(144) - Float pcx_3 = (this->Interp(pb_x,pa_x,0.375) + dx); HX_STACK_VAR(pcx_3,"pcx_3"); - HX_STACK_LINE(145) - Float pcy_3 = (this->Interp(pb_y,pa_y,0.375) + dy); HX_STACK_VAR(pcy_3,"pcy_3"); - HX_STACK_LINE(148) - Float pcx_4 = this->Interp(tx3,tx2,0.375); HX_STACK_VAR(pcx_4,"pcx_4"); - HX_STACK_LINE(149) - Float pcy_4 = this->Interp(ty3,ty2,0.375); HX_STACK_VAR(pcy_4,"pcy_4"); - HX_STACK_LINE(152) - Float pax_1 = (((pcx_1 + pcx_2)) * 0.5); HX_STACK_VAR(pax_1,"pax_1"); - HX_STACK_LINE(153) - Float pay_1 = (((pcy_1 + pcy_2)) * 0.5); HX_STACK_VAR(pay_1,"pay_1"); - HX_STACK_LINE(155) - Float pax_2 = (((pa_x + pb_x)) * 0.5); HX_STACK_VAR(pax_2,"pax_2"); - HX_STACK_LINE(156) - Float pay_2 = (((pa_y + pb_y)) * 0.5); HX_STACK_VAR(pay_2,"pay_2"); - HX_STACK_LINE(158) - Float pax_3 = (((pcx_3 + pcx_4)) * 0.5); HX_STACK_VAR(pax_3,"pax_3"); - HX_STACK_LINE(159) - Float pay_3 = (((pcy_3 + pcy_4)) * 0.5); HX_STACK_VAR(pay_3,"pay_3"); - HX_STACK_LINE(162) - inGfx->curveTo(pcx_1,pcy_1,pax_1,pay_1); - HX_STACK_LINE(163) - inGfx->curveTo(pcx_2,pcy_2,pax_2,pay_2); - HX_STACK_LINE(164) - inGfx->curveTo(pcx_3,pcy_3,pax_3,pay_3); - HX_STACK_LINE(165) - inGfx->curveTo(pcx_4,pcy_4,tx3,ty3); - } -return null(); -} - - -Float CubicSegment_obj::Interp( Float a,Float b,Float frac){ - HX_STACK_PUSH("CubicSegment::Interp","format/svg/PathSegment.hx",105); - HX_STACK_THIS(this); - HX_STACK_ARG(a,"a"); - HX_STACK_ARG(b,"b"); - HX_STACK_ARG(frac,"frac"); - HX_STACK_LINE(105) - return (a + (((b - a)) * frac)); -} - - -HX_DEFINE_DYNAMIC_FUNC3(CubicSegment_obj,Interp,return ) - -Float CubicSegment_obj::prevCY( ){ - HX_STACK_PUSH("CubicSegment::prevCY","format/svg/PathSegment.hx",102); - HX_STACK_THIS(this); - HX_STACK_LINE(102) - return this->cy2; -} - - -Float CubicSegment_obj::prevCX( ){ - HX_STACK_PUSH("CubicSegment::prevCX","format/svg/PathSegment.hx",101); - HX_STACK_THIS(this); - HX_STACK_LINE(101) - return this->cx2; -} - - - -CubicSegment_obj::CubicSegment_obj() -{ -} - -void CubicSegment_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(CubicSegment); - HX_MARK_MEMBER_NAME(cy2,"cy2"); - HX_MARK_MEMBER_NAME(cx2,"cx2"); - HX_MARK_MEMBER_NAME(cy1,"cy1"); - HX_MARK_MEMBER_NAME(cx1,"cx1"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void CubicSegment_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(cy2,"cy2"); - HX_VISIT_MEMBER_NAME(cx2,"cx2"); - HX_VISIT_MEMBER_NAME(cy1,"cy1"); - HX_VISIT_MEMBER_NAME(cx1,"cx1"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic CubicSegment_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"cy2") ) { return cy2; } - if (HX_FIELD_EQ(inName,"cx2") ) { return cx2; } - if (HX_FIELD_EQ(inName,"cy1") ) { return cy1; } - if (HX_FIELD_EQ(inName,"cx1") ) { return cx1; } - break; - case 5: - if (HX_FIELD_EQ(inName,"toGfx") ) { return toGfx_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"Interp") ) { return Interp_dyn(); } - if (HX_FIELD_EQ(inName,"prevCY") ) { return prevCY_dyn(); } - if (HX_FIELD_EQ(inName,"prevCX") ) { return prevCX_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"toQuadratics") ) { return toQuadratics_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic CubicSegment_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"cy2") ) { cy2=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"cx2") ) { cx2=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"cy1") ) { cy1=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"cx1") ) { cx1=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void CubicSegment_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("cy2")); - outFields->push(HX_CSTRING("cx2")); - outFields->push(HX_CSTRING("cy1")); - outFields->push(HX_CSTRING("cx1")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - HX_CSTRING("toQuadratics"), - HX_CSTRING("toGfx"), - HX_CSTRING("Interp"), - HX_CSTRING("prevCY"), - HX_CSTRING("prevCX"), - HX_CSTRING("cy2"), - HX_CSTRING("cx2"), - HX_CSTRING("cy1"), - HX_CSTRING("cx1"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(CubicSegment_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(CubicSegment_obj::__mClass,"__mClass"); -}; - -Class CubicSegment_obj::__mClass; - -void CubicSegment_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.CubicSegment"), hx::TCanCast< CubicSegment_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void CubicSegment_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/DisplayElement.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/DisplayElement.cpp deleted file mode 100644 index d33ef9c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/DisplayElement.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_format_svg_DisplayElement -#include -#endif -#ifndef INCLUDED_format_svg_Group -#include -#endif -#ifndef INCLUDED_format_svg_Path -#include -#endif -#ifndef INCLUDED_format_svg_Text -#include -#endif -namespace format{ -namespace svg{ - -::format::svg::DisplayElement DisplayElement_obj::DisplayGroup(::format::svg::Group group) - { return hx::CreateEnum< DisplayElement_obj >(HX_CSTRING("DisplayGroup"),1,hx::DynamicArray(0,1).Add(group)); } - -::format::svg::DisplayElement DisplayElement_obj::DisplayPath(::format::svg::Path path) - { return hx::CreateEnum< DisplayElement_obj >(HX_CSTRING("DisplayPath"),0,hx::DynamicArray(0,1).Add(path)); } - -::format::svg::DisplayElement DisplayElement_obj::DisplayText(::format::svg::Text text) - { return hx::CreateEnum< DisplayElement_obj >(HX_CSTRING("DisplayText"),2,hx::DynamicArray(0,1).Add(text)); } - -HX_DEFINE_CREATE_ENUM(DisplayElement_obj) - -int DisplayElement_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("DisplayGroup")) return 1; - if (inName==HX_CSTRING("DisplayPath")) return 0; - if (inName==HX_CSTRING("DisplayText")) return 2; - return super::__FindIndex(inName); -} - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(DisplayElement_obj,DisplayGroup,return) - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(DisplayElement_obj,DisplayPath,return) - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(DisplayElement_obj,DisplayText,return) - -int DisplayElement_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("DisplayGroup")) return 1; - if (inName==HX_CSTRING("DisplayPath")) return 1; - if (inName==HX_CSTRING("DisplayText")) return 1; - return super::__FindArgCount(inName); -} - -Dynamic DisplayElement_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("DisplayGroup")) return DisplayGroup_dyn(); - if (inName==HX_CSTRING("DisplayPath")) return DisplayPath_dyn(); - if (inName==HX_CSTRING("DisplayText")) return DisplayText_dyn(); - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("DisplayPath"), - HX_CSTRING("DisplayGroup"), - HX_CSTRING("DisplayText"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(DisplayElement_obj::__mClass,"__mClass"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class DisplayElement_obj::__mClass; - -Dynamic __Create_DisplayElement_obj() { return new DisplayElement_obj; } - -void DisplayElement_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.DisplayElement"), hx::TCanCast< DisplayElement_obj >,sStaticFields,sMemberFields, - &__Create_DisplayElement_obj, &__Create, - &super::__SGetClass(), &CreateDisplayElement_obj, sMarkStatics, sVisitStatic); -} - -void DisplayElement_obj::__boot() -{ -} - - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/DrawSegment.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/DrawSegment.cpp deleted file mode 100644 index dd72f2a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/DrawSegment.cpp +++ /dev/null @@ -1,134 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_svg_DrawSegment -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -namespace format{ -namespace svg{ - -Void DrawSegment_obj::__construct(Float inX,Float inY) -{ -HX_STACK_PUSH("DrawSegment::new","format/svg/PathSegment.hx",50); -{ - HX_STACK_LINE(50) - super::__construct(inX,inY); -} -; - return null(); -} - -DrawSegment_obj::~DrawSegment_obj() { } - -Dynamic DrawSegment_obj::__CreateEmpty() { return new DrawSegment_obj; } -hx::ObjectPtr< DrawSegment_obj > DrawSegment_obj::__new(Float inX,Float inY) -{ hx::ObjectPtr< DrawSegment_obj > result = new DrawSegment_obj(); - result->__construct(inX,inY); - return result;} - -Dynamic DrawSegment_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< DrawSegment_obj > result = new DrawSegment_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -int DrawSegment_obj::getType( ){ - HX_STACK_PUSH("DrawSegment::getType","format/svg/PathSegment.hx",57); - HX_STACK_THIS(this); - HX_STACK_LINE(57) - return (int)2; -} - - -Void DrawSegment_obj::toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext){ -{ - HX_STACK_PUSH("DrawSegment::toGfx","format/svg/PathSegment.hx",52); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(ioContext,"ioContext"); - HX_STACK_LINE(53) - ioContext->setLast(this->x,this->y); - HX_STACK_LINE(54) - inGfx->lineTo(ioContext->lastX,ioContext->lastY); - } -return null(); -} - - - -DrawSegment_obj::DrawSegment_obj() -{ -} - -void DrawSegment_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(DrawSegment); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void DrawSegment_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic DrawSegment_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"toGfx") ) { return toGfx_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic DrawSegment_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void DrawSegment_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - HX_CSTRING("toGfx"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(DrawSegment_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(DrawSegment_obj::__mClass,"__mClass"); -}; - -Class DrawSegment_obj::__mClass; - -void DrawSegment_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.DrawSegment"), hx::TCanCast< DrawSegment_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void DrawSegment_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/FillType.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/FillType.cpp deleted file mode 100644 index 2294907..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/FillType.cpp +++ /dev/null @@ -1,88 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_svg_FillType -#include -#endif -#ifndef INCLUDED_format_svg_Grad -#include -#endif -namespace format{ -namespace svg{ - -::format::svg::FillType FillType_obj::FillGrad(::format::svg::Grad grad) - { return hx::CreateEnum< FillType_obj >(HX_CSTRING("FillGrad"),0,hx::DynamicArray(0,1).Add(grad)); } - -::format::svg::FillType FillType_obj::FillNone; - -::format::svg::FillType FillType_obj::FillSolid(int colour) - { return hx::CreateEnum< FillType_obj >(HX_CSTRING("FillSolid"),1,hx::DynamicArray(0,1).Add(colour)); } - -HX_DEFINE_CREATE_ENUM(FillType_obj) - -int FillType_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("FillGrad")) return 0; - if (inName==HX_CSTRING("FillNone")) return 2; - if (inName==HX_CSTRING("FillSolid")) return 1; - return super::__FindIndex(inName); -} - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FillType_obj,FillGrad,return) - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FillType_obj,FillSolid,return) - -int FillType_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("FillGrad")) return 1; - if (inName==HX_CSTRING("FillNone")) return 0; - if (inName==HX_CSTRING("FillSolid")) return 1; - return super::__FindArgCount(inName); -} - -Dynamic FillType_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("FillGrad")) return FillGrad_dyn(); - if (inName==HX_CSTRING("FillNone")) return FillNone; - if (inName==HX_CSTRING("FillSolid")) return FillSolid_dyn(); - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("FillGrad"), - HX_CSTRING("FillSolid"), - HX_CSTRING("FillNone"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FillType_obj::FillNone,"FillNone"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FillType_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FillType_obj::FillNone,"FillNone"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class FillType_obj::__mClass; - -Dynamic __Create_FillType_obj() { return new FillType_obj; } - -void FillType_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.FillType"), hx::TCanCast< FillType_obj >,sStaticFields,sMemberFields, - &__Create_FillType_obj, &__Create, - &super::__SGetClass(), &CreateFillType_obj, sMarkStatics, sVisitStatic); -} - -void FillType_obj::__boot() -{ -Static(FillNone) = hx::CreateEnum< FillType_obj >(HX_CSTRING("FillNone"),2); -} - - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/Grad.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/Grad.cpp deleted file mode 100644 index 05950b1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/Grad.cpp +++ /dev/null @@ -1,225 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_svg_Grad -#include -#endif -#ifndef INCLUDED_neash_display_GradientType -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace format{ -namespace svg{ - -Void Grad_obj::__construct(::neash::display::GradientType inType) -{ -HX_STACK_PUSH("Grad::new","format/svg/Grad.hx",23); -{ - HX_STACK_LINE(24) - super::__construct(); - HX_STACK_LINE(25) - this->type = inType; - HX_STACK_LINE(26) - this->radius = 0.0; - HX_STACK_LINE(27) - this->gradMatrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - HX_STACK_LINE(28) - this->x1 = 0.0; - HX_STACK_LINE(29) - this->y1 = 0.0; - HX_STACK_LINE(30) - this->x2 = 0.0; - HX_STACK_LINE(31) - this->y2 = 0.0; -} -; - return null(); -} - -Grad_obj::~Grad_obj() { } - -Dynamic Grad_obj::__CreateEmpty() { return new Grad_obj; } -hx::ObjectPtr< Grad_obj > Grad_obj::__new(::neash::display::GradientType inType) -{ hx::ObjectPtr< Grad_obj > result = new Grad_obj(); - result->__construct(inType); - return result;} - -Dynamic Grad_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Grad_obj > result = new Grad_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Grad_obj::updateMatrix( ::neash::geom::Matrix inMatrix){ -{ - HX_STACK_PUSH("Grad::updateMatrix","format/svg/Grad.hx",35); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_LINE(36) - Float dx = (this->x2 - this->x1); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(37) - Float dy = (this->y2 - this->y1); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(38) - Float theta = ::Math_obj::atan2(dy,dx); HX_STACK_VAR(theta,"theta"); - HX_STACK_LINE(39) - Float len = ::Math_obj::sqrt(((dx * dx) + (dy * dy))); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(41) - ::neash::geom::Matrix mtx = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(mtx,"mtx"); - HX_STACK_LINE(43) - if (((this->type == ::neash::display::GradientType_obj::LINEAR_dyn()))){ - HX_STACK_LINE(45) - mtx->createGradientBox(1.0,1.0,null(),null(),null()); - HX_STACK_LINE(46) - mtx->scale(len,len); - } - else{ - HX_STACK_LINE(50) - if (((this->radius != 0.0))){ - HX_STACK_LINE(51) - this->focus = (Float(len) / Float(this->radius)); - } - HX_STACK_LINE(53) - mtx->createGradientBox(1.0,1.0,null(),null(),null()); - HX_STACK_LINE(54) - mtx->translate(-0.5,-0.5); - HX_STACK_LINE(55) - mtx->scale((this->radius * (int)2),(this->radius * (int)2)); - } - HX_STACK_LINE(58) - mtx->rotate(theta); - HX_STACK_LINE(59) - mtx->translate(this->x1,this->y1); - HX_STACK_LINE(60) - mtx->concat(this->gradMatrix); - HX_STACK_LINE(61) - mtx->concat(inMatrix); - HX_STACK_LINE(62) - this->matrix = mtx; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Grad_obj,updateMatrix,(void)) - - -Grad_obj::Grad_obj() -{ -} - -void Grad_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Grad); - HX_MARK_MEMBER_NAME(y2,"y2"); - HX_MARK_MEMBER_NAME(x2,"x2"); - HX_MARK_MEMBER_NAME(y1,"y1"); - HX_MARK_MEMBER_NAME(x1,"x1"); - HX_MARK_MEMBER_NAME(radius,"radius"); - HX_MARK_MEMBER_NAME(gradMatrix,"gradMatrix"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Grad_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(y2,"y2"); - HX_VISIT_MEMBER_NAME(x2,"x2"); - HX_VISIT_MEMBER_NAME(y1,"y1"); - HX_VISIT_MEMBER_NAME(x1,"x1"); - HX_VISIT_MEMBER_NAME(radius,"radius"); - HX_VISIT_MEMBER_NAME(gradMatrix,"gradMatrix"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Grad_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"y2") ) { return y2; } - if (HX_FIELD_EQ(inName,"x2") ) { return x2; } - if (HX_FIELD_EQ(inName,"y1") ) { return y1; } - if (HX_FIELD_EQ(inName,"x1") ) { return x1; } - break; - case 6: - if (HX_FIELD_EQ(inName,"radius") ) { return radius; } - break; - case 10: - if (HX_FIELD_EQ(inName,"gradMatrix") ) { return gradMatrix; } - break; - case 12: - if (HX_FIELD_EQ(inName,"updateMatrix") ) { return updateMatrix_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Grad_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"y2") ) { y2=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x2") ) { x2=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"y1") ) { y1=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x1") ) { x1=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"radius") ) { radius=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"gradMatrix") ) { gradMatrix=inValue.Cast< ::neash::geom::Matrix >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Grad_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("y2")); - outFields->push(HX_CSTRING("x2")); - outFields->push(HX_CSTRING("y1")); - outFields->push(HX_CSTRING("x1")); - outFields->push(HX_CSTRING("radius")); - outFields->push(HX_CSTRING("gradMatrix")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("updateMatrix"), - HX_CSTRING("y2"), - HX_CSTRING("x2"), - HX_CSTRING("y1"), - HX_CSTRING("x1"), - HX_CSTRING("radius"), - HX_CSTRING("gradMatrix"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Grad_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Grad_obj::__mClass,"__mClass"); -}; - -Class Grad_obj::__mClass; - -void Grad_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.Grad"), hx::TCanCast< Grad_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Grad_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/Group.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/Group.cpp deleted file mode 100644 index 00d5057..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/Group.cpp +++ /dev/null @@ -1,178 +0,0 @@ -#include - -#ifndef INCLUDED_format_svg_DisplayElement -#include -#endif -#ifndef INCLUDED_format_svg_Group -#include -#endif -namespace format{ -namespace svg{ - -Void Group_obj::__construct() -{ -HX_STACK_PUSH("Group::new","format/svg/Group.hx",7); -{ - HX_STACK_LINE(8) - this->name = HX_CSTRING(""); - HX_STACK_LINE(9) - this->children = Array_obj< ::format::svg::DisplayElement >::__new(); -} -; - return null(); -} - -Group_obj::~Group_obj() { } - -Dynamic Group_obj::__CreateEmpty() { return new Group_obj; } -hx::ObjectPtr< Group_obj > Group_obj::__new() -{ hx::ObjectPtr< Group_obj > result = new Group_obj(); - result->__construct(); - return result;} - -Dynamic Group_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Group_obj > result = new Group_obj(); - result->__construct(); - return result;} - -::format::svg::Group Group_obj::findGroup( ::String inName){ - HX_STACK_PUSH("Group::findGroup","format/svg/Group.hx",14); - HX_STACK_THIS(this); - HX_STACK_ARG(inName,"inName"); - HX_STACK_LINE(15) - { - HX_STACK_LINE(15) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::format::svg::DisplayElement > _g1 = this->children; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(15) - while(((_g < _g1->length))){ - HX_STACK_LINE(15) - ::format::svg::DisplayElement child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(15) - ++(_g); - HX_STACK_LINE(16) - { - ::format::svg::DisplayElement _switch_1 = (child); - switch((_switch_1)->GetIndex()){ - case 1: { - ::format::svg::Group group = _switch_1->__Param(0); -{ - HX_STACK_LINE(18) - if (((group->name == inName))){ - HX_STACK_LINE(20) - return group; - } - } - } - ;break; - default: { - } - } - } - } - } - HX_STACK_LINE(23) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Group_obj,findGroup,return ) - -bool Group_obj::hasGroup( ::String inName){ - HX_STACK_PUSH("Group::hasGroup","format/svg/Group.hx",12); - HX_STACK_THIS(this); - HX_STACK_ARG(inName,"inName"); - HX_STACK_LINE(12) - return (this->findGroup(inName) != null()); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Group_obj,hasGroup,return ) - - -Group_obj::Group_obj() -{ -} - -void Group_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Group); - HX_MARK_MEMBER_NAME(children,"children"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_END_CLASS(); -} - -void Group_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(children,"children"); - HX_VISIT_MEMBER_NAME(name,"name"); -} - -Dynamic Group_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 8: - if (HX_FIELD_EQ(inName,"children") ) { return children; } - if (HX_FIELD_EQ(inName,"hasGroup") ) { return hasGroup_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"findGroup") ) { return findGroup_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Group_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"children") ) { children=inValue.Cast< Array< ::format::svg::DisplayElement > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Group_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("children")); - outFields->push(HX_CSTRING("name")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("children"), - HX_CSTRING("name"), - HX_CSTRING("findGroup"), - HX_CSTRING("hasGroup"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Group_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Group_obj::__mClass,"__mClass"); -}; - -Class Group_obj::__mClass; - -void Group_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.Group"), hx::TCanCast< Group_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Group_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/MoveSegment.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/MoveSegment.cpp deleted file mode 100644 index 59f41c3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/MoveSegment.cpp +++ /dev/null @@ -1,109 +0,0 @@ -#include - -#ifndef INCLUDED_format_svg_MoveSegment -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -namespace format{ -namespace svg{ - -Void MoveSegment_obj::__construct(Float inX,Float inY) -{ -HX_STACK_PUSH("MoveSegment::new","format/svg/PathSegment.hx",43); -{ - HX_STACK_LINE(43) - super::__construct(inX,inY); -} -; - return null(); -} - -MoveSegment_obj::~MoveSegment_obj() { } - -Dynamic MoveSegment_obj::__CreateEmpty() { return new MoveSegment_obj; } -hx::ObjectPtr< MoveSegment_obj > MoveSegment_obj::__new(Float inX,Float inY) -{ hx::ObjectPtr< MoveSegment_obj > result = new MoveSegment_obj(); - result->__construct(inX,inY); - return result;} - -Dynamic MoveSegment_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< MoveSegment_obj > result = new MoveSegment_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -int MoveSegment_obj::getType( ){ - HX_STACK_PUSH("MoveSegment::getType","format/svg/PathSegment.hx",44); - HX_STACK_THIS(this); - HX_STACK_LINE(44) - return (int)1; -} - - - -MoveSegment_obj::MoveSegment_obj() -{ -} - -void MoveSegment_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(MoveSegment); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void MoveSegment_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic MoveSegment_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic MoveSegment_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void MoveSegment_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(MoveSegment_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(MoveSegment_obj::__mClass,"__mClass"); -}; - -Class MoveSegment_obj::__mClass; - -void MoveSegment_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.MoveSegment"), hx::TCanCast< MoveSegment_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void MoveSegment_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/Path.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/Path.cpp deleted file mode 100644 index 51d37f0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/Path.cpp +++ /dev/null @@ -1,210 +0,0 @@ -#include - -#ifndef INCLUDED_format_svg_FillType -#include -#endif -#ifndef INCLUDED_format_svg_Path -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace format{ -namespace svg{ - -Void Path_obj::__construct() -{ -HX_STACK_PUSH("Path::new","format/svg/Path.hx",15); -{ -} -; - return null(); -} - -Path_obj::~Path_obj() { } - -Dynamic Path_obj::__CreateEmpty() { return new Path_obj; } -hx::ObjectPtr< Path_obj > Path_obj::__new() -{ hx::ObjectPtr< Path_obj > result = new Path_obj(); - result->__construct(); - return result;} - -Dynamic Path_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Path_obj > result = new Path_obj(); - result->__construct(); - return result;} - - -Path_obj::Path_obj() -{ -} - -void Path_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Path); - HX_MARK_MEMBER_NAME(segments,"segments"); - HX_MARK_MEMBER_NAME(miter_limit,"miter_limit"); - HX_MARK_MEMBER_NAME(joint_style,"joint_style"); - HX_MARK_MEMBER_NAME(stroke_caps,"stroke_caps"); - HX_MARK_MEMBER_NAME(stroke_width,"stroke_width"); - HX_MARK_MEMBER_NAME(stroke_colour,"stroke_colour"); - HX_MARK_MEMBER_NAME(stroke_alpha,"stroke_alpha"); - HX_MARK_MEMBER_NAME(fill_alpha,"fill_alpha"); - HX_MARK_MEMBER_NAME(fill,"fill"); - HX_MARK_MEMBER_NAME(font_size,"font_size"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_MEMBER_NAME(matrix,"matrix"); - HX_MARK_END_CLASS(); -} - -void Path_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(segments,"segments"); - HX_VISIT_MEMBER_NAME(miter_limit,"miter_limit"); - HX_VISIT_MEMBER_NAME(joint_style,"joint_style"); - HX_VISIT_MEMBER_NAME(stroke_caps,"stroke_caps"); - HX_VISIT_MEMBER_NAME(stroke_width,"stroke_width"); - HX_VISIT_MEMBER_NAME(stroke_colour,"stroke_colour"); - HX_VISIT_MEMBER_NAME(stroke_alpha,"stroke_alpha"); - HX_VISIT_MEMBER_NAME(fill_alpha,"fill_alpha"); - HX_VISIT_MEMBER_NAME(fill,"fill"); - HX_VISIT_MEMBER_NAME(font_size,"font_size"); - HX_VISIT_MEMBER_NAME(name,"name"); - HX_VISIT_MEMBER_NAME(matrix,"matrix"); -} - -Dynamic Path_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"fill") ) { return fill; } - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 6: - if (HX_FIELD_EQ(inName,"matrix") ) { return matrix; } - break; - case 8: - if (HX_FIELD_EQ(inName,"segments") ) { return segments; } - break; - case 9: - if (HX_FIELD_EQ(inName,"font_size") ) { return font_size; } - break; - case 10: - if (HX_FIELD_EQ(inName,"fill_alpha") ) { return fill_alpha; } - break; - case 11: - if (HX_FIELD_EQ(inName,"miter_limit") ) { return miter_limit; } - if (HX_FIELD_EQ(inName,"joint_style") ) { return joint_style; } - if (HX_FIELD_EQ(inName,"stroke_caps") ) { return stroke_caps; } - break; - case 12: - if (HX_FIELD_EQ(inName,"stroke_width") ) { return stroke_width; } - if (HX_FIELD_EQ(inName,"stroke_alpha") ) { return stroke_alpha; } - break; - case 13: - if (HX_FIELD_EQ(inName,"stroke_colour") ) { return stroke_colour; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Path_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"fill") ) { fill=inValue.Cast< ::format::svg::FillType >(); return inValue; } - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"matrix") ) { matrix=inValue.Cast< ::neash::geom::Matrix >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"segments") ) { segments=inValue.Cast< Array< ::format::svg::PathSegment > >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"font_size") ) { font_size=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"fill_alpha") ) { fill_alpha=inValue.Cast< Float >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"miter_limit") ) { miter_limit=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"joint_style") ) { joint_style=inValue.Cast< ::neash::display::JointStyle >(); return inValue; } - if (HX_FIELD_EQ(inName,"stroke_caps") ) { stroke_caps=inValue.Cast< ::neash::display::CapsStyle >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"stroke_width") ) { stroke_width=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"stroke_alpha") ) { stroke_alpha=inValue.Cast< Float >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"stroke_colour") ) { stroke_colour=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Path_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("segments")); - outFields->push(HX_CSTRING("miter_limit")); - outFields->push(HX_CSTRING("joint_style")); - outFields->push(HX_CSTRING("stroke_caps")); - outFields->push(HX_CSTRING("stroke_width")); - outFields->push(HX_CSTRING("stroke_colour")); - outFields->push(HX_CSTRING("stroke_alpha")); - outFields->push(HX_CSTRING("fill_alpha")); - outFields->push(HX_CSTRING("fill")); - outFields->push(HX_CSTRING("font_size")); - outFields->push(HX_CSTRING("name")); - outFields->push(HX_CSTRING("matrix")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("segments"), - HX_CSTRING("miter_limit"), - HX_CSTRING("joint_style"), - HX_CSTRING("stroke_caps"), - HX_CSTRING("stroke_width"), - HX_CSTRING("stroke_colour"), - HX_CSTRING("stroke_alpha"), - HX_CSTRING("fill_alpha"), - HX_CSTRING("fill"), - HX_CSTRING("font_size"), - HX_CSTRING("name"), - HX_CSTRING("matrix"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Path_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Path_obj::__mClass,"__mClass"); -}; - -Class Path_obj::__mClass; - -void Path_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.Path"), hx::TCanCast< Path_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Path_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/PathParser.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/PathParser.cpp deleted file mode 100644 index fa0d73a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/PathParser.cpp +++ /dev/null @@ -1,884 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_format_svg_ArcSegment -#include -#endif -#ifndef INCLUDED_format_svg_CubicSegment -#include -#endif -#ifndef INCLUDED_format_svg_DrawSegment -#include -#endif -#ifndef INCLUDED_format_svg_MoveSegment -#include -#endif -#ifndef INCLUDED_format_svg_PathParser -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_QuadraticSegment -#include -#endif -namespace format{ -namespace svg{ - -Void PathParser_obj::__construct() -{ -HX_STACK_PUSH("PathParser::new","format/svg/PathParser.hx",48); -{ - HX_STACK_LINE(48) - if (((::format::svg::PathParser_obj::sCommandArgs == null()))){ - HX_STACK_LINE(51) - ::format::svg::PathParser_obj::sCommandArgs = Array_obj< int >::__new(); - HX_STACK_LINE(52) - { - HX_STACK_LINE(52) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(52) - while(((_g < (int)128))){ - HX_STACK_LINE(52) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(53) - ::format::svg::PathParser_obj::sCommandArgs[i] = this->commandArgs(i); - } - } - } -} -; - return null(); -} - -PathParser_obj::~PathParser_obj() { } - -Dynamic PathParser_obj::__CreateEmpty() { return new PathParser_obj; } -hx::ObjectPtr< PathParser_obj > PathParser_obj::__new() -{ hx::ObjectPtr< PathParser_obj > result = new PathParser_obj(); - result->__construct(); - return result;} - -Dynamic PathParser_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< PathParser_obj > result = new PathParser_obj(); - result->__construct(); - return result;} - -::format::svg::PathSegment PathParser_obj::createCommand( int code,Array< Float > a){ - HX_STACK_PUSH("PathParser::createCommand","format/svg/PathParser.hx",227); - HX_STACK_THIS(this); - HX_STACK_ARG(code,"code"); - HX_STACK_ARG(a,"a"); - HX_STACK_LINE(228) - int _switch_1 = (code); - if ( ( _switch_1==::format::svg::PathParser_obj::MOVE)){ - HX_STACK_LINE(231) - this->lastMoveX = a->__get((int)0); - HX_STACK_LINE(232) - this->lastMoveY = a->__get((int)1); - HX_STACK_LINE(233) - return ::format::svg::MoveSegment_obj::__new(this->lastMoveX,this->lastMoveY); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::MOVER)){ - HX_STACK_LINE(235) - this->lastMoveX = (a->__get((int)0) + this->prevX()); - HX_STACK_LINE(236) - this->lastMoveY = (a->__get((int)1) + this->prevY()); - HX_STACK_LINE(237) - return ::format::svg::MoveSegment_obj::__new(this->lastMoveX,this->lastMoveY); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::LINE)){ - HX_STACK_LINE(238) - return ::format::svg::DrawSegment_obj::__new(a->__get((int)0),a->__get((int)1)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::LINER)){ - HX_STACK_LINE(239) - return ::format::svg::DrawSegment_obj::__new((a->__get((int)0) + this->prevX()),(a->__get((int)1) + this->prevY())); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::HLINE)){ - HX_STACK_LINE(240) - return ::format::svg::DrawSegment_obj::__new(a->__get((int)0),this->prevY()); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::HLINER)){ - HX_STACK_LINE(241) - return ::format::svg::DrawSegment_obj::__new((a->__get((int)0) + this->prevX()),this->prevY()); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::VLINE)){ - HX_STACK_LINE(242) - return ::format::svg::DrawSegment_obj::__new(this->prevX(),a->__get((int)0)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::VLINER)){ - HX_STACK_LINE(243) - return ::format::svg::DrawSegment_obj::__new(this->prevX(),(a->__get((int)0) + this->prevY())); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::CUBIC)){ - HX_STACK_LINE(244) - return ::format::svg::CubicSegment_obj::__new(a->__get((int)0),a->__get((int)1),a->__get((int)2),a->__get((int)3),a->__get((int)4),a->__get((int)5)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::CUBICR)){ - HX_STACK_LINE(247) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(248) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(249) - return ::format::svg::CubicSegment_obj::__new((a->__get((int)0) + rx),(a->__get((int)1) + ry),(a->__get((int)2) + rx),(a->__get((int)3) + ry),(a->__get((int)4) + rx),(a->__get((int)5) + ry)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::SCUBIC)){ - HX_STACK_LINE(251) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(252) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(253) - return ::format::svg::CubicSegment_obj::__new(((rx * (int)2) - this->prevCX()),((ry * (int)2) - this->prevCY()),a->__get((int)0),a->__get((int)1),a->__get((int)2),a->__get((int)3)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::SCUBICR)){ - HX_STACK_LINE(255) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(256) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(257) - return ::format::svg::CubicSegment_obj::__new(((rx * (int)2) - this->prevCX()),((ry * (int)2) - this->prevCY()),(a->__get((int)0) + rx),(a->__get((int)1) + ry),(a->__get((int)2) + rx),(a->__get((int)3) + ry)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::QUAD)){ - HX_STACK_LINE(258) - return ::format::svg::QuadraticSegment_obj::__new(a->__get((int)0),a->__get((int)1),a->__get((int)2),a->__get((int)3)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::QUADR)){ - HX_STACK_LINE(260) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(261) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(262) - return ::format::svg::QuadraticSegment_obj::__new((a->__get((int)0) + rx),(a->__get((int)1) + ry),(a->__get((int)2) + rx),(a->__get((int)3) + ry)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::SQUAD)){ - HX_STACK_LINE(264) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(265) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(266) - return ::format::svg::QuadraticSegment_obj::__new(((rx * (int)2) - this->prevCX()),((rx * (int)2) - this->prevCY()),a->__get((int)2),a->__get((int)3)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::SQUADR)){ - HX_STACK_LINE(268) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(269) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(270) - return ::format::svg::QuadraticSegment_obj::__new(((rx * (int)2) - this->prevCX()),((ry * (int)2) - this->prevCY()),(a->__get((int)0) + rx),(a->__get((int)1) + ry)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::ARC)){ - HX_STACK_LINE(271) - return ::format::svg::ArcSegment_obj::__new(this->prevX(),this->prevY(),a->__get((int)0),a->__get((int)1),a->__get((int)2),(a->__get((int)3) != 0.),(a->__get((int)4) != 0.),a->__get((int)5),a->__get((int)6)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::ARCR)){ - HX_STACK_LINE(274) - Float rx = this->prevX(); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(275) - Float ry = this->prevY(); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(276) - return ::format::svg::ArcSegment_obj::__new(rx,ry,a->__get((int)0),a->__get((int)1),a->__get((int)2),(a->__get((int)3) != 0.),(a->__get((int)4) != 0.),(a->__get((int)5) + rx),(a->__get((int)6) + ry)); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::CLOSE)){ - HX_STACK_LINE(277) - return ::format::svg::DrawSegment_obj::__new(this->lastMoveX,this->lastMoveY); - } - else if ( ( _switch_1==::format::svg::PathParser_obj::CLOSER)){ - HX_STACK_LINE(280) - return ::format::svg::DrawSegment_obj::__new(this->lastMoveX,this->lastMoveY); - } - HX_STACK_LINE(284) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(PathParser_obj,createCommand,return ) - -Float PathParser_obj::prevCY( ){ - HX_STACK_PUSH("PathParser::prevCY","format/svg/PathParser.hx",224); - HX_STACK_THIS(this); - HX_STACK_LINE(224) - return ( (((this->prev != null()))) ? Float(this->prev->prevCY()) : Float((int)0) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathParser_obj,prevCY,return ) - -Float PathParser_obj::prevCX( ){ - HX_STACK_PUSH("PathParser::prevCX","format/svg/PathParser.hx",223); - HX_STACK_THIS(this); - HX_STACK_LINE(223) - return ( (((this->prev != null()))) ? Float(this->prev->prevCX()) : Float((int)0) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathParser_obj,prevCX,return ) - -Float PathParser_obj::prevY( ){ - HX_STACK_PUSH("PathParser::prevY","format/svg/PathParser.hx",222); - HX_STACK_THIS(this); - HX_STACK_LINE(222) - return ( (((this->prev != null()))) ? Float(this->prev->prevY()) : Float((int)0) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathParser_obj,prevY,return ) - -Float PathParser_obj::prevX( ){ - HX_STACK_PUSH("PathParser::prevX","format/svg/PathParser.hx",221); - HX_STACK_THIS(this); - HX_STACK_LINE(221) - return ( (((this->prev != null()))) ? Float(this->prev->prevX()) : Float((int)0) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathParser_obj,prevX,return ) - -int PathParser_obj::commandArgs( int inCode){ - HX_STACK_PUSH("PathParser::commandArgs","format/svg/PathParser.hx",196); - HX_STACK_THIS(this); - HX_STACK_ARG(inCode,"inCode"); - HX_STACK_LINE(197) - if (((inCode == (int)10))){ - HX_STACK_LINE(197) - return ::format::svg::PathParser_obj::SEPARATOR; - } - HX_STACK_LINE(199) - ::String str = ::String::fromCharCode(inCode).toUpperCase(); HX_STACK_VAR(str,"str"); - HX_STACK_LINE(200) - if (((bool((str >= HX_CSTRING("0"))) && bool((str <= HX_CSTRING("9")))))){ - HX_STACK_LINE(201) - return ::format::svg::PathParser_obj::FLOAT; - } - HX_STACK_LINE(203) - ::String _switch_2 = (str); - if ( ( _switch_2==HX_CSTRING("Z"))){ - HX_STACK_LINE(205) - return (int)0; - } - else if ( ( _switch_2==HX_CSTRING("H")) || ( _switch_2==HX_CSTRING("V"))){ - HX_STACK_LINE(206) - return (int)1; - } - else if ( ( _switch_2==HX_CSTRING("M")) || ( _switch_2==HX_CSTRING("L")) || ( _switch_2==HX_CSTRING("T"))){ - HX_STACK_LINE(207) - return (int)2; - } - else if ( ( _switch_2==HX_CSTRING("S")) || ( _switch_2==HX_CSTRING("Q"))){ - HX_STACK_LINE(208) - return (int)4; - } - else if ( ( _switch_2==HX_CSTRING("C"))){ - HX_STACK_LINE(209) - return (int)6; - } - else if ( ( _switch_2==HX_CSTRING("A"))){ - HX_STACK_LINE(210) - return (int)7; - } - else if ( ( _switch_2==HX_CSTRING("\t")) || ( _switch_2==HX_CSTRING("\n")) || ( _switch_2==HX_CSTRING(" ")) || ( _switch_2==HX_CSTRING("\r")) || ( _switch_2==HX_CSTRING(","))){ - HX_STACK_LINE(211) - return ::format::svg::PathParser_obj::SEPARATOR; - } - else if ( ( _switch_2==HX_CSTRING("-"))){ - HX_STACK_LINE(212) - return ::format::svg::PathParser_obj::FLOAT_SIGN; - } - else if ( ( _switch_2==HX_CSTRING("+"))){ - HX_STACK_LINE(213) - return ::format::svg::PathParser_obj::FLOAT_SIGN; - } - else if ( ( _switch_2==HX_CSTRING("E")) || ( _switch_2==HX_CSTRING("e"))){ - HX_STACK_LINE(214) - return ::format::svg::PathParser_obj::FLOAT_EXP; - } - else if ( ( _switch_2==HX_CSTRING("."))){ - HX_STACK_LINE(215) - return ::format::svg::PathParser_obj::FLOAT_DOT; - } - HX_STACK_LINE(218) - return ::format::svg::PathParser_obj::UNKNOWN; -} - - -HX_DEFINE_DYNAMIC_FUNC1(PathParser_obj,commandArgs,return ) - -Array< ::format::svg::PathSegment > PathParser_obj::parse( ::String pathToParse,bool inConvertCubics){ - HX_STACK_PUSH("PathParser::parse","format/svg/PathParser.hx",57); - HX_STACK_THIS(this); - HX_STACK_ARG(pathToParse,"pathToParse"); - HX_STACK_ARG(inConvertCubics,"inConvertCubics"); - HX_STACK_LINE(58) - this->lastMoveX = this->lastMoveY = (int)0; - HX_STACK_LINE(59) - int pos = (int)0; HX_STACK_VAR(pos,"pos"); - HX_STACK_LINE(60) - Array< Float > args = Array_obj< Float >::__new(); HX_STACK_VAR(args,"args"); - HX_STACK_LINE(61) - Array< ::format::svg::PathSegment > segments = Array_obj< ::format::svg::PathSegment >::__new(); HX_STACK_VAR(segments,"segments"); - HX_STACK_LINE(62) - int current_command_pos = (int)0; HX_STACK_VAR(current_command_pos,"current_command_pos"); - HX_STACK_LINE(63) - int current_command = (int)-1; HX_STACK_VAR(current_command,"current_command"); - HX_STACK_LINE(64) - int current_args = (int)-1; HX_STACK_VAR(current_args,"current_args"); - HX_STACK_LINE(66) - this->prev = null(); - HX_STACK_LINE(68) - int len = pathToParse.length; HX_STACK_VAR(len,"len"); - HX_STACK_LINE(69) - bool finished = false; HX_STACK_VAR(finished,"finished"); - HX_STACK_LINE(70) - while(((pos <= len))){ - HX_STACK_LINE(72) - Dynamic code = ( (((pos == len))) ? Dynamic((int)32) : Dynamic(pathToParse.charCodeAt(pos)) ); HX_STACK_VAR(code,"code"); - HX_STACK_LINE(73) - int command = ( (((bool((code > (int)0)) && bool((code < (int)128))))) ? int(::format::svg::PathParser_obj::sCommandArgs->__get(code)) : int(::format::svg::PathParser_obj::UNKNOWN) ); HX_STACK_VAR(command,"command"); - HX_STACK_LINE(75) - if (((command == ::format::svg::PathParser_obj::UNKNOWN))){ - HX_STACK_LINE(76) - hx::Throw (((HX_CSTRING("failed parsing path near '") + pathToParse.substr(pos,null())) + HX_CSTRING("'"))); - } - HX_STACK_LINE(78) - if (((command == ::format::svg::PathParser_obj::SEPARATOR))){ - HX_STACK_LINE(79) - (pos)++; - } - else{ - HX_STACK_LINE(82) - if (((command <= ::format::svg::PathParser_obj::FLOAT))){ - HX_STACK_LINE(84) - int end = (pos + (int)1); HX_STACK_VAR(end,"end"); - HX_STACK_LINE(85) - int e_pos = (int)-1; HX_STACK_VAR(e_pos,"e_pos"); - HX_STACK_LINE(86) - bool seen_dot = (command == ::format::svg::PathParser_obj::FLOAT_DOT); HX_STACK_VAR(seen_dot,"seen_dot"); - HX_STACK_LINE(87) - if (((command == ::format::svg::PathParser_obj::FLOAT_EXP))){ - HX_STACK_LINE(89) - e_pos = (int)0; - HX_STACK_LINE(90) - seen_dot = true; - } - HX_STACK_LINE(92) - while(((end < pathToParse.length))){ - HX_STACK_LINE(94) - Dynamic ch = pathToParse.charCodeAt(end); HX_STACK_VAR(ch,"ch"); - HX_STACK_LINE(95) - int code1 = ( (((bool((ch < (int)0)) || bool((ch > (int)127))))) ? int(::format::svg::PathParser_obj::UNKNOWN) : int(::format::svg::PathParser_obj::sCommandArgs->__get(ch)) ); HX_STACK_VAR(code1,"code1"); - HX_STACK_LINE(96) - if (((code1 > ::format::svg::PathParser_obj::FLOAT))){ - HX_STACK_LINE(97) - break; - } - HX_STACK_LINE(98) - if (((bool((code1 == ::format::svg::PathParser_obj::FLOAT_DOT)) && bool(seen_dot)))){ - HX_STACK_LINE(99) - break; - } - HX_STACK_LINE(100) - if (((e_pos >= (int)0))){ - HX_STACK_LINE(102) - if (((code1 == ::format::svg::PathParser_obj::FLOAT_SIGN))){ - HX_STACK_LINE(103) - if (((e_pos != (int)0))){ - HX_STACK_LINE(105) - break; - } - } - else{ - HX_STACK_LINE(107) - if (((code1 != ::format::svg::PathParser_obj::FLOAT))){ - HX_STACK_LINE(108) - break; - } - } - HX_STACK_LINE(109) - (e_pos)++; - } - else{ - HX_STACK_LINE(111) - if (((code1 == ::format::svg::PathParser_obj::FLOAT_EXP))){ - HX_STACK_LINE(113) - if (((e_pos >= (int)0))){ - HX_STACK_LINE(114) - break; - } - HX_STACK_LINE(115) - e_pos = (int)0; - HX_STACK_LINE(116) - seen_dot = true; - } - else{ - HX_STACK_LINE(118) - if (((code1 == ::format::svg::PathParser_obj::FLOAT_SIGN))){ - HX_STACK_LINE(119) - break; - } - } - } - HX_STACK_LINE(120) - (end)++; - } - HX_STACK_LINE(122) - if (((current_command < (int)0))){ - } - else{ - HX_STACK_LINE(129) - Float f = ::Std_obj::parseFloat(pathToParse.substr(pos,(end - pos))); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(130) - args->push(f); - } - HX_STACK_LINE(132) - pos = end; - } - else{ - HX_STACK_LINE(136) - current_command = code; - HX_STACK_LINE(137) - current_args = command; - HX_STACK_LINE(138) - finished = false; - HX_STACK_LINE(139) - current_command_pos = pos; - HX_STACK_LINE(140) - args = Array_obj< Float >::__new(); - HX_STACK_LINE(141) - (pos)++; - } - } - HX_STACK_LINE(144) - Float px = 0.0; HX_STACK_VAR(px,"px"); - HX_STACK_LINE(145) - Float py = 0.0; HX_STACK_VAR(py,"py"); - HX_STACK_LINE(146) - if (((current_command >= (int)0))){ - HX_STACK_LINE(147) - if (((current_args == args->length))){ - HX_STACK_LINE(150) - if (((bool(inConvertCubics) && bool((this->prev != null()))))){ - HX_STACK_LINE(152) - px = this->prev->prevX(); - HX_STACK_LINE(153) - py = this->prev->prevY(); - } - HX_STACK_LINE(155) - this->prev = this->createCommand(current_command,args); - HX_STACK_LINE(156) - if (((this->prev == null()))){ - HX_STACK_LINE(157) - hx::Throw (((((HX_CSTRING("Unknown command ") + ::String::fromCharCode(current_command)) + HX_CSTRING(" near '")) + pathToParse.substr(current_command_pos,null())) + HX_CSTRING("'"))); - } - HX_STACK_LINE(159) - if (((bool(inConvertCubics) && bool((this->prev->getType() == (int)4))))){ - HX_STACK_LINE(161) - ::format::svg::CubicSegment cubic = this->prev; HX_STACK_VAR(cubic,"cubic"); - HX_STACK_LINE(162) - Array< ::format::svg::QuadraticSegment > quads = cubic->toQuadratics(px,py); HX_STACK_VAR(quads,"quads"); - HX_STACK_LINE(163) - { - HX_STACK_LINE(163) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(163) - while(((_g < quads->length))){ - HX_STACK_LINE(163) - ::format::svg::QuadraticSegment q = quads->__get(_g); HX_STACK_VAR(q,"q"); - HX_STACK_LINE(163) - ++(_g); - HX_STACK_LINE(164) - segments->push(q); - } - } - } - else{ - HX_STACK_LINE(167) - segments->push(this->prev); - } - HX_STACK_LINE(169) - finished = true; - HX_STACK_LINE(170) - if (((current_args == (int)0))){ - HX_STACK_LINE(172) - current_args = (int)-1; - HX_STACK_LINE(173) - current_command = (int)-1; - } - else{ - HX_STACK_LINE(175) - if (((current_command == ::format::svg::PathParser_obj::MOVE))){ - HX_STACK_LINE(176) - current_command = ::format::svg::PathParser_obj::LINE; - } - else{ - HX_STACK_LINE(177) - if (((current_command == ::format::svg::PathParser_obj::MOVER))){ - HX_STACK_LINE(178) - current_command = ::format::svg::PathParser_obj::LINER; - } - } - } - HX_STACK_LINE(180) - current_command_pos = pos; - HX_STACK_LINE(181) - args = Array_obj< Float >::__new(); - } - } - } - HX_STACK_LINE(186) - if (((bool((current_command >= (int)0)) && bool(!(finished))))){ - HX_STACK_LINE(187) - hx::Throw (((((((HX_CSTRING("Unfinished command (") + args->length) + HX_CSTRING("/")) + current_args) + HX_CSTRING(") near '")) + pathToParse.substr(current_command_pos,null())) + HX_CSTRING("'"))); - } - HX_STACK_LINE(192) - return segments; -} - - -HX_DEFINE_DYNAMIC_FUNC2(PathParser_obj,parse,return ) - -Array< int > PathParser_obj::sCommandArgs; - -Dynamic PathParser_obj::MOVE; - -Dynamic PathParser_obj::MOVER; - -Dynamic PathParser_obj::LINE; - -Dynamic PathParser_obj::LINER; - -Dynamic PathParser_obj::HLINE; - -Dynamic PathParser_obj::HLINER; - -Dynamic PathParser_obj::VLINE; - -Dynamic PathParser_obj::VLINER; - -Dynamic PathParser_obj::CUBIC; - -Dynamic PathParser_obj::CUBICR; - -Dynamic PathParser_obj::SCUBIC; - -Dynamic PathParser_obj::SCUBICR; - -Dynamic PathParser_obj::QUAD; - -Dynamic PathParser_obj::QUADR; - -Dynamic PathParser_obj::SQUAD; - -Dynamic PathParser_obj::SQUADR; - -Dynamic PathParser_obj::ARC; - -Dynamic PathParser_obj::ARCR; - -Dynamic PathParser_obj::CLOSE; - -Dynamic PathParser_obj::CLOSER; - -int PathParser_obj::UNKNOWN; - -int PathParser_obj::SEPARATOR; - -int PathParser_obj::FLOAT; - -int PathParser_obj::FLOAT_SIGN; - -int PathParser_obj::FLOAT_DOT; - -int PathParser_obj::FLOAT_EXP; - - -PathParser_obj::PathParser_obj() -{ -} - -void PathParser_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(PathParser); - HX_MARK_MEMBER_NAME(prev,"prev"); - HX_MARK_MEMBER_NAME(lastMoveY,"lastMoveY"); - HX_MARK_MEMBER_NAME(lastMoveX,"lastMoveX"); - HX_MARK_END_CLASS(); -} - -void PathParser_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(prev,"prev"); - HX_VISIT_MEMBER_NAME(lastMoveY,"lastMoveY"); - HX_VISIT_MEMBER_NAME(lastMoveX,"lastMoveX"); -} - -Dynamic PathParser_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"ARC") ) { return ARC; } - break; - case 4: - if (HX_FIELD_EQ(inName,"MOVE") ) { return MOVE; } - if (HX_FIELD_EQ(inName,"LINE") ) { return LINE; } - if (HX_FIELD_EQ(inName,"QUAD") ) { return QUAD; } - if (HX_FIELD_EQ(inName,"ARCR") ) { return ARCR; } - if (HX_FIELD_EQ(inName,"prev") ) { return prev; } - break; - case 5: - if (HX_FIELD_EQ(inName,"MOVER") ) { return MOVER; } - if (HX_FIELD_EQ(inName,"LINER") ) { return LINER; } - if (HX_FIELD_EQ(inName,"HLINE") ) { return HLINE; } - if (HX_FIELD_EQ(inName,"VLINE") ) { return VLINE; } - if (HX_FIELD_EQ(inName,"CUBIC") ) { return CUBIC; } - if (HX_FIELD_EQ(inName,"QUADR") ) { return QUADR; } - if (HX_FIELD_EQ(inName,"SQUAD") ) { return SQUAD; } - if (HX_FIELD_EQ(inName,"CLOSE") ) { return CLOSE; } - if (HX_FIELD_EQ(inName,"FLOAT") ) { return FLOAT; } - if (HX_FIELD_EQ(inName,"prevY") ) { return prevY_dyn(); } - if (HX_FIELD_EQ(inName,"prevX") ) { return prevX_dyn(); } - if (HX_FIELD_EQ(inName,"parse") ) { return parse_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"HLINER") ) { return HLINER; } - if (HX_FIELD_EQ(inName,"VLINER") ) { return VLINER; } - if (HX_FIELD_EQ(inName,"CUBICR") ) { return CUBICR; } - if (HX_FIELD_EQ(inName,"SCUBIC") ) { return SCUBIC; } - if (HX_FIELD_EQ(inName,"SQUADR") ) { return SQUADR; } - if (HX_FIELD_EQ(inName,"CLOSER") ) { return CLOSER; } - if (HX_FIELD_EQ(inName,"prevCY") ) { return prevCY_dyn(); } - if (HX_FIELD_EQ(inName,"prevCX") ) { return prevCX_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"SCUBICR") ) { return SCUBICR; } - if (HX_FIELD_EQ(inName,"UNKNOWN") ) { return UNKNOWN; } - break; - case 9: - if (HX_FIELD_EQ(inName,"SEPARATOR") ) { return SEPARATOR; } - if (HX_FIELD_EQ(inName,"FLOAT_DOT") ) { return FLOAT_DOT; } - if (HX_FIELD_EQ(inName,"FLOAT_EXP") ) { return FLOAT_EXP; } - if (HX_FIELD_EQ(inName,"lastMoveY") ) { return lastMoveY; } - if (HX_FIELD_EQ(inName,"lastMoveX") ) { return lastMoveX; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FLOAT_SIGN") ) { return FLOAT_SIGN; } - break; - case 11: - if (HX_FIELD_EQ(inName,"commandArgs") ) { return commandArgs_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"sCommandArgs") ) { return sCommandArgs; } - break; - case 13: - if (HX_FIELD_EQ(inName,"createCommand") ) { return createCommand_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic PathParser_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"ARC") ) { ARC=inValue.Cast< Dynamic >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"MOVE") ) { MOVE=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"LINE") ) { LINE=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"QUAD") ) { QUAD=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"ARCR") ) { ARCR=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"prev") ) { prev=inValue.Cast< ::format::svg::PathSegment >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"MOVER") ) { MOVER=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"LINER") ) { LINER=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"HLINE") ) { HLINE=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"VLINE") ) { VLINE=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"CUBIC") ) { CUBIC=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"QUADR") ) { QUADR=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"SQUAD") ) { SQUAD=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"CLOSE") ) { CLOSE=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"FLOAT") ) { FLOAT=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"HLINER") ) { HLINER=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"VLINER") ) { VLINER=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"CUBICR") ) { CUBICR=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"SCUBIC") ) { SCUBIC=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"SQUADR") ) { SQUADR=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"CLOSER") ) { CLOSER=inValue.Cast< Dynamic >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"SCUBICR") ) { SCUBICR=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"UNKNOWN") ) { UNKNOWN=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"SEPARATOR") ) { SEPARATOR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FLOAT_DOT") ) { FLOAT_DOT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FLOAT_EXP") ) { FLOAT_EXP=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"lastMoveY") ) { lastMoveY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"lastMoveX") ) { lastMoveX=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FLOAT_SIGN") ) { FLOAT_SIGN=inValue.Cast< int >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sCommandArgs") ) { sCommandArgs=inValue.Cast< Array< int > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void PathParser_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("prev")); - outFields->push(HX_CSTRING("lastMoveY")); - outFields->push(HX_CSTRING("lastMoveX")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("sCommandArgs"), - HX_CSTRING("MOVE"), - HX_CSTRING("MOVER"), - HX_CSTRING("LINE"), - HX_CSTRING("LINER"), - HX_CSTRING("HLINE"), - HX_CSTRING("HLINER"), - HX_CSTRING("VLINE"), - HX_CSTRING("VLINER"), - HX_CSTRING("CUBIC"), - HX_CSTRING("CUBICR"), - HX_CSTRING("SCUBIC"), - HX_CSTRING("SCUBICR"), - HX_CSTRING("QUAD"), - HX_CSTRING("QUADR"), - HX_CSTRING("SQUAD"), - HX_CSTRING("SQUADR"), - HX_CSTRING("ARC"), - HX_CSTRING("ARCR"), - HX_CSTRING("CLOSE"), - HX_CSTRING("CLOSER"), - HX_CSTRING("UNKNOWN"), - HX_CSTRING("SEPARATOR"), - HX_CSTRING("FLOAT"), - HX_CSTRING("FLOAT_SIGN"), - HX_CSTRING("FLOAT_DOT"), - HX_CSTRING("FLOAT_EXP"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("createCommand"), - HX_CSTRING("prevCY"), - HX_CSTRING("prevCX"), - HX_CSTRING("prevY"), - HX_CSTRING("prevX"), - HX_CSTRING("commandArgs"), - HX_CSTRING("parse"), - HX_CSTRING("prev"), - HX_CSTRING("lastMoveY"), - HX_CSTRING("lastMoveX"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PathParser_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(PathParser_obj::sCommandArgs,"sCommandArgs"); - HX_MARK_MEMBER_NAME(PathParser_obj::MOVE,"MOVE"); - HX_MARK_MEMBER_NAME(PathParser_obj::MOVER,"MOVER"); - HX_MARK_MEMBER_NAME(PathParser_obj::LINE,"LINE"); - HX_MARK_MEMBER_NAME(PathParser_obj::LINER,"LINER"); - HX_MARK_MEMBER_NAME(PathParser_obj::HLINE,"HLINE"); - HX_MARK_MEMBER_NAME(PathParser_obj::HLINER,"HLINER"); - HX_MARK_MEMBER_NAME(PathParser_obj::VLINE,"VLINE"); - HX_MARK_MEMBER_NAME(PathParser_obj::VLINER,"VLINER"); - HX_MARK_MEMBER_NAME(PathParser_obj::CUBIC,"CUBIC"); - HX_MARK_MEMBER_NAME(PathParser_obj::CUBICR,"CUBICR"); - HX_MARK_MEMBER_NAME(PathParser_obj::SCUBIC,"SCUBIC"); - HX_MARK_MEMBER_NAME(PathParser_obj::SCUBICR,"SCUBICR"); - HX_MARK_MEMBER_NAME(PathParser_obj::QUAD,"QUAD"); - HX_MARK_MEMBER_NAME(PathParser_obj::QUADR,"QUADR"); - HX_MARK_MEMBER_NAME(PathParser_obj::SQUAD,"SQUAD"); - HX_MARK_MEMBER_NAME(PathParser_obj::SQUADR,"SQUADR"); - HX_MARK_MEMBER_NAME(PathParser_obj::ARC,"ARC"); - HX_MARK_MEMBER_NAME(PathParser_obj::ARCR,"ARCR"); - HX_MARK_MEMBER_NAME(PathParser_obj::CLOSE,"CLOSE"); - HX_MARK_MEMBER_NAME(PathParser_obj::CLOSER,"CLOSER"); - HX_MARK_MEMBER_NAME(PathParser_obj::UNKNOWN,"UNKNOWN"); - HX_MARK_MEMBER_NAME(PathParser_obj::SEPARATOR,"SEPARATOR"); - HX_MARK_MEMBER_NAME(PathParser_obj::FLOAT,"FLOAT"); - HX_MARK_MEMBER_NAME(PathParser_obj::FLOAT_SIGN,"FLOAT_SIGN"); - HX_MARK_MEMBER_NAME(PathParser_obj::FLOAT_DOT,"FLOAT_DOT"); - HX_MARK_MEMBER_NAME(PathParser_obj::FLOAT_EXP,"FLOAT_EXP"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PathParser_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(PathParser_obj::sCommandArgs,"sCommandArgs"); - HX_VISIT_MEMBER_NAME(PathParser_obj::MOVE,"MOVE"); - HX_VISIT_MEMBER_NAME(PathParser_obj::MOVER,"MOVER"); - HX_VISIT_MEMBER_NAME(PathParser_obj::LINE,"LINE"); - HX_VISIT_MEMBER_NAME(PathParser_obj::LINER,"LINER"); - HX_VISIT_MEMBER_NAME(PathParser_obj::HLINE,"HLINE"); - HX_VISIT_MEMBER_NAME(PathParser_obj::HLINER,"HLINER"); - HX_VISIT_MEMBER_NAME(PathParser_obj::VLINE,"VLINE"); - HX_VISIT_MEMBER_NAME(PathParser_obj::VLINER,"VLINER"); - HX_VISIT_MEMBER_NAME(PathParser_obj::CUBIC,"CUBIC"); - HX_VISIT_MEMBER_NAME(PathParser_obj::CUBICR,"CUBICR"); - HX_VISIT_MEMBER_NAME(PathParser_obj::SCUBIC,"SCUBIC"); - HX_VISIT_MEMBER_NAME(PathParser_obj::SCUBICR,"SCUBICR"); - HX_VISIT_MEMBER_NAME(PathParser_obj::QUAD,"QUAD"); - HX_VISIT_MEMBER_NAME(PathParser_obj::QUADR,"QUADR"); - HX_VISIT_MEMBER_NAME(PathParser_obj::SQUAD,"SQUAD"); - HX_VISIT_MEMBER_NAME(PathParser_obj::SQUADR,"SQUADR"); - HX_VISIT_MEMBER_NAME(PathParser_obj::ARC,"ARC"); - HX_VISIT_MEMBER_NAME(PathParser_obj::ARCR,"ARCR"); - HX_VISIT_MEMBER_NAME(PathParser_obj::CLOSE,"CLOSE"); - HX_VISIT_MEMBER_NAME(PathParser_obj::CLOSER,"CLOSER"); - HX_VISIT_MEMBER_NAME(PathParser_obj::UNKNOWN,"UNKNOWN"); - HX_VISIT_MEMBER_NAME(PathParser_obj::SEPARATOR,"SEPARATOR"); - HX_VISIT_MEMBER_NAME(PathParser_obj::FLOAT,"FLOAT"); - HX_VISIT_MEMBER_NAME(PathParser_obj::FLOAT_SIGN,"FLOAT_SIGN"); - HX_VISIT_MEMBER_NAME(PathParser_obj::FLOAT_DOT,"FLOAT_DOT"); - HX_VISIT_MEMBER_NAME(PathParser_obj::FLOAT_EXP,"FLOAT_EXP"); -}; - -Class PathParser_obj::__mClass; - -void PathParser_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.PathParser"), hx::TCanCast< PathParser_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void PathParser_obj::__boot() -{ - MOVE= HX_CSTRING("M").charCodeAt((int)0); - MOVER= HX_CSTRING("m").charCodeAt((int)0); - LINE= HX_CSTRING("L").charCodeAt((int)0); - LINER= HX_CSTRING("l").charCodeAt((int)0); - HLINE= HX_CSTRING("H").charCodeAt((int)0); - HLINER= HX_CSTRING("h").charCodeAt((int)0); - VLINE= HX_CSTRING("V").charCodeAt((int)0); - VLINER= HX_CSTRING("v").charCodeAt((int)0); - CUBIC= HX_CSTRING("C").charCodeAt((int)0); - CUBICR= HX_CSTRING("c").charCodeAt((int)0); - SCUBIC= HX_CSTRING("S").charCodeAt((int)0); - SCUBICR= HX_CSTRING("s").charCodeAt((int)0); - QUAD= HX_CSTRING("Q").charCodeAt((int)0); - QUADR= HX_CSTRING("q").charCodeAt((int)0); - SQUAD= HX_CSTRING("T").charCodeAt((int)0); - SQUADR= HX_CSTRING("t").charCodeAt((int)0); - ARC= HX_CSTRING("A").charCodeAt((int)0); - ARCR= HX_CSTRING("a").charCodeAt((int)0); - CLOSE= HX_CSTRING("Z").charCodeAt((int)0); - CLOSER= HX_CSTRING("z").charCodeAt((int)0); - UNKNOWN= (int)-1; - SEPARATOR= (int)-2; - FLOAT= (int)-3; - FLOAT_SIGN= (int)-4; - FLOAT_DOT= (int)-5; - FLOAT_EXP= (int)-6; -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/PathSegment.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/PathSegment.cpp deleted file mode 100644 index 8b74127..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/PathSegment.cpp +++ /dev/null @@ -1,256 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -namespace format{ -namespace svg{ - -Void PathSegment_obj::__construct(Float inX,Float inY) -{ -HX_STACK_PUSH("PathSegment::new","format/svg/PathSegment.hx",20); -{ - HX_STACK_LINE(21) - this->x = inX; - HX_STACK_LINE(22) - this->y = inY; -} -; - return null(); -} - -PathSegment_obj::~PathSegment_obj() { } - -Dynamic PathSegment_obj::__CreateEmpty() { return new PathSegment_obj; } -hx::ObjectPtr< PathSegment_obj > PathSegment_obj::__new(Float inX,Float inY) -{ hx::ObjectPtr< PathSegment_obj > result = new PathSegment_obj(); - result->__construct(inX,inY); - return result;} - -Dynamic PathSegment_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< PathSegment_obj > result = new PathSegment_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -Void PathSegment_obj::toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext){ -{ - HX_STACK_PUSH("PathSegment::toGfx","format/svg/PathSegment.hx",32); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(ioContext,"ioContext"); - HX_STACK_LINE(33) - ioContext->setLast(this->x,this->y); - HX_STACK_LINE(34) - ioContext->firstX = ioContext->lastX; - HX_STACK_LINE(35) - ioContext->firstY = ioContext->lastY; - HX_STACK_LINE(36) - inGfx->moveTo(ioContext->lastX,ioContext->lastY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(PathSegment_obj,toGfx,(void)) - -Float PathSegment_obj::prevCY( ){ - HX_STACK_PUSH("PathSegment::prevCY","format/svg/PathSegment.hx",29); - HX_STACK_THIS(this); - HX_STACK_LINE(29) - return this->y; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathSegment_obj,prevCY,return ) - -Float PathSegment_obj::prevCX( ){ - HX_STACK_PUSH("PathSegment::prevCX","format/svg/PathSegment.hx",28); - HX_STACK_THIS(this); - HX_STACK_LINE(28) - return this->x; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathSegment_obj,prevCX,return ) - -Float PathSegment_obj::prevY( ){ - HX_STACK_PUSH("PathSegment::prevY","format/svg/PathSegment.hx",27); - HX_STACK_THIS(this); - HX_STACK_LINE(27) - return this->y; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathSegment_obj,prevY,return ) - -Float PathSegment_obj::prevX( ){ - HX_STACK_PUSH("PathSegment::prevX","format/svg/PathSegment.hx",26); - HX_STACK_THIS(this); - HX_STACK_LINE(26) - return this->x; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathSegment_obj,prevX,return ) - -int PathSegment_obj::getType( ){ - HX_STACK_PUSH("PathSegment::getType","format/svg/PathSegment.hx",24); - HX_STACK_THIS(this); - HX_STACK_LINE(24) - return (int)0; -} - - -HX_DEFINE_DYNAMIC_FUNC0(PathSegment_obj,getType,return ) - -int PathSegment_obj::MOVE; - -int PathSegment_obj::DRAW; - -int PathSegment_obj::CURVE; - -int PathSegment_obj::CUBIC; - -int PathSegment_obj::ARC; - - -PathSegment_obj::PathSegment_obj() -{ -} - -void PathSegment_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(PathSegment); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_END_CLASS(); -} - -void PathSegment_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); -} - -Dynamic PathSegment_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 3: - if (HX_FIELD_EQ(inName,"ARC") ) { return ARC; } - break; - case 4: - if (HX_FIELD_EQ(inName,"MOVE") ) { return MOVE; } - if (HX_FIELD_EQ(inName,"DRAW") ) { return DRAW; } - break; - case 5: - if (HX_FIELD_EQ(inName,"CURVE") ) { return CURVE; } - if (HX_FIELD_EQ(inName,"CUBIC") ) { return CUBIC; } - if (HX_FIELD_EQ(inName,"toGfx") ) { return toGfx_dyn(); } - if (HX_FIELD_EQ(inName,"prevY") ) { return prevY_dyn(); } - if (HX_FIELD_EQ(inName,"prevX") ) { return prevX_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"prevCY") ) { return prevCY_dyn(); } - if (HX_FIELD_EQ(inName,"prevCX") ) { return prevCX_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic PathSegment_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"ARC") ) { ARC=inValue.Cast< int >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"MOVE") ) { MOVE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"DRAW") ) { DRAW=inValue.Cast< int >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"CURVE") ) { CURVE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"CUBIC") ) { CUBIC=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void PathSegment_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("MOVE"), - HX_CSTRING("DRAW"), - HX_CSTRING("CURVE"), - HX_CSTRING("CUBIC"), - HX_CSTRING("ARC"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toGfx"), - HX_CSTRING("prevCY"), - HX_CSTRING("prevCX"), - HX_CSTRING("prevY"), - HX_CSTRING("prevX"), - HX_CSTRING("getType"), - HX_CSTRING("y"), - HX_CSTRING("x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PathSegment_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(PathSegment_obj::MOVE,"MOVE"); - HX_MARK_MEMBER_NAME(PathSegment_obj::DRAW,"DRAW"); - HX_MARK_MEMBER_NAME(PathSegment_obj::CURVE,"CURVE"); - HX_MARK_MEMBER_NAME(PathSegment_obj::CUBIC,"CUBIC"); - HX_MARK_MEMBER_NAME(PathSegment_obj::ARC,"ARC"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PathSegment_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(PathSegment_obj::MOVE,"MOVE"); - HX_VISIT_MEMBER_NAME(PathSegment_obj::DRAW,"DRAW"); - HX_VISIT_MEMBER_NAME(PathSegment_obj::CURVE,"CURVE"); - HX_VISIT_MEMBER_NAME(PathSegment_obj::CUBIC,"CUBIC"); - HX_VISIT_MEMBER_NAME(PathSegment_obj::ARC,"ARC"); -}; - -Class PathSegment_obj::__mClass; - -void PathSegment_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.PathSegment"), hx::TCanCast< PathSegment_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void PathSegment_obj::__boot() -{ - MOVE= (int)1; - DRAW= (int)2; - CURVE= (int)3; - CUBIC= (int)4; - ARC= (int)5; -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/QuadraticSegment.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/QuadraticSegment.cpp deleted file mode 100644 index ae5c7e6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/QuadraticSegment.cpp +++ /dev/null @@ -1,177 +0,0 @@ -#include - -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_QuadraticSegment -#include -#endif -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -namespace format{ -namespace svg{ - -Void QuadraticSegment_obj::__construct(Float inCX,Float inCY,Float inX,Float inY) -{ -HX_STACK_PUSH("QuadraticSegment::new","format/svg/PathSegment.hx",66); -{ - HX_STACK_LINE(67) - super::__construct(inX,inY); - HX_STACK_LINE(68) - this->cx = inCX; - HX_STACK_LINE(69) - this->cy = inCY; -} -; - return null(); -} - -QuadraticSegment_obj::~QuadraticSegment_obj() { } - -Dynamic QuadraticSegment_obj::__CreateEmpty() { return new QuadraticSegment_obj; } -hx::ObjectPtr< QuadraticSegment_obj > QuadraticSegment_obj::__new(Float inCX,Float inCY,Float inX,Float inY) -{ hx::ObjectPtr< QuadraticSegment_obj > result = new QuadraticSegment_obj(); - result->__construct(inCX,inCY,inX,inY); - return result;} - -Dynamic QuadraticSegment_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< QuadraticSegment_obj > result = new QuadraticSegment_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -int QuadraticSegment_obj::getType( ){ - HX_STACK_PUSH("QuadraticSegment::getType","format/svg/PathSegment.hx",82); - HX_STACK_THIS(this); - HX_STACK_LINE(82) - return (int)3; -} - - -Void QuadraticSegment_obj::toGfx( ::format::gfx::Gfx inGfx,::format::svg::RenderContext ioContext){ -{ - HX_STACK_PUSH("QuadraticSegment::toGfx","format/svg/PathSegment.hx",76); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(ioContext,"ioContext"); - HX_STACK_LINE(77) - ioContext->setLast(this->x,this->y); - HX_STACK_LINE(78) - inGfx->curveTo(ioContext->transX(this->cx,this->cy),ioContext->transY(this->cx,this->cy),ioContext->lastX,ioContext->lastY); - } -return null(); -} - - -Float QuadraticSegment_obj::prevCY( ){ - HX_STACK_PUSH("QuadraticSegment::prevCY","format/svg/PathSegment.hx",73); - HX_STACK_THIS(this); - HX_STACK_LINE(73) - return this->cy; -} - - -Float QuadraticSegment_obj::prevCX( ){ - HX_STACK_PUSH("QuadraticSegment::prevCX","format/svg/PathSegment.hx",72); - HX_STACK_THIS(this); - HX_STACK_LINE(72) - return this->cx; -} - - - -QuadraticSegment_obj::QuadraticSegment_obj() -{ -} - -void QuadraticSegment_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(QuadraticSegment); - HX_MARK_MEMBER_NAME(cy,"cy"); - HX_MARK_MEMBER_NAME(cx,"cx"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void QuadraticSegment_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(cy,"cy"); - HX_VISIT_MEMBER_NAME(cx,"cx"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic QuadraticSegment_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"cy") ) { return cy; } - if (HX_FIELD_EQ(inName,"cx") ) { return cx; } - break; - case 5: - if (HX_FIELD_EQ(inName,"toGfx") ) { return toGfx_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"prevCY") ) { return prevCY_dyn(); } - if (HX_FIELD_EQ(inName,"prevCX") ) { return prevCX_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic QuadraticSegment_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"cy") ) { cy=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"cx") ) { cx=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void QuadraticSegment_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("cy")); - outFields->push(HX_CSTRING("cx")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getType"), - HX_CSTRING("toGfx"), - HX_CSTRING("prevCY"), - HX_CSTRING("prevCX"), - HX_CSTRING("cy"), - HX_CSTRING("cx"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(QuadraticSegment_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(QuadraticSegment_obj::__mClass,"__mClass"); -}; - -Class QuadraticSegment_obj::__mClass; - -void QuadraticSegment_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.QuadraticSegment"), hx::TCanCast< QuadraticSegment_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void QuadraticSegment_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/RenderContext.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/RenderContext.cpp deleted file mode 100644 index b5f1377..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/RenderContext.cpp +++ /dev/null @@ -1,246 +0,0 @@ -#include - -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -namespace format{ -namespace svg{ - -Void RenderContext_obj::__construct(::neash::geom::Matrix inMatrix,::neash::geom::Rectangle inRect,Dynamic inW,Dynamic inH) -{ -HX_STACK_PUSH("RenderContext::new","format/svg/RenderContext.hx",9); -{ - HX_STACK_LINE(10) - this->matrix = inMatrix; - HX_STACK_LINE(11) - this->rect = inRect; - HX_STACK_LINE(12) - this->rectW = ( (((inW != null()))) ? Dynamic(inW) : Dynamic(( (((inRect != null()))) ? Float(inRect->width) : Float((int)1) )) ); - HX_STACK_LINE(13) - this->rectH = ( (((inH != null()))) ? Dynamic(inH) : Dynamic(( (((inRect != null()))) ? Float(inRect->height) : Float((int)1) )) ); - HX_STACK_LINE(14) - this->firstX = (int)0; - HX_STACK_LINE(15) - this->firstY = (int)0; - HX_STACK_LINE(16) - this->lastX = (int)0; - HX_STACK_LINE(17) - this->lastY = (int)0; -} -; - return null(); -} - -RenderContext_obj::~RenderContext_obj() { } - -Dynamic RenderContext_obj::__CreateEmpty() { return new RenderContext_obj; } -hx::ObjectPtr< RenderContext_obj > RenderContext_obj::__new(::neash::geom::Matrix inMatrix,::neash::geom::Rectangle inRect,Dynamic inW,Dynamic inH) -{ hx::ObjectPtr< RenderContext_obj > result = new RenderContext_obj(); - result->__construct(inMatrix,inRect,inW,inH); - return result;} - -Dynamic RenderContext_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< RenderContext_obj > result = new RenderContext_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -Void RenderContext_obj::setLast( Float inX,Float inY){ -{ - HX_STACK_PUSH("RenderContext::setLast","format/svg/RenderContext.hx",44); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(45) - this->lastX = this->transX(inX,inY); - HX_STACK_LINE(46) - this->lastY = this->transY(inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(RenderContext_obj,setLast,(void)) - -Float RenderContext_obj::transY( Float inX,Float inY){ - HX_STACK_PUSH("RenderContext::transY","format/svg/RenderContext.hx",31); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(32) - if (((bool((this->rect != null())) && bool((inY > this->rect->y))))){ - HX_STACK_LINE(33) - if (((inY > this->rect->nmeGetRight()))){ - HX_STACK_LINE(35) - hx::AddEq(inY,(this->rectH - this->rect->height)); - } - else{ - HX_STACK_LINE(37) - inY = (this->rect->y + (Float((this->rectH * ((inY - this->rect->y)))) / Float(this->rect->height))); - } - } - HX_STACK_LINE(39) - return (((inX * this->matrix->b) + (inY * this->matrix->d)) + this->matrix->ty); -} - - -HX_DEFINE_DYNAMIC_FUNC2(RenderContext_obj,transY,return ) - -Float RenderContext_obj::transX( Float inX,Float inY){ - HX_STACK_PUSH("RenderContext::transX","format/svg/RenderContext.hx",20); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(21) - if (((bool((this->rect != null())) && bool((inX > this->rect->x))))){ - HX_STACK_LINE(22) - if (((inX > this->rect->nmeGetRight()))){ - HX_STACK_LINE(24) - hx::AddEq(inX,(this->rectW - this->rect->width)); - } - else{ - HX_STACK_LINE(26) - inX = (this->rect->x + (Float((this->rectW * ((inX - this->rect->x)))) / Float(this->rect->width))); - } - } - HX_STACK_LINE(28) - return (((inX * this->matrix->a) + (inY * this->matrix->c)) + this->matrix->tx); -} - - -HX_DEFINE_DYNAMIC_FUNC2(RenderContext_obj,transX,return ) - - -RenderContext_obj::RenderContext_obj() -{ -} - -void RenderContext_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(RenderContext); - HX_MARK_MEMBER_NAME(lastY,"lastY"); - HX_MARK_MEMBER_NAME(lastX,"lastX"); - HX_MARK_MEMBER_NAME(firstY,"firstY"); - HX_MARK_MEMBER_NAME(firstX,"firstX"); - HX_MARK_MEMBER_NAME(rectH,"rectH"); - HX_MARK_MEMBER_NAME(rectW,"rectW"); - HX_MARK_MEMBER_NAME(rect,"rect"); - HX_MARK_MEMBER_NAME(matrix,"matrix"); - HX_MARK_END_CLASS(); -} - -void RenderContext_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(lastY,"lastY"); - HX_VISIT_MEMBER_NAME(lastX,"lastX"); - HX_VISIT_MEMBER_NAME(firstY,"firstY"); - HX_VISIT_MEMBER_NAME(firstX,"firstX"); - HX_VISIT_MEMBER_NAME(rectH,"rectH"); - HX_VISIT_MEMBER_NAME(rectW,"rectW"); - HX_VISIT_MEMBER_NAME(rect,"rect"); - HX_VISIT_MEMBER_NAME(matrix,"matrix"); -} - -Dynamic RenderContext_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"rect") ) { return rect; } - break; - case 5: - if (HX_FIELD_EQ(inName,"lastY") ) { return lastY; } - if (HX_FIELD_EQ(inName,"lastX") ) { return lastX; } - if (HX_FIELD_EQ(inName,"rectH") ) { return rectH; } - if (HX_FIELD_EQ(inName,"rectW") ) { return rectW; } - break; - case 6: - if (HX_FIELD_EQ(inName,"firstY") ) { return firstY; } - if (HX_FIELD_EQ(inName,"firstX") ) { return firstX; } - if (HX_FIELD_EQ(inName,"matrix") ) { return matrix; } - if (HX_FIELD_EQ(inName,"transY") ) { return transY_dyn(); } - if (HX_FIELD_EQ(inName,"transX") ) { return transX_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"setLast") ) { return setLast_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic RenderContext_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"rect") ) { rect=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"lastY") ) { lastY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"lastX") ) { lastX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"rectH") ) { rectH=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"rectW") ) { rectW=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"firstY") ) { firstY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"firstX") ) { firstX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"matrix") ) { matrix=inValue.Cast< ::neash::geom::Matrix >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void RenderContext_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("lastY")); - outFields->push(HX_CSTRING("lastX")); - outFields->push(HX_CSTRING("firstY")); - outFields->push(HX_CSTRING("firstX")); - outFields->push(HX_CSTRING("rectH")); - outFields->push(HX_CSTRING("rectW")); - outFields->push(HX_CSTRING("rect")); - outFields->push(HX_CSTRING("matrix")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("lastY"), - HX_CSTRING("lastX"), - HX_CSTRING("firstY"), - HX_CSTRING("firstX"), - HX_CSTRING("rectH"), - HX_CSTRING("rectW"), - HX_CSTRING("rect"), - HX_CSTRING("matrix"), - HX_CSTRING("setLast"), - HX_CSTRING("transY"), - HX_CSTRING("transX"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(RenderContext_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(RenderContext_obj::__mClass,"__mClass"); -}; - -Class RenderContext_obj::__mClass; - -void RenderContext_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.RenderContext"), hx::TCanCast< RenderContext_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void RenderContext_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/SVGData.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/SVGData.cpp deleted file mode 100644 index ed0be67..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/SVGData.cpp +++ /dev/null @@ -1,1154 +0,0 @@ -#include - -#ifndef INCLUDED_EReg -#include -#endif -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_svg_DisplayElement -#include -#endif -#ifndef INCLUDED_format_svg_DrawSegment -#include -#endif -#ifndef INCLUDED_format_svg_FillType -#include -#endif -#ifndef INCLUDED_format_svg_Grad -#include -#endif -#ifndef INCLUDED_format_svg_Group -#include -#endif -#ifndef INCLUDED_format_svg_MoveSegment -#include -#endif -#ifndef INCLUDED_format_svg_Path -#include -#endif -#ifndef INCLUDED_format_svg_PathParser -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_QuadraticSegment -#include -#endif -#ifndef INCLUDED_format_svg_SVGData -#include -#endif -#ifndef INCLUDED_format_svg_Text -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -#ifndef INCLUDED_neash_display_GradientType -#include -#endif -#ifndef INCLUDED_neash_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -#ifndef INCLUDED_neash_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace format{ -namespace svg{ - -Void SVGData_obj::__construct(::Xml inXML,hx::Null< bool > __o_inConvertCubics) -{ -HX_STACK_PUSH("SVGData::new","format/svg/SVGData.hx",42); -bool inConvertCubics = __o_inConvertCubics.Default(false); -{ - HX_STACK_LINE(44) - super::__construct(); - HX_STACK_LINE(46) - ::Xml svg = inXML->firstElement(); HX_STACK_VAR(svg,"svg"); - HX_STACK_LINE(48) - if (((bool((svg == null())) || bool((bool((svg->getNodeName() != HX_CSTRING("svg"))) && bool((svg->getNodeName() != HX_CSTRING("svg:svg")))))))){ - HX_STACK_LINE(49) - hx::Throw (((HX_CSTRING("Not an SVG file (") + (( (((svg == null()))) ? ::String(HX_CSTRING("null")) : ::String(svg->getNodeName()) ))) + HX_CSTRING(")"))); - } - HX_STACK_LINE(51) - this->mGrads = ::Hash_obj::__new(); - HX_STACK_LINE(52) - this->mPathParser = ::format::svg::PathParser_obj::__new(); - HX_STACK_LINE(53) - this->mConvertCubics = inConvertCubics; - HX_STACK_LINE(55) - this->width = this->getFloatStyle(HX_CSTRING("width"),svg,null(),0.0); - HX_STACK_LINE(56) - this->height = this->getFloatStyle(HX_CSTRING("height"),svg,null(),0.0); - HX_STACK_LINE(58) - if (((bool((this->width == (int)0)) && bool((this->height == (int)0))))){ - HX_STACK_LINE(59) - this->width = this->height = (int)400; - } - else{ - HX_STACK_LINE(60) - if (((this->width == (int)0))){ - HX_STACK_LINE(61) - this->width = this->height; - } - else{ - HX_STACK_LINE(62) - if (((this->height == (int)0))){ - HX_STACK_LINE(63) - this->height = this->width; - } - } - } - HX_STACK_LINE(65) - this->loadGroup(hx::ObjectPtr(this),svg,::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()),null()); -} -; - return null(); -} - -SVGData_obj::~SVGData_obj() { } - -Dynamic SVGData_obj::__CreateEmpty() { return new SVGData_obj; } -hx::ObjectPtr< SVGData_obj > SVGData_obj::__new(::Xml inXML,hx::Null< bool > __o_inConvertCubics) -{ hx::ObjectPtr< SVGData_obj > result = new SVGData_obj(); - result->__construct(inXML,__o_inConvertCubics); - return result;} - -Dynamic SVGData_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SVGData_obj > result = new SVGData_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::format::svg::Text SVGData_obj::loadText( ::Xml inText,::neash::geom::Matrix matrix,::Hash inStyles){ - HX_STACK_PUSH("SVGData::loadText","format/svg/SVGData.hx",590); - HX_STACK_THIS(this); - HX_STACK_ARG(inText,"inText"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_LINE(592) - if ((inText->exists(HX_CSTRING("transform")))){ - HX_STACK_LINE(594) - matrix = matrix->clone(); - HX_STACK_LINE(595) - this->applyTransform(matrix,inText->get(HX_CSTRING("transform"))); - } - HX_STACK_LINE(599) - ::Hash styles = this->getStyles(inText,inStyles); HX_STACK_VAR(styles,"styles"); - HX_STACK_LINE(600) - ::format::svg::Text text = ::format::svg::Text_obj::__new(); HX_STACK_VAR(text,"text"); - HX_STACK_LINE(602) - text->matrix = matrix; - HX_STACK_LINE(603) - text->name = ( ((inText->exists(HX_CSTRING("id")))) ? ::String(inText->get(HX_CSTRING("id"))) : ::String(HX_CSTRING("")) ); - HX_STACK_LINE(604) - text->x = this->getFloat(inText,HX_CSTRING("x"),0.0); - HX_STACK_LINE(605) - text->y = this->getFloat(inText,HX_CSTRING("y"),0.0); - HX_STACK_LINE(606) - text->fill = this->getFillStyle(HX_CSTRING("fill"),inText,styles); - HX_STACK_LINE(607) - text->fill_alpha = this->getFloatStyle(HX_CSTRING("fill-opacity"),inText,styles,1.0); - HX_STACK_LINE(608) - text->stroke_alpha = this->getFloatStyle(HX_CSTRING("stroke-opacity"),inText,styles,1.0); - HX_STACK_LINE(609) - text->stroke_colour = this->getStrokeStyle(HX_CSTRING("stroke"),inText,styles,null()); - HX_STACK_LINE(610) - text->stroke_width = this->getFloatStyle(HX_CSTRING("stroke-width"),inText,styles,1.0); - HX_STACK_LINE(611) - text->font_family = this->getStyle(HX_CSTRING("font-family"),inText,styles,HX_CSTRING("")); - HX_STACK_LINE(612) - text->font_size = this->getFloatStyle(HX_CSTRING("font-size"),inText,styles,(int)12); - HX_STACK_LINE(613) - text->letter_spacing = this->getFloatStyle(HX_CSTRING("letter-spacing"),inText,styles,(int)0); - HX_STACK_LINE(614) - text->kerning = this->getFloatStyle(HX_CSTRING("kerning"),inText,styles,(int)0); - HX_STACK_LINE(616) - ::String string = HX_CSTRING(""); HX_STACK_VAR(string,"string"); - HX_STACK_LINE(618) - for(::cpp::FastIterator_obj< ::Xml > *__it = ::cpp::CreateFastIterator< ::Xml >(inText->elements()); __it->hasNext(); ){ - ::Xml el = __it->next(); - hx::AddEq(string,el->toString()); - } - HX_STACK_LINE(625) - text->text = string; - HX_STACK_LINE(626) - return text; -} - - -HX_DEFINE_DYNAMIC_FUNC3(SVGData_obj,loadText,return ) - -::format::svg::Path SVGData_obj::loadPath( ::Xml inPath,::neash::geom::Matrix matrix,::Hash inStyles,bool inIsRect,bool inIsEllipse){ - HX_STACK_PUSH("SVGData::loadPath","format/svg/SVGData.hx",488); - HX_STACK_THIS(this); - HX_STACK_ARG(inPath,"inPath"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_ARG(inIsRect,"inIsRect"); - HX_STACK_ARG(inIsEllipse,"inIsEllipse"); - HX_STACK_LINE(490) - if ((inPath->exists(HX_CSTRING("transform")))){ - HX_STACK_LINE(492) - matrix = matrix->clone(); - HX_STACK_LINE(493) - this->applyTransform(matrix,inPath->get(HX_CSTRING("transform"))); - } - HX_STACK_LINE(497) - ::Hash styles = this->getStyles(inPath,inStyles); HX_STACK_VAR(styles,"styles"); - HX_STACK_LINE(498) - ::String name = ( ((inPath->exists(HX_CSTRING("id")))) ? ::String(inPath->get(HX_CSTRING("id"))) : ::String(HX_CSTRING("")) ); HX_STACK_VAR(name,"name"); - HX_STACK_LINE(499) - ::format::svg::Path path = ::format::svg::Path_obj::__new(); HX_STACK_VAR(path,"path"); - HX_STACK_LINE(501) - path->fill = this->getFillStyle(HX_CSTRING("fill"),inPath,styles); - HX_STACK_LINE(502) - path->fill_alpha = this->getFloatStyle(HX_CSTRING("fill-opacity"),inPath,styles,1.0); - HX_STACK_LINE(503) - path->stroke_alpha = this->getFloatStyle(HX_CSTRING("stroke-opacity"),inPath,styles,1.0); - HX_STACK_LINE(504) - path->stroke_colour = this->getStrokeStyle(HX_CSTRING("stroke"),inPath,styles,null()); - HX_STACK_LINE(505) - path->stroke_width = this->getFloatStyle(HX_CSTRING("stroke-width"),inPath,styles,1.0); - HX_STACK_LINE(506) - path->stroke_caps = ::neash::display::CapsStyle_obj::ROUND_dyn(); - HX_STACK_LINE(507) - path->joint_style = ::neash::display::JointStyle_obj::ROUND_dyn(); - HX_STACK_LINE(508) - path->miter_limit = this->getFloatStyle(HX_CSTRING("stroke-miterlimit"),inPath,styles,3.0); - HX_STACK_LINE(509) - path->segments = Array_obj< ::format::svg::PathSegment >::__new(); - HX_STACK_LINE(510) - path->matrix = matrix; - HX_STACK_LINE(511) - path->name = name; - HX_STACK_LINE(513) - if ((inIsRect)){ - HX_STACK_LINE(515) - Float x = ( ((inPath->exists(HX_CSTRING("x")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("x")))) : Float((int)0) ); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(516) - Float y = ( ((inPath->exists(HX_CSTRING("y")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("y")))) : Float((int)0) ); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(517) - Float w = ::Std_obj::parseFloat(inPath->get(HX_CSTRING("width"))); HX_STACK_VAR(w,"w"); - HX_STACK_LINE(518) - Float h = ::Std_obj::parseFloat(inPath->get(HX_CSTRING("height"))); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(519) - Float rx = ( ((inPath->exists(HX_CSTRING("rx")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("rx")))) : Float(0.0) ); HX_STACK_VAR(rx,"rx"); - HX_STACK_LINE(520) - Float ry = ( ((inPath->exists(HX_CSTRING("ry")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("ry")))) : Float(0.0) ); HX_STACK_VAR(ry,"ry"); - HX_STACK_LINE(522) - if (((bool((rx == (int)0)) || bool((ry == (int)0))))){ - HX_STACK_LINE(524) - path->segments->push(::format::svg::MoveSegment_obj::__new(x,y)); - HX_STACK_LINE(525) - path->segments->push(::format::svg::DrawSegment_obj::__new((x + w),y)); - HX_STACK_LINE(526) - path->segments->push(::format::svg::DrawSegment_obj::__new((x + w),(y + h))); - HX_STACK_LINE(527) - path->segments->push(::format::svg::DrawSegment_obj::__new(x,(y + h))); - HX_STACK_LINE(528) - path->segments->push(::format::svg::DrawSegment_obj::__new(x,y)); - } - else{ - HX_STACK_LINE(532) - path->segments->push(::format::svg::MoveSegment_obj::__new(x,(y + ry))); - HX_STACK_LINE(535) - path->segments->push(::format::svg::QuadraticSegment_obj::__new(x,y,(x + rx),y)); - HX_STACK_LINE(536) - path->segments->push(::format::svg::DrawSegment_obj::__new(((x + w) - rx),y)); - HX_STACK_LINE(539) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x + w),y,(x + w),(y + rx))); - HX_STACK_LINE(540) - path->segments->push(::format::svg::DrawSegment_obj::__new((x + w),((y + h) - ry))); - HX_STACK_LINE(543) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x + w),(y + h),((x + w) - rx),(y + h))); - HX_STACK_LINE(544) - path->segments->push(::format::svg::DrawSegment_obj::__new((x + rx),(y + h))); - HX_STACK_LINE(547) - path->segments->push(::format::svg::QuadraticSegment_obj::__new(x,(y + h),x,((y + h) - ry))); - HX_STACK_LINE(548) - path->segments->push(::format::svg::DrawSegment_obj::__new(x,(y + ry))); - } - } - else{ - HX_STACK_LINE(552) - if ((inIsEllipse)){ - HX_STACK_LINE(554) - Float x = ( ((inPath->exists(HX_CSTRING("cx")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("cx")))) : Float((int)0) ); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(555) - Float y = ( ((inPath->exists(HX_CSTRING("cy")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("cy")))) : Float((int)0) ); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(556) - Float w = ( ((inPath->exists(HX_CSTRING("rx")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("rx")))) : Float(0.0) ); HX_STACK_VAR(w,"w"); - HX_STACK_LINE(557) - Float w_ = (w * ::format::svg::SVGData_obj::SIN45); HX_STACK_VAR(w_,"w_"); - HX_STACK_LINE(558) - Float cw_ = (w * ::format::svg::SVGData_obj::TAN22); HX_STACK_VAR(cw_,"cw_"); - HX_STACK_LINE(559) - Float h = ( ((inPath->exists(HX_CSTRING("ry")))) ? Float(::Std_obj::parseFloat(inPath->get(HX_CSTRING("ry")))) : Float(0.0) ); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(560) - Float h_ = (h * ::format::svg::SVGData_obj::SIN45); HX_STACK_VAR(h_,"h_"); - HX_STACK_LINE(561) - Float ch_ = (h * ::format::svg::SVGData_obj::TAN22); HX_STACK_VAR(ch_,"ch_"); - HX_STACK_LINE(563) - path->segments->push(::format::svg::MoveSegment_obj::__new((x + w),y)); - HX_STACK_LINE(564) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x + w),(y + ch_),(x + w_),(y + h_))); - HX_STACK_LINE(565) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x + cw_),(y + h),x,(y + h))); - HX_STACK_LINE(566) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x - cw_),(y + h),(x - w_),(y + h_))); - HX_STACK_LINE(567) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x - w),(y + ch_),(x - w),y)); - HX_STACK_LINE(568) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x - w),(y - ch_),(x - w_),(y - h_))); - HX_STACK_LINE(569) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x - cw_),(y - h),x,(y - h))); - HX_STACK_LINE(570) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x + cw_),(y - h),(x + w_),(y - h_))); - HX_STACK_LINE(571) - path->segments->push(::format::svg::QuadraticSegment_obj::__new((x + w),(y - ch_),(x + w),y)); - } - else{ - HX_STACK_LINE(575) - ::String d = ( ((inPath->exists(HX_CSTRING("points")))) ? ::String(((HX_CSTRING("M") + inPath->get(HX_CSTRING("points"))) + HX_CSTRING("z"))) : ::String(inPath->get(HX_CSTRING("d"))) ); HX_STACK_VAR(d,"d"); - HX_STACK_LINE(577) - { - HX_STACK_LINE(577) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::format::svg::PathSegment > _g1 = this->mPathParser->parse(d,this->mConvertCubics); HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(577) - while(((_g < _g1->length))){ - HX_STACK_LINE(577) - ::format::svg::PathSegment segment = _g1->__get(_g); HX_STACK_VAR(segment,"segment"); - HX_STACK_LINE(577) - ++(_g); - HX_STACK_LINE(579) - path->segments->push(segment); - } - } - } - } - HX_STACK_LINE(585) - return path; -} - - -HX_DEFINE_DYNAMIC_FUNC5(SVGData_obj,loadPath,return ) - -::format::svg::Group SVGData_obj::loadGroup( ::format::svg::Group g,::Xml inG,::neash::geom::Matrix matrix,::Hash inStyles){ - HX_STACK_PUSH("SVGData::loadGroup","format/svg/SVGData.hx",416); - HX_STACK_THIS(this); - HX_STACK_ARG(g,"g"); - HX_STACK_ARG(inG,"inG"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_LINE(418) - if ((inG->exists(HX_CSTRING("transform")))){ - HX_STACK_LINE(420) - matrix = matrix->clone(); - HX_STACK_LINE(421) - this->applyTransform(matrix,inG->get(HX_CSTRING("transform"))); - } - HX_STACK_LINE(425) - if ((inG->exists(HX_CSTRING("inkscape:label")))){ - HX_STACK_LINE(425) - g->name = inG->get(HX_CSTRING("inkscape:label")); - } - else{ - HX_STACK_LINE(429) - if ((inG->exists(HX_CSTRING("id")))){ - HX_STACK_LINE(429) - g->name = inG->get(HX_CSTRING("id")); - } - } - HX_STACK_LINE(435) - ::Hash styles = this->getStyles(inG,inStyles); HX_STACK_VAR(styles,"styles"); - HX_STACK_LINE(437) - for(::cpp::FastIterator_obj< ::Xml > *__it = ::cpp::CreateFastIterator< ::Xml >(inG->elements()); __it->hasNext(); ){ - ::Xml el = __it->next(); - { - HX_STACK_LINE(439) - ::String name = el->getNodeName(); HX_STACK_VAR(name,"name"); - HX_STACK_LINE(441) - if (((name.substr((int)0,(int)4) == HX_CSTRING("svg:")))){ - HX_STACK_LINE(441) - name = name.substr((int)4,null()); - } - HX_STACK_LINE(447) - if (((name == HX_CSTRING("defs")))){ - HX_STACK_LINE(447) - this->loadDefs(el); - } - else{ - HX_STACK_LINE(451) - if (((name == HX_CSTRING("g")))){ - HX_STACK_LINE(451) - g->children->push(::format::svg::DisplayElement_obj::DisplayGroup(this->loadGroup(::format::svg::Group_obj::__new(),el,matrix,styles))); - } - else{ - HX_STACK_LINE(455) - if (((name == HX_CSTRING("path")))){ - HX_STACK_LINE(455) - g->children->push(::format::svg::DisplayElement_obj::DisplayPath(this->loadPath(el,matrix,styles,false,false))); - } - else{ - HX_STACK_LINE(459) - if (((name == HX_CSTRING("rect")))){ - HX_STACK_LINE(459) - g->children->push(::format::svg::DisplayElement_obj::DisplayPath(this->loadPath(el,matrix,styles,true,false))); - } - else{ - HX_STACK_LINE(463) - if (((name == HX_CSTRING("polygon")))){ - HX_STACK_LINE(463) - g->children->push(::format::svg::DisplayElement_obj::DisplayPath(this->loadPath(el,matrix,styles,false,false))); - } - else{ - HX_STACK_LINE(467) - if (((name == HX_CSTRING("ellipse")))){ - HX_STACK_LINE(467) - g->children->push(::format::svg::DisplayElement_obj::DisplayPath(this->loadPath(el,matrix,styles,false,true))); - } - else{ - HX_STACK_LINE(471) - if (((name == HX_CSTRING("text")))){ - HX_STACK_LINE(471) - g->children->push(::format::svg::DisplayElement_obj::DisplayText(this->loadText(el,matrix,styles))); - } - else{ - } - } - } - } - } - } - } - } -; - } - HX_STACK_LINE(483) - return g; -} - - -HX_DEFINE_DYNAMIC_FUNC4(SVGData_obj,loadGroup,return ) - -Void SVGData_obj::loadGradient( ::Xml inGrad,::neash::display::GradientType inType,bool inCrossLink){ -{ - HX_STACK_PUSH("SVGData::loadGradient","format/svg/SVGData.hx",343); - HX_STACK_THIS(this); - HX_STACK_ARG(inGrad,"inGrad"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(inCrossLink,"inCrossLink"); - HX_STACK_LINE(345) - ::String name = inGrad->get(HX_CSTRING("id")); HX_STACK_VAR(name,"name"); - HX_STACK_LINE(346) - ::format::svg::Grad grad = ::format::svg::Grad_obj::__new(inType); HX_STACK_VAR(grad,"grad"); - HX_STACK_LINE(348) - if (((bool(inCrossLink) && bool(inGrad->exists(HX_CSTRING("xlink:href")))))){ - HX_STACK_LINE(350) - ::String xlink = inGrad->get(HX_CSTRING("xlink:href")); HX_STACK_VAR(xlink,"xlink"); - HX_STACK_LINE(352) - if (((xlink.charAt((int)0) != HX_CSTRING("#")))){ - HX_STACK_LINE(353) - hx::Throw ((HX_CSTRING("xlink - unkown syntax : ") + xlink)); - } - HX_STACK_LINE(355) - ::format::svg::Grad base = this->mGrads->get(xlink.substr((int)1,null())); HX_STACK_VAR(base,"base"); - HX_STACK_LINE(357) - if (((base != null()))){ - HX_STACK_LINE(359) - grad->colors = base->colors; - HX_STACK_LINE(360) - grad->alphas = base->alphas; - HX_STACK_LINE(361) - grad->ratios = base->ratios; - HX_STACK_LINE(362) - grad->gradMatrix = base->gradMatrix->clone(); - HX_STACK_LINE(363) - grad->spread = base->spread; - HX_STACK_LINE(364) - grad->interp = base->interp; - HX_STACK_LINE(365) - grad->radius = base->radius; - } - else{ - HX_STACK_LINE(367) - hx::Throw ((HX_CSTRING("Unknown xlink : ") + xlink)); - } - } - HX_STACK_LINE(375) - if ((inGrad->exists(HX_CSTRING("x1")))){ - HX_STACK_LINE(377) - grad->x1 = this->getFloat(inGrad,HX_CSTRING("x1"),null()); - HX_STACK_LINE(378) - grad->y1 = this->getFloat(inGrad,HX_CSTRING("y1"),null()); - HX_STACK_LINE(379) - grad->x2 = this->getFloat(inGrad,HX_CSTRING("x2"),null()); - HX_STACK_LINE(380) - grad->y2 = this->getFloat(inGrad,HX_CSTRING("y2"),null()); - } - else{ - HX_STACK_LINE(384) - grad->x1 = this->getFloat(inGrad,HX_CSTRING("cx"),null()); - HX_STACK_LINE(385) - grad->y1 = this->getFloat(inGrad,HX_CSTRING("cy"),null()); - HX_STACK_LINE(386) - grad->x2 = this->getFloat(inGrad,HX_CSTRING("fx"),grad->x1); - HX_STACK_LINE(387) - grad->y2 = this->getFloat(inGrad,HX_CSTRING("fy"),grad->y1); - } - HX_STACK_LINE(391) - grad->radius = this->getFloat(inGrad,HX_CSTRING("r"),null()); - HX_STACK_LINE(393) - if ((inGrad->exists(HX_CSTRING("gradientTransform")))){ - HX_STACK_LINE(393) - this->applyTransform(grad->gradMatrix,inGrad->get(HX_CSTRING("gradientTransform"))); - } - HX_STACK_LINE(401) - for(::cpp::FastIterator_obj< ::Xml > *__it = ::cpp::CreateFastIterator< ::Xml >(inGrad->elements()); __it->hasNext(); ){ - ::Xml stop = __it->next(); - { - HX_STACK_LINE(403) - ::Hash styles = this->getStyles(stop,null()); HX_STACK_VAR(styles,"styles"); - HX_STACK_LINE(405) - grad->colors->push(this->getColorStyle(HX_CSTRING("stop-color"),stop,styles,(int)0)); - HX_STACK_LINE(406) - grad->alphas->push(this->getFloatStyle(HX_CSTRING("stop-opacity"),stop,styles,1.0)); - HX_STACK_LINE(407) - grad->ratios->push(::Std_obj::_int((::Std_obj::parseFloat(stop->get(HX_CSTRING("offset"))) * 255.0))); - } -; - } - HX_STACK_LINE(411) - this->mGrads->set(name,grad); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(SVGData_obj,loadGradient,(void)) - -Void SVGData_obj::loadDefs( ::Xml inXML){ -{ - HX_STACK_PUSH("SVGData::loadDefs","format/svg/SVGData.hx",310); - HX_STACK_THIS(this); - HX_STACK_ARG(inXML,"inXML"); - HX_STACK_LINE(314) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(314) - while(((_g < (int)2))){ - HX_STACK_LINE(314) - int pass = (_g)++; HX_STACK_VAR(pass,"pass"); - HX_STACK_LINE(316) - for(::cpp::FastIterator_obj< ::Xml > *__it = ::cpp::CreateFastIterator< ::Xml >(inXML->elements()); __it->hasNext(); ){ - ::Xml def = __it->next(); - { - HX_STACK_LINE(318) - ::String name = def->getNodeName(); HX_STACK_VAR(name,"name"); - HX_STACK_LINE(320) - if (((name.substr((int)0,(int)4) == HX_CSTRING("svg:")))){ - HX_STACK_LINE(320) - name = name.substr((int)4,null()); - } - HX_STACK_LINE(326) - if (((name == HX_CSTRING("linearGradient")))){ - HX_STACK_LINE(326) - this->loadGradient(def,::neash::display::GradientType_obj::LINEAR_dyn(),(pass == (int)1)); - } - else{ - HX_STACK_LINE(330) - if (((name == HX_CSTRING("radialGradient")))){ - HX_STACK_LINE(330) - this->loadGradient(def,::neash::display::GradientType_obj::RADIAL_dyn(),(pass == (int)1)); - } - } - } -; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGData_obj,loadDefs,(void)) - -::Hash SVGData_obj::getStyles( ::Xml inNode,::Hash inPrevStyles){ - HX_STACK_PUSH("SVGData::getStyles","format/svg/SVGData.hx",275); - HX_STACK_THIS(this); - HX_STACK_ARG(inNode,"inNode"); - HX_STACK_ARG(inPrevStyles,"inPrevStyles"); - HX_STACK_LINE(277) - if ((!(inNode->exists(HX_CSTRING("style"))))){ - HX_STACK_LINE(278) - return inPrevStyles; - } - HX_STACK_LINE(280) - ::Hash styles = ::Hash_obj::__new(); HX_STACK_VAR(styles,"styles"); - HX_STACK_LINE(282) - if (((inPrevStyles != null()))){ - HX_STACK_LINE(282) - for(::cpp::FastIterator_obj< ::String > *__it = ::cpp::CreateFastIterator< ::String >(inPrevStyles->keys()); __it->hasNext(); ){ - ::String s = __it->next(); - styles->set(s,inPrevStyles->get(s)); - } - } - HX_STACK_LINE(292) - ::String style = inNode->get(HX_CSTRING("style")); HX_STACK_VAR(style,"style"); - HX_STACK_LINE(293) - Array< ::String > strings = ::format::svg::SVGData_obj::mStyleSplit->split(style); HX_STACK_VAR(strings,"strings"); - HX_STACK_LINE(295) - { - HX_STACK_LINE(295) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(295) - while(((_g < strings->length))){ - HX_STACK_LINE(295) - ::String s = strings->__get(_g); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(295) - ++(_g); - HX_STACK_LINE(297) - if ((::format::svg::SVGData_obj::mStyleValue->match(s))){ - HX_STACK_LINE(297) - styles->set(::format::svg::SVGData_obj::mStyleValue->matched((int)1),::format::svg::SVGData_obj::mStyleValue->matched((int)2)); - } - } - } - HX_STACK_LINE(305) - return styles; -} - - -HX_DEFINE_DYNAMIC_FUNC2(SVGData_obj,getStyles,return ) - -::String SVGData_obj::getStyle( ::String inKey,::Xml inNode,::Hash inStyles,::String inDefault){ - HX_STACK_PUSH("SVGData::getStyle","format/svg/SVGData.hx",256); - HX_STACK_THIS(this); - HX_STACK_ARG(inKey,"inKey"); - HX_STACK_ARG(inNode,"inNode"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_ARG(inDefault,"inDefault"); - HX_STACK_LINE(258) - if (((bool((inNode != null())) && bool(inNode->exists(inKey))))){ - HX_STACK_LINE(258) - return inNode->get(inKey); - } - HX_STACK_LINE(264) - if (((bool((inStyles != null())) && bool(inStyles->exists(inKey))))){ - HX_STACK_LINE(264) - return inStyles->get(inKey); - } - HX_STACK_LINE(270) - return inDefault; -} - - -HX_DEFINE_DYNAMIC_FUNC4(SVGData_obj,getStyle,return ) - -Dynamic SVGData_obj::getStrokeStyle( ::String inKey,::Xml inNode,::Hash inStyles,Dynamic inDefault){ - HX_STACK_PUSH("SVGData::getStrokeStyle","format/svg/SVGData.hx",229); - HX_STACK_THIS(this); - HX_STACK_ARG(inKey,"inKey"); - HX_STACK_ARG(inNode,"inNode"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_ARG(inDefault,"inDefault"); - HX_STACK_LINE(231) - ::String s = this->getStyle(inKey,inNode,inStyles,HX_CSTRING("")); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(233) - if (((s == HX_CSTRING("")))){ - HX_STACK_LINE(233) - return inDefault; - } - HX_STACK_LINE(239) - if (((s == HX_CSTRING("none")))){ - HX_STACK_LINE(239) - return null(); - } - HX_STACK_LINE(245) - if (((s.charAt((int)0) == HX_CSTRING("#")))){ - HX_STACK_LINE(245) - return ::Std_obj::parseInt((HX_CSTRING("0x") + s.substr((int)1,null()))); - } - HX_STACK_LINE(251) - return ::Std_obj::parseInt(s); -} - - -HX_DEFINE_DYNAMIC_FUNC4(SVGData_obj,getStrokeStyle,return ) - -Float SVGData_obj::getFloatStyle( ::String inKey,::Xml inNode,::Hash inStyles,Float inDefault){ - HX_STACK_PUSH("SVGData::getFloatStyle","format/svg/SVGData.hx",214); - HX_STACK_THIS(this); - HX_STACK_ARG(inKey,"inKey"); - HX_STACK_ARG(inNode,"inNode"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_ARG(inDefault,"inDefault"); - HX_STACK_LINE(216) - ::String s = this->getStyle(inKey,inNode,inStyles,HX_CSTRING("")); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(218) - if (((s == HX_CSTRING("")))){ - HX_STACK_LINE(218) - return inDefault; - } - HX_STACK_LINE(224) - return ::Std_obj::parseFloat(s); -} - - -HX_DEFINE_DYNAMIC_FUNC4(SVGData_obj,getFloatStyle,return ) - -Float SVGData_obj::getFloat( ::Xml inXML,::String inName,hx::Null< Float > __o_inDef){ -Float inDef = __o_inDef.Default(0.0); - HX_STACK_PUSH("SVGData::getFloat","format/svg/SVGData.hx",204); - HX_STACK_THIS(this); - HX_STACK_ARG(inXML,"inXML"); - HX_STACK_ARG(inName,"inName"); - HX_STACK_ARG(inDef,"inDef"); -{ - HX_STACK_LINE(206) - if ((inXML->exists(inName))){ - HX_STACK_LINE(207) - return ::Std_obj::parseFloat(inXML->get(inName)); - } - HX_STACK_LINE(209) - return inDef; - } -} - - -HX_DEFINE_DYNAMIC_FUNC3(SVGData_obj,getFloat,return ) - -::format::svg::FillType SVGData_obj::getFillStyle( ::String inKey,::Xml inNode,::Hash inStyles){ - HX_STACK_PUSH("SVGData::getFillStyle","format/svg/SVGData.hx",161); - HX_STACK_THIS(this); - HX_STACK_ARG(inKey,"inKey"); - HX_STACK_ARG(inNode,"inNode"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_LINE(163) - ::String s = this->getStyle(inKey,inNode,inStyles,HX_CSTRING("")); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(165) - if (((s == HX_CSTRING("")))){ - HX_STACK_LINE(165) - return ::format::svg::SVGData_obj::defaultFill; - } - HX_STACK_LINE(171) - if (((s.charAt((int)0) == HX_CSTRING("#")))){ - HX_STACK_LINE(171) - return ::format::svg::FillType_obj::FillSolid(::Std_obj::parseInt((HX_CSTRING("0x") + s.substr((int)1,null())))); - } - HX_STACK_LINE(177) - if (((s == HX_CSTRING("none")))){ - HX_STACK_LINE(177) - return ::format::svg::FillType_obj::FillNone_dyn(); - } - HX_STACK_LINE(183) - if ((::format::svg::SVGData_obj::mURLMatch->match(s))){ - HX_STACK_LINE(185) - ::String url = ::format::svg::SVGData_obj::mURLMatch->matched((int)1); HX_STACK_VAR(url,"url"); - HX_STACK_LINE(187) - if ((this->mGrads->exists(url))){ - HX_STACK_LINE(187) - return ::format::svg::FillType_obj::FillGrad(this->mGrads->get(url)); - } - HX_STACK_LINE(193) - hx::Throw ((HX_CSTRING("Unknown url:") + url)); - } - HX_STACK_LINE(197) - hx::Throw ((HX_CSTRING("Unknown fill string:") + s)); - HX_STACK_LINE(199) - return ::format::svg::FillType_obj::FillNone_dyn(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(SVGData_obj,getFillStyle,return ) - -int SVGData_obj::getColorStyle( ::String inKey,::Xml inNode,::Hash inStyles,int inDefault){ - HX_STACK_PUSH("SVGData::getColorStyle","format/svg/SVGData.hx",140); - HX_STACK_THIS(this); - HX_STACK_ARG(inKey,"inKey"); - HX_STACK_ARG(inNode,"inNode"); - HX_STACK_ARG(inStyles,"inStyles"); - HX_STACK_ARG(inDefault,"inDefault"); - HX_STACK_LINE(142) - ::String s = this->getStyle(inKey,inNode,inStyles,HX_CSTRING("")); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(144) - if (((s == HX_CSTRING("")))){ - HX_STACK_LINE(144) - return inDefault; - } - HX_STACK_LINE(150) - if (((s.charAt((int)0) == HX_CSTRING("#")))){ - HX_STACK_LINE(150) - return ::Std_obj::parseInt((HX_CSTRING("0x") + s.substr((int)1,null()))); - } - HX_STACK_LINE(156) - return ::Std_obj::parseInt(s); -} - - -HX_DEFINE_DYNAMIC_FUNC4(SVGData_obj,getColorStyle,return ) - -Void SVGData_obj::dumpGroup( ::format::svg::Group g,::String indent){ -{ - HX_STACK_PUSH("SVGData::dumpGroup","format/svg/SVGData.hx",120); - HX_STACK_THIS(this); - HX_STACK_ARG(g,"g"); - HX_STACK_ARG(indent,"indent"); - HX_STACK_LINE(122) - ::haxe::Log_obj::trace(((indent + HX_CSTRING("Group:")) + g->name),hx::SourceInfo(HX_CSTRING("SVGData.hx"),122,HX_CSTRING("format.svg.SVGData"),HX_CSTRING("dumpGroup"))); - HX_STACK_LINE(123) - hx::AddEq(indent,HX_CSTRING(" ")); - HX_STACK_LINE(125) - { - HX_STACK_LINE(125) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::format::svg::DisplayElement > _g1 = g->children; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(125) - while(((_g < _g1->length))){ - HX_STACK_LINE(125) - ::format::svg::DisplayElement e = _g1->__get(_g); HX_STACK_VAR(e,"e"); - HX_STACK_LINE(125) - ++(_g); - HX_STACK_LINE(127) - { - ::format::svg::DisplayElement _switch_1 = (e); - switch((_switch_1)->GetIndex()){ - case 0: { - ::format::svg::Path path = _switch_1->__Param(0); -{ - HX_STACK_LINE(129) - ::haxe::Log_obj::trace((((indent + HX_CSTRING("Path")) + HX_CSTRING(" ")) + ::Std_obj::string(path->matrix)),hx::SourceInfo(HX_CSTRING("SVGData.hx"),129,HX_CSTRING("format.svg.SVGData"),HX_CSTRING("dumpGroup"))); - } - } - ;break; - case 1: { - ::format::svg::Group group = _switch_1->__Param(0); -{ - HX_STACK_LINE(130) - this->dumpGroup(group,(indent + HX_CSTRING(" "))); - } - } - ;break; - case 2: { - ::format::svg::Text text = _switch_1->__Param(0); -{ - HX_STACK_LINE(131) - ::haxe::Log_obj::trace(((indent + HX_CSTRING("Text ")) + text->text),hx::SourceInfo(HX_CSTRING("SVGData.hx"),131,HX_CSTRING("format.svg.SVGData"),HX_CSTRING("dumpGroup"))); - } - } - ;break; - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(SVGData_obj,dumpGroup,(void)) - -Float SVGData_obj::applyTransform( ::neash::geom::Matrix ioMatrix,::String inTrans){ - HX_STACK_PUSH("SVGData::applyTransform","format/svg/SVGData.hx",70); - HX_STACK_THIS(this); - HX_STACK_ARG(ioMatrix,"ioMatrix"); - HX_STACK_ARG(inTrans,"inTrans"); - HX_STACK_LINE(72) - Float scale = 1.0; HX_STACK_VAR(scale,"scale"); - HX_STACK_LINE(74) - if ((::format::svg::SVGData_obj::mTranslateMatch->match(inTrans))){ - HX_STACK_LINE(75) - ioMatrix->translate(::Std_obj::parseFloat(::format::svg::SVGData_obj::mTranslateMatch->matched((int)1)),::Std_obj::parseFloat(::format::svg::SVGData_obj::mTranslateMatch->matched((int)2))); - } - else{ - HX_STACK_LINE(80) - if ((::format::svg::SVGData_obj::mScaleMatch->match(inTrans))){ - HX_STACK_LINE(83) - Float s = ::Std_obj::parseFloat(::format::svg::SVGData_obj::mScaleMatch->matched((int)1)); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(84) - ioMatrix->scale(s,s); - HX_STACK_LINE(85) - scale = s; - } - else{ - HX_STACK_LINE(87) - if ((::format::svg::SVGData_obj::mMatrixMatch->match(inTrans))){ - HX_STACK_LINE(89) - ::neash::geom::Matrix m = ::neash::geom::Matrix_obj::__new(::Std_obj::parseFloat(::format::svg::SVGData_obj::mMatrixMatch->matched((int)1)),::Std_obj::parseFloat(::format::svg::SVGData_obj::mMatrixMatch->matched((int)2)),::Std_obj::parseFloat(::format::svg::SVGData_obj::mMatrixMatch->matched((int)3)),::Std_obj::parseFloat(::format::svg::SVGData_obj::mMatrixMatch->matched((int)4)),::Std_obj::parseFloat(::format::svg::SVGData_obj::mMatrixMatch->matched((int)5)),::Std_obj::parseFloat(::format::svg::SVGData_obj::mMatrixMatch->matched((int)6))); HX_STACK_VAR(m,"m"); - HX_STACK_LINE(98) - m->concat(ioMatrix); - HX_STACK_LINE(100) - ioMatrix->a = m->a; - HX_STACK_LINE(101) - ioMatrix->b = m->b; - HX_STACK_LINE(102) - ioMatrix->c = m->c; - HX_STACK_LINE(103) - ioMatrix->d = m->d; - HX_STACK_LINE(104) - ioMatrix->tx = m->tx; - HX_STACK_LINE(105) - ioMatrix->ty = m->ty; - HX_STACK_LINE(107) - scale = ::Math_obj::sqrt(((ioMatrix->a * ioMatrix->a) + (ioMatrix->c * ioMatrix->c))); - } - else{ - HX_STACK_LINE(109) - ::haxe::Log_obj::trace((HX_CSTRING("Warning, unknown transform:") + inTrans),hx::SourceInfo(HX_CSTRING("SVGData.hx"),111,HX_CSTRING("format.svg.SVGData"),HX_CSTRING("applyTransform"))); - } - } - } - HX_STACK_LINE(115) - return scale; -} - - -HX_DEFINE_DYNAMIC_FUNC2(SVGData_obj,applyTransform,return ) - -Float SVGData_obj::SIN45; - -Float SVGData_obj::TAN22; - -::EReg SVGData_obj::mStyleSplit; - -::EReg SVGData_obj::mStyleValue; - -::EReg SVGData_obj::mTranslateMatch; - -::EReg SVGData_obj::mScaleMatch; - -::EReg SVGData_obj::mMatrixMatch; - -::EReg SVGData_obj::mURLMatch; - -::format::svg::FillType SVGData_obj::defaultFill; - - -SVGData_obj::SVGData_obj() -{ -} - -void SVGData_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SVGData); - HX_MARK_MEMBER_NAME(mPathParser,"mPathParser"); - HX_MARK_MEMBER_NAME(mGrads,"mGrads"); - HX_MARK_MEMBER_NAME(mConvertCubics,"mConvertCubics"); - HX_MARK_MEMBER_NAME(width,"width"); - HX_MARK_MEMBER_NAME(height,"height"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void SVGData_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mPathParser,"mPathParser"); - HX_VISIT_MEMBER_NAME(mGrads,"mGrads"); - HX_VISIT_MEMBER_NAME(mConvertCubics,"mConvertCubics"); - HX_VISIT_MEMBER_NAME(width,"width"); - HX_VISIT_MEMBER_NAME(height,"height"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic SVGData_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"SIN45") ) { return SIN45; } - if (HX_FIELD_EQ(inName,"TAN22") ) { return TAN22; } - if (HX_FIELD_EQ(inName,"width") ) { return width; } - break; - case 6: - if (HX_FIELD_EQ(inName,"mGrads") ) { return mGrads; } - if (HX_FIELD_EQ(inName,"height") ) { return height; } - break; - case 8: - if (HX_FIELD_EQ(inName,"loadText") ) { return loadText_dyn(); } - if (HX_FIELD_EQ(inName,"loadPath") ) { return loadPath_dyn(); } - if (HX_FIELD_EQ(inName,"loadDefs") ) { return loadDefs_dyn(); } - if (HX_FIELD_EQ(inName,"getStyle") ) { return getStyle_dyn(); } - if (HX_FIELD_EQ(inName,"getFloat") ) { return getFloat_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"mURLMatch") ) { return mURLMatch; } - if (HX_FIELD_EQ(inName,"loadGroup") ) { return loadGroup_dyn(); } - if (HX_FIELD_EQ(inName,"getStyles") ) { return getStyles_dyn(); } - if (HX_FIELD_EQ(inName,"dumpGroup") ) { return dumpGroup_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"mStyleSplit") ) { return mStyleSplit; } - if (HX_FIELD_EQ(inName,"mStyleValue") ) { return mStyleValue; } - if (HX_FIELD_EQ(inName,"mScaleMatch") ) { return mScaleMatch; } - if (HX_FIELD_EQ(inName,"defaultFill") ) { return defaultFill; } - if (HX_FIELD_EQ(inName,"mPathParser") ) { return mPathParser; } - break; - case 12: - if (HX_FIELD_EQ(inName,"mMatrixMatch") ) { return mMatrixMatch; } - if (HX_FIELD_EQ(inName,"loadGradient") ) { return loadGradient_dyn(); } - if (HX_FIELD_EQ(inName,"getFillStyle") ) { return getFillStyle_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"getFloatStyle") ) { return getFloatStyle_dyn(); } - if (HX_FIELD_EQ(inName,"getColorStyle") ) { return getColorStyle_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"getStrokeStyle") ) { return getStrokeStyle_dyn(); } - if (HX_FIELD_EQ(inName,"applyTransform") ) { return applyTransform_dyn(); } - if (HX_FIELD_EQ(inName,"mConvertCubics") ) { return mConvertCubics; } - break; - case 15: - if (HX_FIELD_EQ(inName,"mTranslateMatch") ) { return mTranslateMatch; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SVGData_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"SIN45") ) { SIN45=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"TAN22") ) { TAN22=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"width") ) { width=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"mGrads") ) { mGrads=inValue.Cast< ::Hash >(); return inValue; } - if (HX_FIELD_EQ(inName,"height") ) { height=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"mURLMatch") ) { mURLMatch=inValue.Cast< ::EReg >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"mStyleSplit") ) { mStyleSplit=inValue.Cast< ::EReg >(); return inValue; } - if (HX_FIELD_EQ(inName,"mStyleValue") ) { mStyleValue=inValue.Cast< ::EReg >(); return inValue; } - if (HX_FIELD_EQ(inName,"mScaleMatch") ) { mScaleMatch=inValue.Cast< ::EReg >(); return inValue; } - if (HX_FIELD_EQ(inName,"defaultFill") ) { defaultFill=inValue.Cast< ::format::svg::FillType >(); return inValue; } - if (HX_FIELD_EQ(inName,"mPathParser") ) { mPathParser=inValue.Cast< ::format::svg::PathParser >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"mMatrixMatch") ) { mMatrixMatch=inValue.Cast< ::EReg >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"mConvertCubics") ) { mConvertCubics=inValue.Cast< bool >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"mTranslateMatch") ) { mTranslateMatch=inValue.Cast< ::EReg >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SVGData_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mPathParser")); - outFields->push(HX_CSTRING("mGrads")); - outFields->push(HX_CSTRING("mConvertCubics")); - outFields->push(HX_CSTRING("width")); - outFields->push(HX_CSTRING("height")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("SIN45"), - HX_CSTRING("TAN22"), - HX_CSTRING("mStyleSplit"), - HX_CSTRING("mStyleValue"), - HX_CSTRING("mTranslateMatch"), - HX_CSTRING("mScaleMatch"), - HX_CSTRING("mMatrixMatch"), - HX_CSTRING("mURLMatch"), - HX_CSTRING("defaultFill"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("loadText"), - HX_CSTRING("loadPath"), - HX_CSTRING("loadGroup"), - HX_CSTRING("loadGradient"), - HX_CSTRING("loadDefs"), - HX_CSTRING("getStyles"), - HX_CSTRING("getStyle"), - HX_CSTRING("getStrokeStyle"), - HX_CSTRING("getFloatStyle"), - HX_CSTRING("getFloat"), - HX_CSTRING("getFillStyle"), - HX_CSTRING("getColorStyle"), - HX_CSTRING("dumpGroup"), - HX_CSTRING("applyTransform"), - HX_CSTRING("mPathParser"), - HX_CSTRING("mGrads"), - HX_CSTRING("mConvertCubics"), - HX_CSTRING("width"), - HX_CSTRING("height"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SVGData_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(SVGData_obj::SIN45,"SIN45"); - HX_MARK_MEMBER_NAME(SVGData_obj::TAN22,"TAN22"); - HX_MARK_MEMBER_NAME(SVGData_obj::mStyleSplit,"mStyleSplit"); - HX_MARK_MEMBER_NAME(SVGData_obj::mStyleValue,"mStyleValue"); - HX_MARK_MEMBER_NAME(SVGData_obj::mTranslateMatch,"mTranslateMatch"); - HX_MARK_MEMBER_NAME(SVGData_obj::mScaleMatch,"mScaleMatch"); - HX_MARK_MEMBER_NAME(SVGData_obj::mMatrixMatch,"mMatrixMatch"); - HX_MARK_MEMBER_NAME(SVGData_obj::mURLMatch,"mURLMatch"); - HX_MARK_MEMBER_NAME(SVGData_obj::defaultFill,"defaultFill"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SVGData_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(SVGData_obj::SIN45,"SIN45"); - HX_VISIT_MEMBER_NAME(SVGData_obj::TAN22,"TAN22"); - HX_VISIT_MEMBER_NAME(SVGData_obj::mStyleSplit,"mStyleSplit"); - HX_VISIT_MEMBER_NAME(SVGData_obj::mStyleValue,"mStyleValue"); - HX_VISIT_MEMBER_NAME(SVGData_obj::mTranslateMatch,"mTranslateMatch"); - HX_VISIT_MEMBER_NAME(SVGData_obj::mScaleMatch,"mScaleMatch"); - HX_VISIT_MEMBER_NAME(SVGData_obj::mMatrixMatch,"mMatrixMatch"); - HX_VISIT_MEMBER_NAME(SVGData_obj::mURLMatch,"mURLMatch"); - HX_VISIT_MEMBER_NAME(SVGData_obj::defaultFill,"defaultFill"); -}; - -Class SVGData_obj::__mClass; - -void SVGData_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.SVGData"), hx::TCanCast< SVGData_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SVGData_obj::__boot() -{ - SIN45= 0.70710678118654752440084436210485; - TAN22= 0.4142135623730950488016887242097; - mStyleSplit= ::EReg_obj::__new(HX_CSTRING(";"),HX_CSTRING("g")); - mStyleValue= ::EReg_obj::__new(HX_CSTRING("\\s*(.*)\\s*:\\s*(.*)\\s*"),HX_CSTRING("")); - mTranslateMatch= ::EReg_obj::__new(HX_CSTRING("translate\\((.*),(.*)\\)"),HX_CSTRING("")); - mScaleMatch= ::EReg_obj::__new(HX_CSTRING("scale\\((.*)\\)"),HX_CSTRING("")); - mMatrixMatch= ::EReg_obj::__new(HX_CSTRING("matrix\\((.*),(.*),(.*),(.*),(.*),(.*)\\)"),HX_CSTRING("")); - mURLMatch= ::EReg_obj::__new(HX_CSTRING("url\\(#(.*)\\)"),HX_CSTRING("")); - defaultFill= ::format::svg::FillType_obj::FillSolid((int)0); -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/SVGRenderer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/SVGRenderer.cpp deleted file mode 100644 index 640da27..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/SVGRenderer.cpp +++ /dev/null @@ -1,933 +0,0 @@ -#include - -#ifndef INCLUDED_EReg -#include -#endif -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_format_gfx_Gfx -#include -#endif -#ifndef INCLUDED_format_gfx_Gfx2Haxe -#include -#endif -#ifndef INCLUDED_format_gfx_GfxBytes -#include -#endif -#ifndef INCLUDED_format_gfx_GfxExtent -#include -#endif -#ifndef INCLUDED_format_gfx_GfxGraphics -#include -#endif -#ifndef INCLUDED_format_gfx_GfxTextFinder -#include -#endif -#ifndef INCLUDED_format_gfx_Gradient -#include -#endif -#ifndef INCLUDED_format_gfx_LineStyle -#include -#endif -#ifndef INCLUDED_format_svg_DisplayElement -#include -#endif -#ifndef INCLUDED_format_svg_FillType -#include -#endif -#ifndef INCLUDED_format_svg_Grad -#include -#endif -#ifndef INCLUDED_format_svg_Group -#include -#endif -#ifndef INCLUDED_format_svg_Path -#include -#endif -#ifndef INCLUDED_format_svg_PathSegment -#include -#endif -#ifndef INCLUDED_format_svg_RenderContext -#include -#endif -#ifndef INCLUDED_format_svg_SVGData -#include -#endif -#ifndef INCLUDED_format_svg_SVGRenderer -#include -#endif -#ifndef INCLUDED_format_svg_Text -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -#ifndef INCLUDED_neash_display_Shape -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace format{ -namespace svg{ - -Void SVGRenderer_obj::__construct(::format::svg::SVGData inSvg,::String inLayer) -{ -HX_STACK_PUSH("SVGRenderer::new","format/svg/SVGRenderer.hx",46); -{ - HX_STACK_LINE(47) - this->mSvg = inSvg; - HX_STACK_LINE(49) - this->width = this->mSvg->width; - HX_STACK_LINE(50) - this->height = this->mSvg->height; - HX_STACK_LINE(51) - this->mRoot = this->mSvg; - HX_STACK_LINE(52) - if (((inLayer != null()))){ - HX_STACK_LINE(54) - this->mRoot = this->mSvg->findGroup(inLayer); - HX_STACK_LINE(55) - if (((this->mRoot == null()))){ - HX_STACK_LINE(56) - hx::Throw ((HX_CSTRING("Could not find SVG group: ") + inLayer)); - } - } -} -; - return null(); -} - -SVGRenderer_obj::~SVGRenderer_obj() { } - -Dynamic SVGRenderer_obj::__CreateEmpty() { return new SVGRenderer_obj; } -hx::ObjectPtr< SVGRenderer_obj > SVGRenderer_obj::__new(::format::svg::SVGData inSvg,::String inLayer) -{ hx::ObjectPtr< SVGRenderer_obj > result = new SVGRenderer_obj(); - result->__construct(inSvg,inLayer); - return result;} - -Dynamic SVGRenderer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SVGRenderer_obj > result = new SVGRenderer_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::neash::display::BitmapData SVGRenderer_obj::renderBitmap( ::neash::geom::Rectangle inRect,hx::Null< Float > __o_inScale){ -Float inScale = __o_inScale.Default(1.0); - HX_STACK_PUSH("SVGRenderer::renderBitmap","format/svg/SVGRenderer.hx",309); - HX_STACK_THIS(this); - HX_STACK_ARG(inRect,"inRect"); - HX_STACK_ARG(inScale,"inScale"); -{ - HX_STACK_LINE(310) - this->mMatrix = ::neash::geom::Matrix_obj::__new(inScale,(int)0,(int)0,inScale,(-(inRect->x) * inScale),(-(inRect->y) * inScale)); - HX_STACK_LINE(312) - int w = ::Std_obj::_int(::Math_obj::ceil(( (((inRect == null()))) ? Float(this->width) : Float((inRect->width * inScale)) ))); HX_STACK_VAR(w,"w"); - HX_STACK_LINE(313) - int h = ::Std_obj::_int(::Math_obj::ceil(( (((inRect == null()))) ? Float(this->width) : Float((inRect->height * inScale)) ))); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(315) - ::neash::display::BitmapData bmp = ::neash::display::BitmapData_obj::__new(w,h,true,(int)0); HX_STACK_VAR(bmp,"bmp"); - HX_STACK_LINE(317) - ::neash::display::Shape shape = ::neash::display::Shape_obj::__new(); HX_STACK_VAR(shape,"shape"); - HX_STACK_LINE(318) - this->mGfx = ::format::gfx::GfxGraphics_obj::__new(shape->nmeGetGraphics()); - HX_STACK_LINE(320) - this->mGroupPath = Array_obj< ::String >::__new(); - HX_STACK_LINE(321) - this->iterateGroup(this->mRoot,true); - HX_STACK_LINE(323) - bmp->draw(shape,null(),null(),null(),null(),null()); - HX_STACK_LINE(324) - this->mGfx = null(); - HX_STACK_LINE(326) - return bmp; - } -} - - -HX_DEFINE_DYNAMIC_FUNC2(SVGRenderer_obj,renderBitmap,return ) - -::neash::display::Shape SVGRenderer_obj::namedShape( ::String inName){ - HX_STACK_PUSH("SVGRenderer::namedShape","format/svg/SVGRenderer.hx",302); - HX_STACK_THIS(this); - HX_STACK_ARG(inName,"inName"); - HX_STACK_LINE(302) - Array< ::String > inName1 = Array_obj< ::String >::__new().Add(inName); HX_STACK_VAR(inName1,"inName1"); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_1_1,Array< ::String >,inName1) - bool run(::String name,Array< ::String > _){ - HX_STACK_PUSH("*::_Function_1_1","format/svg/SVGRenderer.hx",304); - HX_STACK_ARG(name,"name"); - HX_STACK_ARG(_,"_"); - { - HX_STACK_LINE(304) - return (name == inName1->__get((int)0)); - } - return null(); - } - HX_END_LOCAL_FUNC2(return) - - HX_STACK_LINE(303) - return this->createShape(null(), Dynamic(new _Function_1_1(inName1)),null()); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGRenderer_obj,namedShape,return ) - -::neash::display::Shape SVGRenderer_obj::createShape( ::neash::geom::Matrix inMatrix,Dynamic inFilter,::neash::geom::Rectangle inScale9){ - HX_STACK_PUSH("SVGRenderer::createShape","format/svg/SVGRenderer.hx",296); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(inScale9,"inScale9"); - HX_STACK_LINE(297) - ::neash::display::Shape shape = ::neash::display::Shape_obj::__new(); HX_STACK_VAR(shape,"shape"); - HX_STACK_LINE(298) - this->renderObject(shape,shape->nmeGetGraphics(),inMatrix,inFilter,inScale9); - HX_STACK_LINE(299) - return shape; -} - - -HX_DEFINE_DYNAMIC_FUNC3(SVGRenderer_obj,createShape,return ) - -Void SVGRenderer_obj::renderSprite( ::neash::display::Sprite inObj,::neash::geom::Matrix inMatrix,Dynamic inFilter,::neash::geom::Rectangle inScale9){ -{ - HX_STACK_PUSH("SVGRenderer::renderSprite","format/svg/SVGRenderer.hx",291); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(inScale9,"inScale9"); - HX_STACK_LINE(291) - this->renderObject(inObj,inObj->nmeGetGraphics(),inMatrix,inFilter,inScale9); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(SVGRenderer_obj,renderSprite,(void)) - -Void SVGRenderer_obj::renderObject( ::neash::display::DisplayObject inObj,::neash::display::Graphics inGfx,::neash::geom::Matrix inMatrix,Dynamic inFilter,::neash::geom::Rectangle inScale9){ -{ - HX_STACK_PUSH("SVGRenderer::renderObject","format/svg/SVGRenderer.hx",277); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(inScale9,"inScale9"); - HX_STACK_LINE(278) - this->render(inGfx,inMatrix,inFilter,inScale9,null(),null()); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_1) - bool run(::String _,Array< ::String > groups){ - HX_STACK_PUSH("*::_Function_1_1","format/svg/SVGRenderer.hx",279); - HX_STACK_ARG(_,"_"); - HX_STACK_ARG(groups,"groups"); - { - HX_STACK_LINE(279) - return (groups->__get((int)1) == HX_CSTRING(".scale9")); - } - return null(); - } - HX_END_LOCAL_FUNC2(return) - - HX_STACK_LINE(279) - ::neash::geom::Rectangle rect = this->getExtent(inMatrix, Dynamic(new _Function_1_1()),null()); HX_STACK_VAR(rect,"rect"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(SVGRenderer_obj,renderObject,(void)) - -::neash::geom::Rectangle SVGRenderer_obj::getMatchingRect( ::EReg inMatch){ - HX_STACK_PUSH("SVGRenderer::getMatchingRect","format/svg/SVGRenderer.hx",268); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatch,"inMatch"); - HX_STACK_LINE(268) - Array< ::EReg > inMatch1 = Array_obj< ::EReg >::__new().Add(inMatch); HX_STACK_VAR(inMatch1,"inMatch1"); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_1_1,Array< ::EReg >,inMatch1) - bool run(::String _,Array< ::String > groups){ - HX_STACK_PUSH("*::_Function_1_1","format/svg/SVGRenderer.hx",270); - HX_STACK_ARG(_,"_"); - HX_STACK_ARG(groups,"groups"); - { - HX_STACK_LINE(270) - return (bool((groups->__get((int)1) != null())) && bool(inMatch1->__get((int)0)->match(groups->__get((int)1)))); - } - return null(); - } - HX_END_LOCAL_FUNC2(return) - - HX_STACK_LINE(269) - return this->getExtent(null(), Dynamic(new _Function_1_1(inMatch1)),false); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGRenderer_obj,getMatchingRect,return ) - -::format::svg::Text SVGRenderer_obj::findText( Dynamic inFilter){ - HX_STACK_PUSH("SVGRenderer::findText","format/svg/SVGRenderer.hx",259); - HX_STACK_THIS(this); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_LINE(260) - this->mFilter = inFilter; - HX_STACK_LINE(261) - this->mGroupPath = Array_obj< ::String >::__new(); - HX_STACK_LINE(262) - ::format::gfx::GfxTextFinder finder = ::format::gfx::GfxTextFinder_obj::__new(); HX_STACK_VAR(finder,"finder"); - HX_STACK_LINE(263) - this->mGfx = finder; - HX_STACK_LINE(264) - this->iterateGroup(this->mRoot,false); - HX_STACK_LINE(265) - return finder->text; -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGRenderer_obj,findText,return ) - -::neash::geom::Rectangle SVGRenderer_obj::getExtent( ::neash::geom::Matrix inMatrix,Dynamic inFilter,Dynamic inIgnoreDot){ - HX_STACK_PUSH("SVGRenderer::getExtent","format/svg/SVGRenderer.hx",240); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(inIgnoreDot,"inIgnoreDot"); - HX_STACK_LINE(241) - if (((inIgnoreDot == null()))){ - HX_STACK_LINE(242) - inIgnoreDot = (inFilter == null()); - } - HX_STACK_LINE(243) - ::format::gfx::GfxExtent gfx = ::format::gfx::GfxExtent_obj::__new(); HX_STACK_VAR(gfx,"gfx"); - HX_STACK_LINE(244) - this->mGfx = gfx; - HX_STACK_LINE(245) - if (((inMatrix == null()))){ - HX_STACK_LINE(246) - this->mMatrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - } - else{ - HX_STACK_LINE(248) - this->mMatrix = inMatrix->clone(); - } - HX_STACK_LINE(250) - this->mFilter = inFilter; - HX_STACK_LINE(251) - this->mGroupPath = Array_obj< ::String >::__new(); - HX_STACK_LINE(253) - this->iterateGroup(this->mRoot,inIgnoreDot); - HX_STACK_LINE(255) - return gfx->extent; -} - - -HX_DEFINE_DYNAMIC_FUNC3(SVGRenderer_obj,getExtent,return ) - -Void SVGRenderer_obj::renderRect0( ::neash::display::Graphics inGfx,Dynamic inFilter,::neash::geom::Rectangle scaleRect,::neash::geom::Rectangle inBounds,::neash::geom::Rectangle inRect){ -{ - HX_STACK_PUSH("SVGRenderer::renderRect0","format/svg/SVGRenderer.hx",221); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(scaleRect,"scaleRect"); - HX_STACK_ARG(inBounds,"inBounds"); - HX_STACK_ARG(inRect,"inRect"); - HX_STACK_LINE(222) - ::neash::geom::Matrix matrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(matrix,"matrix"); - HX_STACK_LINE(223) - matrix->tx = -(inBounds->x); - HX_STACK_LINE(224) - matrix->ty = -(inBounds->y); - HX_STACK_LINE(225) - if (((scaleRect != null()))){ - HX_STACK_LINE(227) - Float extraX = (inRect->width - ((inBounds->width - scaleRect->width))); HX_STACK_VAR(extraX,"extraX"); - HX_STACK_LINE(228) - Float extraY = (inRect->height - ((inBounds->height - scaleRect->height))); HX_STACK_VAR(extraY,"extraY"); - HX_STACK_LINE(229) - this->render(inGfx,matrix,inFilter,scaleRect,extraX,extraY); - } - else{ - HX_STACK_LINE(232) - this->render(inGfx,matrix,inFilter,null(),null(),null()); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(SVGRenderer_obj,renderRect0,(void)) - -Void SVGRenderer_obj::renderRect( ::neash::display::Graphics inGfx,Dynamic inFilter,::neash::geom::Rectangle scaleRect,::neash::geom::Rectangle inBounds,::neash::geom::Rectangle inRect){ -{ - HX_STACK_PUSH("SVGRenderer::renderRect","format/svg/SVGRenderer.hx",206); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(scaleRect,"scaleRect"); - HX_STACK_ARG(inBounds,"inBounds"); - HX_STACK_ARG(inRect,"inRect"); - HX_STACK_LINE(207) - ::neash::geom::Matrix matrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(matrix,"matrix"); - HX_STACK_LINE(208) - matrix->tx = (inRect->x - inBounds->x); - HX_STACK_LINE(209) - matrix->ty = (inRect->y - inBounds->y); - HX_STACK_LINE(210) - if (((scaleRect != null()))){ - HX_STACK_LINE(212) - Float extraX = (inRect->width - ((inBounds->width - scaleRect->width))); HX_STACK_VAR(extraX,"extraX"); - HX_STACK_LINE(213) - Float extraY = (inRect->height - ((inBounds->height - scaleRect->height))); HX_STACK_VAR(extraY,"extraY"); - HX_STACK_LINE(214) - this->render(inGfx,matrix,inFilter,scaleRect,extraX,extraY); - } - else{ - HX_STACK_LINE(217) - this->render(inGfx,matrix,inFilter,null(),null(),null()); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(SVGRenderer_obj,renderRect,(void)) - -Void SVGRenderer_obj::render( ::neash::display::Graphics inGfx,::neash::geom::Matrix inMatrix,Dynamic inFilter,::neash::geom::Rectangle inScaleRect,Dynamic inScaleW,Dynamic inScaleH){ -{ - HX_STACK_PUSH("SVGRenderer::render","format/svg/SVGRenderer.hx",189); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_ARG(inScaleRect,"inScaleRect"); - HX_STACK_ARG(inScaleW,"inScaleW"); - HX_STACK_ARG(inScaleH,"inScaleH"); - HX_STACK_LINE(191) - this->mGfx = ::format::gfx::GfxGraphics_obj::__new(inGfx); - HX_STACK_LINE(192) - if (((inMatrix == null()))){ - HX_STACK_LINE(193) - this->mMatrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - } - else{ - HX_STACK_LINE(195) - this->mMatrix = inMatrix->clone(); - } - HX_STACK_LINE(197) - this->mScaleRect = inScaleRect; - HX_STACK_LINE(198) - this->mScaleW = inScaleW; - HX_STACK_LINE(199) - this->mScaleH = inScaleH; - HX_STACK_LINE(200) - this->mFilter = inFilter; - HX_STACK_LINE(201) - this->mGroupPath = Array_obj< ::String >::__new(); - HX_STACK_LINE(203) - this->iterateGroup(this->mRoot,(inFilter == null())); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(SVGRenderer_obj,render,(void)) - -Void SVGRenderer_obj::iterateGroup( ::format::svg::Group inGroup,bool inIgnoreDot){ -{ - HX_STACK_PUSH("SVGRenderer::iterateGroup","format/svg/SVGRenderer.hx",159); - HX_STACK_THIS(this); - HX_STACK_ARG(inGroup,"inGroup"); - HX_STACK_ARG(inIgnoreDot,"inIgnoreDot"); - HX_STACK_LINE(161) - if (((bool((bool(inIgnoreDot) && bool((inGroup->name != null())))) && bool((inGroup->name.substr((int)0,(int)1) == HX_CSTRING(".")))))){ - HX_STACK_LINE(162) - return null(); - } - HX_STACK_LINE(164) - this->mGroupPath->push(inGroup->name); - HX_STACK_LINE(168) - { - HX_STACK_LINE(168) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::format::svg::DisplayElement > _g1 = inGroup->children; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(168) - while(((_g < _g1->length))){ - HX_STACK_LINE(168) - ::format::svg::DisplayElement child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(168) - ++(_g); - HX_STACK_LINE(170) - { - ::format::svg::DisplayElement _switch_1 = (child); - switch((_switch_1)->GetIndex()){ - case 1: { - ::format::svg::Group group = _switch_1->__Param(0); -{ - HX_STACK_LINE(172) - this->iterateGroup(group,inIgnoreDot); - } - } - ;break; - case 0: { - ::format::svg::Path path = _switch_1->__Param(0); -{ - HX_STACK_LINE(174) - this->iteratePath(path); - } - } - ;break; - case 2: { - ::format::svg::Text text = _switch_1->__Param(0); -{ - HX_STACK_LINE(176) - this->iterateText(text); - } - } - ;break; - } - } - } - } - HX_STACK_LINE(181) - this->mGroupPath->pop(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(SVGRenderer_obj,iterateGroup,(void)) - -Void SVGRenderer_obj::iteratePath( ::format::svg::Path inPath){ -{ - HX_STACK_PUSH("SVGRenderer::iteratePath","format/svg/SVGRenderer.hx",95); - HX_STACK_THIS(this); - HX_STACK_ARG(inPath,"inPath"); - HX_STACK_LINE(96) - if (((bool((this->mFilter_dyn() != null())) && bool(!(this->mFilter(inPath->name,this->mGroupPath)))))){ - HX_STACK_LINE(97) - return null(); - } - HX_STACK_LINE(99) - if (((bool((inPath->segments->length == (int)0)) || bool((this->mGfx == null()))))){ - HX_STACK_LINE(100) - return null(); - } - HX_STACK_LINE(101) - Float px = 0.0; HX_STACK_VAR(px,"px"); - HX_STACK_LINE(102) - Float py = 0.0; HX_STACK_VAR(py,"py"); - HX_STACK_LINE(104) - ::neash::geom::Matrix m = inPath->matrix->clone(); HX_STACK_VAR(m,"m"); - HX_STACK_LINE(105) - m->concat(this->mMatrix); - HX_STACK_LINE(106) - ::format::svg::RenderContext context = ::format::svg::RenderContext_obj::__new(m,this->mScaleRect,this->mScaleW,this->mScaleH); HX_STACK_VAR(context,"context"); - HX_STACK_LINE(108) - bool geomOnly = this->mGfx->geometryOnly(); HX_STACK_VAR(geomOnly,"geomOnly"); - HX_STACK_LINE(109) - if ((!(geomOnly))){ - HX_STACK_LINE(116) - inPath->segments->__get((int)0)->toGfx(this->mGfx,context); - HX_STACK_LINE(118) - { - ::format::svg::FillType _switch_2 = (inPath->fill); - switch((_switch_2)->GetIndex()){ - case 0: { - ::format::svg::Grad grad = _switch_2->__Param(0); -{ - HX_STACK_LINE(121) - grad->updateMatrix(m); - HX_STACK_LINE(122) - this->mGfx->beginGradientFill(grad); - } - } - ;break; - case 1: { - int colour = _switch_2->__Param(0); -{ - HX_STACK_LINE(123) - this->mGfx->beginFill(colour,inPath->fill_alpha); - } - } - ;break; - case 2: { - } - ;break; - } - } - HX_STACK_LINE(130) - if (((inPath->stroke_colour == null()))){ - } - else{ - HX_STACK_LINE(136) - ::format::gfx::LineStyle style = ::format::gfx::LineStyle_obj::__new(); HX_STACK_VAR(style,"style"); - HX_STACK_LINE(137) - Float scale = ::Math_obj::sqrt(((m->a * m->a) + (m->c * m->c))); HX_STACK_VAR(scale,"scale"); - HX_STACK_LINE(138) - style->thickness = (inPath->stroke_width * scale); - HX_STACK_LINE(139) - style->alpha = inPath->stroke_alpha; - HX_STACK_LINE(140) - style->color = inPath->stroke_colour; - HX_STACK_LINE(141) - style->capsStyle = inPath->stroke_caps; - HX_STACK_LINE(142) - style->jointStyle = inPath->joint_style; - HX_STACK_LINE(143) - style->miterLimit = inPath->miter_limit; - HX_STACK_LINE(144) - this->mGfx->lineStyle(style); - } - } - HX_STACK_LINE(149) - { - HX_STACK_LINE(149) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::format::svg::PathSegment > _g1 = inPath->segments; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(149) - while(((_g < _g1->length))){ - HX_STACK_LINE(149) - ::format::svg::PathSegment segment = _g1->__get(_g); HX_STACK_VAR(segment,"segment"); - HX_STACK_LINE(149) - ++(_g); - HX_STACK_LINE(150) - segment->toGfx(this->mGfx,context); - } - } - HX_STACK_LINE(152) - this->mGfx->endFill(); - HX_STACK_LINE(153) - this->mGfx->endLineStyle(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGRenderer_obj,iteratePath,(void)) - -Void SVGRenderer_obj::iterateText( ::format::svg::Text inText){ -{ - HX_STACK_PUSH("SVGRenderer::iterateText","format/svg/SVGRenderer.hx",88); - HX_STACK_THIS(this); - HX_STACK_ARG(inText,"inText"); - HX_STACK_LINE(89) - if (((bool((this->mFilter_dyn() != null())) && bool(!(this->mFilter(inText->name,this->mGroupPath)))))){ - HX_STACK_LINE(90) - return null(); - } - HX_STACK_LINE(91) - this->mGfx->renderText(inText); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGRenderer_obj,iterateText,(void)) - -bool SVGRenderer_obj::hasGroup( ::String inName){ - HX_STACK_PUSH("SVGRenderer::hasGroup","format/svg/SVGRenderer.hx",83); - HX_STACK_THIS(this); - HX_STACK_ARG(inName,"inName"); - HX_STACK_LINE(83) - return this->mRoot->hasGroup(inName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SVGRenderer_obj,hasGroup,return ) - -Dynamic SVGRenderer_obj::iterate( Dynamic inGfx,Dynamic inFilter){ - HX_STACK_PUSH("SVGRenderer::iterate","format/svg/SVGRenderer.hx",72); - HX_STACK_THIS(this); - HX_STACK_ARG(inGfx,"inGfx"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_LINE(73) - this->mGfx = inGfx; - HX_STACK_LINE(74) - this->mMatrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - HX_STACK_LINE(75) - this->mFilter = inFilter; - HX_STACK_LINE(76) - this->mGroupPath = Array_obj< ::String >::__new(); - HX_STACK_LINE(77) - this->mGfx->size(this->width,this->height); - HX_STACK_LINE(78) - this->iterateGroup(this->mRoot,true); - HX_STACK_LINE(79) - this->mGfx->eof(); - HX_STACK_LINE(80) - return inGfx; -} - - -HX_DEFINE_DYNAMIC_FUNC2(SVGRenderer_obj,iterate,return ) - -Array< ::String > SVGRenderer_obj::toHaxe( ::Xml inXML,Dynamic inFilter){ - HX_STACK_PUSH("SVGRenderer::toHaxe","format/svg/SVGRenderer.hx",61); - HX_STACK_ARG(inXML,"inXML"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_LINE(61) - return ::format::svg::SVGRenderer_obj::__new(::format::svg::SVGData_obj::__new(inXML,true),null())->iterate(::format::gfx::Gfx2Haxe_obj::__new(),inFilter)->__Field(HX_CSTRING("commands"),true); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(SVGRenderer_obj,toHaxe,return ) - -::format::gfx::GfxBytes SVGRenderer_obj::toBytes( ::Xml inXML,Dynamic inFilter){ - HX_STACK_PUSH("SVGRenderer::toBytes","format/svg/SVGRenderer.hx",66); - HX_STACK_ARG(inXML,"inXML"); - HX_STACK_ARG(inFilter,"inFilter"); - HX_STACK_LINE(66) - return ::format::svg::SVGRenderer_obj::__new(::format::svg::SVGData_obj::__new(inXML,true),null())->iterate(::format::gfx::GfxBytes_obj::__new(null(),null()),inFilter); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(SVGRenderer_obj,toBytes,return ) - - -SVGRenderer_obj::SVGRenderer_obj() -{ -} - -void SVGRenderer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SVGRenderer); - HX_MARK_MEMBER_NAME(mGroupPath,"mGroupPath"); - HX_MARK_MEMBER_NAME(mFilter,"mFilter"); - HX_MARK_MEMBER_NAME(mScaleH,"mScaleH"); - HX_MARK_MEMBER_NAME(mScaleW,"mScaleW"); - HX_MARK_MEMBER_NAME(mScaleRect,"mScaleRect"); - HX_MARK_MEMBER_NAME(mMatrix,"mMatrix"); - HX_MARK_MEMBER_NAME(mGfx,"mGfx"); - HX_MARK_MEMBER_NAME(mRoot,"mRoot"); - HX_MARK_MEMBER_NAME(mSvg,"mSvg"); - HX_MARK_MEMBER_NAME(height,"height"); - HX_MARK_MEMBER_NAME(width,"width"); - HX_MARK_END_CLASS(); -} - -void SVGRenderer_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mGroupPath,"mGroupPath"); - HX_VISIT_MEMBER_NAME(mFilter,"mFilter"); - HX_VISIT_MEMBER_NAME(mScaleH,"mScaleH"); - HX_VISIT_MEMBER_NAME(mScaleW,"mScaleW"); - HX_VISIT_MEMBER_NAME(mScaleRect,"mScaleRect"); - HX_VISIT_MEMBER_NAME(mMatrix,"mMatrix"); - HX_VISIT_MEMBER_NAME(mGfx,"mGfx"); - HX_VISIT_MEMBER_NAME(mRoot,"mRoot"); - HX_VISIT_MEMBER_NAME(mSvg,"mSvg"); - HX_VISIT_MEMBER_NAME(height,"height"); - HX_VISIT_MEMBER_NAME(width,"width"); -} - -Dynamic SVGRenderer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"mGfx") ) { return mGfx; } - if (HX_FIELD_EQ(inName,"mSvg") ) { return mSvg; } - break; - case 5: - if (HX_FIELD_EQ(inName,"mRoot") ) { return mRoot; } - if (HX_FIELD_EQ(inName,"width") ) { return width; } - break; - case 6: - if (HX_FIELD_EQ(inName,"toHaxe") ) { return toHaxe_dyn(); } - if (HX_FIELD_EQ(inName,"render") ) { return render_dyn(); } - if (HX_FIELD_EQ(inName,"height") ) { return height; } - break; - case 7: - if (HX_FIELD_EQ(inName,"toBytes") ) { return toBytes_dyn(); } - if (HX_FIELD_EQ(inName,"iterate") ) { return iterate_dyn(); } - if (HX_FIELD_EQ(inName,"mFilter") ) { return mFilter; } - if (HX_FIELD_EQ(inName,"mScaleH") ) { return mScaleH; } - if (HX_FIELD_EQ(inName,"mScaleW") ) { return mScaleW; } - if (HX_FIELD_EQ(inName,"mMatrix") ) { return mMatrix; } - break; - case 8: - if (HX_FIELD_EQ(inName,"findText") ) { return findText_dyn(); } - if (HX_FIELD_EQ(inName,"hasGroup") ) { return hasGroup_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"getExtent") ) { return getExtent_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"namedShape") ) { return namedShape_dyn(); } - if (HX_FIELD_EQ(inName,"renderRect") ) { return renderRect_dyn(); } - if (HX_FIELD_EQ(inName,"mGroupPath") ) { return mGroupPath; } - if (HX_FIELD_EQ(inName,"mScaleRect") ) { return mScaleRect; } - break; - case 11: - if (HX_FIELD_EQ(inName,"createShape") ) { return createShape_dyn(); } - if (HX_FIELD_EQ(inName,"renderRect0") ) { return renderRect0_dyn(); } - if (HX_FIELD_EQ(inName,"iteratePath") ) { return iteratePath_dyn(); } - if (HX_FIELD_EQ(inName,"iterateText") ) { return iterateText_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"renderBitmap") ) { return renderBitmap_dyn(); } - if (HX_FIELD_EQ(inName,"renderSprite") ) { return renderSprite_dyn(); } - if (HX_FIELD_EQ(inName,"renderObject") ) { return renderObject_dyn(); } - if (HX_FIELD_EQ(inName,"iterateGroup") ) { return iterateGroup_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"getMatchingRect") ) { return getMatchingRect_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SVGRenderer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"mGfx") ) { mGfx=inValue.Cast< ::format::gfx::Gfx >(); return inValue; } - if (HX_FIELD_EQ(inName,"mSvg") ) { mSvg=inValue.Cast< ::format::svg::SVGData >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"mRoot") ) { mRoot=inValue.Cast< ::format::svg::Group >(); return inValue; } - if (HX_FIELD_EQ(inName,"width") ) { width=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"height") ) { height=inValue.Cast< Float >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"mFilter") ) { mFilter=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"mScaleH") ) { mScaleH=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"mScaleW") ) { mScaleW=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"mMatrix") ) { mMatrix=inValue.Cast< ::neash::geom::Matrix >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"mGroupPath") ) { mGroupPath=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"mScaleRect") ) { mScaleRect=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SVGRenderer_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mGroupPath")); - outFields->push(HX_CSTRING("mScaleH")); - outFields->push(HX_CSTRING("mScaleW")); - outFields->push(HX_CSTRING("mScaleRect")); - outFields->push(HX_CSTRING("mMatrix")); - outFields->push(HX_CSTRING("mGfx")); - outFields->push(HX_CSTRING("mRoot")); - outFields->push(HX_CSTRING("mSvg")); - outFields->push(HX_CSTRING("height")); - outFields->push(HX_CSTRING("width")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("toHaxe"), - HX_CSTRING("toBytes"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("renderBitmap"), - HX_CSTRING("namedShape"), - HX_CSTRING("createShape"), - HX_CSTRING("renderSprite"), - HX_CSTRING("renderObject"), - HX_CSTRING("getMatchingRect"), - HX_CSTRING("findText"), - HX_CSTRING("getExtent"), - HX_CSTRING("renderRect0"), - HX_CSTRING("renderRect"), - HX_CSTRING("render"), - HX_CSTRING("iterateGroup"), - HX_CSTRING("iteratePath"), - HX_CSTRING("iterateText"), - HX_CSTRING("hasGroup"), - HX_CSTRING("iterate"), - HX_CSTRING("mGroupPath"), - HX_CSTRING("mFilter"), - HX_CSTRING("mScaleH"), - HX_CSTRING("mScaleW"), - HX_CSTRING("mScaleRect"), - HX_CSTRING("mMatrix"), - HX_CSTRING("mGfx"), - HX_CSTRING("mRoot"), - HX_CSTRING("mSvg"), - HX_CSTRING("height"), - HX_CSTRING("width"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SVGRenderer_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SVGRenderer_obj::__mClass,"__mClass"); -}; - -Class SVGRenderer_obj::__mClass; - -void SVGRenderer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.SVGRenderer"), hx::TCanCast< SVGRenderer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SVGRenderer_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/Text.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/Text.cpp deleted file mode 100644 index c0ca34b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/format/svg/Text.cpp +++ /dev/null @@ -1,221 +0,0 @@ -#include - -#ifndef INCLUDED_format_svg_FillType -#include -#endif -#ifndef INCLUDED_format_svg_Text -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace format{ -namespace svg{ - -Void Text_obj::__construct() -{ -HX_STACK_PUSH("Text::new","format/svg/Text.hx",8); -{ -} -; - return null(); -} - -Text_obj::~Text_obj() { } - -Dynamic Text_obj::__CreateEmpty() { return new Text_obj; } -hx::ObjectPtr< Text_obj > Text_obj::__new() -{ hx::ObjectPtr< Text_obj > result = new Text_obj(); - result->__construct(); - return result;} - -Dynamic Text_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Text_obj > result = new Text_obj(); - result->__construct(); - return result;} - - -Text_obj::Text_obj() -{ -} - -void Text_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Text); - HX_MARK_MEMBER_NAME(letter_spacing,"letter_spacing"); - HX_MARK_MEMBER_NAME(kerning,"kerning"); - HX_MARK_MEMBER_NAME(font_size,"font_size"); - HX_MARK_MEMBER_NAME(font_family,"font_family"); - HX_MARK_MEMBER_NAME(stroke_width,"stroke_width"); - HX_MARK_MEMBER_NAME(stroke_colour,"stroke_colour"); - HX_MARK_MEMBER_NAME(stroke_alpha,"stroke_alpha"); - HX_MARK_MEMBER_NAME(fill_alpha,"fill_alpha"); - HX_MARK_MEMBER_NAME(fill,"fill"); - HX_MARK_MEMBER_NAME(text,"text"); - HX_MARK_MEMBER_NAME(matrix,"matrix"); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_END_CLASS(); -} - -void Text_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(letter_spacing,"letter_spacing"); - HX_VISIT_MEMBER_NAME(kerning,"kerning"); - HX_VISIT_MEMBER_NAME(font_size,"font_size"); - HX_VISIT_MEMBER_NAME(font_family,"font_family"); - HX_VISIT_MEMBER_NAME(stroke_width,"stroke_width"); - HX_VISIT_MEMBER_NAME(stroke_colour,"stroke_colour"); - HX_VISIT_MEMBER_NAME(stroke_alpha,"stroke_alpha"); - HX_VISIT_MEMBER_NAME(fill_alpha,"fill_alpha"); - HX_VISIT_MEMBER_NAME(fill,"fill"); - HX_VISIT_MEMBER_NAME(text,"text"); - HX_VISIT_MEMBER_NAME(matrix,"matrix"); - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(name,"name"); -} - -Dynamic Text_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 4: - if (HX_FIELD_EQ(inName,"fill") ) { return fill; } - if (HX_FIELD_EQ(inName,"text") ) { return text; } - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 6: - if (HX_FIELD_EQ(inName,"matrix") ) { return matrix; } - break; - case 7: - if (HX_FIELD_EQ(inName,"kerning") ) { return kerning; } - break; - case 9: - if (HX_FIELD_EQ(inName,"font_size") ) { return font_size; } - break; - case 10: - if (HX_FIELD_EQ(inName,"fill_alpha") ) { return fill_alpha; } - break; - case 11: - if (HX_FIELD_EQ(inName,"font_family") ) { return font_family; } - break; - case 12: - if (HX_FIELD_EQ(inName,"stroke_width") ) { return stroke_width; } - if (HX_FIELD_EQ(inName,"stroke_alpha") ) { return stroke_alpha; } - break; - case 13: - if (HX_FIELD_EQ(inName,"stroke_colour") ) { return stroke_colour; } - break; - case 14: - if (HX_FIELD_EQ(inName,"letter_spacing") ) { return letter_spacing; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Text_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"fill") ) { fill=inValue.Cast< ::format::svg::FillType >(); return inValue; } - if (HX_FIELD_EQ(inName,"text") ) { text=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"matrix") ) { matrix=inValue.Cast< ::neash::geom::Matrix >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"kerning") ) { kerning=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"font_size") ) { font_size=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"fill_alpha") ) { fill_alpha=inValue.Cast< Float >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"font_family") ) { font_family=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"stroke_width") ) { stroke_width=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"stroke_alpha") ) { stroke_alpha=inValue.Cast< Float >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"stroke_colour") ) { stroke_colour=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"letter_spacing") ) { letter_spacing=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Text_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("letter_spacing")); - outFields->push(HX_CSTRING("kerning")); - outFields->push(HX_CSTRING("font_size")); - outFields->push(HX_CSTRING("font_family")); - outFields->push(HX_CSTRING("stroke_width")); - outFields->push(HX_CSTRING("stroke_colour")); - outFields->push(HX_CSTRING("stroke_alpha")); - outFields->push(HX_CSTRING("fill_alpha")); - outFields->push(HX_CSTRING("fill")); - outFields->push(HX_CSTRING("text")); - outFields->push(HX_CSTRING("matrix")); - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("name")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("letter_spacing"), - HX_CSTRING("kerning"), - HX_CSTRING("font_size"), - HX_CSTRING("font_family"), - HX_CSTRING("stroke_width"), - HX_CSTRING("stroke_colour"), - HX_CSTRING("stroke_alpha"), - HX_CSTRING("fill_alpha"), - HX_CSTRING("fill"), - HX_CSTRING("text"), - HX_CSTRING("matrix"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("name"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Text_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Text_obj::__mClass,"__mClass"); -}; - -Class Text_obj::__mClass; - -void Text_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("format.svg.Text"), hx::TCanCast< Text_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Text_obj::__boot() -{ -} - -} // end namespace format -} // end namespace svg diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/BaseCode.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/BaseCode.cpp deleted file mode 100644 index d8b7f5d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/BaseCode.cpp +++ /dev/null @@ -1,360 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_BaseCode -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -namespace haxe{ - -Void BaseCode_obj::__construct(::haxe::io::Bytes base) -{ -HX_STACK_PUSH("BaseCode::new","/usr/lib/haxe/std/haxe/BaseCode.hx",33); -{ - HX_STACK_LINE(34) - int len = base->length; HX_STACK_VAR(len,"len"); - HX_STACK_LINE(35) - int nbits = (int)1; HX_STACK_VAR(nbits,"nbits"); - HX_STACK_LINE(36) - while(((len > (int((int)1) << int(nbits))))){ - HX_STACK_LINE(37) - (nbits)++; - } - HX_STACK_LINE(38) - if (((bool((nbits > (int)8)) || bool((len != (int((int)1) << int(nbits))))))){ - HX_STACK_LINE(39) - hx::Throw (HX_CSTRING("BaseCode : base length must be a power of two.")); - } - HX_STACK_LINE(40) - this->base = base; - HX_STACK_LINE(41) - this->nbits = nbits; -} -; - return null(); -} - -BaseCode_obj::~BaseCode_obj() { } - -Dynamic BaseCode_obj::__CreateEmpty() { return new BaseCode_obj; } -hx::ObjectPtr< BaseCode_obj > BaseCode_obj::__new(::haxe::io::Bytes base) -{ hx::ObjectPtr< BaseCode_obj > result = new BaseCode_obj(); - result->__construct(base); - return result;} - -Dynamic BaseCode_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BaseCode_obj > result = new BaseCode_obj(); - result->__construct(inArgs[0]); - return result;} - -::String BaseCode_obj::decodeString( ::String s){ - HX_STACK_PUSH("BaseCode::decodeString","/usr/lib/haxe/std/haxe/BaseCode.hx",119); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(119) - return this->decodeBytes(::haxe::io::Bytes_obj::ofString(s))->toString(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BaseCode_obj,decodeString,return ) - -::String BaseCode_obj::encodeString( ::String s){ - HX_STACK_PUSH("BaseCode::encodeString","/usr/lib/haxe/std/haxe/BaseCode.hx",111); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(111) - return this->encodeBytes(::haxe::io::Bytes_obj::ofString(s))->toString(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BaseCode_obj,encodeString,return ) - -::haxe::io::Bytes BaseCode_obj::decodeBytes( ::haxe::io::Bytes b){ - HX_STACK_PUSH("BaseCode::decodeBytes","/usr/lib/haxe/std/haxe/BaseCode.hx",81); - HX_STACK_THIS(this); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(85) - int nbits = this->nbits; HX_STACK_VAR(nbits,"nbits"); - HX_STACK_LINE(86) - ::haxe::io::Bytes base = this->base; HX_STACK_VAR(base,"base"); - HX_STACK_LINE(87) - if (((this->tbl == null()))){ - HX_STACK_LINE(87) - this->initTable(); - } - HX_STACK_LINE(88) - Array< int > tbl = this->tbl; HX_STACK_VAR(tbl,"tbl"); - HX_STACK_LINE(89) - int size = (int((b->length * nbits)) >> int((int)3)); HX_STACK_VAR(size,"size"); - HX_STACK_LINE(90) - ::haxe::io::Bytes out = ::haxe::io::Bytes_obj::alloc(size); HX_STACK_VAR(out,"out"); - HX_STACK_LINE(91) - int buf = (int)0; HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(92) - int curbits = (int)0; HX_STACK_VAR(curbits,"curbits"); - HX_STACK_LINE(93) - int pin = (int)0; HX_STACK_VAR(pin,"pin"); - HX_STACK_LINE(94) - int pout = (int)0; HX_STACK_VAR(pout,"pout"); - HX_STACK_LINE(95) - while(((pout < size))){ - HX_STACK_LINE(96) - while(((curbits < (int)8))){ - HX_STACK_LINE(97) - hx::AddEq(curbits,nbits); - HX_STACK_LINE(98) - hx::ShlEq(buf,nbits); - HX_STACK_LINE(99) - int i = tbl->__get(b->b->__get((pin)++)); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(100) - if (((i == (int)-1))){ - HX_STACK_LINE(101) - hx::Throw (HX_CSTRING("BaseCode : invalid encoded char")); - } - HX_STACK_LINE(102) - hx::OrEq(buf,i); - } - HX_STACK_LINE(104) - hx::SubEq(curbits,(int)8); - HX_STACK_LINE(105) - out->b[(pout)++] = (int((int(buf) >> int(curbits))) & int((int)255)); - } - HX_STACK_LINE(107) - return out; -} - - -HX_DEFINE_DYNAMIC_FUNC1(BaseCode_obj,decodeBytes,return ) - -Void BaseCode_obj::initTable( ){ -{ - HX_STACK_PUSH("BaseCode::initTable","/usr/lib/haxe/std/haxe/BaseCode.hx",72); - HX_STACK_THIS(this); - HX_STACK_LINE(73) - Array< int > tbl = Array_obj< int >::__new(); HX_STACK_VAR(tbl,"tbl"); - HX_STACK_LINE(74) - { - HX_STACK_LINE(74) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(74) - while(((_g < (int)256))){ - HX_STACK_LINE(74) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(75) - tbl[i] = (int)-1; - } - } - HX_STACK_LINE(76) - { - HX_STACK_LINE(76) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->base->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(76) - while(((_g1 < _g))){ - HX_STACK_LINE(76) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(77) - tbl[this->base->b->__get(i)] = i; - } - } - HX_STACK_LINE(78) - this->tbl = tbl; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BaseCode_obj,initTable,(void)) - -::haxe::io::Bytes BaseCode_obj::encodeBytes( ::haxe::io::Bytes b){ - HX_STACK_PUSH("BaseCode::encodeBytes","/usr/lib/haxe/std/haxe/BaseCode.hx",44); - HX_STACK_THIS(this); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(48) - int nbits = this->nbits; HX_STACK_VAR(nbits,"nbits"); - HX_STACK_LINE(49) - ::haxe::io::Bytes base = this->base; HX_STACK_VAR(base,"base"); - HX_STACK_LINE(50) - int size = ::Std_obj::_int((Float((b->length * (int)8)) / Float(nbits))); HX_STACK_VAR(size,"size"); - HX_STACK_LINE(51) - ::haxe::io::Bytes out = ::haxe::io::Bytes_obj::alloc((size + (( (((hx::Mod((b->length * (int)8),nbits) == (int)0))) ? int((int)0) : int((int)1) )))); HX_STACK_VAR(out,"out"); - HX_STACK_LINE(52) - int buf = (int)0; HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(53) - int curbits = (int)0; HX_STACK_VAR(curbits,"curbits"); - HX_STACK_LINE(54) - int mask = (((int((int)1) << int(nbits))) - (int)1); HX_STACK_VAR(mask,"mask"); - HX_STACK_LINE(55) - int pin = (int)0; HX_STACK_VAR(pin,"pin"); - HX_STACK_LINE(56) - int pout = (int)0; HX_STACK_VAR(pout,"pout"); - HX_STACK_LINE(57) - while(((pout < size))){ - HX_STACK_LINE(58) - while(((curbits < nbits))){ - HX_STACK_LINE(59) - hx::AddEq(curbits,(int)8); - HX_STACK_LINE(60) - hx::ShlEq(buf,(int)8); - HX_STACK_LINE(61) - hx::OrEq(buf,b->b->__get((pin)++)); - } - HX_STACK_LINE(63) - hx::SubEq(curbits,nbits); - HX_STACK_LINE(64) - out->b[(pout)++] = base->b->__get((int((int(buf) >> int(curbits))) & int(mask))); - } - HX_STACK_LINE(66) - if (((curbits > (int)0))){ - HX_STACK_LINE(67) - out->b[(pout)++] = base->b->__get((int((int(buf) << int((nbits - curbits)))) & int(mask))); - } - HX_STACK_LINE(68) - return out; -} - - -HX_DEFINE_DYNAMIC_FUNC1(BaseCode_obj,encodeBytes,return ) - -::String BaseCode_obj::encode( ::String s,::String base){ - HX_STACK_PUSH("BaseCode::encode","/usr/lib/haxe/std/haxe/BaseCode.hx",127); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(base,"base"); - HX_STACK_LINE(128) - ::haxe::BaseCode b = ::haxe::BaseCode_obj::__new(::haxe::io::Bytes_obj::ofString(base)); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(129) - return b->encodeString(s); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BaseCode_obj,encode,return ) - -::String BaseCode_obj::decode( ::String s,::String base){ - HX_STACK_PUSH("BaseCode::decode","/usr/lib/haxe/std/haxe/BaseCode.hx",132); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(base,"base"); - HX_STACK_LINE(133) - ::haxe::BaseCode b = ::haxe::BaseCode_obj::__new(::haxe::io::Bytes_obj::ofString(base)); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(134) - return b->decodeString(s); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BaseCode_obj,decode,return ) - - -BaseCode_obj::BaseCode_obj() -{ -} - -void BaseCode_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BaseCode); - HX_MARK_MEMBER_NAME(tbl,"tbl"); - HX_MARK_MEMBER_NAME(nbits,"nbits"); - HX_MARK_MEMBER_NAME(base,"base"); - HX_MARK_END_CLASS(); -} - -void BaseCode_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(tbl,"tbl"); - HX_VISIT_MEMBER_NAME(nbits,"nbits"); - HX_VISIT_MEMBER_NAME(base,"base"); -} - -Dynamic BaseCode_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"tbl") ) { return tbl; } - break; - case 4: - if (HX_FIELD_EQ(inName,"base") ) { return base; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nbits") ) { return nbits; } - break; - case 6: - if (HX_FIELD_EQ(inName,"encode") ) { return encode_dyn(); } - if (HX_FIELD_EQ(inName,"decode") ) { return decode_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"initTable") ) { return initTable_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"decodeBytes") ) { return decodeBytes_dyn(); } - if (HX_FIELD_EQ(inName,"encodeBytes") ) { return encodeBytes_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"decodeString") ) { return decodeString_dyn(); } - if (HX_FIELD_EQ(inName,"encodeString") ) { return encodeString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BaseCode_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"tbl") ) { tbl=inValue.Cast< Array< int > >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"base") ) { base=inValue.Cast< ::haxe::io::Bytes >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nbits") ) { nbits=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BaseCode_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("tbl")); - outFields->push(HX_CSTRING("nbits")); - outFields->push(HX_CSTRING("base")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("encode"), - HX_CSTRING("decode"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("decodeString"), - HX_CSTRING("encodeString"), - HX_CSTRING("decodeBytes"), - HX_CSTRING("initTable"), - HX_CSTRING("encodeBytes"), - HX_CSTRING("tbl"), - HX_CSTRING("nbits"), - HX_CSTRING("base"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BaseCode_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BaseCode_obj::__mClass,"__mClass"); -}; - -Class BaseCode_obj::__mClass; - -void BaseCode_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.BaseCode"), hx::TCanCast< BaseCode_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BaseCode_obj::__boot() -{ -} - -} // end namespace haxe diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/Log.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/Log.cpp deleted file mode 100644 index 0641766..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/Log.cpp +++ /dev/null @@ -1,131 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_Log -#include -#endif -namespace haxe{ - -Void Log_obj::__construct() -{ - return null(); -} - -Log_obj::~Log_obj() { } - -Dynamic Log_obj::__CreateEmpty() { return new Log_obj; } -hx::ObjectPtr< Log_obj > Log_obj::__new() -{ hx::ObjectPtr< Log_obj > result = new Log_obj(); - result->__construct(); - return result;} - -Dynamic Log_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Log_obj > result = new Log_obj(); - result->__construct(); - return result;} - -HX_BEGIN_DEFAULT_FUNC(__default_trace,Log_obj) -Void run(Dynamic v,Dynamic infos){ -{ - HX_STACK_PUSH("Log::trace","/usr/lib/haxe/std/haxe/Log.hx",29); - HX_STACK_ARG(v,"v"); - HX_STACK_ARG(infos,"infos"); - HX_STACK_LINE(29) - __trace(v,infos); - } -return null(); -} -HX_END_LOCAL_FUNC2((void)) -HX_END_DEFAULT_FUNC - -Dynamic Log_obj::trace; - -HX_BEGIN_DEFAULT_FUNC(__default_clear,Log_obj) -Void run(){ -{ - HX_STACK_PUSH("Log::clear","/usr/lib/haxe/std/haxe/Log.hx",54); - } -return null(); -} -HX_END_LOCAL_FUNC0((void)) -HX_END_DEFAULT_FUNC - -Dynamic Log_obj::clear; - - -Log_obj::Log_obj() -{ -} - -void Log_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Log); - HX_MARK_END_CLASS(); -} - -void Log_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Log_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"trace") ) { return trace; } - if (HX_FIELD_EQ(inName,"clear") ) { return clear; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Log_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"trace") ) { trace=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"clear") ) { clear=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Log_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("trace"), - HX_CSTRING("clear"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Log_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Log_obj::trace,"trace"); - HX_MARK_MEMBER_NAME(Log_obj::clear,"clear"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Log_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Log_obj::trace,"trace"); - HX_VISIT_MEMBER_NAME(Log_obj::clear,"clear"); -}; - -Class Log_obj::__mClass; - -void Log_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.Log"), hx::TCanCast< Log_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Log_obj::__boot() -{ - trace = new __default_trace; - - clear = new __default_clear; - -} - -} // end namespace haxe diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/Timer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/Timer.cpp deleted file mode 100644 index c444b2d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/Timer.cpp +++ /dev/null @@ -1,361 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_Timer -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -namespace haxe{ - -Void Timer_obj::__construct(Float time) -{ -HX_STACK_PUSH("Timer::new","haxe/Timer.hx",113); -{ - HX_STACK_LINE(115) - this->mTime = time; - HX_STACK_LINE(116) - ::haxe::Timer_obj::sRunningTimers->push(hx::ObjectPtr(this)); - HX_STACK_LINE(117) - this->mFireAt = (::haxe::Timer_obj::GetMS() + this->mTime); - HX_STACK_LINE(118) - this->mRunning = true; -} -; - return null(); -} - -Timer_obj::~Timer_obj() { } - -Dynamic Timer_obj::__CreateEmpty() { return new Timer_obj; } -hx::ObjectPtr< Timer_obj > Timer_obj::__new(Float time) -{ hx::ObjectPtr< Timer_obj > result = new Timer_obj(); - result->__construct(time); - return result;} - -Dynamic Timer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Timer_obj > result = new Timer_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Timer_obj::nmeCheck( Float inTime){ -{ - HX_STACK_PUSH("Timer::nmeCheck","haxe/Timer.hx",181); - HX_STACK_THIS(this); - HX_STACK_ARG(inTime,"inTime"); - HX_STACK_LINE(181) - if (((inTime >= this->mFireAt))){ - HX_STACK_LINE(185) - hx::AddEq(this->mFireAt,this->mTime); - HX_STACK_LINE(186) - this->run(); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Timer_obj,nmeCheck,(void)) - -Void Timer_obj::stop( ){ -{ - HX_STACK_PUSH("Timer::stop","haxe/Timer.hx",139); - HX_STACK_THIS(this); - HX_STACK_LINE(139) - if ((this->mRunning)){ - HX_STACK_LINE(143) - this->mRunning = false; - HX_STACK_LINE(144) - ::haxe::Timer_obj::sRunningTimers->remove(hx::ObjectPtr(this)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Timer_obj,stop,(void)) - -HX_BEGIN_DEFAULT_FUNC(__default_run,Timer_obj) -Void run(){ -{ - HX_STACK_PUSH("Timer::run","haxe/Timer.hx",132); - HX_STACK_THIS(this); - } -return null(); -} -HX_END_LOCAL_FUNC0((void)) -HX_END_DEFAULT_FUNC - -Array< ::haxe::Timer > Timer_obj::sRunningTimers; - -Dynamic Timer_obj::measure( Dynamic f,Dynamic pos){ - HX_STACK_PUSH("Timer::measure","haxe/Timer.hx",123); - HX_STACK_ARG(f,"f"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(124) - Float t0 = ::haxe::Timer_obj::stamp(); HX_STACK_VAR(t0,"t0"); - HX_STACK_LINE(125) - Dynamic r = f(); HX_STACK_VAR(r,"r"); - HX_STACK_LINE(126) - ::haxe::Log_obj::trace(((::haxe::Timer_obj::stamp() - t0) + HX_CSTRING("s")),pos); - HX_STACK_LINE(127) - return r; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Timer_obj,measure,return ) - -Float Timer_obj::nmeNextWake( Float limit){ - HX_STACK_PUSH("Timer::nmeNextWake","haxe/Timer.hx",154); - HX_STACK_ARG(limit,"limit"); - HX_STACK_LINE(156) - Float now = (::haxe::Timer_obj::nme_time_stamp() * 1000.0); HX_STACK_VAR(now,"now"); - HX_STACK_LINE(158) - { - HX_STACK_LINE(158) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::haxe::Timer > _g1 = ::haxe::Timer_obj::sRunningTimers; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(158) - while(((_g < _g1->length))){ - HX_STACK_LINE(158) - ::haxe::Timer timer = _g1->__get(_g); HX_STACK_VAR(timer,"timer"); - HX_STACK_LINE(158) - ++(_g); - HX_STACK_LINE(160) - Float sleep = (timer->mFireAt - now); HX_STACK_VAR(sleep,"sleep"); - HX_STACK_LINE(162) - if (((sleep < limit))){ - HX_STACK_LINE(164) - limit = sleep; - HX_STACK_LINE(166) - if (((limit < (int)0))){ - HX_STACK_LINE(166) - return (int)0; - } - } - } - } - HX_STACK_LINE(176) - return (limit * 0.001); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Timer_obj,nmeNextWake,return ) - -Void Timer_obj::nmeCheckTimers( ){ -{ - HX_STACK_PUSH("Timer::nmeCheckTimers","haxe/Timer.hx",196); - HX_STACK_LINE(198) - Float now = ::haxe::Timer_obj::GetMS(); HX_STACK_VAR(now,"now"); - HX_STACK_LINE(200) - { - HX_STACK_LINE(200) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::haxe::Timer > _g1 = ::haxe::Timer_obj::sRunningTimers; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(200) - while(((_g < _g1->length))){ - HX_STACK_LINE(200) - ::haxe::Timer timer = _g1->__get(_g); HX_STACK_VAR(timer,"timer"); - HX_STACK_LINE(200) - ++(_g); - HX_STACK_LINE(202) - timer->nmeCheck(now); - } - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Timer_obj,nmeCheckTimers,(void)) - -Float Timer_obj::GetMS( ){ - HX_STACK_PUSH("Timer::GetMS","haxe/Timer.hx",209); - HX_STACK_LINE(209) - return (::haxe::Timer_obj::stamp() * 1000.0); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Timer_obj,GetMS,return ) - -::haxe::Timer Timer_obj::delay( Dynamic f,int time){ - HX_STACK_PUSH("Timer::delay","haxe/Timer.hx",217); - HX_STACK_ARG(f,"f"); - HX_STACK_ARG(time,"time"); - HX_STACK_LINE(217) - Dynamic f1 = Dynamic( Array_obj::__new().Add(f)); HX_STACK_VAR(f1,"f1"); - HX_STACK_LINE(219) - Array< ::haxe::Timer > t = Array_obj< ::haxe::Timer >::__new().Add(::haxe::Timer_obj::__new(time)); HX_STACK_VAR(t,"t"); - - HX_BEGIN_LOCAL_FUNC_S2(hx::LocalFunc,_Function_1_1,Array< ::haxe::Timer >,t,Dynamic,f1) - Void run(){ - HX_STACK_PUSH("*::_Function_1_1","haxe/Timer.hx",221); - { - HX_STACK_LINE(222) - t->__get((int)0)->stop(); - HX_STACK_LINE(223) - f1->__GetItem((int)0)().Cast< Void >(); - } - return null(); - } - HX_END_LOCAL_FUNC0((void)) - - HX_STACK_LINE(221) - t->__get((int)0)->run = Dynamic(new _Function_1_1(t,f1)); - HX_STACK_LINE(226) - return t->__get((int)0); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Timer_obj,delay,return ) - -Float Timer_obj::stamp( ){ - HX_STACK_PUSH("Timer::stamp","haxe/Timer.hx",231); - HX_STACK_LINE(231) - return ::haxe::Timer_obj::nme_time_stamp(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Timer_obj,stamp,return ) - -Dynamic Timer_obj::nme_time_stamp; - - -Timer_obj::Timer_obj() -{ - run = new __default_run(this); -} - -void Timer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Timer); - HX_MARK_MEMBER_NAME(run,"run"); - HX_MARK_MEMBER_NAME(mRunning,"mRunning"); - HX_MARK_MEMBER_NAME(mFireAt,"mFireAt"); - HX_MARK_MEMBER_NAME(mTime,"mTime"); - HX_MARK_END_CLASS(); -} - -void Timer_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(run,"run"); - HX_VISIT_MEMBER_NAME(mRunning,"mRunning"); - HX_VISIT_MEMBER_NAME(mFireAt,"mFireAt"); - HX_VISIT_MEMBER_NAME(mTime,"mTime"); -} - -Dynamic Timer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"run") ) { return run; } - break; - case 4: - if (HX_FIELD_EQ(inName,"stop") ) { return stop_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"GetMS") ) { return GetMS_dyn(); } - if (HX_FIELD_EQ(inName,"delay") ) { return delay_dyn(); } - if (HX_FIELD_EQ(inName,"stamp") ) { return stamp_dyn(); } - if (HX_FIELD_EQ(inName,"mTime") ) { return mTime; } - break; - case 7: - if (HX_FIELD_EQ(inName,"measure") ) { return measure_dyn(); } - if (HX_FIELD_EQ(inName,"mFireAt") ) { return mFireAt; } - break; - case 8: - if (HX_FIELD_EQ(inName,"nmeCheck") ) { return nmeCheck_dyn(); } - if (HX_FIELD_EQ(inName,"mRunning") ) { return mRunning; } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeNextWake") ) { return nmeNextWake_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"sRunningTimers") ) { return sRunningTimers; } - if (HX_FIELD_EQ(inName,"nmeCheckTimers") ) { return nmeCheckTimers_dyn(); } - if (HX_FIELD_EQ(inName,"nme_time_stamp") ) { return nme_time_stamp; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Timer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"run") ) { run=inValue.Cast< Dynamic >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"mTime") ) { mTime=inValue.Cast< Float >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"mFireAt") ) { mFireAt=inValue.Cast< Float >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"mRunning") ) { mRunning=inValue.Cast< bool >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"sRunningTimers") ) { sRunningTimers=inValue.Cast< Array< ::haxe::Timer > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_time_stamp") ) { nme_time_stamp=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Timer_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mRunning")); - outFields->push(HX_CSTRING("mFireAt")); - outFields->push(HX_CSTRING("mTime")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("sRunningTimers"), - HX_CSTRING("measure"), - HX_CSTRING("nmeNextWake"), - HX_CSTRING("nmeCheckTimers"), - HX_CSTRING("GetMS"), - HX_CSTRING("delay"), - HX_CSTRING("stamp"), - HX_CSTRING("nme_time_stamp"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeCheck"), - HX_CSTRING("stop"), - HX_CSTRING("run"), - HX_CSTRING("mRunning"), - HX_CSTRING("mFireAt"), - HX_CSTRING("mTime"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Timer_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Timer_obj::sRunningTimers,"sRunningTimers"); - HX_MARK_MEMBER_NAME(Timer_obj::nme_time_stamp,"nme_time_stamp"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Timer_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Timer_obj::sRunningTimers,"sRunningTimers"); - HX_VISIT_MEMBER_NAME(Timer_obj::nme_time_stamp,"nme_time_stamp"); -}; - -Class Timer_obj::__mClass; - -void Timer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.Timer"), hx::TCanCast< Timer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Timer_obj::__boot() -{ - sRunningTimers= Array_obj< ::haxe::Timer >::__new(); - nme_time_stamp= ::neash::Loader_obj::load(HX_CSTRING("nme_time_stamp"),(int)0); -} - -} // end namespace haxe diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/io/Bytes.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/io/Bytes.cpp deleted file mode 100644 index 3b45b20..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/io/Bytes.cpp +++ /dev/null @@ -1,420 +0,0 @@ -#include - -#ifndef INCLUDED_StringBuf -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -namespace haxe{ -namespace io{ - -Void Bytes_obj::__construct(int length,Array< unsigned char > b) -{ -HX_STACK_PUSH("Bytes::new","/usr/lib/haxe/std/haxe/io/Bytes.hx",32); -{ - HX_STACK_LINE(33) - this->length = length; - HX_STACK_LINE(34) - this->b = b; -} -; - return null(); -} - -Bytes_obj::~Bytes_obj() { } - -Dynamic Bytes_obj::__CreateEmpty() { return new Bytes_obj; } -hx::ObjectPtr< Bytes_obj > Bytes_obj::__new(int length,Array< unsigned char > b) -{ hx::ObjectPtr< Bytes_obj > result = new Bytes_obj(); - result->__construct(length,b); - return result;} - -Dynamic Bytes_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Bytes_obj > result = new Bytes_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -Array< unsigned char > Bytes_obj::getData( ){ - HX_STACK_PUSH("Bytes::getData","/usr/lib/haxe/std/haxe/io/Bytes.hx",255); - HX_STACK_THIS(this); - HX_STACK_LINE(255) - return this->b; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Bytes_obj,getData,return ) - -::String Bytes_obj::toHex( ){ - HX_STACK_PUSH("Bytes::toHex","/usr/lib/haxe/std/haxe/io/Bytes.hx",241); - HX_STACK_THIS(this); - HX_STACK_LINE(242) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(243) - Array< Dynamic > chars = Array_obj< Dynamic >::__new(); HX_STACK_VAR(chars,"chars"); - HX_STACK_LINE(244) - ::String str = HX_CSTRING("0123456789abcdef"); HX_STACK_VAR(str,"str"); - HX_STACK_LINE(245) - { - HX_STACK_LINE(245) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = str.length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(245) - while(((_g1 < _g))){ - HX_STACK_LINE(245) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(246) - chars->push(str.charCodeAt(i)); - } - } - HX_STACK_LINE(247) - { - HX_STACK_LINE(247) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(247) - while(((_g1 < _g))){ - HX_STACK_LINE(247) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(248) - int c = this->b->__get(i); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(249) - { - HX_STACK_LINE(249) - int c1 = chars->__get((int(c) >> int((int)4))); HX_STACK_VAR(c1,"c1"); - HX_STACK_LINE(249) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode(c1); - } - HX_STACK_LINE(250) - { - HX_STACK_LINE(250) - int c1 = chars->__get((int(c) & int((int)15))); HX_STACK_VAR(c1,"c1"); - HX_STACK_LINE(250) - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode(c1); - } - } - } - HX_STACK_LINE(252) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Bytes_obj,toHex,return ) - -::String Bytes_obj::toString( ){ - HX_STACK_PUSH("Bytes::toString","/usr/lib/haxe/std/haxe/io/Bytes.hx",218); - HX_STACK_THIS(this); - HX_STACK_LINE(218) - return this->readString((int)0,this->length); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Bytes_obj,toString,return ) - -::String Bytes_obj::readString( int pos,int len){ - HX_STACK_PUSH("Bytes::readString","/usr/lib/haxe/std/haxe/io/Bytes.hx",168); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(170) - if (((bool((bool((pos < (int)0)) || bool((len < (int)0)))) || bool(((pos + len) > this->length))))){ - HX_STACK_LINE(170) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(182) - ::String result = HX_CSTRING(""); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(183) - ::__hxcpp_string_of_bytes(this->b,result,pos,len); - HX_STACK_LINE(184) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC2(Bytes_obj,readString,return ) - -int Bytes_obj::compare( ::haxe::io::Bytes other){ - HX_STACK_PUSH("Bytes::compare","/usr/lib/haxe/std/haxe/io/Bytes.hx",130); - HX_STACK_THIS(this); - HX_STACK_ARG(other,"other"); - HX_STACK_LINE(154) - Array< unsigned char > b1 = this->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(155) - Array< unsigned char > b2 = other->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(156) - int len = ( (((this->length < other->length))) ? int(this->length) : int(other->length) ); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(157) - { - HX_STACK_LINE(157) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(157) - while(((_g < len))){ - HX_STACK_LINE(157) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(158) - if (((b1->__get(i) != b2->__get(i)))){ - HX_STACK_LINE(160) - return (b1->__get(i) - b2->__get(i)); - } - } - } - HX_STACK_LINE(164) - return (this->length - other->length); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Bytes_obj,compare,return ) - -::haxe::io::Bytes Bytes_obj::sub( int pos,int len){ - HX_STACK_PUSH("Bytes::sub","/usr/lib/haxe/std/haxe/io/Bytes.hx",103); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(105) - if (((bool((bool((pos < (int)0)) || bool((len < (int)0)))) || bool(((pos + len) > this->length))))){ - HX_STACK_LINE(105) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(126) - return ::haxe::io::Bytes_obj::__new(len,this->b->slice(pos,(pos + len))); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Bytes_obj,sub,return ) - -Void Bytes_obj::blit( int pos,::haxe::io::Bytes src,int srcpos,int len){ -{ - HX_STACK_PUSH("Bytes::blit","/usr/lib/haxe/std/haxe/io/Bytes.hx",71); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(src,"src"); - HX_STACK_ARG(srcpos,"srcpos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(73) - if (((bool((bool((bool((bool((pos < (int)0)) || bool((srcpos < (int)0)))) || bool((len < (int)0)))) || bool(((pos + len) > this->length)))) || bool(((srcpos + len) > src->length))))){ - HX_STACK_LINE(73) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(88) - Array< unsigned char > b1 = this->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(89) - Array< unsigned char > b2 = src->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(90) - if (((bool((b1 == b2)) && bool((pos > srcpos))))){ - HX_STACK_LINE(91) - int i = len; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(92) - while(((i > (int)0))){ - HX_STACK_LINE(93) - (i)--; - HX_STACK_LINE(94) - b1[(i + pos)] = b2->__get((i + srcpos)); - } - HX_STACK_LINE(96) - return null(); - } - HX_STACK_LINE(98) - { - HX_STACK_LINE(98) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(98) - while(((_g < len))){ - HX_STACK_LINE(98) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(99) - b1[(i + pos)] = b2->__get((i + srcpos)); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Bytes_obj,blit,(void)) - -Void Bytes_obj::set( int pos,int v){ -{ - HX_STACK_PUSH("Bytes::set","/usr/lib/haxe/std/haxe/io/Bytes.hx",53); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(53) - this->b[pos] = v; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Bytes_obj,set,(void)) - -int Bytes_obj::get( int pos){ - HX_STACK_PUSH("Bytes::get","/usr/lib/haxe/std/haxe/io/Bytes.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(37) - return this->b->__get(pos); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Bytes_obj,get,return ) - -::haxe::io::Bytes Bytes_obj::alloc( int length){ - HX_STACK_PUSH("Bytes::alloc","/usr/lib/haxe/std/haxe/io/Bytes.hx",259); - HX_STACK_ARG(length,"length"); - HX_STACK_LINE(276) - Array< unsigned char > a = Array_obj< unsigned char >::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(277) - if (((length > (int)0))){ - HX_STACK_LINE(277) - a[(length - (int)1)] = (int)0; - } - HX_STACK_LINE(278) - return ::haxe::io::Bytes_obj::__new(length,a); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Bytes_obj,alloc,return ) - -::haxe::io::Bytes Bytes_obj::ofString( ::String s){ - HX_STACK_PUSH("Bytes::ofString","/usr/lib/haxe/std/haxe/io/Bytes.hx",291); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(302) - Array< unsigned char > a = Array_obj< unsigned char >::__new(); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(303) - ::__hxcpp_bytes_of_string(a,s); - HX_STACK_LINE(304) - return ::haxe::io::Bytes_obj::__new(a->length,a); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Bytes_obj,ofString,return ) - -::haxe::io::Bytes Bytes_obj::ofData( Array< unsigned char > b){ - HX_STACK_PUSH("Bytes::ofData","/usr/lib/haxe/std/haxe/io/Bytes.hx",340); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(340) - return ::haxe::io::Bytes_obj::__new(b->length,b); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Bytes_obj,ofData,return ) - - -Bytes_obj::Bytes_obj() -{ -} - -void Bytes_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Bytes); - HX_MARK_MEMBER_NAME(b,"b"); - HX_MARK_MEMBER_NAME(length,"length"); - HX_MARK_END_CLASS(); -} - -void Bytes_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(b,"b"); - HX_VISIT_MEMBER_NAME(length,"length"); -} - -Dynamic Bytes_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"b") ) { return b; } - break; - case 3: - if (HX_FIELD_EQ(inName,"sub") ) { return sub_dyn(); } - if (HX_FIELD_EQ(inName,"set") ) { return set_dyn(); } - if (HX_FIELD_EQ(inName,"get") ) { return get_dyn(); } - break; - case 4: - if (HX_FIELD_EQ(inName,"blit") ) { return blit_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"alloc") ) { return alloc_dyn(); } - if (HX_FIELD_EQ(inName,"toHex") ) { return toHex_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"ofData") ) { return ofData_dyn(); } - if (HX_FIELD_EQ(inName,"length") ) { return length; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getData") ) { return getData_dyn(); } - if (HX_FIELD_EQ(inName,"compare") ) { return compare_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"ofString") ) { return ofString_dyn(); } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"readString") ) { return readString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Bytes_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"b") ) { b=inValue.Cast< Array< unsigned char > >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { length=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Bytes_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("b")); - outFields->push(HX_CSTRING("length")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("alloc"), - HX_CSTRING("ofString"), - HX_CSTRING("ofData"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getData"), - HX_CSTRING("toHex"), - HX_CSTRING("toString"), - HX_CSTRING("readString"), - HX_CSTRING("compare"), - HX_CSTRING("sub"), - HX_CSTRING("blit"), - HX_CSTRING("set"), - HX_CSTRING("get"), - HX_CSTRING("b"), - HX_CSTRING("length"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Bytes_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Bytes_obj::__mClass,"__mClass"); -}; - -Class Bytes_obj::__mClass; - -void Bytes_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.Bytes"), hx::TCanCast< Bytes_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Bytes_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/io/BytesBuffer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/io/BytesBuffer.cpp deleted file mode 100644 index 47c1905..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/io/BytesBuffer.cpp +++ /dev/null @@ -1,216 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_BytesBuffer -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -namespace haxe{ -namespace io{ - -Void BytesBuffer_obj::__construct() -{ -HX_STACK_PUSH("BytesBuffer::new","/usr/lib/haxe/std/haxe/io/BytesBuffer.hx",45); -{ - HX_STACK_LINE(45) - this->b = Array_obj< unsigned char >::__new(); -} -; - return null(); -} - -BytesBuffer_obj::~BytesBuffer_obj() { } - -Dynamic BytesBuffer_obj::__CreateEmpty() { return new BytesBuffer_obj; } -hx::ObjectPtr< BytesBuffer_obj > BytesBuffer_obj::__new() -{ hx::ObjectPtr< BytesBuffer_obj > result = new BytesBuffer_obj(); - result->__construct(); - return result;} - -Dynamic BytesBuffer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BytesBuffer_obj > result = new BytesBuffer_obj(); - result->__construct(); - return result;} - -::haxe::io::Bytes BytesBuffer_obj::getBytes( ){ - HX_STACK_PUSH("BytesBuffer::getBytes","/usr/lib/haxe/std/haxe/io/BytesBuffer.hx",126); - HX_STACK_THIS(this); - HX_STACK_LINE(142) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::__new(this->b->length,this->b); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(144) - this->b = null(); - HX_STACK_LINE(145) - return bytes; -} - - -HX_DEFINE_DYNAMIC_FUNC0(BytesBuffer_obj,getBytes,return ) - -Void BytesBuffer_obj::addBytes( ::haxe::io::Bytes src,int pos,int len){ -{ - HX_STACK_PUSH("BytesBuffer::addBytes","/usr/lib/haxe/std/haxe/io/BytesBuffer.hx",100); - HX_STACK_THIS(this); - HX_STACK_ARG(src,"src"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(102) - if (((bool((bool((pos < (int)0)) || bool((len < (int)0)))) || bool(((pos + len) > src->length))))){ - HX_STACK_LINE(102) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(115) - Array< unsigned char > b1 = this->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(116) - Array< unsigned char > b2 = src->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(117) - { - HX_STACK_LINE(117) - int _g1 = pos; HX_STACK_VAR(_g1,"_g1"); - int _g = (pos + len); HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(117) - while(((_g1 < _g))){ - HX_STACK_LINE(117) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(118) - this->b->push(b2->__get(i)); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(BytesBuffer_obj,addBytes,(void)) - -Void BytesBuffer_obj::add( ::haxe::io::Bytes src){ -{ - HX_STACK_PUSH("BytesBuffer::add","/usr/lib/haxe/std/haxe/io/BytesBuffer.hx",81); - HX_STACK_THIS(this); - HX_STACK_ARG(src,"src"); - HX_STACK_LINE(93) - Array< unsigned char > b1 = this->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(94) - Array< unsigned char > b2 = src->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(95) - { - HX_STACK_LINE(95) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = src->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(95) - while(((_g1 < _g))){ - HX_STACK_LINE(95) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(96) - this->b->push(b2->__get(i)); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BytesBuffer_obj,add,(void)) - -Void BytesBuffer_obj::addByte( int byte){ -{ - HX_STACK_PUSH("BytesBuffer::addByte","/usr/lib/haxe/std/haxe/io/BytesBuffer.hx",63); - HX_STACK_THIS(this); - HX_STACK_ARG(byte,"byte"); - HX_STACK_LINE(63) - this->b->push(byte); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BytesBuffer_obj,addByte,(void)) - - -BytesBuffer_obj::BytesBuffer_obj() -{ -} - -void BytesBuffer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BytesBuffer); - HX_MARK_MEMBER_NAME(b,"b"); - HX_MARK_END_CLASS(); -} - -void BytesBuffer_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(b,"b"); -} - -Dynamic BytesBuffer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"b") ) { return b; } - break; - case 3: - if (HX_FIELD_EQ(inName,"add") ) { return add_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"addByte") ) { return addByte_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"getBytes") ) { return getBytes_dyn(); } - if (HX_FIELD_EQ(inName,"addBytes") ) { return addBytes_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BytesBuffer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"b") ) { b=inValue.Cast< Array< unsigned char > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BytesBuffer_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("b")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getBytes"), - HX_CSTRING("addBytes"), - HX_CSTRING("add"), - HX_CSTRING("addByte"), - HX_CSTRING("b"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BytesBuffer_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BytesBuffer_obj::__mClass,"__mClass"); -}; - -Class BytesBuffer_obj::__mClass; - -void BytesBuffer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.BytesBuffer"), hx::TCanCast< BytesBuffer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BytesBuffer_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/io/Eof.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/io/Eof.cpp deleted file mode 100644 index 086eb38..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/io/Eof.cpp +++ /dev/null @@ -1,104 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Eof -#include -#endif -namespace haxe{ -namespace io{ - -Void Eof_obj::__construct() -{ -HX_STACK_PUSH("Eof::new","/usr/lib/haxe/std/haxe/io/Eof.hx",31); -{ -} -; - return null(); -} - -Eof_obj::~Eof_obj() { } - -Dynamic Eof_obj::__CreateEmpty() { return new Eof_obj; } -hx::ObjectPtr< Eof_obj > Eof_obj::__new() -{ hx::ObjectPtr< Eof_obj > result = new Eof_obj(); - result->__construct(); - return result;} - -Dynamic Eof_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Eof_obj > result = new Eof_obj(); - result->__construct(); - return result;} - -::String Eof_obj::toString( ){ - HX_STACK_PUSH("Eof::toString","/usr/lib/haxe/std/haxe/io/Eof.hx",33); - HX_STACK_THIS(this); - HX_STACK_LINE(33) - return HX_CSTRING("Eof"); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Eof_obj,toString,return ) - - -Eof_obj::Eof_obj() -{ -} - -void Eof_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Eof); - HX_MARK_END_CLASS(); -} - -void Eof_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Eof_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Eof_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Eof_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Eof_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Eof_obj::__mClass,"__mClass"); -}; - -Class Eof_obj::__mClass; - -void Eof_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.Eof"), hx::TCanCast< Eof_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Eof_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/io/Error.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/io/Error.cpp deleted file mode 100644 index f245d9e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/io/Error.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Error -#include -#endif -namespace haxe{ -namespace io{ - -::haxe::io::Error Error_obj::Blocked; - -::haxe::io::Error Error_obj::Custom(Dynamic e) - { return hx::CreateEnum< Error_obj >(HX_CSTRING("Custom"),3,hx::DynamicArray(0,1).Add(e)); } - -::haxe::io::Error Error_obj::OutsideBounds; - -::haxe::io::Error Error_obj::Overflow; - -HX_DEFINE_CREATE_ENUM(Error_obj) - -int Error_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("Blocked")) return 0; - if (inName==HX_CSTRING("Custom")) return 3; - if (inName==HX_CSTRING("OutsideBounds")) return 2; - if (inName==HX_CSTRING("Overflow")) return 1; - return super::__FindIndex(inName); -} - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Error_obj,Custom,return) - -int Error_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("Blocked")) return 0; - if (inName==HX_CSTRING("Custom")) return 1; - if (inName==HX_CSTRING("OutsideBounds")) return 0; - if (inName==HX_CSTRING("Overflow")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic Error_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("Blocked")) return Blocked; - if (inName==HX_CSTRING("Custom")) return Custom_dyn(); - if (inName==HX_CSTRING("OutsideBounds")) return OutsideBounds; - if (inName==HX_CSTRING("Overflow")) return Overflow; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("Blocked"), - HX_CSTRING("Overflow"), - HX_CSTRING("OutsideBounds"), - HX_CSTRING("Custom"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Error_obj::Blocked,"Blocked"); - HX_MARK_MEMBER_NAME(Error_obj::OutsideBounds,"OutsideBounds"); - HX_MARK_MEMBER_NAME(Error_obj::Overflow,"Overflow"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Error_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Error_obj::Blocked,"Blocked"); - HX_VISIT_MEMBER_NAME(Error_obj::OutsideBounds,"OutsideBounds"); - HX_VISIT_MEMBER_NAME(Error_obj::Overflow,"Overflow"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class Error_obj::__mClass; - -Dynamic __Create_Error_obj() { return new Error_obj; } - -void Error_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.Error"), hx::TCanCast< Error_obj >,sStaticFields,sMemberFields, - &__Create_Error_obj, &__Create, - &super::__SGetClass(), &CreateError_obj, sMarkStatics, sVisitStatic); -} - -void Error_obj::__boot() -{ -Static(Blocked) = hx::CreateEnum< Error_obj >(HX_CSTRING("Blocked"),0); -Static(OutsideBounds) = hx::CreateEnum< Error_obj >(HX_CSTRING("OutsideBounds"),2); -Static(Overflow) = hx::CreateEnum< Error_obj >(HX_CSTRING("Overflow"),1); -} - - -} // end namespace haxe -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/io/Input.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/io/Input.cpp deleted file mode 100644 index 8ee4015..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/io/Input.cpp +++ /dev/null @@ -1,651 +0,0 @@ -#include - -#ifndef INCLUDED_StringBuf -#include -#endif -#ifndef INCLUDED_cpp_CppInt32__ -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_BytesBuffer -#include -#endif -#ifndef INCLUDED_haxe_io_Eof -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -namespace haxe{ -namespace io{ - -Void Input_obj::__construct() -{ - return null(); -} - -Input_obj::~Input_obj() { } - -Dynamic Input_obj::__CreateEmpty() { return new Input_obj; } -hx::ObjectPtr< Input_obj > Input_obj::__new() -{ hx::ObjectPtr< Input_obj > result = new Input_obj(); - result->__construct(); - return result;} - -Dynamic Input_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Input_obj > result = new Input_obj(); - result->__construct(); - return result;} - -::String Input_obj::readString( int len){ - HX_STACK_PUSH("Input::readString","/usr/lib/haxe/std/haxe/io/Input.hx",408); - HX_STACK_THIS(this); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(409) - ::haxe::io::Bytes b = ::haxe::io::Bytes_obj::alloc(len); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(410) - this->readFullBytes(b,(int)0,len); - HX_STACK_LINE(414) - return b->toString(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Input_obj,readString,return ) - -::cpp::CppInt32__ Input_obj::readInt32( ){ - HX_STACK_PUSH("Input::readInt32","/usr/lib/haxe/std/haxe/io/Input.hx",393); - HX_STACK_THIS(this); - HX_STACK_LINE(394) - int ch1 = this->readByte(); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(395) - int ch2 = this->readByte(); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(396) - int ch3 = this->readByte(); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(397) - int ch4 = this->readByte(); HX_STACK_VAR(ch4,"ch4"); - HX_STACK_LINE(404) - return ( ((this->bigEndian)) ? ::cpp::CppInt32__(::cpp::CppInt32___obj::make((int((int(ch1) << int((int)8))) | int(ch2)),(int((int(ch3) << int((int)8))) | int(ch4)))) : ::cpp::CppInt32__(::cpp::CppInt32___obj::make((int((int(ch4) << int((int)8))) | int(ch3)),(int((int(ch2) << int((int)8))) | int(ch1)))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readInt32,return ) - -int Input_obj::readUInt30( ){ - HX_STACK_PUSH("Input::readUInt30","/usr/lib/haxe/std/haxe/io/Input.hx",384); - HX_STACK_THIS(this); - HX_STACK_LINE(385) - int ch1 = this->readByte(); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(386) - int ch2 = this->readByte(); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(387) - int ch3 = this->readByte(); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(388) - int ch4 = this->readByte(); HX_STACK_VAR(ch4,"ch4"); - HX_STACK_LINE(389) - if ((((( ((this->bigEndian)) ? int(ch1) : int(ch4) )) >= (int)64))){ - HX_STACK_LINE(389) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(390) - return ( ((this->bigEndian)) ? int((int((int((int(ch4) | int((int(ch3) << int((int)8))))) | int((int(ch2) << int((int)16))))) | int((int(ch1) << int((int)24))))) : int((int((int((int(ch1) | int((int(ch2) << int((int)8))))) | int((int(ch3) << int((int)16))))) | int((int(ch4) << int((int)24))))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readUInt30,return ) - -int Input_obj::readInt31( ){ - HX_STACK_PUSH("Input::readInt31","/usr/lib/haxe/std/haxe/io/Input.hx",367); - HX_STACK_THIS(this); - HX_STACK_LINE(368) - int ch1; HX_STACK_VAR(ch1,"ch1"); - int ch2; HX_STACK_VAR(ch2,"ch2"); - int ch3; HX_STACK_VAR(ch3,"ch3"); - int ch4; HX_STACK_VAR(ch4,"ch4"); - HX_STACK_LINE(369) - if ((this->bigEndian)){ - HX_STACK_LINE(370) - ch4 = this->readByte(); - HX_STACK_LINE(371) - ch3 = this->readByte(); - HX_STACK_LINE(372) - ch2 = this->readByte(); - HX_STACK_LINE(373) - ch1 = this->readByte(); - } - else{ - HX_STACK_LINE(375) - ch1 = this->readByte(); - HX_STACK_LINE(376) - ch2 = this->readByte(); - HX_STACK_LINE(377) - ch3 = this->readByte(); - HX_STACK_LINE(378) - ch4 = this->readByte(); - } - HX_STACK_LINE(380) - if ((((((int(ch4) & int((int)128))) == (int)0) != ((((int(ch4) & int((int)64))) == (int)0))))){ - HX_STACK_LINE(380) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(381) - return (int((int((int(ch1) | int((int(ch2) << int((int)8))))) | int((int(ch3) << int((int)16))))) | int((int(ch4) << int((int)24)))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readInt31,return ) - -int Input_obj::readUInt24( ){ - HX_STACK_PUSH("Input::readUInt24","/usr/lib/haxe/std/haxe/io/Input.hx",360); - HX_STACK_THIS(this); - HX_STACK_LINE(361) - int ch1 = this->readByte(); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(362) - int ch2 = this->readByte(); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(363) - int ch3 = this->readByte(); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(364) - return ( ((this->bigEndian)) ? int((int((int(ch3) | int((int(ch2) << int((int)8))))) | int((int(ch1) << int((int)16))))) : int((int((int(ch1) | int((int(ch2) << int((int)8))))) | int((int(ch3) << int((int)16))))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readUInt24,return ) - -int Input_obj::readInt24( ){ - HX_STACK_PUSH("Input::readInt24","/usr/lib/haxe/std/haxe/io/Input.hx",350); - HX_STACK_THIS(this); - HX_STACK_LINE(351) - int ch1 = this->readByte(); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(352) - int ch2 = this->readByte(); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(353) - int ch3 = this->readByte(); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(354) - int n = ( ((this->bigEndian)) ? int((int((int(ch3) | int((int(ch2) << int((int)8))))) | int((int(ch1) << int((int)16))))) : int((int((int(ch1) | int((int(ch2) << int((int)8))))) | int((int(ch3) << int((int)16))))) ); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(355) - if (((((int(n) & int((int)8388608))) != (int)0))){ - HX_STACK_LINE(356) - return (n - (int)16777216); - } - HX_STACK_LINE(357) - return n; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readInt24,return ) - -int Input_obj::readUInt16( ){ - HX_STACK_PUSH("Input::readUInt16","/usr/lib/haxe/std/haxe/io/Input.hx",344); - HX_STACK_THIS(this); - HX_STACK_LINE(345) - int ch1 = this->readByte(); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(346) - int ch2 = this->readByte(); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(347) - return ( ((this->bigEndian)) ? int((int(ch2) | int((int(ch1) << int((int)8))))) : int((int(ch1) | int((int(ch2) << int((int)8))))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readUInt16,return ) - -int Input_obj::readInt16( ){ - HX_STACK_PUSH("Input::readInt16","/usr/lib/haxe/std/haxe/io/Input.hx",335); - HX_STACK_THIS(this); - HX_STACK_LINE(336) - int ch1 = this->readByte(); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(337) - int ch2 = this->readByte(); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(338) - int n = ( ((this->bigEndian)) ? int((int(ch2) | int((int(ch1) << int((int)8))))) : int((int(ch1) | int((int(ch2) << int((int)8))))) ); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(339) - if (((((int(n) & int((int)32768))) != (int)0))){ - HX_STACK_LINE(340) - return (n - (int)65536); - } - HX_STACK_LINE(341) - return n; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readInt16,return ) - -int Input_obj::readInt8( ){ - HX_STACK_PUSH("Input::readInt8","/usr/lib/haxe/std/haxe/io/Input.hx",328); - HX_STACK_THIS(this); - HX_STACK_LINE(329) - int n = this->readByte(); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(330) - if (((n >= (int)128))){ - HX_STACK_LINE(331) - return (n - (int)256); - } - HX_STACK_LINE(332) - return n; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readInt8,return ) - -Float Input_obj::readDouble( ){ - HX_STACK_PUSH("Input::readDouble","/usr/lib/haxe/std/haxe/io/Input.hx",255); - HX_STACK_THIS(this); - HX_STACK_LINE(255) - return ::haxe::io::Input_obj::_double_of_bytes(this->read((int)8)->b,this->bigEndian); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readDouble,return ) - -Float Input_obj::readFloat( ){ - HX_STACK_PUSH("Input::readFloat","/usr/lib/haxe/std/haxe/io/Input.hx",201); - HX_STACK_THIS(this); - HX_STACK_LINE(201) - return ::haxe::io::Input_obj::_float_of_bytes(this->read((int)4)->b,this->bigEndian); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readFloat,return ) - -::String Input_obj::readLine( ){ - HX_STACK_PUSH("Input::readLine","/usr/lib/haxe/std/haxe/io/Input.hx",184); - HX_STACK_THIS(this); - HX_STACK_LINE(185) - ::StringBuf buf = ::StringBuf_obj::__new(); HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(186) - int last; HX_STACK_VAR(last,"last"); - HX_STACK_LINE(187) - ::String s; HX_STACK_VAR(s,"s"); - HX_STACK_LINE(188) - try{ - HX_STACK_LINE(189) - while((((last = this->readByte()) != (int)10))){ - HX_STACK_LINE(190) - hx::IndexRef((buf->b).mPtr,buf->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode(last); - } - HX_STACK_LINE(191) - s = buf->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); - HX_STACK_LINE(192) - if (((s.charCodeAt((s.length - (int)1)) == (int)13))){ - HX_STACK_LINE(192) - s = s.substr((int)0,(int)-1); - } - } - catch(Dynamic __e){ - if (__e.IsClass< ::haxe::io::Eof >() ){ - ::haxe::io::Eof e = __e;{ - HX_STACK_LINE(194) - s = buf->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); - HX_STACK_LINE(195) - if (((s.length == (int)0))){ - HX_STACK_LINE(196) - hx::Throw (e); - } - } - } - else throw(__e); - } - HX_STACK_LINE(198) - return s; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readLine,return ) - -::String Input_obj::readUntil( int end){ - HX_STACK_PUSH("Input::readUntil","/usr/lib/haxe/std/haxe/io/Input.hx",176); - HX_STACK_THIS(this); - HX_STACK_ARG(end,"end"); - HX_STACK_LINE(177) - ::StringBuf buf = ::StringBuf_obj::__new(); HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(178) - int last; HX_STACK_VAR(last,"last"); - HX_STACK_LINE(179) - while((((last = this->readByte()) != end))){ - HX_STACK_LINE(180) - hx::IndexRef((buf->b).mPtr,buf->b->__Field(HX_CSTRING("length"),true)) = ::String::fromCharCode(last); - } - HX_STACK_LINE(181) - return buf->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Input_obj,readUntil,return ) - -::haxe::io::Bytes Input_obj::read( int nbytes){ - HX_STACK_PUSH("Input::read","/usr/lib/haxe/std/haxe/io/Input.hx",164); - HX_STACK_THIS(this); - HX_STACK_ARG(nbytes,"nbytes"); - HX_STACK_LINE(165) - ::haxe::io::Bytes s = ::haxe::io::Bytes_obj::alloc(nbytes); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(166) - int p = (int)0; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(167) - while(((nbytes > (int)0))){ - HX_STACK_LINE(168) - int k = this->readBytes(s,p,nbytes); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(169) - if (((k == (int)0))){ - HX_STACK_LINE(169) - hx::Throw (::haxe::io::Error_obj::Blocked_dyn()); - } - HX_STACK_LINE(170) - hx::AddEq(p,k); - HX_STACK_LINE(171) - hx::SubEq(nbytes,k); - } - HX_STACK_LINE(173) - return s; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Input_obj,read,return ) - -Void Input_obj::readFullBytes( ::haxe::io::Bytes s,int pos,int len){ -{ - HX_STACK_PUSH("Input::readFullBytes","/usr/lib/haxe/std/haxe/io/Input.hx",156); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(156) - while(((len > (int)0))){ - HX_STACK_LINE(158) - int k = this->readBytes(s,pos,len); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(159) - hx::AddEq(pos,k); - HX_STACK_LINE(160) - hx::SubEq(len,k); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Input_obj,readFullBytes,(void)) - -::haxe::io::Bytes Input_obj::readAll( Dynamic bufsize){ - HX_STACK_PUSH("Input::readAll","/usr/lib/haxe/std/haxe/io/Input.hx",80); - HX_STACK_THIS(this); - HX_STACK_ARG(bufsize,"bufsize"); - HX_STACK_LINE(81) - if (((bufsize == null()))){ - HX_STACK_LINE(85) - bufsize = (int)16384; - } - HX_STACK_LINE(141) - ::haxe::io::Bytes buf = ::haxe::io::Bytes_obj::alloc(bufsize); HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(142) - ::haxe::io::BytesBuffer total = ::haxe::io::BytesBuffer_obj::__new(); HX_STACK_VAR(total,"total"); - HX_STACK_LINE(143) - try{ - HX_STACK_LINE(143) - while((true)){ - HX_STACK_LINE(145) - int len = this->readBytes(buf,(int)0,bufsize); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(146) - if (((len == (int)0))){ - HX_STACK_LINE(147) - hx::Throw (::haxe::io::Error_obj::Blocked_dyn()); - } - HX_STACK_LINE(148) - { - HX_STACK_LINE(148) - if (((bool((len < (int)0)) || bool((len > buf->length))))){ - HX_STACK_LINE(148) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(148) - Array< unsigned char > b1 = total->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(148) - Array< unsigned char > b2 = buf->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(148) - { - HX_STACK_LINE(148) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = len; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(148) - while(((_g1 < _g))){ - HX_STACK_LINE(148) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(148) - total->b->push(b2->__get(i)); - } - } - } - } - } - catch(Dynamic __e){ - if (__e.IsClass< ::haxe::io::Eof >() ){ - ::haxe::io::Eof e = __e;{ - } - } - else throw(__e); - } - HX_STACK_LINE(152) - return total->getBytes(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Input_obj,readAll,return ) - -bool Input_obj::setEndian( bool b){ - HX_STACK_PUSH("Input::setEndian","/usr/lib/haxe/std/haxe/io/Input.hx",73); - HX_STACK_THIS(this); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(74) - this->bigEndian = b; - HX_STACK_LINE(75) - return b; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Input_obj,setEndian,return ) - -Void Input_obj::close( ){ -{ - HX_STACK_PUSH("Input::close","/usr/lib/haxe/std/haxe/io/Input.hx",70); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,close,(void)) - -int Input_obj::readBytes( ::haxe::io::Bytes s,int pos,int len){ - HX_STACK_PUSH("Input::readBytes","/usr/lib/haxe/std/haxe/io/Input.hx",49); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(50) - int k = len; HX_STACK_VAR(k,"k"); - HX_STACK_LINE(51) - Array< unsigned char > b = s->b; HX_STACK_VAR(b,"b"); - HX_STACK_LINE(52) - if (((bool((bool((pos < (int)0)) || bool((len < (int)0)))) || bool(((pos + len) > s->length))))){ - HX_STACK_LINE(53) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(54) - while(((k > (int)0))){ - HX_STACK_LINE(60) - b[pos] = this->readByte(); - HX_STACK_LINE(64) - (pos)++; - HX_STACK_LINE(65) - (k)--; - } - HX_STACK_LINE(67) - return len; -} - - -HX_DEFINE_DYNAMIC_FUNC3(Input_obj,readBytes,return ) - -int Input_obj::readByte( ){ - HX_STACK_PUSH("Input::readByte","/usr/lib/haxe/std/haxe/io/Input.hx",40); - HX_STACK_THIS(this); - HX_STACK_LINE(42) - hx::Throw (HX_CSTRING("Not implemented")); - HX_STACK_LINE(43) - return (int)0; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Input_obj,readByte,return ) - -Dynamic Input_obj::_float_of_bytes; - -Dynamic Input_obj::_double_of_bytes; - - -Input_obj::Input_obj() -{ -} - -void Input_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Input); - HX_MARK_MEMBER_NAME(bigEndian,"bigEndian"); - HX_MARK_END_CLASS(); -} - -void Input_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(bigEndian,"bigEndian"); -} - -Dynamic Input_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"read") ) { return read_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"readAll") ) { return readAll_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"readInt8") ) { return readInt8_dyn(); } - if (HX_FIELD_EQ(inName,"readLine") ) { return readLine_dyn(); } - if (HX_FIELD_EQ(inName,"readByte") ) { return readByte_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"readInt32") ) { return readInt32_dyn(); } - if (HX_FIELD_EQ(inName,"readInt31") ) { return readInt31_dyn(); } - if (HX_FIELD_EQ(inName,"readInt24") ) { return readInt24_dyn(); } - if (HX_FIELD_EQ(inName,"readInt16") ) { return readInt16_dyn(); } - if (HX_FIELD_EQ(inName,"readFloat") ) { return readFloat_dyn(); } - if (HX_FIELD_EQ(inName,"readUntil") ) { return readUntil_dyn(); } - if (HX_FIELD_EQ(inName,"setEndian") ) { return setEndian_dyn(); } - if (HX_FIELD_EQ(inName,"readBytes") ) { return readBytes_dyn(); } - if (HX_FIELD_EQ(inName,"bigEndian") ) { return bigEndian; } - break; - case 10: - if (HX_FIELD_EQ(inName,"readString") ) { return readString_dyn(); } - if (HX_FIELD_EQ(inName,"readUInt30") ) { return readUInt30_dyn(); } - if (HX_FIELD_EQ(inName,"readUInt24") ) { return readUInt24_dyn(); } - if (HX_FIELD_EQ(inName,"readUInt16") ) { return readUInt16_dyn(); } - if (HX_FIELD_EQ(inName,"readDouble") ) { return readDouble_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"readFullBytes") ) { return readFullBytes_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"_float_of_bytes") ) { return _float_of_bytes; } - break; - case 16: - if (HX_FIELD_EQ(inName,"_double_of_bytes") ) { return _double_of_bytes; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Input_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"bigEndian") ) { if (inCallProp) return setEndian(inValue);bigEndian=inValue.Cast< bool >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_float_of_bytes") ) { _float_of_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"_double_of_bytes") ) { _double_of_bytes=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Input_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("bigEndian")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("_float_of_bytes"), - HX_CSTRING("_double_of_bytes"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("readString"), - HX_CSTRING("readInt32"), - HX_CSTRING("readUInt30"), - HX_CSTRING("readInt31"), - HX_CSTRING("readUInt24"), - HX_CSTRING("readInt24"), - HX_CSTRING("readUInt16"), - HX_CSTRING("readInt16"), - HX_CSTRING("readInt8"), - HX_CSTRING("readDouble"), - HX_CSTRING("readFloat"), - HX_CSTRING("readLine"), - HX_CSTRING("readUntil"), - HX_CSTRING("read"), - HX_CSTRING("readFullBytes"), - HX_CSTRING("readAll"), - HX_CSTRING("setEndian"), - HX_CSTRING("close"), - HX_CSTRING("readBytes"), - HX_CSTRING("readByte"), - HX_CSTRING("bigEndian"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Input_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Input_obj::_float_of_bytes,"_float_of_bytes"); - HX_MARK_MEMBER_NAME(Input_obj::_double_of_bytes,"_double_of_bytes"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Input_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Input_obj::_float_of_bytes,"_float_of_bytes"); - HX_VISIT_MEMBER_NAME(Input_obj::_double_of_bytes,"_double_of_bytes"); -}; - -Class Input_obj::__mClass; - -void Input_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.Input"), hx::TCanCast< Input_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Input_obj::__boot() -{ - _float_of_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("float_of_bytes"),(int)2); - _double_of_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("double_of_bytes"),(int)2); -} - -} // end namespace haxe -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/io/Output.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/io/Output.cpp deleted file mode 100644 index c3f67b4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/io/Output.cpp +++ /dev/null @@ -1,679 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_cpp_CppInt32__ -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Eof -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -#ifndef INCLUDED_haxe_io_Output -#include -#endif -namespace haxe{ -namespace io{ - -Void Output_obj::__construct() -{ - return null(); -} - -Output_obj::~Output_obj() { } - -Dynamic Output_obj::__CreateEmpty() { return new Output_obj; } -hx::ObjectPtr< Output_obj > Output_obj::__new() -{ hx::ObjectPtr< Output_obj > result = new Output_obj(); - result->__construct(); - return result;} - -Dynamic Output_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Output_obj > result = new Output_obj(); - result->__construct(); - return result;} - -Void Output_obj::writeString( ::String s){ -{ - HX_STACK_PUSH("Output::writeString","/usr/lib/haxe/std/haxe/io/Output.hx",348); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(352) - ::haxe::io::Bytes b = ::haxe::io::Bytes_obj::ofString(s); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(354) - this->writeFullBytes(b,(int)0,b->length); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeString,(void)) - -Void Output_obj::writeInput( ::haxe::io::Input i,Dynamic bufsize){ -{ - HX_STACK_PUSH("Output::writeInput","/usr/lib/haxe/std/haxe/io/Output.hx",326); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); - HX_STACK_ARG(bufsize,"bufsize"); - HX_STACK_LINE(327) - if (((bufsize == null()))){ - HX_STACK_LINE(328) - bufsize = (int)4096; - } - HX_STACK_LINE(329) - ::haxe::io::Bytes buf = ::haxe::io::Bytes_obj::alloc(bufsize); HX_STACK_VAR(buf,"buf"); - HX_STACK_LINE(330) - try{ - HX_STACK_LINE(330) - while((true)){ - HX_STACK_LINE(332) - int len = i->readBytes(buf,(int)0,bufsize); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(333) - if (((len == (int)0))){ - HX_STACK_LINE(334) - hx::Throw (::haxe::io::Error_obj::Blocked_dyn()); - } - HX_STACK_LINE(335) - int p = (int)0; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(336) - while(((len > (int)0))){ - HX_STACK_LINE(337) - int k = this->writeBytes(buf,p,len); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(338) - if (((k == (int)0))){ - HX_STACK_LINE(339) - hx::Throw (::haxe::io::Error_obj::Blocked_dyn()); - } - HX_STACK_LINE(340) - hx::AddEq(p,k); - HX_STACK_LINE(341) - hx::SubEq(len,k); - } - } - } - catch(Dynamic __e){ - if (__e.IsClass< ::haxe::io::Eof >() ){ - ::haxe::io::Eof e = __e;{ - } - } - else throw(__e); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Output_obj,writeInput,(void)) - -Void Output_obj::prepare( int nbytes){ -{ - HX_STACK_PUSH("Output::prepare","/usr/lib/haxe/std/haxe/io/Output.hx",323); - HX_STACK_THIS(this); - HX_STACK_ARG(nbytes,"nbytes"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,prepare,(void)) - -Void Output_obj::writeInt32( ::cpp::CppInt32__ x){ -{ - HX_STACK_PUSH("Output::writeInt32","/usr/lib/haxe/std/haxe/io/Output.hx",303); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(303) - if ((this->bigEndian)){ - HX_STACK_LINE(305) - this->writeByte(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::ushr(x,(int)24))); - HX_STACK_LINE(306) - this->writeByte((int(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::ushr(x,(int)16))) & int((int)255))); - HX_STACK_LINE(307) - this->writeByte((int(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::ushr(x,(int)8))) & int((int)255))); - HX_STACK_LINE(308) - this->writeByte(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::_and(x,::cpp::CppInt32___obj::ofInt((int)255)))); - } - else{ - HX_STACK_LINE(310) - this->writeByte(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::_and(x,::cpp::CppInt32___obj::ofInt((int)255)))); - HX_STACK_LINE(311) - this->writeByte((int(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::ushr(x,(int)8))) & int((int)255))); - HX_STACK_LINE(312) - this->writeByte((int(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::ushr(x,(int)16))) & int((int)255))); - HX_STACK_LINE(313) - this->writeByte(::cpp::CppInt32___obj::toInt(::cpp::CppInt32___obj::ushr(x,(int)24))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeInt32,(void)) - -Void Output_obj::writeUInt30( int x){ -{ - HX_STACK_PUSH("Output::writeUInt30","/usr/lib/haxe/std/haxe/io/Output.hx",288); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(289) - if (((bool((x < (int)0)) || bool((x >= (int)1073741824))))){ - HX_STACK_LINE(289) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(290) - if ((this->bigEndian)){ - HX_STACK_LINE(291) - this->writeByte(hx::UShr(x,(int)24)); - HX_STACK_LINE(292) - this->writeByte((int((int(x) >> int((int)16))) & int((int)255))); - HX_STACK_LINE(293) - this->writeByte((int((int(x) >> int((int)8))) & int((int)255))); - HX_STACK_LINE(294) - this->writeByte((int(x) & int((int)255))); - } - else{ - HX_STACK_LINE(296) - this->writeByte((int(x) & int((int)255))); - HX_STACK_LINE(297) - this->writeByte((int((int(x) >> int((int)8))) & int((int)255))); - HX_STACK_LINE(298) - this->writeByte((int((int(x) >> int((int)16))) & int((int)255))); - HX_STACK_LINE(299) - this->writeByte(hx::UShr(x,(int)24)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeUInt30,(void)) - -Void Output_obj::writeInt31( int x){ -{ - HX_STACK_PUSH("Output::writeInt31","/usr/lib/haxe/std/haxe/io/Output.hx",271); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(273) - if (((bool((x < (int)-1073741824)) || bool((x >= (int)1073741824))))){ - HX_STACK_LINE(273) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(275) - if ((this->bigEndian)){ - HX_STACK_LINE(276) - this->writeByte(hx::UShr(x,(int)24)); - HX_STACK_LINE(277) - this->writeByte((int((int(x) >> int((int)16))) & int((int)255))); - HX_STACK_LINE(278) - this->writeByte((int((int(x) >> int((int)8))) & int((int)255))); - HX_STACK_LINE(279) - this->writeByte((int(x) & int((int)255))); - } - else{ - HX_STACK_LINE(281) - this->writeByte((int(x) & int((int)255))); - HX_STACK_LINE(282) - this->writeByte((int((int(x) >> int((int)8))) & int((int)255))); - HX_STACK_LINE(283) - this->writeByte((int((int(x) >> int((int)16))) & int((int)255))); - HX_STACK_LINE(284) - this->writeByte(hx::UShr(x,(int)24)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeInt31,(void)) - -Void Output_obj::writeUInt24( int x){ -{ - HX_STACK_PUSH("Output::writeUInt24","/usr/lib/haxe/std/haxe/io/Output.hx",258); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(259) - if (((bool((x < (int)0)) || bool((x >= (int)16777216))))){ - HX_STACK_LINE(259) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(260) - if ((this->bigEndian)){ - HX_STACK_LINE(261) - this->writeByte((int(x) >> int((int)16))); - HX_STACK_LINE(262) - this->writeByte((int((int(x) >> int((int)8))) & int((int)255))); - HX_STACK_LINE(263) - this->writeByte((int(x) & int((int)255))); - } - else{ - HX_STACK_LINE(265) - this->writeByte((int(x) & int((int)255))); - HX_STACK_LINE(266) - this->writeByte((int((int(x) >> int((int)8))) & int((int)255))); - HX_STACK_LINE(267) - this->writeByte((int(x) >> int((int)16))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeUInt24,(void)) - -Void Output_obj::writeInt24( int x){ -{ - HX_STACK_PUSH("Output::writeInt24","/usr/lib/haxe/std/haxe/io/Output.hx",253); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(254) - if (((bool((x < (int)-8388608)) || bool((x >= (int)8388608))))){ - HX_STACK_LINE(254) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(255) - this->writeUInt24((int(x) & int((int)16777215))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeInt24,(void)) - -Void Output_obj::writeUInt16( int x){ -{ - HX_STACK_PUSH("Output::writeUInt16","/usr/lib/haxe/std/haxe/io/Output.hx",242); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(243) - if (((bool((x < (int)0)) || bool((x >= (int)65536))))){ - HX_STACK_LINE(243) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(244) - if ((this->bigEndian)){ - HX_STACK_LINE(245) - this->writeByte((int(x) >> int((int)8))); - HX_STACK_LINE(246) - this->writeByte((int(x) & int((int)255))); - } - else{ - HX_STACK_LINE(248) - this->writeByte((int(x) & int((int)255))); - HX_STACK_LINE(249) - this->writeByte((int(x) >> int((int)8))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeUInt16,(void)) - -Void Output_obj::writeInt16( int x){ -{ - HX_STACK_PUSH("Output::writeInt16","/usr/lib/haxe/std/haxe/io/Output.hx",237); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(238) - if (((bool((x < (int)-32768)) || bool((x >= (int)32768))))){ - HX_STACK_LINE(238) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(239) - this->writeUInt16((int(x) & int((int)65535))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeInt16,(void)) - -Void Output_obj::writeInt8( int x){ -{ - HX_STACK_PUSH("Output::writeInt8","/usr/lib/haxe/std/haxe/io/Output.hx",231); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(232) - if (((bool((x < (int)-128)) || bool((x >= (int)128))))){ - HX_STACK_LINE(233) - hx::Throw (::haxe::io::Error_obj::Overflow_dyn()); - } - HX_STACK_LINE(234) - this->writeByte((int(x) & int((int)255))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeInt8,(void)) - -Void Output_obj::writeDouble( Float x){ -{ - HX_STACK_PUSH("Output::writeDouble","/usr/lib/haxe/std/haxe/io/Output.hx",154); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(154) - this->write(::haxe::io::Bytes_obj::ofData(::haxe::io::Output_obj::_double_bytes(x,this->bigEndian))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeDouble,(void)) - -Void Output_obj::writeFloat( Float x){ -{ - HX_STACK_PUSH("Output::writeFloat","/usr/lib/haxe/std/haxe/io/Output.hx",100); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(100) - this->write(::haxe::io::Bytes_obj::ofData(::haxe::io::Output_obj::_float_bytes(x,this->bigEndian))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeFloat,(void)) - -Void Output_obj::writeFullBytes( ::haxe::io::Bytes s,int pos,int len){ -{ - HX_STACK_PUSH("Output::writeFullBytes","/usr/lib/haxe/std/haxe/io/Output.hx",92); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(92) - while(((len > (int)0))){ - HX_STACK_LINE(94) - int k = this->writeBytes(s,pos,len); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(95) - hx::AddEq(pos,k); - HX_STACK_LINE(96) - hx::SubEq(len,k); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Output_obj,writeFullBytes,(void)) - -Void Output_obj::write( ::haxe::io::Bytes s){ -{ - HX_STACK_PUSH("Output::write","/usr/lib/haxe/std/haxe/io/Output.hx",81); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(82) - int l = s->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(83) - int p = (int)0; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(84) - while(((l > (int)0))){ - HX_STACK_LINE(85) - int k = this->writeBytes(s,p,l); HX_STACK_VAR(k,"k"); - HX_STACK_LINE(86) - if (((k == (int)0))){ - HX_STACK_LINE(86) - hx::Throw (::haxe::io::Error_obj::Blocked_dyn()); - } - HX_STACK_LINE(87) - hx::AddEq(p,k); - HX_STACK_LINE(88) - hx::SubEq(l,k); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,write,(void)) - -bool Output_obj::setEndian( bool b){ - HX_STACK_PUSH("Output::setEndian","/usr/lib/haxe/std/haxe/io/Output.hx",74); - HX_STACK_THIS(this); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(75) - this->bigEndian = b; - HX_STACK_LINE(76) - return b; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,setEndian,return ) - -Void Output_obj::close( ){ -{ - HX_STACK_PUSH("Output::close","/usr/lib/haxe/std/haxe/io/Output.hx",71); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Output_obj,close,(void)) - -Void Output_obj::flush( ){ -{ - HX_STACK_PUSH("Output::flush","/usr/lib/haxe/std/haxe/io/Output.hx",68); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Output_obj,flush,(void)) - -int Output_obj::writeBytes( ::haxe::io::Bytes s,int pos,int len){ - HX_STACK_PUSH("Output::writeBytes","/usr/lib/haxe/std/haxe/io/Output.hx",45); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(46) - int k = len; HX_STACK_VAR(k,"k"); - HX_STACK_LINE(47) - Array< unsigned char > b = s->b; HX_STACK_VAR(b,"b"); - HX_STACK_LINE(49) - if (((bool((bool((pos < (int)0)) || bool((len < (int)0)))) || bool(((pos + len) > s->length))))){ - HX_STACK_LINE(50) - hx::Throw (::haxe::io::Error_obj::OutsideBounds_dyn()); - } - HX_STACK_LINE(52) - while(((k > (int)0))){ - HX_STACK_LINE(58) - this->writeByte(b->__get(pos)); - HX_STACK_LINE(62) - (pos)++; - HX_STACK_LINE(63) - (k)--; - } - HX_STACK_LINE(65) - return len; -} - - -HX_DEFINE_DYNAMIC_FUNC3(Output_obj,writeBytes,return ) - -Void Output_obj::writeByte( int c){ -{ - HX_STACK_PUSH("Output::writeByte","/usr/lib/haxe/std/haxe/io/Output.hx",41); - HX_STACK_THIS(this); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(41) - hx::Throw (HX_CSTRING("Not implemented")); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Output_obj,writeByte,(void)) - -Float Output_obj::LN2; - -Dynamic Output_obj::_float_bytes; - -Dynamic Output_obj::_double_bytes; - - -Output_obj::Output_obj() -{ -} - -void Output_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Output); - HX_MARK_MEMBER_NAME(bigEndian,"bigEndian"); - HX_MARK_END_CLASS(); -} - -void Output_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(bigEndian,"bigEndian"); -} - -Dynamic Output_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"LN2") ) { return LN2; } - break; - case 5: - if (HX_FIELD_EQ(inName,"write") ) { return write_dyn(); } - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"flush") ) { return flush_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"prepare") ) { return prepare_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"writeInt8") ) { return writeInt8_dyn(); } - if (HX_FIELD_EQ(inName,"setEndian") ) { return setEndian_dyn(); } - if (HX_FIELD_EQ(inName,"writeByte") ) { return writeByte_dyn(); } - if (HX_FIELD_EQ(inName,"bigEndian") ) { return bigEndian; } - break; - case 10: - if (HX_FIELD_EQ(inName,"writeInput") ) { return writeInput_dyn(); } - if (HX_FIELD_EQ(inName,"writeInt32") ) { return writeInt32_dyn(); } - if (HX_FIELD_EQ(inName,"writeInt31") ) { return writeInt31_dyn(); } - if (HX_FIELD_EQ(inName,"writeInt24") ) { return writeInt24_dyn(); } - if (HX_FIELD_EQ(inName,"writeInt16") ) { return writeInt16_dyn(); } - if (HX_FIELD_EQ(inName,"writeFloat") ) { return writeFloat_dyn(); } - if (HX_FIELD_EQ(inName,"writeBytes") ) { return writeBytes_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"writeString") ) { return writeString_dyn(); } - if (HX_FIELD_EQ(inName,"writeUInt30") ) { return writeUInt30_dyn(); } - if (HX_FIELD_EQ(inName,"writeUInt24") ) { return writeUInt24_dyn(); } - if (HX_FIELD_EQ(inName,"writeUInt16") ) { return writeUInt16_dyn(); } - if (HX_FIELD_EQ(inName,"writeDouble") ) { return writeDouble_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_float_bytes") ) { return _float_bytes; } - break; - case 13: - if (HX_FIELD_EQ(inName,"_double_bytes") ) { return _double_bytes; } - break; - case 14: - if (HX_FIELD_EQ(inName,"writeFullBytes") ) { return writeFullBytes_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Output_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"LN2") ) { LN2=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"bigEndian") ) { if (inCallProp) return setEndian(inValue);bigEndian=inValue.Cast< bool >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_float_bytes") ) { _float_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"_double_bytes") ) { _double_bytes=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Output_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("bigEndian")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("LN2"), - HX_CSTRING("_float_bytes"), - HX_CSTRING("_double_bytes"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("writeString"), - HX_CSTRING("writeInput"), - HX_CSTRING("prepare"), - HX_CSTRING("writeInt32"), - HX_CSTRING("writeUInt30"), - HX_CSTRING("writeInt31"), - HX_CSTRING("writeUInt24"), - HX_CSTRING("writeInt24"), - HX_CSTRING("writeUInt16"), - HX_CSTRING("writeInt16"), - HX_CSTRING("writeInt8"), - HX_CSTRING("writeDouble"), - HX_CSTRING("writeFloat"), - HX_CSTRING("writeFullBytes"), - HX_CSTRING("write"), - HX_CSTRING("setEndian"), - HX_CSTRING("close"), - HX_CSTRING("flush"), - HX_CSTRING("writeBytes"), - HX_CSTRING("writeByte"), - HX_CSTRING("bigEndian"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Output_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Output_obj::LN2,"LN2"); - HX_MARK_MEMBER_NAME(Output_obj::_float_bytes,"_float_bytes"); - HX_MARK_MEMBER_NAME(Output_obj::_double_bytes,"_double_bytes"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Output_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Output_obj::LN2,"LN2"); - HX_VISIT_MEMBER_NAME(Output_obj::_float_bytes,"_float_bytes"); - HX_VISIT_MEMBER_NAME(Output_obj::_double_bytes,"_double_bytes"); -}; - -Class Output_obj::__mClass; - -void Output_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.io.Output"), hx::TCanCast< Output_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Output_obj::__boot() -{ - LN2= ::Math_obj::log((int)2); - _float_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("float_bytes"),(int)2); - _double_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("double_bytes"),(int)2); -} - -} // end namespace haxe -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/xml/Fast.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/xml/Fast.cpp deleted file mode 100644 index 08023af..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/xml/Fast.cpp +++ /dev/null @@ -1,349 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_StringBuf -#include -#endif -#ifndef INCLUDED_StringTools -#include -#endif -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_XmlType -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasAttribAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasNodeAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_NodeAccess -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_NodeListAccess -#include -#endif -namespace haxe{ -namespace xml{ - -Void Fast_obj::__construct(::Xml x) -{ -HX_STACK_PUSH("Fast::new","/usr/lib/haxe/std/haxe/xml/Fast.hx",125); -{ - HX_STACK_LINE(126) - if (((bool((x->nodeType != ::Xml_obj::Document)) && bool((x->nodeType != ::Xml_obj::Element))))){ - HX_STACK_LINE(127) - hx::Throw ((HX_CSTRING("Invalid nodeType ") + ::Std_obj::string(x->nodeType))); - } - HX_STACK_LINE(128) - this->x = x; - HX_STACK_LINE(129) - this->node = ::haxe::xml::_Fast::NodeAccess_obj::__new(x); - HX_STACK_LINE(130) - this->nodes = ::haxe::xml::_Fast::NodeListAccess_obj::__new(x); - HX_STACK_LINE(131) - this->att = ::haxe::xml::_Fast::AttribAccess_obj::__new(x); - HX_STACK_LINE(132) - this->has = ::haxe::xml::_Fast::HasAttribAccess_obj::__new(x); - HX_STACK_LINE(133) - this->hasNode = ::haxe::xml::_Fast::HasNodeAccess_obj::__new(x); -} -; - return null(); -} - -Fast_obj::~Fast_obj() { } - -Dynamic Fast_obj::__CreateEmpty() { return new Fast_obj; } -hx::ObjectPtr< Fast_obj > Fast_obj::__new(::Xml x) -{ hx::ObjectPtr< Fast_obj > result = new Fast_obj(); - result->__construct(x); - return result;} - -Dynamic Fast_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Fast_obj > result = new Fast_obj(); - result->__construct(inArgs[0]); - return result;} - -Dynamic Fast_obj::getElements( ){ - HX_STACK_PUSH("Fast::getElements","/usr/lib/haxe/std/haxe/xml/Fast.hx",167); - HX_STACK_THIS(this); - HX_STACK_LINE(168) - Dynamic it = Dynamic( Array_obj::__new().Add(this->x->elements())); HX_STACK_VAR(it,"it"); - struct _Function_1_1{ - inline static Dynamic Block( Dynamic &it){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/haxe/xml/Fast.hx",169); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("hasNext") , it->__GetItem((int)0)->__Field(HX_CSTRING("hasNext"),true),false); - - HX_BEGIN_LOCAL_FUNC_S1(hx::LocalFunc,_Function_2_1,Dynamic,it) - ::haxe::xml::Fast run(){ - HX_STACK_PUSH("*::_Function_2_1","/usr/lib/haxe/std/haxe/xml/Fast.hx",171); - { - HX_STACK_LINE(172) - ::Xml x = it->__GetItem((int)0)->__Field(HX_CSTRING("next"),true)(); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(173) - if (((x == null()))){ - HX_STACK_LINE(174) - return null(); - } - HX_STACK_LINE(175) - return ::haxe::xml::Fast_obj::__new(x); - } - return null(); - } - HX_END_LOCAL_FUNC0(return) - - __result->Add(HX_CSTRING("next") , Dynamic(new _Function_2_1(it)),true); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(169) - return _Function_1_1::Block(it); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Fast_obj,getElements,return ) - -::String Fast_obj::getInnerHTML( ){ - HX_STACK_PUSH("Fast::getInnerHTML","/usr/lib/haxe/std/haxe/xml/Fast.hx",160); - HX_STACK_THIS(this); - HX_STACK_LINE(161) - ::StringBuf s = ::StringBuf_obj::__new(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(162) - for(::cpp::FastIterator_obj< ::Xml > *__it = ::cpp::CreateFastIterator< ::Xml >(this->x->iterator()); __it->hasNext(); ){ - ::Xml x = __it->next(); - hx::IndexRef((s->b).mPtr,s->b->__Field(HX_CSTRING("length"),true)) = x->toString(); - } - HX_STACK_LINE(164) - return s->b->__Field(HX_CSTRING("join"),true)(HX_CSTRING("")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Fast_obj,getInnerHTML,return ) - -::String Fast_obj::getInnerData( ){ - HX_STACK_PUSH("Fast::getInnerData","/usr/lib/haxe/std/haxe/xml/Fast.hx",140); - HX_STACK_THIS(this); - HX_STACK_LINE(141) - Dynamic it = this->x->iterator(); HX_STACK_VAR(it,"it"); - HX_STACK_LINE(142) - if ((!(it->__Field(HX_CSTRING("hasNext"),true)()))){ - HX_STACK_LINE(143) - hx::Throw ((this->getName() + HX_CSTRING(" does not have data"))); - } - HX_STACK_LINE(144) - ::Xml v = it->__Field(HX_CSTRING("next"),true)(); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(145) - ::Xml n = it->__Field(HX_CSTRING("next"),true)(); HX_STACK_VAR(n,"n"); - HX_STACK_LINE(146) - if (((n != null()))){ - HX_STACK_LINE(148) - if (((bool((bool((v->nodeType == ::Xml_obj::PCData)) && bool((n->nodeType == ::Xml_obj::CData)))) && bool((::StringTools_obj::trim(v->getNodeValue()) == HX_CSTRING("")))))){ - HX_STACK_LINE(149) - ::Xml n2 = it->__Field(HX_CSTRING("next"),true)(); HX_STACK_VAR(n2,"n2"); - HX_STACK_LINE(150) - if (((bool((n2 == null())) || bool((bool((bool((n2->nodeType == ::Xml_obj::PCData)) && bool((::StringTools_obj::trim(n2->getNodeValue()) == HX_CSTRING(""))))) && bool((it->__Field(HX_CSTRING("next"),true)() == null()))))))){ - HX_STACK_LINE(151) - return n->getNodeValue(); - } - } - HX_STACK_LINE(153) - hx::Throw ((this->getName() + HX_CSTRING(" does not only have data"))); - } - HX_STACK_LINE(155) - if (((bool((v->nodeType != ::Xml_obj::PCData)) && bool((v->nodeType != ::Xml_obj::CData))))){ - HX_STACK_LINE(156) - hx::Throw ((this->getName() + HX_CSTRING(" does not have data"))); - } - HX_STACK_LINE(157) - return v->getNodeValue(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Fast_obj,getInnerData,return ) - -::String Fast_obj::getName( ){ - HX_STACK_PUSH("Fast::getName","/usr/lib/haxe/std/haxe/xml/Fast.hx",136); - HX_STACK_THIS(this); - HX_STACK_LINE(136) - return ( (((this->x->nodeType == ::Xml_obj::Document))) ? ::String(HX_CSTRING("Document")) : ::String(this->x->getNodeName()) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Fast_obj,getName,return ) - - -Fast_obj::Fast_obj() -{ -} - -void Fast_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Fast); - HX_MARK_MEMBER_NAME(elements,"elements"); - HX_MARK_MEMBER_NAME(hasNode,"hasNode"); - HX_MARK_MEMBER_NAME(has,"has"); - HX_MARK_MEMBER_NAME(att,"att"); - HX_MARK_MEMBER_NAME(nodes,"nodes"); - HX_MARK_MEMBER_NAME(node,"node"); - HX_MARK_MEMBER_NAME(innerHTML,"innerHTML"); - HX_MARK_MEMBER_NAME(innerData,"innerData"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_END_CLASS(); -} - -void Fast_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(elements,"elements"); - HX_VISIT_MEMBER_NAME(hasNode,"hasNode"); - HX_VISIT_MEMBER_NAME(has,"has"); - HX_VISIT_MEMBER_NAME(att,"att"); - HX_VISIT_MEMBER_NAME(nodes,"nodes"); - HX_VISIT_MEMBER_NAME(node,"node"); - HX_VISIT_MEMBER_NAME(innerHTML,"innerHTML"); - HX_VISIT_MEMBER_NAME(innerData,"innerData"); - HX_VISIT_MEMBER_NAME(name,"name"); - HX_VISIT_MEMBER_NAME(x,"x"); -} - -Dynamic Fast_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 3: - if (HX_FIELD_EQ(inName,"has") ) { return has; } - if (HX_FIELD_EQ(inName,"att") ) { return att; } - break; - case 4: - if (HX_FIELD_EQ(inName,"node") ) { return node; } - if (HX_FIELD_EQ(inName,"name") ) { return inCallProp ? getName() : name; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nodes") ) { return nodes; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getName") ) { return getName_dyn(); } - if (HX_FIELD_EQ(inName,"hasNode") ) { return hasNode; } - break; - case 8: - if (HX_FIELD_EQ(inName,"elements") ) { return inCallProp ? getElements() : elements; } - break; - case 9: - if (HX_FIELD_EQ(inName,"innerHTML") ) { return inCallProp ? getInnerHTML() : innerHTML; } - if (HX_FIELD_EQ(inName,"innerData") ) { return inCallProp ? getInnerData() : innerData; } - break; - case 11: - if (HX_FIELD_EQ(inName,"getElements") ) { return getElements_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"getInnerHTML") ) { return getInnerHTML_dyn(); } - if (HX_FIELD_EQ(inName,"getInnerData") ) { return getInnerData_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Fast_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< ::Xml >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"has") ) { has=inValue.Cast< ::haxe::xml::_Fast::HasAttribAccess >(); return inValue; } - if (HX_FIELD_EQ(inName,"att") ) { att=inValue.Cast< ::haxe::xml::_Fast::AttribAccess >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"node") ) { node=inValue.Cast< ::haxe::xml::_Fast::NodeAccess >(); return inValue; } - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nodes") ) { nodes=inValue.Cast< ::haxe::xml::_Fast::NodeListAccess >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"hasNode") ) { hasNode=inValue.Cast< ::haxe::xml::_Fast::HasNodeAccess >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"elements") ) { elements=inValue.Cast< Dynamic >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"innerHTML") ) { innerHTML=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"innerData") ) { innerData=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Fast_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("elements")); - outFields->push(HX_CSTRING("hasNode")); - outFields->push(HX_CSTRING("has")); - outFields->push(HX_CSTRING("att")); - outFields->push(HX_CSTRING("nodes")); - outFields->push(HX_CSTRING("node")); - outFields->push(HX_CSTRING("innerHTML")); - outFields->push(HX_CSTRING("innerData")); - outFields->push(HX_CSTRING("name")); - outFields->push(HX_CSTRING("x")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("getElements"), - HX_CSTRING("getInnerHTML"), - HX_CSTRING("getInnerData"), - HX_CSTRING("getName"), - HX_CSTRING("elements"), - HX_CSTRING("hasNode"), - HX_CSTRING("has"), - HX_CSTRING("att"), - HX_CSTRING("nodes"), - HX_CSTRING("node"), - HX_CSTRING("innerHTML"), - HX_CSTRING("innerData"), - HX_CSTRING("name"), - HX_CSTRING("x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Fast_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Fast_obj::__mClass,"__mClass"); -}; - -Class Fast_obj::__mClass; - -void Fast_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.xml.Fast"), hx::TCanCast< Fast_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Fast_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace xml diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/xml/_Fast/AttribAccess.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/xml/_Fast/AttribAccess.cpp deleted file mode 100644 index ec7a752..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/xml/_Fast/AttribAccess.cpp +++ /dev/null @@ -1,145 +0,0 @@ -#include - -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_XmlType -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_AttribAccess -#include -#endif -namespace haxe{ -namespace xml{ -namespace _Fast{ - -Void AttribAccess_obj::__construct(::Xml x) -{ -HX_STACK_PUSH("AttribAccess::new","/usr/lib/haxe/std/haxe/xml/Fast.hx",50); -{ - HX_STACK_LINE(50) - this->__x = x; -} -; - return null(); -} - -AttribAccess_obj::~AttribAccess_obj() { } - -Dynamic AttribAccess_obj::__CreateEmpty() { return new AttribAccess_obj; } -hx::ObjectPtr< AttribAccess_obj > AttribAccess_obj::__new(::Xml x) -{ hx::ObjectPtr< AttribAccess_obj > result = new AttribAccess_obj(); - result->__construct(x); - return result;} - -Dynamic AttribAccess_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< AttribAccess_obj > result = new AttribAccess_obj(); - result->__construct(inArgs[0]); - return result;} - -::String AttribAccess_obj::resolve( ::String name){ - HX_STACK_PUSH("AttribAccess::resolve","/usr/lib/haxe/std/haxe/xml/Fast.hx",54); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(55) - if (((this->__x->nodeType == ::Xml_obj::Document))){ - HX_STACK_LINE(56) - hx::Throw ((HX_CSTRING("Cannot access document attribute ") + name)); - } - HX_STACK_LINE(57) - ::String v = this->__x->get(name); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(58) - if (((v == null()))){ - HX_STACK_LINE(59) - hx::Throw (((this->__x->getNodeName() + HX_CSTRING(" is missing attribute ")) + name)); - } - HX_STACK_LINE(60) - return v; -} - - -HX_DEFINE_DYNAMIC_FUNC1(AttribAccess_obj,resolve,return ) - - -AttribAccess_obj::AttribAccess_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void AttribAccess_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(AttribAccess); - HX_MARK_DYNAMIC; - HX_MARK_MEMBER_NAME(__x,"__x"); - HX_MARK_END_CLASS(); -} - -void AttribAccess_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; - HX_VISIT_MEMBER_NAME(__x,"__x"); -} - -Dynamic AttribAccess_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { return __x; } - break; - case 7: - if (HX_FIELD_EQ(inName,"resolve") ) { return resolve_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic AttribAccess_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { __x=inValue.Cast< ::Xml >(); return inValue; } - } - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void AttribAccess_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__x")); - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("resolve"), - HX_CSTRING("__x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(AttribAccess_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(AttribAccess_obj::__mClass,"__mClass"); -}; - -Class AttribAccess_obj::__mClass; - -void AttribAccess_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.xml._Fast.AttribAccess"), hx::TCanCast< AttribAccess_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void AttribAccess_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/xml/_Fast/HasAttribAccess.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/xml/_Fast/HasAttribAccess.cpp deleted file mode 100644 index d763c45..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/xml/_Fast/HasAttribAccess.cpp +++ /dev/null @@ -1,138 +0,0 @@ -#include - -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_XmlType -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasAttribAccess -#include -#endif -namespace haxe{ -namespace xml{ -namespace _Fast{ - -Void HasAttribAccess_obj::__construct(::Xml x) -{ -HX_STACK_PUSH("HasAttribAccess::new","/usr/lib/haxe/std/haxe/xml/Fast.hx",69); -{ - HX_STACK_LINE(69) - this->__x = x; -} -; - return null(); -} - -HasAttribAccess_obj::~HasAttribAccess_obj() { } - -Dynamic HasAttribAccess_obj::__CreateEmpty() { return new HasAttribAccess_obj; } -hx::ObjectPtr< HasAttribAccess_obj > HasAttribAccess_obj::__new(::Xml x) -{ hx::ObjectPtr< HasAttribAccess_obj > result = new HasAttribAccess_obj(); - result->__construct(x); - return result;} - -Dynamic HasAttribAccess_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< HasAttribAccess_obj > result = new HasAttribAccess_obj(); - result->__construct(inArgs[0]); - return result;} - -bool HasAttribAccess_obj::resolve( ::String name){ - HX_STACK_PUSH("HasAttribAccess::resolve","/usr/lib/haxe/std/haxe/xml/Fast.hx",73); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(74) - if (((this->__x->nodeType == ::Xml_obj::Document))){ - HX_STACK_LINE(75) - hx::Throw ((HX_CSTRING("Cannot access document attribute ") + name)); - } - HX_STACK_LINE(76) - return this->__x->exists(name); -} - - -HX_DEFINE_DYNAMIC_FUNC1(HasAttribAccess_obj,resolve,return ) - - -HasAttribAccess_obj::HasAttribAccess_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void HasAttribAccess_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(HasAttribAccess); - HX_MARK_DYNAMIC; - HX_MARK_MEMBER_NAME(__x,"__x"); - HX_MARK_END_CLASS(); -} - -void HasAttribAccess_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; - HX_VISIT_MEMBER_NAME(__x,"__x"); -} - -Dynamic HasAttribAccess_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { return __x; } - break; - case 7: - if (HX_FIELD_EQ(inName,"resolve") ) { return resolve_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic HasAttribAccess_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { __x=inValue.Cast< ::Xml >(); return inValue; } - } - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void HasAttribAccess_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__x")); - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("resolve"), - HX_CSTRING("__x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(HasAttribAccess_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(HasAttribAccess_obj::__mClass,"__mClass"); -}; - -Class HasAttribAccess_obj::__mClass; - -void HasAttribAccess_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.xml._Fast.HasAttribAccess"), hx::TCanCast< HasAttribAccess_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void HasAttribAccess_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/xml/_Fast/HasNodeAccess.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/xml/_Fast/HasNodeAccess.cpp deleted file mode 100644 index a8de795..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/xml/_Fast/HasNodeAccess.cpp +++ /dev/null @@ -1,130 +0,0 @@ -#include - -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_HasNodeAccess -#include -#endif -namespace haxe{ -namespace xml{ -namespace _Fast{ - -Void HasNodeAccess_obj::__construct(::Xml x) -{ -HX_STACK_PUSH("HasNodeAccess::new","/usr/lib/haxe/std/haxe/xml/Fast.hx",85); -{ - HX_STACK_LINE(85) - this->__x = x; -} -; - return null(); -} - -HasNodeAccess_obj::~HasNodeAccess_obj() { } - -Dynamic HasNodeAccess_obj::__CreateEmpty() { return new HasNodeAccess_obj; } -hx::ObjectPtr< HasNodeAccess_obj > HasNodeAccess_obj::__new(::Xml x) -{ hx::ObjectPtr< HasNodeAccess_obj > result = new HasNodeAccess_obj(); - result->__construct(x); - return result;} - -Dynamic HasNodeAccess_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< HasNodeAccess_obj > result = new HasNodeAccess_obj(); - result->__construct(inArgs[0]); - return result;} - -bool HasNodeAccess_obj::resolve( ::String name){ - HX_STACK_PUSH("HasNodeAccess::resolve","/usr/lib/haxe/std/haxe/xml/Fast.hx",89); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(89) - return this->__x->elementsNamed(name)->__Field(HX_CSTRING("hasNext"),true)(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(HasNodeAccess_obj,resolve,return ) - - -HasNodeAccess_obj::HasNodeAccess_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void HasNodeAccess_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(HasNodeAccess); - HX_MARK_DYNAMIC; - HX_MARK_MEMBER_NAME(__x,"__x"); - HX_MARK_END_CLASS(); -} - -void HasNodeAccess_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; - HX_VISIT_MEMBER_NAME(__x,"__x"); -} - -Dynamic HasNodeAccess_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { return __x; } - break; - case 7: - if (HX_FIELD_EQ(inName,"resolve") ) { return resolve_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic HasNodeAccess_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { __x=inValue.Cast< ::Xml >(); return inValue; } - } - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void HasNodeAccess_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__x")); - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("resolve"), - HX_CSTRING("__x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(HasNodeAccess_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(HasNodeAccess_obj::__mClass,"__mClass"); -}; - -Class HasNodeAccess_obj::__mClass; - -void HasNodeAccess_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.xml._Fast.HasNodeAccess"), hx::TCanCast< HasNodeAccess_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void HasNodeAccess_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/xml/_Fast/NodeAccess.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/xml/_Fast/NodeAccess.cpp deleted file mode 100644 index 1130f41..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/xml/_Fast/NodeAccess.cpp +++ /dev/null @@ -1,145 +0,0 @@ -#include - -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_XmlType -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_NodeAccess -#include -#endif -namespace haxe{ -namespace xml{ -namespace _Fast{ - -Void NodeAccess_obj::__construct(::Xml x) -{ -HX_STACK_PUSH("NodeAccess::new","/usr/lib/haxe/std/haxe/xml/Fast.hx",31); -{ - HX_STACK_LINE(31) - this->__x = x; -} -; - return null(); -} - -NodeAccess_obj::~NodeAccess_obj() { } - -Dynamic NodeAccess_obj::__CreateEmpty() { return new NodeAccess_obj; } -hx::ObjectPtr< NodeAccess_obj > NodeAccess_obj::__new(::Xml x) -{ hx::ObjectPtr< NodeAccess_obj > result = new NodeAccess_obj(); - result->__construct(x); - return result;} - -Dynamic NodeAccess_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< NodeAccess_obj > result = new NodeAccess_obj(); - result->__construct(inArgs[0]); - return result;} - -::haxe::xml::Fast NodeAccess_obj::resolve( ::String name){ - HX_STACK_PUSH("NodeAccess::resolve","/usr/lib/haxe/std/haxe/xml/Fast.hx",35); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(36) - ::Xml x = this->__x->elementsNamed(name)->__Field(HX_CSTRING("next"),true)(); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(37) - if (((x == null()))){ - HX_STACK_LINE(38) - ::String xname = ( (((this->__x->nodeType == ::Xml_obj::Document))) ? ::String(HX_CSTRING("Document")) : ::String(this->__x->getNodeName()) ); HX_STACK_VAR(xname,"xname"); - HX_STACK_LINE(39) - hx::Throw (((xname + HX_CSTRING(" is missing element ")) + name)); - } - HX_STACK_LINE(41) - return ::haxe::xml::Fast_obj::__new(x); -} - - -HX_DEFINE_DYNAMIC_FUNC1(NodeAccess_obj,resolve,return ) - - -NodeAccess_obj::NodeAccess_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void NodeAccess_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(NodeAccess); - HX_MARK_DYNAMIC; - HX_MARK_MEMBER_NAME(__x,"__x"); - HX_MARK_END_CLASS(); -} - -void NodeAccess_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; - HX_VISIT_MEMBER_NAME(__x,"__x"); -} - -Dynamic NodeAccess_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { return __x; } - break; - case 7: - if (HX_FIELD_EQ(inName,"resolve") ) { return resolve_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic NodeAccess_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { __x=inValue.Cast< ::Xml >(); return inValue; } - } - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void NodeAccess_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__x")); - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("resolve"), - HX_CSTRING("__x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(NodeAccess_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(NodeAccess_obj::__mClass,"__mClass"); -}; - -Class NodeAccess_obj::__mClass; - -void NodeAccess_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.xml._Fast.NodeAccess"), hx::TCanCast< NodeAccess_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void NodeAccess_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/xml/_Fast/NodeListAccess.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/xml/_Fast/NodeListAccess.cpp deleted file mode 100644 index 784487a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/haxe/xml/_Fast/NodeListAccess.cpp +++ /dev/null @@ -1,143 +0,0 @@ -#include - -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Xml -#include -#endif -#ifndef INCLUDED_haxe_xml_Fast -#include -#endif -#ifndef INCLUDED_haxe_xml__Fast_NodeListAccess -#include -#endif -namespace haxe{ -namespace xml{ -namespace _Fast{ - -Void NodeListAccess_obj::__construct(::Xml x) -{ -HX_STACK_PUSH("NodeListAccess::new","/usr/lib/haxe/std/haxe/xml/Fast.hx",99); -{ - HX_STACK_LINE(99) - this->__x = x; -} -; - return null(); -} - -NodeListAccess_obj::~NodeListAccess_obj() { } - -Dynamic NodeListAccess_obj::__CreateEmpty() { return new NodeListAccess_obj; } -hx::ObjectPtr< NodeListAccess_obj > NodeListAccess_obj::__new(::Xml x) -{ hx::ObjectPtr< NodeListAccess_obj > result = new NodeListAccess_obj(); - result->__construct(x); - return result;} - -Dynamic NodeListAccess_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< NodeListAccess_obj > result = new NodeListAccess_obj(); - result->__construct(inArgs[0]); - return result;} - -::List NodeListAccess_obj::resolve( ::String name){ - HX_STACK_PUSH("NodeListAccess::resolve","/usr/lib/haxe/std/haxe/xml/Fast.hx",103); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(104) - ::List l = ::List_obj::__new(); HX_STACK_VAR(l,"l"); - HX_STACK_LINE(105) - for(::cpp::FastIterator_obj< ::Xml > *__it = ::cpp::CreateFastIterator< ::Xml >(this->__x->elementsNamed(name)); __it->hasNext(); ){ - ::Xml x = __it->next(); - l->add(::haxe::xml::Fast_obj::__new(x)); - } - HX_STACK_LINE(107) - return l; -} - - -HX_DEFINE_DYNAMIC_FUNC1(NodeListAccess_obj,resolve,return ) - - -NodeListAccess_obj::NodeListAccess_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void NodeListAccess_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(NodeListAccess); - HX_MARK_DYNAMIC; - HX_MARK_MEMBER_NAME(__x,"__x"); - HX_MARK_END_CLASS(); -} - -void NodeListAccess_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; - HX_VISIT_MEMBER_NAME(__x,"__x"); -} - -Dynamic NodeListAccess_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { return __x; } - break; - case 7: - if (HX_FIELD_EQ(inName,"resolve") ) { return resolve_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic NodeListAccess_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__x") ) { __x=inValue.Cast< ::Xml >(); return inValue; } - } - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void NodeListAccess_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__x")); - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("resolve"), - HX_CSTRING("__x"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(NodeListAccess_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(NodeListAccess_obj::__mClass,"__mClass"); -}; - -Class NodeListAccess_obj::__mClass; - -void NodeListAccess_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("haxe.xml._Fast.NodeListAccess"), hx::TCanCast< NodeListAccess_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void NodeListAccess_obj::__boot() -{ -} - -} // end namespace haxe -} // end namespace xml -} // end namespace _Fast diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/Lib.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/Lib.cpp deleted file mode 100644 index 012c999..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/Lib.cpp +++ /dev/null @@ -1,696 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_Timer -#include -#endif -#ifndef INCLUDED_neash_Lib -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_ManagedStage -#include -#endif -#ifndef INCLUDED_neash_display_MovieClip -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_net_URLRequest -#include -#endif -namespace neash{ - -Void Lib_obj::__construct() -{ - return null(); -} - -Lib_obj::~Lib_obj() { } - -Dynamic Lib_obj::__CreateEmpty() { return new Lib_obj; } -hx::ObjectPtr< Lib_obj > Lib_obj::__new() -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -Dynamic Lib_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -int Lib_obj::FULLSCREEN; - -int Lib_obj::BORDERLESS; - -int Lib_obj::RESIZABLE; - -int Lib_obj::HARDWARE; - -int Lib_obj::VSYNC; - -int Lib_obj::HW_AA; - -int Lib_obj::HW_AA_HIRES; - -int Lib_obj::ALLOW_SHADERS; - -::neash::display::MovieClip Lib_obj::current; - -int Lib_obj::initHeight; - -int Lib_obj::initWidth; - -::neash::display::Stage Lib_obj::stage; - -::neash::display::MovieClip Lib_obj::nmeCurrent; - -Dynamic Lib_obj::nmeMainFrame; - -::neash::display::Stage Lib_obj::nmeStage; - -bool Lib_obj::sIsInit; - -::String Lib_obj::company; - -::String Lib_obj::version; - -::String Lib_obj::packageName; - -::String Lib_obj::file; - -Void Lib_obj::close( ){ -{ - HX_STACK_PUSH("Lib::close","neash/Lib.hx",48); - HX_STACK_LINE(49) - Dynamic close = ::neash::Loader_obj::load(HX_CSTRING("nme_close"),(int)0); HX_STACK_VAR(close,"close"); - HX_STACK_LINE(50) - close(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,close,(void)) - -Void Lib_obj::create( Dynamic inOnLoaded,int inWidth,int inHeight,hx::Null< Float > __o_inFrameRate,hx::Null< int > __o_inColour,hx::Null< int > __o_inFlags,::String __o_inTitle,::neash::display::BitmapData inIcon){ -Float inFrameRate = __o_inFrameRate.Default(60.0); -int inColour = __o_inColour.Default(16777215); -int inFlags = __o_inFlags.Default(15); -::String inTitle = __o_inTitle.Default(HX_CSTRING("NME")); - HX_STACK_PUSH("Lib::create","neash/Lib.hx",54); - HX_STACK_ARG(inOnLoaded,"inOnLoaded"); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_ARG(inFrameRate,"inFrameRate"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_ARG(inFlags,"inFlags"); - HX_STACK_ARG(inTitle,"inTitle"); - HX_STACK_ARG(inIcon,"inIcon"); -{ - HX_STACK_LINE(54) - Array< int > inColour1 = Array_obj< int >::__new().Add(inColour); HX_STACK_VAR(inColour1,"inColour1"); - HX_STACK_LINE(54) - Array< Float > inFrameRate1 = Array_obj< Float >::__new().Add(inFrameRate); HX_STACK_VAR(inFrameRate1,"inFrameRate1"); - HX_STACK_LINE(54) - Array< int > inHeight1 = Array_obj< int >::__new().Add(inHeight); HX_STACK_VAR(inHeight1,"inHeight1"); - HX_STACK_LINE(54) - Array< int > inWidth1 = Array_obj< int >::__new().Add(inWidth); HX_STACK_VAR(inWidth1,"inWidth1"); - HX_STACK_LINE(54) - Dynamic inOnLoaded1 = Dynamic( Array_obj::__new().Add(inOnLoaded)); HX_STACK_VAR(inOnLoaded1,"inOnLoaded1"); - HX_STACK_LINE(56) - if ((::neash::Lib_obj::sIsInit)){ - HX_STACK_LINE(57) - hx::Throw (HX_CSTRING("nme.Lib.create called multiple times. This function is automatically called by the project code.")); - } - HX_STACK_LINE(60) - ::neash::Lib_obj::sIsInit = true; - HX_STACK_LINE(61) - ::neash::Lib_obj::initWidth = inWidth1->__get((int)0); - HX_STACK_LINE(62) - ::neash::Lib_obj::initHeight = inHeight1->__get((int)0); - HX_STACK_LINE(63) - Dynamic create_main_frame = ::neash::Loader_obj::load(HX_CSTRING("nme_create_main_frame"),(int)-1); HX_STACK_VAR(create_main_frame,"create_main_frame"); - - HX_BEGIN_LOCAL_FUNC_S5(hx::LocalFunc,_Function_1_1,Dynamic,inOnLoaded1,Array< int >,inHeight1,Array< int >,inColour1,Array< int >,inWidth1,Array< Float >,inFrameRate1) - Void run(Dynamic inFrameHandle){ - HX_STACK_PUSH("*::_Function_1_1","neash/Lib.hx",65); - HX_STACK_ARG(inFrameHandle,"inFrameHandle"); - { - HX_STACK_LINE(67) - ::neash::Lib_obj::nmeMainFrame = inFrameHandle; - HX_STACK_LINE(68) - Dynamic stage_handle = ::neash::Lib_obj::nme_get_frame_stage(::neash::Lib_obj::nmeMainFrame); HX_STACK_VAR(stage_handle,"stage_handle"); - HX_STACK_LINE(69) - ::neash::Lib_obj::nmeStage = ::neash::display::Stage_obj::__new(stage_handle,inWidth1->__get((int)0),inHeight1->__get((int)0)); - HX_STACK_LINE(70) - ::neash::Lib_obj::nmeStage->nmeSetFrameRate(inFrameRate1->__get((int)0)); - HX_STACK_LINE(71) - ::neash::Lib_obj::nmeStage->nmeSetBG(inColour1->__get((int)0)); - HX_STACK_LINE(72) - ::neash::Lib_obj::nmeStage->onQuit = ::neash::Lib_obj::close_dyn(); - HX_STACK_LINE(73) - if (((::neash::Lib_obj::nmeCurrent != null()))){ - HX_STACK_LINE(74) - ::neash::Lib_obj::nmeStage->addChild(::neash::Lib_obj::nmeCurrent); - } - HX_STACK_LINE(75) - inOnLoaded1->__GetItem((int)0)().Cast< Void >(); - } - return null(); - } - HX_END_LOCAL_FUNC1((void)) - - HX_STACK_LINE(64) - create_main_frame( Dynamic(new _Function_1_1(inOnLoaded1,inHeight1,inColour1,inWidth1,inFrameRate1)),inWidth1->__get((int)0),inHeight1->__get((int)0),inFlags,inTitle,( (((inIcon == null()))) ? Dynamic(null()) : Dynamic(inIcon->nmeHandle) )); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC8(Lib_obj,create,(void)) - -::neash::display::ManagedStage Lib_obj::createManagedStage( int inWidth,int inHeight,hx::Null< int > __o_inFlags){ -int inFlags = __o_inFlags.Default(0); - HX_STACK_PUSH("Lib::createManagedStage","neash/Lib.hx",83); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_ARG(inFlags,"inFlags"); -{ - HX_STACK_LINE(84) - ::neash::Lib_obj::initWidth = inWidth; - HX_STACK_LINE(85) - ::neash::Lib_obj::initHeight = inHeight; - HX_STACK_LINE(86) - ::neash::display::ManagedStage result = ::neash::display::ManagedStage_obj::__new(inWidth,inHeight,inFlags); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(87) - ::neash::Lib_obj::nmeStage = result; - HX_STACK_LINE(88) - return result; - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Lib_obj,createManagedStage,return ) - -Void Lib_obj::exit( ){ -{ - HX_STACK_PUSH("Lib::exit","neash/Lib.hx",93); - HX_STACK_LINE(94) - Dynamic quit = ::neash::Lib_obj::nmeGetStage()->onQuit_dyn(); HX_STACK_VAR(quit,"quit"); - HX_STACK_LINE(95) - if (((quit != null()))){ - HX_STACK_LINE(96) - quit().Cast< Void >(); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,exit,(void)) - -Void Lib_obj::forceClose( ){ -{ - HX_STACK_PUSH("Lib::forceClose","neash/Lib.hx",109); - HX_STACK_LINE(111) - Dynamic terminate = ::neash::Loader_obj::load(HX_CSTRING("nme_terminate"),(int)0); HX_STACK_VAR(terminate,"terminate"); - HX_STACK_LINE(112) - terminate(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,forceClose,(void)) - -int Lib_obj::getTimer( ){ - HX_STACK_PUSH("Lib::getTimer","neash/Lib.hx",117); - HX_STACK_LINE(117) - return ::Std_obj::_int((::haxe::Timer_obj::stamp() * 1000.0)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,getTimer,return ) - -Void Lib_obj::getURL( ::neash::net::URLRequest url,::String target){ -{ - HX_STACK_PUSH("Lib::getURL","neash/Lib.hx",124); - HX_STACK_ARG(url,"url"); - HX_STACK_ARG(target,"target"); - HX_STACK_LINE(124) - ::neash::Lib_obj::nme_get_url(url->url); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Lib_obj,getURL,(void)) - -Void Lib_obj::nmeSetCurrentStage( ::neash::display::Stage inStage){ -{ - HX_STACK_PUSH("Lib::nmeSetCurrentStage","neash/Lib.hx",133); - HX_STACK_ARG(inStage,"inStage"); - HX_STACK_LINE(133) - ::neash::Lib_obj::nmeStage = inStage; - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,nmeSetCurrentStage,(void)) - -Void Lib_obj::pause( ){ -{ - HX_STACK_PUSH("Lib::pause","neash/Lib.hx",139); - HX_STACK_LINE(139) - ::neash::Lib_obj::nme_pause_animation(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,pause,(void)) - -Void Lib_obj::postUICallback( Dynamic inCallback){ -{ - HX_STACK_PUSH("Lib::postUICallback","neash/Lib.hx",145); - HX_STACK_ARG(inCallback,"inCallback"); - HX_STACK_LINE(145) - inCallback().Cast< Void >(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,postUICallback,(void)) - -Void Lib_obj::resume( ){ -{ - HX_STACK_PUSH("Lib::resume","neash/Lib.hx",157); - HX_STACK_LINE(157) - ::neash::Lib_obj::nme_resume_animation(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,resume,(void)) - -Void Lib_obj::setIcon( ::String path){ -{ - HX_STACK_PUSH("Lib::setIcon","neash/Lib.hx",170); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(172) - Dynamic set_icon = ::neash::Loader_obj::load(HX_CSTRING("nme_set_icon"),(int)1); HX_STACK_VAR(set_icon,"set_icon"); - HX_STACK_LINE(173) - set_icon(path); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,setIcon,(void)) - -Void Lib_obj::setPackage( ::String inCompany,::String inFile,::String inPack,::String inVersion){ -{ - HX_STACK_PUSH("Lib::setPackage","neash/Lib.hx",177); - HX_STACK_ARG(inCompany,"inCompany"); - HX_STACK_ARG(inFile,"inFile"); - HX_STACK_ARG(inPack,"inPack"); - HX_STACK_ARG(inVersion,"inVersion"); - HX_STACK_LINE(178) - ::neash::Lib_obj::company = inCompany; - HX_STACK_LINE(179) - ::neash::Lib_obj::file = inFile; - HX_STACK_LINE(180) - ::neash::Lib_obj::packageName = inPack; - HX_STACK_LINE(181) - ::neash::Lib_obj::version = inVersion; - HX_STACK_LINE(182) - ::neash::Lib_obj::nme_set_package(inCompany,inFile,inPack,inVersion); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(Lib_obj,setPackage,(void)) - -::neash::display::MovieClip Lib_obj::nmeGetCurrent( ){ - HX_STACK_PUSH("Lib::nmeGetCurrent","neash/Lib.hx",189); - HX_STACK_LINE(190) - if (((::neash::Lib_obj::nmeCurrent == null()))){ - HX_STACK_LINE(192) - ::neash::Lib_obj::nmeCurrent = ::neash::display::MovieClip_obj::__new(); - HX_STACK_LINE(193) - if (((::neash::Lib_obj::nmeStage != null()))){ - HX_STACK_LINE(194) - ::neash::Lib_obj::nmeStage->addChild(::neash::Lib_obj::nmeCurrent); - } - } - HX_STACK_LINE(196) - return ::neash::Lib_obj::nmeCurrent; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetCurrent,return ) - -::neash::display::Stage Lib_obj::nmeGetStage( ){ - HX_STACK_PUSH("Lib::nmeGetStage","neash/Lib.hx",201); - HX_STACK_LINE(202) - if (((::neash::Lib_obj::nmeStage == null()))){ - HX_STACK_LINE(203) - hx::Throw (HX_CSTRING("Error : stage can't be accessed until init is called")); - } - HX_STACK_LINE(204) - return ::neash::Lib_obj::nmeStage; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetStage,return ) - -Dynamic Lib_obj::nme_set_package; - -Dynamic Lib_obj::nme_get_frame_stage; - -Dynamic Lib_obj::nme_get_url; - -Dynamic Lib_obj::nme_pause_animation; - -Dynamic Lib_obj::nme_resume_animation; - - -Lib_obj::Lib_obj() -{ -} - -void Lib_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Lib); - HX_MARK_END_CLASS(); -} - -void Lib_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Lib_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"file") ) { return file; } - if (HX_FIELD_EQ(inName,"exit") ) { return exit_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"VSYNC") ) { return VSYNC; } - if (HX_FIELD_EQ(inName,"HW_AA") ) { return HW_AA; } - if (HX_FIELD_EQ(inName,"stage") ) { return inCallProp ? nmeGetStage() : stage; } - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"pause") ) { return pause_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"create") ) { return create_dyn(); } - if (HX_FIELD_EQ(inName,"getURL") ) { return getURL_dyn(); } - if (HX_FIELD_EQ(inName,"resume") ) { return resume_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"current") ) { return inCallProp ? nmeGetCurrent() : current; } - if (HX_FIELD_EQ(inName,"sIsInit") ) { return sIsInit; } - if (HX_FIELD_EQ(inName,"company") ) { return company; } - if (HX_FIELD_EQ(inName,"version") ) { return version; } - if (HX_FIELD_EQ(inName,"setIcon") ) { return setIcon_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { return HARDWARE; } - if (HX_FIELD_EQ(inName,"nmeStage") ) { return nmeStage; } - if (HX_FIELD_EQ(inName,"getTimer") ) { return getTimer_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"RESIZABLE") ) { return RESIZABLE; } - if (HX_FIELD_EQ(inName,"initWidth") ) { return initWidth; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FULLSCREEN") ) { return FULLSCREEN; } - if (HX_FIELD_EQ(inName,"BORDERLESS") ) { return BORDERLESS; } - if (HX_FIELD_EQ(inName,"initHeight") ) { return initHeight; } - if (HX_FIELD_EQ(inName,"nmeCurrent") ) { return nmeCurrent; } - if (HX_FIELD_EQ(inName,"forceClose") ) { return forceClose_dyn(); } - if (HX_FIELD_EQ(inName,"setPackage") ) { return setPackage_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"HW_AA_HIRES") ) { return HW_AA_HIRES; } - if (HX_FIELD_EQ(inName,"packageName") ) { return packageName; } - if (HX_FIELD_EQ(inName,"nmeGetStage") ) { return nmeGetStage_dyn(); } - if (HX_FIELD_EQ(inName,"nme_get_url") ) { return nme_get_url; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeMainFrame") ) { return nmeMainFrame; } - break; - case 13: - if (HX_FIELD_EQ(inName,"ALLOW_SHADERS") ) { return ALLOW_SHADERS; } - if (HX_FIELD_EQ(inName,"nmeGetCurrent") ) { return nmeGetCurrent_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"postUICallback") ) { return postUICallback_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_set_package") ) { return nme_set_package; } - break; - case 18: - if (HX_FIELD_EQ(inName,"createManagedStage") ) { return createManagedStage_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetCurrentStage") ) { return nmeSetCurrentStage_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_get_frame_stage") ) { return nme_get_frame_stage; } - if (HX_FIELD_EQ(inName,"nme_pause_animation") ) { return nme_pause_animation; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_resume_animation") ) { return nme_resume_animation; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Lib_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"file") ) { file=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"VSYNC") ) { VSYNC=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"HW_AA") ) { HW_AA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"stage") ) { stage=inValue.Cast< ::neash::display::Stage >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"current") ) { current=inValue.Cast< ::neash::display::MovieClip >(); return inValue; } - if (HX_FIELD_EQ(inName,"sIsInit") ) { sIsInit=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"company") ) { company=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"version") ) { version=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { HARDWARE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeStage") ) { nmeStage=inValue.Cast< ::neash::display::Stage >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"RESIZABLE") ) { RESIZABLE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"initWidth") ) { initWidth=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FULLSCREEN") ) { FULLSCREEN=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BORDERLESS") ) { BORDERLESS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"initHeight") ) { initHeight=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeCurrent") ) { nmeCurrent=inValue.Cast< ::neash::display::MovieClip >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"HW_AA_HIRES") ) { HW_AA_HIRES=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"packageName") ) { packageName=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_get_url") ) { nme_get_url=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeMainFrame") ) { nmeMainFrame=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"ALLOW_SHADERS") ) { ALLOW_SHADERS=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_set_package") ) { nme_set_package=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_get_frame_stage") ) { nme_get_frame_stage=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_pause_animation") ) { nme_pause_animation=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_resume_animation") ) { nme_resume_animation=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Lib_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("FULLSCREEN"), - HX_CSTRING("BORDERLESS"), - HX_CSTRING("RESIZABLE"), - HX_CSTRING("HARDWARE"), - HX_CSTRING("VSYNC"), - HX_CSTRING("HW_AA"), - HX_CSTRING("HW_AA_HIRES"), - HX_CSTRING("ALLOW_SHADERS"), - HX_CSTRING("current"), - HX_CSTRING("initHeight"), - HX_CSTRING("initWidth"), - HX_CSTRING("stage"), - HX_CSTRING("nmeCurrent"), - HX_CSTRING("nmeMainFrame"), - HX_CSTRING("nmeStage"), - HX_CSTRING("sIsInit"), - HX_CSTRING("company"), - HX_CSTRING("version"), - HX_CSTRING("packageName"), - HX_CSTRING("file"), - HX_CSTRING("close"), - HX_CSTRING("create"), - HX_CSTRING("createManagedStage"), - HX_CSTRING("exit"), - HX_CSTRING("forceClose"), - HX_CSTRING("getTimer"), - HX_CSTRING("getURL"), - HX_CSTRING("nmeSetCurrentStage"), - HX_CSTRING("pause"), - HX_CSTRING("postUICallback"), - HX_CSTRING("resume"), - HX_CSTRING("setIcon"), - HX_CSTRING("setPackage"), - HX_CSTRING("nmeGetCurrent"), - HX_CSTRING("nmeGetStage"), - HX_CSTRING("nme_set_package"), - HX_CSTRING("nme_get_frame_stage"), - HX_CSTRING("nme_get_url"), - HX_CSTRING("nme_pause_animation"), - HX_CSTRING("nme_resume_animation"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Lib_obj::FULLSCREEN,"FULLSCREEN"); - HX_MARK_MEMBER_NAME(Lib_obj::BORDERLESS,"BORDERLESS"); - HX_MARK_MEMBER_NAME(Lib_obj::RESIZABLE,"RESIZABLE"); - HX_MARK_MEMBER_NAME(Lib_obj::HARDWARE,"HARDWARE"); - HX_MARK_MEMBER_NAME(Lib_obj::VSYNC,"VSYNC"); - HX_MARK_MEMBER_NAME(Lib_obj::HW_AA,"HW_AA"); - HX_MARK_MEMBER_NAME(Lib_obj::HW_AA_HIRES,"HW_AA_HIRES"); - HX_MARK_MEMBER_NAME(Lib_obj::ALLOW_SHADERS,"ALLOW_SHADERS"); - HX_MARK_MEMBER_NAME(Lib_obj::current,"current"); - HX_MARK_MEMBER_NAME(Lib_obj::initHeight,"initHeight"); - HX_MARK_MEMBER_NAME(Lib_obj::initWidth,"initWidth"); - HX_MARK_MEMBER_NAME(Lib_obj::stage,"stage"); - HX_MARK_MEMBER_NAME(Lib_obj::nmeCurrent,"nmeCurrent"); - HX_MARK_MEMBER_NAME(Lib_obj::nmeMainFrame,"nmeMainFrame"); - HX_MARK_MEMBER_NAME(Lib_obj::nmeStage,"nmeStage"); - HX_MARK_MEMBER_NAME(Lib_obj::sIsInit,"sIsInit"); - HX_MARK_MEMBER_NAME(Lib_obj::company,"company"); - HX_MARK_MEMBER_NAME(Lib_obj::version,"version"); - HX_MARK_MEMBER_NAME(Lib_obj::packageName,"packageName"); - HX_MARK_MEMBER_NAME(Lib_obj::file,"file"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_set_package,"nme_set_package"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_get_frame_stage,"nme_get_frame_stage"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_get_url,"nme_get_url"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_pause_animation,"nme_pause_animation"); - HX_MARK_MEMBER_NAME(Lib_obj::nme_resume_animation,"nme_resume_animation"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Lib_obj::FULLSCREEN,"FULLSCREEN"); - HX_VISIT_MEMBER_NAME(Lib_obj::BORDERLESS,"BORDERLESS"); - HX_VISIT_MEMBER_NAME(Lib_obj::RESIZABLE,"RESIZABLE"); - HX_VISIT_MEMBER_NAME(Lib_obj::HARDWARE,"HARDWARE"); - HX_VISIT_MEMBER_NAME(Lib_obj::VSYNC,"VSYNC"); - HX_VISIT_MEMBER_NAME(Lib_obj::HW_AA,"HW_AA"); - HX_VISIT_MEMBER_NAME(Lib_obj::HW_AA_HIRES,"HW_AA_HIRES"); - HX_VISIT_MEMBER_NAME(Lib_obj::ALLOW_SHADERS,"ALLOW_SHADERS"); - HX_VISIT_MEMBER_NAME(Lib_obj::current,"current"); - HX_VISIT_MEMBER_NAME(Lib_obj::initHeight,"initHeight"); - HX_VISIT_MEMBER_NAME(Lib_obj::initWidth,"initWidth"); - HX_VISIT_MEMBER_NAME(Lib_obj::stage,"stage"); - HX_VISIT_MEMBER_NAME(Lib_obj::nmeCurrent,"nmeCurrent"); - HX_VISIT_MEMBER_NAME(Lib_obj::nmeMainFrame,"nmeMainFrame"); - HX_VISIT_MEMBER_NAME(Lib_obj::nmeStage,"nmeStage"); - HX_VISIT_MEMBER_NAME(Lib_obj::sIsInit,"sIsInit"); - HX_VISIT_MEMBER_NAME(Lib_obj::company,"company"); - HX_VISIT_MEMBER_NAME(Lib_obj::version,"version"); - HX_VISIT_MEMBER_NAME(Lib_obj::packageName,"packageName"); - HX_VISIT_MEMBER_NAME(Lib_obj::file,"file"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_set_package,"nme_set_package"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_get_frame_stage,"nme_get_frame_stage"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_get_url,"nme_get_url"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_pause_animation,"nme_pause_animation"); - HX_VISIT_MEMBER_NAME(Lib_obj::nme_resume_animation,"nme_resume_animation"); -}; - -Class Lib_obj::__mClass; - -void Lib_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.Lib"), hx::TCanCast< Lib_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Lib_obj::__boot() -{ - FULLSCREEN= (int)1; - BORDERLESS= (int)2; - RESIZABLE= (int)4; - HARDWARE= (int)8; - VSYNC= (int)16; - HW_AA= (int)32; - HW_AA_HIRES= (int)96; - ALLOW_SHADERS= (int)128; - nmeCurrent= null(); - nmeMainFrame= null(); - nmeStage= null(); - sIsInit= false; - nme_set_package= ::neash::Loader_obj::load(HX_CSTRING("nme_set_package"),(int)4); - nme_get_frame_stage= ::neash::Loader_obj::load(HX_CSTRING("nme_get_frame_stage"),(int)1); - nme_get_url= ::neash::Loader_obj::load(HX_CSTRING("nme_get_url"),(int)1); - nme_pause_animation= ::neash::Loader_obj::load(HX_CSTRING("nme_pause_animation"),(int)0); - nme_resume_animation= ::neash::Loader_obj::load(HX_CSTRING("nme_resume_animation"),(int)0); -} - -} // end namespace neash diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/Loader.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/Loader.cpp deleted file mode 100644 index a6f4f46..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/Loader.cpp +++ /dev/null @@ -1,123 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -namespace neash{ - -Void Loader_obj::__construct() -{ - return null(); -} - -Loader_obj::~Loader_obj() { } - -Dynamic Loader_obj::__CreateEmpty() { return new Loader_obj; } -hx::ObjectPtr< Loader_obj > Loader_obj::__new() -{ hx::ObjectPtr< Loader_obj > result = new Loader_obj(); - result->__construct(); - return result;} - -Dynamic Loader_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Loader_obj > result = new Loader_obj(); - result->__construct(); - return result;} - -bool Loader_obj::moduleInit; - -::String Loader_obj::moduleName; - -Dynamic Loader_obj::load( ::String func,int args){ - HX_STACK_PUSH("Loader::load","neash/Loader.hx",23); - HX_STACK_ARG(func,"func"); - HX_STACK_ARG(args,"args"); - HX_STACK_LINE(23) - return ::cpp::Lib_obj::load(HX_CSTRING("nme"),func,args); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Loader_obj,load,return ) - - -Loader_obj::Loader_obj() -{ -} - -void Loader_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Loader); - HX_MARK_END_CLASS(); -} - -void Loader_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Loader_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"moduleInit") ) { return moduleInit; } - if (HX_FIELD_EQ(inName,"moduleName") ) { return moduleName; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Loader_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"moduleInit") ) { moduleInit=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"moduleName") ) { moduleName=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Loader_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("moduleInit"), - HX_CSTRING("moduleName"), - HX_CSTRING("load"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Loader_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Loader_obj::moduleInit,"moduleInit"); - HX_MARK_MEMBER_NAME(Loader_obj::moduleName,"moduleName"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Loader_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Loader_obj::moduleInit,"moduleInit"); - HX_VISIT_MEMBER_NAME(Loader_obj::moduleName,"moduleName"); -}; - -Class Loader_obj::__mClass; - -void Loader_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.Loader"), hx::TCanCast< Loader_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Loader_obj::__boot() -{ - moduleInit= false; - moduleName= HX_CSTRING(""); -} - -} // end namespace neash diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/Bitmap.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/Bitmap.cpp deleted file mode 100644 index 35b7e54..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/Bitmap.cpp +++ /dev/null @@ -1,229 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_Bitmap -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_PixelSnapping -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace neash{ -namespace display{ - -Void Bitmap_obj::__construct(::neash::display::BitmapData bitmapData,::neash::display::PixelSnapping pixelSnapping,hx::Null< bool > __o_smoothing) -{ -HX_STACK_PUSH("Bitmap::new","neash/display/Bitmap.hx",28); -bool smoothing = __o_smoothing.Default(false); -{ - HX_STACK_LINE(29) - super::__construct(::neash::display::DisplayObject_obj::nme_create_display_object(),HX_CSTRING("Bitmap")); - HX_STACK_LINE(31) - this->nmeSetPixelSnapping(( (((pixelSnapping == null()))) ? ::neash::display::PixelSnapping(::neash::display::PixelSnapping_obj::AUTO_dyn()) : ::neash::display::PixelSnapping(pixelSnapping) )); - HX_STACK_LINE(32) - this->nmeSetSmoothing(smoothing); - HX_STACK_LINE(34) - if (((bitmapData != null()))){ - HX_STACK_LINE(35) - this->nmeSetBitmapData(bitmapData); - } - else{ - HX_STACK_LINE(38) - if (((this->bitmapData != null()))){ - HX_STACK_LINE(39) - this->nmeRebuild(); - } - } -} -; - return null(); -} - -Bitmap_obj::~Bitmap_obj() { } - -Dynamic Bitmap_obj::__CreateEmpty() { return new Bitmap_obj; } -hx::ObjectPtr< Bitmap_obj > Bitmap_obj::__new(::neash::display::BitmapData bitmapData,::neash::display::PixelSnapping pixelSnapping,hx::Null< bool > __o_smoothing) -{ hx::ObjectPtr< Bitmap_obj > result = new Bitmap_obj(); - result->__construct(bitmapData,pixelSnapping,__o_smoothing); - return result;} - -Dynamic Bitmap_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Bitmap_obj > result = new Bitmap_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -bool Bitmap_obj::nmeSetSmoothing( bool inSmooth){ - HX_STACK_PUSH("Bitmap::nmeSetSmoothing","neash/display/Bitmap.hx",77); - HX_STACK_THIS(this); - HX_STACK_ARG(inSmooth,"inSmooth"); - HX_STACK_LINE(78) - this->smoothing = inSmooth; - HX_STACK_LINE(79) - this->nmeRebuild(); - HX_STACK_LINE(81) - return inSmooth; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Bitmap_obj,nmeSetSmoothing,return ) - -::neash::display::BitmapData Bitmap_obj::nmeSetBitmapData( ::neash::display::BitmapData inBitmapData){ - HX_STACK_PUSH("Bitmap::nmeSetBitmapData","neash/display/Bitmap.hx",68); - HX_STACK_THIS(this); - HX_STACK_ARG(inBitmapData,"inBitmapData"); - HX_STACK_LINE(69) - this->bitmapData = inBitmapData; - HX_STACK_LINE(70) - this->nmeRebuild(); - HX_STACK_LINE(72) - return inBitmapData; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Bitmap_obj,nmeSetBitmapData,return ) - -Void Bitmap_obj::nmeRebuild( ){ -{ - HX_STACK_PUSH("Bitmap::nmeRebuild","neash/display/Bitmap.hx",46); - HX_STACK_THIS(this); - HX_STACK_LINE(46) - if (((bool((this->nmeHandle != null())) && bool((this->bitmapData != null()))))){ - HX_STACK_LINE(49) - ::neash::display::Graphics gfx = this->nmeGetGraphics(); HX_STACK_VAR(gfx,"gfx"); - HX_STACK_LINE(50) - gfx->clear(); - HX_STACK_LINE(52) - if (((this->bitmapData != null()))){ - HX_STACK_LINE(54) - gfx->beginBitmapFill(this->bitmapData,null(),false,this->smoothing); - HX_STACK_LINE(55) - gfx->drawRect((int)0,(int)0,this->bitmapData->nmeGetWidth(),this->bitmapData->nmeGetHeight()); - HX_STACK_LINE(56) - gfx->endFill(); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Bitmap_obj,nmeRebuild,(void)) - - -Bitmap_obj::Bitmap_obj() -{ -} - -void Bitmap_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Bitmap); - HX_MARK_MEMBER_NAME(mGraphics,"mGraphics"); - HX_MARK_MEMBER_NAME(smoothing,"smoothing"); - HX_MARK_MEMBER_NAME(bitmapData,"bitmapData"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Bitmap_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mGraphics,"mGraphics"); - HX_VISIT_MEMBER_NAME(smoothing,"smoothing"); - HX_VISIT_MEMBER_NAME(bitmapData,"bitmapData"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Bitmap_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"mGraphics") ) { return mGraphics; } - if (HX_FIELD_EQ(inName,"smoothing") ) { return smoothing; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeRebuild") ) { return nmeRebuild_dyn(); } - if (HX_FIELD_EQ(inName,"bitmapData") ) { return bitmapData; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeSetSmoothing") ) { return nmeSetSmoothing_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeSetBitmapData") ) { return nmeSetBitmapData_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Bitmap_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"mGraphics") ) { mGraphics=inValue.Cast< ::neash::display::Graphics >(); return inValue; } - if (HX_FIELD_EQ(inName,"smoothing") ) { if (inCallProp) return nmeSetSmoothing(inValue);smoothing=inValue.Cast< bool >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"bitmapData") ) { if (inCallProp) return nmeSetBitmapData(inValue);bitmapData=inValue.Cast< ::neash::display::BitmapData >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Bitmap_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mGraphics")); - outFields->push(HX_CSTRING("smoothing")); - outFields->push(HX_CSTRING("bitmapData")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetSmoothing"), - HX_CSTRING("nmeSetBitmapData"), - HX_CSTRING("nmeRebuild"), - HX_CSTRING("mGraphics"), - HX_CSTRING("smoothing"), - HX_CSTRING("bitmapData"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Bitmap_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Bitmap_obj::__mClass,"__mClass"); -}; - -Class Bitmap_obj::__mClass; - -void Bitmap_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.Bitmap"), hx::TCanCast< Bitmap_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Bitmap_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/BitmapData.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/BitmapData.cpp deleted file mode 100644 index ef24f96..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/BitmapData.cpp +++ /dev/null @@ -1,1491 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_OptimizedPerlin -#include -#endif -#ifndef INCLUDED_neash_filters_BitmapFilter -#include -#endif -#ifndef INCLUDED_neash_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace display{ - -Void BitmapData_obj::__construct(int inWidth,int inHeight,hx::Null< bool > __o_inTransparent,Dynamic inFillRGBA) -{ -HX_STACK_PUSH("BitmapData::new","neash/display/BitmapData.hx",64); -bool inTransparent = __o_inTransparent.Default(true); -{ - HX_STACK_LINE(65) - int fill_col; HX_STACK_VAR(fill_col,"fill_col"); - HX_STACK_LINE(66) - int fill_alpha; HX_STACK_VAR(fill_alpha,"fill_alpha"); - HX_STACK_LINE(68) - if (((inFillRGBA == null()))){ - HX_STACK_LINE(70) - fill_col = (int)16777215; - HX_STACK_LINE(71) - fill_alpha = (int)255; - } - else{ - struct _Function_2_1{ - inline static int Block( Dynamic &inFillRGBA){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",75); - { - HX_STACK_LINE(75) - int v = inFillRGBA; HX_STACK_VAR(v,"v"); - HX_STACK_LINE(75) - return (int(v) & int((int)16777215)); - } - return null(); - } - }; - HX_STACK_LINE(75) - fill_col = _Function_2_1::Block(inFillRGBA); - struct _Function_2_2{ - inline static int Block( Dynamic &inFillRGBA){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",76); - { - HX_STACK_LINE(76) - int v = inFillRGBA; HX_STACK_VAR(v,"v"); - HX_STACK_LINE(76) - return hx::UShr(v,(int)24); - } - return null(); - } - }; - HX_STACK_LINE(76) - fill_alpha = _Function_2_2::Block(inFillRGBA); - } - HX_STACK_LINE(79) - if (((bool((inWidth < (int)1)) || bool((inHeight < (int)1))))){ - HX_STACK_LINE(80) - this->nmeHandle = null(); - } - else{ - HX_STACK_LINE(85) - int flags = ::neash::display::BitmapData_obj::HARDWARE; HX_STACK_VAR(flags,"flags"); - HX_STACK_LINE(87) - if ((inTransparent)){ - HX_STACK_LINE(88) - hx::OrEq(flags,::neash::display::BitmapData_obj::TRANSPARENT); - } - HX_STACK_LINE(90) - this->nmeHandle = ::neash::display::BitmapData_obj::nme_bitmap_data_create(inWidth,inHeight,flags,fill_col,fill_alpha); - } -} -; - return null(); -} - -BitmapData_obj::~BitmapData_obj() { } - -Dynamic BitmapData_obj::__CreateEmpty() { return new BitmapData_obj; } -hx::ObjectPtr< BitmapData_obj > BitmapData_obj::__new(int inWidth,int inHeight,hx::Null< bool > __o_inTransparent,Dynamic inFillRGBA) -{ hx::ObjectPtr< BitmapData_obj > result = new BitmapData_obj(); - result->__construct(inWidth,inHeight,__o_inTransparent,inFillRGBA); - return result;} - -Dynamic BitmapData_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BitmapData_obj > result = new BitmapData_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -hx::Object *BitmapData_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::neash::display::IBitmapDrawable_obj)) return operator ::neash::display::IBitmapDrawable_obj *(); - return super::__ToInterface(inType); -} - -bool BitmapData_obj::nmeGetTransparent( ){ - HX_STACK_PUSH("BitmapData::nmeGetTransparent","neash/display/BitmapData.hx",459); - HX_STACK_THIS(this); - HX_STACK_LINE(459) - return ::neash::display::BitmapData_obj::nme_bitmap_data_get_transparent(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,nmeGetTransparent,return ) - -int BitmapData_obj::nmeGetHeight( ){ - HX_STACK_PUSH("BitmapData::nmeGetHeight","neash/display/BitmapData.hx",458); - HX_STACK_THIS(this); - HX_STACK_LINE(458) - return ::neash::display::BitmapData_obj::nme_bitmap_data_height(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,nmeGetHeight,return ) - -int BitmapData_obj::nmeGetWidth( ){ - HX_STACK_PUSH("BitmapData::nmeGetWidth","neash/display/BitmapData.hx",457); - HX_STACK_THIS(this); - HX_STACK_LINE(457) - return ::neash::display::BitmapData_obj::nme_bitmap_data_width(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,nmeGetWidth,return ) - -::neash::geom::Rectangle BitmapData_obj::nmeGetRect( ){ - HX_STACK_PUSH("BitmapData::nmeGetRect","neash/display/BitmapData.hx",456); - HX_STACK_THIS(this); - HX_STACK_LINE(456) - return ::neash::geom::Rectangle_obj::__new((int)0,(int)0,this->nmeGetWidth(),this->nmeGetHeight()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,nmeGetRect,return ) - -Void BitmapData_obj::noise( int randomSeed,hx::Null< int > __o_low,hx::Null< int > __o_high,hx::Null< int > __o_channelOptions,hx::Null< bool > __o_grayScale){ -int low = __o_low.Default(0); -int high = __o_high.Default(255); -int channelOptions = __o_channelOptions.Default(7); -bool grayScale = __o_grayScale.Default(false); - HX_STACK_PUSH("BitmapData::noise","neash/display/BitmapData.hx",448); - HX_STACK_THIS(this); - HX_STACK_ARG(randomSeed,"randomSeed"); - HX_STACK_ARG(low,"low"); - HX_STACK_ARG(high,"high"); - HX_STACK_ARG(channelOptions,"channelOptions"); - HX_STACK_ARG(grayScale,"grayScale"); -{ - HX_STACK_LINE(448) - ::neash::display::BitmapData_obj::nme_bitmap_data_noise(this->nmeHandle,randomSeed,low,high,channelOptions,grayScale); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(BitmapData_obj,noise,(void)) - -Void BitmapData_obj::setFormat( int format){ -{ - HX_STACK_PUSH("BitmapData::setFormat","neash/display/BitmapData.hx",444); - HX_STACK_THIS(this); - HX_STACK_ARG(format,"format"); - HX_STACK_LINE(444) - ::neash::display::BitmapData_obj::nme_bitmap_data_set_format(this->nmeHandle,format); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,setFormat,(void)) - -Void BitmapData_obj::unlock( ::neash::geom::Rectangle changeRect){ -{ - HX_STACK_PUSH("BitmapData::unlock","neash/display/BitmapData.hx",439); - HX_STACK_THIS(this); - HX_STACK_ARG(changeRect,"changeRect"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,unlock,(void)) - -Void BitmapData_obj::setVector( ::neash::geom::Rectangle rect,Array< int > inPixels){ -{ - HX_STACK_PUSH("BitmapData::setVector","neash/display/BitmapData.hx",422); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(inPixels,"inPixels"); - HX_STACK_LINE(423) - int count = ::Std_obj::_int((rect->width * rect->height)); HX_STACK_VAR(count,"count"); - HX_STACK_LINE(424) - if (((inPixels->length < count))){ - HX_STACK_LINE(425) - return null(); - } - HX_STACK_LINE(428) - ::neash::display::BitmapData_obj::nme_bitmap_data_set_array(this->nmeHandle,rect,inPixels); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,setVector,(void)) - -Void BitmapData_obj::setPixels( ::neash::geom::Rectangle rect,::neash::utils::ByteArray pixels){ -{ - HX_STACK_PUSH("BitmapData::setPixels","neash/display/BitmapData.hx",413); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(pixels,"pixels"); - HX_STACK_LINE(414) - int size = ::Std_obj::_int(((rect->width * rect->height) * (int)4)); HX_STACK_VAR(size,"size"); - HX_STACK_LINE(415) - pixels->checkData(::Std_obj::_int(size)); - HX_STACK_LINE(416) - ::neash::display::BitmapData_obj::nme_bitmap_data_set_bytes(this->nmeHandle,rect,pixels,pixels->position); - HX_STACK_LINE(417) - hx::AddEq(pixels->position,size); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,setPixels,(void)) - -Void BitmapData_obj::setPixel32( int inX,int inY,int inColour){ -{ - HX_STACK_PUSH("BitmapData::setPixel32","neash/display/BitmapData.hx",403); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_LINE(403) - ::neash::display::BitmapData_obj::nme_bitmap_data_set_pixel32(this->nmeHandle,inX,inY,inColour); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(BitmapData_obj,setPixel32,(void)) - -Void BitmapData_obj::setPixel( int inX,int inY,int inColour){ -{ - HX_STACK_PUSH("BitmapData::setPixel","neash/display/BitmapData.hx",397); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_LINE(397) - ::neash::display::BitmapData_obj::nme_bitmap_data_set_pixel(this->nmeHandle,inX,inY,inColour); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(BitmapData_obj,setPixel,(void)) - -Void BitmapData_obj::setFlags( int inFlags){ -{ - HX_STACK_PUSH("BitmapData::setFlags","neash/display/BitmapData.hx",390); - HX_STACK_THIS(this); - HX_STACK_ARG(inFlags,"inFlags"); - HX_STACK_LINE(390) - ::neash::display::BitmapData_obj::nme_bitmap_data_set_flags(this->nmeHandle,inFlags); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,setFlags,(void)) - -Void BitmapData_obj::scroll( int inDX,int inDY){ -{ - HX_STACK_PUSH("BitmapData::scroll","neash/display/BitmapData.hx",384); - HX_STACK_THIS(this); - HX_STACK_ARG(inDX,"inDX"); - HX_STACK_ARG(inDY,"inDY"); - HX_STACK_LINE(384) - ::neash::display::BitmapData_obj::nme_bitmap_data_scroll(this->nmeHandle,inDX,inDY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,scroll,(void)) - -Void BitmapData_obj::perlinNoise( Float baseX,Float baseY,int numOctaves,int randomSeed,bool stitch,bool fractalNoise,hx::Null< int > __o_channelOptions,hx::Null< bool > __o_grayScale,Array< ::neash::geom::Point > offsets){ -int channelOptions = __o_channelOptions.Default(7); -bool grayScale = __o_grayScale.Default(false); - HX_STACK_PUSH("BitmapData::perlinNoise","neash/display/BitmapData.hx",377); - HX_STACK_THIS(this); - HX_STACK_ARG(baseX,"baseX"); - HX_STACK_ARG(baseY,"baseY"); - HX_STACK_ARG(numOctaves,"numOctaves"); - HX_STACK_ARG(randomSeed,"randomSeed"); - HX_STACK_ARG(stitch,"stitch"); - HX_STACK_ARG(fractalNoise,"fractalNoise"); - HX_STACK_ARG(channelOptions,"channelOptions"); - HX_STACK_ARG(grayScale,"grayScale"); - HX_STACK_ARG(offsets,"offsets"); -{ - HX_STACK_LINE(378) - ::neash::display::OptimizedPerlin perlin = ::neash::display::OptimizedPerlin_obj::__new(randomSeed,numOctaves,null()); HX_STACK_VAR(perlin,"perlin"); - HX_STACK_LINE(379) - perlin->fill(hx::ObjectPtr(this),baseX,baseY,(int)0,null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC9(BitmapData_obj,perlinNoise,(void)) - -Void BitmapData_obj::nmeDrawToSurface( Dynamic inSurface,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,bool smoothing){ -{ - HX_STACK_PUSH("BitmapData::nmeDrawToSurface","neash/display/BitmapData.hx",370); - HX_STACK_THIS(this); - HX_STACK_ARG(inSurface,"inSurface"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(colorTransform,"colorTransform"); - HX_STACK_ARG(blendMode,"blendMode"); - HX_STACK_ARG(clipRect,"clipRect"); - HX_STACK_ARG(smoothing,"smoothing"); - HX_STACK_LINE(370) - ::neash::display::BitmapData_obj::nme_render_surface_to_surface(inSurface,this->nmeHandle,matrix,colorTransform,blendMode,clipRect,smoothing); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(BitmapData_obj,nmeDrawToSurface,(void)) - -Void BitmapData_obj::lock( ){ -{ - HX_STACK_PUSH("BitmapData::lock","neash/display/BitmapData.hx",364); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,lock,(void)) - -Array< int > BitmapData_obj::getVector( ::neash::geom::Rectangle rect){ - HX_STACK_PUSH("BitmapData::getVector","neash/display/BitmapData.hx",297); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_LINE(298) - int pixels = ::Std_obj::_int((rect->width * rect->height)); HX_STACK_VAR(pixels,"pixels"); - HX_STACK_LINE(300) - if (((pixels < (int)1))){ - HX_STACK_LINE(301) - return Array_obj< int >::__new(); - } - HX_STACK_LINE(303) - Array< int > result = Array_obj< int >::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(304) - result[(pixels - (int)1)] = (int)0; - HX_STACK_LINE(307) - ::neash::display::BitmapData_obj::nme_bitmap_data_get_array(this->nmeHandle,rect,result); - HX_STACK_LINE(315) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,getVector,return ) - -::neash::utils::ByteArray BitmapData_obj::getPixels( ::neash::geom::Rectangle rect){ - HX_STACK_PUSH("BitmapData::getPixels","neash/display/BitmapData.hx",286); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_LINE(287) - ::neash::utils::ByteArray result = ::neash::display::BitmapData_obj::nme_bitmap_data_get_pixels(this->nmeHandle,rect); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(289) - if (((result != null()))){ - HX_STACK_LINE(290) - result->position = result->length; - } - HX_STACK_LINE(292) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,getPixels,return ) - -int BitmapData_obj::getPixel32( int x,int y){ - HX_STACK_PUSH("BitmapData::getPixel32","neash/display/BitmapData.hx",276); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_LINE(276) - return ::neash::display::BitmapData_obj::nme_bitmap_data_get_pixel32(this->nmeHandle,x,y); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,getPixel32,return ) - -int BitmapData_obj::getPixel( int x,int y){ - HX_STACK_PUSH("BitmapData::getPixel","neash/display/BitmapData.hx",270); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_LINE(270) - return ::neash::display::BitmapData_obj::nme_bitmap_data_get_pixel(this->nmeHandle,x,y); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,getPixel,return ) - -::neash::geom::Rectangle BitmapData_obj::getColorBoundsRect( int mask,int color,hx::Null< bool > __o_findColor){ -bool findColor = __o_findColor.Default(true); - HX_STACK_PUSH("BitmapData::getColorBoundsRect","neash/display/BitmapData.hx",262); - HX_STACK_THIS(this); - HX_STACK_ARG(mask,"mask"); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(findColor,"findColor"); -{ - HX_STACK_LINE(263) - ::neash::geom::Rectangle result = ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(264) - ::neash::display::BitmapData_obj::nme_bitmap_data_get_color_bounds_rect(this->nmeHandle,mask,color,findColor,result); - HX_STACK_LINE(265) - return result; - } -} - - -HX_DEFINE_DYNAMIC_FUNC3(BitmapData_obj,getColorBoundsRect,return ) - -::neash::geom::Rectangle BitmapData_obj::generateFilterRect( ::neash::geom::Rectangle sourceRect,::neash::filters::BitmapFilter filter){ - HX_STACK_PUSH("BitmapData::generateFilterRect","neash/display/BitmapData.hx",254); - HX_STACK_THIS(this); - HX_STACK_ARG(sourceRect,"sourceRect"); - HX_STACK_ARG(filter,"filter"); - HX_STACK_LINE(255) - ::neash::geom::Rectangle result = ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(256) - ::neash::display::BitmapData_obj::nme_bitmap_data_generate_filter_rect(sourceRect,filter,result); - HX_STACK_LINE(257) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,generateFilterRect,return ) - -Void BitmapData_obj::fillRectEx( ::neash::geom::Rectangle rect,int inColour,hx::Null< int > __o_inAlpha){ -int inAlpha = __o_inAlpha.Default(255); - HX_STACK_PUSH("BitmapData::fillRectEx","neash/display/BitmapData.hx",248); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_ARG(inAlpha,"inAlpha"); -{ - HX_STACK_LINE(248) - ::neash::display::BitmapData_obj::nme_bitmap_data_fill(this->nmeHandle,rect,inColour,inAlpha); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(BitmapData_obj,fillRectEx,(void)) - -Void BitmapData_obj::fillRect( ::neash::geom::Rectangle rect,int inColour){ -{ - HX_STACK_PUSH("BitmapData::fillRect","neash/display/BitmapData.hx",240); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(inColour,"inColour"); - HX_STACK_LINE(241) - int a = hx::UShr(inColour,(int)24); HX_STACK_VAR(a,"a"); - HX_STACK_LINE(242) - int c = (int(inColour) & int((int)16777215)); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(243) - ::neash::display::BitmapData_obj::nme_bitmap_data_fill(this->nmeHandle,rect,c,a); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,fillRect,(void)) - -::neash::utils::ByteArray BitmapData_obj::encode( ::String inFormat,hx::Null< Float > __o_inQuality){ -Float inQuality = __o_inQuality.Default(0.9); - HX_STACK_PUSH("BitmapData::encode","neash/display/BitmapData.hx",214); - HX_STACK_THIS(this); - HX_STACK_ARG(inFormat,"inFormat"); - HX_STACK_ARG(inQuality,"inQuality"); -{ - HX_STACK_LINE(214) - return ::neash::display::BitmapData_obj::nme_bitmap_data_encode(this->nmeHandle,inFormat,inQuality); - } -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,encode,return ) - -Void BitmapData_obj::dumpBits( ){ -{ - HX_STACK_PUSH("BitmapData::dumpBits","neash/display/BitmapData.hx",208); - HX_STACK_THIS(this); - HX_STACK_LINE(208) - ::neash::display::BitmapData_obj::nme_bitmap_data_dump_bits(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,dumpBits,(void)) - -Void BitmapData_obj::draw( ::neash::display::IBitmapDrawable source,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,hx::Null< bool > __o_smoothing){ -bool smoothing = __o_smoothing.Default(false); - HX_STACK_PUSH("BitmapData::draw","neash/display/BitmapData.hx",202); - HX_STACK_THIS(this); - HX_STACK_ARG(source,"source"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(colorTransform,"colorTransform"); - HX_STACK_ARG(blendMode,"blendMode"); - HX_STACK_ARG(clipRect,"clipRect"); - HX_STACK_ARG(smoothing,"smoothing"); -{ - HX_STACK_LINE(202) - source->nmeDrawToSurface(this->nmeHandle,matrix,colorTransform,blendMode,clipRect,smoothing); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(BitmapData_obj,draw,(void)) - -Void BitmapData_obj::dispose( ){ -{ - HX_STACK_PUSH("BitmapData::dispose","neash/display/BitmapData.hx",196); - HX_STACK_THIS(this); - HX_STACK_LINE(196) - this->nmeHandle = null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,dispose,(void)) - -Void BitmapData_obj::destroyHardwareSurface( ){ -{ - HX_STACK_PUSH("BitmapData::destroyHardwareSurface","neash/display/BitmapData.hx",189); - HX_STACK_THIS(this); - HX_STACK_LINE(189) - ::neash::display::BitmapData_obj::nme_bitmap_data_destroy_hardware_surface(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,destroyHardwareSurface,(void)) - -Void BitmapData_obj::createHardwareSurface( ){ -{ - HX_STACK_PUSH("BitmapData::createHardwareSurface","neash/display/BitmapData.hx",183); - HX_STACK_THIS(this); - HX_STACK_LINE(183) - ::neash::display::BitmapData_obj::nme_bitmap_data_create_hardware_surface(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,createHardwareSurface,(void)) - -Void BitmapData_obj::copyPixels( ::neash::display::BitmapData sourceBitmapData,::neash::geom::Rectangle sourceRect,::neash::geom::Point destPoint,::neash::display::BitmapData alphaBitmapData,::neash::geom::Point alphaPoint,hx::Null< bool > __o_mergeAlpha){ -bool mergeAlpha = __o_mergeAlpha.Default(false); - HX_STACK_PUSH("BitmapData::copyPixels","neash/display/BitmapData.hx",166); - HX_STACK_THIS(this); - HX_STACK_ARG(sourceBitmapData,"sourceBitmapData"); - HX_STACK_ARG(sourceRect,"sourceRect"); - HX_STACK_ARG(destPoint,"destPoint"); - HX_STACK_ARG(alphaBitmapData,"alphaBitmapData"); - HX_STACK_ARG(alphaPoint,"alphaPoint"); - HX_STACK_ARG(mergeAlpha,"mergeAlpha"); -{ - HX_STACK_LINE(166) - ::neash::display::BitmapData_obj::nme_bitmap_data_copy(sourceBitmapData->nmeHandle,sourceRect,this->nmeHandle,destPoint,mergeAlpha); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(BitmapData_obj,copyPixels,(void)) - -Void BitmapData_obj::copyChannel( ::neash::display::BitmapData sourceBitmapData,::neash::geom::Rectangle sourceRect,::neash::geom::Point destPoint,int inSourceChannel,int inDestChannel){ -{ - HX_STACK_PUSH("BitmapData::copyChannel","neash/display/BitmapData.hx",151); - HX_STACK_THIS(this); - HX_STACK_ARG(sourceBitmapData,"sourceBitmapData"); - HX_STACK_ARG(sourceRect,"sourceRect"); - HX_STACK_ARG(destPoint,"destPoint"); - HX_STACK_ARG(inSourceChannel,"inSourceChannel"); - HX_STACK_ARG(inDestChannel,"inDestChannel"); - HX_STACK_LINE(151) - ::neash::display::BitmapData_obj::nme_bitmap_data_copy_channel(sourceBitmapData->nmeHandle,sourceRect,this->nmeHandle,destPoint,inSourceChannel,inDestChannel); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(BitmapData_obj,copyChannel,(void)) - -Void BitmapData_obj::colorTransform( ::neash::geom::Rectangle rect,::neash::geom::ColorTransform colorTransform){ -{ - HX_STACK_PUSH("BitmapData::colorTransform","neash/display/BitmapData.hx",137); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_ARG(colorTransform,"colorTransform"); - HX_STACK_LINE(137) - ::neash::display::BitmapData_obj::nme_bitmap_data_color_transform(this->nmeHandle,rect,colorTransform); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,colorTransform,(void)) - -::neash::display::BitmapData BitmapData_obj::clone( ){ - HX_STACK_PUSH("BitmapData::clone","neash/display/BitmapData.hx",124); - HX_STACK_THIS(this); - HX_STACK_LINE(125) - ::neash::display::BitmapData bm = ::neash::display::BitmapData_obj::__new((int)0,(int)0,null(),null()); HX_STACK_VAR(bm,"bm"); - HX_STACK_LINE(126) - bm->nmeHandle = ::neash::display::BitmapData_obj::nme_bitmap_data_clone(this->nmeHandle); - HX_STACK_LINE(127) - return bm; -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapData_obj,clone,return ) - -Void BitmapData_obj::clear( int color){ -{ - HX_STACK_PUSH("BitmapData::clear","neash/display/BitmapData.hx",114); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_LINE(114) - ::neash::display::BitmapData_obj::nme_bitmap_data_clear(this->nmeHandle,color); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,clear,(void)) - -Void BitmapData_obj::applyFilter( ::neash::display::BitmapData sourceBitmapData,::neash::geom::Rectangle sourceRect,::neash::geom::Point destPoint,::neash::filters::BitmapFilter filter){ -{ - HX_STACK_PUSH("BitmapData::applyFilter","neash/display/BitmapData.hx",104); - HX_STACK_THIS(this); - HX_STACK_ARG(sourceBitmapData,"sourceBitmapData"); - HX_STACK_ARG(sourceRect,"sourceRect"); - HX_STACK_ARG(destPoint,"destPoint"); - HX_STACK_ARG(filter,"filter"); - HX_STACK_LINE(104) - ::neash::display::BitmapData_obj::nme_bitmap_data_apply_filter(this->nmeHandle,sourceBitmapData->nmeHandle,sourceRect,destPoint,filter); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(BitmapData_obj,applyFilter,(void)) - -int BitmapData_obj::CLEAR; - -int BitmapData_obj::BLACK; - -int BitmapData_obj::WHITE; - -int BitmapData_obj::RED; - -int BitmapData_obj::GREEN; - -int BitmapData_obj::BLUE; - -::String BitmapData_obj::PNG; - -::String BitmapData_obj::JPG; - -int BitmapData_obj::TRANSPARENT; - -int BitmapData_obj::HARDWARE; - -int BitmapData_obj::FORMAT_8888; - -int BitmapData_obj::FORMAT_4444; - -int BitmapData_obj::FORMAT_565; - -int BitmapData_obj::createColor( int inRGB,hx::Null< int > __o_inAlpha){ -int inAlpha = __o_inAlpha.Default(255); - HX_STACK_PUSH("BitmapData::createColor","neash/display/BitmapData.hx",172); - HX_STACK_ARG(inRGB,"inRGB"); - HX_STACK_ARG(inAlpha,"inAlpha"); -{ - HX_STACK_LINE(172) - return (int(inRGB) | int((int(inAlpha) << int((int)24)))); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,createColor,return ) - -int BitmapData_obj::extractAlpha( int v){ - HX_STACK_PUSH("BitmapData::extractAlpha","neash/display/BitmapData.hx",220); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(220) - return hx::UShr(v,(int)24); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,extractAlpha,return ) - -int BitmapData_obj::extractColor( int v){ - HX_STACK_PUSH("BitmapData::extractColor","neash/display/BitmapData.hx",230); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(230) - return (int(v) & int((int)16777215)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(BitmapData_obj,extractColor,return ) - -::neash::display::BitmapData BitmapData_obj::load( ::String inFilename,hx::Null< int > __o_format){ -int format = __o_format.Default(0); - HX_STACK_PUSH("BitmapData::load","neash/display/BitmapData.hx",326); - HX_STACK_ARG(inFilename,"inFilename"); - HX_STACK_ARG(format,"format"); -{ - HX_STACK_LINE(327) - ::neash::display::BitmapData result = ::neash::display::BitmapData_obj::__new((int)0,(int)0,null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(328) - result->nmeHandle = ::neash::display::BitmapData_obj::nme_bitmap_data_load(inFilename,format); - HX_STACK_LINE(329) - return result; - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,load,return ) - -::neash::display::BitmapData BitmapData_obj::loadFromBytes( ::neash::utils::ByteArray inBytes,::neash::utils::ByteArray inRawAlpha){ - HX_STACK_PUSH("BitmapData::loadFromBytes","neash/display/BitmapData.hx",342); - HX_STACK_ARG(inBytes,"inBytes"); - HX_STACK_ARG(inRawAlpha,"inRawAlpha"); - HX_STACK_LINE(343) - ::neash::display::BitmapData result = ::neash::display::BitmapData_obj::__new((int)0,(int)0,null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(344) - result->nmeHandle = ::neash::display::BitmapData_obj::nme_bitmap_data_from_bytes(inBytes,inRawAlpha); - HX_STACK_LINE(345) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,loadFromBytes,return ) - -::neash::display::BitmapData BitmapData_obj::loadFromHaxeBytes( ::haxe::io::Bytes inBytes,::haxe::io::Bytes inRawAlpha){ - HX_STACK_PUSH("BitmapData::loadFromHaxeBytes","neash/display/BitmapData.hx",358); - HX_STACK_ARG(inBytes,"inBytes"); - HX_STACK_ARG(inRawAlpha,"inRawAlpha"); - HX_STACK_LINE(358) - return ::neash::display::BitmapData_obj::loadFromBytes(::neash::utils::ByteArray_obj::fromBytes(inBytes),( (((inRawAlpha == null()))) ? ::neash::utils::ByteArray(null()) : ::neash::utils::ByteArray(::neash::utils::ByteArray_obj::fromBytes(inRawAlpha)) )); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(BitmapData_obj,loadFromHaxeBytes,return ) - -Dynamic BitmapData_obj::nme_bitmap_data_create; - -Dynamic BitmapData_obj::nme_bitmap_data_load; - -Dynamic BitmapData_obj::nme_bitmap_data_from_bytes; - -Dynamic BitmapData_obj::nme_bitmap_data_clear; - -Dynamic BitmapData_obj::nme_bitmap_data_clone; - -Dynamic BitmapData_obj::nme_bitmap_data_apply_filter; - -Dynamic BitmapData_obj::nme_bitmap_data_color_transform; - -Dynamic BitmapData_obj::nme_bitmap_data_copy; - -Dynamic BitmapData_obj::nme_bitmap_data_copy_channel; - -Dynamic BitmapData_obj::nme_bitmap_data_fill; - -Dynamic BitmapData_obj::nme_bitmap_data_get_pixels; - -Dynamic BitmapData_obj::nme_bitmap_data_get_pixel; - -Dynamic BitmapData_obj::nme_bitmap_data_get_pixel32; - -Dynamic BitmapData_obj::nme_bitmap_data_get_pixel_rgba; - -Dynamic BitmapData_obj::nme_bitmap_data_get_array; - -Dynamic BitmapData_obj::nme_bitmap_data_get_color_bounds_rect; - -Dynamic BitmapData_obj::nme_bitmap_data_scroll; - -Dynamic BitmapData_obj::nme_bitmap_data_set_pixel; - -Dynamic BitmapData_obj::nme_bitmap_data_set_pixel32; - -Dynamic BitmapData_obj::nme_bitmap_data_set_pixel_rgba; - -Dynamic BitmapData_obj::nme_bitmap_data_set_bytes; - -Dynamic BitmapData_obj::nme_bitmap_data_set_format; - -Dynamic BitmapData_obj::nme_bitmap_data_set_array; - -Dynamic BitmapData_obj::nme_bitmap_data_create_hardware_surface; - -Dynamic BitmapData_obj::nme_bitmap_data_destroy_hardware_surface; - -Dynamic BitmapData_obj::nme_bitmap_data_generate_filter_rect; - -Dynamic BitmapData_obj::nme_render_surface_to_surface; - -Dynamic BitmapData_obj::nme_bitmap_data_height; - -Dynamic BitmapData_obj::nme_bitmap_data_width; - -Dynamic BitmapData_obj::nme_bitmap_data_get_transparent; - -Dynamic BitmapData_obj::nme_bitmap_data_set_flags; - -Dynamic BitmapData_obj::nme_bitmap_data_encode; - -Dynamic BitmapData_obj::nme_bitmap_data_dump_bits; - -Dynamic BitmapData_obj::nme_bitmap_data_noise; - - -BitmapData_obj::BitmapData_obj() -{ -} - -void BitmapData_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BitmapData); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(width,"width"); - HX_MARK_MEMBER_NAME(transparent,"transparent"); - HX_MARK_MEMBER_NAME(rect,"rect"); - HX_MARK_MEMBER_NAME(height,"height"); - HX_MARK_END_CLASS(); -} - -void BitmapData_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(width,"width"); - HX_VISIT_MEMBER_NAME(transparent,"transparent"); - HX_VISIT_MEMBER_NAME(rect,"rect"); - HX_VISIT_MEMBER_NAME(height,"height"); -} - -Dynamic BitmapData_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"RED") ) { return RED; } - if (HX_FIELD_EQ(inName,"PNG") ) { return PNG; } - if (HX_FIELD_EQ(inName,"JPG") ) { return JPG; } - break; - case 4: - if (HX_FIELD_EQ(inName,"BLUE") ) { return BLUE; } - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - if (HX_FIELD_EQ(inName,"lock") ) { return lock_dyn(); } - if (HX_FIELD_EQ(inName,"draw") ) { return draw_dyn(); } - if (HX_FIELD_EQ(inName,"rect") ) { return inCallProp ? nmeGetRect() : rect; } - break; - case 5: - if (HX_FIELD_EQ(inName,"CLEAR") ) { return CLEAR; } - if (HX_FIELD_EQ(inName,"BLACK") ) { return BLACK; } - if (HX_FIELD_EQ(inName,"WHITE") ) { return WHITE; } - if (HX_FIELD_EQ(inName,"GREEN") ) { return GREEN; } - if (HX_FIELD_EQ(inName,"noise") ) { return noise_dyn(); } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - if (HX_FIELD_EQ(inName,"clear") ) { return clear_dyn(); } - if (HX_FIELD_EQ(inName,"width") ) { return inCallProp ? nmeGetWidth() : width; } - break; - case 6: - if (HX_FIELD_EQ(inName,"unlock") ) { return unlock_dyn(); } - if (HX_FIELD_EQ(inName,"scroll") ) { return scroll_dyn(); } - if (HX_FIELD_EQ(inName,"encode") ) { return encode_dyn(); } - if (HX_FIELD_EQ(inName,"height") ) { return inCallProp ? nmeGetHeight() : height; } - break; - case 7: - if (HX_FIELD_EQ(inName,"dispose") ) { return dispose_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { return HARDWARE; } - if (HX_FIELD_EQ(inName,"setPixel") ) { return setPixel_dyn(); } - if (HX_FIELD_EQ(inName,"setFlags") ) { return setFlags_dyn(); } - if (HX_FIELD_EQ(inName,"getPixel") ) { return getPixel_dyn(); } - if (HX_FIELD_EQ(inName,"fillRect") ) { return fillRect_dyn(); } - if (HX_FIELD_EQ(inName,"dumpBits") ) { return dumpBits_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"setFormat") ) { return setFormat_dyn(); } - if (HX_FIELD_EQ(inName,"setVector") ) { return setVector_dyn(); } - if (HX_FIELD_EQ(inName,"setPixels") ) { return setPixels_dyn(); } - if (HX_FIELD_EQ(inName,"getVector") ) { return getVector_dyn(); } - if (HX_FIELD_EQ(inName,"getPixels") ) { return getPixels_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FORMAT_565") ) { return FORMAT_565; } - if (HX_FIELD_EQ(inName,"nmeGetRect") ) { return nmeGetRect_dyn(); } - if (HX_FIELD_EQ(inName,"setPixel32") ) { return setPixel32_dyn(); } - if (HX_FIELD_EQ(inName,"getPixel32") ) { return getPixel32_dyn(); } - if (HX_FIELD_EQ(inName,"fillRectEx") ) { return fillRectEx_dyn(); } - if (HX_FIELD_EQ(inName,"copyPixels") ) { return copyPixels_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"TRANSPARENT") ) { return TRANSPARENT; } - if (HX_FIELD_EQ(inName,"FORMAT_8888") ) { return FORMAT_8888; } - if (HX_FIELD_EQ(inName,"FORMAT_4444") ) { return FORMAT_4444; } - if (HX_FIELD_EQ(inName,"createColor") ) { return createColor_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetWidth") ) { return nmeGetWidth_dyn(); } - if (HX_FIELD_EQ(inName,"perlinNoise") ) { return perlinNoise_dyn(); } - if (HX_FIELD_EQ(inName,"copyChannel") ) { return copyChannel_dyn(); } - if (HX_FIELD_EQ(inName,"applyFilter") ) { return applyFilter_dyn(); } - if (HX_FIELD_EQ(inName,"transparent") ) { return inCallProp ? nmeGetTransparent() : transparent; } - break; - case 12: - if (HX_FIELD_EQ(inName,"extractAlpha") ) { return extractAlpha_dyn(); } - if (HX_FIELD_EQ(inName,"extractColor") ) { return extractColor_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetHeight") ) { return nmeGetHeight_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"loadFromBytes") ) { return loadFromBytes_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"colorTransform") ) { return colorTransform_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeDrawToSurface") ) { return nmeDrawToSurface_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"loadFromHaxeBytes") ) { return loadFromHaxeBytes_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTransparent") ) { return nmeGetTransparent_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"getColorBoundsRect") ) { return getColorBoundsRect_dyn(); } - if (HX_FIELD_EQ(inName,"generateFilterRect") ) { return generateFilterRect_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_load") ) { return nme_bitmap_data_load; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_copy") ) { return nme_bitmap_data_copy; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_fill") ) { return nme_bitmap_data_fill; } - break; - case 21: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_clear") ) { return nme_bitmap_data_clear; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_clone") ) { return nme_bitmap_data_clone; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_width") ) { return nme_bitmap_data_width; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_noise") ) { return nme_bitmap_data_noise; } - if (HX_FIELD_EQ(inName,"createHardwareSurface") ) { return createHardwareSurface_dyn(); } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_create") ) { return nme_bitmap_data_create; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_scroll") ) { return nme_bitmap_data_scroll; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_height") ) { return nme_bitmap_data_height; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_encode") ) { return nme_bitmap_data_encode; } - if (HX_FIELD_EQ(inName,"destroyHardwareSurface") ) { return destroyHardwareSurface_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel") ) { return nme_bitmap_data_get_pixel; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_array") ) { return nme_bitmap_data_get_array; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel") ) { return nme_bitmap_data_set_pixel; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_bytes") ) { return nme_bitmap_data_set_bytes; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_array") ) { return nme_bitmap_data_set_array; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_flags") ) { return nme_bitmap_data_set_flags; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_dump_bits") ) { return nme_bitmap_data_dump_bits; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_from_bytes") ) { return nme_bitmap_data_from_bytes; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixels") ) { return nme_bitmap_data_get_pixels; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_format") ) { return nme_bitmap_data_set_format; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel32") ) { return nme_bitmap_data_get_pixel32; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel32") ) { return nme_bitmap_data_set_pixel32; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_apply_filter") ) { return nme_bitmap_data_apply_filter; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_copy_channel") ) { return nme_bitmap_data_copy_channel; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_render_surface_to_surface") ) { return nme_render_surface_to_surface; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel_rgba") ) { return nme_bitmap_data_get_pixel_rgba; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel_rgba") ) { return nme_bitmap_data_set_pixel_rgba; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_color_transform") ) { return nme_bitmap_data_color_transform; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_transparent") ) { return nme_bitmap_data_get_transparent; } - break; - case 36: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_generate_filter_rect") ) { return nme_bitmap_data_generate_filter_rect; } - break; - case 37: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_color_bounds_rect") ) { return nme_bitmap_data_get_color_bounds_rect; } - break; - case 39: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_create_hardware_surface") ) { return nme_bitmap_data_create_hardware_surface; } - break; - case 40: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_destroy_hardware_surface") ) { return nme_bitmap_data_destroy_hardware_surface; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BitmapData_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"RED") ) { RED=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"PNG") ) { PNG=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"JPG") ) { JPG=inValue.Cast< ::String >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"BLUE") ) { BLUE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"rect") ) { rect=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"CLEAR") ) { CLEAR=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BLACK") ) { BLACK=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"WHITE") ) { WHITE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"GREEN") ) { GREEN=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"width") ) { width=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"height") ) { height=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { HARDWARE=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FORMAT_565") ) { FORMAT_565=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TRANSPARENT") ) { TRANSPARENT=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FORMAT_8888") ) { FORMAT_8888=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"FORMAT_4444") ) { FORMAT_4444=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"transparent") ) { transparent=inValue.Cast< bool >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_load") ) { nme_bitmap_data_load=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_copy") ) { nme_bitmap_data_copy=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_fill") ) { nme_bitmap_data_fill=inValue.Cast< Dynamic >(); return inValue; } - break; - case 21: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_clear") ) { nme_bitmap_data_clear=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_clone") ) { nme_bitmap_data_clone=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_width") ) { nme_bitmap_data_width=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_noise") ) { nme_bitmap_data_noise=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_create") ) { nme_bitmap_data_create=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_scroll") ) { nme_bitmap_data_scroll=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_height") ) { nme_bitmap_data_height=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_encode") ) { nme_bitmap_data_encode=inValue.Cast< Dynamic >(); return inValue; } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel") ) { nme_bitmap_data_get_pixel=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_array") ) { nme_bitmap_data_get_array=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel") ) { nme_bitmap_data_set_pixel=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_bytes") ) { nme_bitmap_data_set_bytes=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_array") ) { nme_bitmap_data_set_array=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_flags") ) { nme_bitmap_data_set_flags=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_dump_bits") ) { nme_bitmap_data_dump_bits=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_from_bytes") ) { nme_bitmap_data_from_bytes=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixels") ) { nme_bitmap_data_get_pixels=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_format") ) { nme_bitmap_data_set_format=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel32") ) { nme_bitmap_data_get_pixel32=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel32") ) { nme_bitmap_data_set_pixel32=inValue.Cast< Dynamic >(); return inValue; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_apply_filter") ) { nme_bitmap_data_apply_filter=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_copy_channel") ) { nme_bitmap_data_copy_channel=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_render_surface_to_surface") ) { nme_render_surface_to_surface=inValue.Cast< Dynamic >(); return inValue; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_pixel_rgba") ) { nme_bitmap_data_get_pixel_rgba=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_set_pixel_rgba") ) { nme_bitmap_data_set_pixel_rgba=inValue.Cast< Dynamic >(); return inValue; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_color_transform") ) { nme_bitmap_data_color_transform=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_transparent") ) { nme_bitmap_data_get_transparent=inValue.Cast< Dynamic >(); return inValue; } - break; - case 36: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_generate_filter_rect") ) { nme_bitmap_data_generate_filter_rect=inValue.Cast< Dynamic >(); return inValue; } - break; - case 37: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_get_color_bounds_rect") ) { nme_bitmap_data_get_color_bounds_rect=inValue.Cast< Dynamic >(); return inValue; } - break; - case 39: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_create_hardware_surface") ) { nme_bitmap_data_create_hardware_surface=inValue.Cast< Dynamic >(); return inValue; } - break; - case 40: - if (HX_FIELD_EQ(inName,"nme_bitmap_data_destroy_hardware_surface") ) { nme_bitmap_data_destroy_hardware_surface=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BitmapData_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("width")); - outFields->push(HX_CSTRING("transparent")); - outFields->push(HX_CSTRING("rect")); - outFields->push(HX_CSTRING("height")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("CLEAR"), - HX_CSTRING("BLACK"), - HX_CSTRING("WHITE"), - HX_CSTRING("RED"), - HX_CSTRING("GREEN"), - HX_CSTRING("BLUE"), - HX_CSTRING("PNG"), - HX_CSTRING("JPG"), - HX_CSTRING("TRANSPARENT"), - HX_CSTRING("HARDWARE"), - HX_CSTRING("FORMAT_8888"), - HX_CSTRING("FORMAT_4444"), - HX_CSTRING("FORMAT_565"), - HX_CSTRING("createColor"), - HX_CSTRING("extractAlpha"), - HX_CSTRING("extractColor"), - HX_CSTRING("load"), - HX_CSTRING("loadFromBytes"), - HX_CSTRING("loadFromHaxeBytes"), - HX_CSTRING("nme_bitmap_data_create"), - HX_CSTRING("nme_bitmap_data_load"), - HX_CSTRING("nme_bitmap_data_from_bytes"), - HX_CSTRING("nme_bitmap_data_clear"), - HX_CSTRING("nme_bitmap_data_clone"), - HX_CSTRING("nme_bitmap_data_apply_filter"), - HX_CSTRING("nme_bitmap_data_color_transform"), - HX_CSTRING("nme_bitmap_data_copy"), - HX_CSTRING("nme_bitmap_data_copy_channel"), - HX_CSTRING("nme_bitmap_data_fill"), - HX_CSTRING("nme_bitmap_data_get_pixels"), - HX_CSTRING("nme_bitmap_data_get_pixel"), - HX_CSTRING("nme_bitmap_data_get_pixel32"), - HX_CSTRING("nme_bitmap_data_get_pixel_rgba"), - HX_CSTRING("nme_bitmap_data_get_array"), - HX_CSTRING("nme_bitmap_data_get_color_bounds_rect"), - HX_CSTRING("nme_bitmap_data_scroll"), - HX_CSTRING("nme_bitmap_data_set_pixel"), - HX_CSTRING("nme_bitmap_data_set_pixel32"), - HX_CSTRING("nme_bitmap_data_set_pixel_rgba"), - HX_CSTRING("nme_bitmap_data_set_bytes"), - HX_CSTRING("nme_bitmap_data_set_format"), - HX_CSTRING("nme_bitmap_data_set_array"), - HX_CSTRING("nme_bitmap_data_create_hardware_surface"), - HX_CSTRING("nme_bitmap_data_destroy_hardware_surface"), - HX_CSTRING("nme_bitmap_data_generate_filter_rect"), - HX_CSTRING("nme_render_surface_to_surface"), - HX_CSTRING("nme_bitmap_data_height"), - HX_CSTRING("nme_bitmap_data_width"), - HX_CSTRING("nme_bitmap_data_get_transparent"), - HX_CSTRING("nme_bitmap_data_set_flags"), - HX_CSTRING("nme_bitmap_data_encode"), - HX_CSTRING("nme_bitmap_data_dump_bits"), - HX_CSTRING("nme_bitmap_data_noise"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetTransparent"), - HX_CSTRING("nmeGetHeight"), - HX_CSTRING("nmeGetWidth"), - HX_CSTRING("nmeGetRect"), - HX_CSTRING("noise"), - HX_CSTRING("setFormat"), - HX_CSTRING("unlock"), - HX_CSTRING("setVector"), - HX_CSTRING("setPixels"), - HX_CSTRING("setPixel32"), - HX_CSTRING("setPixel"), - HX_CSTRING("setFlags"), - HX_CSTRING("scroll"), - HX_CSTRING("perlinNoise"), - HX_CSTRING("nmeDrawToSurface"), - HX_CSTRING("lock"), - HX_CSTRING("getVector"), - HX_CSTRING("getPixels"), - HX_CSTRING("getPixel32"), - HX_CSTRING("getPixel"), - HX_CSTRING("getColorBoundsRect"), - HX_CSTRING("generateFilterRect"), - HX_CSTRING("fillRectEx"), - HX_CSTRING("fillRect"), - HX_CSTRING("encode"), - HX_CSTRING("dumpBits"), - HX_CSTRING("draw"), - HX_CSTRING("dispose"), - HX_CSTRING("destroyHardwareSurface"), - HX_CSTRING("createHardwareSurface"), - HX_CSTRING("copyPixels"), - HX_CSTRING("copyChannel"), - HX_CSTRING("colorTransform"), - HX_CSTRING("clone"), - HX_CSTRING("clear"), - HX_CSTRING("applyFilter"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("width"), - HX_CSTRING("transparent"), - HX_CSTRING("rect"), - HX_CSTRING("height"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BitmapData_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(BitmapData_obj::CLEAR,"CLEAR"); - HX_MARK_MEMBER_NAME(BitmapData_obj::BLACK,"BLACK"); - HX_MARK_MEMBER_NAME(BitmapData_obj::WHITE,"WHITE"); - HX_MARK_MEMBER_NAME(BitmapData_obj::RED,"RED"); - HX_MARK_MEMBER_NAME(BitmapData_obj::GREEN,"GREEN"); - HX_MARK_MEMBER_NAME(BitmapData_obj::BLUE,"BLUE"); - HX_MARK_MEMBER_NAME(BitmapData_obj::PNG,"PNG"); - HX_MARK_MEMBER_NAME(BitmapData_obj::JPG,"JPG"); - HX_MARK_MEMBER_NAME(BitmapData_obj::TRANSPARENT,"TRANSPARENT"); - HX_MARK_MEMBER_NAME(BitmapData_obj::HARDWARE,"HARDWARE"); - HX_MARK_MEMBER_NAME(BitmapData_obj::FORMAT_8888,"FORMAT_8888"); - HX_MARK_MEMBER_NAME(BitmapData_obj::FORMAT_4444,"FORMAT_4444"); - HX_MARK_MEMBER_NAME(BitmapData_obj::FORMAT_565,"FORMAT_565"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_create,"nme_bitmap_data_create"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_load,"nme_bitmap_data_load"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_from_bytes,"nme_bitmap_data_from_bytes"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_clear,"nme_bitmap_data_clear"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_clone,"nme_bitmap_data_clone"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_apply_filter,"nme_bitmap_data_apply_filter"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_color_transform,"nme_bitmap_data_color_transform"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_copy,"nme_bitmap_data_copy"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_copy_channel,"nme_bitmap_data_copy_channel"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_fill,"nme_bitmap_data_fill"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixels,"nme_bitmap_data_get_pixels"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel,"nme_bitmap_data_get_pixel"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel32,"nme_bitmap_data_get_pixel32"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel_rgba,"nme_bitmap_data_get_pixel_rgba"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_array,"nme_bitmap_data_get_array"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_color_bounds_rect,"nme_bitmap_data_get_color_bounds_rect"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_scroll,"nme_bitmap_data_scroll"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel,"nme_bitmap_data_set_pixel"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel32,"nme_bitmap_data_set_pixel32"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel_rgba,"nme_bitmap_data_set_pixel_rgba"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_bytes,"nme_bitmap_data_set_bytes"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_format,"nme_bitmap_data_set_format"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_array,"nme_bitmap_data_set_array"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_create_hardware_surface,"nme_bitmap_data_create_hardware_surface"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_destroy_hardware_surface,"nme_bitmap_data_destroy_hardware_surface"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_generate_filter_rect,"nme_bitmap_data_generate_filter_rect"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_render_surface_to_surface,"nme_render_surface_to_surface"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_height,"nme_bitmap_data_height"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_width,"nme_bitmap_data_width"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_transparent,"nme_bitmap_data_get_transparent"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_flags,"nme_bitmap_data_set_flags"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_encode,"nme_bitmap_data_encode"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_dump_bits,"nme_bitmap_data_dump_bits"); - HX_MARK_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_noise,"nme_bitmap_data_noise"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BitmapData_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::CLEAR,"CLEAR"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::BLACK,"BLACK"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::WHITE,"WHITE"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::RED,"RED"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::GREEN,"GREEN"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::BLUE,"BLUE"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::PNG,"PNG"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::JPG,"JPG"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::TRANSPARENT,"TRANSPARENT"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::HARDWARE,"HARDWARE"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::FORMAT_8888,"FORMAT_8888"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::FORMAT_4444,"FORMAT_4444"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::FORMAT_565,"FORMAT_565"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_create,"nme_bitmap_data_create"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_load,"nme_bitmap_data_load"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_from_bytes,"nme_bitmap_data_from_bytes"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_clear,"nme_bitmap_data_clear"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_clone,"nme_bitmap_data_clone"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_apply_filter,"nme_bitmap_data_apply_filter"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_color_transform,"nme_bitmap_data_color_transform"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_copy,"nme_bitmap_data_copy"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_copy_channel,"nme_bitmap_data_copy_channel"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_fill,"nme_bitmap_data_fill"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixels,"nme_bitmap_data_get_pixels"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel,"nme_bitmap_data_get_pixel"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel32,"nme_bitmap_data_get_pixel32"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_pixel_rgba,"nme_bitmap_data_get_pixel_rgba"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_array,"nme_bitmap_data_get_array"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_color_bounds_rect,"nme_bitmap_data_get_color_bounds_rect"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_scroll,"nme_bitmap_data_scroll"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel,"nme_bitmap_data_set_pixel"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel32,"nme_bitmap_data_set_pixel32"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_pixel_rgba,"nme_bitmap_data_set_pixel_rgba"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_bytes,"nme_bitmap_data_set_bytes"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_format,"nme_bitmap_data_set_format"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_array,"nme_bitmap_data_set_array"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_create_hardware_surface,"nme_bitmap_data_create_hardware_surface"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_destroy_hardware_surface,"nme_bitmap_data_destroy_hardware_surface"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_generate_filter_rect,"nme_bitmap_data_generate_filter_rect"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_render_surface_to_surface,"nme_render_surface_to_surface"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_height,"nme_bitmap_data_height"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_width,"nme_bitmap_data_width"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_get_transparent,"nme_bitmap_data_get_transparent"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_set_flags,"nme_bitmap_data_set_flags"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_encode,"nme_bitmap_data_encode"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_dump_bits,"nme_bitmap_data_dump_bits"); - HX_VISIT_MEMBER_NAME(BitmapData_obj::nme_bitmap_data_noise,"nme_bitmap_data_noise"); -}; - -Class BitmapData_obj::__mClass; - -void BitmapData_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.BitmapData"), hx::TCanCast< BitmapData_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BitmapData_obj::__boot() -{ - CLEAR= (int)0; -struct _Function_0_1{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",23); - { - HX_STACK_LINE(23) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(23) - return (int((int)0) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - BLACK= _Function_0_1::Block(); -struct _Function_0_2{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",24); - { - HX_STACK_LINE(24) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(24) - return (int((int)0) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - WHITE= _Function_0_2::Block(); -struct _Function_0_3{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",25); - { - HX_STACK_LINE(25) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(25) - return (int((int)16711680) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - RED= _Function_0_3::Block(); -struct _Function_0_4{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",26); - { - HX_STACK_LINE(26) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(26) - return (int((int)65280) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - GREEN= _Function_0_4::Block(); -struct _Function_0_5{ - inline static int Block( ){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",27); - { - HX_STACK_LINE(27) - int inAlpha = (int)255; HX_STACK_VAR(inAlpha,"inAlpha"); - HX_STACK_LINE(27) - return (int((int)255) | int((int(inAlpha) << int((int)24)))); - } - return null(); - } -}; - BLUE= _Function_0_5::Block(); - PNG= HX_CSTRING("png"); - JPG= HX_CSTRING("jpg"); - TRANSPARENT= (int)1; - HARDWARE= (int)2; - FORMAT_8888= (int)0; - FORMAT_4444= (int)1; - FORMAT_565= (int)2; - nme_bitmap_data_create= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_create"),(int)5); - nme_bitmap_data_load= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_load"),(int)2); - nme_bitmap_data_from_bytes= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_from_bytes"),(int)2); - nme_bitmap_data_clear= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_clear"),(int)2); - nme_bitmap_data_clone= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_clone"),(int)1); - nme_bitmap_data_apply_filter= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_apply_filter"),(int)5); - nme_bitmap_data_color_transform= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_color_transform"),(int)3); - nme_bitmap_data_copy= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_copy"),(int)5); - nme_bitmap_data_copy_channel= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_copy_channel"),(int)-1); - nme_bitmap_data_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_fill"),(int)4); - nme_bitmap_data_get_pixels= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_pixels"),(int)2); - nme_bitmap_data_get_pixel= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_pixel"),(int)3); - nme_bitmap_data_get_pixel32= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_pixel32"),(int)3); - nme_bitmap_data_get_pixel_rgba= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_pixel_rgba"),(int)3); - nme_bitmap_data_get_array= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_array"),(int)3); - nme_bitmap_data_get_color_bounds_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_color_bounds_rect"),(int)5); - nme_bitmap_data_scroll= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_scroll"),(int)3); - nme_bitmap_data_set_pixel= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_pixel"),(int)4); - nme_bitmap_data_set_pixel32= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_pixel32"),(int)4); - nme_bitmap_data_set_pixel_rgba= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_pixel_rgba"),(int)4); - nme_bitmap_data_set_bytes= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_bytes"),(int)4); - nme_bitmap_data_set_format= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_format"),(int)2); - nme_bitmap_data_set_array= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_array"),(int)3); - nme_bitmap_data_create_hardware_surface= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_create_hardware_surface"),(int)1); - nme_bitmap_data_destroy_hardware_surface= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_destroy_hardware_surface"),(int)1); - nme_bitmap_data_generate_filter_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_generate_filter_rect"),(int)3); - nme_render_surface_to_surface= ::neash::Loader_obj::load(HX_CSTRING("nme_render_surface_to_surface"),(int)-1); - nme_bitmap_data_height= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_height"),(int)1); - nme_bitmap_data_width= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_width"),(int)1); - nme_bitmap_data_get_transparent= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_get_transparent"),(int)1); - nme_bitmap_data_set_flags= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_set_flags"),(int)1); - nme_bitmap_data_encode= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_encode"),(int)3); - nme_bitmap_data_dump_bits= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_dump_bits"),(int)1); - nme_bitmap_data_noise= ::neash::Loader_obj::load(HX_CSTRING("nme_bitmap_data_noise"),(int)-1); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/BitmapDataChannel.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/BitmapDataChannel.cpp deleted file mode 100644 index 86fe3ed..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/BitmapDataChannel.cpp +++ /dev/null @@ -1,131 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_BitmapDataChannel -#include -#endif -namespace neash{ -namespace display{ - -Void BitmapDataChannel_obj::__construct() -{ - return null(); -} - -BitmapDataChannel_obj::~BitmapDataChannel_obj() { } - -Dynamic BitmapDataChannel_obj::__CreateEmpty() { return new BitmapDataChannel_obj; } -hx::ObjectPtr< BitmapDataChannel_obj > BitmapDataChannel_obj::__new() -{ hx::ObjectPtr< BitmapDataChannel_obj > result = new BitmapDataChannel_obj(); - result->__construct(); - return result;} - -Dynamic BitmapDataChannel_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BitmapDataChannel_obj > result = new BitmapDataChannel_obj(); - result->__construct(); - return result;} - -int BitmapDataChannel_obj::ALPHA; - -int BitmapDataChannel_obj::BLUE; - -int BitmapDataChannel_obj::GREEN; - -int BitmapDataChannel_obj::RED; - - -BitmapDataChannel_obj::BitmapDataChannel_obj() -{ -} - -void BitmapDataChannel_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BitmapDataChannel); - HX_MARK_END_CLASS(); -} - -void BitmapDataChannel_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic BitmapDataChannel_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"RED") ) { return RED; } - break; - case 4: - if (HX_FIELD_EQ(inName,"BLUE") ) { return BLUE; } - break; - case 5: - if (HX_FIELD_EQ(inName,"ALPHA") ) { return ALPHA; } - if (HX_FIELD_EQ(inName,"GREEN") ) { return GREEN; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BitmapDataChannel_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"RED") ) { RED=inValue.Cast< int >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"BLUE") ) { BLUE=inValue.Cast< int >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"ALPHA") ) { ALPHA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"GREEN") ) { GREEN=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BitmapDataChannel_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("ALPHA"), - HX_CSTRING("BLUE"), - HX_CSTRING("GREEN"), - HX_CSTRING("RED"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::ALPHA,"ALPHA"); - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::BLUE,"BLUE"); - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::GREEN,"GREEN"); - HX_MARK_MEMBER_NAME(BitmapDataChannel_obj::RED,"RED"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::ALPHA,"ALPHA"); - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::BLUE,"BLUE"); - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::GREEN,"GREEN"); - HX_VISIT_MEMBER_NAME(BitmapDataChannel_obj::RED,"RED"); -}; - -Class BitmapDataChannel_obj::__mClass; - -void BitmapDataChannel_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.BitmapDataChannel"), hx::TCanCast< BitmapDataChannel_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BitmapDataChannel_obj::__boot() -{ - ALPHA= (int)8; - BLUE= (int)4; - GREEN= (int)2; - RED= (int)1; -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/BlendMode.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/BlendMode.cpp deleted file mode 100644 index 19051b1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/BlendMode.cpp +++ /dev/null @@ -1,181 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_BlendMode -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::BlendMode BlendMode_obj::ADD; - -::neash::display::BlendMode BlendMode_obj::ALPHA; - -::neash::display::BlendMode BlendMode_obj::DARKEN; - -::neash::display::BlendMode BlendMode_obj::DIFFERENCE; - -::neash::display::BlendMode BlendMode_obj::ERASE; - -::neash::display::BlendMode BlendMode_obj::HARDLIGHT; - -::neash::display::BlendMode BlendMode_obj::INVERT; - -::neash::display::BlendMode BlendMode_obj::LAYER; - -::neash::display::BlendMode BlendMode_obj::LIGHTEN; - -::neash::display::BlendMode BlendMode_obj::MULTIPLY; - -::neash::display::BlendMode BlendMode_obj::NORMAL; - -::neash::display::BlendMode BlendMode_obj::OVERLAY; - -::neash::display::BlendMode BlendMode_obj::SCREEN; - -::neash::display::BlendMode BlendMode_obj::SUBTRACT; - -HX_DEFINE_CREATE_ENUM(BlendMode_obj) - -int BlendMode_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("ADD")) return 7; - if (inName==HX_CSTRING("ALPHA")) return 10; - if (inName==HX_CSTRING("DARKEN")) return 5; - if (inName==HX_CSTRING("DIFFERENCE")) return 6; - if (inName==HX_CSTRING("ERASE")) return 11; - if (inName==HX_CSTRING("HARDLIGHT")) return 13; - if (inName==HX_CSTRING("INVERT")) return 9; - if (inName==HX_CSTRING("LAYER")) return 1; - if (inName==HX_CSTRING("LIGHTEN")) return 4; - if (inName==HX_CSTRING("MULTIPLY")) return 2; - if (inName==HX_CSTRING("NORMAL")) return 0; - if (inName==HX_CSTRING("OVERLAY")) return 12; - if (inName==HX_CSTRING("SCREEN")) return 3; - if (inName==HX_CSTRING("SUBTRACT")) return 8; - return super::__FindIndex(inName); -} - -int BlendMode_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("ADD")) return 0; - if (inName==HX_CSTRING("ALPHA")) return 0; - if (inName==HX_CSTRING("DARKEN")) return 0; - if (inName==HX_CSTRING("DIFFERENCE")) return 0; - if (inName==HX_CSTRING("ERASE")) return 0; - if (inName==HX_CSTRING("HARDLIGHT")) return 0; - if (inName==HX_CSTRING("INVERT")) return 0; - if (inName==HX_CSTRING("LAYER")) return 0; - if (inName==HX_CSTRING("LIGHTEN")) return 0; - if (inName==HX_CSTRING("MULTIPLY")) return 0; - if (inName==HX_CSTRING("NORMAL")) return 0; - if (inName==HX_CSTRING("OVERLAY")) return 0; - if (inName==HX_CSTRING("SCREEN")) return 0; - if (inName==HX_CSTRING("SUBTRACT")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic BlendMode_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("ADD")) return ADD; - if (inName==HX_CSTRING("ALPHA")) return ALPHA; - if (inName==HX_CSTRING("DARKEN")) return DARKEN; - if (inName==HX_CSTRING("DIFFERENCE")) return DIFFERENCE; - if (inName==HX_CSTRING("ERASE")) return ERASE; - if (inName==HX_CSTRING("HARDLIGHT")) return HARDLIGHT; - if (inName==HX_CSTRING("INVERT")) return INVERT; - if (inName==HX_CSTRING("LAYER")) return LAYER; - if (inName==HX_CSTRING("LIGHTEN")) return LIGHTEN; - if (inName==HX_CSTRING("MULTIPLY")) return MULTIPLY; - if (inName==HX_CSTRING("NORMAL")) return NORMAL; - if (inName==HX_CSTRING("OVERLAY")) return OVERLAY; - if (inName==HX_CSTRING("SCREEN")) return SCREEN; - if (inName==HX_CSTRING("SUBTRACT")) return SUBTRACT; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NORMAL"), - HX_CSTRING("LAYER"), - HX_CSTRING("MULTIPLY"), - HX_CSTRING("SCREEN"), - HX_CSTRING("LIGHTEN"), - HX_CSTRING("DARKEN"), - HX_CSTRING("DIFFERENCE"), - HX_CSTRING("ADD"), - HX_CSTRING("SUBTRACT"), - HX_CSTRING("INVERT"), - HX_CSTRING("ALPHA"), - HX_CSTRING("ERASE"), - HX_CSTRING("OVERLAY"), - HX_CSTRING("HARDLIGHT"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BlendMode_obj::ADD,"ADD"); - HX_MARK_MEMBER_NAME(BlendMode_obj::ALPHA,"ALPHA"); - HX_MARK_MEMBER_NAME(BlendMode_obj::DARKEN,"DARKEN"); - HX_MARK_MEMBER_NAME(BlendMode_obj::DIFFERENCE,"DIFFERENCE"); - HX_MARK_MEMBER_NAME(BlendMode_obj::ERASE,"ERASE"); - HX_MARK_MEMBER_NAME(BlendMode_obj::HARDLIGHT,"HARDLIGHT"); - HX_MARK_MEMBER_NAME(BlendMode_obj::INVERT,"INVERT"); - HX_MARK_MEMBER_NAME(BlendMode_obj::LAYER,"LAYER"); - HX_MARK_MEMBER_NAME(BlendMode_obj::LIGHTEN,"LIGHTEN"); - HX_MARK_MEMBER_NAME(BlendMode_obj::MULTIPLY,"MULTIPLY"); - HX_MARK_MEMBER_NAME(BlendMode_obj::NORMAL,"NORMAL"); - HX_MARK_MEMBER_NAME(BlendMode_obj::OVERLAY,"OVERLAY"); - HX_MARK_MEMBER_NAME(BlendMode_obj::SCREEN,"SCREEN"); - HX_MARK_MEMBER_NAME(BlendMode_obj::SUBTRACT,"SUBTRACT"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BlendMode_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::ADD,"ADD"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::ALPHA,"ALPHA"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::DARKEN,"DARKEN"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::DIFFERENCE,"DIFFERENCE"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::ERASE,"ERASE"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::HARDLIGHT,"HARDLIGHT"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::INVERT,"INVERT"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::LAYER,"LAYER"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::LIGHTEN,"LIGHTEN"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::MULTIPLY,"MULTIPLY"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::NORMAL,"NORMAL"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::OVERLAY,"OVERLAY"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::SCREEN,"SCREEN"); - HX_VISIT_MEMBER_NAME(BlendMode_obj::SUBTRACT,"SUBTRACT"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class BlendMode_obj::__mClass; - -Dynamic __Create_BlendMode_obj() { return new BlendMode_obj; } - -void BlendMode_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.BlendMode"), hx::TCanCast< BlendMode_obj >,sStaticFields,sMemberFields, - &__Create_BlendMode_obj, &__Create, - &super::__SGetClass(), &CreateBlendMode_obj, sMarkStatics, sVisitStatic); -} - -void BlendMode_obj::__boot() -{ -Static(ADD) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("ADD"),7); -Static(ALPHA) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("ALPHA"),10); -Static(DARKEN) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("DARKEN"),5); -Static(DIFFERENCE) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("DIFFERENCE"),6); -Static(ERASE) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("ERASE"),11); -Static(HARDLIGHT) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("HARDLIGHT"),13); -Static(INVERT) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("INVERT"),9); -Static(LAYER) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("LAYER"),1); -Static(LIGHTEN) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("LIGHTEN"),4); -Static(MULTIPLY) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("MULTIPLY"),2); -Static(NORMAL) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("NORMAL"),0); -Static(OVERLAY) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("OVERLAY"),12); -Static(SCREEN) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("SCREEN"),3); -Static(SUBTRACT) = hx::CreateEnum< BlendMode_obj >(HX_CSTRING("SUBTRACT"),8); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/CapsStyle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/CapsStyle.cpp deleted file mode 100644 index e715776..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/CapsStyle.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::CapsStyle CapsStyle_obj::NONE; - -::neash::display::CapsStyle CapsStyle_obj::ROUND; - -::neash::display::CapsStyle CapsStyle_obj::SQUARE; - -HX_DEFINE_CREATE_ENUM(CapsStyle_obj) - -int CapsStyle_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("NONE")) return 1; - if (inName==HX_CSTRING("ROUND")) return 0; - if (inName==HX_CSTRING("SQUARE")) return 2; - return super::__FindIndex(inName); -} - -int CapsStyle_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("NONE")) return 0; - if (inName==HX_CSTRING("ROUND")) return 0; - if (inName==HX_CSTRING("SQUARE")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic CapsStyle_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("NONE")) return NONE; - if (inName==HX_CSTRING("ROUND")) return ROUND; - if (inName==HX_CSTRING("SQUARE")) return SQUARE; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("ROUND"), - HX_CSTRING("NONE"), - HX_CSTRING("SQUARE"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(CapsStyle_obj::NONE,"NONE"); - HX_MARK_MEMBER_NAME(CapsStyle_obj::ROUND,"ROUND"); - HX_MARK_MEMBER_NAME(CapsStyle_obj::SQUARE,"SQUARE"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(CapsStyle_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(CapsStyle_obj::NONE,"NONE"); - HX_VISIT_MEMBER_NAME(CapsStyle_obj::ROUND,"ROUND"); - HX_VISIT_MEMBER_NAME(CapsStyle_obj::SQUARE,"SQUARE"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class CapsStyle_obj::__mClass; - -Dynamic __Create_CapsStyle_obj() { return new CapsStyle_obj; } - -void CapsStyle_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.CapsStyle"), hx::TCanCast< CapsStyle_obj >,sStaticFields,sMemberFields, - &__Create_CapsStyle_obj, &__Create, - &super::__SGetClass(), &CreateCapsStyle_obj, sMarkStatics, sVisitStatic); -} - -void CapsStyle_obj::__boot() -{ -Static(NONE) = hx::CreateEnum< CapsStyle_obj >(HX_CSTRING("NONE"),1); -Static(ROUND) = hx::CreateEnum< CapsStyle_obj >(HX_CSTRING("ROUND"),0); -Static(SQUARE) = hx::CreateEnum< CapsStyle_obj >(HX_CSTRING("SQUARE"),2); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/DisplayObject.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/DisplayObject.cpp deleted file mode 100644 index b72e6b0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/DisplayObject.cpp +++ /dev/null @@ -1,2139 +0,0 @@ -#include - -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_BlendMode -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_PixelSnapping -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_EventPhase -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -#ifndef INCLUDED_neash_geom_Transform -#include -#endif -namespace neash{ -namespace display{ - -Void DisplayObject_obj::__construct(Dynamic inHandle,::String inType) -{ -HX_STACK_PUSH("DisplayObject::new","neash/display/DisplayObject.hx",186); -{ - HX_STACK_LINE(187) - super::__construct(hx::ObjectPtr(this)); - HX_STACK_LINE(189) - this->nmeParent = null(); - HX_STACK_LINE(190) - this->nmeHandle = inHandle; - HX_STACK_LINE(191) - this->nmeID = ::neash::display::DisplayObject_obj::nme_display_object_get_id(this->nmeHandle); - HX_STACK_LINE(192) - this->nmeSetName(((inType + HX_CSTRING(" ")) + this->nmeID)); -} -; - return null(); -} - -DisplayObject_obj::~DisplayObject_obj() { } - -Dynamic DisplayObject_obj::__CreateEmpty() { return new DisplayObject_obj; } -hx::ObjectPtr< DisplayObject_obj > DisplayObject_obj::__new(Dynamic inHandle,::String inType) -{ hx::ObjectPtr< DisplayObject_obj > result = new DisplayObject_obj(); - result->__construct(inHandle,inType); - return result;} - -Dynamic DisplayObject_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< DisplayObject_obj > result = new DisplayObject_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -hx::Object *DisplayObject_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::neash::display::IBitmapDrawable_obj)) return operator ::neash::display::IBitmapDrawable_obj *(); - return super::__ToInterface(inType); -} - -Float DisplayObject_obj::nmeSetY( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetY","neash/display/DisplayObject.hx",762); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(763) - ::neash::display::DisplayObject_obj::nme_display_object_set_y(this->nmeHandle,inVal); - HX_STACK_LINE(764) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetY,return ) - -Float DisplayObject_obj::nmeGetY( ){ - HX_STACK_PUSH("DisplayObject::nmeGetY","neash/display/DisplayObject.hx",760); - HX_STACK_THIS(this); - HX_STACK_LINE(760) - return ::neash::display::DisplayObject_obj::nme_display_object_get_y(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetY,return ) - -Float DisplayObject_obj::nmeSetX( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetX","neash/display/DisplayObject.hx",754); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(755) - ::neash::display::DisplayObject_obj::nme_display_object_set_x(this->nmeHandle,inVal); - HX_STACK_LINE(756) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetX,return ) - -Float DisplayObject_obj::nmeGetX( ){ - HX_STACK_PUSH("DisplayObject::nmeGetX","neash/display/DisplayObject.hx",752); - HX_STACK_THIS(this); - HX_STACK_LINE(752) - return ::neash::display::DisplayObject_obj::nme_display_object_get_x(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetX,return ) - -Float DisplayObject_obj::nmeSetWidth( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetWidth","neash/display/DisplayObject.hx",746); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(747) - ::neash::display::DisplayObject_obj::nme_display_object_set_width(this->nmeHandle,inVal); - HX_STACK_LINE(748) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetWidth,return ) - -Float DisplayObject_obj::nmeGetWidth( ){ - HX_STACK_PUSH("DisplayObject::nmeGetWidth","neash/display/DisplayObject.hx",744); - HX_STACK_THIS(this); - HX_STACK_LINE(744) - return ::neash::display::DisplayObject_obj::nme_display_object_get_width(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetWidth,return ) - -bool DisplayObject_obj::nmeSetVisible( bool inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetVisible","neash/display/DisplayObject.hx",738); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(739) - ::neash::display::DisplayObject_obj::nme_display_object_set_visible(this->nmeHandle,inVal); - HX_STACK_LINE(740) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetVisible,return ) - -bool DisplayObject_obj::nmeGetVisible( ){ - HX_STACK_PUSH("DisplayObject::nmeGetVisible","neash/display/DisplayObject.hx",736); - HX_STACK_THIS(this); - HX_STACK_LINE(736) - return ::neash::display::DisplayObject_obj::nme_display_object_get_visible(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetVisible,return ) - -::neash::geom::Transform DisplayObject_obj::nmeSetTransform( ::neash::geom::Transform inTransform){ - HX_STACK_PUSH("DisplayObject::nmeSetTransform","neash/display/DisplayObject.hx",729); - HX_STACK_THIS(this); - HX_STACK_ARG(inTransform,"inTransform"); - HX_STACK_LINE(730) - this->nmeSetMatrix(inTransform->nmeGetMatrix()); - HX_STACK_LINE(731) - this->nmeSetColorTransform(inTransform->nmeGetColorTransform()); - HX_STACK_LINE(732) - return inTransform; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetTransform,return ) - -::neash::geom::Transform DisplayObject_obj::nmeGetTransform( ){ - HX_STACK_PUSH("DisplayObject::nmeGetTransform","neash/display/DisplayObject.hx",727); - HX_STACK_THIS(this); - HX_STACK_LINE(727) - return ::neash::geom::Transform_obj::__new(hx::ObjectPtr(this)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetTransform,return ) - -::neash::display::Stage DisplayObject_obj::nmeGetStage( ){ - HX_STACK_PUSH("DisplayObject::nmeGetStage","neash/display/DisplayObject.hx",719); - HX_STACK_THIS(this); - HX_STACK_LINE(720) - if (((this->nmeParent != null()))){ - HX_STACK_LINE(721) - return this->nmeParent->nmeGetStage(); - } - HX_STACK_LINE(723) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetStage,return ) - -::neash::geom::Rectangle DisplayObject_obj::nmeSetScrollRect( ::neash::geom::Rectangle inRect){ - HX_STACK_PUSH("DisplayObject::nmeSetScrollRect","neash/display/DisplayObject.hx",711); - HX_STACK_THIS(this); - HX_STACK_ARG(inRect,"inRect"); - HX_STACK_LINE(712) - this->nmeScrollRect = ( (((inRect == null()))) ? ::neash::geom::Rectangle(null()) : ::neash::geom::Rectangle(inRect->clone()) ); - HX_STACK_LINE(713) - ::neash::display::DisplayObject_obj::nme_display_object_set_scroll_rect(this->nmeHandle,this->nmeScrollRect); - HX_STACK_LINE(714) - return inRect; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetScrollRect,return ) - -::neash::geom::Rectangle DisplayObject_obj::nmeGetScrollRect( ){ - HX_STACK_PUSH("DisplayObject::nmeGetScrollRect","neash/display/DisplayObject.hx",709); - HX_STACK_THIS(this); - HX_STACK_LINE(709) - return ( (((this->nmeScrollRect == null()))) ? ::neash::geom::Rectangle(null()) : ::neash::geom::Rectangle(this->nmeScrollRect->clone()) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetScrollRect,return ) - -Float DisplayObject_obj::nmeSetScaleY( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetScaleY","neash/display/DisplayObject.hx",703); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(704) - ::neash::display::DisplayObject_obj::nme_display_object_set_scale_y(this->nmeHandle,inVal); - HX_STACK_LINE(705) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetScaleY,return ) - -Float DisplayObject_obj::nmeGetScaleY( ){ - HX_STACK_PUSH("DisplayObject::nmeGetScaleY","neash/display/DisplayObject.hx",701); - HX_STACK_THIS(this); - HX_STACK_LINE(701) - return ::neash::display::DisplayObject_obj::nme_display_object_get_scale_y(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetScaleY,return ) - -Float DisplayObject_obj::nmeSetScaleX( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetScaleX","neash/display/DisplayObject.hx",695); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(696) - ::neash::display::DisplayObject_obj::nme_display_object_set_scale_x(this->nmeHandle,inVal); - HX_STACK_LINE(697) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetScaleX,return ) - -Float DisplayObject_obj::nmeGetScaleX( ){ - HX_STACK_PUSH("DisplayObject::nmeGetScaleX","neash/display/DisplayObject.hx",693); - HX_STACK_THIS(this); - HX_STACK_LINE(693) - return ::neash::display::DisplayObject_obj::nme_display_object_get_scale_x(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetScaleX,return ) - -::neash::geom::Rectangle DisplayObject_obj::nmeSetScale9Grid( ::neash::geom::Rectangle inRect){ - HX_STACK_PUSH("DisplayObject::nmeSetScale9Grid","neash/display/DisplayObject.hx",686); - HX_STACK_THIS(this); - HX_STACK_ARG(inRect,"inRect"); - HX_STACK_LINE(687) - this->nmeScale9Grid = ( (((inRect == null()))) ? ::neash::geom::Rectangle(null()) : ::neash::geom::Rectangle(inRect->clone()) ); - HX_STACK_LINE(688) - ::neash::display::DisplayObject_obj::nme_display_object_set_scale9_grid(this->nmeHandle,this->nmeScale9Grid); - HX_STACK_LINE(689) - return inRect; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetScale9Grid,return ) - -::neash::geom::Rectangle DisplayObject_obj::nmeGetScale9Grid( ){ - HX_STACK_PUSH("DisplayObject::nmeGetScale9Grid","neash/display/DisplayObject.hx",684); - HX_STACK_THIS(this); - HX_STACK_LINE(684) - return ( (((this->nmeScale9Grid == null()))) ? ::neash::geom::Rectangle(null()) : ::neash::geom::Rectangle(this->nmeScale9Grid->clone()) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetScale9Grid,return ) - -Float DisplayObject_obj::nmeSetRotation( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetRotation","neash/display/DisplayObject.hx",678); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(679) - ::neash::display::DisplayObject_obj::nme_display_object_set_rotation(this->nmeHandle,inVal); - HX_STACK_LINE(680) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetRotation,return ) - -Float DisplayObject_obj::nmeGetRotation( ){ - HX_STACK_PUSH("DisplayObject::nmeGetRotation","neash/display/DisplayObject.hx",676); - HX_STACK_THIS(this); - HX_STACK_LINE(676) - return ::neash::display::DisplayObject_obj::nme_display_object_get_rotation(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetRotation,return ) - -::neash::display::DisplayObjectContainer DisplayObject_obj::nmeSetParent( ::neash::display::DisplayObjectContainer inParent){ - HX_STACK_PUSH("DisplayObject::nmeSetParent","neash/display/DisplayObject.hx",649); - HX_STACK_THIS(this); - HX_STACK_ARG(inParent,"inParent"); - HX_STACK_LINE(650) - if (((inParent == this->nmeParent))){ - HX_STACK_LINE(651) - return inParent; - } - HX_STACK_LINE(653) - if (((this->nmeParent != null()))){ - HX_STACK_LINE(654) - this->nmeParent->nmeRemoveChildFromArray(hx::ObjectPtr(this)); - } - HX_STACK_LINE(656) - if (((bool((this->nmeParent == null())) && bool((inParent != null()))))){ - HX_STACK_LINE(658) - this->nmeParent = inParent; - HX_STACK_LINE(659) - this->nmeOnAdded(hx::ObjectPtr(this),(this->nmeGetStage() != null())); - } - else{ - HX_STACK_LINE(661) - if (((bool((this->nmeParent != null())) && bool((inParent == null()))))){ - HX_STACK_LINE(663) - bool was_on_stage = (this->nmeGetStage() != null()); HX_STACK_VAR(was_on_stage,"was_on_stage"); - HX_STACK_LINE(664) - this->nmeParent = inParent; - HX_STACK_LINE(665) - this->nmeOnRemoved(hx::ObjectPtr(this),was_on_stage); - } - else{ - HX_STACK_LINE(668) - this->nmeParent = inParent; - } - } - HX_STACK_LINE(672) - return inParent; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetParent,return ) - -::neash::display::DisplayObjectContainer DisplayObject_obj::nmeGetParent( ){ - HX_STACK_PUSH("DisplayObject::nmeGetParent","neash/display/DisplayObject.hx",645); - HX_STACK_THIS(this); - HX_STACK_LINE(645) - return this->nmeParent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetParent,return ) - -::String DisplayObject_obj::nmeSetName( ::String inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetName","neash/display/DisplayObject.hx",639); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(640) - ::neash::display::DisplayObject_obj::nme_display_object_set_name(this->nmeHandle,inVal); - HX_STACK_LINE(641) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetName,return ) - -::String DisplayObject_obj::nmeGetName( ){ - HX_STACK_PUSH("DisplayObject::nmeGetName","neash/display/DisplayObject.hx",637); - HX_STACK_THIS(this); - HX_STACK_LINE(637) - return ::neash::display::DisplayObject_obj::nme_display_object_get_name(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetName,return ) - -Float DisplayObject_obj::nmeGetMouseY( ){ - HX_STACK_PUSH("DisplayObject::nmeGetMouseY","neash/display/DisplayObject.hx",634); - HX_STACK_THIS(this); - HX_STACK_LINE(634) - return ::neash::display::DisplayObject_obj::nme_display_object_get_mouse_y(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetMouseY,return ) - -Float DisplayObject_obj::nmeGetMouseX( ){ - HX_STACK_PUSH("DisplayObject::nmeGetMouseX","neash/display/DisplayObject.hx",633); - HX_STACK_THIS(this); - HX_STACK_LINE(633) - return ::neash::display::DisplayObject_obj::nme_display_object_get_mouse_x(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetMouseX,return ) - -::neash::display::DisplayObject DisplayObject_obj::nmeSetMask( ::neash::display::DisplayObject inObject){ - HX_STACK_PUSH("DisplayObject::nmeSetMask","neash/display/DisplayObject.hx",626); - HX_STACK_THIS(this); - HX_STACK_ARG(inObject,"inObject"); - HX_STACK_LINE(627) - this->mask = inObject; - HX_STACK_LINE(628) - ::neash::display::DisplayObject_obj::nme_display_object_set_mask(this->nmeHandle,( (((inObject == null()))) ? Dynamic(null()) : Dynamic(inObject->nmeHandle) )); - HX_STACK_LINE(629) - return inObject; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetMask,return ) - -Float DisplayObject_obj::nmeSetHeight( Float inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetHeight","neash/display/DisplayObject.hx",619); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(620) - ::neash::display::DisplayObject_obj::nme_display_object_set_height(this->nmeHandle,inVal); - HX_STACK_LINE(621) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetHeight,return ) - -Float DisplayObject_obj::nmeGetHeight( ){ - HX_STACK_PUSH("DisplayObject::nmeGetHeight","neash/display/DisplayObject.hx",617); - HX_STACK_THIS(this); - HX_STACK_LINE(617) - return ::neash::display::DisplayObject_obj::nme_display_object_get_height(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetHeight,return ) - -::neash::display::Graphics DisplayObject_obj::nmeGetGraphics( ){ - HX_STACK_PUSH("DisplayObject::nmeGetGraphics","neash/display/DisplayObject.hx",610); - HX_STACK_THIS(this); - HX_STACK_LINE(611) - if (((this->nmeGraphicsCache == null()))){ - HX_STACK_LINE(612) - this->nmeGraphicsCache = ::neash::display::Graphics_obj::__new(::neash::display::DisplayObject_obj::nme_display_object_get_graphics(this->nmeHandle)); - } - HX_STACK_LINE(613) - return this->nmeGraphicsCache; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetGraphics,return ) - -Dynamic DisplayObject_obj::nmeSetFilters( Dynamic inFilters){ - HX_STACK_PUSH("DisplayObject::nmeSetFilters","neash/display/DisplayObject.hx",590); - HX_STACK_THIS(this); - HX_STACK_ARG(inFilters,"inFilters"); - HX_STACK_LINE(591) - if (((inFilters == null()))){ - HX_STACK_LINE(592) - this->nmeFilters = null(); - } - else{ - HX_STACK_LINE(597) - this->nmeFilters = Dynamic( Array_obj::__new() ); - HX_STACK_LINE(599) - { - HX_STACK_LINE(599) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(599) - while(((_g < inFilters->__Field(HX_CSTRING("length"),true)))){ - HX_STACK_LINE(599) - Dynamic filter = inFilters->__GetItem(_g); HX_STACK_VAR(filter,"filter"); - HX_STACK_LINE(599) - ++(_g); - HX_STACK_LINE(600) - this->nmeFilters->__Field(HX_CSTRING("push"),true)(filter->__Field(HX_CSTRING("clone"),true)()); - } - } - } - HX_STACK_LINE(603) - ::neash::display::DisplayObject_obj::nme_display_object_set_filters(this->nmeHandle,this->nmeFilters); - HX_STACK_LINE(605) - return inFilters; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetFilters,return ) - -Dynamic DisplayObject_obj::nmeGetFilters( ){ - HX_STACK_PUSH("DisplayObject::nmeGetFilters","neash/display/DisplayObject.hx",577); - HX_STACK_THIS(this); - HX_STACK_LINE(578) - if (((this->nmeFilters == null()))){ - HX_STACK_LINE(578) - return Dynamic( Array_obj::__new()); - } - HX_STACK_LINE(580) - Dynamic result = Dynamic( Array_obj::__new() ); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(582) - { - HX_STACK_LINE(582) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Dynamic _g1 = this->nmeFilters; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(582) - while(((_g < _g1->__Field(HX_CSTRING("length"),true)))){ - HX_STACK_LINE(582) - Dynamic filter = _g1->__GetItem(_g); HX_STACK_VAR(filter,"filter"); - HX_STACK_LINE(582) - ++(_g); - HX_STACK_LINE(583) - result->__Field(HX_CSTRING("push"),true)(filter->__Field(HX_CSTRING("clone"),true)()); - } - } - HX_STACK_LINE(585) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetFilters,return ) - -::neash::display::PixelSnapping DisplayObject_obj::nmeSetPixelSnapping( ::neash::display::PixelSnapping inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetPixelSnapping","neash/display/DisplayObject.hx",569); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(570) - if (((inVal == null()))){ - HX_STACK_LINE(571) - ::neash::display::DisplayObject_obj::nme_display_object_set_pixel_snapping(this->nmeHandle,(int)0); - } - HX_STACK_LINE(572) - ::neash::display::DisplayObject_obj::nme_display_object_set_pixel_snapping(this->nmeHandle,inVal->__Index()); - HX_STACK_LINE(573) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetPixelSnapping,return ) - -::neash::display::PixelSnapping DisplayObject_obj::nmeGetPixelSnapping( ){ - HX_STACK_PUSH("DisplayObject::nmeGetPixelSnapping","neash/display/DisplayObject.hx",564); - HX_STACK_THIS(this); - HX_STACK_LINE(565) - int val = ::neash::display::DisplayObject_obj::nme_display_object_get_pixel_snapping(this->nmeHandle); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(566) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::PixelSnapping >(),val,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetPixelSnapping,return ) - -bool DisplayObject_obj::nmeSetPedanticBitmapCaching( bool inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetPedanticBitmapCaching","neash/display/DisplayObject.hx",559); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(560) - ::neash::display::DisplayObject_obj::nme_display_object_set_pedantic_bitmap_caching(this->nmeHandle,inVal); - HX_STACK_LINE(561) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetPedanticBitmapCaching,return ) - -bool DisplayObject_obj::nmeGetPedanticBitmapCaching( ){ - HX_STACK_PUSH("DisplayObject::nmeGetPedanticBitmapCaching","neash/display/DisplayObject.hx",557); - HX_STACK_THIS(this); - HX_STACK_LINE(557) - return ::neash::display::DisplayObject_obj::nme_display_object_get_pedantic_bitmap_caching(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetPedanticBitmapCaching,return ) - -bool DisplayObject_obj::nmeSetCacheAsBitmap( bool inVal){ - HX_STACK_PUSH("DisplayObject::nmeSetCacheAsBitmap","neash/display/DisplayObject.hx",552); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(553) - ::neash::display::DisplayObject_obj::nme_display_object_set_cache_as_bitmap(this->nmeHandle,inVal); - HX_STACK_LINE(554) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetCacheAsBitmap,return ) - -bool DisplayObject_obj::nmeGetCacheAsBitmap( ){ - HX_STACK_PUSH("DisplayObject::nmeGetCacheAsBitmap","neash/display/DisplayObject.hx",550); - HX_STACK_THIS(this); - HX_STACK_LINE(550) - return ::neash::display::DisplayObject_obj::nme_display_object_get_cache_as_bitmap(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetCacheAsBitmap,return ) - -::neash::display::BlendMode DisplayObject_obj::nmeSetBlendMode( ::neash::display::BlendMode inMode){ - HX_STACK_PUSH("DisplayObject::nmeSetBlendMode","neash/display/DisplayObject.hx",544); - HX_STACK_THIS(this); - HX_STACK_ARG(inMode,"inMode"); - HX_STACK_LINE(545) - ::neash::display::DisplayObject_obj::nme_display_object_set_blend_mode(this->nmeHandle,inMode->__Index()); - HX_STACK_LINE(546) - return inMode; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetBlendMode,return ) - -::neash::display::BlendMode DisplayObject_obj::nmeGetBlendMode( ){ - HX_STACK_PUSH("DisplayObject::nmeGetBlendMode","neash/display/DisplayObject.hx",537); - HX_STACK_THIS(this); - HX_STACK_LINE(538) - int i = ::neash::display::DisplayObject_obj::nme_display_object_get_blend_mode(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(539) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::BlendMode >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetBlendMode,return ) - -Dynamic DisplayObject_obj::nmeSetBG( Dynamic inBG){ - HX_STACK_PUSH("DisplayObject::nmeSetBG","neash/display/DisplayObject.hx",526); - HX_STACK_THIS(this); - HX_STACK_ARG(inBG,"inBG"); - HX_STACK_LINE(527) - if (((inBG == null()))){ - HX_STACK_LINE(528) - ::neash::display::DisplayObject_obj::nme_display_object_set_bg(this->nmeHandle,(int)0); - } - else{ - HX_STACK_LINE(530) - ::neash::display::DisplayObject_obj::nme_display_object_set_bg(this->nmeHandle,inBG); - } - HX_STACK_LINE(532) - return inBG; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetBG,return ) - -Dynamic DisplayObject_obj::nmeGetBG( ){ - HX_STACK_PUSH("DisplayObject::nmeGetBG","neash/display/DisplayObject.hx",516); - HX_STACK_THIS(this); - HX_STACK_LINE(517) - int i = ::neash::display::DisplayObject_obj::nme_display_object_get_bg(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(518) - if (((((int(i) & int((int)16777216))) == (int)0))){ - HX_STACK_LINE(519) - return null(); - } - HX_STACK_LINE(521) - return (int(i) & int((int)16777215)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetBG,return ) - -Float DisplayObject_obj::nmeSetAlpha( Float inAlpha){ - HX_STACK_PUSH("DisplayObject::nmeSetAlpha","neash/display/DisplayObject.hx",509); - HX_STACK_THIS(this); - HX_STACK_ARG(inAlpha,"inAlpha"); - HX_STACK_LINE(510) - ::neash::display::DisplayObject_obj::nme_display_object_set_alpha(this->nmeHandle,inAlpha); - HX_STACK_LINE(511) - return inAlpha; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetAlpha,return ) - -Float DisplayObject_obj::nmeGetAlpha( ){ - HX_STACK_PUSH("DisplayObject::nmeGetAlpha","neash/display/DisplayObject.hx",507); - HX_STACK_THIS(this); - HX_STACK_LINE(507) - return ::neash::display::DisplayObject_obj::nme_display_object_get_alpha(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetAlpha,return ) - -::String DisplayObject_obj::toString( ){ - HX_STACK_PUSH("DisplayObject::toString","neash/display/DisplayObject.hx",497); - HX_STACK_THIS(this); - HX_STACK_LINE(497) - return this->nmeGetName(); -} - - -Void DisplayObject_obj::nmeSetMatrix( ::neash::geom::Matrix inMatrix){ -{ - HX_STACK_PUSH("DisplayObject::nmeSetMatrix","neash/display/DisplayObject.hx",488); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_LINE(488) - ::neash::display::DisplayObject_obj::nme_display_object_set_matrix(this->nmeHandle,inMatrix); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetMatrix,(void)) - -Void DisplayObject_obj::nmeSetColorTransform( ::neash::geom::ColorTransform inTrans){ -{ - HX_STACK_PUSH("DisplayObject::nmeSetColorTransform","neash/display/DisplayObject.hx",482); - HX_STACK_THIS(this); - HX_STACK_ARG(inTrans,"inTrans"); - HX_STACK_LINE(482) - ::neash::display::DisplayObject_obj::nme_display_object_set_color_transform(this->nmeHandle,inTrans); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeSetColorTransform,(void)) - -Void DisplayObject_obj::nmeOnRemoved( ::neash::display::DisplayObject inObj,bool inWasOnStage){ -{ - HX_STACK_PUSH("DisplayObject::nmeOnRemoved","neash/display/DisplayObject.hx",464); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inWasOnStage,"inWasOnStage"); - HX_STACK_LINE(465) - if (((inObj == hx::ObjectPtr(this)))){ - HX_STACK_LINE(467) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::Event_obj::REMOVED,true,false); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(468) - evt->nmeSetTarget(inObj); - HX_STACK_LINE(469) - this->dispatchEvent(evt); - } - HX_STACK_LINE(472) - if ((inWasOnStage)){ - HX_STACK_LINE(474) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::Event_obj::REMOVED_FROM_STAGE,false,false); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(475) - evt->nmeSetTarget(inObj); - HX_STACK_LINE(476) - this->dispatchEvent(evt); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObject_obj,nmeOnRemoved,(void)) - -Void DisplayObject_obj::nmeOnAdded( ::neash::display::DisplayObject inObj,bool inIsOnStage){ -{ - HX_STACK_PUSH("DisplayObject::nmeOnAdded","neash/display/DisplayObject.hx",446); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inIsOnStage,"inIsOnStage"); - HX_STACK_LINE(447) - if (((inObj == hx::ObjectPtr(this)))){ - HX_STACK_LINE(449) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::Event_obj::ADDED,true,false); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(450) - evt->nmeSetTarget(inObj); - HX_STACK_LINE(451) - this->dispatchEvent(evt); - } - HX_STACK_LINE(454) - if ((inIsOnStage)){ - HX_STACK_LINE(456) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::Event_obj::ADDED_TO_STAGE,false,false); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(457) - evt->nmeSetTarget(inObj); - HX_STACK_LINE(458) - this->dispatchEvent(evt); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObject_obj,nmeOnAdded,(void)) - -::neash::geom::Rectangle DisplayObject_obj::nmeGetPixelBounds( ){ - HX_STACK_PUSH("DisplayObject::nmeGetPixelBounds","neash/display/DisplayObject.hx",438); - HX_STACK_THIS(this); - HX_STACK_LINE(439) - ::neash::geom::Rectangle rect = ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(rect,"rect"); - HX_STACK_LINE(440) - ::neash::display::DisplayObject_obj::nme_display_object_get_pixel_bounds(this->nmeHandle,rect); - HX_STACK_LINE(441) - return rect; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetPixelBounds,return ) - -Void DisplayObject_obj::nmeGetObjectsUnderPoint( ::neash::geom::Point point,Array< ::neash::display::DisplayObject > result){ -{ - HX_STACK_PUSH("DisplayObject::nmeGetObjectsUnderPoint","neash/display/DisplayObject.hx",431); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_ARG(result,"result"); - HX_STACK_LINE(431) - if ((::neash::display::DisplayObject_obj::nme_display_object_hit_test_point(this->nmeHandle,point->x,point->y,true,false))){ - HX_STACK_LINE(433) - result->push(hx::ObjectPtr(this)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObject_obj,nmeGetObjectsUnderPoint,(void)) - -::neash::geom::Matrix DisplayObject_obj::nmeGetMatrix( ){ - HX_STACK_PUSH("DisplayObject::nmeGetMatrix","neash/display/DisplayObject.hx",423); - HX_STACK_THIS(this); - HX_STACK_LINE(424) - ::neash::geom::Matrix mtx = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(mtx,"mtx"); - HX_STACK_LINE(425) - ::neash::display::DisplayObject_obj::nme_display_object_get_matrix(this->nmeHandle,mtx,false); - HX_STACK_LINE(426) - return mtx; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetMatrix,return ) - -Void DisplayObject_obj::nmeGetInteractiveObjectStack( Array< ::neash::display::InteractiveObject > outStack){ -{ - HX_STACK_PUSH("DisplayObject::nmeGetInteractiveObjectStack","neash/display/DisplayObject.hx",411); - HX_STACK_THIS(this); - HX_STACK_ARG(outStack,"outStack"); - HX_STACK_LINE(412) - ::neash::display::InteractiveObject io = this->nmeAsInteractiveObject(); HX_STACK_VAR(io,"io"); - HX_STACK_LINE(414) - if (((io != null()))){ - HX_STACK_LINE(415) - outStack->push(io); - } - HX_STACK_LINE(417) - if (((this->nmeParent != null()))){ - HX_STACK_LINE(418) - this->nmeParent->nmeGetInteractiveObjectStack(outStack); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeGetInteractiveObjectStack,(void)) - -::neash::geom::Matrix DisplayObject_obj::nmeGetConcatenatedMatrix( ){ - HX_STACK_PUSH("DisplayObject::nmeGetConcatenatedMatrix","neash/display/DisplayObject.hx",403); - HX_STACK_THIS(this); - HX_STACK_LINE(404) - ::neash::geom::Matrix mtx = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(mtx,"mtx"); - HX_STACK_LINE(405) - ::neash::display::DisplayObject_obj::nme_display_object_get_matrix(this->nmeHandle,mtx,true); - HX_STACK_LINE(406) - return mtx; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetConcatenatedMatrix,return ) - -::neash::geom::ColorTransform DisplayObject_obj::nmeGetConcatenatedColorTransform( ){ - HX_STACK_PUSH("DisplayObject::nmeGetConcatenatedColorTransform","neash/display/DisplayObject.hx",395); - HX_STACK_THIS(this); - HX_STACK_LINE(396) - ::neash::geom::ColorTransform trans = ::neash::geom::ColorTransform_obj::__new(null(),null(),null(),null(),null(),null(),null(),null()); HX_STACK_VAR(trans,"trans"); - HX_STACK_LINE(397) - ::neash::display::DisplayObject_obj::nme_display_object_get_color_transform(this->nmeHandle,trans,true); - HX_STACK_LINE(398) - return trans; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetConcatenatedColorTransform,return ) - -::neash::geom::ColorTransform DisplayObject_obj::nmeGetColorTransform( ){ - HX_STACK_PUSH("DisplayObject::nmeGetColorTransform","neash/display/DisplayObject.hx",387); - HX_STACK_THIS(this); - HX_STACK_LINE(388) - ::neash::geom::ColorTransform trans = ::neash::geom::ColorTransform_obj::__new(null(),null(),null(),null(),null(),null(),null(),null()); HX_STACK_VAR(trans,"trans"); - HX_STACK_LINE(389) - ::neash::display::DisplayObject_obj::nme_display_object_get_color_transform(this->nmeHandle,trans,false); - HX_STACK_LINE(390) - return trans; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeGetColorTransform,return ) - -Void DisplayObject_obj::nmeFireEvent( ::neash::events::Event inEvt){ -{ - HX_STACK_PUSH("DisplayObject::nmeFireEvent","neash/display/DisplayObject.hx",335); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvt,"inEvt"); - HX_STACK_LINE(336) - Array< ::neash::display::InteractiveObject > stack = Array_obj< ::neash::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(338) - if (((this->nmeParent != null()))){ - HX_STACK_LINE(339) - this->nmeParent->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(341) - int l = stack->length; HX_STACK_VAR(l,"l"); - HX_STACK_LINE(343) - if (((l > (int)0))){ - HX_STACK_LINE(346) - inEvt->nmeSetPhase(::neash::events::EventPhase_obj::CAPTURING_PHASE); - HX_STACK_LINE(347) - stack->reverse(); - HX_STACK_LINE(349) - { - HX_STACK_LINE(349) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(349) - while(((_g < stack->length))){ - HX_STACK_LINE(349) - ::neash::display::InteractiveObject obj = stack->__get(_g); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(349) - ++(_g); - HX_STACK_LINE(351) - inEvt->nmeSetCurrentTarget(obj); - HX_STACK_LINE(352) - obj->nmeDispatchEvent(inEvt); - HX_STACK_LINE(354) - if ((inEvt->nmeGetIsCancelled())){ - HX_STACK_LINE(355) - return null(); - } - } - } - } - HX_STACK_LINE(361) - inEvt->nmeSetPhase(::neash::events::EventPhase_obj::AT_TARGET); - HX_STACK_LINE(362) - inEvt->nmeSetCurrentTarget(hx::ObjectPtr(this)); - HX_STACK_LINE(363) - this->nmeDispatchEvent(inEvt); - HX_STACK_LINE(365) - if ((inEvt->nmeGetIsCancelled())){ - HX_STACK_LINE(366) - return null(); - } - HX_STACK_LINE(369) - if ((inEvt->nmeGetBubbles())){ - HX_STACK_LINE(371) - inEvt->nmeSetPhase(::neash::events::EventPhase_obj::BUBBLING_PHASE); - HX_STACK_LINE(372) - stack->reverse(); - HX_STACK_LINE(374) - { - HX_STACK_LINE(374) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(374) - while(((_g < stack->length))){ - HX_STACK_LINE(374) - ::neash::display::InteractiveObject obj = stack->__get(_g); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(374) - ++(_g); - HX_STACK_LINE(376) - inEvt->nmeSetCurrentTarget(obj); - HX_STACK_LINE(377) - obj->nmeDispatchEvent(inEvt); - HX_STACK_LINE(379) - if ((inEvt->nmeGetIsCancelled())){ - HX_STACK_LINE(380) - return null(); - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeFireEvent,(void)) - -::neash::display::DisplayObject DisplayObject_obj::nmeFindByID( int inID){ - HX_STACK_PUSH("DisplayObject::nmeFindByID","neash/display/DisplayObject.hx",327); - HX_STACK_THIS(this); - HX_STACK_ARG(inID,"inID"); - HX_STACK_LINE(328) - if (((this->nmeID == inID))){ - HX_STACK_LINE(329) - return hx::ObjectPtr(this); - } - HX_STACK_LINE(330) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeFindByID,return ) - -Void DisplayObject_obj::nmeDrawToSurface( Dynamic inSurface,::neash::geom::Matrix matrix,::neash::geom::ColorTransform colorTransform,::String blendMode,::neash::geom::Rectangle clipRect,bool smoothing){ -{ - HX_STACK_PUSH("DisplayObject::nmeDrawToSurface","neash/display/DisplayObject.hx",320); - HX_STACK_THIS(this); - HX_STACK_ARG(inSurface,"inSurface"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(colorTransform,"colorTransform"); - HX_STACK_ARG(blendMode,"blendMode"); - HX_STACK_ARG(clipRect,"clipRect"); - HX_STACK_ARG(smoothing,"smoothing"); - HX_STACK_LINE(320) - ::neash::display::DisplayObject_obj::nme_display_object_draw_to_surface(this->nmeHandle,inSurface,matrix,colorTransform,blendMode,clipRect); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(DisplayObject_obj,nmeDrawToSurface,(void)) - -bool DisplayObject_obj::nmeDispatchEvent( ::neash::events::Event inEvt){ - HX_STACK_PUSH("DisplayObject::nmeDispatchEvent","neash/display/DisplayObject.hx",309); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvt,"inEvt"); - HX_STACK_LINE(310) - if (((inEvt->nmeGetTarget() == null()))){ - HX_STACK_LINE(311) - inEvt->nmeSetTarget(hx::ObjectPtr(this)); - } - HX_STACK_LINE(314) - inEvt->nmeSetCurrentTarget(hx::ObjectPtr(this)); - HX_STACK_LINE(315) - return this->super::dispatchEvent(inEvt); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeDispatchEvent,return ) - -Void DisplayObject_obj::nmeBroadcast( ::neash::events::Event inEvt){ -{ - HX_STACK_PUSH("DisplayObject::nmeBroadcast","neash/display/DisplayObject.hx",303); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvt,"inEvt"); - HX_STACK_LINE(303) - this->nmeDispatchEvent(inEvt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,nmeBroadcast,(void)) - -::neash::display::InteractiveObject DisplayObject_obj::nmeAsInteractiveObject( ){ - HX_STACK_PUSH("DisplayObject::nmeAsInteractiveObject","neash/display/DisplayObject.hx",297); - HX_STACK_THIS(this); - HX_STACK_LINE(297) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObject_obj,nmeAsInteractiveObject,return ) - -::neash::geom::Point DisplayObject_obj::localToGlobal( ::neash::geom::Point inLocal){ - HX_STACK_PUSH("DisplayObject::localToGlobal","neash/display/DisplayObject.hx",289); - HX_STACK_THIS(this); - HX_STACK_ARG(inLocal,"inLocal"); - HX_STACK_LINE(290) - ::neash::geom::Point result = inLocal->clone(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(291) - ::neash::display::DisplayObject_obj::nme_display_object_local_to_global(this->nmeHandle,result); - HX_STACK_LINE(292) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,localToGlobal,return ) - -::neash::geom::Rectangle DisplayObject_obj::getRect( ::neash::display::DisplayObject targetCoordinateSpace){ - HX_STACK_PUSH("DisplayObject::getRect","neash/display/DisplayObject.hx",274); - HX_STACK_THIS(this); - HX_STACK_ARG(targetCoordinateSpace,"targetCoordinateSpace"); - HX_STACK_LINE(275) - ::neash::geom::Rectangle result = ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(276) - ::neash::display::DisplayObject_obj::nme_display_object_get_bounds(this->nmeHandle,targetCoordinateSpace->nmeHandle,result,false); - HX_STACK_LINE(277) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,getRect,return ) - -::neash::geom::Rectangle DisplayObject_obj::getBounds( ::neash::display::DisplayObject targetCoordinateSpace){ - HX_STACK_PUSH("DisplayObject::getBounds","neash/display/DisplayObject.hx",267); - HX_STACK_THIS(this); - HX_STACK_ARG(targetCoordinateSpace,"targetCoordinateSpace"); - HX_STACK_LINE(268) - ::neash::geom::Rectangle result = ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(269) - ::neash::display::DisplayObject_obj::nme_display_object_get_bounds(this->nmeHandle,targetCoordinateSpace->nmeHandle,result,true); - HX_STACK_LINE(270) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,getBounds,return ) - -bool DisplayObject_obj::hitTestPoint( Float x,Float y,hx::Null< bool > __o_shapeFlag){ -bool shapeFlag = __o_shapeFlag.Default(false); - HX_STACK_PUSH("DisplayObject::hitTestPoint","neash/display/DisplayObject.hx",262); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_ARG(y,"y"); - HX_STACK_ARG(shapeFlag,"shapeFlag"); -{ - HX_STACK_LINE(262) - return ::neash::display::DisplayObject_obj::nme_display_object_hit_test_point(this->nmeHandle,x,y,shapeFlag,true); - } -} - - -HX_DEFINE_DYNAMIC_FUNC3(DisplayObject_obj,hitTestPoint,return ) - -bool DisplayObject_obj::hitTestObject( ::neash::display::DisplayObject object){ - HX_STACK_PUSH("DisplayObject::hitTestObject","neash/display/DisplayObject.hx",226); - HX_STACK_THIS(this); - HX_STACK_ARG(object,"object"); - HX_STACK_LINE(227) - if (((bool((bool((object != null())) && bool((object->nmeGetParent() != null())))) && bool((this->nmeGetParent() != null()))))){ - HX_STACK_LINE(229) - ::neash::geom::Matrix currentMatrix = this->nmeGetTransform()->nmeGetConcatenatedMatrix(); HX_STACK_VAR(currentMatrix,"currentMatrix"); - HX_STACK_LINE(230) - ::neash::geom::Matrix targetMatrix = object->nmeGetTransform()->nmeGetConcatenatedMatrix(); HX_STACK_VAR(targetMatrix,"targetMatrix"); - HX_STACK_LINE(232) - ::neash::geom::Point xPoint = ::neash::geom::Point_obj::__new((int)1,(int)0); HX_STACK_VAR(xPoint,"xPoint"); - HX_STACK_LINE(233) - ::neash::geom::Point yPoint = ::neash::geom::Point_obj::__new((int)0,(int)1); HX_STACK_VAR(yPoint,"yPoint"); - HX_STACK_LINE(235) - Float currentWidth = (this->nmeGetWidth() * currentMatrix->deltaTransformPoint(xPoint)->nmeGetLength()); HX_STACK_VAR(currentWidth,"currentWidth"); - HX_STACK_LINE(236) - Float currentHeight = (this->nmeGetHeight() * currentMatrix->deltaTransformPoint(yPoint)->nmeGetLength()); HX_STACK_VAR(currentHeight,"currentHeight"); - HX_STACK_LINE(237) - Float targetWidth = (object->nmeGetWidth() * targetMatrix->deltaTransformPoint(xPoint)->nmeGetLength()); HX_STACK_VAR(targetWidth,"targetWidth"); - HX_STACK_LINE(238) - Float targetHeight = (object->nmeGetHeight() * targetMatrix->deltaTransformPoint(yPoint)->nmeGetLength()); HX_STACK_VAR(targetHeight,"targetHeight"); - HX_STACK_LINE(240) - ::neash::geom::Rectangle currentRect = ::neash::geom::Rectangle_obj::__new(currentMatrix->tx,currentMatrix->ty,currentWidth,currentHeight); HX_STACK_VAR(currentRect,"currentRect"); - HX_STACK_LINE(241) - ::neash::geom::Rectangle targetRect = ::neash::geom::Rectangle_obj::__new(targetMatrix->tx,targetMatrix->ty,targetWidth,targetHeight); HX_STACK_VAR(targetRect,"targetRect"); - HX_STACK_LINE(243) - return currentRect->intersects(targetRect); - } - HX_STACK_LINE(246) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,hitTestObject,return ) - -::neash::geom::Point DisplayObject_obj::globalToLocal( ::neash::geom::Point inGlobal){ - HX_STACK_PUSH("DisplayObject::globalToLocal","neash/display/DisplayObject.hx",218); - HX_STACK_THIS(this); - HX_STACK_ARG(inGlobal,"inGlobal"); - HX_STACK_LINE(219) - ::neash::geom::Point result = inGlobal->clone(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(220) - ::neash::display::DisplayObject_obj::nme_display_object_global_to_local(this->nmeHandle,result); - HX_STACK_LINE(221) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObject_obj,globalToLocal,return ) - -bool DisplayObject_obj::dispatchEvent( ::neash::events::Event event){ - HX_STACK_PUSH("DisplayObject::dispatchEvent","neash/display/DisplayObject.hx",196); - HX_STACK_THIS(this); - HX_STACK_ARG(event,"event"); - HX_STACK_LINE(198) - bool result = this->nmeDispatchEvent(event); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(200) - if ((event->nmeGetIsCancelled())){ - HX_STACK_LINE(201) - return true; - } - HX_STACK_LINE(203) - if (((bool(event->nmeGetBubbles()) && bool((this->nmeGetParent() != null()))))){ - HX_STACK_LINE(204) - this->nmeGetParent()->dispatchEvent(event); - } - HX_STACK_LINE(208) - return result; -} - - -Dynamic DisplayObject_obj::nme_create_display_object; - -Dynamic DisplayObject_obj::nme_display_object_get_graphics; - -Dynamic DisplayObject_obj::nme_display_object_draw_to_surface; - -Dynamic DisplayObject_obj::nme_display_object_get_id; - -Dynamic DisplayObject_obj::nme_display_object_get_x; - -Dynamic DisplayObject_obj::nme_display_object_set_x; - -Dynamic DisplayObject_obj::nme_display_object_get_y; - -Dynamic DisplayObject_obj::nme_display_object_set_y; - -Dynamic DisplayObject_obj::nme_display_object_get_scale_x; - -Dynamic DisplayObject_obj::nme_display_object_set_scale_x; - -Dynamic DisplayObject_obj::nme_display_object_get_scale_y; - -Dynamic DisplayObject_obj::nme_display_object_set_scale_y; - -Dynamic DisplayObject_obj::nme_display_object_get_mouse_x; - -Dynamic DisplayObject_obj::nme_display_object_get_mouse_y; - -Dynamic DisplayObject_obj::nme_display_object_get_rotation; - -Dynamic DisplayObject_obj::nme_display_object_set_rotation; - -Dynamic DisplayObject_obj::nme_display_object_get_bg; - -Dynamic DisplayObject_obj::nme_display_object_set_bg; - -Dynamic DisplayObject_obj::nme_display_object_get_name; - -Dynamic DisplayObject_obj::nme_display_object_set_name; - -Dynamic DisplayObject_obj::nme_display_object_get_width; - -Dynamic DisplayObject_obj::nme_display_object_set_width; - -Dynamic DisplayObject_obj::nme_display_object_get_height; - -Dynamic DisplayObject_obj::nme_display_object_set_height; - -Dynamic DisplayObject_obj::nme_display_object_get_alpha; - -Dynamic DisplayObject_obj::nme_display_object_set_alpha; - -Dynamic DisplayObject_obj::nme_display_object_get_blend_mode; - -Dynamic DisplayObject_obj::nme_display_object_set_blend_mode; - -Dynamic DisplayObject_obj::nme_display_object_get_cache_as_bitmap; - -Dynamic DisplayObject_obj::nme_display_object_set_cache_as_bitmap; - -Dynamic DisplayObject_obj::nme_display_object_get_pedantic_bitmap_caching; - -Dynamic DisplayObject_obj::nme_display_object_set_pedantic_bitmap_caching; - -Dynamic DisplayObject_obj::nme_display_object_get_pixel_snapping; - -Dynamic DisplayObject_obj::nme_display_object_set_pixel_snapping; - -Dynamic DisplayObject_obj::nme_display_object_get_visible; - -Dynamic DisplayObject_obj::nme_display_object_set_visible; - -Dynamic DisplayObject_obj::nme_display_object_set_filters; - -Dynamic DisplayObject_obj::nme_display_object_global_to_local; - -Dynamic DisplayObject_obj::nme_display_object_local_to_global; - -Dynamic DisplayObject_obj::nme_display_object_set_scale9_grid; - -Dynamic DisplayObject_obj::nme_display_object_set_scroll_rect; - -Dynamic DisplayObject_obj::nme_display_object_set_mask; - -Dynamic DisplayObject_obj::nme_display_object_set_matrix; - -Dynamic DisplayObject_obj::nme_display_object_get_matrix; - -Dynamic DisplayObject_obj::nme_display_object_get_color_transform; - -Dynamic DisplayObject_obj::nme_display_object_set_color_transform; - -Dynamic DisplayObject_obj::nme_display_object_get_pixel_bounds; - -Dynamic DisplayObject_obj::nme_display_object_get_bounds; - -Dynamic DisplayObject_obj::nme_display_object_hit_test_point; - - -DisplayObject_obj::DisplayObject_obj() -{ -} - -void DisplayObject_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(DisplayObject); - HX_MARK_MEMBER_NAME(nmeScrollRect,"nmeScrollRect"); - HX_MARK_MEMBER_NAME(nmeScale9Grid,"nmeScale9Grid"); - HX_MARK_MEMBER_NAME(nmeParent,"nmeParent"); - HX_MARK_MEMBER_NAME(nmeID,"nmeID"); - HX_MARK_MEMBER_NAME(nmeGraphicsCache,"nmeGraphicsCache"); - HX_MARK_MEMBER_NAME(nmeFilters,"nmeFilters"); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(width,"width"); - HX_MARK_MEMBER_NAME(visible,"visible"); - HX_MARK_MEMBER_NAME(transform,"transform"); - HX_MARK_MEMBER_NAME(stage,"stage"); - HX_MARK_MEMBER_NAME(scrollRect,"scrollRect"); - HX_MARK_MEMBER_NAME(scaleY,"scaleY"); - HX_MARK_MEMBER_NAME(scaleX,"scaleX"); - HX_MARK_MEMBER_NAME(scale9Grid,"scale9Grid"); - HX_MARK_MEMBER_NAME(rotation,"rotation"); - HX_MARK_MEMBER_NAME(parent,"parent"); - HX_MARK_MEMBER_NAME(opaqueBackground,"opaqueBackground"); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_MEMBER_NAME(mouseY,"mouseY"); - HX_MARK_MEMBER_NAME(mouseX,"mouseX"); - HX_MARK_MEMBER_NAME(mask,"mask"); - HX_MARK_MEMBER_NAME(height,"height"); - HX_MARK_MEMBER_NAME(graphics,"graphics"); - HX_MARK_MEMBER_NAME(filters,"filters"); - HX_MARK_MEMBER_NAME(pixelSnapping,"pixelSnapping"); - HX_MARK_MEMBER_NAME(pedanticBitmapCaching,"pedanticBitmapCaching"); - HX_MARK_MEMBER_NAME(cacheAsBitmap,"cacheAsBitmap"); - HX_MARK_MEMBER_NAME(blendMode,"blendMode"); - HX_MARK_MEMBER_NAME(alpha,"alpha"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void DisplayObject_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeScrollRect,"nmeScrollRect"); - HX_VISIT_MEMBER_NAME(nmeScale9Grid,"nmeScale9Grid"); - HX_VISIT_MEMBER_NAME(nmeParent,"nmeParent"); - HX_VISIT_MEMBER_NAME(nmeID,"nmeID"); - HX_VISIT_MEMBER_NAME(nmeGraphicsCache,"nmeGraphicsCache"); - HX_VISIT_MEMBER_NAME(nmeFilters,"nmeFilters"); - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(width,"width"); - HX_VISIT_MEMBER_NAME(visible,"visible"); - HX_VISIT_MEMBER_NAME(transform,"transform"); - HX_VISIT_MEMBER_NAME(stage,"stage"); - HX_VISIT_MEMBER_NAME(scrollRect,"scrollRect"); - HX_VISIT_MEMBER_NAME(scaleY,"scaleY"); - HX_VISIT_MEMBER_NAME(scaleX,"scaleX"); - HX_VISIT_MEMBER_NAME(scale9Grid,"scale9Grid"); - HX_VISIT_MEMBER_NAME(rotation,"rotation"); - HX_VISIT_MEMBER_NAME(parent,"parent"); - HX_VISIT_MEMBER_NAME(opaqueBackground,"opaqueBackground"); - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(name,"name"); - HX_VISIT_MEMBER_NAME(mouseY,"mouseY"); - HX_VISIT_MEMBER_NAME(mouseX,"mouseX"); - HX_VISIT_MEMBER_NAME(mask,"mask"); - HX_VISIT_MEMBER_NAME(height,"height"); - HX_VISIT_MEMBER_NAME(graphics,"graphics"); - HX_VISIT_MEMBER_NAME(filters,"filters"); - HX_VISIT_MEMBER_NAME(pixelSnapping,"pixelSnapping"); - HX_VISIT_MEMBER_NAME(pedanticBitmapCaching,"pedanticBitmapCaching"); - HX_VISIT_MEMBER_NAME(cacheAsBitmap,"cacheAsBitmap"); - HX_VISIT_MEMBER_NAME(blendMode,"blendMode"); - HX_VISIT_MEMBER_NAME(alpha,"alpha"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic DisplayObject_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return inCallProp ? nmeGetY() : y; } - if (HX_FIELD_EQ(inName,"x") ) { return inCallProp ? nmeGetX() : x; } - break; - case 4: - if (HX_FIELD_EQ(inName,"name") ) { return inCallProp ? nmeGetName() : name; } - if (HX_FIELD_EQ(inName,"mask") ) { return mask; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nmeID") ) { return nmeID; } - if (HX_FIELD_EQ(inName,"width") ) { return inCallProp ? nmeGetWidth() : width; } - if (HX_FIELD_EQ(inName,"stage") ) { return inCallProp ? nmeGetStage() : stage; } - if (HX_FIELD_EQ(inName,"alpha") ) { return inCallProp ? nmeGetAlpha() : alpha; } - break; - case 6: - if (HX_FIELD_EQ(inName,"scaleY") ) { return inCallProp ? nmeGetScaleY() : scaleY; } - if (HX_FIELD_EQ(inName,"scaleX") ) { return inCallProp ? nmeGetScaleX() : scaleX; } - if (HX_FIELD_EQ(inName,"parent") ) { return inCallProp ? nmeGetParent() : parent; } - if (HX_FIELD_EQ(inName,"mouseY") ) { return inCallProp ? nmeGetMouseY() : mouseY; } - if (HX_FIELD_EQ(inName,"mouseX") ) { return inCallProp ? nmeGetMouseX() : mouseX; } - if (HX_FIELD_EQ(inName,"height") ) { return inCallProp ? nmeGetHeight() : height; } - break; - case 7: - if (HX_FIELD_EQ(inName,"nmeSetY") ) { return nmeSetY_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetY") ) { return nmeGetY_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetX") ) { return nmeSetX_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetX") ) { return nmeGetX_dyn(); } - if (HX_FIELD_EQ(inName,"getRect") ) { return getRect_dyn(); } - if (HX_FIELD_EQ(inName,"visible") ) { return inCallProp ? nmeGetVisible() : visible; } - if (HX_FIELD_EQ(inName,"filters") ) { return inCallProp ? nmeGetFilters() : filters; } - break; - case 8: - if (HX_FIELD_EQ(inName,"nmeSetBG") ) { return nmeSetBG_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetBG") ) { return nmeGetBG_dyn(); } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"rotation") ) { return inCallProp ? nmeGetRotation() : rotation; } - if (HX_FIELD_EQ(inName,"graphics") ) { return inCallProp ? nmeGetGraphics() : graphics; } - break; - case 9: - if (HX_FIELD_EQ(inName,"getBounds") ) { return getBounds_dyn(); } - if (HX_FIELD_EQ(inName,"nmeParent") ) { return nmeParent; } - if (HX_FIELD_EQ(inName,"transform") ) { return inCallProp ? nmeGetTransform() : transform; } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - if (HX_FIELD_EQ(inName,"blendMode") ) { return inCallProp ? nmeGetBlendMode() : blendMode; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeSetName") ) { return nmeSetName_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetName") ) { return nmeGetName_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetMask") ) { return nmeSetMask_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnAdded") ) { return nmeOnAdded_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFilters") ) { return nmeFilters; } - if (HX_FIELD_EQ(inName,"scrollRect") ) { return inCallProp ? nmeGetScrollRect() : scrollRect; } - if (HX_FIELD_EQ(inName,"scale9Grid") ) { return inCallProp ? nmeGetScale9Grid() : scale9Grid; } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeSetWidth") ) { return nmeSetWidth_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetWidth") ) { return nmeGetWidth_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetStage") ) { return nmeGetStage_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetAlpha") ) { return nmeSetAlpha_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetAlpha") ) { return nmeGetAlpha_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFindByID") ) { return nmeFindByID_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeSetScaleY") ) { return nmeSetScaleY_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetScaleY") ) { return nmeGetScaleY_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetScaleX") ) { return nmeSetScaleX_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetScaleX") ) { return nmeGetScaleX_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetParent") ) { return nmeSetParent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetParent") ) { return nmeGetParent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMouseY") ) { return nmeGetMouseY_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMouseX") ) { return nmeGetMouseX_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetHeight") ) { return nmeSetHeight_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetHeight") ) { return nmeGetHeight_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetMatrix") ) { return nmeSetMatrix_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnRemoved") ) { return nmeOnRemoved_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMatrix") ) { return nmeGetMatrix_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFireEvent") ) { return nmeFireEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeBroadcast") ) { return nmeBroadcast_dyn(); } - if (HX_FIELD_EQ(inName,"hitTestPoint") ) { return hitTestPoint_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"nmeSetVisible") ) { return nmeSetVisible_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetVisible") ) { return nmeGetVisible_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetFilters") ) { return nmeSetFilters_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetFilters") ) { return nmeGetFilters_dyn(); } - if (HX_FIELD_EQ(inName,"localToGlobal") ) { return localToGlobal_dyn(); } - if (HX_FIELD_EQ(inName,"hitTestObject") ) { return hitTestObject_dyn(); } - if (HX_FIELD_EQ(inName,"globalToLocal") ) { return globalToLocal_dyn(); } - if (HX_FIELD_EQ(inName,"dispatchEvent") ) { return dispatchEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeScrollRect") ) { return nmeScrollRect; } - if (HX_FIELD_EQ(inName,"nmeScale9Grid") ) { return nmeScale9Grid; } - if (HX_FIELD_EQ(inName,"pixelSnapping") ) { return inCallProp ? nmeGetPixelSnapping() : pixelSnapping; } - if (HX_FIELD_EQ(inName,"cacheAsBitmap") ) { return inCallProp ? nmeGetCacheAsBitmap() : cacheAsBitmap; } - break; - case 14: - if (HX_FIELD_EQ(inName,"nmeSetRotation") ) { return nmeSetRotation_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetRotation") ) { return nmeGetRotation_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetGraphics") ) { return nmeGetGraphics_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeSetTransform") ) { return nmeSetTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTransform") ) { return nmeGetTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetBlendMode") ) { return nmeSetBlendMode_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetBlendMode") ) { return nmeGetBlendMode_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeSetScrollRect") ) { return nmeSetScrollRect_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetScrollRect") ) { return nmeGetScrollRect_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetScale9Grid") ) { return nmeSetScale9Grid_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetScale9Grid") ) { return nmeGetScale9Grid_dyn(); } - if (HX_FIELD_EQ(inName,"nmeDrawToSurface") ) { return nmeDrawToSurface_dyn(); } - if (HX_FIELD_EQ(inName,"nmeDispatchEvent") ) { return nmeDispatchEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGraphicsCache") ) { return nmeGraphicsCache; } - if (HX_FIELD_EQ(inName,"opaqueBackground") ) { return inCallProp ? nmeGetBG() : opaqueBackground; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeGetPixelBounds") ) { return nmeGetPixelBounds_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"nmeSetPixelSnapping") ) { return nmeSetPixelSnapping_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetPixelSnapping") ) { return nmeGetPixelSnapping_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetCacheAsBitmap") ) { return nmeSetCacheAsBitmap_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetCacheAsBitmap") ) { return nmeGetCacheAsBitmap_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeSetColorTransform") ) { return nmeSetColorTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetColorTransform") ) { return nmeGetColorTransform_dyn(); } - break; - case 21: - if (HX_FIELD_EQ(inName,"pedanticBitmapCaching") ) { return inCallProp ? nmeGetPedanticBitmapCaching() : pedanticBitmapCaching; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nmeAsInteractiveObject") ) { return nmeAsInteractiveObject_dyn(); } - break; - case 23: - if (HX_FIELD_EQ(inName,"nmeGetObjectsUnderPoint") ) { return nmeGetObjectsUnderPoint_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_display_object_get_x") ) { return nme_display_object_get_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_x") ) { return nme_display_object_set_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_y") ) { return nme_display_object_get_y; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_y") ) { return nme_display_object_set_y; } - if (HX_FIELD_EQ(inName,"nmeGetConcatenatedMatrix") ) { return nmeGetConcatenatedMatrix_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_create_display_object") ) { return nme_create_display_object; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_id") ) { return nme_display_object_get_id; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_bg") ) { return nme_display_object_get_bg; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_bg") ) { return nme_display_object_set_bg; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_display_object_get_name") ) { return nme_display_object_get_name; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_name") ) { return nme_display_object_set_name; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_mask") ) { return nme_display_object_set_mask; } - if (HX_FIELD_EQ(inName,"nmeSetPedanticBitmapCaching") ) { return nmeSetPedanticBitmapCaching_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetPedanticBitmapCaching") ) { return nmeGetPedanticBitmapCaching_dyn(); } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_display_object_get_width") ) { return nme_display_object_get_width; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_width") ) { return nme_display_object_set_width; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_alpha") ) { return nme_display_object_get_alpha; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_alpha") ) { return nme_display_object_set_alpha; } - if (HX_FIELD_EQ(inName,"nmeGetInteractiveObjectStack") ) { return nmeGetInteractiveObjectStack_dyn(); } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_display_object_get_height") ) { return nme_display_object_get_height; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_height") ) { return nme_display_object_set_height; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_matrix") ) { return nme_display_object_set_matrix; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_matrix") ) { return nme_display_object_get_matrix; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_bounds") ) { return nme_display_object_get_bounds; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_display_object_get_scale_x") ) { return nme_display_object_get_scale_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale_x") ) { return nme_display_object_set_scale_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_scale_y") ) { return nme_display_object_get_scale_y; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale_y") ) { return nme_display_object_set_scale_y; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_mouse_x") ) { return nme_display_object_get_mouse_x; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_mouse_y") ) { return nme_display_object_get_mouse_y; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_visible") ) { return nme_display_object_get_visible; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_visible") ) { return nme_display_object_set_visible; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_filters") ) { return nme_display_object_set_filters; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_display_object_get_graphics") ) { return nme_display_object_get_graphics; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_rotation") ) { return nme_display_object_get_rotation; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_rotation") ) { return nme_display_object_set_rotation; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nmeGetConcatenatedColorTransform") ) { return nmeGetConcatenatedColorTransform_dyn(); } - break; - case 33: - if (HX_FIELD_EQ(inName,"nme_display_object_get_blend_mode") ) { return nme_display_object_get_blend_mode; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_blend_mode") ) { return nme_display_object_set_blend_mode; } - if (HX_FIELD_EQ(inName,"nme_display_object_hit_test_point") ) { return nme_display_object_hit_test_point; } - break; - case 34: - if (HX_FIELD_EQ(inName,"nme_display_object_draw_to_surface") ) { return nme_display_object_draw_to_surface; } - if (HX_FIELD_EQ(inName,"nme_display_object_global_to_local") ) { return nme_display_object_global_to_local; } - if (HX_FIELD_EQ(inName,"nme_display_object_local_to_global") ) { return nme_display_object_local_to_global; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale9_grid") ) { return nme_display_object_set_scale9_grid; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scroll_rect") ) { return nme_display_object_set_scroll_rect; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pixel_bounds") ) { return nme_display_object_get_pixel_bounds; } - break; - case 37: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pixel_snapping") ) { return nme_display_object_get_pixel_snapping; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_pixel_snapping") ) { return nme_display_object_set_pixel_snapping; } - break; - case 38: - if (HX_FIELD_EQ(inName,"nme_display_object_get_cache_as_bitmap") ) { return nme_display_object_get_cache_as_bitmap; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_cache_as_bitmap") ) { return nme_display_object_set_cache_as_bitmap; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_color_transform") ) { return nme_display_object_get_color_transform; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_color_transform") ) { return nme_display_object_set_color_transform; } - break; - case 46: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pedantic_bitmap_caching") ) { return nme_display_object_get_pedantic_bitmap_caching; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_pedantic_bitmap_caching") ) { return nme_display_object_set_pedantic_bitmap_caching; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic DisplayObject_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { if (inCallProp) return nmeSetY(inValue);y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { if (inCallProp) return nmeSetX(inValue);x=inValue.Cast< Float >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"name") ) { if (inCallProp) return nmeSetName(inValue);name=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"mask") ) { if (inCallProp) return nmeSetMask(inValue);mask=inValue.Cast< ::neash::display::DisplayObject >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"nmeID") ) { nmeID=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"width") ) { if (inCallProp) return nmeSetWidth(inValue);width=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"stage") ) { stage=inValue.Cast< ::neash::display::Stage >(); return inValue; } - if (HX_FIELD_EQ(inName,"alpha") ) { if (inCallProp) return nmeSetAlpha(inValue);alpha=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"scaleY") ) { if (inCallProp) return nmeSetScaleY(inValue);scaleY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"scaleX") ) { if (inCallProp) return nmeSetScaleX(inValue);scaleX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"parent") ) { parent=inValue.Cast< ::neash::display::DisplayObjectContainer >(); return inValue; } - if (HX_FIELD_EQ(inName,"mouseY") ) { mouseY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"mouseX") ) { mouseX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"height") ) { if (inCallProp) return nmeSetHeight(inValue);height=inValue.Cast< Float >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"visible") ) { if (inCallProp) return nmeSetVisible(inValue);visible=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"filters") ) { if (inCallProp) return nmeSetFilters(inValue);filters=inValue.Cast< Dynamic >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"rotation") ) { if (inCallProp) return nmeSetRotation(inValue);rotation=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"graphics") ) { graphics=inValue.Cast< ::neash::display::Graphics >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeParent") ) { nmeParent=inValue.Cast< ::neash::display::DisplayObjectContainer >(); return inValue; } - if (HX_FIELD_EQ(inName,"transform") ) { if (inCallProp) return nmeSetTransform(inValue);transform=inValue.Cast< ::neash::geom::Transform >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"blendMode") ) { if (inCallProp) return nmeSetBlendMode(inValue);blendMode=inValue.Cast< ::neash::display::BlendMode >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeFilters") ) { nmeFilters=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"scrollRect") ) { if (inCallProp) return nmeSetScrollRect(inValue);scrollRect=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - if (HX_FIELD_EQ(inName,"scale9Grid") ) { if (inCallProp) return nmeSetScale9Grid(inValue);scale9Grid=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"nmeScrollRect") ) { nmeScrollRect=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeScale9Grid") ) { nmeScale9Grid=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - if (HX_FIELD_EQ(inName,"pixelSnapping") ) { if (inCallProp) return nmeSetPixelSnapping(inValue);pixelSnapping=inValue.Cast< ::neash::display::PixelSnapping >(); return inValue; } - if (HX_FIELD_EQ(inName,"cacheAsBitmap") ) { if (inCallProp) return nmeSetCacheAsBitmap(inValue);cacheAsBitmap=inValue.Cast< bool >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeGraphicsCache") ) { nmeGraphicsCache=inValue.Cast< ::neash::display::Graphics >(); return inValue; } - if (HX_FIELD_EQ(inName,"opaqueBackground") ) { if (inCallProp) return nmeSetBG(inValue);opaqueBackground=inValue.Cast< Dynamic >(); return inValue; } - break; - case 21: - if (HX_FIELD_EQ(inName,"pedanticBitmapCaching") ) { if (inCallProp) return nmeSetPedanticBitmapCaching(inValue);pedanticBitmapCaching=inValue.Cast< bool >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_display_object_get_x") ) { nme_display_object_get_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_x") ) { nme_display_object_set_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_y") ) { nme_display_object_get_y=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_y") ) { nme_display_object_set_y=inValue.Cast< Dynamic >(); return inValue; } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_create_display_object") ) { nme_create_display_object=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_id") ) { nme_display_object_get_id=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_bg") ) { nme_display_object_get_bg=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_bg") ) { nme_display_object_set_bg=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_display_object_get_name") ) { nme_display_object_get_name=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_name") ) { nme_display_object_set_name=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_mask") ) { nme_display_object_set_mask=inValue.Cast< Dynamic >(); return inValue; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_display_object_get_width") ) { nme_display_object_get_width=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_width") ) { nme_display_object_set_width=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_alpha") ) { nme_display_object_get_alpha=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_alpha") ) { nme_display_object_set_alpha=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_display_object_get_height") ) { nme_display_object_get_height=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_height") ) { nme_display_object_set_height=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_matrix") ) { nme_display_object_set_matrix=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_matrix") ) { nme_display_object_get_matrix=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_bounds") ) { nme_display_object_get_bounds=inValue.Cast< Dynamic >(); return inValue; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_display_object_get_scale_x") ) { nme_display_object_get_scale_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale_x") ) { nme_display_object_set_scale_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_scale_y") ) { nme_display_object_get_scale_y=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale_y") ) { nme_display_object_set_scale_y=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_mouse_x") ) { nme_display_object_get_mouse_x=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_mouse_y") ) { nme_display_object_get_mouse_y=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_visible") ) { nme_display_object_get_visible=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_visible") ) { nme_display_object_set_visible=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_filters") ) { nme_display_object_set_filters=inValue.Cast< Dynamic >(); return inValue; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_display_object_get_graphics") ) { nme_display_object_get_graphics=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_rotation") ) { nme_display_object_get_rotation=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_rotation") ) { nme_display_object_set_rotation=inValue.Cast< Dynamic >(); return inValue; } - break; - case 33: - if (HX_FIELD_EQ(inName,"nme_display_object_get_blend_mode") ) { nme_display_object_get_blend_mode=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_blend_mode") ) { nme_display_object_set_blend_mode=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_hit_test_point") ) { nme_display_object_hit_test_point=inValue.Cast< Dynamic >(); return inValue; } - break; - case 34: - if (HX_FIELD_EQ(inName,"nme_display_object_draw_to_surface") ) { nme_display_object_draw_to_surface=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_global_to_local") ) { nme_display_object_global_to_local=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_local_to_global") ) { nme_display_object_local_to_global=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scale9_grid") ) { nme_display_object_set_scale9_grid=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_scroll_rect") ) { nme_display_object_set_scroll_rect=inValue.Cast< Dynamic >(); return inValue; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pixel_bounds") ) { nme_display_object_get_pixel_bounds=inValue.Cast< Dynamic >(); return inValue; } - break; - case 37: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pixel_snapping") ) { nme_display_object_get_pixel_snapping=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_pixel_snapping") ) { nme_display_object_set_pixel_snapping=inValue.Cast< Dynamic >(); return inValue; } - break; - case 38: - if (HX_FIELD_EQ(inName,"nme_display_object_get_cache_as_bitmap") ) { nme_display_object_get_cache_as_bitmap=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_cache_as_bitmap") ) { nme_display_object_set_cache_as_bitmap=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_color_transform") ) { nme_display_object_get_color_transform=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_color_transform") ) { nme_display_object_set_color_transform=inValue.Cast< Dynamic >(); return inValue; } - break; - case 46: - if (HX_FIELD_EQ(inName,"nme_display_object_get_pedantic_bitmap_caching") ) { nme_display_object_get_pedantic_bitmap_caching=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_set_pedantic_bitmap_caching") ) { nme_display_object_set_pedantic_bitmap_caching=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void DisplayObject_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeScrollRect")); - outFields->push(HX_CSTRING("nmeScale9Grid")); - outFields->push(HX_CSTRING("nmeParent")); - outFields->push(HX_CSTRING("nmeID")); - outFields->push(HX_CSTRING("nmeGraphicsCache")); - outFields->push(HX_CSTRING("nmeFilters")); - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("width")); - outFields->push(HX_CSTRING("visible")); - outFields->push(HX_CSTRING("transform")); - outFields->push(HX_CSTRING("stage")); - outFields->push(HX_CSTRING("scrollRect")); - outFields->push(HX_CSTRING("scaleY")); - outFields->push(HX_CSTRING("scaleX")); - outFields->push(HX_CSTRING("scale9Grid")); - outFields->push(HX_CSTRING("rotation")); - outFields->push(HX_CSTRING("parent")); - outFields->push(HX_CSTRING("opaqueBackground")); - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("name")); - outFields->push(HX_CSTRING("mouseY")); - outFields->push(HX_CSTRING("mouseX")); - outFields->push(HX_CSTRING("mask")); - outFields->push(HX_CSTRING("height")); - outFields->push(HX_CSTRING("graphics")); - outFields->push(HX_CSTRING("filters")); - outFields->push(HX_CSTRING("pixelSnapping")); - outFields->push(HX_CSTRING("pedanticBitmapCaching")); - outFields->push(HX_CSTRING("cacheAsBitmap")); - outFields->push(HX_CSTRING("blendMode")); - outFields->push(HX_CSTRING("alpha")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_create_display_object"), - HX_CSTRING("nme_display_object_get_graphics"), - HX_CSTRING("nme_display_object_draw_to_surface"), - HX_CSTRING("nme_display_object_get_id"), - HX_CSTRING("nme_display_object_get_x"), - HX_CSTRING("nme_display_object_set_x"), - HX_CSTRING("nme_display_object_get_y"), - HX_CSTRING("nme_display_object_set_y"), - HX_CSTRING("nme_display_object_get_scale_x"), - HX_CSTRING("nme_display_object_set_scale_x"), - HX_CSTRING("nme_display_object_get_scale_y"), - HX_CSTRING("nme_display_object_set_scale_y"), - HX_CSTRING("nme_display_object_get_mouse_x"), - HX_CSTRING("nme_display_object_get_mouse_y"), - HX_CSTRING("nme_display_object_get_rotation"), - HX_CSTRING("nme_display_object_set_rotation"), - HX_CSTRING("nme_display_object_get_bg"), - HX_CSTRING("nme_display_object_set_bg"), - HX_CSTRING("nme_display_object_get_name"), - HX_CSTRING("nme_display_object_set_name"), - HX_CSTRING("nme_display_object_get_width"), - HX_CSTRING("nme_display_object_set_width"), - HX_CSTRING("nme_display_object_get_height"), - HX_CSTRING("nme_display_object_set_height"), - HX_CSTRING("nme_display_object_get_alpha"), - HX_CSTRING("nme_display_object_set_alpha"), - HX_CSTRING("nme_display_object_get_blend_mode"), - HX_CSTRING("nme_display_object_set_blend_mode"), - HX_CSTRING("nme_display_object_get_cache_as_bitmap"), - HX_CSTRING("nme_display_object_set_cache_as_bitmap"), - HX_CSTRING("nme_display_object_get_pedantic_bitmap_caching"), - HX_CSTRING("nme_display_object_set_pedantic_bitmap_caching"), - HX_CSTRING("nme_display_object_get_pixel_snapping"), - HX_CSTRING("nme_display_object_set_pixel_snapping"), - HX_CSTRING("nme_display_object_get_visible"), - HX_CSTRING("nme_display_object_set_visible"), - HX_CSTRING("nme_display_object_set_filters"), - HX_CSTRING("nme_display_object_global_to_local"), - HX_CSTRING("nme_display_object_local_to_global"), - HX_CSTRING("nme_display_object_set_scale9_grid"), - HX_CSTRING("nme_display_object_set_scroll_rect"), - HX_CSTRING("nme_display_object_set_mask"), - HX_CSTRING("nme_display_object_set_matrix"), - HX_CSTRING("nme_display_object_get_matrix"), - HX_CSTRING("nme_display_object_get_color_transform"), - HX_CSTRING("nme_display_object_set_color_transform"), - HX_CSTRING("nme_display_object_get_pixel_bounds"), - HX_CSTRING("nme_display_object_get_bounds"), - HX_CSTRING("nme_display_object_hit_test_point"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetY"), - HX_CSTRING("nmeGetY"), - HX_CSTRING("nmeSetX"), - HX_CSTRING("nmeGetX"), - HX_CSTRING("nmeSetWidth"), - HX_CSTRING("nmeGetWidth"), - HX_CSTRING("nmeSetVisible"), - HX_CSTRING("nmeGetVisible"), - HX_CSTRING("nmeSetTransform"), - HX_CSTRING("nmeGetTransform"), - HX_CSTRING("nmeGetStage"), - HX_CSTRING("nmeSetScrollRect"), - HX_CSTRING("nmeGetScrollRect"), - HX_CSTRING("nmeSetScaleY"), - HX_CSTRING("nmeGetScaleY"), - HX_CSTRING("nmeSetScaleX"), - HX_CSTRING("nmeGetScaleX"), - HX_CSTRING("nmeSetScale9Grid"), - HX_CSTRING("nmeGetScale9Grid"), - HX_CSTRING("nmeSetRotation"), - HX_CSTRING("nmeGetRotation"), - HX_CSTRING("nmeSetParent"), - HX_CSTRING("nmeGetParent"), - HX_CSTRING("nmeSetName"), - HX_CSTRING("nmeGetName"), - HX_CSTRING("nmeGetMouseY"), - HX_CSTRING("nmeGetMouseX"), - HX_CSTRING("nmeSetMask"), - HX_CSTRING("nmeSetHeight"), - HX_CSTRING("nmeGetHeight"), - HX_CSTRING("nmeGetGraphics"), - HX_CSTRING("nmeSetFilters"), - HX_CSTRING("nmeGetFilters"), - HX_CSTRING("nmeSetPixelSnapping"), - HX_CSTRING("nmeGetPixelSnapping"), - HX_CSTRING("nmeSetPedanticBitmapCaching"), - HX_CSTRING("nmeGetPedanticBitmapCaching"), - HX_CSTRING("nmeSetCacheAsBitmap"), - HX_CSTRING("nmeGetCacheAsBitmap"), - HX_CSTRING("nmeSetBlendMode"), - HX_CSTRING("nmeGetBlendMode"), - HX_CSTRING("nmeSetBG"), - HX_CSTRING("nmeGetBG"), - HX_CSTRING("nmeSetAlpha"), - HX_CSTRING("nmeGetAlpha"), - HX_CSTRING("toString"), - HX_CSTRING("nmeSetMatrix"), - HX_CSTRING("nmeSetColorTransform"), - HX_CSTRING("nmeOnRemoved"), - HX_CSTRING("nmeOnAdded"), - HX_CSTRING("nmeGetPixelBounds"), - HX_CSTRING("nmeGetObjectsUnderPoint"), - HX_CSTRING("nmeGetMatrix"), - HX_CSTRING("nmeGetInteractiveObjectStack"), - HX_CSTRING("nmeGetConcatenatedMatrix"), - HX_CSTRING("nmeGetConcatenatedColorTransform"), - HX_CSTRING("nmeGetColorTransform"), - HX_CSTRING("nmeFireEvent"), - HX_CSTRING("nmeFindByID"), - HX_CSTRING("nmeDrawToSurface"), - HX_CSTRING("nmeDispatchEvent"), - HX_CSTRING("nmeBroadcast"), - HX_CSTRING("nmeAsInteractiveObject"), - HX_CSTRING("localToGlobal"), - HX_CSTRING("getRect"), - HX_CSTRING("getBounds"), - HX_CSTRING("hitTestPoint"), - HX_CSTRING("hitTestObject"), - HX_CSTRING("globalToLocal"), - HX_CSTRING("dispatchEvent"), - HX_CSTRING("nmeScrollRect"), - HX_CSTRING("nmeScale9Grid"), - HX_CSTRING("nmeParent"), - HX_CSTRING("nmeID"), - HX_CSTRING("nmeGraphicsCache"), - HX_CSTRING("nmeFilters"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("width"), - HX_CSTRING("visible"), - HX_CSTRING("transform"), - HX_CSTRING("stage"), - HX_CSTRING("scrollRect"), - HX_CSTRING("scaleY"), - HX_CSTRING("scaleX"), - HX_CSTRING("scale9Grid"), - HX_CSTRING("rotation"), - HX_CSTRING("parent"), - HX_CSTRING("opaqueBackground"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("name"), - HX_CSTRING("mouseY"), - HX_CSTRING("mouseX"), - HX_CSTRING("mask"), - HX_CSTRING("height"), - HX_CSTRING("graphics"), - HX_CSTRING("filters"), - HX_CSTRING("pixelSnapping"), - HX_CSTRING("pedanticBitmapCaching"), - HX_CSTRING("cacheAsBitmap"), - HX_CSTRING("blendMode"), - HX_CSTRING("alpha"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(DisplayObject_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_create_display_object,"nme_create_display_object"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_graphics,"nme_display_object_get_graphics"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_draw_to_surface,"nme_display_object_draw_to_surface"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_id,"nme_display_object_get_id"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_x,"nme_display_object_get_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_x,"nme_display_object_set_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_y,"nme_display_object_get_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_y,"nme_display_object_set_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_scale_x,"nme_display_object_get_scale_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale_x,"nme_display_object_set_scale_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_scale_y,"nme_display_object_get_scale_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale_y,"nme_display_object_set_scale_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_mouse_x,"nme_display_object_get_mouse_x"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_mouse_y,"nme_display_object_get_mouse_y"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_rotation,"nme_display_object_get_rotation"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_rotation,"nme_display_object_set_rotation"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_bg,"nme_display_object_get_bg"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_bg,"nme_display_object_set_bg"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_name,"nme_display_object_get_name"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_name,"nme_display_object_set_name"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_width,"nme_display_object_get_width"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_width,"nme_display_object_set_width"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_height,"nme_display_object_get_height"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_height,"nme_display_object_set_height"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_alpha,"nme_display_object_get_alpha"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_alpha,"nme_display_object_set_alpha"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_blend_mode,"nme_display_object_get_blend_mode"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_blend_mode,"nme_display_object_set_blend_mode"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_cache_as_bitmap,"nme_display_object_get_cache_as_bitmap"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_cache_as_bitmap,"nme_display_object_set_cache_as_bitmap"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pedantic_bitmap_caching,"nme_display_object_get_pedantic_bitmap_caching"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_pedantic_bitmap_caching,"nme_display_object_set_pedantic_bitmap_caching"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pixel_snapping,"nme_display_object_get_pixel_snapping"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_pixel_snapping,"nme_display_object_set_pixel_snapping"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_visible,"nme_display_object_get_visible"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_visible,"nme_display_object_set_visible"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_filters,"nme_display_object_set_filters"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_global_to_local,"nme_display_object_global_to_local"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_local_to_global,"nme_display_object_local_to_global"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale9_grid,"nme_display_object_set_scale9_grid"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scroll_rect,"nme_display_object_set_scroll_rect"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_mask,"nme_display_object_set_mask"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_matrix,"nme_display_object_set_matrix"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_matrix,"nme_display_object_get_matrix"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_color_transform,"nme_display_object_get_color_transform"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_color_transform,"nme_display_object_set_color_transform"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pixel_bounds,"nme_display_object_get_pixel_bounds"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_bounds,"nme_display_object_get_bounds"); - HX_MARK_MEMBER_NAME(DisplayObject_obj::nme_display_object_hit_test_point,"nme_display_object_hit_test_point"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(DisplayObject_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_create_display_object,"nme_create_display_object"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_graphics,"nme_display_object_get_graphics"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_draw_to_surface,"nme_display_object_draw_to_surface"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_id,"nme_display_object_get_id"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_x,"nme_display_object_get_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_x,"nme_display_object_set_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_y,"nme_display_object_get_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_y,"nme_display_object_set_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_scale_x,"nme_display_object_get_scale_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale_x,"nme_display_object_set_scale_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_scale_y,"nme_display_object_get_scale_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale_y,"nme_display_object_set_scale_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_mouse_x,"nme_display_object_get_mouse_x"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_mouse_y,"nme_display_object_get_mouse_y"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_rotation,"nme_display_object_get_rotation"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_rotation,"nme_display_object_set_rotation"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_bg,"nme_display_object_get_bg"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_bg,"nme_display_object_set_bg"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_name,"nme_display_object_get_name"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_name,"nme_display_object_set_name"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_width,"nme_display_object_get_width"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_width,"nme_display_object_set_width"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_height,"nme_display_object_get_height"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_height,"nme_display_object_set_height"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_alpha,"nme_display_object_get_alpha"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_alpha,"nme_display_object_set_alpha"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_blend_mode,"nme_display_object_get_blend_mode"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_blend_mode,"nme_display_object_set_blend_mode"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_cache_as_bitmap,"nme_display_object_get_cache_as_bitmap"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_cache_as_bitmap,"nme_display_object_set_cache_as_bitmap"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pedantic_bitmap_caching,"nme_display_object_get_pedantic_bitmap_caching"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_pedantic_bitmap_caching,"nme_display_object_set_pedantic_bitmap_caching"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pixel_snapping,"nme_display_object_get_pixel_snapping"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_pixel_snapping,"nme_display_object_set_pixel_snapping"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_visible,"nme_display_object_get_visible"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_visible,"nme_display_object_set_visible"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_filters,"nme_display_object_set_filters"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_global_to_local,"nme_display_object_global_to_local"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_local_to_global,"nme_display_object_local_to_global"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scale9_grid,"nme_display_object_set_scale9_grid"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_scroll_rect,"nme_display_object_set_scroll_rect"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_mask,"nme_display_object_set_mask"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_matrix,"nme_display_object_set_matrix"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_matrix,"nme_display_object_get_matrix"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_color_transform,"nme_display_object_get_color_transform"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_set_color_transform,"nme_display_object_set_color_transform"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_pixel_bounds,"nme_display_object_get_pixel_bounds"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_get_bounds,"nme_display_object_get_bounds"); - HX_VISIT_MEMBER_NAME(DisplayObject_obj::nme_display_object_hit_test_point,"nme_display_object_hit_test_point"); -}; - -Class DisplayObject_obj::__mClass; - -void DisplayObject_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.DisplayObject"), hx::TCanCast< DisplayObject_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void DisplayObject_obj::__boot() -{ - nme_create_display_object= ::neash::Loader_obj::load(HX_CSTRING("nme_create_display_object"),(int)0); - nme_display_object_get_graphics= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_graphics"),(int)1); - nme_display_object_draw_to_surface= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_draw_to_surface"),(int)-1); - nme_display_object_get_id= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_id"),(int)1); - nme_display_object_get_x= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_x"),(int)1); - nme_display_object_set_x= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_x"),(int)2); - nme_display_object_get_y= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_y"),(int)1); - nme_display_object_set_y= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_y"),(int)2); - nme_display_object_get_scale_x= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_scale_x"),(int)1); - nme_display_object_set_scale_x= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_scale_x"),(int)2); - nme_display_object_get_scale_y= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_scale_y"),(int)1); - nme_display_object_set_scale_y= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_scale_y"),(int)2); - nme_display_object_get_mouse_x= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_mouse_x"),(int)1); - nme_display_object_get_mouse_y= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_mouse_y"),(int)1); - nme_display_object_get_rotation= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_rotation"),(int)1); - nme_display_object_set_rotation= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_rotation"),(int)2); - nme_display_object_get_bg= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_bg"),(int)1); - nme_display_object_set_bg= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_bg"),(int)2); - nme_display_object_get_name= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_name"),(int)1); - nme_display_object_set_name= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_name"),(int)2); - nme_display_object_get_width= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_width"),(int)1); - nme_display_object_set_width= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_width"),(int)2); - nme_display_object_get_height= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_height"),(int)1); - nme_display_object_set_height= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_height"),(int)2); - nme_display_object_get_alpha= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_alpha"),(int)1); - nme_display_object_set_alpha= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_alpha"),(int)2); - nme_display_object_get_blend_mode= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_blend_mode"),(int)1); - nme_display_object_set_blend_mode= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_blend_mode"),(int)2); - nme_display_object_get_cache_as_bitmap= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_cache_as_bitmap"),(int)1); - nme_display_object_set_cache_as_bitmap= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_cache_as_bitmap"),(int)2); - nme_display_object_get_pedantic_bitmap_caching= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_pedantic_bitmap_caching"),(int)1); - nme_display_object_set_pedantic_bitmap_caching= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_pedantic_bitmap_caching"),(int)2); - nme_display_object_get_pixel_snapping= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_pixel_snapping"),(int)1); - nme_display_object_set_pixel_snapping= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_pixel_snapping"),(int)2); - nme_display_object_get_visible= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_visible"),(int)1); - nme_display_object_set_visible= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_visible"),(int)2); - nme_display_object_set_filters= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_filters"),(int)2); - nme_display_object_global_to_local= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_global_to_local"),(int)2); - nme_display_object_local_to_global= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_local_to_global"),(int)2); - nme_display_object_set_scale9_grid= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_scale9_grid"),(int)2); - nme_display_object_set_scroll_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_scroll_rect"),(int)2); - nme_display_object_set_mask= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_mask"),(int)2); - nme_display_object_set_matrix= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_matrix"),(int)2); - nme_display_object_get_matrix= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_matrix"),(int)3); - nme_display_object_get_color_transform= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_color_transform"),(int)3); - nme_display_object_set_color_transform= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_color_transform"),(int)2); - nme_display_object_get_pixel_bounds= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_pixel_bounds"),(int)2); - nme_display_object_get_bounds= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_bounds"),(int)4); - nme_display_object_hit_test_point= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_hit_test_point"),(int)5); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/DisplayObjectContainer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/DisplayObjectContainer.cpp deleted file mode 100644 index cd986fb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/DisplayObjectContainer.cpp +++ /dev/null @@ -1,1202 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_errors_ArgumentError -#include -#endif -#ifndef INCLUDED_neash_errors_Error -#include -#endif -#ifndef INCLUDED_neash_errors_RangeError -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -namespace neash{ -namespace display{ - -Void DisplayObjectContainer_obj::__construct(Dynamic inHandle,::String inType) -{ -HX_STACK_PUSH("DisplayObjectContainer::new","neash/display/DisplayObjectContainer.hx",23); -{ - HX_STACK_LINE(24) - super::__construct(inHandle,inType); - HX_STACK_LINE(25) - this->nmeChildren = Array_obj< ::neash::display::DisplayObject >::__new(); -} -; - return null(); -} - -DisplayObjectContainer_obj::~DisplayObjectContainer_obj() { } - -Dynamic DisplayObjectContainer_obj::__CreateEmpty() { return new DisplayObjectContainer_obj; } -hx::ObjectPtr< DisplayObjectContainer_obj > DisplayObjectContainer_obj::__new(Dynamic inHandle,::String inType) -{ hx::ObjectPtr< DisplayObjectContainer_obj > result = new DisplayObjectContainer_obj(); - result->__construct(inHandle,inType); - return result;} - -Dynamic DisplayObjectContainer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< DisplayObjectContainer_obj > result = new DisplayObjectContainer_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -bool DisplayObjectContainer_obj::nmeSetTabChildren( bool inValue){ - HX_STACK_PUSH("DisplayObjectContainer::nmeSetTabChildren","neash/display/DisplayObjectContainer.hx",355); - HX_STACK_THIS(this); - HX_STACK_ARG(inValue,"inValue"); - HX_STACK_LINE(355) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,nmeSetTabChildren,return ) - -bool DisplayObjectContainer_obj::nmeGetTabChildren( ){ - HX_STACK_PUSH("DisplayObjectContainer::nmeGetTabChildren","neash/display/DisplayObjectContainer.hx",354); - HX_STACK_THIS(this); - HX_STACK_LINE(354) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObjectContainer_obj,nmeGetTabChildren,return ) - -int DisplayObjectContainer_obj::nmeGetNumChildren( ){ - HX_STACK_PUSH("DisplayObjectContainer::nmeGetNumChildren","neash/display/DisplayObjectContainer.hx",353); - HX_STACK_THIS(this); - HX_STACK_LINE(353) - return this->nmeChildren->length; -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObjectContainer_obj,nmeGetNumChildren,return ) - -bool DisplayObjectContainer_obj::nmeSetMouseChildren( bool inVal){ - HX_STACK_PUSH("DisplayObjectContainer::nmeSetMouseChildren","neash/display/DisplayObjectContainer.hx",347); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(348) - ::neash::display::DisplayObjectContainer_obj::nme_doc_set_mouse_children(this->nmeHandle,inVal); - HX_STACK_LINE(349) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,nmeSetMouseChildren,return ) - -bool DisplayObjectContainer_obj::nmeGetMouseChildren( ){ - HX_STACK_PUSH("DisplayObjectContainer::nmeGetMouseChildren","neash/display/DisplayObjectContainer.hx",345); - HX_STACK_THIS(this); - HX_STACK_LINE(345) - return ::neash::display::DisplayObjectContainer_obj::nme_doc_get_mouse_children(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(DisplayObjectContainer_obj,nmeGetMouseChildren,return ) - -Void DisplayObjectContainer_obj::swapChildrenAt( int index1,int index2){ -{ - HX_STACK_PUSH("DisplayObjectContainer::swapChildrenAt","neash/display/DisplayObjectContainer.hx",335); - HX_STACK_THIS(this); - HX_STACK_ARG(index1,"index1"); - HX_STACK_ARG(index2,"index2"); - HX_STACK_LINE(336) - if (((bool((bool((bool((index1 < (int)0)) || bool((index2 < (int)0)))) || bool((index1 > this->nmeChildren->length)))) || bool((index2 > this->nmeChildren->length))))){ - HX_STACK_LINE(336) - hx::Throw (::neash::errors::RangeError_obj::__new(HX_CSTRING("swapChildrenAt : index out of bounds"))); - } - HX_STACK_LINE(336) - if (((index1 != index2))){ - HX_STACK_LINE(336) - ::neash::display::DisplayObject tmp = this->nmeChildren->__get(index1); HX_STACK_VAR(tmp,"tmp"); - HX_STACK_LINE(336) - this->nmeChildren[index1] = this->nmeChildren->__get(index2); - HX_STACK_LINE(336) - this->nmeChildren[index2] = tmp; - HX_STACK_LINE(336) - ::neash::display::DisplayObjectContainer_obj::nme_doc_swap_children(this->nmeHandle,index1,index2); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,swapChildrenAt,(void)) - -Void DisplayObjectContainer_obj::swapChildren( ::neash::display::DisplayObject child1,::neash::display::DisplayObject child2){ -{ - HX_STACK_PUSH("DisplayObjectContainer::swapChildren","neash/display/DisplayObjectContainer.hx",325); - HX_STACK_THIS(this); - HX_STACK_ARG(child1,"child1"); - HX_STACK_ARG(child2,"child2"); - HX_STACK_LINE(326) - int idx1 = this->nmeGetChildIndex(child1); HX_STACK_VAR(idx1,"idx1"); - HX_STACK_LINE(327) - int idx2 = this->nmeGetChildIndex(child2); HX_STACK_VAR(idx2,"idx2"); - HX_STACK_LINE(328) - if (((bool((idx1 < (int)0)) || bool((idx2 < (int)0))))){ - HX_STACK_LINE(329) - hx::Throw (HX_CSTRING("swapChildren:Could not find children")); - } - HX_STACK_LINE(330) - { - HX_STACK_LINE(330) - if (((bool((bool((bool((idx1 < (int)0)) || bool((idx2 < (int)0)))) || bool((idx1 > this->nmeChildren->length)))) || bool((idx2 > this->nmeChildren->length))))){ - HX_STACK_LINE(330) - hx::Throw (::neash::errors::RangeError_obj::__new(HX_CSTRING("swapChildrenAt : index out of bounds"))); - } - HX_STACK_LINE(330) - if (((idx1 != idx2))){ - HX_STACK_LINE(330) - ::neash::display::DisplayObject tmp = this->nmeChildren->__get(idx1); HX_STACK_VAR(tmp,"tmp"); - HX_STACK_LINE(330) - this->nmeChildren[idx1] = this->nmeChildren->__get(idx2); - HX_STACK_LINE(330) - this->nmeChildren[idx2] = tmp; - HX_STACK_LINE(330) - ::neash::display::DisplayObjectContainer_obj::nme_doc_swap_children(this->nmeHandle,idx1,idx2); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,swapChildren,(void)) - -Void DisplayObjectContainer_obj::setChildIndex( ::neash::display::DisplayObject child,int index){ -{ - HX_STACK_PUSH("DisplayObjectContainer::setChildIndex","neash/display/DisplayObjectContainer.hx",319); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(320) - if (((index > this->nmeChildren->length))){ - HX_STACK_LINE(320) - hx::Throw ((HX_CSTRING("Invalid index position ") + index)); - } - HX_STACK_LINE(320) - ::neash::display::DisplayObject s = null(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(320) - int orig = this->nmeGetChildIndex(child); HX_STACK_VAR(orig,"orig"); - HX_STACK_LINE(320) - if (((orig < (int)0))){ - HX_STACK_LINE(320) - ::String msg = ((HX_CSTRING("setChildIndex : object ") + child->toString()) + HX_CSTRING(" not found.")); HX_STACK_VAR(msg,"msg"); - HX_STACK_LINE(320) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(320) - int realindex = (int)-1; HX_STACK_VAR(realindex,"realindex"); - HX_STACK_LINE(320) - { - HX_STACK_LINE(320) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->nmeChildren->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(320) - while(((_g1 < _g))){ - HX_STACK_LINE(320) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(320) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(320) - realindex = i; - HX_STACK_LINE(320) - break; - } - } - } - HX_STACK_LINE(320) - if (((realindex != (int)-1))){ - HX_STACK_LINE(320) - hx::AddEq(msg,(HX_CSTRING("Internal error: Real child index was ") + ::Std_obj::string(realindex))); - } - else{ - HX_STACK_LINE(320) - hx::AddEq(msg,HX_CSTRING("Internal error: Child was not in nmeChildren array!")); - } - } - HX_STACK_LINE(320) - hx::Throw (msg); - } - HX_STACK_LINE(320) - ::neash::display::DisplayObjectContainer_obj::nme_doc_set_child_index(this->nmeHandle,child->nmeHandle,index); - HX_STACK_LINE(320) - if (((index < orig))){ - HX_STACK_LINE(320) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(320) - while(((i > index))){ - HX_STACK_LINE(320) - this->nmeChildren[i] = this->nmeChildren->__get((i - (int)1)); - HX_STACK_LINE(320) - (i)--; - } - HX_STACK_LINE(320) - this->nmeChildren[index] = child; - } - else{ - HX_STACK_LINE(320) - if (((orig < index))){ - HX_STACK_LINE(320) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(320) - while(((i < index))){ - HX_STACK_LINE(320) - this->nmeChildren[i] = this->nmeChildren->__get((i + (int)1)); - HX_STACK_LINE(320) - (i)++; - } - HX_STACK_LINE(320) - this->nmeChildren[index] = child; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,setChildIndex,(void)) - -::neash::display::DisplayObject DisplayObjectContainer_obj::removeChildAt( int index){ - HX_STACK_PUSH("DisplayObjectContainer::removeChildAt","neash/display/DisplayObjectContainer.hx",306); - HX_STACK_THIS(this); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(307) - if (((bool((index >= (int)0)) && bool((index < this->nmeChildren->length))))){ - HX_STACK_LINE(309) - ::neash::display::DisplayObject result = this->nmeChildren->__get(index); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(310) - result->nmeSetParent(null()); - HX_STACK_LINE(311) - return result; - } - HX_STACK_LINE(314) - hx::Throw (::neash::errors::ArgumentError_obj::__new(HX_CSTRING("The supplied DisplayObject must be a child of the caller."),null())); - HX_STACK_LINE(314) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,removeChildAt,return ) - -::neash::display::DisplayObject DisplayObjectContainer_obj::removeChild( ::neash::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::removeChild","neash/display/DisplayObjectContainer.hx",290); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(291) - int c = this->nmeGetChildIndex(child); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(293) - if (((c >= (int)0))){ - HX_STACK_LINE(295) - child->nmeSetParent(null()); - HX_STACK_LINE(296) - return child; - } - HX_STACK_LINE(301) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,removeChild,return ) - -Void DisplayObjectContainer_obj::nmeSwapChildrenAt( int index1,int index2){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeSwapChildrenAt","neash/display/DisplayObjectContainer.hx",275); - HX_STACK_THIS(this); - HX_STACK_ARG(index1,"index1"); - HX_STACK_ARG(index2,"index2"); - HX_STACK_LINE(276) - if (((bool((bool((bool((index1 < (int)0)) || bool((index2 < (int)0)))) || bool((index1 > this->nmeChildren->length)))) || bool((index2 > this->nmeChildren->length))))){ - HX_STACK_LINE(277) - hx::Throw (::neash::errors::RangeError_obj::__new(HX_CSTRING("swapChildrenAt : index out of bounds"))); - } - HX_STACK_LINE(279) - if (((index1 != index2))){ - HX_STACK_LINE(281) - ::neash::display::DisplayObject tmp = this->nmeChildren->__get(index1); HX_STACK_VAR(tmp,"tmp"); - HX_STACK_LINE(282) - this->nmeChildren[index1] = this->nmeChildren->__get(index2); - HX_STACK_LINE(283) - this->nmeChildren[index2] = tmp; - HX_STACK_LINE(284) - ::neash::display::DisplayObjectContainer_obj::nme_doc_swap_children(this->nmeHandle,index1,index2); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,nmeSwapChildrenAt,(void)) - -Void DisplayObjectContainer_obj::nmeSetChildIndex( ::neash::display::DisplayObject child,int index){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeSetChildIndex","neash/display/DisplayObjectContainer.hx",212); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(213) - if (((index > this->nmeChildren->length))){ - HX_STACK_LINE(214) - hx::Throw ((HX_CSTRING("Invalid index position ") + index)); - } - HX_STACK_LINE(216) - ::neash::display::DisplayObject s = null(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(217) - int orig = this->nmeGetChildIndex(child); HX_STACK_VAR(orig,"orig"); - HX_STACK_LINE(219) - if (((orig < (int)0))){ - HX_STACK_LINE(221) - ::String msg = ((HX_CSTRING("setChildIndex : object ") + child->toString()) + HX_CSTRING(" not found.")); HX_STACK_VAR(msg,"msg"); - HX_STACK_LINE(223) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(225) - int realindex = (int)-1; HX_STACK_VAR(realindex,"realindex"); - HX_STACK_LINE(227) - { - HX_STACK_LINE(227) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->nmeChildren->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(227) - while(((_g1 < _g))){ - HX_STACK_LINE(227) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(229) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(231) - realindex = i; - HX_STACK_LINE(232) - break; - } - } - } - HX_STACK_LINE(236) - if (((realindex != (int)-1))){ - HX_STACK_LINE(237) - hx::AddEq(msg,(HX_CSTRING("Internal error: Real child index was ") + ::Std_obj::string(realindex))); - } - else{ - HX_STACK_LINE(239) - hx::AddEq(msg,HX_CSTRING("Internal error: Child was not in nmeChildren array!")); - } - } - HX_STACK_LINE(242) - hx::Throw (msg); - } - HX_STACK_LINE(245) - ::neash::display::DisplayObjectContainer_obj::nme_doc_set_child_index(this->nmeHandle,child->nmeHandle,index); - HX_STACK_LINE(247) - if (((index < orig))){ - HX_STACK_LINE(249) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(251) - while(((i > index))){ - HX_STACK_LINE(253) - this->nmeChildren[i] = this->nmeChildren->__get((i - (int)1)); - HX_STACK_LINE(254) - (i)--; - } - HX_STACK_LINE(257) - this->nmeChildren[index] = child; - } - else{ - HX_STACK_LINE(260) - if (((orig < index))){ - HX_STACK_LINE(262) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(263) - while(((i < index))){ - HX_STACK_LINE(265) - this->nmeChildren[i] = this->nmeChildren->__get((i + (int)1)); - HX_STACK_LINE(266) - (i)++; - } - HX_STACK_LINE(269) - this->nmeChildren[index] = child; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,nmeSetChildIndex,(void)) - -Void DisplayObjectContainer_obj::nmeRemoveChildFromArray( ::neash::display::DisplayObject child){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeRemoveChildFromArray","neash/display/DisplayObjectContainer.hx",200); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(201) - int i = this->nmeGetChildIndex(child); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(203) - if (((i >= (int)0))){ - HX_STACK_LINE(205) - ::neash::display::DisplayObjectContainer_obj::nme_doc_remove_child(this->nmeHandle,i); - HX_STACK_LINE(206) - this->nmeChildren->splice(i,(int)1); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,nmeRemoveChildFromArray,(void)) - -Void DisplayObjectContainer_obj::nmeOnRemoved( ::neash::display::DisplayObject inObj,bool inWasOnStage){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeOnRemoved","neash/display/DisplayObjectContainer.hx",191); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inWasOnStage,"inWasOnStage"); - HX_STACK_LINE(192) - this->super::nmeOnRemoved(inObj,inWasOnStage); - HX_STACK_LINE(194) - { - HX_STACK_LINE(194) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(194) - while(((_g < _g1->length))){ - HX_STACK_LINE(194) - ::neash::display::DisplayObject child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(194) - ++(_g); - HX_STACK_LINE(195) - child->nmeOnRemoved(inObj,inWasOnStage); - } - } - } -return null(); -} - - -Void DisplayObjectContainer_obj::nmeOnAdded( ::neash::display::DisplayObject inObj,bool inIsOnStage){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeOnAdded","neash/display/DisplayObjectContainer.hx",182); - HX_STACK_THIS(this); - HX_STACK_ARG(inObj,"inObj"); - HX_STACK_ARG(inIsOnStage,"inIsOnStage"); - HX_STACK_LINE(183) - this->super::nmeOnAdded(inObj,inIsOnStage); - HX_STACK_LINE(185) - { - HX_STACK_LINE(185) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(185) - while(((_g < _g1->length))){ - HX_STACK_LINE(185) - ::neash::display::DisplayObject child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(185) - ++(_g); - HX_STACK_LINE(186) - child->nmeOnAdded(inObj,inIsOnStage); - } - } - } -return null(); -} - - -Void DisplayObjectContainer_obj::nmeGetObjectsUnderPoint( ::neash::geom::Point point,Array< ::neash::display::DisplayObject > result){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeGetObjectsUnderPoint","neash/display/DisplayObjectContainer.hx",173); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_ARG(result,"result"); - HX_STACK_LINE(174) - this->super::nmeGetObjectsUnderPoint(point,result); - HX_STACK_LINE(176) - { - HX_STACK_LINE(176) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(176) - while(((_g < _g1->length))){ - HX_STACK_LINE(176) - ::neash::display::DisplayObject child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(176) - ++(_g); - HX_STACK_LINE(177) - child->nmeGetObjectsUnderPoint(point,result); - } - } - } -return null(); -} - - -int DisplayObjectContainer_obj::nmeGetChildIndex( ::neash::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::nmeGetChildIndex","neash/display/DisplayObjectContainer.hx",164); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(165) - { - HX_STACK_LINE(165) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->nmeChildren->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(165) - while(((_g1 < _g))){ - HX_STACK_LINE(165) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(166) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(167) - return i; - } - } - } - HX_STACK_LINE(168) - return (int)-1; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,nmeGetChildIndex,return ) - -::neash::display::DisplayObject DisplayObjectContainer_obj::nmeFindByID( int inID){ - HX_STACK_PUSH("DisplayObjectContainer::nmeFindByID","neash/display/DisplayObjectContainer.hx",147); - HX_STACK_THIS(this); - HX_STACK_ARG(inID,"inID"); - HX_STACK_LINE(148) - if (((this->nmeID == inID))){ - HX_STACK_LINE(149) - return hx::ObjectPtr(this); - } - HX_STACK_LINE(151) - { - HX_STACK_LINE(151) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(151) - while(((_g < _g1->length))){ - HX_STACK_LINE(151) - ::neash::display::DisplayObject child = _g1->__get(_g); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(151) - ++(_g); - HX_STACK_LINE(153) - ::neash::display::DisplayObject found = child->nmeFindByID(inID); HX_STACK_VAR(found,"found"); - HX_STACK_LINE(155) - if (((found != null()))){ - HX_STACK_LINE(156) - return found; - } - } - } - HX_STACK_LINE(159) - return this->super::nmeFindByID(inID); -} - - -Void DisplayObjectContainer_obj::nmeBroadcast( ::neash::events::Event inEvt){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeBroadcast","neash/display/DisplayObjectContainer.hx",122); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvt,"inEvt"); - HX_STACK_LINE(123) - int i = (int)0; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(125) - if (((this->nmeChildren->length > (int)0))){ - HX_STACK_LINE(126) - while((true)){ - HX_STACK_LINE(128) - ::neash::display::DisplayObject child = this->nmeChildren->__get(i); HX_STACK_VAR(child,"child"); - HX_STACK_LINE(129) - child->nmeBroadcast(inEvt); - HX_STACK_LINE(131) - if (((i >= this->nmeChildren->length))){ - HX_STACK_LINE(132) - break; - } - HX_STACK_LINE(134) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(136) - (i)++; - HX_STACK_LINE(137) - if (((i >= this->nmeChildren->length))){ - HX_STACK_LINE(138) - break; - } - } - } - } - HX_STACK_LINE(142) - this->super::nmeBroadcast(inEvt); - } -return null(); -} - - -Void DisplayObjectContainer_obj::nmeAddChild( ::neash::display::DisplayObject child){ -{ - HX_STACK_PUSH("DisplayObjectContainer::nmeAddChild","neash/display/DisplayObjectContainer.hx",102); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(103) - if (((child == hx::ObjectPtr(this)))){ - HX_STACK_LINE(104) - hx::Throw (HX_CSTRING("Adding to self")); - } - HX_STACK_LINE(108) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(109) - this->setChildIndex(child,(this->nmeChildren->length - (int)1)); - } - else{ - HX_STACK_LINE(114) - child->nmeSetParent(hx::ObjectPtr(this)); - HX_STACK_LINE(115) - this->nmeChildren->push(child); - HX_STACK_LINE(116) - ::neash::display::DisplayObjectContainer_obj::nme_doc_add_child(this->nmeHandle,child->nmeHandle); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,nmeAddChild,(void)) - -Array< ::neash::display::DisplayObject > DisplayObjectContainer_obj::getObjectsUnderPoint( ::neash::geom::Point point){ - HX_STACK_PUSH("DisplayObjectContainer::getObjectsUnderPoint","neash/display/DisplayObjectContainer.hx",94); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(95) - Array< ::neash::display::DisplayObject > result = Array_obj< ::neash::display::DisplayObject >::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(96) - this->nmeGetObjectsUnderPoint(point,result); - HX_STACK_LINE(97) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,getObjectsUnderPoint,return ) - -int DisplayObjectContainer_obj::getChildIndex( ::neash::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::getChildIndex","neash/display/DisplayObjectContainer.hx",88); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(88) - return this->nmeGetChildIndex(child); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,getChildIndex,return ) - -::neash::display::DisplayObject DisplayObjectContainer_obj::getChildByName( ::String name){ - HX_STACK_PUSH("DisplayObjectContainer::getChildByName","neash/display/DisplayObjectContainer.hx",79); - HX_STACK_THIS(this); - HX_STACK_ARG(name,"name"); - HX_STACK_LINE(80) - { - HX_STACK_LINE(80) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(80) - while(((_g < _g1->length))){ - HX_STACK_LINE(80) - ::neash::display::DisplayObject c = _g1->__get(_g); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(80) - ++(_g); - HX_STACK_LINE(81) - if (((name == c->nmeGetName()))){ - HX_STACK_LINE(82) - return c; - } - } - } - HX_STACK_LINE(83) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,getChildByName,return ) - -::neash::display::DisplayObject DisplayObjectContainer_obj::getChildAt( int index){ - HX_STACK_PUSH("DisplayObjectContainer::getChildAt","neash/display/DisplayObjectContainer.hx",67); - HX_STACK_THIS(this); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(68) - if (((bool((index >= (int)0)) && bool((index < this->nmeChildren->length))))){ - HX_STACK_LINE(69) - return this->nmeChildren->__get(index); - } - HX_STACK_LINE(72) - hx::Throw (::neash::errors::RangeError_obj::__new((((HX_CSTRING("getChildAt : index out of bounds ") + index) + HX_CSTRING("/")) + this->nmeChildren->length))); - HX_STACK_LINE(74) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,getChildAt,return ) - -bool DisplayObjectContainer_obj::contains( ::neash::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::contains","neash/display/DisplayObjectContainer.hx",51); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(52) - if (((child == null()))){ - HX_STACK_LINE(53) - return false; - } - HX_STACK_LINE(55) - if (((hx::ObjectPtr(this) == child))){ - HX_STACK_LINE(56) - return true; - } - HX_STACK_LINE(58) - { - HX_STACK_LINE(58) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::display::DisplayObject > _g1 = this->nmeChildren; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(58) - while(((_g < _g1->length))){ - HX_STACK_LINE(58) - ::neash::display::DisplayObject c = _g1->__get(_g); HX_STACK_VAR(c,"c"); - HX_STACK_LINE(58) - ++(_g); - HX_STACK_LINE(59) - if (((c == child))){ - HX_STACK_LINE(60) - return true; - } - } - } - HX_STACK_LINE(62) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,contains,return ) - -bool DisplayObjectContainer_obj::areInaccessibleObjectsUnderPoint( ::neash::geom::Point point){ - HX_STACK_PUSH("DisplayObjectContainer::areInaccessibleObjectsUnderPoint","neash/display/DisplayObjectContainer.hx",45); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(45) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,areInaccessibleObjectsUnderPoint,return ) - -::neash::display::DisplayObject DisplayObjectContainer_obj::addChildAt( ::neash::display::DisplayObject child,int index){ - HX_STACK_PUSH("DisplayObjectContainer::addChildAt","neash/display/DisplayObjectContainer.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_ARG(index,"index"); - HX_STACK_LINE(38) - { - HX_STACK_LINE(38) - if (((child == hx::ObjectPtr(this)))){ - HX_STACK_LINE(38) - hx::Throw (HX_CSTRING("Adding to self")); - } - HX_STACK_LINE(38) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(38) - this->setChildIndex(child,(this->nmeChildren->length - (int)1)); - } - else{ - HX_STACK_LINE(38) - child->nmeSetParent(hx::ObjectPtr(this)); - HX_STACK_LINE(38) - this->nmeChildren->push(child); - HX_STACK_LINE(38) - ::neash::display::DisplayObjectContainer_obj::nme_doc_add_child(this->nmeHandle,child->nmeHandle); - } - } - HX_STACK_LINE(39) - { - HX_STACK_LINE(39) - if (((index > this->nmeChildren->length))){ - HX_STACK_LINE(39) - hx::Throw ((HX_CSTRING("Invalid index position ") + index)); - } - HX_STACK_LINE(39) - ::neash::display::DisplayObject s = null(); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(39) - int orig = this->nmeGetChildIndex(child); HX_STACK_VAR(orig,"orig"); - HX_STACK_LINE(39) - if (((orig < (int)0))){ - HX_STACK_LINE(39) - ::String msg = ((HX_CSTRING("setChildIndex : object ") + child->toString()) + HX_CSTRING(" not found.")); HX_STACK_VAR(msg,"msg"); - HX_STACK_LINE(39) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(39) - int realindex = (int)-1; HX_STACK_VAR(realindex,"realindex"); - HX_STACK_LINE(39) - { - HX_STACK_LINE(39) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->nmeChildren->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(39) - while(((_g1 < _g))){ - HX_STACK_LINE(39) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(39) - if (((this->nmeChildren->__get(i) == child))){ - HX_STACK_LINE(39) - realindex = i; - HX_STACK_LINE(39) - break; - } - } - } - HX_STACK_LINE(39) - if (((realindex != (int)-1))){ - HX_STACK_LINE(39) - hx::AddEq(msg,(HX_CSTRING("Internal error: Real child index was ") + ::Std_obj::string(realindex))); - } - else{ - HX_STACK_LINE(39) - hx::AddEq(msg,HX_CSTRING("Internal error: Child was not in nmeChildren array!")); - } - } - HX_STACK_LINE(39) - hx::Throw (msg); - } - HX_STACK_LINE(39) - ::neash::display::DisplayObjectContainer_obj::nme_doc_set_child_index(this->nmeHandle,child->nmeHandle,index); - HX_STACK_LINE(39) - if (((index < orig))){ - HX_STACK_LINE(39) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(39) - while(((i > index))){ - HX_STACK_LINE(39) - this->nmeChildren[i] = this->nmeChildren->__get((i - (int)1)); - HX_STACK_LINE(39) - (i)--; - } - HX_STACK_LINE(39) - this->nmeChildren[index] = child; - } - else{ - HX_STACK_LINE(39) - if (((orig < index))){ - HX_STACK_LINE(39) - int i = orig; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(39) - while(((i < index))){ - HX_STACK_LINE(39) - this->nmeChildren[i] = this->nmeChildren->__get((i + (int)1)); - HX_STACK_LINE(39) - (i)++; - } - HX_STACK_LINE(39) - this->nmeChildren[index] = child; - } - } - } - HX_STACK_LINE(40) - return child; -} - - -HX_DEFINE_DYNAMIC_FUNC2(DisplayObjectContainer_obj,addChildAt,return ) - -::neash::display::DisplayObject DisplayObjectContainer_obj::addChild( ::neash::display::DisplayObject child){ - HX_STACK_PUSH("DisplayObjectContainer::addChild","neash/display/DisplayObjectContainer.hx",30); - HX_STACK_THIS(this); - HX_STACK_ARG(child,"child"); - HX_STACK_LINE(31) - { - HX_STACK_LINE(31) - if (((child == hx::ObjectPtr(this)))){ - HX_STACK_LINE(31) - hx::Throw (HX_CSTRING("Adding to self")); - } - HX_STACK_LINE(31) - if (((child->nmeParent == hx::ObjectPtr(this)))){ - HX_STACK_LINE(31) - this->setChildIndex(child,(this->nmeChildren->length - (int)1)); - } - else{ - HX_STACK_LINE(31) - child->nmeSetParent(hx::ObjectPtr(this)); - HX_STACK_LINE(31) - this->nmeChildren->push(child); - HX_STACK_LINE(31) - ::neash::display::DisplayObjectContainer_obj::nme_doc_add_child(this->nmeHandle,child->nmeHandle); - } - } - HX_STACK_LINE(32) - return child; -} - - -HX_DEFINE_DYNAMIC_FUNC1(DisplayObjectContainer_obj,addChild,return ) - -Dynamic DisplayObjectContainer_obj::nme_create_display_object_container; - -Dynamic DisplayObjectContainer_obj::nme_doc_add_child; - -Dynamic DisplayObjectContainer_obj::nme_doc_remove_child; - -Dynamic DisplayObjectContainer_obj::nme_doc_set_child_index; - -Dynamic DisplayObjectContainer_obj::nme_doc_get_mouse_children; - -Dynamic DisplayObjectContainer_obj::nme_doc_set_mouse_children; - -Dynamic DisplayObjectContainer_obj::nme_doc_swap_children; - - -DisplayObjectContainer_obj::DisplayObjectContainer_obj() -{ -} - -void DisplayObjectContainer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(DisplayObjectContainer); - HX_MARK_MEMBER_NAME(nmeChildren,"nmeChildren"); - HX_MARK_MEMBER_NAME(tabChildren,"tabChildren"); - HX_MARK_MEMBER_NAME(numChildren,"numChildren"); - HX_MARK_MEMBER_NAME(mouseChildren,"mouseChildren"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void DisplayObjectContainer_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeChildren,"nmeChildren"); - HX_VISIT_MEMBER_NAME(tabChildren,"tabChildren"); - HX_VISIT_MEMBER_NAME(numChildren,"numChildren"); - HX_VISIT_MEMBER_NAME(mouseChildren,"mouseChildren"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic DisplayObjectContainer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"contains") ) { return contains_dyn(); } - if (HX_FIELD_EQ(inName,"addChild") ) { return addChild_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeOnAdded") ) { return nmeOnAdded_dyn(); } - if (HX_FIELD_EQ(inName,"getChildAt") ) { return getChildAt_dyn(); } - if (HX_FIELD_EQ(inName,"addChildAt") ) { return addChildAt_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"removeChild") ) { return removeChild_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFindByID") ) { return nmeFindByID_dyn(); } - if (HX_FIELD_EQ(inName,"nmeAddChild") ) { return nmeAddChild_dyn(); } - if (HX_FIELD_EQ(inName,"nmeChildren") ) { return nmeChildren; } - if (HX_FIELD_EQ(inName,"tabChildren") ) { return inCallProp ? nmeGetTabChildren() : tabChildren; } - if (HX_FIELD_EQ(inName,"numChildren") ) { return inCallProp ? nmeGetNumChildren() : numChildren; } - break; - case 12: - if (HX_FIELD_EQ(inName,"swapChildren") ) { return swapChildren_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnRemoved") ) { return nmeOnRemoved_dyn(); } - if (HX_FIELD_EQ(inName,"nmeBroadcast") ) { return nmeBroadcast_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"setChildIndex") ) { return setChildIndex_dyn(); } - if (HX_FIELD_EQ(inName,"removeChildAt") ) { return removeChildAt_dyn(); } - if (HX_FIELD_EQ(inName,"getChildIndex") ) { return getChildIndex_dyn(); } - if (HX_FIELD_EQ(inName,"mouseChildren") ) { return inCallProp ? nmeGetMouseChildren() : mouseChildren; } - break; - case 14: - if (HX_FIELD_EQ(inName,"swapChildrenAt") ) { return swapChildrenAt_dyn(); } - if (HX_FIELD_EQ(inName,"getChildByName") ) { return getChildByName_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeSetChildIndex") ) { return nmeSetChildIndex_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetChildIndex") ) { return nmeGetChildIndex_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_doc_add_child") ) { return nme_doc_add_child; } - if (HX_FIELD_EQ(inName,"nmeSetTabChildren") ) { return nmeSetTabChildren_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTabChildren") ) { return nmeGetTabChildren_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetNumChildren") ) { return nmeGetNumChildren_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSwapChildrenAt") ) { return nmeSwapChildrenAt_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"nmeSetMouseChildren") ) { return nmeSetMouseChildren_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMouseChildren") ) { return nmeGetMouseChildren_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_doc_remove_child") ) { return nme_doc_remove_child; } - if (HX_FIELD_EQ(inName,"getObjectsUnderPoint") ) { return getObjectsUnderPoint_dyn(); } - break; - case 21: - if (HX_FIELD_EQ(inName,"nme_doc_swap_children") ) { return nme_doc_swap_children; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_doc_set_child_index") ) { return nme_doc_set_child_index; } - if (HX_FIELD_EQ(inName,"nmeRemoveChildFromArray") ) { return nmeRemoveChildFromArray_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetObjectsUnderPoint") ) { return nmeGetObjectsUnderPoint_dyn(); } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_doc_get_mouse_children") ) { return nme_doc_get_mouse_children; } - if (HX_FIELD_EQ(inName,"nme_doc_set_mouse_children") ) { return nme_doc_set_mouse_children; } - break; - case 32: - if (HX_FIELD_EQ(inName,"areInaccessibleObjectsUnderPoint") ) { return areInaccessibleObjectsUnderPoint_dyn(); } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_create_display_object_container") ) { return nme_create_display_object_container; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic DisplayObjectContainer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 11: - if (HX_FIELD_EQ(inName,"nmeChildren") ) { nmeChildren=inValue.Cast< Array< ::neash::display::DisplayObject > >(); return inValue; } - if (HX_FIELD_EQ(inName,"tabChildren") ) { if (inCallProp) return nmeSetTabChildren(inValue);tabChildren=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"numChildren") ) { numChildren=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"mouseChildren") ) { if (inCallProp) return nmeSetMouseChildren(inValue);mouseChildren=inValue.Cast< bool >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_doc_add_child") ) { nme_doc_add_child=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_doc_remove_child") ) { nme_doc_remove_child=inValue.Cast< Dynamic >(); return inValue; } - break; - case 21: - if (HX_FIELD_EQ(inName,"nme_doc_swap_children") ) { nme_doc_swap_children=inValue.Cast< Dynamic >(); return inValue; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_doc_set_child_index") ) { nme_doc_set_child_index=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_doc_get_mouse_children") ) { nme_doc_get_mouse_children=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_doc_set_mouse_children") ) { nme_doc_set_mouse_children=inValue.Cast< Dynamic >(); return inValue; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_create_display_object_container") ) { nme_create_display_object_container=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void DisplayObjectContainer_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeChildren")); - outFields->push(HX_CSTRING("tabChildren")); - outFields->push(HX_CSTRING("numChildren")); - outFields->push(HX_CSTRING("mouseChildren")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_create_display_object_container"), - HX_CSTRING("nme_doc_add_child"), - HX_CSTRING("nme_doc_remove_child"), - HX_CSTRING("nme_doc_set_child_index"), - HX_CSTRING("nme_doc_get_mouse_children"), - HX_CSTRING("nme_doc_set_mouse_children"), - HX_CSTRING("nme_doc_swap_children"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetTabChildren"), - HX_CSTRING("nmeGetTabChildren"), - HX_CSTRING("nmeGetNumChildren"), - HX_CSTRING("nmeSetMouseChildren"), - HX_CSTRING("nmeGetMouseChildren"), - HX_CSTRING("swapChildrenAt"), - HX_CSTRING("swapChildren"), - HX_CSTRING("setChildIndex"), - HX_CSTRING("removeChildAt"), - HX_CSTRING("removeChild"), - HX_CSTRING("nmeSwapChildrenAt"), - HX_CSTRING("nmeSetChildIndex"), - HX_CSTRING("nmeRemoveChildFromArray"), - HX_CSTRING("nmeOnRemoved"), - HX_CSTRING("nmeOnAdded"), - HX_CSTRING("nmeGetObjectsUnderPoint"), - HX_CSTRING("nmeGetChildIndex"), - HX_CSTRING("nmeFindByID"), - HX_CSTRING("nmeBroadcast"), - HX_CSTRING("nmeAddChild"), - HX_CSTRING("getObjectsUnderPoint"), - HX_CSTRING("getChildIndex"), - HX_CSTRING("getChildByName"), - HX_CSTRING("getChildAt"), - HX_CSTRING("contains"), - HX_CSTRING("areInaccessibleObjectsUnderPoint"), - HX_CSTRING("addChildAt"), - HX_CSTRING("addChild"), - HX_CSTRING("nmeChildren"), - HX_CSTRING("tabChildren"), - HX_CSTRING("numChildren"), - HX_CSTRING("mouseChildren"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_create_display_object_container,"nme_create_display_object_container"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_add_child,"nme_doc_add_child"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_remove_child,"nme_doc_remove_child"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_set_child_index,"nme_doc_set_child_index"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_get_mouse_children,"nme_doc_get_mouse_children"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_set_mouse_children,"nme_doc_set_mouse_children"); - HX_MARK_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_swap_children,"nme_doc_swap_children"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_create_display_object_container,"nme_create_display_object_container"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_add_child,"nme_doc_add_child"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_remove_child,"nme_doc_remove_child"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_set_child_index,"nme_doc_set_child_index"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_get_mouse_children,"nme_doc_get_mouse_children"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_set_mouse_children,"nme_doc_set_mouse_children"); - HX_VISIT_MEMBER_NAME(DisplayObjectContainer_obj::nme_doc_swap_children,"nme_doc_swap_children"); -}; - -Class DisplayObjectContainer_obj::__mClass; - -void DisplayObjectContainer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.DisplayObjectContainer"), hx::TCanCast< DisplayObjectContainer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void DisplayObjectContainer_obj::__boot() -{ - nme_create_display_object_container= ::neash::Loader_obj::load(HX_CSTRING("nme_create_display_object_container"),(int)0); - nme_doc_add_child= ::neash::Loader_obj::load(HX_CSTRING("nme_doc_add_child"),(int)2); - nme_doc_remove_child= ::neash::Loader_obj::load(HX_CSTRING("nme_doc_remove_child"),(int)2); - nme_doc_set_child_index= ::neash::Loader_obj::load(HX_CSTRING("nme_doc_set_child_index"),(int)3); - nme_doc_get_mouse_children= ::neash::Loader_obj::load(HX_CSTRING("nme_doc_get_mouse_children"),(int)1); - nme_doc_set_mouse_children= ::neash::Loader_obj::load(HX_CSTRING("nme_doc_set_mouse_children"),(int)2); - nme_doc_swap_children= ::neash::Loader_obj::load(HX_CSTRING("nme_doc_swap_children"),(int)3); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/GradientType.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/GradientType.cpp deleted file mode 100644 index f1286f3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/GradientType.cpp +++ /dev/null @@ -1,73 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_GradientType -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::GradientType GradientType_obj::LINEAR; - -::neash::display::GradientType GradientType_obj::RADIAL; - -HX_DEFINE_CREATE_ENUM(GradientType_obj) - -int GradientType_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("LINEAR")) return 1; - if (inName==HX_CSTRING("RADIAL")) return 0; - return super::__FindIndex(inName); -} - -int GradientType_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("LINEAR")) return 0; - if (inName==HX_CSTRING("RADIAL")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic GradientType_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("LINEAR")) return LINEAR; - if (inName==HX_CSTRING("RADIAL")) return RADIAL; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("RADIAL"), - HX_CSTRING("LINEAR"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GradientType_obj::LINEAR,"LINEAR"); - HX_MARK_MEMBER_NAME(GradientType_obj::RADIAL,"RADIAL"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GradientType_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(GradientType_obj::LINEAR,"LINEAR"); - HX_VISIT_MEMBER_NAME(GradientType_obj::RADIAL,"RADIAL"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class GradientType_obj::__mClass; - -Dynamic __Create_GradientType_obj() { return new GradientType_obj; } - -void GradientType_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.GradientType"), hx::TCanCast< GradientType_obj >,sStaticFields,sMemberFields, - &__Create_GradientType_obj, &__Create, - &super::__SGetClass(), &CreateGradientType_obj, sMarkStatics, sVisitStatic); -} - -void GradientType_obj::__boot() -{ -Static(LINEAR) = hx::CreateEnum< GradientType_obj >(HX_CSTRING("LINEAR"),1); -Static(RADIAL) = hx::CreateEnum< GradientType_obj >(HX_CSTRING("RADIAL"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/Graphics.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/Graphics.cpp deleted file mode 100644 index 8142ec0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/Graphics.cpp +++ /dev/null @@ -1,935 +0,0 @@ -#include - -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_CapsStyle -#include -#endif -#ifndef INCLUDED_neash_display_GradientType -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_IGraphicsData -#include -#endif -#ifndef INCLUDED_neash_display_InterpolationMethod -#include -#endif -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -#ifndef INCLUDED_neash_display_LineScaleMode -#include -#endif -#ifndef INCLUDED_neash_display_SpreadMethod -#include -#endif -#ifndef INCLUDED_neash_display_Tilesheet -#include -#endif -#ifndef INCLUDED_neash_display_TriangleCulling -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -namespace neash{ -namespace display{ - -Void Graphics_obj::__construct(Dynamic inHandle) -{ -HX_STACK_PUSH("Graphics::new","neash/display/Graphics.hx",28); -{ - HX_STACK_LINE(28) - this->nmeHandle = inHandle; -} -; - return null(); -} - -Graphics_obj::~Graphics_obj() { } - -Dynamic Graphics_obj::__CreateEmpty() { return new Graphics_obj; } -hx::ObjectPtr< Graphics_obj > Graphics_obj::__new(Dynamic inHandle) -{ hx::ObjectPtr< Graphics_obj > result = new Graphics_obj(); - result->__construct(inHandle); - return result;} - -Dynamic Graphics_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Graphics_obj > result = new Graphics_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Graphics_obj::moveTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Graphics::moveTo","neash/display/Graphics.hx",185); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(185) - ::neash::display::Graphics_obj::nme_gfx_move_to(this->nmeHandle,inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Graphics_obj,moveTo,(void)) - -Void Graphics_obj::lineTo( Float inX,Float inY){ -{ - HX_STACK_PUSH("Graphics::lineTo","neash/display/Graphics.hx",179); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(179) - ::neash::display::Graphics_obj::nme_gfx_line_to(this->nmeHandle,inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Graphics_obj,lineTo,(void)) - -Void Graphics_obj::lineStyle( Dynamic thickness,hx::Null< int > __o_color,hx::Null< Float > __o_alpha,hx::Null< bool > __o_pixelHinting,::neash::display::LineScaleMode scaleMode,::neash::display::CapsStyle caps,::neash::display::JointStyle joints,hx::Null< Float > __o_miterLimit){ -int color = __o_color.Default(0); -Float alpha = __o_alpha.Default(1.0); -bool pixelHinting = __o_pixelHinting.Default(false); -Float miterLimit = __o_miterLimit.Default(3); - HX_STACK_PUSH("Graphics::lineStyle","neash/display/Graphics.hx",173); - HX_STACK_THIS(this); - HX_STACK_ARG(thickness,"thickness"); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); - HX_STACK_ARG(pixelHinting,"pixelHinting"); - HX_STACK_ARG(scaleMode,"scaleMode"); - HX_STACK_ARG(caps,"caps"); - HX_STACK_ARG(joints,"joints"); - HX_STACK_ARG(miterLimit,"miterLimit"); -{ - HX_STACK_LINE(173) - ::neash::display::Graphics_obj::nme_gfx_line_style(this->nmeHandle,thickness,color,alpha,pixelHinting,( (((scaleMode == null()))) ? int((int)0) : int(scaleMode->__Index()) ),( (((caps == null()))) ? int((int)0) : int(caps->__Index()) ),( (((joints == null()))) ? int((int)0) : int(joints->__Index()) ),miterLimit); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC8(Graphics_obj,lineStyle,(void)) - -Void Graphics_obj::lineGradientStyle( ::neash::display::GradientType type,Dynamic colors,Dynamic alphas,Dynamic ratios,::neash::geom::Matrix matrix,::neash::display::SpreadMethod spreadMethod,::neash::display::InterpolationMethod interpolationMethod,hx::Null< Float > __o_focalPointRatio){ -Float focalPointRatio = __o_focalPointRatio.Default(0.0); - HX_STACK_PUSH("Graphics::lineGradientStyle","neash/display/Graphics.hx",161); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(colors,"colors"); - HX_STACK_ARG(alphas,"alphas"); - HX_STACK_ARG(ratios,"ratios"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(spreadMethod,"spreadMethod"); - HX_STACK_ARG(interpolationMethod,"interpolationMethod"); - HX_STACK_ARG(focalPointRatio,"focalPointRatio"); -{ - HX_STACK_LINE(162) - if (((matrix == null()))){ - HX_STACK_LINE(164) - matrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - HX_STACK_LINE(165) - matrix->createGradientBox((int)200,(int)200,(int)0,(int)-100,(int)-100); - } - HX_STACK_LINE(168) - ::neash::display::Graphics_obj::nme_gfx_line_gradient_fill(this->nmeHandle,type->__Index(),colors,alphas,ratios,matrix,( (((spreadMethod == null()))) ? int((int)0) : int(spreadMethod->__Index()) ),( (((interpolationMethod == null()))) ? int((int)0) : int(interpolationMethod->__Index()) ),focalPointRatio); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC8(Graphics_obj,lineGradientStyle,(void)) - -Void Graphics_obj::lineBitmapStyle( ::neash::display::BitmapData bitmap,::neash::geom::Matrix matrix,hx::Null< bool > __o_repeat,hx::Null< bool > __o_smooth){ -bool repeat = __o_repeat.Default(true); -bool smooth = __o_smooth.Default(false); - HX_STACK_PUSH("Graphics::lineBitmapStyle","neash/display/Graphics.hx",155); - HX_STACK_THIS(this); - HX_STACK_ARG(bitmap,"bitmap"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(repeat,"repeat"); - HX_STACK_ARG(smooth,"smooth"); -{ - HX_STACK_LINE(155) - ::neash::display::Graphics_obj::nme_gfx_line_bitmap_fill(this->nmeHandle,bitmap->nmeHandle,matrix,repeat,smooth); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,lineBitmapStyle,(void)) - -Void Graphics_obj::endFill( ){ -{ - HX_STACK_PUSH("Graphics::endFill","neash/display/Graphics.hx",149); - HX_STACK_THIS(this); - HX_STACK_LINE(149) - ::neash::display::Graphics_obj::nme_gfx_end_fill(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Graphics_obj,endFill,(void)) - -Void Graphics_obj::drawTriangles( Array< Float > vertices,Array< int > indices,Array< Float > uvtData,::neash::display::TriangleCulling culling,Array< int > colours,hx::Null< int > __o_blendMode,Array< Float > viewport){ -int blendMode = __o_blendMode.Default(0); - HX_STACK_PUSH("Graphics::drawTriangles","neash/display/Graphics.hx",142); - HX_STACK_THIS(this); - HX_STACK_ARG(vertices,"vertices"); - HX_STACK_ARG(indices,"indices"); - HX_STACK_ARG(uvtData,"uvtData"); - HX_STACK_ARG(culling,"culling"); - HX_STACK_ARG(colours,"colours"); - HX_STACK_ARG(blendMode,"blendMode"); - HX_STACK_ARG(viewport,"viewport"); -{ - HX_STACK_LINE(143) - int cull = ( (((culling == null()))) ? int((int)0) : int((culling->__Index() - (int)1)) ); HX_STACK_VAR(cull,"cull"); - HX_STACK_LINE(144) - ::neash::display::Graphics_obj::nme_gfx_draw_triangles(this->nmeHandle,vertices,indices,uvtData,cull,colours,blendMode,viewport); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC7(Graphics_obj,drawTriangles,(void)) - -Void Graphics_obj::drawTiles( ::neash::display::Tilesheet sheet,Array< Float > inXYID,hx::Null< bool > __o_inSmooth,hx::Null< int > __o_inFlags){ -bool inSmooth = __o_inSmooth.Default(false); -int inFlags = __o_inFlags.Default(0); - HX_STACK_PUSH("Graphics::drawTiles","neash/display/Graphics.hx",131); - HX_STACK_THIS(this); - HX_STACK_ARG(sheet,"sheet"); - HX_STACK_ARG(inXYID,"inXYID"); - HX_STACK_ARG(inSmooth,"inSmooth"); - HX_STACK_ARG(inFlags,"inFlags"); -{ - HX_STACK_LINE(132) - this->beginBitmapFill(sheet->nmeBitmap,null(),false,inSmooth); - HX_STACK_LINE(134) - if ((inSmooth)){ - HX_STACK_LINE(135) - hx::OrEq(inFlags,(int)4096); - } - HX_STACK_LINE(137) - ::neash::display::Graphics_obj::nme_gfx_draw_tiles(this->nmeHandle,sheet->nmeHandle,inXYID,inFlags); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,drawTiles,(void)) - -Void Graphics_obj::drawPath( Array< int > commands,Array< Float > data,::String __o_winding){ -::String winding = __o_winding.Default(HX_CSTRING("evenOdd")); - HX_STACK_PUSH("Graphics::drawPath","neash/display/Graphics.hx",122); - HX_STACK_THIS(this); - HX_STACK_ARG(commands,"commands"); - HX_STACK_ARG(data,"data"); - HX_STACK_ARG(winding,"winding"); -{ - HX_STACK_LINE(122) - ::neash::display::Graphics_obj::nme_gfx_draw_path(this->nmeHandle,commands,data,(winding == HX_CSTRING("evenOdd"))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Graphics_obj,drawPath,(void)) - -Void Graphics_obj::drawRoundRect( Float inX,Float inY,Float inWidth,Float inHeight,Float inRadX,Dynamic inRadY){ -{ - HX_STACK_PUSH("Graphics::drawRoundRect","neash/display/Graphics.hx",117); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_ARG(inRadX,"inRadX"); - HX_STACK_ARG(inRadY,"inRadY"); - HX_STACK_LINE(117) - ::neash::display::Graphics_obj::nme_gfx_draw_round_rect(this->nmeHandle,inX,inY,inWidth,inHeight,inRadX,( (((inRadY == null()))) ? Dynamic(inRadX) : Dynamic(inRadY) )); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC6(Graphics_obj,drawRoundRect,(void)) - -Void Graphics_obj::drawRect( Float inX,Float inY,Float inWidth,Float inHeight){ -{ - HX_STACK_PUSH("Graphics::drawRect","neash/display/Graphics.hx",111); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_LINE(111) - ::neash::display::Graphics_obj::nme_gfx_draw_rect(this->nmeHandle,inX,inY,inWidth,inHeight); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,drawRect,(void)) - -Void Graphics_obj::drawPoints( Array< Float > inXY,Array< int > inPointRGBA,hx::Null< int > __o_inDefaultRGBA,hx::Null< Float > __o_inSize){ -int inDefaultRGBA = __o_inDefaultRGBA.Default(-1); -Float inSize = __o_inSize.Default(-1.0); - HX_STACK_PUSH("Graphics::drawPoints","neash/display/Graphics.hx",105); - HX_STACK_THIS(this); - HX_STACK_ARG(inXY,"inXY"); - HX_STACK_ARG(inPointRGBA,"inPointRGBA"); - HX_STACK_ARG(inDefaultRGBA,"inDefaultRGBA"); - HX_STACK_ARG(inSize,"inSize"); -{ - HX_STACK_LINE(105) - ::neash::display::Graphics_obj::nme_gfx_draw_points(this->nmeHandle,inXY,inPointRGBA,inDefaultRGBA,false,inSize); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,drawPoints,(void)) - -Void Graphics_obj::drawGraphicsDatum( ::neash::display::IGraphicsData graphicsDatum){ -{ - HX_STACK_PUSH("Graphics::drawGraphicsDatum","neash/display/Graphics.hx",99); - HX_STACK_THIS(this); - HX_STACK_ARG(graphicsDatum,"graphicsDatum"); - HX_STACK_LINE(99) - ::neash::display::Graphics_obj::nme_gfx_draw_datum(this->nmeHandle,graphicsDatum->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Graphics_obj,drawGraphicsDatum,(void)) - -Void Graphics_obj::drawGraphicsData( Array< ::neash::display::IGraphicsData > graphicsData){ -{ - HX_STACK_PUSH("Graphics::drawGraphicsData","neash/display/Graphics.hx",88); - HX_STACK_THIS(this); - HX_STACK_ARG(graphicsData,"graphicsData"); - HX_STACK_LINE(89) - Dynamic handles = Dynamic( Array_obj::__new() ); HX_STACK_VAR(handles,"handles"); - HX_STACK_LINE(91) - { - HX_STACK_LINE(91) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(91) - while(((_g < graphicsData->length))){ - HX_STACK_LINE(91) - ::neash::display::IGraphicsData datum = graphicsData->__get(_g); HX_STACK_VAR(datum,"datum"); - HX_STACK_LINE(91) - ++(_g); - HX_STACK_LINE(92) - handles->__Field(HX_CSTRING("push"),true)(datum->nmeHandle); - } - } - HX_STACK_LINE(94) - ::neash::display::Graphics_obj::nme_gfx_draw_data(this->nmeHandle,handles); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Graphics_obj,drawGraphicsData,(void)) - -Void Graphics_obj::drawEllipse( Float inX,Float inY,Float inWidth,Float inHeight){ -{ - HX_STACK_PUSH("Graphics::drawEllipse","neash/display/Graphics.hx",82); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - HX_STACK_LINE(82) - ::neash::display::Graphics_obj::nme_gfx_draw_ellipse(this->nmeHandle,inX,inY,inWidth,inHeight); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,drawEllipse,(void)) - -Void Graphics_obj::drawCircle( Float inX,Float inY,Float inRadius){ -{ - HX_STACK_PUSH("Graphics::drawCircle","neash/display/Graphics.hx",76); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_ARG(inRadius,"inRadius"); - HX_STACK_LINE(76) - ::neash::display::Graphics_obj::nme_gfx_draw_ellipse(this->nmeHandle,(inX - inRadius),(inY - inRadius),(inRadius * (int)2),(inRadius * (int)2)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Graphics_obj,drawCircle,(void)) - -Void Graphics_obj::curveTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("Graphics::curveTo","neash/display/Graphics.hx",70); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(70) - ::neash::display::Graphics_obj::nme_gfx_curve_to(this->nmeHandle,inCX,inCY,inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,curveTo,(void)) - -Void Graphics_obj::clear( ){ -{ - HX_STACK_PUSH("Graphics::clear","neash/display/Graphics.hx",64); - HX_STACK_THIS(this); - HX_STACK_LINE(64) - ::neash::display::Graphics_obj::nme_gfx_clear(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Graphics_obj,clear,(void)) - -Void Graphics_obj::beginGradientFill( ::neash::display::GradientType type,Dynamic colors,Dynamic alphas,Dynamic ratios,::neash::geom::Matrix matrix,::neash::display::SpreadMethod spreadMethod,::neash::display::InterpolationMethod interpolationMethod,hx::Null< Float > __o_focalPointRatio){ -Float focalPointRatio = __o_focalPointRatio.Default(0.0); - HX_STACK_PUSH("Graphics::beginGradientFill","neash/display/Graphics.hx",52); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(colors,"colors"); - HX_STACK_ARG(alphas,"alphas"); - HX_STACK_ARG(ratios,"ratios"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(spreadMethod,"spreadMethod"); - HX_STACK_ARG(interpolationMethod,"interpolationMethod"); - HX_STACK_ARG(focalPointRatio,"focalPointRatio"); -{ - HX_STACK_LINE(53) - if (((matrix == null()))){ - HX_STACK_LINE(55) - matrix = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); - HX_STACK_LINE(56) - matrix->createGradientBox((int)200,(int)200,(int)0,(int)-100,(int)-100); - } - HX_STACK_LINE(59) - ::neash::display::Graphics_obj::nme_gfx_begin_gradient_fill(this->nmeHandle,type->__Index(),colors,alphas,ratios,matrix,( (((spreadMethod == null()))) ? int((int)0) : int(spreadMethod->__Index()) ),( (((interpolationMethod == null()))) ? int((int)0) : int(interpolationMethod->__Index()) ),focalPointRatio); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC8(Graphics_obj,beginGradientFill,(void)) - -Void Graphics_obj::beginFill( int color,hx::Null< Float > __o_alpha){ -Float alpha = __o_alpha.Default(1.0); - HX_STACK_PUSH("Graphics::beginFill","neash/display/Graphics.hx",46); - HX_STACK_THIS(this); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(alpha,"alpha"); -{ - HX_STACK_LINE(46) - ::neash::display::Graphics_obj::nme_gfx_begin_fill(this->nmeHandle,color,alpha); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Graphics_obj,beginFill,(void)) - -Void Graphics_obj::beginBitmapFill( ::neash::display::BitmapData bitmap,::neash::geom::Matrix matrix,hx::Null< bool > __o_repeat,hx::Null< bool > __o_smooth){ -bool repeat = __o_repeat.Default(true); -bool smooth = __o_smooth.Default(false); - HX_STACK_PUSH("Graphics::beginBitmapFill","neash/display/Graphics.hx",40); - HX_STACK_THIS(this); - HX_STACK_ARG(bitmap,"bitmap"); - HX_STACK_ARG(matrix,"matrix"); - HX_STACK_ARG(repeat,"repeat"); - HX_STACK_ARG(smooth,"smooth"); -{ - HX_STACK_LINE(40) - ::neash::display::Graphics_obj::nme_gfx_begin_bitmap_fill(this->nmeHandle,bitmap->nmeHandle,matrix,repeat,smooth); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,beginBitmapFill,(void)) - -Void Graphics_obj::arcTo( Float inCX,Float inCY,Float inX,Float inY){ -{ - HX_STACK_PUSH("Graphics::arcTo","neash/display/Graphics.hx",34); - HX_STACK_THIS(this); - HX_STACK_ARG(inCX,"inCX"); - HX_STACK_ARG(inCY,"inCY"); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(34) - ::neash::display::Graphics_obj::nme_gfx_arc_to(this->nmeHandle,inCX,inCY,inX,inY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Graphics_obj,arcTo,(void)) - -int Graphics_obj::TILE_SCALE; - -int Graphics_obj::TILE_ROTATION; - -int Graphics_obj::TILE_RGB; - -int Graphics_obj::TILE_ALPHA; - -int Graphics_obj::TILE_TRANS_2x2; - -int Graphics_obj::TILE_SMOOTH; - -int Graphics_obj::TILE_BLEND_NORMAL; - -int Graphics_obj::TILE_BLEND_ADD; - -int Graphics_obj::RGBA( int inRGB,hx::Null< int > __o_inA){ -int inA = __o_inA.Default(255); - HX_STACK_PUSH("Graphics::RGBA","neash/display/Graphics.hx",191); - HX_STACK_ARG(inRGB,"inRGB"); - HX_STACK_ARG(inA,"inA"); -{ - HX_STACK_LINE(191) - return (int(inRGB) | int((int(inA) << int((int)24)))); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Graphics_obj,RGBA,return ) - -Dynamic Graphics_obj::nme_gfx_clear; - -Dynamic Graphics_obj::nme_gfx_begin_fill; - -Dynamic Graphics_obj::nme_gfx_begin_bitmap_fill; - -Dynamic Graphics_obj::nme_gfx_line_bitmap_fill; - -Dynamic Graphics_obj::nme_gfx_begin_gradient_fill; - -Dynamic Graphics_obj::nme_gfx_line_gradient_fill; - -Dynamic Graphics_obj::nme_gfx_end_fill; - -Dynamic Graphics_obj::nme_gfx_line_style; - -Dynamic Graphics_obj::nme_gfx_move_to; - -Dynamic Graphics_obj::nme_gfx_line_to; - -Dynamic Graphics_obj::nme_gfx_curve_to; - -Dynamic Graphics_obj::nme_gfx_arc_to; - -Dynamic Graphics_obj::nme_gfx_draw_ellipse; - -Dynamic Graphics_obj::nme_gfx_draw_data; - -Dynamic Graphics_obj::nme_gfx_draw_datum; - -Dynamic Graphics_obj::nme_gfx_draw_rect; - -Dynamic Graphics_obj::nme_gfx_draw_path; - -Dynamic Graphics_obj::nme_gfx_draw_tiles; - -Dynamic Graphics_obj::nme_gfx_draw_points; - -Dynamic Graphics_obj::nme_gfx_draw_round_rect; - -Dynamic Graphics_obj::nme_gfx_draw_triangles; - - -Graphics_obj::Graphics_obj() -{ -} - -void Graphics_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Graphics); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_END_CLASS(); -} - -void Graphics_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); -} - -Dynamic Graphics_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"RGBA") ) { return RGBA_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"clear") ) { return clear_dyn(); } - if (HX_FIELD_EQ(inName,"arcTo") ) { return arcTo_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"moveTo") ) { return moveTo_dyn(); } - if (HX_FIELD_EQ(inName,"lineTo") ) { return lineTo_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"endFill") ) { return endFill_dyn(); } - if (HX_FIELD_EQ(inName,"curveTo") ) { return curveTo_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"TILE_RGB") ) { return TILE_RGB; } - if (HX_FIELD_EQ(inName,"drawPath") ) { return drawPath_dyn(); } - if (HX_FIELD_EQ(inName,"drawRect") ) { return drawRect_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"lineStyle") ) { return lineStyle_dyn(); } - if (HX_FIELD_EQ(inName,"drawTiles") ) { return drawTiles_dyn(); } - if (HX_FIELD_EQ(inName,"beginFill") ) { return beginFill_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TILE_SCALE") ) { return TILE_SCALE; } - if (HX_FIELD_EQ(inName,"TILE_ALPHA") ) { return TILE_ALPHA; } - if (HX_FIELD_EQ(inName,"drawPoints") ) { return drawPoints_dyn(); } - if (HX_FIELD_EQ(inName,"drawCircle") ) { return drawCircle_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"TILE_SMOOTH") ) { return TILE_SMOOTH; } - if (HX_FIELD_EQ(inName,"drawEllipse") ) { return drawEllipse_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"TILE_ROTATION") ) { return TILE_ROTATION; } - if (HX_FIELD_EQ(inName,"nme_gfx_clear") ) { return nme_gfx_clear; } - if (HX_FIELD_EQ(inName,"drawTriangles") ) { return drawTriangles_dyn(); } - if (HX_FIELD_EQ(inName,"drawRoundRect") ) { return drawRoundRect_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"TILE_TRANS_2x2") ) { return TILE_TRANS_2x2; } - if (HX_FIELD_EQ(inName,"TILE_BLEND_ADD") ) { return TILE_BLEND_ADD; } - if (HX_FIELD_EQ(inName,"nme_gfx_arc_to") ) { return nme_gfx_arc_to; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_gfx_move_to") ) { return nme_gfx_move_to; } - if (HX_FIELD_EQ(inName,"nme_gfx_line_to") ) { return nme_gfx_line_to; } - if (HX_FIELD_EQ(inName,"lineBitmapStyle") ) { return lineBitmapStyle_dyn(); } - if (HX_FIELD_EQ(inName,"beginBitmapFill") ) { return beginBitmapFill_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_gfx_end_fill") ) { return nme_gfx_end_fill; } - if (HX_FIELD_EQ(inName,"nme_gfx_curve_to") ) { return nme_gfx_curve_to; } - if (HX_FIELD_EQ(inName,"drawGraphicsData") ) { return drawGraphicsData_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"TILE_BLEND_NORMAL") ) { return TILE_BLEND_NORMAL; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_data") ) { return nme_gfx_draw_data; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_rect") ) { return nme_gfx_draw_rect; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_path") ) { return nme_gfx_draw_path; } - if (HX_FIELD_EQ(inName,"lineGradientStyle") ) { return lineGradientStyle_dyn(); } - if (HX_FIELD_EQ(inName,"drawGraphicsDatum") ) { return drawGraphicsDatum_dyn(); } - if (HX_FIELD_EQ(inName,"beginGradientFill") ) { return beginGradientFill_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_fill") ) { return nme_gfx_begin_fill; } - if (HX_FIELD_EQ(inName,"nme_gfx_line_style") ) { return nme_gfx_line_style; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_datum") ) { return nme_gfx_draw_datum; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_tiles") ) { return nme_gfx_draw_tiles; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_points") ) { return nme_gfx_draw_points; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_ellipse") ) { return nme_gfx_draw_ellipse; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_triangles") ) { return nme_gfx_draw_triangles; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_round_rect") ) { return nme_gfx_draw_round_rect; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_gfx_line_bitmap_fill") ) { return nme_gfx_line_bitmap_fill; } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_bitmap_fill") ) { return nme_gfx_begin_bitmap_fill; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_gfx_line_gradient_fill") ) { return nme_gfx_line_gradient_fill; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_gradient_fill") ) { return nme_gfx_begin_gradient_fill; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Graphics_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"TILE_RGB") ) { TILE_RGB=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TILE_SCALE") ) { TILE_SCALE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TILE_ALPHA") ) { TILE_ALPHA=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TILE_SMOOTH") ) { TILE_SMOOTH=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"TILE_ROTATION") ) { TILE_ROTATION=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_clear") ) { nme_gfx_clear=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TILE_TRANS_2x2") ) { TILE_TRANS_2x2=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TILE_BLEND_ADD") ) { TILE_BLEND_ADD=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_arc_to") ) { nme_gfx_arc_to=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_gfx_move_to") ) { nme_gfx_move_to=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_line_to") ) { nme_gfx_line_to=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_gfx_end_fill") ) { nme_gfx_end_fill=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_curve_to") ) { nme_gfx_curve_to=inValue.Cast< Dynamic >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"TILE_BLEND_NORMAL") ) { TILE_BLEND_NORMAL=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_data") ) { nme_gfx_draw_data=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_rect") ) { nme_gfx_draw_rect=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_path") ) { nme_gfx_draw_path=inValue.Cast< Dynamic >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_fill") ) { nme_gfx_begin_fill=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_line_style") ) { nme_gfx_line_style=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_datum") ) { nme_gfx_draw_datum=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_gfx_draw_tiles") ) { nme_gfx_draw_tiles=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_points") ) { nme_gfx_draw_points=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_ellipse") ) { nme_gfx_draw_ellipse=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_triangles") ) { nme_gfx_draw_triangles=inValue.Cast< Dynamic >(); return inValue; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_gfx_draw_round_rect") ) { nme_gfx_draw_round_rect=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_gfx_line_bitmap_fill") ) { nme_gfx_line_bitmap_fill=inValue.Cast< Dynamic >(); return inValue; } - break; - case 25: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_bitmap_fill") ) { nme_gfx_begin_bitmap_fill=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_gfx_line_gradient_fill") ) { nme_gfx_line_gradient_fill=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_gfx_begin_gradient_fill") ) { nme_gfx_begin_gradient_fill=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Graphics_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeHandle")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("TILE_SCALE"), - HX_CSTRING("TILE_ROTATION"), - HX_CSTRING("TILE_RGB"), - HX_CSTRING("TILE_ALPHA"), - HX_CSTRING("TILE_TRANS_2x2"), - HX_CSTRING("TILE_SMOOTH"), - HX_CSTRING("TILE_BLEND_NORMAL"), - HX_CSTRING("TILE_BLEND_ADD"), - HX_CSTRING("RGBA"), - HX_CSTRING("nme_gfx_clear"), - HX_CSTRING("nme_gfx_begin_fill"), - HX_CSTRING("nme_gfx_begin_bitmap_fill"), - HX_CSTRING("nme_gfx_line_bitmap_fill"), - HX_CSTRING("nme_gfx_begin_gradient_fill"), - HX_CSTRING("nme_gfx_line_gradient_fill"), - HX_CSTRING("nme_gfx_end_fill"), - HX_CSTRING("nme_gfx_line_style"), - HX_CSTRING("nme_gfx_move_to"), - HX_CSTRING("nme_gfx_line_to"), - HX_CSTRING("nme_gfx_curve_to"), - HX_CSTRING("nme_gfx_arc_to"), - HX_CSTRING("nme_gfx_draw_ellipse"), - HX_CSTRING("nme_gfx_draw_data"), - HX_CSTRING("nme_gfx_draw_datum"), - HX_CSTRING("nme_gfx_draw_rect"), - HX_CSTRING("nme_gfx_draw_path"), - HX_CSTRING("nme_gfx_draw_tiles"), - HX_CSTRING("nme_gfx_draw_points"), - HX_CSTRING("nme_gfx_draw_round_rect"), - HX_CSTRING("nme_gfx_draw_triangles"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("moveTo"), - HX_CSTRING("lineTo"), - HX_CSTRING("lineStyle"), - HX_CSTRING("lineGradientStyle"), - HX_CSTRING("lineBitmapStyle"), - HX_CSTRING("endFill"), - HX_CSTRING("drawTriangles"), - HX_CSTRING("drawTiles"), - HX_CSTRING("drawPath"), - HX_CSTRING("drawRoundRect"), - HX_CSTRING("drawRect"), - HX_CSTRING("drawPoints"), - HX_CSTRING("drawGraphicsDatum"), - HX_CSTRING("drawGraphicsData"), - HX_CSTRING("drawEllipse"), - HX_CSTRING("drawCircle"), - HX_CSTRING("curveTo"), - HX_CSTRING("clear"), - HX_CSTRING("beginGradientFill"), - HX_CSTRING("beginFill"), - HX_CSTRING("beginBitmapFill"), - HX_CSTRING("arcTo"), - HX_CSTRING("nmeHandle"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Graphics_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_SCALE,"TILE_SCALE"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_ROTATION,"TILE_ROTATION"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_RGB,"TILE_RGB"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_ALPHA,"TILE_ALPHA"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_TRANS_2x2,"TILE_TRANS_2x2"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_SMOOTH,"TILE_SMOOTH"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_BLEND_NORMAL,"TILE_BLEND_NORMAL"); - HX_MARK_MEMBER_NAME(Graphics_obj::TILE_BLEND_ADD,"TILE_BLEND_ADD"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_clear,"nme_gfx_clear"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_begin_fill,"nme_gfx_begin_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_begin_bitmap_fill,"nme_gfx_begin_bitmap_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_line_bitmap_fill,"nme_gfx_line_bitmap_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_begin_gradient_fill,"nme_gfx_begin_gradient_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_line_gradient_fill,"nme_gfx_line_gradient_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_end_fill,"nme_gfx_end_fill"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_line_style,"nme_gfx_line_style"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_move_to,"nme_gfx_move_to"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_line_to,"nme_gfx_line_to"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_curve_to,"nme_gfx_curve_to"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_arc_to,"nme_gfx_arc_to"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_ellipse,"nme_gfx_draw_ellipse"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_data,"nme_gfx_draw_data"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_datum,"nme_gfx_draw_datum"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_rect,"nme_gfx_draw_rect"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_path,"nme_gfx_draw_path"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_tiles,"nme_gfx_draw_tiles"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_points,"nme_gfx_draw_points"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_round_rect,"nme_gfx_draw_round_rect"); - HX_MARK_MEMBER_NAME(Graphics_obj::nme_gfx_draw_triangles,"nme_gfx_draw_triangles"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Graphics_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_SCALE,"TILE_SCALE"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_ROTATION,"TILE_ROTATION"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_RGB,"TILE_RGB"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_ALPHA,"TILE_ALPHA"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_TRANS_2x2,"TILE_TRANS_2x2"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_SMOOTH,"TILE_SMOOTH"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_BLEND_NORMAL,"TILE_BLEND_NORMAL"); - HX_VISIT_MEMBER_NAME(Graphics_obj::TILE_BLEND_ADD,"TILE_BLEND_ADD"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_clear,"nme_gfx_clear"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_begin_fill,"nme_gfx_begin_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_begin_bitmap_fill,"nme_gfx_begin_bitmap_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_line_bitmap_fill,"nme_gfx_line_bitmap_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_begin_gradient_fill,"nme_gfx_begin_gradient_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_line_gradient_fill,"nme_gfx_line_gradient_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_end_fill,"nme_gfx_end_fill"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_line_style,"nme_gfx_line_style"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_move_to,"nme_gfx_move_to"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_line_to,"nme_gfx_line_to"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_curve_to,"nme_gfx_curve_to"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_arc_to,"nme_gfx_arc_to"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_ellipse,"nme_gfx_draw_ellipse"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_data,"nme_gfx_draw_data"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_datum,"nme_gfx_draw_datum"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_rect,"nme_gfx_draw_rect"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_path,"nme_gfx_draw_path"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_tiles,"nme_gfx_draw_tiles"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_points,"nme_gfx_draw_points"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_round_rect,"nme_gfx_draw_round_rect"); - HX_VISIT_MEMBER_NAME(Graphics_obj::nme_gfx_draw_triangles,"nme_gfx_draw_triangles"); -}; - -Class Graphics_obj::__mClass; - -void Graphics_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.Graphics"), hx::TCanCast< Graphics_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Graphics_obj::__boot() -{ - TILE_SCALE= (int)1; - TILE_ROTATION= (int)2; - TILE_RGB= (int)4; - TILE_ALPHA= (int)8; - TILE_TRANS_2x2= (int)16; - TILE_SMOOTH= (int)4096; - TILE_BLEND_NORMAL= (int)0; - TILE_BLEND_ADD= (int)65536; - nme_gfx_clear= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_clear"),(int)1); - nme_gfx_begin_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_begin_fill"),(int)3); - nme_gfx_begin_bitmap_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_begin_bitmap_fill"),(int)5); - nme_gfx_line_bitmap_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_line_bitmap_fill"),(int)5); - nme_gfx_begin_gradient_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_begin_gradient_fill"),(int)-1); - nme_gfx_line_gradient_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_line_gradient_fill"),(int)-1); - nme_gfx_end_fill= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_end_fill"),(int)1); - nme_gfx_line_style= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_line_style"),(int)-1); - nme_gfx_move_to= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_move_to"),(int)3); - nme_gfx_line_to= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_line_to"),(int)3); - nme_gfx_curve_to= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_curve_to"),(int)5); - nme_gfx_arc_to= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_arc_to"),(int)5); - nme_gfx_draw_ellipse= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_ellipse"),(int)5); - nme_gfx_draw_data= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_data"),(int)2); - nme_gfx_draw_datum= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_datum"),(int)2); - nme_gfx_draw_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_rect"),(int)5); - nme_gfx_draw_path= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_path"),(int)4); - nme_gfx_draw_tiles= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_tiles"),(int)4); - nme_gfx_draw_points= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_points"),(int)-1); - nme_gfx_draw_round_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_round_rect"),(int)-1); - nme_gfx_draw_triangles= ::neash::Loader_obj::load(HX_CSTRING("nme_gfx_draw_triangles"),(int)-1); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/GraphicsPathWinding.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/GraphicsPathWinding.cpp deleted file mode 100644 index 06c4c5c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/GraphicsPathWinding.cpp +++ /dev/null @@ -1,107 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_GraphicsPathWinding -#include -#endif -namespace neash{ -namespace display{ - -Void GraphicsPathWinding_obj::__construct() -{ - return null(); -} - -GraphicsPathWinding_obj::~GraphicsPathWinding_obj() { } - -Dynamic GraphicsPathWinding_obj::__CreateEmpty() { return new GraphicsPathWinding_obj; } -hx::ObjectPtr< GraphicsPathWinding_obj > GraphicsPathWinding_obj::__new() -{ hx::ObjectPtr< GraphicsPathWinding_obj > result = new GraphicsPathWinding_obj(); - result->__construct(); - return result;} - -Dynamic GraphicsPathWinding_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< GraphicsPathWinding_obj > result = new GraphicsPathWinding_obj(); - result->__construct(); - return result;} - -::String GraphicsPathWinding_obj::EVEN_ODD; - -::String GraphicsPathWinding_obj::NON_ZERO; - - -GraphicsPathWinding_obj::GraphicsPathWinding_obj() -{ -} - -void GraphicsPathWinding_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(GraphicsPathWinding); - HX_MARK_END_CLASS(); -} - -void GraphicsPathWinding_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic GraphicsPathWinding_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"EVEN_ODD") ) { return EVEN_ODD; } - if (HX_FIELD_EQ(inName,"NON_ZERO") ) { return NON_ZERO; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic GraphicsPathWinding_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"EVEN_ODD") ) { EVEN_ODD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"NON_ZERO") ) { NON_ZERO=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void GraphicsPathWinding_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("EVEN_ODD"), - HX_CSTRING("NON_ZERO"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(GraphicsPathWinding_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(GraphicsPathWinding_obj::EVEN_ODD,"EVEN_ODD"); - HX_MARK_MEMBER_NAME(GraphicsPathWinding_obj::NON_ZERO,"NON_ZERO"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(GraphicsPathWinding_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(GraphicsPathWinding_obj::EVEN_ODD,"EVEN_ODD"); - HX_VISIT_MEMBER_NAME(GraphicsPathWinding_obj::NON_ZERO,"NON_ZERO"); -}; - -Class GraphicsPathWinding_obj::__mClass; - -void GraphicsPathWinding_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.GraphicsPathWinding"), hx::TCanCast< GraphicsPathWinding_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void GraphicsPathWinding_obj::__boot() -{ - EVEN_ODD= HX_CSTRING("evenOdd"); - NON_ZERO= HX_CSTRING("nonZero"); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/IBitmapDrawable.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/IBitmapDrawable.cpp deleted file mode 100644 index ed94d99..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/IBitmapDrawable.cpp +++ /dev/null @@ -1,43 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -namespace neash{ -namespace display{ - -HX_DEFINE_DYNAMIC_FUNC6(IBitmapDrawable_obj,nmeDrawToSurface,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IBitmapDrawable_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IBitmapDrawable_obj::__mClass,"__mClass"); -}; - -Class IBitmapDrawable_obj::__mClass; - -void IBitmapDrawable_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.IBitmapDrawable"), hx::TCanCast< IBitmapDrawable_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IBitmapDrawable_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/IGraphicsData.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/IGraphicsData.cpp deleted file mode 100644 index 2957ccd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/IGraphicsData.cpp +++ /dev/null @@ -1,103 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_IGraphicsData -#include -#endif -namespace neash{ -namespace display{ - -Void IGraphicsData_obj::__construct(Dynamic inHandle) -{ -HX_STACK_PUSH("IGraphicsData::new","neash/display/IGraphicsData.hx",11); -{ - HX_STACK_LINE(11) - this->nmeHandle = inHandle; -} -; - return null(); -} - -IGraphicsData_obj::~IGraphicsData_obj() { } - -Dynamic IGraphicsData_obj::__CreateEmpty() { return new IGraphicsData_obj; } -hx::ObjectPtr< IGraphicsData_obj > IGraphicsData_obj::__new(Dynamic inHandle) -{ hx::ObjectPtr< IGraphicsData_obj > result = new IGraphicsData_obj(); - result->__construct(inHandle); - return result;} - -Dynamic IGraphicsData_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< IGraphicsData_obj > result = new IGraphicsData_obj(); - result->__construct(inArgs[0]); - return result;} - - -IGraphicsData_obj::IGraphicsData_obj() -{ -} - -void IGraphicsData_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(IGraphicsData); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_END_CLASS(); -} - -void IGraphicsData_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); -} - -Dynamic IGraphicsData_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic IGraphicsData_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void IGraphicsData_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeHandle")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeHandle"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IGraphicsData_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IGraphicsData_obj::__mClass,"__mClass"); -}; - -Class IGraphicsData_obj::__mClass; - -void IGraphicsData_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.IGraphicsData"), hx::TCanCast< IGraphicsData_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IGraphicsData_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/InteractiveObject.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/InteractiveObject.cpp deleted file mode 100644 index f72e4b6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/InteractiveObject.cpp +++ /dev/null @@ -1,339 +0,0 @@ -#include - -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace display{ - -Void InteractiveObject_obj::__construct(Dynamic inHandle,::String inType) -{ -HX_STACK_PUSH("InteractiveObject::new","neash/display/InteractiveObject.hx",19); -{ - HX_STACK_LINE(20) - this->doubleClickEnabled = false; - HX_STACK_LINE(21) - this->nmeMouseEnabled = true; - HX_STACK_LINE(23) - super::__construct(inHandle,inType); -} -; - return null(); -} - -InteractiveObject_obj::~InteractiveObject_obj() { } - -Dynamic InteractiveObject_obj::__CreateEmpty() { return new InteractiveObject_obj; } -hx::ObjectPtr< InteractiveObject_obj > InteractiveObject_obj::__new(Dynamic inHandle,::String inType) -{ hx::ObjectPtr< InteractiveObject_obj > result = new InteractiveObject_obj(); - result->__construct(inHandle,inType); - return result;} - -Dynamic InteractiveObject_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< InteractiveObject_obj > result = new InteractiveObject_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -bool InteractiveObject_obj::nmeGetNeedsSoftKeyboard( ){ - HX_STACK_PUSH("InteractiveObject::nmeGetNeedsSoftKeyboard","neash/display/InteractiveObject.hx",74); - HX_STACK_THIS(this); - HX_STACK_LINE(74) - return ::neash::display::InteractiveObject_obj::nme_display_object_get_needs_soft_keyboard(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(InteractiveObject_obj,nmeGetNeedsSoftKeyboard,return ) - -bool InteractiveObject_obj::nmeSetNeedsSoftKeyboard( bool inVal){ - HX_STACK_PUSH("InteractiveObject::nmeSetNeedsSoftKeyboard","neash/display/InteractiveObject.hx",67); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(68) - ::neash::display::InteractiveObject_obj::nme_display_object_set_needs_soft_keyboard(this->nmeHandle,inVal); - HX_STACK_LINE(69) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(InteractiveObject_obj,nmeSetNeedsSoftKeyboard,return ) - -bool InteractiveObject_obj::nmeGetMoveForSoftKeyboard( ){ - HX_STACK_PUSH("InteractiveObject::nmeGetMoveForSoftKeyboard","neash/display/InteractiveObject.hx",61); - HX_STACK_THIS(this); - HX_STACK_LINE(61) - return ::neash::display::InteractiveObject_obj::nme_display_object_get_moves_for_soft_keyboard(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(InteractiveObject_obj,nmeGetMoveForSoftKeyboard,return ) - -bool InteractiveObject_obj::nmeSetMoveForSoftKeyboard( bool inVal){ - HX_STACK_PUSH("InteractiveObject::nmeSetMoveForSoftKeyboard","neash/display/InteractiveObject.hx",54); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(55) - ::neash::display::InteractiveObject_obj::nme_display_object_set_moves_for_soft_keyboard(this->nmeHandle,inVal); - HX_STACK_LINE(56) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(InteractiveObject_obj,nmeSetMoveForSoftKeyboard,return ) - -bool InteractiveObject_obj::nmeSetMouseEnabled( bool inVal){ - HX_STACK_PUSH("InteractiveObject::nmeSetMouseEnabled","neash/display/InteractiveObject.hx",46); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(47) - this->nmeMouseEnabled = inVal; - HX_STACK_LINE(48) - ::neash::display::InteractiveObject_obj::nme_display_object_set_mouse_enabled(this->nmeHandle,inVal); - HX_STACK_LINE(49) - return this->nmeMouseEnabled; -} - - -HX_DEFINE_DYNAMIC_FUNC1(InteractiveObject_obj,nmeSetMouseEnabled,return ) - -bool InteractiveObject_obj::nmeGetMouseEnabled( ){ - HX_STACK_PUSH("InteractiveObject::nmeGetMouseEnabled","neash/display/InteractiveObject.hx",44); - HX_STACK_THIS(this); - HX_STACK_LINE(44) - return this->nmeMouseEnabled; -} - - -HX_DEFINE_DYNAMIC_FUNC0(InteractiveObject_obj,nmeGetMouseEnabled,return ) - -bool InteractiveObject_obj::requestSoftKeyboard( ){ - HX_STACK_PUSH("InteractiveObject::requestSoftKeyboard","neash/display/InteractiveObject.hx",34); - HX_STACK_THIS(this); - HX_STACK_LINE(34) - return ::neash::display::InteractiveObject_obj::nme_display_object_request_soft_keyboard(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(InteractiveObject_obj,requestSoftKeyboard,return ) - -::neash::display::InteractiveObject InteractiveObject_obj::nmeAsInteractiveObject( ){ - HX_STACK_PUSH("InteractiveObject::nmeAsInteractiveObject","neash/display/InteractiveObject.hx",28); - HX_STACK_THIS(this); - HX_STACK_LINE(28) - return hx::ObjectPtr(this); -} - - -Dynamic InteractiveObject_obj::nme_display_object_set_mouse_enabled; - -Dynamic InteractiveObject_obj::nme_display_object_set_needs_soft_keyboard; - -Dynamic InteractiveObject_obj::nme_display_object_get_needs_soft_keyboard; - -Dynamic InteractiveObject_obj::nme_display_object_set_moves_for_soft_keyboard; - -Dynamic InteractiveObject_obj::nme_display_object_get_moves_for_soft_keyboard; - -Dynamic InteractiveObject_obj::nme_display_object_request_soft_keyboard; - - -InteractiveObject_obj::InteractiveObject_obj() -{ -} - -void InteractiveObject_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(InteractiveObject); - HX_MARK_MEMBER_NAME(nmeMouseEnabled,"nmeMouseEnabled"); - HX_MARK_MEMBER_NAME(needsSoftKeyboard,"needsSoftKeyboard"); - HX_MARK_MEMBER_NAME(moveForSoftKeyboard,"moveForSoftKeyboard"); - HX_MARK_MEMBER_NAME(mouseEnabled,"mouseEnabled"); - HX_MARK_MEMBER_NAME(doubleClickEnabled,"doubleClickEnabled"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void InteractiveObject_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeMouseEnabled,"nmeMouseEnabled"); - HX_VISIT_MEMBER_NAME(needsSoftKeyboard,"needsSoftKeyboard"); - HX_VISIT_MEMBER_NAME(moveForSoftKeyboard,"moveForSoftKeyboard"); - HX_VISIT_MEMBER_NAME(mouseEnabled,"mouseEnabled"); - HX_VISIT_MEMBER_NAME(doubleClickEnabled,"doubleClickEnabled"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic InteractiveObject_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 12: - if (HX_FIELD_EQ(inName,"mouseEnabled") ) { return inCallProp ? nmeGetMouseEnabled() : mouseEnabled; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeMouseEnabled") ) { return nmeMouseEnabled; } - break; - case 17: - if (HX_FIELD_EQ(inName,"needsSoftKeyboard") ) { return inCallProp ? nmeGetNeedsSoftKeyboard() : needsSoftKeyboard; } - break; - case 18: - if (HX_FIELD_EQ(inName,"nmeSetMouseEnabled") ) { return nmeSetMouseEnabled_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMouseEnabled") ) { return nmeGetMouseEnabled_dyn(); } - if (HX_FIELD_EQ(inName,"doubleClickEnabled") ) { return doubleClickEnabled; } - break; - case 19: - if (HX_FIELD_EQ(inName,"requestSoftKeyboard") ) { return requestSoftKeyboard_dyn(); } - if (HX_FIELD_EQ(inName,"moveForSoftKeyboard") ) { return inCallProp ? nmeGetMoveForSoftKeyboard() : moveForSoftKeyboard; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nmeAsInteractiveObject") ) { return nmeAsInteractiveObject_dyn(); } - break; - case 23: - if (HX_FIELD_EQ(inName,"nmeGetNeedsSoftKeyboard") ) { return nmeGetNeedsSoftKeyboard_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetNeedsSoftKeyboard") ) { return nmeSetNeedsSoftKeyboard_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"nmeGetMoveForSoftKeyboard") ) { return nmeGetMoveForSoftKeyboard_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetMoveForSoftKeyboard") ) { return nmeSetMoveForSoftKeyboard_dyn(); } - break; - case 36: - if (HX_FIELD_EQ(inName,"nme_display_object_set_mouse_enabled") ) { return nme_display_object_set_mouse_enabled; } - break; - case 40: - if (HX_FIELD_EQ(inName,"nme_display_object_request_soft_keyboard") ) { return nme_display_object_request_soft_keyboard; } - break; - case 42: - if (HX_FIELD_EQ(inName,"nme_display_object_set_needs_soft_keyboard") ) { return nme_display_object_set_needs_soft_keyboard; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_needs_soft_keyboard") ) { return nme_display_object_get_needs_soft_keyboard; } - break; - case 46: - if (HX_FIELD_EQ(inName,"nme_display_object_set_moves_for_soft_keyboard") ) { return nme_display_object_set_moves_for_soft_keyboard; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_moves_for_soft_keyboard") ) { return nme_display_object_get_moves_for_soft_keyboard; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic InteractiveObject_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 12: - if (HX_FIELD_EQ(inName,"mouseEnabled") ) { if (inCallProp) return nmeSetMouseEnabled(inValue);mouseEnabled=inValue.Cast< bool >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeMouseEnabled") ) { nmeMouseEnabled=inValue.Cast< bool >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"needsSoftKeyboard") ) { if (inCallProp) return nmeSetNeedsSoftKeyboard(inValue);needsSoftKeyboard=inValue.Cast< bool >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"doubleClickEnabled") ) { doubleClickEnabled=inValue.Cast< bool >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"moveForSoftKeyboard") ) { if (inCallProp) return nmeSetMoveForSoftKeyboard(inValue);moveForSoftKeyboard=inValue.Cast< bool >(); return inValue; } - break; - case 36: - if (HX_FIELD_EQ(inName,"nme_display_object_set_mouse_enabled") ) { nme_display_object_set_mouse_enabled=inValue.Cast< Dynamic >(); return inValue; } - break; - case 40: - if (HX_FIELD_EQ(inName,"nme_display_object_request_soft_keyboard") ) { nme_display_object_request_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - break; - case 42: - if (HX_FIELD_EQ(inName,"nme_display_object_set_needs_soft_keyboard") ) { nme_display_object_set_needs_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_needs_soft_keyboard") ) { nme_display_object_get_needs_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - break; - case 46: - if (HX_FIELD_EQ(inName,"nme_display_object_set_moves_for_soft_keyboard") ) { nme_display_object_set_moves_for_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_display_object_get_moves_for_soft_keyboard") ) { nme_display_object_get_moves_for_soft_keyboard=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void InteractiveObject_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeMouseEnabled")); - outFields->push(HX_CSTRING("needsSoftKeyboard")); - outFields->push(HX_CSTRING("moveForSoftKeyboard")); - outFields->push(HX_CSTRING("mouseEnabled")); - outFields->push(HX_CSTRING("doubleClickEnabled")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_display_object_set_mouse_enabled"), - HX_CSTRING("nme_display_object_set_needs_soft_keyboard"), - HX_CSTRING("nme_display_object_get_needs_soft_keyboard"), - HX_CSTRING("nme_display_object_set_moves_for_soft_keyboard"), - HX_CSTRING("nme_display_object_get_moves_for_soft_keyboard"), - HX_CSTRING("nme_display_object_request_soft_keyboard"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetNeedsSoftKeyboard"), - HX_CSTRING("nmeSetNeedsSoftKeyboard"), - HX_CSTRING("nmeGetMoveForSoftKeyboard"), - HX_CSTRING("nmeSetMoveForSoftKeyboard"), - HX_CSTRING("nmeSetMouseEnabled"), - HX_CSTRING("nmeGetMouseEnabled"), - HX_CSTRING("requestSoftKeyboard"), - HX_CSTRING("nmeAsInteractiveObject"), - HX_CSTRING("nmeMouseEnabled"), - HX_CSTRING("needsSoftKeyboard"), - HX_CSTRING("moveForSoftKeyboard"), - HX_CSTRING("mouseEnabled"), - HX_CSTRING("doubleClickEnabled"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(InteractiveObject_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_mouse_enabled,"nme_display_object_set_mouse_enabled"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_needs_soft_keyboard,"nme_display_object_set_needs_soft_keyboard"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_get_needs_soft_keyboard,"nme_display_object_get_needs_soft_keyboard"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_moves_for_soft_keyboard,"nme_display_object_set_moves_for_soft_keyboard"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_get_moves_for_soft_keyboard,"nme_display_object_get_moves_for_soft_keyboard"); - HX_MARK_MEMBER_NAME(InteractiveObject_obj::nme_display_object_request_soft_keyboard,"nme_display_object_request_soft_keyboard"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_mouse_enabled,"nme_display_object_set_mouse_enabled"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_needs_soft_keyboard,"nme_display_object_set_needs_soft_keyboard"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_get_needs_soft_keyboard,"nme_display_object_get_needs_soft_keyboard"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_set_moves_for_soft_keyboard,"nme_display_object_set_moves_for_soft_keyboard"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_get_moves_for_soft_keyboard,"nme_display_object_get_moves_for_soft_keyboard"); - HX_VISIT_MEMBER_NAME(InteractiveObject_obj::nme_display_object_request_soft_keyboard,"nme_display_object_request_soft_keyboard"); -}; - -Class InteractiveObject_obj::__mClass; - -void InteractiveObject_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.InteractiveObject"), hx::TCanCast< InteractiveObject_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void InteractiveObject_obj::__boot() -{ - nme_display_object_set_mouse_enabled= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_mouse_enabled"),(int)2); - nme_display_object_set_needs_soft_keyboard= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_needs_soft_keyboard"),(int)2); - nme_display_object_get_needs_soft_keyboard= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_needs_soft_keyboard"),(int)1); - nme_display_object_set_moves_for_soft_keyboard= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_set_moves_for_soft_keyboard"),(int)2); - nme_display_object_get_moves_for_soft_keyboard= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_get_moves_for_soft_keyboard"),(int)1); - nme_display_object_request_soft_keyboard= ::neash::Loader_obj::load(HX_CSTRING("nme_display_object_request_soft_keyboard"),(int)1); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/InterpolationMethod.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/InterpolationMethod.cpp deleted file mode 100644 index 8d6cdb5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/InterpolationMethod.cpp +++ /dev/null @@ -1,73 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_InterpolationMethod -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::InterpolationMethod InterpolationMethod_obj::LINEAR_RGB; - -::neash::display::InterpolationMethod InterpolationMethod_obj::RGB; - -HX_DEFINE_CREATE_ENUM(InterpolationMethod_obj) - -int InterpolationMethod_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("LINEAR_RGB")) return 1; - if (inName==HX_CSTRING("RGB")) return 0; - return super::__FindIndex(inName); -} - -int InterpolationMethod_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("LINEAR_RGB")) return 0; - if (inName==HX_CSTRING("RGB")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic InterpolationMethod_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("LINEAR_RGB")) return LINEAR_RGB; - if (inName==HX_CSTRING("RGB")) return RGB; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("RGB"), - HX_CSTRING("LINEAR_RGB"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(InterpolationMethod_obj::LINEAR_RGB,"LINEAR_RGB"); - HX_MARK_MEMBER_NAME(InterpolationMethod_obj::RGB,"RGB"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(InterpolationMethod_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(InterpolationMethod_obj::LINEAR_RGB,"LINEAR_RGB"); - HX_VISIT_MEMBER_NAME(InterpolationMethod_obj::RGB,"RGB"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class InterpolationMethod_obj::__mClass; - -Dynamic __Create_InterpolationMethod_obj() { return new InterpolationMethod_obj; } - -void InterpolationMethod_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.InterpolationMethod"), hx::TCanCast< InterpolationMethod_obj >,sStaticFields,sMemberFields, - &__Create_InterpolationMethod_obj, &__Create, - &super::__SGetClass(), &CreateInterpolationMethod_obj, sMarkStatics, sVisitStatic); -} - -void InterpolationMethod_obj::__boot() -{ -Static(LINEAR_RGB) = hx::CreateEnum< InterpolationMethod_obj >(HX_CSTRING("LINEAR_RGB"),1); -Static(RGB) = hx::CreateEnum< InterpolationMethod_obj >(HX_CSTRING("RGB"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/JointStyle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/JointStyle.cpp deleted file mode 100644 index 33f4e21..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/JointStyle.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_JointStyle -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::JointStyle JointStyle_obj::BEVEL; - -::neash::display::JointStyle JointStyle_obj::MITER; - -::neash::display::JointStyle JointStyle_obj::ROUND; - -HX_DEFINE_CREATE_ENUM(JointStyle_obj) - -int JointStyle_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BEVEL")) return 2; - if (inName==HX_CSTRING("MITER")) return 1; - if (inName==HX_CSTRING("ROUND")) return 0; - return super::__FindIndex(inName); -} - -int JointStyle_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BEVEL")) return 0; - if (inName==HX_CSTRING("MITER")) return 0; - if (inName==HX_CSTRING("ROUND")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic JointStyle_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BEVEL")) return BEVEL; - if (inName==HX_CSTRING("MITER")) return MITER; - if (inName==HX_CSTRING("ROUND")) return ROUND; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("ROUND"), - HX_CSTRING("MITER"), - HX_CSTRING("BEVEL"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(JointStyle_obj::BEVEL,"BEVEL"); - HX_MARK_MEMBER_NAME(JointStyle_obj::MITER,"MITER"); - HX_MARK_MEMBER_NAME(JointStyle_obj::ROUND,"ROUND"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(JointStyle_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(JointStyle_obj::BEVEL,"BEVEL"); - HX_VISIT_MEMBER_NAME(JointStyle_obj::MITER,"MITER"); - HX_VISIT_MEMBER_NAME(JointStyle_obj::ROUND,"ROUND"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class JointStyle_obj::__mClass; - -Dynamic __Create_JointStyle_obj() { return new JointStyle_obj; } - -void JointStyle_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.JointStyle"), hx::TCanCast< JointStyle_obj >,sStaticFields,sMemberFields, - &__Create_JointStyle_obj, &__Create, - &super::__SGetClass(), &CreateJointStyle_obj, sMarkStatics, sVisitStatic); -} - -void JointStyle_obj::__boot() -{ -Static(BEVEL) = hx::CreateEnum< JointStyle_obj >(HX_CSTRING("BEVEL"),2); -Static(MITER) = hx::CreateEnum< JointStyle_obj >(HX_CSTRING("MITER"),1); -Static(ROUND) = hx::CreateEnum< JointStyle_obj >(HX_CSTRING("ROUND"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/LineScaleMode.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/LineScaleMode.cpp deleted file mode 100644 index 7802626..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/LineScaleMode.cpp +++ /dev/null @@ -1,100 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_LineScaleMode -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::LineScaleMode LineScaleMode_obj::HORIZONTAL; - -::neash::display::LineScaleMode LineScaleMode_obj::NONE; - -::neash::display::LineScaleMode LineScaleMode_obj::NORMAL; - -::neash::display::LineScaleMode LineScaleMode_obj::OPENGL; - -::neash::display::LineScaleMode LineScaleMode_obj::VERTICAL; - -HX_DEFINE_CREATE_ENUM(LineScaleMode_obj) - -int LineScaleMode_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("HORIZONTAL")) return 3; - if (inName==HX_CSTRING("NONE")) return 1; - if (inName==HX_CSTRING("NORMAL")) return 0; - if (inName==HX_CSTRING("OPENGL")) return 4; - if (inName==HX_CSTRING("VERTICAL")) return 2; - return super::__FindIndex(inName); -} - -int LineScaleMode_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("HORIZONTAL")) return 0; - if (inName==HX_CSTRING("NONE")) return 0; - if (inName==HX_CSTRING("NORMAL")) return 0; - if (inName==HX_CSTRING("OPENGL")) return 0; - if (inName==HX_CSTRING("VERTICAL")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic LineScaleMode_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("HORIZONTAL")) return HORIZONTAL; - if (inName==HX_CSTRING("NONE")) return NONE; - if (inName==HX_CSTRING("NORMAL")) return NORMAL; - if (inName==HX_CSTRING("OPENGL")) return OPENGL; - if (inName==HX_CSTRING("VERTICAL")) return VERTICAL; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NORMAL"), - HX_CSTRING("NONE"), - HX_CSTRING("VERTICAL"), - HX_CSTRING("HORIZONTAL"), - HX_CSTRING("OPENGL"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(LineScaleMode_obj::HORIZONTAL,"HORIZONTAL"); - HX_MARK_MEMBER_NAME(LineScaleMode_obj::NONE,"NONE"); - HX_MARK_MEMBER_NAME(LineScaleMode_obj::NORMAL,"NORMAL"); - HX_MARK_MEMBER_NAME(LineScaleMode_obj::OPENGL,"OPENGL"); - HX_MARK_MEMBER_NAME(LineScaleMode_obj::VERTICAL,"VERTICAL"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::HORIZONTAL,"HORIZONTAL"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::NONE,"NONE"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::NORMAL,"NORMAL"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::OPENGL,"OPENGL"); - HX_VISIT_MEMBER_NAME(LineScaleMode_obj::VERTICAL,"VERTICAL"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class LineScaleMode_obj::__mClass; - -Dynamic __Create_LineScaleMode_obj() { return new LineScaleMode_obj; } - -void LineScaleMode_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.LineScaleMode"), hx::TCanCast< LineScaleMode_obj >,sStaticFields,sMemberFields, - &__Create_LineScaleMode_obj, &__Create, - &super::__SGetClass(), &CreateLineScaleMode_obj, sMarkStatics, sVisitStatic); -} - -void LineScaleMode_obj::__boot() -{ -Static(HORIZONTAL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("HORIZONTAL"),3); -Static(NONE) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("NONE"),1); -Static(NORMAL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("NORMAL"),0); -Static(OPENGL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("OPENGL"),4); -Static(VERTICAL) = hx::CreateEnum< LineScaleMode_obj >(HX_CSTRING("VERTICAL"),2); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/ManagedStage.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/ManagedStage.cpp deleted file mode 100644 index e8e4be9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/ManagedStage.cpp +++ /dev/null @@ -1,581 +0,0 @@ -#include - -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_ManagedStage -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace display{ - -Void ManagedStage_obj::__construct(int inWidth,int inHeight,hx::Null< int > __o_inFlags) -{ -HX_STACK_PUSH("ManagedStage::new","neash/display/ManagedStage.hx",42); -int inFlags = __o_inFlags.Default(0); -{ - HX_STACK_LINE(42) - super::__construct(::neash::display::ManagedStage_obj::nme_managed_stage_create(inWidth,inHeight,inFlags),inWidth,inHeight); -} -; - return null(); -} - -ManagedStage_obj::~ManagedStage_obj() { } - -Dynamic ManagedStage_obj::__CreateEmpty() { return new ManagedStage_obj; } -hx::ObjectPtr< ManagedStage_obj > ManagedStage_obj::__new(int inWidth,int inHeight,hx::Null< int > __o_inFlags) -{ hx::ObjectPtr< ManagedStage_obj > result = new ManagedStage_obj(); - result->__construct(inWidth,inHeight,__o_inFlags); - return result;} - -Dynamic ManagedStage_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ManagedStage_obj > result = new ManagedStage_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -HX_BEGIN_DEFAULT_FUNC(__default_setNextWake,ManagedStage_obj) -Void run(Float inDelay){ -{ - HX_STACK_PUSH("ManagedStage::setNextWake","neash/display/ManagedStage.hx",100); - HX_STACK_THIS(this); - HX_STACK_ARG(inDelay,"inDelay"); - } -return null(); -} -HX_END_LOCAL_FUNC1((void)) -HX_END_DEFAULT_FUNC - -Void ManagedStage_obj::sendQuit( ){ -{ - HX_STACK_PUSH("ManagedStage::sendQuit","neash/display/ManagedStage.hx",94); - HX_STACK_THIS(this); - struct _Function_1_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","neash/display/ManagedStage.hx",95); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("type") , (int)10,false); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(94) - this->pumpEvent(_Function_1_1::Block()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ManagedStage_obj,sendQuit,(void)) - -Void ManagedStage_obj::resize( int inWidth,int inHeight){ -{ - HX_STACK_PUSH("ManagedStage::resize","neash/display/ManagedStage.hx",88); - HX_STACK_THIS(this); - HX_STACK_ARG(inWidth,"inWidth"); - HX_STACK_ARG(inHeight,"inHeight"); - struct _Function_1_1{ - inline static Dynamic Block( int &inWidth,int &inHeight){ - HX_STACK_PUSH("*::closure","neash/display/ManagedStage.hx",89); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("type") , (int)8,false); - __result->Add(HX_CSTRING("x") , inWidth,false); - __result->Add(HX_CSTRING("y") , inHeight,false); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(88) - this->pumpEvent(_Function_1_1::Block(inWidth,inHeight)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ManagedStage_obj,resize,(void)) - -Void ManagedStage_obj::pumpEvent( Dynamic inEvent){ -{ - HX_STACK_PUSH("ManagedStage::pumpEvent","neash/display/ManagedStage.hx",82); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(82) - ::neash::display::ManagedStage_obj::nme_managed_stage_pump_event(this->nmeHandle,inEvent); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ManagedStage_obj,pumpEvent,(void)) - -Void ManagedStage_obj::nmeRender( bool inSendEnterFrame){ -{ - HX_STACK_PUSH("ManagedStage::nmeRender","neash/display/ManagedStage.hx",74); - HX_STACK_THIS(this); - HX_STACK_ARG(inSendEnterFrame,"inSendEnterFrame"); - HX_STACK_LINE(75) - this->beginRender(); - HX_STACK_LINE(76) - this->super::nmeRender(inSendEnterFrame); - HX_STACK_LINE(77) - this->endRender(); - } -return null(); -} - - -Float ManagedStage_obj::nmeDoProcessStageEvent( Dynamic inEvent){ - HX_STACK_PUSH("ManagedStage::nmeDoProcessStageEvent","neash/display/ManagedStage.hx",60); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(61) - this->nmePollTimers(); - HX_STACK_LINE(63) - Float wake = this->super::nmeDoProcessStageEvent(inEvent); HX_STACK_VAR(wake,"wake"); - HX_STACK_LINE(64) - this->setNextWake(wake); - HX_STACK_LINE(66) - return wake; -} - - -HX_BEGIN_DEFAULT_FUNC(__default_endRender,ManagedStage_obj) -Void run(){ -{ - HX_STACK_PUSH("ManagedStage::endRender","neash/display/ManagedStage.hx",54); - HX_STACK_THIS(this); - } -return null(); -} -HX_END_LOCAL_FUNC0((void)) -HX_END_DEFAULT_FUNC - -HX_BEGIN_DEFAULT_FUNC(__default_beginRender,ManagedStage_obj) -Void run(){ -{ - HX_STACK_PUSH("ManagedStage::beginRender","neash/display/ManagedStage.hx",48); - HX_STACK_THIS(this); - } -return null(); -} -HX_END_LOCAL_FUNC0((void)) -HX_END_DEFAULT_FUNC - -int ManagedStage_obj::etUnknown; - -int ManagedStage_obj::etKeyDown; - -int ManagedStage_obj::etChar; - -int ManagedStage_obj::etKeyUp; - -int ManagedStage_obj::etMouseMove; - -int ManagedStage_obj::etMouseDown; - -int ManagedStage_obj::etMouseClick; - -int ManagedStage_obj::etMouseUp; - -int ManagedStage_obj::etResize; - -int ManagedStage_obj::etPoll; - -int ManagedStage_obj::etQuit; - -int ManagedStage_obj::etFocus; - -int ManagedStage_obj::etShouldRotate; - -int ManagedStage_obj::etDestroyHandler; - -int ManagedStage_obj::etRedraw; - -int ManagedStage_obj::etTouchBegin; - -int ManagedStage_obj::etTouchMove; - -int ManagedStage_obj::etTouchEnd; - -int ManagedStage_obj::etTouchTap; - -int ManagedStage_obj::etChange; - -int ManagedStage_obj::efLeftDown; - -int ManagedStage_obj::efShiftDown; - -int ManagedStage_obj::efCtrlDown; - -int ManagedStage_obj::efAltDown; - -int ManagedStage_obj::efCommandDown; - -int ManagedStage_obj::efMiddleDown; - -int ManagedStage_obj::efRightDown; - -int ManagedStage_obj::efLocationRight; - -int ManagedStage_obj::efPrimaryTouch; - -Dynamic ManagedStage_obj::nme_managed_stage_create; - -Dynamic ManagedStage_obj::nme_managed_stage_pump_event; - - -ManagedStage_obj::ManagedStage_obj() -{ - setNextWake = new __default_setNextWake(this); - endRender = new __default_endRender(this); - beginRender = new __default_beginRender(this); -} - -void ManagedStage_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ManagedStage); - HX_MARK_MEMBER_NAME(setNextWake,"setNextWake"); - HX_MARK_MEMBER_NAME(endRender,"endRender"); - HX_MARK_MEMBER_NAME(beginRender,"beginRender"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ManagedStage_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(setNextWake,"setNextWake"); - HX_VISIT_MEMBER_NAME(endRender,"endRender"); - HX_VISIT_MEMBER_NAME(beginRender,"beginRender"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ManagedStage_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"etChar") ) { return etChar; } - if (HX_FIELD_EQ(inName,"etPoll") ) { return etPoll; } - if (HX_FIELD_EQ(inName,"etQuit") ) { return etQuit; } - if (HX_FIELD_EQ(inName,"resize") ) { return resize_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"etKeyUp") ) { return etKeyUp; } - if (HX_FIELD_EQ(inName,"etFocus") ) { return etFocus; } - break; - case 8: - if (HX_FIELD_EQ(inName,"etResize") ) { return etResize; } - if (HX_FIELD_EQ(inName,"etRedraw") ) { return etRedraw; } - if (HX_FIELD_EQ(inName,"etChange") ) { return etChange; } - if (HX_FIELD_EQ(inName,"sendQuit") ) { return sendQuit_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"etUnknown") ) { return etUnknown; } - if (HX_FIELD_EQ(inName,"etKeyDown") ) { return etKeyDown; } - if (HX_FIELD_EQ(inName,"etMouseUp") ) { return etMouseUp; } - if (HX_FIELD_EQ(inName,"efAltDown") ) { return efAltDown; } - if (HX_FIELD_EQ(inName,"pumpEvent") ) { return pumpEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeRender") ) { return nmeRender_dyn(); } - if (HX_FIELD_EQ(inName,"endRender") ) { return endRender; } - break; - case 10: - if (HX_FIELD_EQ(inName,"etTouchEnd") ) { return etTouchEnd; } - if (HX_FIELD_EQ(inName,"etTouchTap") ) { return etTouchTap; } - if (HX_FIELD_EQ(inName,"efLeftDown") ) { return efLeftDown; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { return efCtrlDown; } - break; - case 11: - if (HX_FIELD_EQ(inName,"etMouseMove") ) { return etMouseMove; } - if (HX_FIELD_EQ(inName,"etMouseDown") ) { return etMouseDown; } - if (HX_FIELD_EQ(inName,"etTouchMove") ) { return etTouchMove; } - if (HX_FIELD_EQ(inName,"efShiftDown") ) { return efShiftDown; } - if (HX_FIELD_EQ(inName,"efRightDown") ) { return efRightDown; } - if (HX_FIELD_EQ(inName,"setNextWake") ) { return setNextWake; } - if (HX_FIELD_EQ(inName,"beginRender") ) { return beginRender; } - break; - case 12: - if (HX_FIELD_EQ(inName,"etMouseClick") ) { return etMouseClick; } - if (HX_FIELD_EQ(inName,"etTouchBegin") ) { return etTouchBegin; } - if (HX_FIELD_EQ(inName,"efMiddleDown") ) { return efMiddleDown; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { return efCommandDown; } - break; - case 14: - if (HX_FIELD_EQ(inName,"etShouldRotate") ) { return etShouldRotate; } - if (HX_FIELD_EQ(inName,"efPrimaryTouch") ) { return efPrimaryTouch; } - break; - case 15: - if (HX_FIELD_EQ(inName,"efLocationRight") ) { return efLocationRight; } - break; - case 16: - if (HX_FIELD_EQ(inName,"etDestroyHandler") ) { return etDestroyHandler; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nmeDoProcessStageEvent") ) { return nmeDoProcessStageEvent_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_managed_stage_create") ) { return nme_managed_stage_create; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_managed_stage_pump_event") ) { return nme_managed_stage_pump_event; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ManagedStage_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"etChar") ) { etChar=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etPoll") ) { etPoll=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etQuit") ) { etQuit=inValue.Cast< int >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"etKeyUp") ) { etKeyUp=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etFocus") ) { etFocus=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"etResize") ) { etResize=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etRedraw") ) { etRedraw=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etChange") ) { etChange=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"etUnknown") ) { etUnknown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etKeyDown") ) { etKeyDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etMouseUp") ) { etMouseUp=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efAltDown") ) { efAltDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"endRender") ) { endRender=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"etTouchEnd") ) { etTouchEnd=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etTouchTap") ) { etTouchTap=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efLeftDown") ) { efLeftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { efCtrlDown=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"etMouseMove") ) { etMouseMove=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etMouseDown") ) { etMouseDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etTouchMove") ) { etTouchMove=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efShiftDown") ) { efShiftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efRightDown") ) { efRightDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"setNextWake") ) { setNextWake=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"beginRender") ) { beginRender=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"etMouseClick") ) { etMouseClick=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"etTouchBegin") ) { etTouchBegin=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efMiddleDown") ) { efMiddleDown=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { efCommandDown=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"etShouldRotate") ) { etShouldRotate=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efPrimaryTouch") ) { efPrimaryTouch=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"efLocationRight") ) { efLocationRight=inValue.Cast< int >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"etDestroyHandler") ) { etDestroyHandler=inValue.Cast< int >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_managed_stage_create") ) { nme_managed_stage_create=inValue.Cast< Dynamic >(); return inValue; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_managed_stage_pump_event") ) { nme_managed_stage_pump_event=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ManagedStage_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("etUnknown"), - HX_CSTRING("etKeyDown"), - HX_CSTRING("etChar"), - HX_CSTRING("etKeyUp"), - HX_CSTRING("etMouseMove"), - HX_CSTRING("etMouseDown"), - HX_CSTRING("etMouseClick"), - HX_CSTRING("etMouseUp"), - HX_CSTRING("etResize"), - HX_CSTRING("etPoll"), - HX_CSTRING("etQuit"), - HX_CSTRING("etFocus"), - HX_CSTRING("etShouldRotate"), - HX_CSTRING("etDestroyHandler"), - HX_CSTRING("etRedraw"), - HX_CSTRING("etTouchBegin"), - HX_CSTRING("etTouchMove"), - HX_CSTRING("etTouchEnd"), - HX_CSTRING("etTouchTap"), - HX_CSTRING("etChange"), - HX_CSTRING("efLeftDown"), - HX_CSTRING("efShiftDown"), - HX_CSTRING("efCtrlDown"), - HX_CSTRING("efAltDown"), - HX_CSTRING("efCommandDown"), - HX_CSTRING("efMiddleDown"), - HX_CSTRING("efRightDown"), - HX_CSTRING("efLocationRight"), - HX_CSTRING("efPrimaryTouch"), - HX_CSTRING("nme_managed_stage_create"), - HX_CSTRING("nme_managed_stage_pump_event"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("setNextWake"), - HX_CSTRING("sendQuit"), - HX_CSTRING("resize"), - HX_CSTRING("pumpEvent"), - HX_CSTRING("nmeRender"), - HX_CSTRING("nmeDoProcessStageEvent"), - HX_CSTRING("endRender"), - HX_CSTRING("beginRender"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ManagedStage_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etUnknown,"etUnknown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etKeyDown,"etKeyDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etChar,"etChar"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etKeyUp,"etKeyUp"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etMouseMove,"etMouseMove"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etMouseDown,"etMouseDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etMouseClick,"etMouseClick"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etMouseUp,"etMouseUp"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etResize,"etResize"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etPoll,"etPoll"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etQuit,"etQuit"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etFocus,"etFocus"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etShouldRotate,"etShouldRotate"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etDestroyHandler,"etDestroyHandler"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etRedraw,"etRedraw"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etTouchBegin,"etTouchBegin"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etTouchMove,"etTouchMove"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etTouchEnd,"etTouchEnd"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etTouchTap,"etTouchTap"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::etChange,"etChange"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efLeftDown,"efLeftDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efShiftDown,"efShiftDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efCtrlDown,"efCtrlDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efAltDown,"efAltDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efCommandDown,"efCommandDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efMiddleDown,"efMiddleDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efRightDown,"efRightDown"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efLocationRight,"efLocationRight"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::efPrimaryTouch,"efPrimaryTouch"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::nme_managed_stage_create,"nme_managed_stage_create"); - HX_MARK_MEMBER_NAME(ManagedStage_obj::nme_managed_stage_pump_event,"nme_managed_stage_pump_event"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ManagedStage_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etUnknown,"etUnknown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etKeyDown,"etKeyDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etChar,"etChar"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etKeyUp,"etKeyUp"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etMouseMove,"etMouseMove"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etMouseDown,"etMouseDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etMouseClick,"etMouseClick"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etMouseUp,"etMouseUp"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etResize,"etResize"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etPoll,"etPoll"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etQuit,"etQuit"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etFocus,"etFocus"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etShouldRotate,"etShouldRotate"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etDestroyHandler,"etDestroyHandler"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etRedraw,"etRedraw"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etTouchBegin,"etTouchBegin"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etTouchMove,"etTouchMove"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etTouchEnd,"etTouchEnd"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etTouchTap,"etTouchTap"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::etChange,"etChange"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efLeftDown,"efLeftDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efShiftDown,"efShiftDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efCtrlDown,"efCtrlDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efAltDown,"efAltDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efCommandDown,"efCommandDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efMiddleDown,"efMiddleDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efRightDown,"efRightDown"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efLocationRight,"efLocationRight"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::efPrimaryTouch,"efPrimaryTouch"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::nme_managed_stage_create,"nme_managed_stage_create"); - HX_VISIT_MEMBER_NAME(ManagedStage_obj::nme_managed_stage_pump_event,"nme_managed_stage_pump_event"); -}; - -Class ManagedStage_obj::__mClass; - -void ManagedStage_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.ManagedStage"), hx::TCanCast< ManagedStage_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ManagedStage_obj::__boot() -{ - etUnknown= (int)0; - etKeyDown= (int)1; - etChar= (int)2; - etKeyUp= (int)3; - etMouseMove= (int)4; - etMouseDown= (int)5; - etMouseClick= (int)6; - etMouseUp= (int)7; - etResize= (int)8; - etPoll= (int)9; - etQuit= (int)10; - etFocus= (int)11; - etShouldRotate= (int)12; - etDestroyHandler= (int)13; - etRedraw= (int)14; - etTouchBegin= (int)15; - etTouchMove= (int)16; - etTouchEnd= (int)17; - etTouchTap= (int)18; - etChange= (int)19; - efLeftDown= (int)1; - efShiftDown= (int)2; - efCtrlDown= (int)4; - efAltDown= (int)8; - efCommandDown= (int)16; - efMiddleDown= (int)32; - efRightDown= (int)64; - efLocationRight= (int)16384; - efPrimaryTouch= (int)32768; - nme_managed_stage_create= ::neash::Loader_obj::load(HX_CSTRING("nme_managed_stage_create"),(int)2); - nme_managed_stage_pump_event= ::neash::Loader_obj::load(HX_CSTRING("nme_managed_stage_pump_event"),(int)2); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/MovieClip.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/MovieClip.cpp deleted file mode 100644 index e4aa4e1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/MovieClip.cpp +++ /dev/null @@ -1,270 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_MovieClip -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace display{ - -Void MovieClip_obj::__construct() -{ -HX_STACK_PUSH("MovieClip::new","neash/display/MovieClip.hx",17); -{ - HX_STACK_LINE(18) - super::__construct(); - HX_STACK_LINE(19) - this->mCurrentFrame = (int)0; - HX_STACK_LINE(20) - this->mTotalFrames = (int)0; -} -; - return null(); -} - -MovieClip_obj::~MovieClip_obj() { } - -Dynamic MovieClip_obj::__CreateEmpty() { return new MovieClip_obj; } -hx::ObjectPtr< MovieClip_obj > MovieClip_obj::__new() -{ hx::ObjectPtr< MovieClip_obj > result = new MovieClip_obj(); - result->__construct(); - return result;} - -Dynamic MovieClip_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< MovieClip_obj > result = new MovieClip_obj(); - result->__construct(); - return result;} - -int MovieClip_obj::nmeGetTotalFrames( ){ - HX_STACK_PUSH("MovieClip::nmeGetTotalFrames","neash/display/MovieClip.hx",60); - HX_STACK_THIS(this); - HX_STACK_LINE(60) - return this->mTotalFrames; -} - - -HX_DEFINE_DYNAMIC_FUNC0(MovieClip_obj,nmeGetTotalFrames,return ) - -int MovieClip_obj::nmeGetCurrentFrame( ){ - HX_STACK_PUSH("MovieClip::nmeGetCurrentFrame","neash/display/MovieClip.hx",59); - HX_STACK_THIS(this); - HX_STACK_LINE(59) - return this->mCurrentFrame; -} - - -HX_DEFINE_DYNAMIC_FUNC0(MovieClip_obj,nmeGetCurrentFrame,return ) - -Void MovieClip_obj::stop( ){ -{ - HX_STACK_PUSH("MovieClip::stop","neash/display/MovieClip.hx",49); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(MovieClip_obj,stop,(void)) - -Void MovieClip_obj::play( ){ -{ - HX_STACK_PUSH("MovieClip::play","neash/display/MovieClip.hx",43); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(MovieClip_obj,play,(void)) - -::String MovieClip_obj::nmeGetType( ){ - HX_STACK_PUSH("MovieClip::nmeGetType","neash/display/MovieClip.hx",37); - HX_STACK_THIS(this); - HX_STACK_LINE(37) - return HX_CSTRING("MovieClip"); -} - - -Void MovieClip_obj::gotoAndStop( Dynamic frame,::String scene){ -{ - HX_STACK_PUSH("MovieClip::gotoAndStop","neash/display/MovieClip.hx",31); - HX_STACK_THIS(this); - HX_STACK_ARG(frame,"frame"); - HX_STACK_ARG(scene,"scene"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(MovieClip_obj,gotoAndStop,(void)) - -Void MovieClip_obj::gotoAndPlay( Dynamic frame,::String scene){ -{ - HX_STACK_PUSH("MovieClip::gotoAndPlay","neash/display/MovieClip.hx",25); - HX_STACK_THIS(this); - HX_STACK_ARG(frame,"frame"); - HX_STACK_ARG(scene,"scene"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(MovieClip_obj,gotoAndPlay,(void)) - - -MovieClip_obj::MovieClip_obj() -{ -} - -void MovieClip_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(MovieClip); - HX_MARK_MEMBER_NAME(mTotalFrames,"mTotalFrames"); - HX_MARK_MEMBER_NAME(mCurrentFrame,"mCurrentFrame"); - HX_MARK_MEMBER_NAME(totalFrames,"totalFrames"); - HX_MARK_MEMBER_NAME(framesLoaded,"framesLoaded"); - HX_MARK_MEMBER_NAME(enabled,"enabled"); - HX_MARK_MEMBER_NAME(currentFrame,"currentFrame"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void MovieClip_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mTotalFrames,"mTotalFrames"); - HX_VISIT_MEMBER_NAME(mCurrentFrame,"mCurrentFrame"); - HX_VISIT_MEMBER_NAME(totalFrames,"totalFrames"); - HX_VISIT_MEMBER_NAME(framesLoaded,"framesLoaded"); - HX_VISIT_MEMBER_NAME(enabled,"enabled"); - HX_VISIT_MEMBER_NAME(currentFrame,"currentFrame"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic MovieClip_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"stop") ) { return stop_dyn(); } - if (HX_FIELD_EQ(inName,"play") ) { return play_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"enabled") ) { return enabled; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeGetType") ) { return nmeGetType_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"gotoAndStop") ) { return gotoAndStop_dyn(); } - if (HX_FIELD_EQ(inName,"gotoAndPlay") ) { return gotoAndPlay_dyn(); } - if (HX_FIELD_EQ(inName,"totalFrames") ) { return inCallProp ? nmeGetTotalFrames() : totalFrames; } - break; - case 12: - if (HX_FIELD_EQ(inName,"mTotalFrames") ) { return mTotalFrames; } - if (HX_FIELD_EQ(inName,"framesLoaded") ) { return inCallProp ? nmeGetTotalFrames() : framesLoaded; } - if (HX_FIELD_EQ(inName,"currentFrame") ) { return inCallProp ? nmeGetCurrentFrame() : currentFrame; } - break; - case 13: - if (HX_FIELD_EQ(inName,"mCurrentFrame") ) { return mCurrentFrame; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeGetTotalFrames") ) { return nmeGetTotalFrames_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"nmeGetCurrentFrame") ) { return nmeGetCurrentFrame_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic MovieClip_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"enabled") ) { enabled=inValue.Cast< bool >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"totalFrames") ) { totalFrames=inValue.Cast< int >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"mTotalFrames") ) { mTotalFrames=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"framesLoaded") ) { framesLoaded=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"currentFrame") ) { currentFrame=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"mCurrentFrame") ) { mCurrentFrame=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void MovieClip_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mTotalFrames")); - outFields->push(HX_CSTRING("mCurrentFrame")); - outFields->push(HX_CSTRING("totalFrames")); - outFields->push(HX_CSTRING("framesLoaded")); - outFields->push(HX_CSTRING("enabled")); - outFields->push(HX_CSTRING("currentFrame")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetTotalFrames"), - HX_CSTRING("nmeGetCurrentFrame"), - HX_CSTRING("stop"), - HX_CSTRING("play"), - HX_CSTRING("nmeGetType"), - HX_CSTRING("gotoAndStop"), - HX_CSTRING("gotoAndPlay"), - HX_CSTRING("mTotalFrames"), - HX_CSTRING("mCurrentFrame"), - HX_CSTRING("totalFrames"), - HX_CSTRING("framesLoaded"), - HX_CSTRING("enabled"), - HX_CSTRING("currentFrame"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(MovieClip_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(MovieClip_obj::__mClass,"__mClass"); -}; - -Class MovieClip_obj::__mClass; - -void MovieClip_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.MovieClip"), hx::TCanCast< MovieClip_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void MovieClip_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/OptimizedPerlin.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/OptimizedPerlin.cpp deleted file mode 100644 index f7cf19f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/OptimizedPerlin.cpp +++ /dev/null @@ -1,594 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_OptimizedPerlin -#include -#endif -namespace neash{ -namespace display{ - -Void OptimizedPerlin_obj::__construct(hx::Null< int > __o_seed,hx::Null< int > __o_octaves,hx::Null< Float > __o_falloff) -{ -HX_STACK_PUSH("OptimizedPerlin::new","neash/display/BitmapData.hx",582); -int seed = __o_seed.Default(123); -int octaves = __o_octaves.Default(4); -Float falloff = __o_falloff.Default(0.5); -{ - HX_STACK_LINE(583) - this->baseFactor = 0.015625; - HX_STACK_LINE(584) - this->seedOffset(seed); - HX_STACK_LINE(585) - this->octFreqPers(falloff); -} -; - return null(); -} - -OptimizedPerlin_obj::~OptimizedPerlin_obj() { } - -Dynamic OptimizedPerlin_obj::__CreateEmpty() { return new OptimizedPerlin_obj; } -hx::ObjectPtr< OptimizedPerlin_obj > OptimizedPerlin_obj::__new(hx::Null< int > __o_seed,hx::Null< int > __o_octaves,hx::Null< Float > __o_falloff) -{ hx::ObjectPtr< OptimizedPerlin_obj > result = new OptimizedPerlin_obj(); - result->__construct(__o_seed,__o_octaves,__o_falloff); - return result;} - -Dynamic OptimizedPerlin_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< OptimizedPerlin_obj > result = new OptimizedPerlin_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -Void OptimizedPerlin_obj::seedOffset( int iSeed){ -{ - HX_STACK_PUSH("OptimizedPerlin::seedOffset","neash/display/BitmapData.hx",722); - HX_STACK_THIS(this); - HX_STACK_ARG(iSeed,"iSeed"); - HX_STACK_LINE(728) - this->iXoffset = iSeed = ::Std_obj::_int(hx::Mod((iSeed * 16807.),(int)2147483647)); - HX_STACK_LINE(729) - this->iYoffset = iSeed = ::Std_obj::_int(hx::Mod((iSeed * 16807.),(int)2147483647)); - HX_STACK_LINE(730) - this->iZoffset = iSeed = ::Std_obj::_int(hx::Mod((iSeed * 16807.),(int)2147483647)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(OptimizedPerlin_obj,seedOffset,(void)) - -Void OptimizedPerlin_obj::octFreqPers( Float fPersistence){ -{ - HX_STACK_PUSH("OptimizedPerlin::octFreqPers","neash/display/BitmapData.hx",703); - HX_STACK_THIS(this); - HX_STACK_ARG(fPersistence,"fPersistence"); - HX_STACK_LINE(704) - Float fFreq; HX_STACK_VAR(fFreq,"fFreq"); - Float fPers; HX_STACK_VAR(fPers,"fPers"); - HX_STACK_LINE(706) - this->aOctFreq = Array_obj< Float >::__new(); - HX_STACK_LINE(707) - this->aOctPers = Array_obj< Float >::__new(); - HX_STACK_LINE(708) - this->fPersMax = (int)0; - HX_STACK_LINE(710) - { - HX_STACK_LINE(710) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = this->octaves; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(710) - while(((_g1 < _g))){ - HX_STACK_LINE(710) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(711) - fFreq = ::Math_obj::pow((int)2,i); - HX_STACK_LINE(712) - fPers = ::Math_obj::pow(fPersistence,i); - HX_STACK_LINE(713) - hx::AddEq(this->fPersMax,fPers); - HX_STACK_LINE(714) - this->aOctFreq->push(fFreq); - HX_STACK_LINE(715) - this->aOctPers->push(fPers); - } - } - HX_STACK_LINE(718) - this->fPersMax = (Float((int)1) / Float(this->fPersMax)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(OptimizedPerlin_obj,octFreqPers,(void)) - -Void OptimizedPerlin_obj::fill( ::neash::display::BitmapData bitmap,Float _x,Float _y,Float _z,Dynamic _){ -{ - HX_STACK_PUSH("OptimizedPerlin::fill","neash/display/BitmapData.hx",590); - HX_STACK_THIS(this); - HX_STACK_ARG(bitmap,"bitmap"); - HX_STACK_ARG(_x,"_x"); - HX_STACK_ARG(_y,"_y"); - HX_STACK_ARG(_z,"_z"); - HX_STACK_ARG(_,"_"); - HX_STACK_LINE(591) - Float baseX; HX_STACK_VAR(baseX,"baseX"); - HX_STACK_LINE(593) - baseX = ((_x * this->baseFactor) + this->iXoffset); - HX_STACK_LINE(594) - _y = ((_y * this->baseFactor) + this->iYoffset); - HX_STACK_LINE(595) - _z = ((_z * this->baseFactor) + this->iZoffset); - HX_STACK_LINE(597) - int width = bitmap->nmeGetWidth(); HX_STACK_VAR(width,"width"); - HX_STACK_LINE(598) - int height = bitmap->nmeGetHeight(); HX_STACK_VAR(height,"height"); - HX_STACK_LINE(600) - Array< int > p = ::neash::display::OptimizedPerlin_obj::P; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(601) - int octaves = this->octaves; HX_STACK_VAR(octaves,"octaves"); - HX_STACK_LINE(602) - Array< Float > aOctFreq = this->aOctFreq; HX_STACK_VAR(aOctFreq,"aOctFreq"); - HX_STACK_LINE(603) - Array< Float > aOctPers = this->aOctPers; HX_STACK_VAR(aOctPers,"aOctPers"); - HX_STACK_LINE(605) - { - HX_STACK_LINE(605) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(605) - while(((_g < height))){ - HX_STACK_LINE(605) - int py = (_g)++; HX_STACK_VAR(py,"py"); - HX_STACK_LINE(607) - _x = baseX; - HX_STACK_LINE(609) - { - HX_STACK_LINE(609) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(609) - while(((_g1 < width))){ - HX_STACK_LINE(609) - int px = (_g1)++; HX_STACK_VAR(px,"px"); - HX_STACK_LINE(611) - Float s = 0.; HX_STACK_VAR(s,"s"); - HX_STACK_LINE(613) - { - HX_STACK_LINE(613) - int _g2 = (int)0; HX_STACK_VAR(_g2,"_g2"); - HX_STACK_LINE(613) - while(((_g2 < octaves))){ - HX_STACK_LINE(613) - int i = (_g2)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(615) - Float fFreq = aOctFreq->__get(i); HX_STACK_VAR(fFreq,"fFreq"); - HX_STACK_LINE(616) - Float fPers = aOctPers->__get(i); HX_STACK_VAR(fPers,"fPers"); - HX_STACK_LINE(618) - Float x = (_x * fFreq); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(619) - Float y = (_y * fFreq); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(620) - Float z = (_z * fFreq); HX_STACK_VAR(z,"z"); - HX_STACK_LINE(622) - Float xf = (x - hx::Mod(x,(int)1)); HX_STACK_VAR(xf,"xf"); - HX_STACK_LINE(623) - Float yf = (y - hx::Mod(y,(int)1)); HX_STACK_VAR(yf,"yf"); - HX_STACK_LINE(624) - Float zf = (z - hx::Mod(z,(int)1)); HX_STACK_VAR(zf,"zf"); - HX_STACK_LINE(626) - int X = (int(::Std_obj::_int(xf)) & int((int)255)); HX_STACK_VAR(X,"X"); - HX_STACK_LINE(627) - int Y = (int(::Std_obj::_int(yf)) & int((int)255)); HX_STACK_VAR(Y,"Y"); - HX_STACK_LINE(628) - int Z = (int(::Std_obj::_int(zf)) & int((int)255)); HX_STACK_VAR(Z,"Z"); - HX_STACK_LINE(630) - hx::SubEq(x,xf); - HX_STACK_LINE(631) - hx::SubEq(y,yf); - HX_STACK_LINE(632) - hx::SubEq(z,zf); - HX_STACK_LINE(634) - Float u = (((x * x) * x) * (((x * (((x * (int)6) - (int)15))) + (int)10))); HX_STACK_VAR(u,"u"); - HX_STACK_LINE(635) - Float v = (((y * y) * y) * (((y * (((y * (int)6) - (int)15))) + (int)10))); HX_STACK_VAR(v,"v"); - HX_STACK_LINE(636) - Float w = (((z * z) * z) * (((z * (((z * (int)6) - (int)15))) + (int)10))); HX_STACK_VAR(w,"w"); - HX_STACK_LINE(638) - int A = (p->__get(X) + Y); HX_STACK_VAR(A,"A"); - HX_STACK_LINE(639) - int AA = (p->__get(A) + Z); HX_STACK_VAR(AA,"AA"); - HX_STACK_LINE(640) - int AB = (p->__get((A + (int)1)) + Z); HX_STACK_VAR(AB,"AB"); - HX_STACK_LINE(641) - int B = (p->__get((X + (int)1)) + Y); HX_STACK_VAR(B,"B"); - HX_STACK_LINE(642) - int BA = (p->__get(B) + Z); HX_STACK_VAR(BA,"BA"); - HX_STACK_LINE(643) - int BB = (p->__get((B + (int)1)) + Z); HX_STACK_VAR(BB,"BB"); - HX_STACK_LINE(645) - Float x1 = (x - (int)1); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(646) - Float y1 = (y - (int)1); HX_STACK_VAR(y1,"y1"); - HX_STACK_LINE(647) - Float z1 = (z - (int)1); HX_STACK_VAR(z1,"z1"); - HX_STACK_LINE(649) - int hash = (int(p->__get((BB + (int)1))) & int((int)15)); HX_STACK_VAR(hash,"hash"); - struct _Function_7_1{ - inline static Float Block( Float &y1,Float &x1,int &hash){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",650); - { - HX_STACK_LINE(650) - return ( (((hash < (int)8))) ? Float(x1) : Float(y1) ); - } - return null(); - } - }; - struct _Function_7_2{ - inline static Float Block( Float &y1,Float &x1,int &hash,Float &z1){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",650); - { - HX_STACK_LINE(650) - return ( (((hash < (int)4))) ? Float(y1) : Float(( (((hash == (int)12))) ? Float(x1) : Float(z1) )) ); - } - return null(); - } - }; - HX_STACK_LINE(650) - Float g1 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_1::Block(y1,x1,hash)) : Float(( (((hash < (int)8))) ? Float(-(x1)) : Float(-(y1)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_2::Block(y1,x1,hash,z1)) : Float(( (((hash < (int)4))) ? Float(-(y1)) : Float(( (((hash == (int)14))) ? Float(-(x1)) : Float(-(z1)) )) )) ))); HX_STACK_VAR(g1,"g1"); - HX_STACK_LINE(652) - hash = (int(p->__get((AB + (int)1))) & int((int)15)); - struct _Function_7_3{ - inline static Float Block( Float &y1,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",653); - { - HX_STACK_LINE(653) - return ( (((hash < (int)8))) ? Float(x) : Float(y1) ); - } - return null(); - } - }; - struct _Function_7_4{ - inline static Float Block( Float &y1,int &hash,Float &x,Float &z1){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",653); - { - HX_STACK_LINE(653) - return ( (((hash < (int)4))) ? Float(y1) : Float(( (((hash == (int)12))) ? Float(x) : Float(z1) )) ); - } - return null(); - } - }; - HX_STACK_LINE(653) - Float g2 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_3::Block(y1,hash,x)) : Float(( (((hash < (int)8))) ? Float(-(x)) : Float(-(y1)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_4::Block(y1,hash,x,z1)) : Float(( (((hash < (int)4))) ? Float(-(y1)) : Float(( (((hash == (int)14))) ? Float(-(x)) : Float(-(z1)) )) )) ))); HX_STACK_VAR(g2,"g2"); - HX_STACK_LINE(655) - hash = (int(p->__get((BA + (int)1))) & int((int)15)); - struct _Function_7_5{ - inline static Float Block( Float &x1,Float &y,int &hash){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",656); - { - HX_STACK_LINE(656) - return ( (((hash < (int)8))) ? Float(x1) : Float(y) ); - } - return null(); - } - }; - struct _Function_7_6{ - inline static Float Block( Float &y,Float &x1,int &hash,Float &z1){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",656); - { - HX_STACK_LINE(656) - return ( (((hash < (int)4))) ? Float(y) : Float(( (((hash == (int)12))) ? Float(x1) : Float(z1) )) ); - } - return null(); - } - }; - HX_STACK_LINE(656) - Float g3 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_5::Block(x1,y,hash)) : Float(( (((hash < (int)8))) ? Float(-(x1)) : Float(-(y)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_6::Block(y,x1,hash,z1)) : Float(( (((hash < (int)4))) ? Float(-(y)) : Float(( (((hash == (int)14))) ? Float(-(x1)) : Float(-(z1)) )) )) ))); HX_STACK_VAR(g3,"g3"); - HX_STACK_LINE(658) - hash = (int(p->__get((AA + (int)1))) & int((int)15)); - struct _Function_7_7{ - inline static Float Block( Float &y,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",659); - { - HX_STACK_LINE(659) - return ( (((hash < (int)8))) ? Float(x) : Float(y) ); - } - return null(); - } - }; - struct _Function_7_8{ - inline static Float Block( Float &y,int &hash,Float &x,Float &z1){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",659); - { - HX_STACK_LINE(659) - return ( (((hash < (int)4))) ? Float(y) : Float(( (((hash == (int)12))) ? Float(x) : Float(z1) )) ); - } - return null(); - } - }; - HX_STACK_LINE(659) - Float g4 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_7::Block(y,hash,x)) : Float(( (((hash < (int)8))) ? Float(-(x)) : Float(-(y)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_8::Block(y,hash,x,z1)) : Float(( (((hash < (int)4))) ? Float(-(y)) : Float(( (((hash == (int)14))) ? Float(-(x)) : Float(-(z1)) )) )) ))); HX_STACK_VAR(g4,"g4"); - HX_STACK_LINE(661) - hash = (int(p->__get(BB)) & int((int)15)); - struct _Function_7_9{ - inline static Float Block( Float &y1,Float &x1,int &hash){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",662); - { - HX_STACK_LINE(662) - return ( (((hash < (int)8))) ? Float(x1) : Float(y1) ); - } - return null(); - } - }; - struct _Function_7_10{ - inline static Float Block( Float &y1,Float &z,Float &x1,int &hash){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",662); - { - HX_STACK_LINE(662) - return ( (((hash < (int)4))) ? Float(y1) : Float(( (((hash == (int)12))) ? Float(x1) : Float(z) )) ); - } - return null(); - } - }; - HX_STACK_LINE(662) - Float g5 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_9::Block(y1,x1,hash)) : Float(( (((hash < (int)8))) ? Float(-(x1)) : Float(-(y1)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_10::Block(y1,z,x1,hash)) : Float(( (((hash < (int)4))) ? Float(-(y1)) : Float(( (((hash == (int)14))) ? Float(-(x1)) : Float(-(z)) )) )) ))); HX_STACK_VAR(g5,"g5"); - HX_STACK_LINE(664) - hash = (int(p->__get(AB)) & int((int)15)); - struct _Function_7_11{ - inline static Float Block( Float &y1,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",665); - { - HX_STACK_LINE(665) - return ( (((hash < (int)8))) ? Float(x) : Float(y1) ); - } - return null(); - } - }; - struct _Function_7_12{ - inline static Float Block( Float &y1,Float &z,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",665); - { - HX_STACK_LINE(665) - return ( (((hash < (int)4))) ? Float(y1) : Float(( (((hash == (int)12))) ? Float(x) : Float(z) )) ); - } - return null(); - } - }; - HX_STACK_LINE(665) - Float g6 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_11::Block(y1,hash,x)) : Float(( (((hash < (int)8))) ? Float(-(x)) : Float(-(y1)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_12::Block(y1,z,hash,x)) : Float(( (((hash < (int)4))) ? Float(-(y1)) : Float(( (((hash == (int)14))) ? Float(-(x)) : Float(-(z)) )) )) ))); HX_STACK_VAR(g6,"g6"); - HX_STACK_LINE(667) - hash = (int(p->__get(BA)) & int((int)15)); - struct _Function_7_13{ - inline static Float Block( Float &x1,Float &y,int &hash){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",668); - { - HX_STACK_LINE(668) - return ( (((hash < (int)8))) ? Float(x1) : Float(y) ); - } - return null(); - } - }; - struct _Function_7_14{ - inline static Float Block( Float &z,Float &y,Float &x1,int &hash){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",668); - { - HX_STACK_LINE(668) - return ( (((hash < (int)4))) ? Float(y) : Float(( (((hash == (int)12))) ? Float(x1) : Float(z) )) ); - } - return null(); - } - }; - HX_STACK_LINE(668) - Float g7 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_13::Block(x1,y,hash)) : Float(( (((hash < (int)8))) ? Float(-(x1)) : Float(-(y)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_14::Block(z,y,x1,hash)) : Float(( (((hash < (int)4))) ? Float(-(y)) : Float(( (((hash == (int)14))) ? Float(-(x1)) : Float(-(z)) )) )) ))); HX_STACK_VAR(g7,"g7"); - HX_STACK_LINE(670) - hash = (int(p->__get(AA)) & int((int)15)); - struct _Function_7_15{ - inline static Float Block( Float &y,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",671); - { - HX_STACK_LINE(671) - return ( (((hash < (int)8))) ? Float(x) : Float(y) ); - } - return null(); - } - }; - struct _Function_7_16{ - inline static Float Block( Float &z,Float &y,int &hash,Float &x){ - HX_STACK_PUSH("*::closure","neash/display/BitmapData.hx",671); - { - HX_STACK_LINE(671) - return ( (((hash < (int)4))) ? Float(y) : Float(( (((hash == (int)12))) ? Float(x) : Float(z) )) ); - } - return null(); - } - }; - HX_STACK_LINE(671) - Float g8 = ((( (((((int(hash) & int((int)1))) == (int)0))) ? Float(_Function_7_15::Block(y,hash,x)) : Float(( (((hash < (int)8))) ? Float(-(x)) : Float(-(y)) )) )) + (( (((((int(hash) & int((int)2))) == (int)0))) ? Float(_Function_7_16::Block(z,y,hash,x)) : Float(( (((hash < (int)4))) ? Float(-(y)) : Float(( (((hash == (int)14))) ? Float(-(x)) : Float(-(z)) )) )) ))); HX_STACK_VAR(g8,"g8"); - HX_STACK_LINE(673) - hx::AddEq(g2,(u * ((g1 - g2)))); - HX_STACK_LINE(674) - hx::AddEq(g4,(u * ((g3 - g4)))); - HX_STACK_LINE(675) - hx::AddEq(g6,(u * ((g5 - g6)))); - HX_STACK_LINE(676) - hx::AddEq(g8,(u * ((g7 - g8)))); - HX_STACK_LINE(678) - hx::AddEq(g4,(v * ((g2 - g4)))); - HX_STACK_LINE(679) - hx::AddEq(g8,(v * ((g6 - g8)))); - HX_STACK_LINE(681) - hx::AddEq(s,(((g8 + (w * ((g4 - g8))))) * fPers)); - } - } - HX_STACK_LINE(684) - int color = ::Std_obj::_int(((((s * this->fPersMax) + (int)1)) * (int)128)); HX_STACK_VAR(color,"color"); - HX_STACK_LINE(689) - int pixel = (int((int((int((int)-16777216) | int((int(color) << int((int)16))))) | int((int(color) << int((int)8))))) | int(color)); HX_STACK_VAR(pixel,"pixel"); - HX_STACK_LINE(692) - bitmap->setPixel32(px,py,pixel); - HX_STACK_LINE(694) - hx::AddEq(_x,this->baseFactor); - } - } - HX_STACK_LINE(697) - hx::AddEq(_y,this->baseFactor); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(OptimizedPerlin_obj,fill,(void)) - -Array< int > OptimizedPerlin_obj::P; - - -OptimizedPerlin_obj::OptimizedPerlin_obj() -{ -} - -void OptimizedPerlin_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(OptimizedPerlin); - HX_MARK_MEMBER_NAME(baseFactor,"baseFactor"); - HX_MARK_MEMBER_NAME(iZoffset,"iZoffset"); - HX_MARK_MEMBER_NAME(iYoffset,"iYoffset"); - HX_MARK_MEMBER_NAME(iXoffset,"iXoffset"); - HX_MARK_MEMBER_NAME(fPersMax,"fPersMax"); - HX_MARK_MEMBER_NAME(aOctPers,"aOctPers"); - HX_MARK_MEMBER_NAME(aOctFreq,"aOctFreq"); - HX_MARK_MEMBER_NAME(octaves,"octaves"); - HX_MARK_END_CLASS(); -} - -void OptimizedPerlin_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(baseFactor,"baseFactor"); - HX_VISIT_MEMBER_NAME(iZoffset,"iZoffset"); - HX_VISIT_MEMBER_NAME(iYoffset,"iYoffset"); - HX_VISIT_MEMBER_NAME(iXoffset,"iXoffset"); - HX_VISIT_MEMBER_NAME(fPersMax,"fPersMax"); - HX_VISIT_MEMBER_NAME(aOctPers,"aOctPers"); - HX_VISIT_MEMBER_NAME(aOctFreq,"aOctFreq"); - HX_VISIT_MEMBER_NAME(octaves,"octaves"); -} - -Dynamic OptimizedPerlin_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"P") ) { return P; } - break; - case 4: - if (HX_FIELD_EQ(inName,"fill") ) { return fill_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"octaves") ) { return octaves; } - break; - case 8: - if (HX_FIELD_EQ(inName,"iZoffset") ) { return iZoffset; } - if (HX_FIELD_EQ(inName,"iYoffset") ) { return iYoffset; } - if (HX_FIELD_EQ(inName,"iXoffset") ) { return iXoffset; } - if (HX_FIELD_EQ(inName,"fPersMax") ) { return fPersMax; } - if (HX_FIELD_EQ(inName,"aOctPers") ) { return aOctPers; } - if (HX_FIELD_EQ(inName,"aOctFreq") ) { return aOctFreq; } - break; - case 10: - if (HX_FIELD_EQ(inName,"seedOffset") ) { return seedOffset_dyn(); } - if (HX_FIELD_EQ(inName,"baseFactor") ) { return baseFactor; } - break; - case 11: - if (HX_FIELD_EQ(inName,"octFreqPers") ) { return octFreqPers_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic OptimizedPerlin_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"P") ) { P=inValue.Cast< Array< int > >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"octaves") ) { octaves=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"iZoffset") ) { iZoffset=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"iYoffset") ) { iYoffset=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"iXoffset") ) { iXoffset=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"fPersMax") ) { fPersMax=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"aOctPers") ) { aOctPers=inValue.Cast< Array< Float > >(); return inValue; } - if (HX_FIELD_EQ(inName,"aOctFreq") ) { aOctFreq=inValue.Cast< Array< Float > >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"baseFactor") ) { baseFactor=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void OptimizedPerlin_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("baseFactor")); - outFields->push(HX_CSTRING("iZoffset")); - outFields->push(HX_CSTRING("iYoffset")); - outFields->push(HX_CSTRING("iXoffset")); - outFields->push(HX_CSTRING("fPersMax")); - outFields->push(HX_CSTRING("aOctPers")); - outFields->push(HX_CSTRING("aOctFreq")); - outFields->push(HX_CSTRING("octaves")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("P"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("seedOffset"), - HX_CSTRING("octFreqPers"), - HX_CSTRING("fill"), - HX_CSTRING("baseFactor"), - HX_CSTRING("iZoffset"), - HX_CSTRING("iYoffset"), - HX_CSTRING("iXoffset"), - HX_CSTRING("fPersMax"), - HX_CSTRING("aOctPers"), - HX_CSTRING("aOctFreq"), - HX_CSTRING("octaves"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(OptimizedPerlin_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(OptimizedPerlin_obj::P,"P"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(OptimizedPerlin_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(OptimizedPerlin_obj::P,"P"); -}; - -Class OptimizedPerlin_obj::__mClass; - -void OptimizedPerlin_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.OptimizedPerlin"), hx::TCanCast< OptimizedPerlin_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void OptimizedPerlin_obj::__boot() -{ - P= Array_obj< int >::__new().Add((int)151).Add((int)160).Add((int)137).Add((int)91).Add((int)90).Add((int)15).Add((int)131).Add((int)13).Add((int)201).Add((int)95).Add((int)96).Add((int)53).Add((int)194).Add((int)233).Add((int)7).Add((int)225).Add((int)140).Add((int)36).Add((int)103).Add((int)30).Add((int)69).Add((int)142).Add((int)8).Add((int)99).Add((int)37).Add((int)240).Add((int)21).Add((int)10).Add((int)23).Add((int)190).Add((int)6).Add((int)148).Add((int)247).Add((int)120).Add((int)234).Add((int)75).Add((int)0).Add((int)26).Add((int)197).Add((int)62).Add((int)94).Add((int)252).Add((int)219).Add((int)203).Add((int)117).Add((int)35).Add((int)11).Add((int)32).Add((int)57).Add((int)177).Add((int)33).Add((int)88).Add((int)237).Add((int)149).Add((int)56).Add((int)87).Add((int)174).Add((int)20).Add((int)125).Add((int)136).Add((int)171).Add((int)168).Add((int)68).Add((int)175).Add((int)74).Add((int)165).Add((int)71).Add((int)134).Add((int)139).Add((int)48).Add((int)27).Add((int)166).Add((int)77).Add((int)146).Add((int)158).Add((int)231).Add((int)83).Add((int)111).Add((int)229).Add((int)122).Add((int)60).Add((int)211).Add((int)133).Add((int)230).Add((int)220).Add((int)105).Add((int)92).Add((int)41).Add((int)55).Add((int)46).Add((int)245).Add((int)40).Add((int)244).Add((int)102).Add((int)143).Add((int)54).Add((int)65).Add((int)25).Add((int)63).Add((int)161).Add((int)1).Add((int)216).Add((int)80).Add((int)73).Add((int)209).Add((int)76).Add((int)132).Add((int)187).Add((int)208).Add((int)89).Add((int)18).Add((int)169).Add((int)200).Add((int)196).Add((int)135).Add((int)130).Add((int)116).Add((int)188).Add((int)159).Add((int)86).Add((int)164).Add((int)100).Add((int)109).Add((int)198).Add((int)173).Add((int)186).Add((int)3).Add((int)64).Add((int)52).Add((int)217).Add((int)226).Add((int)250).Add((int)124).Add((int)123).Add((int)5).Add((int)202).Add((int)38).Add((int)147).Add((int)118).Add((int)126).Add((int)255).Add((int)82).Add((int)85).Add((int)212).Add((int)207).Add((int)206).Add((int)59).Add((int)227).Add((int)47).Add((int)16).Add((int)58).Add((int)17).Add((int)182).Add((int)189).Add((int)28).Add((int)42).Add((int)223).Add((int)183).Add((int)170).Add((int)213).Add((int)119).Add((int)248).Add((int)152).Add((int)2).Add((int)44).Add((int)154).Add((int)163).Add((int)70).Add((int)221).Add((int)153).Add((int)101).Add((int)155).Add((int)167).Add((int)43).Add((int)172).Add((int)9).Add((int)129).Add((int)22).Add((int)39).Add((int)253).Add((int)19).Add((int)98).Add((int)108).Add((int)110).Add((int)79).Add((int)113).Add((int)224).Add((int)232).Add((int)178).Add((int)185).Add((int)112).Add((int)104).Add((int)218).Add((int)246).Add((int)97).Add((int)228).Add((int)251).Add((int)34).Add((int)242).Add((int)193).Add((int)238).Add((int)210).Add((int)144).Add((int)12).Add((int)191).Add((int)179).Add((int)162).Add((int)241).Add((int)81).Add((int)51).Add((int)145).Add((int)235).Add((int)249).Add((int)14).Add((int)239).Add((int)107).Add((int)49).Add((int)192).Add((int)214).Add((int)31).Add((int)181).Add((int)199).Add((int)106).Add((int)157).Add((int)184).Add((int)84).Add((int)204).Add((int)176).Add((int)115).Add((int)121).Add((int)50).Add((int)45).Add((int)127).Add((int)4).Add((int)150).Add((int)254).Add((int)138).Add((int)236).Add((int)205).Add((int)93).Add((int)222).Add((int)114).Add((int)67).Add((int)29).Add((int)24).Add((int)72).Add((int)243).Add((int)141).Add((int)128).Add((int)195).Add((int)78).Add((int)66).Add((int)215).Add((int)61).Add((int)156).Add((int)180).Add((int)151).Add((int)160).Add((int)137).Add((int)91).Add((int)90).Add((int)15).Add((int)131).Add((int)13).Add((int)201).Add((int)95).Add((int)96).Add((int)53).Add((int)194).Add((int)233).Add((int)7).Add((int)225).Add((int)140).Add((int)36).Add((int)103).Add((int)30).Add((int)69).Add((int)142).Add((int)8).Add((int)99).Add((int)37).Add((int)240).Add((int)21).Add((int)10).Add((int)23).Add((int)190).Add((int)6).Add((int)148).Add((int)247).Add((int)120).Add((int)234).Add((int)75).Add((int)0).Add((int)26).Add((int)197).Add((int)62).Add((int)94).Add((int)252).Add((int)219).Add((int)203).Add((int)117).Add((int)35).Add((int)11).Add((int)32).Add((int)57).Add((int)177).Add((int)33).Add((int)88).Add((int)237).Add((int)149).Add((int)56).Add((int)87).Add((int)174).Add((int)20).Add((int)125).Add((int)136).Add((int)171).Add((int)168).Add((int)68).Add((int)175).Add((int)74).Add((int)165).Add((int)71).Add((int)134).Add((int)139).Add((int)48).Add((int)27).Add((int)166).Add((int)77).Add((int)146).Add((int)158).Add((int)231).Add((int)83).Add((int)111).Add((int)229).Add((int)122).Add((int)60).Add((int)211).Add((int)133).Add((int)230).Add((int)220).Add((int)105).Add((int)92).Add((int)41).Add((int)55).Add((int)46).Add((int)245).Add((int)40).Add((int)244).Add((int)102).Add((int)143).Add((int)54).Add((int)65).Add((int)25).Add((int)63).Add((int)161).Add((int)1).Add((int)216).Add((int)80).Add((int)73).Add((int)209).Add((int)76).Add((int)132).Add((int)187).Add((int)208).Add((int)89).Add((int)18).Add((int)169).Add((int)200).Add((int)196).Add((int)135).Add((int)130).Add((int)116).Add((int)188).Add((int)159).Add((int)86).Add((int)164).Add((int)100).Add((int)109).Add((int)198).Add((int)173).Add((int)186).Add((int)3).Add((int)64).Add((int)52).Add((int)217).Add((int)226).Add((int)250).Add((int)124).Add((int)123).Add((int)5).Add((int)202).Add((int)38).Add((int)147).Add((int)118).Add((int)126).Add((int)255).Add((int)82).Add((int)85).Add((int)212).Add((int)207).Add((int)206).Add((int)59).Add((int)227).Add((int)47).Add((int)16).Add((int)58).Add((int)17).Add((int)182).Add((int)189).Add((int)28).Add((int)42).Add((int)223).Add((int)183).Add((int)170).Add((int)213).Add((int)119).Add((int)248).Add((int)152).Add((int)2).Add((int)44).Add((int)154).Add((int)163).Add((int)70).Add((int)221).Add((int)153).Add((int)101).Add((int)155).Add((int)167).Add((int)43).Add((int)172).Add((int)9).Add((int)129).Add((int)22).Add((int)39).Add((int)253).Add((int)19).Add((int)98).Add((int)108).Add((int)110).Add((int)79).Add((int)113).Add((int)224).Add((int)232).Add((int)178).Add((int)185).Add((int)112).Add((int)104).Add((int)218).Add((int)246).Add((int)97).Add((int)228).Add((int)251).Add((int)34).Add((int)242).Add((int)193).Add((int)238).Add((int)210).Add((int)144).Add((int)12).Add((int)191).Add((int)179).Add((int)162).Add((int)241).Add((int)81).Add((int)51).Add((int)145).Add((int)235).Add((int)249).Add((int)14).Add((int)239).Add((int)107).Add((int)49).Add((int)192).Add((int)214).Add((int)31).Add((int)181).Add((int)199).Add((int)106).Add((int)157).Add((int)184).Add((int)84).Add((int)204).Add((int)176).Add((int)115).Add((int)121).Add((int)50).Add((int)45).Add((int)127).Add((int)4).Add((int)150).Add((int)254).Add((int)138).Add((int)236).Add((int)205).Add((int)93).Add((int)222).Add((int)114).Add((int)67).Add((int)29).Add((int)24).Add((int)72).Add((int)243).Add((int)141).Add((int)128).Add((int)195).Add((int)78).Add((int)66).Add((int)215).Add((int)61).Add((int)156).Add((int)180); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/PixelSnapping.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/PixelSnapping.cpp deleted file mode 100644 index 6c2aa2d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/PixelSnapping.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_PixelSnapping -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::PixelSnapping PixelSnapping_obj::ALWAYS; - -::neash::display::PixelSnapping PixelSnapping_obj::AUTO; - -::neash::display::PixelSnapping PixelSnapping_obj::NEVER; - -HX_DEFINE_CREATE_ENUM(PixelSnapping_obj) - -int PixelSnapping_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("ALWAYS")) return 2; - if (inName==HX_CSTRING("AUTO")) return 1; - if (inName==HX_CSTRING("NEVER")) return 0; - return super::__FindIndex(inName); -} - -int PixelSnapping_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("ALWAYS")) return 0; - if (inName==HX_CSTRING("AUTO")) return 0; - if (inName==HX_CSTRING("NEVER")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic PixelSnapping_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("ALWAYS")) return ALWAYS; - if (inName==HX_CSTRING("AUTO")) return AUTO; - if (inName==HX_CSTRING("NEVER")) return NEVER; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NEVER"), - HX_CSTRING("AUTO"), - HX_CSTRING("ALWAYS"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(PixelSnapping_obj::ALWAYS,"ALWAYS"); - HX_MARK_MEMBER_NAME(PixelSnapping_obj::AUTO,"AUTO"); - HX_MARK_MEMBER_NAME(PixelSnapping_obj::NEVER,"NEVER"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(PixelSnapping_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(PixelSnapping_obj::ALWAYS,"ALWAYS"); - HX_VISIT_MEMBER_NAME(PixelSnapping_obj::AUTO,"AUTO"); - HX_VISIT_MEMBER_NAME(PixelSnapping_obj::NEVER,"NEVER"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class PixelSnapping_obj::__mClass; - -Dynamic __Create_PixelSnapping_obj() { return new PixelSnapping_obj; } - -void PixelSnapping_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.PixelSnapping"), hx::TCanCast< PixelSnapping_obj >,sStaticFields,sMemberFields, - &__Create_PixelSnapping_obj, &__Create, - &super::__SGetClass(), &CreatePixelSnapping_obj, sMarkStatics, sVisitStatic); -} - -void PixelSnapping_obj::__boot() -{ -Static(ALWAYS) = hx::CreateEnum< PixelSnapping_obj >(HX_CSTRING("ALWAYS"),2); -Static(AUTO) = hx::CreateEnum< PixelSnapping_obj >(HX_CSTRING("AUTO"),1); -Static(NEVER) = hx::CreateEnum< PixelSnapping_obj >(HX_CSTRING("NEVER"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/Shape.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/Shape.cpp deleted file mode 100644 index 0c30799..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/Shape.cpp +++ /dev/null @@ -1,105 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_Shape -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace display{ - -Void Shape_obj::__construct() -{ -HX_STACK_PUSH("Shape::new","neash/display/Shape.hx",8); -{ - HX_STACK_LINE(8) - super::__construct(::neash::display::DisplayObject_obj::nme_create_display_object(),HX_CSTRING("Shape")); -} -; - return null(); -} - -Shape_obj::~Shape_obj() { } - -Dynamic Shape_obj::__CreateEmpty() { return new Shape_obj; } -hx::ObjectPtr< Shape_obj > Shape_obj::__new() -{ hx::ObjectPtr< Shape_obj > result = new Shape_obj(); - result->__construct(); - return result;} - -Dynamic Shape_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Shape_obj > result = new Shape_obj(); - result->__construct(); - return result;} - - -Shape_obj::Shape_obj() -{ -} - -void Shape_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Shape); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Shape_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Shape_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic Shape_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void Shape_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Shape_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Shape_obj::__mClass,"__mClass"); -}; - -Class Shape_obj::__mClass; - -void Shape_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.Shape"), hx::TCanCast< Shape_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Shape_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/SpreadMethod.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/SpreadMethod.cpp deleted file mode 100644 index 2215363..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/SpreadMethod.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_SpreadMethod -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::SpreadMethod SpreadMethod_obj::PAD; - -::neash::display::SpreadMethod SpreadMethod_obj::REFLECT; - -::neash::display::SpreadMethod SpreadMethod_obj::REPEAT; - -HX_DEFINE_CREATE_ENUM(SpreadMethod_obj) - -int SpreadMethod_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("PAD")) return 0; - if (inName==HX_CSTRING("REFLECT")) return 2; - if (inName==HX_CSTRING("REPEAT")) return 1; - return super::__FindIndex(inName); -} - -int SpreadMethod_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("PAD")) return 0; - if (inName==HX_CSTRING("REFLECT")) return 0; - if (inName==HX_CSTRING("REPEAT")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic SpreadMethod_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("PAD")) return PAD; - if (inName==HX_CSTRING("REFLECT")) return REFLECT; - if (inName==HX_CSTRING("REPEAT")) return REPEAT; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("PAD"), - HX_CSTRING("REPEAT"), - HX_CSTRING("REFLECT"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SpreadMethod_obj::PAD,"PAD"); - HX_MARK_MEMBER_NAME(SpreadMethod_obj::REFLECT,"REFLECT"); - HX_MARK_MEMBER_NAME(SpreadMethod_obj::REPEAT,"REPEAT"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SpreadMethod_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(SpreadMethod_obj::PAD,"PAD"); - HX_VISIT_MEMBER_NAME(SpreadMethod_obj::REFLECT,"REFLECT"); - HX_VISIT_MEMBER_NAME(SpreadMethod_obj::REPEAT,"REPEAT"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class SpreadMethod_obj::__mClass; - -Dynamic __Create_SpreadMethod_obj() { return new SpreadMethod_obj; } - -void SpreadMethod_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.SpreadMethod"), hx::TCanCast< SpreadMethod_obj >,sStaticFields,sMemberFields, - &__Create_SpreadMethod_obj, &__Create, - &super::__SGetClass(), &CreateSpreadMethod_obj, sMarkStatics, sVisitStatic); -} - -void SpreadMethod_obj::__boot() -{ -Static(PAD) = hx::CreateEnum< SpreadMethod_obj >(HX_CSTRING("PAD"),0); -Static(REFLECT) = hx::CreateEnum< SpreadMethod_obj >(HX_CSTRING("REFLECT"),2); -Static(REPEAT) = hx::CreateEnum< SpreadMethod_obj >(HX_CSTRING("REPEAT"),1); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/Sprite.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/Sprite.cpp deleted file mode 100644 index 736ce6d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/Sprite.cpp +++ /dev/null @@ -1,201 +0,0 @@ -#include - -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -namespace neash{ -namespace display{ - -Void Sprite_obj::__construct() -{ -HX_STACK_PUSH("Sprite::new","neash/display/Sprite.hx",18); -{ - HX_STACK_LINE(18) - super::__construct(::neash::display::DisplayObjectContainer_obj::nme_create_display_object_container(),this->nmeGetType()); -} -; - return null(); -} - -Sprite_obj::~Sprite_obj() { } - -Dynamic Sprite_obj::__CreateEmpty() { return new Sprite_obj; } -hx::ObjectPtr< Sprite_obj > Sprite_obj::__new() -{ hx::ObjectPtr< Sprite_obj > result = new Sprite_obj(); - result->__construct(); - return result;} - -Dynamic Sprite_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Sprite_obj > result = new Sprite_obj(); - result->__construct(); - return result;} - -Void Sprite_obj::stopDrag( ){ -{ - HX_STACK_PUSH("Sprite::stopDrag","neash/display/Sprite.hx",39); - HX_STACK_THIS(this); - HX_STACK_LINE(39) - if (((this->nmeGetStage() != null()))){ - HX_STACK_LINE(41) - this->nmeGetStage()->nmeStopDrag(hx::ObjectPtr(this)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sprite_obj,stopDrag,(void)) - -Void Sprite_obj::startDrag( hx::Null< bool > __o_lockCenter,::neash::geom::Rectangle bounds){ -bool lockCenter = __o_lockCenter.Default(false); - HX_STACK_PUSH("Sprite::startDrag","neash/display/Sprite.hx",32); - HX_STACK_THIS(this); - HX_STACK_ARG(lockCenter,"lockCenter"); - HX_STACK_ARG(bounds,"bounds"); -{ - HX_STACK_LINE(32) - if (((this->nmeGetStage() != null()))){ - HX_STACK_LINE(34) - this->nmeGetStage()->nmeStartDrag(hx::ObjectPtr(this),lockCenter,bounds); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Sprite_obj,startDrag,(void)) - -::String Sprite_obj::nmeGetType( ){ - HX_STACK_PUSH("Sprite::nmeGetType","neash/display/Sprite.hx",24); - HX_STACK_THIS(this); - HX_STACK_LINE(25) - ::String type = ::Type_obj::getClassName(::Type_obj::getClass(hx::ObjectPtr(this))); HX_STACK_VAR(type,"type"); - HX_STACK_LINE(26) - int pos = type.lastIndexOf(HX_CSTRING("."),null()); HX_STACK_VAR(pos,"pos"); - HX_STACK_LINE(27) - return ( (((pos >= (int)0))) ? ::String(type.substr((pos + (int)1),null())) : ::String(type) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sprite_obj,nmeGetType,return ) - - -Sprite_obj::Sprite_obj() -{ -} - -void Sprite_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Sprite); - HX_MARK_MEMBER_NAME(useHandCursor,"useHandCursor"); - HX_MARK_MEMBER_NAME(buttonMode,"buttonMode"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Sprite_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(useHandCursor,"useHandCursor"); - HX_VISIT_MEMBER_NAME(buttonMode,"buttonMode"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Sprite_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"stopDrag") ) { return stopDrag_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"startDrag") ) { return startDrag_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeGetType") ) { return nmeGetType_dyn(); } - if (HX_FIELD_EQ(inName,"buttonMode") ) { return buttonMode; } - break; - case 13: - if (HX_FIELD_EQ(inName,"useHandCursor") ) { return useHandCursor; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Sprite_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"buttonMode") ) { buttonMode=inValue.Cast< bool >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"useHandCursor") ) { useHandCursor=inValue.Cast< bool >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Sprite_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("useHandCursor")); - outFields->push(HX_CSTRING("buttonMode")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("stopDrag"), - HX_CSTRING("startDrag"), - HX_CSTRING("nmeGetType"), - HX_CSTRING("useHandCursor"), - HX_CSTRING("buttonMode"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Sprite_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Sprite_obj::__mClass,"__mClass"); -}; - -Class Sprite_obj::__mClass; - -void Sprite_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.Sprite"), hx::TCanCast< Sprite_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Sprite_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/Stage.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/Stage.cpp deleted file mode 100644 index d924ef8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/Stage.cpp +++ /dev/null @@ -1,2276 +0,0 @@ -#include - -#ifndef INCLUDED_IntHash -#include -#endif -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_Timer -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_display_StageAlign -#include -#endif -#ifndef INCLUDED_neash_display_StageDisplayState -#include -#endif -#ifndef INCLUDED_neash_display_StageQuality -#include -#endif -#ifndef INCLUDED_neash_display_StageScaleMode -#include -#endif -#ifndef INCLUDED_neash_display_TouchInfo -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_FocusEvent -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_JoystickEvent -#include -#endif -#ifndef INCLUDED_neash_events_KeyboardEvent -#include -#endif -#ifndef INCLUDED_neash_events_MouseEvent -#include -#endif -#ifndef INCLUDED_neash_events_TouchEvent -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -#ifndef INCLUDED_neash_media_SoundChannel -#include -#endif -#ifndef INCLUDED_neash_net_URLLoader -#include -#endif -namespace neash{ -namespace display{ - -Void Stage_obj::__construct(Dynamic inHandle,int inWidth,int inHeight) -{ -HX_STACK_PUSH("Stage::new","neash/display/Stage.hx",85); -{ - HX_STACK_LINE(86) - super::__construct(inHandle,HX_CSTRING("Stage")); - HX_STACK_LINE(87) - this->nmeMouseOverObjects = Array_obj< ::neash::display::InteractiveObject >::__new(); - HX_STACK_LINE(88) - this->nmeFocusOverObjects = Array_obj< ::neash::display::InteractiveObject >::__new(); - HX_STACK_LINE(89) - this->active = true; - HX_STACK_LINE(90) - this->pauseWhenDeactivated = true; - HX_STACK_LINE(95) - this->renderRequest = null(); - HX_STACK_LINE(98) - ::neash::display::Stage_obj::nme_set_stage_handler(this->nmeHandle,this->nmeProcessStageEvent_dyn(),inWidth,inHeight); - HX_STACK_LINE(99) - this->nmeInvalid = false; - HX_STACK_LINE(100) - this->nmeLastRender = (int)0; - HX_STACK_LINE(101) - this->nmeLastDown = Array_obj< ::neash::display::InteractiveObject >::__new(); - HX_STACK_LINE(102) - this->nmeLastClickTime = 0.0; - HX_STACK_LINE(103) - this->nmeSetFrameRate((int)100); - HX_STACK_LINE(104) - this->nmeTouchInfo = ::IntHash_obj::__new(); - HX_STACK_LINE(105) - this->nmeJoyAxisData = ::IntHash_obj::__new(); -} -; - return null(); -} - -Stage_obj::~Stage_obj() { } - -Dynamic Stage_obj::__CreateEmpty() { return new Stage_obj; } -hx::ObjectPtr< Stage_obj > Stage_obj::__new(Dynamic inHandle,int inWidth,int inHeight) -{ hx::ObjectPtr< Stage_obj > result = new Stage_obj(); - result->__construct(inHandle,inWidth,inHeight); - return result;} - -Dynamic Stage_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Stage_obj > result = new Stage_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -int Stage_obj::nmeGetStageWidth( ){ - HX_STACK_PUSH("Stage::nmeGetStageWidth","neash/display/Stage.hx",873); - HX_STACK_THIS(this); - HX_STACK_LINE(873) - return ::Std_obj::_int(hx::TCast< Float >::cast(::neash::display::Stage_obj::nme_stage_get_stage_width(this->nmeHandle))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetStageWidth,return ) - -int Stage_obj::nmeGetStageHeight( ){ - HX_STACK_PUSH("Stage::nmeGetStageHeight","neash/display/Stage.hx",867); - HX_STACK_THIS(this); - HX_STACK_LINE(867) - return ::Std_obj::_int(hx::TCast< Float >::cast(::neash::display::Stage_obj::nme_stage_get_stage_height(this->nmeHandle))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetStageHeight,return ) - -bool Stage_obj::nmeSetStageFocusRect( bool inVal){ - HX_STACK_PUSH("Stage::nmeSetStageFocusRect","neash/display/Stage.hx",860); - HX_STACK_THIS(this); - HX_STACK_ARG(inVal,"inVal"); - HX_STACK_LINE(861) - ::neash::display::Stage_obj::nme_stage_set_focus_rect(this->nmeHandle,inVal); - HX_STACK_LINE(862) - return inVal; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetStageFocusRect,return ) - -bool Stage_obj::nmeGetStageFocusRect( ){ - HX_STACK_PUSH("Stage::nmeGetStageFocusRect","neash/display/Stage.hx",858); - HX_STACK_THIS(this); - HX_STACK_LINE(858) - return ::neash::display::Stage_obj::nme_stage_get_focus_rect(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetStageFocusRect,return ) - -::neash::display::StageScaleMode Stage_obj::nmeSetScaleMode( ::neash::display::StageScaleMode inMode){ - HX_STACK_PUSH("Stage::nmeSetScaleMode","neash/display/Stage.hx",852); - HX_STACK_THIS(this); - HX_STACK_ARG(inMode,"inMode"); - HX_STACK_LINE(853) - ::neash::display::Stage_obj::nme_stage_set_scale_mode(this->nmeHandle,inMode->__Index()); - HX_STACK_LINE(854) - return inMode; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetScaleMode,return ) - -::neash::display::StageScaleMode Stage_obj::nmeGetScaleMode( ){ - HX_STACK_PUSH("Stage::nmeGetScaleMode","neash/display/Stage.hx",845); - HX_STACK_THIS(this); - HX_STACK_LINE(846) - int i = ::neash::display::Stage_obj::nme_stage_get_scale_mode(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(847) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::StageScaleMode >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetScaleMode,return ) - -::neash::display::StageQuality Stage_obj::nmeSetQuality( ::neash::display::StageQuality inQuality){ - HX_STACK_PUSH("Stage::nmeSetQuality","neash/display/Stage.hx",838); - HX_STACK_THIS(this); - HX_STACK_ARG(inQuality,"inQuality"); - HX_STACK_LINE(839) - ::neash::display::Stage_obj::nme_stage_set_quality(this->nmeHandle,inQuality->__Index()); - HX_STACK_LINE(840) - return inQuality; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetQuality,return ) - -::neash::display::StageQuality Stage_obj::nmeGetQuality( ){ - HX_STACK_PUSH("Stage::nmeGetQuality","neash/display/Stage.hx",831); - HX_STACK_THIS(this); - HX_STACK_LINE(832) - int i = ::neash::display::Stage_obj::nme_stage_get_quality(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(833) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::StageQuality >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetQuality,return ) - -bool Stage_obj::nmeIsOpenGL( ){ - HX_STACK_PUSH("Stage::nmeIsOpenGL","neash/display/Stage.hx",825); - HX_STACK_THIS(this); - HX_STACK_LINE(825) - return ::neash::display::Stage_obj::nme_stage_is_opengl(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeIsOpenGL,return ) - -Float Stage_obj::nmeSetFrameRate( Float inRate){ - HX_STACK_PUSH("Stage::nmeSetFrameRate","neash/display/Stage.hx",817); - HX_STACK_THIS(this); - HX_STACK_ARG(inRate,"inRate"); - HX_STACK_LINE(818) - this->frameRate = inRate; - HX_STACK_LINE(819) - this->nmeFramePeriod = ( (((this->frameRate <= (int)0))) ? Float(this->frameRate) : Float((Float(1.0) / Float(this->frameRate))) ); - HX_STACK_LINE(820) - return inRate; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetFrameRate,return ) - -::neash::display::InteractiveObject Stage_obj::nmeSetFocus( ::neash::display::InteractiveObject inObject){ - HX_STACK_PUSH("Stage::nmeSetFocus","neash/display/Stage.hx",807); - HX_STACK_THIS(this); - HX_STACK_ARG(inObject,"inObject"); - HX_STACK_LINE(808) - if (((inObject == null()))){ - HX_STACK_LINE(809) - ::neash::display::Stage_obj::nme_stage_set_focus(this->nmeHandle,null(),(int)0); - } - else{ - HX_STACK_LINE(811) - ::neash::display::Stage_obj::nme_stage_set_focus(this->nmeHandle,inObject->nmeHandle,(int)0); - } - HX_STACK_LINE(812) - return inObject; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetFocus,return ) - -::neash::display::InteractiveObject Stage_obj::nmeGetFocus( ){ - HX_STACK_PUSH("Stage::nmeGetFocus","neash/display/Stage.hx",799); - HX_STACK_THIS(this); - HX_STACK_LINE(800) - int id = ::neash::display::Stage_obj::nme_stage_get_focus_id(this->nmeHandle); HX_STACK_VAR(id,"id"); - HX_STACK_LINE(801) - ::neash::display::DisplayObject obj = this->nmeFindByID(id); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(802) - return obj; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetFocus,return ) - -Float Stage_obj::nmeGetDPIScale( ){ - HX_STACK_PUSH("Stage::nmeGetDPIScale","neash/display/Stage.hx",793); - HX_STACK_THIS(this); - HX_STACK_LINE(793) - return ::neash::display::Stage_obj::nme_stage_get_dpi_scale(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetDPIScale,return ) - -::neash::display::StageDisplayState Stage_obj::nmeSetDisplayState( ::neash::display::StageDisplayState inState){ - HX_STACK_PUSH("Stage::nmeSetDisplayState","neash/display/Stage.hx",786); - HX_STACK_THIS(this); - HX_STACK_ARG(inState,"inState"); - HX_STACK_LINE(787) - ::neash::display::Stage_obj::nme_stage_set_display_state(this->nmeHandle,inState->__Index()); - HX_STACK_LINE(788) - return inState; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetDisplayState,return ) - -::neash::display::StageDisplayState Stage_obj::nmeGetDisplayState( ){ - HX_STACK_PUSH("Stage::nmeGetDisplayState","neash/display/Stage.hx",779); - HX_STACK_THIS(this); - HX_STACK_LINE(780) - int i = ::neash::display::Stage_obj::nme_stage_get_display_state(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(781) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::StageDisplayState >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetDisplayState,return ) - -::neash::display::StageAlign Stage_obj::nmeSetAlign( ::neash::display::StageAlign inMode){ - HX_STACK_PUSH("Stage::nmeSetAlign","neash/display/Stage.hx",772); - HX_STACK_THIS(this); - HX_STACK_ARG(inMode,"inMode"); - HX_STACK_LINE(773) - ::neash::display::Stage_obj::nme_stage_set_align(this->nmeHandle,inMode->__Index()); - HX_STACK_LINE(774) - return inMode; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetAlign,return ) - -::neash::display::StageAlign Stage_obj::nmeGetAlign( ){ - HX_STACK_PUSH("Stage::nmeGetAlign","neash/display/Stage.hx",765); - HX_STACK_THIS(this); - HX_STACK_LINE(766) - int i = ::neash::display::Stage_obj::nme_stage_get_align(this->nmeHandle); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(767) - return ::Type_obj::createEnumIndex(hx::ClassOf< ::neash::display::StageAlign >(),i,null()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeGetAlign,return ) - -Void Stage_obj::showCursor( bool inShow){ -{ - HX_STACK_PUSH("Stage::showCursor","neash/display/Stage.hx",754); - HX_STACK_THIS(this); - HX_STACK_ARG(inShow,"inShow"); - HX_STACK_LINE(754) - ::neash::display::Stage_obj::nme_stage_show_cursor(this->nmeHandle,inShow); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,showCursor,(void)) - -Float Stage_obj::nmeUpdateNextWake( ){ - HX_STACK_PUSH("Stage::nmeUpdateNextWake","neash/display/Stage.hx",725); - HX_STACK_THIS(this); - HX_STACK_LINE(727) - Float next_wake = ::haxe::Timer_obj::nmeNextWake(315000000.0); HX_STACK_VAR(next_wake,"next_wake"); - HX_STACK_LINE(728) - if (((bool((next_wake > 0.001)) && bool((::neash::media::SoundChannel_obj::nmeDynamicSoundCount > (int)0))))){ - HX_STACK_LINE(729) - next_wake = 0.001; - } - HX_STACK_LINE(730) - if (((bool((next_wake > 0.02)) && bool(((bool(::neash::media::SoundChannel_obj::nmeCompletePending()) || bool(::neash::net::URLLoader_obj::nmeLoadPending()))))))){ - HX_STACK_LINE(731) - next_wake = ( (((bool(this->active) || bool(!(this->pauseWhenDeactivated))))) ? Float(0.020) : Float(0.500) ); - } - HX_STACK_LINE(734) - next_wake = this->nmeNextFrameDue(next_wake); - HX_STACK_LINE(735) - ::neash::display::Stage_obj::nme_stage_set_next_wake(this->nmeHandle,next_wake); - HX_STACK_LINE(736) - return next_wake; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeUpdateNextWake,return ) - -Void Stage_obj::nmeStopDrag( ::neash::display::Sprite sprite){ -{ - HX_STACK_PUSH("Stage::nmeStopDrag","neash/display/Stage.hx",718); - HX_STACK_THIS(this); - HX_STACK_ARG(sprite,"sprite"); - HX_STACK_LINE(719) - this->nmeDragBounds = null(); - HX_STACK_LINE(720) - this->nmeDragObject = null(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeStopDrag,(void)) - -Void Stage_obj::nmeStartDrag( ::neash::display::Sprite sprite,bool lockCenter,::neash::geom::Rectangle bounds){ -{ - HX_STACK_PUSH("Stage::nmeStartDrag","neash/display/Stage.hx",692); - HX_STACK_THIS(this); - HX_STACK_ARG(sprite,"sprite"); - HX_STACK_ARG(lockCenter,"lockCenter"); - HX_STACK_ARG(bounds,"bounds"); - HX_STACK_LINE(693) - this->nmeDragBounds = ( (((bounds == null()))) ? ::neash::geom::Rectangle(null()) : ::neash::geom::Rectangle(bounds->clone()) ); - HX_STACK_LINE(694) - this->nmeDragObject = sprite; - HX_STACK_LINE(696) - if (((this->nmeDragObject != null()))){ - HX_STACK_LINE(697) - if ((lockCenter)){ - HX_STACK_LINE(700) - this->nmeDragOffsetX = (Float(-(this->nmeDragObject->nmeGetWidth())) / Float((int)2)); - HX_STACK_LINE(701) - this->nmeDragOffsetY = (Float(-(this->nmeDragObject->nmeGetHeight())) / Float((int)2)); - } - else{ - HX_STACK_LINE(705) - ::neash::geom::Point mouse = ::neash::geom::Point_obj::__new(this->nmeGetMouseX(),this->nmeGetMouseY()); HX_STACK_VAR(mouse,"mouse"); - HX_STACK_LINE(706) - ::neash::display::DisplayObjectContainer p = this->nmeDragObject->nmeGetParent(); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(707) - if (((p != null()))){ - HX_STACK_LINE(708) - mouse = p->globalToLocal(mouse); - } - HX_STACK_LINE(710) - this->nmeDragOffsetX = (this->nmeDragObject->nmeGetX() - mouse->x); - HX_STACK_LINE(711) - this->nmeDragOffsetY = (this->nmeDragObject->nmeGetY() - mouse->y); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Stage_obj,nmeStartDrag,(void)) - -Void Stage_obj::nmeSetActive( bool inActive){ -{ - HX_STACK_PUSH("Stage::nmeSetActive","neash/display/Stage.hx",675); - HX_STACK_THIS(this); - HX_STACK_ARG(inActive,"inActive"); - HX_STACK_LINE(675) - if (((inActive != this->active))){ - HX_STACK_LINE(679) - this->active = inActive; - HX_STACK_LINE(680) - if ((!(this->active))){ - HX_STACK_LINE(681) - this->nmeLastRender = ::haxe::Timer_obj::stamp(); - } - HX_STACK_LINE(683) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(( ((inActive)) ? ::String(::neash::events::Event_obj::ACTIVATE) : ::String(::neash::events::Event_obj::DEACTIVATE) ),null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(684) - this->nmeBroadcast(evt); - HX_STACK_LINE(685) - if ((inActive)){ - HX_STACK_LINE(686) - this->nmePollTimers(); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeSetActive,(void)) - -Void Stage_obj::nmeRender( bool inSendEnterFrame){ -{ - HX_STACK_PUSH("Stage::nmeRender","neash/display/Stage.hx",656); - HX_STACK_THIS(this); - HX_STACK_ARG(inSendEnterFrame,"inSendEnterFrame"); - HX_STACK_LINE(657) - if ((!(this->active))){ - HX_STACK_LINE(658) - return null(); - } - HX_STACK_LINE(661) - if ((inSendEnterFrame)){ - HX_STACK_LINE(662) - this->nmeBroadcast(::neash::events::Event_obj::__new(::neash::events::Event_obj::ENTER_FRAME,null(),null())); - } - HX_STACK_LINE(665) - if ((this->nmeInvalid)){ - HX_STACK_LINE(667) - this->nmeInvalid = false; - HX_STACK_LINE(668) - this->nmeBroadcast(::neash::events::Event_obj::__new(::neash::events::Event_obj::RENDER,null(),null())); - } - HX_STACK_LINE(670) - ::neash::display::Stage_obj::nme_render_stage(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeRender,(void)) - -Void Stage_obj::nmePollTimers( ){ -{ - HX_STACK_PUSH("Stage::nmePollTimers","neash/display/Stage.hx",646); - HX_STACK_THIS(this); - HX_STACK_LINE(648) - ::haxe::Timer_obj::nmeCheckTimers(); - HX_STACK_LINE(649) - ::neash::media::SoundChannel_obj::nmePollComplete(); - HX_STACK_LINE(650) - ::neash::net::URLLoader_obj::nmePollData(); - HX_STACK_LINE(651) - this->nmeCheckRender(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmePollTimers,(void)) - -Void Stage_obj::nmeOnTouch( Dynamic inEvent,::String inType,::neash::display::TouchInfo touchInfo){ -{ - HX_STACK_PUSH("Stage::nmeOnTouch","neash/display/Stage.hx",607); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(touchInfo,"touchInfo"); - HX_STACK_LINE(608) - Array< ::neash::display::InteractiveObject > stack = Array_obj< ::neash::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(609) - ::neash::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(610) - if (((obj != null()))){ - HX_STACK_LINE(611) - obj->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(613) - if (((stack->length > (int)0))){ - HX_STACK_LINE(615) - ::neash::display::InteractiveObject obj1 = stack->__get((int)0); HX_STACK_VAR(obj1,"obj1"); - HX_STACK_LINE(616) - stack->reverse(); - HX_STACK_LINE(617) - ::neash::geom::Point local = obj1->globalToLocal(::neash::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true))); HX_STACK_VAR(local,"local"); - HX_STACK_LINE(618) - ::neash::events::TouchEvent evt = ::neash::events::TouchEvent_obj::nmeCreate(inType,inEvent,local,obj1,inEvent->__Field(HX_CSTRING("sx"),true),inEvent->__Field(HX_CSTRING("sy"),true)); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(619) - evt->touchPointID = inEvent->__Field(HX_CSTRING("value"),true); - HX_STACK_LINE(620) - evt->isPrimaryTouchPoint = (((int(inEvent->__Field(HX_CSTRING("flags"),true)) & int((int)32768))) > (int)0); - HX_STACK_LINE(622) - this->nmeCheckInOuts(evt,stack,touchInfo); - HX_STACK_LINE(623) - obj1->nmeFireEvent(evt); - HX_STACK_LINE(624) - if (((bool(evt->isPrimaryTouchPoint) && bool((inType == ::neash::events::TouchEvent_obj::TOUCH_MOVE))))){ - HX_STACK_LINE(626) - if (((this->nmeDragObject != null()))){ - HX_STACK_LINE(627) - this->nmeDrag(::neash::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true))); - } - HX_STACK_LINE(629) - ::neash::events::MouseEvent evt1 = ::neash::events::MouseEvent_obj::nmeCreate(::neash::events::MouseEvent_obj::MOUSE_MOVE,inEvent,local,obj1); HX_STACK_VAR(evt1,"evt1"); - HX_STACK_LINE(630) - obj1->nmeFireEvent(evt1); - } - } - else{ - HX_STACK_LINE(636) - ::neash::events::TouchEvent evt = ::neash::events::TouchEvent_obj::nmeCreate(inType,inEvent,::neash::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true)),null(),inEvent->__Field(HX_CSTRING("sx"),true),inEvent->__Field(HX_CSTRING("sy"),true)); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(637) - evt->touchPointID = inEvent->__Field(HX_CSTRING("value"),true); - HX_STACK_LINE(638) - evt->isPrimaryTouchPoint = (((int(inEvent->__Field(HX_CSTRING("flags"),true)) & int((int)32768))) > (int)0); - HX_STACK_LINE(640) - this->nmeCheckInOuts(evt,stack,touchInfo); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Stage_obj,nmeOnTouch,(void)) - -Void Stage_obj::nmeOnResize( Float inW,Float inH){ -{ - HX_STACK_PUSH("Stage::nmeOnResize","neash/display/Stage.hx",600); - HX_STACK_THIS(this); - HX_STACK_ARG(inW,"inW"); - HX_STACK_ARG(inH,"inH"); - HX_STACK_LINE(601) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::Event_obj::RESIZE,null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(602) - this->nmeDispatchEvent(evt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Stage_obj,nmeOnResize,(void)) - -Void Stage_obj::nmeOnMouse( Dynamic inEvent,::String inType,bool inFromMouse){ -{ - HX_STACK_PUSH("Stage::nmeOnMouse","neash/display/Stage.hx",517); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(inFromMouse,"inFromMouse"); - HX_STACK_LINE(518) - ::String type = inType; HX_STACK_VAR(type,"type"); - HX_STACK_LINE(519) - int button = inEvent->__Field(HX_CSTRING("value"),true); HX_STACK_VAR(button,"button"); - HX_STACK_LINE(520) - if ((!(inFromMouse))){ - HX_STACK_LINE(521) - button = (int)0; - } - HX_STACK_LINE(522) - int wheel = (int)0; HX_STACK_VAR(wheel,"wheel"); - HX_STACK_LINE(523) - if (((inType == ::neash::events::MouseEvent_obj::MOUSE_DOWN))){ - HX_STACK_LINE(525) - if (((button > (int)2))){ - HX_STACK_LINE(526) - return null(); - } - HX_STACK_LINE(527) - type = ::neash::display::Stage_obj::sDownEvents->__get(button); - } - else{ - HX_STACK_LINE(529) - if (((inType == ::neash::events::MouseEvent_obj::MOUSE_UP))){ - HX_STACK_LINE(530) - if (((button > (int)2))){ - HX_STACK_LINE(533) - type = ::neash::events::MouseEvent_obj::MOUSE_WHEEL; - HX_STACK_LINE(534) - wheel = ( (((button == (int)3))) ? int((int)1) : int((int)-1) ); - } - else{ - HX_STACK_LINE(538) - type = ::neash::display::Stage_obj::sUpEvents->__get(button); - } - } - } - HX_STACK_LINE(541) - if (((this->nmeDragObject != null()))){ - HX_STACK_LINE(542) - this->nmeDrag(::neash::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true))); - } - HX_STACK_LINE(544) - Array< ::neash::display::InteractiveObject > stack = Array_obj< ::neash::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(545) - ::neash::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(546) - if (((obj != null()))){ - HX_STACK_LINE(547) - obj->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(549) - ::neash::geom::Point local = null(); HX_STACK_VAR(local,"local"); - HX_STACK_LINE(550) - if (((stack->length > (int)0))){ - HX_STACK_LINE(552) - ::neash::display::InteractiveObject obj1 = stack->__get((int)0); HX_STACK_VAR(obj1,"obj1"); - HX_STACK_LINE(553) - stack->reverse(); - HX_STACK_LINE(554) - local = obj1->globalToLocal(::neash::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true))); - HX_STACK_LINE(555) - ::neash::events::MouseEvent evt = ::neash::events::MouseEvent_obj::nmeCreate(type,inEvent,local,obj1); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(556) - evt->delta = wheel; - HX_STACK_LINE(557) - if ((inFromMouse)){ - HX_STACK_LINE(558) - this->nmeCheckInOuts(evt,stack,null()); - } - HX_STACK_LINE(559) - obj1->nmeFireEvent(evt); - } - else{ - HX_STACK_LINE(564) - local = ::neash::geom::Point_obj::__new(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true)); - HX_STACK_LINE(565) - ::neash::events::MouseEvent evt = ::neash::events::MouseEvent_obj::nmeCreate(type,inEvent,local,null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(566) - evt->delta = wheel; - HX_STACK_LINE(567) - if ((inFromMouse)){ - HX_STACK_LINE(568) - this->nmeCheckInOuts(evt,stack,null()); - } - } - HX_STACK_LINE(571) - ::neash::display::InteractiveObject click_obj = ( (((stack->length > (int)0))) ? ::neash::display::InteractiveObject(stack->__get((stack->length - (int)1))) : ::neash::display::InteractiveObject(hx::ObjectPtr(this)) ); HX_STACK_VAR(click_obj,"click_obj"); - HX_STACK_LINE(572) - if (((bool((inType == ::neash::events::MouseEvent_obj::MOUSE_DOWN)) && bool((button < (int)3))))){ - HX_STACK_LINE(573) - this->nmeLastDown[button] = click_obj; - } - else{ - HX_STACK_LINE(576) - if (((bool((inType == ::neash::events::MouseEvent_obj::MOUSE_UP)) && bool((button < (int)3))))){ - HX_STACK_LINE(578) - if (((click_obj == this->nmeLastDown->__get(button)))){ - HX_STACK_LINE(580) - ::neash::events::MouseEvent evt = ::neash::events::MouseEvent_obj::nmeCreate(::neash::display::Stage_obj::sClickEvents->__get(button),inEvent,local,click_obj); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(581) - click_obj->nmeFireEvent(evt); - HX_STACK_LINE(583) - if (((bool((button == (int)0)) && bool(click_obj->doubleClickEnabled)))){ - HX_STACK_LINE(585) - Float now = ::haxe::Timer_obj::stamp(); HX_STACK_VAR(now,"now"); - HX_STACK_LINE(586) - if ((((now - this->nmeLastClickTime) < 0.25))){ - HX_STACK_LINE(588) - ::neash::events::MouseEvent evt1 = ::neash::events::MouseEvent_obj::nmeCreate(::neash::events::MouseEvent_obj::DOUBLE_CLICK,inEvent,local,click_obj); HX_STACK_VAR(evt1,"evt1"); - HX_STACK_LINE(589) - click_obj->nmeFireEvent(evt1); - } - HX_STACK_LINE(591) - this->nmeLastClickTime = now; - } - } - HX_STACK_LINE(594) - this->nmeLastDown[button] = null(); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Stage_obj,nmeOnMouse,(void)) - -Void Stage_obj::nmeOnKey( Dynamic inEvent,::String inType){ -{ - HX_STACK_PUSH("Stage::nmeOnKey","neash/display/Stage.hx",499); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_LINE(500) - Array< ::neash::display::InteractiveObject > stack = Array_obj< ::neash::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(501) - ::neash::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(502) - if (((obj != null()))){ - HX_STACK_LINE(503) - obj->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(504) - if (((stack->length > (int)0))){ - HX_STACK_LINE(506) - ::neash::display::InteractiveObject obj1 = stack->__get((int)0); HX_STACK_VAR(obj1,"obj1"); - HX_STACK_LINE(507) - int flags = inEvent->__Field(HX_CSTRING("flags"),true); HX_STACK_VAR(flags,"flags"); - HX_STACK_LINE(508) - ::neash::events::KeyboardEvent evt = ::neash::events::KeyboardEvent_obj::__new(inType,true,true,inEvent->__Field(HX_CSTRING("code"),true),inEvent->__Field(HX_CSTRING("value"),true),( (((((int(flags) & int(::neash::display::Stage_obj::efLocationRight))) == (int)0))) ? int((int)1) : int((int)0) ),(((int(flags) & int(::neash::display::Stage_obj::efCtrlDown))) != (int)0),(((int(flags) & int(::neash::display::Stage_obj::efAltDown))) != (int)0),(((int(flags) & int(::neash::display::Stage_obj::efShiftDown))) != (int)0),null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(509) - obj1->nmeFireEvent(evt); - HX_STACK_LINE(510) - if ((evt->nmeGetIsCancelled())){ - HX_STACK_LINE(511) - inEvent->__FieldRef(HX_CSTRING("result")) = (int)1; - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Stage_obj,nmeOnKey,(void)) - -Void Stage_obj::nmeOnJoystick( Dynamic inEvent,::String inType){ -{ - HX_STACK_PUSH("Stage::nmeOnJoystick","neash/display/Stage.hx",439); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inType,"inType"); - HX_STACK_LINE(440) - ::neash::events::JoystickEvent evt = null(); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(441) - ::String _switch_1 = (inType); - if ( ( _switch_1==::neash::events::JoystickEvent_obj::AXIS_MOVE)){ - HX_STACK_LINE(444) - Dynamic data = this->nmeJoyAxisData->get(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(data,"data"); - HX_STACK_LINE(445) - if (((data == null()))){ - struct _Function_3_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","neash/display/Stage.hx",447); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("x") , 0.0,false); - __result->Add(HX_CSTRING("y") , 0.0,false); - __result->Add(HX_CSTRING("z") , 0.0,false); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(446) - data = _Function_3_1::Block(); - } - HX_STACK_LINE(450) - Float value = (Float(inEvent->__Field(HX_CSTRING("value"),true)) / Float((int)32767)); HX_STACK_VAR(value,"value"); - HX_STACK_LINE(451) - if (((value < (int)-1))){ - HX_STACK_LINE(451) - value = (int)-1; - } - HX_STACK_LINE(453) - switch( (int)(inEvent->__Field(HX_CSTRING("code"),true))){ - case (int)0: { - HX_STACK_LINE(455) - data->__FieldRef(HX_CSTRING("x")) = value; - } - ;break; - case (int)1: { - HX_STACK_LINE(456) - data->__FieldRef(HX_CSTRING("y")) = value; - } - ;break; - case (int)2: { - HX_STACK_LINE(457) - data->__FieldRef(HX_CSTRING("z")) = value; - } - ;break; - } - HX_STACK_LINE(460) - evt = ::neash::events::JoystickEvent_obj::__new(inType,false,false,inEvent->__Field(HX_CSTRING("id"),true),(int)0,data->__Field(HX_CSTRING("x"),true),data->__Field(HX_CSTRING("y"),true),data->__Field(HX_CSTRING("z"),true)); - HX_STACK_LINE(462) - this->nmeJoyAxisData->set(inEvent->__Field(HX_CSTRING("id"),true),data); - } - else if ( ( _switch_1==::neash::events::JoystickEvent_obj::BALL_MOVE)){ - HX_STACK_LINE(464) - evt = ::neash::events::JoystickEvent_obj::__new(inType,false,false,inEvent->__Field(HX_CSTRING("id"),true),inEvent->__Field(HX_CSTRING("code"),true),inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true),null()); - } - else if ( ( _switch_1==::neash::events::JoystickEvent_obj::HAT_MOVE)){ - HX_STACK_LINE(468) - int x = (int)0; HX_STACK_VAR(x,"x"); - HX_STACK_LINE(469) - int y = (int)0; HX_STACK_VAR(y,"y"); - HX_STACK_LINE(471) - if (((((int(inEvent->__Field(HX_CSTRING("value"),true)) & int((int)1))) != (int)0))){ - HX_STACK_LINE(472) - y = (int)-1; - } - else{ - HX_STACK_LINE(475) - if (((((int(inEvent->__Field(HX_CSTRING("value"),true)) & int((int)4))) != (int)0))){ - HX_STACK_LINE(476) - y = (int)1; - } - } - HX_STACK_LINE(480) - if (((((int(inEvent->__Field(HX_CSTRING("value"),true)) & int((int)2))) != (int)0))){ - HX_STACK_LINE(481) - x = (int)1; - } - else{ - HX_STACK_LINE(484) - if (((((int(inEvent->__Field(HX_CSTRING("value"),true)) & int((int)8))) != (int)0))){ - HX_STACK_LINE(485) - x = (int)-1; - } - } - HX_STACK_LINE(489) - evt = ::neash::events::JoystickEvent_obj::__new(inType,false,false,inEvent->__Field(HX_CSTRING("id"),true),inEvent->__Field(HX_CSTRING("code"),true),x,y,null()); - } - else { - HX_STACK_LINE(491) - evt = ::neash::events::JoystickEvent_obj::__new(inType,false,false,inEvent->__Field(HX_CSTRING("id"),true),inEvent->__Field(HX_CSTRING("code"),true),null(),null(),null()); - } -; -; - HX_STACK_LINE(494) - this->nmeDispatchEvent(evt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Stage_obj,nmeOnJoystick,(void)) - -Void Stage_obj::nmeOnFocus( Dynamic inEvent){ -{ - HX_STACK_PUSH("Stage::nmeOnFocus","neash/display/Stage.hx",415); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(416) - Array< ::neash::display::InteractiveObject > stack = Array_obj< ::neash::display::InteractiveObject >::__new(); HX_STACK_VAR(stack,"stack"); - HX_STACK_LINE(417) - ::neash::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(418) - if (((obj != null()))){ - HX_STACK_LINE(419) - obj->nmeGetInteractiveObjectStack(stack); - } - HX_STACK_LINE(420) - if (((bool((stack->length > (int)0)) && bool(((bool((inEvent->__Field(HX_CSTRING("value"),true) == (int)1)) || bool((inEvent->__Field(HX_CSTRING("value"),true) == (int)2)))))))){ - HX_STACK_LINE(422) - ::neash::display::InteractiveObject obj1 = stack->__get((int)0); HX_STACK_VAR(obj1,"obj1"); - HX_STACK_LINE(423) - ::neash::events::FocusEvent evt = ::neash::events::FocusEvent_obj::__new(( (((inEvent->__Field(HX_CSTRING("value"),true) == (int)1))) ? ::String(::neash::events::FocusEvent_obj::MOUSE_FOCUS_CHANGE) : ::String(::neash::events::FocusEvent_obj::KEY_FOCUS_CHANGE) ),true,true,( (((this->nmeFocusOverObjects->length == (int)0))) ? ::neash::display::InteractiveObject(null()) : ::neash::display::InteractiveObject(this->nmeFocusOverObjects->__get((int)0)) ),(inEvent->__Field(HX_CSTRING("flags"),true) > (int)0),inEvent->__Field(HX_CSTRING("code"),true),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(424) - obj1->nmeFireEvent(evt); - HX_STACK_LINE(425) - if ((evt->nmeGetIsCancelled())){ - HX_STACK_LINE(427) - inEvent->__FieldRef(HX_CSTRING("result")) = (int)1; - HX_STACK_LINE(428) - return null(); - } - } - HX_STACK_LINE(432) - stack->reverse(); - HX_STACK_LINE(434) - this->nmeCheckFocusInOuts(inEvent,stack); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeOnFocus,(void)) - -Void Stage_obj::nmeOnChange( Dynamic inEvent){ -{ - HX_STACK_PUSH("Stage::nmeOnChange","neash/display/Stage.hx",407); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(408) - ::neash::display::DisplayObject obj = this->nmeFindByID(inEvent->__Field(HX_CSTRING("id"),true)); HX_STACK_VAR(obj,"obj"); - HX_STACK_LINE(409) - if (((obj != null()))){ - HX_STACK_LINE(410) - obj->nmeFireEvent(::neash::events::Event_obj::__new(::neash::events::Event_obj::CHANGE,null(),null())); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeOnChange,(void)) - -Float Stage_obj::nmeNextFrameDue( Float inOtherTimers){ - HX_STACK_PUSH("Stage::nmeNextFrameDue","neash/display/Stage.hx",393); - HX_STACK_THIS(this); - HX_STACK_ARG(inOtherTimers,"inOtherTimers"); - HX_STACK_LINE(394) - if (((bool(!(this->active)) && bool(this->pauseWhenDeactivated)))){ - HX_STACK_LINE(395) - return inOtherTimers; - } - HX_STACK_LINE(396) - if (((this->frameRate > (int)0))){ - HX_STACK_LINE(398) - Float next = (((this->nmeLastRender + this->nmeFramePeriod) - ::haxe::Timer_obj::stamp()) - ::neash::display::Stage_obj::nmeEarlyWakeup); HX_STACK_VAR(next,"next"); - HX_STACK_LINE(399) - if (((next < inOtherTimers))){ - HX_STACK_LINE(400) - return next; - } - } - HX_STACK_LINE(402) - return inOtherTimers; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeNextFrameDue,return ) - -::neash::display::Stage Stage_obj::nmeGetStage( ){ - HX_STACK_PUSH("Stage::nmeGetStage","neash/display/Stage.hx",387); - HX_STACK_THIS(this); - HX_STACK_LINE(387) - return hx::ObjectPtr(this); -} - - -Void Stage_obj::nmeDrag( ::neash::geom::Point inMouse){ -{ - HX_STACK_PUSH("Stage::nmeDrag","neash/display/Stage.hx",364); - HX_STACK_THIS(this); - HX_STACK_ARG(inMouse,"inMouse"); - HX_STACK_LINE(365) - ::neash::display::DisplayObjectContainer p = this->nmeDragObject->nmeGetParent(); HX_STACK_VAR(p,"p"); - HX_STACK_LINE(366) - if (((p != null()))){ - HX_STACK_LINE(367) - inMouse = p->globalToLocal(inMouse); - } - HX_STACK_LINE(369) - Float x = (inMouse->x + this->nmeDragOffsetX); HX_STACK_VAR(x,"x"); - HX_STACK_LINE(370) - Float y = (inMouse->y + this->nmeDragOffsetY); HX_STACK_VAR(y,"y"); - HX_STACK_LINE(372) - if (((this->nmeDragBounds != null()))){ - HX_STACK_LINE(374) - if (((x < this->nmeDragBounds->x))){ - HX_STACK_LINE(374) - x = this->nmeDragBounds->x; - } - else{ - HX_STACK_LINE(375) - if (((x > this->nmeDragBounds->nmeGetRight()))){ - HX_STACK_LINE(375) - x = this->nmeDragBounds->nmeGetRight(); - } - } - HX_STACK_LINE(377) - if (((y < this->nmeDragBounds->y))){ - HX_STACK_LINE(377) - y = this->nmeDragBounds->y; - } - else{ - HX_STACK_LINE(378) - if (((y > this->nmeDragBounds->nmeGetBottom()))){ - HX_STACK_LINE(378) - y = this->nmeDragBounds->nmeGetBottom(); - } - } - } - HX_STACK_LINE(381) - this->nmeDragObject->nmeSetX(x); - HX_STACK_LINE(382) - this->nmeDragObject->nmeSetY(y); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeDrag,(void)) - -Dynamic Stage_obj::nmeProcessStageEvent( Dynamic inEvent){ - HX_STACK_PUSH("Stage::nmeProcessStageEvent","neash/display/Stage.hx",357); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(358) - this->nmeDoProcessStageEvent(inEvent); - HX_STACK_LINE(359) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeProcessStageEvent,return ) - -Void Stage_obj::dummyTrace( ){ -{ - HX_STACK_PUSH("Stage::dummyTrace","neash/display/Stage.hx",350); - HX_STACK_THIS(this); - HX_STACK_LINE(350) - ::haxe::Log_obj::trace(HX_CSTRING(""),hx::SourceInfo(HX_CSTRING("Stage.hx"),350,HX_CSTRING("neash.display.Stage"),HX_CSTRING("dummyTrace"))); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,dummyTrace,(void)) - -Float Stage_obj::nmeDoProcessStageEvent( Dynamic inEvent){ - HX_STACK_PUSH("Stage::nmeDoProcessStageEvent","neash/display/Stage.hx",235); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_LINE(236) - Float result = 0.0; HX_STACK_VAR(result,"result"); - HX_STACK_LINE(238) - int type = ::Std_obj::_int(::Reflect_obj::field(inEvent,HX_CSTRING("type"))); HX_STACK_VAR(type,"type"); - HX_STACK_LINE(240) - switch( (int)(type)){ - case (int)2: { - HX_STACK_LINE(242) - if (((this->onKey_dyn() != null()))){ - HX_STACK_LINE(244) - this->onKey(inEvent->__Field(HX_CSTRING("code"),true),inEvent->__Field(HX_CSTRING("down"),true),inEvent->__Field(HX_CSTRING("char"),true),inEvent->__Field(HX_CSTRING("flags"),true)); - } - } - ;break; - case (int)1: { - HX_STACK_LINE(246) - this->nmeOnKey(inEvent,::neash::events::KeyboardEvent_obj::KEY_DOWN); - } - ;break; - case (int)3: { - HX_STACK_LINE(249) - this->nmeOnKey(inEvent,::neash::events::KeyboardEvent_obj::KEY_UP); - } - ;break; - case (int)4: { - HX_STACK_LINE(252) - this->nmeOnMouse(inEvent,::neash::events::MouseEvent_obj::MOUSE_MOVE,true); - } - ;break; - case (int)5: { - HX_STACK_LINE(255) - this->nmeOnMouse(inEvent,::neash::events::MouseEvent_obj::MOUSE_DOWN,true); - } - ;break; - case (int)6: { - HX_STACK_LINE(258) - this->nmeOnMouse(inEvent,::neash::events::MouseEvent_obj::CLICK,true); - } - ;break; - case (int)7: { - HX_STACK_LINE(261) - this->nmeOnMouse(inEvent,::neash::events::MouseEvent_obj::MOUSE_UP,true); - } - ;break; - case (int)8: { - HX_STACK_LINE(265) - this->nmeOnResize(inEvent->__Field(HX_CSTRING("x"),true),inEvent->__Field(HX_CSTRING("y"),true)); - HX_STACK_LINE(266) - if (((this->renderRequest_dyn() == null()))){ - HX_STACK_LINE(267) - this->nmeRender(false); - } - } - ;break; - case (int)9: { - HX_STACK_LINE(269) - this->nmePollTimers(); - } - ;break; - case (int)10: { - HX_STACK_LINE(272) - if (((this->onQuit_dyn() != null()))){ - HX_STACK_LINE(274) - this->onQuit(); - } - } - ;break; - case (int)11: { - HX_STACK_LINE(276) - this->nmeOnFocus(inEvent); - } - ;break; - case (int)12: { - HX_STACK_LINE(279) - if ((::neash::display::Stage_obj::shouldRotateInterface(inEvent->__Field(HX_CSTRING("value"),true)))){ - HX_STACK_LINE(281) - inEvent->__FieldRef(HX_CSTRING("result")) = (int)2; - } - } - ;break; - case (int)14: { - HX_STACK_LINE(283) - this->nmeRender(true); - } - ;break; - case (int)15: { - HX_STACK_LINE(287) - ::neash::display::TouchInfo touchInfo = ::neash::display::TouchInfo_obj::__new(); HX_STACK_VAR(touchInfo,"touchInfo"); - HX_STACK_LINE(288) - this->nmeTouchInfo->set(inEvent->__Field(HX_CSTRING("value"),true),touchInfo); - HX_STACK_LINE(289) - this->nmeOnTouch(inEvent,::neash::events::TouchEvent_obj::TOUCH_BEGIN,touchInfo); - HX_STACK_LINE(291) - if (((((int(inEvent->__Field(HX_CSTRING("flags"),true)) & int((int)32768))) > (int)0))){ - HX_STACK_LINE(292) - this->nmeOnMouse(inEvent,::neash::events::MouseEvent_obj::MOUSE_DOWN,false); - } - } - ;break; - case (int)16: { - HX_STACK_LINE(295) - ::neash::display::TouchInfo touchInfo = this->nmeTouchInfo->get(inEvent->__Field(HX_CSTRING("value"),true)); HX_STACK_VAR(touchInfo,"touchInfo"); - HX_STACK_LINE(296) - this->nmeOnTouch(inEvent,::neash::events::TouchEvent_obj::TOUCH_MOVE,touchInfo); - } - ;break; - case (int)17: { - HX_STACK_LINE(299) - ::neash::display::TouchInfo touchInfo = this->nmeTouchInfo->get(inEvent->__Field(HX_CSTRING("value"),true)); HX_STACK_VAR(touchInfo,"touchInfo"); - HX_STACK_LINE(300) - this->nmeOnTouch(inEvent,::neash::events::TouchEvent_obj::TOUCH_END,touchInfo); - HX_STACK_LINE(301) - this->nmeTouchInfo->remove(inEvent->__Field(HX_CSTRING("value"),true)); - HX_STACK_LINE(303) - if (((((int(inEvent->__Field(HX_CSTRING("flags"),true)) & int((int)32768))) > (int)0))){ - HX_STACK_LINE(304) - this->nmeOnMouse(inEvent,::neash::events::MouseEvent_obj::MOUSE_UP,false); - } - } - ;break; - case (int)18: { - } - ;break; - case (int)19: { - HX_STACK_LINE(309) - this->nmeOnChange(inEvent); - } - ;break; - case (int)20: { - HX_STACK_LINE(312) - this->nmeSetActive(true); - } - ;break; - case (int)21: { - HX_STACK_LINE(315) - this->nmeSetActive(false); - } - ;break; - case (int)22: { - HX_STACK_LINE(319) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::FocusEvent_obj::FOCUS_IN,null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(320) - this->nmeBroadcast(evt); - } - ;break; - case (int)23: { - HX_STACK_LINE(323) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::FocusEvent_obj::FOCUS_OUT,null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(324) - this->nmeBroadcast(evt); - } - ;break; - case (int)24: { - HX_STACK_LINE(326) - this->nmeOnJoystick(inEvent,::neash::events::JoystickEvent_obj::AXIS_MOVE); - } - ;break; - case (int)25: { - HX_STACK_LINE(329) - this->nmeOnJoystick(inEvent,::neash::events::JoystickEvent_obj::BALL_MOVE); - } - ;break; - case (int)26: { - HX_STACK_LINE(332) - this->nmeOnJoystick(inEvent,::neash::events::JoystickEvent_obj::HAT_MOVE); - } - ;break; - case (int)27: { - HX_STACK_LINE(335) - this->nmeOnJoystick(inEvent,::neash::events::JoystickEvent_obj::BUTTON_DOWN); - } - ;break; - case (int)28: { - HX_STACK_LINE(338) - this->nmeOnJoystick(inEvent,::neash::events::JoystickEvent_obj::BUTTON_UP); - } - ;break; - } - HX_STACK_LINE(344) - result = this->nmeUpdateNextWake(); - HX_STACK_LINE(347) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,nmeDoProcessStageEvent,return ) - -Void Stage_obj::nmeCheckRender( ){ -{ - HX_STACK_PUSH("Stage::nmeCheckRender","neash/display/Stage.hx",217); - HX_STACK_THIS(this); - HX_STACK_LINE(217) - if (((this->frameRate > (int)0))){ - HX_STACK_LINE(221) - Float now = ::haxe::Timer_obj::stamp(); HX_STACK_VAR(now,"now"); - HX_STACK_LINE(222) - if (((now >= (this->nmeLastRender + this->nmeFramePeriod)))){ - HX_STACK_LINE(224) - this->nmeLastRender = now; - HX_STACK_LINE(225) - if (((this->renderRequest_dyn() != null()))){ - HX_STACK_LINE(226) - this->renderRequest(); - } - else{ - HX_STACK_LINE(228) - this->nmeRender(true); - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,nmeCheckRender,(void)) - -bool Stage_obj::nmeCheckInOuts( ::neash::events::MouseEvent inEvent,Array< ::neash::display::InteractiveObject > inStack,::neash::display::TouchInfo touchInfo){ - HX_STACK_PUSH("Stage::nmeCheckInOuts","neash/display/Stage.hx",165); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inStack,"inStack"); - HX_STACK_ARG(touchInfo,"touchInfo"); - HX_STACK_LINE(166) - Array< ::neash::display::InteractiveObject > prev = ( (((touchInfo == null()))) ? Array< ::neash::display::InteractiveObject >(this->nmeMouseOverObjects) : Array< ::neash::display::InteractiveObject >(touchInfo->touchOverObjects) ); HX_STACK_VAR(prev,"prev"); - HX_STACK_LINE(167) - Array< ::String > events = ( (((touchInfo == null()))) ? Array< ::String >(::neash::display::Stage_obj::nmeMouseChanges) : Array< ::String >(::neash::display::Stage_obj::nmeTouchChanges) ); HX_STACK_VAR(events,"events"); - HX_STACK_LINE(169) - int new_n = inStack->length; HX_STACK_VAR(new_n,"new_n"); - HX_STACK_LINE(170) - ::neash::display::InteractiveObject new_obj = ( (((new_n > (int)0))) ? ::neash::display::InteractiveObject(inStack->__get((new_n - (int)1))) : ::neash::display::InteractiveObject(null()) ); HX_STACK_VAR(new_obj,"new_obj"); - HX_STACK_LINE(171) - int old_n = prev->length; HX_STACK_VAR(old_n,"old_n"); - HX_STACK_LINE(172) - ::neash::display::InteractiveObject old_obj = ( (((old_n > (int)0))) ? ::neash::display::InteractiveObject(prev->__get((old_n - (int)1))) : ::neash::display::InteractiveObject(null()) ); HX_STACK_VAR(old_obj,"old_obj"); - HX_STACK_LINE(174) - if (((new_obj != old_obj))){ - HX_STACK_LINE(177) - if (((old_obj != null()))){ - HX_STACK_LINE(178) - old_obj->nmeFireEvent(inEvent->nmeCreateSimilar(events->__get((int)0),new_obj,old_obj)); - } - HX_STACK_LINE(180) - if (((new_obj != null()))){ - HX_STACK_LINE(181) - new_obj->nmeFireEvent(inEvent->nmeCreateSimilar(events->__get((int)1),old_obj,null())); - } - HX_STACK_LINE(184) - int common = (int)0; HX_STACK_VAR(common,"common"); - HX_STACK_LINE(185) - while(((bool((bool((common < new_n)) && bool((common < old_n)))) && bool((inStack->__get(common) == prev->__get(common)))))){ - HX_STACK_LINE(186) - (common)++; - } - HX_STACK_LINE(188) - ::neash::events::MouseEvent rollOut = inEvent->nmeCreateSimilar(events->__get((int)2),new_obj,old_obj); HX_STACK_VAR(rollOut,"rollOut"); - HX_STACK_LINE(189) - int i = (old_n - (int)1); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(190) - while(((i >= common))){ - HX_STACK_LINE(192) - prev->__get(i)->nmeDispatchEvent(rollOut); - HX_STACK_LINE(193) - (i)--; - } - HX_STACK_LINE(196) - ::neash::events::MouseEvent rollOver = inEvent->nmeCreateSimilar(events->__get((int)3),old_obj,null()); HX_STACK_VAR(rollOver,"rollOver"); - HX_STACK_LINE(197) - int i1 = (new_n - (int)1); HX_STACK_VAR(i1,"i1"); - HX_STACK_LINE(198) - while(((i1 >= common))){ - HX_STACK_LINE(200) - inStack->__get(i1)->nmeDispatchEvent(rollOver); - HX_STACK_LINE(201) - (i1)--; - } - HX_STACK_LINE(204) - if (((touchInfo == null()))){ - HX_STACK_LINE(205) - this->nmeMouseOverObjects = inStack; - } - else{ - HX_STACK_LINE(207) - touchInfo->touchOverObjects = inStack; - } - HX_STACK_LINE(209) - return false; - } - HX_STACK_LINE(212) - return true; -} - - -HX_DEFINE_DYNAMIC_FUNC3(Stage_obj,nmeCheckInOuts,return ) - -Void Stage_obj::nmeCheckFocusInOuts( Dynamic inEvent,Array< ::neash::display::InteractiveObject > inStack){ -{ - HX_STACK_PUSH("Stage::nmeCheckFocusInOuts","neash/display/Stage.hx",127); - HX_STACK_THIS(this); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inStack,"inStack"); - HX_STACK_LINE(129) - int new_n = inStack->length; HX_STACK_VAR(new_n,"new_n"); - HX_STACK_LINE(130) - ::neash::display::InteractiveObject new_obj = ( (((new_n > (int)0))) ? ::neash::display::InteractiveObject(inStack->__get((new_n - (int)1))) : ::neash::display::InteractiveObject(null()) ); HX_STACK_VAR(new_obj,"new_obj"); - HX_STACK_LINE(131) - int old_n = this->nmeFocusOverObjects->length; HX_STACK_VAR(old_n,"old_n"); - HX_STACK_LINE(132) - ::neash::display::InteractiveObject old_obj = ( (((old_n > (int)0))) ? ::neash::display::InteractiveObject(this->nmeFocusOverObjects->__get((old_n - (int)1))) : ::neash::display::InteractiveObject(null()) ); HX_STACK_VAR(old_obj,"old_obj"); - HX_STACK_LINE(134) - if (((new_obj != old_obj))){ - HX_STACK_LINE(137) - int common = (int)0; HX_STACK_VAR(common,"common"); - HX_STACK_LINE(138) - while(((bool((bool((common < new_n)) && bool((common < old_n)))) && bool((inStack->__get(common) == this->nmeFocusOverObjects->__get(common)))))){ - HX_STACK_LINE(139) - (common)++; - } - HX_STACK_LINE(141) - ::neash::events::FocusEvent focusOut = ::neash::events::FocusEvent_obj::__new(::neash::events::FocusEvent_obj::FOCUS_OUT,false,false,new_obj,(inEvent->__Field(HX_CSTRING("flags"),true) > (int)0),inEvent->__Field(HX_CSTRING("code"),true),null()); HX_STACK_VAR(focusOut,"focusOut"); - HX_STACK_LINE(143) - int i = (old_n - (int)1); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(144) - while(((i >= common))){ - HX_STACK_LINE(146) - this->nmeFocusOverObjects->__get(i)->nmeDispatchEvent(focusOut); - HX_STACK_LINE(147) - (i)--; - } - HX_STACK_LINE(150) - ::neash::events::FocusEvent focusIn = ::neash::events::FocusEvent_obj::__new(::neash::events::FocusEvent_obj::FOCUS_IN,false,false,old_obj,(inEvent->__Field(HX_CSTRING("flags"),true) > (int)0),inEvent->__Field(HX_CSTRING("code"),true),null()); HX_STACK_VAR(focusIn,"focusIn"); - HX_STACK_LINE(151) - int i1 = (new_n - (int)1); HX_STACK_VAR(i1,"i1"); - HX_STACK_LINE(153) - while(((i1 >= common))){ - HX_STACK_LINE(155) - inStack->__get(i1)->nmeDispatchEvent(focusIn); - HX_STACK_LINE(156) - (i1)--; - } - HX_STACK_LINE(159) - this->nmeFocusOverObjects = inStack; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Stage_obj,nmeCheckFocusInOuts,(void)) - -Void Stage_obj::invalidate( ){ -{ - HX_STACK_PUSH("Stage::invalidate","neash/display/Stage.hx",121); - HX_STACK_THIS(this); - HX_STACK_LINE(121) - this->nmeInvalid = true; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Stage_obj,invalidate,(void)) - -Float Stage_obj::nmeEarlyWakeup; - -int Stage_obj::OrientationPortrait; - -int Stage_obj::OrientationPortraitUpsideDown; - -int Stage_obj::OrientationLandscapeRight; - -int Stage_obj::OrientationLandscapeLeft; - -int Stage_obj::OrientationFaceUp; - -int Stage_obj::OrientationFaceDown; - -int Stage_obj::efLeftDown; - -int Stage_obj::efShiftDown; - -int Stage_obj::efCtrlDown; - -int Stage_obj::efAltDown; - -int Stage_obj::efCommandDown; - -int Stage_obj::efLocationRight; - -int Stage_obj::efNoNativeClick; - -Array< ::String > Stage_obj::nmeMouseChanges; - -Array< ::String > Stage_obj::nmeTouchChanges; - -Array< ::String > Stage_obj::sClickEvents; - -Array< ::String > Stage_obj::sDownEvents; - -Array< ::String > Stage_obj::sUpEvents; - -HX_BEGIN_DEFAULT_FUNC(__default_getOrientation,Stage_obj) -int run(){ - HX_STACK_PUSH("Stage::getOrientation","neash/display/Stage.hx",110); - HX_STACK_LINE(110) - return ::neash::display::Stage_obj::nme_stage_get_orientation(); -} -HX_END_LOCAL_FUNC0(return ) -HX_END_DEFAULT_FUNC - -Dynamic Stage_obj::getOrientation; - -HX_BEGIN_DEFAULT_FUNC(__default_getNormalOrientation,Stage_obj) -int run(){ - HX_STACK_PUSH("Stage::getNormalOrientation","neash/display/Stage.hx",115); - HX_STACK_LINE(115) - return ::neash::display::Stage_obj::nme_stage_get_normal_orientation(); -} -HX_END_LOCAL_FUNC0(return ) -HX_END_DEFAULT_FUNC - -Dynamic Stage_obj::getNormalOrientation; - -Void Stage_obj::setFixedOrientation( int inOrientation){ -{ - HX_STACK_PUSH("Stage::setFixedOrientation","neash/display/Stage.hx",741); - HX_STACK_ARG(inOrientation,"inOrientation"); - HX_STACK_LINE(741) - ::neash::display::Stage_obj::nme_stage_set_fixed_orientation(inOrientation); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Stage_obj,setFixedOrientation,(void)) - -HX_BEGIN_DEFAULT_FUNC(__default_shouldRotateInterface,Stage_obj) -bool run(int inOrientation){ - HX_STACK_PUSH("Stage::shouldRotateInterface","neash/display/Stage.hx",748); - HX_STACK_ARG(inOrientation,"inOrientation"); - HX_STACK_LINE(748) - return (inOrientation == ::neash::display::Stage_obj::OrientationPortrait); -} -HX_END_LOCAL_FUNC1(return ) -HX_END_DEFAULT_FUNC - -Dynamic Stage_obj::shouldRotateInterface; - -Dynamic Stage_obj::nme_set_stage_handler; - -Dynamic Stage_obj::nme_render_stage; - -Dynamic Stage_obj::nme_stage_get_focus_id; - -Dynamic Stage_obj::nme_stage_set_focus; - -Dynamic Stage_obj::nme_stage_get_focus_rect; - -Dynamic Stage_obj::nme_stage_set_focus_rect; - -Dynamic Stage_obj::nme_stage_is_opengl; - -Dynamic Stage_obj::nme_stage_get_stage_width; - -Dynamic Stage_obj::nme_stage_get_stage_height; - -Dynamic Stage_obj::nme_stage_get_dpi_scale; - -Dynamic Stage_obj::nme_stage_get_scale_mode; - -Dynamic Stage_obj::nme_stage_set_scale_mode; - -Dynamic Stage_obj::nme_stage_get_align; - -Dynamic Stage_obj::nme_stage_set_align; - -Dynamic Stage_obj::nme_stage_get_quality; - -Dynamic Stage_obj::nme_stage_set_quality; - -Dynamic Stage_obj::nme_stage_get_display_state; - -Dynamic Stage_obj::nme_stage_set_display_state; - -Dynamic Stage_obj::nme_stage_set_next_wake; - -Dynamic Stage_obj::nme_stage_request_render; - -Dynamic Stage_obj::nme_stage_show_cursor; - -Dynamic Stage_obj::nme_stage_set_fixed_orientation; - -Dynamic Stage_obj::nme_stage_get_orientation; - -Dynamic Stage_obj::nme_stage_get_normal_orientation; - - -Stage_obj::Stage_obj() -{ -} - -void Stage_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Stage); - HX_MARK_MEMBER_NAME(nmeTouchInfo,"nmeTouchInfo"); - HX_MARK_MEMBER_NAME(nmeMouseOverObjects,"nmeMouseOverObjects"); - HX_MARK_MEMBER_NAME(nmeLastRender,"nmeLastRender"); - HX_MARK_MEMBER_NAME(nmeLastDown,"nmeLastDown"); - HX_MARK_MEMBER_NAME(nmeLastClickTime,"nmeLastClickTime"); - HX_MARK_MEMBER_NAME(nmeInvalid,"nmeInvalid"); - HX_MARK_MEMBER_NAME(nmeFramePeriod,"nmeFramePeriod"); - HX_MARK_MEMBER_NAME(nmeFocusOverObjects,"nmeFocusOverObjects"); - HX_MARK_MEMBER_NAME(nmeDragOffsetY,"nmeDragOffsetY"); - HX_MARK_MEMBER_NAME(nmeDragOffsetX,"nmeDragOffsetX"); - HX_MARK_MEMBER_NAME(nmeDragObject,"nmeDragObject"); - HX_MARK_MEMBER_NAME(nmeDragBounds,"nmeDragBounds"); - HX_MARK_MEMBER_NAME(nmeJoyAxisData,"nmeJoyAxisData"); - HX_MARK_MEMBER_NAME(stageWidth,"stageWidth"); - HX_MARK_MEMBER_NAME(stageHeight,"stageHeight"); - HX_MARK_MEMBER_NAME(stageFocusRect,"stageFocusRect"); - HX_MARK_MEMBER_NAME(scaleMode,"scaleMode"); - HX_MARK_MEMBER_NAME(renderRequest,"renderRequest"); - HX_MARK_MEMBER_NAME(quality,"quality"); - HX_MARK_MEMBER_NAME(pauseWhenDeactivated,"pauseWhenDeactivated"); - HX_MARK_MEMBER_NAME(onQuit,"onQuit"); - HX_MARK_MEMBER_NAME(onKey,"onKey"); - HX_MARK_MEMBER_NAME(isOpenGL,"isOpenGL"); - HX_MARK_MEMBER_NAME(frameRate,"frameRate"); - HX_MARK_MEMBER_NAME(focus,"focus"); - HX_MARK_MEMBER_NAME(dpiScale,"dpiScale"); - HX_MARK_MEMBER_NAME(displayState,"displayState"); - HX_MARK_MEMBER_NAME(align,"align"); - HX_MARK_MEMBER_NAME(active,"active"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Stage_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeTouchInfo,"nmeTouchInfo"); - HX_VISIT_MEMBER_NAME(nmeMouseOverObjects,"nmeMouseOverObjects"); - HX_VISIT_MEMBER_NAME(nmeLastRender,"nmeLastRender"); - HX_VISIT_MEMBER_NAME(nmeLastDown,"nmeLastDown"); - HX_VISIT_MEMBER_NAME(nmeLastClickTime,"nmeLastClickTime"); - HX_VISIT_MEMBER_NAME(nmeInvalid,"nmeInvalid"); - HX_VISIT_MEMBER_NAME(nmeFramePeriod,"nmeFramePeriod"); - HX_VISIT_MEMBER_NAME(nmeFocusOverObjects,"nmeFocusOverObjects"); - HX_VISIT_MEMBER_NAME(nmeDragOffsetY,"nmeDragOffsetY"); - HX_VISIT_MEMBER_NAME(nmeDragOffsetX,"nmeDragOffsetX"); - HX_VISIT_MEMBER_NAME(nmeDragObject,"nmeDragObject"); - HX_VISIT_MEMBER_NAME(nmeDragBounds,"nmeDragBounds"); - HX_VISIT_MEMBER_NAME(nmeJoyAxisData,"nmeJoyAxisData"); - HX_VISIT_MEMBER_NAME(stageWidth,"stageWidth"); - HX_VISIT_MEMBER_NAME(stageHeight,"stageHeight"); - HX_VISIT_MEMBER_NAME(stageFocusRect,"stageFocusRect"); - HX_VISIT_MEMBER_NAME(scaleMode,"scaleMode"); - HX_VISIT_MEMBER_NAME(renderRequest,"renderRequest"); - HX_VISIT_MEMBER_NAME(quality,"quality"); - HX_VISIT_MEMBER_NAME(pauseWhenDeactivated,"pauseWhenDeactivated"); - HX_VISIT_MEMBER_NAME(onQuit,"onQuit"); - HX_VISIT_MEMBER_NAME(onKey,"onKey"); - HX_VISIT_MEMBER_NAME(isOpenGL,"isOpenGL"); - HX_VISIT_MEMBER_NAME(frameRate,"frameRate"); - HX_VISIT_MEMBER_NAME(focus,"focus"); - HX_VISIT_MEMBER_NAME(dpiScale,"dpiScale"); - HX_VISIT_MEMBER_NAME(displayState,"displayState"); - HX_VISIT_MEMBER_NAME(align,"align"); - HX_VISIT_MEMBER_NAME(active,"active"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Stage_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"onKey") ) { return onKey; } - if (HX_FIELD_EQ(inName,"focus") ) { return inCallProp ? nmeGetFocus() : focus; } - if (HX_FIELD_EQ(inName,"align") ) { return inCallProp ? nmeGetAlign() : align; } - break; - case 6: - if (HX_FIELD_EQ(inName,"onQuit") ) { return onQuit; } - if (HX_FIELD_EQ(inName,"active") ) { return active; } - break; - case 7: - if (HX_FIELD_EQ(inName,"nmeDrag") ) { return nmeDrag_dyn(); } - if (HX_FIELD_EQ(inName,"quality") ) { return inCallProp ? nmeGetQuality() : quality; } - break; - case 8: - if (HX_FIELD_EQ(inName,"nmeOnKey") ) { return nmeOnKey_dyn(); } - if (HX_FIELD_EQ(inName,"isOpenGL") ) { return inCallProp ? nmeIsOpenGL() : isOpenGL; } - if (HX_FIELD_EQ(inName,"dpiScale") ) { return inCallProp ? nmeGetDPIScale() : dpiScale; } - break; - case 9: - if (HX_FIELD_EQ(inName,"efAltDown") ) { return efAltDown; } - if (HX_FIELD_EQ(inName,"sUpEvents") ) { return sUpEvents; } - if (HX_FIELD_EQ(inName,"nmeRender") ) { return nmeRender_dyn(); } - if (HX_FIELD_EQ(inName,"scaleMode") ) { return inCallProp ? nmeGetScaleMode() : scaleMode; } - if (HX_FIELD_EQ(inName,"frameRate") ) { return frameRate; } - break; - case 10: - if (HX_FIELD_EQ(inName,"efLeftDown") ) { return efLeftDown; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { return efCtrlDown; } - if (HX_FIELD_EQ(inName,"showCursor") ) { return showCursor_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnTouch") ) { return nmeOnTouch_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnMouse") ) { return nmeOnMouse_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnFocus") ) { return nmeOnFocus_dyn(); } - if (HX_FIELD_EQ(inName,"dummyTrace") ) { return dummyTrace_dyn(); } - if (HX_FIELD_EQ(inName,"invalidate") ) { return invalidate_dyn(); } - if (HX_FIELD_EQ(inName,"nmeInvalid") ) { return nmeInvalid; } - if (HX_FIELD_EQ(inName,"stageWidth") ) { return inCallProp ? nmeGetStageWidth() : stageWidth; } - break; - case 11: - if (HX_FIELD_EQ(inName,"efShiftDown") ) { return efShiftDown; } - if (HX_FIELD_EQ(inName,"sDownEvents") ) { return sDownEvents; } - if (HX_FIELD_EQ(inName,"nmeIsOpenGL") ) { return nmeIsOpenGL_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetFocus") ) { return nmeSetFocus_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetFocus") ) { return nmeGetFocus_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetAlign") ) { return nmeSetAlign_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetAlign") ) { return nmeGetAlign_dyn(); } - if (HX_FIELD_EQ(inName,"nmeStopDrag") ) { return nmeStopDrag_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnResize") ) { return nmeOnResize_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnChange") ) { return nmeOnChange_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetStage") ) { return nmeGetStage_dyn(); } - if (HX_FIELD_EQ(inName,"nmeLastDown") ) { return nmeLastDown; } - if (HX_FIELD_EQ(inName,"stageHeight") ) { return inCallProp ? nmeGetStageHeight() : stageHeight; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sClickEvents") ) { return sClickEvents; } - if (HX_FIELD_EQ(inName,"nmeStartDrag") ) { return nmeStartDrag_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetActive") ) { return nmeSetActive_dyn(); } - if (HX_FIELD_EQ(inName,"nmeTouchInfo") ) { return nmeTouchInfo; } - if (HX_FIELD_EQ(inName,"displayState") ) { return inCallProp ? nmeGetDisplayState() : displayState; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { return efCommandDown; } - if (HX_FIELD_EQ(inName,"nmeSetQuality") ) { return nmeSetQuality_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetQuality") ) { return nmeGetQuality_dyn(); } - if (HX_FIELD_EQ(inName,"nmePollTimers") ) { return nmePollTimers_dyn(); } - if (HX_FIELD_EQ(inName,"nmeOnJoystick") ) { return nmeOnJoystick_dyn(); } - if (HX_FIELD_EQ(inName,"nmeLastRender") ) { return nmeLastRender; } - if (HX_FIELD_EQ(inName,"nmeDragObject") ) { return nmeDragObject; } - if (HX_FIELD_EQ(inName,"nmeDragBounds") ) { return nmeDragBounds; } - if (HX_FIELD_EQ(inName,"renderRequest") ) { return renderRequest; } - break; - case 14: - if (HX_FIELD_EQ(inName,"nmeEarlyWakeup") ) { return nmeEarlyWakeup; } - if (HX_FIELD_EQ(inName,"getOrientation") ) { return getOrientation; } - if (HX_FIELD_EQ(inName,"nmeGetDPIScale") ) { return nmeGetDPIScale_dyn(); } - if (HX_FIELD_EQ(inName,"nmeCheckRender") ) { return nmeCheckRender_dyn(); } - if (HX_FIELD_EQ(inName,"nmeCheckInOuts") ) { return nmeCheckInOuts_dyn(); } - if (HX_FIELD_EQ(inName,"nmeFramePeriod") ) { return nmeFramePeriod; } - if (HX_FIELD_EQ(inName,"nmeDragOffsetY") ) { return nmeDragOffsetY; } - if (HX_FIELD_EQ(inName,"nmeDragOffsetX") ) { return nmeDragOffsetX; } - if (HX_FIELD_EQ(inName,"nmeJoyAxisData") ) { return nmeJoyAxisData; } - if (HX_FIELD_EQ(inName,"stageFocusRect") ) { return inCallProp ? nmeGetStageFocusRect() : stageFocusRect; } - break; - case 15: - if (HX_FIELD_EQ(inName,"efLocationRight") ) { return efLocationRight; } - if (HX_FIELD_EQ(inName,"efNoNativeClick") ) { return efNoNativeClick; } - if (HX_FIELD_EQ(inName,"nmeMouseChanges") ) { return nmeMouseChanges; } - if (HX_FIELD_EQ(inName,"nmeTouchChanges") ) { return nmeTouchChanges; } - if (HX_FIELD_EQ(inName,"nmeSetScaleMode") ) { return nmeSetScaleMode_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetScaleMode") ) { return nmeGetScaleMode_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetFrameRate") ) { return nmeSetFrameRate_dyn(); } - if (HX_FIELD_EQ(inName,"nmeNextFrameDue") ) { return nmeNextFrameDue_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_render_stage") ) { return nme_render_stage; } - if (HX_FIELD_EQ(inName,"nmeGetStageWidth") ) { return nmeGetStageWidth_dyn(); } - if (HX_FIELD_EQ(inName,"nmeLastClickTime") ) { return nmeLastClickTime; } - break; - case 17: - if (HX_FIELD_EQ(inName,"OrientationFaceUp") ) { return OrientationFaceUp; } - if (HX_FIELD_EQ(inName,"nmeGetStageHeight") ) { return nmeGetStageHeight_dyn(); } - if (HX_FIELD_EQ(inName,"nmeUpdateNextWake") ) { return nmeUpdateNextWake_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"nmeSetDisplayState") ) { return nmeSetDisplayState_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetDisplayState") ) { return nmeGetDisplayState_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"OrientationPortrait") ) { return OrientationPortrait; } - if (HX_FIELD_EQ(inName,"OrientationFaceDown") ) { return OrientationFaceDown; } - if (HX_FIELD_EQ(inName,"setFixedOrientation") ) { return setFixedOrientation_dyn(); } - if (HX_FIELD_EQ(inName,"nme_stage_set_focus") ) { return nme_stage_set_focus; } - if (HX_FIELD_EQ(inName,"nme_stage_is_opengl") ) { return nme_stage_is_opengl; } - if (HX_FIELD_EQ(inName,"nme_stage_get_align") ) { return nme_stage_get_align; } - if (HX_FIELD_EQ(inName,"nme_stage_set_align") ) { return nme_stage_set_align; } - if (HX_FIELD_EQ(inName,"nmeCheckFocusInOuts") ) { return nmeCheckFocusInOuts_dyn(); } - if (HX_FIELD_EQ(inName,"nmeMouseOverObjects") ) { return nmeMouseOverObjects; } - if (HX_FIELD_EQ(inName,"nmeFocusOverObjects") ) { return nmeFocusOverObjects; } - break; - case 20: - if (HX_FIELD_EQ(inName,"getNormalOrientation") ) { return getNormalOrientation; } - if (HX_FIELD_EQ(inName,"nmeSetStageFocusRect") ) { return nmeSetStageFocusRect_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetStageFocusRect") ) { return nmeGetStageFocusRect_dyn(); } - if (HX_FIELD_EQ(inName,"nmeProcessStageEvent") ) { return nmeProcessStageEvent_dyn(); } - if (HX_FIELD_EQ(inName,"pauseWhenDeactivated") ) { return pauseWhenDeactivated; } - break; - case 21: - if (HX_FIELD_EQ(inName,"shouldRotateInterface") ) { return shouldRotateInterface; } - if (HX_FIELD_EQ(inName,"nme_set_stage_handler") ) { return nme_set_stage_handler; } - if (HX_FIELD_EQ(inName,"nme_stage_get_quality") ) { return nme_stage_get_quality; } - if (HX_FIELD_EQ(inName,"nme_stage_set_quality") ) { return nme_stage_set_quality; } - if (HX_FIELD_EQ(inName,"nme_stage_show_cursor") ) { return nme_stage_show_cursor; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_stage_get_focus_id") ) { return nme_stage_get_focus_id; } - if (HX_FIELD_EQ(inName,"nmeDoProcessStageEvent") ) { return nmeDoProcessStageEvent_dyn(); } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_stage_get_dpi_scale") ) { return nme_stage_get_dpi_scale; } - if (HX_FIELD_EQ(inName,"nme_stage_set_next_wake") ) { return nme_stage_set_next_wake; } - break; - case 24: - if (HX_FIELD_EQ(inName,"OrientationLandscapeLeft") ) { return OrientationLandscapeLeft; } - if (HX_FIELD_EQ(inName,"nme_stage_get_focus_rect") ) { return nme_stage_get_focus_rect; } - if (HX_FIELD_EQ(inName,"nme_stage_set_focus_rect") ) { return nme_stage_set_focus_rect; } - if (HX_FIELD_EQ(inName,"nme_stage_get_scale_mode") ) { return nme_stage_get_scale_mode; } - if (HX_FIELD_EQ(inName,"nme_stage_set_scale_mode") ) { return nme_stage_set_scale_mode; } - if (HX_FIELD_EQ(inName,"nme_stage_request_render") ) { return nme_stage_request_render; } - break; - case 25: - if (HX_FIELD_EQ(inName,"OrientationLandscapeRight") ) { return OrientationLandscapeRight; } - if (HX_FIELD_EQ(inName,"nme_stage_get_stage_width") ) { return nme_stage_get_stage_width; } - if (HX_FIELD_EQ(inName,"nme_stage_get_orientation") ) { return nme_stage_get_orientation; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_stage_get_stage_height") ) { return nme_stage_get_stage_height; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_stage_get_display_state") ) { return nme_stage_get_display_state; } - if (HX_FIELD_EQ(inName,"nme_stage_set_display_state") ) { return nme_stage_set_display_state; } - break; - case 29: - if (HX_FIELD_EQ(inName,"OrientationPortraitUpsideDown") ) { return OrientationPortraitUpsideDown; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_stage_set_fixed_orientation") ) { return nme_stage_set_fixed_orientation; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nme_stage_get_normal_orientation") ) { return nme_stage_get_normal_orientation; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Stage_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"onKey") ) { onKey=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"focus") ) { if (inCallProp) return nmeSetFocus(inValue);focus=inValue.Cast< ::neash::display::InteractiveObject >(); return inValue; } - if (HX_FIELD_EQ(inName,"align") ) { if (inCallProp) return nmeSetAlign(inValue);align=inValue.Cast< ::neash::display::StageAlign >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"onQuit") ) { onQuit=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"active") ) { active=inValue.Cast< bool >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"quality") ) { if (inCallProp) return nmeSetQuality(inValue);quality=inValue.Cast< ::neash::display::StageQuality >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"isOpenGL") ) { isOpenGL=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"dpiScale") ) { dpiScale=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"efAltDown") ) { efAltDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"sUpEvents") ) { sUpEvents=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"scaleMode") ) { if (inCallProp) return nmeSetScaleMode(inValue);scaleMode=inValue.Cast< ::neash::display::StageScaleMode >(); return inValue; } - if (HX_FIELD_EQ(inName,"frameRate") ) { if (inCallProp) return nmeSetFrameRate(inValue);frameRate=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"efLeftDown") ) { efLeftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { efCtrlDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeInvalid") ) { nmeInvalid=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"stageWidth") ) { stageWidth=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"efShiftDown") ) { efShiftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"sDownEvents") ) { sDownEvents=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeLastDown") ) { nmeLastDown=inValue.Cast< Array< ::neash::display::InteractiveObject > >(); return inValue; } - if (HX_FIELD_EQ(inName,"stageHeight") ) { stageHeight=inValue.Cast< int >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sClickEvents") ) { sClickEvents=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeTouchInfo") ) { nmeTouchInfo=inValue.Cast< ::IntHash >(); return inValue; } - if (HX_FIELD_EQ(inName,"displayState") ) { if (inCallProp) return nmeSetDisplayState(inValue);displayState=inValue.Cast< ::neash::display::StageDisplayState >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { efCommandDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeLastRender") ) { nmeLastRender=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDragObject") ) { nmeDragObject=inValue.Cast< ::neash::display::Sprite >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDragBounds") ) { nmeDragBounds=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - if (HX_FIELD_EQ(inName,"renderRequest") ) { renderRequest=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"nmeEarlyWakeup") ) { nmeEarlyWakeup=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"getOrientation") ) { getOrientation=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeFramePeriod") ) { nmeFramePeriod=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDragOffsetY") ) { nmeDragOffsetY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDragOffsetX") ) { nmeDragOffsetX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeJoyAxisData") ) { nmeJoyAxisData=inValue.Cast< ::IntHash >(); return inValue; } - if (HX_FIELD_EQ(inName,"stageFocusRect") ) { if (inCallProp) return nmeSetStageFocusRect(inValue);stageFocusRect=inValue.Cast< bool >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"efLocationRight") ) { efLocationRight=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efNoNativeClick") ) { efNoNativeClick=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeMouseChanges") ) { nmeMouseChanges=inValue.Cast< Array< ::String > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeTouchChanges") ) { nmeTouchChanges=inValue.Cast< Array< ::String > >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_render_stage") ) { nme_render_stage=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeLastClickTime") ) { nmeLastClickTime=inValue.Cast< Float >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"OrientationFaceUp") ) { OrientationFaceUp=inValue.Cast< int >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"OrientationPortrait") ) { OrientationPortrait=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"OrientationFaceDown") ) { OrientationFaceDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_focus") ) { nme_stage_set_focus=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_is_opengl") ) { nme_stage_is_opengl=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_align") ) { nme_stage_get_align=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_align") ) { nme_stage_set_align=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeMouseOverObjects") ) { nmeMouseOverObjects=inValue.Cast< Array< ::neash::display::InteractiveObject > >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeFocusOverObjects") ) { nmeFocusOverObjects=inValue.Cast< Array< ::neash::display::InteractiveObject > >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"getNormalOrientation") ) { getNormalOrientation=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"pauseWhenDeactivated") ) { pauseWhenDeactivated=inValue.Cast< bool >(); return inValue; } - break; - case 21: - if (HX_FIELD_EQ(inName,"shouldRotateInterface") ) { shouldRotateInterface=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_set_stage_handler") ) { nme_set_stage_handler=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_quality") ) { nme_stage_get_quality=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_quality") ) { nme_stage_set_quality=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_show_cursor") ) { nme_stage_show_cursor=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_stage_get_focus_id") ) { nme_stage_get_focus_id=inValue.Cast< Dynamic >(); return inValue; } - break; - case 23: - if (HX_FIELD_EQ(inName,"nme_stage_get_dpi_scale") ) { nme_stage_get_dpi_scale=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_next_wake") ) { nme_stage_set_next_wake=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"OrientationLandscapeLeft") ) { OrientationLandscapeLeft=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_focus_rect") ) { nme_stage_get_focus_rect=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_focus_rect") ) { nme_stage_set_focus_rect=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_scale_mode") ) { nme_stage_get_scale_mode=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_scale_mode") ) { nme_stage_set_scale_mode=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_request_render") ) { nme_stage_request_render=inValue.Cast< Dynamic >(); return inValue; } - break; - case 25: - if (HX_FIELD_EQ(inName,"OrientationLandscapeRight") ) { OrientationLandscapeRight=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_stage_width") ) { nme_stage_get_stage_width=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_get_orientation") ) { nme_stage_get_orientation=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_stage_get_stage_height") ) { nme_stage_get_stage_height=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_stage_get_display_state") ) { nme_stage_get_display_state=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_stage_set_display_state") ) { nme_stage_set_display_state=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"OrientationPortraitUpsideDown") ) { OrientationPortraitUpsideDown=inValue.Cast< int >(); return inValue; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_stage_set_fixed_orientation") ) { nme_stage_set_fixed_orientation=inValue.Cast< Dynamic >(); return inValue; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nme_stage_get_normal_orientation") ) { nme_stage_get_normal_orientation=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Stage_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeTouchInfo")); - outFields->push(HX_CSTRING("nmeMouseOverObjects")); - outFields->push(HX_CSTRING("nmeLastRender")); - outFields->push(HX_CSTRING("nmeLastDown")); - outFields->push(HX_CSTRING("nmeLastClickTime")); - outFields->push(HX_CSTRING("nmeInvalid")); - outFields->push(HX_CSTRING("nmeFramePeriod")); - outFields->push(HX_CSTRING("nmeFocusOverObjects")); - outFields->push(HX_CSTRING("nmeDragOffsetY")); - outFields->push(HX_CSTRING("nmeDragOffsetX")); - outFields->push(HX_CSTRING("nmeDragObject")); - outFields->push(HX_CSTRING("nmeDragBounds")); - outFields->push(HX_CSTRING("nmeJoyAxisData")); - outFields->push(HX_CSTRING("stageWidth")); - outFields->push(HX_CSTRING("stageHeight")); - outFields->push(HX_CSTRING("stageFocusRect")); - outFields->push(HX_CSTRING("scaleMode")); - outFields->push(HX_CSTRING("quality")); - outFields->push(HX_CSTRING("pauseWhenDeactivated")); - outFields->push(HX_CSTRING("isOpenGL")); - outFields->push(HX_CSTRING("frameRate")); - outFields->push(HX_CSTRING("focus")); - outFields->push(HX_CSTRING("dpiScale")); - outFields->push(HX_CSTRING("displayState")); - outFields->push(HX_CSTRING("align")); - outFields->push(HX_CSTRING("active")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nmeEarlyWakeup"), - HX_CSTRING("OrientationPortrait"), - HX_CSTRING("OrientationPortraitUpsideDown"), - HX_CSTRING("OrientationLandscapeRight"), - HX_CSTRING("OrientationLandscapeLeft"), - HX_CSTRING("OrientationFaceUp"), - HX_CSTRING("OrientationFaceDown"), - HX_CSTRING("efLeftDown"), - HX_CSTRING("efShiftDown"), - HX_CSTRING("efCtrlDown"), - HX_CSTRING("efAltDown"), - HX_CSTRING("efCommandDown"), - HX_CSTRING("efLocationRight"), - HX_CSTRING("efNoNativeClick"), - HX_CSTRING("nmeMouseChanges"), - HX_CSTRING("nmeTouchChanges"), - HX_CSTRING("sClickEvents"), - HX_CSTRING("sDownEvents"), - HX_CSTRING("sUpEvents"), - HX_CSTRING("getOrientation"), - HX_CSTRING("getNormalOrientation"), - HX_CSTRING("setFixedOrientation"), - HX_CSTRING("shouldRotateInterface"), - HX_CSTRING("nme_set_stage_handler"), - HX_CSTRING("nme_render_stage"), - HX_CSTRING("nme_stage_get_focus_id"), - HX_CSTRING("nme_stage_set_focus"), - HX_CSTRING("nme_stage_get_focus_rect"), - HX_CSTRING("nme_stage_set_focus_rect"), - HX_CSTRING("nme_stage_is_opengl"), - HX_CSTRING("nme_stage_get_stage_width"), - HX_CSTRING("nme_stage_get_stage_height"), - HX_CSTRING("nme_stage_get_dpi_scale"), - HX_CSTRING("nme_stage_get_scale_mode"), - HX_CSTRING("nme_stage_set_scale_mode"), - HX_CSTRING("nme_stage_get_align"), - HX_CSTRING("nme_stage_set_align"), - HX_CSTRING("nme_stage_get_quality"), - HX_CSTRING("nme_stage_set_quality"), - HX_CSTRING("nme_stage_get_display_state"), - HX_CSTRING("nme_stage_set_display_state"), - HX_CSTRING("nme_stage_set_next_wake"), - HX_CSTRING("nme_stage_request_render"), - HX_CSTRING("nme_stage_show_cursor"), - HX_CSTRING("nme_stage_set_fixed_orientation"), - HX_CSTRING("nme_stage_get_orientation"), - HX_CSTRING("nme_stage_get_normal_orientation"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetStageWidth"), - HX_CSTRING("nmeGetStageHeight"), - HX_CSTRING("nmeSetStageFocusRect"), - HX_CSTRING("nmeGetStageFocusRect"), - HX_CSTRING("nmeSetScaleMode"), - HX_CSTRING("nmeGetScaleMode"), - HX_CSTRING("nmeSetQuality"), - HX_CSTRING("nmeGetQuality"), - HX_CSTRING("nmeIsOpenGL"), - HX_CSTRING("nmeSetFrameRate"), - HX_CSTRING("nmeSetFocus"), - HX_CSTRING("nmeGetFocus"), - HX_CSTRING("nmeGetDPIScale"), - HX_CSTRING("nmeSetDisplayState"), - HX_CSTRING("nmeGetDisplayState"), - HX_CSTRING("nmeSetAlign"), - HX_CSTRING("nmeGetAlign"), - HX_CSTRING("showCursor"), - HX_CSTRING("nmeUpdateNextWake"), - HX_CSTRING("nmeStopDrag"), - HX_CSTRING("nmeStartDrag"), - HX_CSTRING("nmeSetActive"), - HX_CSTRING("nmeRender"), - HX_CSTRING("nmePollTimers"), - HX_CSTRING("nmeOnTouch"), - HX_CSTRING("nmeOnResize"), - HX_CSTRING("nmeOnMouse"), - HX_CSTRING("nmeOnKey"), - HX_CSTRING("nmeOnJoystick"), - HX_CSTRING("nmeOnFocus"), - HX_CSTRING("nmeOnChange"), - HX_CSTRING("nmeNextFrameDue"), - HX_CSTRING("nmeGetStage"), - HX_CSTRING("nmeDrag"), - HX_CSTRING("nmeProcessStageEvent"), - HX_CSTRING("dummyTrace"), - HX_CSTRING("nmeDoProcessStageEvent"), - HX_CSTRING("nmeCheckRender"), - HX_CSTRING("nmeCheckInOuts"), - HX_CSTRING("nmeCheckFocusInOuts"), - HX_CSTRING("invalidate"), - HX_CSTRING("nmeTouchInfo"), - HX_CSTRING("nmeMouseOverObjects"), - HX_CSTRING("nmeLastRender"), - HX_CSTRING("nmeLastDown"), - HX_CSTRING("nmeLastClickTime"), - HX_CSTRING("nmeInvalid"), - HX_CSTRING("nmeFramePeriod"), - HX_CSTRING("nmeFocusOverObjects"), - HX_CSTRING("nmeDragOffsetY"), - HX_CSTRING("nmeDragOffsetX"), - HX_CSTRING("nmeDragObject"), - HX_CSTRING("nmeDragBounds"), - HX_CSTRING("nmeJoyAxisData"), - HX_CSTRING("stageWidth"), - HX_CSTRING("stageHeight"), - HX_CSTRING("stageFocusRect"), - HX_CSTRING("scaleMode"), - HX_CSTRING("renderRequest"), - HX_CSTRING("quality"), - HX_CSTRING("pauseWhenDeactivated"), - HX_CSTRING("onQuit"), - HX_CSTRING("onKey"), - HX_CSTRING("isOpenGL"), - HX_CSTRING("frameRate"), - HX_CSTRING("focus"), - HX_CSTRING("dpiScale"), - HX_CSTRING("displayState"), - HX_CSTRING("align"), - HX_CSTRING("active"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Stage_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Stage_obj::nmeEarlyWakeup,"nmeEarlyWakeup"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationPortrait,"OrientationPortrait"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationPortraitUpsideDown,"OrientationPortraitUpsideDown"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationLandscapeRight,"OrientationLandscapeRight"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationLandscapeLeft,"OrientationLandscapeLeft"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationFaceUp,"OrientationFaceUp"); - HX_MARK_MEMBER_NAME(Stage_obj::OrientationFaceDown,"OrientationFaceDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efLeftDown,"efLeftDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efShiftDown,"efShiftDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efCtrlDown,"efCtrlDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efAltDown,"efAltDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efCommandDown,"efCommandDown"); - HX_MARK_MEMBER_NAME(Stage_obj::efLocationRight,"efLocationRight"); - HX_MARK_MEMBER_NAME(Stage_obj::efNoNativeClick,"efNoNativeClick"); - HX_MARK_MEMBER_NAME(Stage_obj::nmeMouseChanges,"nmeMouseChanges"); - HX_MARK_MEMBER_NAME(Stage_obj::nmeTouchChanges,"nmeTouchChanges"); - HX_MARK_MEMBER_NAME(Stage_obj::sClickEvents,"sClickEvents"); - HX_MARK_MEMBER_NAME(Stage_obj::sDownEvents,"sDownEvents"); - HX_MARK_MEMBER_NAME(Stage_obj::sUpEvents,"sUpEvents"); - HX_MARK_MEMBER_NAME(Stage_obj::getOrientation,"getOrientation"); - HX_MARK_MEMBER_NAME(Stage_obj::getNormalOrientation,"getNormalOrientation"); - HX_MARK_MEMBER_NAME(Stage_obj::shouldRotateInterface,"shouldRotateInterface"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_set_stage_handler,"nme_set_stage_handler"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_render_stage,"nme_render_stage"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_focus_id,"nme_stage_get_focus_id"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_focus,"nme_stage_set_focus"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_focus_rect,"nme_stage_get_focus_rect"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_focus_rect,"nme_stage_set_focus_rect"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_is_opengl,"nme_stage_is_opengl"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_stage_width,"nme_stage_get_stage_width"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_stage_height,"nme_stage_get_stage_height"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_dpi_scale,"nme_stage_get_dpi_scale"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_scale_mode,"nme_stage_get_scale_mode"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_scale_mode,"nme_stage_set_scale_mode"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_align,"nme_stage_get_align"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_align,"nme_stage_set_align"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_quality,"nme_stage_get_quality"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_quality,"nme_stage_set_quality"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_display_state,"nme_stage_get_display_state"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_display_state,"nme_stage_set_display_state"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_next_wake,"nme_stage_set_next_wake"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_request_render,"nme_stage_request_render"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_show_cursor,"nme_stage_show_cursor"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_set_fixed_orientation,"nme_stage_set_fixed_orientation"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_orientation,"nme_stage_get_orientation"); - HX_MARK_MEMBER_NAME(Stage_obj::nme_stage_get_normal_orientation,"nme_stage_get_normal_orientation"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Stage_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Stage_obj::nmeEarlyWakeup,"nmeEarlyWakeup"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationPortrait,"OrientationPortrait"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationPortraitUpsideDown,"OrientationPortraitUpsideDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationLandscapeRight,"OrientationLandscapeRight"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationLandscapeLeft,"OrientationLandscapeLeft"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationFaceUp,"OrientationFaceUp"); - HX_VISIT_MEMBER_NAME(Stage_obj::OrientationFaceDown,"OrientationFaceDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efLeftDown,"efLeftDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efShiftDown,"efShiftDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efCtrlDown,"efCtrlDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efAltDown,"efAltDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efCommandDown,"efCommandDown"); - HX_VISIT_MEMBER_NAME(Stage_obj::efLocationRight,"efLocationRight"); - HX_VISIT_MEMBER_NAME(Stage_obj::efNoNativeClick,"efNoNativeClick"); - HX_VISIT_MEMBER_NAME(Stage_obj::nmeMouseChanges,"nmeMouseChanges"); - HX_VISIT_MEMBER_NAME(Stage_obj::nmeTouchChanges,"nmeTouchChanges"); - HX_VISIT_MEMBER_NAME(Stage_obj::sClickEvents,"sClickEvents"); - HX_VISIT_MEMBER_NAME(Stage_obj::sDownEvents,"sDownEvents"); - HX_VISIT_MEMBER_NAME(Stage_obj::sUpEvents,"sUpEvents"); - HX_VISIT_MEMBER_NAME(Stage_obj::getOrientation,"getOrientation"); - HX_VISIT_MEMBER_NAME(Stage_obj::getNormalOrientation,"getNormalOrientation"); - HX_VISIT_MEMBER_NAME(Stage_obj::shouldRotateInterface,"shouldRotateInterface"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_set_stage_handler,"nme_set_stage_handler"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_render_stage,"nme_render_stage"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_focus_id,"nme_stage_get_focus_id"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_focus,"nme_stage_set_focus"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_focus_rect,"nme_stage_get_focus_rect"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_focus_rect,"nme_stage_set_focus_rect"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_is_opengl,"nme_stage_is_opengl"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_stage_width,"nme_stage_get_stage_width"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_stage_height,"nme_stage_get_stage_height"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_dpi_scale,"nme_stage_get_dpi_scale"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_scale_mode,"nme_stage_get_scale_mode"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_scale_mode,"nme_stage_set_scale_mode"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_align,"nme_stage_get_align"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_align,"nme_stage_set_align"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_quality,"nme_stage_get_quality"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_quality,"nme_stage_set_quality"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_display_state,"nme_stage_get_display_state"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_display_state,"nme_stage_set_display_state"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_next_wake,"nme_stage_set_next_wake"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_request_render,"nme_stage_request_render"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_show_cursor,"nme_stage_show_cursor"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_set_fixed_orientation,"nme_stage_set_fixed_orientation"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_orientation,"nme_stage_get_orientation"); - HX_VISIT_MEMBER_NAME(Stage_obj::nme_stage_get_normal_orientation,"nme_stage_get_normal_orientation"); -}; - -Class Stage_obj::__mClass; - -void Stage_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.Stage"), hx::TCanCast< Stage_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Stage_obj::__boot() -{ - nmeEarlyWakeup= 0.005; - OrientationPortrait= (int)1; - OrientationPortraitUpsideDown= (int)2; - OrientationLandscapeRight= (int)3; - OrientationLandscapeLeft= (int)4; - OrientationFaceUp= (int)5; - OrientationFaceDown= (int)6; - efLeftDown= (int)1; - efShiftDown= (int)2; - efCtrlDown= (int)4; - efAltDown= (int)8; - efCommandDown= (int)16; - efLocationRight= (int)16384; - efNoNativeClick= (int)65536; - nmeMouseChanges= Array_obj< ::String >::__new().Add(::neash::events::MouseEvent_obj::MOUSE_OUT).Add(::neash::events::MouseEvent_obj::MOUSE_OVER).Add(::neash::events::MouseEvent_obj::ROLL_OUT).Add(::neash::events::MouseEvent_obj::ROLL_OVER); - nmeTouchChanges= Array_obj< ::String >::__new().Add(::neash::events::TouchEvent_obj::TOUCH_OUT).Add(::neash::events::TouchEvent_obj::TOUCH_OVER).Add(::neash::events::TouchEvent_obj::TOUCH_ROLL_OUT).Add(::neash::events::TouchEvent_obj::TOUCH_ROLL_OVER); - sClickEvents= Array_obj< ::String >::__new().Add(HX_CSTRING("click")).Add(HX_CSTRING("middleClick")).Add(HX_CSTRING("rightClick")); - sDownEvents= Array_obj< ::String >::__new().Add(HX_CSTRING("mouseDown")).Add(HX_CSTRING("middleMouseDown")).Add(HX_CSTRING("rightMouseDown")); - sUpEvents= Array_obj< ::String >::__new().Add(HX_CSTRING("mouseUp")).Add(HX_CSTRING("middleMouseUp")).Add(HX_CSTRING("rightMouseUp")); - getOrientation = new __default_getOrientation; - - getNormalOrientation = new __default_getNormalOrientation; - - shouldRotateInterface = new __default_shouldRotateInterface; - - nme_set_stage_handler= ::neash::Loader_obj::load(HX_CSTRING("nme_set_stage_handler"),(int)4); - nme_render_stage= ::neash::Loader_obj::load(HX_CSTRING("nme_render_stage"),(int)1); - nme_stage_get_focus_id= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_focus_id"),(int)1); - nme_stage_set_focus= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_focus"),(int)3); - nme_stage_get_focus_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_focus_rect"),(int)1); - nme_stage_set_focus_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_focus_rect"),(int)2); - nme_stage_is_opengl= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_is_opengl"),(int)1); - nme_stage_get_stage_width= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_stage_width"),(int)1); - nme_stage_get_stage_height= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_stage_height"),(int)1); - nme_stage_get_dpi_scale= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_dpi_scale"),(int)1); - nme_stage_get_scale_mode= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_scale_mode"),(int)1); - nme_stage_set_scale_mode= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_scale_mode"),(int)2); - nme_stage_get_align= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_align"),(int)1); - nme_stage_set_align= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_align"),(int)2); - nme_stage_get_quality= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_quality"),(int)1); - nme_stage_set_quality= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_quality"),(int)2); - nme_stage_get_display_state= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_display_state"),(int)1); - nme_stage_set_display_state= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_display_state"),(int)2); - nme_stage_set_next_wake= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_next_wake"),(int)2); - nme_stage_request_render= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_request_render"),(int)0); - nme_stage_show_cursor= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_show_cursor"),(int)2); - nme_stage_set_fixed_orientation= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_set_fixed_orientation"),(int)1); - nme_stage_get_orientation= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_orientation"),(int)0); - nme_stage_get_normal_orientation= ::neash::Loader_obj::load(HX_CSTRING("nme_stage_get_normal_orientation"),(int)0); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/StageAlign.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/StageAlign.cpp deleted file mode 100644 index beeb7d6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/StageAlign.cpp +++ /dev/null @@ -1,127 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_StageAlign -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::StageAlign StageAlign_obj::BOTTOM; - -::neash::display::StageAlign StageAlign_obj::BOTTOM_LEFT; - -::neash::display::StageAlign StageAlign_obj::BOTTOM_RIGHT; - -::neash::display::StageAlign StageAlign_obj::LEFT; - -::neash::display::StageAlign StageAlign_obj::RIGHT; - -::neash::display::StageAlign StageAlign_obj::TOP; - -::neash::display::StageAlign StageAlign_obj::TOP_LEFT; - -::neash::display::StageAlign StageAlign_obj::TOP_RIGHT; - -HX_DEFINE_CREATE_ENUM(StageAlign_obj) - -int StageAlign_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BOTTOM")) return 7; - if (inName==HX_CSTRING("BOTTOM_LEFT")) return 6; - if (inName==HX_CSTRING("BOTTOM_RIGHT")) return 5; - if (inName==HX_CSTRING("LEFT")) return 4; - if (inName==HX_CSTRING("RIGHT")) return 3; - if (inName==HX_CSTRING("TOP")) return 2; - if (inName==HX_CSTRING("TOP_LEFT")) return 1; - if (inName==HX_CSTRING("TOP_RIGHT")) return 0; - return super::__FindIndex(inName); -} - -int StageAlign_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BOTTOM")) return 0; - if (inName==HX_CSTRING("BOTTOM_LEFT")) return 0; - if (inName==HX_CSTRING("BOTTOM_RIGHT")) return 0; - if (inName==HX_CSTRING("LEFT")) return 0; - if (inName==HX_CSTRING("RIGHT")) return 0; - if (inName==HX_CSTRING("TOP")) return 0; - if (inName==HX_CSTRING("TOP_LEFT")) return 0; - if (inName==HX_CSTRING("TOP_RIGHT")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic StageAlign_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BOTTOM")) return BOTTOM; - if (inName==HX_CSTRING("BOTTOM_LEFT")) return BOTTOM_LEFT; - if (inName==HX_CSTRING("BOTTOM_RIGHT")) return BOTTOM_RIGHT; - if (inName==HX_CSTRING("LEFT")) return LEFT; - if (inName==HX_CSTRING("RIGHT")) return RIGHT; - if (inName==HX_CSTRING("TOP")) return TOP; - if (inName==HX_CSTRING("TOP_LEFT")) return TOP_LEFT; - if (inName==HX_CSTRING("TOP_RIGHT")) return TOP_RIGHT; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("TOP_RIGHT"), - HX_CSTRING("TOP_LEFT"), - HX_CSTRING("TOP"), - HX_CSTRING("RIGHT"), - HX_CSTRING("LEFT"), - HX_CSTRING("BOTTOM_RIGHT"), - HX_CSTRING("BOTTOM_LEFT"), - HX_CSTRING("BOTTOM"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StageAlign_obj::BOTTOM,"BOTTOM"); - HX_MARK_MEMBER_NAME(StageAlign_obj::BOTTOM_LEFT,"BOTTOM_LEFT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::BOTTOM_RIGHT,"BOTTOM_RIGHT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::LEFT,"LEFT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::RIGHT,"RIGHT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::TOP,"TOP"); - HX_MARK_MEMBER_NAME(StageAlign_obj::TOP_LEFT,"TOP_LEFT"); - HX_MARK_MEMBER_NAME(StageAlign_obj::TOP_RIGHT,"TOP_RIGHT"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StageAlign_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::BOTTOM,"BOTTOM"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::BOTTOM_LEFT,"BOTTOM_LEFT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::BOTTOM_RIGHT,"BOTTOM_RIGHT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::LEFT,"LEFT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::RIGHT,"RIGHT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::TOP,"TOP"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::TOP_LEFT,"TOP_LEFT"); - HX_VISIT_MEMBER_NAME(StageAlign_obj::TOP_RIGHT,"TOP_RIGHT"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class StageAlign_obj::__mClass; - -Dynamic __Create_StageAlign_obj() { return new StageAlign_obj; } - -void StageAlign_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.StageAlign"), hx::TCanCast< StageAlign_obj >,sStaticFields,sMemberFields, - &__Create_StageAlign_obj, &__Create, - &super::__SGetClass(), &CreateStageAlign_obj, sMarkStatics, sVisitStatic); -} - -void StageAlign_obj::__boot() -{ -Static(BOTTOM) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("BOTTOM"),7); -Static(BOTTOM_LEFT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("BOTTOM_LEFT"),6); -Static(BOTTOM_RIGHT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("BOTTOM_RIGHT"),5); -Static(LEFT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("LEFT"),4); -Static(RIGHT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("RIGHT"),3); -Static(TOP) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("TOP"),2); -Static(TOP_LEFT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("TOP_LEFT"),1); -Static(TOP_RIGHT) = hx::CreateEnum< StageAlign_obj >(HX_CSTRING("TOP_RIGHT"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/StageDisplayState.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/StageDisplayState.cpp deleted file mode 100644 index e9bf2d1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/StageDisplayState.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_StageDisplayState -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::StageDisplayState StageDisplayState_obj::FULL_SCREEN; - -::neash::display::StageDisplayState StageDisplayState_obj::FULL_SCREEN_INTERACTIVE; - -::neash::display::StageDisplayState StageDisplayState_obj::NORMAL; - -HX_DEFINE_CREATE_ENUM(StageDisplayState_obj) - -int StageDisplayState_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("FULL_SCREEN")) return 1; - if (inName==HX_CSTRING("FULL_SCREEN_INTERACTIVE")) return 2; - if (inName==HX_CSTRING("NORMAL")) return 0; - return super::__FindIndex(inName); -} - -int StageDisplayState_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("FULL_SCREEN")) return 0; - if (inName==HX_CSTRING("FULL_SCREEN_INTERACTIVE")) return 0; - if (inName==HX_CSTRING("NORMAL")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic StageDisplayState_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("FULL_SCREEN")) return FULL_SCREEN; - if (inName==HX_CSTRING("FULL_SCREEN_INTERACTIVE")) return FULL_SCREEN_INTERACTIVE; - if (inName==HX_CSTRING("NORMAL")) return NORMAL; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("NORMAL"), - HX_CSTRING("FULL_SCREEN"), - HX_CSTRING("FULL_SCREEN_INTERACTIVE"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StageDisplayState_obj::FULL_SCREEN,"FULL_SCREEN"); - HX_MARK_MEMBER_NAME(StageDisplayState_obj::FULL_SCREEN_INTERACTIVE,"FULL_SCREEN_INTERACTIVE"); - HX_MARK_MEMBER_NAME(StageDisplayState_obj::NORMAL,"NORMAL"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StageDisplayState_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(StageDisplayState_obj::FULL_SCREEN,"FULL_SCREEN"); - HX_VISIT_MEMBER_NAME(StageDisplayState_obj::FULL_SCREEN_INTERACTIVE,"FULL_SCREEN_INTERACTIVE"); - HX_VISIT_MEMBER_NAME(StageDisplayState_obj::NORMAL,"NORMAL"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class StageDisplayState_obj::__mClass; - -Dynamic __Create_StageDisplayState_obj() { return new StageDisplayState_obj; } - -void StageDisplayState_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.StageDisplayState"), hx::TCanCast< StageDisplayState_obj >,sStaticFields,sMemberFields, - &__Create_StageDisplayState_obj, &__Create, - &super::__SGetClass(), &CreateStageDisplayState_obj, sMarkStatics, sVisitStatic); -} - -void StageDisplayState_obj::__boot() -{ -Static(FULL_SCREEN) = hx::CreateEnum< StageDisplayState_obj >(HX_CSTRING("FULL_SCREEN"),1); -Static(FULL_SCREEN_INTERACTIVE) = hx::CreateEnum< StageDisplayState_obj >(HX_CSTRING("FULL_SCREEN_INTERACTIVE"),2); -Static(NORMAL) = hx::CreateEnum< StageDisplayState_obj >(HX_CSTRING("NORMAL"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/StageQuality.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/StageQuality.cpp deleted file mode 100644 index 571faa4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/StageQuality.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_StageQuality -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::StageQuality StageQuality_obj::BEST; - -::neash::display::StageQuality StageQuality_obj::HIGH; - -::neash::display::StageQuality StageQuality_obj::LOW; - -::neash::display::StageQuality StageQuality_obj::MEDIUM; - -HX_DEFINE_CREATE_ENUM(StageQuality_obj) - -int StageQuality_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BEST")) return 3; - if (inName==HX_CSTRING("HIGH")) return 2; - if (inName==HX_CSTRING("LOW")) return 0; - if (inName==HX_CSTRING("MEDIUM")) return 1; - return super::__FindIndex(inName); -} - -int StageQuality_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BEST")) return 0; - if (inName==HX_CSTRING("HIGH")) return 0; - if (inName==HX_CSTRING("LOW")) return 0; - if (inName==HX_CSTRING("MEDIUM")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic StageQuality_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BEST")) return BEST; - if (inName==HX_CSTRING("HIGH")) return HIGH; - if (inName==HX_CSTRING("LOW")) return LOW; - if (inName==HX_CSTRING("MEDIUM")) return MEDIUM; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("LOW"), - HX_CSTRING("MEDIUM"), - HX_CSTRING("HIGH"), - HX_CSTRING("BEST"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StageQuality_obj::BEST,"BEST"); - HX_MARK_MEMBER_NAME(StageQuality_obj::HIGH,"HIGH"); - HX_MARK_MEMBER_NAME(StageQuality_obj::LOW,"LOW"); - HX_MARK_MEMBER_NAME(StageQuality_obj::MEDIUM,"MEDIUM"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StageQuality_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(StageQuality_obj::BEST,"BEST"); - HX_VISIT_MEMBER_NAME(StageQuality_obj::HIGH,"HIGH"); - HX_VISIT_MEMBER_NAME(StageQuality_obj::LOW,"LOW"); - HX_VISIT_MEMBER_NAME(StageQuality_obj::MEDIUM,"MEDIUM"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class StageQuality_obj::__mClass; - -Dynamic __Create_StageQuality_obj() { return new StageQuality_obj; } - -void StageQuality_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.StageQuality"), hx::TCanCast< StageQuality_obj >,sStaticFields,sMemberFields, - &__Create_StageQuality_obj, &__Create, - &super::__SGetClass(), &CreateStageQuality_obj, sMarkStatics, sVisitStatic); -} - -void StageQuality_obj::__boot() -{ -Static(BEST) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("BEST"),3); -Static(HIGH) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("HIGH"),2); -Static(LOW) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("LOW"),0); -Static(MEDIUM) = hx::CreateEnum< StageQuality_obj >(HX_CSTRING("MEDIUM"),1); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/StageScaleMode.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/StageScaleMode.cpp deleted file mode 100644 index 4021d57..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/StageScaleMode.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_StageScaleMode -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::StageScaleMode StageScaleMode_obj::EXACT_FIT; - -::neash::display::StageScaleMode StageScaleMode_obj::NO_BORDER; - -::neash::display::StageScaleMode StageScaleMode_obj::NO_SCALE; - -::neash::display::StageScaleMode StageScaleMode_obj::SHOW_ALL; - -HX_DEFINE_CREATE_ENUM(StageScaleMode_obj) - -int StageScaleMode_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("EXACT_FIT")) return 3; - if (inName==HX_CSTRING("NO_BORDER")) return 2; - if (inName==HX_CSTRING("NO_SCALE")) return 1; - if (inName==HX_CSTRING("SHOW_ALL")) return 0; - return super::__FindIndex(inName); -} - -int StageScaleMode_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("EXACT_FIT")) return 0; - if (inName==HX_CSTRING("NO_BORDER")) return 0; - if (inName==HX_CSTRING("NO_SCALE")) return 0; - if (inName==HX_CSTRING("SHOW_ALL")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic StageScaleMode_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("EXACT_FIT")) return EXACT_FIT; - if (inName==HX_CSTRING("NO_BORDER")) return NO_BORDER; - if (inName==HX_CSTRING("NO_SCALE")) return NO_SCALE; - if (inName==HX_CSTRING("SHOW_ALL")) return SHOW_ALL; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("SHOW_ALL"), - HX_CSTRING("NO_SCALE"), - HX_CSTRING("NO_BORDER"), - HX_CSTRING("EXACT_FIT"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(StageScaleMode_obj::EXACT_FIT,"EXACT_FIT"); - HX_MARK_MEMBER_NAME(StageScaleMode_obj::NO_BORDER,"NO_BORDER"); - HX_MARK_MEMBER_NAME(StageScaleMode_obj::NO_SCALE,"NO_SCALE"); - HX_MARK_MEMBER_NAME(StageScaleMode_obj::SHOW_ALL,"SHOW_ALL"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::EXACT_FIT,"EXACT_FIT"); - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::NO_BORDER,"NO_BORDER"); - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::NO_SCALE,"NO_SCALE"); - HX_VISIT_MEMBER_NAME(StageScaleMode_obj::SHOW_ALL,"SHOW_ALL"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class StageScaleMode_obj::__mClass; - -Dynamic __Create_StageScaleMode_obj() { return new StageScaleMode_obj; } - -void StageScaleMode_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.StageScaleMode"), hx::TCanCast< StageScaleMode_obj >,sStaticFields,sMemberFields, - &__Create_StageScaleMode_obj, &__Create, - &super::__SGetClass(), &CreateStageScaleMode_obj, sMarkStatics, sVisitStatic); -} - -void StageScaleMode_obj::__boot() -{ -Static(EXACT_FIT) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("EXACT_FIT"),3); -Static(NO_BORDER) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("NO_BORDER"),2); -Static(NO_SCALE) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("NO_SCALE"),1); -Static(SHOW_ALL) = hx::CreateEnum< StageScaleMode_obj >(HX_CSTRING("SHOW_ALL"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/Tilesheet.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/Tilesheet.cpp deleted file mode 100644 index e8e5486..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/Tilesheet.cpp +++ /dev/null @@ -1,269 +0,0 @@ -#include - -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_Graphics -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_Tilesheet -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -namespace neash{ -namespace display{ - -Void Tilesheet_obj::__construct(::neash::display::BitmapData inImage) -{ -HX_STACK_PUSH("Tilesheet::new","neash/display/Tilesheet.hx",27); -{ - HX_STACK_LINE(28) - this->nmeBitmap = inImage; - HX_STACK_LINE(29) - this->nmeHandle = ::neash::display::Tilesheet_obj::nme_tilesheet_create(inImage->nmeHandle); -} -; - return null(); -} - -Tilesheet_obj::~Tilesheet_obj() { } - -Dynamic Tilesheet_obj::__CreateEmpty() { return new Tilesheet_obj; } -hx::ObjectPtr< Tilesheet_obj > Tilesheet_obj::__new(::neash::display::BitmapData inImage) -{ hx::ObjectPtr< Tilesheet_obj > result = new Tilesheet_obj(); - result->__construct(inImage); - return result;} - -Dynamic Tilesheet_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Tilesheet_obj > result = new Tilesheet_obj(); - result->__construct(inArgs[0]); - return result;} - -Void Tilesheet_obj::drawTiles( ::neash::display::Graphics graphics,Array< Float > tileData,hx::Null< bool > __o_smooth,hx::Null< int > __o_flags){ -bool smooth = __o_smooth.Default(false); -int flags = __o_flags.Default(0); - HX_STACK_PUSH("Tilesheet::drawTiles","neash/display/Tilesheet.hx",59); - HX_STACK_THIS(this); - HX_STACK_ARG(graphics,"graphics"); - HX_STACK_ARG(tileData,"tileData"); - HX_STACK_ARG(smooth,"smooth"); - HX_STACK_ARG(flags,"flags"); -{ - HX_STACK_LINE(59) - graphics->drawTiles(hx::ObjectPtr(this),tileData,smooth,flags); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC4(Tilesheet_obj,drawTiles,(void)) - -Void Tilesheet_obj::addTileRect( ::neash::geom::Rectangle rectangle,::neash::geom::Point centerPoint){ -{ - HX_STACK_PUSH("Tilesheet::addTileRect","neash/display/Tilesheet.hx",34); - HX_STACK_THIS(this); - HX_STACK_ARG(rectangle,"rectangle"); - HX_STACK_ARG(centerPoint,"centerPoint"); - HX_STACK_LINE(34) - ::neash::display::Tilesheet_obj::nme_tilesheet_add_rect(this->nmeHandle,rectangle,centerPoint); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Tilesheet_obj,addTileRect,(void)) - -int Tilesheet_obj::TILE_SCALE; - -int Tilesheet_obj::TILE_ROTATION; - -int Tilesheet_obj::TILE_RGB; - -int Tilesheet_obj::TILE_ALPHA; - -int Tilesheet_obj::TILE_TRANS_2x2; - -int Tilesheet_obj::TILE_BLEND_NORMAL; - -int Tilesheet_obj::TILE_BLEND_ADD; - -Dynamic Tilesheet_obj::nme_tilesheet_create; - -Dynamic Tilesheet_obj::nme_tilesheet_add_rect; - - -Tilesheet_obj::Tilesheet_obj() -{ -} - -void Tilesheet_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Tilesheet); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(nmeBitmap,"nmeBitmap"); - HX_MARK_END_CLASS(); -} - -void Tilesheet_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(nmeBitmap,"nmeBitmap"); -} - -Dynamic Tilesheet_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"TILE_RGB") ) { return TILE_RGB; } - break; - case 9: - if (HX_FIELD_EQ(inName,"drawTiles") ) { return drawTiles_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - if (HX_FIELD_EQ(inName,"nmeBitmap") ) { return nmeBitmap; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TILE_SCALE") ) { return TILE_SCALE; } - if (HX_FIELD_EQ(inName,"TILE_ALPHA") ) { return TILE_ALPHA; } - break; - case 11: - if (HX_FIELD_EQ(inName,"addTileRect") ) { return addTileRect_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"TILE_ROTATION") ) { return TILE_ROTATION; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TILE_TRANS_2x2") ) { return TILE_TRANS_2x2; } - if (HX_FIELD_EQ(inName,"TILE_BLEND_ADD") ) { return TILE_BLEND_ADD; } - break; - case 17: - if (HX_FIELD_EQ(inName,"TILE_BLEND_NORMAL") ) { return TILE_BLEND_NORMAL; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_tilesheet_create") ) { return nme_tilesheet_create; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_tilesheet_add_rect") ) { return nme_tilesheet_add_rect; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Tilesheet_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"TILE_RGB") ) { TILE_RGB=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeBitmap") ) { nmeBitmap=inValue.Cast< ::neash::display::BitmapData >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TILE_SCALE") ) { TILE_SCALE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TILE_ALPHA") ) { TILE_ALPHA=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"TILE_ROTATION") ) { TILE_ROTATION=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TILE_TRANS_2x2") ) { TILE_TRANS_2x2=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"TILE_BLEND_ADD") ) { TILE_BLEND_ADD=inValue.Cast< int >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"TILE_BLEND_NORMAL") ) { TILE_BLEND_NORMAL=inValue.Cast< int >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_tilesheet_create") ) { nme_tilesheet_create=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_tilesheet_add_rect") ) { nme_tilesheet_add_rect=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Tilesheet_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("nmeBitmap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("TILE_SCALE"), - HX_CSTRING("TILE_ROTATION"), - HX_CSTRING("TILE_RGB"), - HX_CSTRING("TILE_ALPHA"), - HX_CSTRING("TILE_TRANS_2x2"), - HX_CSTRING("TILE_BLEND_NORMAL"), - HX_CSTRING("TILE_BLEND_ADD"), - HX_CSTRING("nme_tilesheet_create"), - HX_CSTRING("nme_tilesheet_add_rect"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("drawTiles"), - HX_CSTRING("addTileRect"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("nmeBitmap"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Tilesheet_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_SCALE,"TILE_SCALE"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_ROTATION,"TILE_ROTATION"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_RGB,"TILE_RGB"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_ALPHA,"TILE_ALPHA"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_TRANS_2x2,"TILE_TRANS_2x2"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_BLEND_NORMAL,"TILE_BLEND_NORMAL"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::TILE_BLEND_ADD,"TILE_BLEND_ADD"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::nme_tilesheet_create,"nme_tilesheet_create"); - HX_MARK_MEMBER_NAME(Tilesheet_obj::nme_tilesheet_add_rect,"nme_tilesheet_add_rect"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Tilesheet_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_SCALE,"TILE_SCALE"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_ROTATION,"TILE_ROTATION"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_RGB,"TILE_RGB"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_ALPHA,"TILE_ALPHA"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_TRANS_2x2,"TILE_TRANS_2x2"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_BLEND_NORMAL,"TILE_BLEND_NORMAL"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::TILE_BLEND_ADD,"TILE_BLEND_ADD"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::nme_tilesheet_create,"nme_tilesheet_create"); - HX_VISIT_MEMBER_NAME(Tilesheet_obj::nme_tilesheet_add_rect,"nme_tilesheet_add_rect"); -}; - -Class Tilesheet_obj::__mClass; - -void Tilesheet_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.Tilesheet"), hx::TCanCast< Tilesheet_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Tilesheet_obj::__boot() -{ - TILE_SCALE= (int)1; - TILE_ROTATION= (int)2; - TILE_RGB= (int)4; - TILE_ALPHA= (int)8; - TILE_TRANS_2x2= (int)16; - TILE_BLEND_NORMAL= (int)0; - TILE_BLEND_ADD= (int)65536; - nme_tilesheet_create= ::neash::Loader_obj::load(HX_CSTRING("nme_tilesheet_create"),(int)1); - nme_tilesheet_add_rect= ::neash::Loader_obj::load(HX_CSTRING("nme_tilesheet_add_rect"),(int)3); -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/TouchInfo.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/TouchInfo.cpp deleted file mode 100644 index 86a4616..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/TouchInfo.cpp +++ /dev/null @@ -1,118 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_TouchInfo -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace display{ - -Void TouchInfo_obj::__construct() -{ -HX_STACK_PUSH("TouchInfo::new","neash/display/Stage.hx",926); -{ - HX_STACK_LINE(926) - this->touchOverObjects = Array_obj< ::neash::display::InteractiveObject >::__new(); -} -; - return null(); -} - -TouchInfo_obj::~TouchInfo_obj() { } - -Dynamic TouchInfo_obj::__CreateEmpty() { return new TouchInfo_obj; } -hx::ObjectPtr< TouchInfo_obj > TouchInfo_obj::__new() -{ hx::ObjectPtr< TouchInfo_obj > result = new TouchInfo_obj(); - result->__construct(); - return result;} - -Dynamic TouchInfo_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TouchInfo_obj > result = new TouchInfo_obj(); - result->__construct(); - return result;} - - -TouchInfo_obj::TouchInfo_obj() -{ -} - -void TouchInfo_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TouchInfo); - HX_MARK_MEMBER_NAME(touchOverObjects,"touchOverObjects"); - HX_MARK_END_CLASS(); -} - -void TouchInfo_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(touchOverObjects,"touchOverObjects"); -} - -Dynamic TouchInfo_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 16: - if (HX_FIELD_EQ(inName,"touchOverObjects") ) { return touchOverObjects; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TouchInfo_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 16: - if (HX_FIELD_EQ(inName,"touchOverObjects") ) { touchOverObjects=inValue.Cast< Array< ::neash::display::InteractiveObject > >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void TouchInfo_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("touchOverObjects")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("touchOverObjects"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TouchInfo_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TouchInfo_obj::__mClass,"__mClass"); -}; - -Class TouchInfo_obj::__mClass; - -void TouchInfo_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.TouchInfo"), hx::TCanCast< TouchInfo_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TouchInfo_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/TriangleCulling.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/TriangleCulling.cpp deleted file mode 100644 index 2548403..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/display/TriangleCulling.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_TriangleCulling -#include -#endif -namespace neash{ -namespace display{ - -::neash::display::TriangleCulling TriangleCulling_obj::NEGATIVE; - -::neash::display::TriangleCulling TriangleCulling_obj::NONE; - -::neash::display::TriangleCulling TriangleCulling_obj::POSITIVE; - -HX_DEFINE_CREATE_ENUM(TriangleCulling_obj) - -int TriangleCulling_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("NEGATIVE")) return 2; - if (inName==HX_CSTRING("NONE")) return 1; - if (inName==HX_CSTRING("POSITIVE")) return 0; - return super::__FindIndex(inName); -} - -int TriangleCulling_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("NEGATIVE")) return 0; - if (inName==HX_CSTRING("NONE")) return 0; - if (inName==HX_CSTRING("POSITIVE")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic TriangleCulling_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("NEGATIVE")) return NEGATIVE; - if (inName==HX_CSTRING("NONE")) return NONE; - if (inName==HX_CSTRING("POSITIVE")) return POSITIVE; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("POSITIVE"), - HX_CSTRING("NONE"), - HX_CSTRING("NEGATIVE"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TriangleCulling_obj::NEGATIVE,"NEGATIVE"); - HX_MARK_MEMBER_NAME(TriangleCulling_obj::NONE,"NONE"); - HX_MARK_MEMBER_NAME(TriangleCulling_obj::POSITIVE,"POSITIVE"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TriangleCulling_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(TriangleCulling_obj::NEGATIVE,"NEGATIVE"); - HX_VISIT_MEMBER_NAME(TriangleCulling_obj::NONE,"NONE"); - HX_VISIT_MEMBER_NAME(TriangleCulling_obj::POSITIVE,"POSITIVE"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class TriangleCulling_obj::__mClass; - -Dynamic __Create_TriangleCulling_obj() { return new TriangleCulling_obj; } - -void TriangleCulling_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.display.TriangleCulling"), hx::TCanCast< TriangleCulling_obj >,sStaticFields,sMemberFields, - &__Create_TriangleCulling_obj, &__Create, - &super::__SGetClass(), &CreateTriangleCulling_obj, sMarkStatics, sVisitStatic); -} - -void TriangleCulling_obj::__boot() -{ -Static(NEGATIVE) = hx::CreateEnum< TriangleCulling_obj >(HX_CSTRING("NEGATIVE"),2); -Static(NONE) = hx::CreateEnum< TriangleCulling_obj >(HX_CSTRING("NONE"),1); -Static(POSITIVE) = hx::CreateEnum< TriangleCulling_obj >(HX_CSTRING("POSITIVE"),0); -} - - -} // end namespace neash -} // end namespace display diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/errors/ArgumentError.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/errors/ArgumentError.cpp deleted file mode 100644 index b14fcc2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/errors/ArgumentError.cpp +++ /dev/null @@ -1,96 +0,0 @@ -#include - -#ifndef INCLUDED_neash_errors_ArgumentError -#include -#endif -#ifndef INCLUDED_neash_errors_Error -#include -#endif -namespace neash{ -namespace errors{ - -Void ArgumentError_obj::__construct(Dynamic inMessage,Dynamic id) -{ -HX_STACK_PUSH("ArgumentError::new","neash/errors/ArgumentError.hx",4); -{ - HX_STACK_LINE(4) - super::__construct(inMessage,id); -} -; - return null(); -} - -ArgumentError_obj::~ArgumentError_obj() { } - -Dynamic ArgumentError_obj::__CreateEmpty() { return new ArgumentError_obj; } -hx::ObjectPtr< ArgumentError_obj > ArgumentError_obj::__new(Dynamic inMessage,Dynamic id) -{ hx::ObjectPtr< ArgumentError_obj > result = new ArgumentError_obj(); - result->__construct(inMessage,id); - return result;} - -Dynamic ArgumentError_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ArgumentError_obj > result = new ArgumentError_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - - -ArgumentError_obj::ArgumentError_obj() -{ -} - -void ArgumentError_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ArgumentError); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ArgumentError_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ArgumentError_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic ArgumentError_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void ArgumentError_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ArgumentError_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ArgumentError_obj::__mClass,"__mClass"); -}; - -Class ArgumentError_obj::__mClass; - -void ArgumentError_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.errors.ArgumentError"), hx::TCanCast< ArgumentError_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ArgumentError_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace errors diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/errors/EOFError.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/errors/EOFError.cpp deleted file mode 100644 index 0789c0c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/errors/EOFError.cpp +++ /dev/null @@ -1,96 +0,0 @@ -#include - -#ifndef INCLUDED_neash_errors_EOFError -#include -#endif -#ifndef INCLUDED_neash_errors_Error -#include -#endif -namespace neash{ -namespace errors{ - -Void EOFError_obj::__construct() -{ -HX_STACK_PUSH("EOFError::new","neash/errors/EOFError.hx",8); -{ - HX_STACK_LINE(8) - super::__construct(HX_CSTRING("End of file was encountered"),(int)2030); -} -; - return null(); -} - -EOFError_obj::~EOFError_obj() { } - -Dynamic EOFError_obj::__CreateEmpty() { return new EOFError_obj; } -hx::ObjectPtr< EOFError_obj > EOFError_obj::__new() -{ hx::ObjectPtr< EOFError_obj > result = new EOFError_obj(); - result->__construct(); - return result;} - -Dynamic EOFError_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< EOFError_obj > result = new EOFError_obj(); - result->__construct(); - return result;} - - -EOFError_obj::EOFError_obj() -{ -} - -void EOFError_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(EOFError); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void EOFError_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic EOFError_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic EOFError_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void EOFError_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(EOFError_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(EOFError_obj::__mClass,"__mClass"); -}; - -Class EOFError_obj::__mClass; - -void EOFError_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.errors.EOFError"), hx::TCanCast< EOFError_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void EOFError_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace errors diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/errors/Error.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/errors/Error.cpp deleted file mode 100644 index 2e4b578..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/errors/Error.cpp +++ /dev/null @@ -1,150 +0,0 @@ -#include - -#ifndef INCLUDED_neash_errors_Error -#include -#endif -namespace neash{ -namespace errors{ - -Void Error_obj::__construct(Dynamic inMessage,Dynamic __o_id) -{ -HX_STACK_PUSH("Error::new","neash/errors/Error.hx",12); -Dynamic id = __o_id.Default(0); -{ - HX_STACK_LINE(13) - this->message = inMessage; - HX_STACK_LINE(14) - this->errorID = id; -} -; - return null(); -} - -Error_obj::~Error_obj() { } - -Dynamic Error_obj::__CreateEmpty() { return new Error_obj; } -hx::ObjectPtr< Error_obj > Error_obj::__new(Dynamic inMessage,Dynamic __o_id) -{ hx::ObjectPtr< Error_obj > result = new Error_obj(); - result->__construct(inMessage,__o_id); - return result;} - -Dynamic Error_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Error_obj > result = new Error_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::String Error_obj::toString( ){ - HX_STACK_PUSH("Error::toString","neash/errors/Error.hx",25); - HX_STACK_THIS(this); - HX_STACK_LINE(25) - return this->message; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Error_obj,toString,return ) - -::String Error_obj::getStackTrace( ){ - HX_STACK_PUSH("Error::getStackTrace","neash/errors/Error.hx",19); - HX_STACK_THIS(this); - HX_STACK_LINE(19) - return HX_CSTRING(""); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Error_obj,getStackTrace,return ) - - -Error_obj::Error_obj() -{ -} - -void Error_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Error); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_MEMBER_NAME(message,"message"); - HX_MARK_MEMBER_NAME(errorID,"errorID"); - HX_MARK_END_CLASS(); -} - -void Error_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(name,"name"); - HX_VISIT_MEMBER_NAME(message,"message"); - HX_VISIT_MEMBER_NAME(errorID,"errorID"); -} - -Dynamic Error_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 7: - if (HX_FIELD_EQ(inName,"message") ) { return message; } - if (HX_FIELD_EQ(inName,"errorID") ) { return errorID; } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"getStackTrace") ) { return getStackTrace_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Error_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< Dynamic >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"message") ) { message=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"errorID") ) { errorID=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Error_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("name")); - outFields->push(HX_CSTRING("message")); - outFields->push(HX_CSTRING("errorID")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("getStackTrace"), - HX_CSTRING("name"), - HX_CSTRING("message"), - HX_CSTRING("errorID"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Error_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Error_obj::__mClass,"__mClass"); -}; - -Class Error_obj::__mClass; - -void Error_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.errors.Error"), hx::TCanCast< Error_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Error_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace errors diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/errors/RangeError.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/errors/RangeError.cpp deleted file mode 100644 index ffe0838..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/errors/RangeError.cpp +++ /dev/null @@ -1,97 +0,0 @@ -#include - -#ifndef INCLUDED_neash_errors_Error -#include -#endif -#ifndef INCLUDED_neash_errors_RangeError -#include -#endif -namespace neash{ -namespace errors{ - -Void RangeError_obj::__construct(::String __o_inMessage) -{ -HX_STACK_PUSH("RangeError::new","neash/errors/RangeError.hx",8); -::String inMessage = __o_inMessage.Default(HX_CSTRING("")); -{ - HX_STACK_LINE(8) - super::__construct(inMessage,(int)0); -} -; - return null(); -} - -RangeError_obj::~RangeError_obj() { } - -Dynamic RangeError_obj::__CreateEmpty() { return new RangeError_obj; } -hx::ObjectPtr< RangeError_obj > RangeError_obj::__new(::String __o_inMessage) -{ hx::ObjectPtr< RangeError_obj > result = new RangeError_obj(); - result->__construct(__o_inMessage); - return result;} - -Dynamic RangeError_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< RangeError_obj > result = new RangeError_obj(); - result->__construct(inArgs[0]); - return result;} - - -RangeError_obj::RangeError_obj() -{ -} - -void RangeError_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(RangeError); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void RangeError_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic RangeError_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic RangeError_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void RangeError_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(RangeError_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(RangeError_obj::__mClass,"__mClass"); -}; - -Class RangeError_obj::__mClass; - -void RangeError_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.errors.RangeError"), hx::TCanCast< RangeError_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void RangeError_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace errors diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/ErrorEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/ErrorEvent.cpp deleted file mode 100644 index c431cd1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/ErrorEvent.cpp +++ /dev/null @@ -1,144 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_TextEvent -#include -#endif -namespace neash{ -namespace events{ - -Void ErrorEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id) -{ -HX_STACK_PUSH("ErrorEvent::new","neash/events/ErrorEvent.hx",11); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -::String text = __o_text.Default(HX_CSTRING("")); -int id = __o_id.Default(0); -{ - HX_STACK_LINE(12) - super::__construct(type,bubbles,cancelable,text); - HX_STACK_LINE(13) - this->errorID = id; -} -; - return null(); -} - -ErrorEvent_obj::~ErrorEvent_obj() { } - -Dynamic ErrorEvent_obj::__CreateEmpty() { return new ErrorEvent_obj; } -hx::ObjectPtr< ErrorEvent_obj > ErrorEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id) -{ hx::ObjectPtr< ErrorEvent_obj > result = new ErrorEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_text,__o_id); - return result;} - -Dynamic ErrorEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ErrorEvent_obj > result = new ErrorEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4]); - return result;} - -::String ErrorEvent_obj::toString( ){ - HX_STACK_PUSH("ErrorEvent::toString","neash/events/ErrorEvent.hx",24); - HX_STACK_THIS(this); - HX_STACK_LINE(24) - return ((((((((((HX_CSTRING("[ErrorEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" text=")) + this->text) + HX_CSTRING(" errorID=")) + this->errorID) + HX_CSTRING("]")); -} - - -::neash::events::Event ErrorEvent_obj::clone( ){ - HX_STACK_PUSH("ErrorEvent::clone","neash/events/ErrorEvent.hx",18); - HX_STACK_THIS(this); - HX_STACK_LINE(18) - return ::neash::events::ErrorEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->text,this->errorID); -} - - - -ErrorEvent_obj::ErrorEvent_obj() -{ -} - -void ErrorEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ErrorEvent); - HX_MARK_MEMBER_NAME(errorID,"errorID"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ErrorEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(errorID,"errorID"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ErrorEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"errorID") ) { return errorID; } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ErrorEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"errorID") ) { errorID=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ErrorEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("errorID")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("errorID"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ErrorEvent_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ErrorEvent_obj::__mClass,"__mClass"); -}; - -Class ErrorEvent_obj::__mClass; - -void ErrorEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.ErrorEvent"), hx::TCanCast< ErrorEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ErrorEvent_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/Event.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/Event.cpp deleted file mode 100644 index ad7071e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/Event.cpp +++ /dev/null @@ -1,665 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventPhase -#include -#endif -namespace neash{ -namespace events{ - -Void Event_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable) -{ -HX_STACK_PUSH("Event::new","neash/events/Event.hx",51); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -{ - HX_STACK_LINE(52) - this->_type = type; - HX_STACK_LINE(53) - this->_bubbles = bubbles; - HX_STACK_LINE(54) - this->_cancelable = cancelable; - HX_STACK_LINE(55) - this->nmeIsCancelled = false; - HX_STACK_LINE(56) - this->nmeIsCancelledNow = false; - HX_STACK_LINE(57) - this->_target = null(); - HX_STACK_LINE(58) - this->_currentTarget = null(); - HX_STACK_LINE(59) - this->_eventPhase = ::neash::events::EventPhase_obj::AT_TARGET; -} -; - return null(); -} - -Event_obj::~Event_obj() { } - -Dynamic Event_obj::__CreateEmpty() { return new Event_obj; } -hx::ObjectPtr< Event_obj > Event_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable) -{ hx::ObjectPtr< Event_obj > result = new Event_obj(); - result->__construct(type,__o_bubbles,__o_cancelable); - return result;} - -Dynamic Event_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Event_obj > result = new Event_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -::String Event_obj::nmeGetType( ){ - HX_STACK_PUSH("Event::nmeGetType","neash/events/Event.hx",120); - HX_STACK_THIS(this); - HX_STACK_LINE(120) - return this->_type; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetType,return ) - -Dynamic Event_obj::nmeSetTarget( Dynamic v){ - HX_STACK_PUSH("Event::nmeSetTarget","neash/events/Event.hx",119); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(119) - this->_target = v; - HX_STACK_LINE(119) - return v; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Event_obj,nmeSetTarget,return ) - -Dynamic Event_obj::nmeGetTarget( ){ - HX_STACK_PUSH("Event::nmeGetTarget","neash/events/Event.hx",118); - HX_STACK_THIS(this); - HX_STACK_LINE(118) - return this->_target; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetTarget,return ) - -int Event_obj::nmeGetEventPhase( ){ - HX_STACK_PUSH("Event::nmeGetEventPhase","neash/events/Event.hx",117); - HX_STACK_THIS(this); - HX_STACK_LINE(117) - return this->_eventPhase; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetEventPhase,return ) - -Dynamic Event_obj::nmeSetCurrentTarget( Dynamic v){ - HX_STACK_PUSH("Event::nmeSetCurrentTarget","neash/events/Event.hx",116); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(116) - this->_currentTarget = v; - HX_STACK_LINE(116) - return v; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Event_obj,nmeSetCurrentTarget,return ) - -Dynamic Event_obj::nmeGetCurrentTarget( ){ - HX_STACK_PUSH("Event::nmeGetCurrentTarget","neash/events/Event.hx",115); - HX_STACK_THIS(this); - HX_STACK_LINE(115) - return this->_currentTarget; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetCurrentTarget,return ) - -bool Event_obj::nmeGetCancelable( ){ - HX_STACK_PUSH("Event::nmeGetCancelable","neash/events/Event.hx",114); - HX_STACK_THIS(this); - HX_STACK_LINE(114) - return this->_cancelable; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetCancelable,return ) - -bool Event_obj::nmeGetBubbles( ){ - HX_STACK_PUSH("Event::nmeGetBubbles","neash/events/Event.hx",113); - HX_STACK_THIS(this); - HX_STACK_LINE(113) - return this->_bubbles; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetBubbles,return ) - -::String Event_obj::toString( ){ - HX_STACK_PUSH("Event::toString","neash/events/Event.hx",103); - HX_STACK_THIS(this); - HX_STACK_LINE(103) - return ((((((HX_CSTRING("[Event type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING("]")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,toString,return ) - -Void Event_obj::stopPropagation( ){ -{ - HX_STACK_PUSH("Event::stopPropagation","neash/events/Event.hx",96); - HX_STACK_THIS(this); - HX_STACK_LINE(96) - if ((this->nmeGetCancelable())){ - HX_STACK_LINE(98) - this->nmeIsCancelled = true; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,stopPropagation,(void)) - -Void Event_obj::stopImmediatePropagation( ){ -{ - HX_STACK_PUSH("Event::stopImmediatePropagation","neash/events/Event.hx",89); - HX_STACK_THIS(this); - HX_STACK_LINE(89) - if ((this->nmeGetCancelable())){ - HX_STACK_LINE(91) - this->nmeIsCancelledNow = this->nmeIsCancelled = true; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,stopImmediatePropagation,(void)) - -Void Event_obj::nmeSetPhase( int inPhase){ -{ - HX_STACK_PUSH("Event::nmeSetPhase","neash/events/Event.hx",82); - HX_STACK_THIS(this); - HX_STACK_ARG(inPhase,"inPhase"); - HX_STACK_LINE(82) - this->_eventPhase = inPhase; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Event_obj,nmeSetPhase,(void)) - -bool Event_obj::nmeGetIsCancelledNow( ){ - HX_STACK_PUSH("Event::nmeGetIsCancelledNow","neash/events/Event.hx",76); - HX_STACK_THIS(this); - HX_STACK_LINE(76) - return this->nmeIsCancelledNow; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetIsCancelledNow,return ) - -bool Event_obj::nmeGetIsCancelled( ){ - HX_STACK_PUSH("Event::nmeGetIsCancelled","neash/events/Event.hx",70); - HX_STACK_THIS(this); - HX_STACK_LINE(70) - return this->nmeIsCancelled; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,nmeGetIsCancelled,return ) - -::neash::events::Event Event_obj::clone( ){ - HX_STACK_PUSH("Event::clone","neash/events/Event.hx",64); - HX_STACK_THIS(this); - HX_STACK_LINE(64) - return ::neash::events::Event_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable()); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Event_obj,clone,return ) - -::String Event_obj::ACTIVATE; - -::String Event_obj::ADDED; - -::String Event_obj::ADDED_TO_STAGE; - -::String Event_obj::CANCEL; - -::String Event_obj::CHANGE; - -::String Event_obj::CLOSE; - -::String Event_obj::COMPLETE; - -::String Event_obj::CONNECT; - -::String Event_obj::DEACTIVATE; - -::String Event_obj::ENTER_FRAME; - -::String Event_obj::ID3; - -::String Event_obj::INIT; - -::String Event_obj::MOUSE_LEAVE; - -::String Event_obj::OPEN; - -::String Event_obj::REMOVED; - -::String Event_obj::REMOVED_FROM_STAGE; - -::String Event_obj::RENDER; - -::String Event_obj::RESIZE; - -::String Event_obj::SCROLL; - -::String Event_obj::SELECT; - -::String Event_obj::SOUND_COMPLETE; - -::String Event_obj::TAB_CHILDREN_CHANGE; - -::String Event_obj::TAB_ENABLED_CHANGE; - -::String Event_obj::TAB_INDEX_CHANGE; - -::String Event_obj::UNLOAD; - - -Event_obj::Event_obj() -{ -} - -void Event_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Event); - HX_MARK_MEMBER_NAME(nmeIsCancelledNow,"nmeIsCancelledNow"); - HX_MARK_MEMBER_NAME(nmeIsCancelled,"nmeIsCancelled"); - HX_MARK_MEMBER_NAME(_type,"_type"); - HX_MARK_MEMBER_NAME(_target,"_target"); - HX_MARK_MEMBER_NAME(_eventPhase,"_eventPhase"); - HX_MARK_MEMBER_NAME(_currentTarget,"_currentTarget"); - HX_MARK_MEMBER_NAME(_cancelable,"_cancelable"); - HX_MARK_MEMBER_NAME(_bubbles,"_bubbles"); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_MEMBER_NAME(target,"target"); - HX_MARK_MEMBER_NAME(eventPhase,"eventPhase"); - HX_MARK_MEMBER_NAME(currentTarget,"currentTarget"); - HX_MARK_MEMBER_NAME(cancelable,"cancelable"); - HX_MARK_MEMBER_NAME(bubbles,"bubbles"); - HX_MARK_END_CLASS(); -} - -void Event_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeIsCancelledNow,"nmeIsCancelledNow"); - HX_VISIT_MEMBER_NAME(nmeIsCancelled,"nmeIsCancelled"); - HX_VISIT_MEMBER_NAME(_type,"_type"); - HX_VISIT_MEMBER_NAME(_target,"_target"); - HX_VISIT_MEMBER_NAME(_eventPhase,"_eventPhase"); - HX_VISIT_MEMBER_NAME(_currentTarget,"_currentTarget"); - HX_VISIT_MEMBER_NAME(_cancelable,"_cancelable"); - HX_VISIT_MEMBER_NAME(_bubbles,"_bubbles"); - HX_VISIT_MEMBER_NAME(type,"type"); - HX_VISIT_MEMBER_NAME(target,"target"); - HX_VISIT_MEMBER_NAME(eventPhase,"eventPhase"); - HX_VISIT_MEMBER_NAME(currentTarget,"currentTarget"); - HX_VISIT_MEMBER_NAME(cancelable,"cancelable"); - HX_VISIT_MEMBER_NAME(bubbles,"bubbles"); -} - -Dynamic Event_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"ID3") ) { return ID3; } - break; - case 4: - if (HX_FIELD_EQ(inName,"INIT") ) { return INIT; } - if (HX_FIELD_EQ(inName,"OPEN") ) { return OPEN; } - if (HX_FIELD_EQ(inName,"type") ) { return inCallProp ? nmeGetType() : type; } - break; - case 5: - if (HX_FIELD_EQ(inName,"ADDED") ) { return ADDED; } - if (HX_FIELD_EQ(inName,"CLOSE") ) { return CLOSE; } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - if (HX_FIELD_EQ(inName,"_type") ) { return _type; } - break; - case 6: - if (HX_FIELD_EQ(inName,"CANCEL") ) { return CANCEL; } - if (HX_FIELD_EQ(inName,"CHANGE") ) { return CHANGE; } - if (HX_FIELD_EQ(inName,"RENDER") ) { return RENDER; } - if (HX_FIELD_EQ(inName,"RESIZE") ) { return RESIZE; } - if (HX_FIELD_EQ(inName,"SCROLL") ) { return SCROLL; } - if (HX_FIELD_EQ(inName,"SELECT") ) { return SELECT; } - if (HX_FIELD_EQ(inName,"UNLOAD") ) { return UNLOAD; } - if (HX_FIELD_EQ(inName,"target") ) { return inCallProp ? nmeGetTarget() : target; } - break; - case 7: - if (HX_FIELD_EQ(inName,"CONNECT") ) { return CONNECT; } - if (HX_FIELD_EQ(inName,"REMOVED") ) { return REMOVED; } - if (HX_FIELD_EQ(inName,"_target") ) { return _target; } - if (HX_FIELD_EQ(inName,"bubbles") ) { return inCallProp ? nmeGetBubbles() : bubbles; } - break; - case 8: - if (HX_FIELD_EQ(inName,"ACTIVATE") ) { return ACTIVATE; } - if (HX_FIELD_EQ(inName,"COMPLETE") ) { return COMPLETE; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"_bubbles") ) { return _bubbles; } - break; - case 10: - if (HX_FIELD_EQ(inName,"DEACTIVATE") ) { return DEACTIVATE; } - if (HX_FIELD_EQ(inName,"nmeGetType") ) { return nmeGetType_dyn(); } - if (HX_FIELD_EQ(inName,"eventPhase") ) { return inCallProp ? nmeGetEventPhase() : eventPhase; } - if (HX_FIELD_EQ(inName,"cancelable") ) { return inCallProp ? nmeGetCancelable() : cancelable; } - break; - case 11: - if (HX_FIELD_EQ(inName,"ENTER_FRAME") ) { return ENTER_FRAME; } - if (HX_FIELD_EQ(inName,"MOUSE_LEAVE") ) { return MOUSE_LEAVE; } - if (HX_FIELD_EQ(inName,"nmeSetPhase") ) { return nmeSetPhase_dyn(); } - if (HX_FIELD_EQ(inName,"_eventPhase") ) { return _eventPhase; } - if (HX_FIELD_EQ(inName,"_cancelable") ) { return _cancelable; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeSetTarget") ) { return nmeSetTarget_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTarget") ) { return nmeGetTarget_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"nmeGetBubbles") ) { return nmeGetBubbles_dyn(); } - if (HX_FIELD_EQ(inName,"currentTarget") ) { return inCallProp ? nmeGetCurrentTarget() : currentTarget; } - break; - case 14: - if (HX_FIELD_EQ(inName,"ADDED_TO_STAGE") ) { return ADDED_TO_STAGE; } - if (HX_FIELD_EQ(inName,"SOUND_COMPLETE") ) { return SOUND_COMPLETE; } - if (HX_FIELD_EQ(inName,"nmeIsCancelled") ) { return nmeIsCancelled; } - if (HX_FIELD_EQ(inName,"_currentTarget") ) { return _currentTarget; } - break; - case 15: - if (HX_FIELD_EQ(inName,"stopPropagation") ) { return stopPropagation_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"TAB_INDEX_CHANGE") ) { return TAB_INDEX_CHANGE; } - if (HX_FIELD_EQ(inName,"nmeGetEventPhase") ) { return nmeGetEventPhase_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetCancelable") ) { return nmeGetCancelable_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeGetIsCancelled") ) { return nmeGetIsCancelled_dyn(); } - if (HX_FIELD_EQ(inName,"nmeIsCancelledNow") ) { return nmeIsCancelledNow; } - break; - case 18: - if (HX_FIELD_EQ(inName,"REMOVED_FROM_STAGE") ) { return REMOVED_FROM_STAGE; } - if (HX_FIELD_EQ(inName,"TAB_ENABLED_CHANGE") ) { return TAB_ENABLED_CHANGE; } - break; - case 19: - if (HX_FIELD_EQ(inName,"TAB_CHILDREN_CHANGE") ) { return TAB_CHILDREN_CHANGE; } - if (HX_FIELD_EQ(inName,"nmeSetCurrentTarget") ) { return nmeSetCurrentTarget_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetCurrentTarget") ) { return nmeGetCurrentTarget_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeGetIsCancelledNow") ) { return nmeGetIsCancelledNow_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"stopImmediatePropagation") ) { return stopImmediatePropagation_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Event_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"ID3") ) { ID3=inValue.Cast< ::String >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"INIT") ) { INIT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"OPEN") ) { OPEN=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"ADDED") ) { ADDED=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"CLOSE") ) { CLOSE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_type") ) { _type=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"CANCEL") ) { CANCEL=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"CHANGE") ) { CHANGE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"RENDER") ) { RENDER=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"RESIZE") ) { RESIZE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"SCROLL") ) { SCROLL=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"SELECT") ) { SELECT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"UNLOAD") ) { UNLOAD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"target") ) { if (inCallProp) return nmeSetTarget(inValue);target=inValue.Cast< Dynamic >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"CONNECT") ) { CONNECT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"REMOVED") ) { REMOVED=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_target") ) { _target=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"bubbles") ) { bubbles=inValue.Cast< bool >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"ACTIVATE") ) { ACTIVATE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"COMPLETE") ) { COMPLETE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_bubbles") ) { _bubbles=inValue.Cast< bool >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"DEACTIVATE") ) { DEACTIVATE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"eventPhase") ) { eventPhase=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"cancelable") ) { cancelable=inValue.Cast< bool >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"ENTER_FRAME") ) { ENTER_FRAME=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MOUSE_LEAVE") ) { MOUSE_LEAVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"_eventPhase") ) { _eventPhase=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"_cancelable") ) { _cancelable=inValue.Cast< bool >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"currentTarget") ) { if (inCallProp) return nmeSetCurrentTarget(inValue);currentTarget=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"ADDED_TO_STAGE") ) { ADDED_TO_STAGE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"SOUND_COMPLETE") ) { SOUND_COMPLETE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeIsCancelled") ) { nmeIsCancelled=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"_currentTarget") ) { _currentTarget=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"TAB_INDEX_CHANGE") ) { TAB_INDEX_CHANGE=inValue.Cast< ::String >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeIsCancelledNow") ) { nmeIsCancelledNow=inValue.Cast< bool >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"REMOVED_FROM_STAGE") ) { REMOVED_FROM_STAGE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TAB_ENABLED_CHANGE") ) { TAB_ENABLED_CHANGE=inValue.Cast< ::String >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"TAB_CHILDREN_CHANGE") ) { TAB_CHILDREN_CHANGE=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Event_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeIsCancelledNow")); - outFields->push(HX_CSTRING("nmeIsCancelled")); - outFields->push(HX_CSTRING("_type")); - outFields->push(HX_CSTRING("_target")); - outFields->push(HX_CSTRING("_eventPhase")); - outFields->push(HX_CSTRING("_currentTarget")); - outFields->push(HX_CSTRING("_cancelable")); - outFields->push(HX_CSTRING("_bubbles")); - outFields->push(HX_CSTRING("type")); - outFields->push(HX_CSTRING("target")); - outFields->push(HX_CSTRING("eventPhase")); - outFields->push(HX_CSTRING("currentTarget")); - outFields->push(HX_CSTRING("cancelable")); - outFields->push(HX_CSTRING("bubbles")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("ACTIVATE"), - HX_CSTRING("ADDED"), - HX_CSTRING("ADDED_TO_STAGE"), - HX_CSTRING("CANCEL"), - HX_CSTRING("CHANGE"), - HX_CSTRING("CLOSE"), - HX_CSTRING("COMPLETE"), - HX_CSTRING("CONNECT"), - HX_CSTRING("DEACTIVATE"), - HX_CSTRING("ENTER_FRAME"), - HX_CSTRING("ID3"), - HX_CSTRING("INIT"), - HX_CSTRING("MOUSE_LEAVE"), - HX_CSTRING("OPEN"), - HX_CSTRING("REMOVED"), - HX_CSTRING("REMOVED_FROM_STAGE"), - HX_CSTRING("RENDER"), - HX_CSTRING("RESIZE"), - HX_CSTRING("SCROLL"), - HX_CSTRING("SELECT"), - HX_CSTRING("SOUND_COMPLETE"), - HX_CSTRING("TAB_CHILDREN_CHANGE"), - HX_CSTRING("TAB_ENABLED_CHANGE"), - HX_CSTRING("TAB_INDEX_CHANGE"), - HX_CSTRING("UNLOAD"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetType"), - HX_CSTRING("nmeSetTarget"), - HX_CSTRING("nmeGetTarget"), - HX_CSTRING("nmeGetEventPhase"), - HX_CSTRING("nmeSetCurrentTarget"), - HX_CSTRING("nmeGetCurrentTarget"), - HX_CSTRING("nmeGetCancelable"), - HX_CSTRING("nmeGetBubbles"), - HX_CSTRING("toString"), - HX_CSTRING("stopPropagation"), - HX_CSTRING("stopImmediatePropagation"), - HX_CSTRING("nmeSetPhase"), - HX_CSTRING("nmeGetIsCancelledNow"), - HX_CSTRING("nmeGetIsCancelled"), - HX_CSTRING("clone"), - HX_CSTRING("nmeIsCancelledNow"), - HX_CSTRING("nmeIsCancelled"), - HX_CSTRING("_type"), - HX_CSTRING("_target"), - HX_CSTRING("_eventPhase"), - HX_CSTRING("_currentTarget"), - HX_CSTRING("_cancelable"), - HX_CSTRING("_bubbles"), - HX_CSTRING("type"), - HX_CSTRING("target"), - HX_CSTRING("eventPhase"), - HX_CSTRING("currentTarget"), - HX_CSTRING("cancelable"), - HX_CSTRING("bubbles"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Event_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Event_obj::ACTIVATE,"ACTIVATE"); - HX_MARK_MEMBER_NAME(Event_obj::ADDED,"ADDED"); - HX_MARK_MEMBER_NAME(Event_obj::ADDED_TO_STAGE,"ADDED_TO_STAGE"); - HX_MARK_MEMBER_NAME(Event_obj::CANCEL,"CANCEL"); - HX_MARK_MEMBER_NAME(Event_obj::CHANGE,"CHANGE"); - HX_MARK_MEMBER_NAME(Event_obj::CLOSE,"CLOSE"); - HX_MARK_MEMBER_NAME(Event_obj::COMPLETE,"COMPLETE"); - HX_MARK_MEMBER_NAME(Event_obj::CONNECT,"CONNECT"); - HX_MARK_MEMBER_NAME(Event_obj::DEACTIVATE,"DEACTIVATE"); - HX_MARK_MEMBER_NAME(Event_obj::ENTER_FRAME,"ENTER_FRAME"); - HX_MARK_MEMBER_NAME(Event_obj::ID3,"ID3"); - HX_MARK_MEMBER_NAME(Event_obj::INIT,"INIT"); - HX_MARK_MEMBER_NAME(Event_obj::MOUSE_LEAVE,"MOUSE_LEAVE"); - HX_MARK_MEMBER_NAME(Event_obj::OPEN,"OPEN"); - HX_MARK_MEMBER_NAME(Event_obj::REMOVED,"REMOVED"); - HX_MARK_MEMBER_NAME(Event_obj::REMOVED_FROM_STAGE,"REMOVED_FROM_STAGE"); - HX_MARK_MEMBER_NAME(Event_obj::RENDER,"RENDER"); - HX_MARK_MEMBER_NAME(Event_obj::RESIZE,"RESIZE"); - HX_MARK_MEMBER_NAME(Event_obj::SCROLL,"SCROLL"); - HX_MARK_MEMBER_NAME(Event_obj::SELECT,"SELECT"); - HX_MARK_MEMBER_NAME(Event_obj::SOUND_COMPLETE,"SOUND_COMPLETE"); - HX_MARK_MEMBER_NAME(Event_obj::TAB_CHILDREN_CHANGE,"TAB_CHILDREN_CHANGE"); - HX_MARK_MEMBER_NAME(Event_obj::TAB_ENABLED_CHANGE,"TAB_ENABLED_CHANGE"); - HX_MARK_MEMBER_NAME(Event_obj::TAB_INDEX_CHANGE,"TAB_INDEX_CHANGE"); - HX_MARK_MEMBER_NAME(Event_obj::UNLOAD,"UNLOAD"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Event_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Event_obj::ACTIVATE,"ACTIVATE"); - HX_VISIT_MEMBER_NAME(Event_obj::ADDED,"ADDED"); - HX_VISIT_MEMBER_NAME(Event_obj::ADDED_TO_STAGE,"ADDED_TO_STAGE"); - HX_VISIT_MEMBER_NAME(Event_obj::CANCEL,"CANCEL"); - HX_VISIT_MEMBER_NAME(Event_obj::CHANGE,"CHANGE"); - HX_VISIT_MEMBER_NAME(Event_obj::CLOSE,"CLOSE"); - HX_VISIT_MEMBER_NAME(Event_obj::COMPLETE,"COMPLETE"); - HX_VISIT_MEMBER_NAME(Event_obj::CONNECT,"CONNECT"); - HX_VISIT_MEMBER_NAME(Event_obj::DEACTIVATE,"DEACTIVATE"); - HX_VISIT_MEMBER_NAME(Event_obj::ENTER_FRAME,"ENTER_FRAME"); - HX_VISIT_MEMBER_NAME(Event_obj::ID3,"ID3"); - HX_VISIT_MEMBER_NAME(Event_obj::INIT,"INIT"); - HX_VISIT_MEMBER_NAME(Event_obj::MOUSE_LEAVE,"MOUSE_LEAVE"); - HX_VISIT_MEMBER_NAME(Event_obj::OPEN,"OPEN"); - HX_VISIT_MEMBER_NAME(Event_obj::REMOVED,"REMOVED"); - HX_VISIT_MEMBER_NAME(Event_obj::REMOVED_FROM_STAGE,"REMOVED_FROM_STAGE"); - HX_VISIT_MEMBER_NAME(Event_obj::RENDER,"RENDER"); - HX_VISIT_MEMBER_NAME(Event_obj::RESIZE,"RESIZE"); - HX_VISIT_MEMBER_NAME(Event_obj::SCROLL,"SCROLL"); - HX_VISIT_MEMBER_NAME(Event_obj::SELECT,"SELECT"); - HX_VISIT_MEMBER_NAME(Event_obj::SOUND_COMPLETE,"SOUND_COMPLETE"); - HX_VISIT_MEMBER_NAME(Event_obj::TAB_CHILDREN_CHANGE,"TAB_CHILDREN_CHANGE"); - HX_VISIT_MEMBER_NAME(Event_obj::TAB_ENABLED_CHANGE,"TAB_ENABLED_CHANGE"); - HX_VISIT_MEMBER_NAME(Event_obj::TAB_INDEX_CHANGE,"TAB_INDEX_CHANGE"); - HX_VISIT_MEMBER_NAME(Event_obj::UNLOAD,"UNLOAD"); -}; - -Class Event_obj::__mClass; - -void Event_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.Event"), hx::TCanCast< Event_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Event_obj::__boot() -{ - ACTIVATE= HX_CSTRING("activate"); - ADDED= HX_CSTRING("added"); - ADDED_TO_STAGE= HX_CSTRING("addedToStage"); - CANCEL= HX_CSTRING("cancel"); - CHANGE= HX_CSTRING("change"); - CLOSE= HX_CSTRING("close"); - COMPLETE= HX_CSTRING("complete"); - CONNECT= HX_CSTRING("connect"); - DEACTIVATE= HX_CSTRING("deactivate"); - ENTER_FRAME= HX_CSTRING("enterFrame"); - ID3= HX_CSTRING("id3"); - INIT= HX_CSTRING("init"); - MOUSE_LEAVE= HX_CSTRING("mouseLeave"); - OPEN= HX_CSTRING("open"); - REMOVED= HX_CSTRING("removed"); - REMOVED_FROM_STAGE= HX_CSTRING("removedFromStage"); - RENDER= HX_CSTRING("render"); - RESIZE= HX_CSTRING("resize"); - SCROLL= HX_CSTRING("scroll"); - SELECT= HX_CSTRING("select"); - SOUND_COMPLETE= HX_CSTRING("soundComplete"); - TAB_CHILDREN_CHANGE= HX_CSTRING("tabChildrenChange"); - TAB_ENABLED_CHANGE= HX_CSTRING("tabEnabledChange"); - TAB_INDEX_CHANGE= HX_CSTRING("tabIndexChange"); - UNLOAD= HX_CSTRING("unload"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/EventDispatcher.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/EventDispatcher.cpp deleted file mode 100644 index f04782f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/EventDispatcher.cpp +++ /dev/null @@ -1,419 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_neash_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_EventPhase -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IOErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_Listener -#include -#endif -#ifndef INCLUDED_neash_events_TextEvent -#include -#endif -#ifndef INCLUDED_neash_utils_WeakRef -#include -#endif -namespace neash{ -namespace events{ - -Void EventDispatcher_obj::__construct(::neash::events::IEventDispatcher target) -{ -HX_STACK_PUSH("EventDispatcher::new","neash/events/EventDispatcher.hx",17); -{ - HX_STACK_LINE(18) - this->nmeTarget = ( (((target == null()))) ? ::neash::events::IEventDispatcher(hx::ObjectPtr(this)) : ::neash::events::IEventDispatcher(target) ); - HX_STACK_LINE(19) - this->nmeEventMap = null(); -} -; - return null(); -} - -EventDispatcher_obj::~EventDispatcher_obj() { } - -Dynamic EventDispatcher_obj::__CreateEmpty() { return new EventDispatcher_obj; } -hx::ObjectPtr< EventDispatcher_obj > EventDispatcher_obj::__new(::neash::events::IEventDispatcher target) -{ hx::ObjectPtr< EventDispatcher_obj > result = new EventDispatcher_obj(); - result->__construct(target); - return result;} - -Dynamic EventDispatcher_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< EventDispatcher_obj > result = new EventDispatcher_obj(); - result->__construct(inArgs[0]); - return result;} - -hx::Object *EventDispatcher_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::neash::events::IEventDispatcher_obj)) return operator ::neash::events::IEventDispatcher_obj *(); - return super::__ToInterface(inType); -} - -bool EventDispatcher_obj::willTrigger( ::String type){ - HX_STACK_PUSH("EventDispatcher::willTrigger","neash/events/EventDispatcher.hx",151); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_LINE(152) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(153) - return false; - } - HX_STACK_LINE(154) - return this->nmeEventMap->exists(type); -} - - -HX_DEFINE_DYNAMIC_FUNC1(EventDispatcher_obj,willTrigger,return ) - -::String EventDispatcher_obj::toString( ){ - HX_STACK_PUSH("EventDispatcher::toString","neash/events/EventDispatcher.hx",145); - HX_STACK_THIS(this); - HX_STACK_LINE(145) - return ((HX_CSTRING("[object ") + ::Type_obj::getClassName(::Type_obj::getClass(hx::ObjectPtr(this)))) + HX_CSTRING("]")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EventDispatcher_obj,toString,return ) - -Void EventDispatcher_obj::removeEventListener( ::String type,Dynamic listener,hx::Null< bool > __o_capture){ -bool capture = __o_capture.Default(false); - HX_STACK_PUSH("EventDispatcher::removeEventListener","neash/events/EventDispatcher.hx",121); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(listener,"listener"); - HX_STACK_ARG(capture,"capture"); -{ - HX_STACK_LINE(122) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(123) - return null(); - } - HX_STACK_LINE(125) - if ((!(this->nmeEventMap->exists(type)))){ - HX_STACK_LINE(125) - return null(); - } - HX_STACK_LINE(127) - Array< ::neash::utils::WeakRef > list = this->nmeEventMap->get(type); HX_STACK_VAR(list,"list"); - HX_STACK_LINE(128) - { - HX_STACK_LINE(128) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = list->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(128) - while(((_g1 < _g))){ - HX_STACK_LINE(128) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(130) - if (((list->__get(i) != null()))){ - HX_STACK_LINE(132) - ::neash::events::Listener li = list->__get(i)->get(); HX_STACK_VAR(li,"li"); - HX_STACK_LINE(133) - if ((li->Is(listener,capture))){ - HX_STACK_LINE(136) - list[i] = null(); - HX_STACK_LINE(137) - return null(); - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(EventDispatcher_obj,removeEventListener,(void)) - -bool EventDispatcher_obj::hasEventListener( ::String type){ - HX_STACK_PUSH("EventDispatcher::hasEventListener","neash/events/EventDispatcher.hx",107); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_LINE(108) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(109) - return false; - } - HX_STACK_LINE(110) - Array< ::neash::utils::WeakRef > h = this->nmeEventMap->get(type); HX_STACK_VAR(h,"h"); - HX_STACK_LINE(111) - if (((h != null()))){ - HX_STACK_LINE(112) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(112) - while(((_g < h->length))){ - HX_STACK_LINE(112) - ::neash::utils::WeakRef item = h->__get(_g); HX_STACK_VAR(item,"item"); - HX_STACK_LINE(112) - ++(_g); - HX_STACK_LINE(113) - if (((item != null()))){ - HX_STACK_LINE(113) - return true; - } - } - } - HX_STACK_LINE(116) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(EventDispatcher_obj,hasEventListener,return ) - -Void EventDispatcher_obj::DispatchIOErrorEvent( ){ -{ - HX_STACK_PUSH("EventDispatcher::DispatchIOErrorEvent","neash/events/EventDispatcher.hx",100); - HX_STACK_THIS(this); - HX_STACK_LINE(101) - ::neash::events::IOErrorEvent evt = ::neash::events::IOErrorEvent_obj::__new(::neash::events::IOErrorEvent_obj::IO_ERROR,null(),null(),null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(102) - this->dispatchEvent(evt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EventDispatcher_obj,DispatchIOErrorEvent,(void)) - -bool EventDispatcher_obj::dispatchEvent( ::neash::events::Event event){ - HX_STACK_PUSH("EventDispatcher::dispatchEvent","neash/events/EventDispatcher.hx",51); - HX_STACK_THIS(this); - HX_STACK_ARG(event,"event"); - HX_STACK_LINE(52) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(53) - return false; - } - HX_STACK_LINE(54) - if (((event->nmeGetTarget() == null()))){ - HX_STACK_LINE(55) - event->nmeSetTarget(this->nmeTarget); - } - HX_STACK_LINE(57) - if (((event->nmeGetCurrentTarget() == null()))){ - HX_STACK_LINE(58) - event->nmeSetCurrentTarget(this->nmeTarget); - } - HX_STACK_LINE(60) - Array< ::neash::utils::WeakRef > list = this->nmeEventMap->get(event->nmeGetType()); HX_STACK_VAR(list,"list"); - HX_STACK_LINE(61) - bool capture = (event->nmeGetEventPhase() == ::neash::events::EventPhase_obj::CAPTURING_PHASE); HX_STACK_VAR(capture,"capture"); - HX_STACK_LINE(63) - if (((list != null()))){ - HX_STACK_LINE(65) - int idx = (int)0; HX_STACK_VAR(idx,"idx"); - HX_STACK_LINE(66) - while(((idx < list->length))){ - HX_STACK_LINE(68) - ::neash::utils::WeakRef list_item = list->__get(idx); HX_STACK_VAR(list_item,"list_item"); - HX_STACK_LINE(69) - ::neash::events::Listener listener = ( (((list_item != null()))) ? ::neash::events::Listener(list_item->get()) : ::neash::events::Listener(null()) ); HX_STACK_VAR(listener,"listener"); - HX_STACK_LINE(71) - if (((listener == null()))){ - HX_STACK_LINE(72) - list->splice(idx,(int)1); - } - else{ - HX_STACK_LINE(78) - if (((listener->mUseCapture == capture))){ - HX_STACK_LINE(80) - listener->dispatchEvent(event); - HX_STACK_LINE(81) - if ((event->nmeGetIsCancelledNow())){ - HX_STACK_LINE(82) - return true; - } - } - HX_STACK_LINE(84) - (idx)++; - } - } - HX_STACK_LINE(88) - return true; - } - HX_STACK_LINE(91) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC1(EventDispatcher_obj,dispatchEvent,return ) - -Void EventDispatcher_obj::DispatchCompleteEvent( ){ -{ - HX_STACK_PUSH("EventDispatcher::DispatchCompleteEvent","neash/events/EventDispatcher.hx",44); - HX_STACK_THIS(this); - HX_STACK_LINE(45) - ::neash::events::Event evt = ::neash::events::Event_obj::__new(::neash::events::Event_obj::COMPLETE,null(),null()); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(46) - this->dispatchEvent(evt); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(EventDispatcher_obj,DispatchCompleteEvent,(void)) - -Void EventDispatcher_obj::addEventListener( ::String type,Dynamic listener,hx::Null< bool > __o_useCapture,hx::Null< int > __o_priority,hx::Null< bool > __o_useWeakReference){ -bool useCapture = __o_useCapture.Default(false); -int priority = __o_priority.Default(0); -bool useWeakReference = __o_useWeakReference.Default(false); - HX_STACK_PUSH("EventDispatcher::addEventListener","neash/events/EventDispatcher.hx",24); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(listener,"listener"); - HX_STACK_ARG(useCapture,"useCapture"); - HX_STACK_ARG(priority,"priority"); - HX_STACK_ARG(useWeakReference,"useWeakReference"); -{ - HX_STACK_LINE(25) - if (((this->nmeEventMap == null()))){ - HX_STACK_LINE(26) - this->nmeEventMap = ::Hash_obj::__new(); - } - HX_STACK_LINE(27) - Array< ::neash::utils::WeakRef > list = this->nmeEventMap->get(type); HX_STACK_VAR(list,"list"); - HX_STACK_LINE(28) - if (((list == null()))){ - HX_STACK_LINE(30) - list = Array_obj< ::neash::utils::WeakRef >::__new(); - HX_STACK_LINE(31) - this->nmeEventMap->set(type,list); - } - HX_STACK_LINE(34) - ::neash::events::Listener l = ::neash::events::Listener_obj::__new(listener,useCapture,priority); HX_STACK_VAR(l,"l"); - HX_STACK_LINE(35) - list->push(::neash::utils::WeakRef_obj::__new(l,useWeakReference)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(EventDispatcher_obj,addEventListener,(void)) - - -EventDispatcher_obj::EventDispatcher_obj() -{ -} - -void EventDispatcher_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(EventDispatcher); - HX_MARK_MEMBER_NAME(nmeTarget,"nmeTarget"); - HX_MARK_MEMBER_NAME(nmeEventMap,"nmeEventMap"); - HX_MARK_END_CLASS(); -} - -void EventDispatcher_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeTarget,"nmeTarget"); - HX_VISIT_MEMBER_NAME(nmeEventMap,"nmeEventMap"); -} - -Dynamic EventDispatcher_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeTarget") ) { return nmeTarget; } - break; - case 11: - if (HX_FIELD_EQ(inName,"willTrigger") ) { return willTrigger_dyn(); } - if (HX_FIELD_EQ(inName,"nmeEventMap") ) { return nmeEventMap; } - break; - case 13: - if (HX_FIELD_EQ(inName,"dispatchEvent") ) { return dispatchEvent_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"hasEventListener") ) { return hasEventListener_dyn(); } - if (HX_FIELD_EQ(inName,"addEventListener") ) { return addEventListener_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"removeEventListener") ) { return removeEventListener_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"DispatchIOErrorEvent") ) { return DispatchIOErrorEvent_dyn(); } - break; - case 21: - if (HX_FIELD_EQ(inName,"DispatchCompleteEvent") ) { return DispatchCompleteEvent_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic EventDispatcher_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"nmeTarget") ) { nmeTarget=inValue.Cast< ::neash::events::IEventDispatcher >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeEventMap") ) { nmeEventMap=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void EventDispatcher_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeTarget")); - outFields->push(HX_CSTRING("nmeEventMap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("willTrigger"), - HX_CSTRING("toString"), - HX_CSTRING("removeEventListener"), - HX_CSTRING("hasEventListener"), - HX_CSTRING("DispatchIOErrorEvent"), - HX_CSTRING("dispatchEvent"), - HX_CSTRING("DispatchCompleteEvent"), - HX_CSTRING("addEventListener"), - HX_CSTRING("nmeTarget"), - HX_CSTRING("nmeEventMap"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(EventDispatcher_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(EventDispatcher_obj::__mClass,"__mClass"); -}; - -Class EventDispatcher_obj::__mClass; - -void EventDispatcher_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.EventDispatcher"), hx::TCanCast< EventDispatcher_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void EventDispatcher_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/EventPhase.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/EventPhase.cpp deleted file mode 100644 index 396cb87..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/EventPhase.cpp +++ /dev/null @@ -1,123 +0,0 @@ -#include - -#ifndef INCLUDED_neash_events_EventPhase -#include -#endif -namespace neash{ -namespace events{ - -Void EventPhase_obj::__construct() -{ - return null(); -} - -EventPhase_obj::~EventPhase_obj() { } - -Dynamic EventPhase_obj::__CreateEmpty() { return new EventPhase_obj; } -hx::ObjectPtr< EventPhase_obj > EventPhase_obj::__new() -{ hx::ObjectPtr< EventPhase_obj > result = new EventPhase_obj(); - result->__construct(); - return result;} - -Dynamic EventPhase_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< EventPhase_obj > result = new EventPhase_obj(); - result->__construct(); - return result;} - -int EventPhase_obj::CAPTURING_PHASE; - -int EventPhase_obj::AT_TARGET; - -int EventPhase_obj::BUBBLING_PHASE; - - -EventPhase_obj::EventPhase_obj() -{ -} - -void EventPhase_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(EventPhase); - HX_MARK_END_CLASS(); -} - -void EventPhase_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic EventPhase_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"AT_TARGET") ) { return AT_TARGET; } - break; - case 14: - if (HX_FIELD_EQ(inName,"BUBBLING_PHASE") ) { return BUBBLING_PHASE; } - break; - case 15: - if (HX_FIELD_EQ(inName,"CAPTURING_PHASE") ) { return CAPTURING_PHASE; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic EventPhase_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"AT_TARGET") ) { AT_TARGET=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"BUBBLING_PHASE") ) { BUBBLING_PHASE=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"CAPTURING_PHASE") ) { CAPTURING_PHASE=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void EventPhase_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("CAPTURING_PHASE"), - HX_CSTRING("AT_TARGET"), - HX_CSTRING("BUBBLING_PHASE"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(EventPhase_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(EventPhase_obj::CAPTURING_PHASE,"CAPTURING_PHASE"); - HX_MARK_MEMBER_NAME(EventPhase_obj::AT_TARGET,"AT_TARGET"); - HX_MARK_MEMBER_NAME(EventPhase_obj::BUBBLING_PHASE,"BUBBLING_PHASE"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(EventPhase_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(EventPhase_obj::CAPTURING_PHASE,"CAPTURING_PHASE"); - HX_VISIT_MEMBER_NAME(EventPhase_obj::AT_TARGET,"AT_TARGET"); - HX_VISIT_MEMBER_NAME(EventPhase_obj::BUBBLING_PHASE,"BUBBLING_PHASE"); -}; - -Class EventPhase_obj::__mClass; - -void EventPhase_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.EventPhase"), hx::TCanCast< EventPhase_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void EventPhase_obj::__boot() -{ - CAPTURING_PHASE= (int)0; - AT_TARGET= (int)1; - BUBBLING_PHASE= (int)2; -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/FocusEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/FocusEvent.cpp deleted file mode 100644 index fe200e0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/FocusEvent.cpp +++ /dev/null @@ -1,223 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_FocusEvent -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace events{ - -Void FocusEvent_obj::__construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_shiftKey,hx::Null< int > __o_keyCode,::String __o_direction) -{ -HX_STACK_PUSH("FocusEvent::new","neash/events/FocusEvent.hx",21); -bool bubbles = __o_bubbles.Default(true); -bool cancelable = __o_cancelable.Default(false); -bool shiftKey = __o_shiftKey.Default(false); -int keyCode = __o_keyCode.Default(0); -::String direction = __o_direction.Default(HX_CSTRING("none")); -{ - HX_STACK_LINE(22) - super::__construct(inType,bubbles,cancelable); - HX_STACK_LINE(23) - this->relatedObject = relatedObject; - HX_STACK_LINE(24) - this->keyCode = keyCode; - HX_STACK_LINE(25) - this->shiftKey = shiftKey; -} -; - return null(); -} - -FocusEvent_obj::~FocusEvent_obj() { } - -Dynamic FocusEvent_obj::__CreateEmpty() { return new FocusEvent_obj; } -hx::ObjectPtr< FocusEvent_obj > FocusEvent_obj::__new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_shiftKey,hx::Null< int > __o_keyCode,::String __o_direction) -{ hx::ObjectPtr< FocusEvent_obj > result = new FocusEvent_obj(); - result->__construct(inType,__o_bubbles,__o_cancelable,relatedObject,__o_shiftKey,__o_keyCode,__o_direction); - return result;} - -Dynamic FocusEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< FocusEvent_obj > result = new FocusEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6]); - return result;} - -::String FocusEvent_obj::toString( ){ - HX_STACK_PUSH("FocusEvent::toString","neash/events/FocusEvent.hx",36); - HX_STACK_THIS(this); - HX_STACK_LINE(36) - return ((((((((((((HX_CSTRING("[FocusEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" relatedObject=")) + ::Std_obj::string(this->relatedObject)) + HX_CSTRING(" shiftKey=")) + ::Std_obj::string(this->shiftKey)) + HX_CSTRING(" keyCode=")) + this->keyCode) + HX_CSTRING("]")); -} - - -::neash::events::Event FocusEvent_obj::clone( ){ - HX_STACK_PUSH("FocusEvent::clone","neash/events/FocusEvent.hx",30); - HX_STACK_THIS(this); - HX_STACK_LINE(30) - return ::neash::events::FocusEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->relatedObject,this->shiftKey,this->keyCode,null()); -} - - -::String FocusEvent_obj::FOCUS_IN; - -::String FocusEvent_obj::FOCUS_OUT; - -::String FocusEvent_obj::KEY_FOCUS_CHANGE; - -::String FocusEvent_obj::MOUSE_FOCUS_CHANGE; - - -FocusEvent_obj::FocusEvent_obj() -{ -} - -void FocusEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(FocusEvent); - HX_MARK_MEMBER_NAME(shiftKey,"shiftKey"); - HX_MARK_MEMBER_NAME(relatedObject,"relatedObject"); - HX_MARK_MEMBER_NAME(keyCode,"keyCode"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void FocusEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(shiftKey,"shiftKey"); - HX_VISIT_MEMBER_NAME(relatedObject,"relatedObject"); - HX_VISIT_MEMBER_NAME(keyCode,"keyCode"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic FocusEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"keyCode") ) { return keyCode; } - break; - case 8: - if (HX_FIELD_EQ(inName,"FOCUS_IN") ) { return FOCUS_IN; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"shiftKey") ) { return shiftKey; } - break; - case 9: - if (HX_FIELD_EQ(inName,"FOCUS_OUT") ) { return FOCUS_OUT; } - break; - case 13: - if (HX_FIELD_EQ(inName,"relatedObject") ) { return relatedObject; } - break; - case 16: - if (HX_FIELD_EQ(inName,"KEY_FOCUS_CHANGE") ) { return KEY_FOCUS_CHANGE; } - break; - case 18: - if (HX_FIELD_EQ(inName,"MOUSE_FOCUS_CHANGE") ) { return MOUSE_FOCUS_CHANGE; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic FocusEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"keyCode") ) { keyCode=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"FOCUS_IN") ) { FOCUS_IN=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"shiftKey") ) { shiftKey=inValue.Cast< bool >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"FOCUS_OUT") ) { FOCUS_OUT=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"relatedObject") ) { relatedObject=inValue.Cast< ::neash::display::InteractiveObject >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"KEY_FOCUS_CHANGE") ) { KEY_FOCUS_CHANGE=inValue.Cast< ::String >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"MOUSE_FOCUS_CHANGE") ) { MOUSE_FOCUS_CHANGE=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void FocusEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("shiftKey")); - outFields->push(HX_CSTRING("relatedObject")); - outFields->push(HX_CSTRING("keyCode")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("FOCUS_IN"), - HX_CSTRING("FOCUS_OUT"), - HX_CSTRING("KEY_FOCUS_CHANGE"), - HX_CSTRING("MOUSE_FOCUS_CHANGE"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("shiftKey"), - HX_CSTRING("relatedObject"), - HX_CSTRING("keyCode"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FocusEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(FocusEvent_obj::FOCUS_IN,"FOCUS_IN"); - HX_MARK_MEMBER_NAME(FocusEvent_obj::FOCUS_OUT,"FOCUS_OUT"); - HX_MARK_MEMBER_NAME(FocusEvent_obj::KEY_FOCUS_CHANGE,"KEY_FOCUS_CHANGE"); - HX_MARK_MEMBER_NAME(FocusEvent_obj::MOUSE_FOCUS_CHANGE,"MOUSE_FOCUS_CHANGE"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FocusEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FocusEvent_obj::FOCUS_IN,"FOCUS_IN"); - HX_VISIT_MEMBER_NAME(FocusEvent_obj::FOCUS_OUT,"FOCUS_OUT"); - HX_VISIT_MEMBER_NAME(FocusEvent_obj::KEY_FOCUS_CHANGE,"KEY_FOCUS_CHANGE"); - HX_VISIT_MEMBER_NAME(FocusEvent_obj::MOUSE_FOCUS_CHANGE,"MOUSE_FOCUS_CHANGE"); -}; - -Class FocusEvent_obj::__mClass; - -void FocusEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.FocusEvent"), hx::TCanCast< FocusEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void FocusEvent_obj::__boot() -{ - FOCUS_IN= HX_CSTRING("focusIn"); - FOCUS_OUT= HX_CSTRING("focusOut"); - KEY_FOCUS_CHANGE= HX_CSTRING("keyFocusChange"); - MOUSE_FOCUS_CHANGE= HX_CSTRING("mouseFocusChange"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/HTTPStatusEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/HTTPStatusEvent.cpp deleted file mode 100644 index 75448c0..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/HTTPStatusEvent.cpp +++ /dev/null @@ -1,152 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_HTTPStatusEvent -#include -#endif -namespace neash{ -namespace events{ - -Void HTTPStatusEvent_obj::__construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_status) -{ -HX_STACK_PUSH("HTTPStatusEvent::new","neash/events/HTTPStatusEvent.hx",12); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -int status = __o_status.Default(0); -{ - HX_STACK_LINE(13) - super::__construct(inType,bubbles,cancelable); - HX_STACK_LINE(14) - this->status = status; -} -; - return null(); -} - -HTTPStatusEvent_obj::~HTTPStatusEvent_obj() { } - -Dynamic HTTPStatusEvent_obj::__CreateEmpty() { return new HTTPStatusEvent_obj; } -hx::ObjectPtr< HTTPStatusEvent_obj > HTTPStatusEvent_obj::__new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_status) -{ hx::ObjectPtr< HTTPStatusEvent_obj > result = new HTTPStatusEvent_obj(); - result->__construct(inType,__o_bubbles,__o_cancelable,__o_status); - return result;} - -Dynamic HTTPStatusEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< HTTPStatusEvent_obj > result = new HTTPStatusEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -::String HTTPStatusEvent_obj::toString( ){ - HX_STACK_PUSH("HTTPStatusEvent::toString","neash/events/HTTPStatusEvent.hx",25); - HX_STACK_THIS(this); - HX_STACK_LINE(25) - return ((((((((HX_CSTRING("[HTTPStatusEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" status=")) + this->status) + HX_CSTRING("]")); -} - - -::neash::events::Event HTTPStatusEvent_obj::clone( ){ - HX_STACK_PUSH("HTTPStatusEvent::clone","neash/events/HTTPStatusEvent.hx",19); - HX_STACK_THIS(this); - HX_STACK_LINE(19) - return ::neash::events::HTTPStatusEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->status); -} - - -::String HTTPStatusEvent_obj::HTTP_STATUS; - - -HTTPStatusEvent_obj::HTTPStatusEvent_obj() -{ -} - -void HTTPStatusEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(HTTPStatusEvent); - HX_MARK_MEMBER_NAME(status,"status"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void HTTPStatusEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(status,"status"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic HTTPStatusEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"status") ) { return status; } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"HTTP_STATUS") ) { return HTTP_STATUS; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic HTTPStatusEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"status") ) { status=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"HTTP_STATUS") ) { HTTP_STATUS=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void HTTPStatusEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("status")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("HTTP_STATUS"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("status"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(HTTPStatusEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(HTTPStatusEvent_obj::HTTP_STATUS,"HTTP_STATUS"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(HTTPStatusEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(HTTPStatusEvent_obj::HTTP_STATUS,"HTTP_STATUS"); -}; - -Class HTTPStatusEvent_obj::__mClass; - -void HTTPStatusEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.HTTPStatusEvent"), hx::TCanCast< HTTPStatusEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void HTTPStatusEvent_obj::__boot() -{ - HTTP_STATUS= HX_CSTRING("httpStatus"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/IEventDispatcher.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/IEventDispatcher.cpp deleted file mode 100644 index cc1d4c6..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/IEventDispatcher.cpp +++ /dev/null @@ -1,45 +0,0 @@ -#include - -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -namespace neash{ -namespace events{ - -HX_DEFINE_DYNAMIC_FUNC1(IEventDispatcher_obj,willTrigger,return ) - -HX_DEFINE_DYNAMIC_FUNC3(IEventDispatcher_obj,removeEventListener,) - -HX_DEFINE_DYNAMIC_FUNC1(IEventDispatcher_obj,hasEventListener,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IEventDispatcher_obj,dispatchEvent,return ) - -HX_DEFINE_DYNAMIC_FUNC5(IEventDispatcher_obj,addEventListener,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IEventDispatcher_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IEventDispatcher_obj::__mClass,"__mClass"); -}; - -Class IEventDispatcher_obj::__mClass; - -void IEventDispatcher_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.IEventDispatcher"), hx::TCanCast< IEventDispatcher_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IEventDispatcher_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/IOErrorEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/IOErrorEvent.cpp deleted file mode 100644 index 321d423..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/IOErrorEvent.cpp +++ /dev/null @@ -1,145 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_IOErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_TextEvent -#include -#endif -namespace neash{ -namespace events{ - -Void IOErrorEvent_obj::__construct(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id) -{ -HX_STACK_PUSH("IOErrorEvent::new","neash/events/IOErrorEvent.hx",11); -bool bubbles = __o_bubbles.Default(true); -bool cancelable = __o_cancelable.Default(false); -::String text = __o_text.Default(HX_CSTRING("")); -int id = __o_id.Default(0); -{ - HX_STACK_LINE(11) - super::__construct(inType,bubbles,cancelable,text,id); -} -; - return null(); -} - -IOErrorEvent_obj::~IOErrorEvent_obj() { } - -Dynamic IOErrorEvent_obj::__CreateEmpty() { return new IOErrorEvent_obj; } -hx::ObjectPtr< IOErrorEvent_obj > IOErrorEvent_obj::__new(::String inType,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text,hx::Null< int > __o_id) -{ hx::ObjectPtr< IOErrorEvent_obj > result = new IOErrorEvent_obj(); - result->__construct(inType,__o_bubbles,__o_cancelable,__o_text,__o_id); - return result;} - -Dynamic IOErrorEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< IOErrorEvent_obj > result = new IOErrorEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4]); - return result;} - -::String IOErrorEvent_obj::toString( ){ - HX_STACK_PUSH("IOErrorEvent::toString","neash/events/IOErrorEvent.hx",23); - HX_STACK_THIS(this); - HX_STACK_LINE(23) - return ((((((((((HX_CSTRING("[IOErrorEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" text=")) + this->text) + HX_CSTRING(" errorID=")) + this->errorID) + HX_CSTRING("]")); -} - - -::neash::events::Event IOErrorEvent_obj::clone( ){ - HX_STACK_PUSH("IOErrorEvent::clone","neash/events/IOErrorEvent.hx",17); - HX_STACK_THIS(this); - HX_STACK_LINE(17) - return ::neash::events::IOErrorEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->text,this->errorID); -} - - -::String IOErrorEvent_obj::IO_ERROR; - - -IOErrorEvent_obj::IOErrorEvent_obj() -{ -} - -void IOErrorEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(IOErrorEvent); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void IOErrorEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic IOErrorEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"IO_ERROR") ) { return IO_ERROR; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic IOErrorEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"IO_ERROR") ) { IO_ERROR=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void IOErrorEvent_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("IO_ERROR"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IOErrorEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(IOErrorEvent_obj::IO_ERROR,"IO_ERROR"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IOErrorEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(IOErrorEvent_obj::IO_ERROR,"IO_ERROR"); -}; - -Class IOErrorEvent_obj::__mClass; - -void IOErrorEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.IOErrorEvent"), hx::TCanCast< IOErrorEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IOErrorEvent_obj::__boot() -{ - IO_ERROR= HX_CSTRING("ioError"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/JoystickEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/JoystickEvent.cpp deleted file mode 100644 index efd3a6d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/JoystickEvent.cpp +++ /dev/null @@ -1,234 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_JoystickEvent -#include -#endif -namespace neash{ -namespace events{ - -Void JoystickEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_device,hx::Null< int > __o_id,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< Float > __o_z) -{ -HX_STACK_PUSH("JoystickEvent::new","neash/events/JoystickEvent.hx",21); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -int device = __o_device.Default(0); -int id = __o_id.Default(0); -Float x = __o_x.Default(0); -Float y = __o_y.Default(0); -Float z = __o_z.Default(0); -{ - HX_STACK_LINE(22) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(24) - this->device = device; - HX_STACK_LINE(25) - this->id = id; - HX_STACK_LINE(26) - this->x = x; - HX_STACK_LINE(27) - this->y = y; - HX_STACK_LINE(28) - this->z = z; -} -; - return null(); -} - -JoystickEvent_obj::~JoystickEvent_obj() { } - -Dynamic JoystickEvent_obj::__CreateEmpty() { return new JoystickEvent_obj; } -hx::ObjectPtr< JoystickEvent_obj > JoystickEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_device,hx::Null< int > __o_id,hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< Float > __o_z) -{ hx::ObjectPtr< JoystickEvent_obj > result = new JoystickEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_device,__o_id,__o_x,__o_y,__o_z); - return result;} - -Dynamic JoystickEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< JoystickEvent_obj > result = new JoystickEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7]); - return result;} - -::String JoystickEvent_obj::toString( ){ - HX_STACK_PUSH("JoystickEvent::toString","neash/events/JoystickEvent.hx",39); - HX_STACK_THIS(this); - HX_STACK_LINE(39) - return ((((((((((((((((HX_CSTRING("[JoystickEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" device=")) + this->device) + HX_CSTRING(" id=")) + this->id) + HX_CSTRING(" x=")) + this->x) + HX_CSTRING(" y=")) + this->y) + HX_CSTRING(" z=")) + this->z) + HX_CSTRING("]")); -} - - -::neash::events::Event JoystickEvent_obj::clone( ){ - HX_STACK_PUSH("JoystickEvent::clone","neash/events/JoystickEvent.hx",33); - HX_STACK_THIS(this); - HX_STACK_LINE(33) - return ::neash::events::JoystickEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->device,this->id,this->x,this->y,this->z); -} - - -::String JoystickEvent_obj::AXIS_MOVE; - -::String JoystickEvent_obj::BALL_MOVE; - -::String JoystickEvent_obj::BUTTON_DOWN; - -::String JoystickEvent_obj::BUTTON_UP; - -::String JoystickEvent_obj::HAT_MOVE; - - -JoystickEvent_obj::JoystickEvent_obj() -{ -} - -void JoystickEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(JoystickEvent); - HX_MARK_MEMBER_NAME(z,"z"); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(id,"id"); - HX_MARK_MEMBER_NAME(device,"device"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void JoystickEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(z,"z"); - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(id,"id"); - HX_VISIT_MEMBER_NAME(device,"device"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic JoystickEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"z") ) { return z; } - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 2: - if (HX_FIELD_EQ(inName,"id") ) { return id; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"device") ) { return device; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HAT_MOVE") ) { return HAT_MOVE; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"AXIS_MOVE") ) { return AXIS_MOVE; } - if (HX_FIELD_EQ(inName,"BALL_MOVE") ) { return BALL_MOVE; } - if (HX_FIELD_EQ(inName,"BUTTON_UP") ) { return BUTTON_UP; } - break; - case 11: - if (HX_FIELD_EQ(inName,"BUTTON_DOWN") ) { return BUTTON_DOWN; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic JoystickEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"z") ) { z=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 2: - if (HX_FIELD_EQ(inName,"id") ) { id=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"device") ) { device=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HAT_MOVE") ) { HAT_MOVE=inValue.Cast< ::String >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"AXIS_MOVE") ) { AXIS_MOVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"BALL_MOVE") ) { BALL_MOVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"BUTTON_UP") ) { BUTTON_UP=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"BUTTON_DOWN") ) { BUTTON_DOWN=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void JoystickEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("z")); - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("id")); - outFields->push(HX_CSTRING("device")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("AXIS_MOVE"), - HX_CSTRING("BALL_MOVE"), - HX_CSTRING("BUTTON_DOWN"), - HX_CSTRING("BUTTON_UP"), - HX_CSTRING("HAT_MOVE"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("z"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("id"), - HX_CSTRING("device"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(JoystickEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::AXIS_MOVE,"AXIS_MOVE"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::BALL_MOVE,"BALL_MOVE"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::BUTTON_DOWN,"BUTTON_DOWN"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::BUTTON_UP,"BUTTON_UP"); - HX_MARK_MEMBER_NAME(JoystickEvent_obj::HAT_MOVE,"HAT_MOVE"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::AXIS_MOVE,"AXIS_MOVE"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::BALL_MOVE,"BALL_MOVE"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::BUTTON_DOWN,"BUTTON_DOWN"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::BUTTON_UP,"BUTTON_UP"); - HX_VISIT_MEMBER_NAME(JoystickEvent_obj::HAT_MOVE,"HAT_MOVE"); -}; - -Class JoystickEvent_obj::__mClass; - -void JoystickEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.JoystickEvent"), hx::TCanCast< JoystickEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void JoystickEvent_obj::__boot() -{ - AXIS_MOVE= HX_CSTRING("axisMove"); - BALL_MOVE= HX_CSTRING("ballMove"); - BUTTON_DOWN= HX_CSTRING("buttonDown"); - BUTTON_UP= HX_CSTRING("buttonUp"); - HAT_MOVE= HX_CSTRING("hatMove"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/KeyboardEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/KeyboardEvent.cpp deleted file mode 100644 index ae5163c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/KeyboardEvent.cpp +++ /dev/null @@ -1,233 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_KeyboardEvent -#include -#endif -namespace neash{ -namespace events{ - -Void KeyboardEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_charCodeValue,hx::Null< int > __o_keyCodeValue,hx::Null< int > __o_keyLocationValue,hx::Null< bool > __o_ctrlKeyValue,hx::Null< bool > __o_altKeyValue,hx::Null< bool > __o_shiftKeyValue,hx::Null< bool > __o_controlKeyValue,hx::Null< bool > __o_commandKeyValue) -{ -HX_STACK_PUSH("KeyboardEvent::new","neash/events/KeyboardEvent.hx",21); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -int charCodeValue = __o_charCodeValue.Default(0); -int keyCodeValue = __o_keyCodeValue.Default(0); -int keyLocationValue = __o_keyLocationValue.Default(0); -bool ctrlKeyValue = __o_ctrlKeyValue.Default(false); -bool altKeyValue = __o_altKeyValue.Default(false); -bool shiftKeyValue = __o_shiftKeyValue.Default(false); -bool controlKeyValue = __o_controlKeyValue.Default(false); -bool commandKeyValue = __o_commandKeyValue.Default(false); -{ - HX_STACK_LINE(22) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(24) - this->keyCode = keyCodeValue; - HX_STACK_LINE(25) - this->keyLocation = keyLocationValue; - HX_STACK_LINE(26) - this->charCode = charCodeValue; - HX_STACK_LINE(28) - this->shiftKey = shiftKeyValue; - HX_STACK_LINE(29) - this->altKey = altKeyValue; - HX_STACK_LINE(30) - this->controlKey = controlKeyValue; - HX_STACK_LINE(31) - this->commandKey = commandKeyValue; - HX_STACK_LINE(32) - this->ctrlKey = (bool((bool(ctrlKeyValue) || bool(this->controlKey))) || bool(this->commandKey)); -} -; - return null(); -} - -KeyboardEvent_obj::~KeyboardEvent_obj() { } - -Dynamic KeyboardEvent_obj::__CreateEmpty() { return new KeyboardEvent_obj; } -hx::ObjectPtr< KeyboardEvent_obj > KeyboardEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_charCodeValue,hx::Null< int > __o_keyCodeValue,hx::Null< int > __o_keyLocationValue,hx::Null< bool > __o_ctrlKeyValue,hx::Null< bool > __o_altKeyValue,hx::Null< bool > __o_shiftKeyValue,hx::Null< bool > __o_controlKeyValue,hx::Null< bool > __o_commandKeyValue) -{ hx::ObjectPtr< KeyboardEvent_obj > result = new KeyboardEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_charCodeValue,__o_keyCodeValue,__o_keyLocationValue,__o_ctrlKeyValue,__o_altKeyValue,__o_shiftKeyValue,__o_controlKeyValue,__o_commandKeyValue); - return result;} - -Dynamic KeyboardEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< KeyboardEvent_obj > result = new KeyboardEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7],inArgs[8],inArgs[9],inArgs[10]); - return result;} - -::String KeyboardEvent_obj::toString( ){ - HX_STACK_PUSH("KeyboardEvent::toString","neash/events/KeyboardEvent.hx",43); - HX_STACK_THIS(this); - HX_STACK_LINE(43) - return ((((((((((((((((((HX_CSTRING("[KeyboardEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" charCode=")) + this->charCode) + HX_CSTRING(" keyCode=")) + this->keyCode) + HX_CSTRING(" keyLocation=")) + this->keyLocation) + HX_CSTRING(" ctrlKey=")) + ::Std_obj::string(this->ctrlKey)) + HX_CSTRING(" altKey=")) + ::Std_obj::string(this->altKey)) + HX_CSTRING(" shiftKey=")) + ::Std_obj::string(this->shiftKey)) + HX_CSTRING("]")); -} - - -::neash::events::Event KeyboardEvent_obj::clone( ){ - HX_STACK_PUSH("KeyboardEvent::clone","neash/events/KeyboardEvent.hx",37); - HX_STACK_THIS(this); - HX_STACK_LINE(37) - return ::neash::events::KeyboardEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->charCode,this->keyCode,this->keyLocation,this->ctrlKey,this->altKey,this->shiftKey,this->controlKey,this->commandKey); -} - - -::String KeyboardEvent_obj::KEY_DOWN; - -::String KeyboardEvent_obj::KEY_UP; - - -KeyboardEvent_obj::KeyboardEvent_obj() -{ -} - -void KeyboardEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(KeyboardEvent); - HX_MARK_MEMBER_NAME(shiftKey,"shiftKey"); - HX_MARK_MEMBER_NAME(keyLocation,"keyLocation"); - HX_MARK_MEMBER_NAME(keyCode,"keyCode"); - HX_MARK_MEMBER_NAME(commandKey,"commandKey"); - HX_MARK_MEMBER_NAME(controlKey,"controlKey"); - HX_MARK_MEMBER_NAME(ctrlKey,"ctrlKey"); - HX_MARK_MEMBER_NAME(charCode,"charCode"); - HX_MARK_MEMBER_NAME(altKey,"altKey"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void KeyboardEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(shiftKey,"shiftKey"); - HX_VISIT_MEMBER_NAME(keyLocation,"keyLocation"); - HX_VISIT_MEMBER_NAME(keyCode,"keyCode"); - HX_VISIT_MEMBER_NAME(commandKey,"commandKey"); - HX_VISIT_MEMBER_NAME(controlKey,"controlKey"); - HX_VISIT_MEMBER_NAME(ctrlKey,"ctrlKey"); - HX_VISIT_MEMBER_NAME(charCode,"charCode"); - HX_VISIT_MEMBER_NAME(altKey,"altKey"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic KeyboardEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"KEY_UP") ) { return KEY_UP; } - if (HX_FIELD_EQ(inName,"altKey") ) { return altKey; } - break; - case 7: - if (HX_FIELD_EQ(inName,"keyCode") ) { return keyCode; } - if (HX_FIELD_EQ(inName,"ctrlKey") ) { return ctrlKey; } - break; - case 8: - if (HX_FIELD_EQ(inName,"KEY_DOWN") ) { return KEY_DOWN; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"shiftKey") ) { return shiftKey; } - if (HX_FIELD_EQ(inName,"charCode") ) { return charCode; } - break; - case 10: - if (HX_FIELD_EQ(inName,"commandKey") ) { return commandKey; } - if (HX_FIELD_EQ(inName,"controlKey") ) { return controlKey; } - break; - case 11: - if (HX_FIELD_EQ(inName,"keyLocation") ) { return keyLocation; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic KeyboardEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"KEY_UP") ) { KEY_UP=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"altKey") ) { altKey=inValue.Cast< bool >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"keyCode") ) { keyCode=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"ctrlKey") ) { ctrlKey=inValue.Cast< bool >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"KEY_DOWN") ) { KEY_DOWN=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"shiftKey") ) { shiftKey=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"charCode") ) { charCode=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"commandKey") ) { commandKey=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"controlKey") ) { controlKey=inValue.Cast< bool >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"keyLocation") ) { keyLocation=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void KeyboardEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("shiftKey")); - outFields->push(HX_CSTRING("keyLocation")); - outFields->push(HX_CSTRING("keyCode")); - outFields->push(HX_CSTRING("commandKey")); - outFields->push(HX_CSTRING("controlKey")); - outFields->push(HX_CSTRING("ctrlKey")); - outFields->push(HX_CSTRING("charCode")); - outFields->push(HX_CSTRING("altKey")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("KEY_DOWN"), - HX_CSTRING("KEY_UP"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("shiftKey"), - HX_CSTRING("keyLocation"), - HX_CSTRING("keyCode"), - HX_CSTRING("commandKey"), - HX_CSTRING("controlKey"), - HX_CSTRING("ctrlKey"), - HX_CSTRING("charCode"), - HX_CSTRING("altKey"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(KeyboardEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(KeyboardEvent_obj::KEY_DOWN,"KEY_DOWN"); - HX_MARK_MEMBER_NAME(KeyboardEvent_obj::KEY_UP,"KEY_UP"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(KeyboardEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(KeyboardEvent_obj::KEY_DOWN,"KEY_DOWN"); - HX_VISIT_MEMBER_NAME(KeyboardEvent_obj::KEY_UP,"KEY_UP"); -}; - -Class KeyboardEvent_obj::__mClass; - -void KeyboardEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.KeyboardEvent"), hx::TCanCast< KeyboardEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void KeyboardEvent_obj::__boot() -{ - KEY_DOWN= HX_CSTRING("keyDown"); - KEY_UP= HX_CSTRING("keyUp"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/Listener.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/Listener.cpp deleted file mode 100644 index 39d838f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/Listener.cpp +++ /dev/null @@ -1,190 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_Listener -#include -#endif -namespace neash{ -namespace events{ - -Void Listener_obj::__construct(Dynamic inListener,bool inUseCapture,int inPriority) -{ -HX_STACK_PUSH("Listener::new","neash/events/EventDispatcher.hx",172); -{ - HX_STACK_LINE(173) - this->mListner = inListener; - HX_STACK_LINE(174) - this->mUseCapture = inUseCapture; - HX_STACK_LINE(175) - this->mPriority = inPriority; - HX_STACK_LINE(176) - this->mID = (::neash::events::Listener_obj::sIDs)++; -} -; - return null(); -} - -Listener_obj::~Listener_obj() { } - -Dynamic Listener_obj::__CreateEmpty() { return new Listener_obj; } -hx::ObjectPtr< Listener_obj > Listener_obj::__new(Dynamic inListener,bool inUseCapture,int inPriority) -{ hx::ObjectPtr< Listener_obj > result = new Listener_obj(); - result->__construct(inListener,inUseCapture,inPriority); - return result;} - -Dynamic Listener_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Listener_obj > result = new Listener_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -bool Listener_obj::Is( Dynamic inListener,bool inCapture){ - HX_STACK_PUSH("Listener::Is","neash/events/EventDispatcher.hx",187); - HX_STACK_THIS(this); - HX_STACK_ARG(inListener,"inListener"); - HX_STACK_ARG(inCapture,"inCapture"); - HX_STACK_LINE(187) - return (bool(::Reflect_obj::compareMethods(this->mListner_dyn(),inListener)) && bool((this->mUseCapture == inCapture))); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Listener_obj,Is,return ) - -Void Listener_obj::dispatchEvent( ::neash::events::Event event){ -{ - HX_STACK_PUSH("Listener::dispatchEvent","neash/events/EventDispatcher.hx",181); - HX_STACK_THIS(this); - HX_STACK_ARG(event,"event"); - HX_STACK_LINE(181) - this->mListner(event); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Listener_obj,dispatchEvent,(void)) - -int Listener_obj::sIDs; - - -Listener_obj::Listener_obj() -{ -} - -void Listener_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Listener); - HX_MARK_MEMBER_NAME(mUseCapture,"mUseCapture"); - HX_MARK_MEMBER_NAME(mPriority,"mPriority"); - HX_MARK_MEMBER_NAME(mListner,"mListner"); - HX_MARK_MEMBER_NAME(mID,"mID"); - HX_MARK_END_CLASS(); -} - -void Listener_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(mUseCapture,"mUseCapture"); - HX_VISIT_MEMBER_NAME(mPriority,"mPriority"); - HX_VISIT_MEMBER_NAME(mListner,"mListner"); - HX_VISIT_MEMBER_NAME(mID,"mID"); -} - -Dynamic Listener_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 2: - if (HX_FIELD_EQ(inName,"Is") ) { return Is_dyn(); } - break; - case 3: - if (HX_FIELD_EQ(inName,"mID") ) { return mID; } - break; - case 4: - if (HX_FIELD_EQ(inName,"sIDs") ) { return sIDs; } - break; - case 8: - if (HX_FIELD_EQ(inName,"mListner") ) { return mListner; } - break; - case 9: - if (HX_FIELD_EQ(inName,"mPriority") ) { return mPriority; } - break; - case 11: - if (HX_FIELD_EQ(inName,"mUseCapture") ) { return mUseCapture; } - break; - case 13: - if (HX_FIELD_EQ(inName,"dispatchEvent") ) { return dispatchEvent_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Listener_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"mID") ) { mID=inValue.Cast< int >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"sIDs") ) { sIDs=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"mListner") ) { mListner=inValue.Cast< Dynamic >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"mPriority") ) { mPriority=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"mUseCapture") ) { mUseCapture=inValue.Cast< bool >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Listener_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("mUseCapture")); - outFields->push(HX_CSTRING("mPriority")); - outFields->push(HX_CSTRING("mID")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("sIDs"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("Is"), - HX_CSTRING("dispatchEvent"), - HX_CSTRING("mUseCapture"), - HX_CSTRING("mPriority"), - HX_CSTRING("mListner"), - HX_CSTRING("mID"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Listener_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Listener_obj::sIDs,"sIDs"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Listener_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Listener_obj::sIDs,"sIDs"); -}; - -Class Listener_obj::__mClass; - -void Listener_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.Listener"), hx::TCanCast< Listener_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Listener_obj::__boot() -{ - sIDs= (int)1; -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/MouseEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/MouseEvent.cpp deleted file mode 100644 index eda17f7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/MouseEvent.cpp +++ /dev/null @@ -1,526 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_MouseEvent -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -namespace neash{ -namespace events{ - -Void MouseEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_localX,hx::Null< Float > __o_localY,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_ctrlKey,hx::Null< bool > __o_altKey,hx::Null< bool > __o_shiftKey,hx::Null< bool > __o_buttonDown,hx::Null< int > __o_delta,hx::Null< bool > __o_commandKey,hx::Null< int > __o_clickCount) -{ -HX_STACK_PUSH("MouseEvent::new","neash/events/MouseEvent.hx",49); -bool bubbles = __o_bubbles.Default(true); -bool cancelable = __o_cancelable.Default(false); -Float localX = __o_localX.Default(0); -Float localY = __o_localY.Default(0); -bool ctrlKey = __o_ctrlKey.Default(false); -bool altKey = __o_altKey.Default(false); -bool shiftKey = __o_shiftKey.Default(false); -bool buttonDown = __o_buttonDown.Default(false); -int delta = __o_delta.Default(0); -bool commandKey = __o_commandKey.Default(false); -int clickCount = __o_clickCount.Default(0); -{ - HX_STACK_LINE(50) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(51) - this->localX = localX; - HX_STACK_LINE(52) - this->localY = localY; - HX_STACK_LINE(53) - this->relatedObject = relatedObject; - HX_STACK_LINE(54) - this->ctrlKey = ctrlKey; - HX_STACK_LINE(55) - this->altKey = altKey; - HX_STACK_LINE(56) - this->shiftKey = shiftKey; - HX_STACK_LINE(57) - this->buttonDown = buttonDown; - HX_STACK_LINE(58) - this->delta = delta; - HX_STACK_LINE(59) - this->commandKey = commandKey; - HX_STACK_LINE(60) - this->clickCount = clickCount; -} -; - return null(); -} - -MouseEvent_obj::~MouseEvent_obj() { } - -Dynamic MouseEvent_obj::__CreateEmpty() { return new MouseEvent_obj; } -hx::ObjectPtr< MouseEvent_obj > MouseEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_localX,hx::Null< Float > __o_localY,::neash::display::InteractiveObject relatedObject,hx::Null< bool > __o_ctrlKey,hx::Null< bool > __o_altKey,hx::Null< bool > __o_shiftKey,hx::Null< bool > __o_buttonDown,hx::Null< int > __o_delta,hx::Null< bool > __o_commandKey,hx::Null< int > __o_clickCount) -{ hx::ObjectPtr< MouseEvent_obj > result = new MouseEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_localX,__o_localY,relatedObject,__o_ctrlKey,__o_altKey,__o_shiftKey,__o_buttonDown,__o_delta,__o_commandKey,__o_clickCount); - return result;} - -Dynamic MouseEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< MouseEvent_obj > result = new MouseEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7],inArgs[8],inArgs[9],inArgs[10],inArgs[11],inArgs[12]); - return result;} - -Void MouseEvent_obj::updateAfterEvent( ){ -{ - HX_STACK_PUSH("MouseEvent::updateAfterEvent","neash/events/MouseEvent.hx",100); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(MouseEvent_obj,updateAfterEvent,(void)) - -::String MouseEvent_obj::toString( ){ - HX_STACK_PUSH("MouseEvent::toString","neash/events/MouseEvent.hx",94); - HX_STACK_THIS(this); - HX_STACK_LINE(94) - return ((((((((((((((((((((((HX_CSTRING("[MouseEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" localX=")) + this->localX) + HX_CSTRING(" localY=")) + this->localY) + HX_CSTRING(" relatedObject=")) + ::Std_obj::string(this->relatedObject)) + HX_CSTRING(" ctrlKey=")) + ::Std_obj::string(this->ctrlKey)) + HX_CSTRING(" altKey=")) + ::Std_obj::string(this->altKey)) + HX_CSTRING(" shiftKey=")) + ::Std_obj::string(this->shiftKey)) + HX_CSTRING(" buttonDown=")) + ::Std_obj::string(this->buttonDown)) + HX_CSTRING(" delta=")) + this->delta) + HX_CSTRING("]")); -} - - -::neash::events::MouseEvent MouseEvent_obj::nmeCreateSimilar( ::String inType,::neash::display::InteractiveObject related,::neash::display::InteractiveObject targ){ - HX_STACK_PUSH("MouseEvent::nmeCreateSimilar","neash/events/MouseEvent.hx",82); - HX_STACK_THIS(this); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(related,"related"); - HX_STACK_ARG(targ,"targ"); - HX_STACK_LINE(83) - ::neash::events::MouseEvent result = ::neash::events::MouseEvent_obj::__new(inType,this->nmeGetBubbles(),this->nmeGetCancelable(),this->localX,this->localY,( (((related == null()))) ? ::neash::display::InteractiveObject(this->relatedObject) : ::neash::display::InteractiveObject(related) ),this->ctrlKey,this->altKey,this->shiftKey,this->buttonDown,this->delta,this->commandKey,this->clickCount); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(85) - result->stageX = this->stageX; - HX_STACK_LINE(86) - result->stageY = this->stageY; - HX_STACK_LINE(87) - if (((targ != null()))){ - HX_STACK_LINE(88) - result->nmeSetTarget(targ); - } - HX_STACK_LINE(89) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC3(MouseEvent_obj,nmeCreateSimilar,return ) - -::neash::events::Event MouseEvent_obj::clone( ){ - HX_STACK_PUSH("MouseEvent::clone","neash/events/MouseEvent.hx",65); - HX_STACK_THIS(this); - HX_STACK_LINE(65) - return ::neash::events::MouseEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->localX,this->localY,this->relatedObject,this->ctrlKey,this->altKey,this->shiftKey,this->buttonDown,this->delta,this->commandKey,this->clickCount); -} - - -::String MouseEvent_obj::DOUBLE_CLICK; - -::String MouseEvent_obj::CLICK; - -::String MouseEvent_obj::MIDDLE_CLICK; - -::String MouseEvent_obj::MIDDLE_MOUSE_DOWN; - -::String MouseEvent_obj::MIDDLE_MOUSE_UP; - -::String MouseEvent_obj::MOUSE_DOWN; - -::String MouseEvent_obj::MOUSE_MOVE; - -::String MouseEvent_obj::MOUSE_OUT; - -::String MouseEvent_obj::MOUSE_OVER; - -::String MouseEvent_obj::MOUSE_UP; - -::String MouseEvent_obj::MOUSE_WHEEL; - -::String MouseEvent_obj::RIGHT_CLICK; - -::String MouseEvent_obj::RIGHT_MOUSE_DOWN; - -::String MouseEvent_obj::RIGHT_MOUSE_UP; - -::String MouseEvent_obj::ROLL_OUT; - -::String MouseEvent_obj::ROLL_OVER; - -int MouseEvent_obj::efLeftDown; - -int MouseEvent_obj::efShiftDown; - -int MouseEvent_obj::efCtrlDown; - -int MouseEvent_obj::efAltDown; - -int MouseEvent_obj::efCommandDown; - -::neash::events::MouseEvent MouseEvent_obj::nmeCreate( ::String inType,Dynamic inEvent,::neash::geom::Point inLocal,::neash::display::InteractiveObject inTarget){ - HX_STACK_PUSH("MouseEvent::nmeCreate","neash/events/MouseEvent.hx",71); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inLocal,"inLocal"); - HX_STACK_ARG(inTarget,"inTarget"); - HX_STACK_LINE(72) - int flags = inEvent->__Field(HX_CSTRING("flags"),true); HX_STACK_VAR(flags,"flags"); - HX_STACK_LINE(73) - ::neash::events::MouseEvent evt = ::neash::events::MouseEvent_obj::__new(inType,true,false,inLocal->x,inLocal->y,null(),(((int(flags) & int(::neash::events::MouseEvent_obj::efCtrlDown))) != (int)0),(((int(flags) & int(::neash::events::MouseEvent_obj::efAltDown))) != (int)0),(((int(flags) & int(::neash::events::MouseEvent_obj::efShiftDown))) != (int)0),(((int(flags) & int(::neash::events::MouseEvent_obj::efLeftDown))) != (int)0),(int)0,null(),(int)0); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(74) - evt->stageX = inEvent->__Field(HX_CSTRING("x"),true); - HX_STACK_LINE(75) - evt->stageY = inEvent->__Field(HX_CSTRING("y"),true); - HX_STACK_LINE(76) - evt->nmeSetTarget(inTarget); - HX_STACK_LINE(77) - return evt; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(MouseEvent_obj,nmeCreate,return ) - - -MouseEvent_obj::MouseEvent_obj() -{ -} - -void MouseEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(MouseEvent); - HX_MARK_MEMBER_NAME(stageY,"stageY"); - HX_MARK_MEMBER_NAME(stageX,"stageX"); - HX_MARK_MEMBER_NAME(shiftKey,"shiftKey"); - HX_MARK_MEMBER_NAME(relatedObject,"relatedObject"); - HX_MARK_MEMBER_NAME(localY,"localY"); - HX_MARK_MEMBER_NAME(localX,"localX"); - HX_MARK_MEMBER_NAME(delta,"delta"); - HX_MARK_MEMBER_NAME(ctrlKey,"ctrlKey"); - HX_MARK_MEMBER_NAME(commandKey,"commandKey"); - HX_MARK_MEMBER_NAME(clickCount,"clickCount"); - HX_MARK_MEMBER_NAME(buttonDown,"buttonDown"); - HX_MARK_MEMBER_NAME(altKey,"altKey"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void MouseEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(stageY,"stageY"); - HX_VISIT_MEMBER_NAME(stageX,"stageX"); - HX_VISIT_MEMBER_NAME(shiftKey,"shiftKey"); - HX_VISIT_MEMBER_NAME(relatedObject,"relatedObject"); - HX_VISIT_MEMBER_NAME(localY,"localY"); - HX_VISIT_MEMBER_NAME(localX,"localX"); - HX_VISIT_MEMBER_NAME(delta,"delta"); - HX_VISIT_MEMBER_NAME(ctrlKey,"ctrlKey"); - HX_VISIT_MEMBER_NAME(commandKey,"commandKey"); - HX_VISIT_MEMBER_NAME(clickCount,"clickCount"); - HX_VISIT_MEMBER_NAME(buttonDown,"buttonDown"); - HX_VISIT_MEMBER_NAME(altKey,"altKey"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic MouseEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"CLICK") ) { return CLICK; } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - if (HX_FIELD_EQ(inName,"delta") ) { return delta; } - break; - case 6: - if (HX_FIELD_EQ(inName,"stageY") ) { return stageY; } - if (HX_FIELD_EQ(inName,"stageX") ) { return stageX; } - if (HX_FIELD_EQ(inName,"localY") ) { return localY; } - if (HX_FIELD_EQ(inName,"localX") ) { return localX; } - if (HX_FIELD_EQ(inName,"altKey") ) { return altKey; } - break; - case 7: - if (HX_FIELD_EQ(inName,"ctrlKey") ) { return ctrlKey; } - break; - case 8: - if (HX_FIELD_EQ(inName,"MOUSE_UP") ) { return MOUSE_UP; } - if (HX_FIELD_EQ(inName,"ROLL_OUT") ) { return ROLL_OUT; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"shiftKey") ) { return shiftKey; } - break; - case 9: - if (HX_FIELD_EQ(inName,"MOUSE_OUT") ) { return MOUSE_OUT; } - if (HX_FIELD_EQ(inName,"ROLL_OVER") ) { return ROLL_OVER; } - if (HX_FIELD_EQ(inName,"efAltDown") ) { return efAltDown; } - if (HX_FIELD_EQ(inName,"nmeCreate") ) { return nmeCreate_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"MOUSE_DOWN") ) { return MOUSE_DOWN; } - if (HX_FIELD_EQ(inName,"MOUSE_MOVE") ) { return MOUSE_MOVE; } - if (HX_FIELD_EQ(inName,"MOUSE_OVER") ) { return MOUSE_OVER; } - if (HX_FIELD_EQ(inName,"efLeftDown") ) { return efLeftDown; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { return efCtrlDown; } - if (HX_FIELD_EQ(inName,"commandKey") ) { return commandKey; } - if (HX_FIELD_EQ(inName,"clickCount") ) { return clickCount; } - if (HX_FIELD_EQ(inName,"buttonDown") ) { return buttonDown; } - break; - case 11: - if (HX_FIELD_EQ(inName,"MOUSE_WHEEL") ) { return MOUSE_WHEEL; } - if (HX_FIELD_EQ(inName,"RIGHT_CLICK") ) { return RIGHT_CLICK; } - if (HX_FIELD_EQ(inName,"efShiftDown") ) { return efShiftDown; } - break; - case 12: - if (HX_FIELD_EQ(inName,"DOUBLE_CLICK") ) { return DOUBLE_CLICK; } - if (HX_FIELD_EQ(inName,"MIDDLE_CLICK") ) { return MIDDLE_CLICK; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { return efCommandDown; } - if (HX_FIELD_EQ(inName,"relatedObject") ) { return relatedObject; } - break; - case 14: - if (HX_FIELD_EQ(inName,"RIGHT_MOUSE_UP") ) { return RIGHT_MOUSE_UP; } - break; - case 15: - if (HX_FIELD_EQ(inName,"MIDDLE_MOUSE_UP") ) { return MIDDLE_MOUSE_UP; } - break; - case 16: - if (HX_FIELD_EQ(inName,"RIGHT_MOUSE_DOWN") ) { return RIGHT_MOUSE_DOWN; } - if (HX_FIELD_EQ(inName,"updateAfterEvent") ) { return updateAfterEvent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeCreateSimilar") ) { return nmeCreateSimilar_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"MIDDLE_MOUSE_DOWN") ) { return MIDDLE_MOUSE_DOWN; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic MouseEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"CLICK") ) { CLICK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"delta") ) { delta=inValue.Cast< int >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"stageY") ) { stageY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"stageX") ) { stageX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"localY") ) { localY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"localX") ) { localX=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"altKey") ) { altKey=inValue.Cast< bool >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"ctrlKey") ) { ctrlKey=inValue.Cast< bool >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"MOUSE_UP") ) { MOUSE_UP=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"ROLL_OUT") ) { ROLL_OUT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"shiftKey") ) { shiftKey=inValue.Cast< bool >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"MOUSE_OUT") ) { MOUSE_OUT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"ROLL_OVER") ) { ROLL_OVER=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"efAltDown") ) { efAltDown=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"MOUSE_DOWN") ) { MOUSE_DOWN=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MOUSE_MOVE") ) { MOUSE_MOVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MOUSE_OVER") ) { MOUSE_OVER=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"efLeftDown") ) { efLeftDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"efCtrlDown") ) { efCtrlDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"commandKey") ) { commandKey=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"clickCount") ) { clickCount=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"buttonDown") ) { buttonDown=inValue.Cast< bool >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"MOUSE_WHEEL") ) { MOUSE_WHEEL=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"RIGHT_CLICK") ) { RIGHT_CLICK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"efShiftDown") ) { efShiftDown=inValue.Cast< int >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"DOUBLE_CLICK") ) { DOUBLE_CLICK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"MIDDLE_CLICK") ) { MIDDLE_CLICK=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"efCommandDown") ) { efCommandDown=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"relatedObject") ) { relatedObject=inValue.Cast< ::neash::display::InteractiveObject >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"RIGHT_MOUSE_UP") ) { RIGHT_MOUSE_UP=inValue.Cast< ::String >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"MIDDLE_MOUSE_UP") ) { MIDDLE_MOUSE_UP=inValue.Cast< ::String >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"RIGHT_MOUSE_DOWN") ) { RIGHT_MOUSE_DOWN=inValue.Cast< ::String >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"MIDDLE_MOUSE_DOWN") ) { MIDDLE_MOUSE_DOWN=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void MouseEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("stageY")); - outFields->push(HX_CSTRING("stageX")); - outFields->push(HX_CSTRING("shiftKey")); - outFields->push(HX_CSTRING("relatedObject")); - outFields->push(HX_CSTRING("localY")); - outFields->push(HX_CSTRING("localX")); - outFields->push(HX_CSTRING("delta")); - outFields->push(HX_CSTRING("ctrlKey")); - outFields->push(HX_CSTRING("commandKey")); - outFields->push(HX_CSTRING("clickCount")); - outFields->push(HX_CSTRING("buttonDown")); - outFields->push(HX_CSTRING("altKey")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("DOUBLE_CLICK"), - HX_CSTRING("CLICK"), - HX_CSTRING("MIDDLE_CLICK"), - HX_CSTRING("MIDDLE_MOUSE_DOWN"), - HX_CSTRING("MIDDLE_MOUSE_UP"), - HX_CSTRING("MOUSE_DOWN"), - HX_CSTRING("MOUSE_MOVE"), - HX_CSTRING("MOUSE_OUT"), - HX_CSTRING("MOUSE_OVER"), - HX_CSTRING("MOUSE_UP"), - HX_CSTRING("MOUSE_WHEEL"), - HX_CSTRING("RIGHT_CLICK"), - HX_CSTRING("RIGHT_MOUSE_DOWN"), - HX_CSTRING("RIGHT_MOUSE_UP"), - HX_CSTRING("ROLL_OUT"), - HX_CSTRING("ROLL_OVER"), - HX_CSTRING("efLeftDown"), - HX_CSTRING("efShiftDown"), - HX_CSTRING("efCtrlDown"), - HX_CSTRING("efAltDown"), - HX_CSTRING("efCommandDown"), - HX_CSTRING("nmeCreate"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("updateAfterEvent"), - HX_CSTRING("toString"), - HX_CSTRING("nmeCreateSimilar"), - HX_CSTRING("clone"), - HX_CSTRING("stageY"), - HX_CSTRING("stageX"), - HX_CSTRING("shiftKey"), - HX_CSTRING("relatedObject"), - HX_CSTRING("localY"), - HX_CSTRING("localX"), - HX_CSTRING("delta"), - HX_CSTRING("ctrlKey"), - HX_CSTRING("commandKey"), - HX_CSTRING("clickCount"), - HX_CSTRING("buttonDown"), - HX_CSTRING("altKey"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(MouseEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::DOUBLE_CLICK,"DOUBLE_CLICK"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::CLICK,"CLICK"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MIDDLE_CLICK,"MIDDLE_CLICK"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MIDDLE_MOUSE_DOWN,"MIDDLE_MOUSE_DOWN"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MIDDLE_MOUSE_UP,"MIDDLE_MOUSE_UP"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_DOWN,"MOUSE_DOWN"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_MOVE,"MOUSE_MOVE"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_OUT,"MOUSE_OUT"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_OVER,"MOUSE_OVER"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_UP,"MOUSE_UP"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::MOUSE_WHEEL,"MOUSE_WHEEL"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::RIGHT_CLICK,"RIGHT_CLICK"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::RIGHT_MOUSE_DOWN,"RIGHT_MOUSE_DOWN"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::RIGHT_MOUSE_UP,"RIGHT_MOUSE_UP"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::ROLL_OUT,"ROLL_OUT"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::ROLL_OVER,"ROLL_OVER"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efLeftDown,"efLeftDown"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efShiftDown,"efShiftDown"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efCtrlDown,"efCtrlDown"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efAltDown,"efAltDown"); - HX_MARK_MEMBER_NAME(MouseEvent_obj::efCommandDown,"efCommandDown"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(MouseEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::DOUBLE_CLICK,"DOUBLE_CLICK"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::CLICK,"CLICK"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MIDDLE_CLICK,"MIDDLE_CLICK"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MIDDLE_MOUSE_DOWN,"MIDDLE_MOUSE_DOWN"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MIDDLE_MOUSE_UP,"MIDDLE_MOUSE_UP"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_DOWN,"MOUSE_DOWN"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_MOVE,"MOUSE_MOVE"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_OUT,"MOUSE_OUT"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_OVER,"MOUSE_OVER"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_UP,"MOUSE_UP"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::MOUSE_WHEEL,"MOUSE_WHEEL"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::RIGHT_CLICK,"RIGHT_CLICK"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::RIGHT_MOUSE_DOWN,"RIGHT_MOUSE_DOWN"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::RIGHT_MOUSE_UP,"RIGHT_MOUSE_UP"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::ROLL_OUT,"ROLL_OUT"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::ROLL_OVER,"ROLL_OVER"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efLeftDown,"efLeftDown"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efShiftDown,"efShiftDown"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efCtrlDown,"efCtrlDown"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efAltDown,"efAltDown"); - HX_VISIT_MEMBER_NAME(MouseEvent_obj::efCommandDown,"efCommandDown"); -}; - -Class MouseEvent_obj::__mClass; - -void MouseEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.MouseEvent"), hx::TCanCast< MouseEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void MouseEvent_obj::__boot() -{ - DOUBLE_CLICK= HX_CSTRING("doubleClick"); - CLICK= HX_CSTRING("click"); - MIDDLE_CLICK= HX_CSTRING("middleClick"); - MIDDLE_MOUSE_DOWN= HX_CSTRING("middleMouseDown"); - MIDDLE_MOUSE_UP= HX_CSTRING("middleMouseUp"); - MOUSE_DOWN= HX_CSTRING("mouseDown"); - MOUSE_MOVE= HX_CSTRING("mouseMove"); - MOUSE_OUT= HX_CSTRING("mouseOut"); - MOUSE_OVER= HX_CSTRING("mouseOver"); - MOUSE_UP= HX_CSTRING("mouseUp"); - MOUSE_WHEEL= HX_CSTRING("mouseWheel"); - RIGHT_CLICK= HX_CSTRING("rightClick"); - RIGHT_MOUSE_DOWN= HX_CSTRING("rightMouseDown"); - RIGHT_MOUSE_UP= HX_CSTRING("rightMouseUp"); - ROLL_OUT= HX_CSTRING("rollOut"); - ROLL_OVER= HX_CSTRING("rollOver"); - efLeftDown= (int)1; - efShiftDown= (int)2; - efCtrlDown= (int)4; - efAltDown= (int)8; - efCommandDown= (int)16; -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/ProgressEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/ProgressEvent.cpp deleted file mode 100644 index f8e0cd2..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/ProgressEvent.cpp +++ /dev/null @@ -1,171 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_ProgressEvent -#include -#endif -namespace neash{ -namespace events{ - -Void ProgressEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_bytesLoaded,hx::Null< int > __o_bytesTotal) -{ -HX_STACK_PUSH("ProgressEvent::new","neash/events/ProgressEvent.hx",15); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -int bytesLoaded = __o_bytesLoaded.Default(0); -int bytesTotal = __o_bytesTotal.Default(0); -{ - HX_STACK_LINE(16) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(17) - this->bytesLoaded = bytesLoaded; - HX_STACK_LINE(18) - this->bytesTotal = bytesTotal; -} -; - return null(); -} - -ProgressEvent_obj::~ProgressEvent_obj() { } - -Dynamic ProgressEvent_obj::__CreateEmpty() { return new ProgressEvent_obj; } -hx::ObjectPtr< ProgressEvent_obj > ProgressEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< int > __o_bytesLoaded,hx::Null< int > __o_bytesTotal) -{ hx::ObjectPtr< ProgressEvent_obj > result = new ProgressEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_bytesLoaded,__o_bytesTotal); - return result;} - -Dynamic ProgressEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ProgressEvent_obj > result = new ProgressEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4]); - return result;} - -::String ProgressEvent_obj::toString( ){ - HX_STACK_PUSH("ProgressEvent::toString","neash/events/ProgressEvent.hx",29); - HX_STACK_THIS(this); - HX_STACK_LINE(29) - return ((((((((((HX_CSTRING("[ProgressEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" bytesLoaded=")) + this->bytesLoaded) + HX_CSTRING(" bytesTotal=")) + this->bytesTotal) + HX_CSTRING("]")); -} - - -::neash::events::Event ProgressEvent_obj::clone( ){ - HX_STACK_PUSH("ProgressEvent::clone","neash/events/ProgressEvent.hx",23); - HX_STACK_THIS(this); - HX_STACK_LINE(23) - return ::neash::events::ProgressEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->bytesLoaded,this->bytesTotal); -} - - -::String ProgressEvent_obj::PROGRESS; - -::String ProgressEvent_obj::SOCKET_DATA; - - -ProgressEvent_obj::ProgressEvent_obj() -{ -} - -void ProgressEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ProgressEvent); - HX_MARK_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_MARK_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ProgressEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_VISIT_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ProgressEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"PROGRESS") ) { return PROGRESS; } - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"bytesTotal") ) { return bytesTotal; } - break; - case 11: - if (HX_FIELD_EQ(inName,"SOCKET_DATA") ) { return SOCKET_DATA; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { return bytesLoaded; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ProgressEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"PROGRESS") ) { PROGRESS=inValue.Cast< ::String >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"bytesTotal") ) { bytesTotal=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"SOCKET_DATA") ) { SOCKET_DATA=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { bytesLoaded=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ProgressEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("bytesTotal")); - outFields->push(HX_CSTRING("bytesLoaded")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("PROGRESS"), - HX_CSTRING("SOCKET_DATA"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("bytesTotal"), - HX_CSTRING("bytesLoaded"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ProgressEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ProgressEvent_obj::PROGRESS,"PROGRESS"); - HX_MARK_MEMBER_NAME(ProgressEvent_obj::SOCKET_DATA,"SOCKET_DATA"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ProgressEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ProgressEvent_obj::PROGRESS,"PROGRESS"); - HX_VISIT_MEMBER_NAME(ProgressEvent_obj::SOCKET_DATA,"SOCKET_DATA"); -}; - -Class ProgressEvent_obj::__mClass; - -void ProgressEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.ProgressEvent"), hx::TCanCast< ProgressEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ProgressEvent_obj::__boot() -{ - PROGRESS= HX_CSTRING("progress"); - SOCKET_DATA= HX_CSTRING("socketData"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/SampleDataEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/SampleDataEvent.cpp deleted file mode 100644 index 998c46c..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/SampleDataEvent.cpp +++ /dev/null @@ -1,172 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_SampleDataEvent -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace events{ - -Void SampleDataEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable) -{ -HX_STACK_PUSH("SampleDataEvent::new","neash/events/SampleDataEvent.hx",17); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -{ - HX_STACK_LINE(18) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(19) - this->data = ::neash::utils::ByteArray_obj::__new(null()); - HX_STACK_LINE(20) - this->data->bigEndian = false; - HX_STACK_LINE(21) - this->position = 0.0; -} -; - return null(); -} - -SampleDataEvent_obj::~SampleDataEvent_obj() { } - -Dynamic SampleDataEvent_obj::__CreateEmpty() { return new SampleDataEvent_obj; } -hx::ObjectPtr< SampleDataEvent_obj > SampleDataEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable) -{ hx::ObjectPtr< SampleDataEvent_obj > result = new SampleDataEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable); - return result;} - -Dynamic SampleDataEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SampleDataEvent_obj > result = new SampleDataEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -::String SampleDataEvent_obj::toString( ){ - HX_STACK_PUSH("SampleDataEvent::toString","neash/events/SampleDataEvent.hx",32); - HX_STACK_THIS(this); - HX_STACK_LINE(32) - return ((((((HX_CSTRING("[SampleDataEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING("]")); -} - - -::neash::events::Event SampleDataEvent_obj::clone( ){ - HX_STACK_PUSH("SampleDataEvent::clone","neash/events/SampleDataEvent.hx",26); - HX_STACK_THIS(this); - HX_STACK_LINE(26) - return ::neash::events::SampleDataEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable()); -} - - -::String SampleDataEvent_obj::SAMPLE_DATA; - - -SampleDataEvent_obj::SampleDataEvent_obj() -{ -} - -void SampleDataEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SampleDataEvent); - HX_MARK_MEMBER_NAME(position,"position"); - HX_MARK_MEMBER_NAME(data,"data"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void SampleDataEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(position,"position"); - HX_VISIT_MEMBER_NAME(data,"data"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic SampleDataEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"data") ) { return data; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - if (HX_FIELD_EQ(inName,"position") ) { return position; } - break; - case 11: - if (HX_FIELD_EQ(inName,"SAMPLE_DATA") ) { return SAMPLE_DATA; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SampleDataEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"data") ) { data=inValue.Cast< ::neash::utils::ByteArray >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"position") ) { position=inValue.Cast< Float >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"SAMPLE_DATA") ) { SAMPLE_DATA=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SampleDataEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("position")); - outFields->push(HX_CSTRING("data")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("SAMPLE_DATA"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("position"), - HX_CSTRING("data"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SampleDataEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(SampleDataEvent_obj::SAMPLE_DATA,"SAMPLE_DATA"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SampleDataEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(SampleDataEvent_obj::SAMPLE_DATA,"SAMPLE_DATA"); -}; - -Class SampleDataEvent_obj::__mClass; - -void SampleDataEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.SampleDataEvent"), hx::TCanCast< SampleDataEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SampleDataEvent_obj::__boot() -{ - SAMPLE_DATA= HX_CSTRING("sampleData"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/TextEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/TextEvent.cpp deleted file mode 100644 index 36ff8e7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/TextEvent.cpp +++ /dev/null @@ -1,160 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_TextEvent -#include -#endif -namespace neash{ -namespace events{ - -Void TextEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text) -{ -HX_STACK_PUSH("TextEvent::new","neash/events/TextEvent.hx",14); -bool bubbles = __o_bubbles.Default(false); -bool cancelable = __o_cancelable.Default(false); -::String text = __o_text.Default(HX_CSTRING("")); -{ - HX_STACK_LINE(15) - super::__construct(type,bubbles,cancelable); - HX_STACK_LINE(16) - this->text = text; -} -; - return null(); -} - -TextEvent_obj::~TextEvent_obj() { } - -Dynamic TextEvent_obj::__CreateEmpty() { return new TextEvent_obj; } -hx::ObjectPtr< TextEvent_obj > TextEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,::String __o_text) -{ hx::ObjectPtr< TextEvent_obj > result = new TextEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_text); - return result;} - -Dynamic TextEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TextEvent_obj > result = new TextEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -::String TextEvent_obj::toString( ){ - HX_STACK_PUSH("TextEvent::toString","neash/events/TextEvent.hx",27); - HX_STACK_THIS(this); - HX_STACK_LINE(27) - return ((((((((HX_CSTRING("[TextEvent type=") + this->nmeGetType()) + HX_CSTRING(" bubbles=")) + ::Std_obj::string(this->nmeGetBubbles())) + HX_CSTRING(" cancelable=")) + ::Std_obj::string(this->nmeGetCancelable())) + HX_CSTRING(" text=")) + this->text) + HX_CSTRING("]")); -} - - -::neash::events::Event TextEvent_obj::clone( ){ - HX_STACK_PUSH("TextEvent::clone","neash/events/TextEvent.hx",21); - HX_STACK_THIS(this); - HX_STACK_LINE(21) - return ::neash::events::TextEvent_obj::__new(this->nmeGetType(),this->nmeGetBubbles(),this->nmeGetCancelable(),this->text); -} - - -::String TextEvent_obj::LINK; - -::String TextEvent_obj::TEXT_INPUT; - - -TextEvent_obj::TextEvent_obj() -{ -} - -void TextEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TextEvent); - HX_MARK_MEMBER_NAME(text,"text"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void TextEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(text,"text"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic TextEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"LINK") ) { return LINK; } - if (HX_FIELD_EQ(inName,"text") ) { return text; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"TEXT_INPUT") ) { return TEXT_INPUT; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TextEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"LINK") ) { LINK=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"text") ) { text=inValue.Cast< ::String >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TEXT_INPUT") ) { TEXT_INPUT=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void TextEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("text")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("LINK"), - HX_CSTRING("TEXT_INPUT"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("clone"), - HX_CSTRING("text"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TextEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(TextEvent_obj::LINK,"LINK"); - HX_MARK_MEMBER_NAME(TextEvent_obj::TEXT_INPUT,"TEXT_INPUT"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TextEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(TextEvent_obj::LINK,"LINK"); - HX_VISIT_MEMBER_NAME(TextEvent_obj::TEXT_INPUT,"TEXT_INPUT"); -}; - -Class TextEvent_obj::__mClass; - -void TextEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.TextEvent"), hx::TCanCast< TextEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TextEvent_obj::__boot() -{ - LINK= HX_CSTRING("link"); - TEXT_INPUT= HX_CSTRING("textInput"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/TouchEvent.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/TouchEvent.cpp deleted file mode 100644 index 1f94ddf..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/events/TouchEvent.cpp +++ /dev/null @@ -1,313 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_MouseEvent -#include -#endif -#ifndef INCLUDED_neash_events_TouchEvent -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -namespace neash{ -namespace events{ - -Void TouchEvent_obj::__construct(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_in_localX,hx::Null< Float > __o_in_localY,hx::Null< Float > __o_in_sizeX,hx::Null< Float > __o_in_sizeY,::neash::display::InteractiveObject in_relatedObject,hx::Null< bool > __o_in_ctrlKey,hx::Null< bool > __o_in_altKey,hx::Null< bool > __o_in_shiftKey,hx::Null< bool > __o_in_buttonDown,hx::Null< int > __o_in_delta,hx::Null< bool > __o_in_commandKey,hx::Null< int > __o_in_clickCount) -{ -HX_STACK_PUSH("TouchEvent::new","neash/events/TouchEvent.hx",27); -bool bubbles = __o_bubbles.Default(true); -bool cancelable = __o_cancelable.Default(false); -Float in_localX = __o_in_localX.Default(0); -Float in_localY = __o_in_localY.Default(0); -Float in_sizeX = __o_in_sizeX.Default(1); -Float in_sizeY = __o_in_sizeY.Default(1); -bool in_ctrlKey = __o_in_ctrlKey.Default(false); -bool in_altKey = __o_in_altKey.Default(false); -bool in_shiftKey = __o_in_shiftKey.Default(false); -bool in_buttonDown = __o_in_buttonDown.Default(false); -int in_delta = __o_in_delta.Default(0); -bool in_commandKey = __o_in_commandKey.Default(false); -int in_clickCount = __o_in_clickCount.Default(0); -{ - HX_STACK_LINE(28) - super::__construct(type,bubbles,cancelable,in_localX,in_localY,in_relatedObject,in_ctrlKey,in_altKey,in_shiftKey,in_buttonDown,in_delta,in_commandKey,in_clickCount); - HX_STACK_LINE(29) - this->touchPointID = (int)0; - HX_STACK_LINE(30) - this->isPrimaryTouchPoint = true; - HX_STACK_LINE(31) - this->sizeX = in_sizeX; - HX_STACK_LINE(32) - this->sizeY = in_sizeY; -} -; - return null(); -} - -TouchEvent_obj::~TouchEvent_obj() { } - -Dynamic TouchEvent_obj::__CreateEmpty() { return new TouchEvent_obj; } -hx::ObjectPtr< TouchEvent_obj > TouchEvent_obj::__new(::String type,hx::Null< bool > __o_bubbles,hx::Null< bool > __o_cancelable,hx::Null< Float > __o_in_localX,hx::Null< Float > __o_in_localY,hx::Null< Float > __o_in_sizeX,hx::Null< Float > __o_in_sizeY,::neash::display::InteractiveObject in_relatedObject,hx::Null< bool > __o_in_ctrlKey,hx::Null< bool > __o_in_altKey,hx::Null< bool > __o_in_shiftKey,hx::Null< bool > __o_in_buttonDown,hx::Null< int > __o_in_delta,hx::Null< bool > __o_in_commandKey,hx::Null< int > __o_in_clickCount) -{ hx::ObjectPtr< TouchEvent_obj > result = new TouchEvent_obj(); - result->__construct(type,__o_bubbles,__o_cancelable,__o_in_localX,__o_in_localY,__o_in_sizeX,__o_in_sizeY,in_relatedObject,__o_in_ctrlKey,__o_in_altKey,__o_in_shiftKey,__o_in_buttonDown,__o_in_delta,__o_in_commandKey,__o_in_clickCount); - return result;} - -Dynamic TouchEvent_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< TouchEvent_obj > result = new TouchEvent_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7],inArgs[8],inArgs[9],inArgs[10],inArgs[11],inArgs[12],inArgs[13],inArgs[14]); - return result;} - -::neash::events::MouseEvent TouchEvent_obj::nmeCreateSimilar( ::String inType,::neash::display::InteractiveObject related,::neash::display::InteractiveObject targ){ - HX_STACK_PUSH("TouchEvent::nmeCreateSimilar","neash/events/TouchEvent.hx",48); - HX_STACK_THIS(this); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(related,"related"); - HX_STACK_ARG(targ,"targ"); - HX_STACK_LINE(49) - ::neash::events::TouchEvent result = ::neash::events::TouchEvent_obj::__new(inType,this->nmeGetBubbles(),this->nmeGetCancelable(),this->localX,this->localY,this->sizeX,this->sizeY,( (((related == null()))) ? ::neash::display::InteractiveObject(this->relatedObject) : ::neash::display::InteractiveObject(related) ),this->ctrlKey,this->altKey,this->shiftKey,this->buttonDown,this->delta,this->commandKey,this->clickCount); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(51) - result->touchPointID = this->touchPointID; - HX_STACK_LINE(52) - result->isPrimaryTouchPoint = this->isPrimaryTouchPoint; - HX_STACK_LINE(53) - if (((targ != null()))){ - HX_STACK_LINE(54) - result->nmeSetTarget(targ); - } - HX_STACK_LINE(55) - return result; -} - - -::String TouchEvent_obj::TOUCH_BEGIN; - -::String TouchEvent_obj::TOUCH_END; - -::String TouchEvent_obj::TOUCH_MOVE; - -::String TouchEvent_obj::TOUCH_OUT; - -::String TouchEvent_obj::TOUCH_OVER; - -::String TouchEvent_obj::TOUCH_ROLL_OUT; - -::String TouchEvent_obj::TOUCH_ROLL_OVER; - -::String TouchEvent_obj::TOUCH_TAP; - -::neash::events::TouchEvent TouchEvent_obj::nmeCreate( ::String inType,Dynamic inEvent,::neash::geom::Point inLocal,::neash::display::InteractiveObject inTarget,Float sizeX,Float sizeY){ - HX_STACK_PUSH("TouchEvent::nmeCreate","neash/events/TouchEvent.hx",37); - HX_STACK_ARG(inType,"inType"); - HX_STACK_ARG(inEvent,"inEvent"); - HX_STACK_ARG(inLocal,"inLocal"); - HX_STACK_ARG(inTarget,"inTarget"); - HX_STACK_ARG(sizeX,"sizeX"); - HX_STACK_ARG(sizeY,"sizeY"); - HX_STACK_LINE(38) - int flags = inEvent->__Field(HX_CSTRING("flags"),true); HX_STACK_VAR(flags,"flags"); - HX_STACK_LINE(39) - ::neash::events::TouchEvent evt = ::neash::events::TouchEvent_obj::__new(inType,true,false,inLocal->x,inLocal->y,sizeX,sizeY,null(),(((int(flags) & int(::neash::events::MouseEvent_obj::efCtrlDown))) != (int)0),(((int(flags) & int(::neash::events::MouseEvent_obj::efAltDown))) != (int)0),(((int(flags) & int(::neash::events::MouseEvent_obj::efShiftDown))) != (int)0),(((int(flags) & int(::neash::events::MouseEvent_obj::efLeftDown))) != (int)0),(int)0,null(),(int)0); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(40) - evt->stageX = inEvent->__Field(HX_CSTRING("x"),true); - HX_STACK_LINE(41) - evt->stageY = inEvent->__Field(HX_CSTRING("y"),true); - HX_STACK_LINE(42) - evt->nmeSetTarget(inTarget); - HX_STACK_LINE(43) - return evt; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC6(TouchEvent_obj,nmeCreate,return ) - - -TouchEvent_obj::TouchEvent_obj() -{ -} - -void TouchEvent_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(TouchEvent); - HX_MARK_MEMBER_NAME(sizeY,"sizeY"); - HX_MARK_MEMBER_NAME(sizeX,"sizeX"); - HX_MARK_MEMBER_NAME(touchPointID,"touchPointID"); - HX_MARK_MEMBER_NAME(isPrimaryTouchPoint,"isPrimaryTouchPoint"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void TouchEvent_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(sizeY,"sizeY"); - HX_VISIT_MEMBER_NAME(sizeX,"sizeX"); - HX_VISIT_MEMBER_NAME(touchPointID,"touchPointID"); - HX_VISIT_MEMBER_NAME(isPrimaryTouchPoint,"isPrimaryTouchPoint"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic TouchEvent_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"sizeY") ) { return sizeY; } - if (HX_FIELD_EQ(inName,"sizeX") ) { return sizeX; } - break; - case 9: - if (HX_FIELD_EQ(inName,"TOUCH_END") ) { return TOUCH_END; } - if (HX_FIELD_EQ(inName,"TOUCH_OUT") ) { return TOUCH_OUT; } - if (HX_FIELD_EQ(inName,"TOUCH_TAP") ) { return TOUCH_TAP; } - if (HX_FIELD_EQ(inName,"nmeCreate") ) { return nmeCreate_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"TOUCH_MOVE") ) { return TOUCH_MOVE; } - if (HX_FIELD_EQ(inName,"TOUCH_OVER") ) { return TOUCH_OVER; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TOUCH_BEGIN") ) { return TOUCH_BEGIN; } - break; - case 12: - if (HX_FIELD_EQ(inName,"touchPointID") ) { return touchPointID; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TOUCH_ROLL_OUT") ) { return TOUCH_ROLL_OUT; } - break; - case 15: - if (HX_FIELD_EQ(inName,"TOUCH_ROLL_OVER") ) { return TOUCH_ROLL_OVER; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeCreateSimilar") ) { return nmeCreateSimilar_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"isPrimaryTouchPoint") ) { return isPrimaryTouchPoint; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic TouchEvent_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"sizeY") ) { sizeY=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"sizeX") ) { sizeX=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"TOUCH_END") ) { TOUCH_END=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TOUCH_OUT") ) { TOUCH_OUT=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TOUCH_TAP") ) { TOUCH_TAP=inValue.Cast< ::String >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"TOUCH_MOVE") ) { TOUCH_MOVE=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"TOUCH_OVER") ) { TOUCH_OVER=inValue.Cast< ::String >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"TOUCH_BEGIN") ) { TOUCH_BEGIN=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"touchPointID") ) { touchPointID=inValue.Cast< int >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"TOUCH_ROLL_OUT") ) { TOUCH_ROLL_OUT=inValue.Cast< ::String >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"TOUCH_ROLL_OVER") ) { TOUCH_ROLL_OVER=inValue.Cast< ::String >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"isPrimaryTouchPoint") ) { isPrimaryTouchPoint=inValue.Cast< bool >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void TouchEvent_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("sizeY")); - outFields->push(HX_CSTRING("sizeX")); - outFields->push(HX_CSTRING("touchPointID")); - outFields->push(HX_CSTRING("isPrimaryTouchPoint")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("TOUCH_BEGIN"), - HX_CSTRING("TOUCH_END"), - HX_CSTRING("TOUCH_MOVE"), - HX_CSTRING("TOUCH_OUT"), - HX_CSTRING("TOUCH_OVER"), - HX_CSTRING("TOUCH_ROLL_OUT"), - HX_CSTRING("TOUCH_ROLL_OVER"), - HX_CSTRING("TOUCH_TAP"), - HX_CSTRING("nmeCreate"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeCreateSimilar"), - HX_CSTRING("sizeY"), - HX_CSTRING("sizeX"), - HX_CSTRING("touchPointID"), - HX_CSTRING("isPrimaryTouchPoint"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(TouchEvent_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_BEGIN,"TOUCH_BEGIN"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_END,"TOUCH_END"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_MOVE,"TOUCH_MOVE"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_OUT,"TOUCH_OUT"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_OVER,"TOUCH_OVER"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_ROLL_OUT,"TOUCH_ROLL_OUT"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_ROLL_OVER,"TOUCH_ROLL_OVER"); - HX_MARK_MEMBER_NAME(TouchEvent_obj::TOUCH_TAP,"TOUCH_TAP"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(TouchEvent_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_BEGIN,"TOUCH_BEGIN"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_END,"TOUCH_END"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_MOVE,"TOUCH_MOVE"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_OUT,"TOUCH_OUT"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_OVER,"TOUCH_OVER"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_ROLL_OUT,"TOUCH_ROLL_OUT"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_ROLL_OVER,"TOUCH_ROLL_OVER"); - HX_VISIT_MEMBER_NAME(TouchEvent_obj::TOUCH_TAP,"TOUCH_TAP"); -}; - -Class TouchEvent_obj::__mClass; - -void TouchEvent_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.events.TouchEvent"), hx::TCanCast< TouchEvent_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void TouchEvent_obj::__boot() -{ - TOUCH_BEGIN= HX_CSTRING("touchBegin"); - TOUCH_END= HX_CSTRING("touchEnd"); - TOUCH_MOVE= HX_CSTRING("touchMove"); - TOUCH_OUT= HX_CSTRING("touchOut"); - TOUCH_OVER= HX_CSTRING("touchOver"); - TOUCH_ROLL_OUT= HX_CSTRING("touchRollOut"); - TOUCH_ROLL_OVER= HX_CSTRING("touchRollOver"); - TOUCH_TAP= HX_CSTRING("touchTap"); -} - -} // end namespace neash -} // end namespace events diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/filters/BitmapFilter.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/filters/BitmapFilter.cpp deleted file mode 100644 index 72205d7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/filters/BitmapFilter.cpp +++ /dev/null @@ -1,119 +0,0 @@ -#include - -#ifndef INCLUDED_neash_filters_BitmapFilter -#include -#endif -namespace neash{ -namespace filters{ - -Void BitmapFilter_obj::__construct(::String inType) -{ -HX_STACK_PUSH("BitmapFilter::new","neash/filters/BitmapFilter.hx",11); -{ - HX_STACK_LINE(11) - this->type = inType; -} -; - return null(); -} - -BitmapFilter_obj::~BitmapFilter_obj() { } - -Dynamic BitmapFilter_obj::__CreateEmpty() { return new BitmapFilter_obj; } -hx::ObjectPtr< BitmapFilter_obj > BitmapFilter_obj::__new(::String inType) -{ hx::ObjectPtr< BitmapFilter_obj > result = new BitmapFilter_obj(); - result->__construct(inType); - return result;} - -Dynamic BitmapFilter_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< BitmapFilter_obj > result = new BitmapFilter_obj(); - result->__construct(inArgs[0]); - return result;} - -::neash::filters::BitmapFilter BitmapFilter_obj::clone( ){ - HX_STACK_PUSH("BitmapFilter::clone","neash/filters/BitmapFilter.hx",17); - HX_STACK_THIS(this); - HX_STACK_LINE(18) - hx::Throw (HX_CSTRING("clone not implemented")); - HX_STACK_LINE(19) - return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(BitmapFilter_obj,clone,return ) - - -BitmapFilter_obj::BitmapFilter_obj() -{ -} - -void BitmapFilter_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(BitmapFilter); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_END_CLASS(); -} - -void BitmapFilter_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(type,"type"); -} - -Dynamic BitmapFilter_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { return type; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic BitmapFilter_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void BitmapFilter_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("type")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("clone"), - HX_CSTRING("type"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(BitmapFilter_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(BitmapFilter_obj::__mClass,"__mClass"); -}; - -Class BitmapFilter_obj::__mClass; - -void BitmapFilter_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.filters.BitmapFilter"), hx::TCanCast< BitmapFilter_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void BitmapFilter_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace filters diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/geom/ColorTransform.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/geom/ColorTransform.cpp deleted file mode 100644 index d5032fa..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/geom/ColorTransform.cpp +++ /dev/null @@ -1,261 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_geom_ColorTransform -#include -#endif -namespace neash{ -namespace geom{ - -Void ColorTransform_obj::__construct(hx::Null< Float > __o_inRedMultiplier,hx::Null< Float > __o_inGreenMultiplier,hx::Null< Float > __o_inBlueMultiplier,hx::Null< Float > __o_inAlphaMultiplier,hx::Null< Float > __o_inRedOffset,hx::Null< Float > __o_inGreenOffset,hx::Null< Float > __o_inBlueOffset,hx::Null< Float > __o_inAlphaOffset) -{ -HX_STACK_PUSH("ColorTransform::new","neash/geom/ColorTransform.hx",24); -Float inRedMultiplier = __o_inRedMultiplier.Default(1.0); -Float inGreenMultiplier = __o_inGreenMultiplier.Default(1.0); -Float inBlueMultiplier = __o_inBlueMultiplier.Default(1.0); -Float inAlphaMultiplier = __o_inAlphaMultiplier.Default(1.0); -Float inRedOffset = __o_inRedOffset.Default(0.0); -Float inGreenOffset = __o_inGreenOffset.Default(0.0); -Float inBlueOffset = __o_inBlueOffset.Default(0.0); -Float inAlphaOffset = __o_inAlphaOffset.Default(0.0); -{ - HX_STACK_LINE(25) - this->redMultiplier = inRedMultiplier; - HX_STACK_LINE(26) - this->greenMultiplier = inGreenMultiplier; - HX_STACK_LINE(27) - this->blueMultiplier = inBlueMultiplier; - HX_STACK_LINE(28) - this->alphaMultiplier = inAlphaMultiplier; - HX_STACK_LINE(29) - this->redOffset = inRedOffset; - HX_STACK_LINE(30) - this->greenOffset = inGreenOffset; - HX_STACK_LINE(31) - this->blueOffset = inBlueOffset; - HX_STACK_LINE(32) - this->alphaOffset = inAlphaOffset; -} -; - return null(); -} - -ColorTransform_obj::~ColorTransform_obj() { } - -Dynamic ColorTransform_obj::__CreateEmpty() { return new ColorTransform_obj; } -hx::ObjectPtr< ColorTransform_obj > ColorTransform_obj::__new(hx::Null< Float > __o_inRedMultiplier,hx::Null< Float > __o_inGreenMultiplier,hx::Null< Float > __o_inBlueMultiplier,hx::Null< Float > __o_inAlphaMultiplier,hx::Null< Float > __o_inRedOffset,hx::Null< Float > __o_inGreenOffset,hx::Null< Float > __o_inBlueOffset,hx::Null< Float > __o_inAlphaOffset) -{ hx::ObjectPtr< ColorTransform_obj > result = new ColorTransform_obj(); - result->__construct(__o_inRedMultiplier,__o_inGreenMultiplier,__o_inBlueMultiplier,__o_inAlphaMultiplier,__o_inRedOffset,__o_inGreenOffset,__o_inBlueOffset,__o_inAlphaOffset); - return result;} - -Dynamic ColorTransform_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ColorTransform_obj > result = new ColorTransform_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5],inArgs[6],inArgs[7]); - return result;} - -int ColorTransform_obj::nmeSetColor( int value){ - HX_STACK_PUSH("ColorTransform::nmeSetColor","neash/geom/ColorTransform.hx",55); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(56) - this->redOffset = (int((int(value) >> int((int)16))) & int((int)255)); - HX_STACK_LINE(57) - this->greenOffset = (int((int(value) >> int((int)8))) & int((int)255)); - HX_STACK_LINE(58) - this->blueOffset = (int(value) & int((int)255)); - HX_STACK_LINE(60) - this->redMultiplier = (int)0; - HX_STACK_LINE(61) - this->greenMultiplier = (int)0; - HX_STACK_LINE(62) - this->blueMultiplier = (int)0; - HX_STACK_LINE(64) - return this->nmeGetColor(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ColorTransform_obj,nmeSetColor,return ) - -int ColorTransform_obj::nmeGetColor( ){ - HX_STACK_PUSH("ColorTransform::nmeGetColor","neash/geom/ColorTransform.hx",49); - HX_STACK_THIS(this); - HX_STACK_LINE(49) - return (int((int((int(::Std_obj::_int(this->redOffset)) << int((int)16))) | int((int(::Std_obj::_int(this->greenOffset)) << int((int)8))))) | int(::Std_obj::_int(this->blueOffset))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ColorTransform_obj,nmeGetColor,return ) - -Void ColorTransform_obj::concat( ::neash::geom::ColorTransform second){ -{ - HX_STACK_PUSH("ColorTransform::concat","neash/geom/ColorTransform.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(second,"second"); - HX_STACK_LINE(38) - hx::AddEq(this->redMultiplier,second->redMultiplier); - HX_STACK_LINE(39) - hx::AddEq(this->greenMultiplier,second->greenMultiplier); - HX_STACK_LINE(40) - hx::AddEq(this->blueMultiplier,second->blueMultiplier); - HX_STACK_LINE(41) - hx::AddEq(this->alphaMultiplier,second->alphaMultiplier); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ColorTransform_obj,concat,(void)) - - -ColorTransform_obj::ColorTransform_obj() -{ -} - -void ColorTransform_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ColorTransform); - HX_MARK_MEMBER_NAME(redOffset,"redOffset"); - HX_MARK_MEMBER_NAME(redMultiplier,"redMultiplier"); - HX_MARK_MEMBER_NAME(greenOffset,"greenOffset"); - HX_MARK_MEMBER_NAME(greenMultiplier,"greenMultiplier"); - HX_MARK_MEMBER_NAME(color,"color"); - HX_MARK_MEMBER_NAME(blueOffset,"blueOffset"); - HX_MARK_MEMBER_NAME(blueMultiplier,"blueMultiplier"); - HX_MARK_MEMBER_NAME(alphaOffset,"alphaOffset"); - HX_MARK_MEMBER_NAME(alphaMultiplier,"alphaMultiplier"); - HX_MARK_END_CLASS(); -} - -void ColorTransform_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(redOffset,"redOffset"); - HX_VISIT_MEMBER_NAME(redMultiplier,"redMultiplier"); - HX_VISIT_MEMBER_NAME(greenOffset,"greenOffset"); - HX_VISIT_MEMBER_NAME(greenMultiplier,"greenMultiplier"); - HX_VISIT_MEMBER_NAME(color,"color"); - HX_VISIT_MEMBER_NAME(blueOffset,"blueOffset"); - HX_VISIT_MEMBER_NAME(blueMultiplier,"blueMultiplier"); - HX_VISIT_MEMBER_NAME(alphaOffset,"alphaOffset"); - HX_VISIT_MEMBER_NAME(alphaMultiplier,"alphaMultiplier"); -} - -Dynamic ColorTransform_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"color") ) { return inCallProp ? nmeGetColor() : color; } - break; - case 6: - if (HX_FIELD_EQ(inName,"concat") ) { return concat_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"redOffset") ) { return redOffset; } - break; - case 10: - if (HX_FIELD_EQ(inName,"blueOffset") ) { return blueOffset; } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeSetColor") ) { return nmeSetColor_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetColor") ) { return nmeGetColor_dyn(); } - if (HX_FIELD_EQ(inName,"greenOffset") ) { return greenOffset; } - if (HX_FIELD_EQ(inName,"alphaOffset") ) { return alphaOffset; } - break; - case 13: - if (HX_FIELD_EQ(inName,"redMultiplier") ) { return redMultiplier; } - break; - case 14: - if (HX_FIELD_EQ(inName,"blueMultiplier") ) { return blueMultiplier; } - break; - case 15: - if (HX_FIELD_EQ(inName,"greenMultiplier") ) { return greenMultiplier; } - if (HX_FIELD_EQ(inName,"alphaMultiplier") ) { return alphaMultiplier; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ColorTransform_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"color") ) { if (inCallProp) return nmeSetColor(inValue);color=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"redOffset") ) { redOffset=inValue.Cast< Float >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"blueOffset") ) { blueOffset=inValue.Cast< Float >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"greenOffset") ) { greenOffset=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"alphaOffset") ) { alphaOffset=inValue.Cast< Float >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"redMultiplier") ) { redMultiplier=inValue.Cast< Float >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"blueMultiplier") ) { blueMultiplier=inValue.Cast< Float >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"greenMultiplier") ) { greenMultiplier=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"alphaMultiplier") ) { alphaMultiplier=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ColorTransform_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("redOffset")); - outFields->push(HX_CSTRING("redMultiplier")); - outFields->push(HX_CSTRING("greenOffset")); - outFields->push(HX_CSTRING("greenMultiplier")); - outFields->push(HX_CSTRING("color")); - outFields->push(HX_CSTRING("blueOffset")); - outFields->push(HX_CSTRING("blueMultiplier")); - outFields->push(HX_CSTRING("alphaOffset")); - outFields->push(HX_CSTRING("alphaMultiplier")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetColor"), - HX_CSTRING("nmeGetColor"), - HX_CSTRING("concat"), - HX_CSTRING("redOffset"), - HX_CSTRING("redMultiplier"), - HX_CSTRING("greenOffset"), - HX_CSTRING("greenMultiplier"), - HX_CSTRING("color"), - HX_CSTRING("blueOffset"), - HX_CSTRING("blueMultiplier"), - HX_CSTRING("alphaOffset"), - HX_CSTRING("alphaMultiplier"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ColorTransform_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ColorTransform_obj::__mClass,"__mClass"); -}; - -Class ColorTransform_obj::__mClass; - -void ColorTransform_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.geom.ColorTransform"), hx::TCanCast< ColorTransform_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ColorTransform_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/geom/Matrix.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/geom/Matrix.cpp deleted file mode 100644 index 533e9d1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/geom/Matrix.cpp +++ /dev/null @@ -1,561 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -namespace neash{ -namespace geom{ - -Void Matrix_obj::__construct(Dynamic in_a,Dynamic in_b,Dynamic in_c,Dynamic in_d,Dynamic in_tx,Dynamic in_ty) -{ -HX_STACK_PUSH("Matrix::new","neash/geom/Matrix.hx",26); -{ - HX_STACK_LINE(27) - this->a = ( (((in_a == null()))) ? Dynamic(1.0) : Dynamic(in_a) ); - HX_STACK_LINE(28) - this->b = ( (((in_b == null()))) ? Dynamic(0.0) : Dynamic(in_b) ); - HX_STACK_LINE(29) - this->c = ( (((in_c == null()))) ? Dynamic(0.0) : Dynamic(in_c) ); - HX_STACK_LINE(30) - this->d = ( (((in_d == null()))) ? Dynamic(1.0) : Dynamic(in_d) ); - HX_STACK_LINE(31) - this->tx = ( (((in_tx == null()))) ? Dynamic(0.0) : Dynamic(in_tx) ); - HX_STACK_LINE(32) - this->ty = ( (((in_ty == null()))) ? Dynamic(0.0) : Dynamic(in_ty) ); -} -; - return null(); -} - -Matrix_obj::~Matrix_obj() { } - -Dynamic Matrix_obj::__CreateEmpty() { return new Matrix_obj; } -hx::ObjectPtr< Matrix_obj > Matrix_obj::__new(Dynamic in_a,Dynamic in_b,Dynamic in_c,Dynamic in_d,Dynamic in_tx,Dynamic in_ty) -{ hx::ObjectPtr< Matrix_obj > result = new Matrix_obj(); - result->__construct(in_a,in_b,in_c,in_d,in_tx,in_ty); - return result;} - -Dynamic Matrix_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Matrix_obj > result = new Matrix_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3],inArgs[4],inArgs[5]); - return result;} - -Void Matrix_obj::translate( Float inDX,Float inDY){ -{ - HX_STACK_PUSH("Matrix::translate","neash/geom/Matrix.hx",237); - HX_STACK_THIS(this); - HX_STACK_ARG(inDX,"inDX"); - HX_STACK_ARG(inDY,"inDY"); - HX_STACK_LINE(238) - hx::AddEq(this->tx,inDX); - HX_STACK_LINE(239) - hx::AddEq(this->ty,inDY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Matrix_obj,translate,(void)) - -::neash::geom::Point Matrix_obj::transformPoint( ::neash::geom::Point inPos){ - HX_STACK_PUSH("Matrix::transformPoint","neash/geom/Matrix.hx",231); - HX_STACK_THIS(this); - HX_STACK_ARG(inPos,"inPos"); - HX_STACK_LINE(231) - return ::neash::geom::Point_obj::__new((((inPos->x * this->a) + (inPos->y * this->c)) + this->tx),(((inPos->x * this->b) + (inPos->y * this->d)) + this->ty)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,transformPoint,return ) - -Void Matrix_obj::setRotation( Float inTheta,Dynamic inScale){ -{ - HX_STACK_PUSH("Matrix::setRotation","neash/geom/Matrix.hx",221); - HX_STACK_THIS(this); - HX_STACK_ARG(inTheta,"inTheta"); - HX_STACK_ARG(inScale,"inScale"); - HX_STACK_LINE(222) - Float scale = ( (((inScale == null()))) ? Dynamic(1.0) : Dynamic(inScale) ); HX_STACK_VAR(scale,"scale"); - HX_STACK_LINE(223) - this->a = (::Math_obj::cos(inTheta) * scale); - HX_STACK_LINE(224) - this->c = (::Math_obj::sin(inTheta) * scale); - HX_STACK_LINE(225) - this->b = -(this->c); - HX_STACK_LINE(226) - this->d = this->a; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Matrix_obj,setRotation,(void)) - -Void Matrix_obj::scale( Float inSX,Float inSY){ -{ - HX_STACK_PUSH("Matrix::scale","neash/geom/Matrix.hx",208); - HX_STACK_THIS(this); - HX_STACK_ARG(inSX,"inSX"); - HX_STACK_ARG(inSY,"inSY"); - HX_STACK_LINE(209) - hx::MultEq(this->a,inSX); - HX_STACK_LINE(210) - hx::MultEq(this->b,inSY); - HX_STACK_LINE(212) - hx::MultEq(this->c,inSX); - HX_STACK_LINE(213) - hx::MultEq(this->d,inSY); - HX_STACK_LINE(215) - hx::MultEq(this->tx,inSX); - HX_STACK_LINE(216) - hx::MultEq(this->ty,inSY); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Matrix_obj,scale,(void)) - -Void Matrix_obj::rotate( Float inTheta){ -{ - HX_STACK_PUSH("Matrix::rotate","neash/geom/Matrix.hx",182); - HX_STACK_THIS(this); - HX_STACK_ARG(inTheta,"inTheta"); - HX_STACK_LINE(183) - Float cos = ::Math_obj::cos(inTheta); HX_STACK_VAR(cos,"cos"); - HX_STACK_LINE(184) - Float sin = ::Math_obj::sin(inTheta); HX_STACK_VAR(sin,"sin"); - HX_STACK_LINE(186) - Float a1 = ((this->a * cos) - (this->b * sin)); HX_STACK_VAR(a1,"a1"); - HX_STACK_LINE(187) - this->b = ((this->a * sin) + (this->b * cos)); - HX_STACK_LINE(188) - this->a = a1; - HX_STACK_LINE(190) - Float c1 = ((this->c * cos) - (this->d * sin)); HX_STACK_VAR(c1,"c1"); - HX_STACK_LINE(191) - this->d = ((this->c * sin) + (this->d * cos)); - HX_STACK_LINE(192) - this->c = c1; - HX_STACK_LINE(194) - Float tx1 = ((this->tx * cos) - (this->ty * sin)); HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(195) - this->ty = ((this->tx * sin) + (this->ty * cos)); - HX_STACK_LINE(196) - this->tx = tx1; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,rotate,(void)) - -::neash::geom::Matrix Matrix_obj::mult( ::neash::geom::Matrix m){ - HX_STACK_PUSH("Matrix::mult","neash/geom/Matrix.hx",154); - HX_STACK_THIS(this); - HX_STACK_ARG(m,"m"); - HX_STACK_LINE(155) - ::neash::geom::Matrix result = ::neash::geom::Matrix_obj::__new(null(),null(),null(),null(),null(),null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(157) - result->a = ((this->a * m->a) + (this->b * m->c)); - HX_STACK_LINE(158) - result->b = ((this->a * m->b) + (this->b * m->d)); - HX_STACK_LINE(159) - result->c = ((this->c * m->a) + (this->d * m->c)); - HX_STACK_LINE(160) - result->d = ((this->c * m->b) + (this->d * m->d)); - HX_STACK_LINE(162) - result->tx = (((this->tx * m->a) + (this->ty * m->c)) + m->tx); - HX_STACK_LINE(163) - result->ty = (((this->tx * m->b) + (this->ty * m->d)) + m->ty); - HX_STACK_LINE(165) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,mult,return ) - -::neash::geom::Matrix Matrix_obj::invert( ){ - HX_STACK_PUSH("Matrix::invert","neash/geom/Matrix.hx",126); - HX_STACK_THIS(this); - HX_STACK_LINE(127) - Float norm = ((this->a * this->d) - (this->b * this->c)); HX_STACK_VAR(norm,"norm"); - HX_STACK_LINE(129) - if (((norm == (int)0))){ - HX_STACK_LINE(131) - this->a = this->b = this->c = this->d = (int)0; - HX_STACK_LINE(132) - this->tx = -(this->tx); - HX_STACK_LINE(133) - this->ty = -(this->ty); - } - else{ - HX_STACK_LINE(137) - norm = (Float(1.0) / Float(norm)); - HX_STACK_LINE(138) - Float a1 = (this->d * norm); HX_STACK_VAR(a1,"a1"); - HX_STACK_LINE(139) - this->d = (this->a * norm); - HX_STACK_LINE(140) - this->a = a1; - HX_STACK_LINE(141) - hx::MultEq(this->b,-(norm)); - HX_STACK_LINE(142) - hx::MultEq(this->c,-(norm)); - HX_STACK_LINE(144) - Float tx1 = ((-(this->a) * this->tx) - (this->c * this->ty)); HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(145) - this->ty = ((-(this->b) * this->tx) - (this->d * this->ty)); - HX_STACK_LINE(146) - this->tx = tx1; - } - HX_STACK_LINE(149) - return hx::ObjectPtr(this); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix_obj,invert,return ) - -Void Matrix_obj::identity( ){ -{ - HX_STACK_PUSH("Matrix::identity","neash/geom/Matrix.hx",115); - HX_STACK_THIS(this); - HX_STACK_LINE(116) - this->a = (int)1; - HX_STACK_LINE(117) - this->b = (int)0; - HX_STACK_LINE(118) - this->c = (int)0; - HX_STACK_LINE(119) - this->d = (int)1; - HX_STACK_LINE(120) - this->tx = (int)0; - HX_STACK_LINE(121) - this->ty = (int)0; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix_obj,identity,(void)) - -::neash::geom::Point Matrix_obj::deltaTransformPoint( ::neash::geom::Point point){ - HX_STACK_PUSH("Matrix::deltaTransformPoint","neash/geom/Matrix.hx",109); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(109) - return ::neash::geom::Point_obj::__new(((point->x * this->a) + (point->y * this->c)),((point->x * this->b) + (point->y * this->d))); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,deltaTransformPoint,return ) - -Void Matrix_obj::createGradientBox( Float in_width,Float in_height,Dynamic rotation,Dynamic in_tx,Dynamic in_ty){ -{ - HX_STACK_PUSH("Matrix::createGradientBox","neash/geom/Matrix.hx",84); - HX_STACK_THIS(this); - HX_STACK_ARG(in_width,"in_width"); - HX_STACK_ARG(in_height,"in_height"); - HX_STACK_ARG(rotation,"rotation"); - HX_STACK_ARG(in_tx,"in_tx"); - HX_STACK_ARG(in_ty,"in_ty"); - HX_STACK_LINE(85) - this->a = (Float(in_width) / Float(1638.4)); - HX_STACK_LINE(86) - this->d = (Float(in_height) / Float(1638.4)); - HX_STACK_LINE(89) - if (((bool((rotation != null())) && bool((rotation != 0.0))))){ - HX_STACK_LINE(91) - Float cos = ::Math_obj::cos(rotation); HX_STACK_VAR(cos,"cos"); - HX_STACK_LINE(92) - Float sin = ::Math_obj::sin(rotation); HX_STACK_VAR(sin,"sin"); - HX_STACK_LINE(93) - this->b = (sin * this->d); - HX_STACK_LINE(94) - this->c = (-(sin) * this->a); - HX_STACK_LINE(95) - hx::MultEq(this->a,cos); - HX_STACK_LINE(96) - hx::MultEq(this->d,cos); - } - else{ - HX_STACK_LINE(99) - this->b = this->c = (int)0; - } - HX_STACK_LINE(103) - this->tx = ( (((in_tx != null()))) ? Float((in_tx + (Float(in_width) / Float((int)2)))) : Float((Float(in_width) / Float((int)2))) ); - HX_STACK_LINE(104) - this->ty = ( (((in_ty != null()))) ? Float((in_ty + (Float(in_height) / Float((int)2)))) : Float((Float(in_height) / Float((int)2))) ); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(Matrix_obj,createGradientBox,(void)) - -Void Matrix_obj::createBox( Float scaleX,Float scaleY,Dynamic rotation,Dynamic tx,Dynamic ty){ -{ - HX_STACK_PUSH("Matrix::createBox","neash/geom/Matrix.hx",74); - HX_STACK_THIS(this); - HX_STACK_ARG(scaleX,"scaleX"); - HX_STACK_ARG(scaleY,"scaleY"); - HX_STACK_ARG(rotation,"rotation"); - HX_STACK_ARG(tx,"tx"); - HX_STACK_ARG(ty,"ty"); - HX_STACK_LINE(75) - this->a = scaleX; - HX_STACK_LINE(76) - this->d = scaleY; - HX_STACK_LINE(77) - this->b = ( (((rotation == null()))) ? Dynamic(0.0) : Dynamic(rotation) ); - HX_STACK_LINE(78) - this->tx = ( (((tx == null()))) ? Dynamic(0.0) : Dynamic(tx) ); - HX_STACK_LINE(79) - this->ty = ( (((ty == null()))) ? Dynamic(0.0) : Dynamic(ty) ); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(Matrix_obj,createBox,(void)) - -Void Matrix_obj::concat( ::neash::geom::Matrix m){ -{ - HX_STACK_PUSH("Matrix::concat","neash/geom/Matrix.hx",57); - HX_STACK_THIS(this); - HX_STACK_ARG(m,"m"); - HX_STACK_LINE(58) - Float a1 = ((this->a * m->a) + (this->b * m->c)); HX_STACK_VAR(a1,"a1"); - HX_STACK_LINE(59) - this->b = ((this->a * m->b) + (this->b * m->d)); - HX_STACK_LINE(60) - this->a = a1; - HX_STACK_LINE(62) - Float c1 = ((this->c * m->a) + (this->d * m->c)); HX_STACK_VAR(c1,"c1"); - HX_STACK_LINE(63) - this->d = ((this->c * m->b) + (this->d * m->d)); - HX_STACK_LINE(65) - this->c = c1; - HX_STACK_LINE(67) - Float tx1 = (((this->tx * m->a) + (this->ty * m->c)) + m->tx); HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(68) - this->ty = (((this->tx * m->b) + (this->ty * m->d)) + m->ty); - HX_STACK_LINE(69) - this->tx = tx1; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Matrix_obj,concat,(void)) - -::neash::geom::Matrix Matrix_obj::clone( ){ - HX_STACK_PUSH("Matrix::clone","neash/geom/Matrix.hx",37); - HX_STACK_THIS(this); - HX_STACK_LINE(37) - return ::neash::geom::Matrix_obj::__new(this->a,this->b,this->c,this->d,this->tx,this->ty); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Matrix_obj,clone,return ) - - -Matrix_obj::Matrix_obj() -{ -} - -void Matrix_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Matrix); - HX_MARK_MEMBER_NAME(ty,"ty"); - HX_MARK_MEMBER_NAME(tx,"tx"); - HX_MARK_MEMBER_NAME(d,"d"); - HX_MARK_MEMBER_NAME(c,"c"); - HX_MARK_MEMBER_NAME(b,"b"); - HX_MARK_MEMBER_NAME(a,"a"); - HX_MARK_END_CLASS(); -} - -void Matrix_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(ty,"ty"); - HX_VISIT_MEMBER_NAME(tx,"tx"); - HX_VISIT_MEMBER_NAME(d,"d"); - HX_VISIT_MEMBER_NAME(c,"c"); - HX_VISIT_MEMBER_NAME(b,"b"); - HX_VISIT_MEMBER_NAME(a,"a"); -} - -Dynamic Matrix_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"d") ) { return d; } - if (HX_FIELD_EQ(inName,"c") ) { return c; } - if (HX_FIELD_EQ(inName,"b") ) { return b; } - if (HX_FIELD_EQ(inName,"a") ) { return a; } - break; - case 2: - if (HX_FIELD_EQ(inName,"ty") ) { return ty; } - if (HX_FIELD_EQ(inName,"tx") ) { return tx; } - break; - case 4: - if (HX_FIELD_EQ(inName,"mult") ) { return mult_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"scale") ) { return scale_dyn(); } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"rotate") ) { return rotate_dyn(); } - if (HX_FIELD_EQ(inName,"invert") ) { return invert_dyn(); } - if (HX_FIELD_EQ(inName,"concat") ) { return concat_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"identity") ) { return identity_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"translate") ) { return translate_dyn(); } - if (HX_FIELD_EQ(inName,"createBox") ) { return createBox_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"setRotation") ) { return setRotation_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"transformPoint") ) { return transformPoint_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"createGradientBox") ) { return createGradientBox_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"deltaTransformPoint") ) { return deltaTransformPoint_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -static int __id_translate = __hxcpp_field_to_id("translate"); -static int __id_transformPoint = __hxcpp_field_to_id("transformPoint"); -static int __id_setRotation = __hxcpp_field_to_id("setRotation"); -static int __id_scale = __hxcpp_field_to_id("scale"); -static int __id_rotate = __hxcpp_field_to_id("rotate"); -static int __id_mult = __hxcpp_field_to_id("mult"); -static int __id_invert = __hxcpp_field_to_id("invert"); -static int __id_identity = __hxcpp_field_to_id("identity"); -static int __id_deltaTransformPoint = __hxcpp_field_to_id("deltaTransformPoint"); -static int __id_createGradientBox = __hxcpp_field_to_id("createGradientBox"); -static int __id_createBox = __hxcpp_field_to_id("createBox"); -static int __id_concat = __hxcpp_field_to_id("concat"); -static int __id_clone = __hxcpp_field_to_id("clone"); -static int __id_ty = __hxcpp_field_to_id("ty"); -static int __id_tx = __hxcpp_field_to_id("tx"); -static int __id_d = __hxcpp_field_to_id("d"); -static int __id_c = __hxcpp_field_to_id("c"); -static int __id_b = __hxcpp_field_to_id("b"); -static int __id_a = __hxcpp_field_to_id("a"); - - -double Matrix_obj::__INumField(int inFieldID) -{ - if (inFieldID==__id_translate) return translate_dyn(); - if (inFieldID==__id_transformPoint) return transformPoint_dyn(); - if (inFieldID==__id_setRotation) return setRotation_dyn(); - if (inFieldID==__id_scale) return scale_dyn(); - if (inFieldID==__id_rotate) return rotate_dyn(); - if (inFieldID==__id_mult) return mult_dyn(); - if (inFieldID==__id_invert) return invert_dyn(); - if (inFieldID==__id_identity) return identity_dyn(); - if (inFieldID==__id_deltaTransformPoint) return deltaTransformPoint_dyn(); - if (inFieldID==__id_createGradientBox) return createGradientBox_dyn(); - if (inFieldID==__id_createBox) return createBox_dyn(); - if (inFieldID==__id_concat) return concat_dyn(); - if (inFieldID==__id_clone) return clone_dyn(); - if (inFieldID==__id_ty) return ty; - if (inFieldID==__id_tx) return tx; - if (inFieldID==__id_d) return d; - if (inFieldID==__id_c) return c; - if (inFieldID==__id_b) return b; - if (inFieldID==__id_a) return a; - return super::__INumField(inFieldID); -} - -Dynamic Matrix_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"d") ) { d=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"c") ) { c=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"b") ) { b=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"a") ) { a=inValue.Cast< Float >(); return inValue; } - break; - case 2: - if (HX_FIELD_EQ(inName,"ty") ) { ty=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"tx") ) { tx=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Matrix_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("ty")); - outFields->push(HX_CSTRING("tx")); - outFields->push(HX_CSTRING("d")); - outFields->push(HX_CSTRING("c")); - outFields->push(HX_CSTRING("b")); - outFields->push(HX_CSTRING("a")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("translate"), - HX_CSTRING("transformPoint"), - HX_CSTRING("setRotation"), - HX_CSTRING("scale"), - HX_CSTRING("rotate"), - HX_CSTRING("mult"), - HX_CSTRING("invert"), - HX_CSTRING("identity"), - HX_CSTRING("deltaTransformPoint"), - HX_CSTRING("createGradientBox"), - HX_CSTRING("createBox"), - HX_CSTRING("concat"), - HX_CSTRING("clone"), - HX_CSTRING("ty"), - HX_CSTRING("tx"), - HX_CSTRING("d"), - HX_CSTRING("c"), - HX_CSTRING("b"), - HX_CSTRING("a"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Matrix_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Matrix_obj::__mClass,"__mClass"); -}; - -Class Matrix_obj::__mClass; - -void Matrix_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.geom.Matrix"), hx::TCanCast< Matrix_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Matrix_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/geom/Point.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/geom/Point.cpp deleted file mode 100644 index 964a986..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/geom/Point.cpp +++ /dev/null @@ -1,291 +0,0 @@ -#include - -#ifndef INCLUDED_hxMath -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -namespace neash{ -namespace geom{ - -Void Point_obj::__construct(hx::Null< Float > __o_inX,hx::Null< Float > __o_inY) -{ -HX_STACK_PUSH("Point::new","neash/geom/Point.hx",39); -Float inX = __o_inX.Default(0); -Float inY = __o_inY.Default(0); -{ - HX_STACK_LINE(40) - this->x = inX; - HX_STACK_LINE(41) - this->y = inY; -} -; - return null(); -} - -Point_obj::~Point_obj() { } - -Dynamic Point_obj::__CreateEmpty() { return new Point_obj; } -hx::ObjectPtr< Point_obj > Point_obj::__new(hx::Null< Float > __o_inX,hx::Null< Float > __o_inY) -{ hx::ObjectPtr< Point_obj > result = new Point_obj(); - result->__construct(__o_inX,__o_inY); - return result;} - -Dynamic Point_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Point_obj > result = new Point_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -Float Point_obj::nmeGetLength( ){ - HX_STACK_PUSH("Point::nmeGetLength","neash/geom/Point.hx",117); - HX_STACK_THIS(this); - HX_STACK_LINE(117) - return ::Math_obj::sqrt(((this->x * this->x) + (this->y * this->y))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Point_obj,nmeGetLength,return ) - -::neash::geom::Point Point_obj::subtract( ::neash::geom::Point v){ - HX_STACK_PUSH("Point::subtract","neash/geom/Point.hx",106); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(106) - return ::neash::geom::Point_obj::__new((this->x - v->x),(this->y - v->y)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Point_obj,subtract,return ) - -Void Point_obj::offset( Float dx,Float dy){ -{ - HX_STACK_PUSH("Point::offset","neash/geom/Point.hx",93); - HX_STACK_THIS(this); - HX_STACK_ARG(dx,"dx"); - HX_STACK_ARG(dy,"dy"); - HX_STACK_LINE(94) - hx::AddEq(this->x,dx); - HX_STACK_LINE(95) - hx::AddEq(this->y,dy); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Point_obj,offset,(void)) - -Void Point_obj::normalize( Float thickness){ -{ - HX_STACK_PUSH("Point::normalize","neash/geom/Point.hx",78); - HX_STACK_THIS(this); - HX_STACK_ARG(thickness,"thickness"); - HX_STACK_LINE(78) - if (((bool((this->x == (int)0)) && bool((this->y == (int)0))))){ - HX_STACK_LINE(80) - return null(); - } - else{ - HX_STACK_LINE(85) - Float norm = (Float(thickness) / Float(::Math_obj::sqrt(((this->x * this->x) + (this->y * this->y))))); HX_STACK_VAR(norm,"norm"); - HX_STACK_LINE(86) - hx::MultEq(this->x,norm); - HX_STACK_LINE(87) - hx::MultEq(this->y,norm); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Point_obj,normalize,(void)) - -bool Point_obj::equals( ::neash::geom::Point toCompare){ - HX_STACK_PUSH("Point::equals","neash/geom/Point.hx",66); - HX_STACK_THIS(this); - HX_STACK_ARG(toCompare,"toCompare"); - HX_STACK_LINE(66) - return (bool((toCompare->x == this->x)) && bool((toCompare->y == this->y))); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Point_obj,equals,return ) - -::neash::geom::Point Point_obj::clone( ){ - HX_STACK_PUSH("Point::clone","neash/geom/Point.hx",52); - HX_STACK_THIS(this); - HX_STACK_LINE(52) - return ::neash::geom::Point_obj::__new(this->x,this->y); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Point_obj,clone,return ) - -::neash::geom::Point Point_obj::add( ::neash::geom::Point v){ - HX_STACK_PUSH("Point::add","neash/geom/Point.hx",46); - HX_STACK_THIS(this); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(46) - return ::neash::geom::Point_obj::__new((v->x + this->x),(v->y + this->y)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Point_obj,add,return ) - -Float Point_obj::distance( ::neash::geom::Point pt1,::neash::geom::Point pt2){ - HX_STACK_PUSH("Point::distance","neash/geom/Point.hx",58); - HX_STACK_ARG(pt1,"pt1"); - HX_STACK_ARG(pt2,"pt2"); - HX_STACK_LINE(59) - Float dx = (pt1->x - pt2->x); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(60) - Float dy = (pt1->y - pt2->y); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(61) - return ::Math_obj::sqrt(((dx * dx) + (dy * dy))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Point_obj,distance,return ) - -::neash::geom::Point Point_obj::interpolate( ::neash::geom::Point pt1,::neash::geom::Point pt2,Float f){ - HX_STACK_PUSH("Point::interpolate","neash/geom/Point.hx",72); - HX_STACK_ARG(pt1,"pt1"); - HX_STACK_ARG(pt2,"pt2"); - HX_STACK_ARG(f,"f"); - HX_STACK_LINE(72) - return ::neash::geom::Point_obj::__new((pt2->x + (f * ((pt1->x - pt2->x)))),(pt2->y + (f * ((pt1->y - pt2->y))))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(Point_obj,interpolate,return ) - -::neash::geom::Point Point_obj::polar( Float len,Float angle){ - HX_STACK_PUSH("Point::polar","neash/geom/Point.hx",100); - HX_STACK_ARG(len,"len"); - HX_STACK_ARG(angle,"angle"); - HX_STACK_LINE(100) - return ::neash::geom::Point_obj::__new((len * ::Math_obj::cos(angle)),(len * ::Math_obj::sin(angle))); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Point_obj,polar,return ) - - -Point_obj::Point_obj() -{ -} - -void Point_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Point); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(length,"length"); - HX_MARK_END_CLASS(); -} - -void Point_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(length,"length"); -} - -Dynamic Point_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 3: - if (HX_FIELD_EQ(inName,"add") ) { return add_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"polar") ) { return polar_dyn(); } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"offset") ) { return offset_dyn(); } - if (HX_FIELD_EQ(inName,"equals") ) { return equals_dyn(); } - if (HX_FIELD_EQ(inName,"length") ) { return inCallProp ? nmeGetLength() : length; } - break; - case 8: - if (HX_FIELD_EQ(inName,"distance") ) { return distance_dyn(); } - if (HX_FIELD_EQ(inName,"subtract") ) { return subtract_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"normalize") ) { return normalize_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"interpolate") ) { return interpolate_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeGetLength") ) { return nmeGetLength_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Point_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { length=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Point_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("length")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("distance"), - HX_CSTRING("interpolate"), - HX_CSTRING("polar"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetLength"), - HX_CSTRING("subtract"), - HX_CSTRING("offset"), - HX_CSTRING("normalize"), - HX_CSTRING("equals"), - HX_CSTRING("clone"), - HX_CSTRING("add"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("length"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Point_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Point_obj::__mClass,"__mClass"); -}; - -Class Point_obj::__mClass; - -void Point_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.geom.Point"), hx::TCanCast< Point_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Point_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/geom/Rectangle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/geom/Rectangle.cpp deleted file mode 100644 index 342b658..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/geom/Rectangle.cpp +++ /dev/null @@ -1,791 +0,0 @@ -#include - -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Point -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -namespace neash{ -namespace geom{ - -Void Rectangle_obj::__construct(Dynamic inX,Dynamic inY,Dynamic inWidth,Dynamic inHeight) -{ -HX_STACK_PUSH("Rectangle::new","neash/geom/Rectangle.hx",44); -{ - HX_STACK_LINE(45) - this->x = ( (((inX == null()))) ? Dynamic((int)0) : Dynamic(inX) ); - HX_STACK_LINE(46) - this->y = ( (((inY == null()))) ? Dynamic((int)0) : Dynamic(inY) ); - HX_STACK_LINE(47) - this->width = ( (((inWidth == null()))) ? Dynamic((int)0) : Dynamic(inWidth) ); - HX_STACK_LINE(48) - this->height = ( (((inHeight == null()))) ? Dynamic((int)0) : Dynamic(inHeight) ); -} -; - return null(); -} - -Rectangle_obj::~Rectangle_obj() { } - -Dynamic Rectangle_obj::__CreateEmpty() { return new Rectangle_obj; } -hx::ObjectPtr< Rectangle_obj > Rectangle_obj::__new(Dynamic inX,Dynamic inY,Dynamic inWidth,Dynamic inHeight) -{ hx::ObjectPtr< Rectangle_obj > result = new Rectangle_obj(); - result->__construct(inX,inY,inWidth,inHeight); - return result;} - -Dynamic Rectangle_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Rectangle_obj > result = new Rectangle_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -::neash::geom::Point Rectangle_obj::nmeSetTopLeft( ::neash::geom::Point p){ - HX_STACK_PUSH("Rectangle::nmeSetTopLeft","neash/geom/Rectangle.hx",231); - HX_STACK_THIS(this); - HX_STACK_ARG(p,"p"); - HX_STACK_LINE(231) - this->x = p->x; - HX_STACK_LINE(231) - this->y = p->y; - HX_STACK_LINE(231) - return p->clone(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetTopLeft,return ) - -::neash::geom::Point Rectangle_obj::nmeGetTopLeft( ){ - HX_STACK_PUSH("Rectangle::nmeGetTopLeft","neash/geom/Rectangle.hx",230); - HX_STACK_THIS(this); - HX_STACK_LINE(230) - return ::neash::geom::Point_obj::__new(this->x,this->y); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetTopLeft,return ) - -Float Rectangle_obj::nmeSetTop( Float t){ - HX_STACK_PUSH("Rectangle::nmeSetTop","neash/geom/Rectangle.hx",229); - HX_STACK_THIS(this); - HX_STACK_ARG(t,"t"); - HX_STACK_LINE(229) - hx::SubEq(this->height,(t - this->y)); - HX_STACK_LINE(229) - this->y = t; - HX_STACK_LINE(229) - return t; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetTop,return ) - -Float Rectangle_obj::nmeGetTop( ){ - HX_STACK_PUSH("Rectangle::nmeGetTop","neash/geom/Rectangle.hx",228); - HX_STACK_THIS(this); - HX_STACK_LINE(228) - return this->y; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetTop,return ) - -::neash::geom::Point Rectangle_obj::nmeSetSize( ::neash::geom::Point p){ - HX_STACK_PUSH("Rectangle::nmeSetSize","neash/geom/Rectangle.hx",227); - HX_STACK_THIS(this); - HX_STACK_ARG(p,"p"); - HX_STACK_LINE(227) - this->width = p->x; - HX_STACK_LINE(227) - this->height = p->y; - HX_STACK_LINE(227) - return p->clone(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetSize,return ) - -::neash::geom::Point Rectangle_obj::nmeGetSize( ){ - HX_STACK_PUSH("Rectangle::nmeGetSize","neash/geom/Rectangle.hx",226); - HX_STACK_THIS(this); - HX_STACK_LINE(226) - return ::neash::geom::Point_obj::__new(this->width,this->height); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetSize,return ) - -Float Rectangle_obj::nmeSetRight( Float r){ - HX_STACK_PUSH("Rectangle::nmeSetRight","neash/geom/Rectangle.hx",225); - HX_STACK_THIS(this); - HX_STACK_ARG(r,"r"); - HX_STACK_LINE(225) - this->width = (r - this->x); - HX_STACK_LINE(225) - return r; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetRight,return ) - -Float Rectangle_obj::nmeGetRight( ){ - HX_STACK_PUSH("Rectangle::nmeGetRight","neash/geom/Rectangle.hx",224); - HX_STACK_THIS(this); - HX_STACK_LINE(224) - return (this->x + this->width); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetRight,return ) - -Float Rectangle_obj::nmeSetLeft( Float l){ - HX_STACK_PUSH("Rectangle::nmeSetLeft","neash/geom/Rectangle.hx",223); - HX_STACK_THIS(this); - HX_STACK_ARG(l,"l"); - HX_STACK_LINE(223) - hx::SubEq(this->width,(l - this->x)); - HX_STACK_LINE(223) - this->x = l; - HX_STACK_LINE(223) - return l; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetLeft,return ) - -Float Rectangle_obj::nmeGetLeft( ){ - HX_STACK_PUSH("Rectangle::nmeGetLeft","neash/geom/Rectangle.hx",222); - HX_STACK_THIS(this); - HX_STACK_LINE(222) - return this->x; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetLeft,return ) - -::neash::geom::Point Rectangle_obj::nmeSetBottomRight( ::neash::geom::Point p){ - HX_STACK_PUSH("Rectangle::nmeSetBottomRight","neash/geom/Rectangle.hx",221); - HX_STACK_THIS(this); - HX_STACK_ARG(p,"p"); - HX_STACK_LINE(221) - this->width = (p->x - this->x); - HX_STACK_LINE(221) - this->height = (p->y - this->y); - HX_STACK_LINE(221) - return p->clone(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetBottomRight,return ) - -::neash::geom::Point Rectangle_obj::nmeGetBottomRight( ){ - HX_STACK_PUSH("Rectangle::nmeGetBottomRight","neash/geom/Rectangle.hx",220); - HX_STACK_THIS(this); - HX_STACK_LINE(220) - return ::neash::geom::Point_obj::__new((this->x + this->width),(this->y + this->height)); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetBottomRight,return ) - -Float Rectangle_obj::nmeSetBottom( Float b){ - HX_STACK_PUSH("Rectangle::nmeSetBottom","neash/geom/Rectangle.hx",219); - HX_STACK_THIS(this); - HX_STACK_ARG(b,"b"); - HX_STACK_LINE(219) - this->height = (b - this->y); - HX_STACK_LINE(219) - return b; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,nmeSetBottom,return ) - -Float Rectangle_obj::nmeGetBottom( ){ - HX_STACK_PUSH("Rectangle::nmeGetBottom","neash/geom/Rectangle.hx",218); - HX_STACK_THIS(this); - HX_STACK_LINE(218) - return (this->y + this->height); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,nmeGetBottom,return ) - -::neash::geom::Rectangle Rectangle_obj::_union( ::neash::geom::Rectangle toUnion){ - HX_STACK_PUSH("Rectangle::union","neash/geom/Rectangle.hx",204); - HX_STACK_THIS(this); - HX_STACK_ARG(toUnion,"toUnion"); - HX_STACK_LINE(205) - Float x0 = ( (((this->x > toUnion->x))) ? Float(toUnion->x) : Float(this->x) ); HX_STACK_VAR(x0,"x0"); - HX_STACK_LINE(206) - Float x1 = ( (((this->nmeGetRight() < toUnion->nmeGetRight()))) ? Float(toUnion->nmeGetRight()) : Float(this->nmeGetRight()) ); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(207) - Float y0 = ( (((this->y > toUnion->y))) ? Float(toUnion->y) : Float(this->y) ); HX_STACK_VAR(y0,"y0"); - HX_STACK_LINE(208) - Float y1 = ( (((this->nmeGetBottom() < toUnion->nmeGetBottom()))) ? Float(toUnion->nmeGetBottom()) : Float(this->nmeGetBottom()) ); HX_STACK_VAR(y1,"y1"); - HX_STACK_LINE(209) - return ::neash::geom::Rectangle_obj::__new(x0,y0,(x1 - x0),(y1 - y0)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,_union,return ) - -::neash::geom::Rectangle Rectangle_obj::transform( ::neash::geom::Matrix m){ - HX_STACK_PUSH("Rectangle::transform","neash/geom/Rectangle.hx",172); - HX_STACK_THIS(this); - HX_STACK_ARG(m,"m"); - HX_STACK_LINE(173) - Float tx0 = ((m->a * this->x) + (m->c * this->y)); HX_STACK_VAR(tx0,"tx0"); - HX_STACK_LINE(174) - Float tx1 = tx0; HX_STACK_VAR(tx1,"tx1"); - HX_STACK_LINE(175) - Float ty0 = ((m->b * this->x) + (m->d * this->y)); HX_STACK_VAR(ty0,"ty0"); - HX_STACK_LINE(176) - Float ty1 = tx0; HX_STACK_VAR(ty1,"ty1"); - HX_STACK_LINE(178) - Float tx = ((m->a * ((this->x + this->width))) + (m->c * this->y)); HX_STACK_VAR(tx,"tx"); - HX_STACK_LINE(179) - Float ty = ((m->b * ((this->x + this->width))) + (m->d * this->y)); HX_STACK_VAR(ty,"ty"); - HX_STACK_LINE(180) - if (((tx < tx0))){ - HX_STACK_LINE(180) - tx0 = tx; - } - HX_STACK_LINE(181) - if (((ty < ty0))){ - HX_STACK_LINE(181) - ty0 = ty; - } - HX_STACK_LINE(182) - if (((tx > tx1))){ - HX_STACK_LINE(182) - tx1 = tx; - } - HX_STACK_LINE(183) - if (((ty > ty1))){ - HX_STACK_LINE(183) - ty1 = ty; - } - HX_STACK_LINE(185) - tx = ((m->a * ((this->x + this->width))) + (m->c * ((this->y + this->height)))); - HX_STACK_LINE(186) - ty = ((m->b * ((this->x + this->width))) + (m->d * ((this->y + this->height)))); - HX_STACK_LINE(187) - if (((tx < tx0))){ - HX_STACK_LINE(187) - tx0 = tx; - } - HX_STACK_LINE(188) - if (((ty < ty0))){ - HX_STACK_LINE(188) - ty0 = ty; - } - HX_STACK_LINE(189) - if (((tx > tx1))){ - HX_STACK_LINE(189) - tx1 = tx; - } - HX_STACK_LINE(190) - if (((ty > ty1))){ - HX_STACK_LINE(190) - ty1 = ty; - } - HX_STACK_LINE(192) - tx = ((m->a * this->x) + (m->c * ((this->y + this->height)))); - HX_STACK_LINE(193) - ty = ((m->b * this->x) + (m->d * ((this->y + this->height)))); - HX_STACK_LINE(194) - if (((tx < tx0))){ - HX_STACK_LINE(194) - tx0 = tx; - } - HX_STACK_LINE(195) - if (((ty < ty0))){ - HX_STACK_LINE(195) - ty0 = ty; - } - HX_STACK_LINE(196) - if (((tx > tx1))){ - HX_STACK_LINE(196) - tx1 = tx; - } - HX_STACK_LINE(197) - if (((ty > ty1))){ - HX_STACK_LINE(197) - ty1 = ty; - } - HX_STACK_LINE(199) - return ::neash::geom::Rectangle_obj::__new((tx0 + m->tx),(ty0 + m->ty),(tx1 - tx0),(ty1 - ty0)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,transform,return ) - -Void Rectangle_obj::setEmpty( ){ -{ - HX_STACK_PUSH("Rectangle::setEmpty","neash/geom/Rectangle.hx",166); - HX_STACK_THIS(this); - HX_STACK_LINE(166) - this->x = this->y = this->width = this->height = (int)0; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,setEmpty,(void)) - -Void Rectangle_obj::offsetPoint( ::neash::geom::Point point){ -{ - HX_STACK_PUSH("Rectangle::offsetPoint","neash/geom/Rectangle.hx",159); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(160) - hx::AddEq(this->x,point->x); - HX_STACK_LINE(161) - hx::AddEq(this->y,point->y); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,offsetPoint,(void)) - -Void Rectangle_obj::offset( Float dx,Float dy){ -{ - HX_STACK_PUSH("Rectangle::offset","neash/geom/Rectangle.hx",152); - HX_STACK_THIS(this); - HX_STACK_ARG(dx,"dx"); - HX_STACK_ARG(dy,"dy"); - HX_STACK_LINE(153) - hx::AddEq(this->x,dx); - HX_STACK_LINE(154) - hx::AddEq(this->y,dy); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Rectangle_obj,offset,(void)) - -bool Rectangle_obj::isEmpty( ){ - HX_STACK_PUSH("Rectangle::isEmpty","neash/geom/Rectangle.hx",146); - HX_STACK_THIS(this); - HX_STACK_LINE(146) - return (bool((this->width == (int)0)) && bool((this->height == (int)0))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,isEmpty,return ) - -bool Rectangle_obj::intersects( ::neash::geom::Rectangle toIntersect){ - HX_STACK_PUSH("Rectangle::intersects","neash/geom/Rectangle.hx",133); - HX_STACK_THIS(this); - HX_STACK_ARG(toIntersect,"toIntersect"); - HX_STACK_LINE(134) - Float x0 = ( (((this->x < toIntersect->x))) ? Float(toIntersect->x) : Float(this->x) ); HX_STACK_VAR(x0,"x0"); - HX_STACK_LINE(135) - Float x1 = ( (((this->nmeGetRight() > toIntersect->nmeGetRight()))) ? Float(toIntersect->nmeGetRight()) : Float(this->nmeGetRight()) ); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(136) - if (((x1 <= x0))){ - HX_STACK_LINE(137) - return false; - } - HX_STACK_LINE(139) - Float y0 = ( (((this->y < toIntersect->y))) ? Float(toIntersect->y) : Float(this->y) ); HX_STACK_VAR(y0,"y0"); - HX_STACK_LINE(140) - Float y1 = ( (((this->nmeGetBottom() > toIntersect->nmeGetBottom()))) ? Float(toIntersect->nmeGetBottom()) : Float(this->nmeGetBottom()) ); HX_STACK_VAR(y1,"y1"); - HX_STACK_LINE(141) - return (y1 > y0); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,intersects,return ) - -::neash::geom::Rectangle Rectangle_obj::intersection( ::neash::geom::Rectangle toIntersect){ - HX_STACK_PUSH("Rectangle::intersection","neash/geom/Rectangle.hx",117); - HX_STACK_THIS(this); - HX_STACK_ARG(toIntersect,"toIntersect"); - HX_STACK_LINE(118) - Float x0 = ( (((this->x < toIntersect->x))) ? Float(toIntersect->x) : Float(this->x) ); HX_STACK_VAR(x0,"x0"); - HX_STACK_LINE(119) - Float x1 = ( (((this->nmeGetRight() > toIntersect->nmeGetRight()))) ? Float(toIntersect->nmeGetRight()) : Float(this->nmeGetRight()) ); HX_STACK_VAR(x1,"x1"); - HX_STACK_LINE(120) - if (((x1 <= x0))){ - HX_STACK_LINE(121) - return ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); - } - HX_STACK_LINE(123) - Float y0 = ( (((this->y < toIntersect->y))) ? Float(toIntersect->y) : Float(this->y) ); HX_STACK_VAR(y0,"y0"); - HX_STACK_LINE(124) - Float y1 = ( (((this->nmeGetBottom() > toIntersect->nmeGetBottom()))) ? Float(toIntersect->nmeGetBottom()) : Float(this->nmeGetBottom()) ); HX_STACK_VAR(y1,"y1"); - HX_STACK_LINE(125) - if (((y1 <= y0))){ - HX_STACK_LINE(126) - return ::neash::geom::Rectangle_obj::__new(null(),null(),null(),null()); - } - HX_STACK_LINE(128) - return ::neash::geom::Rectangle_obj::__new(x0,y0,(x1 - x0),(y1 - y0)); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,intersection,return ) - -Void Rectangle_obj::inflatePoint( ::neash::geom::Point point){ -{ - HX_STACK_PUSH("Rectangle::inflatePoint","neash/geom/Rectangle.hx",111); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(111) - this->inflate(point->x,point->y); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,inflatePoint,(void)) - -Void Rectangle_obj::inflate( Float dx,Float dy){ -{ - HX_STACK_PUSH("Rectangle::inflate","neash/geom/Rectangle.hx",104); - HX_STACK_THIS(this); - HX_STACK_ARG(dx,"dx"); - HX_STACK_ARG(dy,"dy"); - HX_STACK_LINE(105) - hx::SubEq(this->x,dx); - HX_STACK_LINE(105) - hx::AddEq(this->width,(dx * (int)2)); - HX_STACK_LINE(106) - hx::SubEq(this->y,dy); - HX_STACK_LINE(106) - hx::AddEq(this->height,(dy * (int)2)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Rectangle_obj,inflate,(void)) - -Void Rectangle_obj::extendBounds( ::neash::geom::Rectangle r){ -{ - HX_STACK_PUSH("Rectangle::extendBounds","neash/geom/Rectangle.hx",83); - HX_STACK_THIS(this); - HX_STACK_ARG(r,"r"); - HX_STACK_LINE(84) - Float dx = (this->x - r->x); HX_STACK_VAR(dx,"dx"); - HX_STACK_LINE(85) - if (((dx > (int)0))){ - HX_STACK_LINE(87) - hx::SubEq(this->x,dx); - HX_STACK_LINE(88) - hx::AddEq(this->width,dx); - } - HX_STACK_LINE(90) - Float dy = (this->y - r->y); HX_STACK_VAR(dy,"dy"); - HX_STACK_LINE(91) - if (((dy > (int)0))){ - HX_STACK_LINE(93) - hx::SubEq(this->y,dy); - HX_STACK_LINE(94) - hx::AddEq(this->height,dy); - } - HX_STACK_LINE(96) - if (((r->nmeGetRight() > this->nmeGetRight()))){ - HX_STACK_LINE(97) - this->nmeSetRight(r->nmeGetRight()); - } - HX_STACK_LINE(98) - if (((r->nmeGetBottom() > this->nmeGetBottom()))){ - HX_STACK_LINE(99) - this->nmeSetBottom(r->nmeGetBottom()); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,extendBounds,(void)) - -bool Rectangle_obj::equals( ::neash::geom::Rectangle toCompare){ - HX_STACK_PUSH("Rectangle::equals","neash/geom/Rectangle.hx",77); - HX_STACK_THIS(this); - HX_STACK_ARG(toCompare,"toCompare"); - HX_STACK_LINE(77) - return (bool((bool((bool((this->x == toCompare->x)) && bool((this->y == toCompare->y)))) && bool((this->width == toCompare->width)))) && bool((this->height == toCompare->height))); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,equals,return ) - -bool Rectangle_obj::containsRect( ::neash::geom::Rectangle rect){ - HX_STACK_PUSH("Rectangle::containsRect","neash/geom/Rectangle.hx",71); - HX_STACK_THIS(this); - HX_STACK_ARG(rect,"rect"); - HX_STACK_LINE(71) - return (bool(this->contains(rect->x,rect->y)) && bool(this->containsPoint(rect->nmeGetBottomRight()))); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,containsRect,return ) - -bool Rectangle_obj::containsPoint( ::neash::geom::Point point){ - HX_STACK_PUSH("Rectangle::containsPoint","neash/geom/Rectangle.hx",65); - HX_STACK_THIS(this); - HX_STACK_ARG(point,"point"); - HX_STACK_LINE(65) - return this->contains(point->x,point->y); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Rectangle_obj,containsPoint,return ) - -bool Rectangle_obj::contains( Float inX,Float inY){ - HX_STACK_PUSH("Rectangle::contains","neash/geom/Rectangle.hx",59); - HX_STACK_THIS(this); - HX_STACK_ARG(inX,"inX"); - HX_STACK_ARG(inY,"inY"); - HX_STACK_LINE(59) - return (bool((bool((bool((inX >= this->x)) && bool((inY >= this->y)))) && bool((inX < this->nmeGetRight())))) && bool((inY < this->nmeGetBottom()))); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Rectangle_obj,contains,return ) - -::neash::geom::Rectangle Rectangle_obj::clone( ){ - HX_STACK_PUSH("Rectangle::clone","neash/geom/Rectangle.hx",53); - HX_STACK_THIS(this); - HX_STACK_LINE(53) - return ::neash::geom::Rectangle_obj::__new(this->x,this->y,this->width,this->height); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Rectangle_obj,clone,return ) - - -Rectangle_obj::Rectangle_obj() -{ -} - -void Rectangle_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Rectangle); - HX_MARK_MEMBER_NAME(y,"y"); - HX_MARK_MEMBER_NAME(x,"x"); - HX_MARK_MEMBER_NAME(width,"width"); - HX_MARK_MEMBER_NAME(topLeft,"topLeft"); - HX_MARK_MEMBER_NAME(top,"top"); - HX_MARK_MEMBER_NAME(size,"size"); - HX_MARK_MEMBER_NAME(right,"right"); - HX_MARK_MEMBER_NAME(left,"left"); - HX_MARK_MEMBER_NAME(height,"height"); - HX_MARK_MEMBER_NAME(bottomRight,"bottomRight"); - HX_MARK_MEMBER_NAME(bottom,"bottom"); - HX_MARK_END_CLASS(); -} - -void Rectangle_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(y,"y"); - HX_VISIT_MEMBER_NAME(x,"x"); - HX_VISIT_MEMBER_NAME(width,"width"); - HX_VISIT_MEMBER_NAME(topLeft,"topLeft"); - HX_VISIT_MEMBER_NAME(top,"top"); - HX_VISIT_MEMBER_NAME(size,"size"); - HX_VISIT_MEMBER_NAME(right,"right"); - HX_VISIT_MEMBER_NAME(left,"left"); - HX_VISIT_MEMBER_NAME(height,"height"); - HX_VISIT_MEMBER_NAME(bottomRight,"bottomRight"); - HX_VISIT_MEMBER_NAME(bottom,"bottom"); -} - -Dynamic Rectangle_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { return y; } - if (HX_FIELD_EQ(inName,"x") ) { return x; } - break; - case 3: - if (HX_FIELD_EQ(inName,"top") ) { return inCallProp ? nmeGetTop() : top; } - break; - case 4: - if (HX_FIELD_EQ(inName,"size") ) { return inCallProp ? nmeGetTopLeft() : size; } - if (HX_FIELD_EQ(inName,"left") ) { return inCallProp ? nmeGetLeft() : left; } - break; - case 5: - if (HX_FIELD_EQ(inName,"union") ) { return _union_dyn(); } - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - if (HX_FIELD_EQ(inName,"width") ) { return width; } - if (HX_FIELD_EQ(inName,"right") ) { return inCallProp ? nmeGetRight() : right; } - break; - case 6: - if (HX_FIELD_EQ(inName,"offset") ) { return offset_dyn(); } - if (HX_FIELD_EQ(inName,"equals") ) { return equals_dyn(); } - if (HX_FIELD_EQ(inName,"height") ) { return height; } - if (HX_FIELD_EQ(inName,"bottom") ) { return inCallProp ? nmeGetBottom() : bottom; } - break; - case 7: - if (HX_FIELD_EQ(inName,"isEmpty") ) { return isEmpty_dyn(); } - if (HX_FIELD_EQ(inName,"inflate") ) { return inflate_dyn(); } - if (HX_FIELD_EQ(inName,"topLeft") ) { return inCallProp ? nmeGetTopLeft() : topLeft; } - break; - case 8: - if (HX_FIELD_EQ(inName,"setEmpty") ) { return setEmpty_dyn(); } - if (HX_FIELD_EQ(inName,"contains") ) { return contains_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeSetTop") ) { return nmeSetTop_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTop") ) { return nmeGetTop_dyn(); } - if (HX_FIELD_EQ(inName,"transform") ) { return transform_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeSetSize") ) { return nmeSetSize_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetSize") ) { return nmeGetSize_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetLeft") ) { return nmeSetLeft_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetLeft") ) { return nmeGetLeft_dyn(); } - if (HX_FIELD_EQ(inName,"intersects") ) { return intersects_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeSetRight") ) { return nmeSetRight_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetRight") ) { return nmeGetRight_dyn(); } - if (HX_FIELD_EQ(inName,"offsetPoint") ) { return offsetPoint_dyn(); } - if (HX_FIELD_EQ(inName,"bottomRight") ) { return inCallProp ? nmeGetBottomRight() : bottomRight; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeSetBottom") ) { return nmeSetBottom_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetBottom") ) { return nmeGetBottom_dyn(); } - if (HX_FIELD_EQ(inName,"intersection") ) { return intersection_dyn(); } - if (HX_FIELD_EQ(inName,"inflatePoint") ) { return inflatePoint_dyn(); } - if (HX_FIELD_EQ(inName,"extendBounds") ) { return extendBounds_dyn(); } - if (HX_FIELD_EQ(inName,"containsRect") ) { return containsRect_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"nmeSetTopLeft") ) { return nmeSetTopLeft_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTopLeft") ) { return nmeGetTopLeft_dyn(); } - if (HX_FIELD_EQ(inName,"containsPoint") ) { return containsPoint_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeSetBottomRight") ) { return nmeSetBottomRight_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetBottomRight") ) { return nmeGetBottomRight_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Rectangle_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"y") ) { y=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"x") ) { x=inValue.Cast< Float >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"top") ) { if (inCallProp) return nmeSetTop(inValue);top=inValue.Cast< Float >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"size") ) { if (inCallProp) return nmeSetTopLeft(inValue);size=inValue.Cast< ::neash::geom::Point >(); return inValue; } - if (HX_FIELD_EQ(inName,"left") ) { if (inCallProp) return nmeSetLeft(inValue);left=inValue.Cast< Float >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"width") ) { width=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"right") ) { if (inCallProp) return nmeSetRight(inValue);right=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"height") ) { height=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"bottom") ) { if (inCallProp) return nmeSetBottom(inValue);bottom=inValue.Cast< Float >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"topLeft") ) { if (inCallProp) return nmeSetTopLeft(inValue);topLeft=inValue.Cast< ::neash::geom::Point >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"bottomRight") ) { if (inCallProp) return nmeSetBottomRight(inValue);bottomRight=inValue.Cast< ::neash::geom::Point >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Rectangle_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("y")); - outFields->push(HX_CSTRING("x")); - outFields->push(HX_CSTRING("width")); - outFields->push(HX_CSTRING("topLeft")); - outFields->push(HX_CSTRING("top")); - outFields->push(HX_CSTRING("size")); - outFields->push(HX_CSTRING("right")); - outFields->push(HX_CSTRING("left")); - outFields->push(HX_CSTRING("height")); - outFields->push(HX_CSTRING("bottomRight")); - outFields->push(HX_CSTRING("bottom")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetTopLeft"), - HX_CSTRING("nmeGetTopLeft"), - HX_CSTRING("nmeSetTop"), - HX_CSTRING("nmeGetTop"), - HX_CSTRING("nmeSetSize"), - HX_CSTRING("nmeGetSize"), - HX_CSTRING("nmeSetRight"), - HX_CSTRING("nmeGetRight"), - HX_CSTRING("nmeSetLeft"), - HX_CSTRING("nmeGetLeft"), - HX_CSTRING("nmeSetBottomRight"), - HX_CSTRING("nmeGetBottomRight"), - HX_CSTRING("nmeSetBottom"), - HX_CSTRING("nmeGetBottom"), - HX_CSTRING("union"), - HX_CSTRING("transform"), - HX_CSTRING("setEmpty"), - HX_CSTRING("offsetPoint"), - HX_CSTRING("offset"), - HX_CSTRING("isEmpty"), - HX_CSTRING("intersects"), - HX_CSTRING("intersection"), - HX_CSTRING("inflatePoint"), - HX_CSTRING("inflate"), - HX_CSTRING("extendBounds"), - HX_CSTRING("equals"), - HX_CSTRING("containsRect"), - HX_CSTRING("containsPoint"), - HX_CSTRING("contains"), - HX_CSTRING("clone"), - HX_CSTRING("y"), - HX_CSTRING("x"), - HX_CSTRING("width"), - HX_CSTRING("topLeft"), - HX_CSTRING("top"), - HX_CSTRING("size"), - HX_CSTRING("right"), - HX_CSTRING("left"), - HX_CSTRING("height"), - HX_CSTRING("bottomRight"), - HX_CSTRING("bottom"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Rectangle_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Rectangle_obj::__mClass,"__mClass"); -}; - -Class Rectangle_obj::__mClass; - -void Rectangle_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.geom.Rectangle"), hx::TCanCast< Rectangle_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Rectangle_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/geom/Transform.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/geom/Transform.cpp deleted file mode 100644 index 9863a2f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/geom/Transform.cpp +++ /dev/null @@ -1,270 +0,0 @@ -#include - -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_geom_ColorTransform -#include -#endif -#ifndef INCLUDED_neash_geom_Matrix -#include -#endif -#ifndef INCLUDED_neash_geom_Rectangle -#include -#endif -#ifndef INCLUDED_neash_geom_Transform -#include -#endif -namespace neash{ -namespace geom{ - -Void Transform_obj::__construct(::neash::display::DisplayObject inParent) -{ -HX_STACK_PUSH("Transform::new","neash/geom/Transform.hx",20); -{ - HX_STACK_LINE(20) - this->nmeObj = inParent; -} -; - return null(); -} - -Transform_obj::~Transform_obj() { } - -Dynamic Transform_obj::__CreateEmpty() { return new Transform_obj; } -hx::ObjectPtr< Transform_obj > Transform_obj::__new(::neash::display::DisplayObject inParent) -{ hx::ObjectPtr< Transform_obj > result = new Transform_obj(); - result->__construct(inParent); - return result;} - -Dynamic Transform_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Transform_obj > result = new Transform_obj(); - result->__construct(inArgs[0]); - return result;} - -::neash::geom::Rectangle Transform_obj::nmeGetPixelBounds( ){ - HX_STACK_PUSH("Transform::nmeGetPixelBounds","neash/geom/Transform.hx",36); - HX_STACK_THIS(this); - HX_STACK_LINE(36) - return this->nmeObj->nmeGetPixelBounds(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,nmeGetPixelBounds,return ) - -::neash::geom::Matrix Transform_obj::nmeSetMatrix( ::neash::geom::Matrix inMatrix){ - HX_STACK_PUSH("Transform::nmeSetMatrix","neash/geom/Transform.hx",35); - HX_STACK_THIS(this); - HX_STACK_ARG(inMatrix,"inMatrix"); - HX_STACK_LINE(35) - this->nmeObj->nmeSetMatrix(inMatrix); - HX_STACK_LINE(35) - return inMatrix; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Transform_obj,nmeSetMatrix,return ) - -::neash::geom::Matrix Transform_obj::nmeGetMatrix( ){ - HX_STACK_PUSH("Transform::nmeGetMatrix","neash/geom/Transform.hx",34); - HX_STACK_THIS(this); - HX_STACK_LINE(34) - return this->nmeObj->nmeGetMatrix(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,nmeGetMatrix,return ) - -::neash::geom::Matrix Transform_obj::nmeGetConcatenatedMatrix( ){ - HX_STACK_PUSH("Transform::nmeGetConcatenatedMatrix","neash/geom/Transform.hx",33); - HX_STACK_THIS(this); - HX_STACK_LINE(33) - return this->nmeObj->nmeGetConcatenatedMatrix(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,nmeGetConcatenatedMatrix,return ) - -::neash::geom::ColorTransform Transform_obj::nmeGetConcatenatedColorTransform( ){ - HX_STACK_PUSH("Transform::nmeGetConcatenatedColorTransform","neash/geom/Transform.hx",32); - HX_STACK_THIS(this); - HX_STACK_LINE(32) - return this->nmeObj->nmeGetConcatenatedColorTransform(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,nmeGetConcatenatedColorTransform,return ) - -::neash::geom::ColorTransform Transform_obj::nmeSetColorTransform( ::neash::geom::ColorTransform inTrans){ - HX_STACK_PUSH("Transform::nmeSetColorTransform","neash/geom/Transform.hx",31); - HX_STACK_THIS(this); - HX_STACK_ARG(inTrans,"inTrans"); - HX_STACK_LINE(31) - this->nmeObj->nmeSetColorTransform(inTrans); - HX_STACK_LINE(31) - return inTrans; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Transform_obj,nmeSetColorTransform,return ) - -::neash::geom::ColorTransform Transform_obj::nmeGetColorTransform( ){ - HX_STACK_PUSH("Transform::nmeGetColorTransform","neash/geom/Transform.hx",30); - HX_STACK_THIS(this); - HX_STACK_LINE(30) - return this->nmeObj->nmeGetColorTransform(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Transform_obj,nmeGetColorTransform,return ) - - -Transform_obj::Transform_obj() -{ -} - -void Transform_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Transform); - HX_MARK_MEMBER_NAME(nmeObj,"nmeObj"); - HX_MARK_MEMBER_NAME(pixelBounds,"pixelBounds"); - HX_MARK_MEMBER_NAME(matrix,"matrix"); - HX_MARK_MEMBER_NAME(concatenatedMatrix,"concatenatedMatrix"); - HX_MARK_MEMBER_NAME(concatenatedColorTransform,"concatenatedColorTransform"); - HX_MARK_MEMBER_NAME(colorTransform,"colorTransform"); - HX_MARK_END_CLASS(); -} - -void Transform_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeObj,"nmeObj"); - HX_VISIT_MEMBER_NAME(pixelBounds,"pixelBounds"); - HX_VISIT_MEMBER_NAME(matrix,"matrix"); - HX_VISIT_MEMBER_NAME(concatenatedMatrix,"concatenatedMatrix"); - HX_VISIT_MEMBER_NAME(concatenatedColorTransform,"concatenatedColorTransform"); - HX_VISIT_MEMBER_NAME(colorTransform,"colorTransform"); -} - -Dynamic Transform_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"nmeObj") ) { return nmeObj; } - if (HX_FIELD_EQ(inName,"matrix") ) { return inCallProp ? nmeGetMatrix() : matrix; } - break; - case 11: - if (HX_FIELD_EQ(inName,"pixelBounds") ) { return inCallProp ? nmeGetPixelBounds() : pixelBounds; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeSetMatrix") ) { return nmeSetMatrix_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetMatrix") ) { return nmeGetMatrix_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"colorTransform") ) { return inCallProp ? nmeGetColorTransform() : colorTransform; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeGetPixelBounds") ) { return nmeGetPixelBounds_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"concatenatedMatrix") ) { return inCallProp ? nmeGetConcatenatedMatrix() : concatenatedMatrix; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeSetColorTransform") ) { return nmeSetColorTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetColorTransform") ) { return nmeGetColorTransform_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"nmeGetConcatenatedMatrix") ) { return nmeGetConcatenatedMatrix_dyn(); } - break; - case 26: - if (HX_FIELD_EQ(inName,"concatenatedColorTransform") ) { return inCallProp ? nmeGetConcatenatedColorTransform() : concatenatedColorTransform; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nmeGetConcatenatedColorTransform") ) { return nmeGetConcatenatedColorTransform_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Transform_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"nmeObj") ) { nmeObj=inValue.Cast< ::neash::display::DisplayObject >(); return inValue; } - if (HX_FIELD_EQ(inName,"matrix") ) { if (inCallProp) return nmeSetMatrix(inValue);matrix=inValue.Cast< ::neash::geom::Matrix >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"pixelBounds") ) { pixelBounds=inValue.Cast< ::neash::geom::Rectangle >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"colorTransform") ) { if (inCallProp) return nmeSetColorTransform(inValue);colorTransform=inValue.Cast< ::neash::geom::ColorTransform >(); return inValue; } - break; - case 18: - if (HX_FIELD_EQ(inName,"concatenatedMatrix") ) { concatenatedMatrix=inValue.Cast< ::neash::geom::Matrix >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"concatenatedColorTransform") ) { concatenatedColorTransform=inValue.Cast< ::neash::geom::ColorTransform >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Transform_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeObj")); - outFields->push(HX_CSTRING("pixelBounds")); - outFields->push(HX_CSTRING("matrix")); - outFields->push(HX_CSTRING("concatenatedMatrix")); - outFields->push(HX_CSTRING("concatenatedColorTransform")); - outFields->push(HX_CSTRING("colorTransform")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetPixelBounds"), - HX_CSTRING("nmeSetMatrix"), - HX_CSTRING("nmeGetMatrix"), - HX_CSTRING("nmeGetConcatenatedMatrix"), - HX_CSTRING("nmeGetConcatenatedColorTransform"), - HX_CSTRING("nmeSetColorTransform"), - HX_CSTRING("nmeGetColorTransform"), - HX_CSTRING("nmeObj"), - HX_CSTRING("pixelBounds"), - HX_CSTRING("matrix"), - HX_CSTRING("concatenatedMatrix"), - HX_CSTRING("concatenatedColorTransform"), - HX_CSTRING("colorTransform"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Transform_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Transform_obj::__mClass,"__mClass"); -}; - -Class Transform_obj::__mClass; - -void Transform_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.geom.Transform"), hx::TCanCast< Transform_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Transform_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace geom diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/media/ID3Info.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/media/ID3Info.cpp deleted file mode 100644 index eebc6ac..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/media/ID3Info.cpp +++ /dev/null @@ -1,153 +0,0 @@ -#include - -#ifndef INCLUDED_neash_media_ID3Info -#include -#endif -namespace neash{ -namespace media{ - -Void ID3Info_obj::__construct() -{ -HX_STACK_PUSH("ID3Info::new","neash/media/ID3Info.hx",16); -{ -} -; - return null(); -} - -ID3Info_obj::~ID3Info_obj() { } - -Dynamic ID3Info_obj::__CreateEmpty() { return new ID3Info_obj; } -hx::ObjectPtr< ID3Info_obj > ID3Info_obj::__new() -{ hx::ObjectPtr< ID3Info_obj > result = new ID3Info_obj(); - result->__construct(); - return result;} - -Dynamic ID3Info_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ID3Info_obj > result = new ID3Info_obj(); - result->__construct(); - return result;} - - -ID3Info_obj::ID3Info_obj() -{ -} - -void ID3Info_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ID3Info); - HX_MARK_MEMBER_NAME(year,"year"); - HX_MARK_MEMBER_NAME(track,"track"); - HX_MARK_MEMBER_NAME(songName,"songName"); - HX_MARK_MEMBER_NAME(genre,"genre"); - HX_MARK_MEMBER_NAME(comment,"comment"); - HX_MARK_MEMBER_NAME(artist,"artist"); - HX_MARK_MEMBER_NAME(album,"album"); - HX_MARK_END_CLASS(); -} - -void ID3Info_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(year,"year"); - HX_VISIT_MEMBER_NAME(track,"track"); - HX_VISIT_MEMBER_NAME(songName,"songName"); - HX_VISIT_MEMBER_NAME(genre,"genre"); - HX_VISIT_MEMBER_NAME(comment,"comment"); - HX_VISIT_MEMBER_NAME(artist,"artist"); - HX_VISIT_MEMBER_NAME(album,"album"); -} - -Dynamic ID3Info_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"year") ) { return year; } - break; - case 5: - if (HX_FIELD_EQ(inName,"track") ) { return track; } - if (HX_FIELD_EQ(inName,"genre") ) { return genre; } - if (HX_FIELD_EQ(inName,"album") ) { return album; } - break; - case 6: - if (HX_FIELD_EQ(inName,"artist") ) { return artist; } - break; - case 7: - if (HX_FIELD_EQ(inName,"comment") ) { return comment; } - break; - case 8: - if (HX_FIELD_EQ(inName,"songName") ) { return songName; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ID3Info_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"year") ) { year=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"track") ) { track=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"genre") ) { genre=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"album") ) { album=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"artist") ) { artist=inValue.Cast< ::String >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"comment") ) { comment=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"songName") ) { songName=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ID3Info_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("year")); - outFields->push(HX_CSTRING("track")); - outFields->push(HX_CSTRING("songName")); - outFields->push(HX_CSTRING("genre")); - outFields->push(HX_CSTRING("comment")); - outFields->push(HX_CSTRING("artist")); - outFields->push(HX_CSTRING("album")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("year"), - HX_CSTRING("track"), - HX_CSTRING("songName"), - HX_CSTRING("genre"), - HX_CSTRING("comment"), - HX_CSTRING("artist"), - HX_CSTRING("album"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ID3Info_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ID3Info_obj::__mClass,"__mClass"); -}; - -Class ID3Info_obj::__mClass; - -void ID3Info_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.media.ID3Info"), hx::TCanCast< ID3Info_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ID3Info_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/media/Sound.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/media/Sound.cpp deleted file mode 100644 index 4f7b806..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/media/Sound.cpp +++ /dev/null @@ -1,718 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_errors_Error -#include -#endif -#ifndef INCLUDED_neash_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IOErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_SampleDataEvent -#include -#endif -#ifndef INCLUDED_neash_events_TextEvent -#include -#endif -#ifndef INCLUDED_neash_media_ID3Info -#include -#endif -#ifndef INCLUDED_neash_media_Sound -#include -#endif -#ifndef INCLUDED_neash_media_SoundChannel -#include -#endif -#ifndef INCLUDED_neash_media_SoundLoaderContext -#include -#endif -#ifndef INCLUDED_neash_media_SoundTransform -#include -#endif -#ifndef INCLUDED_neash_net_URLRequest -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace media{ - -Void Sound_obj::__construct(::neash::net::URLRequest stream,::neash::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic) -{ -HX_STACK_PUSH("Sound::new","neash/media/Sound.hx",31); -bool forcePlayAsMusic = __o_forcePlayAsMusic.Default(false); -{ - HX_STACK_LINE(32) - super::__construct(null()); - HX_STACK_LINE(33) - this->bytesLoaded = this->bytesTotal = (int)0; - HX_STACK_LINE(34) - this->nmeLoading = false; - HX_STACK_LINE(35) - this->nmeDynamicSound = false; - HX_STACK_LINE(36) - if (((stream != null()))){ - HX_STACK_LINE(37) - this->load(stream,context,forcePlayAsMusic); - } -} -; - return null(); -} - -Sound_obj::~Sound_obj() { } - -Dynamic Sound_obj::__CreateEmpty() { return new Sound_obj; } -hx::ObjectPtr< Sound_obj > Sound_obj::__new(::neash::net::URLRequest stream,::neash::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic) -{ hx::ObjectPtr< Sound_obj > result = new Sound_obj(); - result->__construct(stream,context,__o_forcePlayAsMusic); - return result;} - -Dynamic Sound_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Sound_obj > result = new Sound_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -Float Sound_obj::nmeGetLength( ){ - HX_STACK_PUSH("Sound::nmeGetLength","neash/media/Sound.hx",207); - HX_STACK_THIS(this); - HX_STACK_LINE(208) - if (((bool((this->nmeHandle == null())) || bool(this->nmeLoading)))){ - HX_STACK_LINE(209) - return (int)0; - } - HX_STACK_LINE(210) - return ::neash::media::Sound_obj::nme_sound_get_length(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,nmeGetLength,return ) - -bool Sound_obj::nmeGetIsBuffering( ){ - HX_STACK_PUSH("Sound::nmeGetIsBuffering","neash/media/Sound.hx",200); - HX_STACK_THIS(this); - HX_STACK_LINE(201) - this->nmeCheckLoading(); - HX_STACK_LINE(202) - return (bool(this->nmeLoading) && bool((this->nmeHandle == null()))); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,nmeGetIsBuffering,return ) - -::neash::media::ID3Info Sound_obj::nmeGetID3( ){ - HX_STACK_PUSH("Sound::nmeGetID3","neash/media/Sound.hx",189); - HX_STACK_THIS(this); - HX_STACK_LINE(190) - this->nmeCheckLoading(); - HX_STACK_LINE(191) - if (((bool((this->nmeHandle == null())) || bool(this->nmeLoading)))){ - HX_STACK_LINE(192) - return null(); - } - HX_STACK_LINE(193) - ::neash::media::ID3Info id3 = ::neash::media::ID3Info_obj::__new(); HX_STACK_VAR(id3,"id3"); - HX_STACK_LINE(194) - ::neash::media::Sound_obj::nme_sound_get_id3(this->nmeHandle,id3); - HX_STACK_LINE(195) - return id3; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,nmeGetID3,return ) - -::neash::media::SoundChannel Sound_obj::play( hx::Null< Float > __o_startTime,hx::Null< int > __o_loops,::neash::media::SoundTransform sndTransform){ -Float startTime = __o_startTime.Default(0); -int loops = __o_loops.Default(0); - HX_STACK_PUSH("Sound::play","neash/media/Sound.hx",158); - HX_STACK_THIS(this); - HX_STACK_ARG(startTime,"startTime"); - HX_STACK_ARG(loops,"loops"); - HX_STACK_ARG(sndTransform,"sndTransform"); -{ - HX_STACK_LINE(159) - this->nmeCheckLoading(); - HX_STACK_LINE(160) - if ((this->nmeDynamicSound)){ - HX_STACK_LINE(162) - ::neash::events::SampleDataEvent request = ::neash::events::SampleDataEvent_obj::__new(::neash::events::SampleDataEvent_obj::SAMPLE_DATA,null(),null()); HX_STACK_VAR(request,"request"); - HX_STACK_LINE(163) - this->dispatchEvent(request); - HX_STACK_LINE(164) - if (((request->data->length > (int)0))){ - HX_STACK_LINE(165) - this->nmeHandle = ::neash::media::Sound_obj::nme_sound_channel_create_dynamic(request->data,sndTransform); - } - HX_STACK_LINE(168) - if (((this->nmeHandle == null()))){ - HX_STACK_LINE(169) - return null(); - } - HX_STACK_LINE(170) - ::neash::media::SoundChannel result = ::neash::media::SoundChannel_obj::createDynamic(this->nmeHandle,sndTransform,hx::ObjectPtr(this)); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(171) - this->nmeHandle = null(); - HX_STACK_LINE(172) - return result; - } - else{ - HX_STACK_LINE(176) - if (((bool((this->nmeHandle == null())) || bool(this->nmeLoading)))){ - HX_STACK_LINE(177) - return null(); - } - HX_STACK_LINE(178) - return ::neash::media::SoundChannel_obj::__new(this->nmeHandle,startTime,loops,sndTransform); - } - HX_STACK_LINE(160) - return null(); - } -} - - -HX_DEFINE_DYNAMIC_FUNC3(Sound_obj,play,return ) - -Void Sound_obj::nmeOnError( ::String msg){ -{ - HX_STACK_PUSH("Sound::nmeOnError","neash/media/Sound.hx",150); - HX_STACK_THIS(this); - HX_STACK_ARG(msg,"msg"); - HX_STACK_LINE(151) - this->dispatchEvent(::neash::events::IOErrorEvent_obj::__new(::neash::events::IOErrorEvent_obj::IO_ERROR,true,false,msg,null())); - HX_STACK_LINE(152) - this->nmeHandle = null(); - HX_STACK_LINE(153) - this->nmeLoading = true; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Sound_obj,nmeOnError,(void)) - -Void Sound_obj::nmeCheckLoading( ){ -{ - HX_STACK_PUSH("Sound::nmeCheckLoading","neash/media/Sound.hx",131); - HX_STACK_THIS(this); - HX_STACK_LINE(131) - if (((bool((bool(!(this->nmeDynamicSound)) && bool(this->nmeLoading))) && bool((this->nmeHandle != null()))))){ - HX_STACK_LINE(134) - Dynamic status = ::neash::media::Sound_obj::nme_sound_get_status(this->nmeHandle); HX_STACK_VAR(status,"status"); - HX_STACK_LINE(135) - if (((status == null()))){ - HX_STACK_LINE(136) - hx::Throw (HX_CSTRING("Could not get sound status")); - } - HX_STACK_LINE(137) - this->bytesLoaded = status->__Field(HX_CSTRING("bytesLoaded"),true); - HX_STACK_LINE(138) - this->bytesTotal = status->__Field(HX_CSTRING("bytesTotal"),true); - HX_STACK_LINE(140) - this->nmeLoading = (this->bytesLoaded < this->bytesTotal); - HX_STACK_LINE(141) - if (((status->__Field(HX_CSTRING("error"),true) != null()))){ - HX_STACK_LINE(142) - hx::Throw (status->__Field(HX_CSTRING("error"),true)); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,nmeCheckLoading,(void)) - -Void Sound_obj::loadPCMFromByteArray( ::neash::utils::ByteArray Bytes,int samples,::String __o_format,hx::Null< bool > __o_stereo,hx::Null< Float > __o_sampleRate){ -::String format = __o_format.Default(HX_CSTRING("float")); -bool stereo = __o_stereo.Default(true); -Float sampleRate = __o_sampleRate.Default(44100.0); - HX_STACK_PUSH("Sound::loadPCMFromByteArray","neash/media/Sound.hx",89); - HX_STACK_THIS(this); - HX_STACK_ARG(Bytes,"Bytes"); - HX_STACK_ARG(samples,"samples"); - HX_STACK_ARG(format,"format"); - HX_STACK_ARG(stereo,"stereo"); - HX_STACK_ARG(sampleRate,"sampleRate"); -{ - HX_STACK_LINE(92) - ::neash::utils::ByteArray wav = ::neash::utils::ByteArray_obj::__new(null()); HX_STACK_VAR(wav,"wav"); - HX_STACK_LINE(93) - wav->nmeSetEndian(HX_CSTRING("littleEndian")); - struct _Function_1_1{ - inline static int Block( ::String &format){ - HX_STACK_PUSH("*::closure","neash/media/Sound.hx",95); - { - HX_STACK_LINE(95) - ::String _switch_1 = (format); - if ( ( _switch_1==HX_CSTRING("float"))){ - HX_STACK_LINE(96) - return (int)3; - } - else if ( ( _switch_1==HX_CSTRING("short"))){ - HX_STACK_LINE(97) - return (int)1; - } - else { - HX_STACK_LINE(98) - return hx::Throw (::neash::errors::Error_obj::__new((HX_CSTRING("Unsupported format ") + format),null())); - } -; -; - } - return null(); - } - }; - HX_STACK_LINE(95) - int AudioFormat = _Function_1_1::Block(format); HX_STACK_VAR(AudioFormat,"AudioFormat"); - HX_STACK_LINE(100) - int NumChannels = ( ((stereo)) ? int((int)2) : int((int)1) ); HX_STACK_VAR(NumChannels,"NumChannels"); - HX_STACK_LINE(101) - int SampleRate = ::Std_obj::_int(sampleRate); HX_STACK_VAR(SampleRate,"SampleRate"); - struct _Function_1_2{ - inline static int Block( ::String &format){ - HX_STACK_PUSH("*::closure","neash/media/Sound.hx",102); - { - HX_STACK_LINE(102) - ::String _switch_2 = (format); - if ( ( _switch_2==HX_CSTRING("float"))){ - HX_STACK_LINE(103) - return (int)32; - } - else if ( ( _switch_2==HX_CSTRING("short"))){ - HX_STACK_LINE(104) - return (int)16; - } - else { - HX_STACK_LINE(105) - return hx::Throw (::neash::errors::Error_obj::__new((HX_CSTRING("Unsupported format ") + format),null())); - } -; -; - } - return null(); - } - }; - HX_STACK_LINE(102) - int BitsPerSample = _Function_1_2::Block(format); HX_STACK_VAR(BitsPerSample,"BitsPerSample"); - HX_STACK_LINE(107) - int ByteRate = ::Std_obj::_int((Float(((SampleRate * NumChannels) * BitsPerSample)) / Float((int)8))); HX_STACK_VAR(ByteRate,"ByteRate"); - HX_STACK_LINE(108) - int BlockAlign = ::Std_obj::_int((Float((NumChannels * BitsPerSample)) / Float((int)8))); HX_STACK_VAR(BlockAlign,"BlockAlign"); - HX_STACK_LINE(109) - int NumSamples = ::Std_obj::_int((Float(Bytes->length) / Float(BlockAlign))); HX_STACK_VAR(NumSamples,"NumSamples"); - HX_STACK_LINE(111) - wav->writeUTFBytes(HX_CSTRING("RIFF")); - HX_STACK_LINE(112) - wav->writeInt(((int)36 + Bytes->length)); - HX_STACK_LINE(113) - wav->writeUTFBytes(HX_CSTRING("WAVE")); - HX_STACK_LINE(114) - wav->writeUTFBytes(HX_CSTRING("fmt ")); - HX_STACK_LINE(115) - wav->writeInt((int)16); - HX_STACK_LINE(116) - wav->writeShort(AudioFormat); - HX_STACK_LINE(117) - wav->writeShort(NumChannels); - HX_STACK_LINE(118) - wav->writeInt(SampleRate); - HX_STACK_LINE(119) - wav->writeInt(ByteRate); - HX_STACK_LINE(120) - wav->writeShort(BlockAlign); - HX_STACK_LINE(121) - wav->writeShort(BitsPerSample); - HX_STACK_LINE(122) - wav->writeUTFBytes(HX_CSTRING("data")); - HX_STACK_LINE(123) - wav->writeInt(Bytes->length); - HX_STACK_LINE(124) - wav->writeBytes(Bytes,(int)0,Bytes->length); - HX_STACK_LINE(126) - wav->position = (int)0; - HX_STACK_LINE(127) - this->loadCompressedDataFromByteArray(wav,wav->length,null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC5(Sound_obj,loadPCMFromByteArray,(void)) - -Void Sound_obj::loadCompressedDataFromByteArray( ::neash::utils::ByteArray bytes,int length,hx::Null< bool > __o_forcePlayAsMusic){ -bool forcePlayAsMusic = __o_forcePlayAsMusic.Default(false); - HX_STACK_PUSH("Sound::loadCompressedDataFromByteArray","neash/media/Sound.hx",80); - HX_STACK_THIS(this); - HX_STACK_ARG(bytes,"bytes"); - HX_STACK_ARG(length,"length"); - HX_STACK_ARG(forcePlayAsMusic,"forcePlayAsMusic"); -{ - HX_STACK_LINE(81) - this->bytesLoaded = this->bytesTotal = length; - HX_STACK_LINE(82) - this->nmeHandle = ::neash::media::Sound_obj::nme_sound_from_data(bytes->b,length,forcePlayAsMusic); - HX_STACK_LINE(83) - if (((this->nmeHandle == null()))){ - HX_STACK_LINE(84) - hx::Throw ((HX_CSTRING("Could not load buffer with length: ") + length)); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Sound_obj,loadCompressedDataFromByteArray,(void)) - -Void Sound_obj::load( ::neash::net::URLRequest stream,::neash::media::SoundLoaderContext context,hx::Null< bool > __o_forcePlayAsMusic){ -bool forcePlayAsMusic = __o_forcePlayAsMusic.Default(false); - HX_STACK_PUSH("Sound::load","neash/media/Sound.hx",64); - HX_STACK_THIS(this); - HX_STACK_ARG(stream,"stream"); - HX_STACK_ARG(context,"context"); - HX_STACK_ARG(forcePlayAsMusic,"forcePlayAsMusic"); -{ - HX_STACK_LINE(65) - this->bytesLoaded = this->bytesTotal = (int)0; - HX_STACK_LINE(66) - this->nmeHandle = ::neash::media::Sound_obj::nme_sound_from_file(stream->url,forcePlayAsMusic); - HX_STACK_LINE(67) - if (((this->nmeHandle == null()))){ - HX_STACK_LINE(68) - hx::Throw ((HX_CSTRING("Could not load:") + stream->url)); - } - else{ - HX_STACK_LINE(73) - this->url = stream->url; - HX_STACK_LINE(74) - this->nmeLoading = true; - HX_STACK_LINE(75) - this->nmeLoading = false; - HX_STACK_LINE(76) - this->nmeCheckLoading(); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Sound_obj,load,(void)) - -Void Sound_obj::close( ){ -{ - HX_STACK_PUSH("Sound::close","neash/media/Sound.hx",55); - HX_STACK_THIS(this); - HX_STACK_LINE(56) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(57) - ::neash::media::Sound_obj::nme_sound_close(this->nmeHandle); - } - HX_STACK_LINE(58) - this->nmeHandle = (int)0; - HX_STACK_LINE(59) - this->nmeLoading = false; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Sound_obj,close,(void)) - -Void Sound_obj::addEventListener( ::String type,Dynamic listener,hx::Null< bool > __o_useCapture,hx::Null< int > __o_priority,hx::Null< bool > __o_useWeakReference){ -bool useCapture = __o_useCapture.Default(false); -int priority = __o_priority.Default(0); -bool useWeakReference = __o_useWeakReference.Default(false); - HX_STACK_PUSH("Sound::addEventListener","neash/media/Sound.hx",41); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_ARG(listener,"listener"); - HX_STACK_ARG(useCapture,"useCapture"); - HX_STACK_ARG(priority,"priority"); - HX_STACK_ARG(useWeakReference,"useWeakReference"); -{ - HX_STACK_LINE(42) - this->super::addEventListener(type,listener,useCapture,priority,useWeakReference); - HX_STACK_LINE(43) - if (((type == ::neash::events::SampleDataEvent_obj::SAMPLE_DATA))){ - HX_STACK_LINE(45) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(46) - hx::Throw (HX_CSTRING("Can't use dynamic sound once file loaded")); - } - HX_STACK_LINE(47) - this->nmeDynamicSound = true; - HX_STACK_LINE(48) - this->nmeLoading = false; - } - } -return null(); -} - - -Dynamic Sound_obj::nme_sound_from_file; - -Dynamic Sound_obj::nme_sound_from_data; - -Dynamic Sound_obj::nme_sound_get_id3; - -Dynamic Sound_obj::nme_sound_get_length; - -Dynamic Sound_obj::nme_sound_close; - -Dynamic Sound_obj::nme_sound_get_status; - -Dynamic Sound_obj::nme_sound_channel_create_dynamic; - - -Sound_obj::Sound_obj() -{ -} - -void Sound_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Sound); - HX_MARK_MEMBER_NAME(nmeDynamicSound,"nmeDynamicSound"); - HX_MARK_MEMBER_NAME(nmeLoading,"nmeLoading"); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(url,"url"); - HX_MARK_MEMBER_NAME(length,"length"); - HX_MARK_MEMBER_NAME(isBuffering,"isBuffering"); - HX_MARK_MEMBER_NAME(id3,"id3"); - HX_MARK_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_MARK_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Sound_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeDynamicSound,"nmeDynamicSound"); - HX_VISIT_MEMBER_NAME(nmeLoading,"nmeLoading"); - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(url,"url"); - HX_VISIT_MEMBER_NAME(length,"length"); - HX_VISIT_MEMBER_NAME(isBuffering,"isBuffering"); - HX_VISIT_MEMBER_NAME(id3,"id3"); - HX_VISIT_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_VISIT_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Sound_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"url") ) { return url; } - if (HX_FIELD_EQ(inName,"id3") ) { return inCallProp ? nmeGetID3() : id3; } - break; - case 4: - if (HX_FIELD_EQ(inName,"play") ) { return play_dyn(); } - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { return inCallProp ? nmeGetLength() : length; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeGetID3") ) { return nmeGetID3_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeOnError") ) { return nmeOnError_dyn(); } - if (HX_FIELD_EQ(inName,"nmeLoading") ) { return nmeLoading; } - if (HX_FIELD_EQ(inName,"bytesTotal") ) { return bytesTotal; } - break; - case 11: - if (HX_FIELD_EQ(inName,"isBuffering") ) { return inCallProp ? nmeGetIsBuffering() : isBuffering; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { return bytesLoaded; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeGetLength") ) { return nmeGetLength_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_sound_close") ) { return nme_sound_close; } - if (HX_FIELD_EQ(inName,"nmeCheckLoading") ) { return nmeCheckLoading_dyn(); } - if (HX_FIELD_EQ(inName,"nmeDynamicSound") ) { return nmeDynamicSound; } - break; - case 16: - if (HX_FIELD_EQ(inName,"addEventListener") ) { return addEventListener_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_sound_get_id3") ) { return nme_sound_get_id3; } - if (HX_FIELD_EQ(inName,"nmeGetIsBuffering") ) { return nmeGetIsBuffering_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_sound_from_file") ) { return nme_sound_from_file; } - if (HX_FIELD_EQ(inName,"nme_sound_from_data") ) { return nme_sound_from_data; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_sound_get_length") ) { return nme_sound_get_length; } - if (HX_FIELD_EQ(inName,"nme_sound_get_status") ) { return nme_sound_get_status; } - if (HX_FIELD_EQ(inName,"loadPCMFromByteArray") ) { return loadPCMFromByteArray_dyn(); } - break; - case 31: - if (HX_FIELD_EQ(inName,"loadCompressedDataFromByteArray") ) { return loadCompressedDataFromByteArray_dyn(); } - break; - case 32: - if (HX_FIELD_EQ(inName,"nme_sound_channel_create_dynamic") ) { return nme_sound_channel_create_dynamic; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Sound_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"url") ) { url=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"id3") ) { id3=inValue.Cast< ::neash::media::ID3Info >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"length") ) { length=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeLoading") ) { nmeLoading=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesTotal") ) { bytesTotal=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"isBuffering") ) { isBuffering=inValue.Cast< bool >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { bytesLoaded=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_sound_close") ) { nme_sound_close=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeDynamicSound") ) { nmeDynamicSound=inValue.Cast< bool >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_sound_get_id3") ) { nme_sound_get_id3=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_sound_from_file") ) { nme_sound_from_file=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_sound_from_data") ) { nme_sound_from_data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_sound_get_length") ) { nme_sound_get_length=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_sound_get_status") ) { nme_sound_get_status=inValue.Cast< Dynamic >(); return inValue; } - break; - case 32: - if (HX_FIELD_EQ(inName,"nme_sound_channel_create_dynamic") ) { nme_sound_channel_create_dynamic=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Sound_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeDynamicSound")); - outFields->push(HX_CSTRING("nmeLoading")); - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("url")); - outFields->push(HX_CSTRING("length")); - outFields->push(HX_CSTRING("isBuffering")); - outFields->push(HX_CSTRING("id3")); - outFields->push(HX_CSTRING("bytesTotal")); - outFields->push(HX_CSTRING("bytesLoaded")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_sound_from_file"), - HX_CSTRING("nme_sound_from_data"), - HX_CSTRING("nme_sound_get_id3"), - HX_CSTRING("nme_sound_get_length"), - HX_CSTRING("nme_sound_close"), - HX_CSTRING("nme_sound_get_status"), - HX_CSTRING("nme_sound_channel_create_dynamic"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeGetLength"), - HX_CSTRING("nmeGetIsBuffering"), - HX_CSTRING("nmeGetID3"), - HX_CSTRING("play"), - HX_CSTRING("nmeOnError"), - HX_CSTRING("nmeCheckLoading"), - HX_CSTRING("loadPCMFromByteArray"), - HX_CSTRING("loadCompressedDataFromByteArray"), - HX_CSTRING("load"), - HX_CSTRING("close"), - HX_CSTRING("addEventListener"), - HX_CSTRING("nmeDynamicSound"), - HX_CSTRING("nmeLoading"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("url"), - HX_CSTRING("length"), - HX_CSTRING("isBuffering"), - HX_CSTRING("id3"), - HX_CSTRING("bytesTotal"), - HX_CSTRING("bytesLoaded"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Sound_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_from_file,"nme_sound_from_file"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_from_data,"nme_sound_from_data"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_get_id3,"nme_sound_get_id3"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_get_length,"nme_sound_get_length"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_close,"nme_sound_close"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_get_status,"nme_sound_get_status"); - HX_MARK_MEMBER_NAME(Sound_obj::nme_sound_channel_create_dynamic,"nme_sound_channel_create_dynamic"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Sound_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_from_file,"nme_sound_from_file"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_from_data,"nme_sound_from_data"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_get_id3,"nme_sound_get_id3"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_get_length,"nme_sound_get_length"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_close,"nme_sound_close"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_get_status,"nme_sound_get_status"); - HX_VISIT_MEMBER_NAME(Sound_obj::nme_sound_channel_create_dynamic,"nme_sound_channel_create_dynamic"); -}; - -Class Sound_obj::__mClass; - -void Sound_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.media.Sound"), hx::TCanCast< Sound_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Sound_obj::__boot() -{ - nme_sound_from_file= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_from_file"),(int)2); - nme_sound_from_data= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_from_data"),(int)3); - nme_sound_get_id3= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_get_id3"),(int)2); - nme_sound_get_length= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_get_length"),(int)1); - nme_sound_close= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_close"),(int)1); - nme_sound_get_status= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_get_status"),(int)1); - nme_sound_channel_create_dynamic= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_create_dynamic"),(int)2); -} - -} // end namespace neash -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/media/SoundChannel.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/media/SoundChannel.cpp deleted file mode 100644 index 13f3c0e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/media/SoundChannel.cpp +++ /dev/null @@ -1,553 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_SampleDataEvent -#include -#endif -#ifndef INCLUDED_neash_media_SoundChannel -#include -#endif -#ifndef INCLUDED_neash_media_SoundTransform -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace media{ - -Void SoundChannel_obj::__construct(Dynamic inSoundHandle,Float startTime,int loops,::neash::media::SoundTransform sndTransform) -{ -HX_STACK_PUSH("SoundChannel::new","neash/media/SoundChannel.hx",28); -{ - HX_STACK_LINE(29) - super::__construct(null()); - HX_STACK_LINE(31) - if (((sndTransform != null()))){ - HX_STACK_LINE(31) - this->nmeTransform = sndTransform->clone(); - } - HX_STACK_LINE(35) - if (((inSoundHandle != null()))){ - HX_STACK_LINE(36) - this->nmeHandle = ::neash::media::SoundChannel_obj::nme_sound_channel_create(inSoundHandle,startTime,loops,this->nmeTransform); - } - HX_STACK_LINE(38) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(39) - ::neash::media::SoundChannel_obj::nmeIncompleteList->push(hx::ObjectPtr(this)); - } -} -; - return null(); -} - -SoundChannel_obj::~SoundChannel_obj() { } - -Dynamic SoundChannel_obj::__CreateEmpty() { return new SoundChannel_obj; } -hx::ObjectPtr< SoundChannel_obj > SoundChannel_obj::__new(Dynamic inSoundHandle,Float startTime,int loops,::neash::media::SoundTransform sndTransform) -{ hx::ObjectPtr< SoundChannel_obj > result = new SoundChannel_obj(); - result->__construct(inSoundHandle,startTime,loops,sndTransform); - return result;} - -Dynamic SoundChannel_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SoundChannel_obj > result = new SoundChannel_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2],inArgs[3]); - return result;} - -::neash::media::SoundTransform SoundChannel_obj::nmeSetTransform( ::neash::media::SoundTransform inTransform){ - HX_STACK_PUSH("SoundChannel::nmeSetTransform","neash/media/SoundChannel.hx",136); - HX_STACK_THIS(this); - HX_STACK_ARG(inTransform,"inTransform"); - HX_STACK_LINE(137) - this->nmeTransform = inTransform->clone(); - HX_STACK_LINE(138) - ::neash::media::SoundChannel_obj::nme_sound_channel_set_transform(this->nmeHandle,this->nmeTransform); - HX_STACK_LINE(140) - return inTransform; -} - - -HX_DEFINE_DYNAMIC_FUNC1(SoundChannel_obj,nmeSetTransform,return ) - -::neash::media::SoundTransform SoundChannel_obj::nmeGetTransform( ){ - HX_STACK_PUSH("SoundChannel::nmeGetTransform","neash/media/SoundChannel.hx",125); - HX_STACK_THIS(this); - HX_STACK_LINE(126) - if (((this->nmeTransform == null()))){ - HX_STACK_LINE(127) - this->nmeTransform = ::neash::media::SoundTransform_obj::__new(null(),null()); - } - HX_STACK_LINE(131) - return this->nmeTransform->clone(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeGetTransform,return ) - -Float SoundChannel_obj::nmeGetPosition( ){ - HX_STACK_PUSH("SoundChannel::nmeGetPosition","neash/media/SoundChannel.hx",121); - HX_STACK_THIS(this); - HX_STACK_LINE(121) - return ::neash::media::SoundChannel_obj::nme_sound_channel_get_position(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeGetPosition,return ) - -Float SoundChannel_obj::nmeGetRight( ){ - HX_STACK_PUSH("SoundChannel::nmeGetRight","neash/media/SoundChannel.hx",120); - HX_STACK_THIS(this); - HX_STACK_LINE(120) - return ::neash::media::SoundChannel_obj::nme_sound_channel_get_right(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeGetRight,return ) - -Float SoundChannel_obj::nmeGetLeft( ){ - HX_STACK_PUSH("SoundChannel::nmeGetLeft","neash/media/SoundChannel.hx",119); - HX_STACK_THIS(this); - HX_STACK_LINE(119) - return ::neash::media::SoundChannel_obj::nme_sound_channel_get_left(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeGetLeft,return ) - -Void SoundChannel_obj::stop( ){ -{ - HX_STACK_PUSH("SoundChannel::stop","neash/media/SoundChannel.hx",109); - HX_STACK_THIS(this); - HX_STACK_LINE(109) - ::neash::media::SoundChannel_obj::nme_sound_channel_stop(this->nmeHandle); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,stop,(void)) - -bool SoundChannel_obj::nmeCheckComplete( ){ - HX_STACK_PUSH("SoundChannel::nmeCheckComplete","neash/media/SoundChannel.hx",56); - HX_STACK_THIS(this); - HX_STACK_LINE(57) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(59) - if (((bool((this->nmeDataProvider != null())) && bool(::neash::media::SoundChannel_obj::nme_sound_channel_needs_data(this->nmeHandle))))){ - HX_STACK_LINE(61) - ::neash::events::SampleDataEvent request = ::neash::events::SampleDataEvent_obj::__new(::neash::events::SampleDataEvent_obj::SAMPLE_DATA,null(),null()); HX_STACK_VAR(request,"request"); - HX_STACK_LINE(62) - request->position = ::neash::media::SoundChannel_obj::nme_sound_channel_get_data_position(this->nmeHandle); - HX_STACK_LINE(63) - this->nmeDataProvider->dispatchEvent(request); - HX_STACK_LINE(64) - if (((request->data->length > (int)0))){ - HX_STACK_LINE(65) - ::neash::media::SoundChannel_obj::nme_sound_channel_add_data(this->nmeHandle,request->data); - } - } - HX_STACK_LINE(68) - if ((::neash::media::SoundChannel_obj::nme_sound_channel_is_complete(this->nmeHandle))){ - HX_STACK_LINE(70) - this->nmeHandle = null(); - HX_STACK_LINE(71) - if (((this->nmeDataProvider != null()))){ - HX_STACK_LINE(72) - (::neash::media::SoundChannel_obj::nmeDynamicSoundCount)--; - } - HX_STACK_LINE(73) - ::neash::events::Event complete = ::neash::events::Event_obj::__new(::neash::events::Event_obj::SOUND_COMPLETE,null(),null()); HX_STACK_VAR(complete,"complete"); - HX_STACK_LINE(74) - this->dispatchEvent(complete); - HX_STACK_LINE(75) - return true; - } - } - HX_STACK_LINE(79) - return false; -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeCheckComplete,return ) - -int SoundChannel_obj::nmeDynamicSoundCount; - -Array< ::neash::media::SoundChannel > SoundChannel_obj::nmeIncompleteList; - -::neash::media::SoundChannel SoundChannel_obj::createDynamic( Dynamic inSoundHandle,::neash::media::SoundTransform sndTransform,::neash::events::EventDispatcher dataProvider){ - HX_STACK_PUSH("SoundChannel::createDynamic","neash/media/SoundChannel.hx",43); - HX_STACK_ARG(inSoundHandle,"inSoundHandle"); - HX_STACK_ARG(sndTransform,"sndTransform"); - HX_STACK_ARG(dataProvider,"dataProvider"); - HX_STACK_LINE(44) - ::neash::media::SoundChannel result = ::neash::media::SoundChannel_obj::__new(null(),(int)0,(int)0,sndTransform); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(45) - result->nmeDataProvider = dataProvider; - HX_STACK_LINE(46) - result->nmeHandle = inSoundHandle; - HX_STACK_LINE(47) - ::neash::media::SoundChannel_obj::nmeIncompleteList->push(result); - HX_STACK_LINE(48) - (::neash::media::SoundChannel_obj::nmeDynamicSoundCount)++; - HX_STACK_LINE(49) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC3(SoundChannel_obj,createDynamic,return ) - -bool SoundChannel_obj::nmeCompletePending( ){ - HX_STACK_PUSH("SoundChannel::nmeCompletePending","neash/media/SoundChannel.hx",84); - HX_STACK_LINE(84) - return (::neash::media::SoundChannel_obj::nmeIncompleteList->length > (int)0); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmeCompletePending,return ) - -Void SoundChannel_obj::nmePollComplete( ){ -{ - HX_STACK_PUSH("SoundChannel::nmePollComplete","neash/media/SoundChannel.hx",90); - HX_STACK_LINE(90) - if (((::neash::media::SoundChannel_obj::nmeIncompleteList->length > (int)0))){ - HX_STACK_LINE(93) - Array< ::neash::media::SoundChannel > incomplete = Array_obj< ::neash::media::SoundChannel >::__new(); HX_STACK_VAR(incomplete,"incomplete"); - HX_STACK_LINE(95) - { - HX_STACK_LINE(95) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::neash::media::SoundChannel > _g1 = ::neash::media::SoundChannel_obj::nmeIncompleteList; HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(95) - while(((_g < _g1->length))){ - HX_STACK_LINE(95) - ::neash::media::SoundChannel channel = _g1->__get(_g); HX_STACK_VAR(channel,"channel"); - HX_STACK_LINE(95) - ++(_g); - HX_STACK_LINE(97) - if ((!(channel->nmeCheckComplete()))){ - HX_STACK_LINE(98) - incomplete->push(channel); - } - } - } - HX_STACK_LINE(103) - ::neash::media::SoundChannel_obj::nmeIncompleteList = incomplete; - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(SoundChannel_obj,nmePollComplete,(void)) - -Dynamic SoundChannel_obj::nme_sound_channel_is_complete; - -Dynamic SoundChannel_obj::nme_sound_channel_get_left; - -Dynamic SoundChannel_obj::nme_sound_channel_get_right; - -Dynamic SoundChannel_obj::nme_sound_channel_get_position; - -Dynamic SoundChannel_obj::nme_sound_channel_get_data_position; - -Dynamic SoundChannel_obj::nme_sound_channel_stop; - -Dynamic SoundChannel_obj::nme_sound_channel_create; - -Dynamic SoundChannel_obj::nme_sound_channel_set_transform; - -Dynamic SoundChannel_obj::nme_sound_channel_needs_data; - -Dynamic SoundChannel_obj::nme_sound_channel_add_data; - - -SoundChannel_obj::SoundChannel_obj() -{ -} - -void SoundChannel_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SoundChannel); - HX_MARK_MEMBER_NAME(nmeDataProvider,"nmeDataProvider"); - HX_MARK_MEMBER_NAME(nmeTransform,"nmeTransform"); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(soundTransform,"soundTransform"); - HX_MARK_MEMBER_NAME(position,"position"); - HX_MARK_MEMBER_NAME(rightPeak,"rightPeak"); - HX_MARK_MEMBER_NAME(leftPeak,"leftPeak"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void SoundChannel_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeDataProvider,"nmeDataProvider"); - HX_VISIT_MEMBER_NAME(nmeTransform,"nmeTransform"); - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(soundTransform,"soundTransform"); - HX_VISIT_MEMBER_NAME(position,"position"); - HX_VISIT_MEMBER_NAME(rightPeak,"rightPeak"); - HX_VISIT_MEMBER_NAME(leftPeak,"leftPeak"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic SoundChannel_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"stop") ) { return stop_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"position") ) { return inCallProp ? nmeGetPosition() : position; } - if (HX_FIELD_EQ(inName,"leftPeak") ) { return inCallProp ? nmeGetLeft() : leftPeak; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - if (HX_FIELD_EQ(inName,"rightPeak") ) { return inCallProp ? nmeGetRight() : rightPeak; } - break; - case 10: - if (HX_FIELD_EQ(inName,"nmeGetLeft") ) { return nmeGetLeft_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"nmeGetRight") ) { return nmeGetRight_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeTransform") ) { return nmeTransform; } - break; - case 13: - if (HX_FIELD_EQ(inName,"createDynamic") ) { return createDynamic_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"nmeGetPosition") ) { return nmeGetPosition_dyn(); } - if (HX_FIELD_EQ(inName,"soundTransform") ) { return inCallProp ? nmeGetTransform() : soundTransform; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmePollComplete") ) { return nmePollComplete_dyn(); } - if (HX_FIELD_EQ(inName,"nmeSetTransform") ) { return nmeSetTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetTransform") ) { return nmeGetTransform_dyn(); } - if (HX_FIELD_EQ(inName,"nmeDataProvider") ) { return nmeDataProvider; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeCheckComplete") ) { return nmeCheckComplete_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeIncompleteList") ) { return nmeIncompleteList; } - break; - case 18: - if (HX_FIELD_EQ(inName,"nmeCompletePending") ) { return nmeCompletePending_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeDynamicSoundCount") ) { return nmeDynamicSoundCount; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_sound_channel_stop") ) { return nme_sound_channel_stop; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_sound_channel_create") ) { return nme_sound_channel_create; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_left") ) { return nme_sound_channel_get_left; } - if (HX_FIELD_EQ(inName,"nme_sound_channel_add_data") ) { return nme_sound_channel_add_data; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_right") ) { return nme_sound_channel_get_right; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_sound_channel_needs_data") ) { return nme_sound_channel_needs_data; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_sound_channel_is_complete") ) { return nme_sound_channel_is_complete; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_position") ) { return nme_sound_channel_get_position; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_sound_channel_set_transform") ) { return nme_sound_channel_set_transform; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_data_position") ) { return nme_sound_channel_get_data_position; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SoundChannel_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"position") ) { position=inValue.Cast< Float >(); return inValue; } - if (HX_FIELD_EQ(inName,"leftPeak") ) { leftPeak=inValue.Cast< Float >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"rightPeak") ) { rightPeak=inValue.Cast< Float >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"nmeTransform") ) { nmeTransform=inValue.Cast< ::neash::media::SoundTransform >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"soundTransform") ) { if (inCallProp) return nmeSetTransform(inValue);soundTransform=inValue.Cast< ::neash::media::SoundTransform >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeDataProvider") ) { nmeDataProvider=inValue.Cast< ::neash::events::EventDispatcher >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeIncompleteList") ) { nmeIncompleteList=inValue.Cast< Array< ::neash::media::SoundChannel > >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeDynamicSoundCount") ) { nmeDynamicSoundCount=inValue.Cast< int >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_sound_channel_stop") ) { nme_sound_channel_stop=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_sound_channel_create") ) { nme_sound_channel_create=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_left") ) { nme_sound_channel_get_left=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_sound_channel_add_data") ) { nme_sound_channel_add_data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 27: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_right") ) { nme_sound_channel_get_right=inValue.Cast< Dynamic >(); return inValue; } - break; - case 28: - if (HX_FIELD_EQ(inName,"nme_sound_channel_needs_data") ) { nme_sound_channel_needs_data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_sound_channel_is_complete") ) { nme_sound_channel_is_complete=inValue.Cast< Dynamic >(); return inValue; } - break; - case 30: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_position") ) { nme_sound_channel_get_position=inValue.Cast< Dynamic >(); return inValue; } - break; - case 31: - if (HX_FIELD_EQ(inName,"nme_sound_channel_set_transform") ) { nme_sound_channel_set_transform=inValue.Cast< Dynamic >(); return inValue; } - break; - case 35: - if (HX_FIELD_EQ(inName,"nme_sound_channel_get_data_position") ) { nme_sound_channel_get_data_position=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SoundChannel_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeDataProvider")); - outFields->push(HX_CSTRING("nmeTransform")); - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("soundTransform")); - outFields->push(HX_CSTRING("position")); - outFields->push(HX_CSTRING("rightPeak")); - outFields->push(HX_CSTRING("leftPeak")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nmeDynamicSoundCount"), - HX_CSTRING("nmeIncompleteList"), - HX_CSTRING("createDynamic"), - HX_CSTRING("nmeCompletePending"), - HX_CSTRING("nmePollComplete"), - HX_CSTRING("nme_sound_channel_is_complete"), - HX_CSTRING("nme_sound_channel_get_left"), - HX_CSTRING("nme_sound_channel_get_right"), - HX_CSTRING("nme_sound_channel_get_position"), - HX_CSTRING("nme_sound_channel_get_data_position"), - HX_CSTRING("nme_sound_channel_stop"), - HX_CSTRING("nme_sound_channel_create"), - HX_CSTRING("nme_sound_channel_set_transform"), - HX_CSTRING("nme_sound_channel_needs_data"), - HX_CSTRING("nme_sound_channel_add_data"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetTransform"), - HX_CSTRING("nmeGetTransform"), - HX_CSTRING("nmeGetPosition"), - HX_CSTRING("nmeGetRight"), - HX_CSTRING("nmeGetLeft"), - HX_CSTRING("stop"), - HX_CSTRING("nmeCheckComplete"), - HX_CSTRING("nmeDataProvider"), - HX_CSTRING("nmeTransform"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("soundTransform"), - HX_CSTRING("position"), - HX_CSTRING("rightPeak"), - HX_CSTRING("leftPeak"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SoundChannel_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nmeDynamicSoundCount,"nmeDynamicSoundCount"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nmeIncompleteList,"nmeIncompleteList"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_is_complete,"nme_sound_channel_is_complete"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_left,"nme_sound_channel_get_left"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_right,"nme_sound_channel_get_right"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_position,"nme_sound_channel_get_position"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_data_position,"nme_sound_channel_get_data_position"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_stop,"nme_sound_channel_stop"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_create,"nme_sound_channel_create"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_set_transform,"nme_sound_channel_set_transform"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_needs_data,"nme_sound_channel_needs_data"); - HX_MARK_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_add_data,"nme_sound_channel_add_data"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SoundChannel_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nmeDynamicSoundCount,"nmeDynamicSoundCount"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nmeIncompleteList,"nmeIncompleteList"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_is_complete,"nme_sound_channel_is_complete"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_left,"nme_sound_channel_get_left"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_right,"nme_sound_channel_get_right"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_position,"nme_sound_channel_get_position"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_get_data_position,"nme_sound_channel_get_data_position"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_stop,"nme_sound_channel_stop"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_create,"nme_sound_channel_create"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_set_transform,"nme_sound_channel_set_transform"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_needs_data,"nme_sound_channel_needs_data"); - HX_VISIT_MEMBER_NAME(SoundChannel_obj::nme_sound_channel_add_data,"nme_sound_channel_add_data"); -}; - -Class SoundChannel_obj::__mClass; - -void SoundChannel_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.media.SoundChannel"), hx::TCanCast< SoundChannel_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SoundChannel_obj::__boot() -{ - nmeDynamicSoundCount= (int)0; - nmeIncompleteList= Array_obj< ::neash::media::SoundChannel >::__new(); - nme_sound_channel_is_complete= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_is_complete"),(int)1); - nme_sound_channel_get_left= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_get_left"),(int)1); - nme_sound_channel_get_right= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_get_right"),(int)1); - nme_sound_channel_get_position= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_get_position"),(int)1); - nme_sound_channel_get_data_position= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_get_data_position"),(int)1); - nme_sound_channel_stop= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_stop"),(int)1); - nme_sound_channel_create= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_create"),(int)4); - nme_sound_channel_set_transform= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_set_transform"),(int)2); - nme_sound_channel_needs_data= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_needs_data"),(int)1); - nme_sound_channel_add_data= ::neash::Loader_obj::load(HX_CSTRING("nme_sound_channel_add_data"),(int)2); -} - -} // end namespace neash -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/media/SoundLoaderContext.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/media/SoundLoaderContext.cpp deleted file mode 100644 index 088402e..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/media/SoundLoaderContext.cpp +++ /dev/null @@ -1,89 +0,0 @@ -#include - -#ifndef INCLUDED_neash_media_SoundLoaderContext -#include -#endif -namespace neash{ -namespace media{ - -Void SoundLoaderContext_obj::__construct() -{ -HX_STACK_PUSH("SoundLoaderContext::new","neash/media/SoundLoaderContext.hx",8); -{ -} -; - return null(); -} - -SoundLoaderContext_obj::~SoundLoaderContext_obj() { } - -Dynamic SoundLoaderContext_obj::__CreateEmpty() { return new SoundLoaderContext_obj; } -hx::ObjectPtr< SoundLoaderContext_obj > SoundLoaderContext_obj::__new() -{ hx::ObjectPtr< SoundLoaderContext_obj > result = new SoundLoaderContext_obj(); - result->__construct(); - return result;} - -Dynamic SoundLoaderContext_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SoundLoaderContext_obj > result = new SoundLoaderContext_obj(); - result->__construct(); - return result;} - - -SoundLoaderContext_obj::SoundLoaderContext_obj() -{ -} - -void SoundLoaderContext_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SoundLoaderContext); - HX_MARK_END_CLASS(); -} - -void SoundLoaderContext_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic SoundLoaderContext_obj::__Field(const ::String &inName,bool inCallProp) -{ - return super::__Field(inName,inCallProp); -} - -Dynamic SoundLoaderContext_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void SoundLoaderContext_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SoundLoaderContext_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SoundLoaderContext_obj::__mClass,"__mClass"); -}; - -Class SoundLoaderContext_obj::__mClass; - -void SoundLoaderContext_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.media.SoundLoaderContext"), hx::TCanCast< SoundLoaderContext_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SoundLoaderContext_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/media/SoundTransform.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/media/SoundTransform.cpp deleted file mode 100644 index e15c09b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/media/SoundTransform.cpp +++ /dev/null @@ -1,131 +0,0 @@ -#include - -#ifndef INCLUDED_neash_media_SoundTransform -#include -#endif -namespace neash{ -namespace media{ - -Void SoundTransform_obj::__construct(hx::Null< Float > __o_vol,hx::Null< Float > __o_panning) -{ -HX_STACK_PUSH("SoundTransform::new","neash/media/SoundTransform.hx",12); -Float vol = __o_vol.Default(1.0); -Float panning = __o_panning.Default(0.0); -{ - HX_STACK_LINE(13) - this->volume = vol; - HX_STACK_LINE(14) - this->pan = panning; -} -; - return null(); -} - -SoundTransform_obj::~SoundTransform_obj() { } - -Dynamic SoundTransform_obj::__CreateEmpty() { return new SoundTransform_obj; } -hx::ObjectPtr< SoundTransform_obj > SoundTransform_obj::__new(hx::Null< Float > __o_vol,hx::Null< Float > __o_panning) -{ hx::ObjectPtr< SoundTransform_obj > result = new SoundTransform_obj(); - result->__construct(__o_vol,__o_panning); - return result;} - -Dynamic SoundTransform_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SoundTransform_obj > result = new SoundTransform_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::neash::media::SoundTransform SoundTransform_obj::clone( ){ - HX_STACK_PUSH("SoundTransform::clone","neash/media/SoundTransform.hx",19); - HX_STACK_THIS(this); - HX_STACK_LINE(19) - return ::neash::media::SoundTransform_obj::__new(this->volume,this->pan); -} - - -HX_DEFINE_DYNAMIC_FUNC0(SoundTransform_obj,clone,return ) - - -SoundTransform_obj::SoundTransform_obj() -{ -} - -void SoundTransform_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SoundTransform); - HX_MARK_MEMBER_NAME(volume,"volume"); - HX_MARK_MEMBER_NAME(pan,"pan"); - HX_MARK_END_CLASS(); -} - -void SoundTransform_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(volume,"volume"); - HX_VISIT_MEMBER_NAME(pan,"pan"); -} - -Dynamic SoundTransform_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"pan") ) { return pan; } - break; - case 5: - if (HX_FIELD_EQ(inName,"clone") ) { return clone_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"volume") ) { return volume; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SoundTransform_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"pan") ) { pan=inValue.Cast< Float >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"volume") ) { volume=inValue.Cast< Float >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void SoundTransform_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("volume")); - outFields->push(HX_CSTRING("pan")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("clone"), - HX_CSTRING("volume"), - HX_CSTRING("pan"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SoundTransform_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SoundTransform_obj::__mClass,"__mClass"); -}; - -Class SoundTransform_obj::__mClass; - -void SoundTransform_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.media.SoundTransform"), hx::TCanCast< SoundTransform_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SoundTransform_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace media diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/net/URLLoader.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/net/URLLoader.cpp deleted file mode 100644 index fb86844..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/net/URLLoader.cpp +++ /dev/null @@ -1,702 +0,0 @@ -#include - -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_events_ErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_Event -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_HTTPStatusEvent -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IOErrorEvent -#include -#endif -#ifndef INCLUDED_neash_events_ProgressEvent -#include -#endif -#ifndef INCLUDED_neash_events_TextEvent -#include -#endif -#ifndef INCLUDED_neash_net_URLLoader -#include -#endif -#ifndef INCLUDED_neash_net_URLLoaderDataFormat -#include -#endif -#ifndef INCLUDED_neash_net_URLRequest -#include -#endif -#ifndef INCLUDED_neash_net_URLVariables -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace net{ - -Void URLLoader_obj::__construct(::neash::net::URLRequest request) -{ -HX_STACK_PUSH("URLLoader::new","neash/net/URLLoader.hx",49); -{ - HX_STACK_LINE(50) - super::__construct(null()); - HX_STACK_LINE(51) - this->nmeHandle = (int)0; - HX_STACK_LINE(52) - this->bytesLoaded = (int)0; - HX_STACK_LINE(53) - this->bytesTotal = (int)-1; - HX_STACK_LINE(54) - this->state = (int)0; - HX_STACK_LINE(55) - this->dataFormat = ::neash::net::URLLoaderDataFormat_obj::TEXT_dyn(); - HX_STACK_LINE(56) - if (((request != null()))){ - HX_STACK_LINE(57) - this->load(request); - } -} -; - return null(); -} - -URLLoader_obj::~URLLoader_obj() { } - -Dynamic URLLoader_obj::__CreateEmpty() { return new URLLoader_obj; } -hx::ObjectPtr< URLLoader_obj > URLLoader_obj::__new(::neash::net::URLRequest request) -{ hx::ObjectPtr< URLLoader_obj > result = new URLLoader_obj(); - result->__construct(request); - return result;} - -Dynamic URLLoader_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLLoader_obj > result = new URLLoader_obj(); - result->__construct(inArgs[0]); - return result;} - -Void URLLoader_obj::update( ){ -{ - HX_STACK_PUSH("URLLoader::update","neash/net/URLLoader.hx",144); - HX_STACK_THIS(this); - HX_STACK_LINE(144) - if (((this->nmeHandle != null()))){ - HX_STACK_LINE(146) - int old_loaded = this->bytesLoaded; HX_STACK_VAR(old_loaded,"old_loaded"); - HX_STACK_LINE(147) - int old_total = this->bytesTotal; HX_STACK_VAR(old_total,"old_total"); - HX_STACK_LINE(148) - ::neash::net::URLLoader_obj::nme_curl_update_loader(this->nmeHandle,hx::ObjectPtr(this)); - HX_STACK_LINE(149) - if (((bool((old_total < (int)0)) && bool((this->bytesTotal > (int)0))))){ - HX_STACK_LINE(149) - this->dispatchEvent(::neash::events::Event_obj::__new(::neash::events::Event_obj::OPEN,null(),null())); - } - HX_STACK_LINE(153) - if (((bool((this->bytesTotal > (int)0)) && bool((this->bytesLoaded != old_loaded))))){ - HX_STACK_LINE(153) - this->dispatchEvent(::neash::events::ProgressEvent_obj::__new(HX_CSTRING("progress"),false,false,this->bytesLoaded,this->bytesTotal)); - } - HX_STACK_LINE(157) - int code = ::neash::net::URLLoader_obj::nme_curl_get_code(this->nmeHandle); HX_STACK_VAR(code,"code"); - HX_STACK_LINE(159) - if (((this->state == (int)3))){ - HX_STACK_LINE(160) - this->dispatchHTTPStatus(code); - HX_STACK_LINE(162) - if (((code < (int)400))){ - HX_STACK_LINE(163) - ::neash::utils::ByteArray bytes = ::neash::net::URLLoader_obj::nme_curl_get_data(this->nmeHandle); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(164) - { - ::neash::net::URLLoaderDataFormat _switch_1 = (this->dataFormat); - switch((_switch_1)->GetIndex()){ - case 1: case 2: { - HX_STACK_LINE(165) - this->data = ( (((bytes == null()))) ? ::String(HX_CSTRING("")) : ::String(bytes->asString()) ); - } - ;break; - default: { - HX_STACK_LINE(167) - this->data = bytes; - } - } - } - HX_STACK_LINE(170) - this->nmeDataComplete(); - } - else{ - HX_STACK_LINE(173) - ::neash::events::IOErrorEvent evt = ::neash::events::IOErrorEvent_obj::__new(::neash::events::IOErrorEvent_obj::IO_ERROR,true,false,(HX_CSTRING("HTTP status code ") + ::Std_obj::string(code)),code); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(174) - this->nmeHandle = null(); - HX_STACK_LINE(175) - this->dispatchEvent(evt); - } - } - else{ - HX_STACK_LINE(177) - if (((this->state == (int)4))){ - HX_STACK_LINE(178) - this->dispatchHTTPStatus(code); - HX_STACK_LINE(180) - ::neash::events::IOErrorEvent evt = ::neash::events::IOErrorEvent_obj::__new(::neash::events::IOErrorEvent_obj::IO_ERROR,true,false,::neash::net::URLLoader_obj::nme_curl_get_error_message(this->nmeHandle),code); HX_STACK_VAR(evt,"evt"); - HX_STACK_LINE(181) - this->nmeHandle = null(); - HX_STACK_LINE(182) - this->dispatchEvent(evt); - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,update,(void)) - -Void URLLoader_obj::dispatchHTTPStatus( int code){ -{ - HX_STACK_PUSH("URLLoader::dispatchHTTPStatus","neash/net/URLLoader.hx",140); - HX_STACK_THIS(this); - HX_STACK_ARG(code,"code"); - HX_STACK_LINE(140) - this->dispatchEvent(::neash::events::HTTPStatusEvent_obj::__new(::neash::events::HTTPStatusEvent_obj::HTTP_STATUS,false,false,code)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(URLLoader_obj,dispatchHTTPStatus,(void)) - -Void URLLoader_obj::onError( ::String msg){ -{ - HX_STACK_PUSH("URLLoader::onError","neash/net/URLLoader.hx",135); - HX_STACK_THIS(this); - HX_STACK_ARG(msg,"msg"); - HX_STACK_LINE(136) - ::neash::net::URLLoader_obj::activeLoaders->remove(hx::ObjectPtr(this)); - HX_STACK_LINE(137) - this->dispatchEvent(::neash::events::IOErrorEvent_obj::__new(::neash::events::IOErrorEvent_obj::IO_ERROR,true,false,msg,null())); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(URLLoader_obj,onError,(void)) - -Void URLLoader_obj::nmeDataComplete( ){ -{ - HX_STACK_PUSH("URLLoader::nmeDataComplete","neash/net/URLLoader.hx",106); - HX_STACK_THIS(this); - HX_STACK_LINE(107) - ::neash::net::URLLoader_obj::activeLoaders->remove(hx::ObjectPtr(this)); - HX_STACK_LINE(108) - if (((this->nmeOnComplete_dyn() != null()))){ - HX_STACK_LINE(108) - if ((this->nmeOnComplete(this->data))){ - HX_STACK_LINE(110) - this->dispatchEvent(::neash::events::Event_obj::__new(::neash::events::Event_obj::COMPLETE,null(),null())); - } - else{ - HX_STACK_LINE(112) - this->DispatchIOErrorEvent(); - } - } - else{ - HX_STACK_LINE(113) - this->dispatchEvent(::neash::events::Event_obj::__new(::neash::events::Event_obj::COMPLETE,null(),null())); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,nmeDataComplete,(void)) - -Void URLLoader_obj::load( ::neash::net::URLRequest request){ -{ - HX_STACK_PUSH("URLLoader::load","neash/net/URLLoader.hx",74); - HX_STACK_THIS(this); - HX_STACK_ARG(request,"request"); - HX_STACK_LINE(75) - this->state = (int)1; - HX_STACK_LINE(76) - ::String pref = request->url.substr((int)0,(int)7); HX_STACK_VAR(pref,"pref"); - HX_STACK_LINE(77) - if (((bool((pref != HX_CSTRING("http://"))) && bool((pref != HX_CSTRING("https:/")))))){ - HX_STACK_LINE(78) - try{ - HX_STACK_LINE(79) - ::neash::utils::ByteArray bytes = ::neash::utils::ByteArray_obj::readFile(request->url); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(80) - if (((bytes == null()))){ - HX_STACK_LINE(81) - hx::Throw (((HX_CSTRING("Could not open file \"") + request->url) + HX_CSTRING("\""))); - } - HX_STACK_LINE(82) - { - ::neash::net::URLLoaderDataFormat _switch_2 = (this->dataFormat); - switch((_switch_2)->GetIndex()){ - case 1: { - HX_STACK_LINE(83) - this->data = bytes->asString(); - } - ;break; - case 2: { - HX_STACK_LINE(85) - this->data = ::neash::net::URLVariables_obj::__new(bytes->asString()); - } - ;break; - default: { - HX_STACK_LINE(87) - this->data = bytes; - } - } - } - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(91) - this->onError(e); - HX_STACK_LINE(92) - return null(); - } - } - } - HX_STACK_LINE(95) - this->nmeDataComplete(); - } - else{ - HX_STACK_LINE(97) - request->nmePrepare(); - HX_STACK_LINE(98) - this->nmeHandle = ::neash::net::URLLoader_obj::nme_curl_create(request); - HX_STACK_LINE(99) - if (((this->nmeHandle == null()))){ - HX_STACK_LINE(100) - this->onError(HX_CSTRING("Could not open URL")); - } - else{ - HX_STACK_LINE(102) - ::neash::net::URLLoader_obj::activeLoaders->push(hx::ObjectPtr(this)); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(URLLoader_obj,load,(void)) - -Array< ::String > URLLoader_obj::getCookies( ){ - HX_STACK_PUSH("URLLoader::getCookies","neash/net/URLLoader.hx",62); - HX_STACK_THIS(this); - HX_STACK_LINE(62) - return ::neash::net::URLLoader_obj::nme_curl_get_cookies(this->nmeHandle); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,getCookies,return ) - -Void URLLoader_obj::close( ){ -{ - HX_STACK_PUSH("URLLoader::close","neash/net/URLLoader.hx",60); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,close,(void)) - -::List URLLoader_obj::activeLoaders; - -int URLLoader_obj::urlInvalid; - -int URLLoader_obj::urlInit; - -int URLLoader_obj::urlLoading; - -int URLLoader_obj::urlComplete; - -int URLLoader_obj::urlError; - -bool URLLoader_obj::hasActive( ){ - HX_STACK_PUSH("URLLoader::hasActive","neash/net/URLLoader.hx",66); - HX_STACK_LINE(66) - return !(::neash::net::URLLoader_obj::activeLoaders->isEmpty()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,hasActive,return ) - -Void URLLoader_obj::initialize( ::String inCACertFilePath){ -{ - HX_STACK_PUSH("URLLoader::initialize","neash/net/URLLoader.hx",70); - HX_STACK_ARG(inCACertFilePath,"inCACertFilePath"); - HX_STACK_LINE(70) - ::neash::net::URLLoader_obj::nme_curl_initialize(inCACertFilePath); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(URLLoader_obj,initialize,(void)) - -bool URLLoader_obj::nmeLoadPending( ){ - HX_STACK_PUSH("URLLoader::nmeLoadPending","neash/net/URLLoader.hx",118); - HX_STACK_LINE(118) - return !(::neash::net::URLLoader_obj::activeLoaders->isEmpty()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,nmeLoadPending,return ) - -Void URLLoader_obj::nmePollData( ){ -{ - HX_STACK_PUSH("URLLoader::nmePollData","neash/net/URLLoader.hx",122); - HX_STACK_LINE(122) - if ((!(::neash::net::URLLoader_obj::activeLoaders->isEmpty()))){ - HX_STACK_LINE(124) - ::neash::net::URLLoader_obj::nme_curl_process_loaders(); - HX_STACK_LINE(125) - ::List oldLoaders = ::neash::net::URLLoader_obj::activeLoaders; HX_STACK_VAR(oldLoaders,"oldLoaders"); - HX_STACK_LINE(126) - ::neash::net::URLLoader_obj::activeLoaders = ::List_obj::__new(); - HX_STACK_LINE(127) - for(::cpp::FastIterator_obj< ::neash::net::URLLoader > *__it = ::cpp::CreateFastIterator< ::neash::net::URLLoader >(oldLoaders->iterator()); __it->hasNext(); ){ - ::neash::net::URLLoader loader = __it->next(); - { - HX_STACK_LINE(128) - loader->update(); - HX_STACK_LINE(129) - if (((loader->state == (int)2))){ - HX_STACK_LINE(130) - ::neash::net::URLLoader_obj::activeLoaders->push(loader); - } - } -; - } - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(URLLoader_obj,nmePollData,(void)) - -Dynamic URLLoader_obj::nme_curl_create; - -Dynamic URLLoader_obj::nme_curl_process_loaders; - -Dynamic URLLoader_obj::nme_curl_update_loader; - -Dynamic URLLoader_obj::nme_curl_get_code; - -Dynamic URLLoader_obj::nme_curl_get_error_message; - -Dynamic URLLoader_obj::nme_curl_get_data; - -Dynamic URLLoader_obj::nme_curl_get_cookies; - -Dynamic URLLoader_obj::nme_curl_initialize; - - -URLLoader_obj::URLLoader_obj() -{ -} - -void URLLoader_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLLoader); - HX_MARK_MEMBER_NAME(nmeOnComplete,"nmeOnComplete"); - HX_MARK_MEMBER_NAME(state,"state"); - HX_MARK_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_MARK_MEMBER_NAME(dataFormat,"dataFormat"); - HX_MARK_MEMBER_NAME(data,"data"); - HX_MARK_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_MARK_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void URLLoader_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeOnComplete,"nmeOnComplete"); - HX_VISIT_MEMBER_NAME(state,"state"); - HX_VISIT_MEMBER_NAME(nmeHandle,"nmeHandle"); - HX_VISIT_MEMBER_NAME(dataFormat,"dataFormat"); - HX_VISIT_MEMBER_NAME(data,"data"); - HX_VISIT_MEMBER_NAME(bytesTotal,"bytesTotal"); - HX_VISIT_MEMBER_NAME(bytesLoaded,"bytesLoaded"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic URLLoader_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - if (HX_FIELD_EQ(inName,"data") ) { return data; } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"state") ) { return state; } - break; - case 6: - if (HX_FIELD_EQ(inName,"update") ) { return update_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"urlInit") ) { return urlInit; } - if (HX_FIELD_EQ(inName,"onError") ) { return onError_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"urlError") ) { return urlError; } - break; - case 9: - if (HX_FIELD_EQ(inName,"hasActive") ) { return hasActive_dyn(); } - if (HX_FIELD_EQ(inName,"nmeHandle") ) { return nmeHandle; } - break; - case 10: - if (HX_FIELD_EQ(inName,"urlInvalid") ) { return urlInvalid; } - if (HX_FIELD_EQ(inName,"urlLoading") ) { return urlLoading; } - if (HX_FIELD_EQ(inName,"initialize") ) { return initialize_dyn(); } - if (HX_FIELD_EQ(inName,"getCookies") ) { return getCookies_dyn(); } - if (HX_FIELD_EQ(inName,"dataFormat") ) { return dataFormat; } - if (HX_FIELD_EQ(inName,"bytesTotal") ) { return bytesTotal; } - break; - case 11: - if (HX_FIELD_EQ(inName,"urlComplete") ) { return urlComplete; } - if (HX_FIELD_EQ(inName,"nmePollData") ) { return nmePollData_dyn(); } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { return bytesLoaded; } - break; - case 13: - if (HX_FIELD_EQ(inName,"activeLoaders") ) { return activeLoaders; } - if (HX_FIELD_EQ(inName,"nmeOnComplete") ) { return nmeOnComplete; } - break; - case 14: - if (HX_FIELD_EQ(inName,"nmeLoadPending") ) { return nmeLoadPending_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_curl_create") ) { return nme_curl_create; } - if (HX_FIELD_EQ(inName,"nmeDataComplete") ) { return nmeDataComplete_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_curl_get_code") ) { return nme_curl_get_code; } - if (HX_FIELD_EQ(inName,"nme_curl_get_data") ) { return nme_curl_get_data; } - break; - case 18: - if (HX_FIELD_EQ(inName,"dispatchHTTPStatus") ) { return dispatchHTTPStatus_dyn(); } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_curl_initialize") ) { return nme_curl_initialize; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_curl_get_cookies") ) { return nme_curl_get_cookies; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_curl_update_loader") ) { return nme_curl_update_loader; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_curl_process_loaders") ) { return nme_curl_process_loaders; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_curl_get_error_message") ) { return nme_curl_get_error_message; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic URLLoader_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"data") ) { data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"state") ) { state=inValue.Cast< int >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"urlInit") ) { urlInit=inValue.Cast< int >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"urlError") ) { urlError=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"nmeHandle") ) { nmeHandle=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"urlInvalid") ) { urlInvalid=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"urlLoading") ) { urlLoading=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"dataFormat") ) { dataFormat=inValue.Cast< ::neash::net::URLLoaderDataFormat >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesTotal") ) { bytesTotal=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"urlComplete") ) { urlComplete=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"bytesLoaded") ) { bytesLoaded=inValue.Cast< int >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"activeLoaders") ) { activeLoaders=inValue.Cast< ::List >(); return inValue; } - if (HX_FIELD_EQ(inName,"nmeOnComplete") ) { nmeOnComplete=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"nme_curl_create") ) { nme_curl_create=inValue.Cast< Dynamic >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"nme_curl_get_code") ) { nme_curl_get_code=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"nme_curl_get_data") ) { nme_curl_get_data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_curl_initialize") ) { nme_curl_initialize=inValue.Cast< Dynamic >(); return inValue; } - break; - case 20: - if (HX_FIELD_EQ(inName,"nme_curl_get_cookies") ) { nme_curl_get_cookies=inValue.Cast< Dynamic >(); return inValue; } - break; - case 22: - if (HX_FIELD_EQ(inName,"nme_curl_update_loader") ) { nme_curl_update_loader=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_curl_process_loaders") ) { nme_curl_process_loaders=inValue.Cast< Dynamic >(); return inValue; } - break; - case 26: - if (HX_FIELD_EQ(inName,"nme_curl_get_error_message") ) { nme_curl_get_error_message=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void URLLoader_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("state")); - outFields->push(HX_CSTRING("nmeHandle")); - outFields->push(HX_CSTRING("dataFormat")); - outFields->push(HX_CSTRING("data")); - outFields->push(HX_CSTRING("bytesTotal")); - outFields->push(HX_CSTRING("bytesLoaded")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("activeLoaders"), - HX_CSTRING("urlInvalid"), - HX_CSTRING("urlInit"), - HX_CSTRING("urlLoading"), - HX_CSTRING("urlComplete"), - HX_CSTRING("urlError"), - HX_CSTRING("hasActive"), - HX_CSTRING("initialize"), - HX_CSTRING("nmeLoadPending"), - HX_CSTRING("nmePollData"), - HX_CSTRING("nme_curl_create"), - HX_CSTRING("nme_curl_process_loaders"), - HX_CSTRING("nme_curl_update_loader"), - HX_CSTRING("nme_curl_get_code"), - HX_CSTRING("nme_curl_get_error_message"), - HX_CSTRING("nme_curl_get_data"), - HX_CSTRING("nme_curl_get_cookies"), - HX_CSTRING("nme_curl_initialize"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("update"), - HX_CSTRING("dispatchHTTPStatus"), - HX_CSTRING("onError"), - HX_CSTRING("nmeDataComplete"), - HX_CSTRING("load"), - HX_CSTRING("getCookies"), - HX_CSTRING("close"), - HX_CSTRING("nmeOnComplete"), - HX_CSTRING("state"), - HX_CSTRING("nmeHandle"), - HX_CSTRING("dataFormat"), - HX_CSTRING("data"), - HX_CSTRING("bytesTotal"), - HX_CSTRING("bytesLoaded"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLLoader_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(URLLoader_obj::activeLoaders,"activeLoaders"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlInvalid,"urlInvalid"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlInit,"urlInit"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlLoading,"urlLoading"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlComplete,"urlComplete"); - HX_MARK_MEMBER_NAME(URLLoader_obj::urlError,"urlError"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_create,"nme_curl_create"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_process_loaders,"nme_curl_process_loaders"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_update_loader,"nme_curl_update_loader"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_get_code,"nme_curl_get_code"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_get_error_message,"nme_curl_get_error_message"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_get_data,"nme_curl_get_data"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_get_cookies,"nme_curl_get_cookies"); - HX_MARK_MEMBER_NAME(URLLoader_obj::nme_curl_initialize,"nme_curl_initialize"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLLoader_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::activeLoaders,"activeLoaders"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlInvalid,"urlInvalid"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlInit,"urlInit"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlLoading,"urlLoading"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlComplete,"urlComplete"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::urlError,"urlError"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_create,"nme_curl_create"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_process_loaders,"nme_curl_process_loaders"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_update_loader,"nme_curl_update_loader"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_get_code,"nme_curl_get_code"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_get_error_message,"nme_curl_get_error_message"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_get_data,"nme_curl_get_data"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_get_cookies,"nme_curl_get_cookies"); - HX_VISIT_MEMBER_NAME(URLLoader_obj::nme_curl_initialize,"nme_curl_initialize"); -}; - -Class URLLoader_obj::__mClass; - -void URLLoader_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLLoader"), hx::TCanCast< URLLoader_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLLoader_obj::__boot() -{ - activeLoaders= ::List_obj::__new(); - urlInvalid= (int)0; - urlInit= (int)1; - urlLoading= (int)2; - urlComplete= (int)3; - urlError= (int)4; - nme_curl_create= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_create"),(int)1); - nme_curl_process_loaders= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_process_loaders"),(int)0); - nme_curl_update_loader= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_update_loader"),(int)2); - nme_curl_get_code= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_get_code"),(int)1); - nme_curl_get_error_message= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_get_error_message"),(int)1); - nme_curl_get_data= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_get_data"),(int)1); - nme_curl_get_cookies= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_get_cookies"),(int)1); - nme_curl_initialize= ::neash::Loader_obj::load(HX_CSTRING("nme_curl_initialize"),(int)1); -} - -} // end namespace neash -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/net/URLLoaderDataFormat.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/net/URLLoaderDataFormat.cpp deleted file mode 100644 index cf8b640..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/net/URLLoaderDataFormat.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_net_URLLoaderDataFormat -#include -#endif -namespace neash{ -namespace net{ - -::neash::net::URLLoaderDataFormat URLLoaderDataFormat_obj::BINARY; - -::neash::net::URLLoaderDataFormat URLLoaderDataFormat_obj::TEXT; - -::neash::net::URLLoaderDataFormat URLLoaderDataFormat_obj::VARIABLES; - -HX_DEFINE_CREATE_ENUM(URLLoaderDataFormat_obj) - -int URLLoaderDataFormat_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BINARY")) return 0; - if (inName==HX_CSTRING("TEXT")) return 1; - if (inName==HX_CSTRING("VARIABLES")) return 2; - return super::__FindIndex(inName); -} - -int URLLoaderDataFormat_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BINARY")) return 0; - if (inName==HX_CSTRING("TEXT")) return 0; - if (inName==HX_CSTRING("VARIABLES")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic URLLoaderDataFormat_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BINARY")) return BINARY; - if (inName==HX_CSTRING("TEXT")) return TEXT; - if (inName==HX_CSTRING("VARIABLES")) return VARIABLES; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("BINARY"), - HX_CSTRING("TEXT"), - HX_CSTRING("VARIABLES"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLLoaderDataFormat_obj::BINARY,"BINARY"); - HX_MARK_MEMBER_NAME(URLLoaderDataFormat_obj::TEXT,"TEXT"); - HX_MARK_MEMBER_NAME(URLLoaderDataFormat_obj::VARIABLES,"VARIABLES"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLLoaderDataFormat_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(URLLoaderDataFormat_obj::BINARY,"BINARY"); - HX_VISIT_MEMBER_NAME(URLLoaderDataFormat_obj::TEXT,"TEXT"); - HX_VISIT_MEMBER_NAME(URLLoaderDataFormat_obj::VARIABLES,"VARIABLES"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class URLLoaderDataFormat_obj::__mClass; - -Dynamic __Create_URLLoaderDataFormat_obj() { return new URLLoaderDataFormat_obj; } - -void URLLoaderDataFormat_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLLoaderDataFormat"), hx::TCanCast< URLLoaderDataFormat_obj >,sStaticFields,sMemberFields, - &__Create_URLLoaderDataFormat_obj, &__Create, - &super::__SGetClass(), &CreateURLLoaderDataFormat_obj, sMarkStatics, sVisitStatic); -} - -void URLLoaderDataFormat_obj::__boot() -{ -Static(BINARY) = hx::CreateEnum< URLLoaderDataFormat_obj >(HX_CSTRING("BINARY"),0); -Static(TEXT) = hx::CreateEnum< URLLoaderDataFormat_obj >(HX_CSTRING("TEXT"),1); -Static(VARIABLES) = hx::CreateEnum< URLLoaderDataFormat_obj >(HX_CSTRING("VARIABLES"),2); -} - - -} // end namespace neash -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/net/URLRequest.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/net/URLRequest.cpp deleted file mode 100644 index 3cd9b3b..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/net/URLRequest.cpp +++ /dev/null @@ -1,402 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_net_URLRequest -#include -#endif -#ifndef INCLUDED_neash_net_URLRequestHeader -#include -#endif -#ifndef INCLUDED_neash_net_URLVariables -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace net{ - -Void URLRequest_obj::__construct(::String inURL) -{ -HX_STACK_PUSH("URLRequest::new","neash/net/URLRequest.hx",31); -{ - HX_STACK_LINE(32) - if (((inURL != null()))){ - HX_STACK_LINE(33) - this->url = inURL; - } - HX_STACK_LINE(34) - this->requestHeaders = Array_obj< ::neash::net::URLRequestHeader >::__new(); - HX_STACK_LINE(35) - this->method = HX_CSTRING("GET"); - HX_STACK_LINE(37) - this->verbose = false; - HX_STACK_LINE(38) - this->cookieString = HX_CSTRING(""); - HX_STACK_LINE(39) - this->authType = (int)0; - HX_STACK_LINE(40) - this->contentType = HX_CSTRING("application/x-www-form-urlencoded"); - HX_STACK_LINE(41) - this->credentials = HX_CSTRING(""); -} -; - return null(); -} - -URLRequest_obj::~URLRequest_obj() { } - -Dynamic URLRequest_obj::__CreateEmpty() { return new URLRequest_obj; } -hx::ObjectPtr< URLRequest_obj > URLRequest_obj::__new(::String inURL) -{ hx::ObjectPtr< URLRequest_obj > result = new URLRequest_obj(); - result->__construct(inURL); - return result;} - -Dynamic URLRequest_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLRequest_obj > result = new URLRequest_obj(); - result->__construct(inArgs[0]); - return result;} - -Void URLRequest_obj::nmePrepare( ){ -{ - HX_STACK_PUSH("URLRequest::nmePrepare","neash/net/URLRequest.hx",54); - HX_STACK_THIS(this); - HX_STACK_LINE(54) - if (((bool(::Std_obj::is(this->data,hx::ClassOf< ::neash::utils::ByteArray >())) || bool((this->data == null()))))){ - HX_STACK_LINE(55) - this->nmeBytes = this->data; - } - else{ - HX_STACK_LINE(57) - if ((::Std_obj::is(this->data,hx::ClassOf< ::neash::net::URLVariables >()))){ - HX_STACK_LINE(58) - ::neash::net::URLVariables vars = this->data; HX_STACK_VAR(vars,"vars"); - HX_STACK_LINE(59) - ::String str = vars->toString(); HX_STACK_VAR(str,"str"); - HX_STACK_LINE(60) - this->nmeBytes = ::neash::utils::ByteArray_obj::__new(null()); - HX_STACK_LINE(61) - this->nmeBytes->writeUTFBytes(str); - } - else{ - HX_STACK_LINE(62) - if ((::Std_obj::is(this->data,hx::ClassOf< ::String >()))){ - HX_STACK_LINE(63) - ::String str = this->data; HX_STACK_VAR(str,"str"); - HX_STACK_LINE(64) - this->nmeBytes = ::neash::utils::ByteArray_obj::__new(null()); - HX_STACK_LINE(65) - this->nmeBytes->writeUTFBytes(str); - } - else{ - HX_STACK_LINE(66) - if ((::Std_obj::is(this->data,hx::ClassOf< ::Dynamic >()))){ - HX_STACK_LINE(67) - ::neash::net::URLVariables vars = ::neash::net::URLVariables_obj::__new(null()); HX_STACK_VAR(vars,"vars"); - HX_STACK_LINE(68) - { - HX_STACK_LINE(68) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - Array< ::String > _g1 = ::Reflect_obj::fields(this->data); HX_STACK_VAR(_g1,"_g1"); - HX_STACK_LINE(68) - while(((_g < _g1->length))){ - HX_STACK_LINE(68) - ::String i = _g1->__get(_g); HX_STACK_VAR(i,"i"); - HX_STACK_LINE(68) - ++(_g); - HX_STACK_LINE(69) - if (((vars != null()))){ - HX_STACK_LINE(69) - vars->__SetField(i,::Reflect_obj::field(this->data,i),false); - } - } - } - HX_STACK_LINE(70) - ::String str = vars->toString(); HX_STACK_VAR(str,"str"); - HX_STACK_LINE(71) - this->nmeBytes = ::neash::utils::ByteArray_obj::__new(null()); - HX_STACK_LINE(72) - this->nmeBytes->writeUTFBytes(str); - } - else{ - HX_STACK_LINE(73) - hx::Throw (HX_CSTRING("Unknown data type")); - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLRequest_obj,nmePrepare,(void)) - -Void URLRequest_obj::digestAuth( ::String inUser,::String inPasswd){ -{ - HX_STACK_PUSH("URLRequest::digestAuth","neash/net/URLRequest.hx",49); - HX_STACK_THIS(this); - HX_STACK_ARG(inUser,"inUser"); - HX_STACK_ARG(inPasswd,"inPasswd"); - HX_STACK_LINE(50) - this->authType = (int)2; - HX_STACK_LINE(51) - this->credentials = ((inUser + HX_CSTRING(":")) + inPasswd); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(URLRequest_obj,digestAuth,(void)) - -Void URLRequest_obj::basicAuth( ::String inUser,::String inPasswd){ -{ - HX_STACK_PUSH("URLRequest::basicAuth","neash/net/URLRequest.hx",44); - HX_STACK_THIS(this); - HX_STACK_ARG(inUser,"inUser"); - HX_STACK_ARG(inPasswd,"inPasswd"); - HX_STACK_LINE(45) - this->authType = (int)1; - HX_STACK_LINE(46) - this->credentials = ((inUser + HX_CSTRING(":")) + inPasswd); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(URLRequest_obj,basicAuth,(void)) - -int URLRequest_obj::AUTH_BASIC; - -int URLRequest_obj::AUTH_DIGEST; - -int URLRequest_obj::AUTH_GSSNEGOTIATE; - -int URLRequest_obj::AUTH_NTLM; - -int URLRequest_obj::AUTH_DIGEST_IE; - -int URLRequest_obj::AUTH_DIGEST_ANY; - - -URLRequest_obj::URLRequest_obj() -{ -} - -void URLRequest_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLRequest); - HX_MARK_MEMBER_NAME(nmeBytes,"nmeBytes"); - HX_MARK_MEMBER_NAME(credentials,"credentials"); - HX_MARK_MEMBER_NAME(data,"data"); - HX_MARK_MEMBER_NAME(contentType,"contentType"); - HX_MARK_MEMBER_NAME(method,"method"); - HX_MARK_MEMBER_NAME(verbose,"verbose"); - HX_MARK_MEMBER_NAME(cookieString,"cookieString"); - HX_MARK_MEMBER_NAME(authType,"authType"); - HX_MARK_MEMBER_NAME(requestHeaders,"requestHeaders"); - HX_MARK_MEMBER_NAME(url,"url"); - HX_MARK_END_CLASS(); -} - -void URLRequest_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(nmeBytes,"nmeBytes"); - HX_VISIT_MEMBER_NAME(credentials,"credentials"); - HX_VISIT_MEMBER_NAME(data,"data"); - HX_VISIT_MEMBER_NAME(contentType,"contentType"); - HX_VISIT_MEMBER_NAME(method,"method"); - HX_VISIT_MEMBER_NAME(verbose,"verbose"); - HX_VISIT_MEMBER_NAME(cookieString,"cookieString"); - HX_VISIT_MEMBER_NAME(authType,"authType"); - HX_VISIT_MEMBER_NAME(requestHeaders,"requestHeaders"); - HX_VISIT_MEMBER_NAME(url,"url"); -} - -Dynamic URLRequest_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"url") ) { return url; } - break; - case 4: - if (HX_FIELD_EQ(inName,"data") ) { return data; } - break; - case 6: - if (HX_FIELD_EQ(inName,"method") ) { return method; } - break; - case 7: - if (HX_FIELD_EQ(inName,"verbose") ) { return verbose; } - break; - case 8: - if (HX_FIELD_EQ(inName,"nmeBytes") ) { return nmeBytes; } - if (HX_FIELD_EQ(inName,"authType") ) { return authType; } - break; - case 9: - if (HX_FIELD_EQ(inName,"AUTH_NTLM") ) { return AUTH_NTLM; } - if (HX_FIELD_EQ(inName,"basicAuth") ) { return basicAuth_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"AUTH_BASIC") ) { return AUTH_BASIC; } - if (HX_FIELD_EQ(inName,"nmePrepare") ) { return nmePrepare_dyn(); } - if (HX_FIELD_EQ(inName,"digestAuth") ) { return digestAuth_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST") ) { return AUTH_DIGEST; } - if (HX_FIELD_EQ(inName,"credentials") ) { return credentials; } - if (HX_FIELD_EQ(inName,"contentType") ) { return contentType; } - break; - case 12: - if (HX_FIELD_EQ(inName,"cookieString") ) { return cookieString; } - break; - case 14: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST_IE") ) { return AUTH_DIGEST_IE; } - if (HX_FIELD_EQ(inName,"requestHeaders") ) { return requestHeaders; } - break; - case 15: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST_ANY") ) { return AUTH_DIGEST_ANY; } - break; - case 17: - if (HX_FIELD_EQ(inName,"AUTH_GSSNEGOTIATE") ) { return AUTH_GSSNEGOTIATE; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic URLRequest_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"url") ) { url=inValue.Cast< ::String >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"data") ) { data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"method") ) { method=inValue.Cast< ::String >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"verbose") ) { verbose=inValue.Cast< bool >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"nmeBytes") ) { nmeBytes=inValue.Cast< ::neash::utils::ByteArray >(); return inValue; } - if (HX_FIELD_EQ(inName,"authType") ) { authType=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"AUTH_NTLM") ) { AUTH_NTLM=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"AUTH_BASIC") ) { AUTH_BASIC=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST") ) { AUTH_DIGEST=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"credentials") ) { credentials=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"contentType") ) { contentType=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"cookieString") ) { cookieString=inValue.Cast< ::String >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST_IE") ) { AUTH_DIGEST_IE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"requestHeaders") ) { requestHeaders=inValue.Cast< Array< ::neash::net::URLRequestHeader > >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"AUTH_DIGEST_ANY") ) { AUTH_DIGEST_ANY=inValue.Cast< int >(); return inValue; } - break; - case 17: - if (HX_FIELD_EQ(inName,"AUTH_GSSNEGOTIATE") ) { AUTH_GSSNEGOTIATE=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void URLRequest_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("nmeBytes")); - outFields->push(HX_CSTRING("credentials")); - outFields->push(HX_CSTRING("data")); - outFields->push(HX_CSTRING("contentType")); - outFields->push(HX_CSTRING("method")); - outFields->push(HX_CSTRING("verbose")); - outFields->push(HX_CSTRING("cookieString")); - outFields->push(HX_CSTRING("authType")); - outFields->push(HX_CSTRING("requestHeaders")); - outFields->push(HX_CSTRING("url")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("AUTH_BASIC"), - HX_CSTRING("AUTH_DIGEST"), - HX_CSTRING("AUTH_GSSNEGOTIATE"), - HX_CSTRING("AUTH_NTLM"), - HX_CSTRING("AUTH_DIGEST_IE"), - HX_CSTRING("AUTH_DIGEST_ANY"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmePrepare"), - HX_CSTRING("digestAuth"), - HX_CSTRING("basicAuth"), - HX_CSTRING("nmeBytes"), - HX_CSTRING("credentials"), - HX_CSTRING("data"), - HX_CSTRING("contentType"), - HX_CSTRING("method"), - HX_CSTRING("verbose"), - HX_CSTRING("cookieString"), - HX_CSTRING("authType"), - HX_CSTRING("requestHeaders"), - HX_CSTRING("url"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLRequest_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_BASIC,"AUTH_BASIC"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST,"AUTH_DIGEST"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_GSSNEGOTIATE,"AUTH_GSSNEGOTIATE"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_NTLM,"AUTH_NTLM"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST_IE,"AUTH_DIGEST_IE"); - HX_MARK_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST_ANY,"AUTH_DIGEST_ANY"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLRequest_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_BASIC,"AUTH_BASIC"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST,"AUTH_DIGEST"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_GSSNEGOTIATE,"AUTH_GSSNEGOTIATE"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_NTLM,"AUTH_NTLM"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST_IE,"AUTH_DIGEST_IE"); - HX_VISIT_MEMBER_NAME(URLRequest_obj::AUTH_DIGEST_ANY,"AUTH_DIGEST_ANY"); -}; - -Class URLRequest_obj::__mClass; - -void URLRequest_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLRequest"), hx::TCanCast< URLRequest_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLRequest_obj::__boot() -{ - AUTH_BASIC= (int)1; - AUTH_DIGEST= (int)2; - AUTH_GSSNEGOTIATE= (int)4; - AUTH_NTLM= (int)8; - AUTH_DIGEST_IE= (int)16; - AUTH_DIGEST_ANY= (int)15; -} - -} // end namespace neash -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/net/URLRequestHeader.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/net/URLRequestHeader.cpp deleted file mode 100644 index b225da8..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/net/URLRequestHeader.cpp +++ /dev/null @@ -1,115 +0,0 @@ -#include - -#ifndef INCLUDED_neash_net_URLRequestHeader -#include -#endif -namespace neash{ -namespace net{ - -Void URLRequestHeader_obj::__construct(::String name,::String value) -{ -HX_STACK_PUSH("URLRequestHeader::new","neash/net/URLRequestHeader.hx",8); -{ - HX_STACK_LINE(9) - this->name = name; - HX_STACK_LINE(10) - this->value = value; -} -; - return null(); -} - -URLRequestHeader_obj::~URLRequestHeader_obj() { } - -Dynamic URLRequestHeader_obj::__CreateEmpty() { return new URLRequestHeader_obj; } -hx::ObjectPtr< URLRequestHeader_obj > URLRequestHeader_obj::__new(::String name,::String value) -{ hx::ObjectPtr< URLRequestHeader_obj > result = new URLRequestHeader_obj(); - result->__construct(name,value); - return result;} - -Dynamic URLRequestHeader_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLRequestHeader_obj > result = new URLRequestHeader_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - - -URLRequestHeader_obj::URLRequestHeader_obj() -{ -} - -void URLRequestHeader_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLRequestHeader); - HX_MARK_MEMBER_NAME(value,"value"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_END_CLASS(); -} - -void URLRequestHeader_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(value,"value"); - HX_VISIT_MEMBER_NAME(name,"name"); -} - -Dynamic URLRequestHeader_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 5: - if (HX_FIELD_EQ(inName,"value") ) { return value; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic URLRequestHeader_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"value") ) { value=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void URLRequestHeader_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("value")); - outFields->push(HX_CSTRING("name")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("value"), - HX_CSTRING("name"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLRequestHeader_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLRequestHeader_obj::__mClass,"__mClass"); -}; - -Class URLRequestHeader_obj::__mClass; - -void URLRequestHeader_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLRequestHeader"), hx::TCanCast< URLRequestHeader_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLRequestHeader_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/net/URLRequestMethod.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/net/URLRequestMethod.cpp deleted file mode 100644 index 0633bab..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/net/URLRequestMethod.cpp +++ /dev/null @@ -1,151 +0,0 @@ -#include - -#ifndef INCLUDED_neash_net_URLRequestMethod -#include -#endif -namespace neash{ -namespace net{ - -Void URLRequestMethod_obj::__construct() -{ - return null(); -} - -URLRequestMethod_obj::~URLRequestMethod_obj() { } - -Dynamic URLRequestMethod_obj::__CreateEmpty() { return new URLRequestMethod_obj; } -hx::ObjectPtr< URLRequestMethod_obj > URLRequestMethod_obj::__new() -{ hx::ObjectPtr< URLRequestMethod_obj > result = new URLRequestMethod_obj(); - result->__construct(); - return result;} - -Dynamic URLRequestMethod_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLRequestMethod_obj > result = new URLRequestMethod_obj(); - result->__construct(); - return result;} - -::String URLRequestMethod_obj::DELETE; - -::String URLRequestMethod_obj::GET; - -::String URLRequestMethod_obj::HEAD; - -::String URLRequestMethod_obj::OPTIONS; - -::String URLRequestMethod_obj::POST; - -::String URLRequestMethod_obj::PUT; - - -URLRequestMethod_obj::URLRequestMethod_obj() -{ -} - -void URLRequestMethod_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLRequestMethod); - HX_MARK_END_CLASS(); -} - -void URLRequestMethod_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic URLRequestMethod_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"GET") ) { return GET; } - if (HX_FIELD_EQ(inName,"PUT") ) { return PUT; } - break; - case 4: - if (HX_FIELD_EQ(inName,"HEAD") ) { return HEAD; } - if (HX_FIELD_EQ(inName,"POST") ) { return POST; } - break; - case 6: - if (HX_FIELD_EQ(inName,"DELETE") ) { return DELETE; } - break; - case 7: - if (HX_FIELD_EQ(inName,"OPTIONS") ) { return OPTIONS; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic URLRequestMethod_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"GET") ) { GET=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"PUT") ) { PUT=inValue.Cast< ::String >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"HEAD") ) { HEAD=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"POST") ) { POST=inValue.Cast< ::String >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"DELETE") ) { DELETE=inValue.Cast< ::String >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"OPTIONS") ) { OPTIONS=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void URLRequestMethod_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("DELETE"), - HX_CSTRING("GET"), - HX_CSTRING("HEAD"), - HX_CSTRING("OPTIONS"), - HX_CSTRING("POST"), - HX_CSTRING("PUT"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::DELETE,"DELETE"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::GET,"GET"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::HEAD,"HEAD"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::OPTIONS,"OPTIONS"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::POST,"POST"); - HX_MARK_MEMBER_NAME(URLRequestMethod_obj::PUT,"PUT"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::DELETE,"DELETE"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::GET,"GET"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::HEAD,"HEAD"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::OPTIONS,"OPTIONS"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::POST,"POST"); - HX_VISIT_MEMBER_NAME(URLRequestMethod_obj::PUT,"PUT"); -}; - -Class URLRequestMethod_obj::__mClass; - -void URLRequestMethod_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLRequestMethod"), hx::TCanCast< URLRequestMethod_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLRequestMethod_obj::__boot() -{ - DELETE= HX_CSTRING("DELETE"); - GET= HX_CSTRING("GET"); - HEAD= HX_CSTRING("HEAD"); - OPTIONS= HX_CSTRING("OPTIONS"); - POST= HX_CSTRING("POST"); - PUT= HX_CSTRING("PUT"); -} - -} // end namespace neash -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/net/URLVariables.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/net/URLVariables.cpp deleted file mode 100644 index 55f298a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/net/URLVariables.cpp +++ /dev/null @@ -1,200 +0,0 @@ -#include - -#ifndef INCLUDED_Reflect -#include -#endif -#ifndef INCLUDED_StringTools -#include -#endif -#ifndef INCLUDED_neash_net_URLVariables -#include -#endif -namespace neash{ -namespace net{ - -Void URLVariables_obj::__construct(::String inEncoded) -{ -HX_STACK_PUSH("URLVariables::new","neash/net/URLVariables.hx",7); -{ - HX_STACK_LINE(7) - if (((inEncoded != null()))){ - HX_STACK_LINE(9) - this->decode(inEncoded); - } -} -; - return null(); -} - -URLVariables_obj::~URLVariables_obj() { } - -Dynamic URLVariables_obj::__CreateEmpty() { return new URLVariables_obj; } -hx::ObjectPtr< URLVariables_obj > URLVariables_obj::__new(::String inEncoded) -{ hx::ObjectPtr< URLVariables_obj > result = new URLVariables_obj(); - result->__construct(inEncoded); - return result;} - -Dynamic URLVariables_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< URLVariables_obj > result = new URLVariables_obj(); - result->__construct(inArgs[0]); - return result;} - -::String URLVariables_obj::toString( ){ - HX_STACK_PUSH("URLVariables::toString","neash/net/URLVariables.hx",30); - HX_STACK_THIS(this); - HX_STACK_LINE(31) - Array< ::String > result = Array_obj< ::String >::__new(); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(32) - Array< ::String > fields = ::Reflect_obj::fields(hx::ObjectPtr(this)); HX_STACK_VAR(fields,"fields"); - HX_STACK_LINE(33) - { - HX_STACK_LINE(33) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(33) - while(((_g < fields->length))){ - HX_STACK_LINE(33) - ::String f = fields->__get(_g); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(33) - ++(_g); - HX_STACK_LINE(34) - result->push(((::StringTools_obj::urlEncode(f) + HX_CSTRING("=")) + ::StringTools_obj::urlEncode(::Reflect_obj::field(hx::ObjectPtr(this),f)))); - } - } - HX_STACK_LINE(36) - return result->join(HX_CSTRING("&")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(URLVariables_obj,toString,return ) - -Void URLVariables_obj::decode( ::String inVars){ -{ - HX_STACK_PUSH("URLVariables::decode","neash/net/URLVariables.hx",13); - HX_STACK_THIS(this); - HX_STACK_ARG(inVars,"inVars"); - HX_STACK_LINE(14) - Array< ::String > fields = ::Reflect_obj::fields(hx::ObjectPtr(this)); HX_STACK_VAR(fields,"fields"); - HX_STACK_LINE(15) - { - HX_STACK_LINE(15) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(15) - while(((_g < fields->length))){ - HX_STACK_LINE(15) - ::String f = fields->__get(_g); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(15) - ++(_g); - HX_STACK_LINE(16) - ::Reflect_obj::deleteField(hx::ObjectPtr(this),f); - } - } - HX_STACK_LINE(17) - Array< ::String > fields1 = inVars.split(HX_CSTRING(";"))->join(HX_CSTRING("&")).split(HX_CSTRING("&")); HX_STACK_VAR(fields1,"fields1"); - HX_STACK_LINE(18) - { - HX_STACK_LINE(18) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(18) - while(((_g < fields1->length))){ - HX_STACK_LINE(18) - ::String f = fields1->__get(_g); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(18) - ++(_g); - HX_STACK_LINE(20) - int eq = f.indexOf(HX_CSTRING("="),null()); HX_STACK_VAR(eq,"eq"); - HX_STACK_LINE(21) - if (((eq > (int)0))){ - HX_STACK_LINE(22) - this->__SetField(::StringTools_obj::urlDecode(f.substr((int)0,eq)),::StringTools_obj::urlDecode(f.substr((eq + (int)1),null())),false); - } - else{ - HX_STACK_LINE(24) - if (((eq != (int)0))){ - HX_STACK_LINE(25) - this->__SetField(::StringTools_obj::urlDecode(f),HX_CSTRING(""),false); - } - } - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(URLVariables_obj,decode,(void)) - - -URLVariables_obj::URLVariables_obj() -{ - HX_INIT_IMPLEMENT_DYNAMIC; -} - -void URLVariables_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(URLVariables); - HX_MARK_DYNAMIC; - HX_MARK_END_CLASS(); -} - -void URLVariables_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_DYNAMIC; -} - -Dynamic URLVariables_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"decode") ) { return decode_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - HX_CHECK_DYNAMIC_GET_FIELD(inName); - return super::__Field(inName,inCallProp); -} - -Dynamic URLVariables_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - try { return super::__SetField(inName,inValue,inCallProp); } - catch(Dynamic e) { HX_DYNAMIC_SET_FIELD(inName,inValue); } - return inValue; -} - -void URLVariables_obj::__GetFields(Array< ::String> &outFields) -{ - HX_APPEND_DYNAMIC_FIELDS(outFields); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("decode"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(URLVariables_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(URLVariables_obj::__mClass,"__mClass"); -}; - -Class URLVariables_obj::__mClass; - -void URLVariables_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.net.URLVariables"), hx::TCanCast< URLVariables_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void URLVariables_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace net diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/text/Font.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/text/Font.cpp deleted file mode 100644 index d73937a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/text/Font.cpp +++ /dev/null @@ -1,139 +0,0 @@ -#include - -#ifndef INCLUDED_neash_text_Font -#include -#endif -#ifndef INCLUDED_neash_text_FontStyle -#include -#endif -#ifndef INCLUDED_neash_text_FontType -#include -#endif -namespace neash{ -namespace text{ - -Void Font_obj::__construct(::String inFilename) -{ -HX_STACK_PUSH("Font::new","neash/text/Font.hx",17); -{ - HX_STACK_LINE(17) - this->fontName = inFilename; -} -; - return null(); -} - -Font_obj::~Font_obj() { } - -Dynamic Font_obj::__CreateEmpty() { return new Font_obj; } -hx::ObjectPtr< Font_obj > Font_obj::__new(::String inFilename) -{ hx::ObjectPtr< Font_obj > result = new Font_obj(); - result->__construct(inFilename); - return result;} - -Dynamic Font_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Font_obj > result = new Font_obj(); - result->__construct(inArgs[0]); - return result;} - -Dynamic Font_obj::load( ::String inFilename){ - HX_STACK_PUSH("Font::load","neash/text/Font.hx",25); - HX_STACK_ARG(inFilename,"inFilename"); - HX_STACK_LINE(25) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Font_obj,load,return ) - - -Font_obj::Font_obj() -{ -} - -void Font_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Font); - HX_MARK_MEMBER_NAME(fontType,"fontType"); - HX_MARK_MEMBER_NAME(fontStyle,"fontStyle"); - HX_MARK_MEMBER_NAME(fontName,"fontName"); - HX_MARK_END_CLASS(); -} - -void Font_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(fontType,"fontType"); - HX_VISIT_MEMBER_NAME(fontStyle,"fontStyle"); - HX_VISIT_MEMBER_NAME(fontName,"fontName"); -} - -Dynamic Font_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"load") ) { return load_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"fontType") ) { return fontType; } - if (HX_FIELD_EQ(inName,"fontName") ) { return fontName; } - break; - case 9: - if (HX_FIELD_EQ(inName,"fontStyle") ) { return fontStyle; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Font_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"fontType") ) { fontType=inValue.Cast< ::neash::text::FontType >(); return inValue; } - if (HX_FIELD_EQ(inName,"fontName") ) { fontName=inValue.Cast< ::String >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"fontStyle") ) { fontStyle=inValue.Cast< ::neash::text::FontStyle >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Font_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("fontType")); - outFields->push(HX_CSTRING("fontStyle")); - outFields->push(HX_CSTRING("fontName")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("load"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("fontType"), - HX_CSTRING("fontStyle"), - HX_CSTRING("fontName"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Font_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Font_obj::__mClass,"__mClass"); -}; - -Class Font_obj::__mClass; - -void Font_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.text.Font"), hx::TCanCast< Font_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Font_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace text diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/text/FontStyle.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/text/FontStyle.cpp deleted file mode 100644 index b2d42b7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/text/FontStyle.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include - -#ifndef INCLUDED_neash_text_FontStyle -#include -#endif -namespace neash{ -namespace text{ - -::neash::text::FontStyle FontStyle_obj::BOLD; - -::neash::text::FontStyle FontStyle_obj::BOLD_ITALIC; - -::neash::text::FontStyle FontStyle_obj::ITALIC; - -::neash::text::FontStyle FontStyle_obj::REGULAR; - -HX_DEFINE_CREATE_ENUM(FontStyle_obj) - -int FontStyle_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("BOLD")) return 0; - if (inName==HX_CSTRING("BOLD_ITALIC")) return 1; - if (inName==HX_CSTRING("ITALIC")) return 2; - if (inName==HX_CSTRING("REGULAR")) return 3; - return super::__FindIndex(inName); -} - -int FontStyle_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("BOLD")) return 0; - if (inName==HX_CSTRING("BOLD_ITALIC")) return 0; - if (inName==HX_CSTRING("ITALIC")) return 0; - if (inName==HX_CSTRING("REGULAR")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic FontStyle_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("BOLD")) return BOLD; - if (inName==HX_CSTRING("BOLD_ITALIC")) return BOLD_ITALIC; - if (inName==HX_CSTRING("ITALIC")) return ITALIC; - if (inName==HX_CSTRING("REGULAR")) return REGULAR; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("BOLD"), - HX_CSTRING("BOLD_ITALIC"), - HX_CSTRING("ITALIC"), - HX_CSTRING("REGULAR"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FontStyle_obj::BOLD,"BOLD"); - HX_MARK_MEMBER_NAME(FontStyle_obj::BOLD_ITALIC,"BOLD_ITALIC"); - HX_MARK_MEMBER_NAME(FontStyle_obj::ITALIC,"ITALIC"); - HX_MARK_MEMBER_NAME(FontStyle_obj::REGULAR,"REGULAR"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FontStyle_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FontStyle_obj::BOLD,"BOLD"); - HX_VISIT_MEMBER_NAME(FontStyle_obj::BOLD_ITALIC,"BOLD_ITALIC"); - HX_VISIT_MEMBER_NAME(FontStyle_obj::ITALIC,"ITALIC"); - HX_VISIT_MEMBER_NAME(FontStyle_obj::REGULAR,"REGULAR"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class FontStyle_obj::__mClass; - -Dynamic __Create_FontStyle_obj() { return new FontStyle_obj; } - -void FontStyle_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.text.FontStyle"), hx::TCanCast< FontStyle_obj >,sStaticFields,sMemberFields, - &__Create_FontStyle_obj, &__Create, - &super::__SGetClass(), &CreateFontStyle_obj, sMarkStatics, sVisitStatic); -} - -void FontStyle_obj::__boot() -{ -Static(BOLD) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("BOLD"),0); -Static(BOLD_ITALIC) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("BOLD_ITALIC"),1); -Static(ITALIC) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("ITALIC"),2); -Static(REGULAR) = hx::CreateEnum< FontStyle_obj >(HX_CSTRING("REGULAR"),3); -} - - -} // end namespace neash -} // end namespace text diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/text/FontType.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/text/FontType.cpp deleted file mode 100644 index 69e21d4..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/text/FontType.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_neash_text_FontType -#include -#endif -namespace neash{ -namespace text{ - -::neash::text::FontType FontType_obj::DEVICE; - -::neash::text::FontType FontType_obj::EMBEDDED; - -::neash::text::FontType FontType_obj::EMBEDDED_CFF; - -HX_DEFINE_CREATE_ENUM(FontType_obj) - -int FontType_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("DEVICE")) return 0; - if (inName==HX_CSTRING("EMBEDDED")) return 1; - if (inName==HX_CSTRING("EMBEDDED_CFF")) return 2; - return super::__FindIndex(inName); -} - -int FontType_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("DEVICE")) return 0; - if (inName==HX_CSTRING("EMBEDDED")) return 0; - if (inName==HX_CSTRING("EMBEDDED_CFF")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic FontType_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("DEVICE")) return DEVICE; - if (inName==HX_CSTRING("EMBEDDED")) return EMBEDDED; - if (inName==HX_CSTRING("EMBEDDED_CFF")) return EMBEDDED_CFF; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("DEVICE"), - HX_CSTRING("EMBEDDED"), - HX_CSTRING("EMBEDDED_CFF"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FontType_obj::DEVICE,"DEVICE"); - HX_MARK_MEMBER_NAME(FontType_obj::EMBEDDED,"EMBEDDED"); - HX_MARK_MEMBER_NAME(FontType_obj::EMBEDDED_CFF,"EMBEDDED_CFF"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FontType_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FontType_obj::DEVICE,"DEVICE"); - HX_VISIT_MEMBER_NAME(FontType_obj::EMBEDDED,"EMBEDDED"); - HX_VISIT_MEMBER_NAME(FontType_obj::EMBEDDED_CFF,"EMBEDDED_CFF"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class FontType_obj::__mClass; - -Dynamic __Create_FontType_obj() { return new FontType_obj; } - -void FontType_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.text.FontType"), hx::TCanCast< FontType_obj >,sStaticFields,sMemberFields, - &__Create_FontType_obj, &__Create, - &super::__SGetClass(), &CreateFontType_obj, sMarkStatics, sVisitStatic); -} - -void FontType_obj::__boot() -{ -Static(DEVICE) = hx::CreateEnum< FontType_obj >(HX_CSTRING("DEVICE"),0); -Static(EMBEDDED) = hx::CreateEnum< FontType_obj >(HX_CSTRING("EMBEDDED"),1); -Static(EMBEDDED_CFF) = hx::CreateEnum< FontType_obj >(HX_CSTRING("EMBEDDED_CFF"),2); -} - - -} // end namespace neash -} // end namespace text diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/utils/ByteArray.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/utils/ByteArray.cpp deleted file mode 100644 index 1e7c3dd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/utils/ByteArray.cpp +++ /dev/null @@ -1,1115 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_cpp_zip_Compress -#include -#endif -#ifndef INCLUDED_cpp_zip_Uncompress -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_errors_EOFError -#include -#endif -#ifndef INCLUDED_neash_errors_Error -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace utils{ - -Void ByteArray_obj::__construct(hx::Null< int > __o_inSize) -{ -HX_STACK_PUSH("ByteArray::new","neash/utils/ByteArray.hx",35); -int inSize = __o_inSize.Default(0); -{ - HX_STACK_LINE(36) - this->bigEndian = true; - HX_STACK_LINE(37) - this->position = (int)0; - HX_STACK_LINE(38) - if (((inSize >= (int)0))){ - HX_STACK_LINE(45) - Array< unsigned char > data = Array_obj< unsigned char >::__new(); HX_STACK_VAR(data,"data"); - HX_STACK_LINE(46) - if (((inSize > (int)0))){ - HX_STACK_LINE(47) - data[(inSize - (int)1)] = (int)0; - } - HX_STACK_LINE(48) - super::__construct(inSize,data); - } -} -; - return null(); -} - -ByteArray_obj::~ByteArray_obj() { } - -Dynamic ByteArray_obj::__CreateEmpty() { return new ByteArray_obj; } -hx::ObjectPtr< ByteArray_obj > ByteArray_obj::__new(hx::Null< int > __o_inSize) -{ hx::ObjectPtr< ByteArray_obj > result = new ByteArray_obj(); - result->__construct(__o_inSize); - return result;} - -Dynamic ByteArray_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< ByteArray_obj > result = new ByteArray_obj(); - result->__construct(inArgs[0]); - return result;} - -hx::Object *ByteArray_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::neash::utils::IDataInput_obj)) return operator ::neash::utils::IDataInput_obj *(); - return super::__ToInterface(inType); -} - -void ByteArray_obj::__init__() { -HX_STACK_PUSH("ByteArray::__init__","neash/utils/ByteArray.hx",68); -{ - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_1) - ::neash::utils::ByteArray run(int inLen){ - HX_STACK_PUSH("*::_Function_1_1","neash/utils/ByteArray.hx",69); - HX_STACK_ARG(inLen,"inLen"); - { - HX_STACK_LINE(69) - return ::neash::utils::ByteArray_obj::__new(inLen); - } - return null(); - } - HX_END_LOCAL_FUNC1(return) - - HX_STACK_LINE(69) - Dynamic factory = Dynamic(new _Function_1_1()); HX_STACK_VAR(factory,"factory"); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_2) - Void run(::neash::utils::ByteArray inArray,int inLen){ - HX_STACK_PUSH("*::_Function_1_2","neash/utils/ByteArray.hx",70); - HX_STACK_ARG(inArray,"inArray"); - HX_STACK_ARG(inLen,"inLen"); - { - HX_STACK_LINE(71) - if (((inLen > (int)0))){ - HX_STACK_LINE(72) - inArray->__Field(HX_CSTRING("ensureElem"),true)((inLen - (int)1),true); - } - HX_STACK_LINE(73) - inArray->__FieldRef(HX_CSTRING("length")) = inLen; - } - return null(); - } - HX_END_LOCAL_FUNC2((void)) - - HX_STACK_LINE(70) - Dynamic resize = Dynamic(new _Function_1_2()); HX_STACK_VAR(resize,"resize"); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_3) - Array< unsigned char > run(::neash::utils::ByteArray inArray){ - HX_STACK_PUSH("*::_Function_1_3","neash/utils/ByteArray.hx",75); - HX_STACK_ARG(inArray,"inArray"); - { - HX_STACK_LINE(75) - return ( (((inArray == null()))) ? Array< unsigned char >(null()) : Array< unsigned char >(inArray->__Field(HX_CSTRING("b"),true)) ); - } - return null(); - } - HX_END_LOCAL_FUNC1(return) - - HX_STACK_LINE(75) - Dynamic bytes = Dynamic(new _Function_1_3()); HX_STACK_VAR(bytes,"bytes"); - - HX_BEGIN_LOCAL_FUNC_S0(hx::LocalFunc,_Function_1_4) - int run(::neash::utils::ByteArray inArray){ - HX_STACK_PUSH("*::_Function_1_4","neash/utils/ByteArray.hx",76); - HX_STACK_ARG(inArray,"inArray"); - { - HX_STACK_LINE(76) - return ( (((inArray == null()))) ? int((int)0) : int(inArray->__Field(HX_CSTRING("length"),true)) ); - } - return null(); - } - HX_END_LOCAL_FUNC1(return) - - HX_STACK_LINE(76) - Dynamic slen = Dynamic(new _Function_1_4()); HX_STACK_VAR(slen,"slen"); - HX_STACK_LINE(78) - Dynamic init = ::neash::Loader_obj::load(HX_CSTRING("nme_byte_array_init"),(int)4); HX_STACK_VAR(init,"init"); - HX_STACK_LINE(79) - init(factory,slen,resize,bytes); -} -} - -::String ByteArray_obj::nmeSetEndian( ::String s){ - HX_STACK_PUSH("ByteArray::nmeSetEndian","neash/utils/ByteArray.hx",487); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(487) - this->bigEndian = (s == HX_CSTRING("bigEndian")); - HX_STACK_LINE(487) - return s; -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,nmeSetEndian,return ) - -::String ByteArray_obj::nmeGetEndian( ){ - HX_STACK_PUSH("ByteArray::nmeGetEndian","neash/utils/ByteArray.hx",486); - HX_STACK_THIS(this); - HX_STACK_LINE(486) - return ( ((this->bigEndian)) ? ::String(HX_CSTRING("bigEndian")) : ::String(HX_CSTRING("littleEndian")) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,nmeGetEndian,return ) - -int ByteArray_obj::nmeGetBytesAvailable( ){ - HX_STACK_PUSH("ByteArray::nmeGetBytesAvailable","neash/utils/ByteArray.hx",485); - HX_STACK_THIS(this); - HX_STACK_LINE(485) - return (this->length - this->position); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,nmeGetBytesAvailable,return ) - -Void ByteArray_obj::writeUTFBytes( ::String s){ -{ - HX_STACK_PUSH("ByteArray::writeUTFBytes","neash/utils/ByteArray.hx",470); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(474) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::ofString(s); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(476) - this->writeBytes(bytes,null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeUTFBytes,(void)) - -Void ByteArray_obj::writeUTF( ::String s){ -{ - HX_STACK_PUSH("ByteArray::writeUTF","neash/utils/ByteArray.hx",458); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_LINE(462) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::ofString(s); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(464) - this->writeShort(bytes->length); - HX_STACK_LINE(465) - this->writeBytes(bytes,null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeUTF,(void)) - -Void ByteArray_obj::writeUnsignedInt( int value){ -{ - HX_STACK_PUSH("ByteArray::writeUnsignedInt","neash/utils/ByteArray.hx",452); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(452) - this->writeInt(value); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeUnsignedInt,(void)) - -Void ByteArray_obj::writeShort( int value){ -{ - HX_STACK_PUSH("ByteArray::writeShort","neash/utils/ByteArray.hx",436); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(437) - this->ensureElem((this->position + (int)1),true); - HX_STACK_LINE(438) - if ((this->bigEndian)){ - HX_STACK_LINE(440) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)8))); - HX_STACK_LINE(441) - this->b->__unsafe_set((this->position)++,value); - } - else{ - HX_STACK_LINE(445) - this->b->__unsafe_set((this->position)++,value); - HX_STACK_LINE(446) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)8))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeShort,(void)) - -Void ByteArray_obj::writeInt( int value){ -{ - HX_STACK_PUSH("ByteArray::writeInt","neash/utils/ByteArray.hx",412); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(413) - this->ensureElem((this->position + (int)3),true); - HX_STACK_LINE(414) - if ((this->bigEndian)){ - HX_STACK_LINE(416) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)24))); - HX_STACK_LINE(417) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)16))); - HX_STACK_LINE(418) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)8))); - HX_STACK_LINE(419) - this->b->__unsafe_set((this->position)++,value); - } - else{ - HX_STACK_LINE(423) - this->b->__unsafe_set((this->position)++,value); - HX_STACK_LINE(424) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)8))); - HX_STACK_LINE(425) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)16))); - HX_STACK_LINE(426) - this->b->__unsafe_set((this->position)++,(int(value) >> int((int)24))); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeInt,(void)) - -Void ByteArray_obj::writeFloat( Float x){ -{ - HX_STACK_PUSH("ByteArray::writeFloat","neash/utils/ByteArray.hx",401); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(405) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::ofData(::neash::utils::ByteArray_obj::_float_bytes(x,this->bigEndian)); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(407) - this->writeBytes(bytes,null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeFloat,(void)) - -Void ByteArray_obj::writeFile( ::String inString){ -{ - HX_STACK_PUSH("ByteArray::writeFile","neash/utils/ByteArray.hx",394); - HX_STACK_THIS(this); - HX_STACK_ARG(inString,"inString"); - HX_STACK_LINE(394) - ::neash::utils::ByteArray_obj::nme_byte_array_overwrite_file(inString,hx::ObjectPtr(this)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeFile,(void)) - -Void ByteArray_obj::writeDouble( Float x){ -{ - HX_STACK_PUSH("ByteArray::writeDouble","neash/utils/ByteArray.hx",382); - HX_STACK_THIS(this); - HX_STACK_ARG(x,"x"); - HX_STACK_LINE(386) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::ofData(::neash::utils::ByteArray_obj::_double_bytes(x,this->bigEndian)); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(388) - this->writeBytes(bytes,null(),null()); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeDouble,(void)) - -Void ByteArray_obj::writeBytes( ::haxe::io::Bytes bytes,hx::Null< int > __o_inOffset,hx::Null< int > __o_inLength){ -int inOffset = __o_inOffset.Default(0); -int inLength = __o_inLength.Default(0); - HX_STACK_PUSH("ByteArray::writeBytes","neash/utils/ByteArray.hx",372); - HX_STACK_THIS(this); - HX_STACK_ARG(bytes,"bytes"); - HX_STACK_ARG(inOffset,"inOffset"); - HX_STACK_ARG(inLength,"inLength"); -{ - HX_STACK_LINE(373) - if (((inLength == (int)0))){ - HX_STACK_LINE(373) - inLength = (bytes->length - inOffset); - } - HX_STACK_LINE(374) - this->ensureElem(((this->position + inLength) - (int)1),true); - HX_STACK_LINE(375) - int opos = this->position; HX_STACK_VAR(opos,"opos"); - HX_STACK_LINE(376) - hx::AddEq(this->position,inLength); - HX_STACK_LINE(377) - this->blit(opos,bytes,inOffset,inLength); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(ByteArray_obj,writeBytes,(void)) - -Void ByteArray_obj::write_uncheck( int inByte){ -{ - HX_STACK_PUSH("ByteArray::write_uncheck","neash/utils/ByteArray.hx",362); - HX_STACK_THIS(this); - HX_STACK_ARG(inByte,"inByte"); - HX_STACK_LINE(362) - this->b->__unsafe_set((this->position)++,inByte); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,write_uncheck,(void)) - -Void ByteArray_obj::writeByte( int value){ -{ - HX_STACK_PUSH("ByteArray::writeByte","neash/utils/ByteArray.hx",352); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(353) - this->ensureElem(this->position,true); - HX_STACK_LINE(355) - this->b[(this->position)++] = value; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeByte,(void)) - -Void ByteArray_obj::writeBoolean( bool value){ -{ - HX_STACK_PUSH("ByteArray::writeBoolean","neash/utils/ByteArray.hx",347); - HX_STACK_THIS(this); - HX_STACK_ARG(value,"value"); - HX_STACK_LINE(347) - { - HX_STACK_LINE(348) - this->ensureElem(this->position,true); - HX_STACK_LINE(348) - this->b[(this->position)++] = ( ((value)) ? int((int)1) : int((int)0) ); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,writeBoolean,(void)) - -Void ByteArray_obj::uncompress( ::String __o_algorithm){ -::String algorithm = __o_algorithm.Default(HX_CSTRING("")); - HX_STACK_PUSH("ByteArray::uncompress","neash/utils/ByteArray.hx",329); - HX_STACK_THIS(this); - HX_STACK_ARG(algorithm,"algorithm"); -{ - HX_STACK_LINE(333) - ::neash::utils::ByteArray src = hx::ObjectPtr(this); HX_STACK_VAR(src,"src"); - HX_STACK_LINE(336) - ::haxe::io::Bytes result = ::cpp::zip::Uncompress_obj::run(src,null()); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(337) - this->b = result->b; - HX_STACK_LINE(338) - this->length = result->length; - HX_STACK_LINE(339) - this->position = (int)0; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,uncompress,(void)) - -int ByteArray_obj::ThrowEOFi( ){ - HX_STACK_PUSH("ByteArray::ThrowEOFi","neash/utils/ByteArray.hx",322); - HX_STACK_THIS(this); - HX_STACK_LINE(323) - hx::Throw (::neash::errors::EOFError_obj::__new()); - HX_STACK_LINE(324) - return (int)0; -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,ThrowEOFi,return ) - -Void ByteArray_obj::setLength( int inLength){ -{ - HX_STACK_PUSH("ByteArray::setLength","neash/utils/ByteArray.hx",314); - HX_STACK_THIS(this); - HX_STACK_ARG(inLength,"inLength"); - HX_STACK_LINE(315) - if (((inLength > (int)0))){ - HX_STACK_LINE(316) - this->ensureElem((inLength - (int)1),false); - } - HX_STACK_LINE(317) - this->length = inLength; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,setLength,(void)) - -::String ByteArray_obj::readUTFBytes( int inLen){ - HX_STACK_PUSH("ByteArray::readUTFBytes","neash/utils/ByteArray.hx",297); - HX_STACK_THIS(this); - HX_STACK_ARG(inLen,"inLen"); - HX_STACK_LINE(298) - if ((((this->position + inLen) > this->length))){ - HX_STACK_LINE(299) - this->ThrowEOFi(); - } - HX_STACK_LINE(300) - int p = this->position; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(301) - hx::AddEq(this->position,inLen); - HX_STACK_LINE(306) - ::String result = HX_CSTRING(""); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(307) - ::__hxcpp_string_of_bytes(this->b,result,p,inLen); - HX_STACK_LINE(308) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,readUTFBytes,return ) - -::String ByteArray_obj::readUTF( ){ - HX_STACK_PUSH("ByteArray::readUTF","neash/utils/ByteArray.hx",290); - HX_STACK_THIS(this); - HX_STACK_LINE(291) - int len = this->readUnsignedShort(); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(292) - return this->readUTFBytes(len); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readUTF,return ) - -int ByteArray_obj::readUnsignedShort( ){ - HX_STACK_PUSH("ByteArray::readUnsignedShort","neash/utils/ByteArray.hx",282); - HX_STACK_THIS(this); - HX_STACK_LINE(283) - int ch1 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(284) - int ch2 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(285) - return ( ((this->bigEndian)) ? int((int((int(ch1) << int((int)8))) | int(ch2))) : int((((int(ch2) << int((int)8))) + ch1)) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readUnsignedShort,return ) - -int ByteArray_obj::readUnsignedInt( ){ - HX_STACK_PUSH("ByteArray::readUnsignedInt","neash/utils/ByteArray.hx",272); - HX_STACK_THIS(this); - HX_STACK_LINE(273) - int ch1 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(274) - int ch2 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(275) - int ch3 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(276) - int ch4 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch4,"ch4"); - HX_STACK_LINE(277) - return ( ((this->bigEndian)) ? int((int((int((int((int(ch1) << int((int)24))) | int((int(ch2) << int((int)16))))) | int((int(ch3) << int((int)8))))) | int(ch4))) : int((int((int((int((int(ch4) << int((int)24))) | int((int(ch3) << int((int)16))))) | int((int(ch2) << int((int)8))))) | int(ch1))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readUnsignedInt,return ) - -int ByteArray_obj::readUnsignedByte( ){ - HX_STACK_PUSH("ByteArray::readUnsignedByte","neash/utils/ByteArray.hx",266); - HX_STACK_THIS(this); - HX_STACK_LINE(266) - return ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readUnsignedByte,return ) - -int ByteArray_obj::readShort( ){ - HX_STACK_PUSH("ByteArray::readShort","neash/utils/ByteArray.hx",257); - HX_STACK_THIS(this); - HX_STACK_LINE(258) - int ch1 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(259) - int ch2 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(260) - int val = ( ((this->bigEndian)) ? int((int((int(ch1) << int((int)8))) | int(ch2))) : int((((int(ch2) << int((int)8))) + ch1)) ); HX_STACK_VAR(val,"val"); - HX_STACK_LINE(261) - return ( (((val >= (int)32768))) ? int(((int)65534 - val)) : int(val) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readShort,return ) - -int ByteArray_obj::readInt( ){ - HX_STACK_PUSH("ByteArray::readInt","neash/utils/ByteArray.hx",247); - HX_STACK_THIS(this); - HX_STACK_LINE(248) - int ch1 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch1,"ch1"); - HX_STACK_LINE(249) - int ch2 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch2,"ch2"); - HX_STACK_LINE(250) - int ch3 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch3,"ch3"); - HX_STACK_LINE(251) - int ch4 = ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); HX_STACK_VAR(ch4,"ch4"); - HX_STACK_LINE(252) - return ( ((this->bigEndian)) ? int((int((int((int((int(ch1) << int((int)24))) | int((int(ch2) << int((int)16))))) | int((int(ch3) << int((int)8))))) | int(ch4))) : int((int((int((int((int(ch4) << int((int)24))) | int((int(ch3) << int((int)16))))) | int((int(ch2) << int((int)8))))) | int(ch1))) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readInt,return ) - -Float ByteArray_obj::readFloat( ){ - HX_STACK_PUSH("ByteArray::readFloat","neash/utils/ByteArray.hx",231); - HX_STACK_THIS(this); - HX_STACK_LINE(232) - if ((((this->position + (int)4) > this->length))){ - HX_STACK_LINE(233) - this->ThrowEOFi(); - } - HX_STACK_LINE(238) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::__new((int)4,this->b->slice(this->position,(this->position + (int)4))); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(241) - hx::AddEq(this->position,(int)4); - HX_STACK_LINE(242) - return ::neash::utils::ByteArray_obj::_float_of_bytes(bytes->b,this->bigEndian); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readFloat,return ) - -Float ByteArray_obj::readDouble( ){ - HX_STACK_PUSH("ByteArray::readDouble","neash/utils/ByteArray.hx",207); - HX_STACK_THIS(this); - HX_STACK_LINE(208) - if ((((this->position + (int)8) > this->length))){ - HX_STACK_LINE(209) - this->ThrowEOFi(); - } - HX_STACK_LINE(214) - ::haxe::io::Bytes bytes = ::haxe::io::Bytes_obj::__new((int)8,this->b->slice(this->position,(this->position + (int)8))); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(217) - hx::AddEq(this->position,(int)8); - HX_STACK_LINE(218) - return ::neash::utils::ByteArray_obj::_double_of_bytes(bytes->b,this->bigEndian); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readDouble,return ) - -Void ByteArray_obj::readBytes( ::neash::utils::ByteArray outData,hx::Null< int > __o_inOffset,hx::Null< int > __o_inLen){ -int inOffset = __o_inOffset.Default(0); -int inLen = __o_inLen.Default(0); - HX_STACK_PUSH("ByteArray::readBytes","neash/utils/ByteArray.hx",185); - HX_STACK_THIS(this); - HX_STACK_ARG(outData,"outData"); - HX_STACK_ARG(inOffset,"inOffset"); - HX_STACK_ARG(inLen,"inLen"); -{ - HX_STACK_LINE(186) - if (((inLen == (int)0))){ - HX_STACK_LINE(187) - inLen = (this->length - this->position); - } - HX_STACK_LINE(188) - if ((((this->position + inLen) > this->length))){ - HX_STACK_LINE(189) - this->ThrowEOFi(); - } - HX_STACK_LINE(190) - if (((outData->length < (inOffset + inLen)))){ - HX_STACK_LINE(191) - outData->ensureElem(((inOffset + inLen) - (int)1),true); - } - HX_STACK_LINE(196) - Array< unsigned char > b1 = this->b; HX_STACK_VAR(b1,"b1"); - HX_STACK_LINE(197) - Array< unsigned char > b2 = outData->b; HX_STACK_VAR(b2,"b2"); - HX_STACK_LINE(198) - int p = this->position; HX_STACK_VAR(p,"p"); - HX_STACK_LINE(199) - { - HX_STACK_LINE(199) - int _g = (int)0; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(199) - while(((_g < inLen))){ - HX_STACK_LINE(199) - int i = (_g)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(200) - b2[(inOffset + i)] = b1->__get((p + i)); - } - } - HX_STACK_LINE(202) - hx::AddEq(this->position,inLen); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(ByteArray_obj,readBytes,(void)) - -::String ByteArray_obj::readMultiByte( int inLen,::String charSet){ - HX_STACK_PUSH("ByteArray::readMultiByte","neash/utils/ByteArray.hx",177); - HX_STACK_THIS(this); - HX_STACK_ARG(inLen,"inLen"); - HX_STACK_ARG(charSet,"charSet"); - HX_STACK_LINE(177) - return this->readUTFBytes(inLen); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ByteArray_obj,readMultiByte,return ) - -int ByteArray_obj::readByte( ){ - HX_STACK_PUSH("ByteArray::readByte","neash/utils/ByteArray.hx",171); - HX_STACK_THIS(this); - HX_STACK_LINE(171) - return ( (((this->position < this->length))) ? int(this->b->__get((this->position)++)) : int(this->ThrowEOFi()) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readByte,return ) - -bool ByteArray_obj::readBoolean( ){ - HX_STACK_PUSH("ByteArray::readBoolean","neash/utils/ByteArray.hx",165); - HX_STACK_THIS(this); - HX_STACK_LINE(165) - return ( ((((this->position + (int)1) < this->length))) ? bool((this->b->__get((this->position)++) != (int)0)) : bool((this->ThrowEOFi() != (int)0)) ); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,readBoolean,return ) - -Void ByteArray_obj::ensureElem( int inSize,bool inUpdateLenght){ -{ - HX_STACK_PUSH("ByteArray::ensureElem","neash/utils/ByteArray.hx",132); - HX_STACK_THIS(this); - HX_STACK_ARG(inSize,"inSize"); - HX_STACK_ARG(inUpdateLenght,"inUpdateLenght"); - HX_STACK_LINE(133) - int len = (inSize + (int)1); HX_STACK_VAR(len,"len"); - HX_STACK_LINE(143) - if (((this->b->length < len))){ - HX_STACK_LINE(144) - this->b->__SetSize(len); - } - HX_STACK_LINE(146) - if (((bool(inUpdateLenght) && bool((this->length < len))))){ - HX_STACK_LINE(147) - this->length = len; - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ByteArray_obj,ensureElem,(void)) - -Void ByteArray_obj::compress( ::String __o_algorithm){ -::String algorithm = __o_algorithm.Default(HX_CSTRING("")); - HX_STACK_PUSH("ByteArray::compress","neash/utils/ByteArray.hx",115); - HX_STACK_THIS(this); - HX_STACK_ARG(algorithm,"algorithm"); -{ - HX_STACK_LINE(119) - ::neash::utils::ByteArray src = hx::ObjectPtr(this); HX_STACK_VAR(src,"src"); - HX_STACK_LINE(121) - ::haxe::io::Bytes result = ::cpp::zip::Compress_obj::run(src,(int)8); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(122) - this->b = result->b; - HX_STACK_LINE(123) - this->length = result->length; - HX_STACK_LINE(124) - this->position = this->length; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,compress,(void)) - -Void ByteArray_obj::clear( ){ -{ - HX_STACK_PUSH("ByteArray::clear","neash/utils/ByteArray.hx",109); - HX_STACK_THIS(this); - HX_STACK_LINE(110) - this->position = (int)0; - HX_STACK_LINE(111) - this->length = (int)0; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,clear,(void)) - -Void ByteArray_obj::checkData( int inLength){ -{ - HX_STACK_PUSH("ByteArray::checkData","neash/utils/ByteArray.hx",103); - HX_STACK_THIS(this); - HX_STACK_ARG(inLength,"inLength"); - HX_STACK_LINE(103) - if ((((inLength + this->position) > this->length))){ - HX_STACK_LINE(105) - this->ThrowEOFi(); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,checkData,(void)) - -::String ByteArray_obj::asString( ){ - HX_STACK_PUSH("ByteArray::asString","neash/utils/ByteArray.hx",95); - HX_STACK_THIS(this); - HX_STACK_LINE(95) - return this->readUTFBytes(this->length); -} - - -HX_DEFINE_DYNAMIC_FUNC0(ByteArray_obj,asString,return ) - -Void ByteArray_obj::__set( int pos,int v){ -{ - HX_STACK_PUSH("ByteArray::__set","neash/utils/ByteArray.hx",85); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(v,"v"); - HX_STACK_LINE(85) - this->b[pos] = v; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(ByteArray_obj,__set,(void)) - -int ByteArray_obj::__get( int pos){ - HX_STACK_PUSH("ByteArray::__get","neash/utils/ByteArray.hx",55); - HX_STACK_THIS(this); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(55) - return this->b->__get(pos); -} - - -HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,__get,return ) - -::neash::utils::ByteArray ByteArray_obj::fromBytes( ::haxe::io::Bytes inBytes){ - HX_STACK_PUSH("ByteArray::fromBytes","neash/utils/ByteArray.hx",152); - HX_STACK_ARG(inBytes,"inBytes"); - HX_STACK_LINE(153) - ::neash::utils::ByteArray result = ::neash::utils::ByteArray_obj::__new((int)-1); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(154) - result->b = inBytes->b; - HX_STACK_LINE(155) - result->length = inBytes->length; - HX_STACK_LINE(159) - return result; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,fromBytes,return ) - -::neash::utils::ByteArray ByteArray_obj::readFile( ::String inString){ - HX_STACK_PUSH("ByteArray::readFile","neash/utils/ByteArray.hx",224); - HX_STACK_ARG(inString,"inString"); - HX_STACK_LINE(224) - return ::neash::utils::ByteArray_obj::nme_byte_array_read_file(inString); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(ByteArray_obj,readFile,return ) - -Dynamic ByteArray_obj::_double_bytes; - -Dynamic ByteArray_obj::_double_of_bytes; - -Dynamic ByteArray_obj::_float_bytes; - -Dynamic ByteArray_obj::_float_of_bytes; - -Dynamic ByteArray_obj::nme_byte_array_overwrite_file; - -Dynamic ByteArray_obj::nme_byte_array_read_file; - - -ByteArray_obj::ByteArray_obj() -{ -} - -void ByteArray_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(ByteArray); - HX_MARK_MEMBER_NAME(position,"position"); - HX_MARK_MEMBER_NAME(endian,"endian"); - HX_MARK_MEMBER_NAME(bytesAvailable,"bytesAvailable"); - HX_MARK_MEMBER_NAME(bigEndian,"bigEndian"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void ByteArray_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(position,"position"); - HX_VISIT_MEMBER_NAME(endian,"endian"); - HX_VISIT_MEMBER_NAME(bytesAvailable,"bytesAvailable"); - HX_VISIT_MEMBER_NAME(bigEndian,"bigEndian"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic ByteArray_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 5: - if (HX_FIELD_EQ(inName,"clear") ) { return clear_dyn(); } - if (HX_FIELD_EQ(inName,"__set") ) { return __set_dyn(); } - if (HX_FIELD_EQ(inName,"__get") ) { return __get_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"endian") ) { return inCallProp ? nmeGetEndian() : endian; } - break; - case 7: - if (HX_FIELD_EQ(inName,"readUTF") ) { return readUTF_dyn(); } - if (HX_FIELD_EQ(inName,"readInt") ) { return readInt_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"readFile") ) { return readFile_dyn(); } - if (HX_FIELD_EQ(inName,"writeUTF") ) { return writeUTF_dyn(); } - if (HX_FIELD_EQ(inName,"writeInt") ) { return writeInt_dyn(); } - if (HX_FIELD_EQ(inName,"readByte") ) { return readByte_dyn(); } - if (HX_FIELD_EQ(inName,"compress") ) { return compress_dyn(); } - if (HX_FIELD_EQ(inName,"asString") ) { return asString_dyn(); } - if (HX_FIELD_EQ(inName,"position") ) { return position; } - break; - case 9: - if (HX_FIELD_EQ(inName,"fromBytes") ) { return fromBytes_dyn(); } - if (HX_FIELD_EQ(inName,"writeFile") ) { return writeFile_dyn(); } - if (HX_FIELD_EQ(inName,"writeByte") ) { return writeByte_dyn(); } - if (HX_FIELD_EQ(inName,"ThrowEOFi") ) { return ThrowEOFi_dyn(); } - if (HX_FIELD_EQ(inName,"setLength") ) { return setLength_dyn(); } - if (HX_FIELD_EQ(inName,"readShort") ) { return readShort_dyn(); } - if (HX_FIELD_EQ(inName,"readFloat") ) { return readFloat_dyn(); } - if (HX_FIELD_EQ(inName,"readBytes") ) { return readBytes_dyn(); } - if (HX_FIELD_EQ(inName,"checkData") ) { return checkData_dyn(); } - if (HX_FIELD_EQ(inName,"bigEndian") ) { return bigEndian; } - break; - case 10: - if (HX_FIELD_EQ(inName,"writeShort") ) { return writeShort_dyn(); } - if (HX_FIELD_EQ(inName,"writeFloat") ) { return writeFloat_dyn(); } - if (HX_FIELD_EQ(inName,"writeBytes") ) { return writeBytes_dyn(); } - if (HX_FIELD_EQ(inName,"uncompress") ) { return uncompress_dyn(); } - if (HX_FIELD_EQ(inName,"readDouble") ) { return readDouble_dyn(); } - if (HX_FIELD_EQ(inName,"ensureElem") ) { return ensureElem_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"writeDouble") ) { return writeDouble_dyn(); } - if (HX_FIELD_EQ(inName,"readBoolean") ) { return readBoolean_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_float_bytes") ) { return _float_bytes; } - if (HX_FIELD_EQ(inName,"nmeSetEndian") ) { return nmeSetEndian_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetEndian") ) { return nmeGetEndian_dyn(); } - if (HX_FIELD_EQ(inName,"writeBoolean") ) { return writeBoolean_dyn(); } - if (HX_FIELD_EQ(inName,"readUTFBytes") ) { return readUTFBytes_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"_double_bytes") ) { return _double_bytes; } - if (HX_FIELD_EQ(inName,"writeUTFBytes") ) { return writeUTFBytes_dyn(); } - if (HX_FIELD_EQ(inName,"write_uncheck") ) { return write_uncheck_dyn(); } - if (HX_FIELD_EQ(inName,"readMultiByte") ) { return readMultiByte_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"bytesAvailable") ) { return inCallProp ? nmeGetBytesAvailable() : bytesAvailable; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_float_of_bytes") ) { return _float_of_bytes; } - if (HX_FIELD_EQ(inName,"readUnsignedInt") ) { return readUnsignedInt_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"_double_of_bytes") ) { return _double_of_bytes; } - if (HX_FIELD_EQ(inName,"writeUnsignedInt") ) { return writeUnsignedInt_dyn(); } - if (HX_FIELD_EQ(inName,"readUnsignedByte") ) { return readUnsignedByte_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"readUnsignedShort") ) { return readUnsignedShort_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"nmeGetBytesAvailable") ) { return nmeGetBytesAvailable_dyn(); } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_byte_array_read_file") ) { return nme_byte_array_read_file; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_byte_array_overwrite_file") ) { return nme_byte_array_overwrite_file; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic ByteArray_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"endian") ) { if (inCallProp) return nmeSetEndian(inValue);endian=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"position") ) { position=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"bigEndian") ) { bigEndian=inValue.Cast< bool >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_float_bytes") ) { _float_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"_double_bytes") ) { _double_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"bytesAvailable") ) { bytesAvailable=inValue.Cast< int >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"_float_of_bytes") ) { _float_of_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"_double_of_bytes") ) { _double_of_bytes=inValue.Cast< Dynamic >(); return inValue; } - break; - case 24: - if (HX_FIELD_EQ(inName,"nme_byte_array_read_file") ) { nme_byte_array_read_file=inValue.Cast< Dynamic >(); return inValue; } - break; - case 29: - if (HX_FIELD_EQ(inName,"nme_byte_array_overwrite_file") ) { nme_byte_array_overwrite_file=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void ByteArray_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("position")); - outFields->push(HX_CSTRING("endian")); - outFields->push(HX_CSTRING("bytesAvailable")); - outFields->push(HX_CSTRING("bigEndian")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("fromBytes"), - HX_CSTRING("readFile"), - HX_CSTRING("_double_bytes"), - HX_CSTRING("_double_of_bytes"), - HX_CSTRING("_float_bytes"), - HX_CSTRING("_float_of_bytes"), - HX_CSTRING("nme_byte_array_overwrite_file"), - HX_CSTRING("nme_byte_array_read_file"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("nmeSetEndian"), - HX_CSTRING("nmeGetEndian"), - HX_CSTRING("nmeGetBytesAvailable"), - HX_CSTRING("writeUTFBytes"), - HX_CSTRING("writeUTF"), - HX_CSTRING("writeUnsignedInt"), - HX_CSTRING("writeShort"), - HX_CSTRING("writeInt"), - HX_CSTRING("writeFloat"), - HX_CSTRING("writeFile"), - HX_CSTRING("writeDouble"), - HX_CSTRING("writeBytes"), - HX_CSTRING("write_uncheck"), - HX_CSTRING("writeByte"), - HX_CSTRING("writeBoolean"), - HX_CSTRING("uncompress"), - HX_CSTRING("ThrowEOFi"), - HX_CSTRING("setLength"), - HX_CSTRING("readUTFBytes"), - HX_CSTRING("readUTF"), - HX_CSTRING("readUnsignedShort"), - HX_CSTRING("readUnsignedInt"), - HX_CSTRING("readUnsignedByte"), - HX_CSTRING("readShort"), - HX_CSTRING("readInt"), - HX_CSTRING("readFloat"), - HX_CSTRING("readDouble"), - HX_CSTRING("readBytes"), - HX_CSTRING("readMultiByte"), - HX_CSTRING("readByte"), - HX_CSTRING("readBoolean"), - HX_CSTRING("ensureElem"), - HX_CSTRING("compress"), - HX_CSTRING("clear"), - HX_CSTRING("checkData"), - HX_CSTRING("asString"), - HX_CSTRING("__set"), - HX_CSTRING("__get"), - HX_CSTRING("position"), - HX_CSTRING("endian"), - HX_CSTRING("bytesAvailable"), - HX_CSTRING("bigEndian"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ByteArray_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(ByteArray_obj::_double_bytes,"_double_bytes"); - HX_MARK_MEMBER_NAME(ByteArray_obj::_double_of_bytes,"_double_of_bytes"); - HX_MARK_MEMBER_NAME(ByteArray_obj::_float_bytes,"_float_bytes"); - HX_MARK_MEMBER_NAME(ByteArray_obj::_float_of_bytes,"_float_of_bytes"); - HX_MARK_MEMBER_NAME(ByteArray_obj::nme_byte_array_overwrite_file,"nme_byte_array_overwrite_file"); - HX_MARK_MEMBER_NAME(ByteArray_obj::nme_byte_array_read_file,"nme_byte_array_read_file"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ByteArray_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::_double_bytes,"_double_bytes"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::_double_of_bytes,"_double_of_bytes"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::_float_bytes,"_float_bytes"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::_float_of_bytes,"_float_of_bytes"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::nme_byte_array_overwrite_file,"nme_byte_array_overwrite_file"); - HX_VISIT_MEMBER_NAME(ByteArray_obj::nme_byte_array_read_file,"nme_byte_array_read_file"); -}; - -Class ByteArray_obj::__mClass; - -void ByteArray_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.utils.ByteArray"), hx::TCanCast< ByteArray_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ByteArray_obj::__boot() -{ - _double_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("double_bytes"),(int)2); - _double_of_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("double_of_bytes"),(int)2); - _float_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("float_bytes"),(int)2); - _float_of_bytes= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("float_of_bytes"),(int)2); - nme_byte_array_overwrite_file= ::neash::Loader_obj::load(HX_CSTRING("nme_byte_array_overwrite_file"),(int)2); - nme_byte_array_read_file= ::neash::Loader_obj::load(HX_CSTRING("nme_byte_array_read_file"),(int)1); -} - -} // end namespace neash -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/utils/Endian.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/utils/Endian.cpp deleted file mode 100644 index 0c78090..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/utils/Endian.cpp +++ /dev/null @@ -1,111 +0,0 @@ -#include - -#ifndef INCLUDED_neash_utils_Endian -#include -#endif -namespace neash{ -namespace utils{ - -Void Endian_obj::__construct() -{ - return null(); -} - -Endian_obj::~Endian_obj() { } - -Dynamic Endian_obj::__CreateEmpty() { return new Endian_obj; } -hx::ObjectPtr< Endian_obj > Endian_obj::__new() -{ hx::ObjectPtr< Endian_obj > result = new Endian_obj(); - result->__construct(); - return result;} - -Dynamic Endian_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Endian_obj > result = new Endian_obj(); - result->__construct(); - return result;} - -::String Endian_obj::_BIG_ENDIAN; - -::String Endian_obj::_LITTLE_ENDIAN; - - -Endian_obj::Endian_obj() -{ -} - -void Endian_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Endian); - HX_MARK_END_CLASS(); -} - -void Endian_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Endian_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"BIG_ENDIAN") ) { return _BIG_ENDIAN; } - break; - case 13: - if (HX_FIELD_EQ(inName,"LITTLE_ENDIAN") ) { return _LITTLE_ENDIAN; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Endian_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 10: - if (HX_FIELD_EQ(inName,"BIG_ENDIAN") ) { _BIG_ENDIAN=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"LITTLE_ENDIAN") ) { _LITTLE_ENDIAN=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Endian_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("BIG_ENDIAN"), - HX_CSTRING("LITTLE_ENDIAN"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Endian_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Endian_obj::_BIG_ENDIAN,"BIG_ENDIAN"); - HX_MARK_MEMBER_NAME(Endian_obj::_LITTLE_ENDIAN,"LITTLE_ENDIAN"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Endian_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Endian_obj::_BIG_ENDIAN,"BIG_ENDIAN"); - HX_VISIT_MEMBER_NAME(Endian_obj::_LITTLE_ENDIAN,"LITTLE_ENDIAN"); -}; - -Class Endian_obj::__mClass; - -void Endian_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.utils.Endian"), hx::TCanCast< Endian_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Endian_obj::__boot() -{ - _BIG_ENDIAN= HX_CSTRING("bigEndian"); - _LITTLE_ENDIAN= HX_CSTRING("littleEndian"); -} - -} // end namespace neash -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/utils/IDataInput.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/utils/IDataInput.cpp deleted file mode 100644 index 5b80197..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/utils/IDataInput.cpp +++ /dev/null @@ -1,68 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -namespace neash{ -namespace utils{ - -HX_DEFINE_DYNAMIC_FUNC1(IDataInput_obj,nmeSetEndian,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,nmeGetEndian,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,nmeGetBytesAvailable,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IDataInput_obj,readUTFBytes,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readUTF,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readUnsignedShort,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readUnsignedInt,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readUnsignedByte,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readShort,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readInt,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readFloat,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readDouble,return ) - -HX_DEFINE_DYNAMIC_FUNC3(IDataInput_obj,readBytes,) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readByte,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IDataInput_obj,readBoolean,return ) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IDataInput_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IDataInput_obj::__mClass,"__mClass"); -}; - -Class IDataInput_obj::__mClass; - -void IDataInput_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.utils.IDataInput"), hx::TCanCast< IDataInput_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IDataInput_obj::__boot() -{ -} - -} // end namespace neash -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/utils/WeakRef.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/utils/WeakRef.cpp deleted file mode 100644 index 438be49..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/neash/utils/WeakRef.cpp +++ /dev/null @@ -1,201 +0,0 @@ -#include - -#ifndef INCLUDED_Std -#include -#endif -#ifndef INCLUDED_neash_Loader -#include -#endif -#ifndef INCLUDED_neash_utils_WeakRef -#include -#endif -namespace neash{ -namespace utils{ - -Void WeakRef_obj::__construct(Dynamic inObject,hx::Null< bool > __o_inMakeWeak) -{ -HX_STACK_PUSH("WeakRef::new","neash/utils/WeakRef.hx",16); -bool inMakeWeak = __o_inMakeWeak.Default(true); -{ - HX_STACK_LINE(16) - if ((inMakeWeak)){ - HX_STACK_LINE(19) - this->weakRef = ::neash::utils::WeakRef_obj::nme_weak_ref_create(hx::ObjectPtr(this),inObject); - HX_STACK_LINE(20) - this->hardRef = null(); - } - else{ - HX_STACK_LINE(24) - this->weakRef = (int)-1; - HX_STACK_LINE(25) - this->hardRef = inObject; - } -} -; - return null(); -} - -WeakRef_obj::~WeakRef_obj() { } - -Dynamic WeakRef_obj::__CreateEmpty() { return new WeakRef_obj; } -hx::ObjectPtr< WeakRef_obj > WeakRef_obj::__new(Dynamic inObject,hx::Null< bool > __o_inMakeWeak) -{ hx::ObjectPtr< WeakRef_obj > result = new WeakRef_obj(); - result->__construct(inObject,__o_inMakeWeak); - return result;} - -Dynamic WeakRef_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< WeakRef_obj > result = new WeakRef_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -::String WeakRef_obj::toString( ){ - HX_STACK_PUSH("WeakRef::toString","neash/utils/WeakRef.hx",46); - HX_STACK_THIS(this); - HX_STACK_LINE(47) - if (((this->hardRef == null()))){ - HX_STACK_LINE(48) - return (HX_CSTRING("") + ::Std_obj::string(this->hardRef)); - } - HX_STACK_LINE(50) - return ((HX_CSTRING("WeakRef(") + this->weakRef) + HX_CSTRING(")")); -} - - -HX_DEFINE_DYNAMIC_FUNC0(WeakRef_obj,toString,return ) - -Dynamic WeakRef_obj::get( ){ - HX_STACK_PUSH("WeakRef::get","neash/utils/WeakRef.hx",31); - HX_STACK_THIS(this); - HX_STACK_LINE(32) - if (((this->hardRef != null()))){ - HX_STACK_LINE(33) - return this->hardRef; - } - HX_STACK_LINE(35) - if (((this->weakRef < (int)0))){ - HX_STACK_LINE(36) - return null(); - } - HX_STACK_LINE(38) - Dynamic result = ::neash::utils::WeakRef_obj::nme_weak_ref_get(this->weakRef); HX_STACK_VAR(result,"result"); - HX_STACK_LINE(39) - if (((result == null()))){ - HX_STACK_LINE(40) - this->weakRef = (int)-1; - } - HX_STACK_LINE(41) - return result; -} - - -HX_DEFINE_DYNAMIC_FUNC0(WeakRef_obj,get,return ) - -Dynamic WeakRef_obj::nme_weak_ref_create; - -Dynamic WeakRef_obj::nme_weak_ref_get; - - -WeakRef_obj::WeakRef_obj() -{ -} - -void WeakRef_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(WeakRef); - HX_MARK_MEMBER_NAME(weakRef,"weakRef"); - HX_MARK_MEMBER_NAME(hardRef,"hardRef"); - HX_MARK_END_CLASS(); -} - -void WeakRef_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(weakRef,"weakRef"); - HX_VISIT_MEMBER_NAME(hardRef,"hardRef"); -} - -Dynamic WeakRef_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"get") ) { return get_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"weakRef") ) { return weakRef; } - if (HX_FIELD_EQ(inName,"hardRef") ) { return hardRef; } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_weak_ref_get") ) { return nme_weak_ref_get; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_weak_ref_create") ) { return nme_weak_ref_create; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic WeakRef_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"weakRef") ) { weakRef=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"hardRef") ) { hardRef=inValue.Cast< Dynamic >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"nme_weak_ref_get") ) { nme_weak_ref_get=inValue.Cast< Dynamic >(); return inValue; } - break; - case 19: - if (HX_FIELD_EQ(inName,"nme_weak_ref_create") ) { nme_weak_ref_create=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void WeakRef_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("weakRef")); - outFields->push(HX_CSTRING("hardRef")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("nme_weak_ref_create"), - HX_CSTRING("nme_weak_ref_get"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("toString"), - HX_CSTRING("get"), - HX_CSTRING("weakRef"), - HX_CSTRING("hardRef"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(WeakRef_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(WeakRef_obj::nme_weak_ref_create,"nme_weak_ref_create"); - HX_MARK_MEMBER_NAME(WeakRef_obj::nme_weak_ref_get,"nme_weak_ref_get"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(WeakRef_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(WeakRef_obj::nme_weak_ref_create,"nme_weak_ref_create"); - HX_VISIT_MEMBER_NAME(WeakRef_obj::nme_weak_ref_get,"nme_weak_ref_get"); -}; - -Class WeakRef_obj::__mClass; - -void WeakRef_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("neash.utils.WeakRef"), hx::TCanCast< WeakRef_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void WeakRef_obj::__boot() -{ - nme_weak_ref_create= ::neash::Loader_obj::load(HX_CSTRING("nme_weak_ref_create"),(int)2); - nme_weak_ref_get= ::neash::Loader_obj::load(HX_CSTRING("nme_weak_ref_get"),(int)1); -} - -} // end namespace neash -} // end namespace utils diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/nme/Lib.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/nme/Lib.cpp deleted file mode 100644 index edc8c96..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/nme/Lib.cpp +++ /dev/null @@ -1,577 +0,0 @@ -#include - -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_neash_Lib -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_ManagedStage -#include -#endif -#ifndef INCLUDED_neash_display_MovieClip -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_display_Stage -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_net_URLRequest -#include -#endif -#ifndef INCLUDED_nme_Lib -#include -#endif -namespace nme{ - -Void Lib_obj::__construct() -{ - return null(); -} - -Lib_obj::~Lib_obj() { } - -Dynamic Lib_obj::__CreateEmpty() { return new Lib_obj; } -hx::ObjectPtr< Lib_obj > Lib_obj::__new() -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -Dynamic Lib_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Lib_obj > result = new Lib_obj(); - result->__construct(); - return result;} - -int Lib_obj::FULLSCREEN; - -int Lib_obj::BORDERLESS; - -int Lib_obj::RESIZABLE; - -int Lib_obj::HARDWARE; - -int Lib_obj::VSYNC; - -int Lib_obj::HW_AA; - -int Lib_obj::HW_AA_HIRES; - -int Lib_obj::ALLOW_SHADERS; - -::String Lib_obj::company; - -::neash::display::MovieClip Lib_obj::current; - -::String Lib_obj::file; - -int Lib_obj::initHeight; - -int Lib_obj::initWidth; - -::String Lib_obj::packageName; - -::neash::display::Stage Lib_obj::stage; - -::String Lib_obj::version; - -Void Lib_obj::close( ){ -{ - HX_STACK_PUSH("Lib::close","nme/Lib.hx",37); - HX_STACK_LINE(37) - ::neash::Lib_obj::close(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,close,(void)) - -Void Lib_obj::create( Dynamic onLoaded,int width,int height,hx::Null< Float > __o_frameRate,hx::Null< int > __o_color,hx::Null< int > __o_flags,::String __o_title,::neash::display::BitmapData icon){ -Float frameRate = __o_frameRate.Default(60.0); -int color = __o_color.Default(16777215); -int flags = __o_flags.Default(15); -::String title = __o_title.Default(HX_CSTRING("NME")); - HX_STACK_PUSH("Lib::create","nme/Lib.hx",60); - HX_STACK_ARG(onLoaded,"onLoaded"); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); - HX_STACK_ARG(frameRate,"frameRate"); - HX_STACK_ARG(color,"color"); - HX_STACK_ARG(flags,"flags"); - HX_STACK_ARG(title,"title"); - HX_STACK_ARG(icon,"icon"); -{ - HX_STACK_LINE(60) - ::neash::Lib_obj::create(onLoaded,width,height,frameRate,color,flags,title,icon); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC8(Lib_obj,create,(void)) - -::neash::display::ManagedStage Lib_obj::createManagedStage( int width,int height){ - HX_STACK_PUSH("Lib::createManagedStage","nme/Lib.hx",76); - HX_STACK_ARG(width,"width"); - HX_STACK_ARG(height,"height"); - HX_STACK_LINE(79) - return ::neash::Lib_obj::createManagedStage(width,height,null()); - HX_STACK_LINE(81) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Lib_obj,createManagedStage,return ) - -Void Lib_obj::exit( ){ -{ - HX_STACK_PUSH("Lib::exit","nme/Lib.hx",92); - HX_STACK_LINE(92) - ::neash::Lib_obj::exit(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,exit,(void)) - -Void Lib_obj::forceClose( ){ -{ - HX_STACK_PUSH("Lib::forceClose","nme/Lib.hx",106); - HX_STACK_LINE(106) - ::neash::Lib_obj::forceClose(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,forceClose,(void)) - -int Lib_obj::getTimer( ){ - HX_STACK_PUSH("Lib::getTimer","nme/Lib.hx",124); - HX_STACK_LINE(124) - return ::neash::Lib_obj::getTimer(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,getTimer,return ) - -Void Lib_obj::getURL( ::neash::net::URLRequest url,::String target){ -{ - HX_STACK_PUSH("Lib::getURL","nme/Lib.hx",143); - HX_STACK_ARG(url,"url"); - HX_STACK_ARG(target,"target"); - HX_STACK_LINE(143) - ::neash::Lib_obj::getURL(url,target); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Lib_obj,getURL,(void)) - -Void Lib_obj::pause( ){ -{ - HX_STACK_PUSH("Lib::pause","nme/Lib.hx",162); - HX_STACK_LINE(162) - ::neash::Lib_obj::pause(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,pause,(void)) - -Void Lib_obj::postUICallback( Dynamic handler){ -{ - HX_STACK_PUSH("Lib::postUICallback","nme/Lib.hx",180); - HX_STACK_ARG(handler,"handler"); - HX_STACK_LINE(180) - ::neash::Lib_obj::postUICallback(handler); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,postUICallback,(void)) - -Void Lib_obj::resume( ){ -{ - HX_STACK_PUSH("Lib::resume","nme/Lib.hx",197); - HX_STACK_LINE(197) - ::neash::Lib_obj::resume(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,resume,(void)) - -Void Lib_obj::setPackage( ::String company,::String file,::String packageName,::String version){ -{ - HX_STACK_PUSH("Lib::setPackage","nme/Lib.hx",216); - HX_STACK_ARG(company,"company"); - HX_STACK_ARG(file,"file"); - HX_STACK_ARG(packageName,"packageName"); - HX_STACK_ARG(version,"version"); - HX_STACK_LINE(216) - ::neash::Lib_obj::setPackage(company,file,packageName,version); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC4(Lib_obj,setPackage,(void)) - -Void Lib_obj::trace( Dynamic arg){ -{ - HX_STACK_PUSH("Lib::trace","nme/Lib.hx",229); - HX_STACK_ARG(arg,"arg"); - HX_STACK_LINE(229) - ::haxe::Log_obj::trace(arg,hx::SourceInfo(HX_CSTRING("Lib.hx"),232,HX_CSTRING("nme.Lib"),HX_CSTRING("trace"))); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Lib_obj,trace,(void)) - -::String Lib_obj::nmeGetCompany( ){ - HX_STACK_PUSH("Lib::nmeGetCompany","nme/Lib.hx",248); - HX_STACK_LINE(251) - return ::neash::Lib_obj::company; - HX_STACK_LINE(253) - return HX_CSTRING(""); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetCompany,return ) - -::neash::display::MovieClip Lib_obj::nmeGetCurrent( ){ - HX_STACK_PUSH("Lib::nmeGetCurrent","nme/Lib.hx",258); - HX_STACK_LINE(258) - return ::neash::Lib_obj::nmeGetCurrent(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetCurrent,return ) - -::String Lib_obj::nmeGetFile( ){ - HX_STACK_PUSH("Lib::nmeGetFile","nme/Lib.hx",272); - HX_STACK_LINE(275) - return ::neash::Lib_obj::file; - HX_STACK_LINE(277) - return HX_CSTRING(""); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetFile,return ) - -int Lib_obj::nmeGetInitHeight( ){ - HX_STACK_PUSH("Lib::nmeGetInitHeight","nme/Lib.hx",282); - HX_STACK_LINE(285) - return ::neash::Lib_obj::initHeight; - HX_STACK_LINE(287) - return (int)0; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetInitHeight,return ) - -int Lib_obj::nmeGetInitWidth( ){ - HX_STACK_PUSH("Lib::nmeGetInitWidth","nme/Lib.hx",292); - HX_STACK_LINE(295) - return ::neash::Lib_obj::initWidth; - HX_STACK_LINE(297) - return (int)0; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetInitWidth,return ) - -::String Lib_obj::nmeGetPackageName( ){ - HX_STACK_PUSH("Lib::nmeGetPackageName","nme/Lib.hx",302); - HX_STACK_LINE(305) - return ::neash::Lib_obj::packageName; - HX_STACK_LINE(307) - return HX_CSTRING(""); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetPackageName,return ) - -::neash::display::Stage Lib_obj::nmeGetStage( ){ - HX_STACK_PUSH("Lib::nmeGetStage","nme/Lib.hx",312); - HX_STACK_LINE(312) - return ::neash::Lib_obj::nmeGetStage(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetStage,return ) - -::String Lib_obj::nmeGetVersion( ){ - HX_STACK_PUSH("Lib::nmeGetVersion","nme/Lib.hx",324); - HX_STACK_LINE(327) - return ::neash::Lib_obj::version; - HX_STACK_LINE(329) - return HX_CSTRING(""); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Lib_obj,nmeGetVersion,return ) - - -Lib_obj::Lib_obj() -{ -} - -void Lib_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Lib); - HX_MARK_END_CLASS(); -} - -void Lib_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Lib_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"file") ) { return inCallProp ? nmeGetFile() : file; } - if (HX_FIELD_EQ(inName,"exit") ) { return exit_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"VSYNC") ) { return VSYNC; } - if (HX_FIELD_EQ(inName,"HW_AA") ) { return HW_AA; } - if (HX_FIELD_EQ(inName,"stage") ) { return inCallProp ? nmeGetStage() : stage; } - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"pause") ) { return pause_dyn(); } - if (HX_FIELD_EQ(inName,"trace") ) { return trace_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"create") ) { return create_dyn(); } - if (HX_FIELD_EQ(inName,"getURL") ) { return getURL_dyn(); } - if (HX_FIELD_EQ(inName,"resume") ) { return resume_dyn(); } - break; - case 7: - if (HX_FIELD_EQ(inName,"company") ) { return inCallProp ? nmeGetCompany() : company; } - if (HX_FIELD_EQ(inName,"current") ) { return inCallProp ? nmeGetCurrent() : current; } - if (HX_FIELD_EQ(inName,"version") ) { return inCallProp ? nmeGetVersion() : version; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { return HARDWARE; } - if (HX_FIELD_EQ(inName,"getTimer") ) { return getTimer_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"RESIZABLE") ) { return RESIZABLE; } - if (HX_FIELD_EQ(inName,"initWidth") ) { return inCallProp ? nmeGetInitWidth() : initWidth; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FULLSCREEN") ) { return FULLSCREEN; } - if (HX_FIELD_EQ(inName,"BORDERLESS") ) { return BORDERLESS; } - if (HX_FIELD_EQ(inName,"initHeight") ) { return inCallProp ? nmeGetInitHeight() : initHeight; } - if (HX_FIELD_EQ(inName,"forceClose") ) { return forceClose_dyn(); } - if (HX_FIELD_EQ(inName,"setPackage") ) { return setPackage_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetFile") ) { return nmeGetFile_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"HW_AA_HIRES") ) { return HW_AA_HIRES; } - if (HX_FIELD_EQ(inName,"packageName") ) { return inCallProp ? nmeGetPackageName() : packageName; } - if (HX_FIELD_EQ(inName,"nmeGetStage") ) { return nmeGetStage_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"ALLOW_SHADERS") ) { return ALLOW_SHADERS; } - if (HX_FIELD_EQ(inName,"nmeGetCompany") ) { return nmeGetCompany_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetCurrent") ) { return nmeGetCurrent_dyn(); } - if (HX_FIELD_EQ(inName,"nmeGetVersion") ) { return nmeGetVersion_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"postUICallback") ) { return postUICallback_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"nmeGetInitWidth") ) { return nmeGetInitWidth_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"nmeGetInitHeight") ) { return nmeGetInitHeight_dyn(); } - break; - case 17: - if (HX_FIELD_EQ(inName,"nmeGetPackageName") ) { return nmeGetPackageName_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"createManagedStage") ) { return createManagedStage_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Lib_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"file") ) { file=inValue.Cast< ::String >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"VSYNC") ) { VSYNC=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"HW_AA") ) { HW_AA=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"stage") ) { stage=inValue.Cast< ::neash::display::Stage >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"company") ) { company=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"current") ) { current=inValue.Cast< ::neash::display::MovieClip >(); return inValue; } - if (HX_FIELD_EQ(inName,"version") ) { version=inValue.Cast< ::String >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"HARDWARE") ) { HARDWARE=inValue.Cast< int >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"RESIZABLE") ) { RESIZABLE=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"initWidth") ) { initWidth=inValue.Cast< int >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"FULLSCREEN") ) { FULLSCREEN=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"BORDERLESS") ) { BORDERLESS=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"initHeight") ) { initHeight=inValue.Cast< int >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"HW_AA_HIRES") ) { HW_AA_HIRES=inValue.Cast< int >(); return inValue; } - if (HX_FIELD_EQ(inName,"packageName") ) { packageName=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"ALLOW_SHADERS") ) { ALLOW_SHADERS=inValue.Cast< int >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Lib_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("FULLSCREEN"), - HX_CSTRING("BORDERLESS"), - HX_CSTRING("RESIZABLE"), - HX_CSTRING("HARDWARE"), - HX_CSTRING("VSYNC"), - HX_CSTRING("HW_AA"), - HX_CSTRING("HW_AA_HIRES"), - HX_CSTRING("ALLOW_SHADERS"), - HX_CSTRING("company"), - HX_CSTRING("current"), - HX_CSTRING("file"), - HX_CSTRING("initHeight"), - HX_CSTRING("initWidth"), - HX_CSTRING("packageName"), - HX_CSTRING("stage"), - HX_CSTRING("version"), - HX_CSTRING("close"), - HX_CSTRING("create"), - HX_CSTRING("createManagedStage"), - HX_CSTRING("exit"), - HX_CSTRING("forceClose"), - HX_CSTRING("getTimer"), - HX_CSTRING("getURL"), - HX_CSTRING("pause"), - HX_CSTRING("postUICallback"), - HX_CSTRING("resume"), - HX_CSTRING("setPackage"), - HX_CSTRING("trace"), - HX_CSTRING("nmeGetCompany"), - HX_CSTRING("nmeGetCurrent"), - HX_CSTRING("nmeGetFile"), - HX_CSTRING("nmeGetInitHeight"), - HX_CSTRING("nmeGetInitWidth"), - HX_CSTRING("nmeGetPackageName"), - HX_CSTRING("nmeGetStage"), - HX_CSTRING("nmeGetVersion"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Lib_obj::FULLSCREEN,"FULLSCREEN"); - HX_MARK_MEMBER_NAME(Lib_obj::BORDERLESS,"BORDERLESS"); - HX_MARK_MEMBER_NAME(Lib_obj::RESIZABLE,"RESIZABLE"); - HX_MARK_MEMBER_NAME(Lib_obj::HARDWARE,"HARDWARE"); - HX_MARK_MEMBER_NAME(Lib_obj::VSYNC,"VSYNC"); - HX_MARK_MEMBER_NAME(Lib_obj::HW_AA,"HW_AA"); - HX_MARK_MEMBER_NAME(Lib_obj::HW_AA_HIRES,"HW_AA_HIRES"); - HX_MARK_MEMBER_NAME(Lib_obj::ALLOW_SHADERS,"ALLOW_SHADERS"); - HX_MARK_MEMBER_NAME(Lib_obj::company,"company"); - HX_MARK_MEMBER_NAME(Lib_obj::current,"current"); - HX_MARK_MEMBER_NAME(Lib_obj::file,"file"); - HX_MARK_MEMBER_NAME(Lib_obj::initHeight,"initHeight"); - HX_MARK_MEMBER_NAME(Lib_obj::initWidth,"initWidth"); - HX_MARK_MEMBER_NAME(Lib_obj::packageName,"packageName"); - HX_MARK_MEMBER_NAME(Lib_obj::stage,"stage"); - HX_MARK_MEMBER_NAME(Lib_obj::version,"version"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Lib_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Lib_obj::FULLSCREEN,"FULLSCREEN"); - HX_VISIT_MEMBER_NAME(Lib_obj::BORDERLESS,"BORDERLESS"); - HX_VISIT_MEMBER_NAME(Lib_obj::RESIZABLE,"RESIZABLE"); - HX_VISIT_MEMBER_NAME(Lib_obj::HARDWARE,"HARDWARE"); - HX_VISIT_MEMBER_NAME(Lib_obj::VSYNC,"VSYNC"); - HX_VISIT_MEMBER_NAME(Lib_obj::HW_AA,"HW_AA"); - HX_VISIT_MEMBER_NAME(Lib_obj::HW_AA_HIRES,"HW_AA_HIRES"); - HX_VISIT_MEMBER_NAME(Lib_obj::ALLOW_SHADERS,"ALLOW_SHADERS"); - HX_VISIT_MEMBER_NAME(Lib_obj::company,"company"); - HX_VISIT_MEMBER_NAME(Lib_obj::current,"current"); - HX_VISIT_MEMBER_NAME(Lib_obj::file,"file"); - HX_VISIT_MEMBER_NAME(Lib_obj::initHeight,"initHeight"); - HX_VISIT_MEMBER_NAME(Lib_obj::initWidth,"initWidth"); - HX_VISIT_MEMBER_NAME(Lib_obj::packageName,"packageName"); - HX_VISIT_MEMBER_NAME(Lib_obj::stage,"stage"); - HX_VISIT_MEMBER_NAME(Lib_obj::version,"version"); -}; - -Class Lib_obj::__mClass; - -void Lib_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("nme.Lib"), hx::TCanCast< Lib_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Lib_obj::__boot() -{ - FULLSCREEN= (int)1; - BORDERLESS= (int)2; - RESIZABLE= (int)4; - HARDWARE= (int)8; - VSYNC= (int)16; - HW_AA= (int)32; - HW_AA_HIRES= (int)96; - ALLOW_SHADERS= (int)128; -} - -} // end namespace nme diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/nme/installer/Assets.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/nme/installer/Assets.cpp deleted file mode 100644 index 2b68c62..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/nme/installer/Assets.cpp +++ /dev/null @@ -1,500 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_haxe_Log -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_neash_display_BitmapData -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_neash_media_Sound -#include -#endif -#ifndef INCLUDED_neash_media_SoundLoaderContext -#include -#endif -#ifndef INCLUDED_neash_net_URLRequest -#include -#endif -#ifndef INCLUDED_neash_text_Font -#include -#endif -#ifndef INCLUDED_neash_utils_ByteArray -#include -#endif -#ifndef INCLUDED_neash_utils_IDataInput -#include -#endif -#ifndef INCLUDED_nme_installer_Assets -#include -#endif -namespace nme{ -namespace installer{ - -Void Assets_obj::__construct() -{ - return null(); -} - -Assets_obj::~Assets_obj() { } - -Dynamic Assets_obj::__CreateEmpty() { return new Assets_obj; } -hx::ObjectPtr< Assets_obj > Assets_obj::__new() -{ hx::ObjectPtr< Assets_obj > result = new Assets_obj(); - result->__construct(); - return result;} - -Dynamic Assets_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Assets_obj > result = new Assets_obj(); - result->__construct(); - return result;} - -::Hash Assets_obj::cachedBitmapData; - -bool Assets_obj::initialized; - -::Hash Assets_obj::resourceNames; - -::Hash Assets_obj::resourceTypes; - -Void Assets_obj::initialize( ){ -{ - HX_STACK_PUSH("Assets::initialize","nme/installer/Assets.hx",26); - HX_STACK_LINE(26) - if ((!(::nme::installer::Assets_obj::initialized))){ - HX_STACK_LINE(30) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/closeX.svg"),HX_CSTRING("assets_closex_svg")); - HX_STACK_LINE(31) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/closeX.svg"),HX_CSTRING("text")); - HX_STACK_LINE(32) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/config.xml"),HX_CSTRING("assets_config_xml")); - HX_STACK_LINE(33) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/config.xml"),HX_CSTRING("text")); - HX_STACK_LINE(34) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/duck.svg"),HX_CSTRING("assets_duck_svg")); - HX_STACK_LINE(35) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/duck.svg"),HX_CSTRING("text")); - HX_STACK_LINE(36) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/easyXML.jpg"),HX_CSTRING("assets_easyxml_jpg")); - HX_STACK_LINE(37) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/easyXML.jpg"),HX_CSTRING("image")); - HX_STACK_LINE(38) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/heres-the-deal.jpg"),HX_CSTRING("assets_heres_the_deal_jpg")); - HX_STACK_LINE(39) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/heres-the-deal.jpg"),HX_CSTRING("image")); - HX_STACK_LINE(40) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/bHome.png"),HX_CSTRING("assets_nav_bhome_png")); - HX_STACK_LINE(41) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/bHome.png"),HX_CSTRING("image")); - HX_STACK_LINE(42) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/bLeft.png"),HX_CSTRING("assets_nav_bleft_png")); - HX_STACK_LINE(43) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/bLeft.png"),HX_CSTRING("image")); - HX_STACK_LINE(44) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/bOptions.png"),HX_CSTRING("assets_nav_boptions_png")); - HX_STACK_LINE(45) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/bOptions.png"),HX_CSTRING("image")); - HX_STACK_LINE(46) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/bRight.png"),HX_CSTRING("assets_nav_bright_png")); - HX_STACK_LINE(47) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/bRight.png"),HX_CSTRING("image")); - HX_STACK_LINE(48) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/close.png"),HX_CSTRING("assets_nav_close_png")); - HX_STACK_LINE(49) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/close.png"),HX_CSTRING("image")); - HX_STACK_LINE(50) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/panLeft.png"),HX_CSTRING("assets_nav_panleft_png")); - HX_STACK_LINE(51) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/panLeft.png"),HX_CSTRING("image")); - HX_STACK_LINE(52) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nav/panRight.png"),HX_CSTRING("assets_nav_panright_png")); - HX_STACK_LINE(53) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nav/panRight.png"),HX_CSTRING("image")); - HX_STACK_LINE(54) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/nme.svg"),HX_CSTRING("assets_nme_svg")); - HX_STACK_LINE(55) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/nme.svg"),HX_CSTRING("text")); - HX_STACK_LINE(56) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/options/actor_0000_background.png"),HX_CSTRING("assets_options_actor_0000_background_png")); - HX_STACK_LINE(57) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/options/actor_0000_background.png"),HX_CSTRING("image")); - HX_STACK_LINE(58) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/options/actor_0001_duck.png"),HX_CSTRING("assets_options_actor_0001_duck_png")); - HX_STACK_LINE(59) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/options/actor_0001_duck.png"),HX_CSTRING("image")); - HX_STACK_LINE(60) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/options/actor_0002_home.png"),HX_CSTRING("assets_options_actor_0002_home_png")); - HX_STACK_LINE(61) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/options/actor_0002_home.png"),HX_CSTRING("image")); - HX_STACK_LINE(62) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/options/actor_0003_cow.png"),HX_CSTRING("assets_options_actor_0003_cow_png")); - HX_STACK_LINE(63) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/options/actor_0003_cow.png"),HX_CSTRING("image")); - HX_STACK_LINE(64) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/options/actor_0004_easyXML.png"),HX_CSTRING("assets_options_actor_0004_easyxml_png")); - HX_STACK_LINE(65) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/options/actor_0004_easyXML.png"),HX_CSTRING("image")); - HX_STACK_LINE(66) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/options/actor_0005_limerick.png"),HX_CSTRING("assets_options_actor_0005_limerick_png")); - HX_STACK_LINE(67) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/options/actor_0005_limerick.png"),HX_CSTRING("image")); - HX_STACK_LINE(68) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/options/choose.png"),HX_CSTRING("assets_options_choose_png")); - HX_STACK_LINE(69) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/options/choose.png"),HX_CSTRING("image")); - HX_STACK_LINE(70) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/limerickPCM.wav"),HX_CSTRING("assets_p1_limerickpcm_wav")); - HX_STACK_LINE(71) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/limerickPCM.wav"),HX_CSTRING("sound")); - HX_STACK_LINE(72) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0000_bg.jpg"),HX_CSTRING("assets_p1_pageobject_0000_bg_jpg")); - HX_STACK_LINE(73) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0000_bg.jpg"),HX_CSTRING("image")); - HX_STACK_LINE(74) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0001_skin.png"),HX_CSTRING("assets_p1_pageobject_0001_skin_png")); - HX_STACK_LINE(75) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0001_skin.png"),HX_CSTRING("image")); - HX_STACK_LINE(76) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0002_hose.png"),HX_CSTRING("assets_p1_pageobject_0002_hose_png")); - HX_STACK_LINE(77) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0002_hose.png"),HX_CSTRING("image")); - HX_STACK_LINE(78) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0003_pants.png"),HX_CSTRING("assets_p1_pageobject_0003_pants_png")); - HX_STACK_LINE(79) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0003_pants.png"),HX_CSTRING("image")); - HX_STACK_LINE(80) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0004_flameshoe.png"),HX_CSTRING("assets_p1_pageobject_0004_flameshoe_png")); - HX_STACK_LINE(81) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0004_flameshoe.png"),HX_CSTRING("image")); - HX_STACK_LINE(82) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0005_shoe.png"),HX_CSTRING("assets_p1_pageobject_0005_shoe_png")); - HX_STACK_LINE(83) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0005_shoe.png"),HX_CSTRING("image")); - HX_STACK_LINE(84) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0006_shirt.png"),HX_CSTRING("assets_p1_pageobject_0006_shirt_png")); - HX_STACK_LINE(85) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0006_shirt.png"),HX_CSTRING("image")); - HX_STACK_LINE(86) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0007_truck.png"),HX_CSTRING("assets_p1_pageobject_0007_truck_png")); - HX_STACK_LINE(87) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0007_truck.png"),HX_CSTRING("image")); - HX_STACK_LINE(88) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0008_firemen.png"),HX_CSTRING("assets_p1_pageobject_0008_firemen_png")); - HX_STACK_LINE(89) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0008_firemen.png"),HX_CSTRING("image")); - HX_STACK_LINE(90) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0009_can.png"),HX_CSTRING("assets_p1_pageobject_0009_can_png")); - HX_STACK_LINE(91) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0009_can.png"),HX_CSTRING("image")); - HX_STACK_LINE(92) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0010_bw.png"),HX_CSTRING("assets_p1_pageobject_0010_bw_png")); - HX_STACK_LINE(93) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0010_bw.png"),HX_CSTRING("image")); - HX_STACK_LINE(94) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/p1/pageObject_0011_text.png"),HX_CSTRING("assets_p1_pageobject_0011_text_png")); - HX_STACK_LINE(95) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/p1/pageObject_0011_text.png"),HX_CSTRING("image")); - HX_STACK_LINE(96) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/speaker.png"),HX_CSTRING("assets_speaker_png")); - HX_STACK_LINE(97) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/speaker.png"),HX_CSTRING("image")); - HX_STACK_LINE(98) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/title/star.svg"),HX_CSTRING("assets_title_star_svg")); - HX_STACK_LINE(99) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/title/star.svg"),HX_CSTRING("text")); - HX_STACK_LINE(100) - ::nme::installer::Assets_obj::resourceNames->set(HX_CSTRING("assets/title/title.jpg"),HX_CSTRING("assets_title_title_jpg")); - HX_STACK_LINE(101) - ::nme::installer::Assets_obj::resourceTypes->set(HX_CSTRING("assets/title/title.jpg"),HX_CSTRING("image")); - HX_STACK_LINE(103) - ::nme::installer::Assets_obj::initialized = true; - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Assets_obj,initialize,(void)) - -::neash::display::BitmapData Assets_obj::getBitmapData( ::String id,hx::Null< bool > __o_useCache){ -bool useCache = __o_useCache.Default(true); - HX_STACK_PUSH("Assets::getBitmapData","nme/installer/Assets.hx",110); - HX_STACK_ARG(id,"id"); - HX_STACK_ARG(useCache,"useCache"); -{ - HX_STACK_LINE(112) - ::nme::installer::Assets_obj::initialize(); - HX_STACK_LINE(114) - if (((bool(::nme::installer::Assets_obj::resourceTypes->exists(id)) && bool((::nme::installer::Assets_obj::resourceTypes->get(id) == HX_CSTRING("image")))))){ - HX_STACK_LINE(114) - if (((bool(useCache) && bool(::nme::installer::Assets_obj::cachedBitmapData->exists(id))))){ - HX_STACK_LINE(116) - return ::nme::installer::Assets_obj::cachedBitmapData->get(id); - } - else{ - HX_STACK_LINE(122) - ::neash::display::BitmapData data = ::neash::display::BitmapData_obj::load(::nme::installer::Assets_obj::resourceNames->get(id),null()); HX_STACK_VAR(data,"data"); - HX_STACK_LINE(124) - if ((useCache)){ - HX_STACK_LINE(124) - ::nme::installer::Assets_obj::cachedBitmapData->set(id,data); - } - HX_STACK_LINE(130) - return data; - } - } - else{ - HX_STACK_LINE(136) - ::haxe::Log_obj::trace(((HX_CSTRING("[nme.Assets] There is no BitmapData asset with an ID of \"") + id) + HX_CSTRING("\"")),hx::SourceInfo(HX_CSTRING("Assets.hx"),136,HX_CSTRING("nme.installer.Assets"),HX_CSTRING("getBitmapData"))); - HX_STACK_LINE(138) - return null(); - } - HX_STACK_LINE(114) - return null(); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(Assets_obj,getBitmapData,return ) - -::neash::utils::ByteArray Assets_obj::getBytes( ::String id){ - HX_STACK_PUSH("Assets::getBytes","nme/installer/Assets.hx",145); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(147) - ::nme::installer::Assets_obj::initialize(); - HX_STACK_LINE(149) - if ((::nme::installer::Assets_obj::resourceNames->exists(id))){ - HX_STACK_LINE(149) - return ::neash::utils::ByteArray_obj::readFile(::nme::installer::Assets_obj::resourceNames->get(id)); - } - else{ - HX_STACK_LINE(155) - ::haxe::Log_obj::trace(((HX_CSTRING("[nme.Assets] There is no String or ByteArray asset with an ID of \"") + id) + HX_CSTRING("\"")),hx::SourceInfo(HX_CSTRING("Assets.hx"),155,HX_CSTRING("nme.installer.Assets"),HX_CSTRING("getBytes"))); - HX_STACK_LINE(157) - return null(); - } - HX_STACK_LINE(149) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Assets_obj,getBytes,return ) - -::neash::text::Font Assets_obj::getFont( ::String id){ - HX_STACK_PUSH("Assets::getFont","nme/installer/Assets.hx",164); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(166) - ::nme::installer::Assets_obj::initialize(); - HX_STACK_LINE(168) - if (((bool(::nme::installer::Assets_obj::resourceTypes->exists(id)) && bool((::nme::installer::Assets_obj::resourceTypes->get(id) == HX_CSTRING("font")))))){ - HX_STACK_LINE(168) - return ::neash::text::Font_obj::__new(::nme::installer::Assets_obj::resourceNames->get(id)); - } - else{ - HX_STACK_LINE(174) - ::haxe::Log_obj::trace(((HX_CSTRING("[nme.Assets] There is no Font asset with an ID of \"") + id) + HX_CSTRING("\"")),hx::SourceInfo(HX_CSTRING("Assets.hx"),174,HX_CSTRING("nme.installer.Assets"),HX_CSTRING("getFont"))); - HX_STACK_LINE(176) - return null(); - } - HX_STACK_LINE(168) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Assets_obj,getFont,return ) - -::String Assets_obj::getResourceName( ::String id){ - HX_STACK_PUSH("Assets::getResourceName","nme/installer/Assets.hx",183); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(185) - ::nme::installer::Assets_obj::initialize(); - HX_STACK_LINE(187) - return ::nme::installer::Assets_obj::resourceNames->get(id); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Assets_obj,getResourceName,return ) - -::neash::media::Sound Assets_obj::getSound( ::String id){ - HX_STACK_PUSH("Assets::getSound","nme/installer/Assets.hx",192); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(194) - ::nme::installer::Assets_obj::initialize(); - HX_STACK_LINE(196) - if ((::nme::installer::Assets_obj::resourceTypes->exists(id))){ - HX_STACK_LINE(196) - if (((::nme::installer::Assets_obj::resourceTypes->get(id) == HX_CSTRING("sound")))){ - HX_STACK_LINE(198) - return ::neash::media::Sound_obj::__new(::neash::net::URLRequest_obj::__new(::nme::installer::Assets_obj::resourceNames->get(id)),null(),false); - } - else{ - HX_STACK_LINE(202) - if (((::nme::installer::Assets_obj::resourceTypes->get(id) == HX_CSTRING("music")))){ - HX_STACK_LINE(202) - return ::neash::media::Sound_obj::__new(::neash::net::URLRequest_obj::__new(::nme::installer::Assets_obj::resourceNames->get(id)),null(),true); - } - } - } - HX_STACK_LINE(210) - ::haxe::Log_obj::trace(((HX_CSTRING("[nme.Assets] There is no Sound asset with an ID of \"") + id) + HX_CSTRING("\"")),hx::SourceInfo(HX_CSTRING("Assets.hx"),210,HX_CSTRING("nme.installer.Assets"),HX_CSTRING("getSound"))); - HX_STACK_LINE(212) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Assets_obj,getSound,return ) - -::String Assets_obj::getText( ::String id){ - HX_STACK_PUSH("Assets::getText","nme/installer/Assets.hx",217); - HX_STACK_ARG(id,"id"); - HX_STACK_LINE(219) - ::neash::utils::ByteArray bytes = ::nme::installer::Assets_obj::getBytes(id); HX_STACK_VAR(bytes,"bytes"); - HX_STACK_LINE(221) - if (((bytes == null()))){ - HX_STACK_LINE(221) - return null(); - } - else{ - HX_STACK_LINE(225) - return bytes->readUTFBytes(bytes->length); - } - HX_STACK_LINE(221) - return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(Assets_obj,getText,return ) - - -Assets_obj::Assets_obj() -{ -} - -void Assets_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Assets); - HX_MARK_END_CLASS(); -} - -void Assets_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic Assets_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"getFont") ) { return getFont_dyn(); } - if (HX_FIELD_EQ(inName,"getText") ) { return getText_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"getBytes") ) { return getBytes_dyn(); } - if (HX_FIELD_EQ(inName,"getSound") ) { return getSound_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"initialize") ) { return initialize_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"initialized") ) { return initialized; } - break; - case 13: - if (HX_FIELD_EQ(inName,"resourceNames") ) { return resourceNames; } - if (HX_FIELD_EQ(inName,"resourceTypes") ) { return resourceTypes; } - if (HX_FIELD_EQ(inName,"getBitmapData") ) { return getBitmapData_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"getResourceName") ) { return getResourceName_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"cachedBitmapData") ) { return cachedBitmapData; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Assets_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 11: - if (HX_FIELD_EQ(inName,"initialized") ) { initialized=inValue.Cast< bool >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"resourceNames") ) { resourceNames=inValue.Cast< ::Hash >(); return inValue; } - if (HX_FIELD_EQ(inName,"resourceTypes") ) { resourceTypes=inValue.Cast< ::Hash >(); return inValue; } - break; - case 16: - if (HX_FIELD_EQ(inName,"cachedBitmapData") ) { cachedBitmapData=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Assets_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("cachedBitmapData"), - HX_CSTRING("initialized"), - HX_CSTRING("resourceNames"), - HX_CSTRING("resourceTypes"), - HX_CSTRING("initialize"), - HX_CSTRING("getBitmapData"), - HX_CSTRING("getBytes"), - HX_CSTRING("getFont"), - HX_CSTRING("getResourceName"), - HX_CSTRING("getSound"), - HX_CSTRING("getText"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Assets_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Assets_obj::cachedBitmapData,"cachedBitmapData"); - HX_MARK_MEMBER_NAME(Assets_obj::initialized,"initialized"); - HX_MARK_MEMBER_NAME(Assets_obj::resourceNames,"resourceNames"); - HX_MARK_MEMBER_NAME(Assets_obj::resourceTypes,"resourceTypes"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Assets_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Assets_obj::cachedBitmapData,"cachedBitmapData"); - HX_VISIT_MEMBER_NAME(Assets_obj::initialized,"initialized"); - HX_VISIT_MEMBER_NAME(Assets_obj::resourceNames,"resourceNames"); - HX_VISIT_MEMBER_NAME(Assets_obj::resourceTypes,"resourceTypes"); -}; - -Class Assets_obj::__mClass; - -void Assets_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("nme.installer.Assets"), hx::TCanCast< Assets_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Assets_obj::__boot() -{ - cachedBitmapData= ::Hash_obj::__new(); - initialized= false; - resourceNames= ::Hash_obj::__new(); - resourceTypes= ::Hash_obj::__new(); -} - -} // end namespace nme -} // end namespace installer diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/core/Controller.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/core/Controller.cpp deleted file mode 100644 index c3d9961..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/core/Controller.cpp +++ /dev/null @@ -1,286 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_core_Controller -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_core_View -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IController -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IObserver -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IView -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Observer -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace core{ - -Void Controller_obj::__construct() -{ -HX_STACK_PUSH("Controller::new","org/puremvc/haxe/core/Controller.hx",44); -{ - HX_STACK_LINE(45) - ::org::puremvc::haxe::core::Controller_obj::instance = hx::ObjectPtr(this); - HX_STACK_LINE(46) - this->commandMap = ::Hash_obj::__new(); - HX_STACK_LINE(47) - this->initializeController(); -} -; - return null(); -} - -Controller_obj::~Controller_obj() { } - -Dynamic Controller_obj::__CreateEmpty() { return new Controller_obj; } -hx::ObjectPtr< Controller_obj > Controller_obj::__new() -{ hx::ObjectPtr< Controller_obj > result = new Controller_obj(); - result->__construct(); - return result;} - -Dynamic Controller_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Controller_obj > result = new Controller_obj(); - result->__construct(); - return result;} - -hx::Object *Controller_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IController_obj)) return operator ::org::puremvc::haxe::interfaces::IController_obj *(); - return super::__ToInterface(inType); -} - -Void Controller_obj::removeCommand( ::String notificationName){ -{ - HX_STACK_PUSH("Controller::removeCommand","org/puremvc/haxe/core/Controller.hx",115); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_LINE(115) - if ((this->hasCommand(notificationName))){ - HX_STACK_LINE(120) - this->view->removeObserver(notificationName,hx::ObjectPtr(this)); - HX_STACK_LINE(122) - this->commandMap->remove(notificationName); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Controller_obj,removeCommand,(void)) - -bool Controller_obj::hasCommand( ::String notificationName){ - HX_STACK_PUSH("Controller::hasCommand","org/puremvc/haxe/core/Controller.hx",107); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_LINE(107) - return this->commandMap->exists(notificationName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Controller_obj,hasCommand,return ) - -Void Controller_obj::registerCommand( ::String notificationName,::Class commandClassRef){ -{ - HX_STACK_PUSH("Controller::registerCommand","org/puremvc/haxe/core/Controller.hx",97); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_ARG(commandClassRef,"commandClassRef"); - HX_STACK_LINE(98) - if ((!(this->commandMap->exists(notificationName)))){ - HX_STACK_LINE(99) - this->view->registerObserver(notificationName,::org::puremvc::haxe::patterns::observer::Observer_obj::__new(this->executeCommand_dyn(),hx::ObjectPtr(this))); - } - HX_STACK_LINE(100) - this->commandMap->set(notificationName,commandClassRef); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Controller_obj,registerCommand,(void)) - -Void Controller_obj::executeCommand( ::org::puremvc::haxe::interfaces::INotification note){ -{ - HX_STACK_PUSH("Controller::executeCommand","org/puremvc/haxe/core/Controller.hx",78); - HX_STACK_THIS(this); - HX_STACK_ARG(note,"note"); - HX_STACK_LINE(79) - ::Class commandClassRef = this->commandMap->get(note->getName()); HX_STACK_VAR(commandClassRef,"commandClassRef"); - HX_STACK_LINE(80) - if (((commandClassRef == null()))){ - HX_STACK_LINE(80) - return null(); - } - HX_STACK_LINE(82) - ::org::puremvc::haxe::interfaces::ICommand commandInstance = ::Type_obj::createInstance(commandClassRef,Dynamic( Array_obj::__new())); HX_STACK_VAR(commandInstance,"commandInstance"); - HX_STACK_LINE(83) - commandInstance->execute(note); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Controller_obj,executeCommand,(void)) - -Void Controller_obj::initializeController( ){ -{ - HX_STACK_PUSH("Controller::initializeController","org/puremvc/haxe/core/Controller.hx",60); - HX_STACK_THIS(this); - HX_STACK_LINE(60) - this->view = ::org::puremvc::haxe::core::View_obj::getInstance(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Controller_obj,initializeController,(void)) - -::org::puremvc::haxe::interfaces::IController Controller_obj::getInstance( ){ - HX_STACK_PUSH("Controller::getInstance","org/puremvc/haxe/core/Controller.hx",68); - HX_STACK_LINE(69) - if (((::org::puremvc::haxe::core::Controller_obj::instance == null()))){ - HX_STACK_LINE(69) - ::org::puremvc::haxe::core::Controller_obj::instance = ::org::puremvc::haxe::core::Controller_obj::__new(); - } - HX_STACK_LINE(70) - return ::org::puremvc::haxe::core::Controller_obj::instance; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Controller_obj,getInstance,return ) - -::org::puremvc::haxe::interfaces::IController Controller_obj::instance; - - -Controller_obj::Controller_obj() -{ -} - -void Controller_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Controller); - HX_MARK_MEMBER_NAME(commandMap,"commandMap"); - HX_MARK_MEMBER_NAME(view,"view"); - HX_MARK_END_CLASS(); -} - -void Controller_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(commandMap,"commandMap"); - HX_VISIT_MEMBER_NAME(view,"view"); -} - -Dynamic Controller_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"view") ) { return view; } - break; - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { return instance; } - break; - case 10: - if (HX_FIELD_EQ(inName,"commandMap") ) { return commandMap; } - if (HX_FIELD_EQ(inName,"hasCommand") ) { return hasCommand_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"getInstance") ) { return getInstance_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"removeCommand") ) { return removeCommand_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"executeCommand") ) { return executeCommand_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"registerCommand") ) { return registerCommand_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"initializeController") ) { return initializeController_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Controller_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"view") ) { view=inValue.Cast< ::org::puremvc::haxe::interfaces::IView >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { instance=inValue.Cast< ::org::puremvc::haxe::interfaces::IController >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"commandMap") ) { commandMap=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Controller_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("commandMap")); - outFields->push(HX_CSTRING("view")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("getInstance"), - HX_CSTRING("instance"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("commandMap"), - HX_CSTRING("view"), - HX_CSTRING("removeCommand"), - HX_CSTRING("hasCommand"), - HX_CSTRING("registerCommand"), - HX_CSTRING("executeCommand"), - HX_CSTRING("initializeController"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Controller_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Controller_obj::instance,"instance"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Controller_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Controller_obj::instance,"instance"); -}; - -Class Controller_obj::__mClass; - -void Controller_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.core.Controller"), hx::TCanCast< Controller_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Controller_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace core diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/core/Model.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/core/Model.cpp deleted file mode 100644 index 1cfa754..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/core/Model.cpp +++ /dev/null @@ -1,233 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_core_Model -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IModel -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace core{ - -Void Model_obj::__construct() -{ -HX_STACK_PUSH("Model::new","org/puremvc/haxe/core/Model.hx",35); -{ - HX_STACK_LINE(36) - ::org::puremvc::haxe::core::Model_obj::instance = hx::ObjectPtr(this); - HX_STACK_LINE(37) - this->proxyMap = ::Hash_obj::__new(); - HX_STACK_LINE(38) - this->initializeModel(); -} -; - return null(); -} - -Model_obj::~Model_obj() { } - -Dynamic Model_obj::__CreateEmpty() { return new Model_obj; } -hx::ObjectPtr< Model_obj > Model_obj::__new() -{ hx::ObjectPtr< Model_obj > result = new Model_obj(); - result->__construct(); - return result;} - -Dynamic Model_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Model_obj > result = new Model_obj(); - result->__construct(); - return result;} - -hx::Object *Model_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IModel_obj)) return operator ::org::puremvc::haxe::interfaces::IModel_obj *(); - return super::__ToInterface(inType); -} - -::org::puremvc::haxe::interfaces::IProxy Model_obj::removeProxy( ::String proxyName){ - HX_STACK_PUSH("Model::removeProxy","org/puremvc/haxe/core/Model.hx",89); - HX_STACK_THIS(this); - HX_STACK_ARG(proxyName,"proxyName"); - HX_STACK_LINE(90) - ::org::puremvc::haxe::interfaces::IProxy proxy = this->proxyMap->get(proxyName); HX_STACK_VAR(proxy,"proxy"); - HX_STACK_LINE(91) - if (((proxy != null()))){ - HX_STACK_LINE(93) - this->proxyMap->remove(proxyName); - HX_STACK_LINE(94) - proxy->onRemove(); - } - HX_STACK_LINE(96) - return proxy; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Model_obj,removeProxy,return ) - -bool Model_obj::hasProxy( ::String proxyName){ - HX_STACK_PUSH("Model::hasProxy","org/puremvc/haxe/core/Model.hx",81); - HX_STACK_THIS(this); - HX_STACK_ARG(proxyName,"proxyName"); - HX_STACK_LINE(81) - return this->proxyMap->exists(proxyName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Model_obj,hasProxy,return ) - -::org::puremvc::haxe::interfaces::IProxy Model_obj::retrieveProxy( ::String proxyName){ - HX_STACK_PUSH("Model::retrieveProxy","org/puremvc/haxe/core/Model.hx",73); - HX_STACK_THIS(this); - HX_STACK_ARG(proxyName,"proxyName"); - HX_STACK_LINE(73) - return this->proxyMap->get(proxyName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Model_obj,retrieveProxy,return ) - -Void Model_obj::registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy){ -{ - HX_STACK_PUSH("Model::registerProxy","org/puremvc/haxe/core/Model.hx",64); - HX_STACK_THIS(this); - HX_STACK_ARG(proxy,"proxy"); - HX_STACK_LINE(65) - this->proxyMap->set(proxy->getProxyName(),proxy); - HX_STACK_LINE(66) - proxy->onRegister(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Model_obj,registerProxy,(void)) - -Void Model_obj::initializeModel( ){ -{ - HX_STACK_PUSH("Model::initializeModel","org/puremvc/haxe/core/Model.hx",48); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Model_obj,initializeModel,(void)) - -::org::puremvc::haxe::interfaces::IModel Model_obj::getInstance( ){ - HX_STACK_PUSH("Model::getInstance","org/puremvc/haxe/core/Model.hx",55); - HX_STACK_LINE(56) - if (((::org::puremvc::haxe::core::Model_obj::instance == null()))){ - HX_STACK_LINE(56) - ::org::puremvc::haxe::core::Model_obj::instance = ::org::puremvc::haxe::core::Model_obj::__new(); - } - HX_STACK_LINE(57) - return ::org::puremvc::haxe::core::Model_obj::instance; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Model_obj,getInstance,return ) - -::org::puremvc::haxe::interfaces::IModel Model_obj::instance; - - -Model_obj::Model_obj() -{ -} - -void Model_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Model); - HX_MARK_MEMBER_NAME(proxyMap,"proxyMap"); - HX_MARK_END_CLASS(); -} - -void Model_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(proxyMap,"proxyMap"); -} - -Dynamic Model_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { return instance; } - if (HX_FIELD_EQ(inName,"proxyMap") ) { return proxyMap; } - if (HX_FIELD_EQ(inName,"hasProxy") ) { return hasProxy_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"getInstance") ) { return getInstance_dyn(); } - if (HX_FIELD_EQ(inName,"removeProxy") ) { return removeProxy_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"retrieveProxy") ) { return retrieveProxy_dyn(); } - if (HX_FIELD_EQ(inName,"registerProxy") ) { return registerProxy_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"initializeModel") ) { return initializeModel_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Model_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { instance=inValue.Cast< ::org::puremvc::haxe::interfaces::IModel >(); return inValue; } - if (HX_FIELD_EQ(inName,"proxyMap") ) { proxyMap=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Model_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("proxyMap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("getInstance"), - HX_CSTRING("instance"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("proxyMap"), - HX_CSTRING("removeProxy"), - HX_CSTRING("hasProxy"), - HX_CSTRING("retrieveProxy"), - HX_CSTRING("registerProxy"), - HX_CSTRING("initializeModel"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Model_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Model_obj::instance,"instance"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Model_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Model_obj::instance,"instance"); -}; - -Class Model_obj::__mClass; - -void Model_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.core.Model"), hx::TCanCast< Model_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Model_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace core diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/core/View.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/core/View.cpp deleted file mode 100644 index 3e6c328..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/core/View.cpp +++ /dev/null @@ -1,387 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_core_View -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IObserver -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IView -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Observer -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace core{ - -Void View_obj::__construct() -{ -HX_STACK_PUSH("View::new","org/puremvc/haxe/core/View.hx",40); -{ - HX_STACK_LINE(41) - ::org::puremvc::haxe::core::View_obj::instance = hx::ObjectPtr(this); - HX_STACK_LINE(42) - this->mediatorMap = ::Hash_obj::__new(); - HX_STACK_LINE(43) - this->observerMap = ::Hash_obj::__new(); - HX_STACK_LINE(44) - this->initializeView(); -} -; - return null(); -} - -View_obj::~View_obj() { } - -Dynamic View_obj::__CreateEmpty() { return new View_obj; } -hx::ObjectPtr< View_obj > View_obj::__new() -{ hx::ObjectPtr< View_obj > result = new View_obj(); - result->__construct(); - return result;} - -Dynamic View_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< View_obj > result = new View_obj(); - result->__construct(); - return result;} - -hx::Object *View_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IView_obj)) return operator ::org::puremvc::haxe::interfaces::IView_obj *(); - return super::__ToInterface(inType); -} - -bool View_obj::hasMediator( ::String mediatorName){ - HX_STACK_PUSH("View::hasMediator","org/puremvc/haxe/core/View.hx",207); - HX_STACK_THIS(this); - HX_STACK_ARG(mediatorName,"mediatorName"); - HX_STACK_LINE(207) - return this->mediatorMap->exists(mediatorName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(View_obj,hasMediator,return ) - -::org::puremvc::haxe::interfaces::IMediator View_obj::removeMediator( ::String mediatorName){ - HX_STACK_PUSH("View::removeMediator","org/puremvc/haxe/core/View.hx",178); - HX_STACK_THIS(this); - HX_STACK_ARG(mediatorName,"mediatorName"); - HX_STACK_LINE(180) - ::org::puremvc::haxe::interfaces::IMediator mediator = this->mediatorMap->get(mediatorName); HX_STACK_VAR(mediator,"mediator"); - HX_STACK_LINE(182) - if (((mediator != null()))){ - HX_STACK_LINE(185) - Array< ::String > interests = mediator->listNotificationInterests(); HX_STACK_VAR(interests,"interests"); - HX_STACK_LINE(186) - { - HX_STACK_LINE(186) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = interests->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(186) - while(((_g1 < _g))){ - HX_STACK_LINE(186) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(190) - this->removeObserver(interests->__get(i),mediator); - } - } - HX_STACK_LINE(194) - this->mediatorMap->remove(mediatorName); - HX_STACK_LINE(197) - mediator->onRemove(); - } - HX_STACK_LINE(200) - return mediator; -} - - -HX_DEFINE_DYNAMIC_FUNC1(View_obj,removeMediator,return ) - -::org::puremvc::haxe::interfaces::IMediator View_obj::retrieveMediator( ::String mediatorName){ - HX_STACK_PUSH("View::retrieveMediator","org/puremvc/haxe/core/View.hx",170); - HX_STACK_THIS(this); - HX_STACK_ARG(mediatorName,"mediatorName"); - HX_STACK_LINE(170) - return this->mediatorMap->get(mediatorName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(View_obj,retrieveMediator,return ) - -Void View_obj::registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator){ -{ - HX_STACK_PUSH("View::registerMediator","org/puremvc/haxe/core/View.hx",144); - HX_STACK_THIS(this); - HX_STACK_ARG(mediator,"mediator"); - HX_STACK_LINE(146) - if ((this->mediatorMap->exists(mediator->getMediatorName()))){ - HX_STACK_LINE(146) - return null(); - } - HX_STACK_LINE(149) - this->mediatorMap->set(mediator->getMediatorName(),mediator); - HX_STACK_LINE(152) - Array< ::String > interests = mediator->listNotificationInterests(); HX_STACK_VAR(interests,"interests"); - HX_STACK_LINE(153) - if (((interests->length > (int)0))){ - HX_STACK_LINE(156) - ::org::puremvc::haxe::patterns::observer::Observer observer = ::org::puremvc::haxe::patterns::observer::Observer_obj::__new(mediator->handleNotification_dyn(),mediator); HX_STACK_VAR(observer,"observer"); - HX_STACK_LINE(159) - { - HX_STACK_LINE(159) - int _g1 = (int)0; HX_STACK_VAR(_g1,"_g1"); - int _g = interests->length; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(159) - while(((_g1 < _g))){ - HX_STACK_LINE(159) - int i = (_g1)++; HX_STACK_VAR(i,"i"); - HX_STACK_LINE(160) - this->registerObserver(interests->__get(i),observer); - } - } - } - HX_STACK_LINE(163) - mediator->onRegister(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(View_obj,registerMediator,(void)) - -Void View_obj::removeObserver( ::String notificationName,Dynamic notifyContext){ -{ - HX_STACK_PUSH("View::removeObserver","org/puremvc/haxe/core/View.hx",107); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_ARG(notifyContext,"notifyContext"); - HX_STACK_LINE(109) - ::List observers = this->observerMap->get(notificationName); HX_STACK_VAR(observers,"observers"); - HX_STACK_LINE(112) - for(::cpp::FastIterator_obj< ::org::puremvc::haxe::interfaces::IObserver > *__it = ::cpp::CreateFastIterator< ::org::puremvc::haxe::interfaces::IObserver >(observers->iterator()); __it->hasNext(); ){ - ::org::puremvc::haxe::interfaces::IObserver observer = __it->next(); - if (((observer->compareNotifyContext(notifyContext) == true))){ - HX_STACK_LINE(118) - observers->remove(observer); - HX_STACK_LINE(119) - break; - } -; - } - HX_STACK_LINE(125) - if ((observers->isEmpty())){ - HX_STACK_LINE(126) - this->observerMap->remove(notificationName); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(View_obj,removeObserver,(void)) - -Void View_obj::notifyObservers( ::org::puremvc::haxe::interfaces::INotification notification){ -{ - HX_STACK_PUSH("View::notifyObservers","org/puremvc/haxe/core/View.hx",84); - HX_STACK_THIS(this); - HX_STACK_ARG(notification,"notification"); - HX_STACK_LINE(84) - if ((this->observerMap->exists(notification->getName()))){ - HX_STACK_LINE(88) - ::List observers_ref = this->observerMap->get(notification->getName()); HX_STACK_VAR(observers_ref,"observers_ref"); - HX_STACK_LINE(92) - ::List observers = ::List_obj::__new(); HX_STACK_VAR(observers,"observers"); - HX_STACK_LINE(93) - Dynamic iterator_ref = observers_ref->iterator(); HX_STACK_VAR(iterator_ref,"iterator_ref"); - HX_STACK_LINE(94) - for(::cpp::FastIterator_obj< ::org::puremvc::haxe::interfaces::IObserver > *__it = ::cpp::CreateFastIterator< ::org::puremvc::haxe::interfaces::IObserver >(iterator_ref); __it->hasNext(); ){ - ::org::puremvc::haxe::interfaces::IObserver observer = __it->next(); - observers->add(observer); - } - HX_STACK_LINE(97) - Dynamic iterator = observers->iterator(); HX_STACK_VAR(iterator,"iterator"); - HX_STACK_LINE(98) - for(::cpp::FastIterator_obj< ::org::puremvc::haxe::interfaces::IObserver > *__it = ::cpp::CreateFastIterator< ::org::puremvc::haxe::interfaces::IObserver >(iterator); __it->hasNext(); ){ - ::org::puremvc::haxe::interfaces::IObserver observer = __it->next(); - observer->notifyObserver(notification); - } - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(View_obj,notifyObservers,(void)) - -Void View_obj::registerObserver( ::String notificationName,::org::puremvc::haxe::interfaces::IObserver observer){ -{ - HX_STACK_PUSH("View::registerObserver","org/puremvc/haxe/core/View.hx",70); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_ARG(observer,"observer"); - HX_STACK_LINE(71) - if ((!(this->observerMap->exists(notificationName)))){ - HX_STACK_LINE(72) - this->observerMap->set(notificationName,::List_obj::__new()); - } - HX_STACK_LINE(73) - this->observerMap->get(notificationName)->__Field(HX_CSTRING("add"),true)(observer); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(View_obj,registerObserver,(void)) - -Void View_obj::initializeView( ){ -{ - HX_STACK_PUSH("View::initializeView","org/puremvc/haxe/core/View.hx",54); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(View_obj,initializeView,(void)) - -::org::puremvc::haxe::interfaces::IView View_obj::getInstance( ){ - HX_STACK_PUSH("View::getInstance","org/puremvc/haxe/core/View.hx",61); - HX_STACK_LINE(62) - if (((::org::puremvc::haxe::core::View_obj::instance == null()))){ - HX_STACK_LINE(62) - ::org::puremvc::haxe::core::View_obj::instance = ::org::puremvc::haxe::core::View_obj::__new(); - } - HX_STACK_LINE(63) - return ::org::puremvc::haxe::core::View_obj::instance; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(View_obj,getInstance,return ) - -::org::puremvc::haxe::interfaces::IView View_obj::instance; - - -View_obj::View_obj() -{ -} - -void View_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(View); - HX_MARK_MEMBER_NAME(observerMap,"observerMap"); - HX_MARK_MEMBER_NAME(mediatorMap,"mediatorMap"); - HX_MARK_END_CLASS(); -} - -void View_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(observerMap,"observerMap"); - HX_VISIT_MEMBER_NAME(mediatorMap,"mediatorMap"); -} - -Dynamic View_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { return instance; } - break; - case 11: - if (HX_FIELD_EQ(inName,"getInstance") ) { return getInstance_dyn(); } - if (HX_FIELD_EQ(inName,"observerMap") ) { return observerMap; } - if (HX_FIELD_EQ(inName,"mediatorMap") ) { return mediatorMap; } - if (HX_FIELD_EQ(inName,"hasMediator") ) { return hasMediator_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"removeMediator") ) { return removeMediator_dyn(); } - if (HX_FIELD_EQ(inName,"removeObserver") ) { return removeObserver_dyn(); } - if (HX_FIELD_EQ(inName,"initializeView") ) { return initializeView_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"notifyObservers") ) { return notifyObservers_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"retrieveMediator") ) { return retrieveMediator_dyn(); } - if (HX_FIELD_EQ(inName,"registerMediator") ) { return registerMediator_dyn(); } - if (HX_FIELD_EQ(inName,"registerObserver") ) { return registerObserver_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic View_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { instance=inValue.Cast< ::org::puremvc::haxe::interfaces::IView >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"observerMap") ) { observerMap=inValue.Cast< ::Hash >(); return inValue; } - if (HX_FIELD_EQ(inName,"mediatorMap") ) { mediatorMap=inValue.Cast< ::Hash >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void View_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("observerMap")); - outFields->push(HX_CSTRING("mediatorMap")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("getInstance"), - HX_CSTRING("instance"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("observerMap"), - HX_CSTRING("mediatorMap"), - HX_CSTRING("hasMediator"), - HX_CSTRING("removeMediator"), - HX_CSTRING("retrieveMediator"), - HX_CSTRING("registerMediator"), - HX_CSTRING("removeObserver"), - HX_CSTRING("notifyObservers"), - HX_CSTRING("registerObserver"), - HX_CSTRING("initializeView"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(View_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(View_obj::instance,"instance"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(View_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(View_obj::instance,"instance"); -}; - -Class View_obj::__mClass; - -void View_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.core.View"), hx::TCanCast< View_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void View_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace core diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/ICommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/ICommand.cpp deleted file mode 100644 index 0e6d84a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/ICommand.cpp +++ /dev/null @@ -1,41 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC1(ICommand_obj,execute,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(ICommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(ICommand_obj::__mClass,"__mClass"); -}; - -Class ICommand_obj::__mClass; - -void ICommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.ICommand"), hx::TCanCast< ICommand_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void ICommand_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IController.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IController.cpp deleted file mode 100644 index f764009..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IController.cpp +++ /dev/null @@ -1,50 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IController -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC1(IController_obj,hasCommand,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IController_obj,removeCommand,) - -HX_DEFINE_DYNAMIC_FUNC1(IController_obj,executeCommand,) - -HX_DEFINE_DYNAMIC_FUNC2(IController_obj,registerCommand,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IController_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IController_obj::__mClass,"__mClass"); -}; - -Class IController_obj::__mClass; - -void IController_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IController"), hx::TCanCast< IController_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IController_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IFacade.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IFacade.cpp deleted file mode 100644 index 33141ef..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IFacade.cpp +++ /dev/null @@ -1,74 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,notifyObservers,) - -HX_DEFINE_DYNAMIC_FUNC3(IFacade_obj,sendNotification,) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,hasMediator,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,removeMediator,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,retrieveMediator,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,registerMediator,) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,hasCommand,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,removeCommand,) - -HX_DEFINE_DYNAMIC_FUNC2(IFacade_obj,registerCommand,) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,hasProxy,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,removeProxy,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,retrieveProxy,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IFacade_obj,registerProxy,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IFacade_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IFacade_obj::__mClass,"__mClass"); -}; - -Class IFacade_obj::__mClass; - -void IFacade_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IFacade"), hx::TCanCast< IFacade_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IFacade_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IMediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IMediator.cpp deleted file mode 100644 index 807829a..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IMediator.cpp +++ /dev/null @@ -1,53 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC0(IMediator_obj,onRemove,) - -HX_DEFINE_DYNAMIC_FUNC0(IMediator_obj,onRegister,) - -HX_DEFINE_DYNAMIC_FUNC1(IMediator_obj,handleNotification,) - -HX_DEFINE_DYNAMIC_FUNC0(IMediator_obj,listNotificationInterests,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IMediator_obj,setViewComponent,) - -HX_DEFINE_DYNAMIC_FUNC0(IMediator_obj,getViewComponent,return ) - -HX_DEFINE_DYNAMIC_FUNC0(IMediator_obj,getMediatorName,return ) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IMediator_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IMediator_obj::__mClass,"__mClass"); -}; - -Class IMediator_obj::__mClass; - -void IMediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IMediator"), hx::TCanCast< IMediator_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IMediator_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IModel.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IModel.cpp deleted file mode 100644 index f5d57ac..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IModel.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IModel -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC1(IModel_obj,hasProxy,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IModel_obj,removeProxy,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IModel_obj,retrieveProxy,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IModel_obj,registerProxy,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IModel_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IModel_obj::__mClass,"__mClass"); -}; - -Class IModel_obj::__mClass; - -void IModel_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IModel"), hx::TCanCast< IModel_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IModel_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/INotification.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/INotification.cpp deleted file mode 100644 index 5688273..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/INotification.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC0(INotification_obj,toString,return ) - -HX_DEFINE_DYNAMIC_FUNC0(INotification_obj,getType,return ) - -HX_DEFINE_DYNAMIC_FUNC1(INotification_obj,setType,) - -HX_DEFINE_DYNAMIC_FUNC0(INotification_obj,getBody,return ) - -HX_DEFINE_DYNAMIC_FUNC1(INotification_obj,setBody,) - -HX_DEFINE_DYNAMIC_FUNC0(INotification_obj,getName,return ) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(INotification_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(INotification_obj::__mClass,"__mClass"); -}; - -Class INotification_obj::__mClass; - -void INotification_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.INotification"), hx::TCanCast< INotification_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void INotification_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/INotifier.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/INotifier.cpp deleted file mode 100644 index a911a2d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/INotifier.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC3(INotifier_obj,sendNotification,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(INotifier_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(INotifier_obj::__mClass,"__mClass"); -}; - -Class INotifier_obj::__mClass; - -void INotifier_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.INotifier"), hx::TCanCast< INotifier_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void INotifier_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IObserver.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IObserver.cpp deleted file mode 100644 index 972bfbc..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IObserver.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IObserver -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC1(IObserver_obj,compareNotifyContext,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IObserver_obj,notifyObserver,) - -HX_DEFINE_DYNAMIC_FUNC1(IObserver_obj,setNotifyContext,) - -HX_DEFINE_DYNAMIC_FUNC1(IObserver_obj,setNotifyMethod,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IObserver_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IObserver_obj::__mClass,"__mClass"); -}; - -Class IObserver_obj::__mClass; - -void IObserver_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IObserver"), hx::TCanCast< IObserver_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IObserver_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IProxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IProxy.cpp deleted file mode 100644 index 66f4c70..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IProxy.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC0(IProxy_obj,onRemove,) - -HX_DEFINE_DYNAMIC_FUNC0(IProxy_obj,onRegister,) - -HX_DEFINE_DYNAMIC_FUNC0(IProxy_obj,getData,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IProxy_obj,setData,) - -HX_DEFINE_DYNAMIC_FUNC0(IProxy_obj,getProxyName,return ) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IProxy_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IProxy_obj::__mClass,"__mClass"); -}; - -Class IProxy_obj::__mClass; - -void IProxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IProxy"), hx::TCanCast< IProxy_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IProxy_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IView.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IView.cpp deleted file mode 100644 index d22745f..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/interfaces/IView.cpp +++ /dev/null @@ -1,59 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IObserver -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IView -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace interfaces{ - -HX_DEFINE_DYNAMIC_FUNC1(IView_obj,hasMediator,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IView_obj,removeMediator,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IView_obj,retrieveMediator,return ) - -HX_DEFINE_DYNAMIC_FUNC1(IView_obj,registerMediator,) - -HX_DEFINE_DYNAMIC_FUNC1(IView_obj,notifyObservers,) - -HX_DEFINE_DYNAMIC_FUNC2(IView_obj,removeObserver,) - -HX_DEFINE_DYNAMIC_FUNC2(IView_obj,registerObserver,) - - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(IView_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(IView_obj::__mClass,"__mClass"); -}; - -Class IView_obj::__mClass; - -void IView_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.interfaces.IView"), hx::TCanCast< IView_obj> ,0,0, - 0, 0, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void IView_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace interfaces diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/command/MacroCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/command/MacroCommand.cpp deleted file mode 100644 index 83fca7d..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/command/MacroCommand.cpp +++ /dev/null @@ -1,196 +0,0 @@ -#include - -#ifndef INCLUDED_List -#include -#endif -#ifndef INCLUDED_Type -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_MacroCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace command{ - -Void MacroCommand_obj::__construct() -{ -HX_STACK_PUSH("MacroCommand::new","org/puremvc/haxe/patterns/command/MacroCommand.hx",48); -{ - HX_STACK_LINE(49) - super::__construct(); - HX_STACK_LINE(50) - this->subCommands = ::List_obj::__new(); - HX_STACK_LINE(51) - this->initializeMacroCommand(); -} -; - return null(); -} - -MacroCommand_obj::~MacroCommand_obj() { } - -Dynamic MacroCommand_obj::__CreateEmpty() { return new MacroCommand_obj; } -hx::ObjectPtr< MacroCommand_obj > MacroCommand_obj::__new() -{ hx::ObjectPtr< MacroCommand_obj > result = new MacroCommand_obj(); - result->__construct(); - return result;} - -Dynamic MacroCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< MacroCommand_obj > result = new MacroCommand_obj(); - result->__construct(); - return result;} - -hx::Object *MacroCommand_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::ICommand_obj)) return operator ::org::puremvc::haxe::interfaces::ICommand_obj *(); - return super::__ToInterface(inType); -} - -Void MacroCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification notification){ -{ - HX_STACK_PUSH("MacroCommand::execute","org/puremvc/haxe/patterns/command/MacroCommand.hx",86); - HX_STACK_THIS(this); - HX_STACK_ARG(notification,"notification"); - HX_STACK_LINE(86) - while((!(this->subCommands->isEmpty()))){ - HX_STACK_LINE(89) - ::Class commandClassRef = this->subCommands->pop(); HX_STACK_VAR(commandClassRef,"commandClassRef"); - HX_STACK_LINE(90) - ::org::puremvc::haxe::interfaces::ICommand commandInstance = ::Type_obj::createInstance(commandClassRef,Dynamic( Array_obj::__new())); HX_STACK_VAR(commandInstance,"commandInstance"); - HX_STACK_LINE(91) - commandInstance->execute(notification); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(MacroCommand_obj,execute,(void)) - -Void MacroCommand_obj::addSubCommand( ::Class commandClassRef){ -{ - HX_STACK_PUSH("MacroCommand::addSubCommand","org/puremvc/haxe/patterns/command/MacroCommand.hx",75); - HX_STACK_THIS(this); - HX_STACK_ARG(commandClassRef,"commandClassRef"); - HX_STACK_LINE(75) - this->subCommands->add(commandClassRef); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(MacroCommand_obj,addSubCommand,(void)) - -Void MacroCommand_obj::initializeMacroCommand( ){ -{ - HX_STACK_PUSH("MacroCommand::initializeMacroCommand","org/puremvc/haxe/patterns/command/MacroCommand.hx",65); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(MacroCommand_obj,initializeMacroCommand,(void)) - - -MacroCommand_obj::MacroCommand_obj() -{ -} - -void MacroCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(MacroCommand); - HX_MARK_MEMBER_NAME(subCommands,"subCommands"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void MacroCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(subCommands,"subCommands"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic MacroCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"subCommands") ) { return subCommands; } - break; - case 13: - if (HX_FIELD_EQ(inName,"addSubCommand") ) { return addSubCommand_dyn(); } - break; - case 22: - if (HX_FIELD_EQ(inName,"initializeMacroCommand") ) { return initializeMacroCommand_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic MacroCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 11: - if (HX_FIELD_EQ(inName,"subCommands") ) { subCommands=inValue.Cast< ::List >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void MacroCommand_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("subCommands")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - HX_CSTRING("addSubCommand"), - HX_CSTRING("initializeMacroCommand"), - HX_CSTRING("subCommands"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(MacroCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(MacroCommand_obj::__mClass,"__mClass"); -}; - -Class MacroCommand_obj::__mClass; - -void MacroCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.command.MacroCommand"), hx::TCanCast< MacroCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void MacroCommand_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace command diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/command/SimpleCommand.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/command/SimpleCommand.cpp deleted file mode 100644 index 28c88f7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/command/SimpleCommand.cpp +++ /dev/null @@ -1,133 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_command_SimpleCommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace command{ - -Void SimpleCommand_obj::__construct() -{ -HX_STACK_PUSH("SimpleCommand::new","org/puremvc/haxe/patterns/command/SimpleCommand.hx",19); -{ - HX_STACK_LINE(19) - super::__construct(); -} -; - return null(); -} - -SimpleCommand_obj::~SimpleCommand_obj() { } - -Dynamic SimpleCommand_obj::__CreateEmpty() { return new SimpleCommand_obj; } -hx::ObjectPtr< SimpleCommand_obj > SimpleCommand_obj::__new() -{ hx::ObjectPtr< SimpleCommand_obj > result = new SimpleCommand_obj(); - result->__construct(); - return result;} - -Dynamic SimpleCommand_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< SimpleCommand_obj > result = new SimpleCommand_obj(); - result->__construct(); - return result;} - -hx::Object *SimpleCommand_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::ICommand_obj)) return operator ::org::puremvc::haxe::interfaces::ICommand_obj *(); - return super::__ToInterface(inType); -} - -Void SimpleCommand_obj::execute( ::org::puremvc::haxe::interfaces::INotification notification){ -{ - HX_STACK_PUSH("SimpleCommand::execute","org/puremvc/haxe/patterns/command/SimpleCommand.hx",29); - HX_STACK_THIS(this); - HX_STACK_ARG(notification,"notification"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(SimpleCommand_obj,execute,(void)) - - -SimpleCommand_obj::SimpleCommand_obj() -{ -} - -void SimpleCommand_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(SimpleCommand); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void SimpleCommand_obj::__Visit(HX_VISIT_PARAMS) -{ - super::__Visit(HX_VISIT_ARG); -} - -Dynamic SimpleCommand_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 7: - if (HX_FIELD_EQ(inName,"execute") ) { return execute_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic SimpleCommand_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - return super::__SetField(inName,inValue,inCallProp); -} - -void SimpleCommand_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("execute"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(SimpleCommand_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(SimpleCommand_obj::__mClass,"__mClass"); -}; - -Class SimpleCommand_obj::__mClass; - -void SimpleCommand_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.command.SimpleCommand"), hx::TCanCast< SimpleCommand_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void SimpleCommand_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace command diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/facade/Facade.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/facade/Facade.cpp deleted file mode 100644 index 3eedfa9..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/facade/Facade.cpp +++ /dev/null @@ -1,500 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_core_Controller -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_core_Model -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_core_View -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_ICommand -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IController -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IModel -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IView -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_facade_Facade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notification -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace facade{ - -Void Facade_obj::__construct() -{ -HX_STACK_PUSH("Facade::new","org/puremvc/haxe/patterns/facade/Facade.hx",42); -{ - HX_STACK_LINE(43) - ::org::puremvc::haxe::patterns::facade::Facade_obj::instance = hx::ObjectPtr(this); - HX_STACK_LINE(44) - this->initializeFacade(); -} -; - return null(); -} - -Facade_obj::~Facade_obj() { } - -Dynamic Facade_obj::__CreateEmpty() { return new Facade_obj; } -hx::ObjectPtr< Facade_obj > Facade_obj::__new() -{ hx::ObjectPtr< Facade_obj > result = new Facade_obj(); - result->__construct(); - return result;} - -Dynamic Facade_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Facade_obj > result = new Facade_obj(); - result->__construct(); - return result;} - -hx::Object *Facade_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IFacade_obj)) return operator ::org::puremvc::haxe::interfaces::IFacade_obj *(); - return super::__ToInterface(inType); -} - -Void Facade_obj::notifyObservers( ::org::puremvc::haxe::interfaces::INotification notification){ -{ - HX_STACK_PUSH("Facade::notifyObservers","org/puremvc/haxe/patterns/facade/Facade.hx",247); - HX_STACK_THIS(this); - HX_STACK_ARG(notification,"notification"); - HX_STACK_LINE(247) - if (((this->view != null()))){ - HX_STACK_LINE(248) - this->view->notifyObservers(notification); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,notifyObservers,(void)) - -Void Facade_obj::sendNotification( ::String notificationName,Dynamic body,::String type){ -{ - HX_STACK_PUSH("Facade::sendNotification","org/puremvc/haxe/patterns/facade/Facade.hx",239); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_ARG(body,"body"); - HX_STACK_ARG(type,"type"); - HX_STACK_LINE(239) - this->notifyObservers(::org::puremvc::haxe::patterns::observer::Notification_obj::__new(notificationName,body,type)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Facade_obj,sendNotification,(void)) - -bool Facade_obj::hasMediator( ::String mediatorName){ - HX_STACK_PUSH("Facade::hasMediator","org/puremvc/haxe/patterns/facade/Facade.hx",228); - HX_STACK_THIS(this); - HX_STACK_ARG(mediatorName,"mediatorName"); - HX_STACK_LINE(228) - return this->view->hasMediator(mediatorName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,hasMediator,return ) - -::org::puremvc::haxe::interfaces::IMediator Facade_obj::removeMediator( ::String mediatorName){ - HX_STACK_PUSH("Facade::removeMediator","org/puremvc/haxe/patterns/facade/Facade.hx",218); - HX_STACK_THIS(this); - HX_STACK_ARG(mediatorName,"mediatorName"); - HX_STACK_LINE(219) - ::org::puremvc::haxe::interfaces::IMediator mediator = null(); HX_STACK_VAR(mediator,"mediator"); - HX_STACK_LINE(220) - if (((this->view != null()))){ - HX_STACK_LINE(220) - mediator = this->view->removeMediator(mediatorName); - } - HX_STACK_LINE(221) - return mediator; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,removeMediator,return ) - -::org::puremvc::haxe::interfaces::IMediator Facade_obj::retrieveMediator( ::String mediatorName){ - HX_STACK_PUSH("Facade::retrieveMediator","org/puremvc/haxe/patterns/facade/Facade.hx",210); - HX_STACK_THIS(this); - HX_STACK_ARG(mediatorName,"mediatorName"); - HX_STACK_LINE(210) - return this->view->retrieveMediator(mediatorName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,retrieveMediator,return ) - -Void Facade_obj::registerMediator( ::org::puremvc::haxe::interfaces::IMediator mediator){ -{ - HX_STACK_PUSH("Facade::registerMediator","org/puremvc/haxe/patterns/facade/Facade.hx",202); - HX_STACK_THIS(this); - HX_STACK_ARG(mediator,"mediator"); - HX_STACK_LINE(202) - if (((this->view != null()))){ - HX_STACK_LINE(203) - this->view->registerMediator(mediator); - } - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,registerMediator,(void)) - -bool Facade_obj::hasProxy( ::String proxyName){ - HX_STACK_PUSH("Facade::hasProxy","org/puremvc/haxe/patterns/facade/Facade.hx",194); - HX_STACK_THIS(this); - HX_STACK_ARG(proxyName,"proxyName"); - HX_STACK_LINE(194) - return this->model->hasProxy(proxyName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,hasProxy,return ) - -::org::puremvc::haxe::interfaces::IProxy Facade_obj::removeProxy( ::String proxyName){ - HX_STACK_PUSH("Facade::removeProxy","org/puremvc/haxe/patterns/facade/Facade.hx",184); - HX_STACK_THIS(this); - HX_STACK_ARG(proxyName,"proxyName"); - HX_STACK_LINE(185) - ::org::puremvc::haxe::interfaces::IProxy proxy = null(); HX_STACK_VAR(proxy,"proxy"); - HX_STACK_LINE(186) - if (((this->model != null()))){ - HX_STACK_LINE(186) - proxy = this->model->removeProxy(proxyName); - } - HX_STACK_LINE(187) - return proxy; -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,removeProxy,return ) - -::org::puremvc::haxe::interfaces::IProxy Facade_obj::retrieveProxy( ::String proxyName){ - HX_STACK_PUSH("Facade::retrieveProxy","org/puremvc/haxe/patterns/facade/Facade.hx",176); - HX_STACK_THIS(this); - HX_STACK_ARG(proxyName,"proxyName"); - HX_STACK_LINE(176) - return this->model->retrieveProxy(proxyName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,retrieveProxy,return ) - -Void Facade_obj::registerProxy( ::org::puremvc::haxe::interfaces::IProxy proxy){ -{ - HX_STACK_PUSH("Facade::registerProxy","org/puremvc/haxe/patterns/facade/Facade.hx",168); - HX_STACK_THIS(this); - HX_STACK_ARG(proxy,"proxy"); - HX_STACK_LINE(168) - this->model->registerProxy(proxy); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,registerProxy,(void)) - -bool Facade_obj::hasCommand( ::String notificationName){ - HX_STACK_PUSH("Facade::hasCommand","org/puremvc/haxe/patterns/facade/Facade.hx",160); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_LINE(160) - return this->controller->hasCommand(notificationName); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,hasCommand,return ) - -Void Facade_obj::removeCommand( ::String notificationName){ -{ - HX_STACK_PUSH("Facade::removeCommand","org/puremvc/haxe/patterns/facade/Facade.hx",152); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_LINE(152) - this->controller->removeCommand(notificationName); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Facade_obj,removeCommand,(void)) - -Void Facade_obj::registerCommand( ::String notificationName,::Class commandClassRef){ -{ - HX_STACK_PUSH("Facade::registerCommand","org/puremvc/haxe/patterns/facade/Facade.hx",144); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_ARG(commandClassRef,"commandClassRef"); - HX_STACK_LINE(144) - this->controller->registerCommand(notificationName,commandClassRef); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(Facade_obj,registerCommand,(void)) - -Void Facade_obj::initializeView( ){ -{ - HX_STACK_PUSH("Facade::initializeView","org/puremvc/haxe/patterns/facade/Facade.hx",135); - HX_STACK_THIS(this); - HX_STACK_LINE(136) - if (((this->view != null()))){ - HX_STACK_LINE(136) - return null(); - } - HX_STACK_LINE(137) - this->view = ::org::puremvc::haxe::core::View_obj::getInstance(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Facade_obj,initializeView,(void)) - -Void Facade_obj::initializeModel( ){ -{ - HX_STACK_PUSH("Facade::initializeModel","org/puremvc/haxe/patterns/facade/Facade.hx",111); - HX_STACK_THIS(this); - HX_STACK_LINE(112) - if (((this->model != null()))){ - HX_STACK_LINE(112) - return null(); - } - HX_STACK_LINE(113) - this->model = ::org::puremvc::haxe::core::Model_obj::getInstance(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Facade_obj,initializeModel,(void)) - -Void Facade_obj::initializeController( ){ -{ - HX_STACK_PUSH("Facade::initializeController","org/puremvc/haxe/patterns/facade/Facade.hx",84); - HX_STACK_THIS(this); - HX_STACK_LINE(85) - if (((this->controller != null()))){ - HX_STACK_LINE(85) - return null(); - } - HX_STACK_LINE(86) - this->controller = ::org::puremvc::haxe::core::Controller_obj::getInstance(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Facade_obj,initializeController,(void)) - -Void Facade_obj::initializeFacade( ){ -{ - HX_STACK_PUSH("Facade::initializeFacade","org/puremvc/haxe/patterns/facade/Facade.hx",55); - HX_STACK_THIS(this); - HX_STACK_LINE(56) - this->initializeModel(); - HX_STACK_LINE(57) - this->initializeController(); - HX_STACK_LINE(58) - this->initializeView(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Facade_obj,initializeFacade,(void)) - -::org::puremvc::haxe::interfaces::IFacade Facade_obj::getInstance( ){ - HX_STACK_PUSH("Facade::getInstance","org/puremvc/haxe/patterns/facade/Facade.hx",65); - HX_STACK_LINE(66) - if (((::org::puremvc::haxe::patterns::facade::Facade_obj::instance == null()))){ - HX_STACK_LINE(66) - ::org::puremvc::haxe::patterns::facade::Facade_obj::instance = ::org::puremvc::haxe::patterns::facade::Facade_obj::__new(); - } - HX_STACK_LINE(67) - return ::org::puremvc::haxe::patterns::facade::Facade_obj::instance; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC0(Facade_obj,getInstance,return ) - -::org::puremvc::haxe::interfaces::IFacade Facade_obj::instance; - - -Facade_obj::Facade_obj() -{ -} - -void Facade_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Facade); - HX_MARK_MEMBER_NAME(view,"view"); - HX_MARK_MEMBER_NAME(model,"model"); - HX_MARK_MEMBER_NAME(controller,"controller"); - HX_MARK_END_CLASS(); -} - -void Facade_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(view,"view"); - HX_VISIT_MEMBER_NAME(model,"model"); - HX_VISIT_MEMBER_NAME(controller,"controller"); -} - -Dynamic Facade_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"view") ) { return view; } - break; - case 5: - if (HX_FIELD_EQ(inName,"model") ) { return model; } - break; - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { return instance; } - if (HX_FIELD_EQ(inName,"hasProxy") ) { return hasProxy_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"controller") ) { return controller; } - if (HX_FIELD_EQ(inName,"hasCommand") ) { return hasCommand_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"getInstance") ) { return getInstance_dyn(); } - if (HX_FIELD_EQ(inName,"hasMediator") ) { return hasMediator_dyn(); } - if (HX_FIELD_EQ(inName,"removeProxy") ) { return removeProxy_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"retrieveProxy") ) { return retrieveProxy_dyn(); } - if (HX_FIELD_EQ(inName,"registerProxy") ) { return registerProxy_dyn(); } - if (HX_FIELD_EQ(inName,"removeCommand") ) { return removeCommand_dyn(); } - break; - case 14: - if (HX_FIELD_EQ(inName,"removeMediator") ) { return removeMediator_dyn(); } - if (HX_FIELD_EQ(inName,"initializeView") ) { return initializeView_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"notifyObservers") ) { return notifyObservers_dyn(); } - if (HX_FIELD_EQ(inName,"registerCommand") ) { return registerCommand_dyn(); } - if (HX_FIELD_EQ(inName,"initializeModel") ) { return initializeModel_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"sendNotification") ) { return sendNotification_dyn(); } - if (HX_FIELD_EQ(inName,"retrieveMediator") ) { return retrieveMediator_dyn(); } - if (HX_FIELD_EQ(inName,"registerMediator") ) { return registerMediator_dyn(); } - if (HX_FIELD_EQ(inName,"initializeFacade") ) { return initializeFacade_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"initializeController") ) { return initializeController_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Facade_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"view") ) { view=inValue.Cast< ::org::puremvc::haxe::interfaces::IView >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"model") ) { model=inValue.Cast< ::org::puremvc::haxe::interfaces::IModel >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"instance") ) { instance=inValue.Cast< ::org::puremvc::haxe::interfaces::IFacade >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"controller") ) { controller=inValue.Cast< ::org::puremvc::haxe::interfaces::IController >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Facade_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("view")); - outFields->push(HX_CSTRING("model")); - outFields->push(HX_CSTRING("controller")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("getInstance"), - HX_CSTRING("instance"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("view"), - HX_CSTRING("model"), - HX_CSTRING("controller"), - HX_CSTRING("notifyObservers"), - HX_CSTRING("sendNotification"), - HX_CSTRING("hasMediator"), - HX_CSTRING("removeMediator"), - HX_CSTRING("retrieveMediator"), - HX_CSTRING("registerMediator"), - HX_CSTRING("hasProxy"), - HX_CSTRING("removeProxy"), - HX_CSTRING("retrieveProxy"), - HX_CSTRING("registerProxy"), - HX_CSTRING("hasCommand"), - HX_CSTRING("removeCommand"), - HX_CSTRING("registerCommand"), - HX_CSTRING("initializeView"), - HX_CSTRING("initializeModel"), - HX_CSTRING("initializeController"), - HX_CSTRING("initializeFacade"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Facade_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Facade_obj::instance,"instance"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Facade_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Facade_obj::instance,"instance"); -}; - -Class Facade_obj::__mClass; - -void Facade_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.facade.Facade"), hx::TCanCast< Facade_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Facade_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace facade diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/mediator/Mediator.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/mediator/Mediator.cpp deleted file mode 100644 index 79edfdb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/mediator/Mediator.cpp +++ /dev/null @@ -1,261 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IMediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_mediator_Mediator -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace mediator{ - -Void Mediator_obj::__construct(::String mediatorName,Dynamic viewComponent) -{ -HX_STACK_PUSH("Mediator::new","org/puremvc/haxe/patterns/mediator/Mediator.hx",32); -{ - HX_STACK_LINE(33) - super::__construct(); - HX_STACK_LINE(34) - this->mediatorName = ( (((mediatorName != null()))) ? ::String(mediatorName) : ::String(::org::puremvc::haxe::patterns::mediator::Mediator_obj::NAME) ); - HX_STACK_LINE(35) - if (((viewComponent != null()))){ - HX_STACK_LINE(36) - this->viewComponent = viewComponent; - } -} -; - return null(); -} - -Mediator_obj::~Mediator_obj() { } - -Dynamic Mediator_obj::__CreateEmpty() { return new Mediator_obj; } -hx::ObjectPtr< Mediator_obj > Mediator_obj::__new(::String mediatorName,Dynamic viewComponent) -{ hx::ObjectPtr< Mediator_obj > result = new Mediator_obj(); - result->__construct(mediatorName,viewComponent); - return result;} - -Dynamic Mediator_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Mediator_obj > result = new Mediator_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -hx::Object *Mediator_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IMediator_obj)) return operator ::org::puremvc::haxe::interfaces::IMediator_obj *(); - return super::__ToInterface(inType); -} - -Void Mediator_obj::onRemove( ){ -{ - HX_STACK_PUSH("Mediator::onRemove","org/puremvc/haxe/patterns/mediator/Mediator.hx",96); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Mediator_obj,onRemove,(void)) - -Void Mediator_obj::onRegister( ){ -{ - HX_STACK_PUSH("Mediator::onRegister","org/puremvc/haxe/patterns/mediator/Mediator.hx",89); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Mediator_obj,onRegister,(void)) - -Void Mediator_obj::handleNotification( ::org::puremvc::haxe::interfaces::INotification notification){ -{ - HX_STACK_PUSH("Mediator::handleNotification","org/puremvc/haxe/patterns/mediator/Mediator.hx",81); - HX_STACK_THIS(this); - HX_STACK_ARG(notification,"notification"); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Mediator_obj,handleNotification,(void)) - -Array< ::String > Mediator_obj::listNotificationInterests( ){ - HX_STACK_PUSH("Mediator::listNotificationInterests","org/puremvc/haxe/patterns/mediator/Mediator.hx",69); - HX_STACK_THIS(this); - HX_STACK_LINE(69) - return Array_obj< ::String >::__new(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Mediator_obj,listNotificationInterests,return ) - -Dynamic Mediator_obj::getViewComponent( ){ - HX_STACK_PUSH("Mediator::getViewComponent","org/puremvc/haxe/patterns/mediator/Mediator.hx",60); - HX_STACK_THIS(this); - HX_STACK_LINE(60) - return this->viewComponent; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Mediator_obj,getViewComponent,return ) - -Void Mediator_obj::setViewComponent( Dynamic viewComponent){ -{ - HX_STACK_PUSH("Mediator::setViewComponent","org/puremvc/haxe/patterns/mediator/Mediator.hx",52); - HX_STACK_THIS(this); - HX_STACK_ARG(viewComponent,"viewComponent"); - HX_STACK_LINE(52) - this->viewComponent = viewComponent; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Mediator_obj,setViewComponent,(void)) - -::String Mediator_obj::getMediatorName( ){ - HX_STACK_PUSH("Mediator::getMediatorName","org/puremvc/haxe/patterns/mediator/Mediator.hx",44); - HX_STACK_THIS(this); - HX_STACK_LINE(44) - return this->mediatorName; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Mediator_obj,getMediatorName,return ) - -::String Mediator_obj::NAME; - - -Mediator_obj::Mediator_obj() -{ -} - -void Mediator_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Mediator); - HX_MARK_MEMBER_NAME(viewComponent,"viewComponent"); - HX_MARK_MEMBER_NAME(mediatorName,"mediatorName"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Mediator_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(viewComponent,"viewComponent"); - HX_VISIT_MEMBER_NAME(mediatorName,"mediatorName"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Mediator_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - break; - case 8: - if (HX_FIELD_EQ(inName,"onRemove") ) { return onRemove_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"onRegister") ) { return onRegister_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"mediatorName") ) { return mediatorName; } - break; - case 13: - if (HX_FIELD_EQ(inName,"viewComponent") ) { return viewComponent; } - break; - case 15: - if (HX_FIELD_EQ(inName,"getMediatorName") ) { return getMediatorName_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"getViewComponent") ) { return getViewComponent_dyn(); } - if (HX_FIELD_EQ(inName,"setViewComponent") ) { return setViewComponent_dyn(); } - break; - case 18: - if (HX_FIELD_EQ(inName,"handleNotification") ) { return handleNotification_dyn(); } - break; - case 25: - if (HX_FIELD_EQ(inName,"listNotificationInterests") ) { return listNotificationInterests_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Mediator_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"mediatorName") ) { mediatorName=inValue.Cast< ::String >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"viewComponent") ) { viewComponent=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Mediator_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("viewComponent")); - outFields->push(HX_CSTRING("mediatorName")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("viewComponent"), - HX_CSTRING("mediatorName"), - HX_CSTRING("onRemove"), - HX_CSTRING("onRegister"), - HX_CSTRING("handleNotification"), - HX_CSTRING("listNotificationInterests"), - HX_CSTRING("getViewComponent"), - HX_CSTRING("setViewComponent"), - HX_CSTRING("getMediatorName"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Mediator_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Mediator_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Mediator_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Mediator_obj::NAME,"NAME"); -}; - -Class Mediator_obj::__mClass; - -void Mediator_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.mediator.Mediator"), hx::TCanCast< Mediator_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Mediator_obj::__boot() -{ - NAME= HX_CSTRING("Mediator"); -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace mediator diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/observer/Notification.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/observer/Notification.cpp deleted file mode 100644 index 0c7bc92..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/observer/Notification.cpp +++ /dev/null @@ -1,229 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notification -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace observer{ - -Void Notification_obj::__construct(::String name,Dynamic body,::String type) -{ -HX_STACK_PUSH("Notification::new","org/puremvc/haxe/patterns/observer/Notification.hx",41); -{ - HX_STACK_LINE(42) - this->name = name; - HX_STACK_LINE(43) - if (((body != null()))){ - HX_STACK_LINE(44) - this->body = body; - } - HX_STACK_LINE(45) - if (((type != null()))){ - HX_STACK_LINE(46) - this->type = type; - } -} -; - return null(); -} - -Notification_obj::~Notification_obj() { } - -Dynamic Notification_obj::__CreateEmpty() { return new Notification_obj; } -hx::ObjectPtr< Notification_obj > Notification_obj::__new(::String name,Dynamic body,::String type) -{ hx::ObjectPtr< Notification_obj > result = new Notification_obj(); - result->__construct(name,body,type); - return result;} - -Dynamic Notification_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Notification_obj > result = new Notification_obj(); - result->__construct(inArgs[0],inArgs[1],inArgs[2]); - return result;} - -hx::Object *Notification_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::INotification_obj)) return operator ::org::puremvc::haxe::interfaces::INotification_obj *(); - return super::__ToInterface(inType); -} - -::String Notification_obj::toString( ){ - HX_STACK_PUSH("Notification::toString","org/puremvc/haxe/patterns/observer/Notification.hx",93); - HX_STACK_THIS(this); - HX_STACK_LINE(94) - ::String msg = (HX_CSTRING("Notification Name: ") + this->getName()); HX_STACK_VAR(msg,"msg"); - HX_STACK_LINE(95) - hx::AddEq(msg,(HX_CSTRING("\nBody:") + (( (((this->body == null()))) ? ::String(HX_CSTRING("null")) : ::String(this->body->toString()) )))); - HX_STACK_LINE(96) - hx::AddEq(msg,(HX_CSTRING("\nType:") + (( (((this->type == null()))) ? ::String(HX_CSTRING("null")) : ::String(this->type) )))); - HX_STACK_LINE(97) - return msg; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Notification_obj,toString,return ) - -::String Notification_obj::getType( ){ - HX_STACK_PUSH("Notification::getType","org/puremvc/haxe/patterns/observer/Notification.hx",85); - HX_STACK_THIS(this); - HX_STACK_LINE(85) - return this->type; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Notification_obj,getType,return ) - -Void Notification_obj::setType( ::String type){ -{ - HX_STACK_PUSH("Notification::setType","org/puremvc/haxe/patterns/observer/Notification.hx",77); - HX_STACK_THIS(this); - HX_STACK_ARG(type,"type"); - HX_STACK_LINE(77) - this->type = type; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Notification_obj,setType,(void)) - -Dynamic Notification_obj::getBody( ){ - HX_STACK_PUSH("Notification::getBody","org/puremvc/haxe/patterns/observer/Notification.hx",69); - HX_STACK_THIS(this); - HX_STACK_LINE(69) - return this->body; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Notification_obj,getBody,return ) - -Void Notification_obj::setBody( Dynamic body){ -{ - HX_STACK_PUSH("Notification::setBody","org/puremvc/haxe/patterns/observer/Notification.hx",61); - HX_STACK_THIS(this); - HX_STACK_ARG(body,"body"); - HX_STACK_LINE(61) - this->body = body; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Notification_obj,setBody,(void)) - -::String Notification_obj::getName( ){ - HX_STACK_PUSH("Notification::getName","org/puremvc/haxe/patterns/observer/Notification.hx",53); - HX_STACK_THIS(this); - HX_STACK_LINE(53) - return this->name; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Notification_obj,getName,return ) - - -Notification_obj::Notification_obj() -{ -} - -void Notification_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Notification); - HX_MARK_MEMBER_NAME(body,"body"); - HX_MARK_MEMBER_NAME(type,"type"); - HX_MARK_MEMBER_NAME(name,"name"); - HX_MARK_END_CLASS(); -} - -void Notification_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(body,"body"); - HX_VISIT_MEMBER_NAME(type,"type"); - HX_VISIT_MEMBER_NAME(name,"name"); -} - -Dynamic Notification_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"body") ) { return body; } - if (HX_FIELD_EQ(inName,"type") ) { return type; } - if (HX_FIELD_EQ(inName,"name") ) { return name; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getType") ) { return getType_dyn(); } - if (HX_FIELD_EQ(inName,"setType") ) { return setType_dyn(); } - if (HX_FIELD_EQ(inName,"getBody") ) { return getBody_dyn(); } - if (HX_FIELD_EQ(inName,"setBody") ) { return setBody_dyn(); } - if (HX_FIELD_EQ(inName,"getName") ) { return getName_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"toString") ) { return toString_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Notification_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"body") ) { body=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"type") ) { type=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"name") ) { name=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Notification_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("body")); - outFields->push(HX_CSTRING("type")); - outFields->push(HX_CSTRING("name")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("body"), - HX_CSTRING("type"), - HX_CSTRING("name"), - HX_CSTRING("toString"), - HX_CSTRING("getType"), - HX_CSTRING("setType"), - HX_CSTRING("getBody"), - HX_CSTRING("setBody"), - HX_CSTRING("getName"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Notification_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Notification_obj::__mClass,"__mClass"); -}; - -Class Notification_obj::__mClass; - -void Notification_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.observer.Notification"), hx::TCanCast< Notification_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Notification_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace observer diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/observer/Notifier.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/observer/Notifier.cpp deleted file mode 100644 index 5bab7bb..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/observer/Notifier.cpp +++ /dev/null @@ -1,143 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IFacade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_facade_Facade -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace observer{ - -Void Notifier_obj::__construct() -{ -HX_STACK_PUSH("Notifier::new","org/puremvc/haxe/patterns/observer/Notifier.hx",33); -{ - HX_STACK_LINE(33) - this->facade = ::org::puremvc::haxe::patterns::facade::Facade_obj::getInstance(); -} -; - return null(); -} - -Notifier_obj::~Notifier_obj() { } - -Dynamic Notifier_obj::__CreateEmpty() { return new Notifier_obj; } -hx::ObjectPtr< Notifier_obj > Notifier_obj::__new() -{ hx::ObjectPtr< Notifier_obj > result = new Notifier_obj(); - result->__construct(); - return result;} - -Dynamic Notifier_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Notifier_obj > result = new Notifier_obj(); - result->__construct(); - return result;} - -hx::Object *Notifier_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::INotifier_obj)) return operator ::org::puremvc::haxe::interfaces::INotifier_obj *(); - return super::__ToInterface(inType); -} - -Void Notifier_obj::sendNotification( ::String notificationName,Dynamic body,::String type){ -{ - HX_STACK_PUSH("Notifier::sendNotification","org/puremvc/haxe/patterns/observer/Notifier.hx",44); - HX_STACK_THIS(this); - HX_STACK_ARG(notificationName,"notificationName"); - HX_STACK_ARG(body,"body"); - HX_STACK_ARG(type,"type"); - HX_STACK_LINE(44) - this->facade->sendNotification(notificationName,body,type); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC3(Notifier_obj,sendNotification,(void)) - - -Notifier_obj::Notifier_obj() -{ -} - -void Notifier_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Notifier); - HX_MARK_MEMBER_NAME(facade,"facade"); - HX_MARK_END_CLASS(); -} - -void Notifier_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(facade,"facade"); -} - -Dynamic Notifier_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"facade") ) { return facade; } - break; - case 16: - if (HX_FIELD_EQ(inName,"sendNotification") ) { return sendNotification_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Notifier_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"facade") ) { facade=inValue.Cast< ::org::puremvc::haxe::interfaces::IFacade >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Notifier_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("facade")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("facade"), - HX_CSTRING("sendNotification"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Notifier_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Notifier_obj::__mClass,"__mClass"); -}; - -Class Notifier_obj::__mClass; - -void Notifier_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.observer.Notifier"), hx::TCanCast< Notifier_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Notifier_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace observer diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/observer/Observer.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/observer/Observer.cpp deleted file mode 100644 index 121fe22..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/observer/Observer.cpp +++ /dev/null @@ -1,224 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotification -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IObserver -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Observer -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace observer{ - -Void Observer_obj::__construct(Dynamic notifyMethod,Dynamic notifyContext) -{ -HX_STACK_PUSH("Observer::new","org/puremvc/haxe/patterns/observer/Observer.hx",39); -{ - HX_STACK_LINE(40) - this->setNotifyMethod(notifyMethod); - HX_STACK_LINE(41) - this->setNotifyContext(notifyContext); -} -; - return null(); -} - -Observer_obj::~Observer_obj() { } - -Dynamic Observer_obj::__CreateEmpty() { return new Observer_obj; } -hx::ObjectPtr< Observer_obj > Observer_obj::__new(Dynamic notifyMethod,Dynamic notifyContext) -{ hx::ObjectPtr< Observer_obj > result = new Observer_obj(); - result->__construct(notifyMethod,notifyContext); - return result;} - -Dynamic Observer_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Observer_obj > result = new Observer_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -hx::Object *Observer_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IObserver_obj)) return operator ::org::puremvc::haxe::interfaces::IObserver_obj *(); - return super::__ToInterface(inType); -} - -bool Observer_obj::compareNotifyContext( Dynamic object){ - HX_STACK_PUSH("Observer::compareNotifyContext","org/puremvc/haxe/patterns/observer/Observer.hx",90); - HX_STACK_THIS(this); - HX_STACK_ARG(object,"object"); - HX_STACK_LINE(90) - return (object == this->context); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Observer_obj,compareNotifyContext,return ) - -Void Observer_obj::notifyObserver( ::org::puremvc::haxe::interfaces::INotification notification){ -{ - HX_STACK_PUSH("Observer::notifyObserver","org/puremvc/haxe/patterns/observer/Observer.hx",82); - HX_STACK_THIS(this); - HX_STACK_ARG(notification,"notification"); - HX_STACK_LINE(82) - this->getNotifyMethod()(notification).Cast< Void >(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Observer_obj,notifyObserver,(void)) - -Dynamic Observer_obj::getNotifyContext( ){ - HX_STACK_PUSH("Observer::getNotifyContext","org/puremvc/haxe/patterns/observer/Observer.hx",74); - HX_STACK_THIS(this); - HX_STACK_LINE(74) - return this->context; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Observer_obj,getNotifyContext,return ) - -Dynamic Observer_obj::getNotifyMethod( ){ - HX_STACK_PUSH("Observer::getNotifyMethod","org/puremvc/haxe/patterns/observer/Observer.hx",66); - HX_STACK_THIS(this); - HX_STACK_LINE(66) - return this->notify_dyn(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Observer_obj,getNotifyMethod,return ) - -Void Observer_obj::setNotifyContext( Dynamic notifyContext){ -{ - HX_STACK_PUSH("Observer::setNotifyContext","org/puremvc/haxe/patterns/observer/Observer.hx",58); - HX_STACK_THIS(this); - HX_STACK_ARG(notifyContext,"notifyContext"); - HX_STACK_LINE(58) - this->context = notifyContext; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Observer_obj,setNotifyContext,(void)) - -Void Observer_obj::setNotifyMethod( Dynamic notifyMethod){ -{ - HX_STACK_PUSH("Observer::setNotifyMethod","org/puremvc/haxe/patterns/observer/Observer.hx",50); - HX_STACK_THIS(this); - HX_STACK_ARG(notifyMethod,"notifyMethod"); - HX_STACK_LINE(50) - this->notify = notifyMethod; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Observer_obj,setNotifyMethod,(void)) - - -Observer_obj::Observer_obj() -{ -} - -void Observer_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Observer); - HX_MARK_MEMBER_NAME(context,"context"); - HX_MARK_MEMBER_NAME(notify,"notify"); - HX_MARK_END_CLASS(); -} - -void Observer_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(context,"context"); - HX_VISIT_MEMBER_NAME(notify,"notify"); -} - -Dynamic Observer_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"notify") ) { return notify; } - break; - case 7: - if (HX_FIELD_EQ(inName,"context") ) { return context; } - break; - case 14: - if (HX_FIELD_EQ(inName,"notifyObserver") ) { return notifyObserver_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"getNotifyMethod") ) { return getNotifyMethod_dyn(); } - if (HX_FIELD_EQ(inName,"setNotifyMethod") ) { return setNotifyMethod_dyn(); } - break; - case 16: - if (HX_FIELD_EQ(inName,"getNotifyContext") ) { return getNotifyContext_dyn(); } - if (HX_FIELD_EQ(inName,"setNotifyContext") ) { return setNotifyContext_dyn(); } - break; - case 20: - if (HX_FIELD_EQ(inName,"compareNotifyContext") ) { return compareNotifyContext_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Observer_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 6: - if (HX_FIELD_EQ(inName,"notify") ) { notify=inValue.Cast< Dynamic >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"context") ) { context=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Observer_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("context")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("compareNotifyContext"), - HX_CSTRING("notifyObserver"), - HX_CSTRING("getNotifyContext"), - HX_CSTRING("getNotifyMethod"), - HX_CSTRING("setNotifyContext"), - HX_CSTRING("setNotifyMethod"), - HX_CSTRING("context"), - HX_CSTRING("notify"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Observer_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Observer_obj::__mClass,"__mClass"); -}; - -Class Observer_obj::__mClass; - -void Observer_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.observer.Observer"), hx::TCanCast< Observer_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Observer_obj::__boot() -{ -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace observer diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/proxy/Proxy.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/proxy/Proxy.cpp deleted file mode 100644 index 08af8d3..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/org/puremvc/haxe/patterns/proxy/Proxy.cpp +++ /dev/null @@ -1,224 +0,0 @@ -#include - -#ifndef INCLUDED_org_puremvc_haxe_interfaces_INotifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_interfaces_IProxy -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_observer_Notifier -#include -#endif -#ifndef INCLUDED_org_puremvc_haxe_patterns_proxy_Proxy -#include -#endif -namespace org{ -namespace puremvc{ -namespace haxe{ -namespace patterns{ -namespace proxy{ - -Void Proxy_obj::__construct(::String proxyName,Dynamic data) -{ -HX_STACK_PUSH("Proxy::new","org/puremvc/haxe/patterns/proxy/Proxy.hx",37); -{ - HX_STACK_LINE(38) - super::__construct(); - HX_STACK_LINE(39) - this->proxyName = ( (((proxyName != null()))) ? ::String(proxyName) : ::String(::org::puremvc::haxe::patterns::proxy::Proxy_obj::NAME) ); - HX_STACK_LINE(40) - if (((data != null()))){ - HX_STACK_LINE(40) - this->setData(data); - } -} -; - return null(); -} - -Proxy_obj::~Proxy_obj() { } - -Dynamic Proxy_obj::__CreateEmpty() { return new Proxy_obj; } -hx::ObjectPtr< Proxy_obj > Proxy_obj::__new(::String proxyName,Dynamic data) -{ hx::ObjectPtr< Proxy_obj > result = new Proxy_obj(); - result->__construct(proxyName,data); - return result;} - -Dynamic Proxy_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Proxy_obj > result = new Proxy_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -hx::Object *Proxy_obj::__ToInterface(const type_info &inType) { - if (inType==typeid( ::org::puremvc::haxe::interfaces::IProxy_obj)) return operator ::org::puremvc::haxe::interfaces::IProxy_obj *(); - return super::__ToInterface(inType); -} - -Void Proxy_obj::onRemove( ){ -{ - HX_STACK_PUSH("Proxy::onRemove","org/puremvc/haxe/patterns/proxy/Proxy.hx",79); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Proxy_obj,onRemove,(void)) - -Void Proxy_obj::onRegister( ){ -{ - HX_STACK_PUSH("Proxy::onRegister","org/puremvc/haxe/patterns/proxy/Proxy.hx",71); - HX_STACK_THIS(this); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Proxy_obj,onRegister,(void)) - -Dynamic Proxy_obj::getData( ){ - HX_STACK_PUSH("Proxy::getData","org/puremvc/haxe/patterns/proxy/Proxy.hx",63); - HX_STACK_THIS(this); - HX_STACK_LINE(63) - return this->data; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Proxy_obj,getData,return ) - -Void Proxy_obj::setData( Dynamic data){ -{ - HX_STACK_PUSH("Proxy::setData","org/puremvc/haxe/patterns/proxy/Proxy.hx",55); - HX_STACK_THIS(this); - HX_STACK_ARG(data,"data"); - HX_STACK_LINE(55) - this->data = data; - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Proxy_obj,setData,(void)) - -::String Proxy_obj::getProxyName( ){ - HX_STACK_PUSH("Proxy::getProxyName","org/puremvc/haxe/patterns/proxy/Proxy.hx",47); - HX_STACK_THIS(this); - HX_STACK_LINE(47) - return this->proxyName; -} - - -HX_DEFINE_DYNAMIC_FUNC0(Proxy_obj,getProxyName,return ) - -::String Proxy_obj::NAME; - - -Proxy_obj::Proxy_obj() -{ -} - -void Proxy_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Proxy); - HX_MARK_MEMBER_NAME(data,"data"); - HX_MARK_MEMBER_NAME(proxyName,"proxyName"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Proxy_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(data,"data"); - HX_VISIT_MEMBER_NAME(proxyName,"proxyName"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Proxy_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { return NAME; } - if (HX_FIELD_EQ(inName,"data") ) { return data; } - break; - case 7: - if (HX_FIELD_EQ(inName,"getData") ) { return getData_dyn(); } - if (HX_FIELD_EQ(inName,"setData") ) { return setData_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"onRemove") ) { return onRemove_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"proxyName") ) { return proxyName; } - break; - case 10: - if (HX_FIELD_EQ(inName,"onRegister") ) { return onRegister_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"getProxyName") ) { return getProxyName_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Proxy_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"NAME") ) { NAME=inValue.Cast< ::String >(); return inValue; } - if (HX_FIELD_EQ(inName,"data") ) { data=inValue.Cast< Dynamic >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"proxyName") ) { proxyName=inValue.Cast< ::String >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Proxy_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("data")); - outFields->push(HX_CSTRING("proxyName")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("NAME"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("data"), - HX_CSTRING("proxyName"), - HX_CSTRING("onRemove"), - HX_CSTRING("onRegister"), - HX_CSTRING("getData"), - HX_CSTRING("setData"), - HX_CSTRING("getProxyName"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Proxy_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Proxy_obj::NAME,"NAME"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Proxy_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Proxy_obj::NAME,"NAME"); -}; - -Class Proxy_obj::__mClass; - -void Proxy_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("org.puremvc.haxe.patterns.proxy.Proxy"), hx::TCanCast< Proxy_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Proxy_obj::__boot() -{ - NAME= HX_CSTRING("Proxy"); -} - -} // end namespace org -} // end namespace puremvc -} // end namespace haxe -} // end namespace patterns -} // end namespace proxy diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/pages/Psvg.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/pages/Psvg.cpp deleted file mode 100644 index 8e2a529..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/pages/Psvg.cpp +++ /dev/null @@ -1,201 +0,0 @@ -#include - -#ifndef INCLUDED_Hash -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_ActorComponent -#include -#endif -#ifndef INCLUDED_ca_confidant_glory_view_components_PageComponent -#include -#endif -#ifndef INCLUDED_haxe_Timer -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObject -#include -#endif -#ifndef INCLUDED_neash_display_DisplayObjectContainer -#include -#endif -#ifndef INCLUDED_neash_display_IBitmapDrawable -#include -#endif -#ifndef INCLUDED_neash_display_InteractiveObject -#include -#endif -#ifndef INCLUDED_neash_display_Sprite -#include -#endif -#ifndef INCLUDED_neash_events_EventDispatcher -#include -#endif -#ifndef INCLUDED_neash_events_IEventDispatcher -#include -#endif -#ifndef INCLUDED_pages_Psvg -#include -#endif -namespace pages{ - -Void Psvg_obj::__construct() -{ -HX_STACK_PUSH("Psvg::new","pages/Psvg.hx",10); -{ - HX_STACK_LINE(10) - super::__construct(); -} -; - return null(); -} - -Psvg_obj::~Psvg_obj() { } - -Dynamic Psvg_obj::__CreateEmpty() { return new Psvg_obj; } -hx::ObjectPtr< Psvg_obj > Psvg_obj::__new() -{ hx::ObjectPtr< Psvg_obj > result = new Psvg_obj(); - result->__construct(); - return result;} - -Dynamic Psvg_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Psvg_obj > result = new Psvg_obj(); - result->__construct(); - return result;} - -Void Psvg_obj::onTimerTick( ){ -{ - HX_STACK_PUSH("Psvg::onTimerTick","pages/Psvg.hx",22); - HX_STACK_THIS(this); - HX_STACK_LINE(23) - ::ca::confidant::glory::view::components::ActorComponent _g = this->star; HX_STACK_VAR(_g,"_g"); - HX_STACK_LINE(23) - _g->nmeSetRotation((_g->nmeGetRotation() + (int)20)); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Psvg_obj,onTimerTick,(void)) - -Void Psvg_obj::startTimer( hx::Null< int > __o_i){ -int i = __o_i.Default(50); - HX_STACK_PUSH("Psvg::startTimer","pages/Psvg.hx",17); - HX_STACK_THIS(this); - HX_STACK_ARG(i,"i"); -{ - HX_STACK_LINE(19) - this->myTimer = ::haxe::Timer_obj::__new(i); - HX_STACK_LINE(20) - this->myTimer->run = this->onTimerTick_dyn(); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC1(Psvg_obj,startTimer,(void)) - -Void Psvg_obj::init( ){ -{ - HX_STACK_PUSH("Psvg::init","pages/Psvg.hx",13); - HX_STACK_THIS(this); - HX_STACK_LINE(14) - this->star = this->myActors->get(HX_CSTRING("star1")); - HX_STACK_LINE(15) - this->startTimer(null()); - } -return null(); -} - - - -Psvg_obj::Psvg_obj() -{ -} - -void Psvg_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Psvg); - HX_MARK_MEMBER_NAME(star,"star"); - HX_MARK_MEMBER_NAME(myTimer,"myTimer"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Psvg_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(star,"star"); - HX_VISIT_MEMBER_NAME(myTimer,"myTimer"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Psvg_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"init") ) { return init_dyn(); } - if (HX_FIELD_EQ(inName,"star") ) { return star; } - break; - case 7: - if (HX_FIELD_EQ(inName,"myTimer") ) { return myTimer; } - break; - case 10: - if (HX_FIELD_EQ(inName,"startTimer") ) { return startTimer_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"onTimerTick") ) { return onTimerTick_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Psvg_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"star") ) { star=inValue.Cast< ::ca::confidant::glory::view::components::ActorComponent >(); return inValue; } - break; - case 7: - if (HX_FIELD_EQ(inName,"myTimer") ) { myTimer=inValue.Cast< ::haxe::Timer >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Psvg_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("star")); - outFields->push(HX_CSTRING("myTimer")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("onTimerTick"), - HX_CSTRING("startTimer"), - HX_CSTRING("init"), - HX_CSTRING("star"), - HX_CSTRING("myTimer"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Psvg_obj::__mClass,"__mClass"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Psvg_obj::__mClass,"__mClass"); -}; - -Class Psvg_obj::__mClass; - -void Psvg_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("pages.Psvg"), hx::TCanCast< Psvg_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Psvg_obj::__boot() -{ -} - -} // end namespace pages diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/FileSystem.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/FileSystem.cpp deleted file mode 100644 index 8bd0400..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/FileSystem.cpp +++ /dev/null @@ -1,401 +0,0 @@ -#include - -#ifndef INCLUDED_Date -#include -#endif -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_sys_FileSystem -#include -#endif -#ifndef INCLUDED_sys__FileSystem_FileKind -#include -#endif -namespace sys{ - -Void FileSystem_obj::__construct() -{ - return null(); -} - -FileSystem_obj::~FileSystem_obj() { } - -Dynamic FileSystem_obj::__CreateEmpty() { return new FileSystem_obj; } -hx::ObjectPtr< FileSystem_obj > FileSystem_obj::__new() -{ hx::ObjectPtr< FileSystem_obj > result = new FileSystem_obj(); - result->__construct(); - return result;} - -Dynamic FileSystem_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< FileSystem_obj > result = new FileSystem_obj(); - result->__construct(); - return result;} - -bool FileSystem_obj::exists( ::String path){ - HX_STACK_PUSH("FileSystem::exists","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",36); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(36) - return ::sys::FileSystem_obj::sys_exists(path); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,exists,return ) - -Void FileSystem_obj::rename( ::String path,::String newpath){ -{ - HX_STACK_PUSH("FileSystem::rename","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",40); - HX_STACK_ARG(path,"path"); - HX_STACK_ARG(newpath,"newpath"); - HX_STACK_LINE(40) - if (((::sys::FileSystem_obj::sys_rename(path,newpath) == null()))){ - HX_STACK_LINE(42) - hx::Throw ((((HX_CSTRING("Could not rename:") + path) + HX_CSTRING(" to ")) + newpath)); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(FileSystem_obj,rename,(void)) - -Dynamic FileSystem_obj::stat( ::String path){ - HX_STACK_PUSH("FileSystem::stat","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",45); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(46) - Dynamic s = ::sys::FileSystem_obj::sys_stat(path); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(47) - if (((s == null()))){ - struct _Function_2_1{ - inline static Dynamic Block( ){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",48); - { - hx::Anon __result = hx::Anon_obj::Create(); - __result->Add(HX_CSTRING("gid") , (int)0,false); - __result->Add(HX_CSTRING("uid") , (int)0,false); - __result->Add(HX_CSTRING("atime") , ::Date_obj::fromTime((int)0),false); - __result->Add(HX_CSTRING("mtime") , ::Date_obj::fromTime((int)0),false); - __result->Add(HX_CSTRING("ctime") , ::Date_obj::fromTime((int)0),false); - __result->Add(HX_CSTRING("dev") , (int)0,false); - __result->Add(HX_CSTRING("ino") , (int)0,false); - __result->Add(HX_CSTRING("nlink") , (int)0,false); - __result->Add(HX_CSTRING("rdev") , (int)0,false); - __result->Add(HX_CSTRING("size") , (int)0,false); - __result->Add(HX_CSTRING("mode") , (int)0,false); - return __result; - } - return null(); - } - }; - HX_STACK_LINE(48) - return _Function_2_1::Block(); - } - HX_STACK_LINE(49) - s->__FieldRef(HX_CSTRING("atime")) = ::Date_obj::fromTime((1000.0 * s->__Field(HX_CSTRING("atime"),true))); - HX_STACK_LINE(50) - s->__FieldRef(HX_CSTRING("mtime")) = ::Date_obj::fromTime((1000.0 * s->__Field(HX_CSTRING("mtime"),true))); - HX_STACK_LINE(51) - s->__FieldRef(HX_CSTRING("ctime")) = ::Date_obj::fromTime((1000.0 * s->__Field(HX_CSTRING("ctime"),true))); - HX_STACK_LINE(52) - return s; -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,stat,return ) - -::String FileSystem_obj::fullPath( ::String relpath){ - HX_STACK_PUSH("FileSystem::fullPath","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",55); - HX_STACK_ARG(relpath,"relpath"); - HX_STACK_LINE(55) - return ::String(::sys::FileSystem_obj::file_full_path(relpath)); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,fullPath,return ) - -::sys::_FileSystem::FileKind FileSystem_obj::kind( ::String path){ - HX_STACK_PUSH("FileSystem::kind","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",59); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(60) - ::String k = ::sys::FileSystem_obj::sys_file_type(path); HX_STACK_VAR(k,"k"); - struct _Function_1_1{ - inline static ::sys::_FileSystem::FileKind Block( ::String &k){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",61); - { - HX_STACK_LINE(61) - ::String _switch_1 = (k); - if ( ( _switch_1==HX_CSTRING("file"))){ - HX_STACK_LINE(62) - return ::sys::_FileSystem::FileKind_obj::kfile_dyn(); - } - else if ( ( _switch_1==HX_CSTRING("dir"))){ - HX_STACK_LINE(63) - return ::sys::_FileSystem::FileKind_obj::kdir_dyn(); - } - else { - HX_STACK_LINE(64) - return ::sys::_FileSystem::FileKind_obj::kother(k); - } -; -; - } - return null(); - } - }; - HX_STACK_LINE(61) - return _Function_1_1::Block(k); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,kind,return ) - -bool FileSystem_obj::isDirectory( ::String path){ - HX_STACK_PUSH("FileSystem::isDirectory","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",68); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(68) - return (::sys::FileSystem_obj::kind(path) == ::sys::_FileSystem::FileKind_obj::kdir_dyn()); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,isDirectory,return ) - -Void FileSystem_obj::createDirectory( ::String path){ -{ - HX_STACK_PUSH("FileSystem::createDirectory","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",72); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(72) - if (((::sys::FileSystem_obj::sys_create_dir(path,(int)493) == null()))){ - HX_STACK_LINE(74) - hx::Throw ((HX_CSTRING("Could not create directory:") + path)); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,createDirectory,(void)) - -Void FileSystem_obj::deleteFile( ::String path){ -{ - HX_STACK_PUSH("FileSystem::deleteFile","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",77); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(77) - if (((::sys::FileSystem_obj::file_delete(path) == null()))){ - HX_STACK_LINE(79) - hx::Throw ((HX_CSTRING("Could not delete file:") + path)); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,deleteFile,(void)) - -Void FileSystem_obj::deleteDirectory( ::String path){ -{ - HX_STACK_PUSH("FileSystem::deleteDirectory","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",82); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(82) - if (((::sys::FileSystem_obj::sys_remove_dir(path) == null()))){ - HX_STACK_LINE(84) - hx::Throw ((HX_CSTRING("Could not delete directory:") + path)); - } - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,deleteDirectory,(void)) - -Array< ::String > FileSystem_obj::readDirectory( ::String path){ - HX_STACK_PUSH("FileSystem::readDirectory","/usr/lib/haxe/std/cpp/_std/sys/FileSystem.hx",87); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(87) - return ::sys::FileSystem_obj::sys_read_dir(path); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileSystem_obj,readDirectory,return ) - -Dynamic FileSystem_obj::sys_exists; - -Dynamic FileSystem_obj::file_delete; - -Dynamic FileSystem_obj::sys_rename; - -Dynamic FileSystem_obj::sys_stat; - -Dynamic FileSystem_obj::sys_file_type; - -Dynamic FileSystem_obj::sys_create_dir; - -Dynamic FileSystem_obj::sys_remove_dir; - -Dynamic FileSystem_obj::sys_read_dir; - -Dynamic FileSystem_obj::file_full_path; - - -FileSystem_obj::FileSystem_obj() -{ -} - -void FileSystem_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(FileSystem); - HX_MARK_END_CLASS(); -} - -void FileSystem_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic FileSystem_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"stat") ) { return stat_dyn(); } - if (HX_FIELD_EQ(inName,"kind") ) { return kind_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"exists") ) { return exists_dyn(); } - if (HX_FIELD_EQ(inName,"rename") ) { return rename_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"fullPath") ) { return fullPath_dyn(); } - if (HX_FIELD_EQ(inName,"sys_stat") ) { return sys_stat; } - break; - case 10: - if (HX_FIELD_EQ(inName,"deleteFile") ) { return deleteFile_dyn(); } - if (HX_FIELD_EQ(inName,"sys_exists") ) { return sys_exists; } - if (HX_FIELD_EQ(inName,"sys_rename") ) { return sys_rename; } - break; - case 11: - if (HX_FIELD_EQ(inName,"isDirectory") ) { return isDirectory_dyn(); } - if (HX_FIELD_EQ(inName,"file_delete") ) { return file_delete; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sys_read_dir") ) { return sys_read_dir; } - break; - case 13: - if (HX_FIELD_EQ(inName,"readDirectory") ) { return readDirectory_dyn(); } - if (HX_FIELD_EQ(inName,"sys_file_type") ) { return sys_file_type; } - break; - case 14: - if (HX_FIELD_EQ(inName,"sys_create_dir") ) { return sys_create_dir; } - if (HX_FIELD_EQ(inName,"sys_remove_dir") ) { return sys_remove_dir; } - if (HX_FIELD_EQ(inName,"file_full_path") ) { return file_full_path; } - break; - case 15: - if (HX_FIELD_EQ(inName,"createDirectory") ) { return createDirectory_dyn(); } - if (HX_FIELD_EQ(inName,"deleteDirectory") ) { return deleteDirectory_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic FileSystem_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 8: - if (HX_FIELD_EQ(inName,"sys_stat") ) { sys_stat=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"sys_exists") ) { sys_exists=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"sys_rename") ) { sys_rename=inValue.Cast< Dynamic >(); return inValue; } - break; - case 11: - if (HX_FIELD_EQ(inName,"file_delete") ) { file_delete=inValue.Cast< Dynamic >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"sys_read_dir") ) { sys_read_dir=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"sys_file_type") ) { sys_file_type=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"sys_create_dir") ) { sys_create_dir=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"sys_remove_dir") ) { sys_remove_dir=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_full_path") ) { file_full_path=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void FileSystem_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("exists"), - HX_CSTRING("rename"), - HX_CSTRING("stat"), - HX_CSTRING("fullPath"), - HX_CSTRING("kind"), - HX_CSTRING("isDirectory"), - HX_CSTRING("createDirectory"), - HX_CSTRING("deleteFile"), - HX_CSTRING("deleteDirectory"), - HX_CSTRING("readDirectory"), - HX_CSTRING("sys_exists"), - HX_CSTRING("file_delete"), - HX_CSTRING("sys_rename"), - HX_CSTRING("sys_stat"), - HX_CSTRING("sys_file_type"), - HX_CSTRING("sys_create_dir"), - HX_CSTRING("sys_remove_dir"), - HX_CSTRING("sys_read_dir"), - HX_CSTRING("file_full_path"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FileSystem_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_exists,"sys_exists"); - HX_MARK_MEMBER_NAME(FileSystem_obj::file_delete,"file_delete"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_rename,"sys_rename"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_stat,"sys_stat"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_file_type,"sys_file_type"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_create_dir,"sys_create_dir"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_remove_dir,"sys_remove_dir"); - HX_MARK_MEMBER_NAME(FileSystem_obj::sys_read_dir,"sys_read_dir"); - HX_MARK_MEMBER_NAME(FileSystem_obj::file_full_path,"file_full_path"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FileSystem_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_exists,"sys_exists"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::file_delete,"file_delete"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_rename,"sys_rename"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_stat,"sys_stat"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_file_type,"sys_file_type"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_create_dir,"sys_create_dir"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_remove_dir,"sys_remove_dir"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::sys_read_dir,"sys_read_dir"); - HX_VISIT_MEMBER_NAME(FileSystem_obj::file_full_path,"file_full_path"); -}; - -Class FileSystem_obj::__mClass; - -void FileSystem_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.FileSystem"), hx::TCanCast< FileSystem_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void FileSystem_obj::__boot() -{ - sys_exists= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_exists"),(int)1); - file_delete= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_delete"),(int)1); - sys_rename= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_rename"),(int)2); - sys_stat= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_stat"),(int)1); - sys_file_type= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_file_type"),(int)1); - sys_create_dir= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_create_dir"),(int)2); - sys_remove_dir= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_remove_dir"),(int)1); - sys_read_dir= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("sys_read_dir"),(int)1); - file_full_path= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_full_path"),(int)1); -} - -} // end namespace sys diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/_FileSystem/FileKind.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/_FileSystem/FileKind.cpp deleted file mode 100644 index f5fd6c7..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/_FileSystem/FileKind.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_sys__FileSystem_FileKind -#include -#endif -namespace sys{ -namespace _FileSystem{ - -::sys::_FileSystem::FileKind FileKind_obj::kdir; - -::sys::_FileSystem::FileKind FileKind_obj::kfile; - -::sys::_FileSystem::FileKind FileKind_obj::kother(::String k) - { return hx::CreateEnum< FileKind_obj >(HX_CSTRING("kother"),2,hx::DynamicArray(0,1).Add(k)); } - -HX_DEFINE_CREATE_ENUM(FileKind_obj) - -int FileKind_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("kdir")) return 0; - if (inName==HX_CSTRING("kfile")) return 1; - if (inName==HX_CSTRING("kother")) return 2; - return super::__FindIndex(inName); -} - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(FileKind_obj,kother,return) - -int FileKind_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("kdir")) return 0; - if (inName==HX_CSTRING("kfile")) return 0; - if (inName==HX_CSTRING("kother")) return 1; - return super::__FindArgCount(inName); -} - -Dynamic FileKind_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("kdir")) return kdir; - if (inName==HX_CSTRING("kfile")) return kfile; - if (inName==HX_CSTRING("kother")) return kother_dyn(); - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("kdir"), - HX_CSTRING("kfile"), - HX_CSTRING("kother"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FileKind_obj::kdir,"kdir"); - HX_MARK_MEMBER_NAME(FileKind_obj::kfile,"kfile"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FileKind_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FileKind_obj::kdir,"kdir"); - HX_VISIT_MEMBER_NAME(FileKind_obj::kfile,"kfile"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class FileKind_obj::__mClass; - -Dynamic __Create_FileKind_obj() { return new FileKind_obj; } - -void FileKind_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys._FileSystem.FileKind"), hx::TCanCast< FileKind_obj >,sStaticFields,sMemberFields, - &__Create_FileKind_obj, &__Create, - &super::__SGetClass(), &CreateFileKind_obj, sMarkStatics, sVisitStatic); -} - -void FileKind_obj::__boot() -{ -Static(kdir) = hx::CreateEnum< FileKind_obj >(HX_CSTRING("kdir"),0); -Static(kfile) = hx::CreateEnum< FileKind_obj >(HX_CSTRING("kfile"),1); -} - - -} // end namespace sys -} // end namespace _FileSystem diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/File.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/File.cpp deleted file mode 100644 index c8dce27..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/File.cpp +++ /dev/null @@ -1,281 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -#ifndef INCLUDED_haxe_io_Output -#include -#endif -#ifndef INCLUDED_sys_io_File -#include -#endif -#ifndef INCLUDED_sys_io_FileInput -#include -#endif -#ifndef INCLUDED_sys_io_FileOutput -#include -#endif -namespace sys{ -namespace io{ - -Void File_obj::__construct() -{ - return null(); -} - -File_obj::~File_obj() { } - -Dynamic File_obj::__CreateEmpty() { return new File_obj; } -hx::ObjectPtr< File_obj > File_obj::__new() -{ hx::ObjectPtr< File_obj > result = new File_obj(); - result->__construct(); - return result;} - -Dynamic File_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< File_obj > result = new File_obj(); - result->__construct(); - return result;} - -::String File_obj::getContent( ::String path){ - HX_STACK_PUSH("File::getContent","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",30); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(31) - ::haxe::io::Bytes b = ::sys::io::File_obj::getBytes(path); HX_STACK_VAR(b,"b"); - HX_STACK_LINE(32) - return b->toString(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(File_obj,getContent,return ) - -::haxe::io::Bytes File_obj::getBytes( ::String path){ - HX_STACK_PUSH("File::getBytes","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",35); - HX_STACK_ARG(path,"path"); - HX_STACK_LINE(36) - Array< unsigned char > data = ::sys::io::File_obj::file_contents(path); HX_STACK_VAR(data,"data"); - HX_STACK_LINE(37) - return ::haxe::io::Bytes_obj::ofData(data); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC1(File_obj,getBytes,return ) - -Void File_obj::saveContent( ::String path,::String content){ -{ - HX_STACK_PUSH("File::saveContent","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",40); - HX_STACK_ARG(path,"path"); - HX_STACK_ARG(content,"content"); - HX_STACK_LINE(41) - ::sys::io::FileOutput f = ::sys::io::File_obj::write(path,null()); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(42) - f->writeString(content); - HX_STACK_LINE(43) - f->close(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(File_obj,saveContent,(void)) - -Void File_obj::saveBytes( ::String path,::haxe::io::Bytes bytes){ -{ - HX_STACK_PUSH("File::saveBytes","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",46); - HX_STACK_ARG(path,"path"); - HX_STACK_ARG(bytes,"bytes"); - HX_STACK_LINE(47) - ::sys::io::FileOutput f = ::sys::io::File_obj::write(path,null()); HX_STACK_VAR(f,"f"); - HX_STACK_LINE(48) - f->write(bytes); - HX_STACK_LINE(49) - f->close(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(File_obj,saveBytes,(void)) - -::sys::io::FileInput File_obj::read( ::String path,hx::Null< bool > __o_binary){ -bool binary = __o_binary.Default(true); - HX_STACK_PUSH("File::read","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",52); - HX_STACK_ARG(path,"path"); - HX_STACK_ARG(binary,"binary"); -{ - HX_STACK_LINE(52) - return ::sys::io::FileInput_obj::__new(::sys::io::File_obj::file_open(path,( ((binary)) ? ::String(HX_CSTRING("rb")) : ::String(HX_CSTRING("r")) ))); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(File_obj,read,return ) - -::sys::io::FileOutput File_obj::write( ::String path,hx::Null< bool > __o_binary){ -bool binary = __o_binary.Default(true); - HX_STACK_PUSH("File::write","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",56); - HX_STACK_ARG(path,"path"); - HX_STACK_ARG(binary,"binary"); -{ - HX_STACK_LINE(56) - return ::sys::io::FileOutput_obj::__new(::sys::io::File_obj::file_open(path,( ((binary)) ? ::String(HX_CSTRING("wb")) : ::String(HX_CSTRING("w")) ))); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(File_obj,write,return ) - -::sys::io::FileOutput File_obj::append( ::String path,hx::Null< bool > __o_binary){ -bool binary = __o_binary.Default(true); - HX_STACK_PUSH("File::append","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",60); - HX_STACK_ARG(path,"path"); - HX_STACK_ARG(binary,"binary"); -{ - HX_STACK_LINE(60) - return ::sys::io::FileOutput_obj::__new(::sys::io::File_obj::file_open(path,( ((binary)) ? ::String(HX_CSTRING("ab")) : ::String(HX_CSTRING("a")) ))); - } -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(File_obj,append,return ) - -Void File_obj::copy( ::String src,::String dst){ -{ - HX_STACK_PUSH("File::copy","/usr/lib/haxe/std/cpp/_std/sys/io/File.hx",64); - HX_STACK_ARG(src,"src"); - HX_STACK_ARG(dst,"dst"); - HX_STACK_LINE(65) - ::sys::io::FileInput s = ::sys::io::File_obj::read(src,true); HX_STACK_VAR(s,"s"); - HX_STACK_LINE(66) - ::sys::io::FileOutput d = ::sys::io::File_obj::write(dst,true); HX_STACK_VAR(d,"d"); - HX_STACK_LINE(67) - d->writeInput(s,null()); - HX_STACK_LINE(68) - s->close(); - HX_STACK_LINE(69) - d->close(); - } -return null(); -} - - -STATIC_HX_DEFINE_DYNAMIC_FUNC2(File_obj,copy,(void)) - -Dynamic File_obj::file_contents; - -Dynamic File_obj::file_open; - - -File_obj::File_obj() -{ -} - -void File_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(File); - HX_MARK_END_CLASS(); -} - -void File_obj::__Visit(HX_VISIT_PARAMS) -{ -} - -Dynamic File_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 4: - if (HX_FIELD_EQ(inName,"read") ) { return read_dyn(); } - if (HX_FIELD_EQ(inName,"copy") ) { return copy_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"write") ) { return write_dyn(); } - break; - case 6: - if (HX_FIELD_EQ(inName,"append") ) { return append_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"getBytes") ) { return getBytes_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"saveBytes") ) { return saveBytes_dyn(); } - if (HX_FIELD_EQ(inName,"file_open") ) { return file_open; } - break; - case 10: - if (HX_FIELD_EQ(inName,"getContent") ) { return getContent_dyn(); } - break; - case 11: - if (HX_FIELD_EQ(inName,"saveContent") ) { return saveContent_dyn(); } - break; - case 13: - if (HX_FIELD_EQ(inName,"file_contents") ) { return file_contents; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic File_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 9: - if (HX_FIELD_EQ(inName,"file_open") ) { file_open=inValue.Cast< Dynamic >(); return inValue; } - break; - case 13: - if (HX_FIELD_EQ(inName,"file_contents") ) { file_contents=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void File_obj::__GetFields(Array< ::String> &outFields) -{ - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("getContent"), - HX_CSTRING("getBytes"), - HX_CSTRING("saveContent"), - HX_CSTRING("saveBytes"), - HX_CSTRING("read"), - HX_CSTRING("write"), - HX_CSTRING("append"), - HX_CSTRING("copy"), - HX_CSTRING("file_contents"), - HX_CSTRING("file_open"), - String(null()) }; - -static ::String sMemberFields[] = { - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(File_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(File_obj::file_contents,"file_contents"); - HX_MARK_MEMBER_NAME(File_obj::file_open,"file_open"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(File_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(File_obj::file_contents,"file_contents"); - HX_VISIT_MEMBER_NAME(File_obj::file_open,"file_open"); -}; - -Class File_obj::__mClass; - -void File_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io.File"), hx::TCanCast< File_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void File_obj::__boot() -{ - file_contents= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_contents"),(int)1); - file_open= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_open"),(int)2); -} - -} // end namespace sys -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/FileInput.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/FileInput.cpp deleted file mode 100644 index 41f0aee..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/FileInput.cpp +++ /dev/null @@ -1,312 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Eof -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -#ifndef INCLUDED_sys_io_FileInput -#include -#endif -#ifndef INCLUDED_sys_io_FileSeek -#include -#endif -namespace sys{ -namespace io{ - -Void FileInput_obj::__construct(Dynamic f) -{ -HX_STACK_PUSH("FileInput::new","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",33); -{ - HX_STACK_LINE(33) - this->__f = f; -} -; - return null(); -} - -FileInput_obj::~FileInput_obj() { } - -Dynamic FileInput_obj::__CreateEmpty() { return new FileInput_obj; } -hx::ObjectPtr< FileInput_obj > FileInput_obj::__new(Dynamic f) -{ hx::ObjectPtr< FileInput_obj > result = new FileInput_obj(); - result->__construct(f); - return result;} - -Dynamic FileInput_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< FileInput_obj > result = new FileInput_obj(); - result->__construct(inArgs[0]); - return result;} - -bool FileInput_obj::eof( ){ - HX_STACK_PUSH("FileInput::eof","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",73); - HX_STACK_THIS(this); - HX_STACK_LINE(73) - return ::sys::io::FileInput_obj::file_eof(this->__f); -} - - -HX_DEFINE_DYNAMIC_FUNC0(FileInput_obj,eof,return ) - -int FileInput_obj::tell( ){ - HX_STACK_PUSH("FileInput::tell","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",68); - HX_STACK_THIS(this); - HX_STACK_LINE(68) - return ::sys::io::FileInput_obj::file_tell(this->__f); -} - - -HX_DEFINE_DYNAMIC_FUNC0(FileInput_obj,tell,return ) - -Void FileInput_obj::seek( int p,::sys::io::FileSeek pos){ -{ - HX_STACK_PUSH("FileInput::seek","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",64); - HX_STACK_THIS(this); - HX_STACK_ARG(p,"p"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(64) - ::sys::io::FileInput_obj::file_seek(this->__f,p,( (((pos == ::sys::io::FileSeek_obj::SeekBegin_dyn()))) ? int((int)0) : int(( (((pos == ::sys::io::FileSeek_obj::SeekCur_dyn()))) ? int((int)1) : int((int)2) )) )); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(FileInput_obj,seek,(void)) - -Void FileInput_obj::close( ){ -{ - HX_STACK_PUSH("FileInput::close","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",59); - HX_STACK_THIS(this); - HX_STACK_LINE(60) - this->super::close(); - HX_STACK_LINE(61) - ::sys::io::FileInput_obj::file_close(this->__f); - } -return null(); -} - - -int FileInput_obj::readBytes( ::haxe::io::Bytes s,int p,int l){ - HX_STACK_PUSH("FileInput::readBytes","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",48); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(p,"p"); - HX_STACK_ARG(l,"l"); - struct _Function_1_1{ - inline static int Block( ::sys::io::FileInput_obj *__this,::haxe::io::Bytes &s,int &p,int &l){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",49); - { - HX_STACK_LINE(49) - try{ - HX_STACK_LINE(49) - return ::sys::io::FileInput_obj::file_read(__this->__f,s->b,p,l); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(51) - return ( ((e->__IsArray())) ? int(hx::Throw (::haxe::io::Eof_obj::__new())) : int(hx::Throw (::haxe::io::Error_obj::Custom(e))) ); - } - } - } - } - return null(); - } - }; - HX_STACK_LINE(48) - return _Function_1_1::Block(this,s,p,l); -} - - -int FileInput_obj::readByte( ){ - HX_STACK_PUSH("FileInput::readByte","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",37); - HX_STACK_THIS(this); - struct _Function_1_1{ - inline static int Block( ::sys::io::FileInput_obj *__this){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/sys/io/FileInput.hx",38); - { - HX_STACK_LINE(38) - try{ - HX_STACK_LINE(38) - return ::sys::io::FileInput_obj::file_read_char(__this->__f); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(40) - return ( ((e->__IsArray())) ? int(hx::Throw (::haxe::io::Eof_obj::__new())) : int(hx::Throw (::haxe::io::Error_obj::Custom(e))) ); - } - } - } - } - return null(); - } - }; - HX_STACK_LINE(37) - return _Function_1_1::Block(this); -} - - -Dynamic FileInput_obj::file_eof; - -Dynamic FileInput_obj::file_read; - -Dynamic FileInput_obj::file_read_char; - -Dynamic FileInput_obj::file_close; - -Dynamic FileInput_obj::file_seek; - -Dynamic FileInput_obj::file_tell; - - -FileInput_obj::FileInput_obj() -{ -} - -void FileInput_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(FileInput); - HX_MARK_MEMBER_NAME(__f,"__f"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void FileInput_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(__f,"__f"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic FileInput_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"eof") ) { return eof_dyn(); } - if (HX_FIELD_EQ(inName,"__f") ) { return __f; } - break; - case 4: - if (HX_FIELD_EQ(inName,"tell") ) { return tell_dyn(); } - if (HX_FIELD_EQ(inName,"seek") ) { return seek_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 8: - if (HX_FIELD_EQ(inName,"file_eof") ) { return file_eof; } - if (HX_FIELD_EQ(inName,"readByte") ) { return readByte_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"file_read") ) { return file_read; } - if (HX_FIELD_EQ(inName,"file_seek") ) { return file_seek; } - if (HX_FIELD_EQ(inName,"file_tell") ) { return file_tell; } - if (HX_FIELD_EQ(inName,"readBytes") ) { return readBytes_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"file_close") ) { return file_close; } - break; - case 14: - if (HX_FIELD_EQ(inName,"file_read_char") ) { return file_read_char; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic FileInput_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__f") ) { __f=inValue.Cast< Dynamic >(); return inValue; } - break; - case 8: - if (HX_FIELD_EQ(inName,"file_eof") ) { file_eof=inValue.Cast< Dynamic >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"file_read") ) { file_read=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_seek") ) { file_seek=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_tell") ) { file_tell=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"file_close") ) { file_close=inValue.Cast< Dynamic >(); return inValue; } - break; - case 14: - if (HX_FIELD_EQ(inName,"file_read_char") ) { file_read_char=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void FileInput_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__f")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("file_eof"), - HX_CSTRING("file_read"), - HX_CSTRING("file_read_char"), - HX_CSTRING("file_close"), - HX_CSTRING("file_seek"), - HX_CSTRING("file_tell"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("eof"), - HX_CSTRING("tell"), - HX_CSTRING("seek"), - HX_CSTRING("close"), - HX_CSTRING("readBytes"), - HX_CSTRING("readByte"), - HX_CSTRING("__f"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FileInput_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(FileInput_obj::file_eof,"file_eof"); - HX_MARK_MEMBER_NAME(FileInput_obj::file_read,"file_read"); - HX_MARK_MEMBER_NAME(FileInput_obj::file_read_char,"file_read_char"); - HX_MARK_MEMBER_NAME(FileInput_obj::file_close,"file_close"); - HX_MARK_MEMBER_NAME(FileInput_obj::file_seek,"file_seek"); - HX_MARK_MEMBER_NAME(FileInput_obj::file_tell,"file_tell"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FileInput_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FileInput_obj::file_eof,"file_eof"); - HX_VISIT_MEMBER_NAME(FileInput_obj::file_read,"file_read"); - HX_VISIT_MEMBER_NAME(FileInput_obj::file_read_char,"file_read_char"); - HX_VISIT_MEMBER_NAME(FileInput_obj::file_close,"file_close"); - HX_VISIT_MEMBER_NAME(FileInput_obj::file_seek,"file_seek"); - HX_VISIT_MEMBER_NAME(FileInput_obj::file_tell,"file_tell"); -}; - -Class FileInput_obj::__mClass; - -void FileInput_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io.FileInput"), hx::TCanCast< FileInput_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void FileInput_obj::__boot() -{ - file_eof= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_eof"),(int)1); - file_read= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_read"),(int)4); - file_read_char= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_read_char"),(int)1); - file_close= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_close"),(int)1); - file_seek= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_seek"),(int)3); - file_tell= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_tell"),(int)1); -} - -} // end namespace sys -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/FileOutput.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/FileOutput.cpp deleted file mode 100644 index cdfd958..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/FileOutput.cpp +++ /dev/null @@ -1,300 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -#ifndef INCLUDED_haxe_io_Output -#include -#endif -#ifndef INCLUDED_sys_io_FileOutput -#include -#endif -#ifndef INCLUDED_sys_io_FileSeek -#include -#endif -namespace sys{ -namespace io{ - -Void FileOutput_obj::__construct(Dynamic f) -{ -HX_STACK_PUSH("FileOutput::new","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",33); -{ - HX_STACK_LINE(33) - this->__f = f; -} -; - return null(); -} - -FileOutput_obj::~FileOutput_obj() { } - -Dynamic FileOutput_obj::__CreateEmpty() { return new FileOutput_obj; } -hx::ObjectPtr< FileOutput_obj > FileOutput_obj::__new(Dynamic f) -{ hx::ObjectPtr< FileOutput_obj > result = new FileOutput_obj(); - result->__construct(f); - return result;} - -Dynamic FileOutput_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< FileOutput_obj > result = new FileOutput_obj(); - result->__construct(inArgs[0]); - return result;} - -int FileOutput_obj::tell( ){ - HX_STACK_PUSH("FileOutput::tell","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",58); - HX_STACK_THIS(this); - HX_STACK_LINE(58) - return ::sys::io::FileOutput_obj::file_tell(this->__f); -} - - -HX_DEFINE_DYNAMIC_FUNC0(FileOutput_obj,tell,return ) - -Void FileOutput_obj::seek( int p,::sys::io::FileSeek pos){ -{ - HX_STACK_PUSH("FileOutput::seek","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",54); - HX_STACK_THIS(this); - HX_STACK_ARG(p,"p"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_LINE(54) - ::sys::io::FileOutput_obj::file_seek(this->__f,p,( (((pos == ::sys::io::FileSeek_obj::SeekBegin_dyn()))) ? int((int)0) : int(( (((pos == ::sys::io::FileSeek_obj::SeekCur_dyn()))) ? int((int)1) : int((int)2) )) )); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC2(FileOutput_obj,seek,(void)) - -Void FileOutput_obj::close( ){ -{ - HX_STACK_PUSH("FileOutput::close","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",49); - HX_STACK_THIS(this); - HX_STACK_LINE(50) - this->super::close(); - HX_STACK_LINE(51) - ::sys::io::FileOutput_obj::file_close(this->__f); - } -return null(); -} - - -Void FileOutput_obj::flush( ){ -{ - HX_STACK_PUSH("FileOutput::flush","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",45); - HX_STACK_THIS(this); - HX_STACK_LINE(45) - ::sys::io::FileOutput_obj::file_flush(this->__f); - } -return null(); -} - - -int FileOutput_obj::writeBytes( ::haxe::io::Bytes s,int p,int l){ - HX_STACK_PUSH("FileOutput::writeBytes","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",41); - HX_STACK_THIS(this); - HX_STACK_ARG(s,"s"); - HX_STACK_ARG(p,"p"); - HX_STACK_ARG(l,"l"); - struct _Function_1_1{ - inline static int Block( ::sys::io::FileOutput_obj *__this,::haxe::io::Bytes &s,int &p,int &l){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",42); - { - HX_STACK_LINE(42) - try{ - HX_STACK_LINE(42) - return ::sys::io::FileOutput_obj::file_write(__this->__f,s->b,p,l); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(42) - return hx::Throw (::haxe::io::Error_obj::Custom(e)); - } - } - } - } - return null(); - } - }; - HX_STACK_LINE(41) - return _Function_1_1::Block(this,s,p,l); -} - - -Void FileOutput_obj::writeByte( int c){ -{ - HX_STACK_PUSH("FileOutput::writeByte","/usr/lib/haxe/std/cpp/_std/sys/io/FileOutput.hx",37); - HX_STACK_THIS(this); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(37) - try{ - HX_STACK_LINE(38) - ::sys::io::FileOutput_obj::file_write_char(this->__f,c); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(38) - hx::Throw (::haxe::io::Error_obj::Custom(e)); - } - } - } - } -return null(); -} - - -Dynamic FileOutput_obj::file_close; - -Dynamic FileOutput_obj::file_seek; - -Dynamic FileOutput_obj::file_tell; - -Dynamic FileOutput_obj::file_flush; - -Dynamic FileOutput_obj::file_write; - -Dynamic FileOutput_obj::file_write_char; - - -FileOutput_obj::FileOutput_obj() -{ -} - -void FileOutput_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(FileOutput); - HX_MARK_MEMBER_NAME(__f,"__f"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void FileOutput_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(__f,"__f"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic FileOutput_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__f") ) { return __f; } - break; - case 4: - if (HX_FIELD_EQ(inName,"tell") ) { return tell_dyn(); } - if (HX_FIELD_EQ(inName,"seek") ) { return seek_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"flush") ) { return flush_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"file_seek") ) { return file_seek; } - if (HX_FIELD_EQ(inName,"file_tell") ) { return file_tell; } - if (HX_FIELD_EQ(inName,"writeByte") ) { return writeByte_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"file_close") ) { return file_close; } - if (HX_FIELD_EQ(inName,"file_flush") ) { return file_flush; } - if (HX_FIELD_EQ(inName,"file_write") ) { return file_write; } - if (HX_FIELD_EQ(inName,"writeBytes") ) { return writeBytes_dyn(); } - break; - case 15: - if (HX_FIELD_EQ(inName,"file_write_char") ) { return file_write_char; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic FileOutput_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 3: - if (HX_FIELD_EQ(inName,"__f") ) { __f=inValue.Cast< Dynamic >(); return inValue; } - break; - case 9: - if (HX_FIELD_EQ(inName,"file_seek") ) { file_seek=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_tell") ) { file_tell=inValue.Cast< Dynamic >(); return inValue; } - break; - case 10: - if (HX_FIELD_EQ(inName,"file_close") ) { file_close=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_flush") ) { file_flush=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"file_write") ) { file_write=inValue.Cast< Dynamic >(); return inValue; } - break; - case 15: - if (HX_FIELD_EQ(inName,"file_write_char") ) { file_write_char=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void FileOutput_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("__f")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("file_close"), - HX_CSTRING("file_seek"), - HX_CSTRING("file_tell"), - HX_CSTRING("file_flush"), - HX_CSTRING("file_write"), - HX_CSTRING("file_write_char"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("tell"), - HX_CSTRING("seek"), - HX_CSTRING("close"), - HX_CSTRING("flush"), - HX_CSTRING("writeBytes"), - HX_CSTRING("writeByte"), - HX_CSTRING("__f"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FileOutput_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(FileOutput_obj::file_close,"file_close"); - HX_MARK_MEMBER_NAME(FileOutput_obj::file_seek,"file_seek"); - HX_MARK_MEMBER_NAME(FileOutput_obj::file_tell,"file_tell"); - HX_MARK_MEMBER_NAME(FileOutput_obj::file_flush,"file_flush"); - HX_MARK_MEMBER_NAME(FileOutput_obj::file_write,"file_write"); - HX_MARK_MEMBER_NAME(FileOutput_obj::file_write_char,"file_write_char"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FileOutput_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FileOutput_obj::file_close,"file_close"); - HX_VISIT_MEMBER_NAME(FileOutput_obj::file_seek,"file_seek"); - HX_VISIT_MEMBER_NAME(FileOutput_obj::file_tell,"file_tell"); - HX_VISIT_MEMBER_NAME(FileOutput_obj::file_flush,"file_flush"); - HX_VISIT_MEMBER_NAME(FileOutput_obj::file_write,"file_write"); - HX_VISIT_MEMBER_NAME(FileOutput_obj::file_write_char,"file_write_char"); -}; - -Class FileOutput_obj::__mClass; - -void FileOutput_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io.FileOutput"), hx::TCanCast< FileOutput_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void FileOutput_obj::__boot() -{ - file_close= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_close"),(int)1); - file_seek= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_seek"),(int)3); - file_tell= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_tell"),(int)1); - file_flush= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_flush"),(int)1); - file_write= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_write"),(int)4); - file_write_char= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("file_write_char"),(int)2); -} - -} // end namespace sys -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/FileSeek.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/FileSeek.cpp deleted file mode 100644 index 4719ccd..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/FileSeek.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include - -#ifndef INCLUDED_sys_io_FileSeek -#include -#endif -namespace sys{ -namespace io{ - -::sys::io::FileSeek FileSeek_obj::SeekBegin; - -::sys::io::FileSeek FileSeek_obj::SeekCur; - -::sys::io::FileSeek FileSeek_obj::SeekEnd; - -HX_DEFINE_CREATE_ENUM(FileSeek_obj) - -int FileSeek_obj::__FindIndex(::String inName) -{ - if (inName==HX_CSTRING("SeekBegin")) return 0; - if (inName==HX_CSTRING("SeekCur")) return 1; - if (inName==HX_CSTRING("SeekEnd")) return 2; - return super::__FindIndex(inName); -} - -int FileSeek_obj::__FindArgCount(::String inName) -{ - if (inName==HX_CSTRING("SeekBegin")) return 0; - if (inName==HX_CSTRING("SeekCur")) return 0; - if (inName==HX_CSTRING("SeekEnd")) return 0; - return super::__FindArgCount(inName); -} - -Dynamic FileSeek_obj::__Field(const ::String &inName,bool inCallProp) -{ - if (inName==HX_CSTRING("SeekBegin")) return SeekBegin; - if (inName==HX_CSTRING("SeekCur")) return SeekCur; - if (inName==HX_CSTRING("SeekEnd")) return SeekEnd; - return super::__Field(inName,inCallProp); -} - -static ::String sStaticFields[] = { - HX_CSTRING("SeekBegin"), - HX_CSTRING("SeekCur"), - HX_CSTRING("SeekEnd"), - ::String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(FileSeek_obj::SeekBegin,"SeekBegin"); - HX_MARK_MEMBER_NAME(FileSeek_obj::SeekCur,"SeekCur"); - HX_MARK_MEMBER_NAME(FileSeek_obj::SeekEnd,"SeekEnd"); -}; - -static void sVisitStatic(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(FileSeek_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(FileSeek_obj::SeekBegin,"SeekBegin"); - HX_VISIT_MEMBER_NAME(FileSeek_obj::SeekCur,"SeekCur"); - HX_VISIT_MEMBER_NAME(FileSeek_obj::SeekEnd,"SeekEnd"); -}; - -static ::String sMemberFields[] = { ::String(null()) }; -Class FileSeek_obj::__mClass; - -Dynamic __Create_FileSeek_obj() { return new FileSeek_obj; } - -void FileSeek_obj::__register() -{ - -Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io.FileSeek"), hx::TCanCast< FileSeek_obj >,sStaticFields,sMemberFields, - &__Create_FileSeek_obj, &__Create, - &super::__SGetClass(), &CreateFileSeek_obj, sMarkStatics, sVisitStatic); -} - -void FileSeek_obj::__boot() -{ -Static(SeekBegin) = hx::CreateEnum< FileSeek_obj >(HX_CSTRING("SeekBegin"),0); -Static(SeekCur) = hx::CreateEnum< FileSeek_obj >(HX_CSTRING("SeekCur"),1); -Static(SeekEnd) = hx::CreateEnum< FileSeek_obj >(HX_CSTRING("SeekEnd"),2); -} - - -} // end namespace sys -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/Process.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/Process.cpp deleted file mode 100644 index 99dbbd5..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/Process.cpp +++ /dev/null @@ -1,263 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -#ifndef INCLUDED_haxe_io_Output -#include -#endif -#ifndef INCLUDED_sys_io_Process -#include -#endif -#ifndef INCLUDED_sys_io__Process_Stdin -#include -#endif -#ifndef INCLUDED_sys_io__Process_Stdout -#include -#endif -namespace sys{ -namespace io{ - -Void Process_obj::__construct(::String cmd,Array< ::String > args) -{ -HX_STACK_PUSH("Process::new","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",103); -{ - struct _Function_1_1{ - inline static Dynamic Block( ::String &cmd,Array< ::String > &args){ - HX_STACK_PUSH("*::closure","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",104); - { - HX_STACK_LINE(104) - try{ - HX_STACK_LINE(104) - return ::sys::io::Process_obj::_run(cmd,args); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(104) - return hx::Throw ((HX_CSTRING("Process creation failure : ") + cmd)); - } - } - } - } - return null(); - } - }; - HX_STACK_LINE(104) - this->p = _Function_1_1::Block(cmd,args); - HX_STACK_LINE(105) - this->_stdin = ::sys::io::_Process::Stdin_obj::__new(this->p); - HX_STACK_LINE(106) - this->_stdout = ::sys::io::_Process::Stdout_obj::__new(this->p,true); - HX_STACK_LINE(107) - this->_stderr = ::sys::io::_Process::Stdout_obj::__new(this->p,false); -} -; - return null(); -} - -Process_obj::~Process_obj() { } - -Dynamic Process_obj::__CreateEmpty() { return new Process_obj; } -hx::ObjectPtr< Process_obj > Process_obj::__new(::String cmd,Array< ::String > args) -{ hx::ObjectPtr< Process_obj > result = new Process_obj(); - result->__construct(cmd,args); - return result;} - -Dynamic Process_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Process_obj > result = new Process_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -Void Process_obj::kill( ){ -{ - HX_STACK_PUSH("Process::kill","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",122); - HX_STACK_THIS(this); - HX_STACK_LINE(122) - hx::Throw (HX_CSTRING("Not implemented")); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Process_obj,kill,(void)) - -Void Process_obj::close( ){ -{ - HX_STACK_PUSH("Process::close","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",118); - HX_STACK_THIS(this); - HX_STACK_LINE(118) - ::sys::io::Process_obj::_close(this->p); - } -return null(); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Process_obj,close,(void)) - -int Process_obj::exitCode( ){ - HX_STACK_PUSH("Process::exitCode","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",114); - HX_STACK_THIS(this); - HX_STACK_LINE(114) - return ::sys::io::Process_obj::_exit(this->p); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Process_obj,exitCode,return ) - -int Process_obj::getPid( ){ - HX_STACK_PUSH("Process::getPid","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",110); - HX_STACK_THIS(this); - HX_STACK_LINE(110) - return ::sys::io::Process_obj::_pid(this->p); -} - - -HX_DEFINE_DYNAMIC_FUNC0(Process_obj,getPid,return ) - -Dynamic Process_obj::_run; - -Dynamic Process_obj::_exit; - -Dynamic Process_obj::_pid; - -Dynamic Process_obj::_close; - - -Process_obj::Process_obj() -{ -} - -void Process_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Process); - HX_MARK_MEMBER_NAME(_stdin,"stdin"); - HX_MARK_MEMBER_NAME(_stderr,"stderr"); - HX_MARK_MEMBER_NAME(_stdout,"stdout"); - HX_MARK_MEMBER_NAME(p,"p"); - HX_MARK_END_CLASS(); -} - -void Process_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(_stdin,"stdin"); - HX_VISIT_MEMBER_NAME(_stderr,"stderr"); - HX_VISIT_MEMBER_NAME(_stdout,"stdout"); - HX_VISIT_MEMBER_NAME(p,"p"); -} - -Dynamic Process_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"p") ) { return p; } - break; - case 4: - if (HX_FIELD_EQ(inName,"_run") ) { return _run; } - if (HX_FIELD_EQ(inName,"_pid") ) { return _pid; } - if (HX_FIELD_EQ(inName,"kill") ) { return kill_dyn(); } - break; - case 5: - if (HX_FIELD_EQ(inName,"_exit") ) { return _exit; } - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - if (HX_FIELD_EQ(inName,"stdin") ) { return _stdin; } - break; - case 6: - if (HX_FIELD_EQ(inName,"_close") ) { return _close; } - if (HX_FIELD_EQ(inName,"getPid") ) { return getPid_dyn(); } - if (HX_FIELD_EQ(inName,"stderr") ) { return _stderr; } - if (HX_FIELD_EQ(inName,"stdout") ) { return _stdout; } - break; - case 8: - if (HX_FIELD_EQ(inName,"exitCode") ) { return exitCode_dyn(); } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Process_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"p") ) { p=inValue.Cast< Dynamic >(); return inValue; } - break; - case 4: - if (HX_FIELD_EQ(inName,"_run") ) { _run=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"_pid") ) { _pid=inValue.Cast< Dynamic >(); return inValue; } - break; - case 5: - if (HX_FIELD_EQ(inName,"_exit") ) { _exit=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"stdin") ) { _stdin=inValue.Cast< ::haxe::io::Output >(); return inValue; } - break; - case 6: - if (HX_FIELD_EQ(inName,"_close") ) { _close=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"stderr") ) { _stderr=inValue.Cast< ::haxe::io::Input >(); return inValue; } - if (HX_FIELD_EQ(inName,"stdout") ) { _stdout=inValue.Cast< ::haxe::io::Input >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Process_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("stdin")); - outFields->push(HX_CSTRING("stderr")); - outFields->push(HX_CSTRING("stdout")); - outFields->push(HX_CSTRING("p")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("_run"), - HX_CSTRING("_exit"), - HX_CSTRING("_pid"), - HX_CSTRING("_close"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("kill"), - HX_CSTRING("close"), - HX_CSTRING("exitCode"), - HX_CSTRING("getPid"), - HX_CSTRING("stdin"), - HX_CSTRING("stderr"), - HX_CSTRING("stdout"), - HX_CSTRING("p"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Process_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Process_obj::_run,"_run"); - HX_MARK_MEMBER_NAME(Process_obj::_exit,"_exit"); - HX_MARK_MEMBER_NAME(Process_obj::_pid,"_pid"); - HX_MARK_MEMBER_NAME(Process_obj::_close,"_close"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Process_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Process_obj::_run,"_run"); - HX_VISIT_MEMBER_NAME(Process_obj::_exit,"_exit"); - HX_VISIT_MEMBER_NAME(Process_obj::_pid,"_pid"); - HX_VISIT_MEMBER_NAME(Process_obj::_close,"_close"); -}; - -Class Process_obj::__mClass; - -void Process_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io.Process"), hx::TCanCast< Process_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Process_obj::__boot() -{ - _run= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_run"),(int)2); - _exit= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_exit"),(int)1); - _pid= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_pid"),(int)1); - _close= ::cpp::Lib_obj::loadLazy(HX_CSTRING("std"),HX_CSTRING("process_close"),(int)1); -} - -} // end namespace sys -} // end namespace io diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/_Process/Stdin.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/_Process/Stdin.cpp deleted file mode 100644 index 870f3ed..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/_Process/Stdin.cpp +++ /dev/null @@ -1,214 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Eof -#include -#endif -#ifndef INCLUDED_haxe_io_Output -#include -#endif -#ifndef INCLUDED_sys_io__Process_Stdin -#include -#endif -namespace sys{ -namespace io{ -namespace _Process{ - -Void Stdin_obj::__construct(Dynamic p) -{ -HX_STACK_PUSH("Stdin::new","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",32); -{ - HX_STACK_LINE(33) - this->p = p; - HX_STACK_LINE(34) - this->buf = ::haxe::io::Bytes_obj::alloc((int)1); -} -; - return null(); -} - -Stdin_obj::~Stdin_obj() { } - -Dynamic Stdin_obj::__CreateEmpty() { return new Stdin_obj; } -hx::ObjectPtr< Stdin_obj > Stdin_obj::__new(Dynamic p) -{ hx::ObjectPtr< Stdin_obj > result = new Stdin_obj(); - result->__construct(p); - return result;} - -Dynamic Stdin_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Stdin_obj > result = new Stdin_obj(); - result->__construct(inArgs[0]); - return result;} - -int Stdin_obj::writeBytes( ::haxe::io::Bytes buf,int pos,int len){ - HX_STACK_PUSH("Stdin::writeBytes","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",47); - HX_STACK_THIS(this); - HX_STACK_ARG(buf,"buf"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(48) - try{ - HX_STACK_LINE(48) - return ::sys::io::_Process::Stdin_obj::_stdin_write(this->p,buf->b,pos,len); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(50) - hx::Throw (::haxe::io::Eof_obj::__new()); - } - } - } - HX_STACK_LINE(53) - return (int)0; -} - - -Void Stdin_obj::writeByte( int c){ -{ - HX_STACK_PUSH("Stdin::writeByte","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",42); - HX_STACK_THIS(this); - HX_STACK_ARG(c,"c"); - HX_STACK_LINE(43) - this->buf->b[(int)0] = c; - HX_STACK_LINE(44) - this->writeBytes(this->buf,(int)0,(int)1); - } -return null(); -} - - -Void Stdin_obj::close( ){ -{ - HX_STACK_PUSH("Stdin::close","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",37); - HX_STACK_THIS(this); - HX_STACK_LINE(38) - this->super::close(); - HX_STACK_LINE(39) - ::sys::io::_Process::Stdin_obj::_stdin_close(this->p); - } -return null(); -} - - -Dynamic Stdin_obj::_stdin_write; - -Dynamic Stdin_obj::_stdin_close; - - -Stdin_obj::Stdin_obj() -{ -} - -void Stdin_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Stdin); - HX_MARK_MEMBER_NAME(buf,"buf"); - HX_MARK_MEMBER_NAME(p,"p"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Stdin_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(buf,"buf"); - HX_VISIT_MEMBER_NAME(p,"p"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Stdin_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"p") ) { return p; } - break; - case 3: - if (HX_FIELD_EQ(inName,"buf") ) { return buf; } - break; - case 5: - if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"writeByte") ) { return writeByte_dyn(); } - break; - case 10: - if (HX_FIELD_EQ(inName,"writeBytes") ) { return writeBytes_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_stdin_write") ) { return _stdin_write; } - if (HX_FIELD_EQ(inName,"_stdin_close") ) { return _stdin_close; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Stdin_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"p") ) { p=inValue.Cast< Dynamic >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"buf") ) { buf=inValue.Cast< ::haxe::io::Bytes >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_stdin_write") ) { _stdin_write=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"_stdin_close") ) { _stdin_close=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Stdin_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("buf")); - outFields->push(HX_CSTRING("p")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("_stdin_write"), - HX_CSTRING("_stdin_close"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("writeBytes"), - HX_CSTRING("writeByte"), - HX_CSTRING("close"), - HX_CSTRING("buf"), - HX_CSTRING("p"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Stdin_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Stdin_obj::_stdin_write,"_stdin_write"); - HX_MARK_MEMBER_NAME(Stdin_obj::_stdin_close,"_stdin_close"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Stdin_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Stdin_obj::_stdin_write,"_stdin_write"); - HX_VISIT_MEMBER_NAME(Stdin_obj::_stdin_close,"_stdin_close"); -}; - -Class Stdin_obj::__mClass; - -void Stdin_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io._Process.Stdin"), hx::TCanCast< Stdin_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Stdin_obj::__boot() -{ - _stdin_write= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_stdin_write"),(int)4); - _stdin_close= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_stdin_close"),(int)1); -} - -} // end namespace sys -} // end namespace io -} // end namespace _Process diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/_Process/Stdout.cpp b/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/_Process/Stdout.cpp deleted file mode 100644 index 04d5978..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/build/Release-iphonesim/src/sys/io/_Process/Stdout.cpp +++ /dev/null @@ -1,214 +0,0 @@ -#include - -#ifndef INCLUDED_cpp_Lib -#include -#endif -#ifndef INCLUDED_haxe_io_Bytes -#include -#endif -#ifndef INCLUDED_haxe_io_Eof -#include -#endif -#ifndef INCLUDED_haxe_io_Error -#include -#endif -#ifndef INCLUDED_haxe_io_Input -#include -#endif -#ifndef INCLUDED_sys_io__Process_Stdout -#include -#endif -namespace sys{ -namespace io{ -namespace _Process{ - -Void Stdout_obj::__construct(Dynamic p,bool out) -{ -HX_STACK_PUSH("Stdout::new","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",67); -{ - HX_STACK_LINE(68) - this->p = p; - HX_STACK_LINE(69) - this->out = out; - HX_STACK_LINE(70) - this->buf = ::haxe::io::Bytes_obj::alloc((int)1); -} -; - return null(); -} - -Stdout_obj::~Stdout_obj() { } - -Dynamic Stdout_obj::__CreateEmpty() { return new Stdout_obj; } -hx::ObjectPtr< Stdout_obj > Stdout_obj::__new(Dynamic p,bool out) -{ hx::ObjectPtr< Stdout_obj > result = new Stdout_obj(); - result->__construct(p,out); - return result;} - -Dynamic Stdout_obj::__Create(hx::DynamicArray inArgs) -{ hx::ObjectPtr< Stdout_obj > result = new Stdout_obj(); - result->__construct(inArgs[0],inArgs[1]); - return result;} - -int Stdout_obj::readBytes( ::haxe::io::Bytes str,int pos,int len){ - HX_STACK_PUSH("Stdout::readBytes","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",79); - HX_STACK_THIS(this); - HX_STACK_ARG(str,"str"); - HX_STACK_ARG(pos,"pos"); - HX_STACK_ARG(len,"len"); - HX_STACK_LINE(80) - int result; HX_STACK_VAR(result,"result"); - HX_STACK_LINE(81) - try{ - HX_STACK_LINE(81) - result = (( ((this->out)) ? Dynamic(::sys::io::_Process::Stdout_obj::_stdout_read_dyn()) : Dynamic(::sys::io::_Process::Stdout_obj::_stderr_read_dyn()) ))(this->p,str->b,pos,len).Cast< int >(); - } - catch(Dynamic __e){ - { - Dynamic e = __e;{ - HX_STACK_LINE(83) - hx::Throw (::haxe::io::Eof_obj::__new()); - } - } - } - HX_STACK_LINE(86) - if (((result == (int)0))){ - HX_STACK_LINE(86) - hx::Throw (::haxe::io::Eof_obj::__new()); - } - HX_STACK_LINE(87) - return result; -} - - -int Stdout_obj::readByte( ){ - HX_STACK_PUSH("Stdout::readByte","/usr/lib/haxe/std/cpp/_std/sys/io/Process.hx",73); - HX_STACK_THIS(this); - HX_STACK_LINE(74) - if (((this->readBytes(this->buf,(int)0,(int)1) == (int)0))){ - HX_STACK_LINE(75) - hx::Throw (::haxe::io::Error_obj::Blocked_dyn()); - } - HX_STACK_LINE(76) - return this->buf->b->__get((int)0); -} - - -Dynamic Stdout_obj::_stdout_read; - -Dynamic Stdout_obj::_stderr_read; - - -Stdout_obj::Stdout_obj() -{ -} - -void Stdout_obj::__Mark(HX_MARK_PARAMS) -{ - HX_MARK_BEGIN_CLASS(Stdout); - HX_MARK_MEMBER_NAME(buf,"buf"); - HX_MARK_MEMBER_NAME(out,"out"); - HX_MARK_MEMBER_NAME(p,"p"); - super::__Mark(HX_MARK_ARG); - HX_MARK_END_CLASS(); -} - -void Stdout_obj::__Visit(HX_VISIT_PARAMS) -{ - HX_VISIT_MEMBER_NAME(buf,"buf"); - HX_VISIT_MEMBER_NAME(out,"out"); - HX_VISIT_MEMBER_NAME(p,"p"); - super::__Visit(HX_VISIT_ARG); -} - -Dynamic Stdout_obj::__Field(const ::String &inName,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"p") ) { return p; } - break; - case 3: - if (HX_FIELD_EQ(inName,"buf") ) { return buf; } - if (HX_FIELD_EQ(inName,"out") ) { return out; } - break; - case 8: - if (HX_FIELD_EQ(inName,"readByte") ) { return readByte_dyn(); } - break; - case 9: - if (HX_FIELD_EQ(inName,"readBytes") ) { return readBytes_dyn(); } - break; - case 12: - if (HX_FIELD_EQ(inName,"_stdout_read") ) { return _stdout_read; } - if (HX_FIELD_EQ(inName,"_stderr_read") ) { return _stderr_read; } - } - return super::__Field(inName,inCallProp); -} - -Dynamic Stdout_obj::__SetField(const ::String &inName,const Dynamic &inValue,bool inCallProp) -{ - switch(inName.length) { - case 1: - if (HX_FIELD_EQ(inName,"p") ) { p=inValue.Cast< Dynamic >(); return inValue; } - break; - case 3: - if (HX_FIELD_EQ(inName,"buf") ) { buf=inValue.Cast< ::haxe::io::Bytes >(); return inValue; } - if (HX_FIELD_EQ(inName,"out") ) { out=inValue.Cast< bool >(); return inValue; } - break; - case 12: - if (HX_FIELD_EQ(inName,"_stdout_read") ) { _stdout_read=inValue.Cast< Dynamic >(); return inValue; } - if (HX_FIELD_EQ(inName,"_stderr_read") ) { _stderr_read=inValue.Cast< Dynamic >(); return inValue; } - } - return super::__SetField(inName,inValue,inCallProp); -} - -void Stdout_obj::__GetFields(Array< ::String> &outFields) -{ - outFields->push(HX_CSTRING("buf")); - outFields->push(HX_CSTRING("out")); - outFields->push(HX_CSTRING("p")); - super::__GetFields(outFields); -}; - -static ::String sStaticFields[] = { - HX_CSTRING("_stdout_read"), - HX_CSTRING("_stderr_read"), - String(null()) }; - -static ::String sMemberFields[] = { - HX_CSTRING("readBytes"), - HX_CSTRING("readByte"), - HX_CSTRING("buf"), - HX_CSTRING("out"), - HX_CSTRING("p"), - String(null()) }; - -static void sMarkStatics(HX_MARK_PARAMS) { - HX_MARK_MEMBER_NAME(Stdout_obj::__mClass,"__mClass"); - HX_MARK_MEMBER_NAME(Stdout_obj::_stdout_read,"_stdout_read"); - HX_MARK_MEMBER_NAME(Stdout_obj::_stderr_read,"_stderr_read"); -}; - -static void sVisitStatics(HX_VISIT_PARAMS) { - HX_VISIT_MEMBER_NAME(Stdout_obj::__mClass,"__mClass"); - HX_VISIT_MEMBER_NAME(Stdout_obj::_stdout_read,"_stdout_read"); - HX_VISIT_MEMBER_NAME(Stdout_obj::_stderr_read,"_stderr_read"); -}; - -Class Stdout_obj::__mClass; - -void Stdout_obj::__register() -{ - Static(__mClass) = hx::RegisterClass(HX_CSTRING("sys.io._Process.Stdout"), hx::TCanCast< Stdout_obj> ,sStaticFields,sMemberFields, - &__CreateEmpty, &__Create, - &super::__SGetClass(), 0, sMarkStatics, sVisitStatics); -} - -void Stdout_obj::__boot() -{ - _stdout_read= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_stdout_read"),(int)4); - _stderr_read= ::cpp::Lib_obj::load(HX_CSTRING("std"),HX_CSTRING("process_stderr_read"),(int)4); -} - -} // end namespace sys -} // end namespace io -} // end namespace _Process diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/makefile b/examples/ebook/bin/ios/GloryDemo/haxe/makefile deleted file mode 100644 index 68c64e1..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/makefile +++ /dev/null @@ -1,67 +0,0 @@ - -ifeq ("$(ARCHS)","normal") - ARCHS = armv6 armv7 i386 -endif - -HAXE_BUILDS := $(ARCHS:%=build-haxe-%) - -ifeq ("$(ACTION)","clean") -default: clean -else -default: $(HAXE_BUILDS) -endif - -ifeq ("$(CONFIGURATION)","Debug") - BUILD_STYLE := Debug -endif - -default: debug_print - -ifeq ("$(BUILD_STYLE)","Debug") - DEBUG := -debug - CONFIG := Debug -else - DEBUG := - CONFIG := Release -endif - -ifeq ("$(CLANG_ENABLE_OBJC_ARC)", "YES") - HXCPP_CLANG := -D HXCPP_CLANG -D OBJC_ARC -else - HXCPP_CLANG := -endif - -HAXE_OS := $(PLATFORM_NAME) -ifeq ("$(HAXE_OS)","iphonesimulator") - HAXE_OS := iphonesim -endif -CONFIG := $(CONFIG)-$(HAXE_OS) - -debug_print: - @echo "Make $(HAXE_BUILDS)" - -LIB_BASE := build/$(CONFIG)/ApplicationMain$(DEBUG) -LIB_DEST := $(DEBUG)/libApplicationMain.a - -export HXCPP_COMPILE_THREADS := 2 - -build-haxe-i386: - @echo "Haxe simulator build CONFIG : $(CONFIG)" - haxe Build.hxml -D simulator -cpp build/$(CONFIG) $(DEBUG) $(HXCPP_CLANG) - cp $(LIB_BASE).iphonesim.a ../lib/i386$(LIB_DEST) - touch ../Classes/Main.mm - -build-haxe-armv6: - @echo "Haxe armv6 build CONFIG : $(CONFIG)" - haxe Build.hxml -D HXCPP_ARMV6 -cpp build/$(CONFIG) $(DEBUG) $(HXCPP_CLANG) - cp $(LIB_BASE).iphoneos.a ../lib/armv6$(LIB_DEST) - touch ../Classes/Main.mm - -build-haxe-armv7: - @echo "Haxe armv7 build CONFIG : $(CONFIG)" - haxe Build.hxml -D HXCPP_ARMV7 -cpp build/$(CONFIG) $(DEBUG) $(HXCPP_CLANG) - cp $(LIB_BASE).iphoneos-v7.a ../lib/armv7$(LIB_DEST) - touch ../Classes/Main.mm - -clean: - rm -rf build diff --git a/examples/ebook/bin/ios/GloryDemo/haxe/nme/installer/Assets.hx b/examples/ebook/bin/ios/GloryDemo/haxe/nme/installer/Assets.hx deleted file mode 100644 index da24a76..0000000 --- a/examples/ebook/bin/ios/GloryDemo/haxe/nme/installer/Assets.hx +++ /dev/null @@ -1,234 +0,0 @@ -package nme.installer; - - -import nme.display.BitmapData; -import nme.media.Sound; -import nme.net.URLRequest; -import nme.text.Font; -import nme.utils.ByteArray; - - -/** - * ... - * @author Joshua Granick - */ - -class Assets { - - - public static var cachedBitmapData:Hash = new Hash(); - - private static var initialized:Bool = false; - private static var resourceNames:Hash = new Hash (); - private static var resourceTypes:Hash = new Hash (); - - - private static function initialize ():Void { - - if (!initialized) { - - resourceNames.set ("assets/closeX.svg", "assets_closex_svg"); - resourceTypes.set ("assets/closeX.svg", "text"); - resourceNames.set ("assets/config.xml", "assets_config_xml"); - resourceTypes.set ("assets/config.xml", "text"); - resourceNames.set ("assets/duck.svg", "assets_duck_svg"); - resourceTypes.set ("assets/duck.svg", "text"); - resourceNames.set ("assets/easyXML.jpg", "assets_easyxml_jpg"); - resourceTypes.set ("assets/easyXML.jpg", "image"); - resourceNames.set ("assets/heres-the-deal.jpg", "assets_heres_the_deal_jpg"); - resourceTypes.set ("assets/heres-the-deal.jpg", "image"); - resourceNames.set ("assets/nav/bHome.png", "assets_nav_bhome_png"); - resourceTypes.set ("assets/nav/bHome.png", "image"); - resourceNames.set ("assets/nav/bLeft.png", "assets_nav_bleft_png"); - resourceTypes.set ("assets/nav/bLeft.png", "image"); - resourceNames.set ("assets/nav/bOptions.png", "assets_nav_boptions_png"); - resourceTypes.set ("assets/nav/bOptions.png", "image"); - resourceNames.set ("assets/nav/bRight.png", "assets_nav_bright_png"); - resourceTypes.set ("assets/nav/bRight.png", "image"); - resourceNames.set ("assets/nav/close.png", "assets_nav_close_png"); - resourceTypes.set ("assets/nav/close.png", "image"); - resourceNames.set ("assets/nav/panLeft.png", "assets_nav_panleft_png"); - resourceTypes.set ("assets/nav/panLeft.png", "image"); - resourceNames.set ("assets/nav/panRight.png", "assets_nav_panright_png"); - resourceTypes.set ("assets/nav/panRight.png", "image"); - resourceNames.set ("assets/nme.svg", "assets_nme_svg"); - resourceTypes.set ("assets/nme.svg", "text"); - resourceNames.set ("assets/options/actor_0000_background.png", "assets_options_actor_0000_background_png"); - resourceTypes.set ("assets/options/actor_0000_background.png", "image"); - resourceNames.set ("assets/options/actor_0001_duck.png", "assets_options_actor_0001_duck_png"); - resourceTypes.set ("assets/options/actor_0001_duck.png", "image"); - resourceNames.set ("assets/options/actor_0002_home.png", "assets_options_actor_0002_home_png"); - resourceTypes.set ("assets/options/actor_0002_home.png", "image"); - resourceNames.set ("assets/options/actor_0003_cow.png", "assets_options_actor_0003_cow_png"); - resourceTypes.set ("assets/options/actor_0003_cow.png", "image"); - resourceNames.set ("assets/options/actor_0004_easyXML.png", "assets_options_actor_0004_easyxml_png"); - resourceTypes.set ("assets/options/actor_0004_easyXML.png", "image"); - resourceNames.set ("assets/options/actor_0005_limerick.png", "assets_options_actor_0005_limerick_png"); - resourceTypes.set ("assets/options/actor_0005_limerick.png", "image"); - resourceNames.set ("assets/options/choose.png", "assets_options_choose_png"); - resourceTypes.set ("assets/options/choose.png", "image"); - resourceNames.set ("assets/p1/limerickPCM.wav", "assets_p1_limerickpcm_wav"); - resourceTypes.set ("assets/p1/limerickPCM.wav", "sound"); - resourceNames.set ("assets/p1/pageObject_0000_bg.jpg", "assets_p1_pageobject_0000_bg_jpg"); - resourceTypes.set ("assets/p1/pageObject_0000_bg.jpg", "image"); - resourceNames.set ("assets/p1/pageObject_0001_skin.png", "assets_p1_pageobject_0001_skin_png"); - resourceTypes.set ("assets/p1/pageObject_0001_skin.png", "image"); - resourceNames.set ("assets/p1/pageObject_0002_hose.png", "assets_p1_pageobject_0002_hose_png"); - resourceTypes.set ("assets/p1/pageObject_0002_hose.png", "image"); - resourceNames.set ("assets/p1/pageObject_0003_pants.png", "assets_p1_pageobject_0003_pants_png"); - resourceTypes.set ("assets/p1/pageObject_0003_pants.png", "image"); - resourceNames.set ("assets/p1/pageObject_0004_flameshoe.png", "assets_p1_pageobject_0004_flameshoe_png"); - resourceTypes.set ("assets/p1/pageObject_0004_flameshoe.png", "image"); - resourceNames.set ("assets/p1/pageObject_0005_shoe.png", "assets_p1_pageobject_0005_shoe_png"); - resourceTypes.set ("assets/p1/pageObject_0005_shoe.png", "image"); - resourceNames.set ("assets/p1/pageObject_0006_shirt.png", "assets_p1_pageobject_0006_shirt_png"); - resourceTypes.set ("assets/p1/pageObject_0006_shirt.png", "image"); - resourceNames.set ("assets/p1/pageObject_0007_truck.png", "assets_p1_pageobject_0007_truck_png"); - resourceTypes.set ("assets/p1/pageObject_0007_truck.png", "image"); - resourceNames.set ("assets/p1/pageObject_0008_firemen.png", "assets_p1_pageobject_0008_firemen_png"); - resourceTypes.set ("assets/p1/pageObject_0008_firemen.png", "image"); - resourceNames.set ("assets/p1/pageObject_0009_can.png", "assets_p1_pageobject_0009_can_png"); - resourceTypes.set ("assets/p1/pageObject_0009_can.png", "image"); - resourceNames.set ("assets/p1/pageObject_0010_bw.png", "assets_p1_pageobject_0010_bw_png"); - resourceTypes.set ("assets/p1/pageObject_0010_bw.png", "image"); - resourceNames.set ("assets/p1/pageObject_0011_text.png", "assets_p1_pageobject_0011_text_png"); - resourceTypes.set ("assets/p1/pageObject_0011_text.png", "image"); - resourceNames.set ("assets/speaker.png", "assets_speaker_png"); - resourceTypes.set ("assets/speaker.png", "image"); - resourceNames.set ("assets/title/star.svg", "assets_title_star_svg"); - resourceTypes.set ("assets/title/star.svg", "text"); - resourceNames.set ("assets/title/title.jpg", "assets_title_title_jpg"); - resourceTypes.set ("assets/title/title.jpg", "image"); - - initialized = true; - - } - - } - - - public static function getBitmapData (id:String, useCache:Bool = true):BitmapData { - - initialize (); - - if (resourceTypes.exists (id) && resourceTypes.get (id) == "image") { - - if (useCache && cachedBitmapData.exists (id)) { - - return cachedBitmapData.get (id); - - } else { - - var data = BitmapData.load (resourceNames.get (id)); - - if (useCache) { - - cachedBitmapData.set (id, data); - - } - - return data; - - } - - } else { - - trace ("[nme.Assets] There is no BitmapData asset with an ID of \"" + id + "\""); - - return null; - - } - - } - - - public static function getBytes (id:String):ByteArray { - - initialize (); - - if (resourceNames.exists (id)) { - - return ByteArray.readFile (resourceNames.get (id)); - - } else { - - trace ("[nme.Assets] There is no String or ByteArray asset with an ID of \"" + id + "\""); - - return null; - - } - - } - - - public static function getFont (id:String):Font { - - initialize (); - - if (resourceTypes.exists (id) && resourceTypes.get (id) == "font") { - - return new Font (resourceNames.get (id)); - - } else { - - trace ("[nme.Assets] There is no Font asset with an ID of \"" + id + "\""); - - return null; - - } - - } - - - public static function getResourceName (id:String):String { - - initialize (); - - return resourceNames.get (id); - - } - - - public static function getSound (id:String):Sound { - - initialize (); - - if (resourceTypes.exists (id)) { - - if (resourceTypes.get (id) == "sound") { - - return new Sound (new URLRequest (resourceNames.get (id)), null, false); - - } else if (resourceTypes.get (id) == "music") { - - return new Sound (new URLRequest (resourceNames.get (id)), null, true); - - } - - } - - trace ("[nme.Assets] There is no Sound asset with an ID of \"" + id + "\""); - - return null; - - } - - - public static function getText (id:String):String { - - var bytes = getBytes (id); - - if (bytes == null) { - - return null; - - } else { - - return bytes.readUTFBytes (bytes.length); - - } - - } - - -} diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv6-debug/libnme.a b/examples/ebook/bin/ios/GloryDemo/lib/armv6-debug/libnme.a deleted file mode 100644 index 0e6ffed..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv6-debug/libnme.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv6/libApplicationMain.a b/examples/ebook/bin/ios/GloryDemo/lib/armv6/libApplicationMain.a deleted file mode 100644 index 0ad4c65..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv6/libApplicationMain.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv6/libcurl_ssl.a b/examples/ebook/bin/ios/GloryDemo/lib/armv6/libcurl_ssl.a deleted file mode 100644 index 2a51aa7..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv6/libcurl_ssl.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv6/libjpeg.a b/examples/ebook/bin/ios/GloryDemo/lib/armv6/libjpeg.a deleted file mode 100644 index 90e1334..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv6/libjpeg.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv6/libnme.a b/examples/ebook/bin/ios/GloryDemo/lib/armv6/libnme.a deleted file mode 100644 index 7510329..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv6/libnme.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv6/libpng.a b/examples/ebook/bin/ios/GloryDemo/lib/armv6/libpng.a deleted file mode 100644 index 434cedd..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv6/libpng.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv6/libregexp.a b/examples/ebook/bin/ios/GloryDemo/lib/armv6/libregexp.a deleted file mode 100644 index d04ddc1..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv6/libregexp.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv6/libstd.a b/examples/ebook/bin/ios/GloryDemo/lib/armv6/libstd.a deleted file mode 100644 index 9aa4cd0..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv6/libstd.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv6/libz.a b/examples/ebook/bin/ios/GloryDemo/lib/armv6/libz.a deleted file mode 100644 index 61ae7c4..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv6/libz.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv6/libzlib.a b/examples/ebook/bin/ios/GloryDemo/lib/armv6/libzlib.a deleted file mode 100644 index 21d8a54..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv6/libzlib.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv7-debug/libnme.a b/examples/ebook/bin/ios/GloryDemo/lib/armv7-debug/libnme.a deleted file mode 100644 index e792916..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv7-debug/libnme.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv7/libApplicationMain.a b/examples/ebook/bin/ios/GloryDemo/lib/armv7/libApplicationMain.a deleted file mode 100644 index 51eb14f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv7/libApplicationMain.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv7/libcurl_ssl.a b/examples/ebook/bin/ios/GloryDemo/lib/armv7/libcurl_ssl.a deleted file mode 100644 index 11dab09..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv7/libcurl_ssl.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv7/libjpeg.a b/examples/ebook/bin/ios/GloryDemo/lib/armv7/libjpeg.a deleted file mode 100644 index f6d681f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv7/libjpeg.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv7/libnme.a b/examples/ebook/bin/ios/GloryDemo/lib/armv7/libnme.a deleted file mode 100644 index 579a030..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv7/libnme.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv7/libpng.a b/examples/ebook/bin/ios/GloryDemo/lib/armv7/libpng.a deleted file mode 100644 index be5f164..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv7/libpng.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv7/libregexp.a b/examples/ebook/bin/ios/GloryDemo/lib/armv7/libregexp.a deleted file mode 100644 index ab67334..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv7/libregexp.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv7/libstd.a b/examples/ebook/bin/ios/GloryDemo/lib/armv7/libstd.a deleted file mode 100644 index 9ca70ef..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv7/libstd.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv7/libz.a b/examples/ebook/bin/ios/GloryDemo/lib/armv7/libz.a deleted file mode 100644 index 93d1cda..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv7/libz.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/armv7/libzlib.a b/examples/ebook/bin/ios/GloryDemo/lib/armv7/libzlib.a deleted file mode 100644 index 539ae56..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/armv7/libzlib.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/i386-debug/libApplicationMain.a b/examples/ebook/bin/ios/GloryDemo/lib/i386-debug/libApplicationMain.a deleted file mode 100644 index 1bc167f..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/i386-debug/libApplicationMain.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/i386-debug/libnme.a b/examples/ebook/bin/ios/GloryDemo/lib/i386-debug/libnme.a deleted file mode 100644 index d754b18..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/i386-debug/libnme.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/i386/libApplicationMain.a b/examples/ebook/bin/ios/GloryDemo/lib/i386/libApplicationMain.a deleted file mode 100644 index 3eed12a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/i386/libApplicationMain.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/i386/libcurl_ssl.a b/examples/ebook/bin/ios/GloryDemo/lib/i386/libcurl_ssl.a deleted file mode 100644 index 21923ad..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/i386/libcurl_ssl.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/i386/libjpeg.a b/examples/ebook/bin/ios/GloryDemo/lib/i386/libjpeg.a deleted file mode 100644 index 877908a..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/i386/libjpeg.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/i386/libnme.a b/examples/ebook/bin/ios/GloryDemo/lib/i386/libnme.a deleted file mode 100644 index 7f03208..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/i386/libnme.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/i386/libpng.a b/examples/ebook/bin/ios/GloryDemo/lib/i386/libpng.a deleted file mode 100644 index 970e7eb..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/i386/libpng.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/i386/libregexp.a b/examples/ebook/bin/ios/GloryDemo/lib/i386/libregexp.a deleted file mode 100644 index fe400bd..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/i386/libregexp.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/i386/libstd.a b/examples/ebook/bin/ios/GloryDemo/lib/i386/libstd.a deleted file mode 100644 index a90e442..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/i386/libstd.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/i386/libz.a b/examples/ebook/bin/ios/GloryDemo/lib/i386/libz.a deleted file mode 100644 index f53e829..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/i386/libz.a and /dev/null differ diff --git a/examples/ebook/bin/ios/GloryDemo/lib/i386/libzlib.a b/examples/ebook/bin/ios/GloryDemo/lib/i386/libzlib.a deleted file mode 100644 index 7eb5922..0000000 Binary files a/examples/ebook/bin/ios/GloryDemo/lib/i386/libzlib.a and /dev/null differ diff --git a/examples/ebook/bin/ios/Icon-72.png b/examples/ebook/bin/ios/Icon-72.png deleted file mode 100644 index ec0ecdd..0000000 Binary files a/examples/ebook/bin/ios/Icon-72.png and /dev/null differ diff --git a/examples/ebook/bin/ios/Icon-72@2x.png b/examples/ebook/bin/ios/Icon-72@2x.png deleted file mode 100644 index ed8a8f3..0000000 Binary files a/examples/ebook/bin/ios/Icon-72@2x.png and /dev/null differ diff --git a/examples/ebook/bin/ios/Icon.png b/examples/ebook/bin/ios/Icon.png deleted file mode 100644 index 14649c3..0000000 Binary files a/examples/ebook/bin/ios/Icon.png and /dev/null differ diff --git a/examples/ebook/bin/ios/Icon@2x.png b/examples/ebook/bin/ios/Icon@2x.png deleted file mode 100644 index d8d6971..0000000 Binary files a/examples/ebook/bin/ios/Icon@2x.png and /dev/null differ